diff --git a/.output/nitro.json b/.output/nitro.json index bd33d739b444a151f0397777b39987c4f7942479..974f4d4bc73918d7b20dfee93ce9845cd3016bea 100644 --- a/.output/nitro.json +++ b/.output/nitro.json @@ -1,5 +1,5 @@ { - "date": "2025-03-02T08:14:53.248Z", + "date": "2025-03-02T12:28:30.880Z", "preset": "node-server", "framework": { "name": "nitro", diff --git a/.output/public/assets/ChatInput.vue_vue_type_style_index_0_lang-D4A8Ko3p.js b/.output/public/assets/ChatInput.vue_vue_type_style_index_0_lang-D4A8Ko3p.js new file mode 100644 index 0000000000000000000000000000000000000000..8a749cdc05ac23729a6649a47c8b06eef3e30e8b --- /dev/null +++ b/.output/public/assets/ChatInput.vue_vue_type_style_index_0_lang-D4A8Ko3p.js @@ -0,0 +1,7409 @@ +var e,t,n,i,r,a,s,o,c,l,h,d,u,f,p,g,m,b,v,y,w,x,_,T,D,A,E,k,S,C,U,F,M,R,I,O,N,P,L,W,B,j,z,H,V,G,X,q,Y,K,Z,J,Q,ee,te,ne,ie,re,ae,se,oe,ce,le,he,de,ue,fe,pe,ge,me,be,ve,ye,we,xe,_e,Te,De,Ae,Ee,ke,Se,Ce,Ue,Fe,Me,Re,Ie,Oe,Ne,Pe,Le,We,Be,je,ze,He,Ve,Ge,Xe,$e,qe,Ye,Ke,Ze,Je,Qe,et,tt,nt,it,rt,at,st,ot,ct,lt,ht,dt,ut,ft,pt,gt,mt,bt,vt,yt,wt,xt,_t,Tt,Dt,At,Et,kt,St,Ct,Ut,Ft,Mt,Rt,It,Ot,Nt,Pt,Lt,Wt,Bt,jt,zt,Ht,Vt,Gt,Xt,$t,qt,Yt,Kt,Zt,Jt,Qt,en,tn,nn,rn,an,sn,on,cn,ln,hn,dn,un,fn,pn,gn,mn,bn,vn,yn,wn,xn,_n,Tn,Dn,An,En,kn,Sn,Cn,Un,Fn,Mn,Rn,In,On,Nn,Pn,Ln,Wn,Bn,jn,zn,Hn,Vn,Gn,Xn,$n,qn,Yn,Kn,Zn,Jn,Qn,ei,ti,ni,ii,ri,ai,si,oi,ci,li,hi,di,ui,fi,pi,gi,mi,bi,vi,yi,wi,xi,_i,Ti,Di,Ai,Ei,ki,Si,Ci,Ui,Fi,Mi,Ri,Ii,Oi,Ni,Pi,Li,Wi,Bi,ji,zi,Hi,Vi,Gi,Xi,$i,qi,Yi,Ki,Zi,Ji,Qi,er,tr,nr,ir,rr,ar,sr,or,cr,lr,hr,dr,ur,fr,pr,gr,mr,br,vr,yr,wr,xr,_r,Tr,Dr,Ar,Er,kr,Sr,Cr,Ur,Fr,Mr,Rr,Ir,Or,Nr,Pr,Lr,Wr,Br,jr,zr,Hr,Vr,Gr,Xr,$r,qr,Yr,Kr,Zr,Jr,Qr,ea,ta,na,ia,ra,aa,sa,oa,ca,la,ha,da,ua,fa,pa,ga,ma,ba,va,ya,wa,xa,_a,Ta,Da,Aa,Ea,ka,Sa,Ca,Ua,Fa,Ma,Ra,Ia,Oa,Na,Pa,La,Wa,Ba,ja,za,Ha,Va,Ga,Xa,$a,qa,Ya,Ka,Za,Ja,Qa,es,ts,ns,is,rs,as,ss,os,cs,ls,hs,ds,us,fs,ps,gs,ms,bs,vs,ys,ws,xs,_s,Ts,Ds,As,Es,ks,Ss,Cs,Us,Fs,Ms,Rs,Is,Os,Ns,Ps,Ls,Ws,Bs,js,zs,Hs,Vs,Gs,Xs,$s,qs,Ys,Ks,Zs,Js,Qs,eo,to,no,io,ro,ao,so,oo,co,lo,ho,uo,fo,po,go,mo,bo,vo,yo,wo,xo,_o,To,Do,Ao,Eo,ko,So,Co,Uo,Fo,Mo,Ro,Io,Oo,No,Po,Lo,Wo,Bo,jo,zo,Ho,Vo,Go,Xo,$o,qo,Yo,Ko,Zo,Jo,Qo,ec,tc,nc,ic,rc,ac,sc,oc,cc,lc,hc,dc,uc,fc,pc,gc,mc,bc,vc,yc,wc,xc,_c,Tc,Dc,Ac,Ec,kc,Sc,Cc,Uc,Fc,Mc,Rc,Ic,Oc,Nc,Pc,Lc,Wc,Bc,jc,zc,Hc,Vc,Gc,Xc,$c,qc,Yc,Kc,Zc,Jc,Qc,el,tl,nl,il,rl,al,sl,ol,cl,ll,hl,dl,ul,fl,pl,gl,ml,bl,vl,yl,wl,xl,_l,Tl,Dl=Object.defineProperty,Al=e=>{throw TypeError(e)},El=(e,t,n)=>((e,t,n)=>t in e?Dl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!=typeof t?t+"":t,n),kl=(e,t,n)=>t.has(e)||Al("Cannot "+n),Sl=(e,t,n)=>(kl(e,t,"read from private field"),n?n.call(e):t.get(e)),Cl=(e,t,n)=>t.has(e)?Al("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),Ul=(e,t,n,i)=>(kl(e,t,"write to private field"),i?i.call(e,n):t.set(e,n),n),Fl=(e,t,n)=>(kl(e,t,"access private method"),n),Ml=(e,t,n,i)=>({set _(i){Ul(e,t,i,n)},get _(){return Sl(e,t,i)}});import{d as Rl,b as Il,H as Ol,I as Nl,J as Pl,ar as Ll,w as Wl,j as Bl,o as jl,c as zl,F as Hl,z as Vl,p as Gl,q as Xl,x as $l,f as ql,e as Yl,t as Kl,a9 as Zl,s as Jl,$ as Ql,cd as eh,G as th,ce as nh,c1 as ih,B as rh,n as ah,k as sh,m as oh,a3 as ch,ai as lh,v as hh,a7 as dh}from"./main-DzSNOqOC.js";import{D as uh}from"./index-DmWclHlm.js";import{I as fh,U as ph,u as gh}from"./index-BuIb9tIA.js";import{T as mh}from"./index-Kxldlx3l.js";function bh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function vh(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bh(Object(n),!0).forEach((function(t){Pl(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bh(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var yh={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"g",attrs:{clipPath:"url(#clip0_8726_7232)"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M.3 1.66L24 12 .3 22.34 3.93 12 .29 1.66zM5.7 13l-2 5.66L19 12 3.7 5.34l2 5.66H11v2H5.7z"}}]}]},wh=Rl({name:"SendIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,t){var{attrs:n}=t,i=Il((()=>e.size)),{className:r,style:a}=Ol(i),s=Il((()=>["t-icon","t-icon-send",r.value])),o=Il((()=>vh(vh({},a.value),n.style))),c=Il((()=>({class:s.value,style:o.value,onClick:t=>{var n;return null===(n=e.onClick)||void 0===n?void 0:n.call(e,{e:t})}})));return()=>Nl(yh,c.value)}});function xh(){const e=window.innerWidth<768,t=navigator.userAgent.toLowerCase(),n=["android","webos","iphone","ipad","ipod","blackberry","windows phone"].some((e=>t.includes(e))),i="ontouchstart"in window||navigator.maxTouchPoints>0,r=void 0!==window.screen.orientation;return e&&(n||i||r)}const _h={key:0,class:"flex gap-2 flex-wrap"},Th=["onClick"],Dh={class:"max-w-[160px] overflow-hidden text-ellipsis text-nowrap"},Ah={class:"flex gap-2"},Eh={class:"max-w-[120px] overflow-hidden text-ellipsis text-nowrap"},kh=["onClick"],Sh={class:"max-w-[160px] overflow-hidden text-ellipsis text-nowrap"},Ch={class:"flex gap-2"},Uh={class:"max-w-[120px] overflow-hidden text-ellipsis text-nowrap"},Fh={class:"whitespace-pre-wrap break-words"},Mh=Rl({__name:"FileList",props:{files:{type:Array},showCloseButton:{type:Boolean,default:!0}},setup(e){const t=e,n=Ll([]);Wl((()=>t.files.length),(()=>{n.length=t.files.length,n.fill(!1)}),{immediate:!0});const i=e=>{t.files.splice(e,1)},r=Bl(!1),a=Bl("");function s(e){if(0===e)return"0 B";const t=Math.floor(Math.log(e)/Math.log(1024));return parseFloat((e/Math.pow(1024,t)).toFixed(2))+" "+["B","KB","MB","GB"][t]}return(t,o)=>{const c=eh,l=th,h=fh,d=uh;return e.files.length>0?(jl(),zl("div",_h,[(jl(!0),zl(Hl,null,Vl(e.files,((t,o)=>(jl(),zl(Hl,null,[t.type.startsWith("image")?(jl(),ql(h,{key:t.id,visible:n[o],images:[t.content||t.url],"close-on-overlay":"",onClose:e=>(e=>{n[e]=!1})(o)},{trigger:Xl((()=>[Yl("div",{class:"bg-color-page flex p-2 gap-2 rounded-lg cursor-pointer",onClick:e=>(e=>{n[e]=!0})(o)},[Gl(c,{src:t.content||t.url,style:{width:"40px",height:"40px"}},null,8,["src"]),Yl("div",null,[Yl("div",Dh,Kl(t.name),1),Yl("div",Ah,[Yl("span",Eh,Kl(t.type),1),Yl("span",null,Kl(s(t.size)),1)])]),e.showCloseButton?(jl(),ql(l,{key:0,theme:"primary",shape:"circle",onClick:Zl((e=>i(o)),["stop"]),size:"small",variant:"text"},{default:Xl((()=>[Gl(Jl(Ql),{slot:"icon"})])),_:2},1032,["onClick"])):$l("",!0)],8,Th)])),_:2},1032,["visible","images","onClose"])):(jl(),zl("div",{key:1,class:"bg-color-page flex p-2 gap-2 rounded-lg cursor-pointer",onClick:e=>(e=>{r.value=!0,a.value=e.content})(t)},[Gl(c,{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGwAAABsCAMAAAC4uKf/AAAA1VBMVEVHcEwgUP8kVP8lVf8oUP8IMKckVP8lU/8NL6kkVP8gUP8QMJ8NL6klVf8jU/8NL6oLMKokVP8OMKglUv8NMKkkVP8kU/8OLqskVP8OL6klU/8kVP8OLqkNL6oNMKkNL6olU/8NMKckVf8MMKckVP////8NL6nI1P8QNLR2lP8/af8yX/8xX/+6yf9Aaf/W3/9bf/+tv/+7yv+Env/x9f/k6v+ftP9oif8YQtQeS+lNdP9piv+En/8XQM/j6v8VPckhT/QSNrqgtP8eS+oTOL+Sqf+Rqf9kuMQUAAAAJHRSTlMAEHBgICDv39/PIBDv35C/ML9wYF9A0H+wz5+Pj59Q76Bgr0CdNRTaAAACCElEQVRo3u3a11ICQRAF0GVFFpAgIIggxt5ZcpJgzvr/n+STVZZMT+zZp7k/cGrSZavoIOClGHaiHKjnvHq5H5hlrwaaYYzlz0yoZgRggDF2pE1lugCGWOlQ08q2wBhjeb1zy0ZggbH8gc4eGlq/GKtqYF2wxNip+pUHa4zVVbGIAGPXrhf2FyupXckCCab2ALJAg7EThQcQUmGsJ8faZBg7dnlk/zF5J+cIMSbrZKDEZFeSFJN1Mi0m6WRiTNzJ1Jiwk8kxdpYmJuhkekzwABxgeCfbYH1M6znAXjAM62Qb7A7FkE4GJ/uIdDI4Whq3Ja0wuMW1Ojkm0Kr0GLxi51ZygAF8PH2+9TlxgmHxmMc8JsYGk2Q3AyfYaBZzs546wBYxkoQem8Zo5uTYA47dkGODNLFhmtsICWZNUrz6s6GbR73cfdPLx7HvRo95zGMe85glNvrmfTcimQyssPtVrJVkbPEpt441szHH3mPtjI2xRB/bGmNLfWxujH3pY0NjbLTStRY2V/85vasPMNyov+lksfXd6DGPecxjHiP+u1+YHOlQjSQFDnbhCmsTD58IExKP1QhT5P01WEvvyKxGoURpUA95CVLGxihTXFgQVOitCj5yWCDfxAz9MCVqFV2MbvLTKkqGNwnPrZKRTx4SLa7cVBt0JLgntYb61G14VTD+fctFnZB/WD8ijwbYDm7GXAAAAABJRU5ErkJggg==",style:{width:"40px",height:"40px"}}),Yl("div",null,[Yl("div",Sh,Kl(t.name),1),Yl("div",Ch,[Yl("span",Uh,Kl(t.type),1),Yl("span",null,Kl(s(t.size)),1)])]),e.showCloseButton?(jl(),ql(l,{key:0,theme:"primary",shape:"circle",onClick:Zl((e=>i(o)),["stop"]),size:"small",variant:"text"},{default:Xl((()=>[Gl(Jl(Ql),{slot:"icon"})])),_:2},1032,["onClick"])):$l("",!0)],8,kh))],64)))),256)),Gl(d,{visible:r.value,"onUpdate:visible":o[0]||(o[0]=e=>r.value=e),attach:"body","on-confirm":()=>r.value=!1},{body:Xl((()=>[Yl("div",Fh,Kl(a.value),1)])),_:1},8,["visible","on-confirm"])])):$l("",!0)}}});function Rh(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Ih,Oh={exports:{}};const Nh=ih((Ih||(Ih=1,Oh.exports=function e(t,n,i){function r(s,o){if(!n[s]){if(!t[s]){if(!o&&Rh)return Rh(s);if(a)return a(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var l=n[s]={exports:{}};t[s][0].call(l.exports,(function(e){var n=t[s][1][e];return r(n||e)}),l,l.exports,e,t,n,i)}return n[s].exports}for(var a=Rh,s=0;s<i.length;s++)r(i[s]);return r}({1:[function(e,t,n){var i=e("../../lib/promises");function r(){function e(e){return i.reject(new Error("could not open external image: '"+e+"'\ncannot open linked files from a web browser"))}return{read:e}}n.Files=r},{"../../lib/promises":23}],2:[function(e,t,n){var i=e("../lib/promises"),r=e("../lib/zipfile");function a(e){return e.arrayBuffer?i.resolve(r.openArrayBuffer(e.arrayBuffer)):i.reject(new Error("Could not find file in options"))}n.openZip=a},{"../lib/promises":23,"../lib/zipfile":40}],3:[function(e,t,n){var i=e("underscore"),r=e("./promises"),a=e("./documents"),s=e("./styles/html-paths"),o=e("./results"),c=e("./images"),l=e("./html"),h=e("./writers");function d(e){return{convertToHtml:function(t){var n=i.indexBy(t.type===a.types.document?t.comments:[],"commentId");return new u(e,n).convertToHtml(t)}}}function u(e,t){var n=1,d=[],u=[],f=void 0===(e=i.extend({ignoreEmptyParagraphs:!0},e)).idPrefix?"":e.idPrefix,y=e.ignoreEmptyParagraphs,w=s.topLevelElement("p"),x=e.styleMap||[];function _(t){var n=[],a=D(t,n,{}),s=[];b(a,(function(e){"deferred"===e.type&&s.push(e)}));var c={};return r.mapSeries(s,(function(e){return e.value().then((function(t){c[e.id]=t}))})).then((function(){function t(e){return m(e,(function(e){return"deferred"===e.type?c[e.id]:e.children?[i.extend({},e,{children:t(e.children)})]:[e]}))}var r=h.writer({prettyPrint:e.prettyPrint,outputFormat:e.outputFormat});return l.write(r,l.simplify(t(a))),new o.Result(r.asString(),n)}))}function T(e,t,n){return m(e,(function(e){return D(e,t,n)}))}function D(e,t,n){if(!n)throw new Error("options not set");var i=X[e.type];return i?i(e,t,n):[]}function A(e,t,n){return E(e,t).wrap((function(){var i=T(e.children,t,n);return y?i:[l.forceWrite].concat(i)}))}function E(e,t){var n=U(e);return n?n.to:(e.styleId&&t.push(g("paragraph",e)),w)}function k(e,t,n){var i=function(){return T(e.children,t,n)},r=[];if(null!==e.highlight){var o=C({type:"highlight",color:e.highlight});o&&r.push(o)}e.isSmallCaps&&r.push(S("smallCaps")),e.isAllCaps&&r.push(S("allCaps")),e.isStrikethrough&&r.push(S("strikethrough","s")),e.isUnderline&&r.push(S("underline")),e.verticalAlignment===a.verticalAlignment.subscript&&r.push(s.element("sub",{},{fresh:!1})),e.verticalAlignment===a.verticalAlignment.superscript&&r.push(s.element("sup",{},{fresh:!1})),e.isItalic&&r.push(S("italic","em")),e.isBold&&r.push(S("bold","strong"));var c=s.empty,l=U(e);return l?c=l.to:e.styleId&&t.push(g("run",e)),r.push(c),r.forEach((function(e){i=e.wrap.bind(e,i)})),i()}function S(e,t){var n=C({type:e});return n||(t?s.element(t,{},{fresh:!1}):s.empty)}function C(e,t){var n=U(e);return n?n.to:t}function U(e){for(var t=0;t<x.length;t++)if(x[t].from.matches(e))return x[t]}function F(e){return function(t,n){return r.attempt((function(){return e(t,n)})).caught((function(e){return n.push(o.error(e)),[]}))}}function M(e){return I(e.noteType,e.noteId)}function R(e){return O(e.noteType,e.noteId)}function I(e,t){return N(e+"-"+t)}function O(e,t){return N(e+"-ref-"+t)}function N(e){return f+e}var P=s.elements([s.element("table",{},{fresh:!0})]);function L(e,t,n){return C(e,P).wrap((function(){return W(e,t,n)}))}function W(e,t,n){var r,s=i.findIndex(e.children,(function(e){return!e.type===a.types.tableRow||!e.isHeader}));if(-1===s&&(s=e.children.length),0===s)r=T(e.children,t,i.extend({},n,{isTableHeader:!1}));else{var o=T(e.children.slice(0,s),t,i.extend({},n,{isTableHeader:!0})),c=T(e.children.slice(s),t,i.extend({},n,{isTableHeader:!1}));r=[l.freshElement("thead",{},o),l.freshElement("tbody",{},c)]}return[l.forceWrite].concat(r)}function B(e,t,n){var i=T(e.children,t,n);return[l.freshElement("tr",{},[l.forceWrite].concat(i))]}function j(e,t,n){var i=n.isTableHeader?"th":"td",r=T(e.children,t,n),a={};return 1!==e.colSpan&&(a.colspan=e.colSpan.toString()),1!==e.rowSpan&&(a.rowspan=e.rowSpan.toString()),[l.freshElement(i,a,[l.forceWrite].concat(r))]}function z(e,n,i){return C(e,s.ignore).wrap((function(){var n=t[e.commentId],i=u.length+1,r="["+v(n)+i+"]";return u.push({label:r,comment:n}),[l.freshElement("a",{href:"#"+I("comment",e.commentId),id:O("comment",e.commentId)},[l.text(r)])]}))}function H(e,t,n){var i=e.label,r=e.comment,a=T(r.body,t,n).concat([l.nonFreshElement("p",{},[l.text(" "),l.freshElement("a",{href:"#"+O("comment",r.commentId)},[l.text("↑")])])]);return[l.freshElement("dt",{id:I("comment",r.commentId)},[l.text("Comment "+i)]),l.freshElement("dd",{},a)]}function V(e,t,n){return G(e).wrap((function(){return[]}))}function G(e){var t=U(e);return t?t.to:"line"===e.breakType?s.topLevelElement("br"):s.empty}var X={document:function(e,t,n){var i=T(e.children,t,n),r=T(d.map((function(t){return e.notes.resolve(t)})),t,n);return i.concat([l.freshElement("ol",{},r),l.freshElement("dl",{},m(u,(function(e){return H(e,t,n)})))])},paragraph:A,run:k,text:function(e,t,n){return[l.text(e.value)]},tab:function(e,t,n){return[l.text("\t")]},hyperlink:function(e,t,n){var i={href:e.anchor?"#"+N(e.anchor):e.href};null!=e.targetFrame&&(i.target=e.targetFrame);var r=T(e.children,t,n);return[l.nonFreshElement("a",i,r)]},checkbox:function(e){var t={type:"checkbox"};return e.checked&&(t.checked="checked"),[l.freshElement("input",t)]},bookmarkStart:function(e,t,n){return[l.freshElement("a",{id:N(e.name)},[l.forceWrite])]},noteReference:function(e,t,i){d.push(e);var r=l.freshElement("a",{href:"#"+M(e),id:R(e)},[l.text("["+n+++"]")]);return[l.freshElement("sup",{},[r])]},note:function(e,t,n){var i=T(e.body,t,n),r=l.elementWithTag(s.element("p",{},{fresh:!1}),[l.text(" "),l.freshElement("a",{href:"#"+R(e)},[l.text("↑")])]),a=i.concat([r]);return l.freshElement("li",{id:M(e)},a)},commentReference:z,comment:H,image:p(F(e.convertImage||c.dataUri)),table:L,tableRow:B,tableCell:j,break:V};return{convertToHtml:_}}n.DocumentConverter=d;var f=1;function p(e){return function(t,n,i){return[{type:"deferred",id:f++,value:function(){return e(t,n,i)}}]}}function g(e,t){return o.warning("Unrecognised "+e+" style: '"+t.styleName+"' (Style ID: "+t.styleId+")")}function m(e,t){return i.flatten(e.map(t),!0)}function b(e,t){e.forEach((function(e){t(e),e.children&&b(e.children,t)}))}var v=n.commentAuthorLabel=function(e){return e.authorInitials||""}},{"./documents":4,"./html":18,"./images":20,"./promises":23,"./results":25,"./styles/html-paths":28,"./writers":33,underscore:102}],4:[function(e,t,n){(function(t){var i=e("underscore"),r=n.types={document:"document",paragraph:"paragraph",run:"run",text:"text",tab:"tab",checkbox:"checkbox",hyperlink:"hyperlink",noteReference:"noteReference",image:"image",note:"note",commentReference:"commentReference",comment:"comment",table:"table",tableRow:"tableRow",tableCell:"tableCell",break:"break",bookmarkStart:"bookmarkStart"};function a(e,t){return t=t||{},{type:r.document,children:e,notes:t.notes||new p({}),comments:t.comments||[]}}function s(e,t){var n=(t=t||{}).indent||{};return{type:r.paragraph,children:e,styleId:t.styleId||null,styleName:t.styleName||null,numbering:t.numbering||null,alignment:t.alignment||null,indent:{start:n.start||null,end:n.end||null,firstLine:n.firstLine||null,hanging:n.hanging||null}}}function o(e,t){return t=t||{},{type:r.run,children:e,styleId:t.styleId||null,styleName:t.styleName||null,isBold:!!t.isBold,isUnderline:!!t.isUnderline,isItalic:!!t.isItalic,isStrikethrough:!!t.isStrikethrough,isAllCaps:!!t.isAllCaps,isSmallCaps:!!t.isSmallCaps,verticalAlignment:t.verticalAlignment||c.baseline,font:t.font||null,fontSize:t.fontSize||null,highlight:t.highlight||null}}var c={baseline:"baseline",superscript:"superscript",subscript:"subscript"};function l(e){return{type:r.text,value:e}}function h(){return{type:r.tab}}function d(e){return{type:r.checkbox,checked:e.checked}}function u(e,t){return{type:r.hyperlink,children:e,href:t.href,anchor:t.anchor,targetFrame:t.targetFrame}}function f(e){return{type:r.noteReference,noteType:e.noteType,noteId:e.noteId}}function p(e){this._notes=i.indexBy(e,(function(e){return v(e.noteType,e.noteId)}))}function g(e){return{type:r.note,noteType:e.noteType,noteId:e.noteId,body:e.body}}function m(e){return{type:r.commentReference,commentId:e.commentId}}function b(e){return{type:r.comment,commentId:e.commentId,body:e.body,authorName:e.authorName,authorInitials:e.authorInitials}}function v(e,t){return e+"-"+t}function y(e){return{type:r.image, +// `read` is retained for backwards compatibility, but other read +// methods should be preferred. +read:function(n){return n?e.readImage(n):e.readImage().then((function(e){return t.from(e)}))},readAsArrayBuffer:function(){return e.readImage()},readAsBase64String:function(){return e.readImage("base64")},readAsBuffer:function(){return e.readImage().then((function(e){return t.from(e)}))},altText:e.altText,contentType:e.contentType}}function w(e,t){return t=t||{},{type:r.table,children:e,styleId:t.styleId||null,styleName:t.styleName||null}}function x(e,t){return t=t||{},{type:r.tableRow,children:e,isHeader:t.isHeader||!1}}function _(e,t){return t=t||{},{type:r.tableCell,children:e,colSpan:null==t.colSpan?1:t.colSpan,rowSpan:null==t.rowSpan?1:t.rowSpan}}function T(e){return{type:r.break,breakType:e}}function D(e){return{type:r.bookmarkStart,name:e.name}}p.prototype.resolve=function(e){return this.findNoteByKey(v(e.noteType,e.noteId))},p.prototype.findNoteByKey=function(e){return this._notes[e]||null},n.document=n.Document=a,n.paragraph=n.Paragraph=s,n.run=n.Run=o,n.text=n.Text=l,n.tab=n.Tab=h,n.checkbox=n.Checkbox=d,n.Hyperlink=u,n.noteReference=n.NoteReference=f,n.Notes=p,n.Note=g,n.commentReference=m,n.comment=b,n.Image=y,n.Table=w,n.TableRow=x,n.TableCell=_,n.lineBreak=T("line"),n.pageBreak=T("page"),n.columnBreak=T("column"),n.BookmarkStart=D,n.verticalAlignment=c}).call(this,e("buffer").Buffer)},{buffer:83,underscore:102}],5:[function(e,t,n){n.createBodyReader=h,n._readNumberingProperties=u;var i=e("dingbat-to-unicode"),r=e("underscore"),a=e("../documents"),s=e("../results").Result,o=e("../results").warning,c=e("../xml"),l=e("./uris");function h(e){return{readXmlElement:function(t){return new d(e).readXmlElement(t)},readXmlElements:function(t){return new d(e).readXmlElements(t)}}}function d(e){var t=[],n=[],s=[],h=e.relationships,d=e.contentTypes,x=e.docxFile,_=e.files,T=e.numbering,D=e.styles;function A(e){return w(e.map(E))}function E(e){if("element"===e.type){var t=$[e.name];if(t)return t(e);if(!Object.prototype.hasOwnProperty.call(p,e.name))return g([o("An unrecognised element was ignored: "+e.name)])}return m()}function k(e){return I(e).map((function(t){return{type:"paragraphProperties",styleId:t.styleId,styleName:t.name,alignment:e.firstOrEmpty("w:jc").attributes["w:val"],numbering:u(t.styleId,e.firstOrEmpty("w:numPr"),T),indent:S(e.firstOrEmpty("w:ind"))}}))}function S(e){return{start:e.attributes["w:start"]||e.attributes["w:left"],end:e.attributes["w:end"]||e.attributes["w:right"],firstLine:e.attributes["w:firstLine"],hanging:e.attributes["w:hanging"]}}function C(e){return O(e).map((function(t){var n=e.firstOrEmpty("w:sz").attributes["w:val"],i=/^[0-9]+$/.test(n)?parseInt(n,10)/2:null;return{type:"runProperties",styleId:t.styleId,styleName:t.name,verticalAlignment:e.firstOrEmpty("w:vertAlign").attributes["w:val"],font:e.firstOrEmpty("w:rFonts").attributes["w:ascii"],fontSize:i,isBold:F(e.first("w:b")),isUnderline:U(e.first("w:u")),isItalic:F(e.first("w:i")),isStrikethrough:F(e.first("w:strike")),isAllCaps:F(e.first("w:caps")),isSmallCaps:F(e.first("w:smallCaps")),highlight:R(e.firstOrEmpty("w:highlight").attributes["w:val"])}}))}function U(e){if(e){var t=e.attributes["w:val"];return void 0!==t&&"false"!==t&&"0"!==t&&"none"!==t}return!1}function F(e){if(e){var t=e.attributes["w:val"];return"false"!==t&&"0"!==t}return!1}function M(e){return"false"!==e&&"0"!==e}function R(e){return e&&"none"!==e?e:null}function I(e){return P(e,"w:pStyle","Paragraph",D.findParagraphStyleById)}function O(e){return P(e,"w:rStyle","Run",D.findCharacterStyleById)}function N(e){return P(e,"w:tblStyle","Table",D.findTableStyleById)}function P(e,t,n,i){var r=[],a=e.first(t),s=null,o=null;if(a&&(s=a.attributes["w:val"])){var c=i(s);c?o=c.name:r.push(oe(n,s))}return v({styleId:s,name:o},r)}function L(e){var i=e.attributes["w:fldCharType"];if("begin"===i)t.push({type:"begin",fldChar:e}),n=[];else if("end"===i){var r=t.pop();if("begin"===r.type&&(r=B(r)),"checkbox"===r.type)return b(a.checkbox({checked:r.checked}))}else if("separate"===i){var s=B(t.pop());t.push(s)}return m()}function W(){var e=r.last(t.filter((function(e){return"hyperlink"===e.type})));return e?e.options:null}function B(e){return j(n.join(""),"begin"===e.type?e.fldChar:c.emptyElement)}function j(e,t){var n=/\s*HYPERLINK "(.*)"/.exec(e);if(n)return{type:"hyperlink",options:{href:n[1]}};var i=/\s*HYPERLINK\s+\\l\s+"(.*)"/.exec(e);if(i)return{type:"hyperlink",options:{anchor:i[1]}};if(/\s*FORMCHECKBOX\s*/.exec(e)){var r=t.firstOrEmpty("w:ffData").firstOrEmpty("w:checkBox"),a=r.first("w:checked");return{type:"checkbox",checked:F(null==a?r.first("w:default"):a)}}return{type:"unknown"}}function z(e){return n.push(e.text()),m()}function H(e){var t=e.attributes["w:font"],n=e.attributes["w:char"],r=i.hex(t,n);return null==r&&/^F0..$/.test(n)&&(r=i.hex(t,n.substring(2))),null==r?g([o("A w:sym element with an unsupported character was ignored: char "+n+" in font "+t)]):b(new a.Text(r.string))}function V(e){return function(t){var n=t.attributes["w:id"];return b(new a.NoteReference({noteType:e,noteId:n}))}}function G(e){return b(a.commentReference({commentId:e.attributes["w:id"]}))}function X(e){return A(e.children)}var $={"w:p":function(e){var t=e.firstOrEmpty("w:pPr");if(t.firstOrEmpty("w:rPr").first("w:del"))return e.children.forEach((function(e){s.push(e)})),m();var n=e.children;return s.length>0&&(n=s.concat(n),s=[]),y.map(k(t),A(n),(function(e,t){return new a.Paragraph(t,e)})).insertExtra()},"w:r":function(e){return y.map(C(e.firstOrEmpty("w:rPr")),A(e.children),(function(e,t){var n=W();return null!==n&&(t=[new a.Hyperlink(t,n)]),new a.Run(t,e)}))},"w:fldChar":L,"w:instrText":z,"w:t":function(e){return b(new a.Text(e.text()))},"w:tab":function(e){return b(new a.Tab)},"w:noBreakHyphen":function(){return b(new a.Text("‑"))},"w:softHyphen":function(e){return b(new a.Text(""))},"w:sym":H,"w:hyperlink":function(e){var t=e.attributes["r:id"],n=e.attributes["w:anchor"];return A(e.children).map((function(i){function s(t){var n=e.attributes["w:tgtFrame"]||null;return new a.Hyperlink(i,r.extend({targetFrame:n},t))}if(t){var o=h.findTargetByRelationshipId(t);return n&&(o=l.replaceFragment(o,n)),s({href:o})}return n?s({anchor:n}):i}))},"w:tbl":q,"w:tr":K,"w:tc":Z,"w:footnoteReference":V("footnote"),"w:endnoteReference":V("endnote"),"w:commentReference":G,"w:br":function(e){var t=e.attributes["w:type"];return null==t||"textWrapping"===t?b(a.lineBreak):"page"===t?b(a.pageBreak):"column"===t?b(a.columnBreak):g([o("Unsupported break type: "+t)])},"w:bookmarkStart":function(e){var t=e.attributes["w:name"];return"_GoBack"===t?m():b(new a.BookmarkStart({name:t}))},"mc:AlternateContent":function(e){return X(e.first("mc:Fallback"))},"w:sdt":function(e){var t=e.firstOrEmpty("w:sdtPr").first("wordml:checkbox");if(t){var n=t.first("wordml:checked"),i=!!n&&M(n.attributes["wordml:val"]);return b(a.checkbox({checked:i}))}return A(e.firstOrEmpty("w:sdtContent").children)},"w:ins":X,"w:object":X,"w:smartTag":X,"w:drawing":X,"w:pict":function(e){return X(e).toExtra()},"v:roundrect":X,"v:shape":X,"v:textbox":X,"w:txbxContent":X,"wp:inline":ee,"wp:anchor":ee,"v:imagedata":re,"v:group":X,"v:rect":X};return{readXmlElement:E,readXmlElements:A};function q(e){var t=Y(e.firstOrEmpty("w:tblPr"));return A(e.children).flatMap(Q).flatMap((function(e){return t.map((function(t){return a.Table(e,t)}))}))}function Y(e){return N(e).map((function(e){return{styleId:e.styleId,styleName:e.name}}))}function K(e){var t=!!e.firstOrEmpty("w:trPr").first("w:tblHeader");return A(e.children).map((function(e){return a.TableRow(e,{isHeader:t})}))}function Z(e){return A(e.children).map((function(t){var n=e.firstOrEmpty("w:tcPr"),i=n.firstOrEmpty("w:gridSpan").attributes["w:val"],r=i?parseInt(i,10):1,s=a.TableCell(t,{colSpan:r});return s._vMerge=J(n),s}))}function J(e){var t=e.first("w:vMerge");if(t){var n=t.attributes["w:val"];return"continue"===n||!n}return null}function Q(e){if(r.any(e,(function(e){return e.type!==a.types.tableRow})))return v(e,[o("unexpected non-row element in table, cell merging may be incorrect")]);if(r.any(e,(function(e){return r.any(e.children,(function(e){return e.type!==a.types.tableCell}))})))return v(e,[o("unexpected non-cell element in table row, cell merging may be incorrect")]);var t={};return e.forEach((function(e){var n=0;e.children.forEach((function(e){e._vMerge&&t[n]?t[n].rowSpan++:(t[n]=e,e._vMerge=!1),n+=e.colSpan}))})),e.forEach((function(e){e.children=e.children.filter((function(e){return!e._vMerge})),e.children.forEach((function(e){delete e._vMerge}))})),b(e)}function ee(e){return w(e.getElementsByTagName("a:graphic").getElementsByTagName("a:graphicData").getElementsByTagName("pic:pic").getElementsByTagName("pic:blipFill").getElementsByTagName("a:blip").map(te.bind(null,e)))}function te(e,t){var n=e.first("wp:docPr").attributes,i=ne(n.descr)?n.title:n.descr,r=ie(t);return null===r?g([o("Could not find image file for a:blip element")]):se(r,i)}function ne(e){return null==e||/^\s*$/.test(e)}function ie(e){var t=e.attributes["r:embed"],n=e.attributes["r:link"];if(t)return ae(t);if(n){var i=h.findTargetByRelationshipId(n);return{path:i,read:_.read.bind(_,i)}}return null}function re(e){var t=e.attributes["r:id"];return t?se(ae(t),e.attributes["o:title"]):g([o("A v:imagedata element without a relationship ID was ignored")])}function ae(e){var t=l.uriToZipEntryName("word",h.findTargetByRelationshipId(e));return{path:t,read:x.read.bind(x,t)}}function se(e,t){var n=d.findContentType(e.path);return v(a.Image({readImage:e.read,altText:t,contentType:n}),f[n]?[]:o("Image of type "+n+" is unlikely to display in web browsers"))}function oe(e,t){return o(e+" style with ID "+t+" was referenced but not defined in the document")}}function u(e,t,n){var i=t.firstOrEmpty("w:ilvl").attributes["w:val"],r=t.firstOrEmpty("w:numId").attributes["w:val"];if(void 0!==i&&void 0!==r)return n.findLevel(r,i);if(null!=e){var a=n.findLevelByParagraphStyleId(e);if(null!=a)return a}return null}var f={"image/png":!0,"image/gif":!0,"image/jpeg":!0,"image/svg+xml":!0,"image/tiff":!0},p={"office-word:wrap":!0,"v:shadow":!0,"v:shapetype":!0,"w:annotationRef":!0,"w:bookmarkEnd":!0,"w:sectPr":!0,"w:proofErr":!0,"w:lastRenderedPageBreak":!0,"w:commentRangeStart":!0,"w:commentRangeEnd":!0,"w:del":!0,"w:footnoteRef":!0,"w:endnoteRef":!0,"w:pPr":!0,"w:rPr":!0,"w:tblPr":!0,"w:tblGrid":!0,"w:trPr":!0,"w:tcPr":!0};function g(e){return new y(null,null,e)}function m(){return new y(null)}function b(e){return new y(e)}function v(e,t){return new y(e,null,t)}function y(e,t,n){this.value=e||[],this.extra=t||[],this._result=new s({element:this.value,extra:t},n),this.messages=this._result.messages}function w(e){var t=s.combine(r.pluck(e,"_result"));return new y(r.flatten(r.pluck(t.value,"element")),r.filter(r.flatten(r.pluck(t.value,"extra")),_),t.messages)}function x(e,t){return r.flatten([e,t])}function _(e){return e}y.prototype.toExtra=function(){return new y(null,x(this.extra,this.value),this.messages)},y.prototype.insertExtra=function(){var e=this.extra;return e&&e.length?new y(x(this.value,e),null,this.messages):this},y.prototype.map=function(e){var t=this._result.map((function(t){return e(t.element)}));return new y(t.value,this.extra,t.messages)},y.prototype.flatMap=function(e){var t=this._result.flatMap((function(t){return e(t.element)._result}));return new y(t.value.element,x(this.extra,t.value.extra),t.messages)},y.map=function(e,t,n){return new y(n(e.value,t.value),x(e.extra,t.extra),e.messages.concat(t.messages))}},{"../documents":4,"../results":25,"../xml":35,"./uris":16,"dingbat-to-unicode":85,underscore:102}],6:[function(e,t,n){var i=e("../documents"),r=e("../results").Result;function a(e){function t(e){return r.combine(e.getElementsByTagName("w:comment").map(n))}function n(t){var n=t.attributes["w:id"];function r(e){return(t.attributes[e]||"").trim()||null}return e.readXmlElements(t.children).map((function(e){return i.comment({commentId:n,body:e,authorName:r("w:author"),authorInitials:r("w:initials")})}))}return t}n.createCommentsReader=a},{"../documents":4,"../results":25}],7:[function(e,t,n){n.readContentTypesFromXml=r;var i={png:"png",gif:"gif",jpeg:"jpeg",jpg:"jpeg",tif:"tiff",tiff:"tiff",bmp:"bmp"};function r(e){var t={},n={};return e.children.forEach((function(e){if("content-types:Default"===e.name&&(t[e.attributes.Extension]=e.attributes.ContentType),"content-types:Override"===e.name){var i=e.attributes.PartName;"/"===i.charAt(0)&&(i=i.substring(1)),n[i]=e.attributes.ContentType}})),a(n,t)}function a(e,t){return{findContentType:function(n){var r=e[n];if(r)return r;var a=n.split("."),s=a[a.length-1];if(t.hasOwnProperty(s))return t[s];var o=i[s.toLowerCase()];return o?"image/"+o:null}}}n.defaultContentTypes=a({},{})},{}],8:[function(e,t,n){n.DocumentXmlReader=a;var i=e("../documents"),r=e("../results").Result;function a(e){var t=e.bodyReader;function n(n){var a=n.first("w:body");if(null==a)throw new Error("Could not find the body element: are you sure this is a docx file?");var s=t.readXmlElements(a.children).map((function(t){return new i.Document(t,{notes:e.notes,comments:e.comments})}));return new r(s.value,s.messages)}return{convertXmlToDocument:n}}},{"../documents":4,"../results":25}],9:[function(e,t,n){n.read=b,n._findPartPaths=v;var i=e("../promises"),r=e("../documents"),a=e("../results").Result,s=e("../zipfile"),o=e("./office-xml-reader").readXmlFromZipFile,c=e("./body-reader").createBodyReader,l=e("./document-xml-reader").DocumentXmlReader,h=e("./relationships-reader"),d=e("./content-types-reader"),u=e("./numbering-xml"),f=e("./styles-reader"),p=e("./notes-reader"),g=e("./comments-reader"),m=e("./files").Files;function b(e,t){return t=t||{},i.props({contentTypes:D(e),partPaths:v(e),docxFile:e,files:t.path?m.relativeToFile(t.path):new m(null)}).also((function(t){return{styles:E(e,t.partPaths.styles)}})).also((function(t){return{numbering:A(e,t.partPaths.numbering,t.styles)}})).also((function(e){return{footnotes:_(e.partPaths.footnotes,e,(function(e,t){return t?p.createFootnotesReader(e)(t):new a([])})),endnotes:_(e.partPaths.endnotes,e,(function(e,t){return t?p.createEndnotesReader(e)(t):new a([])})),comments:_(e.partPaths.comments,e,(function(e,t){return t?g.createCommentsReader(e)(t):new a([])}))}})).also((function(e){return{notes:e.footnotes.flatMap((function(t){return e.endnotes.map((function(e){return new r.Notes(t.concat(e))}))}))}})).then((function(e){return _(e.partPaths.mainDocument,e,(function(t,n){return e.notes.flatMap((function(i){return e.comments.flatMap((function(e){return new l({bodyReader:t,notes:i,comments:e}).convertXmlToDocument(n)}))}))}))}))}function v(e){return k(e).then((function(t){var n=y({docxFile:e,relationships:t,relationshipType:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",basePath:"",fallbackPath:"word/document.xml"});if(!e.exists(n))throw new Error("Could not find main document part. Are you sure this is a valid .docx file?");return x({filename:T(n),readElement:h.readRelationships,defaultValue:h.defaultValue})(e).then((function(t){function i(i){return y({docxFile:e,relationships:t,relationshipType:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/"+i,basePath:s.splitPath(n).dirname,fallbackPath:"word/"+i+".xml"})}return{mainDocument:n,comments:i("comments"),endnotes:i("endnotes"),footnotes:i("footnotes"),numbering:i("numbering"),styles:i("styles")}}))}))}function y(e){var t=e.docxFile,n=e.relationships,i=e.relationshipType,r=e.basePath,a=e.fallbackPath,o=n.findTargetsByType(i).map((function(e){return w(s.joinPath(r,e),"/")})).filter((function(e){return t.exists(e)}));return 0===o.length?a:o[0]}function w(e,t){return e.substring(0,t.length)===t?e.substring(t.length):e}function x(e){return function(t){return o(t,e.filename).then((function(t){return t?e.readElement(t):e.defaultValue}))}}function _(e,t,n){return x({filename:T(e),readElement:h.readRelationships,defaultValue:h.defaultValue})(t.docxFile).then((function(i){var r=new c({relationships:i,contentTypes:t.contentTypes,docxFile:t.docxFile,numbering:t.numbering,styles:t.styles,files:t.files});return o(t.docxFile,e).then((function(e){return n(r,e)}))}))}function T(e){var t=s.splitPath(e);return s.joinPath(t.dirname,"_rels",t.basename+".rels")}var D=x({filename:"[Content_Types].xml",readElement:d.readContentTypesFromXml,defaultValue:d.defaultContentTypes});function A(e,t,n){return x({filename:t,readElement:function(e){return u.readNumberingXml(e,{styles:n})},defaultValue:u.defaultNumbering})(e)}function E(e,t){return x({filename:t,readElement:f.readStylesXml,defaultValue:f.defaultStyles})(e)}var k=x({filename:"_rels/.rels",readElement:h.readRelationships,defaultValue:h.defaultValue})},{"../documents":4,"../promises":23,"../results":25,"../zipfile":40,"./body-reader":5,"./comments-reader":6,"./content-types-reader":7,"./document-xml-reader":8,"./files":1,"./notes-reader":10,"./numbering-xml":11,"./office-xml-reader":12,"./relationships-reader":13,"./styles-reader":15}],10:[function(e,t,n){var i=e("../documents"),r=e("../results").Result;function a(e,t){function n(t){return r.combine(t.getElementsByTagName("w:"+e).filter(a).map(s))}function a(e){var t=e.attributes["w:type"];return"continuationSeparator"!==t&&"separator"!==t}function s(n){var r=n.attributes["w:id"];return t.readXmlElements(n.children).map((function(t){return i.Note({noteType:e,noteId:r,body:t})}))}return n}n.createFootnotesReader=a.bind(this,"footnote"),n.createEndnotesReader=a.bind(this,"endnote")},{"../documents":4,"../results":25}],11:[function(e,t,n){var i=e("underscore");function r(e,t,n){var r=i.flatten(i.values(t).map((function(e){return i.values(e.levels)}))),a=i.indexBy(r.filter((function(e){return null!=e.paragraphStyleId})),"paragraphStyleId");function s(i,r){var a=e[i];if(a){var o=t[a.abstractNumId];return o?null==o.numStyleLink?t[a.abstractNumId].levels[r]:s(n.findNumberingStyleById(o.numStyleLink).numId,r):null}return null}function o(e){return a[e]||null}return{findLevel:s,findLevelByParagraphStyleId:o}}function a(e,t){if(!t||!t.styles)throw new Error("styles is missing");var n=s(e);return new r(c(e),n,t.styles)}function s(e){var t={};return e.getElementsByTagName("w:abstractNum").forEach((function(e){var n=e.attributes["w:abstractNumId"];t[n]=o(e)})),t}function o(e){var t={};e.getElementsByTagName("w:lvl").forEach((function(e){var n=e.attributes["w:ilvl"],i=e.firstOrEmpty("w:numFmt").attributes["w:val"],r=e.firstOrEmpty("w:pStyle").attributes["w:val"];t[n]={isOrdered:"bullet"!==i,level:n,paragraphStyleId:r}}));var n=e.firstOrEmpty("w:numStyleLink").attributes["w:val"];return{levels:t,numStyleLink:n}}function c(e){var t={};return e.getElementsByTagName("w:num").forEach((function(e){var n=e.attributes["w:numId"],i=e.first("w:abstractNumId").attributes["w:val"];t[n]={abstractNumId:i}})),t}n.readNumberingXml=a,n.Numbering=r,n.defaultNumbering=new r({},{})},{underscore:102}],12:[function(e,t,n){var i=e("underscore"),r=e("../promises"),a=e("../xml");n.read=o,n.readXmlFromZipFile=c;var s={ +// Transitional format +"http://schemas.openxmlformats.org/wordprocessingml/2006/main":"w","http://schemas.openxmlformats.org/officeDocument/2006/relationships":"r","http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing":"wp","http://schemas.openxmlformats.org/drawingml/2006/main":"a","http://schemas.openxmlformats.org/drawingml/2006/picture":"pic", +// Strict format +"http://purl.oclc.org/ooxml/wordprocessingml/main":"w","http://purl.oclc.org/ooxml/officeDocument/relationships":"r","http://purl.oclc.org/ooxml/drawingml/wordprocessingDrawing":"wp","http://purl.oclc.org/ooxml/drawingml/main":"a","http://purl.oclc.org/ooxml/drawingml/picture":"pic", +// Common +"http://schemas.openxmlformats.org/package/2006/content-types":"content-types","http://schemas.openxmlformats.org/package/2006/relationships":"relationships","http://schemas.openxmlformats.org/markup-compatibility/2006":"mc","urn:schemas-microsoft-com:vml":"v","urn:schemas-microsoft-com:office:word":"office-word", +// [MS-DOCX]: Word Extensions to the Office Open XML (.docx) File Format +// https://learn.microsoft.com/en-us/openspecs/office_standards/ms-docx/b839fe1f-e1ca-4fa6-8c26-5954d0abbccd +"http://schemas.microsoft.com/office/word/2010/wordml":"wordml"};function o(e){return a.readString(e,s).then((function(e){return h(e)[0]}))}function c(e,t){return e.exists(t)?e.read(t,"utf-8").then(l).then(o):r.resolve(null)}function l(e){return e.replace(/^\uFEFF/g,"")}function h(e){return"element"===e.type?"mc:AlternateContent"===e.name?e.first("mc:Fallback").children:(e.children=i.flatten(e.children.map(h,!0)),[e]):[e]}},{"../promises":23,"../xml":35,underscore:102}],13:[function(e,t,n){function i(e){var t=[];return e.children.forEach((function(e){if("relationships:Relationship"===e.name){var n={relationshipId:e.attributes.Id,target:e.attributes.Target,type:e.attributes.Type};t.push(n)}})),new r(t)}function r(e){var t={};e.forEach((function(e){t[e.relationshipId]=e.target}));var n={};return e.forEach((function(e){n[e.type]||(n[e.type]=[]),n[e.type].push(e.target)})),{findTargetByRelationshipId:function(e){return t[e]},findTargetsByType:function(e){return n[e]||[]}}}n.readRelationships=i,n.defaultValue=new r([]),n.Relationships=r},{}],14:[function(e,t,n){var i=e("underscore"),r=e("../promises"),a=e("../xml");n.writeStyleMap=l,n.readStyleMap=f;var s="http://schemas.zwobble.org/mammoth/style-map",o="mammoth/style-map",c="/"+o;function l(e,t){return e.write(o,t),h(e).then((function(){return d(e)}))}function h(e){var t="word/_rels/document.xml.rels",n="http://schemas.openxmlformats.org/package/2006/relationships",i="{"+n+"}Relationship";return e.read(t,"utf8").then(a.readString).then((function(r){u(r.children,i,"Id",{Id:"rMammothStyleMap",Type:s,Target:c});var o={"":n};return e.write(t,a.writeString(r,o))}))}function d(e){var t="[Content_Types].xml",n="http://schemas.openxmlformats.org/package/2006/content-types",i="{"+n+"}Override";return e.read(t,"utf8").then(a.readString).then((function(r){u(r.children,i,"PartName",{PartName:c,ContentType:"text/prs.mammoth.style-map"});var s={"":n};return e.write(t,a.writeString(r,s))}))}function u(e,t,n,r){var s=i.find(e,(function(e){return e.name===t&&e.attributes[n]===r[n]}));s?s.attributes=r:e.push(a.element(t,r))}function f(e){return e.exists(o)?e.read(o,"utf8"):r.resolve(null)}},{"../promises":23,"../xml":35,underscore:102}],15:[function(e,t,n){function i(e,t,n,i){return{findParagraphStyleById:function(t){return e[t]},findCharacterStyleById:function(e){return t[e]},findTableStyleById:function(e){return n[e]},findNumberingStyleById:function(e){return i[e]}}}function r(e){var t={},n={},r={},s={},c={paragraph:t,character:n,table:r};return e.getElementsByTagName("w:style").forEach((function(e){var t=a(e);if("numbering"===t.type)s[t.styleId]=o(e);else{var n=c[t.type];n&&(n[t.styleId]=t)}})),new i(t,n,r,s)}function a(e){return{type:e.attributes["w:type"],styleId:e.attributes["w:styleId"],name:s(e)}}function s(e){var t=e.first("w:name");return t?t.attributes["w:val"]:null}function o(e){return{numId:e.firstOrEmpty("w:pPr").firstOrEmpty("w:numPr").firstOrEmpty("w:numId").attributes["w:val"]}}n.readStylesXml=r,n.Styles=i,n.defaultStyles=new i({},{}),i.EMPTY=new i({},{},{},{})},{}],16:[function(e,t,n){function i(e,t){return"/"===t.charAt(0)?t.substr(1):e+"/"+t}function r(e,t){var n=e.indexOf("#");return-1!==n&&(e=e.substring(0,n)),e+"#"+t}n.uriToZipEntryName=i,n.replaceFragment=r},{}],17:[function(e,t,n){var i=e("../styles/html-paths");function r(e,t,n){return s(i.element(e,t,{fresh:!1}),n)}function a(e,t,n){return s(i.element(e,t,{fresh:!0}),n)}function s(e,t){return{type:"element",tag:e,children:t||[]}}function o(e){return{type:"text",value:e}}var c={type:"forceWrite"};n.freshElement=a,n.nonFreshElement=r,n.elementWithTag=s,n.text=o,n.forceWrite=c;var l={br:!0,hr:!0,img:!0,input:!0};function h(e){return 0===e.children.length&&l[e.tag.tagName]}n.isVoidElement=h},{"../styles/html-paths":28}],18:[function(e,t,n){var i=e("./ast");function r(e,t){t.forEach((function(t){a(e,t)}))}function a(e,t){s[t.type](e,t)}n.freshElement=i.freshElement,n.nonFreshElement=i.nonFreshElement,n.elementWithTag=i.elementWithTag,n.text=i.text,n.forceWrite=i.forceWrite,n.simplify=e("./simplify");var s={element:o,text:c,forceWrite:function(){}};function o(e,t){i.isVoidElement(t)?e.selfClosing(t.tag.tagName,t.tag.attributes):(e.open(t.tag.tagName,t.tag.attributes),r(e,t.children),e.close(t.tag.tagName))}function c(e,t){e.text(t.value)}n.write=r},{"./ast":17,"./simplify":19}],19:[function(e,t,n){var i=e("underscore"),r=e("./ast");function a(e){return s(u(e))}function s(e){var t=[];return e.map(o).forEach((function(e){d(t,e)})),t}function o(e){return c[e.type](e)}var c={element:l,text:h,forceWrite:h};function l(e){return r.elementWithTag(e.tag,s(e.children))}function h(e){return e}function d(e,t){var n=e[e.length-1];"element"===t.type&&!t.tag.fresh&&n&&"element"===n.type&&t.tag.matchesElement(n.tag)?(t.tag.separator&&d(n.children,r.text(t.tag.separator)),t.children.forEach((function(e){d(n.children,e)}))):e.push(t)}function u(e){return f(e,(function(e){return p[e.type](e)}))}function f(e,t){return i.flatten(i.map(e,t),!0)}var p={element:m,text:b,forceWrite:g};function g(e){return[e]}function m(e){var t=u(e.children);return 0!==t.length||r.isVoidElement(e)?[r.elementWithTag(e.tag,t)]:[]}function b(e){return 0===e.value.length?[]:[e]}t.exports=a},{"./ast":17,underscore:102}],20:[function(e,t,n){var i=e("underscore"),r=e("./promises"),a=e("./html");function s(e){return function(t,n){return r.when(e(t)).then((function(e){var n={};return t.altText&&(n.alt=t.altText),i.extend(n,e),[a.freshElement("img",n)]}))}}n.imgElement=s,n.inline=n.imgElement,n.dataUri=s((function(e){return e.readAsBase64String().then((function(t){return{src:"data:"+e.contentType+";base64,"+t}}))}))},{"./html":18,"./promises":23,underscore:102}],21:[function(e,t,n){(function(t){var i=e("underscore"),r=e("./docx/docx-reader"),a=e("./docx/style-map"),s=e("./document-to-html").DocumentConverter,o=e("./raw-text").convertElementToRawText,c=e("./style-reader").readStyle,l=e("./options-reader").readOptions,h=e("./unzip"),d=e("./results").Result;function u(e,t){return p(e,t)}function f(e,t){var n=Object.create(t||{});return n.outputFormat="markdown",p(e,n)}function p(e,t){return t=l(t),h.openZip(e).tap((function(e){return a.readStyleMap(e).then((function(e){t.embeddedStyleMap=e}))})).then((function(n){return r.read(n,e).then((function(e){return e.map(t.transformDocument)})).then((function(e){return m(e,t)}))}))}function g(e){return h.openZip(e).then(a.readStyleMap)}function m(e,t){var n=b(t.readStyleMap()),r=i.extend({},t,{styleMap:n.value}),a=new s(r);return e.flatMapThen((function(e){return n.flatMapThen((function(t){return a.convertToHtml(e)}))}))}function b(e){return d.combine((e||[]).map(c)).map((function(e){return e.filter((function(e){return!!e}))}))}function v(e){return h.openZip(e).then(r.read).then((function(e){return e.map(o)}))}function y(e,n){return h.openZip(e).tap((function(e){return a.writeStyleMap(e,n)})).then((function(e){return e.toArrayBuffer()})).then((function(e){return{toArrayBuffer:function(){return e},toBuffer:function(){return t.from(e)}}}))}n.convertToHtml=u,n.convertToMarkdown=f,n.convert=p,n.extractRawText=v,n.images=e("./images"),n.transforms=e("./transforms"),n.underline=e("./underline"),n.embedStyleMap=y,n.readEmbeddedStyleMap=g,n.styleMapping=function(){throw new Error("Use a raw string instead of mammoth.styleMapping e.g. \"p[style-name='Title'] => h1\" instead of mammoth.styleMapping(\"p[style-name='Title'] => h1\")")}}).call(this,e("buffer").Buffer)},{"./document-to-html":3,"./docx/docx-reader":9,"./docx/style-map":14,"./images":20,"./options-reader":22,"./raw-text":24,"./results":25,"./style-reader":26,"./transforms":30,"./underline":31,"./unzip":2,buffer:83,underscore:102}],22:[function(e,t,n){n.readOptions=s;var i=e("underscore"),r=n._defaultStyleMap=["p.Heading1 => h1:fresh","p.Heading2 => h2:fresh","p.Heading3 => h3:fresh","p.Heading4 => h4:fresh","p.Heading5 => h5:fresh","p.Heading6 => h6:fresh","p[style-name='Heading 1'] => h1:fresh","p[style-name='Heading 2'] => h2:fresh","p[style-name='Heading 3'] => h3:fresh","p[style-name='Heading 4'] => h4:fresh","p[style-name='Heading 5'] => h5:fresh","p[style-name='Heading 6'] => h6:fresh","p[style-name='heading 1'] => h1:fresh","p[style-name='heading 2'] => h2:fresh","p[style-name='heading 3'] => h3:fresh","p[style-name='heading 4'] => h4:fresh","p[style-name='heading 5'] => h5:fresh","p[style-name='heading 6'] => h6:fresh","r[style-name='Strong'] => strong","p[style-name='footnote text'] => p:fresh","r[style-name='footnote reference'] =>","p[style-name='endnote text'] => p:fresh","r[style-name='endnote reference'] =>","p[style-name='annotation text'] => p:fresh","r[style-name='annotation reference'] =>", +// LibreOffice +"p[style-name='Footnote'] => p:fresh","r[style-name='Footnote anchor'] =>","p[style-name='Endnote'] => p:fresh","r[style-name='Endnote anchor'] =>","p:unordered-list(1) => ul > li:fresh","p:unordered-list(2) => ul|ol > li > ul > li:fresh","p:unordered-list(3) => ul|ol > li > ul|ol > li > ul > li:fresh","p:unordered-list(4) => ul|ol > li > ul|ol > li > ul|ol > li > ul > li:fresh","p:unordered-list(5) => ul|ol > li > ul|ol > li > ul|ol > li > ul|ol > li > ul > li:fresh","p:ordered-list(1) => ol > li:fresh","p:ordered-list(2) => ul|ol > li > ol > li:fresh","p:ordered-list(3) => ul|ol > li > ul|ol > li > ol > li:fresh","p:ordered-list(4) => ul|ol > li > ul|ol > li > ul|ol > li > ol > li:fresh","p:ordered-list(5) => ul|ol > li > ul|ol > li > ul|ol > li > ul|ol > li > ol > li:fresh","r[style-name='Hyperlink'] =>","p[style-name='Normal'] => p:fresh"],a=n._standardOptions={transformDocument:c,includeDefaultStyleMap:!0,includeEmbeddedStyleMap:!0};function s(e){return e=e||{},i.extend({},a,e,{customStyleMap:o(e.styleMap),readStyleMap:function(){var e=this.customStyleMap;return this.includeEmbeddedStyleMap&&(e=e.concat(o(this.embeddedStyleMap))),this.includeDefaultStyleMap&&(e=e.concat(r)),e}})}function o(e){return e?i.isString(e)?e.split("\n").map((function(e){return e.trim()})).filter((function(e){return""!==e&&"#"!==e.charAt(0)})):e:[]}function c(e){return e}},{underscore:102}],23:[function(e,t,n){var i=e("underscore"),r=e("bluebird/js/release/promise")();function a(){var e,t,n=new r.Promise((function(n,i){e=n,t=i}));return{resolve:e,reject:t,promise:n}}n.defer=a,n.when=r.resolve,n.resolve=r.resolve,n.all=r.all,n.props=r.props,n.reject=r.reject,n.promisify=r.promisify,n.mapSeries=r.mapSeries,n.attempt=r.attempt,n.nfcall=function(e){var t=Array.prototype.slice.call(arguments,1);return r.promisify(e).apply(null,t)},r.prototype.fail=r.prototype.caught,r.prototype.also=function(e){return this.then((function(t){var n=i.extend({},t,e(t));return r.props(n)}))}},{"bluebird/js/release/promise":68,underscore:102}],24:[function(e,t,n){var i=e("./documents");function r(e){if("text"===e.type)return e.value;if(e.type===i.types.tab)return"\t";var t="paragraph"===e.type?"\n\n":"";return(e.children||[]).map(r).join("")+t}n.convertElementToRawText=r},{"./documents":4}],25:[function(e,t,n){var i=e("underscore");function r(e,t){this.value=e,this.messages=t||[]}function a(e){return new r(e,[])}function s(e){return{type:"warning",message:e}}function o(e){return{type:"error",message:e.message,error:e}}function c(e){var t=[];return i.flatten(i.pluck(e,"messages"),!0).forEach((function(e){l(t,e)||t.push(e)})),t}function l(e,t){return void 0!==i.find(e,h.bind(null,t))}function h(e,t){return e.type===t.type&&e.message===t.message}n.Result=r,n.success=a,n.warning=s,n.error=o,r.prototype.map=function(e){return new r(e(this.value),this.messages)},r.prototype.flatMap=function(e){var t=e(this.value);return new r(t.value,c([this,t]))},r.prototype.flatMapThen=function(e){var t=this;return e(this.value).then((function(e){return new r(e.value,c([t,e]))}))},r.combine=function(e){return new r(i.flatten(i.pluck(e,"value")),c(e))}},{underscore:102}],26:[function(e,t,n){var i=e("underscore"),r=e("lop"),a=e("./styles/document-matchers"),s=e("./styles/html-paths"),o=e("./styles/parser/tokeniser").tokenise,c=e("./results");function l(e){return T(E,e)}function h(){return r.rules.sequence(r.rules.sequence.capture(u()),r.rules.tokenOfType("whitespace"),r.rules.tokenOfType("arrow"),r.rules.sequence.capture(r.rules.optional(r.rules.sequence(r.rules.tokenOfType("whitespace"),r.rules.sequence.capture(p())).head())),r.rules.tokenOfType("end")).map((function(e,t){return{from:e,to:t.valueOrElse(s.empty)}}))}function d(e){return T(u(),e)}function u(){var e=r.rules.sequence,t=function(e,t){return r.rules.then(r.rules.token("identifier",e),(function(){return t}))},n=t("p",a.paragraph),s=t("r",a.run),o=r.rules.firstOf("p or r or table",n,s),c=r.rules.sequence(r.rules.tokenOfType("dot"),r.rules.sequence.cut(),r.rules.sequence.capture(g)).map((function(e){return{styleId:e}})),l=r.rules.firstOf("style name matcher",r.rules.then(r.rules.sequence(r.rules.tokenOfType("equals"),r.rules.sequence.cut(),r.rules.sequence.capture(b)).head(),(function(e){return{styleName:a.equalTo(e)}})),r.rules.then(r.rules.sequence(r.rules.tokenOfType("startsWith"),r.rules.sequence.cut(),r.rules.sequence.capture(b)).head(),(function(e){return{styleName:a.startsWith(e)}}))),h=r.rules.sequence(r.rules.tokenOfType("open-square-bracket"),r.rules.sequence.cut(),r.rules.token("identifier","style-name"),r.rules.sequence.capture(l),r.rules.tokenOfType("close-square-bracket")).head(),d=r.rules.firstOf("list type",t("ordered-list",{isOrdered:!0}),t("unordered-list",{isOrdered:!1})),u=e(r.rules.tokenOfType("colon"),e.capture(d),e.cut(),r.rules.tokenOfType("open-paren"),e.capture(m),r.rules.tokenOfType("close-paren")).map((function(e,t){return{list:{isOrdered:e.isOrdered,levelIndex:t-1}}}));function f(e){var t=r.rules.firstOf.apply(r.rules.firstOf,["matcher suffix"].concat(e)),n=r.rules.zeroOrMore(t);return r.rules.then(n,(function(e){var t={};return e.forEach((function(e){i.extend(t,e)})),t}))}var p=e(e.capture(o),e.capture(f([c,h,u]))).map((function(e,t){return e(t)})),v=e(r.rules.token("identifier","table"),e.capture(f([c,h]))).map((function(e){return a.table(e)})),y=t("b",a.bold),w=t("i",a.italic),x=t("u",a.underline),_=t("strike",a.strikethrough),T=t("all-caps",a.allCaps),D=t("small-caps",a.smallCaps),A=e(r.rules.token("identifier","highlight"),r.rules.sequence.capture(r.rules.optional(r.rules.sequence(r.rules.tokenOfType("open-square-bracket"),r.rules.sequence.cut(),r.rules.token("identifier","color"),r.rules.tokenOfType("equals"),r.rules.sequence.capture(b),r.rules.tokenOfType("close-square-bracket")).head()))).map((function(e){return a.highlight({color:e.valueOrElse(void 0)})})),E=t("comment-reference",a.commentReference),k=e(r.rules.token("identifier","br"),e.cut(),r.rules.tokenOfType("open-square-bracket"),r.rules.token("identifier","type"),r.rules.tokenOfType("equals"),e.capture(b),r.rules.tokenOfType("close-square-bracket")).map((function(e){switch(e){case"line":return a.lineBreak;case"page":return a.pageBreak;case"column":return a.columnBreak}}));return r.rules.firstOf("element type",p,v,y,w,x,_,T,D,A,E,k)}function f(e){return T(p(),e)}function p(){var e=r.rules.sequence.capture,t=r.rules.tokenOfType("whitespace"),n=r.rules.then(r.rules.optional(r.rules.sequence(r.rules.tokenOfType("colon"),r.rules.token("identifier","fresh"))),(function(e){return e.map((function(){return!0})).valueOrElse(!1)})),i=r.rules.then(r.rules.optional(r.rules.sequence(r.rules.tokenOfType("colon"),r.rules.token("identifier","separator"),r.rules.tokenOfType("open-paren"),e(b),r.rules.tokenOfType("close-paren")).head()),(function(e){return e.valueOrElse("")})),a=r.rules.oneOrMoreWithSeparator(g,r.rules.tokenOfType("choice")),o=r.rules.sequence(e(a),e(r.rules.zeroOrMore(_)),e(n),e(i)).map((function(e,t,n,i){var r={},a={};return t.forEach((function(e){e.append&&r[e.name]?r[e.name]+=" "+e.value:r[e.name]=e.value})),n&&(a.fresh=!0),i&&(a.separator=i),s.element(e,r,a)}));return r.rules.firstOf("html path",r.rules.then(r.rules.tokenOfType("bang"),(function(){return s.ignore})),r.rules.then(r.rules.zeroOrMoreWithSeparator(o,r.rules.sequence(t,r.rules.tokenOfType("gt"),t)),s.elements))}n.readHtmlPath=f,n.readDocumentMatcher=d,n.readStyle=l;var g=r.rules.then(r.rules.tokenOfType("identifier"),y),m=r.rules.tokenOfType("integer"),b=r.rules.then(r.rules.tokenOfType("string"),y),v={n:"\n",r:"\r",t:"\t"};function y(e){return e.replace(/\\(.)/g,(function(e,t){return v[t]||t}))}var w=r.rules.sequence(r.rules.tokenOfType("open-square-bracket"),r.rules.sequence.cut(),r.rules.sequence.capture(g),r.rules.tokenOfType("equals"),r.rules.sequence.capture(b),r.rules.tokenOfType("close-square-bracket")).map((function(e,t){return{name:e,value:t,append:!1}})),x=r.rules.sequence(r.rules.tokenOfType("dot"),r.rules.sequence.cut(),r.rules.sequence.capture(g)).map((function(e){return{name:"class",value:e,append:!0}})),_=r.rules.firstOf("attribute or class",w,x);function T(e,t){var n=o(t),i=r.Parser().parseTokens(e,n);return i.isSuccess()?c.success(i.value()):new c.Result(null,[c.warning(D(t,i))])}function D(e,t){return"Did not understand this style mapping, so ignored it: "+e+"\n"+t.errors().map(A).join("\n")}function A(e){return"Error was at character number "+e.characterNumber()+": Expected "+e.expected+" but got "+e.actual}var E=h()},{"./results":25,"./styles/document-matchers":27,"./styles/html-paths":28,"./styles/parser/tokeniser":29,lop:89,underscore:102}],27:[function(e,t,n){function i(e){return new o("paragraph",e)}function r(e){return new o("run",e)}function a(e){return new o("table",e)}function s(e){return new c(e)}function o(e,t){t=t||{},this._elementType=e,this._styleId=t.styleId,this._styleName=t.styleName,t.list&&(this._listIndex=t.list.levelIndex,this._listIsOrdered=t.list.isOrdered)}function c(e){e=e||{},this._color=e.color}function l(e){e=e||{},this._breakType=e.breakType}function h(e,t,n){return e.numbering&&e.numbering.level==t&&e.numbering.isOrdered==n}function d(e){return{operator:f,operand:e}}function u(e){return{operator:p,operand:e}}function f(e,t){return e.toUpperCase()===t.toUpperCase()}function p(e,t){return 0===t.toUpperCase().indexOf(e.toUpperCase())}n.paragraph=i,n.run=r,n.table=a,n.bold=new o("bold"),n.italic=new o("italic"),n.underline=new o("underline"),n.strikethrough=new o("strikethrough"),n.allCaps=new o("allCaps"),n.smallCaps=new o("smallCaps"),n.highlight=s,n.commentReference=new o("commentReference"),n.lineBreak=new l({breakType:"line"}),n.pageBreak=new l({breakType:"page"}),n.columnBreak=new l({breakType:"column"}),n.equalTo=d,n.startsWith=u,o.prototype.matches=function(e){return e.type===this._elementType&&(void 0===this._styleId||e.styleId===this._styleId)&&(void 0===this._styleName||e.styleName&&this._styleName.operator(this._styleName.operand,e.styleName))&&(void 0===this._listIndex||h(e,this._listIndex,this._listIsOrdered))&&(void 0===this._breakType||this._breakType===e.breakType)},c.prototype.matches=function(e){return"highlight"===e.type&&(void 0===this._color||e.color===this._color)},l.prototype.matches=function(e){return"break"===e.type&&(void 0===this._breakType||e.breakType===this._breakType)}},{}],28:[function(e,t,n){var i=e("underscore"),r=e("../html");function a(e,t){return s([c(e,t,{fresh:!0})])}function s(e){return new o(e.map((function(e){return i.isString(e)?c(e):e})))}function o(e){this._elements=e}function c(e,t,n){return new l(e,t,n=n||{})}function l(e,t,n){var r={};i.isArray(e)?(e.forEach((function(e){r[e]=!0})),e=e[0]):r[e]=!0,this.tagName=e,this.tagNames=r,this.attributes=t||{},this.fresh=n.fresh,this.separator=n.separator}n.topLevelElement=a,n.elements=s,n.element=c,o.prototype.wrap=function(e){for(var t=e(),n=this._elements.length-1;n>=0;n--)t=this._elements[n].wrapNodes(t);return t},l.prototype.matchesElement=function(e){return this.tagNames[e.tagName]&&i.isEqual(this.attributes||{},e.attributes||{})},l.prototype.wrap=function(e){return this.wrapNodes(e())},l.prototype.wrapNodes=function(e){return[r.elementWithTag(this,e)]},n.empty=s([]),n.ignore={wrap:function(){return[]}}},{"../html":18,underscore:102}],29:[function(e,t,n){var i=e("lop").RegexTokeniser;n.tokenise=a;var r="'((?:\\\\.|[^'])*)";function a(e){var t="(?:[a-zA-Z\\-_]|\\\\.)";return new i([{name:"identifier",regex:new RegExp("("+t+"(?:"+t+"|[0-9])*)")},{name:"dot",regex:/\./},{name:"colon",regex:/:/},{name:"gt",regex:/>/},{name:"whitespace",regex:/\s+/},{name:"arrow",regex:/=>/},{name:"equals",regex:/=/},{name:"startsWith",regex:/\^=/},{name:"open-paren",regex:/\(/},{name:"close-paren",regex:/\)/},{name:"open-square-bracket",regex:/\[/},{name:"close-square-bracket",regex:/\]/},{name:"string",regex:new RegExp(r+"'")},{name:"unterminated-string",regex:new RegExp(r)},{name:"integer",regex:/([0-9]+)/},{name:"choice",regex:/\|/},{name:"bang",regex:/(!)/}]).tokenise(e)}},{lop:89}],30:[function(e,t,n){var i=e("underscore");function r(e){return s("paragraph",e)}function a(e){return s("run",e)}function s(e,t){return o((function(n){return n.type===e?t(n):n}))}function o(e){return function t(n){if(n.children){var r=i.map(n.children,t);n=i.extend(n,{children:r})}return e(n)}}function c(e,t){return l(e).filter((function(e){return e.type===t}))}function l(e){var t=[];return h(e,(function(e){t.push(e)})),t}function h(e,t){e.children&&e.children.forEach((function(e){h(e,t),t(e)}))}n.paragraph=r,n.run=a,n._elements=o,n.getDescendantsOfType=c,n.getDescendants=l},{underscore:102}],31:[function(e,t,n){var i=e("./styles/html-paths"),r=e("./html");function a(e){return function(t){return r.elementWithTag(i.element(e),[t])}}n.element=a},{"./html":18,"./styles/html-paths":28}],32:[function(e,t,n){var i=e("underscore");function r(e){return(e=e||{}).prettyPrint?s():o()}n.writer=r;var a={div:!0,p:!0,ul:!0,li:!0};function s(){var e=0,t=" ",n=[],r=!0,s=!1,c=o();function l(t,i){a[t]&&g(),n.push(t),c.open(t,i),a[t]&&e++,r=!1}function h(t){a[t]&&(e--,g()),n.pop(),c.close(t)}function d(e){p();var n=m()?e:e.replace("\n","\n"+t);c.text(n)}function u(e,t){g(),c.selfClosing(e,t)}function f(){return 0===n.length||a[n[n.length-1]]}function p(){s||(g(),s=!0)}function g(){if(s=!1,!r&&f()&&!m()){c._append("\n");for(var n=0;n<e;n++)c._append(t)}}function m(){return i.some(n,(function(e){return"pre"===e}))}return{asString:c.asString,open:l,close:h,text:d,selfClosing:u}}function o(){var e=[];function t(t,n){var i=a(n);e.push("<"+t+i+">")}function n(t){e.push("</"+t+">")}function r(t,n){var i=a(n);e.push("<"+t+i+" />")}function a(e){return i.map(e,(function(e,t){return" "+t+'="'+l(e)+'"'})).join("")}function s(t){e.push(c(t))}function o(t){e.push(t)}function h(){return e.join("")}return{asString:h,open:t,close:n,text:s,selfClosing:r,_append:o}}function c(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")}function l(e){return e.replace(/&/g,"&").replace(/"/g,""").replace(/</g,"<").replace(/>/g,">")}},{underscore:102}],33:[function(e,t,n){var i=e("./html-writer"),r=e("./markdown-writer");function a(e){return"markdown"===(e=e||{}).outputFormat?r.writer():i.writer(e)}n.writer=a},{"./html-writer":32,"./markdown-writer":34}],34:[function(e,t,n){var i=e("underscore");function r(e){return a(e,e)}function a(e,t){return function(){return{start:e,end:t}}}function s(e){var t=e.href||"";return t?{start:"[",end:"]("+t+")",anchorPosition:"before"}:{}}function o(e){var t=e.src||"",n=e.alt||"";return t||n?{start:""}:{}}function c(e){return function(t,n){return{start:n?"\n":"",end:n?"":"\n",list:{isOrdered:e.isOrdered,indent:n?n.indent+1:0,count:0}}}}function l(e,t,n){(t=t||{indent:0,isOrdered:!1,count:0}).count++,n.hasClosed=!1;var i=t.isOrdered?t.count+".":"-";return{start:d("\t",t.indent)+i+" ",end:function(){if(!n.hasClosed)return n.hasClosed=!0,"\n"}}}var h={p:a("","\n\n"),br:a(""," \n"),ul:c({isOrdered:!1}),ol:c({isOrdered:!0}),li:l,strong:r("__"),em:r("*"),a:s,img:o};function d(e,t){return new Array(t+1).join(e)}function u(){var e=[],t=[],n=null,r={};function a(i,a){a=a||{};var o=(h[i]||function(){return{}})(a,n,r);t.push({end:o.end,list:n}),o.list&&(n=o.list);var c="before"===o.anchorPosition;c&&s(a),e.push(o.start||""),c||s(a)}function s(t){t.id&&e.push('<a id="'+t.id+'"></a>')}function o(r){var a=t.pop();n=a.list;var s=i.isFunction(a.end)?a.end():a.end;e.push(s||"")}function c(e,t){a(e,t),o()}function l(t){e.push(f(t))}function d(){return e.join("")}return{asString:d,open:a,close:o,text:l,selfClosing:c}}function f(e){return e.replace(/\\/g,"\\\\").replace(/([\`\*_\{\}\[\]\(\)\#\+\-\.\!])/g,"\\$1")}!function(){for(var e=1;e<=6;e++)h["h"+e]=a(d("#",e)+" ","\n\n")}(),n.writer=u},{underscore:102}],35:[function(e,t,n){var i=e("./nodes");n.Element=i.Element,n.element=i.element,n.emptyElement=i.emptyElement,n.text=i.text,n.readString=e("./reader").readString,n.writeString=e("./writer").writeString},{"./nodes":36,"./reader":37,"./writer":38}],36:[function(e,t,n){var i=e("underscore");n.Element=a,n.element=function(e,t,n){return new a(e,t,n)},n.text=function(e){return{type:"text",value:e}};var r=n.emptyElement={first:function(){return null},firstOrEmpty:function(){return r},attributes:{},children:[]};function a(e,t,n){this.type="element",this.name=e,this.attributes=t||{},this.children=n||[]}a.prototype.first=function(e){return i.find(this.children,(function(t){return t.name===e}))},a.prototype.firstOrEmpty=function(e){return this.first(e)||r},a.prototype.getElementsByTagName=function(e){return o(i.filter(this.children,(function(t){return t.name===e})))},a.prototype.text=function(){if(0===this.children.length)return"";if(1!==this.children.length||"text"!==this.children[0].type)throw new Error("Not implemented");return this.children[0].value};var s={getElementsByTagName:function(e){return o(i.flatten(this.map((function(t){return t.getElementsByTagName(e)}),!0)))}};function o(e){return i.extend(e,s)}},{underscore:102}],37:[function(e,t,n){var i=e("../promises"),r=e("underscore"),a=e("./xmldom"),s=e("./nodes"),o=s.Element;n.readString=l;var c=a.Node;function l(e,t){t=t||{};try{var n=a.parseFromString(e,"text/xml")}catch(u){return i.reject(u)}if("parsererror"===n.documentElement.tagName)return i.resolve(new Error(n.documentElement.textContent));function l(e){switch(e.nodeType){case c.ELEMENT_NODE:return h(e);case c.TEXT_NODE:return s.text(e.nodeValue)}}function h(e){var t=d(e),n=[];r.forEach(e.childNodes,(function(e){var t=l(e);t&&n.push(t)}));var i={};return r.forEach(e.attributes,(function(e){i[d(e)]=e.value})),new o(t,i,n)}function d(e){if(e.namespaceURI){var n=t[e.namespaceURI];return(n?n+":":"{"+e.namespaceURI+"}")+e.localName}return e.localName}return i.resolve(l(n.documentElement))}},{"../promises":23,"./nodes":36,"./xmldom":39,underscore:102}],38:[function(e,t,n){var i=e("underscore"),r=e("xmlbuilder");function a(e,t){var n=i.invert(t),a={element:c,text:s};function o(e,t){return a[t.type](e,t)}function c(e,t){var n=e.element(l(t.name),t.attributes);t.children.forEach((function(e){o(n,e)}))}function l(e){var t=/^\{(.*)\}(.*)$/.exec(e);if(t){var i=n[t[1]];return i+(""===i?"":":")+t[2]}return e}function h(e){var n=r.create(l(e.name),{version:"1.0",encoding:"UTF-8",standalone:!0});return i.forEach(t,(function(e,t){var i="xmlns"+(""===t?"":":"+t);n.attribute(i,e)})),e.children.forEach((function(e){o(n,e)})),n.end()}return h(e)}function s(e,t){e.text(t.value)}n.writeString=a},{underscore:102,xmlbuilder:124}],39:[function(e,t,n){var i=e("@xmldom/xmldom"),r=e("@xmldom/xmldom/lib/dom");function a(e){var t=null,n=new i.DOMParser({errorHandler:function(e,n){t={level:e,message:n}}}).parseFromString(e);if(null===t)return n;throw new Error(t.level+": "+t.message)}n.parseFromString=a,n.Node=r.Node},{"@xmldom/xmldom":45,"@xmldom/xmldom/lib/dom":43}],40:[function(e,t,n){var i=e("base64-js"),r=e("jszip");function a(e){return r.loadAsync(e).then((function(e){function t(t){return null!==e.file(t)}function n(t,n){return e.file(t).async("uint8array").then((function(e){return"base64"===n?i.fromByteArray(e):n?new TextDecoder(n).decode(e):e}))}function r(t,n){e.file(t,n)}function a(){return e.generateAsync({type:"arraybuffer"})}return{exists:t,read:n,write:r,toArrayBuffer:a}}))}function s(e){var t=e.lastIndexOf("/");return-1===t?{dirname:"",basename:e}:{dirname:e.substring(0,t),basename:e.substring(t+1)}}function o(){var e=Array.prototype.filter.call(arguments,(function(e){return e})),t=[];return e.forEach((function(e){/^\//.test(e)?t=[e]:t.push(e)})),t.join("/")}n.openArrayBuffer=a,n.splitPath=s,n.joinPath=o},{"base64-js":47,jszip:88}],41:[function(e,t,n){function i(e,t,n){if(void 0===n&&(n=Array.prototype),e&&"function"==typeof n.find)return n.find.call(e,t);for(var i=0;i<e.length;i++)if(Object.prototype.hasOwnProperty.call(e,i)){var r=e[i];if(t.call(void 0,r,i,e))return r}}function r(e,t){return void 0===t&&(t=Object),t&&"function"==typeof t.freeze?t.freeze(e):e}function a(e,t){if(null===e||"object"!=typeof e)throw new TypeError("target is not an object");for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}var s=r({ +/** + * `text/html`, the only mime type that triggers treating an XML document as HTML. + * + * @see DOMParser.SupportedType.isHTML + * @see https://www.iana.org/assignments/media-types/text/html IANA MimeType registration + * @see https://en.wikipedia.org/wiki/HTML Wikipedia + * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMParser/parseFromString MDN + * @see https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#dom-domparser-parsefromstring WHATWG HTML Spec + */ +HTML:"text/html", +/** + * Helper method to check a mime type if it indicates an HTML document + * + * @param {string} [value] + * @returns {boolean} + * + * @see https://www.iana.org/assignments/media-types/text/html IANA MimeType registration + * @see https://en.wikipedia.org/wiki/HTML Wikipedia + * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMParser/parseFromString MDN + * @see https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#dom-domparser-parsefromstring */ +isHTML:function(e){return e===s.HTML}, +/** + * `application/xml`, the standard mime type for XML documents. + * + * @see https://www.iana.org/assignments/media-types/application/xml IANA MimeType registration + * @see https://tools.ietf.org/html/rfc7303#section-9.1 RFC 7303 + * @see https://en.wikipedia.org/wiki/XML_and_MIME Wikipedia + */ +XML_APPLICATION:"application/xml", +/** + * `text/html`, an alias for `application/xml`. + * + * @see https://tools.ietf.org/html/rfc7303#section-9.2 RFC 7303 + * @see https://www.iana.org/assignments/media-types/text/xml IANA MimeType registration + * @see https://en.wikipedia.org/wiki/XML_and_MIME Wikipedia + */ +XML_TEXT:"text/xml", +/** + * `application/xhtml+xml`, indicates an XML document that has the default HTML namespace, + * but is parsed as an XML document. + * + * @see https://www.iana.org/assignments/media-types/application/xhtml+xml IANA MimeType registration + * @see https://dom.spec.whatwg.org/#dom-domimplementation-createdocument WHATWG DOM Spec + * @see https://en.wikipedia.org/wiki/XHTML Wikipedia + */ +XML_XHTML_APPLICATION:"application/xhtml+xml", +/** + * `image/svg+xml`, + * + * @see https://www.iana.org/assignments/media-types/image/svg+xml IANA MimeType registration + * @see https://www.w3.org/TR/SVG11/ W3C SVG 1.1 + * @see https://en.wikipedia.org/wiki/Scalable_Vector_Graphics Wikipedia + */ +XML_SVG_IMAGE:"image/svg+xml"}),o=r({ +/** + * The XHTML namespace. + * + * @see http://www.w3.org/1999/xhtml + */ +HTML:"http://www.w3.org/1999/xhtml", +/** + * Checks if `uri` equals `NAMESPACE.HTML`. + * + * @param {string} [uri] + * + * @see NAMESPACE.HTML + */ +isHTML:function(e){return e===o.HTML}, +/** + * The SVG namespace. + * + * @see http://www.w3.org/2000/svg + */ +SVG:"http://www.w3.org/2000/svg", +/** + * The `xml:` namespace. + * + * @see http://www.w3.org/XML/1998/namespace + */ +XML:"http://www.w3.org/XML/1998/namespace", +/** + * The `xmlns:` namespace + * + * @see https://www.w3.org/2000/xmlns/ + */ +XMLNS:"http://www.w3.org/2000/xmlns/"});n.assign=a,n.find=i,n.freeze=r,n.MIME_TYPE=s,n.NAMESPACE=o},{}],42:[function(e,t,n){var i=e("./conventions"),r=e("./dom"),a=e("./entities"),s=e("./sax"),o=r.DOMImplementation,c=i.NAMESPACE,l=s.ParseError,h=s.XMLReader;function d(e){return e.replace(/\r[\n\u0085]/g,"\n").replace(/[\r\u0085\u2028]/g,"\n")}function u(e){this.options=e||{locator:{}}}function f(e,t,n){if(!e){if(t instanceof p)return t;e=t}var i={},r=e instanceof Function;function a(t){var a=e[t];!a&&r&&(a=2==e.length?function(n){e(t,n)}:e),i[t]=a&&function(e){a("[xmldom "+t+"]\t"+e+m(n))}||function(){}}return n=n||{},a("warning"),a("error"),a("fatalError"),i}function p(){this.cdata=!1}function g(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber}function m(e){if(e)return"\n@"+(e.systemId||"")+"#[line:"+e.lineNumber+",col:"+e.columnNumber+"]"}function b(e,t,n){return"string"==typeof e?e.substr(t,n):e.length>=t+n||t?new java.lang.String(e,t,n)+"":e}function v(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}u.prototype.parseFromString=function(e,t){var n=this.options,i=new h,r=n.domBuilder||new p,s=n.errorHandler,o=n.locator,l=n.xmlns||{},u=/\/x?html?$/.test(t),g=u?a.HTML_ENTITIES:a.XML_ENTITIES;o&&r.setDocumentLocator(o),i.errorHandler=f(s,r,o),i.domBuilder=n.domBuilder||r,u&&(l[""]=c.HTML),l.xml=l.xml||c.XML;var m=n.normalizeLineEndings||d;return e&&"string"==typeof e?i.parse(m(e),l,g):i.errorHandler.error("invalid doc source"),r.doc},p.prototype={startDocument:function(){this.doc=(new o).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(e,t,n,i){var r=this.doc,a=r.createElementNS(e,n||t),s=i.length;v(this,a),this.currentElement=a,this.locator&&g(this.locator,a);for(var o=0;o<s;o++){e=i.getURI(o);var c=i.getValue(o),l=(n=i.getQName(o),r.createAttributeNS(e,n));this.locator&&g(i.getLocator(o),l),l.value=l.nodeValue=c,a.setAttributeNode(l)}},endElement:function(e,t,n){var i=this.currentElement;i.tagName,this.currentElement=i.parentNode},startPrefixMapping:function(e,t){},endPrefixMapping:function(e){},processingInstruction:function(e,t){var n=this.doc.createProcessingInstruction(e,t);this.locator&&g(this.locator,n),v(this,n)},ignorableWhitespace:function(e,t,n){},characters:function(e,t,n){if(e=b.apply(this,arguments)){if(this.cdata)var i=this.doc.createCDATASection(e);else i=this.doc.createTextNode(e);this.currentElement?this.currentElement.appendChild(i):/^\s*$/.test(e)&&this.doc.appendChild(i),this.locator&&g(this.locator,i)}},skippedEntity:function(e){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(e){(this.locator=e)&&(e.lineNumber=0)}, +//LexicalHandler +comment:function(e,t,n){e=b.apply(this,arguments);var i=this.doc.createComment(e);this.locator&&g(this.locator,i),v(this,i)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(e,t,n){var i=this.doc.implementation;if(i&&i.createDocumentType){var r=i.createDocumentType(e,t,n);this.locator&&g(this.locator,r),v(this,r),this.doc.doctype=r}}, +/** + * @see org.xml.sax.ErrorHandler + * @link http://www.saxproject.org/apidoc/org/xml/sax/ErrorHandler.html + */ +warning:function(e){},error:function(e){},fatalError:function(e){throw new l(e,this.locator)}},"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,(function(e){p.prototype[e]=function(){return null}})),n.__DOMHandler=p,n.normalizeLineEndings=d,n.DOMParser=u},{"./conventions":41,"./dom":43,"./entities":44,"./sax":46}],43:[function(e,t,n){var i=e("./conventions"),r=i.find,a=i.NAMESPACE;function s(e){return""!==e}function o(e){return e?e.split(/[\t\n\f\r ]+/).filter(s):[]}function c(e,t){return e.hasOwnProperty(t)||(e[t]=!0),e}function l(e){if(!e)return[];var t=o(e);return Object.keys(t.reduce(c,{}))}function h(e){return function(t){return e&&-1!==e.indexOf(t)}}function d(e,t){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}function u(e,t){var n=e.prototype;if(!(n instanceof t)){let i=function(){};i.prototype=t.prototype,i=new i,d(n,i),e.prototype=n=i}n.constructor!=e&&(n.constructor=e)}var f={},p=f.ELEMENT_NODE=1,g=f.ATTRIBUTE_NODE=2,m=f.TEXT_NODE=3,b=f.CDATA_SECTION_NODE=4,v=f.ENTITY_REFERENCE_NODE=5,y=f.ENTITY_NODE=6,w=f.PROCESSING_INSTRUCTION_NODE=7,x=f.COMMENT_NODE=8,_=f.DOCUMENT_NODE=9,T=f.DOCUMENT_TYPE_NODE=10,D=f.DOCUMENT_FRAGMENT_NODE=11,A=f.NOTATION_NODE=12,E={},k={};E.INDEX_SIZE_ERR=(k[1]="Index size error",1),E.DOMSTRING_SIZE_ERR=(k[2]="DOMString size error",2);var S=E.HIERARCHY_REQUEST_ERR=(k[3]="Hierarchy request error",3);E.WRONG_DOCUMENT_ERR=(k[4]="Wrong document",4),E.INVALID_CHARACTER_ERR=(k[5]="Invalid character",5),E.NO_DATA_ALLOWED_ERR=(k[6]="No data allowed",6),E.NO_MODIFICATION_ALLOWED_ERR=(k[7]="No modification allowed",7);var C=E.NOT_FOUND_ERR=(k[8]="Not found",8);E.NOT_SUPPORTED_ERR=(k[9]="Not supported",9);var U=E.INUSE_ATTRIBUTE_ERR=(k[10]="Attribute in use",10);function F(e,t){if(t instanceof Error)var n=t;else n=this,Error.call(this,k[e]),this.message=k[e],Error.captureStackTrace&&Error.captureStackTrace(this,F);return n.code=e,t&&(this.message=this.message+": "+t),n}function M(){}function R(e,t){this._node=e,this._refresh=t,I(this)}function I(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!=t){var n=e._refresh(e._node);Ae(e,"length",n.length),d(n,e),e._inc=t}}function O(){}function N(e,t){for(var n=e.length;n--;)if(e[n]===t)return n}function P(e,t,n,i){if(i?t[N(t,i)]=n:t[t.length++]=n,e){n.ownerElement=e;var r=e.ownerDocument;r&&(i&&G(r,e,i),V(r,e,n))}}function L(e,t,n){var i=N(t,n);if(!(i>=0))throw new F(C,new Error(e.tagName+"@"+n));for(var r=t.length-1;i<r;)t[i]=t[++i];if(t.length=r,e){var a=e.ownerDocument;a&&(G(a,e,n),n.ownerElement=null)}}function W(){}function B(){}function j(e){return("<"==e?"<":">"==e&&">")||"&"==e&&"&"||'"'==e&&"""||"&#"+e.charCodeAt()+";"}function z(e,t){if(t(e))return!0;if(e=e.firstChild)do{if(z(e,t))return!0}while(e=e.nextSibling)}function H(){this.ownerDocument=this}function V(e,t,n){e&&e._inc++,n.namespaceURI===a.XMLNS&&(t._nsMap[n.prefix?n.localName:""]=n.value)}function G(e,t,n,i){e&&e._inc++,n.namespaceURI===a.XMLNS&&delete t._nsMap[n.prefix?n.localName:""]}function X(e,t,n){if(e&&e._inc){e._inc++;var i=t.childNodes;if(n)i[i.length++]=n;else{for(var r=t.firstChild,a=0;r;)i[a++]=r,r=r.nextSibling;i.length=a,delete i[i.length]}}}function $(e,t){var n=t.previousSibling,i=t.nextSibling;return n?n.nextSibling=i:e.firstChild=i,i?i.previousSibling=n:e.lastChild=n,t.parentNode=null,t.previousSibling=null,t.nextSibling=null,X(e.ownerDocument,e),t}function q(e){return e&&(e.nodeType===B.DOCUMENT_NODE||e.nodeType===B.DOCUMENT_FRAGMENT_NODE||e.nodeType===B.ELEMENT_NODE)}function Y(e){return e&&(Z(e)||J(e)||K(e)||e.nodeType===B.DOCUMENT_FRAGMENT_NODE||e.nodeType===B.COMMENT_NODE||e.nodeType===B.PROCESSING_INSTRUCTION_NODE)}function K(e){return e&&e.nodeType===B.DOCUMENT_TYPE_NODE}function Z(e){return e&&e.nodeType===B.ELEMENT_NODE}function J(e){return e&&e.nodeType===B.TEXT_NODE}function Q(e,t){var n=e.childNodes||[];if(r(n,Z)||K(t))return!1;var i=r(n,K);return!(t&&i&&n.indexOf(i)>n.indexOf(t))}function ee(e,t){var n=e.childNodes||[];function i(e){return Z(e)&&e!==t}if(r(n,i))return!1;var a=r(n,K);return!(t&&a&&n.indexOf(a)>n.indexOf(t))}function te(e,t,n){if(!q(e))throw new F(S,"Unexpected parent node type "+e.nodeType);if(n&&n.parentNode!==e)throw new F(C,"child not in parent");if( +// 4. If `node` is not a DocumentFragment, DocumentType, Element, or CharacterData node, then throw a "HierarchyRequestError" DOMException. +!Y(t)||// 5. If either `node` is a Text node and `parent` is a document, +// the sax parser currently adds top level text nodes, this will be fixed in 0.9.0 +// || (node.nodeType === Node.TEXT_NODE && parent.nodeType === Node.DOCUMENT_NODE) +// or `node` is a doctype and `parent` is not a document, then throw a "HierarchyRequestError" DOMException. +K(t)&&e.nodeType!==B.DOCUMENT_NODE)throw new F(S,"Unexpected node type "+t.nodeType+" for parent node type "+e.nodeType)}function ne(e,t,n){var i=e.childNodes||[],a=t.childNodes||[];if(t.nodeType===B.DOCUMENT_FRAGMENT_NODE){var s=a.filter(Z);if(s.length>1||r(a,J))throw new F(S,"More than one element or text in fragment");if(1===s.length&&!Q(e,n))throw new F(S,"Element in fragment can not be inserted before doctype")}if(Z(t)&&!Q(e,n))throw new F(S,"Only one element can be added and only after doctype");if(K(t)){if(r(i,K))throw new F(S,"Only one doctype is allowed");var o=r(i,Z);if(n&&i.indexOf(o)<i.indexOf(n))throw new F(S,"Doctype can only be inserted before an element");if(!n&&o)throw new F(S,"Doctype can not be appended since element is present")}}function ie(e,t,n){var i=e.childNodes||[],a=t.childNodes||[];if(t.nodeType===B.DOCUMENT_FRAGMENT_NODE){var s=a.filter(Z);if(s.length>1||r(a,J))throw new F(S,"More than one element or text in fragment");if(1===s.length&&!ee(e,n))throw new F(S,"Element in fragment can not be inserted before doctype")}if(Z(t)&&!ee(e,n))throw new F(S,"Only one element can be added and only after doctype");if(K(t)){if(r(i,(function(e){return K(e)&&e!==n})))throw new F(S,"Only one doctype is allowed");var o=r(i,Z);if(n&&i.indexOf(o)<i.indexOf(n))throw new F(S,"Doctype can only be inserted before an element")}}function re(e,t,n,i){te(e,t,n),e.nodeType===B.DOCUMENT_NODE&&(i||ne)(e,t,n);var r=t.parentNode;if(r&&r.removeChild(t),t.nodeType===D){var a=t.firstChild;if(null==a)return t;var s=t.lastChild}else a=s=t;var o=n?n.previousSibling:e.lastChild;a.previousSibling=o,s.nextSibling=n,o?o.nextSibling=a:e.firstChild=a,null==n?e.lastChild=s:n.previousSibling=s;do{a.parentNode=e}while(a!==s&&(a=a.nextSibling));return X(e.ownerDocument||e,e),t.nodeType==D&&(t.firstChild=t.lastChild=null),t}function ae(e,t){return t.parentNode&&t.parentNode.removeChild(t),t.parentNode=e,t.previousSibling=e.lastChild,t.nextSibling=null,t.previousSibling?t.previousSibling.nextSibling=t:e.firstChild=t,e.lastChild=t,X(e.ownerDocument,e,t),t}function se(){this._nsMap={}}function oe(){}function ce(){}function le(){}function he(){}function de(){}function ue(){}function fe(){}function pe(){}function ge(){}function me(){}function be(){}function ve(){}function ye(e,t){var n=[],i=9==this.nodeType&&this.documentElement||this,r=i.prefix,a=i.namespaceURI;if(a&&null==r&&null==(r=i.lookupPrefix(a)))var s=[{namespace:a,prefix:null}];return _e(this,n,e,t,s),n.join("")}function we(e,t,n){var i=e.prefix||"",r=e.namespaceURI;if(!r)return!1;if("xml"===i&&r===a.XML||r===a.XMLNS)return!1;for(var s=n.length;s--;){var o=n[s];if(o.prefix===i)return o.namespace!==r}return!0}function xe(e,t,n){e.push(" ",t,'="',n.replace(/[<>&"\t\n\r]/g,j),'"')}function _e(e,t,n,i,r){if(r||(r=[]),i){if(!(e=i(e)))return;if("string"==typeof e)return void t.push(e)}switch(e.nodeType){case p:var s=e.attributes,o=s.length,c=e.firstChild,l=e.tagName,h=l;if(!(n=a.isHTML(e.namespaceURI)||n)&&!e.prefix&&e.namespaceURI){for(var d,u=0;u<s.length;u++)if("xmlns"===s.item(u).name){d=s.item(u).value;break}if(!d)for(var f=r.length-1;f>=0;f--)if(""===(y=r[f]).prefix&&y.namespace===e.namespaceURI){d=y.namespace;break}if(d!==e.namespaceURI)for(f=r.length-1;f>=0;f--){var y;if((y=r[f]).namespace===e.namespaceURI){y.prefix&&(h=y.prefix+":"+l);break}}}t.push("<",h);for(var A=0;A<o;A++)"xmlns"==(E=s.item(A)).prefix?r.push({prefix:E.localName,namespace:E.value}):"xmlns"==E.nodeName&&r.push({prefix:"",namespace:E.value});for(A=0;A<o;A++){var E,k,S;we(E=s.item(A),n,r)&&(xe(t,(k=E.prefix||"")?"xmlns:"+k:"xmlns",S=E.namespaceURI),r.push({prefix:k,namespace:S})),_e(E,t,n,i,r)}if(l===h&&we(e,n,r)&&(xe(t,(k=e.prefix||"")?"xmlns:"+k:"xmlns",S=e.namespaceURI),r.push({prefix:k,namespace:S})),c||n&&!/^(?:meta|link|img|br|hr|input)$/i.test(l)){if(t.push(">"),n&&/^script$/i.test(l))for(;c;)c.data?t.push(c.data):_e(c,t,n,i,r.slice()),c=c.nextSibling;else for(;c;)_e(c,t,n,i,r.slice()),c=c.nextSibling;t.push("</",h,">")}else t.push("/>");return;case _:case D:for(c=e.firstChild;c;)_e(c,t,n,i,r.slice()),c=c.nextSibling;return;case g:return xe(t,e.name,e.value);case m:return t.push(e.data.replace(/[<&>]/g,j));case b:return t.push("<![CDATA[",e.data,"]]>");case x:return t.push("\x3c!--",e.data,"--\x3e");case T:var C=e.publicId,U=e.systemId;if(t.push("<!DOCTYPE ",e.name),C)t.push(" PUBLIC ",C),U&&"."!=U&&t.push(" ",U),t.push(">");else if(U&&"."!=U)t.push(" SYSTEM ",U,">");else{var F=e.internalSubset;F&&t.push(" [",F,"]"),t.push(">")}return;case w:return t.push("<?",e.target," ",e.data,"?>");case v:return t.push("&",e.nodeName,";"); +//case ENTITY_NODE: +//case NOTATION_NODE: +default:t.push("??",e.nodeName)}}function Te(e,t,n){var i;switch(t.nodeType){case p:(i=t.cloneNode(!1)).ownerDocument=e; +//var attrs = node2.attributes; +//var len = attrs.length; +//for(var i=0;i<len;i++){ +//node2.setAttributeNodeNS(importNode(doc,attrs.item(i),deep)); +//} +case D:break;case g:n=!0}if(i||(i=t.cloneNode(!1)),i.ownerDocument=e,i.parentNode=null,n)for(var r=t.firstChild;r;)i.appendChild(Te(e,r,n)),r=r.nextSibling;return i}function De(e,t,n){var i=new t.constructor;for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var a=t[r];"object"!=typeof a&&a!=i[r]&&(i[r]=a)}switch(t.childNodes&&(i.childNodes=new M),i.ownerDocument=e,i.nodeType){case p:var s=t.attributes,o=i.attributes=new O,c=s.length;o._ownerElement=i;for(var l=0;l<c;l++)i.setAttributeNode(De(e,s.item(l),!0));break;case g:n=!0}if(n)for(var h=t.firstChild;h;)i.appendChild(De(e,h,n)),h=h.nextSibling;return i}function Ae(e,t,n){e[t]=n}E.INVALID_STATE_ERR=(k[11]="Invalid state",11),E.SYNTAX_ERR=(k[12]="Syntax error",12),E.INVALID_MODIFICATION_ERR=(k[13]="Invalid modification",13),E.NAMESPACE_ERR=(k[14]="Invalid namespace",14),E.INVALID_ACCESS_ERR=(k[15]="Invalid access",15),F.prototype=Error.prototype,d(E,F),M.prototype={ +/** + * The number of nodes in the list. The range of valid child node indices is 0 to length-1 inclusive. + * @standard level1 + */ +length:0, +/** + * Returns the indexth item in the collection. If index is greater than or equal to the number of nodes in the list, this returns null. + * @standard level1 + * @param index unsigned long + * Index into the collection. + * @return Node + * The node at the indexth position in the NodeList, or null if that is not a valid index. + */ +item:function(e){return this[e]||null},toString:function(e,t){for(var n=[],i=0;i<this.length;i++)_e(this[i],n,e,t);return n.join("")}, +/** + * @private + * @param {function (Node):boolean} predicate + * @returns {Node[]} + */ +filter:function(e){return Array.prototype.filter.call(this,e)}, +/** + * @private + * @param {Node} item + * @returns {number} + */ +indexOf:function(e){return Array.prototype.indexOf.call(this,e)}},R.prototype.item=function(e){return I(this),this[e]},u(R,M),O.prototype={length:0,item:M.prototype.item,getNamedItem:function(e){for(var t=this.length;t--;){var n=this[t];if(n.nodeName==e)return n}},setNamedItem:function(e){var t=e.ownerElement;if(t&&t!=this._ownerElement)throw new F(U);var n=this.getNamedItem(e.nodeName);return P(this._ownerElement,this,e,n),n}, +/* returns Node */ +setNamedItemNS:function(e){var t,n=e.ownerElement;if(n&&n!=this._ownerElement)throw new F(U);return t=this.getNamedItemNS(e.namespaceURI,e.localName),P(this._ownerElement,this,e,t),t}, +/* returns Node */ +removeNamedItem:function(e){var t=this.getNamedItem(e);return L(this._ownerElement,this,t),t}, +// raises: NOT_FOUND_ERR,NO_MODIFICATION_ALLOWED_ERR +//for level2 +removeNamedItemNS:function(e,t){var n=this.getNamedItemNS(e,t);return L(this._ownerElement,this,n),n},getNamedItemNS:function(e,t){for(var n=this.length;n--;){var i=this[n];if(i.localName==t&&i.namespaceURI==e)return i}return null}},W.prototype={ +/** + * The DOMImplementation.hasFeature() method returns a Boolean flag indicating if a given feature is supported. + * The different implementations fairly diverged in what kind of features were reported. + * The latest version of the spec settled to force this method to always return true, where the functionality was accurate and in use. + * + * @deprecated It is deprecated and modern browsers return true in all cases. + * + * @param {string} feature + * @param {string} [version] + * @returns {boolean} always true + * + * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation/hasFeature MDN + * @see https://www.w3.org/TR/REC-DOM-Level-1/level-one-core.html#ID-5CED94D7 DOM Level 1 Core + * @see https://dom.spec.whatwg.org/#dom-domimplementation-hasfeature DOM Living Standard + */ +hasFeature:function(e,t){return!0}, +/** + * Creates an XML Document object of the specified type with its document element. + * + * __It behaves slightly different from the description in the living standard__: + * - There is no interface/class `XMLDocument`, it returns a `Document` instance. + * - `contentType`, `encoding`, `mode`, `origin`, `url` fields are currently not declared. + * - this implementation is not validating names or qualified names + * (when parsing XML strings, the SAX parser takes care of that) + * + * @param {string|null} namespaceURI + * @param {string} qualifiedName + * @param {DocumentType=null} doctype + * @returns {Document} + * + * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation/createDocument MDN + * @see https://www.w3.org/TR/DOM-Level-2-Core/core.html#Level-2-Core-DOM-createDocument DOM Level 2 Core (initial) + * @see https://dom.spec.whatwg.org/#dom-domimplementation-createdocument DOM Level 2 Core + * + * @see https://dom.spec.whatwg.org/#validate-and-extract DOM: Validate and extract + * @see https://www.w3.org/TR/xml/#NT-NameStartChar XML Spec: Names + * @see https://www.w3.org/TR/xml-names/#ns-qualnames XML Namespaces: Qualified names + */ +createDocument:function(e,t,n){var i=new H;if(i.implementation=this,i.childNodes=new M,i.doctype=n||null,n&&i.appendChild(n),t){var r=i.createElementNS(e,t);i.appendChild(r)}return i}, +/** + * Returns a doctype, with the given `qualifiedName`, `publicId`, and `systemId`. + * + * __This behavior is slightly different from the in the specs__: + * - this implementation is not validating names or qualified names + * (when parsing XML strings, the SAX parser takes care of that) + * + * @param {string} qualifiedName + * @param {string} [publicId] + * @param {string} [systemId] + * @returns {DocumentType} which can either be used with `DOMImplementation.createDocument` upon document creation + * or can be put into the document via methods like `Node.insertBefore()` or `Node.replaceChild()` + * + * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation/createDocumentType MDN + * @see https://www.w3.org/TR/DOM-Level-2-Core/core.html#Level-2-Core-DOM-createDocType DOM Level 2 Core + * @see https://dom.spec.whatwg.org/#dom-domimplementation-createdocumenttype DOM Living Standard + * + * @see https://dom.spec.whatwg.org/#validate-and-extract DOM: Validate and extract + * @see https://www.w3.org/TR/xml/#NT-NameStartChar XML Spec: Names + * @see https://www.w3.org/TR/xml-names/#ns-qualnames XML Namespaces: Qualified names + */ +createDocumentType:function(e,t,n){var i=new ue;return i.name=e,i.nodeName=e,i.publicId=t||"",i.systemId=n||"",i}},B.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null, +// Modified in DOM Level 2: +insertBefore:function(e,t){return re(this,e,t)},replaceChild:function(e,t){re(this,e,t,ie),t&&this.removeChild(t)},removeChild:function(e){return $(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return null!=this.firstChild},cloneNode:function(e){return De(this.ownerDocument||this,this,e)}, +// Modified in DOM Level 2: +normalize:function(){for(var e=this.firstChild;e;){var t=e.nextSibling;t&&t.nodeType==m&&e.nodeType==m?(this.removeChild(t),e.appendData(t.data)):(e.normalize(),e=t)}}, +// Introduced in DOM Level 2: +isSupported:function(e,t){return this.ownerDocument.implementation.hasFeature(e,t)}, +// Introduced in DOM Level 2: +hasAttributes:function(){return this.attributes.length>0}, +/** + * Look up the prefix associated to the given namespace URI, starting from this node. + * **The default namespace declarations are ignored by this method.** + * See Namespace Prefix Lookup for details on the algorithm used by this method. + * + * _Note: The implementation seems to be incomplete when compared to the algorithm described in the specs._ + * + * @param {string | null} namespaceURI + * @returns {string | null} + * @see https://www.w3.org/TR/DOM-Level-3-Core/core.html#Node3-lookupNamespacePrefix + * @see https://www.w3.org/TR/DOM-Level-3-Core/namespaces-algorithms.html#lookupNamespacePrefixAlgo + * @see https://dom.spec.whatwg.org/#dom-node-lookupprefix + * @see https://github.com/xmldom/xmldom/issues/322 + */ +lookupPrefix:function(e){for(var t=this;t;){var n=t._nsMap;if(n)for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)&&n[i]===e)return i;t=t.nodeType==g?t.ownerDocument:t.parentNode}return null}, +// Introduced in DOM Level 3: +lookupNamespaceURI:function(e){for(var t=this;t;){var n=t._nsMap;if(n&&Object.prototype.hasOwnProperty.call(n,e))return n[e];t=t.nodeType==g?t.ownerDocument:t.parentNode}return null}, +// Introduced in DOM Level 3: +isDefaultNamespace:function(e){return null==this.lookupPrefix(e)}},d(f,B),d(f,B.prototype),H.prototype={ +//implementation : null, +nodeName:"#document",nodeType:_, +/** + * The DocumentType node of the document. + * + * @readonly + * @type DocumentType + */ +doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType==D){for(var n=e.firstChild;n;){var i=n.nextSibling;this.insertBefore(n,t),n=i}return e}return re(this,e,t),e.ownerDocument=this,null===this.documentElement&&e.nodeType===p&&(this.documentElement=e),e},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),$(this,e)},replaceChild:function(e,t){re(this,e,t,ie),e.ownerDocument=this,t&&this.removeChild(t),Z(e)&&(this.documentElement=e)}, +// Introduced in DOM Level 2: +importNode:function(e,t){return Te(this,e,t)}, +// Introduced in DOM Level 2: +getElementById:function(e){var t=null;return z(this.documentElement,(function(n){if(n.nodeType==p&&n.getAttribute("id")==e)return t=n,!0})),t}, +/** + * The `getElementsByClassName` method of `Document` interface returns an array-like object + * of all child elements which have **all** of the given class name(s). + * + * Returns an empty list if `classeNames` is an empty string or only contains HTML white space characters. + * + * + * Warning: This is a live LiveNodeList. + * Changes in the DOM will reflect in the array as the changes occur. + * If an element selected by this array no longer qualifies for the selector, + * it will automatically be removed. Be aware of this for iteration purposes. + * + * @param {string} classNames is a string representing the class name(s) to match; multiple class names are separated by (ASCII-)whitespace + * + * @see https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementsByClassName + * @see https://dom.spec.whatwg.org/#concept-getelementsbyclassname + */ +getElementsByClassName:function(e){var t=l(e);return new R(this,(function(n){var i=[];return t.length>0&&z(n.documentElement,(function(r){if(r!==n&&r.nodeType===p){var a=r.getAttribute("class");if(a){var s=e===a;if(!s){var o=l(a);s=t.every(h(o))}s&&i.push(r)}}})),i}))}, +//document factory method: +createElement:function(e){var t=new se;return t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.localName=e,t.childNodes=new M,(t.attributes=new O)._ownerElement=t,t},createDocumentFragment:function(){var e=new me;return e.ownerDocument=this,e.childNodes=new M,e},createTextNode:function(e){var t=new le;return t.ownerDocument=this,t.appendData(e),t},createComment:function(e){var t=new he;return t.ownerDocument=this,t.appendData(e),t},createCDATASection:function(e){var t=new de;return t.ownerDocument=this,t.appendData(e),t},createProcessingInstruction:function(e,t){var n=new be;return n.ownerDocument=this,n.tagName=n.target=e,n.nodeValue=n.data=t,n},createAttribute:function(e){var t=new oe;return t.ownerDocument=this,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){var t=new ge;return t.ownerDocument=this,t.nodeName=e,t}, +// Introduced in DOM Level 2: +createElementNS:function(e,t){var n=new se,i=t.split(":"),r=n.attributes=new O;return n.childNodes=new M,n.ownerDocument=this,n.nodeName=t,n.tagName=t,n.namespaceURI=e,2==i.length?(n.prefix=i[0],n.localName=i[1]):n.localName=t,r._ownerElement=n,n}, +// Introduced in DOM Level 2: +createAttributeNS:function(e,t){var n=new oe,i=t.split(":");return n.ownerDocument=this,n.nodeName=t,n.name=t,n.namespaceURI=e,n.specified=!0,2==i.length?(n.prefix=i[0],n.localName=i[1]):n.localName=t,n}},u(H,B),se.prototype={nodeType:p,hasAttribute:function(e){return null!=this.getAttributeNode(e)},getAttribute:function(e){var t=this.getAttributeNode(e);return t&&t.value||""},getAttributeNode:function(e){return this.attributes.getNamedItem(e)},setAttribute:function(e,t){var n=this.ownerDocument.createAttribute(e);n.value=n.nodeValue=""+t,this.setAttributeNode(n)},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)}, +//four real opeartion method +appendChild:function(e){return e.nodeType===D?this.insertBefore(e,null):ae(this,e)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)}, +//get real attribute name,and remove it by removeAttributeNode +removeAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);n&&this.removeAttributeNode(n)},hasAttributeNS:function(e,t){return null!=this.getAttributeNodeNS(e,t)},getAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);return n&&n.value||""},setAttributeNS:function(e,t,n){var i=this.ownerDocument.createAttributeNS(e,t);i.value=i.nodeValue=""+n,this.setAttributeNode(i)},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByTagName:function(e){return new R(this,(function(t){var n=[];return z(t,(function(i){i===t||i.nodeType!=p||"*"!==e&&i.tagName!=e||n.push(i)})),n}))},getElementsByTagNameNS:function(e,t){return new R(this,(function(n){var i=[];return z(n,(function(r){r===n||r.nodeType!==p||"*"!==e&&r.namespaceURI!==e||"*"!==t&&r.localName!=t||i.push(r)})),i}))}},H.prototype.getElementsByTagName=se.prototype.getElementsByTagName,H.prototype.getElementsByTagNameNS=se.prototype.getElementsByTagNameNS,u(se,B),oe.prototype.nodeType=g,u(oe,B),ce.prototype={data:"",substringData:function(e,t){return this.data.substring(e,e+t)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length},insertData:function(e,t){this.replaceData(e,0,t)},appendChild:function(e){throw new Error(k[S])},deleteData:function(e,t){this.replaceData(e,t,"")},replaceData:function(e,t,n){n=this.data.substring(0,e)+n+this.data.substring(e+t),this.nodeValue=this.data=n,this.length=n.length}},u(ce,B),le.prototype={nodeName:"#text",nodeType:m,splitText:function(e){var t=this.data,n=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var i=this.ownerDocument.createTextNode(n);return this.parentNode&&this.parentNode.insertBefore(i,this.nextSibling),i}},u(le,ce),he.prototype={nodeName:"#comment",nodeType:x},u(he,ce),de.prototype={nodeName:"#cdata-section",nodeType:b},u(de,ce),ue.prototype.nodeType=T,u(ue,B),fe.prototype.nodeType=A,u(fe,B),pe.prototype.nodeType=y,u(pe,B),ge.prototype.nodeType=v,u(ge,B),me.prototype.nodeName="#document-fragment",me.prototype.nodeType=D,u(me,B),be.prototype.nodeType=w,u(be,B),ve.prototype.serializeToString=function(e,t,n){return ye.call(e,t,n)},B.prototype.toString=ye;try{if(Object.defineProperty){let e=function(t){switch(t.nodeType){case p:case D:var n=[];for(t=t.firstChild;t;)7!==t.nodeType&&8!==t.nodeType&&n.push(e(t)),t=t.nextSibling;return n.join("");default:return t.nodeValue}};Object.defineProperty(R.prototype,"length",{get:function(){return I(this),this.$$length}}),Object.defineProperty(B.prototype,"textContent",{get:function(){return e(this)},set:function(e){switch(this.nodeType){case p:case D:for(;this.firstChild;)this.removeChild(this.firstChild);(e||String(e))&&this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=e,this.nodeValue=e}}}),Ae=function(e,t,n){e["$$"+t]=n}}}catch(Ee){}n.DocumentType=ue,n.DOMException=F,n.DOMImplementation=W,n.Element=se,n.Node=B,n.NodeList=M,n.XMLSerializer=ve},{"./conventions":41}],44:[function(e,t,n){var i=e("./conventions").freeze;n.XML_ENTITIES=i({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),n.HTML_ENTITIES=i({lt:"<",gt:">",amp:"&",quot:'"',apos:"'",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",times:"×",divide:"÷",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"",zwj:"",lrm:"",rlm:"",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",euro:"€",trade:"™",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"}),n.entityMap=n.HTML_ENTITIES},{"./conventions":41}],45:[function(e,t,n){var i=e("./dom");n.DOMImplementation=i.DOMImplementation,n.XMLSerializer=i.XMLSerializer,n.DOMParser=e("./dom-parser").DOMParser},{"./dom":43,"./dom-parser":42}],46:[function(e,t,n){var i=e("./conventions").NAMESPACE,r=/[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]/,a=new RegExp("[\\-\\.0-9"+r.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),s=new RegExp("^"+r.source+a.source+"*(?::"+r.source+a.source+"*)?$"),o=0,c=1,l=2,h=3,d=4,u=5,f=6,p=7;function g(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,g)}function m(){}function b(e,t,n,r,a){function s(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}function o(e){var t=e.slice(1,-1);return Object.hasOwnProperty.call(n,t)?n[t]:"#"===t.charAt(0)?s(parseInt(t.substr(1).replace("x","0x"))):(a.error("entity not found:"+e),e)}function c(t){if(t>b){var n=e.substring(b,t).replace(/&#?\w+;/g,o);f&&l(b),r.characters(n,0,t-b),b=t}}function l(t,n){for(;t>=d&&(n=u.exec(e));)h=n.index,d=h+n[0].length,f.lineNumber++;f.columnNumber=t-h+1}for(var h=0,d=0,u=/.*(?:\r\n?|\n)|.*$/g,f=r.locator,p=[{currentNSMap:t}],m={},b=0;;){try{var T=e.indexOf("<",b);if(T<0){if(!e.substr(b).match(/^\s*$/)){var k=r.doc,S=k.createTextNode(e.substr(b));k.appendChild(S),r.currentElement=S}return}switch(T>b&&c(T),e.charAt(T+1)){case"/":var C=e.indexOf(">",T+3),U=e.substring(T+2,C).replace(/[ \t\n\r]+$/g,""),F=p.pop();C<0?(U=e.substring(T+2).replace(/[\s<].*/,""),a.error("end tag name: "+U+" is not complete:"+F.tagName),C=T+1+U.length):U.match(/\s</)&&(U=U.replace(/[\s<].*/,""),a.error("end tag name: "+U+" maybe not complete"),C=T+1+U.length);var M=F.localNSMap,R=F.tagName==U;if(R||F.tagName&&F.tagName.toLowerCase()==U.toLowerCase()){if(r.endElement(F.uri,F.localName,U),M)for(var I in M)Object.prototype.hasOwnProperty.call(M,I)&&r.endPrefixMapping(I);R||a.fatalError("end tag name: "+U+" is not match the current start tagName:"+F.tagName)}else p.push(F);C++;break; +// end elment +case"?":f&&l(T),C=A(e,T,r);break;case"!":f&&l(T),C=D(e,T,r,a);break;default:f&&l(T);var O=new E,N=p[p.length-1].currentNSMap,P=(C=y(e,T,O,N,o,a),O.length);if(!O.closed&&_(e,C,O.tagName,m)&&(O.closed=!0,n.nbsp||a.warning("unclosed xml attribute")),f&&P){for(var L=v(f,{}),W=0;W<P;W++){var B=O[W];l(B.offset),B.locator=v(f,{})}r.locator=L,w(O,r,N)&&p.push(O),r.locator=f}else w(O,r,N)&&p.push(O);i.isHTML(O.uri)&&!O.closed?C=x(e,C,O.tagName,o,r):C++}}catch(j){if(j instanceof g)throw j;a.error("element parse error: "+j),C=-1}C>b?b=C:c(Math.max(T,b)+1)}}function v(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function y(e,t,n,r,a,s){function g(e,t,i){n.attributeNames.hasOwnProperty(e)&&s.fatalError("Attribute "+e+" redefined"),n.addValue(e, +// @see https://www.w3.org/TR/xml/#AVNormalize +// since the xmldom sax parser does not "interpret" DTD the following is not implemented: +// - recursive replacement of (DTD) entity references +// - trimming and collapsing multiple spaces into a single one for attributes that are not of type CDATA +t.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,a),i)}for(var m,b=++t,v=o;;){var y=e.charAt(b);switch(y){case"=":if(v===c)m=e.slice(t,b),v=h;else{if(v!==l)throw new Error("attribute equal must after attrName");v=h}break;case"'":case'"':if(v===h||v===c){if(v===c&&(s.warning('attribute value must after "="'),m=e.slice(t,b)),t=b+1,!((b=e.indexOf(y,t))>0))throw new Error("attribute value no end '"+y+"' match");g(m,w=e.slice(t,b),t-1),v=u}else{if(v!=d)throw new Error('attribute value must after "="');g(m,w=e.slice(t,b),t),s.warning('attribute "'+m+'" missed start quot('+y+")!!"),t=b+1,v=u}break;case"/":switch(v){case o:n.setTagName(e.slice(t,b));case u:case f:case p:v=p,n.closed=!0;case d:case c:case l:break; +//case S_EQ: +default:throw new Error("attribute invalid close char('/')")}break;case"":return s.error("unexpected end of input"),v==o&&n.setTagName(e.slice(t,b)),b;case">":switch(v){case o:n.setTagName(e.slice(t,b));case u:case f:case p:break; +//normal +case d: +//Compatible state +case c:"/"===(w=e.slice(t,b)).slice(-1)&&(n.closed=!0,w=w.slice(0,-1));case l:v===l&&(w=m),v==d?(s.warning('attribute "'+w+'" missed quot(")!'),g(m,w,t)):(i.isHTML(r[""])&&w.match(/^(?:disabled|checked|selected)$/i)||s.warning('attribute "'+w+'" missed value!! "'+w+'" instead!!'),g(w,w,t));break;case h:throw new Error("attribute value missed!!")}return b; +/*xml space '\x20' | #x9 | #xD | #xA; */case"":y=" ";default:if(y<=" ")switch(v){case o:n.setTagName(e.slice(t,b)),v=f;break;case c:m=e.slice(t,b),v=l;break;case d:var w=e.slice(t,b);s.warning('attribute "'+w+'" missed quot(")!!'),g(m,w,t);case u:v=f}else switch(v){ +//case S_TAG:void();break; +//case S_ATTR:void();break; +//case S_ATTR_NOQUOT_VALUE:void();break; +case l:n.tagName,i.isHTML(r[""])&&m.match(/^(?:disabled|checked|selected)$/i)||s.warning('attribute "'+m+'" missed value!! "'+m+'" instead2!!'),g(m,m,t),t=b,v=c;break;case u:s.warning('attribute space is required"'+m+'"!!');case f:v=c,t=b;break;case h:v=d,t=b;break;case p:throw new Error("elements closed character '/' and '>' must be connected to")}}b++}}function w(e,t,n){for(var r=e.tagName,a=null,s=e.length;s--;){var o=e[s],c=o.qName,l=o.value;if((f=c.indexOf(":"))>0)var h=o.prefix=c.slice(0,f),d=c.slice(f+1),u="xmlns"===h&&d;else d=c,h=null,u="xmlns"===c&&"";o.localName=d,!1!==u&&(null==a&&(a={},T(n,n={})),n[u]=a[u]=l,o.uri=i.XMLNS,t.startPrefixMapping(u,l))}for(s=e.length;s--;)(h=(o=e[s]).prefix)&&("xml"===h&&(o.uri=i.XML),"xmlns"!==h&&(o.uri=n[h||""]));var f;(f=r.indexOf(":"))>0?(h=e.prefix=r.slice(0,f),d=e.localName=r.slice(f+1)):(h=null,d=e.localName=r);var p=e.uri=n[h||""];if(t.startElement(p,d,r,e),!e.closed)return e.currentNSMap=n,e.localNSMap=a,!0;if(t.endElement(p,d,r),a)for(h in a)Object.prototype.hasOwnProperty.call(a,h)&&t.endPrefixMapping(h)}function x(e,t,n,i,r){if(/^(?:script|textarea)$/i.test(n)){var a=e.indexOf("</"+n+">",t),s=e.substring(t+1,a);if(/[&<]/.test(s))return/^script$/i.test(n)?(r.characters(s,0,s.length),a):(s=s.replace(/&#?\w+;/g,i),r.characters(s,0,s.length),a)}return t+1}function _(e,t,n,i){var r=i[n];return null==r&&((r=e.lastIndexOf("</"+n+">"))<t&&(r=e.lastIndexOf("</"+n)),i[n]=r),r<t}function T(e,t){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}function D(e,t,n,i){if("-"===e.charAt(t+2))return"-"===e.charAt(t+3)?(r=e.indexOf("--\x3e",t+4))>t?(n.comment(e,t+4,r-t-4),r+3):(i.error("Unclosed comment"),-1):-1;if("CDATA["==e.substr(t+3,6)){var r=e.indexOf("]]>",t+9);return n.startCDATA(),n.characters(e,t+9,r-t-9),n.endCDATA(),r+3}var a=k(e,t),s=a.length;if(s>1&&/!doctype/i.test(a[0][0])){var o=a[1][0],c=!1,l=!1;s>3&&(/^public$/i.test(a[2][0])?(c=a[3][0],l=s>4&&a[4][0]):/^system$/i.test(a[2][0])&&(l=a[3][0]));var h=a[s-1];return n.startDTD(o,c,l),n.endDTD(),h.index+h[0].length}return-1}function A(e,t,n){var i=e.indexOf("?>",t);if(i){var r=e.substring(t,i).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);return r?(r[0].length,n.processingInstruction(r[1],r[2]),i+2):-1}return-1}function E(){this.attributeNames={}}function k(e,t){var n,i=[],r=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(r.lastIndex=t,r.exec(e);n=r.exec(e);)if(i.push(n),n[1])return i}g.prototype=new Error,g.prototype.name=g.name,m.prototype={parse:function(e,t,n){var i=this.domBuilder;i.startDocument(),T(t,t={}),b(e,t,n,i,this.errorHandler),i.endDocument()}},E.prototype={setTagName:function(e){if(!s.test(e))throw new Error("invalid tagName:"+e);this.tagName=e},addValue:function(e,t,n){if(!s.test(e))throw new Error("invalid attribute:"+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:t,offset:n}},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} +// ,getIndex:function(uri, localName)){ +// if(localName){ + +// }else{ +// var qName = uri +// } +// }, +// getValue:function(){return this.getValue(this.getIndex.apply(this,arguments))}, +// getType:function(uri,localName){} +// getType:function(i){}, +},n.XMLReader=m,n.ParseError=g},{"./conventions":41}],47:[function(e,t,n){n.byteLength=h,n.toByteArray=u,n.fromByteArray=g;for(var i=[],r=[],a="undefined"!=typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,c=s.length;o<c;++o)i[o]=s[o],r[s.charCodeAt(o)]=o;function l(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function h(e){var t=l(e),n=t[0],i=t[1];return 3*(n+i)/4-i}function d(e,t,n){return 3*(t+n)/4-n}function u(e){var t,n,i=l(e),s=i[0],o=i[1],c=new a(d(e,s,o)),h=0,u=o>0?s-4:s;for(n=0;n<u;n+=4)t=r[e.charCodeAt(n)]<<18|r[e.charCodeAt(n+1)]<<12|r[e.charCodeAt(n+2)]<<6|r[e.charCodeAt(n+3)],c[h++]=t>>16&255,c[h++]=t>>8&255,c[h++]=255&t;return 2===o&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,c[h++]=255&t),1===o&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,c[h++]=t>>8&255,c[h++]=255&t),c}function f(e){return i[e>>18&63]+i[e>>12&63]+i[e>>6&63]+i[63&e]}function p(e,t,n){for(var i,r=[],a=t;a<n;a+=3)i=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(255&e[a+2]),r.push(f(i));return r.join("")}function g(e){for(var t,n=e.length,r=n%3,a=[],s=16383,o=0,c=n-r;o<c;o+=s)a.push(p(e,o,o+s>c?c:o+s));return 1===r?(t=e[n-1],a.push(i[t>>2]+i[t<<4&63]+"==")):2===r&&(t=(e[n-2]<<8)+e[n-1],a.push(i[t>>10]+i[t>>4&63]+i[t<<2&63]+"=")),a.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},{}],48:[function(e,t,n){t.exports=function(e){var t=e._SomePromiseArray;function n(e){var n=new t(e),i=n.promise();return n.setHowMany(1),n.setUnwrap(),n.init(),i}e.any=function(e){return n(e)},e.prototype.any=function(){return n(this)}}},{}],49:[function(e,t,n){(function(n){var i;try{throw new Error}catch(d){i=d}var r=e("./schedule"),a=e("./queue"),s=e("./util");function o(){this._customScheduler=!1,this._isTickUsed=!1,this._lateQueue=new a(16),this._normalQueue=new a(16),this._haveDrainedQueues=!1,this._trampolineEnabled=!0;var e=this;this.drainQueues=function(){e._drainQueues()},this._schedule=r}function c(e,t,n){this._lateQueue.push(e,t,n),this._queueTick()}function l(e,t,n){this._normalQueue.push(e,t,n),this._queueTick()}function h(e){this._normalQueue._pushOne(e),this._queueTick()}o.prototype.setScheduler=function(e){var t=this._schedule;return this._schedule=e,this._customScheduler=!0,t},o.prototype.hasCustomScheduler=function(){return this._customScheduler},o.prototype.enableTrampoline=function(){this._trampolineEnabled=!0},o.prototype.disableTrampolineIfNecessary=function(){s.hasDevTools&&(this._trampolineEnabled=!1)},o.prototype.haveItemsQueued=function(){return this._isTickUsed||this._haveDrainedQueues},o.prototype.fatalError=function(e,t){t?(n.stderr.write("Fatal "+(e instanceof Error?e.stack:e)+"\n"),n.exit(2)):this.throwLater(e)},o.prototype.throwLater=function(e,t){if(1===arguments.length&&(t=e,e=function(){throw t}),"undefined"!=typeof setTimeout)setTimeout((function(){e(t)}),0);else try{this._schedule((function(){e(t)}))}catch(d){throw new Error("No async scheduler available\n\n See http://goo.gl/MqrFmX\n")}},s.hasDevTools?(o.prototype.invokeLater=function(e,t,n){this._trampolineEnabled?c.call(this,e,t,n):this._schedule((function(){setTimeout((function(){e.call(t,n)}),100)}))},o.prototype.invoke=function(e,t,n){this._trampolineEnabled?l.call(this,e,t,n):this._schedule((function(){e.call(t,n)}))},o.prototype.settlePromises=function(e){this._trampolineEnabled?h.call(this,e):this._schedule((function(){e._settlePromises()}))}):(o.prototype.invokeLater=c,o.prototype.invoke=l,o.prototype.settlePromises=h),o.prototype._drainQueue=function(e){for(;e.length()>0;){var t=e.shift();if("function"==typeof t){var n=e.shift(),i=e.shift();t.call(n,i)}else t._settlePromises()}},o.prototype._drainQueues=function(){this._drainQueue(this._normalQueue),this._reset(),this._haveDrainedQueues=!0,this._drainQueue(this._lateQueue)},o.prototype._queueTick=function(){this._isTickUsed||(this._isTickUsed=!0,this._schedule(this.drainQueues))},o.prototype._reset=function(){this._isTickUsed=!1},t.exports=o,t.exports.firstLineError=i}).call(this,e("_process"))},{"./queue":72,"./schedule":75,"./util":82,_process:101}],50:[function(e,t,n){t.exports=function(e,t,n,i){var r=!1,a=function(e,t){this._reject(t)},s=function(e,t){t.promiseRejectionQueued=!0,t.bindingPromise._then(a,a,null,this,e)},o=function(e,t){50397184&this._bitField||this._resolveCallback(t.target)},c=function(e,t){t.promiseRejectionQueued||this._reject(e)};e.prototype.bind=function(a){r||(r=!0,e.prototype._propagateFrom=i.propagateFromFunction(),e.prototype._boundValue=i.boundValueFunction());var l=n(a),h=new e(t);h._propagateFrom(this,1);var d=this._target();if(h._setBoundTo(l),l instanceof e){var u={promiseRejectionQueued:!1,promise:h,target:d,bindingPromise:l};d._then(t,s,void 0,h,u),l._then(o,c,void 0,h,u),h._setOnCancel(l)}else h._resolveCallback(d);return h},e.prototype._setBoundTo=function(e){void 0!==e?(this._bitField=2097152|this._bitField,this._boundTo=e):this._bitField=-2097153&this._bitField},e.prototype._isBound=function(){return!(2097152&~this._bitField)},e.bind=function(t,n){return e.resolve(n).bind(t)}}},{}],51:[function(e,t,n){var i=Object.create;if(i){var r=i(null),a=i(null);r[" size"]=a[" size"]=0}t.exports=function(t){var n,i,s=e("./util"),o=s.canEvaluate,c=s.isIdentifier,l=function(e){return new Function("ensureMethod"," \n return function(obj) { \n 'use strict' \n var len = this.length; \n ensureMethod(obj, 'methodName'); \n switch(len) { \n case 1: return obj.methodName(this[0]); \n case 2: return obj.methodName(this[0], this[1]); \n case 3: return obj.methodName(this[0], this[1], this[2]); \n case 0: return obj.methodName(); \n default: \n return obj.methodName.apply(obj, this); \n } \n }; \n ".replace(/methodName/g,e))(u)},h=function(e){return new Function("obj"," \n 'use strict'; \n return obj.propertyName; \n ".replace("propertyName",e))},d=function(e,t,n){var i=n[e];if("function"!=typeof i){if(!c(e))return null;if(i=t(e),n[e]=i,n[" size"]++,n[" size"]>512){for(var r=Object.keys(n),a=0;a<256;++a)delete n[r[a]];n[" size"]=r.length-256}}return i};function u(e,n){var i;if(null!=e&&(i=e[n]),"function"!=typeof i){var r="Object "+s.classString(e)+" has no method '"+s.toString(n)+"'";throw new t.TypeError(r)}return i}function f(e){return u(e,this.pop()).apply(e,this)}function p(e){return e[this]}function g(e){var t=+this;return t<0&&(t=Math.max(0,t+e.length)),e[t]}n=function(e){return d(e,l,r)},i=function(e){return d(e,h,a)},t.prototype.call=function(e){for(var t=arguments.length,i=new Array(Math.max(t-1,0)),r=1;r<t;++r)i[r-1]=arguments[r];if(o){var a=n(e);if(null!==a)return this._then(a,void 0,void 0,i,void 0)}return i.push(e),this._then(f,void 0,void 0,i,void 0)},t.prototype.get=function(e){var t;if("number"==typeof e)t=g;else if(o){var n=i(e);t=null!==n?n:p}else t=p;return this._then(t,void 0,void 0,e,void 0)}}},{"./util":82}],52:[function(e,t,n){t.exports=function(t,n,i,r){var a=e("./util"),s=a.tryCatch,o=a.errorObj,c=t._async;t.prototype.break=t.prototype.cancel=function(){if(!r.cancellation())return this._warn("cancellation is disabled");for(var e=this,t=e;e._isCancellable();){if(!e._cancelBy(t)){t._isFollowing()?t._followee().cancel():t._cancelBranched();break}var n=e._cancellationParent;if(null==n||!n._isCancellable()){e._isFollowing()?e._followee().cancel():e._cancelBranched();break}e._isFollowing()&&e._followee().cancel(),e._setWillBeCancelled(),t=e,e=n}},t.prototype._branchHasCancelled=function(){this._branchesRemainingToCancel--},t.prototype._enoughBranchesHaveCancelled=function(){return void 0===this._branchesRemainingToCancel||this._branchesRemainingToCancel<=0},t.prototype._cancelBy=function(e){return e===this?(this._branchesRemainingToCancel=0,this._invokeOnCancel(),!0):(this._branchHasCancelled(),!!this._enoughBranchesHaveCancelled()&&(this._invokeOnCancel(),!0))},t.prototype._cancelBranched=function(){this._enoughBranchesHaveCancelled()&&this._cancel()},t.prototype._cancel=function(){this._isCancellable()&&(this._setCancelled(),c.invoke(this._cancelPromises,this,void 0))},t.prototype._cancelPromises=function(){this._length()>0&&this._settlePromises()},t.prototype._unsetOnCancel=function(){this._onCancelField=void 0},t.prototype._isCancellable=function(){return this.isPending()&&!this._isCancelled()},t.prototype.isCancellable=function(){return this.isPending()&&!this.isCancelled()},t.prototype._doInvokeOnCancel=function(e,t){if(a.isArray(e))for(var n=0;n<e.length;++n)this._doInvokeOnCancel(e[n],t);else if(void 0!==e)if("function"==typeof e){if(!t){var i=s(e).call(this._boundValue());i===o&&(this._attachExtraTrace(i.e),c.throwLater(i.e))}}else e._resultCancelled(this)},t.prototype._invokeOnCancel=function(){var e=this._onCancel();this._unsetOnCancel(),c.invoke(this._doInvokeOnCancel,this,e)},t.prototype._invokeInternalOnCancel=function(){this._isCancellable()&&(this._doInvokeOnCancel(this._onCancel(),!0),this._unsetOnCancel())},t.prototype._resultCancelled=function(){this.cancel()}}},{"./util":82}],53:[function(e,t,n){t.exports=function(t){var n=e("./util"),i=e("./es5").keys,r=n.tryCatch,a=n.errorObj;function s(e,s,o){return function(c){var l=o._boundValue();e:for(var h=0;h<e.length;++h){var d=e[h];if(d===Error||null!=d&&d.prototype instanceof Error){if(c instanceof d)return r(s).call(l,c)}else if("function"==typeof d){var u=r(d).call(l,c);if(u===a)return u;if(u)return r(s).call(l,c)}else if(n.isObject(c)){for(var f=i(d),p=0;p<f.length;++p){var g=f[p];if(d[g]!=c[g])continue e}return r(s).call(l,c)}}return t}}return s}},{"./es5":59,"./util":82}],54:[function(e,t,n){t.exports=function(e){var t=!1,n=[];function i(){this._trace=new i.CapturedTrace(a())}function r(){if(t)return new i}function a(){var e=n.length-1;if(e>=0)return n[e]}return e.prototype._promiseCreated=function(){},e.prototype._pushContext=function(){},e.prototype._popContext=function(){return null},e._peekContext=e.prototype._peekContext=function(){},i.prototype._pushContext=function(){void 0!==this._trace&&(this._trace._promiseCreated=null,n.push(this._trace))},i.prototype._popContext=function(){if(void 0!==this._trace){var e=n.pop(),t=e._promiseCreated;return e._promiseCreated=null,t}return null},i.CapturedTrace=null,i.create=r,i.deactivateLongStackTraces=function(){},i.activateLongStackTraces=function(){var n=e.prototype._pushContext,r=e.prototype._popContext,s=e._peekContext,o=e.prototype._peekContext,c=e.prototype._promiseCreated;i.deactivateLongStackTraces=function(){e.prototype._pushContext=n,e.prototype._popContext=r,e._peekContext=s,e.prototype._peekContext=o,e.prototype._promiseCreated=c,t=!1},t=!0,e.prototype._pushContext=i.prototype._pushContext,e.prototype._popContext=i.prototype._popContext,e._peekContext=e.prototype._peekContext=a,e.prototype._promiseCreated=function(){var e=this._peekContext();e&&null==e._promiseCreated&&(e._promiseCreated=this)}},i}},{}],55:[function(e,t,n){(function(n){t.exports=function(t,i){var r,a,s,o=t._getDomain,c=t._async,l=e("./errors").Warning,h=e("./util"),d=h.canAttachTrace,u=/[\\\/]bluebird[\\\/]js[\\\/](release|debug|instrumented)/,f=/\((?:timers\.js):\d+:\d+\)/,p=/[\/<\(](.+?):(\d+):(\d+)\)?\s*$/,g=null,m=null,b=!1,v=!(0==h.env("BLUEBIRD_DEBUG")||!h.env("BLUEBIRD_DEBUG")&&"development"!==h.env("NODE_ENV")),y=!(0==h.env("BLUEBIRD_WARNINGS")||!v&&!h.env("BLUEBIRD_WARNINGS")),w=!(0==h.env("BLUEBIRD_LONG_STACK_TRACES")||!v&&!h.env("BLUEBIRD_LONG_STACK_TRACES")),x=0!=h.env("BLUEBIRD_W_FORGOTTEN_RETURN")&&(y||!!h.env("BLUEBIRD_W_FORGOTTEN_RETURN"));t.prototype.suppressUnhandledRejections=function(){var e=this._target();e._bitField=-1048577&e._bitField|524288},t.prototype._ensurePossibleRejectionHandled=function(){524288&this._bitField||(this._setRejectionIsUnhandled(),c.invokeLater(this._notifyUnhandledRejection,this,void 0))},t.prototype._notifyUnhandledRejectionIsHandled=function(){K("rejectionHandled",r,void 0,this)},t.prototype._setReturnedNonUndefined=function(){this._bitField=268435456|this._bitField},t.prototype._returnedNonUndefined=function(){return!!(268435456&this._bitField)},t.prototype._notifyUnhandledRejection=function(){if(this._isRejectionUnhandled()){var e=this._settledValue();this._setUnhandledRejectionIsNotified(),K("unhandledRejection",a,e,this)}},t.prototype._setUnhandledRejectionIsNotified=function(){this._bitField=262144|this._bitField},t.prototype._unsetUnhandledRejectionIsNotified=function(){this._bitField=-262145&this._bitField},t.prototype._isUnhandledRejectionNotified=function(){return(262144&this._bitField)>0},t.prototype._setRejectionIsUnhandled=function(){this._bitField=1048576|this._bitField},t.prototype._unsetRejectionIsUnhandled=function(){this._bitField=-1048577&this._bitField,this._isUnhandledRejectionNotified()&&(this._unsetUnhandledRejectionIsNotified(),this._notifyUnhandledRejectionIsHandled())},t.prototype._isRejectionUnhandled=function(){return(1048576&this._bitField)>0},t.prototype._warn=function(e,t,n){return z(e,t,n||this)},t.onPossiblyUnhandledRejection=function(e){var t=o();a="function"==typeof e?null===t?e:h.domainBind(t,e):void 0},t.onUnhandledRejectionHandled=function(e){var t=o();r="function"==typeof e?null===t?e:h.domainBind(t,e):void 0};var _=function(){};t.longStackTraces=function(){if(c.haveItemsQueued()&&!se.longStackTraces)throw new Error("cannot enable long stack traces after promises have been created\n\n See http://goo.gl/MqrFmX\n");if(!se.longStackTraces&&Q()){var e=t.prototype._captureStackTrace,n=t.prototype._attachExtraTrace;se.longStackTraces=!0,_=function(){if(c.haveItemsQueued()&&!se.longStackTraces)throw new Error("cannot enable long stack traces after promises have been created\n\n See http://goo.gl/MqrFmX\n");t.prototype._captureStackTrace=e,t.prototype._attachExtraTrace=n,i.deactivateLongStackTraces(),c.enableTrampoline(),se.longStackTraces=!1},t.prototype._captureStackTrace=L,t.prototype._attachExtraTrace=W,i.activateLongStackTraces(),c.disableTrampolineIfNecessary()}},t.hasLongStackTraces=function(){return se.longStackTraces&&Q()};var T=function(){try{if("function"==typeof CustomEvent){var e=new CustomEvent("CustomEvent");return h.global.dispatchEvent(e),function(e,t){var n=new CustomEvent(e.toLowerCase(),{detail:t,cancelable:!0});return!h.global.dispatchEvent(n)}}return"function"==typeof Event?(e=new Event("CustomEvent"),h.global.dispatchEvent(e),function(e,t){var n=new Event(e.toLowerCase(),{cancelable:!0});return n.detail=t,!h.global.dispatchEvent(n)}):((e=document.createEvent("CustomEvent")).initCustomEvent("testingtheevent",!1,!0,{}),h.global.dispatchEvent(e),function(e,t){var n=document.createEvent("CustomEvent");return n.initCustomEvent(e.toLowerCase(),!1,!0,t),!h.global.dispatchEvent(n)})}catch(t){}return function(){return!1}}(),D=h.isNode?function(){return n.emit.apply(n,arguments)}:h.global?function(e){var t="on"+e.toLowerCase(),n=h.global[t];return!!n&&(n.apply(h.global,[].slice.call(arguments,1)),!0)}:function(){return!1};function A(e,t){return{promise:t}}var E={promiseCreated:A,promiseFulfilled:A,promiseRejected:A,promiseResolved:A,promiseCancelled:A,promiseChained:function(e,t,n){return{promise:t,child:n}},warning:function(e,t){return{warning:t}},unhandledRejection:function(e,t,n){return{reason:t,promise:n}},rejectionHandled:A},k=function(e){var t=!1;try{t=D.apply(null,arguments)}catch(i){c.throwLater(i),t=!0}var n=!1;try{n=T(e,E[e].apply(null,arguments))}catch(i){c.throwLater(i),n=!0}return n||t};function S(){return!1}function C(e,t,n){var i=this;try{e(t,n,(function(e){if("function"!=typeof e)throw new TypeError("onCancel must be a function, got: "+h.toString(e));i._attachCancellationCallback(e)}))}catch(r){return r}}function U(e){if(!this._isCancellable())return this;var t=this._onCancel();void 0!==t?h.isArray(t)?t.push(e):this._setOnCancel([t,e]):this._setOnCancel(e)}function F(){return this._onCancelField}function M(e){this._onCancelField=e}function R(){this._cancellationParent=void 0,this._onCancelField=void 0}function I(e,t){if(1&t){this._cancellationParent=e;var n=e._branchesRemainingToCancel;void 0===n&&(n=0),e._branchesRemainingToCancel=n+1}2&t&&e._isBound()&&this._setBoundTo(e._boundTo)}function O(e,t){2&t&&e._isBound()&&this._setBoundTo(e._boundTo)}t.config=function(e){if("longStackTraces"in(e=Object(e))&&(e.longStackTraces?t.longStackTraces():!e.longStackTraces&&t.hasLongStackTraces()&&_()),"warnings"in e){var n=e.warnings;se.warnings=!!n,x=se.warnings,h.isObject(n)&&"wForgottenReturn"in n&&(x=!!n.wForgottenReturn)}if("cancellation"in e&&e.cancellation&&!se.cancellation){if(c.haveItemsQueued())throw new Error("cannot enable cancellation after promises are in use");t.prototype._clearCancellationData=R,t.prototype._propagateFrom=I,t.prototype._onCancel=F,t.prototype._setOnCancel=M,t.prototype._attachCancellationCallback=U,t.prototype._execute=C,N=I,se.cancellation=!0}return"monitoring"in e&&(e.monitoring&&!se.monitoring?(se.monitoring=!0,t.prototype._fireEvent=k):!e.monitoring&&se.monitoring&&(se.monitoring=!1,t.prototype._fireEvent=S)),t},t.prototype._fireEvent=S,t.prototype._execute=function(e,t,n){try{e(t,n)}catch(i){return i}},t.prototype._onCancel=function(){},t.prototype._setOnCancel=function(e){},t.prototype._attachCancellationCallback=function(e){},t.prototype._captureStackTrace=function(){},t.prototype._attachExtraTrace=function(){},t.prototype._clearCancellationData=function(){},t.prototype._propagateFrom=function(e,t){};var N=O;function P(){var e=this._boundTo;return void 0!==e&&e instanceof t?e.isFulfilled()?e.value():void 0:e}function L(){this._trace=new re(this._peekContext())}function W(e,t){if(d(e)){var n=this._trace;if(void 0!==n&&t&&(n=n._parent),void 0!==n)n.attachExtraTrace(e);else if(!e.__stackCleaned__){var i=q(e);h.notEnumerableProp(e,"stack",i.message+"\n"+i.stack.join("\n")),h.notEnumerableProp(e,"__stackCleaned__",!0)}}}function B(e,t,n,i,r){if(void 0===e&&null!==t&&x){if(void 0!==r&&r._returnedNonUndefined())return;if(!(65535&i._bitField))return;n&&(n+=" ");var a="",s="";if(t._trace){for(var o=t._trace.stack.split("\n"),c=X(o),l=c.length-1;l>=0;--l){var h=c[l];if(!f.test(h)){var d=h.match(p);d&&(a="at "+d[1]+":"+d[2]+":"+d[3]+" ");break}}if(c.length>0){var u=c[0];for(l=0;l<o.length;++l)if(o[l]===u){l>0&&(s="\n"+o[l-1]);break}}}var g="a promise was created in a "+n+"handler "+a+"but was not returned from it, see http://goo.gl/rRqMUw"+s;i._warn(g,!0,t)}}function j(e,t){var n=e+" is deprecated and will be removed in a future version.";return t&&(n+=" Use "+t+" instead."),z(n)}function z(e,n,i){if(se.warnings){var r,a=new l(e);if(n)i._attachExtraTrace(a);else if(se.longStackTraces&&(r=t._peekContext()))r.attachExtraTrace(a);else{var s=q(a);a.stack=s.message+"\n"+s.stack.join("\n")}k("warning",a)||Y(a,"",!0)}}function H(e,t){for(var n=0;n<t.length-1;++n)t[n].push("From previous event:"),t[n]=t[n].join("\n");return n<t.length&&(t[n]=t[n].join("\n")),e+"\n"+t.join("\n")}function V(e){for(var t=0;t<e.length;++t)(0===e[t].length||t+1<e.length&&e[t][0]===e[t+1][0])&&(e.splice(t,1),t--)}function G(e){for(var t=e[0],n=1;n<e.length;++n){for(var i=e[n],r=t.length-1,a=t[r],s=-1,o=i.length-1;o>=0;--o)if(i[o]===a){s=o;break}for(o=s;o>=0;--o){var c=i[o];if(t[r]!==c)break;t.pop(),r--}t=i}}function X(e){for(var t=[],n=0;n<e.length;++n){var i=e[n],r=" (No stack trace)"===i||g.test(i),a=r&&ee(i);r&&!a&&(b&&" "!==i.charAt(0)&&(i=" "+i),t.push(i))}return t}function $(e){for(var t=e.stack.replace(/\s+$/g,"").split("\n"),n=0;n<t.length;++n){var i=t[n];if(" (No stack trace)"===i||g.test(i))break}return n>0&&"SyntaxError"!=e.name&&(t=t.slice(n)),t}function q(e){var t=e.stack,n=e.toString();return t="string"==typeof t&&t.length>0?$(e):[" (No stack trace)"],{message:n,stack:"SyntaxError"==e.name?t:X(t)}}function Y(e,t,n){if("undefined"!=typeof console){var i;if(h.isObject(e)){var r=e.stack;i=t+m(r,e)}else i=t+String(e);"function"==typeof s?s(i,n):"function"==typeof console.log||console.log}}function K(e,t,n,i){var r=!1;try{"function"==typeof t&&(r=!0,"rejectionHandled"===e?t(i):t(n,i))}catch(a){c.throwLater(a)}"unhandledRejection"===e?k(e,n,i)||r||Y(n,"Unhandled rejection "):k(e,i)}function Z(e){var t;if("function"==typeof e)t="[function "+(e.name||"anonymous")+"]";else{if(t=e&&"function"==typeof e.toString?e.toString():h.toString(e),/\[object [a-zA-Z0-9$_]+\]/.test(t))try{t=JSON.stringify(e)}catch(n){}0===t.length&&(t="(empty array)")}return"(<"+J(t)+">, no stack trace)"}function J(e){var t=41;return e.length<t?e:e.substr(0,t-3)+"..."}function Q(){return"function"==typeof ae}var ee=function(){return!1},te=/[\/<\(]([^:\/]+):(\d+):(?:\d+)\)?\s*$/;function ne(e){var t=e.match(te);if(t)return{fileName:t[1],line:parseInt(t[2],10)}}function ie(e,t){if(Q()){for(var n,i,r=e.stack.split("\n"),a=t.stack.split("\n"),s=-1,o=-1,c=0;c<r.length;++c)if(l=ne(r[c])){n=l.fileName,s=l.line;break}for(c=0;c<a.length;++c){var l;if(l=ne(a[c])){i=l.fileName,o=l.line;break}}s<0||o<0||!n||!i||n!==i||s>=o||(ee=function(e){if(u.test(e))return!0;var t=ne(e);return!!(t&&t.fileName===n&&s<=t.line&&t.line<=o)})}}function re(e){this._parent=e,this._promisesCreated=0;var t=this._length=1+(void 0===e?0:e._length);ae(this,re),t>32&&this.uncycle()}h.inherits(re,Error),i.CapturedTrace=re,re.prototype.uncycle=function(){var e=this._length;if(!(e<2)){for(var t=[],n={},i=0,r=this;void 0!==r;++i)t.push(r),r=r._parent;for(i=(e=this._length=i)-1;i>=0;--i){var a=t[i].stack;void 0===n[a]&&(n[a]=i)}for(i=0;i<e;++i){var s=n[t[i].stack];if(void 0!==s&&s!==i){s>0&&(t[s-1]._parent=void 0,t[s-1]._length=1),t[i]._parent=void 0,t[i]._length=1;var o=i>0?t[i-1]:this;s<e-1?(o._parent=t[s+1],o._parent.uncycle(),o._length=o._parent._length+1):(o._parent=void 0,o._length=1);for(var c=o._length+1,l=i-2;l>=0;--l)t[l]._length=c,c++;return}}}},re.prototype.attachExtraTrace=function(e){if(!e.__stackCleaned__){this.uncycle();for(var t=q(e),n=t.message,i=[t.stack],r=this;void 0!==r;)i.push(X(r.stack.split("\n"))),r=r._parent;G(i),V(i),h.notEnumerableProp(e,"stack",H(n,i)),h.notEnumerableProp(e,"__stackCleaned__",!0)}};var ae=function(){var e=/^\s*at\s*/,t=function(e,t){return"string"==typeof e?e:void 0!==t.name&&void 0!==t.message?t.toString():Z(t)};if("number"==typeof Error.stackTraceLimit&&"function"==typeof Error.captureStackTrace){Error.stackTraceLimit+=6,g=e,m=t;var n=Error.captureStackTrace;return ee=function(e){return u.test(e)},function(e,t){Error.stackTraceLimit+=6,n(e,t),Error.stackTraceLimit-=6}}var i,r=new Error;if("string"==typeof r.stack&&r.stack.split("\n")[0].indexOf("stackDetection@")>=0)return g=/@/,m=t,b=!0,function(e){e.stack=(new Error).stack};try{throw new Error}catch(a){i="stack"in a}return!("stack"in r)&&i&&"number"==typeof Error.stackTraceLimit?(g=e,m=t,function(e){Error.stackTraceLimit+=6;try{throw new Error}catch(a){e.stack=a.stack}Error.stackTraceLimit-=6}):(m=function(e,t){return"string"==typeof e?e:"object"!=typeof t&&"function"!=typeof t||void 0===t.name||void 0===t.message?Z(t):t.toString()},null)}();"undefined"!=typeof console&&void 0!==console.warn&&(s=function(e){},h.isNode&&n.stderr.isTTY?s=function(e,t){}:h.isNode||"string"!=typeof(new Error).stack||(s=function(e,t){}));var se={warnings:y,longStackTraces:!1,cancellation:!1,monitoring:!1};return w&&t.longStackTraces(),{longStackTraces:function(){return se.longStackTraces},warnings:function(){return se.warnings},cancellation:function(){return se.cancellation},monitoring:function(){return se.monitoring},propagateFromFunction:function(){return N},boundValueFunction:function(){return P},checkForgottenReturns:B,setBounds:ie,warn:z,deprecated:j,CapturedTrace:re,fireDomEvent:T,fireGlobalEvent:D}}}).call(this,e("_process"))},{"./errors":58,"./util":82,_process:101}],56:[function(e,t,n){t.exports=function(e){function t(){return this.value}function n(){throw this.reason}e.prototype.return=e.prototype.thenReturn=function(n){return n instanceof e&&n.suppressUnhandledRejections(),this._then(t,void 0,void 0,{value:n},void 0)},e.prototype.throw=e.prototype.thenThrow=function(e){return this._then(n,void 0,void 0,{reason:e},void 0)},e.prototype.catchThrow=function(e){if(arguments.length<=1)return this._then(void 0,n,void 0,{reason:e},void 0);var t=arguments[1],i=function(){throw t};return this.caught(e,i)},e.prototype.catchReturn=function(n){if(arguments.length<=1)return n instanceof e&&n.suppressUnhandledRejections(),this._then(void 0,t,void 0,{value:n},void 0);var i=arguments[1];i instanceof e&&i.suppressUnhandledRejections();var r=function(){return i};return this.caught(n,r)}}},{}],57:[function(e,t,n){t.exports=function(e,t){var n=e.reduce,i=e.all;function r(){return i(this)}function a(e,i){return n(e,i,t,t)}e.prototype.each=function(e){return n(this,e,t,0)._then(r,void 0,void 0,this,void 0)},e.prototype.mapSeries=function(e){return n(this,e,t,t)},e.each=function(e,i){return n(e,i,t,0)._then(r,void 0,void 0,e,void 0)},e.mapSeries=a}},{}],58:[function(e,t,n){var i,r,a=e("./es5"),s=a.freeze,o=e("./util"),c=o.inherits,l=o.notEnumerableProp;function h(e,t){function n(i){if(!(this instanceof n))return new n(i);l(this,"message","string"==typeof i?i:t),l(this,"name",e),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):Error.call(this)}return c(n,Error),n}var d=h("Warning","warning"),u=h("CancellationError","cancellation error"),f=h("TimeoutError","timeout error"),p=h("AggregateError","aggregate error");try{i=TypeError,r=RangeError}catch(w){i=h("TypeError","type error"),r=h("RangeError","range error")}for(var g="join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse".split(" "),m=0;m<g.length;++m)"function"==typeof Array.prototype[g[m]]&&(p.prototype[g[m]]=Array.prototype[g[m]]);a.defineProperty(p.prototype,"length",{value:0,configurable:!1,writable:!0,enumerable:!0}),p.prototype.isOperational=!0;var b=0;function v(e){if(!(this instanceof v))return new v(e);l(this,"name","OperationalError"),l(this,"message",e),this.cause=e,this.isOperational=!0,e instanceof Error?(l(this,"message",e.message),l(this,"stack",e.stack)):Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}p.prototype.toString=function(){var e=Array(4*b+1).join(" "),t="\n"+e+"AggregateError of:\n";b++,e=Array(4*b+1).join(" ");for(var n=0;n<this.length;++n){for(var i=this[n]===this?"[Circular AggregateError]":this[n]+"",r=i.split("\n"),a=0;a<r.length;++a)r[a]=e+r[a];t+=(i=r.join("\n"))+"\n"}return b--,t},c(v,Error);var y=Error.__BluebirdErrorTypes__;y||(y=s({CancellationError:u,TimeoutError:f,OperationalError:v,RejectionError:v,AggregateError:p}),a.defineProperty(Error,"__BluebirdErrorTypes__",{value:y,writable:!1,enumerable:!1,configurable:!1})),t.exports={Error:Error,TypeError:i,RangeError:r,CancellationError:y.CancellationError,OperationalError:y.OperationalError,TimeoutError:y.TimeoutError,AggregateError:y.AggregateError,Warning:d}},{"./es5":59,"./util":82}],59:[function(e,t,n){var i=function(){return void 0===this}();if(i)t.exports={freeze:Object.freeze,defineProperty:Object.defineProperty,getDescriptor:Object.getOwnPropertyDescriptor,keys:Object.keys,names:Object.getOwnPropertyNames,getPrototypeOf:Object.getPrototypeOf,isArray:Array.isArray,isES5:i,propertyIsWritable:function(e,t){var n=Object.getOwnPropertyDescriptor(e,t);return!(n&&!n.writable&&!n.set)}};else{var r={}.hasOwnProperty,a={}.toString,s={}.constructor.prototype,o=function(e){var t=[];for(var n in e)r.call(e,n)&&t.push(n);return t},c=function(e,t){return{value:e[t]}},l=function(e,t,n){return e[t]=n.value,e},h=function(e){return e},d=function(e){try{return Object(e).constructor.prototype}catch(t){return s}},u=function(e){try{return"[object Array]"===a.call(e)}catch(t){return!1}};t.exports={isArray:u,keys:o,names:o,defineProperty:l,getDescriptor:c,freeze:h,getPrototypeOf:d,isES5:i,propertyIsWritable:function(){return!0}}}},{}],60:[function(e,t,n){t.exports=function(e,t){var n=e.map;e.prototype.filter=function(e,i){return n(this,e,i,t)},e.filter=function(e,i,r){return n(e,i,r,t)}}},{}],61:[function(e,t,n){t.exports=function(t,n){var i=e("./util"),r=t.CancellationError,a=i.errorObj;function s(e,t,n){this.promise=e,this.type=t,this.handler=n,this.called=!1,this.cancelPromise=null}function o(e){this.finallyHandler=e}function c(e,t){return null!=e.cancelPromise&&(arguments.length>1?e.cancelPromise._reject(t):e.cancelPromise._cancel(),e.cancelPromise=null,!0)}function l(){return d.call(this,this.promise._target()._settledValue())}function h(e){if(!c(this,e))return a.e=e,a}function d(e){var i=this.promise,s=this.handler;if(!this.called){this.called=!0;var d=this.isFinallyHandler()?s.call(i._boundValue()):s.call(i._boundValue(),e);if(void 0!==d){i._setReturnedNonUndefined();var u=n(d,i);if(u instanceof t){if(null!=this.cancelPromise){if(u._isCancelled()){var f=new r("late cancellation observer");return i._attachExtraTrace(f),a.e=f,a}u.isPending()&&u._attachCancellationCallback(new o(this))}return u._then(l,h,void 0,this,void 0)}}}return i.isRejected()?(c(this),a.e=e,a):(c(this),e)}return s.prototype.isFinallyHandler=function(){return 0===this.type},o.prototype._resultCancelled=function(){c(this.finallyHandler)},t.prototype._passThrough=function(e,t,n,i){return"function"!=typeof e?this.then():this._then(n,i,void 0,new s(this,t,e),void 0)},t.prototype.lastly=t.prototype.finally=function(e){return this._passThrough(e,0,d,d)},t.prototype.tap=function(e){return this._passThrough(e,1,d)},s}},{"./util":82}],62:[function(e,t,n){t.exports=function(t,n,i,r,a,s){var o=e("./errors").TypeError,c=e("./util"),l=c.errorObj,h=c.tryCatch,d=[];function u(e,n,i){for(var a=0;a<n.length;++a){i._pushContext();var s=h(n[a])(e);if(i._popContext(),s===l){i._pushContext();var o=t.reject(l.e);return i._popContext(),o}var c=r(s,i);if(c instanceof t)return c}return null}function f(e,n,r,a){if(s.cancellation()){var o=new t(i),c=this._finallyPromise=new t(i);this._promise=o.lastly((function(){return c})),o._captureStackTrace(),o._setOnCancel(this)}else(this._promise=new t(i))._captureStackTrace();this._stack=a,this._generatorFunction=e,this._receiver=n,this._generator=void 0,this._yieldHandlers="function"==typeof r?[r].concat(d):d,this._yieldedPromise=null,this._cancellationPhase=!1}c.inherits(f,a),f.prototype._isResolved=function(){return null===this._promise},f.prototype._cleanup=function(){this._promise=this._generator=null,s.cancellation()&&null!==this._finallyPromise&&(this._finallyPromise._fulfill(),this._finallyPromise=null)},f.prototype._promiseCancelled=function(){if(!this._isResolved()){var e;if(void 0!==this._generator.return)this._promise._pushContext(),e=h(this._generator.return).call(this._generator,void 0),this._promise._popContext();else{var n=new t.CancellationError("generator .return() sentinel");t.coroutine.returnSentinel=n,this._promise._attachExtraTrace(n),this._promise._pushContext(),e=h(this._generator.throw).call(this._generator,n),this._promise._popContext()}this._cancellationPhase=!0,this._yieldedPromise=null,this._continue(e)}},f.prototype._promiseFulfilled=function(e){this._yieldedPromise=null,this._promise._pushContext();var t=h(this._generator.next).call(this._generator,e);this._promise._popContext(),this._continue(t)},f.prototype._promiseRejected=function(e){this._yieldedPromise=null,this._promise._attachExtraTrace(e),this._promise._pushContext();var t=h(this._generator.throw).call(this._generator,e);this._promise._popContext(),this._continue(t)},f.prototype._resultCancelled=function(){if(this._yieldedPromise instanceof t){var e=this._yieldedPromise;this._yieldedPromise=null,e.cancel()}},f.prototype.promise=function(){return this._promise},f.prototype._run=function(){this._generator=this._generatorFunction.call(this._receiver),this._receiver=this._generatorFunction=void 0,this._promiseFulfilled(void 0)},f.prototype._continue=function(e){var n=this._promise;if(e===l)return this._cleanup(),this._cancellationPhase?n.cancel():n._rejectCallback(e.e,!1);var i=e.value;if(!0===e.done)return this._cleanup(),this._cancellationPhase?n.cancel():n._resolveCallback(i);var a=r(i,this._promise);if(a instanceof t||null!==(a=u(a,this._yieldHandlers,this._promise))){var s=(a=a._target())._bitField;50397184&s?33554432&s?t._async.invoke(this._promiseFulfilled,this,a._value()):16777216&s?t._async.invoke(this._promiseRejected,this,a._reason()):this._promiseCancelled():(this._yieldedPromise=a,a._proxy(this,null))}else this._promiseRejected(new o("A value %s was yielded that could not be treated as a promise\n\n See http://goo.gl/MqrFmX\n\n".replace("%s",i)+"From coroutine:\n"+this._stack.split("\n").slice(1,-7).join("\n")))},t.coroutine=function(e,t){if("function"!=typeof e)throw new o("generatorFunction must be a function\n\n See http://goo.gl/MqrFmX\n");var n=Object(t).yieldHandler,i=f,r=(new Error).stack;return function(){var t=e.apply(this,arguments),a=new i(void 0,void 0,n,r),s=a.promise();return a._generator=t,a._promiseFulfilled(void 0),s}},t.coroutine.addYieldHandler=function(e){if("function"!=typeof e)throw new o("expecting a function but got "+c.classString(e));d.push(e)},t.spawn=function(e){if(s.deprecated("Promise.spawn()","Promise.coroutine()"),"function"!=typeof e)return n("generatorFunction must be a function\n\n See http://goo.gl/MqrFmX\n");var i=new f(e,this),r=i.promise();return i._run(t.spawn),r}}},{"./errors":58,"./util":82}],63:[function(e,t,n){t.exports=function(t,n,i,r,a,s){var o,c=e("./util"),l=c.canEvaluate,h=c.tryCatch,d=c.errorObj;if(l){for(var u=function(e){return new Function("value","holder"," \n 'use strict'; \n holder.pIndex = value; \n holder.checkFulfillment(this); \n ".replace(/Index/g,e))},f=function(e){return new Function("promise","holder"," \n 'use strict'; \n holder.pIndex = promise; \n ".replace(/Index/g,e))},p=function(e){for(var n=new Array(e),i=0;i<n.length;++i)n[i]="this.p"+(i+1);var r=n.join(" = ")+" = null;",s="var promise;\n"+n.map((function(e){return" \n promise = "+e+"; \n if (promise instanceof Promise) { \n promise.cancel(); \n } \n "})).join("\n"),o=n.join(", "),c="Holder$"+e,l="return function(tryCatch, errorObj, Promise, async) { \n 'use strict'; \n function [TheName](fn) { \n [TheProperties] \n this.fn = fn; \n this.asyncNeeded = true; \n this.now = 0; \n } \n \n [TheName].prototype._callFunction = function(promise) { \n promise._pushContext(); \n var ret = tryCatch(this.fn)([ThePassedArguments]); \n promise._popContext(); \n if (ret === errorObj) { \n promise._rejectCallback(ret.e, false); \n } else { \n promise._resolveCallback(ret); \n } \n }; \n \n [TheName].prototype.checkFulfillment = function(promise) { \n var now = ++this.now; \n if (now === [TheTotal]) { \n if (this.asyncNeeded) { \n async.invoke(this._callFunction, this, promise); \n } else { \n this._callFunction(promise); \n } \n \n } \n }; \n \n [TheName].prototype._resultCancelled = function() { \n [CancellationCode] \n }; \n \n return [TheName]; \n }(tryCatch, errorObj, Promise, async); \n ";return l=l.replace(/\[TheName\]/g,c).replace(/\[TheTotal\]/g,e).replace(/\[ThePassedArguments\]/g,o).replace(/\[TheProperties\]/g,r).replace(/\[CancellationCode\]/g,s),new Function("tryCatch","errorObj","Promise","async",l)(h,d,t,a)},g=[],m=[],b=[],v=0;v<8;++v)g.push(p(v+1)),m.push(u(v+1)),b.push(f(v+1));o=function(e){this._reject(e)}}t.join=function(){var e,a=arguments.length-1;if(a>0&&"function"==typeof arguments[a]&&(e=arguments[a],a<=8&&l)){(_=new t(r))._captureStackTrace();for(var h=new(0,g[a-1])(e),d=m,u=0;u<a;++u){var f=i(arguments[u],_);if(f instanceof t){var p=(f=f._target())._bitField;50397184&p?33554432&p?d[u].call(_,f._value(),h):16777216&p?_._reject(f._reason()):_._cancel():(f._then(d[u],o,void 0,_,h),b[u](f,h),h.asyncNeeded=!1)}else d[u].call(_,f,h)}if(!_._isFateSealed()){if(h.asyncNeeded){var v=s();null!==v&&(h.fn=c.domainBind(v,h.fn))}_._setAsyncGuaranteed(),_._setOnCancel(h)}return _}for(var y=arguments.length,w=new Array(y),x=0;x<y;++x)w[x]=arguments[x];e&&w.pop();var _=new n(w).promise();return void 0!==e?_.spread(e):_}}},{"./util":82}],64:[function(e,t,n){t.exports=function(t,n,i,r,a,s){var o=t._getDomain,c=e("./util"),l=c.tryCatch,h=c.errorObj,d=t._async;function u(e,t,n,i){this.constructor$(e),this._promise._captureStackTrace();var r=o();this._callback=null===r?t:c.domainBind(r,t),this._preservedValues=i===a?new Array(this.length()):null,this._limit=n,this._inFlight=0,this._queue=[],d.invoke(this._asyncInit,this,void 0)}function f(e,n,r,a){if("function"!=typeof n)return i("expecting a function but got "+c.classString(n));var s=0;if(void 0!==r){if("object"!=typeof r||null===r)return t.reject(new TypeError("options argument must be an object but it is "+c.classString(r)));if("number"!=typeof r.concurrency)return t.reject(new TypeError("'concurrency' must be a number but it is "+c.classString(r.concurrency)));s=r.concurrency}return new u(e,n,s="number"==typeof s&&isFinite(s)&&s>=1?s:0,a).promise()}c.inherits(u,n),u.prototype._asyncInit=function(){this._init$(void 0,-2)},u.prototype._init=function(){},u.prototype._promiseFulfilled=function(e,n){var i=this._values,a=this.length(),o=this._preservedValues,c=this._limit;if(n<0){if(i[n=-1*n-1]=e,c>=1&&(this._inFlight--,this._drainQueue(),this._isResolved()))return!0}else{if(c>=1&&this._inFlight>=c)return i[n]=e,this._queue.push(n),!1;null!==o&&(o[n]=e);var d=this._promise,u=this._callback,f=d._boundValue();d._pushContext();var p=l(u).call(f,e,n,a),g=d._popContext();if(s.checkForgottenReturns(p,g,null!==o?"Promise.filter":"Promise.map",d),p===h)return this._reject(p.e),!0;var m=r(p,this._promise);if(m instanceof t){var b=(m=m._target())._bitField;if(!(50397184&b))return c>=1&&this._inFlight++,i[n]=m,m._proxy(this,-1*(n+1)),!1;if(!(33554432&b))return 16777216&b?(this._reject(m._reason()),!0):(this._cancel(),!0);p=m._value()}i[n]=p}return++this._totalResolved>=a&&(null!==o?this._filter(i,o):this._resolve(i),!0)},u.prototype._drainQueue=function(){for(var e=this._queue,t=this._limit,n=this._values;e.length>0&&this._inFlight<t;){if(this._isResolved())return;var i=e.pop();this._promiseFulfilled(n[i],i)}},u.prototype._filter=function(e,t){for(var n=t.length,i=new Array(n),r=0,a=0;a<n;++a)e[a]&&(i[r++]=t[a]);i.length=r,this._resolve(i)},u.prototype.preservedValues=function(){return this._preservedValues},t.prototype.map=function(e,t){return f(this,e,t,null)},t.map=function(e,t,n,i){return f(e,t,n,i)}}},{"./util":82}],65:[function(e,t,n){t.exports=function(t,n,i,r,a){var s=e("./util"),o=s.tryCatch;t.method=function(e){if("function"!=typeof e)throw new t.TypeError("expecting a function but got "+s.classString(e));return function(){var i=new t(n);i._captureStackTrace(),i._pushContext();var r=o(e).apply(this,arguments),s=i._popContext();return a.checkForgottenReturns(r,s,"Promise.method",i),i._resolveFromSyncValue(r),i}},t.attempt=t.try=function(e){if("function"!=typeof e)return r("expecting a function but got "+s.classString(e));var i,c=new t(n);if(c._captureStackTrace(),c._pushContext(),arguments.length>1){a.deprecated("calling Promise.try with more than 1 argument");var l=arguments[1],h=arguments[2];i=s.isArray(l)?o(e).apply(h,l):o(e).call(h,l)}else i=o(e)();var d=c._popContext();return a.checkForgottenReturns(i,d,"Promise.try",c),c._resolveFromSyncValue(i),c},t.prototype._resolveFromSyncValue=function(e){e===s.errorObj?this._rejectCallback(e.e,!1):this._resolveCallback(e,!0)}}},{"./util":82}],66:[function(e,t,n){var i=e("./util"),r=i.maybeWrapAsError,a=e("./errors").OperationalError,s=e("./es5");function o(e){return e instanceof Error&&s.getPrototypeOf(e)===Error.prototype}var c=/^(?:name|message|stack|cause)$/;function l(e){var t;if(o(e)){(t=new a(e)).name=e.name,t.message=e.message,t.stack=e.stack;for(var n=s.keys(e),r=0;r<n.length;++r){var l=n[r];c.test(l)||(t[l]=e[l])}return t}return i.markAsOriginatingFromRejection(e),e}function h(e,t){return function(n,i){if(null!==e){if(n){var a=l(r(n));e._attachExtraTrace(a),e._reject(a)}else if(t){for(var s=arguments.length,o=new Array(Math.max(s-1,0)),c=1;c<s;++c)o[c-1]=arguments[c];e._fulfill(o)}else e._fulfill(i);e=null}}}t.exports=h},{"./errors":58,"./es5":59,"./util":82}],67:[function(e,t,n){t.exports=function(t){var n=e("./util"),i=t._async,r=n.tryCatch,a=n.errorObj;function s(e,t){var s=this;if(!n.isArray(e))return o.call(s,e,t);var c=r(t).apply(s._boundValue(),[null].concat(e));c===a&&i.throwLater(c.e)}function o(e,t){var n=this._boundValue(),s=void 0===e?r(t).call(n,null):r(t).call(n,null,e);s===a&&i.throwLater(s.e)}function c(e,t){var n=this;if(!e){var s=new Error(e+"");s.cause=e,e=s}var o=r(t).call(n._boundValue(),e);o===a&&i.throwLater(o.e)}t.prototype.asCallback=t.prototype.nodeify=function(e,t){if("function"==typeof e){var n=o;void 0!==t&&Object(t).spread&&(n=s),this._then(n,c,void 0,this,e)}return this}}},{"./util":82}],68:[function(e,t,n){(function(n){t.exports=function(){var i=function(){return new p("circular promise resolution chain\n\n See http://goo.gl/MqrFmX\n")},r=function(){return new U.PromiseInspection(this._target())},a=function(e){return U.reject(new p(e))};function s(){}var o,c={},l=e("./util");o=l.isNode?function(){var e=n.domain;return void 0===e&&(e=null),e}:function(){return null},l.notEnumerableProp(U,"_getDomain",o);var h=e("./es5"),d=e("./async"),u=new d;h.defineProperty(U,"_async",{value:u});var f=e("./errors"),p=U.TypeError=f.TypeError;U.RangeError=f.RangeError;var g=U.CancellationError=f.CancellationError;U.TimeoutError=f.TimeoutError,U.OperationalError=f.OperationalError,U.RejectionError=f.OperationalError,U.AggregateError=f.AggregateError;var m=function(){},b={},v={},y=e("./thenables")(U,m),w=e("./promise_array")(U,m,y,a,s),x=e("./context")(U),_=x.create,T=e("./debuggability")(U,x);T.CapturedTrace;var D=e("./finally")(U,y),A=e("./catch_filter")(v),E=e("./nodeback"),k=l.errorObj,S=l.tryCatch;function C(e,t){if("function"!=typeof t)throw new p("expecting a function but got "+l.classString(t));if(e.constructor!==U)throw new p("the promise constructor cannot be invoked directly\n\n See http://goo.gl/MqrFmX\n")}function U(e){this._bitField=0,this._fulfillmentHandler0=void 0,this._rejectionHandler0=void 0,this._promise0=void 0,this._receiver0=void 0,e!==m&&(C(this,e),this._resolveFromExecutor(e)),this._promiseCreated(),this._fireEvent("promiseCreated",this)}function F(e){this.promise._resolveCallback(e)}function M(e){this.promise._rejectCallback(e,!1)}function R(e){var t=new U(m);t._fulfillmentHandler0=e,t._rejectionHandler0=e,t._promise0=e,t._receiver0=e}return U.prototype.toString=function(){return"[object Promise]"},U.prototype.caught=U.prototype.catch=function(e){var t=arguments.length;if(t>1){var n,i=new Array(t-1),r=0;for(n=0;n<t-1;++n){var s=arguments[n];if(!l.isObject(s))return a("expecting an object but got A catch statement predicate "+l.classString(s));i[r++]=s}return i.length=r,e=arguments[n],this.then(void 0,A(i,e,this))}return this.then(void 0,e)},U.prototype.reflect=function(){return this._then(r,r,void 0,this,void 0)},U.prototype.then=function(e,t){if(T.warnings()&&arguments.length>0&&"function"!=typeof e&&"function"!=typeof t){var n=".then() only accepts functions but was passed: "+l.classString(e);arguments.length>1&&(n+=", "+l.classString(t)),this._warn(n)}return this._then(e,t,void 0,void 0,void 0)},U.prototype.done=function(e,t){this._then(e,t,void 0,void 0,void 0)._setIsFinal()},U.prototype.spread=function(e){return"function"!=typeof e?a("expecting a function but got "+l.classString(e)):this.all()._then(e,void 0,void 0,b,void 0)},U.prototype.toJSON=function(){var e={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};return this.isFulfilled()?(e.fulfillmentValue=this.value(),e.isFulfilled=!0):this.isRejected()&&(e.rejectionReason=this.reason(),e.isRejected=!0),e},U.prototype.all=function(){return arguments.length>0&&this._warn(".all() was passed arguments but it does not take any"),new w(this).promise()},U.prototype.error=function(e){return this.caught(l.originatesFromRejection,e)},U.getNewLibraryCopy=t.exports,U.is=function(e){return e instanceof U},U.fromNode=U.fromCallback=function(e){var t=new U(m);t._captureStackTrace();var n=arguments.length>1&&!!Object(arguments[1]).multiArgs,i=S(e)(E(t,n));return i===k&&t._rejectCallback(i.e,!0),t._isFateSealed()||t._setAsyncGuaranteed(),t},U.all=function(e){return new w(e).promise()},U.cast=function(e){var t=y(e);return t instanceof U||((t=new U(m))._captureStackTrace(),t._setFulfilled(),t._rejectionHandler0=e),t},U.resolve=U.fulfilled=U.cast,U.reject=U.rejected=function(e){var t=new U(m);return t._captureStackTrace(),t._rejectCallback(e,!0),t},U.setScheduler=function(e){if("function"!=typeof e)throw new p("expecting a function but got "+l.classString(e));return u.setScheduler(e)},U.prototype._then=function(e,t,n,i,r){var a=void 0!==r,s=a?r:new U(m),c=this._target(),h=c._bitField;a||(s._propagateFrom(this,3),s._captureStackTrace(),void 0===i&&2097152&this._bitField&&(i=50397184&h?this._boundValue():c===this?void 0:this._boundTo),this._fireEvent("promiseChained",this,s));var d=o();if(50397184&h){var f,p,b=c._settlePromiseCtx;33554432&h?(p=c._rejectionHandler0,f=e):16777216&h?(p=c._fulfillmentHandler0,f=t,c._unsetRejectionIsUnhandled()):(b=c._settlePromiseLateCancellationObserver,p=new g("late cancellation observer"),c._attachExtraTrace(p),f=t),u.invoke(b,c,{handler:null===d?f:"function"==typeof f&&l.domainBind(d,f),promise:s,receiver:i,value:p})}else c._addCallbacks(e,t,s,i,d);return s},U.prototype._length=function(){return 65535&this._bitField},U.prototype._isFateSealed=function(){return!!(117506048&this._bitField)},U.prototype._isFollowing=function(){return!(67108864&~this._bitField)},U.prototype._setLength=function(e){this._bitField=-65536&this._bitField|65535&e},U.prototype._setFulfilled=function(){this._bitField=33554432|this._bitField,this._fireEvent("promiseFulfilled",this)},U.prototype._setRejected=function(){this._bitField=16777216|this._bitField,this._fireEvent("promiseRejected",this)},U.prototype._setFollowing=function(){this._bitField=67108864|this._bitField,this._fireEvent("promiseResolved",this)},U.prototype._setIsFinal=function(){this._bitField=4194304|this._bitField},U.prototype._isFinal=function(){return(4194304&this._bitField)>0},U.prototype._unsetCancelled=function(){this._bitField=-65537&this._bitField},U.prototype._setCancelled=function(){this._bitField=65536|this._bitField,this._fireEvent("promiseCancelled",this)},U.prototype._setWillBeCancelled=function(){this._bitField=8388608|this._bitField},U.prototype._setAsyncGuaranteed=function(){u.hasCustomScheduler()||(this._bitField=134217728|this._bitField)},U.prototype._receiverAt=function(e){var t=0===e?this._receiver0:this[4*e-4+3];if(t!==c)return void 0===t&&this._isBound()?this._boundValue():t},U.prototype._promiseAt=function(e){return this[4*e-4+2]},U.prototype._fulfillmentHandlerAt=function(e){return this[4*e-4+0]},U.prototype._rejectionHandlerAt=function(e){return this[4*e-4+1]},U.prototype._boundValue=function(){},U.prototype._migrateCallback0=function(e){e._bitField;var t=e._fulfillmentHandler0,n=e._rejectionHandler0,i=e._promise0,r=e._receiverAt(0);void 0===r&&(r=c),this._addCallbacks(t,n,i,r,null)},U.prototype._migrateCallbackAt=function(e,t){var n=e._fulfillmentHandlerAt(t),i=e._rejectionHandlerAt(t),r=e._promiseAt(t),a=e._receiverAt(t);void 0===a&&(a=c),this._addCallbacks(n,i,r,a,null)},U.prototype._addCallbacks=function(e,t,n,i,r){var a=this._length();if(a>=65531&&(a=0,this._setLength(0)),0===a)this._promise0=n,this._receiver0=i,"function"==typeof e&&(this._fulfillmentHandler0=null===r?e:l.domainBind(r,e)),"function"==typeof t&&(this._rejectionHandler0=null===r?t:l.domainBind(r,t));else{var s=4*a-4;this[s+2]=n,this[s+3]=i,"function"==typeof e&&(this[s+0]=null===r?e:l.domainBind(r,e)),"function"==typeof t&&(this[s+1]=null===r?t:l.domainBind(r,t))}return this._setLength(a+1),a},U.prototype._proxy=function(e,t){this._addCallbacks(void 0,void 0,t,e,null)},U.prototype._resolveCallback=function(e,t){if(!(117506048&this._bitField)){if(e===this)return this._rejectCallback(i(),!1);var n=y(e,this);if(!(n instanceof U))return this._fulfill(e);t&&this._propagateFrom(n,2);var r=n._target();if(r!==this){var a=r._bitField;if(50397184&a)if(33554432&a)this._fulfill(r._value());else if(16777216&a)this._reject(r._reason());else{var s=new g("late cancellation observer");r._attachExtraTrace(s),this._reject(s)}else{var o=this._length();o>0&&r._migrateCallback0(this);for(var c=1;c<o;++c)r._migrateCallbackAt(this,c);this._setFollowing(),this._setLength(0),this._setFollowee(r)}}else this._reject(i())}},U.prototype._rejectCallback=function(e,t,n){var i=l.ensureErrorObject(e),r=i===e;if(!r&&!n&&T.warnings()){var a="a promise was rejected with a non-error: "+l.classString(e);this._warn(a,!0)}this._attachExtraTrace(i,!!t&&r),this._reject(e)},U.prototype._resolveFromExecutor=function(e){var t=this;this._captureStackTrace(),this._pushContext();var n=!0,i=this._execute(e,(function(e){t._resolveCallback(e)}),(function(e){t._rejectCallback(e,n)}));n=!1,this._popContext(),void 0!==i&&t._rejectCallback(i,!0)},U.prototype._settlePromiseFromHandler=function(e,t,n,i){var r=i._bitField;if(!(65536&r)){var a;i._pushContext(),t===b?n&&"number"==typeof n.length?a=S(e).apply(this._boundValue(),n):(a=k).e=new p("cannot .spread() a non-array: "+l.classString(n)):a=S(e).call(t,n);var s=i._popContext();65536&(r=i._bitField)||(a===v?i._reject(n):a===k?i._rejectCallback(a.e,!1):(T.checkForgottenReturns(a,s,"",i,this),i._resolveCallback(a)))}},U.prototype._target=function(){for(var e=this;e._isFollowing();)e=e._followee();return e},U.prototype._followee=function(){return this._rejectionHandler0},U.prototype._setFollowee=function(e){this._rejectionHandler0=e},U.prototype._settlePromise=function(e,t,n,i){var a=e instanceof U,o=this._bitField,c=!!(134217728&o);65536&o?(a&&e._invokeInternalOnCancel(),n instanceof D&&n.isFinallyHandler()?(n.cancelPromise=e,S(t).call(n,i)===k&&e._reject(k.e)):t===r?e._fulfill(r.call(n)):n instanceof s?n._promiseCancelled(e):a||e instanceof w?e._cancel():n.cancel()):"function"==typeof t?a?(c&&e._setAsyncGuaranteed(),this._settlePromiseFromHandler(t,n,i,e)):t.call(n,i,e):n instanceof s?n._isResolved()||(33554432&o?n._promiseFulfilled(i,e):n._promiseRejected(i,e)):a&&(c&&e._setAsyncGuaranteed(),33554432&o?e._fulfill(i):e._reject(i))},U.prototype._settlePromiseLateCancellationObserver=function(e){var t=e.handler,n=e.promise,i=e.receiver,r=e.value;"function"==typeof t?n instanceof U?this._settlePromiseFromHandler(t,i,r,n):t.call(i,r,n):n instanceof U&&n._reject(r)},U.prototype._settlePromiseCtx=function(e){this._settlePromise(e.promise,e.handler,e.receiver,e.value)},U.prototype._settlePromise0=function(e,t,n){var i=this._promise0,r=this._receiverAt(0);this._promise0=void 0,this._receiver0=void 0,this._settlePromise(i,e,r,t)},U.prototype._clearCallbackDataAtIndex=function(e){var t=4*e-4;this[t+2]=this[t+3]=this[t+0]=this[t+1]=void 0},U.prototype._fulfill=function(e){var t=this._bitField;if(!((117506048&t)>>>16)){if(e===this){var n=i();return this._attachExtraTrace(n),this._reject(n)}this._setFulfilled(),this._rejectionHandler0=e,(65535&t)>0&&(134217728&t?this._settlePromises():u.settlePromises(this))}},U.prototype._reject=function(e){var t=this._bitField;if(!((117506048&t)>>>16)){if(this._setRejected(),this._fulfillmentHandler0=e,this._isFinal())return u.fatalError(e,l.isNode);(65535&t)>0?u.settlePromises(this):this._ensurePossibleRejectionHandled()}},U.prototype._fulfillPromises=function(e,t){for(var n=1;n<e;n++){var i=this._fulfillmentHandlerAt(n),r=this._promiseAt(n),a=this._receiverAt(n);this._clearCallbackDataAtIndex(n),this._settlePromise(r,i,a,t)}},U.prototype._rejectPromises=function(e,t){for(var n=1;n<e;n++){var i=this._rejectionHandlerAt(n),r=this._promiseAt(n),a=this._receiverAt(n);this._clearCallbackDataAtIndex(n),this._settlePromise(r,i,a,t)}},U.prototype._settlePromises=function(){var e=this._bitField,t=65535&e;if(t>0){if(16842752&e){var n=this._fulfillmentHandler0;this._settlePromise0(this._rejectionHandler0,n,e),this._rejectPromises(t,n)}else{var i=this._rejectionHandler0;this._settlePromise0(this._fulfillmentHandler0,i,e),this._fulfillPromises(t,i)}this._setLength(0)}this._clearCancellationData()},U.prototype._settledValue=function(){var e=this._bitField;return 33554432&e?this._rejectionHandler0:16777216&e?this._fulfillmentHandler0:void 0},U.defer=U.pending=function(){return T.deprecated("Promise.defer","new Promise"),{promise:new U(m),resolve:F,reject:M}},l.notEnumerableProp(U,"_makeSelfResolutionError",i),e("./method")(U,m,y,a,T),e("./bind")(U,m,y,T),e("./cancel")(U,w,a,T),e("./direct_resolve")(U),e("./synchronous_inspection")(U),e("./join")(U,w,y,m,u,o),U.Promise=U,U.version="3.4.7",e("./map.js")(U,w,a,y,m,T),e("./call_get.js")(U),e("./using.js")(U,a,y,_,m,T),e("./timers.js")(U,m,T),e("./generators.js")(U,a,m,y,s,T),e("./nodeify.js")(U),e("./promisify.js")(U,m),e("./props.js")(U,w,y,a),e("./race.js")(U,m,y,a),e("./reduce.js")(U,w,a,y,m,T),e("./settle.js")(U,w,T),e("./some.js")(U,w,a),e("./filter.js")(U,m),e("./each.js")(U,m),e("./any.js")(U),l.toFastProperties(U),l.toFastProperties(U.prototype),R({a:1}),R({b:2}),R({c:3}),R(1),R((function(){})),R(void 0),R(!1),R(new U(m)),T.setBounds(d.firstLineError,l.lastLineError),U}}).call(this,e("_process"))},{"./any.js":48,"./async":49,"./bind":50,"./call_get.js":51,"./cancel":52,"./catch_filter":53,"./context":54,"./debuggability":55,"./direct_resolve":56,"./each.js":57,"./errors":58,"./es5":59,"./filter.js":60,"./finally":61,"./generators.js":62,"./join":63,"./map.js":64,"./method":65,"./nodeback":66,"./nodeify.js":67,"./promise_array":69,"./promisify.js":70,"./props.js":71,"./race.js":73,"./reduce.js":74,"./settle.js":76,"./some.js":77,"./synchronous_inspection":78,"./thenables":79,"./timers.js":80,"./using.js":81,"./util":82,_process:101}],69:[function(e,t,n){t.exports=function(t,n,i,r,a){var s=e("./util");function o(e){switch(e){case-2:return[];case-3:return{}}}function c(e){var i=this._promise=new t(n);e instanceof t&&i._propagateFrom(e,3),i._setOnCancel(this),this._values=e,this._length=0,this._totalResolved=0,this._init(void 0,-2)}return s.isArray,s.inherits(c,a),c.prototype.length=function(){return this._length},c.prototype.promise=function(){return this._promise},c.prototype._init=function e(n,a){var c=i(this._values,this._promise);if(c instanceof t){var l=(c=c._target())._bitField;if(this._values=c,!(50397184&l))return this._promise._setAsyncGuaranteed(),c._then(e,this._reject,void 0,this,a);if(!(33554432&l))return 16777216&l?this._reject(c._reason()):this._cancel();c=c._value()}if(null!==(c=s.asArray(c)))0!==c.length?this._iterate(c):-5===a?this._resolveEmptyArray():this._resolve(o(a));else{var h=r("expecting an array or an iterable object but got "+s.classString(c)).reason();this._promise._rejectCallback(h,!1)}},c.prototype._iterate=function(e){var n=this.getActualLength(e.length);this._length=n,this._values=this.shouldCopyValues()?new Array(n):this._values;for(var r=this._promise,a=!1,s=null,o=0;o<n;++o){var c=i(e[o],r);s=c instanceof t?(c=c._target())._bitField:null,a?null!==s&&c.suppressUnhandledRejections():null!==s?50397184&s?a=33554432&s?this._promiseFulfilled(c._value(),o):16777216&s?this._promiseRejected(c._reason(),o):this._promiseCancelled(o):(c._proxy(this,o),this._values[o]=c):a=this._promiseFulfilled(c,o)}a||r._setAsyncGuaranteed()},c.prototype._isResolved=function(){return null===this._values},c.prototype._resolve=function(e){this._values=null,this._promise._fulfill(e)},c.prototype._cancel=function(){!this._isResolved()&&this._promise._isCancellable()&&(this._values=null,this._promise._cancel())},c.prototype._reject=function(e){this._values=null,this._promise._rejectCallback(e,!1)},c.prototype._promiseFulfilled=function(e,t){return this._values[t]=e,++this._totalResolved>=this._length&&(this._resolve(this._values),!0)},c.prototype._promiseCancelled=function(){return this._cancel(),!0},c.prototype._promiseRejected=function(e){return this._totalResolved++,this._reject(e),!0},c.prototype._resultCancelled=function(){if(!this._isResolved()){var e=this._values;if(this._cancel(),e instanceof t)e.cancel();else for(var n=0;n<e.length;++n)e[n]instanceof t&&e[n].cancel()}},c.prototype.shouldCopyValues=function(){return!0},c.prototype.getActualLength=function(e){return e},c}},{"./util":82}],70:[function(e,t,n){t.exports=function(t,n){var i={},r=e("./util"),a=e("./nodeback"),s=r.withAppended,o=r.maybeWrapAsError,c=r.canEvaluate,l=e("./errors").TypeError,h="Async",d={__isPromisified__:!0},u=new RegExp("^(?:"+["arity","length","name","arguments","caller","callee","prototype","__isPromisified__"].join("|")+")$"),f=function(e){return r.isIdentifier(e)&&"_"!==e.charAt(0)&&"constructor"!==e};function p(e){return!u.test(e)}function g(e){try{return!0===e.__isPromisified__}catch(t){return!1}}function m(e,t,n){var i=r.getDataPropertyOrDefault(e,t+n,d);return!!i&&g(i)}function b(e,t,n){for(var i=0;i<e.length;i+=2){var r=e[i];if(n.test(r))for(var a=r.replace(n,""),s=0;s<e.length;s+=2)if(e[s]===a)throw new l("Cannot promisify an API that has normal methods with '%s'-suffix\n\n See http://goo.gl/MqrFmX\n".replace("%s",t))}}function v(e,t,n,i){for(var a=r.inheritedDataKeys(e),s=[],o=0;o<a.length;++o){var c=a[o],l=e[c],h=i===f||f(c);"function"!=typeof l||g(l)||m(e,c,t)||!i(c,l,e,h)||s.push(c,l)}return b(s,t,n),s}var y=function(e){return e.replace(/([$])/,"\\$")},w=function(e){for(var t=[e],n=Math.max(0,e-1-3),i=e-1;i>=n;--i)t.push(i);for(i=e+1;i<=3;++i)t.push(i);return t},x=function(e){return r.filledRange(e,"_arg","")},_=function(e){return r.filledRange(Math.max(e,3),"_arg","")},T=function(e){return"number"==typeof e.length?Math.max(Math.min(e.length,1024),0):0};function D(e,c,l,h,d,u){var f=function(){return this}(),p=e;function g(){var r=c;c===i&&(r=this);var l=new t(n);l._captureStackTrace();var h="string"==typeof p&&this!==f?this[p]:e,d=a(l,u);try{h.apply(r,s(arguments,d))}catch(g){l._rejectCallback(o(g),!0,!0)}return l._isFateSealed()||l._setAsyncGuaranteed(),l}return"string"==typeof p&&(e=h),r.notEnumerableProp(g,"__isPromisified__",!0),g}var A=c?function(e,c,l,h,d,u){var f=Math.max(0,T(h)-1),p=w(f),g="string"==typeof e||c===i;function m(e){var t=x(e).join(", "),n=e>0?", ":"";return(g?"ret = callback.call(this, {{args}}, nodeback); break;\n":void 0===c?"ret = callback({{args}}, nodeback); break;\n":"ret = callback.call(receiver, {{args}}, nodeback); break;\n").replace("{{args}}",t).replace(", ",n)}function b(){for(var e="",t=0;t<p.length;++t)e+="case "+p[t]+":"+m(p[t]);return e+=" \n default: \n var args = new Array(len + 1); \n var i = 0; \n for (var i = 0; i < len; ++i) { \n args[i] = arguments[i]; \n } \n args[i] = nodeback; \n [CodeForCall] \n break; \n ".replace("[CodeForCall]",g?"ret = callback.apply(this, args);\n":"ret = callback.apply(receiver, args);\n")}var v="string"==typeof e?"this != null ? this['"+e+"'] : fn":"fn",y="'use strict'; \n var ret = function (Parameters) { \n 'use strict'; \n var len = arguments.length; \n var promise = new Promise(INTERNAL); \n promise._captureStackTrace(); \n var nodeback = nodebackForPromise(promise, "+u+"); \n var ret; \n var callback = tryCatch([GetFunctionCode]); \n switch(len) { \n [CodeForSwitchCase] \n } \n if (ret === errorObj) { \n promise._rejectCallback(maybeWrapAsError(ret.e), true, true);\n } \n if (!promise._isFateSealed()) promise._setAsyncGuaranteed(); \n return promise; \n }; \n notEnumerableProp(ret, '__isPromisified__', true); \n return ret; \n ".replace("[CodeForSwitchCase]",b()).replace("[GetFunctionCode]",v);return y=y.replace("Parameters",_(f)),new Function("Promise","fn","receiver","withAppended","maybeWrapAsError","nodebackForPromise","tryCatch","errorObj","notEnumerableProp","INTERNAL",y)(t,h,c,s,o,a,r.tryCatch,r.errorObj,r.notEnumerableProp,n)}:D;function E(e,t,n,a,s){for(var o=new RegExp(y(t)+"$"),c=v(e,t,o,n),l=0,h=c.length;l<h;l+=2){var d=c[l],u=c[l+1],f=d+t;if(a===A)e[f]=A(d,i,d,u,t,s);else{var p=a(u,(function(){return A(d,i,d,u,t,s)}));r.notEnumerableProp(p,"__isPromisified__",!0),e[f]=p}}return r.toFastProperties(e),e}function k(e,t,n){return A(e,t,void 0,e,null,n)}t.promisify=function(e,t){if("function"!=typeof e)throw new l("expecting a function but got "+r.classString(e));if(g(e))return e;var n=k(e,void 0===(t=Object(t)).context?i:t.context,!!t.multiArgs);return r.copyDescriptors(e,n,p),n},t.promisifyAll=function(e,t){if("function"!=typeof e&&"object"!=typeof e)throw new l("the target of promisifyAll must be an object or a function\n\n See http://goo.gl/MqrFmX\n");var n=!!(t=Object(t)).multiArgs,i=t.suffix;"string"!=typeof i&&(i=h);var a=t.filter;"function"!=typeof a&&(a=f);var s=t.promisifier;if("function"!=typeof s&&(s=A),!r.isIdentifier(i))throw new RangeError("suffix must be a valid identifier\n\n See http://goo.gl/MqrFmX\n");for(var o=r.inheritedDataKeys(e),c=0;c<o.length;++c){var d=e[o[c]];"constructor"!==o[c]&&r.isClass(d)&&(E(d.prototype,i,a,s,n),E(d,i,a,s,n))}return E(e,i,a,s,n)}}},{"./errors":58,"./nodeback":66,"./util":82}],71:[function(e,t,n){t.exports=function(t,n,i,r){var a,s=e("./util"),o=s.isObject,c=e("./es5");"function"==typeof Map&&(a=Map);var l=function(){var e=0,t=0;function n(n,i){this[e]=n,this[e+t]=i,e++}return function(i){t=i.size,e=0;var r=new Array(2*i.size);return i.forEach(n,r),r}}(),h=function(e){for(var t=new a,n=e.length/2|0,i=0;i<n;++i){var r=e[n+i],s=e[i];t.set(r,s)}return t};function d(e){var t,n=!1;if(void 0!==a&&e instanceof a)t=l(e),n=!0;else{var i=c.keys(e),r=i.length;t=new Array(2*r);for(var s=0;s<r;++s){var o=i[s];t[s]=e[o],t[s+r]=o}}this.constructor$(t),this._isMap=n,this._init$(void 0,-3)}function u(e){var n,a=i(e);return o(a)?(n=a instanceof t?a._then(t.props,void 0,void 0,void 0,void 0):new d(a).promise(),a instanceof t&&n._propagateFrom(a,2),n):r("cannot await properties of a non-object\n\n See http://goo.gl/MqrFmX\n")}s.inherits(d,n),d.prototype._init=function(){},d.prototype._promiseFulfilled=function(e,t){if(this._values[t]=e,++this._totalResolved>=this._length){var n;if(this._isMap)n=h(this._values);else{n={};for(var i=this.length(),r=0,a=this.length();r<a;++r)n[this._values[r+i]]=this._values[r]}return this._resolve(n),!0}return!1},d.prototype.shouldCopyValues=function(){return!1},d.prototype.getActualLength=function(e){return e>>1},t.prototype.props=function(){return u(this)},t.props=function(e){return u(e)}}},{"./es5":59,"./util":82}],72:[function(e,t,n){function i(e,t,n,i,r){for(var a=0;a<r;++a)n[a+i]=e[a+t],e[a+t]=void 0}function r(e){this._capacity=e,this._length=0,this._front=0}r.prototype._willBeOverCapacity=function(e){return this._capacity<e},r.prototype._pushOne=function(e){var t=this.length();this._checkCapacity(t+1),this[this._front+t&this._capacity-1]=e,this._length=t+1},r.prototype.push=function(e,t,n){var i=this.length()+3;if(this._willBeOverCapacity(i))return this._pushOne(e),this._pushOne(t),void this._pushOne(n);var r=this._front+i-3;this._checkCapacity(i);var a=this._capacity-1;this[r+0&a]=e,this[r+1&a]=t,this[r+2&a]=n,this._length=i},r.prototype.shift=function(){var e=this._front,t=this[e];return this[e]=void 0,this._front=e+1&this._capacity-1,this._length--,t},r.prototype.length=function(){return this._length},r.prototype._checkCapacity=function(e){this._capacity<e&&this._resizeTo(this._capacity<<1)},r.prototype._resizeTo=function(e){var t=this._capacity;this._capacity=e,i(this,0,this,t,this._front+this._length&t-1)},t.exports=r},{}],73:[function(e,t,n){t.exports=function(t,n,i,r){var a=e("./util"),s=function(e){return e.then((function(t){return o(t,e)}))};function o(e,o){var c=i(e);if(c instanceof t)return s(c);if(null===(e=a.asArray(e)))return r("expecting an array or an iterable object but got "+a.classString(e));var l=new t(n);void 0!==o&&l._propagateFrom(o,3);for(var h=l._fulfill,d=l._reject,u=0,f=e.length;u<f;++u){var p=e[u];(void 0!==p||u in e)&&t.cast(p)._then(h,d,void 0,l,null)}return l}t.race=function(e){return o(e,void 0)},t.prototype.race=function(){return o(this,void 0)}}},{"./util":82}],74:[function(e,t,n){t.exports=function(t,n,i,r,a,s){var o=t._getDomain,c=e("./util"),l=c.tryCatch;function h(e,n,i,r){this.constructor$(e);var s=o();this._fn=null===s?n:c.domainBind(s,n),void 0!==i&&(i=t.resolve(i))._attachCancellationCallback(this),this._initialValue=i,this._currentCancellable=null,this._eachValues=r===a?Array(this._length):0===r?null:void 0,this._promise._captureStackTrace(),this._init$(void 0,-5)}function d(e,t){this.isFulfilled()?t._resolve(e):t._reject(e)}function u(e,t,n,r){return"function"!=typeof t?i("expecting a function but got "+c.classString(t)):new h(e,t,n,r).promise()}function f(e){this.accum=e,this.array._gotAccum(e);var n=r(this.value,this.array._promise);return n instanceof t?(this.array._currentCancellable=n,n._then(p,void 0,void 0,this,void 0)):p.call(this,n)}function p(e){var n,i=this.array,r=i._promise,a=l(i._fn);r._pushContext(),(n=void 0!==i._eachValues?a.call(r._boundValue(),e,this.index,this.length):a.call(r._boundValue(),this.accum,e,this.index,this.length))instanceof t&&(i._currentCancellable=n);var o=r._popContext();return s.checkForgottenReturns(n,o,void 0!==i._eachValues?"Promise.each":"Promise.reduce",r),n}c.inherits(h,n),h.prototype._gotAccum=function(e){void 0!==this._eachValues&&null!==this._eachValues&&e!==a&&this._eachValues.push(e)},h.prototype._eachComplete=function(e){return null!==this._eachValues&&this._eachValues.push(e),this._eachValues},h.prototype._init=function(){},h.prototype._resolveEmptyArray=function(){this._resolve(void 0!==this._eachValues?this._eachValues:this._initialValue)},h.prototype.shouldCopyValues=function(){return!1},h.prototype._resolve=function(e){this._promise._resolveCallback(e),this._values=null},h.prototype._resultCancelled=function(e){if(e===this._initialValue)return this._cancel();this._isResolved()||(this._resultCancelled$(),this._currentCancellable instanceof t&&this._currentCancellable.cancel(),this._initialValue instanceof t&&this._initialValue.cancel())},h.prototype._iterate=function(e){var n,i;this._values=e;var r=e.length;if(void 0!==this._initialValue?(n=this._initialValue,i=0):(n=t.resolve(e[0]),i=1),this._currentCancellable=n,!n.isRejected())for(;i<r;++i){var a={accum:null,value:e[i],index:i,length:r,array:this};n=n._then(f,void 0,void 0,a,void 0)}void 0!==this._eachValues&&(n=n._then(this._eachComplete,void 0,void 0,this,void 0)),n._then(d,d,void 0,n,this)},t.prototype.reduce=function(e,t){return u(this,e,t,null)},t.reduce=function(e,t,n,i){return u(e,t,n,i)}}},{"./util":82}],75:[function(e,t,n){(function(n,i){var r,a=e("./util"),s=function(){throw new Error("No async scheduler available\n\n See http://goo.gl/MqrFmX\n")},o=a.getNativePromise();if(a.isNode&&"undefined"==typeof MutationObserver){var c=i.setImmediate,l=n.nextTick;r=a.isRecentNode?function(e){c.call(i,e)}:function(e){l.call(n,e)}}else if("function"==typeof o&&"function"==typeof o.resolve){var h=o.resolve();r=function(e){h.then(e)}}else r="undefined"==typeof MutationObserver||"undefined"!=typeof window&&window.navigator&&(window.navigator.standalone||window.cordova)?"undefined"!=typeof setImmediate?function(e){setImmediate(e)}:"undefined"!=typeof setTimeout?function(e){setTimeout(e,0)}:s:function(){var e=document.createElement("div"),t={attributes:!0},n=!1,i=document.createElement("div");new MutationObserver((function(){e.classList.toggle("foo"),n=!1})).observe(i,t);var r=function(){n||(n=!0,i.classList.toggle("foo"))};return function(n){var i=new MutationObserver((function(){i.disconnect(),n()}));i.observe(e,t),r()}}();t.exports=r}).call(this,e("_process"),void 0!==nh?nh:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./util":82,_process:101}],76:[function(e,t,n){t.exports=function(t,n,i){var r=t.PromiseInspection;function a(e){this.constructor$(e)}e("./util").inherits(a,n),a.prototype._promiseResolved=function(e,t){return this._values[e]=t,++this._totalResolved>=this._length&&(this._resolve(this._values),!0)},a.prototype._promiseFulfilled=function(e,t){var n=new r;return n._bitField=33554432,n._settledValueField=e,this._promiseResolved(t,n)},a.prototype._promiseRejected=function(e,t){var n=new r;return n._bitField=16777216,n._settledValueField=e,this._promiseResolved(t,n)},t.settle=function(e){return i.deprecated(".settle()",".reflect()"),new a(e).promise()},t.prototype.settle=function(){return t.settle(this)}}},{"./util":82}],77:[function(e,t,n){t.exports=function(t,n,i){var r=e("./util"),a=e("./errors").RangeError,s=e("./errors").AggregateError,o=r.isArray,c={};function l(e){this.constructor$(e),this._howMany=0,this._unwrap=!1,this._initialized=!1}function h(e,t){if((0|t)!==t||t<0)return i("expecting a positive integer\n\n See http://goo.gl/MqrFmX\n");var n=new l(e),r=n.promise();return n.setHowMany(t),n.init(),r}r.inherits(l,n),l.prototype._init=function(){if(this._initialized)if(0!==this._howMany){this._init$(void 0,-5);var e=o(this._values);!this._isResolved()&&e&&this._howMany>this._canPossiblyFulfill()&&this._reject(this._getRangeError(this.length()))}else this._resolve([])},l.prototype.init=function(){this._initialized=!0,this._init()},l.prototype.setUnwrap=function(){this._unwrap=!0},l.prototype.howMany=function(){return this._howMany},l.prototype.setHowMany=function(e){this._howMany=e},l.prototype._promiseFulfilled=function(e){return this._addFulfilled(e),this._fulfilled()===this.howMany()&&(this._values.length=this.howMany(),1===this.howMany()&&this._unwrap?this._resolve(this._values[0]):this._resolve(this._values),!0)},l.prototype._promiseRejected=function(e){return this._addRejected(e),this._checkOutcome()},l.prototype._promiseCancelled=function(){return this._values instanceof t||null==this._values?this._cancel():(this._addRejected(c),this._checkOutcome())},l.prototype._checkOutcome=function(){if(this.howMany()>this._canPossiblyFulfill()){for(var e=new s,t=this.length();t<this._values.length;++t)this._values[t]!==c&&e.push(this._values[t]);return e.length>0?this._reject(e):this._cancel(),!0}return!1},l.prototype._fulfilled=function(){return this._totalResolved},l.prototype._rejected=function(){return this._values.length-this.length()},l.prototype._addRejected=function(e){this._values.push(e)},l.prototype._addFulfilled=function(e){this._values[this._totalResolved++]=e},l.prototype._canPossiblyFulfill=function(){return this.length()-this._rejected()},l.prototype._getRangeError=function(e){var t="Input array must contain at least "+this._howMany+" items but contains only "+e+" items";return new a(t)},l.prototype._resolveEmptyArray=function(){this._reject(this._getRangeError(0))},t.some=function(e,t){return h(e,t)},t.prototype.some=function(e){return h(this,e)},t._SomePromiseArray=l}},{"./errors":58,"./util":82}],78:[function(e,t,n){t.exports=function(e){function t(e){void 0!==e?(e=e._target(),this._bitField=e._bitField,this._settledValueField=e._isFateSealed()?e._settledValue():void 0):(this._bitField=0,this._settledValueField=void 0)}t.prototype._settledValue=function(){return this._settledValueField};var n=t.prototype.value=function(){if(!this.isFulfilled())throw new TypeError("cannot get fulfillment value of a non-fulfilled promise\n\n See http://goo.gl/MqrFmX\n");return this._settledValue()},i=t.prototype.error=t.prototype.reason=function(){if(!this.isRejected())throw new TypeError("cannot get rejection reason of a non-rejected promise\n\n See http://goo.gl/MqrFmX\n");return this._settledValue()},r=t.prototype.isFulfilled=function(){return!!(33554432&this._bitField)},a=t.prototype.isRejected=function(){return!!(16777216&this._bitField)},s=t.prototype.isPending=function(){return!(50397184&this._bitField)},o=t.prototype.isResolved=function(){return!!(50331648&this._bitField)};t.prototype.isCancelled=function(){return!!(8454144&this._bitField)},e.prototype.__isCancelled=function(){return!(65536&~this._bitField)},e.prototype._isCancelled=function(){return this._target().__isCancelled()},e.prototype.isCancelled=function(){return!!(8454144&this._target()._bitField)},e.prototype.isPending=function(){return s.call(this._target())},e.prototype.isRejected=function(){return a.call(this._target())},e.prototype.isFulfilled=function(){return r.call(this._target())},e.prototype.isResolved=function(){return o.call(this._target())},e.prototype.value=function(){return n.call(this._target())},e.prototype.reason=function(){var e=this._target();return e._unsetRejectionIsUnhandled(),i.call(e)},e.prototype._value=function(){return this._settledValue()},e.prototype._reason=function(){return this._unsetRejectionIsUnhandled(),this._settledValue()},e.PromiseInspection=t}},{}],79:[function(e,t,n){t.exports=function(t,n){var i=e("./util"),r=i.errorObj,a=i.isObject;function s(e,i){if(a(e)){if(e instanceof t)return e;var s=c(e);if(s===r){i&&i._pushContext();var o=t.reject(s.e);return i&&i._popContext(),o}if("function"==typeof s)return h(e)?(o=new t(n),e._then(o._fulfill,o._reject,void 0,o,null),o):d(e,s,i)}return e}function o(e){return e.then}function c(e){try{return o(e)}catch(t){return r.e=t,r}}var l={}.hasOwnProperty;function h(e){try{return l.call(e,"_promise0")}catch(t){return!1}}function d(e,a,s){var o=new t(n),c=o;s&&s._pushContext(),o._captureStackTrace(),s&&s._popContext();var l=!0,h=i.tryCatch(a).call(e,d,u);function d(e){o&&(o._resolveCallback(e),o=null)}function u(e){o&&(o._rejectCallback(e,l,!0),o=null)}return l=!1,o&&h===r&&(o._rejectCallback(h.e,!0,!0),o=null),c}return s}},{"./util":82}],80:[function(e,t,n){t.exports=function(t,n,i){var r=e("./util"),a=t.TimeoutError;function s(e){this.handle=e}s.prototype._resultCancelled=function(){clearTimeout(this.handle)};var o=function(e){return c(+this).thenReturn(e)},c=t.delay=function(e,r){var a,c;return void 0!==r?(a=t.resolve(r)._then(o,null,null,e,void 0),i.cancellation()&&r instanceof t&&a._setOnCancel(r)):(a=new t(n),c=setTimeout((function(){a._fulfill()}),+e),i.cancellation()&&a._setOnCancel(new s(c)),a._captureStackTrace()),a._setAsyncGuaranteed(),a};t.prototype.delay=function(e){return c(e,this)};var l=function(e,t,n){var i;i="string"!=typeof t?t instanceof Error?t:new a("operation timed out"):new a(t),r.markAsOriginatingFromRejection(i),e._attachExtraTrace(i),e._reject(i),null!=n&&n.cancel()};function h(e){return clearTimeout(this.handle),e}function d(e){throw clearTimeout(this.handle),e}t.prototype.timeout=function(e,t){var n,r;e=+e;var a=new s(setTimeout((function(){n.isPending()&&l(n,t,r)}),e));return i.cancellation()?(r=this.then(),(n=r._then(h,d,void 0,a,void 0))._setOnCancel(a)):n=this._then(h,d,void 0,a,void 0),n}}},{"./util":82}],81:[function(e,t,n){t.exports=function(t,n,i,r,a,s){var o=e("./util"),c=e("./errors").TypeError,l=e("./util").inherits,h=o.errorObj,d=o.tryCatch,u={};function f(e){setTimeout((function(){throw e}),0)}function p(e){var t=i(e);return t!==e&&"function"==typeof e._isDisposable&&"function"==typeof e._getDisposer&&e._isDisposable()&&t._setDisposable(e._getDisposer()),t}function g(e,n){var r=0,s=e.length,o=new t(a);function c(){if(r>=s)return o._fulfill();var a=p(e[r++]);if(a instanceof t&&a._isDisposable()){try{a=i(a._getDisposer().tryDispose(n),e.promise)}catch(l){return f(l)}if(a instanceof t)return a._then(c,f,null,null,null)}c()}return c(),o}function m(e,t,n){this._data=e,this._promise=t,this._context=n}function b(e,t,n){this.constructor$(e,t,n)}function v(e){return m.isDisposer(e)?(this.resources[this.index]._setDisposable(e),e.promise()):e}function y(e){this.length=e,this.promise=null,this[e-1]=null}m.prototype.data=function(){return this._data},m.prototype.promise=function(){return this._promise},m.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():u},m.prototype.tryDispose=function(e){var t=this.resource(),n=this._context;void 0!==n&&n._pushContext();var i=t!==u?this.doDispose(t,e):null;return void 0!==n&&n._popContext(),this._promise._unsetDisposable(),this._data=null,i},m.isDisposer=function(e){return null!=e&&"function"==typeof e.resource&&"function"==typeof e.tryDispose},l(b,m),b.prototype.doDispose=function(e,t){return this.data().call(e,e,t)},y.prototype._resultCancelled=function(){for(var e=this.length,n=0;n<e;++n){var i=this[n];i instanceof t&&i.cancel()}},t.using=function(){var e=arguments.length;if(e<2)return n("you must pass at least 2 arguments to Promise.using");var r,a=arguments[e-1];if("function"!=typeof a)return n("expecting a function but got "+o.classString(a));var c=!0;2===e&&Array.isArray(arguments[0])?(e=(r=arguments[0]).length,c=!1):(r=arguments,e--);for(var l=new y(e),u=0;u<e;++u){var f=r[u];if(m.isDisposer(f)){var p=f;(f=f.promise())._setDisposable(p)}else{var b=i(f);b instanceof t&&(f=b._then(v,null,null,{resources:l,index:u},void 0))}l[u]=f}var w=new Array(l.length);for(u=0;u<w.length;++u)w[u]=t.resolve(l[u]).reflect();var x=t.all(w).then((function(e){for(var t=0;t<e.length;++t){var n=e[t];if(n.isRejected())return h.e=n.error(),h;if(!n.isFulfilled())return void x.cancel();e[t]=n.value()}_._pushContext(),a=d(a);var i=c?a.apply(void 0,e):a(e),r=_._popContext();return s.checkForgottenReturns(i,r,"Promise.using",_),i})),_=x.lastly((function(){var e=new t.PromiseInspection(x);return g(l,e)}));return l.promise=_,_._setOnCancel(l),_},t.prototype._setDisposable=function(e){this._bitField=131072|this._bitField,this._disposer=e},t.prototype._isDisposable=function(){return(131072&this._bitField)>0},t.prototype._getDisposer=function(){return this._disposer},t.prototype._unsetDisposable=function(){this._bitField=-131073&this._bitField,this._disposer=void 0},t.prototype.disposer=function(e){if("function"==typeof e)return new b(e,this,r());throw new c}}},{"./errors":58,"./util":82}],82:[function(e,t,n){(function(n,i){var r,a=e("./es5"),s="undefined"==typeof navigator,o={e:{}},c="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==i?i:void 0!==this?this:null;function l(){try{var e=r;return r=null,e.apply(this,arguments)}catch(t){return o.e=t,o}}function h(e){return r=e,l}var d=function(e,t){var n={}.hasOwnProperty;function i(){for(var i in this.constructor=e,this.constructor$=t,t.prototype)n.call(t.prototype,i)&&"$"!==i.charAt(i.length-1)&&(this[i+"$"]=t.prototype[i])}return i.prototype=t.prototype,e.prototype=new i,e.prototype};function u(e){return null==e||!0===e||!1===e||"string"==typeof e||"number"==typeof e}function f(e){return"function"==typeof e||"object"==typeof e&&null!==e}function p(e){return u(e)?new Error(E(e)):e}function g(e,t){var n,i=e.length,r=new Array(i+1);for(n=0;n<i;++n)r[n]=e[n];return r[n]=t,r}function m(e,t,n){if(!a.isES5)return{}.hasOwnProperty.call(e,t)?e[t]:void 0;var i=Object.getOwnPropertyDescriptor(e,t);return null!=i?null==i.get&&null==i.set?i.value:n:void 0}function b(e,t,n){if(u(e))return e;var i={value:n,configurable:!0,enumerable:!1,writable:!0};return a.defineProperty(e,t,i),e}function v(e){throw e}var y=function(){var e=[Array.prototype,Object.prototype,Function.prototype],t=function(t){for(var n=0;n<e.length;++n)if(e[n]===t)return!0;return!1};if(a.isES5){var n=Object.getOwnPropertyNames;return function(e){for(var i=[],r=Object.create(null);null!=e&&!t(e);){var s;try{s=n(e)}catch(h){return i}for(var o=0;o<s.length;++o){var c=s[o];if(!r[c]){r[c]=!0;var l=Object.getOwnPropertyDescriptor(e,c);null!=l&&null==l.get&&null==l.set&&i.push(c)}}e=a.getPrototypeOf(e)}return i}}var i={}.hasOwnProperty;return function(n){if(t(n))return[];var r=[];e:for(var a in n)if(i.call(n,a))r.push(a);else{for(var s=0;s<e.length;++s)if(i.call(e[s],a))continue e;r.push(a)}return r}}(),w=/this\s*\.\s*\S+\s*=/;function x(e){try{if("function"==typeof e){var t=a.names(e.prototype),n=a.isES5&&t.length>1,i=t.length>0&&!(1===t.length&&"constructor"===t[0]),r=w.test(e+"")&&a.names(e).length>0;if(n||i||r)return!0}return!1}catch(s){return!1}}function _(e){return e}var T=/^[a-z$_][a-z$_0-9]*$/i;function D(e){return T.test(e)}function A(e,t,n){for(var i=new Array(e),r=0;r<e;++r)i[r]=t+r+n;return i}function E(e){try{return e+""}catch(t){return"[no string representation]"}}function k(e){return null!==e&&"object"==typeof e&&"string"==typeof e.message&&"string"==typeof e.name}function S(e){try{b(e,"isOperational",!0)}catch(t){}}function C(e){return null!=e&&(e instanceof Error.__BluebirdErrorTypes__.OperationalError||!0===e.isOperational)}function U(e){return k(e)&&a.propertyIsWritable(e,"stack")}var F="stack"in new Error?function(e){return U(e)?e:new Error(E(e))}:function(e){if(U(e))return e;try{throw new Error(E(e))}catch(t){return t}};function M(e){return{}.toString.call(e)}function R(e,t,n){for(var i=a.names(e),r=0;r<i.length;++r){var s=i[r];if(n(s))try{a.defineProperty(t,s,a.getDescriptor(e,s))}catch(o){}}}var I=function(e){return a.isArray(e)?e:null};if("undefined"!=typeof Symbol&&Symbol.iterator){var O="function"==typeof Array.from?function(e){return Array.from(e)}:function(e){for(var t,n=[],i=e[Symbol.iterator]();!(t=i.next()).done;)n.push(t.value);return n};I=function(e){return a.isArray(e)?e:null!=e&&"function"==typeof e[Symbol.iterator]?O(e):null}}var N=void 0!==n&&"[object process]"===M(n).toLowerCase(),P=void 0!==n&&void 0!==n.env;function L(e){return P?n.env[e]:void 0}function W(){if("function"==typeof Promise)try{var e=new Promise((function(){}));if("[object Promise]"==={}.toString.call(e))return Promise}catch(t){}}function B(e,t){return e.bind(t)}var j,z={isClass:x,isIdentifier:D,inheritedDataKeys:y,getDataPropertyOrDefault:m,thrower:v,isArray:a.isArray,asArray:I,notEnumerableProp:b,isPrimitive:u,isObject:f,isError:k,canEvaluate:s,errorObj:o,tryCatch:h,inherits:d,withAppended:g,maybeWrapAsError:p,toFastProperties:_,filledRange:A,toString:E,canAttachTrace:U,ensureErrorObject:F,originatesFromRejection:C,markAsOriginatingFromRejection:S,classString:M,copyDescriptors:R,hasDevTools:"undefined"!=typeof chrome&&chrome&&"function"==typeof chrome.loadTimes,isNode:N,hasEnvVariables:P,env:L,global:c,getNativePromise:W,domainBind:B};z.isRecentNode=z.isNode&&(0===(j=n.versions.node.split(".").map(Number))[0]&&j[1]>10||j[0]>0),z.isNode&&z.toFastProperties(n);try{throw new Error}catch(H){z.lastLineError=H}t.exports=z}).call(this,e("_process"),void 0!==nh?nh:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./es5":59,_process:101}],83:[function(e,t,n){(function(t){var i=e("base64-js"),r=e("ieee754"),a=e("isarray");function s(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&// typed array instances can be augmented +"function"==typeof e.subarray&&// chrome 9-10 lack `subarray` +0===e.subarray(1,1).byteLength}catch(t){return!1}}function o(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function c(e,t){if(o()<t)throw new RangeError("Invalid typed array length");return l.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=l.prototype:(null===e&&(e=new l(t)),e.length=t),e}function l(e,t,n){if(!(l.TYPED_ARRAY_SUPPORT||this instanceof l))return new l(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return f(this,e)}return h(this,e,t,n)}function h(e,t,n,i){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?m(e,t,n,i):"string"==typeof t?p(e,t,n):b(e,t)}function d(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function u(e,t,n,i){return d(t),t<=0?c(e,t):void 0!==n?"string"==typeof i?c(e,t).fill(n,i):c(e,t).fill(n):c(e,t)}function f(e,t){if(d(t),e=c(e,t<0?0:0|v(t)),!l.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function p(e,t,n){if("string"==typeof n&&""!==n||(n="utf8"),!l.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var i=0|w(t,n),r=(e=c(e,i)).write(t,n);return r!==i&&(e=e.slice(0,r)),e}function g(e,t){var n=t.length<0?0:0|v(t.length);e=c(e,n);for(var i=0;i<n;i+=1)e[i]=255&t[i];return e}function m(e,t,n,i){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(i||0))throw new RangeError("'length' is out of bounds");return t=void 0===n&&void 0===i?new Uint8Array(t):void 0===i?new Uint8Array(t,n):new Uint8Array(t,n,i),l.TYPED_ARRAY_SUPPORT?(e=t).__proto__=l.prototype:e=g(e,t),e}function b(e,t){if(l.isBuffer(t)){var n=0|v(t.length);return 0===(e=c(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||te(t.length)?c(e,0):g(e,t);if("Buffer"===t.type&&a(t.data))return g(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function v(e){if(e>=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|e}function y(e){return+e!=e&&(e=0),l.alloc(+e)}function w(e,t){if(l.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return K(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Q(e).length;default:if(i)return K(e).length;t=(""+t).toLowerCase(),i=!0}}function x(e,t,n){var i=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return P(this,t,n);case"utf8":case"utf-8":return M(this,t,n);case"ascii":return O(this,t,n);case"latin1":case"binary":return N(this,t,n);case"base64":return F(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,t,n);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}function _(e,t,n){var i=e[t];e[t]=e[n],e[n]=i}function T(e,t,n,i,r){if(0===e.length)return-1;if("string"==typeof n?(i=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=r?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(r)return-1;n=e.length-1}else if(n<0){if(!r)return-1;n=0}if("string"==typeof t&&(t=l.from(t,i)),l.isBuffer(t))return 0===t.length?-1:D(e,t,n,i,r);if("number"==typeof t)return t&=255,l.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):D(e,[t],n,i,r);throw new TypeError("val must be string, number or Buffer")}function D(e,t,n,i,r){var a,s=1,o=e.length,c=t.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(e.length<2||t.length<2)return-1;s=2,o/=2,c/=2,n/=2}function l(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(r){var h=-1;for(a=n;a<o;a++)if(l(e,a)===l(t,-1===h?0:a-h)){if(-1===h&&(h=a),a-h+1===c)return h*s}else-1!==h&&(a-=a-h),h=-1}else for(n+c>o&&(n=o-c),a=n;a>=0;a--){for(var d=!0,u=0;u<c;u++)if(l(e,a+u)!==l(t,u)){d=!1;break}if(d)return a}return-1}function A(e,t,n,i){n=Number(n)||0;var r=e.length-n;i?(i=Number(i))>r&&(i=r):i=r;var a=t.length;if(a%2!=0)throw new TypeError("Invalid hex string");i>a/2&&(i=a/2);for(var s=0;s<i;++s){var o=parseInt(t.substr(2*s,2),16);if(isNaN(o))return s;e[n+s]=o}return s}function E(e,t,n,i){return ee(K(t,e.length-n),e,n,i)}function k(e,t,n,i){return ee(Z(t),e,n,i)}function S(e,t,n,i){return k(e,t,n,i)}function C(e,t,n,i){return ee(Q(t),e,n,i)}function U(e,t,n,i){return ee(J(t,e.length-n),e,n,i)}function F(e,t,n){return 0===t&&n===e.length?i.fromByteArray(e):i.fromByteArray(e.slice(t,n))}function M(e,t,n){n=Math.min(e.length,n);for(var i=[],r=t;r<n;){var a,s,o,c,l=e[r],h=null,d=l>239?4:l>223?3:l>191?2:1;if(r+d<=n)switch(d){case 1:l<128&&(h=l);break;case 2:128==(192&(a=e[r+1]))&&(c=(31&l)<<6|63&a)>127&&(h=c);break;case 3:a=e[r+1],s=e[r+2],128==(192&a)&&128==(192&s)&&(c=(15&l)<<12|(63&a)<<6|63&s)>2047&&(c<55296||c>57343)&&(h=c);break;case 4:a=e[r+1],s=e[r+2],o=e[r+3],128==(192&a)&&128==(192&s)&&128==(192&o)&&(c=(15&l)<<18|(63&a)<<12|(63&s)<<6|63&o)>65535&&c<1114112&&(h=c)}null===h?(h=65533,d=1):h>65535&&(h-=65536,i.push(h>>>10&1023|55296),h=56320|1023&h),i.push(h),r+=d}return I(i)}n.Buffer=l,n.SlowBuffer=y,n.INSPECT_MAX_BYTES=50,l.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:s(),n.kMaxLength=o(),l.poolSize=8192,l._augment=function(e){return e.__proto__=l.prototype,e},l.from=function(e,t,n){return h(null,e,t,n)},l.TYPED_ARRAY_SUPPORT&&(l.prototype.__proto__=Uint8Array.prototype,l.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&l[Symbol.species]===l&&Object.defineProperty(l,Symbol.species,{value:null,configurable:!0})),l.alloc=function(e,t,n){return u(null,e,t,n)},l.allocUnsafe=function(e){return f(null,e)},l.allocUnsafeSlow=function(e){return f(null,e)},l.isBuffer=function(e){return!(null==e||!e._isBuffer)},l.compare=function(e,t){if(!l.isBuffer(e)||!l.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,i=t.length,r=0,a=Math.min(n,i);r<a;++r)if(e[r]!==t[r]){n=e[r],i=t[r];break}return n<i?-1:i<n?1:0},l.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(e,t){if(!a(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return l.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var i=l.allocUnsafe(t),r=0;for(n=0;n<e.length;++n){var s=e[n];if(!l.isBuffer(s))throw new TypeError('"list" argument must be an Array of Buffers');s.copy(i,r),r+=s.length}return i},l.byteLength=w,l.prototype._isBuffer=!0,l.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)_(this,t,t+1);return this},l.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)_(this,t,t+3),_(this,t+1,t+2);return this},l.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)_(this,t,t+7),_(this,t+1,t+6),_(this,t+2,t+5),_(this,t+3,t+4);return this},l.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?M(this,0,e):x.apply(this,arguments)},l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===l.compare(this,e)},l.prototype.inspect=function(){var e="",t=n.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(e+=" ... ")),"<Buffer "+e+">"},l.prototype.compare=function(e,t,n,i,r){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===i&&(i=0),void 0===r&&(r=this.length),t<0||n>e.length||i<0||r>this.length)throw new RangeError("out of range index");if(i>=r&&t>=n)return 0;if(i>=r)return-1;if(t>=n)return 1;if(this===e)return 0;for(var a=(r>>>=0)-(i>>>=0),s=(n>>>=0)-(t>>>=0),o=Math.min(a,s),c=this.slice(i,r),h=e.slice(t,n),d=0;d<o;++d)if(c[d]!==h[d]){a=c[d],s=h[d];break}return a<s?-1:s<a?1:0},l.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},l.prototype.indexOf=function(e,t,n){return T(this,e,t,n,!0)},l.prototype.lastIndexOf=function(e,t,n){return T(this,e,t,n,!1)},l.prototype.write=function(e,t,n,i){if(void 0===t)i="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)i=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===i&&(i="utf8")):(i=n,n=void 0)}var r=this.length-t;if((void 0===n||n>r)&&(n=r),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return A(this,e,t,n);case"utf8":case"utf-8":return E(this,e,t,n);case"ascii":return k(this,e,t,n);case"latin1":case"binary":return S(this,e,t,n);case"base64":return C(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return U(this,e,t,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var R=4096;function I(e){var t=e.length;if(t<=R)return String.fromCharCode.apply(String,e);for(var n="",i=0;i<t;)n+=String.fromCharCode.apply(String,e.slice(i,i+=R));return n}function O(e,t,n){var i="";n=Math.min(e.length,n);for(var r=t;r<n;++r)i+=String.fromCharCode(127&e[r]);return i}function N(e,t,n){var i="";n=Math.min(e.length,n);for(var r=t;r<n;++r)i+=String.fromCharCode(e[r]);return i}function P(e,t,n){var i=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>i)&&(n=i);for(var r="",a=t;a<n;++a)r+=Y(e[a]);return r}function L(e,t,n){for(var i=e.slice(t,n),r="",a=0;a<i.length;a+=2)r+=String.fromCharCode(i[a]+256*i[a+1]);return r}function W(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function B(e,t,n,i,r,a){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>r||t<a)throw new RangeError('"value" argument is out of bounds');if(n+i>e.length)throw new RangeError("Index out of range")}function j(e,t,n,i){t<0&&(t=65535+t+1);for(var r=0,a=Math.min(e.length-n,2);r<a;++r)e[n+r]=(t&255<<8*(i?r:1-r))>>>8*(i?r:1-r)}function z(e,t,n,i){t<0&&(t=4294967295+t+1);for(var r=0,a=Math.min(e.length-n,4);r<a;++r)e[n+r]=t>>>8*(i?r:3-r)&255}function H(e,t,n,i,r,a){if(n+i>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function V(e,t,n,i,a){return a||H(e,t,n,4),r.write(e,t,n,i,23,4),n+4}function G(e,t,n,i,a){return a||H(e,t,n,8),r.write(e,t,n,i,52,8),n+8}l.prototype.slice=function(e,t){var n,i=this.length;if((e=~~e)<0?(e+=i)<0&&(e=0):e>i&&(e=i),(t=void 0===t?i:~~t)<0?(t+=i)<0&&(t=0):t>i&&(t=i),t<e&&(t=e),l.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=l.prototype;else{var r=t-e;n=new l(r,void 0);for(var a=0;a<r;++a)n[a]=this[a+e]}return n},l.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||W(e,t,this.length);for(var i=this[e],r=1,a=0;++a<t&&(r*=256);)i+=this[e+a]*r;return i},l.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||W(e,t,this.length);for(var i=this[e+--t],r=1;t>0&&(r*=256);)i+=this[e+--t]*r;return i},l.prototype.readUInt8=function(e,t){return t||W(e,1,this.length),this[e]},l.prototype.readUInt16LE=function(e,t){return t||W(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUInt16BE=function(e,t){return t||W(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUInt32LE=function(e,t){return t||W(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUInt32BE=function(e,t){return t||W(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||W(e,t,this.length);for(var i=this[e],r=1,a=0;++a<t&&(r*=256);)i+=this[e+a]*r;return i>=(r*=128)&&(i-=Math.pow(2,8*t)),i},l.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||W(e,t,this.length);for(var i=t,r=1,a=this[e+--i];i>0&&(r*=256);)a+=this[e+--i]*r;return a>=(r*=128)&&(a-=Math.pow(2,8*t)),a},l.prototype.readInt8=function(e,t){return t||W(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){t||W(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(e,t){t||W(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(e,t){return t||W(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return t||W(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return t||W(e,4,this.length),r.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return t||W(e,4,this.length),r.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return t||W(e,8,this.length),r.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return t||W(e,8,this.length),r.read(this,e,!1,52,8)},l.prototype.writeUIntLE=function(e,t,n,i){e=+e,t|=0,n|=0,i||B(this,e,t,n,Math.pow(2,8*n)-1,0);var r=1,a=0;for(this[t]=255&e;++a<n&&(r*=256);)this[t+a]=e/r&255;return t+n},l.prototype.writeUIntBE=function(e,t,n,i){e=+e,t|=0,n|=0,i||B(this,e,t,n,Math.pow(2,8*n)-1,0);var r=n-1,a=1;for(this[t+r]=255&e;--r>=0&&(a*=256);)this[t+r]=e/a&255;return t+n},l.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||B(this,e,t,1,255,0),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},l.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||B(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):j(this,e,t,!0),t+2},l.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||B(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):j(this,e,t,!1),t+2},l.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||B(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):z(this,e,t,!0),t+4},l.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||B(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):z(this,e,t,!1),t+4},l.prototype.writeIntLE=function(e,t,n,i){if(e=+e,t|=0,!i){var r=Math.pow(2,8*n-1);B(this,e,t,n,r-1,-r)}var a=0,s=1,o=0;for(this[t]=255&e;++a<n&&(s*=256);)e<0&&0===o&&0!==this[t+a-1]&&(o=1),this[t+a]=(e/s|0)-o&255;return t+n},l.prototype.writeIntBE=function(e,t,n,i){if(e=+e,t|=0,!i){var r=Math.pow(2,8*n-1);B(this,e,t,n,r-1,-r)}var a=n-1,s=1,o=0;for(this[t+a]=255&e;--a>=0&&(s*=256);)e<0&&0===o&&0!==this[t+a+1]&&(o=1),this[t+a]=(e/s|0)-o&255;return t+n},l.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||B(this,e,t,1,127,-128),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||B(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):j(this,e,t,!0),t+2},l.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||B(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):j(this,e,t,!1),t+2},l.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||B(this,e,t,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):z(this,e,t,!0),t+4},l.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||B(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):z(this,e,t,!1),t+4},l.prototype.writeFloatLE=function(e,t,n){return V(this,e,t,!0,n)},l.prototype.writeFloatBE=function(e,t,n){return V(this,e,t,!1,n)},l.prototype.writeDoubleLE=function(e,t,n){return G(this,e,t,!0,n)},l.prototype.writeDoubleBE=function(e,t,n){return G(this,e,t,!1,n)},l.prototype.copy=function(e,t,n,i){if(n||(n=0),i||0===i||(i=this.length),t>=e.length&&(t=e.length),t||(t=0),i>0&&i<n&&(i=n),i===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-t<i-n&&(i=e.length-t+n);var r,a=i-n;if(this===e&&n<t&&t<i)for(r=a-1;r>=0;--r)e[r+t]=this[r+n];else if(a<1e3||!l.TYPED_ARRAY_SUPPORT)for(r=0;r<a;++r)e[r+t]=this[r+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+a),t);return a},l.prototype.fill=function(e,t,n,i){if("string"==typeof e){if("string"==typeof t?(i=t,t=0,n=this.length):"string"==typeof n&&(i=n,n=this.length),1===e.length){var r=e.charCodeAt(0);r<256&&(e=r)}if(void 0!==i&&"string"!=typeof i)throw new TypeError("encoding must be a string");if("string"==typeof i&&!l.isEncoding(i))throw new TypeError("Unknown encoding: "+i)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var a;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(a=t;a<n;++a)this[a]=e;else{var s=l.isBuffer(e)?e:K(new l(e,i).toString()),o=s.length;for(a=0;a<n-t;++a)this[a+t]=s[a%o]}return this};var X=/[^+\/0-9A-Za-z-_]/g;function $(e){if((e=q(e).replace(X,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}function q(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function Y(e){return e<16?"0"+e.toString(16):e.toString(16)}function K(e,t){var n;t=t||1/0;for(var i=e.length,r=null,a=[],s=0;s<i;++s){if((n=e.charCodeAt(s))>55295&&n<57344){if(!r){if(n>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(s+1===i){(t-=3)>-1&&a.push(239,191,189);continue}r=n;continue}if(n<56320){(t-=3)>-1&&a.push(239,191,189),r=n;continue}n=65536+(r-55296<<10|n-56320)}else r&&(t-=3)>-1&&a.push(239,191,189);if(r=null,n<128){if((t-=1)<0)break;a.push(n)}else if(n<2048){if((t-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function Z(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}function J(e,t){for(var n,i,r,a=[],s=0;s<e.length&&!((t-=2)<0);++s)i=(n=e.charCodeAt(s))>>8,r=n%256,a.push(r),a.push(i);return a}function Q(e){return i.toByteArray($(e))}function ee(e,t,n,i){for(var r=0;r<i&&!(r+n>=t.length||r>=e.length);++r)t[r+n]=e[r];return r}function te(e){return e!=e}}).call(this,void 0!==nh?nh:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"base64-js":47,ieee754:86,isarray:87}],84:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var i=[{"Typeface name":"Symbol","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Symbol","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"33","Unicode hex":"21"},{"Typeface name":"Symbol","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"8704","Unicode hex":"2200"},{"Typeface name":"Symbol","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"35","Unicode hex":"23"},{"Typeface name":"Symbol","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"8707","Unicode hex":"2203"},{"Typeface name":"Symbol","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"37","Unicode hex":"25"},{"Typeface name":"Symbol","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"38","Unicode hex":"26"},{"Typeface name":"Symbol","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"8717","Unicode hex":"220D"},{"Typeface name":"Symbol","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"40","Unicode hex":"28"},{"Typeface name":"Symbol","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"41","Unicode hex":"29"},{"Typeface name":"Symbol","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"42","Unicode hex":"2A"},{"Typeface name":"Symbol","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"43","Unicode hex":"2B"},{"Typeface name":"Symbol","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"44","Unicode hex":"2C"},{"Typeface name":"Symbol","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"8722","Unicode hex":"2212"},{"Typeface name":"Symbol","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"46","Unicode hex":"2E"},{"Typeface name":"Symbol","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"47","Unicode hex":"2F"},{"Typeface name":"Symbol","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"48","Unicode hex":"30"},{"Typeface name":"Symbol","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"49","Unicode hex":"31"},{"Typeface name":"Symbol","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"50","Unicode hex":"32"},{"Typeface name":"Symbol","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"51","Unicode hex":"33"},{"Typeface name":"Symbol","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"52","Unicode hex":"34"},{"Typeface name":"Symbol","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"53","Unicode hex":"35"},{"Typeface name":"Symbol","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"54","Unicode hex":"36"},{"Typeface name":"Symbol","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"55","Unicode hex":"37"},{"Typeface name":"Symbol","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"56","Unicode hex":"38"},{"Typeface name":"Symbol","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"57","Unicode hex":"39"},{"Typeface name":"Symbol","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"58","Unicode hex":"3A"},{"Typeface name":"Symbol","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"59","Unicode hex":"3B"},{"Typeface name":"Symbol","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"60","Unicode hex":"3C"},{"Typeface name":"Symbol","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"61","Unicode hex":"3D"},{"Typeface name":"Symbol","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"62","Unicode hex":"3E"},{"Typeface name":"Symbol","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"63","Unicode hex":"3F"},{"Typeface name":"Symbol","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"8773","Unicode hex":"2245"},{"Typeface name":"Symbol","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"913","Unicode hex":"391"},{"Typeface name":"Symbol","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"914","Unicode hex":"392"},{"Typeface name":"Symbol","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"935","Unicode hex":"3A7"},{"Typeface name":"Symbol","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"916","Unicode hex":"394"},{"Typeface name":"Symbol","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"917","Unicode hex":"395"},{"Typeface name":"Symbol","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"934","Unicode hex":"3A6"},{"Typeface name":"Symbol","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"915","Unicode hex":"393"},{"Typeface name":"Symbol","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"919","Unicode hex":"397"},{"Typeface name":"Symbol","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"921","Unicode hex":"399"},{"Typeface name":"Symbol","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"977","Unicode hex":"3D1"},{"Typeface name":"Symbol","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"922","Unicode hex":"39A"},{"Typeface name":"Symbol","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"923","Unicode hex":"39B"},{"Typeface name":"Symbol","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"924","Unicode hex":"39C"},{"Typeface name":"Symbol","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"925","Unicode hex":"39D"},{"Typeface name":"Symbol","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"927","Unicode hex":"39F"},{"Typeface name":"Symbol","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"928","Unicode hex":"3A0"},{"Typeface name":"Symbol","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"920","Unicode hex":"398"},{"Typeface name":"Symbol","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"929","Unicode hex":"3A1"},{"Typeface name":"Symbol","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"931","Unicode hex":"3A3"},{"Typeface name":"Symbol","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"932","Unicode hex":"3A4"},{"Typeface name":"Symbol","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"933","Unicode hex":"3A5"},{"Typeface name":"Symbol","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"962","Unicode hex":"3C2"},{"Typeface name":"Symbol","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"937","Unicode hex":"3A9"},{"Typeface name":"Symbol","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"926","Unicode hex":"39E"},{"Typeface name":"Symbol","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"936","Unicode hex":"3A8"},{"Typeface name":"Symbol","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"918","Unicode hex":"396"},{"Typeface name":"Symbol","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"91","Unicode hex":"5B"},{"Typeface name":"Symbol","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"8756","Unicode hex":"2234"},{"Typeface name":"Symbol","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"93","Unicode hex":"5D"},{"Typeface name":"Symbol","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"8869","Unicode hex":"22A5"},{"Typeface name":"Symbol","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"95","Unicode hex":"5F"},{"Typeface name":"Symbol","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"8254","Unicode hex":"203E"},{"Typeface name":"Symbol","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"945","Unicode hex":"3B1"},{"Typeface name":"Symbol","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"946","Unicode hex":"3B2"},{"Typeface name":"Symbol","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"967","Unicode hex":"3C7"},{"Typeface name":"Symbol","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"948","Unicode hex":"3B4"},{"Typeface name":"Symbol","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"949","Unicode hex":"3B5"},{"Typeface name":"Symbol","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"966","Unicode hex":"3C6"},{"Typeface name":"Symbol","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"947","Unicode hex":"3B3"},{"Typeface name":"Symbol","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"951","Unicode hex":"3B7"},{"Typeface name":"Symbol","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"953","Unicode hex":"3B9"},{"Typeface name":"Symbol","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"981","Unicode hex":"3D5"},{"Typeface name":"Symbol","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"954","Unicode hex":"3BA"},{"Typeface name":"Symbol","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"955","Unicode hex":"3BB"},{"Typeface name":"Symbol","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"956","Unicode hex":"3BC"},{"Typeface name":"Symbol","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"957","Unicode hex":"3BD"},{"Typeface name":"Symbol","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"959","Unicode hex":"3BF"},{"Typeface name":"Symbol","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"960","Unicode hex":"3C0"},{"Typeface name":"Symbol","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"952","Unicode hex":"3B8"},{"Typeface name":"Symbol","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"961","Unicode hex":"3C1"},{"Typeface name":"Symbol","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"963","Unicode hex":"3C3"},{"Typeface name":"Symbol","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"964","Unicode hex":"3C4"},{"Typeface name":"Symbol","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"965","Unicode hex":"3C5"},{"Typeface name":"Symbol","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"982","Unicode hex":"3D6"},{"Typeface name":"Symbol","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"969","Unicode hex":"3C9"},{"Typeface name":"Symbol","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"958","Unicode hex":"3BE"},{"Typeface name":"Symbol","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"968","Unicode hex":"3C8"},{"Typeface name":"Symbol","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"950","Unicode hex":"3B6"},{"Typeface name":"Symbol","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"123","Unicode hex":"7B"},{"Typeface name":"Symbol","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"124","Unicode hex":"7C"},{"Typeface name":"Symbol","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"125","Unicode hex":"7D"},{"Typeface name":"Symbol","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"126","Unicode hex":"7E"},{"Typeface name":"Symbol","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"8364","Unicode hex":"20AC"},{"Typeface name":"Symbol","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"978","Unicode hex":"3D2"},{"Typeface name":"Symbol","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"8242","Unicode hex":"2032"},{"Typeface name":"Symbol","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"8804","Unicode hex":"2264"},{"Typeface name":"Symbol","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"8260","Unicode hex":"2044"},{"Typeface name":"Symbol","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"8734","Unicode hex":"221E"},{"Typeface name":"Symbol","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"402","Unicode hex":"192"},{"Typeface name":"Symbol","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"9827","Unicode hex":"2663"},{"Typeface name":"Symbol","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"9830","Unicode hex":"2666"},{"Typeface name":"Symbol","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"9829","Unicode hex":"2665"},{"Typeface name":"Symbol","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"9824","Unicode hex":"2660"},{"Typeface name":"Symbol","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"8596","Unicode hex":"2194"},{"Typeface name":"Symbol","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"8592","Unicode hex":"2190"},{"Typeface name":"Symbol","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"8593","Unicode hex":"2191"},{"Typeface name":"Symbol","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"8594","Unicode hex":"2192"},{"Typeface name":"Symbol","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"8595","Unicode hex":"2193"},{"Typeface name":"Symbol","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"176","Unicode hex":"B0"},{"Typeface name":"Symbol","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"177","Unicode hex":"B1"},{"Typeface name":"Symbol","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"8243","Unicode hex":"2033"},{"Typeface name":"Symbol","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"8805","Unicode hex":"2265"},{"Typeface name":"Symbol","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"215","Unicode hex":"D7"},{"Typeface name":"Symbol","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"8733","Unicode hex":"221D"},{"Typeface name":"Symbol","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"8706","Unicode hex":"2202"},{"Typeface name":"Symbol","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"8226","Unicode hex":"2022"},{"Typeface name":"Symbol","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"247","Unicode hex":"F7"},{"Typeface name":"Symbol","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"8800","Unicode hex":"2260"},{"Typeface name":"Symbol","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"8801","Unicode hex":"2261"},{"Typeface name":"Symbol","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"8776","Unicode hex":"2248"},{"Typeface name":"Symbol","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"8230","Unicode hex":"2026"},{"Typeface name":"Symbol","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"9168","Unicode hex":"23D0"},{"Typeface name":"Symbol","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"9135","Unicode hex":"23AF"},{"Typeface name":"Symbol","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"8629","Unicode hex":"21B5"},{"Typeface name":"Symbol","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"8501","Unicode hex":"2135"},{"Typeface name":"Symbol","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"8465","Unicode hex":"2111"},{"Typeface name":"Symbol","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"8476","Unicode hex":"211C"},{"Typeface name":"Symbol","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"8472","Unicode hex":"2118"},{"Typeface name":"Symbol","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"8855","Unicode hex":"2297"},{"Typeface name":"Symbol","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"8853","Unicode hex":"2295"},{"Typeface name":"Symbol","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"8709","Unicode hex":"2205"},{"Typeface name":"Symbol","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"8745","Unicode hex":"2229"},{"Typeface name":"Symbol","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"8746","Unicode hex":"222A"},{"Typeface name":"Symbol","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"8835","Unicode hex":"2283"},{"Typeface name":"Symbol","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"8839","Unicode hex":"2287"},{"Typeface name":"Symbol","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"8836","Unicode hex":"2284"},{"Typeface name":"Symbol","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"8834","Unicode hex":"2282"},{"Typeface name":"Symbol","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"8838","Unicode hex":"2286"},{"Typeface name":"Symbol","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"8712","Unicode hex":"2208"},{"Typeface name":"Symbol","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"8713","Unicode hex":"2209"},{"Typeface name":"Symbol","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"8736","Unicode hex":"2220"},{"Typeface name":"Symbol","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"8711","Unicode hex":"2207"},{"Typeface name":"Symbol","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"174","Unicode hex":"AE"},{"Typeface name":"Symbol","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"169","Unicode hex":"A9"},{"Typeface name":"Symbol","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"8482","Unicode hex":"2122"},{"Typeface name":"Symbol","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"8719","Unicode hex":"220F"},{"Typeface name":"Symbol","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"8730","Unicode hex":"221A"},{"Typeface name":"Symbol","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"8901","Unicode hex":"22C5"},{"Typeface name":"Symbol","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"172","Unicode hex":"AC"},{"Typeface name":"Symbol","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"8743","Unicode hex":"2227"},{"Typeface name":"Symbol","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"8744","Unicode hex":"2228"},{"Typeface name":"Symbol","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"8660","Unicode hex":"21D4"},{"Typeface name":"Symbol","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"8656","Unicode hex":"21D0"},{"Typeface name":"Symbol","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"8657","Unicode hex":"21D1"},{"Typeface name":"Symbol","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"8658","Unicode hex":"21D2"},{"Typeface name":"Symbol","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"8659","Unicode hex":"21D3"},{"Typeface name":"Symbol","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"9674","Unicode hex":"25CA"},{"Typeface name":"Symbol","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"12296","Unicode hex":"3008"},{"Typeface name":"Symbol","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"174","Unicode hex":"AE"},{"Typeface name":"Symbol","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"169","Unicode hex":"A9"},{"Typeface name":"Symbol","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"8482","Unicode hex":"2122"},{"Typeface name":"Symbol","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"8721","Unicode hex":"2211"},{"Typeface name":"Symbol","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"9115","Unicode hex":"239B"},{"Typeface name":"Symbol","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"9116","Unicode hex":"239C"},{"Typeface name":"Symbol","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"9117","Unicode hex":"239D"},{"Typeface name":"Symbol","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"9121","Unicode hex":"23A1"},{"Typeface name":"Symbol","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"9122","Unicode hex":"23A2"},{"Typeface name":"Symbol","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"9123","Unicode hex":"23A3"},{"Typeface name":"Symbol","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"9127","Unicode hex":"23A7"},{"Typeface name":"Symbol","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"9128","Unicode hex":"23A8"},{"Typeface name":"Symbol","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"9129","Unicode hex":"23A9"},{"Typeface name":"Symbol","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"9130","Unicode hex":"23AA"},{"Typeface name":"Symbol","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"63743","Unicode hex":"F8FF"},{"Typeface name":"Symbol","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"12297","Unicode hex":"3009"},{"Typeface name":"Symbol","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"8747","Unicode hex":"222B"},{"Typeface name":"Symbol","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"8992","Unicode hex":"2320"},{"Typeface name":"Symbol","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"9134","Unicode hex":"23AE"},{"Typeface name":"Symbol","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"8993","Unicode hex":"2321"},{"Typeface name":"Symbol","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"9118","Unicode hex":"239E"},{"Typeface name":"Symbol","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"9119","Unicode hex":"239F"},{"Typeface name":"Symbol","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"9120","Unicode hex":"23A0"},{"Typeface name":"Symbol","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"9124","Unicode hex":"23A4"},{"Typeface name":"Symbol","Dingbat dec":"250","Dingbat hex":"FA","Unicode dec":"9125","Unicode hex":"23A5"},{"Typeface name":"Symbol","Dingbat dec":"251","Dingbat hex":"FB","Unicode dec":"9126","Unicode hex":"23A6"},{"Typeface name":"Symbol","Dingbat dec":"252","Dingbat hex":"FC","Unicode dec":"9131","Unicode hex":"23AB"},{"Typeface name":"Symbol","Dingbat dec":"253","Dingbat hex":"FD","Unicode dec":"9132","Unicode hex":"23AC"},{"Typeface name":"Symbol","Dingbat dec":"254","Dingbat hex":"FE","Unicode dec":"9133","Unicode hex":"23AD"},{"Typeface name":"Webdings","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Webdings","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"128375","Unicode hex":"1F577"},{"Typeface name":"Webdings","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"128376","Unicode hex":"1F578"},{"Typeface name":"Webdings","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"128370","Unicode hex":"1F572"},{"Typeface name":"Webdings","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"128374","Unicode hex":"1F576"},{"Typeface name":"Webdings","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"127942","Unicode hex":"1F3C6"},{"Typeface name":"Webdings","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"127894","Unicode hex":"1F396"},{"Typeface name":"Webdings","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"128391","Unicode hex":"1F587"},{"Typeface name":"Webdings","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"128488","Unicode hex":"1F5E8"},{"Typeface name":"Webdings","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"128489","Unicode hex":"1F5E9"},{"Typeface name":"Webdings","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"128496","Unicode hex":"1F5F0"},{"Typeface name":"Webdings","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"128497","Unicode hex":"1F5F1"},{"Typeface name":"Webdings","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"127798","Unicode hex":"1F336"},{"Typeface name":"Webdings","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"127895","Unicode hex":"1F397"},{"Typeface name":"Webdings","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"128638","Unicode hex":"1F67E"},{"Typeface name":"Webdings","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"128636","Unicode hex":"1F67C"},{"Typeface name":"Webdings","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"128469","Unicode hex":"1F5D5"},{"Typeface name":"Webdings","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"128470","Unicode hex":"1F5D6"},{"Typeface name":"Webdings","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"128471","Unicode hex":"1F5D7"},{"Typeface name":"Webdings","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"9204","Unicode hex":"23F4"},{"Typeface name":"Webdings","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"9205","Unicode hex":"23F5"},{"Typeface name":"Webdings","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"9206","Unicode hex":"23F6"},{"Typeface name":"Webdings","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"9207","Unicode hex":"23F7"},{"Typeface name":"Webdings","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"9194","Unicode hex":"23EA"},{"Typeface name":"Webdings","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"9193","Unicode hex":"23E9"},{"Typeface name":"Webdings","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"9198","Unicode hex":"23EE"},{"Typeface name":"Webdings","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"9197","Unicode hex":"23ED"},{"Typeface name":"Webdings","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"9208","Unicode hex":"23F8"},{"Typeface name":"Webdings","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"9209","Unicode hex":"23F9"},{"Typeface name":"Webdings","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"9210","Unicode hex":"23FA"},{"Typeface name":"Webdings","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"128474","Unicode hex":"1F5DA"},{"Typeface name":"Webdings","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"128499","Unicode hex":"1F5F3"},{"Typeface name":"Webdings","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"128736","Unicode hex":"1F6E0"},{"Typeface name":"Webdings","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"127959","Unicode hex":"1F3D7"},{"Typeface name":"Webdings","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"127960","Unicode hex":"1F3D8"},{"Typeface name":"Webdings","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"127961","Unicode hex":"1F3D9"},{"Typeface name":"Webdings","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"127962","Unicode hex":"1F3DA"},{"Typeface name":"Webdings","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"127964","Unicode hex":"1F3DC"},{"Typeface name":"Webdings","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"127981","Unicode hex":"1F3ED"},{"Typeface name":"Webdings","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"127963","Unicode hex":"1F3DB"},{"Typeface name":"Webdings","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"127968","Unicode hex":"1F3E0"},{"Typeface name":"Webdings","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"127958","Unicode hex":"1F3D6"},{"Typeface name":"Webdings","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"127965","Unicode hex":"1F3DD"},{"Typeface name":"Webdings","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"128739","Unicode hex":"1F6E3"},{"Typeface name":"Webdings","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"128269","Unicode hex":"1F50D"},{"Typeface name":"Webdings","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"127956","Unicode hex":"1F3D4"},{"Typeface name":"Webdings","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"128065","Unicode hex":"1F441"},{"Typeface name":"Webdings","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"128066","Unicode hex":"1F442"},{"Typeface name":"Webdings","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"127966","Unicode hex":"1F3DE"},{"Typeface name":"Webdings","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"127957","Unicode hex":"1F3D5"},{"Typeface name":"Webdings","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"128740","Unicode hex":"1F6E4"},{"Typeface name":"Webdings","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"127967","Unicode hex":"1F3DF"},{"Typeface name":"Webdings","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"128755","Unicode hex":"1F6F3"},{"Typeface name":"Webdings","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"128364","Unicode hex":"1F56C"},{"Typeface name":"Webdings","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"128363","Unicode hex":"1F56B"},{"Typeface name":"Webdings","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"128360","Unicode hex":"1F568"},{"Typeface name":"Webdings","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"128264","Unicode hex":"1F508"},{"Typeface name":"Webdings","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"127892","Unicode hex":"1F394"},{"Typeface name":"Webdings","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"127893","Unicode hex":"1F395"},{"Typeface name":"Webdings","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"128492","Unicode hex":"1F5EC"},{"Typeface name":"Webdings","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"128637","Unicode hex":"1F67D"},{"Typeface name":"Webdings","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"128493","Unicode hex":"1F5ED"},{"Typeface name":"Webdings","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"128490","Unicode hex":"1F5EA"},{"Typeface name":"Webdings","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"128491","Unicode hex":"1F5EB"},{"Typeface name":"Webdings","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"11156","Unicode hex":"2B94"},{"Typeface name":"Webdings","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"10004","Unicode hex":"2714"},{"Typeface name":"Webdings","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"128690","Unicode hex":"1F6B2"},{"Typeface name":"Webdings","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"11036","Unicode hex":"2B1C"},{"Typeface name":"Webdings","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"128737","Unicode hex":"1F6E1"},{"Typeface name":"Webdings","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"128230","Unicode hex":"1F4E6"},{"Typeface name":"Webdings","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"128753","Unicode hex":"1F6F1"},{"Typeface name":"Webdings","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"11035","Unicode hex":"2B1B"},{"Typeface name":"Webdings","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"128657","Unicode hex":"1F691"},{"Typeface name":"Webdings","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"128712","Unicode hex":"1F6C8"},{"Typeface name":"Webdings","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"128745","Unicode hex":"1F6E9"},{"Typeface name":"Webdings","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"128752","Unicode hex":"1F6F0"},{"Typeface name":"Webdings","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"128968","Unicode hex":"1F7C8"},{"Typeface name":"Webdings","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"128372","Unicode hex":"1F574"},{"Typeface name":"Webdings","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"11044","Unicode hex":"2B24"},{"Typeface name":"Webdings","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"128741","Unicode hex":"1F6E5"},{"Typeface name":"Webdings","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"128660","Unicode hex":"1F694"},{"Typeface name":"Webdings","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"128472","Unicode hex":"1F5D8"},{"Typeface name":"Webdings","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"128473","Unicode hex":"1F5D9"},{"Typeface name":"Webdings","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"10067","Unicode hex":"2753"},{"Typeface name":"Webdings","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"128754","Unicode hex":"1F6F2"},{"Typeface name":"Webdings","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"128647","Unicode hex":"1F687"},{"Typeface name":"Webdings","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"128653","Unicode hex":"1F68D"},{"Typeface name":"Webdings","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"9971","Unicode hex":"26F3"},{"Typeface name":"Webdings","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"10680","Unicode hex":"29B8"},{"Typeface name":"Webdings","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"8854","Unicode hex":"2296"},{"Typeface name":"Webdings","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"128685","Unicode hex":"1F6AD"},{"Typeface name":"Webdings","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"128494","Unicode hex":"1F5EE"},{"Typeface name":"Webdings","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"9168","Unicode hex":"23D0"},{"Typeface name":"Webdings","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"128495","Unicode hex":"1F5EF"},{"Typeface name":"Webdings","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"128498","Unicode hex":"1F5F2"},{"Typeface name":"Webdings","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"128697","Unicode hex":"1F6B9"},{"Typeface name":"Webdings","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"128698","Unicode hex":"1F6BA"},{"Typeface name":"Webdings","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"128713","Unicode hex":"1F6C9"},{"Typeface name":"Webdings","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"128714","Unicode hex":"1F6CA"},{"Typeface name":"Webdings","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"128700","Unicode hex":"1F6BC"},{"Typeface name":"Webdings","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"128125","Unicode hex":"1F47D"},{"Typeface name":"Webdings","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"127947","Unicode hex":"1F3CB"},{"Typeface name":"Webdings","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"9975","Unicode hex":"26F7"},{"Typeface name":"Webdings","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"127938","Unicode hex":"1F3C2"},{"Typeface name":"Webdings","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"127948","Unicode hex":"1F3CC"},{"Typeface name":"Webdings","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"127946","Unicode hex":"1F3CA"},{"Typeface name":"Webdings","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"127940","Unicode hex":"1F3C4"},{"Typeface name":"Webdings","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"127949","Unicode hex":"1F3CD"},{"Typeface name":"Webdings","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"127950","Unicode hex":"1F3CE"},{"Typeface name":"Webdings","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"128664","Unicode hex":"1F698"},{"Typeface name":"Webdings","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"128480","Unicode hex":"1F5E0"},{"Typeface name":"Webdings","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"128738","Unicode hex":"1F6E2"},{"Typeface name":"Webdings","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"128176","Unicode hex":"1F4B0"},{"Typeface name":"Webdings","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"127991","Unicode hex":"1F3F7"},{"Typeface name":"Webdings","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"128179","Unicode hex":"1F4B3"},{"Typeface name":"Webdings","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"128106","Unicode hex":"1F46A"},{"Typeface name":"Webdings","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"128481","Unicode hex":"1F5E1"},{"Typeface name":"Webdings","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"128482","Unicode hex":"1F5E2"},{"Typeface name":"Webdings","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"128483","Unicode hex":"1F5E3"},{"Typeface name":"Webdings","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"10031","Unicode hex":"272F"},{"Typeface name":"Webdings","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"128388","Unicode hex":"1F584"},{"Typeface name":"Webdings","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"128389","Unicode hex":"1F585"},{"Typeface name":"Webdings","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"128387","Unicode hex":"1F583"},{"Typeface name":"Webdings","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"128390","Unicode hex":"1F586"},{"Typeface name":"Webdings","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"128441","Unicode hex":"1F5B9"},{"Typeface name":"Webdings","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"128442","Unicode hex":"1F5BA"},{"Typeface name":"Webdings","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"128443","Unicode hex":"1F5BB"},{"Typeface name":"Webdings","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"128373","Unicode hex":"1F575"},{"Typeface name":"Webdings","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"128368","Unicode hex":"1F570"},{"Typeface name":"Webdings","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"128445","Unicode hex":"1F5BD"},{"Typeface name":"Webdings","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"128446","Unicode hex":"1F5BE"},{"Typeface name":"Webdings","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"128203","Unicode hex":"1F4CB"},{"Typeface name":"Webdings","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"128466","Unicode hex":"1F5D2"},{"Typeface name":"Webdings","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"128467","Unicode hex":"1F5D3"},{"Typeface name":"Webdings","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"128366","Unicode hex":"1F56E"},{"Typeface name":"Webdings","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"128218","Unicode hex":"1F4DA"},{"Typeface name":"Webdings","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"128478","Unicode hex":"1F5DE"},{"Typeface name":"Webdings","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"128479","Unicode hex":"1F5DF"},{"Typeface name":"Webdings","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"128451","Unicode hex":"1F5C3"},{"Typeface name":"Webdings","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"128450","Unicode hex":"1F5C2"},{"Typeface name":"Webdings","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"128444","Unicode hex":"1F5BC"},{"Typeface name":"Webdings","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"127917","Unicode hex":"1F3AD"},{"Typeface name":"Webdings","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"127900","Unicode hex":"1F39C"},{"Typeface name":"Webdings","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"127896","Unicode hex":"1F398"},{"Typeface name":"Webdings","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"127897","Unicode hex":"1F399"},{"Typeface name":"Webdings","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"127911","Unicode hex":"1F3A7"},{"Typeface name":"Webdings","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"128191","Unicode hex":"1F4BF"},{"Typeface name":"Webdings","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"127902","Unicode hex":"1F39E"},{"Typeface name":"Webdings","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"128247","Unicode hex":"1F4F7"},{"Typeface name":"Webdings","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"127903","Unicode hex":"1F39F"},{"Typeface name":"Webdings","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"127916","Unicode hex":"1F3AC"},{"Typeface name":"Webdings","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"128253","Unicode hex":"1F4FD"},{"Typeface name":"Webdings","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"128249","Unicode hex":"1F4F9"},{"Typeface name":"Webdings","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"128254","Unicode hex":"1F4FE"},{"Typeface name":"Webdings","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"128251","Unicode hex":"1F4FB"},{"Typeface name":"Webdings","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"127898","Unicode hex":"1F39A"},{"Typeface name":"Webdings","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"127899","Unicode hex":"1F39B"},{"Typeface name":"Webdings","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"128250","Unicode hex":"1F4FA"},{"Typeface name":"Webdings","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"128187","Unicode hex":"1F4BB"},{"Typeface name":"Webdings","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"128421","Unicode hex":"1F5A5"},{"Typeface name":"Webdings","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"128422","Unicode hex":"1F5A6"},{"Typeface name":"Webdings","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"128423","Unicode hex":"1F5A7"},{"Typeface name":"Webdings","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"128377","Unicode hex":"1F579"},{"Typeface name":"Webdings","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"127918","Unicode hex":"1F3AE"},{"Typeface name":"Webdings","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"128379","Unicode hex":"1F57B"},{"Typeface name":"Webdings","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"128380","Unicode hex":"1F57C"},{"Typeface name":"Webdings","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"128223","Unicode hex":"1F4DF"},{"Typeface name":"Webdings","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"128385","Unicode hex":"1F581"},{"Typeface name":"Webdings","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"128384","Unicode hex":"1F580"},{"Typeface name":"Webdings","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"128424","Unicode hex":"1F5A8"},{"Typeface name":"Webdings","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"128425","Unicode hex":"1F5A9"},{"Typeface name":"Webdings","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"128447","Unicode hex":"1F5BF"},{"Typeface name":"Webdings","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"128426","Unicode hex":"1F5AA"},{"Typeface name":"Webdings","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"128476","Unicode hex":"1F5DC"},{"Typeface name":"Webdings","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"128274","Unicode hex":"1F512"},{"Typeface name":"Webdings","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"128275","Unicode hex":"1F513"},{"Typeface name":"Webdings","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"128477","Unicode hex":"1F5DD"},{"Typeface name":"Webdings","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"128229","Unicode hex":"1F4E5"},{"Typeface name":"Webdings","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"128228","Unicode hex":"1F4E4"},{"Typeface name":"Webdings","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"128371","Unicode hex":"1F573"},{"Typeface name":"Webdings","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"127779","Unicode hex":"1F323"},{"Typeface name":"Webdings","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"127780","Unicode hex":"1F324"},{"Typeface name":"Webdings","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"127781","Unicode hex":"1F325"},{"Typeface name":"Webdings","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"127782","Unicode hex":"1F326"},{"Typeface name":"Webdings","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"9729","Unicode hex":"2601"},{"Typeface name":"Webdings","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"127784","Unicode hex":"1F328"},{"Typeface name":"Webdings","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"127783","Unicode hex":"1F327"},{"Typeface name":"Webdings","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"127785","Unicode hex":"1F329"},{"Typeface name":"Webdings","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"127786","Unicode hex":"1F32A"},{"Typeface name":"Webdings","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"127788","Unicode hex":"1F32C"},{"Typeface name":"Webdings","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"127787","Unicode hex":"1F32B"},{"Typeface name":"Webdings","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"127772","Unicode hex":"1F31C"},{"Typeface name":"Webdings","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"127777","Unicode hex":"1F321"},{"Typeface name":"Webdings","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"128715","Unicode hex":"1F6CB"},{"Typeface name":"Webdings","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"128719","Unicode hex":"1F6CF"},{"Typeface name":"Webdings","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"127869","Unicode hex":"1F37D"},{"Typeface name":"Webdings","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"127864","Unicode hex":"1F378"},{"Typeface name":"Webdings","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"128718","Unicode hex":"1F6CE"},{"Typeface name":"Webdings","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"128717","Unicode hex":"1F6CD"},{"Typeface name":"Webdings","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"9413","Unicode hex":"24C5"},{"Typeface name":"Webdings","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"9855","Unicode hex":"267F"},{"Typeface name":"Webdings","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"128710","Unicode hex":"1F6C6"},{"Typeface name":"Webdings","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"128392","Unicode hex":"1F588"},{"Typeface name":"Webdings","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"127891","Unicode hex":"1F393"},{"Typeface name":"Webdings","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"128484","Unicode hex":"1F5E4"},{"Typeface name":"Webdings","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"128485","Unicode hex":"1F5E5"},{"Typeface name":"Webdings","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"128486","Unicode hex":"1F5E6"},{"Typeface name":"Webdings","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"128487","Unicode hex":"1F5E7"},{"Typeface name":"Webdings","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"128746","Unicode hex":"1F6EA"},{"Typeface name":"Webdings","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"128063","Unicode hex":"1F43F"},{"Typeface name":"Webdings","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"128038","Unicode hex":"1F426"},{"Typeface name":"Webdings","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"128031","Unicode hex":"1F41F"},{"Typeface name":"Webdings","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"128021","Unicode hex":"1F415"},{"Typeface name":"Webdings","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"128008","Unicode hex":"1F408"},{"Typeface name":"Webdings","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"128620","Unicode hex":"1F66C"},{"Typeface name":"Webdings","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"128622","Unicode hex":"1F66E"},{"Typeface name":"Webdings","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"128621","Unicode hex":"1F66D"},{"Typeface name":"Webdings","Dingbat dec":"250","Dingbat hex":"FA","Unicode dec":"128623","Unicode hex":"1F66F"},{"Typeface name":"Webdings","Dingbat dec":"251","Dingbat hex":"FB","Unicode dec":"128506","Unicode hex":"1F5FA"},{"Typeface name":"Webdings","Dingbat dec":"252","Dingbat hex":"FC","Unicode dec":"127757","Unicode hex":"1F30D"},{"Typeface name":"Webdings","Dingbat dec":"253","Dingbat hex":"FD","Unicode dec":"127759","Unicode hex":"1F30F"},{"Typeface name":"Webdings","Dingbat dec":"254","Dingbat hex":"FE","Unicode dec":"127758","Unicode hex":"1F30E"},{"Typeface name":"Webdings","Dingbat dec":"255","Dingbat hex":"FF","Unicode dec":"128330","Unicode hex":"1F54A"},{"Typeface name":"Wingdings","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Wingdings","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"128393","Unicode hex":"1F589"},{"Typeface name":"Wingdings","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"9986","Unicode hex":"2702"},{"Typeface name":"Wingdings","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"9985","Unicode hex":"2701"},{"Typeface name":"Wingdings","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"128083","Unicode hex":"1F453"},{"Typeface name":"Wingdings","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"128365","Unicode hex":"1F56D"},{"Typeface name":"Wingdings","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"128366","Unicode hex":"1F56E"},{"Typeface name":"Wingdings","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"128367","Unicode hex":"1F56F"},{"Typeface name":"Wingdings","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"128383","Unicode hex":"1F57F"},{"Typeface name":"Wingdings","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"9990","Unicode hex":"2706"},{"Typeface name":"Wingdings","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"128386","Unicode hex":"1F582"},{"Typeface name":"Wingdings","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"128387","Unicode hex":"1F583"},{"Typeface name":"Wingdings","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"128234","Unicode hex":"1F4EA"},{"Typeface name":"Wingdings","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"128235","Unicode hex":"1F4EB"},{"Typeface name":"Wingdings","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"128236","Unicode hex":"1F4EC"},{"Typeface name":"Wingdings","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"128237","Unicode hex":"1F4ED"},{"Typeface name":"Wingdings","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"128448","Unicode hex":"1F5C0"},{"Typeface name":"Wingdings","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"128449","Unicode hex":"1F5C1"},{"Typeface name":"Wingdings","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"128462","Unicode hex":"1F5CE"},{"Typeface name":"Wingdings","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"128463","Unicode hex":"1F5CF"},{"Typeface name":"Wingdings","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"128464","Unicode hex":"1F5D0"},{"Typeface name":"Wingdings","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"128452","Unicode hex":"1F5C4"},{"Typeface name":"Wingdings","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"8987","Unicode hex":"231B"},{"Typeface name":"Wingdings","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"128430","Unicode hex":"1F5AE"},{"Typeface name":"Wingdings","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"128432","Unicode hex":"1F5B0"},{"Typeface name":"Wingdings","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"128434","Unicode hex":"1F5B2"},{"Typeface name":"Wingdings","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"128435","Unicode hex":"1F5B3"},{"Typeface name":"Wingdings","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"128436","Unicode hex":"1F5B4"},{"Typeface name":"Wingdings","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"128427","Unicode hex":"1F5AB"},{"Typeface name":"Wingdings","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"128428","Unicode hex":"1F5AC"},{"Typeface name":"Wingdings","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"9991","Unicode hex":"2707"},{"Typeface name":"Wingdings","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"9997","Unicode hex":"270D"},{"Typeface name":"Wingdings","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"128398","Unicode hex":"1F58E"},{"Typeface name":"Wingdings","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"9996","Unicode hex":"270C"},{"Typeface name":"Wingdings","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"128399","Unicode hex":"1F58F"},{"Typeface name":"Wingdings","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"128077","Unicode hex":"1F44D"},{"Typeface name":"Wingdings","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"128078","Unicode hex":"1F44E"},{"Typeface name":"Wingdings","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"9756","Unicode hex":"261C"},{"Typeface name":"Wingdings","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"9758","Unicode hex":"261E"},{"Typeface name":"Wingdings","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"9757","Unicode hex":"261D"},{"Typeface name":"Wingdings","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"9759","Unicode hex":"261F"},{"Typeface name":"Wingdings","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"128400","Unicode hex":"1F590"},{"Typeface name":"Wingdings","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"9786","Unicode hex":"263A"},{"Typeface name":"Wingdings","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"128528","Unicode hex":"1F610"},{"Typeface name":"Wingdings","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"9785","Unicode hex":"2639"},{"Typeface name":"Wingdings","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"128163","Unicode hex":"1F4A3"},{"Typeface name":"Wingdings","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"128369","Unicode hex":"1F571"},{"Typeface name":"Wingdings","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"127987","Unicode hex":"1F3F3"},{"Typeface name":"Wingdings","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"127985","Unicode hex":"1F3F1"},{"Typeface name":"Wingdings","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"9992","Unicode hex":"2708"},{"Typeface name":"Wingdings","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"9788","Unicode hex":"263C"},{"Typeface name":"Wingdings","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"127778","Unicode hex":"1F322"},{"Typeface name":"Wingdings","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"10052","Unicode hex":"2744"},{"Typeface name":"Wingdings","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"128326","Unicode hex":"1F546"},{"Typeface name":"Wingdings","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"10014","Unicode hex":"271E"},{"Typeface name":"Wingdings","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"128328","Unicode hex":"1F548"},{"Typeface name":"Wingdings","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"10016","Unicode hex":"2720"},{"Typeface name":"Wingdings","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"10017","Unicode hex":"2721"},{"Typeface name":"Wingdings","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"9770","Unicode hex":"262A"},{"Typeface name":"Wingdings","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"9775","Unicode hex":"262F"},{"Typeface name":"Wingdings","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"128329","Unicode hex":"1F549"},{"Typeface name":"Wingdings","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"9784","Unicode hex":"2638"},{"Typeface name":"Wingdings","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"9800","Unicode hex":"2648"},{"Typeface name":"Wingdings","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"9801","Unicode hex":"2649"},{"Typeface name":"Wingdings","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"9802","Unicode hex":"264A"},{"Typeface name":"Wingdings","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"9803","Unicode hex":"264B"},{"Typeface name":"Wingdings","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"9804","Unicode hex":"264C"},{"Typeface name":"Wingdings","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"9805","Unicode hex":"264D"},{"Typeface name":"Wingdings","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"9806","Unicode hex":"264E"},{"Typeface name":"Wingdings","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"9807","Unicode hex":"264F"},{"Typeface name":"Wingdings","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"9808","Unicode hex":"2650"},{"Typeface name":"Wingdings","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"9809","Unicode hex":"2651"},{"Typeface name":"Wingdings","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"9810","Unicode hex":"2652"},{"Typeface name":"Wingdings","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"9811","Unicode hex":"2653"},{"Typeface name":"Wingdings","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"128624","Unicode hex":"1F670"},{"Typeface name":"Wingdings","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"128629","Unicode hex":"1F675"},{"Typeface name":"Wingdings","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"9899","Unicode hex":"26AB"},{"Typeface name":"Wingdings","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"128318","Unicode hex":"1F53E"},{"Typeface name":"Wingdings","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"9724","Unicode hex":"25FC"},{"Typeface name":"Wingdings","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"128911","Unicode hex":"1F78F"},{"Typeface name":"Wingdings","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"128912","Unicode hex":"1F790"},{"Typeface name":"Wingdings","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"10065","Unicode hex":"2751"},{"Typeface name":"Wingdings","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"10066","Unicode hex":"2752"},{"Typeface name":"Wingdings","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"128927","Unicode hex":"1F79F"},{"Typeface name":"Wingdings","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"10731","Unicode hex":"29EB"},{"Typeface name":"Wingdings","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"9670","Unicode hex":"25C6"},{"Typeface name":"Wingdings","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"10070","Unicode hex":"2756"},{"Typeface name":"Wingdings","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"11049","Unicode hex":"2B29"},{"Typeface name":"Wingdings","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"8999","Unicode hex":"2327"},{"Typeface name":"Wingdings","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"11193","Unicode hex":"2BB9"},{"Typeface name":"Wingdings","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"8984","Unicode hex":"2318"},{"Typeface name":"Wingdings","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"127989","Unicode hex":"1F3F5"},{"Typeface name":"Wingdings","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"127990","Unicode hex":"1F3F6"},{"Typeface name":"Wingdings","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"128630","Unicode hex":"1F676"},{"Typeface name":"Wingdings","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"128631","Unicode hex":"1F677"},{"Typeface name":"Wingdings","Dingbat dec":"127","Dingbat hex":"7F","Unicode dec":"9647","Unicode hex":"25AF"},{"Typeface name":"Wingdings","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"127243","Unicode hex":"1F10B"},{"Typeface name":"Wingdings","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"10112","Unicode hex":"2780"},{"Typeface name":"Wingdings","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"10113","Unicode hex":"2781"},{"Typeface name":"Wingdings","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"10114","Unicode hex":"2782"},{"Typeface name":"Wingdings","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"10115","Unicode hex":"2783"},{"Typeface name":"Wingdings","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"10116","Unicode hex":"2784"},{"Typeface name":"Wingdings","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"10117","Unicode hex":"2785"},{"Typeface name":"Wingdings","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"10118","Unicode hex":"2786"},{"Typeface name":"Wingdings","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"10119","Unicode hex":"2787"},{"Typeface name":"Wingdings","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"10120","Unicode hex":"2788"},{"Typeface name":"Wingdings","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"10121","Unicode hex":"2789"},{"Typeface name":"Wingdings","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"127244","Unicode hex":"1F10C"},{"Typeface name":"Wingdings","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"10122","Unicode hex":"278A"},{"Typeface name":"Wingdings","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"10123","Unicode hex":"278B"},{"Typeface name":"Wingdings","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"10124","Unicode hex":"278C"},{"Typeface name":"Wingdings","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"10125","Unicode hex":"278D"},{"Typeface name":"Wingdings","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"10126","Unicode hex":"278E"},{"Typeface name":"Wingdings","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"10127","Unicode hex":"278F"},{"Typeface name":"Wingdings","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"10128","Unicode hex":"2790"},{"Typeface name":"Wingdings","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"10129","Unicode hex":"2791"},{"Typeface name":"Wingdings","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"10130","Unicode hex":"2792"},{"Typeface name":"Wingdings","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"10131","Unicode hex":"2793"},{"Typeface name":"Wingdings","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"128610","Unicode hex":"1F662"},{"Typeface name":"Wingdings","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"128608","Unicode hex":"1F660"},{"Typeface name":"Wingdings","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"128609","Unicode hex":"1F661"},{"Typeface name":"Wingdings","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"128611","Unicode hex":"1F663"},{"Typeface name":"Wingdings","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"128606","Unicode hex":"1F65E"},{"Typeface name":"Wingdings","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"128604","Unicode hex":"1F65C"},{"Typeface name":"Wingdings","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"128605","Unicode hex":"1F65D"},{"Typeface name":"Wingdings","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"128607","Unicode hex":"1F65F"},{"Typeface name":"Wingdings","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"8729","Unicode hex":"2219"},{"Typeface name":"Wingdings","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"8226","Unicode hex":"2022"},{"Typeface name":"Wingdings","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"11037","Unicode hex":"2B1D"},{"Typeface name":"Wingdings","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"11096","Unicode hex":"2B58"},{"Typeface name":"Wingdings","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"128902","Unicode hex":"1F786"},{"Typeface name":"Wingdings","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"128904","Unicode hex":"1F788"},{"Typeface name":"Wingdings","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"128906","Unicode hex":"1F78A"},{"Typeface name":"Wingdings","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"128907","Unicode hex":"1F78B"},{"Typeface name":"Wingdings","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"128319","Unicode hex":"1F53F"},{"Typeface name":"Wingdings","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"9642","Unicode hex":"25AA"},{"Typeface name":"Wingdings","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"128910","Unicode hex":"1F78E"},{"Typeface name":"Wingdings","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"128961","Unicode hex":"1F7C1"},{"Typeface name":"Wingdings","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"128965","Unicode hex":"1F7C5"},{"Typeface name":"Wingdings","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"9733","Unicode hex":"2605"},{"Typeface name":"Wingdings","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"128971","Unicode hex":"1F7CB"},{"Typeface name":"Wingdings","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"128975","Unicode hex":"1F7CF"},{"Typeface name":"Wingdings","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"128979","Unicode hex":"1F7D3"},{"Typeface name":"Wingdings","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"128977","Unicode hex":"1F7D1"},{"Typeface name":"Wingdings","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"11216","Unicode hex":"2BD0"},{"Typeface name":"Wingdings","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"8982","Unicode hex":"2316"},{"Typeface name":"Wingdings","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"11214","Unicode hex":"2BCE"},{"Typeface name":"Wingdings","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"11215","Unicode hex":"2BCF"},{"Typeface name":"Wingdings","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"11217","Unicode hex":"2BD1"},{"Typeface name":"Wingdings","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"10026","Unicode hex":"272A"},{"Typeface name":"Wingdings","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"10032","Unicode hex":"2730"},{"Typeface name":"Wingdings","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"128336","Unicode hex":"1F550"},{"Typeface name":"Wingdings","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"128337","Unicode hex":"1F551"},{"Typeface name":"Wingdings","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"128338","Unicode hex":"1F552"},{"Typeface name":"Wingdings","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"128339","Unicode hex":"1F553"},{"Typeface name":"Wingdings","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"128340","Unicode hex":"1F554"},{"Typeface name":"Wingdings","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"128341","Unicode hex":"1F555"},{"Typeface name":"Wingdings","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"128342","Unicode hex":"1F556"},{"Typeface name":"Wingdings","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"128343","Unicode hex":"1F557"},{"Typeface name":"Wingdings","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"128344","Unicode hex":"1F558"},{"Typeface name":"Wingdings","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"128345","Unicode hex":"1F559"},{"Typeface name":"Wingdings","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"128346","Unicode hex":"1F55A"},{"Typeface name":"Wingdings","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"128347","Unicode hex":"1F55B"},{"Typeface name":"Wingdings","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"11184","Unicode hex":"2BB0"},{"Typeface name":"Wingdings","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"11185","Unicode hex":"2BB1"},{"Typeface name":"Wingdings","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"11186","Unicode hex":"2BB2"},{"Typeface name":"Wingdings","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"11187","Unicode hex":"2BB3"},{"Typeface name":"Wingdings","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"11188","Unicode hex":"2BB4"},{"Typeface name":"Wingdings","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"11189","Unicode hex":"2BB5"},{"Typeface name":"Wingdings","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"11190","Unicode hex":"2BB6"},{"Typeface name":"Wingdings","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"11191","Unicode hex":"2BB7"},{"Typeface name":"Wingdings","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"128618","Unicode hex":"1F66A"},{"Typeface name":"Wingdings","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"128619","Unicode hex":"1F66B"},{"Typeface name":"Wingdings","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"128597","Unicode hex":"1F655"},{"Typeface name":"Wingdings","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"128596","Unicode hex":"1F654"},{"Typeface name":"Wingdings","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"128599","Unicode hex":"1F657"},{"Typeface name":"Wingdings","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"128598","Unicode hex":"1F656"},{"Typeface name":"Wingdings","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"128592","Unicode hex":"1F650"},{"Typeface name":"Wingdings","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"128593","Unicode hex":"1F651"},{"Typeface name":"Wingdings","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"128594","Unicode hex":"1F652"},{"Typeface name":"Wingdings","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"128595","Unicode hex":"1F653"},{"Typeface name":"Wingdings","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"9003","Unicode hex":"232B"},{"Typeface name":"Wingdings","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"8998","Unicode hex":"2326"},{"Typeface name":"Wingdings","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"11160","Unicode hex":"2B98"},{"Typeface name":"Wingdings","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"11162","Unicode hex":"2B9A"},{"Typeface name":"Wingdings","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"11161","Unicode hex":"2B99"},{"Typeface name":"Wingdings","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"11163","Unicode hex":"2B9B"},{"Typeface name":"Wingdings","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"11144","Unicode hex":"2B88"},{"Typeface name":"Wingdings","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"11146","Unicode hex":"2B8A"},{"Typeface name":"Wingdings","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"11145","Unicode hex":"2B89"},{"Typeface name":"Wingdings","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"11147","Unicode hex":"2B8B"},{"Typeface name":"Wingdings","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"129128","Unicode hex":"1F868"},{"Typeface name":"Wingdings","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"129130","Unicode hex":"1F86A"},{"Typeface name":"Wingdings","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"129129","Unicode hex":"1F869"},{"Typeface name":"Wingdings","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"129131","Unicode hex":"1F86B"},{"Typeface name":"Wingdings","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"129132","Unicode hex":"1F86C"},{"Typeface name":"Wingdings","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"129133","Unicode hex":"1F86D"},{"Typeface name":"Wingdings","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"129135","Unicode hex":"1F86F"},{"Typeface name":"Wingdings","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"129134","Unicode hex":"1F86E"},{"Typeface name":"Wingdings","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"129144","Unicode hex":"1F878"},{"Typeface name":"Wingdings","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"129146","Unicode hex":"1F87A"},{"Typeface name":"Wingdings","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"129145","Unicode hex":"1F879"},{"Typeface name":"Wingdings","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"129147","Unicode hex":"1F87B"},{"Typeface name":"Wingdings","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"129148","Unicode hex":"1F87C"},{"Typeface name":"Wingdings","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"129149","Unicode hex":"1F87D"},{"Typeface name":"Wingdings","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"129151","Unicode hex":"1F87F"},{"Typeface name":"Wingdings","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"129150","Unicode hex":"1F87E"},{"Typeface name":"Wingdings","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"8678","Unicode hex":"21E6"},{"Typeface name":"Wingdings","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"8680","Unicode hex":"21E8"},{"Typeface name":"Wingdings","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"8679","Unicode hex":"21E7"},{"Typeface name":"Wingdings","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"8681","Unicode hex":"21E9"},{"Typeface name":"Wingdings","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"11012","Unicode hex":"2B04"},{"Typeface name":"Wingdings","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"8691","Unicode hex":"21F3"},{"Typeface name":"Wingdings","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"11009","Unicode hex":"2B01"},{"Typeface name":"Wingdings","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"11008","Unicode hex":"2B00"},{"Typeface name":"Wingdings","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"11011","Unicode hex":"2B03"},{"Typeface name":"Wingdings","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"11010","Unicode hex":"2B02"},{"Typeface name":"Wingdings","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"129196","Unicode hex":"1F8AC"},{"Typeface name":"Wingdings","Dingbat dec":"250","Dingbat hex":"FA","Unicode dec":"129197","Unicode hex":"1F8AD"},{"Typeface name":"Wingdings","Dingbat dec":"251","Dingbat hex":"FB","Unicode dec":"128502","Unicode hex":"1F5F6"},{"Typeface name":"Wingdings","Dingbat dec":"252","Dingbat hex":"FC","Unicode dec":"10003","Unicode hex":"2713"},{"Typeface name":"Wingdings","Dingbat dec":"253","Dingbat hex":"FD","Unicode dec":"128503","Unicode hex":"1F5F7"},{"Typeface name":"Wingdings","Dingbat dec":"254","Dingbat hex":"FE","Unicode dec":"128505","Unicode hex":"1F5F9"},{"Typeface name":"Wingdings 2","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Wingdings 2","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"128394","Unicode hex":"1F58A"},{"Typeface name":"Wingdings 2","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"128395","Unicode hex":"1F58B"},{"Typeface name":"Wingdings 2","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"128396","Unicode hex":"1F58C"},{"Typeface name":"Wingdings 2","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"128397","Unicode hex":"1F58D"},{"Typeface name":"Wingdings 2","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"9988","Unicode hex":"2704"},{"Typeface name":"Wingdings 2","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"9984","Unicode hex":"2700"},{"Typeface name":"Wingdings 2","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"128382","Unicode hex":"1F57E"},{"Typeface name":"Wingdings 2","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"128381","Unicode hex":"1F57D"},{"Typeface name":"Wingdings 2","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"128453","Unicode hex":"1F5C5"},{"Typeface name":"Wingdings 2","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"128454","Unicode hex":"1F5C6"},{"Typeface name":"Wingdings 2","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"128455","Unicode hex":"1F5C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"128456","Unicode hex":"1F5C8"},{"Typeface name":"Wingdings 2","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"128457","Unicode hex":"1F5C9"},{"Typeface name":"Wingdings 2","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"128458","Unicode hex":"1F5CA"},{"Typeface name":"Wingdings 2","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"128459","Unicode hex":"1F5CB"},{"Typeface name":"Wingdings 2","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"128460","Unicode hex":"1F5CC"},{"Typeface name":"Wingdings 2","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"128461","Unicode hex":"1F5CD"},{"Typeface name":"Wingdings 2","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"128203","Unicode hex":"1F4CB"},{"Typeface name":"Wingdings 2","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"128465","Unicode hex":"1F5D1"},{"Typeface name":"Wingdings 2","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"128468","Unicode hex":"1F5D4"},{"Typeface name":"Wingdings 2","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"128437","Unicode hex":"1F5B5"},{"Typeface name":"Wingdings 2","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"128438","Unicode hex":"1F5B6"},{"Typeface name":"Wingdings 2","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"128439","Unicode hex":"1F5B7"},{"Typeface name":"Wingdings 2","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"128440","Unicode hex":"1F5B8"},{"Typeface name":"Wingdings 2","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"128429","Unicode hex":"1F5AD"},{"Typeface name":"Wingdings 2","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"128431","Unicode hex":"1F5AF"},{"Typeface name":"Wingdings 2","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"128433","Unicode hex":"1F5B1"},{"Typeface name":"Wingdings 2","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"128402","Unicode hex":"1F592"},{"Typeface name":"Wingdings 2","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"128403","Unicode hex":"1F593"},{"Typeface name":"Wingdings 2","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"128408","Unicode hex":"1F598"},{"Typeface name":"Wingdings 2","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"128409","Unicode hex":"1F599"},{"Typeface name":"Wingdings 2","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"128410","Unicode hex":"1F59A"},{"Typeface name":"Wingdings 2","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"128411","Unicode hex":"1F59B"},{"Typeface name":"Wingdings 2","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"128072","Unicode hex":"1F448"},{"Typeface name":"Wingdings 2","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"128073","Unicode hex":"1F449"},{"Typeface name":"Wingdings 2","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"128412","Unicode hex":"1F59C"},{"Typeface name":"Wingdings 2","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"128413","Unicode hex":"1F59D"},{"Typeface name":"Wingdings 2","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"128414","Unicode hex":"1F59E"},{"Typeface name":"Wingdings 2","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"128415","Unicode hex":"1F59F"},{"Typeface name":"Wingdings 2","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"128416","Unicode hex":"1F5A0"},{"Typeface name":"Wingdings 2","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"128417","Unicode hex":"1F5A1"},{"Typeface name":"Wingdings 2","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"128070","Unicode hex":"1F446"},{"Typeface name":"Wingdings 2","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"128071","Unicode hex":"1F447"},{"Typeface name":"Wingdings 2","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"128418","Unicode hex":"1F5A2"},{"Typeface name":"Wingdings 2","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"128419","Unicode hex":"1F5A3"},{"Typeface name":"Wingdings 2","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"128401","Unicode hex":"1F591"},{"Typeface name":"Wingdings 2","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"128500","Unicode hex":"1F5F4"},{"Typeface name":"Wingdings 2","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"128504","Unicode hex":"1F5F8"},{"Typeface name":"Wingdings 2","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"128501","Unicode hex":"1F5F5"},{"Typeface name":"Wingdings 2","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"9745","Unicode hex":"2611"},{"Typeface name":"Wingdings 2","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"11197","Unicode hex":"2BBD"},{"Typeface name":"Wingdings 2","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"9746","Unicode hex":"2612"},{"Typeface name":"Wingdings 2","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"11198","Unicode hex":"2BBE"},{"Typeface name":"Wingdings 2","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"11199","Unicode hex":"2BBF"},{"Typeface name":"Wingdings 2","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"128711","Unicode hex":"1F6C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"10680","Unicode hex":"29B8"},{"Typeface name":"Wingdings 2","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"128625","Unicode hex":"1F671"},{"Typeface name":"Wingdings 2","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"128628","Unicode hex":"1F674"},{"Typeface name":"Wingdings 2","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"128626","Unicode hex":"1F672"},{"Typeface name":"Wingdings 2","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"128627","Unicode hex":"1F673"},{"Typeface name":"Wingdings 2","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"8253","Unicode hex":"203D"},{"Typeface name":"Wingdings 2","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"128633","Unicode hex":"1F679"},{"Typeface name":"Wingdings 2","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"128634","Unicode hex":"1F67A"},{"Typeface name":"Wingdings 2","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"128635","Unicode hex":"1F67B"},{"Typeface name":"Wingdings 2","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"128614","Unicode hex":"1F666"},{"Typeface name":"Wingdings 2","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"128612","Unicode hex":"1F664"},{"Typeface name":"Wingdings 2","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"128613","Unicode hex":"1F665"},{"Typeface name":"Wingdings 2","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"128615","Unicode hex":"1F667"},{"Typeface name":"Wingdings 2","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"128602","Unicode hex":"1F65A"},{"Typeface name":"Wingdings 2","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"128600","Unicode hex":"1F658"},{"Typeface name":"Wingdings 2","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"128601","Unicode hex":"1F659"},{"Typeface name":"Wingdings 2","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"128603","Unicode hex":"1F65B"},{"Typeface name":"Wingdings 2","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"9450","Unicode hex":"24EA"},{"Typeface name":"Wingdings 2","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"9312","Unicode hex":"2460"},{"Typeface name":"Wingdings 2","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"9313","Unicode hex":"2461"},{"Typeface name":"Wingdings 2","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"9314","Unicode hex":"2462"},{"Typeface name":"Wingdings 2","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"9315","Unicode hex":"2463"},{"Typeface name":"Wingdings 2","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"9316","Unicode hex":"2464"},{"Typeface name":"Wingdings 2","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"9317","Unicode hex":"2465"},{"Typeface name":"Wingdings 2","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"9318","Unicode hex":"2466"},{"Typeface name":"Wingdings 2","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"9319","Unicode hex":"2467"},{"Typeface name":"Wingdings 2","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"9320","Unicode hex":"2468"},{"Typeface name":"Wingdings 2","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"9321","Unicode hex":"2469"},{"Typeface name":"Wingdings 2","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"9471","Unicode hex":"24FF"},{"Typeface name":"Wingdings 2","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"10102","Unicode hex":"2776"},{"Typeface name":"Wingdings 2","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"10103","Unicode hex":"2777"},{"Typeface name":"Wingdings 2","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"10104","Unicode hex":"2778"},{"Typeface name":"Wingdings 2","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"10105","Unicode hex":"2779"},{"Typeface name":"Wingdings 2","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"10106","Unicode hex":"277A"},{"Typeface name":"Wingdings 2","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"10107","Unicode hex":"277B"},{"Typeface name":"Wingdings 2","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"10108","Unicode hex":"277C"},{"Typeface name":"Wingdings 2","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"10109","Unicode hex":"277D"},{"Typeface name":"Wingdings 2","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"10110","Unicode hex":"277E"},{"Typeface name":"Wingdings 2","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"10111","Unicode hex":"277F"},{"Typeface name":"Wingdings 2","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"9737","Unicode hex":"2609"},{"Typeface name":"Wingdings 2","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"127765","Unicode hex":"1F315"},{"Typeface name":"Wingdings 2","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"9789","Unicode hex":"263D"},{"Typeface name":"Wingdings 2","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"9790","Unicode hex":"263E"},{"Typeface name":"Wingdings 2","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"11839","Unicode hex":"2E3F"},{"Typeface name":"Wingdings 2","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"10013","Unicode hex":"271D"},{"Typeface name":"Wingdings 2","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"128327","Unicode hex":"1F547"},{"Typeface name":"Wingdings 2","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"128348","Unicode hex":"1F55C"},{"Typeface name":"Wingdings 2","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"128349","Unicode hex":"1F55D"},{"Typeface name":"Wingdings 2","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"128350","Unicode hex":"1F55E"},{"Typeface name":"Wingdings 2","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"128351","Unicode hex":"1F55F"},{"Typeface name":"Wingdings 2","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"128352","Unicode hex":"1F560"},{"Typeface name":"Wingdings 2","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"128353","Unicode hex":"1F561"},{"Typeface name":"Wingdings 2","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"128354","Unicode hex":"1F562"},{"Typeface name":"Wingdings 2","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"128355","Unicode hex":"1F563"},{"Typeface name":"Wingdings 2","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"128356","Unicode hex":"1F564"},{"Typeface name":"Wingdings 2","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"128357","Unicode hex":"1F565"},{"Typeface name":"Wingdings 2","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"128358","Unicode hex":"1F566"},{"Typeface name":"Wingdings 2","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"128359","Unicode hex":"1F567"},{"Typeface name":"Wingdings 2","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"128616","Unicode hex":"1F668"},{"Typeface name":"Wingdings 2","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"128617","Unicode hex":"1F669"},{"Typeface name":"Wingdings 2","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"8901","Unicode hex":"22C5"},{"Typeface name":"Wingdings 2","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"128900","Unicode hex":"1F784"},{"Typeface name":"Wingdings 2","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"10625","Unicode hex":"2981"},{"Typeface name":"Wingdings 2","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"9679","Unicode hex":"25CF"},{"Typeface name":"Wingdings 2","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"9675","Unicode hex":"25CB"},{"Typeface name":"Wingdings 2","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"128901","Unicode hex":"1F785"},{"Typeface name":"Wingdings 2","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"128903","Unicode hex":"1F787"},{"Typeface name":"Wingdings 2","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"128905","Unicode hex":"1F789"},{"Typeface name":"Wingdings 2","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"8857","Unicode hex":"2299"},{"Typeface name":"Wingdings 2","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"10687","Unicode hex":"29BF"},{"Typeface name":"Wingdings 2","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"128908","Unicode hex":"1F78C"},{"Typeface name":"Wingdings 2","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"128909","Unicode hex":"1F78D"},{"Typeface name":"Wingdings 2","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"9726","Unicode hex":"25FE"},{"Typeface name":"Wingdings 2","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"9632","Unicode hex":"25A0"},{"Typeface name":"Wingdings 2","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"9633","Unicode hex":"25A1"},{"Typeface name":"Wingdings 2","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"128913","Unicode hex":"1F791"},{"Typeface name":"Wingdings 2","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"128914","Unicode hex":"1F792"},{"Typeface name":"Wingdings 2","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"128915","Unicode hex":"1F793"},{"Typeface name":"Wingdings 2","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"128916","Unicode hex":"1F794"},{"Typeface name":"Wingdings 2","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"9635","Unicode hex":"25A3"},{"Typeface name":"Wingdings 2","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"128917","Unicode hex":"1F795"},{"Typeface name":"Wingdings 2","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"128918","Unicode hex":"1F796"},{"Typeface name":"Wingdings 2","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"128919","Unicode hex":"1F797"},{"Typeface name":"Wingdings 2","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"128920","Unicode hex":"1F798"},{"Typeface name":"Wingdings 2","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"11049","Unicode hex":"2B29"},{"Typeface name":"Wingdings 2","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"11045","Unicode hex":"2B25"},{"Typeface name":"Wingdings 2","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"9671","Unicode hex":"25C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"128922","Unicode hex":"1F79A"},{"Typeface name":"Wingdings 2","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"9672","Unicode hex":"25C8"},{"Typeface name":"Wingdings 2","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"128923","Unicode hex":"1F79B"},{"Typeface name":"Wingdings 2","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"128924","Unicode hex":"1F79C"},{"Typeface name":"Wingdings 2","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"128925","Unicode hex":"1F79D"},{"Typeface name":"Wingdings 2","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"128926","Unicode hex":"1F79E"},{"Typeface name":"Wingdings 2","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"11050","Unicode hex":"2B2A"},{"Typeface name":"Wingdings 2","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"11047","Unicode hex":"2B27"},{"Typeface name":"Wingdings 2","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"9674","Unicode hex":"25CA"},{"Typeface name":"Wingdings 2","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"128928","Unicode hex":"1F7A0"},{"Typeface name":"Wingdings 2","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"9686","Unicode hex":"25D6"},{"Typeface name":"Wingdings 2","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"9687","Unicode hex":"25D7"},{"Typeface name":"Wingdings 2","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"11210","Unicode hex":"2BCA"},{"Typeface name":"Wingdings 2","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"11211","Unicode hex":"2BCB"},{"Typeface name":"Wingdings 2","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"11200","Unicode hex":"2BC0"},{"Typeface name":"Wingdings 2","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"11201","Unicode hex":"2BC1"},{"Typeface name":"Wingdings 2","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"11039","Unicode hex":"2B1F"},{"Typeface name":"Wingdings 2","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"11202","Unicode hex":"2BC2"},{"Typeface name":"Wingdings 2","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"11043","Unicode hex":"2B23"},{"Typeface name":"Wingdings 2","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"11042","Unicode hex":"2B22"},{"Typeface name":"Wingdings 2","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"11203","Unicode hex":"2BC3"},{"Typeface name":"Wingdings 2","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"11204","Unicode hex":"2BC4"},{"Typeface name":"Wingdings 2","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"128929","Unicode hex":"1F7A1"},{"Typeface name":"Wingdings 2","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"128930","Unicode hex":"1F7A2"},{"Typeface name":"Wingdings 2","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"128931","Unicode hex":"1F7A3"},{"Typeface name":"Wingdings 2","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"128932","Unicode hex":"1F7A4"},{"Typeface name":"Wingdings 2","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"128933","Unicode hex":"1F7A5"},{"Typeface name":"Wingdings 2","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"128934","Unicode hex":"1F7A6"},{"Typeface name":"Wingdings 2","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"128935","Unicode hex":"1F7A7"},{"Typeface name":"Wingdings 2","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"128936","Unicode hex":"1F7A8"},{"Typeface name":"Wingdings 2","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"128937","Unicode hex":"1F7A9"},{"Typeface name":"Wingdings 2","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"128938","Unicode hex":"1F7AA"},{"Typeface name":"Wingdings 2","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"128939","Unicode hex":"1F7AB"},{"Typeface name":"Wingdings 2","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"128940","Unicode hex":"1F7AC"},{"Typeface name":"Wingdings 2","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"128941","Unicode hex":"1F7AD"},{"Typeface name":"Wingdings 2","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"128942","Unicode hex":"1F7AE"},{"Typeface name":"Wingdings 2","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"128943","Unicode hex":"1F7AF"},{"Typeface name":"Wingdings 2","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"128944","Unicode hex":"1F7B0"},{"Typeface name":"Wingdings 2","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"128945","Unicode hex":"1F7B1"},{"Typeface name":"Wingdings 2","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"128946","Unicode hex":"1F7B2"},{"Typeface name":"Wingdings 2","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"128947","Unicode hex":"1F7B3"},{"Typeface name":"Wingdings 2","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"128948","Unicode hex":"1F7B4"},{"Typeface name":"Wingdings 2","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"128949","Unicode hex":"1F7B5"},{"Typeface name":"Wingdings 2","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"128950","Unicode hex":"1F7B6"},{"Typeface name":"Wingdings 2","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"128951","Unicode hex":"1F7B7"},{"Typeface name":"Wingdings 2","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"128952","Unicode hex":"1F7B8"},{"Typeface name":"Wingdings 2","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"128953","Unicode hex":"1F7B9"},{"Typeface name":"Wingdings 2","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"128954","Unicode hex":"1F7BA"},{"Typeface name":"Wingdings 2","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"128955","Unicode hex":"1F7BB"},{"Typeface name":"Wingdings 2","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"128956","Unicode hex":"1F7BC"},{"Typeface name":"Wingdings 2","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"128957","Unicode hex":"1F7BD"},{"Typeface name":"Wingdings 2","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"128958","Unicode hex":"1F7BE"},{"Typeface name":"Wingdings 2","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"128959","Unicode hex":"1F7BF"},{"Typeface name":"Wingdings 2","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"128960","Unicode hex":"1F7C0"},{"Typeface name":"Wingdings 2","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"128962","Unicode hex":"1F7C2"},{"Typeface name":"Wingdings 2","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"128964","Unicode hex":"1F7C4"},{"Typeface name":"Wingdings 2","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"128966","Unicode hex":"1F7C6"},{"Typeface name":"Wingdings 2","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"128969","Unicode hex":"1F7C9"},{"Typeface name":"Wingdings 2","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"128970","Unicode hex":"1F7CA"},{"Typeface name":"Wingdings 2","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"10038","Unicode hex":"2736"},{"Typeface name":"Wingdings 2","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"128972","Unicode hex":"1F7CC"},{"Typeface name":"Wingdings 2","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"128974","Unicode hex":"1F7CE"},{"Typeface name":"Wingdings 2","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"128976","Unicode hex":"1F7D0"},{"Typeface name":"Wingdings 2","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"128978","Unicode hex":"1F7D2"},{"Typeface name":"Wingdings 2","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"10041","Unicode hex":"2739"},{"Typeface name":"Wingdings 2","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"128963","Unicode hex":"1F7C3"},{"Typeface name":"Wingdings 2","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"128967","Unicode hex":"1F7C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"10031","Unicode hex":"272F"},{"Typeface name":"Wingdings 2","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"128973","Unicode hex":"1F7CD"},{"Typeface name":"Wingdings 2","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"128980","Unicode hex":"1F7D4"},{"Typeface name":"Wingdings 2","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"11212","Unicode hex":"2BCC"},{"Typeface name":"Wingdings 2","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"11213","Unicode hex":"2BCD"},{"Typeface name":"Wingdings 2","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"8251","Unicode hex":"203B"},{"Typeface name":"Wingdings 2","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"8258","Unicode hex":"2042"},{"Typeface name":"Wingdings 3","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Wingdings 3","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"11104","Unicode hex":"2B60"},{"Typeface name":"Wingdings 3","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"11106","Unicode hex":"2B62"},{"Typeface name":"Wingdings 3","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"11105","Unicode hex":"2B61"},{"Typeface name":"Wingdings 3","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"11107","Unicode hex":"2B63"},{"Typeface name":"Wingdings 3","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"11110","Unicode hex":"2B66"},{"Typeface name":"Wingdings 3","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"11111","Unicode hex":"2B67"},{"Typeface name":"Wingdings 3","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"11113","Unicode hex":"2B69"},{"Typeface name":"Wingdings 3","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"11112","Unicode hex":"2B68"},{"Typeface name":"Wingdings 3","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"11120","Unicode hex":"2B70"},{"Typeface name":"Wingdings 3","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"11122","Unicode hex":"2B72"},{"Typeface name":"Wingdings 3","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"11121","Unicode hex":"2B71"},{"Typeface name":"Wingdings 3","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"11123","Unicode hex":"2B73"},{"Typeface name":"Wingdings 3","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"11126","Unicode hex":"2B76"},{"Typeface name":"Wingdings 3","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"11128","Unicode hex":"2B78"},{"Typeface name":"Wingdings 3","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"11131","Unicode hex":"2B7B"},{"Typeface name":"Wingdings 3","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"11133","Unicode hex":"2B7D"},{"Typeface name":"Wingdings 3","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"11108","Unicode hex":"2B64"},{"Typeface name":"Wingdings 3","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"11109","Unicode hex":"2B65"},{"Typeface name":"Wingdings 3","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"11114","Unicode hex":"2B6A"},{"Typeface name":"Wingdings 3","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"11116","Unicode hex":"2B6C"},{"Typeface name":"Wingdings 3","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"11115","Unicode hex":"2B6B"},{"Typeface name":"Wingdings 3","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"11117","Unicode hex":"2B6D"},{"Typeface name":"Wingdings 3","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"11085","Unicode hex":"2B4D"},{"Typeface name":"Wingdings 3","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"11168","Unicode hex":"2BA0"},{"Typeface name":"Wingdings 3","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"11169","Unicode hex":"2BA1"},{"Typeface name":"Wingdings 3","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"11170","Unicode hex":"2BA2"},{"Typeface name":"Wingdings 3","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"11171","Unicode hex":"2BA3"},{"Typeface name":"Wingdings 3","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"11172","Unicode hex":"2BA4"},{"Typeface name":"Wingdings 3","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"11173","Unicode hex":"2BA5"},{"Typeface name":"Wingdings 3","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"11174","Unicode hex":"2BA6"},{"Typeface name":"Wingdings 3","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"11175","Unicode hex":"2BA7"},{"Typeface name":"Wingdings 3","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"11152","Unicode hex":"2B90"},{"Typeface name":"Wingdings 3","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"11153","Unicode hex":"2B91"},{"Typeface name":"Wingdings 3","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"11154","Unicode hex":"2B92"},{"Typeface name":"Wingdings 3","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"11155","Unicode hex":"2B93"},{"Typeface name":"Wingdings 3","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"11136","Unicode hex":"2B80"},{"Typeface name":"Wingdings 3","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"11139","Unicode hex":"2B83"},{"Typeface name":"Wingdings 3","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"11134","Unicode hex":"2B7E"},{"Typeface name":"Wingdings 3","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"11135","Unicode hex":"2B7F"},{"Typeface name":"Wingdings 3","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"11140","Unicode hex":"2B84"},{"Typeface name":"Wingdings 3","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"11142","Unicode hex":"2B86"},{"Typeface name":"Wingdings 3","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"11141","Unicode hex":"2B85"},{"Typeface name":"Wingdings 3","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"11143","Unicode hex":"2B87"},{"Typeface name":"Wingdings 3","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"11151","Unicode hex":"2B8F"},{"Typeface name":"Wingdings 3","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"11149","Unicode hex":"2B8D"},{"Typeface name":"Wingdings 3","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"11150","Unicode hex":"2B8E"},{"Typeface name":"Wingdings 3","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"11148","Unicode hex":"2B8C"},{"Typeface name":"Wingdings 3","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"11118","Unicode hex":"2B6E"},{"Typeface name":"Wingdings 3","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"11119","Unicode hex":"2B6F"},{"Typeface name":"Wingdings 3","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"9099","Unicode hex":"238B"},{"Typeface name":"Wingdings 3","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"8996","Unicode hex":"2324"},{"Typeface name":"Wingdings 3","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"8963","Unicode hex":"2303"},{"Typeface name":"Wingdings 3","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"8997","Unicode hex":"2325"},{"Typeface name":"Wingdings 3","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"9251","Unicode hex":"2423"},{"Typeface name":"Wingdings 3","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"9085","Unicode hex":"237D"},{"Typeface name":"Wingdings 3","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"8682","Unicode hex":"21EA"},{"Typeface name":"Wingdings 3","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"11192","Unicode hex":"2BB8"},{"Typeface name":"Wingdings 3","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"129184","Unicode hex":"1F8A0"},{"Typeface name":"Wingdings 3","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"129185","Unicode hex":"1F8A1"},{"Typeface name":"Wingdings 3","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"129186","Unicode hex":"1F8A2"},{"Typeface name":"Wingdings 3","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"129187","Unicode hex":"1F8A3"},{"Typeface name":"Wingdings 3","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"129188","Unicode hex":"1F8A4"},{"Typeface name":"Wingdings 3","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"129189","Unicode hex":"1F8A5"},{"Typeface name":"Wingdings 3","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"129190","Unicode hex":"1F8A6"},{"Typeface name":"Wingdings 3","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"129191","Unicode hex":"1F8A7"},{"Typeface name":"Wingdings 3","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"129192","Unicode hex":"1F8A8"},{"Typeface name":"Wingdings 3","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"129193","Unicode hex":"1F8A9"},{"Typeface name":"Wingdings 3","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"129194","Unicode hex":"1F8AA"},{"Typeface name":"Wingdings 3","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"129195","Unicode hex":"1F8AB"},{"Typeface name":"Wingdings 3","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"129104","Unicode hex":"1F850"},{"Typeface name":"Wingdings 3","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"129106","Unicode hex":"1F852"},{"Typeface name":"Wingdings 3","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"129105","Unicode hex":"1F851"},{"Typeface name":"Wingdings 3","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"129107","Unicode hex":"1F853"},{"Typeface name":"Wingdings 3","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"129108","Unicode hex":"1F854"},{"Typeface name":"Wingdings 3","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"129109","Unicode hex":"1F855"},{"Typeface name":"Wingdings 3","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"129111","Unicode hex":"1F857"},{"Typeface name":"Wingdings 3","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"129110","Unicode hex":"1F856"},{"Typeface name":"Wingdings 3","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"129112","Unicode hex":"1F858"},{"Typeface name":"Wingdings 3","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"129113","Unicode hex":"1F859"},{"Typeface name":"Wingdings 3","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"9650","Unicode hex":"25B2"},{"Typeface name":"Wingdings 3","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"9660","Unicode hex":"25BC"},{"Typeface name":"Wingdings 3","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"9651","Unicode hex":"25B3"},{"Typeface name":"Wingdings 3","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"9661","Unicode hex":"25BD"},{"Typeface name":"Wingdings 3","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"9664","Unicode hex":"25C0"},{"Typeface name":"Wingdings 3","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"9654","Unicode hex":"25B6"},{"Typeface name":"Wingdings 3","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"9665","Unicode hex":"25C1"},{"Typeface name":"Wingdings 3","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"9655","Unicode hex":"25B7"},{"Typeface name":"Wingdings 3","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"9699","Unicode hex":"25E3"},{"Typeface name":"Wingdings 3","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"9698","Unicode hex":"25E2"},{"Typeface name":"Wingdings 3","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"9700","Unicode hex":"25E4"},{"Typeface name":"Wingdings 3","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"9701","Unicode hex":"25E5"},{"Typeface name":"Wingdings 3","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"128896","Unicode hex":"1F780"},{"Typeface name":"Wingdings 3","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"128898","Unicode hex":"1F782"},{"Typeface name":"Wingdings 3","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"128897","Unicode hex":"1F781"},{"Typeface name":"Wingdings 3","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"128899","Unicode hex":"1F783"},{"Typeface name":"Wingdings 3","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"11205","Unicode hex":"2BC5"},{"Typeface name":"Wingdings 3","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"11206","Unicode hex":"2BC6"},{"Typeface name":"Wingdings 3","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"11207","Unicode hex":"2BC7"},{"Typeface name":"Wingdings 3","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"11208","Unicode hex":"2BC8"},{"Typeface name":"Wingdings 3","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"11164","Unicode hex":"2B9C"},{"Typeface name":"Wingdings 3","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"11166","Unicode hex":"2B9E"},{"Typeface name":"Wingdings 3","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"11165","Unicode hex":"2B9D"},{"Typeface name":"Wingdings 3","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"11167","Unicode hex":"2B9F"},{"Typeface name":"Wingdings 3","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"129040","Unicode hex":"1F810"},{"Typeface name":"Wingdings 3","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"129042","Unicode hex":"1F812"},{"Typeface name":"Wingdings 3","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"129041","Unicode hex":"1F811"},{"Typeface name":"Wingdings 3","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"129043","Unicode hex":"1F813"},{"Typeface name":"Wingdings 3","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"129044","Unicode hex":"1F814"},{"Typeface name":"Wingdings 3","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"129046","Unicode hex":"1F816"},{"Typeface name":"Wingdings 3","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"129045","Unicode hex":"1F815"},{"Typeface name":"Wingdings 3","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"129047","Unicode hex":"1F817"},{"Typeface name":"Wingdings 3","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"129048","Unicode hex":"1F818"},{"Typeface name":"Wingdings 3","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"129050","Unicode hex":"1F81A"},{"Typeface name":"Wingdings 3","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"129049","Unicode hex":"1F819"},{"Typeface name":"Wingdings 3","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"129051","Unicode hex":"1F81B"},{"Typeface name":"Wingdings 3","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"129052","Unicode hex":"1F81C"},{"Typeface name":"Wingdings 3","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"129054","Unicode hex":"1F81E"},{"Typeface name":"Wingdings 3","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"129053","Unicode hex":"1F81D"},{"Typeface name":"Wingdings 3","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"129055","Unicode hex":"1F81F"},{"Typeface name":"Wingdings 3","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"129024","Unicode hex":"1F800"},{"Typeface name":"Wingdings 3","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"129026","Unicode hex":"1F802"},{"Typeface name":"Wingdings 3","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"129025","Unicode hex":"1F801"},{"Typeface name":"Wingdings 3","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"129027","Unicode hex":"1F803"},{"Typeface name":"Wingdings 3","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"129028","Unicode hex":"1F804"},{"Typeface name":"Wingdings 3","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"129030","Unicode hex":"1F806"},{"Typeface name":"Wingdings 3","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"129029","Unicode hex":"1F805"},{"Typeface name":"Wingdings 3","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"129031","Unicode hex":"1F807"},{"Typeface name":"Wingdings 3","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"129032","Unicode hex":"1F808"},{"Typeface name":"Wingdings 3","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"129034","Unicode hex":"1F80A"},{"Typeface name":"Wingdings 3","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"129033","Unicode hex":"1F809"},{"Typeface name":"Wingdings 3","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"129035","Unicode hex":"1F80B"},{"Typeface name":"Wingdings 3","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"129056","Unicode hex":"1F820"},{"Typeface name":"Wingdings 3","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"129058","Unicode hex":"1F822"},{"Typeface name":"Wingdings 3","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"129060","Unicode hex":"1F824"},{"Typeface name":"Wingdings 3","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"129062","Unicode hex":"1F826"},{"Typeface name":"Wingdings 3","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"129064","Unicode hex":"1F828"},{"Typeface name":"Wingdings 3","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"129066","Unicode hex":"1F82A"},{"Typeface name":"Wingdings 3","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"129068","Unicode hex":"1F82C"},{"Typeface name":"Wingdings 3","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"129180","Unicode hex":"1F89C"},{"Typeface name":"Wingdings 3","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"129181","Unicode hex":"1F89D"},{"Typeface name":"Wingdings 3","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"129182","Unicode hex":"1F89E"},{"Typeface name":"Wingdings 3","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"129183","Unicode hex":"1F89F"},{"Typeface name":"Wingdings 3","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"129070","Unicode hex":"1F82E"},{"Typeface name":"Wingdings 3","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"129072","Unicode hex":"1F830"},{"Typeface name":"Wingdings 3","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"129074","Unicode hex":"1F832"},{"Typeface name":"Wingdings 3","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"129076","Unicode hex":"1F834"},{"Typeface name":"Wingdings 3","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"129078","Unicode hex":"1F836"},{"Typeface name":"Wingdings 3","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"129080","Unicode hex":"1F838"},{"Typeface name":"Wingdings 3","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"129082","Unicode hex":"1F83A"},{"Typeface name":"Wingdings 3","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"129081","Unicode hex":"1F839"},{"Typeface name":"Wingdings 3","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"129083","Unicode hex":"1F83B"},{"Typeface name":"Wingdings 3","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"129176","Unicode hex":"1F898"},{"Typeface name":"Wingdings 3","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"129178","Unicode hex":"1F89A"},{"Typeface name":"Wingdings 3","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"129177","Unicode hex":"1F899"},{"Typeface name":"Wingdings 3","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"129179","Unicode hex":"1F89B"},{"Typeface name":"Wingdings 3","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"129084","Unicode hex":"1F83C"},{"Typeface name":"Wingdings 3","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"129086","Unicode hex":"1F83E"},{"Typeface name":"Wingdings 3","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"129085","Unicode hex":"1F83D"},{"Typeface name":"Wingdings 3","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"129087","Unicode hex":"1F83F"},{"Typeface name":"Wingdings 3","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"129088","Unicode hex":"1F840"},{"Typeface name":"Wingdings 3","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"129090","Unicode hex":"1F842"},{"Typeface name":"Wingdings 3","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"129089","Unicode hex":"1F841"},{"Typeface name":"Wingdings 3","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"129091","Unicode hex":"1F843"},{"Typeface name":"Wingdings 3","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"129092","Unicode hex":"1F844"},{"Typeface name":"Wingdings 3","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"129094","Unicode hex":"1F846"},{"Typeface name":"Wingdings 3","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"129093","Unicode hex":"1F845"},{"Typeface name":"Wingdings 3","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"129095","Unicode hex":"1F847"},{"Typeface name":"Wingdings 3","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"11176","Unicode hex":"2BA8"},{"Typeface name":"Wingdings 3","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"11177","Unicode hex":"2BA9"},{"Typeface name":"Wingdings 3","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"11178","Unicode hex":"2BAA"},{"Typeface name":"Wingdings 3","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"11179","Unicode hex":"2BAB"},{"Typeface name":"Wingdings 3","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"11180","Unicode hex":"2BAC"},{"Typeface name":"Wingdings 3","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"11181","Unicode hex":"2BAD"},{"Typeface name":"Wingdings 3","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"11182","Unicode hex":"2BAE"},{"Typeface name":"Wingdings 3","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"11183","Unicode hex":"2BAF"},{"Typeface name":"Wingdings 3","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"129120","Unicode hex":"1F860"},{"Typeface name":"Wingdings 3","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"129122","Unicode hex":"1F862"},{"Typeface name":"Wingdings 3","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"129121","Unicode hex":"1F861"},{"Typeface name":"Wingdings 3","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"129123","Unicode hex":"1F863"},{"Typeface name":"Wingdings 3","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"129124","Unicode hex":"1F864"},{"Typeface name":"Wingdings 3","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"129125","Unicode hex":"1F865"},{"Typeface name":"Wingdings 3","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"129127","Unicode hex":"1F867"},{"Typeface name":"Wingdings 3","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"129126","Unicode hex":"1F866"},{"Typeface name":"Wingdings 3","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"129136","Unicode hex":"1F870"},{"Typeface name":"Wingdings 3","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"129138","Unicode hex":"1F872"},{"Typeface name":"Wingdings 3","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"129137","Unicode hex":"1F871"},{"Typeface name":"Wingdings 3","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"129139","Unicode hex":"1F873"},{"Typeface name":"Wingdings 3","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"129140","Unicode hex":"1F874"},{"Typeface name":"Wingdings 3","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"129141","Unicode hex":"1F875"},{"Typeface name":"Wingdings 3","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"129143","Unicode hex":"1F877"},{"Typeface name":"Wingdings 3","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"129142","Unicode hex":"1F876"},{"Typeface name":"Wingdings 3","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"129152","Unicode hex":"1F880"},{"Typeface name":"Wingdings 3","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"129154","Unicode hex":"1F882"},{"Typeface name":"Wingdings 3","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"129153","Unicode hex":"1F881"},{"Typeface name":"Wingdings 3","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"129155","Unicode hex":"1F883"},{"Typeface name":"Wingdings 3","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"129156","Unicode hex":"1F884"},{"Typeface name":"Wingdings 3","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"129157","Unicode hex":"1F885"},{"Typeface name":"Wingdings 3","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"129159","Unicode hex":"1F887"},{"Typeface name":"Wingdings 3","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"129158","Unicode hex":"1F886"},{"Typeface name":"Wingdings 3","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"129168","Unicode hex":"1F890"},{"Typeface name":"Wingdings 3","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"129170","Unicode hex":"1F892"},{"Typeface name":"Wingdings 3","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"129169","Unicode hex":"1F891"},{"Typeface name":"Wingdings 3","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"129171","Unicode hex":"1F893"},{"Typeface name":"Wingdings 3","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"129172","Unicode hex":"1F894"},{"Typeface name":"Wingdings 3","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"129174","Unicode hex":"1F896"},{"Typeface name":"Wingdings 3","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"129173","Unicode hex":"1F895"},{"Typeface name":"Wingdings 3","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"129175","Unicode hex":"1F897"}];n.default=i},{}],85:[function(e,t,n){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0}),n.hex=n.dec=n.codePoint=void 0;for(var r=i(e("./dingbats")),a={},s=String.fromCodePoint?String.fromCodePoint:g,o=0,c=r.default;o<c.length;o++){var l=c[o],h=parseInt(l["Unicode dec"],10),d={codePoint:h,string:s(h)};a[l["Typeface name"].toUpperCase()+"_"+l["Dingbat dec"]]=d}function u(e,t){return a[e.toUpperCase()+"_"+t]}function f(e,t){return u(e,parseInt(t,10))}function p(e,t){return u(e,parseInt(t,16))}function g(e){if(e<=65535)return String.fromCharCode(e);var t=Math.floor((e-65536)/1024)+55296,n=(e-65536)%1024+56320;return String.fromCharCode(t,n)}n.codePoint=u,n.dec=f,n.hex=p},{"./dingbats":84}],86:[function(e,t,n){n.read=function(e,t,n,i,r){var a,s,o=8*r-i-1,c=(1<<o)-1,l=c>>1,h=-7,d=n?r-1:0,u=n?-1:1,f=e[t+d];for(d+=u,a=f&(1<<-h)-1,f>>=-h,h+=o;h>0;a=256*a+e[t+d],d+=u,h-=8);for(s=a&(1<<-h)-1,a>>=-h,h+=i;h>0;s=256*s+e[t+d],d+=u,h-=8);if(0===a)a=1-l;else{if(a===c)return s?NaN:1/0*(f?-1:1);s+=Math.pow(2,i),a-=l}return(f?-1:1)*s*Math.pow(2,a-i)},n.write=function(e,t,n,i,r,a){var s,o,c,l=8*a-r-1,h=(1<<l)-1,d=h>>1,u=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,f=i?0:a-1,p=i?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(o=isNaN(t)?1:0,s=h):(s=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-s))<1&&(s--,c*=2),(t+=s+d>=1?u/c:u*Math.pow(2,1-d))*c>=2&&(s++,c/=2),s+d>=h?(o=0,s=h):s+d>=1?(o=(t*c-1)*Math.pow(2,r),s+=d):(o=t*Math.pow(2,d-1)*Math.pow(2,r),s=0));r>=8;e[n+f]=255&o,f+=p,o/=256,r-=8);for(s=s<<r|o,l+=r;l>0;e[n+f]=255&s,f+=p,s/=256,l-=8);e[n+f-p]|=128*g}},{}],87:[function(e,t,n){var i={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==i.call(e)}},{}],88:[function(e,t,n){(function(i,r){ +/*! + + JSZip v3.7.1 - A JavaScript class for generating and reading zip files + <http://stuartk.com/jszip> + + (c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com> + Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/master/LICENSE.markdown. + + JSZip uses the library pako released under the MIT license : + https://github.com/nodeca/pako/blob/master/LICENSE + */ +!function(e){"object"==typeof n&&void 0!==t?t.exports=e():("undefined"!=typeof window?window:void 0!==i?i:"undefined"!=typeof self?self:this).JSZip=e()}((function(){return function t(n,i,r){function a(o,c){if(!i[o]){if(!n[o]){var l="function"==typeof e&&e;if(!c&&l)return l(o,!0);if(s)return s(o,!0);var h=new Error("Cannot find module '"+o+"'");throw h.code="MODULE_NOT_FOUND",h}var d=i[o]={exports:{}};n[o][0].call(d.exports,(function(e){return a(n[o][1][e]||e)}),d,d.exports,t,n,i,r)}return i[o].exports}for(var s="function"==typeof e&&e,o=0;o<r.length;o++)a(r[o]);return a}({1:[function(e,t,n){var i=e("./utils"),r=e("./support"),a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";n.encode=function(e){for(var t,n,r,s,o,c,l,h=[],d=0,u=e.length,f=u,p="string"!==i.getTypeOf(e);d<e.length;)f=u-d,r=p?(t=e[d++],n=d<u?e[d++]:0,d<u?e[d++]:0):(t=e.charCodeAt(d++),n=d<u?e.charCodeAt(d++):0,d<u?e.charCodeAt(d++):0),s=t>>2,o=(3&t)<<4|n>>4,c=1<f?(15&n)<<2|r>>6:64,l=2<f?63&r:64,h.push(a.charAt(s)+a.charAt(o)+a.charAt(c)+a.charAt(l));return h.join("")},n.decode=function(e){var t,n,i,s,o,c,l=0,h=0,d="data:";if(e.substr(0,d.length)===d)throw new Error("Invalid base64 input, it looks like a data url.");var u,f=3*(e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"")).length/4;if(e.charAt(e.length-1)===a.charAt(64)&&f--,e.charAt(e.length-2)===a.charAt(64)&&f--,f%1!=0)throw new Error("Invalid base64 input, bad content length.");for(u=r.uint8array?new Uint8Array(0|f):new Array(0|f);l<e.length;)t=a.indexOf(e.charAt(l++))<<2|(s=a.indexOf(e.charAt(l++)))>>4,n=(15&s)<<4|(o=a.indexOf(e.charAt(l++)))>>2,i=(3&o)<<6|(c=a.indexOf(e.charAt(l++))),u[h++]=t,64!==o&&(u[h++]=n),64!==c&&(u[h++]=i);return u}},{"./support":30,"./utils":32}],2:[function(e,t,n){var i=e("./external"),r=e("./stream/DataWorker"),a=e("./stream/Crc32Probe"),s=e("./stream/DataLengthProbe");function o(e,t,n,i,r){this.compressedSize=e,this.uncompressedSize=t,this.crc32=n,this.compression=i,this.compressedContent=r}o.prototype={getContentWorker:function(){var e=new r(i.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new s("data_length")),t=this;return e.on("end",(function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),e},getCompressedWorker:function(){return new r(i.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},o.createWorkerFrom=function(e,t,n){return e.pipe(new a).pipe(new s("uncompressedSize")).pipe(t.compressWorker(n)).pipe(new s("compressedSize")).withStreamInfo("compression",t)},t.exports=o},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,t,n){var i=e("./stream/GenericWorker");n.STORE={magic:"\0\0",compressWorker:function(e){return new i("STORE compression")},uncompressWorker:function(){return new i("STORE decompression")}},n.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,t,n){var i=e("./utils"),r=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var i=0;i<8;i++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t){return void 0!==e&&e.length?"string"!==i.getTypeOf(e)?function(e,t,n,i){var a=r,s=i+n;e^=-1;for(var o=i;o<s;o++)e=e>>>8^a[255&(e^t[o])];return~e}(0|t,e,e.length,0):function(e,t,n,i){var a=r,s=i+n;e^=-1;for(var o=i;o<s;o++)e=e>>>8^a[255&(e^t.charCodeAt(o))];return~e}(0|t,e,e.length,0):0}},{"./utils":32}],5:[function(e,t,n){n.base64=!1,n.binary=!1,n.dir=!1,n.createFolders=!0,n.date=null,n.compression=null,n.compressionOptions=null,n.comment=null,n.unixPermissions=null,n.dosPermissions=null},{}],6:[function(e,t,n){var i=null;i="undefined"!=typeof Promise?Promise:e("lie"),t.exports={Promise:i}},{lie:37}],7:[function(e,t,n){var i="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,r=e("pako"),a=e("./utils"),s=e("./stream/GenericWorker"),o=i?"uint8array":"array";function c(e,t){s.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}n.magic="\b\0",a.inherits(c,s),c.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(a.transformTo(o,e.data),!1)},c.prototype.flush=function(){s.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},c.prototype.cleanUp=function(){s.prototype.cleanUp.call(this),this._pako=null},c.prototype._createPako=function(){this._pako=new r[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},n.compressWorker=function(e){return new c("Deflate",e)},n.uncompressWorker=function(){return new c("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,t,n){function i(e,t){var n,i="";for(n=0;n<t;n++)i+=String.fromCharCode(255&e),e>>>=8;return i}function r(e,t,n,r,s,h){var d,u,f=e.file,p=e.compression,g=h!==o.utf8encode,m=a.transformTo("string",h(f.name)),b=a.transformTo("string",o.utf8encode(f.name)),v=f.comment,y=a.transformTo("string",h(v)),w=a.transformTo("string",o.utf8encode(v)),x=b.length!==f.name.length,_=w.length!==v.length,T="",D="",A="",E=f.dir,k=f.date,S={crc32:0,compressedSize:0,uncompressedSize:0};t&&!n||(S.crc32=e.crc32,S.compressedSize=e.compressedSize,S.uncompressedSize=e.uncompressedSize);var C=0;t&&(C|=8),g||!x&&!_||(C|=2048);var U,F,M,R=0,I=0;E&&(R|=16),"UNIX"===s?(I=798,R|=(U=f.unixPermissions,F=E,M=U,U||(M=F?16893:33204),(65535&M)<<16)):(I=20,R|=function(e){return 63&(e||0)}(f.dosPermissions)),d=k.getUTCHours(),d<<=6,d|=k.getUTCMinutes(),d<<=5,d|=k.getUTCSeconds()/2,u=k.getUTCFullYear()-1980,u<<=4,u|=k.getUTCMonth()+1,u<<=5,u|=k.getUTCDate(),x&&(D=i(1,1)+i(c(m),4)+b,T+="up"+i(D.length,2)+D),_&&(A=i(1,1)+i(c(y),4)+w,T+="uc"+i(A.length,2)+A);var O="";return O+="\n\0",O+=i(C,2),O+=p.magic,O+=i(d,2),O+=i(u,2),O+=i(S.crc32,4),O+=i(S.compressedSize,4),O+=i(S.uncompressedSize,4),O+=i(m.length,2),O+=i(T.length,2),{fileRecord:l.LOCAL_FILE_HEADER+O+m+T,dirRecord:l.CENTRAL_FILE_HEADER+i(I,2)+O+i(y.length,2)+"\0\0\0\0"+i(R,4)+i(r,4)+m+T+y}}var a=e("../utils"),s=e("../stream/GenericWorker"),o=e("../utf8"),c=e("../crc32"),l=e("../signature");function h(e,t,n,i){s.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=n,this.encodeFileName=i,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}a.inherits(h,s),h.prototype.push=function(e){var t=e.meta.percent||0,n=this.entriesCount,i=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,s.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:n?(t+100*(n-i-1))/n:100}}))},h.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var n=r(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0},h.prototype.closedSource=function(e){this.accumulate=!1;var t,n=this.streamFiles&&!e.file.dir,a=r(e,n,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(a.dirRecord),n)this.push({data:(t=e,l.DATA_DESCRIPTOR+i(t.crc32,4)+i(t.compressedSize,4)+i(t.uncompressedSize,4)),meta:{percent:100}});else for(this.push({data:a.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},h.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});var n,r,s,o,c,h,d=this.bytesWritten-e,u=(n=this.dirRecords.length,r=d,s=e,o=this.zipComment,c=this.encodeFileName,h=a.transformTo("string",c(o)),l.CENTRAL_DIRECTORY_END+"\0\0\0\0"+i(n,2)+i(n,2)+i(r,4)+i(s,4)+i(h.length,2)+h);this.push({data:u,meta:{percent:100}})},h.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},h.prototype.registerPrevious=function(e){this._sources.push(e);var t=this;return e.on("data",(function(e){t.processChunk(e)})),e.on("end",(function(){t.closedSource(t.previous.streamInfo),t._sources.length?t.prepareNextSource():t.end()})),e.on("error",(function(e){t.error(e)})),this},h.prototype.resume=function(){return!!s.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},h.prototype.error=function(e){var t=this._sources;if(!s.prototype.error.call(this,e))return!1;for(var n=0;n<t.length;n++)try{t[n].error(e)}catch(i){}return!0},h.prototype.lock=function(){s.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()},t.exports=h},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(e,t,n){var i=e("../compressions"),r=e("./ZipFileWorker");n.generateWorker=function(e,t,n){var a=new r(t.streamFiles,n,t.platform,t.encodeFileName),s=0;try{e.forEach((function(e,n){s++;var r=function(e,t){var n=e||t,r=i[n];if(!r)throw new Error(n+" is not a valid compression method !");return r}(n.options.compression,t.compression),o=n.options.compressionOptions||t.compressionOptions||{},c=n.dir,l=n.date;n._compressWorker(r,o).withStreamInfo("file",{name:e,dir:c,date:l,comment:n.comment||"",unixPermissions:n.unixPermissions,dosPermissions:n.dosPermissions}).pipe(a)})),a.entriesCount=s}catch(o){a.error(o)}return a}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(e,t,n){function i(){if(!(this instanceof i))return new i;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var e=new i;for(var t in this)"function"!=typeof this[t]&&(e[t]=this[t]);return e}}(i.prototype=e("./object")).loadAsync=e("./load"),i.support=e("./support"),i.defaults=e("./defaults"),i.version="3.7.1",i.loadAsync=function(e,t){return(new i).loadAsync(e,t)},i.external=e("./external"),t.exports=i},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(e,t,n){var i=e("./utils"),r=e("./external"),a=e("./utf8"),s=e("./zipEntries"),o=e("./stream/Crc32Probe"),c=e("./nodejsUtils");function l(e){return new r.Promise((function(t,n){var i=e.decompressed.getContentWorker().pipe(new o);i.on("error",(function(e){n(e)})).on("end",(function(){i.streamInfo.crc32!==e.decompressed.crc32?n(new Error("Corrupted zip : CRC32 mismatch")):t()})).resume()}))}t.exports=function(e,t){var n=this;return t=i.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:a.utf8decode}),c.isNode&&c.isStream(e)?r.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):i.prepareContent("the loaded zip file",e,!0,t.optimizedBinaryString,t.base64).then((function(e){var n=new s(t);return n.load(e),n})).then((function(e){var n=[r.Promise.resolve(e)],i=e.files;if(t.checkCRC32)for(var a=0;a<i.length;a++)n.push(l(i[a]));return r.Promise.all(n)})).then((function(e){for(var i=e.shift(),r=i.files,a=0;a<r.length;a++){var s=r[a];n.file(s.fileNameStr,s.decompressed,{binary:!0,optimizedBinaryString:!0,date:s.date,dir:s.dir,comment:s.fileCommentStr.length?s.fileCommentStr:null,unixPermissions:s.unixPermissions,dosPermissions:s.dosPermissions,createFolders:t.createFolders})}return i.zipComment.length&&(n.comment=i.zipComment),n}))}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(e,t,n){var i=e("../utils"),r=e("../stream/GenericWorker");function a(e,t){r.call(this,"Nodejs stream input adapter for "+e),this._upstreamEnded=!1,this._bindStream(t)}i.inherits(a,r),a.prototype._bindStream=function(e){var t=this;(this._stream=e).pause(),e.on("data",(function(e){t.push({data:e,meta:{percent:0}})})).on("error",(function(e){t.isPaused?this.generatedError=e:t.error(e)})).on("end",(function(){t.isPaused?t._upstreamEnded=!0:t.end()}))},a.prototype.pause=function(){return!!r.prototype.pause.call(this)&&(this._stream.pause(),!0)},a.prototype.resume=function(){return!!r.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},t.exports=a},{"../stream/GenericWorker":28,"../utils":32}],13:[function(e,t,n){var i=e("readable-stream").Readable;function r(e,t,n){i.call(this,t),this._helper=e;var r=this;e.on("data",(function(e,t){r.push(e)||r._helper.pause(),n&&n(t)})).on("error",(function(e){r.emit("error",e)})).on("end",(function(){r.push(null)}))}e("../utils").inherits(r,i),r.prototype._read=function(){this._helper.resume()},t.exports=r},{"../utils":32,"readable-stream":16}],14:[function(e,t,n){t.exports={isNode:void 0!==r,newBufferFrom:function(e,t){if(r.from&&r.from!==Uint8Array.from)return r.from(e,t);if("number"==typeof e)throw new Error('The "data" argument must not be a number');return new r(e,t)},allocBuffer:function(e){if(r.alloc)return r.alloc(e);var t=new r(e);return t.fill(0),t},isBuffer:function(e){return r.isBuffer(e)},isStream:function(e){return e&&"function"==typeof e.on&&"function"==typeof e.pause&&"function"==typeof e.resume}}},{}],15:[function(e,t,n){function i(e,t,n){var i,r=a.getTypeOf(t),o=a.extend(n||{},c);o.date=o.date||new Date,null!==o.compression&&(o.compression=o.compression.toUpperCase()),"string"==typeof o.unixPermissions&&(o.unixPermissions=parseInt(o.unixPermissions,8)),o.unixPermissions&&16384&o.unixPermissions&&(o.dir=!0),o.dosPermissions&&16&o.dosPermissions&&(o.dir=!0),o.dir&&(e=g(e)),o.createFolders&&(i=p(e))&&m.call(this,i,!0);var d="string"===r&&!1===o.binary&&!1===o.base64;n&&void 0!==n.binary||(o.binary=!d),(t instanceof l&&0===t.uncompressedSize||o.dir||!t||0===t.length)&&(o.base64=!1,o.binary=!0,t="",o.compression="STORE",r="string");var b=null;b=t instanceof l||t instanceof s?t:u.isNode&&u.isStream(t)?new f(e,t):a.prepareContent(e,t,o.binary,o.optimizedBinaryString,o.base64);var v=new h(e,b,o);this.files[e]=v}var r=e("./utf8"),a=e("./utils"),s=e("./stream/GenericWorker"),o=e("./stream/StreamHelper"),c=e("./defaults"),l=e("./compressedObject"),h=e("./zipObject"),d=e("./generate"),u=e("./nodejsUtils"),f=e("./nodejs/NodejsStreamInputAdapter"),p=function(e){"/"===e.slice(-1)&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return 0<t?e.substring(0,t):""},g=function(e){return"/"!==e.slice(-1)&&(e+="/"),e},m=function(e,t){return t=void 0!==t?t:c.createFolders,e=g(e),this.files[e]||i.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function b(e){return"[object RegExp]"===Object.prototype.toString.call(e)}var v={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(e){var t,n,i;for(t in this.files)i=this.files[t],(n=t.slice(this.root.length,t.length))&&t.slice(0,this.root.length)===this.root&&e(n,i)},filter:function(e){var t=[];return this.forEach((function(n,i){e(n,i)&&t.push(i)})),t},file:function(e,t,n){if(1!==arguments.length)return e=this.root+e,i.call(this,e,t,n),this;if(b(e)){var r=e;return this.filter((function(e,t){return!t.dir&&r.test(e)}))}var a=this.files[this.root+e];return a&&!a.dir?a:null},folder:function(e){if(!e)return this;if(b(e))return this.filter((function(t,n){return n.dir&&e.test(t)}));var t=this.root+e,n=m.call(this,t),i=this.clone();return i.root=n.name,i},remove:function(e){e=this.root+e;var t=this.files[e];if(t||("/"!==e.slice(-1)&&(e+="/"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(var n=this.filter((function(t,n){return n.name.slice(0,e.length)===e})),i=0;i<n.length;i++)delete this.files[n[i].name];return this},generate:function(e){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(e){var t,n={};try{if((n=a.extend(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:r.utf8encode})).type=n.type.toLowerCase(),n.compression=n.compression.toUpperCase(),"binarystring"===n.type&&(n.type="string"),!n.type)throw new Error("No output type specified.");a.checkSupport(n.type),"darwin"!==n.platform&&"freebsd"!==n.platform&&"linux"!==n.platform&&"sunos"!==n.platform||(n.platform="UNIX"),"win32"===n.platform&&(n.platform="DOS");var i=n.comment||this.comment||"";t=d.generateWorker(this,n,i)}catch(c){(t=new s("error")).error(c)}return new o(t,n.type||"string",n.mimeType)},generateAsync:function(e,t){return this.generateInternalStream(e).accumulate(t)},generateNodeStream:function(e,t){return(e=e||{}).type||(e.type="nodebuffer"),this.generateInternalStream(e).toNodejsStream(t)}};t.exports=v},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(e,t,n){t.exports=e("stream")},{stream:void 0}],17:[function(e,t,n){var i=e("./DataReader");function r(e){i.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=255&e[t]}e("../utils").inherits(r,i),r.prototype.byteAt=function(e){return this.data[this.zero+e]},r.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),n=e.charCodeAt(1),i=e.charCodeAt(2),r=e.charCodeAt(3),a=this.length-4;0<=a;--a)if(this.data[a]===t&&this.data[a+1]===n&&this.data[a+2]===i&&this.data[a+3]===r)return a-this.zero;return-1},r.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1),i=e.charCodeAt(2),r=e.charCodeAt(3),a=this.readData(4);return t===a[0]&&n===a[1]&&i===a[2]&&r===a[3]},r.prototype.readData=function(e){if(this.checkOffset(e),0===e)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=r},{"../utils":32,"./DataReader":18}],18:[function(e,t,n){var i=e("../utils");function r(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}r.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(e){},readInt:function(e){var t,n=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)n=(n<<8)+this.byteAt(t);return this.index+=e,n},readString:function(e){return i.transformTo("string",this.readData(e))},readData:function(e){},lastIndexOfSignature:function(e){},readAndCheckSignature:function(e){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},t.exports=r},{"../utils":32}],19:[function(e,t,n){var i=e("./Uint8ArrayReader");function r(e){i.call(this,e)}e("../utils").inherits(r,i),r.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=r},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,t,n){var i=e("./DataReader");function r(e){i.call(this,e)}e("../utils").inherits(r,i),r.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},r.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},r.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},r.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=r},{"../utils":32,"./DataReader":18}],21:[function(e,t,n){var i=e("./ArrayReader");function r(e){i.call(this,e)}e("../utils").inherits(r,i),r.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=r},{"../utils":32,"./ArrayReader":17}],22:[function(e,t,n){var i=e("../utils"),r=e("../support"),a=e("./ArrayReader"),s=e("./StringReader"),o=e("./NodeBufferReader"),c=e("./Uint8ArrayReader");t.exports=function(e){var t=i.getTypeOf(e);return i.checkSupport(t),"string"!==t||r.uint8array?"nodebuffer"===t?new o(e):r.uint8array?new c(i.transformTo("uint8array",e)):new a(i.transformTo("array",e)):new s(e)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,t,n){n.LOCAL_FILE_HEADER="PK",n.CENTRAL_FILE_HEADER="PK",n.CENTRAL_DIRECTORY_END="PK",n.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",n.ZIP64_CENTRAL_DIRECTORY_END="PK",n.DATA_DESCRIPTOR="PK\b"},{}],24:[function(e,t,n){var i=e("./GenericWorker"),r=e("../utils");function a(e){i.call(this,"ConvertWorker to "+e),this.destType=e}r.inherits(a,i),a.prototype.processChunk=function(e){this.push({data:r.transformTo(this.destType,e.data),meta:e.meta})},t.exports=a},{"../utils":32,"./GenericWorker":28}],25:[function(e,t,n){var i=e("./GenericWorker"),r=e("../crc32");function a(){i.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}e("../utils").inherits(a,i),a.prototype.processChunk=function(e){this.streamInfo.crc32=r(e.data,this.streamInfo.crc32||0),this.push(e)},t.exports=a},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,t,n){var i=e("../utils"),r=e("./GenericWorker");function a(e){r.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}i.inherits(a,r),a.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}r.prototype.processChunk.call(this,e)},t.exports=a},{"../utils":32,"./GenericWorker":28}],27:[function(e,t,n){var i=e("../utils"),r=e("./GenericWorker");function a(e){r.call(this,"DataWorker");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then((function(e){t.dataIsReady=!0,t.data=e,t.max=e&&e.length||0,t.type=i.getTypeOf(e),t.isPaused||t._tickAndRepeat()}),(function(e){t.error(e)}))}i.inherits(a,r),a.prototype.cleanUp=function(){r.prototype.cleanUp.call(this),this.data=null},a.prototype.resume=function(){return!!r.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,i.delay(this._tickAndRepeat,[],this)),!0)},a.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(i.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},a.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,t);break;case"uint8array":e=this.data.subarray(this.index,t);break;case"array":case"nodebuffer":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},t.exports=a},{"../utils":32,"./GenericWorker":28}],28:[function(e,t,n){function i(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}i.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var n=0;n<this._listeners[e].length;n++)this._listeners[e][n].call(this,t)},pipe:function(e){return e.registerPrevious(this)},registerPrevious:function(e){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var t=this;return e.on("data",(function(e){t.processChunk(e)})),e.on("end",(function(){t.end()})),e.on("error",(function(e){t.error(e)})),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var e=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),e=!0),this.previous&&this.previous.resume(),!e},flush:function(){},processChunk:function(e){this.push(e)},withStreamInfo:function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var e in this.extraStreamInfo)this.extraStreamInfo.hasOwnProperty(e)&&(this.streamInfo[e]=this.extraStreamInfo[e])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var e="Worker "+this.name;return this.previous?this.previous+" -> "+e:e}},t.exports=i},{}],29:[function(e,t,n){var i=e("../utils"),a=e("./ConvertWorker"),s=e("./GenericWorker"),o=e("../base64"),c=e("../support"),l=e("../external"),h=null;if(c.nodestream)try{h=e("../nodejs/NodejsStreamOutputAdapter")}catch(f){}function d(e,t){return new l.Promise((function(n,a){var s=[],c=e._internalType,l=e._outputType,h=e._mimeType;e.on("data",(function(e,n){s.push(e),t&&t(n)})).on("error",(function(e){s=[],a(e)})).on("end",(function(){try{var e=function(e,t,n){switch(e){case"blob":return i.newBlob(i.transformTo("arraybuffer",t),n);case"base64":return o.encode(t);default:return i.transformTo(e,t)}}(l,function(e,t){var n,i=0,a=null,s=0;for(n=0;n<t.length;n++)s+=t[n].length;switch(e){case"string":return t.join("");case"array":return Array.prototype.concat.apply([],t);case"uint8array":for(a=new Uint8Array(s),n=0;n<t.length;n++)a.set(t[n],i),i+=t[n].length;return a;case"nodebuffer":return r.concat(t);default:throw new Error("concat : unsupported type '"+e+"'")}}(c,s),h);n(e)}catch(t){a(t)}s=[]})).resume()}))}function u(e,t,n){var r=t;switch(t){case"blob":case"arraybuffer":r="uint8array";break;case"base64":r="string"}try{this._internalType=r,this._outputType=t,this._mimeType=n,i.checkSupport(r),this._worker=e.pipe(new a(r)),e.lock()}catch(o){this._worker=new s("error"),this._worker.error(o)}}u.prototype={accumulate:function(e){return d(this,e)},on:function(e,t){var n=this;return"data"===e?this._worker.on(e,(function(e){t.call(n,e.data,e.meta)})):this._worker.on(e,(function(){i.delay(t,arguments,n)})),this},resume:function(){return i.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(i.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new h(this,{objectMode:"nodebuffer"!==this._outputType},e)}},t.exports=u},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(e,t,n){if(n.base64=!0,n.array=!0,n.string=!0,n.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,n.nodebuffer=void 0!==r,n.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)n.blob=!1;else{var i=new ArrayBuffer(0);try{n.blob=0===new Blob([i],{type:"application/zip"}).size}catch(s){try{var a=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);a.append(i),n.blob=0===a.getBlob("application/zip").size}catch(o){n.blob=!1}}}try{n.nodestream=!!e("readable-stream").Readable}catch(s){n.nodestream=!1}},{"readable-stream":16}],31:[function(e,t,n){for(var i=e("./utils"),r=e("./support"),a=e("./nodejsUtils"),s=e("./stream/GenericWorker"),o=new Array(256),c=0;c<256;c++)o[c]=252<=c?6:248<=c?5:240<=c?4:224<=c?3:192<=c?2:1;function l(){s.call(this,"utf-8 decode"),this.leftOver=null}function h(){s.call(this,"utf-8 encode")}o[254]=o[254]=1,n.utf8encode=function(e){return r.nodebuffer?a.newBufferFrom(e,"utf-8"):function(e){var t,n,i,a,s,o=e.length,c=0;for(a=0;a<o;a++)55296==(64512&(n=e.charCodeAt(a)))&&a+1<o&&56320==(64512&(i=e.charCodeAt(a+1)))&&(n=65536+(n-55296<<10)+(i-56320),a++),c+=n<128?1:n<2048?2:n<65536?3:4;for(t=r.uint8array?new Uint8Array(c):new Array(c),a=s=0;s<c;a++)55296==(64512&(n=e.charCodeAt(a)))&&a+1<o&&56320==(64512&(i=e.charCodeAt(a+1)))&&(n=65536+(n-55296<<10)+(i-56320),a++),n<128?t[s++]=n:(n<2048?t[s++]=192|n>>>6:(n<65536?t[s++]=224|n>>>12:(t[s++]=240|n>>>18,t[s++]=128|n>>>12&63),t[s++]=128|n>>>6&63),t[s++]=128|63&n);return t}(e)},n.utf8decode=function(e){return r.nodebuffer?i.transformTo("nodebuffer",e).toString("utf-8"):function(e){var t,n,r,a,s=e.length,c=new Array(2*s);for(t=n=0;t<s;)if((r=e[t++])<128)c[n++]=r;else if(4<(a=o[r]))c[n++]=65533,t+=a-1;else{for(r&=2===a?31:3===a?15:7;1<a&&t<s;)r=r<<6|63&e[t++],a--;1<a?c[n++]=65533:r<65536?c[n++]=r:(r-=65536,c[n++]=55296|r>>10&1023,c[n++]=56320|1023&r)}return c.length!==n&&(c.subarray?c=c.subarray(0,n):c.length=n),i.applyFromCharCode(c)}(e=i.transformTo(r.uint8array?"uint8array":"array",e))},i.inherits(l,s),l.prototype.processChunk=function(e){var t=i.transformTo(r.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(r.uint8array){var a=t;(t=new Uint8Array(a.length+this.leftOver.length)).set(this.leftOver,0),t.set(a,this.leftOver.length)}else t=this.leftOver.concat(t);this.leftOver=null}var s=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;0<=n&&128==(192&e[n]);)n--;return n<0||0===n?t:n+o[e[n]]>t?n:t}(t),c=t;s!==t.length&&(r.uint8array?(c=t.subarray(0,s),this.leftOver=t.subarray(s,t.length)):(c=t.slice(0,s),this.leftOver=t.slice(s,t.length))),this.push({data:n.utf8decode(c),meta:e.meta})},l.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:n.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},n.Utf8DecodeWorker=l,i.inherits(h,s),h.prototype.processChunk=function(e){this.push({data:n.utf8encode(e.data),meta:e.meta})},n.Utf8EncodeWorker=h},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,t,n){var i=e("./support"),r=e("./base64"),a=e("./nodejsUtils"),s=e("set-immediate-shim"),o=e("./external");function c(e){return e}function l(e,t){for(var n=0;n<e.length;++n)t[n]=255&e.charCodeAt(n);return t}n.newBlob=function(e,t){n.checkSupport("blob");try{return new Blob([e],{type:t})}catch(r){try{var i=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return i.append(e),i.getBlob(t)}catch(a){throw new Error("Bug : can't construct the Blob.")}}};var h={stringifyByChunk:function(e,t,n){var i=[],r=0,a=e.length;if(a<=n)return String.fromCharCode.apply(null,e);for(;r<a;)"array"===t||"nodebuffer"===t?i.push(String.fromCharCode.apply(null,e.slice(r,Math.min(r+n,a)))):i.push(String.fromCharCode.apply(null,e.subarray(r,Math.min(r+n,a)))),r+=n;return i.join("")},stringifyByChar:function(e){for(var t="",n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t},applyCanBeUsed:{uint8array:function(){try{return i.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(e){return!1}}(),nodebuffer:function(){try{return i.nodebuffer&&1===String.fromCharCode.apply(null,a.allocBuffer(1)).length}catch(e){return!1}}()}};function d(e){var t=65536,i=n.getTypeOf(e),r=!0;if("uint8array"===i?r=h.applyCanBeUsed.uint8array:"nodebuffer"===i&&(r=h.applyCanBeUsed.nodebuffer),r)for(;1<t;)try{return h.stringifyByChunk(e,i,t)}catch(a){t=Math.floor(t/2)}return h.stringifyByChar(e)}function u(e,t){for(var n=0;n<e.length;n++)t[n]=e[n];return t}n.applyFromCharCode=d;var f={};f.string={string:c,array:function(e){return l(e,new Array(e.length))},arraybuffer:function(e){return f.string.uint8array(e).buffer},uint8array:function(e){return l(e,new Uint8Array(e.length))},nodebuffer:function(e){return l(e,a.allocBuffer(e.length))}},f.array={string:d,array:c,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return a.newBufferFrom(e)}},f.arraybuffer={string:function(e){return d(new Uint8Array(e))},array:function(e){return u(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:c,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return a.newBufferFrom(new Uint8Array(e))}},f.uint8array={string:d,array:function(e){return u(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:c,nodebuffer:function(e){return a.newBufferFrom(e)}},f.nodebuffer={string:d,array:function(e){return u(e,new Array(e.length))},arraybuffer:function(e){return f.nodebuffer.uint8array(e).buffer},uint8array:function(e){return u(e,new Uint8Array(e.length))},nodebuffer:c},n.transformTo=function(e,t){if(t=t||"",!e)return t;n.checkSupport(e);var i=n.getTypeOf(t);return f[i][e](t)},n.getTypeOf=function(e){return"string"==typeof e?"string":"[object Array]"===Object.prototype.toString.call(e)?"array":i.nodebuffer&&a.isBuffer(e)?"nodebuffer":i.uint8array&&e instanceof Uint8Array?"uint8array":i.arraybuffer&&e instanceof ArrayBuffer?"arraybuffer":void 0},n.checkSupport=function(e){if(!i[e.toLowerCase()])throw new Error(e+" is not supported by this platform")},n.MAX_VALUE_16BITS=65535,n.MAX_VALUE_32BITS=-1,n.pretty=function(e){var t,n,i="";for(n=0;n<(e||"").length;n++)i+="\\x"+((t=e.charCodeAt(n))<16?"0":"")+t.toString(16).toUpperCase();return i},n.delay=function(e,t,n){s((function(){e.apply(n||null,t||[])}))},n.inherits=function(e,t){function n(){}n.prototype=t.prototype,e.prototype=new n},n.extend=function(){var e,t,n={};for(e=0;e<arguments.length;e++)for(t in arguments[e])arguments[e].hasOwnProperty(t)&&void 0===n[t]&&(n[t]=arguments[e][t]);return n},n.prepareContent=function(e,t,a,s,c){return o.Promise.resolve(t).then((function(e){return i.blob&&(e instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(e)))&&"undefined"!=typeof FileReader?new o.Promise((function(t,n){var i=new FileReader;i.onload=function(e){t(e.target.result)},i.onerror=function(e){n(e.target.error)},i.readAsArrayBuffer(e)})):e})).then((function(t){var h,d=n.getTypeOf(t);return d?("arraybuffer"===d?t=n.transformTo("uint8array",t):"string"===d&&(c?t=r.decode(t):a&&!0!==s&&(t=l(h=t,i.uint8array?new Uint8Array(h.length):new Array(h.length)))),t):o.Promise.reject(new Error("Can't read the data of '"+e+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))}))}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,"set-immediate-shim":54}],33:[function(e,t,n){var i=e("./reader/readerFor"),r=e("./utils"),a=e("./signature"),s=e("./zipEntry"),o=(e("./utf8"),e("./support"));function c(e){this.files=[],this.loadOptions=e}c.prototype={checkSignature:function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+r.pretty(t)+", expected "+r.pretty(e)+")")}},isSignature:function(e,t){var n=this.reader.index;this.reader.setIndex(e);var i=this.reader.readString(4)===t;return this.reader.setIndex(n),i},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var e=this.reader.readData(this.zipCommentLength),t=o.uint8array?"uint8array":"array",n=r.transformTo(t,e);this.zipComment=this.loadOptions.decodeFileName(n)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var e,t,n,i=this.zip64EndOfCentralSize-44;0<i;)e=this.reader.readInt(2),t=this.reader.readInt(4),n=this.reader.readData(t),this.zip64ExtensibleData[e]={id:e,length:t,value:n}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(a.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(a.CENTRAL_FILE_HEADER);)(e=new s({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(a.CENTRAL_DIRECTORY_END);if(e<0)throw this.isSignature(0,a.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(e);var t=e;if(this.checkSignature(a.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===r.MAX_VALUE_16BITS||this.diskWithCentralDirStart===r.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===r.MAX_VALUE_16BITS||this.centralDirRecords===r.MAX_VALUE_16BITS||this.centralDirSize===r.MAX_VALUE_32BITS||this.centralDirOffset===r.MAX_VALUE_32BITS){if(this.zip64=!0,(e=this.reader.lastIndexOfSignature(a.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(e),this.checkSignature(a.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,a.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(a.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(a.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var n=this.centralDirOffset+this.centralDirSize;this.zip64&&(n+=20,n+=12+this.zip64EndOfCentralSize);var i=t-n;if(0<i)this.isSignature(t,a.CENTRAL_FILE_HEADER)||(this.reader.zero=i);else if(i<0)throw new Error("Corrupted zip: missing "+Math.abs(i)+" bytes.")},prepareReader:function(e){this.reader=i(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},t.exports=c},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utf8":31,"./utils":32,"./zipEntry":34}],34:[function(e,t,n){var i=e("./reader/readerFor"),r=e("./utils"),a=e("./compressedObject"),s=e("./crc32"),o=e("./utf8"),c=e("./compressions"),l=e("./support");function h(e,t){this.options=e,this.loadOptions=t}h.prototype={isEncrypted:function(){return!(1&~this.bitFlag)},useUTF8:function(){return!(2048&~this.bitFlag)},readLocalPart:function(e){var t,n;if(e.skip(22),this.fileNameLength=e.readInt(2),n=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(n),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(t=function(e){for(var t in c)if(c.hasOwnProperty(t)&&c[t].magic===e)return c[t];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+r.pretty(this.compressionMethod)+" unknown (inner file : "+r.transformTo("string",this.fileName)+")");this.decompressed=new a(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var t=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0==e&&(this.dosPermissions=63&this.externalFileAttributes),3==e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(e){if(this.extraFields[1]){var t=i(this.extraFields[1].value);this.uncompressedSize===r.MAX_VALUE_32BITS&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===r.MAX_VALUE_32BITS&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===r.MAX_VALUE_32BITS&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===r.MAX_VALUE_32BITS&&(this.diskNumberStart=t.readInt(4))}},readExtraFields:function(e){var t,n,i,r=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4<r;)t=e.readInt(2),n=e.readInt(2),i=e.readData(n),this.extraFields[t]={id:t,length:n,value:i};e.setIndex(r)},handleUTF8:function(){var e=l.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=o.utf8decode(this.fileName),this.fileCommentStr=o.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(null!==t)this.fileNameStr=t;else{var n=r.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(n)}var i=this.findExtraFieldUnicodeComment();if(null!==i)this.fileCommentStr=i;else{var a=r.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(a)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=i(e.value);return 1!==t.readInt(1)||s(this.fileName)!==t.readInt(4)?null:o.utf8decode(t.readData(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=i(e.value);return 1!==t.readInt(1)||s(this.fileComment)!==t.readInt(4)?null:o.utf8decode(t.readData(e.length-5))}return null}},t.exports=h},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(e,t,n){function i(e,t,n){this.name=e,this.dir=n.dir,this.date=n.date,this.comment=n.comment,this.unixPermissions=n.unixPermissions,this.dosPermissions=n.dosPermissions,this._data=t,this._dataBinary=n.binary,this.options={compression:n.compression,compressionOptions:n.compressionOptions}}var r=e("./stream/StreamHelper"),a=e("./stream/DataWorker"),s=e("./utf8"),o=e("./compressedObject"),c=e("./stream/GenericWorker");i.prototype={internalStream:function(e){var t=null,n="string";try{if(!e)throw new Error("No output type specified.");var i="string"===(n=e.toLowerCase())||"text"===n;"binarystring"!==n&&"text"!==n||(n="string"),t=this._decompressWorker();var a=!this._dataBinary;a&&!i&&(t=t.pipe(new s.Utf8EncodeWorker)),!a&&i&&(t=t.pipe(new s.Utf8DecodeWorker))}catch(o){(t=new c("error")).error(o)}return new r(t,n,"")},async:function(e,t){return this.internalStream(e).accumulate(t)},nodeStream:function(e,t){return this.internalStream(e||"nodebuffer").toNodejsStream(t)},_compressWorker:function(e,t){if(this._data instanceof o&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var n=this._decompressWorker();return this._dataBinary||(n=n.pipe(new s.Utf8EncodeWorker)),o.createWorkerFrom(n,e,t)},_decompressWorker:function(){return this._data instanceof o?this._data.getContentWorker():this._data instanceof c?this._data:new a(this._data)}};for(var l=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],h=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},d=0;d<l.length;d++)i.prototype[l[d]]=h;t.exports=i},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(e,t,n){(function(e){var n,i,r=e.MutationObserver||e.WebKitMutationObserver;if(r){var a=0,s=new r(h),o=e.document.createTextNode("");s.observe(o,{characterData:!0}),n=function(){o.data=a=++a%2}}else if(e.setImmediate||void 0===e.MessageChannel)n="document"in e&&"onreadystatechange"in e.document.createElement("script")?function(){var t=e.document.createElement("script");t.onreadystatechange=function(){h(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},e.document.documentElement.appendChild(t)}:function(){setTimeout(h,0)};else{var c=new e.MessageChannel;c.port1.onmessage=h,n=function(){c.port2.postMessage(0)}}var l=[];function h(){var e,t;i=!0;for(var n=l.length;n;){for(t=l,l=[],e=-1;++e<n;)t[e]();n=l.length}i=!1}t.exports=function(e){1!==l.push(e)||i||n()}}).call(this,void 0!==i?i:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],37:[function(e,t,n){var i=e("immediate");function r(){}var a={},s=["REJECTED"],o=["FULFILLED"],c=["PENDING"];function l(e){if("function"!=typeof e)throw new TypeError("resolver must be a function");this.state=c,this.queue=[],this.outcome=void 0,e!==r&&f(this,e)}function h(e,t,n){this.promise=e,"function"==typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),"function"==typeof n&&(this.onRejected=n,this.callRejected=this.otherCallRejected)}function d(e,t,n){i((function(){var i;try{i=t(n)}catch(r){return a.reject(e,r)}i===e?a.reject(e,new TypeError("Cannot resolve promise with itself")):a.resolve(e,i)}))}function u(e){var t=e&&e.then;if(e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof t)return function(){t.apply(e,arguments)}}function f(e,t){var n=!1;function i(t){n||(n=!0,a.reject(e,t))}function r(t){n||(n=!0,a.resolve(e,t))}var s=p((function(){t(r,i)}));"error"===s.status&&i(s.value)}function p(e,t){var n={};try{n.value=e(t),n.status="success"}catch(i){n.status="error",n.value=i}return n}(t.exports=l).prototype.finally=function(e){if("function"!=typeof e)return this;var t=this.constructor;return this.then((function(n){return t.resolve(e()).then((function(){return n}))}),(function(n){return t.resolve(e()).then((function(){throw n}))}))},l.prototype.catch=function(e){return this.then(null,e)},l.prototype.then=function(e,t){if("function"!=typeof e&&this.state===o||"function"!=typeof t&&this.state===s)return this;var n=new this.constructor(r);return this.state!==c?d(n,this.state===o?e:t,this.outcome):this.queue.push(new h(n,e,t)),n},h.prototype.callFulfilled=function(e){a.resolve(this.promise,e)},h.prototype.otherCallFulfilled=function(e){d(this.promise,this.onFulfilled,e)},h.prototype.callRejected=function(e){a.reject(this.promise,e)},h.prototype.otherCallRejected=function(e){d(this.promise,this.onRejected,e)},a.resolve=function(e,t){var n=p(u,t);if("error"===n.status)return a.reject(e,n.value);var i=n.value;if(i)f(e,i);else{e.state=o,e.outcome=t;for(var r=-1,s=e.queue.length;++r<s;)e.queue[r].callFulfilled(t)}return e},a.reject=function(e,t){e.state=s,e.outcome=t;for(var n=-1,i=e.queue.length;++n<i;)e.queue[n].callRejected(t);return e},l.resolve=function(e){return e instanceof this?e:a.resolve(new this(r),e)},l.reject=function(e){var t=new this(r);return a.reject(t,e)},l.all=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var n=e.length,i=!1;if(!n)return this.resolve([]);for(var s=new Array(n),o=0,c=-1,l=new this(r);++c<n;)h(e[c],c);return l;function h(e,r){t.resolve(e).then((function(e){s[r]=e,++o!==n||i||(i=!0,a.resolve(l,s))}),(function(e){i||(i=!0,a.reject(l,e))}))}},l.race=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var n=e.length,i=!1;if(!n)return this.resolve([]);for(var s,o=-1,c=new this(r);++o<n;)s=e[o],t.resolve(s).then((function(e){i||(i=!0,a.resolve(c,e))}),(function(e){i||(i=!0,a.reject(c,e))}));return c}},{immediate:36}],38:[function(e,t,n){var i={};(0,e("./lib/utils/common").assign)(i,e("./lib/deflate"),e("./lib/inflate"),e("./lib/zlib/constants")),t.exports=i},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(e,t,n){var i=e("./zlib/deflate"),r=e("./utils/common"),a=e("./utils/strings"),s=e("./zlib/messages"),o=e("./zlib/zstream"),c=Object.prototype.toString,l=0,h=-1,d=0,u=8;function f(e){if(!(this instanceof f))return new f(e);this.options=r.assign({level:h,method:u,chunkSize:16384,windowBits:15,memLevel:8,strategy:d,to:""},e||{});var t=this.options;t.raw&&0<t.windowBits?t.windowBits=-t.windowBits:t.gzip&&0<t.windowBits&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new o,this.strm.avail_out=0;var n=i.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==l)throw new Error(s[n]);if(t.header&&i.deflateSetHeader(this.strm,t.header),t.dictionary){var p;if(p="string"==typeof t.dictionary?a.string2buf(t.dictionary):"[object ArrayBuffer]"===c.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(n=i.deflateSetDictionary(this.strm,p))!==l)throw new Error(s[n]);this._dict_set=!0}}function p(e,t){var n=new f(t);if(n.push(e,!0),n.err)throw n.msg||s[n.err];return n.result}f.prototype.push=function(e,t){var n,s,o=this.strm,h=this.options.chunkSize;if(this.ended)return!1;s=t===~~t?t:!0===t?4:0,"string"==typeof e?o.input=a.string2buf(e):"[object ArrayBuffer]"===c.call(e)?o.input=new Uint8Array(e):o.input=e,o.next_in=0,o.avail_in=o.input.length;do{if(0===o.avail_out&&(o.output=new r.Buf8(h),o.next_out=0,o.avail_out=h),1!==(n=i.deflate(o,s))&&n!==l)return this.onEnd(n),!(this.ended=!0);0!==o.avail_out&&(0!==o.avail_in||4!==s&&2!==s)||("string"===this.options.to?this.onData(a.buf2binstring(r.shrinkBuf(o.output,o.next_out))):this.onData(r.shrinkBuf(o.output,o.next_out)))}while((0<o.avail_in||0===o.avail_out)&&1!==n);return 4===s?(n=i.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===l):2!==s||(this.onEnd(l),!(o.avail_out=0))},f.prototype.onData=function(e){this.chunks.push(e)},f.prototype.onEnd=function(e){e===l&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=r.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},n.Deflate=f,n.deflate=p,n.deflateRaw=function(e,t){return(t=t||{}).raw=!0,p(e,t)},n.gzip=function(e,t){return(t=t||{}).gzip=!0,p(e,t)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(e,t,n){var i=e("./zlib/inflate"),r=e("./utils/common"),a=e("./utils/strings"),s=e("./zlib/constants"),o=e("./zlib/messages"),c=e("./zlib/zstream"),l=e("./zlib/gzheader"),h=Object.prototype.toString;function d(e){if(!(this instanceof d))return new d(e);this.options=r.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&0<=t.windowBits&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(0<=t.windowBits&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),15<t.windowBits&&t.windowBits<48&&!(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new c,this.strm.avail_out=0;var n=i.inflateInit2(this.strm,t.windowBits);if(n!==s.Z_OK)throw new Error(o[n]);this.header=new l,i.inflateGetHeader(this.strm,this.header)}function u(e,t){var n=new d(t);if(n.push(e,!0),n.err)throw n.msg||o[n.err];return n.result}d.prototype.push=function(e,t){var n,o,c,l,d,u,f=this.strm,p=this.options.chunkSize,g=this.options.dictionary,m=!1;if(this.ended)return!1;o=t===~~t?t:!0===t?s.Z_FINISH:s.Z_NO_FLUSH,"string"==typeof e?f.input=a.binstring2buf(e):"[object ArrayBuffer]"===h.call(e)?f.input=new Uint8Array(e):f.input=e,f.next_in=0,f.avail_in=f.input.length;do{if(0===f.avail_out&&(f.output=new r.Buf8(p),f.next_out=0,f.avail_out=p),(n=i.inflate(f,s.Z_NO_FLUSH))===s.Z_NEED_DICT&&g&&(u="string"==typeof g?a.string2buf(g):"[object ArrayBuffer]"===h.call(g)?new Uint8Array(g):g,n=i.inflateSetDictionary(this.strm,u)),n===s.Z_BUF_ERROR&&!0===m&&(n=s.Z_OK,m=!1),n!==s.Z_STREAM_END&&n!==s.Z_OK)return this.onEnd(n),!(this.ended=!0);f.next_out&&(0!==f.avail_out&&n!==s.Z_STREAM_END&&(0!==f.avail_in||o!==s.Z_FINISH&&o!==s.Z_SYNC_FLUSH)||("string"===this.options.to?(c=a.utf8border(f.output,f.next_out),l=f.next_out-c,d=a.buf2string(f.output,c),f.next_out=l,f.avail_out=p-l,l&&r.arraySet(f.output,f.output,c,l,0),this.onData(d)):this.onData(r.shrinkBuf(f.output,f.next_out)))),0===f.avail_in&&0===f.avail_out&&(m=!0)}while((0<f.avail_in||0===f.avail_out)&&n!==s.Z_STREAM_END);return n===s.Z_STREAM_END&&(o=s.Z_FINISH),o===s.Z_FINISH?(n=i.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===s.Z_OK):o!==s.Z_SYNC_FLUSH||(this.onEnd(s.Z_OK),!(f.avail_out=0))},d.prototype.onData=function(e){this.chunks.push(e)},d.prototype.onEnd=function(e){e===s.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=r.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},n.Inflate=d,n.inflate=u,n.inflateRaw=function(e,t){return(t=t||{}).raw=!0,u(e,t)},n.ungzip=u},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(e,t,n){var i="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;n.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var n=t.shift();if(n){if("object"!=typeof n)throw new TypeError(n+"must be non-object");for(var i in n)n.hasOwnProperty(i)&&(e[i]=n[i])}}return e},n.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var r={arraySet:function(e,t,n,i,r){if(t.subarray&&e.subarray)e.set(t.subarray(n,n+i),r);else for(var a=0;a<i;a++)e[r+a]=t[n+a]},flattenChunks:function(e){var t,n,i,r,a,s;for(t=i=0,n=e.length;t<n;t++)i+=e[t].length;for(s=new Uint8Array(i),t=r=0,n=e.length;t<n;t++)a=e[t],s.set(a,r),r+=a.length;return s}},a={arraySet:function(e,t,n,i,r){for(var a=0;a<i;a++)e[r+a]=t[n+a]},flattenChunks:function(e){return[].concat.apply([],e)}};n.setTyped=function(e){e?(n.Buf8=Uint8Array,n.Buf16=Uint16Array,n.Buf32=Int32Array,n.assign(n,r)):(n.Buf8=Array,n.Buf16=Array,n.Buf32=Array,n.assign(n,a))},n.setTyped(i)},{}],42:[function(e,t,n){var i=e("./common"),r=!0,a=!0;try{String.fromCharCode.apply(null,[0])}catch(l){r=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(l){a=!1}for(var s=new i.Buf8(256),o=0;o<256;o++)s[o]=252<=o?6:248<=o?5:240<=o?4:224<=o?3:192<=o?2:1;function c(e,t){if(t<65537&&(e.subarray&&a||!e.subarray&&r))return String.fromCharCode.apply(null,i.shrinkBuf(e,t));for(var n="",s=0;s<t;s++)n+=String.fromCharCode(e[s]);return n}s[254]=s[254]=1,n.string2buf=function(e){var t,n,r,a,s,o=e.length,c=0;for(a=0;a<o;a++)55296==(64512&(n=e.charCodeAt(a)))&&a+1<o&&56320==(64512&(r=e.charCodeAt(a+1)))&&(n=65536+(n-55296<<10)+(r-56320),a++),c+=n<128?1:n<2048?2:n<65536?3:4;for(t=new i.Buf8(c),a=s=0;s<c;a++)55296==(64512&(n=e.charCodeAt(a)))&&a+1<o&&56320==(64512&(r=e.charCodeAt(a+1)))&&(n=65536+(n-55296<<10)+(r-56320),a++),n<128?t[s++]=n:(n<2048?t[s++]=192|n>>>6:(n<65536?t[s++]=224|n>>>12:(t[s++]=240|n>>>18,t[s++]=128|n>>>12&63),t[s++]=128|n>>>6&63),t[s++]=128|63&n);return t},n.buf2binstring=function(e){return c(e,e.length)},n.binstring2buf=function(e){for(var t=new i.Buf8(e.length),n=0,r=t.length;n<r;n++)t[n]=e.charCodeAt(n);return t},n.buf2string=function(e,t){var n,i,r,a,o=t||e.length,l=new Array(2*o);for(n=i=0;n<o;)if((r=e[n++])<128)l[i++]=r;else if(4<(a=s[r]))l[i++]=65533,n+=a-1;else{for(r&=2===a?31:3===a?15:7;1<a&&n<o;)r=r<<6|63&e[n++],a--;1<a?l[i++]=65533:r<65536?l[i++]=r:(r-=65536,l[i++]=55296|r>>10&1023,l[i++]=56320|1023&r)}return c(l,i)},n.utf8border=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;0<=n&&128==(192&e[n]);)n--;return n<0||0===n?t:n+s[e[n]]>t?n:t}},{"./common":41}],43:[function(e,t,n){t.exports=function(e,t,n,i){for(var r=65535&e,a=e>>>16&65535,s=0;0!==n;){for(n-=s=2e3<n?2e3:n;a=a+(r=r+t[i++]|0)|0,--s;);r%=65521,a%=65521}return r|a<<16}},{}],44:[function(e,t,n){t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(e,t,n){var i=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var i=0;i<8;i++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t,n,r){var a=i,s=r+n;e^=-1;for(var o=r;o<s;o++)e=e>>>8^a[255&(e^t[o])];return~e}},{}],46:[function(e,t,n){var i,r=e("../utils/common"),a=e("./trees"),s=e("./adler32"),o=e("./crc32"),c=e("./messages"),l=0,h=4,d=0,u=-2,f=-1,p=4,g=2,m=8,b=9,v=286,y=30,w=19,x=2*v+1,_=15,T=3,D=258,A=D+T+1,E=42,k=113,S=1,C=2,U=3,F=4;function M(e,t){return e.msg=c[t],t}function R(e){return(e<<1)-(4<e?9:0)}function I(e){for(var t=e.length;0<=--t;)e[t]=0}function O(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(r.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))}function N(e,t){a._tr_flush_block(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,O(e.strm)}function P(e,t){e.pending_buf[e.pending++]=t}function L(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function W(e,t){var n,i,r=e.max_chain_length,a=e.strstart,s=e.prev_length,o=e.nice_match,c=e.strstart>e.w_size-A?e.strstart-(e.w_size-A):0,l=e.window,h=e.w_mask,d=e.prev,u=e.strstart+D,f=l[a+s-1],p=l[a+s];e.prev_length>=e.good_match&&(r>>=2),o>e.lookahead&&(o=e.lookahead);do{if(l[(n=t)+s]===p&&l[n+s-1]===f&&l[n]===l[a]&&l[++n]===l[a+1]){a+=2,n++;do{}while(l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&a<u);if(i=D-(u-a),a=u-D,s<i){if(e.match_start=t,o<=(s=i))break;f=l[a+s-1],p=l[a+s]}}}while((t=d[t&h])>c&&0!=--r);return s<=e.lookahead?s:e.lookahead}function B(e){var t,n,i,a,c,l,h,d,u,f,p=e.w_size;do{if(a=e.window_size-e.lookahead-e.strstart,e.strstart>=p+(p-A)){for(r.arraySet(e.window,e.window,p,p,0),e.match_start-=p,e.strstart-=p,e.block_start-=p,t=n=e.hash_size;i=e.head[--t],e.head[t]=p<=i?i-p:0,--n;);for(t=n=p;i=e.prev[--t],e.prev[t]=p<=i?i-p:0,--n;);a+=p}if(0===e.strm.avail_in)break;if(l=e.strm,h=e.window,d=e.strstart+e.lookahead,f=void 0,(u=a)<(f=l.avail_in)&&(f=u),n=0===f?0:(l.avail_in-=f,r.arraySet(h,l.input,l.next_in,f,d),1===l.state.wrap?l.adler=s(l.adler,h,f,d):2===l.state.wrap&&(l.adler=o(l.adler,h,f,d)),l.next_in+=f,l.total_in+=f,f),e.lookahead+=n,e.lookahead+e.insert>=T)for(c=e.strstart-e.insert,e.ins_h=e.window[c],e.ins_h=(e.ins_h<<e.hash_shift^e.window[c+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[c+T-1])&e.hash_mask,e.prev[c&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=c,c++,e.insert--,!(e.lookahead+e.insert<T)););}while(e.lookahead<A&&0!==e.strm.avail_in)}function j(e,t){for(var n,i;;){if(e.lookahead<A){if(B(e),e.lookahead<A&&t===l)return S;if(0===e.lookahead)break}if(n=0,e.lookahead>=T&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+T-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==n&&e.strstart-n<=e.w_size-A&&(e.match_length=W(e,n)),e.match_length>=T)if(i=a._tr_tally(e,e.strstart-e.match_start,e.match_length-T),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=T){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+T-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart,0!=--e.match_length;);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else i=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(i&&(N(e,!1),0===e.strm.avail_out))return S}return e.insert=e.strstart<T-1?e.strstart:T-1,t===h?(N(e,!0),0===e.strm.avail_out?U:F):e.last_lit&&(N(e,!1),0===e.strm.avail_out)?S:C}function z(e,t){for(var n,i,r;;){if(e.lookahead<A){if(B(e),e.lookahead<A&&t===l)return S;if(0===e.lookahead)break}if(n=0,e.lookahead>=T&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+T-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=T-1,0!==n&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-A&&(e.match_length=W(e,n),e.match_length<=5&&(1===e.strategy||e.match_length===T&&4096<e.strstart-e.match_start)&&(e.match_length=T-1)),e.prev_length>=T&&e.match_length<=e.prev_length){for(r=e.strstart+e.lookahead-T,i=a._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-T),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=r&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+T-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!=--e.prev_length;);if(e.match_available=0,e.match_length=T-1,e.strstart++,i&&(N(e,!1),0===e.strm.avail_out))return S}else if(e.match_available){if((i=a._tr_tally(e,0,e.window[e.strstart-1]))&&N(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return S}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(i=a._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<T-1?e.strstart:T-1,t===h?(N(e,!0),0===e.strm.avail_out?U:F):e.last_lit&&(N(e,!1),0===e.strm.avail_out)?S:C}function H(e,t,n,i,r){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=i,this.func=r}function V(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=m,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new r.Buf16(2*x),this.dyn_dtree=new r.Buf16(2*(2*y+1)),this.bl_tree=new r.Buf16(2*(2*w+1)),I(this.dyn_ltree),I(this.dyn_dtree),I(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new r.Buf16(_+1),this.heap=new r.Buf16(2*v+1),I(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new r.Buf16(2*v+1),I(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function G(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=g,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?E:k,e.adler=2===t.wrap?0:1,t.last_flush=l,a._tr_init(t),d):M(e,u)}function X(e){var t,n=G(e);return n===d&&((t=e.state).window_size=2*t.w_size,I(t.head),t.max_lazy_match=i[t.level].max_lazy,t.good_match=i[t.level].good_length,t.nice_match=i[t.level].nice_length,t.max_chain_length=i[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=T-1,t.match_available=0,t.ins_h=0),n}function $(e,t,n,i,a,s){if(!e)return u;var o=1;if(t===f&&(t=6),i<0?(o=0,i=-i):15<i&&(o=2,i-=16),a<1||b<a||n!==m||i<8||15<i||t<0||9<t||s<0||p<s)return M(e,u);8===i&&(i=9);var c=new V;return(e.state=c).strm=e,c.wrap=o,c.gzhead=null,c.w_bits=i,c.w_size=1<<c.w_bits,c.w_mask=c.w_size-1,c.hash_bits=a+7,c.hash_size=1<<c.hash_bits,c.hash_mask=c.hash_size-1,c.hash_shift=~~((c.hash_bits+T-1)/T),c.window=new r.Buf8(2*c.w_size),c.head=new r.Buf16(c.hash_size),c.prev=new r.Buf16(c.w_size),c.lit_bufsize=1<<a+6,c.pending_buf_size=4*c.lit_bufsize,c.pending_buf=new r.Buf8(c.pending_buf_size),c.d_buf=1*c.lit_bufsize,c.l_buf=3*c.lit_bufsize,c.level=t,c.strategy=s,c.method=n,X(e)}i=[new H(0,0,0,0,(function(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(B(e),0===e.lookahead&&t===l)return S;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var i=e.block_start+n;if((0===e.strstart||e.strstart>=i)&&(e.lookahead=e.strstart-i,e.strstart=i,N(e,!1),0===e.strm.avail_out))return S;if(e.strstart-e.block_start>=e.w_size-A&&(N(e,!1),0===e.strm.avail_out))return S}return e.insert=0,t===h?(N(e,!0),0===e.strm.avail_out?U:F):(e.strstart>e.block_start&&(N(e,!1),e.strm.avail_out),S)})),new H(4,4,8,4,j),new H(4,5,16,8,j),new H(4,6,32,32,j),new H(4,4,16,16,z),new H(8,16,32,32,z),new H(8,16,128,128,z),new H(8,32,128,256,z),new H(32,128,258,1024,z),new H(32,258,258,4096,z)],n.deflateInit=function(e,t){return $(e,t,m,15,8,0)},n.deflateInit2=$,n.deflateReset=X,n.deflateResetKeep=G,n.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?u:(e.state.gzhead=t,d):u},n.deflate=function(e,t){var n,r,s,c;if(!e||!e.state||5<t||t<0)return e?M(e,u):u;if(r=e.state,!e.output||!e.input&&0!==e.avail_in||666===r.status&&t!==h)return M(e,0===e.avail_out?-5:u);if(r.strm=e,n=r.last_flush,r.last_flush=t,r.status===E)if(2===r.wrap)e.adler=0,P(r,31),P(r,139),P(r,8),r.gzhead?(P(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),P(r,255&r.gzhead.time),P(r,r.gzhead.time>>8&255),P(r,r.gzhead.time>>16&255),P(r,r.gzhead.time>>24&255),P(r,9===r.level?2:2<=r.strategy||r.level<2?4:0),P(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(P(r,255&r.gzhead.extra.length),P(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(e.adler=o(e.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(P(r,0),P(r,0),P(r,0),P(r,0),P(r,0),P(r,9===r.level?2:2<=r.strategy||r.level<2?4:0),P(r,3),r.status=k);else{var f=m+(r.w_bits-8<<4)<<8;f|=(2<=r.strategy||r.level<2?0:r.level<6?1:6===r.level?2:3)<<6,0!==r.strstart&&(f|=32),f+=31-f%31,r.status=k,L(r,f),0!==r.strstart&&(L(r,e.adler>>>16),L(r,65535&e.adler)),e.adler=1}if(69===r.status)if(r.gzhead.extra){for(s=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>s&&(e.adler=o(e.adler,r.pending_buf,r.pending-s,s)),O(e),s=r.pending,r.pending!==r.pending_buf_size));)P(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>s&&(e.adler=o(e.adler,r.pending_buf,r.pending-s,s)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73;if(73===r.status)if(r.gzhead.name){s=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>s&&(e.adler=o(e.adler,r.pending_buf,r.pending-s,s)),O(e),s=r.pending,r.pending===r.pending_buf_size)){c=1;break}c=r.gzindex<r.gzhead.name.length?255&r.gzhead.name.charCodeAt(r.gzindex++):0,P(r,c)}while(0!==c);r.gzhead.hcrc&&r.pending>s&&(e.adler=o(e.adler,r.pending_buf,r.pending-s,s)),0===c&&(r.gzindex=0,r.status=91)}else r.status=91;if(91===r.status)if(r.gzhead.comment){s=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>s&&(e.adler=o(e.adler,r.pending_buf,r.pending-s,s)),O(e),s=r.pending,r.pending===r.pending_buf_size)){c=1;break}c=r.gzindex<r.gzhead.comment.length?255&r.gzhead.comment.charCodeAt(r.gzindex++):0,P(r,c)}while(0!==c);r.gzhead.hcrc&&r.pending>s&&(e.adler=o(e.adler,r.pending_buf,r.pending-s,s)),0===c&&(r.status=103)}else r.status=103;if(103===r.status&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&O(e),r.pending+2<=r.pending_buf_size&&(P(r,255&e.adler),P(r,e.adler>>8&255),e.adler=0,r.status=k)):r.status=k),0!==r.pending){if(O(e),0===e.avail_out)return r.last_flush=-1,d}else if(0===e.avail_in&&R(t)<=R(n)&&t!==h)return M(e,-5);if(666===r.status&&0!==e.avail_in)return M(e,-5);if(0!==e.avail_in||0!==r.lookahead||t!==l&&666!==r.status){var p=2===r.strategy?function(e,t){for(var n;;){if(0===e.lookahead&&(B(e),0===e.lookahead)){if(t===l)return S;break}if(e.match_length=0,n=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(N(e,!1),0===e.strm.avail_out))return S}return e.insert=0,t===h?(N(e,!0),0===e.strm.avail_out?U:F):e.last_lit&&(N(e,!1),0===e.strm.avail_out)?S:C}(r,t):3===r.strategy?function(e,t){for(var n,i,r,s,o=e.window;;){if(e.lookahead<=D){if(B(e),e.lookahead<=D&&t===l)return S;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=T&&0<e.strstart&&(i=o[r=e.strstart-1])===o[++r]&&i===o[++r]&&i===o[++r]){s=e.strstart+D;do{}while(i===o[++r]&&i===o[++r]&&i===o[++r]&&i===o[++r]&&i===o[++r]&&i===o[++r]&&i===o[++r]&&i===o[++r]&&r<s);e.match_length=D-(s-r),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=T?(n=a._tr_tally(e,1,e.match_length-T),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(N(e,!1),0===e.strm.avail_out))return S}return e.insert=0,t===h?(N(e,!0),0===e.strm.avail_out?U:F):e.last_lit&&(N(e,!1),0===e.strm.avail_out)?S:C}(r,t):i[r.level].func(r,t);if(p!==U&&p!==F||(r.status=666),p===S||p===U)return 0===e.avail_out&&(r.last_flush=-1),d;if(p===C&&(1===t?a._tr_align(r):5!==t&&(a._tr_stored_block(r,0,0,!1),3===t&&(I(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),O(e),0===e.avail_out))return r.last_flush=-1,d}return t!==h?d:r.wrap<=0?1:(2===r.wrap?(P(r,255&e.adler),P(r,e.adler>>8&255),P(r,e.adler>>16&255),P(r,e.adler>>24&255),P(r,255&e.total_in),P(r,e.total_in>>8&255),P(r,e.total_in>>16&255),P(r,e.total_in>>24&255)):(L(r,e.adler>>>16),L(r,65535&e.adler)),O(e),0<r.wrap&&(r.wrap=-r.wrap),0!==r.pending?d:1)},n.deflateEnd=function(e){var t;return e&&e.state?(t=e.state.status)!==E&&69!==t&&73!==t&&91!==t&&103!==t&&t!==k&&666!==t?M(e,u):(e.state=null,t===k?M(e,-3):d):u},n.deflateSetDictionary=function(e,t){var n,i,a,o,c,l,h,f,p=t.length;if(!e||!e.state)return u;if(2===(o=(n=e.state).wrap)||1===o&&n.status!==E||n.lookahead)return u;for(1===o&&(e.adler=s(e.adler,t,p,0)),n.wrap=0,p>=n.w_size&&(0===o&&(I(n.head),n.strstart=0,n.block_start=0,n.insert=0),f=new r.Buf8(n.w_size),r.arraySet(f,t,p-n.w_size,n.w_size,0),t=f,p=n.w_size),c=e.avail_in,l=e.next_in,h=e.input,e.avail_in=p,e.next_in=0,e.input=t,B(n);n.lookahead>=T;){for(i=n.strstart,a=n.lookahead-(T-1);n.ins_h=(n.ins_h<<n.hash_shift^n.window[i+T-1])&n.hash_mask,n.prev[i&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=i,i++,--a;);n.strstart=i,n.lookahead=T-1,B(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=T-1,n.match_available=0,e.next_in=l,e.input=h,e.avail_in=c,n.wrap=o,d},n.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(e,t,n){t.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(e,t,n){t.exports=function(e,t){var n,i,r,a,s,o,c,l,h,d,u,f,p,g,m,b,v,y,w,x,_,T,D,A,E;n=e.state,i=e.next_in,A=e.input,r=i+(e.avail_in-5),a=e.next_out,E=e.output,s=a-(t-e.avail_out),o=a+(e.avail_out-257),c=n.dmax,l=n.wsize,h=n.whave,d=n.wnext,u=n.window,f=n.hold,p=n.bits,g=n.lencode,m=n.distcode,b=(1<<n.lenbits)-1,v=(1<<n.distbits)-1;e:do{p<15&&(f+=A[i++]<<p,p+=8,f+=A[i++]<<p,p+=8),y=g[f&b];t:for(;;){if(f>>>=w=y>>>24,p-=w,0==(w=y>>>16&255))E[a++]=65535&y;else{if(!(16&w)){if(!(64&w)){y=g[(65535&y)+(f&(1<<w)-1)];continue t}if(32&w){n.mode=12;break e}e.msg="invalid literal/length code",n.mode=30;break e}x=65535&y,(w&=15)&&(p<w&&(f+=A[i++]<<p,p+=8),x+=f&(1<<w)-1,f>>>=w,p-=w),p<15&&(f+=A[i++]<<p,p+=8,f+=A[i++]<<p,p+=8),y=m[f&v];n:for(;;){if(f>>>=w=y>>>24,p-=w,!(16&(w=y>>>16&255))){if(!(64&w)){y=m[(65535&y)+(f&(1<<w)-1)];continue n}e.msg="invalid distance code",n.mode=30;break e}if(_=65535&y,p<(w&=15)&&(f+=A[i++]<<p,(p+=8)<w&&(f+=A[i++]<<p,p+=8)),c<(_+=f&(1<<w)-1)){e.msg="invalid distance too far back",n.mode=30;break e}if(f>>>=w,p-=w,(w=a-s)<_){if(h<(w=_-w)&&n.sane){e.msg="invalid distance too far back",n.mode=30;break e}if(D=u,(T=0)===d){if(T+=l-w,w<x){for(x-=w;E[a++]=u[T++],--w;);T=a-_,D=E}}else if(d<w){if(T+=l+d-w,(w-=d)<x){for(x-=w;E[a++]=u[T++],--w;);if(T=0,d<x){for(x-=w=d;E[a++]=u[T++],--w;);T=a-_,D=E}}}else if(T+=d-w,w<x){for(x-=w;E[a++]=u[T++],--w;);T=a-_,D=E}for(;2<x;)E[a++]=D[T++],E[a++]=D[T++],E[a++]=D[T++],x-=3;x&&(E[a++]=D[T++],1<x&&(E[a++]=D[T++]))}else{for(T=a-_;E[a++]=E[T++],E[a++]=E[T++],E[a++]=E[T++],2<(x-=3););x&&(E[a++]=E[T++],1<x&&(E[a++]=E[T++]))}break}}break}}while(i<r&&a<o);i-=x=p>>3,f&=(1<<(p-=x<<3))-1,e.next_in=i,e.next_out=a,e.avail_in=i<r?r-i+5:5-(i-r),e.avail_out=a<o?o-a+257:257-(a-o),n.hold=f,n.bits=p}},{}],49:[function(e,t,n){var i=e("../utils/common"),r=e("./adler32"),a=e("./crc32"),s=e("./inffast"),o=e("./inftrees"),c=1,l=2,h=0,d=-2,u=1,f=852,p=592;function g(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function m(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new i.Buf16(320),this.work=new i.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function b(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=u,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new i.Buf32(f),t.distcode=t.distdyn=new i.Buf32(p),t.sane=1,t.back=-1,h):d}function v(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,b(e)):d}function y(e,t){var n,i;return e&&e.state?(i=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||15<t)?d:(null!==i.window&&i.wbits!==t&&(i.window=null),i.wrap=n,i.wbits=t,v(e))):d}function w(e,t){var n,i;return e?(i=new m,(e.state=i).window=null,(n=y(e,t))!==h&&(e.state=null),n):d}var x,_,T=!0;function D(e){if(T){var t;for(x=new i.Buf32(512),_=new i.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(o(c,e.lens,0,288,x,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;o(l,e.lens,0,32,_,0,e.work,{bits:5}),T=!1}e.lencode=x,e.lenbits=9,e.distcode=_,e.distbits=5}function A(e,t,n,r){var a,s=e.state;return null===s.window&&(s.wsize=1<<s.wbits,s.wnext=0,s.whave=0,s.window=new i.Buf8(s.wsize)),r>=s.wsize?(i.arraySet(s.window,t,n-s.wsize,s.wsize,0),s.wnext=0,s.whave=s.wsize):(r<(a=s.wsize-s.wnext)&&(a=r),i.arraySet(s.window,t,n-r,a,s.wnext),(r-=a)?(i.arraySet(s.window,t,n-r,r,0),s.wnext=r,s.whave=s.wsize):(s.wnext+=a,s.wnext===s.wsize&&(s.wnext=0),s.whave<s.wsize&&(s.whave+=a))),0}n.inflateReset=v,n.inflateReset2=y,n.inflateResetKeep=b,n.inflateInit=function(e){return w(e,15)},n.inflateInit2=w,n.inflate=function(e,t){var n,f,p,m,b,v,y,w,x,_,T,E,k,S,C,U,F,M,R,I,O,N,P,L,W=0,B=new i.Buf8(4),j=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return d;12===(n=e.state).mode&&(n.mode=13),b=e.next_out,p=e.output,y=e.avail_out,m=e.next_in,f=e.input,v=e.avail_in,w=n.hold,x=n.bits,_=v,T=y,N=h;e:for(;;)switch(n.mode){case u:if(0===n.wrap){n.mode=13;break}for(;x<16;){if(0===v)break e;v--,w+=f[m++]<<x,x+=8}if(2&n.wrap&&35615===w){B[n.check=0]=255&w,B[1]=w>>>8&255,n.check=a(n.check,B,2,0),x=w=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&w)<<8)+(w>>8))%31){e.msg="incorrect header check",n.mode=30;break}if(8!=(15&w)){e.msg="unknown compression method",n.mode=30;break}if(x-=4,O=8+(15&(w>>>=4)),0===n.wbits)n.wbits=O;else if(O>n.wbits){e.msg="invalid window size",n.mode=30;break}n.dmax=1<<O,e.adler=n.check=1,n.mode=512&w?10:12,x=w=0;break;case 2:for(;x<16;){if(0===v)break e;v--,w+=f[m++]<<x,x+=8}if(n.flags=w,8!=(255&n.flags)){e.msg="unknown compression method",n.mode=30;break}if(57344&n.flags){e.msg="unknown header flags set",n.mode=30;break}n.head&&(n.head.text=w>>8&1),512&n.flags&&(B[0]=255&w,B[1]=w>>>8&255,n.check=a(n.check,B,2,0)),x=w=0,n.mode=3;case 3:for(;x<32;){if(0===v)break e;v--,w+=f[m++]<<x,x+=8}n.head&&(n.head.time=w),512&n.flags&&(B[0]=255&w,B[1]=w>>>8&255,B[2]=w>>>16&255,B[3]=w>>>24&255,n.check=a(n.check,B,4,0)),x=w=0,n.mode=4;case 4:for(;x<16;){if(0===v)break e;v--,w+=f[m++]<<x,x+=8}n.head&&(n.head.xflags=255&w,n.head.os=w>>8),512&n.flags&&(B[0]=255&w,B[1]=w>>>8&255,n.check=a(n.check,B,2,0)),x=w=0,n.mode=5;case 5:if(1024&n.flags){for(;x<16;){if(0===v)break e;v--,w+=f[m++]<<x,x+=8}n.length=w,n.head&&(n.head.extra_len=w),512&n.flags&&(B[0]=255&w,B[1]=w>>>8&255,n.check=a(n.check,B,2,0)),x=w=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&(v<(E=n.length)&&(E=v),E&&(n.head&&(O=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),i.arraySet(n.head.extra,f,m,E,O)),512&n.flags&&(n.check=a(n.check,f,E,m)),v-=E,m+=E,n.length-=E),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===v)break e;for(E=0;O=f[m+E++],n.head&&O&&n.length<65536&&(n.head.name+=String.fromCharCode(O)),O&&E<v;);if(512&n.flags&&(n.check=a(n.check,f,E,m)),v-=E,m+=E,O)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=8;case 8:if(4096&n.flags){if(0===v)break e;for(E=0;O=f[m+E++],n.head&&O&&n.length<65536&&(n.head.comment+=String.fromCharCode(O)),O&&E<v;);if(512&n.flags&&(n.check=a(n.check,f,E,m)),v-=E,m+=E,O)break e}else n.head&&(n.head.comment=null);n.mode=9;case 9:if(512&n.flags){for(;x<16;){if(0===v)break e;v--,w+=f[m++]<<x,x+=8}if(w!==(65535&n.check)){e.msg="header crc mismatch",n.mode=30;break}x=w=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=12;break;case 10:for(;x<32;){if(0===v)break e;v--,w+=f[m++]<<x,x+=8}e.adler=n.check=g(w),x=w=0,n.mode=11;case 11:if(0===n.havedict)return e.next_out=b,e.avail_out=y,e.next_in=m,e.avail_in=v,n.hold=w,n.bits=x,2;e.adler=n.check=1,n.mode=12;case 12:if(5===t||6===t)break e;case 13:if(n.last){w>>>=7&x,x-=7&x,n.mode=27;break}for(;x<3;){if(0===v)break e;v--,w+=f[m++]<<x,x+=8}switch(n.last=1&w,x-=1,3&(w>>>=1)){case 0:n.mode=14;break;case 1:if(D(n),n.mode=20,6!==t)break;w>>>=2,x-=2;break e;case 2:n.mode=17;break;case 3:e.msg="invalid block type",n.mode=30}w>>>=2,x-=2;break;case 14:for(w>>>=7&x,x-=7&x;x<32;){if(0===v)break e;v--,w+=f[m++]<<x,x+=8}if((65535&w)!=(w>>>16^65535)){e.msg="invalid stored block lengths",n.mode=30;break}if(n.length=65535&w,x=w=0,n.mode=15,6===t)break e;case 15:n.mode=16;case 16:if(E=n.length){if(v<E&&(E=v),y<E&&(E=y),0===E)break e;i.arraySet(p,f,m,E,b),v-=E,m+=E,y-=E,b+=E,n.length-=E;break}n.mode=12;break;case 17:for(;x<14;){if(0===v)break e;v--,w+=f[m++]<<x,x+=8}if(n.nlen=257+(31&w),w>>>=5,x-=5,n.ndist=1+(31&w),w>>>=5,x-=5,n.ncode=4+(15&w),w>>>=4,x-=4,286<n.nlen||30<n.ndist){e.msg="too many length or distance symbols",n.mode=30;break}n.have=0,n.mode=18;case 18:for(;n.have<n.ncode;){for(;x<3;){if(0===v)break e;v--,w+=f[m++]<<x,x+=8}n.lens[j[n.have++]]=7&w,w>>>=3,x-=3}for(;n.have<19;)n.lens[j[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,P={bits:n.lenbits},N=o(0,n.lens,0,19,n.lencode,0,n.work,P),n.lenbits=P.bits,N){e.msg="invalid code lengths set",n.mode=30;break}n.have=0,n.mode=19;case 19:for(;n.have<n.nlen+n.ndist;){for(;U=(W=n.lencode[w&(1<<n.lenbits)-1])>>>16&255,F=65535&W,!((C=W>>>24)<=x);){if(0===v)break e;v--,w+=f[m++]<<x,x+=8}if(F<16)w>>>=C,x-=C,n.lens[n.have++]=F;else{if(16===F){for(L=C+2;x<L;){if(0===v)break e;v--,w+=f[m++]<<x,x+=8}if(w>>>=C,x-=C,0===n.have){e.msg="invalid bit length repeat",n.mode=30;break}O=n.lens[n.have-1],E=3+(3&w),w>>>=2,x-=2}else if(17===F){for(L=C+3;x<L;){if(0===v)break e;v--,w+=f[m++]<<x,x+=8}x-=C,O=0,E=3+(7&(w>>>=C)),w>>>=3,x-=3}else{for(L=C+7;x<L;){if(0===v)break e;v--,w+=f[m++]<<x,x+=8}x-=C,O=0,E=11+(127&(w>>>=C)),w>>>=7,x-=7}if(n.have+E>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=30;break}for(;E--;)n.lens[n.have++]=O}}if(30===n.mode)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=30;break}if(n.lenbits=9,P={bits:n.lenbits},N=o(c,n.lens,0,n.nlen,n.lencode,0,n.work,P),n.lenbits=P.bits,N){e.msg="invalid literal/lengths set",n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,P={bits:n.distbits},N=o(l,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,P),n.distbits=P.bits,N){e.msg="invalid distances set",n.mode=30;break}if(n.mode=20,6===t)break e;case 20:n.mode=21;case 21:if(6<=v&&258<=y){e.next_out=b,e.avail_out=y,e.next_in=m,e.avail_in=v,n.hold=w,n.bits=x,s(e,T),b=e.next_out,p=e.output,y=e.avail_out,m=e.next_in,f=e.input,v=e.avail_in,w=n.hold,x=n.bits,12===n.mode&&(n.back=-1);break}for(n.back=0;U=(W=n.lencode[w&(1<<n.lenbits)-1])>>>16&255,F=65535&W,!((C=W>>>24)<=x);){if(0===v)break e;v--,w+=f[m++]<<x,x+=8}if(U&&!(240&U)){for(M=C,R=U,I=F;U=(W=n.lencode[I+((w&(1<<M+R)-1)>>M)])>>>16&255,F=65535&W,!(M+(C=W>>>24)<=x);){if(0===v)break e;v--,w+=f[m++]<<x,x+=8}w>>>=M,x-=M,n.back+=M}if(w>>>=C,x-=C,n.back+=C,n.length=F,0===U){n.mode=26;break}if(32&U){n.back=-1,n.mode=12;break}if(64&U){e.msg="invalid literal/length code",n.mode=30;break}n.extra=15&U,n.mode=22;case 22:if(n.extra){for(L=n.extra;x<L;){if(0===v)break e;v--,w+=f[m++]<<x,x+=8}n.length+=w&(1<<n.extra)-1,w>>>=n.extra,x-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;U=(W=n.distcode[w&(1<<n.distbits)-1])>>>16&255,F=65535&W,!((C=W>>>24)<=x);){if(0===v)break e;v--,w+=f[m++]<<x,x+=8}if(!(240&U)){for(M=C,R=U,I=F;U=(W=n.distcode[I+((w&(1<<M+R)-1)>>M)])>>>16&255,F=65535&W,!(M+(C=W>>>24)<=x);){if(0===v)break e;v--,w+=f[m++]<<x,x+=8}w>>>=M,x-=M,n.back+=M}if(w>>>=C,x-=C,n.back+=C,64&U){e.msg="invalid distance code",n.mode=30;break}n.offset=F,n.extra=15&U,n.mode=24;case 24:if(n.extra){for(L=n.extra;x<L;){if(0===v)break e;v--,w+=f[m++]<<x,x+=8}n.offset+=w&(1<<n.extra)-1,w>>>=n.extra,x-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=30;break}n.mode=25;case 25:if(0===y)break e;if(E=T-y,n.offset>E){if((E=n.offset-E)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=30;break}k=E>n.wnext?(E-=n.wnext,n.wsize-E):n.wnext-E,E>n.length&&(E=n.length),S=n.window}else S=p,k=b-n.offset,E=n.length;for(y<E&&(E=y),y-=E,n.length-=E;p[b++]=S[k++],--E;);0===n.length&&(n.mode=21);break;case 26:if(0===y)break e;p[b++]=n.length,y--,n.mode=21;break;case 27:if(n.wrap){for(;x<32;){if(0===v)break e;v--,w|=f[m++]<<x,x+=8}if(T-=y,e.total_out+=T,n.total+=T,T&&(e.adler=n.check=n.flags?a(n.check,p,T,b-T):r(n.check,p,T,b-T)),T=y,(n.flags?w:g(w))!==n.check){e.msg="incorrect data check",n.mode=30;break}x=w=0}n.mode=28;case 28:if(n.wrap&&n.flags){for(;x<32;){if(0===v)break e;v--,w+=f[m++]<<x,x+=8}if(w!==(4294967295&n.total)){e.msg="incorrect length check",n.mode=30;break}x=w=0}n.mode=29;case 29:N=1;break e;case 30:N=-3;break e;case 31:return-4;default:return d}return e.next_out=b,e.avail_out=y,e.next_in=m,e.avail_in=v,n.hold=w,n.bits=x,(n.wsize||T!==e.avail_out&&n.mode<30&&(n.mode<27||4!==t))&&A(e,e.output,e.next_out,T-e.avail_out)?(n.mode=31,-4):(_-=e.avail_in,T-=e.avail_out,e.total_in+=_,e.total_out+=T,n.total+=T,n.wrap&&T&&(e.adler=n.check=n.flags?a(n.check,p,T,e.next_out-T):r(n.check,p,T,e.next_out-T)),e.data_type=n.bits+(n.last?64:0)+(12===n.mode?128:0)+(20===n.mode||15===n.mode?256:0),(0==_&&0===T||4===t)&&N===h&&(N=-5),N)},n.inflateEnd=function(e){if(!e||!e.state)return d;var t=e.state;return t.window&&(t.window=null),e.state=null,h},n.inflateGetHeader=function(e,t){var n;return e&&e.state&&2&(n=e.state).wrap?((n.head=t).done=!1,h):d},n.inflateSetDictionary=function(e,t){var n,i=t.length;return e&&e.state?0!==(n=e.state).wrap&&11!==n.mode?d:11===n.mode&&r(1,t,i,0)!==n.check?-3:A(e,t,i,i)?(n.mode=31,-4):(n.havedict=1,h):d},n.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(e,t,n){var i=e("../utils/common"),r=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],a=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],s=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],o=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];t.exports=function(e,t,n,c,l,h,d,u){var f,p,g,m,b,v,y,w,x,_=u.bits,T=0,D=0,A=0,E=0,k=0,S=0,C=0,U=0,F=0,M=0,R=null,I=0,O=new i.Buf16(16),N=new i.Buf16(16),P=null,L=0;for(T=0;T<=15;T++)O[T]=0;for(D=0;D<c;D++)O[t[n+D]]++;for(k=_,E=15;1<=E&&0===O[E];E--);if(E<k&&(k=E),0===E)return l[h++]=20971520,l[h++]=20971520,u.bits=1,0;for(A=1;A<E&&0===O[A];A++);for(k<A&&(k=A),T=U=1;T<=15;T++)if(U<<=1,(U-=O[T])<0)return-1;if(0<U&&(0===e||1!==E))return-1;for(N[1]=0,T=1;T<15;T++)N[T+1]=N[T]+O[T];for(D=0;D<c;D++)0!==t[n+D]&&(d[N[t[n+D]]++]=D);if(v=0===e?(R=P=d,19):1===e?(R=r,I-=257,P=a,L-=257,256):(R=s,P=o,-1),T=A,b=h,C=D=M=0,g=-1,m=(F=1<<(S=k))-1,1===e&&852<F||2===e&&592<F)return 1;for(;;){for(y=T-C,x=d[D]<v?(w=0,d[D]):d[D]>v?(w=P[L+d[D]],R[I+d[D]]):(w=96,0),f=1<<T-C,A=p=1<<S;l[b+(M>>C)+(p-=f)]=y<<24|w<<16|x,0!==p;);for(f=1<<T-1;M&f;)f>>=1;if(0!==f?(M&=f-1,M+=f):M=0,D++,0==--O[T]){if(T===E)break;T=t[n+d[D]]}if(k<T&&(M&m)!==g){for(0===C&&(C=k),b+=A,U=1<<(S=T-C);S+C<E&&!((U-=O[S+C])<=0);)S++,U<<=1;if(F+=1<<S,1===e&&852<F||2===e&&592<F)return 1;l[g=M&m]=k<<24|S<<16|b-h}}return 0!==M&&(l[b+M]=T-C<<24|64<<16),u.bits=k,0}},{"../utils/common":41}],51:[function(e,t,n){t.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(e,t,n){var i=e("../utils/common"),r=0,a=1;function s(e){for(var t=e.length;0<=--t;)e[t]=0}var o=0,c=29,l=256,h=l+1+c,d=30,u=19,f=2*h+1,p=15,g=16,m=7,b=256,v=16,y=17,w=18,x=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],_=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],T=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],D=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],A=new Array(2*(h+2));s(A);var E=new Array(2*d);s(E);var k=new Array(512);s(k);var S=new Array(256);s(S);var C=new Array(c);s(C);var U,F,M,R=new Array(d);function I(e,t,n,i,r){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=i,this.max_length=r,this.has_stree=e&&e.length}function O(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function N(e){return e<256?k[e]:k[256+(e>>>7)]}function P(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function L(e,t,n){e.bi_valid>g-n?(e.bi_buf|=t<<e.bi_valid&65535,P(e,e.bi_buf),e.bi_buf=t>>g-e.bi_valid,e.bi_valid+=n-g):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function W(e,t,n){L(e,n[2*t],n[2*t+1])}function B(e,t){for(var n=0;n|=1&e,e>>>=1,n<<=1,0<--t;);return n>>>1}function j(e,t,n){var i,r,a=new Array(p+1),s=0;for(i=1;i<=p;i++)a[i]=s=s+n[i-1]<<1;for(r=0;r<=t;r++){var o=e[2*r+1];0!==o&&(e[2*r]=B(a[o]++,o))}}function z(e){var t;for(t=0;t<h;t++)e.dyn_ltree[2*t]=0;for(t=0;t<d;t++)e.dyn_dtree[2*t]=0;for(t=0;t<u;t++)e.bl_tree[2*t]=0;e.dyn_ltree[2*b]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function H(e){8<e.bi_valid?P(e,e.bi_buf):0<e.bi_valid&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function V(e,t,n,i){var r=2*t,a=2*n;return e[r]<e[a]||e[r]===e[a]&&i[t]<=i[n]}function G(e,t,n){for(var i=e.heap[n],r=n<<1;r<=e.heap_len&&(r<e.heap_len&&V(t,e.heap[r+1],e.heap[r],e.depth)&&r++,!V(t,i,e.heap[r],e.depth));)e.heap[n]=e.heap[r],n=r,r<<=1;e.heap[n]=i}function X(e,t,n){var i,r,a,s,o=0;if(0!==e.last_lit)for(;i=e.pending_buf[e.d_buf+2*o]<<8|e.pending_buf[e.d_buf+2*o+1],r=e.pending_buf[e.l_buf+o],o++,0===i?W(e,r,t):(W(e,(a=S[r])+l+1,t),0!==(s=x[a])&&L(e,r-=C[a],s),W(e,a=N(--i),n),0!==(s=_[a])&&L(e,i-=R[a],s)),o<e.last_lit;);W(e,b,t)}function $(e,t){var n,i,r,a=t.dyn_tree,s=t.stat_desc.static_tree,o=t.stat_desc.has_stree,c=t.stat_desc.elems,l=-1;for(e.heap_len=0,e.heap_max=f,n=0;n<c;n++)0!==a[2*n]?(e.heap[++e.heap_len]=l=n,e.depth[n]=0):a[2*n+1]=0;for(;e.heap_len<2;)a[2*(r=e.heap[++e.heap_len]=l<2?++l:0)]=1,e.depth[r]=0,e.opt_len--,o&&(e.static_len-=s[2*r+1]);for(t.max_code=l,n=e.heap_len>>1;1<=n;n--)G(e,a,n);for(r=c;n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],G(e,a,1),i=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=i,a[2*r]=a[2*n]+a[2*i],e.depth[r]=(e.depth[n]>=e.depth[i]?e.depth[n]:e.depth[i])+1,a[2*n+1]=a[2*i+1]=r,e.heap[1]=r++,G(e,a,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(e,t){var n,i,r,a,s,o,c=t.dyn_tree,l=t.max_code,h=t.stat_desc.static_tree,d=t.stat_desc.has_stree,u=t.stat_desc.extra_bits,g=t.stat_desc.extra_base,m=t.stat_desc.max_length,b=0;for(a=0;a<=p;a++)e.bl_count[a]=0;for(c[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<f;n++)m<(a=c[2*c[2*(i=e.heap[n])+1]+1]+1)&&(a=m,b++),c[2*i+1]=a,l<i||(e.bl_count[a]++,s=0,g<=i&&(s=u[i-g]),o=c[2*i],e.opt_len+=o*(a+s),d&&(e.static_len+=o*(h[2*i+1]+s)));if(0!==b){do{for(a=m-1;0===e.bl_count[a];)a--;e.bl_count[a]--,e.bl_count[a+1]+=2,e.bl_count[m]--,b-=2}while(0<b);for(a=m;0!==a;a--)for(i=e.bl_count[a];0!==i;)l<(r=e.heap[--n])||(c[2*r+1]!==a&&(e.opt_len+=(a-c[2*r+1])*c[2*r],c[2*r+1]=a),i--)}}(e,t),j(a,l,e.bl_count)}function q(e,t,n){var i,r,a=-1,s=t[1],o=0,c=7,l=4;for(0===s&&(c=138,l=3),t[2*(n+1)+1]=65535,i=0;i<=n;i++)r=s,s=t[2*(i+1)+1],++o<c&&r===s||(o<l?e.bl_tree[2*r]+=o:0!==r?(r!==a&&e.bl_tree[2*r]++,e.bl_tree[2*v]++):o<=10?e.bl_tree[2*y]++:e.bl_tree[2*w]++,a=r,l=(o=0)===s?(c=138,3):r===s?(c=6,3):(c=7,4))}function Y(e,t,n){var i,r,a=-1,s=t[1],o=0,c=7,l=4;for(0===s&&(c=138,l=3),i=0;i<=n;i++)if(r=s,s=t[2*(i+1)+1],!(++o<c&&r===s)){if(o<l)for(;W(e,r,e.bl_tree),0!=--o;);else 0!==r?(r!==a&&(W(e,r,e.bl_tree),o--),W(e,v,e.bl_tree),L(e,o-3,2)):o<=10?(W(e,y,e.bl_tree),L(e,o-3,3)):(W(e,w,e.bl_tree),L(e,o-11,7));a=r,l=(o=0)===s?(c=138,3):r===s?(c=6,3):(c=7,4)}}s(R);var K=!1;function Z(e,t,n,r){var a,s,c;L(e,(o<<1)+(r?1:0),3),s=t,c=n,H(a=e),P(a,c),P(a,~c),i.arraySet(a.pending_buf,a.window,s,c,a.pending),a.pending+=c}n._tr_init=function(e){K||(function(){var e,t,n,i,r,a=new Array(p+1);for(i=n=0;i<c-1;i++)for(C[i]=n,e=0;e<1<<x[i];e++)S[n++]=i;for(S[n-1]=i,i=r=0;i<16;i++)for(R[i]=r,e=0;e<1<<_[i];e++)k[r++]=i;for(r>>=7;i<d;i++)for(R[i]=r<<7,e=0;e<1<<_[i]-7;e++)k[256+r++]=i;for(t=0;t<=p;t++)a[t]=0;for(e=0;e<=143;)A[2*e+1]=8,e++,a[8]++;for(;e<=255;)A[2*e+1]=9,e++,a[9]++;for(;e<=279;)A[2*e+1]=7,e++,a[7]++;for(;e<=287;)A[2*e+1]=8,e++,a[8]++;for(j(A,h+1,a),e=0;e<d;e++)E[2*e+1]=5,E[2*e]=B(e,5);U=new I(A,x,l+1,h,p),F=new I(E,_,0,d,p),M=new I(new Array(0),T,0,u,m)}(),K=!0),e.l_desc=new O(e.dyn_ltree,U),e.d_desc=new O(e.dyn_dtree,F),e.bl_desc=new O(e.bl_tree,M),e.bi_buf=0,e.bi_valid=0,z(e)},n._tr_stored_block=Z,n._tr_flush_block=function(e,t,n,i){var s,o,c=0;0<e.level?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,n=4093624447;for(t=0;t<=31;t++,n>>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return r;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return a;for(t=32;t<l;t++)if(0!==e.dyn_ltree[2*t])return a;return r}(e)),$(e,e.l_desc),$(e,e.d_desc),c=function(e){var t;for(q(e,e.dyn_ltree,e.l_desc.max_code),q(e,e.dyn_dtree,e.d_desc.max_code),$(e,e.bl_desc),t=u-1;3<=t&&0===e.bl_tree[2*D[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),s=e.opt_len+3+7>>>3,(o=e.static_len+3+7>>>3)<=s&&(s=o)):s=o=n+5,n+4<=s&&-1!==t?Z(e,t,n,i):4===e.strategy||o===s?(L(e,2+(i?1:0),3),X(e,A,E)):(L(e,4+(i?1:0),3),function(e,t,n,i){var r;for(L(e,t-257,5),L(e,n-1,5),L(e,i-4,4),r=0;r<i;r++)L(e,e.bl_tree[2*D[r]+1],3);Y(e,e.dyn_ltree,t-1),Y(e,e.dyn_dtree,n-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,c+1),X(e,e.dyn_ltree,e.dyn_dtree)),z(e),i&&H(e)},n._tr_tally=function(e,t,n){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(S[n]+l+1)]++,e.dyn_dtree[2*N(t)]++),e.last_lit===e.lit_bufsize-1},n._tr_align=function(e){var t;L(e,2,3),W(e,b,A),16===(t=e).bi_valid?(P(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):8<=t.bi_valid&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}},{"../utils/common":41}],53:[function(e,t,n){t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(e,t,n){t.exports="function"==typeof setImmediate?setImmediate:function(){var e=[].slice.apply(arguments);e.splice(1,0,0),setTimeout.apply(null,e)}},{}]},{},[10])(10)}))}).call(this,void 0!==nh?nh:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer)},{buffer:83}],89:[function(e,t,n){n.Parser=e("./lib/parser").Parser,n.rules=e("./lib/rules"),n.errors=e("./lib/errors"),n.results=e("./lib/parsing-results"),n.StringSource=e("./lib/StringSource"),n.Token=e("./lib/Token"),n.bottomUp=e("./lib/bottom-up"),n.RegexTokeniser=e("./lib/regex-tokeniser").RegexTokeniser,n.rule=function(e){var t;return function(n){return t||(t=e()),t(n)}}},{"./lib/StringSource":90,"./lib/Token":91,"./lib/bottom-up":93,"./lib/errors":94,"./lib/parser":96,"./lib/parsing-results":97,"./lib/regex-tokeniser":98,"./lib/rules":99}],90:[function(e,t,n){t.exports=function(e,t){return{asString:function(){return e},range:function(n,r){return new i(e,t,n,r)}}};var i=function(e,t,n,i){this._string=e,this._description=t,this._startIndex=n,this._endIndex=i};i.prototype.to=function(e){return new i(this._string,this._description,this._startIndex,e._endIndex)},i.prototype.describe=function(){var e=this._position();return(this._description?this._description+"\n":"")+"Line number: "+e.lineNumber+"\nCharacter number: "+e.characterNumber},i.prototype.lineNumber=function(){return this._position().lineNumber},i.prototype.characterNumber=function(){return this._position().characterNumber},i.prototype._position=function(){for(var e=this,t=0,n=function(){return e._string.indexOf("\n",t)},i=1;-1!==n()&&n()<this._startIndex;)t=n()+1,i+=1;return{lineNumber:i,characterNumber:this._startIndex-t+1}}},{}],91:[function(e,t,n){t.exports=function(e,t,n){this.name=e,this.value=t,n&&(this.source=n)}},{}],92:[function(e,t,n){var i=t.exports=function(e,t){this._tokens=e,this._startIndex=t||0};i.prototype.head=function(){return this._tokens[this._startIndex]},i.prototype.tail=function(e){return new i(this._tokens,this._startIndex+1)},i.prototype.toArray=function(){return this._tokens.slice(this._startIndex)},i.prototype.end=function(){return this._tokens[this._tokens.length-1]},i.prototype.to=function(e){var t=this.head().source,n=e.head()||e.end();return t.to(n.source)}},{}],93:[function(e,t,n){var i=e("./rules"),r=e("./parsing-results");function a(e){function t(t){return new a(e.slice(0,s().indexOf(t)))}function n(t){return new a(e.slice(0,s().indexOf(t)+1))}function s(){return e.map((function(e){return e.name}))}function o(e){for(var t,n;;){if(!(t=c(e.remaining())).isSuccess())return t.isFailure()?e:t;n=e.source().to(t.source()),e=r.success(t.value()(e.value(),n),t.remaining(),n)}}function c(t){return i.firstOf("infix",e.map((function(e){return e.rule})))(t)}return{apply:o,untilExclusive:t,untilInclusive:n}}n.parser=function(e,t,n){var r={rule:h,leftAssociative:d,rightAssociative:u},o=new a(n.map(l)),c=i.firstOf(e,t);function l(e){return{name:e.name,rule:s(e.ruleBuilder.bind(null,r))}}function h(){return f(o)}function d(e){return f(o.untilExclusive(e))}function u(e){return f(o.untilInclusive(e))}function f(e){return p.bind(null,e)}function p(e,t){var n=c(t);return n.isSuccess()?e.apply(n):n}return r},n.infix=function(e,t){function i(i){return n.infix(e,(function(e){var n=t(e);return function(e){return n(e).map((function(e){return function(t,n){return i(t,e,n)}}))}}))}return{name:e,ruleBuilder:t,map:i}};var s=function(e){var t;return function(n){return t||(t=e()),t(n)}}},{"./parsing-results":97,"./rules":99}],94:[function(e,t,n){n.error=function(e){return new i(e)};var i=function(e){this.expected=e.expected,this.actual=e.actual,this._location=e.location};i.prototype.describe=function(){return(this._location?this._location.describe()+":\n":"")+"Expected "+this.expected+"\nbut got "+this.actual},i.prototype.lineNumber=function(){return this._location.lineNumber()},i.prototype.characterNumber=function(){return this._location.characterNumber()}},{}],95:[function(e,t,n){n.fromArray=function(e){var t=0,n=function(){return t<e.length};return new i({hasNext:n,next:function(){if(n())return e[t++];throw new Error("No more elements")}})};var i=function(e){this._iterator=e};i.prototype.map=function(e){var t=this._iterator;return new i({hasNext:function(){return t.hasNext()},next:function(){return e(t.next())}})},i.prototype.filter=function(e){var t,n=this._iterator,r=!1,a=!1,s=function(){if(!r)for(r=!0,a=!1;n.hasNext()&&!a;)t=n.next(),a=e(t)};return new i({hasNext:function(){return s(),a},next:function(){return s(),r=!1,t}})},i.prototype.first=function(){var e=this._iterator;return this._iterator.hasNext()?e.next():null},i.prototype.toArray=function(){for(var e=[];this._iterator.hasNext();)e.push(this._iterator.next());return e}},{}],96:[function(e,t,n){var i=e("./TokenIterator");n.Parser=function(e){return{parseTokens:function(e,t){return e(new i(t))}}}},{"./TokenIterator":92}],97:[function(e,t,n){t.exports={failure:function(e,t){if(e.length<1)throw new Error("Failure must have errors");return new i({status:"failure",remaining:t,errors:e})},error:function(e,t){if(e.length<1)throw new Error("Failure must have errors");return new i({status:"error",remaining:t,errors:e})},success:function(e,t,n){return new i({status:"success",value:e,source:n,remaining:t,errors:[]})},cut:function(e){return new i({status:"cut",remaining:e,errors:[]})}};var i=function(e){this._value=e.value,this._status=e.status,this._hasValue=void 0!==e.value,this._remaining=e.remaining,this._source=e.source,this._errors=e.errors};i.prototype.map=function(e){return this._hasValue?new i({value:e(this._value,this._source),status:this._status,remaining:this._remaining,source:this._source,errors:this._errors}):this},i.prototype.changeRemaining=function(e){return new i({value:this._value,status:this._status,remaining:e,source:this._source,errors:this._errors})},i.prototype.isSuccess=function(){return"success"===this._status||"cut"===this._status},i.prototype.isFailure=function(){return"failure"===this._status},i.prototype.isError=function(){return"error"===this._status},i.prototype.isCut=function(){return"cut"===this._status},i.prototype.value=function(){return this._value},i.prototype.remaining=function(){return this._remaining},i.prototype.source=function(){return this._source},i.prototype.errors=function(){return this._errors}},{}],98:[function(e,t,n){var i=e("./Token"),r=e("./StringSource");function a(e){function t(e,t){for(var i=new r(e,t),s=0,o=[];s<e.length;){var c=n(e,s,i);s=c.endIndex,o.push(c.token)}return o.push(a(e,i)),o}function n(t,n,r){for(var a=0;a<e.length;a++){var s=e[a].regex;s.lastIndex=n;var o=s.exec(t);if(o){var c=n+o[0].length;if(o.index===n&&c>n){var l=o[1];return{token:new i(e[a].name,l,r.range(n,c)),endIndex:c}}}}return c=n+1,{token:new i("unrecognisedCharacter",t.substring(n,c),r.range(n,c)),endIndex:c}}function a(e,t){return new i("end",null,t.range(e.length,e.length))}return e=e.map((function(e){return{name:e.name,regex:new RegExp(e.regex.source,"g")}})),{tokenise:t}}n.RegexTokeniser=a},{"./StringSource":90,"./Token":91}],99:[function(e,t,n){var i=e("underscore"),r=e("option"),a=e("./parsing-results"),s=e("./errors"),o=e("./lazy-iterators");n.token=function(e,t){var n=void 0!==t;return function(i){var r=i.head();return!r||r.name!==e||n&&r.value!==t?f(i,u({name:e,value:t})):a.success(r.value,i.tail(),r.source)}},n.tokenOfType=function(e){return n.token(e)},n.firstOf=function(e,t){return i.isArray(t)||(t=Array.prototype.slice.call(arguments,1)),function(n){return o.fromArray(t).map((function(e){return e(n)})).filter((function(e){return e.isSuccess()||e.isError()})).first()||f(n,e)}},n.then=function(e,t){return function(n){var i=e(n);return i.map,i.map(t)}},n.sequence=function(){var e=Array.prototype.slice.call(arguments,0),t=function(t){var r=i.foldl(e,(function(e,n){var i=e.result,r=e.hasCut;if(!i.isSuccess())return{result:i,hasCut:r};var s=n(i.remaining());if(s.isCut())return{result:i,hasCut:!0};if(s.isSuccess()){var o;o=n.isCaptured?i.value().withValue(n,s.value()):i.value();var c=s.remaining(),l=t.to(c);return{result:a.success(o,c,l),hasCut:r}}return r?{result:a.error(s.errors(),s.remaining()),hasCut:r}:{result:s,hasCut:r}}),{result:a.success(new c,t),hasCut:!1}).result,s=t.to(r.remaining());return r.map((function(e){return e.withValue(n.sequence.source,s)}))};function r(e){return e.isCaptured}return t.head=function(){var a=i.find(e,r);return n.then(t,n.sequence.extract(a))},t.map=function(e){return n.then(t,(function(t){return e.apply(this,t.toArray())}))},t};var c=function(e,t){this._values=e||{},this._valuesArray=t||[]};c.prototype.withValue=function(e,t){if(e.captureName&&e.captureName in this._values)throw new Error('Cannot add second value for capture "'+e.captureName+'"');var n=i.clone(this._values);n[e.captureName]=t;var r=this._valuesArray.concat([t]);return new c(n,r)},c.prototype.get=function(e){if(e.captureName in this._values)return this._values[e.captureName];throw new Error('No value for capture "'+e.captureName+'"')},c.prototype.toArray=function(){return this._valuesArray},n.sequence.capture=function(e,t){var n=function(){return e.apply(this,arguments)};return n.captureName=t,n.isCaptured=!0,n},n.sequence.extract=function(e){return function(t){return t.get(e)}},n.sequence.applyValues=function(e){var t=Array.prototype.slice.call(arguments,1);return function(n){var i=t.map((function(e){return n.get(e)}));return e.apply(this,i)}},n.sequence.source={captureName:"☃source☃"},n.sequence.cut=function(){return function(e){return a.cut(e)}},n.optional=function(e){return function(t){var n=e(t);return n.isSuccess()?n.map(r.some):n.isFailure()?a.success(r.none,t):n}},n.zeroOrMoreWithSeparator=function(e,t){return d(e,t,!1)},n.oneOrMoreWithSeparator=function(e,t){return d(e,t,!0)};var l=n.zeroOrMore=function(e){return function(t){for(var n,i=[];(n=e(t))&&n.isSuccess();)t=n.remaining(),i.push(n.value());return n.isError()?n:a.success(i,t)}};function h(e){return a.success(null,e)}n.oneOrMore=function(e){return n.oneOrMoreWithSeparator(e,h)};var d=function(e,t,i){return function(r){var s=e(r);if(s.isSuccess()){var o=n.sequence.capture(e,"main"),c=l(n.then(n.sequence(t,o),n.sequence.extract(o)))(s.remaining());return a.success([s.value()].concat(c.value()),c.remaining())}return i||s.isError()?s:a.success([],r)}};n.leftAssociative=function(e,t,i){var r;r=(r=i?[{func:i,rule:t}]:t).map((function(e){return n.then(e.rule,(function(t){return function(n,i){return e.func(n,t,i)}}))}));var s=n.firstOf.apply(null,["rules"].concat(r));return function(t){var n=t,i=e(t);if(!i.isSuccess())return i;for(var r=s(i.remaining());r.isSuccess();){var o=r.remaining(),c=n.to(r.remaining()),l=r.value();i=a.success(l(i.value(),c),o,c),r=s(i.remaining())}return r.isError()?r:i}},n.leftAssociative.firstOf=function(){return Array.prototype.slice.call(arguments,0)},n.nonConsuming=function(e){return function(t){return e(t).changeRemaining(t)}};var u=function(e){return e.value?e.name+' "'+e.value+'"':e.name};function f(e,t){var n,i=e.head();return n=i?s.error({expected:t,actual:u(i),location:i.source}):s.error({expected:t,actual:"end of tokens"}),a.failure([n],e)}},{"./errors":94,"./lazy-iterators":95,"./parsing-results":97,option:100,underscore:102}],100:[function(e,t,n){function i(e){return"function"==typeof e?e():e}n.none=Object.create({value:function(){throw new Error("Called value on none")},isNone:function(){return!0},isSome:function(){return!1},map:function(){return n.none},flatMap:function(){return n.none},filter:function(){return n.none},toArray:function(){return[]},orElse:i,valueOrElse:i}),n.some=function(e){return new r(e)};var r=function(e){this._value=e};r.prototype.value=function(){return this._value},r.prototype.isNone=function(){return!1},r.prototype.isSome=function(){return!0},r.prototype.map=function(e){return new r(e(this._value))},r.prototype.flatMap=function(e){return e(this._value)},r.prototype.filter=function(e){return e(this._value)?this:n.none},r.prototype.toArray=function(){return[this._value]},r.prototype.orElse=function(e){return this},r.prototype.valueOrElse=function(e){return this._value},n.isOption=function(e){return e===n.none||e instanceof r},n.fromNullable=function(e){return null==e?n.none:new r(e)}},{}],101:[function(e,t,n){var i,r,a=t.exports={};function s(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function c(e){if(i===setTimeout)return setTimeout(e,0);if((i===s||!i)&&setTimeout)return i=setTimeout,setTimeout(e,0);try{return i(e,0)}catch(t){try{return i.call(null,e,0)}catch(n){return i.call(this,e,0)}}}function l(e){if(r===clearTimeout)return clearTimeout(e);if((r===o||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{return r(e)}catch(t){try{return r.call(null,e)}catch(n){return r.call(this,e)}}}!function(){try{i="function"==typeof setTimeout?setTimeout:s}catch(e){i=s}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(e){r=o}}();var h,d=[],u=!1,f=-1;function p(){u&&h&&(u=!1,h.length?d=h.concat(d):f=-1,d.length&&g())}function g(){if(!u){var e=c(p);u=!0;for(var t=d.length;t;){for(h=d,d=[];++f<t;)h&&h[f].run();f=-1,t=d.length}h=null,u=!1,l(e)}}function m(e,t){this.fun=e,this.array=t}function b(){}a.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];d.push(new m(e,t)),1!==d.length||u||c(g)},m.prototype.run=function(){this.fun.apply(null,this.array)},a.title="browser",a.browser=!0,a.env={},a.argv=[],a.version="",a.versions={},a.on=b,a.addListener=b,a.once=b,a.off=b,a.removeListener=b,a.removeAllListeners=b,a.emit=b,a.binding=function(e){throw new Error("process.binding is not supported")},a.cwd=function(){return"/"},a.chdir=function(e){throw new Error("process.chdir is not supported")},a.umask=function(){return 0}},{}],102:[function(e,t,n){(function(e){var i,r,a,s;i=this,r=function(){var t="1.13.1",n="object"==typeof self&&self.self===self&&self||"object"==typeof e&&e.global===e&&e||Function("return this")()||{},i=Array.prototype,r=Object.prototype,a="undefined"!=typeof Symbol?Symbol.prototype:null,s=i.push,o=i.slice,c=r.toString,l=r.hasOwnProperty,h="undefined"!=typeof ArrayBuffer,d="undefined"!=typeof DataView,u=Array.isArray,f=Object.keys,p=Object.create,g=h&&ArrayBuffer.isView,m=isNaN,b=isFinite,v=!{toString:null}.propertyIsEnumerable("toString"),y=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],w=Math.pow(2,53)-1;function x(e,t){return t=null==t?e.length-1:+t,function(){for(var n=Math.max(arguments.length-t,0),i=Array(n),r=0;r<n;r++)i[r]=arguments[r+t];switch(t){case 0:return e.call(this,i);case 1:return e.call(this,arguments[0],i);case 2:return e.call(this,arguments[0],arguments[1],i)}var a=Array(t+1);for(r=0;r<t;r++)a[r]=arguments[r];return a[t]=i,e.apply(this,a)}}function _(e){var t=typeof e;return"function"===t||"object"===t&&!!e}function T(e){return null===e}function D(e){return void 0===e}function A(e){return!0===e||!1===e||"[object Boolean]"===c.call(e)}function E(e){return!(!e||1!==e.nodeType)}function k(e){var t="[object "+e+"]";return function(e){return c.call(e)===t}}var S=k("String"),C=k("Number"),U=k("Date"),F=k("RegExp"),M=k("Error"),R=k("Symbol"),I=k("ArrayBuffer"),O=k("Function"),N=n.document&&n.document.childNodes;"function"!=typeof/./&&"object"!=typeof Int8Array&&"function"!=typeof N&&(O=function(e){return"function"==typeof e||!1});var P=O,L=k("Object"),W=d&&L(new DataView(new ArrayBuffer(8))),B="undefined"!=typeof Map&&L(new Map),j=k("DataView");function z(e){return null!=e&&P(e.getInt8)&&I(e.buffer)}var H=W?z:j,V=u||k("Array");function G(e,t){return null!=e&&l.call(e,t)}var X=k("Arguments");!function(){X(arguments)||(X=function(e){return G(e,"callee")})}();var $=X;function q(e){return!R(e)&&b(e)&&!isNaN(parseFloat(e))}function Y(e){return C(e)&&m(e)}function K(e){return function(){return e}}function Z(e){return function(t){var n=e(t);return"number"==typeof n&&n>=0&&n<=w}}function J(e){return function(t){return null==t?void 0:t[e]}}var Q=J("byteLength"),ee=Z(Q),te=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;function ne(e){return g?g(e)&&!H(e):ee(e)&&te.test(c.call(e))}var ie=h?ne:K(!1),re=J("length");function ae(e){for(var t={},n=e.length,i=0;i<n;++i)t[e[i]]=!0;return{contains:function(e){return t[e]},push:function(n){return t[n]=!0,e.push(n)}}}function se(e,t){t=ae(t);var n=y.length,i=e.constructor,a=P(i)&&i.prototype||r,s="constructor";for(G(e,s)&&!t.contains(s)&&t.push(s);n--;)(s=y[n])in e&&e[s]!==a[s]&&!t.contains(s)&&t.push(s)}function oe(e){if(!_(e))return[];if(f)return f(e);var t=[];for(var n in e)G(e,n)&&t.push(n);return v&&se(e,t),t}function ce(e){if(null==e)return!0;var t=re(e);return"number"==typeof t&&(V(e)||S(e)||$(e))?0===t:0===re(oe(e))}function le(e,t){var n=oe(t),i=n.length;if(null==e)return!i;for(var r=Object(e),a=0;a<i;a++){var s=n[a];if(t[s]!==r[s]||!(s in r))return!1}return!0}function he(e){return e instanceof he?e:this instanceof he?void(this._wrapped=e):new he(e)}function de(e){return new Uint8Array(e.buffer||e,e.byteOffset||0,Q(e))}he.VERSION=t,he.prototype.value=function(){return this._wrapped},he.prototype.valueOf=he.prototype.toJSON=he.prototype.value,he.prototype.toString=function(){return String(this._wrapped)};var ue="[object DataView]";function fe(e,t,n,i){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var r=typeof e;return("function"===r||"object"===r||"object"==typeof t)&&pe(e,t,n,i)}function pe(e,t,n,i){e instanceof he&&(e=e._wrapped),t instanceof he&&(t=t._wrapped);var r=c.call(e);if(r!==c.call(t))return!1;if(W&&"[object Object]"==r&&H(e)){if(!H(t))return!1;r=ue}switch(r){ +// These types are compared by value. +case"[object RegExp]": +// RegExps are coerced to strings for comparison (Note: '' + /a/i === '/a/i') +case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0==+e?1/+e==1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object Symbol]":return a.valueOf.call(e)===a.valueOf.call(t);case"[object ArrayBuffer]":case ue:return pe(de(e),de(t),n,i)}var s="[object Array]"===r;if(!s&&ie(e)){if(Q(e)!==Q(t))return!1;if(e.buffer===t.buffer&&e.byteOffset===t.byteOffset)return!0;s=!0}if(!s){if("object"!=typeof e||"object"!=typeof t)return!1;var o=e.constructor,l=t.constructor;if(o!==l&&!(P(o)&&o instanceof o&&P(l)&&l instanceof l)&&"constructor"in e&&"constructor"in t)return!1}i=i||[];for(var h=(n=n||[]).length;h--;)if(n[h]===e)return i[h]===t;if(n.push(e),i.push(t),s){if((h=e.length)!==t.length)return!1;for(;h--;)if(!fe(e[h],t[h],n,i))return!1}else{var d,u=oe(e);if(h=u.length,oe(t).length!==h)return!1;for(;h--;)if(!G(t,d=u[h])||!fe(e[d],t[d],n,i))return!1}return n.pop(),i.pop(),!0}function ge(e,t){return fe(e,t)}function me(e){if(!_(e))return[];var t=[];for(var n in e)t.push(n);return v&&se(e,t),t}function be(e){var t=re(e);return function(n){if(null==n)return!1;var i=me(n);if(re(i))return!1;for(var r=0;r<t;r++)if(!P(n[e[r]]))return!1;return e!==Te||!P(n[ve])}}var ve="forEach",ye="has",we=["clear","delete"],xe=["get",ye,"set"],_e=we.concat(ve,xe),Te=we.concat(xe),De=["add"].concat(we,ve,ye),Ae=B?be(_e):k("Map"),Ee=B?be(Te):k("WeakMap"),ke=B?be(De):k("Set"),Se=k("WeakSet");function Ce(e){for(var t=oe(e),n=t.length,i=Array(n),r=0;r<n;r++)i[r]=e[t[r]];return i}function Ue(e){for(var t=oe(e),n=t.length,i=Array(n),r=0;r<n;r++)i[r]=[t[r],e[t[r]]];return i}function Fe(e){for(var t={},n=oe(e),i=0,r=n.length;i<r;i++)t[e[n[i]]]=n[i];return t}function Me(e){var t=[];for(var n in e)P(e[n])&&t.push(n);return t.sort()}function Re(e,t){return function(n){var i=arguments.length;if(t&&(n=Object(n)),i<2||null==n)return n;for(var r=1;r<i;r++)for(var a=arguments[r],s=e(a),o=s.length,c=0;c<o;c++){var l=s[c];t&&void 0!==n[l]||(n[l]=a[l])}return n}}var Ie=Re(me),Oe=Re(oe),Ne=Re(me,!0);function Pe(){return function(){}}function Le(e){if(!_(e))return{};if(p)return p(e);var t=Pe();t.prototype=e;var n=new t;return t.prototype=null,n}function We(e,t){var n=Le(e);return t&&Oe(n,t),n}function Be(e){return _(e)?V(e)?e.slice():Ie({},e):e}function je(e,t){return t(e),e}function ze(e){return V(e)?e:[e]}function He(e){return he.toPath(e)}function Ve(e,t){for(var n=t.length,i=0;i<n;i++){if(null==e)return;e=e[t[i]]}return n?e:void 0}function Ge(e,t,n){var i=Ve(e,He(t));return D(i)?n:i}function Xe(e,t){for(var n=(t=He(t)).length,i=0;i<n;i++){var r=t[i];if(!G(e,r))return!1;e=e[r]}return!!n}function $e(e){return e}function qe(e){return e=Oe({},e),function(t){return le(t,e)}}function Ye(e){return e=He(e),function(t){return Ve(t,e)}}function Ke(e,t,n){if(void 0===t)return e;switch(null==n?3:n){case 1:return function(n){return e.call(t,n)}; +// The 2-argument case is omitted because we’re not using it. +case 3:return function(n,i,r){return e.call(t,n,i,r)};case 4:return function(n,i,r,a){return e.call(t,n,i,r,a)}}return function(){return e.apply(t,arguments)}}function Ze(e,t,n){return null==e?$e:P(e)?Ke(e,t,n):_(e)&&!V(e)?qe(e):Ye(e)}function Je(e,t){return Ze(e,t,1/0)}function Qe(e,t,n){return he.iteratee!==Je?he.iteratee(e,t):Ze(e,t,n)}function et(e,t,n){t=Qe(t,n);for(var i=oe(e),r=i.length,a={},s=0;s<r;s++){var o=i[s];a[o]=t(e[o],o,e)}return a}function tt(){}function nt(e){return null==e?tt:function(t){return Ge(e,t)}}function it(e,t,n){var i=Array(Math.max(0,e));t=Ke(t,n,1);for(var r=0;r<e;r++)i[r]=t(r);return i}function rt(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))}he.toPath=ze,he.iteratee=Je;var at=Date.now||function(){ +return(new Date).getTime()};function st(e){var t=function(t){return e[t]},n="(?:"+oe(e).join("|")+")",i=RegExp(n),r=RegExp(n,"g");return function(e){return e=null==e?"":""+e,i.test(e)?e.replace(r,t):e}}var ot={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},ct=st(ot),lt=st(Fe(ot)),ht=he.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},dt=/(.)^/,ut={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},ft=/\\|'|\r|\n|\u2028|\u2029/g;function pt(e){return"\\"+ut[e]}var gt=/^\s*(\w|\$)+\s*$/;function mt(e,t,n){!t&&n&&(t=n),t=Ne({},t,he.templateSettings);var i=RegExp([(t.escape||dt).source,(t.interpolate||dt).source,(t.evaluate||dt).source].join("|")+"|$","g"),r=0,a="__p+='";e.replace(i,(function(t,n,i,s,o){return a+=e.slice(r,o).replace(ft,pt),r=o+t.length,n?a+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":i?a+="'+\n((__t=("+i+"))==null?'':__t)+\n'":s&&(a+="';\n"+s+"\n__p+='"),t})),a+="';\n";var s,o=t.variable;if(o){if(!gt.test(o))throw new Error("variable is not a bare identifier: "+o)}else a="with(obj||{}){\n"+a+"}\n",o="obj";a="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+a+"return __p;\n";try{s=new Function(o,"_",a)}catch(l){throw l.source=a,l}var c=function(e){return s.call(this,e,he)};return c.source="function("+o+"){\n"+a+"}",c}function bt(e,t,n){var i=(t=He(t)).length;if(!i)return P(n)?n.call(e):n;for(var r=0;r<i;r++){var a=null==e?void 0:e[t[r]];void 0===a&&(a=n,r=i),e=P(a)?a.call(e):a}return e}var vt=0;function yt(e){var t=++vt+"";return e?e+t:t}function wt(e){var t=he(e);return t._chain=!0,t}function xt(e,t,n,i,r){if(!(i instanceof t))return e.apply(n,r);var a=Le(e.prototype),s=e.apply(a,r);return _(s)?s:a}var _t=x((function(e,t){var n=_t.placeholder,i=function(){for(var r=0,a=t.length,s=Array(a),o=0;o<a;o++)s[o]=t[o]===n?arguments[r++]:t[o];for(;r<arguments.length;)s.push(arguments[r++]);return xt(e,i,this,this,s)};return i}));_t.placeholder=he;var Tt=x((function(e,t,n){if(!P(e))throw new TypeError("Bind must be called on a function");var i=x((function(r){return xt(e,i,t,this,n.concat(r))}));return i})),Dt=Z(re);function At(e,t,n,i){if(i=i||[],t||0===t){if(t<=0)return i.concat(e)}else t=1/0;for(var r=i.length,a=0,s=re(e);a<s;a++){var o=e[a];if(Dt(o)&&(V(o)||$(o)))if(t>1)At(o,t-1,n,i),r=i.length;else for(var c=0,l=o.length;c<l;)i[r++]=o[c++];else n||(i[r++]=o)}return i}var Et=x((function(e,t){var n=(t=At(t,!1,!1)).length;if(n<1)throw new Error("bindAll must be passed function names");for(;n--;){var i=t[n];e[i]=Tt(e[i],e)}return e}));function kt(e,t){var n=function(i){var r=n.cache,a=""+(t?t.apply(this,arguments):i);return G(r,a)||(r[a]=e.apply(this,arguments)),r[a]};return n.cache={},n}var St=x((function(e,t,n){return setTimeout((function(){return e.apply(null,n)}),t)})),Ct=_t(St,he,1);function Ut(e,t,n){var i,r,a,s,o=0;n||(n={});var c=function(){o=!1===n.leading?0:at(),i=null,s=e.apply(r,a),i||(r=a=null)},l=function(){var l=at();o||!1!==n.leading||(o=l);var h=t-(l-o);return r=this,a=arguments,h<=0||h>t?(i&&(clearTimeout(i),i=null),o=l,s=e.apply(r,a),i||(r=a=null)):i||!1===n.trailing||(i=setTimeout(c,h)),s};return l.cancel=function(){clearTimeout(i),o=0,i=r=a=null},l}function Ft(e,t,n){var i,r,a,s,o,c=function(){var l=at()-r;t>l?i=setTimeout(c,t-l):(i=null,n||(s=e.apply(o,a)),i||(a=o=null))},l=x((function(l){return o=this,a=l,r=at(),i||(i=setTimeout(c,t),n&&(s=e.apply(o,a))),s}));return l.cancel=function(){clearTimeout(i),i=a=o=null},l}function Mt(e,t){return _t(t,e)}function Rt(e){return function(){return!e.apply(this,arguments)}}function It(){var e=arguments,t=e.length-1;return function(){for(var n=t,i=e[t].apply(this,arguments);n--;)i=e[n].call(this,i);return i}}function Ot(e,t){return function(){if(--e<1)return t.apply(this,arguments)}}function Nt(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}}var Pt=_t(Nt,2);function Lt(e,t,n){t=Qe(t,n);for(var i,r=oe(e),a=0,s=r.length;a<s;a++)if(t(e[i=r[a]],i,e))return i}function Wt(e){return function(t,n,i){n=Qe(n,i);for(var r=re(t),a=e>0?0:r-1;a>=0&&a<r;a+=e)if(n(t[a],a,t))return a;return-1}}var Bt=Wt(1),jt=Wt(-1);function zt(e,t,n,i){for(var r=(n=Qe(n,i,1))(t),a=0,s=re(e);a<s;){var o=Math.floor((a+s)/2);n(e[o])<r?a=o+1:s=o}return a}function Ht(e,t,n){return function(i,r,a){var s=0,c=re(i);if("number"==typeof a)e>0?s=a>=0?a:Math.max(a+c,s):c=a>=0?Math.min(a+1,c):a+c+1;else if(n&&a&&c)return i[a=n(i,r)]===r?a:-1;if(r!=r)return(a=t(o.call(i,s,c),Y))>=0?a+s:-1;for(a=e>0?s:c-1;a>=0&&a<c;a+=e)if(i[a]===r)return a;return-1}}var Vt=Ht(1,Bt,zt),Gt=Ht(-1,jt);function Xt(e,t,n){var i=(Dt(e)?Bt:Lt)(e,t,n);if(void 0!==i&&-1!==i)return e[i]}function $t(e,t){return Xt(e,qe(t))}function qt(e,t,n){var i,r;if(t=Ke(t,n),Dt(e))for(i=0,r=e.length;i<r;i++)t(e[i],i,e);else{var a=oe(e);for(i=0,r=a.length;i<r;i++)t(e[a[i]],a[i],e)}return e}function Yt(e,t,n){t=Qe(t,n);for(var i=!Dt(e)&&oe(e),r=(i||e).length,a=Array(r),s=0;s<r;s++){var o=i?i[s]:s;a[s]=t(e[o],o,e)}return a}function Kt(e){var t=function(t,n,i,r){var a=!Dt(t)&&oe(t),s=(a||t).length,o=e>0?0:s-1;for(r||(i=t[a?a[o]:o],o+=e);o>=0&&o<s;o+=e){var c=a?a[o]:o;i=n(i,t[c],c,t)}return i};return function(e,n,i,r){var a=arguments.length>=3;return t(e,Ke(n,r,4),i,a)}}var Zt=Kt(1),Jt=Kt(-1);function Qt(e,t,n){var i=[];return t=Qe(t,n),qt(e,(function(e,n,r){t(e,n,r)&&i.push(e)})),i}function en(e,t,n){return Qt(e,Rt(Qe(t)),n)}function tn(e,t,n){t=Qe(t,n);for(var i=!Dt(e)&&oe(e),r=(i||e).length,a=0;a<r;a++){var s=i?i[a]:a;if(!t(e[s],s,e))return!1}return!0}function nn(e,t,n){t=Qe(t,n);for(var i=!Dt(e)&&oe(e),r=(i||e).length,a=0;a<r;a++){var s=i?i[a]:a;if(t(e[s],s,e))return!0}return!1}function rn(e,t,n,i){return Dt(e)||(e=Ce(e)),("number"!=typeof n||i)&&(n=0),Vt(e,t,n)>=0}var an=x((function(e,t,n){var i,r;return P(t)?r=t:(t=He(t),i=t.slice(0,-1),t=t[t.length-1]),Yt(e,(function(e){var a=r;if(!a){if(i&&i.length&&(e=Ve(e,i)),null==e)return;a=e[t]}return null==a?a:a.apply(e,n)}))}));function sn(e,t){return Yt(e,Ye(t))}function on(e,t){return Qt(e,qe(t))}function cn(e,t,n){var i,r,a=-1/0,s=-1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var o=0,c=(e=Dt(e)?e:Ce(e)).length;o<c;o++)null!=(i=e[o])&&i>a&&(a=i);else t=Qe(t,n),qt(e,(function(e,n,i){((r=t(e,n,i))>s||r===-1/0&&a===-1/0)&&(a=e,s=r)}));return a}function ln(e,t,n){var i,r,a=1/0,s=1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var o=0,c=(e=Dt(e)?e:Ce(e)).length;o<c;o++)null!=(i=e[o])&&i<a&&(a=i);else t=Qe(t,n),qt(e,(function(e,n,i){((r=t(e,n,i))<s||r===1/0&&a===1/0)&&(a=e,s=r)}));return a}function hn(e,t,n){if(null==t||n)return Dt(e)||(e=Ce(e)),e[rt(e.length-1)];var i=Dt(e)?Be(e):Ce(e),r=re(i);t=Math.max(Math.min(t,r),0);for(var a=r-1,s=0;s<t;s++){var o=rt(s,a),c=i[s];i[s]=i[o],i[o]=c}return i.slice(0,t)}function dn(e){return hn(e,1/0)}function un(e,t,n){var i=0;return t=Qe(t,n),sn(Yt(e,(function(e,n,r){return{value:e,index:i++,criteria:t(e,n,r)}})).sort((function(e,t){var n=e.criteria,i=t.criteria;if(n!==i){if(n>i||void 0===n)return 1;if(n<i||void 0===i)return-1}return e.index-t.index})),"value")}function fn(e,t){return function(n,i,r){var a=t?[[],[]]:{};return i=Qe(i,r),qt(n,(function(t,r){var s=i(t,r,n);e(a,t,s)})),a}}var pn=fn((function(e,t,n){G(e,n)?e[n].push(t):e[n]=[t]})),gn=fn((function(e,t,n){e[n]=t})),mn=fn((function(e,t,n){G(e,n)?e[n]++:e[n]=1})),bn=fn((function(e,t,n){e[n?0:1].push(t)}),!0),vn=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function yn(e){return e?V(e)?o.call(e):S(e)?e.match(vn):Dt(e)?Yt(e,$e):Ce(e):[]}function wn(e){return null==e?0:Dt(e)?e.length:oe(e).length}function xn(e,t,n){return t in n}var _n=x((function(e,t){var n={},i=t[0];if(null==e)return n;P(i)?(t.length>1&&(i=Ke(i,t[1])),t=me(e)):(i=xn,t=At(t,!1,!1),e=Object(e));for(var r=0,a=t.length;r<a;r++){var s=t[r],o=e[s];i(o,s,e)&&(n[s]=o)}return n})),Tn=x((function(e,t){var n,i=t[0];return P(i)?(i=Rt(i),t.length>1&&(n=t[1])):(t=Yt(At(t,!1,!1),String),i=function(e,n){return!rn(t,n)}),_n(e,i,n)}));function Dn(e,t,n){return o.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))}function An(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[0]:Dn(e,e.length-t)}function En(e,t,n){return o.call(e,null==t||n?1:t)}function kn(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[e.length-1]:En(e,Math.max(0,e.length-t))}function Sn(e){return Qt(e,Boolean)}function Cn(e,t){return At(e,t,!1)}var Un=x((function(e,t){return t=At(t,!0,!0),Qt(e,(function(e){return!rn(t,e)}))})),Fn=x((function(e,t){return Un(e,t)}));function Mn(e,t,n,i){A(t)||(i=n,n=t,t=!1),null!=n&&(n=Qe(n,i));for(var r=[],a=[],s=0,o=re(e);s<o;s++){var c=e[s],l=n?n(c,s,e):c;t&&!n?(s&&a===l||r.push(c),a=l):n?rn(a,l)||(a.push(l),r.push(c)):rn(r,c)||r.push(c)}return r}var Rn=x((function(e){return Mn(At(e,!0,!0))}));function In(e){for(var t=[],n=arguments.length,i=0,r=re(e);i<r;i++){var a=e[i];if(!rn(t,a)){var s;for(s=1;s<n&&rn(arguments[s],a);s++);s===n&&t.push(a)}}return t}function On(e){for(var t=e&&cn(e,re).length||0,n=Array(t),i=0;i<t;i++)n[i]=sn(e,i);return n}var Nn=x(On);function Pn(e,t){for(var n={},i=0,r=re(e);i<r;i++)t?n[e[i]]=t[i]:n[e[i][0]]=e[i][1];return n}function Ln(e,t,n){null==t&&(t=e||0,e=0),n||(n=t<e?-1:1);for(var i=Math.max(Math.ceil((t-e)/n),0),r=Array(i),a=0;a<i;a++,e+=n)r[a]=e;return r}function Wn(e,t){if(null==t||t<1)return[];for(var n=[],i=0,r=e.length;i<r;)n.push(o.call(e,i,i+=t));return n}function Bn(e,t){return e._chain?he(t).chain():t}function jn(e){return qt(Me(e),(function(t){var n=he[t]=e[t];he.prototype[t]=function(){var e=[this._wrapped];return s.apply(e,arguments),Bn(this,n.apply(he,e))}})),he}qt(["pop","push","reverse","shift","sort","splice","unshift"],(function(e){var t=i[e];he.prototype[e]=function(){var n=this._wrapped;return null!=n&&(t.apply(n,arguments),"shift"!==e&&"splice"!==e||0!==n.length||delete n[0]),Bn(this,n)}})),qt(["concat","join","slice"],(function(e){var t=i[e];he.prototype[e]=function(){var e=this._wrapped;return null!=e&&(e=t.apply(e,arguments)),Bn(this,e)}}));var zn=jn({__proto__:null,VERSION:t,restArguments:x,isObject:_,isNull:T,isUndefined:D,isBoolean:A,isElement:E,isString:S,isNumber:C,isDate:U,isRegExp:F,isError:M,isSymbol:R,isArrayBuffer:I,isDataView:H,isArray:V,isFunction:P,isArguments:$,isFinite:q,isNaN:Y,isTypedArray:ie,isEmpty:ce,isMatch:le,isEqual:ge,isMap:Ae,isWeakMap:Ee,isSet:ke,isWeakSet:Se,keys:oe,allKeys:me,values:Ce,pairs:Ue,invert:Fe,functions:Me,methods:Me,extend:Ie,extendOwn:Oe,assign:Oe,defaults:Ne,create:We,clone:Be,tap:je,get:Ge,has:Xe,mapObject:et,identity:$e,constant:K,noop:tt,toPath:ze,property:Ye,propertyOf:nt,matcher:qe,matches:qe,times:it,random:rt,now:at,escape:ct,unescape:lt,templateSettings:ht,template:mt,result:bt,uniqueId:yt,chain:wt,iteratee:Je,partial:_t,bind:Tt,bindAll:Et,memoize:kt,delay:St,defer:Ct,throttle:Ut,debounce:Ft,wrap:Mt,negate:Rt,compose:It,after:Ot,before:Nt,once:Pt,findKey:Lt,findIndex:Bt,findLastIndex:jt,sortedIndex:zt,indexOf:Vt,lastIndexOf:Gt,find:Xt,detect:Xt,findWhere:$t,each:qt,forEach:qt,map:Yt,collect:Yt,reduce:Zt,foldl:Zt,inject:Zt,reduceRight:Jt,foldr:Jt,filter:Qt,select:Qt,reject:en,every:tn,all:tn,some:nn,any:nn,contains:rn,includes:rn,include:rn,invoke:an,pluck:sn,where:on,max:cn,min:ln,shuffle:dn,sample:hn,sortBy:un,groupBy:pn,indexBy:gn,countBy:mn,partition:bn,toArray:yn,size:wn,pick:_n,omit:Tn,first:An,head:An,take:An,initial:Dn,last:kn,rest:En,tail:En,drop:En,compact:Sn,flatten:Cn,without:Fn,uniq:Mn,unique:Mn,union:Rn,intersection:In,difference:Un,unzip:On,transpose:On,zip:Nn,object:Pn,range:Ln,chunk:Wn,mixin:jn,default:he});return zn._=zn,zn},"object"==typeof n&&void 0!==t?t.exports=r():(i="undefined"!=typeof globalThis?globalThis:i||self,a=i._,(s=i._=r()).noConflict=function(){return i._=a,s})}).call(this,void 0!==nh?nh:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],103:[function(e,t,n){(function(){var e,n,i,r,a,s,o,c=[].slice,l={}.hasOwnProperty;e=function(){var e,t,n,i,r,s;if(s=arguments[0],r=2<=arguments.length?c.call(arguments,1):[],a(Object.assign))Object.assign.apply(null,arguments);else for(e=0,n=r.length;e<n;e++)if(null!=(i=r[e]))for(t in i)l.call(i,t)&&(s[t]=i[t]);return s},a=function(e){return!!e&&"[object Function]"===Object.prototype.toString.call(e)},s=function(e){var t;return!!e&&("function"==(t=typeof e)||"object"===t)},i=function(e){return a(Array.isArray)?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)},r=function(e){var t;if(i(e))return!e.length;for(t in e)if(l.call(e,t))return!1;return!0},o=function(e){var t,n;return s(e)&&(n=Object.getPrototypeOf(e))&&(t=n.constructor)&&"function"==typeof t&&t instanceof t&&Function.prototype.toString.call(t)===Function.prototype.toString.call(Object)},n=function(e){return a(e.valueOf)?e.valueOf():e},t.exports.assign=e,t.exports.isFunction=a,t.exports.isObject=s,t.exports.isArray=i,t.exports.isEmpty=r,t.exports.isPlainObject=o,t.exports.getValue=n}).call(this)},{}],104:[function(e,t,n){(function(){t.exports=function(){function e(e,t,n){if(this.options=e.options,this.stringify=e.stringify,this.parent=e,null==t)throw new Error("Missing attribute name. "+this.debugInfo(t));if(null==n)throw new Error("Missing attribute value. "+this.debugInfo(t));this.name=this.stringify.attName(t),this.value=this.stringify.attValue(n)}return e.prototype.clone=function(){return Object.create(this)},e.prototype.toString=function(e){return this.options.writer.set(e).attribute(this)},e.prototype.debugInfo=function(e){var t,n;return null!=(e=e||this.name)||(null!=(t=this.parent)?t.name:void 0)?null==e?"parent: <"+this.parent.name+">":(null!=(n=this.parent)?n.name:void 0)?"attribute: {"+e+"}, parent: <"+this.parent.name+">":"attribute: {"+e+"}":""},e}()}).call(this)},{}],105:[function(e,t,n){(function(){var n,i=function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},r={}.hasOwnProperty;n=e("./XMLNode"),t.exports=function(e){function t(e,n){if(t.__super__.constructor.call(this,e),null==n)throw new Error("Missing CDATA text. "+this.debugInfo());this.text=this.stringify.cdata(n)}return i(t,e),t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(e){return this.options.writer.set(e).cdata(this)},t}(n)}).call(this)},{"./XMLNode":116}],106:[function(e,t,n){(function(){var n,i=function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},r={}.hasOwnProperty;n=e("./XMLNode"),t.exports=function(e){function t(e,n){if(t.__super__.constructor.call(this,e),null==n)throw new Error("Missing comment text. "+this.debugInfo());this.text=this.stringify.comment(n)}return i(t,e),t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(e){return this.options.writer.set(e).comment(this)},t}(n)}).call(this)},{"./XMLNode":116}],107:[function(e,t,n){(function(){var n,i=function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},r={}.hasOwnProperty;n=e("./XMLNode"),t.exports=function(e){function t(e,n,i,r,a,s){if(t.__super__.constructor.call(this,e),null==n)throw new Error("Missing DTD element name. "+this.debugInfo());if(null==i)throw new Error("Missing DTD attribute name. "+this.debugInfo(n));if(!r)throw new Error("Missing DTD attribute type. "+this.debugInfo(n));if(!a)throw new Error("Missing DTD attribute default. "+this.debugInfo(n));if(0!==a.indexOf("#")&&(a="#"+a),!a.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(n));if(s&&!a.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(n));this.elementName=this.stringify.eleName(n),this.attributeName=this.stringify.attName(i),this.attributeType=this.stringify.dtdAttType(r),this.defaultValue=this.stringify.dtdAttDefault(s),this.defaultValueType=a}return i(t,e),t.prototype.toString=function(e){return this.options.writer.set(e).dtdAttList(this)},t}(n)}).call(this)},{"./XMLNode":116}],108:[function(e,t,n){(function(){var n,i=function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},r={}.hasOwnProperty;n=e("./XMLNode"),t.exports=function(e){function t(e,n,i){if(t.__super__.constructor.call(this,e),null==n)throw new Error("Missing DTD element name. "+this.debugInfo());i||(i="(#PCDATA)"),Array.isArray(i)&&(i="("+i.join(",")+")"),this.name=this.stringify.eleName(n),this.value=this.stringify.dtdElementValue(i)}return i(t,e),t.prototype.toString=function(e){return this.options.writer.set(e).dtdElement(this)},t}(n)}).call(this)},{"./XMLNode":116}],109:[function(e,t,n){(function(){var n,i,r=function(e,t){for(var n in t)a.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},a={}.hasOwnProperty;i=e("./Utility").isObject,n=e("./XMLNode"),t.exports=function(e){function t(e,n,r,a){if(t.__super__.constructor.call(this,e),null==r)throw new Error("Missing DTD entity name. "+this.debugInfo(r));if(null==a)throw new Error("Missing DTD entity value. "+this.debugInfo(r));if(this.pe=!!n,this.name=this.stringify.eleName(r),i(a)){if(!a.pubID&&!a.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(r));if(a.pubID&&!a.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(r));if(null!=a.pubID&&(this.pubID=this.stringify.dtdPubID(a.pubID)),null!=a.sysID&&(this.sysID=this.stringify.dtdSysID(a.sysID)),null!=a.nData&&(this.nData=this.stringify.dtdNData(a.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(r))}else this.value=this.stringify.dtdEntityValue(a)}return r(t,e),t.prototype.toString=function(e){return this.options.writer.set(e).dtdEntity(this)},t}(n)}).call(this)},{"./Utility":103,"./XMLNode":116}],110:[function(e,t,n){(function(){var n,i=function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},r={}.hasOwnProperty;n=e("./XMLNode"),t.exports=function(e){function t(e,n,i){if(t.__super__.constructor.call(this,e),null==n)throw new Error("Missing DTD notation name. "+this.debugInfo(n));if(!i.pubID&&!i.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(n));this.name=this.stringify.eleName(n),null!=i.pubID&&(this.pubID=this.stringify.dtdPubID(i.pubID)),null!=i.sysID&&(this.sysID=this.stringify.dtdSysID(i.sysID))}return i(t,e),t.prototype.toString=function(e){return this.options.writer.set(e).dtdNotation(this)},t}(n)}).call(this)},{"./XMLNode":116}],111:[function(e,t,n){(function(){var n,i,r=function(e,t){for(var n in t)a.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},a={}.hasOwnProperty;i=e("./Utility").isObject,n=e("./XMLNode"),t.exports=function(e){function t(e,n,r,a){var s;t.__super__.constructor.call(this,e),i(n)&&(n=(s=n).version,r=s.encoding,a=s.standalone),n||(n="1.0"),this.version=this.stringify.xmlVersion(n),null!=r&&(this.encoding=this.stringify.xmlEncoding(r)),null!=a&&(this.standalone=this.stringify.xmlStandalone(a))}return r(t,e),t.prototype.toString=function(e){return this.options.writer.set(e).declaration(this)},t}(n)}).call(this)},{"./Utility":103,"./XMLNode":116}],112:[function(e,t,n){(function(){var n,i,r,a,s,o,c=function(e,t){for(var n in t)l.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},l={}.hasOwnProperty;o=e("./Utility").isObject,s=e("./XMLNode"),n=e("./XMLDTDAttList"),r=e("./XMLDTDEntity"),i=e("./XMLDTDElement"),a=e("./XMLDTDNotation"),t.exports=function(e){function t(e,n,i){var r,a;t.__super__.constructor.call(this,e),this.name="!DOCTYPE",this.documentObject=e,o(n)&&(n=(r=n).pubID,i=r.sysID),null==i&&(i=(a=[n,i])[0],n=a[1]),null!=n&&(this.pubID=this.stringify.dtdPubID(n)),null!=i&&(this.sysID=this.stringify.dtdSysID(i))}return c(t,e),t.prototype.element=function(e,t){var n;return n=new i(this,e,t),this.children.push(n),this},t.prototype.attList=function(e,t,i,r,a){var s;return s=new n(this,e,t,i,r,a),this.children.push(s),this},t.prototype.entity=function(e,t){var n;return n=new r(this,!1,e,t),this.children.push(n),this},t.prototype.pEntity=function(e,t){var n;return n=new r(this,!0,e,t),this.children.push(n),this},t.prototype.notation=function(e,t){var n;return n=new a(this,e,t),this.children.push(n),this},t.prototype.toString=function(e){return this.options.writer.set(e).docType(this)},t.prototype.ele=function(e,t){return this.element(e,t)},t.prototype.att=function(e,t,n,i,r){return this.attList(e,t,n,i,r)},t.prototype.ent=function(e,t){return this.entity(e,t)},t.prototype.pent=function(e,t){return this.pEntity(e,t)},t.prototype.not=function(e,t){return this.notation(e,t)},t.prototype.up=function(){return this.root()||this.documentObject},t}(s)}).call(this)},{"./Utility":103,"./XMLDTDAttList":107,"./XMLDTDElement":108,"./XMLDTDEntity":109,"./XMLDTDNotation":110,"./XMLNode":116}],113:[function(e,t,n){(function(){var n,i,r,a,s=function(e,t){for(var n in t)o.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},o={}.hasOwnProperty;a=e("./Utility").isPlainObject,n=e("./XMLNode"),r=e("./XMLStringifier"),i=e("./XMLStringWriter"),t.exports=function(e){function t(e){t.__super__.constructor.call(this,null),this.name="?xml",e||(e={}),e.writer||(e.writer=new i),this.options=e,this.stringify=new r(e),this.isDocument=!0}return s(t,e),t.prototype.end=function(e){var t;return e?a(e)&&(t=e,e=this.options.writer.set(t)):e=this.options.writer,e.document(this)},t.prototype.toString=function(e){return this.options.writer.set(e).document(this)},t}(n)}).call(this)},{"./Utility":103,"./XMLNode":116,"./XMLStringWriter":120,"./XMLStringifier":121}],114:[function(e,t,n){(function(){var n,i,r,a,s,o,c,l,h,d,u,f,p,g,m,b,v,y,w,x,_={}.hasOwnProperty;x=e("./Utility"),y=x.isObject,v=x.isFunction,w=x.isPlainObject,b=x.getValue,d=e("./XMLElement"),i=e("./XMLCData"),r=e("./XMLComment"),f=e("./XMLRaw"),m=e("./XMLText"),u=e("./XMLProcessingInstruction"),l=e("./XMLDeclaration"),h=e("./XMLDocType"),a=e("./XMLDTDAttList"),o=e("./XMLDTDEntity"),s=e("./XMLDTDElement"),c=e("./XMLDTDNotation"),n=e("./XMLAttribute"),g=e("./XMLStringifier"),p=e("./XMLStringWriter"),t.exports=function(){function e(e,t,n){var i;this.name="?xml",e||(e={}),e.writer?w(e.writer)&&(i=e.writer,e.writer=new p(i)):e.writer=new p(e),this.options=e,this.writer=e.writer,this.stringify=new g(e),this.onDataCallback=t||function(){},this.onEndCallback=n||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return e.prototype.node=function(e,t,n){var i;if(null==e)throw new Error("Missing node name.");if(this.root&&-1===this.currentLevel)throw new Error("Document can only have one root node. "+this.debugInfo(e));return this.openCurrent(),e=b(e),null==t&&(t={}),t=b(t),y(t)||(n=(i=[t,n])[0],t=i[1]),this.currentNode=new d(this,e,t),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,null!=n&&this.text(n),this},e.prototype.element=function(e,t,n){return this.currentNode&&this.currentNode instanceof h?this.dtdElement.apply(this,arguments):this.node(e,t,n)},e.prototype.attribute=function(e,t){var i,r;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(e));if(null!=e&&(e=b(e)),y(e))for(i in e)_.call(e,i)&&(r=e[i],this.attribute(i,r));else v(t)&&(t=t.apply()),this.options.skipNullAttributes&&null==t||(this.currentNode.attributes[e]=new n(this,e,t));return this},e.prototype.text=function(e){var t;return this.openCurrent(),t=new m(this,e),this.onData(this.writer.text(t,this.currentLevel+1),this.currentLevel+1),this},e.prototype.cdata=function(e){var t;return this.openCurrent(),t=new i(this,e),this.onData(this.writer.cdata(t,this.currentLevel+1),this.currentLevel+1),this},e.prototype.comment=function(e){var t;return this.openCurrent(),t=new r(this,e),this.onData(this.writer.comment(t,this.currentLevel+1),this.currentLevel+1),this},e.prototype.raw=function(e){var t;return this.openCurrent(),t=new f(this,e),this.onData(this.writer.raw(t,this.currentLevel+1),this.currentLevel+1),this},e.prototype.instruction=function(e,t){var n,i,r,a,s;if(this.openCurrent(),null!=e&&(e=b(e)),null!=t&&(t=b(t)),Array.isArray(e))for(n=0,a=e.length;n<a;n++)i=e[n],this.instruction(i);else if(y(e))for(i in e)_.call(e,i)&&(r=e[i],this.instruction(i,r));else v(t)&&(t=t.apply()),s=new u(this,e,t),this.onData(this.writer.processingInstruction(s,this.currentLevel+1),this.currentLevel+1);return this},e.prototype.declaration=function(e,t,n){var i;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return i=new l(this,e,t,n),this.onData(this.writer.declaration(i,this.currentLevel+1),this.currentLevel+1),this},e.prototype.doctype=function(e,t,n){if(this.openCurrent(),null==e)throw new Error("Missing root node name.");if(this.root)throw new Error("dtd() must come before the root node.");return this.currentNode=new h(this,t,n),this.currentNode.rootNodeName=e,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},e.prototype.dtdElement=function(e,t){var n;return this.openCurrent(),n=new s(this,e,t),this.onData(this.writer.dtdElement(n,this.currentLevel+1),this.currentLevel+1),this},e.prototype.attList=function(e,t,n,i,r){var s;return this.openCurrent(),s=new a(this,e,t,n,i,r),this.onData(this.writer.dtdAttList(s,this.currentLevel+1),this.currentLevel+1),this},e.prototype.entity=function(e,t){var n;return this.openCurrent(),n=new o(this,!1,e,t),this.onData(this.writer.dtdEntity(n,this.currentLevel+1),this.currentLevel+1),this},e.prototype.pEntity=function(e,t){var n;return this.openCurrent(),n=new o(this,!0,e,t),this.onData(this.writer.dtdEntity(n,this.currentLevel+1),this.currentLevel+1),this},e.prototype.notation=function(e,t){var n;return this.openCurrent(),n=new c(this,e,t),this.onData(this.writer.dtdNotation(n,this.currentLevel+1),this.currentLevel+1),this},e.prototype.up=function(){if(this.currentLevel<0)throw new Error("The document node has no parent.");return this.currentNode?(this.currentNode.children?this.closeNode(this.currentNode):this.openNode(this.currentNode),this.currentNode=null):this.closeNode(this.openTags[this.currentLevel]),delete this.openTags[this.currentLevel],this.currentLevel--,this},e.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},e.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},e.prototype.openNode=function(e){if(!e.isOpen)return!this.root&&0===this.currentLevel&&e instanceof d&&(this.root=e),this.onData(this.writer.openNode(e,this.currentLevel),this.currentLevel),e.isOpen=!0},e.prototype.closeNode=function(e){if(!e.isClosed)return this.onData(this.writer.closeNode(e,this.currentLevel),this.currentLevel),e.isClosed=!0},e.prototype.onData=function(e,t){return this.documentStarted=!0,this.onDataCallback(e,t+1)},e.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},e.prototype.debugInfo=function(e){return null==e?"":"node: <"+e+">"},e.prototype.ele=function(){return this.element.apply(this,arguments)},e.prototype.nod=function(e,t,n){return this.node(e,t,n)},e.prototype.txt=function(e){return this.text(e)},e.prototype.dat=function(e){return this.cdata(e)},e.prototype.com=function(e){return this.comment(e)},e.prototype.ins=function(e,t){return this.instruction(e,t)},e.prototype.dec=function(e,t,n){return this.declaration(e,t,n)},e.prototype.dtd=function(e,t,n){return this.doctype(e,t,n)},e.prototype.e=function(e,t,n){return this.element(e,t,n)},e.prototype.n=function(e,t,n){return this.node(e,t,n)},e.prototype.t=function(e){return this.text(e)},e.prototype.d=function(e){return this.cdata(e)},e.prototype.c=function(e){return this.comment(e)},e.prototype.r=function(e){return this.raw(e)},e.prototype.i=function(e,t){return this.instruction(e,t)},e.prototype.att=function(){return this.currentNode&&this.currentNode instanceof h?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},e.prototype.a=function(){return this.currentNode&&this.currentNode instanceof h?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},e.prototype.ent=function(e,t){return this.entity(e,t)},e.prototype.pent=function(e,t){return this.pEntity(e,t)},e.prototype.not=function(e,t){return this.notation(e,t)},e}()}).call(this)},{"./Utility":103,"./XMLAttribute":104,"./XMLCData":105,"./XMLComment":106,"./XMLDTDAttList":107,"./XMLDTDElement":108,"./XMLDTDEntity":109,"./XMLDTDNotation":110,"./XMLDeclaration":111,"./XMLDocType":112,"./XMLElement":115,"./XMLProcessingInstruction":117,"./XMLRaw":118,"./XMLStringWriter":120,"./XMLStringifier":121,"./XMLText":122}],115:[function(e,t,n){(function(){var n,i,r,a,s,o,c=function(e,t){for(var n in t)l.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},l={}.hasOwnProperty;o=e("./Utility"),s=o.isObject,a=o.isFunction,r=o.getValue,i=e("./XMLNode"),n=e("./XMLAttribute"),t.exports=function(e){function t(e,n,i){if(t.__super__.constructor.call(this,e),null==n)throw new Error("Missing element name. "+this.debugInfo());this.name=this.stringify.eleName(n),this.attributes={},null!=i&&this.attribute(i),e.isDocument&&(this.isRoot=!0,this.documentObject=e,e.rootObject=this)}return c(t,e),t.prototype.clone=function(){var e,t,n,i;for(t in(n=Object.create(this)).isRoot&&(n.documentObject=null),n.attributes={},i=this.attributes)l.call(i,t)&&(e=i[t],n.attributes[t]=e.clone());return n.children=[],this.children.forEach((function(e){var t;return(t=e.clone()).parent=n,n.children.push(t)})),n},t.prototype.attribute=function(e,t){var i,o;if(null!=e&&(e=r(e)),s(e))for(i in e)l.call(e,i)&&(o=e[i],this.attribute(i,o));else a(t)&&(t=t.apply()),this.options.skipNullAttributes&&null==t||(this.attributes[e]=new n(this,e,t));return this},t.prototype.removeAttribute=function(e){var t,n,i;if(null==e)throw new Error("Missing attribute name. "+this.debugInfo());if(e=r(e),Array.isArray(e))for(n=0,i=e.length;n<i;n++)t=e[n],delete this.attributes[t];else delete this.attributes[e];return this},t.prototype.toString=function(e){return this.options.writer.set(e).element(this)},t.prototype.att=function(e,t){return this.attribute(e,t)},t.prototype.a=function(e,t){return this.attribute(e,t)},t}(i)}).call(this)},{"./Utility":103,"./XMLAttribute":104,"./XMLNode":116}],116:[function(e,t,n){(function(){var n,i,r,a,s,o,c,l,h,d,u,f,p,g={}.hasOwnProperty;p=e("./Utility"),f=p.isObject,u=p.isFunction,d=p.isEmpty,h=p.getValue,s=null,n=null,i=null,r=null,a=null,c=null,l=null,o=null,t.exports=function(){function t(t){this.parent=t,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.children=[],s||(s=e("./XMLElement"),n=e("./XMLCData"),i=e("./XMLComment"),r=e("./XMLDeclaration"),a=e("./XMLDocType"),c=e("./XMLRaw"),l=e("./XMLText"),o=e("./XMLProcessingInstruction"))}return t.prototype.element=function(e,t,n){var i,r,a,s,o,c,l,p,m,b;if(c=null,null==t&&(t={}),t=h(t),f(t)||(n=(m=[t,n])[0],t=m[1]),null!=e&&(e=h(e)),Array.isArray(e))for(a=0,l=e.length;a<l;a++)r=e[a],c=this.element(r);else if(u(e))c=this.element(e.apply());else if(f(e)){for(o in e)if(g.call(e,o))if(b=e[o],u(b)&&(b=b.apply()),f(b)&&d(b)&&(b=null),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&0===o.indexOf(this.stringify.convertAttKey))c=this.attribute(o.substr(this.stringify.convertAttKey.length),b);else if(!this.options.separateArrayItems&&Array.isArray(b))for(s=0,p=b.length;s<p;s++)r=b[s],(i={})[o]=r,c=this.element(i);else f(b)?(c=this.element(o)).element(b):c=this.element(o,b)}else c=!this.options.ignoreDecorators&&this.stringify.convertTextKey&&0===e.indexOf(this.stringify.convertTextKey)?this.text(n):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&0===e.indexOf(this.stringify.convertCDataKey)?this.cdata(n):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&0===e.indexOf(this.stringify.convertCommentKey)?this.comment(n):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&0===e.indexOf(this.stringify.convertRawKey)?this.raw(n):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&0===e.indexOf(this.stringify.convertPIKey)?this.instruction(e.substr(this.stringify.convertPIKey.length),n):this.node(e,t,n);if(null==c)throw new Error("Could not create any elements with: "+e+". "+this.debugInfo());return c},t.prototype.insertBefore=function(e,t,n){var i,r,a;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(e));return r=this.parent.children.indexOf(this),a=this.parent.children.splice(r),i=this.parent.element(e,t,n),Array.prototype.push.apply(this.parent.children,a),i},t.prototype.insertAfter=function(e,t,n){var i,r,a;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(e));return r=this.parent.children.indexOf(this),a=this.parent.children.splice(r+1),i=this.parent.element(e,t,n),Array.prototype.push.apply(this.parent.children,a),i},t.prototype.remove=function(){var e;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return e=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[e,e-e+1].concat([])),this.parent},t.prototype.node=function(e,t,n){var i,r;return null!=e&&(e=h(e)),t||(t={}),t=h(t),f(t)||(n=(r=[t,n])[0],t=r[1]),i=new s(this,e,t),null!=n&&i.text(n),this.children.push(i),i},t.prototype.text=function(e){var t;return t=new l(this,e),this.children.push(t),this},t.prototype.cdata=function(e){var t;return t=new n(this,e),this.children.push(t),this},t.prototype.comment=function(e){var t;return t=new i(this,e),this.children.push(t),this},t.prototype.commentBefore=function(e){var t,n;return t=this.parent.children.indexOf(this),n=this.parent.children.splice(t),this.parent.comment(e),Array.prototype.push.apply(this.parent.children,n),this},t.prototype.commentAfter=function(e){var t,n;return t=this.parent.children.indexOf(this),n=this.parent.children.splice(t+1),this.parent.comment(e),Array.prototype.push.apply(this.parent.children,n),this},t.prototype.raw=function(e){var t;return t=new c(this,e),this.children.push(t),this},t.prototype.instruction=function(e,t){var n,i,r,a,s;if(null!=e&&(e=h(e)),null!=t&&(t=h(t)),Array.isArray(e))for(a=0,s=e.length;a<s;a++)n=e[a],this.instruction(n);else if(f(e))for(n in e)g.call(e,n)&&(i=e[n],this.instruction(n,i));else u(t)&&(t=t.apply()),r=new o(this,e,t),this.children.push(r);return this},t.prototype.instructionBefore=function(e,t){var n,i;return n=this.parent.children.indexOf(this),i=this.parent.children.splice(n),this.parent.instruction(e,t),Array.prototype.push.apply(this.parent.children,i),this},t.prototype.instructionAfter=function(e,t){var n,i;return n=this.parent.children.indexOf(this),i=this.parent.children.splice(n+1),this.parent.instruction(e,t),Array.prototype.push.apply(this.parent.children,i),this},t.prototype.declaration=function(e,t,n){var i,a;return i=this.document(),a=new r(i,e,t,n),i.children[0]instanceof r?i.children[0]=a:i.children.unshift(a),i.root()||i},t.prototype.doctype=function(e,t){var n,i,r,s,o,c,l,h,d;for(n=this.document(),i=new a(n,e,t),r=s=0,c=(h=n.children).length;s<c;r=++s)if(h[r]instanceof a)return n.children[r]=i,i;for(r=o=0,l=(d=n.children).length;o<l;r=++o)if(d[r].isRoot)return n.children.splice(r,0,i),i;return n.children.push(i),i},t.prototype.up=function(){if(this.isRoot)throw new Error("The root node has no parent. Use doc() if you need to get the document object.");return this.parent},t.prototype.root=function(){var e;for(e=this;e;){if(e.isDocument)return e.rootObject;if(e.isRoot)return e;e=e.parent}},t.prototype.document=function(){var e;for(e=this;e;){if(e.isDocument)return e;e=e.parent}},t.prototype.end=function(e){return this.document().end(e)},t.prototype.prev=function(){var e;if((e=this.parent.children.indexOf(this))<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[e-1]},t.prototype.next=function(){var e;if(-1===(e=this.parent.children.indexOf(this))||e===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[e+1]},t.prototype.importDocument=function(e){var t;return(t=e.root().clone()).parent=this,t.isRoot=!1,this.children.push(t),this},t.prototype.debugInfo=function(e){var t,n;return null!=(e=e||this.name)||(null!=(t=this.parent)?t.name:void 0)?null==e?"parent: <"+this.parent.name+">":(null!=(n=this.parent)?n.name:void 0)?"node: <"+e+">, parent: <"+this.parent.name+">":"node: <"+e+">":""},t.prototype.ele=function(e,t,n){return this.element(e,t,n)},t.prototype.nod=function(e,t,n){return this.node(e,t,n)},t.prototype.txt=function(e){return this.text(e)},t.prototype.dat=function(e){return this.cdata(e)},t.prototype.com=function(e){return this.comment(e)},t.prototype.ins=function(e,t){return this.instruction(e,t)},t.prototype.doc=function(){return this.document()},t.prototype.dec=function(e,t,n){return this.declaration(e,t,n)},t.prototype.dtd=function(e,t){return this.doctype(e,t)},t.prototype.e=function(e,t,n){return this.element(e,t,n)},t.prototype.n=function(e,t,n){return this.node(e,t,n)},t.prototype.t=function(e){return this.text(e)},t.prototype.d=function(e){return this.cdata(e)},t.prototype.c=function(e){return this.comment(e)},t.prototype.r=function(e){return this.raw(e)},t.prototype.i=function(e,t){return this.instruction(e,t)},t.prototype.u=function(){return this.up()},t.prototype.importXMLBuilder=function(e){return this.importDocument(e)},t}()}).call(this)},{"./Utility":103,"./XMLCData":105,"./XMLComment":106,"./XMLDeclaration":111,"./XMLDocType":112,"./XMLElement":115,"./XMLProcessingInstruction":117,"./XMLRaw":118,"./XMLText":122}],117:[function(e,t,n){(function(){var n,i=function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},r={}.hasOwnProperty;n=e("./XMLNode"),t.exports=function(e){function t(e,n,i){if(t.__super__.constructor.call(this,e),null==n)throw new Error("Missing instruction target. "+this.debugInfo());this.target=this.stringify.insTarget(n),i&&(this.value=this.stringify.insValue(i))}return i(t,e),t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(e){return this.options.writer.set(e).processingInstruction(this)},t}(n)}).call(this)},{"./XMLNode":116}],118:[function(e,t,n){(function(){var n,i=function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},r={}.hasOwnProperty;n=e("./XMLNode"),t.exports=function(e){function t(e,n){if(t.__super__.constructor.call(this,e),null==n)throw new Error("Missing raw text. "+this.debugInfo());this.value=this.stringify.raw(n)}return i(t,e),t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(e){return this.options.writer.set(e).raw(this)},t}(n)}).call(this)},{"./XMLNode":116}],119:[function(e,t,n){(function(){var n,i,r,a,s,o,c,l,h,d,u,f,p,g=function(e,t){for(var n in t)m.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},m={}.hasOwnProperty;c=e("./XMLDeclaration"),l=e("./XMLDocType"),n=e("./XMLCData"),i=e("./XMLComment"),h=e("./XMLElement"),u=e("./XMLRaw"),f=e("./XMLText"),d=e("./XMLProcessingInstruction"),r=e("./XMLDTDAttList"),a=e("./XMLDTDElement"),s=e("./XMLDTDEntity"),o=e("./XMLDTDNotation"),p=e("./XMLWriterBase"),t.exports=function(e){function t(e,n){t.__super__.constructor.call(this,n),this.stream=e}return g(t,e),t.prototype.document=function(e){var t,n,r,a,s,o,h,u;for(n=0,a=(o=e.children).length;n<a;n++)(t=o[n]).isLastRootNode=!1;for(e.children[e.children.length-1].isLastRootNode=!0,u=[],r=0,s=(h=e.children).length;r<s;r++)switch(t=h[r],!1){case!(t instanceof c):u.push(this.declaration(t));break;case!(t instanceof l):u.push(this.docType(t));break;case!(t instanceof i):u.push(this.comment(t));break;case!(t instanceof d):u.push(this.processingInstruction(t));break;default:u.push(this.element(t))}return u},t.prototype.attribute=function(e){return this.stream.write(" "+e.name+'="'+e.value+'"')},t.prototype.cdata=function(e,t){return this.stream.write(this.space(t)+"<![CDATA["+e.text+"]]>"+this.endline(e))},t.prototype.comment=function(e,t){return this.stream.write(this.space(t)+"\x3c!-- "+e.text+" --\x3e"+this.endline(e))},t.prototype.declaration=function(e,t){return this.stream.write(this.space(t)),this.stream.write('<?xml version="'+e.version+'"'),null!=e.encoding&&this.stream.write(' encoding="'+e.encoding+'"'),null!=e.standalone&&this.stream.write(' standalone="'+e.standalone+'"'),this.stream.write(this.spacebeforeslash+"?>"),this.stream.write(this.endline(e))},t.prototype.docType=function(e,t){var c,l,h,u;if(t||(t=0),this.stream.write(this.space(t)),this.stream.write("<!DOCTYPE "+e.root().name),e.pubID&&e.sysID?this.stream.write(' PUBLIC "'+e.pubID+'" "'+e.sysID+'"'):e.sysID&&this.stream.write(' SYSTEM "'+e.sysID+'"'),e.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(e)),l=0,h=(u=e.children).length;l<h;l++)switch(c=u[l],!1){case!(c instanceof r):this.dtdAttList(c,t+1);break;case!(c instanceof a):this.dtdElement(c,t+1);break;case!(c instanceof s):this.dtdEntity(c,t+1);break;case!(c instanceof o):this.dtdNotation(c,t+1);break;case!(c instanceof n):this.cdata(c,t+1);break;case!(c instanceof i):this.comment(c,t+1);break;case!(c instanceof d):this.processingInstruction(c,t+1);break;default:throw new Error("Unknown DTD node type: "+c.constructor.name)}this.stream.write("]")}return this.stream.write(this.spacebeforeslash+">"),this.stream.write(this.endline(e))},t.prototype.element=function(e,t){var r,a,s,o,c,l,p,g;for(c in t||(t=0),g=this.space(t),this.stream.write(g+"<"+e.name),l=e.attributes)m.call(l,c)&&(r=l[c],this.attribute(r));if(0===e.children.length||e.children.every((function(e){return""===e.value})))this.allowEmpty?this.stream.write("></"+e.name+">"):this.stream.write(this.spacebeforeslash+"/>");else if(this.pretty&&1===e.children.length&&null!=e.children[0].value)this.stream.write(">"),this.stream.write(e.children[0].value),this.stream.write("</"+e.name+">");else{for(this.stream.write(">"+this.newline),s=0,o=(p=e.children).length;s<o;s++)switch(a=p[s],!1){case!(a instanceof n):this.cdata(a,t+1);break;case!(a instanceof i):this.comment(a,t+1);break;case!(a instanceof h):this.element(a,t+1);break;case!(a instanceof u):this.raw(a,t+1);break;case!(a instanceof f):this.text(a,t+1);break;case!(a instanceof d):this.processingInstruction(a,t+1);break;default:throw new Error("Unknown XML node type: "+a.constructor.name)}this.stream.write(g+"</"+e.name+">")}return this.stream.write(this.endline(e))},t.prototype.processingInstruction=function(e,t){return this.stream.write(this.space(t)+"<?"+e.target),e.value&&this.stream.write(" "+e.value),this.stream.write(this.spacebeforeslash+"?>"+this.endline(e))},t.prototype.raw=function(e,t){return this.stream.write(this.space(t)+e.value+this.endline(e))},t.prototype.text=function(e,t){return this.stream.write(this.space(t)+e.value+this.endline(e))},t.prototype.dtdAttList=function(e,t){return this.stream.write(this.space(t)+"<!ATTLIST "+e.elementName+" "+e.attributeName+" "+e.attributeType),"#DEFAULT"!==e.defaultValueType&&this.stream.write(" "+e.defaultValueType),e.defaultValue&&this.stream.write(' "'+e.defaultValue+'"'),this.stream.write(this.spacebeforeslash+">"+this.endline(e))},t.prototype.dtdElement=function(e,t){return this.stream.write(this.space(t)+"<!ELEMENT "+e.name+" "+e.value),this.stream.write(this.spacebeforeslash+">"+this.endline(e))},t.prototype.dtdEntity=function(e,t){return this.stream.write(this.space(t)+"<!ENTITY"),e.pe&&this.stream.write(" %"),this.stream.write(" "+e.name),e.value?this.stream.write(' "'+e.value+'"'):(e.pubID&&e.sysID?this.stream.write(' PUBLIC "'+e.pubID+'" "'+e.sysID+'"'):e.sysID&&this.stream.write(' SYSTEM "'+e.sysID+'"'),e.nData&&this.stream.write(" NDATA "+e.nData)),this.stream.write(this.spacebeforeslash+">"+this.endline(e))},t.prototype.dtdNotation=function(e,t){return this.stream.write(this.space(t)+"<!NOTATION "+e.name),e.pubID&&e.sysID?this.stream.write(' PUBLIC "'+e.pubID+'" "'+e.sysID+'"'):e.pubID?this.stream.write(' PUBLIC "'+e.pubID+'"'):e.sysID&&this.stream.write(' SYSTEM "'+e.sysID+'"'),this.stream.write(this.spacebeforeslash+">"+this.endline(e))},t.prototype.endline=function(e){return e.isLastRootNode?"":this.newline},t}(p)}).call(this)},{"./XMLCData":105,"./XMLComment":106,"./XMLDTDAttList":107,"./XMLDTDElement":108,"./XMLDTDEntity":109,"./XMLDTDNotation":110,"./XMLDeclaration":111,"./XMLDocType":112,"./XMLElement":115,"./XMLProcessingInstruction":117,"./XMLRaw":118,"./XMLText":122,"./XMLWriterBase":123}],120:[function(e,t,n){(function(){var n,i,r,a,s,o,c,l,h,d,u,f,p,g=function(e,t){for(var n in t)m.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},m={}.hasOwnProperty;c=e("./XMLDeclaration"),l=e("./XMLDocType"),n=e("./XMLCData"),i=e("./XMLComment"),h=e("./XMLElement"),u=e("./XMLRaw"),f=e("./XMLText"),d=e("./XMLProcessingInstruction"),r=e("./XMLDTDAttList"),a=e("./XMLDTDElement"),s=e("./XMLDTDEntity"),o=e("./XMLDTDNotation"),p=e("./XMLWriterBase"),t.exports=function(e){function t(e){t.__super__.constructor.call(this,e)}return g(t,e),t.prototype.document=function(e){var t,n,r,a,s;for(this.textispresent=!1,a="",n=0,r=(s=e.children).length;n<r;n++)t=s[n],a+=function(){switch(!1){case!(t instanceof c):return this.declaration(t);case!(t instanceof l):return this.docType(t);case!(t instanceof i):return this.comment(t);case!(t instanceof d):return this.processingInstruction(t);default:return this.element(t,0)}}.call(this);return this.pretty&&a.slice(-this.newline.length)===this.newline&&(a=a.slice(0,-this.newline.length)),a},t.prototype.attribute=function(e){return" "+e.name+'="'+e.value+'"'},t.prototype.cdata=function(e,t){return this.space(t)+"<![CDATA["+e.text+"]]>"+this.newline},t.prototype.comment=function(e,t){return this.space(t)+"\x3c!-- "+e.text+" --\x3e"+this.newline},t.prototype.declaration=function(e,t){var n;return n=this.space(t),n+='<?xml version="'+e.version+'"',null!=e.encoding&&(n+=' encoding="'+e.encoding+'"'),null!=e.standalone&&(n+=' standalone="'+e.standalone+'"'),n+=this.spacebeforeslash+"?>",n+=this.newline},t.prototype.docType=function(e,t){var c,l,h,u,f;if(t||(t=0),u=this.space(t),u+="<!DOCTYPE "+e.root().name,e.pubID&&e.sysID?u+=' PUBLIC "'+e.pubID+'" "'+e.sysID+'"':e.sysID&&(u+=' SYSTEM "'+e.sysID+'"'),e.children.length>0){for(u+=" [",u+=this.newline,l=0,h=(f=e.children).length;l<h;l++)c=f[l],u+=function(){switch(!1){case!(c instanceof r):return this.dtdAttList(c,t+1);case!(c instanceof a):return this.dtdElement(c,t+1);case!(c instanceof s):return this.dtdEntity(c,t+1);case!(c instanceof o):return this.dtdNotation(c,t+1);case!(c instanceof n):return this.cdata(c,t+1);case!(c instanceof i):return this.comment(c,t+1);case!(c instanceof d):return this.processingInstruction(c,t+1);default:throw new Error("Unknown DTD node type: "+c.constructor.name)}}.call(this);u+="]"}return u+=this.spacebeforeslash+">",u+=this.newline},t.prototype.element=function(e,t){var r,a,s,o,c,l,p,g,b,v,y,w,x;for(p in t||(t=0),x=!1,this.textispresent?(this.newline="",this.pretty=!1):(this.newline=this.newlinedefault,this.pretty=this.prettydefault),g="",g+=(w=this.space(t))+"<"+e.name,b=e.attributes)m.call(b,p)&&(r=b[p],g+=this.attribute(r));if(0===e.children.length||e.children.every((function(e){return""===e.value})))this.allowEmpty?g+="></"+e.name+">"+this.newline:g+=this.spacebeforeslash+"/>"+this.newline;else if(this.pretty&&1===e.children.length&&null!=e.children[0].value)g+=">",g+=e.children[0].value,g+="</"+e.name+">"+this.newline;else{if(this.dontprettytextnodes)for(s=0,c=(v=e.children).length;s<c;s++)if(null!=(a=v[s]).value){this.textispresent++,x=!0;break}for(this.textispresent&&(this.newline="",this.pretty=!1,w=this.space(t)),g+=">"+this.newline,o=0,l=(y=e.children).length;o<l;o++)a=y[o],g+=function(){switch(!1){case!(a instanceof n):return this.cdata(a,t+1);case!(a instanceof i):return this.comment(a,t+1);case!(a instanceof h):return this.element(a,t+1);case!(a instanceof u):return this.raw(a,t+1);case!(a instanceof f):return this.text(a,t+1);case!(a instanceof d):return this.processingInstruction(a,t+1);default:throw new Error("Unknown XML node type: "+a.constructor.name)}}.call(this);x&&this.textispresent--,this.textispresent||(this.newline=this.newlinedefault,this.pretty=this.prettydefault),g+=w+"</"+e.name+">"+this.newline}return g},t.prototype.processingInstruction=function(e,t){var n;return n=this.space(t)+"<?"+e.target,e.value&&(n+=" "+e.value),n+=this.spacebeforeslash+"?>"+this.newline},t.prototype.raw=function(e,t){return this.space(t)+e.value+this.newline},t.prototype.text=function(e,t){return this.space(t)+e.value+this.newline},t.prototype.dtdAttList=function(e,t){var n;return n=this.space(t)+"<!ATTLIST "+e.elementName+" "+e.attributeName+" "+e.attributeType,"#DEFAULT"!==e.defaultValueType&&(n+=" "+e.defaultValueType),e.defaultValue&&(n+=' "'+e.defaultValue+'"'),n+=this.spacebeforeslash+">"+this.newline},t.prototype.dtdElement=function(e,t){return this.space(t)+"<!ELEMENT "+e.name+" "+e.value+this.spacebeforeslash+">"+this.newline},t.prototype.dtdEntity=function(e,t){var n;return n=this.space(t)+"<!ENTITY",e.pe&&(n+=" %"),n+=" "+e.name,e.value?n+=' "'+e.value+'"':(e.pubID&&e.sysID?n+=' PUBLIC "'+e.pubID+'" "'+e.sysID+'"':e.sysID&&(n+=' SYSTEM "'+e.sysID+'"'),e.nData&&(n+=" NDATA "+e.nData)),n+=this.spacebeforeslash+">"+this.newline},t.prototype.dtdNotation=function(e,t){var n;return n=this.space(t)+"<!NOTATION "+e.name,e.pubID&&e.sysID?n+=' PUBLIC "'+e.pubID+'" "'+e.sysID+'"':e.pubID?n+=' PUBLIC "'+e.pubID+'"':e.sysID&&(n+=' SYSTEM "'+e.sysID+'"'),n+=this.spacebeforeslash+">"+this.newline},t.prototype.openNode=function(e,t){var n,i,r,a;if(t||(t=0),e instanceof h){for(i in r=this.space(t)+"<"+e.name,a=e.attributes)m.call(a,i)&&(n=a[i],r+=this.attribute(n));return r+=(e.children?">":"/>")+this.newline}return r=this.space(t)+"<!DOCTYPE "+e.rootNodeName,e.pubID&&e.sysID?r+=' PUBLIC "'+e.pubID+'" "'+e.sysID+'"':e.sysID&&(r+=' SYSTEM "'+e.sysID+'"'),r+=(e.children?" [":">")+this.newline},t.prototype.closeNode=function(e,t){switch(t||(t=0),!1){case!(e instanceof h):return this.space(t)+"</"+e.name+">"+this.newline;case!(e instanceof l):return this.space(t)+"]>"+this.newline}},t}(p)}).call(this)},{"./XMLCData":105,"./XMLComment":106,"./XMLDTDAttList":107,"./XMLDTDElement":108,"./XMLDTDEntity":109,"./XMLDTDNotation":110,"./XMLDeclaration":111,"./XMLDocType":112,"./XMLElement":115,"./XMLProcessingInstruction":117,"./XMLRaw":118,"./XMLText":122,"./XMLWriterBase":123}],121:[function(e,t,n){(function(){var e=function(e,t){return function(){return e.apply(t,arguments)}},n={}.hasOwnProperty;t.exports=function(){function t(t){var i,r,a;for(i in this.assertLegalChar=e(this.assertLegalChar,this),t||(t={}),this.noDoubleEncoding=t.noDoubleEncoding,r=t.stringify||{})n.call(r,i)&&(a=r[i],this[i]=a)}return t.prototype.eleName=function(e){return e=""+e||"",this.assertLegalChar(e)},t.prototype.eleText=function(e){return e=""+e||"",this.assertLegalChar(this.elEscape(e))},t.prototype.cdata=function(e){return e=(e=""+e||"").replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(e)},t.prototype.comment=function(e){if((e=""+e||"").match(/--/))throw new Error("Comment text cannot contain double-hypen: "+e);return this.assertLegalChar(e)},t.prototype.raw=function(e){return""+e||""},t.prototype.attName=function(e){return""+e||""},t.prototype.attValue=function(e){return e=""+e||"",this.attEscape(e)},t.prototype.insTarget=function(e){return""+e||""},t.prototype.insValue=function(e){if((e=""+e||"").match(/\?>/))throw new Error("Invalid processing instruction value: "+e);return e},t.prototype.xmlVersion=function(e){if(!(e=""+e||"").match(/1\.[0-9]+/))throw new Error("Invalid version number: "+e);return e},t.prototype.xmlEncoding=function(e){if(!(e=""+e||"").match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+e);return e},t.prototype.xmlStandalone=function(e){return e?"yes":"no"},t.prototype.dtdPubID=function(e){return""+e||""},t.prototype.dtdSysID=function(e){return""+e||""},t.prototype.dtdElementValue=function(e){return""+e||""},t.prototype.dtdAttType=function(e){return""+e||""},t.prototype.dtdAttDefault=function(e){return null!=e?""+e||"":e},t.prototype.dtdEntityValue=function(e){return""+e||""},t.prototype.dtdNData=function(e){return""+e||""},t.prototype.convertAttKey="@",t.prototype.convertPIKey="?",t.prototype.convertTextKey="#text",t.prototype.convertCDataKey="#cdata",t.prototype.convertCommentKey="#comment",t.prototype.convertRawKey="#raw",t.prototype.assertLegalChar=function(e){var t;if(t=e.match(/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/))throw new Error("Invalid character in string: "+e+" at index "+t.index);return e},t.prototype.elEscape=function(e){var t;return t=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,e.replace(t,"&").replace(/</g,"<").replace(/>/g,">").replace(/\r/g,"
")},t.prototype.attEscape=function(e){var t;return t=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,e.replace(t,"&").replace(/</g,"<").replace(/"/g,""").replace(/\t/g,"	").replace(/\n/g,"
").replace(/\r/g,"
")},t}()}).call(this)},{}],122:[function(e,t,n){(function(){var n,i=function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},r={}.hasOwnProperty;n=e("./XMLNode"),t.exports=function(e){function t(e,n){if(t.__super__.constructor.call(this,e),null==n)throw new Error("Missing element text. "+this.debugInfo());this.value=this.stringify.eleText(n)}return i(t,e),t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(e){return this.options.writer.set(e).text(this)},t}(n)}).call(this)},{"./XMLNode":116}],123:[function(e,t,n){(function(){var e={}.hasOwnProperty;t.exports=function(){function t(t){var n,i,r,a,s,o,c,l,h;for(n in t||(t={}),this.pretty=t.pretty||!1,this.allowEmpty=null!=(i=t.allowEmpty)&&i,this.pretty?(this.indent=null!=(r=t.indent)?r:" ",this.newline=null!=(a=t.newline)?a:"\n",this.offset=null!=(s=t.offset)?s:0,this.dontprettytextnodes=null!=(o=t.dontprettytextnodes)?o:0):(this.indent="",this.newline="",this.offset=0,this.dontprettytextnodes=0),this.spacebeforeslash=null!=(c=t.spacebeforeslash)?c:"",!0===this.spacebeforeslash&&(this.spacebeforeslash=" "),this.newlinedefault=this.newline,this.prettydefault=this.pretty,l=t.writer||{})e.call(l,n)&&(h=l[n],this[n]=h)}return t.prototype.set=function(t){var n,i,r;for(n in t||(t={}),"pretty"in t&&(this.pretty=t.pretty),"allowEmpty"in t&&(this.allowEmpty=t.allowEmpty),this.pretty?(this.indent="indent"in t?t.indent:" ",this.newline="newline"in t?t.newline:"\n",this.offset="offset"in t?t.offset:0,this.dontprettytextnodes="dontprettytextnodes"in t?t.dontprettytextnodes:0):(this.indent="",this.newline="",this.offset=0,this.dontprettytextnodes=0),this.spacebeforeslash="spacebeforeslash"in t?t.spacebeforeslash:"",!0===this.spacebeforeslash&&(this.spacebeforeslash=" "),this.newlinedefault=this.newline,this.prettydefault=this.pretty,i=t.writer||{})e.call(i,n)&&(r=i[n],this[n]=r);return this},t.prototype.space=function(e){var t;return this.pretty&&(t=(e||0)+this.offset+1)>0?new Array(t).join(this.indent):""},t}()}).call(this)},{}],124:[function(e,t,n){(function(){var n,i,r,a,s,o,c;c=e("./Utility"),s=c.assign,o=c.isFunction,n=e("./XMLDocument"),i=e("./XMLDocumentCB"),a=e("./XMLStringWriter"),r=e("./XMLStreamWriter"),t.exports.create=function(e,t,i,r){var a,o;if(null==e)throw new Error("Root element needs a name.");return r=s({},t,i,r),o=(a=new n(r)).element(e),r.headless||(a.declaration(r),null==r.pubID&&null==r.sysID||a.doctype(r)),o},t.exports.begin=function(e,t,r){var a;return o(e)&&(t=(a=[e,t])[0],r=a[1],e={}),t?new i(e,t,r):new n(e)},t.exports.stringWriter=function(e){return new a(e)},t.exports.streamWriter=function(e,t){return new r(e,t)}}).call(this)},{"./Utility":103,"./XMLDocument":113,"./XMLDocumentCB":114,"./XMLStreamWriter":119,"./XMLStringWriter":120}]},{},[21])(21)),Oh.exports)); +/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */var Ph=1252,Lh=[874,932,936,949,950,1250,1251,1252,1253,1254,1255,1256,1257,1258,1e4],Wh={ +/*::[*/ +0:1252, +/* ANSI */ +/*::[*/ +1:65001, +/* DEFAULT */ +/*::[*/ +2:65001, +/* SYMBOL */ +/*::[*/ +77:1e4, +/* MAC */ +/*::[*/ +128:932, +/* SHIFTJIS */ +/*::[*/ +129:949, +/* HANGUL */ +/*::[*/ +130:1361, +/* JOHAB */ +/*::[*/ +134:936, +/* GB2312 */ +/*::[*/ +136:950, +/* CHINESEBIG5 */ +/*::[*/ +161:1253, +/* GREEK */ +/*::[*/ +162:1254, +/* TURKISH */ +/*::[*/ +163:1258, +/* VIETNAMESE */ +/*::[*/ +177:1255, +/* HEBREW */ +/*::[*/ +178:1256, +/* ARABIC */ +/*::[*/ +186:1257, +/* BALTIC */ +/*::[*/ +204:1251, +/* RUSSIAN */ +/*::[*/ +222:874, +/* THAI */ +/*::[*/ +238:1250, +/* EASTEUROPE */ +/*::[*/ +255:1252, +/* OEM */ +/*::[*/ +69:6969 +/* MISC */},Bh=function(e){-1!=Lh.indexOf(e)&&(Ph=Wh[0]=e)};var jh=function(e){Bh(e)};function zh(){jh(1200),Bh(1252)}function Hh(e){for(var t=[],n=0,i=e.length;n<i;++n)t[n]=e.charCodeAt(n);return t}function Vh(e){for(var t=[],n=0;n<e.length>>1;++n)t[n]=String.fromCharCode(e.charCodeAt(2*n+1)+(e.charCodeAt(2*n)<<8));return t.join("")}var Gh,Xh=function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1);return 255==t&&254==n?function(e){for(var t=[],n=0;n<e.length>>1;++n)t[n]=String.fromCharCode(e.charCodeAt(2*n)+(e.charCodeAt(2*n+1)<<8));return t.join("")}(e.slice(2)):254==t&&255==n?Vh(e.slice(2)):65279==t?e.slice(1):e},$h=function(e){return String.fromCharCode(e)},qh=function(e){return String.fromCharCode(e)},Yh="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function Kh(e){for(var t="",n=0,i=0,r=0,a=0,s=0,o=0,c=0,l=0;l<e.length;)a=(n=e.charCodeAt(l++))>>2,s=(3&n)<<4|(i=e.charCodeAt(l++))>>4,o=(15&i)<<2|(r=e.charCodeAt(l++))>>6,c=63&r,isNaN(i)?o=c=64:isNaN(r)&&(c=64),t+=Yh.charAt(a)+Yh.charAt(s)+Yh.charAt(o)+Yh.charAt(c);return t}function Zh(e){var t="",n=0,i=0,r=0,a=0,s=0,o=0;e=e.replace(/[^\w\+\/\=]/g,"");for(var c=0;c<e.length;)n=Yh.indexOf(e.charAt(c++))<<2|(a=Yh.indexOf(e.charAt(c++)))>>4,t+=String.fromCharCode(n),i=(15&a)<<4|(s=Yh.indexOf(e.charAt(c++)))>>2,64!==s&&(t+=String.fromCharCode(i)),r=(3&s)<<6|(o=Yh.indexOf(e.charAt(c++))),64!==o&&(t+=String.fromCharCode(r));return t}var Jh=function(){return"undefined"!=typeof Buffer&&"undefined"!=typeof process&&void 0!==process.versions&&!!process.versions.node}(),Qh=function(){if("undefined"!=typeof Buffer){var e=!Buffer.from;if(!e)try{Buffer.from("foo","utf8")}catch(t){e=!0}return e?function(e,t){return t?new Buffer(e,t):new Buffer(e)}:Buffer.from.bind(Buffer)}return function(){}}();function ed(e){return Jh?Buffer.alloc?Buffer.alloc(e):new Buffer(e):"undefined"!=typeof Uint8Array?new Uint8Array(e):new Array(e)}function td(e){return Jh?Buffer.allocUnsafe?Buffer.allocUnsafe(e):new Buffer(e):"undefined"!=typeof Uint8Array?new Uint8Array(e):new Array(e)}var nd=function(e){return Jh?Qh(e,"binary"):e.split("").map((function(e){return 255&e.charCodeAt(0)}))};function id(e){if(Array.isArray(e))return e.map((function(e){return String.fromCharCode(e)})).join("");for(var t=[],n=0;n<e.length;++n)t[n]=String.fromCharCode(e[n]);return t.join("")}function rd(e){if("undefined"==typeof ArrayBuffer)throw new Error("Unsupported");if(e instanceof ArrayBuffer)return rd(new Uint8Array(e));for(var t=new Array(e.length),n=0;n<e.length;++n)t[n]=e[n];return t}var ad=Jh?function(e){return Buffer.concat(e.map((function(e){return Buffer.isBuffer(e)?e:Qh(e)})))}:function(e){if("undefined"!=typeof Uint8Array){var t=0,n=0;for(t=0;t<e.length;++t)n+=e[t].length;var i=new Uint8Array(n),r=0;for(t=0,n=0;t<e.length;n+=r,++t)if(r=e[t].length,e[t]instanceof Uint8Array)i.set(e[t],n);else{if("string"==typeof e[t])throw"wtf";i.set(new Uint8Array(e[t]),n)}return i}return[].concat.apply([],e.map((function(e){return Array.isArray(e)?e:[].slice.call(e)})))};var sd=/\u0000/g,od=/[\u0001-\u0006]/g;function cd(e){for(var t="",n=e.length-1;n>=0;)t+=e.charAt(n--);return t}function ld(e,t){var n=""+e;return n.length>=t?n:bu("0",t-n.length)+n}function hd(e,t){var n=""+e;return n.length>=t?n:bu(" ",t-n.length)+n}function dd(e,t){var n=""+e;return n.length>=t?n:n+bu(" ",t-n.length)}var ud=Math.pow(2,32);function fd(e,t){return e>ud||e<-ud?function(e,t){var n=""+Math.round(e);return n.length>=t?n:bu("0",t-n.length)+n}(e,t):function(e,t){var n=""+e;return n.length>=t?n:bu("0",t-n.length)+n}(Math.round(e),t)}function pd(e,t){return t=t||0,e.length>=7+t&&103==(32|e.charCodeAt(t))&&101==(32|e.charCodeAt(t+1))&&110==(32|e.charCodeAt(t+2))&&101==(32|e.charCodeAt(t+3))&&114==(32|e.charCodeAt(t+4))&&97==(32|e.charCodeAt(t+5))&&108==(32|e.charCodeAt(t+6))}var gd=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],md=[["J","Jan","January"],["F","Feb","February"],["M","Mar","March"],["A","Apr","April"],["M","May","May"],["J","Jun","June"],["J","Jul","July"],["A","Aug","August"],["S","Sep","September"],["O","Oct","October"],["N","Nov","November"],["D","Dec","December"]];var bd={0:"General",1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",14:"m/d/yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",37:"#,##0 ;(#,##0)",38:"#,##0 ;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0",48:"##0.0E+0",49:"@",56:'"上午/下午 "hh"時"mm"分"ss"秒 "'},vd={5:37,6:38,7:39,8:40, +// 5 -> 37 ... 8 -> 40 +23:0,24:0,25:0,26:0, +// 23 -> 0 ... 26 -> 0 +27:14,28:14,29:14,30:14,31:14, +// 27 -> 14 ... 31 -> 14 +50:14,51:14,52:14,53:14,54:14, +// 50 -> 14 ... 58 -> 14 +55:14,56:14,57:14,58:14,59:1,60:2,61:3,62:4, +// 59 -> 1 ... 62 -> 4 +67:9,68:10, +// 67 -> 9 ... 68 -> 10 +69:12,70:13,71:14, +// 69 -> 12 ... 71 -> 14 +72:14,73:15,74:16,75:17, +// 72 -> 14 ... 75 -> 17 +76:20,77:21,78:22, +// 76 -> 20 ... 78 -> 22 +79:45,80:46,81:47, +// 79 -> 45 ... 81 -> 47 +82:0},yd={ +// 5 -- Currency, 0 decimal, black negative +5:'"$"#,##0_);\\("$"#,##0\\)',63:'"$"#,##0_);\\("$"#,##0\\)', +// 6 -- Currency, 0 decimal, red negative +6:'"$"#,##0_);[Red]\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)', +// 7 -- Currency, 2 decimal, black negative +7:'"$"#,##0.00_);\\("$"#,##0.00\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)', +// 8 -- Currency, 2 decimal, red negative +8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)', +// 41 -- Accounting, 0 decimal, No Symbol +41:'_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)', +// 42 -- Accounting, 0 decimal, $ Symbol +42:'_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)', +// 43 -- Accounting, 2 decimal, No Symbol +43:'_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)', +// 44 -- Accounting, 2 decimal, $ Symbol +44:'_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)'};function wd(e,t,n){for(var i=e<0?-1:1,r=e*i,a=0,s=1,o=0,c=1,l=0,h=0,d=Math.floor(r);l<t&&(o=(d=Math.floor(r))*s+a,h=d*l+c,!(r-d<5e-8));)r=1/(r-d),a=s,s=o,c=l,l=h;if(h>t&&(l>t?(h=c,o=a):(h=l,o=s)),!n)return[0,i*o,h];var u=Math.floor(i*o/h);return[u,i*o-u*h,h]}function xd(e,t,n){if(e>2958465||e<0)return null;var i=0|e,r=Math.floor(86400*(e-i)),a=0,s=[],o={D:i,T:r,u:86400*(e-i)-r,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(o.u)<1e-6&&(o.u=0),t&&t.date1904&&(i+=1462),o.u>.9999&&(o.u=0,86400==++r&&(o.T=r=0,++i,++o.D)),60===i)s=n?[1317,10,29]:[1900,2,29],a=3;else if(0===i)s=n?[1317,8,29]:[1900,1,0],a=6;else{i>60&&--i;var c=new Date(1900,0,1);c.setDate(c.getDate()+i-1),s=[c.getFullYear(),c.getMonth()+1,c.getDate()],a=c.getDay(),i<60&&(a=(a+6)%7),n&&(a=function(e,t){t[0]-=581;var n=e.getDay();e<60&&(n=(n+6)%7);return n}(c,s))}return o.y=s[0],o.m=s[1],o.d=s[2],o.S=r%60,r=Math.floor(r/60),o.M=r%60,r=Math.floor(r/60),o.H=r,o.q=a,o}var _d=new Date(1899,11,31,0,0,0),Td=_d.getTime(),Dd=new Date(1900,2,1,0,0,0);function Ad(e,t){var n=e.getTime();return t?n-=1262304e5:e>=Dd&&(n+=864e5),(n-(Td+6e4*(e.getTimezoneOffset()-_d.getTimezoneOffset())))/864e5}function Ed(e){return-1==e.indexOf(".")?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,"$1")}function kd(e){var t,n=Math.floor(Math.log(Math.abs(e))*Math.LOG10E);return t=n>=-4&&n<=-1?e.toPrecision(10+n):Math.abs(n)<=9?function(e){var t=e<0?12:11,n=Ed(e.toFixed(12));return n.length<=t||(n=e.toPrecision(10)).length<=t?n:e.toExponential(5)}(e):10===n?e.toFixed(10).substr(0,12):function(e){var t=Ed(e.toFixed(11));return t.length>(e<0?12:11)||"0"===t||"-0"===t?e.toPrecision(6):t}(e),Ed(function(e){return-1==e.indexOf("E")?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2")}(t.toUpperCase()))}function Sd(e,t){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(0|e)===e?e.toString(10):kd(e);case"undefined":return"";case"object":if(null==e)return"";if(e instanceof Date)return Yd(14,Ad(e,t&&t.date1904),t)}throw new Error("unsupported value in General format: "+e)}function Cd(e,t,n,i){var r,a="",s=0,o=0,c=n.y,l=0;switch(e){case 98:c=n.y+543; +/* falls through */case 121:switch(t.length){case 1:case 2:r=c%100,l=2;break;default:r=c%1e4,l=4}break;case 109:switch(t.length){case 1:case 2:r=n.m,l=t.length;break;case 3:return md[n.m-1][1];case 5:return md[n.m-1][0];default:return md[n.m-1][2]}break;case 100:switch(t.length){case 1:case 2:r=n.d,l=t.length;break;case 3:return gd[n.q][0];default:return gd[n.q][1]}break;case 104:switch(t.length){case 1:case 2:r=1+(n.H+11)%12,l=t.length;break;default:throw"bad hour format: "+t}break;case 72:switch(t.length){case 1:case 2:r=n.H,l=t.length;break;default:throw"bad hour format: "+t}break;case 77:switch(t.length){case 1:case 2:r=n.M,l=t.length;break;default:throw"bad minute format: "+t}break;case 115:if("s"!=t&&"ss"!=t&&".0"!=t&&".00"!=t&&".000"!=t)throw"bad second format: "+t;return 0!==n.u||"s"!=t&&"ss"!=t?(o=i>=2?3===i?1e3:100:1===i?10:1,(s=Math.round(o*(n.S+n.u)))>=60*o&&(s=0),"s"===t?0===s?"0":""+s/o:(a=ld(s,2+i),"ss"===t?a.substr(0,2):"."+a.substr(2,t.length-1))):ld(n.S,t.length);case 90:switch(t){case"[h]":case"[hh]":r=24*n.D+n.H;break;case"[m]":case"[mm]":r=60*(24*n.D+n.H)+n.M;break;case"[s]":case"[ss]":r=60*(60*(24*n.D+n.H)+n.M)+Math.round(n.S+n.u);break;default:throw"bad abstime format: "+t}l=3===t.length?1:2;break;case 101:r=c,l=1}return l>0?ld(r,l):""}function Ud(e){if(e.length<=3)return e;for(var t=e.length%3,n=e.substr(0,t);t!=e.length;t+=3)n+=(n.length>0?",":"")+e.substr(t,3);return n}var Fd=/%/g;function Md(e,t){var n,i=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(0==t)return"0.0E+0";if(t<0)return"-"+Md(e,-t);var r=e.indexOf(".");-1===r&&(r=e.indexOf("E"));var a=Math.floor(Math.log(t)*Math.LOG10E)%r;if(a<0&&(a+=r),-1===(n=(t/Math.pow(10,a)).toPrecision(i+1+(r+a)%r)).indexOf("e")){var s=Math.floor(Math.log(t)*Math.LOG10E);for(-1===n.indexOf(".")?n=n.charAt(0)+"."+n.substr(1)+"E+"+(s-n.length+a):n+="E+"+(s-a);"0."===n.substr(0,2);)n=(n=n.charAt(0)+n.substr(2,r)+"."+n.substr(2+r)).replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");n=n.replace(/\+-/,"-")}n=n.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,(function(e,t,n,i){return t+n+i.substr(0,(r+a)%r)+"."+i.substr(a)+"E"}))}else n=t.toExponential(i);return e.match(/E\+00$/)&&n.match(/e[+-]\d$/)&&(n=n.substr(0,n.length-1)+"0"+n.charAt(n.length-1)),e.match(/E\-/)&&n.match(/e\+/)&&(n=n.replace(/e\+/,"e")),n.replace("e","E")}var Rd=/# (\?+)( ?)\/( ?)(\d+)/;var Id=/^#*0*\.([0#]+)/,Od=/\).*[0#]/,Nd=/\(###\) ###\\?-####/;function Pd(e){for(var t,n="",i=0;i!=e.length;++i)switch(t=e.charCodeAt(i)){case 35:break;case 63:n+=" ";break;case 48:n+="0";break;default:n+=String.fromCharCode(t)}return n}function Ld(e,t){var n=Math.pow(10,t);return""+Math.round(e*n)/n}function Wd(e,t){var n=e-Math.floor(e),i=Math.pow(10,t);return t<(""+Math.round(n*i)).length?0:Math.round(n*i)}function Bd(e,t,n){if(40===e.charCodeAt(0)&&!t.match(Od)){var i=t.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return n>=0?Bd("n",i,n):"("+Bd("n",i,-n)+")"}if(44===t.charCodeAt(t.length-1))return function(e,t,n){for(var i=t.length-1;44===t.charCodeAt(i-1);)--i;return Hd(e,t.substr(0,i),n/Math.pow(10,3*(t.length-i)))}(e,t,n);if(-1!==t.indexOf("%"))return function(e,t,n){var i=t.replace(Fd,""),r=t.length-i.length;return Hd(e,i,n*Math.pow(10,2*r))+bu("%",r)}(e,t,n);if(-1!==t.indexOf("E"))return Md(t,n);if(36===t.charCodeAt(0))return"$"+Bd(e,t.substr(" "==t.charAt(1)?2:1),n);var r,a,s,o,c=Math.abs(n),l=n<0?"-":"";if(t.match(/^00+$/))return l+fd(c,t.length);if(t.match(/^[#?]+$/))return"0"===(r=fd(n,0))&&(r=""),r.length>t.length?r:Pd(t.substr(0,t.length-r.length))+r;if(a=t.match(Rd))return function(e,t,n){var i=parseInt(e[4],10),r=Math.round(t*i),a=Math.floor(r/i),s=r-a*i,o=i;return n+(0===a?"":""+a)+" "+(0===s?bu(" ",e[1].length+1+e[4].length):hd(s,e[1].length)+e[2]+"/"+e[3]+ld(o,e[4].length))}(a,c,l);if(t.match(/^#+0+$/))return l+fd(c,t.length-t.indexOf("0"));if(a=t.match(Id))return r=Ld(n,a[1].length).replace(/^([^\.]+)$/,"$1."+Pd(a[1])).replace(/\.$/,"."+Pd(a[1])).replace(/\.(\d*)$/,(function(e,t){return"."+t+bu("0",Pd( +/*::(*/ +a[1]).length-t.length)})),-1!==t.indexOf("0.")?r:r.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),a=t.match(/^(0*)\.(#*)$/))return l+Ld(c,a[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,a[1].length?"0.":".");if(a=t.match(/^#{1,3},##0(\.?)$/))return l+Ud(fd(c,0));if(a=t.match(/^#,##0\.([#0]*0)$/))return n<0?"-"+Bd(e,t,-n):Ud(""+(Math.floor(n)+function(e,t){return t<(""+Math.round((e-Math.floor(e))*Math.pow(10,t))).length?1:0}(n,a[1].length)))+"."+ld(Wd(n,a[1].length),a[1].length);if(a=t.match(/^#,#*,#0/))return Bd(e,t.replace(/^#,#*,/,""),n);if(a=t.match(/^([0#]+)(\\?-([0#]+))+$/))return r=cd(Bd(e,t.replace(/[\\-]/g,""),n)),s=0,cd(cd(t.replace(/\\/g,"")).replace(/[0#]/g,(function(e){return s<r.length?r.charAt(s++):"0"===e?"0":""})));if(t.match(Nd))return"("+(r=Bd(e,"##########",n)).substr(0,3)+") "+r.substr(3,3)+"-"+r.substr(6);var h="";if(a=t.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return s=Math.min( +/*::String(*/ +a[4].length,7),o=wd(c,Math.pow(10,s)-1,!1),r=""+l," "==(h=Hd("n", +/*::String(*/ +a[1],o[1])).charAt(h.length-1)&&(h=h.substr(0,h.length-1)+"0"),r+=h+/*::String(*/ +a[2]+"/"+/*::String(*/ +a[3],(h=dd(o[2],s)).length<a[4].length&&(h=Pd(a[4].substr(a[4].length-h.length))+h),r+=h;if(a=t.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return s=Math.min(Math.max(a[1].length,a[4].length),7),l+((o=wd(c,Math.pow(10,s)-1,!0))[0]||(o[1]?"":"0"))+" "+(o[1]?hd(o[1],s)+a[2]+"/"+a[3]+dd(o[2],s):bu(" ",2*s+1+a[2].length+a[3].length));if(a=t.match(/^[#0?]+$/))return r=fd(n,0),t.length<=r.length?r:Pd(t.substr(0,t.length-r.length))+r;if(a=t.match(/^([#0?]+)\.([#0]+)$/)){r=""+n.toFixed(Math.min(a[2].length,10)).replace(/([^0])0+$/,"$1"),s=r.indexOf(".");var d=t.indexOf(".")-s,u=t.length-r.length-d;return Pd(t.substr(0,d)+r+t.substr(t.length-u))}if(a=t.match(/^00,000\.([#0]*0)$/))return s=Wd(n,a[1].length),n<0?"-"+Bd(e,t,-n):Ud(function(e){return e<2147483647&&e>-2147483648?""+(e>=0?0|e:e-1|0):""+Math.floor(e)}(n)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,(function(e){return"00,"+(e.length<3?ld(0,3-e.length):"")+e}))+"."+ld(s,a[1].length);switch(t){case"###,##0.00":return Bd(e,"#,##0.00",n);case"###,###":case"##,###":case"#,###":var f=Ud(fd(c,0));return"0"!==f?l+f:"";case"###,###.00":return Bd(e,"###,##0.00",n).replace(/^0\./,".");case"#,###.00":return Bd(e,"#,##0.00",n).replace(/^0\./,".")}throw new Error("unsupported format |"+t+"|")}function jd(e,t){var n,i=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(0==t)return"0.0E+0";if(t<0)return"-"+jd(e,-t);var r=e.indexOf(".");-1===r&&(r=e.indexOf("E"));var a=Math.floor(Math.log(t)*Math.LOG10E)%r;if(a<0&&(a+=r),!(n=(t/Math.pow(10,a)).toPrecision(i+1+(r+a)%r)).match(/[Ee]/)){var s=Math.floor(Math.log(t)*Math.LOG10E);-1===n.indexOf(".")?n=n.charAt(0)+"."+n.substr(1)+"E+"+(s-n.length+a):n+="E+"+(s-a),n=n.replace(/\+-/,"-")}n=n.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,(function(e,t,n,i){return t+n+i.substr(0,(r+a)%r)+"."+i.substr(a)+"E"}))}else n=t.toExponential(i);return e.match(/E\+00$/)&&n.match(/e[+-]\d$/)&&(n=n.substr(0,n.length-1)+"0"+n.charAt(n.length-1)),e.match(/E\-/)&&n.match(/e\+/)&&(n=n.replace(/e\+/,"e")),n.replace("e","E")}function zd(e,t,n){if(40===e.charCodeAt(0)&&!t.match(Od)){var i=t.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return n>=0?zd("n",i,n):"("+zd("n",i,-n)+")"}if(44===t.charCodeAt(t.length-1))return function(e,t,n){for(var i=t.length-1;44===t.charCodeAt(i-1);)--i;return Hd(e,t.substr(0,i),n/Math.pow(10,3*(t.length-i)))}(e,t,n);if(-1!==t.indexOf("%"))return function(e,t,n){var i=t.replace(Fd,""),r=t.length-i.length;return Hd(e,i,n*Math.pow(10,2*r))+bu("%",r)}(e,t,n);if(-1!==t.indexOf("E"))return jd(t,n);if(36===t.charCodeAt(0))return"$"+zd(e,t.substr(" "==t.charAt(1)?2:1),n);var r,a,s,o,c=Math.abs(n),l=n<0?"-":"";if(t.match(/^00+$/))return l+ld(c,t.length);if(t.match(/^[#?]+$/))return r=""+n,0===n&&(r=""),r.length>t.length?r:Pd(t.substr(0,t.length-r.length))+r;if(a=t.match(Rd))return function(e,t,n){return n+(0===t?"":""+t)+bu(" ",e[1].length+2+e[4].length)}(a,c,l);if(t.match(/^#+0+$/))return l+ld(c,t.length-t.indexOf("0"));if(a=t.match(Id))return r=(r=(""+n).replace(/^([^\.]+)$/,"$1."+Pd(a[1])).replace(/\.$/,"."+Pd(a[1]))).replace(/\.(\d*)$/,(function(e,t){return"."+t+bu("0",Pd(a[1]).length-t.length)})),-1!==t.indexOf("0.")?r:r.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),a=t.match(/^(0*)\.(#*)$/))return l+(""+c).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,a[1].length?"0.":".");if(a=t.match(/^#{1,3},##0(\.?)$/))return l+Ud(""+c);if(a=t.match(/^#,##0\.([#0]*0)$/))return n<0?"-"+zd(e,t,-n):Ud(""+n)+"."+bu("0",a[1].length);if(a=t.match(/^#,#*,#0/))return zd(e,t.replace(/^#,#*,/,""),n);if(a=t.match(/^([0#]+)(\\?-([0#]+))+$/))return r=cd(zd(e,t.replace(/[\\-]/g,""),n)),s=0,cd(cd(t.replace(/\\/g,"")).replace(/[0#]/g,(function(e){return s<r.length?r.charAt(s++):"0"===e?"0":""})));if(t.match(Nd))return"("+(r=zd(e,"##########",n)).substr(0,3)+") "+r.substr(3,3)+"-"+r.substr(6);var h="";if(a=t.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return s=Math.min( +/*::String(*/ +a[4].length,7),o=wd(c,Math.pow(10,s)-1,!1),r=""+l," "==(h=Hd("n", +/*::String(*/ +a[1],o[1])).charAt(h.length-1)&&(h=h.substr(0,h.length-1)+"0"),r+=h+/*::String(*/ +a[2]+"/"+/*::String(*/ +a[3],(h=dd(o[2],s)).length<a[4].length&&(h=Pd(a[4].substr(a[4].length-h.length))+h),r+=h;if(a=t.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return s=Math.min(Math.max(a[1].length,a[4].length),7),l+((o=wd(c,Math.pow(10,s)-1,!0))[0]||(o[1]?"":"0"))+" "+(o[1]?hd(o[1],s)+a[2]+"/"+a[3]+dd(o[2],s):bu(" ",2*s+1+a[2].length+a[3].length));if(a=t.match(/^[#0?]+$/))return r=""+n,t.length<=r.length?r:Pd(t.substr(0,t.length-r.length))+r;if(a=t.match(/^([#0]+)\.([#0]+)$/)){r=""+n.toFixed(Math.min(a[2].length,10)).replace(/([^0])0+$/,"$1"),s=r.indexOf(".");var d=t.indexOf(".")-s,u=t.length-r.length-d;return Pd(t.substr(0,d)+r+t.substr(t.length-u))}if(a=t.match(/^00,000\.([#0]*0)$/))return n<0?"-"+zd(e,t,-n):Ud(""+n).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,(function(e){return"00,"+(e.length<3?ld(0,3-e.length):"")+e}))+"."+ld(0,a[1].length);switch(t){case"###,###":case"##,###":case"#,###":var f=Ud(""+c);return"0"!==f?l+f:"";default:if(t.match(/\.[0#?]*$/))return zd(e,t.slice(0,t.lastIndexOf(".")),n)+Pd(t.slice(t.lastIndexOf(".")))}throw new Error("unsupported format |"+t+"|")}function Hd(e,t,n){return(0|n)===n?zd(e,t,n):Bd(e,t,n)}var Vd=/\[[HhMmSs\u0E0A\u0E19\u0E17]*\]/;function Gd(e){for(var t=0,n="",i="";t<e.length;)switch(n=e.charAt(t)){case"G":pd(e,t)&&(t+=6),t++;break;case'"':for(; +/*cc=*/ +34!==e.charCodeAt(++t)&&t<e.length;);++t;break;case"\\":case"_":t+=2;break;case"@":++t;break;case"B":case"b":if("1"===e.charAt(t+1)||"2"===e.charAt(t+1))return!0; +/* falls through */case"M":case"D":case"Y":case"H":case"S":case"E": +/* falls through */case"m":case"d":case"y":case"h":case"s":case"e":case"g":return!0;case"A":case"a":case"上":if("A/P"===e.substr(t,3).toUpperCase())return!0;if("AM/PM"===e.substr(t,5).toUpperCase())return!0;if("上午/下午"===e.substr(t,5).toUpperCase())return!0;++t;break;case"[":for(i=n;"]"!==e.charAt(t++)&&t<e.length;)i+=e.charAt(t);if(i.match(Vd))return!0;break;case".": +/* falls through */case"0":case"#":for(;t<e.length&&("0#?.,E+-%".indexOf(n=e.charAt(++t))>-1||"\\"==n&&"-"==e.charAt(t+1)&&"0#".indexOf(e.charAt(t+2))>-1););break;case"?":for(;e.charAt(++t)===n;);break;case"*":++t," "!=e.charAt(t)&&"*"!=e.charAt(t)||++t;break;case"(":case")":++t;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(;t<e.length&&"0123456789".indexOf(e.charAt(++t))>-1;);break;default:++t}return!1}var Xd=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function $d(e,t){if(null==t)return!1;var n=parseFloat(t[2]);switch(t[1]){case"=":if(e==n)return!0;break;case">":if(e>n)return!0;break;case"<":if(e<n)return!0;break;case"<>":if(e!=n)return!0;break;case">=":if(e>=n)return!0;break;case"<=":if(e<=n)return!0}return!1}function qd(e,t){var n=function(e){for(var t=[],n=!1,i=0,r=0;i<e.length;++i)switch( +/*cc=*/ +e.charCodeAt(i)){case 34:n=!n;break;case 95:case 42:case 92:++i;break;case 59:t[t.length]=e.substr(r,i-r),r=i+1}if(t[t.length]=e.substr(r),!0===n)throw new Error("Format |"+e+"| unterminated string ");return t}(e),i=n.length,r=n[i-1].indexOf("@");if(i<4&&r>-1&&--i,n.length>4)throw new Error("cannot find right format for |"+n.join("|")+"|");if("number"!=typeof t)return[4,4===n.length||r>-1?n[n.length-1]:"@"];switch(n.length){case 1:n=r>-1?["General","General","General",n[0]]:[n[0],n[0],n[0],"@"];break;case 2:n=r>-1?[n[0],n[0],n[0],n[1]]:[n[0],n[1],n[0],"@"];break;case 3:n=r>-1?[n[0],n[1],n[0],n[2]]:[n[0],n[1],n[2],"@"]}var a=t>0?n[0]:t<0?n[1]:n[2];if(-1===n[0].indexOf("[")&&-1===n[1].indexOf("["))return[i,a];if(null!=n[0].match(/\[[=<>]/)||null!=n[1].match(/\[[=<>]/)){var s=n[0].match(Xd),o=n[1].match(Xd);return $d(t,s)?[i,n[0]]:$d(t,o)?[i,n[1]]:[i,n[null!=s&&null!=o?2:1]]}return[i,a]}function Yd(e,t,n){null==n&&(n={});var i="";switch(typeof e){case"string":i="m/d/yy"==e&&n.dateNF?n.dateNF:e;break;case"number":null==(i=14==e&&n.dateNF?n.dateNF:(null!=n.table?n.table:bd)[e])&&(i=n.table&&n.table[vd[e]]||bd[vd[e]]),null==i&&(i=yd[e]||"General")}if(pd(i,0))return Sd(t,n);t instanceof Date&&(t=Ad(t,n.date1904));var r=qd(i,t);if(pd(r[1]))return Sd(t,n);if(!0===t)t="TRUE";else if(!1===t)t="FALSE";else if(""===t||null==t)return"";return function(e,t,n,i){for(var r,a,s,o=[],c="",l=0,h="",d="t",u="H";l<e.length;)switch(h=e.charAt(l)){case"G":if(!pd(e,l))throw new Error("unrecognized character "+h+" in "+e);o[o.length]={t:"G",v:"General"},l+=7;break;case'"':for(c="";34!==(s=e.charCodeAt(++l))&&l<e.length;)c+=String.fromCharCode(s);o[o.length]={t:"t",v:c},++l;break;case"\\":var f=e.charAt(++l),p="("===f||")"===f?f:"t";o[o.length]={t:p,v:f},++l;break;case"_":o[o.length]={t:"t",v:" "},l+=2;break;case"@":o[o.length]={t:"T",v:t},++l;break;case"B":case"b":if("1"===e.charAt(l+1)||"2"===e.charAt(l+1)){if(null==r&&null==(r=xd(t,n,"2"===e.charAt(l+1))))return"";o[o.length]={t:"X",v:e.substr(l,2)},d=h,l+=2;break} +/* falls through */case"M":case"D":case"Y":case"H":case"S":case"E":h=h.toLowerCase(); +/* falls through */case"m":case"d":case"y":case"h":case"s":case"e":case"g":if(t<0)return"";if(null==r&&null==(r=xd(t,n)))return"";for(c=h;++l<e.length&&e.charAt(l).toLowerCase()===h;)c+=h;"m"===h&&"h"===d.toLowerCase()&&(h="M"),"h"===h&&(h=u),o[o.length]={t:h,v:c},d=h;break;case"A":case"a":case"上":var g={t:h,v:h};if(null==r&&(r=xd(t,n)),"A/P"===e.substr(l,3).toUpperCase()?(null!=r&&(g.v=r.H>=12?"P":"A"),g.t="T",u="h",l+=3):"AM/PM"===e.substr(l,5).toUpperCase()?(null!=r&&(g.v=r.H>=12?"PM":"AM"),g.t="T",l+=5,u="h"):"上午/下午"===e.substr(l,5).toUpperCase()?(null!=r&&(g.v=r.H>=12?"下午":"上午"),g.t="T",l+=5,u="h"):(g.t="t",++l),null==r&&"T"===g.t)return"";o[o.length]=g,d=h;break;case"[":for(c=h;"]"!==e.charAt(l++)&&l<e.length;)c+=e.charAt(l);if("]"!==c.slice(-1))throw'unterminated "[" block: |'+c+"|";if(c.match(Vd)){if(null==r&&null==(r=xd(t,n)))return"";o[o.length]={t:"Z",v:c.toLowerCase()},d=c.charAt(1)}else c.indexOf("$")>-1&&(c=(c.match(/\$([^-\[\]]*)/)||[])[1]||"$",Gd(e)||(o[o.length]={t:"t",v:c}));break; +/* Numbers */case".":if(null!=r){for(c=h;++l<e.length&&"0"===(h=e.charAt(l));)c+=h;o[o.length]={t:"s",v:c};break} +/* falls through */case"0":case"#":for(c=h;++l<e.length&&"0#?.,E+-%".indexOf(h=e.charAt(l))>-1;)c+=h;o[o.length]={t:"n",v:c};break;case"?":for(c=h;e.charAt(++l)===h;)c+=h;o[o.length]={t:h,v:c},d=h;break;case"*":++l," "!=e.charAt(l)&&"*"!=e.charAt(l)||++l;break; +// ** +case"(":case")":o[o.length]={t:1===i?"t":h,v:h},++l;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(c=h;l<e.length&&"0123456789".indexOf(e.charAt(++l))>-1;)c+=e.charAt(l);o[o.length]={t:"D",v:c};break;case" ":o[o.length]={t:h,v:h},++l;break;case"$":o[o.length]={t:"t",v:"$"},++l;break;default:if(-1===",$-+/():!^&'~{}<>=€acfijklopqrtuvwxzP".indexOf(h))throw new Error("unrecognized character "+h+" in "+e);o[o.length]={t:"t",v:h},++l}var m,b=0,v=0;for(l=o.length-1,d="t";l>=0;--l)switch(o[l].t){case"h":case"H":o[l].t=u,d="h",b<1&&(b=1);break;case"s":(m=o[l].v.match(/\.0+$/))&&(v=Math.max(v,m[0].length-1)),b<3&&(b=3) +/* falls through */;case"d":case"y":case"M":case"e":d=o[l].t;break;case"m":"s"===d&&(o[l].t="M",b<2&&(b=2));break;case"X":break;case"Z":b<1&&o[l].v.match(/[Hh]/)&&(b=1),b<2&&o[l].v.match(/[Mm]/)&&(b=2),b<3&&o[l].v.match(/[Ss]/)&&(b=3)}switch(b){case 0:break;case 1:r.u>=.5&&(r.u=0,++r.S),r.S>=60&&(r.S=0,++r.M),r.M>=60&&(r.M=0,++r.H);break;case 2:r.u>=.5&&(r.u=0,++r.S),r.S>=60&&(r.S=0,++r.M)}var y,w="";for(l=0;l<o.length;++l)switch(o[l].t){case"t":case"T":case" ":case"D":break;case"X":o[l].v="",o[l].t=";";break;case"d":case"m":case"y":case"h":case"H":case"M":case"s":case"e":case"b":case"Z":o[l].v=Cd(o[l].t.charCodeAt(0),o[l].v,r,v),o[l].t="t";break;case"n":case"?":for(y=l+1;null!=o[y]&&("?"===(h=o[y].t)||"D"===h||(" "===h||"t"===h)&&null!=o[y+1]&&("?"===o[y+1].t||"t"===o[y+1].t&&"/"===o[y+1].v)||"("===o[l].t&&(" "===h||"n"===h||")"===h)||"t"===h&&("/"===o[y].v||" "===o[y].v&&null!=o[y+1]&&"?"==o[y+1].t));)o[l].v+=o[y].v,o[y]={v:"",t:";"},++y;w+=o[l].v,l=y-1;break;case"G":o[l].t="t",o[l].v=Sd(t,n)}var x,_,T="";if(w.length>0){40==w.charCodeAt(0)?(x=t<0&&45===w.charCodeAt(0)?-t:t,_=Hd("n",w,x)):(_=Hd("n",w,x=t<0&&i>1?-t:t),x<0&&o[0]&&"t"==o[0].t&&(_=_.substr(1),o[0].v="-"+o[0].v)),y=_.length-1;var D=o.length;for(l=0;l<o.length;++l)if(null!=o[l]&&"t"!=o[l].t&&o[l].v.indexOf(".")>-1){D=l;break}var A=o.length;if(D===o.length&&-1===_.indexOf("E")){for(l=o.length-1;l>=0;--l)null!=o[l]&&-1!=="n?".indexOf(o[l].t)&&(y>=o[l].v.length-1?(y-=o[l].v.length,o[l].v=_.substr(y+1,o[l].v.length)):y<0?o[l].v="":(o[l].v=_.substr(0,y+1),y=-1),o[l].t="t",A=l);y>=0&&A<o.length&&(o[A].v=_.substr(0,y+1)+o[A].v)}else if(D!==o.length&&-1===_.indexOf("E")){for(y=_.indexOf(".")-1,l=D;l>=0;--l)if(null!=o[l]&&-1!=="n?".indexOf(o[l].t)){for(a=o[l].v.indexOf(".")>-1&&l===D?o[l].v.indexOf(".")-1:o[l].v.length-1,T=o[l].v.substr(a+1);a>=0;--a)y>=0&&("0"===o[l].v.charAt(a)||"#"===o[l].v.charAt(a))&&(T=_.charAt(y--)+T);o[l].v=T,o[l].t="t",A=l}for(y>=0&&A<o.length&&(o[A].v=_.substr(0,y+1)+o[A].v),y=_.indexOf(".")+1,l=D;l<o.length;++l)if(null!=o[l]&&(-1!=="n?(".indexOf(o[l].t)||l===D)){for(a=o[l].v.indexOf(".")>-1&&l===D?o[l].v.indexOf(".")+1:0,T=o[l].v.substr(0,a);a<o[l].v.length;++a)y<_.length&&(T+=_.charAt(y++));o[l].v=T,o[l].t="t",A=l}}}for(l=0;l<o.length;++l)null!=o[l]&&"n?".indexOf(o[l].t)>-1&&(x=i>1&&t<0&&l>0&&"-"===o[l-1].v?-t:t,o[l].v=Hd(o[l].t,o[l].v,x),o[l].t="t");var E="";for(l=0;l!==o.length;++l)null!=o[l]&&(E+=o[l].v);return E}(r[1],t,n,r[0])}function Kd(e,t){if("number"!=typeof t){t=+t||-1;for(var n=0;n<392;++n)if(null!=bd[n]){if(bd[n]==e){t=n;break}}else t<0&&(t=n);t<0&&(t=391)}return bd[t]=e,t}function Zd(){var e;e||(e={}),e[0]="General",e[1]="0",e[2]="0.00",e[3]="#,##0",e[4]="#,##0.00",e[9]="0%",e[10]="0.00%",e[11]="0.00E+00",e[12]="# ?/?",e[13]="# ??/??",e[14]="m/d/yy",e[15]="d-mmm-yy",e[16]="d-mmm",e[17]="mmm-yy",e[18]="h:mm AM/PM",e[19]="h:mm:ss AM/PM",e[20]="h:mm",e[21]="h:mm:ss",e[22]="m/d/yy h:mm",e[37]="#,##0 ;(#,##0)",e[38]="#,##0 ;[Red](#,##0)",e[39]="#,##0.00;(#,##0.00)",e[40]="#,##0.00;[Red](#,##0.00)",e[45]="mm:ss",e[46]="[h]:mm:ss",e[47]="mmss.0",e[48]="##0.0E+0",e[49]="@",e[56]='"上午/下午 "hh"時"mm"分"ss"秒 "',bd=e}var Jd={5:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',23:"General",24:"General",25:"General",26:"General",27:"m/d/yy",28:"m/d/yy",29:"m/d/yy",30:"m/d/yy",31:"m/d/yy",32:"h:mm:ss",33:"h:mm:ss",34:"h:mm:ss",35:"h:mm:ss",36:"m/d/yy",41:'_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* (#,##0);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* (#,##0.00);_("$"* "-"??_);_(@_)',50:"m/d/yy",51:"m/d/yy",52:"m/d/yy",53:"m/d/yy",54:"m/d/yy",55:"m/d/yy",56:"m/d/yy",57:"m/d/yy",58:"m/d/yy",59:"0",60:"0.00",61:"#,##0",62:"#,##0.00",63:'"$"#,##0_);\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',67:"0%",68:"0.00%",69:"# ?/?",70:"# ??/??",71:"m/d/yy",72:"m/d/yy",73:"d-mmm-yy",74:"d-mmm",75:"mmm-yy",76:"h:mm",77:"h:mm:ss",78:"m/d/yy h:mm",79:"mm:ss",80:"[h]:mm:ss",81:"mmss.0"},Qd=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;var eu=function(){var e={};e.version="1.2.0";var t=function(){for(var e=0,t=new Array(256),n=0;256!=n;++n)e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=n)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1,t[n]=e;return"undefined"!=typeof Int32Array?new Int32Array(t):t}();var n=function(e){var t=0,n=0,i=0,r="undefined"!=typeof Int32Array?new Int32Array(4096):new Array(4096);for(i=0;256!=i;++i)r[i]=e[i];for(i=0;256!=i;++i)for(n=e[i],t=256+i;t<4096;t+=256)n=r[t]=n>>>8^e[255&n];var a=[];for(i=1;16!=i;++i)a[i-1]="undefined"!=typeof Int32Array?r.subarray(256*i,256*i+256):r.slice(256*i,256*i+256);return a}(t),i=n[0],r=n[1],a=n[2],s=n[3],o=n[4],c=n[5],l=n[6],h=n[7],d=n[8],u=n[9],f=n[10],p=n[11],g=n[12],m=n[13],b=n[14];return e.table=t,e.bstr=function(e,n){for(var i=~n,r=0,a=e.length;r<a;)i=i>>>8^t[255&(i^e.charCodeAt(r++))];return~i},e.buf=function(e,n){for(var v=~n,y=e.length-15,w=0;w<y;)v=b[e[w++]^255&v]^m[e[w++]^v>>8&255]^g[e[w++]^v>>16&255]^p[e[w++]^v>>>24]^f[e[w++]]^u[e[w++]]^d[e[w++]]^h[e[w++]]^l[e[w++]]^c[e[w++]]^o[e[w++]]^s[e[w++]]^a[e[w++]]^r[e[w++]]^i[e[w++]]^t[e[w++]];for(y+=15;w<y;)v=v>>>8^t[255&(v^e[w++])];return~v},e.str=function(e,n){for(var i=~n,r=0,a=e.length,s=0,o=0;r<a;)(s=e.charCodeAt(r++))<128?i=i>>>8^t[255&(i^s)]:s<2048?i=(i=i>>>8^t[255&(i^(192|s>>6&31))])>>>8^t[255&(i^(128|63&s))]:s>=55296&&s<57344?(s=64+(1023&s),o=1023&e.charCodeAt(r++),i=(i=(i=(i=i>>>8^t[255&(i^(240|s>>8&7))])>>>8^t[255&(i^(128|s>>2&63))])>>>8^t[255&(i^(128|o>>6&15|(3&s)<<4))])>>>8^t[255&(i^(128|63&o))]):i=(i=(i=i>>>8^t[255&(i^(224|s>>12&15))])>>>8^t[255&(i^(128|s>>6&63))])>>>8^t[255&(i^(128|63&s))];return~i},e}(),tu=function(){var e,t={};function n(e){if("/"==e.charAt(e.length-1))return-1===e.slice(0,-1).indexOf("/")?e:n(e.slice(0,-1));var t=e.lastIndexOf("/");return-1===t?e:e.slice(0,t+1)}function i(e){if("/"==e.charAt(e.length-1))return i(e.slice(0,-1));var t=e.lastIndexOf("/");return-1===t?e:e.slice(t+1)}function r(e,t){"string"==typeof t&&(t=new Date(t));var n=t.getHours();n=(n=n<<6|t.getMinutes())<<5|t.getSeconds()>>>1,e.write_shift(2,n);var i=t.getFullYear()-1980;i=(i=i<<4|t.getMonth()+1)<<5|t.getDate(),e.write_shift(2,i)}function a(e){Xf(e,0);for(var t= +/*::(*/{},n=0;e.l<=e.length-4;){var i=e.read_shift(2),r=e.read_shift(2),a=e.l+r,s={};if(21589===i)1&(n=e.read_shift(1))&&(s.mtime=e.read_shift(4)),r>5&&(2&n&&(s.atime=e.read_shift(4)),4&n&&(s.ctime=e.read_shift(4))),s.mtime&&(s.mt=new Date(1e3*s.mtime));e.l=a,t[i]=s}return t}function s(){return e||(e={})}function o(e,t){if(80==e[0]&&75==e[1])return re(e,t);if(109==(32|e[0])&&105==(32|e[1]))return function(e,t){if("mime-version:"!=_(e.slice(0,13)).toLowerCase())throw new Error("Unsupported MAD header");var n=t&&t.root||"",i=(Jh&&Buffer.isBuffer(e)?e.toString("binary"):_(e)).split("\r\n"),r=0,a="";for(r=0;r<i.length;++r)if(a=i[r],/^Content-Location:/i.test(a)&&(a=a.slice(a.indexOf("file")),n||(n=a.slice(0,a.lastIndexOf("/")+1)),a.slice(0,n.length)!=n))for(;n.length>0&&(n=(n=n.slice(0,n.length-1)).slice(0,n.lastIndexOf("/")+1),a.slice(0,n.length)!=n););var s=(i[1]||"").match(/boundary="(.*?)"/);if(!s)throw new Error("MAD cannot find boundary");var o="--"+(s[1]||""),c=[],l=[],h={FileIndex:c,FullPaths:l};u(h);var d,f=0;for(r=0;r<i.length;++r){var p=i[r];p!==o&&p!==o+"--"||(f++&&he(h,i.slice(d,r),n),d=r)}return h}(e,t);if(e.length<512)throw new Error("CFB file size "+e.length+" < 512");var n,i,r,a,s,o,f=512,p=[],g= +/*::(*/e.slice(0,512);Xf(g,0);var m=function(e){if(80==e[e.l]&&75==e[e.l+1])return[0,0];e.chk(v,"Header Signature: "),e.l+=16;var t=e.read_shift(2,"u");return[e.read_shift(2,"u"),t]}(g);switch(n=m[0]){case 3:f=512;break;case 4:f=4096;break;case 0:if(0==m[1])return re(e,t); +/* falls through */default:throw new Error("Major Version: Expected 3 or 4 saw "+n)}512!==f&&Xf(g=/*::(*/ +e.slice(0,f),28 +/* blob.l */);var y=e.slice(0,f);!function(e,t){var n=9;switch(e.l+=2,n=e.read_shift(2)){case 9:if(3!=t)throw new Error("Sector Shift: Expected 9 saw "+n);break;case 12:if(4!=t)throw new Error("Sector Shift: Expected 12 saw "+n);break;default:throw new Error("Sector Shift: Expected 9 or 12 saw "+n)}e.chk("0600","Mini Sector Shift: "),e.chk("000000000000","Reserved: ")}(g,n);var w=g.read_shift(4,"i");if(3===n&&0!==w)throw new Error("# Directory Sectors: Expected 0 saw "+w);g.l+=4,a=g.read_shift(4,"i"),g.l+=4,g.chk("00100000","Mini Stream Cutoff Size: "),s=g.read_shift(4,"i"),i=g.read_shift(4,"i"),o=g.read_shift(4,"i"),r=g.read_shift(4,"i");for(var x=-1,T=0;T<109&&!((x=g.read_shift(4,"i"))<0);++T)p[T]=x;var D=function(e,t){for(var n=Math.ceil(e.length/t)-1,i=[],r=1;r<n;++r)i[r-1]=e.slice(r*t,(r+1)*t);return i[n-1]=e.slice(n*t),i}(e,f);l(o,r,D,f,p);var A=function(e,t,n,i){var r=e.length,a=[],s=[],o=[],c=[],l=i-1,h=0,d=0,u=0,f=0;for(h=0;h<r;++h)if(o=[],(u=h+t)>=r&&(u-=r),!s[u]){c=[];var p=[];for(d=u;d>=0;){p[d]=!0,s[d]=!0,o[o.length]=d,c.push(e[d]);var g=n[Math.floor(4*d/i)];if(i<4+(f=4*d&l))throw new Error("FAT boundary crossed: "+d+" 4 "+i);if(!e[g])break;if(p[d=Lf(e[g],f)])break}a[u]={nodes:o,data:pf([c])}}return a}(D,a,p,f);A[a].name="!Directory",i>0&&s!==b&&(A[s].name="!MiniFAT"),A[p[0]].name="!FAT",A.fat_addrs=p,A.ssz=f;var E=[],k=[],S=[];!function(e,t,n,i,r,a,s,o){for(var l,u=0,f=i.length?2:0,p=t[e].data,g=0,m=0;g<p.length;g+=128){var v= +/*::(*/p.slice(g,g+128);Xf(v,64),m=v.read_shift(2),l=mf(v,0,m-f),i.push(l);var y={name:l,type:v.read_shift(1),color:v.read_shift(1),L:v.read_shift(4,"i"),R:v.read_shift(4,"i"),C:v.read_shift(4,"i"),clsid:v.read_shift(16),state:v.read_shift(4,"i"),start:0,size:0};0!==v.read_shift(2)+v.read_shift(2)+v.read_shift(2)+v.read_shift(2)&&(y.ct=d(v,v.l-8)),0!==v.read_shift(2)+v.read_shift(2)+v.read_shift(2)+v.read_shift(2)&&(y.mt=d(v,v.l-8)),y.start=v.read_shift(4,"i"),y.size=v.read_shift(4,"i"),y.size<0&&y.start<0&&(y.size=y.type=0,y.start=b,y.name=""),5===y.type?(u=y.start,r>0&&u!==b&&(t[u].name="!StreamData")):y.size>=4096?(y.storage="fat",void 0===t[y.start]&&(t[y.start]=h(n,y.start,t.fat_addrs,t.ssz)),t[y.start].name=y.name,y.content=t[y.start].data.slice(0,y.size)):(y.storage="minifat",y.size<0?y.size=0:u!==b&&y.start!==b&&t[u]&&(y.content=c(y,t[u].data,(t[o]||{}).data))),y.content&&Xf(y.content,0),a[l]=y,s.push(y)}}(a,A,D,E,i,{},k,s),function(e,t,n){for(var i=0,r=0,a=0,s=0,o=0,c=n.length,l=[],h=[];i<c;++i)l[i]=h[i]=i,t[i]=n[i];for(;o<h.length;++o)r=e[i=h[o]].L,a=e[i].R,s=e[i].C,l[i]===i&&(-1!==r&&l[r]!==r&&(l[i]=l[r]),-1!==a&&l[a]!==a&&(l[i]=l[a])),-1!==s&&(l[s]=i),-1!==r&&i!=l[i]&&(l[r]=l[i],h.lastIndexOf(r)<o&&h.push(r)),-1!==a&&i!=l[i]&&(l[a]=l[i],h.lastIndexOf(a)<o&&h.push(a));for(i=1;i<c;++i)l[i]===i&&(-1!==a&&l[a]!==a?l[i]=l[a]:-1!==r&&l[r]!==r&&(l[i]=l[r]));for(i=1;i<c;++i)if(0!==e[i].type){if((o=i)!=l[o])do{o=l[o],t[i]=t[o]+"/"+t[i]}while(0!==o&&-1!==l[o]&&o!=l[o]);l[i]=-1}for(t[0]+="/",i=1;i<c;++i)2!==e[i].type&&(t[i]+="/")}(k,S,E),E.shift();var C={FileIndex:k,FullPaths:S};return t&&t.raw&&(C.raw={header:y,sectors:D}),C}function c(e,t,n){for(var i=e.start,r=e.size,a=[],s=i;n&&r>0&&s>=0;)a.push(t.slice(s*m,s*m+m)),r-=m,s=Lf(n,4*s);return 0===a.length?qf(0):ad(a).slice(0,e.size)}function l(e,t,n,i,r){var a=b;if(e===b){if(0!==t)throw new Error("DIFAT chain shorter than expected")}else if(-1!==e){var s=n[e],o=(i>>>2)-1;if(!s)return;for(var c=0;c<o&&(a=Lf(s,4*c))!==b;++c)r.push(a);l(Lf(s,i-4),t-1,n,i,r)}}function h(e,t,n,i,r){var a=[],s=[];r||(r=[]);var o=i-1,c=0,l=0;for(c=t;c>=0;){r[c]=!0,a[a.length]=c,s.push(e[c]);var h=n[Math.floor(4*c/i)];if(i<4+(l=4*c&o))throw new Error("FAT boundary crossed: "+c+" 4 "+i);if(!e[h])break;c=Lf(e[h],l)}return{nodes:a,data:pf([s])}}function d(e,t){return new Date(1e3*(Pf(e,t+4)/1e7*Math.pow(2,32)+Pf(e,t)/1e7-11644473600))}function u(e,t){var n=t||{},i=n.root||"Root Entry";if(e.FullPaths||(e.FullPaths=[]),e.FileIndex||(e.FileIndex=[]),e.FullPaths.length!==e.FileIndex.length)throw new Error("inconsistent CFB structure");0===e.FullPaths.length&&(e.FullPaths[0]=i+"/",e.FileIndex[0]={name:i,type:5}),n.CLSID&&(e.FileIndex[0].clsid=n.CLSID),function(e){var t="Sh33tJ5";if(tu.find(e,"/"+t))return;var n=qf(4);n[0]=55,n[1]=n[3]=50,n[2]=54,e.FileIndex.push({name:t,type:2,content:n,size:4,L:69,R:69,C:69}),e.FullPaths.push(e.FullPaths[0]+t),f(e)}(e)}function f(e,t){u(e);for(var r=!1,a=!1,s=e.FullPaths.length-1;s>=0;--s){var o=e.FileIndex[s];switch(o.type){case 0:a?r=!0:(e.FileIndex.pop(),e.FullPaths.pop());break;case 1:case 2:case 5:a=!0,isNaN(o.R*o.L*o.C)&&(r=!0),o.R>-1&&o.L>-1&&o.R==o.L&&(r=!0);break;default:r=!0}}if(r||t){var c=new Date(1987,1,19),l=0,h=Object.create?Object.create(null):{},d=[];for(s=0;s<e.FullPaths.length;++s)h[e.FullPaths[s]]=!0,0!==e.FileIndex[s].type&&d.push([e.FullPaths[s],e.FileIndex[s]]);for(s=0;s<d.length;++s){var f=n(d[s][0]);(a=h[f])||(d.push([f,{name:i(f).replace("/",""),type:1,clsid:w,ct:c,mt:c,content:null}]),h[f]=!0)}for(d.sort((function(e,t){return function(e,t){for(var n=e.split("/"),i=t.split("/"),r=0,a=0,s=Math.min(n.length,i.length);r<s;++r){if(a=n[r].length-i[r].length)return a;if(n[r]!=i[r])return n[r]<i[r]?-1:1}return n.length-i.length}(e[0],t[0])})),e.FullPaths=[],e.FileIndex=[],s=0;s<d.length;++s)e.FullPaths[s]=d[s][0],e.FileIndex[s]=d[s][1];for(s=0;s<d.length;++s){var p=e.FileIndex[s],g=e.FullPaths[s];if(p.name=i(g).replace("/",""),p.L=p.R=p.C=-(p.color=1),p.size=p.content?p.content.length:0,p.start=0,p.clsid=p.clsid||w,0===s)p.C=d.length>1?1:-1,p.size=0,p.type=5;else if("/"==g.slice(-1)){for(l=s+1;l<d.length&&n(e.FullPaths[l])!=g;++l);for(p.C=l>=d.length?-1:l,l=s+1;l<d.length&&n(e.FullPaths[l])!=n(g);++l);p.R=l>=d.length?-1:l,p.type=1}else n(e.FullPaths[s+1]||"")==n(g)&&(p.R=s+1),p.type=2}}}function p(e,t){var n=t||{};if("mad"==n.fileType)return function(e,t){for(var n=t||{},i=n.boundary||"SheetJS",r=["MIME-Version: 1.0",'Content-Type: multipart/related; boundary="'+(i="------="+i).slice(2)+'"',"","",""],a=e.FullPaths[0],s=a,o=e.FileIndex[0],c=1;c<e.FullPaths.length;++c)if(s=e.FullPaths[c].slice(a.length),(o=e.FileIndex[c]).size&&o.content&&"Sh33tJ5"!=s){s=s.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF]/g,(function(e){return"_x"+e.charCodeAt(0).toString(16)+"_"})).replace(/[\u0080-\uFFFF]/g,(function(e){return"_u"+e.charCodeAt(0).toString(16)+"_"}));for(var l=o.content,h=Jh&&Buffer.isBuffer(l)?l.toString("binary"):_(l),d=0,u=Math.min(1024,h.length),f=0,p=0;p<=u;++p)(f=h.charCodeAt(p))>=32&&f<128&&++d;var g=d>=4*u/5;r.push(i),r.push("Content-Location: "+(n.root||"file:///C:/SheetJS/")+s),r.push("Content-Transfer-Encoding: "+(g?"quoted-printable":"base64")),r.push("Content-Type: "+oe(o,s)),r.push(""),r.push(g?le(h):ce(h))}return r.push(i+"--\r\n"),r.join("\r\n")}(e,n);if(f(e),"zip"===n.fileType)return function(e,t){var n=t||{},i=[],a=[],s=qf(1),o=n.compression?8:0,c=0,l=0,h=0,d=0,u=0,f=e.FullPaths[0],p=f,g=e.FileIndex[0],m=[],b=0;for(l=1;l<e.FullPaths.length;++l)if(p=e.FullPaths[l].slice(f.length),(g=e.FileIndex[l]).size&&g.content&&"Sh33tJ5"!=p){var v=d,y=qf(p.length);for(h=0;h<p.length;++h)y.write_shift(1,127&p.charCodeAt(h));y=y.slice(0,y.l),m[u]=eu.buf( +/*::((*/ +g.content,0);var w=g.content;8==o&&(w=T(w)),(s=qf(30)).write_shift(4,67324752),s.write_shift(2,20),s.write_shift(2,c),s.write_shift(2,o),g.mt?r(s,g.mt):s.write_shift(4,0),s.write_shift(-4,m[u]),s.write_shift(4,w.length),s.write_shift(4, +/*::(*/ +g.content.length),s.write_shift(2,y.length),s.write_shift(2,0),d+=s.length,i.push(s),d+=y.length,i.push(y),d+=w.length,i.push(w),(s=qf(46)).write_shift(4,33639248),s.write_shift(2,0),s.write_shift(2,20),s.write_shift(2,c),s.write_shift(2,o),s.write_shift(4,0),s.write_shift(-4,m[u]),s.write_shift(4,w.length),s.write_shift(4, +/*::(*/ +g.content.length),s.write_shift(2,y.length),s.write_shift(2,0),s.write_shift(2,0),s.write_shift(2,0),s.write_shift(2,0),s.write_shift(4,0),s.write_shift(4,v),b+=s.l,a.push(s),b+=y.length,a.push(y),++u}return s=qf(22),s.write_shift(4,101010256),s.write_shift(2,0),s.write_shift(2,0),s.write_shift(2,u),s.write_shift(2,u),s.write_shift(4,b),s.write_shift(4,d),s.write_shift(2,0),ad([ad(i),ad(a),s])}(e,n);var i=function(e){for(var t=0,n=0,i=0;i<e.FileIndex.length;++i){var r=e.FileIndex[i];if(r.content){var a=r.content.length;a>0&&(a<4096?t+=a+63>>6:n+=a+511>>9)}}for(var s=e.FullPaths.length+3>>2,o=t+127>>7,c=(t+7>>3)+n+s+o,l=c+127>>7,h=l<=109?0:Math.ceil((l-109)/127);c+l+h+127>>7>l;)h=++l<=109?0:Math.ceil((l-109)/127);var d=[1,h,l,o,s,n,t,0];return e.FileIndex[0].size=t<<6,d[7]=(e.FileIndex[0].start=d[0]+d[1]+d[2]+d[3]+d[4]+d[5])+(d[6]+7>>3),d}(e),a=qf(i[7]<<9),s=0,o=0;for(s=0;s<8;++s)a.write_shift(1,y[s]);for(s=0;s<8;++s)a.write_shift(2,0);for(a.write_shift(2,62),a.write_shift(2,3),a.write_shift(2,65534),a.write_shift(2,9),a.write_shift(2,6),s=0;s<3;++s)a.write_shift(2,0);for(a.write_shift(4,0),a.write_shift(4,i[2]),a.write_shift(4,i[0]+i[1]+i[2]+i[3]-1),a.write_shift(4,0),a.write_shift(4,4096),a.write_shift(4,i[3]?i[0]+i[1]+i[2]-1:b),a.write_shift(4,i[3]),a.write_shift(-4,i[1]?i[0]-1:b),a.write_shift(4,i[1]),s=0;s<109;++s)a.write_shift(-4,s<i[2]?i[1]+s:-1);if(i[1])for(o=0;o<i[1];++o){for(;s<236+127*o;++s)a.write_shift(-4,s<i[2]?i[1]+s:-1);a.write_shift(-4,o===i[1]-1?b:o+1)}var c=function(e){for(o+=e;s<o-1;++s)a.write_shift(-4,s+1);e&&(++s,a.write_shift(-4,b))};for(o=s=0,o+=i[1];s<o;++s)a.write_shift(-4,x.DIFSECT);for(o+=i[2];s<o;++s)a.write_shift(-4,x.FATSECT);c(i[3]),c(i[4]);for(var l=0,h=0,d=e.FileIndex[0];l<e.FileIndex.length;++l)(d=e.FileIndex[l]).content&&((h=d.content.length)<4096||(d.start=o,c(h+511>>9)));for(c(i[6]+7>>3);511&a.l;)a.write_shift(-4,x.ENDOFCHAIN);for(o=s=0,l=0;l<e.FileIndex.length;++l)(d=e.FileIndex[l]).content&&(!(h=d.content.length)||h>=4096||(d.start=o,c(h+63>>6)));for(;511&a.l;)a.write_shift(-4,x.ENDOFCHAIN);for(s=0;s<i[4]<<2;++s){var u=e.FullPaths[s];if(u&&0!==u.length){d=e.FileIndex[s],0===s&&(d.start=d.size?d.start-1:b);var p=0===s&&n.root||d.name;if(h=2*(p.length+1),a.write_shift(64,p,"utf16le"),a.write_shift(2,h),a.write_shift(1,d.type),a.write_shift(1,d.color),a.write_shift(-4,d.L),a.write_shift(-4,d.R),a.write_shift(-4,d.C),d.clsid)a.write_shift(16,d.clsid,"hex");else for(l=0;l<4;++l)a.write_shift(4,0);a.write_shift(4,d.state||0),a.write_shift(4,0),a.write_shift(4,0),a.write_shift(4,0),a.write_shift(4,0),a.write_shift(4,d.start),a.write_shift(4,d.size),a.write_shift(4,0)}else{for(l=0;l<17;++l)a.write_shift(4,0);for(l=0;l<3;++l)a.write_shift(4,-1);for(l=0;l<12;++l)a.write_shift(4,0)}}for(s=1;s<e.FileIndex.length;++s)if((d=e.FileIndex[s]).size>=4096)if(a.l=d.start+1<<9,Jh&&Buffer.isBuffer(d.content))d.content.copy(a,a.l,0,d.size),a.l+=d.size+511&-512;else{for(l=0;l<d.size;++l)a.write_shift(1,d.content[l]);for(;511&l;++l)a.write_shift(1,0)}for(s=1;s<e.FileIndex.length;++s)if((d=e.FileIndex[s]).size>0&&d.size<4096)if(Jh&&Buffer.isBuffer(d.content))d.content.copy(a,a.l,0,d.size),a.l+=d.size+63&-64;else{for(l=0;l<d.size;++l)a.write_shift(1,d.content[l]);for(;63&l;++l)a.write_shift(1,0)}if(Jh)a.l=a.length;else for(;a.l<a.length;)a.write_shift(1,0);return a}t.version="1.2.1";var g,m=64,b=-2,v="d0cf11e0a1b11ae1",y=[208,207,17,224,161,177,26,225],w="00000000000000000000000000000000",x={ +/* 2.1 Compund File Sector Numbers and Types */ +MAXREGSECT:-6,DIFSECT:-4,FATSECT:-3,ENDOFCHAIN:b,FREESECT:-1, +/* 2.2 Compound File Header */ +HEADER_SIGNATURE:v,HEADER_MINOR_VERSION:"3e00",MAXREGSID:-6,NOSTREAM:-1,HEADER_CLSID:w, +/* 2.6.1 Compound File Directory Entry */ +EntryTypes:["unknown","storage","stream","lockbytes","property","root"]};function _(e){for(var t=new Array(e.length),n=0;n<e.length;++n)t[n]=String.fromCharCode(e[n]);return t.join("")}function T(e){return g?g.deflateRawSync(e):Y(e)}var D=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],A=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258],E=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577];for(var k,S,C="undefined"!=typeof Uint8Array,U=C?new Uint8Array(256):[],F=0;F<256;++F)U[F]=(S=void 0,255&((S=139536&((k=F)<<1|k<<11)|558144&(k<<5|k<<15))>>16|S>>8|S));function M(e,t){var n=U[255&e];return t<=8?n>>>8-t:(n=n<<8|U[e>>8&255],t<=16?n>>>16-t:(n=n<<8|U[e>>16&255])>>>24-t)}function R(e,t){var n=7&t,i=t>>>3;return(e[i]|(n<=6?0:e[i+1]<<8))>>>n&3}function I(e,t){var n=7&t,i=t>>>3;return(e[i]|(n<=5?0:e[i+1]<<8))>>>n&7}function O(e,t){var n=7&t,i=t>>>3;return(e[i]|(n<=3?0:e[i+1]<<8))>>>n&31}function N(e,t){var n=7&t,i=t>>>3;return(e[i]|(n<=1?0:e[i+1]<<8))>>>n&127}function P(e,t,n){var i=7&t,r=t>>>3,a=(1<<n)-1,s=e[r]>>>i;return n<8-i?s&a:(s|=e[r+1]<<8-i,n<16-i?s&a:(s|=e[r+2]<<16-i,n<24-i?s&a:(s|=e[r+3]<<24-i)&a))}function L(e,t,n){var i=7&t,r=t>>>3;return i<=5?e[r]|=(7&n)<<i:(e[r]|=n<<i&255,e[r+1]=(7&n)>>8-i),t+3}function W(e,t,n){return n=(1&n)<<(7&t),e[t>>>3]|=n,t+1}function B(e,t,n){var i=t>>>3;return n<<=7&t,e[i]|=255&n,n>>>=8,e[i+1]=n,t+8}function j(e,t,n){var i=t>>>3;return n<<=7&t,e[i]|=255&n,n>>>=8,e[i+1]=255&n,e[i+2]=n>>>8,t+16}function z(e,t){var n=e.length,i=2*n>t?2*n:t+5,r=0;if(n>=t)return e;if(Jh){var a=td(i);if(e.copy)e.copy(a);else for(;r<e.length;++r)a[r]=e[r];return a}if(C){var s=new Uint8Array(i);if(s.set)s.set(e);else for(;r<n;++r)s[r]=e[r];return s}return e.length=i,e}function H(e){for(var t=new Array(e),n=0;n<e;++n)t[n]=0;return t}function V(e,t,n){var i=1,r=0,a=0,s=0,o=0,c=e.length,l=C?new Uint16Array(32):H(32);for(a=0;a<32;++a)l[a]=0;for(a=c;a<n;++a)e[a]=0;c=e.length;var h=C?new Uint16Array(c):H(c);for(a=0;a<c;++a)l[r=e[a]]++,i<r&&(i=r),h[a]=0;for(l[0]=0,a=1;a<=i;++a)l[a+16]=o=o+l[a-1]<<1;for(a=0;a<c;++a)0!=(o=e[a])&&(h[a]=l[o+16]++);var d=0;for(a=0;a<c;++a)if(0!=(d=e[a]))for(o=M(h[a],i)>>i-d,s=(1<<i+4-d)-1;s>=0;--s)t[o|s<<d]=15&d|a<<4;return i}var G=C?new Uint16Array(512):H(512),X=C?new Uint16Array(32):H(32);if(!C){for(var $=0;$<512;++$)G[$]=0;for($=0;$<32;++$)X[$]=0}!function(){for(var e=[],t=0;t<32;t++)e.push(5);V(e,X,32);var n=[];for(t=0;t<=143;t++)n.push(8);for(;t<=255;t++)n.push(9);for(;t<=279;t++)n.push(7);for(;t<=287;t++)n.push(8);V(n,G,288)}();var q=function(){for(var e=C?new Uint8Array(32768):[],t=0,n=0;t<E.length-1;++t)for(;n<E[t+1];++n)e[n]=t;for(;n<32768;++n)e[n]=29;var i=C?new Uint8Array(259):[];for(t=0,n=0;t<A.length-1;++t)for(;n<A[t+1];++n)i[n]=t;return function(t,n){return t.length<8?function(e,t){for(var n=0;n<e.length;){var i=Math.min(65535,e.length-n),r=n+i==e.length;for(t.write_shift(1,+r),t.write_shift(2,i),t.write_shift(2,65535&~i);i-- >0;)t[t.l++]=e[n++]}return t.l}(t,n):function(t,n){for(var r=0,a=0,s=C?new Uint16Array(32768):[];a<t.length;){var o= +/* data.length - boff; */Math.min(65535,t.length-a);if(o<10){for(7&(r=L(n,r,+!(a+o!=t.length)))&&(r+=8-(7&r)),n.l=r/8|0,n.write_shift(2,o),n.write_shift(2,65535&~o);o-- >0;)n[n.l++]=t[a++];r=8*n.l}else{r=L(n,r,+!(a+o!=t.length)+2);for(var c=0;o-- >0;){var l=t[a],h=-1,d=0;if((h=s[c=32767&(c<<5^l)])&&((h|=-32768&a)>a&&(h-=32768),h<a))for(;t[h+d]==t[a+d]&&d<250;)++d;if(d>2){(l=i[d])<=22?r=B(n,r,U[l+1]>>1)-1:(B(n,r,3),B(n,r+=5,U[l-23]>>5),r+=3);var u=l<8?0:l-4>>2;u>0&&(j(n,r,d-A[l]),r+=u),l=e[a-h],r=B(n,r,U[l]>>3),r-=3;var f=l<4?0:l-2>>1;f>0&&(j(n,r,a-h-E[l]),r+=f);for(var p=0;p<d;++p)s[c]=32767&a,c=32767&(c<<5^t[a]),++a;o-=d-1}else l<=143?l+=48:r=W(n,r,1),r=B(n,r,U[l]),s[c]=32767&a,++a}r=B(n,r,0)-1}}return n.l=(r+7)/8|0,n.l}(t,n)}}();function Y(e){var t=qf(50+Math.floor(1.1*e.length)),n=q(e,t);return t.slice(0,n)}var K=C?new Uint16Array(32768):H(32768),Z=C?new Uint16Array(32768):H(32768),J=C?new Uint16Array(128):H(128),Q=1,ee=1;function te(e,t){var n=O(e,t)+257,i=O(e,t+=5)+1,r=function(e,t){var n=7&t,i=t>>>3;return(e[i]|(n<=4?0:e[i+1]<<8))>>>n&15}(e,t+=5)+4;t+=4;for(var a=0,s=C?new Uint8Array(19):H(19),o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],c=1,l=C?new Uint8Array(8):H(8),h=C?new Uint8Array(8):H(8),d=s.length,u=0;u<r;++u)s[D[u]]=a=I(e,t),c<a&&(c=a),l[a]++,t+=3;var f=0;for(l[0]=0,u=1;u<=c;++u)h[u]=f=f+l[u-1]<<1;for(u=0;u<d;++u)0!=(f=s[u])&&(o[u]=h[f]++);var p=0;for(u=0;u<d;++u)if(0!=(p=s[u])){f=U[o[u]]>>8-p;for(var g=(1<<7-p)-1;g>=0;--g)J[f|g<<p]=7&p|u<<3}var m=[];for(c=1;m.length<n+i;)switch(t+=7&(f=J[N(e,t)]),f>>>=3){case 16:for(a=3+R(e,t),t+=2,f=m[m.length-1];a-- >0;)m.push(f);break;case 17:for(a=3+I(e,t),t+=3;a-- >0;)m.push(0);break;case 18:for(a=11+N(e,t),t+=7;a-- >0;)m.push(0);break;default:m.push(f),c<f&&(c=f)}var b=m.slice(0,n),v=m.slice(n);for(u=n;u<286;++u)b[u]=0;for(u=i;u<30;++u)v[u]=0;return Q=V(b,K,286),ee=V(v,Z,30),t}function ne(e,t){var n=function(e,t){if(3==e[0]&&!(3&e[1]))return[ed(t),2];for(var n=0,i=0,r=td(t||1<<18),a=0,s=r.length>>>0,o=0,c=0;!(1&i);)if(i=I(e,n),n+=3,i>>>1!=0)for(i>>1==1?(o=9,c=5):(n=te(e,n),o=Q,c=ee);;){!t&&s<a+32767&&(s=(r=z(r,a+32767)).length);var l=P(e,n,o),h=i>>>1==1?G[l]:K[l];if(n+=15&h,(h>>>=4)>>>8&255){if(256==h)break;var d=(h-=257)<8?0:h-4>>2;d>5&&(d=0);var u=a+A[h];d>0&&(u+=P(e,n,d),n+=d),l=P(e,n,c),n+=15&(h=i>>>1==1?X[l]:Z[l]);var f=(h>>>=4)<4?0:h-2>>1,p=E[h];for(f>0&&(p+=P(e,n,f),n+=f),!t&&s<u&&(s=(r=z(r,u+100)).length);a<u;)r[a]=r[a-p],++a}else r[a++]=h}else{7&n&&(n+=8-(7&n));var g=e[n>>>3]|e[1+(n>>>3)]<<8;if(n+=32,g>0)for(!t&&s<a+g&&(s=(r=z(r,a+g)).length);g-- >0;)r[a++]=e[n>>>3],n+=8}return t?[r,n+7>>>3]:[r.slice(0,a),n+7>>>3]}(e.slice(e.l||0),t);return e.l+=n[1],n[0]}function ie(e,t){if(!e)throw new Error(t)}function re(e,t){var n= +/*::(*/e;Xf(n,0);var i={FileIndex:[],FullPaths:[]};u(i,{root:t.root});for(var r=n.length-4;(80!=n[r]||75!=n[r+1]||5!=n[r+2]||6!=n[r+3])&&r>=0;)--r;n.l=r+4,n.l+=4;var s=n.read_shift(2);n.l+=6;var o=n.read_shift(4);for(n.l=o,r=0;r<s;++r){n.l+=20;var c=n.read_shift(4),l=n.read_shift(4),h=n.read_shift(2),d=n.read_shift(2),f=n.read_shift(2);n.l+=8;var p=n.read_shift(4),g=a( +/*::(*/ +n.slice(n.l+h,n.l+h+d) +/*:: :any)*/);n.l+=h+d+f;var m=n.l;n.l=p+4,ae(n,c,l,i,g),n.l=m}return i}function ae(e,t,n,i,r){e.l+=2;var s=e.read_shift(2),o=e.read_shift(2),c=function(e){var t=65535&e.read_shift(2),n=65535&e.read_shift(2),i=new Date,r=31&n,a=15&(n>>>=5);n>>>=4,i.setMilliseconds(0),i.setFullYear(n+1980),i.setMonth(a-1),i.setDate(r);var s=31&t,o=63&(t>>>=5);return t>>>=6,i.setHours(t),i.setMinutes(o),i.setSeconds(s<<1),i}(e);if(8257&s)throw new Error("Unsupported ZIP encryption");e.read_shift(4);for(var l=e.read_shift(4),h=e.read_shift(4),d=e.read_shift(2),u=e.read_shift(2),f="",p=0;p<d;++p)f+=String.fromCharCode(e[e.l++]);if(u){var m=a( +/*::(*/ +e.slice(e.l,e.l+u) +/*:: :any)*/);(m[21589]||{}).mt&&(c=m[21589].mt),((r||{})[21589]||{}).mt&&(c=r[21589].mt)}e.l+=u;var b=e.slice(e.l,e.l+l);switch(o){case 8:b=function(e,t){if(!g)return ne(e,t);var n=new(0,g.InflateRaw),i=n._processChunk(e.slice(e.l),n._finishFlushFlag);return e.l+=n.bytesRead,i}(e,h);break;case 0:break; +// TODO: scan for magic number +default:throw new Error("Unsupported ZIP Compression method "+o)}var v=!1;8&s&&(134695760==e.read_shift(4)&&(e.read_shift(4),v=!0),l=e.read_shift(4),h=e.read_shift(4)),l!=t&&ie(v,"Bad compressed size: "+t+" != "+l),h!=n&&ie(v,"Bad uncompressed size: "+n+" != "+h),de(i,f,b,{unsafe:!0,mt:c})}var se={htm:"text/html",xml:"text/xml",gif:"image/gif",jpg:"image/jpeg",png:"image/png",mso:"application/x-mso",thmx:"application/vnd.ms-officetheme",sh33tj5:"application/octet-stream"};function oe(e,t){if(e.ctype)return e.ctype;var n=e.name||"",i=n.match(/\.([^\.]+)$/);return i&&se[i[1]]||t&&(i=(n=t).match(/[\.\\]([^\.\\])+$/))&&se[i[1]]?se[i[1]]:"application/octet-stream"}function ce(e){for(var t=Kh(e),n=[],i=0;i<t.length;i+=76)n.push(t.slice(i,i+76));return n.join("\r\n")+"\r\n"}function le(e){var t=e.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF=]/g,(function(e){var t=e.charCodeAt(0).toString(16).toUpperCase();return"="+(1==t.length?"0"+t:t)}));"\n"==(t=t.replace(/ $/gm,"=20").replace(/\t$/gm,"=09")).charAt(0)&&(t="=0D"+t.slice(1));for(var n=[],i=(t=t.replace(/\r(?!\n)/gm,"=0D").replace(/\n\n/gm,"\n=0A").replace(/([^\r\n])\n/gm,"$1=0A")).split("\r\n"),r=0;r<i.length;++r){var a=i[r];if(0!=a.length)for(var s=0;s<a.length;){var o=76,c=a.slice(s,s+o);"="==c.charAt(o-1)?o--:"="==c.charAt(o-2)?o-=2:"="==c.charAt(o-3)&&(o-=3),c=a.slice(s,s+o),(s+=o)<a.length&&(c+="="),n.push(c)}else n.push("")}return n.join("\r\n")}function he(e,t,n){for(var i,r="",a="",s="",o=0;o<10;++o){var c=t[o];if(!c||c.match(/^\s*$/))break;var l=c.match(/^(.*?):\s*([^\s].*)$/);if(l)switch(l[1].toLowerCase()){case"content-location":r=l[2].trim();break;case"content-type":s=l[2].trim();break;case"content-transfer-encoding":a=l[2].trim()}}switch(++o,a.toLowerCase()){case"base64":i=nd(Zh(t.slice(o).join("")));break;case"quoted-printable":i=function(e){for(var t=[],n=0;n<e.length;++n){for(var i=e[n];n<=e.length&&"="==i.charAt(i.length-1);)i=i.slice(0,i.length-1)+e[++n];t.push(i)}for(var r=0;r<t.length;++r)t[r]=t[r].replace(/[=][0-9A-Fa-f]{2}/g,(function(e){return String.fromCharCode(parseInt(e.slice(1),16))}));return nd(t.join("\r\n"))}(t.slice(o));break;default:throw new Error("Unsupported Content-Transfer-Encoding "+a)}var h=de(e,r.slice(n.length),i,{unsafe:!0});s&&(h.ctype=s)}function de(e,t,n,r){var a=r&&r.unsafe;a||u(e);var s=!a&&tu.find(e,t);if(!s){var o=e.FullPaths[0];t.slice(0,o.length)==o?o=t:("/"!=o.slice(-1)&&(o+="/"),o=(o+t).replace("//","/")),s={name:i(t),type:2},e.FileIndex.push(s),e.FullPaths.push(o),a||tu.utils.cfb_gc(e)}return s.content=n,s.size=n?n.length:0,r&&(r.CLSID&&(s.clsid=r.CLSID),r.mt&&(s.mt=r.mt),r.ct&&(s.ct=r.ct)),s}return t.find=function(e,t){var n=e.FullPaths.map((function(e){return e.toUpperCase()})),i=n.map((function(e){var t=e.split("/");return t[t.length-("/"==e.slice(-1)?2:1)]})),r=!1;47===t.charCodeAt(0)?(r=!0,t=n[0].slice(0,-1)+t):r=-1!==t.indexOf("/");var a=t.toUpperCase(),s=!0===r?n.indexOf(a):i.indexOf(a);if(-1!==s)return e.FileIndex[s];var o=!a.match(od);for(a=a.replace(sd,""),o&&(a=a.replace(od,"!")),s=0;s<n.length;++s){if((o?n[s].replace(od,"!"):n[s]).replace(sd,"")==a)return e.FileIndex[s];if((o?i[s].replace(od,"!"):i[s]).replace(sd,"")==a)return e.FileIndex[s]}return null},t.read=function(t,n){var i=n&&n.type;switch(i||Jh&&Buffer.isBuffer(t)&&(i="buffer"),i||"base64"){case"file":return function(t,n){return s(),o(e.readFileSync(t),n)}(t,n);case"base64":return o(nd(Zh(t)),n);case"binary":return o(nd(t),n)}return o( +/*::typeof blob == 'string' ? new Buffer(blob, 'utf-8') : */ +t,n)},t.parse=o,t.write=function(t,n){var i=p(t,n);switch(n&&n.type||"buffer"){case"file":return s(),e.writeFileSync(n.filename,i),i;case"binary":return"string"==typeof i?i:_(i);case"base64":return Kh("string"==typeof i?i:_(i));case"buffer":if(Jh)return Buffer.isBuffer(i)?i:Qh(i); +/* falls through */case"array":return"string"==typeof i?nd(i):i}return i},t.writeFile=function(t,n,i){s();var r=p(t,i);e.writeFileSync(n,r)},t.utils={cfb_new:function(e){var t={};return u(t,e),t},cfb_add:de,cfb_del:function(e,t){u(e);var n=tu.find(e,t);if(n)for(var i=0;i<e.FileIndex.length;++i)if(e.FileIndex[i]==n)return e.FileIndex.splice(i,1),e.FullPaths.splice(i,1),!0;return!1},cfb_mov:function(e,t,n){u(e);var r=tu.find(e,t);if(r)for(var a=0;a<e.FileIndex.length;++a)if(e.FileIndex[a]==r)return e.FileIndex[a].name=i(n),e.FullPaths[a]=n,!0;return!1},cfb_gc:function(e){f(e,!0)},ReadShift:Bf,CheckField:Gf,prep_blob:Xf,bconcat:ad,use_zlib:function(e){try{var t=new(0,e.InflateRaw);if(t._processChunk(new Uint8Array([3,0]),t._finishFlushFlag),!t.bytesRead)throw new Error("zlib does not expose bytesRead");g=e}catch(n){}},_deflateRaw:Y,_inflateRaw:ne,consts:x},t}();function nu(e){for(var t=Object.keys(e),n=[],i=0;i<t.length;++i)Object.prototype.hasOwnProperty.call(e,t[i])&&n.push(t[i]);return n}function iu(e){for(var t=[],n=nu(e),i=0;i!==n.length;++i)t[e[n[i]]]=n[i];return t}var ru=new Date(1899,11,30,0,0,0);function au(e,t){ +return(e.getTime()-(ru.getTime()+6e4*(e.getTimezoneOffset()-ru.getTimezoneOffset())))/864e5}var su=new Date,ou=ru.getTime()+6e4*(su.getTimezoneOffset()-ru.getTimezoneOffset()),cu=su.getTimezoneOffset();function lu(e){var t=new Date;return t.setTime(24*e*60*60*1e3+ou),t.getTimezoneOffset()!==cu&&t.setTime(t.getTime()+6e4*(t.getTimezoneOffset()-cu)),t}function hu(e){var t=0,n=0,i=!1,r=e.match(/P([0-9\.]+Y)?([0-9\.]+M)?([0-9\.]+D)?T([0-9\.]+H)?([0-9\.]+M)?([0-9\.]+S)?/);if(!r)throw new Error("|"+e+"| is not an ISO8601 Duration");for(var a=1;a!=r.length;++a)if(r[a]){switch(n=1,a>3&&(i=!0),r[a].slice(r[a].length-1)){case"Y":throw new Error("Unsupported ISO Duration Field: "+r[a].slice(r[a].length-1));case"D":n*=24; +/* falls through */case"H":n*=60; +/* falls through */case"M":if(!i)throw new Error("Unsupported ISO Duration Field: M");n*=60}t+=n*parseInt(r[a],10)}return t}var du=new Date("2017-02-19T19:06:09.000Z"),uu=isNaN(du.getFullYear())?new Date("2/19/17"):du,fu=2017==uu.getFullYear();function pu(e,t){var n=new Date(e);if(fu)return t>0?n.setTime(n.getTime()+60*n.getTimezoneOffset()*1e3):t<0&&n.setTime(n.getTime()-60*n.getTimezoneOffset()*1e3),n;if(e instanceof Date)return e;if(1917==uu.getFullYear()&&!isNaN(n.getFullYear())){var i=n.getFullYear();return e.indexOf(""+i)>-1||n.setFullYear(n.getFullYear()+100),n}var r=e.match(/\d+/g)||["2017","2","19","0","0","0"],a=new Date(+r[0],+r[1]-1,+r[2],+r[3]||0,+r[4]||0,+r[5]||0);return e.indexOf("Z")>-1&&(a=new Date(a.getTime()-60*a.getTimezoneOffset()*1e3)),a}function gu(e,t){if(Jh&&Buffer.isBuffer(e)){if(t){if(255==e[0]&&254==e[1])return Qu(e.slice(2).toString("utf16le"));if(254==e[1]&&255==e[2])return Qu(Vh(e.slice(2).toString("binary")))}return e.toString("binary")}if("undefined"!=typeof TextDecoder)try{if(t){if(255==e[0]&&254==e[1])return Qu(new TextDecoder("utf-16le").decode(e.slice(2)));if(254==e[0]&&255==e[1])return Qu(new TextDecoder("utf-16be").decode(e.slice(2)))}var n={"€":"","‚":"","ƒ":"","„":"","…":" ","†":"","‡":"","ˆ":"","‰":"","Š":"","‹":"","Œ":"","Ž":"","‘":"","’":"","“":"","”":"","•":"","–":"","—":"","˜":"","™":"","š":"","›":"","œ":"","ž":"","Ÿ":""};return Array.isArray(e)&&(e=new Uint8Array(e)),new TextDecoder("latin1").decode(e).replace(/[€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ]/g,(function(e){return n[e]||e}))}catch(a){}for(var i=[],r=0;r!=e.length;++r)i.push(String.fromCharCode(e[r]));return i.join("")}function mu(e){if("undefined"!=typeof JSON&&!Array.isArray(e))return JSON.parse(JSON.stringify(e));if("object"!=typeof e||null==e)return e;if(e instanceof Date)return new Date(e.getTime());var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=mu(e[n]));return t}function bu(e,t){for(var n="";n.length<t;)n+=e;return n}function vu(e){var t=Number(e);if(!isNaN(t))return isFinite(t)?t:NaN;if(!/\d/.test(e))return t;var n=1,i=e.replace(/([\d]),([\d])/g,"$1$2").replace(/[$]/g,"").replace(/[%]/g,(function(){return n*=100,""}));return isNaN(t=Number(i))?(i=i.replace(/[(](.*)[)]/,(function(e,t){return n=-n,t})),isNaN(t=Number(i))?t:t/n):t/n}var yu=["january","february","march","april","may","june","july","august","september","october","november","december"];function wu(e){var t=new Date(e),n=new Date(NaN),i=t.getYear(),r=t.getMonth(),a=t.getDate();if(isNaN(a))return n;var s=e.toLowerCase();if(s.match(/jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec/)){if((s=s.replace(/[^a-z]/g,"").replace(/([^a-z]|^)[ap]m?([^a-z]|$)/,"")).length>3&&-1==yu.indexOf(s))return n}else if(s.match(/[a-z]/))return n;return i<0||i>8099?n:(r>0||a>1)&&101!=i?t:e.match(/[^-0-9:,\/\\]/)?n:t}var xu=function(){var e=5=="abacaba".split(/(:?b)/i).length;return function(t,n,i){if(e||"string"==typeof n)return t.split(n);for(var r=t.split(n),a=[r[0]],s=1;s<r.length;++s)a.push(i),a.push(r[s]);return a}}();function _u(e){return e?e.content&&e.type?gu(e.content,!0):e.data?Xh(e.data):e.asNodeBuffer&&Jh?Xh(e.asNodeBuffer().toString("binary")):e.asBinary?Xh(e.asBinary()):e._data&&e._data.getContent?Xh(gu(Array.prototype.slice.call(e._data.getContent(),0))):null:null}function Tu(e){if(!e)return null;if(e.data)return Hh(e.data);if(e.asNodeBuffer&&Jh)return e.asNodeBuffer();if(e._data&&e._data.getContent){var t=e._data.getContent();return"string"==typeof t?Hh(t):Array.prototype.slice.call(t)}return e.content&&e.type?e.content:null}function Du(e,t){for(var n=e.FullPaths||nu(e.files),i=t.toLowerCase().replace(/[\/]/g,"\\"),r=i.replace(/\\/g,"/"),a=0;a<n.length;++a){var s=n[a].replace(/^Root Entry[\/]/,"").toLowerCase();if(i==s||r==s)return e.files?e.files[n[a]]:e.FileIndex[a]}return null}function Au(e,t){var n=Du(e,t);if(null==n)throw new Error("Cannot find file "+t+" in zip");return n}function Eu(e,t,n){if(!n)return(i=Au(e,t))&&".bin"===i.name.slice(-4)?Tu(i):_u(i);var i;if(!t)return null;try{return Eu(e,t)}catch(r){return null}}function ku(e,t,n){if(!n)return _u(Au(e,t));if(!t)return null;try{return ku(e,t)}catch(i){return null}}function Su(e){for(var t=e.FullPaths||nu(e.files),n=[],i=0;i<t.length;++i)"/"!=t[i].slice(-1)&&n.push(t[i].replace(/^Root Entry[\/]/,""));return n.sort()}function Cu(e,t,n){if(e.FullPaths){var i;if("string"==typeof n)return i=Jh?Qh(n):function(e){for(var t=[],n=0,i=e.length+250,r=ed(e.length+255),a=0;a<e.length;++a){var s=e.charCodeAt(a);if(s<128)r[n++]=s;else if(s<2048)r[n++]=192|s>>6&31,r[n++]=128|63&s;else if(s>=55296&&s<57344){s=64+(1023&s);var o=1023&e.charCodeAt(++a);r[n++]=240|s>>8&7,r[n++]=128|s>>2&63,r[n++]=128|o>>6&15|(3&s)<<4,r[n++]=128|63&o}else r[n++]=224|s>>12&15,r[n++]=128|s>>6&63,r[n++]=128|63&s;n>i&&(t.push(r.slice(0,n)),n=0,r=ed(65535),i=65530)}return t.push(r.slice(0,n)),ad(t)}(n),tu.utils.cfb_add(e,t,i);tu.utils.cfb_add(e,t,n)}else e.file(t,n)}function Uu(e,t){switch(t.type){case"base64":return tu.read(e,{type:"base64"});case"binary":return tu.read(e,{type:"binary"});case"buffer":case"array":return tu.read(e,{type:"buffer"})}throw new Error("Unrecognized type "+t.type)}function Fu(e,t){if("/"==e.charAt(0))return e.slice(1);var n=t.split("/");"/"!=t.slice(-1)&&n.pop();for(var i=e.split("/");0!==i.length;){var r=i.shift();".."===r?n.pop():"."!==r&&n.push(r)}return n.join("/")}var Mu='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r\n',Ru=/([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g,Iu=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s*[\/\?]?>/gm,Ou=Mu.match(Iu)?Iu:/<[^>]*>/g,Nu=/<\w*:/,Pu=/<(\/?)\w+:/;function Lu(e,t,n){for(var i={},r=0,a=0;r!==e.length&&(32!==(a=e.charCodeAt(r))&&10!==a&&13!==a);++r);if(t||(i[0]=e.slice(0,r)),r===e.length)return i;var s=e.match(Ru),o=0,c="",l=0,h="",d="",u=1;if(s)for(l=0;l!=s.length;++l){for(d=s[l],a=0;a!=d.length&&61!==d.charCodeAt(a);++a);for(h=d.slice(0,a).trim();32==d.charCodeAt(a+1);)++a;for(u=34==(r=d.charCodeAt(a+1))||39==r?1:0,c=d.slice(a+1+u,d.length-u),o=0;o!=h.length&&58!==h.charCodeAt(o);++o);if(o===h.length)h.indexOf("_")>0&&(h=h.slice(0,h.indexOf("_"))),i[h]=c,i[h.toLowerCase()]=c;else{var f=(5===o&&"xmlns"===h.slice(0,5)?"xmlns":"")+h.slice(o+1);if(i[f]&&"ext"==h.slice(o-3,o))continue;i[f]=c,i[f.toLowerCase()]=c}}return i}function Wu(e){return e.replace(Pu,"<$1")}var Bu={""":'"',"'":"'",">":">","<":"<","&":"&"},ju=iu(Bu),zu=function(){var e=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/gi,t=/_x([\da-fA-F]{4})_/gi;return function n(i){var r=i+"",a=r.indexOf("<![CDATA[");if(-1==a)return r.replace(e,(function(e,t){return Bu[e]||String.fromCharCode(parseInt(t,e.indexOf("x")>-1?16:10))||e})).replace(t,(function(e,t){return String.fromCharCode(parseInt(t,16))}));var s=r.indexOf("]]>");return n(r.slice(0,a))+r.slice(a+9,s)+n(r.slice(s+3))}}(),Hu=/[&<>'"]/g,Vu=/[\u0000-\u001f]/g;function Gu(e){return(e+"").replace(Hu,(function(e){return ju[e]})).replace(/\n/g,"<br/>").replace(Vu,(function(e){return"&#x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+";"}))}var Xu=function(){var e=/&#(\d+);/g;function t(e,t){return String.fromCharCode(parseInt(t,10))}return function(n){return n.replace(e,t)}}();function $u(e){switch(e){case 1:case!0:case"1":case"true":case"TRUE":return!0; +/* case '0': case 'false': case 'FALSE':*/default:return!1}}function qu(e){for(var t="",n=0,i=0,r=0,a=0,s=0,o=0;n<e.length;)(i=e.charCodeAt(n++))<128?t+=String.fromCharCode(i):(r=e.charCodeAt(n++),i>191&&i<224?(s=(31&i)<<6,s|=63&r,t+=String.fromCharCode(s)):(a=e.charCodeAt(n++),i<240?t+=String.fromCharCode((15&i)<<12|(63&r)<<6|63&a):(o=((7&i)<<18|(63&r)<<12|(63&a)<<6|63&(s=e.charCodeAt(n++)))-65536,t+=String.fromCharCode(55296+(o>>>10&1023)),t+=String.fromCharCode(56320+(1023&o)))));return t}function Yu(e){var t,n,i,r=ed(2*e.length),a=1,s=0,o=0;for(n=0;n<e.length;n+=a)a=1,(i=e.charCodeAt(n))<128?t=i:i<224?(t=64*(31&i)+(63&e.charCodeAt(n+1)),a=2):i<240?(t=4096*(15&i)+64*(63&e.charCodeAt(n+1))+(63&e.charCodeAt(n+2)),a=3):(a=4,t=262144*(7&i)+4096*(63&e.charCodeAt(n+1))+64*(63&e.charCodeAt(n+2))+(63&e.charCodeAt(n+3)),o=55296+((t-=65536)>>>10&1023),t=56320+(1023&t)),0!==o&&(r[s++]=255&o,r[s++]=o>>>8,o=0),r[s++]=t%256,r[s++]=t>>>8;return r.slice(0,s).toString("ucs2")}function Ku(e){return Qh(e,"binary").toString("utf8")}var Zu="foo bar bazâð£",Ju=Jh&&(Ku(Zu)==qu(Zu)&&Ku||Yu(Zu)==qu(Zu)&&Yu)||qu,Qu=Jh?function(e){return Qh(e,"utf8").toString("binary")}:function(e){for(var t=[],n=0,i=0,r=0;n<e.length;)switch(i=e.charCodeAt(n++),!0){case i<128:t.push(String.fromCharCode(i));break;case i<2048:t.push(String.fromCharCode(192+(i>>6))),t.push(String.fromCharCode(128+(63&i)));break;case i>=55296&&i<57344:i-=55296,r=e.charCodeAt(n++)-56320+(i<<10),t.push(String.fromCharCode(240+(r>>18&7))),t.push(String.fromCharCode(144+(r>>12&63))),t.push(String.fromCharCode(128+(r>>6&63))),t.push(String.fromCharCode(128+(63&r)));break;default:t.push(String.fromCharCode(224+(i>>12))),t.push(String.fromCharCode(128+(i>>6&63))),t.push(String.fromCharCode(128+(63&i)))}return t.join("")},ef=function(){var e={};return function(t,n){var i=t+"|"+(n||"");return e[i]?e[i]:e[i]=new RegExp("<(?:\\w+:)?"+t+'(?: xml:space="preserve")?(?:[^>]*)>([\\s\\S]*?)</(?:\\w+:)?'+t+">",n||"")}}(),tf=function(){var e=[["nbsp"," "],["middot","·"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map((function(e){return[new RegExp("&"+e[0]+";","ig"),e[1]]}));return function(t){for(var n=t.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+</g,"<").replace(/[\t\n\r ]+/g," ").replace(/<\s*[bB][rR]\s*\/?>/g,"\n").replace(/<[^>]*>/g,""),i=0;i<e.length;++i)n=n.replace(e[i][0],e[i][1]);return n}}(),nf=function(){var e={};return function(t){return void 0!==e[t]?e[t]:e[t]=new RegExp("<(?:vt:)?"+t+">([\\s\\S]*?)</(?:vt:)?"+t+">","g")}}(),rf=/<\/?(?:vt:)?variant>/g,af=/<(?:vt:)([^>]*)>([\s\S]*)</;function sf(e,t){var n=Lu(e),i=e.match(nf(n.baseType))||[],r=[];if(i.length!=n.size){if(t.WTF)throw new Error("unexpected vector length "+i.length+" != "+n.size);return r}return i.forEach((function(e){var t=e.replace(rf,"").match(af);t&&r.push({v:Ju(t[2]),t:t[1]})})),r}var of=/(^\s|\s$|\n)/;function cf(e,t,n){return"<"+e+(null!=n?function(e){return nu(e).map((function(t){return" "+t+'="'+e[t]+'"'})).join("")}(n):"")+(null!=t?(t.match(of)?' xml:space="preserve"':"")+">"+t+"</"+e:"/")+">"}function lf(e){if(Jh&&/*::typeof Buffer !== "undefined" && d != null && d instanceof Buffer &&*/ +Buffer.isBuffer(e))return e.toString("utf8");if("string"==typeof e)return e;if("undefined"!=typeof Uint8Array&&e instanceof Uint8Array)return Ju(id(rd(e)));throw new Error("Bad input format: expected Buffer or string")}var hf=/<(\/?)([^\s?><!\/:]*:|)([^\s?<>:\/]+)(?:[\s?:\/][^>]*)?>/gm,df="http://schemas.openxmlformats.org/package/2006/content-types",uf=["http://schemas.openxmlformats.org/spreadsheetml/2006/main","http://purl.oclc.org/ooxml/spreadsheetml/main","http://schemas.microsoft.com/office/excel/2006/main","http://schemas.microsoft.com/office/excel/2006/2"];var ff=function(e){for(var t=[],n=0;n<e[0].length;++n)if(e[0][n])for(var i=0,r=e[0][n].length;i<r;i+=10240)t.push.apply(t,e[0][n].slice(i,i+10240));return t},pf=Jh?function(e){return e[0].length>0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0].map((function(e){return Buffer.isBuffer(e)?e:Qh(e)}))):ff(e)}:ff,gf=function(e,t,n){for(var i=[],r=t;r<n;r+=2)i.push(String.fromCharCode(Of(e,r)));return i.join("").replace(sd,"")},mf=Jh?function(e,t,n){return Buffer.isBuffer(e)?e.toString("utf16le",t,n).replace(sd,""):gf(e,t,n)}:gf,bf=function(e,t,n){for(var i=[],r=t;r<t+n;++r)i.push(("0"+e[r].toString(16)).slice(-2));return i.join("")},vf=Jh?function(e,t,n){return Buffer.isBuffer(e)?e.toString("hex",t,t+n):bf(e,t,n)}:bf,yf=function(e,t,n){for(var i=[],r=t;r<n;r++)i.push(String.fromCharCode(If(e,r)));return i.join("")},wf=Jh?function(e,t,n){return Buffer.isBuffer(e)?e.toString("utf8",t,n):yf(e,t,n)}:yf,xf=function(e,t){var n=Pf(e,t);return n>0?wf(e,t+4,t+4+n-1):""},_f=xf,Tf=function(e,t){var n=Pf(e,t);return n>0?wf(e,t+4,t+4+n-1):""},Df=Tf,Af=function(e,t){var n=2*Pf(e,t);return n>0?wf(e,t+4,t+4+n-1):""},Ef=Af,kf=function(e,t){var n=Pf(e,t);return n>0?mf(e,t+4,t+4+n):""},Sf=kf,Cf=function(e,t){var n=Pf(e,t);return n>0?wf(e,t+4,t+4+n):""},Uf=Cf,Ff=function(e,t){return function(e,t){for(var n=1-2*(e[t+7]>>>7),i=((127&e[t+7])<<4)+(e[t+6]>>>4&15),r=15&e[t+6],a=5;a>=0;--a)r=256*r+e[t+a];return 2047==i?0==r?n*(1/0):NaN:(0==i?i=-1022:(i-=1023,r+=Math.pow(2,52)),n*Math.pow(2,i-52)*r)}(e,t)},Mf=Ff,Rf=function(e){return Array.isArray(e)||"undefined"!=typeof Uint8Array&&e instanceof Uint8Array};Jh&&(_f=function(e,t){if(!Buffer.isBuffer(e))return xf(e,t);var n=e.readUInt32LE(t);return n>0?e.toString("utf8",t+4,t+4+n-1):""},Df=function(e,t){if(!Buffer.isBuffer(e))return Tf(e,t);var n=e.readUInt32LE(t);return n>0?e.toString("utf8",t+4,t+4+n-1):""},Ef=function(e,t){if(!Buffer.isBuffer(e))return Af(e,t);var n=2*e.readUInt32LE(t);return e.toString("utf16le",t+4,t+4+n-1)},Sf=function(e,t){if(!Buffer.isBuffer(e))return kf(e,t);var n=e.readUInt32LE(t);return e.toString("utf16le",t+4,t+4+n)},Uf=function(e,t){if(!Buffer.isBuffer(e))return Cf(e,t);var n=e.readUInt32LE(t);return e.toString("utf8",t+4,t+4+n)},Mf=function(e,t){return Buffer.isBuffer(e)?e.readDoubleLE(t):Ff(e,t)},Rf=function(e){return Buffer.isBuffer(e)||Array.isArray(e)||"undefined"!=typeof Uint8Array&&e instanceof Uint8Array});var If=function(e,t){return e[t]},Of=function(e,t){return 256*e[t+1]+e[t]},Nf=function(e,t){var n=256*e[t+1]+e[t];return n<32768?n:-1*(65535-n+1)},Pf=function(e,t){return e[t+3]*(1<<24)+(e[t+2]<<16)+(e[t+1]<<8)+e[t]},Lf=function(e,t){return e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]},Wf=function(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]};function Bf(e,t){var n,i,r,a,s,o,c="",l=[];switch(t){case"dbcs":if(o=this.l,Jh&&Buffer.isBuffer(this))c=this.slice(this.l,this.l+2*e).toString("utf16le");else for(s=0;s<e;++s)c+=String.fromCharCode(Of(this,o)),o+=2;e*=2;break;case"utf8":c=wf(this,this.l,this.l+e);break;case"utf16le":e*=2,c=mf(this,this.l,this.l+e);break;case"wstr":return Bf.call(this,e,"dbcs"); +/* [MS-OLEDS] 2.1.4 LengthPrefixedAnsiString */case"lpstr-ansi":c=_f(this,this.l),e=4+Pf(this,this.l);break;case"lpstr-cp":c=Df(this,this.l),e=4+Pf(this,this.l);break; +/* [MS-OLEDS] 2.1.5 LengthPrefixedUnicodeString */case"lpwstr":c=Ef(this,this.l),e=4+2*Pf(this,this.l);break; +/* [MS-OFFCRYPTO] 2.1.2 Length-Prefixed Padded Unicode String (UNICODE-LP-P4) */case"lpp4":e=4+Pf(this,this.l),c=Sf(this,this.l),2&e&&(e+=2);break; +/* [MS-OFFCRYPTO] 2.1.3 Length-Prefixed UTF-8 String (UTF-8-LP-P4) */case"8lpp4":e=4+Pf(this,this.l),c=Uf(this,this.l),3&e&&(e+=4-(3&e));break;case"cstr":for(e=0,c="";0!==(r=If(this,this.l+e++));)l.push($h(r));c=l.join("");break;case"_wstr":for(e=0,c="";0!==(r=Of(this,this.l+e));)l.push($h(r)),e+=2;e+=2,c=l.join("");break; +/* sbcs and dbcs support continue records in the SST way TODO codepages */case"dbcs-cont":for(c="",o=this.l,s=0;s<e;++s){if(this.lens&&-1!==this.lens.indexOf(o))return r=If(this,o),this.l=o+1,a=Bf.call(this,e-s,r?"dbcs-cont":"sbcs-cont"),l.join("")+a;l.push($h(Of(this,o))),o+=2}c=l.join(""),e*=2;break;case"cpstr": +/* falls through */case"sbcs-cont":for(c="",o=this.l,s=0;s!=e;++s){if(this.lens&&-1!==this.lens.indexOf(o))return r=If(this,o),this.l=o+1,a=Bf.call(this,e-s,r?"dbcs-cont":"sbcs-cont"),l.join("")+a;l.push($h(If(this,o))),o+=1}c=l.join("");break;default:switch(e){case 1:return n=If(this,this.l),this.l++,n;case 2:return n=("i"===t?Nf:Of)(this,this.l),this.l+=2,n;case 4:case-4:return"i"!==t&&128&this[this.l+3]?(i=Pf(this,this.l),this.l+=4,i):(n=(e>0?Lf:Wf)(this,this.l),this.l+=4,n);case 8:case-8:if("f"===t)return i=8==e?Mf(this,this.l):Mf([this[this.l+7],this[this.l+6],this[this.l+5],this[this.l+4],this[this.l+3],this[this.l+2],this[this.l+1],this[this.l+0]],0),this.l+=8,i; +/* falls through */e=8;case 16:c=vf(this,this.l,e)}}return this.l+=e,c}var jf=function(e,t,n){e[n]=255&t,e[n+1]=t>>>8&255,e[n+2]=t>>>16&255,e[n+3]=t>>>24&255},zf=function(e,t,n){e[n]=255&t,e[n+1]=t>>8&255,e[n+2]=t>>16&255,e[n+3]=t>>24&255},Hf=function(e,t,n){e[n]=255&t,e[n+1]=t>>>8&255};function Vf(e,t,n){var i=0,r=0;if("dbcs"===n){for(r=0;r!=t.length;++r)Hf(this,t.charCodeAt(r),this.l+2*r);i=2*t.length}else if("sbcs"===n){for(t=t.replace(/[^\x00-\x7F]/g,"_"),r=0;r!=t.length;++r)this[this.l+r]=255&t.charCodeAt(r);i=t.length}else{if("hex"===n){for(;r<e;++r)this[this.l++]=parseInt(t.slice(2*r,2*r+2),16)||0;return this}if("utf16le"===n){var a=Math.min(this.l+e,this.length);for(r=0;r<Math.min(t.length,e);++r){var s=t.charCodeAt(r);this[this.l++]=255&s,this[this.l++]=s>>8}for(;this.l<a;)this[this.l++]=0;return this}switch(e){case 1:i=1,this[this.l]=255&t;break;case 2:i=2,this[this.l]=255&t,t>>>=8,this[this.l+1]=255&t;break;case 3:i=3,this[this.l]=255&t,t>>>=8,this[this.l+1]=255&t,t>>>=8,this[this.l+2]=255&t;break;case 4:i=4,jf(this,t,this.l);break;case 8:if(i=8,"f"===n){!function(e,t,n){var i=(t<0||1/t==-1/0?1:0)<<7,r=0,a=0,s=i?-t:t;isFinite(s)?0==s?r=a=0:(r=Math.floor(Math.log(s)/Math.LN2),a=s*Math.pow(2,52-r),r<=-1023&&(!isFinite(a)||a<Math.pow(2,52))?r=-1022:(a-=Math.pow(2,52),r+=1023)):(r=2047,a=isNaN(t)?26985:0);for(var o=0;o<=5;++o,a/=256)e[n+o]=255&a;e[n+6]=(15&r)<<4|15&a,e[n+7]=r>>4|i}(this,t,this.l);break} +/* falls through */case 16:break;case-4:i=4,zf(this,t,this.l)}}return this.l+=i,this}function Gf(e,t){var n=vf(this,this.l,e.length>>1);if(n!==e)throw new Error(t+"Expected "+e+" saw "+n);this.l+=e.length>>1}function Xf(e,t){e.l=t,e.read_shift=/*::(*/ +Bf,e.chk=Gf,e.write_shift=Vf}function $f(e,t){e.l+=t}function qf(e){var t=ed(e);return Xf(t,0),t}function Yf(e,t,n){if(e){var i,r,a;Xf(e,e.l||0);for(var s=e.length,o=0,c=0;e.l<s;){128&(o=e.read_shift(1))&&(o=(127&o)+((127&e.read_shift(1))<<7));var l=ty[o]||ty[65535];for(a=127&(i=e.read_shift(1)),r=1;r<4&&128&i;++r)a+=(127&(i=e.read_shift(1)))<<7*r;c=e.l+a;var h=l.f&&l.f(e,a,n);if(e.l=c,t(h,l,o))return}}}function Kf(){var e=[],t=Jh?256:2048,n=function(e){var t=qf(e);return Xf(t,0),t},i=n(t),r=function(){i&&(i.length>i.l&&((i=i.slice(0,i.l)).l=i.length),i.length>0&&e.push(i),i=null)},a=function(e){return i&&e<i.length-i.l?i:(r(),i=n(Math.max(e+1,t)))};return{next:a,push:function(e){r(),null==(i=e).l&&(i.l=i.length),a(t)},end:function(){return r(),ad(e)},_bufs:e}}function Zf(e,t,n){var i=mu(e);if(t.s?(i.cRel&&(i.c+=t.s.c),i.rRel&&(i.r+=t.s.r)):(i.cRel&&(i.c+=t.c),i.rRel&&(i.r+=t.r)),!n||n.biff<12){for(;i.c>=256;)i.c-=256;for(;i.r>=65536;)i.r-=65536}return i}function Jf(e,t,n){var i=mu(e);return i.s=Zf(i.s,t.s,n),i.e=Zf(i.e,t.s,n),i}function Qf(e,t){if(e.cRel&&e.c<0)for(e=mu(e);e.c<0;)e.c+=t>8?16384:256;if(e.rRel&&e.r<0)for(e=mu(e);e.r<0;)e.r+=t>8?1048576:t>5?65536:16384;var n=sp(e);return e.cRel||null==e.cRel||(n=n.replace(/^([A-Z])/,"$$$1")),e.rRel||null==e.rRel||(n=function(e){return e.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}(n)),n}function ep(e,t){return 0!=e.s.r||e.s.rRel||e.e.r!=(t.biff>=12?1048575:t.biff>=8?65536:16384)||e.e.rRel?0!=e.s.c||e.s.cRel||e.e.c!=(t.biff>=12?16383:255)||e.e.cRel?Qf(e.s,t.biff)+":"+Qf(e.e,t.biff):(e.s.rRel?"":"$")+np(e.s.r)+":"+(e.e.rRel?"":"$")+np(e.e.r):(e.s.cRel?"":"$")+rp(e.s.c)+":"+(e.e.cRel?"":"$")+rp(e.e.c)}function tp(e){return parseInt(e.replace(/\$(\d+)$/,"$1"),10)-1}function np(e){return""+(e+1)}function ip(e){for(var t=e.replace(/^\$([A-Z])/,"$1"),n=0,i=0;i!==t.length;++i)n=26*n+t.charCodeAt(i)-64;return n-1}function rp(e){if(e<0)throw new Error("invalid column "+e);var t="";for(++e;e;e=Math.floor((e-1)/26))t=String.fromCharCode((e-1)%26+65)+t;return t}function ap(e){for(var t=0,n=0,i=0;i<e.length;++i){var r=e.charCodeAt(i);r>=48&&r<=57?t=10*t+(r-48):r>=65&&r<=90&&(n=26*n+(r-64))}return{c:n-1,r:t-1}}function sp(e){for(var t=e.c+1,n="";t;t=(t-1)/26|0)n=String.fromCharCode((t-1)%26+65)+n;return n+(e.r+1)}function op(e){var t=e.indexOf(":");return-1==t?{s:ap(e),e:ap(e)}:{s:ap(e.slice(0,t)),e:ap(e.slice(t+1))}}function cp(e,t){return void 0===t||"number"==typeof t?cp(e.s,e.e):("string"!=typeof e&&(e=sp(e)),"string"!=typeof t&&(t=sp(t)),e==t?e:e+":"+t)}function lp(e){var t={s:{c:0,r:0},e:{c:0,r:0}},n=0,i=0,r=0,a=e.length;for(n=0;i<a&&!((r=e.charCodeAt(i)-64)<1||r>26);++i)n=26*n+r;for(t.s.c=--n,n=0;i<a&&!((r=e.charCodeAt(i)-48)<0||r>9);++i)n=10*n+r;if(t.s.r=--n,i===a||10!=r)return t.e.c=t.s.c,t.e.r=t.s.r,t;for(++i,n=0;i!=a&&!((r=e.charCodeAt(i)-64)<1||r>26);++i)n=26*n+r;for(t.e.c=--n,n=0;i!=a&&!((r=e.charCodeAt(i)-48)<0||r>9);++i)n=10*n+r;return t.e.r=--n,t}function hp(e,t){var n="d"==e.t&&t instanceof Date;if(null!=e.z)try{return e.w=Yd(e.z,n?au(t):t)}catch(i){}try{return e.w=Yd((e.XF||{}).numFmtId||(n?14:0),n?au(t):t)}catch(i){return""+t}}function dp(e,t,n){return null==e||null==e.t||"z"==e.t?"":void 0!==e.w?e.w:("d"==e.t&&!e.z&&n&&n.dateNF&&(e.z=n.dateNF),"e"==e.t?Lp[e.v]||e.v:hp(e,null==t?e.v:t))}function up(e,t){var n=t&&t.sheet?t.sheet:"Sheet1",i={};return i[n]=e,{SheetNames:[n],Sheets:i}}function fp(e,t,n){var i=n||{},r=e?Array.isArray(e):i.dense,a=e||(r?[]:{}),s=0,o=0;if(a&&null!=i.origin){if("number"==typeof i.origin)s=i.origin;else{var c="string"==typeof i.origin?ap(i.origin):i.origin;s=c.r,o=c.c}a["!ref"]||(a["!ref"]="A1:A1")}var l={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(a["!ref"]){var h=lp(a["!ref"]);l.s.c=h.s.c,l.s.r=h.s.r,l.e.c=Math.max(l.e.c,h.e.c),l.e.r=Math.max(l.e.r,h.e.r),-1==s&&(l.e.r=s=h.e.r+1)}for(var d=0;d!=t.length;++d)if(t[d]){if(!Array.isArray(t[d]))throw new Error("aoa_to_sheet expects an array of arrays");for(var u=0;u!=t[d].length;++u)if(void 0!==t[d][u]){var f={v:t[d][u]},p=s+d,g=o+u;if(l.s.r>p&&(l.s.r=p),l.s.c>g&&(l.s.c=g),l.e.r<p&&(l.e.r=p),l.e.c<g&&(l.e.c=g),!t[d][u]||"object"!=typeof t[d][u]||Array.isArray(t[d][u])||t[d][u]instanceof Date)if(Array.isArray(f.v)&&(f.f=t[d][u][1],f.v=f.v[0]),null===f.v)if(f.f)f.t="n";else if(i.nullError)f.t="e",f.v=0;else{if(!i.sheetStubs)continue;f.t="z"}else"number"==typeof f.v?f.t="n":"boolean"==typeof f.v?f.t="b":f.v instanceof Date?(f.z=i.dateNF||bd[14],i.cellDates?(f.t="d",f.w=Yd(f.z,au(f.v))):(f.t="n",f.v=au(f.v),f.w=Yd(f.z,f.v))):f.t="s";else f=t[d][u];if(r)a[p]||(a[p]=[]),a[p][g]&&a[p][g].z&&(f.z=a[p][g].z),a[p][g]=f;else{var m=sp({c:g,r:p});a[m]&&a[m].z&&(f.z=a[m].z),a[m]=f}}}return l.s.c<1e7&&(a["!ref"]=cp(l)),a}function pp(e,t){return fp(null,e,t)}function gp(e){var t=e.read_shift(4);return 0===t?"":e.read_shift(t,"dbcs")}function mp(e){return{ich:e.read_shift(2),ifnt:e.read_shift(2)}}function bp(e,t){var n=e.l,i=e.read_shift(1),r=gp(e),a=[],s={t:r,h:r};if(1&i){for(var o=e.read_shift(4),c=0;c!=o;++c)a.push(mp(e));s.r=a}else s.r=[{ich:0,ifnt:0}];return e.l=n+t,s}var vp=bp;function yp(e){var t=e.read_shift(4),n=e.read_shift(2);return n+=e.read_shift(1)<<16,e.l++,{c:t,iStyleRef:n}}function wp(e){var t=e.read_shift(2);return t+=e.read_shift(1)<<16,e.l++,{c:-1,iStyleRef:t}}var xp=gp;function _p(e){var t=e.read_shift(4);return 0===t||4294967295===t?"":e.read_shift(t,"dbcs")}var Tp=gp,Dp=_p;function Ap(e){var t=e.slice(e.l,e.l+4),n=1&t[0],i=2&t[0];e.l+=4;var r=0===i?Mf([0,0,0,0,252&t[0],t[1],t[2],t[3]],0):Lf(t,0)>>2;return n?r/100:r}function Ep(e){var t={s:{},e:{}};return t.s.r=e.read_shift(4),t.e.r=e.read_shift(4),t.s.c=e.read_shift(4),t.e.c=e.read_shift(4),t}var kp=Ep;function Sp(e){if(e.length-e.l<8)throw"XLS Xnum Buffer underflow";return e.read_shift(8,"f")}function Cp(e,t){var n=e.read_shift(4);switch(n){case 0:return"";case 4294967295:case 4294967294:return{2:"BITMAP",3:"METAFILEPICT",8:"DIB",14:"ENHMETAFILE"}[e.read_shift(4)]||""}if(n>400)throw new Error("Unsupported Clipboard: "+n.toString(16));return e.l-=4,e.read_shift(0,1==t?"lpstr":"lpwstr")}var Up=80,Fp=[Up,81],Mp={ +/*::[*/ +1:{n:"CodePage",t:2}, +/*::[*/ +2:{n:"Category",t:Up}, +/*::[*/ +3:{n:"PresentationFormat",t:Up}, +/*::[*/ +4:{n:"ByteCount",t:3}, +/*::[*/ +5:{n:"LineCount",t:3}, +/*::[*/ +6:{n:"ParagraphCount",t:3}, +/*::[*/ +7:{n:"SlideCount",t:3}, +/*::[*/ +8:{n:"NoteCount",t:3}, +/*::[*/ +9:{n:"HiddenCount",t:3}, +/*::[*/ +10:{n:"MultimediaClipCount",t:3}, +/*::[*/ +11:{n:"ScaleCrop",t:11}, +/*::[*/ +12:{n:"HeadingPairs",t:4108 +/* VT_VECTOR | VT_VARIANT */}, +/*::[*/ +13:{n:"TitlesOfParts",t:4126 +/* VT_VECTOR | VT_LPSTR */}, +/*::[*/ +14:{n:"Manager",t:Up}, +/*::[*/ +15:{n:"Company",t:Up}, +/*::[*/ +16:{n:"LinksUpToDate",t:11}, +/*::[*/ +17:{n:"CharacterCount",t:3}, +/*::[*/ +19:{n:"SharedDoc",t:11}, +/*::[*/ +22:{n:"HyperlinksChanged",t:11}, +/*::[*/ +23:{n:"AppVersion",t:3,p:"version"}, +/*::[*/ +24:{n:"DigSig",t:65}, +/*::[*/ +26:{n:"ContentType",t:Up}, +/*::[*/ +27:{n:"ContentStatus",t:Up}, +/*::[*/ +28:{n:"Language",t:Up}, +/*::[*/ +29:{n:"Version",t:Up}, +/*::[*/ +255:{}, +/* [MS-OLEPS] 2.18 */ +/*::[*/ +2147483648:{n:"Locale",t:19}, +/*::[*/ +2147483651:{n:"Behavior",t:19}, +/*::[*/ +1919054434:{}},Rp={ +/*::[*/ +1:{n:"CodePage",t:2}, +/*::[*/ +2:{n:"Title",t:Up}, +/*::[*/ +3:{n:"Subject",t:Up}, +/*::[*/ +4:{n:"Author",t:Up}, +/*::[*/ +5:{n:"Keywords",t:Up}, +/*::[*/ +6:{n:"Comments",t:Up}, +/*::[*/ +7:{n:"Template",t:Up}, +/*::[*/ +8:{n:"LastAuthor",t:Up}, +/*::[*/ +9:{n:"RevNumber",t:Up}, +/*::[*/ +10:{n:"EditTime",t:64}, +/*::[*/ +11:{n:"LastPrinted",t:64}, +/*::[*/ +12:{n:"CreatedDate",t:64}, +/*::[*/ +13:{n:"ModifiedDate",t:64}, +/*::[*/ +14:{n:"PageCount",t:3}, +/*::[*/ +15:{n:"WordCount",t:3}, +/*::[*/ +16:{n:"CharCount",t:3}, +/*::[*/ +17:{n:"Thumbnail",t:71}, +/*::[*/ +18:{n:"Application",t:Up}, +/*::[*/ +19:{n:"DocSecurity",t:3}, +/*::[*/ +255:{}, +/* [MS-OLEPS] 2.18 */ +/*::[*/ +2147483648:{n:"Locale",t:19}, +/*::[*/ +2147483651:{n:"Behavior",t:19}, +/*::[*/ +1919054434:{}},Ip={ +/*::[*/ +1:"US", +// United States +/*::[*/ +2:"CA", +// Canada +/*::[*/ +3:"", +// Latin America (except Brazil) +/*::[*/ +7:"RU", +// Russia +/*::[*/ +20:"EG", +// Egypt +/*::[*/ +30:"GR", +// Greece +/*::[*/ +31:"NL", +// Netherlands +/*::[*/ +32:"BE", +// Belgium +/*::[*/ +33:"FR", +// France +/*::[*/ +34:"ES", +// Spain +/*::[*/ +36:"HU", +// Hungary +/*::[*/ +39:"IT", +// Italy +/*::[*/ +41:"CH", +// Switzerland +/*::[*/ +43:"AT", +// Austria +/*::[*/ +44:"GB", +// United Kingdom +/*::[*/ +45:"DK", +// Denmark +/*::[*/ +46:"SE", +// Sweden +/*::[*/ +47:"NO", +// Norway +/*::[*/ +48:"PL", +// Poland +/*::[*/ +49:"DE", +// Germany +/*::[*/ +52:"MX", +// Mexico +/*::[*/ +55:"BR", +// Brazil +/*::[*/ +61:"AU", +// Australia +/*::[*/ +64:"NZ", +// New Zealand +/*::[*/ +66:"TH", +// Thailand +/*::[*/ +81:"JP", +// Japan +/*::[*/ +82:"KR", +// Korea +/*::[*/ +84:"VN", +// Viet Nam +/*::[*/ +86:"CN", +// China +/*::[*/ +90:"TR", +// Turkey +/*::[*/ +105:"JS", +// Ramastan +/*::[*/ +213:"DZ", +// Algeria +/*::[*/ +216:"MA", +// Morocco +/*::[*/ +218:"LY", +// Libya +/*::[*/ +351:"PT", +// Portugal +/*::[*/ +354:"IS", +// Iceland +/*::[*/ +358:"FI", +// Finland +/*::[*/ +420:"CZ", +// Czech Republic +/*::[*/ +886:"TW", +// Taiwan +/*::[*/ +961:"LB", +// Lebanon +/*::[*/ +962:"JO", +// Jordan +/*::[*/ +963:"SY", +// Syria +/*::[*/ +964:"IQ", +// Iraq +/*::[*/ +965:"KW", +// Kuwait +/*::[*/ +966:"SA", +// Saudi Arabia +/*::[*/ +971:"AE", +// United Arab Emirates +/*::[*/ +972:"IL", +// Israel +/*::[*/ +974:"QA", +// Qatar +/*::[*/ +981:"IR", +// Iran +/*::[*/ +65535:"US"},Op=[null,"solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];function Np(e){return e.map((function(e){return[e>>16&255,e>>8&255,255&e]}))}var Pp=mu(Np([ +/* Color Constants */ +0,16777215,16711680,65280,255,16776960,16711935,65535, +/* Overridable Defaults */ +0,16777215,16711680,65280,255,16776960,16711935,65535,8388608,32768,128,8421376,8388736,32896,12632256,8421504,10066431,10040166,16777164,13434879,6684774,16744576,26316,13421823,128,16711935,16776960,65535,8388736,8388608,32896,255,52479,13434879,13434828,16777113,10079487,16751052,13408767,16764057,3368703,3394764,10079232,16763904,16750848,16737792,6710937,9868950,13158,3381606,13056,3355392,10040064,10040166,3355545,3355443, +/* Other entries to appease BIFF8/12 */ +16777215, +/* 0x40 icvForeground ?? */ +0, +/* 0x41 icvBackground ?? */ +0, +/* 0x42 icvFrame ?? */ +0, +/* 0x43 icv3D ?? */ +0, +/* 0x44 icv3DText ?? */ +0, +/* 0x45 icv3DHilite ?? */ +0, +/* 0x46 icv3DShadow ?? */ +0, +/* 0x47 icvHilite ?? */ +0, +/* 0x48 icvCtlText ?? */ +0, +/* 0x49 icvCtlScrl ?? */ +0, +/* 0x4A icvCtlInv ?? */ +0, +/* 0x4B icvCtlBody ?? */ +0, +/* 0x4C icvCtlFrame ?? */ +0, +/* 0x4D icvCtlFore ?? */ +0, +/* 0x4E icvCtlBack ?? */ +0, +/* 0x4F icvCtlNeutral */ +0, +/* 0x50 icvInfoBk ?? */ +0 +/* 0x51 icvInfoText ?? */])),Lp={ +/*::[*/ +0:"#NULL!", +/*::[*/ +7:"#DIV/0!", +/*::[*/ +15:"#VALUE!", +/*::[*/ +23:"#REF!", +/*::[*/ +29:"#NAME?", +/*::[*/ +36:"#NUM!", +/*::[*/ +42:"#N/A", +/*::[*/ +43:"#GETTING_DATA", +/*::[*/ +255:"#WTF?"},Wp={"#NULL!":0,"#DIV/0!":7,"#VALUE!":15,"#REF!":23,"#NAME?":29,"#NUM!":36,"#N/A":42,"#GETTING_DATA":43,"#WTF?":255},Bp={ +/* Workbook */ +"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.sheet.macroEnabled.main+xml":"workbooks","application/vnd.ms-excel.sheet.binary.macroEnabled.main":"workbooks","application/vnd.ms-excel.addin.macroEnabled.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":"workbooks", +/* Worksheet */ +"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":"sheets","application/vnd.ms-excel.worksheet":"sheets","application/vnd.ms-excel.binIndexWs":"TODO", +/* Binary Index */ +/* Chartsheet */ +"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":"charts","application/vnd.ms-excel.chartsheet":"charts", +/* Macrosheet */ +"application/vnd.ms-excel.macrosheet+xml":"macros","application/vnd.ms-excel.macrosheet":"macros","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO", +/* Binary Index */ +/* Dialogsheet */ +"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":"dialogs","application/vnd.ms-excel.dialogsheet":"dialogs", +/* Shared Strings */ +"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml":"strs","application/vnd.ms-excel.sharedStrings":"strs", +/* Styles */ +"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":"styles","application/vnd.ms-excel.styles":"styles", +/* File Properties */ +"application/vnd.openxmlformats-package.core-properties+xml":"coreprops","application/vnd.openxmlformats-officedocument.custom-properties+xml":"custprops","application/vnd.openxmlformats-officedocument.extended-properties+xml":"extprops", +/* Custom Data Properties */ +"application/vnd.openxmlformats-officedocument.customXmlProperties+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty":"TODO", +/* Comments */ +"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":"comments","application/vnd.ms-excel.comments":"comments","application/vnd.ms-excel.threadedcomments+xml":"threadedcomments","application/vnd.ms-excel.person+xml":"people", +/* Metadata (Stock/Geography and Dynamic Array) */ +"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"metadata","application/vnd.ms-excel.sheetMetadata":"metadata", +/* PivotTable */ +"application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO", +/* Chart Objects */ +"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO", +/* Chart Colors */ +"application/vnd.ms-office.chartcolorstyle+xml":"TODO", +/* Chart Style */ +"application/vnd.ms-office.chartstyle+xml":"TODO", +/* Chart Advanced */ +"application/vnd.ms-office.chartex+xml":"TODO", +/* Calculation Chain */ +"application/vnd.ms-excel.calcChain":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml":"calcchains", +/* Printer Settings */ +"application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings":"TODO", +/* ActiveX */ +"application/vnd.ms-office.activeX":"TODO","application/vnd.ms-office.activeX+xml":"TODO", +/* Custom Toolbars */ +"application/vnd.ms-excel.attachedToolbars":"TODO", +/* External Data Connections */ +"application/vnd.ms-excel.connections":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":"TODO", +/* External Links */ +"application/vnd.ms-excel.externalLink":"links","application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":"links", +/* PivotCache */ +"application/vnd.ms-excel.pivotCacheDefinition":"TODO","application/vnd.ms-excel.pivotCacheRecords":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml":"TODO", +/* Query Table */ +"application/vnd.ms-excel.queryTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml":"TODO", +/* Shared Workbook */ +"application/vnd.ms-excel.userNames":"TODO","application/vnd.ms-excel.revisionHeaders":"TODO","application/vnd.ms-excel.revisionLog":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml":"TODO", +/* Single Cell Table */ +"application/vnd.ms-excel.tableSingleCells":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml":"TODO", +/* Slicer */ +"application/vnd.ms-excel.slicer":"TODO","application/vnd.ms-excel.slicerCache":"TODO","application/vnd.ms-excel.slicer+xml":"TODO","application/vnd.ms-excel.slicerCache+xml":"TODO", +/* Sort Map */ +"application/vnd.ms-excel.wsSortMap":"TODO", +/* Table */ +"application/vnd.ms-excel.table":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":"TODO", +/* Themes */ +"application/vnd.openxmlformats-officedocument.theme+xml":"themes", +/* Theme Override */ +"application/vnd.openxmlformats-officedocument.themeOverride+xml":"TODO", +/* Timeline */ +"application/vnd.ms-excel.Timeline+xml":"TODO", +/* verify */ +"application/vnd.ms-excel.TimelineCache+xml":"TODO", +/* verify */ +/* VBA */ +"application/vnd.ms-office.vbaProject":"vba","application/vnd.ms-office.vbaProjectSignature":"TODO", +/* Volatile Dependencies */ +"application/vnd.ms-office.volatileDependencies":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml":"TODO", +/* Control Properties */ +"application/vnd.ms-excel.controlproperties+xml":"TODO", +/* Data Model */ +"application/vnd.openxmlformats-officedocument.model+data":"TODO", +/* Survey */ +"application/vnd.ms-excel.Survey+xml":"TODO", +/* Drawing */ +"application/vnd.openxmlformats-officedocument.drawing+xml":"drawings","application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml":"TODO", +/* VML */ +"application/vnd.openxmlformats-officedocument.vmlDrawing":"TODO","application/vnd.openxmlformats-package.relationships+xml":"rels","application/vnd.openxmlformats-officedocument.oleObject":"TODO", +/* Image */ +"image/png":"TODO",sheet:"js"};var jp={WB:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",SHEET:"http://sheetjs.openxmlformats.org/officeDocument/2006/relationships/officeDocument",HLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",VML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",XPATH:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath",XMISS:"http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing",XLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink",CXML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",CXMLP:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps",CMNT:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties",SST:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",STY:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",THEME:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",CHART:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",CHARTEX:"http://schemas.microsoft.com/office/2014/relationships/chartEx",CS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet",WS:["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"],DS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet",MS:"http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet",IMG:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",DRAW:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",XLMETA:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata",TCMNT:"http://schemas.microsoft.com/office/2017/10/relationships/threadedComment",PEOPLE:"http://schemas.microsoft.com/office/2017/10/relationships/person",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function zp(e){var t=e.lastIndexOf("/");return e.slice(0,t+1)+"_rels/"+e.slice(t+1)+".rels"}function Hp(e,t){var n={"!id":{}};if(!e)return n;"/"!==t.charAt(0)&&(t="/"+t);var i={};return(e.match(Ou)||[]).forEach((function(e){var r=Lu(e);if("<Relationship"===r[0]){var a={};a.Type=r.Type,a.Target=r.Target,a.Id=r.Id,r.TargetMode&&(a.TargetMode=r.TargetMode);var s="External"===r.TargetMode?r.Target:Fu(r.Target,t);n[s]=a,i[r.Id]=a}})),n["!id"]=i,n}var Vp=[["cp:category","Category"],["cp:contentStatus","ContentStatus"],["cp:keywords","Keywords"],["cp:lastModifiedBy","LastAuthor"],["cp:lastPrinted","LastPrinted"],["cp:revision","RevNumber"],["cp:version","Version"],["dc:creator","Author"],["dc:description","Comments"],["dc:identifier","Identifier"],["dc:language","Language"],["dc:subject","Subject"],["dc:title","Title"],["dcterms:created","CreatedDate","date"],["dcterms:modified","ModifiedDate","date"]],Gp=function(){for(var e=new Array(Vp.length),t=0;t<Vp.length;++t){var n=Vp[t],i="(?:"+n[0].slice(0,n[0].indexOf(":"))+":)"+n[0].slice(n[0].indexOf(":")+1);e[t]=new RegExp("<"+i+"[^>]*>([\\s\\S]*?)</"+i+">")}return e}();function Xp(e){var t={};e=Ju(e);for(var n=0;n<Vp.length;++n){var i=Vp[n],r=e.match(Gp[n]);null!=r&&r.length>0&&(t[i[1]]=zu(r[1])),"date"===i[2]&&t[i[1]]&&(t[i[1]]=pu(t[i[1]]))}return t}var $p=[["Application","Application","string"],["AppVersion","AppVersion","string"],["Company","Company","string"],["DocSecurity","DocSecurity","string"],["Manager","Manager","string"],["HyperlinksChanged","HyperlinksChanged","bool"],["SharedDoc","SharedDoc","bool"],["LinksUpToDate","LinksUpToDate","bool"],["ScaleCrop","ScaleCrop","bool"],["HeadingPairs","HeadingPairs","raw"],["TitlesOfParts","TitlesOfParts","raw"]];function qp(e,t,n,i){var r=[];if("string"==typeof e)r=sf(e,i);else for(var a=0;a<e.length;++a)r=r.concat(e[a].map((function(e){return{v:e}})));var s="string"==typeof t?sf(t,i).map((function(e){return e.v})):t,o=0,c=0;if(s.length>0)for(var l=0;l!==r.length;l+=2){switch(c=+r[l+1].v,r[l].v){case"Worksheets":case"工作表":case"Листы":case"أوراق العمل":case"ワークシート":case"גליונות עבודה":case"Arbeitsblätter":case"Çalışma Sayfaları":case"Feuilles de calcul":case"Fogli di lavoro":case"Folhas de cálculo":case"Planilhas":case"Regneark":case"Hojas de cálculo":case"Werkbladen":n.Worksheets=c,n.SheetNames=s.slice(o,o+c);break;case"Named Ranges":case"Rangos con nombre":case"名前付き一覧":case"Benannte Bereiche":case"Navngivne områder":n.NamedRanges=c,n.DefinedNames=s.slice(o,o+c);break;case"Charts":case"Diagramme":n.Chartsheets=c,n.ChartNames=s.slice(o,o+c)}o+=c}}var Yp=/<[^>]+>[^<]*/g;var Kp,Zp={Title:"Title",Subject:"Subject",Author:"Author",Keywords:"Keywords",Comments:"Description",LastAuthor:"LastAuthor",RevNumber:"Revision",Application:"AppName", +/* TotalTime: 'TotalTime', */ +LastPrinted:"LastPrinted",CreatedDate:"Created",ModifiedDate:"LastSaved", +/* Pages */ +/* Words */ +/* Characters */ +Category:"Category", +/* PresentationFormat */ +Manager:"Manager",Company:"Company", +/* Guid */ +/* HyperlinkBase */ +/* Bytes */ +/* Lines */ +/* Paragraphs */ +/* CharactersWithSpaces */ +AppVersion:"Version",ContentStatus:"ContentStatus", +/* NOTE: missing from schema */ +Identifier:"Identifier", +/* NOTE: missing from schema */ +Language:"Language" +/* NOTE: missing from schema */};function Jp(e,t,n){Kp||(Kp=iu(Zp)),e[t=Kp[t]||t]=n}function Qp(e){var t=e.read_shift(4),n=e.read_shift(4);return new Date(1e3*(n/1e7*Math.pow(2,32)+t/1e7-11644473600)).toISOString().replace(/\.000/,"")}function eg(e,t,n){var i=e.l,r=e.read_shift(0,"lpstr-cp");if(n)for(;e.l-i&3;)++e.l;return r}function tg(e,t,n){return e.read_shift(0,"lpwstr")}function ng(e,t,n){return 31===t?tg(e):eg(e,0,n)}function ig(e,t,n){return ng(e,t,!1===n?0:4)}function rg(e){var t=e.l,n=og(e,81);return 0==e[e.l]&&0==e[e.l+1]&&e.l-t&2&&(e.l+=2),[n,og(e,3)]}function ag(e,t){for(var n=e.read_shift(4),i={},r=0;r!=n;++r){var a=e.read_shift(4),s=e.read_shift(4);i[a]=e.read_shift(s,1200===t?"utf16le":"utf8").replace(sd,"").replace(od,"!"),1200===t&&s%2&&(e.l+=2)}return 3&e.l&&(e.l=e.l>>3<<2),i}function sg(e){var t=e.read_shift(4),n=e.slice(e.l,e.l+t);return e.l+=t,(3&t)>0&&(e.l+=4-(3&t)&3),n}function og(e,t,n){var i,r=e.read_shift(2),a=n||{};if(e.l+=2,12!==t&&r!==t&&-1===Fp.indexOf(t)&&(4126!=(65534&t)||4126!=(65534&r)))throw new Error("Expected type "+t+" saw "+r);switch(12===t?r:t){case 2:return i=e.read_shift(2,"i"),a.raw||(e.l+=2),i;case 3:return i=e.read_shift(4,"i");case 11:return 0!==e.read_shift(4);case 19:return i=e.read_shift(4);case 30:return eg(e,0,4).replace(sd,"");case 31:return tg(e);case 64:return Qp(e);case 65:return sg(e);case 71:return function(e){var t={};return t.Size=e.read_shift(4),e.l+=t.Size+3-(t.Size-1)%4,t}(e);case 80:return ig(e,r,!a.raw).replace(sd,"");case 81:return function(e,t){if(!t)throw new Error("VtUnalignedString must have positive length");return ng(e,t,0)}(e,r +/*, 4*/).replace(sd,"");case 4108:return function(e){for(var t=e.read_shift(4),n=[],i=0;i<t/2;++i)n.push(rg(e));return n}(e);case 4126:case 4127:return 4127==r?function(e){for(var t=e.read_shift(4),n=[],i=0;i!=t;++i){var r=e.l;n[i]=e.read_shift(0,"lpwstr").replace(sd,""),e.l-r&2&&(e.l+=2)}return n}(e):function(e){for(var t=e.read_shift(4),n=[],i=0;i!=t;++i)n[i]=e.read_shift(0,"lpstr-cp").replace(sd,"");return n}(e);default:throw new Error("TypedPropertyValue unrecognized type "+t+" "+r)}}function cg(e,t){var n=e.l,i=e.read_shift(4),r=e.read_shift(4),a=[],s=0,o=0,c=-1,l={};for(s=0;s!=r;++s){var h=e.read_shift(4),d=e.read_shift(4);a[s]=[h,d+n]}a.sort((function(e,t){return e[1]-t[1]}));var u={};for(s=0;s!=r;++s){if(e.l!==a[s][1]){var f=!0;if(s>0&&t)switch(t[a[s-1][0]].t){case 2:e.l+2===a[s][1]&&(e.l+=2,f=!1);break;case 80:case 4108:e.l<=a[s][1]&&(e.l=a[s][1],f=!1)}if((!t||0==s)&&e.l<=a[s][1]&&(f=!1,e.l=a[s][1]),f)throw new Error("Read Error: Expected address "+a[s][1]+" at "+e.l+" :"+s)}if(t){var p=t[a[s][0]];if(u[p.n]=og(e,p.t,{raw:!0}),"version"===p.p&&(u[p.n]=String(u[p.n]>>16)+"."+("0000"+String(65535&u[p.n])).slice(-4)),"CodePage"==p.n)switch(u[p.n]){case 0:u[p.n]=1252; +/* falls through */case 874:case 932:case 936:case 949:case 950:case 1250:case 1251:case 1253:case 1254:case 1255:case 1256:case 1257:case 1258:case 1e4:case 1200:case 1201:case 1252:case 65e3:case-536:case 65001:case-535:jh(o=u[p.n]>>>0&65535);break;default:throw new Error("Unsupported CodePage: "+u[p.n])}}else if(1===a[s][0]){if(o=u.CodePage=og(e,2),jh(o),-1!==c){var g=e.l;e.l=a[c][1],l=ag(e,o),e.l=g}}else if(0===a[s][0]){if(0===o){c=s,e.l=a[s+1][1];continue}l=ag(e,o)}else{var m,b=l[a[s][0]];switch(e[e.l]){case 65:e.l+=4,m=sg(e);break;case 30:case 31:e.l+=4,m=ig(e,e[e.l-4]).replace(/\u0000+$/,"");break;case 3:e.l+=4,m=e.read_shift(4,"i");break;case 19:e.l+=4,m=e.read_shift(4);break;case 5:e.l+=4,m=e.read_shift(8,"f");break;case 11:e.l+=4,m=dg(e,4);break;case 64:e.l+=4,m=pu(Qp(e));break;default:throw new Error("unparsed value: "+e[e.l])}u[b]=m}}return e.l=n+i,u}function lg(e,t,n){var i=e.content;if(!i)return{};Xf(i,0);var r,a,s,o,c=0;i.chk("feff","Byte Order: "),i.read_shift(2);var l=i.read_shift(4),h=i.read_shift(16);if(h!==tu.utils.consts.HEADER_CLSID&&h!==n)throw new Error("Bad PropertySet CLSID "+h);if(1!==(r=i.read_shift(4))&&2!==r)throw new Error("Unrecognized #Sets: "+r);if(a=i.read_shift(16),o=i.read_shift(4),1===r&&o!==i.l)throw new Error("Length mismatch: "+o+" !== "+i.l);2===r&&(s=i.read_shift(16),c=i.read_shift(4));var d,u=cg(i,t),f={SystemIdentifier:l};for(var p in u)f[p]=u[p];if(f.FMTID=a,1===r)return f;if(c-i.l==2&&(i.l+=2),i.l!==c)throw new Error("Length mismatch 2: "+i.l+" !== "+c);try{d=cg(i,null)}catch(g){}for(p in d)f[p]=d[p];return f.FMTID=[a,s],f}function hg(e,t){return e.read_shift(t),null}function dg(e,t){return 1===e.read_shift(t)}function ug(e){return e.read_shift(2,"u")}function fg(e,t){return function(e,t,n){for(var i=[],r=e.l+t;e.l<r;)i.push(n(e,r-e.l));if(r!==e.l)throw new Error("Slurp error");return i}(e,t,ug)}function pg(e,t,n){var i=e.read_shift(n&&n.biff>=12?2:1),r="sbcs-cont";(n&&n.biff,n&&8!=n.biff)?12==n.biff&&(r="wstr"):e.read_shift(1)&&(r="dbcs-cont");return n.biff>=2&&n.biff<=5&&(r="cpstr"),i?e.read_shift(i,r):""}function gg(e){var t,n=e.read_shift(2),i=e.read_shift(1),r=4&i,a=8&i,s=1+(1&i),o=0,c={};a&&(o=e.read_shift(2)),r&&(t=e.read_shift(4));var l=2==s?"dbcs-cont":"sbcs-cont",h=0===n?"":e.read_shift(n,l);return a&&(e.l+=4*o),r&&(e.l+=t),c.t=h,a||(c.raw="<t>"+c.t+"</t>",c.r=c.t),c}function mg(e,t,n){if(n){if(n.biff>=2&&n.biff<=5)return e.read_shift(t,"cpstr");if(n.biff>=12)return e.read_shift(t,"dbcs-cont")}return 0===e.read_shift(1)?e.read_shift(t,"sbcs-cont"):e.read_shift(t,"dbcs-cont")}function bg(e,t,n){var i=e.read_shift(n&&2==n.biff?1:2);return 0===i?(e.l++,""):mg(e,i,n)}function vg(e,t,n){if(n.biff>5)return bg(e,0,n);var i=e.read_shift(1);return 0===i?(e.l++,""):e.read_shift(i,n.biff<=4||!e.lens?"cpstr":"sbcs-cont")}function yg(e,t){var n=e.read_shift(16);switch(n){case"e0c9ea79f9bace118c8200aa004ba90b":return function(e){var t=e.read_shift(4),n=e.l,i=!1;t>24&&(e.l+=t-24,"795881f43b1d7f48af2c825dc4852763"===e.read_shift(16)&&(i=!0),e.l=n);var r=e.read_shift((i?t-24:t)>>1,"utf16le").replace(sd,"");return i&&(e.l+=24),r}(e);case"0303000000000000c000000000000046":return function(e){for(var t=e.read_shift(2),n="";t-- >0;)n+="../";var i=e.read_shift(0,"lpstr-ansi");if(e.l+=2,57005!=e.read_shift(2))throw new Error("Bad FileMoniker");if(0===e.read_shift(4))return n+i.replace(/\\/g,"/");var r=e.read_shift(4);if(3!=e.read_shift(2))throw new Error("Bad FileMoniker");return n+e.read_shift(r>>1,"utf16le").replace(sd,"")}(e);default:throw new Error("Unsupported Moniker "+n)}}function wg(e){var t=e.read_shift(4);return t>0?e.read_shift(t,"utf16le").replace(sd,""):""}function xg(e){return[e.read_shift(1),e.read_shift(1),e.read_shift(1),e.read_shift(1)]}function _g(e,t){var n=xg(e);return n[3]=0,n}function Tg(e){return{r:e.read_shift(2),c:e.read_shift(2),ixfe:e.read_shift(2)}}function Dg(e,t,n){var i=n.biff>8?4:2;return[e.read_shift(i),e.read_shift(i,"i"),e.read_shift(i,"i")]}function Ag(e){return[e.read_shift(2),Ap(e)]}function Eg(e){var t=e.read_shift(2),n=e.read_shift(2);return{s:{c:e.read_shift(2),r:t},e:{c:e.read_shift(2),r:n}}}function kg(e){var t=e.read_shift(2),n=e.read_shift(2);return{s:{c:e.read_shift(1),r:t},e:{c:e.read_shift(1),r:n}}}var Sg=kg;function Cg(e){e.l+=4;var t=e.read_shift(2),n=e.read_shift(2),i=e.read_shift(2);return e.l+=12,[n,t,i]}function Ug(e){e.l+=2,e.l+=e.read_shift(2)}var Fg={ +/*::[*/ +0:Ug, +/* FtEnd */ +/*::[*/ +4:Ug, +/* FtMacro */ +/*::[*/ +5:Ug, +/* FtButton */ +/*::[*/ +6:Ug, +/* FtGmo */ +/*::[*/ +7:function(e){return e.l+=4,e.cf=e.read_shift(2),{}}, +/* FtCf */ +/*::[*/ +8:Ug, +/* FtPioGrbit */ +/*::[*/ +9:Ug, +/* FtPictFmla */ +/*::[*/ +10:Ug, +/* FtCbls */ +/*::[*/ +11:Ug, +/* FtRbo */ +/*::[*/ +12:Ug, +/* FtSbs */ +/*::[*/ +13:function(e){var t={};return e.l+=4,e.l+=16,t.fSharedNote=e.read_shift(2),e.l+=4,t}, +/* FtNts */ +/*::[*/ +14:Ug, +/* FtSbsFmla */ +/*::[*/ +15:Ug, +/* FtGboData */ +/*::[*/ +16:Ug, +/* FtEdoData */ +/*::[*/ +17:Ug, +/* FtRboData */ +/*::[*/ +18:Ug, +/* FtCblsData */ +/*::[*/ +19:Ug, +/* FtLbsData */ +/*::[*/ +20:Ug, +/* FtCblsFmla */ +/*::[*/ +21:Cg};function Mg(e,t){var n={BIFFVer:0,dt:0};switch(n.BIFFVer=e.read_shift(2),(t-=2)>=2&&(n.dt=e.read_shift(2),e.l-=2),n.BIFFVer){case 1536: +/* BIFF8 */case 1280: +/* BIFF5 */case 1024: +/* BIFF4 */case 768: +/* BIFF3 */case 512: +/* BIFF2 */case 2:case 7:break;default:if(t>6)throw new Error("Unexpected BIFF Ver "+n.BIFFVer)}return e.read_shift(t),n}function Rg(e,t,n){var i=0;n&&2==n.biff||(i=e.read_shift(2));var r=e.read_shift(2);return n&&2==n.biff&&(i=1-(r>>15),r&=32767),[{Unsynced:1&i,DyZero:(2&i)>>1,ExAsc:(4&i)>>2,ExDsc:(8&i)>>3},r]}var Ig=vg;function Og(e,t,n){var i=e.l+t,r=8!=n.biff&&n.biff?2:4,a=e.read_shift(r),s=e.read_shift(r),o=e.read_shift(2),c=e.read_shift(2);return e.l=i,{s:{r:a,c:o},e:{r:s,c:c}}}function Ng(e,t,n){var i=Tg(e);2!=n.biff&&9!=t||++e.l;var r=function(e){var t=e.read_shift(1);return 1===e.read_shift(1)?t:1===t}(e);return i.val=r,i.t=!0===r||!1===r?"b":"e",i}var Pg=function(e,t,n){return 0===t?"":vg(e,0,n)};function Lg(e,t,n){var i,r=e.read_shift(2),a={fBuiltIn:1&r,fWantAdvise:r>>>1&1,fWantPict:r>>>2&1,fOle:r>>>3&1,fOleLink:r>>>4&1,cf:r>>>5&1023,fIcon:r>>>15&1};return 14849===n.sbcch&&(i=function(e,t,n){e.l+=4,t-=4;var i=e.l+t,r=pg(e,0,n),a=e.read_shift(2);if(a!==(i-=e.l))throw new Error("Malformed AddinUdf: padding = "+i+" != "+a);return e.l+=a,r}(e,t-2,n)),a.body=i||e.read_shift(t-2),"string"==typeof i&&(a.Name=i),a}var Wg=["_xlnm.Consolidate_Area","_xlnm.Auto_Open","_xlnm.Auto_Close","_xlnm.Extract","_xlnm.Database","_xlnm.Criteria","_xlnm.Print_Area","_xlnm.Print_Titles","_xlnm.Recorder","_xlnm.Data_Form","_xlnm.Auto_Activate","_xlnm.Auto_Deactivate","_xlnm.Sheet_Title","_xlnm._FilterDatabase"];function Bg(e,t,n){var i=e.l+t,r=e.read_shift(2),a=e.read_shift(1),s=e.read_shift(1),o=e.read_shift(n&&2==n.biff?1:2),c=0;(!n||n.biff>=5)&&(5!=n.biff&&(e.l+=2),c=e.read_shift(2),5==n.biff&&(e.l+=2),e.l+=4);var l=mg(e,s,n);32&r&&(l=Wg[l.charCodeAt(0)]);var h=i-e.l;n&&2==n.biff&&--h;var d=i!=e.l&&0!==o&&h>0?function(e,t,n,i){var r,a=e.l+t,s=kb(e,i,n);a!==e.l&&(r=Eb(e,a-e.l,s,n));return[s,r]}(e,h,n,o):[];return{chKey:a,Name:l,itab:c,rgce:d}}function jg(e,t,n){if(n.biff<8)return function(e,t,n){3==e[e.l+1]&&e[e.l]++;var i=pg(e,0,n);return 3==i.charCodeAt(0)?i.slice(1):i}(e,0,n);for(var i=[],r=e.l+t,a=e.read_shift(n.biff>8?4:2);0!=a--;)i.push(Dg(e,n.biff,n));if(e.l!=r)throw new Error("Bad ExternSheet: "+e.l+" != "+r);return i}function zg(e,t,n){var i=Sg(e);switch(n.biff){case 2:e.l++,t-=7;break;case 3:case 4:e.l+=2,t-=8;break;default:e.l+=6,t-=12}return[i,Rb(e,t,n)]}var Hg={8:function(e,t){var n=e.l+t;e.l+=10;var i=e.read_shift(2);e.l+=4,e.l+=2,e.l+=2,e.l+=2,e.l+=4;var r=e.read_shift(1);return e.l+=r,e.l=n,{fmt:i}}};function Vg(e,t,n){if(!n.cellStyles)return $f(e,t);var i=n&&n.biff>=12?4:2,r=e.read_shift(i),a=e.read_shift(i),s=e.read_shift(i),o=e.read_shift(i),c=e.read_shift(2);2==i&&(e.l+=2);var l={s:r,e:a,w:s,ixfe:o,flags:c};return(n.biff>=5||!n.biff)&&(l.level=c>>8&7),l}var Gg=Tg,Xg=fg,$g=bg;var qg=[2,3,48,49,131,139,140,245],Yg=function(){var e={ +/* Code Pages Supported by Visual FoxPro */ +/*::[*/ +1:437, +/*::[*/ +2:850, +/*::[*/ +3:1252, +/*::[*/ +4:1e4, +/*::[*/ +100:852, +/*::[*/ +101:866, +/*::[*/ +102:865, +/*::[*/ +103:861, +/*::[*/ +104:895, +/*::[*/ +105:620, +/*::[*/ +106:737, +/*::[*/ +107:857, +/*::[*/ +120:950, +/*::[*/ +121:949, +/*::[*/ +122:936, +/*::[*/ +123:932, +/*::[*/ +124:874, +/*::[*/ +125:1255, +/*::[*/ +126:1256, +/*::[*/ +150:10007, +/*::[*/ +151:10029, +/*::[*/ +152:10006, +/*::[*/ +200:1250, +/*::[*/ +201:1251, +/*::[*/ +202:1254, +/*::[*/ +203:1253, +/* shapefile DBF extension */ +/*::[*/ +0:20127, +/*::[*/ +8:865, +/*::[*/ +9:437, +/*::[*/ +10:850, +/*::[*/ +11:437, +/*::[*/ +13:437, +/*::[*/ +14:850, +/*::[*/ +15:437, +/*::[*/ +16:850, +/*::[*/ +17:437, +/*::[*/ +18:850, +/*::[*/ +19:932, +/*::[*/ +20:850, +/*::[*/ +21:437, +/*::[*/ +22:850, +/*::[*/ +23:865, +/*::[*/ +24:437, +/*::[*/ +25:437, +/*::[*/ +26:850, +/*::[*/ +27:437, +/*::[*/ +28:863, +/*::[*/ +29:850, +/*::[*/ +31:852, +/*::[*/ +34:852, +/*::[*/ +35:852, +/*::[*/ +36:860, +/*::[*/ +37:850, +/*::[*/ +38:866, +/*::[*/ +55:850, +/*::[*/ +64:852, +/*::[*/ +77:936, +/*::[*/ +78:949, +/*::[*/ +79:950, +/*::[*/ +80:874, +/*::[*/ +87:1252, +/*::[*/ +88:1252, +/*::[*/ +89:1252, +/*::[*/ +108:863, +/*::[*/ +134:737, +/*::[*/ +135:852, +/*::[*/ +136:857, +/*::[*/ +204:1257, +/*::[*/ +255:16969},t=iu({ +/*::[*/ +1:437, +/*::[*/ +2:850, +/*::[*/ +3:1252, +/*::[*/ +4:1e4, +/*::[*/ +100:852, +/*::[*/ +101:866, +/*::[*/ +102:865, +/*::[*/ +103:861, +/*::[*/ +104:895, +/*::[*/ +105:620, +/*::[*/ +106:737, +/*::[*/ +107:857, +/*::[*/ +120:950, +/*::[*/ +121:949, +/*::[*/ +122:936, +/*::[*/ +123:932, +/*::[*/ +124:874, +/*::[*/ +125:1255, +/*::[*/ +126:1256, +/*::[*/ +150:10007, +/*::[*/ +151:10029, +/*::[*/ +152:10006, +/*::[*/ +200:1250, +/*::[*/ +201:1251, +/*::[*/ +202:1254, +/*::[*/ +203:1253, +/*::[*/ +0:20127});function n(t,n){var i=n||{};i.dateNF||(i.dateNF="yyyymmdd");var r=pp(function(t,n){var i=[],r=ed(1);switch(n.type){case"base64":r=nd(Zh(t));break;case"binary":r=nd(t);break;case"buffer":case"array":r=t}Xf(r,0);var a=r.read_shift(1),s=!!(136&a),o=!1,c=!1;switch(a){case 2: +// dBASE II +case 3: +// dBASE III +// VFP with autoincrement +// 0x43 dBASE IV SQL table files +// 0x63 dBASE IV SQL system files +case 131: +// dBASE III with memo +case 139: +// dBASE IV with memo +// dBASE Level 7 with memo +// case 0xCB dBASE IV SQL table files with memo +case 245:break; +// FoxPro 2.x with memo +// case 0xFB FoxBASE +case 48: +// VFP +case 49:o=!0,s=!0;break;case 140:c=!0;break;default:throw new Error("DBF Unsupported Version: "+a.toString(16))}var l=0,h=521;2==a&&(l=r.read_shift(2)),r.l+=3,2!=a&&(l=r.read_shift(4)),l>1048576&&(l=1e6),2!=a&&(h=r.read_shift(2));var d=r.read_shift(2),u=n.codepage||1252;2!=a&&(r.l+=16,r.read_shift(1),0!==r[r.l]&&(u=e[r[r.l]]),r.l+=1,r.l+=2),c&&(r.l+=36);for(var f=[],p={},g=Math.min(r.length,2==a?521:h-10-(o?264:0)),m=c?32:11;r.l<g&&13!=r[r.l];)switch((p={}).name=Gh.utils.decode(u,r.slice(r.l,r.l+m)).replace(/[\u0000\r\n].*$/g,""),r.l+=m,p.type=String.fromCharCode(r.read_shift(1)),2==a||c||(p.offset=r.read_shift(4)),p.len=r.read_shift(1),2==a&&(p.offset=r.read_shift(2)),p.dec=r.read_shift(1),p.name.length&&f.push(p),2!=a&&(r.l+=c?13:14),p.type){case"B":(!o||8!=p.len)&&n.WTF;break;case"G": +// General (FoxPro and dBASE L7) +case"P":n.WTF;break;case"+": +// Autoincrement (dBASE L7 only) +case"0": +// _NullFlags (VFP only) +case"@": +// Timestamp (dBASE L7 only) +case"C": +// Character (dBASE II) +case"D": +// Date (dBASE III) +case"F": +// Float (dBASE IV) +case"I": +// Long (VFP and dBASE L7) +case"L": +// Logical (dBASE II) +case"M": +// Memo (dBASE III) +case"N": +// Number (dBASE II) +case"O": +// Double (dBASE L7 only) +case"T": +// Datetime (VFP only) +case"Y":break;default:throw new Error("Unknown Field Type: "+p.type)}if(13!==r[r.l]&&(r.l=h-1),13!==r.read_shift(1))throw new Error("DBF Terminator not found "+r.l+" "+r[r.l]);r.l=h;var b=0,v=0;for(i[0]=[],v=0;v!=f.length;++v)i[0][v]=f[v].name;for(;l-- >0;)if(42!==r[r.l])for(++r.l,i[++b]=[],v=0,v=0;v!=f.length;++v){var y=r.slice(r.l,r.l+f[v].len);r.l+=f[v].len,Xf(y,0);var w=Gh.utils.decode(u,y);switch(f[v].type){case"C":w.trim().length&&(i[b][v]=w.replace(/\s+$/,""));break;case"D":8===w.length?i[b][v]=new Date(+w.slice(0,4),+w.slice(4,6)-1,+w.slice(6,8)):i[b][v]=w;break;case"F":i[b][v]=parseFloat(w.trim());break;case"+":case"I":i[b][v]=c?2147483648^y.read_shift(-4,"i"):y.read_shift(4,"i");break;case"L":switch(w.trim().toUpperCase()){case"Y":case"T":i[b][v]=!0;break;case"N":case"F":i[b][v]=!1;break;case"":case"?":break;default:throw new Error("DBF Unrecognized L:|"+w+"|")}break;case"M":if(!s)throw new Error("DBF Unexpected MEMO for type "+a.toString(16));i[b][v]="##MEMO##"+(c?parseInt(w.trim(),10):y.read_shift(4));break;case"N":(w=w.replace(/\u0000/g,"").trim())&&"."!=w&&(i[b][v]=+w||0);break;case"@":i[b][v]=new Date(y.read_shift(-8,"f")-621356832e5);break;case"T":i[b][v]=new Date(864e5*(y.read_shift(4)-2440588)+y.read_shift(4));break;case"Y":i[b][v]=y.read_shift(4,"i")/1e4+y.read_shift(4,"i")/1e4*Math.pow(2,32);break;case"O":i[b][v]=-y.read_shift(-8,"f");break;case"B":if(o&&8==f[v].len){i[b][v]=y.read_shift(8,"f");break} +/* falls through */case"G":case"P":y.l+=f[v].len;break;case"0":if("_NullFlags"===f[v].name)break; +/* falls through */default:throw new Error("DBF Unsupported data type "+f[v].type)}}else r.l+=d;if(2!=a&&r.l<r.length&&26!=r[r.l++])throw new Error("DBF EOF Marker missing "+(r.l-1)+" of "+r.length+" "+r[r.l-1].toString(16));return n.sheetRows&&(i=i.slice(0,n.sheetRows)),n.DBF=f,i}(t,i),i);return r["!cols"]=i.DBF.map((function(e){return{wch:e.len,DBF:e}})),delete i.DBF,r}var i={B:8,C:250,L:1,D:8,"?":0,"":0};return{to_workbook:function(e,t){try{return up(n(e,t),t)}catch(i){if(t&&t.WTF)throw i}return{SheetNames:[],Sheets:{}}},to_sheet:n,from_sheet:function(e,n){var r=n||{};if(+r.codepage>=0&&jh(+r.codepage),"string"==r.type)throw new Error("Cannot write DBF to JS string");var a=Kf(),s=By(e,{header:1,raw:!0,cellDates:!0}),o=s[0],c=s.slice(1),l=e["!cols"]||[],h=0,d=0,u=0,f=1;for(h=0;h<o.length;++h)if(((l[h]||{}).DBF||{}).name)o[h]=l[h].DBF.name,++u;else if(null!=o[h]){if(++u,"number"==typeof o[h]&&(o[h]=o[h].toString(10)),"string"!=typeof o[h])throw new Error("DBF Invalid column name "+o[h]+" |"+typeof o[h]+"|");if(o.indexOf(o[h])!==h)for(d=0;d<1024;++d)if(-1==o.indexOf(o[h]+"_"+d)){o[h]+="_"+d;break}}var p=lp(e["!ref"]),g=[],m=[],b=[];for(h=0;h<=p.e.c-p.s.c;++h){var v="",y="",w=0,x=[];for(d=0;d<c.length;++d)null!=c[d][h]&&x.push(c[d][h]);if(0!=x.length&&null!=o[h]){for(d=0;d<x.length;++d){switch(typeof x[d]){ +/* TODO: check if L2 compat is desired */ +case"number":y="B";break;case"string":default:y="C";break;case"boolean":y="L";break;case"object":y=x[d]instanceof Date?"D":"C"}w=Math.max(w,String(x[d]).length),v=v&&v!=y?"C":y}w>250&&(w=250),"C"==(y=((l[h]||{}).DBF||{}).type)&&l[h].DBF.len>w&&(w=l[h].DBF.len),"B"==v&&"N"==y&&(v="N",b[h]=l[h].DBF.dec,w=l[h].DBF.len),m[h]="C"==v||"N"==y?w:i[v]||0,f+=m[h],g[h]=v}else g[h]="?"}var _=a.next(32);for(_.write_shift(4,318902576),_.write_shift(4,c.length),_.write_shift(2,296+32*u),_.write_shift(2,f),h=0;h<4;++h)_.write_shift(4,0);for(_.write_shift(4,(+t[ +/*::String(*/ +Ph +/*::)*/]||3)<<8),h=0,d=0;h<o.length;++h)if(null!=o[h]){var T=a.next(32),D=(o[h].slice(-10)+"\0\0\0\0\0\0\0\0\0\0\0").slice(0,11);T.write_shift(1,D,"sbcs"),T.write_shift(1,"?"==g[h]?"C":g[h],"sbcs"),T.write_shift(4,d),T.write_shift(1,m[h]||i[g[h]]||0),T.write_shift(1,b[h]||0),T.write_shift(1,2),T.write_shift(4,0),T.write_shift(1,0),T.write_shift(4,0),T.write_shift(4,0),d+=m[h]||i[g[h]]||0}var A=a.next(264);for(A.write_shift(4,13),h=0;h<65;++h)A.write_shift(4,0);for(h=0;h<c.length;++h){var E=a.next(f);for(E.write_shift(1,0),d=0;d<o.length;++d)if(null!=o[d])switch(g[d]){case"L":E.write_shift(1,null==c[h][d]?63:c[h][d]?84:70);break;case"B":E.write_shift(8,c[h][d]||0,"f");break;case"N":var k="0";for("number"==typeof c[h][d]&&(k=c[h][d].toFixed(b[d]||0)),u=0;u<m[d]-k.length;++u)E.write_shift(1,32);E.write_shift(1,k,"sbcs");break;case"D":c[h][d]?(E.write_shift(4,("0000"+c[h][d].getFullYear()).slice(-4),"sbcs"),E.write_shift(2,("00"+(c[h][d].getMonth()+1)).slice(-2),"sbcs"),E.write_shift(2,("00"+c[h][d].getDate()).slice(-2),"sbcs")):E.write_shift(8,"00000000","sbcs");break;case"C":var S=String(null!=c[h][d]?c[h][d]:"").slice(0,m[d]);for(E.write_shift(1,S,"sbcs"),u=0;u<m[d]-S.length;++u)E.write_shift(1,32)}}return a.next(1).write_shift(1,26),a.end()}}}(),Kg=function(){var e={AA:"À",BA:"Á",CA:"Â",DA:195,HA:"Ä",JA:197,AE:"È",BE:"É",CE:"Ê",HE:"Ë",AI:"Ì",BI:"Í",CI:"Î",HI:"Ï",AO:"Ò",BO:"Ó",CO:"Ô",DO:213,HO:"Ö",AU:"Ù",BU:"Ú",CU:"Û",HU:"Ü",Aa:"à",Ba:"á",Ca:"â",Da:227,Ha:"ä",Ja:229,Ae:"è",Be:"é",Ce:"ê",He:"ë",Ai:"ì",Bi:"í",Ci:"î",Hi:"ï",Ao:"ò",Bo:"ó",Co:"ô",Do:245,Ho:"ö",Au:"ù",Bu:"ú",Cu:"û",Hu:"ü",KC:"Ç",Kc:"ç",q:"æ",z:"œ",a:"Æ",j:"Œ",DN:209,Dn:241,Hy:255,S:169,c:170,R:174,"B ":180, +/*::[*/ +0:176, +/*::[*/ +1:177, +/*::[*/ +2:178, +/*::[*/ +3:179, +/*::[*/ +5:181, +/*::[*/ +6:182, +/*::[*/ +7:183,Q:185,k:186,b:208,i:216,l:222,s:240,y:248,"!":161,'"':162,"#":163,"(":164,"%":165,"'":167,"H ":168,"+":171,";":187,"<":188,"=":189,">":190,"?":191,"{":223},t=new RegExp("N("+nu(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm"),n=function(t,n){var i=e[n];return"number"==typeof i?qh(i):i},i=function(e,t,n){var i=t.charCodeAt(0)-32<<4|n.charCodeAt(0)-48;return 59==i?e:qh(i)};function r(e,r){var a,s=e.split(/[\n\r]+/),o=-1,c=-1,l=0,h=0,d=[],u=[],f=null,p={},g=[],m=[],b=[],v=0;for(+r.codepage>=0&&jh(+r.codepage);l!==s.length;++l){v=0;var y,w=s[l].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,i).replace(t,n),x=w.replace(/;;/g,"\0").split(";").map((function(e){return e.replace(/\u0000/g,";")})),_=x[0];if(w.length>0)switch(_){case"ID": +/* header */case"E": +/* EOF */case"B": +/* dimensions */case"O": +/* options? */case"W":break; +/* window? */case"P":"P"==x[1].charAt(0)&&u.push(w.slice(3).replace(/;;/g,";"));break;case"C":var T=!1,D=!1,A=!1,E=!1,k=-1,S=-1;for(h=1;h<x.length;++h)switch(x[h].charAt(0)){case"A": +// TODO: comment +case"G":break; +// unknown +case"X":c=parseInt(x[h].slice(1))-1,D=!0;break;case"Y":for(o=parseInt(x[h].slice(1))-1,D||(c=0),a=d.length;a<=o;++a)d[a]=[];break;case"K":'"'===(y=x[h].slice(1)).charAt(0)?y=y.slice(1,y.length-1):"TRUE"===y?y=!0:"FALSE"===y?y=!1:isNaN(vu(y))?isNaN(wu(y).getDate())||(y=pu(y)):(y=vu(y),null!==f&&Gd(f)&&(y=lu(y))),T=!0;break;case"E":E=!0;var C=tb(x[h].slice(1),{r:o,c:c});d[o][c]=[d[o][c],C];break;case"S":A=!0,d[o][c]=[d[o][c],"S5S"];break;case"R":k=parseInt(x[h].slice(1))-1;break;case"C":S=parseInt(x[h].slice(1))-1;break;default:if(r&&r.WTF)throw new Error("SYLK bad record "+w)}if(T&&(d[o][c]&&2==d[o][c].length?d[o][c][0]=y:d[o][c]=y,f=null),A){if(E)throw new Error("SYLK shared formula cannot have own formula");var U=k>-1&&d[k][S];if(!U||!U[1])throw new Error("SYLK shared formula cannot find base");d[o][c][1]=rb(U[1],{r:o-k,c:c-S})}break;case"F":var F=0;for(h=1;h<x.length;++h)switch(x[h].charAt(0)){case"X":c=parseInt(x[h].slice(1))-1,++F;break;case"Y":for(o=parseInt(x[h].slice(1))-1,a=d.length;a<=o;++a)d[a]=[];break;case"M":v=parseInt(x[h].slice(1))/20;break;case"F": +/* ??? */case"G": +/* hide grid */case"S": +/* cell style */case"D": +/* column */case"N":break; +/* font */case"P":f=u[parseInt(x[h].slice(1))];break;case"W":for(b=x[h].slice(1).split(" "),a=parseInt(b[0],10);a<=parseInt(b[1],10);++a)v=parseInt(b[2],10),m[a-1]=0===v?{hidden:!0}:{wch:v},Mm(m[a-1]);break;case"C":m[c=parseInt(x[h].slice(1))-1]||(m[c]={});break;case"R":g[o=parseInt(x[h].slice(1))-1]||(g[o]={}),v>0?(g[o].hpt=v,g[o].hpx=Om(v)):0===v&&(g[o].hidden=!0);break;default:if(r&&r.WTF)throw new Error("SYLK bad record "+w)}F<1&&(f=null);break;default:if(r&&r.WTF)throw new Error("SYLK bad record "+w)}}return g.length>0&&(p["!rows"]=g),m.length>0&&(p["!cols"]=m),r&&r.sheetRows&&(d=d.slice(0,r.sheetRows)),[d,p]}function a(e,t){var n=function(e,t){switch(t.type){case"base64":return r(Zh(e),t);case"binary":return r(e,t);case"buffer":return r(Jh&&Buffer.isBuffer(e)?e.toString("binary"):id(e),t);case"array":return r(gu(e),t)}throw new Error("Unrecognized type "+t.type)}(e,t),i=n[0],a=n[1],s=pp(i,t);return nu(a).forEach((function(e){s[e]=a[e]})),s}function s(e,t,n,i){var r="C;Y"+(n+1)+";X"+(i+1)+";K";switch(e.t){case"n":r+=e.v||0,e.f&&!e.F&&(r+=";E"+ib(e.f,{r:n,c:i}));break;case"b":r+=e.v?"TRUE":"FALSE";break;case"e":r+=e.w||e.v;break;case"d":r+='"'+(e.w||e.v)+'"';break;case"s":r+='"'+e.v.replace(/"/g,"").replace(/;/g,";;")+'"'}return r}return e["|"]=254,{to_workbook:function(e,t){return up(a(e,t),t)},to_sheet:a,from_sheet:function(e,t){var n,i,r=["ID;PWXL;N;E"],a=[],o=lp(e["!ref"]),c=Array.isArray(e),l="\r\n";r.push("P;PGeneral"),r.push("F;P0;DG0G8;M255"),e["!cols"]&&(i=r,e["!cols"].forEach((function(e,t){var n="F;W"+(t+1)+" "+(t+1)+" ";e.hidden?n+="0":("number"!=typeof e.width||e.wpx||(e.wpx=km(e.width)),"number"!=typeof e.wpx||e.wch||(e.wch=Sm(e.wpx)),"number"==typeof e.wch&&(n+=Math.round(e.wch)))," "!=n.charAt(n.length-1)&&i.push(n)}))),e["!rows"]&&function(e,t){t.forEach((function(t,n){var i="F;";t.hidden?i+="M0;":t.hpt?i+="M"+20*t.hpt+";":t.hpx&&(i+="M"+20*Im(t.hpx)+";"),i.length>2&&e.push(i+"R"+(n+1))}))}(r,e["!rows"]),r.push("B;Y"+(o.e.r-o.s.r+1)+";X"+(o.e.c-o.s.c+1)+";D"+[o.s.c,o.s.r,o.e.c,o.e.r].join(" "));for(var h=o.s.r;h<=o.e.r;++h)for(var d=o.s.c;d<=o.e.c;++d){var u=sp({r:h,c:d});(n=c?(e[h]||[])[d]:e[u])&&(null!=n.v||n.f&&!n.F)&&a.push(s(n,0,h,d))}return r.join(l)+l+a.join(l)+l+"E"+l}}}(),Zg=function(){function e(e,t){for(var n=e.split("\n"),i=-1,r=-1,a=0,s=[];a!==n.length;++a)if("BOT"!==n[a].trim()){if(!(i<0)){for(var o=n[a].trim().split(","),c=o[0],l=o[1],h=n[++a]||"";1&(h.match(/["]/g)||[]).length&&a<n.length-1;)h+="\n"+n[++a];switch(h=h.trim(),+c){case-1:if("BOT"===h){s[++i]=[],r=0;continue}if("EOD"!==h)throw new Error("Unrecognized DIF special command "+h);break;case 0:"TRUE"===h?s[i][r]=!0:"FALSE"===h?s[i][r]=!1:isNaN(vu(l))?isNaN(wu(l).getDate())?s[i][r]=l:s[i][r]=pu(l):s[i][r]=vu(l),++r;break;case 1:(h=(h=h.slice(1,h.length-1)).replace(/""/g,'"'))&&h.match(/^=".*"$/)&&(h=h.slice(2,-1)),s[i][r++]=""!==h?h:null}if("EOD"===h)break}}else s[++i]=[],r=0;return t&&t.sheetRows&&(s=s.slice(0,t.sheetRows)),s}function t(t,n){return pp(function(t,n){switch(n.type){case"base64":return e(Zh(t),n);case"binary":return e(t,n);case"buffer":return e(Jh&&Buffer.isBuffer(t)?t.toString("binary"):id(t),n);case"array":return e(gu(t),n)}throw new Error("Unrecognized type "+n.type)}(t,n),n)}return{to_workbook:function(e,n){return up(t(e,n),n)},to_sheet:t,from_sheet:function(){var e=function(e,t,n,i,r){e.push(t),e.push(n+","+i),e.push('"'+r.replace(/"/g,'""')+'"')},t=function(e,t,n,i){e.push(t+","+n),e.push(1==t?'"'+i.replace(/"/g,'""')+'"':i)};return function(n){var i,r=[],a=lp(n["!ref"]),s=Array.isArray(n);e(r,"TABLE",0,1,"sheetjs"),e(r,"VECTORS",0,a.e.r-a.s.r+1,""),e(r,"TUPLES",0,a.e.c-a.s.c+1,""),e(r,"DATA",0,0,"");for(var o=a.s.r;o<=a.e.r;++o){t(r,-1,0,"BOT");for(var c=a.s.c;c<=a.e.c;++c){var l=sp({r:o,c:c});if(i=s?(n[o]||[])[c]:n[l])switch(i.t){case"n":var h=i.w;h||null==i.v||(h=i.v),null==h?i.f&&!i.F?t(r,1,0,"="+i.f):t(r,1,0,""):t(r,0,h,"V");break;case"b":t(r,0,i.v?1:0,i.v?"TRUE":"FALSE");break;case"s":t(r,1,0,isNaN(i.v)?i.v:'="'+i.v+'"');break;case"d":i.w||(i.w=Yd(i.z||bd[14],au(pu(i.v)))),t(r,0,i.w,"V");break;default:t(r,1,0,"")}else t(r,1,0,"")}}t(r,-1,0,"EOD");return r.join("\r\n")}}()}}(),Jg=function(){function e(e){return e.replace(/\\/g,"\\b").replace(/:/g,"\\c").replace(/\n/g,"\\n")}function t(e,t){return pp(function(e,t){for(var n=e.split("\n"),i=-1,r=-1,a=0,s=[];a!==n.length;++a){var o=n[a].trim().split(":");if("cell"===o[0]){var c=ap(o[1]);if(s.length<=c.r)for(i=s.length;i<=c.r;++i)s[i]||(s[i]=[]);switch(i=c.r,r=c.c,o[2]){case"t":s[i][r]=o[3].replace(/\\b/g,"\\").replace(/\\c/g,":").replace(/\\n/g,"\n");break;case"v":s[i][r]=+o[3];break;case"vtf":var l=o[o.length-1]; +/* falls through */case"vtc":"nl"===o[3]?s[i][r]=!!+o[4]:s[i][r]=+o[4],"vtf"==o[2]&&(s[i][r]=[s[i][r],l])}}}return t&&t.sheetRows&&(s=s.slice(0,t.sheetRows)),s}(e,t),t)}var n=["socialcalc:version:1.5","MIME-Version: 1.0","Content-Type: multipart/mixed; boundary=SocialCalcSpreadsheetControlSave"].join("\n"),i=["--SocialCalcSpreadsheetControlSave","Content-type: text/plain; charset=UTF-8"].join("\n")+"\n",r=["# SocialCalc Spreadsheet Control Save","part:sheet"].join("\n"),a="--SocialCalcSpreadsheetControlSave--";function s(t){if(!t||!t["!ref"])return"";for(var n,i=[],r=[],a="",s=op(t["!ref"]),o=Array.isArray(t),c=s.s.r;c<=s.e.r;++c)for(var l=s.s.c;l<=s.e.c;++l)if(a=sp({r:c,c:l}),(n=o?(t[c]||[])[l]:t[a])&&null!=n.v&&"z"!==n.t){switch(r=["cell",a,"t"],n.t){case"s":case"str":r.push(e(n.v));break;case"n":n.f?(r[2]="vtf",r[3]="n",r[4]=n.v,r[5]=e(n.f)):(r[2]="v",r[3]=n.v);break;case"b":r[2]="vt"+(n.f?"f":"c"),r[3]="nl",r[4]=n.v?"1":"0",r[5]=e(n.f||(n.v?"TRUE":"FALSE"));break;case"d":var h=au(pu(n.v));r[2]="vtc",r[3]="nd",r[4]=""+h,r[5]=n.w||Yd(n.z||bd[14],h);break;case"e":continue}i.push(r.join(":"))}return i.push("sheet:c:"+(s.e.c-s.s.c+1)+":r:"+(s.e.r-s.s.r+1)+":tvf:1"),i.push("valueformat:1:text-wiki"),i.join("\n")}return{to_workbook:function(e,n){return up(t(e,n),n)},to_sheet:t,from_sheet:function(e){return[n,i,r,i,s(e),a].join("\n")}}}(),Qg=function(){function e(e,t,n,i,r){r.raw?t[n][i]=e:""===e||("TRUE"===e?t[n][i]=!0:"FALSE"===e?t[n][i]=!1:isNaN(vu(e))?isNaN(wu(e).getDate())?t[n][i]=e:t[n][i]=pu(e):t[n][i]=vu(e))}var t={ +/*::[*/ +44:",", +/*::[*/ +9:"\t", +/*::[*/ +59:";", +/*::[*/ +124:"|"},n={ +/*::[*/ +44:3, +/*::[*/ +9:2, +/*::[*/ +59:1, +/*::[*/ +124:0};function i(e){for(var i={},r=!1,a=0,s=0;a<e.length;++a)34==(s=e.charCodeAt(a))?r=!r:!r&&s in t&&(i[s]=(i[s]||0)+1);for(a in s=[],i)Object.prototype.hasOwnProperty.call(i,a)&&s.push([i[a],a]);if(!s.length)for(a in i=n)Object.prototype.hasOwnProperty.call(i,a)&&s.push([i[a],a]);return s.sort((function(e,t){return e[0]-t[0]||n[e[1]]-n[t[1]]})),t[s.pop()[1]]||44}function r(e,t){var n=t||{},r="",a=n.dense?[]:{},s={s:{c:0,r:0},e:{c:0,r:0}};"sep="==e.slice(0,4)?13==e.charCodeAt(5)&&10==e.charCodeAt(6)?(r=e.charAt(4),e=e.slice(7)):13==e.charCodeAt(5)||10==e.charCodeAt(5)?(r=e.charAt(4),e=e.slice(6)):r=i(e.slice(0,1024)):r=n.FS?n.FS:i(e.slice(0,1024));var o=0,c=0,l=0,h=0,d=0,u=r.charCodeAt(0),f=!1,p=0,g=e.charCodeAt(0);e=e.replace(/\r\n/gm,"\n");var m,b,v=null!=n.dateNF?(m=n.dateNF,b=(b="number"==typeof m?bd[m]:m).replace(Qd,"(\\d+)"),new RegExp("^"+b+"$")):null;function y(){var t=e.slice(h,d),i={};if('"'==t.charAt(0)&&'"'==t.charAt(t.length-1)&&(t=t.slice(1,-1).replace(/""/g,'"')),0===t.length)i.t="z";else if(n.raw)i.t="s",i.v=t;else if(0===t.trim().length)i.t="s",i.v=t;else if(61==t.charCodeAt(0))34==t.charCodeAt(1)&&34==t.charCodeAt(t.length-1)?(i.t="s",i.v=t.slice(2,-1).replace(/""/g,'"')):1!=t.length?(i.t="n",i.f=t.slice(1)):(i.t="s",i.v=t);else if("TRUE"==t)i.t="b",i.v=!0;else if("FALSE"==t)i.t="b",i.v=!1;else if(isNaN(l=vu(t)))if(!isNaN(wu(t).getDate())||v&&t.match(v)){i.z=n.dateNF||bd[14];var r=0;v&&t.match(v)&&(t=function(e,t,n){var i=-1,r=-1,a=-1,s=-1,o=-1,c=-1;(t.match(Qd)||[]).forEach((function(e,t){var l=parseInt(n[t+1],10);switch(e.toLowerCase().charAt(0)){case"y":i=l;break;case"d":a=l;break;case"h":s=l;break;case"s":c=l;break;case"m":s>=0?o=l:r=l}})),c>=0&&-1==o&&r>=0&&(o=r,r=-1);var l=(""+(i>=0?i:(new Date).getFullYear())).slice(-4)+"-"+("00"+(r>=1?r:1)).slice(-2)+"-"+("00"+(a>=1?a:1)).slice(-2);7==l.length&&(l="0"+l),8==l.length&&(l="20"+l);var h=("00"+(s>=0?s:0)).slice(-2)+":"+("00"+(o>=0?o:0)).slice(-2)+":"+("00"+(c>=0?c:0)).slice(-2);return-1==s&&-1==o&&-1==c?l:-1==i&&-1==r&&-1==a?h:l+"T"+h}(0,n.dateNF,t.match(v)||[]),r=1),n.cellDates?(i.t="d",i.v=pu(t,r)):(i.t="n",i.v=au(pu(t,r))),!1!==n.cellText&&(i.w=Yd(i.z,i.v instanceof Date?au(i.v):i.v)),n.cellNF||delete i.z}else i.t="s",i.v=t;else i.t="n",!1!==n.cellText&&(i.w=t),i.v=l;if("z"==i.t||(n.dense?(a[o]||(a[o]=[]),a[o][c]=i):a[sp({c:c,r:o})]=i),h=d+1,g=e.charCodeAt(h),s.e.c<c&&(s.e.c=c),s.e.r<o&&(s.e.r=o),p==u)++c;else if(c=0,++o,n.sheetRows&&n.sheetRows<=o)return!0}e:for(;d<e.length;++d)switch(p=e.charCodeAt(d)){case 34:34===g&&(f=!f);break;case u:case 10:case 13:if(!f&&y())break e}return d-h>0&&y(),a["!ref"]=cp(s),a}function a(t,n){return n&&n.PRN?n.FS||"sep="==t.slice(0,4)||t.indexOf("\t")>=0||t.indexOf(",")>=0||t.indexOf(";")>=0?r(t,n):pp(function(t,n){var i=n||{},r=[];if(!t||0===t.length)return r;for(var a=t.split(/[\r\n]/),s=a.length-1;s>=0&&0===a[s].length;)--s;for(var o=10,c=0,l=0;l<=s;++l)-1==(c=a[l].indexOf(" "))?c=a[l].length:c++,o=Math.max(o,c);for(l=0;l<=s;++l){r[l]=[];var h=0;for(e(a[l].slice(0,o).trim(),r,l,h,i),h=1;h<=(a[l].length-o)/10+1;++h)e(a[l].slice(o+10*(h-1),o+10*h).trim(),r,l,h,i)}return i.sheetRows&&(r=r.slice(0,i.sheetRows)),r}(t,n),n):r(t,n)}function s(e,t){var n="",i="string"==t.type?[0,0,0,0]:Oy(e,t);switch(t.type){case"base64":n=Zh(e);break;case"binary":case"string":n=e;break;case"buffer":65001==t.codepage?n=e.toString("utf8"):(t.codepage,n=Jh&&Buffer.isBuffer(e)?e.toString("binary"):id(e));break;case"array":n=gu(e);break;default:throw new Error("Unrecognized type "+t.type)}return 239==i[0]&&187==i[1]&&191==i[2]?n=Ju(n.slice(3)):"string"!=t.type&&"buffer"!=t.type&&65001==t.codepage?n=Ju(n):t.type,"socialcalc:version:"==n.slice(0,19)?Jg.to_sheet("string"==t.type?n:Ju(n),t):a(n,t)}return{to_workbook:function(e,t){return up(s(e,t),t)},to_sheet:s,from_sheet:function(e){for(var t,n=[],i=lp(e["!ref"]),r=Array.isArray(e),a=i.s.r;a<=i.e.r;++a){for(var s=[],o=i.s.c;o<=i.e.c;++o){var c=sp({r:a,c:o});if((t=r?(e[a]||[])[o]:e[c])&&null!=t.v){for(var l=(t.w||(dp(t),t.w)||"").slice(0,10);l.length<10;)l+=" ";s.push(l+(0===o?" ":""))}else s.push(" ")}n.push(s.join(""))}return n.join("\n")}}}();var em=function(){function e(e,t,n){if(e){Xf(e,e.l||0);for(var i=n.Enum||b;e.l<e.length;){var r=e.read_shift(2),a=i[r]||i[65535],s=e.read_shift(2),o=e.l+s,c=a.f&&a.f(e,s,n);if(e.l=o,t(c,a,r))return}}}function t(t,n){if(!t)return t;var i=n||{},r=i.dense?[]:{},a="Sheet1",s="",o=0,c={},l=[],h=[],d={s:{r:0,c:0},e:{r:0,c:0}},u=i.sheetRows||0;if(0==t[2]&&(8==t[3]||9==t[3])&&t.length>=16&&5==t[14]&&108===t[15])throw new Error("Unsupported Works 3 for Mac file");if(2==t[2])i.Enum=b,e(t,(function(e,t,n){switch(n){case 0:i.vers=e,e>=4096&&(i.qpro=!0);break;case 6:d=e;break; +/* RANGE */case 204:e&&(s=e);break; +/* SHEETNAMECS */case 222:s=e;break; +/* SHEETNAMELP */case 15: +/* LABEL */case 51:i.qpro||(e[1].v=e[1].v.slice(1)) +/* falls through */;case 13: +/* INTEGER */case 14: +/* NUMBER */case 16:14==n&&!(112&~e[2])&&(15&e[2])>1&&(15&e[2])<15&&(e[1].z=i.dateNF||bd[14],i.cellDates&&(e[1].t="d",e[1].v=lu(e[1].v))),i.qpro&&e[3]>o&&(r["!ref"]=cp(d),c[a]=r,l.push(a),r=i.dense?[]:{},d={s:{r:0,c:0},e:{r:0,c:0}},o=e[3],a=s||"Sheet"+(o+1),s="");var h=i.dense?(r[e[0].r]||[])[e[0].c]:r[sp(e[0])];if(h){h.t=e[1].t,h.v=e[1].v,null!=e[1].z&&(h.z=e[1].z),null!=e[1].f&&(h.f=e[1].f);break}i.dense?(r[e[0].r]||(r[e[0].r]=[]),r[e[0].r][e[0].c]=e[1]):r[sp(e[0])]=e[1]}}),i);else{if(26!=t[2]&&14!=t[2])throw new Error("Unrecognized LOTUS BOF "+t[2]);i.Enum=v,14==t[2]&&(i.qpro=!0,t.l=0),e(t,(function(e,t,n){switch(n){case 204:a=e;break; +/* SHEETNAMECS */case 22:e[1].v=e[1].v.slice(1); +/* falls through */case 23: +/* NUMBER17 */case 24: +/* NUMBER18 */case 25: +/* FORMULA19 */case 37: +/* NUMBER25 */case 39: +/* NUMBER27 */case 40:if(e[3]>o&&(r["!ref"]=cp(d),c[a]=r,l.push(a),r=i.dense?[]:{},d={s:{r:0,c:0},e:{r:0,c:0}},o=e[3],a="Sheet"+(o+1)),u>0&&e[0].r>=u)break;i.dense?(r[e[0].r]||(r[e[0].r]=[]),r[e[0].r][e[0].c]=e[1]):r[sp(e[0])]=e[1],d.e.c<e[0].c&&(d.e.c=e[0].c),d.e.r<e[0].r&&(d.e.r=e[0].r);break;case 27:e[14e3]&&(h[e[14e3][0]]=e[14e3][1]);break;case 1537:h[e[0]]=e[1],e[0]==o&&(a=e[1])}}),i)}if(r["!ref"]=cp(d),c[s||a]=r,l.push(s||a),!h.length)return{SheetNames:l,Sheets:c};for(var f={},p=[],g=0;g<h.length;++g)c[l[g]]?(p.push(h[g]||l[g]),f[h[g]]=c[h[g]]||c[l[g]]):(p.push(h[g]),f[h[g]]={"!ref":"A1"});return{SheetNames:p,Sheets:f}}function n(e,t,n){var i=[{c:0,r:0},{t:"n",v:0},0,0];return n.qpro&&20768!=n.vers?(i[0].c=e.read_shift(1),i[3]=e.read_shift(1),i[0].r=e.read_shift(2),e.l+=2):(i[2]=e.read_shift(1),i[0].c=e.read_shift(2),i[0].r=e.read_shift(2)),i}function i(e,t,i){var r=e.l+t,a=n(e,0,i);if(a[1].t="s",20768==i.vers){e.l++;var s=e.read_shift(1);return a[1].v=e.read_shift(s,"utf8"),a}return i.qpro&&e.l++,a[1].v=e.read_shift(r-e.l,"cstr"),a}function r(e,t,n){var i=qf(7+n.length);i.write_shift(1,255),i.write_shift(2,t),i.write_shift(2,e),i.write_shift(1,39);for(var r=0;r<i.length;++r){var a=n.charCodeAt(r);i.write_shift(1,a>=128?95:a)}return i.write_shift(1,0),i}function a(e,t,n){var i=qf(7);return i.write_shift(1,255),i.write_shift(2,t),i.write_shift(2,e),i.write_shift(2,n,"i"),i}function s(e,t,n){var i=qf(13);return i.write_shift(1,255),i.write_shift(2,t),i.write_shift(2,e),i.write_shift(8,n,"f"),i}function o(e,t,n){var i=32768&t;return t=(i?e:0)+((t&=-32769)>=8192?t-16384:t),(i?"":"$")+(n?rp(t):np(t))}var c={51:["FALSE",0],52:["TRUE",0],70:["LEN",1],80:["SUM",69],81:["AVERAGEA",69],82:["COUNTA",69],83:["MINA",69],84:["MAXA",69],111:["T",1]},l=["","","","","","","","", +// eslint-disable-line no-mixed-spaces-and-tabs +"","+","-","*","/","^","=","<>", +// eslint-disable-line no-mixed-spaces-and-tabs +"<=",">=","<",">","","","","", +// eslint-disable-line no-mixed-spaces-and-tabs +"&","","","","","","",""];function h(e){var t=[{c:0,r:0},{t:"n",v:0},0];return t[0].r=e.read_shift(2),t[3]=e[e.l++],t[0].c=e[e.l++],t}function d(e,t,n,i){var r=qf(6+i.length);r.write_shift(2,e),r.write_shift(1,n),r.write_shift(1,t),r.write_shift(1,39);for(var a=0;a<i.length;++a){var s=i.charCodeAt(a);r.write_shift(1,s>=128?95:s)}return r.write_shift(1,0),r}function u(e,t){var n=h(e),i=e.read_shift(4),r=e.read_shift(4),a=e.read_shift(2);if(65535==a)return 0===i&&3221225472===r?(n[1].t="e",n[1].v=15):0===i&&3489660928===r?(n[1].t="e",n[1].v=42):n[1].v=0,n;var s=32768&a;return a=(32767&a)-16446,n[1].v=(1-2*s)*(r*Math.pow(2,a+32)+i*Math.pow(2,a)),n}function f(e,t,n,i){var r=qf(14);if(r.write_shift(2,e),r.write_shift(1,n),r.write_shift(1,t),0==i)return r.write_shift(4,0),r.write_shift(4,0),r.write_shift(2,65535),r;var a,s=0,o=0,c=0;return i<0&&(s=1,i=-i),o=0|Math.log2(i),2147483648&(c=(i/=Math.pow(2,o-31))>>>0)||(++o,c=(i/=2)>>>0),i-=c,c|=2147483648,c>>>=0,a=(i*=Math.pow(2,32))>>>0,r.write_shift(4,a),r.write_shift(4,c),o+=16383+(s?32768:0),r.write_shift(2,o),r}function p(e,t){var n=h(e),i=e.read_shift(8,"f");return n[1].v=i,n}function g(e,t){return 0==e[e.l+t-1]?e.read_shift(t,"cstr"):""}function m(e,t){var n=qf(5+e.length);n.write_shift(2,14e3),n.write_shift(2,t);for(var i=0;i<e.length;++i){var r=e.charCodeAt(i);n[n.l++]=r>127?95:r}return n[n.l++]=0,n}var b={ +/*::[*/ +0:{n:"BOF",f:ug}, +/*::[*/ +1:{n:"EOF"}, +/*::[*/ +2:{n:"CALCMODE"}, +/*::[*/ +3:{n:"CALCORDER"}, +/*::[*/ +4:{n:"SPLIT"}, +/*::[*/ +5:{n:"SYNC"}, +/*::[*/ +6:{n:"RANGE",f:function(e,t,n){var i={s:{c:0,r:0},e:{c:0,r:0}};return 8==t&&n.qpro?(i.s.c=e.read_shift(1),e.l++,i.s.r=e.read_shift(2),i.e.c=e.read_shift(1),e.l++,i.e.r=e.read_shift(2),i):(i.s.c=e.read_shift(2),i.s.r=e.read_shift(2),12==t&&n.qpro&&(e.l+=2),i.e.c=e.read_shift(2),i.e.r=e.read_shift(2),12==t&&n.qpro&&(e.l+=2),65535==i.s.c&&(i.s.c=i.e.c=i.s.r=i.e.r=0),i)}}, +/*::[*/ +7:{n:"WINDOW1"}, +/*::[*/ +8:{n:"COLW1"}, +/*::[*/ +9:{n:"WINTWO"}, +/*::[*/ +10:{n:"COLW2"}, +/*::[*/ +11:{n:"NAME"}, +/*::[*/ +12:{n:"BLANK"}, +/*::[*/ +13:{n:"INTEGER",f:function(e,t,i){var r=n(e,0,i);return r[1].v=e.read_shift(2,"i"),r}}, +/*::[*/ +14:{n:"NUMBER",f:function(e,t,i){var r=n(e,0,i);return r[1].v=e.read_shift(8,"f"),r}}, +/*::[*/ +15:{n:"LABEL",f:i}, +/*::[*/ +16:{n:"FORMULA",f:function(e,t,i){var r=e.l+t,a=n(e,0,i);if(a[1].v=e.read_shift(8,"f"),i.qpro)e.l=r;else{var s=e.read_shift(2);!function(e,t){Xf(e,0);var n=[],i=0,r="",a="",s="",h="";for(;e.l<e.length;){var d=e[e.l++];switch(d){case 0:n.push(e.read_shift(8,"f"));break;case 1:a=o(t[0].c,e.read_shift(2),!0),r=o(t[0].r,e.read_shift(2),!1),n.push(a+r);break;case 2:var u=o(t[0].c,e.read_shift(2),!0),f=o(t[0].r,e.read_shift(2),!1);a=o(t[0].c,e.read_shift(2),!0),r=o(t[0].r,e.read_shift(2),!1),n.push(u+f+":"+a+r);break;case 3:if(e.l<e.length)return;break;case 4:n.push("("+n.pop()+")");break;case 5:n.push(e.read_shift(2));break;case 6:for(var p="";d=e[e.l++];)p+=String.fromCharCode(d);n.push('"'+p.replace(/"/g,'""')+'"');break;case 8:n.push("-"+n.pop());break;case 23:n.push("+"+n.pop());break;case 22:n.push("NOT("+n.pop()+")");break;case 20:case 21:h=n.pop(),s=n.pop(),n.push(["AND","OR"][d-20]+"("+s+","+h+")");break;default:if(d<32&&l[d])h=n.pop(),s=n.pop(),n.push(s+l[d]+h);else{if(!c[d])return;if(69==(i=c[d][1])&&(i=e[e.l++]),i>n.length)return;var g=n.slice(-i);n.length-=i,n.push(c[d][0]+"("+g.join(",")+")")}}}1==n.length&&(t[1].f=""+n[0])}(e.slice(e.l,e.l+s),a),e.l+=s}return a}}, +/*::[*/ +24:{n:"TABLE"}, +/*::[*/ +25:{n:"ORANGE"}, +/*::[*/ +26:{n:"PRANGE"}, +/*::[*/ +27:{n:"SRANGE"}, +/*::[*/ +28:{n:"FRANGE"}, +/*::[*/ +29:{n:"KRANGE1"}, +/*::[*/ +32:{n:"HRANGE"}, +/*::[*/ +35:{n:"KRANGE2"}, +/*::[*/ +36:{n:"PROTEC"}, +/*::[*/ +37:{n:"FOOTER"}, +/*::[*/ +38:{n:"HEADER"}, +/*::[*/ +39:{n:"SETUP"}, +/*::[*/ +40:{n:"MARGINS"}, +/*::[*/ +41:{n:"LABELFMT"}, +/*::[*/ +42:{n:"TITLES"}, +/*::[*/ +43:{n:"SHEETJS"}, +/*::[*/ +45:{n:"GRAPH"}, +/*::[*/ +46:{n:"NGRAPH"}, +/*::[*/ +47:{n:"CALCCOUNT"}, +/*::[*/ +48:{n:"UNFORMATTED"}, +/*::[*/ +49:{n:"CURSORW12"}, +/*::[*/ +50:{n:"WINDOW"}, +/*::[*/ +51:{n:"STRING",f:i}, +/*::[*/ +55:{n:"PASSWORD"}, +/*::[*/ +56:{n:"LOCKED"}, +/*::[*/ +60:{n:"QUERY"}, +/*::[*/ +61:{n:"QUERYNAME"}, +/*::[*/ +62:{n:"PRINT"}, +/*::[*/ +63:{n:"PRINTNAME"}, +/*::[*/ +64:{n:"GRAPH2"}, +/*::[*/ +65:{n:"GRAPHNAME"}, +/*::[*/ +66:{n:"ZOOM"}, +/*::[*/ +67:{n:"SYMSPLIT"}, +/*::[*/ +68:{n:"NSROWS"}, +/*::[*/ +69:{n:"NSCOLS"}, +/*::[*/ +70:{n:"RULER"}, +/*::[*/ +71:{n:"NNAME"}, +/*::[*/ +72:{n:"ACOMM"}, +/*::[*/ +73:{n:"AMACRO"}, +/*::[*/ +74:{n:"PARSE"}, +/*::[*/ +102:{n:"PRANGES??"}, +/*::[*/ +103:{n:"RRANGES??"}, +/*::[*/ +104:{n:"FNAME??"}, +/*::[*/ +105:{n:"MRANGES??"}, +/*::[*/ +204:{n:"SHEETNAMECS",f:g}, +/*::[*/ +222:{n:"SHEETNAMELP",f:function(e,t){var n=e[e.l++];n>t-1&&(n=t-1);for(var i="";i.length<n;)i+=String.fromCharCode(e[e.l++]);return i}}, +/*::[*/ +65535:{n:""}},v={ +/*::[*/ +0:{n:"BOF"}, +/*::[*/ +1:{n:"EOF"}, +/*::[*/ +2:{n:"PASSWORD"}, +/*::[*/ +3:{n:"CALCSET"}, +/*::[*/ +4:{n:"WINDOWSET"}, +/*::[*/ +5:{n:"SHEETCELLPTR"}, +/*::[*/ +6:{n:"SHEETLAYOUT"}, +/*::[*/ +7:{n:"COLUMNWIDTH"}, +/*::[*/ +8:{n:"HIDDENCOLUMN"}, +/*::[*/ +9:{n:"USERRANGE"}, +/*::[*/ +10:{n:"SYSTEMRANGE"}, +/*::[*/ +11:{n:"ZEROFORCE"}, +/*::[*/ +12:{n:"SORTKEYDIR"}, +/*::[*/ +13:{n:"FILESEAL"}, +/*::[*/ +14:{n:"DATAFILLNUMS"}, +/*::[*/ +15:{n:"PRINTMAIN"}, +/*::[*/ +16:{n:"PRINTSTRING"}, +/*::[*/ +17:{n:"GRAPHMAIN"}, +/*::[*/ +18:{n:"GRAPHSTRING"}, +/*::[*/ +19:{n:"??"}, +/*::[*/ +20:{n:"ERRCELL"}, +/*::[*/ +21:{n:"NACELL"}, +/*::[*/ +22:{n:"LABEL16",f:function(e,t){var n=h(e);return n[1].t="s",n[1].v=e.read_shift(t-4,"cstr"),n}}, +/*::[*/ +23:{n:"NUMBER17",f:u}, +/*::[*/ +24:{n:"NUMBER18",f:function(e,t){var n=h(e);n[1].v=e.read_shift(2);var i=n[1].v>>1;if(1&n[1].v)switch(7&i){case 0:i=5e3*(i>>3);break;case 1:i=500*(i>>3);break;case 2:i=(i>>3)/20;break;case 3:i=(i>>3)/200;break;case 4:i=(i>>3)/2e3;break;case 5:i=(i>>3)/2e4;break;case 6:i=(i>>3)/16;break;case 7:i=(i>>3)/64}return n[1].v=i,n}}, +/*::[*/ +25:{n:"FORMULA19",f:function(e,t){var n=u(e);return e.l+=t-14,n}}, +/*::[*/ +26:{n:"FORMULA1A"}, +/*::[*/ +27:{n:"XFORMAT",f:function(e,t){for(var n={},i=e.l+t;e.l<i;){var r=e.read_shift(2);if(14e3==r){for(n[r]=[0,""],n[r][0]=e.read_shift(2);e[e.l];)n[r][1]+=String.fromCharCode(e[e.l]),e.l++;e.l++}}return n}}, +/*::[*/ +28:{n:"DTLABELMISC"}, +/*::[*/ +29:{n:"DTLABELCELL"}, +/*::[*/ +30:{n:"GRAPHWINDOW"}, +/*::[*/ +31:{n:"CPA"}, +/*::[*/ +32:{n:"LPLAUTO"}, +/*::[*/ +33:{n:"QUERY"}, +/*::[*/ +34:{n:"HIDDENSHEET"}, +/*::[*/ +35:{n:"??"}, +/*::[*/ +37:{n:"NUMBER25",f:function(e,t){var n=h(e),i=e.read_shift(4);return n[1].v=i>>6,n}}, +/*::[*/ +38:{n:"??"}, +/*::[*/ +39:{n:"NUMBER27",f:p}, +/*::[*/ +40:{n:"FORMULA28",f:function(e,t){var n=p(e);return e.l+=t-10,n}}, +/*::[*/ +142:{n:"??"}, +/*::[*/ +147:{n:"??"}, +/*::[*/ +150:{n:"??"}, +/*::[*/ +151:{n:"??"}, +/*::[*/ +152:{n:"??"}, +/*::[*/ +153:{n:"??"}, +/*::[*/ +154:{n:"??"}, +/*::[*/ +155:{n:"??"}, +/*::[*/ +156:{n:"??"}, +/*::[*/ +163:{n:"??"}, +/*::[*/ +174:{n:"??"}, +/*::[*/ +175:{n:"??"}, +/*::[*/ +176:{n:"??"}, +/*::[*/ +177:{n:"??"}, +/*::[*/ +184:{n:"??"}, +/*::[*/ +185:{n:"??"}, +/*::[*/ +186:{n:"??"}, +/*::[*/ +187:{n:"??"}, +/*::[*/ +188:{n:"??"}, +/*::[*/ +195:{n:"??"}, +/*::[*/ +201:{n:"??"}, +/*::[*/ +204:{n:"SHEETNAMECS",f:g}, +/*::[*/ +205:{n:"??"}, +/*::[*/ +206:{n:"??"}, +/*::[*/ +207:{n:"??"}, +/*::[*/ +208:{n:"??"}, +/*::[*/ +256:{n:"??"}, +/*::[*/ +259:{n:"??"}, +/*::[*/ +260:{n:"??"}, +/*::[*/ +261:{n:"??"}, +/*::[*/ +262:{n:"??"}, +/*::[*/ +263:{n:"??"}, +/*::[*/ +265:{n:"??"}, +/*::[*/ +266:{n:"??"}, +/*::[*/ +267:{n:"??"}, +/*::[*/ +268:{n:"??"}, +/*::[*/ +270:{n:"??"}, +/*::[*/ +271:{n:"??"}, +/*::[*/ +384:{n:"??"}, +/*::[*/ +389:{n:"??"}, +/*::[*/ +390:{n:"??"}, +/*::[*/ +393:{n:"??"}, +/*::[*/ +396:{n:"??"}, +/*::[*/ +512:{n:"??"}, +/*::[*/ +514:{n:"??"}, +/*::[*/ +513:{n:"??"}, +/*::[*/ +516:{n:"??"}, +/*::[*/ +517:{n:"??"}, +/*::[*/ +640:{n:"??"}, +/*::[*/ +641:{n:"??"}, +/*::[*/ +642:{n:"??"}, +/*::[*/ +643:{n:"??"}, +/*::[*/ +644:{n:"??"}, +/*::[*/ +645:{n:"??"}, +/*::[*/ +646:{n:"??"}, +/*::[*/ +647:{n:"??"}, +/*::[*/ +648:{n:"??"}, +/*::[*/ +658:{n:"??"}, +/*::[*/ +659:{n:"??"}, +/*::[*/ +660:{n:"??"}, +/*::[*/ +661:{n:"??"}, +/*::[*/ +662:{n:"??"}, +/*::[*/ +665:{n:"??"}, +/*::[*/ +666:{n:"??"}, +/*::[*/ +768:{n:"??"}, +/*::[*/ +772:{n:"??"}, +/*::[*/ +1537:{n:"SHEETINFOQP",f:function(e,t,n){if(n.qpro&&!(t<21)){var i=e.read_shift(1);return e.l+=17,e.l+=1,e.l+=2,[i,e.read_shift(t-21,"cstr")]}}}, +/*::[*/ +1600:{n:"??"}, +/*::[*/ +1602:{n:"??"}, +/*::[*/ +1793:{n:"??"}, +/*::[*/ +1794:{n:"??"}, +/*::[*/ +1795:{n:"??"}, +/*::[*/ +1796:{n:"??"}, +/*::[*/ +1920:{n:"??"}, +/*::[*/ +2048:{n:"??"}, +/*::[*/ +2049:{n:"??"}, +/*::[*/ +2052:{n:"??"}, +/*::[*/ +2688:{n:"??"}, +/*::[*/ +10998:{n:"??"}, +/*::[*/ +12849:{n:"??"}, +/*::[*/ +28233:{n:"??"}, +/*::[*/ +28484:{n:"??"}, +/*::[*/ +65535:{n:""}};return{sheet_to_wk1:function(e,t){var n=t||{};if(+n.codepage>=0&&jh(+n.codepage),"string"==n.type)throw new Error("Cannot write WK1 to JS string");var i,o,c=Kf(),l=lp(e["!ref"]),h=Array.isArray(e),d=[];iy(c,0,(i=1030,(o=qf(2)).write_shift(2,i),o)),iy(c,6,function(e){var t=qf(8);return t.write_shift(2,e.s.c),t.write_shift(2,e.s.r),t.write_shift(2,e.e.c),t.write_shift(2,e.e.r),t}(l));for(var u=Math.min(l.e.r,8191),f=l.s.r;f<=u;++f)for(var p=np(f),g=l.s.c;g<=l.e.c;++g){f===l.s.r&&(d[g]=rp(g));var m=d[g]+p,b=h?(e[f]||[])[g]:e[m];if(b&&"z"!=b.t)if("n"==b.t)(0|b.v)==b.v&&b.v>=-32768&&b.v<=32767?iy(c,13,a(f,g,b.v)):iy(c,14,s(f,g,b.v));else iy(c,15,r(f,g,dp(b).slice(0,239)))}return iy(c,1),c.end()},book_to_wk3:function(e,t){var n=t||{};if(+n.codepage>=0&&jh(+n.codepage),"string"==n.type)throw new Error("Cannot write WK3 to JS string");var i=Kf();iy(i,0,function(e){var t=qf(26);t.write_shift(2,4096),t.write_shift(2,4),t.write_shift(4,0);for(var n=0,i=0,r=0,a=0;a<e.SheetNames.length;++a){var s=e.SheetNames[a],o=e.Sheets[s];if(o&&o["!ref"]){++r;var c=op(o["!ref"]);n<c.e.r&&(n=c.e.r),i<c.e.c&&(i=c.e.c)}}n>8191&&(n=8191);return t.write_shift(2,n),t.write_shift(1,r),t.write_shift(1,i),t.write_shift(2,0),t.write_shift(2,0),t.write_shift(1,1),t.write_shift(1,2),t.write_shift(4,0),t.write_shift(4,0),t}(e));for(var r=0,a=0;r<e.SheetNames.length;++r)(e.Sheets[e.SheetNames[r]]||{})["!ref"]&&iy(i,27,m(e.SheetNames[r],a++));var s=0;for(r=0;r<e.SheetNames.length;++r){var o=e.Sheets[e.SheetNames[r]];if(o&&o["!ref"]){for(var c=lp(o["!ref"]),l=Array.isArray(o),h=[],u=Math.min(c.e.r,8191),p=c.s.r;p<=u;++p)for(var g=np(p),b=c.s.c;b<=c.e.c;++b){p===c.s.r&&(h[b]=rp(b));var v=h[b]+g,y=l?(o[p]||[])[b]:o[v];if(y&&"z"!=y.t)if("n"==y.t)iy(i,23,f(p,b,s,y.v));else iy(i,22,d(p,b,s,dp(y).slice(0,239)))}++s}}return iy(i,1),i.end()},to_workbook:function(e,n){switch(n.type){case"base64":return t(nd(Zh(e)),n);case"binary":return t(nd(e),n);case"buffer":case"array":return t(e,n)}throw"Unsupported type "+n.type}}}();var tm=function(){var e=ef("t"),t=ef("rPr");function n(n){var i=n.match(e);if(!i)return{t:"s",v:""};var r={t:"s",v:zu(i[1])},a=n.match(t);return a&&(r.s=function(e){var t={},n=e.match(Ou),i=0,r=!1;if(n)for(;i!=n.length;++i){var a=Lu(n[i]);switch(a[0].replace(/\w*:/g,"")){ +/* 18.8.12 condense CT_BooleanProperty */ +/* ** not required . */ +case"<condense": +/* 18.8.17 extend CT_BooleanProperty */ +/* ** not required . */case"<extend":break; +/* 18.8.36 shadow CT_BooleanProperty */ +/* ** not required . */case"<shadow":if(!a.val)break; +/* falls through */case"<shadow>":case"<shadow/>":t.shadow=1;break;case"</shadow>":break; +/* 18.4.1 charset CT_IntProperty TODO */case"<charset":if("1"==a.val)break;t.cp=Wh[parseInt(a.val,10)];break; +/* 18.4.2 outline CT_BooleanProperty TODO */case"<outline":if(!a.val)break; +/* falls through */case"<outline>":case"<outline/>":t.outline=1;break;case"</outline>":break; +/* 18.4.5 rFont CT_FontName */case"<rFont":t.name=a.val;break; +/* 18.4.11 sz CT_FontSize */case"<sz":t.sz=a.val;break; +/* 18.4.10 strike CT_BooleanProperty */case"<strike":if(!a.val)break; +/* falls through */case"<strike>":case"<strike/>":t.strike=1;break;case"</strike>":break; +/* 18.4.13 u CT_UnderlineProperty */case"<u":if(!a.val)break;switch(a.val){case"double":t.uval="double";break;case"singleAccounting":t.uval="single-accounting";break;case"doubleAccounting":t.uval="double-accounting"} +/* falls through */case"<u>":case"<u/>":t.u=1;break;case"</u>":break; +/* 18.8.2 b */case"<b":if("0"==a.val)break; +/* falls through */case"<b>":case"<b/>":t.b=1;break;case"</b>":break; +/* 18.8.26 i */case"<i":if("0"==a.val)break; +/* falls through */case"<i>":case"<i/>":t.i=1;break;case"</i>":break; +/* 18.3.1.15 color CT_Color TODO: tint, theme, auto, indexed */case"<color":a.rgb&&(t.color=a.rgb.slice(2,8));break;case"<color>":case"<color/>":case"</color>":break; +/* 18.8.18 family ST_FontFamily */case"<family":t.family=a.val;break;case"<family>":case"<family/>":case"</family>":break; +/* 18.4.14 vertAlign CT_VerticalAlignFontProperty TODO */case"<vertAlign":t.valign=a.val;break;case"<vertAlign>":case"<vertAlign/>":case"</vertAlign>": +/* 18.8.35 scheme CT_FontScheme TODO */case"<scheme":case"<scheme>":case"<scheme/>":case"</scheme>": +/* 18.2.10 extLst CT_ExtensionList ? */case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":r=!0;break;case"</ext>":r=!1;break;default:if(47!==a[0].charCodeAt(1)&&!r)throw new Error("Unrecognized rich format "+a[0])}}return t}(a[1])),r}var i=/<(?:\w+:)?r>/g,r=/<\/(?:\w+:)?r>/;return function(e){return e.replace(i,"").split(r).map(n).filter((function(e){return e.v}))}}(),nm=function(){var e=/(\r\n|\n)/g;function t(t){var n=[[],t.v,[]];return t.v?(t.s&&function(e,t,n){var i=[];e.u&&i.push("text-decoration: underline;"),e.uval&&i.push("text-underline-style:"+e.uval+";"),e.sz&&i.push("font-size:"+e.sz+"pt;"),e.outline&&i.push("text-effect: outline;"),e.shadow&&i.push("text-shadow: auto;"),t.push('<span style="'+i.join("")+'">'),e.b&&(t.push("<b>"),n.push("</b>")),e.i&&(t.push("<i>"),n.push("</i>")),e.strike&&(t.push("<s>"),n.push("</s>"));var r=e.valign||"";"superscript"==r||"super"==r?r="sup":"subscript"==r&&(r="sub"),""!=r&&(t.push("<"+r+">"),n.push("</"+r+">")),n.push("</span>")}(t.s,n[0],n[2]),n[0].join("")+n[1].replace(e,"<br/>")+n[2].join("")):""}return function(e){return e.map(t).join("")}}(),im=/<(?:\w+:)?t[^>]*>([^<]*)<\/(?:\w+:)?t>/g,rm=/<(?:\w+:)?r>/,am=/<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g;function sm(e,t){var n=!t||t.cellHTML,i={};return e?(e.match(/^\s*<(?:\w+:)?t[^>]*>/)?(i.t=zu(Ju(e.slice(e.indexOf(">")+1).split(/<\/(?:\w+:)?t>/)[0]||"")),i.r=Ju(e),n&&(i.h=Gu(i.t))): +/*y = */ +e.match(rm)&&(i.r=Ju(e),i.t=zu(Ju((e.replace(am,"").match(im)||[]).join("").replace(Ou,""))),n&&(i.h=nm(tm(i.r)))),i):{t:""}}var om=/<(?:\w+:)?sst([^>]*)>([\s\S]*)<\/(?:\w+:)?sst>/,cm=/<(?:\w+:)?(?:si|sstItem)>/g,lm=/<\/(?:\w+:)?(?:si|sstItem)>/;function hm(e){for(var t=[],n=e.split(""),i=0;i<n.length;++i)t[i]=n[i].charCodeAt(0);return t}function dm(e,t){var n={};return n.Major=e.read_shift(2),n.Minor=e.read_shift(2),t>=4&&(e.l+=t-4),n}function um(e){for(var t=e.read_shift(4),n=e.l+t-4,i={},r=e.read_shift(4),a=[];r-- >0;)a.push({t:e.read_shift(4),v:e.read_shift(0,"lpp4")});if(i.name=e.read_shift(0,"lpp4"),i.comps=a,e.l!=n)throw new Error("Bad DataSpaceMapEntry: "+e.l+" != "+n);return i}function fm(e){var t=function(e){var t={};return e.read_shift(4),e.l+=4,t.id=e.read_shift(0,"lpp4"),t.name=e.read_shift(0,"lpp4"),t.R=dm(e,4),t.U=dm(e,4),t.W=dm(e,4),t}(e);if(t.ename=e.read_shift(0,"8lpp4"),t.blksz=e.read_shift(4),t.cmode=e.read_shift(4),4!=e.read_shift(4))throw new Error("Bad !Primary record");return t}function pm(e,t){var n=e.l+t,i={};i.Flags=63&e.read_shift(4),e.l+=4,i.AlgID=e.read_shift(4);var r=!1;switch(i.AlgID){case 26126:case 26127:case 26128:r=36==i.Flags;break;case 26625:r=4==i.Flags;break;case 0:r=16==i.Flags||4==i.Flags||36==i.Flags;break;default:throw"Unrecognized encryption algorithm: "+i.AlgID}if(!r)throw new Error("Encryption Flags/AlgID mismatch");return i.AlgIDHash=e.read_shift(4),i.KeySize=e.read_shift(4),i.ProviderType=e.read_shift(4),e.l+=8,i.CSPName=e.read_shift(n-e.l>>1,"utf16le"),e.l=n,i}function gm(e,t){var n={},i=e.l+t;return e.l+=4,n.Salt=e.slice(e.l,e.l+16),e.l+=16,n.Verifier=e.slice(e.l,e.l+16),e.l+=16,e.read_shift(4),n.VerifierHash=e.slice(e.l,i),e.l=i,n}function mm(e){if(36!=(63&e.read_shift(4)))throw new Error("EncryptionInfo mismatch");var t=e.read_shift(4);return{t:"Std",h:pm(e,t),v:gm(e,e.length-e.l)}}function bm(){throw new Error("File is password-protected: ECMA-376 Extensible")}function vm(e){var t=["saltSize","blockSize","keyBits","hashSize","cipherAlgorithm","cipherChaining","hashAlgorithm","saltValue"];e.l+=4;var n=e.read_shift(e.length-e.l,"utf8"),i={};return n.replace(Ou,(function(e){var n=Lu(e);switch(Wu(n[0])){case"<?xml":case"<encryption":case"</encryption>":case"</keyEncryptors>":case"</keyEncryptor>":break;case"<keyData":t.forEach((function(e){i[e]=n[e]}));break;case"<dataIntegrity":i.encryptedHmacKey=n.encryptedHmacKey,i.encryptedHmacValue=n.encryptedHmacValue;break;case"<keyEncryptors>":case"<keyEncryptors":i.encs=[];break;case"<keyEncryptor":i.uri=n.uri;break;case"<encryptedKey":i.encs.push(n);break;default:throw n[0]}})),i}var ym=function(){var e=[187,255,255,186,255,255,185,128,0,190,15,0,191,15,0],t=[57840,7439,52380,33984,4364,3600,61902,12606,6258,57657,54287,34041,10252,43370,20163],n=[44796,19929,39858,10053,20106,40212,10761,31585,63170,64933,60267,50935,40399,11199,17763,35526,1453,2906,5812,11624,23248,885,1770,3540,7080,14160,28320,56640,55369,41139,20807,41614,21821,43642,17621,28485,56970,44341,19019,38038,14605,29210,60195,50791,40175,10751,21502,43004,24537,18387,36774,3949,7898,15796,31592,63184,47201,24803,49606,37805,14203,28406,56812,17824,35648,1697,3394,6788,13576,27152,43601,17539,35078,557,1114,2228,4456,30388,60776,51953,34243,7079,14158,28316,14128,28256,56512,43425,17251,34502,7597,13105,26210,52420,35241,883,1766,3532,4129,8258,16516,33032,4657,9314,18628],i=function(e,t){return 255&((n=e^t)/2|128*n);var n};return function(r){for(var a,s,o,c=hm(r),l=function(e){for(var i=t[e.length-1],r=104,a=e.length-1;a>=0;--a)for(var s=e[a],o=0;7!=o;++o)64&s&&(i^=n[r]),s*=2,--r;return i}(c),h=c.length,d=ed(16),u=0;16!=u;++u)d[u]=0;for(1&~h||(a=l>>8,d[h]=i(e[0],a),--h,a=255&l,s=c[c.length-1],d[h]=i(s,a));h>0;)a=l>>8,d[--h]=i(c[h],a),a=255&l,d[--h]=i(c[h],a);for(h=15,o=15-c.length;o>0;)a=l>>8,d[h]=i(e[o],a),--o,a=255&l,d[--h]=i(c[h],a),--h,--o;return d}}(),wm=function(e){var t=0,n=ym(e);return function(e){var i=function(e,t,n,i,r){var a,s;for(r||(r=t),i||(i=ym(e)),a=0;a!=t.length;++a)s=t[a],s=255&((s^=i[n])>>5|s<<3),r[a]=s,++n;return[r,n,i]}("",e,t,n);return t=i[1],i[0]}};function xm(e,t,n,i){var r={key:ug(e),verificationBytes:ug(e)};return n.password&&(r.verifier=function(e){var t,n,i=0,r=hm(e),a=r.length+1;for((t=ed(a))[0]=r.length,n=1;n!=a;++n)t[n]=r[n-1];for(n=a-1;n>=0;--n)i=((16384&i?1:0)|i<<1&32767)^t[n];return 52811^i}(n.password)),i.valid=r.verificationBytes===r.verifier,i.valid&&(i.insitu=wm(n.password)),r}function _m(e,t,n){var i=n;return i.Info=e.read_shift(2),e.l-=2,1===i.Info?i.Data=function(e){var t={},n=t.EncryptionVersionInfo=dm(e,4);if(1!=n.Major||1!=n.Minor)throw"unrecognized version code "+n.Major+" : "+n.Minor;return t.Salt=e.read_shift(16),t.EncryptedVerifier=e.read_shift(16),t.EncryptedVerifierHash=e.read_shift(16),t}(e):i.Data=function(e,t){var n={},i=n.EncryptionVersionInfo=dm(e,4);if(t-=4,2!=i.Minor)throw new Error("unrecognized minor version code: "+i.Minor);if(i.Major>4||i.Major<2)throw new Error("unrecognized major version code: "+i.Major);n.Flags=e.read_shift(4),t-=4;var r=e.read_shift(4);return t-=4,n.EncryptionHeader=pm(e,r),t-=r,n.EncryptionVerifier=gm(e,t),n}(e,t),i}var Tm=function(){function e(e,n){switch(n.type){case"base64":return t(Zh(e),n);case"binary":return t(e,n);case"buffer":return t(Jh&&Buffer.isBuffer(e)?e.toString("binary"):id(e),n);case"array":return t(gu(e),n)}throw new Error("Unrecognized type "+n.type)}function t(e,t){var n=(t||{}).dense?[]:{},i=e.match(/\\trowd.*?\\row\b/g);if(!i.length)throw new Error("RTF missing table");var r={s:{c:0,r:0},e:{c:0,r:i.length-1}};return i.forEach((function(e,t){Array.isArray(n)&&(n[t]=[]);for(var i,a=/\\\w+\b/g,s=0,o=-1;i=a.exec(e);){if("\\cell"===i[0]){var c=e.slice(s,a.lastIndex-i[0].length);if(" "==c[0]&&(c=c.slice(1)),++o,c.length){var l={v:c,t:"s"};Array.isArray(n)?n[t][o]=l:n[sp({r:t,c:o})]=l}}s=a.lastIndex}o>r.e.c&&(r.e.c=o)})),n["!ref"]=cp(r),n}return{to_workbook:function(t,n){return up(e(t,n),n)},to_sheet:e,from_sheet:function(e){for(var t,n=["{\\rtf1\\ansi"],i=lp(e["!ref"]),r=Array.isArray(e),a=i.s.r;a<=i.e.r;++a){n.push("\\trowd\\trautofit1");for(var s=i.s.c;s<=i.e.c;++s)n.push("\\cellx"+(s+1));for(n.push("\\pard\\intbl"),s=i.s.c;s<=i.e.c;++s){var o=sp({r:a,c:s});(t=r?(e[a]||[])[s]:e[o])&&(null!=t.v||t.f&&!t.F)&&(n.push(" "+(t.w||(dp(t),t.w))),n.push("\\cell"))}n.push("\\pard\\intbl\\row")}return n.join("")+"}"}}}();function Dm(e){for(var t=0,n=1;3!=t;++t)n=256*n+(e[t]>255?255:e[t]<0?0:e[t]);return n.toString(16).toUpperCase().slice(1)}function Am(e,t){if(0===t)return e;var n,i,r=function(e){var t=e[0]/255,n=e[1]/255,i=e[2]/255,r=Math.max(t,n,i),a=Math.min(t,n,i),s=r-a;if(0===s)return[0,0,t];var o,c=0,l=r+a;switch(o=s/(l>1?2-l:l),r){case t:c=((n-i)/s+6)%6;break;case n:c=(i-t)/s+2;break;case i:c=(t-n)/s+4}return[c/6,o,l/2]}((i=(n=e).slice("#"===n[0]?1:0).slice(0,6),[parseInt(i.slice(0,2),16),parseInt(i.slice(2,4),16),parseInt(i.slice(4,6),16)]));return r[2]=t<0?r[2]*(1+t):1-(1-r[2])*(1-t),Dm(function(e){var t,n=e[0],i=e[1],r=e[2],a=2*i*(r<.5?r:1-r),s=r-a/2,o=[s,s,s],c=6*n;if(0!==i)switch(0|c){case 0:case 6:t=a*c,o[0]+=a,o[1]+=t;break;case 1:t=a*(2-c),o[0]+=t,o[1]+=a;break;case 2:t=a*(c-2),o[1]+=a,o[2]+=t;break;case 3:t=a*(4-c),o[1]+=t,o[2]+=a;break;case 4:t=a*(c-4),o[2]+=a,o[0]+=t;break;case 5:t=a*(6-c),o[2]+=t,o[0]+=a}for(var l=0;3!=l;++l)o[l]=Math.round(255*o[l]);return o}(r))}var Em=6;function km(e){return Math.floor((e+Math.round(128/Em)/256)*Em)}function Sm(e){return Math.floor((e-5)/Em*100+.5)/100}function Cm(e){return Math.round((e*Em+5)/Em*256)/256}function Um(e){return Cm(Sm(km(e)))}function Fm(e){var t=Math.abs(e-Um(e)),n=Em;if(t>.005)for(Em=1;Em<15;++Em)Math.abs(e-Um(e))<=t&&(t=Math.abs(e-Um(e)),n=Em);Em=n}function Mm(e){e.width?(e.wpx=km(e.width),e.wch=Sm(e.wpx),e.MDW=Em):e.wpx?(e.wch=Sm(e.wpx),e.width=Cm(e.wch),e.MDW=Em):"number"==typeof e.wch&&(e.width=Cm(e.wch),e.wpx=km(e.width),e.MDW=Em),e.customWidth&&delete e.customWidth}var Rm=96;function Im(e){return 96*e/Rm}function Om(e){return e*Rm/96}var Nm={None:"none",Solid:"solid",Gray50:"mediumGray",Gray75:"darkGray",Gray25:"lightGray",HorzStripe:"darkHorizontal",VertStripe:"darkVertical",ReverseDiagStripe:"darkDown",DiagStripe:"darkUp",DiagCross:"darkGrid",ThickDiagCross:"darkTrellis",ThinHorzStripe:"lightHorizontal",ThinVertStripe:"lightVertical",ThinReverseDiagStripe:"lightDown",ThinHorzCross:"lightGrid"};var Pm=["numFmtId","fillId","fontId","borderId","xfId"],Lm=["applyAlignment","applyBorder","applyFill","applyFont","applyNumberFormat","applyProtection","pivotButton","quotePrefix"];var Wm=function(){var e=/<(?:\w+:)?numFmts([^>]*)>[\S\s]*?<\/(?:\w+:)?numFmts>/,t=/<(?:\w+:)?cellXfs([^>]*)>[\S\s]*?<\/(?:\w+:)?cellXfs>/,n=/<(?:\w+:)?fills([^>]*)>[\S\s]*?<\/(?:\w+:)?fills>/,i=/<(?:\w+:)?fonts([^>]*)>[\S\s]*?<\/(?:\w+:)?fonts>/,r=/<(?:\w+:)?borders([^>]*)>[\S\s]*?<\/(?:\w+:)?borders>/;return function(a,s,o){var c,l={};return a?((c=(a=a.replace(/<!--([\s\S]*?)-->/gm,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,"")).match(e))&&function(e,t,n){t.NumberFmt=[];for(var i=nu(bd),r=0;r<i.length;++r)t.NumberFmt[i[r]]=bd[i[r]];var a=e[0].match(Ou);if(a)for(r=0;r<a.length;++r){var s=Lu(a[r]);switch(Wu(s[0])){case"<numFmts":case"</numFmts>":case"<numFmts/>":case"<numFmts>":case"</numFmt>":break;case"<numFmt":var o=zu(Ju(s.formatCode)),c=parseInt(s.numFmtId,10);if(t.NumberFmt[c]=o,c>0){if(c>392){for(c=392;c>60&&null!=t.NumberFmt[c];--c);t.NumberFmt[c]=o}Kd(o,c)}break;default:if(n.WTF)throw new Error("unrecognized "+s[0]+" in numFmts")}}}(c,l,o),(c=a.match(i))&&function(e,t,n,i){t.Fonts=[];var r={},a=!1;(e[0].match(Ou)||[]).forEach((function(e){var s=Lu(e);switch(Wu(s[0])){case"<fonts":case"<fonts>":case"</fonts>": +/* 18.8.22 font CT_Font */case"<font":case"<font>":case"<name/>":case"</name>": +/* 18.8.2 b CT_BooleanProperty */case"<sz/>":case"</sz>": +/* 18.4.14 vertAlign CT_VerticalAlignFontProperty */case"<vertAlign/>":case"</vertAlign>": +/* 18.8.18 family CT_FontFamily */case"<family/>":case"</family>": +/* 18.8.35 scheme CT_FontScheme */case"<scheme/>":case"</scheme>": +/* 18.4.1 charset CT_IntProperty */case"<color/>":case"</color>": +/* note: sometimes mc:AlternateContent appears bare */ +/* 18.2.10 extLst CT_ExtensionList ? */ +case"<extLst":case"<extLst>":case"</extLst>":break;case"</font>":case"<font/>":t.Fonts.push(r),r={};break; +/* 18.8.29 name CT_FontName */case"<name":s.val&&(r.name=Ju(s.val));break;case"<b":r.bold=s.val?$u(s.val):1;break;case"<b/>":r.bold=1;break; +/* 18.8.26 i CT_BooleanProperty */case"<i":r.italic=s.val?$u(s.val):1;break;case"<i/>":r.italic=1;break; +/* 18.4.13 u CT_UnderlineProperty */case"<u":switch(s.val){case"none":r.underline=0;break;case"single":r.underline=1;break;case"double":r.underline=2;break;case"singleAccounting":r.underline=33;break;case"doubleAccounting":r.underline=34}break;case"<u/>":r.underline=1;break; +/* 18.4.10 strike CT_BooleanProperty */case"<strike":r.strike=s.val?$u(s.val):1;break;case"<strike/>":r.strike=1;break; +/* 18.4.2 outline CT_BooleanProperty */case"<outline":r.outline=s.val?$u(s.val):1;break;case"<outline/>":r.outline=1;break; +/* 18.8.36 shadow CT_BooleanProperty */case"<shadow":r.shadow=s.val?$u(s.val):1;break;case"<shadow/>":r.shadow=1;break; +/* 18.8.12 condense CT_BooleanProperty */case"<condense":r.condense=s.val?$u(s.val):1;break;case"<condense/>":r.condense=1;break; +/* 18.8.17 extend CT_BooleanProperty */case"<extend":r.extend=s.val?$u(s.val):1;break;case"<extend/>":r.extend=1;break; +/* 18.4.11 sz CT_FontSize */case"<sz":s.val&&(r.sz=+s.val);break;case"<vertAlign":s.val&&(r.vertAlign=s.val);break;case"<family":s.val&&(r.family=parseInt(s.val,10));break;case"<scheme":s.val&&(r.scheme=s.val);break;case"<charset":if("1"==s.val)break;s.codepage=Wh[parseInt(s.val,10)];break; +/* 18.?.? color CT_Color */case"<color":if(r.color||(r.color={}),s.auto&&(r.color.auto=$u(s.auto)),s.rgb)r.color.rgb=s.rgb.slice(-6);else if(s.indexed){r.color.index=parseInt(s.indexed,10);var o=Pp[r.color.index];81==r.color.index&&(o=Pp[1]),o||(o=Pp[1]),r.color.rgb=o[0].toString(16)+o[1].toString(16)+o[2].toString(16)}else s.theme&&(r.color.theme=parseInt(s.theme,10),s.tint&&(r.color.tint=parseFloat(s.tint)),s.theme&&n.themeElements&&n.themeElements.clrScheme&&(r.color.rgb=Am(n.themeElements.clrScheme[r.color.theme].rgb,r.color.tint||0)));break;case"<AlternateContent":case"<ext":a=!0;break;case"</AlternateContent>":case"</ext>":a=!1;break;default:if(i&&i.WTF&&!a)throw new Error("unrecognized "+s[0]+" in fonts")}}))}(c,l,s,o),(c=a.match(n))&&function(e,t,n,i){t.Fills=[];var r={},a=!1;(e[0].match(Ou)||[]).forEach((function(e){var n=Lu(e);switch(Wu(n[0])){case"<fills":case"<fills>":case"</fills>": +/* 18.8.20 fill CT_Fill */case"</fill>": +/* 18.8.24 gradientFill CT_GradientFill */case"<gradientFill>":case"<patternFill/>":case"</patternFill>": +/* 18.8.3 bgColor CT_Color */case"<bgColor/>":case"</bgColor>": +/* 18.8.19 fgColor CT_Color */case"<fgColor/>":case"</fgColor>": +/* 18.8.38 stop CT_GradientStop */case"<stop":case"<stop/>":case"</stop>": +/* 18.8.? color CT_Color */case"<color":case"<color/>":case"</color>": +/* 18.2.10 extLst CT_ExtensionList ? */case"<extLst":case"<extLst>":case"</extLst>":break;case"<fill>":case"<fill":case"<fill/>":r={},t.Fills.push(r);break;case"<gradientFill":case"</gradientFill>":t.Fills.push(r),r={};break; +/* 18.8.32 patternFill CT_PatternFill */case"<patternFill":case"<patternFill>":n.patternType&&(r.patternType=n.patternType);break;case"<bgColor":r.bgColor||(r.bgColor={}),n.indexed&&(r.bgColor.indexed=parseInt(n.indexed,10)),n.theme&&(r.bgColor.theme=parseInt(n.theme,10)),n.tint&&(r.bgColor.tint=parseFloat(n.tint)),n.rgb&&(r.bgColor.rgb=n.rgb.slice(-6));break;case"<fgColor":r.fgColor||(r.fgColor={}),n.theme&&(r.fgColor.theme=parseInt(n.theme,10)),n.tint&&(r.fgColor.tint=parseFloat(n.tint)),null!=n.rgb&&(r.fgColor.rgb=n.rgb.slice(-6));break;case"<ext":a=!0;break;case"</ext>":a=!1;break;default:if(i&&i.WTF&&!a)throw new Error("unrecognized "+n[0]+" in fills")}}))}(c,l,0,o),(c=a.match(r))&&function(e,t,n,i){t.Borders=[];var r={},a=!1;(e[0].match(Ou)||[]).forEach((function(e){var n=Lu(e);switch(Wu(n[0])){case"<borders":case"<borders>":case"</borders>": +/* 18.8.4 border CT_Border */case"</border>": +/* note: not in spec, appears to be CT_BorderPr */case"<left/>":case"<left":case"<left>":case"</left>": +/* note: not in spec, appears to be CT_BorderPr */case"<right/>":case"<right":case"<right>":case"</right>": +/* 18.8.43 top CT_BorderPr */case"<top/>":case"<top":case"<top>":case"</top>": +/* 18.8.6 bottom CT_BorderPr */case"<bottom/>":case"<bottom":case"<bottom>":case"</bottom>": +/* 18.8.13 diagonal CT_BorderPr */case"<diagonal":case"<diagonal>":case"<diagonal/>":case"</diagonal>": +/* 18.8.25 horizontal CT_BorderPr */case"<horizontal":case"<horizontal>":case"<horizontal/>":case"</horizontal>": +/* 18.8.44 vertical CT_BorderPr */case"<vertical":case"<vertical>":case"<vertical/>":case"</vertical>": +/* 18.8.37 start CT_BorderPr */case"<start":case"<start>":case"<start/>":case"</start>": +/* 18.8.16 end CT_BorderPr */case"<end":case"<end>":case"<end/>":case"</end>": +/* 18.8.? color CT_Color */case"<color":case"<color>":case"<color/>":case"</color>": +/* 18.2.10 extLst CT_ExtensionList ? */case"<extLst":case"<extLst>":case"</extLst>":break;case"<border":case"<border>":case"<border/>":r=/*::(*/ +{},n.diagonalUp&&(r.diagonalUp=$u(n.diagonalUp)),n.diagonalDown&&(r.diagonalDown=$u(n.diagonalDown)),t.Borders.push(r);break;case"<ext":a=!0;break;case"</ext>":a=!1;break;default:if(i&&i.WTF&&!a)throw new Error("unrecognized "+n[0]+" in borders")}}))}(c,l,0,o),(c=a.match(t))&&function(e,t,n){var i;t.CellXf=[];var r=!1;(e[0].match(Ou)||[]).forEach((function(e){var a=Lu(e),s=0;switch(Wu(a[0])){case"<cellXfs":case"<cellXfs>":case"<cellXfs/>":case"</cellXfs>": +/* 18.8.45 xf CT_Xf */case"</xf>": +/* 18.8.1 alignment CT_CellAlignment */case"</alignment>": +/* 18.8.33 protection CT_CellProtection */case"<protection":case"</protection>":case"<protection/>": +/* note: sometimes mc:AlternateContent appears bare */ +/* 18.2.10 extLst CT_ExtensionList ? */ +case"<extLst":case"<extLst>":case"</extLst>":break;case"<xf":case"<xf/>":for(delete(i=a)[0],s=0;s<Pm.length;++s)i[Pm[s]]&&(i[Pm[s]]=parseInt(i[Pm[s]],10));for(s=0;s<Lm.length;++s)i[Lm[s]]&&(i[Lm[s]]=$u(i[Lm[s]]));if(t.NumberFmt&&i.numFmtId>392)for(s=392;s>60;--s)if(t.NumberFmt[i.numFmtId]==t.NumberFmt[s]){i.numFmtId=s;break}t.CellXf.push(i);break;case"<alignment":case"<alignment/>":var o={};a.vertical&&(o.vertical=a.vertical),a.horizontal&&(o.horizontal=a.horizontal),null!=a.textRotation&&(o.textRotation=a.textRotation),a.indent&&(o.indent=a.indent),a.wrapText&&(o.wrapText=$u(a.wrapText)),i.alignment=o;break;case"<AlternateContent":case"<ext":r=!0;break;case"</AlternateContent>":case"</ext>":r=!1;break;default:if(n&&n.WTF&&!r)throw new Error("unrecognized "+a[0]+" in cellXfs")}}))}(c,l,o),l):l}}();var Bm=$f;var jm=$f;var zm=["</a:lt1>","</a:dk1>","</a:lt2>","</a:dk2>","</a:accent1>","</a:accent2>","</a:accent3>","</a:accent4>","</a:accent5>","</a:accent6>","</a:hlink>","</a:folHlink>"];function Hm(e,t,n){t.themeElements.clrScheme=[];var i={};(e[0].match(Ou)||[]).forEach((function(e){var r=Lu(e);switch(r[0]){ +/* 20.1.6.2 clrScheme (Color Scheme) CT_ColorScheme */ +case"<a:clrScheme":case"</a:clrScheme>":break; +/* 20.1.2.3.32 srgbClr CT_SRgbColor */case"<a:srgbClr":i.rgb=r.val;break; +/* 20.1.2.3.33 sysClr CT_SystemColor */case"<a:sysClr":i.rgb=r.lastClr;break; +/* 20.1.4.1.1 accent1 (Accent 1) */ +/* 20.1.4.1.2 accent2 (Accent 2) */ +/* 20.1.4.1.3 accent3 (Accent 3) */ +/* 20.1.4.1.4 accent4 (Accent 4) */ +/* 20.1.4.1.5 accent5 (Accent 5) */ +/* 20.1.4.1.6 accent6 (Accent 6) */ +/* 20.1.4.1.9 dk1 (Dark 1) */ +/* 20.1.4.1.10 dk2 (Dark 2) */ +/* 20.1.4.1.15 folHlink (Followed Hyperlink) */ +/* 20.1.4.1.19 hlink (Hyperlink) */ +/* 20.1.4.1.22 lt1 (Light 1) */ +/* 20.1.4.1.23 lt2 (Light 2) */case"<a:dk1>":case"</a:dk1>":case"<a:lt1>":case"</a:lt1>":case"<a:dk2>":case"</a:dk2>":case"<a:lt2>":case"</a:lt2>":case"<a:accent1>":case"</a:accent1>":case"<a:accent2>":case"</a:accent2>":case"<a:accent3>":case"</a:accent3>":case"<a:accent4>":case"</a:accent4>":case"<a:accent5>":case"</a:accent5>":case"<a:accent6>":case"</a:accent6>":case"<a:hlink>":case"</a:hlink>":case"<a:folHlink>":case"</a:folHlink>":"/"===r[0].charAt(1)?(t.themeElements.clrScheme[zm.indexOf(r[0])]=i,i={}):i.name=r[0].slice(3,r[0].length-1);break;default:if(n&&n.WTF)throw new Error("Unrecognized "+r[0]+" in clrScheme")}}))}function Vm(){}function Gm(){}var Xm=/<a:clrScheme([^>]*)>[\s\S]*<\/a:clrScheme>/,$m=/<a:fontScheme([^>]*)>[\s\S]*<\/a:fontScheme>/,qm=/<a:fmtScheme([^>]*)>[\s\S]*<\/a:fmtScheme>/;var Ym=/<a:themeElements([^>]*)>[\s\S]*<\/a:themeElements>/;function Km(e,t){var n,i;e&&0!==e.length||((n=[Mu])[n.length]='<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme">',n[n.length]="<a:themeElements>",n[n.length]='<a:clrScheme name="Office">',n[n.length]='<a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1>',n[n.length]='<a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1>',n[n.length]='<a:dk2><a:srgbClr val="1F497D"/></a:dk2>',n[n.length]='<a:lt2><a:srgbClr val="EEECE1"/></a:lt2>',n[n.length]='<a:accent1><a:srgbClr val="4F81BD"/></a:accent1>',n[n.length]='<a:accent2><a:srgbClr val="C0504D"/></a:accent2>',n[n.length]='<a:accent3><a:srgbClr val="9BBB59"/></a:accent3>',n[n.length]='<a:accent4><a:srgbClr val="8064A2"/></a:accent4>',n[n.length]='<a:accent5><a:srgbClr val="4BACC6"/></a:accent5>',n[n.length]='<a:accent6><a:srgbClr val="F79646"/></a:accent6>',n[n.length]='<a:hlink><a:srgbClr val="0000FF"/></a:hlink>',n[n.length]='<a:folHlink><a:srgbClr val="800080"/></a:folHlink>',n[n.length]="</a:clrScheme>",n[n.length]='<a:fontScheme name="Office">',n[n.length]="<a:majorFont>",n[n.length]='<a:latin typeface="Cambria"/>',n[n.length]='<a:ea typeface=""/>',n[n.length]='<a:cs typeface=""/>',n[n.length]='<a:font script="Jpan" typeface="MS Pゴシック"/>',n[n.length]='<a:font script="Hang" typeface="맑은 고딕"/>',n[n.length]='<a:font script="Hans" typeface="宋体"/>',n[n.length]='<a:font script="Hant" typeface="新細明體"/>',n[n.length]='<a:font script="Arab" typeface="Times New Roman"/>',n[n.length]='<a:font script="Hebr" typeface="Times New Roman"/>',n[n.length]='<a:font script="Thai" typeface="Tahoma"/>',n[n.length]='<a:font script="Ethi" typeface="Nyala"/>',n[n.length]='<a:font script="Beng" typeface="Vrinda"/>',n[n.length]='<a:font script="Gujr" typeface="Shruti"/>',n[n.length]='<a:font script="Khmr" typeface="MoolBoran"/>',n[n.length]='<a:font script="Knda" typeface="Tunga"/>',n[n.length]='<a:font script="Guru" typeface="Raavi"/>',n[n.length]='<a:font script="Cans" typeface="Euphemia"/>',n[n.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',n[n.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',n[n.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',n[n.length]='<a:font script="Thaa" typeface="MV Boli"/>',n[n.length]='<a:font script="Deva" typeface="Mangal"/>',n[n.length]='<a:font script="Telu" typeface="Gautami"/>',n[n.length]='<a:font script="Taml" typeface="Latha"/>',n[n.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',n[n.length]='<a:font script="Orya" typeface="Kalinga"/>',n[n.length]='<a:font script="Mlym" typeface="Kartika"/>',n[n.length]='<a:font script="Laoo" typeface="DokChampa"/>',n[n.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',n[n.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',n[n.length]='<a:font script="Viet" typeface="Times New Roman"/>',n[n.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',n[n.length]='<a:font script="Geor" typeface="Sylfaen"/>',n[n.length]="</a:majorFont>",n[n.length]="<a:minorFont>",n[n.length]='<a:latin typeface="Calibri"/>',n[n.length]='<a:ea typeface=""/>',n[n.length]='<a:cs typeface=""/>',n[n.length]='<a:font script="Jpan" typeface="MS Pゴシック"/>',n[n.length]='<a:font script="Hang" typeface="맑은 고딕"/>',n[n.length]='<a:font script="Hans" typeface="宋体"/>',n[n.length]='<a:font script="Hant" typeface="新細明體"/>',n[n.length]='<a:font script="Arab" typeface="Arial"/>',n[n.length]='<a:font script="Hebr" typeface="Arial"/>',n[n.length]='<a:font script="Thai" typeface="Tahoma"/>',n[n.length]='<a:font script="Ethi" typeface="Nyala"/>',n[n.length]='<a:font script="Beng" typeface="Vrinda"/>',n[n.length]='<a:font script="Gujr" typeface="Shruti"/>',n[n.length]='<a:font script="Khmr" typeface="DaunPenh"/>',n[n.length]='<a:font script="Knda" typeface="Tunga"/>',n[n.length]='<a:font script="Guru" typeface="Raavi"/>',n[n.length]='<a:font script="Cans" typeface="Euphemia"/>',n[n.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',n[n.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',n[n.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',n[n.length]='<a:font script="Thaa" typeface="MV Boli"/>',n[n.length]='<a:font script="Deva" typeface="Mangal"/>',n[n.length]='<a:font script="Telu" typeface="Gautami"/>',n[n.length]='<a:font script="Taml" typeface="Latha"/>',n[n.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',n[n.length]='<a:font script="Orya" typeface="Kalinga"/>',n[n.length]='<a:font script="Mlym" typeface="Kartika"/>',n[n.length]='<a:font script="Laoo" typeface="DokChampa"/>',n[n.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',n[n.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',n[n.length]='<a:font script="Viet" typeface="Arial"/>',n[n.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',n[n.length]='<a:font script="Geor" typeface="Sylfaen"/>',n[n.length]="</a:minorFont>",n[n.length]="</a:fontScheme>",n[n.length]='<a:fmtScheme name="Office">',n[n.length]="<a:fillStyleLst>",n[n.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',n[n.length]='<a:gradFill rotWithShape="1">',n[n.length]="<a:gsLst>",n[n.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="50000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',n[n.length]='<a:gs pos="35000"><a:schemeClr val="phClr"><a:tint val="37000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',n[n.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="15000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',n[n.length]="</a:gsLst>",n[n.length]='<a:lin ang="16200000" scaled="1"/>',n[n.length]="</a:gradFill>",n[n.length]='<a:gradFill rotWithShape="1">',n[n.length]="<a:gsLst>",n[n.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="100000"/><a:shade val="100000"/><a:satMod val="130000"/></a:schemeClr></a:gs>',n[n.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="50000"/><a:shade val="100000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',n[n.length]="</a:gsLst>",n[n.length]='<a:lin ang="16200000" scaled="0"/>',n[n.length]="</a:gradFill>",n[n.length]="</a:fillStyleLst>",n[n.length]="<a:lnStyleLst>",n[n.length]='<a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"><a:shade val="95000"/><a:satMod val="105000"/></a:schemeClr></a:solidFill><a:prstDash val="solid"/></a:ln>',n[n.length]='<a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>',n[n.length]='<a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>',n[n.length]="</a:lnStyleLst>",n[n.length]="<a:effectStyleLst>",n[n.length]="<a:effectStyle>",n[n.length]="<a:effectLst>",n[n.length]='<a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="38000"/></a:srgbClr></a:outerShdw>',n[n.length]="</a:effectLst>",n[n.length]="</a:effectStyle>",n[n.length]="<a:effectStyle>",n[n.length]="<a:effectLst>",n[n.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',n[n.length]="</a:effectLst>",n[n.length]="</a:effectStyle>",n[n.length]="<a:effectStyle>",n[n.length]="<a:effectLst>",n[n.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',n[n.length]="</a:effectLst>",n[n.length]='<a:scene3d><a:camera prst="orthographicFront"><a:rot lat="0" lon="0" rev="0"/></a:camera><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon="0" rev="1200000"/></a:lightRig></a:scene3d>',n[n.length]='<a:sp3d><a:bevelT w="63500" h="25400"/></a:sp3d>',n[n.length]="</a:effectStyle>",n[n.length]="</a:effectStyleLst>",n[n.length]="<a:bgFillStyleLst>",n[n.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',n[n.length]='<a:gradFill rotWithShape="1">',n[n.length]="<a:gsLst>",n[n.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="40000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',n[n.length]='<a:gs pos="40000"><a:schemeClr val="phClr"><a:tint val="45000"/><a:shade val="99000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',n[n.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="20000"/><a:satMod val="255000"/></a:schemeClr></a:gs>',n[n.length]="</a:gsLst>",n[n.length]='<a:path path="circle"><a:fillToRect l="50000" t="-80000" r="50000" b="180000"/></a:path>',n[n.length]="</a:gradFill>",n[n.length]='<a:gradFill rotWithShape="1">',n[n.length]="<a:gsLst>",n[n.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="80000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',n[n.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="30000"/><a:satMod val="200000"/></a:schemeClr></a:gs>',n[n.length]="</a:gsLst>",n[n.length]='<a:path path="circle"><a:fillToRect l="50000" t="50000" r="50000" b="50000"/></a:path>',n[n.length]="</a:gradFill>",n[n.length]="</a:bgFillStyleLst>",n[n.length]="</a:fmtScheme>",n[n.length]="</a:themeElements>",n[n.length]="<a:objectDefaults>",n[n.length]="<a:spDef>",n[n.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="1"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="3"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="2"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="lt1"/></a:fontRef></a:style>',n[n.length]="</a:spDef>",n[n.length]="<a:lnDef>",n[n.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="2"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="0"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="1"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="tx1"/></a:fontRef></a:style>',n[n.length]="</a:lnDef>",n[n.length]="</a:objectDefaults>",n[n.length]="<a:extraClrSchemeLst/>",n[n.length]="</a:theme>",e=n.join(""));var r={};if(!(i=e.match(Ym)))throw new Error("themeElements not found in theme");return function(e,t,n){var i;t.themeElements={},[ +/* clrScheme CT_ColorScheme */ +["clrScheme",Xm,Hm], +/* fontScheme CT_FontScheme */ +["fontScheme",$m,Vm], +/* fmtScheme CT_StyleMatrix */ +["fmtScheme",qm,Gm]].forEach((function(r){if(!(i=e.match(r[1])))throw new Error(r[0]+" not found in themeElements");r[2](i,t,n)}))}(i[0],r,t),r.raw=e,r}function Zm(e){var t={};switch(t.xclrType=e.read_shift(2),t.nTintShade=e.read_shift(2),t.xclrType){case 0:case 4:e.l+=4;break;case 1:t.xclrValue=function(e,t){return $f(e,t)}(e,4);break;case 2:t.xclrValue=xg(e);break;case 3:t.xclrValue=function(e){return e.read_shift(4)}(e)}return e.l+=8,t}function Jm(e){var t=e.read_shift(2),n=e.read_shift(2)-4,i=[t];switch(t){case 4:case 5:case 7:case 8:case 9:case 10:case 11:case 13:i[1]=Zm(e);break;case 6:i[1]=function(e,t){return $f(e,t)}(e,n);break;case 14:case 15:i[1]=e.read_shift(1===n?1:2);break;default:throw new Error("Unrecognized ExtProp type: "+t+" "+n)}return i}function Qm(e,t,n,i){var r,a=Array.isArray(e);t.forEach((function(t){var s=ap(t.ref);if(a?(e[s.r]||(e[s.r]=[]),r=e[s.r][s.c]):r=e[t.ref],!r){r={t:"z"},a?e[s.r][s.c]=r:e[t.ref]=r;var o=lp(e["!ref"]||"BDWGO1000001:A1");o.s.r>s.r&&(o.s.r=s.r),o.e.r<s.r&&(o.e.r=s.r),o.s.c>s.c&&(o.s.c=s.c),o.e.c<s.c&&(o.e.c=s.c);var c=cp(o);c!==e["!ref"]&&(e["!ref"]=c)}r.c||(r.c=[]);var l={a:t.author,t:t.t,r:t.r,T:n};t.h&&(l.h=t.h);for(var h=r.c.length-1;h>=0;--h){if(!n&&r.c[h].T)return;n&&!r.c[h].T&&r.c.splice(h,1)}if(n&&i)for(h=0;h<i.length;++h)if(l.a==i[h].id){l.a=i[h].name||l.a;break}r.c.push(l)}))}var eb=gp;var tb=function(){var e=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g,t={r:0,c:0};function n(e,n,i,r){var a=!1,s=!1;0==i.length?s=!0:"["==i.charAt(0)&&(s=!0,i=i.slice(1,-1)),0==r.length?a=!0:"["==r.charAt(0)&&(a=!0,r=r.slice(1,-1));var o=i.length>0?0|parseInt(i,10):0,c=r.length>0?0|parseInt(r,10):0;return a?c+=t.c:--c,s?o+=t.r:--o,n+(a?"":"$")+rp(c)+(s?"":"$")+np(o)}return function(i,r){return t=r,i.replace(e,n)}}(),nb=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g,ib=function(){return function(e,t){return e.replace(nb,(function(e,n,i,r,a,s){var o=ip(r)-(i?0:t.c),c=tp(s)-(a?0:t.r);return n+"R"+(0==c?"":a?c+1:"["+c+"]")+"C"+(0==o?"":i?o+1:"["+o+"]")}))}}();function rb(e,t){return e.replace(nb,(function(e,n,i,r,a,s){return n+("$"==i?i+r:rp(ip(r)+t.c))+("$"==a?a+s:np(tp(s)+t.r))}))}function ab(e,t,n){var i=op(t).s,r=ap(n);return rb(e,{r:r.r-i.r,c:r.c-i.c})}function sb(e){return e.replace(/_xlfn\./g,"")}function ob(e){e.l+=1}function cb(e,t){var n=e.read_shift(2);return[16383&n,n>>14&1,n>>15&1]}function lb(e,t,n){var i=2;if(n){if(n.biff>=2&&n.biff<=5)return hb(e);12==n.biff&&(i=4)}var r=e.read_shift(i),a=e.read_shift(i),s=cb(e),o=cb(e);return{s:{r:r,c:s[0],cRel:s[1],rRel:s[2]},e:{r:a,c:o[0],cRel:o[1],rRel:o[2]}}}function hb(e){var t=cb(e),n=cb(e),i=e.read_shift(1),r=e.read_shift(1);return{s:{r:t[0],c:i,cRel:t[1],rRel:t[2]},e:{r:n[0],c:r,cRel:n[1],rRel:n[2]}}}function db(e,t,n){if(n&&n.biff>=2&&n.biff<=5)return function(e){var t=cb(e),n=e.read_shift(1);return{r:t[0],c:n,cRel:t[1],rRel:t[2]}}(e);var i=e.read_shift(n&&12==n.biff?4:2),r=cb(e);return{r:i,c:r[0],cRel:r[1],rRel:r[2]}}function ub(e){var t=e.read_shift(2),n=e.read_shift(2);return{r:t,c:255&n,fQuoted:!!(16384&n),cRel:n>>15,rRel:n>>15}}function fb(e){var t=1&e[e.l+1];return e.l+=4,[t,1]}function pb(e){return[e.read_shift(1),e.read_shift(1)]}function gb(e,t){var n=[e.read_shift(1)];if(12==t)switch(n[0]){case 2:n[0]=4;break; +/* SerBool */case 4:n[0]=16;break; +/* SerErr */case 0:n[0]=1;break; +/* SerNum */case 1:n[0]=2}switch(n[0]){case 4:n[1]=dg(e,1)?"TRUE":"FALSE",12!=t&&(e.l+=7);break;case 37: +/* appears to be an alias */case 16:n[1]=Lp[e[e.l]],e.l+=12==t?4:8;break;case 0:e.l+=8;break;case 1:n[1]=Sp(e);break;case 2:n[1]=vg(e,0,{biff:t>0&&t<8?2:t});break;default:throw new Error("Bad SerAr: "+n[0])}return n}function mb(e,t,n){for(var i=e.read_shift(12==n.biff?4:2),r=[],a=0;a!=i;++a)r.push((12==n.biff?kp:Eg)(e));return r}function bb(e,t,n){var i=0,r=0;12==n.biff?(i=e.read_shift(4),r=e.read_shift(4)):(r=1+e.read_shift(1),i=1+e.read_shift(2)),n.biff>=2&&n.biff<8&&(--i,0==--r&&(r=256));for(var a=0,s=[];a!=i&&(s[a]=[]);++a)for(var o=0;o!=r;++o)s[a][o]=gb(e,n.biff);return s}function vb(e,t,n){return e.l+=2,[ub(e)]}function yb(e){return e.l+=6,[]}function wb(e){return e.l+=2,[ug(e),1&e.read_shift(2)]}var xb=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];var _b={ +/*::[*/ +1:{n:"PtgExp",f:function(e,t,n){return e.l++,n&&12==n.biff?[e.read_shift(4,"i"),0]:[e.read_shift(2),e.read_shift(n&&2==n.biff?1:2)]}}, +/*::[*/ +2:{n:"PtgTbl",f:$f}, +/*::[*/ +3:{n:"PtgAdd",f:ob}, +/*::[*/ +4:{n:"PtgSub",f:ob}, +/*::[*/ +5:{n:"PtgMul",f:ob}, +/*::[*/ +6:{n:"PtgDiv",f:ob}, +/*::[*/ +7:{n:"PtgPower",f:ob}, +/*::[*/ +8:{n:"PtgConcat",f:ob}, +/*::[*/ +9:{n:"PtgLt",f:ob}, +/*::[*/ +10:{n:"PtgLe",f:ob}, +/*::[*/ +11:{n:"PtgEq",f:ob}, +/*::[*/ +12:{n:"PtgGe",f:ob}, +/*::[*/ +13:{n:"PtgGt",f:ob}, +/*::[*/ +14:{n:"PtgNe",f:ob}, +/*::[*/ +15:{n:"PtgIsect",f:ob}, +/*::[*/ +16:{n:"PtgUnion",f:ob}, +/*::[*/ +17:{n:"PtgRange",f:ob}, +/*::[*/ +18:{n:"PtgUplus",f:ob}, +/*::[*/ +19:{n:"PtgUminus",f:ob}, +/*::[*/ +20:{n:"PtgPercent",f:ob}, +/*::[*/ +21:{n:"PtgParen",f:ob}, +/*::[*/ +22:{n:"PtgMissArg",f:ob}, +/*::[*/ +23:{n:"PtgStr",f:function(e,t,n){return e.l++,pg(e,0,n)}}, +/*::[*/ +26:{n:"PtgSheet",f:function(e,t,n){return e.l+=5,e.l+=2,e.l+=2==n.biff?1:4,["PTGSHEET"]}}, +/*::[*/ +27:{n:"PtgEndSheet",f:function(e,t,n){return e.l+=2==n.biff?4:5,["PTGENDSHEET"]}}, +/*::[*/ +28:{n:"PtgErr",f:function(e){return e.l++,Lp[e.read_shift(1)]}}, +/*::[*/ +29:{n:"PtgBool",f:function(e){return e.l++,0!==e.read_shift(1)}}, +/*::[*/ +30:{n:"PtgInt",f:function(e){return e.l++,e.read_shift(2)}}, +/*::[*/ +31:{n:"PtgNum",f:function(e){return e.l++,Sp(e)}}, +/*::[*/ +32:{n:"PtgArray",f:function(e,t,n){var i=(96&e[e.l++])>>5;return e.l+=2==n.biff?6:12==n.biff?14:7,[i]}}, +/*::[*/ +33:{n:"PtgFunc",f:function(e,t,n){var i=(96&e[e.l])>>5;e.l+=1;var r=e.read_shift(n&&n.biff<=3?1:2);return[Hb[r],zb[r],i]}}, +/*::[*/ +34:{n:"PtgFuncVar",f:function(e,t,n){var i=e[e.l++],r=e.read_shift(1),a=n&&n.biff<=3?[88==i?-1:0,e.read_shift(1)]:function(e){return[e[e.l+1]>>7,32767&e.read_shift(2)]}(e);return[r,(0===a[0]?zb:jb)[a[1]]]}}, +/*::[*/ +35:{n:"PtgName",f:function(e,t,n){var i=e.read_shift(1)>>>5&3,r=!n||n.biff>=8?4:2,a=e.read_shift(r);switch(n.biff){case 2:e.l+=5;break;case 3:case 4:e.l+=8;break;case 5:e.l+=12}return[i,0,a]}}, +/*::[*/ +36:{n:"PtgRef",f:function(e,t,n){var i=(96&e[e.l])>>5;return e.l+=1,[i,db(e,0,n)]}}, +/*::[*/ +37:{n:"PtgArea",f:function(e,t,n){return[(96&e[e.l++])>>5,lb(e,n.biff>=2&&n.biff,n)]}}, +/*::[*/ +38:{n:"PtgMemArea",f:function(e,t,n){var i=e.read_shift(1)>>>5&3;return e.l+=n&&2==n.biff?3:4,[i,e.read_shift(n&&2==n.biff?1:2)]}}, +/*::[*/ +39:{n:"PtgMemErr",f:$f}, +/*::[*/ +40:{n:"PtgMemNoMem",f:$f}, +/*::[*/ +41:{n:"PtgMemFunc",f:function(e,t,n){return[e.read_shift(1)>>>5&3,e.read_shift(n&&2==n.biff?1:2)]}}, +/*::[*/ +42:{n:"PtgRefErr",f:function(e,t,n){var i=e.read_shift(1)>>>5&3;return e.l+=4,n.biff<8&&e.l--,12==n.biff&&(e.l+=2),[i]}}, +/*::[*/ +43:{n:"PtgAreaErr",f:function(e,t,n){var i=(96&e[e.l++])>>5;return e.l+=n&&n.biff>8?12:n.biff<8?6:8,[i]}}, +/*::[*/ +44:{n:"PtgRefN",f:function(e,t,n){var i=(96&e[e.l])>>5;e.l+=1;var r=function(e,t,n){var i=n&&n.biff?n.biff:8;if(i>=2&&i<=5)return function(e){var t=e.read_shift(2),n=e.read_shift(1),i=(32768&t)>>15,r=(16384&t)>>14;return t&=16383,1==i&&t>=8192&&(t-=16384),1==r&&n>=128&&(n-=256),{r:t,c:n,cRel:r,rRel:i}}(e);var r=e.read_shift(i>=12?4:2),a=e.read_shift(2),s=(16384&a)>>14,o=(32768&a)>>15;if(a&=16383,1==o)for(;r>524287;)r-=1048576;if(1==s)for(;a>8191;)a-=16384;return{r:r,c:a,cRel:s,rRel:o}}(e,0,n);return[i,r]}}, +/*::[*/ +45:{n:"PtgAreaN",f:function(e,t,n){var i=(96&e[e.l++])>>5,r=function(e,t,n){if(n.biff<8)return hb(e);var i=e.read_shift(12==n.biff?4:2),r=e.read_shift(12==n.biff?4:2),a=cb(e),s=cb(e);return{s:{r:i,c:a[0],cRel:a[1],rRel:a[2]},e:{r:r,c:s[0],cRel:s[1],rRel:s[2]}}}(e,0,n);return[i,r]}}, +/*::[*/ +46:{n:"PtgMemAreaN",f:function(e){return[e.read_shift(1)>>>5&3,e.read_shift(2)]}}, +/*::[*/ +47:{n:"PtgMemNoMemN",f:function(e){return[e.read_shift(1)>>>5&3,e.read_shift(2)]}}, +/*::[*/ +57:{n:"PtgNameX",f:function(e,t,n){return 5==n.biff?function(e){var t=e.read_shift(1)>>>5&3,n=e.read_shift(2,"i");e.l+=8;var i=e.read_shift(2);return e.l+=12,[t,n,i]}(e):[e.read_shift(1)>>>5&3,e.read_shift(2),e.read_shift(4)]}}, +/*::[*/ +58:{n:"PtgRef3d",f:function(e,t,n){var i=(96&e[e.l])>>5;e.l+=1;var r=e.read_shift(2);return n&&5==n.biff&&(e.l+=12),[i,r,db(e,0,n)]}}, +/*::[*/ +59:{n:"PtgArea3d",f:function(e,t,n){var i=(96&e[e.l++])>>5,r=e.read_shift(2,"i");if(n)switch(n.biff){case 5:e.l+=12;break;case 12:0}return[i,r,lb(e,0,n)]}}, +/*::[*/ +60:{n:"PtgRefErr3d",f:function(e,t,n){var i=(96&e[e.l++])>>5,r=e.read_shift(2),a=4;if(n)switch(n.biff){case 5:a=15;break;case 12:a=6}return e.l+=a,[i,r]}}, +/*::[*/ +61:{n:"PtgAreaErr3d",f:function(e,t,n){var i=(96&e[e.l++])>>5,r=e.read_shift(2),a=8;if(n)switch(n.biff){case 5:e.l+=12,a=6;break;case 12:a=12}return e.l+=a,[i,r]}}, +/*::[*/ +255:{}},Tb={ +/*::[*/ +64:32, +/*::[*/ +96:32, +/*::[*/ +65:33, +/*::[*/ +97:33, +/*::[*/ +66:34, +/*::[*/ +98:34, +/*::[*/ +67:35, +/*::[*/ +99:35, +/*::[*/ +68:36, +/*::[*/ +100:36, +/*::[*/ +69:37, +/*::[*/ +101:37, +/*::[*/ +70:38, +/*::[*/ +102:38, +/*::[*/ +71:39, +/*::[*/ +103:39, +/*::[*/ +72:40, +/*::[*/ +104:40, +/*::[*/ +73:41, +/*::[*/ +105:41, +/*::[*/ +74:42, +/*::[*/ +106:42, +/*::[*/ +75:43, +/*::[*/ +107:43, +/*::[*/ +76:44, +/*::[*/ +108:44, +/*::[*/ +77:45, +/*::[*/ +109:45, +/*::[*/ +78:46, +/*::[*/ +110:46, +/*::[*/ +79:47, +/*::[*/ +111:47, +/*::[*/ +88:34, +/*::[*/ +120:34, +/*::[*/ +89:57, +/*::[*/ +121:57, +/*::[*/ +90:58, +/*::[*/ +122:58, +/*::[*/ +91:59, +/*::[*/ +123:59, +/*::[*/ +92:60, +/*::[*/ +124:60, +/*::[*/ +93:61, +/*::[*/ +125:61},Db={ +/*::[*/ +1:{n:"PtgElfLel",f:wb}, +/*::[*/ +2:{n:"PtgElfRw",f:vb}, +/*::[*/ +3:{n:"PtgElfCol",f:vb}, +/*::[*/ +6:{n:"PtgElfRwV",f:vb}, +/*::[*/ +7:{n:"PtgElfColV",f:vb}, +/*::[*/ +10:{n:"PtgElfRadical",f:vb}, +/*::[*/ +11:{n:"PtgElfRadicalS",f:yb}, +/*::[*/ +13:{n:"PtgElfColS",f:yb}, +/*::[*/ +15:{n:"PtgElfColSV",f:yb}, +/*::[*/ +16:{n:"PtgElfRadicalLel",f:wb}, +/*::[*/ +25:{n:"PtgList",f:function(e){e.l+=2;var t=e.read_shift(2),n=e.read_shift(2),i=e.read_shift(4),r=e.read_shift(2),a=e.read_shift(2);return{ixti:t,coltype:3&n,rt:xb[n>>2&31],idx:i,c:r,C:a}}}, +/*::[*/ +29:{n:"PtgSxName",f:function(e){return e.l+=2,[e.read_shift(4)]}}, +/*::[*/ +255:{}},Ab={ +/*::[*/ +0:{n:"PtgAttrNoop",f:function(e){return e.l+=4,[0,0]}}, +/*::[*/ +1:{n:"PtgAttrSemi",f:function(e,t,n){var i=255&e[e.l+1]?1:0;return e.l+=n&&2==n.biff?3:4,[i]}}, +/*::[*/ +2:{n:"PtgAttrIf",f:function(e,t,n){var i=255&e[e.l+1]?1:0;return e.l+=2,[i,e.read_shift(n&&2==n.biff?1:2)]}}, +/*::[*/ +4:{n:"PtgAttrChoose",f:function(e,t,n){e.l+=2;for(var i=e.read_shift(n&&2==n.biff?1:2),r=[],a=0;a<=i;++a)r.push(e.read_shift(n&&2==n.biff?1:2));return r}}, +/*::[*/ +8:{n:"PtgAttrGoto",f:function(e,t,n){var i=255&e[e.l+1]?1:0;return e.l+=2,[i,e.read_shift(n&&2==n.biff?1:2)]}}, +/*::[*/ +16:{n:"PtgAttrSum",f:function(e,t,n){e.l+=n&&2==n.biff?3:4}}, +/*::[*/ +32:{n:"PtgAttrBaxcel",f:fb}, +/*::[*/ +33:{n:"PtgAttrBaxcel",f:fb}, +/*::[*/ +64:{n:"PtgAttrSpace",f:function(e){return e.read_shift(2),pb(e)}}, +/*::[*/ +65:{n:"PtgAttrSpaceSemi",f:function(e){return e.read_shift(2),pb(e)}}, +/*::[*/ +128:{n:"PtgAttrIfError",f:function(e){var t=255&e[e.l+1]?1:0;return e.l+=2,[t,e.read_shift(2)]}}, +/*::[*/ +255:{}};function Eb(e,t,n,i){if(i.biff<8)return $f(e,t);for(var r=e.l+t,a=[],s=0;s!==n.length;++s)switch(n[s][0]){case"PtgArray":n[s][1]=bb(e,0,i),a.push(n[s][1]);break;case"PtgMemArea":n[s][2]=mb(e,n[s][1],i),a.push(n[s][2]);break;case"PtgExp":i&&12==i.biff&&(n[s][1][1]=e.read_shift(4),a.push(n[s][1]));break;case"PtgList": +/* TODO: PtgList -> PtgExtraList */case"PtgElfRadicalS": +/* TODO: PtgElfRadicalS -> PtgExtraElf */case"PtgElfColS": +/* TODO: PtgElfColS -> PtgExtraElf */case"PtgElfColSV":throw"Unsupported "+n[s][0]}return 0!==(t=r-e.l)&&a.push($f(e,t)),a}function kb(e,t,n){for(var i,r,a=e.l+t,s=[];a!=e.l;)t=a-e.l,r=e[e.l],i=_b[r]||_b[Tb[r]],24!==r&&25!==r||(i=(24===r?Db:Ab)[e[e.l+1]]),i&&i.f?s.push([i.n,i.f(e,t,n)]):$f(e,t);return s}function Sb(e){for(var t=[],n=0;n<e.length;++n){for(var i=e[n],r=[],a=0;a<i.length;++a){var s=i[a];if(s)if(2===s[0])r.push('"'+s[1].replace(/"/g,'""')+'"');else r.push(s[1]);else r.push("")}t.push(r.join(","))}return t.join(";")}var Cb={PtgAdd:"+",PtgConcat:"&",PtgDiv:"/",PtgEq:"=",PtgGe:">=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function Ub(e,t,n){if(!e)return"SH33TJSERR0";if(n.biff>8&&(!e.XTI||!e.XTI[t]))return e.SheetNames[t];if(!e.XTI)return"SH33TJSERR6";var i=e.XTI[t];if(n.biff<8)return t>1e4&&(t-=65536),t<0&&(t=-t),0==t?"":e.XTI[t-1];if(!i)return"SH33TJSERR1";var r="";if(n.biff>8)switch(e[i[0]][0]){case 357:return r=-1==i[1]?"#REF":e.SheetNames[i[1]],i[1]==i[2]?r:r+":"+e.SheetNames[i[2]];case 358:return null!=n.SID?e.SheetNames[n.SID]:"SH33TJSSAME"+e[i[0]][0]; +/* 'BrtSupBookSrc' */ +/* falls through */ +default:return"SH33TJSSRC"+e[i[0]][0]}switch(e[i[0]][0][0]){case 1025:return r=-1==i[1]?"#REF":e.SheetNames[i[1]]||"SH33TJSERR3",i[1]==i[2]?r:r+":"+e.SheetNames[i[2]];case 14849:return e[i[0]].slice(1).map((function(e){return e.Name})).join(";;"); +//return "SH33TJSERR8"; +default:return e[i[0]][0][3]?(r=-1==i[1]?"#REF":e[i[0]][0][3][i[1]]||"SH33TJSERR4",i[1]==i[2]?r:r+":"+e[i[0]][0][3][i[2]]):"SH33TJSERR2"}}function Fb(e,t,n){var i=Ub(e,t,n);return"#REF"==i?i:function(e,t){if(!(e||t&&t.biff<=5&&t.biff>=2))throw new Error("empty sheet name");return/[^\w\u4E00-\u9FFF\u3040-\u30FF]/.test(e)?"'"+e+"'":e}(i,n)}function Mb(e,t,n,i,r){var a,s,o,c,l=r&&r.biff||8,h= +/*range != null ? range :*/{s:{c:0,r:0},e:{c:0,r:0}},d=[],u=0,f=0,p="";if(!e[0]||!e[0][0])return"";for(var g=-1,m="",b=0,v=e[0].length;b<v;++b){var y=e[0][b];switch(y[0]){case"PtgUminus":d.push("-"+d.pop());break;case"PtgUplus":d.push("+"+d.pop());break;case"PtgPercent":d.push(d.pop()+"%");break;case"PtgAdd": +/* [MS-XLS] 2.5.198.26 */case"PtgConcat": +/* [MS-XLS] 2.5.198.43 */case"PtgDiv": +/* [MS-XLS] 2.5.198.45 */case"PtgEq": +/* [MS-XLS] 2.5.198.56 */case"PtgGe": +/* [MS-XLS] 2.5.198.64 */case"PtgGt": +/* [MS-XLS] 2.5.198.65 */case"PtgLe": +/* [MS-XLS] 2.5.198.68 */case"PtgLt": +/* [MS-XLS] 2.5.198.69 */case"PtgMul": +/* [MS-XLS] 2.5.198.75 */case"PtgNe": +/* [MS-XLS] 2.5.198.78 */case"PtgPower": +/* [MS-XLS] 2.5.198.82 */case"PtgSub":if(a=d.pop(),s=d.pop(),g>=0){switch(e[0][g][1][0]){case 0:m=bu(" ",e[0][g][1][1]);break;case 1:m=bu("\r",e[0][g][1][1]);break;default:if(m="",r.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][g][1][0])}s+=m,g=-1}d.push(s+Cb[y[0]]+a);break;case"PtgIsect":a=d.pop(),s=d.pop(),d.push(s+" "+a);break;case"PtgUnion":a=d.pop(),s=d.pop(),d.push(s+","+a);break;case"PtgRange":a=d.pop(),s=d.pop(),d.push(s+":"+a);break;case"PtgAttrChoose":case"PtgAttrGoto":case"PtgAttrIf":case"PtgAttrIfError":case"PtgAttrBaxcel": +/* [MS-XLS] 2.5.198.33 */case"PtgAttrSemi":case"PtgMemArea":case"PtgTbl":case"PtgMemErr":case"PtgMemAreaN":case"PtgMemNoMemN":case"PtgAttrNoop":case"PtgSheet":case"PtgEndSheet":case"PtgMemFunc":case"PtgMemNoMem":break;case"PtgRef":o=Zf(y[1][1],h,r),d.push(Qf(o,l));break;case"PtgRefN":o=n?Zf(y[1][1],n,r):y[1][1],d.push(Qf(o,l));break;case"PtgRef3d":u=/*::Number(*/ +y[1][1],o=Zf(y[1][2],h,r),p=Fb(i,u,r),d.push(p+"!"+Qf(o,l));break;case"PtgFunc": +/* [MS-XLS] 2.5.198.62 */case"PtgFuncVar":var w=y[1][0],x=y[1][1];w||(w=0);var _=0==(w&=127)?[]:d.slice(-w);d.length-=w,"User"===x&&(x=_.shift()),d.push(x+"("+_.join(",")+")");break;case"PtgBool":d.push(y[1]?"TRUE":"FALSE");break;case"PtgInt":case"PtgErr":d.push( +/*::String(*/ +y[1] +/*::)*/);break;case"PtgNum":d.push(String(y[1]));break;case"PtgStr":d.push('"'+y[1].replace(/"/g,'""')+'"');break;case"PtgAreaN":c=Jf(y[1][1],n?{s:n}:h,r),d.push(ep(c,r));break;case"PtgArea":c=Jf(y[1][1],h,r),d.push(ep(c,r));break;case"PtgArea3d":u=/*::Number(*/ +y[1][1],c=y[1][2],p=Fb(i,u,r),d.push(p+"!"+ep(c,r));break;case"PtgAttrSum":d.push("SUM("+d.pop()+")");break;case"PtgName":f=y[1][2];var T=(i.names||[])[f-1]||(i[0]||[])[f],D=T?T.Name:"SH33TJSNAME"+String(f);D&&"_xlfn."==D.slice(0,6)&&!r.xlfn&&(D=D.slice(6)),d.push(D);break;case"PtgNameX":var A,E=y[1][1];if(f=y[1][2],!(r.biff<=5)){var k="";if(14849==((i[E]||[])[0]||[])[0]||(1025==((i[E]||[])[0]||[])[0]?i[E][f]&&i[E][f].itab>0&&(k=i.SheetNames[i[E][f].itab-1]+"!"):k=i.SheetNames[f-1]+"!"),i[E]&&i[E][f])k+=i[E][f].Name;else if(i[0]&&i[0][f])k+=i[0][f].Name;else{var S=(Ub(i,E,r)||"").split(";;");S[f-1]?k=S[f-1]:k+="SH33TJSERRX"}d.push(k);break}E<0&&(E=-E),i[E]&&(A=i[E][f]),A||(A={Name:"SH33TJSERRY"}),d.push(A.Name);break;case"PtgParen":var C="(",U=")";if(g>=0){switch(m="",e[0][g][1][0]){ +// $FlowIgnore +case 2:C=bu(" ",e[0][g][1][1])+C;break; +// $FlowIgnore +case 3:C=bu("\r",e[0][g][1][1])+C;break; +// $FlowIgnore +case 4:U=bu(" ",e[0][g][1][1])+U;break; +// $FlowIgnore +case 5:U=bu("\r",e[0][g][1][1])+U;break;default:if(r.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][g][1][0])}g=-1}d.push(C+d.pop()+U);break;case"PtgRefErr":case"PtgRefErr3d":case"PtgAreaErr":case"PtgAreaErr3d":d.push("#REF!");break;case"PtgExp":o={c:y[1][1],r:y[1][0]};var F={c:n.c,r:n.r};if(i.sharedf[sp(o)]){var M=i.sharedf[sp(o)];d.push(Mb(M,h,F,i,r))}else{var R=!1;for(a=0;a!=i.arrayf.length;++a)if(s=i.arrayf[a],!(o.c<s[0].s.c||o.c>s[0].e.c||o.r<s[0].s.r||o.r>s[0].e.r)){d.push(Mb(s[1],h,F,i,r)),R=!0;break}R||d.push( +/*::String(*/ +y[1] +/*::)*/)}break;case"PtgArray":d.push("{"+Sb( +/*::(*/ +y[1] +/*:: :any)*/)+"}");break;case"PtgAttrSpace": +/* [MS-XLS] 2.5.198.38 */case"PtgAttrSpaceSemi":g=b;break;case"PtgMissArg":d.push("");break;case"PtgList":d.push("Table"+y[1].idx+"[#"+y[1].rt+"]");break;case"PtgElfCol": +/* [MS-XLS] 2.5.198.46 */case"PtgElfColS": +/* [MS-XLS] 2.5.198.47 */case"PtgElfColSV": +/* [MS-XLS] 2.5.198.48 */case"PtgElfColV": +/* [MS-XLS] 2.5.198.49 */case"PtgElfLel": +/* [MS-XLS] 2.5.198.50 */case"PtgElfRadical": +/* [MS-XLS] 2.5.198.51 */case"PtgElfRadicalLel": +/* [MS-XLS] 2.5.198.52 */case"PtgElfRadicalS": +/* [MS-XLS] 2.5.198.53 */case"PtgElfRw": +/* [MS-XLS] 2.5.198.54 */case"PtgElfRwV":throw new Error("Unsupported ELFs");default:throw new Error("Unrecognized Formula Token: "+String(y))}if(3!=r.biff&&g>=0&&-1==["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"].indexOf(e[0][b][0])){var I=!0;switch((y=e[0][g])[1][0]){ +/* note: some bad XLSB files omit the PtgParen */ +case 4:I=!1; +/* falls through */case 0:m=bu(" ",y[1][1]);break;case 5:I=!1; +/* falls through */case 1:m=bu("\r",y[1][1]);break;default:if(m="",r.WTF)throw new Error("Unexpected PtgAttrSpaceType "+y[1][0])}d.push((I?m:"")+d.pop()+(I?"":m)),g=-1}}if(d.length>1&&r.WTF)throw new Error("bad formula stack");return d[0]}function Rb(e,t,n){var i,r=e.l+t,a=2==n.biff?1:2,s=e.read_shift(a);if(65535==s)return[[],$f(e,t-2)];var o=kb(e,s,n);return t!==s+a&&(i=Eb(e,t-s-a,o,n)),e.l=r,[o,i]}function Ib(e,t,n){var i,r=e.l+t,a=e.read_shift(2),s=kb(e,a,n);return 65535==a?[[],$f(e,t-2)]:(t!==a+2&&(i=Eb(e,r-a-2,s,n)),[s,i])}function Ob(e,t,n){var i=e.l+t,r=Tg(e);2==n.biff&&++e.l;var a=function(e){var t;if(65535!==Of(e,e.l+6))return[Sp(e),"n"];switch(e[e.l]){case 0:return e.l+=8,["String","s"];case 1:return t=1===e[e.l+2],e.l+=8,[t,"b"];case 2:return t=e[e.l+2],e.l+=8,[t,"e"];case 3:return e.l+=8,["","s"]}return[]}(e),s=e.read_shift(1);2!=n.biff&&(e.read_shift(1),n.biff>=5&&e.read_shift(4));var o=function(e,t,n){var i,r=e.l+t,a=2==n.biff?1:2,s=e.read_shift(a);if(65535==s)return[[],$f(e,t-2)];var o=kb(e,s,n);return t!==s+a&&(i=Eb(e,t-s-a,o,n)),e.l=r,[o,i]}(e,i-e.l,n);return{cell:r,val:a[0],formula:o,shared:s>>3&1,tt:a[1]}}function Nb(e,t,n){var i=e.read_shift(4),r=kb(e,i,n),a=e.read_shift(4);return[r,a>0?Eb(e,a,r,n):null]}var Pb=Nb,Lb=Nb,Wb=Nb,Bb=Nb,jb={0:"BEEP",1:"OPEN",2:"OPEN.LINKS",3:"CLOSE.ALL",4:"SAVE",5:"SAVE.AS",6:"FILE.DELETE",7:"PAGE.SETUP",8:"PRINT",9:"PRINTER.SETUP",10:"QUIT",11:"NEW.WINDOW",12:"ARRANGE.ALL",13:"WINDOW.SIZE",14:"WINDOW.MOVE",15:"FULL",16:"CLOSE",17:"RUN",22:"SET.PRINT.AREA",23:"SET.PRINT.TITLES",24:"SET.PAGE.BREAK",25:"REMOVE.PAGE.BREAK",26:"FONT",27:"DISPLAY",28:"PROTECT.DOCUMENT",29:"PRECISION",30:"A1.R1C1",31:"CALCULATE.NOW",32:"CALCULATION",34:"DATA.FIND",35:"EXTRACT",36:"DATA.DELETE",37:"SET.DATABASE",38:"SET.CRITERIA",39:"SORT",40:"DATA.SERIES",41:"TABLE",42:"FORMAT.NUMBER",43:"ALIGNMENT",44:"STYLE",45:"BORDER",46:"CELL.PROTECTION",47:"COLUMN.WIDTH",48:"UNDO",49:"CUT",50:"COPY",51:"PASTE",52:"CLEAR",53:"PASTE.SPECIAL",54:"EDIT.DELETE",55:"INSERT",56:"FILL.RIGHT",57:"FILL.DOWN",61:"DEFINE.NAME",62:"CREATE.NAMES",63:"FORMULA.GOTO",64:"FORMULA.FIND",65:"SELECT.LAST.CELL",66:"SHOW.ACTIVE.CELL",67:"GALLERY.AREA",68:"GALLERY.BAR",69:"GALLERY.COLUMN",70:"GALLERY.LINE",71:"GALLERY.PIE",72:"GALLERY.SCATTER",73:"COMBINATION",74:"PREFERRED",75:"ADD.OVERLAY",76:"GRIDLINES",77:"SET.PREFERRED",78:"AXES",79:"LEGEND",80:"ATTACH.TEXT",81:"ADD.ARROW",82:"SELECT.CHART",83:"SELECT.PLOT.AREA",84:"PATTERNS",85:"MAIN.CHART",86:"OVERLAY",87:"SCALE",88:"FORMAT.LEGEND",89:"FORMAT.TEXT",90:"EDIT.REPEAT",91:"PARSE",92:"JUSTIFY",93:"HIDE",94:"UNHIDE",95:"WORKSPACE",96:"FORMULA",97:"FORMULA.FILL",98:"FORMULA.ARRAY",99:"DATA.FIND.NEXT",100:"DATA.FIND.PREV",101:"FORMULA.FIND.NEXT",102:"FORMULA.FIND.PREV",103:"ACTIVATE",104:"ACTIVATE.NEXT",105:"ACTIVATE.PREV",106:"UNLOCKED.NEXT",107:"UNLOCKED.PREV",108:"COPY.PICTURE",109:"SELECT",110:"DELETE.NAME",111:"DELETE.FORMAT",112:"VLINE",113:"HLINE",114:"VPAGE",115:"HPAGE",116:"VSCROLL",117:"HSCROLL",118:"ALERT",119:"NEW",120:"CANCEL.COPY",121:"SHOW.CLIPBOARD",122:"MESSAGE",124:"PASTE.LINK",125:"APP.ACTIVATE",126:"DELETE.ARROW",127:"ROW.HEIGHT",128:"FORMAT.MOVE",129:"FORMAT.SIZE",130:"FORMULA.REPLACE",131:"SEND.KEYS",132:"SELECT.SPECIAL",133:"APPLY.NAMES",134:"REPLACE.FONT",135:"FREEZE.PANES",136:"SHOW.INFO",137:"SPLIT",138:"ON.WINDOW",139:"ON.DATA",140:"DISABLE.INPUT",142:"OUTLINE",143:"LIST.NAMES",144:"FILE.CLOSE",145:"SAVE.WORKBOOK",146:"DATA.FORM",147:"COPY.CHART",148:"ON.TIME",149:"WAIT",150:"FORMAT.FONT",151:"FILL.UP",152:"FILL.LEFT",153:"DELETE.OVERLAY",155:"SHORT.MENUS",159:"SET.UPDATE.STATUS",161:"COLOR.PALETTE",162:"DELETE.STYLE",163:"WINDOW.RESTORE",164:"WINDOW.MAXIMIZE",166:"CHANGE.LINK",167:"CALCULATE.DOCUMENT",168:"ON.KEY",169:"APP.RESTORE",170:"APP.MOVE",171:"APP.SIZE",172:"APP.MINIMIZE",173:"APP.MAXIMIZE",174:"BRING.TO.FRONT",175:"SEND.TO.BACK",185:"MAIN.CHART.TYPE",186:"OVERLAY.CHART.TYPE",187:"SELECT.END",188:"OPEN.MAIL",189:"SEND.MAIL",190:"STANDARD.FONT",191:"CONSOLIDATE",192:"SORT.SPECIAL",193:"GALLERY.3D.AREA",194:"GALLERY.3D.COLUMN",195:"GALLERY.3D.LINE",196:"GALLERY.3D.PIE",197:"VIEW.3D",198:"GOAL.SEEK",199:"WORKGROUP",200:"FILL.GROUP",201:"UPDATE.LINK",202:"PROMOTE",203:"DEMOTE",204:"SHOW.DETAIL",206:"UNGROUP",207:"OBJECT.PROPERTIES",208:"SAVE.NEW.OBJECT",209:"SHARE",210:"SHARE.NAME",211:"DUPLICATE",212:"APPLY.STYLE",213:"ASSIGN.TO.OBJECT",214:"OBJECT.PROTECTION",215:"HIDE.OBJECT",216:"SET.EXTRACT",217:"CREATE.PUBLISHER",218:"SUBSCRIBE.TO",219:"ATTRIBUTES",220:"SHOW.TOOLBAR",222:"PRINT.PREVIEW",223:"EDIT.COLOR",224:"SHOW.LEVELS",225:"FORMAT.MAIN",226:"FORMAT.OVERLAY",227:"ON.RECALC",228:"EDIT.SERIES",229:"DEFINE.STYLE",240:"LINE.PRINT",243:"ENTER.DATA",249:"GALLERY.RADAR",250:"MERGE.STYLES",251:"EDITION.OPTIONS",252:"PASTE.PICTURE",253:"PASTE.PICTURE.LINK",254:"SPELLING",256:"ZOOM",259:"INSERT.OBJECT",260:"WINDOW.MINIMIZE",265:"SOUND.NOTE",266:"SOUND.PLAY",267:"FORMAT.SHAPE",268:"EXTEND.POLYGON",269:"FORMAT.AUTO",272:"GALLERY.3D.BAR",273:"GALLERY.3D.SURFACE",274:"FILL.AUTO",276:"CUSTOMIZE.TOOLBAR",277:"ADD.TOOL",278:"EDIT.OBJECT",279:"ON.DOUBLECLICK",280:"ON.ENTRY",281:"WORKBOOK.ADD",282:"WORKBOOK.MOVE",283:"WORKBOOK.COPY",284:"WORKBOOK.OPTIONS",285:"SAVE.WORKSPACE",288:"CHART.WIZARD",289:"DELETE.TOOL",290:"MOVE.TOOL",291:"WORKBOOK.SELECT",292:"WORKBOOK.ACTIVATE",293:"ASSIGN.TO.TOOL",295:"COPY.TOOL",296:"RESET.TOOL",297:"CONSTRAIN.NUMERIC",298:"PASTE.TOOL",302:"WORKBOOK.NEW",305:"SCENARIO.CELLS",306:"SCENARIO.DELETE",307:"SCENARIO.ADD",308:"SCENARIO.EDIT",309:"SCENARIO.SHOW",310:"SCENARIO.SHOW.NEXT",311:"SCENARIO.SUMMARY",312:"PIVOT.TABLE.WIZARD",313:"PIVOT.FIELD.PROPERTIES",314:"PIVOT.FIELD",315:"PIVOT.ITEM",316:"PIVOT.ADD.FIELDS",318:"OPTIONS.CALCULATION",319:"OPTIONS.EDIT",320:"OPTIONS.VIEW",321:"ADDIN.MANAGER",322:"MENU.EDITOR",323:"ATTACH.TOOLBARS",324:"VBAActivate",325:"OPTIONS.CHART",328:"VBA.INSERT.FILE",330:"VBA.PROCEDURE.DEFINITION",336:"ROUTING.SLIP",338:"ROUTE.DOCUMENT",339:"MAIL.LOGON",342:"INSERT.PICTURE",343:"EDIT.TOOL",344:"GALLERY.DOUGHNUT",350:"CHART.TREND",352:"PIVOT.ITEM.PROPERTIES",354:"WORKBOOK.INSERT",355:"OPTIONS.TRANSITION",356:"OPTIONS.GENERAL",370:"FILTER.ADVANCED",373:"MAIL.ADD.MAILER",374:"MAIL.DELETE.MAILER",375:"MAIL.REPLY",376:"MAIL.REPLY.ALL",377:"MAIL.FORWARD",378:"MAIL.NEXT.LETTER",379:"DATA.LABEL",380:"INSERT.TITLE",381:"FONT.PROPERTIES",382:"MACRO.OPTIONS",383:"WORKBOOK.HIDE",384:"WORKBOOK.UNHIDE",385:"WORKBOOK.DELETE",386:"WORKBOOK.NAME",388:"GALLERY.CUSTOM",390:"ADD.CHART.AUTOFORMAT",391:"DELETE.CHART.AUTOFORMAT",392:"CHART.ADD.DATA",393:"AUTO.OUTLINE",394:"TAB.ORDER",395:"SHOW.DIALOG",396:"SELECT.ALL",397:"UNGROUP.SHEETS",398:"SUBTOTAL.CREATE",399:"SUBTOTAL.REMOVE",400:"RENAME.OBJECT",412:"WORKBOOK.SCROLL",413:"WORKBOOK.NEXT",414:"WORKBOOK.PREV",415:"WORKBOOK.TAB.SPLIT",416:"FULL.SCREEN",417:"WORKBOOK.PROTECT",420:"SCROLLBAR.PROPERTIES",421:"PIVOT.SHOW.PAGES",422:"TEXT.TO.COLUMNS",423:"FORMAT.CHARTTYPE",424:"LINK.FORMAT",425:"TRACER.DISPLAY",430:"TRACER.NAVIGATE",431:"TRACER.CLEAR",432:"TRACER.ERROR",433:"PIVOT.FIELD.GROUP",434:"PIVOT.FIELD.UNGROUP",435:"CHECKBOX.PROPERTIES",436:"LABEL.PROPERTIES",437:"LISTBOX.PROPERTIES",438:"EDITBOX.PROPERTIES",439:"PIVOT.REFRESH",440:"LINK.COMBO",441:"OPEN.TEXT",442:"HIDE.DIALOG",443:"SET.DIALOG.FOCUS",444:"ENABLE.OBJECT",445:"PUSHBUTTON.PROPERTIES",446:"SET.DIALOG.DEFAULT",447:"FILTER",448:"FILTER.SHOW.ALL",449:"CLEAR.OUTLINE",450:"FUNCTION.WIZARD",451:"ADD.LIST.ITEM",452:"SET.LIST.ITEM",453:"REMOVE.LIST.ITEM",454:"SELECT.LIST.ITEM",455:"SET.CONTROL.VALUE",456:"SAVE.COPY.AS",458:"OPTIONS.LISTS.ADD",459:"OPTIONS.LISTS.DELETE",460:"SERIES.AXES",461:"SERIES.X",462:"SERIES.Y",463:"ERRORBAR.X",464:"ERRORBAR.Y",465:"FORMAT.CHART",466:"SERIES.ORDER",467:"MAIL.LOGOFF",468:"CLEAR.ROUTING.SLIP",469:"APP.ACTIVATE.MICROSOFT",470:"MAIL.EDIT.MAILER",471:"ON.SHEET",472:"STANDARD.WIDTH",473:"SCENARIO.MERGE",474:"SUMMARY.INFO",475:"FIND.FILE",476:"ACTIVE.CELL.FONT",477:"ENABLE.TIPWIZARD",478:"VBA.MAKE.ADDIN",480:"INSERTDATATABLE",481:"WORKGROUP.OPTIONS",482:"MAIL.SEND.MAILER",485:"AUTOCORRECT",489:"POST.DOCUMENT",491:"PICKLIST",493:"VIEW.SHOW",494:"VIEW.DEFINE",495:"VIEW.DELETE",509:"SHEET.BACKGROUND",510:"INSERT.MAP.OBJECT",511:"OPTIONS.MENONO",517:"MSOCHECKS",518:"NORMAL",519:"LAYOUT",520:"RM.PRINT.AREA",521:"CLEAR.PRINT.AREA",522:"ADD.PRINT.AREA",523:"MOVE.BRK",545:"HIDECURR.NOTE",546:"HIDEALL.NOTES",547:"DELETE.NOTE",548:"TRAVERSE.NOTES",549:"ACTIVATE.NOTES",620:"PROTECT.REVISIONS",621:"UNPROTECT.REVISIONS",647:"OPTIONS.ME",653:"WEB.PUBLISH",667:"NEWWEBQUERY",673:"PIVOT.TABLE.CHART",753:"OPTIONS.SAVE",755:"OPTIONS.SPELL",808:"HIDEALL.INKANNOTS"},zb={0:"COUNT",1:"IF",2:"ISNA",3:"ISERROR",4:"SUM",5:"AVERAGE",6:"MIN",7:"MAX",8:"ROW",9:"COLUMN",10:"NA",11:"NPV",12:"STDEV",13:"DOLLAR",14:"FIXED",15:"SIN",16:"COS",17:"TAN",18:"ATAN",19:"PI",20:"SQRT",21:"EXP",22:"LN",23:"LOG10",24:"ABS",25:"INT",26:"SIGN",27:"ROUND",28:"LOOKUP",29:"INDEX",30:"REPT",31:"MID",32:"LEN",33:"VALUE",34:"TRUE",35:"FALSE",36:"AND",37:"OR",38:"NOT",39:"MOD",40:"DCOUNT",41:"DSUM",42:"DAVERAGE",43:"DMIN",44:"DMAX",45:"DSTDEV",46:"VAR",47:"DVAR",48:"TEXT",49:"LINEST",50:"TREND",51:"LOGEST",52:"GROWTH",53:"GOTO",54:"HALT",55:"RETURN",56:"PV",57:"FV",58:"NPER",59:"PMT",60:"RATE",61:"MIRR",62:"IRR",63:"RAND",64:"MATCH",65:"DATE",66:"TIME",67:"DAY",68:"MONTH",69:"YEAR",70:"WEEKDAY",71:"HOUR",72:"MINUTE",73:"SECOND",74:"NOW",75:"AREAS",76:"ROWS",77:"COLUMNS",78:"OFFSET",79:"ABSREF",80:"RELREF",81:"ARGUMENT",82:"SEARCH",83:"TRANSPOSE",84:"ERROR",85:"STEP",86:"TYPE",87:"ECHO",88:"SET.NAME",89:"CALLER",90:"DEREF",91:"WINDOWS",92:"SERIES",93:"DOCUMENTS",94:"ACTIVE.CELL",95:"SELECTION",96:"RESULT",97:"ATAN2",98:"ASIN",99:"ACOS",100:"CHOOSE",101:"HLOOKUP",102:"VLOOKUP",103:"LINKS",104:"INPUT",105:"ISREF",106:"GET.FORMULA",107:"GET.NAME",108:"SET.VALUE",109:"LOG",110:"EXEC",111:"CHAR",112:"LOWER",113:"UPPER",114:"PROPER",115:"LEFT",116:"RIGHT",117:"EXACT",118:"TRIM",119:"REPLACE",120:"SUBSTITUTE",121:"CODE",122:"NAMES",123:"DIRECTORY",124:"FIND",125:"CELL",126:"ISERR",127:"ISTEXT",128:"ISNUMBER",129:"ISBLANK",130:"T",131:"N",132:"FOPEN",133:"FCLOSE",134:"FSIZE",135:"FREADLN",136:"FREAD",137:"FWRITELN",138:"FWRITE",139:"FPOS",140:"DATEVALUE",141:"TIMEVALUE",142:"SLN",143:"SYD",144:"DDB",145:"GET.DEF",146:"REFTEXT",147:"TEXTREF",148:"INDIRECT",149:"REGISTER",150:"CALL",151:"ADD.BAR",152:"ADD.MENU",153:"ADD.COMMAND",154:"ENABLE.COMMAND",155:"CHECK.COMMAND",156:"RENAME.COMMAND",157:"SHOW.BAR",158:"DELETE.MENU",159:"DELETE.COMMAND",160:"GET.CHART.ITEM",161:"DIALOG.BOX",162:"CLEAN",163:"MDETERM",164:"MINVERSE",165:"MMULT",166:"FILES",167:"IPMT",168:"PPMT",169:"COUNTA",170:"CANCEL.KEY",171:"FOR",172:"WHILE",173:"BREAK",174:"NEXT",175:"INITIATE",176:"REQUEST",177:"POKE",178:"EXECUTE",179:"TERMINATE",180:"RESTART",181:"HELP",182:"GET.BAR",183:"PRODUCT",184:"FACT",185:"GET.CELL",186:"GET.WORKSPACE",187:"GET.WINDOW",188:"GET.DOCUMENT",189:"DPRODUCT",190:"ISNONTEXT",191:"GET.NOTE",192:"NOTE",193:"STDEVP",194:"VARP",195:"DSTDEVP",196:"DVARP",197:"TRUNC",198:"ISLOGICAL",199:"DCOUNTA",200:"DELETE.BAR",201:"UNREGISTER",204:"USDOLLAR",205:"FINDB",206:"SEARCHB",207:"REPLACEB",208:"LEFTB",209:"RIGHTB",210:"MIDB",211:"LENB",212:"ROUNDUP",213:"ROUNDDOWN",214:"ASC",215:"DBCS",216:"RANK",219:"ADDRESS",220:"DAYS360",221:"TODAY",222:"VDB",223:"ELSE",224:"ELSE.IF",225:"END.IF",226:"FOR.CELL",227:"MEDIAN",228:"SUMPRODUCT",229:"SINH",230:"COSH",231:"TANH",232:"ASINH",233:"ACOSH",234:"ATANH",235:"DGET",236:"CREATE.OBJECT",237:"VOLATILE",238:"LAST.ERROR",239:"CUSTOM.UNDO",240:"CUSTOM.REPEAT",241:"FORMULA.CONVERT",242:"GET.LINK.INFO",243:"TEXT.BOX",244:"INFO",245:"GROUP",246:"GET.OBJECT",247:"DB",248:"PAUSE",251:"RESUME",252:"FREQUENCY",253:"ADD.TOOLBAR",254:"DELETE.TOOLBAR",255:"User",256:"RESET.TOOLBAR",257:"EVALUATE",258:"GET.TOOLBAR",259:"GET.TOOL",260:"SPELLING.CHECK",261:"ERROR.TYPE",262:"APP.TITLE",263:"WINDOW.TITLE",264:"SAVE.TOOLBAR",265:"ENABLE.TOOL",266:"PRESS.TOOL",267:"REGISTER.ID",268:"GET.WORKBOOK",269:"AVEDEV",270:"BETADIST",271:"GAMMALN",272:"BETAINV",273:"BINOMDIST",274:"CHIDIST",275:"CHIINV",276:"COMBIN",277:"CONFIDENCE",278:"CRITBINOM",279:"EVEN",280:"EXPONDIST",281:"FDIST",282:"FINV",283:"FISHER",284:"FISHERINV",285:"FLOOR",286:"GAMMADIST",287:"GAMMAINV",288:"CEILING",289:"HYPGEOMDIST",290:"LOGNORMDIST",291:"LOGINV",292:"NEGBINOMDIST",293:"NORMDIST",294:"NORMSDIST",295:"NORMINV",296:"NORMSINV",297:"STANDARDIZE",298:"ODD",299:"PERMUT",300:"POISSON",301:"TDIST",302:"WEIBULL",303:"SUMXMY2",304:"SUMX2MY2",305:"SUMX2PY2",306:"CHITEST",307:"CORREL",308:"COVAR",309:"FORECAST",310:"FTEST",311:"INTERCEPT",312:"PEARSON",313:"RSQ",314:"STEYX",315:"SLOPE",316:"TTEST",317:"PROB",318:"DEVSQ",319:"GEOMEAN",320:"HARMEAN",321:"SUMSQ",322:"KURT",323:"SKEW",324:"ZTEST",325:"LARGE",326:"SMALL",327:"QUARTILE",328:"PERCENTILE",329:"PERCENTRANK",330:"MODE",331:"TRIMMEAN",332:"TINV",334:"MOVIE.COMMAND",335:"GET.MOVIE",336:"CONCATENATE",337:"POWER",338:"PIVOT.ADD.DATA",339:"GET.PIVOT.TABLE",340:"GET.PIVOT.FIELD",341:"GET.PIVOT.ITEM",342:"RADIANS",343:"DEGREES",344:"SUBTOTAL",345:"SUMIF",346:"COUNTIF",347:"COUNTBLANK",348:"SCENARIO.GET",349:"OPTIONS.LISTS.GET",350:"ISPMT",351:"DATEDIF",352:"DATESTRING",353:"NUMBERSTRING",354:"ROMAN",355:"OPEN.DIALOG",356:"SAVE.DIALOG",357:"VIEW.GET",358:"GETPIVOTDATA",359:"HYPERLINK",360:"PHONETIC",361:"AVERAGEA",362:"MAXA",363:"MINA",364:"STDEVPA",365:"VARPA",366:"STDEVA",367:"VARA",368:"BAHTTEXT",369:"THAIDAYOFWEEK",370:"THAIDIGIT",371:"THAIMONTHOFYEAR",372:"THAINUMSOUND",373:"THAINUMSTRING",374:"THAISTRINGLENGTH",375:"ISTHAIDIGIT",376:"ROUNDBAHTDOWN",377:"ROUNDBAHTUP",378:"THAIYEAR",379:"RTD",380:"CUBEVALUE",381:"CUBEMEMBER",382:"CUBEMEMBERPROPERTY",383:"CUBERANKEDMEMBER",384:"HEX2BIN",385:"HEX2DEC",386:"HEX2OCT",387:"DEC2BIN",388:"DEC2HEX",389:"DEC2OCT",390:"OCT2BIN",391:"OCT2HEX",392:"OCT2DEC",393:"BIN2DEC",394:"BIN2OCT",395:"BIN2HEX",396:"IMSUB",397:"IMDIV",398:"IMPOWER",399:"IMABS",400:"IMSQRT",401:"IMLN",402:"IMLOG2",403:"IMLOG10",404:"IMSIN",405:"IMCOS",406:"IMEXP",407:"IMARGUMENT",408:"IMCONJUGATE",409:"IMAGINARY",410:"IMREAL",411:"COMPLEX",412:"IMSUM",413:"IMPRODUCT",414:"SERIESSUM",415:"FACTDOUBLE",416:"SQRTPI",417:"QUOTIENT",418:"DELTA",419:"GESTEP",420:"ISEVEN",421:"ISODD",422:"MROUND",423:"ERF",424:"ERFC",425:"BESSELJ",426:"BESSELK",427:"BESSELY",428:"BESSELI",429:"XIRR",430:"XNPV",431:"PRICEMAT",432:"YIELDMAT",433:"INTRATE",434:"RECEIVED",435:"DISC",436:"PRICEDISC",437:"YIELDDISC",438:"TBILLEQ",439:"TBILLPRICE",440:"TBILLYIELD",441:"PRICE",442:"YIELD",443:"DOLLARDE",444:"DOLLARFR",445:"NOMINAL",446:"EFFECT",447:"CUMPRINC",448:"CUMIPMT",449:"EDATE",450:"EOMONTH",451:"YEARFRAC",452:"COUPDAYBS",453:"COUPDAYS",454:"COUPDAYSNC",455:"COUPNCD",456:"COUPNUM",457:"COUPPCD",458:"DURATION",459:"MDURATION",460:"ODDLPRICE",461:"ODDLYIELD",462:"ODDFPRICE",463:"ODDFYIELD",464:"RANDBETWEEN",465:"WEEKNUM",466:"AMORDEGRC",467:"AMORLINC",468:"CONVERT",724:"SHEETJS",469:"ACCRINT",470:"ACCRINTM",471:"WORKDAY",472:"NETWORKDAYS",473:"GCD",474:"MULTINOMIAL",475:"LCM",476:"FVSCHEDULE",477:"CUBEKPIMEMBER",478:"CUBESET",479:"CUBESETCOUNT",480:"IFERROR",481:"COUNTIFS",482:"SUMIFS",483:"AVERAGEIF",484:"AVERAGEIFS"},Hb={2:1,3:1,10:0,15:1,16:1,17:1,18:1,19:0,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:2,30:2,31:3,32:1,33:1,34:0,35:0,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,63:0,65:3,66:3,67:1,68:1,69:1,70:1,71:1,72:1,73:1,74:0,75:1,76:1,77:1,79:2,80:2,83:1,85:0,86:1,89:0,90:1,94:0,95:0,97:2,98:1,99:1,101:3,102:3,105:1,106:1,108:2,111:1,112:1,113:1,114:1,117:2,118:1,119:4,121:1,126:1,127:1,128:1,129:1,130:1,131:1,133:1,134:1,135:1,136:2,137:2,138:2,140:1,141:1,142:3,143:4,144:4,161:1,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184:1,186:1,189:3,190:1,195:3,196:3,197:1,198:1,199:3,201:1,207:4,210:3,211:1,212:2,213:2,214:1,215:1,225:0,229:1,230:1,231:1,232:1,233:1,234:1,235:3,244:1,247:4,252:2,257:1,261:1,271:1,273:4,274:2,275:2,276:2,277:3,278:3,279:1,280:3,281:3,282:3,283:1,284:1,285:2,286:4,287:3,288:2,289:4,290:3,291:3,292:3,293:4,294:1,295:3,296:1,297:3,298:1,299:2,300:3,301:3,302:4,303:2,304:2,305:2,306:2,307:2,308:2,309:3,310:2,311:2,312:2,313:2,314:2,315:2,316:4,325:2,326:2,327:2,328:2,331:2,332:2,337:2,342:1,343:1,346:2,347:1,350:4,351:3,352:1,353:2,360:1,368:1,369:1,370:1,371:1,372:1,373:1,374:1,375:1,376:1,377:1,378:1,382:3,385:1,392:1,393:1,396:2,397:2,398:2,399:1,400:1,401:1,402:1,403:1,404:1,405:1,406:1,407:1,408:1,409:1,410:1,414:4,415:1,416:1,417:2,420:1,421:1,422:2,424:1,425:2,426:2,427:2,428:2,430:3,438:3,439:3,440:3,443:2,444:2,445:2,446:2,447:6,448:6,449:2,450:2,464:2,468:3,476:2,479:1,480:2,65535:0};function Vb(e){return"of:"==e.slice(0,3)&&(e=e.slice(3)),61==e.charCodeAt(0)&&61==(e=e.slice(1)).charCodeAt(0)&&(e=e.slice(1)),(e=(e=(e=e.replace(/COM\.MICROSOFT\./g,"")).replace(/\[((?:\.[A-Z]+[0-9]+)(?::\.[A-Z]+[0-9]+)?)\]/g,(function(e,t){return t.replace(/\./g,"")}))).replace(/\[.(#[A-Z]*[?!])\]/g,"$1")).replace(/[;~]/g,",").replace(/\|/g,";")}function Gb(e){var t=e.split(":");return[t[0].split(".")[0],t[0].split(".")[1]+(t.length>1?":"+(t[1].split(".")[1]||t[1].split(".")[0]):"")]}var Xb={},$b={};function qb(e,t){if(e){var n=[.7,.7,.75,.75,.3,.3];"xlml"==t&&(n=[1,1,1,1,.5,.5]),null==e.left&&(e.left=n[0]),null==e.right&&(e.right=n[1]),null==e.top&&(e.top=n[2]),null==e.bottom&&(e.bottom=n[3]),null==e.header&&(e.header=n[4]),null==e.footer&&(e.footer=n[5])}}function Yb(e,t,n,i,r,a){try{i.cellNF&&(e.z=bd[t])}catch(o){if(i.WTF)throw o}if("z"!==e.t||i.cellStyles){if("d"===e.t&&"string"==typeof e.v&&(e.v=pu(e.v)),(!i||!1!==i.cellText)&&"z"!==e.t)try{if(null==bd[t]&&Kd(Jd[t]||"General",t),"e"===e.t)e.w=e.w||Lp[e.v];else if(0===t)if("n"===e.t)(0|e.v)===e.v?e.w=e.v.toString(10):e.w=kd(e.v);else if("d"===e.t){var s=au(e.v);e.w=(0|s)===s?s.toString(10):kd(s)}else{if(void 0===e.v)return"";e.w=Sd(e.v,$b)}else"d"===e.t?e.w=Yd(t,au(e.v),$b):e.w=Yd(t,e.v,$b)}catch(o){if(i.WTF)throw o}if(i.cellStyles&&null!=n)try{e.s=a.Fills[n],e.s.fgColor&&e.s.fgColor.theme&&!e.s.fgColor.rgb&&(e.s.fgColor.rgb=Am(r.themeElements.clrScheme[e.s.fgColor.theme].rgb,e.s.fgColor.tint||0),i.WTF&&(e.s.fgColor.raw_rgb=r.themeElements.clrScheme[e.s.fgColor.theme].rgb)),e.s.bgColor&&e.s.bgColor.theme&&(e.s.bgColor.rgb=Am(r.themeElements.clrScheme[e.s.bgColor.theme].rgb,e.s.bgColor.tint||0),i.WTF&&(e.s.bgColor.raw_rgb=r.themeElements.clrScheme[e.s.bgColor.theme].rgb))}catch(o){if(i.WTF&&a.Fills)throw o}}}var Kb=/<(?:\w:)?mergeCell ref="[A-Z0-9:]+"\s*[\/]?>/g,Zb=/<(?:\w+:)?sheetData[^>]*>([\s\S]*)<\/(?:\w+:)?sheetData>/,Jb=/<(?:\w:)?hyperlink [^>]*>/gm,Qb=/"(\w*:\w*)"/,ev=/<(?:\w:)?col\b[^>]*[\/]?>/g,tv=/<(?:\w:)?autoFilter[^>]*([\/]|>([\s\S]*)<\/(?:\w:)?autoFilter)>/g,nv=/<(?:\w:)?pageMargins[^>]*\/>/g,iv=/<(?:\w:)?sheetPr\b(?:[^>a-z][^>]*)?\/>/,rv=/<(?:\w:)?sheetPr[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetPr)>/,av=/<(?:\w:)?sheetViews[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetViews)>/;function sv(e,t,n,i,r,a,s){if(!e)return e;i||(i={"!id":{}});var o=t.dense?[]:{},c={s:{r:2e6,c:2e6},e:{r:0,c:0}},l="",h="",d=e.match(Zb);d?(l=e.slice(0,d.index),h=e.slice(d.index+d[0].length)):l=h=e;var u=l.match(iv);u?ov(u[0],o,r,n):(u=l.match(rv))&&function(e,t,n,i,r){ov(e.slice(0,e.indexOf(">")),n,i,r)}(u[0],u[1],o,r,n);var f=(l.match(/<(?:\w*:)?dimension/)||{index:-1}).index;if(f>0){var p=l.slice(f,f+50).match(Qb);p&&function(e,t){var n=lp(t);n.s.r<=n.e.r&&n.s.c<=n.e.c&&n.s.r>=0&&n.s.c>=0&&(e["!ref"]=cp(n))}(o,p[1])}var g=l.match(av);g&&g[1]&&function(e,t){t.Views||(t.Views=[{}]);(e.match(cv)||[]).forEach((function(e,n){var i=Lu(e);t.Views[n]||(t.Views[n]={}),+i.zoomScale&&(t.Views[n].zoom=+i.zoomScale),$u(i.rightToLeft)&&(t.Views[n].RTL=!0)}))}(g[1],r);var m=[];if(t.cellStyles){var b=l.match(ev);b&&function(e,t){for(var n=!1,i=0;i!=t.length;++i){var r=Lu(t[i],!0);r.hidden&&(r.hidden=$u(r.hidden));var a=parseInt(r.min,10)-1,s=parseInt(r.max,10)-1;for(r.outlineLevel&&(r.level=+r.outlineLevel||0),delete r.min,delete r.max,r.width=+r.width,!n&&r.width&&(n=!0,Fm(r.width)),Mm(r);a<=s;)e[a++]=mu(r)}}(m,b)}d&&lv(d[1],o,t,c,a,s);var v=h.match(tv);v&&(o["!autofilter"]=function(e){var t={ref:(e.match(/ref="([^"]*)"/)||[])[1]};return t}(v[0]));var y=[],w=h.match(Kb);if(w)for(f=0;f!=w.length;++f)y[f]=lp(w[f].slice(w[f].indexOf('"')+1));var x=h.match(Jb);x&&function(e,t,n){for(var i=Array.isArray(e),r=0;r!=t.length;++r){var a=Lu(Ju(t[r]),!0);if(!a.ref)return;var s=((n||{})["!id"]||[])[a.id];s?(a.Target=s.Target,a.location&&(a.Target+="#"+zu(a.location))):(a.Target="#"+zu(a.location),s={Target:a.Target,TargetMode:"Internal"}),a.Rel=s,a.tooltip&&(a.Tooltip=a.tooltip,delete a.tooltip);for(var o=lp(a.ref),c=o.s.r;c<=o.e.r;++c)for(var l=o.s.c;l<=o.e.c;++l){var h=sp({c:l,r:c});i?(e[c]||(e[c]=[]),e[c][l]||(e[c][l]={t:"z",v:void 0}),e[c][l].l=a):(e[h]||(e[h]={t:"z",v:void 0}),e[h].l=a)}}}(o,x,i);var _,T,D=h.match(nv);if(D&&(o["!margins"]=(_=Lu(D[0]),T={},["left","right","top","bottom","header","footer"].forEach((function(e){_[e]&&(T[e]=parseFloat(_[e]))})),T)),!o["!ref"]&&c.e.c>=c.s.c&&c.e.r>=c.s.r&&(o["!ref"]=cp(c)),t.sheetRows>0&&o["!ref"]){var A=lp(o["!ref"]);t.sheetRows<=+A.e.r&&(A.e.r=t.sheetRows-1,A.e.r>c.e.r&&(A.e.r=c.e.r),A.e.r<A.s.r&&(A.s.r=A.e.r),A.e.c>c.e.c&&(A.e.c=c.e.c),A.e.c<A.s.c&&(A.s.c=A.e.c),o["!fullref"]=o["!ref"],o["!ref"]=cp(A))}return m.length>0&&(o["!cols"]=m),y.length>0&&(o["!merges"]=y),o}function ov(e,t,n,i){var r=Lu(e);n.Sheets[i]||(n.Sheets[i]={}),r.codeName&&(n.Sheets[i].CodeName=zu(Ju(r.codeName)))}var cv=/<(?:\w:)?sheetView(?:[^>a-z][^>]*)?\/?>/;var lv=function(){var e=/<(?:\w+:)?c[ \/>]/,t=/<\/(?:\w+:)?row>/,n=/r=["']([^"']*)["']/,i=/<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/,r=/ref=["']([^"']*)["']/,a=ef("v"),s=ef("f");return function(o,c,l,h,d,u){for(var f,p,g,m,b,v=0,y="",w=[],x=[],_=0,T=0,D=0,A="",E=0,k=0,S=0,C=0,U=Array.isArray(u.CellXf),F=[],M=[],R=Array.isArray(c),I=[],O={},N=!1,P=!!l.sheetStubs,L=o.split(t),W=0,B=L.length;W!=B;++W){var j=(y=L[W].trim()).length;if(0!==j){var z=0;e:for(v=0;v<j;++v)switch( +/*x.charCodeAt(ri)*/ +y[v]){case">":if( +/*x.charCodeAt(ri-1) != 47*/ +"/"!=y[v-1]){++v;break e}if(l&&l.cellStyles){if(E=null!=(p=Lu(y.slice(z,v),!0)).r?parseInt(p.r,10):E+1,k=-1,l.sheetRows&&l.sheetRows<E)continue;O={},N=!1,p.ht&&(N=!0,O.hpt=parseFloat(p.ht),O.hpx=Om(O.hpt)),"1"==p.hidden&&(N=!0,O.hidden=!0),null!=p.outlineLevel&&(N=!0,O.level=+p.outlineLevel),N&&(I[E-1]=O)}break;case"<":z=v}if(z>=v)break;if(E=null!=(p=Lu(y.slice(z,v),!0)).r?parseInt(p.r,10):E+1,k=-1,!(l.sheetRows&&l.sheetRows<E)){h.s.r>E-1&&(h.s.r=E-1),h.e.r<E-1&&(h.e.r=E-1),l&&l.cellStyles&&(O={},N=!1,p.ht&&(N=!0,O.hpt=parseFloat(p.ht),O.hpx=Om(O.hpt)),"1"==p.hidden&&(N=!0,O.hidden=!0),null!=p.outlineLevel&&(N=!0,O.level=+p.outlineLevel),N&&(I[E-1]=O)),w=y.slice(v).split(e);for(var H=0;H!=w.length&&"<"==w[H].trim().charAt(0);++H);for(w=w.slice(H),v=0;v!=w.length;++v)if(0!==(y=w[v].trim()).length){if(x=y.match(n),_=v,T=0,D=0,y="<c "+("<"==y.slice(0,1)?">":"")+y,null!=x&&2===x.length){for(_=0,A=x[1],T=0;T!=A.length&&!((D=A.charCodeAt(T)-64)<1||D>26);++T)_=26*_+D;k=--_}else++k;for(T=0;T!=y.length&&62!==y.charCodeAt(T);++T);if(++T,(p=Lu(y.slice(0,T),!0)).r||(p.r=sp({r:E-1,c:k})),f={t:""},null!=(x=(A=y.slice(T)).match(a))&&/*::cref != null && */ +""!==x[1]&&(f.v=zu(x[1])),l.cellFormula){if(null!=(x=A.match(s))&&/*::cref != null && */ +""!==x[1]){if(f.f=zu(Ju(x[1])).replace(/\r\n/g,"\n"),l.xlfn||(f.f=sb(f.f)), +/*::cref != null && cref[0] != null && */ +x[0].indexOf('t="array"')>-1)f.F=(A.match(r)||[])[1],f.F.indexOf(":")>-1&&F.push([lp(f.F),f.F]);else if( +/*::cref != null && cref[0] != null && */ +x[0].indexOf('t="shared"')>-1){m=Lu(x[0]);var V=zu(Ju(x[1]));l.xlfn||(V=sb(V)),M[parseInt(m.si,10)]=[m,V,p.r]}}else(x=A.match(/<f[^>]*\/>/))&&M[(m=Lu(x[0])).si]&&(f.f=ab(M[m.si][1],M[m.si][2],p.r));var G=ap(p.r);for(T=0;T<F.length;++T)G.r>=F[T][0].s.r&&G.r<=F[T][0].e.r&&G.c>=F[T][0].s.c&&G.c<=F[T][0].e.c&&(f.F=F[T][1])}if(null==p.t&&void 0===f.v)if(f.f||f.F)f.v=0,f.t="n";else{if(!P)continue;f.t="z"}else f.t=p.t||"n";switch(h.s.c>k&&(h.s.c=k),h.e.c<k&&(h.e.c=k),f.t){case"n":if(""==f.v||null==f.v){if(!P)continue;f.t="z"}else f.v=parseFloat(f.v);break;case"s":if(void 0===f.v){if(!P)continue;f.t="z"}else g=Xb[parseInt(f.v,10)],f.v=g.t,f.r=g.r,l.cellHTML&&(f.h=g.h);break;case"str":f.t="s",f.v=null!=f.v?Ju(f.v):"",l.cellHTML&&(f.h=Gu(f.v));break;case"inlineStr":x=A.match(i),f.t="s",null!=x&&(g=sm(x[1]))?(f.v=g.t,l.cellHTML&&(f.h=g.h)):f.v="";break;case"b":f.v=$u(f.v);break;case"d":l.cellDates?f.v=pu(f.v,1):(f.v=au(pu(f.v,1)),f.t="n");break; +/* error string in .w, number in .v */case"e":l&&!1===l.cellText||(f.w=f.v),f.v=Wp[f.v]}if(S=C=0,b=null,U&&void 0!==p.s&&null!=(b=u.CellXf[p.s])&&(null!=b.numFmtId&&(S=b.numFmtId),l.cellStyles&&null!=b.fillId&&(C=b.fillId)),Yb(f,S,C,l,d,u),l.cellDates&&U&&"n"==f.t&&Gd(bd[S])&&(f.t="d",f.v=lu(f.v)),p.cm&&l.xlmeta){var X=(l.xlmeta.Cell||[])[+p.cm-1];X&&"XLDAPR"==X.type&&(f.D=!0)}if(R){var $=ap(p.r);c[$.r]||(c[$.r]=[]),c[$.r][$.c]=f}else c[p.r]=f}}}}I.length>0&&(c["!rows"]=I)}}();var hv=kp;function dv(e){return[wp(e),Sp(e),"n"]}var uv=kp;var fv=["left","right","top","bottom","header","footer"];function pv(e,t,n,i,r,a){var s=a||{"!type":"chart"};if(!e)return a;var o=0,c=0,l="A",h={s:{r:2e6,c:2e6},e:{r:0,c:0}};return(e.match(/<c:numCache>[\s\S]*?<\/c:numCache>/gm)||[]).forEach((function(e){var t=function(e){var t,n=[],i=e.match(/^<c:numCache>/);(e.match(/<c:pt idx="(\d*)">(.*?)<\/c:pt>/gm)||[]).forEach((function(e){var t=e.match(/<c:pt idx="(\d*?)"><c:v>(.*)<\/c:v><\/c:pt>/);t&&(n[+t[1]]=i?+t[2]:t[2])}));var r=zu((e.match(/<c:formatCode>([\s\S]*?)<\/c:formatCode>/)||["","General"])[1]);return(e.match(/<c:f>(.*?)<\/c:f>/gm)||[]).forEach((function(e){t=e.replace(/<.*?>/g,"")})),[n,r,t]}(e);h.s.r=h.s.c=0,h.e.c=o,l=rp(o),t[0].forEach((function(e,n){s[l+np(n)]={t:"n",v:e,z:t[1]},c=n})),h.e.r<c&&(h.e.r=c),++o})),o>0&&(s["!ref"]=cp(h)),s}var gv=[["allowRefreshQuery",!1,"bool"],["autoCompressPictures",!0,"bool"],["backupFile",!1,"bool"],["checkCompatibility",!1,"bool"],["CodeName",""],["date1904",!1,"bool"],["defaultThemeVersion",0,"int"],["filterPrivacy",!1,"bool"],["hidePivotFieldList",!1,"bool"],["promptedSolutions",!1,"bool"],["publishItems",!1,"bool"],["refreshAllConnections",!1,"bool"],["saveExternalLinkValues",!0,"bool"],["showBorderUnselectedTables",!0,"bool"],["showInkAnnotation",!0,"bool"],["showObjects","all"],["showPivotChartFilter",!1,"bool"],["updateLinks","userSet"]],mv=[["activeTab",0,"int"],["autoFilterDateGrouping",!0,"bool"],["firstSheet",0,"int"],["minimized",!1,"bool"],["showHorizontalScroll",!0,"bool"],["showSheetTabs",!0,"bool"],["showVerticalScroll",!0,"bool"],["tabRatio",600,"int"],["visibility","visible"]],bv=[],vv=[["calcCompleted","true"],["calcMode","auto"],["calcOnSave","true"],["concurrentCalc","true"],["fullCalcOnLoad","false"],["fullPrecision","true"],["iterate","false"],["iterateCount","100"],["iterateDelta","0.001"],["refMode","A1"]];function yv(e,t){for(var n=0;n!=e.length;++n)for(var i=e[n],r=0;r!=t.length;++r){var a=t[r];if(null==i[a[0]])i[a[0]]=a[1];else switch(a[2]){case"bool":"string"==typeof i[a[0]]&&(i[a[0]]=$u(i[a[0]]));break;case"int":"string"==typeof i[a[0]]&&(i[a[0]]=parseInt(i[a[0]],10))}}}function wv(e,t){for(var n=0;n!=t.length;++n){var i=t[n];if(null==e[i[0]])e[i[0]]=i[1];else switch(i[2]){case"bool":"string"==typeof e[i[0]]&&(e[i[0]]=$u(e[i[0]]));break;case"int":"string"==typeof e[i[0]]&&(e[i[0]]=parseInt(e[i[0]],10))}}}function xv(e){wv(e.WBProps,gv),wv(e.CalcPr,vv),yv(e.WBView,mv),yv(e.Sheets,bv),$b.date1904=$u(e.WBProps.date1904)}var _v="][*?/\\".split("");var Tv=/<\w+:workbook/;function Dv(e,t){var n={};return e.read_shift(4),n.ArchID=e.read_shift(4),e.l+=t-8,n}function Av(e,t,n){return".bin"===t.slice(-4)?function(e,t){var n={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},xmlns:""},i=[],r=!1;t||(t={}),t.biff=12;var a=[],s=[[]];return s.SheetNames=[],s.XTI=[],ty[16]={n:"BrtFRTArchID$",f:Dv},Yf(e,(function(e,o,c){switch(c){case 156:s.SheetNames.push(e.name),n.Sheets.push(e);break;case 153:n.WBProps=e;break;case 39:null!=e.Sheet&&(t.SID=e.Sheet),e.Ref=Mb(e.Ptg,0,null,s,t),delete t.SID,delete e.Ptg,a.push(e);break;case 1036:case 361:case 2071: +/* 'BrtAbsPath15' */case 158: +/* 'BrtBookView' */case 143: +/* 'BrtBeginBundleShs' */case 664: +/* 'BrtBeginFnGroup' */case 353: +/* case 'BrtModelTimeGroupingCalcCol' */case 3072: +/* 'BrtUid' */case 3073: +/* 'BrtRevisionPtr' */case 534: +/* 'BrtBookProtection' */case 677: +/* 'BrtBookProtectionIso' */case 157: +/* 'BrtCalcProp' */case 610: +/* 'BrtCrashRecErr' */case 2050: +/* 'BrtDecoupledPivotCacheID' */case 155: +/* 'BrtFileRecover' */case 548: +/* 'BrtFileSharing' */case 676: +/* 'BrtFileSharingIso' */case 128: +/* 'BrtFileVersion' */case 665: +/* 'BrtFnGroup' */case 2128: +/* 'BrtModelRelationship' */case 2125: +/* 'BrtModelTable' */case 549: +/* 'BrtOleSize' */case 2053: +/* 'BrtPivotTableRef' */case 596: +/* 'BrtSmartTagType' */case 2076: +/* 'BrtTableSlicerCacheID' */case 2075: +/* 'BrtTableSlicerCacheIDs' */case 2082: +/* 'BrtTimelineCachePivotCacheID' */case 397: +/* 'BrtUserBookView' */case 154: +/* 'BrtWbFactoid' */case 1117: +/* 'BrtWbProp14' */case 553: +/* 'BrtWebOpt' */case 2091:case 16:break;case 357: +/* 'BrtSupSelf' */case 358: +/* 'BrtSupSame' */case 355: +/* 'BrtSupBookSrc' */case 667:s[0].length?s.push([c,e]):s[0]=[c,e],s[s.length-1].XTI=[];break;case 362:0===s.length&&(s[0]=[],s[0].XTI=[]),s[s.length-1].XTI=s[s.length-1].XTI.concat(e),s.XTI=s.XTI.concat(e);break;case 35:case 37:i.push(c),r=!0;break;case 36:case 38:i.pop(),r=!1;break;default:if(o.T);else if(!r||t.WTF&&37!=i[i.length-1]&&35!=i[i.length-1])throw new Error("Unexpected record 0x"+c.toString(16))}}),t),xv(n),n.Names=a,n.supbooks=s,n}(e,n):function(e,t){if(!e)throw new Error("Could not find file");var n= +/*::(*/{AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},Names:[],xmlns:""},i=!1,r="xmlns",a={},s=0;if(e.replace(Ou,(function(o,c){var l=Lu(o);switch(Wu(l[0])){case"<?xml": +/* 18.2.27 workbook CT_Workbook 1 */case"</workbook>": +/* 18.2.13 fileVersion CT_FileVersion ? */case"<fileVersion/>":case"</fileVersion>": +/* 18.2.12 fileSharing CT_FileSharing ? */case"<fileSharing":case"<fileSharing/>": +/* 18.2.28 workbookPr CT_WorkbookPr ? */case"</workbookPr>": +/* 18.2.29 workbookProtection CT_WorkbookProtection ? */case"<workbookProtection":case"<workbookProtection/>": +/* 18.2.1 bookViews CT_BookViews ? */case"<bookViews":case"<bookViews>":case"</bookViews>": +/* 18.2.30 workbookView CT_BookView + */case"</workbookView>": +/* 18.2.20 sheets CT_Sheets 1 */case"<sheets":case"<sheets>":case"</sheets>": +// aggregate sheet +/* 18.2.19 sheet CT_Sheet + */case"</sheet>": +/* 18.2.15 functionGroups CT_FunctionGroups ? */case"<functionGroups":case"<functionGroups/>": +/* 18.2.14 functionGroup CT_FunctionGroup + */case"<functionGroup": +/* 18.2.9 externalReferences CT_ExternalReferences ? */case"<externalReferences":case"</externalReferences>":case"<externalReferences>": +/* 18.2.8 externalReference CT_ExternalReference + */case"<externalReference": +/* 18.2.6 definedNames CT_DefinedNames ? */case"<definedNames/>":case"<definedName/>": +/* 18.2.2 calcPr CT_CalcPr ? */case"</calcPr>": +/* 18.2.16 oleSize CT_OleSize ? (ref required) */case"<oleSize": +/* 18.2.4 customWorkbookViews CT_CustomWorkbookViews ? */case"<customWorkbookViews>":case"</customWorkbookViews>":case"<customWorkbookViews": +/* 18.2.3 customWorkbookView CT_CustomWorkbookView + */case"<customWorkbookView":case"</customWorkbookView>": +/* 18.2.18 pivotCaches CT_PivotCaches ? */case"<pivotCaches>":case"</pivotCaches>":case"<pivotCaches": +/* 18.2.17 pivotCache CT_PivotCache ? */case"<pivotCache": +/* 18.2.21 smartTagPr CT_SmartTagPr ? */case"<smartTagPr":case"<smartTagPr/>": +/* 18.2.23 smartTagTypes CT_SmartTagTypes ? */case"<smartTagTypes":case"<smartTagTypes>":case"</smartTagTypes>": +/* 18.2.22 smartTagType CT_SmartTagType ? */case"<smartTagType": +/* 18.2.24 webPublishing CT_WebPublishing ? */case"<webPublishing":case"<webPublishing/>": +/* 18.2.11 fileRecoveryPr CT_FileRecoveryPr ? */case"<fileRecoveryPr":case"<fileRecoveryPr/>": +/* 18.2.26 webPublishObjects CT_WebPublishObjects ? */case"<webPublishObjects>":case"<webPublishObjects":case"</webPublishObjects>": +/* 18.2.25 webPublishObject CT_WebPublishObject ? */case"<webPublishObject": +/* 18.2.10 extLst CT_ExtensionList ? */case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>": +/* 18.2.7 ext CT_Extension + */ +/* Others */ +case"<ArchID": +/* TODO */ +case"<revisionPtr":break;case"<workbook":o.match(Tv)&&(r="xmlns"+o.match(/<(\w+):/)[1]),n.xmlns=l[r];break;case"<fileVersion":delete l[0],n.AppVersion=l;break;case"<workbookPr":case"<workbookPr/>":gv.forEach((function(e){if(null!=l[e[0]])switch(e[2]){case"bool":n.WBProps[e[0]]=$u(l[e[0]]);break;case"int":n.WBProps[e[0]]=parseInt(l[e[0]],10);break;default:n.WBProps[e[0]]=l[e[0]]}})),l.codeName&&(n.WBProps.CodeName=Ju(l.codeName));break;case"<workbookView":case"<workbookView/>":delete l[0],n.WBView.push(l);break;case"<sheet":switch(l.state){case"hidden":l.Hidden=1;break;case"veryHidden":l.Hidden=2;break;default:l.Hidden=0}delete l.state,l.name=zu(Ju(l.name)),delete l[0],n.Sheets.push(l);break;case"<definedNames>":case"<definedNames":case"<ext": +//TODO: check with versions of excel +case"<AlternateContent":case"<AlternateContent>":i=!0;break;case"</definedNames>": +/* 18.2.5 definedName CT_DefinedName + */case"</ext>":case"</AlternateContent>":i=!1;break;case"<definedName":(a={}).Name=Ju(l.name),l.comment&&(a.Comment=l.comment),l.localSheetId&&(a.Sheet=+l.localSheetId),$u(l.hidden||"0")&&(a.Hidden=!0),s=c+o.length;break;case"</definedName>":a.Ref=zu(Ju(e.slice(s,c))),n.Names.push(a);break;case"<calcPr":case"<calcPr/>":delete l[0],n.CalcPr=l;break;default:if(!i&&t.WTF)throw new Error("unrecognized "+l[0]+" in workbook")}return o})),-1===uf.indexOf(n.xmlns))throw new Error("Unknown Namespace: "+n.xmlns);return xv(n),n}(e,n)}function Ev(e,t,n,i,r,a,s,o){return".bin"===t.slice(-4)?function(e,t,n,i,r,a,s){if(!e)return e;var o=t||{};i||(i={"!id":{}});var c,l,h,d,u,f,p,g,m,b,v=o.dense?[]:{},y={s:{r:2e6,c:2e6},e:{r:0,c:0}},w=!1,x=!1,_=[];o.biff=12,o["!row"]=0;var T=0,D=!1,A=[],E={},k=o.supbooks||/*::(*/ +r.supbooks||[[]];if(k.sharedf=E,k.arrayf=A,k.SheetNames=r.SheetNames||r.Sheets.map((function(e){return e.name})),!o.supbooks&&(o.supbooks=k,r.Names))for(var S=0;S<r.Names.length;++S)k[0][S+1]=r.Names[S];var C,U=[],F=[],M=!1;if(ty[16]={n:"BrtShortReal",f:dv},Yf(e,(function(e,t,S){if(!x)switch(S){case 148:c=e;break;case 0:l=e,o.sheetRows&&o.sheetRows<=l.r&&(x=!0),m=np(u=l.r),o["!row"]=l.r,(e.hidden||e.hpt||null!=e.level)&&(e.hpt&&(e.hpx=Om(e.hpt)),F[e.r]=e);break;case 2: +/* 'BrtCellRk' */case 3: +/* 'BrtCellError' */case 4: +/* 'BrtCellBool' */case 5: +/* 'BrtCellReal' */case 6: +/* 'BrtCellSt' */case 7: +/* 'BrtCellIsst' */case 8: +/* 'BrtFmlaString' */case 9: +/* 'BrtFmlaNum' */case 10: +/* 'BrtFmlaBool' */case 11: +/* 'BrtFmlaError' */case 13: +/* 'BrtShortRk' */case 14: +/* 'BrtShortError' */case 15: +/* 'BrtShortBool' */case 16: +/* 'BrtShortReal' */case 17: +/* 'BrtShortSt' */case 18: +/* 'BrtShortIsst' */case 62:switch(h={t:e[2]},e[2]){case"n":h.v=e[1];break;case"s":g=Xb[e[1]],h.v=g.t,h.r=g.r;break;case"b":h.v=!!e[1];break;case"e":h.v=e[1],!1!==o.cellText&&(h.w=Lp[h.v]);break;case"str":h.t="s",h.v=e[1];break;case"is":h.t="s",h.v=e[1].t}if((d=s.CellXf[e[0].iStyleRef])&&Yb(h,d.numFmtId,null,o,a,s),f=-1==e[0].c?f+1:e[0].c,o.dense?(v[u]||(v[u]=[]),v[u][f]=h):v[rp(f)+m]=h,o.cellFormula){for(D=!1,T=0;T<A.length;++T){var R=A[T];l.r>=R[0].s.r&&l.r<=R[0].e.r&&f>=R[0].s.c&&f<=R[0].e.c&&(h.F=cp(R[0]),D=!0)}!D&&e.length>3&&(h.f=e[3])}if(y.s.r>l.r&&(y.s.r=l.r),y.s.c>f&&(y.s.c=f),y.e.r<l.r&&(y.e.r=l.r),y.e.c<f&&(y.e.c=f),o.cellDates&&d&&"n"==h.t&&Gd(bd[d.numFmtId])){var I=xd(h.v);I&&(h.t="d",h.v=new Date(I.y,I.m-1,I.d,I.H,I.M,I.S,I.u))}C&&("XLDAPR"==C.type&&(h.D=!0),C=void 0);break;case 1: +/* 'BrtCellBlank' */case 12:if(!o.sheetStubs||w)break;h={t:"z",v:void 0},f=-1==e[0].c?f+1:e[0].c,o.dense?(v[u]||(v[u]=[]),v[u][f]=h):v[rp(f)+m]=h,y.s.r>l.r&&(y.s.r=l.r),y.s.c>f&&(y.s.c=f),y.e.r<l.r&&(y.e.r=l.r),y.e.c<f&&(y.e.c=f),C&&("XLDAPR"==C.type&&(h.D=!0),C=void 0);break;case 176:_.push(e);break;case 49:C=((o.xlmeta||{}).Cell||[])[e-1];break;case 494:var O=i["!id"][e.relId];for(O?(e.Target=O.Target,e.loc&&(e.Target+="#"+e.loc),e.Rel=O):""==e.relId&&(e.Target="#"+e.loc),u=e.rfx.s.r;u<=e.rfx.e.r;++u)for(f=e.rfx.s.c;f<=e.rfx.e.c;++f)o.dense?(v[u]||(v[u]=[]),v[u][f]||(v[u][f]={t:"z",v:void 0}),v[u][f].l=e):(p=sp({c:f,r:u}),v[p]||(v[p]={t:"z",v:void 0}),v[p].l=e);break;case 426:if(!o.cellFormula)break;A.push(e),(b=o.dense?v[u][f]:v[rp(f)+m]).f=Mb(e[1],0,{r:l.r,c:f},k,o),b.F=cp(e[0]);break;case 427:if(!o.cellFormula)break;E[sp(e[0].s)]=e[1],(b=o.dense?v[u][f]:v[rp(f)+m]).f=Mb(e[1],0,{r:l.r,c:f},k,o);break; +/* identical to 'ColInfo' in XLS */case 60:if(!o.cellStyles)break;for(;e.e>=e.s;)U[e.e--]={width:e.w/256,hidden:!!(1&e.flags),level:e.level},M||(M=!0,Fm(e.w/256)),Mm(U[e.e+1]);break;case 161:v["!autofilter"]={ref:cp(e)};break;case 476:v["!margins"]=e;break;case 147:r.Sheets[n]||(r.Sheets[n]={}),e.name&&(r.Sheets[n].CodeName=e.name),(e.above||e.left)&&(v["!outline"]={above:e.above,left:e.left});break;case 137:r.Views||(r.Views=[{}]),r.Views[0]||(r.Views[0]={}),e.RTL&&(r.Views[0].RTL=!0);break;case 485:case 64: +/* 'BrtDVal' */case 1053:case 151:case 152: +/* 'BrtSel' */case 175: +/* 'BrtAFilterDateGroupItem' */case 644: +/* 'BrtActiveX' */case 625: +/* 'BrtBigName' */case 562: +/* 'BrtBkHim' */case 396: +/* 'BrtBrk' */case 1112: +/* 'BrtCFIcon' */case 1146: +/* 'BrtCFRuleExt' */case 471: +/* 'BrtCFVO' */case 1050: +/* 'BrtCFVO14' */case 649: +/* 'BrtCellIgnoreEC' */case 1105: +/* 'BrtCellIgnoreEC14' */case 589: +/* 'BrtCellSmartTagProperty' */case 607: +/* 'BrtCellWatch' */case 564: +/* 'BrtColor' */case 1055: +/* 'BrtColor14' */case 168: +/* 'BrtColorFilter' */case 174: +/* 'BrtCustomFilter' */case 1180: +/* 'BrtCustomFilter14' */case 499: +/* 'BrtDRef' */case 507: +/* 'BrtDXF' */case 550: +/* 'BrtDrawing' */case 171: +/* 'BrtDynamicFilter' */case 167: +/* 'BrtFilter' */case 1177: +/* 'BrtFilter14' */case 169: +/* 'BrtIconFilter' */case 1181: +/* 'BrtIconFilter14' */case 551: +/* 'BrtLegacyDrawing' */case 552: +/* 'BrtLegacyDrawingHF' */case 661: +/* 'BrtListPart' */case 639: +/* 'BrtOleObject' */case 478: +/* 'BrtPageSetup' */case 537: +/* 'BrtPhoneticInfo' */case 477: +/* 'BrtPrintOptions' */case 536: +/* 'BrtRangeProtection' */case 1103: +/* 'BrtRangeProtection14' */case 680: +/* 'BrtRangeProtectionIso' */case 1104: +/* 'BrtRangeProtectionIso14' */case 1024: +/* 'BrtRwDescent' */case 663: +/* 'BrtSheetCalcProp' */case 535: +/* 'BrtSheetProtection' */case 678: +/* 'BrtSheetProtectionIso' */case 504: +/* 'BrtSlc' */case 1043: +/* 'BrtSparkline' */case 428: +/* 'BrtTable' */case 170: +/* 'BrtTop10Filter' */case 3072: +/* 'BrtUid' */case 50: +/* 'BrtValueMeta' */case 2070: +/* 'BrtWebExtension' */case 1045:break;case 35:case 37:w=!0;break;case 36:case 38:w=!1;break;default:if(t.T);else if(!w||o.WTF)throw new Error("Unexpected record 0x"+S.toString(16))}}),o),delete o.supbooks,delete o["!row"],!v["!ref"]&&(y.s.r<2e6||c&&(c.e.r>0||c.e.c>0||c.s.r>0||c.s.c>0))&&(v["!ref"]=cp(c||y)),o.sheetRows&&v["!ref"]){var R=lp(v["!ref"]);o.sheetRows<=+R.e.r&&(R.e.r=o.sheetRows-1,R.e.r>y.e.r&&(R.e.r=y.e.r),R.e.r<R.s.r&&(R.s.r=R.e.r),R.e.c>y.e.c&&(R.e.c=y.e.c),R.e.c<R.s.c&&(R.s.c=R.e.c),v["!fullref"]=v["!ref"],v["!ref"]=cp(R))}return _.length>0&&(v["!merges"]=_),U.length>0&&(v["!cols"]=U),F.length>0&&(v["!rows"]=F),v}(e,i,n,r,a,s,o):sv(e,i,n,r,a,s,o)}function kv(e,t,n,i,r,a,s,o){return".bin"===t.slice(-4)?function(e,t,n,i,r){if(!e)return e;i||(i={"!id":{}});var a={"!type":"chart","!drawel":null,"!rel":""},s=!1;return Yf(e,(function(e,i,o){switch(o){case 550:a["!rel"]=e;break;case 651:r.Sheets[n]||(r.Sheets[n]={}),e.name&&(r.Sheets[n].CodeName=e.name);break;case 562: +/* 'BrtBkHim' */case 652: +/* 'BrtCsPageSetup' */case 669: +/* 'BrtCsProtection' */case 679: +/* 'BrtCsProtectionIso' */case 551: +/* 'BrtLegacyDrawing' */case 552: +/* 'BrtLegacyDrawingHF' */case 476: +/* 'BrtMargins' */case 3072:case 37:case 38:break;case 35:s=!0;break;case 36:s=!1;break;default:if(i.T>0);else if(i.T<0);else if(!s||t.WTF)throw new Error("Unexpected record 0x"+o.toString(16))}}),t),i["!id"][a["!rel"]]&&(a["!drawel"]=i["!id"][a["!rel"]]),a}(e,i,n,r,a):function(e,t,n,i,r){if(!e)return e;i||(i={"!id":{}});var a,s={"!type":"chart","!drawel":null,"!rel":""},o=e.match(iv);return o&&ov(o[0],0,r,n),(a=e.match(/drawing r:id="(.*?)"/))&&(s["!rel"]=a[1]),i["!id"][s["!rel"]]&&(s["!drawel"]=i["!id"][s["!rel"]]),s}(e,0,n,r,a)}function Sv(e,t,n,i){return".bin"===t.slice(-4)?function(e,t,n){var i={NumberFmt:[]};for(var r in bd)i.NumberFmt[r]=bd[r];i.CellXf=[],i.Fonts=[];var a=[],s=!1;return Yf(e,(function(e,r,o){switch(o){case 44:i.NumberFmt[e[0]]=e[1],Kd(e[1],e[0]);break;case 43:i.Fonts.push(e),null!=e.color.theme&&t&&t.themeElements&&t.themeElements.clrScheme&&(e.color.rgb=Am(t.themeElements.clrScheme[e.color.theme].rgb,e.color.tint||0));break;case 1025:case 45:case 46:case 48: +/* BrtStyle */case 507: +/* BrtDXF */case 572: +/* BrtMRUColor */case 475:case 1171: +/* BrtDXF14 */case 2102: +/* BrtDXF15 */case 1130: +/* BrtSlicerStyleElement */case 512: +/* BrtTableStyleElement */case 2095: +/* BrtTimelineStyleElement */case 3072:break;case 47:617==a[a.length-1]&&i.CellXf.push(e);break;case 35:s=!0;break;case 36:s=!1;break;case 37:a.push(o),s=!0;break;case 38:a.pop(),s=!1;break;default:if(r.T>0)a.push(o);else if(r.T<0)a.pop();else if(!s||n.WTF&&37!=a[a.length-1])throw new Error("Unexpected record 0x"+o.toString(16))}})),i}(e,n,i):Wm(e,n,i)}function Cv(e,t,n){return".bin"===t.slice(-4)?function(e,t){var n=[],i=!1;return Yf(e,(function(e,r,a){switch(a){case 159:n.Count=e[0],n.Unique=e[1];break;case 19:n.push(e);break;case 160:return!0;case 35:i=!0;break;case 36:i=!1;break;default:if(r.T,!i||t.WTF)throw new Error("Unexpected record 0x"+a.toString(16))}})),n}(e,n):function(e,t){var n=[],i="";if(!e)return n;var r=e.match(om);if(r){i=r[2].replace(cm,"").split(lm);for(var a=0;a!=i.length;++a){var s=sm(i[a].trim(),t);null!=s&&(n[n.length]=s)}r=Lu(r[1]),n.Count=r.count,n.Unique=r.uniqueCount}return n}(e,n)}function Uv(e,t,n){return".bin"===t.slice(-4)?function(e,t){var n=[],i=[],r={},a=!1;return Yf(e,(function(e,s,o){switch(o){case 632:i.push(e);break;case 635:r=e;break;case 637:r.t=e.t,r.h=e.h,r.r=e.r;break;case 636:if(r.author=i[r.iauthor],delete r.iauthor,t.sheetRows&&r.rfx&&t.sheetRows<=r.rfx.r)break;r.t||(r.t=""),delete r.rfx,n.push(r);break;case 3072:case 37:case 38:break;case 35:a=!0;break;case 36:a=!1;break;default:if(s.T);else if(!a||t.WTF)throw new Error("Unexpected record 0x"+o.toString(16))}})),n}(e,n):function(e,t){if(e.match(/<(?:\w+:)?comments *\/>/))return[];var n=[],i=[],r=e.match(/<(?:\w+:)?authors>([\s\S]*)<\/(?:\w+:)?authors>/);r&&r[1]&&r[1].split(/<\/\w*:?author>/).forEach((function(e){if(""!==e&&""!==e.trim()){var t=e.match(/<(?:\w+:)?author[^>]*>(.*)/);t&&n.push(t[1])}}));var a=e.match(/<(?:\w+:)?commentList>([\s\S]*)<\/(?:\w+:)?commentList>/);return a&&a[1]&&a[1].split(/<\/\w*:?comment>/).forEach((function(e){if(""!==e&&""!==e.trim()){var r=e.match(/<(?:\w+:)?comment[^>]*>/);if(r){var a=Lu(r[0]),s={author:a.authorId&&n[a.authorId]||"sheetjsghost",ref:a.ref,guid:a.guid},o=ap(a.ref);if(!(t.sheetRows&&t.sheetRows<=o.r)){var c=e.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/),l=!!c&&!!c[1]&&sm(c[1])||{r:"",t:"",h:""};s.r=l.r,"<t></t>"==l.r&&(l.t=l.h=""),s.t=(l.t||"").replace(/\r\n/g,"\n").replace(/\r/g,"\n"),t.cellHTML&&(s.h=l.h),i.push(s)}}}})),i}(e,n)}function Fv(e,t,n){return".bin"===t.slice(-4)?function(e){var t=[];return Yf(e,(function(e,n,i){if(63===i)t.push(e);else if(!n.T)throw new Error("Unexpected record 0x"+i.toString(16))})),t}(e):function(e){var t=[];if(!e)return t;var n=1;return(e.match(Ou)||[]).forEach((function(e){var i=Lu(e);switch(i[0]){case"<?xml": +/* 18.6.2 calcChain CT_CalcChain 1 */case"<calcChain":case"<calcChain>":case"</calcChain>":break; +/* 18.6.1 c CT_CalcCell 1 */case"<c":delete i[0],i.i?n=i.i:i.i=n,t.push(i)}})),t}(e)}function Mv(e,t,n,i){if(".bin"===n.slice(-4))return function(e,t,n,i){if(!e)return e;var r=i||{},a=!1;Yf(e,(function(e,t,n){switch(n){case 359: +/* 'BrtSupTabs' */case 363: +/* 'BrtExternTableStart' */case 364: +/* 'BrtExternTableEnd' */case 366: +/* 'BrtExternRowHdr' */case 367: +/* 'BrtExternCellBlank' */case 368: +/* 'BrtExternCellReal' */case 369: +/* 'BrtExternCellBool' */case 370: +/* 'BrtExternCellError' */case 371: +/* 'BrtExternCellString' */case 472: +/* 'BrtExternValueMeta' */case 577: +/* 'BrtSupNameStart' */case 578: +/* 'BrtSupNameValueStart' */case 579: +/* 'BrtSupNameValueEnd' */case 580: +/* 'BrtSupNameNum' */case 581: +/* 'BrtSupNameErr' */case 582: +/* 'BrtSupNameSt' */case 583: +/* 'BrtSupNameNil' */case 584: +/* 'BrtSupNameBool' */case 585: +/* 'BrtSupNameFmla' */case 586: +/* 'BrtSupNameBits' */case 587:break;case 35:a=!0;break;case 36:a=!1;break;default:if(t.T);else if(!a||r.WTF)throw new Error("Unexpected record 0x"+n.toString(16))}}),r)}(e,0,0,i)}function Rv(e,t,n){return".bin"===t.slice(-4)?function(e,t,n){var i={Types:[],Cell:[],Value:[]},r=n||{},a=[],s=!1,o=2;return Yf(e,(function(e,t,n){switch(n){case 335:i.Types.push({name:e.name});break;case 51:e.forEach((function(e){1==o?i.Cell.push({type:i.Types[e[0]-1].name,index:e[1]}):0==o&&i.Value.push({type:i.Types[e[0]-1].name,index:e[1]})}));break;case 337:o=e?1:0;break;case 338:o=2;break;case 35:a.push(n),s=!0;break;case 36:a.pop(),s=!1;break;default:if(t.T);else if(!s||r.WTF&&35!=a[a.length-1])throw new Error("Unexpected record 0x"+n.toString(16))}})),i}(e,0,n):function(e,t,n){var i={Types:[],Cell:[],Value:[]};if(!e)return i;var r,a=!1,s=2;return e.replace(Ou,(function(e){var t=Lu(e);switch(Wu(t[0])){case"<?xml":case"<metadata":case"</metadata>":case"<metadataTypes":case"</metadataTypes>":case"</metadataType>":case"</futureMetadata>":case"<bk>":case"</bk>":case"</rc>":case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<metadataType":i.Types.push({name:t.name});break;case"<futureMetadata":for(var o=0;o<i.Types.length;++o)i.Types[o].name==t.name&&(r=i.Types[o]);break;case"<rc":1==s?i.Cell.push({type:i.Types[t.t-1].name,index:+t.v}):0==s&&i.Value.push({type:i.Types[t.t-1].name,index:+t.v});break;case"<cellMetadata":s=1;break;case"</cellMetadata>":case"</valueMetadata>":s=2;break;case"<valueMetadata":s=0;break;case"<ext":a=!0;break;case"</ext>":a=!1;break;case"<rvb":if(!r)break;r.offsets||(r.offsets=[]),r.offsets.push(+t.i);break;default:if(!a&&n.WTF)throw new Error("unrecognized "+t[0]+" in metadata")}return e})),i}(e,0,n)}var Iv,Ov=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g,Nv=/([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/;function Pv(e,t){var n=e.split(/\s+/),i=[];if(i[0]=n[0],1===n.length)return i;var r,a,s,o=e.match(Ov);if(o)for(s=0;s!=o.length;++s)-1===(a=(r=o[s].match(Nv))[1].indexOf(":"))?i[r[1]]=r[2].slice(1,r[2].length-1):i["xmlns:"===r[1].slice(0,6)?"xmlns"+r[1].slice(6):r[1].slice(a+1)]=r[2].slice(1,r[2].length-1);return i}function Lv(e){var t={};if(1===e.split(/\s+/).length)return t;var n,i,r,a=e.match(Ov);if(a)for(r=0;r!=a.length;++r)-1===(i=(n=a[r].match(Nv))[1].indexOf(":"))?t[n[1]]=n[2].slice(1,n[2].length-1):t["xmlns:"===n[1].slice(0,6)?"xmlns"+n[1].slice(6):n[1].slice(i+1)]=n[2].slice(1,n[2].length-1);return t}function Wv(e,t,n,i){var r=i;switch((n[0].match(/dt:dt="([\w.]+)"/)||["",""])[1]){case"boolean":r=$u(i);break;case"i2":case"int":r=parseInt(i,10);break;case"r4":case"float":r=parseFloat(i);break;case"date":case"dateTime.tz":r=pu(i);break;case"i8":case"string":case"fixed":case"uuid":case"bin.base64":break;default:throw new Error("bad custprop:"+n[0])}e[zu(t)]=r}function Bv(e,t,n){if("z"!==e.t){if(!n||!1!==n.cellText)try{"e"===e.t?e.w=e.w||Lp[e.v]:"General"===t?"n"===e.t?(0|e.v)===e.v?e.w=e.v.toString(10):e.w=kd(e.v):e.w=Sd(e.v):e.w=(i=t||"General",r=e.v,"General"===(a=Iv[i]||zu(i))?Sd(r):Yd(a,r))}catch(c){if(n.WTF)throw c}var i,r,a;try{var s=Iv[t]||t||"General";if(n.cellNF&&(e.z=s),n.cellDates&&"n"==e.t&&Gd(s)){var o=xd(e.v);o&&(e.t="d",e.v=new Date(o.y,o.m-1,o.d,o.H,o.M,o.S,o.u))}}catch(c){if(n.WTF)throw c}}}function jv(e,t,n){if(n.cellStyles&&t.Interior){var i=t.Interior;i.Pattern&&(i.patternType=Nm[i.Pattern]||i.Pattern)}e[t.ID]=t}function zv(e,t,n,i,r,a,s,o,c,l){var h="General",d=i.StyleID,u={};l=l||{};var f=[],p=0;for(void 0===d&&o&&(d=o.StyleID),void 0===d&&s&&(d=s.StyleID);void 0!==a[d]&&(a[d].nf&&(h=a[d].nf),a[d].Interior&&f.push(a[d].Interior),a[d].Parent);)d=a[d].Parent;switch(n.Type){case"Boolean":i.t="b",i.v=$u(e);break;case"String":i.t="s",i.r=Xu(zu(e)),i.v=e.indexOf("<")>-1?zu(t||e).replace(/<.*?>/g,""):i.r;break;case"DateTime":"Z"!=e.slice(-1)&&(e+="Z"),i.v=(pu(e)-new Date(Date.UTC(1899,11,30)))/864e5,i.v!=i.v?i.v=zu(e):i.v<60&&(i.v=i.v-1),h&&"General"!=h||(h="yyyy-mm-dd") +/* falls through */;case"Number":void 0===i.v&&(i.v=+e),i.t||(i.t="n");break;case"Error":i.t="e",i.v=Wp[e],!1!==l.cellText&&(i.w=e);break;default:""==e&&""==t?i.t="z":(i.t="s",i.v=Xu(t||e))}if(Bv(i,h,l),!1!==l.cellFormula)if(i.Formula){var g=zu(i.Formula);61==g.charCodeAt(0)&&(g=g.slice(1)),i.f=tb(g,r),delete i.Formula,"RC"==i.ArrayRange?i.F=tb("RC:RC",r):i.ArrayRange&&(i.F=tb(i.ArrayRange,r),c.push([lp(i.F),i.F]))}else for(p=0;p<c.length;++p)r.r>=c[p][0].s.r&&r.r<=c[p][0].e.r&&r.c>=c[p][0].s.c&&r.c<=c[p][0].e.c&&(i.F=c[p][1]);l.cellStyles&&(f.forEach((function(e){!u.patternType&&e.patternType&&(u.patternType=e.patternType)})),i.s=u),void 0!==i.StyleID&&(i.ixfe=i.StyleID)}function Hv(e){e.t=e.v||"",e.t=e.t.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),e.v=e.w=e.ixfe=void 0}function Vv(e,t){var n=t||{};Zd();var i=Xh(lf(e));"binary"!=n.type&&"array"!=n.type&&"base64"!=n.type||(i=Ju(i));var r,a=i.slice(0,1024).toLowerCase(),s=!1;if((1023&(a=a.replace(/".*?"/g,"")).indexOf(">"))>Math.min(1023&a.indexOf(","),1023&a.indexOf(";"))){var o=mu(n);return o.type="string",Qg.to_workbook(i,o)}if(-1==a.indexOf("<?xml")&&["html","table","head","meta","script","style","div"].forEach((function(e){a.indexOf("<"+e)>=0&&(s=!0)})),s)return function(e,t){var n=e.match(/<table[\s\S]*?>[\s\S]*?<\/table>/gi);if(!n||0==n.length)throw new Error("Invalid HTML: could not find <table>");if(1==n.length)return up(ry(n[0],t),t);var i={SheetNames:[],Sheets:{}};return n.forEach((function(e,n){$y(i,ry(e,t),"Sheet"+(n+1))})),i}(i,n);Iv={"General Number":"General","General Date":bd[22],"Long Date":"dddd, mmmm dd, yyyy","Medium Date":bd[15],"Short Date":bd[14],"Long Time":bd[19],"Medium Time":bd[18],"Short Time":bd[20],Currency:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',Fixed:bd[2],Standard:bd[4],Percent:bd[10],Scientific:bd[11],"Yes/No":'"Yes";"Yes";"No";@',"True/False":'"True";"True";"False";@',"On/Off":'"Yes";"Yes";"No";@'};var c,l,h=[],d={},u=[],f=n.dense?[]:{},p="",g={},m={},b=Pv('<Data ss:Type="String">'),v=0,y=0,w=0,x={s:{r:2e6,c:2e6},e:{r:0,c:0}},_={},T={},D="",A=0,E=[],k={},S={},C=0,U=[],F=[],M={},R=[],I=!1,O=[],N=[],P={},L=0,W=0,B={Sheets:[],WBProps:{date1904:!1}},j={};hf.lastIndex=0,i=i.replace(/<!--([\s\S]*?)-->/gm,"");for(var z="";r=hf.exec(i);)switch(r[3]=(z=r[3]).toLowerCase()){case"data":if("data"==z){if("/"===r[1]){if((c=h.pop())[0]!==r[3])throw new Error("Bad state: "+c.join("|"))}else"/"!==r[0].charAt(r[0].length-2)&&h.push([r[3],!0]);break}if(h[h.length-1][1])break;"/"===r[1]?zv(i.slice(v,r.index),D,b,/*"Comment"*/ +"comment"==h[h.length-1][0]?M:g,{c:y,r:w},_,R[y],m,O,n):(D="",b=Pv(r[0]),v=r.index+r[0].length);break;case"cell":if("/"===r[1])if(F.length>0&&(g.c=F),(!n.sheetRows||n.sheetRows>w)&&void 0!==g.v&&(n.dense?(f[w]||(f[w]=[]),f[w][y]=g):f[rp(y)+np(w)]=g),g.HRef&&(g.l={Target:zu(g.HRef)},g.HRefScreenTip&&(g.l.Tooltip=g.HRefScreenTip),delete g.HRef,delete g.HRefScreenTip),(g.MergeAcross||g.MergeDown)&&(L=y+(0|parseInt(g.MergeAcross,10)),W=w+(0|parseInt(g.MergeDown,10)),E.push({s:{c:y,r:w},e:{c:L,r:W}})),n.sheetStubs)if(g.MergeAcross||g.MergeDown){for(var H=y;H<=L;++H)for(var V=w;V<=W;++V)(H>y||V>w)&&(n.dense?(f[V]||(f[V]=[]),f[V][H]={t:"z"}):f[rp(H)+np(V)]={t:"z"});y=L+1}else++y;else g.MergeAcross?y=L+1:++y;else(g=Lv(r[0])).Index&&(y=+g.Index-1),y<x.s.c&&(x.s.c=y),y>x.e.c&&(x.e.c=y),"/>"===r[0].slice(-2)&&++y,F=[];break;case"row":"/"===r[1]||"/>"===r[0].slice(-2)?(w<x.s.r&&(x.s.r=w),w>x.e.r&&(x.e.r=w),"/>"===r[0].slice(-2)&&(m=Pv(r[0])).Index&&(w=+m.Index-1),y=0,++w):((m=Pv(r[0])).Index&&(w=+m.Index-1),P={},("0"==m.AutoFitHeight||m.Height)&&(P.hpx=parseInt(m.Height,10),P.hpt=Im(P.hpx),N[w]=P),"1"==m.Hidden&&(P.hidden=!0,N[w]=P));break;case"worksheet":if("/"===r[1]){if((c=h.pop())[0]!==r[3])throw new Error("Bad state: "+c.join("|"));u.push(p),x.s.r<=x.e.r&&x.s.c<=x.e.c&&(f["!ref"]=cp(x),n.sheetRows&&n.sheetRows<=x.e.r&&(f["!fullref"]=f["!ref"],x.e.r=n.sheetRows-1,f["!ref"]=cp(x))),E.length&&(f["!merges"]=E),R.length>0&&(f["!cols"]=R),N.length>0&&(f["!rows"]=N),d[p]=f}else x={s:{r:2e6,c:2e6},e:{r:0,c:0}},w=y=0,h.push([r[3],!1]),c=Pv(r[0]),p=zu(c.Name),f=n.dense?[]:{},E=[],O=[],N=[],j={name:p,Hidden:0},B.Sheets.push(j);break;case"table":if("/"===r[1]){if((c=h.pop())[0]!==r[3])throw new Error("Bad state: "+c.join("|"))}else{if("/>"==r[0].slice(-2))break;h.push([r[3],!1]),R=[],I=!1}break;case"style":"/"===r[1]?jv(_,T,n):T=Pv(r[0]);break;case"numberformat":T.nf=zu(Pv(r[0]).Format||"General"),Iv[T.nf]&&(T.nf=Iv[T.nf]);for(var G=0;392!=G&&bd[G]!=T.nf;++G);if(392==G)for(G=57;392!=G;++G)if(null==bd[G]){Kd(T.nf,G);break}break;case"column":if(/*'Table'*/ +"table"!==h[h.length-1][0])break;if((l=Pv(r[0])).Hidden&&(l.hidden=!0,delete l.Hidden),l.Width&&(l.wpx=parseInt(l.Width,10)),!I&&l.wpx>10){I=!0,Em=6;for(var X=0;X<R.length;++X)R[X]&&Mm(R[X])}I&&Mm(l),R[l.Index-1||R.length]=l;for(var $=0;$<+l.Span;++$)R[R.length]=mu(l);break;case"namedrange":if("/"===r[1])break;B.Names||(B.Names=[]);var q=Lu(r[0]),Y={Name:q.Name,Ref:tb(q.RefersTo.slice(1),{r:0,c:0})};B.Sheets.length>0&&(Y.Sheet=B.Sheets.length-1),B.Names.push(Y);break;case"namedcell":case"b":case"i":case"u":case"s":case"em":case"h2":case"h3":case"sub":case"sup":case"span":case"alignment":case"borders":case"border":case"protection":case"paragraphs":case"name":case"pixelsperinch":case"null":break;case"font":if("/>"===r[0].slice(-2))break;"/"===r[1]?D+=i.slice(A,r.index):A=r.index+r[0].length;break;case"interior":if(!n.cellStyles)break;T.Interior=Pv(r[0]);break;case"author":case"title":case"description":case"created":case"keywords":case"subject":case"category":case"company":case"lastauthor":case"lastsaved":case"lastprinted":case"version":case"revision":case"totaltime":case"hyperlinkbase":case"manager":case"contentstatus":case"identifier":case"language":case"appname":if("/>"===r[0].slice(-2))break;"/"===r[1]?Jp(k,z,i.slice(C,r.index)):C=r.index+r[0].length;break;case"styles":case"workbook":if("/"===r[1]){if((c=h.pop())[0]!==r[3])throw new Error("Bad state: "+c.join("|"))}else h.push([r[3],!1]);break;case"comment":if("/"===r[1]){if((c=h.pop())[0]!==r[3])throw new Error("Bad state: "+c.join("|"));Hv(M),F.push(M)}else h.push([r[3],!1]),M={a:(c=Pv(r[0])).Author};break;case"autofilter":if("/"===r[1]){if((c=h.pop())[0]!==r[3])throw new Error("Bad state: "+c.join("|"))}else if("/"!==r[0].charAt(r[0].length-2)){var K=Pv(r[0]);f["!autofilter"]={ref:tb(K.Range).replace(/\$/g,"")},h.push([r[3],!0])}break;case"datavalidation":if("/"===r[1]){if((c=h.pop())[0]!==r[3])throw new Error("Bad state: "+c.join("|"))}else"/"!==r[0].charAt(r[0].length-2)&&h.push([r[3],!0]);break;case"componentoptions":case"documentproperties":case"customdocumentproperties":case"officedocumentsettings":case"pivottable":case"pivotcache":case"names":case"mapinfo":case"pagebreaks":case"querytable":case"sorting":case"schema": +//case 'data' /*case 'data'*/: +case"conditionalformatting":case"smarttagtype":case"smarttags":case"excelworkbook":case"workbookoptions":case"worksheetoptions":if("/"===r[1]){if((c=h.pop())[0]!==r[3])throw new Error("Bad state: "+c.join("|"))}else"/"!==r[0].charAt(r[0].length-2)&&h.push([r[3],!0]);break;default:if(0==h.length&&"document"==r[3])return uy(i,n);if(0==h.length&&"uof"==r[3])return uy(i,n);var Z=!0;switch(h[h.length-1][0]){ +/* OfficeDocumentSettings */ +case"officedocumentsettings":switch(r[3]){case"allowpng":case"removepersonalinformation":case"downloadcomponents":case"locationofcomponents":case"colors":case"color":case"index":case"rgb":case"targetscreensize":case"readonlyrecommended":break;default:Z=!1}break; +/* ComponentOptions */case"componentoptions":switch(r[3]){case"toolbar":case"hideofficelogo":case"spreadsheetautofit":case"label":case"caption":case"maxheight":case"maxwidth":case"nextsheetnumber":break;default:Z=!1}break; +/* ExcelWorkbook */case"excelworkbook":switch(r[3]){case"date1904":B.WBProps.date1904=!0;break;case"windowheight":case"windowwidth":case"windowtopx":case"windowtopy":case"tabratio":case"protectstructure":case"protectwindow":case"protectwindows":case"activesheet":case"displayinknotes":case"firstvisiblesheet":case"supbook":case"sheetname":case"sheetindex":case"sheetindexfirst":case"sheetindexlast":case"dll":case"acceptlabelsinformulas":case"donotsavelinkvalues":case"iteration":case"maxiterations":case"maxchange":case"path":case"xct":case"count":case"selectedsheets":case"calculation":case"uncalced":case"startupprompt":case"crn":case"externname":case"formula":case"colfirst":case"collast":case"wantadvise":case"boolean":case"error":case"text":case"ole":case"noautorecover":case"publishobjects":case"donotcalculatebeforesave":case"number":case"refmoder1c1":case"embedsavesmarttags":break;default:Z=!1}break; +/* WorkbookOptions */case"workbookoptions":switch(r[3]){case"owcversion":case"height":case"width":break;default:Z=!1}break; +/* WorksheetOptions */case"worksheetoptions":switch(r[3]){case"visible":if("/>"===r[0].slice(-2));else if("/"===r[1])switch(i.slice(C,r.index)){case"SheetHidden":j.Hidden=1;break;case"SheetVeryHidden":j.Hidden=2}else C=r.index+r[0].length;break;case"header":f["!margins"]||qb(f["!margins"]={},"xlml"),isNaN(+Lu(r[0]).Margin)||(f["!margins"].header=+Lu(r[0]).Margin);break;case"footer":f["!margins"]||qb(f["!margins"]={},"xlml"),isNaN(+Lu(r[0]).Margin)||(f["!margins"].footer=+Lu(r[0]).Margin);break;case"pagemargins":var J=Lu(r[0]);f["!margins"]||qb(f["!margins"]={},"xlml"),isNaN(+J.Top)||(f["!margins"].top=+J.Top),isNaN(+J.Left)||(f["!margins"].left=+J.Left),isNaN(+J.Right)||(f["!margins"].right=+J.Right),isNaN(+J.Bottom)||(f["!margins"].bottom=+J.Bottom);break;case"displayrighttoleft":B.Views||(B.Views=[]),B.Views[0]||(B.Views[0]={}),B.Views[0].RTL=!0;break;case"freezepanes":case"frozennosplit":case"splithorizontal":case"splitvertical":case"donotdisplaygridlines":case"activerow":case"activecol":case"toprowbottompane":case"leftcolumnrightpane":case"unsynced":case"print":case"printerrors":case"panes":case"scale":case"pane":case"number":case"layout":case"pagesetup":case"selected":case"protectobjects":case"enableselection":case"protectscenarios":case"validprinterinfo":case"horizontalresolution":case"verticalresolution":case"numberofcopies":case"activepane":case"toprowvisible":case"leftcolumnvisible":case"fittopage":case"rangeselection":case"papersizeindex":case"pagelayoutzoom":case"pagebreakzoom":case"filteron":case"fitwidth":case"fitheight":case"commentslayout":case"zoom":case"lefttoright":case"gridlines":case"allowsort":case"allowfilter":case"allowinsertrows":case"allowdeleterows":case"allowinsertcols":case"allowdeletecols":case"allowinserthyperlinks":case"allowformatcells":case"allowsizecols":case"allowsizerows":case"tabcolorindex":case"donotdisplayheadings":case"showpagelayoutzoom":case"blackandwhite":case"donotdisplayzeros":case"displaypagebreak":case"rowcolheadings":case"donotdisplayoutline":case"noorientation":case"allowusepivottables":case"zeroheight":case"viewablerange":case"selection":case"protectcontents":break;case"nosummaryrowsbelowdetail":f["!outline"]||(f["!outline"]={}),f["!outline"].above=!0;break;case"nosummarycolumnsrightdetail":f["!outline"]||(f["!outline"]={}),f["!outline"].left=!0;break;default:Z=!1}break; +/* PivotTable */case"pivottable":case"pivotcache":switch(r[3]){case"immediateitemsondrop":case"showpagemultipleitemlabel":case"compactrowindent":case"location":case"pivotfield":case"orientation":case"layoutform":case"layoutsubtotallocation":case"layoutcompactrow":case"position":case"pivotitem":case"datatype":case"datafield":case"sourcename":case"parentfield":case"ptlineitems":case"ptlineitem":case"countofsameitems":case"item":case"itemtype":case"ptsource":case"cacheindex":case"consolidationreference":case"filename":case"reference":case"nocolumngrand":case"norowgrand":case"blanklineafteritems":case"hidden":case"subtotal":case"basefield":case"mapchilditems":case"function":case"refreshonfileopen":case"printsettitles":case"mergelabels":case"defaultversion":case"refreshname":case"refreshdate":case"refreshdatecopy":case"versionlastrefresh":case"versionlastupdate":case"versionupdateablemin":case"versionrefreshablemin":case"calculation":break;default:Z=!1}break; +/* PageBreaks */case"pagebreaks":switch(r[3]){case"colbreaks":case"colbreak":case"rowbreaks":case"rowbreak":case"colstart":case"colend":case"rowend":break;default:Z=!1}break; +/* AutoFilter */case"autofilter":switch(r[3]){case"autofiltercolumn":case"autofiltercondition":case"autofilterand":case"autofilteror":break;default:Z=!1}break; +/* QueryTable */case"querytable":switch(r[3]){case"id":case"autoformatfont":case"autoformatpattern":case"querysource":case"querytype":case"enableredirections":case"refreshedinxl9":case"urlstring":case"htmltables":case"connection":case"commandtext":case"refreshinfo":case"notitles":case"nextid":case"columninfo":case"overwritecells":case"donotpromptforfile":case"textwizardsettings":case"source":case"number":case"decimal":case"thousandseparator":case"trailingminusnumbers":case"formatsettings":case"fieldtype":case"delimiters":case"tab":case"comma":case"autoformatname":case"versionlastedit":case"versionlastrefresh":break;default:Z=!1}break;case"datavalidation":switch(r[3]){case"range":case"type":case"min":case"max":case"sort":case"descending":case"order":case"casesensitive":case"value":case"errorstyle":case"errormessage":case"errortitle":case"inputmessage":case"inputtitle":case"combohide":case"inputhide":case"condition":case"qualifier":case"useblank":case"value1":case"value2":case"format":case"cellrangelist":break;default:Z=!1}break;case"sorting":case"conditionalformatting":switch(r[3]){case"range":case"type":case"min":case"max":case"sort":case"descending":case"order":case"casesensitive":case"value":case"errorstyle":case"errormessage":case"errortitle":case"cellrangelist":case"inputmessage":case"inputtitle":case"combohide":case"inputhide":case"condition":case"qualifier":case"useblank":case"value1":case"value2":case"format":break;default:Z=!1}break; +/* MapInfo (schema) */case"mapinfo":case"schema":case"data":switch(r[3]){case"map":case"entry":case"range":case"xpath":case"field":case"xsdtype":case"filteron":case"aggregate":case"elementtype":case"attributetype": +/* These are from xsd (XML Schema Definition) */case"schema":case"element":case"complextype":case"datatype":case"all":case"attribute":case"extends":case"row":break;default:Z=!1}break; +/* SmartTags (can be anything) */case"smarttags":break;default:Z=!1}if(Z)break;if(r[3].match(/!\[CDATA/))break;if(!h[h.length-1][1])throw"Unrecognized tag: "+r[3]+"|"+h.join("|");if(/*'CustomDocumentProperties'*/ +"customdocumentproperties"===h[h.length-1][0]){if("/>"===r[0].slice(-2))break;"/"===r[1]?Wv(S,z,U,i.slice(C,r.index)):(U=r,C=r.index+r[0].length);break}if(n.WTF)throw"Unrecognized tag: "+r[3]+"|"+h.join("|")}var Q={};return n.bookSheets||n.bookProps||(Q.Sheets=d),Q.SheetNames=u,Q.Workbook=B,Q.SSF=mu(bd),Q.Props=k,Q.Custprops=S,Q}function Gv(e,t){switch(Uy(t=t||{}),t.type||"base64"){case"base64":return Vv(Zh(e),t);case"binary":case"buffer":case"file":return Vv(e,t);case"array":return Vv(id(e),t)}}function Xv(e){var t={},n=e.content;if(n.l=28,t.AnsiUserType=n.read_shift(0,"lpstr-ansi"),t.AnsiClipboardFormat=function(e){return Cp(e,1)}(n),n.length-n.l<=4)return t;var i=n.read_shift(4);return 0==i||i>40?t:(n.l-=4,t.Reserved1=n.read_shift(0,"lpstr-ansi"),n.length-n.l<=4||1907505652!==(i=n.read_shift(4))?t:(t.UnicodeClipboardFormat=function(e){return Cp(e,2)}(n),0==(i=n.read_shift(4))||i>40?t:(n.l-=4,void(t.Reserved2=n.read_shift(0,"lpwstr")))))}var $v=[60,1084,2066,2165,2175];function qv(e,t,n,i,r){var a=i,s=[],o=n.slice(n.l,n.l+a);if(r.enc&&r.enc.insitu&&o.length>0)switch(e){case 9:case 521:case 1033:case 2057:case 47:case 405:case 225:case 406:case 312:case 404:case 10:case 133:break;default:r.enc.insitu(o)}s.push(o),n.l+=a;for(var c=Of(n,n.l),l=ny[c],h=0;null!=l&&$v.indexOf(c)>-1;)a=Of(n,n.l+2),h=n.l+4,2066==c?h+=4:2165!=c&&2175!=c||(h+=12),o=n.slice(h,n.l+4+a),s.push(o),n.l+=4+a,l=ny[c=Of(n,n.l)];var d=ad(s);Xf(d,0);var u=0;d.lens=[];for(var f=0;f<s.length;++f)d.lens.push(u),u+=s[f].length;if(d.length<i)throw"XLS Record 0x"+e.toString(16)+" Truncated: "+d.length+" < "+i;return t.f(d,d.length,r)}function Yv(e,t,n){if("z"!==e.t&&e.XF){var i=0;try{i=e.z||e.XF.numFmtId||0,t.cellNF&&(e.z=bd[i])}catch(a){if(t.WTF)throw a}if(!t||!1!==t.cellText)try{"e"===e.t?e.w=e.w||Lp[e.v]:0===i||"General"==i?"n"===e.t?(0|e.v)===e.v?e.w=e.v.toString(10):e.w=kd(e.v):e.w=Sd(e.v):e.w=Yd(i,e.v,{date1904:!!n,dateNF:t&&t.dateNF})}catch(a){if(t.WTF)throw a}if(t.cellDates&&i&&"n"==e.t&&Gd(bd[i]||String(i))){var r=xd(e.v);r&&(e.t="d",e.v=new Date(r.y,r.m-1,r.d,r.H,r.M,r.S,r.u))}}}function Kv(e,t,n){return{v:e,ixfe:t,t:n}}function Zv(e,t){var n,i,r,a,s,o,c,l,h={opts:{}},d={},u=t.dense?[]:{},f={},p={},g=null,m=[],b="",v={},y="",w={},x=[],_=[],T=[],D={Sheets:[],WBProps:{date1904:!1},Views:[{}]},A={},E=function(e){return e<8?Pp[e]:e<64&&T[e-8]||Pp[e]},k=function(e,t,i){if(!(P>1||i.sheetRows&&e.r>=i.sheetRows)){if(i.cellStyles&&t.XF&&t.XF.data&&function(e,t,n){var i,r=t.XF.data;r&&r.patternType&&n&&n.cellStyles&&(t.s={},t.s.patternType=r.patternType,(i=Dm(E(r.icvFore)))&&(t.s.fgColor={rgb:i}),(i=Dm(E(r.icvBack)))&&(t.s.bgColor={rgb:i}))}(0,t,i),delete t.ixfe,delete t.XF,n=e,y=sp(e),p&&p.s&&p.e||(p={s:{r:0,c:0},e:{r:0,c:0}}),e.r<p.s.r&&(p.s.r=e.r),e.c<p.s.c&&(p.s.c=e.c),e.r+1>p.e.r&&(p.e.r=e.r+1),e.c+1>p.e.c&&(p.e.c=e.c+1),i.cellFormula&&t.f)for(var r=0;r<x.length;++r)if(!(x[r][0].s.c>e.c||x[r][0].s.r>e.r||x[r][0].e.c<e.c||x[r][0].e.r<e.r)){t.F=cp(x[r][0]),x[r][0].s.c==e.c&&x[r][0].s.r==e.r||delete t.f,t.f&&(t.f=""+Mb(x[r][1],0,e,I,S));break}i.dense?(u[e.r]||(u[e.r]=[]),u[e.r][e.c]=t):u[y]=t}},S={enc:!1, +// encrypted +sbcch:0, +// cch in the preceding SupBook +snames:[], +// sheetnames +sharedf:w, +// shared formulae by address +arrayf:x, +// array formulae array +rrtabid:[], +// RRTabId +lastuser:"", +// Last User from WriteAccess +biff:8, +// BIFF version +codepage:0, +// CP from CodePage record +winlocked:0, +// fLockWn from WinProtect +cellStyles:!!t&&!!t.cellStyles,WTF:!!t&&!!t.wtf};t.password&&(S.password=t.password);var C=[],U=[],F=[],M=[],R=!1,I=[];I.SheetNames=S.snames,I.sharedf=S.sharedf,I.arrayf=S.arrayf,I.names=[],I.XTI=[];var O,N=0,P=0,L=0,W=[],B=[];S.codepage=1200,jh(1200);for(var j=!1;e.l<e.length-1;){var z=e.l,H=e.read_shift(2);if(0===H&&10===N)break;var V=e.l===e.length?0:e.read_shift(2),G=ny[H];if(G&&G.f){if(t.bookSheets&&133===N&&133!==H)break;if(N=H,2===G.r||12==G.r){var X=e.read_shift(2);if(V-=2,!S.enc&&X!==H&&((255&X)<<8|X>>8)!==H)throw new Error("rt mismatch: "+X+"!="+H);12==G.r&&(e.l+=10,V-=10)}var $={};if($=10===H?/*::(*/ +G.f(e,V,S):/*::(*/ +qv(H,G,e,V,S),0==P&&-1===[9,521,1033,2057].indexOf(N))continue;switch(H){case 34:h.opts.Date1904=D.WBProps.date1904=$;break;case 134:h.opts.WriteProtect=!0;break;case 47:if(S.enc||(e.l=0),S.enc=$,!t.password)throw new Error("File is password-protected");if(null==$.valid)throw new Error("Encryption scheme unsupported");if(!$.valid)throw new Error("Password is incorrect");break;case 92:S.lastuser=$;break;case 66:var q=Number($);switch(q){case 21010:q=1200;break;case 32768:q=1e4;break;case 32769:q=1252}jh(S.codepage=q),j=!0;break;case 317:S.rrtabid=$;break;case 25:S.winlocked=$;break;case 439:h.opts.RefreshAll=$;break;case 12:h.opts.CalcCount=$;break;case 16:h.opts.CalcDelta=$;break;case 17:h.opts.CalcIter=$;break;case 13:h.opts.CalcMode=$;break;case 14:h.opts.CalcPrecision=$;break;case 95:h.opts.CalcSaveRecalc=$;break;case 15:S.CalcRefMode=$;break; +// TODO: implement R1C1 +case 2211:h.opts.FullCalc=$;break;case 129:$.fDialog&&(u["!type"]="dialog"),$.fBelow||((u["!outline"]||(u["!outline"]={})).above=!0),$.fRight||((u["!outline"]||(u["!outline"]={})).left=!0);break; +// TODO +case 224:_.push($);break;case 430:I.push([$]),I[I.length-1].XTI=[];break;case 35:case 547:I[I.length-1].push($);break;case 24:case 536:O={Name:$.Name,Ref:Mb($.rgce,0,null,I,S)},$.itab>0&&(O.Sheet=$.itab-1),I.names.push(O),I[0]||(I[0]=[],I[0].XTI=[]),I[I.length-1].push($),"_xlnm._FilterDatabase"==$.Name&&$.itab>0&&$.rgce&&$.rgce[0]&&$.rgce[0][0]&&"PtgArea3d"==$.rgce[0][0][0]&&(B[$.itab-1]={ref:cp($.rgce[0][0][1][2])});break;case 22:S.ExternCount=$;break;case 23:0==I.length&&(I[0]=[],I[0].XTI=[]),I[I.length-1].XTI=I[I.length-1].XTI.concat($),I.XTI=I.XTI.concat($);break;case 2196:if(S.biff<8)break;null!=O&&(O.Comment=$[1]);break;case 18:u["!protect"]=$;break; +/* for sheet or book */case 19:0!==$&&S.WTF;break;case 133:f[$.pos]=$,S.snames.push($.name);break;case 10:if(--P)break;if(p.e){if(p.e.r>0&&p.e.c>0){if(p.e.r--,p.e.c--,u["!ref"]=cp(p),t.sheetRows&&t.sheetRows<=p.e.r){var Y=p.e.r;p.e.r=t.sheetRows-1,u["!fullref"]=u["!ref"],u["!ref"]=cp(p),p.e.r=Y}p.e.r++,p.e.c++}C.length>0&&(u["!merges"]=C),U.length>0&&(u["!objects"]=U),F.length>0&&(u["!cols"]=F),M.length>0&&(u["!rows"]=M),D.Sheets.push(A)}""===b?v=u:d[b]=u,u=t.dense?[]:{};break;case 9:case 521:case 1033:case 2057:if(8===S.biff&&(S.biff={ +/*::[*/ +9:2, +/*::[*/ +521:3, +/*::[*/ +1033:4}[H]||{ +/*::[*/ +512:2, +/*::[*/ +768:3, +/*::[*/ +1024:4, +/*::[*/ +1280:5, +/*::[*/ +1536:8, +/*::[*/ +2:2, +/*::[*/ +7:2}[$.BIFFVer]||8),S.biffguess=0==$.BIFFVer,0==$.BIFFVer&&4096==$.dt&&(S.biff=5,j=!0,jh(S.codepage=28591)),8==S.biff&&0==$.BIFFVer&&16==$.dt&&(S.biff=2),P++)break;if(u=t.dense?[]:{},S.biff<8&&!j&&(j=!0,jh(S.codepage=t.codepage||1252)),S.biff<5||0==$.BIFFVer&&4096==$.dt){""===b&&(b="Sheet1"),p={s:{r:0,c:0},e:{r:0,c:0}};var K={pos:e.l-V,name:b};f[K.pos]=K,S.snames.push(b)}else b=(f[z]||{name:""}).name;32==$.dt&&(u["!type"]="chart"),64==$.dt&&(u["!type"]="macro"),C=[],U=[],S.arrayf=x=[],F=[],M=[],R=!1,A={Hidden:(f[z]||{hs:0}).hs,name:b};break;case 515:case 3:case 2:"chart"==u["!type"]&&(t.dense?(u[$.r]||[])[$.c]:u[sp({c:$.c,r:$.r})])&&++$.c,o={ixfe:$.ixfe,XF:_[$.ixfe]||{},v:$.val,t:"n"},L>0&&(o.z=W[o.ixfe>>8&63]),Yv(o,t,h.opts.Date1904),k({c:$.c,r:$.r},o,t);break;case 5:case 517:o={ixfe:$.ixfe,XF:_[$.ixfe],v:$.val,t:$.t},L>0&&(o.z=W[o.ixfe>>8&63]),Yv(o,t,h.opts.Date1904),k({c:$.c,r:$.r},o,t);break;case 638:o={ixfe:$.ixfe,XF:_[$.ixfe],v:$.rknum,t:"n"},L>0&&(o.z=W[o.ixfe>>8&63]),Yv(o,t,h.opts.Date1904),k({c:$.c,r:$.r},o,t);break;case 189:for(var Z=$.c;Z<=$.C;++Z){var J=$.rkrec[Z-$.c][0];o={ixfe:J,XF:_[J],v:$.rkrec[Z-$.c][1],t:"n"},L>0&&(o.z=W[o.ixfe>>8&63]),Yv(o,t,h.opts.Date1904),k({c:Z,r:$.r},o,t)}break;case 6:case 518:case 1030:if("String"==$.val){g=$;break}if((o=Kv($.val,$.cell.ixfe,$.tt)).XF=_[o.ixfe],t.cellFormula){var Q=$.formula;if(Q&&Q[0]&&Q[0][0]&&"PtgExp"==Q[0][0][0]){var ee=Q[0][0][1][0],te=Q[0][0][1][1],ne=sp({r:ee,c:te});w[ne]?o.f=""+Mb($.formula,0,$.cell,I,S):o.F=((t.dense?(u[ee]||[])[te]:u[ne])||{}).F}else o.f=""+Mb($.formula,0,$.cell,I,S)}L>0&&(o.z=W[o.ixfe>>8&63]),Yv(o,t,h.opts.Date1904),k($.cell,o,t),g=$;break;case 7:case 519:if(!g)throw new Error("String record expects Formula");g.val=$,(o=Kv($,g.cell.ixfe,"s")).XF=_[o.ixfe],t.cellFormula&&(o.f=""+Mb(g.formula,0,g.cell,I,S)),L>0&&(o.z=W[o.ixfe>>8&63]),Yv(o,t,h.opts.Date1904),k(g.cell,o,t),g=null;break;case 33:case 545:x.push($);var ie=sp($[0].s);if(i=t.dense?(u[$[0].s.r]||[])[$[0].s.c]:u[ie],t.cellFormula&&i){if(!g)break;if(!ie||!i)break;i.f=""+Mb($[1],0,$[0],I,S),i.F=cp($[0])}break;case 1212:if(!t.cellFormula)break;if(y){if(!g)break;w[sp(g.cell)]=$[0],((i=t.dense?(u[g.cell.r]||[])[g.cell.c]:u[sp(g.cell)])||{}).f=""+Mb($[0],0,n,I,S)}break;case 253:o=Kv(m[$.isst].t,$.ixfe,"s"),m[$.isst].h&&(o.h=m[$.isst].h),o.XF=_[o.ixfe],L>0&&(o.z=W[o.ixfe>>8&63]),Yv(o,t,h.opts.Date1904),k({c:$.c,r:$.r},o,t);break;case 513:t.sheetStubs&&(o={ixfe:$.ixfe,XF:_[$.ixfe],t:"z"},L>0&&(o.z=W[o.ixfe>>8&63]),Yv(o,t,h.opts.Date1904),k({c:$.c,r:$.r},o,t));break;case 190:if(t.sheetStubs)for(var re=$.c;re<=$.C;++re){var ae=$.ixfe[re-$.c];o={ixfe:ae,XF:_[ae],t:"z"},L>0&&(o.z=W[o.ixfe>>8&63]),Yv(o,t,h.opts.Date1904),k({c:re,r:$.r},o,t)}break;case 214:case 516:case 4:(o=Kv($.val,$.ixfe,"s")).XF=_[o.ixfe],L>0&&(o.z=W[o.ixfe>>8&63]),Yv(o,t,h.opts.Date1904),k({c:$.c,r:$.r},o,t);break;case 0:case 512:1===P&&(p=$);break;case 252:m=$;break;case 1054:if(4==S.biff){W[L++]=$[1];for(var se=0;se<L+163&&bd[se]!=$[1];++se);se>=163&&Kd($[1],L+163)}else Kd($[1],$[0]);break;case 30:W[L++]=$;for(var oe=0;oe<L+163&&bd[oe]!=$;++oe);oe>=163&&Kd($,L+163);break;case 229:C=C.concat($);break;case 93:U[$.cmo[0]]=S.lastobj=$;break;case 438:S.lastobj.TxO=$;break;case 127:S.lastobj.ImData=$;break;case 440:for(s=$[0].s.r;s<=$[0].e.r;++s)for(a=$[0].s.c;a<=$[0].e.c;++a)(i=t.dense?(u[s]||[])[a]:u[sp({c:a,r:s})])&&(i.l=$[1]);break;case 2048:for(s=$[0].s.r;s<=$[0].e.r;++s)for(a=$[0].s.c;a<=$[0].e.c;++a)(i=t.dense?(u[s]||[])[a]:u[sp({c:a,r:s})])&&i.l&&(i.l.Tooltip=$[1]);break;case 28:if(S.biff<=5&&S.biff>=2)break;i=t.dense?(u[$[0].r]||[])[$[0].c]:u[sp($[0])];var ce=U[$[2]];i||(t.dense?(u[$[0].r]||(u[$[0].r]=[]),i=u[$[0].r][$[0].c]={t:"z"}):i=u[sp($[0])]={t:"z"},p.e.r=Math.max(p.e.r,$[0].r),p.s.r=Math.min(p.s.r,$[0].r),p.e.c=Math.max(p.e.c,$[0].c),p.s.c=Math.min(p.s.c,$[0].c)),i.c||(i.c=[]),r={a:$[1],t:ce.TxO.t},i.c.push(r);break;case 2173:_[$.ixfe],$.ext.forEach((function(e){e[0]}));break;case 125:if(!S.cellStyles)break;for(;$.e>=$.s;)F[$.e--]={width:$.w/256,level:$.level||0,hidden:!!(1&$.flags)},R||(R=!0,Fm($.w/256)),Mm(F[$.e+1]);break;case 520:var le={};null!=$.level&&(M[$.r]=le,le.level=$.level),$.hidden&&(M[$.r]=le,le.hidden=!0),$.hpt&&(M[$.r]=le,le.hpt=$.hpt,le.hpx=Om($.hpt));break;case 38:case 39:case 40:case 41:u["!margins"]||qb(u["!margins"]={}),u["!margins"][{38:"left",39:"right",40:"top",41:"bottom"}[H]]=$;break;case 161:u["!margins"]||qb(u["!margins"]={}),u["!margins"].header=$.header,u["!margins"].footer=$.footer;break;case 574:$.RTL&&(D.Views[0].RTL=!0);break;case 146:T=$;break;case 2198:l=$;break;case 140:c=$;break;case 442:b?A.CodeName=$||A.name:D.WBProps.CodeName=$||"ThisWorkbook"}}else e.l+=V}return h.SheetNames=nu(f).sort((function(e,t){return Number(e)-Number(t)})).map((function(e){return f[e].name})),t.bookSheets||(h.Sheets=d),!h.SheetNames.length&&v["!ref"]?(h.SheetNames.push("Sheet1"),h.Sheets&&(h.Sheets.Sheet1=v)):h.Preamble=v,h.Sheets&&B.forEach((function(e,t){h.Sheets[h.SheetNames[t]]["!autofilter"]=e})),h.Strings=m,h.SSF=mu(bd),S.enc&&(h.Encryption=S.enc),l&&(h.Themes=l),h.Metadata={},void 0!==c&&(h.Metadata.Country=c),I.names.length>0&&(D.Names=I.names),h.Workbook=D,h}var Jv="e0859ff2f94f6810ab9108002b27b3d9",Qv="02d5cdd59c2e1b10939708002b2cf9ae";function ey(e,t){var n,i,r,a;if(t||(t={}),Uy(t),zh(),t.codepage&&Bh(t.codepage),e.FullPaths){if(tu.find(e,"/encryption"))throw new Error("File is password-protected");n=tu.find(e,"!CompObj"),i=tu.find(e,"/Workbook")||tu.find(e,"/Book")}else{switch(t.type){case"base64":e=nd(Zh(e));break;case"binary":e=nd(e);break;case"buffer":break;case"array":Array.isArray(e)||(e=Array.prototype.slice.call(e))}Xf(e,0),i={content:e}}if(n&&Xv(n),t.bookProps&&!t.bookSheets)r={};else{var s=Jh?"buffer":"array";if(i&&i.content)r=Zv(i.content,t);else if((a=tu.find(e,"PerfectOffice_MAIN"))&&a.content)r=em.to_workbook(a.content,(t.type=s,t));else{if(!(a=tu.find(e,"NativeContent_MAIN"))||!a.content)throw(a=tu.find(e,"MN0"))&&a.content?new Error("Unsupported Works 4 for Mac file"):new Error("Cannot find Workbook stream");r=em.to_workbook(a.content,(t.type=s,t))}t.bookVBA&&e.FullPaths&&tu.find(e,"/_VBA_PROJECT_CUR/VBA/dir")&&(r.vbaraw=function(e){var t=tu.utils.cfb_new({root:"R"});return e.FullPaths.forEach((function(n,i){if("/"!==n.slice(-1)&&n.match(/_VBA_PROJECT_CUR/)){var r=n.replace(/^[^\/]*/,"R").replace(/\/_VBA_PROJECT_CUR\u0000*/,"");tu.utils.cfb_add(t,r,e.FileIndex[i].content)}})),tu.write(t)}(e))}var o={};return e.FullPaths&&function(e,t,n){var i=tu.find(e,"/!DocumentSummaryInformation");if(i&&i.size>0)try{var r=lg(i,Mp,Qv);for(var a in r)t[a]=r[a]}catch(l){if(n.WTF)throw l}var s=tu.find(e,"/!SummaryInformation");if(s&&s.size>0)try{var o=lg(s,Rp,Jv);for(var c in o)null==t[c]&&(t[c]=o[c])}catch(l){if(n.WTF)throw l}t.HeadingPairs&&t.TitlesOfParts&&(qp(t.HeadingPairs,t.TitlesOfParts,t,n),delete t.HeadingPairs,delete t.TitlesOfParts)}( +/*::((*/ +e,o,t),r.Props=r.Custprops=o,t.bookFiles&&(r.cfb=e),r}var ty={ +/*::[*/ +0:{ +/* n:"BrtRowHdr", */ +f:function(e,t){var n={},i=e.l+t;n.r=e.read_shift(4),e.l+=4;var r=e.read_shift(2);e.l+=1;var a=e.read_shift(1);return e.l=i,7&a&&(n.level=7&a),16&a&&(n.hidden=!0),32&a&&(n.hpt=r/20),n}}, +/*::[*/ +1:{ +/* n:"BrtCellBlank", */ +f:function(e){return[yp(e)]}}, +/*::[*/ +2:{ +/* n:"BrtCellRk", */ +f:function(e){return[yp(e),Ap(e),"n"]}}, +/*::[*/ +3:{ +/* n:"BrtCellError", */ +f:function(e){return[yp(e),e.read_shift(1),"e"]}}, +/*::[*/ +4:{ +/* n:"BrtCellBool", */ +f:function(e){return[yp(e),e.read_shift(1),"b"]}}, +/*::[*/ +5:{ +/* n:"BrtCellReal", */ +f:function(e){return[yp(e),Sp(e),"n"]}}, +/*::[*/ +6:{ +/* n:"BrtCellSt", */ +f:function(e){return[yp(e),gp(e),"str"]}}, +/*::[*/ +7:{ +/* n:"BrtCellIsst", */ +f:function(e){return[yp(e),e.read_shift(4),"s"]}}, +/*::[*/ +8:{ +/* n:"BrtFmlaString", */ +f:function(e,t,n){var i=e.l+t,r=yp(e);r.r=n["!row"];var a=[r,gp(e),"str"];if(n.cellFormula){e.l+=2;var s=Lb(e,i-e.l,n);a[3]=Mb(s,0,r,n.supbooks,n)}else e.l=i;return a}}, +/*::[*/ +9:{ +/* n:"BrtFmlaNum", */ +f:function(e,t,n){var i=e.l+t,r=yp(e);r.r=n["!row"];var a=[r,Sp(e),"n"];if(n.cellFormula){e.l+=2;var s=Lb(e,i-e.l,n);a[3]=Mb(s,0,r,n.supbooks,n)}else e.l=i;return a}}, +/*::[*/ +10:{ +/* n:"BrtFmlaBool", */ +f:function(e,t,n){var i=e.l+t,r=yp(e);r.r=n["!row"];var a=[r,e.read_shift(1),"b"];if(n.cellFormula){e.l+=2;var s=Lb(e,i-e.l,n);a[3]=Mb(s,0,r,n.supbooks,n)}else e.l=i;return a}}, +/*::[*/ +11:{ +/* n:"BrtFmlaError", */ +f:function(e,t,n){var i=e.l+t,r=yp(e);r.r=n["!row"];var a=[r,e.read_shift(1),"e"];if(n.cellFormula){e.l+=2;var s=Lb(e,i-e.l,n);a[3]=Mb(s,0,r,n.supbooks,n)}else e.l=i;return a}}, +/*::[*/ +12:{ +/* n:"BrtShortBlank", */ +f:function(e){return[wp(e)]}}, +/*::[*/ +13:{ +/* n:"BrtShortRk", */ +f:function(e){return[wp(e),Ap(e),"n"]}}, +/*::[*/ +14:{ +/* n:"BrtShortError", */ +f:function(e){return[wp(e),e.read_shift(1),"e"]}}, +/*::[*/ +15:{ +/* n:"BrtShortBool", */ +f:function(e){return[wp(e),e.read_shift(1),"b"]}}, +/*::[*/ +16:{ +/* n:"BrtShortReal", */ +f:dv}, +/*::[*/ +17:{ +/* n:"BrtShortSt", */ +f:function(e){return[wp(e),gp(e),"str"]}}, +/*::[*/ +18:{ +/* n:"BrtShortIsst", */ +f:function(e){return[wp(e),e.read_shift(4),"s"]}}, +/*::[*/ +19:{ +/* n:"BrtSSTItem", */ +f:bp}, +/*::[*/ +20:{ +/* n:"BrtPCDIMissing" */}, +/*::[*/ +21:{ +/* n:"BrtPCDINumber" */}, +/*::[*/ +22:{ +/* n:"BrtPCDIBoolean" */}, +/*::[*/ +23:{ +/* n:"BrtPCDIError" */}, +/*::[*/ +24:{ +/* n:"BrtPCDIString" */}, +/*::[*/ +25:{ +/* n:"BrtPCDIDatetime" */}, +/*::[*/ +26:{ +/* n:"BrtPCDIIndex" */}, +/*::[*/ +27:{ +/* n:"BrtPCDIAMissing" */}, +/*::[*/ +28:{ +/* n:"BrtPCDIANumber" */}, +/*::[*/ +29:{ +/* n:"BrtPCDIABoolean" */}, +/*::[*/ +30:{ +/* n:"BrtPCDIAError" */}, +/*::[*/ +31:{ +/* n:"BrtPCDIAString" */}, +/*::[*/ +32:{ +/* n:"BrtPCDIADatetime" */}, +/*::[*/ +33:{ +/* n:"BrtPCRRecord" */}, +/*::[*/ +34:{ +/* n:"BrtPCRRecordDt" */}, +/*::[*/ +35:{ +/* n:"BrtFRTBegin", */ +T:1}, +/*::[*/ +36:{ +/* n:"BrtFRTEnd", */ +T:-1}, +/*::[*/ +37:{ +/* n:"BrtACBegin", */ +T:1}, +/*::[*/ +38:{ +/* n:"BrtACEnd", */ +T:-1}, +/*::[*/ +39:{ +/* n:"BrtName", */ +f:function(e,t,n){var i=e.l+t;e.l+=4,e.l+=1;var r=e.read_shift(4),a=Tp(e),s=Wb(e,0,n),o=_p(e);e.l=i;var c={Name:a,Ptg:s};return r<268435455&&(c.Sheet=r),o&&(c.Comment=o),c}}, +/*::[*/ +40:{ +/* n:"BrtIndexRowBlock" */}, +/*::[*/ +42:{ +/* n:"BrtIndexBlock" */}, +/*::[*/ +43:{ +/* n:"BrtFont", */ +f:function(e,t,n){var i={};i.sz=e.read_shift(2)/20;var r=function(e){var t=e.read_shift(1);return e.l++,{fBold:1&t,fItalic:2&t,fUnderline:4&t,fStrikeout:8&t,fOutline:16&t,fShadow:32&t,fCondense:64&t,fExtend:128&t}}(e);switch(r.fItalic&&(i.italic=1),r.fCondense&&(i.condense=1),r.fExtend&&(i.extend=1),r.fShadow&&(i.shadow=1),r.fOutline&&(i.outline=1),r.fStrikeout&&(i.strike=1),700===e.read_shift(2)&&(i.bold=1),e.read_shift(2)){ +/* case 0: out.vertAlign = "baseline"; break; */ +case 1:i.vertAlign="superscript";break;case 2:i.vertAlign="subscript"}var a=e.read_shift(1);0!=a&&(i.underline=a);var s=e.read_shift(1);s>0&&(i.family=s);var o=e.read_shift(1);switch(o>0&&(i.charset=o),e.l++,i.color=function(e){var t={},n=e.read_shift(1)>>>1,i=e.read_shift(1),r=e.read_shift(2,"i"),a=e.read_shift(1),s=e.read_shift(1),o=e.read_shift(1);switch(e.l++,n){case 0:t.auto=1;break;case 1:t.index=i;var c=Pp[i];c&&(t.rgb=Dm(c));break;case 2:t.rgb=Dm([a,s,o]);break;case 3:t.theme=i}return 0!=r&&(t.tint=r>0?r/32767:r/32768),t}(e),e.read_shift(1)){ +/* case 0: out.scheme = "none": break; */ +case 1:i.scheme="major";break;case 2:i.scheme="minor"}return i.name=gp(e),i}}, +/*::[*/ +44:{ +/* n:"BrtFmt", */ +f:function(e,t){return[e.read_shift(2),gp(e)]}}, +/*::[*/ +45:{ +/* n:"BrtFill", */ +f:Bm}, +/*::[*/ +46:{ +/* n:"BrtBorder", */ +f:jm}, +/*::[*/ +47:{ +/* n:"BrtXF", */ +f:function(e,t){var n=e.l+t,i=e.read_shift(2),r=e.read_shift(2);return e.l=n,{ixfe:i,numFmtId:r}}}, +/*::[*/ +48:{ +/* n:"BrtStyle" */}, +/*::[*/ +49:{ +/* n:"BrtCellMeta", */ +f:function(e){return e.read_shift(4,"i")}}, +/*::[*/ +50:{ +/* n:"BrtValueMeta" */}, +/*::[*/ +51:{ +/* n:"BrtMdb" */ +f:function(e){for(var t=[],n=e.read_shift(4);n-- >0;)t.push([e.read_shift(4),e.read_shift(4)]);return t}}, +/*::[*/ +52:{ +/* n:"BrtBeginFmd", */ +T:1}, +/*::[*/ +53:{ +/* n:"BrtEndFmd", */ +T:-1}, +/*::[*/ +54:{ +/* n:"BrtBeginMdx", */ +T:1}, +/*::[*/ +55:{ +/* n:"BrtEndMdx", */ +T:-1}, +/*::[*/ +56:{ +/* n:"BrtBeginMdxTuple", */ +T:1}, +/*::[*/ +57:{ +/* n:"BrtEndMdxTuple", */ +T:-1}, +/*::[*/ +58:{ +/* n:"BrtMdxMbrIstr" */}, +/*::[*/ +59:{ +/* n:"BrtStr" */}, +/*::[*/ +60:{ +/* n:"BrtColInfo", */ +f:Vg}, +/*::[*/ +62:{ +/* n:"BrtCellRString", */ +f:function(e){return[yp(e),bp(e),"is"]}}, +/*::[*/ +63:{ +/* n:"BrtCalcChainItem$", */ +f:function(e){var t={};t.i=e.read_shift(4);var n={};n.r=e.read_shift(4),n.c=e.read_shift(4),t.r=sp(n);var i=e.read_shift(1);return 2&i&&(t.l="1"),8&i&&(t.a="1"),t}}, +/*::[*/ +64:{ +/* n:"BrtDVal", */ +f:function(){}}, +/*::[*/ +65:{ +/* n:"BrtSxvcellNum" */}, +/*::[*/ +66:{ +/* n:"BrtSxvcellStr" */}, +/*::[*/ +67:{ +/* n:"BrtSxvcellBool" */}, +/*::[*/ +68:{ +/* n:"BrtSxvcellErr" */}, +/*::[*/ +69:{ +/* n:"BrtSxvcellDate" */}, +/*::[*/ +70:{ +/* n:"BrtSxvcellNil" */}, +/*::[*/ +128:{ +/* n:"BrtFileVersion" */}, +/*::[*/ +129:{ +/* n:"BrtBeginSheet", */ +T:1}, +/*::[*/ +130:{ +/* n:"BrtEndSheet", */ +T:-1}, +/*::[*/ +131:{ +/* n:"BrtBeginBook", */ +T:1,f:$f,p:0}, +/*::[*/ +132:{ +/* n:"BrtEndBook", */ +T:-1}, +/*::[*/ +133:{ +/* n:"BrtBeginWsViews", */ +T:1}, +/*::[*/ +134:{ +/* n:"BrtEndWsViews", */ +T:-1}, +/*::[*/ +135:{ +/* n:"BrtBeginBookViews", */ +T:1}, +/*::[*/ +136:{ +/* n:"BrtEndBookViews", */ +T:-1}, +/*::[*/ +137:{ +/* n:"BrtBeginWsView", */ +T:1,f:function(e){var t=e.read_shift(2);return e.l+=28,{RTL:32&t}}}, +/*::[*/ +138:{ +/* n:"BrtEndWsView", */ +T:-1}, +/*::[*/ +139:{ +/* n:"BrtBeginCsViews", */ +T:1}, +/*::[*/ +140:{ +/* n:"BrtEndCsViews", */ +T:-1}, +/*::[*/ +141:{ +/* n:"BrtBeginCsView", */ +T:1}, +/*::[*/ +142:{ +/* n:"BrtEndCsView", */ +T:-1}, +/*::[*/ +143:{ +/* n:"BrtBeginBundleShs", */ +T:1}, +/*::[*/ +144:{ +/* n:"BrtEndBundleShs", */ +T:-1}, +/*::[*/ +145:{ +/* n:"BrtBeginSheetData", */ +T:1}, +/*::[*/ +146:{ +/* n:"BrtEndSheetData", */ +T:-1}, +/*::[*/ +147:{ +/* n:"BrtWsProp", */ +f:function(e,t){var n={},i=e[e.l];return++e.l,n.above=!(64&i),n.left=!(128&i),e.l+=18,n.name=xp(e),n}}, +/*::[*/ +148:{ +/* n:"BrtWsDim", */ +f:hv,p:16}, +/*::[*/ +151:{ +/* n:"BrtPane", */ +f:function(){}}, +/*::[*/ +152:{ +/* n:"BrtSel" */}, +/*::[*/ +153:{ +/* n:"BrtWbProp", */ +f:function(e,t){var n={},i=e.read_shift(4);n.defaultThemeVersion=e.read_shift(4);var r=t>8?gp(e):"";return r.length>0&&(n.CodeName=r),n.autoCompressPictures=!!(65536&i),n.backupFile=!!(64&i),n.checkCompatibility=!!(4096&i),n.date1904=!!(1&i),n.filterPrivacy=!!(8&i),n.hidePivotFieldList=!!(1024&i),n.promptedSolutions=!!(16&i),n.publishItems=!!(2048&i),n.refreshAllConnections=!!(262144&i),n.saveExternalLinkValues=!!(128&i),n.showBorderUnselectedTables=!!(4&i),n.showInkAnnotation=!!(32&i),n.showObjects=["all","placeholders","none"][i>>13&3],n.showPivotChartFilter=!!(32768&i),n.updateLinks=["userSet","never","always"][i>>8&3],n}}, +/*::[*/ +154:{ +/* n:"BrtWbFactoid" */}, +/*::[*/ +155:{ +/* n:"BrtFileRecover" */}, +/*::[*/ +156:{ +/* n:"BrtBundleSh", */ +f:function(e,t){var n={};return n.Hidden=e.read_shift(4),n.iTabID=e.read_shift(4),n.strRelID=Dp(e),n.name=gp(e),n}}, +/*::[*/ +157:{ +/* n:"BrtCalcProp" */}, +/*::[*/ +158:{ +/* n:"BrtBookView" */}, +/*::[*/ +159:{ +/* n:"BrtBeginSst", */ +T:1,f:function(e){return[e.read_shift(4),e.read_shift(4)]}}, +/*::[*/ +160:{ +/* n:"BrtEndSst", */ +T:-1}, +/*::[*/ +161:{ +/* n:"BrtBeginAFilter", */ +T:1,f:kp}, +/*::[*/ +162:{ +/* n:"BrtEndAFilter", */ +T:-1}, +/*::[*/ +163:{ +/* n:"BrtBeginFilterColumn", */ +T:1}, +/*::[*/ +164:{ +/* n:"BrtEndFilterColumn", */ +T:-1}, +/*::[*/ +165:{ +/* n:"BrtBeginFilters", */ +T:1}, +/*::[*/ +166:{ +/* n:"BrtEndFilters", */ +T:-1}, +/*::[*/ +167:{ +/* n:"BrtFilter" */}, +/*::[*/ +168:{ +/* n:"BrtColorFilter" */}, +/*::[*/ +169:{ +/* n:"BrtIconFilter" */}, +/*::[*/ +170:{ +/* n:"BrtTop10Filter" */}, +/*::[*/ +171:{ +/* n:"BrtDynamicFilter" */}, +/*::[*/ +172:{ +/* n:"BrtBeginCustomFilters", */ +T:1}, +/*::[*/ +173:{ +/* n:"BrtEndCustomFilters", */ +T:-1}, +/*::[*/ +174:{ +/* n:"BrtCustomFilter" */}, +/*::[*/ +175:{ +/* n:"BrtAFilterDateGroupItem" */}, +/*::[*/ +176:{ +/* n:"BrtMergeCell", */ +f:uv}, +/*::[*/ +177:{ +/* n:"BrtBeginMergeCells", */ +T:1}, +/*::[*/ +178:{ +/* n:"BrtEndMergeCells", */ +T:-1}, +/*::[*/ +179:{ +/* n:"BrtBeginPivotCacheDef", */ +T:1}, +/*::[*/ +180:{ +/* n:"BrtEndPivotCacheDef", */ +T:-1}, +/*::[*/ +181:{ +/* n:"BrtBeginPCDFields", */ +T:1}, +/*::[*/ +182:{ +/* n:"BrtEndPCDFields", */ +T:-1}, +/*::[*/ +183:{ +/* n:"BrtBeginPCDField", */ +T:1}, +/*::[*/ +184:{ +/* n:"BrtEndPCDField", */ +T:-1}, +/*::[*/ +185:{ +/* n:"BrtBeginPCDSource", */ +T:1}, +/*::[*/ +186:{ +/* n:"BrtEndPCDSource", */ +T:-1}, +/*::[*/ +187:{ +/* n:"BrtBeginPCDSRange", */ +T:1}, +/*::[*/ +188:{ +/* n:"BrtEndPCDSRange", */ +T:-1}, +/*::[*/ +189:{ +/* n:"BrtBeginPCDFAtbl", */ +T:1}, +/*::[*/ +190:{ +/* n:"BrtEndPCDFAtbl", */ +T:-1}, +/*::[*/ +191:{ +/* n:"BrtBeginPCDIRun", */ +T:1}, +/*::[*/ +192:{ +/* n:"BrtEndPCDIRun", */ +T:-1}, +/*::[*/ +193:{ +/* n:"BrtBeginPivotCacheRecords", */ +T:1}, +/*::[*/ +194:{ +/* n:"BrtEndPivotCacheRecords", */ +T:-1}, +/*::[*/ +195:{ +/* n:"BrtBeginPCDHierarchies", */ +T:1}, +/*::[*/ +196:{ +/* n:"BrtEndPCDHierarchies", */ +T:-1}, +/*::[*/ +197:{ +/* n:"BrtBeginPCDHierarchy", */ +T:1}, +/*::[*/ +198:{ +/* n:"BrtEndPCDHierarchy", */ +T:-1}, +/*::[*/ +199:{ +/* n:"BrtBeginPCDHFieldsUsage", */ +T:1}, +/*::[*/ +200:{ +/* n:"BrtEndPCDHFieldsUsage", */ +T:-1}, +/*::[*/ +201:{ +/* n:"BrtBeginExtConnection", */ +T:1}, +/*::[*/ +202:{ +/* n:"BrtEndExtConnection", */ +T:-1}, +/*::[*/ +203:{ +/* n:"BrtBeginECDbProps", */ +T:1}, +/*::[*/ +204:{ +/* n:"BrtEndECDbProps", */ +T:-1}, +/*::[*/ +205:{ +/* n:"BrtBeginECOlapProps", */ +T:1}, +/*::[*/ +206:{ +/* n:"BrtEndECOlapProps", */ +T:-1}, +/*::[*/ +207:{ +/* n:"BrtBeginPCDSConsol", */ +T:1}, +/*::[*/ +208:{ +/* n:"BrtEndPCDSConsol", */ +T:-1}, +/*::[*/ +209:{ +/* n:"BrtBeginPCDSCPages", */ +T:1}, +/*::[*/ +210:{ +/* n:"BrtEndPCDSCPages", */ +T:-1}, +/*::[*/ +211:{ +/* n:"BrtBeginPCDSCPage", */ +T:1}, +/*::[*/ +212:{ +/* n:"BrtEndPCDSCPage", */ +T:-1}, +/*::[*/ +213:{ +/* n:"BrtBeginPCDSCPItem", */ +T:1}, +/*::[*/ +214:{ +/* n:"BrtEndPCDSCPItem", */ +T:-1}, +/*::[*/ +215:{ +/* n:"BrtBeginPCDSCSets", */ +T:1}, +/*::[*/ +216:{ +/* n:"BrtEndPCDSCSets", */ +T:-1}, +/*::[*/ +217:{ +/* n:"BrtBeginPCDSCSet", */ +T:1}, +/*::[*/ +218:{ +/* n:"BrtEndPCDSCSet", */ +T:-1}, +/*::[*/ +219:{ +/* n:"BrtBeginPCDFGroup", */ +T:1}, +/*::[*/ +220:{ +/* n:"BrtEndPCDFGroup", */ +T:-1}, +/*::[*/ +221:{ +/* n:"BrtBeginPCDFGItems", */ +T:1}, +/*::[*/ +222:{ +/* n:"BrtEndPCDFGItems", */ +T:-1}, +/*::[*/ +223:{ +/* n:"BrtBeginPCDFGRange", */ +T:1}, +/*::[*/ +224:{ +/* n:"BrtEndPCDFGRange", */ +T:-1}, +/*::[*/ +225:{ +/* n:"BrtBeginPCDFGDiscrete", */ +T:1}, +/*::[*/ +226:{ +/* n:"BrtEndPCDFGDiscrete", */ +T:-1}, +/*::[*/ +227:{ +/* n:"BrtBeginPCDSDTupleCache", */ +T:1}, +/*::[*/ +228:{ +/* n:"BrtEndPCDSDTupleCache", */ +T:-1}, +/*::[*/ +229:{ +/* n:"BrtBeginPCDSDTCEntries", */ +T:1}, +/*::[*/ +230:{ +/* n:"BrtEndPCDSDTCEntries", */ +T:-1}, +/*::[*/ +231:{ +/* n:"BrtBeginPCDSDTCEMembers", */ +T:1}, +/*::[*/ +232:{ +/* n:"BrtEndPCDSDTCEMembers", */ +T:-1}, +/*::[*/ +233:{ +/* n:"BrtBeginPCDSDTCEMember", */ +T:1}, +/*::[*/ +234:{ +/* n:"BrtEndPCDSDTCEMember", */ +T:-1}, +/*::[*/ +235:{ +/* n:"BrtBeginPCDSDTCQueries", */ +T:1}, +/*::[*/ +236:{ +/* n:"BrtEndPCDSDTCQueries", */ +T:-1}, +/*::[*/ +237:{ +/* n:"BrtBeginPCDSDTCQuery", */ +T:1}, +/*::[*/ +238:{ +/* n:"BrtEndPCDSDTCQuery", */ +T:-1}, +/*::[*/ +239:{ +/* n:"BrtBeginPCDSDTCSets", */ +T:1}, +/*::[*/ +240:{ +/* n:"BrtEndPCDSDTCSets", */ +T:-1}, +/*::[*/ +241:{ +/* n:"BrtBeginPCDSDTCSet", */ +T:1}, +/*::[*/ +242:{ +/* n:"BrtEndPCDSDTCSet", */ +T:-1}, +/*::[*/ +243:{ +/* n:"BrtBeginPCDCalcItems", */ +T:1}, +/*::[*/ +244:{ +/* n:"BrtEndPCDCalcItems", */ +T:-1}, +/*::[*/ +245:{ +/* n:"BrtBeginPCDCalcItem", */ +T:1}, +/*::[*/ +246:{ +/* n:"BrtEndPCDCalcItem", */ +T:-1}, +/*::[*/ +247:{ +/* n:"BrtBeginPRule", */ +T:1}, +/*::[*/ +248:{ +/* n:"BrtEndPRule", */ +T:-1}, +/*::[*/ +249:{ +/* n:"BrtBeginPRFilters", */ +T:1}, +/*::[*/ +250:{ +/* n:"BrtEndPRFilters", */ +T:-1}, +/*::[*/ +251:{ +/* n:"BrtBeginPRFilter", */ +T:1}, +/*::[*/ +252:{ +/* n:"BrtEndPRFilter", */ +T:-1}, +/*::[*/ +253:{ +/* n:"BrtBeginPNames", */ +T:1}, +/*::[*/ +254:{ +/* n:"BrtEndPNames", */ +T:-1}, +/*::[*/ +255:{ +/* n:"BrtBeginPName", */ +T:1}, +/*::[*/ +256:{ +/* n:"BrtEndPName", */ +T:-1}, +/*::[*/ +257:{ +/* n:"BrtBeginPNPairs", */ +T:1}, +/*::[*/ +258:{ +/* n:"BrtEndPNPairs", */ +T:-1}, +/*::[*/ +259:{ +/* n:"BrtBeginPNPair", */ +T:1}, +/*::[*/ +260:{ +/* n:"BrtEndPNPair", */ +T:-1}, +/*::[*/ +261:{ +/* n:"BrtBeginECWebProps", */ +T:1}, +/*::[*/ +262:{ +/* n:"BrtEndECWebProps", */ +T:-1}, +/*::[*/ +263:{ +/* n:"BrtBeginEcWpTables", */ +T:1}, +/*::[*/ +264:{ +/* n:"BrtEndECWPTables", */ +T:-1}, +/*::[*/ +265:{ +/* n:"BrtBeginECParams", */ +T:1}, +/*::[*/ +266:{ +/* n:"BrtEndECParams", */ +T:-1}, +/*::[*/ +267:{ +/* n:"BrtBeginECParam", */ +T:1}, +/*::[*/ +268:{ +/* n:"BrtEndECParam", */ +T:-1}, +/*::[*/ +269:{ +/* n:"BrtBeginPCDKPIs", */ +T:1}, +/*::[*/ +270:{ +/* n:"BrtEndPCDKPIs", */ +T:-1}, +/*::[*/ +271:{ +/* n:"BrtBeginPCDKPI", */ +T:1}, +/*::[*/ +272:{ +/* n:"BrtEndPCDKPI", */ +T:-1}, +/*::[*/ +273:{ +/* n:"BrtBeginDims", */ +T:1}, +/*::[*/ +274:{ +/* n:"BrtEndDims", */ +T:-1}, +/*::[*/ +275:{ +/* n:"BrtBeginDim", */ +T:1}, +/*::[*/ +276:{ +/* n:"BrtEndDim", */ +T:-1}, +/*::[*/ +277:{ +/* n:"BrtIndexPartEnd" */}, +/*::[*/ +278:{ +/* n:"BrtBeginStyleSheet", */ +T:1}, +/*::[*/ +279:{ +/* n:"BrtEndStyleSheet", */ +T:-1}, +/*::[*/ +280:{ +/* n:"BrtBeginSXView", */ +T:1}, +/*::[*/ +281:{ +/* n:"BrtEndSXVI", */ +T:-1}, +/*::[*/ +282:{ +/* n:"BrtBeginSXVI", */ +T:1}, +/*::[*/ +283:{ +/* n:"BrtBeginSXVIs", */ +T:1}, +/*::[*/ +284:{ +/* n:"BrtEndSXVIs", */ +T:-1}, +/*::[*/ +285:{ +/* n:"BrtBeginSXVD", */ +T:1}, +/*::[*/ +286:{ +/* n:"BrtEndSXVD", */ +T:-1}, +/*::[*/ +287:{ +/* n:"BrtBeginSXVDs", */ +T:1}, +/*::[*/ +288:{ +/* n:"BrtEndSXVDs", */ +T:-1}, +/*::[*/ +289:{ +/* n:"BrtBeginSXPI", */ +T:1}, +/*::[*/ +290:{ +/* n:"BrtEndSXPI", */ +T:-1}, +/*::[*/ +291:{ +/* n:"BrtBeginSXPIs", */ +T:1}, +/*::[*/ +292:{ +/* n:"BrtEndSXPIs", */ +T:-1}, +/*::[*/ +293:{ +/* n:"BrtBeginSXDI", */ +T:1}, +/*::[*/ +294:{ +/* n:"BrtEndSXDI", */ +T:-1}, +/*::[*/ +295:{ +/* n:"BrtBeginSXDIs", */ +T:1}, +/*::[*/ +296:{ +/* n:"BrtEndSXDIs", */ +T:-1}, +/*::[*/ +297:{ +/* n:"BrtBeginSXLI", */ +T:1}, +/*::[*/ +298:{ +/* n:"BrtEndSXLI", */ +T:-1}, +/*::[*/ +299:{ +/* n:"BrtBeginSXLIRws", */ +T:1}, +/*::[*/ +300:{ +/* n:"BrtEndSXLIRws", */ +T:-1}, +/*::[*/ +301:{ +/* n:"BrtBeginSXLICols", */ +T:1}, +/*::[*/ +302:{ +/* n:"BrtEndSXLICols", */ +T:-1}, +/*::[*/ +303:{ +/* n:"BrtBeginSXFormat", */ +T:1}, +/*::[*/ +304:{ +/* n:"BrtEndSXFormat", */ +T:-1}, +/*::[*/ +305:{ +/* n:"BrtBeginSXFormats", */ +T:1}, +/*::[*/ +306:{ +/* n:"BrtEndSxFormats", */ +T:-1}, +/*::[*/ +307:{ +/* n:"BrtBeginSxSelect", */ +T:1}, +/*::[*/ +308:{ +/* n:"BrtEndSxSelect", */ +T:-1}, +/*::[*/ +309:{ +/* n:"BrtBeginISXVDRws", */ +T:1}, +/*::[*/ +310:{ +/* n:"BrtEndISXVDRws", */ +T:-1}, +/*::[*/ +311:{ +/* n:"BrtBeginISXVDCols", */ +T:1}, +/*::[*/ +312:{ +/* n:"BrtEndISXVDCols", */ +T:-1}, +/*::[*/ +313:{ +/* n:"BrtEndSXLocation", */ +T:-1}, +/*::[*/ +314:{ +/* n:"BrtBeginSXLocation", */ +T:1}, +/*::[*/ +315:{ +/* n:"BrtEndSXView", */ +T:-1}, +/*::[*/ +316:{ +/* n:"BrtBeginSXTHs", */ +T:1}, +/*::[*/ +317:{ +/* n:"BrtEndSXTHs", */ +T:-1}, +/*::[*/ +318:{ +/* n:"BrtBeginSXTH", */ +T:1}, +/*::[*/ +319:{ +/* n:"BrtEndSXTH", */ +T:-1}, +/*::[*/ +320:{ +/* n:"BrtBeginISXTHRws", */ +T:1}, +/*::[*/ +321:{ +/* n:"BrtEndISXTHRws", */ +T:-1}, +/*::[*/ +322:{ +/* n:"BrtBeginISXTHCols", */ +T:1}, +/*::[*/ +323:{ +/* n:"BrtEndISXTHCols", */ +T:-1}, +/*::[*/ +324:{ +/* n:"BrtBeginSXTDMPS", */ +T:1}, +/*::[*/ +325:{ +/* n:"BrtEndSXTDMPs", */ +T:-1}, +/*::[*/ +326:{ +/* n:"BrtBeginSXTDMP", */ +T:1}, +/*::[*/ +327:{ +/* n:"BrtEndSXTDMP", */ +T:-1}, +/*::[*/ +328:{ +/* n:"BrtBeginSXTHItems", */ +T:1}, +/*::[*/ +329:{ +/* n:"BrtEndSXTHItems", */ +T:-1}, +/*::[*/ +330:{ +/* n:"BrtBeginSXTHItem", */ +T:1}, +/*::[*/ +331:{ +/* n:"BrtEndSXTHItem", */ +T:-1}, +/*::[*/ +332:{ +/* n:"BrtBeginMetadata", */ +T:1}, +/*::[*/ +333:{ +/* n:"BrtEndMetadata", */ +T:-1}, +/*::[*/ +334:{ +/* n:"BrtBeginEsmdtinfo", */ +T:1}, +/*::[*/ +335:{ +/* n:"BrtMdtinfo", */ +f:function(e,t){return{flags:e.read_shift(4),version:e.read_shift(4),name:gp(e)}}}, +/*::[*/ +336:{ +/* n:"BrtEndEsmdtinfo", */ +T:-1}, +/*::[*/ +337:{ +/* n:"BrtBeginEsmdb", */ +f:function(e){return e.l+=4,0!=e.read_shift(4)},T:1}, +/*::[*/ +338:{ +/* n:"BrtEndEsmdb", */ +T:-1}, +/*::[*/ +339:{ +/* n:"BrtBeginEsfmd", */ +T:1}, +/*::[*/ +340:{ +/* n:"BrtEndEsfmd", */ +T:-1}, +/*::[*/ +341:{ +/* n:"BrtBeginSingleCells", */ +T:1}, +/*::[*/ +342:{ +/* n:"BrtEndSingleCells", */ +T:-1}, +/*::[*/ +343:{ +/* n:"BrtBeginList", */ +T:1}, +/*::[*/ +344:{ +/* n:"BrtEndList", */ +T:-1}, +/*::[*/ +345:{ +/* n:"BrtBeginListCols", */ +T:1}, +/*::[*/ +346:{ +/* n:"BrtEndListCols", */ +T:-1}, +/*::[*/ +347:{ +/* n:"BrtBeginListCol", */ +T:1}, +/*::[*/ +348:{ +/* n:"BrtEndListCol", */ +T:-1}, +/*::[*/ +349:{ +/* n:"BrtBeginListXmlCPr", */ +T:1}, +/*::[*/ +350:{ +/* n:"BrtEndListXmlCPr", */ +T:-1}, +/*::[*/ +351:{ +/* n:"BrtListCCFmla" */}, +/*::[*/ +352:{ +/* n:"BrtListTrFmla" */}, +/*::[*/ +353:{ +/* n:"BrtBeginExternals", */ +T:1}, +/*::[*/ +354:{ +/* n:"BrtEndExternals", */ +T:-1}, +/*::[*/ +355:{ +/* n:"BrtSupBookSrc", */ +f:Dp}, +/*::[*/ +357:{ +/* n:"BrtSupSelf" */}, +/*::[*/ +358:{ +/* n:"BrtSupSame" */}, +/*::[*/ +359:{ +/* n:"BrtSupTabs" */}, +/*::[*/ +360:{ +/* n:"BrtBeginSupBook", */ +T:1}, +/*::[*/ +361:{ +/* n:"BrtPlaceholderName" */}, +/*::[*/ +362:{ +/* n:"BrtExternSheet", */ +f:jg}, +/*::[*/ +363:{ +/* n:"BrtExternTableStart" */}, +/*::[*/ +364:{ +/* n:"BrtExternTableEnd" */}, +/*::[*/ +366:{ +/* n:"BrtExternRowHdr" */}, +/*::[*/ +367:{ +/* n:"BrtExternCellBlank" */}, +/*::[*/ +368:{ +/* n:"BrtExternCellReal" */}, +/*::[*/ +369:{ +/* n:"BrtExternCellBool" */}, +/*::[*/ +370:{ +/* n:"BrtExternCellError" */}, +/*::[*/ +371:{ +/* n:"BrtExternCellString" */}, +/*::[*/ +372:{ +/* n:"BrtBeginEsmdx", */ +T:1}, +/*::[*/ +373:{ +/* n:"BrtEndEsmdx", */ +T:-1}, +/*::[*/ +374:{ +/* n:"BrtBeginMdxSet", */ +T:1}, +/*::[*/ +375:{ +/* n:"BrtEndMdxSet", */ +T:-1}, +/*::[*/ +376:{ +/* n:"BrtBeginMdxMbrProp", */ +T:1}, +/*::[*/ +377:{ +/* n:"BrtEndMdxMbrProp", */ +T:-1}, +/*::[*/ +378:{ +/* n:"BrtBeginMdxKPI", */ +T:1}, +/*::[*/ +379:{ +/* n:"BrtEndMdxKPI", */ +T:-1}, +/*::[*/ +380:{ +/* n:"BrtBeginEsstr", */ +T:1}, +/*::[*/ +381:{ +/* n:"BrtEndEsstr", */ +T:-1}, +/*::[*/ +382:{ +/* n:"BrtBeginPRFItem", */ +T:1}, +/*::[*/ +383:{ +/* n:"BrtEndPRFItem", */ +T:-1}, +/*::[*/ +384:{ +/* n:"BrtBeginPivotCacheIDs", */ +T:1}, +/*::[*/ +385:{ +/* n:"BrtEndPivotCacheIDs", */ +T:-1}, +/*::[*/ +386:{ +/* n:"BrtBeginPivotCacheID", */ +T:1}, +/*::[*/ +387:{ +/* n:"BrtEndPivotCacheID", */ +T:-1}, +/*::[*/ +388:{ +/* n:"BrtBeginISXVIs", */ +T:1}, +/*::[*/ +389:{ +/* n:"BrtEndISXVIs", */ +T:-1}, +/*::[*/ +390:{ +/* n:"BrtBeginColInfos", */ +T:1}, +/*::[*/ +391:{ +/* n:"BrtEndColInfos", */ +T:-1}, +/*::[*/ +392:{ +/* n:"BrtBeginRwBrk", */ +T:1}, +/*::[*/ +393:{ +/* n:"BrtEndRwBrk", */ +T:-1}, +/*::[*/ +394:{ +/* n:"BrtBeginColBrk", */ +T:1}, +/*::[*/ +395:{ +/* n:"BrtEndColBrk", */ +T:-1}, +/*::[*/ +396:{ +/* n:"BrtBrk" */}, +/*::[*/ +397:{ +/* n:"BrtUserBookView" */}, +/*::[*/ +398:{ +/* n:"BrtInfo" */}, +/*::[*/ +399:{ +/* n:"BrtCUsr" */}, +/*::[*/ +400:{ +/* n:"BrtUsr" */}, +/*::[*/ +401:{ +/* n:"BrtBeginUsers", */ +T:1}, +/*::[*/ +403:{ +/* n:"BrtEOF" */}, +/*::[*/ +404:{ +/* n:"BrtUCR" */}, +/*::[*/ +405:{ +/* n:"BrtRRInsDel" */}, +/*::[*/ +406:{ +/* n:"BrtRREndInsDel" */}, +/*::[*/ +407:{ +/* n:"BrtRRMove" */}, +/*::[*/ +408:{ +/* n:"BrtRREndMove" */}, +/*::[*/ +409:{ +/* n:"BrtRRChgCell" */}, +/*::[*/ +410:{ +/* n:"BrtRREndChgCell" */}, +/*::[*/ +411:{ +/* n:"BrtRRHeader" */}, +/*::[*/ +412:{ +/* n:"BrtRRUserView" */}, +/*::[*/ +413:{ +/* n:"BrtRRRenSheet" */}, +/*::[*/ +414:{ +/* n:"BrtRRInsertSh" */}, +/*::[*/ +415:{ +/* n:"BrtRRDefName" */}, +/*::[*/ +416:{ +/* n:"BrtRRNote" */}, +/*::[*/ +417:{ +/* n:"BrtRRConflict" */}, +/*::[*/ +418:{ +/* n:"BrtRRTQSIF" */}, +/*::[*/ +419:{ +/* n:"BrtRRFormat" */}, +/*::[*/ +420:{ +/* n:"BrtRREndFormat" */}, +/*::[*/ +421:{ +/* n:"BrtRRAutoFmt" */}, +/*::[*/ +422:{ +/* n:"BrtBeginUserShViews", */ +T:1}, +/*::[*/ +423:{ +/* n:"BrtBeginUserShView", */ +T:1}, +/*::[*/ +424:{ +/* n:"BrtEndUserShView", */ +T:-1}, +/*::[*/ +425:{ +/* n:"BrtEndUserShViews", */ +T:-1}, +/*::[*/ +426:{ +/* n:"BrtArrFmla", */ +f:function(e,t,n){var i=e.l+t,r=Ep(e),a=e.read_shift(1),s=[r];if(s[2]=a,n.cellFormula){var o=Pb(e,i-e.l,n);s[1]=o}else e.l=i;return s}}, +/*::[*/ +427:{ +/* n:"BrtShrFmla", */ +f:function(e,t,n){var i=e.l+t,r=[kp(e)];if(n.cellFormula){var a=Bb(e,i-e.l,n);r[1]=a,e.l=i}else e.l=i;return r}}, +/*::[*/ +428:{ +/* n:"BrtTable" */}, +/*::[*/ +429:{ +/* n:"BrtBeginExtConnections", */ +T:1}, +/*::[*/ +430:{ +/* n:"BrtEndExtConnections", */ +T:-1}, +/*::[*/ +431:{ +/* n:"BrtBeginPCDCalcMems", */ +T:1}, +/*::[*/ +432:{ +/* n:"BrtEndPCDCalcMems", */ +T:-1}, +/*::[*/ +433:{ +/* n:"BrtBeginPCDCalcMem", */ +T:1}, +/*::[*/ +434:{ +/* n:"BrtEndPCDCalcMem", */ +T:-1}, +/*::[*/ +435:{ +/* n:"BrtBeginPCDHGLevels", */ +T:1}, +/*::[*/ +436:{ +/* n:"BrtEndPCDHGLevels", */ +T:-1}, +/*::[*/ +437:{ +/* n:"BrtBeginPCDHGLevel", */ +T:1}, +/*::[*/ +438:{ +/* n:"BrtEndPCDHGLevel", */ +T:-1}, +/*::[*/ +439:{ +/* n:"BrtBeginPCDHGLGroups", */ +T:1}, +/*::[*/ +440:{ +/* n:"BrtEndPCDHGLGroups", */ +T:-1}, +/*::[*/ +441:{ +/* n:"BrtBeginPCDHGLGroup", */ +T:1}, +/*::[*/ +442:{ +/* n:"BrtEndPCDHGLGroup", */ +T:-1}, +/*::[*/ +443:{ +/* n:"BrtBeginPCDHGLGMembers", */ +T:1}, +/*::[*/ +444:{ +/* n:"BrtEndPCDHGLGMembers", */ +T:-1}, +/*::[*/ +445:{ +/* n:"BrtBeginPCDHGLGMember", */ +T:1}, +/*::[*/ +446:{ +/* n:"BrtEndPCDHGLGMember", */ +T:-1}, +/*::[*/ +447:{ +/* n:"BrtBeginQSI", */ +T:1}, +/*::[*/ +448:{ +/* n:"BrtEndQSI", */ +T:-1}, +/*::[*/ +449:{ +/* n:"BrtBeginQSIR", */ +T:1}, +/*::[*/ +450:{ +/* n:"BrtEndQSIR", */ +T:-1}, +/*::[*/ +451:{ +/* n:"BrtBeginDeletedNames", */ +T:1}, +/*::[*/ +452:{ +/* n:"BrtEndDeletedNames", */ +T:-1}, +/*::[*/ +453:{ +/* n:"BrtBeginDeletedName", */ +T:1}, +/*::[*/ +454:{ +/* n:"BrtEndDeletedName", */ +T:-1}, +/*::[*/ +455:{ +/* n:"BrtBeginQSIFs", */ +T:1}, +/*::[*/ +456:{ +/* n:"BrtEndQSIFs", */ +T:-1}, +/*::[*/ +457:{ +/* n:"BrtBeginQSIF", */ +T:1}, +/*::[*/ +458:{ +/* n:"BrtEndQSIF", */ +T:-1}, +/*::[*/ +459:{ +/* n:"BrtBeginAutoSortScope", */ +T:1}, +/*::[*/ +460:{ +/* n:"BrtEndAutoSortScope", */ +T:-1}, +/*::[*/ +461:{ +/* n:"BrtBeginConditionalFormatting", */ +T:1}, +/*::[*/ +462:{ +/* n:"BrtEndConditionalFormatting", */ +T:-1}, +/*::[*/ +463:{ +/* n:"BrtBeginCFRule", */ +T:1}, +/*::[*/ +464:{ +/* n:"BrtEndCFRule", */ +T:-1}, +/*::[*/ +465:{ +/* n:"BrtBeginIconSet", */ +T:1}, +/*::[*/ +466:{ +/* n:"BrtEndIconSet", */ +T:-1}, +/*::[*/ +467:{ +/* n:"BrtBeginDatabar", */ +T:1}, +/*::[*/ +468:{ +/* n:"BrtEndDatabar", */ +T:-1}, +/*::[*/ +469:{ +/* n:"BrtBeginColorScale", */ +T:1}, +/*::[*/ +470:{ +/* n:"BrtEndColorScale", */ +T:-1}, +/*::[*/ +471:{ +/* n:"BrtCFVO" */}, +/*::[*/ +472:{ +/* n:"BrtExternValueMeta" */}, +/*::[*/ +473:{ +/* n:"BrtBeginColorPalette", */ +T:1}, +/*::[*/ +474:{ +/* n:"BrtEndColorPalette", */ +T:-1}, +/*::[*/ +475:{ +/* n:"BrtIndexedColor" */}, +/*::[*/ +476:{ +/* n:"BrtMargins", */ +f:function(e){var t={};return fv.forEach((function(n){t[n]=Sp(e)})),t}}, +/*::[*/ +477:{ +/* n:"BrtPrintOptions" */}, +/*::[*/ +478:{ +/* n:"BrtPageSetup" */}, +/*::[*/ +479:{ +/* n:"BrtBeginHeaderFooter", */ +T:1}, +/*::[*/ +480:{ +/* n:"BrtEndHeaderFooter", */ +T:-1}, +/*::[*/ +481:{ +/* n:"BrtBeginSXCrtFormat", */ +T:1}, +/*::[*/ +482:{ +/* n:"BrtEndSXCrtFormat", */ +T:-1}, +/*::[*/ +483:{ +/* n:"BrtBeginSXCrtFormats", */ +T:1}, +/*::[*/ +484:{ +/* n:"BrtEndSXCrtFormats", */ +T:-1}, +/*::[*/ +485:{ +/* n:"BrtWsFmtInfo", */ +f:function(){}}, +/*::[*/ +486:{ +/* n:"BrtBeginMgs", */ +T:1}, +/*::[*/ +487:{ +/* n:"BrtEndMGs", */ +T:-1}, +/*::[*/ +488:{ +/* n:"BrtBeginMGMaps", */ +T:1}, +/*::[*/ +489:{ +/* n:"BrtEndMGMaps", */ +T:-1}, +/*::[*/ +490:{ +/* n:"BrtBeginMG", */ +T:1}, +/*::[*/ +491:{ +/* n:"BrtEndMG", */ +T:-1}, +/*::[*/ +492:{ +/* n:"BrtBeginMap", */ +T:1}, +/*::[*/ +493:{ +/* n:"BrtEndMap", */ +T:-1}, +/*::[*/ +494:{ +/* n:"BrtHLink", */ +f:function(e,t){var n=e.l+t,i=kp(e),r=_p(e),a=gp(e),s=gp(e),o=gp(e);e.l=n;var c={rfx:i,relId:r,loc:a,display:o};return s&&(c.Tooltip=s),c}}, +/*::[*/ +495:{ +/* n:"BrtBeginDCon", */ +T:1}, +/*::[*/ +496:{ +/* n:"BrtEndDCon", */ +T:-1}, +/*::[*/ +497:{ +/* n:"BrtBeginDRefs", */ +T:1}, +/*::[*/ +498:{ +/* n:"BrtEndDRefs", */ +T:-1}, +/*::[*/ +499:{ +/* n:"BrtDRef" */}, +/*::[*/ +500:{ +/* n:"BrtBeginScenMan", */ +T:1}, +/*::[*/ +501:{ +/* n:"BrtEndScenMan", */ +T:-1}, +/*::[*/ +502:{ +/* n:"BrtBeginSct", */ +T:1}, +/*::[*/ +503:{ +/* n:"BrtEndSct", */ +T:-1}, +/*::[*/ +504:{ +/* n:"BrtSlc" */}, +/*::[*/ +505:{ +/* n:"BrtBeginDXFs", */ +T:1}, +/*::[*/ +506:{ +/* n:"BrtEndDXFs", */ +T:-1}, +/*::[*/ +507:{ +/* n:"BrtDXF" */}, +/*::[*/ +508:{ +/* n:"BrtBeginTableStyles", */ +T:1}, +/*::[*/ +509:{ +/* n:"BrtEndTableStyles", */ +T:-1}, +/*::[*/ +510:{ +/* n:"BrtBeginTableStyle", */ +T:1}, +/*::[*/ +511:{ +/* n:"BrtEndTableStyle", */ +T:-1}, +/*::[*/ +512:{ +/* n:"BrtTableStyleElement" */}, +/*::[*/ +513:{ +/* n:"BrtTableStyleClient" */}, +/*::[*/ +514:{ +/* n:"BrtBeginVolDeps", */ +T:1}, +/*::[*/ +515:{ +/* n:"BrtEndVolDeps", */ +T:-1}, +/*::[*/ +516:{ +/* n:"BrtBeginVolType", */ +T:1}, +/*::[*/ +517:{ +/* n:"BrtEndVolType", */ +T:-1}, +/*::[*/ +518:{ +/* n:"BrtBeginVolMain", */ +T:1}, +/*::[*/ +519:{ +/* n:"BrtEndVolMain", */ +T:-1}, +/*::[*/ +520:{ +/* n:"BrtBeginVolTopic", */ +T:1}, +/*::[*/ +521:{ +/* n:"BrtEndVolTopic", */ +T:-1}, +/*::[*/ +522:{ +/* n:"BrtVolSubtopic" */}, +/*::[*/ +523:{ +/* n:"BrtVolRef" */}, +/*::[*/ +524:{ +/* n:"BrtVolNum" */}, +/*::[*/ +525:{ +/* n:"BrtVolErr" */}, +/*::[*/ +526:{ +/* n:"BrtVolStr" */}, +/*::[*/ +527:{ +/* n:"BrtVolBool" */}, +/*::[*/ +528:{ +/* n:"BrtBeginCalcChain$", */ +T:1}, +/*::[*/ +529:{ +/* n:"BrtEndCalcChain$", */ +T:-1}, +/*::[*/ +530:{ +/* n:"BrtBeginSortState", */ +T:1}, +/*::[*/ +531:{ +/* n:"BrtEndSortState", */ +T:-1}, +/*::[*/ +532:{ +/* n:"BrtBeginSortCond", */ +T:1}, +/*::[*/ +533:{ +/* n:"BrtEndSortCond", */ +T:-1}, +/*::[*/ +534:{ +/* n:"BrtBookProtection" */}, +/*::[*/ +535:{ +/* n:"BrtSheetProtection" */}, +/*::[*/ +536:{ +/* n:"BrtRangeProtection" */}, +/*::[*/ +537:{ +/* n:"BrtPhoneticInfo" */}, +/*::[*/ +538:{ +/* n:"BrtBeginECTxtWiz", */ +T:1}, +/*::[*/ +539:{ +/* n:"BrtEndECTxtWiz", */ +T:-1}, +/*::[*/ +540:{ +/* n:"BrtBeginECTWFldInfoLst", */ +T:1}, +/*::[*/ +541:{ +/* n:"BrtEndECTWFldInfoLst", */ +T:-1}, +/*::[*/ +542:{ +/* n:"BrtBeginECTwFldInfo", */ +T:1}, +/*::[*/ +548:{ +/* n:"BrtFileSharing" */}, +/*::[*/ +549:{ +/* n:"BrtOleSize" */}, +/*::[*/ +550:{ +/* n:"BrtDrawing", */ +f:Dp}, +/*::[*/ +551:{ +/* n:"BrtLegacyDrawing" */}, +/*::[*/ +552:{ +/* n:"BrtLegacyDrawingHF" */}, +/*::[*/ +553:{ +/* n:"BrtWebOpt" */}, +/*::[*/ +554:{ +/* n:"BrtBeginWebPubItems", */ +T:1}, +/*::[*/ +555:{ +/* n:"BrtEndWebPubItems", */ +T:-1}, +/*::[*/ +556:{ +/* n:"BrtBeginWebPubItem", */ +T:1}, +/*::[*/ +557:{ +/* n:"BrtEndWebPubItem", */ +T:-1}, +/*::[*/ +558:{ +/* n:"BrtBeginSXCondFmt", */ +T:1}, +/*::[*/ +559:{ +/* n:"BrtEndSXCondFmt", */ +T:-1}, +/*::[*/ +560:{ +/* n:"BrtBeginSXCondFmts", */ +T:1}, +/*::[*/ +561:{ +/* n:"BrtEndSXCondFmts", */ +T:-1}, +/*::[*/ +562:{ +/* n:"BrtBkHim" */}, +/*::[*/ +564:{ +/* n:"BrtColor" */}, +/*::[*/ +565:{ +/* n:"BrtBeginIndexedColors", */ +T:1}, +/*::[*/ +566:{ +/* n:"BrtEndIndexedColors", */ +T:-1}, +/*::[*/ +569:{ +/* n:"BrtBeginMRUColors", */ +T:1}, +/*::[*/ +570:{ +/* n:"BrtEndMRUColors", */ +T:-1}, +/*::[*/ +572:{ +/* n:"BrtMRUColor" */}, +/*::[*/ +573:{ +/* n:"BrtBeginDVals", */ +T:1}, +/*::[*/ +574:{ +/* n:"BrtEndDVals", */ +T:-1}, +/*::[*/ +577:{ +/* n:"BrtSupNameStart" */}, +/*::[*/ +578:{ +/* n:"BrtSupNameValueStart" */}, +/*::[*/ +579:{ +/* n:"BrtSupNameValueEnd" */}, +/*::[*/ +580:{ +/* n:"BrtSupNameNum" */}, +/*::[*/ +581:{ +/* n:"BrtSupNameErr" */}, +/*::[*/ +582:{ +/* n:"BrtSupNameSt" */}, +/*::[*/ +583:{ +/* n:"BrtSupNameNil" */}, +/*::[*/ +584:{ +/* n:"BrtSupNameBool" */}, +/*::[*/ +585:{ +/* n:"BrtSupNameFmla" */}, +/*::[*/ +586:{ +/* n:"BrtSupNameBits" */}, +/*::[*/ +587:{ +/* n:"BrtSupNameEnd" */}, +/*::[*/ +588:{ +/* n:"BrtEndSupBook", */ +T:-1}, +/*::[*/ +589:{ +/* n:"BrtCellSmartTagProperty" */}, +/*::[*/ +590:{ +/* n:"BrtBeginCellSmartTag", */ +T:1}, +/*::[*/ +591:{ +/* n:"BrtEndCellSmartTag", */ +T:-1}, +/*::[*/ +592:{ +/* n:"BrtBeginCellSmartTags", */ +T:1}, +/*::[*/ +593:{ +/* n:"BrtEndCellSmartTags", */ +T:-1}, +/*::[*/ +594:{ +/* n:"BrtBeginSmartTags", */ +T:1}, +/*::[*/ +595:{ +/* n:"BrtEndSmartTags", */ +T:-1}, +/*::[*/ +596:{ +/* n:"BrtSmartTagType" */}, +/*::[*/ +597:{ +/* n:"BrtBeginSmartTagTypes", */ +T:1}, +/*::[*/ +598:{ +/* n:"BrtEndSmartTagTypes", */ +T:-1}, +/*::[*/ +599:{ +/* n:"BrtBeginSXFilters", */ +T:1}, +/*::[*/ +600:{ +/* n:"BrtEndSXFilters", */ +T:-1}, +/*::[*/ +601:{ +/* n:"BrtBeginSXFILTER", */ +T:1}, +/*::[*/ +602:{ +/* n:"BrtEndSXFilter", */ +T:-1}, +/*::[*/ +603:{ +/* n:"BrtBeginFills", */ +T:1}, +/*::[*/ +604:{ +/* n:"BrtEndFills", */ +T:-1}, +/*::[*/ +605:{ +/* n:"BrtBeginCellWatches", */ +T:1}, +/*::[*/ +606:{ +/* n:"BrtEndCellWatches", */ +T:-1}, +/*::[*/ +607:{ +/* n:"BrtCellWatch" */}, +/*::[*/ +608:{ +/* n:"BrtBeginCRErrs", */ +T:1}, +/*::[*/ +609:{ +/* n:"BrtEndCRErrs", */ +T:-1}, +/*::[*/ +610:{ +/* n:"BrtCrashRecErr" */}, +/*::[*/ +611:{ +/* n:"BrtBeginFonts", */ +T:1}, +/*::[*/ +612:{ +/* n:"BrtEndFonts", */ +T:-1}, +/*::[*/ +613:{ +/* n:"BrtBeginBorders", */ +T:1}, +/*::[*/ +614:{ +/* n:"BrtEndBorders", */ +T:-1}, +/*::[*/ +615:{ +/* n:"BrtBeginFmts", */ +T:1}, +/*::[*/ +616:{ +/* n:"BrtEndFmts", */ +T:-1}, +/*::[*/ +617:{ +/* n:"BrtBeginCellXFs", */ +T:1}, +/*::[*/ +618:{ +/* n:"BrtEndCellXFs", */ +T:-1}, +/*::[*/ +619:{ +/* n:"BrtBeginStyles", */ +T:1}, +/*::[*/ +620:{ +/* n:"BrtEndStyles", */ +T:-1}, +/*::[*/ +625:{ +/* n:"BrtBigName" */}, +/*::[*/ +626:{ +/* n:"BrtBeginCellStyleXFs", */ +T:1}, +/*::[*/ +627:{ +/* n:"BrtEndCellStyleXFs", */ +T:-1}, +/*::[*/ +628:{ +/* n:"BrtBeginComments", */ +T:1}, +/*::[*/ +629:{ +/* n:"BrtEndComments", */ +T:-1}, +/*::[*/ +630:{ +/* n:"BrtBeginCommentAuthors", */ +T:1}, +/*::[*/ +631:{ +/* n:"BrtEndCommentAuthors", */ +T:-1}, +/*::[*/ +632:{ +/* n:"BrtCommentAuthor", */ +f:eb}, +/*::[*/ +633:{ +/* n:"BrtBeginCommentList", */ +T:1}, +/*::[*/ +634:{ +/* n:"BrtEndCommentList", */ +T:-1}, +/*::[*/ +635:{ +/* n:"BrtBeginComment", */ +T:1,f:function(e){var t={};t.iauthor=e.read_shift(4);var n=kp(e);return t.rfx=n.s,t.ref=sp(n.s),e.l+=16,t}}, +/*::[*/ +636:{ +/* n:"BrtEndComment", */ +T:-1}, +/*::[*/ +637:{ +/* n:"BrtCommentText", */ +f:vp}, +/*::[*/ +638:{ +/* n:"BrtBeginOleObjects", */ +T:1}, +/*::[*/ +639:{ +/* n:"BrtOleObject" */}, +/*::[*/ +640:{ +/* n:"BrtEndOleObjects", */ +T:-1}, +/*::[*/ +641:{ +/* n:"BrtBeginSxrules", */ +T:1}, +/*::[*/ +642:{ +/* n:"BrtEndSxRules", */ +T:-1}, +/*::[*/ +643:{ +/* n:"BrtBeginActiveXControls", */ +T:1}, +/*::[*/ +644:{ +/* n:"BrtActiveX" */}, +/*::[*/ +645:{ +/* n:"BrtEndActiveXControls", */ +T:-1}, +/*::[*/ +646:{ +/* n:"BrtBeginPCDSDTCEMembersSortBy", */ +T:1}, +/*::[*/ +648:{ +/* n:"BrtBeginCellIgnoreECs", */ +T:1}, +/*::[*/ +649:{ +/* n:"BrtCellIgnoreEC" */}, +/*::[*/ +650:{ +/* n:"BrtEndCellIgnoreECs", */ +T:-1}, +/*::[*/ +651:{ +/* n:"BrtCsProp", */ +f:function(e,t){return e.l+=10,{name:gp(e)}}}, +/*::[*/ +652:{ +/* n:"BrtCsPageSetup" */}, +/*::[*/ +653:{ +/* n:"BrtBeginUserCsViews", */ +T:1}, +/*::[*/ +654:{ +/* n:"BrtEndUserCsViews", */ +T:-1}, +/*::[*/ +655:{ +/* n:"BrtBeginUserCsView", */ +T:1}, +/*::[*/ +656:{ +/* n:"BrtEndUserCsView", */ +T:-1}, +/*::[*/ +657:{ +/* n:"BrtBeginPcdSFCIEntries", */ +T:1}, +/*::[*/ +658:{ +/* n:"BrtEndPCDSFCIEntries", */ +T:-1}, +/*::[*/ +659:{ +/* n:"BrtPCDSFCIEntry" */}, +/*::[*/ +660:{ +/* n:"BrtBeginListParts", */ +T:1}, +/*::[*/ +661:{ +/* n:"BrtListPart" */}, +/*::[*/ +662:{ +/* n:"BrtEndListParts", */ +T:-1}, +/*::[*/ +663:{ +/* n:"BrtSheetCalcProp" */}, +/*::[*/ +664:{ +/* n:"BrtBeginFnGroup", */ +T:1}, +/*::[*/ +665:{ +/* n:"BrtFnGroup" */}, +/*::[*/ +666:{ +/* n:"BrtEndFnGroup", */ +T:-1}, +/*::[*/ +667:{ +/* n:"BrtSupAddin" */}, +/*::[*/ +668:{ +/* n:"BrtSXTDMPOrder" */}, +/*::[*/ +669:{ +/* n:"BrtCsProtection" */}, +/*::[*/ +671:{ +/* n:"BrtBeginWsSortMap", */ +T:1}, +/*::[*/ +672:{ +/* n:"BrtEndWsSortMap", */ +T:-1}, +/*::[*/ +673:{ +/* n:"BrtBeginRRSort", */ +T:1}, +/*::[*/ +674:{ +/* n:"BrtEndRRSort", */ +T:-1}, +/*::[*/ +675:{ +/* n:"BrtRRSortItem" */}, +/*::[*/ +676:{ +/* n:"BrtFileSharingIso" */}, +/*::[*/ +677:{ +/* n:"BrtBookProtectionIso" */}, +/*::[*/ +678:{ +/* n:"BrtSheetProtectionIso" */}, +/*::[*/ +679:{ +/* n:"BrtCsProtectionIso" */}, +/*::[*/ +680:{ +/* n:"BrtRangeProtectionIso" */}, +/*::[*/ +681:{ +/* n:"BrtDValList" */}, +/*::[*/ +1024:{ +/* n:"BrtRwDescent" */}, +/*::[*/ +1025:{ +/* n:"BrtKnownFonts" */}, +/*::[*/ +1026:{ +/* n:"BrtBeginSXTupleSet", */ +T:1}, +/*::[*/ +1027:{ +/* n:"BrtEndSXTupleSet", */ +T:-1}, +/*::[*/ +1028:{ +/* n:"BrtBeginSXTupleSetHeader", */ +T:1}, +/*::[*/ +1029:{ +/* n:"BrtEndSXTupleSetHeader", */ +T:-1}, +/*::[*/ +1030:{ +/* n:"BrtSXTupleSetHeaderItem" */}, +/*::[*/ +1031:{ +/* n:"BrtBeginSXTupleSetData", */ +T:1}, +/*::[*/ +1032:{ +/* n:"BrtEndSXTupleSetData", */ +T:-1}, +/*::[*/ +1033:{ +/* n:"BrtBeginSXTupleSetRow", */ +T:1}, +/*::[*/ +1034:{ +/* n:"BrtEndSXTupleSetRow", */ +T:-1}, +/*::[*/ +1035:{ +/* n:"BrtSXTupleSetRowItem" */}, +/*::[*/ +1036:{ +/* n:"BrtNameExt" */}, +/*::[*/ +1037:{ +/* n:"BrtPCDH14" */}, +/*::[*/ +1038:{ +/* n:"BrtBeginPCDCalcMem14", */ +T:1}, +/*::[*/ +1039:{ +/* n:"BrtEndPCDCalcMem14", */ +T:-1}, +/*::[*/ +1040:{ +/* n:"BrtSXTH14" */}, +/*::[*/ +1041:{ +/* n:"BrtBeginSparklineGroup", */ +T:1}, +/*::[*/ +1042:{ +/* n:"BrtEndSparklineGroup", */ +T:-1}, +/*::[*/ +1043:{ +/* n:"BrtSparkline" */}, +/*::[*/ +1044:{ +/* n:"BrtSXDI14" */}, +/*::[*/ +1045:{ +/* n:"BrtWsFmtInfoEx14" */}, +/*::[*/ +1046:{ +/* n:"BrtBeginConditionalFormatting14", */ +T:1}, +/*::[*/ +1047:{ +/* n:"BrtEndConditionalFormatting14", */ +T:-1}, +/*::[*/ +1048:{ +/* n:"BrtBeginCFRule14", */ +T:1}, +/*::[*/ +1049:{ +/* n:"BrtEndCFRule14", */ +T:-1}, +/*::[*/ +1050:{ +/* n:"BrtCFVO14" */}, +/*::[*/ +1051:{ +/* n:"BrtBeginDatabar14", */ +T:1}, +/*::[*/ +1052:{ +/* n:"BrtBeginIconSet14", */ +T:1}, +/*::[*/ +1053:{ +/* n:"BrtDVal14", */ +f:function(){}}, +/*::[*/ +1054:{ +/* n:"BrtBeginDVals14", */ +T:1}, +/*::[*/ +1055:{ +/* n:"BrtColor14" */}, +/*::[*/ +1056:{ +/* n:"BrtBeginSparklines", */ +T:1}, +/*::[*/ +1057:{ +/* n:"BrtEndSparklines", */ +T:-1}, +/*::[*/ +1058:{ +/* n:"BrtBeginSparklineGroups", */ +T:1}, +/*::[*/ +1059:{ +/* n:"BrtEndSparklineGroups", */ +T:-1}, +/*::[*/ +1061:{ +/* n:"BrtSXVD14" */}, +/*::[*/ +1062:{ +/* n:"BrtBeginSXView14", */ +T:1}, +/*::[*/ +1063:{ +/* n:"BrtEndSXView14", */ +T:-1}, +/*::[*/ +1064:{ +/* n:"BrtBeginSXView16", */ +T:1}, +/*::[*/ +1065:{ +/* n:"BrtEndSXView16", */ +T:-1}, +/*::[*/ +1066:{ +/* n:"BrtBeginPCD14", */ +T:1}, +/*::[*/ +1067:{ +/* n:"BrtEndPCD14", */ +T:-1}, +/*::[*/ +1068:{ +/* n:"BrtBeginExtConn14", */ +T:1}, +/*::[*/ +1069:{ +/* n:"BrtEndExtConn14", */ +T:-1}, +/*::[*/ +1070:{ +/* n:"BrtBeginSlicerCacheIDs", */ +T:1}, +/*::[*/ +1071:{ +/* n:"BrtEndSlicerCacheIDs", */ +T:-1}, +/*::[*/ +1072:{ +/* n:"BrtBeginSlicerCacheID", */ +T:1}, +/*::[*/ +1073:{ +/* n:"BrtEndSlicerCacheID", */ +T:-1}, +/*::[*/ +1075:{ +/* n:"BrtBeginSlicerCache", */ +T:1}, +/*::[*/ +1076:{ +/* n:"BrtEndSlicerCache", */ +T:-1}, +/*::[*/ +1077:{ +/* n:"BrtBeginSlicerCacheDef", */ +T:1}, +/*::[*/ +1078:{ +/* n:"BrtEndSlicerCacheDef", */ +T:-1}, +/*::[*/ +1079:{ +/* n:"BrtBeginSlicersEx", */ +T:1}, +/*::[*/ +1080:{ +/* n:"BrtEndSlicersEx", */ +T:-1}, +/*::[*/ +1081:{ +/* n:"BrtBeginSlicerEx", */ +T:1}, +/*::[*/ +1082:{ +/* n:"BrtEndSlicerEx", */ +T:-1}, +/*::[*/ +1083:{ +/* n:"BrtBeginSlicer", */ +T:1}, +/*::[*/ +1084:{ +/* n:"BrtEndSlicer", */ +T:-1}, +/*::[*/ +1085:{ +/* n:"BrtSlicerCachePivotTables" */}, +/*::[*/ +1086:{ +/* n:"BrtBeginSlicerCacheOlapImpl", */ +T:1}, +/*::[*/ +1087:{ +/* n:"BrtEndSlicerCacheOlapImpl", */ +T:-1}, +/*::[*/ +1088:{ +/* n:"BrtBeginSlicerCacheLevelsData", */ +T:1}, +/*::[*/ +1089:{ +/* n:"BrtEndSlicerCacheLevelsData", */ +T:-1}, +/*::[*/ +1090:{ +/* n:"BrtBeginSlicerCacheLevelData", */ +T:1}, +/*::[*/ +1091:{ +/* n:"BrtEndSlicerCacheLevelData", */ +T:-1}, +/*::[*/ +1092:{ +/* n:"BrtBeginSlicerCacheSiRanges", */ +T:1}, +/*::[*/ +1093:{ +/* n:"BrtEndSlicerCacheSiRanges", */ +T:-1}, +/*::[*/ +1094:{ +/* n:"BrtBeginSlicerCacheSiRange", */ +T:1}, +/*::[*/ +1095:{ +/* n:"BrtEndSlicerCacheSiRange", */ +T:-1}, +/*::[*/ +1096:{ +/* n:"BrtSlicerCacheOlapItem" */}, +/*::[*/ +1097:{ +/* n:"BrtBeginSlicerCacheSelections", */ +T:1}, +/*::[*/ +1098:{ +/* n:"BrtSlicerCacheSelection" */}, +/*::[*/ +1099:{ +/* n:"BrtEndSlicerCacheSelections", */ +T:-1}, +/*::[*/ +1100:{ +/* n:"BrtBeginSlicerCacheNative", */ +T:1}, +/*::[*/ +1101:{ +/* n:"BrtEndSlicerCacheNative", */ +T:-1}, +/*::[*/ +1102:{ +/* n:"BrtSlicerCacheNativeItem" */}, +/*::[*/ +1103:{ +/* n:"BrtRangeProtection14" */}, +/*::[*/ +1104:{ +/* n:"BrtRangeProtectionIso14" */}, +/*::[*/ +1105:{ +/* n:"BrtCellIgnoreEC14" */}, +/*::[*/ +1111:{ +/* n:"BrtList14" */}, +/*::[*/ +1112:{ +/* n:"BrtCFIcon" */}, +/*::[*/ +1113:{ +/* n:"BrtBeginSlicerCachesPivotCacheIDs", */ +T:1}, +/*::[*/ +1114:{ +/* n:"BrtEndSlicerCachesPivotCacheIDs", */ +T:-1}, +/*::[*/ +1115:{ +/* n:"BrtBeginSlicers", */ +T:1}, +/*::[*/ +1116:{ +/* n:"BrtEndSlicers", */ +T:-1}, +/*::[*/ +1117:{ +/* n:"BrtWbProp14" */}, +/*::[*/ +1118:{ +/* n:"BrtBeginSXEdit", */ +T:1}, +/*::[*/ +1119:{ +/* n:"BrtEndSXEdit", */ +T:-1}, +/*::[*/ +1120:{ +/* n:"BrtBeginSXEdits", */ +T:1}, +/*::[*/ +1121:{ +/* n:"BrtEndSXEdits", */ +T:-1}, +/*::[*/ +1122:{ +/* n:"BrtBeginSXChange", */ +T:1}, +/*::[*/ +1123:{ +/* n:"BrtEndSXChange", */ +T:-1}, +/*::[*/ +1124:{ +/* n:"BrtBeginSXChanges", */ +T:1}, +/*::[*/ +1125:{ +/* n:"BrtEndSXChanges", */ +T:-1}, +/*::[*/ +1126:{ +/* n:"BrtSXTupleItems" */}, +/*::[*/ +1128:{ +/* n:"BrtBeginSlicerStyle", */ +T:1}, +/*::[*/ +1129:{ +/* n:"BrtEndSlicerStyle", */ +T:-1}, +/*::[*/ +1130:{ +/* n:"BrtSlicerStyleElement" */}, +/*::[*/ +1131:{ +/* n:"BrtBeginStyleSheetExt14", */ +T:1}, +/*::[*/ +1132:{ +/* n:"BrtEndStyleSheetExt14", */ +T:-1}, +/*::[*/ +1133:{ +/* n:"BrtBeginSlicerCachesPivotCacheID", */ +T:1}, +/*::[*/ +1134:{ +/* n:"BrtEndSlicerCachesPivotCacheID", */ +T:-1}, +/*::[*/ +1135:{ +/* n:"BrtBeginConditionalFormattings", */ +T:1}, +/*::[*/ +1136:{ +/* n:"BrtEndConditionalFormattings", */ +T:-1}, +/*::[*/ +1137:{ +/* n:"BrtBeginPCDCalcMemExt", */ +T:1}, +/*::[*/ +1138:{ +/* n:"BrtEndPCDCalcMemExt", */ +T:-1}, +/*::[*/ +1139:{ +/* n:"BrtBeginPCDCalcMemsExt", */ +T:1}, +/*::[*/ +1140:{ +/* n:"BrtEndPCDCalcMemsExt", */ +T:-1}, +/*::[*/ +1141:{ +/* n:"BrtPCDField14" */}, +/*::[*/ +1142:{ +/* n:"BrtBeginSlicerStyles", */ +T:1}, +/*::[*/ +1143:{ +/* n:"BrtEndSlicerStyles", */ +T:-1}, +/*::[*/ +1144:{ +/* n:"BrtBeginSlicerStyleElements", */ +T:1}, +/*::[*/ +1145:{ +/* n:"BrtEndSlicerStyleElements", */ +T:-1}, +/*::[*/ +1146:{ +/* n:"BrtCFRuleExt" */}, +/*::[*/ +1147:{ +/* n:"BrtBeginSXCondFmt14", */ +T:1}, +/*::[*/ +1148:{ +/* n:"BrtEndSXCondFmt14", */ +T:-1}, +/*::[*/ +1149:{ +/* n:"BrtBeginSXCondFmts14", */ +T:1}, +/*::[*/ +1150:{ +/* n:"BrtEndSXCondFmts14", */ +T:-1}, +/*::[*/ +1152:{ +/* n:"BrtBeginSortCond14", */ +T:1}, +/*::[*/ +1153:{ +/* n:"BrtEndSortCond14", */ +T:-1}, +/*::[*/ +1154:{ +/* n:"BrtEndDVals14", */ +T:-1}, +/*::[*/ +1155:{ +/* n:"BrtEndIconSet14", */ +T:-1}, +/*::[*/ +1156:{ +/* n:"BrtEndDatabar14", */ +T:-1}, +/*::[*/ +1157:{ +/* n:"BrtBeginColorScale14", */ +T:1}, +/*::[*/ +1158:{ +/* n:"BrtEndColorScale14", */ +T:-1}, +/*::[*/ +1159:{ +/* n:"BrtBeginSxrules14", */ +T:1}, +/*::[*/ +1160:{ +/* n:"BrtEndSxrules14", */ +T:-1}, +/*::[*/ +1161:{ +/* n:"BrtBeginPRule14", */ +T:1}, +/*::[*/ +1162:{ +/* n:"BrtEndPRule14", */ +T:-1}, +/*::[*/ +1163:{ +/* n:"BrtBeginPRFilters14", */ +T:1}, +/*::[*/ +1164:{ +/* n:"BrtEndPRFilters14", */ +T:-1}, +/*::[*/ +1165:{ +/* n:"BrtBeginPRFilter14", */ +T:1}, +/*::[*/ +1166:{ +/* n:"BrtEndPRFilter14", */ +T:-1}, +/*::[*/ +1167:{ +/* n:"BrtBeginPRFItem14", */ +T:1}, +/*::[*/ +1168:{ +/* n:"BrtEndPRFItem14", */ +T:-1}, +/*::[*/ +1169:{ +/* n:"BrtBeginCellIgnoreECs14", */ +T:1}, +/*::[*/ +1170:{ +/* n:"BrtEndCellIgnoreECs14", */ +T:-1}, +/*::[*/ +1171:{ +/* n:"BrtDxf14" */}, +/*::[*/ +1172:{ +/* n:"BrtBeginDxF14s", */ +T:1}, +/*::[*/ +1173:{ +/* n:"BrtEndDxf14s", */ +T:-1}, +/*::[*/ +1177:{ +/* n:"BrtFilter14" */}, +/*::[*/ +1178:{ +/* n:"BrtBeginCustomFilters14", */ +T:1}, +/*::[*/ +1180:{ +/* n:"BrtCustomFilter14" */}, +/*::[*/ +1181:{ +/* n:"BrtIconFilter14" */}, +/*::[*/ +1182:{ +/* n:"BrtPivotCacheConnectionName" */}, +/*::[*/ +2048:{ +/* n:"BrtBeginDecoupledPivotCacheIDs", */ +T:1}, +/*::[*/ +2049:{ +/* n:"BrtEndDecoupledPivotCacheIDs", */ +T:-1}, +/*::[*/ +2050:{ +/* n:"BrtDecoupledPivotCacheID" */}, +/*::[*/ +2051:{ +/* n:"BrtBeginPivotTableRefs", */ +T:1}, +/*::[*/ +2052:{ +/* n:"BrtEndPivotTableRefs", */ +T:-1}, +/*::[*/ +2053:{ +/* n:"BrtPivotTableRef" */}, +/*::[*/ +2054:{ +/* n:"BrtSlicerCacheBookPivotTables" */}, +/*::[*/ +2055:{ +/* n:"BrtBeginSxvcells", */ +T:1}, +/*::[*/ +2056:{ +/* n:"BrtEndSxvcells", */ +T:-1}, +/*::[*/ +2057:{ +/* n:"BrtBeginSxRow", */ +T:1}, +/*::[*/ +2058:{ +/* n:"BrtEndSxRow", */ +T:-1}, +/*::[*/ +2060:{ +/* n:"BrtPcdCalcMem15" */}, +/*::[*/ +2067:{ +/* n:"BrtQsi15" */}, +/*::[*/ +2068:{ +/* n:"BrtBeginWebExtensions", */ +T:1}, +/*::[*/ +2069:{ +/* n:"BrtEndWebExtensions", */ +T:-1}, +/*::[*/ +2070:{ +/* n:"BrtWebExtension" */}, +/*::[*/ +2071:{ +/* n:"BrtAbsPath15" */}, +/*::[*/ +2072:{ +/* n:"BrtBeginPivotTableUISettings", */ +T:1}, +/*::[*/ +2073:{ +/* n:"BrtEndPivotTableUISettings", */ +T:-1}, +/*::[*/ +2075:{ +/* n:"BrtTableSlicerCacheIDs" */}, +/*::[*/ +2076:{ +/* n:"BrtTableSlicerCacheID" */}, +/*::[*/ +2077:{ +/* n:"BrtBeginTableSlicerCache", */ +T:1}, +/*::[*/ +2078:{ +/* n:"BrtEndTableSlicerCache", */ +T:-1}, +/*::[*/ +2079:{ +/* n:"BrtSxFilter15" */}, +/*::[*/ +2080:{ +/* n:"BrtBeginTimelineCachePivotCacheIDs", */ +T:1}, +/*::[*/ +2081:{ +/* n:"BrtEndTimelineCachePivotCacheIDs", */ +T:-1}, +/*::[*/ +2082:{ +/* n:"BrtTimelineCachePivotCacheID" */}, +/*::[*/ +2083:{ +/* n:"BrtBeginTimelineCacheIDs", */ +T:1}, +/*::[*/ +2084:{ +/* n:"BrtEndTimelineCacheIDs", */ +T:-1}, +/*::[*/ +2085:{ +/* n:"BrtBeginTimelineCacheID", */ +T:1}, +/*::[*/ +2086:{ +/* n:"BrtEndTimelineCacheID", */ +T:-1}, +/*::[*/ +2087:{ +/* n:"BrtBeginTimelinesEx", */ +T:1}, +/*::[*/ +2088:{ +/* n:"BrtEndTimelinesEx", */ +T:-1}, +/*::[*/ +2089:{ +/* n:"BrtBeginTimelineEx", */ +T:1}, +/*::[*/ +2090:{ +/* n:"BrtEndTimelineEx", */ +T:-1}, +/*::[*/ +2091:{ +/* n:"BrtWorkBookPr15" */}, +/*::[*/ +2092:{ +/* n:"BrtPCDH15" */}, +/*::[*/ +2093:{ +/* n:"BrtBeginTimelineStyle", */ +T:1}, +/*::[*/ +2094:{ +/* n:"BrtEndTimelineStyle", */ +T:-1}, +/*::[*/ +2095:{ +/* n:"BrtTimelineStyleElement" */}, +/*::[*/ +2096:{ +/* n:"BrtBeginTimelineStylesheetExt15", */ +T:1}, +/*::[*/ +2097:{ +/* n:"BrtEndTimelineStylesheetExt15", */ +T:-1}, +/*::[*/ +2098:{ +/* n:"BrtBeginTimelineStyles", */ +T:1}, +/*::[*/ +2099:{ +/* n:"BrtEndTimelineStyles", */ +T:-1}, +/*::[*/ +2100:{ +/* n:"BrtBeginTimelineStyleElements", */ +T:1}, +/*::[*/ +2101:{ +/* n:"BrtEndTimelineStyleElements", */ +T:-1}, +/*::[*/ +2102:{ +/* n:"BrtDxf15" */}, +/*::[*/ +2103:{ +/* n:"BrtBeginDxfs15", */ +T:1}, +/*::[*/ +2104:{ +/* n:"BrtEndDxfs15", */ +T:-1}, +/*::[*/ +2105:{ +/* n:"BrtSlicerCacheHideItemsWithNoData" */}, +/*::[*/ +2106:{ +/* n:"BrtBeginItemUniqueNames", */ +T:1}, +/*::[*/ +2107:{ +/* n:"BrtEndItemUniqueNames", */ +T:-1}, +/*::[*/ +2108:{ +/* n:"BrtItemUniqueName" */}, +/*::[*/ +2109:{ +/* n:"BrtBeginExtConn15", */ +T:1}, +/*::[*/ +2110:{ +/* n:"BrtEndExtConn15", */ +T:-1}, +/*::[*/ +2111:{ +/* n:"BrtBeginOledbPr15", */ +T:1}, +/*::[*/ +2112:{ +/* n:"BrtEndOledbPr15", */ +T:-1}, +/*::[*/ +2113:{ +/* n:"BrtBeginDataFeedPr15", */ +T:1}, +/*::[*/ +2114:{ +/* n:"BrtEndDataFeedPr15", */ +T:-1}, +/*::[*/ +2115:{ +/* n:"BrtTextPr15" */}, +/*::[*/ +2116:{ +/* n:"BrtRangePr15" */}, +/*::[*/ +2117:{ +/* n:"BrtDbCommand15" */}, +/*::[*/ +2118:{ +/* n:"BrtBeginDbTables15", */ +T:1}, +/*::[*/ +2119:{ +/* n:"BrtEndDbTables15", */ +T:-1}, +/*::[*/ +2120:{ +/* n:"BrtDbTable15" */}, +/*::[*/ +2121:{ +/* n:"BrtBeginDataModel", */ +T:1}, +/*::[*/ +2122:{ +/* n:"BrtEndDataModel", */ +T:-1}, +/*::[*/ +2123:{ +/* n:"BrtBeginModelTables", */ +T:1}, +/*::[*/ +2124:{ +/* n:"BrtEndModelTables", */ +T:-1}, +/*::[*/ +2125:{ +/* n:"BrtModelTable" */}, +/*::[*/ +2126:{ +/* n:"BrtBeginModelRelationships", */ +T:1}, +/*::[*/ +2127:{ +/* n:"BrtEndModelRelationships", */ +T:-1}, +/*::[*/ +2128:{ +/* n:"BrtModelRelationship" */}, +/*::[*/ +2129:{ +/* n:"BrtBeginECTxtWiz15", */ +T:1}, +/*::[*/ +2130:{ +/* n:"BrtEndECTxtWiz15", */ +T:-1}, +/*::[*/ +2131:{ +/* n:"BrtBeginECTWFldInfoLst15", */ +T:1}, +/*::[*/ +2132:{ +/* n:"BrtEndECTWFldInfoLst15", */ +T:-1}, +/*::[*/ +2133:{ +/* n:"BrtBeginECTWFldInfo15", */ +T:1}, +/*::[*/ +2134:{ +/* n:"BrtFieldListActiveItem" */}, +/*::[*/ +2135:{ +/* n:"BrtPivotCacheIdVersion" */}, +/*::[*/ +2136:{ +/* n:"BrtSXDI15" */}, +/*::[*/ +2137:{ +/* n:"BrtBeginModelTimeGroupings", */ +T:1}, +/*::[*/ +2138:{ +/* n:"BrtEndModelTimeGroupings", */ +T:-1}, +/*::[*/ +2139:{ +/* n:"BrtBeginModelTimeGrouping", */ +T:1}, +/*::[*/ +2140:{ +/* n:"BrtEndModelTimeGrouping", */ +T:-1}, +/*::[*/ +2141:{ +/* n:"BrtModelTimeGroupingCalcCol" */}, +/*::[*/ +3072:{ +/* n:"BrtUid" */}, +/*::[*/ +3073:{ +/* n:"BrtRevisionPtr" */}, +/*::[*/ +4096:{ +/* n:"BrtBeginDynamicArrayPr", */ +T:1}, +/*::[*/ +4097:{ +/* n:"BrtEndDynamicArrayPr", */ +T:-1}, +/*::[*/ +5002:{ +/* n:"BrtBeginRichValueBlock", */ +T:1}, +/*::[*/ +5003:{ +/* n:"BrtEndRichValueBlock", */ +T:-1}, +/*::[*/ +5081:{ +/* n:"BrtBeginRichFilters", */ +T:1}, +/*::[*/ +5082:{ +/* n:"BrtEndRichFilters", */ +T:-1}, +/*::[*/ +5083:{ +/* n:"BrtRichFilter" */}, +/*::[*/ +5084:{ +/* n:"BrtBeginRichFilterColumn", */ +T:1}, +/*::[*/ +5085:{ +/* n:"BrtEndRichFilterColumn", */ +T:-1}, +/*::[*/ +5086:{ +/* n:"BrtBeginCustomRichFilters", */ +T:1}, +/*::[*/ +5087:{ +/* n:"BrtEndCustomRichFilters", */ +T:-1}, +/*::[*/ +5088:{ +/* n:"BrtCustomRichFilter" */}, +/*::[*/ +5089:{ +/* n:"BrtTop10RichFilter" */}, +/*::[*/ +5090:{ +/* n:"BrtDynamicRichFilter" */}, +/*::[*/ +5092:{ +/* n:"BrtBeginRichSortCondition", */ +T:1}, +/*::[*/ +5093:{ +/* n:"BrtEndRichSortCondition", */ +T:-1}, +/*::[*/ +5094:{ +/* n:"BrtRichFilterDateGroupItem" */}, +/*::[*/ +5095:{ +/* n:"BrtBeginCalcFeatures", */ +T:1}, +/*::[*/ +5096:{ +/* n:"BrtEndCalcFeatures", */ +T:-1}, +/*::[*/ +5097:{ +/* n:"BrtCalcFeature" */}, +/*::[*/ +5099:{ +/* n:"BrtExternalLinksPr" */}, +/*::[*/ +65535:{n:""}},ny={ +/* [MS-XLS] 2.3 Record Enumeration 2021-08-17 */ +/*::[*/ +6:{ +/* n:"Formula", */ +f:Ob}, +/*::[*/ +10:{ +/* n:"EOF", */ +f:hg}, +/*::[*/ +12:{ +/* n:"CalcCount", */ +f:ug}, +/*::[*/ +13:{ +/* n:"CalcMode", */ +f:ug}, +/*::[*/ +14:{ +/* n:"CalcPrecision", */ +f:dg}, +/*::[*/ +15:{ +/* n:"CalcRefMode", */ +f:dg}, +/*::[*/ +16:{ +/* n:"CalcDelta", */ +f:Sp}, +/*::[*/ +17:{ +/* n:"CalcIter", */ +f:dg}, +/*::[*/ +18:{ +/* n:"Protect", */ +f:dg}, +/*::[*/ +19:{ +/* n:"Password", */ +f:ug}, +/*::[*/ +20:{ +/* n:"Header", */ +f:Pg}, +/*::[*/ +21:{ +/* n:"Footer", */ +f:Pg}, +/*::[*/ +23:{ +/* n:"ExternSheet", */ +f:jg}, +/*::[*/ +24:{ +/* n:"Lbl", */ +f:Bg}, +/*::[*/ +25:{ +/* n:"WinProtect", */ +f:dg}, +/*::[*/ +26:{ +/* n:"VerticalPageBreaks", */}, +/*::[*/ +27:{ +/* n:"HorizontalPageBreaks", */}, +/*::[*/ +28:{ +/* n:"Note", */ +f:function(e,t,n){return function(e,t,n){if(!(n.biff<8)){var i=e.read_shift(2),r=e.read_shift(2),a=e.read_shift(2),s=e.read_shift(2),o=vg(e,0,n);return n.biff<8&&e.read_shift(1),[{r:i,c:r},o,s,a]}}(e,0,n)}}, +/*::[*/ +29:{ +/* n:"Selection", */}, +/*::[*/ +34:{ +/* n:"Date1904", */ +f:dg}, +/*::[*/ +35:{ +/* n:"ExternName", */ +f:Lg}, +/*::[*/ +38:{ +/* n:"LeftMargin", */ +f:Sp}, +// * +/*::[*/ +39:{ +/* n:"RightMargin", */ +f:Sp}, +// * +/*::[*/ +40:{ +/* n:"TopMargin", */ +f:Sp}, +// * +/*::[*/ +41:{ +/* n:"BottomMargin", */ +f:Sp}, +// * +/*::[*/ +42:{ +/* n:"PrintRowCol", */ +f:dg}, +/*::[*/ +43:{ +/* n:"PrintGrid", */ +f:dg}, +/*::[*/ +47:{ +/* n:"FilePass", */ +f:function(e,t,n){var i={Type:n.biff>=8?e.read_shift(2):0};return i.Type?_m(e,t-2,i):xm(e,n.biff,n,i),i}}, +/*::[*/ +49:{ +/* n:"Font", */ +f:function(e,t,n){var i={dyHeight:e.read_shift(2),fl:e.read_shift(2)};switch(n&&n.biff||8){case 2:break;case 3:case 4:e.l+=2;break;default:e.l+=10}return i.name=pg(e,0,n),i}}, +/*::[*/ +51:{ +/* n:"PrintSize", */ +f:ug}, +/*::[*/ +60:{ +/* n:"Continue", */}, +/*::[*/ +61:{ +/* n:"Window1", */ +f:function(e){return{Pos:[e.read_shift(2),e.read_shift(2)],Dim:[e.read_shift(2),e.read_shift(2)],Flags:e.read_shift(2),CurTab:e.read_shift(2),FirstTab:e.read_shift(2),Selected:e.read_shift(2),TabRatio:e.read_shift(2)}}}, +/*::[*/ +64:{ +/* n:"Backup", */ +f:dg}, +/*::[*/ +65:{ +/* n:"Pane", */ +f:function(){}}, +/*::[*/ +66:{ +/* n:"CodePage", */ +f:ug}, +/*::[*/ +77:{ +/* n:"Pls", */}, +/*::[*/ +80:{ +/* n:"DCon", */}, +/*::[*/ +81:{ +/* n:"DConRef", */}, +/*::[*/ +82:{ +/* n:"DConName", */}, +/*::[*/ +85:{ +/* n:"DefColWidth", */ +f:ug}, +/*::[*/ +89:{ +/* n:"XCT", */}, +/*::[*/ +90:{ +/* n:"CRN", */}, +/*::[*/ +91:{ +/* n:"FileSharing", */}, +/*::[*/ +92:{ +/* n:"WriteAccess", */ +f:function(e,t,n){if(n.enc)return e.l+=t,"";var i=e.l,r=vg(e,0,n);return e.read_shift(t+i-e.l),r}}, +/*::[*/ +93:{ +/* n:"Obj", */ +f:function(e,t,n){if(n&&n.biff<8)return function(e,t,n){e.l+=4;var i=e.read_shift(2),r=e.read_shift(2),a=e.read_shift(2);e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=6,t-=36;var s=[];return s.push((Hg[i]||$f)(e,t,n)),{cmo:[r,i,a],ft:s}}(e,t,n);var i=Cg(e),r=function(e,t){for(var n=e.l+t,i=[];e.l<n;){var r=e.read_shift(2);e.l-=2;try{i.push(Fg[r](e,n-e.l))}catch(a){return e.l=n,i}}return e.l!=n&&(e.l=n),i}(e,t-22,i[1]);return{cmo:i,ft:r}}}, +/*::[*/ +94:{ +/* n:"Uncalced", */}, +/*::[*/ +95:{ +/* n:"CalcSaveRecalc", */ +f:dg}, +/*::[*/ +96:{ +/* n:"Template", */}, +/*::[*/ +97:{ +/* n:"Intl", */}, +/*::[*/ +99:{ +/* n:"ObjProtect", */ +f:dg}, +/*::[*/ +125:{ +/* n:"ColInfo", */ +f:Vg}, +/*::[*/ +128:{ +/* n:"Guts", */ +f:function(e){e.l+=4;var t=[e.read_shift(2),e.read_shift(2)];if(0!==t[0]&&t[0]--,0!==t[1]&&t[1]--,t[0]>7||t[1]>7)throw new Error("Bad Gutters: "+t.join("|"));return t}}, +/*::[*/ +129:{ +/* n:"WsBool", */ +f:function(e,t,n){var i=n&&8==n.biff||2==t?e.read_shift(2):(e.l+=t,0);return{fDialog:16&i,fBelow:64&i,fRight:128&i}}}, +/*::[*/ +130:{ +/* n:"GridSet", */ +f:ug}, +/*::[*/ +131:{ +/* n:"HCenter", */ +f:dg}, +/*::[*/ +132:{ +/* n:"VCenter", */ +f:dg}, +/*::[*/ +133:{ +/* n:"BoundSheet8", */ +f:function(e,t,n){var i=e.read_shift(4),r=3&e.read_shift(1),a=e.read_shift(1);switch(a){case 0:a="Worksheet";break;case 1:a="Macrosheet";break;case 2:a="Chartsheet";break;case 6:a="VBAModule"}var s=pg(e,0,n);return 0===s.length&&(s="Sheet1"),{pos:i,hs:r,dt:a,name:s}}}, +/*::[*/ +134:{ +/* n:"WriteProtect", */}, +/*::[*/ +140:{ +/* n:"Country", */ +f:function(e){var t,n=[0,0];return t=e.read_shift(2),n[0]=Ip[t]||t,t=e.read_shift(2),n[1]=Ip[t]||t,n}}, +/*::[*/ +141:{ +/* n:"HideObj", */ +f:ug}, +/*::[*/ +144:{ +/* n:"Sort", */}, +/*::[*/ +146:{ +/* n:"Palette", */ +f:function(e){for(var t=e.read_shift(2),n=[];t-- >0;)n.push(_g(e));return n}}, +/*::[*/ +151:{ +/* n:"Sync", */}, +/*::[*/ +152:{ +/* n:"LPr", */}, +/*::[*/ +153:{ +/* n:"DxGCol", */}, +/*::[*/ +154:{ +/* n:"FnGroupName", */}, +/*::[*/ +155:{ +/* n:"FilterMode", */}, +/*::[*/ +156:{ +/* n:"BuiltInFnGroupCount", */ +f:ug}, +/*::[*/ +157:{ +/* n:"AutoFilterInfo", */}, +/*::[*/ +158:{ +/* n:"AutoFilter", */}, +/*::[*/ +160:{ +/* n:"Scl", */ +f:Xg}, +/*::[*/ +161:{ +/* n:"Setup", */ +f:function(e,t){var n={};return t<32||(e.l+=16,n.header=Sp(e),n.footer=Sp(e),e.l+=2),n}}, +/*::[*/ +174:{ +/* n:"ScenMan", */}, +/*::[*/ +175:{ +/* n:"SCENARIO", */}, +/*::[*/ +176:{ +/* n:"SxView", */}, +/*::[*/ +177:{ +/* n:"Sxvd", */}, +/*::[*/ +178:{ +/* n:"SXVI", */}, +/*::[*/ +180:{ +/* n:"SxIvd", */}, +/*::[*/ +181:{ +/* n:"SXLI", */}, +/*::[*/ +182:{ +/* n:"SXPI", */}, +/*::[*/ +184:{ +/* n:"DocRoute", */}, +/*::[*/ +185:{ +/* n:"RecipName", */}, +/*::[*/ +189:{ +/* n:"MulRk", */ +f:function(e,t){for(var n=e.l+t-2,i=e.read_shift(2),r=e.read_shift(2),a=[];e.l<n;)a.push(Ag(e));if(e.l!==n)throw new Error("MulRK read error");var s=e.read_shift(2);if(a.length!=s-r+1)throw new Error("MulRK length mismatch");return{r:i,c:r,C:s,rkrec:a}}}, +/*::[*/ +190:{ +/* n:"MulBlank", */ +f:function(e,t){for(var n=e.l+t-2,i=e.read_shift(2),r=e.read_shift(2),a=[];e.l<n;)a.push(e.read_shift(2));if(e.l!==n)throw new Error("MulBlank read error");var s=e.read_shift(2);if(a.length!=s-r+1)throw new Error("MulBlank length mismatch");return{r:i,c:r,C:s,ixfe:a}}}, +/*::[*/ +193:{ +/* n:"Mms", */ +f:hg}, +/*::[*/ +197:{ +/* n:"SXDI", */}, +/*::[*/ +198:{ +/* n:"SXDB", */}, +/*::[*/ +199:{ +/* n:"SXFDB", */}, +/*::[*/ +200:{ +/* n:"SXDBB", */}, +/*::[*/ +201:{ +/* n:"SXNum", */}, +/*::[*/ +202:{ +/* n:"SxBool", */ +f:dg}, +/*::[*/ +203:{ +/* n:"SxErr", */}, +/*::[*/ +204:{ +/* n:"SXInt", */}, +/*::[*/ +205:{ +/* n:"SXString", */}, +/*::[*/ +206:{ +/* n:"SXDtr", */}, +/*::[*/ +207:{ +/* n:"SxNil", */}, +/*::[*/ +208:{ +/* n:"SXTbl", */}, +/*::[*/ +209:{ +/* n:"SXTBRGIITM", */}, +/*::[*/ +210:{ +/* n:"SxTbpg", */}, +/*::[*/ +211:{ +/* n:"ObProj", */}, +/*::[*/ +213:{ +/* n:"SXStreamID", */}, +/*::[*/ +215:{ +/* n:"DBCell", */}, +/*::[*/ +216:{ +/* n:"SXRng", */}, +/*::[*/ +217:{ +/* n:"SxIsxoper", */}, +/*::[*/ +218:{ +/* n:"BookBool", */ +f:ug}, +/*::[*/ +220:{ +/* n:"DbOrParamQry", */}, +/*::[*/ +221:{ +/* n:"ScenarioProtect", */ +f:dg}, +/*::[*/ +222:{ +/* n:"OleObjectSize", */}, +/*::[*/ +224:{ +/* n:"XF", */ +f:function(e,t,n){var i={};return i.ifnt=e.read_shift(2),i.numFmtId=e.read_shift(2),i.flags=e.read_shift(2),i.fStyle=i.flags>>2&1,i.data=function(e,t,n,i){var r={},a=e.read_shift(4),s=e.read_shift(4),o=e.read_shift(4),c=e.read_shift(2);return r.patternType=Op[o>>26],i.cellStyles?(r.alc=7&a,r.fWrap=a>>3&1,r.alcV=a>>4&7,r.fJustLast=a>>7&1,r.trot=a>>8&255,r.cIndent=a>>16&15,r.fShrinkToFit=a>>20&1,r.iReadOrder=a>>22&2,r.fAtrNum=a>>26&1,r.fAtrFnt=a>>27&1,r.fAtrAlc=a>>28&1,r.fAtrBdr=a>>29&1,r.fAtrPat=a>>30&1,r.fAtrProt=a>>31&1,r.dgLeft=15&s,r.dgRight=s>>4&15,r.dgTop=s>>8&15,r.dgBottom=s>>12&15,r.icvLeft=s>>16&127,r.icvRight=s>>23&127,r.grbitDiag=s>>30&3,r.icvTop=127&o,r.icvBottom=o>>7&127,r.icvDiag=o>>14&127,r.dgDiag=o>>21&15,r.icvFore=127&c,r.icvBack=c>>7&127,r.fsxButton=c>>14&1,r):r}(e,0,i.fStyle,n),i}}, +/*::[*/ +225:{ +/* n:"InterfaceHdr", */ +f:function(e,t){return 0===t||e.read_shift(2),1200}}, +/*::[*/ +226:{ +/* n:"InterfaceEnd", */ +f:hg}, +/*::[*/ +227:{ +/* n:"SXVS", */}, +/*::[*/ +229:{ +/* n:"MergeCells", */ +f:function(e,t){for(var n=[],i=e.read_shift(2);i--;)n.push(Eg(e));return n}}, +/*::[*/ +233:{ +/* n:"BkHim", */}, +/*::[*/ +235:{ +/* n:"MsoDrawingGroup", */}, +/*::[*/ +236:{ +/* n:"MsoDrawing", */}, +/*::[*/ +237:{ +/* n:"MsoDrawingSelection", */}, +/*::[*/ +239:{ +/* n:"PhoneticInfo", */}, +/*::[*/ +240:{ +/* n:"SxRule", */}, +/*::[*/ +241:{ +/* n:"SXEx", */}, +/*::[*/ +242:{ +/* n:"SxFilt", */}, +/*::[*/ +244:{ +/* n:"SxDXF", */}, +/*::[*/ +245:{ +/* n:"SxItm", */}, +/*::[*/ +246:{ +/* n:"SxName", */}, +/*::[*/ +247:{ +/* n:"SxSelect", */}, +/*::[*/ +248:{ +/* n:"SXPair", */}, +/*::[*/ +249:{ +/* n:"SxFmla", */}, +/*::[*/ +251:{ +/* n:"SxFormat", */}, +/*::[*/ +252:{ +/* n:"SST", */ +f:function(e,t){for(var n=e.l+t,i=e.read_shift(4),r=e.read_shift(4),a=[],s=0;s!=r&&e.l<n;++s)a.push(gg(e));return a.Count=i,a.Unique=r,a}}, +/*::[*/ +253:{ +/* n:"LabelSst", */ +f:function(e){var t=Tg(e);return t.isst=e.read_shift(4),t}}, +/*::[*/ +255:{ +/* n:"ExtSST", */ +f:function(e,t){var n={};return n.dsst=e.read_shift(2),e.l+=t-2,n}}, +/*::[*/ +256:{ +/* n:"SXVDEx", */}, +/*::[*/ +259:{ +/* n:"SXFormula", */}, +/*::[*/ +290:{ +/* n:"SXDBEx", */}, +/*::[*/ +311:{ +/* n:"RRDInsDel", */}, +/*::[*/ +312:{ +/* n:"RRDHead", */}, +/*::[*/ +315:{ +/* n:"RRDChgCell", */}, +/*::[*/ +317:{ +/* n:"RRTabId", */ +f:fg}, +/*::[*/ +318:{ +/* n:"RRDRenSheet", */}, +/*::[*/ +319:{ +/* n:"RRSort", */}, +/*::[*/ +320:{ +/* n:"RRDMove", */}, +/*::[*/ +330:{ +/* n:"RRFormat", */}, +/*::[*/ +331:{ +/* n:"RRAutoFmt", */}, +/*::[*/ +333:{ +/* n:"RRInsertSh", */}, +/*::[*/ +334:{ +/* n:"RRDMoveBegin", */}, +/*::[*/ +335:{ +/* n:"RRDMoveEnd", */}, +/*::[*/ +336:{ +/* n:"RRDInsDelBegin", */}, +/*::[*/ +337:{ +/* n:"RRDInsDelEnd", */}, +/*::[*/ +338:{ +/* n:"RRDConflict", */}, +/*::[*/ +339:{ +/* n:"RRDDefName", */}, +/*::[*/ +340:{ +/* n:"RRDRstEtxp", */}, +/*::[*/ +351:{ +/* n:"LRng", */}, +/*::[*/ +352:{ +/* n:"UsesELFs", */ +f:dg}, +/*::[*/ +353:{ +/* n:"DSF", */ +f:hg}, +/*::[*/ +401:{ +/* n:"CUsr", */}, +/*::[*/ +402:{ +/* n:"CbUsr", */}, +/*::[*/ +403:{ +/* n:"UsrInfo", */}, +/*::[*/ +404:{ +/* n:"UsrExcl", */}, +/*::[*/ +405:{ +/* n:"FileLock", */}, +/*::[*/ +406:{ +/* n:"RRDInfo", */}, +/*::[*/ +407:{ +/* n:"BCUsrs", */}, +/*::[*/ +408:{ +/* n:"UsrChk", */}, +/*::[*/ +425:{ +/* n:"UserBView", */}, +/*::[*/ +426:{ +/* n:"UserSViewBegin", */}, +/*::[*/ +427:{ +/* n:"UserSViewEnd", */}, +/*::[*/ +428:{ +/* n:"RRDUserView", */}, +/*::[*/ +429:{ +/* n:"Qsi", */}, +/*::[*/ +430:{ +/* n:"SupBook", */ +f:function(e,t,n){var i=e.l+t,r=e.read_shift(2),a=e.read_shift(2);if(n.sbcch=a,1025==a||14849==a)return[a,r];if(a<1||a>255)throw new Error("Unexpected SupBook type: "+a);for(var s=mg(e,a),o=[];i>e.l;)o.push(bg(e));return[a,r,s,o]}}, +/*::[*/ +431:{ +/* n:"Prot4Rev", */ +f:dg}, +/*::[*/ +432:{ +/* n:"CondFmt", */}, +/*::[*/ +433:{ +/* n:"CF", */}, +/*::[*/ +434:{ +/* n:"DVal", */}, +/*::[*/ +437:{ +/* n:"DConBin", */}, +/*::[*/ +438:{ +/* n:"TxO", */ +f:function(e,t,n){var i=e.l,r="";try{e.l+=4;var a=(n.lastobj||{cmo:[0,0]}).cmo[1];-1==[0,5,7,11,12,14].indexOf(a)?e.l+=6:function(e){var t=e.read_shift(1);e.l++;var n=e.read_shift(2);return e.l+=2,[t,n]}(e);var s=e.read_shift(2);e.read_shift(2),ug(e);var o=e.read_shift(2);e.l+=o;for(var c=1;c<e.lens.length-1;++c){if(e.l-i!=e.lens[c])throw new Error("TxO: bad continue record");var l=e[e.l];if((r+=mg(e,e.lens[c+1]-e.lens[c]-1)).length>=(l?s:2*s))break}if(r.length!==s&&r.length!==2*s)throw new Error("cchText: "+s+" != "+r.length);return e.l=i+t,{t:r}}catch(h){return e.l=i+t,{t:r}}}}, +/*::[*/ +439:{ +/* n:"RefreshAll", */ +f:dg}, +/*::[*/ +440:{ +/* n:"HLink", */ +f:function(e,t){var n=Eg(e);e.l+=16;var i=function(e,t){var n=e.l+t,i=e.read_shift(4);if(2!==i)throw new Error("Unrecognized streamVersion: "+i);var r=e.read_shift(2);e.l+=2;var a,s,o,c,l,h,d="";16&r&&(a=wg(e,e.l)),128&r&&(s=wg(e,e.l)),257&~r||(o=wg(e,e.l)),1==(257&r)&&(c=yg(e,e.l)),8&r&&(d=wg(e,e.l)),32&r&&(l=e.read_shift(16)),64&r&&(h=Qp(e +/*, 8*/)),e.l=n;var u=s||o||c||"";u&&d&&(u+="#"+d),u||(u="#"+d),2&r&&"/"==u.charAt(0)&&"/"!=u.charAt(1)&&(u="file://"+u);var f={Target:u};return l&&(f.guid=l),h&&(f.time=h),a&&(f.Tooltip=a),f}(e,t-24);return[n,i]}}, +/*::[*/ +441:{ +/* n:"Lel", */}, +/*::[*/ +442:{ +/* n:"CodeName", */ +f:bg}, +/*::[*/ +443:{ +/* n:"SXFDBType", */}, +/*::[*/ +444:{ +/* n:"Prot4RevPass", */ +f:ug}, +/*::[*/ +445:{ +/* n:"ObNoMacros", */}, +/*::[*/ +446:{ +/* n:"Dv", */}, +/*::[*/ +448:{ +/* n:"Excel9File", */ +f:hg}, +/*::[*/ +449:{ +/* n:"RecalcId", */ +f:function(e){return e.read_shift(2),e.read_shift(4)},r:2}, +/*::[*/ +450:{ +/* n:"EntExU2", */ +f:hg}, +/*::[*/ +512:{ +/* n:"Dimensions", */ +f:Og}, +/*::[*/ +513:{ +/* n:"Blank", */ +f:Gg}, +/*::[*/ +515:{ +/* n:"Number", */ +f:function(e,t,n){n.biffguess&&2==n.biff&&(n.biff=5);var i=Tg(e),r=Sp(e);return i.val=r,i}}, +/*::[*/ +516:{ +/* n:"Label", */ +f:function(e,t,n){n.biffguess&&2==n.biff&&(n.biff=5),e.l;var i=Tg(e);2==n.biff&&e.l++;var r=bg(e,e.l,n);return i.val=r,i}}, +/*::[*/ +517:{ +/* n:"BoolErr", */ +f:Ng}, +/*::[*/ +519:{ +/* n:"String", */ +f:$g}, +/*::[*/ +520:{ +/* n:"Row", */ +f:function(e){var t={};t.r=e.read_shift(2),t.c=e.read_shift(2),t.cnt=e.read_shift(2)-t.c;var n=e.read_shift(2);e.l+=4;var i=e.read_shift(1);return e.l+=3,7&i&&(t.level=7&i),32&i&&(t.hidden=!0),64&i&&(t.hpt=n/20),t}}, +/*::[*/ +523:{ +/* n:"Index", */}, +/*::[*/ +545:{ +/* n:"Array", */ +f:zg}, +/*::[*/ +549:{ +/* n:"DefaultRowHeight", */ +f:Rg}, +/*::[*/ +566:{ +/* n:"Table", */}, +/*::[*/ +574:{ +/* n:"Window2", */ +f:function(e,t,n){return n&&n.biff>=2&&n.biff<5?{}:{RTL:64&e.read_shift(2)}}}, +/*::[*/ +638:{ +/* n:"RK", */ +f:function(e){var t=e.read_shift(2),n=e.read_shift(2),i=Ag(e);return{r:t,c:n,ixfe:i[0],rknum:i[1]}}}, +/*::[*/ +659:{ +/* n:"Style", */}, +/*::[*/ +1048:{ +/* n:"BigName", */}, +/*::[*/ +1054:{ +/* n:"Format", */ +f:function(e,t,n){return[e.read_shift(2),vg(e,0,n)]}}, +/*::[*/ +1084:{ +/* n:"ContinueBigName", */}, +/*::[*/ +1212:{ +/* n:"ShrFmla", */ +f:function(e,t,n){var i=kg(e);e.l++;var r=e.read_shift(1);return[Ib(e,t-=8,n),r,i]}}, +/*::[*/ +2048:{ +/* n:"HLinkTooltip", */ +f:function(e,t){e.read_shift(2);var n=Eg(e),i=e.read_shift((t-10)/2,"dbcs-cont");return[n,i=i.replace(sd,"")]}}, +/*::[*/ +2049:{ +/* n:"WebPub", */}, +/*::[*/ +2050:{ +/* n:"QsiSXTag", */}, +/*::[*/ +2051:{ +/* n:"DBQueryExt", */}, +/*::[*/ +2052:{ +/* n:"ExtString", */}, +/*::[*/ +2053:{ +/* n:"TxtQry", */}, +/*::[*/ +2054:{ +/* n:"Qsir", */}, +/*::[*/ +2055:{ +/* n:"Qsif", */}, +/*::[*/ +2056:{ +/* n:"RRDTQSIF", */}, +/*::[*/ +2057:{ +/* n:"BOF", */ +f:Mg}, +/*::[*/ +2058:{ +/* n:"OleDbConn", */}, +/*::[*/ +2059:{ +/* n:"WOpt", */}, +/*::[*/ +2060:{ +/* n:"SXViewEx", */}, +/*::[*/ +2061:{ +/* n:"SXTH", */}, +/*::[*/ +2062:{ +/* n:"SXPIEx", */}, +/*::[*/ +2063:{ +/* n:"SXVDTEx", */}, +/*::[*/ +2064:{ +/* n:"SXViewEx9", */}, +/*::[*/ +2066:{ +/* n:"ContinueFrt", */}, +/*::[*/ +2067:{ +/* n:"RealTimeData", */}, +/*::[*/ +2128:{ +/* n:"ChartFrtInfo", */}, +/*::[*/ +2129:{ +/* n:"FrtWrapper", */}, +/*::[*/ +2130:{ +/* n:"StartBlock", */}, +/*::[*/ +2131:{ +/* n:"EndBlock", */}, +/*::[*/ +2132:{ +/* n:"StartObject", */}, +/*::[*/ +2133:{ +/* n:"EndObject", */}, +/*::[*/ +2134:{ +/* n:"CatLab", */}, +/*::[*/ +2135:{ +/* n:"YMult", */}, +/*::[*/ +2136:{ +/* n:"SXViewLink", */}, +/*::[*/ +2137:{ +/* n:"PivotChartBits", */}, +/*::[*/ +2138:{ +/* n:"FrtFontList", */}, +/*::[*/ +2146:{ +/* n:"SheetExt", */}, +/*::[*/ +2147:{ +/* n:"BookExt", */ +r:12}, +/*::[*/ +2148:{ +/* n:"SXAddl", */}, +/*::[*/ +2149:{ +/* n:"CrErr", */}, +/*::[*/ +2150:{ +/* n:"HFPicture", */}, +/*::[*/ +2151:{ +/* n:"FeatHdr", */ +f:hg}, +/*::[*/ +2152:{ +/* n:"Feat", */}, +/*::[*/ +2154:{ +/* n:"DataLabExt", */}, +/*::[*/ +2155:{ +/* n:"DataLabExtContents", */}, +/*::[*/ +2156:{ +/* n:"CellWatch", */}, +/*::[*/ +2161:{ +/* n:"FeatHdr11", */}, +/*::[*/ +2162:{ +/* n:"Feature11", */}, +/*::[*/ +2164:{ +/* n:"DropDownObjIds", */}, +/*::[*/ +2165:{ +/* n:"ContinueFrt11", */}, +/*::[*/ +2166:{ +/* n:"DConn", */}, +/*::[*/ +2167:{ +/* n:"List12", */}, +/*::[*/ +2168:{ +/* n:"Feature12", */}, +/*::[*/ +2169:{ +/* n:"CondFmt12", */}, +/*::[*/ +2170:{ +/* n:"CF12", */}, +/*::[*/ +2171:{ +/* n:"CFEx", */}, +/*::[*/ +2172:{ +/* n:"XFCRC", */ +f:function(e){e.l+=2;var t={cxfs:0,crc:0};return t.cxfs=e.read_shift(2),t.crc=e.read_shift(4),t},r:12}, +/*::[*/ +2173:{ +/* n:"XFExt", */ +f:function(e,t){e.l,e.l+=2;var n=e.read_shift(2);e.l+=2;for(var i=e.read_shift(2),r=[];i-- >0;)r.push(Jm(e,e.l));return{ixfe:n,ext:r}},r:12}, +/*::[*/ +2174:{ +/* n:"AutoFilter12", */}, +/*::[*/ +2175:{ +/* n:"ContinueFrt12", */}, +/*::[*/ +2180:{ +/* n:"MDTInfo", */}, +/*::[*/ +2181:{ +/* n:"MDXStr", */}, +/*::[*/ +2182:{ +/* n:"MDXTuple", */}, +/*::[*/ +2183:{ +/* n:"MDXSet", */}, +/*::[*/ +2184:{ +/* n:"MDXProp", */}, +/*::[*/ +2185:{ +/* n:"MDXKPI", */}, +/*::[*/ +2186:{ +/* n:"MDB", */}, +/*::[*/ +2187:{ +/* n:"PLV", */}, +/*::[*/ +2188:{ +/* n:"Compat12", */ +f:dg,r:12}, +/*::[*/ +2189:{ +/* n:"DXF", */}, +/*::[*/ +2190:{ +/* n:"TableStyles", */ +r:12}, +/*::[*/ +2191:{ +/* n:"TableStyle", */}, +/*::[*/ +2192:{ +/* n:"TableStyleElement", */}, +/*::[*/ +2194:{ +/* n:"StyleExt", */}, +/*::[*/ +2195:{ +/* n:"NamePublish", */}, +/*::[*/ +2196:{ +/* n:"NameCmt", */ +f:function(e,t,n){if(!(n.biff<8)){var i=e.read_shift(2),r=e.read_shift(2);return[mg(e,i,n),mg(e,r,n)]}e.l+=t},r:12}, +/*::[*/ +2197:{ +/* n:"SortData", */}, +/*::[*/ +2198:{ +/* n:"Theme", */ +f:function(e,t,n){var i=e.l+t;if(124226!==e.read_shift(4))if(n.cellStyles){var r,a=e.slice(e.l);e.l=i;try{r=Uu(a,{type:"array"})}catch(o){return}var s=ku(r,"theme/theme/theme1.xml",!0);if(s)return Km(s,n)}else e.l=i},r:12}, +/*::[*/ +2199:{ +/* n:"GUIDTypeLib", */}, +/*::[*/ +2200:{ +/* n:"FnGrp12", */}, +/*::[*/ +2201:{ +/* n:"NameFnGrp12", */}, +/*::[*/ +2202:{ +/* n:"MTRSettings", */ +f:function(e){return[0!==e.read_shift(4),0!==e.read_shift(4),e.read_shift(4)]},r:12}, +/*::[*/ +2203:{ +/* n:"CompressPictures", */ +f:hg}, +/*::[*/ +2204:{ +/* n:"HeaderFooter", */}, +/*::[*/ +2205:{ +/* n:"CrtLayout12", */}, +/*::[*/ +2206:{ +/* n:"CrtMlFrt", */}, +/*::[*/ +2207:{ +/* n:"CrtMlFrtContinue", */}, +/*::[*/ +2211:{ +/* n:"ForceFullCalculation", */ +f:function(e){var t=function(e){var t=e.read_shift(2),n=e.read_shift(2);return e.l+=8,{type:t,flags:n}}(e);if(2211!=t.type)throw new Error("Invalid Future Record "+t.type);return 0!==e.read_shift(4)}}, +/*::[*/ +2212:{ +/* n:"ShapePropsStream", */}, +/*::[*/ +2213:{ +/* n:"TextPropsStream", */}, +/*::[*/ +2214:{ +/* n:"RichTextStream", */}, +/*::[*/ +2215:{ +/* n:"CrtLayout12A", */}, +/*::[*/ +4097:{ +/* n:"Units", */}, +/*::[*/ +4098:{ +/* n:"Chart", */}, +/*::[*/ +4099:{ +/* n:"Series", */}, +/*::[*/ +4102:{ +/* n:"DataFormat", */}, +/*::[*/ +4103:{ +/* n:"LineFormat", */}, +/*::[*/ +4105:{ +/* n:"MarkerFormat", */}, +/*::[*/ +4106:{ +/* n:"AreaFormat", */}, +/*::[*/ +4107:{ +/* n:"PieFormat", */}, +/*::[*/ +4108:{ +/* n:"AttachedLabel", */}, +/*::[*/ +4109:{ +/* n:"SeriesText", */}, +/*::[*/ +4116:{ +/* n:"ChartFormat", */}, +/*::[*/ +4117:{ +/* n:"Legend", */}, +/*::[*/ +4118:{ +/* n:"SeriesList", */}, +/*::[*/ +4119:{ +/* n:"Bar", */}, +/*::[*/ +4120:{ +/* n:"Line", */}, +/*::[*/ +4121:{ +/* n:"Pie", */}, +/*::[*/ +4122:{ +/* n:"Area", */}, +/*::[*/ +4123:{ +/* n:"Scatter", */}, +/*::[*/ +4124:{ +/* n:"CrtLine", */}, +/*::[*/ +4125:{ +/* n:"Axis", */}, +/*::[*/ +4126:{ +/* n:"Tick", */}, +/*::[*/ +4127:{ +/* n:"ValueRange", */}, +/*::[*/ +4128:{ +/* n:"CatSerRange", */}, +/*::[*/ +4129:{ +/* n:"AxisLine", */}, +/*::[*/ +4130:{ +/* n:"CrtLink", */}, +/*::[*/ +4132:{ +/* n:"DefaultText", */}, +/*::[*/ +4133:{ +/* n:"Text", */}, +/*::[*/ +4134:{ +/* n:"FontX", */ +f:ug}, +/*::[*/ +4135:{ +/* n:"ObjectLink", */}, +/*::[*/ +4146:{ +/* n:"Frame", */}, +/*::[*/ +4147:{ +/* n:"Begin", */}, +/*::[*/ +4148:{ +/* n:"End", */}, +/*::[*/ +4149:{ +/* n:"PlotArea", */}, +/*::[*/ +4154:{ +/* n:"Chart3d", */}, +/*::[*/ +4156:{ +/* n:"PicF", */}, +/*::[*/ +4157:{ +/* n:"DropBar", */}, +/*::[*/ +4158:{ +/* n:"Radar", */}, +/*::[*/ +4159:{ +/* n:"Surf", */}, +/*::[*/ +4160:{ +/* n:"RadarArea", */}, +/*::[*/ +4161:{ +/* n:"AxisParent", */}, +/*::[*/ +4163:{ +/* n:"LegendException", */}, +/*::[*/ +4164:{ +/* n:"ShtProps", */ +f:function(e,t,n){var i={area:!1};if(5!=n.biff)return e.l+=t,i;var r=e.read_shift(1);return e.l+=3,16&r&&(i.area=!0),i}}, +/*::[*/ +4165:{ +/* n:"SerToCrt", */}, +/*::[*/ +4166:{ +/* n:"AxesUsed", */}, +/*::[*/ +4168:{ +/* n:"SBaseRef", */}, +/*::[*/ +4170:{ +/* n:"SerParent", */}, +/*::[*/ +4171:{ +/* n:"SerAuxTrend", */}, +/*::[*/ +4174:{ +/* n:"IFmtRecord", */}, +/*::[*/ +4175:{ +/* n:"Pos", */}, +/*::[*/ +4176:{ +/* n:"AlRuns", */}, +/*::[*/ +4177:{ +/* n:"BRAI", */}, +/*::[*/ +4187:{ +/* n:"SerAuxErrBar", */}, +/*::[*/ +4188:{ +/* n:"ClrtClient", */ +f:function(e){for(var t=e.read_shift(2),n=[];t-- >0;)n.push(_g(e));return n}}, +/*::[*/ +4189:{ +/* n:"SerFmt", */}, +/*::[*/ +4191:{ +/* n:"Chart3DBarShape", */}, +/*::[*/ +4192:{ +/* n:"Fbi", */}, +/*::[*/ +4193:{ +/* n:"BopPop", */}, +/*::[*/ +4194:{ +/* n:"AxcExt", */}, +/*::[*/ +4195:{ +/* n:"Dat", */}, +/*::[*/ +4196:{ +/* n:"PlotGrowth", */}, +/*::[*/ +4197:{ +/* n:"SIIndex", */}, +/*::[*/ +4198:{ +/* n:"GelFrame", */}, +/*::[*/ +4199:{ +/* n:"BopPopCustom", */}, +/*::[*/ +4200:{ +/* n:"Fbi2", */}, +/*::[*/ +0:{ +/* n:"Dimensions", */ +f:Og}, +/*::[*/ +1:{ +/* n:"BIFF2BLANK", */}, +/*::[*/ +2:{ +/* n:"BIFF2INT", */ +f:function(e){var t=Tg(e);++e.l;var n=e.read_shift(2);return t.t="n",t.val=n,t}}, +/*::[*/ +3:{ +/* n:"BIFF2NUM", */ +f:function(e){var t=Tg(e);++e.l;var n=Sp(e);return t.t="n",t.val=n,t}}, +/*::[*/ +4:{ +/* n:"BIFF2STR", */ +f:function(e,t,n){n.biffguess&&5==n.biff&&(n.biff=2);var i=Tg(e);++e.l;var r=vg(e,0,n);return i.t="str",i.val=r,i}}, +/*::[*/ +5:{ +/* n:"BoolErr", */ +f:Ng}, +/*::[*/ +7:{ +/* n:"String", */ +f:function(e){var t=e.read_shift(1);return 0===t?(e.l++,""):e.read_shift(t,"sbcs-cont")}}, +/*::[*/ +8:{ +/* n:"BIFF2ROW", */}, +/*::[*/ +9:{ +/* n:"BOF", */ +f:Mg}, +/*::[*/ +11:{ +/* n:"Index", */}, +/*::[*/ +22:{ +/* n:"ExternCount", */ +f:ug}, +/*::[*/ +30:{ +/* n:"BIFF2FORMAT", */ +f:Ig}, +/*::[*/ +31:{ +/* n:"BIFF2FMTCNT", */}, +/* 16-bit cnt of BIFF2FORMAT records */ +/*::[*/ +32:{ +/* n:"BIFF2COLINFO", */}, +/*::[*/ +33:{ +/* n:"Array", */ +f:zg}, +/*::[*/ +36:{ +/* n:"COLWIDTH", */}, +/*::[*/ +37:{ +/* n:"DefaultRowHeight", */ +f:Rg}, +// 0x2c ?? +// 0x2d ?? +// 0x2e ?? +// 0x30 FONTCOUNT: number of fonts +/*::[*/ +50:{ +/* n:"BIFF2FONTXTRA", */ +f:function(e,t){e.l+=6,e.l+=2,e.l+=1,e.l+=3,e.l+=1,e.l+=t-13}}, +// 0x35: INFOOPTS +// 0x36: TABLE (BIFF2 only) +// 0x37: TABLE2 (BIFF2 only) +// 0x38: WNDESK +// 0x39 ?? +// 0x3a: BEGINPREF +// 0x3b: ENDPREF +/*::[*/ +62:{ +/* n:"BIFF2WINDOW2", */}, +// 0x3f ?? +// 0x46: SHOWSCROLL +// 0x47: SHOWFORMULA +// 0x48: STATUSBAR +// 0x49: SHORTMENUS +// 0x4A: +// 0x4B: +// 0x4C: +// 0x4E: +// 0x4F: +// 0x58: TOOLBAR (BIFF3) +/* - - - */ +/*::[*/ +52:{ +/* n:"DDEObjName", */}, +/*::[*/ +67:{ +/* n:"BIFF2XF", */}, +/*::[*/ +68:{ +/* n:"BIFF2XFINDEX", */ +f:ug}, +/*::[*/ +69:{ +/* n:"BIFF2FONTCLR", */}, +/*::[*/ +86:{ +/* n:"BIFF4FMTCNT", */}, +/* 16-bit cnt, similar to BIFF2 */ +/*::[*/ +126:{ +/* n:"RK", */}, +/* Not necessarily same as 0x027e */ +/*::[*/ +127:{ +/* n:"ImData", */ +f:function(e){var t=e.read_shift(2),n=e.read_shift(2),i=e.read_shift(4),r={fmt:t,env:n,len:i,data:e.slice(e.l,e.l+i)};return e.l+=i,r}}, +/*::[*/ +135:{ +/* n:"Addin", */}, +/*::[*/ +136:{ +/* n:"Edg", */}, +/*::[*/ +137:{ +/* n:"Pub", */}, +// 0x8A +// 0x8B LH: alternate menu key flag (BIFF3/4) +// 0x8E +// 0x8F +/*::[*/ +145:{ +/* n:"Sub", */}, +// 0x93 STYLE +/*::[*/ +148:{ +/* n:"LHRecord", */}, +/*::[*/ +149:{ +/* n:"LHNGraph", */}, +/*::[*/ +150:{ +/* n:"Sound", */}, +// 0xA2 FNPROTO: function prototypes (BIFF4) +// 0xA3 +// 0xA8 +/*::[*/ +169:{ +/* n:"CoordList", */}, +/*::[*/ +171:{ +/* n:"GCW", */}, +/*::[*/ +188:{ +/* n:"ShrFmla", */}, +/* Not necessarily same as 0x04bc */ +/*::[*/ +191:{ +/* n:"ToolbarHdr", */}, +/*::[*/ +192:{ +/* n:"ToolbarEnd", */}, +/*::[*/ +194:{ +/* n:"AddMenu", */}, +/*::[*/ +195:{ +/* n:"DelMenu", */}, +/*::[*/ +214:{ +/* n:"RString", */ +f:function(e,t,n){var i=e.l+t,r=Tg(e),a=e.read_shift(2),s=mg(e,a,n);return e.l=i,r.t="str",r.val=s,r}}, +/*::[*/ +223:{ +/* n:"UDDesc", */}, +/*::[*/ +234:{ +/* n:"TabIdConf", */}, +/*::[*/ +354:{ +/* n:"XL5Modify", */}, +/*::[*/ +421:{ +/* n:"FileSharing2", */}, +/*::[*/ +518:{ +/* n:"Formula", */ +f:Ob}, +/*::[*/ +521:{ +/* n:"BOF", */ +f:Mg}, +/*::[*/ +536:{ +/* n:"Lbl", */ +f:Bg}, +/*::[*/ +547:{ +/* n:"ExternName", */ +f:Lg}, +/*::[*/ +561:{ +/* n:"Font", */}, +/*::[*/ +579:{ +/* n:"BIFF3XF", */}, +/*::[*/ +1030:{ +/* n:"Formula", */ +f:Ob}, +/*::[*/ +1033:{ +/* n:"BOF", */ +f:Mg}, +/*::[*/ +1091:{ +/* n:"BIFF4XF", */}, +/*::[*/ +2157:{ +/* n:"FeatInfo", */}, +/*::[*/ +2163:{ +/* n:"FeatInfo11", */}, +/*::[*/ +2177:{ +/* n:"SXAddl12", */}, +/*::[*/ +2240:{ +/* n:"AutoWebPub", */}, +/*::[*/ +2241:{ +/* n:"ListObj", */}, +/*::[*/ +2242:{ +/* n:"ListField", */}, +/*::[*/ +2243:{ +/* n:"ListDV", */}, +/*::[*/ +2244:{ +/* n:"ListCondFmt", */}, +/*::[*/ +2245:{ +/* n:"ListCF", */}, +/*::[*/ +2246:{ +/* n:"FMQry", */}, +/*::[*/ +2247:{ +/* n:"FMSQry", */}, +/*::[*/ +2248:{ +/* n:"PLV", */}, +/*::[*/ +2249:{ +/* n:"LnExt", */}, +/*::[*/ +2250:{ +/* n:"MkrExt", */}, +/*::[*/ +2251:{ +/* n:"CrtCoopt", */}, +/*::[*/ +2262:{ +/* n:"FRTArchId$", */ +r:12}, +/*::[*/ +29282:{}};function iy(e,t,n,i){var r=t;if(!isNaN(r)){var a=(n||[]).length||0,s=e.next(4);s.write_shift(2,r),s.write_shift(2,a), +/*:: len != null &&*/ +a>0&&Rf(n)&&e.push(n)}}function ry(e,t){var n=t,i=n.dense?[]:{},r=(e=e.replace(/<!--.*?-->/g,"")).match(/<table/i);if(!r)throw new Error("Invalid HTML: could not find <table>");var a=e.match(/<\/table/i),s=r.index,o=a&&a.index||e.length,c=xu(e.slice(s,o),/(:?<tr[^>]*>)/i,"<tr>"),l=-1,h=0,d=0,u=0,f={s:{r:1e7,c:1e7},e:{r:0,c:0}},p=[];for(s=0;s<c.length;++s){var g=c[s].trim(),m=g.slice(0,3).toLowerCase();if("<tr"!=m){if("<td"==m||"<th"==m){var b=g.split(/<\/t[dh]>/i);for(o=0;o<b.length;++o){var v=b[o].trim();if(v.match(/<t[dh]/i)){for(var y=v,w=0;"<"==y.charAt(0)&&(w=y.indexOf(">"))>-1;)y=y.slice(w+1);for(var x=0;x<p.length;++x){var _=p[x];_.s.c==h&&_.s.r<l&&l<=_.e.r&&(h=_.e.c+1,x=-1)}var T=Lu(v.slice(0,v.indexOf(">")));u=T.colspan?+T.colspan:1,((d=+T.rowspan)>1||u>1)&&p.push({s:{r:l,c:h},e:{r:l+(d||1)-1,c:h+u-1}});var D=T.t||T["data-t"]||"";if(y.length)if(y=tf(y),f.s.r>l&&(f.s.r=l),f.e.r<l&&(f.e.r=l),f.s.c>h&&(f.s.c=h),f.e.c<h&&(f.e.c=h),y.length){var A={t:"s",v:y};n.raw||!y.trim().length||"s"==D||("TRUE"===y?A={t:"b",v:!0}:"FALSE"===y?A={t:"b",v:!1}:isNaN(vu(y))?isNaN(wu(y).getDate())||(A={t:"d",v:pu(y)},n.cellDates||(A={t:"n",v:au(A.v)}),A.z=n.dateNF||bd[14]):A={t:"n",v:vu(y)}),n.dense?(i[l]||(i[l]=[]),i[l][h]=A):i[sp({r:l,c:h})]=A,h+=u}else h+=u;else h+=u}}}}else{if(++l,n.sheetRows&&n.sheetRows<=l){--l;break}h=0}}return i["!ref"]=cp(f),p.length&&(i["!merges"]=p),i}function ay(e,t,n,i){for(var r=e["!merges"]||[],a=[],s=t.s.c;s<=t.e.c;++s){for(var o=0,c=0,l=0;l<r.length;++l)if(!(r[l].s.r>n||r[l].s.c>s||r[l].e.r<n||r[l].e.c<s)){if(r[l].s.r<n||r[l].s.c<s){o=-1;break}o=r[l].e.r-r[l].s.r+1,c=r[l].e.c-r[l].s.c+1;break}if(!(o<0)){var h=sp({r:n,c:s}),d=i.dense?(e[n]||[])[s]:e[h],u=d&&null!=d.v&&(d.h||Gu(d.w||(dp(d),d.w)||""))||"",f={};o>1&&(f.rowspan=o),c>1&&(f.colspan=c),i.editable?u='<span contenteditable="true">'+u+"</span>":d&&(f["data-t"]=d&&d.t||"z",null!=d.v&&(f["data-v"]=d.v),null!=d.z&&(f["data-z"]=d.z),d.l&&"#"!=(d.l.Target||"#").charAt(0)&&(u='<a href="'+d.l.Target+'">'+u+"</a>")),f.id=(i.id||"sjs")+"-"+h,a.push(cf("td",u,f))}}return"<tr>"+a.join("")+"</tr>"}function sy(e,t,n){var i=n||{},r=0,a=0;if(null!=i.origin)if("number"==typeof i.origin)r=i.origin;else{var s="string"==typeof i.origin?ap(i.origin):i.origin;r=s.r,a=s.c}var o=t.getElementsByTagName("tr"),c=Math.min(i.sheetRows||1e7,o.length),l={s:{r:0,c:0},e:{r:r,c:a}};if(e["!ref"]){var h=op(e["!ref"]);l.s.r=Math.min(l.s.r,h.s.r),l.s.c=Math.min(l.s.c,h.s.c),l.e.r=Math.max(l.e.r,h.e.r),l.e.c=Math.max(l.e.c,h.e.c),-1==r&&(l.e.r=r=h.e.r+1)}var d=[],u=0,f=e["!rows"]||(e["!rows"]=[]),p=0,g=0,m=0,b=0,v=0,y=0;for(e["!cols"]||(e["!cols"]=[]);p<o.length&&g<c;++p){var w=o[p];if(cy(w)){if(i.display)continue;f[g]={hidden:!0}}var x=w.children;for(m=b=0;m<x.length;++m){var _=x[m];if(!i.display||!cy(_)){var T=_.hasAttribute("data-v")?_.getAttribute("data-v"):_.hasAttribute("v")?_.getAttribute("v"):tf(_.innerHTML),D=_.getAttribute("data-z")||_.getAttribute("z");for(u=0;u<d.length;++u){var A=d[u];A.s.c==b+a&&A.s.r<g+r&&g+r<=A.e.r&&(b=A.e.c+1-a,u=-1)}y=+_.getAttribute("colspan")||1,((v=+_.getAttribute("rowspan")||1)>1||y>1)&&d.push({s:{r:g+r,c:b+a},e:{r:g+r+(v||1)-1,c:b+a+(y||1)-1}});var E={t:"s",v:T},k=_.getAttribute("data-t")||_.getAttribute("t")||"";null!=T&&(0==T.length?E.t=k||"z":i.raw||0==T.trim().length||"s"==k||("TRUE"===T?E={t:"b",v:!0}:"FALSE"===T?E={t:"b",v:!1}:isNaN(vu(T))?isNaN(wu(T).getDate())||(E={t:"d",v:pu(T)},i.cellDates||(E={t:"n",v:au(E.v)}),E.z=i.dateNF||bd[14]):E={t:"n",v:vu(T)})),void 0===E.z&&null!=D&&(E.z=D);var S="",C=_.getElementsByTagName("A");if(C&&C.length)for(var U=0;U<C.length&&(!C[U].hasAttribute("href")||"#"==(S=C[U].getAttribute("href")).charAt(0));++U);S&&"#"!=S.charAt(0)&&(E.l={Target:S}),i.dense?(e[g+r]||(e[g+r]=[]),e[g+r][b+a]=E):e[sp({c:b+a,r:g+r})]=E,l.e.c<b+a&&(l.e.c=b+a),b+=y}}++g}return d.length&&(e["!merges"]=(e["!merges"]||[]).concat(d)),l.e.r=Math.max(l.e.r,g-1+r),e["!ref"]=cp(l),g>=c&&(e["!fullref"]=cp((l.e.r=o.length-p+g-1+r,l))),e}function oy(e,t){return sy((t||{}).dense?[]:{},e,t)}function cy(e){var t="",n=function(e){return e.ownerDocument.defaultView&&"function"==typeof e.ownerDocument.defaultView.getComputedStyle?e.ownerDocument.defaultView.getComputedStyle:"function"==typeof getComputedStyle?getComputedStyle:null}(e);return n&&(t=n(e).getPropertyValue("display")),t||(t=e.style&&e.style.display),"none"===t}var ly={ +/* ods name: [short ssf fmt, long ssf fmt] */ +day:["d","dd"],month:["m","mm"],year:["y","yy"],hours:["h","hh"],minutes:["m","mm"],seconds:["s","ss"],"am-pm":["A/P","AM/PM"],"day-of-week":["ddd","dddd"],era:["e","ee"], +/* there is no native representation of LO "Q" format */ +quarter:["\\Qm",'m\\"th quarter"']};function hy(e,t){var n,i,r,a,s,o,c,l,h=t||{},d=lf(e),u=[],f={name:""},p="",g=0,m={},b=[],v=h.dense?[]:{},y={value:""},w="",x=0,_=[],T=-1,D=-1,A={s:{r:1e6,c:1e7},e:{r:0,c:0}},E=0,k={},S=[],C={},U=[],F=1,M=1,R=[],I={Names:[]},O={},N=["",""],P=[],L={},W="",B=0,j=!1,z=!1,H=0;for(hf.lastIndex=0,d=d.replace(/<!--([\s\S]*?)-->/gm,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,"");s=hf.exec(d);)switch(s[3]=s[3].replace(/_.*$/,"")){case"table":case"工作表":"/"===s[1]?(A.e.c>=A.s.c&&A.e.r>=A.s.r?v["!ref"]=cp(A):v["!ref"]="A1:A1",h.sheetRows>0&&h.sheetRows<=A.e.r&&(v["!fullref"]=v["!ref"],A.e.r=h.sheetRows-1,v["!ref"]=cp(A)),S.length&&(v["!merges"]=S),U.length&&(v["!rows"]=U),r.name=r["名称"]||r.name,"undefined"!=typeof JSON&&JSON.stringify(r),b.push(r.name),m[r.name]=v,z=!1):"/"!==s[0].charAt(s[0].length-2)&&(r=Lu(s[0],!1),T=D=-1,A.s.r=A.s.c=1e7,A.e.r=A.e.c=0,v=h.dense?[]:{},S=[],U=[],z=!0);break;case"table-row-group":"/"===s[1]?--E:++E;break;case"table-row":case"行":if("/"===s[1]){T+=F,F=1;break}if((a=Lu(s[0],!1))["行号"]?T=a["行号"]-1:-1==T&&(T=0),(F=+a["number-rows-repeated"]||1)<10)for(H=0;H<F;++H)E>0&&(U[T+H]={level:E});D=-1;break;case"covered-table-cell":"/"!==s[1]&&++D,h.sheetStubs&&(h.dense?(v[T]||(v[T]=[]),v[T][D]={t:"z"}):v[sp({r:T,c:D})]={t:"z"}),w="",_=[];break; +/* stub */case"table-cell":case"数据":if("/"===s[0].charAt(s[0].length-2))++D,y=Lu(s[0],!1),M=parseInt(y["number-columns-repeated"]||"1",10),o={t:"z",v:null +/*:: , z:null, w:"",c:[]*/},y.formula&&0!=h.cellFormula&&(o.f=Vb(zu(y.formula))),"string"==(y["数据类型"]||y["value-type"])&&(o.t="s",o.v=zu(y["string-value"]||""),h.dense?(v[T]||(v[T]=[]),v[T][D]=o):v[sp({r:T,c:D})]=o),D+=M-1;else if("/"!==s[1]){w="",x=0,_=[],M=1;var V=F?T+F-1:T;if(++D>A.e.c&&(A.e.c=D),D<A.s.c&&(A.s.c=D),T<A.s.r&&(A.s.r=T),V>A.e.r&&(A.e.r=V),P=[],L={},o={t:(y=Lu(s[0],!1))["数据类型"]||y["value-type"],v:null +/*:: , z:null, w:"",c:[]*/},h.cellFormula)if(y.formula&&(y.formula=zu(y.formula)),y["number-matrix-columns-spanned"]&&y["number-matrix-rows-spanned"]&&(C={s:{r:T,c:D},e:{r:T+(parseInt(y["number-matrix-rows-spanned"],10)||0)-1,c:D+(parseInt(y["number-matrix-columns-spanned"],10)||0)-1}},o.F=cp(C),R.push([C,o.F])),y.formula)o.f=Vb(y.formula);else for(H=0;H<R.length;++H)T>=R[H][0].s.r&&T<=R[H][0].e.r&&D>=R[H][0].s.c&&D<=R[H][0].e.c&&(o.F=R[H][1]);switch((y["number-columns-spanned"]||y["number-rows-spanned"])&&(C={s:{r:T,c:D},e:{r:T+(parseInt(y["number-rows-spanned"],10)||0)-1,c:D+(parseInt(y["number-columns-spanned"],10)||0)-1}},S.push(C)),y["number-columns-repeated"]&&(M=parseInt(y["number-columns-repeated"],10)),o.t){case"boolean":o.t="b",o.v=$u(y["boolean-value"]);break;case"float":case"percentage":case"currency":o.t="n",o.v=parseFloat(y.value);break;case"date":o.t="d",o.v=pu(y["date-value"]),h.cellDates||(o.t="n",o.v=au(o.v)),o.z="m/d/yy";break;case"time":o.t="n",o.v=hu(y["time-value"])/86400,h.cellDates&&(o.t="d",o.v=lu(o.v)),o.z="HH:MM:SS";break;case"number":o.t="n",o.v=parseFloat(y["数据数值"]);break;default:if("string"!==o.t&&"text"!==o.t&&o.t)throw new Error("Unsupported value type "+o.t);o.t="s",null!=y["string-value"]&&(w=zu(y["string-value"]),_=[])}}else{if(j=!1,"s"===o.t&&(o.v=w||"",_.length&&(o.R=_),j=0==x),O.Target&&(o.l=O),P.length>0&&(o.c=P,P=[]),w&&!1!==h.cellText&&(o.w=w),j&&(o.t="z",delete o.v),(!j||h.sheetStubs)&&!(h.sheetRows&&h.sheetRows<=T))for(var G=0;G<F;++G){if(M=parseInt(y["number-columns-repeated"]||"1",10),h.dense)for(v[T+G]||(v[T+G]=[]),v[T+G][D]=0==G?o:mu(o);--M>0;)v[T+G][D+M]=mu(o);else for(v[sp({r:T+G,c:D})]=o;--M>0;)v[sp({r:T+G,c:D+M})]=mu(o);A.e.c<=D&&(A.e.c=D)}D+=(M=parseInt(y["number-columns-repeated"]||"1",10))-1,M=0,o={ +/*:: t:"", v:null, z:null, w:"",c:[]*/},w="",_=[]}O={};break; +// 9.1.4 <table:table-cell> +/* pure state */case"document": +// TODO: <office:document> is the root for FODS +case"document-content":case"电子表格文档": +// 3.1.3.2 <office:document-content> +case"spreadsheet":case"主体": +// 3.7 <office:spreadsheet> +case"scripts": +// 3.12 <office:scripts> +case"styles": +// TODO <office:styles> +case"font-face-decls": +// 3.14 <office:font-face-decls> +case"master-styles":if("/"===s[1]){if((n=u.pop())[0]!==s[3])throw"Bad state: "+n}else"/"!==s[0].charAt(s[0].length-2)&&u.push([s[3],!0]);break;case"annotation":if("/"===s[1]){if((n=u.pop())[0]!==s[3])throw"Bad state: "+n;L.t=w,_.length&&(L.R=_),L.a=W,P.push(L)}else"/"!==s[0].charAt(s[0].length-2)&&u.push([s[3],!1]);W="",B=0,w="",x=0,_=[];break;case"creator":"/"===s[1]?W=d.slice(B,s.index):B=s.index+s[0].length;break; +/* ignore state */case"meta":case"元数据": +// TODO: <office:meta> <uof:元数据> FODS/UOF +case"settings": +// TODO: <office:settings> +case"config-item-set": +// TODO: <office:config-item-set> +case"config-item-map-indexed": +// TODO: <office:config-item-map-indexed> +case"config-item-map-entry": +// TODO: <office:config-item-map-entry> +case"config-item-map-named": +// TODO: <office:config-item-map-entry> +case"shapes": +// 9.2.8 <table:shapes> +case"frame": +// 10.4.2 <draw:frame> +case"text-box": +// 10.4.3 <draw:text-box> +case"image": +// 10.4.4 <draw:image> +case"data-pilot-tables": +// 9.6.2 <table:data-pilot-tables> +case"list-style": +// 16.30 <text:list-style> +case"form": +// 13.13 <form:form> +case"dde-links": +// 9.8 <table:dde-links> +case"event-listeners": +// TODO +case"chart":if("/"===s[1]){if((n=u.pop())[0]!==s[3])throw"Bad state: "+n}else"/"!==s[0].charAt(s[0].length-2)&&u.push([s[3],!1]);w="",x=0,_=[];break;case"scientific-number":case"currency-symbol":case"currency-style":case"script": +// 3.13 <office:script> +case"libraries": +// TODO: <ooo:libraries> +case"automatic-styles": +// 3.15.3 <office:automatic-styles> +case"default-style": +// TODO: <style:default-style> +case"page-layout": +// TODO: <style:page-layout> +case"style":case"map": +// 16.3 <style:map> +case"font-face": +// 16.21 <style:font-face> +case"paragraph-properties": +// 17.6 <style:paragraph-properties> +case"table-properties": +// 17.15 <style:table-properties> +case"table-column-properties": +// 17.16 <style:table-column-properties> +case"table-row-properties": +// 17.17 <style:table-row-properties> +case"table-cell-properties": +// 17.18 <style:table-cell-properties> +case"fraction": +// TODO 16.27.6 <number:fraction> +case"boolean-style": +// 16.27.23 <number:boolean-style> +case"boolean": +// 16.27.24 <number:boolean> +case"text-style": +// 16.27.25 <number:text-style> +case"text-content": +// 16.27.27 <number:text-content> +case"text-properties": +// 16.27.27 <style:text-properties> +case"embedded-text": +// 16.27.4 <number:embedded-text> +case"body":case"电子表格": +// 3.3 16.9.6 19.726.3 +case"forms": +// 12.25.2 13.2 +case"table-column": +// 9.1.6 <table:table-column> +case"table-header-rows": +// 9.1.7 <table:table-header-rows> +case"table-rows": +// 9.1.12 <table:table-rows> +/* TODO: outline levels */case"table-column-group": +// 9.1.10 <table:table-column-group> +case"table-header-columns": +// 9.1.11 <table:table-header-columns> +case"table-columns": +// 9.1.12 <table:table-columns> +case"null-date": +// 9.4.2 <table:null-date> TODO: date1904 +case"graphic-properties": +// 17.21 <style:graphic-properties> +case"calculation-settings": +// 9.4.1 <table:calculation-settings> +case"named-expressions": +// 9.4.11 <table:named-expressions> +case"label-range": +// 9.4.9 <table:label-range> +case"label-ranges": +// 9.4.10 <table:label-ranges> +case"named-expression": +// 9.4.13 <table:named-expression> +case"sort": +// 9.4.19 <table:sort> +case"sort-by": +// 9.4.20 <table:sort-by> +case"sort-groups": +// 9.4.22 <table:sort-groups> +case"tab": +// 6.1.4 <text:tab> +case"line-break": +// 6.1.5 <text:line-break> +case"span": +// 6.1.7 <text:span> +// <text:p> +case"s": +// <text:s> +case"date": +// <*:date> +case"object": +// 10.4.6.2 <draw:object> +case"title":case"标题": +// <*:title> OR <uof:标题> +case"desc": +// <*:desc> +case"binary-data": +// 10.4.5 TODO: b64 blob +/* 9.2 Advanced Tables */case"table-source": +// 9.2.6 +case"scenario": +// 9.2.6 +case"iteration": +// 9.4.3 <table:iteration> +case"content-validations": +// 9.4.4 <table: +case"content-validation": +// 9.4.5 <table: +case"help-message": +// 9.4.6 <table: +case"error-message": +// 9.4.7 <table: +case"database-ranges": +// 9.4.14 <table:database-ranges> +case"filter": +// 9.5.2 <table:filter> +case"filter-and": +// 9.5.3 <table:filter-and> +case"filter-or": +// 9.5.4 <table:filter-or> +case"filter-condition": +// 9.5.5 <table:filter-condition> +case"list-level-style-bullet": +// 16.31 <text: +case"list-level-style-number": +// 16.32 <text: +case"list-level-properties": +// 17.19 <style: +/* 7.3 Document Fields */case"sender-firstname": +// 7.3.6.2 +case"sender-lastname": +// 7.3.6.3 +case"sender-initials": +// 7.3.6.4 +case"sender-title": +// 7.3.6.5 +case"sender-position": +// 7.3.6.6 +case"sender-email": +// 7.3.6.7 +case"sender-phone-private": +// 7.3.6.8 +case"sender-fax": +// 7.3.6.9 +case"sender-company": +// 7.3.6.10 +case"sender-phone-work": +// 7.3.6.11 +case"sender-street": +// 7.3.6.12 +case"sender-city": +// 7.3.6.13 +case"sender-postal-code": +// 7.3.6.14 +case"sender-country": +// 7.3.6.15 +case"sender-state-or-province": +// 7.3.6.16 +case"author-name": +// 7.3.7.1 +case"author-initials": +// 7.3.7.2 +case"chapter": +// 7.3.8 +case"file-name": +// 7.3.9 +case"template-name": +// 7.3.9 +case"sheet-name":case"event-listener": +/* TODO: FODS Properties */case"initial-creator":case"creation-date":case"print-date":case"generator":case"document-statistic":case"user-defined":case"editing-duration":case"editing-cycles": +/* TODO: FODS Config */case"config-item": +/* TODO: style tokens */case"page-number": +// TODO <text:page-number> +case"page-count": +// TODO <text:page-count> +case"time": +// TODO <text:time> +/* 9.3 Advanced Table Cells */case"cell-range-source": +// 9.3.1 <table: +case"detective": +// 9.3.2 <table: +case"operation": +// 9.3.3 <table: +case"highlighted-range": +// 9.3.4 <table: +/* 9.6 Data Pilot Tables <table: */case"data-pilot-table": +// 9.6.3 +case"source-cell-range": +// 9.6.5 +case"source-service": +// 9.6.6 +case"data-pilot-field": +// 9.6.7 +case"data-pilot-level": +// 9.6.8 +case"data-pilot-subtotals": +// 9.6.9 +case"data-pilot-subtotal": +// 9.6.10 +case"data-pilot-members": +// 9.6.11 +case"data-pilot-member": +// 9.6.12 +case"data-pilot-display-info": +// 9.6.13 +case"data-pilot-sort-info": +// 9.6.14 +case"data-pilot-layout-info": +// 9.6.15 +case"data-pilot-field-reference": +// 9.6.16 +case"data-pilot-groups": +// 9.6.17 +case"data-pilot-group": +// 9.6.18 +case"data-pilot-group-member": +/* 10.3 Drawing Shapes */case"rect": +/* 14.6 DDE Connections */case"dde-connection-decls": +// 14.6.2 <text: +case"dde-connection-decl": +// 14.6.3 <text: +case"dde-link": +// 14.6.4 <table: +case"dde-source":case"properties": +// 13.7 <form:properties> +case"property": +// 13.8 <form:property> +/* non-standard */ +case"table-protection":case"data-pilot-grand-total": +// <table: +case"office-document-common-attrs":break; +// bare +case"number-style": +// 16.27.2 <number:number-style> +case"percentage-style": +// 16.27.9 <number:percentage-style> +case"date-style": +// 16.27.10 <number:date-style> +case"time-style":if("/"===s[1]){if(k[f.name]=p,(n=u.pop())[0]!==s[3])throw"Bad state: "+n}else"/"!==s[0].charAt(s[0].length-2)&&(p="",f=Lu(s[0],!1),u.push([s[3],!0]));break;case"number":case"day": +// 16.27.11 <number:day> +case"month": +// 16.27.12 <number:month> +case"year": +// 16.27.13 <number:year> +case"era": +// 16.27.14 <number:era> +case"day-of-week": +// 16.27.15 <number:day-of-week> +case"week-of-year": +// 16.27.16 <number:week-of-year> +case"quarter": +// 16.27.17 <number:quarter> +case"hours": +// 16.27.19 <number:hours> +case"minutes": +// 16.27.20 <number:minutes> +case"seconds": +// 16.27.21 <number:seconds> +case"am-pm":switch(u[u.length-1][0]){case"time-style":case"date-style":i=Lu(s[0],!1),p+=ly[s[3]]["long"===i.style?1:0]}break;case"text":if("/>"===s[0].slice(-2))break;if("/"===s[1])switch(u[u.length-1][0]){case"number-style":case"date-style":case"time-style":p+=d.slice(g,s.index)}else g=s.index+s[0].length;break;case"named-range":N=Gb((i=Lu(s[0],!1))["cell-range-address"]);var X={Name:i.name,Ref:N[0]+"!"+N[1]};z&&(X.Sheet=b.length),I.Names.push(X);break;case"p":case"文本串":if(["master-styles"].indexOf(u[u.length-1][0])>-1)break;if("/"!==s[1]||y&&y["string-value"])Lu(s[0],!1),x=s.index+s[0].length;else{var $=(c=d.slice(x,s.index),l=void 0,l=c.replace(/[\t\r\n]/g," ").trim().replace(/ +/g," ").replace(/<text:s\/>/g," ").replace(/<text:s text:c="(\d+)"\/>/g,(function(e,t){return Array(parseInt(t,10)+1).join(" ")})).replace(/<text:tab[^>]*\/>/g,"\t").replace(/<text:line-break\/>/g,"\n"),[zu(l.replace(/<[^>]*>/g,""))]);w=(w.length>0?w+"\n":"")+$[0]}break;case"database-range":if("/"===s[1])break;try{m[(N=Gb(Lu(s[0])["target-range-address"]))[0]]["!autofilter"]={ref:N[1]}}catch(Y){}break;case"a":if("/"!==s[1]){if(!(O=Lu(s[0],!1)).href)break;O.Target=zu(O.href),delete O.href,"#"==O.Target.charAt(0)&&O.Target.indexOf(".")>-1?(N=Gb(O.Target.slice(1)),O.Target="#"+N[0]+"!"+N[1]):O.Target.match(/^\.\.[\\\/]/)&&(O.Target=O.Target.slice(3))}break;default:switch(s[2]){case"dc:": +// TODO: properties +case"calcext:": +// ignore undocumented extensions +case"loext:": +// ignore undocumented extensions +case"ooo:": +// ignore undocumented extensions +case"chartooo:": +// ignore undocumented extensions +case"draw:": +// TODO: drawing +case"style:": +// TODO: styles +case"chart:": +// TODO: charts +case"form:": +// TODO: forms +case"uof:": +// TODO: uof +case"表:": +// TODO: uof +case"字:":break;default:if(h.WTF)throw new Error(s)}}var q={Sheets:m,SheetNames:b,Workbook:I};return h.bookSheets&&delete/*::(*/ +q.Sheets,q}function dy(e,t){t=t||{},Du(e,"META-INF/manifest.xml")&&function(e,t){for(var n,i,r=lf(e);n=hf.exec(r);)switch(n[3]){case"manifest":break; +// 4.2 <manifest:manifest> +case"file-entry":if("/"==(i=Lu(n[0],!1)).path&&"application/vnd.oasis.opendocument.spreadsheet"!==i.type)throw new Error("This OpenDocument is not a spreadsheet");break;case"encryption-data": +// 4.4 <manifest:encryption-data> +case"algorithm": +// 4.5 <manifest:algorithm> +case"start-key-generation": +// 4.6 <manifest:start-key-generation> +case"key-derivation":throw new Error("Unsupported ODS Encryption");default:if(t&&t.WTF)throw n}}(Eu(e,"META-INF/manifest.xml"),t);var n=ku(e,"content.xml");if(!n)throw new Error("Missing content.xml in ODS / UOF file");var i=hy(Ju(n),t);return Du(e,"meta.xml")&&(i.Props=Xp(Eu(e,"meta.xml"))),i}function uy(e,t){return hy(e,t)} +/*! sheetjs (C) 2013-present SheetJS -- http://sheetjs.com */function fy(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function py(e){return"undefined"!=typeof TextDecoder?(new TextDecoder).decode(e):Ju(id(e))}function gy(e){var t=e.reduce((function(e,t){return e+t.length}),0),n=new Uint8Array(t),i=0;return e.forEach((function(e){n.set(e,i),i+=e.length})),n}function my(e){return 16843009*((e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135)>>>24}function by(e,t){var n=t?t[0]:0,i=127&e[n];e:if(e[n++]>=128){if(i|=(127&e[n])<<7,e[n++]<128)break e;if(i|=(127&e[n])<<14,e[n++]<128)break e;if(i|=(127&e[n])<<21,e[n++]<128)break e;if(i+=(127&e[n])*Math.pow(2,28),++n,e[n++]<128)break e;if(i+=(127&e[n])*Math.pow(2,35),++n,e[n++]<128)break e;if(i+=(127&e[n])*Math.pow(2,42),++n,e[n++]<128)break e}return t&&(t[0]=n),i}function vy(e){var t=0,n=127&e[t];e:if(e[t++]>=128){if(n|=(127&e[t])<<7,e[t++]<128)break e;if(n|=(127&e[t])<<14,e[t++]<128)break e;if(n|=(127&e[t])<<21,e[t++]<128)break e;n|=(127&e[t])<<28}return n}function yy(e){for(var t=[],n=[0];n[0]<e.length;){var i,r=n[0],a=by(e,n),s=7&a,o=0;if(0==(a=Math.floor(a/8)))break;switch(s){case 0:for(var c=n[0];e[n[0]++]>=128;);i=e.slice(c,n[0]);break;case 5:o=4,i=e.slice(n[0],n[0]+o),n[0]+=o;break;case 1:o=8,i=e.slice(n[0],n[0]+o),n[0]+=o;break;case 2:o=by(e,n),i=e.slice(n[0],n[0]+o),n[0]+=o;break;default:throw new Error("PB Type ".concat(s," for Field ").concat(a," at offset ").concat(r))}var l={data:i,type:s};null==t[a]?t[a]=[l]:t[a].push(l)}return t}function wy(e,t){return(null==e?void 0:e.map((function(e){return t(e.data)})))||[]}function xy(e,t){if(0!=e)throw new Error("Unexpected Snappy chunk type ".concat(e));for(var n=[0],i=by(t,n),r=[];n[0]<t.length;){var a=3&t[n[0]];if(0!=a){var s=0,o=0;if(1==a?(o=4+(t[n[0]]>>2&7),s=(224&t[n[0]++])<<3,s|=t[n[0]++]):(o=1+(t[n[0]++]>>2),2==a?(s=t[n[0]]|t[n[0]+1]<<8,n[0]+=2):(s=(t[n[0]]|t[n[0]+1]<<8|t[n[0]+2]<<16|t[n[0]+3]<<24)>>>0,n[0]+=4)),r=[gy(r)],0==s)throw new Error("Invalid offset 0");if(s>r[0].length)throw new Error("Invalid offset beyond length");if(o>=s)for(r.push(r[0].slice(-s)),o-=s;o>=r[r.length-1].length;)r.push(r[r.length-1]),o-=r[r.length-1].length;r.push(r[0].slice(-s,-s+o))}else{var c=t[n[0]++]>>2;if(c<60)++c;else{var l=c-59;c=t[n[0]],l>1&&(c|=t[n[0]+1]<<8),l>2&&(c|=t[n[0]+2]<<16),l>3&&(c|=t[n[0]+3]<<24),c>>>=0,c++,n[0]+=l}r.push(t.slice(n[0],n[0]+c)),n[0]+=c}}var h=gy(r);if(h.length!=i)throw new Error("Unexpected length: ".concat(h.length," != ").concat(i));return h}function _y(e,t,n){var i,r=fy(e),a=r.getUint32(8,!0),s=12,o=-1,c=-1,l=NaN,h=NaN,d=new Date(2001,0,1);switch(1&a&&(l=function(e,t){for(var n=(127&e[t+15])<<7|e[t+14]>>1,i=1&e[t+14],r=t+13;r>=t;--r)i=256*i+e[r];return(128&e[t+15]?-i:i)*Math.pow(10,n-6176)}(e,s),s+=16),2&a&&(h=r.getFloat64(s,!0),s+=8),4&a&&(d.setTime(d.getTime()+1e3*r.getFloat64(s,!0)),s+=8),8&a&&(c=r.getUint32(s,!0),s+=4),16&a&&(o=r.getUint32(s,!0),s+=4),e[1]){case 0:break;case 2:case 10:i={t:"n",v:l};break;case 3:i={t:"s",v:t[c]};break;case 5:i={t:"d",v:d};break;case 6:i={t:"b",v:h>0};break;case 7:i={t:"n",v:h/86400};break;case 8:i={t:"e",v:0};break;case 9:if(!(o>-1))throw new Error("Unsupported cell type ".concat(e[1]," : ").concat(31&a," : ").concat(e.slice(0,4)));i={t:"s",v:n[o]};break;default:throw new Error("Unsupported cell type ".concat(e[1]," : ").concat(31&a," : ").concat(e.slice(0,4)))}return i}function Ty(e,t,n){switch(e[0]){case 0:case 1:case 2:case 3:return function(e,t,n,i){var r,a=fy(e),s=a.getUint32(4,!0),o=(i>1?12:8)+4*my(s&(i>1?3470:398)),c=-1,l=-1,h=NaN,d=new Date(2001,0,1);switch(512&s&&(c=a.getUint32(o,!0),o+=4),o+=4*my(s&(i>1?12288:4096)),16&s&&(l=a.getUint32(o,!0),o+=4),32&s&&(h=a.getFloat64(o,!0),o+=8),64&s&&(d.setTime(d.getTime()+1e3*a.getFloat64(o,!0)),o+=8),e[2]){case 0:break;case 2:r={t:"n",v:h};break;case 3:r={t:"s",v:t[l]};break;case 5:r={t:"d",v:d};break;case 6:r={t:"b",v:h>0};break;case 7:r={t:"n",v:h/86400};break;case 8:r={t:"e",v:0};break;case 9:if(c>-1)r={t:"s",v:n[c]};else if(l>-1)r={t:"s",v:t[l]};else{if(isNaN(h))throw new Error("Unsupported cell type ".concat(e.slice(0,4)));r={t:"n",v:h}}break;default:throw new Error("Unsupported cell type ".concat(e.slice(0,4)))}return r}(e,t,n,e[0]);case 5:return _y(e,t,n);default:throw new Error("Unsupported payload version ".concat(e[0]))}}function Dy(e){return by(yy(e)[1][0].data)}function Ay(e,t){var n=yy(t.data),i=vy(n[1][0].data),r=n[3],a=[];return(r||[]).forEach((function(t){var n=yy(t.data),r=vy(n[1][0].data)>>>0;switch(i){case 1:a[r]=py(n[3][0].data);break;case 8:var s=yy(e[Dy(n[9][0].data)][0].data),o=e[Dy(s[1][0].data)][0],c=vy(o.meta[1][0].data);if(2001!=c)throw new Error("2000 unexpected reference to ".concat(c));var l=yy(o.data);a[r]=l[3].map((function(e){return py(e.data)})).join("")}})),a}function Ey(e,t){var n,i=yy(t.data),r=(null==(n=null==i?void 0:i[7])?void 0:n[0])?vy(i[7][0].data)>>>0>0?1:0:-1,a=wy(i[5],(function(e){return function(e,t){var n,i,r,a,s,o,c,l,h,d,u,f,p,g,m,b,v=yy(e),y=vy(v[1][0].data)>>>0,w=vy(v[2][0].data)>>>0,x=(null==(i=null==(n=v[8])?void 0:n[0])?void 0:i.data)&&vy(v[8][0].data)>0||!1;if((null==(a=null==(r=v[7])?void 0:r[0])?void 0:a.data)&&0!=t)m=null==(o=null==(s=v[7])?void 0:s[0])?void 0:o.data,b=null==(l=null==(c=v[6])?void 0:c[0])?void 0:l.data;else{if(!(null==(d=null==(h=v[4])?void 0:h[0])?void 0:d.data)||1==t)throw"NUMBERS Tile missing ".concat(t," cell storage");m=null==(f=null==(u=v[4])?void 0:u[0])?void 0:f.data,b=null==(g=null==(p=v[3])?void 0:p[0])?void 0:g.data}for(var _=x?4:1,T=fy(m),D=[],A=0;A<m.length/2;++A){var E=T.getUint16(2*A,!0);E<65535&&D.push([A,E])}if(D.length!=w)throw"Expected ".concat(w," cells, found ").concat(D.length);var k=[];for(A=0;A<D.length-1;++A)k[D[A][0]]=b.subarray(D[A][1]*_,D[A+1][1]*_);return D.length>=1&&(k[D[D.length-1][0]]=b.subarray(D[D.length-1][1]*_)),{R:y,cells:k}}(e,r)}));return{nrows:vy(i[4][0].data)>>>0,data:a.reduce((function(e,t){return e[t.R]||(e[t.R]=[]),t.cells.forEach((function(n,i){if(e[t.R][i])throw new Error("Duplicate cell r=".concat(t.R," c=").concat(i));e[t.R][i]=n})),e}),[])}}function ky(e,t){var n={"!ref":"A1"},i=e[Dy(yy(t.data)[2][0].data)],r=vy(i[0].meta[1][0].data);if(6001!=r)throw new Error("6000 unexpected reference to ".concat(r));return function(e,t,n){var i,r=yy(t.data),a={s:{r:0,c:0},e:{r:0,c:0}};if(a.e.r=(vy(r[6][0].data)>>>0)-1,a.e.r<0)throw new Error("Invalid row varint ".concat(r[6][0].data));if(a.e.c=(vy(r[7][0].data)>>>0)-1,a.e.c<0)throw new Error("Invalid col varint ".concat(r[7][0].data));n["!ref"]=cp(a);var s=yy(r[4][0].data),o=Ay(e,e[Dy(s[4][0].data)][0]),c=(null==(i=s[17])?void 0:i[0])?Ay(e,e[Dy(s[17][0].data)][0]):[],l=yy(s[3][0].data),h=0;l[1].forEach((function(t){var i=yy(t.data),r=e[Dy(i[2][0].data)][0],a=vy(r.meta[1][0].data);if(6002!=a)throw new Error("6001 unexpected reference to ".concat(a));var s=Ey(0,r);s.data.forEach((function(e,t){e.forEach((function(e,i){var r=sp({r:h+t,c:i}),a=Ty(e,o,c);a&&(n[r]=a)}))})),h+=s.nrows}))}(e,i[0],n),n}function Sy(e,t){var n={SheetNames:[],Sheets:{}};if(wy(yy(t.data)[1],Dy).forEach((function(t){e[t].forEach((function(t){if(2==vy(t.meta[1][0].data)){var i=function(e,t){var n,i=yy(t.data),r={name:(null==(n=i[1])?void 0:n[0])?py(i[1][0].data):"",sheets:[]};return wy(i[2],Dy).forEach((function(t){e[t].forEach((function(t){6e3==vy(t.meta[1][0].data)&&r.sheets.push(ky(e,t))}))})),r}(e,t);i.sheets.forEach((function(e,t){$y(n,e,0==t?i.name:i.name+"_"+t,!0)}))}}))})),0==n.SheetNames.length)throw new Error("Empty NUMBERS file");return n}function Cy(e){var t,n,i,r,a={},s=[];if(e.FullPaths.forEach((function(e){if(e.match(/\.iwpv2/))throw new Error("Unsupported password protection")})),e.FileIndex.forEach((function(e){if(e.name.match(/\.iwa$/)){var t,n;try{t=function(e){for(var t=[],n=0;n<e.length;){var i=e[n++],r=e[n]|e[n+1]<<8|e[n+2]<<16;n+=3,t.push(xy(i,e.slice(n,n+r))),n+=r}if(n!==e.length)throw new Error("data is not a valid framed stream!");return gy(t)}(e.content)}catch(i){return}try{n=function(e){for(var t,n=[],i=[0];i[0]<e.length;){var r=by(e,i),a=yy(e.slice(i[0],i[0]+r));i[0]+=r;var s={id:vy(a[1][0].data),messages:[]};a[2].forEach((function(t){var n=yy(t.data),r=vy(n[3][0].data);s.messages.push({meta:n,data:e.slice(i[0],i[0]+r)}),i[0]+=r})),(null==(t=a[3])?void 0:t[0])&&(s.merge=vy(a[3][0].data)>>>0>0),n.push(s)}return n}(t)}catch(i){return}n.forEach((function(e){a[e.id]=e.messages,s.push(e.id)}))}})),!s.length)throw new Error("File has no messages");var o=(null==(r=null==(i=null==(n=null==(t=null==a?void 0:a[1])?void 0:t[0])?void 0:n.meta)?void 0:i[1])?void 0:r[0].data)&&1==vy(a[1][0].meta[1][0].data)&&a[1][0];if(o||s.forEach((function(e){a[e].forEach((function(e){if(1==vy(e.meta[1][0].data)>>>0){if(o)throw new Error("Document has multiple roots");o=e}}))})),!o)throw new Error("Cannot find Document root");return Sy(a,o)}function Uy(e){var t;(t=[["cellNF",!1], +/* emit cell number format string as .z */ +["cellHTML",!0], +/* emit html string as .h */ +["cellFormula",!0], +/* emit formulae as .f */ +["cellStyles",!1], +/* emits style/theme as .s */ +["cellText",!0], +/* emit formatted text as .w */ +["cellDates",!1], +/* emit date cells with type `d` */ +["sheetStubs",!1], +/* emit empty cells */ +["sheetRows",0,"n"], +/* read n rows (0 = read all rows) */ +["bookDeps",!1], +/* parse calculation chains */ +["bookSheets",!1], +/* only try to get sheet names (no Sheets) */ +["bookProps",!1], +/* only try to get properties (no Sheets) */ +["bookFiles",!1], +/* include raw file structure (keys, files, cfb) */ +["bookVBA",!1], +/* include vba raw data (vbaraw) */ +["password",""], +/* password */ +["WTF",!1] +/* WTF mode (throws errors) */],function(e){for(var n=0;n!=t.length;++n){var i=t[n];void 0===e[i[0]]&&(e[i[0]]=i[1]),"n"===i[2]&&(e[i[0]]=Number(e[i[0]]))}})(e)}function Fy(e,t,n,i,r,a,s,o,c,l,h,d){try{a[i]=Hp(ku(e,n,!0),t);var u,f=Eu(e,t);switch(o){case"sheet":u=Ev(f,t,r,c,a[i],l,h,d);break;case"chart":if(!(u=kv(f,t,r,c,a[i],l))||!u["!drawel"])break;var p=Fu(u["!drawel"].Target,t),g=zp(p),m=function(e,t){if(!e)return"??";var n=(e.match(/<c:chart [^>]*r:id="([^"]*)"/)||["",""])[1];return t["!id"][n].Target}(ku(e,p,!0),Hp(ku(e,g,!0),p)),b=Fu(m,p),v=zp(b);u=pv(ku(e,b,!0),0,0,Hp(ku(e,v,!0),b),0,u);break;case"macro":w=t,a[i],w.slice(-4),u={"!type":"macro"};break;case"dialog":u=function(e,t){return t.slice(-4),{"!type":"dialog"}}(0,t,0,0,a[i]);break;default:throw new Error("Unrecognized sheet type "+o)}s[i]=u;var y=[];a&&a[i]&&nu(a[i]).forEach((function(n){var r="";if(a[i][n].Type==jp.CMNT){r=Fu(a[i][n].Target,t);var s=Uv(Eu(e,r,!0),r,c);if(!s||!s.length)return;Qm(u,s,!1)}a[i][n].Type==jp.TCMNT&&(r=Fu(a[i][n].Target,t),y=y.concat(function(e,t){var n=[],i=!1,r={},a=0;return e.replace(Ou,(function(s,o){var c=Lu(s);switch(Wu(c[0])){case"<?xml": +/* 2.6.207 ThreadedComments CT_ThreadedComments */case"<ThreadedComments":case"</ThreadedComments>": +/* 2.6.205 threadedComment CT_ThreadedComment */ +/* 2.6.202 mention CT_Mention TODO */ +/* 18.2.10 extLst CT_ExtensionList ? */ +case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break; +/* 18.2.7 ext CT_Extension + */case"<threadedComment":r={author:c.personId,guid:c.id,ref:c.ref,T:1};break;case"</threadedComment>":null!=r.t&&n.push(r);break;case"<text>":case"<text":a=o+s.length;break;case"</text>":r.t=e.slice(a,o).replace(/\r\n/g,"\n").replace(/\r/g,"\n");break; +/* 2.6.206 mentions CT_ThreadedCommentMentions TODO */case"<mentions":case"<mentions>":case"<ext":i=!0;break;case"</mentions>":case"</ext>":i=!1;break;default:if(!i&&t.WTF)throw new Error("unrecognized "+c[0]+" in threaded comments")}return s})),n}(Eu(e,r,!0),c)))})),y&&y.length&&Qm(u,y,!0,c.people||[])}catch(x){if(c.WTF)throw x}var w}function My(e){return"/"==e.charAt(0)?e.slice(1):e}function Ry(e,t){if(Zd(),Uy(t=t||{}),Du(e,"META-INF/manifest.xml"))return dy(e,t);if(Du(e,"objectdata.xml"))return dy(e,t);if(Du(e,"Index/Document.iwa")){if("undefined"==typeof Uint8Array)throw new Error("NUMBERS file parsing requires Uint8Array support");if(void 0!==Cy){if(e.FileIndex)return Cy(e);var n=tu.utils.cfb_new();return Su(e).forEach((function(t){Cu(n,t,function(e,t){return Tu(Au(e,t))}(e,t))})),Cy(n)}throw new Error("Unsupported NUMBERS file")}if(!Du(e,"[Content_Types].xml")){if(Du(e,"index.xml.gz"))throw new Error("Unsupported NUMBERS 08 file");if(Du(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Error("Unsupported ZIP file")}var i,r,a=Su(e),s=function(e){var t={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""};if(!e||!e.match)return t;var n={};if((e.match(Ou)||[]).forEach((function(e){var i=Lu(e);switch(i[0].replace(Nu,"<")){case"<?xml":break;case"<Types":t.xmlns=i["xmlns"+(i[0].match(/<(\w+):/)||["",""])[1]];break;case"<Default":n[i.Extension]=i.ContentType;break;case"<Override":void 0!==t[Bp[i.ContentType]]&&t[Bp[i.ContentType]].push(i.PartName)}})),t.xmlns!==df)throw new Error("Unknown Namespace: "+t.xmlns);return t.calcchain=t.calcchains.length>0?t.calcchains[0]:"",t.sst=t.strs.length>0?t.strs[0]:"",t.style=t.styles.length>0?t.styles[0]:"",t.defaults=n,delete t.calcchains,t}(ku(e,"[Content_Types].xml")),o=!1;if(0===s.workbooks.length&&Eu(e,r="xl/workbook.xml",!0)&&s.workbooks.push(r),0===s.workbooks.length){if(!Eu(e,r="xl/workbook.bin",!0))throw new Error("Could not find workbook");s.workbooks.push(r),o=!0}"bin"==s.workbooks[0].slice(-3)&&(o=!0);var c={},l={};if(!t.bookSheets&&!t.bookProps){if(Xb=[],s.sst)try{Xb=Cv(Eu(e,My(s.sst)),s.sst,t)}catch(U){if(t.WTF)throw U}t.cellStyles&&s.themes.length&&(c=function(e,t,n){return Km(e,n)}(ku(e,s.themes[0].replace(/^\//,""),!0)||"",s.themes[0],t)),s.style&&(l=Sv(Eu(e,My(s.style)),s.style,c,t))}s.links.map((function(n){try{Hp(ku(e,zp(My(n))),n);return Mv(Eu(e,My(n)),0,n,t)}catch(U){}}));var h=Av(Eu(e,My(s.workbooks[0])),s.workbooks[0],t),d={},u="";s.coreprops.length&&((u=Eu(e,My(s.coreprops[0]),!0))&&(d=Xp(u)),0!==s.extprops.length&&(u=Eu(e,My(s.extprops[0]),!0))&&function(e,t,n){var i={};t||(t={}),e=Ju(e),$p.forEach((function(n){var r=(e.match(ef(n[0]))||[])[1];switch(n[2]){case"string":r&&(t[n[1]]=zu(r));break;case"bool":t[n[1]]="true"===r;break;case"raw":var a=e.match(new RegExp("<"+n[0]+"[^>]*>([\\s\\S]*?)</"+n[0]+">"));a&&a.length>0&&(i[n[1]]=a[1])}})),i.HeadingPairs&&i.TitlesOfParts&&qp(i.HeadingPairs,i.TitlesOfParts,t,n)}(u,d,t));var f={};t.bookSheets&&!t.bookProps||0!==s.custprops.length&&(u=ku(e,My(s.custprops[0]),!0))&&(f=function(e,t){var n={},i="",r=e.match(Yp);if(r)for(var a=0;a!=r.length;++a){var s=r[a],o=Lu(s);switch(o[0]){case"<?xml":case"<Properties":break;case"<property":i=zu(o.name);break;case"</property>":i=null;break;default:if(0===s.indexOf("<vt:")){var c=s.split(">"),l=c[0].slice(4),h=c[1];switch(l){case"lpstr":case"bstr":case"lpwstr":case"cy":case"error":n[i]=zu(h);break;case"bool":n[i]=$u(h);break;case"i1":case"i2":case"i4":case"i8":case"int":case"uint":n[i]=parseInt(h,10);break;case"r4":case"r8":case"decimal":n[i]=parseFloat(h);break;case"filetime":case"date":n[i]=pu(h);break;default:if("/"==l.slice(-1))break;t.WTF}}else if("</"===s.slice(0,2));else if(t.WTF)throw new Error(s)}}return n}(u,t));var p={};if((t.bookSheets||t.bookProps)&&(h.Sheets?i=h.Sheets.map((function(e){return e.name})):d.Worksheets&&d.SheetNames.length>0&&(i=d.SheetNames),t.bookProps&&(p.Props=d,p.Custprops=f),t.bookSheets&&void 0!==i&&(p.SheetNames=i),t.bookSheets?p.SheetNames:t.bookProps))return p;i={};var g={};t.bookDeps&&s.calcchain&&(g=Fv(Eu(e,My(s.calcchain)),s.calcchain));var m,b,v=0,y={},w=h.Sheets;d.Worksheets=w.length,d.SheetNames=[];for(var x=0;x!=w.length;++x)d.SheetNames[x]=w[x].name;var _=o?"bin":"xml",T=s.workbooks[0].lastIndexOf("/"),D=(s.workbooks[0].slice(0,T+1)+"_rels/"+s.workbooks[0].slice(T+1)+".rels").replace(/^\//,"");Du(e,D)||(D="xl/_rels/workbook."+_+".rels");var A=Hp(ku(e,D,!0),D.replace(/_rels.*/,"s5s"));(s.metadata||[]).length>=1&&(t.xlmeta=Rv(Eu(e,My(s.metadata[0])),s.metadata[0],t)),(s.people||[]).length>=1&&(t.people=function(e,t){var n=[],i=!1;return e.replace(Ou,(function(e){var r=Lu(e);switch(Wu(r[0])){case"<?xml": +/* 2.4.85 personList CT_PersonList */case"<personList":case"</personList>": +/* 2.6.203 person CT_Person TODO: providers */case"</person>": +/* 18.2.10 extLst CT_ExtensionList ? */case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break; +/* 18.2.7 ext CT_Extension + */case"<person":n.push({name:r.displayname,id:r.id});break;case"<ext":i=!0;break;case"</ext>":i=!1;break;default:if(!i&&t.WTF)throw new Error("unrecognized "+r[0]+" in threaded comments")}return e})),n}(Eu(e,My(s.people[0])),t)),A&&(A=function(e,t){if(!e)return 0;try{e=t.map((function(t){return t.id||(t.id=t.strRelID),[t.name,e["!id"][t.id].Target,(n=e["!id"][t.id].Type,jp.WS.indexOf(n)>-1?"sheet":n==jp.CS?"chart":n==jp.DS?"dialog":n==jp.MS?"macro":n&&n.length?n:"sheet")];var n}))}catch(U){return null}return e&&0!==e.length?e:null}(A,h.Sheets));var E=Eu(e,"xl/worksheets/sheet.xml",!0)?1:0;e:for(v=0;v!=d.Worksheets;++v){var k="sheet";if(A&&A[v]?(m="xl/"+A[v][1].replace(/[\/]?xl\//,""),Du(e,m)||(m=A[v][1]),Du(e,m)||(m=D.replace(/_rels\/.*$/,"")+A[v][1]),k=A[v][2]):m=(m="xl/worksheets/sheet"+(v+1-E)+"."+_).replace(/sheet0\./,"sheet."),b=m.replace(/^(.*)(\/)([^\/]*)$/,"$1/_rels/$3.rels"),t&&null!=t.sheets)switch(typeof t.sheets){case"number":if(v!=t.sheets)continue e;break;case"string":if(d.SheetNames[v].toLowerCase()!=t.sheets.toLowerCase())continue e;break;default:if(Array.isArray&&Array.isArray(t.sheets)){for(var S=!1,C=0;C!=t.sheets.length;++C)"number"==typeof t.sheets[C]&&t.sheets[C]==v&&(S=1),"string"==typeof t.sheets[C]&&t.sheets[C].toLowerCase()==d.SheetNames[v].toLowerCase()&&(S=1);if(!S)continue e}}Fy(e,m,b,d.SheetNames[v],v,y,i,k,t,h,c,l)}return p={Directory:s,Workbook:h,Props:d,Custprops:f,Deps:g,Sheets:i,SheetNames:d.SheetNames,Strings:Xb,Styles:l,Themes:c,SSF:mu(bd)},t&&t.bookFiles&&(e.files?(p.keys=a,p.files=e.files):(p.keys=[],p.files={},e.FullPaths.forEach((function(t,n){t=t.replace(/^Root Entry[\/]/,""),p.keys.push(t),p.files[t]=e.FileIndex[n]})))),t&&t.bookVBA&&(s.vba.length>0?p.vbaraw=Eu(e,My(s.vba[0]),!0):s.defaults&&"application/vnd.ms-office.vbaProject"===s.defaults.bin&&(p.vbaraw=Eu(e,"xl/vbaProject.bin",!0))),p}function Iy(e,t){var n,i,r=t||{},a="Workbook",s=tu.find(e,a);try{if(a="/!DataSpaces/Version",!(s=tu.find(e,a))||!s.content)throw new Error("ECMA-376 Encrypted file missing "+a);if(n=s.content,(i={}).id=n.read_shift(0,"lpp4"),i.R=dm(n,4),i.U=dm(n,4),i.W=dm(n,4),a="/!DataSpaces/DataSpaceMap",!(s=tu.find(e,a))||!s.content)throw new Error("ECMA-376 Encrypted file missing "+a);var o=function(e){var t=[];e.l+=4;for(var n=e.read_shift(4);n-- >0;)t.push(um(e));return t}(s.content);if(1!==o.length||1!==o[0].comps.length||0!==o[0].comps[0].t||"StrongEncryptionDataSpace"!==o[0].name||"EncryptedPackage"!==o[0].comps[0].v)throw new Error("ECMA-376 Encrypted file bad "+a);if(a="/!DataSpaces/DataSpaceInfo/StrongEncryptionDataSpace",!(s=tu.find(e,a))||!s.content)throw new Error("ECMA-376 Encrypted file missing "+a);var c=function(e){var t=[];e.l+=4;for(var n=e.read_shift(4);n-- >0;)t.push(e.read_shift(0,"lpp4"));return t}(s.content);if(1!=c.length||"StrongEncryptionTransform"!=c[0])throw new Error("ECMA-376 Encrypted file bad "+a);if(a="/!DataSpaces/TransformInfo/StrongEncryptionTransform/!Primary",!(s=tu.find(e,a))||!s.content)throw new Error("ECMA-376 Encrypted file missing "+a);fm(s.content)}catch(h){}if(a="/EncryptionInfo",!(s=tu.find(e,a))||!s.content)throw new Error("ECMA-376 Encrypted file missing "+a);var l=function(e){var t=dm(e);switch(t.Minor){case 2:return[t.Minor,mm(e)];case 3:return[t.Minor,bm()];case 4:return[t.Minor,vm(e)]}throw new Error("ECMA-376 Encrypted file unrecognized Version: "+t.Minor)}(s.content);if(a="/EncryptedPackage",!(s=tu.find(e,a))||!s.content)throw new Error("ECMA-376 Encrypted file missing "+a);if(4==l[0]&&"undefined"!=typeof decrypt_agile)return decrypt_agile(l[1],s.content,r.password||"",r);if(2==l[0]&&"undefined"!=typeof decrypt_std76)return decrypt_std76(l[1],s.content,r.password||"",r);throw new Error("File is password-protected")}function Oy(e,t){var n="";switch((t||{}).type||"base64"){case"buffer":case"array":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];case"base64":n=Zh(e.slice(0,12));break;case"binary":n=e;break;default:throw new Error("Unrecognized type "+(t&&t.type||"undefined"))}return[n.charCodeAt(0),n.charCodeAt(1),n.charCodeAt(2),n.charCodeAt(3),n.charCodeAt(4),n.charCodeAt(5),n.charCodeAt(6),n.charCodeAt(7)]}function Ny(e,t){var n=0;e:for(;n<e.length;)switch(e.charCodeAt(n)){case 10:case 13:case 32:++n;break;case 60:return Gv(e.slice(n),t);default:break e}return Qg.to_workbook(e,t)}function Py(e,t,n,i){return i?(n.type="string",Qg.to_workbook(e,n)):Qg.to_workbook(t,n)}function Ly(e,t){zh();var n=t||{};if("undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer)return Ly(new Uint8Array(e),((n=mu(n)).type="array",n));"undefined"!=typeof Uint8Array&&e instanceof Uint8Array&&!n.type&&(n.type="undefined"!=typeof Deno?"buffer":"array");var i,r=e,a=!1;if(n.cellStyles&&(n.cellNF=!0,n.sheetStubs=!0),$b={},n.dateNF&&($b.dateNF=n.dateNF),n.type||(n.type=Jh&&Buffer.isBuffer(e)?"buffer":"base64"),"file"==n.type&&(n.type=Jh?"buffer":"binary",r=function(e){if("undefined"!=typeof Deno)return Deno.readFileSync(e);if("undefined"!=typeof $&&"undefined"!=typeof File&&"undefined"!=typeof Folder)try{var t=File(e);t.open("r"),t.encoding="binary";var n=t.read();return t.close(),n}catch(i){if(!i.message||!i.message.match(/onstruct/))throw i}throw new Error("Cannot access file "+e)}(e),"undefined"==typeof Uint8Array||Jh||(n.type="array")),"string"==n.type&&(a=!0,n.type="binary",n.codepage=65001,r=function(e){return e.match(/[^\x00-\x7F]/)?Qu(e):e}(e)),"array"==n.type&&"undefined"!=typeof Uint8Array&&e instanceof Uint8Array&&"undefined"!=typeof ArrayBuffer){var s=new ArrayBuffer(3),o=new Uint8Array(s);if(o.foo="bar",!o.foo)return(n=mu(n)).type="array",Ly(rd(r),n)}switch((i=Oy(r,n))[0]){case 208:if(207===i[1]&&17===i[2]&&224===i[3]&&161===i[4]&&177===i[5]&&26===i[6]&&225===i[7])return function(e,t){return tu.find(e,"EncryptedPackage")?Iy(e,t):ey(e,t)}(tu.read(r,n),n);break;case 9:if(i[1]<=8)return ey(r,n);break;case 60:return Gv(r,n);case 73:if(73===i[1]&&42===i[2]&&0===i[3])throw new Error("TIFF Image File is not a spreadsheet");if(68===i[1])return function(e,t){var n=t||{},i=!!n.WTF;n.WTF=!0;try{var r=Kg.to_workbook(e,n);return n.WTF=i,r}catch(a){if(n.WTF=i,!a.message.match(/SYLK bad record ID/)&&i)throw a;return Qg.to_workbook(e,t)}}(r,n);break;case 84:if(65===i[1]&&66===i[2]&&76===i[3])return Zg.to_workbook(r,n);break;case 80:return 75===i[1]&&i[2]<9&&i[3]<9?function(e,t){var n=e,i=t||{};return i.type||(i.type=Jh&&Buffer.isBuffer(e)?"buffer":"base64"),Ry(Uu(n,i),i)}(r,n):Py(e,r,n,a);case 239:return 60===i[3]?Gv(r,n):Py(e,r,n,a);case 255:if(254===i[1])return function(e,t){var n=e;return"base64"==t.type&&(n=Zh(n)),n=Gh.utils.decode(1200,n.slice(2),"str"),t.type="binary",Ny(n,t)}(r,n);if(0===i[1]&&2===i[2]&&0===i[3])return em.to_workbook(r,n);break;case 0:if(0===i[1]){if(i[2]>=2&&0===i[3])return em.to_workbook(r,n);if(0===i[2]&&(8===i[3]||9===i[3]))return em.to_workbook(r,n)}break;case 3:case 131:case 139:case 140:return Yg.to_workbook(r,n);case 123:if(92===i[1]&&114===i[2]&&116===i[3])return Tm.to_workbook(r,n);break;case 10:case 13:case 32:return function(e,t){var n="",i=Oy(e,t);switch(t.type){case"base64":n=Zh(e);break;case"binary":n=e;break;case"buffer":n=e.toString("binary");break;case"array":n=gu(e);break;default:throw new Error("Unrecognized type "+t.type)}return 239==i[0]&&187==i[1]&&191==i[2]&&(n=Ju(n)),t.type="binary",Ny(n,t)}(r,n);case 137:if(80===i[1]&&78===i[2]&&71===i[3])throw new Error("PNG Image File is not a spreadsheet")}return qg.indexOf(i[0])>-1&&i[2]<=12&&i[3]<=31?Yg.to_workbook(r,n):Py(e,r,n,a)}function Wy(e,t,n,i,r,a,s,o){var c=np(n),l=o.defval,h=o.raw||!Object.prototype.hasOwnProperty.call(o,"raw"),d=!0,u=1===r?[]:{};if(1!==r)if(Object.defineProperty)try{Object.defineProperty(u,"__rowNum__",{value:n,enumerable:!1})}catch(m){u.__rowNum__=n}else u.__rowNum__=n;if(!s||e[n])for(var f=t.s.c;f<=t.e.c;++f){var p=s?e[n][f]:e[i[f]+c];if(void 0!==p&&void 0!==p.t){var g=p.v;switch(p.t){case"z":if(null==g)break;continue;case"e":g=0==g?null:void 0;break;case"s":case"d":case"b":case"n":break;default:throw new Error("unrecognized type "+p.t)}if(null!=a[f]){if(null==g)if("e"==p.t&&null===g)u[a[f]]=null;else if(void 0!==l)u[a[f]]=l;else{if(!h||null!==g)continue;u[a[f]]=null}else u[a[f]]=h&&("n"!==p.t||"n"===p.t&&!1!==o.rawNumbers)?g:dp(p,g,o);null!=g&&(d=!1)}}else{if(void 0===l)continue;null!=a[f]&&(u[a[f]]=l)}}return{row:u,isempty:d}}function By(e,t){if(null==e||null==e["!ref"])return[];var n={t:"n",v:0},i=0,r=1,a=[],s=0,o="",c={s:{r:0,c:0},e:{r:0,c:0}},l=t||{},h=null!=l.range?l.range:e["!ref"];switch(1===l.header?i=1:"A"===l.header?i=2:Array.isArray(l.header)?i=3:null==l.header&&(i=0),typeof h){case"string":c=lp(h);break;case"number":(c=lp(e["!ref"])).s.r=h;break;default:c=h}i>0&&(r=0);var d=np(c.s.r),u=[],f=[],p=0,g=0,m=Array.isArray(e),b=c.s.r,v=0,y={};m&&!e[b]&&(e[b]=[]);var w=l.skipHidden&&e["!cols"]||[],x=l.skipHidden&&e["!rows"]||[];for(v=c.s.c;v<=c.e.c;++v)if(!(w[v]||{}).hidden)switch(u[v]=rp(v),n=m?e[b][v]:e[u[v]+d],i){case 1:a[v]=v-c.s.c;break;case 2:a[v]=u[v];break;case 3:a[v]=l.header[v-c.s.c];break;default:if(null==n&&(n={w:"__EMPTY",t:"s"}),o=s=dp(n,null,l),g=y[s]||0){do{o=s+"_"+g++}while(y[o]);y[s]=g,y[o]=1}else y[s]=1;a[v]=o}for(b=c.s.r+r;b<=c.e.r;++b)if(!(x[b]||{}).hidden){var _=Wy(e,c,b,u,i,a,m,l);(!1===_.isempty||(1===i?!1!==l.blankrows:l.blankrows))&&(f[p++]=_.row)}return f.length=p,f}var jy=/"/g;function zy(e,t,n,i,r,a,s,o){for(var c=!0,l=[],h="",d=np(n),u=t.s.c;u<=t.e.c;++u)if(i[u]){var f=o.dense?(e[n]||[])[u]:e[i[u]+d];if(null==f)h="";else if(null!=f.v){c=!1,h=""+(o.rawNumbers&&"n"==f.t?f.v:dp(f,null,o));for(var p=0,g=0;p!==h.length;++p)if((g=h.charCodeAt(p))===r||g===a||34===g||o.forceQuotes){h='"'+h.replace(jy,'""')+'"';break}"ID"==h&&(h='"ID"')}else null==f.f||f.F?h="":(c=!1,(h="="+f.f).indexOf(",")>=0&&(h='"'+h.replace(jy,'""')+'"'));l.push(h)}return!1===o.blankrows&&c?null:l.join(s)}function Hy(e,t){var n=[],i=null==t?{}:t;if(null==e||null==e["!ref"])return"";var r=lp(e["!ref"]),a=void 0!==i.FS?i.FS:",",s=a.charCodeAt(0),o=void 0!==i.RS?i.RS:"\n",c=o.charCodeAt(0),l=new RegExp(("|"==a?"\\|":a)+"+$"),h="",d=[];i.dense=Array.isArray(e);for(var u=i.skipHidden&&e["!cols"]||[],f=i.skipHidden&&e["!rows"]||[],p=r.s.c;p<=r.e.c;++p)(u[p]||{}).hidden||(d[p]=rp(p));for(var g=0,m=r.s.r;m<=r.e.r;++m)(f[m]||{}).hidden||null!=(h=zy(e,r,m,d,s,c,a,i))&&(i.strip&&(h=h.replace(l,"")),(h||!1!==i.blankrows)&&n.push((g++?o:"")+h));return delete i.dense,n.join("")}function Vy(e,t,n){var i,r=n||{},a=+!r.skipHeader,s=e||{},o=0,c=0;if(null!=r.origin)if("number"==typeof r.origin)o=r.origin;else{var l="string"==typeof r.origin?ap(r.origin):r.origin;o=l.r,c=l.c}var h={s:{c:0,r:0},e:{c:c,r:o+t.length-1+a}};if(s["!ref"]){var d=lp(s["!ref"]);h.e.c=Math.max(h.e.c,d.e.c),h.e.r=Math.max(h.e.r,d.e.r),-1==o&&(o=d.e.r+1,h.e.r=o+t.length-1+a)}else-1==o&&(o=0,h.e.r=t.length-1+a);var u=r.header||[],f=0;t.forEach((function(e,t){nu(e).forEach((function(n){-1==(f=u.indexOf(n))&&(u[f=u.length]=n);var l=e[n],h="z",d="",p=sp({c:c+f,r:o+t+a});i=Gy(s,p),!l||"object"!=typeof l||l instanceof Date?("number"==typeof l?h="n":"boolean"==typeof l?h="b":"string"==typeof l?h="s":l instanceof Date?(h="d",r.cellDates||(h="n",l=au(l)),d=r.dateNF||bd[14]):null===l&&r.nullError&&(h="e",l=0),i?(i.t=h,i.v=l,delete i.w,delete i.R,d&&(i.z=d)):s[p]=i={t:h,v:l},d&&(i.z=d)):s[p]=l}))})),h.e.c=Math.max(h.e.c,c+u.length-1);var p=np(o);if(a)for(f=0;f<u.length;++f)s[rp(f+c)+p]={t:"s",v:u[f]};return s["!ref"]=cp(h),s}function Gy(e,t,n){if("string"==typeof t){if(Array.isArray(e)){var i=ap(t);return e[i.r]||(e[i.r]=[]),e[i.r][i.c]||(e[i.r][i.c]={t:"z"})}return e[t]||(e[t]={t:"z"})}return Gy(e,sp("number"!=typeof t?t:{r:t,c:n||0}))}function Xy(){return{SheetNames:[],Sheets:{}}}function $y(e,t,n,i){var r=1;if(!n)for(;r<=65535&&-1!=e.SheetNames.indexOf(n="Sheet"+r);++r,n=void 0);if(!n||e.SheetNames.length>=65535)throw new Error("Too many worksheets");if(i&&e.SheetNames.indexOf(n)>=0){var a=n.match(/(^.*?)(\d+)$/);r=a&&+a[2]||0;var s=a&&a[1]||n;for(++r;r<=65535&&-1!=e.SheetNames.indexOf(n=s+r);++r);}if(function(e){if(e.length>31)throw new Error("Sheet names cannot exceed 31 chars");_v.forEach((function(t){if(-1!=e.indexOf(t))throw new Error("Sheet name cannot contain : \\ / ? * [ ]")}))}(n),e.SheetNames.indexOf(n)>=0)throw new Error("Worksheet with name |"+n+"| already exists!");return e.SheetNames.push(n),e.Sheets[n]=t,n}function qy(e,t,n){return t?(e.l={Target:t},n&&(e.l.Tooltip=n)):delete e.l,e}var Yy={encode_col:rp,encode_row:np,encode_cell:sp,encode_range:cp,decode_col:ip,decode_row:tp,split_cell:function(e){return e.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")},decode_cell:ap,decode_range:op,format_cell:dp,sheet_add_aoa:fp,sheet_add_json:Vy,sheet_add_dom:sy,aoa_to_sheet:pp,json_to_sheet:function(e,t){return Vy(null,e,t)},table_to_sheet:oy,table_to_book:function(e,t){return up(oy(e,t),t)},sheet_to_csv:Hy,sheet_to_txt:function(e,t){return t||(t={}),t.FS="\t",t.RS="\n",Hy(e,t)},sheet_to_json:By,sheet_to_html:function(e,t){var n=t||{},i=null!=n.header?n.header:'<html><head><meta charset="utf-8"/><title>SheetJS Table Export</title></head><body>',r=null!=n.footer?n.footer:"</body></html>",a=[i],s=op(e["!ref"]);n.dense=Array.isArray(e),a.push(function(e,t,n){return[].join("")+"<table"+(n.id?' id="'+n.id+'"':"")+">"}(0,0,n));for(var o=s.s.r;o<=s.e.r;++o)a.push(ay(e,s,o,n));return a.push("</table>"+r),a.join("")},sheet_to_formulae:function(e){var t,n="",i="";if(null==e||null==e["!ref"])return[];var r,a=lp(e["!ref"]),s="",o=[],c=[],l=Array.isArray(e);for(r=a.s.c;r<=a.e.c;++r)o[r]=rp(r);for(var h=a.s.r;h<=a.e.r;++h)for(s=np(h),r=a.s.c;r<=a.e.c;++r)if(n=o[r]+s,i="",void 0!==(t=l?(e[h]||[])[r]:e[n])){if(null!=t.F){if(n=t.F,!t.f)continue;i=t.f,-1==n.indexOf(":")&&(n=n+":"+n)}if(null!=t.f)i=t.f;else{if("z"==t.t)continue;if("n"==t.t&&null!=t.v)i=""+t.v;else if("b"==t.t)i=t.v?"TRUE":"FALSE";else if(void 0!==t.w)i="'"+t.w;else{if(void 0===t.v)continue;i="s"==t.t?"'"+t.v:""+t.v}}c[c.length]=n+"="+i}return c},sheet_to_row_object_array:By,sheet_get_cell:Gy,book_new:Xy,book_append_sheet:$y,book_set_sheet_visibility:function(e,t,n){e.Workbook||(e.Workbook={}),e.Workbook.Sheets||(e.Workbook.Sheets=[]);var i=function(e,t){if("number"==typeof t){if(t>=0&&e.SheetNames.length>t)return t;throw new Error("Cannot find sheet # "+t)}if("string"==typeof t){var n=e.SheetNames.indexOf(t);if(n>-1)return n;throw new Error("Cannot find sheet name |"+t+"|")}throw new Error("Cannot find sheet |"+t+"|")}(e,t);switch(e.Workbook.Sheets[i]||(e.Workbook.Sheets[i]={}),n){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+n)}e.Workbook.Sheets[i].Hidden=n},cell_set_number_format:function(e,t){return e.z=t,e},cell_set_hyperlink:qy,cell_set_internal_link:function(e,t,n){return qy(e,"#"+t,n)},cell_add_comment:function(e,t,n){e.c||(e.c=[]),e.c.push({t:t,a:n||"SheetJS"})},sheet_set_array_formula:function(e,t,n,i){for(var r="string"!=typeof t?t:lp(t),a="string"==typeof t?t:cp(t),s=r.s.r;s<=r.e.r;++s)for(var o=r.s.c;o<=r.e.c;++o){var c=Gy(e,s,o);c.t="n",c.F=a,delete c.v,s==r.s.r&&o==r.s.c&&(c.f=n,i&&(c.D=!0))}return e},consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}},Ky={d:(e,t)=>{for(var n in t)Ky.o(t,n)&&!Ky.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},Zy=globalThis.pdfjsLib={};Ky.d(Zy,{AbortException:()=> +/* reexport */cx,AnnotationEditorLayer:()=> +/* reexport */yA,AnnotationEditorParamsType:()=> +/* reexport */uw,AnnotationEditorType:()=> +/* reexport */dw,AnnotationEditorUIManager:()=> +/* reexport */Jx,AnnotationLayer:()=> +/* reexport */XD,AnnotationMode:()=> +/* reexport */hw,ColorPicker:()=> +/* reexport */aA,DOMSVGFactory:()=> +/* reexport */pD,DrawLayer:()=> +/* reexport */xA,FeatureTest:()=> +/* reexport */ux,GlobalWorkerOptions:()=> +/* reexport */hT,ImageKind:()=> +/* reexport */ww,InvalidPDFException:()=> +/* reexport */rx,MissingPDFException:()=> +/* reexport */ax,OPS:()=> +/* reexport */Gw,OutputScale:()=> +/* reexport */Wx,PDFDataRangeTransport:()=> +/* reexport */KT,PDFDateString:()=> +/* reexport */Rx,PDFWorker:()=> +/* reexport */tD,PasswordResponses:()=> +/* reexport */Xw,PermissionFlag:()=> +/* reexport */fw,PixelsPerInch:()=> +/* reexport */xx,RenderingCancelledException:()=> +/* reexport */Dx,TextLayer:()=> +/* reexport */WT,TouchManager:()=> +/* reexport */n_,UnexpectedResponseException:()=> +/* reexport */sx,Util:()=> +/* reexport */px,VerbosityLevel:()=> +/* reexport */Vw,XfaLayer:()=> +/* reexport */gD,build:()=> +/* reexport */lD,createValidAbsoluteUrl:()=> +/* reexport */Qw,fetchData:()=> +/* reexport */_x,getDocument:()=> +/* reexport */XT,getFilenameFromUrl:()=> +/* reexport */kx,getPdfFilenameFromUrl:()=> +/* reexport */Sx,getXfaPageViewport:()=> +/* reexport */Ix,isDataScheme:()=> +/* reexport */Ax,isPdfFile:()=> +/* reexport */Ex,noContextMenu:()=> +/* reexport */Fx,normalizeUnicode:()=> +/* reexport */bx,setLayerDimensions:()=> +/* reexport */Lx,shadow:()=> +/* reexport */ex,stopEvent:()=> +/* reexport */Mx,version:()=> +/* reexport */cD});const Jy=!("object"!=typeof process||process+""!="[object process]"||process.versions.nw||process.versions.electron&&process.type&&"browser"!==process.type),Qy=[1,0,0,1,0,0],ew=[.001,0,0,.001,0,0],tw=1.35,nw=1,iw=2,rw=4,aw=16,sw=32,ow=64,cw=128,lw=256,hw={DISABLE:0,ENABLE:1,ENABLE_FORMS:2,ENABLE_STORAGE:3},dw={DISABLE:-1,NONE:0,FREETEXT:3,HIGHLIGHT:9,STAMP:13,INK:15},uw={RESIZE:1,CREATE:2,FREETEXT_SIZE:11,FREETEXT_COLOR:12,FREETEXT_OPACITY:13,INK_COLOR:21,INK_THICKNESS:22,INK_OPACITY:23,HIGHLIGHT_COLOR:31,HIGHLIGHT_DEFAULT_COLOR:32,HIGHLIGHT_THICKNESS:33,HIGHLIGHT_FREE:34,HIGHLIGHT_SHOW_ALL:35,DRAW_STEP:41},fw={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048},pw=0,gw=1,mw=2,bw=3,vw=3,yw=4,ww={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3},xw=1,_w=2,Tw=3,Dw=4,Aw=5,Ew=6,kw=7,Sw=8,Cw=9,Uw=10,Fw=11,Mw=12,Rw=13,Iw=14,Ow=15,Nw=16,Pw=17,Lw=20,Ww=1,Bw=2,jw=3,zw=4,Hw=5,Vw={ERRORS:0,WARNINGS:1,INFOS:5},Gw={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotation:80,endAnnotation:81,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91,setStrokeTransparent:92,setFillTransparent:93},Xw={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};let $w=Vw.WARNINGS;function qw(){return $w}function Yw(e){Vw.INFOS}function Kw(e){Vw.WARNINGS}function Zw(e){throw new Error(e)}function Jw(e,t){e||Zw(t)}function Qw(e,t=null,n=null){if(!e)return null;try{if(n&&"string"==typeof e){if(n.addDefaultProtocol&&e.startsWith("www.")){const t=e.match(/\./g);(null==t?void 0:t.length)>=2&&(e=`http://${e}`)}if(n.tryConvertEncoding)try{e=decodeURIComponent(escape(e))}catch{}}const i=t?new URL(e,t):new URL(e);if(function(e){switch(null==e?void 0:e.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}(i))return i}catch{}return null}function ex(e,t,n,i=!1){return Object.defineProperty(e,t,{value:n,enumerable:!i,configurable:!0,writable:!1}),n}const tx=function(){function e(e,t){this.message=e,this.name=t}return e.prototype=new Error,e.constructor=e,e}();class nx extends tx{constructor(e,t){super(e,"PasswordException"),this.code=t}}class ix extends tx{constructor(e,t){super(e,"UnknownErrorException"),this.details=t}}class rx extends tx{constructor(e){super(e,"InvalidPDFException")}}class ax extends tx{constructor(e){super(e,"MissingPDFException")}}class sx extends tx{constructor(e,t){super(e,"UnexpectedResponseException"),this.status=t}}class ox extends tx{constructor(e){super(e,"FormatError")}}class cx extends tx{constructor(e){super(e,"AbortException")}}function lx(e){"object"==typeof e&&void 0!==(null==e?void 0:e.length)||Zw("Invalid argument for bytesToString");const t=e.length,n=8192;if(t<n)return String.fromCharCode.apply(null,e);const i=[];for(let r=0;r<t;r+=n){const a=Math.min(r+n,t),s=e.subarray(r,a);i.push(String.fromCharCode.apply(null,s))}return i.join("")}function hx(e){"string"!=typeof e&&Zw("Invalid argument for stringToBytes");const t=e.length,n=new Uint8Array(t);for(let i=0;i<t;++i)n[i]=255&e.charCodeAt(i);return n}function dx(e){const t=Object.create(null);for(const[n,i]of e)t[n]=i;return t}class ux{static get isLittleEndian(){return ex(this,"isLittleEndian",function(){const e=new Uint8Array(4);return e[0]=1,1===new Uint32Array(e.buffer,0,1)[0]}())}static get isEvalSupported(){return ex(this,"isEvalSupported",function(){try{return new Function(""),!0}catch{return!1}}())}static get isOffscreenCanvasSupported(){return ex(this,"isOffscreenCanvasSupported","undefined"!=typeof OffscreenCanvas)}static get isImageDecoderSupported(){return ex(this,"isImageDecoderSupported","undefined"!=typeof ImageDecoder)}static get platform(){return"undefined"!=typeof navigator&&"string"==typeof(null==navigator?void 0:navigator.platform)?ex(this,"platform",{isMac:navigator.platform.includes("Mac"),isWindows:navigator.platform.includes("Win"),isFirefox:"string"==typeof(null==navigator?void 0:navigator.userAgent)&&navigator.userAgent.includes("Firefox")}):ex(this,"platform",{isMac:!1,isWindows:!1,isFirefox:!1})}static get isCSSRoundSupported(){var e,t;return ex(this,"isCSSRoundSupported",null==(t=null==(e=globalThis.CSS)?void 0:e.supports)?void 0:t.call(e,"width: round(1.5px, 1px)"))}}const fx=Array.from(Array(256).keys(),(e=>e.toString(16).padStart(2,"0")));class px{static makeHexColor(e,t,n){return`#${fx[e]}${fx[t]}${fx[n]}`}static scaleMinMax(e,t){let n;e[0]?(e[0]<0&&(n=t[0],t[0]=t[2],t[2]=n),t[0]*=e[0],t[2]*=e[0],e[3]<0&&(n=t[1],t[1]=t[3],t[3]=n),t[1]*=e[3],t[3]*=e[3]):(n=t[0],t[0]=t[1],t[1]=n,n=t[2],t[2]=t[3],t[3]=n,e[1]<0&&(n=t[1],t[1]=t[3],t[3]=n),t[1]*=e[1],t[3]*=e[1],e[2]<0&&(n=t[0],t[0]=t[2],t[2]=n),t[0]*=e[2],t[2]*=e[2]),t[0]+=e[4],t[1]+=e[5],t[2]+=e[4],t[3]+=e[5]}static transform(e,t){return[e[0]*t[0]+e[2]*t[1],e[1]*t[0]+e[3]*t[1],e[0]*t[2]+e[2]*t[3],e[1]*t[2]+e[3]*t[3],e[0]*t[4]+e[2]*t[5]+e[4],e[1]*t[4]+e[3]*t[5]+e[5]]}static applyTransform(e,t){return[e[0]*t[0]+e[1]*t[2]+t[4],e[0]*t[1]+e[1]*t[3]+t[5]]}static applyInverseTransform(e,t){const n=t[0]*t[3]-t[1]*t[2];return[(e[0]*t[3]-e[1]*t[2]+t[2]*t[5]-t[4]*t[3])/n,(-e[0]*t[1]+e[1]*t[0]+t[4]*t[1]-t[5]*t[0])/n]}static getAxialAlignedBoundingBox(e,t){const n=this.applyTransform(e,t),i=this.applyTransform(e.slice(2,4),t),r=this.applyTransform([e[0],e[3]],t),a=this.applyTransform([e[2],e[1]],t);return[Math.min(n[0],i[0],r[0],a[0]),Math.min(n[1],i[1],r[1],a[1]),Math.max(n[0],i[0],r[0],a[0]),Math.max(n[1],i[1],r[1],a[1])]}static inverseTransform(e){const t=e[0]*e[3]-e[1]*e[2];return[e[3]/t,-e[1]/t,-e[2]/t,e[0]/t,(e[2]*e[5]-e[4]*e[3])/t,(e[4]*e[1]-e[5]*e[0])/t]}static singularValueDecompose2dScale(e){const t=[e[0],e[2],e[1],e[3]],n=e[0]*t[0]+e[1]*t[2],i=e[0]*t[1]+e[1]*t[3],r=e[2]*t[0]+e[3]*t[2],a=e[2]*t[1]+e[3]*t[3],s=(n+a)/2,o=Math.sqrt((n+a)**2-4*(n*a-r*i))/2,c=s+o||1,l=s-o||1;return[Math.sqrt(c),Math.sqrt(l)]}static normalizeRect(e){const t=e.slice(0);return e[0]>e[2]&&(t[0]=e[2],t[2]=e[0]),e[1]>e[3]&&(t[1]=e[3],t[3]=e[1]),t}static intersect(e,t){const n=Math.max(Math.min(e[0],e[2]),Math.min(t[0],t[2])),i=Math.min(Math.max(e[0],e[2]),Math.max(t[0],t[2]));if(n>i)return null;const r=Math.max(Math.min(e[1],e[3]),Math.min(t[1],t[3])),a=Math.min(Math.max(e[1],e[3]),Math.max(t[1],t[3]));return r>a?null:[n,r,i,a]}static bezierBoundingBox(t,i,r,a,s,o,c,l,h){return h?(h[0]=Math.min(h[0],t,c),h[1]=Math.min(h[1],i,l),h[2]=Math.max(h[2],t,c),h[3]=Math.max(h[3],i,l)):h=[Math.min(t,c),Math.min(i,l),Math.max(t,c),Math.max(i,l)],Fl(this,e,n).call(this,t,r,s,c,i,a,o,l,3*(3*(r-s)-t+c),6*(t-2*r+s),3*(r-t),h),Fl(this,e,n).call(this,t,r,s,c,i,a,o,l,3*(3*(a-o)-i+l),6*(i-2*a+o),3*(a-i),h),h}}e=new WeakSet,t=function(e,t,n,i,r,a,s,o,c,l){if(c<=0||c>=1)return;const h=1-c,d=c*c,u=d*c,f=h*(h*(h*e+3*c*t)+3*d*n)+u*i,p=h*(h*(h*r+3*c*a)+3*d*s)+u*o;l[0]=Math.min(l[0],f),l[1]=Math.min(l[1],p),l[2]=Math.max(l[2],f),l[3]=Math.max(l[3],p)},n=function(n,i,r,a,s,o,c,l,h,d,u,f){if(Math.abs(h)<1e-12)return void(Math.abs(d)>=1e-12&&Fl(this,e,t).call(this,n,i,r,a,s,o,c,l,-u/d,f));const p=d**2-4*u*h;if(p<0)return;const g=Math.sqrt(p),m=2*h;Fl(this,e,t).call(this,n,i,r,a,s,o,c,l,(-d+g)/m,f),Fl(this,e,t).call(this,n,i,r,a,s,o,c,l,(-d-g)/m,f)},Cl(px,e);let gx=null,mx=null;function bx(e){return gx||(gx=/([\u00a0\u00b5\u037e\u0eb3\u2000-\u200a\u202f\u2126\ufb00-\ufb04\ufb06\ufb20-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufba1\ufba4-\ufba9\ufbae-\ufbb1\ufbd3-\ufbdc\ufbde-\ufbe7\ufbea-\ufbf8\ufbfc-\ufbfd\ufc00-\ufc5d\ufc64-\ufcf1\ufcf5-\ufd3d\ufd88\ufdf4\ufdfa-\ufdfb\ufe71\ufe77\ufe79\ufe7b\ufe7d]+)|(\ufb05+)/gu,mx=new Map([["ſt","ſt"]])),e.replaceAll(gx,((e,t,n)=>t?t.normalize("NFKC"):mx.get(n)))}const vx="pdfjs_internal_id_";"function"!=typeof Promise.try&&(Promise.try=function(e,...t){return new Promise((n=>{n(e(...t))}))});const yx="http://www.w3.org/2000/svg",wx=class{};El(wx,"CSS",96),El(wx,"PDF",72),El(wx,"PDF_TO_CSS_UNITS",wx.CSS/wx.PDF);let xx=wx;async function _x(e,t="text"){if(Ux(e,document.baseURI)){const n=await fetch(e);if(!n.ok)throw new Error(n.statusText);switch(t){case"arraybuffer":return n.arrayBuffer();case"blob":return n.blob();case"json":return n.json()}return n.text()}return new Promise(((n,i)=>{const r=new XMLHttpRequest;r.open("GET",e,!0),r.responseType=t,r.onreadystatechange=()=>{if(r.readyState===XMLHttpRequest.DONE)if(200!==r.status&&0!==r.status)i(new Error(r.statusText));else{switch(t){case"arraybuffer":case"blob":case"json":return void n(r.response)}n(r.responseText)}},r.send(null)}))}class Tx{constructor({viewBox:e,userUnit:t,scale:n,rotation:i,offsetX:r=0,offsetY:a=0,dontFlip:s=!1}){this.viewBox=e,this.userUnit=t,this.scale=n,this.rotation=i,this.offsetX=r,this.offsetY=a,n*=t;const o=(e[2]+e[0])/2,c=(e[3]+e[1])/2;let l,h,d,u,f,p,g,m;switch((i%=360)<0&&(i+=360),i){case 180:l=-1,h=0,d=0,u=1;break;case 90:l=0,h=1,d=1,u=0;break;case 270:l=0,h=-1,d=-1,u=0;break;case 0:l=1,h=0,d=0,u=-1;break;default:throw new Error("PageViewport: Invalid rotation, must be a multiple of 90 degrees.")}s&&(d=-d,u=-u),0===l?(f=Math.abs(c-e[1])*n+r,p=Math.abs(o-e[0])*n+a,g=(e[3]-e[1])*n,m=(e[2]-e[0])*n):(f=Math.abs(o-e[0])*n+r,p=Math.abs(c-e[1])*n+a,g=(e[2]-e[0])*n,m=(e[3]-e[1])*n),this.transform=[l*n,h*n,d*n,u*n,f-l*n*o-d*n*c,p-h*n*o-u*n*c],this.width=g,this.height=m}get rawDims(){const{userUnit:e,viewBox:t}=this,n=t.map((t=>t*e));return ex(this,"rawDims",{pageWidth:n[2]-n[0],pageHeight:n[3]-n[1],pageX:n[0],pageY:n[1]})}clone({scale:e=this.scale,rotation:t=this.rotation,offsetX:n=this.offsetX,offsetY:i=this.offsetY,dontFlip:r=!1}={}){return new Tx({viewBox:this.viewBox.slice(),userUnit:this.userUnit,scale:e,rotation:t,offsetX:n,offsetY:i,dontFlip:r})}convertToViewportPoint(e,t){return px.applyTransform([e,t],this.transform)}convertToViewportRectangle(e){const t=px.applyTransform([e[0],e[1]],this.transform),n=px.applyTransform([e[2],e[3]],this.transform);return[t[0],t[1],n[0],n[1]]}convertToPdfPoint(e,t){return px.applyInverseTransform([e,t],this.transform)}}class Dx extends tx{constructor(e,t=0){super(e,"RenderingCancelledException"),this.extraDelay=t}}function Ax(e){const t=e.length;let n=0;for(;n<t&&""===e[n].trim();)n++;return"data:"===e.substring(n,n+5).toLowerCase()}function Ex(e){return"string"==typeof e&&/\.pdf$/i.test(e)}function kx(e){return[e]=e.split(/[#?]/,1),e.substring(e.lastIndexOf("/")+1)}function Sx(e,t="document.pdf"){if("string"!=typeof e)return t;if(Ax(e))return Kw(),t;const n=/[^/?#=]+\.pdf\b(?!.*\.pdf\b)/i,i=/^(?:(?:[^:]+:)?\/\/[^/]+)?([^?#]*)(\?[^#]*)?(#.*)?$/.exec(e);let r=n.exec(i[1])||n.exec(i[2])||n.exec(i[3]);if(r&&(r=r[0],r.includes("%")))try{r=n.exec(decodeURIComponent(r))[0]}catch{}return r||t}class Cx{constructor(){El(this,"started",Object.create(null)),El(this,"times",[])}time(e){e in this.started&&Kw(),this.started[e]=Date.now()}timeEnd(e){e in this.started||Kw(),this.times.push({name:e,start:this.started[e],end:Date.now()}),delete this.started[e]}toString(){const e=[];let t=0;for(const{name:n}of this.times)t=Math.max(n.length,t);for(const{name:n,start:i,end:r}of this.times)e.push(`${n.padEnd(t)} ${r-i}ms\n`);return e.join("")}}function Ux(e,t){try{const{protocol:n}=t?new URL(e,t):new URL(e);return"http:"===n||"https:"===n}catch{return!1}}function Fx(e){e.preventDefault()}function Mx(e){e.preventDefault(),e.stopPropagation()}class Rx{static toDateObject(e){if(!e||"string"!=typeof e)return null;Sl(this,i)||Ul(this,i,new RegExp("^D:(\\d{4})(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?([Z|+|-])?(\\d{2})?'?(\\d{2})?'?"));const t=Sl(this,i).exec(e);if(!t)return null;const n=parseInt(t[1],10);let r=parseInt(t[2],10);r=r>=1&&r<=12?r-1:0;let a=parseInt(t[3],10);a=a>=1&&a<=31?a:1;let s=parseInt(t[4],10);s=s>=0&&s<=23?s:0;let o=parseInt(t[5],10);o=o>=0&&o<=59?o:0;let c=parseInt(t[6],10);c=c>=0&&c<=59?c:0;const l=t[7]||"Z";let h=parseInt(t[8],10);h=h>=0&&h<=23?h:0;let d=parseInt(t[9],10)||0;return d=d>=0&&d<=59?d:0,"-"===l?(s+=h,o+=d):"+"===l&&(s-=h,o-=d),new Date(Date.UTC(n,r,a,s,o,c))}}function Ix(e,{scale:t=1,rotation:n=0}){const{width:i,height:r}=e.attributes.style,a=[0,0,parseInt(i),parseInt(r)];return new Tx({viewBox:a,userUnit:1,scale:t,rotation:n})}function Ox(e){if(e.startsWith("#")){const t=parseInt(e.slice(1),16);return[(16711680&t)>>16,(65280&t)>>8,255&t]}return e.startsWith("rgb(")?e.slice(4,-1).split(",").map((e=>parseInt(e))):e.startsWith("rgba(")?e.slice(5,-1).split(",").map((e=>parseInt(e))).slice(0,3):(Kw(),[0,0,0])}function Nx(e){const{a:t,b:n,c:i,d:r,e:a,f:s}=e.getTransform();return[t,n,i,r,a,s]}function Px(e){const{a:t,b:n,c:i,d:r,e:a,f:s}=e.getTransform().invertSelf();return[t,n,i,r,a,s]}function Lx(e,t,n=!1,i=!0){if(t instanceof Tx){const{pageWidth:i,pageHeight:r}=t.rawDims,{style:a}=e,s=ux.isCSSRoundSupported,o=`var(--scale-factor) * ${i}px`,c=`var(--scale-factor) * ${r}px`,l=s?`round(down, ${o}, var(--scale-round-x, 1px))`:`calc(${o})`,h=s?`round(down, ${c}, var(--scale-round-y, 1px))`:`calc(${c})`;n&&t.rotation%180!=0?(a.width=h,a.height=l):(a.width=l,a.height=h)}i&&e.setAttribute("data-main-rotation",t.rotation)}i=new WeakMap,Cl(Rx,i);class Wx{constructor(){const e=window.devicePixelRatio||1;this.sx=e,this.sy=e}get scaled(){return 1!==this.sx||1!==this.sy}get symmetric(){return this.sx===this.sy}}const Bx=class e{constructor(t){Cl(this,u),Cl(this,r,null),Cl(this,a,null),Cl(this,s),Cl(this,o,null),Cl(this,c,null),Ul(this,s,t),Sl(e,l)||Ul(e,l,Object.freeze({freetext:"pdfjs-editor-remove-freetext-button",highlight:"pdfjs-editor-remove-highlight-button",ink:"pdfjs-editor-remove-ink-button",stamp:"pdfjs-editor-remove-stamp-button"}))}render(){const t=Ul(this,r,document.createElement("div"));t.classList.add("editToolbar","hidden"),t.setAttribute("role","toolbar");const n=Sl(this,s)._uiManager._signal;t.addEventListener("contextmenu",Fx,{signal:n}),t.addEventListener("pointerdown",Fl(e,h,d),{signal:n});const i=Ul(this,o,document.createElement("div"));i.className="buttons",t.append(i);const a=Sl(this,s).toolbarPosition;if(a){const{style:e}=t,n="ltr"===Sl(this,s)._uiManager.direction?1-a[0]:a[0];e.insetInlineEnd=100*n+"%",e.top=`calc(${100*a[1]}% + var(--editor-toolbar-vert-offset))`}return Fl(this,u,m).call(this),t}get div(){return Sl(this,r)}hide(){var e;Sl(this,r).classList.add("hidden"),null==(e=Sl(this,a))||e.hideDropdown()}show(){var e;Sl(this,r).classList.remove("hidden"),null==(e=Sl(this,c))||e.shown()}async addAltText(e){const t=await e.render();Fl(this,u,g).call(this,t),Sl(this,o).prepend(t,Sl(this,u,b)),Ul(this,c,e)}addColorPicker(e){Ul(this,a,e);const t=e.renderButton();Fl(this,u,g).call(this,t),Sl(this,o).prepend(t,Sl(this,u,b))}remove(){var e;Sl(this,r).remove(),null==(e=Sl(this,a))||e.destroy(),Ul(this,a,null)}};r=new WeakMap,a=new WeakMap,s=new WeakMap,o=new WeakMap,c=new WeakMap,l=new WeakMap,h=new WeakSet,d=function(e){e.stopPropagation()},u=new WeakSet,f=function(e){Sl(this,s)._focusEventsAllowed=!1,Mx(e)},p=function(e){Sl(this,s)._focusEventsAllowed=!0,Mx(e)},g=function(e){const t=Sl(this,s)._uiManager._signal;e.addEventListener("focusin",Fl(this,u,f).bind(this),{capture:!0,signal:t}),e.addEventListener("focusout",Fl(this,u,p).bind(this),{capture:!0,signal:t}),e.addEventListener("contextmenu",Fx,{signal:t})},m=function(){const{editorType:e,_uiManager:t}=Sl(this,s),n=document.createElement("button");n.className="delete",n.tabIndex=0,n.setAttribute("data-l10n-id",Sl(Bx,l)[e]),Fl(this,u,g).call(this,n),n.addEventListener("click",(e=>{t.delete()}),{signal:t._signal}),Sl(this,o).append(n)},b=function(){const e=document.createElement("div");return e.className="divider",e},Cl(Bx,h),Cl(Bx,l,null);let jx=Bx;class zx{constructor(e){Cl(this,x),Cl(this,v,null),Cl(this,y,null),Cl(this,w),Ul(this,w,e)}show(e,t,n){const[i,r]=Fl(this,x,T).call(this,t,n),{style:a}=Sl(this,y)||Ul(this,y,Fl(this,x,_).call(this));e.append(Sl(this,y)),a.insetInlineEnd=100*i+"%",a.top=`calc(${100*r}% + var(--editor-toolbar-vert-offset))`}hide(){Sl(this,y).remove()}}function Hx(e,t,n){for(const i of n)t.addEventListener(i,e[i].bind(e))}v=new WeakMap,y=new WeakMap,w=new WeakMap,x=new WeakSet,_=function(){const e=Ul(this,y,document.createElement("div"));e.className="editToolbar",e.setAttribute("role","toolbar"),e.addEventListener("contextmenu",Fx,{signal:Sl(this,w)._signal});const t=Ul(this,v,document.createElement("div"));return t.className="buttons",e.append(t),Fl(this,x,D).call(this),e},T=function(e,t){let n=0,i=0;for(const r of e){const e=r.y+r.height;if(e<n)continue;const a=r.x+(t?r.width:0);e>n?(i=a,n=e):t?a>i&&(i=a):a<i&&(i=a)}return[t?1-i:i,n]},D=function(){const e=document.createElement("button");e.className="highlightButton",e.tabIndex=0,e.setAttribute("data-l10n-id","pdfjs-highlight-floating-button1");const t=document.createElement("span");e.append(t),t.className="visuallyHidden",t.setAttribute("data-l10n-id","pdfjs-highlight-floating-button-label");const n=Sl(this,w)._signal;e.addEventListener("contextmenu",Fx,{signal:n}),e.addEventListener("click",(()=>{Sl(this,w).highlightSelection("floating_button")}),{signal:n}),Sl(this,v).append(e)};class Vx{constructor(){Cl(this,A,0)}get id(){return"pdfjs_internal_editor_"+Ml(this,A)._++}}A=new WeakMap;const Gx=class{constructor(){Cl(this,C),Cl(this,E,function(){if("function"==typeof crypto.randomUUID)return crypto.randomUUID();const e=new Uint8Array(32);return crypto.getRandomValues(e),lx(e)}()),Cl(this,k,0),Cl(this,S,null)}static get _isSVGFittingCanvas(){const e=new OffscreenCanvas(1,3).getContext("2d",{willReadFrequently:!0}),t=new Image;t.src='data:image/svg+xml;charset=UTF-8,<svg viewBox="0 0 1 1" width="1" height="1" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" style="fill:red;"/></svg>';return ex(this,"_isSVGFittingCanvas",t.decode().then((()=>(e.drawImage(t,0,0,1,1,0,0,1,3),0===new Uint32Array(e.getImageData(0,0,1,1).data.buffer)[0]))))}async getFromFile(e){const{lastModified:t,name:n,size:i,type:r}=e;return Fl(this,C,U).call(this,`${t}_${n}_${i}_${r}`,e)}async getFromUrl(e){return Fl(this,C,U).call(this,e,e)}async getFromBlob(e,t){const n=await t;return Fl(this,C,U).call(this,e,n)}async getFromId(e){Sl(this,S)||Ul(this,S,new Map);const t=Sl(this,S).get(e);if(!t)return null;if(t.bitmap)return t.refCounter+=1,t;if(t.file)return this.getFromFile(t.file);if(t.blobPromise){const{blobPromise:e}=t;return delete t.blobPromise,this.getFromBlob(t.id,e)}return this.getFromUrl(t.url)}getFromCanvas(e,t){Sl(this,S)||Ul(this,S,new Map);let n=Sl(this,S).get(e);if(null==n?void 0:n.bitmap)return n.refCounter+=1,n;const i=new OffscreenCanvas(t.width,t.height);return i.getContext("2d").drawImage(t,0,0),n={bitmap:i.transferToImageBitmap(),id:`image_${Sl(this,E)}_${Ml(this,k)._++}`,refCounter:1,isSvg:!1},Sl(this,S).set(e,n),Sl(this,S).set(n.id,n),n}getSvgUrl(e){const t=Sl(this,S).get(e);return(null==t?void 0:t.isSvg)?t.svgUrl:null}deleteId(e){var t;Sl(this,S)||Ul(this,S,new Map);const n=Sl(this,S).get(e);if(!n)return;if(n.refCounter-=1,0!==n.refCounter)return;const{bitmap:i}=n;if(!n.url&&!n.file){const e=new OffscreenCanvas(i.width,i.height);e.getContext("bitmaprenderer").transferFromImageBitmap(i),n.blobPromise=e.convertToBlob()}null==(t=i.close)||t.call(i),n.bitmap=null}isValidId(e){return e.startsWith(`image_${Sl(this,E)}_`)}};E=new WeakMap,k=new WeakMap,S=new WeakMap,C=new WeakSet,U=async function(e,t){Sl(this,S)||Ul(this,S,new Map);let n=Sl(this,S).get(e);if(null===n)return null;if(null==n?void 0:n.bitmap)return n.refCounter+=1,n;try{let e;if(n||(n={bitmap:null,id:`image_${Sl(this,E)}_${Ml(this,k)._++}`,refCounter:0,isSvg:!1}),"string"==typeof t?(n.url=t,e=await _x(t,"blob")):t instanceof File?e=n.file=t:t instanceof Blob&&(e=t),"image/svg+xml"===e.type){const t=Gx._isSVGFittingCanvas,i=new FileReader,r=new Image,a=new Promise(((e,a)=>{r.onload=()=>{n.bitmap=r,n.isSvg=!0,e()},i.onload=async()=>{const e=n.svgUrl=i.result;r.src=await t?`${e}#svgView(preserveAspectRatio(none))`:e},r.onerror=i.onerror=a}));i.readAsDataURL(e),await a}else n.bitmap=await createImageBitmap(e);n.refCounter=1}catch(i){Kw(),n=null}return Sl(this,S).set(e,n),n&&Sl(this,S).set(n.id,n),n};let Xx=Gx;class $x{constructor(e=128){Cl(this,F,[]),Cl(this,M,!1),Cl(this,R),Cl(this,I,-1),Ul(this,R,e)}add({cmd:e,undo:t,post:n,mustExec:i,type:r=NaN,overwriteIfSameType:a=!1,keepUndo:s=!1}){if(i&&e(),Sl(this,M))return;const o={cmd:e,undo:t,post:n,type:r};if(-1===Sl(this,I))return Sl(this,F).length>0&&(Sl(this,F).length=0),Ul(this,I,0),void Sl(this,F).push(o);if(a&&Sl(this,F)[Sl(this,I)].type===r)return s&&(o.undo=Sl(this,F)[Sl(this,I)].undo),void(Sl(this,F)[Sl(this,I)]=o);const c=Sl(this,I)+1;c===Sl(this,R)?Sl(this,F).splice(0,1):(Ul(this,I,c),c<Sl(this,F).length&&Sl(this,F).splice(c)),Sl(this,F).push(o)}undo(){if(-1===Sl(this,I))return;Ul(this,M,!0);const{undo:e,post:t}=Sl(this,F)[Sl(this,I)];e(),null==t||t(),Ul(this,M,!1),Ul(this,I,Sl(this,I)-1)}redo(){if(Sl(this,I)<Sl(this,F).length-1){Ul(this,I,Sl(this,I)+1),Ul(this,M,!0);const{cmd:e,post:t}=Sl(this,F)[Sl(this,I)];e(),null==t||t(),Ul(this,M,!1)}}hasSomethingToUndo(){return-1!==Sl(this,I)}hasSomethingToRedo(){return Sl(this,I)<Sl(this,F).length-1}cleanType(e){if(-1!==Sl(this,I)){for(let t=Sl(this,I);t>=0;t--)if(Sl(this,F)[t].type!==e)return Sl(this,F).splice(t+1,Sl(this,I)-t),void Ul(this,I,t);Sl(this,F).length=0,Ul(this,I,-1)}}destroy(){Ul(this,F,null)}}F=new WeakMap,M=new WeakMap,R=new WeakMap,I=new WeakMap;class qx{constructor(e){Cl(this,O),this.buffer=[],this.callbacks=new Map,this.allKeys=new Set;const{isMac:t}=ux.platform;for(const[n,i,r={}]of e)for(const e of n){const n=e.startsWith("mac+");t&&n?(this.callbacks.set(e.slice(4),{callback:i,options:r}),this.allKeys.add(e.split("+").at(-1))):t||n||(this.callbacks.set(e,{callback:i,options:r}),this.allKeys.add(e.split("+").at(-1)))}}exec(e,t){if(!this.allKeys.has(t.key))return;const n=this.callbacks.get(Fl(this,O,N).call(this,t));if(!n)return;const{callback:i,options:{bubbles:r=!1,args:a=[],checker:s=null}}=n;s&&!s(e,t)||(i.bind(e,...a,t)(),r||Mx(t))}}O=new WeakSet,N=function(e){e.altKey&&this.buffer.push("alt"),e.ctrlKey&&this.buffer.push("ctrl"),e.metaKey&&this.buffer.push("meta"),e.shiftKey&&this.buffer.push("shift"),this.buffer.push(e.key);const t=this.buffer.join("+");return this.buffer.length=0,t};const Yx=class e{get _colors(){const e=new Map([["CanvasText",null],["Canvas",null]]);return function(e){const t=document.createElement("span");t.style.visibility="hidden",document.body.append(t);for(const n of e.keys()){t.style.color=n;const i=window.getComputedStyle(t).color;e.set(n,Ox(i))}t.remove()}(e),ex(this,"_colors",e)}convert(t){const n=Ox(t);if(!window.matchMedia("(forced-colors: active)").matches)return n;for(const[i,r]of this._colors)if(r.every(((e,t)=>e===n[t])))return e._colorsMapping.get(i);return n}getHexCode(e){const t=this._colors.get(e);return t?px.makeHexColor(...t):e}};El(Yx,"_colorsMapping",new Map([["CanvasText",[0,0,0]],["Canvas",[255,255,255]]]));let Kx=Yx;const Zx=class e{constructor(e,t,n,i,r,a,s,o,c,l,h,d,u){Cl(this,Ee),Cl(this,P,new AbortController),Cl(this,L,null),Cl(this,W,new Map),Cl(this,B,new Map),Cl(this,j,null),Cl(this,z,null),Cl(this,H,null),Cl(this,V,new $x),Cl(this,G,null),Cl(this,X,null),Cl(this,q,0),Cl(this,Y,new Set),Cl(this,K,null),Cl(this,Z,null),Cl(this,J,new Set),El(this,"_editorUndoBar",null),Cl(this,Q,!1),Cl(this,ee,!1),Cl(this,te,!1),Cl(this,ne,null),Cl(this,ie,null),Cl(this,re,null),Cl(this,ae,null),Cl(this,se,!1),Cl(this,oe,null),Cl(this,ce,new Vx),Cl(this,le,!1),Cl(this,he,!1),Cl(this,de,null),Cl(this,ue,null),Cl(this,fe,null),Cl(this,pe,null),Cl(this,ge,dw.NONE),Cl(this,me,new Set),Cl(this,be,null),Cl(this,ve,null),Cl(this,ye,null),Cl(this,we,{isEditing:!1,isEmpty:!0,hasSomethingToUndo:!1,hasSomethingToRedo:!1,hasSelectedEditor:!1,hasSelectedText:!1}),Cl(this,xe,[0,0]),Cl(this,_e,null),Cl(this,Te,null),Cl(this,De,null),Cl(this,Ae,null);const f=this._signal=Sl(this,P).signal;Ul(this,Te,e),Ul(this,De,t),Ul(this,j,n),this._eventBus=i,i._on("editingaction",this.onEditingAction.bind(this),{signal:f}),i._on("pagechanging",this.onPageChanging.bind(this),{signal:f}),i._on("scalechanging",this.onScaleChanging.bind(this),{signal:f}),i._on("rotationchanging",this.onRotationChanging.bind(this),{signal:f}),i._on("setpreference",this.onSetPreference.bind(this),{signal:f}),i._on("switchannotationeditorparams",(e=>this.updateParams(e.type,e.value)),{signal:f}),Fl(this,Ee,Me).call(this),Fl(this,Ee,We).call(this),Fl(this,Ee,Oe).call(this),Ul(this,z,r.annotationStorage),Ul(this,ne,r.filterFactory),Ul(this,ve,a),Ul(this,ae,s||null),Ul(this,Q,o),Ul(this,ee,c),Ul(this,te,l),Ul(this,pe,h||null),this.viewParameters={realScale:xx.PDF_TO_CSS_UNITS,rotation:0},this.isShiftKeyDown=!1,this._editorUndoBar=d||null,this._supportsPinchToZoom=!1!==u}static get _keyboardManager(){const t=e.prototype,n=e=>Sl(e,Te).contains(document.activeElement)&&"BUTTON"!==document.activeElement.tagName&&e.hasSomethingToControl(),i=(e,{target:t})=>{if(t instanceof HTMLInputElement){const{type:e}=t;return"text"!==e&&"number"!==e}return!0},r=this.TRANSLATE_SMALL,a=this.TRANSLATE_BIG;return ex(this,"_keyboardManager",new qx([[["ctrl+a","mac+meta+a"],t.selectAll,{checker:i}],[["ctrl+z","mac+meta+z"],t.undo,{checker:i}],[["ctrl+y","ctrl+shift+z","mac+meta+shift+z","ctrl+shift+Z","mac+meta+shift+Z"],t.redo,{checker:i}],[["Backspace","alt+Backspace","ctrl+Backspace","shift+Backspace","mac+Backspace","mac+alt+Backspace","mac+ctrl+Backspace","Delete","ctrl+Delete","shift+Delete","mac+Delete"],t.delete,{checker:i}],[["Enter","mac+Enter"],t.addNewEditorFromKeyboard,{checker:(e,{target:t})=>!(t instanceof HTMLButtonElement)&&Sl(e,Te).contains(t)&&!e.isEnterHandled}],[[" ","mac+ "],t.addNewEditorFromKeyboard,{checker:(e,{target:t})=>!(t instanceof HTMLButtonElement)&&Sl(e,Te).contains(document.activeElement)}],[["Escape","mac+Escape"],t.unselectAll],[["ArrowLeft","mac+ArrowLeft"],t.translateSelectedEditors,{args:[-r,0],checker:n}],[["ctrl+ArrowLeft","mac+shift+ArrowLeft"],t.translateSelectedEditors,{args:[-a,0],checker:n}],[["ArrowRight","mac+ArrowRight"],t.translateSelectedEditors,{args:[r,0],checker:n}],[["ctrl+ArrowRight","mac+shift+ArrowRight"],t.translateSelectedEditors,{args:[a,0],checker:n}],[["ArrowUp","mac+ArrowUp"],t.translateSelectedEditors,{args:[0,-r],checker:n}],[["ctrl+ArrowUp","mac+shift+ArrowUp"],t.translateSelectedEditors,{args:[0,-a],checker:n}],[["ArrowDown","mac+ArrowDown"],t.translateSelectedEditors,{args:[0,r],checker:n}],[["ctrl+ArrowDown","mac+shift+ArrowDown"],t.translateSelectedEditors,{args:[0,a],checker:n}]]))}destroy(){var e,t,n,i,r;null==(e=Sl(this,Ae))||e.resolve(),Ul(this,Ae,null),null==(t=Sl(this,P))||t.abort(),Ul(this,P,null),this._signal=null;for(const a of Sl(this,B).values())a.destroy();Sl(this,B).clear(),Sl(this,W).clear(),Sl(this,J).clear(),Ul(this,L,null),Sl(this,me).clear(),Sl(this,V).destroy(),null==(n=Sl(this,j))||n.destroy(),null==(i=Sl(this,oe))||i.hide(),Ul(this,oe,null),Sl(this,ie)&&(clearTimeout(Sl(this,ie)),Ul(this,ie,null)),Sl(this,_e)&&(clearTimeout(Sl(this,_e)),Ul(this,_e,null)),null==(r=this._editorUndoBar)||r.destroy()}combinedSignal(e){return AbortSignal.any([this._signal,e.signal])}get mlManager(){return Sl(this,pe)}get useNewAltTextFlow(){return Sl(this,ee)}get useNewAltTextWhenAddingImage(){return Sl(this,te)}get hcmFilter(){return ex(this,"hcmFilter",Sl(this,ve)?Sl(this,ne).addHCMFilter(Sl(this,ve).foreground,Sl(this,ve).background):"none")}get direction(){return ex(this,"direction",getComputedStyle(Sl(this,Te)).direction)}get highlightColors(){return ex(this,"highlightColors",Sl(this,ae)?new Map(Sl(this,ae).split(",").map((e=>e.split("=").map((e=>e.trim()))))):null)}get highlightColorNames(){return ex(this,"highlightColorNames",this.highlightColors?new Map(Array.from(this.highlightColors,(e=>e.reverse()))):null)}setCurrentDrawingSession(e){e?(this.unselectAll(),this.disableUserSelect(!0)):this.disableUserSelect(!1),Ul(this,X,e)}setMainHighlightColorPicker(e){Ul(this,fe,e)}editAltText(e,t=!1){var n;null==(n=Sl(this,j))||n.editAltText(this,e,t)}switchToMode(e,t){this._eventBus.on("annotationeditormodechanged",t,{once:!0,signal:this._signal}),this._eventBus.dispatch("showannotationeditorui",{source:this,mode:e})}setPreference(e,t){this._eventBus.dispatch("setpreference",{source:this,name:e,value:t})}onSetPreference({name:e,value:t}){if("enableNewAltTextWhenAddingImage"===e)Ul(this,te,t)}onPageChanging({pageNumber:e}){Ul(this,q,e-1)}focusMainContainer(){Sl(this,Te).focus()}findParent(e,t){for(const n of Sl(this,B).values()){const{x:i,y:r,width:a,height:s}=n.div.getBoundingClientRect();if(e>=i&&e<=i+a&&t>=r&&t<=r+s)return n}return null}disableUserSelect(e=!1){Sl(this,De).classList.toggle("noUserSelect",e)}addShouldRescale(e){Sl(this,J).add(e)}removeShouldRescale(e){Sl(this,J).delete(e)}onScaleChanging({scale:e}){var t;this.commitOrRemove(),this.viewParameters.realScale=e*xx.PDF_TO_CSS_UNITS;for(const n of Sl(this,J))n.onScaleChanging();null==(t=Sl(this,X))||t.onScaleChanging()}onRotationChanging({pagesRotation:e}){this.commitOrRemove(),this.viewParameters.rotation=e}highlightSelection(e=""){const t=document.getSelection();if(!t||t.isCollapsed)return;const{anchorNode:n,anchorOffset:i,focusNode:r,focusOffset:a}=t,s=t.toString(),o=Fl(this,Ee,ke).call(this,t).closest(".textLayer"),c=this.getSelectionBoxes(o);if(!c)return;t.empty();const l=Fl(this,Ee,Se).call(this,o),h=Sl(this,ge)===dw.NONE,d=()=>{null==l||l.createAndAddNewEditor({x:0,y:0},!1,{methodOfCreation:e,boxes:c,anchorNode:n,anchorOffset:i,focusNode:r,focusOffset:a,text:s}),h&&this.showAllEditors("highlight",!0,!0)};h?this.switchToMode(dw.HIGHLIGHT,d):d()}addToAnnotationStorage(e){e.isEmpty()||!Sl(this,z)||Sl(this,z).has(e.id)||Sl(this,z).setValue(e.id,e)}blur(){if(this.isShiftKeyDown=!1,Sl(this,se)&&(Ul(this,se,!1),Fl(this,Ee,Fe).call(this,"main_toolbar")),!this.hasSelection)return;const{activeElement:e}=document;for(const t of Sl(this,me))if(t.div.contains(e)){Ul(this,ue,[t,e]),t._focusEventsAllowed=!1;break}}focus(){if(!Sl(this,ue))return;const[e,t]=Sl(this,ue);Ul(this,ue,null),t.addEventListener("focusin",(()=>{e._focusEventsAllowed=!0}),{once:!0,signal:this._signal}),t.focus()}addEditListeners(){Fl(this,Ee,Oe).call(this),Fl(this,Ee,Pe).call(this)}removeEditListeners(){Fl(this,Ee,Ne).call(this),Fl(this,Ee,Le).call(this)}dragOver(e){for(const{type:t}of e.dataTransfer.items)for(const n of Sl(this,Z))if(n.isHandlingMimeForPasting(t))return e.dataTransfer.dropEffect="copy",void e.preventDefault()}drop(e){for(const t of e.dataTransfer.items)for(const n of Sl(this,Z))if(n.isHandlingMimeForPasting(t.type))return n.paste(t,this.currentLayer),void e.preventDefault()}copy(e){var t;if(e.preventDefault(),null==(t=Sl(this,L))||t.commitOrRemove(),!this.hasSelection)return;const n=[];for(const i of Sl(this,me)){const e=i.serialize(!0);e&&n.push(e)}0!==n.length&&e.clipboardData.setData("application/pdfjs",JSON.stringify(n))}cut(e){this.copy(e),this.delete()}async paste(e){e.preventDefault();const{clipboardData:t}=e;for(const a of t.items)for(const e of Sl(this,Z))if(e.isHandlingMimeForPasting(a.type))return void e.paste(a,this.currentLayer);let n=t.getData("application/pdfjs");if(!n)return;try{n=JSON.parse(n)}catch(r){return void Kw(r.message)}if(!Array.isArray(n))return;this.unselectAll();const i=this.currentLayer;try{const e=[];for(const a of n){const t=await i.deserialize(a);if(!t)return;e.push(t)}const t=()=>{for(const t of e)Fl(this,Ee,Ve).call(this,t);Fl(this,Ee,$e).call(this,e)},r=()=>{for(const t of e)t.remove()};this.addCommands({cmd:t,undo:r,mustExec:!0})}catch(r){Kw(r.message)}}keydown(t){this.isShiftKeyDown||"Shift"!==t.key||(this.isShiftKeyDown=!0),Sl(this,ge)===dw.NONE||this.isEditorHandlingKeyboard||e._keyboardManager.exec(this,t)}keyup(e){this.isShiftKeyDown&&"Shift"===e.key&&(this.isShiftKeyDown=!1,Sl(this,se)&&(Ul(this,se,!1),Fl(this,Ee,Fe).call(this,"main_toolbar")))}onEditingAction({name:e}){switch(e){case"undo":case"redo":case"delete":case"selectAll":this[e]();break;case"highlightSelection":this.highlightSelection("context_menu")}}setEditingState(e){e?(Fl(this,Ee,Re).call(this),Fl(this,Ee,Pe).call(this),Fl(this,Ee,Be).call(this,{isEditing:Sl(this,ge)!==dw.NONE,isEmpty:Fl(this,Ee,Xe).call(this),hasSomethingToUndo:Sl(this,V).hasSomethingToUndo(),hasSomethingToRedo:Sl(this,V).hasSomethingToRedo(),hasSelectedEditor:!1})):(Fl(this,Ee,Ie).call(this),Fl(this,Ee,Le).call(this),Fl(this,Ee,Be).call(this,{isEditing:!1}),this.disableUserSelect(!1))}registerEditorTypes(e){if(!Sl(this,Z)){Ul(this,Z,e);for(const e of Sl(this,Z))Fl(this,Ee,je).call(this,e.defaultPropertiesToUpdate)}}getId(){return Sl(this,ce).id}get currentLayer(){return Sl(this,B).get(Sl(this,q))}getLayer(e){return Sl(this,B).get(e)}get currentPageIndex(){return Sl(this,q)}addLayer(e){Sl(this,B).set(e.pageIndex,e),Sl(this,le)?e.enable():e.disable()}removeLayer(e){Sl(this,B).delete(e.pageIndex)}async updateMode(e,t=null,n=!1){var i;if(Sl(this,ge)!==e&&(!Sl(this,Ae)||(await Sl(this,Ae).promise,Sl(this,Ae)))){if(Ul(this,Ae,Promise.withResolvers()),Ul(this,ge,e),e===dw.NONE)return this.setEditingState(!1),Fl(this,Ee,He).call(this),null==(i=this._editorUndoBar)||i.hide(),void Sl(this,Ae).resolve();this.setEditingState(!0),await Fl(this,Ee,ze).call(this),this.unselectAll();for(const t of Sl(this,B).values())t.updateMode(e);if(!t)return n&&this.addNewEditorFromKeyboard(),void Sl(this,Ae).resolve();for(const e of Sl(this,W).values())e.annotationElementId===t?(this.setSelected(e),e.enterInEditMode()):e.unselect();Sl(this,Ae).resolve()}}addNewEditorFromKeyboard(){this.currentLayer.canCreateNewEmptyEditor()&&this.currentLayer.addNewEditor()}updateToolbar(e){e!==Sl(this,ge)&&this._eventBus.dispatch("switchannotationeditormode",{source:this,mode:e})}updateParams(e,t){var n;if(Sl(this,Z)){switch(e){case uw.CREATE:return void this.currentLayer.addNewEditor();case uw.HIGHLIGHT_DEFAULT_COLOR:null==(n=Sl(this,fe))||n.updateColor(t);break;case uw.HIGHLIGHT_SHOW_ALL:this._eventBus.dispatch("reporttelemetry",{source:this,details:{type:"editing",data:{type:"highlight",action:"toggle_visibility"}}}),(Sl(this,ye)||Ul(this,ye,new Map)).set(e,t),this.showAllEditors("highlight",t)}for(const n of Sl(this,me))n.updateParams(e,t);for(const n of Sl(this,Z))n.updateDefaultParams(e,t)}}showAllEditors(e,t,n=!1){var i;for(const r of Sl(this,W).values())r.editorType===e&&r.show(t);((null==(i=Sl(this,ye))?void 0:i.get(uw.HIGHLIGHT_SHOW_ALL))??!0)!==t&&Fl(this,Ee,je).call(this,[[uw.HIGHLIGHT_SHOW_ALL,t]])}enableWaiting(e=!1){if(Sl(this,he)!==e){Ul(this,he,e);for(const t of Sl(this,B).values())e?t.disableClick():t.enableClick(),t.div.classList.toggle("waiting",e)}}getEditors(e){const t=[];for(const n of Sl(this,W).values())n.pageIndex===e&&t.push(n);return t}getEditor(e){return Sl(this,W).get(e)}addEditor(e){Sl(this,W).set(e.id,e)}removeEditor(e){var t;e.div.contains(document.activeElement)&&(Sl(this,ie)&&clearTimeout(Sl(this,ie)),Ul(this,ie,setTimeout((()=>{this.focusMainContainer(),Ul(this,ie,null)}),0))),Sl(this,W).delete(e.id),this.unselect(e),e.annotationElementId&&Sl(this,Y).has(e.annotationElementId)||null==(t=Sl(this,z))||t.remove(e.id)}addDeletedAnnotationElement(e){Sl(this,Y).add(e.annotationElementId),this.addChangedExistingAnnotation(e),e.deleted=!0}isDeletedAnnotationElement(e){return Sl(this,Y).has(e)}removeDeletedAnnotationElement(e){Sl(this,Y).delete(e.annotationElementId),this.removeChangedExistingAnnotation(e),e.deleted=!1}setActiveEditor(e){Sl(this,L)!==e&&(Ul(this,L,e),e&&Fl(this,Ee,je).call(this,e.propertiesToUpdate))}updateUI(e){Sl(this,Ee,Ge)===e&&Fl(this,Ee,je).call(this,e.propertiesToUpdate)}updateUIForDefaultProperties(e){Fl(this,Ee,je).call(this,e.defaultPropertiesToUpdate)}toggleSelected(e){if(Sl(this,me).has(e))return Sl(this,me).delete(e),e.unselect(),void Fl(this,Ee,Be).call(this,{hasSelectedEditor:this.hasSelection});Sl(this,me).add(e),e.select(),Fl(this,Ee,je).call(this,e.propertiesToUpdate),Fl(this,Ee,Be).call(this,{hasSelectedEditor:!0})}setSelected(e){var t;null==(t=Sl(this,X))||t.commitOrRemove();for(const n of Sl(this,me))n!==e&&n.unselect();Sl(this,me).clear(),Sl(this,me).add(e),e.select(),Fl(this,Ee,je).call(this,e.propertiesToUpdate),Fl(this,Ee,Be).call(this,{hasSelectedEditor:!0})}isSelected(e){return Sl(this,me).has(e)}get firstSelectedEditor(){return Sl(this,me).values().next().value}unselect(e){e.unselect(),Sl(this,me).delete(e),Fl(this,Ee,Be).call(this,{hasSelectedEditor:this.hasSelection})}get hasSelection(){return 0!==Sl(this,me).size}get isEnterHandled(){return 1===Sl(this,me).size&&this.firstSelectedEditor.isEnterHandled}undo(){var e;Sl(this,V).undo(),Fl(this,Ee,Be).call(this,{hasSomethingToUndo:Sl(this,V).hasSomethingToUndo(),hasSomethingToRedo:!0,isEmpty:Fl(this,Ee,Xe).call(this)}),null==(e=this._editorUndoBar)||e.hide()}redo(){Sl(this,V).redo(),Fl(this,Ee,Be).call(this,{hasSomethingToUndo:!0,hasSomethingToRedo:Sl(this,V).hasSomethingToRedo(),isEmpty:Fl(this,Ee,Xe).call(this)})}addCommands(e){Sl(this,V).add(e),Fl(this,Ee,Be).call(this,{hasSomethingToUndo:!0,hasSomethingToRedo:!1,isEmpty:Fl(this,Ee,Xe).call(this)})}cleanUndoStack(e){Sl(this,V).cleanType(e)}delete(){var e;this.commitOrRemove();const t=null==(e=this.currentLayer)?void 0:e.endDrawingSession(!0);if(!this.hasSelection&&!t)return;const n=t?[t]:[...Sl(this,me)],i=()=>{for(const e of n)Fl(this,Ee,Ve).call(this,e)};this.addCommands({cmd:()=>{var e;null==(e=this._editorUndoBar)||e.show(i,1===n.length?n[0].editorType:n.length);for(const t of n)t.remove()},undo:i,mustExec:!0})}commitOrRemove(){var e;null==(e=Sl(this,L))||e.commitOrRemove()}hasSomethingToControl(){return Sl(this,L)||this.hasSelection}selectAll(){for(const e of Sl(this,me))e.commit();Fl(this,Ee,$e).call(this,Sl(this,W).values())}unselectAll(){var e;if((!Sl(this,L)||(Sl(this,L).commitOrRemove(),Sl(this,ge)===dw.NONE))&&!(null==(e=Sl(this,X))?void 0:e.commitOrRemove())&&this.hasSelection){for(const e of Sl(this,me))e.unselect();Sl(this,me).clear(),Fl(this,Ee,Be).call(this,{hasSelectedEditor:!1})}}translateSelectedEditors(e,t,n=!1){if(n||this.commitOrRemove(),!this.hasSelection)return;Sl(this,xe)[0]+=e,Sl(this,xe)[1]+=t;const[i,r]=Sl(this,xe),a=[...Sl(this,me)];Sl(this,_e)&&clearTimeout(Sl(this,_e)),Ul(this,_e,setTimeout((()=>{Ul(this,_e,null),Sl(this,xe)[0]=Sl(this,xe)[1]=0,this.addCommands({cmd:()=>{for(const e of a)Sl(this,W).has(e.id)&&e.translateInPage(i,r)},undo:()=>{for(const e of a)Sl(this,W).has(e.id)&&e.translateInPage(-i,-r)},mustExec:!1})}),1e3));for(const s of a)s.translateInPage(e,t)}setUpDragSession(){if(this.hasSelection){this.disableUserSelect(!0),Ul(this,K,new Map);for(const e of Sl(this,me))Sl(this,K).set(e,{savedX:e.x,savedY:e.y,savedPageIndex:e.pageIndex,newX:0,newY:0,newPageIndex:-1})}}endDragSession(){if(!Sl(this,K))return!1;this.disableUserSelect(!1);const e=Sl(this,K);Ul(this,K,null);let t=!1;for(const[{x:i,y:r,pageIndex:a},s]of e)s.newX=i,s.newY=r,s.newPageIndex=a,t||(t=i!==s.savedX||r!==s.savedY||a!==s.savedPageIndex);if(!t)return!1;const n=(e,t,n,i)=>{if(Sl(this,W).has(e.id)){const r=Sl(this,B).get(i);r?e._setParentAndPosition(r,t,n):(e.pageIndex=i,e.x=t,e.y=n)}};return this.addCommands({cmd:()=>{for(const[t,{newX:i,newY:r,newPageIndex:a}]of e)n(t,i,r,a)},undo:()=>{for(const[t,{savedX:i,savedY:r,savedPageIndex:a}]of e)n(t,i,r,a)},mustExec:!0}),!0}dragSelectedEditors(e,t){if(Sl(this,K))for(const n of Sl(this,K).keys())n.drag(e,t)}rebuild(e){if(null===e.parent){const t=this.getLayer(e.pageIndex);t?(t.changeParent(e),t.addOrRebuild(e)):(this.addEditor(e),this.addToAnnotationStorage(e),e.rebuild())}else e.parent.addOrRebuild(e)}get isEditorHandlingKeyboard(){var e;return(null==(e=this.getActive())?void 0:e.shouldGetKeyboardEvents())||1===Sl(this,me).size&&this.firstSelectedEditor.shouldGetKeyboardEvents()}isActive(e){return Sl(this,L)===e}getActive(){return Sl(this,L)}getMode(){return Sl(this,ge)}get imageManager(){return ex(this,"imageManager",new Xx)}getSelectionBoxes(e){if(!e)return null;const t=document.getSelection();for(let c=0,l=t.rangeCount;c<l;c++)if(!e.contains(t.getRangeAt(c).commonAncestorContainer))return null;const{x:n,y:i,width:r,height:a}=e.getBoundingClientRect();let s;switch(e.getAttribute("data-main-rotation")){case"90":s=(e,t,s,o)=>({x:(t-i)/a,y:1-(e+s-n)/r,width:o/a,height:s/r});break;case"180":s=(e,t,s,o)=>({x:1-(e+s-n)/r,y:1-(t+o-i)/a,width:s/r,height:o/a});break;case"270":s=(e,t,s,o)=>({x:1-(t+o-i)/a,y:(e-n)/r,width:o/a,height:s/r});break;default:s=(e,t,s,o)=>({x:(e-n)/r,y:(t-i)/a,width:s/r,height:o/a})}const o=[];for(let c=0,l=t.rangeCount;c<l;c++){const e=t.getRangeAt(c);if(!e.collapsed)for(const{x:t,y:n,width:i,height:r}of e.getClientRects())0!==i&&0!==r&&o.push(s(t,n,i,r))}return 0===o.length?null:o}addChangedExistingAnnotation({annotationElementId:e,id:t}){(Sl(this,H)||Ul(this,H,new Map)).set(e,t)}removeChangedExistingAnnotation({annotationElementId:e}){var t;null==(t=Sl(this,H))||t.delete(e)}renderAnnotationElement(e){var t;const n=null==(t=Sl(this,H))?void 0:t.get(e.data.id);if(!n)return;const i=Sl(this,z).getRawValue(n);i&&(Sl(this,ge)!==dw.NONE||i.hasBeenModified)&&i.renderAnnotationElement(e)}};P=new WeakMap,L=new WeakMap,W=new WeakMap,B=new WeakMap,j=new WeakMap,z=new WeakMap,H=new WeakMap,V=new WeakMap,G=new WeakMap,X=new WeakMap,q=new WeakMap,Y=new WeakMap,K=new WeakMap,Z=new WeakMap,J=new WeakMap,Q=new WeakMap,ee=new WeakMap,te=new WeakMap,ne=new WeakMap,ie=new WeakMap,re=new WeakMap,ae=new WeakMap,se=new WeakMap,oe=new WeakMap,ce=new WeakMap,le=new WeakMap,he=new WeakMap,de=new WeakMap,ue=new WeakMap,fe=new WeakMap,pe=new WeakMap,ge=new WeakMap,me=new WeakMap,be=new WeakMap,ve=new WeakMap,ye=new WeakMap,we=new WeakMap,xe=new WeakMap,_e=new WeakMap,Te=new WeakMap,De=new WeakMap,Ae=new WeakMap,Ee=new WeakSet,ke=function({anchorNode:e}){return e.nodeType===Node.TEXT_NODE?e.parentElement:e},Se=function(e){const{currentLayer:t}=this;if(t.hasTextLayer(e))return t;for(const n of Sl(this,B).values())if(n.hasTextLayer(e))return n;return null},Ce=function(){const e=document.getSelection();if(!e||e.isCollapsed)return;const t=Fl(this,Ee,ke).call(this,e).closest(".textLayer"),n=this.getSelectionBoxes(t);n&&(Sl(this,oe)||Ul(this,oe,new zx(this)),Sl(this,oe).show(t,n,"ltr"===this.direction))},Ue=function(){var e,t,n;const i=document.getSelection();if(!i||i.isCollapsed)return void(Sl(this,be)&&(null==(e=Sl(this,oe))||e.hide(),Ul(this,be,null),Fl(this,Ee,Be).call(this,{hasSelectedText:!1})));const{anchorNode:r}=i;if(r===Sl(this,be))return;const a=Fl(this,Ee,ke).call(this,i).closest(".textLayer");if(a){if(null==(n=Sl(this,oe))||n.hide(),Ul(this,be,r),Fl(this,Ee,Be).call(this,{hasSelectedText:!0}),(Sl(this,ge)===dw.HIGHLIGHT||Sl(this,ge)===dw.NONE)&&(Sl(this,ge)===dw.HIGHLIGHT&&this.showAllEditors("highlight",!0,!0),Ul(this,se,this.isShiftKeyDown),!this.isShiftKeyDown)){const e=Sl(this,ge)===dw.HIGHLIGHT?Fl(this,Ee,Se).call(this,a):null;null==e||e.toggleDrawing();const t=new AbortController,n=this.combinedSignal(t),i=n=>{"pointerup"===n.type&&0!==n.button||(t.abort(),null==e||e.toggleDrawing(!0),"pointerup"===n.type&&Fl(this,Ee,Fe).call(this,"main_toolbar"))};window.addEventListener("pointerup",i,{signal:n}),window.addEventListener("blur",i,{signal:n})}}else Sl(this,be)&&(null==(t=Sl(this,oe))||t.hide(),Ul(this,be,null),Fl(this,Ee,Be).call(this,{hasSelectedText:!1}))},Fe=function(e=""){Sl(this,ge)===dw.HIGHLIGHT?this.highlightSelection(e):Sl(this,Q)&&Fl(this,Ee,Ce).call(this)},Me=function(){document.addEventListener("selectionchange",Fl(this,Ee,Ue).bind(this),{signal:this._signal})},Re=function(){if(Sl(this,re))return;Ul(this,re,new AbortController);const e=this.combinedSignal(Sl(this,re));window.addEventListener("focus",this.focus.bind(this),{signal:e}),window.addEventListener("blur",this.blur.bind(this),{signal:e})},Ie=function(){var e;null==(e=Sl(this,re))||e.abort(),Ul(this,re,null)},Oe=function(){if(Sl(this,de))return;Ul(this,de,new AbortController);const e=this.combinedSignal(Sl(this,de));window.addEventListener("keydown",this.keydown.bind(this),{signal:e}),window.addEventListener("keyup",this.keyup.bind(this),{signal:e})},Ne=function(){var e;null==(e=Sl(this,de))||e.abort(),Ul(this,de,null)},Pe=function(){if(Sl(this,G))return;Ul(this,G,new AbortController);const e=this.combinedSignal(Sl(this,G));document.addEventListener("copy",this.copy.bind(this),{signal:e}),document.addEventListener("cut",this.cut.bind(this),{signal:e}),document.addEventListener("paste",this.paste.bind(this),{signal:e})},Le=function(){var e;null==(e=Sl(this,G))||e.abort(),Ul(this,G,null)},We=function(){const e=this._signal;document.addEventListener("dragover",this.dragOver.bind(this),{signal:e}),document.addEventListener("drop",this.drop.bind(this),{signal:e})},Be=function(e){Object.entries(e).some((([e,t])=>Sl(this,we)[e]!==t))&&(this._eventBus.dispatch("annotationeditorstateschanged",{source:this,details:Object.assign(Sl(this,we),e)}),Sl(this,ge)===dw.HIGHLIGHT&&!1===e.hasSelectedEditor&&Fl(this,Ee,je).call(this,[[uw.HIGHLIGHT_FREE,!0]]))},je=function(e){this._eventBus.dispatch("annotationeditorparamschanged",{source:this,details:e})},ze=async function(){if(!Sl(this,le)){Ul(this,le,!0);const e=[];for(const t of Sl(this,B).values())e.push(t.enable());await Promise.all(e);for(const t of Sl(this,W).values())t.enable()}},He=function(){if(this.unselectAll(),Sl(this,le)){Ul(this,le,!1);for(const e of Sl(this,B).values())e.disable();for(const e of Sl(this,W).values())e.disable()}},Ve=function(e){const t=Sl(this,B).get(e.pageIndex);t?t.addOrRebuild(e):(this.addEditor(e),this.addToAnnotationStorage(e))},Ge=function(){let e=null;for(e of Sl(this,me));return e},Xe=function(){if(0===Sl(this,W).size)return!0;if(1===Sl(this,W).size)for(const e of Sl(this,W).values())return e.isEmpty();return!1},$e=function(e){for(const t of Sl(this,me))t.unselect();Sl(this,me).clear();for(const t of e)t.isEmpty()||(Sl(this,me).add(t),t.select());Fl(this,Ee,Be).call(this,{hasSelectedEditor:this.hasSelection})},El(Zx,"TRANSLATE_SMALL",1),El(Zx,"TRANSLATE_BIG",10);let Jx=Zx;const Qx=class e{constructor(t){Cl(this,ot),Cl(this,qe,null),Cl(this,Ye,!1),Cl(this,Ke,null),Cl(this,Ze,null),Cl(this,Je,null),Cl(this,Qe,null),Cl(this,et,!1),Cl(this,tt,null),Cl(this,nt,null),Cl(this,it,null),Cl(this,rt,null),Cl(this,at,!1),Ul(this,nt,t),Ul(this,at,t._uiManager.useNewAltTextFlow),Sl(e,st)||Ul(e,st,Object.freeze({added:"pdfjs-editor-new-alt-text-added-button","added-label":"pdfjs-editor-new-alt-text-added-button-label",missing:"pdfjs-editor-new-alt-text-missing-button","missing-label":"pdfjs-editor-new-alt-text-missing-button-label",review:"pdfjs-editor-new-alt-text-to-review-button","review-label":"pdfjs-editor-new-alt-text-to-review-button-label"}))}static initialize(t){e._l10n??(e._l10n=t)}async render(){const t=Ul(this,Ke,document.createElement("button"));t.className="altText",t.tabIndex="0";const n=Ul(this,Ze,document.createElement("span"));t.append(n),Sl(this,at)?(t.classList.add("new"),t.setAttribute("data-l10n-id",Sl(e,st).missing),n.setAttribute("data-l10n-id",Sl(e,st)["missing-label"])):(t.setAttribute("data-l10n-id","pdfjs-editor-alt-text-button"),n.setAttribute("data-l10n-id","pdfjs-editor-alt-text-button-label"));const i=Sl(this,nt)._uiManager._signal;t.addEventListener("contextmenu",Fx,{signal:i}),t.addEventListener("pointerdown",(e=>e.stopPropagation()),{signal:i});const r=e=>{e.preventDefault(),Sl(this,nt)._uiManager.editAltText(Sl(this,nt)),Sl(this,at)&&Sl(this,nt)._reportTelemetry({action:"pdfjs.image.alt_text.image_status_label_clicked",data:{label:Sl(this,ot,ct)}})};return t.addEventListener("click",r,{capture:!0,signal:i}),t.addEventListener("keydown",(e=>{e.target===t&&"Enter"===e.key&&(Ul(this,et,!0),r(e))}),{signal:i}),await Fl(this,ot,lt).call(this),t}finish(){Sl(this,Ke)&&(Sl(this,Ke).focus({focusVisible:Sl(this,et)}),Ul(this,et,!1))}isEmpty(){return Sl(this,at)?null===Sl(this,qe):!Sl(this,qe)&&!Sl(this,Ye)}hasData(){return Sl(this,at)?null!==Sl(this,qe)||!!Sl(this,it):this.isEmpty()}get guessedText(){return Sl(this,it)}async setGuessedText(t){null===Sl(this,qe)&&(Ul(this,it,t),Ul(this,rt,await e._l10n.get("pdfjs-editor-new-alt-text-generated-alt-text-with-disclaimer",{generatedAltText:t})),Fl(this,ot,lt).call(this))}toggleAltTextBadge(e=!1){var t;if(!Sl(this,at)||Sl(this,qe))return null==(t=Sl(this,tt))||t.remove(),void Ul(this,tt,null);if(!Sl(this,tt)){const e=Ul(this,tt,document.createElement("div"));e.className="noAltTextBadge",Sl(this,nt).div.append(e)}Sl(this,tt).classList.toggle("hidden",!e)}serialize(e){let t=Sl(this,qe);return e||Sl(this,it)!==t||(t=Sl(this,rt)),{altText:t,decorative:Sl(this,Ye),guessedText:Sl(this,it),textWithDisclaimer:Sl(this,rt)}}get data(){return{altText:Sl(this,qe),decorative:Sl(this,Ye)}}set data({altText:e,decorative:t,guessedText:n,textWithDisclaimer:i,cancel:r=!1}){n&&(Ul(this,it,n),Ul(this,rt,i)),Sl(this,qe)===e&&Sl(this,Ye)===t||(r||(Ul(this,qe,e),Ul(this,Ye,t)),Fl(this,ot,lt).call(this))}toggle(e=!1){Sl(this,Ke)&&(!e&&Sl(this,Qe)&&(clearTimeout(Sl(this,Qe)),Ul(this,Qe,null)),Sl(this,Ke).disabled=!e)}shown(){Sl(this,nt)._reportTelemetry({action:"pdfjs.image.alt_text.image_status_label_displayed",data:{label:Sl(this,ot,ct)}})}destroy(){var e,t;null==(e=Sl(this,Ke))||e.remove(),Ul(this,Ke,null),Ul(this,Ze,null),Ul(this,Je,null),null==(t=Sl(this,tt))||t.remove(),Ul(this,tt,null)}};qe=new WeakMap,Ye=new WeakMap,Ke=new WeakMap,Ze=new WeakMap,Je=new WeakMap,Qe=new WeakMap,et=new WeakMap,tt=new WeakMap,nt=new WeakMap,it=new WeakMap,rt=new WeakMap,at=new WeakMap,st=new WeakMap,ot=new WeakSet,ct=function(){return(Sl(this,qe)?"added":null===Sl(this,qe)&&this.guessedText&&"review")||"missing"},lt=async function(){var e,t,n;const i=Sl(this,Ke);if(!i)return;if(Sl(this,at)){if(i.classList.toggle("done",!!Sl(this,qe)),i.setAttribute("data-l10n-id",Sl(Qx,st)[Sl(this,ot,ct)]),null==(e=Sl(this,Ze))||e.setAttribute("data-l10n-id",Sl(Qx,st)[`${Sl(this,ot,ct)}-label`]),!Sl(this,qe))return void(null==(t=Sl(this,Je))||t.remove())}else{if(!Sl(this,qe)&&!Sl(this,Ye))return i.classList.remove("done"),void(null==(n=Sl(this,Je))||n.remove());i.classList.add("done"),i.setAttribute("data-l10n-id","pdfjs-editor-alt-text-edit-button")}let r=Sl(this,Je);if(!r){Ul(this,Je,r=document.createElement("span")),r.className="tooltip",r.setAttribute("role","tooltip"),r.id=`alt-text-tooltip-${Sl(this,nt).id}`;const e=100,t=Sl(this,nt)._uiManager._signal;t.addEventListener("abort",(()=>{clearTimeout(Sl(this,Qe)),Ul(this,Qe,null)}),{once:!0}),i.addEventListener("mouseenter",(()=>{Ul(this,Qe,setTimeout((()=>{Ul(this,Qe,null),Sl(this,Je).classList.add("show"),Sl(this,nt)._reportTelemetry({action:"alt_text_tooltip"})}),e))}),{signal:t}),i.addEventListener("mouseleave",(()=>{var e;Sl(this,Qe)&&(clearTimeout(Sl(this,Qe)),Ul(this,Qe,null)),null==(e=Sl(this,Je))||e.classList.remove("show")}),{signal:t})}Sl(this,Ye)?r.setAttribute("data-l10n-id","pdfjs-editor-alt-text-decorative-tooltip"):(r.removeAttribute("data-l10n-id"),r.textContent=Sl(this,qe)),r.parentNode||i.append(r);const a=Sl(this,nt).getImageForAltText();null==a||a.setAttribute("aria-describedby",r.id)},Cl(Qx,st,null),El(Qx,"_l10n",null);let e_=Qx;const t_=class{constructor({container:e,isPinchingDisabled:t=null,isPinchingStopped:n=null,onPinchStart:i=null,onPinching:r=null,onPinchEnd:a=null,signal:s}){Cl(this,xt),Cl(this,ht),Cl(this,dt,!1),Cl(this,ut,null),Cl(this,ft),Cl(this,pt),Cl(this,gt),Cl(this,mt),Cl(this,bt),Cl(this,vt,null),Cl(this,yt),Cl(this,wt,null),Ul(this,ht,e),Ul(this,ut,n),Ul(this,ft,t),Ul(this,pt,i),Ul(this,gt,r),Ul(this,mt,a),Ul(this,yt,new AbortController),Ul(this,bt,AbortSignal.any([s,Sl(this,yt).signal])),e.addEventListener("touchstart",Fl(this,xt,_t).bind(this),{passive:!1,signal:Sl(this,bt)})}get MIN_TOUCH_DISTANCE_TO_PINCH(){return ex(this,"MIN_TOUCH_DISTANCE_TO_PINCH",35/(window.devicePixelRatio||1))}destroy(){var e;null==(e=Sl(this,yt))||e.abort(),Ul(this,yt,null)}};ht=new WeakMap,dt=new WeakMap,ut=new WeakMap,ft=new WeakMap,pt=new WeakMap,gt=new WeakMap,mt=new WeakMap,bt=new WeakMap,vt=new WeakMap,yt=new WeakMap,wt=new WeakMap,xt=new WeakSet,_t=function(e){var t,n,i;if((null==(t=Sl(this,ft))?void 0:t.call(this))||e.touches.length<2)return;if(!Sl(this,wt)){Ul(this,wt,new AbortController);const e=AbortSignal.any([Sl(this,bt),Sl(this,wt).signal]),t=Sl(this,ht),i={signal:e,passive:!1};t.addEventListener("touchmove",Fl(this,xt,Tt).bind(this),i),t.addEventListener("touchend",Fl(this,xt,Dt).bind(this),i),t.addEventListener("touchcancel",Fl(this,xt,Dt).bind(this),i),null==(n=Sl(this,pt))||n.call(this)}if(Mx(e),2!==e.touches.length||(null==(i=Sl(this,ut))?void 0:i.call(this)))return void Ul(this,vt,null);let[r,a]=e.touches;r.identifier>a.identifier&&([r,a]=[a,r]),Ul(this,vt,{touch0X:r.screenX,touch0Y:r.screenY,touch1X:a.screenX,touch1Y:a.screenY})},Tt=function(e){var t;if(!Sl(this,vt)||2!==e.touches.length)return;let[n,i]=e.touches;n.identifier>i.identifier&&([n,i]=[i,n]);const{screenX:r,screenY:a}=n,{screenX:s,screenY:o}=i,c=Sl(this,vt),{touch0X:l,touch0Y:h,touch1X:d,touch1Y:u}=c,f=d-l,p=u-h,g=s-r,m=o-a,b=Math.hypot(g,m)||1,v=Math.hypot(f,p)||1;if(!Sl(this,dt)&&Math.abs(v-b)<=t_.MIN_TOUCH_DISTANCE_TO_PINCH)return;if(c.touch0X=r,c.touch0Y=a,c.touch1X=s,c.touch1Y=o,e.preventDefault(),!Sl(this,dt))return void Ul(this,dt,!0);const y=[(r+s)/2,(a+o)/2];null==(t=Sl(this,gt))||t.call(this,y,v,b)},Dt=function(e){var t;Sl(this,wt).abort(),Ul(this,wt,null),null==(t=Sl(this,mt))||t.call(this),Sl(this,vt)&&(e.preventDefault(),Ul(this,vt,null),Ul(this,dt,!1))};let n_=t_;const i_=class e{constructor(t){Cl(this,Yt),Cl(this,At,null),Cl(this,Et,null),Cl(this,kt,null),Cl(this,St,!1),Cl(this,Ct,null),Cl(this,Ut,""),Cl(this,Ft,!1),Cl(this,Mt,null),Cl(this,Rt,null),Cl(this,It,null),Cl(this,Ot,null),Cl(this,Nt,""),Cl(this,Pt,!1),Cl(this,Lt,null),Cl(this,Wt,!1),Cl(this,Bt,!1),Cl(this,jt,!1),Cl(this,zt,null),Cl(this,Ht,0),Cl(this,Vt,0),Cl(this,Gt,null),Cl(this,Xt,null),El(this,"_editToolbar",null),El(this,"_initialOptions",Object.create(null)),El(this,"_initialData",null),El(this,"_isVisible",!0),El(this,"_uiManager",null),El(this,"_focusEventsAllowed",!0),Cl(this,$t,!1),Cl(this,qt,e._zIndex++),this.parent=t.parent,this.id=t.id,this.width=this.height=null,this.pageIndex=t.parent.pageIndex,this.name=t.name,this.div=null,this._uiManager=t.uiManager,this.annotationElementId=null,this._willKeepAspectRatio=!1,this._initialOptions.isCentered=t.isCentered,this._structTreeParentId=null;const{rotation:n,rawDims:{pageWidth:i,pageHeight:r,pageX:a,pageY:s}}=this.parent.viewport;this.rotation=n,this.pageRotation=(360+n-this._uiManager.viewParameters.rotation)%360,this.pageDimensions=[i,r],this.pageTranslation=[a,s];const[o,c]=this.parentDimensions;this.x=t.x/o,this.y=t.y/c,this.isAttachedToDOM=!1,this.deleted=!1}static get _resizerKeyboardManager(){const t=e.prototype._resizeWithKeyboard,n=Jx.TRANSLATE_SMALL,i=Jx.TRANSLATE_BIG;return ex(this,"_resizerKeyboardManager",new qx([[["ArrowLeft","mac+ArrowLeft"],t,{args:[-n,0]}],[["ctrl+ArrowLeft","mac+shift+ArrowLeft"],t,{args:[-i,0]}],[["ArrowRight","mac+ArrowRight"],t,{args:[n,0]}],[["ctrl+ArrowRight","mac+shift+ArrowRight"],t,{args:[i,0]}],[["ArrowUp","mac+ArrowUp"],t,{args:[0,-n]}],[["ctrl+ArrowUp","mac+shift+ArrowUp"],t,{args:[0,-i]}],[["ArrowDown","mac+ArrowDown"],t,{args:[0,n]}],[["ctrl+ArrowDown","mac+shift+ArrowDown"],t,{args:[0,i]}],[["Escape","mac+Escape"],e.prototype._stopResizingWithKeyboard]]))}get editorType(){return Object.getPrototypeOf(this).constructor._type}static get isDrawer(){return!1}static get _defaultLineColor(){return ex(this,"_defaultLineColor",this._colorManager.getHexCode("CanvasText"))}static deleteAnnotationElement(e){const t=new a_({id:e.parent.getNextId(),parent:e.parent,uiManager:e._uiManager});t.annotationElementId=e.annotationElementId,t.deleted=!0,t._uiManager.addToAnnotationStorage(t)}static initialize(t,n){if(e._l10n??(e._l10n=t),e._l10nResizer||(e._l10nResizer=Object.freeze({topLeft:"pdfjs-editor-resizer-top-left",topMiddle:"pdfjs-editor-resizer-top-middle",topRight:"pdfjs-editor-resizer-top-right",middleRight:"pdfjs-editor-resizer-middle-right",bottomRight:"pdfjs-editor-resizer-bottom-right",bottomMiddle:"pdfjs-editor-resizer-bottom-middle",bottomLeft:"pdfjs-editor-resizer-bottom-left",middleLeft:"pdfjs-editor-resizer-middle-left"})),-1!==e._borderLineWidth)return;const i=getComputedStyle(document.documentElement);e._borderLineWidth=parseFloat(i.getPropertyValue("--outline-width"))||0}static updateDefaultParams(e,t){}static get defaultPropertiesToUpdate(){return[]}static isHandlingMimeForPasting(e){return!1}static paste(e,t){Zw("Not implemented")}get propertiesToUpdate(){return[]}get _isDraggable(){return Sl(this,$t)}set _isDraggable(e){var t;Ul(this,$t,e),null==(t=this.div)||t.classList.toggle("draggable",e)}get isEnterHandled(){return!0}center(){const[e,t]=this.pageDimensions;switch(this.parentRotation){case 90:this.x-=this.height*t/(2*e),this.y+=this.width*e/(2*t);break;case 180:this.x+=this.width/2,this.y+=this.height/2;break;case 270:this.x+=this.height*t/(2*e),this.y-=this.width*e/(2*t);break;default:this.x-=this.width/2,this.y-=this.height/2}this.fixAndSetPosition()}addCommands(e){this._uiManager.addCommands(e)}get currentLayer(){return this._uiManager.currentLayer}setInBackground(){this.div.style.zIndex=0}setInForeground(){this.div.style.zIndex=Sl(this,qt)}setParent(e){null!==e?(this.pageIndex=e.pageIndex,this.pageDimensions=e.pageDimensions):Fl(this,Yt,mn).call(this),this.parent=e}focusin(e){this._focusEventsAllowed&&(Sl(this,Pt)?Ul(this,Pt,!1):this.parent.setSelected(this))}focusout(e){var t;if(!this._focusEventsAllowed)return;if(!this.isAttachedToDOM)return;const n=e.relatedTarget;(null==n?void 0:n.closest(`#${this.id}`))||(e.preventDefault(),(null==(t=this.parent)?void 0:t.isMultipleSelection)||this.commitOrRemove())}commitOrRemove(){this.isEmpty()?this.remove():this.commit()}commit(){this.addToAnnotationStorage()}addToAnnotationStorage(){this._uiManager.addToAnnotationStorage(this)}setAt(e,t,n,i){const[r,a]=this.parentDimensions;[n,i]=this.screenToPageTranslation(n,i),this.x=(e+n)/r,this.y=(t+i)/a,this.fixAndSetPosition()}translate(e,t){Fl(this,Yt,Kt).call(this,this.parentDimensions,e,t)}translateInPage(e,t){Sl(this,Lt)||Ul(this,Lt,[this.x,this.y,this.width,this.height]),Fl(this,Yt,Kt).call(this,this.pageDimensions,e,t),this.div.scrollIntoView({block:"nearest"})}drag(e,t){Sl(this,Lt)||Ul(this,Lt,[this.x,this.y,this.width,this.height]);const{div:n,parentDimensions:[i,r]}=this;if(this.x+=e/i,this.y+=t/r,this.parent&&(this.x<0||this.x>1||this.y<0||this.y>1)){const{x:e,y:t}=this.div.getBoundingClientRect();this.parent.findNewParent(this,e,t)&&(this.x-=Math.floor(this.x),this.y-=Math.floor(this.y))}let{x:a,y:s}=this;const[o,c]=this.getBaseTranslation();a+=o,s+=c;const{style:l}=n;l.left=`${(100*a).toFixed(2)}%`,l.top=`${(100*s).toFixed(2)}%`,this._onTranslating(a,s),n.scrollIntoView({block:"nearest"})}_onTranslating(e,t){}_onTranslated(e,t){}get _hasBeenMoved(){return!!Sl(this,Lt)&&(Sl(this,Lt)[0]!==this.x||Sl(this,Lt)[1]!==this.y)}get _hasBeenResized(){return!!Sl(this,Lt)&&(Sl(this,Lt)[2]!==this.width||Sl(this,Lt)[3]!==this.height)}getBaseTranslation(){const[t,n]=this.parentDimensions,{_borderLineWidth:i}=e,r=i/t,a=i/n;switch(this.rotation){case 90:return[-r,a];case 180:return[r,a];case 270:return[r,-a];default:return[-r,-a]}}get _mustFixPosition(){return!0}fixAndSetPosition(e=this.rotation){const{div:{style:t},pageDimensions:[n,i]}=this;let{x:r,y:a,width:s,height:o}=this;if(s*=n,o*=i,r*=n,a*=i,this._mustFixPosition)switch(e){case 0:r=Math.max(0,Math.min(n-s,r)),a=Math.max(0,Math.min(i-o,a));break;case 90:r=Math.max(0,Math.min(n-o,r)),a=Math.min(i,Math.max(s,a));break;case 180:r=Math.min(n,Math.max(s,r)),a=Math.min(i,Math.max(o,a));break;case 270:r=Math.min(n,Math.max(o,r)),a=Math.max(0,Math.min(i-s,a))}this.x=r/=n,this.y=a/=i;const[c,l]=this.getBaseTranslation();r+=c,a+=l,t.left=`${(100*r).toFixed(2)}%`,t.top=`${(100*a).toFixed(2)}%`,this.moveInDOM()}screenToPageTranslation(t,n){var i;return Fl(i=e,Zt,Jt).call(i,t,n,this.parentRotation)}pageTranslationToScreen(t,n){var i;return Fl(i=e,Zt,Jt).call(i,t,n,360-this.parentRotation)}get parentScale(){return this._uiManager.viewParameters.realScale}get parentRotation(){return(this._uiManager.viewParameters.rotation+this.pageRotation)%360}get parentDimensions(){const{parentScale:e,pageDimensions:[t,n]}=this;return[t*e,n*e]}setDims(e,t){const[n,i]=this.parentDimensions,{style:r}=this.div;r.width=`${(100*e/n).toFixed(2)}%`,Sl(this,Ft)||(r.height=`${(100*t/i).toFixed(2)}%`)}fixDims(){const{style:e}=this.div,{height:t,width:n}=e,i=n.endsWith("%"),r=!Sl(this,Ft)&&t.endsWith("%");if(i&&r)return;const[a,s]=this.parentDimensions;i||(e.width=`${(100*parseFloat(n)/a).toFixed(2)}%`),Sl(this,Ft)||r||(e.height=`${(100*parseFloat(t)/s).toFixed(2)}%`)}getInitialTranslation(){return[0,0]}_onResized(){}static _round(e){return Math.round(1e4*e)/1e4}_onResizing(){}altTextFinish(){var e;null==(e=Sl(this,kt))||e.finish()}async addEditToolbar(){return this._editToolbar||Sl(this,Bt)||(this._editToolbar=new jx(this),this.div.append(this._editToolbar.render()),Sl(this,kt)&&await this._editToolbar.addAltText(Sl(this,kt))),this._editToolbar}removeEditToolbar(){var e;this._editToolbar&&(this._editToolbar.remove(),this._editToolbar=null,null==(e=Sl(this,kt))||e.destroy())}addContainer(e){var t;const n=null==(t=this._editToolbar)?void 0:t.div;n?n.before(e):this.div.append(e)}getClientDimensions(){return this.div.getBoundingClientRect()}async addAltTextButton(){Sl(this,kt)||(e_.initialize(e._l10n),Ul(this,kt,new e_(this)),Sl(this,At)&&(Sl(this,kt).data=Sl(this,At),Ul(this,At,null)),await this.addEditToolbar())}get altTextData(){var e;return null==(e=Sl(this,kt))?void 0:e.data}set altTextData(e){Sl(this,kt)&&(Sl(this,kt).data=e)}get guessedAltText(){var e;return null==(e=Sl(this,kt))?void 0:e.guessedText}async setGuessedAltText(e){var t;await(null==(t=Sl(this,kt))?void 0:t.setGuessedText(e))}serializeAltText(e){var t;return null==(t=Sl(this,kt))?void 0:t.serialize(e)}hasAltText(){return!!Sl(this,kt)&&!Sl(this,kt).isEmpty()}hasAltTextData(){var e;return(null==(e=Sl(this,kt))?void 0:e.hasData())??!1}render(){var e;this.div=document.createElement("div"),this.div.setAttribute("data-editor-rotation",(360-this.rotation)%360),this.div.className=this.name,this.div.setAttribute("id",this.id),this.div.tabIndex=Sl(this,St)?-1:0,this._isVisible||this.div.classList.add("hidden"),this.setInForeground(),Fl(this,Yt,dn).call(this);const[t,n]=this.parentDimensions;this.parentRotation%180!=0&&(this.div.style.maxWidth=`${(100*n/t).toFixed(2)}%`,this.div.style.maxHeight=`${(100*t/n).toFixed(2)}%`);const[i,r]=this.getInitialTranslation();return this.translate(i,r),Hx(this,this.div,["pointerdown"]),this.isResizable&&this._uiManager._supportsPinchToZoom&&(Sl(this,Xt)||Ul(this,Xt,new n_({container:this.div,isPinchingDisabled:()=>!this.isSelected,onPinchStart:Fl(this,Yt,sn).bind(this),onPinching:Fl(this,Yt,on).bind(this),onPinchEnd:Fl(this,Yt,cn).bind(this),signal:this._uiManager._signal}))),null==(e=this._uiManager._editorUndoBar)||e.hide(),this.div}pointerdown(e){const{isMac:t}=ux.platform;0!==e.button||e.ctrlKey&&t?e.preventDefault():(Ul(this,Pt,!0),this._isDraggable?Fl(this,Yt,hn).call(this,e):Fl(this,Yt,ln).call(this,e))}get isSelected(){return this._uiManager.isSelected(this)}_onStartDragging(){}_onStopDragging(){}moveInDOM(){Sl(this,zt)&&clearTimeout(Sl(this,zt)),Ul(this,zt,setTimeout((()=>{var e;Ul(this,zt,null),null==(e=this.parent)||e.moveEditorInDOM(this)}),0))}_setParentAndPosition(e,t,n){e.changeParent(this),this.x=t,this.y=n,this.fixAndSetPosition(),this._onTranslated()}getRect(e,t,n=this.rotation){const i=this.parentScale,[r,a]=this.pageDimensions,[s,o]=this.pageTranslation,c=e/i,l=t/i,h=this.x*r,d=this.y*a,u=this.width*r,f=this.height*a;switch(n){case 0:return[h+c+s,a-d-l-f+o,h+c+u+s,a-d-l+o];case 90:return[h+l+s,a-d+c+o,h+l+f+s,a-d+c+u+o];case 180:return[h-c-u+s,a-d+l+o,h-c+s,a-d+l+f+o];case 270:return[h-l-f+s,a-d-c-u+o,h-l+s,a-d-c+o];default:throw new Error("Invalid rotation")}}getRectInCurrentCoords(e,t){const[n,i,r,a]=e,s=r-n,o=a-i;switch(this.rotation){case 0:return[n,t-a,s,o];case 90:return[n,t-i,o,s];case 180:return[r,t-i,s,o];case 270:return[r,t-a,o,s];default:throw new Error("Invalid rotation")}}onceAdded(e){}isEmpty(){return!1}enableEditMode(){Ul(this,Bt,!0)}disableEditMode(){Ul(this,Bt,!1)}isInEditMode(){return Sl(this,Bt)}shouldGetKeyboardEvents(){return Sl(this,jt)}needsToBeRebuilt(){return this.div&&!this.isAttachedToDOM}get isOnScreen(){const{top:e,left:t,bottom:n,right:i}=this.getClientDimensions(),{innerHeight:r,innerWidth:a}=window;return t<a&&i>0&&e<r&&n>0}rebuild(){Fl(this,Yt,dn).call(this)}rotate(e){}resize(){}serializeDeleted(){var e;return{id:this.annotationElementId,deleted:!0,pageIndex:this.pageIndex,popupRef:(null==(e=this._initialData)?void 0:e.popupRef)||""}}serialize(e=!1,t=null){Zw("An editor must be serializable")}static async deserialize(e,t,n){const i=new this.prototype.constructor({parent:t,id:t.getNextId(),uiManager:n});i.rotation=e.rotation,Ul(i,At,e.accessibilityData);const[r,a]=i.pageDimensions,[s,o,c,l]=i.getRectInCurrentCoords(e.rect,a);return i.x=s/r,i.y=o/a,i.width=c/r,i.height=l/a,i}get hasBeenModified(){return!!this.annotationElementId&&(this.deleted||null!==this.serialize())}remove(){var e,t;if(null==(e=Sl(this,Ot))||e.abort(),Ul(this,Ot,null),this.isEmpty()||this.commit(),this.parent?this.parent.remove(this):this._uiManager.removeEditor(this),Sl(this,zt)&&(clearTimeout(Sl(this,zt)),Ul(this,zt,null)),Fl(this,Yt,mn).call(this),this.removeEditToolbar(),Sl(this,Gt)){for(const e of Sl(this,Gt).values())clearTimeout(e);Ul(this,Gt,null)}this.parent=null,null==(t=Sl(this,Xt))||t.destroy(),Ul(this,Xt,null)}get isResizable(){return!1}makeResizable(){this.isResizable&&(Fl(this,Yt,en).call(this),Sl(this,Mt).classList.remove("hidden"),Hx(this,this.div,["keydown"]))}get toolbarPosition(){return null}keydown(t){if(!this.isResizable||t.target!==this.div||"Enter"!==t.key)return;this._uiManager.setSelected(this),Ul(this,It,{savedX:this.x,savedY:this.y,savedWidth:this.width,savedHeight:this.height});const n=Sl(this,Mt).children;if(!Sl(this,Et)){Ul(this,Et,Array.from(n));const t=Fl(this,Yt,un).bind(this),i=Fl(this,Yt,fn).bind(this),r=this._uiManager._signal;for(const n of Sl(this,Et)){const a=n.getAttribute("data-resizer-name");n.setAttribute("role","spinbutton"),n.addEventListener("keydown",t,{signal:r}),n.addEventListener("blur",i,{signal:r}),n.addEventListener("focus",Fl(this,Yt,pn).bind(this,a),{signal:r}),n.setAttribute("data-l10n-id",e._l10nResizer[a])}}const i=Sl(this,Et)[0];let r=0;for(const e of n){if(e===i)break;r++}const a=(360-this.rotation+this.parentRotation)%360/90*(Sl(this,Et).length/4);if(a!==r){if(a<r)for(let e=0;e<r-a;e++)Sl(this,Mt).append(Sl(this,Mt).firstChild);else if(a>r)for(let e=0;e<a-r;e++)Sl(this,Mt).firstChild.before(Sl(this,Mt).lastChild);let t=0;for(const i of n){const n=Sl(this,Et)[t++].getAttribute("data-resizer-name");i.setAttribute("data-l10n-id",e._l10nResizer[n])}}Fl(this,Yt,gn).call(this,0),Ul(this,jt,!0),Sl(this,Mt).firstChild.focus({focusVisible:!0}),t.preventDefault(),t.stopImmediatePropagation()}_resizeWithKeyboard(e,t){Sl(this,jt)&&Fl(this,Yt,an).call(this,Sl(this,Nt),{deltaX:e,deltaY:t,fromKeyboard:!0})}_stopResizingWithKeyboard(){Fl(this,Yt,mn).call(this),this.div.focus()}select(){var e,t,n;this.makeResizable(),null==(e=this.div)||e.classList.add("selectedEditor"),this._editToolbar?(null==(t=this._editToolbar)||t.show(),null==(n=Sl(this,kt))||n.toggleAltTextBadge(!1)):this.addEditToolbar().then((()=>{var e,t;(null==(e=this.div)?void 0:e.classList.contains("selectedEditor"))&&(null==(t=this._editToolbar)||t.show())}))}unselect(){var e,t,n,i,r;null==(e=Sl(this,Mt))||e.classList.add("hidden"),null==(t=this.div)||t.classList.remove("selectedEditor"),(null==(n=this.div)?void 0:n.contains(document.activeElement))&&this._uiManager.currentLayer.div.focus({preventScroll:!0}),null==(i=this._editToolbar)||i.hide(),null==(r=Sl(this,kt))||r.toggleAltTextBadge(!0)}updateParams(e,t){}disableEditing(){}enableEditing(){}enterInEditMode(){}getImageForAltText(){return null}get contentDiv(){return this.div}get isEditing(){return Sl(this,Wt)}set isEditing(e){Ul(this,Wt,e),this.parent&&(e?(this.parent.setSelected(this),this.parent.setActiveEditor(this)):this.parent.setActiveEditor(null))}setAspectRatio(e,t){Ul(this,Ft,!0);const n=e/t,{style:i}=this.div;i.aspectRatio=n,i.height="auto"}static get MIN_SIZE(){return 16}static canCreateNewEmptyEditor(){return!0}get telemetryInitialData(){return{action:"added"}}get telemetryFinalData(){return null}_reportTelemetry(t,n=!1){if(n){Sl(this,Gt)||Ul(this,Gt,new Map);const{action:n}=t;let i=Sl(this,Gt).get(n);return i&&clearTimeout(i),i=setTimeout((()=>{this._reportTelemetry(t),Sl(this,Gt).delete(n),0===Sl(this,Gt).size&&Ul(this,Gt,null)}),e._telemetryTimeout),void Sl(this,Gt).set(n,i)}t.type||(t.type=this.editorType),this._uiManager._eventBus.dispatch("reporttelemetry",{source:this,details:{type:"editing",data:t}})}show(e=this._isVisible){this.div.classList.toggle("hidden",!e),this._isVisible=e}enable(){this.div&&(this.div.tabIndex=0),Ul(this,St,!1)}disable(){this.div&&(this.div.tabIndex=-1),Ul(this,St,!0)}renderAnnotationElement(e){let t=e.container.querySelector(".annotationContent");if(t){if("CANVAS"===t.nodeName){const e=t;t=document.createElement("div"),t.classList.add("annotationContent",this.editorType),e.before(t)}}else t=document.createElement("div"),t.classList.add("annotationContent",this.editorType),e.container.prepend(t);return t}resetAnnotationElement(e){const{firstChild:t}=e.container;"DIV"===(null==t?void 0:t.nodeName)&&t.classList.contains("annotationContent")&&t.remove()}};At=new WeakMap,Et=new WeakMap,kt=new WeakMap,St=new WeakMap,Ct=new WeakMap,Ut=new WeakMap,Ft=new WeakMap,Mt=new WeakMap,Rt=new WeakMap,It=new WeakMap,Ot=new WeakMap,Nt=new WeakMap,Pt=new WeakMap,Lt=new WeakMap,Wt=new WeakMap,Bt=new WeakMap,jt=new WeakMap,zt=new WeakMap,Ht=new WeakMap,Vt=new WeakMap,Gt=new WeakMap,Xt=new WeakMap,$t=new WeakMap,qt=new WeakMap,Yt=new WeakSet,Kt=function([e,t],n,i){[n,i]=this.screenToPageTranslation(n,i),this.x+=n/e,this.y+=i/t,this._onTranslating(this.x,this.y),this.fixAndSetPosition()},Zt=new WeakSet,Jt=function(e,t,n){switch(n){case 90:return[t,-e];case 180:return[-e,-t];case 270:return[-t,e];default:return[e,t]}},Qt=function(e){switch(e){case 90:{const[e,t]=this.pageDimensions;return[0,-e/t,t/e,0]}case 180:return[-1,0,0,-1];case 270:{const[e,t]=this.pageDimensions;return[0,e/t,-t/e,0]}default:return[1,0,0,1]}},en=function(){if(Sl(this,Mt))return;Ul(this,Mt,document.createElement("div")),Sl(this,Mt).classList.add("resizers");const e=this._willKeepAspectRatio?["topLeft","topRight","bottomRight","bottomLeft"]:["topLeft","topMiddle","topRight","middleRight","bottomRight","bottomMiddle","bottomLeft","middleLeft"],t=this._uiManager._signal;for(const n of e){const e=document.createElement("div");Sl(this,Mt).append(e),e.classList.add("resizer",n),e.setAttribute("data-resizer-name",n),e.addEventListener("pointerdown",Fl(this,Yt,tn).bind(this,n),{signal:t}),e.addEventListener("contextmenu",Fx,{signal:t}),e.tabIndex=-1}this.div.prepend(Sl(this,Mt))},tn=function(e,t){var n;t.preventDefault();const{isMac:i}=ux.platform;if(0!==t.button||t.ctrlKey&&i)return;null==(n=Sl(this,kt))||n.toggle(!1);const r=this._isDraggable;this._isDraggable=!1,Ul(this,Rt,[t.screenX,t.screenY]);const a=new AbortController,s=this._uiManager.combinedSignal(a);this.parent.togglePointerEvents(!1),window.addEventListener("pointermove",Fl(this,Yt,an).bind(this,e),{passive:!0,capture:!0,signal:s}),window.addEventListener("touchmove",Mx,{passive:!1,signal:s}),window.addEventListener("contextmenu",Fx,{signal:s}),Ul(this,It,{savedX:this.x,savedY:this.y,savedWidth:this.width,savedHeight:this.height});const o=this.parent.div.style.cursor,c=this.div.style.cursor;this.div.style.cursor=this.parent.div.style.cursor=window.getComputedStyle(t.target).cursor;const l=()=>{var e;a.abort(),this.parent.togglePointerEvents(!0),null==(e=Sl(this,kt))||e.toggle(!0),this._isDraggable=r,this.parent.div.style.cursor=o,this.div.style.cursor=c,Fl(this,Yt,rn).call(this)};window.addEventListener("pointerup",l,{signal:s}),window.addEventListener("blur",l,{signal:s})},nn=function(e,t,n,i){this.width=n,this.height=i,this.x=e,this.y=t;const[r,a]=this.parentDimensions;this.setDims(r*n,a*i),this.fixAndSetPosition(),this._onResized()},rn=function(){if(!Sl(this,It))return;const{savedX:e,savedY:t,savedWidth:n,savedHeight:i}=Sl(this,It);Ul(this,It,null);const r=this.x,a=this.y,s=this.width,o=this.height;r===e&&a===t&&s===n&&o===i||this.addCommands({cmd:Fl(this,Yt,nn).bind(this,r,a,s,o),undo:Fl(this,Yt,nn).bind(this,e,t,n,i),mustExec:!0})},an=function(e,t){const[n,i]=this.parentDimensions,r=this.x,a=this.y,s=this.width,o=this.height,c=i_.MIN_SIZE/n,l=i_.MIN_SIZE/i,h=Fl(this,Yt,Qt).call(this,this.rotation),d=(e,t)=>[h[0]*e+h[2]*t,h[1]*e+h[3]*t],u=Fl(this,Yt,Qt).call(this,360-this.rotation);let f,p,g=!1,m=!1;switch(e){case"topLeft":g=!0,f=(e,t)=>[0,0],p=(e,t)=>[e,t];break;case"topMiddle":f=(e,t)=>[e/2,0],p=(e,t)=>[e/2,t];break;case"topRight":g=!0,f=(e,t)=>[e,0],p=(e,t)=>[0,t];break;case"middleRight":m=!0,f=(e,t)=>[e,t/2],p=(e,t)=>[0,t/2];break;case"bottomRight":g=!0,f=(e,t)=>[e,t],p=(e,t)=>[0,0];break;case"bottomMiddle":f=(e,t)=>[e/2,t],p=(e,t)=>[e/2,0];break;case"bottomLeft":g=!0,f=(e,t)=>[0,t],p=(e,t)=>[e,0];break;case"middleLeft":m=!0,f=(e,t)=>[0,t/2],p=(e,t)=>[e,t/2]}const b=f(s,o),v=p(s,o);let y=d(...v);const w=i_._round(r+y[0]),x=i_._round(a+y[1]);let _,T,D=1,A=1;if(t.fromKeyboard)({deltaX:_,deltaY:T}=t);else{const{screenX:e,screenY:n}=t,[i,r]=Sl(this,Rt);[_,T]=this.screenToPageTranslation(e-i,n-r),Sl(this,Rt)[0]=e,Sl(this,Rt)[1]=n}var E,k;if([_,T]=(E=_/n,k=T/i,[u[0]*E+u[2]*k,u[1]*E+u[3]*k]),g){const e=Math.hypot(s,o);D=A=Math.max(Math.min(Math.hypot(v[0]-b[0]-_,v[1]-b[1]-T)/e,1/s,1/o),c/s,l/o)}else m?D=Math.max(c,Math.min(1,Math.abs(v[0]-b[0]-_)))/s:A=Math.max(l,Math.min(1,Math.abs(v[1]-b[1]-T)))/o;const S=i_._round(s*D),C=i_._round(o*A);y=d(...p(S,C));const U=w-y[0],F=x-y[1];Sl(this,Lt)||Ul(this,Lt,[this.x,this.y,this.width,this.height]),this.width=S,this.height=C,this.x=U,this.y=F,this.setDims(n*S,i*C),this.fixAndSetPosition(),this._onResizing()},sn=function(){var e;Ul(this,It,{savedX:this.x,savedY:this.y,savedWidth:this.width,savedHeight:this.height}),null==(e=Sl(this,kt))||e.toggle(!1),this.parent.togglePointerEvents(!1)},on=function(e,t,n){let i=n/t*.7+1-.7;if(1===i)return;const r=Fl(this,Yt,Qt).call(this,this.rotation),a=(e,t)=>[r[0]*e+r[2]*t,r[1]*e+r[3]*t],[s,o]=this.parentDimensions,c=this.x,l=this.y,h=this.width,d=this.height,u=i_.MIN_SIZE/s,f=i_.MIN_SIZE/o;i=Math.max(Math.min(i,1/h,1/d),u/h,f/d);const p=i_._round(h*i),g=i_._round(d*i);if(p===h&&g===d)return;Sl(this,Lt)||Ul(this,Lt,[c,l,h,d]);const m=a(h/2,d/2),b=i_._round(c+m[0]),v=i_._round(l+m[1]),y=a(p/2,g/2);this.x=b-y[0],this.y=v-y[1],this.width=p,this.height=g,this.setDims(s*p,o*g),this.fixAndSetPosition(),this._onResizing()},cn=function(){var e;null==(e=Sl(this,kt))||e.toggle(!0),this.parent.togglePointerEvents(!0),Fl(this,Yt,rn).call(this)},ln=function(e){const{isMac:t}=ux.platform;e.ctrlKey&&!t||e.shiftKey||e.metaKey&&t?this.parent.toggleSelected(this):this.parent.setSelected(this)},hn=function(e){const{isSelected:t}=this;this._uiManager.setUpDragSession();let n=!1;const i=new AbortController,r=this._uiManager.combinedSignal(i),a={capture:!0,passive:!1,signal:r},s=e=>{i.abort(),Ul(this,Ct,null),Ul(this,Pt,!1),this._uiManager.endDragSession()||Fl(this,Yt,ln).call(this,e),n&&this._onStopDragging()};t&&(Ul(this,Ht,e.clientX),Ul(this,Vt,e.clientY),Ul(this,Ct,e.pointerId),Ul(this,Ut,e.pointerType),window.addEventListener("pointermove",(e=>{n||(n=!0,this._onStartDragging());const{clientX:t,clientY:i,pointerId:r}=e;if(r!==Sl(this,Ct))return void Mx(e);const[a,s]=this.screenToPageTranslation(t-Sl(this,Ht),i-Sl(this,Vt));Ul(this,Ht,t),Ul(this,Vt,i),this._uiManager.dragSelectedEditors(a,s)}),a),window.addEventListener("touchmove",Mx,a),window.addEventListener("pointerdown",(e=>{e.pointerType===Sl(this,Ut)&&(Sl(this,Xt)||e.isPrimary)&&s(e),Mx(e)}),a));const o=e=>{Sl(this,Ct)&&Sl(this,Ct)!==e.pointerId?Mx(e):s(e)};window.addEventListener("pointerup",o,{signal:r}),window.addEventListener("blur",o,{signal:r})},dn=function(){if(Sl(this,Ot)||!this.div)return;Ul(this,Ot,new AbortController);const e=this._uiManager.combinedSignal(Sl(this,Ot));this.div.addEventListener("focusin",this.focusin.bind(this),{signal:e}),this.div.addEventListener("focusout",this.focusout.bind(this),{signal:e})},un=function(e){i_._resizerKeyboardManager.exec(this,e)},fn=function(e){var t;Sl(this,jt)&&(null==(t=e.relatedTarget)?void 0:t.parentNode)!==Sl(this,Mt)&&Fl(this,Yt,mn).call(this)},pn=function(e){Ul(this,Nt,Sl(this,jt)?e:"")},gn=function(e){if(Sl(this,Et))for(const t of Sl(this,Et))t.tabIndex=e},mn=function(){Ul(this,jt,!1),Fl(this,Yt,gn).call(this,-1),Fl(this,Yt,rn).call(this)},Cl(i_,Zt),El(i_,"_l10n",null),El(i_,"_l10nResizer",null),El(i_,"_borderLineWidth",-1),El(i_,"_colorManager",new Kx),El(i_,"_zIndex",1),El(i_,"_telemetryTimeout",1e3);let r_=i_;class a_ extends r_{constructor(e){super(e),this.annotationElementId=e.annotationElementId,this.deleted=!0}serialize(){return this.serializeDeleted()}}const s_=3285377520,o_=4294901760,c_=65535;class l_{constructor(e){this.h1=e?4294967295&e:s_,this.h2=e?4294967295&e:s_}update(e){let t,n;if("string"==typeof e){t=new Uint8Array(2*e.length),n=0;for(let i=0,r=e.length;i<r;i++){const r=e.charCodeAt(i);r<=255?t[n++]=r:(t[n++]=r>>>8,t[n++]=255&r)}}else{if(!ArrayBuffer.isView(e))throw new Error("Invalid data format, must be a string or TypedArray.");t=e.slice(),n=t.byteLength}const i=n>>2,r=n-4*i,a=new Uint32Array(t.buffer,0,i);let s=0,o=0,c=this.h1,l=this.h2;const h=3432918353,d=461845907,u=11601,f=13715;for(let p=0;p<i;p++)1&p?(s=a[p],s=s*h&o_|s*u&c_,s=s<<15|s>>>17,s=s*d&o_|s*f&c_,c^=s,c=c<<13|c>>>19,c=5*c+3864292196):(o=a[p],o=o*h&o_|o*u&c_,o=o<<15|o>>>17,o=o*d&o_|o*f&c_,l^=o,l=l<<13|l>>>19,l=5*l+3864292196);switch(s=0,r){case 3:s^=t[4*i+2]<<16;case 2:s^=t[4*i+1]<<8;case 1:s^=t[4*i],s=s*h&o_|s*u&c_,s=s<<15|s>>>17,s=s*d&o_|s*f&c_,1&i?c^=s:l^=s}this.h1=c,this.h2=l}hexdigest(){let e=this.h1,t=this.h2;return e^=t>>>1,e=3981806797*e&o_|36045*e&c_,t=4283543511*t&o_|(2950163797*(t<<16|e>>>16)&o_)>>>16,e^=t>>>1,e=444984403*e&o_|60499*e&c_,t=3301882366*t&o_|(3120437893*(t<<16|e>>>16)&o_)>>>16,e^=t>>>1,(e>>>0).toString(16).padStart(8,"0")+(t>>>0).toString(16).padStart(8,"0")}}const h_=Object.freeze({map:null,hash:"",transfer:void 0});class d_{constructor(){Cl(this,wn),Cl(this,bn,!1),Cl(this,vn,null),Cl(this,yn,new Map),this.onSetModified=null,this.onResetModified=null,this.onAnnotationEditor=null}getValue(e,t){const n=Sl(this,yn).get(e);return void 0===n?t:Object.assign(t,n)}getRawValue(e){return Sl(this,yn).get(e)}remove(e){if(Sl(this,yn).delete(e),0===Sl(this,yn).size&&this.resetModified(),"function"==typeof this.onAnnotationEditor){for(const e of Sl(this,yn).values())if(e instanceof r_)return;this.onAnnotationEditor(null)}}setValue(e,t){const n=Sl(this,yn).get(e);let i=!1;if(void 0!==n)for(const[r,a]of Object.entries(t))n[r]!==a&&(i=!0,n[r]=a);else i=!0,Sl(this,yn).set(e,t);i&&Fl(this,wn,xn).call(this),t instanceof r_&&"function"==typeof this.onAnnotationEditor&&this.onAnnotationEditor(t.constructor._type)}has(e){return Sl(this,yn).has(e)}getAll(){return Sl(this,yn).size>0?dx(Sl(this,yn)):null}setAll(e){for(const[t,n]of Object.entries(e))this.setValue(t,n)}get size(){return Sl(this,yn).size}resetModified(){Sl(this,bn)&&(Ul(this,bn,!1),"function"==typeof this.onResetModified&&this.onResetModified())}get print(){return new u_(this)}get serializable(){if(0===Sl(this,yn).size)return h_;const e=new Map,t=new l_,n=[],i=Object.create(null);let r=!1;for(const[a,s]of Sl(this,yn)){const n=s instanceof r_?s.serialize(!1,i):s;n&&(e.set(a,n),t.update(`${a}:${JSON.stringify(n)}`),r||(r=!!n.bitmap))}if(r)for(const a of e.values())a.bitmap&&n.push(a.bitmap);return e.size>0?{map:e,hash:t.hexdigest(),transfer:n}:h_}get editorStats(){let e=null;const t=new Map;for(const n of Sl(this,yn).values()){if(!(n instanceof r_))continue;const i=n.telemetryFinalData;if(!i)continue;const{type:r}=i;t.has(r)||t.set(r,Object.getPrototypeOf(n).constructor),e||(e=Object.create(null));const a=e[r]||(e[r]=new Map);for(const[e,t]of Object.entries(i)){if("type"===e)continue;let n=a.get(e);n||(n=new Map,a.set(e,n));const i=n.get(t)??0;n.set(t,i+1)}}for(const[n,i]of t)e[n]=i.computeTelemetryFinalData(e[n]);return e}resetModifiedIds(){Ul(this,vn,null)}get modifiedIds(){if(Sl(this,vn))return Sl(this,vn);const e=[];for(const t of Sl(this,yn).values())t instanceof r_&&t.annotationElementId&&t.serialize()&&e.push(t.annotationElementId);return Ul(this,vn,{ids:new Set(e),hash:e.join(",")})}}bn=new WeakMap,vn=new WeakMap,yn=new WeakMap,wn=new WeakSet,xn=function(){Sl(this,bn)||(Ul(this,bn,!0),"function"==typeof this.onSetModified&&this.onSetModified())};class u_ extends d_{constructor(e){super(),Cl(this,_n);const{map:t,hash:n,transfer:i}=e.serializable,r=structuredClone(t,i?{transfer:i}:null);Ul(this,_n,{map:r,hash:n,transfer:i})}get print(){Zw("Should not call PrintAnnotationStorage.print")}get serializable(){return Sl(this,_n)}get modifiedIds(){return ex(this,"modifiedIds",{ids:new Set,hash:""})}}_n=new WeakMap;class f_{constructor({ownerDocument:e=globalThis.document,styleElement:t=null}){Cl(this,Tn,new Set),this._document=e,this.nativeFontFaces=new Set,this.styleElement=null,this.loadingRequests=[],this.loadTestFontId=0}addNativeFontFace(e){this.nativeFontFaces.add(e),this._document.fonts.add(e)}removeNativeFontFace(e){this.nativeFontFaces.delete(e),this._document.fonts.delete(e)}insertRule(e){this.styleElement||(this.styleElement=this._document.createElement("style"),this._document.documentElement.getElementsByTagName("head")[0].append(this.styleElement));const t=this.styleElement.sheet;t.insertRule(e,t.cssRules.length)}clear(){for(const e of this.nativeFontFaces)this._document.fonts.delete(e);this.nativeFontFaces.clear(),Sl(this,Tn).clear(),this.styleElement&&(this.styleElement.remove(),this.styleElement=null)}async loadSystemFont({systemFontInfo:e,_inspectFont:t}){if(e&&!Sl(this,Tn).has(e.loadedName))if(Jw(!this.disableFontFace,"loadSystemFont shouldn't be called when `disableFontFace` is set."),this.isFontLoadingAPISupported){const{loadedName:n,src:i,style:r}=e,a=new FontFace(n,i,r);this.addNativeFontFace(a);try{await a.load(),Sl(this,Tn).add(n),null==t||t(e)}catch{Kw(e.baseFontName),this.removeNativeFontFace(a)}}else Zw("Not implemented: loadSystemFont without the Font Loading API.")}async bind(e){if(e.attached||e.missingFile&&!e.systemFontInfo)return;if(e.attached=!0,e.systemFontInfo)return void(await this.loadSystemFont(e));if(this.isFontLoadingAPISupported){const t=e.createNativeFontFace();if(t){this.addNativeFontFace(t);try{await t.loaded}catch(n){throw Kw(t.family),e.disableFontFace=!0,n}}return}const t=e.createFontFaceRule();if(t){if(this.insertRule(t),this.isSyncFontLoadingSupported)return;await new Promise((t=>{const n=this._queueLoadingCallback(t);this._prepareFontLoadEvent(e,n)}))}}get isFontLoadingAPISupported(){var e;return ex(this,"isFontLoadingAPISupported",!!(null==(e=this._document)?void 0:e.fonts))}get isSyncFontLoadingSupported(){let e=!1;return(Jy||"undefined"!=typeof navigator&&"string"==typeof(null==navigator?void 0:navigator.userAgent)&&/Mozilla\/5.0.*?rv:\d+.*? Gecko/.test(navigator.userAgent))&&(e=!0),ex(this,"isSyncFontLoadingSupported",e)}_queueLoadingCallback(e){const{loadingRequests:t}=this,n={done:!1,complete:function(){for(Jw(!n.done,"completeRequest() cannot be called twice."),n.done=!0;t.length>0&&t[0].done;){const e=t.shift();setTimeout(e.callback,0)}},callback:e};return t.push(n),n}get _loadTestFont(){return ex(this,"_loadTestFont",atob("T1RUTwALAIAAAwAwQ0ZGIDHtZg4AAAOYAAAAgUZGVE1lkzZwAAAEHAAAABxHREVGABQAFQAABDgAAAAeT1MvMlYNYwkAAAEgAAAAYGNtYXABDQLUAAACNAAAAUJoZWFk/xVFDQAAALwAAAA2aGhlYQdkA+oAAAD0AAAAJGhtdHgD6AAAAAAEWAAAAAZtYXhwAAJQAAAAARgAAAAGbmFtZVjmdH4AAAGAAAAAsXBvc3T/hgAzAAADeAAAACAAAQAAAAEAALZRFsRfDzz1AAsD6AAAAADOBOTLAAAAAM4KHDwAAAAAA+gDIQAAAAgAAgAAAAAAAAABAAADIQAAAFoD6AAAAAAD6AABAAAAAAAAAAAAAAAAAAAAAQAAUAAAAgAAAAQD6AH0AAUAAAKKArwAAACMAooCvAAAAeAAMQECAAACAAYJAAAAAAAAAAAAAQAAAAAAAAAAAAAAAFBmRWQAwAAuAC4DIP84AFoDIQAAAAAAAQAAAAAAAAAAACAAIAABAAAADgCuAAEAAAAAAAAAAQAAAAEAAAAAAAEAAQAAAAEAAAAAAAIAAQAAAAEAAAAAAAMAAQAAAAEAAAAAAAQAAQAAAAEAAAAAAAUAAQAAAAEAAAAAAAYAAQAAAAMAAQQJAAAAAgABAAMAAQQJAAEAAgABAAMAAQQJAAIAAgABAAMAAQQJAAMAAgABAAMAAQQJAAQAAgABAAMAAQQJAAUAAgABAAMAAQQJAAYAAgABWABYAAAAAAAAAwAAAAMAAAAcAAEAAAAAADwAAwABAAAAHAAEACAAAAAEAAQAAQAAAC7//wAAAC7////TAAEAAAAAAAABBgAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAD/gwAyAAAAAQAAAAAAAAAAAAAAAAAAAAABAAQEAAEBAQJYAAEBASH4DwD4GwHEAvgcA/gXBIwMAYuL+nz5tQXkD5j3CBLnEQACAQEBIVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYAAABAQAADwACAQEEE/t3Dov6fAH6fAT+fPp8+nwHDosMCvm1Cvm1DAz6fBQAAAAAAAABAAAAAMmJbzEAAAAAzgTjFQAAAADOBOQpAAEAAAAAAAAADAAUAAQAAAABAAAAAgABAAAAAAAAAAAD6AAAAAAAAA=="))}_prepareFontLoadEvent(e,t){function n(e,t){return e.charCodeAt(t)<<24|e.charCodeAt(t+1)<<16|e.charCodeAt(t+2)<<8|255&e.charCodeAt(t+3)}function i(e,t,n,i){return e.substring(0,t)+i+e.substring(t+n)}let r,a;const s=this._document.createElement("canvas");s.width=1,s.height=1;const o=s.getContext("2d");let c=0;const l=`lt${Date.now()}${this.loadTestFontId++}`;let h=this._loadTestFont;h=i(h,976,l.length,l);const d=1482184792;let u=n(h,16);for(r=0,a=l.length-3;r<a;r+=4)u=u-d+n(l,r)|0;var f;r<l.length&&(u=u-d+n(l+"XXX",r)|0),h=i(h,16,4,(f=u,String.fromCharCode(f>>24&255,f>>16&255,f>>8&255,255&f)));const p=`@font-face {font-family:"${l}";src:${`url(data:font/opentype;base64,${btoa(h)});`}}`;this.insertRule(p);const g=this._document.createElement("div");g.style.visibility="hidden",g.style.width=g.style.height="10px",g.style.position="absolute",g.style.top=g.style.left="0px";for(const m of[e.loadedName,l]){const e=this._document.createElement("span");e.textContent="Hi",e.style.fontFamily=m,g.append(e)}this._document.body.append(g),function e(t,n){if(++c>30)return Kw(),void n();o.font="30px "+t,o.fillText(".",0,20),o.getImageData(0,0,1,1).data[3]>0?n():setTimeout(e.bind(null,t,n))}(l,(()=>{g.remove(),t.complete()}))}}Tn=new WeakMap;class p_{constructor(e,{disableFontFace:t=!1,fontExtraProperties:n=!1,inspectFont:i=null}){this.compiledGlyphs=Object.create(null);for(const r in e)this[r]=e[r];this.disableFontFace=!0===t,this.fontExtraProperties=!0===n,this._inspectFont=i}createNativeFontFace(){var e;if(!this.data||this.disableFontFace)return null;let t;if(this.cssFontInfo){const e={weight:this.cssFontInfo.fontWeight};this.cssFontInfo.italicAngle&&(e.style=`oblique ${this.cssFontInfo.italicAngle}deg`),t=new FontFace(this.cssFontInfo.fontFamily,this.data,e)}else t=new FontFace(this.loadedName,this.data,{});return null==(e=this._inspectFont)||e.call(this,this),t}createFontFaceRule(){var e;if(!this.data||this.disableFontFace)return null;const t=`url(data:${this.mimetype};base64,${n=this.data,Uint8Array.prototype.toBase64?n.toBase64():btoa(lx(n))});`;var n;let i;if(this.cssFontInfo){let e=`font-weight: ${this.cssFontInfo.fontWeight};`;this.cssFontInfo.italicAngle&&(e+=`font-style: oblique ${this.cssFontInfo.italicAngle}deg;`),i=`@font-face {font-family:"${this.cssFontInfo.fontFamily}";${e}src:${t}}`}else i=`@font-face {font-family:"${this.loadedName}";src:${t}}`;return null==(e=this._inspectFont)||e.call(this,this,t),i}getPathGenerator(e,t){if(void 0!==this.compiledGlyphs[t])return this.compiledGlyphs[t];const n=this.loadedName+"_path_"+t;let i;try{i=e.get(n)}catch(a){Kw()}const r=new Path2D(i||"");return this.fontExtraProperties||e.delete(n),this.compiledGlyphs[t]=r}}const g_=1,m_=2,b_=1,v_=2,y_=3,w_=4,x_=5,__=6,T_=7,D_=8;function A_(){}function E_(e){if(e instanceof cx||e instanceof rx||e instanceof ax||e instanceof nx||e instanceof sx||e instanceof ix)return e;switch(e instanceof Error||"object"==typeof e&&null!==e||Zw('wrapReason: Expected "reason" to be a (possibly cloned) Error.'),e.name){case"AbortException":return new cx(e.message);case"InvalidPDFException":return new rx(e.message);case"MissingPDFException":return new ax(e.message);case"PasswordException":return new nx(e.message,e.code);case"UnexpectedResponseException":return new sx(e.message,e.status);case"UnknownErrorException":return new ix(e.message,e.details)}return new ix(e.message,e.toString())}class k_{constructor(e,t,n){Cl(this,An),Cl(this,Dn,new AbortController),this.sourceName=e,this.targetName=t,this.comObj=n,this.callbackId=1,this.streamId=1,this.streamSinks=Object.create(null),this.streamControllers=Object.create(null),this.callbackCapabilities=Object.create(null),this.actionHandler=Object.create(null),n.addEventListener("message",Fl(this,An,En).bind(this),{signal:Sl(this,Dn).signal})}on(e,t){const n=this.actionHandler;if(n[e])throw new Error(`There is already an actionName called "${e}"`);n[e]=t}send(e,t,n){this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:e,data:t},n)}sendWithPromise(e,t,n){const i=this.callbackId++,r=Promise.withResolvers();this.callbackCapabilities[i]=r;try{this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:e,callbackId:i,data:t},n)}catch(a){r.reject(a)}return r.promise}sendWithStream(e,t,n,i){const r=this.streamId++,a=this.sourceName,s=this.targetName,o=this.comObj;return new ReadableStream({start:n=>{const c=Promise.withResolvers();return this.streamControllers[r]={controller:n,startCall:c,pullCall:null,cancelCall:null,isClosed:!1},o.postMessage({sourceName:a,targetName:s,action:e,streamId:r,data:t,desiredSize:n.desiredSize},i),c.promise},pull:e=>{const t=Promise.withResolvers();return this.streamControllers[r].pullCall=t,o.postMessage({sourceName:a,targetName:s,stream:__,streamId:r,desiredSize:e.desiredSize}),t.promise},cancel:e=>{Jw(e instanceof Error,"cancel must have a valid reason");const t=Promise.withResolvers();return this.streamControllers[r].cancelCall=t,this.streamControllers[r].isClosed=!0,o.postMessage({sourceName:a,targetName:s,stream:b_,streamId:r,reason:E_(e)}),t.promise}},n)}destroy(){var e;null==(e=Sl(this,Dn))||e.abort(),Ul(this,Dn,null)}}Dn=new WeakMap,An=new WeakSet,En=function({data:e}){if(e.targetName!==this.sourceName)return;if(e.stream)return void Fl(this,An,Sn).call(this,e);if(e.callback){const t=e.callbackId,n=this.callbackCapabilities[t];if(!n)throw new Error(`Cannot resolve callback ${t}`);if(delete this.callbackCapabilities[t],e.callback===g_)n.resolve(e.data);else{if(e.callback!==m_)throw new Error("Unexpected callback case");n.reject(E_(e.reason))}return}const t=this.actionHandler[e.action];if(!t)throw new Error(`Unknown action from worker: ${e.action}`);if(e.callbackId){const n=this.sourceName,i=e.sourceName,r=this.comObj;Promise.try(t,e.data).then((function(t){r.postMessage({sourceName:n,targetName:i,callback:g_,callbackId:e.callbackId,data:t})}),(function(t){r.postMessage({sourceName:n,targetName:i,callback:m_,callbackId:e.callbackId,reason:E_(t)})}))}else e.streamId?Fl(this,An,kn).call(this,e):t(e.data)},kn=function(e){const t=e.streamId,n=this.sourceName,i=e.sourceName,r=this.comObj,a=this,s=this.actionHandler[e.action],o={enqueue(e,a=1,s){if(this.isCancelled)return;const o=this.desiredSize;this.desiredSize-=a,o>0&&this.desiredSize<=0&&(this.sinkCapability=Promise.withResolvers(),this.ready=this.sinkCapability.promise),r.postMessage({sourceName:n,targetName:i,stream:w_,streamId:t,chunk:e},s)},close(){this.isCancelled||(this.isCancelled=!0,r.postMessage({sourceName:n,targetName:i,stream:y_,streamId:t}),delete a.streamSinks[t])},error(e){Jw(e instanceof Error,"error must have a valid reason"),this.isCancelled||(this.isCancelled=!0,r.postMessage({sourceName:n,targetName:i,stream:x_,streamId:t,reason:E_(e)}))},sinkCapability:Promise.withResolvers(),onPull:null,onCancel:null,isCancelled:!1,desiredSize:e.desiredSize,ready:null};o.sinkCapability.resolve(),o.ready=o.sinkCapability.promise,this.streamSinks[t]=o,Promise.try(s,e.data,o).then((function(){r.postMessage({sourceName:n,targetName:i,stream:D_,streamId:t,success:!0})}),(function(e){r.postMessage({sourceName:n,targetName:i,stream:D_,streamId:t,reason:E_(e)})}))},Sn=function(e){const t=e.streamId,n=this.sourceName,i=e.sourceName,r=this.comObj,a=this.streamControllers[t],s=this.streamSinks[t];switch(e.stream){case D_:e.success?a.startCall.resolve():a.startCall.reject(E_(e.reason));break;case T_:e.success?a.pullCall.resolve():a.pullCall.reject(E_(e.reason));break;case __:if(!s){r.postMessage({sourceName:n,targetName:i,stream:T_,streamId:t,success:!0});break}s.desiredSize<=0&&e.desiredSize>0&&s.sinkCapability.resolve(),s.desiredSize=e.desiredSize,Promise.try(s.onPull||A_).then((function(){r.postMessage({sourceName:n,targetName:i,stream:T_,streamId:t,success:!0})}),(function(e){r.postMessage({sourceName:n,targetName:i,stream:T_,streamId:t,reason:E_(e)})}));break;case w_:if(Jw(a,"enqueue should have stream controller"),a.isClosed)break;a.controller.enqueue(e.chunk);break;case y_:if(Jw(a,"close should have stream controller"),a.isClosed)break;a.isClosed=!0,a.controller.close(),Fl(this,An,Cn).call(this,a,t);break;case x_:Jw(a,"error should have stream controller"),a.controller.error(E_(e.reason)),Fl(this,An,Cn).call(this,a,t);break;case v_:e.success?a.cancelCall.resolve():a.cancelCall.reject(E_(e.reason)),Fl(this,An,Cn).call(this,a,t);break;case b_:if(!s)break;const o=E_(e.reason);Promise.try(s.onCancel||A_,o).then((function(){r.postMessage({sourceName:n,targetName:i,stream:v_,streamId:t,success:!0})}),(function(e){r.postMessage({sourceName:n,targetName:i,stream:v_,streamId:t,reason:E_(e)})})),s.sinkCapability.reject(o),s.isCancelled=!0,delete this.streamSinks[t];break;default:throw new Error("Unexpected stream case")}},Cn=async function(e,t){var n,i,r;await Promise.allSettled([null==(n=e.startCall)?void 0:n.promise,null==(i=e.pullCall)?void 0:i.promise,null==(r=e.cancelCall)?void 0:r.promise]),delete this.streamControllers[t]};class S_{constructor({enableHWA:e=!1}){Cl(this,Un,!1),Ul(this,Un,e)}create(e,t){if(e<=0||t<=0)throw new Error("Invalid canvas size");const n=this._createCanvas(e,t);return{canvas:n,context:n.getContext("2d",{willReadFrequently:!Sl(this,Un)})}}reset(e,t,n){if(!e.canvas)throw new Error("Canvas is not specified");if(t<=0||n<=0)throw new Error("Invalid canvas size");e.canvas.width=t,e.canvas.height=n}destroy(e){if(!e.canvas)throw new Error("Canvas is not specified");e.canvas.width=0,e.canvas.height=0,e.canvas=null,e.context=null}_createCanvas(e,t){Zw("Abstract method `_createCanvas` called.")}}Un=new WeakMap;class C_{constructor({baseUrl:e=null,isCompressed:t=!0}){this.baseUrl=e,this.isCompressed=t}async fetch({name:e}){if(!this.baseUrl)throw new Error("Ensure that the `cMapUrl` and `cMapPacked` API parameters are provided.");if(!e)throw new Error("CMap name must be specified.");const t=this.baseUrl+e+(this.isCompressed?".bcmap":"");return this._fetch(t).then((e=>({cMapData:e,isCompressed:this.isCompressed}))).catch((e=>{throw new Error(`Unable to load ${this.isCompressed?"binary ":""}CMap at: ${t}`)}))}async _fetch(e){Zw("Abstract method `_fetch` called.")}}class U_ extends C_{async _fetch(e){const t=await _x(e,this.isCompressed?"arraybuffer":"text");return t instanceof ArrayBuffer?new Uint8Array(t):hx(t)}}class F_{addFilter(e){return"none"}addHCMFilter(e,t){return"none"}addAlphaFilter(e){return"none"}addLuminosityFilter(e){return"none"}addHighlightHCMFilter(e,t,n,i,r){return"none"}destroy(e=!1){}}Fn=new WeakMap,Mn=new WeakMap,Rn=new WeakMap,In=new WeakMap,On=new WeakMap,Nn=new WeakMap,Pn=new WeakMap,Ln=new WeakSet,Wn=function(){return Sl(this,Mn)||Ul(this,Mn,new Map)},Bn=function(){return Sl(this,Nn)||Ul(this,Nn,new Map)},jn=function(){if(!Sl(this,Rn)){const e=Sl(this,On).createElement("div"),{style:t}=e;t.visibility="hidden",t.contain="strict",t.width=t.height=0,t.position="absolute",t.top=t.left=0,t.zIndex=-1;const n=Sl(this,On).createElementNS(yx,"svg");n.setAttribute("width",0),n.setAttribute("height",0),Ul(this,Rn,Sl(this,On).createElementNS(yx,"defs")),e.append(n),n.append(Sl(this,Rn)),Sl(this,On).body.append(e)}return Sl(this,Rn)},zn=function(e){if(1===e.length){const t=e[0],n=new Array(256);for(let e=0;e<256;e++)n[e]=t[e]/255;const i=n.join(",");return[i,i,i]}const[t,n,i]=e,r=new Array(256),a=new Array(256),s=new Array(256);for(let o=0;o<256;o++)r[o]=t[o]/255,a[o]=n[o]/255,s[o]=i[o]/255;return[r.join(","),a.join(","),s.join(",")]},Hn=function(e){if(void 0===Sl(this,Fn)){Ul(this,Fn,"");const e=Sl(this,On).URL;e!==Sl(this,On).baseURI&&(Ax(e)?Kw():Ul(this,Fn,e.split("#",1)[0]))}return`url(${Sl(this,Fn)}#${e})`},Vn=function(e){const t=Sl(this,On).createElementNS(yx,"feColorMatrix");t.setAttribute("type","matrix"),t.setAttribute("values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.3 0.59 0.11 0 0"),e.append(t)},Gn=function(e){const t=Sl(this,On).createElementNS(yx,"feColorMatrix");t.setAttribute("type","matrix"),t.setAttribute("values","0.2126 0.7152 0.0722 0 0 0.2126 0.7152 0.0722 0 0 0.2126 0.7152 0.0722 0 0 0 0 0 1 0"),e.append(t)},Xn=function(e){const t=Sl(this,On).createElementNS(yx,"filter");return t.setAttribute("color-interpolation-filters","sRGB"),t.setAttribute("id",e),Sl(this,Ln,jn).append(t),t},$n=function(e,t,n){const i=Sl(this,On).createElementNS(yx,t);i.setAttribute("type","discrete"),i.setAttribute("tableValues",n),e.append(i)},qn=function(e,t,n,i){const r=Sl(this,On).createElementNS(yx,"feComponentTransfer");i.append(r),Fl(this,Ln,$n).call(this,r,"feFuncR",e),Fl(this,Ln,$n).call(this,r,"feFuncG",t),Fl(this,Ln,$n).call(this,r,"feFuncB",n)},Yn=function(e,t){const n=Sl(this,On).createElementNS(yx,"feComponentTransfer");t.append(n),Fl(this,Ln,$n).call(this,n,"feFuncA",e)},Kn=function(e){return Sl(this,Ln,jn).style.color=e,Ox(getComputedStyle(Sl(this,Ln,jn)).getPropertyValue("color"))};class M_{constructor({baseUrl:e=null}){this.baseUrl=e}async fetch({filename:e}){if(!this.baseUrl)throw new Error("Ensure that the `standardFontDataUrl` API parameter is provided.");if(!e)throw new Error("Font filename must be specified.");const t=`${this.baseUrl}${e}`;return this._fetch(t).catch((e=>{throw new Error(`Unable to load font data at: ${t}`)}))}async _fetch(e){Zw("Abstract method `_fetch` called.")}}class R_ extends M_{async _fetch(e){const t=await _x(e,"arraybuffer");return new Uint8Array(t)}}async function I_(e){const t=process.getBuiltinModule("fs"),n=await t.promises.readFile(e);return new Uint8Array(n)}Jy&&Kw();const O_="Fill",N_="Stroke",P_="Shading";function L_(e,t){if(!t)return;const n=t[2]-t[0],i=t[3]-t[1],r=new Path2D;r.rect(t[0],t[1],n,i),e.clip(r)}class W_{getPattern(){Zw("Abstract method `getPattern` called.")}}class B_ extends W_{constructor(e){super(),this._type=e[1],this._bbox=e[2],this._colorStops=e[3],this._p0=e[4],this._p1=e[5],this._r0=e[6],this._r1=e[7],this.matrix=null}_createGradient(e){let t;"axial"===this._type?t=e.createLinearGradient(this._p0[0],this._p0[1],this._p1[0],this._p1[1]):"radial"===this._type&&(t=e.createRadialGradient(this._p0[0],this._p0[1],this._r0,this._p1[0],this._p1[1],this._r1));for(const n of this._colorStops)t.addColorStop(n[0],n[1]);return t}getPattern(e,t,n,i){let r;if(i===N_||i===O_){const a=t.current.getClippedPathBoundingBox(i,Nx(e))||[0,0,0,0],s=Math.ceil(a[2]-a[0])||1,o=Math.ceil(a[3]-a[1])||1,c=t.cachedCanvases.getCanvas("pattern",s,o),l=c.context;l.clearRect(0,0,l.canvas.width,l.canvas.height),l.beginPath(),l.rect(0,0,l.canvas.width,l.canvas.height),l.translate(-a[0],-a[1]),n=px.transform(n,[1,0,0,1,a[0],a[1]]),l.transform(...t.baseTransform),this.matrix&&l.transform(...this.matrix),L_(l,this._bbox),l.fillStyle=this._createGradient(l),l.fill(),r=e.createPattern(c.canvas,"no-repeat");const h=new DOMMatrix(n);r.setTransform(h)}else L_(e,this._bbox),r=this._createGradient(e);return r}}function j_(e,t,n,i,r,a,s,o){const c=t.coords,l=t.colors,h=e.data,d=4*e.width;let u;c[n+1]>c[i+1]&&(u=n,n=i,i=u,u=a,a=s,s=u),c[i+1]>c[r+1]&&(u=i,i=r,r=u,u=s,s=o,o=u),c[n+1]>c[i+1]&&(u=n,n=i,i=u,u=a,a=s,s=u);const f=(c[n]+t.offsetX)*t.scaleX,p=(c[n+1]+t.offsetY)*t.scaleY,g=(c[i]+t.offsetX)*t.scaleX,m=(c[i+1]+t.offsetY)*t.scaleY,b=(c[r]+t.offsetX)*t.scaleX,v=(c[r+1]+t.offsetY)*t.scaleY;if(p>=v)return;const y=l[a],w=l[a+1],x=l[a+2],_=l[s],T=l[s+1],D=l[s+2],A=l[o],E=l[o+1],k=l[o+2],S=Math.round(p),C=Math.round(v);let U,F,M,R,I,O,N,P;for(let L=S;L<=C;L++){if(L<m){const e=L<p?0:(p-L)/(p-m);U=f-(f-g)*e,F=y-(y-_)*e,M=w-(w-T)*e,R=x-(x-D)*e}else{let e;e=L>v?1:m===v?0:(m-L)/(m-v),U=g-(g-b)*e,F=_-(_-A)*e,M=T-(T-E)*e,R=D-(D-k)*e}let e;e=L<p?0:L>v?1:(p-L)/(p-v),I=f-(f-b)*e,O=y-(y-A)*e,N=w-(w-E)*e,P=x-(x-k)*e;const t=Math.round(Math.min(U,I)),n=Math.round(Math.max(U,I));let i=d*L+4*t;for(let r=t;r<=n;r++)e=(U-r)/(U-I),e<0?e=0:e>1&&(e=1),h[i++]=F-(F-O)*e|0,h[i++]=M-(M-N)*e|0,h[i++]=R-(R-P)*e|0,h[i++]=255}}function z_(e,t,n){const i=t.coords,r=t.colors;let a,s;switch(t.type){case"lattice":const o=t.verticesPerRow,c=Math.floor(i.length/o)-1,l=o-1;for(a=0;a<c;a++){let t=a*o;for(let a=0;a<l;a++,t++)j_(e,n,i[t],i[t+1],i[t+o],r[t],r[t+1],r[t+o]),j_(e,n,i[t+o+1],i[t+1],i[t+o],r[t+o+1],r[t+1],r[t+o])}break;case"triangles":for(a=0,s=i.length;a<s;a+=3)j_(e,n,i[a],i[a+1],i[a+2],r[a],r[a+1],r[a+2]);break;default:throw new Error("illegal figure")}}class H_ extends W_{constructor(e){super(),this._coords=e[2],this._colors=e[3],this._figures=e[4],this._bounds=e[5],this._bbox=e[7],this._background=e[8],this.matrix=null}_createMeshCanvas(e,t,n){const i=Math.floor(this._bounds[0]),r=Math.floor(this._bounds[1]),a=Math.ceil(this._bounds[2])-i,s=Math.ceil(this._bounds[3])-r,o=Math.min(Math.ceil(Math.abs(a*e[0]*1.1)),3e3),c=Math.min(Math.ceil(Math.abs(s*e[1]*1.1)),3e3),l=a/o,h=s/c,d={coords:this._coords,colors:this._colors,offsetX:-i,offsetY:-r,scaleX:1/l,scaleY:1/h},u=o+4,f=c+4,p=n.getCanvas("mesh",u,f),g=p.context,m=g.createImageData(o,c);if(t){const e=m.data;for(let n=0,i=e.length;n<i;n+=4)e[n]=t[0],e[n+1]=t[1],e[n+2]=t[2],e[n+3]=255}for(const b of this._figures)z_(m,b,d);g.putImageData(m,2,2);return{canvas:p.canvas,offsetX:i-2*l,offsetY:r-2*h,scaleX:l,scaleY:h}}getPattern(e,t,n,i){let r;if(L_(e,this._bbox),i===P_)r=px.singularValueDecompose2dScale(Nx(e));else if(r=px.singularValueDecompose2dScale(t.baseTransform),this.matrix){const e=px.singularValueDecompose2dScale(this.matrix);r=[r[0]*e[0],r[1]*e[1]]}const a=this._createMeshCanvas(r,i===P_?null:this._background,t.cachedCanvases);return i!==P_&&(e.setTransform(...t.baseTransform),this.matrix&&e.transform(...this.matrix)),e.translate(a.offsetX,a.offsetY),e.scale(a.scaleX,a.scaleY),e.createPattern(a.canvas,"no-repeat")}}class V_ extends W_{getPattern(){return"hotpink"}}const G_=1,X_=2,$_=class e{constructor(e,t,n,i,r){this.operatorList=e[2],this.matrix=e[3],this.bbox=e[4],this.xstep=e[5],this.ystep=e[6],this.paintType=e[7],this.tilingType=e[8],this.color=t,this.ctx=n,this.canvasGraphicsFactory=i,this.baseTransform=r}createPatternCanvas(e){const{bbox:t,operatorList:n,paintType:i,tilingType:r,color:a,canvasGraphicsFactory:s}=this;let{xstep:o,ystep:c}=this;o=Math.abs(o),c=Math.abs(c),Yw();const l=t[0],h=t[1],d=t[2],u=t[3],f=d-l,p=u-h,g=px.singularValueDecompose2dScale(this.matrix),m=px.singularValueDecompose2dScale(this.baseTransform),b=g[0]*m[0],v=g[1]*m[1];let y=f,w=p,x=!1,_=!1;const T=Math.ceil(o*b),D=Math.ceil(c*v);T>=Math.ceil(f*b)?y=o:x=!0,D>=Math.ceil(p*v)?w=c:_=!0;const A=this.getSizeAndScale(y,this.ctx.canvas.width,b),E=this.getSizeAndScale(w,this.ctx.canvas.height,v),k=e.cachedCanvases.getCanvas("pattern",A.size,E.size),S=k.context,C=s.createCanvasGraphics(S);if(C.groupLevel=e.groupLevel,this.setFillAndStrokeStyleToContext(C,i,a),S.translate(-A.scale*l,-E.scale*h),C.transform(A.scale,0,0,E.scale,0,0),S.save(),this.clipBbox(C,l,h,d,u),C.baseTransform=Nx(C.ctx),C.executeOperatorList(n),C.endDrawing(),S.restore(),x||_){const t=k.canvas;x&&(y=o),_&&(w=c);const n=this.getSizeAndScale(y,this.ctx.canvas.width,b),i=this.getSizeAndScale(w,this.ctx.canvas.height,v),r=n.size,a=i.size,s=e.cachedCanvases.getCanvas("pattern-workaround",r,a),d=s.context,u=x?Math.floor(f/o):0,g=_?Math.floor(p/c):0;for(let e=0;e<=u;e++)for(let n=0;n<=g;n++)d.drawImage(t,r*e,a*n,r,a,0,0,r,a);return{canvas:s.canvas,scaleX:n.scale,scaleY:i.scale,offsetX:l,offsetY:h}}return{canvas:k.canvas,scaleX:A.scale,scaleY:E.scale,offsetX:l,offsetY:h}}getSizeAndScale(t,n,i){const r=Math.max(e.MAX_PATTERN_SIZE,n);let a=Math.ceil(t*i);return a>=r?a=r:i=a/t,{scale:i,size:a}}clipBbox(e,t,n,i,r){const a=i-t,s=r-n;e.ctx.rect(t,n,a,s),e.current.updateRectMinMax(Nx(e.ctx),[t,n,i,r]),e.clip(),e.endPath()}setFillAndStrokeStyleToContext(e,t,n){const i=e.ctx,r=e.current;switch(t){case G_:const e=this.ctx;i.fillStyle=e.fillStyle,i.strokeStyle=e.strokeStyle,r.fillColor=e.fillStyle,r.strokeColor=e.strokeStyle;break;case X_:const a=px.makeHexColor(n[0],n[1],n[2]);i.fillStyle=a,i.strokeStyle=a,r.fillColor=a,r.strokeColor=a;break;default:throw new ox(`Unsupported paint type: ${t}`)}}getPattern(e,t,n,i){let r=n;i!==P_&&(r=px.transform(r,t.baseTransform),this.matrix&&(r=px.transform(r,this.matrix)));const a=this.createPatternCanvas(t);let s=new DOMMatrix(r);s=s.translate(a.offsetX,a.offsetY),s=s.scale(1/a.scaleX,1/a.scaleY);const o=e.createPattern(a.canvas,"repeat");return o.setTransform(s),o}};El($_,"MAX_PATTERN_SIZE",3e3);let q_=$_;function Y_({src:e,srcPos:t=0,dest:n,width:i,height:r,nonBlackColor:a=4294967295,inverseDecode:s=!1}){const o=ux.isLittleEndian?4278190080:255,[c,l]=s?[a,o]:[o,a],h=i>>3,d=7&i,u=e.length;n=new Uint32Array(n.buffer);let f=0;for(let p=0;p<r;p++){for(const r=t+h;t<r;t++){const i=t<u?e[t]:255;n[f++]=128&i?l:c,n[f++]=64&i?l:c,n[f++]=32&i?l:c,n[f++]=16&i?l:c,n[f++]=8&i?l:c,n[f++]=4&i?l:c,n[f++]=2&i?l:c,n[f++]=1&i?l:c}if(0===d)continue;const i=t<u?e[t++]:255;for(let e=0;e<d;e++)n[f++]=i&1<<7-e?l:c}return{srcPos:t,destPos:f}}const K_=16;class Z_{constructor(e){this.canvasFactory=e,this.cache=Object.create(null)}getCanvas(e,t,n){let i;return void 0!==this.cache[e]?(i=this.cache[e],this.canvasFactory.reset(i,t,n)):(i=this.canvasFactory.create(t,n),this.cache[e]=i),i}delete(e){delete this.cache[e]}clear(){for(const e in this.cache){const t=this.cache[e];this.canvasFactory.destroy(t),delete this.cache[e]}}}function J_(e,t,n,i,r,a,s,o,c,l){const[h,d,u,f,p,g]=Nx(e);if(0===d&&0===u){const m=s*h+p,b=Math.round(m),v=o*f+g,y=Math.round(v),w=(s+c)*h+p,x=Math.abs(Math.round(w)-b)||1,_=(o+l)*f+g,T=Math.abs(Math.round(_)-y)||1;return e.setTransform(Math.sign(h),0,0,Math.sign(f),b,y),e.drawImage(t,n,i,r,a,0,0,x,T),e.setTransform(h,d,u,f,p,g),[x,T]}if(0===h&&0===f){const m=o*u+p,b=Math.round(m),v=s*d+g,y=Math.round(v),w=(o+l)*u+p,x=Math.abs(Math.round(w)-b)||1,_=(s+c)*d+g,T=Math.abs(Math.round(_)-y)||1;return e.setTransform(0,Math.sign(d),Math.sign(u),0,b,y),e.drawImage(t,n,i,r,a,0,0,T,x),e.setTransform(h,d,u,f,p,g),[T,x]}e.drawImage(t,n,i,r,a,s,o,c,l);return[Math.hypot(h,d)*c,Math.hypot(u,f)*l]}class Q_{constructor(e,t){this.alphaIsShape=!1,this.fontSize=0,this.fontSizeScale=1,this.textMatrix=Qy,this.textMatrixScale=1,this.fontMatrix=ew,this.leading=0,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRenderingMode=pw,this.textRise=0,this.fillColor="#000000",this.strokeColor="#000000",this.patternFill=!1,this.patternStroke=!1,this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.activeSMask=null,this.transferMaps="none",this.startNewPathAndClipBox([0,0,e,t])}clone(){const e=Object.create(this);return e.clipBox=this.clipBox.slice(),e}setCurrentPoint(e,t){this.x=e,this.y=t}updatePathMinMax(e,t,n){[t,n]=px.applyTransform([t,n],e),this.minX=Math.min(this.minX,t),this.minY=Math.min(this.minY,n),this.maxX=Math.max(this.maxX,t),this.maxY=Math.max(this.maxY,n)}updateRectMinMax(e,t){const n=px.applyTransform(t,e),i=px.applyTransform(t.slice(2),e),r=px.applyTransform([t[0],t[3]],e),a=px.applyTransform([t[2],t[1]],e);this.minX=Math.min(this.minX,n[0],i[0],r[0],a[0]),this.minY=Math.min(this.minY,n[1],i[1],r[1],a[1]),this.maxX=Math.max(this.maxX,n[0],i[0],r[0],a[0]),this.maxY=Math.max(this.maxY,n[1],i[1],r[1],a[1])}updateScalingPathMinMax(e,t){px.scaleMinMax(e,t),this.minX=Math.min(this.minX,t[0]),this.minY=Math.min(this.minY,t[1]),this.maxX=Math.max(this.maxX,t[2]),this.maxY=Math.max(this.maxY,t[3])}updateCurvePathMinMax(e,t,n,i,r,a,s,o,c,l){const h=px.bezierBoundingBox(t,n,i,r,a,s,o,c,l);l||this.updateRectMinMax(e,h)}getPathBoundingBox(e=O_,t=null){const n=[this.minX,this.minY,this.maxX,this.maxY];if(e===N_){t||Zw("Stroke bounding box must include transform.");const e=px.singularValueDecompose2dScale(t),i=e[0]*this.lineWidth/2,r=e[1]*this.lineWidth/2;n[0]-=i,n[1]-=r,n[2]+=i,n[3]+=r}return n}updateClipFromPath(){const e=px.intersect(this.clipBox,this.getPathBoundingBox());this.startNewPathAndClipBox(e||[0,0,0,0])}isEmptyClip(){return this.minX===1/0}startNewPathAndClipBox(e){this.clipBox=e,this.minX=1/0,this.minY=1/0,this.maxX=0,this.maxY=0}getClippedPathBoundingBox(e=O_,t=null){return px.intersect(this.clipBox,this.getPathBoundingBox(e,t))}}function eT(e,t){if(t instanceof ImageData)return void e.putImageData(t,0,0);const n=t.height,i=t.width,r=n%K_,a=(n-r)/K_,s=0===r?a:a+1,o=e.createImageData(i,K_);let c,l=0;const h=t.data,d=o.data;let u,f,p,g;if(t.kind===ww.GRAYSCALE_1BPP){const t=h.byteLength,n=new Uint32Array(d.buffer,0,d.byteLength>>2),g=n.length,m=i+7>>3,b=4294967295,v=ux.isLittleEndian?4278190080:255;for(u=0;u<s;u++){for(p=u<a?K_:r,c=0,f=0;f<p;f++){const e=t-l;let r=0;const a=e>m?i:8*e-7,s=-8&a;let o=0,d=0;for(;r<s;r+=8)d=h[l++],n[c++]=128&d?b:v,n[c++]=64&d?b:v,n[c++]=32&d?b:v,n[c++]=16&d?b:v,n[c++]=8&d?b:v,n[c++]=4&d?b:v,n[c++]=2&d?b:v,n[c++]=1&d?b:v;for(;r<a;r++)0===o&&(d=h[l++],o=128),n[c++]=d&o?b:v,o>>=1}for(;c<g;)n[c++]=0;e.putImageData(o,0,u*K_)}}else if(t.kind===ww.RGBA_32BPP){for(f=0,g=i*K_*4,u=0;u<a;u++)d.set(h.subarray(l,l+g)),l+=g,e.putImageData(o,0,f),f+=K_;u<s&&(g=i*r*4,d.set(h.subarray(l,l+g)),e.putImageData(o,0,f))}else{if(t.kind!==ww.RGB_24BPP)throw new Error(`bad image kind: ${t.kind}`);for(p=K_,g=i*p,u=0;u<s;u++){for(u>=a&&(p=r,g=i*p),c=0,f=g;f--;)d[c++]=h[l++],d[c++]=h[l++],d[c++]=h[l++],d[c++]=255;e.putImageData(o,0,u*K_)}}}function tT(e,t){if(t.bitmap)return void e.drawImage(t.bitmap,0,0);const n=t.height,i=t.width,r=n%K_,a=(n-r)/K_,s=0===r?a:a+1,o=e.createImageData(i,K_);let c=0;const l=t.data,h=o.data;for(let d=0;d<s;d++){const t=d<a?K_:r;({srcPos:c}=Y_({src:l,srcPos:c,dest:h,width:i,height:t,nonBlackColor:0})),e.putImageData(o,0,d*K_)}}function nT(e,t){const n=["strokeStyle","fillStyle","fillRule","globalAlpha","lineWidth","lineCap","lineJoin","miterLimit","globalCompositeOperation","font","filter"];for(const i of n)void 0!==e[i]&&(t[i]=e[i]);void 0!==e.setLineDash&&(t.setLineDash(e.getLineDash()),t.lineDashOffset=e.lineDashOffset)}function iT(e){if(e.strokeStyle=e.fillStyle="#000000",e.fillRule="nonzero",e.globalAlpha=1,e.lineWidth=1,e.lineCap="butt",e.lineJoin="miter",e.miterLimit=10,e.globalCompositeOperation="source-over",e.font="10px sans-serif",void 0!==e.setLineDash&&(e.setLineDash([]),e.lineDashOffset=0),!Jy){const{filter:t}=e;"none"!==t&&""!==t&&(e.filter="none")}}function rT(e,t){if(t)return!0;const n=px.singularValueDecompose2dScale(e);n[0]=Math.fround(n[0]),n[1]=Math.fround(n[1]);const i=Math.fround((globalThis.devicePixelRatio||1)*xx.PDF_TO_CSS_UNITS);return n[0]<=i&&n[1]<=i}const aT=["butt","round","square"],sT=["miter","round","bevel"],oT={},cT={};Zn=new WeakSet,Jn=function(){for(;this.stateStack.length||this.inSMaskMode;)this.restore();this.current.activeSMask=null,this.ctx.restore(),this.transparentCanvas&&(this.ctx=this.compositeCtx,this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.drawImage(this.transparentCanvas,0,0),this.ctx.restore(),this.transparentCanvas=null)},Qn=function(){if(this.pageColors){const e=this.filterFactory.addHCMFilter(this.pageColors.foreground,this.pageColors.background);if("none"!==e){const t=this.ctx.filter;this.ctx.filter=e,this.ctx.drawImage(this.ctx.canvas,0,0),this.ctx.filter=t}}},ei=function(e,t,n){const i=new Path2D;return i.addPath(e,new DOMMatrix(n).invertSelf().multiplySelf(t)),i};let lT=class e{constructor(e,t,n,i,r,{optionalContentConfig:a,markedContentStack:s=null},o,c){Cl(this,Zn),this.ctx=e,this.current=new Q_(this.ctx.canvas.width,this.ctx.canvas.height),this.stateStack=[],this.pendingClip=null,this.pendingEOFill=!1,this.res=null,this.xobjs=null,this.commonObjs=t,this.objs=n,this.canvasFactory=i,this.filterFactory=r,this.groupStack=[],this.processingType3=null,this.baseTransform=null,this.baseTransformStack=[],this.groupLevel=0,this.smaskStack=[],this.smaskCounter=0,this.tempSMask=null,this.suspendedCtx=null,this.contentVisible=!0,this.markedContentStack=s||[],this.optionalContentConfig=a,this.cachedCanvases=new Z_(this.canvasFactory),this.cachedPatterns=new Map,this.annotationCanvasMap=o,this.viewportScale=1,this.outputScaleX=1,this.outputScaleY=1,this.pageColors=c,this._cachedScaleForStroking=[-1,0],this._cachedGetSinglePixelWidth=null,this._cachedBitmapsMap=new Map}getObject(e,t=null){return"string"==typeof e?e.startsWith("g_")?this.commonObjs.get(e):this.objs.get(e):t}beginDrawing({transform:e,viewport:t,transparency:n=!1,background:i=null}){const r=this.ctx.canvas.width,a=this.ctx.canvas.height,s=this.ctx.fillStyle;if(this.ctx.fillStyle=i||"#ffffff",this.ctx.fillRect(0,0,r,a),this.ctx.fillStyle=s,n){const e=this.cachedCanvases.getCanvas("transparent",r,a);this.compositeCtx=this.ctx,this.transparentCanvas=e.canvas,this.ctx=e.context,this.ctx.save(),this.ctx.transform(...Nx(this.compositeCtx))}this.ctx.save(),iT(this.ctx),e&&(this.ctx.transform(...e),this.outputScaleX=e[0],this.outputScaleY=e[0]),this.ctx.transform(...t.transform),this.viewportScale=t.scale,this.baseTransform=Nx(this.ctx)}executeOperatorList(e,t,n,i){const r=e.argsArray,a=e.fnArray;let s=t||0;const o=r.length;if(o===s)return s;const c=o-s>10&&"function"==typeof n,l=c?Date.now()+15:0;let h=0;const d=this.commonObjs,u=this.objs;let f;for(;;){if(void 0!==i&&s===i.nextBreakPoint)return i.breakIt(s,n),s;if(f=a[s],f!==Gw.dependency)this[f].apply(this,r[s]);else for(const e of r[s]){const t=e.startsWith("g_")?d:u;if(!t.has(e))return t.get(e,n),s}if(s++,s===o)return s;if(c&&++h>10){if(Date.now()>l)return n(),s;h=0}}}endDrawing(){Fl(this,Zn,Jn).call(this),this.cachedCanvases.clear(),this.cachedPatterns.clear();for(const e of this._cachedBitmapsMap.values()){for(const t of e.values())"undefined"!=typeof HTMLCanvasElement&&t instanceof HTMLCanvasElement&&(t.width=t.height=0);e.clear()}this._cachedBitmapsMap.clear(),Fl(this,Zn,Qn).call(this)}_scaleImage(e,t){const n=e.width??e.displayWidth,i=e.height??e.displayHeight;let r,a,s=Math.max(Math.hypot(t[0],t[1]),1),o=Math.max(Math.hypot(t[2],t[3]),1),c=n,l=i,h="prescale1";for(;s>2&&c>1||o>2&&l>1;){let t=c,n=l;s>2&&c>1&&(t=c>=16384?Math.floor(c/2)-1||1:Math.ceil(c/2),s/=c/t),o>2&&l>1&&(n=l>=16384?Math.floor(l/2)-1||1:Math.ceil(l)/2,o/=l/n),r=this.cachedCanvases.getCanvas(h,t,n),a=r.context,a.clearRect(0,0,t,n),a.drawImage(e,0,0,c,l,0,0,t,n),e=r.canvas,c=t,l=n,h="prescale1"===h?"prescale2":"prescale1"}return{img:e,paintWidth:c,paintHeight:l}}_createMaskCanvas(e){const t=this.ctx,{width:n,height:i}=e,r=this.current.fillColor,a=this.current.patternFill,s=Nx(t);let o,c,l,h;if((e.bitmap||e.data)&&e.count>1){const t=e.bitmap||e.data.buffer;c=JSON.stringify(a?s:[s.slice(0,4),r]),o=this._cachedBitmapsMap.get(t),o||(o=new Map,this._cachedBitmapsMap.set(t,o));const n=o.get(c);if(n&&!a){return{canvas:n,offsetX:Math.round(Math.min(s[0],s[2])+s[4]),offsetY:Math.round(Math.min(s[1],s[3])+s[5])}}l=n}l||(h=this.cachedCanvases.getCanvas("maskCanvas",n,i),tT(h.context,e));let d=px.transform(s,[1/n,0,0,-1/i,0,0]);d=px.transform(d,[1,0,0,1,0,-i]);const[u,f,p,g]=px.getAxialAlignedBoundingBox([0,0,n,i],d),m=Math.round(p-u)||1,b=Math.round(g-f)||1,v=this.cachedCanvases.getCanvas("fillCanvas",m,b),y=v.context,w=u,x=f;y.translate(-w,-x),y.transform(...d),l||(l=this._scaleImage(h.canvas,Px(y)),l=l.img,o&&a&&o.set(c,l)),y.imageSmoothingEnabled=rT(Nx(y),e.interpolate),J_(y,l,0,0,l.width,l.height,0,0,n,i),y.globalCompositeOperation="source-in";const _=px.transform(Px(y),[1,0,0,1,-w,-x]);return y.fillStyle=a?r.getPattern(t,this,_,O_):r,y.fillRect(0,0,n,i),o&&!a&&(this.cachedCanvases.delete("fillCanvas"),o.set(c,v.canvas)),{canvas:v.canvas,offsetX:Math.round(w),offsetY:Math.round(x)}}setLineWidth(e){e!==this.current.lineWidth&&(this._cachedScaleForStroking[0]=-1),this.current.lineWidth=e,this.ctx.lineWidth=e}setLineCap(e){this.ctx.lineCap=aT[e]}setLineJoin(e){this.ctx.lineJoin=sT[e]}setMiterLimit(e){this.ctx.miterLimit=e}setDash(e,t){const n=this.ctx;void 0!==n.setLineDash&&(n.setLineDash(e),n.lineDashOffset=t)}setRenderingIntent(e){}setFlatness(e){}setGState(e){for(const[t,n]of e)switch(t){case"LW":this.setLineWidth(n);break;case"LC":this.setLineCap(n);break;case"LJ":this.setLineJoin(n);break;case"ML":this.setMiterLimit(n);break;case"D":this.setDash(n[0],n[1]);break;case"RI":this.setRenderingIntent(n);break;case"FL":this.setFlatness(n);break;case"Font":this.setFont(n[0],n[1]);break;case"CA":this.current.strokeAlpha=n;break;case"ca":this.current.fillAlpha=n,this.ctx.globalAlpha=n;break;case"BM":this.ctx.globalCompositeOperation=n;break;case"SMask":this.current.activeSMask=n?this.tempSMask:null,this.tempSMask=null,this.checkSMaskState();break;case"TR":this.ctx.filter=this.current.transferMaps=this.filterFactory.addFilter(n)}}get inSMaskMode(){return!!this.suspendedCtx}checkSMaskState(){const e=this.inSMaskMode;this.current.activeSMask&&!e?this.beginSMaskMode():!this.current.activeSMask&&e&&this.endSMaskMode()}beginSMaskMode(){if(this.inSMaskMode)throw new Error("beginSMaskMode called while already in smask mode");const e=this.ctx.canvas.width,t=this.ctx.canvas.height,n="smaskGroupAt"+this.groupLevel,i=this.cachedCanvases.getCanvas(n,e,t);this.suspendedCtx=this.ctx,this.ctx=i.context;const r=this.ctx;r.setTransform(...Nx(this.suspendedCtx)),nT(this.suspendedCtx,r),function(e,t){if(e._removeMirroring)throw new Error("Context is already forwarding operations.");e.__originalSave=e.save,e.__originalRestore=e.restore,e.__originalRotate=e.rotate,e.__originalScale=e.scale,e.__originalTranslate=e.translate,e.__originalTransform=e.transform,e.__originalSetTransform=e.setTransform,e.__originalResetTransform=e.resetTransform,e.__originalClip=e.clip,e.__originalMoveTo=e.moveTo,e.__originalLineTo=e.lineTo,e.__originalBezierCurveTo=e.bezierCurveTo,e.__originalRect=e.rect,e.__originalClosePath=e.closePath,e.__originalBeginPath=e.beginPath,e._removeMirroring=()=>{e.save=e.__originalSave,e.restore=e.__originalRestore,e.rotate=e.__originalRotate,e.scale=e.__originalScale,e.translate=e.__originalTranslate,e.transform=e.__originalTransform,e.setTransform=e.__originalSetTransform,e.resetTransform=e.__originalResetTransform,e.clip=e.__originalClip,e.moveTo=e.__originalMoveTo,e.lineTo=e.__originalLineTo,e.bezierCurveTo=e.__originalBezierCurveTo,e.rect=e.__originalRect,e.closePath=e.__originalClosePath,e.beginPath=e.__originalBeginPath,delete e._removeMirroring},e.save=function(){t.save(),this.__originalSave()},e.restore=function(){t.restore(),this.__originalRestore()},e.translate=function(e,n){t.translate(e,n),this.__originalTranslate(e,n)},e.scale=function(e,n){t.scale(e,n),this.__originalScale(e,n)},e.transform=function(e,n,i,r,a,s){t.transform(e,n,i,r,a,s),this.__originalTransform(e,n,i,r,a,s)},e.setTransform=function(e,n,i,r,a,s){t.setTransform(e,n,i,r,a,s),this.__originalSetTransform(e,n,i,r,a,s)},e.resetTransform=function(){t.resetTransform(),this.__originalResetTransform()},e.rotate=function(e){t.rotate(e),this.__originalRotate(e)},e.clip=function(e){t.clip(e),this.__originalClip(e)},e.moveTo=function(e,n){t.moveTo(e,n),this.__originalMoveTo(e,n)},e.lineTo=function(e,n){t.lineTo(e,n),this.__originalLineTo(e,n)},e.bezierCurveTo=function(e,n,i,r,a,s){t.bezierCurveTo(e,n,i,r,a,s),this.__originalBezierCurveTo(e,n,i,r,a,s)},e.rect=function(e,n,i,r){t.rect(e,n,i,r),this.__originalRect(e,n,i,r)},e.closePath=function(){t.closePath(),this.__originalClosePath()},e.beginPath=function(){t.beginPath(),this.__originalBeginPath()}}(r,this.suspendedCtx),this.setGState([["BM","source-over"],["ca",1],["CA",1]])}endSMaskMode(){if(!this.inSMaskMode)throw new Error("endSMaskMode called while not in smask mode");this.ctx._removeMirroring(),nT(this.ctx,this.suspendedCtx),this.ctx=this.suspendedCtx,this.suspendedCtx=null}compose(e){if(!this.current.activeSMask)return;e?(e[0]=Math.floor(e[0]),e[1]=Math.floor(e[1]),e[2]=Math.ceil(e[2]),e[3]=Math.ceil(e[3])):e=[0,0,this.ctx.canvas.width,this.ctx.canvas.height];const t=this.current.activeSMask,n=this.suspendedCtx;this.composeSMask(n,t,this.ctx,e),this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.clearRect(0,0,this.ctx.canvas.width,this.ctx.canvas.height),this.ctx.restore()}composeSMask(e,t,n,i){const r=i[0],a=i[1],s=i[2]-r,o=i[3]-a;0!==s&&0!==o&&(this.genericComposeSMask(t.context,n,s,o,t.subtype,t.backdrop,t.transferMap,r,a,t.offsetX,t.offsetY),e.save(),e.globalAlpha=1,e.globalCompositeOperation="source-over",e.setTransform(1,0,0,1,0,0),e.drawImage(n.canvas,0,0),e.restore())}genericComposeSMask(e,t,n,i,r,a,s,o,c,l,h){let d=e.canvas,u=o-l,f=c-h;if(a){const t=px.makeHexColor(...a);if(u<0||f<0||u+n>d.width||f+i>d.height){const e=this.cachedCanvases.getCanvas("maskExtension",n,i),r=e.context;r.drawImage(d,-u,-f),r.globalCompositeOperation="destination-atop",r.fillStyle=t,r.fillRect(0,0,n,i),r.globalCompositeOperation="source-over",d=e.canvas,u=f=0}else{e.save(),e.globalAlpha=1,e.setTransform(1,0,0,1,0,0);const r=new Path2D;r.rect(u,f,n,i),e.clip(r),e.globalCompositeOperation="destination-atop",e.fillStyle=t,e.fillRect(u,f,n,i),e.restore()}}t.save(),t.globalAlpha=1,t.setTransform(1,0,0,1,0,0),"Alpha"===r&&s?t.filter=this.filterFactory.addAlphaFilter(s):"Luminosity"===r&&(t.filter=this.filterFactory.addLuminosityFilter(s));const p=new Path2D;p.rect(o,c,n,i),t.clip(p),t.globalCompositeOperation="destination-in",t.drawImage(d,u,f,n,i,o,c,n,i),t.restore()}save(){this.inSMaskMode?(nT(this.ctx,this.suspendedCtx),this.suspendedCtx.save()):this.ctx.save();const e=this.current;this.stateStack.push(e),this.current=e.clone()}restore(){0===this.stateStack.length&&this.inSMaskMode&&this.endSMaskMode(),0!==this.stateStack.length&&(this.current=this.stateStack.pop(),this.inSMaskMode?(this.suspendedCtx.restore(),nT(this.suspendedCtx,this.ctx)):this.ctx.restore(),this.checkSMaskState(),this.pendingClip=null,this._cachedScaleForStroking[0]=-1,this._cachedGetSinglePixelWidth=null)}transform(e,t,n,i,r,a){this.ctx.transform(e,t,n,i,r,a),this._cachedScaleForStroking[0]=-1,this._cachedGetSinglePixelWidth=null}constructPath(e,t,n){const i=this.ctx,r=this.current;let a,s,o=r.x,c=r.y;const l=Nx(i),h=0===l[0]&&0===l[3]||0===l[1]&&0===l[2],d=h?n.slice(0):null;for(let u=0,f=0,p=e.length;u<p;u++)switch(0|e[u]){case Gw.rectangle:o=t[f++],c=t[f++];const e=t[f++],n=t[f++],u=o+e,p=c+n;i.moveTo(o,c),0===e||0===n?i.lineTo(u,p):(i.lineTo(u,c),i.lineTo(u,p),i.lineTo(o,p)),h||r.updateRectMinMax(l,[o,c,u,p]),i.closePath();break;case Gw.moveTo:o=t[f++],c=t[f++],i.moveTo(o,c),h||r.updatePathMinMax(l,o,c);break;case Gw.lineTo:o=t[f++],c=t[f++],i.lineTo(o,c),h||r.updatePathMinMax(l,o,c);break;case Gw.curveTo:a=o,s=c,o=t[f+4],c=t[f+5],i.bezierCurveTo(t[f],t[f+1],t[f+2],t[f+3],o,c),r.updateCurvePathMinMax(l,a,s,t[f],t[f+1],t[f+2],t[f+3],o,c,d),f+=6;break;case Gw.curveTo2:a=o,s=c,i.bezierCurveTo(o,c,t[f],t[f+1],t[f+2],t[f+3]),r.updateCurvePathMinMax(l,a,s,o,c,t[f],t[f+1],t[f+2],t[f+3],d),o=t[f+2],c=t[f+3],f+=4;break;case Gw.curveTo3:a=o,s=c,o=t[f+2],c=t[f+3],i.bezierCurveTo(t[f],t[f+1],o,c,o,c),r.updateCurvePathMinMax(l,a,s,t[f],t[f+1],o,c,o,c,d),f+=4;break;case Gw.closePath:i.closePath()}h&&r.updateScalingPathMinMax(l,d),r.setCurrentPoint(o,c)}closePath(){this.ctx.closePath()}stroke(e=!0){const t=this.ctx,n=this.current.strokeColor;t.globalAlpha=this.current.strokeAlpha,this.contentVisible&&("object"==typeof n&&(null==n?void 0:n.getPattern)?(t.save(),t.strokeStyle=n.getPattern(t,this,Px(t),N_),this.rescaleAndStroke(!1),t.restore()):this.rescaleAndStroke(!0)),e&&this.consumePath(this.current.getClippedPathBoundingBox()),t.globalAlpha=this.current.fillAlpha}closeStroke(){this.closePath(),this.stroke()}fill(e=!0){const t=this.ctx,n=this.current.fillColor;let i=!1;this.current.patternFill&&(t.save(),t.fillStyle=n.getPattern(t,this,Px(t),O_),i=!0);const r=this.current.getClippedPathBoundingBox();this.contentVisible&&null!==r&&(this.pendingEOFill?(t.fill("evenodd"),this.pendingEOFill=!1):t.fill()),i&&t.restore(),e&&this.consumePath(r)}eoFill(){this.pendingEOFill=!0,this.fill()}fillStroke(){this.fill(!1),this.stroke(!1),this.consumePath()}eoFillStroke(){this.pendingEOFill=!0,this.fillStroke()}closeFillStroke(){this.closePath(),this.fillStroke()}closeEOFillStroke(){this.pendingEOFill=!0,this.closePath(),this.fillStroke()}endPath(){this.consumePath()}clip(){this.pendingClip=oT}eoClip(){this.pendingClip=cT}beginText(){this.current.textMatrix=Qy,this.current.textMatrixScale=1,this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0}endText(){const e=this.pendingTextPaths,t=this.ctx;if(void 0===e)return void t.beginPath();const n=new Path2D,i=t.getTransform().invertSelf();for(const{transform:r,x:a,y:s,fontSize:o,path:c}of e)n.addPath(c,new DOMMatrix(r).preMultiplySelf(i).translate(a,s).scale(o,-o));t.clip(n),t.beginPath(),delete this.pendingTextPaths}setCharSpacing(e){this.current.charSpacing=e}setWordSpacing(e){this.current.wordSpacing=e}setHScale(e){this.current.textHScale=e/100}setLeading(e){this.current.leading=-e}setFont(e,t){var n;const i=this.commonObjs.get(e),r=this.current;if(!i)throw new Error(`Can't find font for ${e}`);if(r.fontMatrix=i.fontMatrix||ew,0!==r.fontMatrix[0]&&0!==r.fontMatrix[3]||Kw(),t<0?(t=-t,r.fontDirection=-1):r.fontDirection=1,this.current.font=i,this.current.fontSize=t,i.isType3Font)return;const a=i.loadedName||"sans-serif",s=(null==(n=i.systemFontInfo)?void 0:n.css)||`"${a}", ${i.fallbackName}`;let o="normal";i.black?o="900":i.bold&&(o="bold");const c=i.italic?"italic":"normal";let l=t;t<16?l=16:t>100&&(l=100),this.current.fontSizeScale=t/l,this.ctx.font=`${c} ${o} ${l}px ${s}`}setTextRenderingMode(e){this.current.textRenderingMode=e}setTextRise(e){this.current.textRise=e}moveText(e,t){this.current.x=this.current.lineX+=e,this.current.y=this.current.lineY+=t}setLeadingMoveText(e,t){this.setLeading(-t),this.moveText(e,t)}setTextMatrix(e,t,n,i,r,a){this.current.textMatrix=[e,t,n,i,r,a],this.current.textMatrixScale=Math.hypot(e,t),this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0}nextLine(){this.moveText(0,this.current.leading)}paintChar(e,t,n,i,r){const a=this.ctx,s=this.current,o=s.font,c=s.textRenderingMode,l=s.fontSize/s.fontSizeScale,h=c&vw,d=!!(c&yw),u=s.patternFill&&!o.missingFile,f=s.patternStroke&&!o.missingFile;let p;if((o.disableFontFace||d||u||f)&&(p=o.getPathGenerator(this.commonObjs,e)),o.disableFontFace||u||f){if(a.save(),a.translate(t,n),a.scale(l,-l),h===pw||h===mw)if(i){const e=a.getTransform();a.setTransform(...i),a.fill(Fl(this,Zn,ei).call(this,p,e,i))}else a.fill(p);if(h===gw||h===mw)if(r){const e=a.getTransform();a.setTransform(...r),a.stroke(Fl(this,Zn,ei).call(this,p,e,r))}else a.lineWidth/=l,a.stroke(p);a.restore()}else h!==pw&&h!==mw||a.fillText(e,t,n),h!==gw&&h!==mw||a.strokeText(e,t,n);if(d){(this.pendingTextPaths||(this.pendingTextPaths=[])).push({transform:Nx(a),x:t,y:n,fontSize:l,path:p})}}get isFontSubpixelAAEnabled(){const{context:e}=this.cachedCanvases.getCanvas("isFontSubpixelAAEnabled",10,10);e.scale(1.5,1),e.fillText("I",0,10);const t=e.getImageData(0,0,10,10).data;let n=!1;for(let i=3;i<t.length;i+=4)if(t[i]>0&&t[i]<255){n=!0;break}return ex(this,"isFontSubpixelAAEnabled",n)}showText(e){const t=this.current,n=t.font;if(n.isType3Font)return this.showType3Text(e);const i=t.fontSize;if(0===i)return;const r=this.ctx,a=t.fontSizeScale,s=t.charSpacing,o=t.wordSpacing,c=t.fontDirection,l=t.textHScale*c,h=e.length,d=n.vertical,u=d?1:-1,f=n.defaultVMetrics,p=i*t.fontMatrix[0],g=t.textRenderingMode===pw&&!n.disableFontFace&&!t.patternFill;let m,b;if(r.save(),r.transform(...t.textMatrix),r.translate(t.x,t.y+t.textRise),c>0?r.scale(l,-1):r.scale(l,1),t.patternFill){r.save();const e=t.fillColor.getPattern(r,this,Px(r),O_);m=Nx(r),r.restore(),r.fillStyle=e}if(t.patternStroke){r.save();const e=t.strokeColor.getPattern(r,this,Px(r),N_);b=Nx(r),r.restore(),r.strokeStyle=e}let v=t.lineWidth;const y=t.textMatrixScale;if(0===y||0===v){const e=t.textRenderingMode&vw;e!==gw&&e!==mw||(v=this.getSinglePixelWidth())}else v/=y;if(1!==a&&(r.scale(a,a),v/=a),r.lineWidth=v,n.isInvalidPDFjsFont){const n=[];let i=0;for(const t of e)n.push(t.unicode),i+=t.width;return r.fillText(n.join(""),0,0),t.x+=i*p*l,r.restore(),void this.compose()}let w,x=0;for(w=0;w<h;++w){const t=e[w];if("number"==typeof t){x+=u*t*i/1e3;continue}let l=!1;const h=(t.isSpace?o:0)+s,v=t.fontChar,y=t.accent;let _,T,D=t.width;if(d){const e=t.vmetric||f,n=-(t.vmetric?e[1]:.5*D)*p,i=e[2]*p;D=e?-e[0]:D,_=n/a,T=(x+i)/a}else _=x/a,T=0;if(n.remeasure&&D>0){const e=1e3*r.measureText(v).width/i*a;if(D<e&&this.isFontSubpixelAAEnabled){const t=D/e;l=!0,r.save(),r.scale(t,1),_/=t}else D!==e&&(_+=(D-e)/2e3*i/a)}if(this.contentVisible&&(t.isInFont||n.missingFile))if(g&&!y)r.fillText(v,_,T);else if(this.paintChar(v,_,T,m,b),y){const e=_+i*y.offset.x/a,t=T-i*y.offset.y/a;this.paintChar(y.fontChar,e,t,m,b)}x+=d?D*p-h*c:D*p+h*c,l&&r.restore()}d?t.y-=x:t.x+=x*l,r.restore(),this.compose()}showType3Text(e){const t=this.ctx,n=this.current,i=n.font,r=n.fontSize,a=n.fontDirection,s=i.vertical?1:-1,o=n.charSpacing,c=n.wordSpacing,l=n.textHScale*a,h=n.fontMatrix||ew,d=e.length;let u,f,p,g;if(!(n.textRenderingMode===bw)&&0!==r){for(this._cachedScaleForStroking[0]=-1,this._cachedGetSinglePixelWidth=null,t.save(),t.transform(...n.textMatrix),t.translate(n.x,n.y),t.scale(l,a),u=0;u<d;++u){if(f=e[u],"number"==typeof f){g=s*f*r/1e3,this.ctx.translate(g,0),n.x+=g*l;continue}const a=(f.isSpace?c:0)+o,d=i.charProcOperatorList[f.operatorListId];if(!d){Kw(f.operatorListId);continue}this.contentVisible&&(this.processingType3=f,this.save(),t.scale(r,r),t.transform(...h),this.executeOperatorList(d),this.restore());p=px.applyTransform([f.width,0],h)[0]*r+a,t.translate(p,0),n.x+=p*l}t.restore(),this.processingType3=null}}setCharWidth(e,t){}setCharWidthAndBounds(e,t,n,i,r,a){this.ctx.rect(n,i,r-n,a-i),this.ctx.clip(),this.endPath()}getColorN_Pattern(t){let n;if("TilingPattern"===t[0]){const i=t[1],r=this.baseTransform||Nx(this.ctx),a={createCanvasGraphics:t=>new e(t,this.commonObjs,this.objs,this.canvasFactory,this.filterFactory,{optionalContentConfig:this.optionalContentConfig,markedContentStack:this.markedContentStack})};n=new q_(t,i,this.ctx,a,r)}else n=this._getPattern(t[1],t[2]);return n}setStrokeColorN(){this.current.strokeColor=this.getColorN_Pattern(arguments),this.current.patternStroke=!0}setFillColorN(){this.current.fillColor=this.getColorN_Pattern(arguments),this.current.patternFill=!0}setStrokeRGBColor(e,t,n){this.ctx.strokeStyle=this.current.strokeColor=px.makeHexColor(e,t,n),this.current.patternStroke=!1}setStrokeTransparent(){this.ctx.strokeStyle=this.current.strokeColor="transparent",this.current.patternStroke=!1}setFillRGBColor(e,t,n){this.ctx.fillStyle=this.current.fillColor=px.makeHexColor(e,t,n),this.current.patternFill=!1}setFillTransparent(){this.ctx.fillStyle=this.current.fillColor="transparent",this.current.patternFill=!1}_getPattern(e,t=null){let n;return this.cachedPatterns.has(e)?n=this.cachedPatterns.get(e):(n=function(e){switch(e[0]){case"RadialAxial":return new B_(e);case"Mesh":return new H_(e);case"Dummy":return new V_}throw new Error(`Unknown IR type: ${e[0]}`)}(this.getObject(e)),this.cachedPatterns.set(e,n)),t&&(n.matrix=t),n}shadingFill(e){if(!this.contentVisible)return;const t=this.ctx;this.save();const n=this._getPattern(e);t.fillStyle=n.getPattern(t,this,Px(t),P_);const i=Px(t);{const{width:e,height:n}=t.canvas,[r,a,s,o]=px.getAxialAlignedBoundingBox([0,0,e,n],i);this.ctx.fillRect(r,a,s-r,o-a)}this.compose(this.current.getClippedPathBoundingBox()),this.restore()}beginInlineImage(){Zw("Should not call beginInlineImage")}beginImageData(){Zw("Should not call beginImageData")}paintFormXObjectBegin(e,t){if(this.contentVisible&&(this.save(),this.baseTransformStack.push(this.baseTransform),e&&this.transform(...e),this.baseTransform=Nx(this.ctx),t)){const e=t[2]-t[0],n=t[3]-t[1];this.ctx.rect(t[0],t[1],e,n),this.current.updateRectMinMax(Nx(this.ctx),t),this.clip(),this.endPath()}}paintFormXObjectEnd(){this.contentVisible&&(this.restore(),this.baseTransform=this.baseTransformStack.pop())}beginGroup(e){if(!this.contentVisible)return;this.save(),this.inSMaskMode&&(this.endSMaskMode(),this.current.activeSMask=null);const t=this.ctx;e.isolated||Yw(),e.knockout&&Kw();const n=Nx(t);if(e.matrix&&t.transform(...e.matrix),!e.bbox)throw new Error("Bounding box is required.");let i=px.getAxialAlignedBoundingBox(e.bbox,Nx(t));const r=[0,0,t.canvas.width,t.canvas.height];i=px.intersect(i,r)||[0,0,0,0];const a=Math.floor(i[0]),s=Math.floor(i[1]),o=Math.max(Math.ceil(i[2])-a,1),c=Math.max(Math.ceil(i[3])-s,1);this.current.startNewPathAndClipBox([0,0,o,c]);let l="groupAt"+this.groupLevel;e.smask&&(l+="_smask_"+this.smaskCounter++%2);const h=this.cachedCanvases.getCanvas(l,o,c),d=h.context;d.translate(-a,-s),d.transform(...n),e.smask?this.smaskStack.push({canvas:h.canvas,context:d,offsetX:a,offsetY:s,subtype:e.smask.subtype,backdrop:e.smask.backdrop,transferMap:e.smask.transferMap||null,startTransformInverse:null}):(t.setTransform(1,0,0,1,0,0),t.translate(a,s),t.save()),nT(t,d),this.ctx=d,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(t),this.groupLevel++}endGroup(e){if(!this.contentVisible)return;this.groupLevel--;const t=this.ctx,n=this.groupStack.pop();if(this.ctx=n,this.ctx.imageSmoothingEnabled=!1,e.smask)this.tempSMask=this.smaskStack.pop(),this.restore();else{this.ctx.restore();const e=Nx(this.ctx);this.restore(),this.ctx.save(),this.ctx.setTransform(...e);const n=px.getAxialAlignedBoundingBox([0,0,t.canvas.width,t.canvas.height],e);this.ctx.drawImage(t.canvas,0,0),this.ctx.restore(),this.compose(n)}}beginAnnotation(e,t,n,i,r){if(Fl(this,Zn,Jn).call(this),iT(this.ctx),this.ctx.save(),this.save(),this.baseTransform&&this.ctx.setTransform(...this.baseTransform),t){const i=t[2]-t[0],a=t[3]-t[1];if(r&&this.annotationCanvasMap){(n=n.slice())[4]-=t[0],n[5]-=t[1],(t=t.slice())[0]=t[1]=0,t[2]=i,t[3]=a;const[r,s]=px.singularValueDecompose2dScale(Nx(this.ctx)),{viewportScale:o}=this,c=Math.ceil(i*this.outputScaleX*o),l=Math.ceil(a*this.outputScaleY*o);this.annotationCanvas=this.canvasFactory.create(c,l);const{canvas:h,context:d}=this.annotationCanvas;this.annotationCanvasMap.set(e,h),this.annotationCanvas.savedCtx=this.ctx,this.ctx=d,this.ctx.save(),this.ctx.setTransform(r,0,0,-s,0,a*s),iT(this.ctx)}else iT(this.ctx),this.endPath(),this.ctx.rect(t[0],t[1],i,a),this.ctx.clip(),this.ctx.beginPath()}this.current=new Q_(this.ctx.canvas.width,this.ctx.canvas.height),this.transform(...n),this.transform(...i)}endAnnotation(){this.annotationCanvas&&(this.ctx.restore(),Fl(this,Zn,Qn).call(this),this.ctx=this.annotationCanvas.savedCtx,delete this.annotationCanvas.savedCtx,delete this.annotationCanvas)}paintImageMaskXObject(e){if(!this.contentVisible)return;const t=e.count;(e=this.getObject(e.data,e)).count=t;const n=this.ctx,i=this.processingType3;if(i&&(void 0===i.compiled&&(i.compiled=function(e){const{width:t,height:n}=e;if(t>1e3||n>1e3)return null;const i=new Uint8Array([0,2,4,0,1,0,5,4,8,10,0,8,0,2,1,0]),r=t+1;let a,s,o,c=new Uint8Array(r*(n+1));const l=t+7&-8;let h=new Uint8Array(l*n),d=0;for(const g of e.data){let e=128;for(;e>0;)h[d++]=g&e?0:255,e>>=1}let u=0;for(d=0,0!==h[d]&&(c[0]=1,++u),s=1;s<t;s++)h[d]!==h[d+1]&&(c[s]=h[d]?2:1,++u),d++;for(0!==h[d]&&(c[s]=2,++u),a=1;a<n;a++){d=a*l,o=a*r,h[d-l]!==h[d]&&(c[o]=h[d]?1:8,++u);let e=(h[d]?4:0)+(h[d-l]?8:0);for(s=1;s<t;s++)e=(e>>2)+(h[d+1]?4:0)+(h[d-l+1]?8:0),i[e]&&(c[o+s]=i[e],++u),d++;if(h[d-l]!==h[d]&&(c[o+s]=h[d]?2:4,++u),u>1e3)return null}for(d=l*(n-1),o=a*r,0!==h[d]&&(c[o]=8,++u),s=1;s<t;s++)h[d]!==h[d+1]&&(c[o+s]=h[d]?4:8,++u),d++;if(0!==h[d]&&(c[o+s]=4,++u),u>1e3)return null;const f=new Int32Array([0,r,-1,0,-r,0,0,0,1]),p=new Path2D;for(a=0;u&&a<=n;a++){let e=a*r;const n=e+t;for(;e<n&&!c[e];)e++;if(e===n)continue;p.moveTo(e%r,a);const i=e;let s=c[e];do{const t=f[s];do{e+=t}while(!c[e]);const n=c[e];5!==n&&10!==n?(s=n,c[e]=0):(s=n&51*s>>4,c[e]&=s>>2|s<<2),p.lineTo(e%r,e/r|0),c[e]||--u}while(i!==e);--a}return h=null,c=null,function(e){e.save(),e.scale(1/t,-1/n),e.translate(0,-n),e.fill(p),e.beginPath(),e.restore()}}(e)),i.compiled))return void i.compiled(n);const r=this._createMaskCanvas(e),a=r.canvas;n.save(),n.setTransform(1,0,0,1,0,0),n.drawImage(a,r.offsetX,r.offsetY),n.restore(),this.compose()}paintImageMaskXObjectRepeat(e,t,n=0,i=0,r,a){if(!this.contentVisible)return;e=this.getObject(e.data,e);const s=this.ctx;s.save();const o=Nx(s);s.transform(t,n,i,r,0,0);const c=this._createMaskCanvas(e);s.setTransform(1,0,0,1,c.offsetX-o[4],c.offsetY-o[5]);for(let l=0,h=a.length;l<h;l+=2){const e=px.transform(o,[t,n,i,r,a[l],a[l+1]]),[h,d]=px.applyTransform([0,0],e);s.drawImage(c.canvas,h,d)}s.restore(),this.compose()}paintImageMaskXObjectGroup(e){if(!this.contentVisible)return;const t=this.ctx,n=this.current.fillColor,i=this.current.patternFill;for(const r of e){const{data:e,width:a,height:s,transform:o}=r,c=this.cachedCanvases.getCanvas("maskCanvas",a,s),l=c.context;l.save();tT(l,this.getObject(e,r)),l.globalCompositeOperation="source-in",l.fillStyle=i?n.getPattern(l,this,Px(t),O_):n,l.fillRect(0,0,a,s),l.restore(),t.save(),t.transform(...o),t.scale(1,-1),J_(t,c.canvas,0,0,a,s,0,-1,1,1),t.restore()}this.compose()}paintImageXObject(e){if(!this.contentVisible)return;const t=this.getObject(e);t?this.paintInlineImageXObject(t):Kw()}paintImageXObjectRepeat(e,t,n,i){if(!this.contentVisible)return;const r=this.getObject(e);if(!r)return void Kw();const a=r.width,s=r.height,o=[];for(let c=0,l=i.length;c<l;c+=2)o.push({transform:[t,0,0,n,i[c],i[c+1]],x:0,y:0,w:a,h:s});this.paintInlineImageXObjectGroup(r,o)}applyTransferMapsToCanvas(e){return"none"!==this.current.transferMaps&&(e.filter=this.current.transferMaps,e.drawImage(e.canvas,0,0),e.filter="none"),e.canvas}applyTransferMapsToBitmap(e){if("none"===this.current.transferMaps)return e.bitmap;const{bitmap:t,width:n,height:i}=e,r=this.cachedCanvases.getCanvas("inlineImage",n,i),a=r.context;return a.filter=this.current.transferMaps,a.drawImage(t,0,0),a.filter="none",r.canvas}paintInlineImageXObject(e){if(!this.contentVisible)return;const t=e.width,n=e.height,i=this.ctx;if(this.save(),!Jy){const{filter:e}=i;"none"!==e&&""!==e&&(i.filter="none")}let r;if(i.scale(1/t,-1/n),e.bitmap)r=this.applyTransferMapsToBitmap(e);else if("function"==typeof HTMLElement&&e instanceof HTMLElement||!e.data)r=e;else{const i=this.cachedCanvases.getCanvas("inlineImage",t,n).context;eT(i,e),r=this.applyTransferMapsToCanvas(i)}const a=this._scaleImage(r,Px(i));i.imageSmoothingEnabled=rT(Nx(i),e.interpolate),J_(i,a.img,0,0,a.paintWidth,a.paintHeight,0,-n,t,n),this.compose(),this.restore()}paintInlineImageXObjectGroup(e,t){if(!this.contentVisible)return;const n=this.ctx;let i;if(e.bitmap)i=e.bitmap;else{const t=e.width,n=e.height,r=this.cachedCanvases.getCanvas("inlineImage",t,n).context;eT(r,e),i=this.applyTransferMapsToCanvas(r)}for(const r of t)n.save(),n.transform(...r.transform),n.scale(1,-1),J_(n,i,r.x,r.y,r.w,r.h,0,-1,1,1),n.restore();this.compose()}paintSolidColorImageMask(){this.contentVisible&&(this.ctx.fillRect(0,0,1,1),this.compose())}markPoint(e){}markPointProps(e,t){}beginMarkedContent(e){this.markedContentStack.push({visible:!0})}beginMarkedContentProps(e,t){"OC"===e?this.markedContentStack.push({visible:this.optionalContentConfig.isVisible(t)}):this.markedContentStack.push({visible:!0}),this.contentVisible=this.isContentVisible()}endMarkedContent(){this.markedContentStack.pop(),this.contentVisible=this.isContentVisible()}beginCompat(){}endCompat(){}consumePath(e){const t=this.current.isEmptyClip();this.pendingClip&&this.current.updateClipFromPath(),this.pendingClip||this.compose(e);const n=this.ctx;this.pendingClip&&(t||(this.pendingClip===cT?n.clip("evenodd"):n.clip()),this.pendingClip=null),this.current.startNewPathAndClipBox(this.current.clipBox),n.beginPath()}getSinglePixelWidth(){if(!this._cachedGetSinglePixelWidth){const e=Nx(this.ctx);if(0===e[1]&&0===e[2])this._cachedGetSinglePixelWidth=1/Math.min(Math.abs(e[0]),Math.abs(e[3]));else{const t=Math.abs(e[0]*e[3]-e[2]*e[1]),n=Math.hypot(e[0],e[2]),i=Math.hypot(e[1],e[3]);this._cachedGetSinglePixelWidth=Math.max(n,i)/t}}return this._cachedGetSinglePixelWidth}getScaleForStroking(){if(-1===this._cachedScaleForStroking[0]){const{lineWidth:e}=this.current,{a:t,b:n,c:i,d:r}=this.ctx.getTransform();let a,s;if(0===n&&0===i){const n=Math.abs(t),i=Math.abs(r);if(n===i)if(0===e)a=s=1/n;else{const t=n*e;a=s=t<1?1/t:1}else if(0===e)a=1/n,s=1/i;else{const t=n*e,r=i*e;a=t<1?1/t:1,s=r<1?1/r:1}}else{const o=Math.abs(t*r-n*i),c=Math.hypot(t,n),l=Math.hypot(i,r);if(0===e)a=l/o,s=c/o;else{const t=e*o;a=l>t?l/t:1,s=c>t?c/t:1}}this._cachedScaleForStroking[0]=a,this._cachedScaleForStroking[1]=s}return this._cachedScaleForStroking}rescaleAndStroke(e){const{ctx:t}=this,{lineWidth:n}=this.current,[i,r]=this.getScaleForStroking();if(t.lineWidth=n||1,1===i&&1===r)return void t.stroke();const a=t.getLineDash();if(e&&t.save(),t.scale(i,r),a.length>0){const e=Math.max(i,r);t.setLineDash(a.map((t=>t/e))),t.lineDashOffset/=e}t.stroke(),e&&t.restore()}isContentVisible(){for(let e=this.markedContentStack.length-1;e>=0;e--)if(!this.markedContentStack[e].visible)return!1;return!0}};for(const $ in Gw)void 0!==lT.prototype[$]&&(lT.prototype[Gw[$]]=lT.prototype[$]);class hT{static get workerPort(){return Sl(this,ti)}static set workerPort(e){if(!("undefined"!=typeof Worker&&e instanceof Worker)&&null!==e)throw new Error("Invalid `workerPort` type.");Ul(this,ti,e)}static get workerSrc(){return Sl(this,ni)}static set workerSrc(e){if("string"!=typeof e)throw new Error("Invalid `workerSrc` type.");Ul(this,ni,e)}}ti=new WeakMap,ni=new WeakMap,Cl(hT,ti,null),Cl(hT,ni,"");class dT{constructor({parsedData:e,rawData:t}){Cl(this,ii),Cl(this,ri),Ul(this,ii,e),Ul(this,ri,t)}getRaw(){return Sl(this,ri)}get(e){return Sl(this,ii).get(e)??null}getAll(){return dx(Sl(this,ii))}has(e){return Sl(this,ii).has(e)}}ii=new WeakMap,ri=new WeakMap;const uT=Symbol("INTERNAL");class fT{constructor(e,{name:t,intent:n,usage:i,rbGroups:r}){Cl(this,ai,!1),Cl(this,si,!1),Cl(this,oi,!1),Cl(this,ci,!0),Ul(this,ai,!!(e&iw)),Ul(this,si,!!(e&rw)),this.name=t,this.intent=n,this.usage=i,this.rbGroups=r}get visible(){if(Sl(this,oi))return Sl(this,ci);if(!Sl(this,ci))return!1;const{print:e,view:t}=this.usage;return Sl(this,ai)?"OFF"!==(null==t?void 0:t.viewState):!Sl(this,si)||"OFF"!==(null==e?void 0:e.printState)}_setVisible(e,t,n=!1){e!==uT&&Zw("Internal method `_setVisible` called."),Ul(this,oi,n),Ul(this,ci,t)}}ai=new WeakMap,si=new WeakMap,oi=new WeakMap,ci=new WeakMap;class pT{constructor(e,t=iw){if(Cl(this,fi),Cl(this,li,null),Cl(this,hi,new Map),Cl(this,di,null),Cl(this,ui,null),this.renderingIntent=t,this.name=null,this.creator=null,null!==e){this.name=e.name,this.creator=e.creator,Ul(this,ui,e.order);for(const n of e.groups)Sl(this,hi).set(n.id,new fT(t,n));if("OFF"===e.baseState)for(const e of Sl(this,hi).values())e._setVisible(uT,!1);for(const t of e.on)Sl(this,hi).get(t)._setVisible(uT,!0);for(const t of e.off)Sl(this,hi).get(t)._setVisible(uT,!1);Ul(this,di,this.getHash())}}isVisible(e){if(0===Sl(this,hi).size)return!0;if(!e)return Yw(),!0;if("OCG"===e.type)return Sl(this,hi).has(e.id)?Sl(this,hi).get(e.id).visible:(Kw(e.id),!0);if("OCMD"===e.type){if(e.expression)return Fl(this,fi,pi).call(this,e.expression);if(!e.policy||"AnyOn"===e.policy){for(const t of e.ids){if(!Sl(this,hi).has(t))return Kw(),!0;if(Sl(this,hi).get(t).visible)return!0}return!1}if("AllOn"===e.policy){for(const t of e.ids){if(!Sl(this,hi).has(t))return Kw(),!0;if(!Sl(this,hi).get(t).visible)return!1}return!0}if("AnyOff"===e.policy){for(const t of e.ids){if(!Sl(this,hi).has(t))return Kw(),!0;if(!Sl(this,hi).get(t).visible)return!0}return!1}if("AllOff"===e.policy){for(const t of e.ids){if(!Sl(this,hi).has(t))return Kw(),!0;if(Sl(this,hi).get(t).visible)return!1}return!0}return Kw(e.policy),!0}return Kw(e.type),!0}setVisibility(e,t=!0,n=!0){var i;const r=Sl(this,hi).get(e);if(r){if(n&&t&&r.rbGroups.length)for(const t of r.rbGroups)for(const n of t)n!==e&&(null==(i=Sl(this,hi).get(n))||i._setVisible(uT,!1,!0));r._setVisible(uT,!!t,!0),Ul(this,li,null)}else Kw()}setOCGState({state:e,preserveRB:t}){let n;for(const i of e){switch(i){case"ON":case"OFF":case"Toggle":n=i;continue}const e=Sl(this,hi).get(i);if(e)switch(n){case"ON":this.setVisibility(i,!0,t);break;case"OFF":this.setVisibility(i,!1,t);break;case"Toggle":this.setVisibility(i,!e.visible,t)}}Ul(this,li,null)}get hasInitialVisibility(){return null===Sl(this,di)||this.getHash()===Sl(this,di)}getOrder(){return Sl(this,hi).size?Sl(this,ui)?Sl(this,ui).slice():[...Sl(this,hi).keys()]:null}getGroups(){return Sl(this,hi).size>0?dx(Sl(this,hi)):null}getGroup(e){return Sl(this,hi).get(e)||null}getHash(){if(null!==Sl(this,li))return Sl(this,li);const e=new l_;for(const[t,n]of Sl(this,hi))e.update(`${t}:${n.visible}`);return Ul(this,li,e.hexdigest())}}li=new WeakMap,hi=new WeakMap,di=new WeakMap,ui=new WeakMap,fi=new WeakSet,pi=function(e){const t=e.length;if(t<2)return!0;const n=e[0];for(let i=1;i<t;i++){const t=e[i];let r;if(Array.isArray(t))r=Fl(this,fi,pi).call(this,t);else{if(!Sl(this,hi).has(t))return Kw(),!0;r=Sl(this,hi).get(t).visible}switch(n){case"And":if(!r)return!1;break;case"Or":if(r)return!0;break;case"Not":return!r;default:return!0}}return"And"===n};class gT{constructor(e,{disableRange:t=!1,disableStream:n=!1}){Jw(e,'PDFDataTransportStream - missing required "pdfDataRangeTransport" argument.');const{length:i,initialData:r,progressiveDone:a,contentDispositionFilename:s}=e;if(this._queuedChunks=[],this._progressiveDone=a,this._contentDispositionFilename=s,(null==r?void 0:r.length)>0){const e=r instanceof Uint8Array&&r.byteLength===r.buffer.byteLength?r.buffer:new Uint8Array(r).buffer;this._queuedChunks.push(e)}this._pdfDataRangeTransport=e,this._isStreamingSupported=!n,this._isRangeSupported=!t,this._contentLength=i,this._fullRequestReader=null,this._rangeReaders=[],e.addRangeListener(((e,t)=>{this._onReceiveData({begin:e,chunk:t})})),e.addProgressListener(((e,t)=>{this._onProgress({loaded:e,total:t})})),e.addProgressiveReadListener((e=>{this._onReceiveData({chunk:e})})),e.addProgressiveDoneListener((()=>{this._onProgressiveDone()})),e.transportReady()}_onReceiveData({begin:e,chunk:t}){const n=t instanceof Uint8Array&&t.byteLength===t.buffer.byteLength?t.buffer:new Uint8Array(t).buffer;if(void 0===e)this._fullRequestReader?this._fullRequestReader._enqueue(n):this._queuedChunks.push(n);else{Jw(this._rangeReaders.some((function(t){return t._begin===e&&(t._enqueue(n),!0)})),"_onReceiveData - no `PDFDataTransportStreamRangeReader` instance found.")}}get _progressiveDataLength(){var e;return(null==(e=this._fullRequestReader)?void 0:e._loaded)??0}_onProgress(e){var t,n,i,r;void 0===e.total?null==(n=null==(t=this._rangeReaders[0])?void 0:t.onProgress)||n.call(t,{loaded:e.loaded}):null==(r=null==(i=this._fullRequestReader)?void 0:i.onProgress)||r.call(i,{loaded:e.loaded,total:e.total})}_onProgressiveDone(){var e;null==(e=this._fullRequestReader)||e.progressiveDone(),this._progressiveDone=!0}_removeRangeReader(e){const t=this._rangeReaders.indexOf(e);t>=0&&this._rangeReaders.splice(t,1)}getFullReader(){Jw(!this._fullRequestReader,"PDFDataTransportStream.getFullReader can only be called once.");const e=this._queuedChunks;return this._queuedChunks=null,new mT(this,e,this._progressiveDone,this._contentDispositionFilename)}getRangeReader(e,t){if(t<=this._progressiveDataLength)return null;const n=new bT(this,e,t);return this._pdfDataRangeTransport.requestDataRange(e,t),this._rangeReaders.push(n),n}cancelAllRequests(e){var t;null==(t=this._fullRequestReader)||t.cancel(e);for(const n of this._rangeReaders.slice(0))n.cancel(e);this._pdfDataRangeTransport.abort()}}class mT{constructor(e,t,n=!1,i=null){this._stream=e,this._done=n||!1,this._filename=Ex(i)?i:null,this._queuedChunks=t||[],this._loaded=0;for(const r of this._queuedChunks)this._loaded+=r.byteLength;this._requests=[],this._headersReady=Promise.resolve(),e._fullRequestReader=this,this.onProgress=null}_enqueue(e){if(!this._done){if(this._requests.length>0){this._requests.shift().resolve({value:e,done:!1})}else this._queuedChunks.push(e);this._loaded+=e.byteLength}}get headersReady(){return this._headersReady}get filename(){return this._filename}get isRangeSupported(){return this._stream._isRangeSupported}get isStreamingSupported(){return this._stream._isStreamingSupported}get contentLength(){return this._stream._contentLength}async read(){if(this._queuedChunks.length>0){return{value:this._queuedChunks.shift(),done:!1}}if(this._done)return{value:void 0,done:!0};const e=Promise.withResolvers();return this._requests.push(e),e.promise}cancel(e){this._done=!0;for(const t of this._requests)t.resolve({value:void 0,done:!0});this._requests.length=0}progressiveDone(){this._done||(this._done=!0)}}class bT{constructor(e,t,n){this._stream=e,this._begin=t,this._end=n,this._queuedChunk=null,this._requests=[],this._done=!1,this.onProgress=null}_enqueue(e){if(!this._done){if(0===this._requests.length)this._queuedChunk=e;else{this._requests.shift().resolve({value:e,done:!1});for(const e of this._requests)e.resolve({value:void 0,done:!0});this._requests.length=0}this._done=!0,this._stream._removeRangeReader(this)}}get isStreamingSupported(){return!1}async read(){if(this._queuedChunk){const e=this._queuedChunk;return this._queuedChunk=null,{value:e,done:!1}}if(this._done)return{value:void 0,done:!0};const e=Promise.withResolvers();return this._requests.push(e),e.promise}cancel(e){this._done=!0;for(const t of this._requests)t.resolve({value:void 0,done:!0});this._requests.length=0,this._stream._removeRangeReader(this)}}function vT(e,t){const n=new Headers;if(!e||!t||"object"!=typeof t)return n;for(const i in t){const e=t[i];void 0!==e&&n.append(i,e)}return n}function yT(e){try{return new URL(e).origin}catch{}return null}function wT({responseHeaders:e,isHttp:t,rangeChunkSize:n,disableRange:i}){const r={allowRangeRequests:!1,suggestedLength:void 0},a=parseInt(e.get("Content-Length"),10);if(!Number.isInteger(a))return r;if(r.suggestedLength=a,a<=2*n)return r;if(i||!t)return r;if("bytes"!==e.get("Accept-Ranges"))return r;return"identity"!==(e.get("Content-Encoding")||"identity")||(r.allowRangeRequests=!0),r}function xT(e){const t=e.get("Content-Disposition");if(t){let e=function(e){let t=!0,n=i("filename\\*","i").exec(e);if(n){n=n[1];let e=s(n);return e=unescape(e),e=o(e),e=c(e),a(e)}if(n=function(e){const t=[];let n;const r=i("filename\\*((?!0\\d)\\d+)(\\*?)","ig");for(;null!==(n=r.exec(e));){let[,e,i,r]=n;if(e=parseInt(e,10),e in t){if(0===e)break}else t[e]=[i,r]}const a=[];for(let i=0;i<t.length&&i in t;++i){let[e,n]=t[i];n=s(n),e&&(n=unescape(n),0===i&&(n=o(n))),a.push(n)}return a.join("")}(e),n)return a(c(n));if(n=i("filename","i").exec(e),n){n=n[1];let e=s(n);return e=c(e),a(e)}function i(e,t){return new RegExp("(?:^|;)\\s*"+e+'\\s*=\\s*([^";\\s][^;\\s]*|"(?:[^"\\\\]|\\\\"?)+"?)',t)}function r(e,n){if(e){if(!/^[\x00-\xFF]+$/.test(n))return n;try{const i=new TextDecoder(e,{fatal:!0}),r=hx(n);n=i.decode(r),t=!1}catch{}}return n}function a(e){return t&&/[\x80-\xff]/.test(e)&&(e=r("utf-8",e),t&&(e=r("iso-8859-1",e))),e}function s(e){if(e.startsWith('"')){const t=e.slice(1).split('\\"');for(let e=0;e<t.length;++e){const n=t[e].indexOf('"');-1!==n&&(t[e]=t[e].slice(0,n),t.length=e+1),t[e]=t[e].replaceAll(/\\(.)/g,"$1")}e=t.join('"')}return e}function o(e){const t=e.indexOf("'");return-1===t?e:r(e.slice(0,t),e.slice(t+1).replace(/^[^']*'/,""))}function c(e){return!e.startsWith("=?")||/[\x00-\x19\x80-\xff]/.test(e)?e:e.replaceAll(/=\?([\w-]*)\?([QqBb])\?((?:[^?]|\?(?!=))*)\?=/g,(function(e,t,n,i){if("q"===n||"Q"===n)return r(t,i=(i=i.replaceAll("_"," ")).replaceAll(/=([0-9a-fA-F]{2})/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})));try{i=atob(i)}catch{}return r(t,i)}))}return""}(t);if(e.includes("%"))try{e=decodeURIComponent(e)}catch{}if(Ex(e))return e}return null}function _T(e,t){return 404===e||0===e&&t.startsWith("file:")?new ax('Missing PDF "'+t+'".'):new sx(`Unexpected server response (${e}) while retrieving PDF "${t}".`,e)}function TT(e){return 200===e||206===e}function DT(e,t,n){return{method:"GET",headers:e,signal:n.signal,mode:"cors",credentials:t?"include":"same-origin",redirect:"follow"}}function AT(e){return e instanceof Uint8Array?e.buffer:e instanceof ArrayBuffer?e:(Kw(),new Uint8Array(e).buffer)}class ET{constructor(e){El(this,"_responseOrigin",null),this.source=e,this.isHttp=/^https?:/i.test(e.url),this.headers=vT(this.isHttp,e.httpHeaders),this._fullRequestReader=null,this._rangeRequestReaders=[]}get _progressiveDataLength(){var e;return(null==(e=this._fullRequestReader)?void 0:e._loaded)??0}getFullReader(){return Jw(!this._fullRequestReader,"PDFFetchStream.getFullReader can only be called once."),this._fullRequestReader=new kT(this),this._fullRequestReader}getRangeReader(e,t){if(t<=this._progressiveDataLength)return null;const n=new ST(this,e,t);return this._rangeRequestReaders.push(n),n}cancelAllRequests(e){var t;null==(t=this._fullRequestReader)||t.cancel(e);for(const n of this._rangeRequestReaders.slice(0))n.cancel(e)}}class kT{constructor(e){this._stream=e,this._reader=null,this._loaded=0,this._filename=null;const t=e.source;this._withCredentials=t.withCredentials||!1,this._contentLength=t.length,this._headersCapability=Promise.withResolvers(),this._disableRange=t.disableRange||!1,this._rangeChunkSize=t.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._abortController=new AbortController,this._isStreamingSupported=!t.disableStream,this._isRangeSupported=!t.disableRange;const n=new Headers(e.headers),i=t.url;fetch(i,DT(n,this._withCredentials,this._abortController)).then((t=>{if(e._responseOrigin=yT(t.url),!TT(t.status))throw _T(t.status,i);this._reader=t.body.getReader(),this._headersCapability.resolve();const n=t.headers,{allowRangeRequests:r,suggestedLength:a}=wT({responseHeaders:n,isHttp:e.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});this._isRangeSupported=r,this._contentLength=a||this._contentLength,this._filename=xT(n),!this._isStreamingSupported&&this._isRangeSupported&&this.cancel(new cx("Streaming is disabled."))})).catch(this._headersCapability.reject),this.onProgress=null}get headersReady(){return this._headersCapability.promise}get filename(){return this._filename}get contentLength(){return this._contentLength}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}async read(){var e;await this._headersCapability.promise;const{value:t,done:n}=await this._reader.read();return n?{value:t,done:n}:(this._loaded+=t.byteLength,null==(e=this.onProgress)||e.call(this,{loaded:this._loaded,total:this._contentLength}),{value:AT(t),done:!1})}cancel(e){var t;null==(t=this._reader)||t.cancel(e),this._abortController.abort()}}class ST{constructor(e,t,n){this._stream=e,this._reader=null,this._loaded=0;const i=e.source;this._withCredentials=i.withCredentials||!1,this._readCapability=Promise.withResolvers(),this._isStreamingSupported=!i.disableStream,this._abortController=new AbortController;const r=new Headers(e.headers);r.append("Range",`bytes=${t}-${n-1}`);const a=i.url;fetch(a,DT(r,this._withCredentials,this._abortController)).then((t=>{const n=yT(t.url);if(n!==e._responseOrigin)throw new Error(`Expected range response-origin "${n}" to match "${e._responseOrigin}".`);if(!TT(t.status))throw _T(t.status,a);this._readCapability.resolve(),this._reader=t.body.getReader()})).catch(this._readCapability.reject),this.onProgress=null}get isStreamingSupported(){return this._isStreamingSupported}async read(){var e;await this._readCapability.promise;const{value:t,done:n}=await this._reader.read();return n?{value:t,done:n}:(this._loaded+=t.byteLength,null==(e=this.onProgress)||e.call(this,{loaded:this._loaded}),{value:AT(t),done:!1})}cancel(e){var t;null==(t=this._reader)||t.cancel(e),this._abortController.abort()}}class CT{constructor({url:e,httpHeaders:t,withCredentials:n}){El(this,"_responseOrigin",null),this.url=e,this.isHttp=/^https?:/i.test(e),this.headers=vT(this.isHttp,t),this.withCredentials=n||!1,this.currXhrId=0,this.pendingRequests=Object.create(null)}request(e){const t=new XMLHttpRequest,n=this.currXhrId++,i=this.pendingRequests[n]={xhr:t};t.open("GET",this.url),t.withCredentials=this.withCredentials;for(const[r,a]of this.headers)t.setRequestHeader(r,a);return this.isHttp&&"begin"in e&&"end"in e?(t.setRequestHeader("Range",`bytes=${e.begin}-${e.end-1}`),i.expectedStatus=206):i.expectedStatus=200,t.responseType="arraybuffer",Jw(e.onError,"Expected `onError` callback to be provided."),t.onerror=()=>{e.onError(t.status)},t.onreadystatechange=this.onStateChange.bind(this,n),t.onprogress=this.onProgress.bind(this,n),i.onHeadersReceived=e.onHeadersReceived,i.onDone=e.onDone,i.onError=e.onError,i.onProgress=e.onProgress,t.send(null),n}onProgress(e,t){var n;const i=this.pendingRequests[e];i&&(null==(n=i.onProgress)||n.call(i,t))}onStateChange(e,t){const n=this.pendingRequests[e];if(!n)return;const i=n.xhr;if(i.readyState>=2&&n.onHeadersReceived&&(n.onHeadersReceived(),delete n.onHeadersReceived),4!==i.readyState)return;if(!(e in this.pendingRequests))return;if(delete this.pendingRequests[e],0===i.status&&this.isHttp)return void n.onError(i.status);const r=i.status||200;if(!(200===r&&206===n.expectedStatus)&&r!==n.expectedStatus)return void n.onError(i.status);const a=function(e){const t=e.response;return"string"!=typeof t?t:hx(t).buffer}(i);if(206===r){const e=i.getResponseHeader("Content-Range"),t=/bytes (\d+)-(\d+)\/(\d+)/.exec(e);t?n.onDone({begin:parseInt(t[1],10),chunk:a}):(Kw(),n.onError(0))}else a?n.onDone({begin:0,chunk:a}):n.onError(i.status)}getRequestXhr(e){return this.pendingRequests[e].xhr}isPendingRequest(e){return e in this.pendingRequests}abortRequest(e){const t=this.pendingRequests[e].xhr;delete this.pendingRequests[e],t.abort()}}class UT{constructor(e){this._source=e,this._manager=new CT(e),this._rangeChunkSize=e.rangeChunkSize,this._fullRequestReader=null,this._rangeRequestReaders=[]}_onRangeRequestReaderClosed(e){const t=this._rangeRequestReaders.indexOf(e);t>=0&&this._rangeRequestReaders.splice(t,1)}getFullReader(){return Jw(!this._fullRequestReader,"PDFNetworkStream.getFullReader can only be called once."),this._fullRequestReader=new FT(this._manager,this._source),this._fullRequestReader}getRangeReader(e,t){const n=new MT(this._manager,e,t);return n.onClosed=this._onRangeRequestReaderClosed.bind(this),this._rangeRequestReaders.push(n),n}cancelAllRequests(e){var t;null==(t=this._fullRequestReader)||t.cancel(e);for(const n of this._rangeRequestReaders.slice(0))n.cancel(e)}}class FT{constructor(e,t){this._manager=e,this._url=t.url,this._fullRequestId=e.request({onHeadersReceived:this._onHeadersReceived.bind(this),onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)}),this._headersCapability=Promise.withResolvers(),this._disableRange=t.disableRange||!1,this._contentLength=t.length,this._rangeChunkSize=t.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._isStreamingSupported=!1,this._isRangeSupported=!1,this._cachedChunks=[],this._requests=[],this._done=!1,this._storedError=void 0,this._filename=null,this.onProgress=null}_onHeadersReceived(){const e=this._fullRequestId,t=this._manager.getRequestXhr(e);this._manager._responseOrigin=yT(t.responseURL);const n=t.getAllResponseHeaders(),i=new Headers(n?n.trimStart().replace(/[^\S ]+$/,"").split(/[\r\n]+/).map((e=>{const[t,...n]=e.split(": ");return[t,n.join(": ")]})):[]),{allowRangeRequests:r,suggestedLength:a}=wT({responseHeaders:i,isHttp:this._manager.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});r&&(this._isRangeSupported=!0),this._contentLength=a||this._contentLength,this._filename=xT(i),this._isRangeSupported&&this._manager.abortRequest(e),this._headersCapability.resolve()}_onDone(e){if(e)if(this._requests.length>0){this._requests.shift().resolve({value:e.chunk,done:!1})}else this._cachedChunks.push(e.chunk);if(this._done=!0,!(this._cachedChunks.length>0)){for(const e of this._requests)e.resolve({value:void 0,done:!0});this._requests.length=0}}_onError(e){this._storedError=_T(e,this._url),this._headersCapability.reject(this._storedError);for(const t of this._requests)t.reject(this._storedError);this._requests.length=0,this._cachedChunks.length=0}_onProgress(e){var t;null==(t=this.onProgress)||t.call(this,{loaded:e.loaded,total:e.lengthComputable?e.total:this._contentLength})}get filename(){return this._filename}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}get contentLength(){return this._contentLength}get headersReady(){return this._headersCapability.promise}async read(){if(await this._headersCapability.promise,this._storedError)throw this._storedError;if(this._cachedChunks.length>0){return{value:this._cachedChunks.shift(),done:!1}}if(this._done)return{value:void 0,done:!0};const e=Promise.withResolvers();return this._requests.push(e),e.promise}cancel(e){this._done=!0,this._headersCapability.reject(e);for(const t of this._requests)t.resolve({value:void 0,done:!0});this._requests.length=0,this._manager.isPendingRequest(this._fullRequestId)&&this._manager.abortRequest(this._fullRequestId),this._fullRequestReader=null}}class MT{constructor(e,t,n){this._manager=e,this._url=e.url,this._requestId=e.request({begin:t,end:n,onHeadersReceived:this._onHeadersReceived.bind(this),onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)}),this._requests=[],this._queuedChunk=null,this._done=!1,this._storedError=void 0,this.onProgress=null,this.onClosed=null}_onHeadersReceived(){var e;const t=yT(null==(e=this._manager.getRequestXhr(this._requestId))?void 0:e.responseURL);t!==this._manager._responseOrigin&&(this._storedError=new Error(`Expected range response-origin "${t}" to match "${this._manager._responseOrigin}".`),this._onError(0))}_close(){var e;null==(e=this.onClosed)||e.call(this,this)}_onDone(e){const t=e.chunk;if(this._requests.length>0){this._requests.shift().resolve({value:t,done:!1})}else this._queuedChunk=t;this._done=!0;for(const n of this._requests)n.resolve({value:void 0,done:!0});this._requests.length=0,this._close()}_onError(e){this._storedError??(this._storedError=_T(e,this._url));for(const t of this._requests)t.reject(this._storedError);this._requests.length=0,this._queuedChunk=null}_onProgress(e){var t;this.isStreamingSupported||null==(t=this.onProgress)||t.call(this,{loaded:e.loaded})}get isStreamingSupported(){return!1}async read(){if(this._storedError)throw this._storedError;if(null!==this._queuedChunk){const e=this._queuedChunk;return this._queuedChunk=null,{value:e,done:!1}}if(this._done)return{value:void 0,done:!0};const e=Promise.withResolvers();return this._requests.push(e),e.promise}cancel(e){this._done=!0;for(const t of this._requests)t.resolve({value:void 0,done:!0});this._requests.length=0,this._manager.isPendingRequest(this._requestId)&&this._manager.abortRequest(this._requestId),this._close()}}const RT=/^[a-z][a-z0-9\-+.]+:/i;class IT{constructor(e){this.source=e,this.url=function(e){if(RT.test(e))return new URL(e);const t=process.getBuiltinModule("url");return new URL(t.pathToFileURL(e))}(e.url),Jw("file:"===this.url.protocol,"PDFNodeStream only supports file:// URLs."),this._fullRequestReader=null,this._rangeRequestReaders=[]}get _progressiveDataLength(){var e;return(null==(e=this._fullRequestReader)?void 0:e._loaded)??0}getFullReader(){return Jw(!this._fullRequestReader,"PDFNodeStream.getFullReader can only be called once."),this._fullRequestReader=new OT(this),this._fullRequestReader}getRangeReader(e,t){if(t<=this._progressiveDataLength)return null;const n=new NT(this,e,t);return this._rangeRequestReaders.push(n),n}cancelAllRequests(e){var t;null==(t=this._fullRequestReader)||t.cancel(e);for(const n of this._rangeRequestReaders.slice(0))n.cancel(e)}}class OT{constructor(e){this._url=e.url,this._done=!1,this._storedError=null,this.onProgress=null;const t=e.source;this._contentLength=t.length,this._loaded=0,this._filename=null,this._disableRange=t.disableRange||!1,this._rangeChunkSize=t.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._isStreamingSupported=!t.disableStream,this._isRangeSupported=!t.disableRange,this._readableStream=null,this._readCapability=Promise.withResolvers(),this._headersCapability=Promise.withResolvers();const n=process.getBuiltinModule("fs");n.promises.lstat(this._url).then((e=>{this._contentLength=e.size,this._setReadableStream(n.createReadStream(this._url)),this._headersCapability.resolve()}),(e=>{"ENOENT"===e.code&&(e=new ax(`Missing PDF "${this._url}".`)),this._storedError=e,this._headersCapability.reject(e)}))}get headersReady(){return this._headersCapability.promise}get filename(){return this._filename}get contentLength(){return this._contentLength}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}async read(){var e;if(await this._readCapability.promise,this._done)return{value:void 0,done:!0};if(this._storedError)throw this._storedError;const t=this._readableStream.read();if(null===t)return this._readCapability=Promise.withResolvers(),this.read();this._loaded+=t.length,null==(e=this.onProgress)||e.call(this,{loaded:this._loaded,total:this._contentLength});return{value:new Uint8Array(t).buffer,done:!1}}cancel(e){this._readableStream?this._readableStream.destroy(e):this._error(e)}_error(e){this._storedError=e,this._readCapability.resolve()}_setReadableStream(e){this._readableStream=e,e.on("readable",(()=>{this._readCapability.resolve()})),e.on("end",(()=>{e.destroy(),this._done=!0,this._readCapability.resolve()})),e.on("error",(e=>{this._error(e)})),!this._isStreamingSupported&&this._isRangeSupported&&this._error(new cx("streaming is disabled")),this._storedError&&this._readableStream.destroy(this._storedError)}}class NT{constructor(e,t,n){this._url=e.url,this._done=!1,this._storedError=null,this.onProgress=null,this._loaded=0,this._readableStream=null,this._readCapability=Promise.withResolvers();const i=e.source;this._isStreamingSupported=!i.disableStream;const r=process.getBuiltinModule("fs");this._setReadableStream(r.createReadStream(this._url,{start:t,end:n-1}))}get isStreamingSupported(){return this._isStreamingSupported}async read(){var e;if(await this._readCapability.promise,this._done)return{value:void 0,done:!0};if(this._storedError)throw this._storedError;const t=this._readableStream.read();if(null===t)return this._readCapability=Promise.withResolvers(),this.read();this._loaded+=t.length,null==(e=this.onProgress)||e.call(this,{loaded:this._loaded});return{value:new Uint8Array(t).buffer,done:!1}}cancel(e){this._readableStream?this._readableStream.destroy(e):this._error(e)}_error(e){this._storedError=e,this._readCapability.resolve()}_setReadableStream(e){this._readableStream=e,e.on("readable",(()=>{this._readCapability.resolve()})),e.on("end",(()=>{e.destroy(),this._done=!0,this._readCapability.resolve()})),e.on("error",(e=>{this._error(e)})),this._storedError&&this._readableStream.destroy(this._storedError)}}const PT=30,LT=class e{constructor({textContentSource:t,container:n,viewport:i}){var r;if(Cl(this,Wi),Cl(this,mi,Promise.withResolvers()),Cl(this,bi,null),Cl(this,vi,!1),Cl(this,yi,!!(null==(gi=globalThis.FontInspector)?void 0:gi.enabled)),Cl(this,wi,null),Cl(this,xi,null),Cl(this,_i,0),Cl(this,Ti,0),Cl(this,Di,null),Cl(this,Ai,null),Cl(this,Ei,0),Cl(this,ki,0),Cl(this,Si,Object.create(null)),Cl(this,Ci,[]),Cl(this,Ui,null),Cl(this,Fi,[]),Cl(this,Mi,new WeakMap),Cl(this,Ri,null),t instanceof ReadableStream)Ul(this,Ui,t);else{if("object"!=typeof t)throw new Error('No "textContentSource" parameter specified.');Ul(this,Ui,new ReadableStream({start(e){e.enqueue(t),e.close()}}))}Ul(this,bi,Ul(this,Ai,n)),Ul(this,ki,i.scale*(globalThis.devicePixelRatio||1)),Ul(this,Ei,i.rotation),Ul(this,xi,{div:null,properties:null,ctx:null});const{pageWidth:a,pageHeight:s,pageX:o,pageY:c}=i.rawDims;Ul(this,Ri,[1,0,0,-1,-o,c+s]),Ul(this,Ti,a),Ul(this,_i,s),Fl(r=e,Hi,Xi).call(r),Lx(n,i),Sl(this,mi).promise.finally((()=>{Sl(e,Li).delete(this),Ul(this,xi,null),Ul(this,Si,null)})).catch((()=>{}))}static get fontFamilyMap(){const{isWindows:e,isFirefox:t}=ux.platform;return ex(this,"fontFamilyMap",new Map([["sans-serif",(e&&t?"Calibri, ":"")+"sans-serif"],["monospace",(e&&t?"Lucida Console, ":"")+"monospace"]]))}render(){const t=()=>{Sl(this,Di).read().then((({value:e,done:n})=>{n?Sl(this,mi).resolve():(Sl(this,wi)??Ul(this,wi,e.lang),Object.assign(Sl(this,Si),e.styles),Fl(this,Wi,Bi).call(this,e.items),t())}),Sl(this,mi).reject)};return Ul(this,Di,Sl(this,Ui).getReader()),Sl(e,Li).add(this),t(),Sl(this,mi).promise}update({viewport:t,onBefore:n=null}){var i;const r=t.scale*(globalThis.devicePixelRatio||1),a=t.rotation;if(a!==Sl(this,Ei)&&(null==n||n(),Ul(this,Ei,a),Lx(Sl(this,Ai),{rotation:a})),r!==Sl(this,ki)){null==n||n(),Ul(this,ki,r);const t={div:null,properties:null,ctx:Fl(i=e,Hi,Vi).call(i,Sl(this,wi))};for(const e of Sl(this,Fi))t.properties=Sl(this,Mi).get(e),t.div=e,Fl(this,Wi,zi).call(this,t)}}cancel(){var e;const t=new cx("TextLayer task cancelled.");null==(e=Sl(this,Di))||e.cancel(t).catch((()=>{})),Ul(this,Di,null),Sl(this,mi).reject(t)}get textDivs(){return Sl(this,Fi)}get textContentItemsStr(){return Sl(this,Ci)}static cleanup(){if(!(Sl(this,Li).size>0)){Sl(this,Ii).clear();for(const{canvas:e}of Sl(this,Oi).values())e.remove();Sl(this,Oi).clear()}}};mi=new WeakMap,bi=new WeakMap,vi=new WeakMap,yi=new WeakMap,wi=new WeakMap,xi=new WeakMap,_i=new WeakMap,Ti=new WeakMap,Di=new WeakMap,Ai=new WeakMap,Ei=new WeakMap,ki=new WeakMap,Si=new WeakMap,Ci=new WeakMap,Ui=new WeakMap,Fi=new WeakMap,Mi=new WeakMap,Ri=new WeakMap,Ii=new WeakMap,Oi=new WeakMap,Ni=new WeakMap,Pi=new WeakMap,Li=new WeakMap,Wi=new WeakSet,Bi=function(e){var t,n;if(Sl(this,vi))return;(n=Sl(this,xi)).ctx??(n.ctx=Fl(t=LT,Hi,Vi).call(t,Sl(this,wi)));const i=Sl(this,Fi),r=Sl(this,Ci);for(const a of e){if(i.length>1e5)return Kw(),void Ul(this,vi,!0);if(void 0!==a.str)r.push(a.str),Fl(this,Wi,ji).call(this,a);else if("beginMarkedContentProps"===a.type||"beginMarkedContent"===a.type){const e=Sl(this,bi);Ul(this,bi,document.createElement("span")),Sl(this,bi).classList.add("markedContent"),null!==a.id&&Sl(this,bi).setAttribute("id",`${a.id}`),e.append(Sl(this,bi))}else"endMarkedContent"===a.type&&Ul(this,bi,Sl(this,bi).parentNode)}},ji=function(e){var t;const n=document.createElement("span"),i={angle:0,canvasWidth:0,hasText:""!==e.str,hasEOL:e.hasEOL,fontSize:0};Sl(this,Fi).push(n);const r=px.transform(Sl(this,Ri),e.transform);let a=Math.atan2(r[1],r[0]);const s=Sl(this,Si)[e.fontName];s.vertical&&(a+=Math.PI/2);let o=Sl(this,yi)&&s.fontSubstitution||s.fontFamily;o=LT.fontFamilyMap.get(o)||o;const c=Math.hypot(r[2],r[3]),l=c*Fl(t=LT,Hi,$i).call(t,o,Sl(this,wi));let h,d;0===a?(h=r[4],d=r[5]-l):(h=r[4]+l*Math.sin(a),d=r[5]-l*Math.cos(a));const u="calc(var(--scale-factor)*",f=n.style;Sl(this,bi)===Sl(this,Ai)?(f.left=`${(100*h/Sl(this,Ti)).toFixed(2)}%`,f.top=`${(100*d/Sl(this,_i)).toFixed(2)}%`):(f.left=`${u}${h.toFixed(2)}px)`,f.top=`${u}${d.toFixed(2)}px)`),f.fontSize=`${u}${(Sl(LT,Pi)*c).toFixed(2)}px)`,f.fontFamily=o,i.fontSize=c,n.setAttribute("role","presentation"),n.textContent=e.str,n.dir=e.dir,Sl(this,yi)&&(n.dataset.fontName=s.fontSubstitutionLoadedName||e.fontName),0!==a&&(i.angle=a*(180/Math.PI));let p=!1;if(e.str.length>1)p=!0;else if(" "!==e.str&&e.transform[0]!==e.transform[3]){const t=Math.abs(e.transform[0]),n=Math.abs(e.transform[3]);t!==n&&Math.max(t,n)/Math.min(t,n)>1.5&&(p=!0)}if(p&&(i.canvasWidth=s.vertical?e.height:e.width),Sl(this,Mi).set(n,i),Sl(this,xi).div=n,Sl(this,xi).properties=i,Fl(this,Wi,zi).call(this,Sl(this,xi)),i.hasText&&Sl(this,bi).append(n),i.hasEOL){const e=document.createElement("br");e.setAttribute("role","presentation"),Sl(this,bi).append(e)}},zi=function(e){var t;const{div:n,properties:i,ctx:r}=e,{style:a}=n;let s="";if(Sl(LT,Pi)>1&&(s=`scale(${1/Sl(LT,Pi)})`),0!==i.canvasWidth&&i.hasText){const{fontFamily:e}=a,{canvasWidth:o,fontSize:c}=i;Fl(t=LT,Hi,Gi).call(t,r,c*Sl(this,ki),e);const{width:l}=r.measureText(n.textContent);l>0&&(s=`scaleX(${o*Sl(this,ki)/l}) ${s}`)}0!==i.angle&&(s=`rotate(${i.angle}deg) ${s}`),s.length>0&&(a.transform=s)},Hi=new WeakSet,Vi=function(e=null){let t=Sl(this,Oi).get(e||(e=""));if(!t){const n=document.createElement("canvas");n.className="hiddenCanvasElement",n.lang=e,document.body.append(n),t=n.getContext("2d",{alpha:!1,willReadFrequently:!0}),Sl(this,Oi).set(e,t),Sl(this,Ni).set(t,{size:0,family:""})}return t},Gi=function(e,t,n){const i=Sl(this,Ni).get(e);t===i.size&&n===i.family||(e.font=`${t}px ${n}`,i.size=t,i.family=n)},Xi=function(){if(null!==Sl(this,Pi))return;const e=document.createElement("div");e.style.opacity=0,e.style.lineHeight=1,e.style.fontSize="1px",e.style.position="absolute",e.textContent="X",document.body.append(e),Ul(this,Pi,e.getBoundingClientRect().height),e.remove()},$i=function(e,t){const n=Sl(this,Ii).get(e);if(n)return n;const i=Fl(this,Hi,Vi).call(this,t);i.canvas.width=i.canvas.height=PT,Fl(this,Hi,Gi).call(this,i,PT,e);const r=i.measureText("");let a=r.fontBoundingBoxAscent,s=Math.abs(r.fontBoundingBoxDescent);if(a){const t=a/(a+s);return Sl(this,Ii).set(e,t),i.canvas.width=i.canvas.height=0,t}i.strokeStyle="red",i.clearRect(0,0,PT,PT),i.strokeText("g",0,0);let o=i.getImageData(0,0,PT,PT).data;s=0;for(let l=o.length-1-3;l>=0;l-=4)if(o[l]>0){s=Math.ceil(l/4/PT);break}i.clearRect(0,0,PT,PT),i.strokeText("A",0,PT),o=i.getImageData(0,0,PT,PT).data,a=0;for(let l=0,h=o.length;l<h;l+=4)if(o[l]>0){a=PT-Math.floor(l/4/PT);break}i.canvas.width=i.canvas.height=0;const c=a?a/(a+s):.8;return Sl(this,Ii).set(e,c),c},Cl(LT,Hi),Cl(LT,Ii,new Map),Cl(LT,Oi,new Map),Cl(LT,Ni,new WeakMap),Cl(LT,Pi,null),Cl(LT,Li,new Set);let WT=LT;class BT{static textContent(e){const t=[],n={items:t,styles:Object.create(null)};return function e(n){var i;if(!n)return;let r=null;const a=n.name;if("#text"===a)r=n.value;else{if(!BT.shouldBuildText(a))return;(null==(i=null==n?void 0:n.attributes)?void 0:i.textContent)?r=n.attributes.textContent:n.value&&(r=n.value)}if(null!==r&&t.push({str:r}),n.children)for(const t of n.children)e(t)}(e),n}static shouldBuildText(e){return!("textarea"===e||"input"===e||"option"===e||"select"===e)}}const jT=65536,zT=Jy?class extends S_{_createCanvas(e,t){return process.getBuiltinModule("module").createRequire(import.meta.url)("@napi-rs/canvas").createCanvas(e,t)}}:class extends S_{constructor({ownerDocument:e=globalThis.document,enableHWA:t=!1}){super({enableHWA:t}),this._document=e}_createCanvas(e,t){const n=this._document.createElement("canvas");return n.width=e,n.height=t,n}},HT=Jy?class extends C_{async _fetch(e){return I_(e)}}:U_,VT=Jy?class extends F_{}:class extends F_{constructor({docId:e,ownerDocument:t=globalThis.document}){super(),Cl(this,Ln),Cl(this,Fn),Cl(this,Mn),Cl(this,Rn),Cl(this,In),Cl(this,On),Cl(this,Nn),Cl(this,Pn,0),Ul(this,In,e),Ul(this,On,t)}addFilter(e){if(!e)return"none";let t=Sl(this,Ln,Wn).get(e);if(t)return t;const[n,i,r]=Fl(this,Ln,zn).call(this,e),a=1===e.length?n:`${n}${i}${r}`;if(t=Sl(this,Ln,Wn).get(a),t)return Sl(this,Ln,Wn).set(e,t),t;const s=`g_${Sl(this,In)}_transfer_map_${Ml(this,Pn)._++}`,o=Fl(this,Ln,Hn).call(this,s);Sl(this,Ln,Wn).set(e,o),Sl(this,Ln,Wn).set(a,o);const c=Fl(this,Ln,Xn).call(this,s);return Fl(this,Ln,qn).call(this,n,i,r,c),o}addHCMFilter(e,t){var n;const i=`${e}-${t}`,r="base";let a=Sl(this,Ln,Bn).get(r);if((null==a?void 0:a.key)===i)return a.url;if(a?(null==(n=a.filter)||n.remove(),a.key=i,a.url="none",a.filter=null):(a={key:i,url:"none",filter:null},Sl(this,Ln,Bn).set(r,a)),!e||!t)return a.url;const s=Fl(this,Ln,Kn).call(this,e);e=px.makeHexColor(...s);const o=Fl(this,Ln,Kn).call(this,t);if(t=px.makeHexColor(...o),Sl(this,Ln,jn).style.color="","#000000"===e&&"#ffffff"===t||e===t)return a.url;const c=new Array(256);for(let f=0;f<=255;f++){const e=f/255;c[f]=e<=.03928?e/12.92:((e+.055)/1.055)**2.4}const l=c.join(","),h=`g_${Sl(this,In)}_hcm_filter`,d=a.filter=Fl(this,Ln,Xn).call(this,h);Fl(this,Ln,qn).call(this,l,l,l,d),Fl(this,Ln,Gn).call(this,d);const u=(e,t)=>{const n=s[e]/255,i=o[e]/255,r=new Array(t+1);for(let a=0;a<=t;a++)r[a]=n+a/t*(i-n);return r.join(",")};return Fl(this,Ln,qn).call(this,u(0,5),u(1,5),u(2,5),d),a.url=Fl(this,Ln,Hn).call(this,h),a.url}addAlphaFilter(e){let t=Sl(this,Ln,Wn).get(e);if(t)return t;const[n]=Fl(this,Ln,zn).call(this,[e]),i=`alpha_${n}`;if(t=Sl(this,Ln,Wn).get(i),t)return Sl(this,Ln,Wn).set(e,t),t;const r=`g_${Sl(this,In)}_alpha_map_${Ml(this,Pn)._++}`,a=Fl(this,Ln,Hn).call(this,r);Sl(this,Ln,Wn).set(e,a),Sl(this,Ln,Wn).set(i,a);const s=Fl(this,Ln,Xn).call(this,r);return Fl(this,Ln,Yn).call(this,n,s),a}addLuminosityFilter(e){let t,n,i=Sl(this,Ln,Wn).get(e||"luminosity");if(i)return i;if(e?([t]=Fl(this,Ln,zn).call(this,[e]),n=`luminosity_${t}`):n="luminosity",i=Sl(this,Ln,Wn).get(n),i)return Sl(this,Ln,Wn).set(e,i),i;const r=`g_${Sl(this,In)}_luminosity_map_${Ml(this,Pn)._++}`,a=Fl(this,Ln,Hn).call(this,r);Sl(this,Ln,Wn).set(e,a),Sl(this,Ln,Wn).set(n,a);const s=Fl(this,Ln,Xn).call(this,r);return Fl(this,Ln,Vn).call(this,s),e&&Fl(this,Ln,Yn).call(this,t,s),a}addHighlightHCMFilter(e,t,n,i,r){var a;const s=`${t}-${n}-${i}-${r}`;let o=Sl(this,Ln,Bn).get(e);if((null==o?void 0:o.key)===s)return o.url;if(o?(null==(a=o.filter)||a.remove(),o.key=s,o.url="none",o.filter=null):(o={key:s,url:"none",filter:null},Sl(this,Ln,Bn).set(e,o)),!t||!n)return o.url;const[c,l]=[t,n].map(Fl(this,Ln,Kn).bind(this));let h=Math.round(.2126*c[0]+.7152*c[1]+.0722*c[2]),d=Math.round(.2126*l[0]+.7152*l[1]+.0722*l[2]),[u,f]=[i,r].map(Fl(this,Ln,Kn).bind(this));d<h&&([h,d,u,f]=[d,h,f,u]),Sl(this,Ln,jn).style.color="";const p=(e,t,n)=>{const i=new Array(256),r=(d-h)/n,a=e/255,s=(t-e)/(255*n);let o=0;for(let c=0;c<=n;c++){const e=Math.round(h+c*r),t=a+c*s;for(let n=o;n<=e;n++)i[n]=t;o=e+1}for(let c=o;c<256;c++)i[c]=i[o-1];return i.join(",")},g=`g_${Sl(this,In)}_hcm_${e}_filter`,m=o.filter=Fl(this,Ln,Xn).call(this,g);return Fl(this,Ln,Gn).call(this,m),Fl(this,Ln,qn).call(this,p(u[0],f[0],5),p(u[1],f[1],5),p(u[2],f[2],5),m),o.url=Fl(this,Ln,Hn).call(this,g),o.url}destroy(e=!1){var t,n,i,r;e&&(null==(t=Sl(this,Nn))?void 0:t.size)||(null==(n=Sl(this,Rn))||n.parentNode.parentNode.remove(),Ul(this,Rn,null),null==(i=Sl(this,Mn))||i.clear(),Ul(this,Mn,null),null==(r=Sl(this,Nn))||r.clear(),Ul(this,Nn,null),Ul(this,Pn,0))}},GT=Jy?class extends M_{async _fetch(e){return I_(e)}}:R_;function XT(e={}){"string"==typeof e||e instanceof URL?e={url:e}:(e instanceof ArrayBuffer||ArrayBuffer.isView(e))&&(e={data:e});const t=new YT,{docId:n}=t,i=e.url?function(e){if(e instanceof URL)return e.href;try{return new URL(e,window.location).href}catch{if(Jy&&"string"==typeof e)return e}throw new Error("Invalid PDF url data: either string or URL-object is expected in the url property.")}(e.url):null,r=e.data?function(e){if(Jy&&"undefined"!=typeof Buffer&&e instanceof Buffer)throw new Error("Please provide binary data as `Uint8Array`, rather than `Buffer`.");if(e instanceof Uint8Array&&e.byteLength===e.buffer.byteLength)return e;if("string"==typeof e)return hx(e);if(e instanceof ArrayBuffer||ArrayBuffer.isView(e)||"object"==typeof e&&!isNaN(null==e?void 0:e.length))return new Uint8Array(e);throw new Error("Invalid PDF binary data: either TypedArray, string, or array-like object is expected in the data property.")}(e.data):null,a=e.httpHeaders||null,s=!0===e.withCredentials,o=e.password??null,c=e.range instanceof KT?e.range:null,l=Number.isInteger(e.rangeChunkSize)&&e.rangeChunkSize>0?e.rangeChunkSize:jT;let h=e.worker instanceof tD?e.worker:null;const d=e.verbosity,u="string"!=typeof e.docBaseUrl||Ax(e.docBaseUrl)?null:e.docBaseUrl,f="string"==typeof e.cMapUrl?e.cMapUrl:null,p=!1!==e.cMapPacked,g=e.CMapReaderFactory||HT,m="string"==typeof e.standardFontDataUrl?e.standardFontDataUrl:null,b=e.StandardFontDataFactory||GT,v=!0!==e.stopAtErrors,y=Number.isInteger(e.maxImageSize)&&e.maxImageSize>-1?e.maxImageSize:-1,w=!1!==e.isEvalSupported,x="boolean"==typeof e.isOffscreenCanvasSupported?e.isOffscreenCanvasSupported:!Jy,_="boolean"==typeof e.isImageDecoderSupported?e.isImageDecoderSupported:!Jy&&(ux.platform.isFirefox||!globalThis.chrome),T=Number.isInteger(e.canvasMaxAreaInBytes)?e.canvasMaxAreaInBytes:-1,D="boolean"==typeof e.disableFontFace?e.disableFontFace:Jy,A=!0===e.fontExtraProperties,E=!0===e.enableXfa,k=e.ownerDocument||globalThis.document,S=!0===e.disableRange,C=!0===e.disableStream,U=!0===e.disableAutoFetch,F=!0===e.pdfBug,M=e.CanvasFactory||zT,R=e.FilterFactory||VT,I=!0===e.enableHWA,O=c?c.length:e.length??NaN,N="boolean"==typeof e.useSystemFonts?e.useSystemFonts:!Jy&&!D,P="boolean"==typeof e.useWorkerFetch?e.useWorkerFetch:g===U_&&b===R_&&f&&m&&Ux(f,document.baseURI)&&Ux(m,document.baseURI);var L;L=d,Number.isInteger(L)&&($w=L);const W={canvasFactory:new M({ownerDocument:k,enableHWA:I}),filterFactory:new R({docId:n,ownerDocument:k}),cMapReaderFactory:P?null:new g({baseUrl:f,isCompressed:p}),standardFontDataFactory:P?null:new b({baseUrl:m})};if(!h){const e={verbosity:d,port:hT.workerPort};h=e.port?tD.fromPort(e):new tD(e),t._worker=h}const B={docId:n,apiVersion:"4.10.38",data:r,password:o,disableAutoFetch:U,rangeChunkSize:l,length:O,docBaseUrl:u,enableXfa:E,evaluatorOptions:{maxImageSize:y,disableFontFace:D,ignoreErrors:v,isEvalSupported:w,isOffscreenCanvasSupported:x,isImageDecoderSupported:_,canvasMaxAreaInBytes:T,fontExtraProperties:A,useSystemFonts:N,cMapUrl:P?f:null,standardFontDataUrl:P?m:null}},j={disableFontFace:D,fontExtraProperties:A,ownerDocument:k,pdfBug:F,styleElement:null,loadingParams:{disableAutoFetch:U,enableXfa:E}};return h.promise.then((function(){if(t.destroyed)throw new Error("Loading aborted");if(h.destroyed)throw new Error("Worker was destroyed");const e=h.messageHandler.sendWithPromise("GetDocRequest",B,r?[r.buffer]:null);let o;if(c)o=new gT(c,{disableRange:S,disableStream:C});else if(!r){if(!i)throw new Error("getDocument - no `url` parameter provided.");let e;if(Jy)if(Ux(i)){if("undefined"==typeof fetch||"undefined"==typeof Response||!("body"in Response.prototype))throw new Error("getDocument - the Fetch API was disabled in Node.js, see `--no-experimental-fetch`.");e=ET}else e=IT;else e=Ux(i)?ET:UT;o=new e({url:i,length:O,httpHeaders:a,withCredentials:s,rangeChunkSize:l,disableRange:S,disableStream:C})}return e.then((e=>{if(t.destroyed)throw new Error("Loading aborted");if(h.destroyed)throw new Error("Worker was destroyed");const i=new k_(n,e,h.port),r=new nD(i,t,o,j,W);t._transport=r,i.send("Ready",null)}))})).catch(t._capability.reject),t}function $T(e){return"object"==typeof e&&Number.isInteger(null==e?void 0:e.num)&&e.num>=0&&Number.isInteger(null==e?void 0:e.gen)&&e.gen>=0}const qT=class e{constructor(){this._capability=Promise.withResolvers(),this._transport=null,this._worker=null,this.docId="d"+Ml(e,qi)._++,this.destroyed=!1,this.onPassword=null,this.onProgress=null}get promise(){return this._capability.promise}async destroy(){var e,t,n,i;this.destroyed=!0;try{(null==(e=this._worker)?void 0:e.port)&&(this._worker._pendingDestroy=!0),await(null==(t=this._transport)?void 0:t.destroy())}catch(r){throw(null==(n=this._worker)?void 0:n.port)&&delete this._worker._pendingDestroy,r}this._transport=null,null==(i=this._worker)||i.destroy(),this._worker=null}};qi=new WeakMap,Cl(qT,qi,0);let YT=qT;class KT{constructor(e,t,n=!1,i=null){this.length=e,this.initialData=t,this.progressiveDone=n,this.contentDispositionFilename=i,this._rangeListeners=[],this._progressListeners=[],this._progressiveReadListeners=[],this._progressiveDoneListeners=[],this._readyCapability=Promise.withResolvers()}addRangeListener(e){this._rangeListeners.push(e)}addProgressListener(e){this._progressListeners.push(e)}addProgressiveReadListener(e){this._progressiveReadListeners.push(e)}addProgressiveDoneListener(e){this._progressiveDoneListeners.push(e)}onDataRange(e,t){for(const n of this._rangeListeners)n(e,t)}onDataProgress(e,t){this._readyCapability.promise.then((()=>{for(const n of this._progressListeners)n(e,t)}))}onDataProgressiveRead(e){this._readyCapability.promise.then((()=>{for(const t of this._progressiveReadListeners)t(e)}))}onDataProgressiveDone(){this._readyCapability.promise.then((()=>{for(const e of this._progressiveDoneListeners)e()}))}transportReady(){this._readyCapability.resolve()}requestDataRange(e,t){Zw("Abstract method PDFDataRangeTransport.requestDataRange")}abort(){}}class ZT{constructor(e,t){this._pdfInfo=e,this._transport=t}get annotationStorage(){return this._transport.annotationStorage}get canvasFactory(){return this._transport.canvasFactory}get filterFactory(){return this._transport.filterFactory}get numPages(){return this._pdfInfo.numPages}get fingerprints(){return this._pdfInfo.fingerprints}get isPureXfa(){return ex(this,"isPureXfa",!!this._transport._htmlForXfa)}get allXfaHtml(){return this._transport._htmlForXfa}getPage(e){return this._transport.getPage(e)}getPageIndex(e){return this._transport.getPageIndex(e)}getDestinations(){return this._transport.getDestinations()}getDestination(e){return this._transport.getDestination(e)}getPageLabels(){return this._transport.getPageLabels()}getPageLayout(){return this._transport.getPageLayout()}getPageMode(){return this._transport.getPageMode()}getViewerPreferences(){return this._transport.getViewerPreferences()}getOpenAction(){return this._transport.getOpenAction()}getAttachments(){return this._transport.getAttachments()}getJSActions(){return this._transport.getDocJSActions()}getOutline(){return this._transport.getOutline()}getOptionalContentConfig({intent:e="display"}={}){const{renderingIntent:t}=this._transport.getRenderingIntent(e);return this._transport.getOptionalContentConfig(t)}getPermissions(){return this._transport.getPermissions()}getMetadata(){return this._transport.getMetadata()}getMarkInfo(){return this._transport.getMarkInfo()}getData(){return this._transport.getData()}saveDocument(){return this._transport.saveDocument()}getDownloadInfo(){return this._transport.downloadInfoCapability.promise}cleanup(e=!1){return this._transport.startCleanup(e||this.isPureXfa)}destroy(){return this.loadingTask.destroy()}cachedPageNumber(e){return this._transport.cachedPageNumber(e)}get loadingParams(){return this._transport.loadingParams}get loadingTask(){return this._transport.loadingTask}getFieldObjects(){return this._transport.getFieldObjects()}hasJSActions(){return this._transport.hasJSActions()}getCalculationOrderIds(){return this._transport.getCalculationOrderIds()}}class JT{constructor(e,t,n,i=!1){Cl(this,Zi),Cl(this,Yi,null),Cl(this,Ki,!1),this._pageIndex=e,this._pageInfo=t,this._transport=n,this._stats=i?new Cx:null,this._pdfBug=i,this.commonObjs=n.commonObjs,this.objs=new rD,this._maybeCleanupAfterRender=!1,this._intentStates=new Map,this.destroyed=!1}get pageNumber(){return this._pageIndex+1}get rotate(){return this._pageInfo.rotate}get ref(){return this._pageInfo.ref}get userUnit(){return this._pageInfo.userUnit}get view(){return this._pageInfo.view}getViewport({scale:e,rotation:t=this.rotate,offsetX:n=0,offsetY:i=0,dontFlip:r=!1}={}){return new Tx({viewBox:this.view,userUnit:this.userUnit,scale:e,rotation:t,offsetX:n,offsetY:i,dontFlip:r})}getAnnotations({intent:e="display"}={}){const{renderingIntent:t}=this._transport.getRenderingIntent(e);return this._transport.getAnnotations(this._pageIndex,t)}getJSActions(){return this._transport.getPageJSActions(this._pageIndex)}get filterFactory(){return this._transport.filterFactory}get isPureXfa(){return ex(this,"isPureXfa",!!this._transport._htmlForXfa)}async getXfa(){var e;return(null==(e=this._transport._htmlForXfa)?void 0:e.children[this._pageIndex])||null}render({canvasContext:e,viewport:t,intent:n="display",annotationMode:i=hw.ENABLE,transform:r=null,background:a=null,optionalContentConfigPromise:s=null,annotationCanvasMap:o=null,pageColors:c=null,printAnnotationStorage:l=null,isEditing:h=!1}){var d,u;null==(d=this._stats)||d.time("Overall");const f=this._transport.getRenderingIntent(n,i,l,h),{renderingIntent:p,cacheKey:g}=f;Ul(this,Ki,!1),Fl(this,Zi,Qi).call(this),s||(s=this._transport.getOptionalContentConfig(p));let m=this._intentStates.get(g);m||(m=Object.create(null),this._intentStates.set(g,m)),m.streamReaderCancelTimeout&&(clearTimeout(m.streamReaderCancelTimeout),m.streamReaderCancelTimeout=null);const b=!!(p&rw);m.displayReadyCapability||(m.displayReadyCapability=Promise.withResolvers(),m.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},null==(u=this._stats)||u.time("Page Request"),this._pumpOperatorList(f));const v=e=>{var t;m.renderTasks.delete(y),(this._maybeCleanupAfterRender||b)&&Ul(this,Ki,!0),Fl(this,Zi,Ji).call(this,!b),e?(y.capability.reject(e),this._abortOperatorList({intentState:m,reason:e instanceof Error?e:new Error(e)})):y.capability.resolve(),this._stats&&(this._stats.timeEnd("Rendering"),this._stats.timeEnd("Overall"),(null==(t=globalThis.Stats)?void 0:t.enabled)&&globalThis.Stats.add(this.pageNumber,this._stats))},y=new oD({callback:v,params:{canvasContext:e,viewport:t,transform:r,background:a},objs:this.objs,commonObjs:this.commonObjs,annotationCanvasMap:o,operatorList:m.operatorList,pageIndex:this._pageIndex,canvasFactory:this._transport.canvasFactory,filterFactory:this._transport.filterFactory,useRequestAnimationFrame:!b,pdfBug:this._pdfBug,pageColors:c});(m.renderTasks||(m.renderTasks=new Set)).add(y);const w=y.task;return Promise.all([m.displayReadyCapability.promise,s]).then((([e,t])=>{var n;if(this.destroyed)v();else{if(null==(n=this._stats)||n.time("Rendering"),!(t.renderingIntent&p))throw new Error("Must use the same `intent`-argument when calling the `PDFPageProxy.render` and `PDFDocumentProxy.getOptionalContentConfig` methods.");y.initializeGraphics({transparency:e,optionalContentConfig:t}),y.operatorListChanged()}})).catch(v),w}getOperatorList({intent:e="display",annotationMode:t=hw.ENABLE,printAnnotationStorage:n=null,isEditing:i=!1}={}){var r;const a=this._transport.getRenderingIntent(e,t,n,i,!0);let s,o=this._intentStates.get(a.cacheKey);return o||(o=Object.create(null),this._intentStates.set(a.cacheKey,o)),o.opListReadCapability||(s=Object.create(null),s.operatorListChanged=function(){o.operatorList.lastChunk&&(o.opListReadCapability.resolve(o.operatorList),o.renderTasks.delete(s))},o.opListReadCapability=Promise.withResolvers(),(o.renderTasks||(o.renderTasks=new Set)).add(s),o.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},null==(r=this._stats)||r.time("Page Request"),this._pumpOperatorList(a)),o.opListReadCapability.promise}streamTextContent({includeMarkedContent:e=!1,disableNormalization:t=!1}={}){return this._transport.messageHandler.sendWithStream("GetTextContent",{pageIndex:this._pageIndex,includeMarkedContent:!0===e,disableNormalization:!0===t},{highWaterMark:100,size:e=>e.items.length})}getTextContent(e={}){if(this._transport._htmlForXfa)return this.getXfa().then((e=>BT.textContent(e)));const t=this.streamTextContent(e);return new Promise((function(e,n){const i=t.getReader(),r={items:[],styles:Object.create(null),lang:null};!function t(){i.read().then((function({value:n,done:i}){i?e(r):(r.lang??(r.lang=n.lang),Object.assign(r.styles,n.styles),r.items.push(...n.items),t())}),n)}()}))}getStructTree(){return this._transport.getStructTree(this._pageIndex)}_destroy(){this.destroyed=!0;const e=[];for(const t of this._intentStates.values())if(this._abortOperatorList({intentState:t,reason:new Error("Page was destroyed."),force:!0}),!t.opListReadCapability)for(const n of t.renderTasks)e.push(n.completed),n.cancel();return this.objs.clear(),Ul(this,Ki,!1),Fl(this,Zi,Qi).call(this),Promise.all(e)}cleanup(e=!1){Ul(this,Ki,!0);const t=Fl(this,Zi,Ji).call(this,!1);return e&&t&&this._stats&&(this._stats=new Cx),t}_startRenderPage(e,t){var n,i;const r=this._intentStates.get(t);r&&(null==(n=this._stats)||n.timeEnd("Page Request"),null==(i=r.displayReadyCapability)||i.resolve(e))}_renderPageChunk(e,t){for(let n=0,i=e.length;n<i;n++)t.operatorList.fnArray.push(e.fnArray[n]),t.operatorList.argsArray.push(e.argsArray[n]);t.operatorList.lastChunk=e.lastChunk,t.operatorList.separateAnnots=e.separateAnnots;for(const n of t.renderTasks)n.operatorListChanged();e.lastChunk&&Fl(this,Zi,Ji).call(this,!0)}_pumpOperatorList({renderingIntent:e,cacheKey:t,annotationStorageSerializable:n,modifiedIds:i}){const{map:r,transfer:a}=n,s=this._transport.messageHandler.sendWithStream("GetOperatorList",{pageIndex:this._pageIndex,intent:e,cacheKey:t,annotationStorage:r,modifiedIds:i},a).getReader(),o=this._intentStates.get(t);o.streamReader=s;const c=()=>{s.read().then((({value:e,done:t})=>{t?o.streamReader=null:this._transport.destroyed||(this._renderPageChunk(e,o),c())}),(e=>{if(o.streamReader=null,!this._transport.destroyed){if(o.operatorList){o.operatorList.lastChunk=!0;for(const e of o.renderTasks)e.operatorListChanged();Fl(this,Zi,Ji).call(this,!0)}if(o.displayReadyCapability)o.displayReadyCapability.reject(e);else{if(!o.opListReadCapability)throw e;o.opListReadCapability.reject(e)}}}))};c()}_abortOperatorList({intentState:e,reason:t,force:n=!1}){if(e.streamReader){if(e.streamReaderCancelTimeout&&(clearTimeout(e.streamReaderCancelTimeout),e.streamReaderCancelTimeout=null),!n){if(e.renderTasks.size>0)return;if(t instanceof Dx){let n=100;return t.extraDelay>0&&t.extraDelay<1e3&&(n+=t.extraDelay),void(e.streamReaderCancelTimeout=setTimeout((()=>{e.streamReaderCancelTimeout=null,this._abortOperatorList({intentState:e,reason:t,force:!0})}),n))}}if(e.streamReader.cancel(new cx(t.message)).catch((()=>{})),e.streamReader=null,!this._transport.destroyed){for(const[t,n]of this._intentStates)if(n===e){this._intentStates.delete(t);break}this.cleanup()}}}get stats(){return this._stats}}Yi=new WeakMap,Ki=new WeakMap,Zi=new WeakSet,Ji=function(e=!1){if(Fl(this,Zi,Qi).call(this),!Sl(this,Ki)||this.destroyed)return!1;if(e)return Ul(this,Yi,setTimeout((()=>{Ul(this,Yi,null),Fl(this,Zi,Ji).call(this,!1)}),5e3)),!1;for(const{renderTasks:t,operatorList:n}of this._intentStates.values())if(t.size>0||!n.lastChunk)return!1;return this._intentStates.clear(),this.objs.clear(),Ul(this,Ki,!1),!0},Qi=function(){Sl(this,Yi)&&(clearTimeout(Sl(this,Yi)),Ul(this,Yi,null))};class QT{constructor(){Cl(this,er,new Map),Cl(this,tr,Promise.resolve())}postMessage(e,t){const n={data:structuredClone(e,t?{transfer:t}:null)};Sl(this,tr).then((()=>{for(const[e]of Sl(this,er))e.call(this,n)}))}addEventListener(e,t,n=null){let i=null;if((null==n?void 0:n.signal)instanceof AbortSignal){const{signal:r}=n;if(r.aborted)return void Kw();const a=()=>this.removeEventListener(e,t);i=()=>r.removeEventListener("abort",a),r.addEventListener("abort",a)}Sl(this,er).set(t,i)}removeEventListener(e,t){const n=Sl(this,er).get(t);null==n||n(),Sl(this,er).delete(t)}terminate(){for(const[,e]of Sl(this,er))null==e||e();Sl(this,er).clear()}}er=new WeakMap,tr=new WeakMap;const eD=class e{constructor({name:t=null,port:n=null,verbosity:i=qw()}={}){var r;if(Cl(this,ar),this.name=t,this.destroyed=!1,this.verbosity=i,this._readyCapability=Promise.withResolvers(),this._port=null,this._webWorker=null,this._messageHandler=null,n){if(null==(r=Sl(e,rr))?void 0:r.has(n))throw new Error("Cannot use more than one PDFWorker per port.");return(Sl(e,rr)||Ul(e,rr,new WeakMap)).set(n,this),void this._initializeFromPort(n)}this._initialize()}get promise(){return this._readyCapability.promise}get port(){return this._port}get messageHandler(){return this._messageHandler}_initializeFromPort(e){this._port=e,this._messageHandler=new k_("main","worker",e),this._messageHandler.on("ready",(function(){})),Fl(this,ar,sr).call(this)}_initialize(){if(Sl(e,ir)||Sl(e,or,cr))return void this._setupFakeWorker();let{workerSrc:t}=e;try{e._isSameOrigin(window.location.href,t)||(t=e._createCDNWrapper(new URL(t,window.location).href));const n=new Worker(t,{type:"module"}),i=new k_("main","worker",n),r=()=>{a.abort(),i.destroy(),n.terminate(),this.destroyed?this._readyCapability.reject(new Error("Worker was destroyed")):this._setupFakeWorker()},a=new AbortController;n.addEventListener("error",(()=>{this._webWorker||r()}),{signal:a.signal}),i.on("test",(e=>{a.abort(),!this.destroyed&&e?(this._messageHandler=i,this._port=n,this._webWorker=n,Fl(this,ar,sr).call(this)):r()})),i.on("ready",(e=>{if(a.abort(),this.destroyed)r();else try{s()}catch{this._setupFakeWorker()}}));const s=()=>{const e=new Uint8Array;i.send("test",e,[e.buffer])};return void s()}catch{Yw()}this._setupFakeWorker()}_setupFakeWorker(){Sl(e,ir)||(Kw(),Ul(e,ir,!0)),e._setupFakeWorkerGlobal.then((t=>{if(this.destroyed)return void this._readyCapability.reject(new Error("Worker was destroyed"));const n=new QT;this._port=n;const i="fake"+Ml(e,nr)._++,r=new k_(i+"_worker",i,n);t.setup(r,n),this._messageHandler=new k_(i,i+"_worker",n),Fl(this,ar,sr).call(this)})).catch((e=>{this._readyCapability.reject(new Error(`Setting up fake worker failed: "${e.message}".`))}))}destroy(){var t,n,i;this.destroyed=!0,null==(t=this._webWorker)||t.terminate(),this._webWorker=null,null==(n=Sl(e,rr))||n.delete(this._port),this._port=null,null==(i=this._messageHandler)||i.destroy(),this._messageHandler=null}static fromPort(t){var n;if(!(null==t?void 0:t.port))throw new Error("PDFWorker.fromPort - invalid method signature.");const i=null==(n=Sl(this,rr))?void 0:n.get(t.port);if(i){if(i._pendingDestroy)throw new Error("PDFWorker.fromPort - the worker is being destroyed.\nPlease remember to await `PDFDocumentLoadingTask.destroy()`-calls.");return i}return new e(t)}static get workerSrc(){if(hT.workerSrc)return hT.workerSrc;throw new Error('No "GlobalWorkerOptions.workerSrc" specified.')}static get _setupFakeWorkerGlobal(){return ex(this,"_setupFakeWorkerGlobal",(async()=>{if(Sl(this,or,cr))return Sl(this,or,cr);return(await import( +/*webpackIgnore: true*/ +this.workerSrc)).WorkerMessageHandler})())}};nr=new WeakMap,ir=new WeakMap,rr=new WeakMap,ar=new WeakSet,sr=function(){this._readyCapability.resolve(),this._messageHandler.send("configure",{verbosity:this.verbosity})},or=new WeakSet,cr=function(){var e;try{return(null==(e=globalThis.pdfjsWorker)?void 0:e.WorkerMessageHandler)||null}catch{return null}},Cl(eD,or),Cl(eD,nr,0),Cl(eD,ir,!1),Cl(eD,rr),Jy&&(Ul(eD,ir,!0),hT.workerSrc||(hT.workerSrc="./pdf.worker.mjs")),eD._isSameOrigin=(e,t)=>{let n;try{if(n=new URL(e),!n.origin||"null"===n.origin)return!1}catch{return!1}const i=new URL(t,n);return n.origin===i.origin},eD._createCDNWrapper=e=>{const t=`await import("${e}");`;return URL.createObjectURL(new Blob([t],{type:"text/javascript"}))};let tD=eD;class nD{constructor(e,t,n,i,r){Cl(this,pr),Cl(this,lr,new Map),Cl(this,hr,new Map),Cl(this,dr,new Map),Cl(this,ur,new Map),Cl(this,fr,null),this.messageHandler=e,this.loadingTask=t,this.commonObjs=new rD,this.fontLoader=new f_({ownerDocument:i.ownerDocument,styleElement:i.styleElement}),this.loadingParams=i.loadingParams,this._params=i,this.canvasFactory=r.canvasFactory,this.filterFactory=r.filterFactory,this.cMapReaderFactory=r.cMapReaderFactory,this.standardFontDataFactory=r.standardFontDataFactory,this.destroyed=!1,this.destroyCapability=null,this._networkStream=n,this._fullReader=null,this._lastProgress=null,this.downloadInfoCapability=Promise.withResolvers(),this.setupMessageHandler()}get annotationStorage(){return ex(this,"annotationStorage",new d_)}getRenderingIntent(e,t=hw.ENABLE,n=null,i=!1,r=!1){let a=iw,s=h_;switch(e){case"any":a=nw;break;case"display":break;case"print":a=rw;break;default:Kw()}const o=a&rw&&n instanceof u_?n:this.annotationStorage;switch(t){case hw.DISABLE:a+=ow;break;case hw.ENABLE:break;case hw.ENABLE_FORMS:a+=aw;break;case hw.ENABLE_STORAGE:a+=sw,s=o.serializable;break;default:Kw()}i&&(a+=cw),r&&(a+=lw);const{ids:c,hash:l}=o.modifiedIds;return{renderingIntent:a,cacheKey:[a,s.hash,l].join("_"),annotationStorageSerializable:s,modifiedIds:c}}destroy(){var e;if(this.destroyCapability)return this.destroyCapability.promise;this.destroyed=!0,this.destroyCapability=Promise.withResolvers(),null==(e=Sl(this,fr))||e.reject(new Error("Worker was destroyed during onPassword callback"));const t=[];for(const i of Sl(this,hr).values())t.push(i._destroy());Sl(this,hr).clear(),Sl(this,dr).clear(),Sl(this,ur).clear(),this.hasOwnProperty("annotationStorage")&&this.annotationStorage.resetModified();const n=this.messageHandler.sendWithPromise("Terminate",null);return t.push(n),Promise.all(t).then((()=>{var e,t;this.commonObjs.clear(),this.fontLoader.clear(),Sl(this,lr).clear(),this.filterFactory.destroy(),WT.cleanup(),null==(e=this._networkStream)||e.cancelAllRequests(new cx("Worker was terminated.")),null==(t=this.messageHandler)||t.destroy(),this.messageHandler=null,this.destroyCapability.resolve()}),this.destroyCapability.reject),this.destroyCapability.promise}setupMessageHandler(){const{messageHandler:e,loadingTask:t}=this;e.on("GetReader",((e,t)=>{Jw(this._networkStream,"GetReader - no `IPDFStream` instance available."),this._fullReader=this._networkStream.getFullReader(),this._fullReader.onProgress=e=>{this._lastProgress={loaded:e.loaded,total:e.total}},t.onPull=()=>{this._fullReader.read().then((function({value:e,done:n}){n?t.close():(Jw(e instanceof ArrayBuffer,"GetReader - expected an ArrayBuffer."),t.enqueue(new Uint8Array(e),1,[e]))})).catch((e=>{t.error(e)}))},t.onCancel=e=>{this._fullReader.cancel(e),t.ready.catch((e=>{if(!this.destroyed)throw e}))}})),e.on("ReaderHeadersReady",(async e=>{var n;await this._fullReader.headersReady;const{isStreamingSupported:i,isRangeSupported:r,contentLength:a}=this._fullReader;return i&&r||(this._lastProgress&&(null==(n=t.onProgress)||n.call(t,this._lastProgress)),this._fullReader.onProgress=e=>{var n;null==(n=t.onProgress)||n.call(t,{loaded:e.loaded,total:e.total})}),{isStreamingSupported:i,isRangeSupported:r,contentLength:a}})),e.on("GetRangeReader",((e,t)=>{Jw(this._networkStream,"GetRangeReader - no `IPDFStream` instance available.");const n=this._networkStream.getRangeReader(e.begin,e.end);n?(t.onPull=()=>{n.read().then((function({value:e,done:n}){n?t.close():(Jw(e instanceof ArrayBuffer,"GetRangeReader - expected an ArrayBuffer."),t.enqueue(new Uint8Array(e),1,[e]))})).catch((e=>{t.error(e)}))},t.onCancel=e=>{n.cancel(e),t.ready.catch((e=>{if(!this.destroyed)throw e}))}):t.close()})),e.on("GetDoc",(({pdfInfo:e})=>{this._numPages=e.numPages,this._htmlForXfa=e.htmlForXfa,delete e.htmlForXfa,t._capability.resolve(new ZT(e,this))})),e.on("DocException",(e=>{t._capability.reject(E_(e))})),e.on("PasswordRequest",(e=>{Ul(this,fr,Promise.withResolvers());try{if(!t.onPassword)throw E_(e);const n=e=>{e instanceof Error?Sl(this,fr).reject(e):Sl(this,fr).resolve({password:e})};t.onPassword(n,e.code)}catch(n){Sl(this,fr).reject(n)}return Sl(this,fr).promise})),e.on("DataLoaded",(e=>{var n;null==(n=t.onProgress)||n.call(t,{loaded:e.length,total:e.length}),this.downloadInfoCapability.resolve(e)})),e.on("StartRenderPage",(e=>{if(this.destroyed)return;Sl(this,hr).get(e.pageIndex)._startRenderPage(e.transparency,e.cacheKey)})),e.on("commonobj",(([t,n,i])=>{var r;if(this.destroyed)return null;if(this.commonObjs.has(t))return null;switch(n){case"Font":const{disableFontFace:a,fontExtraProperties:s,pdfBug:o}=this._params;if("error"in i){const e=i.error;Kw(),this.commonObjs.resolve(t,e);break}const c=o&&(null==(r=globalThis.FontInspector)?void 0:r.enabled)?(e,t)=>globalThis.FontInspector.fontAdded(e,t):null,l=new p_(i,{disableFontFace:a,fontExtraProperties:s,inspectFont:c});this.fontLoader.bind(l).catch((()=>e.sendWithPromise("FontFallback",{id:t}))).finally((()=>{!s&&l.data&&(l.data=null),this.commonObjs.resolve(t,l)}));break;case"CopyLocalImage":const{imageRef:h}=i;Jw(h,"The imageRef must be defined.");for(const e of Sl(this,hr).values())for(const[,n]of e.objs)if((null==n?void 0:n.ref)===h)return n.dataLen?(this.commonObjs.resolve(t,structuredClone(n)),n.dataLen):null;break;case"FontPath":case"Image":case"Pattern":this.commonObjs.resolve(t,i);break;default:throw new Error(`Got unknown common object type ${n}`)}return null})),e.on("obj",(([e,t,n,i])=>{var r;if(this.destroyed)return;const a=Sl(this,hr).get(t);if(!a.objs.has(e))if(0!==a._intentStates.size)switch(n){case"Image":a.objs.resolve(e,i),(null==i?void 0:i.dataLen)>1e7&&(a._maybeCleanupAfterRender=!0);break;case"Pattern":a.objs.resolve(e,i);break;default:throw new Error(`Got unknown object type ${n}`)}else null==(r=null==i?void 0:i.bitmap)||r.close()})),e.on("DocProgress",(e=>{var n;this.destroyed||null==(n=t.onProgress)||n.call(t,{loaded:e.loaded,total:e.total})})),e.on("FetchBuiltInCMap",(async e=>{if(this.destroyed)throw new Error("Worker was destroyed.");if(!this.cMapReaderFactory)throw new Error("CMapReaderFactory not initialized, see the `useWorkerFetch` parameter.");return this.cMapReaderFactory.fetch(e)})),e.on("FetchStandardFontData",(async e=>{if(this.destroyed)throw new Error("Worker was destroyed.");if(!this.standardFontDataFactory)throw new Error("StandardFontDataFactory not initialized, see the `useWorkerFetch` parameter.");return this.standardFontDataFactory.fetch(e)}))}getData(){return this.messageHandler.sendWithPromise("GetData",null)}saveDocument(){var e;this.annotationStorage.size<=0&&Kw();const{map:t,transfer:n}=this.annotationStorage.serializable;return this.messageHandler.sendWithPromise("SaveDocument",{isPureXfa:!!this._htmlForXfa,numPages:this._numPages,annotationStorage:t,filename:(null==(e=this._fullReader)?void 0:e.filename)??null},n).finally((()=>{this.annotationStorage.resetModified()}))}getPage(e){if(!Number.isInteger(e)||e<=0||e>this._numPages)return Promise.reject(new Error("Invalid page request."));const t=e-1,n=Sl(this,dr).get(t);if(n)return n;const i=this.messageHandler.sendWithPromise("GetPage",{pageIndex:t}).then((n=>{if(this.destroyed)throw new Error("Transport destroyed");n.refStr&&Sl(this,ur).set(n.refStr,e);const i=new JT(t,n,this,this._params.pdfBug);return Sl(this,hr).set(t,i),i}));return Sl(this,dr).set(t,i),i}getPageIndex(e){return $T(e)?this.messageHandler.sendWithPromise("GetPageIndex",{num:e.num,gen:e.gen}):Promise.reject(new Error("Invalid pageIndex request."))}getAnnotations(e,t){return this.messageHandler.sendWithPromise("GetAnnotations",{pageIndex:e,intent:t})}getFieldObjects(){return Fl(this,pr,gr).call(this,"GetFieldObjects")}hasJSActions(){return Fl(this,pr,gr).call(this,"HasJSActions")}getCalculationOrderIds(){return this.messageHandler.sendWithPromise("GetCalculationOrderIds",null)}getDestinations(){return this.messageHandler.sendWithPromise("GetDestinations",null)}getDestination(e){return"string"!=typeof e?Promise.reject(new Error("Invalid destination request.")):this.messageHandler.sendWithPromise("GetDestination",{id:e})}getPageLabels(){return this.messageHandler.sendWithPromise("GetPageLabels",null)}getPageLayout(){return this.messageHandler.sendWithPromise("GetPageLayout",null)}getPageMode(){return this.messageHandler.sendWithPromise("GetPageMode",null)}getViewerPreferences(){return this.messageHandler.sendWithPromise("GetViewerPreferences",null)}getOpenAction(){return this.messageHandler.sendWithPromise("GetOpenAction",null)}getAttachments(){return this.messageHandler.sendWithPromise("GetAttachments",null)}getDocJSActions(){return Fl(this,pr,gr).call(this,"GetDocJSActions")}getPageJSActions(e){return this.messageHandler.sendWithPromise("GetPageJSActions",{pageIndex:e})}getStructTree(e){return this.messageHandler.sendWithPromise("GetStructTree",{pageIndex:e})}getOutline(){return this.messageHandler.sendWithPromise("GetOutline",null)}getOptionalContentConfig(e){return Fl(this,pr,gr).call(this,"GetOptionalContentConfig").then((t=>new pT(t,e)))}getPermissions(){return this.messageHandler.sendWithPromise("GetPermissions",null)}getMetadata(){const e="GetMetadata",t=Sl(this,lr).get(e);if(t)return t;const n=this.messageHandler.sendWithPromise(e,null).then((e=>{var t,n;return{info:e[0],metadata:e[1]?new dT(e[1]):null,contentDispositionFilename:(null==(t=this._fullReader)?void 0:t.filename)??null,contentLength:(null==(n=this._fullReader)?void 0:n.contentLength)??null}}));return Sl(this,lr).set(e,n),n}getMarkInfo(){return this.messageHandler.sendWithPromise("GetMarkInfo",null)}async startCleanup(e=!1){if(!this.destroyed){await this.messageHandler.sendWithPromise("Cleanup",null);for(const e of Sl(this,hr).values()){if(!e.cleanup())throw new Error(`startCleanup: Page ${e.pageNumber} is currently rendering.`)}this.commonObjs.clear(),e||this.fontLoader.clear(),Sl(this,lr).clear(),this.filterFactory.destroy(!0),WT.cleanup()}}cachedPageNumber(e){if(!$T(e))return null;const t=0===e.gen?`${e.num}R`:`${e.num}R${e.gen}`;return Sl(this,ur).get(t)??null}}lr=new WeakMap,hr=new WeakMap,dr=new WeakMap,ur=new WeakMap,fr=new WeakMap,pr=new WeakSet,gr=function(e,t=null){const n=Sl(this,lr).get(e);if(n)return n;const i=this.messageHandler.sendWithPromise(e,t);return Sl(this,lr).set(e,i),i};const iD=Symbol("INITIAL_DATA");class rD{constructor(){Cl(this,br),Cl(this,mr,Object.create(null))}get(e,t=null){if(t){const n=Fl(this,br,vr).call(this,e);return n.promise.then((()=>t(n.data))),null}const n=Sl(this,mr)[e];if(!n||n.data===iD)throw new Error(`Requesting object that isn't resolved yet ${e}.`);return n.data}has(e){const t=Sl(this,mr)[e];return!!t&&t.data!==iD}delete(e){const t=Sl(this,mr)[e];return!(!t||t.data===iD)&&(delete Sl(this,mr)[e],!0)}resolve(e,t=null){const n=Fl(this,br,vr).call(this,e);n.data=t,n.resolve()}clear(){var e;for(const t in Sl(this,mr)){const{data:n}=Sl(this,mr)[t];null==(e=null==n?void 0:n.bitmap)||e.close()}Ul(this,mr,Object.create(null))}*[Symbol.iterator](){for(const e in Sl(this,mr)){const{data:t}=Sl(this,mr)[e];t!==iD&&(yield[e,t])}}}mr=new WeakMap,br=new WeakSet,vr=function(e){var t;return(t=Sl(this,mr))[e]||(t[e]={...Promise.withResolvers(),data:iD})};class aD{constructor(e){Cl(this,yr,null),Ul(this,yr,e),this.onContinue=null}get promise(){return Sl(this,yr).capability.promise}cancel(e=0){Sl(this,yr).cancel(null,e)}get separateAnnots(){const{separateAnnots:e}=Sl(this,yr).operatorList;if(!e)return!1;const{annotationCanvasMap:t}=Sl(this,yr);return e.form||e.canvas&&(null==t?void 0:t.size)>0}}yr=new WeakMap;const sD=class e{constructor({callback:e,params:t,objs:n,commonObjs:i,annotationCanvasMap:r,operatorList:a,pageIndex:s,canvasFactory:o,filterFactory:c,useRequestAnimationFrame:l=!1,pdfBug:h=!1,pageColors:d=null}){Cl(this,wr,null),this.callback=e,this.params=t,this.objs=n,this.commonObjs=i,this.annotationCanvasMap=r,this.operatorListIdx=null,this.operatorList=a,this._pageIndex=s,this.canvasFactory=o,this.filterFactory=c,this._pdfBug=h,this.pageColors=d,this.running=!1,this.graphicsReadyCallback=null,this.graphicsReady=!1,this._useRequestAnimationFrame=!0===l&&"undefined"!=typeof window,this.cancelled=!1,this.capability=Promise.withResolvers(),this.task=new aD(this),this._cancelBound=this.cancel.bind(this),this._continueBound=this._continue.bind(this),this._scheduleNextBound=this._scheduleNext.bind(this),this._nextBound=this._next.bind(this),this._canvas=t.canvasContext.canvas}get completed(){return this.capability.promise.catch((function(){}))}initializeGraphics({transparency:t=!1,optionalContentConfig:n}){var i,r;if(this.cancelled)return;if(this._canvas){if(Sl(e,xr).has(this._canvas))throw new Error("Cannot use the same canvas during multiple render() operations. Use different canvas or ensure previous operations were cancelled or completed.");Sl(e,xr).add(this._canvas)}this._pdfBug&&(null==(i=globalThis.StepperManager)?void 0:i.enabled)&&(this.stepper=globalThis.StepperManager.create(this._pageIndex),this.stepper.init(this.operatorList),this.stepper.nextBreakPoint=this.stepper.getNextBreakPoint());const{canvasContext:a,viewport:s,transform:o,background:c}=this.params;this.gfx=new lT(a,this.commonObjs,this.objs,this.canvasFactory,this.filterFactory,{optionalContentConfig:n},this.annotationCanvasMap,this.pageColors),this.gfx.beginDrawing({transform:o,viewport:s,transparency:t,background:c}),this.operatorListIdx=0,this.graphicsReady=!0,null==(r=this.graphicsReadyCallback)||r.call(this)}cancel(t=null,n=0){var i;this.running=!1,this.cancelled=!0,null==(i=this.gfx)||i.endDrawing(),Sl(this,wr)&&(window.cancelAnimationFrame(Sl(this,wr)),Ul(this,wr,null)),Sl(e,xr).delete(this._canvas),this.callback(t||new Dx(`Rendering cancelled, page ${this._pageIndex+1}`,n))}operatorListChanged(){var e;this.graphicsReady?(null==(e=this.stepper)||e.updateOperatorList(this.operatorList),this.running||this._continue()):this.graphicsReadyCallback||(this.graphicsReadyCallback=this._continueBound)}_continue(){this.running=!0,this.cancelled||(this.task.onContinue?this.task.onContinue(this._scheduleNextBound):this._scheduleNext())}_scheduleNext(){this._useRequestAnimationFrame?Ul(this,wr,window.requestAnimationFrame((()=>{Ul(this,wr,null),this._nextBound().catch(this._cancelBound)}))):Promise.resolve().then(this._nextBound).catch(this._cancelBound)}async _next(){this.cancelled||(this.operatorListIdx=this.gfx.executeOperatorList(this.operatorList,this.operatorListIdx,this._continueBound,this.stepper),this.operatorListIdx===this.operatorList.argsArray.length&&(this.running=!1,this.operatorList.lastChunk&&(this.gfx.endDrawing(),Sl(e,xr).delete(this._canvas),this.callback())))}};wr=new WeakMap,xr=new WeakMap,Cl(sD,xr,new WeakSet);let oD=sD;const cD="4.10.38",lD="f9bea397f";function hD(e){return Math.floor(255*Math.max(0,Math.min(1,e))).toString(16).padStart(2,"0")}function dD(e){return Math.max(0,Math.min(255,255*e))}class uD{static CMYK_G([e,t,n,i]){return["G",1-Math.min(1,.3*e+.59*n+.11*t+i)]}static G_CMYK([e]){return["CMYK",0,0,0,1-e]}static G_RGB([e]){return["RGB",e,e,e]}static G_rgb([e]){return[e=dD(e),e,e]}static G_HTML([e]){const t=hD(e);return`#${t}${t}${t}`}static RGB_G([e,t,n]){return["G",.3*e+.59*t+.11*n]}static RGB_rgb(e){return e.map(dD)}static RGB_HTML(e){return`#${e.map(hD).join("")}`}static T_HTML(){return"#00000000"}static T_rgb(){return[null]}static CMYK_RGB([e,t,n,i]){return["RGB",1-Math.min(1,e+i),1-Math.min(1,n+i),1-Math.min(1,t+i)]}static CMYK_rgb([e,t,n,i]){return[dD(1-Math.min(1,e+i)),dD(1-Math.min(1,n+i)),dD(1-Math.min(1,t+i))]}static CMYK_HTML(e){const t=this.CMYK_RGB(e).slice(1);return this.RGB_HTML(t)}static RGB_CMYK([e,t,n]){const i=1-e,r=1-t,a=1-n;return["CMYK",i,r,a,Math.min(i,r,a)]}}class fD{create(e,t,n=!1){if(e<=0||t<=0)throw new Error("Invalid SVG dimensions");const i=this._createSVG("svg:svg");return i.setAttribute("version","1.1"),n||(i.setAttribute("width",`${e}px`),i.setAttribute("height",`${t}px`)),i.setAttribute("preserveAspectRatio","none"),i.setAttribute("viewBox",`0 0 ${e} ${t}`),i}createElement(e){if("string"!=typeof e)throw new Error("Invalid SVG element type");return this._createSVG(e)}_createSVG(e){Zw("Abstract method `_createSVG` called.")}}class pD extends fD{_createSVG(e){return document.createElementNS(yx,e)}}class gD{static setupStorage(e,t,n,i,r){const a=i.getValue(t,{value:null});switch(n.name){case"textarea":if(null!==a.value&&(e.textContent=a.value),"print"===r)break;e.addEventListener("input",(e=>{i.setValue(t,{value:e.target.value})}));break;case"input":if("radio"===n.attributes.type||"checkbox"===n.attributes.type){if(a.value===n.attributes.xfaOn?e.setAttribute("checked",!0):a.value===n.attributes.xfaOff&&e.removeAttribute("checked"),"print"===r)break;e.addEventListener("change",(e=>{i.setValue(t,{value:e.target.checked?e.target.getAttribute("xfaOn"):e.target.getAttribute("xfaOff")})}))}else{if(null!==a.value&&e.setAttribute("value",a.value),"print"===r)break;e.addEventListener("input",(e=>{i.setValue(t,{value:e.target.value})}))}break;case"select":if(null!==a.value){e.setAttribute("value",a.value);for(const e of n.children)e.attributes.value===a.value?e.attributes.selected=!0:e.attributes.hasOwnProperty("selected")&&delete e.attributes.selected}e.addEventListener("input",(e=>{const n=e.target.options,r=-1===n.selectedIndex?"":n[n.selectedIndex].value;i.setValue(t,{value:r})}))}}static setAttributes({html:e,element:t,storage:n=null,intent:i,linkService:r}){const{attributes:a}=t,s=e instanceof HTMLAnchorElement;"radio"===a.type&&(a.name=`${a.name}-${i}`);for(const[o,c]of Object.entries(a))if(null!=c)switch(o){case"class":c.length&&e.setAttribute(o,c.join(" "));break;case"dataId":break;case"id":e.setAttribute("data-element-id",c);break;case"style":Object.assign(e.style,c);break;case"textContent":e.textContent=c;break;default:(!s||"href"!==o&&"newWindow"!==o)&&e.setAttribute(o,c)}s&&r.addLinkAttributes(e,a.href,a.newWindow),n&&a.dataId&&this.setupStorage(e,a.dataId,t,n)}static render(e){var t,n;const i=e.annotationStorage,r=e.linkService,a=e.xfaHtml,s=e.intent||"display",o=document.createElement(a.name);a.attributes&&this.setAttributes({html:o,element:a,intent:s,linkService:r});const c="richText"!==s,l=e.div;if(l.append(o),e.viewport){const t=`matrix(${e.viewport.transform.join(",")})`;l.style.transform=t}c&&l.setAttribute("class","xfaLayer xfaFont");const h=[];if(0===a.children.length){if(a.value){const e=document.createTextNode(a.value);o.append(e),c&&BT.shouldBuildText(a.name)&&h.push(e)}return{textDivs:h}}const d=[[a,-1,o]];for(;d.length>0;){const[e,a,o]=d.at(-1);if(a+1===e.children.length){d.pop();continue}const l=e.children[++d.at(-1)[1]];if(null===l)continue;const{name:u}=l;if("#text"===u){const e=document.createTextNode(l.value);h.push(e),o.append(e);continue}const f=(null==(t=null==l?void 0:l.attributes)?void 0:t.xmlns)?document.createElementNS(l.attributes.xmlns,u):document.createElement(u);if(o.append(f),l.attributes&&this.setAttributes({html:f,element:l,storage:i,intent:s,linkService:r}),(null==(n=l.children)?void 0:n.length)>0)d.push([l,-1,f]);else if(l.value){const e=document.createTextNode(l.value);c&&BT.shouldBuildText(u)&&h.push(e),f.append(e)}}for(const u of l.querySelectorAll(".xfaNonInteractive input, .xfaNonInteractive textarea"))u.setAttribute("readOnly",!0);return{textDivs:h}}static update(e){const t=`matrix(${e.viewport.transform.join(",")})`;e.div.style.transform=t,e.div.hidden=!1}}const mD=1e3,bD=new WeakSet;function vD(e){return{width:e[2]-e[0],height:e[3]-e[1]}}class yD{static create(e){switch(e.data.annotationType){case _w:return new xD(e);case xw:return new _D(e);case Lw:switch(e.data.fieldType){case"Tx":return new DD(e);case"Btn":return e.data.radioButton?new kD(e):e.data.checkBox?new ED(e):new SD(e);case"Ch":return new CD(e);case"Sig":return new AD(e)}return new TD(e);case Nw:return new UD(e);case Tw:return new MD(e);case Dw:return new RD(e);case Aw:return new ID(e);case Ew:return new OD(e);case Sw:return new ND(e);case Iw:return new LD(e);case Ow:return new WD(e);case kw:return new PD(e);case Cw:return new BD(e);case Uw:return new jD(e);case Fw:return new zD(e);case Mw:return new HD(e);case Rw:return new VD(e);case Pw:return new GD(e);default:return new wD(e)}}}_r=new WeakMap,Tr=new WeakMap,Dr=new WeakMap,Ar=new WeakSet,Er=function(e){const{container:{style:t},data:{rect:n,rotation:i},parent:{viewport:{rawDims:{pageWidth:r,pageHeight:a,pageX:s,pageY:o}}}}=this;null==n||n.splice(0,4,...e);const{width:c,height:l}=vD(e);t.left=100*(e[0]-s)/r+"%",t.top=100*(a-e[3]+o)/a+"%",0===i?(t.width=100*c/r+"%",t.height=100*l/a+"%"):this.setRotation(i)};let wD=class e{constructor(e,{isRenderable:t=!1,ignoreBorder:n=!1,createQuadrilaterals:i=!1}={}){Cl(this,Ar),Cl(this,_r,null),Cl(this,Tr,!1),Cl(this,Dr,null),this.isRenderable=t,this.data=e.data,this.layer=e.layer,this.linkService=e.linkService,this.downloadManager=e.downloadManager,this.imageResourcesPath=e.imageResourcesPath,this.renderForms=e.renderForms,this.svgFactory=e.svgFactory,this.annotationStorage=e.annotationStorage,this.enableScripting=e.enableScripting,this.hasJSActions=e.hasJSActions,this._fieldObjects=e.fieldObjects,this.parent=e.parent,t&&(this.container=this._createContainer(n)),i&&this._createQuadrilaterals()}static _hasPopupData({titleObj:e,contentsObj:t,richText:n}){return!!((null==e?void 0:e.str)||(null==t?void 0:t.str)||(null==n?void 0:n.str))}get _isEditable(){return this.data.isEditable}get hasPopupData(){return e._hasPopupData(this.data)}updateEdited(e){var t;if(!this.container)return;Sl(this,_r)||Ul(this,_r,{rect:this.data.rect.slice(0)});const{rect:n}=e;n&&Fl(this,Ar,Er).call(this,n),null==(t=Sl(this,Dr))||t.popup.updateEdited(e)}resetEdited(){var e;Sl(this,_r)&&(Fl(this,Ar,Er).call(this,Sl(this,_r).rect),null==(e=Sl(this,Dr))||e.popup.resetEdited(),Ul(this,_r,null))}_createContainer(e){const{data:t,parent:{page:n,viewport:i}}=this,r=document.createElement("section");r.setAttribute("data-annotation-id",t.id),this instanceof TD||(r.tabIndex=mD);const{style:a}=r;if(a.zIndex=this.parent.zIndex++,t.alternativeText&&(r.title=t.alternativeText),t.noRotate&&r.classList.add("norotate"),!t.rect||this instanceof UD){const{rotation:e}=t;return t.hasOwnCanvas||0===e||this.setRotation(e,r),r}const{width:s,height:o}=vD(t.rect);if(!e&&t.borderStyle.width>0){a.borderWidth=`${t.borderStyle.width}px`;const e=t.borderStyle.horizontalCornerRadius,n=t.borderStyle.verticalCornerRadius;if(e>0||n>0){const t=`calc(${e}px * var(--scale-factor)) / calc(${n}px * var(--scale-factor))`;a.borderRadius=t}else if(this instanceof kD){const e=`calc(${s}px * var(--scale-factor)) / calc(${o}px * var(--scale-factor))`;a.borderRadius=e}switch(t.borderStyle.style){case Ww:a.borderStyle="solid";break;case Bw:a.borderStyle="dashed";break;case jw:case zw:Kw();break;case Hw:a.borderBottomStyle="solid"}const i=t.borderColor||null;i?(Ul(this,Tr,!0),a.borderColor=px.makeHexColor(0|i[0],0|i[1],0|i[2])):a.borderWidth=0}const c=px.normalizeRect([t.rect[0],n.view[3]-t.rect[1]+n.view[1],t.rect[2],n.view[3]-t.rect[3]+n.view[1]]),{pageWidth:l,pageHeight:h,pageX:d,pageY:u}=i.rawDims;a.left=100*(c[0]-d)/l+"%",a.top=100*(c[1]-u)/h+"%";const{rotation:f}=t;return t.hasOwnCanvas||0===f?(a.width=100*s/l+"%",a.height=100*o/h+"%"):this.setRotation(f,r),r}setRotation(e,t=this.container){if(!this.data.rect)return;const{pageWidth:n,pageHeight:i}=this.parent.viewport.rawDims,{width:r,height:a}=vD(this.data.rect);let s,o;e%180==0?(s=100*r/n,o=100*a/i):(s=100*a/n,o=100*r/i),t.style.width=`${s}%`,t.style.height=`${o}%`,t.setAttribute("data-main-rotation",(360-e)%360)}get _commonActions(){const e=(e,t,n)=>{const i=n.detail[e],r=i[0],a=i.slice(1);n.target.style[t]=uD[`${r}_HTML`](a),this.annotationStorage.setValue(this.data.id,{[t]:uD[`${r}_rgb`](a)})};return ex(this,"_commonActions",{display:e=>{const{display:t}=e.detail,n=t%2==1;this.container.style.visibility=n?"hidden":"visible",this.annotationStorage.setValue(this.data.id,{noView:n,noPrint:1===t||2===t})},print:e=>{this.annotationStorage.setValue(this.data.id,{noPrint:!e.detail.print})},hidden:e=>{const{hidden:t}=e.detail;this.container.style.visibility=t?"hidden":"visible",this.annotationStorage.setValue(this.data.id,{noPrint:t,noView:t})},focus:e=>{setTimeout((()=>e.target.focus({preventScroll:!1})),0)},userName:e=>{e.target.title=e.detail.userName},readonly:e=>{e.target.disabled=e.detail.readonly},required:e=>{this._setRequired(e.target,e.detail.required)},bgColor:t=>{e("bgColor","backgroundColor",t)},fillColor:t=>{e("fillColor","backgroundColor",t)},fgColor:t=>{e("fgColor","color",t)},textColor:t=>{e("textColor","color",t)},borderColor:t=>{e("borderColor","borderColor",t)},strokeColor:t=>{e("strokeColor","borderColor",t)},rotation:e=>{const t=e.detail.rotation;this.setRotation(t),this.annotationStorage.setValue(this.data.id,{rotation:t})}})}_dispatchEventFromSandbox(e,t){const n=this._commonActions;for(const i of Object.keys(t.detail)){const r=e[i]||n[i];null==r||r(t)}}_setDefaultPropertiesFromJS(e){if(!this.enableScripting)return;const t=this.annotationStorage.getRawValue(this.data.id);if(!t)return;const n=this._commonActions;for(const[i,r]of Object.entries(t)){const a=n[i];if(a){a({detail:{[i]:r},target:e}),delete t[i]}}}_createQuadrilaterals(){if(!this.container)return;const{quadPoints:e}=this.data;if(!e)return;const[t,n,i,r]=this.data.rect.map((e=>Math.fround(e)));if(8===e.length){const[a,s,o,c]=e.subarray(2,6);if(i===a&&r===s&&t===o&&n===c)return}const{style:a}=this.container;let s;if(Sl(this,Tr)){const{borderColor:e,borderWidth:t}=a;a.borderWidth=0,s=["url('data:image/svg+xml;utf8,",'<svg xmlns="http://www.w3.org/2000/svg"',' preserveAspectRatio="none" viewBox="0 0 1 1">',`<g fill="transparent" stroke="${e}" stroke-width="${t}">`],this.container.classList.add("hasBorder")}const o=i-t,c=r-n,{svgFactory:l}=this,h=l.createElement("svg");h.classList.add("quadrilateralsContainer"),h.setAttribute("width",0),h.setAttribute("height",0);const d=l.createElement("defs");h.append(d);const u=l.createElement("clipPath"),f=`clippath_${this.data.id}`;u.setAttribute("id",f),u.setAttribute("clipPathUnits","objectBoundingBox"),d.append(u);for(let p=2,g=e.length;p<g;p+=8){const n=e[p],i=e[p+1],a=e[p+2],h=e[p+3],d=l.createElement("rect"),f=(a-t)/o,g=(r-i)/c,m=(n-a)/o,b=(i-h)/c;d.setAttribute("x",f),d.setAttribute("y",g),d.setAttribute("width",m),d.setAttribute("height",b),u.append(d),null==s||s.push(`<rect vector-effect="non-scaling-stroke" x="${f}" y="${g}" width="${m}" height="${b}"/>`)}Sl(this,Tr)&&(s.push("</g></svg>')"),a.backgroundImage=s.join("")),this.container.append(h),this.container.style.clipPath=`url(#${f})`}_createPopup(){const{data:e}=this,t=Ul(this,Dr,new UD({data:{color:e.color,titleObj:e.titleObj,modificationDate:e.modificationDate,contentsObj:e.contentsObj,richText:e.richText,parentRect:e.rect,borderStyle:0,id:`popup_${e.id}`,rotation:e.rotation},parent:this.parent,elements:[this]}));this.parent.div.append(t.render())}render(){Zw("Abstract method `AnnotationElement.render` called")}_getElementsByName(e,t=null){const n=[];if(this._fieldObjects){const i=this._fieldObjects[e];if(i)for(const{page:e,id:r,exportValues:a}of i){if(-1===e)continue;if(r===t)continue;const i="string"==typeof a?a:null,s=document.querySelector(`[data-element-id="${r}"]`);!s||bD.has(s)?n.push({id:r,exportValue:i,domElement:s}):Kw()}return n}for(const i of document.getElementsByName(e)){const{exportValue:e}=i,r=i.getAttribute("data-element-id");r!==t&&(bD.has(i)&&n.push({id:r,exportValue:e,domElement:i}))}return n}show(){var e;this.container&&(this.container.hidden=!1),null==(e=this.popup)||e.maybeShow()}hide(){var e;this.container&&(this.container.hidden=!0),null==(e=this.popup)||e.forceHide()}getElementsToTriggerPopup(){return this.container}addHighlightArea(){const e=this.getElementsToTriggerPopup();if(Array.isArray(e))for(const t of e)t.classList.add("highlightArea");else e.classList.add("highlightArea")}_editOnDoubleClick(){if(!this._isEditable)return;const{annotationEditorType:e,data:{id:t}}=this;this.container.addEventListener("dblclick",(()=>{var n;null==(n=this.linkService.eventBus)||n.dispatch("switchannotationeditormode",{source:this,mode:e,editId:t})}))}};class xD extends wD{constructor(e,t=null){super(e,{isRenderable:!0,ignoreBorder:!!(null==t?void 0:t.ignoreBorder),createQuadrilaterals:!0}),Cl(this,kr),this.isTooltipOnly=e.data.isTooltipOnly}render(){const{data:e,linkService:t}=this,n=document.createElement("a");n.setAttribute("data-element-id",e.id);let i=!1;return e.url?(t.addLinkAttributes(n,e.url,e.newWindow),i=!0):e.action?(this._bindNamedAction(n,e.action),i=!0):e.attachment?(Fl(this,kr,Cr).call(this,n,e.attachment,e.attachmentDest),i=!0):e.setOCGState?(Fl(this,kr,Ur).call(this,n,e.setOCGState),i=!0):e.dest?(this._bindLink(n,e.dest),i=!0):(e.actions&&(e.actions.Action||e.actions["Mouse Up"]||e.actions["Mouse Down"])&&this.enableScripting&&this.hasJSActions&&(this._bindJSAction(n,e),i=!0),e.resetForm?(this._bindResetFormAction(n,e.resetForm),i=!0):this.isTooltipOnly&&!i&&(this._bindLink(n,""),i=!0)),this.container.classList.add("linkAnnotation"),i&&this.container.append(n),this.container}_bindLink(e,t){e.href=this.linkService.getDestinationHash(t),e.onclick=()=>(t&&this.linkService.goToDestination(t),!1),(t||""===t)&&Fl(this,kr,Sr).call(this)}_bindNamedAction(e,t){e.href=this.linkService.getAnchorUrl(""),e.onclick=()=>(this.linkService.executeNamedAction(t),!1),Fl(this,kr,Sr).call(this)}_bindJSAction(e,t){e.href=this.linkService.getAnchorUrl("");const n=new Map([["Action","onclick"],["Mouse Up","onmouseup"],["Mouse Down","onmousedown"]]);for(const i of Object.keys(t.actions)){const r=n.get(i);r&&(e[r]=()=>{var e;return null==(e=this.linkService.eventBus)||e.dispatch("dispatcheventinsandbox",{source:this,detail:{id:t.id,name:i}}),!1})}e.onclick||(e.onclick=()=>!1),Fl(this,kr,Sr).call(this)}_bindResetFormAction(e,t){const n=e.onclick;if(n||(e.href=this.linkService.getAnchorUrl("")),Fl(this,kr,Sr).call(this),!this._fieldObjects)return Kw(),void(n||(e.onclick=()=>!1));e.onclick=()=>{var e;null==n||n();const{fields:i,refs:r,include:a}=t,s=[];if(0!==i.length||0!==r.length){const e=new Set(r);for(const t of i){const n=this._fieldObjects[t]||[];for(const{id:t}of n)e.add(t)}for(const t of Object.values(this._fieldObjects))for(const n of t)e.has(n.id)===a&&s.push(n)}else for(const t of Object.values(this._fieldObjects))s.push(...t);const o=this.annotationStorage,c=[];for(const t of s){const{id:e}=t;switch(c.push(e),t.type){case"text":{const n=t.defaultValue||"";o.setValue(e,{value:n});break}case"checkbox":case"radiobutton":{const n=t.defaultValue===t.exportValues;o.setValue(e,{value:n});break}case"combobox":case"listbox":{const n=t.defaultValue||"";o.setValue(e,{value:n});break}default:continue}const n=document.querySelector(`[data-element-id="${e}"]`);n&&(bD.has(n)?n.dispatchEvent(new Event("resetform")):Kw())}return this.enableScripting&&(null==(e=this.linkService.eventBus)||e.dispatch("dispatcheventinsandbox",{source:this,detail:{id:"app",ids:c,name:"ResetForm"}})),!1}}}kr=new WeakSet,Sr=function(){this.container.setAttribute("data-internal-link","")},Cr=function(e,t,n=null){e.href=this.linkService.getAnchorUrl(""),t.description&&(e.title=t.description),e.onclick=()=>{var e;return null==(e=this.downloadManager)||e.openOrDownloadData(t.content,t.filename,n),!1},Fl(this,kr,Sr).call(this)},Ur=function(e,t){e.href=this.linkService.getAnchorUrl(""),e.onclick=()=>(this.linkService.executeSetOCGState(t),!1),Fl(this,kr,Sr).call(this)};class _D extends wD{constructor(e){super(e,{isRenderable:!0})}render(){this.container.classList.add("textAnnotation");const e=document.createElement("img");return e.src=this.imageResourcesPath+"annotation-"+this.data.name.toLowerCase()+".svg",e.setAttribute("data-l10n-id","pdfjs-text-annotation-type"),e.setAttribute("data-l10n-args",JSON.stringify({type:this.data.name})),!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container.append(e),this.container}}class TD extends wD{render(){return this.container}showElementAndHideCanvas(e){var t;this.data.hasOwnCanvas&&("CANVAS"===(null==(t=e.previousSibling)?void 0:t.nodeName)&&(e.previousSibling.hidden=!0),e.hidden=!1)}_getKeyModifier(e){return ux.platform.isMac?e.metaKey:e.ctrlKey}_setEventListener(e,t,n,i,r){n.includes("mouse")?e.addEventListener(n,(e=>{var t;null==(t=this.linkService.eventBus)||t.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:i,value:r(e),shift:e.shiftKey,modifier:this._getKeyModifier(e)}})})):e.addEventListener(n,(e=>{var a;if("blur"===n){if(!t.focused||!e.relatedTarget)return;t.focused=!1}else if("focus"===n){if(t.focused)return;t.focused=!0}r&&(null==(a=this.linkService.eventBus)||a.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:i,value:r(e)}}))}))}_setEventListeners(e,t,n,i){var r,a,s;for(const[o,c]of n)("Action"===c||(null==(r=this.data.actions)?void 0:r[c]))&&("Focus"!==c&&"Blur"!==c||t||(t={focused:!1}),this._setEventListener(e,t,o,c,i),"Focus"!==c||(null==(a=this.data.actions)?void 0:a.Blur)?"Blur"!==c||(null==(s=this.data.actions)?void 0:s.Focus)||this._setEventListener(e,t,"focus","Focus",null):this._setEventListener(e,t,"blur","Blur",null))}_setBackgroundColor(e){const t=this.data.backgroundColor||null;e.style.backgroundColor=null===t?"transparent":px.makeHexColor(t[0],t[1],t[2])}_setTextStyle(e){const t=["left","center","right"],{fontColor:n}=this.data.defaultAppearanceData,i=this.data.defaultAppearanceData.fontSize||9,r=e.style;let a;const s=e=>Math.round(10*e)/10;if(this.data.multiLine){const e=Math.abs(this.data.rect[3]-this.data.rect[1]-2),t=e/(Math.round(e/(tw*i))||1);a=Math.min(i,s(t/tw))}else{const e=Math.abs(this.data.rect[3]-this.data.rect[1]-2);a=Math.min(i,s(e/tw))}r.fontSize=`calc(${a}px * var(--scale-factor))`,r.color=px.makeHexColor(n[0],n[1],n[2]),null!==this.data.textAlignment&&(r.textAlign=t[this.data.textAlignment])}_setRequired(e,t){t?e.setAttribute("required",!0):e.removeAttribute("required"),e.setAttribute("aria-required",t)}}class DD extends TD{constructor(e){super(e,{isRenderable:e.renderForms||e.data.hasOwnCanvas||!e.data.hasAppearance&&!!e.data.fieldValue})}setPropertyOnSiblings(e,t,n,i){const r=this.annotationStorage;for(const a of this._getElementsByName(e.name,e.id))a.domElement&&(a.domElement[t]=n),r.setValue(a.id,{[i]:n})}render(){var e,t;const n=this.annotationStorage,i=this.data.id;this.container.classList.add("textWidgetAnnotation");let r=null;if(this.renderForms){const a=n.getValue(i,{value:this.data.fieldValue});let s=a.value||"";const o=n.getValue(i,{charLimit:this.data.maxLen}).charLimit;o&&s.length>o&&(s=s.slice(0,o));let c=a.formattedValue||(null==(e=this.data.textContent)?void 0:e.join("\n"))||null;c&&this.data.comb&&(c=c.replaceAll(/\s+/g,""));const l={userValue:s,formattedValue:c,lastCommittedValue:null,commitKey:1,focused:!1};this.data.multiLine?(r=document.createElement("textarea"),r.textContent=c??s,this.data.doNotScroll&&(r.style.overflowY="hidden")):(r=document.createElement("input"),r.type="text",r.setAttribute("value",c??s),this.data.doNotScroll&&(r.style.overflowX="hidden")),this.data.hasOwnCanvas&&(r.hidden=!0),bD.add(r),r.setAttribute("data-element-id",i),r.disabled=this.data.readOnly,r.name=this.data.fieldName,r.tabIndex=mD,this._setRequired(r,this.data.required),o&&(r.maxLength=o),r.addEventListener("input",(e=>{n.setValue(i,{value:e.target.value}),this.setPropertyOnSiblings(r,"value",e.target.value,"value"),l.formattedValue=null})),r.addEventListener("resetform",(e=>{const t=this.data.defaultFieldValue??"";r.value=l.userValue=t,l.formattedValue=null}));let h=e=>{const{formattedValue:t}=l;null!=t&&(e.target.value=t),e.target.scrollLeft=0};if(this.enableScripting&&this.hasJSActions){r.addEventListener("focus",(e=>{var t;if(l.focused)return;const{target:n}=e;l.userValue&&(n.value=l.userValue),l.lastCommittedValue=n.value,l.commitKey=1,(null==(t=this.data.actions)?void 0:t.Focus)||(l.focused=!0)})),r.addEventListener("updatefromsandbox",(e=>{this.showElementAndHideCanvas(e.target);const t={value(e){l.userValue=e.detail.value??"",n.setValue(i,{value:l.userValue.toString()}),e.target.value=l.userValue},formattedValue(e){const{formattedValue:t}=e.detail;l.formattedValue=t,null!=t&&e.target!==document.activeElement&&(e.target.value=t),n.setValue(i,{formattedValue:t})},selRange(e){e.target.setSelectionRange(...e.detail.selRange)},charLimit:e=>{var t;const{charLimit:r}=e.detail,{target:a}=e;if(0===r)return void a.removeAttribute("maxLength");a.setAttribute("maxLength",r);let s=l.userValue;!s||s.length<=r||(s=s.slice(0,r),a.value=l.userValue=s,n.setValue(i,{value:s}),null==(t=this.linkService.eventBus)||t.dispatch("dispatcheventinsandbox",{source:this,detail:{id:i,name:"Keystroke",value:s,willCommit:!0,commitKey:1,selStart:a.selectionStart,selEnd:a.selectionEnd}}))}};this._dispatchEventFromSandbox(t,e)})),r.addEventListener("keydown",(e=>{var t;l.commitKey=1;let n=-1;if("Escape"===e.key?n=0:"Enter"!==e.key||this.data.multiLine?"Tab"===e.key&&(l.commitKey=3):n=2,-1===n)return;const{value:r}=e.target;l.lastCommittedValue!==r&&(l.lastCommittedValue=r,l.userValue=r,null==(t=this.linkService.eventBus)||t.dispatch("dispatcheventinsandbox",{source:this,detail:{id:i,name:"Keystroke",value:r,willCommit:!0,commitKey:n,selStart:e.target.selectionStart,selEnd:e.target.selectionEnd}}))}));const e=h;h=null,r.addEventListener("blur",(t=>{var n,r;if(!l.focused||!t.relatedTarget)return;(null==(n=this.data.actions)?void 0:n.Blur)||(l.focused=!1);const{value:a}=t.target;l.userValue=a,l.lastCommittedValue!==a&&(null==(r=this.linkService.eventBus)||r.dispatch("dispatcheventinsandbox",{source:this,detail:{id:i,name:"Keystroke",value:a,willCommit:!0,commitKey:l.commitKey,selStart:t.target.selectionStart,selEnd:t.target.selectionEnd}})),e(t)})),(null==(t=this.data.actions)?void 0:t.Keystroke)&&r.addEventListener("beforeinput",(e=>{var t;l.lastCommittedValue=null;const{data:n,target:r}=e,{value:a,selectionStart:s,selectionEnd:o}=r;let c=s,h=o;switch(e.inputType){case"deleteWordBackward":{const e=a.substring(0,s).match(/\w*[^\w]*$/);e&&(c-=e[0].length);break}case"deleteWordForward":{const e=a.substring(s).match(/^[^\w]*\w*/);e&&(h+=e[0].length);break}case"deleteContentBackward":s===o&&(c-=1);break;case"deleteContentForward":s===o&&(h+=1)}e.preventDefault(),null==(t=this.linkService.eventBus)||t.dispatch("dispatcheventinsandbox",{source:this,detail:{id:i,name:"Keystroke",value:a,change:n||"",willCommit:!1,selStart:c,selEnd:h}})})),this._setEventListeners(r,l,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],(e=>e.target.value))}if(h&&r.addEventListener("blur",h),this.data.comb){const e=(this.data.rect[2]-this.data.rect[0])/o;r.classList.add("comb"),r.style.letterSpacing=`calc(${e}px * var(--scale-factor) - 1ch)`}}else r=document.createElement("div"),r.textContent=this.data.fieldValue,r.style.verticalAlign="middle",r.style.display="table-cell",this.data.hasOwnCanvas&&(r.hidden=!0);return this._setTextStyle(r),this._setBackgroundColor(r),this._setDefaultPropertiesFromJS(r),this.container.append(r),this.container}}class AD extends TD{constructor(e){super(e,{isRenderable:!!e.data.hasOwnCanvas})}}class ED extends TD{constructor(e){super(e,{isRenderable:e.renderForms})}render(){const e=this.annotationStorage,t=this.data,n=t.id;let i=e.getValue(n,{value:t.exportValue===t.fieldValue}).value;"string"==typeof i&&(i="Off"!==i,e.setValue(n,{value:i})),this.container.classList.add("buttonWidgetAnnotation","checkBox");const r=document.createElement("input");return bD.add(r),r.setAttribute("data-element-id",n),r.disabled=t.readOnly,this._setRequired(r,this.data.required),r.type="checkbox",r.name=t.fieldName,i&&r.setAttribute("checked",!0),r.setAttribute("exportValue",t.exportValue),r.tabIndex=mD,r.addEventListener("change",(i=>{const{name:r,checked:a}=i.target;for(const s of this._getElementsByName(r,n)){const n=a&&s.exportValue===t.exportValue;s.domElement&&(s.domElement.checked=n),e.setValue(s.id,{value:n})}e.setValue(n,{value:a})})),r.addEventListener("resetform",(e=>{const n=t.defaultFieldValue||"Off";e.target.checked=n===t.exportValue})),this.enableScripting&&this.hasJSActions&&(r.addEventListener("updatefromsandbox",(t=>{const i={value(t){t.target.checked="Off"!==t.detail.value,e.setValue(n,{value:t.target.checked})}};this._dispatchEventFromSandbox(i,t)})),this._setEventListeners(r,null,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],(e=>e.target.checked))),this._setBackgroundColor(r),this._setDefaultPropertiesFromJS(r),this.container.append(r),this.container}}class kD extends TD{constructor(e){super(e,{isRenderable:e.renderForms})}render(){this.container.classList.add("buttonWidgetAnnotation","radioButton");const e=this.annotationStorage,t=this.data,n=t.id;let i=e.getValue(n,{value:t.fieldValue===t.buttonValue}).value;if("string"==typeof i&&(i=i!==t.buttonValue,e.setValue(n,{value:i})),i)for(const a of this._getElementsByName(t.fieldName,n))e.setValue(a.id,{value:!1});const r=document.createElement("input");if(bD.add(r),r.setAttribute("data-element-id",n),r.disabled=t.readOnly,this._setRequired(r,this.data.required),r.type="radio",r.name=t.fieldName,i&&r.setAttribute("checked",!0),r.tabIndex=mD,r.addEventListener("change",(t=>{const{name:i,checked:r}=t.target;for(const a of this._getElementsByName(i,n))e.setValue(a.id,{value:!1});e.setValue(n,{value:r})})),r.addEventListener("resetform",(e=>{const n=t.defaultFieldValue;e.target.checked=null!=n&&n===t.buttonValue})),this.enableScripting&&this.hasJSActions){const i=t.buttonValue;r.addEventListener("updatefromsandbox",(t=>{const r={value:t=>{const r=i===t.detail.value;for(const i of this._getElementsByName(t.target.name)){const t=r&&i.id===n;i.domElement&&(i.domElement.checked=t),e.setValue(i.id,{value:t})}}};this._dispatchEventFromSandbox(r,t)})),this._setEventListeners(r,null,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],(e=>e.target.checked))}return this._setBackgroundColor(r),this._setDefaultPropertiesFromJS(r),this.container.append(r),this.container}}class SD extends xD{constructor(e){super(e,{ignoreBorder:e.data.hasAppearance})}render(){const e=super.render();e.classList.add("buttonWidgetAnnotation","pushButton");const t=e.lastChild;return this.enableScripting&&this.hasJSActions&&t&&(this._setDefaultPropertiesFromJS(t),t.addEventListener("updatefromsandbox",(e=>{this._dispatchEventFromSandbox({},e)}))),e}}class CD extends TD{constructor(e){super(e,{isRenderable:e.renderForms})}render(){this.container.classList.add("choiceWidgetAnnotation");const e=this.annotationStorage,t=this.data.id,n=e.getValue(t,{value:this.data.fieldValue}),i=document.createElement("select");bD.add(i),i.setAttribute("data-element-id",t),i.disabled=this.data.readOnly,this._setRequired(i,this.data.required),i.name=this.data.fieldName,i.tabIndex=mD;let r=this.data.combo&&this.data.options.length>0;this.data.combo||(i.size=this.data.options.length,this.data.multiSelect&&(i.multiple=!0)),i.addEventListener("resetform",(e=>{const t=this.data.defaultFieldValue;for(const n of i.options)n.selected=n.value===t}));for(const l of this.data.options){const e=document.createElement("option");e.textContent=l.displayValue,e.value=l.exportValue,n.value.includes(l.exportValue)&&(e.setAttribute("selected",!0),r=!1),i.append(e)}let a=null;if(r){const e=document.createElement("option");e.value=" ",e.setAttribute("hidden",!0),e.setAttribute("selected",!0),i.prepend(e),a=()=>{e.remove(),i.removeEventListener("input",a),a=null},i.addEventListener("input",a)}const s=e=>{const t=e?"value":"textContent",{options:n,multiple:r}=i;return r?Array.prototype.filter.call(n,(e=>e.selected)).map((e=>e[t])):-1===n.selectedIndex?null:n[n.selectedIndex][t]};let o=s(!1);const c=e=>{const t=e.target.options;return Array.prototype.map.call(t,(e=>({displayValue:e.textContent,exportValue:e.value})))};return this.enableScripting&&this.hasJSActions?(i.addEventListener("updatefromsandbox",(n=>{const r={value(n){null==a||a();const r=n.detail.value,c=new Set(Array.isArray(r)?r:[r]);for(const e of i.options)e.selected=c.has(e.value);e.setValue(t,{value:s(!0)}),o=s(!1)},multipleSelection(e){i.multiple=!0},remove(n){const r=i.options,a=n.detail.remove;if(r[a].selected=!1,i.remove(a),r.length>0){-1===Array.prototype.findIndex.call(r,(e=>e.selected))&&(r[0].selected=!0)}e.setValue(t,{value:s(!0),items:c(n)}),o=s(!1)},clear(n){for(;0!==i.length;)i.remove(0);e.setValue(t,{value:null,items:[]}),o=s(!1)},insert(n){const{index:r,displayValue:a,exportValue:l}=n.detail.insert,h=i.children[r],d=document.createElement("option");d.textContent=a,d.value=l,h?h.before(d):i.append(d),e.setValue(t,{value:s(!0),items:c(n)}),o=s(!1)},items(n){const{items:r}=n.detail;for(;0!==i.length;)i.remove(0);for(const e of r){const{displayValue:t,exportValue:n}=e,r=document.createElement("option");r.textContent=t,r.value=n,i.append(r)}i.options.length>0&&(i.options[0].selected=!0),e.setValue(t,{value:s(!0),items:c(n)}),o=s(!1)},indices(n){const i=new Set(n.detail.indices);for(const e of n.target.options)e.selected=i.has(e.index);e.setValue(t,{value:s(!0)}),o=s(!1)},editable(e){e.target.disabled=!e.detail.editable}};this._dispatchEventFromSandbox(r,n)})),i.addEventListener("input",(n=>{var i;const r=s(!0),a=s(!1);e.setValue(t,{value:r}),n.preventDefault(),null==(i=this.linkService.eventBus)||i.dispatch("dispatcheventinsandbox",{source:this,detail:{id:t,name:"Keystroke",value:o,change:a,changeEx:r,willCommit:!1,commitKey:1,keyDown:!1}})})),this._setEventListeners(i,null,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"],["input","Action"],["input","Validate"]],(e=>e.target.value))):i.addEventListener("input",(function(n){e.setValue(t,{value:s(!0)})})),this.data.combo&&this._setTextStyle(i),this._setBackgroundColor(i),this._setDefaultPropertiesFromJS(i),this.container.append(i),this.container}}class UD extends wD{constructor(e){const{data:t,elements:n}=e;super(e,{isRenderable:wD._hasPopupData(t)}),this.elements=n,this.popup=null}render(){this.container.classList.add("popupAnnotation");const e=this.popup=new FD({container:this.container,color:this.data.color,titleObj:this.data.titleObj,modificationDate:this.data.modificationDate,contentsObj:this.data.contentsObj,richText:this.data.richText,rect:this.data.rect,parentRect:this.data.parentRect||null,parent:this.parent,elements:this.elements,open:this.data.open}),t=[];for(const n of this.elements)n.popup=e,n.container.ariaHasPopup="dialog",t.push(n.data.id),n.addHighlightArea();return this.container.setAttribute("aria-controls",t.map((e=>`${vx}${e}`)).join(",")),this.container}}class FD{constructor({container:e,color:t,elements:n,titleObj:i,modificationDate:r,contentsObj:a,richText:s,parent:o,rect:c,parentRect:l,open:h}){var d;Cl(this,Kr),Cl(this,Fr,Fl(this,Kr,ta).bind(this)),Cl(this,Mr,Fl(this,Kr,aa).bind(this)),Cl(this,Rr,Fl(this,Kr,ra).bind(this)),Cl(this,Ir,Fl(this,Kr,ia).bind(this)),Cl(this,Or,null),Cl(this,Nr,null),Cl(this,Pr,null),Cl(this,Lr,null),Cl(this,Wr,null),Cl(this,Br,null),Cl(this,jr,null),Cl(this,zr,!1),Cl(this,Hr,null),Cl(this,Vr,null),Cl(this,Gr,null),Cl(this,Xr,null),Cl(this,$r,null),Cl(this,qr,null),Cl(this,Yr,!1),Ul(this,Nr,e),Ul(this,$r,i),Ul(this,Pr,a),Ul(this,Xr,s),Ul(this,Br,o),Ul(this,Or,t),Ul(this,Gr,c),Ul(this,jr,l),Ul(this,Wr,n),Ul(this,Lr,Rx.toDateObject(r)),this.trigger=n.flatMap((e=>e.getElementsToTriggerPopup()));for(const u of this.trigger)u.addEventListener("click",Sl(this,Ir)),u.addEventListener("mouseenter",Sl(this,Rr)),u.addEventListener("mouseleave",Sl(this,Mr)),u.classList.add("popupTriggerArea");for(const u of n)null==(d=u.container)||d.addEventListener("keydown",Sl(this,Fr));Sl(this,Nr).hidden=!0,h&&Fl(this,Kr,ia).call(this)}render(){if(Sl(this,Hr))return;const e=Ul(this,Hr,document.createElement("div"));if(e.className="popup",Sl(this,Or)){const t=e.style.outlineColor=px.makeHexColor(...Sl(this,Or));if(CSS.supports("background-color","color-mix(in srgb, red 30%, white)"))e.style.backgroundColor=`color-mix(in srgb, ${t} 30%, white)`;else{const t=.7;e.style.backgroundColor=px.makeHexColor(...Sl(this,Or).map((e=>Math.floor(t*(255-e)+e))))}}const t=document.createElement("span");t.className="header";const n=document.createElement("h1");if(t.append(n),({dir:n.dir,str:n.textContent}=Sl(this,$r)),e.append(t),Sl(this,Lr)){const e=document.createElement("span");e.classList.add("popupDate"),e.setAttribute("data-l10n-id","pdfjs-annotation-date-time-string"),e.setAttribute("data-l10n-args",JSON.stringify({dateObj:Sl(this,Lr).valueOf()})),t.append(e)}const i=Sl(this,Kr,Zr);if(i)gD.render({xfaHtml:i,intent:"richText",div:e}),e.lastChild.classList.add("richText","popupContent");else{const t=this._formatContents(Sl(this,Pr));e.append(t)}Sl(this,Nr).append(e)}_formatContents({str:e,dir:t}){const n=document.createElement("p");n.classList.add("popupContent"),n.dir=t;const i=e.split(/(?:\r\n?|\n)/);for(let r=0,a=i.length;r<a;++r){const e=i[r];n.append(document.createTextNode(e)),r<a-1&&n.append(document.createElement("br"))}return n}updateEdited({rect:e,popupContent:t}){var n;Sl(this,qr)||Ul(this,qr,{contentsObj:Sl(this,Pr),richText:Sl(this,Xr)}),e&&Ul(this,Vr,null),t&&(Ul(this,Xr,Fl(this,Kr,ea).call(this,t)),Ul(this,Pr,null)),null==(n=Sl(this,Hr))||n.remove(),Ul(this,Hr,null)}resetEdited(){var e;Sl(this,qr)&&(({contentsObj:Ml(this,Pr)._,richText:Ml(this,Xr)._}=Sl(this,qr)),Ul(this,qr,null),null==(e=Sl(this,Hr))||e.remove(),Ul(this,Hr,null),Ul(this,Vr,null))}forceHide(){Ul(this,Yr,this.isVisible),Sl(this,Yr)&&(Sl(this,Nr).hidden=!0)}maybeShow(){Sl(this,Yr)&&(Sl(this,Hr)||Fl(this,Kr,ra).call(this),Ul(this,Yr,!1),Sl(this,Nr).hidden=!1)}get isVisible(){return!1===Sl(this,Nr).hidden}}Fr=new WeakMap,Mr=new WeakMap,Rr=new WeakMap,Ir=new WeakMap,Or=new WeakMap,Nr=new WeakMap,Pr=new WeakMap,Lr=new WeakMap,Wr=new WeakMap,Br=new WeakMap,jr=new WeakMap,zr=new WeakMap,Hr=new WeakMap,Vr=new WeakMap,Gr=new WeakMap,Xr=new WeakMap,$r=new WeakMap,qr=new WeakMap,Yr=new WeakMap,Kr=new WeakSet,Zr=function(){const e=Sl(this,Xr),t=Sl(this,Pr);return!(null==e?void 0:e.str)||(null==t?void 0:t.str)&&t.str!==e.str?null:Sl(this,Xr).html||null},Jr=function(){var e,t,n;return(null==(n=null==(t=null==(e=Sl(this,Kr,Zr))?void 0:e.attributes)?void 0:t.style)?void 0:n.fontSize)||0},Qr=function(){var e,t,n;return(null==(n=null==(t=null==(e=Sl(this,Kr,Zr))?void 0:e.attributes)?void 0:t.style)?void 0:n.color)||null},ea=function(e){const t=[],n={str:e,html:{name:"div",attributes:{dir:"auto"},children:[{name:"p",children:t}]}},i={style:{color:Sl(this,Kr,Qr),fontSize:Sl(this,Kr,Jr)?`calc(${Sl(this,Kr,Jr)}px * var(--scale-factor))`:""}};for(const r of e.split("\n"))t.push({name:"span",value:r,attributes:i});return n},ta=function(e){e.altKey||e.shiftKey||e.ctrlKey||e.metaKey||("Enter"===e.key||"Escape"===e.key&&Sl(this,zr))&&Fl(this,Kr,ia).call(this)},na=function(){if(null!==Sl(this,Vr))return;const{page:{view:e},viewport:{rawDims:{pageWidth:t,pageHeight:n,pageX:i,pageY:r}}}=Sl(this,Br);let a=!!Sl(this,jr),s=Sl(this,a?jr:Gr);for(const u of Sl(this,Wr))if(!s||null!==px.intersect(u.data.rect,s)){s=u.data.rect,a=!0;break}const o=px.normalizeRect([s[0],e[3]-s[1]+e[1],s[2],e[3]-s[3]+e[1]]),c=a?s[2]-s[0]+5:0,l=o[0]+c,h=o[1];Ul(this,Vr,[100*(l-i)/t,100*(h-r)/n]);const{style:d}=Sl(this,Nr);d.left=`${Sl(this,Vr)[0]}%`,d.top=`${Sl(this,Vr)[1]}%`},ia=function(){Ul(this,zr,!Sl(this,zr)),Sl(this,zr)?(Fl(this,Kr,ra).call(this),Sl(this,Nr).addEventListener("click",Sl(this,Ir)),Sl(this,Nr).addEventListener("keydown",Sl(this,Fr))):(Fl(this,Kr,aa).call(this),Sl(this,Nr).removeEventListener("click",Sl(this,Ir)),Sl(this,Nr).removeEventListener("keydown",Sl(this,Fr)))},ra=function(){Sl(this,Hr)||this.render(),this.isVisible?Sl(this,zr)&&Sl(this,Nr).classList.add("focused"):(Fl(this,Kr,na).call(this),Sl(this,Nr).hidden=!1,Sl(this,Nr).style.zIndex=parseInt(Sl(this,Nr).style.zIndex)+1e3)},aa=function(){Sl(this,Nr).classList.remove("focused"),!Sl(this,zr)&&this.isVisible&&(Sl(this,Nr).hidden=!0,Sl(this,Nr).style.zIndex=parseInt(Sl(this,Nr).style.zIndex)-1e3)};class MD extends wD{constructor(e){super(e,{isRenderable:!0,ignoreBorder:!0}),this.textContent=e.data.textContent,this.textPosition=e.data.textPosition,this.annotationEditorType=dw.FREETEXT}render(){if(this.container.classList.add("freeTextAnnotation"),this.textContent){const e=document.createElement("div");e.classList.add("annotationTextContent"),e.setAttribute("role","comment");for(const t of this.textContent){const n=document.createElement("span");n.textContent=t,e.append(n)}this.container.append(e)}return!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this._editOnDoubleClick(),this.container}}class RD extends wD{constructor(e){super(e,{isRenderable:!0,ignoreBorder:!0}),Cl(this,sa,null)}render(){this.container.classList.add("lineAnnotation");const e=this.data,{width:t,height:n}=vD(e.rect),i=this.svgFactory.create(t,n,!0),r=Ul(this,sa,this.svgFactory.createElement("svg:line"));return r.setAttribute("x1",e.rect[2]-e.lineCoordinates[0]),r.setAttribute("y1",e.rect[3]-e.lineCoordinates[1]),r.setAttribute("x2",e.rect[2]-e.lineCoordinates[2]),r.setAttribute("y2",e.rect[3]-e.lineCoordinates[3]),r.setAttribute("stroke-width",e.borderStyle.width||1),r.setAttribute("stroke","transparent"),r.setAttribute("fill","transparent"),i.append(r),this.container.append(i),!e.popupRef&&this.hasPopupData&&this._createPopup(),this.container}getElementsToTriggerPopup(){return Sl(this,sa)}addHighlightArea(){this.container.classList.add("highlightArea")}}sa=new WeakMap;class ID extends wD{constructor(e){super(e,{isRenderable:!0,ignoreBorder:!0}),Cl(this,oa,null)}render(){this.container.classList.add("squareAnnotation");const e=this.data,{width:t,height:n}=vD(e.rect),i=this.svgFactory.create(t,n,!0),r=e.borderStyle.width,a=Ul(this,oa,this.svgFactory.createElement("svg:rect"));return a.setAttribute("x",r/2),a.setAttribute("y",r/2),a.setAttribute("width",t-r),a.setAttribute("height",n-r),a.setAttribute("stroke-width",r||1),a.setAttribute("stroke","transparent"),a.setAttribute("fill","transparent"),i.append(a),this.container.append(i),!e.popupRef&&this.hasPopupData&&this._createPopup(),this.container}getElementsToTriggerPopup(){return Sl(this,oa)}addHighlightArea(){this.container.classList.add("highlightArea")}}oa=new WeakMap;class OD extends wD{constructor(e){super(e,{isRenderable:!0,ignoreBorder:!0}),Cl(this,ca,null)}render(){this.container.classList.add("circleAnnotation");const e=this.data,{width:t,height:n}=vD(e.rect),i=this.svgFactory.create(t,n,!0),r=e.borderStyle.width,a=Ul(this,ca,this.svgFactory.createElement("svg:ellipse"));return a.setAttribute("cx",t/2),a.setAttribute("cy",n/2),a.setAttribute("rx",t/2-r/2),a.setAttribute("ry",n/2-r/2),a.setAttribute("stroke-width",r||1),a.setAttribute("stroke","transparent"),a.setAttribute("fill","transparent"),i.append(a),this.container.append(i),!e.popupRef&&this.hasPopupData&&this._createPopup(),this.container}getElementsToTriggerPopup(){return Sl(this,ca)}addHighlightArea(){this.container.classList.add("highlightArea")}}ca=new WeakMap;class ND extends wD{constructor(e){super(e,{isRenderable:!0,ignoreBorder:!0}),Cl(this,la,null),this.containerClassName="polylineAnnotation",this.svgElementName="svg:polyline"}render(){this.container.classList.add(this.containerClassName);const{data:{rect:e,vertices:t,borderStyle:n,popupRef:i}}=this;if(!t)return this.container;const{width:r,height:a}=vD(e),s=this.svgFactory.create(r,a,!0);let o=[];for(let l=0,h=t.length;l<h;l+=2){const n=t[l]-e[0],i=e[3]-t[l+1];o.push(`${n},${i}`)}o=o.join(" ");const c=Ul(this,la,this.svgFactory.createElement(this.svgElementName));return c.setAttribute("points",o),c.setAttribute("stroke-width",n.width||1),c.setAttribute("stroke","transparent"),c.setAttribute("fill","transparent"),s.append(c),this.container.append(s),!i&&this.hasPopupData&&this._createPopup(),this.container}getElementsToTriggerPopup(){return Sl(this,la)}addHighlightArea(){this.container.classList.add("highlightArea")}}la=new WeakMap;class PD extends ND{constructor(e){super(e),this.containerClassName="polygonAnnotation",this.svgElementName="svg:polygon"}}class LD extends wD{constructor(e){super(e,{isRenderable:!0,ignoreBorder:!0})}render(){return this.container.classList.add("caretAnnotation"),!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container}}class WD extends wD{constructor(e){super(e,{isRenderable:!0,ignoreBorder:!0}),Cl(this,ua),Cl(this,ha,null),Cl(this,da,[]),this.containerClassName="inkAnnotation",this.svgElementName="svg:polyline",this.annotationEditorType="InkHighlight"===this.data.it?dw.HIGHLIGHT:dw.INK}render(){this.container.classList.add(this.containerClassName);const{data:{rect:e,rotation:t,inkLists:n,borderStyle:i,popupRef:r}}=this,{transform:a,width:s,height:o}=Fl(this,ua,fa).call(this,t,e),c=this.svgFactory.create(s,o,!0),l=Ul(this,ha,this.svgFactory.createElement("svg:g"));c.append(l),l.setAttribute("stroke-width",i.width||1),l.setAttribute("stroke-linecap","round"),l.setAttribute("stroke-linejoin","round"),l.setAttribute("stroke-miterlimit",10),l.setAttribute("stroke","transparent"),l.setAttribute("fill","transparent"),l.setAttribute("transform",a);for(let h=0,d=n.length;h<d;h++){const e=this.svgFactory.createElement(this.svgElementName);Sl(this,da).push(e),e.setAttribute("points",n[h].join(",")),l.append(e)}return!r&&this.hasPopupData&&this._createPopup(),this.container.append(c),this._editOnDoubleClick(),this.container}updateEdited(e){super.updateEdited(e);const{thickness:t,points:n,rect:i}=e,r=Sl(this,ha);if(t>=0&&r.setAttribute("stroke-width",t||1),n)for(let a=0,s=Sl(this,da).length;a<s;a++)Sl(this,da)[a].setAttribute("points",n[a].join(","));if(i){const{transform:e,width:t,height:n}=Fl(this,ua,fa).call(this,this.data.rotation,i);r.parentElement.setAttribute("viewBox",`0 0 ${t} ${n}`),r.setAttribute("transform",e)}}getElementsToTriggerPopup(){return Sl(this,da)}addHighlightArea(){this.container.classList.add("highlightArea")}}ha=new WeakMap,da=new WeakMap,ua=new WeakSet,fa=function(e,t){switch(e){case 90:return{transform:`rotate(90) translate(${-t[0]},${t[1]}) scale(1,-1)`,width:t[3]-t[1],height:t[2]-t[0]};case 180:return{transform:`rotate(180) translate(${-t[2]},${t[1]}) scale(1,-1)`,width:t[2]-t[0],height:t[3]-t[1]};case 270:return{transform:`rotate(270) translate(${-t[2]},${t[3]}) scale(1,-1)`,width:t[3]-t[1],height:t[2]-t[0]};default:return{transform:`translate(${-t[0]},${t[3]}) scale(1,-1)`,width:t[2]-t[0],height:t[3]-t[1]}}};class BD extends wD{constructor(e){super(e,{isRenderable:!0,ignoreBorder:!0,createQuadrilaterals:!0}),this.annotationEditorType=dw.HIGHLIGHT}render(){return!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container.classList.add("highlightAnnotation"),this._editOnDoubleClick(),this.container}}class jD extends wD{constructor(e){super(e,{isRenderable:!0,ignoreBorder:!0,createQuadrilaterals:!0})}render(){return!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container.classList.add("underlineAnnotation"),this.container}}class zD extends wD{constructor(e){super(e,{isRenderable:!0,ignoreBorder:!0,createQuadrilaterals:!0})}render(){return!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container.classList.add("squigglyAnnotation"),this.container}}class HD extends wD{constructor(e){super(e,{isRenderable:!0,ignoreBorder:!0,createQuadrilaterals:!0})}render(){return!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container.classList.add("strikeoutAnnotation"),this.container}}class VD extends wD{constructor(e){super(e,{isRenderable:!0,ignoreBorder:!0}),this.annotationEditorType=dw.STAMP}render(){return this.container.classList.add("stampAnnotation"),this.container.setAttribute("role","img"),!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this._editOnDoubleClick(),this.container}}class GD extends wD{constructor(e){var t;super(e,{isRenderable:!0}),Cl(this,ga),Cl(this,pa,null);const{file:n}=this.data;this.filename=n.filename,this.content=n.content,null==(t=this.linkService.eventBus)||t.dispatch("fileattachmentannotation",{source:this,...n})}render(){this.container.classList.add("fileAttachmentAnnotation");const{container:e,data:t}=this;let n;t.hasAppearance||0===t.fillAlpha?n=document.createElement("div"):(n=document.createElement("img"),n.src=`${this.imageResourcesPath}annotation-${/paperclip/i.test(t.name)?"paperclip":"pushpin"}.svg`,t.fillAlpha&&t.fillAlpha<1&&(n.style=`filter: opacity(${Math.round(100*t.fillAlpha)}%);`)),n.addEventListener("dblclick",Fl(this,ga,ma).bind(this)),Ul(this,pa,n);const{isMac:i}=ux.platform;return e.addEventListener("keydown",(e=>{"Enter"===e.key&&(i?e.metaKey:e.ctrlKey)&&Fl(this,ga,ma).call(this)})),!t.popupRef&&this.hasPopupData?this._createPopup():n.classList.add("popupTriggerArea"),e.append(n),e}getElementsToTriggerPopup(){return Sl(this,pa)}addHighlightArea(){this.container.classList.add("highlightArea")}}pa=new WeakMap,ga=new WeakSet,ma=function(){var e;null==(e=this.downloadManager)||e.openOrDownloadData(this.content,this.filename)};class XD{constructor({div:e,accessibilityManager:t,annotationCanvasMap:n,annotationEditorUIManager:i,page:r,viewport:a,structTreeLayer:s}){Cl(this,xa),Cl(this,ba,null),Cl(this,va,null),Cl(this,ya,new Map),Cl(this,wa,null),this.div=e,Ul(this,ba,t),Ul(this,va,n),Ul(this,wa,s||null),this.page=r,this.viewport=a,this.zIndex=0,this._annotationEditorUIManager=i}hasEditableAnnotations(){return Sl(this,ya).size>0}async render(e){var t;const{annotations:n}=e,i=this.div;Lx(i,this.viewport);const r=new Map,a={data:null,layer:i,linkService:e.linkService,downloadManager:e.downloadManager,imageResourcesPath:e.imageResourcesPath||"",renderForms:!1!==e.renderForms,svgFactory:new pD,annotationStorage:e.annotationStorage||new d_,enableScripting:!0===e.enableScripting,hasJSActions:e.hasJSActions,fieldObjects:e.fieldObjects,parent:this,elements:null};for(const s of n){if(s.noHTML)continue;const e=s.annotationType===Nw;if(e){const e=r.get(s.id);if(!e)continue;a.elements=e}else{const{width:e,height:t}=vD(s.rect);if(e<=0||t<=0)continue}a.data=s;const n=yD.create(a);if(!n.isRenderable)continue;if(!e&&s.popupRef){const e=r.get(s.popupRef);e?e.push(n):r.set(s.popupRef,[n])}const i=n.render();s.hidden&&(i.style.visibility="hidden"),await Fl(this,xa,_a).call(this,i,s.id),n._isEditable&&(Sl(this,ya).set(n.data.id,n),null==(t=this._annotationEditorUIManager)||t.renderAnnotationElement(n))}Fl(this,xa,Ta).call(this)}update({viewport:e}){const t=this.div;this.viewport=e,Lx(t,{rotation:e.rotation}),Fl(this,xa,Ta).call(this),t.hidden=!1}getEditableAnnotations(){return Array.from(Sl(this,ya).values())}getEditableAnnotation(e){return Sl(this,ya).get(e)}}ba=new WeakMap,va=new WeakMap,ya=new WeakMap,wa=new WeakMap,xa=new WeakSet,_a=async function(e,t){var n,i;const r=e.firstChild||e,a=r.id=`${vx}${t}`,s=await(null==(n=Sl(this,wa))?void 0:n.getAriaAttributes(a));if(s)for(const[o,c]of s)r.setAttribute(o,c);this.div.append(e),null==(i=Sl(this,ba))||i.moveElementInDOM(this.div,e,r,!1)},Ta=function(){if(!Sl(this,va))return;const e=this.div;for(const[t,n]of Sl(this,va)){const i=e.querySelector(`[data-annotation-id="${t}"]`);if(!i)continue;n.className="annotationContent";const{firstChild:r}=i;r?"CANVAS"===r.nodeName?r.replaceWith(n):r.classList.contains("annotationContent")?r.after(n):r.before(n):i.append(n)}Sl(this,va).clear()};const $D=/\r\n?|\n/g,qD=class e extends r_{constructor(t){super({...t,name:"freeTextEditor"}),Cl(this,Ca),Cl(this,Da),Cl(this,Aa,""),Cl(this,Ea,`${this.id}-editor`),Cl(this,ka,null),Cl(this,Sa),Ul(this,Da,t.color||e._defaultColor||r_._defaultLineColor),Ul(this,Sa,t.fontSize||e._defaultFontSize)}static get _keyboardManager(){const t=e.prototype,n=e=>e.isEmpty(),i=Jx.TRANSLATE_SMALL,r=Jx.TRANSLATE_BIG;return ex(this,"_keyboardManager",new qx([[["ctrl+s","mac+meta+s","ctrl+p","mac+meta+p"],t.commitOrRemove,{bubbles:!0}],[["ctrl+Enter","mac+meta+Enter","Escape","mac+Escape"],t.commitOrRemove],[["ArrowLeft","mac+ArrowLeft"],t._translateEmpty,{args:[-i,0],checker:n}],[["ctrl+ArrowLeft","mac+shift+ArrowLeft"],t._translateEmpty,{args:[-r,0],checker:n}],[["ArrowRight","mac+ArrowRight"],t._translateEmpty,{args:[i,0],checker:n}],[["ctrl+ArrowRight","mac+shift+ArrowRight"],t._translateEmpty,{args:[r,0],checker:n}],[["ArrowUp","mac+ArrowUp"],t._translateEmpty,{args:[0,-i],checker:n}],[["ctrl+ArrowUp","mac+shift+ArrowUp"],t._translateEmpty,{args:[0,-r],checker:n}],[["ArrowDown","mac+ArrowDown"],t._translateEmpty,{args:[0,i],checker:n}],[["ctrl+ArrowDown","mac+shift+ArrowDown"],t._translateEmpty,{args:[0,r],checker:n}]]))}static initialize(e,t){r_.initialize(e,t);const n=getComputedStyle(document.documentElement);this._internalPadding=parseFloat(n.getPropertyValue("--freetext-padding"))}static updateDefaultParams(t,n){switch(t){case uw.FREETEXT_SIZE:e._defaultFontSize=n;break;case uw.FREETEXT_COLOR:e._defaultColor=n}}updateParams(e,t){switch(e){case uw.FREETEXT_SIZE:Fl(this,Ca,Ua).call(this,t);break;case uw.FREETEXT_COLOR:Fl(this,Ca,Fa).call(this,t)}}static get defaultPropertiesToUpdate(){return[[uw.FREETEXT_SIZE,e._defaultFontSize],[uw.FREETEXT_COLOR,e._defaultColor||r_._defaultLineColor]]}get propertiesToUpdate(){return[[uw.FREETEXT_SIZE,Sl(this,Sa)],[uw.FREETEXT_COLOR,Sl(this,Da)]]}_translateEmpty(e,t){this._uiManager.translateSelectedEditors(e,t,!0)}getInitialTranslation(){const t=this.parentScale;return[-e._internalPadding*t,-(e._internalPadding+Sl(this,Sa))*t]}rebuild(){this.parent&&(super.rebuild(),null!==this.div&&(this.isAttachedToDOM||this.parent.add(this)))}enableEditMode(){if(this.isInEditMode())return;this.parent.setEditingState(!1),this.parent.updateToolbar(dw.FREETEXT),super.enableEditMode(),this.overlayDiv.classList.remove("enabled"),this.editorDiv.contentEditable=!0,this._isDraggable=!1,this.div.removeAttribute("aria-activedescendant"),Ul(this,ka,new AbortController);const e=this._uiManager.combinedSignal(Sl(this,ka));this.editorDiv.addEventListener("keydown",this.editorDivKeydown.bind(this),{signal:e}),this.editorDiv.addEventListener("focus",this.editorDivFocus.bind(this),{signal:e}),this.editorDiv.addEventListener("blur",this.editorDivBlur.bind(this),{signal:e}),this.editorDiv.addEventListener("input",this.editorDivInput.bind(this),{signal:e}),this.editorDiv.addEventListener("paste",this.editorDivPaste.bind(this),{signal:e})}disableEditMode(){var e;this.isInEditMode()&&(this.parent.setEditingState(!0),super.disableEditMode(),this.overlayDiv.classList.add("enabled"),this.editorDiv.contentEditable=!1,this.div.setAttribute("aria-activedescendant",Sl(this,Ea)),this._isDraggable=!0,null==(e=Sl(this,ka))||e.abort(),Ul(this,ka,null),this.div.focus({preventScroll:!0}),this.isEditing=!1,this.parent.div.classList.add("freetextEditing"))}focusin(e){this._focusEventsAllowed&&(super.focusin(e),e.target!==this.editorDiv&&this.editorDiv.focus())}onceAdded(e){var t;this.width||(this.enableEditMode(),e&&this.editorDiv.focus(),(null==(t=this._initialOptions)?void 0:t.isCentered)&&this.center(),this._initialOptions=null)}isEmpty(){return!this.editorDiv||""===this.editorDiv.innerText.trim()}remove(){this.isEditing=!1,this.parent&&(this.parent.setEditingState(!0),this.parent.div.classList.add("freetextEditing")),super.remove()}commit(){if(!this.isInEditMode())return;super.commit(),this.disableEditMode();const e=Sl(this,Aa),t=Ul(this,Aa,Fl(this,Ca,Ma).call(this).trimEnd());if(e===t)return;const n=e=>{Ul(this,Aa,e),e?(Fl(this,Ca,Na).call(this),this._uiManager.rebuild(this),Fl(this,Ca,Ra).call(this)):this.remove()};this.addCommands({cmd:()=>{n(t)},undo:()=>{n(e)},mustExec:!1}),Fl(this,Ca,Ra).call(this)}shouldGetKeyboardEvents(){return this.isInEditMode()}enterInEditMode(){this.enableEditMode(),this.editorDiv.focus()}dblclick(e){this.enterInEditMode()}keydown(e){e.target===this.div&&"Enter"===e.key&&(this.enterInEditMode(),e.preventDefault())}editorDivKeydown(t){e._keyboardManager.exec(this,t)}editorDivFocus(e){this.isEditing=!0}editorDivBlur(e){this.isEditing=!1}editorDivInput(e){this.parent.div.classList.toggle("freetextEditing",this.isEmpty())}disableEditing(){this.editorDiv.setAttribute("role","comment"),this.editorDiv.removeAttribute("aria-multiline")}enableEditing(){this.editorDiv.setAttribute("role","textbox"),this.editorDiv.setAttribute("aria-multiline",!0)}render(){if(this.div)return this.div;let e,t;this.width&&(e=this.x,t=this.y),super.render(),this.editorDiv=document.createElement("div"),this.editorDiv.className="internal",this.editorDiv.setAttribute("id",Sl(this,Ea)),this.editorDiv.setAttribute("data-l10n-id","pdfjs-free-text2"),this.editorDiv.setAttribute("data-l10n-attrs","default-content"),this.enableEditing(),this.editorDiv.contentEditable=!0;const{style:n}=this.editorDiv;if(n.fontSize=`calc(${Sl(this,Sa)}px * var(--scale-factor))`,n.color=Sl(this,Da),this.div.append(this.editorDiv),this.overlayDiv=document.createElement("div"),this.overlayDiv.classList.add("overlay","enabled"),this.div.append(this.overlayDiv),Hx(this,this.div,["dblclick","keydown"]),this.width){const[n,i]=this.parentDimensions;if(this.annotationElementId){const{position:r}=this._initialData;let[a,s]=this.getInitialTranslation();[a,s]=this.pageTranslationToScreen(a,s);const[o,c]=this.pageDimensions,[l,h]=this.pageTranslation;let d,u;switch(this.rotation){case 0:d=e+(r[0]-l)/o,u=t+this.height-(r[1]-h)/c;break;case 90:d=e+(r[0]-l)/o,u=t-(r[1]-h)/c,[a,s]=[s,-a];break;case 180:d=e-this.width+(r[0]-l)/o,u=t-(r[1]-h)/c,[a,s]=[-a,-s];break;case 270:d=e+(r[0]-l-this.height*c)/o,u=t+(r[1]-h-this.width*o)/c,[a,s]=[-s,a]}this.setAt(d*n,u*i,a,s)}else this.setAt(e*n,t*i,this.width*n,this.height*i);Fl(this,Ca,Na).call(this),this._isDraggable=!0,this.editorDiv.contentEditable=!1}else this._isDraggable=!1,this.editorDiv.contentEditable=!0;return this.div}editorDivPaste(t){var n,i,r;const a=t.clipboardData||window.clipboardData,{types:s}=a;if(1===s.length&&"text/plain"===s[0])return;t.preventDefault();const o=Fl(n=e,Ia,La).call(n,a.getData("text")||"").replaceAll($D,"\n");if(!o)return;const c=window.getSelection();if(!c.rangeCount)return;this.editorDiv.normalize(),c.deleteFromDocument();const l=c.getRangeAt(0);if(!o.includes("\n"))return l.insertNode(document.createTextNode(o)),this.editorDiv.normalize(),void c.collapseToStart();const{startContainer:h,startOffset:d}=l,u=[],f=[];if(h.nodeType===Node.TEXT_NODE){const t=h.parentElement;if(f.push(h.nodeValue.slice(d).replaceAll($D,"")),t!==this.editorDiv){let n=u;for(const r of this.editorDiv.childNodes)r!==t?n.push(Fl(i=e,Ia,Oa).call(i,r)):n=f}u.push(h.nodeValue.slice(0,d).replaceAll($D,""))}else if(h===this.editorDiv){let t=u,n=0;for(const i of this.editorDiv.childNodes)n++===d&&(t=f),t.push(Fl(r=e,Ia,Oa).call(r,i))}Ul(this,Aa,`${u.join("\n")}${o}${f.join("\n")}`),Fl(this,Ca,Na).call(this);const p=new Range;let g=u.reduce(((e,t)=>e+t.length),0);for(const{firstChild:e}of this.editorDiv.childNodes)if(e.nodeType===Node.TEXT_NODE){const t=e.nodeValue.length;if(g<=t){p.setStart(e,g),p.setEnd(e,g);break}g-=t}c.removeAllRanges(),c.addRange(p)}get contentDiv(){return this.editorDiv}static async deserialize(t,n,i){var r;let a=null;if(t instanceof MD){const{data:{defaultAppearanceData:{fontSize:e,fontColor:n},rect:i,rotation:r,id:s,popupRef:o},textContent:c,textPosition:l,parent:{page:{pageNumber:h}}}=t;if(!c||0===c.length)return null;a=t={annotationType:dw.FREETEXT,color:Array.from(n),fontSize:e,value:c.join("\n"),position:l,pageIndex:h-1,rect:i.slice(0),rotation:r,id:s,deleted:!1,popupRef:o}}const s=await super.deserialize(t,n,i);return Ul(s,Sa,t.fontSize),Ul(s,Da,px.makeHexColor(...t.color)),Ul(s,Aa,Fl(r=e,Ia,La).call(r,t.value)),s.annotationElementId=t.id||null,s._initialData=a,s}serialize(t=!1){if(this.isEmpty())return null;if(this.deleted)return this.serializeDeleted();const n=e._internalPadding*this.parentScale,i=this.getRect(n,n),r=r_._colorManager.convert(this.isAttachedToDOM?getComputedStyle(this.editorDiv).color:Sl(this,Da)),a={annotationType:dw.FREETEXT,color:r,fontSize:Sl(this,Sa),value:Fl(this,Ca,Pa).call(this),pageIndex:this.pageIndex,rect:i,rotation:this.rotation,structTreeParentId:this._structTreeParentId};return t?a:this.annotationElementId&&!Fl(this,Ca,Wa).call(this,a)?null:(a.id=this.annotationElementId,a)}renderAnnotationElement(t){const n=super.renderAnnotationElement(t);if(this.deleted)return n;const{style:i}=n;i.fontSize=`calc(${Sl(this,Sa)}px * var(--scale-factor))`,i.color=Sl(this,Da),n.replaceChildren();for(const e of Sl(this,Aa).split("\n")){const t=document.createElement("div");t.append(e?document.createTextNode(e):document.createElement("br")),n.append(t)}const r=e._internalPadding*this.parentScale;return t.updateEdited({rect:this.getRect(r,r),popupContent:Sl(this,Aa)}),n}resetAnnotationElement(e){super.resetAnnotationElement(e),e.resetEdited()}};Da=new WeakMap,Aa=new WeakMap,Ea=new WeakMap,ka=new WeakMap,Sa=new WeakMap,Ca=new WeakSet,Ua=function(e){const t=e=>{this.editorDiv.style.fontSize=`calc(${e}px * var(--scale-factor))`,this.translate(0,-(e-Sl(this,Sa))*this.parentScale),Ul(this,Sa,e),Fl(this,Ca,Ra).call(this)},n=Sl(this,Sa);this.addCommands({cmd:t.bind(this,e),undo:t.bind(this,n),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:uw.FREETEXT_SIZE,overwriteIfSameType:!0,keepUndo:!0})},Fa=function(e){const t=e=>{Ul(this,Da,this.editorDiv.style.color=e)},n=Sl(this,Da);this.addCommands({cmd:t.bind(this,e),undo:t.bind(this,n),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:uw.FREETEXT_COLOR,overwriteIfSameType:!0,keepUndo:!0})},Ma=function(){var e;const t=[];this.editorDiv.normalize();let n=null;for(const i of this.editorDiv.childNodes)(null==n?void 0:n.nodeType)===Node.TEXT_NODE&&"BR"===i.nodeName||(t.push(Fl(e=qD,Ia,Oa).call(e,i)),n=i);return t.join("\n")},Ra=function(){const[e,t]=this.parentDimensions;let n;if(this.isAttachedToDOM)n=this.div.getBoundingClientRect();else{const{currentLayer:e,div:t}=this,i=t.style.display,r=t.classList.contains("hidden");t.classList.remove("hidden"),t.style.display="hidden",e.div.append(this.div),n=t.getBoundingClientRect(),t.remove(),t.style.display=i,t.classList.toggle("hidden",r)}this.rotation%180==this.parentRotation%180?(this.width=n.width/e,this.height=n.height/t):(this.width=n.height/e,this.height=n.width/t),this.fixAndSetPosition()},Ia=new WeakSet,Oa=function(e){return(e.nodeType===Node.TEXT_NODE?e.nodeValue:e.innerText).replaceAll($D,"")},Na=function(){if(this.editorDiv.replaceChildren(),Sl(this,Aa))for(const e of Sl(this,Aa).split("\n")){const t=document.createElement("div");t.append(e?document.createTextNode(e):document.createElement("br")),this.editorDiv.append(t)}},Pa=function(){return Sl(this,Aa).replaceAll(" "," ")},La=function(e){return e.replaceAll(" "," ")},Wa=function(e){const{value:t,fontSize:n,color:i,pageIndex:r}=this._initialData;return this._hasBeenMoved||e.value!==t||e.fontSize!==n||e.color.some(((e,t)=>e!==i[t]))||e.pageIndex!==r},Cl(qD,Ia),El(qD,"_freeTextDefaultContent",""),El(qD,"_internalPadding",0),El(qD,"_defaultColor",null),El(qD,"_defaultFontSize",10),El(qD,"_type","freetext"),El(qD,"_editorType",dw.FREETEXT);let YD=qD;class KD{toSVGPath(){Zw("Abstract method `toSVGPath` must be implemented.")}get box(){Zw("Abstract getter `box` must be implemented.")}serialize(e,t){Zw("Abstract method `serialize` must be implemented.")}static _rescale(e,t,n,i,r,a){a||(a=new Float32Array(e.length));for(let s=0,o=e.length;s<o;s+=2)a[s]=t+e[s]*i,a[s+1]=n+e[s+1]*r;return a}static _rescaleAndSwap(e,t,n,i,r,a){a||(a=new Float32Array(e.length));for(let s=0,o=e.length;s<o;s+=2)a[s]=t+e[s+1]*i,a[s+1]=n+e[s]*r;return a}static _translate(e,t,n,i){i||(i=new Float32Array(e.length));for(let r=0,a=e.length;r<a;r+=2)i[r]=t+e[r],i[r+1]=n+e[r+1];return i}static svgRound(e){return Math.round(1e4*e)}static _normalizePoint(e,t,n,i,r){switch(r){case 90:return[1-t/n,e/i];case 180:return[1-e/n,1-t/i];case 270:return[t/n,1-e/i];default:return[e/n,t/i]}}static _normalizePagePoint(e,t,n){switch(n){case 90:return[1-t,e];case 180:return[1-e,1-t];case 270:return[t,1-e];default:return[e,t]}}static createBezierPoints(e,t,n,i,r,a){return[(e+5*n)/6,(t+5*i)/6,(5*n+r)/6,(5*i+a)/6,(n+r)/2,(i+a)/2]}}El(KD,"PRECISION",1e-4);const ZD=class e{constructor({x:t,y:n},i,r,a,s,o=0){Cl(this,ns),Cl(this,Ba),Cl(this,ja,[]),Cl(this,za),Cl(this,Ha),Cl(this,Va,[]),Cl(this,Ga,new Float32Array(18)),Cl(this,Xa),Cl(this,$a),Cl(this,qa),Cl(this,Ya),Cl(this,Ka),Cl(this,Za),Cl(this,Ja,[]),Ul(this,Ba,i),Ul(this,Za,a*r),Ul(this,Ha,s),Sl(this,Ga).set([NaN,NaN,NaN,NaN,t,n],6),Ul(this,za,o),Ul(this,Ya,Sl(e,Qa)*r),Ul(this,qa,Sl(e,ts)*r),Ul(this,Ka,r),Sl(this,Ja).push(t,n)}isEmpty(){return isNaN(Sl(this,Ga)[8])}add({x:e,y:t}){var n;Ul(this,Xa,e),Ul(this,$a,t);const[i,r,a,s]=Sl(this,Ba);let[o,c,l,h]=Sl(this,Ga).subarray(8,12);const d=e-l,u=t-h,f=Math.hypot(d,u);if(f<Sl(this,qa))return!1;const p=f-Sl(this,Ya),g=p/f,m=g*d,b=g*u;let v=o,y=c;o=l,c=h,l+=m,h+=b,null==(n=Sl(this,Ja))||n.push(e,t);const w=m/p,x=-b/p*Sl(this,Za),_=w*Sl(this,Za);if(Sl(this,Ga).set(Sl(this,Ga).subarray(2,8),0),Sl(this,Ga).set([l+x,h+_],4),Sl(this,Ga).set(Sl(this,Ga).subarray(14,18),12),Sl(this,Ga).set([l-x,h-_],16),isNaN(Sl(this,Ga)[6]))return 0===Sl(this,Va).length&&(Sl(this,Ga).set([o+x,c+_],2),Sl(this,Va).push(NaN,NaN,NaN,NaN,(o+x-i)/a,(c+_-r)/s),Sl(this,Ga).set([o-x,c-_],14),Sl(this,ja).push(NaN,NaN,NaN,NaN,(o-x-i)/a,(c-_-r)/s)),Sl(this,Ga).set([v,y,o,c,l,h],6),!this.isEmpty();Sl(this,Ga).set([v,y,o,c,l,h],6);return Math.abs(Math.atan2(y-c,v-o)-Math.atan2(b,m))<Math.PI/2?([o,c,l,h]=Sl(this,Ga).subarray(2,6),Sl(this,Va).push(NaN,NaN,NaN,NaN,((o+l)/2-i)/a,((c+h)/2-r)/s),[o,c,v,y]=Sl(this,Ga).subarray(14,18),Sl(this,ja).push(NaN,NaN,NaN,NaN,((v+o)/2-i)/a,((y+c)/2-r)/s),!0):([v,y,o,c,l,h]=Sl(this,Ga).subarray(0,6),Sl(this,Va).push(((v+5*o)/6-i)/a,((y+5*c)/6-r)/s,((5*o+l)/6-i)/a,((5*c+h)/6-r)/s,((o+l)/2-i)/a,((c+h)/2-r)/s),[l,h,o,c,v,y]=Sl(this,Ga).subarray(12,18),Sl(this,ja).push(((v+5*o)/6-i)/a,((y+5*c)/6-r)/s,((5*o+l)/6-i)/a,((5*c+h)/6-r)/s,((o+l)/2-i)/a,((c+h)/2-r)/s),!0)}toSVGPath(){if(this.isEmpty())return"";const e=Sl(this,Va),t=Sl(this,ja);if(isNaN(Sl(this,Ga)[6])&&!this.isEmpty())return Fl(this,ns,rs).call(this);const n=[];n.push(`M${e[4]} ${e[5]}`);for(let i=6;i<e.length;i+=6)isNaN(e[i])?n.push(`L${e[i+4]} ${e[i+5]}`):n.push(`C${e[i]} ${e[i+1]} ${e[i+2]} ${e[i+3]} ${e[i+4]} ${e[i+5]}`);Fl(this,ns,ss).call(this,n);for(let i=t.length-6;i>=6;i-=6)isNaN(t[i])?n.push(`L${t[i+4]} ${t[i+5]}`):n.push(`C${t[i]} ${t[i+1]} ${t[i+2]} ${t[i+3]} ${t[i+4]} ${t[i+5]}`);return Fl(this,ns,as).call(this,n),n.join(" ")}newFreeDrawOutline(e,t,n,i,r,a){return new QD(e,t,n,i,r,a)}getOutlines(){var e;const t=Sl(this,Va),n=Sl(this,ja),i=Sl(this,Ga),[r,a,s,o]=Sl(this,Ba),c=new Float32Array(((null==(e=Sl(this,Ja))?void 0:e.length)??0)+2);for(let d=0,u=c.length-2;d<u;d+=2)c[d]=(Sl(this,Ja)[d]-r)/s,c[d+1]=(Sl(this,Ja)[d+1]-a)/o;if(c[c.length-2]=(Sl(this,Xa)-r)/s,c[c.length-1]=(Sl(this,$a)-a)/o,isNaN(i[6])&&!this.isEmpty())return Fl(this,ns,os).call(this,c);const l=new Float32Array(Sl(this,Va).length+24+Sl(this,ja).length);let h=t.length;for(let d=0;d<h;d+=2)isNaN(t[d])?l[d]=l[d+1]=NaN:(l[d]=t[d],l[d+1]=t[d+1]);h=Fl(this,ns,ls).call(this,l,h);for(let d=n.length-6;d>=6;d-=6)for(let e=0;e<6;e+=2)isNaN(n[d+e])?(l[h]=l[h+1]=NaN,h+=2):(l[h]=n[d+e],l[h+1]=n[d+e+1],h+=2);return Fl(this,ns,cs).call(this,l,h),this.newFreeDrawOutline(l,c,Sl(this,Ba),Sl(this,Ka),Sl(this,za),Sl(this,Ha))}};Ba=new WeakMap,ja=new WeakMap,za=new WeakMap,Ha=new WeakMap,Va=new WeakMap,Ga=new WeakMap,Xa=new WeakMap,$a=new WeakMap,qa=new WeakMap,Ya=new WeakMap,Ka=new WeakMap,Za=new WeakMap,Ja=new WeakMap,Qa=new WeakMap,es=new WeakMap,ts=new WeakMap,ns=new WeakSet,is=function(){const e=Sl(this,Ga).subarray(4,6),t=Sl(this,Ga).subarray(16,18),[n,i,r,a]=Sl(this,Ba);return[(Sl(this,Xa)+(e[0]-t[0])/2-n)/r,(Sl(this,$a)+(e[1]-t[1])/2-i)/a,(Sl(this,Xa)+(t[0]-e[0])/2-n)/r,(Sl(this,$a)+(t[1]-e[1])/2-i)/a]},rs=function(){const[e,t,n,i]=Sl(this,Ba),[r,a,s,o]=Fl(this,ns,is).call(this);return`M${(Sl(this,Ga)[2]-e)/n} ${(Sl(this,Ga)[3]-t)/i} L${(Sl(this,Ga)[4]-e)/n} ${(Sl(this,Ga)[5]-t)/i} L${r} ${a} L${s} ${o} L${(Sl(this,Ga)[16]-e)/n} ${(Sl(this,Ga)[17]-t)/i} L${(Sl(this,Ga)[14]-e)/n} ${(Sl(this,Ga)[15]-t)/i} Z`},as=function(e){const t=Sl(this,ja);e.push(`L${t[4]} ${t[5]} Z`)},ss=function(e){const[t,n,i,r]=Sl(this,Ba),a=Sl(this,Ga).subarray(4,6),s=Sl(this,Ga).subarray(16,18),[o,c,l,h]=Fl(this,ns,is).call(this);e.push(`L${(a[0]-t)/i} ${(a[1]-n)/r} L${o} ${c} L${l} ${h} L${(s[0]-t)/i} ${(s[1]-n)/r}`)},os=function(e){const t=Sl(this,Ga),[n,i,r,a]=Sl(this,Ba),[s,o,c,l]=Fl(this,ns,is).call(this),h=new Float32Array(36);return h.set([NaN,NaN,NaN,NaN,(t[2]-n)/r,(t[3]-i)/a,NaN,NaN,NaN,NaN,(t[4]-n)/r,(t[5]-i)/a,NaN,NaN,NaN,NaN,s,o,NaN,NaN,NaN,NaN,c,l,NaN,NaN,NaN,NaN,(t[16]-n)/r,(t[17]-i)/a,NaN,NaN,NaN,NaN,(t[14]-n)/r,(t[15]-i)/a],0),this.newFreeDrawOutline(h,e,Sl(this,Ba),Sl(this,Ka),Sl(this,za),Sl(this,Ha))},cs=function(e,t){const n=Sl(this,ja);return e.set([NaN,NaN,NaN,NaN,n[4],n[5]],t),t+6},ls=function(e,t){const n=Sl(this,Ga).subarray(4,6),i=Sl(this,Ga).subarray(16,18),[r,a,s,o]=Sl(this,Ba),[c,l,h,d]=Fl(this,ns,is).call(this);return e.set([NaN,NaN,NaN,NaN,(n[0]-r)/s,(n[1]-a)/o,NaN,NaN,NaN,NaN,c,l,NaN,NaN,NaN,NaN,h,d,NaN,NaN,NaN,NaN,(i[0]-r)/s,(i[1]-a)/o],t),t+24},Cl(ZD,Qa,8),Cl(ZD,es,2),Cl(ZD,ts,Sl(ZD,Qa)+Sl(ZD,es));let JD=ZD;class QD extends KD{constructor(e,t,n,i,r,a){super(),Cl(this,bs),Cl(this,hs),Cl(this,ds,new Float32Array(4)),Cl(this,us),Cl(this,fs),Cl(this,ps),Cl(this,gs),Cl(this,ms),Ul(this,ms,e),Ul(this,ps,t),Ul(this,hs,n),Ul(this,gs,i),Ul(this,us,r),Ul(this,fs,a),this.lastPoint=[NaN,NaN],Fl(this,bs,vs).call(this,a);const[s,o,c,l]=Sl(this,ds);for(let h=0,d=e.length;h<d;h+=2)e[h]=(e[h]-s)/c,e[h+1]=(e[h+1]-o)/l;for(let h=0,d=t.length;h<d;h+=2)t[h]=(t[h]-s)/c,t[h+1]=(t[h+1]-o)/l}toSVGPath(){const e=[`M${Sl(this,ms)[4]} ${Sl(this,ms)[5]}`];for(let t=6,n=Sl(this,ms).length;t<n;t+=6)isNaN(Sl(this,ms)[t])?e.push(`L${Sl(this,ms)[t+4]} ${Sl(this,ms)[t+5]}`):e.push(`C${Sl(this,ms)[t]} ${Sl(this,ms)[t+1]} ${Sl(this,ms)[t+2]} ${Sl(this,ms)[t+3]} ${Sl(this,ms)[t+4]} ${Sl(this,ms)[t+5]}`);return e.push("Z"),e.join(" ")}serialize([e,t,n,i],r){const a=n-e,s=i-t;let o,c;switch(r){case 0:o=KD._rescale(Sl(this,ms),e,i,a,-s),c=KD._rescale(Sl(this,ps),e,i,a,-s);break;case 90:o=KD._rescaleAndSwap(Sl(this,ms),e,t,a,s),c=KD._rescaleAndSwap(Sl(this,ps),e,t,a,s);break;case 180:o=KD._rescale(Sl(this,ms),n,t,-a,s),c=KD._rescale(Sl(this,ps),n,t,-a,s);break;case 270:o=KD._rescaleAndSwap(Sl(this,ms),n,i,-a,-s),c=KD._rescaleAndSwap(Sl(this,ps),n,i,-a,-s)}return{outline:Array.from(o),points:[Array.from(c)]}}get box(){return Sl(this,ds)}newOutliner(e,t,n,i,r,a=0){return new JD(e,t,n,i,r,a)}getNewOutline(e,t){const[n,i,r,a]=Sl(this,ds),[s,o,c,l]=Sl(this,hs),h=r*c,d=a*l,u=n*c+s,f=i*l+o,p=this.newOutliner({x:Sl(this,ps)[0]*h+u,y:Sl(this,ps)[1]*d+f},Sl(this,hs),Sl(this,gs),e,Sl(this,fs),t??Sl(this,us));for(let g=2;g<Sl(this,ps).length;g+=2)p.add({x:Sl(this,ps)[g]*h+u,y:Sl(this,ps)[g+1]*d+f});return p.getOutlines()}}hs=new WeakMap,ds=new WeakMap,us=new WeakMap,fs=new WeakMap,ps=new WeakMap,gs=new WeakMap,ms=new WeakMap,bs=new WeakSet,vs=function(e){const t=Sl(this,ms);let n=t[4],i=t[5],r=n,a=i,s=n,o=i,c=n,l=i;const h=e?Math.max:Math.min;for(let u=6,f=t.length;u<f;u+=6){if(isNaN(t[u]))r=Math.min(r,t[u+4]),a=Math.min(a,t[u+5]),s=Math.max(s,t[u+4]),o=Math.max(o,t[u+5]),l<t[u+5]?(c=t[u+4],l=t[u+5]):l===t[u+5]&&(c=h(c,t[u+4]));else{const e=px.bezierBoundingBox(n,i,...t.slice(u,u+6));r=Math.min(r,e[0]),a=Math.min(a,e[1]),s=Math.max(s,e[2]),o=Math.max(o,e[3]),l<e[3]?(c=e[2],l=e[3]):l===e[3]&&(c=h(c,e[2]))}n=t[u+4],i=t[u+5]}const d=Sl(this,ds);d[0]=r-Sl(this,us),d[1]=a-Sl(this,us),d[2]=s-r+2*Sl(this,us),d[3]=o-a+2*Sl(this,us),this.lastPoint=[c,l]};class eA{constructor(e,t=0,n=0,i=!0){Cl(this,Ts),Cl(this,ys),Cl(this,ws),Cl(this,xs,[]),Cl(this,_s,[]);let r=1/0,a=-1/0,s=1/0,o=-1/0;const c=10**-4;for(const{x:g,y:m,width:b,height:v}of e){const e=Math.floor((g-t)/c)*c,n=Math.ceil((g+b+t)/c)*c,i=Math.floor((m-t)/c)*c,l=Math.ceil((m+v+t)/c)*c,h=[e,i,l,!0],d=[n,i,l,!1];Sl(this,xs).push(h,d),r=Math.min(r,e),a=Math.max(a,n),s=Math.min(s,i),o=Math.max(o,l)}const l=a-r+2*n,h=o-s+2*n,d=r-n,u=s-n,f=Sl(this,xs).at(i?-1:-2),p=[f[0],f[2]];for(const g of Sl(this,xs)){const[e,t,n]=g;g[0]=(e-d)/l,g[1]=(t-u)/h,g[2]=(n-u)/h}Ul(this,ys,new Float32Array([d,u,l,h])),Ul(this,ws,p)}getOutlines(){Sl(this,xs).sort(((e,t)=>e[0]-t[0]||e[1]-t[1]||e[2]-t[2]));const e=[];for(const t of Sl(this,xs))t[3]?(e.push(...Fl(this,Ts,Ss).call(this,t)),Fl(this,Ts,Es).call(this,t)):(Fl(this,Ts,ks).call(this,t),e.push(...Fl(this,Ts,Ss).call(this,t)));return Fl(this,Ts,Ds).call(this,e)}}ys=new WeakMap,ws=new WeakMap,xs=new WeakMap,_s=new WeakMap,Ts=new WeakSet,Ds=function(e){const t=[],n=new Set;for(const a of e){const[e,n,i]=a;t.push([e,n,a],[e,i,a])}t.sort(((e,t)=>e[1]-t[1]||e[0]-t[0]));for(let a=0,s=t.length;a<s;a+=2){const e=t[a][2],i=t[a+1][2];e.push(i),i.push(e),n.add(e),n.add(i)}const i=[];let r;for(;n.size>0;){const e=n.values().next().value;let[t,a,s,o,c]=e;n.delete(e);let l=t,h=a;for(r=[t,s],i.push(r);;){let e;if(n.has(o))e=o;else{if(!n.has(c))break;e=c}n.delete(e),[t,a,s,o,c]=e,l!==t&&(r.push(l,h,t,h===a?a:s),l=t),h=h===a?s:a}r.push(l,h)}return new tA(i,Sl(this,ys),Sl(this,ws))},As=function(e){const t=Sl(this,_s);let n=0,i=t.length-1;for(;n<=i;){const r=n+i>>1,a=t[r][0];if(a===e)return r;a<e?n=r+1:i=r-1}return i+1},Es=function([,e,t]){const n=Fl(this,Ts,As).call(this,e);Sl(this,_s).splice(n,0,[e,t])},ks=function([,e,t]){const n=Fl(this,Ts,As).call(this,e);for(let i=n;i<Sl(this,_s).length;i++){const[n,r]=Sl(this,_s)[i];if(n!==e)break;if(n===e&&r===t)return void Sl(this,_s).splice(i,1)}for(let i=n-1;i>=0;i--){const[n,r]=Sl(this,_s)[i];if(n!==e)break;if(n===e&&r===t)return void Sl(this,_s).splice(i,1)}},Ss=function(e){const[t,n,i]=e,r=[[t,n,i]],a=Fl(this,Ts,As).call(this,i);for(let s=0;s<a;s++){const[e,n]=Sl(this,_s)[s];for(let i=0,a=r.length;i<a;i++){const[,s,o]=r[i];if(!(n<=s||o<=e))if(s>=e)if(o>n)r[i][1]=n;else{if(1===a)return[];r.splice(i,1),i--,a--}else r[i][2]=e,o>n&&r.push([t,n,o])}}return r};class tA extends KD{constructor(e,t,n){super(),Cl(this,Cs),Cl(this,Us),Ul(this,Us,e),Ul(this,Cs,t),this.lastPoint=n}toSVGPath(){const e=[];for(const t of Sl(this,Us)){let[n,i]=t;e.push(`M${n} ${i}`);for(let r=2;r<t.length;r+=2){const a=t[r],s=t[r+1];a===n?(e.push(`V${s}`),i=s):s===i&&(e.push(`H${a}`),n=a)}e.push("Z")}return e.join(" ")}serialize([e,t,n,i],r){const a=[],s=n-e,o=i-t;for(const c of Sl(this,Us)){const t=new Array(c.length);for(let n=0;n<c.length;n+=2)t[n]=e+c[n]*s,t[n+1]=i-c[n+1]*o;a.push(t)}return a}get box(){return Sl(this,Cs)}get classNamesForOutlining(){return["highlightOutline"]}}Cs=new WeakMap,Us=new WeakMap;class nA extends JD{newFreeDrawOutline(e,t,n,i,r,a){return new iA(e,t,n,i,r,a)}}class iA extends QD{newOutliner(e,t,n,i,r,a=0){return new nA(e,t,n,i,r,a)}}const rA=class e{constructor({editor:t=null,uiManager:n=null}){var i;Cl(this,Hs),Cl(this,Fs,null),Cl(this,Ms,null),Cl(this,Rs),Cl(this,Is,null),Cl(this,Os,!1),Cl(this,Ns,!1),Cl(this,Ps,null),Cl(this,Ls),Cl(this,Ws,null),Cl(this,Bs,null),Cl(this,js),t?(Ul(this,Ns,!1),Ul(this,js,uw.HIGHLIGHT_COLOR),Ul(this,Ps,t)):(Ul(this,Ns,!0),Ul(this,js,uw.HIGHLIGHT_DEFAULT_COLOR)),Ul(this,Bs,(null==t?void 0:t._uiManager)||n),Ul(this,Ls,Sl(this,Bs)._eventBus),Ul(this,Rs,(null==t?void 0:t.color)||(null==(i=Sl(this,Bs))?void 0:i.highlightColors.values().next().value)||"#FFFF98"),Sl(e,zs)||Ul(e,zs,Object.freeze({blue:"pdfjs-editor-colorpicker-blue",green:"pdfjs-editor-colorpicker-green",pink:"pdfjs-editor-colorpicker-pink",red:"pdfjs-editor-colorpicker-red",yellow:"pdfjs-editor-colorpicker-yellow"}))}static get _keyboardManager(){return ex(this,"_keyboardManager",new qx([[["Escape","mac+Escape"],e.prototype._hideDropdownFromKeyboard],[[" ","mac+ "],e.prototype._colorSelectFromKeyboard],[["ArrowDown","ArrowRight","mac+ArrowDown","mac+ArrowRight"],e.prototype._moveToNext],[["ArrowUp","ArrowLeft","mac+ArrowUp","mac+ArrowLeft"],e.prototype._moveToPrevious],[["Home","mac+Home"],e.prototype._moveToBeginning],[["End","mac+End"],e.prototype._moveToEnd]]))}renderButton(){const e=Ul(this,Fs,document.createElement("button"));e.className="colorPicker",e.tabIndex="0",e.setAttribute("data-l10n-id","pdfjs-editor-colorpicker-button"),e.setAttribute("aria-haspopup",!0);const t=Sl(this,Bs)._signal;e.addEventListener("click",Fl(this,Hs,$s).bind(this),{signal:t}),e.addEventListener("keydown",Fl(this,Hs,Xs).bind(this),{signal:t});const n=Ul(this,Ms,document.createElement("span"));return n.className="swatch",n.setAttribute("aria-hidden",!0),n.style.backgroundColor=Sl(this,Rs),e.append(n),e}renderMainDropdown(){const e=Ul(this,Is,Fl(this,Hs,Vs).call(this));return e.setAttribute("aria-orientation","horizontal"),e.setAttribute("aria-labelledby","highlightColorPickerLabel"),e}_colorSelectFromKeyboard(e){if(e.target===Sl(this,Fs))return void Fl(this,Hs,$s).call(this,e);const t=e.target.getAttribute("data-color");t&&Fl(this,Hs,Gs).call(this,t,e)}_moveToNext(e){var t,n;Sl(this,Hs,Ys)?e.target!==Sl(this,Fs)?null==(n=e.target.nextSibling)||n.focus():null==(t=Sl(this,Is).firstChild)||t.focus():Fl(this,Hs,$s).call(this,e)}_moveToPrevious(e){var t,n;e.target!==(null==(t=Sl(this,Is))?void 0:t.firstChild)&&e.target!==Sl(this,Fs)?(Sl(this,Hs,Ys)||Fl(this,Hs,$s).call(this,e),null==(n=e.target.previousSibling)||n.focus()):Sl(this,Hs,Ys)&&this._hideDropdownFromKeyboard()}_moveToBeginning(e){var t;Sl(this,Hs,Ys)?null==(t=Sl(this,Is).firstChild)||t.focus():Fl(this,Hs,$s).call(this,e)}_moveToEnd(e){var t;Sl(this,Hs,Ys)?null==(t=Sl(this,Is).lastChild)||t.focus():Fl(this,Hs,$s).call(this,e)}hideDropdown(){var e,t;null==(e=Sl(this,Is))||e.classList.add("hidden"),null==(t=Sl(this,Ws))||t.abort(),Ul(this,Ws,null)}_hideDropdownFromKeyboard(){var e;Sl(this,Ns)||(Sl(this,Hs,Ys)?(this.hideDropdown(),Sl(this,Fs).focus({preventScroll:!0,focusVisible:Sl(this,Os)})):null==(e=Sl(this,Ps))||e.unselect())}updateColor(e){if(Sl(this,Ms)&&(Sl(this,Ms).style.backgroundColor=e),!Sl(this,Is))return;const t=Sl(this,Bs).highlightColors.values();for(const n of Sl(this,Is).children)n.setAttribute("aria-selected",t.next().value===e)}destroy(){var e,t;null==(e=Sl(this,Fs))||e.remove(),Ul(this,Fs,null),Ul(this,Ms,null),null==(t=Sl(this,Is))||t.remove(),Ul(this,Is,null)}};Fs=new WeakMap,Ms=new WeakMap,Rs=new WeakMap,Is=new WeakMap,Os=new WeakMap,Ns=new WeakMap,Ps=new WeakMap,Ls=new WeakMap,Ws=new WeakMap,Bs=new WeakMap,js=new WeakMap,zs=new WeakMap,Hs=new WeakSet,Vs=function(){const e=document.createElement("div"),t=Sl(this,Bs)._signal;e.addEventListener("contextmenu",Fx,{signal:t}),e.className="dropdown",e.role="listbox",e.setAttribute("aria-multiselectable",!1),e.setAttribute("aria-orientation","vertical"),e.setAttribute("data-l10n-id","pdfjs-editor-colorpicker-dropdown");for(const[n,i]of Sl(this,Bs).highlightColors){const r=document.createElement("button");r.tabIndex="0",r.role="option",r.setAttribute("data-color",i),r.title=n,r.setAttribute("data-l10n-id",Sl(rA,zs)[n]);const a=document.createElement("span");r.append(a),a.className="swatch",a.style.backgroundColor=i,r.setAttribute("aria-selected",i===Sl(this,Rs)),r.addEventListener("click",Fl(this,Hs,Gs).bind(this,i),{signal:t}),e.append(r)}return e.addEventListener("keydown",Fl(this,Hs,Xs).bind(this),{signal:t}),e},Gs=function(e,t){t.stopPropagation(),Sl(this,Ls).dispatch("switchannotationeditorparams",{source:this,type:Sl(this,js),value:e})},Xs=function(e){rA._keyboardManager.exec(this,e)},$s=function(e){if(Sl(this,Hs,Ys))return void this.hideDropdown();if(Ul(this,Os,0===e.detail),Sl(this,Ws)||(Ul(this,Ws,new AbortController),window.addEventListener("pointerdown",Fl(this,Hs,qs).bind(this),{signal:Sl(this,Bs).combinedSignal(Sl(this,Ws))})),Sl(this,Is))return void Sl(this,Is).classList.remove("hidden");const t=Ul(this,Is,Fl(this,Hs,Vs).call(this));Sl(this,Fs).append(t)},qs=function(e){var t;(null==(t=Sl(this,Is))?void 0:t.contains(e.target))||this.hideDropdown()},Ys=function(){return Sl(this,Is)&&!Sl(this,Is).classList.contains("hidden")},Cl(rA,zs,null);let aA=rA;const sA=class e extends r_{constructor(t){super({...t,name:"highlightEditor"}),Cl(this,go),Cl(this,Ks,null),Cl(this,Zs,0),Cl(this,Js),Cl(this,Qs,null),Cl(this,eo,null),Cl(this,to,null),Cl(this,no,null),Cl(this,io,0),Cl(this,ro,null),Cl(this,ao,null),Cl(this,so,null),Cl(this,oo,!1),Cl(this,co,null),Cl(this,lo),Cl(this,ho,null),Cl(this,uo,""),Cl(this,fo),Cl(this,po,""),this.color=t.color||e._defaultColor,Ul(this,fo,t.thickness||e._defaultThickness),Ul(this,lo,t.opacity||e._defaultOpacity),Ul(this,Js,t.boxes||null),Ul(this,po,t.methodOfCreation||""),Ul(this,uo,t.text||""),this._isDraggable=!1,t.highlightId>-1?(Ul(this,oo,!0),Fl(this,go,bo).call(this,t),Fl(this,go,_o).call(this)):Sl(this,Js)&&(Ul(this,Ks,t.anchorNode),Ul(this,Zs,t.anchorOffset),Ul(this,no,t.focusNode),Ul(this,io,t.focusOffset),Fl(this,go,mo).call(this),Fl(this,go,_o).call(this),this.rotate(this.rotation))}static get _keyboardManager(){const t=e.prototype;return ex(this,"_keyboardManager",new qx([[["ArrowLeft","mac+ArrowLeft"],t._moveCaret,{args:[0]}],[["ArrowRight","mac+ArrowRight"],t._moveCaret,{args:[1]}],[["ArrowUp","mac+ArrowUp"],t._moveCaret,{args:[2]}],[["ArrowDown","mac+ArrowDown"],t._moveCaret,{args:[3]}]]))}get telemetryInitialData(){return{action:"added",type:Sl(this,oo)?"free_highlight":"highlight",color:this._uiManager.highlightColorNames.get(this.color),thickness:Sl(this,fo),methodOfCreation:Sl(this,po)}}get telemetryFinalData(){return{type:"highlight",color:this._uiManager.highlightColorNames.get(this.color)}}static computeTelemetryFinalData(e){return{numberOfColors:e.get("color").size}}static initialize(t,n){var i;r_.initialize(t,n),e._defaultColor||(e._defaultColor=(null==(i=n.highlightColors)?void 0:i.values().next().value)||"#fff066")}static updateDefaultParams(t,n){switch(t){case uw.HIGHLIGHT_DEFAULT_COLOR:e._defaultColor=n;break;case uw.HIGHLIGHT_THICKNESS:e._defaultThickness=n}}translateInPage(e,t){}get toolbarPosition(){return Sl(this,co)}updateParams(e,t){switch(e){case uw.HIGHLIGHT_COLOR:Fl(this,go,vo).call(this,t);break;case uw.HIGHLIGHT_THICKNESS:Fl(this,go,yo).call(this,t)}}static get defaultPropertiesToUpdate(){return[[uw.HIGHLIGHT_DEFAULT_COLOR,e._defaultColor],[uw.HIGHLIGHT_THICKNESS,e._defaultThickness]]}get propertiesToUpdate(){return[[uw.HIGHLIGHT_COLOR,this.color||e._defaultColor],[uw.HIGHLIGHT_THICKNESS,Sl(this,fo)||e._defaultThickness],[uw.HIGHLIGHT_FREE,Sl(this,oo)]]}async addEditToolbar(){const e=await super.addEditToolbar();return e?(this._uiManager.highlightColors&&(Ul(this,eo,new aA({editor:this})),e.addColorPicker(Sl(this,eo))),e):null}disableEditing(){super.disableEditing(),this.div.classList.toggle("disabled",!0)}enableEditing(){super.enableEditing(),this.div.classList.toggle("disabled",!1)}fixAndSetPosition(){return super.fixAndSetPosition(Fl(this,go,ko).call(this))}getBaseTranslation(){return[0,0]}getRect(e,t){return super.getRect(e,t,Fl(this,go,ko).call(this))}onceAdded(e){this.annotationElementId||this.parent.addUndoableEditor(this),e&&this.div.focus()}remove(){Fl(this,go,xo).call(this),this._reportTelemetry({action:"deleted"}),super.remove()}rebuild(){this.parent&&(super.rebuild(),null!==this.div&&(Fl(this,go,_o).call(this),this.isAttachedToDOM||this.parent.add(this)))}setParent(e){var t;let n=!1;this.parent&&!e?Fl(this,go,xo).call(this):e&&(Fl(this,go,_o).call(this,e),n=!this.parent&&(null==(t=this.div)?void 0:t.classList.contains("selectedEditor"))),super.setParent(e),this.show(this._isVisible),n&&this.select()}rotate(t){var n,i,r;const{drawLayer:a}=this.parent;let s;Sl(this,oo)?(t=(t-this.rotation+360)%360,s=Fl(n=e,To,Do).call(n,Sl(this,ao).box,t)):s=Fl(i=e,To,Do).call(i,[this.x,this.y,this.width,this.height],t),a.updateProperties(Sl(this,so),{bbox:s,root:{"data-main-rotation":t}}),a.updateProperties(Sl(this,ho),{bbox:Fl(r=e,To,Do).call(r,Sl(this,to).box,t),root:{"data-main-rotation":t}})}render(){if(this.div)return this.div;const e=super.render();Sl(this,uo)&&(e.setAttribute("aria-label",Sl(this,uo)),e.setAttribute("role","mark")),Sl(this,oo)?e.classList.add("free"):this.div.addEventListener("keydown",Fl(this,go,Ao).bind(this),{signal:this._uiManager._signal});const t=Ul(this,ro,document.createElement("div"));e.append(t),t.setAttribute("aria-hidden","true"),t.className="internal",t.style.clipPath=Sl(this,Qs);const[n,i]=this.parentDimensions;return this.setDims(this.width*n,this.height*i),Hx(this,Sl(this,ro),["pointerover","pointerleave"]),this.enableEditing(),e}pointerover(){var e;this.isSelected||null==(e=this.parent)||e.drawLayer.updateProperties(Sl(this,ho),{rootClass:{hovered:!0}})}pointerleave(){var e;this.isSelected||null==(e=this.parent)||e.drawLayer.updateProperties(Sl(this,ho),{rootClass:{hovered:!1}})}_moveCaret(e){switch(this.parent.unselect(this),e){case 0:case 2:Fl(this,go,Eo).call(this,!0);break;case 1:case 3:Fl(this,go,Eo).call(this,!1)}}select(){var e;super.select(),Sl(this,ho)&&(null==(e=this.parent)||e.drawLayer.updateProperties(Sl(this,ho),{rootClass:{hovered:!1,selected:!0}}))}unselect(){var e;super.unselect(),Sl(this,ho)&&(null==(e=this.parent)||e.drawLayer.updateProperties(Sl(this,ho),{rootClass:{selected:!1}}),Sl(this,oo)||Fl(this,go,Eo).call(this,!1))}get _mustFixPosition(){return!Sl(this,oo)}show(e=this._isVisible){super.show(e),this.parent&&(this.parent.drawLayer.updateProperties(Sl(this,so),{rootClass:{hidden:!e}}),this.parent.drawLayer.updateProperties(Sl(this,ho),{rootClass:{hidden:!e}}))}static startHighlighting(e,t,{target:n,x:i,y:r}){const{x:a,y:s,width:o,height:c}=n.getBoundingClientRect(),l=new AbortController,h=e.combinedSignal(l),d=t=>{l.abort(),Fl(this,To,Fo).call(this,e,t)};window.addEventListener("blur",d,{signal:h}),window.addEventListener("pointerup",d,{signal:h}),window.addEventListener("pointerdown",Mx,{capture:!0,passive:!1,signal:h}),window.addEventListener("contextmenu",Fx,{signal:h}),n.addEventListener("pointermove",Fl(this,To,Uo).bind(this,e),{signal:h}),this._freeHighlight=new nA({x:i,y:r},[a,s,o,c],e.scale,this._defaultThickness/2,t,.001),({id:this._freeHighlightId,clipPathId:this._freeHighlightClipId}=e.drawLayer.draw({bbox:[0,0,1,1],root:{viewBox:"0 0 1 1",fill:this._defaultColor,"fill-opacity":this._defaultOpacity},rootClass:{highlight:!0,free:!0},path:{d:this._freeHighlight.toSVGPath()}},!0,!0))}static async deserialize(e,t,n){var i,r,a,s;let o=null;if(e instanceof BD){const{data:{quadPoints:t,rect:n,rotation:i,id:r,color:a,opacity:s,popupRef:c},parent:{page:{pageNumber:l}}}=e;o=e={annotationType:dw.HIGHLIGHT,color:Array.from(a),opacity:s,quadPoints:t,boxes:null,pageIndex:l-1,rect:n.slice(0),rotation:i,id:r,deleted:!1,popupRef:c}}else if(e instanceof WD){const{data:{inkLists:t,rect:n,rotation:i,id:r,color:a,borderStyle:{rawWidth:s},popupRef:c},parent:{page:{pageNumber:l}}}=e;o=e={annotationType:dw.HIGHLIGHT,color:Array.from(a),thickness:s,inkLists:t,boxes:null,pageIndex:l-1,rect:n.slice(0),rotation:i,id:r,deleted:!1,popupRef:c}}const{color:c,quadPoints:l,inkLists:h,opacity:d}=e,u=await super.deserialize(e,t,n);u.color=px.makeHexColor(...c),Ul(u,lo,d||1),h&&Ul(u,fo,e.thickness),u.annotationElementId=e.id||null,u._initialData=o;const[f,p]=u.pageDimensions,[g,m]=u.pageTranslation;if(l){const e=Ul(u,Js,[]);for(let t=0;t<l.length;t+=8)e.push({x:(l[t]-g)/f,y:1-(l[t+1]-m)/p,width:(l[t+2]-l[t])/f,height:(l[t+1]-l[t+5])/p});Fl(i=u,go,mo).call(i),Fl(r=u,go,_o).call(r),u.rotate(u.rotation)}else if(h){Ul(u,oo,!0);const e=h[0],n={x:e[0]-g,y:p-(e[1]-m)},i=new nA(n,[0,0,f,p],1,Sl(u,fo)/2,!0,.001);for(let t=0,a=e.length;t<a;t+=2)n.x=e[t]-g,n.y=p-(e[t+1]-m),i.add(n);const{id:r,clipPathId:o}=t.drawLayer.draw({bbox:[0,0,1,1],root:{viewBox:"0 0 1 1",fill:u.color,"fill-opacity":u._defaultOpacity},rootClass:{highlight:!0,free:!0},path:{d:i.toSVGPath()}},!0,!0);Fl(a=u,go,bo).call(a,{highlightOutlines:i.getOutlines(),highlightId:r,clipPathId:o}),Fl(s=u,go,_o).call(s)}return u}serialize(e=!1){if(this.isEmpty()||e)return null;if(this.deleted)return this.serializeDeleted();const t=this.getRect(0,0),n=r_._colorManager.convert(this.color),i={annotationType:dw.HIGHLIGHT,color:n,opacity:Sl(this,lo),thickness:Sl(this,fo),quadPoints:Fl(this,go,So).call(this),outlines:Fl(this,go,Co).call(this,t),pageIndex:this.pageIndex,rect:t,rotation:Fl(this,go,ko).call(this),structTreeParentId:this._structTreeParentId};return this.annotationElementId&&!Fl(this,go,Mo).call(this,i)?null:(i.id=this.annotationElementId,i)}renderAnnotationElement(e){return e.updateEdited({rect:this.getRect(0,0)}),null}static canCreateNewEmptyEditor(){return!1}};Ks=new WeakMap,Zs=new WeakMap,Js=new WeakMap,Qs=new WeakMap,eo=new WeakMap,to=new WeakMap,no=new WeakMap,io=new WeakMap,ro=new WeakMap,ao=new WeakMap,so=new WeakMap,oo=new WeakMap,co=new WeakMap,lo=new WeakMap,ho=new WeakMap,uo=new WeakMap,fo=new WeakMap,po=new WeakMap,go=new WeakSet,mo=function(){const e=new eA(Sl(this,Js),.001);Ul(this,ao,e.getOutlines()),[this.x,this.y,this.width,this.height]=Sl(this,ao).box;const t=new eA(Sl(this,Js),.0025,.001,"ltr"===this._uiManager.direction);Ul(this,to,t.getOutlines());const{lastPoint:n}=Sl(this,to);Ul(this,co,[(n[0]-this.x)/this.width,(n[1]-this.y)/this.height])},bo=function({highlightOutlines:e,highlightId:t,clipPathId:n}){var i,r;Ul(this,ao,e);if(Ul(this,to,e.getNewOutline(Sl(this,fo)/2+1.5,.0025)),t>=0)Ul(this,so,t),Ul(this,Qs,n),this.parent.drawLayer.finalizeDraw(t,{bbox:e.box,path:{d:e.toSVGPath()}}),Ul(this,ho,this.parent.drawLayer.drawOutline({rootClass:{highlightOutline:!0,free:!0},bbox:Sl(this,to).box,path:{d:Sl(this,to).toSVGPath()}},!0));else if(this.parent){const t=this.parent.viewport.rotation;this.parent.drawLayer.updateProperties(Sl(this,so),{bbox:Fl(i=sA,To,Do).call(i,Sl(this,ao).box,(t-this.rotation+360)%360),path:{d:e.toSVGPath()}}),this.parent.drawLayer.updateProperties(Sl(this,ho),{bbox:Fl(r=sA,To,Do).call(r,Sl(this,to).box,t),path:{d:Sl(this,to).toSVGPath()}})}const[a,s,o,c]=e.box;switch(this.rotation){case 0:this.x=a,this.y=s,this.width=o,this.height=c;break;case 90:{const[e,t]=this.parentDimensions;this.x=s,this.y=1-a,this.width=o*t/e,this.height=c*e/t;break}case 180:this.x=1-a,this.y=1-s,this.width=o,this.height=c;break;case 270:{const[e,t]=this.parentDimensions;this.x=1-s,this.y=a,this.width=o*t/e,this.height=c*e/t;break}}const{lastPoint:l}=Sl(this,to);Ul(this,co,[(l[0]-a)/o,(l[1]-s)/c])},vo=function(e){const t=(e,t)=>{var n,i;this.color=e,Ul(this,lo,t),null==(n=this.parent)||n.drawLayer.updateProperties(Sl(this,so),{root:{fill:e,"fill-opacity":t}}),null==(i=Sl(this,eo))||i.updateColor(e)},n=this.color,i=Sl(this,lo);this.addCommands({cmd:t.bind(this,e,sA._defaultOpacity),undo:t.bind(this,n,i),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:uw.HIGHLIGHT_COLOR,overwriteIfSameType:!0,keepUndo:!0}),this._reportTelemetry({action:"color_changed",color:this._uiManager.highlightColorNames.get(e)},!0)},yo=function(e){const t=Sl(this,fo),n=e=>{Ul(this,fo,e),Fl(this,go,wo).call(this,e)};this.addCommands({cmd:n.bind(this,e),undo:n.bind(this,t),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:uw.INK_THICKNESS,overwriteIfSameType:!0,keepUndo:!0}),this._reportTelemetry({action:"thickness_changed",thickness:e},!0)},wo=function(e){if(!Sl(this,oo))return;Fl(this,go,bo).call(this,{highlightOutlines:Sl(this,ao).getNewOutline(e/2)}),this.fixAndSetPosition();const[t,n]=this.parentDimensions;this.setDims(this.width*t,this.height*n)},xo=function(){null!==Sl(this,so)&&this.parent&&(this.parent.drawLayer.remove(Sl(this,so)),Ul(this,so,null),this.parent.drawLayer.remove(Sl(this,ho)),Ul(this,ho,null))},_o=function(e=this.parent){null===Sl(this,so)&&(({id:Ml(this,so)._,clipPathId:Ml(this,Qs)._}=e.drawLayer.draw({bbox:Sl(this,ao).box,root:{viewBox:"0 0 1 1",fill:this.color,"fill-opacity":Sl(this,lo)},rootClass:{highlight:!0,free:Sl(this,oo)},path:{d:Sl(this,ao).toSVGPath()}},!1,!0)),Ul(this,ho,e.drawLayer.drawOutline({rootClass:{highlightOutline:!0,free:Sl(this,oo)},bbox:Sl(this,to).box,path:{d:Sl(this,to).toSVGPath()}},Sl(this,oo))),Sl(this,ro)&&(Sl(this,ro).style.clipPath=Sl(this,Qs)))},To=new WeakSet,Do=function([e,t,n,i],r){switch(r){case 90:return[1-t-i,e,i,n];case 180:return[1-e-n,1-t-i,n,i];case 270:return[t,1-e-n,i,n]}return[e,t,n,i]},Ao=function(e){sA._keyboardManager.exec(this,e)},Eo=function(e){if(!Sl(this,Ks))return;const t=window.getSelection();e?t.setPosition(Sl(this,Ks),Sl(this,Zs)):t.setPosition(Sl(this,no),Sl(this,io))},ko=function(){return Sl(this,oo)?this.rotation:0},So=function(){if(Sl(this,oo))return null;const[e,t]=this.pageDimensions,[n,i]=this.pageTranslation,r=Sl(this,Js),a=new Float32Array(8*r.length);let s=0;for(const{x:o,y:c,width:l,height:h}of r){const r=o*e+n,d=(1-c)*t+i;a[s]=a[s+4]=r,a[s+1]=a[s+3]=d,a[s+2]=a[s+6]=r+l*e,a[s+5]=a[s+7]=d-h*t,s+=8}return a},Co=function(e){return Sl(this,ao).serialize(e,Fl(this,go,ko).call(this))},Uo=function(e,t){this._freeHighlight.add(t)&&e.drawLayer.updateProperties(this._freeHighlightId,{path:{d:this._freeHighlight.toSVGPath()}})},Fo=function(e,t){this._freeHighlight.isEmpty()?e.drawLayer.remove(this._freeHighlightId):e.createAndAddNewEditor(t,!1,{highlightId:this._freeHighlightId,highlightOutlines:this._freeHighlight.getOutlines(),clipPathId:this._freeHighlightClipId,methodOfCreation:"main_toolbar"}),this._freeHighlightId=-1,this._freeHighlight=null,this._freeHighlightClipId=""},Mo=function(e){const{color:t}=this._initialData;return e.color.some(((e,n)=>e!==t[n]))},Cl(sA,To),El(sA,"_defaultColor",null),El(sA,"_defaultOpacity",1),El(sA,"_defaultThickness",12),El(sA,"_type","highlight"),El(sA,"_editorType",dw.HIGHLIGHT),El(sA,"_freeHighlightId",-1),El(sA,"_freeHighlight",null),El(sA,"_freeHighlightClipId","");let oA=sA;class cA{constructor(){Cl(this,Ro,Object.create(null))}updateProperty(e,t){this[e]=t,this.updateSVGProperty(e,t)}updateProperties(e){if(e)for(const[t,n]of Object.entries(e))this.updateProperty(t,n)}updateSVGProperty(e,t){Sl(this,Ro)[e]=t}toSVGProperties(){const e=Sl(this,Ro);return Ul(this,Ro,Object.create(null)),{root:e}}reset(){Ul(this,Ro,Object.create(null))}updateAll(e=this){this.updateProperties(e)}clone(){Zw("Not implemented")}}Ro=new WeakMap;const lA=class e extends r_{constructor(e){super(e),Cl(this,Ho),Cl(this,Io,null),Cl(this,Oo),El(this,"_drawId",null),Ul(this,Oo,e.mustBeCommitted||!1),e.drawOutlines&&(Fl(this,Ho,Vo).call(this,e),Fl(this,Ho,$o).call(this))}static _mergeSVGProperties(e,t){const n=new Set(Object.keys(e));for(const[i,r]of Object.entries(t))n.has(i)?Object.assign(e[i],r):e[i]=r;return e}static getDefaultDrawingOptions(e){Zw("Not implemented")}static get typesMap(){Zw("Not implemented")}static get isDrawer(){return!0}static get supportMultipleDrawings(){return!1}static updateDefaultParams(t,n){const i=this.typesMap.get(t);i&&this._defaultDrawingOptions.updateProperty(i,n),this._currentParent&&(Sl(e,No).updateProperty(i,n),this._currentParent.drawLayer.updateProperties(this._currentDrawId,this._defaultDrawingOptions.toSVGProperties()))}updateParams(e,t){const n=this.constructor.typesMap.get(e);n&&this._updateProperty(e,n,t)}static get defaultPropertiesToUpdate(){const e=[],t=this._defaultDrawingOptions;for(const[n,i]of this.typesMap)e.push([n,t[i]]);return e}get propertiesToUpdate(){const e=[],{_drawingOptions:t}=this;for(const[n,i]of this.constructor.typesMap)e.push([n,t[i]]);return e}_updateProperty(e,t,n){const i=this._drawingOptions,r=i[t],a=e=>{var n;i.updateProperty(t,e);const r=Sl(this,Io).updateProperty(t,e);r&&Fl(this,Ho,Ko).call(this,r),null==(n=this.parent)||n.drawLayer.updateProperties(this._drawId,i.toSVGProperties())};this.addCommands({cmd:a.bind(this,n),undo:a.bind(this,r),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:e,overwriteIfSameType:!0,keepUndo:!0})}_onResizing(){var t;null==(t=this.parent)||t.drawLayer.updateProperties(this._drawId,e._mergeSVGProperties(Sl(this,Io).getPathResizingSVGProperties(Fl(this,Ho,Yo).call(this)),{bbox:Fl(this,Ho,Zo).call(this)}))}_onResized(){var t;null==(t=this.parent)||t.drawLayer.updateProperties(this._drawId,e._mergeSVGProperties(Sl(this,Io).getPathResizedSVGProperties(Fl(this,Ho,Yo).call(this)),{bbox:Fl(this,Ho,Zo).call(this)}))}_onTranslating(e,t){var n;null==(n=this.parent)||n.drawLayer.updateProperties(this._drawId,{bbox:Fl(this,Ho,Zo).call(this,e,t)})}_onTranslated(){var t;null==(t=this.parent)||t.drawLayer.updateProperties(this._drawId,e._mergeSVGProperties(Sl(this,Io).getPathTranslatedSVGProperties(Fl(this,Ho,Yo).call(this),this.parentDimensions),{bbox:Fl(this,Ho,Zo).call(this)}))}_onStartDragging(){var e;null==(e=this.parent)||e.drawLayer.updateProperties(this._drawId,{rootClass:{moving:!0}})}_onStopDragging(){var e;null==(e=this.parent)||e.drawLayer.updateProperties(this._drawId,{rootClass:{moving:!1}})}commit(){super.commit(),this.disableEditMode(),this.disableEditing()}disableEditing(){super.disableEditing(),this.div.classList.toggle("disabled",!0)}enableEditing(){super.enableEditing(),this.div.classList.toggle("disabled",!1)}getBaseTranslation(){return[0,0]}get isResizable(){return!0}onceAdded(e){this.annotationElementId||this.parent.addUndoableEditor(this),this._isDraggable=!0,Sl(this,Oo)&&(Ul(this,Oo,!1),this.commit(),this.parent.setSelected(this),e&&this.isOnScreen&&this.div.focus())}remove(){Fl(this,Ho,Xo).call(this),super.remove()}rebuild(){this.parent&&(super.rebuild(),null!==this.div&&(Fl(this,Ho,$o).call(this),Fl(this,Ho,Ko).call(this,Sl(this,Io).box),this.isAttachedToDOM||this.parent.add(this)))}setParent(e){var t;let n=!1;this.parent&&!e?(this._uiManager.removeShouldRescale(this),Fl(this,Ho,Xo).call(this)):e&&(this._uiManager.addShouldRescale(this),Fl(this,Ho,$o).call(this,e),n=!this.parent&&(null==(t=this.div)?void 0:t.classList.contains("selectedEditor"))),super.setParent(e),n&&this.select()}rotate(){this.parent&&this.parent.drawLayer.updateProperties(this._drawId,e._mergeSVGProperties({bbox:Fl(this,Ho,Zo).call(this)},Sl(this,Io).updateRotation((this.parentRotation-this.rotation+360)%360)))}onScaleChanging(){this.parent&&Fl(this,Ho,Ko).call(this,Sl(this,Io).updateParentDimensions(this.parentDimensions,this.parent.scale))}static onScaleChangingWhenDrawing(){}render(){if(this.div)return this.div;const e=super.render();e.classList.add("draw");const t=document.createElement("div");e.append(t),t.setAttribute("aria-hidden","true"),t.className="internal";const[n,i]=this.parentDimensions;return this.setDims(this.width*n,this.height*i),this._uiManager.addShouldRescale(this),this.disableEditing(),e}static createDrawerInstance(e,t,n,i,r){Zw("Not implemented")}static startDrawing(t,n,i,r){var a;const{target:s,offsetX:o,offsetY:c,pointerId:l,pointerType:h}=r;if(Sl(e,Bo)&&Sl(e,Bo)!==h)return;const{viewport:{rotation:d}}=t,{width:u,height:f}=s.getBoundingClientRect(),p=Ul(e,Po,new AbortController),g=t.combinedSignal(p);Sl(e,Wo)||Ul(e,Wo,l),Sl(e,Bo)??Ul(e,Bo,h),window.addEventListener("pointerup",(t=>{var n;Sl(e,Wo)===t.pointerId?this._endDraw(t):null==(n=Sl(e,jo))||n.delete(t.pointerId)}),{signal:g}),window.addEventListener("pointercancel",(t=>{var n;Sl(e,Wo)===t.pointerId?this._currentParent.endDrawingSession():null==(n=Sl(e,jo))||n.delete(t.pointerId)}),{signal:g}),window.addEventListener("pointerdown",(t=>{Sl(e,Bo)===t.pointerType&&((Sl(e,jo)||Ul(e,jo,new Set)).add(t.pointerId),Sl(e,No).isCancellable()&&(Sl(e,No).removeLastElement(),Sl(e,No).isEmpty()?this._currentParent.endDrawingSession(!0):this._endDraw(null)))}),{capture:!0,passive:!1,signal:g}),window.addEventListener("contextmenu",Fx,{signal:g}),s.addEventListener("pointermove",this._drawMove.bind(this),{signal:g}),s.addEventListener("touchmove",(t=>{t.timeStamp===Sl(e,zo)&&Mx(t)}),{signal:g}),t.toggleDrawing(),null==(a=n._editorUndoBar)||a.hide(),Sl(e,No)?t.drawLayer.updateProperties(this._currentDrawId,Sl(e,No).startNew(o,c,u,f,d)):(n.updateUIForDefaultProperties(this),Ul(e,No,this.createDrawerInstance(o,c,u,f,d)),Ul(e,Lo,this.getDefaultDrawingOptions()),this._currentParent=t,({id:this._currentDrawId}=t.drawLayer.draw(this._mergeSVGProperties(Sl(e,Lo).toSVGProperties(),Sl(e,No).defaultSVGProperties),!0,!1)))}static _drawMove(t){var n;if(Ul(e,zo,-1),!Sl(e,No))return;const{offsetX:i,offsetY:r,pointerId:a}=t;Sl(e,Wo)===a&&((null==(n=Sl(e,jo))?void 0:n.size)>=1?this._endDraw(t):(this._currentParent.drawLayer.updateProperties(this._currentDrawId,Sl(e,No).add(i,r)),Ul(e,zo,t.timeStamp),Mx(t)))}static _cleanup(t){t&&(this._currentDrawId=-1,this._currentParent=null,Ul(e,No,null),Ul(e,Lo,null),Ul(e,Bo,null),Ul(e,zo,NaN)),Sl(e,Po)&&(Sl(e,Po).abort(),Ul(e,Po,null),Ul(e,Wo,NaN),Ul(e,jo,null))}static _endDraw(t){const n=this._currentParent;if(n)if(n.toggleDrawing(!0),this._cleanup(!1),t&&n.drawLayer.updateProperties(this._currentDrawId,Sl(e,No).end(t.offsetX,t.offsetY)),this.supportMultipleDrawings){const t=Sl(e,No),i=this._currentDrawId,r=t.getLastElement();n.addCommands({cmd:()=>{n.drawLayer.updateProperties(i,t.setLastElement(r))},undo:()=>{n.drawLayer.updateProperties(i,t.removeLastElement())},mustExec:!1,type:uw.DRAW_STEP})}else this.endDrawing(!1)}static endDrawing(t){const n=this._currentParent;if(!n)return null;if(n.toggleDrawing(!0),n.cleanUndoStack(uw.DRAW_STEP),!Sl(e,No).isEmpty()){const{pageDimensions:[i,r],scale:a}=n,s=n.createAndAddNewEditor({offsetX:0,offsetY:0},!1,{drawId:this._currentDrawId,drawOutlines:Sl(e,No).getOutlines(i*a,r*a,a,this._INNER_MARGIN),drawingOptions:Sl(e,Lo),mustBeCommitted:!t});return this._cleanup(!0),s}return n.drawLayer.remove(this._currentDrawId),this._cleanup(!0),null}createDrawingOptions(e){}static deserializeDraw(e,t,n,i,r,a){Zw("Not implemented")}static async deserialize(e,t,n){var i,r;const{rawDims:{pageWidth:a,pageHeight:s,pageX:o,pageY:c}}=t.viewport,l=this.deserializeDraw(o,c,a,s,this._INNER_MARGIN,e),h=await super.deserialize(e,t,n);return h.createDrawingOptions(e),Fl(i=h,Ho,Vo).call(i,{drawOutlines:l}),Fl(r=h,Ho,$o).call(r),h.onScaleChanging(),h.rotate(),h}serializeDraw(e){const[t,n]=this.pageTranslation,[i,r]=this.pageDimensions;return Sl(this,Io).serialize([t,n,i,r],e)}renderAnnotationElement(e){return e.updateEdited({rect:this.getRect(0,0)}),null}static canCreateNewEmptyEditor(){return!1}};Io=new WeakMap,Oo=new WeakMap,No=new WeakMap,Po=new WeakMap,Lo=new WeakMap,Wo=new WeakMap,Bo=new WeakMap,jo=new WeakMap,zo=new WeakMap,Ho=new WeakSet,Vo=function({drawOutlines:e,drawId:t,drawingOptions:n}){Ul(this,Io,e),this._drawingOptions||(this._drawingOptions=n),t>=0?(this._drawId=t,this.parent.drawLayer.finalizeDraw(t,e.defaultProperties)):this._drawId=Fl(this,Ho,Go).call(this,e,this.parent),Fl(this,Ho,Ko).call(this,e.box)},Go=function(e,t){const{id:n}=t.drawLayer.draw(lA._mergeSVGProperties(this._drawingOptions.toSVGProperties(),e.defaultSVGProperties),!1,!1);return n},Xo=function(){null!==this._drawId&&this.parent&&(this.parent.drawLayer.remove(this._drawId),this._drawId=null,this._drawingOptions.reset())},$o=function(e=this.parent){null!==this._drawId&&this.parent===e||(null===this._drawId?(this._drawingOptions.updateAll(),this._drawId=Fl(this,Ho,Go).call(this,Sl(this,Io),e)):this.parent.drawLayer.updateParent(this._drawId,e.drawLayer))},qo=function([e,t,n,i]){const{parentDimensions:[r,a],rotation:s}=this;switch(s){case 90:return[t,1-e,n*(a/r),i*(r/a)];case 180:return[1-e,1-t,n,i];case 270:return[1-t,e,n*(a/r),i*(r/a)];default:return[e,t,n,i]}},Yo=function(){const{x:e,y:t,width:n,height:i,parentDimensions:[r,a],rotation:s}=this;switch(s){case 90:return[1-t,e,n*(r/a),i*(a/r)];case 180:return[1-e,1-t,n,i];case 270:return[t,1-e,n*(r/a),i*(a/r)];default:return[e,t,n,i]}},Ko=function(e){if([this.x,this.y,this.width,this.height]=Fl(this,Ho,qo).call(this,e),this.div){this.fixAndSetPosition();const[e,t]=this.parentDimensions;this.setDims(this.width*e,this.height*t)}this._onResized()},Zo=function(){const{x:e,y:t,width:n,height:i,rotation:r,parentRotation:a,parentDimensions:[s,o]}=this;switch((4*r+a)/90){case 1:return[1-t-i,e,i,n];case 2:return[1-e-n,1-t-i,n,i];case 3:return[t,1-e-n,i,n];case 4:return[e,t-n*(s/o),i*(o/s),n*(s/o)];case 5:return[1-t,e,n*(s/o),i*(o/s)];case 6:return[1-e-i*(o/s),1-t,i*(o/s),n*(s/o)];case 7:return[t-n*(s/o),1-e-i*(o/s),n*(s/o),i*(o/s)];case 8:return[e-n,t-i,n,i];case 9:return[1-t,e-n,i,n];case 10:return[1-e,1-t,n,i];case 11:return[t-i,1-e,i,n];case 12:return[e-i*(o/s),t,i*(o/s),n*(s/o)];case 13:return[1-t-n*(s/o),e-i*(o/s),n*(s/o),i*(o/s)];case 14:return[1-e,1-t-n*(s/o),i*(o/s),n*(s/o)];case 15:return[t,1-e,n*(s/o),i*(o/s)];default:return[e,t,n,i]}},El(lA,"_currentDrawId",-1),El(lA,"_currentParent",null),Cl(lA,No,null),Cl(lA,Po,null),Cl(lA,Lo,null),Cl(lA,Wo,NaN),Cl(lA,Bo,null),Cl(lA,jo,null),Cl(lA,zo,NaN),El(lA,"_INNER_MARGIN",3);let hA=lA;class dA{constructor(e,t,n,i,r,a){Cl(this,lc),Cl(this,Jo,new Float64Array(6)),Cl(this,Qo),Cl(this,ec),Cl(this,tc),Cl(this,nc),Cl(this,ic),Cl(this,rc,""),Cl(this,ac,0),Cl(this,sc,new uA),Cl(this,oc),Cl(this,cc),Ul(this,oc,n),Ul(this,cc,i),Ul(this,tc,r),Ul(this,nc,a),[e,t]=Fl(this,lc,hc).call(this,e,t);const s=Ul(this,Qo,[NaN,NaN,NaN,NaN,e,t]);Ul(this,ic,[e,t]),Ul(this,ec,[{line:s,points:Sl(this,ic)}]),Sl(this,Jo).set(s,0)}updateProperty(e,t){"stroke-width"===e&&Ul(this,nc,t)}isEmpty(){return!Sl(this,ec)||0===Sl(this,ec).length}isCancellable(){return Sl(this,ic).length<=10}add(e,t){[e,t]=Fl(this,lc,hc).call(this,e,t);const[n,i,r,a]=Sl(this,Jo).subarray(2,6),s=e-r,o=t-a;return Math.hypot(Sl(this,oc)*s,Sl(this,cc)*o)<=2?null:(Sl(this,ic).push(e,t),isNaN(n)?(Sl(this,Jo).set([r,a,e,t],2),Sl(this,Qo).push(NaN,NaN,NaN,NaN,e,t),{path:{d:this.toSVGPath()}}):(isNaN(Sl(this,Jo)[0])&&Sl(this,Qo).splice(6,6),Sl(this,Jo).set([n,i,r,a,e,t],0),Sl(this,Qo).push(...KD.createBezierPoints(n,i,r,a,e,t)),{path:{d:this.toSVGPath()}}))}end(e,t){const n=this.add(e,t);return n||(2===Sl(this,ic).length?{path:{d:this.toSVGPath()}}:null)}startNew(e,t,n,i,r){Ul(this,oc,n),Ul(this,cc,i),Ul(this,tc,r),[e,t]=Fl(this,lc,hc).call(this,e,t);const a=Ul(this,Qo,[NaN,NaN,NaN,NaN,e,t]);Ul(this,ic,[e,t]);const s=Sl(this,ec).at(-1);return s&&(s.line=new Float32Array(s.line),s.points=new Float32Array(s.points)),Sl(this,ec).push({line:a,points:Sl(this,ic)}),Sl(this,Jo).set(a,0),Ul(this,ac,0),this.toSVGPath(),null}getLastElement(){return Sl(this,ec).at(-1)}setLastElement(e){return Sl(this,ec)?(Sl(this,ec).push(e),Ul(this,Qo,e.line),Ul(this,ic,e.points),Ul(this,ac,0),{path:{d:this.toSVGPath()}}):Sl(this,sc).setLastElement(e)}removeLastElement(){if(!Sl(this,ec))return Sl(this,sc).removeLastElement();Sl(this,ec).pop(),Ul(this,rc,"");for(let e=0,t=Sl(this,ec).length;e<t;e++){const{line:t,points:n}=Sl(this,ec)[e];Ul(this,Qo,t),Ul(this,ic,n),Ul(this,ac,0),this.toSVGPath()}return{path:{d:Sl(this,rc)}}}toSVGPath(){const e=KD.svgRound(Sl(this,Qo)[4]),t=KD.svgRound(Sl(this,Qo)[5]);if(2===Sl(this,ic).length)return Ul(this,rc,`${Sl(this,rc)} M ${e} ${t} Z`),Sl(this,rc);if(Sl(this,ic).length<=6){const n=Sl(this,rc).lastIndexOf("M");Ul(this,rc,`${Sl(this,rc).slice(0,n)} M ${e} ${t}`),Ul(this,ac,6)}if(4===Sl(this,ic).length){const e=KD.svgRound(Sl(this,Qo)[10]),t=KD.svgRound(Sl(this,Qo)[11]);return Ul(this,rc,`${Sl(this,rc)} L ${e} ${t}`),Ul(this,ac,12),Sl(this,rc)}const n=[];0===Sl(this,ac)&&(n.push(`M ${e} ${t}`),Ul(this,ac,6));for(let i=Sl(this,ac),r=Sl(this,Qo).length;i<r;i+=6){const[e,t,r,a,s,o]=Sl(this,Qo).slice(i,i+6).map(KD.svgRound);n.push(`C${e} ${t} ${r} ${a} ${s} ${o}`)}return Ul(this,rc,Sl(this,rc)+n.join(" ")),Ul(this,ac,Sl(this,Qo).length),Sl(this,rc)}getOutlines(e,t,n,i){const r=Sl(this,ec).at(-1);return r.line=new Float32Array(r.line),r.points=new Float32Array(r.points),Sl(this,sc).build(Sl(this,ec),e,t,n,Sl(this,tc),Sl(this,nc),i),Ul(this,Jo,null),Ul(this,Qo,null),Ul(this,ec,null),Ul(this,rc,null),Sl(this,sc)}get defaultSVGProperties(){return{root:{viewBox:"0 0 10000 10000"},rootClass:{draw:!0},bbox:[0,0,1,1]}}}Jo=new WeakMap,Qo=new WeakMap,ec=new WeakMap,tc=new WeakMap,nc=new WeakMap,ic=new WeakMap,rc=new WeakMap,ac=new WeakMap,sc=new WeakMap,oc=new WeakMap,cc=new WeakMap,lc=new WeakSet,hc=function(e,t){return KD._normalizePoint(e,t,Sl(this,oc),Sl(this,cc),Sl(this,tc))};dc=new WeakMap,uc=new WeakMap,fc=new WeakMap,pc=new WeakMap,gc=new WeakMap,mc=new WeakMap,bc=new WeakMap,vc=new WeakMap,yc=new WeakMap,wc=new WeakSet,xc=function(e=Sl(this,yc)){const t=Sl(this,fc)+e/2*Sl(this,bc);return Sl(this,vc)%180==0?[t/Sl(this,gc),t/Sl(this,mc)]:[t/Sl(this,mc),t/Sl(this,gc)]},_c=function(){const[e,t,n,i]=Sl(this,dc),[r,a]=Fl(this,wc,xc).call(this,0);return[e+r,t+a,n-2*r,i-2*a]},Tc=function(){const e=Ul(this,dc,new Float32Array([1/0,1/0,-1/0,-1/0]));for(const{line:i}of Sl(this,pc)){if(i.length<=12){for(let t=4,n=i.length;t<n;t+=6){const[n,r]=i.subarray(t,t+2);e[0]=Math.min(e[0],n),e[1]=Math.min(e[1],r),e[2]=Math.max(e[2],n),e[3]=Math.max(e[3],r)}continue}let t=i[4],n=i[5];for(let r=6,a=i.length;r<a;r+=6){const[a,s,o,c,l,h]=i.subarray(r,r+6);px.bezierBoundingBox(t,n,a,s,o,c,l,h,e),t=l,n=h}}const[t,n]=Fl(this,wc,xc).call(this);e[0]=Math.min(1,Math.max(0,e[0]-t)),e[1]=Math.min(1,Math.max(0,e[1]-n)),e[2]=Math.min(1,Math.max(0,e[2]+t)),e[3]=Math.min(1,Math.max(0,e[3]+n)),e[2]-=e[0],e[3]-=e[1]},Dc=function(e){const[t,n]=Fl(this,wc,xc).call(this);Ul(this,yc,e);const[i,r]=Fl(this,wc,xc).call(this),[a,s]=[i-t,r-n],o=Sl(this,dc);return o[0]-=a,o[1]-=s,o[2]+=2*a,o[3]+=2*s,o};let uA=class e extends KD{constructor(){super(...arguments),Cl(this,wc),Cl(this,dc),Cl(this,uc,0),Cl(this,fc),Cl(this,pc),Cl(this,gc),Cl(this,mc),Cl(this,bc),Cl(this,vc),Cl(this,yc)}build(e,t,n,i,r,a,s){Ul(this,gc,t),Ul(this,mc,n),Ul(this,bc,i),Ul(this,vc,r),Ul(this,yc,a),Ul(this,fc,s??0),Ul(this,pc,e),Fl(this,wc,Tc).call(this)}setLastElement(e){return Sl(this,pc).push(e),{path:{d:this.toSVGPath()}}}removeLastElement(){return Sl(this,pc).pop(),{path:{d:this.toSVGPath()}}}toSVGPath(){const e=[];for(const{line:t}of Sl(this,pc))if(e.push(`M${KD.svgRound(t[4])} ${KD.svgRound(t[5])}`),6!==t.length)if(12!==t.length)for(let n=6,i=t.length;n<i;n+=6){const[i,r,a,s,o,c]=t.subarray(n,n+6).map(KD.svgRound);e.push(`C${i} ${r} ${a} ${s} ${o} ${c}`)}else e.push(`L${KD.svgRound(t[10])} ${KD.svgRound(t[11])}`);else e.push("Z");return e.join("")}serialize([e,t,n,i],r){const a=[],s=[],[o,c,l,h]=Fl(this,wc,_c).call(this);let d,u,f,p,g,m,b,v,y;switch(Sl(this,vc)){case 0:y=KD._rescale,d=e,u=t+i,f=n,p=-i,g=e+o*n,m=t+(1-c-h)*i,b=e+(o+l)*n,v=t+(1-c)*i;break;case 90:y=KD._rescaleAndSwap,d=e,u=t,f=n,p=i,g=e+c*n,m=t+o*i,b=e+(c+h)*n,v=t+(o+l)*i;break;case 180:y=KD._rescale,d=e+n,u=t,f=-n,p=i,g=e+(1-o-l)*n,m=t+c*i,b=e+(1-o)*n,v=t+(c+h)*i;break;case 270:y=KD._rescaleAndSwap,d=e+n,u=t+i,f=-n,p=-i,g=e+(1-c-h)*n,m=t+(1-o-l)*i,b=e+(1-c)*n,v=t+(1-o)*i}for(const{line:w,points:x}of Sl(this,pc))a.push(y(w,d,u,f,p,r?new Array(w.length):null)),s.push(y(x,d,u,f,p,r?new Array(x.length):null));return{lines:a,points:s,rect:[g,m,b,v]}}static deserialize(t,n,i,r,a,{paths:{lines:s,points:o},rotation:c,thickness:l}){const h=[];let d,u,f,p,g;switch(c){case 0:g=KD._rescale,d=-t/i,u=n/r+1,f=1/i,p=-1/r;break;case 90:g=KD._rescaleAndSwap,d=-n/r,u=-t/i,f=1/r,p=1/i;break;case 180:g=KD._rescale,d=t/i+1,u=-n/r,f=-1/i,p=1/r;break;case 270:g=KD._rescaleAndSwap,d=n/r+1,u=t/i+1,f=-1/r,p=-1/i}if(!s){s=[];for(const e of o){const t=e.length;if(2===t){s.push(new Float32Array([NaN,NaN,NaN,NaN,e[0],e[1]]));continue}if(4===t){s.push(new Float32Array([NaN,NaN,NaN,NaN,e[0],e[1],NaN,NaN,NaN,NaN,e[2],e[3]]));continue}const n=new Float32Array(3*(t-2));s.push(n);let[i,r,a,o]=e.subarray(0,4);n.set([NaN,NaN,NaN,NaN,i,r],0);for(let s=4;s<t;s+=2){const t=e[s],c=e[s+1];n.set(KD.createBezierPoints(i,r,a,o,t,c),3*(s-2)),[i,r,a,o]=[a,o,t,c]}}}for(let e=0,b=s.length;e<b;e++)h.push({line:g(s[e].map((e=>e??NaN)),d,u,f,p),points:g(o[e].map((e=>e??NaN)),d,u,f,p)});const m=new e;return m.build(h,i,r,1,c,l,a),m}get box(){return Sl(this,dc)}updateProperty(e,t){return"stroke-width"===e?Fl(this,wc,Dc).call(this,t):null}updateParentDimensions([e,t],n){const[i,r]=Fl(this,wc,xc).call(this);Ul(this,gc,e),Ul(this,mc,t),Ul(this,bc,n);const[a,s]=Fl(this,wc,xc).call(this),o=a-i,c=s-r,l=Sl(this,dc);return l[0]-=o,l[1]-=c,l[2]+=2*o,l[3]+=2*c,l}updateRotation(e){return Ul(this,uc,e),{path:{transform:this.rotationTransform}}}get viewBox(){return Sl(this,dc).map(KD.svgRound).join(" ")}get defaultProperties(){const[e,t]=Sl(this,dc);return{root:{viewBox:this.viewBox},path:{"transform-origin":`${KD.svgRound(e)} ${KD.svgRound(t)}`}}}get rotationTransform(){const[,,e,t]=Sl(this,dc);let n=0,i=0,r=0,a=0,s=0,o=0;switch(Sl(this,uc)){case 90:i=t/e,r=-e/t,s=e;break;case 180:n=-1,a=-1,s=e,o=t;break;case 270:i=-t/e,r=e/t,o=t;break;default:return""}return`matrix(${n} ${i} ${r} ${a} ${KD.svgRound(s)} ${KD.svgRound(o)})`}getPathResizingSVGProperties([e,t,n,i]){const[r,a]=Fl(this,wc,xc).call(this),[s,o,c,l]=Sl(this,dc);if(Math.abs(c-r)<=KD.PRECISION||Math.abs(l-a)<=KD.PRECISION){const r=e+n/2-(s+c/2),a=t+i/2-(o+l/2);return{path:{"transform-origin":`${KD.svgRound(e)} ${KD.svgRound(t)}`,transform:`${this.rotationTransform} translate(${r} ${a})`}}}const h=(n-2*r)/(c-2*r),d=(i-2*a)/(l-2*a),u=c/n,f=l/i;return{path:{"transform-origin":`${KD.svgRound(s)} ${KD.svgRound(o)}`,transform:`${this.rotationTransform} scale(${u} ${f}) translate(${KD.svgRound(r)} ${KD.svgRound(a)}) scale(${h} ${d}) translate(${KD.svgRound(-r)} ${KD.svgRound(-a)})`}}}getPathResizedSVGProperties([e,t,n,i]){const[r,a]=Fl(this,wc,xc).call(this),s=Sl(this,dc),[o,c,l,h]=s;if(s[0]=e,s[1]=t,s[2]=n,s[3]=i,Math.abs(l-r)<=KD.PRECISION||Math.abs(h-a)<=KD.PRECISION){const r=e+n/2-(o+l/2),a=t+i/2-(c+h/2);for(const{line:e,points:t}of Sl(this,pc))KD._translate(e,r,a,e),KD._translate(t,r,a,t);return{root:{viewBox:this.viewBox},path:{"transform-origin":`${KD.svgRound(e)} ${KD.svgRound(t)}`,transform:this.rotationTransform||null,d:this.toSVGPath()}}}const d=(n-2*r)/(l-2*r),u=(i-2*a)/(h-2*a),f=-d*(o+r)+e+r,p=-u*(c+a)+t+a;if(1!==d||1!==u||0!==f||0!==p)for(const{line:g,points:m}of Sl(this,pc))KD._rescale(g,f,p,d,u,g),KD._rescale(m,f,p,d,u,m);return{root:{viewBox:this.viewBox},path:{"transform-origin":`${KD.svgRound(e)} ${KD.svgRound(t)}`,transform:this.rotationTransform||null,d:this.toSVGPath()}}}getPathTranslatedSVGProperties([e,t],n){const[i,r]=n,a=Sl(this,dc),s=e-a[0],o=t-a[1];if(Sl(this,gc)===i&&Sl(this,mc)===r)for(const{line:c,points:l}of Sl(this,pc))KD._translate(c,s,o,c),KD._translate(l,s,o,l);else{const e=Sl(this,gc)/i,t=Sl(this,mc)/r;Ul(this,gc,i),Ul(this,mc,r);for(const{line:n,points:i}of Sl(this,pc))KD._rescale(n,s,o,e,t,n),KD._rescale(i,s,o,e,t,i);a[2]*=e,a[3]*=t}return a[0]=e,a[1]=t,{root:{viewBox:this.viewBox},path:{d:this.toSVGPath(),"transform-origin":`${KD.svgRound(e)} ${KD.svgRound(t)}`}}}get defaultSVGProperties(){const e=Sl(this,dc);return{root:{viewBox:this.viewBox},rootClass:{draw:!0},path:{d:this.toSVGPath(),"transform-origin":`${KD.svgRound(e[0])} ${KD.svgRound(e[1])}`,transform:this.rotationTransform||null},bbox:e}}};Ac=new WeakMap;let fA=class e extends cA{constructor(e){super(),Cl(this,Ac),Ul(this,Ac,e),super.updateProperties({fill:"none",stroke:r_._defaultLineColor,"stroke-opacity":1,"stroke-width":1,"stroke-linecap":"round","stroke-linejoin":"round","stroke-miterlimit":10})}updateSVGProperty(e,t){"stroke-width"===e&&(t??(t=this["stroke-width"]),t*=Sl(this,Ac).realScale),super.updateSVGProperty(e,t)}clone(){const t=new e(Sl(this,Ac));return t.updateAll(this),t}};const pA=class e extends hA{constructor(e){super({...e,name:"inkEditor"}),Cl(this,Ec),this._willKeepAspectRatio=!0}static initialize(e,t){r_.initialize(e,t),this._defaultDrawingOptions=new fA(t.viewParameters)}static getDefaultDrawingOptions(e){const t=this._defaultDrawingOptions.clone();return t.updateProperties(e),t}static get supportMultipleDrawings(){return!0}static get typesMap(){return ex(this,"typesMap",new Map([[uw.INK_THICKNESS,"stroke-width"],[uw.INK_COLOR,"stroke"],[uw.INK_OPACITY,"stroke-opacity"]]))}static createDrawerInstance(e,t,n,i,r){return new dA(e,t,n,i,r,this._defaultDrawingOptions["stroke-width"])}static deserializeDraw(e,t,n,i,r,a){return uA.deserialize(e,t,n,i,r,a)}static async deserialize(e,t,n){let i=null;if(e instanceof WD){const{data:{inkLists:t,rect:n,rotation:r,id:a,color:s,opacity:o,borderStyle:{rawWidth:c},popupRef:l},parent:{page:{pageNumber:h}}}=e;i=e={annotationType:dw.INK,color:Array.from(s),thickness:c,opacity:o,paths:{points:t},boxes:null,pageIndex:h-1,rect:n.slice(0),rotation:r,id:a,deleted:!1,popupRef:l}}const r=await super.deserialize(e,t,n);return r.annotationElementId=e.id||null,r._initialData=i,r}onScaleChanging(){if(!this.parent)return;super.onScaleChanging();const{_drawId:e,_drawingOptions:t,parent:n}=this;t.updateSVGProperty("stroke-width"),n.drawLayer.updateProperties(e,t.toSVGProperties())}static onScaleChangingWhenDrawing(){const e=this._currentParent;e&&(super.onScaleChangingWhenDrawing(),this._defaultDrawingOptions.updateSVGProperty("stroke-width"),e.drawLayer.updateProperties(this._currentDrawId,this._defaultDrawingOptions.toSVGProperties()))}createDrawingOptions({color:t,thickness:n,opacity:i}){this._drawingOptions=e.getDefaultDrawingOptions({stroke:px.makeHexColor(...t),"stroke-width":n,"stroke-opacity":i})}serialize(e=!1){if(this.isEmpty())return null;if(this.deleted)return this.serializeDeleted();const{lines:t,points:n,rect:i}=this.serializeDraw(e),{_drawingOptions:{stroke:r,"stroke-opacity":a,"stroke-width":s}}=this,o={annotationType:dw.INK,color:r_._colorManager.convert(r),opacity:a,thickness:s,paths:{lines:t,points:n},pageIndex:this.pageIndex,rect:i,rotation:this.rotation,structTreeParentId:this._structTreeParentId};return e?o:this.annotationElementId&&!Fl(this,Ec,kc).call(this,o)?null:(o.id=this.annotationElementId,o)}renderAnnotationElement(e){const{points:t,rect:n}=this.serializeDraw(!1);return e.updateEdited({rect:n,thickness:this._drawingOptions["stroke-width"],points:t}),null}};Ec=new WeakSet,kc=function(e){const{color:t,thickness:n,opacity:i,pageIndex:r}=this._initialData;return this._hasBeenMoved||this._hasBeenResized||e.color.some(((e,n)=>e!==t[n]))||e.thickness!==n||e.opacity!==i||e.pageIndex!==r},El(pA,"_type","ink"),El(pA,"_editorType",dw.INK),El(pA,"_defaultDrawingOptions",null);let gA=pA;const mA=class extends r_{constructor(e){super({...e,name:"stampEditor"}),Cl(this,Lc),Cl(this,Sc,null),Cl(this,Cc,null),Cl(this,Uc,null),Cl(this,Fc,null),Cl(this,Mc,null),Cl(this,Rc,""),Cl(this,Ic,null),Cl(this,Oc,null),Cl(this,Nc,!1),Cl(this,Pc,!1),Ul(this,Fc,e.bitmapUrl),Ul(this,Mc,e.bitmapFile)}static initialize(e,t){r_.initialize(e,t)}static get supportedTypes(){return ex(this,"supportedTypes",["apng","avif","bmp","gif","jpeg","png","svg+xml","webp","x-icon"].map((e=>`image/${e}`)))}static get supportedTypesStr(){return ex(this,"supportedTypesStr",this.supportedTypes.join(","))}static isHandlingMimeForPasting(e){return this.supportedTypes.includes(e)}static paste(e,t){t.pasteEditor(dw.STAMP,{bitmapFile:e.getAsFile()})}altTextFinish(){this._uiManager.useNewAltTextFlow&&(this.div.hidden=!1),super.altTextFinish()}get telemetryFinalData(){var e;return{type:"stamp",hasAltText:!!(null==(e=this.altTextData)?void 0:e.altText)}}static computeTelemetryFinalData(e){const t=e.get("hasAltText");return{hasAltText:t.get(!0)??0,hasNoAltText:t.get(!1)??0}}async mlGuessAltText(e=null,t=!0){if(this.hasAltTextData())return null;const{mlManager:n}=this._uiManager;if(!n)throw new Error("No ML.");if(!(await n.isEnabledFor("altText")))throw new Error("ML isn't enabled for alt text.");const{data:i,width:r,height:a}=e||this.copyCanvas(null,null,!0).imageData,s=await n.guess({name:"altText",request:{data:i,width:r,height:a,channels:i.length/(r*a)}});if(!s)throw new Error("No response from the AI service.");if(s.error)throw new Error("Error from the AI service.");if(s.cancel)return null;if(!s.output)throw new Error("No valid response from the AI service.");const o=s.output;return await this.setGuessedAltText(o),t&&!this.hasAltTextData()&&(this.altTextData={alt:o,decorative:!1}),o}remove(){var e;Sl(this,Cc)&&(Ul(this,Sc,null),this._uiManager.imageManager.deleteId(Sl(this,Cc)),null==(e=Sl(this,Ic))||e.remove(),Ul(this,Ic,null),Sl(this,Oc)&&(clearTimeout(Sl(this,Oc)),Ul(this,Oc,null))),super.remove()}rebuild(){this.parent?(super.rebuild(),null!==this.div&&(Sl(this,Cc)&&null===Sl(this,Ic)&&Fl(this,Lc,jc).call(this),this.isAttachedToDOM||this.parent.add(this))):Sl(this,Cc)&&Fl(this,Lc,jc).call(this)}onceAdded(e){this._isDraggable=!0,e&&this.div.focus()}isEmpty(){return!(Sl(this,Uc)||Sl(this,Sc)||Sl(this,Fc)||Sl(this,Mc)||Sl(this,Cc))}get isResizable(){return!0}render(){if(this.div)return this.div;let e,t;if(this.width&&(e=this.x,t=this.y),super.render(),this.div.hidden=!0,this.div.setAttribute("role","figure"),this.addAltTextButton(),Sl(this,Sc)?Fl(this,Lc,zc).call(this):Fl(this,Lc,jc).call(this),this.width&&!this.annotationElementId){const[n,i]=this.parentDimensions;this.setAt(e*n,t*i,this.width*n,this.height*i)}return this._uiManager.addShouldRescale(this),this.div}_onResized(){this.onScaleChanging()}onScaleChanging(){if(!this.parent)return;null!==Sl(this,Oc)&&clearTimeout(Sl(this,Oc));Ul(this,Oc,setTimeout((()=>{Ul(this,Oc,null),Fl(this,Lc,Vc).call(this)}),200))}copyCanvas(e,t,n=!1){var i;e||(e=224);const{width:r,height:a}=Sl(this,Sc),s=new Wx;let o=Sl(this,Sc),c=r,l=a,h=null;if(t){if(r>t||a>t){const e=Math.min(t/r,t/a);c=Math.floor(r*e),l=Math.floor(a*e)}h=document.createElement("canvas");const e=h.width=Math.ceil(c*s.sx),n=h.height=Math.ceil(l*s.sy);Sl(this,Nc)||(o=Fl(this,Lc,Hc).call(this,e,n));const d=h.getContext("2d");d.filter=this._uiManager.hcmFilter;let u="white",f="#cfcfd8";"none"!==this._uiManager.hcmFilter?f="black":(null==(i=window.matchMedia)?void 0:i.call(window,"(prefers-color-scheme: dark)").matches)&&(u="#8f8f9d",f="#42414d");const p=15,g=p*s.sx,m=p*s.sy,b=new OffscreenCanvas(2*g,2*m),v=b.getContext("2d");v.fillStyle=u,v.fillRect(0,0,2*g,2*m),v.fillStyle=f,v.fillRect(0,0,g,m),v.fillRect(g,m,g,m),d.fillStyle=d.createPattern(b,"repeat"),d.fillRect(0,0,e,n),d.drawImage(o,0,0,o.width,o.height,0,0,e,n)}let d=null;if(n){let t,n;if(s.symmetric&&o.width<e&&o.height<e)t=o.width,n=o.height;else if(o=Sl(this,Sc),r>e||a>e){const i=Math.min(e/r,e/a);t=Math.floor(r*i),n=Math.floor(a*i),Sl(this,Nc)||(o=Fl(this,Lc,Hc).call(this,t,n))}const i=new OffscreenCanvas(t,n).getContext("2d",{willReadFrequently:!0});i.drawImage(o,0,0,o.width,o.height,0,0,t,n),d={width:t,height:n,data:i.getImageData(0,0,t,n).data}}return{canvas:h,width:c,height:l,imageData:d}}getImageForAltText(){return Sl(this,Ic)}static async deserialize(e,t,n){var i;let r=null;if(e instanceof VD){const{data:{rect:a,rotation:s,id:o,structParent:c,popupRef:l},container:h,parent:{page:{pageNumber:d}}}=e,u=h.querySelector("canvas"),f=n.imageManager.getFromCanvas(h.id,u);u.remove();const p=(null==(i=await t._structTree.getAriaAttributes(`${vx}${o}`))?void 0:i.get("aria-label"))||"";r=e={annotationType:dw.STAMP,bitmapId:f.id,bitmap:f.bitmap,pageIndex:d-1,rect:a.slice(0),rotation:s,id:o,deleted:!1,accessibilityData:{decorative:!1,altText:p},isSvg:!1,structParent:c,popupRef:l}}const a=await super.deserialize(e,t,n),{rect:s,bitmap:o,bitmapUrl:c,bitmapId:l,isSvg:h,accessibilityData:d}=e;l&&n.imageManager.isValidId(l)?(Ul(a,Cc,l),o&&Ul(a,Sc,o)):Ul(a,Fc,c),Ul(a,Nc,h);const[u,f]=a.pageDimensions;return a.width=(s[2]-s[0])/u,a.height=(s[3]-s[1])/f,a.annotationElementId=e.id||null,d&&(a.altTextData=d),a._initialData=r,Ul(a,Pc,!!r),a}serialize(e=!1,t=null){if(this.isEmpty())return null;if(this.deleted)return this.serializeDeleted();const n={annotationType:dw.STAMP,bitmapId:Sl(this,Cc),pageIndex:this.pageIndex,rect:this.getRect(0,0),rotation:this.rotation,isSvg:Sl(this,Nc),structTreeParentId:this._structTreeParentId};if(e)return n.bitmapUrl=Fl(this,Lc,Gc).call(this,!0),n.accessibilityData=this.serializeAltText(!0),n;const{decorative:i,altText:r}=this.serializeAltText(!1);if(!i&&r&&(n.accessibilityData={type:"Figure",alt:r}),this.annotationElementId){const e=Fl(this,Lc,Xc).call(this,n);if(e.isSame)return null;e.isSameAltText?delete n.accessibilityData:n.accessibilityData.structParent=this._initialData.structParent??-1}if(n.id=this.annotationElementId,null===t)return n;t.stamps||(t.stamps=new Map);const a=Sl(this,Nc)?(n.rect[2]-n.rect[0])*(n.rect[3]-n.rect[1]):null;if(t.stamps.has(Sl(this,Cc))){if(Sl(this,Nc)){const e=t.stamps.get(Sl(this,Cc));a>e.area&&(e.area=a,e.serialized.bitmap.close(),e.serialized.bitmap=Fl(this,Lc,Gc).call(this,!1))}}else t.stamps.set(Sl(this,Cc),{area:a,serialized:n}),n.bitmap=Fl(this,Lc,Gc).call(this,!1);return n}renderAnnotationElement(e){return e.updateEdited({rect:this.getRect(0,0)}),null}};Sc=new WeakMap,Cc=new WeakMap,Uc=new WeakMap,Fc=new WeakMap,Mc=new WeakMap,Rc=new WeakMap,Ic=new WeakMap,Oc=new WeakMap,Nc=new WeakMap,Pc=new WeakMap,Lc=new WeakSet,Wc=function(e,t=!1){e?(Ul(this,Sc,e.bitmap),t||(Ul(this,Cc,e.id),Ul(this,Nc,e.isSvg)),e.file&&Ul(this,Rc,e.file.name),Fl(this,Lc,zc).call(this)):this.remove()},Bc=function(){if(Ul(this,Uc,null),this._uiManager.enableWaiting(!1),Sl(this,Ic)){if(this._uiManager.useNewAltTextWhenAddingImage&&this._uiManager.useNewAltTextFlow&&Sl(this,Sc))return this._editToolbar.hide(),void this._uiManager.editAltText(this,!0);if(!this._uiManager.useNewAltTextWhenAddingImage&&this._uiManager.useNewAltTextFlow&&Sl(this,Sc)){this._reportTelemetry({action:"pdfjs.image.image_added",data:{alt_text_modal:!1,alt_text_type:"empty"}});try{this.mlGuessAltText()}catch{}}this.div.focus()}},jc=function(){if(Sl(this,Cc))return this._uiManager.enableWaiting(!0),void this._uiManager.imageManager.getFromId(Sl(this,Cc)).then((e=>Fl(this,Lc,Wc).call(this,e,!0))).finally((()=>Fl(this,Lc,Bc).call(this)));if(Sl(this,Fc)){const e=Sl(this,Fc);return Ul(this,Fc,null),this._uiManager.enableWaiting(!0),void Ul(this,Uc,this._uiManager.imageManager.getFromUrl(e).then((e=>Fl(this,Lc,Wc).call(this,e))).finally((()=>Fl(this,Lc,Bc).call(this))))}if(Sl(this,Mc)){const e=Sl(this,Mc);return Ul(this,Mc,null),this._uiManager.enableWaiting(!0),void Ul(this,Uc,this._uiManager.imageManager.getFromFile(e).then((e=>Fl(this,Lc,Wc).call(this,e))).finally((()=>Fl(this,Lc,Bc).call(this))))}const e=document.createElement("input");e.type="file",e.accept=mA.supportedTypesStr;const t=this._uiManager._signal;Ul(this,Uc,new Promise((n=>{e.addEventListener("change",(async()=>{if(e.files&&0!==e.files.length){this._uiManager.enableWaiting(!0);const t=await this._uiManager.imageManager.getFromFile(e.files[0]);this._reportTelemetry({action:"pdfjs.image.image_selected",data:{alt_text_modal:this._uiManager.useNewAltTextFlow}}),Fl(this,Lc,Wc).call(this,t)}else this.remove();n()}),{signal:t}),e.addEventListener("cancel",(()=>{this.remove(),n()}),{signal:t})})).finally((()=>Fl(this,Lc,Bc).call(this)))),e.click()},zc=function(){var e;const{div:t}=this;let{width:n,height:i}=Sl(this,Sc);const[r,a]=this.pageDimensions,s=.75;if(this.width)n=this.width*r,i=this.height*a;else if(n>s*r||i>s*a){const e=Math.min(s*r/n,s*a/i);n*=e,i*=e}const[o,c]=this.parentDimensions;this.setDims(n*o/r,i*c/a),this._uiManager.enableWaiting(!1);const l=Ul(this,Ic,document.createElement("canvas"));l.setAttribute("role","img"),this.addContainer(l),this.width=n/r,this.height=i/a,(null==(e=this._initialOptions)?void 0:e.isCentered)?this.center():this.fixAndSetPosition(),this._initialOptions=null,this._uiManager.useNewAltTextWhenAddingImage&&this._uiManager.useNewAltTextFlow&&!this.annotationElementId||(t.hidden=!1),Fl(this,Lc,Vc).call(this),Sl(this,Pc)||(this.parent.addUndoableEditor(this),Ul(this,Pc,!0)),this._reportTelemetry({action:"inserted_image"}),Sl(this,Rc)&&l.setAttribute("aria-label",Sl(this,Rc))},Hc=function(e,t){const{width:n,height:i}=Sl(this,Sc);let r=n,a=i,s=Sl(this,Sc);for(;r>2*e||a>2*t;){const n=r,i=a;r>2*e&&(r=r>=16384?Math.floor(r/2)-1:Math.ceil(r/2)),a>2*t&&(a=a>=16384?Math.floor(a/2)-1:Math.ceil(a/2));const o=new OffscreenCanvas(r,a);o.getContext("2d").drawImage(s,0,0,n,i,0,0,r,a),s=o.transferToImageBitmap()}return s},Vc=function(){const[e,t]=this.parentDimensions,{width:n,height:i}=this,r=new Wx,a=Math.ceil(n*e*r.sx),s=Math.ceil(i*t*r.sy),o=Sl(this,Ic);if(!o||o.width===a&&o.height===s)return;o.width=a,o.height=s;const c=Sl(this,Nc)?Sl(this,Sc):Fl(this,Lc,Hc).call(this,a,s),l=o.getContext("2d");l.filter=this._uiManager.hcmFilter,l.drawImage(c,0,0,c.width,c.height,0,0,a,s)},Gc=function(e){if(e){if(Sl(this,Nc)){const e=this._uiManager.imageManager.getSvgUrl(Sl(this,Cc));if(e)return e}const e=document.createElement("canvas");({width:e.width,height:e.height}=Sl(this,Sc));return e.getContext("2d").drawImage(Sl(this,Sc),0,0),e.toDataURL()}if(Sl(this,Nc)){const[e,t]=this.pageDimensions,n=Math.round(this.width*e*xx.PDF_TO_CSS_UNITS),i=Math.round(this.height*t*xx.PDF_TO_CSS_UNITS),r=new OffscreenCanvas(n,i);return r.getContext("2d").drawImage(Sl(this,Sc),0,0,Sl(this,Sc).width,Sl(this,Sc).height,0,0,n,i),r.transferToImageBitmap()}return structuredClone(Sl(this,Sc))},Xc=function(e){var t;const{pageIndex:n,accessibilityData:{altText:i}}=this._initialData,r=e.pageIndex===n,a=((null==(t=e.accessibilityData)?void 0:t.alt)||"")===i;return{isSame:!this._hasBeenMoved&&!this._hasBeenResized&&r&&a,isSameAltText:a}},El(mA,"_type","stamp"),El(mA,"_editorType",dw.STAMP);let bA=mA;const vA=class e{constructor({uiManager:t,pageIndex:n,div:i,structTreeLayer:r,accessibilityManager:a,annotationLayer:s,drawLayer:o,textLayer:c,viewport:l,l10n:h}){Cl(this,cl),Cl(this,$c),Cl(this,qc,!1),Cl(this,Yc,null),Cl(this,Kc,null),Cl(this,Zc,null),Cl(this,Jc,new Map),Cl(this,Qc,!1),Cl(this,el,!1),Cl(this,tl,!1),Cl(this,nl,null),Cl(this,il,null),Cl(this,rl,null),Cl(this,al,null),Cl(this,sl);const d=[...Sl(e,ol).values()];if(!e._initialized){e._initialized=!0;for(const e of d)e.initialize(h,t)}t.registerEditorTypes(d),Ul(this,sl,t),this.pageIndex=n,this.div=i,Ul(this,$c,a),Ul(this,Yc,s),this.viewport=l,Ul(this,rl,c),this.drawLayer=o,this._structTree=r,Sl(this,sl).addLayer(this)}get isEmpty(){return 0===Sl(this,Jc).size}get isInvisible(){return this.isEmpty&&Sl(this,sl).getMode()===dw.NONE}updateToolbar(e){Sl(this,sl).updateToolbar(e)}updateMode(t=Sl(this,sl).getMode()){switch(Fl(this,cl,fl).call(this),t){case dw.NONE:return this.disableTextSelection(),this.togglePointerEvents(!1),this.toggleAnnotationLayerPointerEvents(!0),void this.disableClick();case dw.INK:this.disableTextSelection(),this.togglePointerEvents(!0),this.enableClick();break;case dw.HIGHLIGHT:this.enableTextSelection(),this.togglePointerEvents(!1),this.disableClick();break;default:this.disableTextSelection(),this.togglePointerEvents(!0),this.enableClick()}this.toggleAnnotationLayerPointerEvents(!1);const{classList:n}=this.div;for(const i of Sl(e,ol).values())n.toggle(`${i._type}Editing`,t===i._editorType);this.div.hidden=!1}hasTextLayer(e){var t;return e===(null==(t=Sl(this,rl))?void 0:t.div)}setEditingState(e){Sl(this,sl).setEditingState(e)}addCommands(e){Sl(this,sl).addCommands(e)}cleanUndoStack(e){Sl(this,sl).cleanUndoStack(e)}toggleDrawing(e=!1){this.div.classList.toggle("drawing",!e)}togglePointerEvents(e=!1){this.div.classList.toggle("disabled",!e)}toggleAnnotationLayerPointerEvents(e=!1){var t;null==(t=Sl(this,Yc))||t.div.classList.toggle("disabled",!e)}async enable(){Ul(this,tl,!0),this.div.tabIndex=0,this.togglePointerEvents(!0);const e=new Set;for(const n of Sl(this,Jc).values())n.enableEditing(),n.show(!0),n.annotationElementId&&(Sl(this,sl).removeChangedExistingAnnotation(n),e.add(n.annotationElementId));if(!Sl(this,Yc))return void Ul(this,tl,!1);const t=Sl(this,Yc).getEditableAnnotations();for(const n of t){if(n.hide(),Sl(this,sl).isDeletedAnnotationElement(n.data.id))continue;if(e.has(n.data.id))continue;const t=await this.deserialize(n);t&&(this.addOrRebuild(t),t.enableEditing())}Ul(this,tl,!1)}disable(){var t;Ul(this,el,!0),this.div.tabIndex=-1,this.togglePointerEvents(!1);const n=new Map,i=new Map;for(const e of Sl(this,Jc).values())e.disableEditing(),e.annotationElementId&&(null===e.serialize()?(i.set(e.annotationElementId,e),null==(t=this.getEditableAnnotation(e.annotationElementId))||t.show(),e.remove()):n.set(e.annotationElementId,e));if(Sl(this,Yc)){const e=Sl(this,Yc).getEditableAnnotations();for(const t of e){const{id:e}=t.data;if(Sl(this,sl).isDeletedAnnotationElement(e))continue;let r=i.get(e);r?(r.resetAnnotationElement(t),r.show(!1),t.show()):(r=n.get(e),r&&(Sl(this,sl).addChangedExistingAnnotation(r),r.renderAnnotationElement(t)&&r.show(!1)),t.show())}}Fl(this,cl,fl).call(this),this.isEmpty&&(this.div.hidden=!0);const{classList:r}=this.div;for(const a of Sl(e,ol).values())r.remove(`${a._type}Editing`);this.disableTextSelection(),this.toggleAnnotationLayerPointerEvents(!0),Ul(this,el,!1)}getEditableAnnotation(e){var t;return(null==(t=Sl(this,Yc))?void 0:t.getEditableAnnotation(e))||null}setActiveEditor(e){Sl(this,sl).getActive()!==e&&Sl(this,sl).setActiveEditor(e)}enableTextSelection(){var e;if(this.div.tabIndex=-1,(null==(e=Sl(this,rl))?void 0:e.div)&&!Sl(this,al)){Ul(this,al,new AbortController);const e=Sl(this,sl).combinedSignal(Sl(this,al));Sl(this,rl).div.addEventListener("pointerdown",Fl(this,cl,ll).bind(this),{signal:e}),Sl(this,rl).div.classList.add("highlighting")}}disableTextSelection(){var e;this.div.tabIndex=0,(null==(e=Sl(this,rl))?void 0:e.div)&&Sl(this,al)&&(Sl(this,al).abort(),Ul(this,al,null),Sl(this,rl).div.classList.remove("highlighting"))}enableClick(){if(Sl(this,Kc))return;Ul(this,Kc,new AbortController);const e=Sl(this,sl).combinedSignal(Sl(this,Kc));this.div.addEventListener("pointerdown",this.pointerdown.bind(this),{signal:e});const t=this.pointerup.bind(this);this.div.addEventListener("pointerup",t,{signal:e}),this.div.addEventListener("pointercancel",t,{signal:e})}disableClick(){var e;null==(e=Sl(this,Kc))||e.abort(),Ul(this,Kc,null)}attach(e){Sl(this,Jc).set(e.id,e);const{annotationElementId:t}=e;t&&Sl(this,sl).isDeletedAnnotationElement(t)&&Sl(this,sl).removeDeletedAnnotationElement(e)}detach(e){var t;Sl(this,Jc).delete(e.id),null==(t=Sl(this,$c))||t.removePointerInTextLayer(e.contentDiv),!Sl(this,el)&&e.annotationElementId&&Sl(this,sl).addDeletedAnnotationElement(e)}remove(e){this.detach(e),Sl(this,sl).removeEditor(e),e.div.remove(),e.isAttachedToDOM=!1}changeParent(e){var t;e.parent!==this&&(e.parent&&e.annotationElementId&&(Sl(this,sl).addDeletedAnnotationElement(e.annotationElementId),r_.deleteAnnotationElement(e),e.annotationElementId=null),this.attach(e),null==(t=e.parent)||t.detach(e),e.setParent(this),e.div&&e.isAttachedToDOM&&(e.div.remove(),this.div.append(e.div)))}add(e){if(e.parent!==this||!e.isAttachedToDOM){if(this.changeParent(e),Sl(this,sl).addEditor(e),this.attach(e),!e.isAttachedToDOM){const t=e.render();this.div.append(t),e.isAttachedToDOM=!0}e.fixAndSetPosition(),e.onceAdded(!Sl(this,tl)),Sl(this,sl).addToAnnotationStorage(e),e._reportTelemetry(e.telemetryInitialData)}}moveEditorInDOM(e){var t;if(!e.isAttachedToDOM)return;const{activeElement:n}=document;e.div.contains(n)&&!Sl(this,Zc)&&(e._focusEventsAllowed=!1,Ul(this,Zc,setTimeout((()=>{Ul(this,Zc,null),e.div.contains(document.activeElement)?e._focusEventsAllowed=!0:(e.div.addEventListener("focusin",(()=>{e._focusEventsAllowed=!0}),{once:!0,signal:Sl(this,sl)._signal}),n.focus())}),0))),e._structTreeParentId=null==(t=Sl(this,$c))?void 0:t.moveElementInDOM(this.div,e.div,e.contentDiv,!0)}addOrRebuild(e){e.needsToBeRebuilt()?(e.parent||(e.parent=this),e.rebuild(),e.show()):this.add(e)}addUndoableEditor(e){this.addCommands({cmd:()=>e._uiManager.rebuild(e),undo:()=>{e.remove()},mustExec:!1})}getNextId(){return Sl(this,sl).getId()}combinedSignal(e){return Sl(this,sl).combinedSignal(e)}canCreateNewEmptyEditor(){var e;return null==(e=Sl(this,cl,hl))?void 0:e.canCreateNewEmptyEditor()}pasteEditor(e,t){Sl(this,sl).updateToolbar(e),Sl(this,sl).updateMode(e);const{offsetX:n,offsetY:i}=Fl(this,cl,ul).call(this),r=this.getNextId(),a=Fl(this,cl,dl).call(this,{parent:this,id:r,x:n,y:i,uiManager:Sl(this,sl),isCentered:!0,...t});a&&this.add(a)}async deserialize(t){var n;return await(null==(n=Sl(e,ol).get(t.annotationType??t.annotationEditorType))?void 0:n.deserialize(t,this,Sl(this,sl)))||null}createAndAddNewEditor(e,t,n={}){const i=this.getNextId(),r=Fl(this,cl,dl).call(this,{parent:this,id:i,x:e.offsetX,y:e.offsetY,uiManager:Sl(this,sl),isCentered:t,...n});return r&&this.add(r),r}addNewEditor(){this.createAndAddNewEditor(Fl(this,cl,ul).call(this),!0)}setSelected(e){Sl(this,sl).setSelected(e)}toggleSelected(e){Sl(this,sl).toggleSelected(e)}unselect(e){Sl(this,sl).unselect(e)}pointerup(e){var t;const{isMac:n}=ux.platform;0!==e.button||e.ctrlKey&&n||e.target===this.div&&Sl(this,Qc)&&(Ul(this,Qc,!1),(null==(t=Sl(this,cl,hl))?void 0:t.isDrawer)&&Sl(this,cl,hl).supportMultipleDrawings||(Sl(this,qc)?Sl(this,sl).getMode()!==dw.STAMP?this.createAndAddNewEditor(e,!1):Sl(this,sl).unselectAll():Ul(this,qc,!0)))}pointerdown(e){var t;if(Sl(this,sl).getMode()===dw.HIGHLIGHT&&this.enableTextSelection(),Sl(this,Qc))return void Ul(this,Qc,!1);const{isMac:n}=ux.platform;if(0!==e.button||e.ctrlKey&&n)return;if(e.target!==this.div)return;if(Ul(this,Qc,!0),null==(t=Sl(this,cl,hl))?void 0:t.isDrawer)return void this.startDrawingSession(e);const i=Sl(this,sl).getActive();Ul(this,qc,!i||i.isEmpty())}startDrawingSession(e){if(this.div.focus(),Sl(this,nl))return void Sl(this,cl,hl).startDrawing(this,Sl(this,sl),!1,e);Sl(this,sl).setCurrentDrawingSession(this),Ul(this,nl,new AbortController);const t=Sl(this,sl).combinedSignal(Sl(this,nl));this.div.addEventListener("blur",(({relatedTarget:e})=>{e&&!this.div.contains(e)&&(Ul(this,il,null),this.commitOrRemove())}),{signal:t}),Sl(this,cl,hl).startDrawing(this,Sl(this,sl),!1,e)}pause(e){if(e){const{activeElement:e}=document;this.div.contains(e)&&Ul(this,il,e)}else Sl(this,il)&&setTimeout((()=>{var e;null==(e=Sl(this,il))||e.focus(),Ul(this,il,null)}),0)}endDrawingSession(e=!1){return Sl(this,nl)?(Sl(this,sl).setCurrentDrawingSession(null),Sl(this,nl).abort(),Ul(this,nl,null),Ul(this,il,null),Sl(this,cl,hl).endDrawing(e)):null}findNewParent(e,t,n){const i=Sl(this,sl).findParent(t,n);return null!==i&&i!==this&&(i.changeParent(e),!0)}commitOrRemove(){return!!Sl(this,nl)&&(this.endDrawingSession(),!0)}onScaleChanging(){Sl(this,nl)&&Sl(this,cl,hl).onScaleChangingWhenDrawing(this)}destroy(){var e,t;this.commitOrRemove(),(null==(e=Sl(this,sl).getActive())?void 0:e.parent)===this&&(Sl(this,sl).commitOrRemove(),Sl(this,sl).setActiveEditor(null)),Sl(this,Zc)&&(clearTimeout(Sl(this,Zc)),Ul(this,Zc,null));for(const n of Sl(this,Jc).values())null==(t=Sl(this,$c))||t.removePointerInTextLayer(n.contentDiv),n.setParent(null),n.isAttachedToDOM=!1,n.div.remove();this.div=null,Sl(this,Jc).clear(),Sl(this,sl).removeLayer(this)}render({viewport:e}){this.viewport=e,Lx(this.div,e);for(const t of Sl(this,sl).getEditors(this.pageIndex))this.add(t),t.rebuild();this.updateMode()}update({viewport:e}){Sl(this,sl).commitOrRemove(),Fl(this,cl,fl).call(this);const t=this.viewport.rotation,n=e.rotation;if(this.viewport=e,Lx(this.div,{rotation:n}),t!==n)for(const i of Sl(this,Jc).values())i.rotate(n)}get pageDimensions(){const{pageWidth:e,pageHeight:t}=this.viewport.rawDims;return[e,t]}get scale(){return Sl(this,sl).viewParameters.realScale}};$c=new WeakMap,qc=new WeakMap,Yc=new WeakMap,Kc=new WeakMap,Zc=new WeakMap,Jc=new WeakMap,Qc=new WeakMap,el=new WeakMap,tl=new WeakMap,nl=new WeakMap,il=new WeakMap,rl=new WeakMap,al=new WeakMap,sl=new WeakMap,ol=new WeakMap,cl=new WeakSet,ll=function(e){Sl(this,sl).unselectAll();const{target:t}=e;if(t===Sl(this,rl).div||("img"===t.getAttribute("role")||t.classList.contains("endOfContent"))&&Sl(this,rl).div.contains(t)){const{isMac:t}=ux.platform;if(0!==e.button||e.ctrlKey&&t)return;Sl(this,sl).showAllEditors("highlight",!0,!0),Sl(this,rl).div.classList.add("free"),this.toggleDrawing(),oA.startHighlighting(this,"ltr"===Sl(this,sl).direction,{target:Sl(this,rl).div,x:e.x,y:e.y}),Sl(this,rl).div.addEventListener("pointerup",(()=>{Sl(this,rl).div.classList.remove("free"),this.toggleDrawing(!0)}),{once:!0,signal:Sl(this,sl)._signal}),e.preventDefault()}},hl=function(){return Sl(vA,ol).get(Sl(this,sl).getMode())},dl=function(e){const t=Sl(this,cl,hl);return t?new t.prototype.constructor(e):null},ul=function(){const{x:e,y:t,width:n,height:i}=this.div.getBoundingClientRect(),r=Math.max(0,e),a=Math.max(0,t),s=(r+Math.min(window.innerWidth,e+n))/2-e,o=(a+Math.min(window.innerHeight,t+i))/2-t,[c,l]=this.viewport.rotation%180==0?[s,o]:[o,s];return{offsetX:c,offsetY:l}},fl=function(){for(const e of Sl(this,Jc).values())e.isEmpty()&&e.remove()},El(vA,"_initialized",!1),Cl(vA,ol,new Map([YD,gA,bA,oA].map((e=>[e._editorType,e]))));let yA=vA;const wA=class e{constructor({pageIndex:e}){Cl(this,wl),Cl(this,pl,null),Cl(this,gl,0),Cl(this,ml,new Map),Cl(this,bl,new Map),this.pageIndex=e}setParent(e){if(Sl(this,pl)){if(Sl(this,pl)!==e){if(Sl(this,ml).size>0)for(const t of Sl(this,ml).values())t.remove(),e.append(t);Ul(this,pl,e)}}else Ul(this,pl,e)}static get _svgFactory(){return ex(this,"_svgFactory",new pD)}draw(t,n=!1,i=!1){const r=Ml(this,gl)._++,a=Fl(this,wl,xl).call(this),s=e._svgFactory.createElement("defs");a.append(s);const o=e._svgFactory.createElement("path");s.append(o);const c=`path_p${this.pageIndex}_${r}`;o.setAttribute("id",c),o.setAttribute("vector-effect","non-scaling-stroke"),n&&Sl(this,bl).set(r,o);const l=i?Fl(this,wl,_l).call(this,s,c):null,h=e._svgFactory.createElement("use");return a.append(h),h.setAttribute("href",`#${c}`),this.updateProperties(a,t),Sl(this,ml).set(r,a),{id:r,clipPathId:`url(#${l})`}}drawOutline(t,n){const i=Ml(this,gl)._++,r=Fl(this,wl,xl).call(this),a=e._svgFactory.createElement("defs");r.append(a);const s=e._svgFactory.createElement("path");a.append(s);const o=`path_p${this.pageIndex}_${i}`;let c;if(s.setAttribute("id",o),s.setAttribute("vector-effect","non-scaling-stroke"),n){const t=e._svgFactory.createElement("mask");a.append(t),c=`mask_p${this.pageIndex}_${i}`,t.setAttribute("id",c),t.setAttribute("maskUnits","objectBoundingBox");const n=e._svgFactory.createElement("rect");t.append(n),n.setAttribute("width","1"),n.setAttribute("height","1"),n.setAttribute("fill","white");const r=e._svgFactory.createElement("use");t.append(r),r.setAttribute("href",`#${o}`),r.setAttribute("stroke","none"),r.setAttribute("fill","black"),r.setAttribute("fill-rule","nonzero"),r.classList.add("mask")}const l=e._svgFactory.createElement("use");r.append(l),l.setAttribute("href",`#${o}`),c&&l.setAttribute("mask",`url(#${c})`);const h=l.cloneNode();return r.append(h),l.classList.add("mainOutline"),h.classList.add("secondaryOutline"),this.updateProperties(r,t),Sl(this,ml).set(i,r),i}finalizeDraw(e,t){Sl(this,bl).delete(e),this.updateProperties(e,t)}updateProperties(t,n){var i;if(!n)return;const{root:r,bbox:a,rootClass:s,path:o}=n,c="number"==typeof t?Sl(this,ml).get(t):t;if(c){if(r&&Fl(this,wl,Tl).call(this,c,r),a&&Fl(i=e,vl,yl).call(i,c,a),s){const{classList:e}=c;for(const[t,n]of Object.entries(s))e.toggle(t,n)}if(o){const e=c.firstChild.firstChild;Fl(this,wl,Tl).call(this,e,o)}}}updateParent(e,t){if(t===this)return;const n=Sl(this,ml).get(e);n&&(Sl(t,pl).append(n),Sl(this,ml).delete(e),Sl(t,ml).set(e,n))}remove(e){Sl(this,bl).delete(e),null!==Sl(this,pl)&&(Sl(this,ml).get(e).remove(),Sl(this,ml).delete(e))}destroy(){Ul(this,pl,null);for(const e of Sl(this,ml).values())e.remove();Sl(this,ml).clear(),Sl(this,bl).clear()}};pl=new WeakMap,gl=new WeakMap,ml=new WeakMap,bl=new WeakMap,vl=new WeakSet,yl=function(e,[t,n,i,r]){const{style:a}=e;a.top=100*n+"%",a.left=100*t+"%",a.width=100*i+"%",a.height=100*r+"%"},wl=new WeakSet,xl=function(){const e=wA._svgFactory.create(1,1,!0);return Sl(this,pl).append(e),e.setAttribute("aria-hidden",!0),e},_l=function(e,t){const n=wA._svgFactory.createElement("clipPath");e.append(n);const i=`clip_${t}`;n.setAttribute("id",i),n.setAttribute("clipPathUnits","objectBoundingBox");const r=wA._svgFactory.createElement("use");return n.append(r),r.setAttribute("href",`#${t}`),r.classList.add("clip"),i},Tl=function(e,t){for(const[n,i]of Object.entries(t))null===i?e.removeAttribute(n):e.setAttribute(n,i)},Cl(wA,vl);let xA=wA;globalThis.pdfjsTestingUtils={HighlightOutliner:eA};var _A=Zy.GlobalWorkerOptions,TA=Zy.getDocument;const DA={class:"relative"},AA=["onClick"],EA={class:"flex align-middle justify-center items-center gap-2"},kA=Rl({__name:"ChatInput",props:{disabled:{type:Boolean,default:!1},minRows:{type:Number,default:2},maxRows:{type:Number,default:8},showUpload:{type:Boolean,default:!0},placeholder:{type:String,default:rh("components.chatInput.placeholder")},autoCompleteEnabled:{type:Boolean,default:!1},tips:{type:String,default:""}},emits:["input"],setup(e,{emit:t}){_A.workerSrc=new URL(""+new URL("pdf.worker.min-yatZIOMy.mjs",import.meta.url).href,import.meta.url).toString();const n=Bl(null),i=ah();Wl((()=>i.isSidebarCompact),(e=>{e&&dh((()=>{if(n.value){const e=n.value.$el.querySelector("textarea");e&&(e.focus(),e.blur())}}))}));const r=e,a=Bl(""),s=Bl([]),o=Bl(-1),c=Bl(""),l=t,h=()=>{const e=a.value.trim();e&&(s.value.push(e),s.value.length>50&&s.value.shift(),localStorage.setItem("chatHistory",JSON.stringify(s.value)),l("input",{content:e,files:d.value.map((e=>({content:e.content,url:e.url,id:e.raw.path,name:e.name,type:e.type,size:e.size})))}),a.value="",d.value=[],o.value=-1)},d=Bl([]),u=async e=>{try{for(const t of e){const e=await p(t.raw);t.content=e,d.value.push(t)}return{status:"success",error:"",response:{url:" "}}}catch{return{status:"fail",error:"",response:{}}}};async function f(e){return new Promise(((t,n)=>{const i=new FileReader;i.onload=e=>t(e.target.result),i.onerror=e=>n(e),i.readAsArrayBuffer(e)}))}async function p(e){var t;switch(null==(t=e.name.split(".").pop())?void 0:t.toLowerCase()){case"docx":return await async function(e){const t=await f(e);return(await Nh.extractRawText({arrayBuffer:t})).value}(e);case"pdf":return await async function(e){const t=await f(e),n=await TA(t).promise;let i="";for(let r=1;r<=n.numPages;r++){const e=await n.getPage(r);i+=(await e.getTextContent()).items.map((e=>e.str)).join(" ")+"\n"}return i}(e);case"xlsx":case"xls":return await async function(e){const t=await f(e),n=Ly(new Uint8Array(t),{type:"array"});let i="";return n.SheetNames.forEach((e=>{const t=n.Sheets[e],r=Yy.sheet_to_json(t,{header:1});i+=`Sheet: ${e}\n`,r.forEach((e=>{i+=e.join(", ")+"\n"})),i+="\n"})),i}(e);case"png":case"jpg":case"jpeg":case"gif":case"bmp":case"webp":return await async function(e){return new Promise(((t,n)=>{const i=new FileReader;i.readAsDataURL(e),i.onload=()=>t(i.result),i.onerror=e=>n(e)}))}(e);default:return await async function(e){return new Promise(((t,n)=>{const i=new FileReader;i.onload=function(e){t(e.target.result)},i.onerror=function(e){n(e)},i.readAsText(e)}))}(e)}}const g=sh(),m=Bl(!1),b=Bl(0),v=Bl(0),y=Bl(""),w=Bl(null),x=Bl(null),_=Bl(null),T=Bl("-150px"),D=Il((()=>["@ai",...g.enableModels.map((e=>`@${oh.getModelItemTitle(e)}`))])),A=Bl(!1),E=(e,t)=>{const{e:n}=t;if(m.value)switch(n.key){case"ArrowDown":n.preventDefault(),b.value=(b.value+1)%k.value.length;break;case"ArrowUp":n.preventDefault(),b.value=(b.value-1+k.value.length)%k.value.length;break;case"Enter":n.preventDefault(),k.value.length>0&&C(k.value[b.value]);break;case"Escape":m.value=!1}else if("Enter"===n.key){if(n.shiftKey||A.value)return;const e=a.value.trim();if(r.autoCompleteEnabled&&e.startsWith("@")&&(D.value.includes(e)||"@"===e))return void n.preventDefault();n.preventDefault(),h()}else if("ArrowUp"===n.key||"ArrowDown"===n.key){if(n.preventDefault(),"ArrowUp"===n.key){if(0===s.value.length)return;o.value<s.value.length-1&&o.value++}else o.value>-1&&o.value--;-1===o.value?a.value=c.value:a.value=s.value[s.value.length-1-o.value]}},k=Il((()=>{if(!y.value)return D.value;const e=y.value.toLowerCase();return D.value.filter((t=>t.toLowerCase().includes(e)))}));Wl((()=>k),(async()=>{if(m.value&&x.value){await dh();const e=w.value.offsetHeight;T.value=`-${e}px`}}));const S=(e,t)=>{const{e:n}=t,i=e;if(c.value=a.value,!r.autoCompleteEnabled)return;const s=n.target.selectionStart;if(v.value=i.lastIndexOf("@",s-1),-1!==v.value&&v.value<s){const e=i.indexOf(" ",v.value);v.value===i.length-1||-1===e||e>=s?(y.value=i.slice(v.value+1,s),m.value=!0,b.value=0):m.value=!1}else m.value=!1},C=e=>{const t=a.value.slice(0,v.value),n=a.value.slice(a.value.indexOf(" ",v.value)+1||a.value.length);a.value=t+e+" "+n,m.value=!1,y.value=""},U=()=>{if(_.value&&w.value){const e=w.value,t=_.value,n=e.scrollTop,i=n+e.clientHeight,r=t.offsetTop,a=r+t.offsetHeight;r<n?e.scrollTop=r:a>i&&(e.scrollTop=a-e.clientHeight)}};Wl(b,(()=>{dh(U)})),ch((()=>{A.value=xh();const e=localStorage.getItem("chatHistory");e&&(s.value=JSON.parse(e))}));const F=async e=>{var t;const n=null==(t=e.clipboardData)?void 0:t.items;if(n)for(let i=0;i<n.length;i++){const t=n[i];if(t.type.startsWith("image/")){e.preventDefault();const n=t.getAsFile();if(n){const e={raw:n,name:`pasted_image_${Date.now()}.${n.type.split("/")[1]}`,type:n.type,size:n.size};await u([e])}}else if("file"===t.kind){e.preventDefault();const n=t.getAsFile();if(n){const e={raw:n,name:n.name||`pasted_file_${Date.now()}`,type:n.type,size:n.size};await u([e])}}}},M=async e=>{var t;const n=null==(t=e.dataTransfer)?void 0:t.files;if(n)for(let i=0;i<n.length;i++){const e=n[i];if(e){const t={raw:e,name:e.name,type:e.type,size:e.size};await u([t])}}};return(t,i)=>{const r=th,s=ph,o=mh;return jl(),zl("div",DA,[m.value?(jl(),zl("div",{key:0,class:"autocomplete left-0 absolute z-50 w-full bg-color-container bordered p-2",ref_key:"autocompleteContainer",ref:w,style:lh({top:T.value})},[Yl("ul",{ref_key:"suggestionList",ref:x},[(jl(!0),zl(Hl,null,Vl(k.value,((e,t)=>(jl(),zl("li",{key:e,onClick:t=>C(e),class:hh({selected:t===b.value}),ref_for:!0,ref:e=>{t===b.value&&(_.value=e)}},Kl(e),11,AA)))),128))],512)],4)):$l("",!0),Yl("div",{class:"flex flex-col chat-input bg-color-container bordered rounded-lg px-1",onDragover:i[1]||(i[1]=Zl((()=>{}),["prevent"])),onDrop:Zl(M,["prevent"])},[Gl(Mh,{files:d.value,class:hh(["py-2"])},null,8,["files"]),Yl("div",EA,[e.showUpload?(jl(),ql(s,{key:0,theme:"custom","request-method":u,multiple:!0,allowUploadDuplicateFile:!0},{default:Xl((()=>[Gl(r,{theme:"primary",shape:"circle",size:"large",variant:"base"},{default:Xl((()=>[Gl(Jl(gh),{slot:"icon"})])),_:1})])),_:1})):$l("",!0),Gl(o,{ref_key:"textareaRef",ref:n,class:"flex-1",onKeydown:E,onChange:S,onPaste:F,disabled:e.disabled,modelValue:a.value,"onUpdate:modelValue":i[0]||(i[0]=e=>a.value=e),placeholder:e.placeholder,name:"description",tips:e.tips,autosize:{minRows:e.minRows,maxRows:e.maxRows}},null,8,["disabled","modelValue","placeholder","tips","autosize"]),Gl(r,{theme:"primary",shape:"circle",onClick:h,size:"large",variant:"base"},{default:Xl((()=>[Gl(Jl(wh),{slot:"icon"})])),_:1})])],32)])}}});export{kA as _,Mh as a,Rh as b,xh as c,wh as s}; diff --git a/.output/public/assets/CodeBlocks.vue_vue_type_style_index_0_lang-CexE7E14.js b/.output/public/assets/CodeBlocks.vue_vue_type_style_index_0_lang-CexE7E14.js new file mode 100644 index 0000000000000000000000000000000000000000..5d7acf327686811914527e6439b22fd6ed272c48 --- /dev/null +++ b/.output/public/assets/CodeBlocks.vue_vue_type_style_index_0_lang-CexE7E14.js @@ -0,0 +1,6112 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./flowchart-elk-definition-170a3958-BCmh1NNp.js","./main-DzSNOqOC.js","./main-Bexb_ehG.css","./ChatInput.vue_vue_type_style_index_0_lang-D4A8Ko3p.js","./index-DmWclHlm.js","./index-BuIb9tIA.js","./index-CjKlnN2e.js","./index-dIOYMMBF.css","./dep-916b902f-BLs2dxx4.js","./index-BZuyLcM6.css","./index-Kxldlx3l.js","./index-CIhn6Q_x.css","./ChatInput-BMuO6hgs.css","./fetch-C6zEckB6.js","./debounce-DjqSSMbT.js","./refresh-BD1L4aGQ.js","./copy-CaDk54_k.js","./v4-_R2nDvl_.js","./timeline-definition-8e5a9bc6-DaVWbYt5.js","./is_dark-MhuX2or3.js","./mindmap-definition-44684416-2qYG7gUD.js","./index-DwpGtVtI.js","./prism-DmrxnvMA.js"])))=>i.map(i=>d[i]); +import{d as e,b as t,H as n,I as r,J as i,K as a,O as o,p as s,X as l,Y as u,c1 as d,c2 as h,M as p,ab as g,ac as m,j as _,c3 as b,c4 as f,o as y,c as v,e as E,F as S,z as T,q as C,y as x,t as k,s as A,$ as w,x as N,f as O,ai as R,a9 as I,a7 as D,B as M,G as L,ak as P,E as j,R as F,al as B,ar as U,w as G,c5 as z,c6 as $,_ as Y,a3 as q,c7 as H,c8 as V,aR as W,ax as Q,c9 as K,g as X,ca as Z,a5 as J,v as ee,cb as te,cc as ne}from"./main-DzSNOqOC.js";import{d as re,f as ie}from"./fetch-C6zEckB6.js";import{r as ae}from"./refresh-BD1L4aGQ.js";import{c as oe}from"./copy-CaDk54_k.js";import{s as se,a as le}from"./ChatInput.vue_vue_type_style_index_0_lang-D4A8Ko3p.js";import{v as ce}from"./v4-_R2nDvl_.js";import{T as ue}from"./index-Kxldlx3l.js";import{p as de}from"./index-DmWclHlm.js";import{I as he}from"./index-BuIb9tIA.js";function pe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ge(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pe(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var me={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M20.99 7.38l-10.61 10.6L4 11.63l1.42-1.41 4.95 4.95 9.2-9.2 1.4 1.42z"}}]},_e=e({name:"CheckIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,i){var{attrs:a}=i,o=t((()=>e.size)),{className:s,style:l}=n(o),c=t((()=>["t-icon","t-icon-check",s.value])),u=t((()=>ge(ge({},l.value),a.style))),d=t((()=>({class:c.value,style:u.value,onClick:t=>{var n;return null===(n=e.onClick)||void 0===n?void 0:n.call(e,{e:t})}})));return()=>r(me,d.value)}});function be(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function fe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?be(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):be(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ye={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M16.43 1.96l5.6 5.61L7.62 22H2V16.4L16.43 1.96zm0 2.83l-2.78 2.78 2.78 2.79 2.78-2.79-2.78-2.78zM15 11.77l-2.78-2.78L4 17.22V20h2.78l8.23-8.23zM22.22 22h-9.54v-2h9.54v2z"}}]},ve=e({name:"Edit2Icon",props:{size:{type:String},onClick:{type:Function}},setup(e,i){var{attrs:a}=i,o=t((()=>e.size)),{className:s,style:l}=n(o),c=t((()=>["t-icon","t-icon-edit-2",s.value])),u=t((()=>fe(fe({},l.value),a.style))),d=t((()=>({class:c.value,style:u.value,onClick:t=>{var n;return null===(n=e.onClick)||void 0===n?void 0:n.call(e,{e:t})}})));return()=>r(ye,d.value)}});function Ee(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Se(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ee(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ee(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Te={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M1 2h22v16H1V2zm2 2v12h18V4H3zm12 2.09L18.91 10 15 13.91l-1.41-1.41 2.5-2.5-2.5-2.5L15 6.09zM10.41 7.5L7.91 10l2.5 2.5L9 13.91 5.09 10 9 6.09l1.41 1.41zM3 20h18v2H3v-2z"}}]},Ce=e({name:"SystemCodeIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,i){var{attrs:a}=i,o=t((()=>e.size)),{className:s,style:l}=n(o),c=t((()=>["t-icon","t-icon-system-code",s.value])),u=t((()=>Se(Se({},l.value),a.style))),d=t((()=>({class:c.value,style:u.value,onClick:t=>{var n;return null===(n=e.onClick)||void 0===n?void 0:n.call(e,{e:t})}})));return()=>r(Te,d.value)}}); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function xe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var ke,Ae,we=e({name:"TDivider",props:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xe(Object(n),!0).forEach((function(t){o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},{align:{type:String,default:"center",validator:function(e){return!e||["left","right","center"].includes(e)}},content:{type:[String,Function]},dashed:Boolean,default:{type:[String,Function]},layout:{type:String,default:"horizontal",validator:function(e){return!e||["horizontal","vertical"].includes(e)}},theme:{type:String,validator:function(e){return!e||["horizontal","vertical"].includes(e)}}}),setup:function(e){var t=a("divider"),n=l();return function(){var r=e.layout,i=e.dashed,a=e.align,l=n("default","content"),c=["".concat(t.value),["".concat(t.value,"--").concat(r)],o(o(o({},"".concat(t.value,"--dashed"),!!i),"".concat(t.value,"--with-text"),!!l),"".concat(t.value,"--with-text-").concat(a),!!l)];return s("div",{class:c},[l&&s("span",{class:"".concat(t.value,"__inner-text")},[l])])}}}),Ne=u(we); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var Oe=function(){if(Ae)return ke;function e(e,t){t=t?Array.isArray(t)?t:[t]:[],Object.freeze(t);var n=e.renderer.rules.link_open||this.defaultRender;e.renderer.rules.link_open=function(e,r,i,a,o){var s=function(e,t){var n,r,i=e.attrs[e.attrIndex("href")][1];for(n=0;n<t.length;++n){if("function"!=typeof(r=t[n]).matcher)return r;if(r.matcher(i,r))return r}}(e[r],t),l=s&&s.attrs;return l&&function(e,t,n){Object.keys(n).forEach((function(r){var i,a=n[r];"className"===r&&(r="class"),(i=t[e].attrIndex(r))<0?t[e].attrPush([r,a]):t[e].attrs[i][1]=a}))}(r,e,l),n(e,r,i,a,o)}}return Ae=1,e.defaultRender=function(e,t,n,r,i){return i.renderToken(e,t,n)},ke=e}();const Re=d(Oe),Ie={};function De(e,t){"string"!=typeof t&&(t=De.defaultChars);const n=function(e){let t=Ie[e];if(t)return t;t=Ie[e]=[];for(let n=0;n<128;n++){const e=String.fromCharCode(n);t.push(e)}for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);t[r]="%"+("0"+r.toString(16).toUpperCase()).slice(-2)}return t}(t);return e.replace(/(%[a-f0-9]{2})+/gi,(function(e){let t="";for(let r=0,i=e.length;r<i;r+=3){const a=parseInt(e.slice(r+1,r+3),16);if(a<128)t+=n[a];else{if(192==(224&a)&&r+3<i){const n=parseInt(e.slice(r+4,r+6),16);if(128==(192&n)){const e=a<<6&1984|63&n;t+=e<128?"��":String.fromCharCode(e),r+=3;continue}}if(224==(240&a)&&r+6<i){const n=parseInt(e.slice(r+4,r+6),16),i=parseInt(e.slice(r+7,r+9),16);if(128==(192&n)&&128==(192&i)){const e=a<<12&61440|n<<6&4032|63&i;t+=e<2048||e>=55296&&e<=57343?"���":String.fromCharCode(e),r+=6;continue}}if(240==(248&a)&&r+9<i){const n=parseInt(e.slice(r+4,r+6),16),i=parseInt(e.slice(r+7,r+9),16),o=parseInt(e.slice(r+10,r+12),16);if(128==(192&n)&&128==(192&i)&&128==(192&o)){let e=a<<18&1835008|n<<12&258048|i<<6&4032|63&o;e<65536||e>1114111?t+="����":(e-=65536,t+=String.fromCharCode(55296+(e>>10),56320+(1023&e))),r+=9;continue}}t+="�"}}return t}))}De.defaultChars=";/?:@&=+$,#",De.componentChars="";const Me={};function Le(e,t,n){"string"!=typeof t&&(n=t,t=Le.defaultChars),void 0===n&&(n=!0);const r=function(e){let t=Me[e];if(t)return t;t=Me[e]=[];for(let n=0;n<128;n++){const e=String.fromCharCode(n);/^[0-9a-z]$/i.test(e)?t.push(e):t.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2))}for(let n=0;n<e.length;n++)t[e.charCodeAt(n)]=e[n];return t}(t);let i="";for(let a=0,o=e.length;a<o;a++){const t=e.charCodeAt(a);if(n&&37===t&&a+2<o&&/^[0-9a-f]{2}$/i.test(e.slice(a+1,a+3)))i+=e.slice(a,a+3),a+=2;else if(t<128)i+=r[t];else if(t>=55296&&t<=57343){if(t>=55296&&t<=56319&&a+1<o){const t=e.charCodeAt(a+1);if(t>=56320&&t<=57343){i+=encodeURIComponent(e[a]+e[a+1]),a++;continue}}i+="%EF%BF%BD"}else i+=encodeURIComponent(e[a])}return i}function Pe(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function je(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}Le.defaultChars=";/?:@&=+$,-_.!~*'()#",Le.componentChars="-_.!~*'()";const Fe=/^([a-z0-9.+-]+:)/i,Be=/:[0-9]*$/,Ue=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Ge=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),ze=["'"].concat(Ge),$e=["%","/","?",";","#"].concat(ze),Ye=["/","?","#"],qe=/^[+a-z0-9A-Z_-]{0,63}$/,He=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Ve={javascript:!0,"javascript:":!0},We={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Qe(e,t){if(e&&e instanceof je)return e;const n=new je;return n.parse(e,t),n}je.prototype.parse=function(e,t){let n,r,i,a=e;if(a=a.trim(),!t&&1===e.split("#").length){const e=Ue.exec(a);if(e)return this.pathname=e[1],e[2]&&(this.search=e[2]),this}let o=Fe.exec(a);if(o&&(o=o[0],n=o.toLowerCase(),this.protocol=o,a=a.substr(o.length)),(t||o||a.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i="//"===a.substr(0,2),!i||o&&Ve[o]||(a=a.substr(2),this.slashes=!0)),!Ve[o]&&(i||o&&!We[o])){let e,t,n=-1;for(let s=0;s<Ye.length;s++)r=a.indexOf(Ye[s]),-1!==r&&(-1===n||r<n)&&(n=r);t=-1===n?a.lastIndexOf("@"):a.lastIndexOf("@",n),-1!==t&&(e=a.slice(0,t),a=a.slice(t+1),this.auth=e),n=-1;for(let s=0;s<$e.length;s++)r=a.indexOf($e[s]),-1!==r&&(-1===n||r<n)&&(n=r);-1===n&&(n=a.length),":"===a[n-1]&&n--;const i=a.slice(0,n);a=a.slice(n),this.parseHost(i),this.hostname=this.hostname||"";const o="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!o){const e=this.hostname.split(/\./);for(let t=0,n=e.length;t<n;t++){const n=e[t];if(n&&!n.match(qe)){let r="";for(let e=0,t=n.length;e<t;e++)n.charCodeAt(e)>127?r+="x":r+=n[e];if(!r.match(qe)){const r=e.slice(0,t),i=e.slice(t+1),o=n.match(He);o&&(r.push(o[1]),i.unshift(o[2])),i.length&&(a=i.join(".")+a),this.hostname=r.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),o&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const s=a.indexOf("#");-1!==s&&(this.hash=a.substr(s),a=a.slice(0,s));const l=a.indexOf("?");return-1!==l&&(this.search=a.substr(l),a=a.slice(0,l)),a&&(this.pathname=a),We[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this},je.prototype.parseHost=function(e){let t=Be.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};const Ke=Object.defineProperty({__proto__:null,decode:De,encode:Le,format:Pe,parse:Qe},Symbol.toStringTag,{value:"Module"}),Xe=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Ze=/[\0-\x1F\x7F-\x9F]/,Je=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,et=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,tt=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,nt=Object.defineProperty({__proto__:null,Any:Xe,Cc:Ze,Cf:/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,P:Je,S:et,Z:tt},Symbol.toStringTag,{value:"Module"}),rt=new Uint16Array( +// prettier-ignore +'ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((e=>e.charCodeAt(0)))),it=new Uint16Array( +// prettier-ignore +"Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((e=>e.charCodeAt(0))));var at;const ot=new Map([[0,65533], +// C1 Unicode control character reference replacements +[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]]),st= +// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition, node/no-unsupported-features/es-builtins +null!==(at=String.fromCodePoint)&&void 0!==at?at:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e),t};var lt,ct;(ct=lt||(lt={}))[ct.NUM=35]="NUM",ct[ct.SEMI=59]="SEMI",ct[ct.EQUALS=61]="EQUALS",ct[ct.ZERO=48]="ZERO",ct[ct.NINE=57]="NINE",ct[ct.LOWER_A=97]="LOWER_A",ct[ct.LOWER_F=102]="LOWER_F",ct[ct.LOWER_X=120]="LOWER_X",ct[ct.LOWER_Z=122]="LOWER_Z",ct[ct.UPPER_A=65]="UPPER_A",ct[ct.UPPER_F=70]="UPPER_F",ct[ct.UPPER_Z=90]="UPPER_Z";var ut,dt,ht,pt,gt,mt;function _t(e){return e>=lt.ZERO&&e<=lt.NINE}function bt(e){return e===lt.EQUALS||function(e){return e>=lt.UPPER_A&&e<=lt.UPPER_Z||e>=lt.LOWER_A&&e<=lt.LOWER_Z||_t(e)}(e)}(dt=ut||(ut={}))[dt.VALUE_LENGTH=49152]="VALUE_LENGTH",dt[dt.BRANCH_LENGTH=16256]="BRANCH_LENGTH",dt[dt.JUMP_TABLE=127]="JUMP_TABLE",(pt=ht||(ht={}))[pt.EntityStart=0]="EntityStart",pt[pt.NumericStart=1]="NumericStart",pt[pt.NumericDecimal=2]="NumericDecimal",pt[pt.NumericHex=3]="NumericHex",pt[pt.NamedEntity=4]="NamedEntity",(mt=gt||(gt={}))[mt.Legacy=0]="Legacy",mt[mt.Strict=1]="Strict",mt[mt.Attribute=2]="Attribute";class ft{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=ht.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=gt.Strict} +/** Resets the instance to make it reusable. */startEntity(e){this.decodeMode=e,this.state=ht.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1} +/** + * Write an entity to the decoder. This can be called multiple times with partial entities. + * If the entity is incomplete, the decoder will return -1. + * + * Mirrors the implementation of `getDecoder`, but with the ability to stop decoding if the + * entity is incomplete, and resume when the next string is written. + * + * @param string The string containing the entity (or a continuation of the entity). + * @param offset The offset at which the entity begins. Should be 0 if this is not the first call. + * @returns The number of characters that were consumed, or -1 if the entity is incomplete. + */write(e,t){switch(this.state){case ht.EntityStart:return e.charCodeAt(t)===lt.NUM?(this.state=ht.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=ht.NamedEntity,this.stateNamedEntity(e,t));case ht.NumericStart:return this.stateNumericStart(e,t);case ht.NumericDecimal:return this.stateNumericDecimal(e,t);case ht.NumericHex:return this.stateNumericHex(e,t);case ht.NamedEntity:return this.stateNamedEntity(e,t)}} +/** + * Switches between the numeric decimal and hexadecimal states. + * + * Equivalent to the `Numeric character reference state` in the HTML spec. + * + * @param str The string containing the entity (or a continuation of the entity). + * @param offset The current offset. + * @returns The number of characters that were consumed, or -1 if the entity is incomplete. + */stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===lt.LOWER_X?(this.state=ht.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=ht.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,r){if(t!==n){const i=n-t;this.result=this.result*Math.pow(r,i)+parseInt(e.substr(t,i),r),this.consumed+=i}} +/** + * Parses a hexadecimal numeric entity. + * + * Equivalent to the `Hexademical character reference state` in the HTML spec. + * + * @param str The string containing the entity (or a continuation of the entity). + * @param offset The current offset. + * @returns The number of characters that were consumed, or -1 if the entity is incomplete. + */stateNumericHex(e,t){const n=t;for(;t<e.length;){const i=e.charCodeAt(t);if(!(_t(i)||(r=i,r>=lt.UPPER_A&&r<=lt.UPPER_F||r>=lt.LOWER_A&&r<=lt.LOWER_F)))return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(i,3);t+=1}var r;return this.addToNumericResult(e,n,t,16),-1} +/** + * Parses a decimal numeric entity. + * + * Equivalent to the `Decimal character reference state` in the HTML spec. + * + * @param str The string containing the entity (or a continuation of the entity). + * @param offset The current offset. + * @returns The number of characters that were consumed, or -1 if the entity is incomplete. + */stateNumericDecimal(e,t){const n=t;for(;t<e.length;){const r=e.charCodeAt(t);if(!_t(r))return this.addToNumericResult(e,n,t,10),this.emitNumericEntity(r,2);t+=1}return this.addToNumericResult(e,n,t,10),-1} +/** + * Validate and emit a numeric entity. + * + * Implements the logic from the `Hexademical character reference start + * state` and `Numeric character reference end state` in the HTML spec. + * + * @param lastCp The last code point of the entity. Used to see if the + * entity was terminated with a semicolon. + * @param expectedLength The minimum number of characters that should be + * consumed. Used to validate that at least one digit + * was consumed. + * @returns The number of characters that were consumed. + */emitNumericEntity(e,t){var n;if(this.consumed<=t)return null===(n=this.errors)||void 0===n||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===lt.SEMI)this.consumed+=1;else if(this.decodeMode===gt.Strict)return 0;return this.emitCodePoint(function(e){var t;return e>=55296&&e<=57343||e>1114111?65533:null!==(t=ot.get(e))&&void 0!==t?t:e}(this.result),this.consumed),this.errors&&(e!==lt.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed} +/** + * Parses a named entity. + * + * Equivalent to the `Named character reference state` in the HTML spec. + * + * @param str The string containing the entity (or a continuation of the entity). + * @param offset The current offset. + * @returns The number of characters that were consumed, or -1 if the entity is incomplete. + */stateNamedEntity(e,t){const{decodeTree:n}=this;let r=n[this.treeIndex],i=(r&ut.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){const a=e.charCodeAt(t);if(this.treeIndex=vt(n,r,this.treeIndex+Math.max(1,i),a),this.treeIndex<0)return 0===this.result||// If we are parsing an attribute +this.decodeMode===gt.Attribute&&(// We shouldn't have consumed any characters after the entity, +0===i||// And there should be no invalid characters. +bt(a))?0:this.emitNotTerminatedNamedEntity();if(r=n[this.treeIndex],i=(r&ut.VALUE_LENGTH)>>14,0!==i){if(a===lt.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==gt.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1} +/** + * Emit a named entity that was not terminated with a semicolon. + * + * @returns The number of characters consumed. + */emitNotTerminatedNamedEntity(){var e;const{result:t,decodeTree:n}=this,r=(n[t]&ut.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed} +/** + * Emit a named entity. + * + * @param result The index of the entity in the decode tree. + * @param valueLength The number of bytes in the entity. + * @param consumed The number of characters consumed. + * + * @returns The number of characters consumed. + */emitNamedEntityData(e,t,n){const{decodeTree:r}=this;return this.emitCodePoint(1===t?r[e]&~ut.VALUE_LENGTH:r[e+1],n),3===t&&this.emitCodePoint(r[e+2],n),n} +/** + * Signal to the parser that the end of the input was reached. + * + * Remaining data will be emitted and relevant errors will be produced. + * + * @returns The number of characters consumed. + */end(){var e;switch(this.state){case ht.NamedEntity:return 0===this.result||this.decodeMode===gt.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity(); +// Otherwise, emit a numeric entity if we have one. +case ht.NumericDecimal:return this.emitNumericEntity(0,2);case ht.NumericHex:return this.emitNumericEntity(0,3);case ht.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case ht.EntityStart:return 0}}}function yt(e){let t="";const n=new ft(e,(e=>t+=st(e)));return function(e,r){let i=0,a=0;for(;(a=e.indexOf("&",a))>=0;){t+=e.slice(i,a),n.startEntity(r);const o=n.write(e, +// Skip the "&" +a+1);if(o<0){i=a+n.end();break}i=a+o,a=0===o?i+1:i}const o=t+e.slice(i);return t="",o}}function vt(e,t,n,r){const i=(t&ut.BRANCH_LENGTH)>>7,a=t&ut.JUMP_TABLE;if(0===i)return 0!==a&&r===a?n:-1;if(a){const t=r-a;return t<0||t>=i?-1:e[n+t]-1}let o=n,s=o+i-1;for(;o<=s;){const t=o+s>>>1,n=e[t];if(n<r)o=t+1;else{if(!(n>r))return e[t+i];s=t-1}}return-1}const Et=yt(rt);function St(e,t=gt.Legacy){return Et(e,t)}function Tt(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)}yt(it);const Ct=Object.prototype.hasOwnProperty;function xt(e){return Array.prototype.slice.call(arguments,1).forEach((function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach((function(n){e[n]=t[n]}))}})),e}function kt(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function At(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(!!(65535&~e&&65534!=(65535&e))&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function wt(e){if(e>65535){const t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}const Nt=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,Ot=new RegExp(Nt.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),Rt=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function It(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(Ot,(function(e,t,n){return t||function(e,t){if(35===t.charCodeAt(0)&&Rt.test(t)){const n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return At(n)?wt(n):e}const n=St(e);return n!==e?n:e}(e,n)}))}const Dt=/[&<>"]/,Mt=/[&<>"]/g,Lt={"&":"&","<":"<",">":">",'"':"""};function Pt(e){return Lt[e]}function jt(e){return Dt.test(e)?e.replace(Mt,Pt):e}const Ft=/[.?*+^$[\]\\(){}|-]/g;function Bt(e){switch(e){case 9:case 32:return!0}return!1}function Ut(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9: +// \t +case 10: +// \n +case 11: +// \v +case 12: +// \f +case 13: +// \r +case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function Gt(e){return Je.test(e)||et.test(e)}function zt(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function $t(e){return e=e.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}const Yt={mdurl:Ke,ucmicro:nt},qt=Object.defineProperty({__proto__:null,arrayReplaceAt:kt,assign:xt,escapeHtml:jt,escapeRE:function(e){return e.replace(Ft,"\\$&")},fromCodePoint:wt,has:function(e,t){return Ct.call(e,t)},isMdAsciiPunct:zt,isPunctChar:Gt,isSpace:Bt,isString:Tt,isValidEntityCode:At,isWhiteSpace:Ut,lib:Yt,normalizeReference:$t,unescapeAll:It,unescapeMd:function(e){return e.indexOf("\\")<0?e:e.replace(Nt,"$1")}},Symbol.toStringTag,{value:"Module"});const Ht=Object.defineProperty({__proto__:null,parseLinkDestination:function(e,t,n){let r,i=t;const a={ok:!1,pos:0,str:""};if(60===e.charCodeAt(i)){for(i++;i<n;){if(r=e.charCodeAt(i),10===r)return a;if(60===r)return a;if(62===r)return a.pos=i+1,a.str=It(e.slice(t+1,i)),a.ok=!0,a;92===r&&i+1<n?i+=2:i++}return a}let o=0;for(;i<n&&(r=e.charCodeAt(i),32!==r)&&!(r<32||127===r);)if(92===r&&i+1<n){if(32===e.charCodeAt(i+1))break;i+=2}else{if(40===r&&(o++,o>32))return a;if(41===r){if(0===o)break;o--}i++}return t===i||0!==o||(a.str=It(e.slice(t,i)),a.pos=i,a.ok=!0),a},parseLinkLabel:function(e,t,n){let r,i,a,o;const s=e.posMax,l=e.pos;for(e.pos=t+1,r=1;e.pos<s;){if(a=e.src.charCodeAt(e.pos),93===a&&(r--,0===r)){i=!0;break}if(o=e.pos,e.md.inline.skipToken(e),91===a)if(o===e.pos-1)r++;else if(n)return e.pos=l,-1}let c=-1;return i&&(c=e.pos),e.pos=l,c},parseLinkTitle:function(e,t,n,r){let i,a=t;const o={ +// if `true`, this is a valid link title +ok:!1, +// if `true`, this link can be continued on the next line +can_continue:!1, +// if `ok`, it's the position of the first character after the closing marker +pos:0, +// if `ok`, it's the unescaped title +str:"", +// expected closing marker character code +marker:0};if(r)o.str=r.str,o.marker=r.marker;else{if(a>=n)return o;let r=e.charCodeAt(a);if(34!==r&&39!==r&&40!==r)return o;t++,a++,40===r&&(r=41),o.marker=r}for(;a<n;){if(i=e.charCodeAt(a),i===o.marker)return o.pos=a+1,o.str+=It(e.slice(t,a)),o.ok=!0,o;if(40===i&&41===o.marker)return o;92===i&&a+1<n&&a++,a++}return o.can_continue=!0,o.str+=It(e.slice(t,a)),o}},Symbol.toStringTag,{value:"Module"}),Vt={};function Wt(){this.rules=xt({},Vt)}function Qt(){this.__rules__=[],this.__cache__=null}function Kt(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}function Xt(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}Vt.code_inline=function(e,t,n,r,i){const a=e[t];return"<code"+i.renderAttrs(a)+">"+jt(a.content)+"</code>"},Vt.code_block=function(e,t,n,r,i){const a=e[t];return"<pre"+i.renderAttrs(a)+"><code>"+jt(e[t].content)+"</code></pre>\n"},Vt.fence=function(e,t,n,r,i){const a=e[t],o=a.info?It(a.info).trim():"";let s,l="",c="";if(o){const e=o.split(/(\s+)/g);l=e[0],c=e.slice(2).join("")}if(s=n.highlight&&n.highlight(a.content,l,c)||jt(a.content),0===s.indexOf("<pre"))return s+"\n";if(o){const e=a.attrIndex("class"),t=a.attrs?a.attrs.slice():[];e<0?t.push(["class",n.langPrefix+l]):(t[e]=t[e].slice(),t[e][1]+=" "+n.langPrefix+l);const r={attrs:t};return`<pre><code${i.renderAttrs(r)}>${s}</code></pre>\n`}return`<pre><code${i.renderAttrs(a)}>${s}</code></pre>\n`},Vt.image=function(e,t,n,r,i){const a=e[t];return a.attrs[a.attrIndex("alt")][1]=i.renderInlineAsText(a.children,n,r),i.renderToken(e,t,n)},Vt.hardbreak=function(e,t,n){return n.xhtmlOut?"<br />\n":"<br>\n"},Vt.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"<br />\n":"<br>\n":"\n"},Vt.text=function(e,t){return jt(e[t].content)},Vt.html_block=function(e,t){return e[t].content},Vt.html_inline=function(e,t){return e[t].content},Wt.prototype.renderAttrs=function(e){let t,n,r;if(!e.attrs)return"";for(r="",t=0,n=e.attrs.length;t<n;t++)r+=" "+jt(e.attrs[t][0])+'="'+jt(e.attrs[t][1])+'"';return r},Wt.prototype.renderToken=function(e,t,n){const r=e[t];let i="";if(r.hidden)return"";r.block&&-1!==r.nesting&&t&&e[t-1].hidden&&(i+="\n"),i+=(-1===r.nesting?"</":"<")+r.tag,i+=this.renderAttrs(r),0===r.nesting&&n.xhtmlOut&&(i+=" /");let a=!1;if(r.block&&(a=!0,1===r.nesting&&t+1<e.length)){const n=e[t+1];("inline"===n.type||n.hidden||-1===n.nesting&&n.tag===r.tag)&&(a=!1)}return i+=a?">\n":">",i},Wt.prototype.renderInline=function(e,t,n){let r="";const i=this.rules;for(let a=0,o=e.length;a<o;a++){const o=e[a].type;void 0!==i[o]?r+=i[o](e,a,t,n,this):r+=this.renderToken(e,a,t)}return r},Wt.prototype.renderInlineAsText=function(e,t,n){let r="";for(let i=0,a=e.length;i<a;i++)switch(e[i].type){case"text":case"html_inline":case"html_block":r+=e[i].content;break;case"image":r+=this.renderInlineAsText(e[i].children,t,n);break;case"softbreak":case"hardbreak":r+="\n"}return r},Wt.prototype.render=function(e,t,n){let r="";const i=this.rules;for(let a=0,o=e.length;a<o;a++){const o=e[a].type;"inline"===o?r+=this.renderInline(e[a].children,t,n):void 0!==i[o]?r+=i[o](e,a,t,n,this):r+=this.renderToken(e,a,t,n)}return r},Qt.prototype.__find__=function(e){for(let t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},Qt.prototype.__compile__=function(){const e=this,t=[""];e.__rules__.forEach((function(e){e.enabled&&e.alt.forEach((function(e){t.indexOf(e)<0&&t.push(e)}))})),e.__cache__={},t.forEach((function(t){e.__cache__[t]=[],e.__rules__.forEach((function(n){n.enabled&&(t&&n.alt.indexOf(t)<0||e.__cache__[t].push(n.fn))}))}))},Qt.prototype.at=function(e,t,n){const r=this.__find__(e),i=n||{};if(-1===r)throw new Error("Parser rule not found: "+e);this.__rules__[r].fn=t,this.__rules__[r].alt=i.alt||[],this.__cache__=null},Qt.prototype.before=function(e,t,n,r){const i=this.__find__(e),a=r||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:n,alt:a.alt||[]}),this.__cache__=null},Qt.prototype.after=function(e,t,n,r){const i=this.__find__(e),a=r||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:n,alt:a.alt||[]}),this.__cache__=null},Qt.prototype.push=function(e,t,n){const r=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null},Qt.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);const n=[];return e.forEach((function(e){const r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!0,n.push(e)}),this),this.__cache__=null,n},Qt.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach((function(e){e.enabled=!1})),this.enable(e,t)},Qt.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);const n=[];return e.forEach((function(e){const r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!1,n.push(e)}),this),this.__cache__=null,n},Qt.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},Kt.prototype.attrIndex=function(e){if(!this.attrs)return-1;const t=this.attrs;for(let n=0,r=t.length;n<r;n++)if(t[n][0]===e)return n;return-1},Kt.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},Kt.prototype.attrSet=function(e,t){const n=this.attrIndex(e),r=[e,t];n<0?this.attrPush(r):this.attrs[n]=r},Kt.prototype.attrGet=function(e){const t=this.attrIndex(e);let n=null;return t>=0&&(n=this.attrs[t][1]),n},Kt.prototype.attrJoin=function(e,t){const n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},Xt.prototype.Token=Kt;const Zt=/\r\n?|\n/g,Jt=/\0/g;function en(e){return/^<\/a\s*>/i.test(e)}const tn=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,nn=/\((c|tm|r)\)/i,rn=/\((c|tm|r)\)/gi,an={c:"©",r:"®",tm:"™"};function on(e,t){return an[t.toLowerCase()]}function sn(e){let t=0;for(let n=e.length-1;n>=0;n--){const r=e[n];"text"!==r.type||t||(r.content=r.content.replace(rn,on)),"link_open"===r.type&&"auto"===r.info&&t--,"link_close"===r.type&&"auto"===r.info&&t++}}function ln(e){let t=0;for(let n=e.length-1;n>=0;n--){const r=e[n];"text"!==r.type||t||tn.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1—").replace(/(^|\s)--(?=\s|$)/gm,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1–")),"link_open"===r.type&&"auto"===r.info&&t--,"link_close"===r.type&&"auto"===r.info&&t++}}const cn=/['"]/,un=/['"]/g;function dn(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function hn(e,t){let n;const r=[];for(let i=0;i<e.length;i++){const a=e[i],o=e[i].level;for(n=r.length-1;n>=0&&!(r[n].level<=o);n--);if(r.length=n+1,"text"!==a.type)continue;let s=a.content,l=0,c=s.length;e:for(;l<c;){un.lastIndex=l;const u=un.exec(s);if(!u)break;let d=!0,h=!0;l=u.index+1;const p="'"===u[0];let g=32;if(u.index-1>=0)g=s.charCodeAt(u.index-1);else for(n=i-1;n>=0&&("softbreak"!==e[n].type&&"hardbreak"!==e[n].type);n--)if(e[n].content){g=e[n].content.charCodeAt(e[n].content.length-1);break}let m=32;if(l<c)m=s.charCodeAt(l);else for(n=i+1;n<e.length&&("softbreak"!==e[n].type&&"hardbreak"!==e[n].type);n++)if(e[n].content){m=e[n].content.charCodeAt(0);break}const _=zt(g)||Gt(String.fromCharCode(g)),b=zt(m)||Gt(String.fromCharCode(m)),f=Ut(g),y=Ut(m);if(y?d=!1:b&&(f||_||(d=!1)),f?h=!1:_&&(y||b||(h=!1)),34===m&&'"'===u[0]&&g>=48&&g<=57&&(h=d=!1),d&&h&&(d=_,h=b),d||h){if(h)for(n=r.length-1;n>=0;n--){let d=r[n];if(r[n].level<o)break;if(d.single===p&&r[n].level===o){let o,h;d=r[n],p?(o=t.md.options.quotes[2],h=t.md.options.quotes[3]):(o=t.md.options.quotes[0],h=t.md.options.quotes[1]),a.content=dn(a.content,u.index,h),e[d.token].content=dn(e[d.token].content,d.pos,o),l+=h.length-1,d.token===i&&(l+=o.length-1),s=a.content,c=s.length,r.length=n;continue e}}d?r.push({token:i,pos:u.index,single:p,level:o}):h&&p&&(a.content=dn(a.content,u.index,"’"))}else p&&(a.content=dn(a.content,u.index,"’"))}}}const pn=[["normalize",function(e){let t;t=e.src.replace(Zt,"\n"),t=t.replace(Jt,"�"),e.src=t}],["block",function(e){let t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}],["inline",function(e){const t=e.tokens;for(let n=0,r=t.length;n<r;n++){const r=t[n];"inline"===r.type&&e.md.inline.parse(r.content,e.md,e.env,r.children)}}],["linkify",function(e){const t=e.tokens;var n;if(e.md.options.linkify)for(let r=0,i=t.length;r<i;r++){if("inline"!==t[r].type||!e.md.linkify.pretest(t[r].content))continue;let i=t[r].children,a=0;for(let o=i.length-1;o>=0;o--){const s=i[o];if("link_close"!==s.type){if("html_inline"===s.type&&(n=s.content,/^<a[>\s]/i.test(n)&&a>0&&a--,en(s.content)&&a++),!(a>0)&&"text"===s.type&&e.md.linkify.test(s.content)){const n=s.content;let a=e.md.linkify.match(n);const l=[];let c=s.level,u=0;a.length>0&&0===a[0].index&&o>0&&"text_special"===i[o-1].type&&(a=a.slice(1));for(let t=0;t<a.length;t++){const r=a[t].url,i=e.md.normalizeLink(r);if(!e.md.validateLink(i))continue;let o=a[t].text;o=a[t].schema?"mailto:"!==a[t].schema||/^mailto:/i.test(o)?e.md.normalizeLinkText(o):e.md.normalizeLinkText("mailto:"+o).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+o).replace(/^http:\/\//,"");const s=a[t].index;if(s>u){const t=new e.Token("text","",0);t.content=n.slice(u,s),t.level=c,l.push(t)}const d=new e.Token("link_open","a",1);d.attrs=[["href",i]],d.level=c++,d.markup="linkify",d.info="auto",l.push(d);const h=new e.Token("text","",0);h.content=o,h.level=c,l.push(h);const p=new e.Token("link_close","a",-1);p.level=--c,p.markup="linkify",p.info="auto",l.push(p),u=a[t].lastIndex}if(u<n.length){const t=new e.Token("text","",0);t.content=n.slice(u),t.level=c,l.push(t)}t[r].children=i=kt(i,o,l)}}else for(o--;i[o].level!==s.level&&"link_open"!==i[o].type;)o--}}}],["replacements",function(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(nn.test(e.tokens[t].content)&&sn(e.tokens[t].children),tn.test(e.tokens[t].content)&&ln(e.tokens[t].children))}],["smartquotes",function(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&cn.test(e.tokens[t].content)&&hn(e.tokens[t].children,e)}], +// `text_join` finds `text_special` tokens (for escape sequences) +// and joins them with the rest of the text +["text_join",function(e){let t,n;const r=e.tokens,i=r.length;for(let a=0;a<i;a++){if("inline"!==r[a].type)continue;const e=r[a].children,i=e.length;for(t=0;t<i;t++)"text_special"===e[t].type&&(e[t].type="text");for(t=n=0;t<i;t++)"text"===e[t].type&&t+1<i&&"text"===e[t+1].type?e[t+1].content=e[t].content+e[t+1].content:(t!==n&&(e[n]=e[t]),n++);t!==n&&(e.length=n)}}]];function gn(){this.ruler=new Qt;for(let e=0;e<pn.length;e++)this.ruler.push(pn[e][0],pn[e][1])}function mn(e,t,n,r){this.src=e,this.md=t,this.env=n,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0;const i=this.src;for(let a=0,o=0,s=0,l=0,c=i.length,u=!1;o<c;o++){const e=i.charCodeAt(o);if(!u){if(Bt(e)){s++,9===e?l+=4-l%4:l++;continue}u=!0}10!==e&&o!==c-1||(10!==e&&o++,this.bMarks.push(a),this.eMarks.push(o),this.tShift.push(s),this.sCount.push(l),this.bsCount.push(0),u=!1,s=0,l=0,a=o+1)}this.bMarks.push(i.length),this.eMarks.push(i.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}gn.prototype.process=function(e){const t=this.ruler.getRules("");for(let n=0,r=t.length;n<r;n++)t[n](e)},gn.prototype.State=Xt,mn.prototype.push=function(e,t,n){const r=new Kt(e,t,n);return r.block=!0,n<0&&this.level--,r.level=this.level,n>0&&this.level++,this.tokens.push(r),r},mn.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},mn.prototype.skipEmptyLines=function(e){for(let t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},mn.prototype.skipSpaces=function(e){for(let t=this.src.length;e<t;e++){if(!Bt(this.src.charCodeAt(e)))break}return e},mn.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!Bt(this.src.charCodeAt(--e)))return e+1;return e},mn.prototype.skipChars=function(e,t){for(let n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e},mn.prototype.skipCharsBack=function(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e},mn.prototype.getLines=function(e,t,n,r){if(e>=t)return"";const i=new Array(t-e);for(let a=0,o=e;o<t;o++,a++){let e=0;const s=this.bMarks[o];let l,c=s;for(l=o+1<t||r?this.eMarks[o]+1:this.eMarks[o];c<l&&e<n;){const t=this.src.charCodeAt(c);if(Bt(t))9===t?e+=4-(e+this.bsCount[o])%4:e++;else{if(!(c-s<this.tShift[o]))break;e++}c++}i[a]=e>n?new Array(e-n+1).join(" ")+this.src.slice(c,l):this.src.slice(c,l)}return i.join("")},mn.prototype.Token=Kt;function _n(e,t){const n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.slice(n,r)}function bn(e){const t=[],n=e.length;let r=0,i=e.charCodeAt(r),a=!1,o=0,s="";for(;r<n;)124===i&&(a?(s+=e.substring(o,r-1),o=r):(t.push(s+e.substring(o,r)),s="",o=r+1)),a=92===i,r++,i=e.charCodeAt(r);return t.push(s+e.substring(o)),t}function fn(e,t){const n=e.eMarks[t];let r=e.bMarks[t]+e.tShift[t];const i=e.src.charCodeAt(r++);if(42!==i&&45!==i&&43!==i)return-1;if(r<n){if(!Bt(e.src.charCodeAt(r)))return-1}return r}function yn(e,t){const n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];let i=n;if(i+1>=r)return-1;let a=e.src.charCodeAt(i++);if(a<48||a>57)return-1;for(;;){if(i>=r)return-1;if(a=e.src.charCodeAt(i++),!(a>=48&&a<=57)){if(41===a||46===a)break;return-1}if(i-n>=10)return-1}return i<r&&(a=e.src.charCodeAt(i),!Bt(a))?-1:i}const vn="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",En="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Sn=new RegExp("^(?:"+vn+"|"+En+"|\x3c!---?>|\x3c!--(?:[^-]|-[^-]|--[^>])*--\x3e|<[?][\\s\\S]*?[?]>|<![A-Za-z][^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),Tn=new RegExp("^(?:"+vn+"|"+En+")"),Cn=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"].join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(Tn.source+"\\s*$"),/^$/,!1]];const xn=[ +// First 2 params - rule name & source. Secondary array - list of rules, +// which can be terminated by this one. +["table",function(e,t,n,r){if(t+2>n)return!1;let i=t+1;if(e.sCount[i]<e.blkIndent)return!1;if(e.sCount[i]-e.blkIndent>=4)return!1;let a=e.bMarks[i]+e.tShift[i];if(a>=e.eMarks[i])return!1;const o=e.src.charCodeAt(a++);if(124!==o&&45!==o&&58!==o)return!1;if(a>=e.eMarks[i])return!1;const s=e.src.charCodeAt(a++);if(124!==s&&45!==s&&58!==s&&!Bt(s))return!1;if(45===o&&Bt(s))return!1;for(;a<e.eMarks[i];){const t=e.src.charCodeAt(a);if(124!==t&&45!==t&&58!==t&&!Bt(t))return!1;a++}let l=_n(e,t+1),c=l.split("|");const u=[];for(let b=0;b<c.length;b++){const e=c[b].trim();if(!e){if(0===b||b===c.length-1)continue;return!1}if(!/^:?-+:?$/.test(e))return!1;58===e.charCodeAt(e.length-1)?u.push(58===e.charCodeAt(0)?"center":"right"):58===e.charCodeAt(0)?u.push("left"):u.push("")}if(l=_n(e,t).trim(),-1===l.indexOf("|"))return!1;if(e.sCount[t]-e.blkIndent>=4)return!1;c=bn(l),c.length&&""===c[0]&&c.shift(),c.length&&""===c[c.length-1]&&c.pop();const d=c.length;if(0===d||d!==u.length)return!1;if(r)return!0;const h=e.parentType;e.parentType="table";const p=e.md.block.ruler.getRules("blockquote"),g=[t,0];e.push("table_open","table",1).map=g,e.push("thead_open","thead",1).map=[t,t+1],e.push("tr_open","tr",1).map=[t,t+1];for(let b=0;b<c.length;b++){const t=e.push("th_open","th",1);u[b]&&(t.attrs=[["style","text-align:"+u[b]]]);const n=e.push("inline","",0);n.content=c[b].trim(),n.children=[],e.push("th_close","th",-1)}let m;e.push("tr_close","tr",-1),e.push("thead_close","thead",-1);let _=0;for(i=t+2;i<n&&!(e.sCount[i]<e.blkIndent);i++){let r=!1;for(let t=0,a=p.length;t<a;t++)if(p[t](e,i,n,!0)){r=!0;break}if(r)break;if(l=_n(e,i).trim(),!l)break;if(e.sCount[i]-e.blkIndent>=4)break;if(c=bn(l),c.length&&""===c[0]&&c.shift(),c.length&&""===c[c.length-1]&&c.pop(),_+=d-c.length,_>65536)break;if(i===t+2){e.push("tbody_open","tbody",1).map=m=[t+2,0]}e.push("tr_open","tr",1).map=[i,i+1];for(let t=0;t<d;t++){const n=e.push("td_open","td",1);u[t]&&(n.attrs=[["style","text-align:"+u[t]]]);const r=e.push("inline","",0);r.content=c[t]?c[t].trim():"",r.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return m&&(e.push("tbody_close","tbody",-1),m[1]=i),e.push("table_close","table",-1),g[1]=i,e.parentType=h,e.line=i,!0},["paragraph","reference"]],["code",function(e,t,n){if(e.sCount[t]-e.blkIndent<4)return!1;let r=t+1,i=r;for(;r<n;)if(e.isEmpty(r))r++;else{if(!(e.sCount[r]-e.blkIndent>=4))break;r++,i=r}e.line=i;const a=e.push("code_block","code",0);return a.content=e.getLines(t,i,4+e.blkIndent,!1)+"\n",a.map=[t,e.line],!0}],["fence",function(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(i+3>a)return!1;const o=e.src.charCodeAt(i);if(126!==o&&96!==o)return!1;let s=i;i=e.skipChars(i,o);let l=i-s;if(l<3)return!1;const c=e.src.slice(s,i),u=e.src.slice(i,a);if(96===o&&u.indexOf(String.fromCharCode(o))>=0)return!1;if(r)return!0;let d=t,h=!1;for(;(d++,!(d>=n))&&(i=s=e.bMarks[d]+e.tShift[d],a=e.eMarks[d],!(i<a&&e.sCount[d]<e.blkIndent));)if(e.src.charCodeAt(i)===o&&!(e.sCount[d]-e.blkIndent>=4||(i=e.skipChars(i,o),i-s<l||(i=e.skipSpaces(i),i<a)))){h=!0;break}l=e.sCount[t],e.line=d+(h?1:0);const p=e.push("fence","code",0);return p.info=u,p.content=e.getLines(t+1,d,l,!0),p.markup=c,p.map=[t,e.line],!0},["paragraph","reference","blockquote","list"]],["blockquote",function(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];const o=e.lineMax;if(e.sCount[t]-e.blkIndent>=4)return!1;if(62!==e.src.charCodeAt(i))return!1;if(r)return!0;const s=[],l=[],c=[],u=[],d=e.md.block.ruler.getRules("blockquote"),h=e.parentType;e.parentType="blockquote";let p,g=!1;for(p=t;p<n;p++){const t=e.sCount[p]<e.blkIndent;if(i=e.bMarks[p]+e.tShift[p],a=e.eMarks[p],i>=a)break;if(62===e.src.charCodeAt(i++)&&!t){let t,n,r=e.sCount[p]+1;32===e.src.charCodeAt(i)?(i++,r++,n=!1,t=!0):9===e.src.charCodeAt(i)?(t=!0,(e.bsCount[p]+r)%4==3?(i++,r++,n=!1):n=!0):t=!1;let o=r;for(s.push(e.bMarks[p]),e.bMarks[p]=i;i<a;){const t=e.src.charCodeAt(i);if(!Bt(t))break;9===t?o+=4-(o+e.bsCount[p]+(n?1:0))%4:o++,i++}g=i>=a,l.push(e.bsCount[p]),e.bsCount[p]=e.sCount[p]+1+(t?1:0),c.push(e.sCount[p]),e.sCount[p]=o-r,u.push(e.tShift[p]),e.tShift[p]=i-e.bMarks[p];continue}if(g)break;let r=!1;for(let i=0,a=d.length;i<a;i++)if(d[i](e,p,n,!0)){r=!0;break}if(r){e.lineMax=p,0!==e.blkIndent&&(s.push(e.bMarks[p]),l.push(e.bsCount[p]),u.push(e.tShift[p]),c.push(e.sCount[p]),e.sCount[p]-=e.blkIndent);break}s.push(e.bMarks[p]),l.push(e.bsCount[p]),u.push(e.tShift[p]),c.push(e.sCount[p]),e.sCount[p]=-1}const m=e.blkIndent;e.blkIndent=0;const _=e.push("blockquote_open","blockquote",1);_.markup=">";const b=[t,0];_.map=b,e.md.block.tokenize(e,t,p),e.push("blockquote_close","blockquote",-1).markup=">",e.lineMax=o,e.parentType=h,b[1]=e.line;for(let f=0;f<u.length;f++)e.bMarks[f+t]=s[f],e.tShift[f+t]=u[f],e.sCount[f+t]=c[f],e.bsCount[f+t]=l[f];return e.blkIndent=m,!0},["paragraph","reference","blockquote","list"]],["hr",function(e,t,n,r){const i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let a=e.bMarks[t]+e.tShift[t];const o=e.src.charCodeAt(a++);if(42!==o&&45!==o&&95!==o)return!1;let s=1;for(;a<i;){const t=e.src.charCodeAt(a++);if(t!==o&&!Bt(t))return!1;t===o&&s++}if(s<3)return!1;if(r)return!0;e.line=t+1;const l=e.push("hr","hr",0);return l.map=[t,e.line],l.markup=Array(s+1).join(String.fromCharCode(o)),!0},["paragraph","reference","blockquote","list"]],["list",function(e,t,n,r){let i,a,o,s,l=t,c=!0;if(e.sCount[l]-e.blkIndent>=4)return!1;if(e.listIndent>=0&&e.sCount[l]-e.listIndent>=4&&e.sCount[l]<e.blkIndent)return!1;let u,d,h,p=!1;if(r&&"paragraph"===e.parentType&&e.sCount[l]>=e.blkIndent&&(p=!0),(h=yn(e,l))>=0){if(u=!0,o=e.bMarks[l]+e.tShift[l],d=Number(e.src.slice(o,h-1)),p&&1!==d)return!1}else{if(!((h=fn(e,l))>=0))return!1;u=!1}if(p&&e.skipSpaces(h)>=e.eMarks[l])return!1;if(r)return!0;const g=e.src.charCodeAt(h-1),m=e.tokens.length;u?(s=e.push("ordered_list_open","ol",1),1!==d&&(s.attrs=[["start",d]])):s=e.push("bullet_list_open","ul",1);const _=[l,0];s.map=_,s.markup=String.fromCharCode(g);let b=!1;const f=e.md.block.ruler.getRules("list"),y=e.parentType;for(e.parentType="list";l<n;){a=h,i=e.eMarks[l];const t=e.sCount[l]+h-(e.bMarks[l]+e.tShift[l]);let r=t;for(;a<i;){const t=e.src.charCodeAt(a);if(9===t)r+=4-(r+e.bsCount[l])%4;else{if(32!==t)break;r++}a++}const d=a;let p;p=d>=i?1:r-t,p>4&&(p=1);const m=t+p;s=e.push("list_item_open","li",1),s.markup=String.fromCharCode(g);const _=[l,0];s.map=_,u&&(s.info=e.src.slice(o,h-1));const y=e.tight,v=e.tShift[l],E=e.sCount[l],S=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=m,e.tight=!0,e.tShift[l]=d-e.bMarks[l],e.sCount[l]=r,d>=i&&e.isEmpty(l+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,l,n,!0),e.tight&&!b||(c=!1),b=e.line-l>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=S,e.tShift[l]=v,e.sCount[l]=E,e.tight=y,s=e.push("list_item_close","li",-1),s.markup=String.fromCharCode(g),l=e.line,_[1]=l,l>=n)break;if(e.sCount[l]<e.blkIndent)break;if(e.sCount[l]-e.blkIndent>=4)break;let T=!1;for(let i=0,a=f.length;i<a;i++)if(f[i](e,l,n,!0)){T=!0;break}if(T)break;if(u){if(h=yn(e,l),h<0)break;o=e.bMarks[l]+e.tShift[l]}else if(h=fn(e,l),h<0)break;if(g!==e.src.charCodeAt(h-1))break}return s=u?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1),s.markup=String.fromCharCode(g),_[1]=l,e.line=l,e.parentType=y,c&&function(e,t){const n=e.level+2;for(let r=t+2,i=e.tokens.length-2;r<i;r++)e.tokens[r].level===n&&"paragraph_open"===e.tokens[r].type&&(e.tokens[r+2].hidden=!0,e.tokens[r].hidden=!0,r+=2)}(e,m),!0},["paragraph","reference","blockquote"]],["reference",function(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t],o=t+1;if(e.sCount[t]-e.blkIndent>=4)return!1;if(91!==e.src.charCodeAt(i))return!1;function s(t){const n=e.lineMax;if(t>=n||e.isEmpty(t))return null;let r=!1;if(e.sCount[t]-e.blkIndent>3&&(r=!0),e.sCount[t]<0&&(r=!0),!r){const r=e.md.block.ruler.getRules("reference"),i=e.parentType;e.parentType="reference";let a=!1;for(let o=0,s=r.length;o<s;o++)if(r[o](e,t,n,!0)){a=!0;break}if(e.parentType=i,a)return null}const i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];return e.src.slice(i,a+1)}let l=e.src.slice(i,a+1);a=l.length;let c=-1;for(i=1;i<a;i++){const e=l.charCodeAt(i);if(91===e)return!1;if(93===e){c=i;break}if(10===e){const e=s(o);null!==e&&(l+=e,a=l.length,o++)}else if(92===e&&(i++,i<a&&10===l.charCodeAt(i))){const e=s(o);null!==e&&(l+=e,a=l.length,o++)}}if(c<0||58!==l.charCodeAt(c+1))return!1;for(i=c+2;i<a;i++){const e=l.charCodeAt(i);if(10===e){const e=s(o);null!==e&&(l+=e,a=l.length,o++)}else if(!Bt(e))break}const u=e.md.helpers.parseLinkDestination(l,i,a);if(!u.ok)return!1;const d=e.md.normalizeLink(u.str);if(!e.md.validateLink(d))return!1;i=u.pos;const h=i,p=o,g=i;for(;i<a;i++){const e=l.charCodeAt(i);if(10===e){const e=s(o);null!==e&&(l+=e,a=l.length,o++)}else if(!Bt(e))break}let m,_=e.md.helpers.parseLinkTitle(l,i,a);for(;_.can_continue;){const t=s(o);if(null===t)break;l+=t,i=a,a=l.length,o++,_=e.md.helpers.parseLinkTitle(l,i,a,_)}for(i<a&&g!==i&&_.ok?(m=_.str,i=_.pos):(m="",i=h,o=p);i<a;){if(!Bt(l.charCodeAt(i)))break;i++}if(i<a&&10!==l.charCodeAt(i)&&m)for(m="",i=h,o=p;i<a;){if(!Bt(l.charCodeAt(i)))break;i++}if(i<a&&10!==l.charCodeAt(i))return!1;const b=$t(l.slice(1,c));return!!b&&(r||(void 0===e.env.references&&(e.env.references={}),void 0===e.env.references[b]&&(e.env.references[b]={title:m,href:d}),e.line=o),!0)}],["html_block",function(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(i))return!1;let o=e.src.slice(i,a),s=0;for(;s<Cn.length&&!Cn[s][0].test(o);s++);if(s===Cn.length)return!1;if(r)return Cn[s][2];let l=t+1;if(!Cn[s][1].test(o))for(;l<n&&!(e.sCount[l]<e.blkIndent);l++)if(i=e.bMarks[l]+e.tShift[l],a=e.eMarks[l],o=e.src.slice(i,a),Cn[s][1].test(o)){0!==o.length&&l++;break}e.line=l;const c=e.push("html_block","",0);return c.map=[t,l],c.content=e.getLines(t,l,e.blkIndent,!0),!0},["paragraph","reference","blockquote"]],["heading",function(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let o=e.src.charCodeAt(i);if(35!==o||i>=a)return!1;let s=1;for(o=e.src.charCodeAt(++i);35===o&&i<a&&s<=6;)s++,o=e.src.charCodeAt(++i);if(s>6||i<a&&!Bt(o))return!1;if(r)return!0;a=e.skipSpacesBack(a,i);const l=e.skipCharsBack(a,35,i);l>i&&Bt(e.src.charCodeAt(l-1))&&(a=l),e.line=t+1;const c=e.push("heading_open","h"+String(s),1);c.markup="########".slice(0,s),c.map=[t,e.line];const u=e.push("inline","",0);return u.content=e.src.slice(i,a).trim(),u.map=[t,e.line],u.children=[],e.push("heading_close","h"+String(s),-1).markup="########".slice(0,s),!0},["paragraph","reference","blockquote"]],["lheading",function(e,t,n){const r=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;const i=e.parentType;e.parentType="paragraph";let a,o=0,s=t+1;for(;s<n&&!e.isEmpty(s);s++){if(e.sCount[s]-e.blkIndent>3)continue;if(e.sCount[s]>=e.blkIndent){let t=e.bMarks[s]+e.tShift[s];const n=e.eMarks[s];if(t<n&&(a=e.src.charCodeAt(t),(45===a||61===a)&&(t=e.skipChars(t,a),t=e.skipSpaces(t),t>=n))){o=61===a?1:2;break}}if(e.sCount[s]<0)continue;let t=!1;for(let i=0,a=r.length;i<a;i++)if(r[i](e,s,n,!0)){t=!0;break}if(t)break}if(!o)return!1;const l=e.getLines(t,s,e.blkIndent,!1).trim();e.line=s+1;const c=e.push("heading_open","h"+String(o),1);c.markup=String.fromCharCode(a),c.map=[t,e.line];const u=e.push("inline","",0);return u.content=l,u.map=[t,e.line-1],u.children=[],e.push("heading_close","h"+String(o),-1).markup=String.fromCharCode(a),e.parentType=i,!0}],["paragraph",function(e,t,n){const r=e.md.block.ruler.getRules("paragraph"),i=e.parentType;let a=t+1;for(e.parentType="paragraph";a<n&&!e.isEmpty(a);a++){if(e.sCount[a]-e.blkIndent>3)continue;if(e.sCount[a]<0)continue;let t=!1;for(let i=0,o=r.length;i<o;i++)if(r[i](e,a,n,!0)){t=!0;break}if(t)break}const o=e.getLines(t,a,e.blkIndent,!1).trim();e.line=a,e.push("paragraph_open","p",1).map=[t,e.line];const s=e.push("inline","",0);return s.content=o,s.map=[t,e.line],s.children=[],e.push("paragraph_close","p",-1),e.parentType=i,!0}]];function kn(){this.ruler=new Qt;for(let e=0;e<xn.length;e++)this.ruler.push(xn[e][0],xn[e][1],{alt:(xn[e][2]||[]).slice()})}function An(e,t,n,r){this.src=e,this.env=n,this.md=t,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}function wn(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}kn.prototype.tokenize=function(e,t,n){const r=this.ruler.getRules(""),i=r.length,a=e.md.options.maxNesting;let o=t,s=!1;for(;o<n&&(e.line=o=e.skipEmptyLines(o),!(o>=n))&&!(e.sCount[o]<e.blkIndent);){if(e.level>=a){e.line=n;break}const t=e.line;let l=!1;for(let a=0;a<i;a++)if(l=r[a](e,o,n,!1),l){if(t>=e.line)throw new Error("block rule didn't increment state.line");break}if(!l)throw new Error("none of the block rules matched");e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),o=e.line,o<n&&e.isEmpty(o)&&(s=!0,o++,e.line=o)}},kn.prototype.parse=function(e,t,n,r){if(!e)return;const i=new this.State(e,t,n,r);this.tokenize(i,i.line,i.lineMax)},kn.prototype.State=mn,An.prototype.pushPending=function(){const e=new Kt("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},An.prototype.push=function(e,t,n){this.pending&&this.pushPending();const r=new Kt(e,t,n);let i=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),r.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(i),r},An.prototype.scanDelims=function(e,t){const n=this.posMax,r=this.src.charCodeAt(e),i=e>0?this.src.charCodeAt(e-1):32;let a=e;for(;a<n&&this.src.charCodeAt(a)===r;)a++;const o=a-e,s=a<n?this.src.charCodeAt(a):32,l=zt(i)||Gt(String.fromCharCode(i)),c=zt(s)||Gt(String.fromCharCode(s)),u=Ut(i),d=Ut(s),h=!d&&(!c||u||l),p=!u&&(!l||d||c);return{can_open:h&&(t||!p||l),can_close:p&&(t||!h||c),length:o}},An.prototype.Token=Kt;const Nn=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;const On=[];for(let c=0;c<256;c++)On.push(0);function Rn(e,t){let n;const r=[],i=t.length;for(let a=0;a<i;a++){const i=t[a];if(126!==i.marker)continue;if(-1===i.end)continue;const o=t[i.end];n=e.tokens[i.token],n.type="s_open",n.tag="s",n.nesting=1,n.markup="~~",n.content="",n=e.tokens[o.token],n.type="s_close",n.tag="s",n.nesting=-1,n.markup="~~",n.content="","text"===e.tokens[o.token-1].type&&"~"===e.tokens[o.token-1].content&&r.push(o.token-1)}for(;r.length;){const t=r.pop();let i=t+1;for(;i<e.tokens.length&&"s_close"===e.tokens[i].type;)i++;i--,t!==i&&(n=e.tokens[i],e.tokens[i]=e.tokens[t],e.tokens[t]=n)}}"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach((function(e){On[e.charCodeAt(0)]=1}));const In={tokenize:function(e,t){const n=e.pos,r=e.src.charCodeAt(n);if(t)return!1;if(126!==r)return!1;const i=e.scanDelims(e.pos,!0);let a=i.length;const o=String.fromCharCode(r);if(a<2)return!1;let s;a%2&&(s=e.push("text","",0),s.content=o,a--);for(let l=0;l<a;l+=2)s=e.push("text","",0),s.content=o+o,e.delimiters.push({marker:r,length:0, +// disable "rule of 3" length checks meant for emphasis +token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close});return e.pos+=i.length,!0},postProcess:function(e){const t=e.tokens_meta,n=e.tokens_meta.length;Rn(e,e.delimiters);for(let r=0;r<n;r++)t[r]&&t[r].delimiters&&Rn(e,t[r].delimiters)}};function Dn(e,t){for(let n=t.length-1;n>=0;n--){const r=t[n];if(95!==r.marker&&42!==r.marker)continue;if(-1===r.end)continue;const i=t[r.end],a=n>0&&t[n-1].end===r.end+1&&// check that first two markers match and adjacent +t[n-1].marker===r.marker&&t[n-1].token===r.token-1&&// check that last two markers are adjacent (we can safely assume they match) +t[r.end+1].token===i.token+1,o=String.fromCharCode(r.marker),s=e.tokens[r.token];s.type=a?"strong_open":"em_open",s.tag=a?"strong":"em",s.nesting=1,s.markup=a?o+o:o,s.content="";const l=e.tokens[i.token];l.type=a?"strong_close":"em_close",l.tag=a?"strong":"em",l.nesting=-1,l.markup=a?o+o:o,l.content="",a&&(e.tokens[t[n-1].token].content="",e.tokens[t[r.end+1].token].content="",n--)}}const Mn={tokenize:function(e,t){const n=e.pos,r=e.src.charCodeAt(n);if(t)return!1;if(95!==r&&42!==r)return!1;const i=e.scanDelims(e.pos,42===r);for(let a=0;a<i.length;a++){e.push("text","",0).content=String.fromCharCode(r),e.delimiters.push({ +// Char code of the starting marker (number). +marker:r, +// Total length of these series of delimiters. +length:i.length, +// A position of the token this delimiter corresponds to. +token:e.tokens.length-1, +// If this delimiter is matched as a valid opener, `end` will be +// equal to its position, otherwise it's `-1`. +end:-1, +// Boolean flags that determine if this delimiter could open or close +// an emphasis. +open:i.can_open,close:i.can_close})}return e.pos+=i.length,!0},postProcess:function(e){const t=e.tokens_meta,n=e.tokens_meta.length;Dn(e,e.delimiters);for(let r=0;r<n;r++)t[r]&&t[r].delimiters&&Dn(e,t[r].delimiters)}};const Ln=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,Pn=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;const jn=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Fn=/^&([a-z][a-z0-9]{1,31});/i;function Bn(e){const t={},n=e.length;if(!n)return;let r=0,i=-2;const a=[];for(let o=0;o<n;o++){const n=e[o];if(a.push(0),e[r].marker===n.marker&&i===n.token-1||(r=o),i=n.token,n.length=n.length||0,!n.close)continue;t.hasOwnProperty(n.marker)||(t[n.marker]=[-1,-1,-1,-1,-1,-1]);const s=t[n.marker][(n.open?3:0)+n.length%3];let l=r-a[r]-1,c=l;for(;l>s;l-=a[l]+1){const t=e[l];if(t.marker===n.marker&&(t.open&&t.end<0)){let r=!1;if((t.close||n.open)&&(t.length+n.length)%3==0&&(t.length%3==0&&n.length%3==0||(r=!0)),!r){const r=l>0&&!e[l-1].open?a[l-1]+1:0;a[o]=o-l+r,a[l]=r,n.open=!1,t.end=o,t.close=!1,c=-1,i=-2;break}}}-1!==c&&(t[n.marker][(n.open?3:0)+(n.length||0)%3]=c)}}const Un=[["text",function(e,t){let n=e.pos;for(;n<e.posMax&&!wn(e.src.charCodeAt(n));)n++;return n!==e.pos&&(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}],["linkify",function(e,t){if(!e.md.options.linkify)return!1;if(e.linkLevel>0)return!1;const n=e.pos;if(n+3>e.posMax)return!1;if(58!==e.src.charCodeAt(n))return!1;if(47!==e.src.charCodeAt(n+1))return!1;if(47!==e.src.charCodeAt(n+2))return!1;const r=e.pending.match(Nn);if(!r)return!1;const i=r[1],a=e.md.linkify.matchAtStart(e.src.slice(n-i.length));if(!a)return!1;let o=a.url;if(o.length<=i.length)return!1;o=o.replace(/\*+$/,"");const s=e.md.normalizeLink(o);if(!e.md.validateLink(s))return!1;if(!t){e.pending=e.pending.slice(0,-i.length);const t=e.push("link_open","a",1);t.attrs=[["href",s]],t.markup="linkify",t.info="auto";e.push("text","",0).content=e.md.normalizeLinkText(o);const n=e.push("link_close","a",-1);n.markup="linkify",n.info="auto"}return e.pos+=o.length-i.length,!0}],["newline",function(e,t){let n=e.pos;if(10!==e.src.charCodeAt(n))return!1;const r=e.pending.length-1,i=e.posMax;if(!t)if(r>=0&&32===e.pending.charCodeAt(r))if(r>=1&&32===e.pending.charCodeAt(r-1)){let t=r-1;for(;t>=1&&32===e.pending.charCodeAt(t-1);)t--;e.pending=e.pending.slice(0,t),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(n++;n<i&&Bt(e.src.charCodeAt(n));)n++;return e.pos=n,!0}],["escape",function(e,t){let n=e.pos;const r=e.posMax;if(92!==e.src.charCodeAt(n))return!1;if(n++,n>=r)return!1;let i=e.src.charCodeAt(n);if(10===i){for(t||e.push("hardbreak","br",0),n++;n<r&&(i=e.src.charCodeAt(n),Bt(i));)n++;return e.pos=n,!0}let a=e.src[n];if(i>=55296&&i<=56319&&n+1<r){const t=e.src.charCodeAt(n+1);t>=56320&&t<=57343&&(a+=e.src[n+1],n++)}const o="\\"+a;if(!t){const t=e.push("text_special","",0);i<256&&0!==On[i]?t.content=a:t.content=o,t.markup=o,t.info="escape"}return e.pos=n+1,!0}],["backticks",function(e,t){let n=e.pos;if(96!==e.src.charCodeAt(n))return!1;const r=n;n++;const i=e.posMax;for(;n<i&&96===e.src.charCodeAt(n);)n++;const a=e.src.slice(r,n),o=a.length;if(e.backticksScanned&&(e.backticks[o]||0)<=r)return t||(e.pending+=a),e.pos+=o,!0;let s,l=n;for(;-1!==(s=e.src.indexOf("`",l));){for(l=s+1;l<i&&96===e.src.charCodeAt(l);)l++;const r=l-s;if(r===o){if(!t){const t=e.push("code_inline","code",0);t.markup=a,t.content=e.src.slice(n,s).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return e.pos=l,!0}e.backticks[r]=s}return e.backticksScanned=!0,t||(e.pending+=a),e.pos+=o,!0}],["strikethrough",In.tokenize],["emphasis",Mn.tokenize],["link",function(e,t){let n,r,i,a,o="",s="",l=e.pos,c=!0;if(91!==e.src.charCodeAt(e.pos))return!1;const u=e.pos,d=e.posMax,h=e.pos+1,p=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(p<0)return!1;let g=p+1;if(g<d&&40===e.src.charCodeAt(g)){for(c=!1,g++;g<d&&(n=e.src.charCodeAt(g),Bt(n)||10===n);g++);if(g>=d)return!1;if(l=g,i=e.md.helpers.parseLinkDestination(e.src,g,e.posMax),i.ok){for(o=e.md.normalizeLink(i.str),e.md.validateLink(o)?g=i.pos:o="",l=g;g<d&&(n=e.src.charCodeAt(g),Bt(n)||10===n);g++);if(i=e.md.helpers.parseLinkTitle(e.src,g,e.posMax),g<d&&l!==g&&i.ok)for(s=i.str,g=i.pos;g<d&&(n=e.src.charCodeAt(g),Bt(n)||10===n);g++);}(g>=d||41!==e.src.charCodeAt(g))&&(c=!0),g++}if(c){if(void 0===e.env.references)return!1;if(g<d&&91===e.src.charCodeAt(g)?(l=g+1,g=e.md.helpers.parseLinkLabel(e,g),g>=0?r=e.src.slice(l,g++):g=p+1):g=p+1,r||(r=e.src.slice(h,p)),a=e.env.references[$t(r)],!a)return e.pos=u,!1;o=a.href,s=a.title}if(!t){e.pos=h,e.posMax=p;const t=[["href",o]];e.push("link_open","a",1).attrs=t,s&&t.push(["title",s]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=g,e.posMax=d,!0}],["image",function(e,t){let n,r,i,a,o,s,l,c,u="";const d=e.pos,h=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;const p=e.pos+2,g=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(g<0)return!1;if(a=g+1,a<h&&40===e.src.charCodeAt(a)){for(a++;a<h&&(n=e.src.charCodeAt(a),Bt(n)||10===n);a++);if(a>=h)return!1;for(c=a,s=e.md.helpers.parseLinkDestination(e.src,a,e.posMax),s.ok&&(u=e.md.normalizeLink(s.str),e.md.validateLink(u)?a=s.pos:u=""),c=a;a<h&&(n=e.src.charCodeAt(a),Bt(n)||10===n);a++);if(s=e.md.helpers.parseLinkTitle(e.src,a,e.posMax),a<h&&c!==a&&s.ok)for(l=s.str,a=s.pos;a<h&&(n=e.src.charCodeAt(a),Bt(n)||10===n);a++);else l="";if(a>=h||41!==e.src.charCodeAt(a))return e.pos=d,!1;a++}else{if(void 0===e.env.references)return!1;if(a<h&&91===e.src.charCodeAt(a)?(c=a+1,a=e.md.helpers.parseLinkLabel(e,a),a>=0?i=e.src.slice(c,a++):a=g+1):a=g+1,i||(i=e.src.slice(p,g)),o=e.env.references[$t(i)],!o)return e.pos=d,!1;u=o.href,l=o.title}if(!t){r=e.src.slice(p,g);const t=[];e.md.inline.parse(r,e.md,e.env,t);const n=e.push("image","img",0),i=[["src",u],["alt",""]];n.attrs=i,n.children=t,n.content=r,l&&i.push(["title",l])}return e.pos=a,e.posMax=h,!0}],["autolink",function(e,t){let n=e.pos;if(60!==e.src.charCodeAt(n))return!1;const r=e.pos,i=e.posMax;for(;;){if(++n>=i)return!1;const t=e.src.charCodeAt(n);if(60===t)return!1;if(62===t)break}const a=e.src.slice(r+1,n);if(Pn.test(a)){const n=e.md.normalizeLink(a);if(!e.md.validateLink(n))return!1;if(!t){const t=e.push("link_open","a",1);t.attrs=[["href",n]],t.markup="autolink",t.info="auto";e.push("text","",0).content=e.md.normalizeLinkText(a);const r=e.push("link_close","a",-1);r.markup="autolink",r.info="auto"}return e.pos+=a.length+2,!0}if(Ln.test(a)){const n=e.md.normalizeLink("mailto:"+a);if(!e.md.validateLink(n))return!1;if(!t){const t=e.push("link_open","a",1);t.attrs=[["href",n]],t.markup="autolink",t.info="auto";e.push("text","",0).content=e.md.normalizeLinkText(a);const r=e.push("link_close","a",-1);r.markup="autolink",r.info="auto"}return e.pos+=a.length+2,!0}return!1}],["html_inline",function(e,t){if(!e.md.options.html)return!1;const n=e.posMax,r=e.pos;if(60!==e.src.charCodeAt(r)||r+2>=n)return!1;const i=e.src.charCodeAt(r+1);if(33!==i&&63!==i&&47!==i&&!function(e){const t=32|e;return t>=97&&t<=122}(i))return!1;const a=e.src.slice(r).match(Sn);if(!a)return!1;if(!t){const t=e.push("html_inline","",0);t.content=a[0],o=t.content,/^<a[>\s]/i.test(o)&&e.linkLevel++,function(e){return/^<\/a\s*>/i.test(e)}(t.content)&&e.linkLevel--}var o;return e.pos+=a[0].length,!0}],["entity",function(e,t){const n=e.pos,r=e.posMax;if(38!==e.src.charCodeAt(n))return!1;if(n+1>=r)return!1;if(35===e.src.charCodeAt(n+1)){const r=e.src.slice(n).match(jn);if(r){if(!t){const t="x"===r[1][0].toLowerCase()?parseInt(r[1].slice(1),16):parseInt(r[1],10),n=e.push("text_special","",0);n.content=At(t)?wt(t):wt(65533),n.markup=r[0],n.info="entity"}return e.pos+=r[0].length,!0}}else{const r=e.src.slice(n).match(Fn);if(r){const n=St(r[0]);if(n!==r[0]){if(!t){const t=e.push("text_special","",0);t.content=n,t.markup=r[0],t.info="entity"}return e.pos+=r[0].length,!0}}}return!1}]],Gn=[["balance_pairs",function(e){const t=e.tokens_meta,n=e.tokens_meta.length;Bn(e.delimiters);for(let r=0;r<n;r++)t[r]&&t[r].delimiters&&Bn(t[r].delimiters)}],["strikethrough",In.postProcess],["emphasis",Mn.postProcess], +// rules for pairs separate '**' into its own text tokens, which may be left unused, +// rule below merges unused segments back with the rest of the text +["fragments_join",function(e){let t,n,r=0;const i=e.tokens,a=e.tokens.length;for(t=n=0;t<a;t++)i[t].nesting<0&&r--,i[t].level=r,i[t].nesting>0&&r++,"text"===i[t].type&&t+1<a&&"text"===i[t+1].type?i[t+1].content=i[t].content+i[t+1].content:(t!==n&&(i[n]=i[t]),n++);t!==n&&(i.length=n)}]];function zn(){this.ruler=new Qt;for(let e=0;e<Un.length;e++)this.ruler.push(Un[e][0],Un[e][1]);this.ruler2=new Qt;for(let e=0;e<Gn.length;e++)this.ruler2.push(Gn[e][0],Gn[e][1])}function $n(e){return Array.prototype.slice.call(arguments,1).forEach((function(t){t&&Object.keys(t).forEach((function(n){e[n]=t[n]}))})),e}function Yn(e){return Object.prototype.toString.call(e)}function qn(e){return"[object Function]"===Yn(e)}function Hn(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}zn.prototype.skipToken=function(e){const t=e.pos,n=this.ruler.getRules(""),r=n.length,i=e.md.options.maxNesting,a=e.cache;if(void 0!==a[t])return void(e.pos=a[t]);let o=!1;if(e.level<i){for(let s=0;s<r;s++)if(e.level++,o=n[s](e,!0),e.level--,o){if(t>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;o||e.pos++,a[t]=e.pos},zn.prototype.tokenize=function(e){const t=this.ruler.getRules(""),n=t.length,r=e.posMax,i=e.md.options.maxNesting;for(;e.pos<r;){const a=e.pos;let o=!1;if(e.level<i)for(let r=0;r<n;r++)if(o=t[r](e,!1),o){if(a>=e.pos)throw new Error("inline rule didn't increment state.pos");break}if(o){if(e.pos>=r)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},zn.prototype.parse=function(e,t,n,r){const i=new this.State(e,t,n,r);this.tokenize(i);const a=this.ruler2.getRules(""),o=a.length;for(let s=0;s<o;s++)a[s](i)},zn.prototype.State=An;const Vn={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};const Wn={"http:":{validate:function(e,t,n){const r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){const r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+// Don't allow single-level domains, because of false positives like '//test' +// with code comments +"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){const r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},Qn="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Kn(e){const t=e.re=function(e){const t={};e=e||{},t.src_Any=Xe.source,t.src_Cc=Ze.source,t.src_Z=tt.source,t.src_P=Je.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");const n="[><|]";return t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+n+"|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+// allow `,,,` in paths +",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root=// Allow letters & digits (http://test1) +"(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><|]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy=// Fuzzy link can't be prepended with .:/\- and non punctuation. +// but can start with > (markdown blockquote) +"(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy=// Fuzzy link can't be prepended with .:/\- and non punctuation. +// but can start with > (markdown blockquote) +"(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}(e.__opts__),n=e.__tlds__.slice();function r(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||n.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),n.push(t.src_xn),t.src_tlds=n.join("|"),t.email_fuzzy=RegExp(r(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(r(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(r(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(r(t.tpl_host_fuzzy_test),"i");const i=[];function a(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){const n=e.__schemas__[t];if(null===n)return;const r={validate:null,link:null};if(e.__compiled__[t]=r,"[object Object]"===Yn(n))return!function(e){return"[object RegExp]"===Yn(e)}(n.validate)?qn(n.validate)?r.validate=n.validate:a(t,n):r.validate=function(e){return function(t,n){const r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}(n.validate),void(qn(n.normalize)?r.normalize=n.normalize:n.normalize?a(t,n):r.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===Yn(e)}(n)?a(t,n):i.push(t)})),i.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};const o=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(Hn).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+o+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+o+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function Xn(e,t){const n=e.__index__,r=e.__last_index__,i=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=i,this.text=i,this.url=i}function Zn(e,t){const n=new Xn(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function Jn(e,t){if(!(this instanceof Jn))return new Jn(e,t);var n;t||(n=e,Object.keys(n||{}).reduce((function(e,t){return e||Vn.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=$n({},Vn,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=$n({},Wn,e),this.__compiled__={},this.__tlds__=Qn,this.__tlds_replaced__=!1,this.re={},Kn(this)}Jn.prototype.add=function(e,t){return this.__schemas__[e]=t,Kn(this),this},Jn.prototype.set=function(e){return this.__opts__=$n(this.__opts__,e),this},Jn.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;let t,n,r,i,a,o,s,l,c;if(this.re.schema_test.test(e))for(s=this.re.schema_search,s.lastIndex=0;null!==(t=s.exec(e));)if(i=this.testSchemaAt(e,t[2],s.lastIndex),i){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+i;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test),l>=0&&(this.__index__<0||l<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(a=n.index+n[1].length,(this.__index__<0||a<this.__index__)&&(this.__schema__="",this.__index__=a,this.__last_index__=n.index+n[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(c=e.indexOf("@"),c>=0&&null!==(r=e.match(this.re.email_fuzzy))&&(a=r.index+r[1].length,o=r.index+r[0].length,(this.__index__<0||a<this.__index__||a===this.__index__&&o>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=a,this.__last_index__=o))),this.__index__>=0},Jn.prototype.pretest=function(e){return this.re.pretest.test(e)},Jn.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},Jn.prototype.match=function(e){const t=[];let n=0;this.__index__>=0&&this.__text_cache__===e&&(t.push(Zn(this,n)),n=this.__last_index__);let r=n?e.slice(n):e;for(;this.test(r);)t.push(Zn(this,n)),r=r.slice(this.__last_index__),n+=this.__last_index__;return t.length?t:null},Jn.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;const t=this.re.schema_at_start.exec(e);if(!t)return null;const n=this.testSchemaAt(e,t[2],t[0].length);return n?(this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+n,Zn(this,0)):null},Jn.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,n){return e!==n[t-1]})).reverse(),Kn(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,Kn(this),this)},Jn.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},Jn.prototype.onCompile=function(){};const er=2147483647,tr=36,nr=/^xn--/,rr=/[^\0-\x7F]/,ir=/[\x2E\u3002\uFF0E\uFF61]/g,ar={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},or=Math.floor,sr=String.fromCharCode;function lr(e){throw new RangeError(ar[e])}function cr(e,t){const n=e.split("@");let r="";n.length>1&&(r=n[0]+"@",e=n[1]);const i=function(e,t){const n=[];let r=e.length;for(;r--;)n[r]=t(e[r]);return n}((e=e.replace(ir,".")).split("."),t).join(".");return r+i}function ur(e){const t=[];let n=0;const r=e.length;for(;n<r;){const i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){const r=e.charCodeAt(n++);56320==(64512&r)?t.push(((1023&i)<<10)+(1023&r)+65536):(t.push(i),n--)}else t.push(i)}return t}const dr=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},hr=function(e,t,n){let r=0;for(e=n?or(e/700):e>>1,e+=or(e/t);e>455;r+=tr)e=or(e/35);return or(r+36*e/(e+38))},pr=function(e){const t=[],n=e.length;let r=0,i=128,a=72,o=e.lastIndexOf("-");o<0&&(o=0);for(let l=0;l<o;++l)e.charCodeAt(l)>=128&&lr("not-basic"),t.push(e.charCodeAt(l));for(let l=o>0?o+1:0;l<n;){const o=r;for(let t=1,i=tr;;i+=tr){l>=n&&lr("invalid-input");const o=(s=e.charCodeAt(l++))>=48&&s<58?s-48+26:s>=65&&s<91?s-65:s>=97&&s<123?s-97:tr;o>=tr&&lr("invalid-input"),o>or((er-r)/t)&&lr("overflow"),r+=o*t;const c=i<=a?1:i>=a+26?26:i-a;if(o<c)break;const u=tr-c;t>or(er/u)&&lr("overflow"),t*=u}const c=t.length+1;a=hr(r-o,c,0==o),or(r/c)>er-i&&lr("overflow"),i+=or(r/c),r%=c,t.splice(r++,0,i)}var s;return String.fromCodePoint(...t)},gr=function(e){const t=[],n=(e=ur(e)).length;let r=128,i=0,a=72;for(const l of e)l<128&&t.push(sr(l));const o=t.length;let s=o;for(o&&t.push("-");s<n;){let n=er;for(const t of e)t>=r&&t<n&&(n=t);const l=s+1;n-r>or((er-i)/l)&&lr("overflow"),i+=(n-r)*l,r=n;for(const c of e)if(c<r&&++i>er&&lr("overflow"),c===r){let e=i;for(let n=tr;;n+=tr){const r=n<=a?1:n>=a+26?26:n-a;if(e<r)break;const i=e-r,o=tr-r;t.push(sr(dr(r+i%o,0))),e=or(i/o)}t.push(sr(dr(e,0))),a=hr(i,l,s===o),i=0,++s}++i,++r}return t.join("")},mr=function(e){return cr(e,(function(e){return rr.test(e)?"xn--"+gr(e):e}))},_r=function(e){return cr(e,(function(e){return nr.test(e)?pr(e.slice(4).toLowerCase()):e}))},br={default:{options:{ +// Enable HTML tags in source +html:!1, +// Use '/' to close single tags (<br />) +xhtmlOut:!1, +// Convert '\n' in paragraphs into <br> +breaks:!1, +// CSS language prefix for fenced blocks +langPrefix:"language-", +// autoconvert URL-like texts to links +linkify:!1, +// Enable some language-neutral replacements + quotes beautification +typographer:!1, +// Double + single quotes replacement pairs, when typographer enabled, +// and smartquotes on. Could be either a String or an Array. +// For example, you can use '«»„“' for Russian, '„“‚‘' for German, +// and ['«\xA0', '\xA0»', '‹\xA0', '\xA0›'] for French (including nbsp). +quotes:"“”‘’", +/* “”‘’ */ +// Highlighter function. Should return escaped HTML, +// or '' if the source string is not changed and should be escaped externaly. +// If result starts with <pre... internal wrapper is skipped. +// function (/*str, lang*/) { return ''; } +highlight:null, +// Internal protection, recursion limit +maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{options:{ +// Enable HTML tags in source +html:!1, +// Use '/' to close single tags (<br />) +xhtmlOut:!1, +// Convert '\n' in paragraphs into <br> +breaks:!1, +// CSS language prefix for fenced blocks +langPrefix:"language-", +// autoconvert URL-like texts to links +linkify:!1, +// Enable some language-neutral replacements + quotes beautification +typographer:!1, +// Double + single quotes replacement pairs, when typographer enabled, +// and smartquotes on. Could be either a String or an Array. +// For example, you can use '«»„“' for Russian, '„“‚‘' for German, +// and ['«\xA0', '\xA0»', '‹\xA0', '\xA0›'] for French (including nbsp). +quotes:"“”‘’", +/* “”‘’ */ +// Highlighter function. Should return escaped HTML, +// or '' if the source string is not changed and should be escaped externaly. +// If result starts with <pre... internal wrapper is skipped. +// function (/*str, lang*/) { return ''; } +highlight:null, +// Internal protection, recursion limit +maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},commonmark:{options:{ +// Enable HTML tags in source +html:!0, +// Use '/' to close single tags (<br />) +xhtmlOut:!0, +// Convert '\n' in paragraphs into <br> +breaks:!1, +// CSS language prefix for fenced blocks +langPrefix:"language-", +// autoconvert URL-like texts to links +linkify:!1, +// Enable some language-neutral replacements + quotes beautification +typographer:!1, +// Double + single quotes replacement pairs, when typographer enabled, +// and smartquotes on. Could be either a String or an Array. +// For example, you can use '«»„“' for Russian, '„“‚‘' for German, +// and ['«\xA0', '\xA0»', '‹\xA0', '\xA0›'] for French (including nbsp). +quotes:"“”‘’", +/* “”‘’ */ +// Highlighter function. Should return escaped HTML, +// or '' if the source string is not changed and should be escaped externaly. +// If result starts with <pre... internal wrapper is skipped. +// function (/*str, lang*/) { return ''; } +highlight:null, +// Internal protection, recursion limit +maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}}},fr=/^(vbscript|javascript|file|data):/,yr=/^data:image\/(gif|png|jpeg|webp);/;function vr(e){const t=e.trim().toLowerCase();return!fr.test(t)||yr.test(t)}const Er=["http:","https:","mailto:"];function Sr(e){const t=Qe(e,!0);if(t.hostname&&(!t.protocol||Er.indexOf(t.protocol)>=0))try{t.hostname=mr(t.hostname)}catch(n){}return Le(Pe(t))}function Tr(e){const t=Qe(e,!0);if(t.hostname&&(!t.protocol||Er.indexOf(t.protocol)>=0))try{t.hostname=_r(t.hostname)}catch(n){}return De(Pe(t),De.defaultChars+"%")}function Cr(e,t){if(!(this instanceof Cr))return new Cr(e,t);t||Tt(e)||(t=e||{},e="default"),this.inline=new zn,this.block=new kn,this.core=new gn,this.renderer=new Wt,this.linkify=new Jn,this.validateLink=vr,this.normalizeLink=Sr,this.normalizeLinkText=Tr,this.utils=qt,this.helpers=xt({},Ht),this.options={},this.configure(e),t&&this.set(t)}Cr.prototype.set=function(e){return xt(this.options,e),this},Cr.prototype.configure=function(e){const t=this;if(Tt(e)){const t=e;if(!(e=br[t]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach((function(n){e.components[n].rules&&t[n].ruler.enableOnly(e.components[n].rules),e.components[n].rules2&&t[n].ruler2.enableOnly(e.components[n].rules2)})),this},Cr.prototype.enable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.enable(e,!0))}),this),n=n.concat(this.inline.ruler2.enable(e,!0));const r=e.filter((function(e){return n.indexOf(e)<0}));if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},Cr.prototype.disable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.disable(e,!0))}),this),n=n.concat(this.inline.ruler2.disable(e,!0));const r=e.filter((function(e){return n.indexOf(e)<0}));if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},Cr.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},Cr.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");const n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},Cr.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},Cr.prototype.parseInline=function(e,t){const n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},Cr.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};var xr,kr,Ar,wr={exports:{}};function Nr(){return xr?wr.exports:(xr=1,"undefined"!=typeof self&&self,e=function(){ +/******/ +return function(){var e={d:function(t,n){for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}},t={};e.d(t,{default:function(){ +/* binding */ +return qr}});class n{ +// Error start position based on passed-in Token or ParseNode. +// Length of affected text based on passed-in Token or ParseNode. +// The underlying error message without any context added. +constructor(e,t){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;let r,i,a="KaTeX parse error: "+e;const o=t&&t.loc;if(o&&o.start<=o.end){const e=o.lexer.input;r=o.start,i=o.end,r===e.length?a+=" at end of input: ":a+=" at position "+(r+1)+": ";const t=e.slice(r,i).replace(/[^]/g,"$&̲");let n,s;n=r>15?"…"+e.slice(r-15,r):e.slice(0,r),s=i+15<e.length?e.slice(i,i+15)+"…":e.slice(i),a+=n+t+s}const s=new Error(a);return s.name="ParseError",s.__proto__=n.prototype,s.position=r,null!=r&&null!=i&&(s.length=i-r),s.rawMessage=e,s}}n.prototype.__proto__=Error.prototype;var r=n;const i=/([A-Z])/g,a={"&":"&",">":">","<":"<",'"':""","'":"'"},o=/[&><"']/g,s=function(e){return"ordgroup"===e.type||"color"===e.type?1===e.body.length?s(e.body[0]):e:"font"===e.type?s(e.body):e};var l={contains:function(e,t){return-1!==e.indexOf(t)},deflt:function(e,t){return void 0===e?t:e},escape:function(e){return String(e).replace(o,(e=>a[e]))},hyphenate:function(e){return e.replace(i,"-$1").toLowerCase()},getBaseElem:s,isCharacterBox:function(e){const t=s(e);return"mathord"===t.type||"textord"===t.type||"atom"===t.type},protocolFromUrl:function(e){const t=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(e);return t?":"!==t[2]?null:/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1])?t[1].toLowerCase():null:"_relative"}};const c={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format <type>"},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color <color>",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:e=>"#"+e},macros:{type:"object",cli:"-m, --macro <def>",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(e,t)=>(t.push(e),t)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:"--min-rule-thickness <size>",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:e=>Math.max(0,e),cli:"-s, --max-size <n>",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:e=>Math.max(0,e),cli:"-e, --max-expand <n>",cliProcessor:e=>"Infinity"===e?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}};function u(e){if(e.default)return e.default;const t=e.type,n=Array.isArray(t)?t[0]:t;if("string"!=typeof n)return n.enum[0];switch(n){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class d{constructor(e){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e=e||{};for(const t in c)if(c.hasOwnProperty(t)){const n=c[t];this[t]=void 0!==e[t]?n.processor?n.processor(e[t]):e[t]:u(n)}} +/** + * Report nonstrict (non-LaTeX-compatible) input. + * Can safely not be called if `this.strict` is false in JavaScript. + */reportNonstrict(e,t,n){let i=this.strict;if("function"==typeof i&&(i=i(e,t,n)),i&&"ignore"!==i&&(!0===i||"error"===i))throw new r("LaTeX-incompatible input and strict mode is set to 'error': "+t+" ["+e+"]",n)} +/** + * Check whether to apply strict (LaTeX-adhering) behavior for unusual + * input (like `\\`). Unlike `nonstrict`, will not throw an error; + * instead, "error" translates to a return value of `true`, while "ignore" + * translates to a return value of `false`. May still print a warning: + * "warn" prints a warning and returns `false`. + * This is for the second category of `errorCode`s listed in the README. + */useStrictBehavior(e,t,n){let r=this.strict;if("function"==typeof r)try{r=r(e,t,n)}catch(i){r="error"}return!(!r||"ignore"===r||!0!==r&&"error"!==r)} +/** + * Check whether to test potentially dangerous input, and return + * `true` (trusted) or `false` (untrusted). The sole argument `context` + * should be an object with `command` field specifying the relevant LaTeX + * command (as a string starting with `\`), and any other arguments, etc. + * If `context` has a `url` field, a `protocol` field will automatically + * get added by this function (changing the specified object). + */isTrusted(e){if(e.url&&!e.protocol){const t=l.protocolFromUrl(e.url);if(null==t)return!1;e.protocol=t}const t="function"==typeof this.trust?this.trust(e):this.trust;return Boolean(t)}}class h{constructor(e,t,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=n} +/** + * Get the style of a superscript given a base in the current style. + */sup(){return p[g[this.id]]} +/** + * Get the style of a subscript given a base in the current style. + */sub(){return p[m[this.id]]} +/** + * Get the style of a fraction numerator given the fraction in the current + * style. + */fracNum(){return p[_[this.id]]} +/** + * Get the style of a fraction denominator given the fraction in the current + * style. + */fracDen(){return p[b[this.id]]} +/** + * Get the cramped version of a style (in particular, cramping a cramped style + * doesn't change the style). + */cramp(){return p[f[this.id]]} +/** + * Get a text or display version of this style. + */text(){return p[y[this.id]]} +/** + * Return true if this style is tightly spaced (scriptstyle/scriptscriptstyle) + */isTight(){return this.size>=2}}const p=[new h(0,0,!1),new h(1,0,!0),new h(2,1,!1),new h(3,1,!0),new h(4,2,!1),new h(5,2,!0),new h(6,3,!1),new h(7,3,!0)],g=[4,5,4,5,6,7,6,7],m=[5,5,5,5,7,7,7,7],_=[2,3,4,5,6,7,6,7],b=[3,3,5,5,7,7,7,7],f=[1,1,3,3,5,5,7,7],y=[0,1,2,3,2,3,2,3];var v={DISPLAY:p[0],TEXT:p[2],SCRIPT:p[4],SCRIPTSCRIPT:p[6]};const E=[{ +// Latin characters beyond the Latin-1 characters we have metrics for. +// Needed for Czech, Hungarian and Turkish text, for example. +name:"latin",blocks:[[256,591], +// Latin Extended-A and Latin Extended-B +[768,879]]},{ +// The Cyrillic script used by Russian and related languages. +// A Cyrillic subset used to be supported as explicitly defined +// symbols in symbols.js +name:"cyrillic",blocks:[[1024,1279]]},{ +// Armenian +name:"armenian",blocks:[[1328,1423]]},{ +// The Brahmic scripts of South and Southeast Asia +// Devanagari (0900–097F) +// Bengali (0980–09FF) +// Gurmukhi (0A00–0A7F) +// Gujarati (0A80–0AFF) +// Oriya (0B00–0B7F) +// Tamil (0B80–0BFF) +// Telugu (0C00–0C7F) +// Kannada (0C80–0CFF) +// Malayalam (0D00–0D7F) +// Sinhala (0D80–0DFF) +// Thai (0E00–0E7F) +// Lao (0E80–0EFF) +// Tibetan (0F00–0FFF) +// Myanmar (1000–109F) +name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{ +// Chinese and Japanese. +// The "k" in cjk is for Korean, but we've separated Korean out +name:"cjk",blocks:[[12288,12543], +// CJK symbols and punctuation, Hiragana, Katakana +[19968,40879], +// CJK ideograms +[65280,65376]]},{ +// Korean +name:"hangul",blocks:[[44032,55215]]}],S=[];function T(e){for(let t=0;t<S.length;t+=2)if(e>=S[t]&&e<=S[t+1])return!0;return!1}E.forEach((e=>e.blocks.forEach((e=>S.push(...e)))));const C=80,x={ +// The doubleleftarrow geometry is from glyph U+21D0 in the font KaTeX Main +doubleleftarrow:"M262 157\nl10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3\n 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28\n 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5\nc2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5\n 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87\n-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7\n-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z\nm8 0v40h399730v-40zm0 194v40h399730v-40z", +// doublerightarrow is from glyph U+21D2 in font KaTeX Main +doublerightarrow:"M399738 392l\n-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5\n 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88\n-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68\n-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18\n-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782\nc-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3\n-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z", +// leftarrow is from glyph U+2190 in font KaTeX Main +leftarrow:"M400000 241H110l3-3c68.7-52.7 113.7-120\n 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8\n-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247\nc-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208\n 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3\n 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202\n l-3-3h399890zM100 241v40h399900v-40z", +// overbrace is from glyphs U+23A9/23A8/23A7 in font KaTeX_Size4-Regular +leftbrace:"M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117\n-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7\n 5-6 9-10 13-.7 1-7.3 1-20 1H6z",leftbraceunder:"M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13\n 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688\n 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7\n-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z", +// overgroup is from the MnSymbol package (public domain) +leftgroup:"M400000 80\nH435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0\n 435 0h399565z",leftgroupunder:"M400000 262\nH435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219\n 435 219h399565z", +// Harpoons are from glyph U+21BD in font KaTeX Main +leftharpoon:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3\n-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5\n-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7\n-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z",leftharpoonplus:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5\n 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3\n-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7\n-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z\nm0 0v40h400000v-40z",leftharpoondown:"M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333\n 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5\n 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667\n-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z",leftharpoondownplus:"M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12\n 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7\n-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0\nv40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z", +// hook is from glyph U+21A9 in font KaTeX Main +lefthook:"M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5\n-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3\n-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21\n 71.5 23h399859zM103 281v-40h399897v40z",leftlinesegment:"M40 281 V428 H0 V94 H40 V241 H400000 v40z\nM40 281 V428 H0 V94 H40 V241 H400000 v40z",leftmapsto:"M40 281 V448H0V74H40V241H400000v40z\nM40 281 V448H0V74H40V241H400000v40z", +// tofrom is from glyph U+21C4 in font KaTeX AMS Regular +leftToFrom:"M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23\n-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8\nc28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3\n 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z",longequal:"M0 50 h400000 v40H0z m0 194h40000v40H0z\nM0 50 h400000 v40H0z m0 194h40000v40H0z",midbrace:"M200428 334\nc-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14\n-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7\n 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11\n 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z",midbraceunder:"M199572 214\nc100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14\n 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3\n 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0\n-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z",oiintSize1:"M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6\n-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z\nm368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8\n60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z",oiintSize2:"M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8\n-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z\nm502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2\nc0 110 84 276 504 276s502.4-166 502.4-276z",oiiintSize1:"M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6\n-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z\nm525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0\n85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z",oiiintSize2:"M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8\n-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z\nm770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1\nc0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z",rightarrow:"M0 241v40h399891c-47.3 35.3-84 78-110 128\n-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20\n 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7\n 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85\n-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n 151.7 139 205zm0 0v40h399900v-40z",rightbrace:"M400000 542l\n-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5\ns-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1\nc124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z",rightbraceunder:"M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3\n 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237\n-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z",rightgroup:"M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0\n 3-1 3-3v-38c-76-158-257-219-435-219H0z",rightgroupunder:"M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18\n 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z",rightharpoon:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3\n-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2\n-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58\n 69.2 92 94.5zm0 0v40h399900v-40z",rightharpoonplus:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11\n-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7\n 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z\nm0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z",rightharpoondown:"M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8\n 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5\n-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95\n-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z",rightharpoondownplus:"M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8\n 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3\n 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3\n-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z\nm0-194v40h400000v-40zm0 0v40h400000v-40z",righthook:"M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3\n 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0\n-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21\n 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z",rightlinesegment:"M399960 241 V94 h40 V428 h-40 V281 H0 v-40z\nM399960 241 V94 h40 V428 h-40 V281 H0 v-40z",rightToFrom:"M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23\n 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32\n-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142\n-167z M100 147v40h399900v-40zM0 341v40h399900v-40z", +// twoheadleftarrow is from glyph U+219E in font KaTeX AMS Regular +twoheadleftarrow:"M0 167c68 40\n 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69\n-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3\n-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19\n-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101\n 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z",twoheadrightarrow:"M400000 167\nc-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3\n 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42\n 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333\n-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70\n 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z", +// tilde1 is a modified version of a glyph from the MnSymbol package +tilde1:"M200 55.538c-77 0-168 73.953-177 73.953-3 0-7\n-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0\n 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0\n 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128\n-68.267.847-113-73.952-191-73.952z", +// ditto tilde2, tilde3, & tilde4 +tilde2:"M344 55.266c-142 0-300.638 81.316-311.5 86.418\n-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\nc1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751\n 181.476 676 181.476c-149 0-189-126.21-332-126.21z",tilde3:"M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\n -338 0-409-156.573-744-156.573z",tilde4:"M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\n -175.236-744-175.236z", +// vec is from glyph U+20D7 in font KaTeX Main +vec:"M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\n-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\nc-16-25.333-24-45-24-59z", +// widehat1 is a modified version of a glyph from the MnSymbol package +widehat1:"M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\nc-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z", +// ditto widehat2, widehat3, & widehat4 +widehat2:"M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat3:"M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat4:"M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z", +// widecheck paths are all inverted versions of widehat +widecheck1:"M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,\n-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z",widecheck2:"M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck3:"M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck4:"M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z", +// The next ten paths support reaction arrows from the mhchem package. +// Arrows for \ce{<-->} are offset from xAxis by 0.22ex, per mhchem in LaTeX +// baraboveleftarrow is mostly from glyph U+2190 in font KaTeX Main +baraboveleftarrow:"M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202\nc4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5\nc-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130\ns-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47\n121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6\ns2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11\nc0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z\nM100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z", +// rightarrowabovebar is mostly from glyph U+2192, KaTeX Main +rightarrowabovebar:"M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32\n-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0\n13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39\n-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5\n-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z", +// The short left harpoon has 0.5em (i.e. 500 units) kern on the left end. +// Ref from mhchem.sty: \rlap{\raisebox{-.22ex}{$\kern0.5em +baraboveshortleftharpoon:"M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\nc2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z",rightharpoonaboveshortbar:"M0,241 l0,40c399126,0,399993,0,399993,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z",shortbaraboveleftharpoon:"M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,\n1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,\n-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z\nM93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z",shortrightharpoonabovebar:"M53,241l0,40c398570,0,399437,0,399437,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z"};class k{ +// HtmlDomNode +// Never used; needed for satisfying interface. +constructor(e){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(e){return l.contains(this.classes,e)} +/** Convert the fragment into a node. */toNode(){const e=document.createDocumentFragment();for(let t=0;t<this.children.length;t++)e.appendChild(this.children[t].toNode());return e} +/** Convert the fragment into HTML markup. */toMarkup(){let e="";for(let t=0;t<this.children.length;t++)e+=this.children[t].toMarkup();return e} +/** + * Converts the math node into a string, similar to innerText. Applies to + * MathDomNode's only. + */toText(){return this.children.map((e=>e.toText())).join("")}}var A={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}};const w={slant:[.25,.25,.25], +// sigma1 +space:[0,0,0], +// sigma2 +stretch:[0,0,0], +// sigma3 +shrink:[0,0,0], +// sigma4 +xHeight:[.431,.431,.431], +// sigma5 +quad:[1,1.171,1.472], +// sigma6 +extraSpace:[0,0,0], +// sigma7 +num1:[.677,.732,.925], +// sigma8 +num2:[.394,.384,.387], +// sigma9 +num3:[.444,.471,.504], +// sigma10 +denom1:[.686,.752,1.025], +// sigma11 +denom2:[.345,.344,.532], +// sigma12 +sup1:[.413,.503,.504], +// sigma13 +sup2:[.363,.431,.404], +// sigma14 +sup3:[.289,.286,.294], +// sigma15 +sub1:[.15,.143,.2], +// sigma16 +sub2:[.247,.286,.4], +// sigma17 +supDrop:[.386,.353,.494], +// sigma18 +subDrop:[.05,.071,.1], +// sigma19 +delim1:[2.39,1.7,1.98], +// sigma20 +delim2:[1.01,1.157,1.42], +// sigma21 +axisHeight:[.25,.25,.25], +// sigma22 +// These font metrics are extracted from TeX by using tftopl on cmex10.tfm; +// they correspond to the font parameters of the extension fonts (family 3). +// See the TeXbook, page 441. In AMSTeX, the extension fonts scale; to +// match cmex7, we'd use cmex7.tfm values for script and scriptscript +// values. +defaultRuleThickness:[.04,.049,.049], +// xi8; cmex7: 0.049 +bigOpSpacing1:[.111,.111,.111], +// xi9 +bigOpSpacing2:[.166,.166,.166], +// xi10 +bigOpSpacing3:[.2,.2,.2], +// xi11 +bigOpSpacing4:[.6,.611,.611], +// xi12; cmex7: 0.611 +bigOpSpacing5:[.1,.143,.143], +// xi13; cmex7: 0.143 +// The \sqrt rule width is taken from the height of the surd character. +// Since we use the same font at all sizes, this thickness doesn't scale. +sqrtRuleThickness:[.04,.04,.04], +// This value determines how large a pt is, for metrics which are defined +// in terms of pts. +// This value is also used in katex.scss; if you change it make sure the +// values match. +ptPerEm:[10,10,10], +// The space between adjacent `|` columns in an array definition. From +// `\showthe\doublerulesep` in LaTeX. Equals 2.0 / ptPerEm. +doubleRuleSep:[.2,.2,.2], +// The width of separator lines in {array} environments. From +// `\showthe\arrayrulewidth` in LaTeX. Equals 0.4 / ptPerEm. +arrayRuleWidth:[.04,.04,.04], +// Two values from LaTeX source2e: +fboxsep:[.3,.3,.3], +// 3 pt / ptPerEm +fboxrule:[.04,.04,.04]},N={ +// Latin-1 +"Å":"A","Ð":"D","Þ":"o","å":"a","ð":"d","þ":"o", +// Cyrillic +"А":"A","Б":"B","В":"B","Г":"F","Д":"A","Е":"E","Ж":"K","З":"3","И":"N","Й":"N","К":"K","Л":"N","М":"M","Н":"H","О":"O","П":"N","Р":"P","С":"C","Т":"T","У":"y","Ф":"O","Х":"X","Ц":"U","Ч":"h","Ш":"W","Щ":"W","Ъ":"B","Ы":"X","Ь":"B","Э":"3","Ю":"X","Я":"R","а":"a","б":"b","в":"a","г":"r","д":"y","е":"e","ж":"m","з":"e","и":"n","й":"n","к":"n","л":"n","м":"m","н":"n","о":"o","п":"n","р":"p","с":"c","т":"o","у":"y","ф":"b","х":"x","ц":"n","ч":"n","ш":"w","щ":"w","ъ":"a","ы":"m","ь":"a","э":"e","ю":"m","я":"r"};function O(e,t,n){if(!A[t])throw new Error("Font metrics not found for font: "+t+".");let r=e.charCodeAt(0),i=A[t][r];if(!i&&e[0]in N&&(r=N[e[0]].charCodeAt(0),i=A[t][r]),i||"text"!==n||T(r)&&(i=A[t][77]),i)return{depth:i[0],height:i[1],italic:i[2],skew:i[3],width:i[4]}}const R={},I=[ +// Each element contains [textsize, scriptsize, scriptscriptsize]. +// The size mappings are taken from TeX with \normalsize=10pt. +[1,1,1], +// size1: [5, 5, 5] \tiny +[2,1,1], +// size2: [6, 5, 5] +[3,1,1], +// size3: [7, 5, 5] \scriptsize +[4,2,1], +// size4: [8, 6, 5] \footnotesize +[5,2,1], +// size5: [9, 6, 5] \small +[6,3,1], +// size6: [10, 7, 5] \normalsize +[7,4,2], +// size7: [12, 8, 6] \large +[8,6,3], +// size8: [14.4, 10, 7] \Large +[9,7,6], +// size9: [17.28, 12, 10] \LARGE +[10,8,7], +// size10: [20.74, 14.4, 12] \huge +[11,10,9]],D=[ +// fontMetrics.js:getGlobalMetrics also uses size indexes, so if +// you change size indexes, change that function. +.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],M=function(e,t){return t.size<2?e:I[e-1][t.size-1]};class L{ +// A font family applies to a group of fonts (i.e. SansSerif), while a font +// represents a specific font (i.e. SansSerif Bold). +// See: https://tex.stackexchange.com/questions/22350/difference-between-textrm-and-mathrm +/** + * The base size index. + */ +constructor(e){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=e.style,this.color=e.color,this.size=e.size||L.BASESIZE,this.textSize=e.textSize||this.size,this.phantom=!!e.phantom,this.font=e.font||"",this.fontFamily=e.fontFamily||"",this.fontWeight=e.fontWeight||"",this.fontShape=e.fontShape||"",this.sizeMultiplier=D[this.size-1],this.maxSize=e.maxSize,this.minRuleThickness=e.minRuleThickness,this._fontMetrics=void 0} +/** + * Returns a new options object with the same properties as "this". Properties + * from "extension" will be copied to the new options object. + */extend(e){const t={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(const n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return new L(t)} +/** + * Return an options object with the given style. If `this.style === style`, + * returns `this`. + */havingStyle(e){return this.style===e?this:this.extend({style:e,size:M(this.textSize,e)})} +/** + * Return an options object with a cramped version of the current style. If + * the current style is cramped, returns `this`. + */havingCrampedStyle(){return this.havingStyle(this.style.cramp())} +/** + * Return an options object with the given size and in at least `\textstyle`. + * Returns `this` if appropriate. + */havingSize(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:D[e-1]})} +/** + * Like `this.havingSize(BASESIZE).havingStyle(style)`. If `style` is omitted, + * changes to at least `\textstyle`. + */havingBaseStyle(e){e=e||this.style.text();const t=M(L.BASESIZE,e);return this.size===t&&this.textSize===L.BASESIZE&&this.style===e?this:this.extend({style:e,size:t})} +/** + * Remove the effect of sizing changes such as \Huge. + * Keep the effect of the current style, such as \scriptstyle. + */havingBaseSizing(){let e;switch(this.style.id){case 4:case 5:e=3;break;case 6:case 7:e=1;break;default:e=6}return this.extend({style:this.style.text(),size:e})} +/** + * Create a new options object with the given color. + */withColor(e){return this.extend({color:e})} +/** + * Create a new options object with "phantom" set to true. + */withPhantom(){return this.extend({phantom:!0})} +/** + * Creates a new options object with the given math font or old text font. + * @type {[type]} + */withFont(e){return this.extend({font:e})} +/** + * Create a new options objects with the given fontFamily. + */withTextFontFamily(e){return this.extend({fontFamily:e,font:""})} +/** + * Creates a new options object with the given font weight + */withTextFontWeight(e){return this.extend({fontWeight:e,font:""})} +/** + * Creates a new options object with the given font weight + */withTextFontShape(e){return this.extend({fontShape:e,font:""})} +/** + * Return the CSS sizing classes required to switch from enclosing options + * `oldOptions` to `this`. Returns an array of classes. + */sizingClasses(e){return e.size!==this.size?["sizing","reset-size"+e.size,"size"+this.size]:[]} +/** + * Return the CSS sizing classes required to switch to the base size. Like + * `this.havingSize(BASESIZE).sizingClasses(this)`. + */baseSizingClasses(){return this.size!==L.BASESIZE?["sizing","reset-size"+this.size,"size"+L.BASESIZE]:[]} +/** + * Return the font metrics for this size. + */fontMetrics(){return this._fontMetrics||(this._fontMetrics=function(e){let t;if(t=e>=5?0:e>=3?1:2,!R[t]){const e=R[t]={cssEmPerMu:w.quad[t]/18};for(const n in w)w.hasOwnProperty(n)&&(e[n]=w[n][t])}return R[t]}(this.size)),this._fontMetrics} +/** + * Gets the CSS color of the current options object + */getColor(){return this.phantom?"transparent":this.color}}L.BASESIZE=6;var P=L;const j={ +// https://en.wikibooks.org/wiki/LaTeX/Lengths and +// https://tex.stackexchange.com/a/8263 +pt:1, +// TeX point +mm:7227/2540, +// millimeter +cm:7227/254, +// centimeter +in:72.27, +// inch +bp:1.00375, +// big (PostScript) points +pc:12, +// pica +dd:1238/1157, +// didot +cc:14856/1157, +// cicero (12 didot) +nd:685/642, +// new didot +nc:1370/107, +// new cicero (12 new didot) +sp:1/65536, +// scaled point (TeX's internal smallest unit) +// https://tex.stackexchange.com/a/41371 +px:1.00375},F={ex:!0,em:!0,mu:!0},B=function(e){return"string"!=typeof e&&(e=e.unit),e in j||e in F||"ex"===e},U=function(e,t){let n;if(e.unit in j)n=j[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if("mu"===e.unit)n=t.fontMetrics().cssEmPerMu;else{let i;if(i=t.style.isTight()?t.havingStyle(t.style.text()):t,"ex"===e.unit)n=i.fontMetrics().xHeight;else{if("em"!==e.unit)throw new r("Invalid unit: '"+e.unit+"'");n=i.fontMetrics().quad}i!==t&&(n*=i.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*n,t.maxSize)},G=function(e){return+e.toFixed(4)+"em"},z=function(e){return e.filter((e=>e)).join(" ")},$=function(e,t,n){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},t){t.style.isTight()&&this.classes.push("mtight");const e=t.getColor();e&&(this.style.color=e)}},Y=function(e){const t=document.createElement(e);t.className=z(this.classes);for(const n in this.style)this.style.hasOwnProperty(n)&&(t.style[n]=this.style[n]);for(const n in this.attributes)this.attributes.hasOwnProperty(n)&&t.setAttribute(n,this.attributes[n]);for(let n=0;n<this.children.length;n++)t.appendChild(this.children[n].toNode());return t},q=/[\s"'>/=\x00-\x1f]/,H=function(e){let t="<"+e;this.classes.length&&(t+=' class="'+l.escape(z(this.classes))+'"');let n="";for(const r in this.style)this.style.hasOwnProperty(r)&&(n+=l.hyphenate(r)+":"+this.style[r]+";");n&&(t+=' style="'+l.escape(n)+'"');for(const i in this.attributes)if(this.attributes.hasOwnProperty(i)){if(q.test(i))throw new r("Invalid attribute name '"+i+"'");t+=" "+i+'="'+l.escape(this.attributes[i])+'"'}t+=">";for(let r=0;r<this.children.length;r++)t+=this.children[r].toMarkup();return t+="</"+e+">",t};class V{constructor(e,t,n,r){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,$.call(this,e,n,r),this.children=t||[]} +/** + * Sets an arbitrary attribute on the span. Warning: use this wisely. Not + * all browsers support attributes the same, and having too many custom + * attributes is probably bad. + */setAttribute(e,t){this.attributes[e]=t}hasClass(e){return l.contains(this.classes,e)}toNode(){return Y.call(this,"span")}toMarkup(){return H.call(this,"span")}}class W{constructor(e,t,n,r){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,$.call(this,t,r),this.children=n||[],this.setAttribute("href",e)}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return l.contains(this.classes,e)}toNode(){return Y.call(this,"a")}toMarkup(){return H.call(this,"a")}}class Q{constructor(e,t,n){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=t,this.src=e,this.classes=["mord"],this.style=n}hasClass(e){return l.contains(this.classes,e)}toNode(){const e=document.createElement("img");e.src=this.src,e.alt=this.alt,e.className="mord";for(const t in this.style)this.style.hasOwnProperty(t)&&(e.style[t]=this.style[t]);return e}toMarkup(){let e='<img src="'+l.escape(this.src)+'" alt="'+l.escape(this.alt)+'"',t="";for(const n in this.style)this.style.hasOwnProperty(n)&&(t+=l.hyphenate(n)+":"+this.style[n]+";");return t&&(e+=' style="'+l.escape(t)+'"'),e+="'/>",e}}const K={"î":"ı̂","ï":"ı̈","í":"ı́", +// 'ī': '\u0131\u0304', // enable when we add Extended Latin +"ì":"ı̀"};class X{constructor(e,t,n,r,i,a,o,s){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=e,this.height=t||0,this.depth=n||0,this.italic=r||0,this.skew=i||0,this.width=a||0,this.classes=o||[],this.style=s||{},this.maxFontSize=0;const l=function(e){for(let t=0;t<E.length;t++){const n=E[t];for(let t=0;t<n.blocks.length;t++){const r=n.blocks[t];if(e>=r[0]&&e<=r[1])return n.name}}return null}(this.text.charCodeAt(0));l&&this.classes.push(l+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=K[this.text])}hasClass(e){return l.contains(this.classes,e)} +/** + * Creates a text node or span from a symbol node. Note that a span is only + * created if it is needed. + */toNode(){const e=document.createTextNode(this.text);let t=null;this.italic>0&&(t=document.createElement("span"),t.style.marginRight=G(this.italic)),this.classes.length>0&&(t=t||document.createElement("span"),t.className=z(this.classes));for(const n in this.style)this.style.hasOwnProperty(n)&&(t=t||document.createElement("span"),t.style[n]=this.style[n]);return t?(t.appendChild(e),t):e} +/** + * Creates markup for a symbol node. + */toMarkup(){let e=!1,t="<span";this.classes.length&&(e=!0,t+=' class="',t+=l.escape(z(this.classes)),t+='"');let n="";this.italic>0&&(n+="margin-right:"+this.italic+"em;");for(const i in this.style)this.style.hasOwnProperty(i)&&(n+=l.hyphenate(i)+":"+this.style[i]+";");n&&(e=!0,t+=' style="'+l.escape(n)+'"');const r=l.escape(this.text);return e?(t+=">",t+=r,t+="</span>",t):r}}class Z{constructor(e,t){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=t||{}}toNode(){const e=document.createElementNS("http://www.w3.org/2000/svg","svg");for(const t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);for(let t=0;t<this.children.length;t++)e.appendChild(this.children[t].toNode());return e}toMarkup(){let e='<svg xmlns="http://www.w3.org/2000/svg"';for(const t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="'+l.escape(this.attributes[t])+'"');e+=">";for(let t=0;t<this.children.length;t++)e+=this.children[t].toMarkup();return e+="</svg>",e}}class J{constructor(e,t){this.pathName=void 0,this.alternate=void 0,this.pathName=e,this.alternate=t}toNode(){const e=document.createElementNS("http://www.w3.org/2000/svg","path");return this.alternate?e.setAttribute("d",this.alternate):e.setAttribute("d",x[this.pathName]),e}toMarkup(){return this.alternate?'<path d="'+l.escape(this.alternate)+'"/>':'<path d="'+l.escape(x[this.pathName])+'"/>'}}class ee{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){const e=document.createElementNS("http://www.w3.org/2000/svg","line");for(const t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);return e}toMarkup(){let e="<line";for(const t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="'+l.escape(this.attributes[t])+'"');return e+="/>",e}}function te(e){if(e instanceof X)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}const ne={bin:1,close:1,inner:1,open:1,punct:1,rel:1},re={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},ie={math:{},text:{}};var ae=ie;function oe(e,t,n,r,i,a){ie[e][i]={font:t,group:n,replace:r},a&&r&&(ie[e][r]=ie[e][i])}const se="math",le="text",ce="main",ue="ams",de="accent-token",he="bin",pe="close",ge="inner",me="mathord",_e="op-token",be="open",fe="punct",ye="rel",ve="spacing",Ee="textord";oe(se,ce,ye,"≡","\\equiv",!0),oe(se,ce,ye,"≺","\\prec",!0),oe(se,ce,ye,"≻","\\succ",!0),oe(se,ce,ye,"∼","\\sim",!0),oe(se,ce,ye,"⊥","\\perp"),oe(se,ce,ye,"⪯","\\preceq",!0),oe(se,ce,ye,"⪰","\\succeq",!0),oe(se,ce,ye,"≃","\\simeq",!0),oe(se,ce,ye,"∣","\\mid",!0),oe(se,ce,ye,"≪","\\ll",!0),oe(se,ce,ye,"≫","\\gg",!0),oe(se,ce,ye,"≍","\\asymp",!0),oe(se,ce,ye,"∥","\\parallel"),oe(se,ce,ye,"⋈","\\bowtie",!0),oe(se,ce,ye,"⌣","\\smile",!0),oe(se,ce,ye,"⊑","\\sqsubseteq",!0),oe(se,ce,ye,"⊒","\\sqsupseteq",!0),oe(se,ce,ye,"≐","\\doteq",!0),oe(se,ce,ye,"⌢","\\frown",!0),oe(se,ce,ye,"∋","\\ni",!0),oe(se,ce,ye,"∝","\\propto",!0),oe(se,ce,ye,"⊢","\\vdash",!0),oe(se,ce,ye,"⊣","\\dashv",!0),oe(se,ce,ye,"∋","\\owns"),oe(se,ce,fe,".","\\ldotp"),oe(se,ce,fe,"⋅","\\cdotp"),oe(se,ce,Ee,"#","\\#"),oe(le,ce,Ee,"#","\\#"),oe(se,ce,Ee,"&","\\&"),oe(le,ce,Ee,"&","\\&"),oe(se,ce,Ee,"ℵ","\\aleph",!0),oe(se,ce,Ee,"∀","\\forall",!0),oe(se,ce,Ee,"ℏ","\\hbar",!0),oe(se,ce,Ee,"∃","\\exists",!0),oe(se,ce,Ee,"∇","\\nabla",!0),oe(se,ce,Ee,"♭","\\flat",!0),oe(se,ce,Ee,"ℓ","\\ell",!0),oe(se,ce,Ee,"♮","\\natural",!0),oe(se,ce,Ee,"♣","\\clubsuit",!0),oe(se,ce,Ee,"℘","\\wp",!0),oe(se,ce,Ee,"♯","\\sharp",!0),oe(se,ce,Ee,"♢","\\diamondsuit",!0),oe(se,ce,Ee,"ℜ","\\Re",!0),oe(se,ce,Ee,"♡","\\heartsuit",!0),oe(se,ce,Ee,"ℑ","\\Im",!0),oe(se,ce,Ee,"♠","\\spadesuit",!0),oe(se,ce,Ee,"§","\\S",!0),oe(le,ce,Ee,"§","\\S"),oe(se,ce,Ee,"¶","\\P",!0),oe(le,ce,Ee,"¶","\\P"),oe(se,ce,Ee,"†","\\dag"),oe(le,ce,Ee,"†","\\dag"),oe(le,ce,Ee,"†","\\textdagger"),oe(se,ce,Ee,"‡","\\ddag"),oe(le,ce,Ee,"‡","\\ddag"),oe(le,ce,Ee,"‡","\\textdaggerdbl"),oe(se,ce,pe,"⎱","\\rmoustache",!0),oe(se,ce,be,"⎰","\\lmoustache",!0),oe(se,ce,pe,"⟯","\\rgroup",!0),oe(se,ce,be,"⟮","\\lgroup",!0),oe(se,ce,he,"∓","\\mp",!0),oe(se,ce,he,"⊖","\\ominus",!0),oe(se,ce,he,"⊎","\\uplus",!0),oe(se,ce,he,"⊓","\\sqcap",!0),oe(se,ce,he,"∗","\\ast"),oe(se,ce,he,"⊔","\\sqcup",!0),oe(se,ce,he,"◯","\\bigcirc",!0),oe(se,ce,he,"∙","\\bullet",!0),oe(se,ce,he,"‡","\\ddagger"),oe(se,ce,he,"≀","\\wr",!0),oe(se,ce,he,"⨿","\\amalg"),oe(se,ce,he,"&","\\And"),oe(se,ce,ye,"⟵","\\longleftarrow",!0),oe(se,ce,ye,"⇐","\\Leftarrow",!0),oe(se,ce,ye,"⟸","\\Longleftarrow",!0),oe(se,ce,ye,"⟶","\\longrightarrow",!0),oe(se,ce,ye,"⇒","\\Rightarrow",!0),oe(se,ce,ye,"⟹","\\Longrightarrow",!0),oe(se,ce,ye,"↔","\\leftrightarrow",!0),oe(se,ce,ye,"⟷","\\longleftrightarrow",!0),oe(se,ce,ye,"⇔","\\Leftrightarrow",!0),oe(se,ce,ye,"⟺","\\Longleftrightarrow",!0),oe(se,ce,ye,"↦","\\mapsto",!0),oe(se,ce,ye,"⟼","\\longmapsto",!0),oe(se,ce,ye,"↗","\\nearrow",!0),oe(se,ce,ye,"↩","\\hookleftarrow",!0),oe(se,ce,ye,"↪","\\hookrightarrow",!0),oe(se,ce,ye,"↘","\\searrow",!0),oe(se,ce,ye,"↼","\\leftharpoonup",!0),oe(se,ce,ye,"⇀","\\rightharpoonup",!0),oe(se,ce,ye,"↙","\\swarrow",!0),oe(se,ce,ye,"↽","\\leftharpoondown",!0),oe(se,ce,ye,"⇁","\\rightharpoondown",!0),oe(se,ce,ye,"↖","\\nwarrow",!0),oe(se,ce,ye,"⇌","\\rightleftharpoons",!0),oe(se,ue,ye,"≮","\\nless",!0),oe(se,ue,ye,"","\\@nleqslant"),oe(se,ue,ye,"","\\@nleqq"),oe(se,ue,ye,"⪇","\\lneq",!0),oe(se,ue,ye,"≨","\\lneqq",!0),oe(se,ue,ye,"","\\@lvertneqq"),oe(se,ue,ye,"⋦","\\lnsim",!0),oe(se,ue,ye,"⪉","\\lnapprox",!0),oe(se,ue,ye,"⊀","\\nprec",!0),oe(se,ue,ye,"⋠","\\npreceq",!0),oe(se,ue,ye,"⋨","\\precnsim",!0),oe(se,ue,ye,"⪹","\\precnapprox",!0),oe(se,ue,ye,"≁","\\nsim",!0),oe(se,ue,ye,"","\\@nshortmid"),oe(se,ue,ye,"∤","\\nmid",!0),oe(se,ue,ye,"⊬","\\nvdash",!0),oe(se,ue,ye,"⊭","\\nvDash",!0),oe(se,ue,ye,"⋪","\\ntriangleleft"),oe(se,ue,ye,"⋬","\\ntrianglelefteq",!0),oe(se,ue,ye,"⊊","\\subsetneq",!0),oe(se,ue,ye,"","\\@varsubsetneq"),oe(se,ue,ye,"⫋","\\subsetneqq",!0),oe(se,ue,ye,"","\\@varsubsetneqq"),oe(se,ue,ye,"≯","\\ngtr",!0),oe(se,ue,ye,"","\\@ngeqslant"),oe(se,ue,ye,"","\\@ngeqq"),oe(se,ue,ye,"⪈","\\gneq",!0),oe(se,ue,ye,"≩","\\gneqq",!0),oe(se,ue,ye,"","\\@gvertneqq"),oe(se,ue,ye,"⋧","\\gnsim",!0),oe(se,ue,ye,"⪊","\\gnapprox",!0),oe(se,ue,ye,"⊁","\\nsucc",!0),oe(se,ue,ye,"⋡","\\nsucceq",!0),oe(se,ue,ye,"⋩","\\succnsim",!0),oe(se,ue,ye,"⪺","\\succnapprox",!0),oe(se,ue,ye,"≆","\\ncong",!0),oe(se,ue,ye,"","\\@nshortparallel"),oe(se,ue,ye,"∦","\\nparallel",!0),oe(se,ue,ye,"⊯","\\nVDash",!0),oe(se,ue,ye,"⋫","\\ntriangleright"),oe(se,ue,ye,"⋭","\\ntrianglerighteq",!0),oe(se,ue,ye,"","\\@nsupseteqq"),oe(se,ue,ye,"⊋","\\supsetneq",!0),oe(se,ue,ye,"","\\@varsupsetneq"),oe(se,ue,ye,"⫌","\\supsetneqq",!0),oe(se,ue,ye,"","\\@varsupsetneqq"),oe(se,ue,ye,"⊮","\\nVdash",!0),oe(se,ue,ye,"⪵","\\precneqq",!0),oe(se,ue,ye,"⪶","\\succneqq",!0),oe(se,ue,ye,"","\\@nsubseteqq"),oe(se,ue,he,"⊴","\\unlhd"),oe(se,ue,he,"⊵","\\unrhd"),oe(se,ue,ye,"↚","\\nleftarrow",!0),oe(se,ue,ye,"↛","\\nrightarrow",!0),oe(se,ue,ye,"⇍","\\nLeftarrow",!0),oe(se,ue,ye,"⇏","\\nRightarrow",!0),oe(se,ue,ye,"↮","\\nleftrightarrow",!0),oe(se,ue,ye,"⇎","\\nLeftrightarrow",!0),oe(se,ue,ye,"△","\\vartriangle"),oe(se,ue,Ee,"ℏ","\\hslash"),oe(se,ue,Ee,"▽","\\triangledown"),oe(se,ue,Ee,"◊","\\lozenge"),oe(se,ue,Ee,"Ⓢ","\\circledS"),oe(se,ue,Ee,"®","\\circledR"),oe(le,ue,Ee,"®","\\circledR"),oe(se,ue,Ee,"∡","\\measuredangle",!0),oe(se,ue,Ee,"∄","\\nexists"),oe(se,ue,Ee,"℧","\\mho"),oe(se,ue,Ee,"Ⅎ","\\Finv",!0),oe(se,ue,Ee,"⅁","\\Game",!0),oe(se,ue,Ee,"‵","\\backprime"),oe(se,ue,Ee,"▲","\\blacktriangle"),oe(se,ue,Ee,"▼","\\blacktriangledown"),oe(se,ue,Ee,"■","\\blacksquare"),oe(se,ue,Ee,"⧫","\\blacklozenge"),oe(se,ue,Ee,"★","\\bigstar"),oe(se,ue,Ee,"∢","\\sphericalangle",!0),oe(se,ue,Ee,"∁","\\complement",!0),oe(se,ue,Ee,"ð","\\eth",!0),oe(le,ce,Ee,"ð","ð"),oe(se,ue,Ee,"╱","\\diagup"),oe(se,ue,Ee,"╲","\\diagdown"),oe(se,ue,Ee,"□","\\square"),oe(se,ue,Ee,"□","\\Box"),oe(se,ue,Ee,"◊","\\Diamond"),oe(se,ue,Ee,"¥","\\yen",!0),oe(le,ue,Ee,"¥","\\yen",!0),oe(se,ue,Ee,"✓","\\checkmark",!0),oe(le,ue,Ee,"✓","\\checkmark"),oe(se,ue,Ee,"ℶ","\\beth",!0),oe(se,ue,Ee,"ℸ","\\daleth",!0),oe(se,ue,Ee,"ℷ","\\gimel",!0),oe(se,ue,Ee,"ϝ","\\digamma",!0),oe(se,ue,Ee,"ϰ","\\varkappa"),oe(se,ue,be,"┌","\\@ulcorner",!0),oe(se,ue,pe,"┐","\\@urcorner",!0),oe(se,ue,be,"└","\\@llcorner",!0),oe(se,ue,pe,"┘","\\@lrcorner",!0),oe(se,ue,ye,"≦","\\leqq",!0),oe(se,ue,ye,"⩽","\\leqslant",!0),oe(se,ue,ye,"⪕","\\eqslantless",!0),oe(se,ue,ye,"≲","\\lesssim",!0),oe(se,ue,ye,"⪅","\\lessapprox",!0),oe(se,ue,ye,"≊","\\approxeq",!0),oe(se,ue,he,"⋖","\\lessdot"),oe(se,ue,ye,"⋘","\\lll",!0),oe(se,ue,ye,"≶","\\lessgtr",!0),oe(se,ue,ye,"⋚","\\lesseqgtr",!0),oe(se,ue,ye,"⪋","\\lesseqqgtr",!0),oe(se,ue,ye,"≑","\\doteqdot"),oe(se,ue,ye,"≓","\\risingdotseq",!0),oe(se,ue,ye,"≒","\\fallingdotseq",!0),oe(se,ue,ye,"∽","\\backsim",!0),oe(se,ue,ye,"⋍","\\backsimeq",!0),oe(se,ue,ye,"⫅","\\subseteqq",!0),oe(se,ue,ye,"⋐","\\Subset",!0),oe(se,ue,ye,"⊏","\\sqsubset",!0),oe(se,ue,ye,"≼","\\preccurlyeq",!0),oe(se,ue,ye,"⋞","\\curlyeqprec",!0),oe(se,ue,ye,"≾","\\precsim",!0),oe(se,ue,ye,"⪷","\\precapprox",!0),oe(se,ue,ye,"⊲","\\vartriangleleft"),oe(se,ue,ye,"⊴","\\trianglelefteq"),oe(se,ue,ye,"⊨","\\vDash",!0),oe(se,ue,ye,"⊪","\\Vvdash",!0),oe(se,ue,ye,"⌣","\\smallsmile"),oe(se,ue,ye,"⌢","\\smallfrown"),oe(se,ue,ye,"≏","\\bumpeq",!0),oe(se,ue,ye,"≎","\\Bumpeq",!0),oe(se,ue,ye,"≧","\\geqq",!0),oe(se,ue,ye,"⩾","\\geqslant",!0),oe(se,ue,ye,"⪖","\\eqslantgtr",!0),oe(se,ue,ye,"≳","\\gtrsim",!0),oe(se,ue,ye,"⪆","\\gtrapprox",!0),oe(se,ue,he,"⋗","\\gtrdot"),oe(se,ue,ye,"⋙","\\ggg",!0),oe(se,ue,ye,"≷","\\gtrless",!0),oe(se,ue,ye,"⋛","\\gtreqless",!0),oe(se,ue,ye,"⪌","\\gtreqqless",!0),oe(se,ue,ye,"≖","\\eqcirc",!0),oe(se,ue,ye,"≗","\\circeq",!0),oe(se,ue,ye,"≜","\\triangleq",!0),oe(se,ue,ye,"∼","\\thicksim"),oe(se,ue,ye,"≈","\\thickapprox"),oe(se,ue,ye,"⫆","\\supseteqq",!0),oe(se,ue,ye,"⋑","\\Supset",!0),oe(se,ue,ye,"⊐","\\sqsupset",!0),oe(se,ue,ye,"≽","\\succcurlyeq",!0),oe(se,ue,ye,"⋟","\\curlyeqsucc",!0),oe(se,ue,ye,"≿","\\succsim",!0),oe(se,ue,ye,"⪸","\\succapprox",!0),oe(se,ue,ye,"⊳","\\vartriangleright"),oe(se,ue,ye,"⊵","\\trianglerighteq"),oe(se,ue,ye,"⊩","\\Vdash",!0),oe(se,ue,ye,"∣","\\shortmid"),oe(se,ue,ye,"∥","\\shortparallel"),oe(se,ue,ye,"≬","\\between",!0),oe(se,ue,ye,"⋔","\\pitchfork",!0),oe(se,ue,ye,"∝","\\varpropto"),oe(se,ue,ye,"◀","\\blacktriangleleft"),oe(se,ue,ye,"∴","\\therefore",!0),oe(se,ue,ye,"∍","\\backepsilon"),oe(se,ue,ye,"▶","\\blacktriangleright"),oe(se,ue,ye,"∵","\\because",!0),oe(se,ue,ye,"⋘","\\llless"),oe(se,ue,ye,"⋙","\\gggtr"),oe(se,ue,he,"⊲","\\lhd"),oe(se,ue,he,"⊳","\\rhd"),oe(se,ue,ye,"≂","\\eqsim",!0),oe(se,ce,ye,"⋈","\\Join"),oe(se,ue,ye,"≑","\\Doteq",!0),oe(se,ue,he,"∔","\\dotplus",!0),oe(se,ue,he,"∖","\\smallsetminus"),oe(se,ue,he,"⋒","\\Cap",!0),oe(se,ue,he,"⋓","\\Cup",!0),oe(se,ue,he,"⩞","\\doublebarwedge",!0),oe(se,ue,he,"⊟","\\boxminus",!0),oe(se,ue,he,"⊞","\\boxplus",!0),oe(se,ue,he,"⋇","\\divideontimes",!0),oe(se,ue,he,"⋉","\\ltimes",!0),oe(se,ue,he,"⋊","\\rtimes",!0),oe(se,ue,he,"⋋","\\leftthreetimes",!0),oe(se,ue,he,"⋌","\\rightthreetimes",!0),oe(se,ue,he,"⋏","\\curlywedge",!0),oe(se,ue,he,"⋎","\\curlyvee",!0),oe(se,ue,he,"⊝","\\circleddash",!0),oe(se,ue,he,"⊛","\\circledast",!0),oe(se,ue,he,"⋅","\\centerdot"),oe(se,ue,he,"⊺","\\intercal",!0),oe(se,ue,he,"⋒","\\doublecap"),oe(se,ue,he,"⋓","\\doublecup"),oe(se,ue,he,"⊠","\\boxtimes",!0),oe(se,ue,ye,"⇢","\\dashrightarrow",!0),oe(se,ue,ye,"⇠","\\dashleftarrow",!0),oe(se,ue,ye,"⇇","\\leftleftarrows",!0),oe(se,ue,ye,"⇆","\\leftrightarrows",!0),oe(se,ue,ye,"⇚","\\Lleftarrow",!0),oe(se,ue,ye,"↞","\\twoheadleftarrow",!0),oe(se,ue,ye,"↢","\\leftarrowtail",!0),oe(se,ue,ye,"↫","\\looparrowleft",!0),oe(se,ue,ye,"⇋","\\leftrightharpoons",!0),oe(se,ue,ye,"↶","\\curvearrowleft",!0),oe(se,ue,ye,"↺","\\circlearrowleft",!0),oe(se,ue,ye,"↰","\\Lsh",!0),oe(se,ue,ye,"⇈","\\upuparrows",!0),oe(se,ue,ye,"↿","\\upharpoonleft",!0),oe(se,ue,ye,"⇃","\\downharpoonleft",!0),oe(se,ce,ye,"⊶","\\origof",!0),oe(se,ce,ye,"⊷","\\imageof",!0),oe(se,ue,ye,"⊸","\\multimap",!0),oe(se,ue,ye,"↭","\\leftrightsquigarrow",!0),oe(se,ue,ye,"⇉","\\rightrightarrows",!0),oe(se,ue,ye,"⇄","\\rightleftarrows",!0),oe(se,ue,ye,"↠","\\twoheadrightarrow",!0),oe(se,ue,ye,"↣","\\rightarrowtail",!0),oe(se,ue,ye,"↬","\\looparrowright",!0),oe(se,ue,ye,"↷","\\curvearrowright",!0),oe(se,ue,ye,"↻","\\circlearrowright",!0),oe(se,ue,ye,"↱","\\Rsh",!0),oe(se,ue,ye,"⇊","\\downdownarrows",!0),oe(se,ue,ye,"↾","\\upharpoonright",!0),oe(se,ue,ye,"⇂","\\downharpoonright",!0),oe(se,ue,ye,"⇝","\\rightsquigarrow",!0),oe(se,ue,ye,"⇝","\\leadsto"),oe(se,ue,ye,"⇛","\\Rrightarrow",!0),oe(se,ue,ye,"↾","\\restriction"),oe(se,ce,Ee,"‘","`"),oe(se,ce,Ee,"$","\\$"),oe(le,ce,Ee,"$","\\$"),oe(le,ce,Ee,"$","\\textdollar"),oe(se,ce,Ee,"%","\\%"),oe(le,ce,Ee,"%","\\%"),oe(se,ce,Ee,"_","\\_"),oe(le,ce,Ee,"_","\\_"),oe(le,ce,Ee,"_","\\textunderscore"),oe(se,ce,Ee,"∠","\\angle",!0),oe(se,ce,Ee,"∞","\\infty",!0),oe(se,ce,Ee,"′","\\prime"),oe(se,ce,Ee,"△","\\triangle"),oe(se,ce,Ee,"Γ","\\Gamma",!0),oe(se,ce,Ee,"Δ","\\Delta",!0),oe(se,ce,Ee,"Θ","\\Theta",!0),oe(se,ce,Ee,"Λ","\\Lambda",!0),oe(se,ce,Ee,"Ξ","\\Xi",!0),oe(se,ce,Ee,"Π","\\Pi",!0),oe(se,ce,Ee,"Σ","\\Sigma",!0),oe(se,ce,Ee,"Υ","\\Upsilon",!0),oe(se,ce,Ee,"Φ","\\Phi",!0),oe(se,ce,Ee,"Ψ","\\Psi",!0),oe(se,ce,Ee,"Ω","\\Omega",!0),oe(se,ce,Ee,"A","Α"),oe(se,ce,Ee,"B","Β"),oe(se,ce,Ee,"E","Ε"),oe(se,ce,Ee,"Z","Ζ"),oe(se,ce,Ee,"H","Η"),oe(se,ce,Ee,"I","Ι"),oe(se,ce,Ee,"K","Κ"),oe(se,ce,Ee,"M","Μ"),oe(se,ce,Ee,"N","Ν"),oe(se,ce,Ee,"O","Ο"),oe(se,ce,Ee,"P","Ρ"),oe(se,ce,Ee,"T","Τ"),oe(se,ce,Ee,"X","Χ"),oe(se,ce,Ee,"¬","\\neg",!0),oe(se,ce,Ee,"¬","\\lnot"),oe(se,ce,Ee,"⊤","\\top"),oe(se,ce,Ee,"⊥","\\bot"),oe(se,ce,Ee,"∅","\\emptyset"),oe(se,ue,Ee,"∅","\\varnothing"),oe(se,ce,me,"α","\\alpha",!0),oe(se,ce,me,"β","\\beta",!0),oe(se,ce,me,"γ","\\gamma",!0),oe(se,ce,me,"δ","\\delta",!0),oe(se,ce,me,"ϵ","\\epsilon",!0),oe(se,ce,me,"ζ","\\zeta",!0),oe(se,ce,me,"η","\\eta",!0),oe(se,ce,me,"θ","\\theta",!0),oe(se,ce,me,"ι","\\iota",!0),oe(se,ce,me,"κ","\\kappa",!0),oe(se,ce,me,"λ","\\lambda",!0),oe(se,ce,me,"μ","\\mu",!0),oe(se,ce,me,"ν","\\nu",!0),oe(se,ce,me,"ξ","\\xi",!0),oe(se,ce,me,"ο","\\omicron",!0),oe(se,ce,me,"π","\\pi",!0),oe(se,ce,me,"ρ","\\rho",!0),oe(se,ce,me,"σ","\\sigma",!0),oe(se,ce,me,"τ","\\tau",!0),oe(se,ce,me,"υ","\\upsilon",!0),oe(se,ce,me,"ϕ","\\phi",!0),oe(se,ce,me,"χ","\\chi",!0),oe(se,ce,me,"ψ","\\psi",!0),oe(se,ce,me,"ω","\\omega",!0),oe(se,ce,me,"ε","\\varepsilon",!0),oe(se,ce,me,"ϑ","\\vartheta",!0),oe(se,ce,me,"ϖ","\\varpi",!0),oe(se,ce,me,"ϱ","\\varrho",!0),oe(se,ce,me,"ς","\\varsigma",!0),oe(se,ce,me,"φ","\\varphi",!0),oe(se,ce,he,"∗","*",!0),oe(se,ce,he,"+","+"),oe(se,ce,he,"−","-",!0),oe(se,ce,he,"⋅","\\cdot",!0),oe(se,ce,he,"∘","\\circ",!0),oe(se,ce,he,"÷","\\div",!0),oe(se,ce,he,"±","\\pm",!0),oe(se,ce,he,"×","\\times",!0),oe(se,ce,he,"∩","\\cap",!0),oe(se,ce,he,"∪","\\cup",!0),oe(se,ce,he,"∖","\\setminus",!0),oe(se,ce,he,"∧","\\land"),oe(se,ce,he,"∨","\\lor"),oe(se,ce,he,"∧","\\wedge",!0),oe(se,ce,he,"∨","\\vee",!0),oe(se,ce,Ee,"√","\\surd"),oe(se,ce,be,"⟨","\\langle",!0),oe(se,ce,be,"∣","\\lvert"),oe(se,ce,be,"∥","\\lVert"),oe(se,ce,pe,"?","?"),oe(se,ce,pe,"!","!"),oe(se,ce,pe,"⟩","\\rangle",!0),oe(se,ce,pe,"∣","\\rvert"),oe(se,ce,pe,"∥","\\rVert"),oe(se,ce,ye,"=","="),oe(se,ce,ye,":",":"),oe(se,ce,ye,"≈","\\approx",!0),oe(se,ce,ye,"≅","\\cong",!0),oe(se,ce,ye,"≥","\\ge"),oe(se,ce,ye,"≥","\\geq",!0),oe(se,ce,ye,"←","\\gets"),oe(se,ce,ye,">","\\gt",!0),oe(se,ce,ye,"∈","\\in",!0),oe(se,ce,ye,"","\\@not"),oe(se,ce,ye,"⊂","\\subset",!0),oe(se,ce,ye,"⊃","\\supset",!0),oe(se,ce,ye,"⊆","\\subseteq",!0),oe(se,ce,ye,"⊇","\\supseteq",!0),oe(se,ue,ye,"⊈","\\nsubseteq",!0),oe(se,ue,ye,"⊉","\\nsupseteq",!0),oe(se,ce,ye,"⊨","\\models"),oe(se,ce,ye,"←","\\leftarrow",!0),oe(se,ce,ye,"≤","\\le"),oe(se,ce,ye,"≤","\\leq",!0),oe(se,ce,ye,"<","\\lt",!0),oe(se,ce,ye,"→","\\rightarrow",!0),oe(se,ce,ye,"→","\\to"),oe(se,ue,ye,"≱","\\ngeq",!0),oe(se,ue,ye,"≰","\\nleq",!0),oe(se,ce,ve," ","\\ "),oe(se,ce,ve," ","\\space"),oe(se,ce,ve," ","\\nobreakspace"),oe(le,ce,ve," ","\\ "),oe(le,ce,ve," "," "),oe(le,ce,ve," ","\\space"),oe(le,ce,ve," ","\\nobreakspace"),oe(se,ce,ve,null,"\\nobreak"),oe(se,ce,ve,null,"\\allowbreak"),oe(se,ce,fe,",",","),oe(se,ce,fe,";",";"),oe(se,ue,he,"⊼","\\barwedge",!0),oe(se,ue,he,"⊻","\\veebar",!0),oe(se,ce,he,"⊙","\\odot",!0),oe(se,ce,he,"⊕","\\oplus",!0),oe(se,ce,he,"⊗","\\otimes",!0),oe(se,ce,Ee,"∂","\\partial",!0),oe(se,ce,he,"⊘","\\oslash",!0),oe(se,ue,he,"⊚","\\circledcirc",!0),oe(se,ue,he,"⊡","\\boxdot",!0),oe(se,ce,he,"△","\\bigtriangleup"),oe(se,ce,he,"▽","\\bigtriangledown"),oe(se,ce,he,"†","\\dagger"),oe(se,ce,he,"⋄","\\diamond"),oe(se,ce,he,"⋆","\\star"),oe(se,ce,he,"◃","\\triangleleft"),oe(se,ce,he,"▹","\\triangleright"),oe(se,ce,be,"{","\\{"),oe(le,ce,Ee,"{","\\{"),oe(le,ce,Ee,"{","\\textbraceleft"),oe(se,ce,pe,"}","\\}"),oe(le,ce,Ee,"}","\\}"),oe(le,ce,Ee,"}","\\textbraceright"),oe(se,ce,be,"{","\\lbrace"),oe(se,ce,pe,"}","\\rbrace"),oe(se,ce,be,"[","\\lbrack",!0),oe(le,ce,Ee,"[","\\lbrack",!0),oe(se,ce,pe,"]","\\rbrack",!0),oe(le,ce,Ee,"]","\\rbrack",!0),oe(se,ce,be,"(","\\lparen",!0),oe(se,ce,pe,")","\\rparen",!0),oe(le,ce,Ee,"<","\\textless",!0),oe(le,ce,Ee,">","\\textgreater",!0),oe(se,ce,be,"⌊","\\lfloor",!0),oe(se,ce,pe,"⌋","\\rfloor",!0),oe(se,ce,be,"⌈","\\lceil",!0),oe(se,ce,pe,"⌉","\\rceil",!0),oe(se,ce,Ee,"\\","\\backslash"),oe(se,ce,Ee,"∣","|"),oe(se,ce,Ee,"∣","\\vert"),oe(le,ce,Ee,"|","\\textbar",!0),oe(se,ce,Ee,"∥","\\|"),oe(se,ce,Ee,"∥","\\Vert"),oe(le,ce,Ee,"∥","\\textbardbl"),oe(le,ce,Ee,"~","\\textasciitilde"),oe(le,ce,Ee,"\\","\\textbackslash"),oe(le,ce,Ee,"^","\\textasciicircum"),oe(se,ce,ye,"↑","\\uparrow",!0),oe(se,ce,ye,"⇑","\\Uparrow",!0),oe(se,ce,ye,"↓","\\downarrow",!0),oe(se,ce,ye,"⇓","\\Downarrow",!0),oe(se,ce,ye,"↕","\\updownarrow",!0),oe(se,ce,ye,"⇕","\\Updownarrow",!0),oe(se,ce,_e,"∐","\\coprod"),oe(se,ce,_e,"⋁","\\bigvee"),oe(se,ce,_e,"⋀","\\bigwedge"),oe(se,ce,_e,"⨄","\\biguplus"),oe(se,ce,_e,"⋂","\\bigcap"),oe(se,ce,_e,"⋃","\\bigcup"),oe(se,ce,_e,"∫","\\int"),oe(se,ce,_e,"∫","\\intop"),oe(se,ce,_e,"∬","\\iint"),oe(se,ce,_e,"∭","\\iiint"),oe(se,ce,_e,"∏","\\prod"),oe(se,ce,_e,"∑","\\sum"),oe(se,ce,_e,"⨂","\\bigotimes"),oe(se,ce,_e,"⨁","\\bigoplus"),oe(se,ce,_e,"⨀","\\bigodot"),oe(se,ce,_e,"∮","\\oint"),oe(se,ce,_e,"∯","\\oiint"),oe(se,ce,_e,"∰","\\oiiint"),oe(se,ce,_e,"⨆","\\bigsqcup"),oe(se,ce,_e,"∫","\\smallint"),oe(le,ce,ge,"…","\\textellipsis"),oe(se,ce,ge,"…","\\mathellipsis"),oe(le,ce,ge,"…","\\ldots",!0),oe(se,ce,ge,"…","\\ldots",!0),oe(se,ce,ge,"⋯","\\@cdots",!0),oe(se,ce,ge,"⋱","\\ddots",!0),oe(se,ce,Ee,"⋮","\\varvdots"),oe(le,ce,Ee,"⋮","\\varvdots"),oe(se,ce,de,"ˊ","\\acute"),oe(se,ce,de,"ˋ","\\grave"),oe(se,ce,de,"¨","\\ddot"),oe(se,ce,de,"~","\\tilde"),oe(se,ce,de,"ˉ","\\bar"),oe(se,ce,de,"˘","\\breve"),oe(se,ce,de,"ˇ","\\check"),oe(se,ce,de,"^","\\hat"),oe(se,ce,de,"⃗","\\vec"),oe(se,ce,de,"˙","\\dot"),oe(se,ce,de,"˚","\\mathring"),oe(se,ce,me,"","\\@imath"),oe(se,ce,me,"","\\@jmath"),oe(se,ce,Ee,"ı","ı"),oe(se,ce,Ee,"ȷ","ȷ"),oe(le,ce,Ee,"ı","\\i",!0),oe(le,ce,Ee,"ȷ","\\j",!0),oe(le,ce,Ee,"ß","\\ss",!0),oe(le,ce,Ee,"æ","\\ae",!0),oe(le,ce,Ee,"œ","\\oe",!0),oe(le,ce,Ee,"ø","\\o",!0),oe(le,ce,Ee,"Æ","\\AE",!0),oe(le,ce,Ee,"Œ","\\OE",!0),oe(le,ce,Ee,"Ø","\\O",!0),oe(le,ce,de,"ˊ","\\'"),oe(le,ce,de,"ˋ","\\`"),oe(le,ce,de,"ˆ","\\^"),oe(le,ce,de,"˜","\\~"),oe(le,ce,de,"ˉ","\\="),oe(le,ce,de,"˘","\\u"),oe(le,ce,de,"˙","\\."),oe(le,ce,de,"¸","\\c"),oe(le,ce,de,"˚","\\r"),oe(le,ce,de,"ˇ","\\v"),oe(le,ce,de,"¨",'\\"'),oe(le,ce,de,"˝","\\H"),oe(le,ce,de,"◯","\\textcircled");const Se={"--":!0,"---":!0,"``":!0,"''":!0};oe(le,ce,Ee,"–","--",!0),oe(le,ce,Ee,"–","\\textendash"),oe(le,ce,Ee,"—","---",!0),oe(le,ce,Ee,"—","\\textemdash"),oe(le,ce,Ee,"‘","`",!0),oe(le,ce,Ee,"‘","\\textquoteleft"),oe(le,ce,Ee,"’","'",!0),oe(le,ce,Ee,"’","\\textquoteright"),oe(le,ce,Ee,"“","``",!0),oe(le,ce,Ee,"“","\\textquotedblleft"),oe(le,ce,Ee,"”","''",!0),oe(le,ce,Ee,"”","\\textquotedblright"),oe(se,ce,Ee,"°","\\degree",!0),oe(le,ce,Ee,"°","\\degree"),oe(le,ce,Ee,"°","\\textdegree",!0),oe(se,ce,Ee,"£","\\pounds"),oe(se,ce,Ee,"£","\\mathsterling",!0),oe(le,ce,Ee,"£","\\pounds"),oe(le,ce,Ee,"£","\\textsterling",!0),oe(se,ue,Ee,"✠","\\maltese"),oe(le,ue,Ee,"✠","\\maltese");const Te='0123456789/@."';for(let Hr=0;Hr<14;Hr++){const e=Te.charAt(Hr);oe(se,ce,Ee,e,e)}const Ce='0123456789!@*()-=+";:?/.,';for(let Hr=0;Hr<25;Hr++){const e=Ce.charAt(Hr);oe(le,ce,Ee,e,e)}const xe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(let Hr=0;Hr<52;Hr++){const e=xe.charAt(Hr);oe(se,ce,me,e,e),oe(le,ce,Ee,e,e)}oe(se,ue,Ee,"C","ℂ"),oe(le,ue,Ee,"C","ℂ"),oe(se,ue,Ee,"H","ℍ"),oe(le,ue,Ee,"H","ℍ"),oe(se,ue,Ee,"N","ℕ"),oe(le,ue,Ee,"N","ℕ"),oe(se,ue,Ee,"P","ℙ"),oe(le,ue,Ee,"P","ℙ"),oe(se,ue,Ee,"Q","ℚ"),oe(le,ue,Ee,"Q","ℚ"),oe(se,ue,Ee,"R","ℝ"),oe(le,ue,Ee,"R","ℝ"),oe(se,ue,Ee,"Z","ℤ"),oe(le,ue,Ee,"Z","ℤ"),oe(se,ce,me,"h","ℎ"),oe(le,ce,me,"h","ℎ");let ke="";for(let Hr=0;Hr<52;Hr++){const e=xe.charAt(Hr);ke=String.fromCharCode(55349,56320+Hr),oe(se,ce,me,e,ke),oe(le,ce,Ee,e,ke),ke=String.fromCharCode(55349,56372+Hr),oe(se,ce,me,e,ke),oe(le,ce,Ee,e,ke),ke=String.fromCharCode(55349,56424+Hr),oe(se,ce,me,e,ke),oe(le,ce,Ee,e,ke),ke=String.fromCharCode(55349,56580+Hr),oe(se,ce,me,e,ke),oe(le,ce,Ee,e,ke),ke=String.fromCharCode(55349,56684+Hr),oe(se,ce,me,e,ke),oe(le,ce,Ee,e,ke),ke=String.fromCharCode(55349,56736+Hr),oe(se,ce,me,e,ke),oe(le,ce,Ee,e,ke),ke=String.fromCharCode(55349,56788+Hr),oe(se,ce,me,e,ke),oe(le,ce,Ee,e,ke),ke=String.fromCharCode(55349,56840+Hr),oe(se,ce,me,e,ke),oe(le,ce,Ee,e,ke),ke=String.fromCharCode(55349,56944+Hr),oe(se,ce,me,e,ke),oe(le,ce,Ee,e,ke),Hr<26&&(ke=String.fromCharCode(55349,56632+Hr),oe(se,ce,me,e,ke),oe(le,ce,Ee,e,ke),ke=String.fromCharCode(55349,56476+Hr),oe(se,ce,me,e,ke),oe(le,ce,Ee,e,ke))}ke=String.fromCharCode(55349,56668),oe(se,ce,me,"k",ke),oe(le,ce,Ee,"k",ke);for(let Hr=0;Hr<10;Hr++){const e=Hr.toString();ke=String.fromCharCode(55349,57294+Hr),oe(se,ce,me,e,ke),oe(le,ce,Ee,e,ke),ke=String.fromCharCode(55349,57314+Hr),oe(se,ce,me,e,ke),oe(le,ce,Ee,e,ke),ke=String.fromCharCode(55349,57324+Hr),oe(se,ce,me,e,ke),oe(le,ce,Ee,e,ke),ke=String.fromCharCode(55349,57334+Hr),oe(se,ce,me,e,ke),oe(le,ce,Ee,e,ke)}const Ae="ÐÞþ";for(let Hr=0;Hr<3;Hr++){const e=Ae.charAt(Hr);oe(se,ce,me,e,e),oe(le,ce,Ee,e,e)}const we=[["mathbf","textbf","Main-Bold"], +// A-Z bold upright +["mathbf","textbf","Main-Bold"], +// a-z bold upright +["mathnormal","textit","Math-Italic"], +// A-Z italic +["mathnormal","textit","Math-Italic"], +// a-z italic +["boldsymbol","boldsymbol","Main-BoldItalic"], +// A-Z bold italic +["boldsymbol","boldsymbol","Main-BoldItalic"], +// a-z bold italic +// Map fancy A-Z letters to script, not calligraphic. +// This aligns with unicode-math and math fonts (except Cambria Math). +["mathscr","textscr","Script-Regular"], +// A-Z script +["","",""], +// a-z script. No font +["","",""], +// A-Z bold script. No font +["","",""], +// a-z bold script. No font +["mathfrak","textfrak","Fraktur-Regular"], +// A-Z Fraktur +["mathfrak","textfrak","Fraktur-Regular"], +// a-z Fraktur +["mathbb","textbb","AMS-Regular"], +// A-Z double-struck +["mathbb","textbb","AMS-Regular"], +// k double-struck +// Note that we are using a bold font, but font metrics for regular Fraktur. +["mathboldfrak","textboldfrak","Fraktur-Regular"], +// A-Z bold Fraktur +["mathboldfrak","textboldfrak","Fraktur-Regular"], +// a-z bold Fraktur +["mathsf","textsf","SansSerif-Regular"], +// A-Z sans-serif +["mathsf","textsf","SansSerif-Regular"], +// a-z sans-serif +["mathboldsf","textboldsf","SansSerif-Bold"], +// A-Z bold sans-serif +["mathboldsf","textboldsf","SansSerif-Bold"], +// a-z bold sans-serif +["mathitsf","textitsf","SansSerif-Italic"], +// A-Z italic sans-serif +["mathitsf","textitsf","SansSerif-Italic"], +// a-z italic sans-serif +["","",""], +// A-Z bold italic sans. No font +["","",""], +// a-z bold italic sans. No font +["mathtt","texttt","Typewriter-Regular"], +// A-Z monospace +["mathtt","texttt","Typewriter-Regular"]],Ne=[["mathbf","textbf","Main-Bold"], +// 0-9 bold +["","",""], +// 0-9 double-struck. No KaTeX font. +["mathsf","textsf","SansSerif-Regular"], +// 0-9 sans-serif +["mathboldsf","textboldsf","SansSerif-Bold"], +// 0-9 bold sans-serif +["mathtt","texttt","Typewriter-Regular"]],Oe=function(e,t,n){return ae[n][e]&&ae[n][e].replace&&(e=ae[n][e].replace),{value:e,metrics:O(e,t,n)}},Re=function(e,t,n,r,i){const a=Oe(e,t,n),o=a.metrics;let s;if(e=a.value,o){let t=o.italic;("text"===n||r&&"mathit"===r.font)&&(t=0),s=new X(e,o.height,o.depth,t,o.skew,o.width,i)}else s=new X(e,0,0,0,0,0,i);if(r){s.maxFontSize=r.sizeMultiplier,r.style.isTight()&&s.classes.push("mtight");const e=r.getColor();e&&(s.style.color=e)}return s},Ie=(e,t)=>{if(z(e.classes)!==z(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;if(1===e.classes.length){const t=e.classes[0];if("mbin"===t||"mord"===t)return!1}for(const n in e.style)if(e.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;for(const n in t.style)if(t.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;return!0},De=function(e){let t=0,n=0,r=0;for(let i=0;i<e.children.length;i++){const a=e.children[i];a.height>t&&(t=a.height),a.depth>n&&(n=a.depth),a.maxFontSize>r&&(r=a.maxFontSize)}e.height=t,e.depth=n,e.maxFontSize=r},Me=function(e,t,n,r){const i=new V(e,t,n,r);return De(i),i},Le=(e,t,n,r)=>new V(e,t,n,r),Pe=function(e){const t=new k(e);return De(t),t},je=function(e,t,n){let r,i="";switch(e){case"amsrm":i="AMS";break;case"textrm":i="Main";break;case"textsf":i="SansSerif";break;case"texttt":i="Typewriter";break;default:i=e}return r="textbf"===t&&"textit"===n?"BoldItalic":"textbf"===t?"Bold":"textit"===t?"Italic":"Regular",i+"-"+r},Fe={ +// styles +mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathsfit:{variant:"sans-serif-italic",fontName:"SansSerif-Italic"}, +// "boldsymbol" is missing because they require the use of multiple fonts: +// Math-BoldItalic and Main-Bold. This is handled by a special case in +// makeOrd which ends up calling boldsymbol. +// families +mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},Be={ +// path, width, height +vec:["vec",.471,.714], +// values from the font glyph +oiintSize1:["oiintSize1",.957,.499], +// oval to overlay the integrand +oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]};var Ue={fontMap:Fe,makeSymbol:Re,mathsym:function(e,t,n,r){return void 0===r&&(r=[]),"boldsymbol"===n.font&&Oe(e,"Main-Bold",t).metrics?Re(e,"Main-Bold",t,n,r.concat(["mathbf"])):"\\"===e||"main"===ae[t][e].font?Re(e,"Main-Regular",t,n,r):Re(e,"AMS-Regular",t,n,r.concat(["amsrm"]))},makeSpan:Me,makeSvgSpan:Le,makeLineSpan:function(e,t,n){const r=Me([e],[],t);return r.height=Math.max(n||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),r.style.borderBottomWidth=G(r.height),r.maxFontSize=1,r},makeAnchor:function(e,t,n,r){const i=new W(e,t,n,r);return De(i),i},makeFragment:Pe,wrapFragment:function(e,t){return e instanceof k?Me([],[e],t):e},makeVList:function(e,t){const{children:n,depth:r}=function(e){if("individualShift"===e.positionType){const t=e.children,n=[t[0]],r=-t[0].shift-t[0].elem.depth;let i=r;for(let e=1;e<t.length;e++){const r=-t[e].shift-i-t[e].elem.depth,a=r-(t[e-1].elem.height+t[e-1].elem.depth);i+=r,n.push({type:"kern",size:a}),n.push(t[e])}return{children:n,depth:r}}let t;if("top"===e.positionType){let n=e.positionData;for(let t=0;t<e.children.length;t++){const r=e.children[t];n-="kern"===r.type?r.size:r.elem.height+r.elem.depth}t=n}else if("bottom"===e.positionType)t=-e.positionData;else{const n=e.children[0];if("elem"!==n.type)throw new Error('First child must have type "elem".');if("shift"===e.positionType)t=-n.elem.depth-e.positionData;else{if("firstBaseline"!==e.positionType)throw new Error("Invalid positionType "+e.positionType+".");t=-n.elem.depth}}return{children:e.children,depth:t}}(e);let i=0;for(let p=0;p<n.length;p++){const e=n[p];if("elem"===e.type){const t=e.elem;i=Math.max(i,t.maxFontSize,t.height)}}i+=2;const a=Me(["pstrut"],[]);a.style.height=G(i);const o=[];let s=r,l=r,c=r;for(let p=0;p<n.length;p++){const e=n[p];if("kern"===e.type)c+=e.size;else{const t=e.elem,n=e.wrapperClasses||[],r=e.wrapperStyle||{},s=Me(n,[a,t],void 0,r);s.style.top=G(-i-c-t.depth),e.marginLeft&&(s.style.marginLeft=e.marginLeft),e.marginRight&&(s.style.marginRight=e.marginRight),o.push(s),c+=t.height+t.depth}s=Math.min(s,c),l=Math.max(l,c)}const u=Me(["vlist"],o);let d;if(u.style.height=G(l),s<0){const e=Me([],[]),t=Me(["vlist"],[e]);t.style.height=G(-s);const n=Me(["vlist-s"],[new X("")]);d=[Me(["vlist-r"],[u,n]),Me(["vlist-r"],[t])]}else d=[Me(["vlist-r"],[u])];const h=Me(["vlist-t"],d);return 2===d.length&&h.classes.push("vlist-t2"),h.height=l,h.depth=-s,h},makeOrd:function(e,t,n){const i=e.mode,a=e.text,o=["mord"],s="math"===i||"text"===i&&t.font,l=s?t.font:t.fontFamily;let c="",u="";if(55349===a.charCodeAt(0)&&([c,u]=function(e,t){const n=1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536,i="math"===t?0:1;if(119808<=n&&n<120484){const e=Math.floor((n-119808)/26);return[we[e][2],we[e][i]]}if(120782<=n&&n<=120831){const e=Math.floor((n-120782)/10);return[Ne[e][2],Ne[e][i]]}if(120485===n||120486===n)return[we[0][2],we[0][i]];if(120486<n&&n<120782)return["",""];throw new r("Unsupported character: "+e)}(a,i)),c.length>0)return Re(a,c,i,t,o.concat(u));if(l){let e,r;if("boldsymbol"===l){const t=function(e,t,n,r,i){return"textord"!==i&&Oe(e,"Math-BoldItalic",t).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}}(a,i,0,0,n);e=t.fontName,r=[t.fontClass]}else s?(e=Fe[l].fontName,r=[l]):(e=je(l,t.fontWeight,t.fontShape),r=[l,t.fontWeight,t.fontShape]);if(Oe(a,e,i).metrics)return Re(a,e,i,t,o.concat(r));if(Se.hasOwnProperty(a)&&"Typewriter"===e.slice(0,10)){const n=[];for(let s=0;s<a.length;s++)n.push(Re(a[s],e,i,t,o.concat(r)));return Pe(n)}}if("mathord"===n)return Re(a,"Math-Italic",i,t,o.concat(["mathnormal"]));if("textord"===n){const e=ae[i][a]&&ae[i][a].font;if("ams"===e){const e=je("amsrm",t.fontWeight,t.fontShape);return Re(a,e,i,t,o.concat("amsrm",t.fontWeight,t.fontShape))}if("main"!==e&&e){const n=je(e,t.fontWeight,t.fontShape);return Re(a,n,i,t,o.concat(n,t.fontWeight,t.fontShape))}{const e=je("textrm",t.fontWeight,t.fontShape);return Re(a,e,i,t,o.concat(t.fontWeight,t.fontShape))}}throw new Error("unexpected type: "+n+" in makeOrd")},makeGlue:(e,t)=>{const n=Me(["mspace"],[],t),r=U(e,t);return n.style.marginRight=G(r),n},staticSvg:function(e,t){const[n,r,i]=Be[e],a=new J(n),o=new Z([a],{width:G(r),height:G(i), +// Override CSS rule `.katex svg { width: 100% }` +style:"width:"+G(r),viewBox:"0 0 "+1e3*r+" "+1e3*i,preserveAspectRatio:"xMinYMin"}),s=Le(["overlay"],[o],t);return s.height=i,s.style.height=G(i),s.style.width=G(r),s},svgData:Be,tryCombineChars:e=>{for(let t=0;t<e.length-1;t++){const n=e[t],r=e[t+1];n instanceof X&&r instanceof X&&Ie(n,r)&&(n.text+=r.text,n.height=Math.max(n.height,r.height),n.depth=Math.max(n.depth,r.depth),n.italic=r.italic,e.splice(t+1,1),t--)}return e}};const Ge={number:3,unit:"mu"},ze={number:4,unit:"mu"},$e={number:5,unit:"mu"},Ye={mord:{mop:Ge,mbin:ze,mrel:$e,minner:Ge},mop:{mord:Ge,mop:Ge,mrel:$e,minner:Ge},mbin:{mord:ze,mop:ze,mopen:ze,minner:ze},mrel:{mord:$e,mop:$e,mopen:$e,minner:$e},mopen:{},mclose:{mop:Ge,mbin:ze,mrel:$e,minner:Ge},mpunct:{mord:Ge,mop:Ge,mrel:$e,mopen:Ge,mclose:Ge,mpunct:Ge,minner:Ge},minner:{mord:Ge,mop:Ge,mbin:ze,mrel:$e,mopen:Ge,mpunct:Ge,minner:Ge}},qe={mord:{mop:Ge},mop:{mord:Ge,mop:Ge},mbin:{},mrel:{},mopen:{},mclose:{mop:Ge},mpunct:{},minner:{mop:Ge}},He={},Ve={},We={};function Qe(e){let{type:t,names:n,props:r,handler:i,htmlBuilder:a,mathmlBuilder:o}=e;const s={type:t,numArgs:r.numArgs,argTypes:r.argTypes,allowedInArgument:!!r.allowedInArgument,allowedInText:!!r.allowedInText,allowedInMath:void 0===r.allowedInMath||r.allowedInMath,numOptionalArgs:r.numOptionalArgs||0,infix:!!r.infix,primitive:!!r.primitive,handler:i};for(let l=0;l<n.length;++l)He[n[l]]=s;t&&(a&&(Ve[t]=a),o&&(We[t]=o))}function Ke(e){let{type:t,htmlBuilder:n,mathmlBuilder:r}=e;Qe({type:t,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:n,mathmlBuilder:r})}const Xe=function(e){return"ordgroup"===e.type&&1===e.body.length?e.body[0]:e},Ze=function(e){return"ordgroup"===e.type?e.body:[e]},Je=Ue.makeSpan,et=["leftmost","mbin","mopen","mrel","mop","mpunct"],tt=["rightmost","mrel","mclose","mpunct"],nt={display:v.DISPLAY,text:v.TEXT,script:v.SCRIPT,scriptscript:v.SCRIPTSCRIPT},rt={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},it=function(e,t,n,r){void 0===r&&(r=[null,null]);const i=[];for(let l=0;l<e.length;l++){const n=ut(e[l],t);if(n instanceof k){const e=n.children;i.push(...e)}else i.push(n)}if(Ue.tryCombineChars(i),!n)return i;let a=t;if(1===e.length){const n=e[0];"sizing"===n.type?a=t.havingSize(n.size):"styling"===n.type&&(a=t.havingStyle(nt[n.style]))}const o=Je([r[0]||"leftmost"],[],t),s=Je([r[1]||"rightmost"],[],t),c="root"===n;return at(i,((e,t)=>{const n=t.classes[0],r=e.classes[0];"mbin"===n&&l.contains(tt,r)?t.classes[0]="mord":"mbin"===r&&l.contains(et,n)&&(e.classes[0]="mord")}),{node:o},s,c),at(i,((e,t)=>{const n=lt(t),r=lt(e),i=n&&r?e.hasClass("mtight")?qe[n][r]:Ye[n][r]:null;if(i)return Ue.makeGlue(i,a)}),{node:o},s,c),i},at=function(e,t,n,r,i){r&&e.push(r);let a=0;for(;a<e.length;a++){const r=e[a],o=ot(r);if(o){at(o.children,t,n,null,i);continue}const s=!r.hasClass("mspace");if(s){const i=t(r,n.node);i&&(n.insertAfter?n.insertAfter(i):(e.unshift(i),a++))}s?n.node=r:i&&r.hasClass("newline")&&(n.node=Je(["leftmost"])),n.insertAfter=(t=>n=>{e.splice(t+1,0,n),a++})(a)}r&&e.pop()},ot=function(e){return e instanceof k||e instanceof W||e instanceof V&&e.hasClass("enclosing")?e:null},st=function(e,t){const n=ot(e);if(n){const e=n.children;if(e.length){if("right"===t)return st(e[e.length-1],"right");if("left"===t)return st(e[0],"left")}}return e},lt=function(e,t){return e?(t&&(e=st(e,t)),rt[e.classes[0]]||null):null},ct=function(e,t){const n=["nulldelimiter"].concat(e.baseSizingClasses());return Je(t.concat(n))},ut=function(e,t,n){if(!e)return Je();if(Ve[e.type]){let r=Ve[e.type](e,t);if(n&&t.size!==n.size){r=Je(t.sizingClasses(n),[r],t);const e=t.sizeMultiplier/n.sizeMultiplier;r.height*=e,r.depth*=e}return r}throw new r("Got group of unknown type: '"+e.type+"'")};function dt(e,t){const n=Je(["base"],e,t),r=Je(["strut"]);return r.style.height=G(n.height+n.depth),n.depth&&(r.style.verticalAlign=G(-n.depth)),n.children.unshift(r),n}function ht(e,t){let n=null;1===e.length&&"tag"===e[0].type&&(n=e[0].tag,e=e[0].body);const r=it(e,t,"root");let i;2===r.length&&r[1].hasClass("tag")&&(i=r.pop());const a=[];let o,s=[];for(let c=0;c<r.length;c++)if(s.push(r[c]),r[c].hasClass("mbin")||r[c].hasClass("mrel")||r[c].hasClass("allowbreak")){let e=!1;for(;c<r.length-1&&r[c+1].hasClass("mspace")&&!r[c+1].hasClass("newline");)c++,s.push(r[c]),r[c].hasClass("nobreak")&&(e=!0);e||(a.push(dt(s,t)),s=[])}else r[c].hasClass("newline")&&(s.pop(),s.length>0&&(a.push(dt(s,t)),s=[]),a.push(r[c]));s.length>0&&a.push(dt(s,t)),n?(o=dt(it(n,t,!0)),o.classes=["tag"],a.push(o)):i&&a.push(i);const l=Je(["katex-html"],a);if(l.setAttribute("aria-hidden","true"),o){const e=o.children[0];e.style.height=G(l.height+l.depth),l.depth&&(e.style.verticalAlign=G(-l.depth))}return l}function pt(e){return new k(e)}class gt{constructor(e,t,n){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=e,this.attributes={},this.children=t||[],this.classes=n||[]} +/** + * Sets an attribute on a MathML node. MathML depends on attributes to convey a + * semantic content, so this is used heavily. + */setAttribute(e,t){this.attributes[e]=t} +/** + * Gets an attribute on a MathML node. + */getAttribute(e){return this.attributes[e]} +/** + * Converts the math node into a MathML-namespaced DOM element. + */toNode(){const e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(const t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);this.classes.length>0&&(e.className=z(this.classes));for(let t=0;t<this.children.length;t++)if(this.children[t]instanceof mt&&this.children[t+1]instanceof mt){let n=this.children[t].toText()+this.children[++t].toText();for(;this.children[t+1]instanceof mt;)n+=this.children[++t].toText();e.appendChild(new mt(n).toNode())}else e.appendChild(this.children[t].toNode());return e} +/** + * Converts the math node into an HTML markup string. + */toMarkup(){let e="<"+this.type;for(const t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="',e+=l.escape(this.attributes[t]),e+='"');this.classes.length>0&&(e+=' class ="'+l.escape(z(this.classes))+'"'),e+=">";for(let t=0;t<this.children.length;t++)e+=this.children[t].toMarkup();return e+="</"+this.type+">",e} +/** + * Converts the math node into a string, similar to innerText, but escaped. + */toText(){return this.children.map((e=>e.toText())).join("")}}class mt{constructor(e){this.text=void 0,this.text=e} +/** + * Converts the text node into a DOM text node. + */toNode(){return document.createTextNode(this.text)} +/** + * Converts the text node into escaped HTML markup + * (representing the text itself). + */toMarkup(){return l.escape(this.toText())} +/** + * Converts the text node into a string + * (representing the text itself). + */toText(){return this.text}}var _t={MathNode:gt,TextNode:mt,SpaceNode:class{ +/** + * Create a Space node with width given in CSS ems. + */ +constructor(e){this.width=void 0,this.character=void 0,this.width=e,this.character=e>=.05555&&e<=.05556?" ":e>=.1666&&e<=.1667?" ":e>=.2222&&e<=.2223?" ":e>=.2777&&e<=.2778?" ":e>=-.05556&&e<=-.05555?" ":e>=-.1667&&e<=-.1666?" ":e>=-.2223&&e<=-.2222?" ":e>=-.2778&&e<=-.2777?" ":null} +/** + * Converts the math node into a MathML-namespaced DOM element. + */toNode(){if(this.character)return document.createTextNode(this.character);{const e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",G(this.width)),e}} +/** + * Converts the math node into an HTML markup string. + */toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+G(this.width)+'"/>'} +/** + * Converts the math node into a string, similar to innerText. + */toText(){return this.character?this.character:" "}},newDocumentFragment:pt};const bt=function(e,t,n){return!ae[t][e]||!ae[t][e].replace||55349===e.charCodeAt(0)||Se.hasOwnProperty(e)&&n&&(n.fontFamily&&"tt"===n.fontFamily.slice(4,6)||n.font&&"tt"===n.font.slice(4,6))||(e=ae[t][e].replace),new _t.TextNode(e)},ft=function(e){return 1===e.length?e[0]:new _t.MathNode("mrow",e)},yt=function(e,t){if("texttt"===t.fontFamily)return"monospace";if("textsf"===t.fontFamily)return"textit"===t.fontShape&&"textbf"===t.fontWeight?"sans-serif-bold-italic":"textit"===t.fontShape?"sans-serif-italic":"textbf"===t.fontWeight?"bold-sans-serif":"sans-serif";if("textit"===t.fontShape&&"textbf"===t.fontWeight)return"bold-italic";if("textit"===t.fontShape)return"italic";if("textbf"===t.fontWeight)return"bold";const n=t.font;if(!n||"mathnormal"===n)return null;const r=e.mode;if("mathit"===n)return"italic";if("boldsymbol"===n)return"textord"===e.type?"bold":"bold-italic";if("mathbf"===n)return"bold";if("mathbb"===n)return"double-struck";if("mathsfit"===n)return"sans-serif-italic";if("mathfrak"===n)return"fraktur";if("mathscr"===n||"mathcal"===n)return"script";if("mathsf"===n)return"sans-serif";if("mathtt"===n)return"monospace";let i=e.text;return l.contains(["\\imath","\\jmath"],i)?null:(ae[r][i]&&ae[r][i].replace&&(i=ae[r][i].replace),O(i,Ue.fontMap[n].fontName,r)?Ue.fontMap[n].variant:null)};function vt(e){if(!e)return!1;if("mi"===e.type&&1===e.children.length){const t=e.children[0];return t instanceof mt&&"."===t.text}if("mo"===e.type&&1===e.children.length&&"true"===e.getAttribute("separator")&&"0em"===e.getAttribute("lspace")&&"0em"===e.getAttribute("rspace")){const t=e.children[0];return t instanceof mt&&","===t.text}return!1}const Et=function(e,t,n){if(1===e.length){const r=Tt(e[0],t);return n&&r instanceof gt&&"mo"===r.type&&(r.setAttribute("lspace","0em"),r.setAttribute("rspace","0em")),[r]}const r=[];let i;for(let a=0;a<e.length;a++){const n=Tt(e[a],t);if(n instanceof gt&&i instanceof gt){if("mtext"===n.type&&"mtext"===i.type&&n.getAttribute("mathvariant")===i.getAttribute("mathvariant")){i.children.push(...n.children);continue}if("mn"===n.type&&"mn"===i.type){i.children.push(...n.children);continue}if(vt(n)&&"mn"===i.type){i.children.push(...n.children);continue}if("mn"===n.type&&vt(i))n.children=[...i.children,...n.children],r.pop();else if(("msup"===n.type||"msub"===n.type)&&n.children.length>=1&&("mn"===i.type||vt(i))){const e=n.children[0];e instanceof gt&&"mn"===e.type&&(e.children=[...i.children,...e.children],r.pop())}else if("mi"===i.type&&1===i.children.length){const e=i.children[0];if(e instanceof mt&&"̸"===e.text&&("mo"===n.type||"mi"===n.type||"mn"===n.type)){const e=n.children[0];e instanceof mt&&e.text.length>0&&(e.text=e.text.slice(0,1)+"̸"+e.text.slice(1),r.pop())}}}r.push(n),i=n}return r},St=function(e,t,n){return ft(Et(e,t,n))},Tt=function(e,t){if(!e)return new _t.MathNode("mrow");if(We[e.type])return We[e.type](e,t);throw new r("Got group of unknown type: '"+e.type+"'")};function Ct(e,t,n,r,i){const a=Et(e,n);let o;o=1===a.length&&a[0]instanceof gt&&l.contains(["mrow","mtable"],a[0].type)?a[0]:new _t.MathNode("mrow",a);const s=new _t.MathNode("annotation",[new _t.TextNode(t)]);s.setAttribute("encoding","application/x-tex");const c=new _t.MathNode("semantics",[o,s]),u=new _t.MathNode("math",[c]);u.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),r&&u.setAttribute("display","block");const d=i?"katex":"katex-mathml";return Ue.makeSpan([d],[u])}const xt=function(e){return new P({style:e.displayMode?v.DISPLAY:v.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},kt=function(e,t){if(t.displayMode){const n=["katex-display"];t.leqno&&n.push("leqno"),t.fleqn&&n.push("fleqn"),e=Ue.makeSpan(n,[e])}return e},At={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌", +// Not a perfect match. +xleftequilibrium:"⇋", +// None better available. +"\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},wt={ +// path(s), minWidth, height, align +overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"], +// CD minwwidth2.5pc +xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528], +// The next three arrows are from the mhchem package. +// In mhchem.sty, min-length is 2.0em. But these arrows might appear in the +// document as \xrightarrow or \xrightleftharpoons. Those have +// min-length = 1.75em, so we set min-length on these next three to match. +xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]};var Nt=function(e,t,n,r,i){let a;const o=e.height+e.depth+n+r;if(/fbox|color|angl/.test(t)){if(a=Ue.makeSpan(["stretchy",t],[],i),"fbox"===t){const e=i.color&&i.getColor();e&&(a.style.borderColor=e)}}else{const e=[];/^[bx]cancel$/.test(t)&&e.push(new ee({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&e.push(new ee({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));const n=new Z(e,{width:"100%",height:G(o)});a=Ue.makeSvgSpan([],[n],i)}return a.height=o,a.style.height=G(o),a},Ot=function(e){const t=new _t.MathNode("mo",[new _t.TextNode(At[e.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},Rt=function(e,t){const{span:n,minWidth:r,height:i}=function(){let n=4e5;const r=e.label.slice(1);if(l.contains(["widehat","widecheck","widetilde","utilde"],r)){const a="ordgroup"===(i=e.base).type?i.body.length:1;let o,s,l;if(a>5)"widehat"===r||"widecheck"===r?(o=420,n=2364,l=.42,s=r+"4"):(o=312,n=2340,l=.34,s="tilde4");else{const e=[1,1,2,2,3,3][a];"widehat"===r||"widecheck"===r?(n=[0,1062,2364,2364,2364][e],o=[0,239,300,360,420][e],l=[0,.24,.3,.3,.36,.42][e],s=r+e):(n=[0,600,1033,2339,2340][e],o=[0,260,286,306,312][e],l=[0,.26,.286,.3,.306,.34][e],s="tilde"+e)}const c=new J(s),u=new Z([c],{width:"100%",height:G(l),viewBox:"0 0 "+n+" "+o,preserveAspectRatio:"none"});return{span:Ue.makeSvgSpan([],[u],t),minWidth:0,height:l}}{const e=[],i=wt[r],[a,o,s]=i,l=s/1e3,c=a.length;let u,d;if(1===c)u=["hide-tail"],d=[i[3]];else if(2===c)u=["halfarrow-left","halfarrow-right"],d=["xMinYMin","xMaxYMin"];else{if(3!==c)throw new Error("Correct katexImagesData or update code here to support\n "+c+" children.");u=["brace-left","brace-center","brace-right"],d=["xMinYMin","xMidYMin","xMaxYMin"]}for(let r=0;r<c;r++){const i=new J(a[r]),h=new Z([i],{width:"400em",height:G(l),viewBox:"0 0 "+n+" "+s,preserveAspectRatio:d[r]+" slice"}),p=Ue.makeSvgSpan([u[r]],[h],t);if(1===c)return{span:p,minWidth:o,height:l};p.style.height=G(l),e.push(p)}return{span:Ue.makeSpan(["stretchy"],e,t),minWidth:o,height:l}}var i}();return n.height=i,n.style.height=G(i),r>0&&(n.style.minWidth=G(r)),n};function It(e,t){if(!e||e.type!==t)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}function Dt(e){const t=Mt(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function Mt(e){return e&&("atom"===e.type||re.hasOwnProperty(e.type))?e:null}const Lt=(e,t)=>{let n,r,i;e&&"supsub"===e.type?(r=It(e.base,"accent"),n=r.base,e.base=n,i=function(e){if(e instanceof V)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}(ut(e,t)),e.base=r):(r=It(e,"accent"),n=r.base);const a=ut(n,t.havingCrampedStyle());let o=0;if(r.isShifty&&l.isCharacterBox(n)){const e=l.getBaseElem(n);o=te(ut(e,t.havingCrampedStyle())).skew}const s="\\c"===r.label;let c,u=s?a.height+a.depth:Math.min(a.height,t.fontMetrics().xHeight);if(r.isStretchy)c=Rt(r,t),c=Ue.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"elem",elem:c,wrapperClasses:["svg-align"],wrapperStyle:o>0?{width:"calc(100% - "+G(2*o)+")",marginLeft:G(2*o)}:void 0}]},t);else{let e,n;"\\vec"===r.label?(e=Ue.staticSvg("vec",t),n=Ue.svgData.vec[1]):(e=Ue.makeOrd({mode:r.mode,text:r.label},t,"textord"),e=te(e),e.italic=0,n=e.width,s&&(u+=e.depth)),c=Ue.makeSpan(["accent-body"],[e]);const i="\\textcircled"===r.label;i&&(c.classes.push("accent-full"),u=a.height);let l=o;i||(l-=n/2),c.style.left=G(l),"\\textcircled"===r.label&&(c.style.top=".2em"),c=Ue.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:-u},{type:"elem",elem:c}]},t)}const d=Ue.makeSpan(["mord","accent"],[c],t);return i?(i.children[0]=d,i.height=Math.max(d.height,i.height),i.classes[0]="mord",i):d},Pt=(e,t)=>{const n=e.isStretchy?Ot(e.label):new _t.MathNode("mo",[bt(e.label,e.mode)]),r=new _t.MathNode("mover",[Tt(e.base,t),n]);return r.setAttribute("accent","true"),r},jt=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map((e=>"\\"+e)).join("|"));Qe({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(e,t)=>{const n=Xe(t[0]),r=!jt.test(e.funcName),i=!r||"\\widehat"===e.funcName||"\\widetilde"===e.funcName||"\\widecheck"===e.funcName;return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:r,isShifty:i,base:n}},htmlBuilder:Lt,mathmlBuilder:Pt}),Qe({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0, +// unless in strict mode +argTypes:["primitive"]},handler:(e,t)=>{const n=t[0];let r=e.parser.mode;return"math"===r&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),r="text"),{type:"accent",mode:r,label:e.funcName,isStretchy:!1,isShifty:!0,base:n}},htmlBuilder:Lt,mathmlBuilder:Pt}),Qe({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{let{parser:n,funcName:r}=e;const i=t[0];return{type:"accentUnder",mode:n.mode,label:r,base:i}},htmlBuilder:(e,t)=>{const n=ut(e.base,t),r=Rt(e,t),i="\\utilde"===e.label?.12:0,a=Ue.makeVList({positionType:"top",positionData:n.height,children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:i},{type:"elem",elem:n}]},t);return Ue.makeSpan(["mord","accentunder"],[a],t)},mathmlBuilder:(e,t)=>{const n=Ot(e.label),r=new _t.MathNode("munder",[Tt(e.base,t),n]);return r.setAttribute("accentunder","true"),r}});const Ft=e=>{const t=new _t.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};Qe({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom", +// The next 3 functions are here to support the mhchem extension. +// Direct use of these functions is discouraged and may break someday. +"\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium", +// The next 3 functions are here only to support the {CD} environment. +"\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){let{parser:r,funcName:i}=e;return{type:"xArrow",mode:r.mode,label:i,body:t[0],below:n[0]}}, +// Flow is unable to correctly infer the type of `group`, even though it's +// unambiguously determined from the passed-in `type` above. +htmlBuilder(e,t){const n=t.style;let r=t.havingStyle(n.sup());const i=Ue.wrapFragment(ut(e.body,r,t),t),a="\\x"===e.label.slice(0,2)?"x":"cd";let o;i.classes.push(a+"-arrow-pad"),e.below&&(r=t.havingStyle(n.sub()),o=Ue.wrapFragment(ut(e.below,r,t),t),o.classes.push(a+"-arrow-pad"));const s=Rt(e,t),l=-t.fontMetrics().axisHeight+.5*s.height;let c,u=-t.fontMetrics().axisHeight-.5*s.height-.111;if((i.depth>.25||"\\xleftequilibrium"===e.label)&&(u-=i.depth),o){const e=-t.fontMetrics().axisHeight+o.height+.5*s.height+.111;c=Ue.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:u},{type:"elem",elem:s,shift:l},{type:"elem",elem:o,shift:e}]},t)}else c=Ue.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:u},{type:"elem",elem:s,shift:l}]},t);return c.children[0].children[0].children[1].classes.push("svg-align"),Ue.makeSpan(["mrel","x-arrow"],[c],t)},mathmlBuilder(e,t){const n=Ot(e.label);let r;if(n.setAttribute("minsize","x"===e.label.charAt(0)?"1.75em":"3.0em"),e.body){const i=Ft(Tt(e.body,t));if(e.below){const a=Ft(Tt(e.below,t));r=new _t.MathNode("munderover",[n,a,i])}else r=new _t.MathNode("mover",[n,i])}else if(e.below){const i=Ft(Tt(e.below,t));r=new _t.MathNode("munder",[n,i])}else r=Ft(),r=new _t.MathNode("mover",[n,r]);return r}});const Bt=Ue.makeSpan;function Ut(e,t){const n=it(e.body,t,!0);return Bt([e.mclass],n,t)}function Gt(e,t){let n;const r=Et(e.body,t);return"minner"===e.mclass?n=new _t.MathNode("mpadded",r):"mord"===e.mclass?e.isCharacterBox?(n=r[0],n.type="mi"):n=new _t.MathNode("mi",r):(e.isCharacterBox?(n=r[0],n.type="mo"):n=new _t.MathNode("mo",r),"mbin"===e.mclass?(n.attributes.lspace="0.22em",n.attributes.rspace="0.22em"):"mpunct"===e.mclass?(n.attributes.lspace="0em",n.attributes.rspace="0.17em"):"mopen"===e.mclass||"mclose"===e.mclass?(n.attributes.lspace="0em",n.attributes.rspace="0em"):"minner"===e.mclass&&(n.attributes.lspace="0.0556em",n.attributes.width="+0.1111em")),n}Qe({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){let{parser:n,funcName:r}=e;const i=t[0];return{type:"mclass",mode:n.mode,mclass:"m"+r.slice(5), +// TODO(kevinb): don't prefix with 'm' +body:Ze(i),isCharacterBox:l.isCharacterBox(i)}},htmlBuilder:Ut,mathmlBuilder:Gt});const zt=e=>{const t="ordgroup"===e.type&&e.body.length?e.body[0]:e;return"atom"!==t.type||"bin"!==t.family&&"rel"!==t.family?"mord":"m"+t.family};Qe({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){let{parser:n}=e;return{type:"mclass",mode:n.mode,mclass:zt(t[0]),body:Ze(t[1]),isCharacterBox:l.isCharacterBox(t[1])}}}),Qe({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){let{parser:n,funcName:r}=e;const i=t[1],a=t[0];let o;o="\\stackrel"!==r?zt(i):"mrel";const s={type:"op",mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:"\\stackrel"!==r,body:Ze(i)},c={type:"supsub",mode:a.mode,base:s,sup:"\\underset"===r?null:a,sub:"\\underset"===r?a:null};return{type:"mclass",mode:n.mode,mclass:o,body:[c],isCharacterBox:l.isCharacterBox(c)}},htmlBuilder:Ut,mathmlBuilder:Gt}),Qe({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){let{parser:n}=e;return{type:"pmb",mode:n.mode,mclass:zt(t[0]),body:Ze(t[0])}},htmlBuilder(e,t){const n=it(e.body,t,!0),r=Ue.makeSpan([e.mclass],n,t);return r.style.textShadow="0.02em 0.01em 0.04px",r},mathmlBuilder(e,t){const n=Et(e.body,t),r=new _t.MathNode("mstyle",n);return r.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),r}});const $t={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},Yt=e=>"textord"===e.type&&"@"===e.text;function qt(e,t,n){const r=$t[e];switch(r){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return n.callFunction(r,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":{const e={type:"atom",text:r,mode:"math",family:"rel"},i={type:"ordgroup",mode:"math",body:[n.callFunction("\\\\cdleft",[t[0]],[]),n.callFunction("\\Big",[e],[]),n.callFunction("\\\\cdright",[t[1]],[])]};return n.callFunction("\\\\cdparent",[i],[])}case"\\\\cdlongequal":return n.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{const e={type:"textord",text:"\\Vert",mode:"math"};return n.callFunction("\\Big",[e],[])}default:return{type:"textord",text:" ",mode:"math"}}}Qe({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){let{parser:n,funcName:r}=e;return{type:"cdlabel",mode:n.mode,side:r.slice(4),label:t[0]}},htmlBuilder(e,t){const n=t.havingStyle(t.style.sup()),r=Ue.wrapFragment(ut(e.label,n,t),t);return r.classes.push("cd-label-"+e.side),r.style.bottom=G(.8-r.depth),r.height=0,r.depth=0,r},mathmlBuilder(e,t){let n=new _t.MathNode("mrow",[Tt(e.label,t)]);return n=new _t.MathNode("mpadded",[n]),n.setAttribute("width","0"),"left"===e.side&&n.setAttribute("lspace","-1width"),n.setAttribute("voffset","0.7em"),n=new _t.MathNode("mstyle",[n]),n.setAttribute("displaystyle","false"),n.setAttribute("scriptlevel","1"),n}}),Qe({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,t){let{parser:n}=e;return{type:"cdlabelparent",mode:n.mode,fragment:t[0]}},htmlBuilder(e,t){const n=Ue.wrapFragment(ut(e.fragment,t),t);return n.classes.push("cd-vert-arrow"),n},mathmlBuilder:(e,t)=>new _t.MathNode("mrow",[Tt(e.fragment,t)])}),Qe({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){let{parser:n}=e;const i=It(t[0],"ordgroup").body;let a="";for(let r=0;r<i.length;r++)a+=It(i[r],"textord").text;let o,s=parseInt(a);if(isNaN(s))throw new r("\\@char has non-numeric argument "+a);if(s<0||s>=1114111)throw new r("\\@char with invalid code point "+a);return s<=65535?o=String.fromCharCode(s):(s-=65536,o=String.fromCharCode(55296+(s>>10),56320+(1023&s))),{type:"textord",mode:n.mode,text:o}}});const Ht=(e,t)=>{const n=it(e.body,t.withColor(e.color),!1);return Ue.makeFragment(n)},Vt=(e,t)=>{const n=Et(e.body,t.withColor(e.color)),r=new _t.MathNode("mstyle",n);return r.setAttribute("mathcolor",e.color),r};Qe({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){let{parser:n}=e;const r=It(t[0],"color-token").color,i=t[1];return{type:"color",mode:n.mode,color:r,body:Ze(i)}},htmlBuilder:Ht,mathmlBuilder:Vt}),Qe({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){let{parser:n,breakOnTokenText:r}=e;const i=It(t[0],"color-token").color;n.gullet.macros.set("\\current@color",i);const a=n.parseExpression(!0,r);return{type:"color",mode:n.mode,color:i,body:a}},htmlBuilder:Ht,mathmlBuilder:Vt}),Qe({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,n){let{parser:r}=e;const i="["===r.gullet.future().text?r.parseSizeGroup(!0):null,a=!r.settings.displayMode||!r.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:r.mode,newLine:a,size:i&&It(i,"size").value}}, +// The following builders are called only at the top level, +// not within tabular/array environments. +htmlBuilder(e,t){const n=Ue.makeSpan(["mspace"],[],t);return e.newLine&&(n.classes.push("newline"),e.size&&(n.style.marginTop=G(U(e.size,t)))),n},mathmlBuilder(e,t){const n=new _t.MathNode("mspace");return e.newLine&&(n.setAttribute("linebreak","newline"),e.size&&n.setAttribute("height",G(U(e.size,t)))),n}});const Wt={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},Qt=e=>{const t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new r("Expected a control sequence",e);return t},Kt=(e,t,n,r)=>{let i=e.gullet.macros.get(n.text);null==i&&(n.noexpand=!0,i={tokens:[n],numArgs:0, +// reproduce the same behavior in expansion +unexpandable:!e.gullet.isExpandable(n.text)}),e.gullet.macros.set(t,i,r)};Qe({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){let{parser:t,funcName:n}=e;t.consumeSpaces();const i=t.fetch();if(Wt[i.text])return"\\global"!==n&&"\\\\globallong"!==n||(i.text=Wt[i.text]),It(t.parseFunction(),"internal");throw new r("Invalid token after macro prefix",i)}}),Qe({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){let{parser:t,funcName:n}=e,i=t.gullet.popToken();const a=i.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(a))throw new r("Expected a control sequence",i);let o,s=0;const l=[[]];for(;"{"!==t.gullet.future().text;)if(i=t.gullet.popToken(),"#"===i.text){if("{"===t.gullet.future().text){o=t.gullet.future(),l[s].push("{");break}if(i=t.gullet.popToken(),!/^[1-9]$/.test(i.text))throw new r('Invalid argument number "'+i.text+'"');if(parseInt(i.text)!==s+1)throw new r('Argument number "'+i.text+'" out of order');s++,l.push([])}else{if("EOF"===i.text)throw new r("Expected a macro definition");l[s].push(i.text)}let{tokens:c}=t.gullet.consumeArg();return o&&c.unshift(o),"\\edef"!==n&&"\\xdef"!==n||(c=t.gullet.expandTokens(c),c.reverse()),t.gullet.macros.set(a,{tokens:c,numArgs:s,delimiters:l},n===Wt[n]),{type:"internal",mode:t.mode}}}),Qe({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){let{parser:t,funcName:n}=e;const r=Qt(t.gullet.popToken());t.gullet.consumeSpaces();const i=(e=>{let t=e.gullet.popToken();return"="===t.text&&(t=e.gullet.popToken()," "===t.text&&(t=e.gullet.popToken())),t})(t);return Kt(t,r,i,"\\\\globallet"===n),{type:"internal",mode:t.mode}}}),Qe({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){let{parser:t,funcName:n}=e;const r=Qt(t.gullet.popToken()),i=t.gullet.popToken(),a=t.gullet.popToken();return Kt(t,r,a,"\\\\globalfuture"===n),t.gullet.pushToken(a),t.gullet.pushToken(i),{type:"internal",mode:t.mode}}});const Xt=function(e,t,n){const r=O(ae.math[e]&&ae.math[e].replace||e,t,n);if(!r)throw new Error("Unsupported symbol "+e+" and font size "+t+".");return r},Zt=function(e,t,n,r){const i=n.havingBaseStyle(t),a=Ue.makeSpan(r.concat(i.sizingClasses(n)),[e],n),o=i.sizeMultiplier/n.sizeMultiplier;return a.height*=o,a.depth*=o,a.maxFontSize=i.sizeMultiplier,a},Jt=function(e,t,n){const r=t.havingBaseStyle(n),i=(1-t.sizeMultiplier/r.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=G(i),e.height-=i,e.depth+=i},en=function(e,t,n,r,i,a){const o=function(e,t,n,r){return Ue.makeSymbol(e,"Size"+t+"-Regular",n,r)}(e,t,i,r),s=Zt(Ue.makeSpan(["delimsizing","size"+t],[o],r),v.TEXT,r,a);return n&&Jt(s,r,v.TEXT),s},tn=function(e,t,n){let r;return r="Size1-Regular"===t?"delim-size1":"delim-size4",{type:"elem",elem:Ue.makeSpan(["delimsizinginner",r],[Ue.makeSpan([],[Ue.makeSymbol(e,t,n)])])}},nn=function(e,t,n){const r=A["Size4-Regular"][e.charCodeAt(0)]?A["Size4-Regular"][e.charCodeAt(0)][4]:A["Size1-Regular"][e.charCodeAt(0)][4],i=new J("inner",function(e,t){switch(e){case"⎜":return"M291 0 H417 V"+t+" H291z M291 0 H417 V"+t+" H291z";case"∣":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z";case"∥":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145zM367 0 H410 V"+t+" H367z M367 0 H410 V"+t+" H367z";case"⎟":return"M457 0 H583 V"+t+" H457z M457 0 H583 V"+t+" H457z";case"⎢":return"M319 0 H403 V"+t+" H319z M319 0 H403 V"+t+" H319z";case"⎥":return"M263 0 H347 V"+t+" H263z M263 0 H347 V"+t+" H263z";case"⎪":return"M384 0 H504 V"+t+" H384z M384 0 H504 V"+t+" H384z";case"⏐":return"M312 0 H355 V"+t+" H312z M312 0 H355 V"+t+" H312z";case"‖":return"M257 0 H300 V"+t+" H257z M257 0 H300 V"+t+" H257zM478 0 H521 V"+t+" H478z M478 0 H521 V"+t+" H478z";default:return""}}(e,Math.round(1e3*t))),a=new Z([i],{width:G(r),height:G(t), +// Override CSS rule `.katex svg { width: 100% }` +style:"width:"+G(r),viewBox:"0 0 "+1e3*r+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),o=Ue.makeSvgSpan([],[a],n);return o.height=t,o.style.height=G(t),o.style.width=G(r),{type:"elem",elem:o}},rn={type:"kern",size:-.008},an=["|","\\lvert","\\rvert","\\vert"],on=["\\|","\\lVert","\\rVert","\\Vert"],sn=function(e,t,n,r,i,a){let o,s,c,u,d="",h=0;o=c=u=e,s=null;let p="Size1-Regular";"\\uparrow"===e?c=u="⏐":"\\Uparrow"===e?c=u="‖":"\\downarrow"===e?o=c="⏐":"\\Downarrow"===e?o=c="‖":"\\updownarrow"===e?(o="\\uparrow",c="⏐",u="\\downarrow"):"\\Updownarrow"===e?(o="\\Uparrow",c="‖",u="\\Downarrow"):l.contains(an,e)?(c="∣",d="vert",h=333):l.contains(on,e)?(c="∥",d="doublevert",h=556):"["===e||"\\lbrack"===e?(o="⎡",c="⎢",u="⎣",p="Size4-Regular",d="lbrack",h=667):"]"===e||"\\rbrack"===e?(o="⎤",c="⎥",u="⎦",p="Size4-Regular",d="rbrack",h=667):"\\lfloor"===e||"⌊"===e?(c=o="⎢",u="⎣",p="Size4-Regular",d="lfloor",h=667):"\\lceil"===e||"⌈"===e?(o="⎡",c=u="⎢",p="Size4-Regular",d="lceil",h=667):"\\rfloor"===e||"⌋"===e?(c=o="⎥",u="⎦",p="Size4-Regular",d="rfloor",h=667):"\\rceil"===e||"⌉"===e?(o="⎤",c=u="⎥",p="Size4-Regular",d="rceil",h=667):"("===e||"\\lparen"===e?(o="⎛",c="⎜",u="⎝",p="Size4-Regular",d="lparen",h=875):")"===e||"\\rparen"===e?(o="⎞",c="⎟",u="⎠",p="Size4-Regular",d="rparen",h=875):"\\{"===e||"\\lbrace"===e?(o="⎧",s="⎨",u="⎩",c="⎪",p="Size4-Regular"):"\\}"===e||"\\rbrace"===e?(o="⎫",s="⎬",u="⎭",c="⎪",p="Size4-Regular"):"\\lgroup"===e||"⟮"===e?(o="⎧",u="⎩",c="⎪",p="Size4-Regular"):"\\rgroup"===e||"⟯"===e?(o="⎫",u="⎭",c="⎪",p="Size4-Regular"):"\\lmoustache"===e||"⎰"===e?(o="⎧",u="⎭",c="⎪",p="Size4-Regular"):"\\rmoustache"!==e&&"⎱"!==e||(o="⎫",u="⎩",c="⎪",p="Size4-Regular");const g=Xt(o,p,i),m=g.height+g.depth,_=Xt(c,p,i),b=_.height+_.depth,f=Xt(u,p,i),y=f.height+f.depth;let E=0,S=1;if(null!==s){const e=Xt(s,p,i);E=e.height+e.depth,S=2}const T=m+y+E,C=T+Math.max(0,Math.ceil((t-T)/(S*b)))*S*b;let x=r.fontMetrics().axisHeight;n&&(x*=r.sizeMultiplier);const k=C/2-x,A=[];if(d.length>0){const e=C-m-y,t=Math.round(1e3*C),n=function(e,t){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v1759 h347 v-84\nH403z M403 1759 V0 H319 V1759 v"+t+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v1759 H0 v84 H347z\nM347 1759 V0 H263 V1759 v"+t+" v1759 h84z";case"vert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z";case"doublevert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z\nM367 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M410 15 H367 v585 v"+t+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+t+" v1715 h263 v84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+t+" v1799 H0 v-84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v602 h84z\nM403 1759 V0 H319 V1759 v"+t+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v602 h84z\nM347 1759 V0 h-84 V1759 v"+t+" v602 h84z";case"lparen":return"M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1\nc-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,\n-36,557 l0,"+(t+84)+"c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,\n949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9\nc0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,\n-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189\nl0,-"+(t+92)+"c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,\n-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z";case"rparen":return"M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,\n63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5\nc11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,"+(t+9)+"\nc-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664\nc-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11\nc0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17\nc242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558\nl0,-"+(t+144)+"c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,\n-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z";default:throw new Error("Unknown stretchy delimiter.")}}(d,Math.round(1e3*e)),i=new J(d,n),a=(h/1e3).toFixed(3)+"em",o=(t/1e3).toFixed(3)+"em",s=new Z([i],{width:a,height:o,viewBox:"0 0 "+h+" "+t}),l=Ue.makeSvgSpan([],[s],r);l.height=t/1e3,l.style.width=a,l.style.height=o,A.push({type:"elem",elem:l})}else{if(A.push(tn(u,p,i)),A.push(rn),null===s){const e=C-m-y+.016;A.push(nn(c,e,r))}else{const e=(C-m-y-E)/2+.016;A.push(nn(c,e,r)),A.push(rn),A.push(tn(s,p,i)),A.push(rn),A.push(nn(c,e,r))}A.push(rn),A.push(tn(o,p,i))}const w=r.havingBaseStyle(v.TEXT),N=Ue.makeVList({positionType:"bottom",positionData:k,children:A},w);return Zt(Ue.makeSpan(["delimsizing","mult"],[N],w),v.TEXT,r,a)},ln=.08,cn=function(e,t,n,r,i){const a=function(e,t,n){t*=1e3;let r="";switch(e){case"sqrtMain":r=function(e,t){return"M95,"+(622+e+t)+"\nc-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14\nc0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54\nc44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10\ns173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429\nc69,-144,104.5,-217.7,106.5,-221\nl"+e/2.075+" -"+e+"\nc5.3,-9.3,12,-14,20,-14\nH400000v"+(40+e)+"H845.2724\ns-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7\nc-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z\nM"+(834+e)+" "+t+"h400000v"+(40+e)+"h-400000z"}(t,C);break;case"sqrtSize1":r=function(e,t){return"M263,"+(601+e+t)+"c0.7,0,18,39.7,52,119\nc34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120\nc340,-704.7,510.7,-1060.3,512,-1067\nl"+e/2.084+" -"+e+"\nc4.7,-7.3,11,-11,19,-11\nH40000v"+(40+e)+"H1012.3\ns-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232\nc-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1\ns-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26\nc-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z\nM"+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"}(t,C);break;case"sqrtSize2":r=function(e,t){return"M983 "+(10+e+t)+"\nl"+e/3.13+" -"+e+"\nc4,-6.7,10,-10,18,-10 H400000v"+(40+e)+"\nH1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7\ns-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744\nc-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30\nc26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722\nc56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5\nc53.7,-170.3,84.5,-266.8,92.5,-289.5z\nM"+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"}(t,C);break;case"sqrtSize3":r=function(e,t){return"M424,"+(2398+e+t)+"\nc-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514\nc0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20\ns-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121\ns209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081\nl"+e/4.223+" -"+e+"c4,-6.7,10,-10,18,-10 H400000\nv"+(40+e)+"H1014.6\ns-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185\nc-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2z M"+(1001+e)+" "+t+"\nh400000v"+(40+e)+"h-400000z"}(t,C);break;case"sqrtSize4":r=function(e,t){return"M473,"+(2713+e+t)+"\nc339.3,-1799.3,509.3,-2700,510,-2702 l"+e/5.298+" -"+e+"\nc3.3,-7.3,9.3,-11,18,-11 H400000v"+(40+e)+"H1017.7\ns-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200\nc0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26\ns76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,\n606zM"+(1001+e)+" "+t+"h400000v"+(40+e)+"H1017.7z"}(t,C);break;case"sqrtTall":r=function(e,t,n){return"M702 "+(e+t)+"H400000"+(40+e)+"\nH742v"+(n-54-t-e)+"l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1\nh-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170\nc-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667\n219 661 l218 661zM702 "+t+"H400000v"+(40+e)+"H742z"}(t,C,n)}return r}(e,r,n),o=new J(e,a),s=new Z([o],{ +// Note: 1000:1 ratio of viewBox to document em width. +width:"400em",height:G(t),viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return Ue.makeSvgSpan(["hide-tail"],[s],i)},un=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],dn=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],hn=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],pn=[0,1.2,1.8,2.4,3],gn=[{type:"small",style:v.SCRIPTSCRIPT},{type:"small",style:v.SCRIPT},{type:"small",style:v.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],mn=[{type:"small",style:v.SCRIPTSCRIPT},{type:"small",style:v.SCRIPT},{type:"small",style:v.TEXT},{type:"stack"}],_n=[{type:"small",style:v.SCRIPTSCRIPT},{type:"small",style:v.SCRIPT},{type:"small",style:v.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],bn=function(e){if("small"===e.type)return"Main-Regular";if("large"===e.type)return"Size"+e.size+"-Regular";if("stack"===e.type)return"Size4-Regular";throw new Error("Add support for delim type '"+e.type+"' here.")},fn=function(e,t,n,r){for(let i=Math.min(2,3-r.style.size);i<n.length&&"stack"!==n[i].type;i++){const a=Xt(e,bn(n[i]),"math");let o=a.height+a.depth;if("small"===n[i].type&&(o*=r.havingBaseStyle(n[i].style).sizeMultiplier),o>t)return n[i]}return n[n.length-1]},yn=function(e,t,n,r,i,a){let o;"<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),o=l.contains(hn,e)?gn:l.contains(un,e)?_n:mn;const s=fn(e,t,o,r);return"small"===s.type?function(e,t,n,r,i,a){const o=Ue.makeSymbol(e,"Main-Regular",i,r),s=Zt(o,t,r,a);return n&&Jt(s,r,t),s}(e,s.style,n,r,i,a):"large"===s.type?en(e,s.size,n,r,i,a):sn(e,t,n,r,i,a)};var vn={sqrtImage:function(e,t){const n=t.havingBaseSizing(),r=fn("\\surd",e*n.sizeMultiplier,_n,n);let i=n.sizeMultiplier;const a=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness);let o,s,l=0,c=0,u=0;return"small"===r.type?(u=1e3+1e3*a+80,e<1?i=1:e<1.4&&(i=.7),l=(1+a+ln)/i,c=(1+a)/i,o=cn("sqrtMain",l,u,a,t),o.style.minWidth="0.853em",s=.833/i):"large"===r.type?(u=1080*pn[r.size],c=(pn[r.size]+a)/i,l=(pn[r.size]+a+ln)/i,o=cn("sqrtSize"+r.size,l,u,a,t),o.style.minWidth="1.02em",s=1/i):(l=e+a+ln,c=e+a,u=Math.floor(1e3*e+a)+80,o=cn("sqrtTall",l,u,a,t),o.style.minWidth="0.742em",s=1.056),o.height=c,o.style.height=G(l),{span:o,advanceWidth:s, +// Calculate the actual line width. +// This actually should depend on the chosen font -- e.g. \boldmath +// should use the thicker surd symbols from e.g. KaTeX_Main-Bold, and +// have thicker rules. +ruleWidth:(t.fontMetrics().sqrtRuleThickness+a)*i}},sizedDelim:function(e,t,n,i,a){if("<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),l.contains(un,e)||l.contains(hn,e))return en(e,t,!1,n,i,a);if(l.contains(dn,e))return sn(e,pn[t],!1,n,i,a);throw new r("Illegal delimiter: '"+e+"'")},sizeToMaxHeight:pn,customSizedDelim:yn,leftRightDelim:function(e,t,n,r,i,a){const o=r.fontMetrics().axisHeight*r.sizeMultiplier,s=5/r.fontMetrics().ptPerEm,l=Math.max(t-o,n+o),c=Math.max( +// In real TeX, calculations are done using integral values which are +// 65536 per pt, or 655360 per em. So, the division here truncates in +// TeX but doesn't here, producing different results. If we wanted to +// exactly match TeX's calculation, we could do +// Math.floor(655360 * maxDistFromAxis / 500) * +// delimiterFactor / 655360 +// (To see the difference, compare +// x^{x^{\left(\rule{0.1em}{0.68em}\right)}} +// in TeX and KaTeX) +l/500*901,2*l-s);return yn(e,c,!0,r,i,a)}};const En={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},Sn=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function Tn(e,t){const n=Mt(e);if(n&&l.contains(Sn,n.text))return n;throw new r(n?"Invalid delimiter '"+n.text+"' after '"+t.funcName+"'":"Invalid delimiter type '"+e.type+"'",e)}function Cn(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Qe({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(e,t)=>{const n=Tn(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:En[e.funcName].size,mclass:En[e.funcName].mclass,delim:n.text}},htmlBuilder:(e,t)=>"."===e.delim?Ue.makeSpan([e.mclass]):vn.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{const t=[];"."!==e.delim&&t.push(bt(e.delim,e.mode));const n=new _t.MathNode("mo",t);"mopen"===e.mclass||"mclose"===e.mclass?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n.setAttribute("stretchy","true");const r=G(vn.sizeToMaxHeight[e.size]);return n.setAttribute("minsize",r),n.setAttribute("maxsize",r),n}}),Qe({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{const n=e.parser.gullet.macros.get("\\current@color");if(n&&"string"!=typeof n)throw new r("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:Tn(t[0],e).text,color:n}}}),Qe({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{const n=Tn(t[0],e),r=e.parser;++r.leftrightDepth;const i=r.parseExpression(!1);--r.leftrightDepth,r.expect("\\right",!1);const a=It(r.parseFunction(),"leftright-right");return{type:"leftright",mode:r.mode,body:i,left:n.text,right:a.delim,rightColor:a.color}},htmlBuilder:(e,t)=>{Cn(e);const n=it(e.body,t,!0,["mopen","mclose"]);let r,i,a=0,o=0,s=!1;for(let l=0;l<n.length;l++)n[l].isMiddle?s=!0:(a=Math.max(n[l].height,a),o=Math.max(n[l].depth,o));if(a*=t.sizeMultiplier,o*=t.sizeMultiplier,r="."===e.left?ct(t,["mopen"]):vn.leftRightDelim(e.left,a,o,t,e.mode,["mopen"]),n.unshift(r),s)for(let l=1;l<n.length;l++){const t=n[l].isMiddle;t&&(n[l]=vn.leftRightDelim(t.delim,a,o,t.options,e.mode,[]))}if("."===e.right)i=ct(t,["mclose"]);else{const n=e.rightColor?t.withColor(e.rightColor):t;i=vn.leftRightDelim(e.right,a,o,n,e.mode,["mclose"])}return n.push(i),Ue.makeSpan(["minner"],n,t)},mathmlBuilder:(e,t)=>{Cn(e);const n=Et(e.body,t);if("."!==e.left){const t=new _t.MathNode("mo",[bt(e.left,e.mode)]);t.setAttribute("fence","true"),n.unshift(t)}if("."!==e.right){const t=new _t.MathNode("mo",[bt(e.right,e.mode)]);t.setAttribute("fence","true"),e.rightColor&&t.setAttribute("mathcolor",e.rightColor),n.push(t)}return ft(n)}}),Qe({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{const n=Tn(t[0],e);if(!e.parser.leftrightDepth)throw new r("\\middle without preceding \\left",n);return{type:"middle",mode:e.parser.mode,delim:n.text}},htmlBuilder:(e,t)=>{let n;if("."===e.delim)n=ct(t,[]);else{n=vn.sizedDelim(e.delim,1,t,e.mode,[]);const r={delim:e.delim,options:t};n.isMiddle=r}return n},mathmlBuilder:(e,t)=>{const n="\\vert"===e.delim||"|"===e.delim?bt("|","text"):bt(e.delim,e.mode),r=new _t.MathNode("mo",[n]);return r.setAttribute("fence","true"),r.setAttribute("lspace","0.05em"),r.setAttribute("rspace","0.05em"),r}});const xn=(e,t)=>{const n=Ue.wrapFragment(ut(e.body,t),t),r=e.label.slice(1);let i,a=t.sizeMultiplier,o=0;const s=l.isCharacterBox(e.body);if("sout"===r)i=Ue.makeSpan(["stretchy","sout"]),i.height=t.fontMetrics().defaultRuleThickness/a,o=-.5*t.fontMetrics().xHeight;else if("phase"===r){const e=U({number:.6,unit:"pt"},t),r=U({number:.35,unit:"ex"},t);a/=t.havingBaseSizing().sizeMultiplier;const s=n.height+n.depth+e+r;n.style.paddingLeft=G(s/2+e);const l=Math.floor(1e3*s*a),u="M400000 "+(c=l)+" H0 L"+c/2+" 0 l65 45 L145 "+(c-80)+" H400000z",d=new Z([new J("phase",u)],{width:"400em",height:G(l/1e3),viewBox:"0 0 400000 "+l,preserveAspectRatio:"xMinYMin slice"});i=Ue.makeSvgSpan(["hide-tail"],[d],t),i.style.height=G(s),o=n.depth+e+r}else{/cancel/.test(r)?s||n.classes.push("cancel-pad"):"angl"===r?n.classes.push("anglpad"):n.classes.push("boxpad");let a=0,l=0,c=0;/box/.test(r)?(c=Math.max(t.fontMetrics().fboxrule, +// default +t.minRuleThickness),a=t.fontMetrics().fboxsep+("colorbox"===r?0:c),l=a):"angl"===r?(c=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),a=4*c,l=Math.max(0,.25-n.depth)):(a=s?.2:0,l=a),i=Nt(n,r,a,l,t),/fbox|boxed|fcolorbox/.test(r)?(i.style.borderStyle="solid",i.style.borderWidth=G(c)):"angl"===r&&.049!==c&&(i.style.borderTopWidth=G(c),i.style.borderRightWidth=G(c)),o=n.depth+l,e.backgroundColor&&(i.style.backgroundColor=e.backgroundColor,e.borderColor&&(i.style.borderColor=e.borderColor))}var c;let u;if(e.backgroundColor)u=Ue.makeVList({positionType:"individualShift",children:[ +// Put the color background behind inner; +{type:"elem",elem:i,shift:o},{type:"elem",elem:n,shift:0}]},t);else{const e=/cancel|phase/.test(r)?["svg-align"]:[];u=Ue.makeVList({positionType:"individualShift",children:[ +// Write the \cancel stroke on top of inner. +{type:"elem",elem:n,shift:0},{type:"elem",elem:i,shift:o,wrapperClasses:e}]},t)}return/cancel/.test(r)&&(u.height=n.height,u.depth=n.depth),/cancel/.test(r)&&!s?Ue.makeSpan(["mord","cancel-lap"],[u],t):Ue.makeSpan(["mord"],[u],t)},kn=(e,t)=>{let n=0;const r=new _t.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Tt(e.body,t)]);switch(e.label){case"\\cancel":r.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":r.setAttribute("notation","downdiagonalstrike");break;case"\\phase":r.setAttribute("notation","phasorangle");break;case"\\sout":r.setAttribute("notation","horizontalstrike");break;case"\\fbox":r.setAttribute("notation","box");break;case"\\angl":r.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(n=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,r.setAttribute("width","+"+2*n+"pt"),r.setAttribute("height","+"+2*n+"pt"),r.setAttribute("lspace",n+"pt"),r.setAttribute("voffset",n+"pt"),"\\fcolorbox"===e.label){const n=Math.max(t.fontMetrics().fboxrule, +// default +t.minRuleThickness);r.setAttribute("style","border: "+n+"em solid "+String(e.borderColor))}break;case"\\xcancel":r.setAttribute("notation","updiagonalstrike downdiagonalstrike")}return e.backgroundColor&&r.setAttribute("mathbackground",e.backgroundColor),r};Qe({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,n){let{parser:r,funcName:i}=e;const a=It(t[0],"color-token").color,o=t[1];return{type:"enclose",mode:r.mode,label:i,backgroundColor:a,body:o}},htmlBuilder:xn,mathmlBuilder:kn}),Qe({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,n){let{parser:r,funcName:i}=e;const a=It(t[0],"color-token").color,o=It(t[1],"color-token").color,s=t[2];return{type:"enclose",mode:r.mode,label:i,backgroundColor:o,borderColor:a,body:s}},htmlBuilder:xn,mathmlBuilder:kn}),Qe({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,t){let{parser:n}=e;return{type:"enclose",mode:n.mode,label:"\\fbox",body:t[0]}}}),Qe({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,t){let{parser:n,funcName:r}=e;const i=t[0];return{type:"enclose",mode:n.mode,label:r,body:i}},htmlBuilder:xn,mathmlBuilder:kn}),Qe({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,t){let{parser:n}=e;return{type:"enclose",mode:n.mode,label:"\\angl",body:t[0]}}});const An={};function wn(e){let{type:t,names:n,props:r,handler:i,htmlBuilder:a,mathmlBuilder:o}=e;const s={type:t,numArgs:r.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:i};for(let l=0;l<n.length;++l)An[n[l]]=s;a&&(Ve[t]=a),o&&(We[t]=o)}const Nn={};function On(e,t){Nn[e]=t}class Rn{ +// The + prefix indicates that these fields aren't writeable +// Lexer holding the input string. +// Start offset, zero-based inclusive. +// End offset, zero-based exclusive. +constructor(e,t,n){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=t,this.end=n} +/** + * Merges two `SourceLocation`s from location providers, given they are + * provided in order of appearance. + * - Returns the first one's location if only the first is provided. + * - Returns a merged range of the first and the last if both are provided + * and their lexers match. + * - Otherwise, returns null. + */static range(e,t){return t?e&&e.loc&&t.loc&&e.loc.lexer===t.loc.lexer?new Rn(e.loc.lexer,e.loc.start,t.loc.end):null:e&&e.loc}}class In{ +// don't expand the token +// used in \noexpand +constructor(e,t){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=e,this.loc=t} +/** + * Given a pair of tokens (this and endToken), compute a `Token` encompassing + * the whole input range enclosed by these two. + */range(e,t){return new In(t,Rn.range(this,e))}}function Dn(e){const t=[];e.consumeSpaces();let n=e.fetch().text;for("\\relax"===n&&(e.consume(),e.consumeSpaces(),n=e.fetch().text);"\\hline"===n||"\\hdashline"===n;)e.consume(),t.push("\\hdashline"===n),e.consumeSpaces(),n=e.fetch().text;return t}const Mn=e=>{if(!e.parser.settings.displayMode)throw new r("{"+e.envName+"} can be used only in display mode.")};function Ln(e){if(-1===e.indexOf("ed"))return-1===e.indexOf("*")}function Pn(e,t,n){let{hskipBeforeAndAfter:i,addJot:a,cols:o,arraystretch:s,colSeparationType:l,autoTag:c,singleRow:u,emptySingleRow:d,maxNumCols:h,leqno:p}=t;if(e.gullet.beginGroup(),u||e.gullet.macros.set("\\cr","\\\\\\relax"),!s){const t=e.gullet.expandMacroAsText("\\arraystretch");if(null==t)s=1;else if(s=parseFloat(t),!s||s<0)throw new r("Invalid \\arraystretch: "+t)}e.gullet.beginGroup();let g=[];const m=[g],_=[],b=[],f=null!=c?[]:void 0;function y(){c&&e.gullet.macros.set("\\@eqnsw","1",!0)}function v(){f&&(e.gullet.macros.get("\\df@tag")?(f.push(e.subparse([new In("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):f.push(Boolean(c)&&"1"===e.gullet.macros.get("\\@eqnsw")))}for(y(),b.push(Dn(e));;){let t=e.parseExpression(!1,u?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),t={type:"ordgroup",mode:e.mode,body:t},n&&(t={type:"styling",mode:e.mode,style:n,body:[t]}),g.push(t);const i=e.fetch().text;if("&"===i){if(h&&g.length===h){if(u||l)throw new r("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else{if("\\end"===i){v(),1===g.length&&"styling"===t.type&&0===t.body[0].body.length&&(m.length>1||!d)&&m.pop(),b.length<m.length+1&&b.push([]);break}if("\\\\"!==i)throw new r("Expected & or \\\\ or \\cr or \\end",e.nextToken);{let t;e.consume()," "!==e.gullet.future().text&&(t=e.parseSizeGroup(!0)),_.push(t?t.value:null),v(),b.push(Dn(e)),g=[],m.push(g),y()}}}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:a,arraystretch:s,body:m,cols:o,rowGaps:_,hskipBeforeAndAfter:i,hLinesBeforeRow:b,colSeparationType:l,tags:f,leqno:p}}function jn(e){return"d"===e.slice(0,1)?"display":"text"}const Fn=function(e,t){let n,i;const a=e.body.length,o=e.hLinesBeforeRow;let s=0,c=new Array(a);const u=[],d=Math.max( +// From LaTeX \showthe\arrayrulewidth. Equals 0.04 em. +t.fontMetrics().arrayRuleWidth,t.minRuleThickness),h=1/t.fontMetrics().ptPerEm;let p=5*h;e.colSeparationType&&"small"===e.colSeparationType&&(p=t.havingStyle(v.SCRIPT).sizeMultiplier/t.sizeMultiplier*.2778);const g="CD"===e.colSeparationType?U({number:3,unit:"ex"},t):12*h,m=3*h,_=e.arraystretch*g,b=.7*_,f=.3*_;let y=0;function E(e){for(let t=0;t<e.length;++t)t>0&&(y+=.25),u.push({pos:y,isDashed:e[t]})}for(E(o[0]),n=0;n<e.body.length;++n){const r=e.body[n];let a=b,l=f;s<r.length&&(s=r.length);const u=new Array(r.length);for(i=0;i<r.length;++i){const e=ut(r[i],t);l<e.depth&&(l=e.depth),a<e.height&&(a=e.height),u[i]=e}const d=e.rowGaps[n];let h=0;d&&(h=U(d,t),h>0&&(h+=f,l<h&&(l=h),h=0)),e.addJot&&(l+=m),u.height=a,u.depth=l,y+=a,u.pos=y,y+=l+h,c[n]=u,E(o[n+1])}const S=y/2+t.fontMetrics().axisHeight,T=e.cols||[],C=[];let x,k;const A=[];if(e.tags&&e.tags.some((e=>e)))for(n=0;n<a;++n){const r=c[n],i=r.pos-S,a=e.tags[n];let o;o=!0===a?Ue.makeSpan(["eqn-num"],[],t):!1===a?Ue.makeSpan([],[],t):Ue.makeSpan([],it(a,t,!0),t),o.depth=r.depth,o.height=r.height,A.push({type:"elem",elem:o,shift:i})}for(i=0,k=0; +// Continue while either there are more columns or more column +// descriptions, so trailing separators don't get lost. +i<s||k<T.length;++i,++k){let o,u=T[k]||{},h=!0;for(;"separator"===u.type;){if(h||(x=Ue.makeSpan(["arraycolsep"],[]),x.style.width=G(t.fontMetrics().doubleRuleSep),C.push(x)),"|"!==u.separator&&":"!==u.separator)throw new r("Invalid separator type: "+u.separator);{const e="|"===u.separator?"solid":"dashed",n=Ue.makeSpan(["vertical-separator"],[],t);n.style.height=G(y),n.style.borderRightWidth=G(d),n.style.borderRightStyle=e,n.style.margin="0 "+G(-d/2);const r=y-S;r&&(n.style.verticalAlign=G(-r)),C.push(n)}k++,u=T[k]||{},h=!1}if(i>=s)continue;(i>0||e.hskipBeforeAndAfter)&&(o=l.deflt(u.pregap,p),0!==o&&(x=Ue.makeSpan(["arraycolsep"],[]),x.style.width=G(o),C.push(x)));let g=[];for(n=0;n<a;++n){const e=c[n],t=e[i];if(!t)continue;const r=e.pos-S;t.depth=e.depth,t.height=e.height,g.push({type:"elem",elem:t,shift:r})}g=Ue.makeVList({positionType:"individualShift",children:g},t),g=Ue.makeSpan(["col-align-"+(u.align||"c")],[g]),C.push(g),(i<s-1||e.hskipBeforeAndAfter)&&(o=l.deflt(u.postgap,p),0!==o&&(x=Ue.makeSpan(["arraycolsep"],[]),x.style.width=G(o),C.push(x)))}if(c=Ue.makeSpan(["mtable"],C),u.length>0){const e=Ue.makeLineSpan("hline",t,d),n=Ue.makeLineSpan("hdashline",t,d),r=[{type:"elem",elem:c,shift:0}];for(;u.length>0;){const t=u.pop(),i=t.pos-S;t.isDashed?r.push({type:"elem",elem:n,shift:i}):r.push({type:"elem",elem:e,shift:i})}c=Ue.makeVList({positionType:"individualShift",children:r},t)}if(0===A.length)return Ue.makeSpan(["mord"],[c],t);{let e=Ue.makeVList({positionType:"individualShift",children:A},t);return e=Ue.makeSpan(["tag"],[e],t),Ue.makeFragment([c,e])}},Bn={c:"center ",l:"left ",r:"right "},Un=function(e,t){const n=[],r=new _t.MathNode("mtd",[],["mtr-glue"]),i=new _t.MathNode("mtd",[],["mml-eqn-num"]);for(let d=0;d<e.body.length;d++){const a=e.body[d],o=[];for(let e=0;e<a.length;e++)o.push(new _t.MathNode("mtd",[Tt(a[e],t)]));e.tags&&e.tags[d]&&(o.unshift(r),o.push(r),e.leqno?o.unshift(i):o.push(i)),n.push(new _t.MathNode("mtr",o))}let a=new _t.MathNode("mtable",n);const o=.5===e.arraystretch?.1:.16+e.arraystretch-1+(e.addJot?.09:0);a.setAttribute("rowspacing",G(o));let s="",l="";if(e.cols&&e.cols.length>0){const t=e.cols;let n="",r=!1,i=0,o=t.length;"separator"===t[0].type&&(s+="top ",i=1),"separator"===t[t.length-1].type&&(s+="bottom ",o-=1);for(let e=i;e<o;e++)"align"===t[e].type?(l+=Bn[t[e].align],r&&(n+="none "),r=!0):"separator"===t[e].type&&r&&(n+="|"===t[e].separator?"solid ":"dashed ",r=!1);a.setAttribute("columnalign",l.trim()),/[sd]/.test(n)&&a.setAttribute("columnlines",n.trim())}if("align"===e.colSeparationType){const t=e.cols||[];let n="";for(let e=1;e<t.length;e++)n+=e%2?"0em ":"1em ";a.setAttribute("columnspacing",n.trim())}else"alignat"===e.colSeparationType||"gather"===e.colSeparationType?a.setAttribute("columnspacing","0em"):"small"===e.colSeparationType?a.setAttribute("columnspacing","0.2778em"):"CD"===e.colSeparationType?a.setAttribute("columnspacing","0.5em"):a.setAttribute("columnspacing","1em");let c="";const u=e.hLinesBeforeRow;s+=u[0].length>0?"left ":"",s+=u[u.length-1].length>0?"right ":"";for(let d=1;d<u.length-1;d++)c+=0===u[d].length?"none ":u[d][0]?"dashed ":"solid ";return/[sd]/.test(c)&&a.setAttribute("rowlines",c.trim()),""!==s&&(a=new _t.MathNode("menclose",[a]),a.setAttribute("notation",s.trim())),e.arraystretch&&e.arraystretch<1&&(a=new _t.MathNode("mstyle",[a]),a.setAttribute("scriptlevel","1")),a},Gn=function(e,t){-1===e.envName.indexOf("ed")&&Mn(e);const n=[],i=e.envName.indexOf("at")>-1?"alignat":"align",a="split"===e.envName,o=Pn(e.parser,{cols:n,addJot:!0,autoTag:a?void 0:Ln(e.envName),emptySingleRow:!0,colSeparationType:i,maxNumCols:a?2:void 0,leqno:e.parser.settings.leqno},"display");let s,l=0;const c={type:"ordgroup",mode:e.mode,body:[]};if(t[0]&&"ordgroup"===t[0].type){let e="";for(let n=0;n<t[0].body.length;n++)e+=It(t[0].body[n],"textord").text;s=Number(e),l=2*s}const u=!l;o.body.forEach((function(e){for(let t=1;t<e.length;t+=2){const n=It(e[t],"styling");It(n.body[0],"ordgroup").body.unshift(c)}if(u)l<e.length&&(l=e.length);else{const t=e.length/2;if(s<t)throw new r("Too many math in a row: expected "+s+", but got "+t,e[0])}}));for(let r=0;r<l;++r){let e="r",t=0;r%2==1?e="l":r>0&&u&&(t=1),n[r]={type:"align",align:e,pregap:t,postgap:0}}return o.colSeparationType=u?"align":"alignat",o};wn({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){const n=(Mt(t[0])?[t[0]]:It(t[0],"ordgroup").body).map((function(e){const t=Dt(e).text;if(-1!=="lcr".indexOf(t))return{type:"align",align:t};if("|"===t)return{type:"separator",separator:"|"};if(":"===t)return{type:"separator",separator:":"};throw new r("Unknown column alignment: "+t,e)})),i={cols:n,hskipBeforeAndAfter:!0, +// \@preamble in lttab.dtx +maxNumCols:n.length};return Pn(e.parser,i,jn(e.envName))},htmlBuilder:Fn,mathmlBuilder:Un}),wn({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){const t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")];let n="c";const i={hskipBeforeAndAfter:!1,cols:[{type:"align",align:n}]};if("*"===e.envName.charAt(e.envName.length-1)){const t=e.parser;if(t.consumeSpaces(),"["===t.fetch().text){if(t.consume(),t.consumeSpaces(),n=t.fetch().text,-1==="lcr".indexOf(n))throw new r("Expected l or c or r",t.nextToken);t.consume(),t.consumeSpaces(),t.expect("]"),t.consume(),i.cols=[{type:"align",align:n}]}}const a=Pn(e.parser,i,jn(e.envName)),o=Math.max(0,...a.body.map((e=>e.length)));return a.cols=new Array(o).fill({type:"align",align:n}),t?{type:"leftright",mode:e.mode,body:[a],left:t[0],right:t[1],rightColor:void 0}:a},htmlBuilder:Fn,mathmlBuilder:Un}),wn({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){const t=Pn(e.parser,{arraystretch:.5},"script");return t.colSeparationType="small",t},htmlBuilder:Fn,mathmlBuilder:Un}),wn({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){const n=(Mt(t[0])?[t[0]]:It(t[0],"ordgroup").body).map((function(e){const t=Dt(e).text;if(-1!=="lc".indexOf(t))return{type:"align",align:t};throw new r("Unknown column alignment: "+t,e)}));if(n.length>1)throw new r("{subarray} can contain only one column");let i={cols:n,hskipBeforeAndAfter:!1,arraystretch:.5};if(i=Pn(e.parser,i,"script"),i.body.length>0&&i.body[0].length>1)throw new r("{subarray} can contain only one column");return i},htmlBuilder:Fn,mathmlBuilder:Un}),wn({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){const t=Pn(e.parser,{arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0, +// TODO(kevinb) get the current style. +// For now we use the metrics for TEXT style which is what we were +// doing before. Before attempting to get the current style we +// should look at TeX's behavior especially for \over and matrices. +postgap:1 +/* 1em quad */},{type:"align",align:"l",pregap:0,postgap:0}]},jn(e.envName));return{type:"leftright",mode:e.mode,body:[t],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:Fn,mathmlBuilder:Un}),wn({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:Gn,htmlBuilder:Fn,mathmlBuilder:Un}),wn({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){l.contains(["gather","gather*"],e.envName)&&Mn(e);const t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:Ln(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return Pn(e.parser,t,"display")},htmlBuilder:Fn,mathmlBuilder:Un}),wn({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:Gn,htmlBuilder:Fn,mathmlBuilder:Un}),wn({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){Mn(e);const t={autoTag:Ln(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return Pn(e.parser,t,"display")},htmlBuilder:Fn,mathmlBuilder:Un}),wn({type:"array",names:["CD"],props:{numArgs:0},handler:e=>(Mn(e),function(e){const t=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();const n=e.fetch().text;if("&"!==n&&"\\\\"!==n){if("\\end"===n){0===t[t.length-1].length&&t.pop();break}throw new r("Expected \\\\ or \\cr or \\end",e.nextToken)}e.consume()}let n=[];const i=[n];for(let s=0;s<t.length;s++){const l=t[s];let c={type:"styling",body:[],mode:"math",style:"display"};for(let t=0;t<l.length;t++)if(Yt(l[t])){n.push(c),t+=1;const i=Dt(l[t]).text,s=new Array(2);if(s[0]={type:"ordgroup",mode:"math",body:[]},s[1]={type:"ordgroup",mode:"math",body:[]},"=|.".indexOf(i)>-1);else{if(!("<>AV".indexOf(i)>-1))throw new r('Expected one of "<>AV=|." after @',l[t]);for(let e=0;e<2;e++){let n=!0;for(let c=t+1;c<l.length;c++){if(o=i,("mathord"===(a=l[c]).type||"atom"===a.type)&&a.text===o){n=!1,t=c;break}if(Yt(l[c]))throw new r("Missing a "+i+" character to complete a CD arrow.",l[c]);s[e].body.push(l[c])}if(n)throw new r("Missing a "+i+" character to complete a CD arrow.",l[t])}}const u={type:"styling",body:[qt(i,s,e)],mode:"math",style:"display"};n.push(u),c={type:"styling",body:[],mode:"math",style:"display"}}else c.body.push(l[t]);s%2==0?n.push(c):n.shift(),n=[],i.push(n)}var a,o;return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:"math",body:i,arraystretch:1,addJot:!0,rowGaps:[null],cols:new Array(i[0].length).fill({type:"align",align:"c",pregap:.25, +// CD package sets \enskip between columns. +postgap:.25}),colSeparationType:"CD",hLinesBeforeRow:new Array(i.length+1).fill([])}}(e.parser)),htmlBuilder:Fn,mathmlBuilder:Un}),On("\\nonumber","\\gdef\\@eqnsw{0}"),On("\\notag","\\nonumber"),Qe({type:"text", +// Doesn't matter what this is. +names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new r(e.funcName+" valid only within array environment")}});var zn=An;Qe({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){let{parser:n,funcName:i}=e;const a=t[0];if("ordgroup"!==a.type)throw new r("Invalid environment name",a);let o="";for(let r=0;r<a.body.length;++r)o+=It(a.body[r],"textord").text;if("\\begin"===i){if(!zn.hasOwnProperty(o))throw new r("No such environment: "+o,a);const e=zn[o],{args:t,optArgs:i}=n.parseArguments("\\begin{"+o+"}",e),s={mode:n.mode,envName:o,parser:n},l=e.handler(s,t,i);n.expect("\\end",!1);const c=n.nextToken,u=It(n.parseFunction(),"environment");if(u.name!==o)throw new r("Mismatch: \\begin{"+o+"} matched by \\end{"+u.name+"}",c);return l}return{type:"environment",mode:n.mode,name:o,nameGroup:a}}});const $n=(e,t)=>{const n=e.font,r=t.withFont(n);return ut(e.body,r)},Yn=(e,t)=>{const n=e.font,r=t.withFont(n);return Tt(e.body,r)},qn={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Qe({type:"font",names:[ +// styles, except \boldsymbol defined below +"\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit", +// families +"\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt", +// aliases, except \bm defined below +"\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{let{parser:n,funcName:r}=e;const i=Xe(t[0]);let a=r;return a in qn&&(a=qn[a]),{type:"font",mode:n.mode,font:a.slice(1),body:i}},htmlBuilder:$n,mathmlBuilder:Yn}),Qe({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{let{parser:n}=e;const r=t[0],i=l.isCharacterBox(r);return{type:"mclass",mode:n.mode,mclass:zt(r),body:[{type:"font",mode:n.mode,font:"boldsymbol",body:r}],isCharacterBox:i}}}),Qe({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{let{parser:n,funcName:r,breakOnTokenText:i}=e;const{mode:a}=n,o=n.parseExpression(!0,i);return{type:"font",mode:a,font:"math"+r.slice(1),body:{type:"ordgroup",mode:n.mode,body:o}}},htmlBuilder:$n,mathmlBuilder:Yn});const Hn=(e,t)=>{let n=t;return"display"===e?n=n.id>=v.SCRIPT.id?n.text():v.DISPLAY:"text"===e&&n.size===v.DISPLAY.size?n=v.TEXT:"script"===e?n=v.SCRIPT:"scriptscript"===e&&(n=v.SCRIPTSCRIPT),n},Vn=(e,t)=>{const n=Hn(e.size,t.style),r=n.fracNum(),i=n.fracDen();let a;a=t.havingStyle(r);const o=ut(e.numer,a,t);if(e.continued){const e=8.5/t.fontMetrics().ptPerEm,n=3.5/t.fontMetrics().ptPerEm;o.height=o.height<e?e:o.height,o.depth=o.depth<n?n:o.depth}a=t.havingStyle(i);const s=ut(e.denom,a,t);let l,c,u,d,h,p,g,m,_,b;if(e.hasBarLine?(e.barSize?(c=U(e.barSize,t),l=Ue.makeLineSpan("frac-line",t,c)):l=Ue.makeLineSpan("frac-line",t),c=l.height,u=l.height):(l=null,c=0,u=t.fontMetrics().defaultRuleThickness),n.size===v.DISPLAY.size||"display"===e.size?(d=t.fontMetrics().num1,h=c>0?3*u:7*u,p=t.fontMetrics().denom1):(c>0?(d=t.fontMetrics().num2,h=u):(d=t.fontMetrics().num3,h=3*u),p=t.fontMetrics().denom2),l){const e=t.fontMetrics().axisHeight;d-o.depth-(e+.5*c)<h&&(d+=h-(d-o.depth-(e+.5*c))),e-.5*c-(s.height-p)<h&&(p+=h-(e-.5*c-(s.height-p)));const n=-(e-.5*c);g=Ue.makeVList({positionType:"individualShift",children:[{type:"elem",elem:s,shift:p},{type:"elem",elem:l,shift:n},{type:"elem",elem:o,shift:-d}]},t)}else{const e=d-o.depth-(s.height-p);e<h&&(d+=.5*(h-e),p+=.5*(h-e)),g=Ue.makeVList({positionType:"individualShift",children:[{type:"elem",elem:s,shift:p},{type:"elem",elem:o,shift:-d}]},t)}return a=t.havingStyle(n),g.height*=a.sizeMultiplier/t.sizeMultiplier,g.depth*=a.sizeMultiplier/t.sizeMultiplier,m=n.size===v.DISPLAY.size?t.fontMetrics().delim1:n.size===v.SCRIPTSCRIPT.size?t.havingStyle(v.SCRIPT).fontMetrics().delim2:t.fontMetrics().delim2,_=null==e.leftDelim?ct(t,["mopen"]):vn.customSizedDelim(e.leftDelim,m,!0,t.havingStyle(n),e.mode,["mopen"]),b=e.continued?Ue.makeSpan([]):null==e.rightDelim?ct(t,["mclose"]):vn.customSizedDelim(e.rightDelim,m,!0,t.havingStyle(n),e.mode,["mclose"]),Ue.makeSpan(["mord"].concat(a.sizingClasses(t)),[_,Ue.makeSpan(["mfrac"],[g]),b],t)},Wn=(e,t)=>{let n=new _t.MathNode("mfrac",[Tt(e.numer,t),Tt(e.denom,t)]);if(e.hasBarLine){if(e.barSize){const r=U(e.barSize,t);n.setAttribute("linethickness",G(r))}}else n.setAttribute("linethickness","0px");const r=Hn(e.size,t.style);if(r.size!==t.style.size){n=new _t.MathNode("mstyle",[n]);const e=r.size===v.DISPLAY.size?"true":"false";n.setAttribute("displaystyle",e),n.setAttribute("scriptlevel","0")}if(null!=e.leftDelim||null!=e.rightDelim){const t=[];if(null!=e.leftDelim){const n=new _t.MathNode("mo",[new _t.TextNode(e.leftDelim.replace("\\",""))]);n.setAttribute("fence","true"),t.push(n)}if(t.push(n),null!=e.rightDelim){const n=new _t.MathNode("mo",[new _t.TextNode(e.rightDelim.replace("\\",""))]);n.setAttribute("fence","true"),t.push(n)}return ft(t)}return n};Qe({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac", +// can’t be entered directly +"\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{let{parser:n,funcName:r}=e;const i=t[0],a=t[1];let o,s=null,l=null,c="auto";switch(r){case"\\dfrac":case"\\frac":case"\\tfrac":o=!0;break;case"\\\\atopfrac":o=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":o=!1,s="(",l=")";break;case"\\\\bracefrac":o=!1,s="\\{",l="\\}";break;case"\\\\brackfrac":o=!1,s="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}switch(r){case"\\dfrac":case"\\dbinom":c="display";break;case"\\tfrac":case"\\tbinom":c="text"}return{type:"genfrac",mode:n.mode,continued:!1,numer:i,denom:a,hasBarLine:o,leftDelim:s,rightDelim:l,size:c,barSize:null}},htmlBuilder:Vn,mathmlBuilder:Wn}),Qe({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{let{parser:n,funcName:r}=e;const i=t[0],a=t[1];return{type:"genfrac",mode:n.mode,continued:!0,numer:i,denom:a,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),Qe({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){let t,{parser:n,funcName:r,token:i}=e;switch(r){case"\\over":t="\\frac";break;case"\\choose":t="\\binom";break;case"\\atop":t="\\\\atopfrac";break;case"\\brace":t="\\\\bracefrac";break;case"\\brack":t="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:n.mode,replaceWith:t,token:i}}});const Qn=["display","text","script","scriptscript"],Kn=function(e){let t=null;return e.length>0&&(t=e,t="."===t?null:t),t};Qe({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){let{parser:n}=e;const r=t[4],i=t[5],a=Xe(t[0]),o="atom"===a.type&&"open"===a.family?Kn(a.text):null,s=Xe(t[1]),l="atom"===s.type&&"close"===s.family?Kn(s.text):null,c=It(t[2],"size");let u,d=null;c.isBlank?u=!0:(d=c.value,u=d.number>0);let h="auto",p=t[3];if("ordgroup"===p.type){if(p.body.length>0){const e=It(p.body[0],"textord");h=Qn[Number(e.text)]}}else p=It(p,"textord"),h=Qn[Number(p.text)];return{type:"genfrac",mode:n.mode,numer:r,denom:i,continued:!1,hasBarLine:u,barSize:d,leftDelim:o,rightDelim:l,size:h}},htmlBuilder:Vn,mathmlBuilder:Wn}),Qe({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){let{parser:n,funcName:r,token:i}=e;return{type:"infix",mode:n.mode,replaceWith:"\\\\abovefrac",size:It(t[0],"size").value,token:i}}}),Qe({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{let{parser:n,funcName:r}=e;const i=t[0],a=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e}(It(t[1],"infix").size),o=t[2],s=a.number>0;return{type:"genfrac",mode:n.mode,numer:i,denom:o,continued:!1,hasBarLine:s,barSize:a,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Vn,mathmlBuilder:Wn});const Xn=(e,t)=>{const n=t.style;let r,i;"supsub"===e.type?(r=e.sup?ut(e.sup,t.havingStyle(n.sup()),t):ut(e.sub,t.havingStyle(n.sub()),t),i=It(e.base,"horizBrace")):i=It(e,"horizBrace");const a=ut(i.base,t.havingBaseStyle(v.DISPLAY)),o=Rt(i,t);let s;if(i.isOver?(s=Ue.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:.1},{type:"elem",elem:o}]},t),s.children[0].children[0].children[1].classes.push("svg-align")):(s=Ue.makeVList({positionType:"bottom",positionData:a.depth+.1+o.height,children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:a}]},t),s.children[0].children[0].children[0].classes.push("svg-align")),r){const e=Ue.makeSpan(["mord",i.isOver?"mover":"munder"],[s],t);s=i.isOver?Ue.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:e},{type:"kern",size:.2},{type:"elem",elem:r}]},t):Ue.makeVList({positionType:"bottom",positionData:e.depth+.2+r.height+r.depth,children:[{type:"elem",elem:r},{type:"kern",size:.2},{type:"elem",elem:e}]},t)}return Ue.makeSpan(["mord",i.isOver?"mover":"munder"],[s],t)};Qe({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){let{parser:n,funcName:r}=e;return{type:"horizBrace",mode:n.mode,label:r,isOver:/^\\over/.test(r),base:t[0]}},htmlBuilder:Xn,mathmlBuilder:(e,t)=>{const n=Ot(e.label);return new _t.MathNode(e.isOver?"mover":"munder",[Tt(e.base,t),n])}}),Qe({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{let{parser:n}=e;const r=t[1],i=It(t[0],"url").url;return n.settings.isTrusted({command:"\\href",url:i})?{type:"href",mode:n.mode,href:i,body:Ze(r)}:n.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{const n=it(e.body,t,!1);return Ue.makeAnchor(e.href,[],n,t)},mathmlBuilder:(e,t)=>{let n=St(e.body,t);return n instanceof gt||(n=new gt("mrow",[n])),n.setAttribute("href",e.href),n}}),Qe({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{let{parser:n}=e;const r=It(t[0],"url").url;if(!n.settings.isTrusted({command:"\\url",url:r}))return n.formatUnsupportedCmd("\\url");const i=[];for(let o=0;o<r.length;o++){let e=r[o];"~"===e&&(e="\\textasciitilde"),i.push({type:"textord",mode:"text",text:e})}const a={type:"text",mode:n.mode,font:"\\texttt",body:i};return{type:"href",mode:n.mode,href:r,body:Ze(a)}}}),Qe({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(e,t){let{parser:n}=e;return{type:"hbox",mode:n.mode,body:Ze(t[0])}},htmlBuilder(e,t){const n=it(e.body,t,!1);return Ue.makeFragment(n)},mathmlBuilder:(e,t)=>new _t.MathNode("mrow",Et(e.body,t))}),Qe({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{let{parser:n,funcName:i,token:a}=e;const o=It(t[0],"raw").string,s=t[1];let l;n.settings.strict&&n.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");const c={};switch(i){case"\\htmlClass":c.class=o,l={command:"\\htmlClass",class:o};break;case"\\htmlId":c.id=o,l={command:"\\htmlId",id:o};break;case"\\htmlStyle":c.style=o,l={command:"\\htmlStyle",style:o};break;case"\\htmlData":{const e=o.split(",");for(let t=0;t<e.length;t++){const n=e[t].split("=");if(2!==n.length)throw new r("Error parsing key-value for \\htmlData");c["data-"+n[0].trim()]=n[1].trim()}l={command:"\\htmlData",attributes:c};break}default:throw new Error("Unrecognized html command")}return n.settings.isTrusted(l)?{type:"html",mode:n.mode,attributes:c,body:Ze(s)}:n.formatUnsupportedCmd(i)},htmlBuilder:(e,t)=>{const n=it(e.body,t,!1),r=["enclosing"];e.attributes.class&&r.push(...e.attributes.class.trim().split(/\s+/));const i=Ue.makeSpan(r,n,t);for(const a in e.attributes)"class"!==a&&e.attributes.hasOwnProperty(a)&&i.setAttribute(a,e.attributes[a]);return i},mathmlBuilder:(e,t)=>St(e.body,t)}),Qe({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{let{parser:n}=e;return{type:"htmlmathml",mode:n.mode,html:Ze(t[0]),mathml:Ze(t[1])}},htmlBuilder:(e,t)=>{const n=it(e.html,t,!1);return Ue.makeFragment(n)},mathmlBuilder:(e,t)=>St(e.mathml,t)});const Zn=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};{const t=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!t)throw new r("Invalid size: '"+e+"' in \\includegraphics");const n={number:+(t[1]+t[2]), +// sign + magnitude, cast to number +unit:t[3]};if(!B(n))throw new r("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n}};Qe({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,n)=>{let{parser:i}=e,a={number:0,unit:"em"},o={number:.9,unit:"em"},s={number:0,unit:"em"},l="";if(n[0]){const e=It(n[0],"raw").string.split(",");for(let t=0;t<e.length;t++){const n=e[t].split("=");if(2===n.length){const e=n[1].trim();switch(n[0].trim()){case"alt":l=e;break;case"width":a=Zn(e);break;case"height":o=Zn(e);break;case"totalheight":s=Zn(e);break;default:throw new r("Invalid key: '"+n[0]+"' in \\includegraphics.")}}}}const c=It(t[0],"url").url;return""===l&&(l=c,l=l.replace(/^.*[\\/]/,""),l=l.substring(0,l.lastIndexOf("."))),i.settings.isTrusted({command:"\\includegraphics",url:c})?{type:"includegraphics",mode:i.mode,alt:l,width:a,height:o,totalheight:s,src:c}:i.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,t)=>{const n=U(e.height,t);let r=0;e.totalheight.number>0&&(r=U(e.totalheight,t)-n);let i=0;e.width.number>0&&(i=U(e.width,t));const a={height:G(n+r)};i>0&&(a.width=G(i)),r>0&&(a.verticalAlign=G(-r));const o=new Q(e.src,e.alt,a);return o.height=n,o.depth=r,o},mathmlBuilder:(e,t)=>{const n=new _t.MathNode("mglyph",[]);n.setAttribute("alt",e.alt);const r=U(e.height,t);let i=0;if(e.totalheight.number>0&&(i=U(e.totalheight,t)-r,n.setAttribute("valign",G(-i))),n.setAttribute("height",G(r+i)),e.width.number>0){const r=U(e.width,t);n.setAttribute("width",G(r))}return n.setAttribute("src",e.src),n}}),Qe({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){let{parser:n,funcName:r}=e;const i=It(t[0],"size");if(n.settings.strict){const e="m"===r[1],t="mu"===i.value.unit;e?(t||n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" supports only mu units, not "+i.value.unit+" units"),"math"!==n.mode&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" works only in math mode")):t&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" doesn't support mu units")}return{type:"kern",mode:n.mode,dimension:i.value}},htmlBuilder:(e,t)=>Ue.makeGlue(e.dimension,t),mathmlBuilder(e,t){const n=U(e.dimension,t);return new _t.SpaceNode(n)}}),Qe({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{let{parser:n,funcName:r}=e;const i=t[0];return{type:"lap",mode:n.mode,alignment:r.slice(5),body:i}},htmlBuilder:(e,t)=>{let n;"clap"===e.alignment?(n=Ue.makeSpan([],[ut(e.body,t)]),n=Ue.makeSpan(["inner"],[n],t)):n=Ue.makeSpan(["inner"],[ut(e.body,t)]);const r=Ue.makeSpan(["fix"],[]);let i=Ue.makeSpan([e.alignment],[n,r],t);const a=Ue.makeSpan(["strut"]);return a.style.height=G(i.height+i.depth),i.depth&&(a.style.verticalAlign=G(-i.depth)),i.children.unshift(a),i=Ue.makeSpan(["thinbox"],[i],t),Ue.makeSpan(["mord","vbox"],[i],t)},mathmlBuilder:(e,t)=>{const n=new _t.MathNode("mpadded",[Tt(e.body,t)]);if("rlap"!==e.alignment){const t="llap"===e.alignment?"-1":"-0.5";n.setAttribute("lspace",t+"width")}return n.setAttribute("width","0px"),n}}),Qe({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){let{funcName:n,parser:r}=e;const i=r.mode;r.switchMode("math");const a="\\("===n?"\\)":"$",o=r.parseExpression(!1,a);return r.expect(a),r.switchMode(i),{type:"styling",mode:r.mode,style:"text",body:o}}}),Qe({type:"text", +// Doesn't matter what this is. +names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new r("Mismatched "+e.funcName)}});const Jn=(e,t)=>{switch(t.style.size){case v.DISPLAY.size:return e.display;case v.TEXT.size:return e.text;case v.SCRIPT.size:return e.script;case v.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};Qe({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{let{parser:n}=e;return{type:"mathchoice",mode:n.mode,display:Ze(t[0]),text:Ze(t[1]),script:Ze(t[2]),scriptscript:Ze(t[3])}},htmlBuilder:(e,t)=>{const n=Jn(e,t),r=it(n,t,!1);return Ue.makeFragment(r)},mathmlBuilder:(e,t)=>{const n=Jn(e,t);return St(n,t)}});const er=(e,t,n,r,i,a,o)=>{e=Ue.makeSpan([],[e]);const s=n&&l.isCharacterBox(n);let c,u,d;if(t){const e=ut(t,r.havingStyle(i.sup()),r);u={elem:e,kern:Math.max(r.fontMetrics().bigOpSpacing1,r.fontMetrics().bigOpSpacing3-e.depth)}}if(n){const e=ut(n,r.havingStyle(i.sub()),r);c={elem:e,kern:Math.max(r.fontMetrics().bigOpSpacing2,r.fontMetrics().bigOpSpacing4-e.height)}}if(u&&c){const t=r.fontMetrics().bigOpSpacing5+c.elem.height+c.elem.depth+c.kern+e.depth+o;d=Ue.makeVList({positionType:"bottom",positionData:t,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:c.elem,marginLeft:G(-a)},{type:"kern",size:c.kern},{type:"elem",elem:e},{type:"kern",size:u.kern},{type:"elem",elem:u.elem,marginLeft:G(a)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}else if(c){const t=e.height-o;d=Ue.makeVList({positionType:"top",positionData:t,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:c.elem,marginLeft:G(-a)},{type:"kern",size:c.kern},{type:"elem",elem:e}]},r)}else{if(!u)return e;{const t=e.depth+o;d=Ue.makeVList({positionType:"bottom",positionData:t,children:[{type:"elem",elem:e},{type:"kern",size:u.kern},{type:"elem",elem:u.elem,marginLeft:G(a)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}}const h=[d];if(c&&0!==a&&!s){const e=Ue.makeSpan(["mspace"],[],r);e.style.marginRight=G(a),h.unshift(e)}return Ue.makeSpan(["mop","op-limits"],h,r)},tr=["\\smallint"],nr=(e,t)=>{let n,r,i,a=!1;"supsub"===e.type?(n=e.sup,r=e.sub,i=It(e.base,"op"),a=!0):i=It(e,"op");const o=t.style;let s,c=!1;if(o.size===v.DISPLAY.size&&i.symbol&&!l.contains(tr,i.name)&&(c=!0),i.symbol){const e=c?"Size2-Regular":"Size1-Regular";let n="";if("\\oiint"!==i.name&&"\\oiiint"!==i.name||(n=i.name.slice(1),i.name="oiint"===n?"\\iint":"\\iiint"),s=Ue.makeSymbol(i.name,e,"math",t,["mop","op-symbol",c?"large-op":"small-op"]),n.length>0){const e=s.italic,r=Ue.staticSvg(n+"Size"+(c?"2":"1"),t);s=Ue.makeVList({positionType:"individualShift",children:[{type:"elem",elem:s,shift:0},{type:"elem",elem:r,shift:c?.08:0}]},t),i.name="\\"+n,s.classes.unshift("mop"),s.italic=e}}else if(i.body){const e=it(i.body,t,!0);1===e.length&&e[0]instanceof X?(s=e[0],s.classes[0]="mop"):s=Ue.makeSpan(["mop"],e,t)}else{const e=[];for(let n=1;n<i.name.length;n++)e.push(Ue.mathsym(i.name[n],i.mode,t));s=Ue.makeSpan(["mop"],e,t)}let u=0,d=0;return(s instanceof X||"\\oiint"===i.name||"\\oiiint"===i.name)&&!i.suppressBaseShift&&(u=(s.height-s.depth)/2-t.fontMetrics().axisHeight,d=s.italic),a?er(s,n,r,t,o,d,u):(u&&(s.style.position="relative",s.style.top=G(u)),s)},rr=(e,t)=>{let n;if(e.symbol)n=new gt("mo",[bt(e.name,e.mode)]),l.contains(tr,e.name)&&n.setAttribute("largeop","false");else if(e.body)n=new gt("mo",Et(e.body,t));else{n=new gt("mi",[new mt(e.name.slice(1))]);const t=new gt("mo",[bt("","text")]);n=e.parentIsSupSub?new gt("mrow",[n,t]):pt([n,t])}return n},ir={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};Qe({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(e,t)=>{let{parser:n,funcName:r}=e,i=r;return 1===i.length&&(i=ir[i]),{type:"op",mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:i}},htmlBuilder:nr,mathmlBuilder:rr}),Qe({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{let{parser:n}=e;const r=t[0];return{type:"op",mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Ze(r)}},htmlBuilder:nr,mathmlBuilder:rr});const ar={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};Qe({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(e){let{parser:t,funcName:n}=e;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:nr,mathmlBuilder:rr}),Qe({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){let{parser:t,funcName:n}=e;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:nr,mathmlBuilder:rr}),Qe({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(e){let{parser:t,funcName:n}=e,r=n;return 1===r.length&&(r=ar[r]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:r}},htmlBuilder:nr,mathmlBuilder:rr});const or=(e,t)=>{let n,r,i,a,o=!1;if("supsub"===e.type?(n=e.sup,r=e.sub,i=It(e.base,"operatorname"),o=!0):i=It(e,"operatorname"),i.body.length>0){const e=i.body.map((e=>{const t=e.text;return"string"==typeof t?{type:"textord",mode:e.mode,text:t}:e})),n=it(e,t.withFont("mathrm"),!0);for(let t=0;t<n.length;t++){const e=n[t];e instanceof X&&(e.text=e.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}a=Ue.makeSpan(["mop"],n,t)}else a=Ue.makeSpan(["mop"],[],t);return o?er(a,n,r,t,t.style,0,0):a};function sr(e,t,n){const r=it(e,t,!1),i=t.sizeMultiplier/n.sizeMultiplier;for(let a=0;a<r.length;a++){const e=r[a].classes.indexOf("sizing");e<0?Array.prototype.push.apply(r[a].classes,t.sizingClasses(n)):r[a].classes[e+1]==="reset-size"+t.size&&(r[a].classes[e+1]="reset-size"+n.size),r[a].height*=i,r[a].depth*=i}return Ue.makeFragment(r)}Qe({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,t)=>{let{parser:n,funcName:r}=e;const i=t[0];return{type:"operatorname",mode:n.mode,body:Ze(i),alwaysHandleSupSub:"\\operatornamewithlimits"===r,limits:!1,parentIsSupSub:!1}},htmlBuilder:or,mathmlBuilder:(e,t)=>{let n=Et(e.body,t.withFont("mathrm")),r=!0;for(let o=0;o<n.length;o++){const e=n[o];if(e instanceof _t.SpaceNode);else if(e instanceof _t.MathNode)switch(e.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break; +// Do nothing yet. +case"mo":{const t=e.children[0];1===e.children.length&&t instanceof _t.TextNode?t.text=t.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):r=!1;break}default:r=!1}else r=!1}if(r){const e=n.map((e=>e.toText())).join("");n=[new _t.TextNode(e)]}const i=new _t.MathNode("mi",n);i.setAttribute("mathvariant","normal");const a=new _t.MathNode("mo",[bt("","text")]);return e.parentIsSupSub?new _t.MathNode("mrow",[i,a]):_t.newDocumentFragment([i,a])}}),On("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),Ke({type:"ordgroup",htmlBuilder:(e,t)=>e.semisimple?Ue.makeFragment(it(e.body,t,!1)):Ue.makeSpan(["mord"],it(e.body,t,!0),t),mathmlBuilder:(e,t)=>St(e.body,t,!0)}),Qe({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){let{parser:n}=e;const r=t[0];return{type:"overline",mode:n.mode,body:r}},htmlBuilder(e,t){const n=ut(e.body,t.havingCrampedStyle()),r=Ue.makeLineSpan("overline-line",t),i=t.fontMetrics().defaultRuleThickness,a=Ue.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n},{type:"kern",size:3*i},{type:"elem",elem:r},{type:"kern",size:i}]},t);return Ue.makeSpan(["mord","overline"],[a],t)},mathmlBuilder(e,t){const n=new _t.MathNode("mo",[new _t.TextNode("‾")]);n.setAttribute("stretchy","true");const r=new _t.MathNode("mover",[Tt(e.body,t),n]);return r.setAttribute("accent","true"),r}}),Qe({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{let{parser:n}=e;const r=t[0];return{type:"phantom",mode:n.mode,body:Ze(r)}},htmlBuilder:(e,t)=>{const n=it(e.body,t.withPhantom(),!1);return Ue.makeFragment(n)},mathmlBuilder:(e,t)=>{const n=Et(e.body,t);return new _t.MathNode("mphantom",n)}}),Qe({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{let{parser:n}=e;const r=t[0];return{type:"hphantom",mode:n.mode,body:r}},htmlBuilder:(e,t)=>{let n=Ue.makeSpan([],[ut(e.body,t.withPhantom())]);if(n.height=0,n.depth=0,n.children)for(let r=0;r<n.children.length;r++)n.children[r].height=0,n.children[r].depth=0;return n=Ue.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},t),Ue.makeSpan(["mord"],[n],t)},mathmlBuilder:(e,t)=>{const n=Et(Ze(e.body),t),r=new _t.MathNode("mphantom",n),i=new _t.MathNode("mpadded",[r]);return i.setAttribute("height","0px"),i.setAttribute("depth","0px"),i}}),Qe({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{let{parser:n}=e;const r=t[0];return{type:"vphantom",mode:n.mode,body:r}},htmlBuilder:(e,t)=>{const n=Ue.makeSpan(["inner"],[ut(e.body,t.withPhantom())]),r=Ue.makeSpan(["fix"],[]);return Ue.makeSpan(["mord","rlap"],[n,r],t)},mathmlBuilder:(e,t)=>{const n=Et(Ze(e.body),t),r=new _t.MathNode("mphantom",n),i=new _t.MathNode("mpadded",[r]);return i.setAttribute("width","0px"),i}}),Qe({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){let{parser:n}=e;const r=It(t[0],"size").value,i=t[1];return{type:"raisebox",mode:n.mode,dy:r,body:i}},htmlBuilder(e,t){const n=ut(e.body,t),r=U(e.dy,t);return Ue.makeVList({positionType:"shift",positionData:-r,children:[{type:"elem",elem:n}]},t)},mathmlBuilder(e,t){const n=new _t.MathNode("mpadded",[Tt(e.body,t)]),r=e.dy.number+e.dy.unit;return n.setAttribute("voffset",r),n}}),Qe({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(e){let{parser:t}=e;return{type:"internal",mode:t.mode}}}),Qe({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(e,t,n){let{parser:r}=e;const i=n[0],a=It(t[0],"size"),o=It(t[1],"size");return{type:"rule",mode:r.mode,shift:i&&It(i,"size").value,width:a.value,height:o.value}},htmlBuilder(e,t){const n=Ue.makeSpan(["mord","rule"],[],t),r=U(e.width,t),i=U(e.height,t),a=e.shift?U(e.shift,t):0;return n.style.borderRightWidth=G(r),n.style.borderTopWidth=G(i),n.style.bottom=G(a),n.width=r,n.height=i+a,n.depth=-a,n.maxFontSize=1.125*i*t.sizeMultiplier,n},mathmlBuilder(e,t){const n=U(e.width,t),r=U(e.height,t),i=e.shift?U(e.shift,t):0,a=t.color&&t.getColor()||"black",o=new _t.MathNode("mspace");o.setAttribute("mathbackground",a),o.setAttribute("width",G(n)),o.setAttribute("height",G(r));const s=new _t.MathNode("mpadded",[o]);return i>=0?s.setAttribute("height",G(i)):(s.setAttribute("height",G(i)),s.setAttribute("depth",G(-i))),s.setAttribute("voffset",G(i)),s}});const lr=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"];Qe({type:"sizing",names:lr,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{let{breakOnTokenText:n,funcName:r,parser:i}=e;const a=i.parseExpression(!1,n);return{type:"sizing",mode:i.mode, +// Figure out what size to use based on the list of functions above +size:lr.indexOf(r)+1,body:a}},htmlBuilder:(e,t)=>{const n=t.havingSize(e.size);return sr(e.body,n,t)},mathmlBuilder:(e,t)=>{const n=t.havingSize(e.size),r=Et(e.body,n),i=new _t.MathNode("mstyle",r);return i.setAttribute("mathsize",G(n.sizeMultiplier)),i}}),Qe({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,n)=>{let{parser:r}=e,i=!1,a=!1;const o=n[0]&&It(n[0],"ordgroup");if(o){let e="";for(let t=0;t<o.body.length;++t)if(e=o.body[t].text,"t"===e)i=!0;else{if("b"!==e){i=!1,a=!1;break}a=!0}}else i=!0,a=!0;const s=t[0];return{type:"smash",mode:r.mode,body:s,smashHeight:i,smashDepth:a}},htmlBuilder:(e,t)=>{const n=Ue.makeSpan([],[ut(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return n;if(e.smashHeight&&(n.height=0,n.children))for(let i=0;i<n.children.length;i++)n.children[i].height=0;if(e.smashDepth&&(n.depth=0,n.children))for(let i=0;i<n.children.length;i++)n.children[i].depth=0;const r=Ue.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},t);return Ue.makeSpan(["mord"],[r],t)},mathmlBuilder:(e,t)=>{const n=new _t.MathNode("mpadded",[Tt(e.body,t)]);return e.smashHeight&&n.setAttribute("height","0px"),e.smashDepth&&n.setAttribute("depth","0px"),n}}),Qe({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){let{parser:r}=e;const i=n[0],a=t[0];return{type:"sqrt",mode:r.mode,body:a,index:i}},htmlBuilder(e,t){let n=ut(e.body,t.havingCrampedStyle());0===n.height&&(n.height=t.fontMetrics().xHeight),n=Ue.wrapFragment(n,t);const r=t.fontMetrics().defaultRuleThickness;let i=r;t.style.id<v.TEXT.id&&(i=t.fontMetrics().xHeight);let a=r+i/4;const o=n.height+n.depth+a+r,{span:s,ruleWidth:l,advanceWidth:c}=vn.sqrtImage(o,t),u=s.height-l;u>n.height+n.depth+a&&(a=(a+u-n.height-n.depth)/2);const d=s.height-n.height-a-l;n.style.paddingLeft=G(c);const h=Ue.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+d)},{type:"elem",elem:s},{type:"kern",size:l}]},t);if(e.index){const n=t.havingStyle(v.SCRIPTSCRIPT),r=ut(e.index,n,t),i=.6*(h.height-h.depth),a=Ue.makeVList({positionType:"shift",positionData:-i,children:[{type:"elem",elem:r}]},t),o=Ue.makeSpan(["root"],[a]);return Ue.makeSpan(["mord","sqrt"],[o,h],t)}return Ue.makeSpan(["mord","sqrt"],[h],t)},mathmlBuilder(e,t){const{body:n,index:r}=e;return r?new _t.MathNode("mroot",[Tt(n,t),Tt(r,t)]):new _t.MathNode("msqrt",[Tt(n,t)])}});const cr={display:v.DISPLAY,text:v.TEXT,script:v.SCRIPT,scriptscript:v.SCRIPTSCRIPT};Qe({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){let{breakOnTokenText:n,funcName:r,parser:i}=e;const a=i.parseExpression(!0,n),o=r.slice(1,r.length-5);return{type:"styling",mode:i.mode, +// Figure out what style to use by pulling out the style from +// the function name +style:o,body:a}},htmlBuilder(e,t){const n=cr[e.style],r=t.havingStyle(n).withFont("");return sr(e.body,r,t)},mathmlBuilder(e,t){const n=cr[e.style],r=t.havingStyle(n),i=Et(e.body,r),a=new _t.MathNode("mstyle",i),o={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]}[e.style];return a.setAttribute("scriptlevel",o[0]),a.setAttribute("displaystyle",o[1]),a}}),Ke({type:"supsub",htmlBuilder(e,t){const n=function(e,t){const n=e.base;return n?"op"===n.type?n.limits&&(t.style.size===v.DISPLAY.size||n.alwaysHandleSupSub)?nr:null:"operatorname"===n.type?n.alwaysHandleSupSub&&(t.style.size===v.DISPLAY.size||n.limits)?or:null:"accent"===n.type?l.isCharacterBox(n.base)?Lt:null:"horizBrace"===n.type&&!e.sub===n.isOver?Xn:null:null}(e,t);if(n)return n(e,t);const{base:r,sup:i,sub:a}=e,o=ut(r,t);let s,c;const u=t.fontMetrics();let d=0,h=0;const p=r&&l.isCharacterBox(r);if(i){const e=t.havingStyle(t.style.sup());s=ut(i,e,t),p||(d=o.height-e.fontMetrics().supDrop*e.sizeMultiplier/t.sizeMultiplier)}if(a){const e=t.havingStyle(t.style.sub());c=ut(a,e,t),p||(h=o.depth+e.fontMetrics().subDrop*e.sizeMultiplier/t.sizeMultiplier)}let g;g=t.style===v.DISPLAY?u.sup1:t.style.cramped?u.sup3:u.sup2;const m=t.sizeMultiplier,_=G(.5/u.ptPerEm/m);let b,f=null;if(c){const t=e.base&&"op"===e.base.type&&e.base.name&&("\\oiint"===e.base.name||"\\oiiint"===e.base.name);(o instanceof X||t)&&(f=G(-o.italic))}if(s&&c){d=Math.max(d,g,s.depth+.25*u.xHeight),h=Math.max(h,u.sub2);const e=4*u.defaultRuleThickness;if(d-s.depth-(c.height-h)<e){h=e-(d-s.depth)+c.height;const t=.8*u.xHeight-(d-s.depth);t>0&&(d+=t,h-=t)}const n=[{type:"elem",elem:c,shift:h,marginRight:_,marginLeft:f},{type:"elem",elem:s,shift:-d,marginRight:_}];b=Ue.makeVList({positionType:"individualShift",children:n},t)}else if(c){h=Math.max(h,u.sub1,c.height-.8*u.xHeight);const e=[{type:"elem",elem:c,marginLeft:f,marginRight:_}];b=Ue.makeVList({positionType:"shift",positionData:h,children:e},t)}else{if(!s)throw new Error("supsub must have either sup or sub.");d=Math.max(d,g,s.depth+.25*u.xHeight),b=Ue.makeVList({positionType:"shift",positionData:-d,children:[{type:"elem",elem:s,marginRight:_}]},t)}const y=lt(o,"right")||"mord";return Ue.makeSpan([y],[o,Ue.makeSpan(["msupsub"],[b])],t)},mathmlBuilder(e,t){let n,r,i=!1;e.base&&"horizBrace"===e.base.type&&(r=!!e.sup,r===e.base.isOver&&(i=!0,n=e.base.isOver)),!e.base||"op"!==e.base.type&&"operatorname"!==e.base.type||(e.base.parentIsSupSub=!0);const a=[Tt(e.base,t)];let o;if(e.sub&&a.push(Tt(e.sub,t)),e.sup&&a.push(Tt(e.sup,t)),i)o=n?"mover":"munder";else if(e.sub)if(e.sup){const n=e.base;o=n&&"op"===n.type&&n.limits&&t.style===v.DISPLAY||n&&"operatorname"===n.type&&n.alwaysHandleSupSub&&(t.style===v.DISPLAY||n.limits)?"munderover":"msubsup"}else{const n=e.base;o=n&&"op"===n.type&&n.limits&&(t.style===v.DISPLAY||n.alwaysHandleSupSub)||n&&"operatorname"===n.type&&n.alwaysHandleSupSub&&(n.limits||t.style===v.DISPLAY)?"munder":"msub"}else{const n=e.base;o=n&&"op"===n.type&&n.limits&&(t.style===v.DISPLAY||n.alwaysHandleSupSub)||n&&"operatorname"===n.type&&n.alwaysHandleSupSub&&(n.limits||t.style===v.DISPLAY)?"mover":"msup"}return new _t.MathNode(o,a)}}),Ke({type:"atom",htmlBuilder:(e,t)=>Ue.mathsym(e.text,e.mode,t,["m"+e.family]),mathmlBuilder(e,t){const n=new _t.MathNode("mo",[bt(e.text,e.mode)]);if("bin"===e.family){const r=yt(e,t);"bold-italic"===r&&n.setAttribute("mathvariant",r)}else"punct"===e.family?n.setAttribute("separator","true"):"open"!==e.family&&"close"!==e.family||n.setAttribute("stretchy","false");return n}});const ur={mi:"italic",mn:"normal",mtext:"normal"};Ke({type:"mathord",htmlBuilder:(e,t)=>Ue.makeOrd(e,t,"mathord"),mathmlBuilder(e,t){const n=new _t.MathNode("mi",[bt(e.text,e.mode,t)]),r=yt(e,t)||"italic";return r!==ur[n.type]&&n.setAttribute("mathvariant",r),n}}),Ke({type:"textord",htmlBuilder:(e,t)=>Ue.makeOrd(e,t,"textord"),mathmlBuilder(e,t){const n=bt(e.text,e.mode,t),r=yt(e,t)||"normal";let i;return i="text"===e.mode?new _t.MathNode("mtext",[n]):/[0-9]/.test(e.text)?new _t.MathNode("mn",[n]):"\\prime"===e.text?new _t.MathNode("mo",[n]):new _t.MathNode("mi",[n]),r!==ur[i.type]&&i.setAttribute("mathvariant",r),i}});const dr={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},hr={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Ke({type:"spacing",htmlBuilder(e,t){if(hr.hasOwnProperty(e.text)){const n=hr[e.text].className||"";if("text"===e.mode){const r=Ue.makeOrd(e,t,"textord");return r.classes.push(n),r}return Ue.makeSpan(["mspace",n],[Ue.mathsym(e.text,e.mode,t)],t)}if(dr.hasOwnProperty(e.text))return Ue.makeSpan(["mspace",dr[e.text]],[],t);throw new r('Unknown type of space "'+e.text+'"')},mathmlBuilder(e,t){let n;if(!hr.hasOwnProperty(e.text)){if(dr.hasOwnProperty(e.text))return new _t.MathNode("mspace");throw new r('Unknown type of space "'+e.text+'"')}return n=new _t.MathNode("mtext",[new _t.TextNode(" ")]),n}});const pr=()=>{const e=new _t.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};Ke({type:"tag",mathmlBuilder(e,t){const n=new _t.MathNode("mtable",[new _t.MathNode("mtr",[pr(),new _t.MathNode("mtd",[St(e.body,t)]),pr(),new _t.MathNode("mtd",[St(e.tag,t)])])]);return n.setAttribute("width","100%"),n}});const gr={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},mr={"\\textbf":"textbf","\\textmd":"textmd"},_r={"\\textit":"textit","\\textup":"textup"},br=(e,t)=>{const n=e.font;return n?gr[n]?t.withTextFontFamily(gr[n]):mr[n]?t.withTextFontWeight(mr[n]):"\\emph"===n?"textit"===t.fontShape?t.withTextFontShape("textup"):t.withTextFontShape("textit"):t.withTextFontShape(_r[n]):t};Qe({type:"text",names:[ +// Font families +"\\text","\\textrm","\\textsf","\\texttt","\\textnormal", +// Font weights +"\\textbf","\\textmd", +// Font Shapes +"\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){let{parser:n,funcName:r}=e;const i=t[0];return{type:"text",mode:n.mode,body:Ze(i),font:r}},htmlBuilder(e,t){const n=br(e,t),r=it(e.body,n,!0);return Ue.makeSpan(["mord","text"],r,n)},mathmlBuilder(e,t){const n=br(e,t);return St(e.body,n)}}),Qe({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,t){let{parser:n}=e;return{type:"underline",mode:n.mode,body:t[0]}},htmlBuilder(e,t){const n=ut(e.body,t),r=Ue.makeLineSpan("underline-line",t),i=t.fontMetrics().defaultRuleThickness,a=Ue.makeVList({positionType:"top",positionData:n.height,children:[{type:"kern",size:i},{type:"elem",elem:r},{type:"kern",size:3*i},{type:"elem",elem:n}]},t);return Ue.makeSpan(["mord","underline"],[a],t)},mathmlBuilder(e,t){const n=new _t.MathNode("mo",[new _t.TextNode("‾")]);n.setAttribute("stretchy","true");const r=new _t.MathNode("munder",[Tt(e.body,t),n]);return r.setAttribute("accentunder","true"),r}}),Qe({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"], +// In LaTeX, \vcenter can act only on a box. +allowedInText:!1},handler(e,t){let{parser:n}=e;return{type:"vcenter",mode:n.mode,body:t[0]}},htmlBuilder(e,t){const n=ut(e.body,t),r=t.fontMetrics().axisHeight,i=.5*(n.height-r-(n.depth+r));return Ue.makeVList({positionType:"shift",positionData:i,children:[{type:"elem",elem:n}]},t)},mathmlBuilder:(e,t)=>new _t.MathNode("mpadded",[Tt(e.body,t)],["vcenter"])}),Qe({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,n){throw new r("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){const n=fr(e),r=[],i=t.havingStyle(t.style.text());for(let a=0;a<n.length;a++){let t=n[a];"~"===t&&(t="\\textasciitilde"),r.push(Ue.makeSymbol(t,"Typewriter-Regular",e.mode,i,["mord","texttt"]))}return Ue.makeSpan(["mord","text"].concat(i.sizingClasses(t)),Ue.tryCombineChars(r),i)},mathmlBuilder(e,t){const n=new _t.TextNode(fr(e)),r=new _t.MathNode("mtext",[n]);return r.setAttribute("mathvariant","monospace"),r}});const fr=e=>e.body.replace(/ /g,e.star?"␣":" ");var yr=He;const vr="[ \r\n\t]",Er="(\\\\[a-zA-Z@]+)"+vr+"*",Sr="[̀-ͯ]",Tr=new RegExp(Sr+"+$"),Cr="("+vr+"+)|\\\\(\n|[ \r\t]+\n?)[ \r\t]*|([!-\\[\\]-‧-豈-]"+// single codepoint +Sr+"*|[\ud800-\udbff][\udc00-\udfff]"+// surrogate pair +Sr+"*|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5|"+Er+// \macroName + spaces +"|\\\\[^\ud800-\udfff])";class xr{ +// Category codes. The lexer only supports comment characters (14) for now. +// MacroExpander additionally distinguishes active (13). +constructor(e,t){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=t,this.tokenRegex=new RegExp(Cr,"g"),this.catcodes={"%":14, +// comment character +"~":13}}setCatcode(e,t){this.catcodes[e]=t} +/** + * This function lexes a single token. + */lex(){const e=this.input,t=this.tokenRegex.lastIndex;if(t===e.length)return new In("EOF",new Rn(this,t,t));const n=this.tokenRegex.exec(e);if(null===n||n.index!==t)throw new r("Unexpected character: '"+e[t]+"'",new In(e[t],new Rn(this,t,t+1)));const i=n[6]||n[3]||(n[2]?"\\ ":" ");if(14===this.catcodes[i]){const t=e.indexOf("\n",this.tokenRegex.lastIndex);return-1===t?(this.tokenRegex.lastIndex=e.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=t+1,this.lex()}return new In(i,new Rn(this,t,this.tokenRegex.lastIndex))}}class kr{ +/** + * Both arguments are optional. The first argument is an object of + * built-in mappings which never change. The second argument is an object + * of initial (global-level) mappings, which will constantly change + * according to any global/top-level `set`s done. + */ +constructor(e,t){void 0===e&&(e={}),void 0===t&&(t={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=t,this.builtins=e,this.undefStack=[]} +/** + * Start a new nested group, affecting future local `set`s. + */beginGroup(){this.undefStack.push({})} +/** + * End current nested group, restoring values before the group began. + */endGroup(){if(0===this.undefStack.length)throw new r("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");const e=this.undefStack.pop();for(const t in e)e.hasOwnProperty(t)&&(null==e[t]?delete this.current[t]:this.current[t]=e[t])} +/** + * Ends all currently nested groups (if any), restoring values before the + * groups began. Useful in case of an error in the middle of parsing. + */endGroups(){for(;this.undefStack.length>0;)this.endGroup()} +/** + * Detect whether `name` has a definition. Equivalent to + * `get(name) != null`. + */has(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)} +/** + * Get the current value of a name, or `undefined` if there is no value. + * + * Note: Do not use `if (namespace.get(...))` to detect whether a macro + * is defined, as the definition may be the empty string which evaluates + * to `false` in JavaScript. Use `if (namespace.get(...) != null)` or + * `if (namespace.has(...))`. + */get(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]} +/** + * Set the current value of a name, and optionally set it globally too. + * Local set() sets the current value and (when appropriate) adds an undo + * operation to the undo stack. Global set() may change the undo + * operation at every level, so takes time linear in their number. + * A value of undefined means to delete existing definitions. + */set(e,t,n){if(void 0===n&&(n=!1),n){for(let t=0;t<this.undefStack.length;t++)delete this.undefStack[t][e];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][e]=t)}else{const t=this.undefStack[this.undefStack.length-1];t&&!t.hasOwnProperty(e)&&(t[e]=this.current[e])}null==t?delete this.current[e]:this.current[e]=t}}var Ar=Nn;On("\\noexpand",(function(e){const t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}})),On("\\expandafter",(function(e){const t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}})),On("\\@firstoftwo",(function(e){return{tokens:e.consumeArgs(2)[0],numArgs:0}})),On("\\@secondoftwo",(function(e){return{tokens:e.consumeArgs(2)[1],numArgs:0}})),On("\\@ifnextchar",(function(e){const t=e.consumeArgs(3);e.consumeSpaces();const n=e.future();return 1===t[0].length&&t[0][0].text===n.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}})),On("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),On("\\TextOrMath",(function(e){const t=e.consumeArgs(2);return"text"===e.mode?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}}));const wr={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};On("\\char",(function(e){let t,n=e.popToken(),i="";if("'"===n.text)t=8,n=e.popToken();else if('"'===n.text)t=16,n=e.popToken();else if("`"===n.text)if(n=e.popToken(),"\\"===n.text[0])i=n.text.charCodeAt(1);else{if("EOF"===n.text)throw new r("\\char` missing argument");i=n.text.charCodeAt(0)}else t=10;if(t){if(i=wr[n.text],null==i||i>=t)throw new r("Invalid base-"+t+" digit "+n.text);let a;for(;null!=(a=wr[e.future().text])&&a<t;)i*=t,i+=a,e.popToken()}return"\\@char{"+i+"}"}));const Nr=(e,t,n,i)=>{let a=e.consumeArg().tokens;if(1!==a.length)throw new r("\\newcommand's first argument must be a macro name");const o=a[0].text,s=e.isDefined(o);if(s&&!t)throw new r("\\newcommand{"+o+"} attempting to redefine "+o+"; use \\renewcommand");if(!s&&!n)throw new r("\\renewcommand{"+o+"} when command "+o+" does not yet exist; use \\newcommand");let l=0;if(a=e.consumeArg().tokens,1===a.length&&"["===a[0].text){let t="",n=e.expandNextToken();for(;"]"!==n.text&&"EOF"!==n.text;)t+=n.text,n=e.expandNextToken();if(!t.match(/^\s*[0-9]+\s*$/))throw new r("Invalid number of arguments: "+t);l=parseInt(t),a=e.consumeArg().tokens}return s&&i||e.macros.set(o,{tokens:a,numArgs:l}),""};On("\\newcommand",(e=>Nr(e,!1,!0,!1))),On("\\renewcommand",(e=>Nr(e,!0,!1,!1))),On("\\providecommand",(e=>Nr(e,!0,!0,!0))),On("\\message",(e=>(e.consumeArgs(1)[0],""))),On("\\errmessage",(e=>(e.consumeArgs(1)[0],""))),On("\\show",(e=>(e.popToken().text,""))),On("\\bgroup","{"),On("\\egroup","}"),On("~","\\nobreakspace"),On("\\lq","`"),On("\\rq","'"),On("\\aa","\\r a"),On("\\AA","\\r A"),On("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}"),On("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),On("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}"),On("ℬ","\\mathscr{B}"),On("ℰ","\\mathscr{E}"),On("ℱ","\\mathscr{F}"),On("ℋ","\\mathscr{H}"),On("ℐ","\\mathscr{I}"),On("ℒ","\\mathscr{L}"),On("ℳ","\\mathscr{M}"),On("ℛ","\\mathscr{R}"),On("ℭ","\\mathfrak{C}"),On("ℌ","\\mathfrak{H}"),On("ℨ","\\mathfrak{Z}"),On("\\Bbbk","\\Bbb{k}"),On("·","\\cdotp"),On("\\llap","\\mathllap{\\textrm{#1}}"),On("\\rlap","\\mathrlap{\\textrm{#1}}"),On("\\clap","\\mathclap{\\textrm{#1}}"),On("\\mathstrut","\\vphantom{(}"),On("\\underbar","\\underline{\\text{#1}}"),On("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),On("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}"),On("\\ne","\\neq"),On("≠","\\neq"),On("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}"),On("∉","\\notin"),On("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}"),On("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}"),On("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}"),On("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}"),On("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}"),On("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}"),On("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}"),On("⟂","\\perp"),On("‼","\\mathclose{!\\mkern-0.8mu!}"),On("∌","\\notni"),On("⌜","\\ulcorner"),On("⌝","\\urcorner"),On("⌞","\\llcorner"),On("⌟","\\lrcorner"),On("©","\\copyright"),On("®","\\textregistered"),On("️","\\textregistered"),On("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),On("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),On("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),On("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),On("\\vdots","{\\varvdots\\rule{0pt}{15pt}}"),On("⋮","\\vdots"),On("\\varGamma","\\mathit{\\Gamma}"),On("\\varDelta","\\mathit{\\Delta}"),On("\\varTheta","\\mathit{\\Theta}"),On("\\varLambda","\\mathit{\\Lambda}"),On("\\varXi","\\mathit{\\Xi}"),On("\\varPi","\\mathit{\\Pi}"),On("\\varSigma","\\mathit{\\Sigma}"),On("\\varUpsilon","\\mathit{\\Upsilon}"),On("\\varPhi","\\mathit{\\Phi}"),On("\\varPsi","\\mathit{\\Psi}"),On("\\varOmega","\\mathit{\\Omega}"),On("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),On("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),On("\\boxed","\\fbox{$\\displaystyle{#1}$}"),On("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),On("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),On("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;"),On("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}"),On("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");const Or={",":"\\dotsc","\\not":"\\dotsb", +// \keybin@ checks for the following: +"+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb", +// Symbols whose definition starts with \DOTSB: +"\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb", +// Symbols whose definition starts with \mathbin: +"\\mathbin":"\\dotsb", +// Symbols whose definition starts with \mathrel: +"\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb", +// Symbols whose definition starts with \DOTSI: +"\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi", +// Symbols whose definition starts with \DOTSX: +"\\DOTSX":"\\dotsx"};On("\\dots",(function(e){let t="\\dotso";const n=e.expandAfterFuture().text;return n in Or?t=Or[n]:("\\not"===n.slice(0,4)||n in ae.math&&l.contains(["bin","rel"],ae.math[n].group))&&(t="\\dotsb"),t}));const Rr={ +// \rightdelim@ checks for the following: +")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0, +// \extra@ also tests for the following: +$:!0, +// \extrap@ checks for the following: +";":!0,".":!0,",":!0};On("\\dotso",(function(e){return e.future().text in Rr?"\\ldots\\,":"\\ldots"})),On("\\dotsc",(function(e){const t=e.future().text;return t in Rr&&","!==t?"\\ldots\\,":"\\ldots"})),On("\\cdots",(function(e){return e.future().text in Rr?"\\@cdots\\,":"\\@cdots"})),On("\\dotsb","\\cdots"),On("\\dotsm","\\cdots"),On("\\dotsi","\\!\\cdots"),On("\\dotsx","\\ldots\\,"),On("\\DOTSI","\\relax"),On("\\DOTSB","\\relax"),On("\\DOTSX","\\relax"),On("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),On("\\,","\\tmspace+{3mu}{.1667em}"),On("\\thinspace","\\,"),On("\\>","\\mskip{4mu}"),On("\\:","\\tmspace+{4mu}{.2222em}"),On("\\medspace","\\:"),On("\\;","\\tmspace+{5mu}{.2777em}"),On("\\thickspace","\\;"),On("\\!","\\tmspace-{3mu}{.1667em}"),On("\\negthinspace","\\!"),On("\\negmedspace","\\tmspace-{4mu}{.2222em}"),On("\\negthickspace","\\tmspace-{5mu}{.277em}"),On("\\enspace","\\kern.5em "),On("\\enskip","\\hskip.5em\\relax"),On("\\quad","\\hskip1em\\relax"),On("\\qquad","\\hskip2em\\relax"),On("\\tag","\\@ifstar\\tag@literal\\tag@paren"),On("\\tag@paren","\\tag@literal{({#1})}"),On("\\tag@literal",(e=>{if(e.macros.get("\\df@tag"))throw new r("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"})),On("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),On("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),On("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),On("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),On("\\newline","\\\\\\relax"),On("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");const Ir=G(A["Main-Regular"]["T".charCodeAt(0)][1]-.7*A["Main-Regular"]["A".charCodeAt(0)][1]);On("\\LaTeX","\\textrm{\\html@mathml{L\\kern-.36em\\raisebox{"+Ir+"}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}"),On("\\KaTeX","\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{"+Ir+"}{\\scriptstyle A}\\kern-.15em\\TeX}{KaTeX}}"),On("\\hspace","\\@ifstar\\@hspacer\\@hspace"),On("\\@hspace","\\hskip #1\\relax"),On("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),On("\\ordinarycolon",":"),On("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),On("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),On("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),On("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),On("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),On("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),On("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),On("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),On("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),On("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),On("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),On("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),On("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),On("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),On("∷","\\dblcolon"),On("∹","\\eqcolon"),On("≔","\\coloneqq"),On("≕","\\eqqcolon"),On("⩴","\\Coloneqq"),On("\\ratio","\\vcentcolon"),On("\\coloncolon","\\dblcolon"),On("\\colonequals","\\coloneqq"),On("\\coloncolonequals","\\Coloneqq"),On("\\equalscolon","\\eqqcolon"),On("\\equalscoloncolon","\\Eqqcolon"),On("\\colonminus","\\coloneq"),On("\\coloncolonminus","\\Coloneq"),On("\\minuscolon","\\eqcolon"),On("\\minuscoloncolon","\\Eqcolon"),On("\\coloncolonapprox","\\Colonapprox"),On("\\coloncolonsim","\\Colonsim"),On("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),On("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),On("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),On("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),On("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),On("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),On("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),On("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),On("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),On("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),On("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),On("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),On("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),On("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),On("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),On("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),On("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),On("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),On("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),On("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),On("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),On("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),On("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),On("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),On("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),On("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),On("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),On("\\imath","\\html@mathml{\\@imath}{ı}"),On("\\jmath","\\html@mathml{\\@jmath}{ȷ}"),On("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),On("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),On("⟦","\\llbracket"),On("⟧","\\rrbracket"),On("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),On("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),On("⦃","\\lBrace"),On("⦄","\\rBrace"),On("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),On("⦵","\\minuso"),On("\\darr","\\downarrow"),On("\\dArr","\\Downarrow"),On("\\Darr","\\Downarrow"),On("\\lang","\\langle"),On("\\rang","\\rangle"),On("\\uarr","\\uparrow"),On("\\uArr","\\Uparrow"),On("\\Uarr","\\Uparrow"),On("\\N","\\mathbb{N}"),On("\\R","\\mathbb{R}"),On("\\Z","\\mathbb{Z}"),On("\\alef","\\aleph"),On("\\alefsym","\\aleph"),On("\\Alpha","\\mathrm{A}"),On("\\Beta","\\mathrm{B}"),On("\\bull","\\bullet"),On("\\Chi","\\mathrm{X}"),On("\\clubs","\\clubsuit"),On("\\cnums","\\mathbb{C}"),On("\\Complex","\\mathbb{C}"),On("\\Dagger","\\ddagger"),On("\\diamonds","\\diamondsuit"),On("\\empty","\\emptyset"),On("\\Epsilon","\\mathrm{E}"),On("\\Eta","\\mathrm{H}"),On("\\exist","\\exists"),On("\\harr","\\leftrightarrow"),On("\\hArr","\\Leftrightarrow"),On("\\Harr","\\Leftrightarrow"),On("\\hearts","\\heartsuit"),On("\\image","\\Im"),On("\\infin","\\infty"),On("\\Iota","\\mathrm{I}"),On("\\isin","\\in"),On("\\Kappa","\\mathrm{K}"),On("\\larr","\\leftarrow"),On("\\lArr","\\Leftarrow"),On("\\Larr","\\Leftarrow"),On("\\lrarr","\\leftrightarrow"),On("\\lrArr","\\Leftrightarrow"),On("\\Lrarr","\\Leftrightarrow"),On("\\Mu","\\mathrm{M}"),On("\\natnums","\\mathbb{N}"),On("\\Nu","\\mathrm{N}"),On("\\Omicron","\\mathrm{O}"),On("\\plusmn","\\pm"),On("\\rarr","\\rightarrow"),On("\\rArr","\\Rightarrow"),On("\\Rarr","\\Rightarrow"),On("\\real","\\Re"),On("\\reals","\\mathbb{R}"),On("\\Reals","\\mathbb{R}"),On("\\Rho","\\mathrm{P}"),On("\\sdot","\\cdot"),On("\\sect","\\S"),On("\\spades","\\spadesuit"),On("\\sub","\\subset"),On("\\sube","\\subseteq"),On("\\supe","\\supseteq"),On("\\Tau","\\mathrm{T}"),On("\\thetasym","\\vartheta"),On("\\weierp","\\wp"),On("\\Zeta","\\mathrm{Z}"),On("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),On("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),On("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),On("\\bra","\\mathinner{\\langle{#1}|}"),On("\\ket","\\mathinner{|{#1}\\rangle}"),On("\\braket","\\mathinner{\\langle{#1}\\rangle}"),On("\\Bra","\\left\\langle#1\\right|"),On("\\Ket","\\left|#1\\right\\rangle");const Dr=e=>t=>{const n=t.consumeArg().tokens,r=t.consumeArg().tokens,i=t.consumeArg().tokens,a=t.consumeArg().tokens,o=t.macros.get("|"),s=t.macros.get("\\|");t.macros.beginGroup();const l=t=>n=>{e&&(n.macros.set("|",o),i.length&&n.macros.set("\\|",s));let a=t;return!t&&i.length&&"|"===n.future().text&&(n.popToken(),a=!0),{tokens:a?i:r,numArgs:0}};t.macros.set("|",l(!1)),i.length&&t.macros.set("\\|",l(!0));const c=t.consumeArg().tokens,u=t.expandTokens([...a,...c,...n]);return t.macros.endGroup(),{tokens:u.reverse(),numArgs:0}};On("\\bra@ket",Dr(!1)),On("\\bra@set",Dr(!0)),On("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),On("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),On("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),On("\\angln","{\\angl n}"),On("\\blue","\\textcolor{##6495ed}{#1}"),On("\\orange","\\textcolor{##ffa500}{#1}"),On("\\pink","\\textcolor{##ff00af}{#1}"),On("\\red","\\textcolor{##df0030}{#1}"),On("\\green","\\textcolor{##28ae7b}{#1}"),On("\\gray","\\textcolor{gray}{#1}"),On("\\purple","\\textcolor{##9d38bd}{#1}"),On("\\blueA","\\textcolor{##ccfaff}{#1}"),On("\\blueB","\\textcolor{##80f6ff}{#1}"),On("\\blueC","\\textcolor{##63d9ea}{#1}"),On("\\blueD","\\textcolor{##11accd}{#1}"),On("\\blueE","\\textcolor{##0c7f99}{#1}"),On("\\tealA","\\textcolor{##94fff5}{#1}"),On("\\tealB","\\textcolor{##26edd5}{#1}"),On("\\tealC","\\textcolor{##01d1c1}{#1}"),On("\\tealD","\\textcolor{##01a995}{#1}"),On("\\tealE","\\textcolor{##208170}{#1}"),On("\\greenA","\\textcolor{##b6ffb0}{#1}"),On("\\greenB","\\textcolor{##8af281}{#1}"),On("\\greenC","\\textcolor{##74cf70}{#1}"),On("\\greenD","\\textcolor{##1fab54}{#1}"),On("\\greenE","\\textcolor{##0d923f}{#1}"),On("\\goldA","\\textcolor{##ffd0a9}{#1}"),On("\\goldB","\\textcolor{##ffbb71}{#1}"),On("\\goldC","\\textcolor{##ff9c39}{#1}"),On("\\goldD","\\textcolor{##e07d10}{#1}"),On("\\goldE","\\textcolor{##a75a05}{#1}"),On("\\redA","\\textcolor{##fca9a9}{#1}"),On("\\redB","\\textcolor{##ff8482}{#1}"),On("\\redC","\\textcolor{##f9685d}{#1}"),On("\\redD","\\textcolor{##e84d39}{#1}"),On("\\redE","\\textcolor{##bc2612}{#1}"),On("\\maroonA","\\textcolor{##ffbde0}{#1}"),On("\\maroonB","\\textcolor{##ff92c6}{#1}"),On("\\maroonC","\\textcolor{##ed5fa6}{#1}"),On("\\maroonD","\\textcolor{##ca337c}{#1}"),On("\\maroonE","\\textcolor{##9e034e}{#1}"),On("\\purpleA","\\textcolor{##ddd7ff}{#1}"),On("\\purpleB","\\textcolor{##c6b9fc}{#1}"),On("\\purpleC","\\textcolor{##aa87ff}{#1}"),On("\\purpleD","\\textcolor{##7854ab}{#1}"),On("\\purpleE","\\textcolor{##543b78}{#1}"),On("\\mintA","\\textcolor{##f5f9e8}{#1}"),On("\\mintB","\\textcolor{##edf2df}{#1}"),On("\\mintC","\\textcolor{##e0e5cc}{#1}"),On("\\grayA","\\textcolor{##f6f7f7}{#1}"),On("\\grayB","\\textcolor{##f0f1f2}{#1}"),On("\\grayC","\\textcolor{##e3e5e6}{#1}"),On("\\grayD","\\textcolor{##d6d8da}{#1}"),On("\\grayE","\\textcolor{##babec2}{#1}"),On("\\grayF","\\textcolor{##888d93}{#1}"),On("\\grayG","\\textcolor{##626569}{#1}"),On("\\grayH","\\textcolor{##3b3e40}{#1}"),On("\\grayI","\\textcolor{##21242c}{#1}"),On("\\kaBlue","\\textcolor{##314453}{#1}"),On("\\kaGreen","\\textcolor{##71B307}{#1}");const Mr={"^":!0, +// Parser.js +_:!0, +// Parser.js +"\\limits":!0, +// Parser.js +"\\nolimits":!0};class Lr{constructor(e,t,n){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=t,this.expansionCount=0,this.feed(e),this.macros=new kr(Ar,t.macros),this.mode=n,this.stack=[]} +/** + * Feed a new input string to the same MacroExpander + * (with existing macros etc.). + */feed(e){this.lexer=new xr(e,this.settings)} +/** + * Switches between "text" and "math" modes. + */switchMode(e){this.mode=e} +/** + * Start a new group nesting within all namespaces. + */beginGroup(){this.macros.beginGroup()} +/** + * End current group nesting within all namespaces. + */endGroup(){this.macros.endGroup()} +/** + * Ends all currently nested groups (if any), restoring values before the + * groups began. Useful in case of an error in the middle of parsing. + */endGroups(){this.macros.endGroups()} +/** + * Returns the topmost token on the stack, without expanding it. + * Similar in behavior to TeX's `\futurelet`. + */future(){return 0===this.stack.length&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]} +/** + * Remove and return the next unexpanded token. + */popToken(){return this.future(),this.stack.pop()} +/** + * Add a given token to the token stack. In particular, this get be used + * to put back a token returned from one of the other methods. + */pushToken(e){this.stack.push(e)} +/** + * Append an array of tokens to the token stack. + */pushTokens(e){this.stack.push(...e)} +/** + * Find an macro argument without expanding tokens and append the array of + * tokens to the token stack. Uses Token as a container for the result. + */scanArgument(e){let t,n,r;if(e){if(this.consumeSpaces(),"["!==this.future().text)return null;t=this.popToken(),({tokens:r,end:n}=this.consumeArg(["]"]))}else({tokens:r,start:t,end:n}=this.consumeArg());return this.pushToken(new In("EOF",n.loc)),this.pushTokens(r),t.range(n,"")} +/** + * Consume all following space tokens, without expansion. + */consumeSpaces(){for(;" "===this.future().text;)this.stack.pop()} +/** + * Consume an argument from the token stream, and return the resulting array + * of tokens and start/end token. + */consumeArg(e){const t=[],n=e&&e.length>0;n||this.consumeSpaces();const i=this.future();let a,o=0,s=0;do{if(a=this.popToken(),t.push(a),"{"===a.text)++o;else if("}"===a.text){if(--o,-1===o)throw new r("Extra }",a)}else if("EOF"===a.text)throw new r("Unexpected end of input in a macro argument, expected '"+(e&&n?e[s]:"}")+"'",a);if(e&&n)if((0===o||1===o&&"{"===e[s])&&a.text===e[s]){if(++s,s===e.length){t.splice(-s,s);break}}else s=0}while(0!==o||n);return"{"===i.text&&"}"===t[t.length-1].text&&(t.pop(),t.shift()),t.reverse(),{tokens:t,start:i,end:a}} +/** + * Consume the specified number of (delimited) arguments from the token + * stream and return the resulting array of arguments. + */consumeArgs(e,t){if(t){if(t.length!==e+1)throw new r("The length of delimiters doesn't match the number of args!");const n=t[0];for(let e=0;e<n.length;e++){const t=this.popToken();if(n[e]!==t.text)throw new r("Use of the macro doesn't match its definition",t)}}const n=[];for(let r=0;r<e;r++)n.push(this.consumeArg(t&&t[r+1]).tokens);return n} +/** + * Increment `expansionCount` by the specified amount. + * Throw an error if it exceeds `maxExpand`. + */countExpansion(e){if(this.expansionCount+=e,this.expansionCount>this.settings.maxExpand)throw new r("Too many expansions: infinite loop or need to increase maxExpand setting")} +/** + * Expand the next token only once if possible. + * + * If the token is expanded, the resulting tokens will be pushed onto + * the stack in reverse order, and the number of such tokens will be + * returned. This number might be zero or positive. + * + * If not, the return value is `false`, and the next token remains at the + * top of the stack. + * + * In either case, the next token will be on the top of the stack, + * or the stack will be empty (in case of empty expansion + * and no other tokens). + * + * Used to implement `expandAfterFuture` and `expandNextToken`. + * + * If expandableOnly, only expandable tokens are expanded and + * an undefined control sequence results in an error. + */expandOnce(e){const t=this.popToken(),n=t.text,i=t.noexpand?null:this._getExpansion(n);if(null==i||e&&i.unexpandable){if(e&&null==i&&"\\"===n[0]&&!this.isDefined(n))throw new r("Undefined control sequence: "+n);return this.pushToken(t),!1}this.countExpansion(1);let a=i.tokens;const o=this.consumeArgs(i.numArgs,i.delimiters);if(i.numArgs){a=a.slice();for(let e=a.length-1;e>=0;--e){let t=a[e];if("#"===t.text){if(0===e)throw new r("Incomplete placeholder at end of macro body",t);if(t=a[--e],"#"===t.text)a.splice(e+1,1);else{if(!/^[1-9]$/.test(t.text))throw new r("Not a valid argument number",t);a.splice(e,2,...o[+t.text-1])}}}}return this.pushTokens(a),a.length} +/** + * Expand the next token only once (if possible), and return the resulting + * top token on the stack (without removing anything from the stack). + * Similar in behavior to TeX's `\expandafter\futurelet`. + * Equivalent to expandOnce() followed by future(). + */expandAfterFuture(){return this.expandOnce(),this.future()} +/** + * Recursively expand first token, then return first non-expandable token. + */expandNextToken(){for(;;)if(!1===this.expandOnce()){const e=this.stack.pop();return e.treatAsRelax&&(e.text="\\relax"),e}throw new Error} +/** + * Fully expand the given macro name and return the resulting list of + * tokens, or return `undefined` if no such macro is defined. + */expandMacro(e){return this.macros.has(e)?this.expandTokens([new In(e)]):void 0} +/** + * Fully expand the given token stream and return the resulting list of + * tokens. Note that the input tokens are in reverse order, but the + * output tokens are in forward order. + */expandTokens(e){const t=[],n=this.stack.length;for(this.pushTokens(e);this.stack.length>n;)if(!1===this.expandOnce(!0)){const e=this.stack.pop();e.treatAsRelax&&(e.noexpand=!1,e.treatAsRelax=!1),t.push(e)}return this.countExpansion(t.length),t} +/** + * Fully expand the given macro name and return the result as a string, + * or return `undefined` if no such macro is defined. + */expandMacroAsText(e){const t=this.expandMacro(e);return t?t.map((e=>e.text)).join(""):t} +/** + * Returns the expanded macro as a reversed array of tokens and a macro + * argument count. Or returns `null` if no such macro. + */_getExpansion(e){const t=this.macros.get(e);if(null==t)return t;if(1===e.length){const t=this.lexer.catcodes[e];if(null!=t&&13!==t)return}const n="function"==typeof t?t(this):t;if("string"==typeof n){let e=0;if(-1!==n.indexOf("#")){const t=n.replace(/##/g,"");for(;-1!==t.indexOf("#"+(e+1));)++e}const t=new xr(n,this.settings),r=[];let i=t.lex();for(;"EOF"!==i.text;)r.push(i),i=t.lex();return r.reverse(),{tokens:r,numArgs:e}}return n} +/** + * Determine whether a command is currently "defined" (has some + * functionality), meaning that it's a macro (in the current group), + * a function, a symbol, or one of the special commands listed in + * `implicitCommands`. + */isDefined(e){return this.macros.has(e)||yr.hasOwnProperty(e)||ae.math.hasOwnProperty(e)||ae.text.hasOwnProperty(e)||Mr.hasOwnProperty(e)} +/** + * Determine whether a command is expandable. + */isExpandable(e){const t=this.macros.get(e);return null!=t?"string"==typeof t||"function"==typeof t||!t.unexpandable:yr.hasOwnProperty(e)&&!yr[e].primitive}}const Pr=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,jr=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9","ₐ":"a","ₑ":"e","ₕ":"h","ᵢ":"i","ⱼ":"j","ₖ":"k","ₗ":"l","ₘ":"m","ₙ":"n","ₒ":"o","ₚ":"p","ᵣ":"r","ₛ":"s","ₜ":"t","ᵤ":"u","ᵥ":"v","ₓ":"x","ᵦ":"β","ᵧ":"γ","ᵨ":"ρ","ᵩ":"ϕ","ᵪ":"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9","ᴬ":"A","ᴮ":"B","ᴰ":"D","ᴱ":"E","ᴳ":"G","ᴴ":"H","ᴵ":"I","ᴶ":"J","ᴷ":"K","ᴸ":"L","ᴹ":"M","ᴺ":"N","ᴼ":"O","ᴾ":"P","ᴿ":"R","ᵀ":"T","ᵁ":"U","ⱽ":"V","ᵂ":"W","ᵃ":"a","ᵇ":"b","ᶜ":"c","ᵈ":"d","ᵉ":"e","ᶠ":"f","ᵍ":"g","ʰ":"h","ⁱ":"i","ʲ":"j","ᵏ":"k","ˡ":"l","ᵐ":"m","ⁿ":"n","ᵒ":"o","ᵖ":"p","ʳ":"r","ˢ":"s","ᵗ":"t","ᵘ":"u","ᵛ":"v","ʷ":"w","ˣ":"x","ʸ":"y","ᶻ":"z","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),Fr={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},Br={"á":"á","à":"à","ä":"ä","ǟ":"ǟ","ã":"ã","ā":"ā","ă":"ă","ắ":"ắ","ằ":"ằ","ẵ":"ẵ","ǎ":"ǎ","â":"â","ấ":"ấ","ầ":"ầ","ẫ":"ẫ","ȧ":"ȧ","ǡ":"ǡ","å":"å","ǻ":"ǻ","ḃ":"ḃ","ć":"ć","ḉ":"ḉ","č":"č","ĉ":"ĉ","ċ":"ċ","ç":"ç","ď":"ď","ḋ":"ḋ","ḑ":"ḑ","é":"é","è":"è","ë":"ë","ẽ":"ẽ","ē":"ē","ḗ":"ḗ","ḕ":"ḕ","ĕ":"ĕ","ḝ":"ḝ","ě":"ě","ê":"ê","ế":"ế","ề":"ề","ễ":"ễ","ė":"ė","ȩ":"ȩ","ḟ":"ḟ","ǵ":"ǵ","ḡ":"ḡ","ğ":"ğ","ǧ":"ǧ","ĝ":"ĝ","ġ":"ġ","ģ":"ģ","ḧ":"ḧ","ȟ":"ȟ","ĥ":"ĥ","ḣ":"ḣ","ḩ":"ḩ","í":"í","ì":"ì","ï":"ï","ḯ":"ḯ","ĩ":"ĩ","ī":"ī","ĭ":"ĭ","ǐ":"ǐ","î":"î","ǰ":"ǰ","ĵ":"ĵ","ḱ":"ḱ","ǩ":"ǩ","ķ":"ķ","ĺ":"ĺ","ľ":"ľ","ļ":"ļ","ḿ":"ḿ","ṁ":"ṁ","ń":"ń","ǹ":"ǹ","ñ":"ñ","ň":"ň","ṅ":"ṅ","ņ":"ņ","ó":"ó","ò":"ò","ö":"ö","ȫ":"ȫ","õ":"õ","ṍ":"ṍ","ṏ":"ṏ","ȭ":"ȭ","ō":"ō","ṓ":"ṓ","ṑ":"ṑ","ŏ":"ŏ","ǒ":"ǒ","ô":"ô","ố":"ố","ồ":"ồ","ỗ":"ỗ","ȯ":"ȯ","ȱ":"ȱ","ő":"ő","ṕ":"ṕ","ṗ":"ṗ","ŕ":"ŕ","ř":"ř","ṙ":"ṙ","ŗ":"ŗ","ś":"ś","ṥ":"ṥ","š":"š","ṧ":"ṧ","ŝ":"ŝ","ṡ":"ṡ","ş":"ş","ẗ":"ẗ","ť":"ť","ṫ":"ṫ","ţ":"ţ","ú":"ú","ù":"ù","ü":"ü","ǘ":"ǘ","ǜ":"ǜ","ǖ":"ǖ","ǚ":"ǚ","ũ":"ũ","ṹ":"ṹ","ū":"ū","ṻ":"ṻ","ŭ":"ŭ","ǔ":"ǔ","û":"û","ů":"ů","ű":"ű","ṽ":"ṽ","ẃ":"ẃ","ẁ":"ẁ","ẅ":"ẅ","ŵ":"ŵ","ẇ":"ẇ","ẘ":"ẘ","ẍ":"ẍ","ẋ":"ẋ","ý":"ý","ỳ":"ỳ","ÿ":"ÿ","ỹ":"ỹ","ȳ":"ȳ","ŷ":"ŷ","ẏ":"ẏ","ẙ":"ẙ","ź":"ź","ž":"ž","ẑ":"ẑ","ż":"ż","Á":"Á","À":"À","Ä":"Ä","Ǟ":"Ǟ","Ã":"Ã","Ā":"Ā","Ă":"Ă","Ắ":"Ắ","Ằ":"Ằ","Ẵ":"Ẵ","Ǎ":"Ǎ","Â":"Â","Ấ":"Ấ","Ầ":"Ầ","Ẫ":"Ẫ","Ȧ":"Ȧ","Ǡ":"Ǡ","Å":"Å","Ǻ":"Ǻ","Ḃ":"Ḃ","Ć":"Ć","Ḉ":"Ḉ","Č":"Č","Ĉ":"Ĉ","Ċ":"Ċ","Ç":"Ç","Ď":"Ď","Ḋ":"Ḋ","Ḑ":"Ḑ","É":"É","È":"È","Ë":"Ë","Ẽ":"Ẽ","Ē":"Ē","Ḗ":"Ḗ","Ḕ":"Ḕ","Ĕ":"Ĕ","Ḝ":"Ḝ","Ě":"Ě","Ê":"Ê","Ế":"Ế","Ề":"Ề","Ễ":"Ễ","Ė":"Ė","Ȩ":"Ȩ","Ḟ":"Ḟ","Ǵ":"Ǵ","Ḡ":"Ḡ","Ğ":"Ğ","Ǧ":"Ǧ","Ĝ":"Ĝ","Ġ":"Ġ","Ģ":"Ģ","Ḧ":"Ḧ","Ȟ":"Ȟ","Ĥ":"Ĥ","Ḣ":"Ḣ","Ḩ":"Ḩ","Í":"Í","Ì":"Ì","Ï":"Ï","Ḯ":"Ḯ","Ĩ":"Ĩ","Ī":"Ī","Ĭ":"Ĭ","Ǐ":"Ǐ","Î":"Î","İ":"İ","Ĵ":"Ĵ","Ḱ":"Ḱ","Ǩ":"Ǩ","Ķ":"Ķ","Ĺ":"Ĺ","Ľ":"Ľ","Ļ":"Ļ","Ḿ":"Ḿ","Ṁ":"Ṁ","Ń":"Ń","Ǹ":"Ǹ","Ñ":"Ñ","Ň":"Ň","Ṅ":"Ṅ","Ņ":"Ņ","Ó":"Ó","Ò":"Ò","Ö":"Ö","Ȫ":"Ȫ","Õ":"Õ","Ṍ":"Ṍ","Ṏ":"Ṏ","Ȭ":"Ȭ","Ō":"Ō","Ṓ":"Ṓ","Ṑ":"Ṑ","Ŏ":"Ŏ","Ǒ":"Ǒ","Ô":"Ô","Ố":"Ố","Ồ":"Ồ","Ỗ":"Ỗ","Ȯ":"Ȯ","Ȱ":"Ȱ","Ő":"Ő","Ṕ":"Ṕ","Ṗ":"Ṗ","Ŕ":"Ŕ","Ř":"Ř","Ṙ":"Ṙ","Ŗ":"Ŗ","Ś":"Ś","Ṥ":"Ṥ","Š":"Š","Ṧ":"Ṧ","Ŝ":"Ŝ","Ṡ":"Ṡ","Ş":"Ş","Ť":"Ť","Ṫ":"Ṫ","Ţ":"Ţ","Ú":"Ú","Ù":"Ù","Ü":"Ü","Ǘ":"Ǘ","Ǜ":"Ǜ","Ǖ":"Ǖ","Ǚ":"Ǚ","Ũ":"Ũ","Ṹ":"Ṹ","Ū":"Ū","Ṻ":"Ṻ","Ŭ":"Ŭ","Ǔ":"Ǔ","Û":"Û","Ů":"Ů","Ű":"Ű","Ṽ":"Ṽ","Ẃ":"Ẃ","Ẁ":"Ẁ","Ẅ":"Ẅ","Ŵ":"Ŵ","Ẇ":"Ẇ","Ẍ":"Ẍ","Ẋ":"Ẋ","Ý":"Ý","Ỳ":"Ỳ","Ÿ":"Ÿ","Ỹ":"Ỹ","Ȳ":"Ȳ","Ŷ":"Ŷ","Ẏ":"Ẏ","Ź":"Ź","Ž":"Ž","Ẑ":"Ẑ","Ż":"Ż","ά":"ά","ὰ":"ὰ","ᾱ":"ᾱ","ᾰ":"ᾰ","έ":"έ","ὲ":"ὲ","ή":"ή","ὴ":"ὴ","ί":"ί","ὶ":"ὶ","ϊ":"ϊ","ΐ":"ΐ","ῒ":"ῒ","ῑ":"ῑ","ῐ":"ῐ","ό":"ό","ὸ":"ὸ","ύ":"ύ","ὺ":"ὺ","ϋ":"ϋ","ΰ":"ΰ","ῢ":"ῢ","ῡ":"ῡ","ῠ":"ῠ","ώ":"ώ","ὼ":"ὼ","Ύ":"Ύ","Ὺ":"Ὺ","Ϋ":"Ϋ","Ῡ":"Ῡ","Ῠ":"Ῠ","Ώ":"Ώ","Ὼ":"Ὼ"};class Ur{constructor(e,t){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new Lr(e,t,this.mode),this.settings=t,this.leftrightDepth=0} +/** + * Checks a result to make sure it has the right type, and throws an + * appropriate error otherwise. + */expect(e,t){if(void 0===t&&(t=!0),this.fetch().text!==e)throw new r("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());t&&this.consume()} +/** + * Discards the current lookahead token, considering it consumed. + */consume(){this.nextToken=null} +/** + * Return the current lookahead token, or if there isn't one (at the + * beginning, or if the previous lookahead token was consume()d), + * fetch the next token as the new lookahead token and return it. + */fetch(){return null==this.nextToken&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken} +/** + * Switches between "text" and "math" modes. + */switchMode(e){this.mode=e,this.gullet.switchMode(e)} +/** + * Main parsing function, which parses an entire input. + */parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{const e=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),e}finally{this.gullet.endGroups()}} +/** + * Fully parse a separate sequence of tokens as a separate job. + * Tokens should be specified in reverse order, as in a MacroDefinition. + */subparse(e){const t=this.nextToken;this.consume(),this.gullet.pushToken(new In("}")),this.gullet.pushTokens(e);const n=this.parseExpression(!1);return this.expect("}"),this.nextToken=t,n} +/** + * Parses an "expression", which is a list of atoms. + * + * `breakOnInfix`: Should the parsing stop when we hit infix nodes? This + * happens when functions have higher precedence han infix + * nodes in implicit parses. + * + * `breakOnTokenText`: The text of the token that the expression should end + * with, or `null` if something else should end the + * expression. + */parseExpression(e,t){const n=[];for(;;){"math"===this.mode&&this.consumeSpaces();const r=this.fetch();if(-1!==Ur.endOfExpression.indexOf(r.text))break;if(t&&r.text===t)break;if(e&&yr[r.text]&&yr[r.text].infix)break;const i=this.parseAtom(t);if(!i)break;"internal"!==i.type&&n.push(i)}return"text"===this.mode&&this.formLigatures(n),this.handleInfixNodes(n)} +/** + * Rewrites infix operators such as \over with corresponding commands such + * as \frac. + * + * There can only be one infix operator per group. If there's more than one + * then the expression is ambiguous. This can be resolved by adding {}. + */handleInfixNodes(e){let t,n=-1;for(let i=0;i<e.length;i++)if("infix"===e[i].type){if(-1!==n)throw new r("only one infix operator per group",e[i].token);n=i,t=e[i].replaceWith}if(-1!==n&&t){let r,i;const a=e.slice(0,n),o=e.slice(n+1);let s;return r=1===a.length&&"ordgroup"===a[0].type?a[0]:{type:"ordgroup",mode:this.mode,body:a},i=1===o.length&&"ordgroup"===o[0].type?o[0]:{type:"ordgroup",mode:this.mode,body:o},s="\\\\abovefrac"===t?this.callFunction(t,[r,e[n],i],[]):this.callFunction(t,[r,i],[]),[s]}return e} +/** + * Handle a subscript or superscript with nice errors. + */handleSupSubscript(e){const t=this.fetch(),n=t.text;this.consume(),this.consumeSpaces();const i=this.parseGroup(e);if(!i)throw new r("Expected group after '"+n+"'",t);return i} +/** + * Converts the textual input of an unsupported command into a text node + * contained within a color node whose color is determined by errorColor + */formatUnsupportedCmd(e){const t=[];for(let r=0;r<e.length;r++)t.push({type:"textord",mode:"text",text:e[r]});const n={type:"text",mode:this.mode,body:t};return{type:"color",mode:this.mode,color:this.settings.errorColor,body:[n]}} +/** + * Parses a group with optional super/subscripts. + */parseAtom(e){const t=this.parseGroup("atom",e);if("text"===this.mode)return t;let n,i;for(;;){this.consumeSpaces();const e=this.fetch();if("\\limits"===e.text||"\\nolimits"===e.text){if(t&&"op"===t.type){const n="\\limits"===e.text;t.limits=n,t.alwaysHandleSupSub=!0}else{if(!t||"operatorname"!==t.type)throw new r("Limit controls must follow a math operator",e);t.alwaysHandleSupSub&&(t.limits="\\limits"===e.text)}this.consume()}else if("^"===e.text){if(n)throw new r("Double superscript",e);n=this.handleSupSubscript("superscript")}else if("_"===e.text){if(i)throw new r("Double subscript",e);i=this.handleSupSubscript("subscript")}else if("'"===e.text){if(n)throw new r("Double superscript",e);const t={type:"textord",mode:this.mode,text:"\\prime"},i=[t];for(this.consume();"'"===this.fetch().text;)i.push(t),this.consume();"^"===this.fetch().text&&i.push(this.handleSupSubscript("superscript")),n={type:"ordgroup",mode:this.mode,body:i}}else{if(!jr[e.text])break;{const t=Pr.test(e.text),r=[];for(r.push(new In(jr[e.text])),this.consume();;){const e=this.fetch().text;if(!jr[e])break;if(Pr.test(e)!==t)break;r.unshift(new In(jr[e])),this.consume()}const a=this.subparse(r);t?i={type:"ordgroup",mode:"math",body:a}:n={type:"ordgroup",mode:"math",body:a}}}}return n||i?{type:"supsub",mode:this.mode,base:t,sup:n,sub:i}:t} +/** + * Parses an entire function, including its base and all of its arguments. + */parseFunction(e,t){const n=this.fetch(),i=n.text,a=yr[i];if(!a)return null;if(this.consume(),t&&"atom"!==t&&!a.allowedInArgument)throw new r("Got function '"+i+"' with no arguments"+(t?" as "+t:""),n);if("text"===this.mode&&!a.allowedInText)throw new r("Can't use function '"+i+"' in text mode",n);if("math"===this.mode&&!1===a.allowedInMath)throw new r("Can't use function '"+i+"' in math mode",n);const{args:o,optArgs:s}=this.parseArguments(i,a);return this.callFunction(i,o,s,n,e)} +/** + * Call a function handler with a suitable context and arguments. + */callFunction(e,t,n,i,a){const o={funcName:e,parser:this,token:i,breakOnTokenText:a},s=yr[e];if(s&&s.handler)return s.handler(o,t,n);throw new r("No function handler for "+e)} +/** + * Parses the arguments of a function or environment + */parseArguments(e,t){const n=t.numArgs+t.numOptionalArgs;if(0===n)return{args:[],optArgs:[]};const i=[],a=[];for(let o=0;o<n;o++){let n=t.argTypes&&t.argTypes[o];const s=o<t.numOptionalArgs;(t.primitive&&null==n||// \sqrt expands into primitive if optional argument doesn't exist +"sqrt"===t.type&&1===o&&null==a[0])&&(n="primitive");const l=this.parseGroupOfType("argument to '"+e+"'",n,s);if(s)a.push(l);else{if(null==l)throw new r("Null argument, please report this as a bug");i.push(l)}}return{args:i,optArgs:a}} +/** + * Parses a group when the mode is changing. + */parseGroupOfType(e,t,n){switch(t){case"color":return this.parseColorGroup(n);case"size":return this.parseSizeGroup(n);case"url":return this.parseUrlGroup(n);case"math":case"text":return this.parseArgumentGroup(n,t);case"hbox":{const e=this.parseArgumentGroup(n,"text");return null!=e?{type:"styling",mode:e.mode,body:[e],style:"text"}:null}case"raw":{const e=this.parseStringGroup("raw",n);return null!=e?{type:"raw",mode:"text",string:e.text}:null}case"primitive":{if(n)throw new r("A primitive argument cannot be optional");const t=this.parseGroup(e);if(null==t)throw new r("Expected group as "+e,this.fetch());return t}case"original":case null:case void 0:return this.parseArgumentGroup(n);default:throw new r("Unknown group type as "+e,this.fetch())}} +/** + * Discard any space tokens, fetching the next non-space token. + */consumeSpaces(){for(;" "===this.fetch().text;)this.consume()} +/** + * Parses a group, essentially returning the string formed by the + * brace-enclosed tokens plus some position information. + */parseStringGroup(e,t){const n=this.gullet.scanArgument(t);if(null==n)return null;let r,i="";for(;"EOF"!==(r=this.fetch()).text;)i+=r.text,this.consume();return this.consume(),n.text=i,n} +/** + * Parses a regex-delimited group: the largest sequence of tokens + * whose concatenated strings match `regex`. Returns the string + * formed by the tokens plus some position information. + */parseRegexGroup(e,t){const n=this.fetch();let i,a=n,o="";for(;"EOF"!==(i=this.fetch()).text&&e.test(o+i.text);)a=i,o+=a.text,this.consume();if(""===o)throw new r("Invalid "+t+": '"+n.text+"'",n);return n.range(a,o)} +/** + * Parses a color description. + */parseColorGroup(e){const t=this.parseStringGroup("color",e);if(null==t)return null;const n=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(t.text);if(!n)throw new r("Invalid color: '"+t.text+"'",t);let i=n[0];return/^[0-9a-f]{6}$/i.test(i)&&(i="#"+i),{type:"color-token",mode:this.mode,color:i}} +/** + * Parses a size specification, consisting of magnitude and unit. + */parseSizeGroup(e){let t,n=!1;if(this.gullet.consumeSpaces(),t=e||"{"===this.gullet.future().text?this.parseStringGroup("size",e):this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"),!t)return null;e||0!==t.text.length||(t.text="0pt",n=!0);const i=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t.text);if(!i)throw new r("Invalid size: '"+t.text+"'",t);const a={number:+(i[1]+i[2]), +// sign + magnitude, cast to number +unit:i[3]};if(!B(a))throw new r("Invalid unit: '"+a.unit+"'",t);return{type:"size",mode:this.mode,value:a,isBlank:n}} +/** + * Parses an URL, checking escaped letters and allowed protocols, + * and setting the catcode of % as an active character (as in \hyperref). + */parseUrlGroup(e){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);const t=this.parseStringGroup("url",e);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),null==t)return null;const n=t.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:n}} +/** + * Parses an argument with the mode specified. + */parseArgumentGroup(e,t){const n=this.gullet.scanArgument(e);if(null==n)return null;const r=this.mode;t&&this.switchMode(t),this.gullet.beginGroup();const i=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();const a={type:"ordgroup",mode:this.mode,loc:n.loc,body:i};return t&&this.switchMode(r),a} +/** + * Parses an ordinary group, which is either a single nucleus (like "x") + * or an expression in braces (like "{x+y}") or an implicit group, a group + * that starts at the current position, and ends right before a higher explicit + * group ends, or at EOF. + */parseGroup(e,t){const n=this.fetch(),i=n.text;let a;if("{"===i||"\\begingroup"===i){this.consume();const e="{"===i?"}":"\\endgroup";this.gullet.beginGroup();const t=this.parseExpression(!1,e),r=this.fetch();this.expect(e),this.gullet.endGroup(),a={type:"ordgroup",mode:this.mode,loc:Rn.range(n,r),body:t, +// A group formed by \begingroup...\endgroup is a semi-simple group +// which doesn't affect spacing in math mode, i.e., is transparent. +// https://tex.stackexchange.com/questions/1930/when-should-one- +// use-begingroup-instead-of-bgroup +semisimple:"\\begingroup"===i||void 0}}else if(a=this.parseFunction(t,e)||this.parseSymbol(),null==a&&"\\"===i[0]&&!Mr.hasOwnProperty(i)){if(this.settings.throwOnError)throw new r("Undefined control sequence: "+i,n);a=this.formatUnsupportedCmd(i),this.consume()}return a} +/** + * Form ligature-like combinations of characters for text mode. + * This includes inputs like "--", "---", "``" and "''". + * The result will simply replace multiple textord nodes with a single + * character in each value by a single textord node having multiple + * characters in its value. The representation is still ASCII source. + * The group will be modified in place. + */formLigatures(e){let t=e.length-1;for(let n=0;n<t;++n){const r=e[n],i=r.text;"-"===i&&"-"===e[n+1].text&&(n+1<t&&"-"===e[n+2].text?(e.splice(n,3,{type:"textord",mode:"text",loc:Rn.range(r,e[n+2]),text:"---"}),t-=2):(e.splice(n,2,{type:"textord",mode:"text",loc:Rn.range(r,e[n+1]),text:"--"}),t-=1)),"'"!==i&&"`"!==i||e[n+1].text!==i||(e.splice(n,2,{type:"textord",mode:"text",loc:Rn.range(r,e[n+1]),text:i+i}),t-=1)}} +/** + * Parse a single symbol out of the string. Here, we handle single character + * symbols and special functions like \verb. + */parseSymbol(){const e=this.fetch();let t=e.text;if(/^\\verb[^a-zA-Z]/.test(t)){this.consume();let e=t.slice(5);const n="*"===e.charAt(0);if(n&&(e=e.slice(1)),e.length<2||e.charAt(0)!==e.slice(-1))throw new r("\\verb assertion failed --\n please report what input caused this bug");return e=e.slice(1,-1),{type:"verb",mode:"text",body:e,star:n}}Br.hasOwnProperty(t[0])&&!ae[this.mode][t[0]]&&(this.settings.strict&&"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+t[0]+'" used in math mode',e),t=Br[t[0]]+t.slice(1));const n=Tr.exec(t);let i;if(n&&(t=t.substring(0,n.index),"i"===t?t="ı":"j"===t&&(t="ȷ")),ae[this.mode][t]){this.settings.strict&&"math"===this.mode&&Ae.indexOf(t)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',e);const n=ae[this.mode][t].group,r=Rn.range(e);let a;if(ne.hasOwnProperty(n)){const e=n;a={type:"atom",mode:this.mode,family:e,loc:r,text:t}}else a={type:n,mode:this.mode,loc:r,text:t};i=a}else{if(!(t.charCodeAt(0)>=128))return null;this.settings.strict&&(T(t.charCodeAt(0))?"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+t[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+t[0]+'" ('+t.charCodeAt(0)+")",e)),i={type:"textord",mode:"text",loc:Rn.range(e),text:t}}if(this.consume(),n)for(let a=0;a<n[0].length;a++){const t=n[0][a];if(!Fr[t])throw new r("Unknown accent ' "+t+"'",e);const o=Fr[t][this.mode]||Fr[t].text;if(!o)throw new r("Accent "+t+" unsupported in "+this.mode+" mode",e);i={type:"accent",mode:this.mode,loc:Rn.range(e),label:o,isStretchy:!1,isShifty:!0, +// $FlowFixMe +base:i}}return i}}Ur.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var Gr=function(e,t){if(!("string"==typeof e||e instanceof String))throw new TypeError("KaTeX can only parse string typed expression");const n=new Ur(e,t);delete n.gullet.macros.current["\\df@tag"];let i=n.parse();if(delete n.gullet.macros.current["\\current@color"],delete n.gullet.macros.current["\\color"],n.gullet.macros.get("\\df@tag")){if(!t.displayMode)throw new r("\\tag works only in display equations");i=[{type:"tag",mode:"text",body:i,tag:n.subparse([new In("\\df@tag")])}]}return i};let zr=function(e,t,n){t.textContent="";const r=Yr(e,n).toNode();t.appendChild(r)};"undefined"!=typeof document&&"CSS1Compat"!==document.compatMode&&(zr=function(){throw new r("KaTeX doesn't work in quirks mode.")});const $r=function(e,t,n){if(n.throwOnError||!(e instanceof r))throw e;const i=Ue.makeSpan(["katex-error"],[new X(t)]);return i.setAttribute("title",e.toString()),i.setAttribute("style","color:"+n.errorColor),i},Yr=function(e,t){const n=new d(t);try{return function(e,t,n){const r=xt(n);let i;if("mathml"===n.output)return Ct(e,t,r,n.displayMode,!0);if("html"===n.output){const t=ht(e,r);i=Ue.makeSpan(["katex"],[t])}else{const a=Ct(e,t,r,n.displayMode,!1),o=ht(e,r);i=Ue.makeSpan(["katex"],[a,o])}return kt(i,n)}(Gr(e,n),e,n)}catch(r){return $r(r,e,n)}};var qr={ +/** + * Current KaTeX version + */ +version:"0.16.21", +/** + * Renders the given LaTeX into an HTML+MathML combination, and adds + * it as a child to the specified DOM node. + */ +render:zr, +/** + * Renders the given LaTeX into an HTML+MathML combination string, + * for sending to the client. + */ +renderToString:function(e,t){return Yr(e,t).toMarkup()}, +/** + * KaTeX error, usually during parsing. + */ +ParseError:r, +/** + * The schema of Settings + */ +SETTINGS_SCHEMA:c, +/** + * Parses the given LaTeX into KaTeX's internal parse tree structure, + * without rendering to HTML or MathML. + * + * NOTE: This method is not currently recommended for public use. + * The internal tree representation is unstable and is very likely + * to change. Use at your own risk. + */ +__parse:function(e,t){const n=new d(t);return Gr(e,n)}, +/** + * Renders the given LaTeX into an HTML+MathML internal DOM tree + * representation, without flattening that representation to a string. + * + * NOTE: This method is not currently recommended for public use. + * The internal tree representation is unstable and is very likely + * to change. Use at your own risk. + */ +__renderToDomTree:Yr, +/** + * Renders the given LaTeX into an HTML internal DOM tree representation, + * without MathML and without flattening that representation to a string. + * + * NOTE: This method is not currently recommended for public use. + * The internal tree representation is unstable and is very likely + * to change. Use at your own risk. + */ +__renderToHTMLTree:function(e,t){const n=new d(t);try{return function(e,t,n){const r=ht(e,xt(n)),i=Ue.makeSpan(["katex"],[r]);return kt(i,n)}(Gr(e,n),0,n)}catch(r){return $r(r,e,n)}}, +/** + * extends internal font metrics object with a new object + * each key in the new object represents a font name + */ +__setFontMetrics:function(e,t){A[e]=t}, +/** + * adds a new symbol to builtin symbols table + */ +__defineSymbol:oe, +/** + * adds a new function to builtin function list, + * which directly produce parse tree elements + * and have their own html/mathml builders + */ +__defineFunction:Qe, +/** + * adds a new macro to builtin macro list + */ +__defineMacro:On, +/** + * Expose the dom tree node types, which can be useful for type checking nodes. + * + * NOTE: These methods are not currently recommended for public use. + * The internal tree representation is unstable and is very likely + * to change. Use at your own risk. + */ +__domTree:{Span:V,Anchor:W,SymbolNode:X,SvgNode:Z,PathNode:J,LineNode:ee}};return t=t.default}()},wr.exports=e());var e}const Or=d(function(){if(Ar)return kr;Ar=1;var e=Nr();function t(e,t){var n,r,i=e.posMax,a=!0,o=!0;return n=t>0?e.src.charCodeAt(t-1):-1,r=t+1<=i?e.src.charCodeAt(t+1):-1,(32===n||9===n||r>=48&&r<=57)&&(o=!1),32!==r&&9!==r||(a=!1),{can_open:a,can_close:o}}function n(e,n){var r,i,a,o;if("$"!==e.src[e.pos])return!1;if(!t(e,e.pos).can_open)return n||(e.pending+="$"),e.pos+=1,!0;for(i=r=e.pos+1;-1!==(i=e.src.indexOf("$",i));){for(o=i-1;"\\"===e.src[o];)o-=1;if((i-o)%2==1)break;i+=1}return-1===i?(n||(e.pending+="$"),e.pos=r,!0):i-r==0?(n||(e.pending+="$$"),e.pos=r+1,!0):t(e,i).can_close?(n||((a=e.push("math_inline","math",0)).markup="$",a.content=e.src.slice(r,i)),e.pos=i+1,!0):(n||(e.pending+="$"),e.pos=r,!0)}function r(e,t,n,r){var i,a,o,s,l,c=!1,u=e.bMarks[t]+e.tShift[t],d=e.eMarks[t];if(u+2>d)return!1;if("$$"!==e.src.slice(u,u+2))return!1;if(u+=2,i=e.src.slice(u,d),r)return!0;for("$$"===i.trim().slice(-2)&&(i=i.trim().slice(0,-2),c=!0),o=t;!c&&!(++o>=n)&&!((u=e.bMarks[o]+e.tShift[o])<(d=e.eMarks[o])&&e.tShift[o]<e.blkIndent);)"$$"===e.src.slice(u,d).trim().slice(-2)&&(s=e.src.slice(0,d).lastIndexOf("$$"),a=e.src.slice(u,s),c=!0);return e.line=o+1,(l=e.push("math_block","math",0)).block=!0,l.content=(i&&i.trim()?i+"\n":"")+e.getLines(t+1,o,e.tShift[t],!0)+(a&&a.trim()?a:""),l.map=[t,e.line],l.markup="$$",!0}function i(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}return kr=function(t,a){(a=a||{}).katex&&(e=a.katex),a.blockClass||(a.blockClass="");t.inline.ruler.after("escape","math_inline",n),t.block.ruler.after("blockquote","math_block",r,{alt:["paragraph","reference","blockquote","list"]}),t.renderer.rules.math_inline=function(t,n){return function(t){a.displayMode=!1;try{return e.renderToString(t,a)}catch(n){return a.throwOnError,`<span class='katex-error' title='${i(n.toString())}'>${i(t)}</span>`}}(t[n].content)},t.renderer.rules.math_block=function(t,n){return function(t){a.displayMode=!0;try{return`<p class="katex-block ${a.blockClass}">`+e.renderToString(t,a)+"</p>"}catch(n){return a.throwOnError,`<p class='katex-block katex-error ${a.blockClass}' title='${i(n.toString())}'>${i(t)}</p>`}}(t[n].content)+"\n"}}}());var Rr,Ir,Dr,Mr,Lr,Pr,jr,Fr,Br,Ur,Gr,zr,$r,Yr,qr,Hr,Vr,Wr,Qr,Kr,Xr,Zr,Jr,ei,ti,ni,ri,ii,ai,oi,si,li,ci,ui,di,hi,pi,gi,mi,_i,bi,fi,yi,vi,Ei,Si,Ti,Ci,xi,ki,Ai,wi,Ni,Oi,Ri,Ii,Di,Mi,Li,Pi,ji,Fi,Bi,Ui,Gi,zi,$i,Yi,qi,Hi,Vi,Wi,Qi,Ki,Xi,Zi,Ji,ea,ta,na,ra,ia,aa,oa,sa,la,ca,ua,da,ha,pa,ga,ma,_a,ba,fa,ya,va,Ea,Sa,Ta,Ca,xa,ka,Aa,wa,Na,Oa,Ra,Ia,Da,Ma,La,Pa,ja,Fa,Ba,Ua,Ga,za,$a,Ya,qa,Ha,Va,Wa,Qa,Ka,Xa,Za,Ja,eo,to,no,ro,io,ao,oo,so,lo,co,uo,ho,po,go,mo,_o,bo,fo,yo,vo,Eo,So,To,Co,xo,ko,Ao,wo,No,Oo,Ro,Io,Do,Mo,Lo,Po,jo,Fo,Bo,Uo,Go,zo,$o,Yo,qo,Ho,Vo,Wo,Qo,Ko,Xo,Zo,Jo,es,ts,ns,rs,is,as,os,ss,ls,cs,us,ds,hs,ps,gs,ms,_s,bs,fs,ys,vs,Es,Ss,Ts,Cs,xs,ks,As,ws,Ns,Os,Rs,Is,Ds,Ms,Ls,Ps,js,Fs,Bs,Us,Gs,zs,$s,Ys,qs,Hs,Vs,Ws,Qs,Ks,Xs,Zs,Js,el,tl,nl,rl,il,al,ol,sl,ll,cl,ul,dl,hl,pl,gl,ml,_l,bl,fl,yl,vl,El,Sl,Tl,Cl,xl,kl,Al,wl,Nl,Ol,Rl,Il,Dl,Ml,Ll,Pl,jl,Fl,Bl,Ul,Gl,zl,$l,Yl,ql,Hl,Vl,Wl,Ql,Kl,Xl,Zl,Jl,ec,tc,nc,rc,ic,ac,oc,sc,lc,cc,uc,dc,hc,pc,gc,mc,_c,bc,fc,yc,vc,Ec,Sc,Tc,Cc,xc,kc,Ac,wc,Nc,Oc,Rc,Ic,Dc,Mc,Lc,Pc,jc,Fc,Bc,Uc,Gc,zc,$c,Yc,qc,Hc,Vc,Wc,Qc,Kc,Xc,Zc,Jc,eu,tu,nu,ru,iu,au,ou,su,lu,cu,uu,du,hu,pu,gu,mu,_u,bu,fu,yu,vu,Eu,Su,Tu,Cu,xu,ku,Au,wu,Nu,Ou,Ru,Iu,Du,Mu,Lu,Pu,ju,Fu,Bu,Uu,Gu,zu,$u,Yu,qu,Hu,Vu;function Wu(){if(Ir)return Rr;function e(t){return t instanceof Map?t.clear=t.delete=t.set=function(){throw new Error("map is read-only")}:t instanceof Set&&(t.add=t.clear=t.delete=function(){throw new Error("set is read-only")}),Object.freeze(t),Object.getOwnPropertyNames(t).forEach((n=>{const r=t[n],i=typeof r;"object"!==i&&"function"!==i||Object.isFrozen(r)||e(r)})),t}Ir=1;class t{ +/** + * @param {CompiledMode} mode + */ +constructor(e){void 0===e.data&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function n(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function r(e,...t){const n=Object.create(null);for(const r in e)n[r]=e[r];return t.forEach((function(e){for(const t in e)n[t]=e[t]})), +/** @type {T} */n}const i=e=>!!e.scope;class a{ +/** + * Creates a new HTMLRenderer + * + * @param {Tree} parseTree - the parse tree (must support `walk` API) + * @param {{classPrefix: string}} options + */ +constructor(e,t){this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)} +/** + * Adds texts to the output stream + * + * @param {string} text */addText(e){this.buffer+=n(e)} +/** + * Adds a node open to the output stream (if needed) + * + * @param {Node} node */openNode(e){if(!i(e))return;const t=((e,{prefix:t})=>{if(e.startsWith("language:"))return e.replace("language:","language-");if(e.includes(".")){const n=e.split(".");return[`${t}${n.shift()}`,...n.map(((e,t)=>`${e}${"_".repeat(t+1)}`))].join(" ")}return`${t}${e}`})(e.scope,{prefix:this.classPrefix});this.span(t)} +/** + * Adds a node close to the output stream (if needed) + * + * @param {Node} node */closeNode(e){i(e)&&(this.buffer+="</span>")} +/** + * returns the accumulated buffer + */value(){return this.buffer} +// helpers +/** + * Builds a span element + * + * @param {string} className */ +span(e){this.buffer+=`<span class="${e}">`}}const o=(e={})=>{const t={children:[]};return Object.assign(t,e),t};class s{constructor(){this.rootNode=o(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode} +/** @param {Node} node */add(e){this.top.children.push(e)} +/** @param {string} scope */openNode(e){const t=o({scope:e});this.add(t),this.stack.push(t)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)} +/** + * @typedef { import("./html_renderer").Renderer } Renderer + * @param {Renderer} builder + */walk(e){return this.constructor._walk(e,this.rootNode)} +/** + * @param {Renderer} builder + * @param {Node} node + */static _walk(e,t){return"string"==typeof t?e.addText(t):t.children&&(e.openNode(t),t.children.forEach((t=>this._walk(e,t))),e.closeNode(t)),e} +/** + * @param {Node} node + */static _collapse(e){"string"!=typeof e&&e.children&&(e.children.every((e=>"string"==typeof e))?e.children=[e.children.join("")]:e.children.forEach((e=>{s._collapse(e)})))}}class l extends s{ +/** + * @param {*} options + */ +constructor(e){super(),this.options=e} +/** + * @param {string} text + */addText(e){""!==e&&this.add(e)} +/** @param {string} scope */startScope(e){this.openNode(e)}endScope(){this.closeNode()} +/** + * @param {Emitter & {root: DataNode}} emitter + * @param {string} name + */__addSublanguage(e,t){const n=e.root;t&&(n.scope=`language:${t}`),this.add(n)}toHTML(){return new a(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function c(e){return e?"string"==typeof e?e:e.source:null}function u(e){return p("(?=",e,")")}function d(e){return p("(?:",e,")*")}function h(e){return p("(?:",e,")?")}function p(...e){return e.map((e=>c(e))).join("")}function g(...e){const t=function(e){const t=e[e.length-1];return"object"==typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}(e);return"("+(t.capture?"":"?:")+e.map((e=>c(e))).join("|")+")"}function m(e){return new RegExp(e.toString()+"|").exec("").length-1}const _=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function b(e,{joinWith:t}){let n=0;return e.map((e=>{n+=1;const t=n;let r=c(e),i="";for(;r.length>0;){const e=_.exec(r);if(!e){i+=r;break}i+=r.substring(0,e.index),r=r.substring(e.index+e[0].length),"\\"===e[0][0]&&e[1]?i+="\\"+String(Number(e[1])+t):(i+=e[0],"("===e[0]&&n++)}return i})).map((e=>`(${e})`)).join(t)}const f="[a-zA-Z]\\w*",y="[a-zA-Z_]\\w*",v="\\b\\d+(\\.\\d+)?",E="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",S="\\b(0b[01]+)",T={begin:"\\\\[\\s\\S]",relevance:0},C={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[T]},x={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[T]},k=function(e,t,n={}){const i=r({scope:"comment",begin:e,end:t,contains:[]},n);i.contains.push({scope:"doctag", +// hack to avoid the space from being included. the space is necessary to +// match here to prevent the plain text rule below from gobbling up doctags +begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const a=g( +// list of common 1 and 2 letter words in English +"I","a","is","so","us","to","at","if","in","it","on", +// note: this is not an exhaustive list of contractions, just popular ones +/[A-Za-z]+['](d|ve|re|ll|t|s|n)/, +// contractions - can't we'd they're let's, etc +/[A-Za-z]+[-][a-z]+/, +// `no-way`, etc. +/[A-Za-z][a-z]{2,}/);return i.contains.push({ +// TODO: how to include ", (, ) without breaking grammars that use these for +// comment delimiters? +// begin: /[ ]+([()"]?([A-Za-z'-]{3,}|is|a|I|so|us|[tT][oO]|at|if|in|it|on)[.]?[()":]?([.][ ]|[ ]|\))){3}/ +// --- +// this tries to find sequences of 3 english words in a row (without any +// "programming" type syntax) this gives us a strong signal that we've +// TRULY found a comment - vs perhaps scanning with the wrong language. +// It's possible to find something that LOOKS like the start of the +// comment - but then if there is no readable text - good chance it is a +// false match and not a comment. +// for a visual example please see: +// https://github.com/highlightjs/highlight.js/issues/2827 +begin:p(/[ ]+/, +// necessary to prevent us gobbling up doctags like /* @author Bob Mcgill */ +"(",a,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),i},A=k("//","$"),w=k("/\\*","\\*/"),N=k("#","$"),O={scope:"number",begin:v,relevance:0},R={scope:"number",begin:E,relevance:0},I={scope:"number",begin:S,relevance:0},D={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[T,{begin:/\[/,end:/\]/,relevance:0,contains:[T]}]},M={scope:"title",begin:f,relevance:0},L={scope:"title",begin:y,relevance:0},P={ +// excludes method names from keyword processing +begin:"\\.\\s*"+y,relevance:0};var j=Object.freeze({__proto__:null,APOS_STRING_MODE:C,BACKSLASH_ESCAPE:T,BINARY_NUMBER_MODE:I,BINARY_NUMBER_RE:S,COMMENT:k,C_BLOCK_COMMENT_MODE:w,C_LINE_COMMENT_MODE:A,C_NUMBER_MODE:R,C_NUMBER_RE:E,END_SAME_AS_BEGIN:function(e){return Object.assign(e,{ +/** @type {ModeCallback} */ +"on:begin":(e,t)=>{t.data._beginMatch=e[1]}, +/** @type {ModeCallback} */ +"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})},HASH_COMMENT_MODE:N,IDENT_RE:f,MATCH_NOTHING_RE:/\b\B/,METHOD_GUARD:P,NUMBER_MODE:O,NUMBER_RE:v,PHRASAL_WORDS_MODE:{begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},QUOTE_STRING_MODE:x,REGEXP_MODE:D,RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=p(t,/.*\b/,e.binary,/\b.*/)),r({scope:"meta",begin:t,end:/$/,relevance:0, +/** @type {ModeCallback} */ +"on:begin":(e,t)=>{0!==e.index&&t.ignoreMatch()}},e)},TITLE_MODE:M,UNDERSCORE_IDENT_RE:y,UNDERSCORE_TITLE_MODE:L});function F(e,t){"."===e.input[e.index-1]&&t.ignoreMatch()}function B(e,t){void 0!==e.className&&(e.scope=e.className,delete e.className)}function U(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=F,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,void 0===e.relevance&&(e.relevance=0))}function G(e,t){Array.isArray(e.illegal)&&(e.illegal=g(...e.illegal))}function z(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function $(e,t){void 0===e.relevance&&(e.relevance=1)}const Y=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw new Error("beforeMatch cannot be used with starts");const n=Object.assign({},e);Object.keys(e).forEach((t=>{delete e[t]})),e.keywords=n.keywords,e.begin=p(n.beforeMatch,u(n.begin)),e.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},e.relevance=0,delete n.beforeMatch},q=["of","and","for","in","not","or","if","then","parent", +// common variable name +"list", +// common variable name +"value"];function H(e,t,n="keyword"){const r=Object.create(null);return"string"==typeof e?i(n,e.split(" ")):Array.isArray(e)?i(n,e):Object.keys(e).forEach((function(n){Object.assign(r,H(e[n],t,n))})),r;function i(e,n){t&&(n=n.map((e=>e.toLowerCase()))),n.forEach((function(t){const n=t.split("|");r[n[0]]=[e,V(n[0],n[1])]}))}}function V(e,t){return t?Number(t):function(e){return q.includes(e.toLowerCase())}(e)?0:1}const W={},Q=(e,t)=>{W[`${e}/${t}`]||(W[`${e}/${t}`]=!0)},K=new Error;function X(e,t,{key:n}){let r=0;const i=e[n],a={},o={};for(let s=1;s<=t.length;s++)o[s+r]=i[s],a[s+r]=!0,r+=m(t[s-1]);e[n]=o,e[n]._emit=a,e[n]._multi=!0}function Z(e){!function(e){e.scope&&"object"==typeof e.scope&&null!==e.scope&&(e.beginScope=e.scope,delete e.scope)}(e),"string"==typeof e.beginScope&&(e.beginScope={_wrap:e.beginScope}),"string"==typeof e.endScope&&(e.endScope={_wrap:e.endScope}),function(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw K;if("object"!=typeof e.beginScope||null===e.beginScope)throw K;X(e,e.begin,{key:"beginScope"}),e.begin=b(e.begin,{joinWith:""})}}(e),function(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw K;if("object"!=typeof e.endScope||null===e.endScope)throw K;X(e,e.end,{key:"endScope"}),e.end=b(e.end,{joinWith:""})}}(e)}function J(e){function t(t,n){return new RegExp(c(t),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(n?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0} +// @ts-ignore +addRule(e,t){t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]),this.matchAt+=m(e)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const e=this.regexes.map((e=>e[1]));this.matcherRe=t(b(e,{joinWith:"|"}),!0),this.lastIndex=0} +/** @param {string} s */exec(e){this.matcherRe.lastIndex=this.lastIndex;const t=this.matcherRe.exec(e);if(!t)return null;const n=t.findIndex(((e,t)=>t>0&&void 0!==e)),r=this.matchIndexes[n];return t.splice(0,n),Object.assign(t,r)}}class i{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0} +// @ts-ignore +getMatcher(e){if(this.multiRegexes[e])return this.multiRegexes[e];const t=new n;return this.rules.slice(e).forEach((([e,n])=>t.addRule(e,n))),t.compile(),this.multiRegexes[e]=t,t}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0} +// @ts-ignore +addRule(e,t){this.rules.push([e,t]),"begin"===t.type&&this.count++} +/** @param {string} s */exec(e){const t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex;let n=t.exec(e);if(this.resumingScanAtSamePosition())if(n&&n.index===this.lastIndex);else{const t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,n=t.exec(e)}return n&&(this.regexIndex+=n.position+1,this.regexIndex===this.count&&this.considerAll()),n}}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=r(e.classNameAliases||{}),function n(a,o){const s= +/** @type CompiledMode */a;if(a.isCompiled)return s;[B, +// do this early so compiler extensions generally don't have to worry about +// the distinction between match/begin +z,Z,Y].forEach((e=>e(a,o))),e.compilerExtensions.forEach((e=>e(a,o))),a.__beforeBegin=null,[U, +// do this later so compiler extensions that come earlier have access to the +// raw array if they wanted to perhaps manipulate it, etc. +G, +// default to 1 relevance if not specified +$].forEach((e=>e(a,o))),a.isCompiled=!0;let l=null;return"object"==typeof a.keywords&&a.keywords.$pattern&&(a.keywords=Object.assign({},a.keywords),l=a.keywords.$pattern,delete a.keywords.$pattern),l=l||/\w+/,a.keywords&&(a.keywords=H(a.keywords,e.case_insensitive)),s.keywordPatternRe=t(l,!0),o&&(a.begin||(a.begin=/\B|\b/),s.beginRe=t(s.begin),a.end||a.endsWithParent||(a.end=/\B|\b/),a.end&&(s.endRe=t(s.end)),s.terminatorEnd=c(s.end)||"",a.endsWithParent&&o.terminatorEnd&&(s.terminatorEnd+=(a.end?"|":"")+o.terminatorEnd)),a.illegal&&(s.illegalRe=t( +/** @type {RegExp | string} */ +a.illegal)),a.contains||(a.contains=[]),a.contains=[].concat(...a.contains.map((function(e){return function(e){e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map((function(t){return r(e,{variants:null},t)})));if(e.cachedVariants)return e.cachedVariants;if(ee(e))return r(e,{starts:e.starts?r(e.starts):null});if(Object.isFrozen(e))return r(e);return e}("self"===e?a:e)}))),a.contains.forEach((function(e){n( +/** @type Mode */ +e,s)})),a.starts&&n(a.starts,o),s.matcher=function(e){const t=new i;return e.contains.forEach((e=>t.addRule(e.begin,{rule:e,type:"begin"}))),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:"end"}),e.illegal&&t.addRule(e.illegal,{type:"illegal"}),t}(s),s}( +/** @type Mode */ +e)}function ee(e){return!!e&&(e.endsWithParent||ee(e.starts))}class te extends Error{constructor(e,t){super(e),this.name="HTMLInjectionError",this.html=t}}const ne=n,re=r,ie=Symbol("nomatch"),ae=function(n){const r=Object.create(null),i=Object.create(null),a=[];let o=!0;const s="Could not find the language '{}', did you forget to load/include a language module?",c={disableAutodetect:!0,name:"Plain text",contains:[]};let m={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null, +// beta configuration options, subject to change, welcome to discuss +// https://github.com/highlightjs/highlight.js/issues/1086 +__emitter:l};function _(e){return m.noHighlightRe.test(e)}function b(e,t,n){let r="",i="";"object"==typeof t?(r=e,n=t.ignoreIllegals,i=t.language):(Q("10.7.0","highlight(lang, code, ...args) has been deprecated."),Q("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),i=e,r=t),void 0===n&&(n=!0);const a={code:r,language:i};k("before:highlight",a);const o=a.result?a.result:f(a.language,a.code,n);return o.code=a.code,k("after:highlight",o),o}function f(e,n,i,a){const l=Object.create(null);function c(){if(!k.keywords)return void w.addText(N);let e=0;k.keywordPatternRe.lastIndex=0;let t=k.keywordPatternRe.exec(N),n="";for(;t;){n+=N.substring(e,t.index);const i=S.case_insensitive?t[0].toLowerCase():t[0],a=(r=i,k.keywords[r]);if(a){const[e,r]=a;if(w.addText(n),n="",l[i]=(l[i]||0)+1,l[i]<=7&&(O+=r),e.startsWith("_"))n+=t[0];else{const n=S.classNameAliases[e]||e;d(t[0],n)}}else n+=t[0];e=k.keywordPatternRe.lastIndex,t=k.keywordPatternRe.exec(N)}var r;n+=N.substring(e),w.addText(n)}function u(){null!=k.subLanguage?function(){if(""===N)return;let e=null;if("string"==typeof k.subLanguage){if(!r[k.subLanguage])return void w.addText(N);e=f(k.subLanguage,N,!0,A[k.subLanguage]),A[k.subLanguage]=/** @type {CompiledMode} */ +e._top}else e=y(N,k.subLanguage.length?k.subLanguage:null);k.relevance>0&&(O+=e.relevance),w.__addSublanguage(e._emitter,e.language)}():c(),N=""}function d(e,t){""!==e&&(w.startScope(t),w.addText(e),w.endScope())}function h(e,t){let n=1;const r=t.length-1;for(;n<=r;){if(!e._emit[n]){n++;continue}const r=S.classNameAliases[e[n]]||e[n],i=t[n];r?d(i,r):(N=i,c(),N=""),n++}}function p(e,t){return e.scope&&"string"==typeof e.scope&&w.openNode(S.classNameAliases[e.scope]||e.scope),e.beginScope&&(e.beginScope._wrap?(d(N,S.classNameAliases[e.beginScope._wrap]||e.beginScope._wrap),N=""):e.beginScope._multi&&(h(e.beginScope,t),N="")),k=Object.create(e,{parent:{value:k}}),k}function g(e,n,r){let i=function(e,t){const n=e&&e.exec(t);return n&&0===n.index}(e.endRe,r);if(i){if(e["on:end"]){const r=new t(e);e["on:end"](n,r),r.isMatchIgnored&&(i=!1)}if(i){for(;e.endsParent&&e.parent;)e=e.parent;return e}}if(e.endsWithParent)return g(e.parent,n,r)}function _(e){return 0===k.matcher.regexIndex?(N+=e[0],1):(D=!0,0)}function b(e){const t=e[0],r=n.substring(e.index),i=g(k,e,r);if(!i)return ie;const a=k;k.endScope&&k.endScope._wrap?(u(),d(t,k.endScope._wrap)):k.endScope&&k.endScope._multi?(u(),h(k.endScope,e)):a.skip?N+=t:(a.returnEnd||a.excludeEnd||(N+=t),u(),a.excludeEnd&&(N=t));do{k.scope&&w.closeNode(),k.skip||k.subLanguage||(O+=k.relevance),k=k.parent}while(k!==i.parent);return i.starts&&p(i.starts,e),a.returnEnd?0:t.length}let v={};function E(r,a){const s=a&&a[0];if(N+=r,null==s)return u(),0;if("begin"===v.type&&"end"===a.type&&v.index===a.index&&""===s){if(N+=n.slice(a.index,a.index+1),!o){const t=new Error(`0 width match regex (${e})`);throw t.languageName=e,t.badRule=v.rule,t}return 1}if(v=a,"begin"===a.type)return function(e){const n=e[0],r=e.rule,i=new t(r),a=[r.__beforeBegin,r["on:begin"]];for(const t of a)if(t&&(t(e,i),i.isMatchIgnored))return _(n);return r.skip?N+=n:(r.excludeBegin&&(N+=n),u(),r.returnBegin||r.excludeBegin||(N=n)),p(r,e),r.returnBegin?0:n.length}(a);if("illegal"===a.type&&!i){const e=new Error('Illegal lexeme "'+s+'" for mode "'+(k.scope||"<unnamed>")+'"');throw e.mode=k,e}if("end"===a.type){const e=b(a);if(e!==ie)return e}if("illegal"===a.type&&""===s)return N+="\n",1;if(I>1e5&&I>3*a.index){throw new Error("potential infinite loop, way more iterations than matches")}return N+=s,s.length}const S=T(e);if(!S)throw s.replace("{}",e),new Error('Unknown language: "'+e+'"');const C=J(S);let x="",k=a||C;const A={},w=new m.__emitter(m);!function(){const e=[];for(let t=k;t!==S;t=t.parent)t.scope&&e.unshift(t.scope);e.forEach((e=>w.openNode(e)))}();let N="",O=0,R=0,I=0,D=!1;try{if(S.__emitTokens)S.__emitTokens(n,w);else{for(k.matcher.considerAll();;){I++,D?D=!1:k.matcher.considerAll(),k.matcher.lastIndex=R;const e=k.matcher.exec(n);if(!e)break;const t=E(n.substring(R,e.index),e);R=e.index+t}E(n.substring(R))}return w.finalize(),x=w.toHTML(),{language:e,value:x,relevance:O,illegal:!1,_emitter:w,_top:k}}catch(M){if(M.message&&M.message.includes("Illegal"))return{language:e,value:ne(n),illegal:!0,relevance:0,_illegalBy:{message:M.message,index:R,context:n.slice(R-100,R+100),mode:M.mode,resultSoFar:x},_emitter:w};if(o)return{language:e,value:ne(n),illegal:!1,relevance:0,errorRaised:M,_emitter:w,_top:k};throw M}}function y(e,t){t=t||m.languages||Object.keys(r);const n=function(e){const t={value:ne(e),illegal:!1,relevance:0,_top:c,_emitter:new m.__emitter(m)};return t._emitter.addText(e),t}(e),i=t.filter(T).filter(x).map((t=>f(t,e,!1)));i.unshift(n);const a=i.sort(((e,t)=>{if(e.relevance!==t.relevance)return t.relevance-e.relevance;if(e.language&&t.language){if(T(e.language).supersetOf===t.language)return 1;if(T(t.language).supersetOf===e.language)return-1}return 0})),[o,s]=a,l=o;return l.secondBest=s,l}function v(e){let t=null;const n=function(e){let t=e.className+" ";t+=e.parentNode?e.parentNode.className:"";const n=m.languageDetectRe.exec(t);if(n){const e=T(n[1]);return e||s.replace("{}",n[1]),e?n[1]:"no-highlight"}return t.split(/\s+/).find((e=>_(e)||T(e)))}(e);if(_(n))return;if(k("before:highlightElement",{el:e,language:n}),e.dataset.highlighted)return;if(e.children.length>0&&(m.ignoreUnescapedHTML,m.throwUnescapedHTML)){throw new te("One of your code blocks includes unescaped HTML.",e.innerHTML)}t=e;const r=t.textContent,a=n?b(r,{language:n,ignoreIllegals:!0}):y(r);e.innerHTML=a.value,e.dataset.highlighted="yes",function(e,t,n){const r=t&&i[t]||n;e.classList.add("hljs"),e.classList.add(`language-${r}`)}(e,n,a.language),e.result={language:a.language, +// TODO: remove with version 11.0 +re:a.relevance,relevance:a.relevance},a.secondBest&&(e.secondBest={language:a.secondBest.language,relevance:a.secondBest.relevance}),k("after:highlightElement",{el:e,result:a,text:r})}let E=!1;function S(){if("loading"===document.readyState)return E||window.addEventListener("DOMContentLoaded",(function(){S()}),!1),void(E=!0);document.querySelectorAll(m.cssSelector).forEach(v)}function T(e){return e=(e||"").toLowerCase(),r[e]||r[i[e]]}function C(e,{languageName:t}){"string"==typeof e&&(e=[e]),e.forEach((e=>{i[e.toLowerCase()]=t}))}function x(e){const t=T(e);return t&&!t.disableAutodetect}function k(e,t){const n=e;a.forEach((function(e){e[n]&&e[n](t)}))}Object.assign(n,{highlight:b,highlightAuto:y,highlightAll:S,highlightElement:v, +// TODO: Remove with v12 API +highlightBlock:function(e){return Q("10.7.0","highlightBlock will be removed entirely in v12.0"),Q("10.7.0","Please use highlightElement now."),v(e)},configure:function(e){m=re(m,e)},initHighlighting:()=>{S(),Q("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")},initHighlightingOnLoad:function(){S(),Q("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")},registerLanguage:function(e,t){let i=null;try{i=t(n)}catch(a){if("Language definition for '{}' could not be registered.".replace("{}",e),!o)throw a;i=c}i.name||(i.name=e),r[e]=i,i.rawDefinition=t.bind(null,n),i.aliases&&C(i.aliases,{languageName:e})},unregisterLanguage:function(e){delete r[e];for(const t of Object.keys(i))i[t]===e&&delete i[t]},listLanguages:function(){return Object.keys(r)},getLanguage:T,registerAliases:C,autoDetection:x,inherit:re,addPlugin:function(e){!function(e){e["before:highlightBlock"]&&!e["before:highlightElement"]&&(e["before:highlightElement"]=t=>{e["before:highlightBlock"](Object.assign({block:t.el},t))}),e["after:highlightBlock"]&&!e["after:highlightElement"]&&(e["after:highlightElement"]=t=>{e["after:highlightBlock"](Object.assign({block:t.el},t))})}(e),a.push(e)},removePlugin:function(e){const t=a.indexOf(e);-1!==t&&a.splice(t,1)}}),n.debugMode=function(){o=!1},n.safeMode=function(){o=!0},n.versionString="11.11.1",n.regex={concat:p,lookahead:u,either:g,optional:h,anyNumberOfTimes:d};for(const t in j)"object"==typeof j[t]&&e(j[t]);return Object.assign(n,j),n},oe=ae({});return oe.newInstance=()=>ae({}),Rr=oe,oe.HighlightJS=oe,oe.default=oe,Rr}function Qu(){if(Mr)return Dr;return Mr=1,Dr=function(e){const t="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]+",n="далее возврат вызватьисключение выполнить для если и из или иначе иначеесли исключение каждого конецесли конецпопытки конеццикла не новый перейти перем по пока попытка прервать продолжить тогда цикл экспорт ",r="null истина ложь неопределено",i=e.inherit(e.NUMBER_MODE),a={className:"string",begin:'"|\\|',end:'"|$',contains:[{begin:'""'}]},o={begin:"'",end:"'",excludeBegin:!0,excludeEnd:!0,contains:[{className:"number",begin:"\\d{4}([\\.\\\\/:-]?\\d{2}){0,5}"}]},s=e.inherit(e.C_LINE_COMMENT_MODE);return{name:"1C:Enterprise",case_insensitive:!0,keywords:{$pattern:t,keyword:n,built_in:"разделительстраниц разделительстрок символтабуляции ansitooem oemtoansi ввестивидсубконто ввестиперечисление ввестипериод ввестиплансчетов выбранныйплансчетов датагод датамесяц датачисло заголовоксистемы значениевстроку значениеизстроки каталогиб каталогпользователя кодсимв конгода конецпериодаби конецрассчитанногопериодаби конецстандартногоинтервала конквартала конмесяца коннедели лог лог10 максимальноеколичествосубконто названиеинтерфейса названиенабораправ назначитьвид назначитьсчет найтиссылки началопериодаби началостандартногоинтервала начгода начквартала начмесяца начнедели номерднягода номерднянедели номернеделигода обработкаожидания основнойжурналрасчетов основнойплансчетов основнойязык очиститьокносообщений периодстр получитьвремята получитьдатута получитьдокументта получитьзначенияотбора получитьпозициюта получитьпустоезначение получитьта префиксавтонумерации пропись пустоезначение разм разобратьпозициюдокумента рассчитатьрегистрына рассчитатьрегистрыпо симв создатьобъект статусвозврата стрколичествострок сформироватьпозициюдокумента счетпокоду текущеевремя типзначения типзначениястр установитьтана установитьтапо фиксшаблон шаблон acos asin atan base64значение base64строка cos exp log log10 pow sin sqrt tan xmlзначение xmlстрока xmlтип xmlтипзнч активноеокно безопасныйрежим безопасныйрежимразделенияданных булево ввестидату ввестизначение ввестистроку ввестичисло возможностьчтенияxml вопрос восстановитьзначение врег выгрузитьжурналрегистрации выполнитьобработкуоповещения выполнитьпроверкуправдоступа вычислить год данныеформывзначение дата день деньгода деньнедели добавитьмесяц заблокироватьданныедляредактирования заблокироватьработупользователя завершитьработусистемы загрузитьвнешнююкомпоненту закрытьсправку записатьjson записатьxml записатьдатуjson записьжурналарегистрации заполнитьзначениясвойств запроситьразрешениепользователя запуститьприложение запуститьсистему зафиксироватьтранзакцию значениевданныеформы значениевстрокувнутр значениевфайл значениезаполнено значениеизстрокивнутр значениеизфайла изxmlтипа импортмоделиxdto имякомпьютера имяпользователя инициализироватьпредопределенныеданные информацияобошибке каталогбиблиотекимобильногоустройства каталогвременныхфайлов каталогдокументов каталогпрограммы кодироватьстроку кодлокализацииинформационнойбазы кодсимвола командасистемы конецгода конецдня конецквартала конецмесяца конецминуты конецнедели конецчаса конфигурациябазыданныхизмененадинамически конфигурацияизменена копироватьданныеформы копироватьфайл краткоепредставлениеошибки лев макс местноевремя месяц мин минута монопольныйрежим найти найтинедопустимыесимволыxml найтиокнопонавигационнойссылке найтипомеченныенаудаление найтипоссылкам найтифайлы началогода началодня началоквартала началомесяца началоминуты началонедели началочаса начатьзапросразрешенияпользователя начатьзапускприложения начатькопированиефайла начатьперемещениефайла начатьподключениевнешнейкомпоненты начатьподключениерасширенияработыскриптографией начатьподключениерасширенияработысфайлами начатьпоискфайлов начатьполучениекаталогавременныхфайлов начатьполучениекаталогадокументов начатьполучениерабочегокаталогаданныхпользователя начатьполучениефайлов начатьпомещениефайла начатьпомещениефайлов начатьсозданиедвоичныхданныхизфайла начатьсозданиекаталога начатьтранзакцию начатьудалениефайлов начатьустановкувнешнейкомпоненты начатьустановкурасширенияработыскриптографией начатьустановкурасширенияработысфайлами неделягода необходимостьзавершениясоединения номерсеансаинформационнойбазы номерсоединенияинформационнойбазы нрег нстр обновитьинтерфейс обновитьнумерациюобъектов обновитьповторноиспользуемыезначения обработкапрерыванияпользователя объединитьфайлы окр описаниеошибки оповестить оповеститьобизменении отключитьобработчикзапросанастроекклиенталицензирования отключитьобработчикожидания отключитьобработчикоповещения открытьзначение открытьиндекссправки открытьсодержаниесправки открытьсправку открытьформу открытьформумодально отменитьтранзакцию очиститьжурналрегистрации очиститьнастройкипользователя очиститьсообщения параметрыдоступа перейтипонавигационнойссылке переместитьфайл подключитьвнешнююкомпоненту подключитьобработчикзапросанастроекклиенталицензирования подключитьобработчикожидания подключитьобработчикоповещения подключитьрасширениеработыскриптографией подключитьрасширениеработысфайлами подробноепредставлениеошибки показатьвводдаты показатьвводзначения показатьвводстроки показатьвводчисла показатьвопрос показатьзначение показатьинформациюобошибке показатьнакарте показатьоповещениепользователя показатьпредупреждение полноеимяпользователя получитьcomобъект получитьxmlтип получитьадреспоместоположению получитьблокировкусеансов получитьвремязавершенияспящегосеанса получитьвремязасыпанияпассивногосеанса получитьвремяожиданияблокировкиданных получитьданныевыбора получитьдополнительныйпараметрклиенталицензирования получитьдопустимыекодылокализации получитьдопустимыечасовыепояса получитьзаголовокклиентскогоприложения получитьзаголовоксистемы получитьзначенияотборажурналарегистрации получитьидентификаторконфигурации получитьизвременногохранилища получитьимявременногофайла получитьимяклиенталицензирования получитьинформациюэкрановклиента получитьиспользованиежурналарегистрации получитьиспользованиесобытияжурналарегистрации получитькраткийзаголовокприложения получитьмакетоформления получитьмаскувсефайлы получитьмаскувсефайлыклиента получитьмаскувсефайлысервера получитьместоположениепоадресу получитьминимальнуюдлинупаролейпользователей получитьнавигационнуюссылку получитьнавигационнуюссылкуинформационнойбазы получитьобновлениеконфигурациибазыданных получитьобновлениепредопределенныхданныхинформационнойбазы получитьобщиймакет получитьобщуюформу получитьокна получитьоперативнуюотметкувремени получитьотключениебезопасногорежима получитьпараметрыфункциональныхопцийинтерфейса получитьполноеимяпредопределенногозначения получитьпредставлениянавигационныхссылок получитьпроверкусложностипаролейпользователей получитьразделительпути получитьразделительпутиклиента получитьразделительпутисервера получитьсеансыинформационнойбазы получитьскоростьклиентскогосоединения получитьсоединенияинформационнойбазы получитьсообщенияпользователю получитьсоответствиеобъектаиформы получитьсоставстандартногоинтерфейсаodata получитьструктурухранениябазыданных получитьтекущийсеансинформационнойбазы получитьфайл получитьфайлы получитьформу получитьфункциональнуюопцию получитьфункциональнуюопциюинтерфейса получитьчасовойпоясинформационнойбазы пользователиос поместитьвовременноехранилище поместитьфайл поместитьфайлы прав праводоступа предопределенноезначение представлениекодалокализации представлениепериода представлениеправа представлениеприложения представлениесобытияжурналарегистрации представлениечасовогопояса предупреждение прекратитьработусистемы привилегированныйрежим продолжитьвызов прочитатьjson прочитатьxml прочитатьдатуjson пустаястрока рабочийкаталогданныхпользователя разблокироватьданныедляредактирования разделитьфайл разорватьсоединениесвнешнимисточникомданных раскодироватьстроку рольдоступна секунда сигнал символ скопироватьжурналрегистрации смещениелетнеговремени смещениестандартноговремени соединитьбуферыдвоичныхданных создатькаталог создатьфабрикуxdto сокрл сокрлп сокрп сообщить состояние сохранитьзначение сохранитьнастройкипользователя сред стрдлина стрзаканчиваетсяна стрзаменить стрнайти стрначинаетсяс строка строкасоединенияинформационнойбазы стрполучитьстроку стрразделить стрсоединить стрсравнить стрчисловхождений стрчислострок стршаблон текущаядата текущаядатасеанса текущаяуниверсальнаядата текущаяуниверсальнаядатавмиллисекундах текущийвариантинтерфейсаклиентскогоприложения текущийвариантосновногошрифтаклиентскогоприложения текущийкодлокализации текущийрежимзапуска текущийязык текущийязыксистемы тип типзнч транзакцияактивна трег удалитьданныеинформационнойбазы удалитьизвременногохранилища удалитьобъекты удалитьфайлы универсальноевремя установитьбезопасныйрежим установитьбезопасныйрежимразделенияданных установитьблокировкусеансов установитьвнешнююкомпоненту установитьвремязавершенияспящегосеанса установитьвремязасыпанияпассивногосеанса установитьвремяожиданияблокировкиданных установитьзаголовокклиентскогоприложения установитьзаголовоксистемы установитьиспользованиежурналарегистрации установитьиспользованиесобытияжурналарегистрации установитькраткийзаголовокприложения установитьминимальнуюдлинупаролейпользователей установитьмонопольныйрежим установитьнастройкиклиенталицензирования установитьобновлениепредопределенныхданныхинформационнойбазы установитьотключениебезопасногорежима установитьпараметрыфункциональныхопцийинтерфейса установитьпривилегированныйрежим установитьпроверкусложностипаролейпользователей установитьрасширениеработыскриптографией установитьрасширениеработысфайлами установитьсоединениесвнешнимисточникомданных установитьсоответствиеобъектаиформы установитьсоставстандартногоинтерфейсаodata установитьчасовойпоясинформационнойбазы установитьчасовойпояссеанса формат цел час часовойпояс часовойпояссеанса число числопрописью этоадресвременногохранилища wsссылки библиотекакартинок библиотекамакетовоформлениякомпоновкиданных библиотекастилей бизнеспроцессы внешниеисточникиданных внешниеобработки внешниеотчеты встроенныепокупки главныйинтерфейс главныйстиль документы доставляемыеуведомления журналыдокументов задачи информацияобинтернетсоединении использованиерабочейдаты историяработыпользователя константы критерииотбора метаданные обработки отображениерекламы отправкадоставляемыхуведомлений отчеты панельзадачос параметрзапуска параметрысеанса перечисления планывидоврасчета планывидовхарактеристик планыобмена планысчетов полнотекстовыйпоиск пользователиинформационнойбазы последовательности проверкавстроенныхпокупок рабочаядата расширенияконфигурации регистрыбухгалтерии регистрынакопления регистрырасчета регистрысведений регламентныезадания сериализаторxdto справочники средствагеопозиционирования средствакриптографии средствамультимедиа средстваотображениярекламы средствапочты средствателефонии фабрикаxdto файловыепотоки фоновыезадания хранилищанастроек хранилищевариантовотчетов хранилищенастроекданныхформ хранилищеобщихнастроек хранилищепользовательскихнастроекдинамическихсписков хранилищепользовательскихнастроекотчетов хранилищесистемныхнастроек ",class:"webцвета windowsцвета windowsшрифты библиотекакартинок рамкистиля символы цветастиля шрифтыстиля автоматическоесохранениеданныхформывнастройках автонумерациявформе автораздвижениесерий анимациядиаграммы вариантвыравниванияэлементовизаголовков вариантуправлениявысотойтаблицы вертикальнаяпрокруткаформы вертикальноеположение вертикальноеположениеэлемента видгруппыформы виддекорацииформы виддополненияэлементаформы видизмененияданных видкнопкиформы видпереключателя видподписейкдиаграмме видполяформы видфлажка влияниеразмеранапузырекдиаграммы горизонтальноеположение горизонтальноеположениеэлемента группировкаколонок группировкаподчиненныхэлементовформы группыиэлементы действиеперетаскивания дополнительныйрежимотображения допустимыедействияперетаскивания интервалмеждуэлементамиформы использованиевывода использованиеполосыпрокрутки используемоезначениеточкибиржевойдиаграммы историявыборапривводе источникзначенийоситочекдиаграммы источникзначенияразмерапузырькадиаграммы категориягруппыкоманд максимумсерий начальноеотображениедерева начальноеотображениесписка обновлениетекстаредактирования ориентациядендрограммы ориентациядиаграммы ориентацияметокдиаграммы ориентацияметоксводнойдиаграммы ориентацияэлементаформы отображениевдиаграмме отображениевлегендедиаграммы отображениегруппыкнопок отображениезаголовкашкалыдиаграммы отображениезначенийсводнойдиаграммы отображениезначенияизмерительнойдиаграммы отображениеинтерваладиаграммыганта отображениекнопки отображениекнопкивыбора отображениеобсужденийформы отображениеобычнойгруппы отображениеотрицательныхзначенийпузырьковойдиаграммы отображениепанелипоиска отображениеподсказки отображениепредупрежденияприредактировании отображениеразметкиполосырегулирования отображениестраницформы отображениетаблицы отображениетекстазначениядиаграммыганта отображениеуправленияобычнойгруппы отображениефигурыкнопки палитрацветовдиаграммы поведениеобычнойгруппы поддержкамасштабадендрограммы поддержкамасштабадиаграммыганта поддержкамасштабасводнойдиаграммы поисквтаблицепривводе положениезаголовкаэлементаформы положениекартинкикнопкиформы положениекартинкиэлементаграфическойсхемы положениекоманднойпанелиформы положениекоманднойпанелиэлементаформы положениеопорнойточкиотрисовки положениеподписейкдиаграмме положениеподписейшкалызначенийизмерительнойдиаграммы положениесостоянияпросмотра положениестрокипоиска положениетекстасоединительнойлинии положениеуправленияпоиском положениешкалывремени порядокотображенияточекгоризонтальнойгистограммы порядоксерийвлегендедиаграммы размеркартинки расположениезаголовкашкалыдиаграммы растягиваниеповертикалидиаграммыганта режимавтоотображениясостояния режимвводастроктаблицы режимвыборанезаполненного режимвыделениядаты режимвыделениястрокитаблицы режимвыделениятаблицы режимизмененияразмера режимизменениясвязанногозначения режимиспользованиядиалогапечати режимиспользованияпараметракоманды режиммасштабированияпросмотра режимосновногоокнаклиентскогоприложения режимоткрытияокнаформы режимотображениявыделения режимотображениягеографическойсхемы режимотображениязначенийсерии режимотрисовкисеткиграфическойсхемы режимполупрозрачностидиаграммы режимпробеловдиаграммы режимразмещениянастранице режимредактированияколонки режимсглаживаниядиаграммы режимсглаживанияиндикатора режимсписказадач сквозноевыравнивание сохранениеданныхформывнастройках способзаполнениятекстазаголовкашкалыдиаграммы способопределенияограничивающегозначениядиаграммы стандартнаягруппакоманд стандартноеоформление статусоповещенияпользователя стильстрелки типаппроксимациилиниитрендадиаграммы типдиаграммы типединицышкалывремени типимпортасерийслоягеографическойсхемы типлиниигеографическойсхемы типлиниидиаграммы типмаркерагеографическойсхемы типмаркерадиаграммы типобластиоформления типорганизацииисточникаданныхгеографическойсхемы типотображениясериислоягеографическойсхемы типотображенияточечногообъектагеографическойсхемы типотображенияшкалыэлементалегендыгеографическойсхемы типпоискаобъектовгеографическойсхемы типпроекциигеографическойсхемы типразмещенияизмерений типразмещенияреквизитовизмерений типрамкиэлементауправления типсводнойдиаграммы типсвязидиаграммыганта типсоединениязначенийпосериямдиаграммы типсоединенияточекдиаграммы типсоединительнойлинии типстороныэлементаграфическойсхемы типформыотчета типшкалырадарнойдиаграммы факторлиниитрендадиаграммы фигуракнопки фигурыграфическойсхемы фиксациявтаблице форматдняшкалывремени форматкартинки ширинаподчиненныхэлементовформы виддвижениябухгалтерии виддвижениянакопления видпериодарегистрарасчета видсчета видточкимаршрутабизнеспроцесса использованиеагрегатарегистранакопления использованиегруппиэлементов использованиережимапроведения использованиесреза периодичностьагрегатарегистранакопления режимавтовремя режимзаписидокумента режимпроведениядокумента авторегистрацияизменений допустимыйномерсообщения отправкаэлементаданных получениеэлементаданных использованиерасшифровкитабличногодокумента ориентациястраницы положениеитоговколоноксводнойтаблицы положениеитоговстроксводнойтаблицы положениетекстаотносительнокартинки расположениезаголовкагруппировкитабличногодокумента способчтениязначенийтабличногодокумента типдвустороннейпечати типзаполненияобластитабличногодокумента типкурсоровтабличногодокумента типлиниирисункатабличногодокумента типлинииячейкитабличногодокумента типнаправленияпереходатабличногодокумента типотображениявыделениятабличногодокумента типотображениялинийсводнойтаблицы типразмещениятекстатабличногодокумента типрисункатабличногодокумента типсмещениятабличногодокумента типузоратабличногодокумента типфайлатабличногодокумента точностьпечати чередованиерасположениястраниц отображениевремениэлементовпланировщика типфайлаформатированногодокумента обходрезультатазапроса типзаписизапроса видзаполнениярасшифровкипостроителяотчета типдобавленияпредставлений типизмеренияпостроителяотчета типразмещенияитогов доступкфайлу режимдиалогавыборафайла режимоткрытияфайла типизмеренияпостроителязапроса видданныханализа методкластеризации типединицыинтервалавременианализаданных типзаполнениятаблицырезультатаанализаданных типиспользованиячисловыхзначенийанализаданных типисточникаданныхпоискаассоциаций типколонкианализаданныхдереворешений типколонкианализаданныхкластеризация типколонкианализаданныхобщаястатистика типколонкианализаданныхпоискассоциаций типколонкианализаданныхпоискпоследовательностей типколонкимоделипрогноза типмерырасстоянияанализаданных типотсеченияправилассоциации типполяанализаданных типстандартизациианализаданных типупорядочиванияправилассоциациианализаданных типупорядочиванияшаблоновпоследовательностейанализаданных типупрощениядереварешений wsнаправлениепараметра вариантxpathxs вариантзаписидатыjson вариантпростоготипаxs видгруппымоделиxs видфасетаxdto действиепостроителяdom завершенностьпростоготипаxs завершенностьсоставноготипаxs завершенностьсхемыxs запрещенныеподстановкиxs исключениягруппподстановкиxs категорияиспользованияатрибутаxs категорияограниченияидентичностиxs категорияограниченияпространствименxs методнаследованияxs модельсодержимогоxs назначениетипаxml недопустимыеподстановкиxs обработкапробельныхсимволовxs обработкасодержимогоxs ограничениезначенияxs параметрыотбораузловdom переносстрокjson позициявдокументеdom пробельныесимволыxml типатрибутаxml типзначенияjson типканоническогоxml типкомпонентыxs типпроверкиxml типрезультатаdomxpath типузлаdom типузлаxml формаxml формапредставленияxs форматдатыjson экранированиесимволовjson видсравнениякомпоновкиданных действиеобработкирасшифровкикомпоновкиданных направлениесортировкикомпоновкиданных расположениевложенныхэлементоврезультатакомпоновкиданных расположениеитоговкомпоновкиданных расположениегруппировкикомпоновкиданных расположениеполейгруппировкикомпоновкиданных расположениеполякомпоновкиданных расположениереквизитовкомпоновкиданных расположениересурсовкомпоновкиданных типбухгалтерскогоостаткакомпоновкиданных типвыводатекстакомпоновкиданных типгруппировкикомпоновкиданных типгруппыэлементовотборакомпоновкиданных типдополненияпериодакомпоновкиданных типзаголовкаполейкомпоновкиданных типмакетагруппировкикомпоновкиданных типмакетаобластикомпоновкиданных типостаткакомпоновкиданных типпериодакомпоновкиданных типразмещениятекстакомпоновкиданных типсвязинаборовданныхкомпоновкиданных типэлементарезультатакомпоновкиданных расположениелегендыдиаграммыкомпоновкиданных типпримененияотборакомпоновкиданных режимотображенияэлементанастройкикомпоновкиданных режимотображениянастроеккомпоновкиданных состояниеэлементанастройкикомпоновкиданных способвосстановлениянастроеккомпоновкиданных режимкомпоновкирезультата использованиепараметракомпоновкиданных автопозицияресурсовкомпоновкиданных вариантиспользованиягруппировкикомпоновкиданных расположениересурсоввдиаграммекомпоновкиданных фиксациякомпоновкиданных использованиеусловногооформлениякомпоновкиданных важностьинтернетпочтовогосообщения обработкатекстаинтернетпочтовогосообщения способкодированияинтернетпочтовоговложения способкодированиянеasciiсимволовинтернетпочтовогосообщения типтекстапочтовогосообщения протоколинтернетпочты статусразборапочтовогосообщения режимтранзакциизаписижурналарегистрации статустранзакциизаписижурналарегистрации уровеньжурналарегистрации расположениехранилищасертификатовкриптографии режимвключениясертификатовкриптографии режимпроверкисертификатакриптографии типхранилищасертификатовкриптографии кодировкаименфайловвzipфайле методсжатияzip методшифрованияzip режимвосстановленияпутейфайловzip режимобработкиподкаталоговzip режимсохраненияпутейzip уровеньсжатияzip звуковоеоповещение направлениепереходакстроке позициявпотоке порядокбайтов режимблокировкиданных режимуправленияблокировкойданных сервисвстроенныхпокупок состояниефоновогозадания типподписчикадоставляемыхуведомлений уровеньиспользованиязащищенногосоединенияftp направлениепорядкасхемызапроса типдополненияпериодамисхемызапроса типконтрольнойточкисхемызапроса типобъединениясхемызапроса типпараметрадоступнойтаблицысхемызапроса типсоединениясхемызапроса httpметод автоиспользованиеобщегореквизита автопрефиксномеразадачи вариантвстроенногоязыка видиерархии видрегистранакопления видтаблицывнешнегоисточникаданных записьдвиженийприпроведении заполнениепоследовательностей индексирование использованиебазыпланавидоврасчета использованиебыстроговыбора использованиеобщегореквизита использованиеподчинения использованиеполнотекстовогопоиска использованиеразделяемыхданныхобщегореквизита использованиереквизита назначениеиспользованияприложения назначениерасширенияконфигурации направлениепередачи обновлениепредопределенныхданных оперативноепроведение основноепредставлениевидарасчета основноепредставлениевидахарактеристики основноепредставлениезадачи основноепредставлениепланаобмена основноепредставлениесправочника основноепредставлениесчета перемещениеграницыприпроведении периодичностьномерабизнеспроцесса периодичностьномерадокумента периодичностьрегистрарасчета периодичностьрегистрасведений повторноеиспользованиевозвращаемыхзначений полнотекстовыйпоискпривводепостроке принадлежностьобъекта проведение разделениеаутентификацииобщегореквизита разделениеданныхобщегореквизита разделениерасширенийконфигурацииобщегореквизита режимавтонумерацииобъектов режимзаписирегистра режимиспользованиямодальности режимиспользованиясинхронныхвызововрасширенийплатформыивнешнихкомпонент режимповторногоиспользованиясеансов режимполученияданныхвыборапривводепостроке режимсовместимости режимсовместимостиинтерфейса режимуправленияблокировкойданныхпоумолчанию сериикодовпланавидовхарактеристик сериикодовпланасчетов сериикодовсправочника созданиепривводе способвыбора способпоискастрокипривводепостроке способредактирования типданныхтаблицывнешнегоисточникаданных типкодапланавидоврасчета типкодасправочника типмакета типномерабизнеспроцесса типномерадокумента типномеразадачи типформы удалениедвижений важностьпроблемыприменениярасширенияконфигурации вариантинтерфейсаклиентскогоприложения вариантмасштабаформклиентскогоприложения вариантосновногошрифтаклиентскогоприложения вариантстандартногопериода вариантстандартнойдатыначала видграницы видкартинки видотображенияполнотекстовогопоиска видрамки видсравнения видцвета видчисловогозначения видшрифта допустимаядлина допустимыйзнак использованиеbyteordermark использованиеметаданныхполнотекстовогопоиска источникрасширенийконфигурации клавиша кодвозвратадиалога кодировкаxbase кодировкатекста направлениепоиска направлениесортировки обновлениепредопределенныхданных обновлениеприизмененииданных отображениепанелиразделов проверказаполнения режимдиалогавопрос режимзапускаклиентскогоприложения режимокругления режимоткрытияформприложения режимполнотекстовогопоиска скоростьклиентскогосоединения состояниевнешнегоисточникаданных состояниеобновленияконфигурациибазыданных способвыборасертификатаwindows способкодированиястроки статуссообщения типвнешнейкомпоненты типплатформы типповеденияклавишиenter типэлементаинформацииовыполненииобновленияконфигурациибазыданных уровеньизоляциитранзакций хешфункция частидаты",type:"comобъект ftpсоединение httpзапрос httpсервисответ httpсоединение wsопределения wsпрокси xbase анализданных аннотацияxs блокировкаданных буфердвоичныхданных включениеxs выражениекомпоновкиданных генераторслучайныхчисел географическаясхема географическиекоординаты графическаясхема группамоделиxs данныерасшифровкикомпоновкиданных двоичныеданные дендрограмма диаграмма диаграммаганта диалогвыборафайла диалогвыборацвета диалогвыборашрифта диалограсписаниярегламентногозадания диалогредактированиястандартногопериода диапазон документdom документhtml документацияxs доставляемоеуведомление записьdom записьfastinfoset записьhtml записьjson записьxml записьzipфайла записьданных записьтекста записьузловdom запрос защищенноесоединениеopenssl значенияполейрасшифровкикомпоновкиданных извлечениетекста импортxs интернетпочта интернетпочтовоесообщение интернетпочтовыйпрофиль интернетпрокси интернетсоединение информациядляприложенияxs использованиеатрибутаxs использованиесобытияжурналарегистрации источникдоступныхнастроеккомпоновкиданных итераторузловdom картинка квалификаторыдаты квалификаторыдвоичныхданных квалификаторыстроки квалификаторычисла компоновщикмакетакомпоновкиданных компоновщикнастроеккомпоновкиданных конструктормакетаоформлениякомпоновкиданных конструкторнастроеккомпоновкиданных конструкторформатнойстроки линия макеткомпоновкиданных макетобластикомпоновкиданных макетоформлениякомпоновкиданных маскаxs менеджеркриптографии наборсхемxml настройкикомпоновкиданных настройкисериализацииjson обработкакартинок обработкарасшифровкикомпоновкиданных обходдереваdom объявлениеатрибутаxs объявлениенотацииxs объявлениеэлементаxs описаниеиспользованиясобытиядоступжурналарегистрации описаниеиспользованиясобытияотказвдоступежурналарегистрации описаниеобработкирасшифровкикомпоновкиданных описаниепередаваемогофайла описаниетипов определениегруппыатрибутовxs определениегруппымоделиxs определениеограниченияидентичностиxs определениепростоготипаxs определениесоставноготипаxs определениетипадокументаdom определенияxpathxs отборкомпоновкиданных пакетотображаемыхдокументов параметрвыбора параметркомпоновкиданных параметрызаписиjson параметрызаписиxml параметрычтенияxml переопределениеxs планировщик полеанализаданных полекомпоновкиданных построительdom построительзапроса построительотчета построительотчетаанализаданных построительсхемxml поток потоквпамяти почта почтовоесообщение преобразованиеxsl преобразованиекканоническомуxml процессорвыводарезультатакомпоновкиданныхвколлекциюзначений процессорвыводарезультатакомпоновкиданныхвтабличныйдокумент процессоркомпоновкиданных разыменовательпространствименdom рамка расписаниерегламентногозадания расширенноеимяxml результатчтенияданных своднаядиаграмма связьпараметравыбора связьпотипу связьпотипукомпоновкиданных сериализаторxdto сертификатклиентаwindows сертификатклиентафайл сертификаткриптографии сертификатыудостоверяющихцентровwindows сертификатыудостоверяющихцентровфайл сжатиеданных системнаяинформация сообщениепользователю сочетаниеклавиш сравнениезначений стандартнаядатаначала стандартныйпериод схемаxml схемакомпоновкиданных табличныйдокумент текстовыйдокумент тестируемоеприложение типданныхxml уникальныйидентификатор фабрикаxdto файл файловыйпоток фасетдлиныxs фасетколичестваразрядовдробнойчастиxs фасетмаксимальноговключающегозначенияxs фасетмаксимальногоисключающегозначенияxs фасетмаксимальнойдлиныxs фасетминимальноговключающегозначенияxs фасетминимальногоисключающегозначенияxs фасетминимальнойдлиныxs фасетобразцаxs фасетобщегоколичестваразрядовxs фасетперечисленияxs фасетпробельныхсимволовxs фильтрузловdom форматированнаястрока форматированныйдокумент фрагментxs хешированиеданных хранилищезначения цвет чтениеfastinfoset чтениеhtml чтениеjson чтениеxml чтениеzipфайла чтениеданных чтениетекста чтениеузловdom шрифт элементрезультатакомпоновкиданных comsafearray деревозначений массив соответствие списокзначений структура таблицазначений фиксированнаяструктура фиксированноесоответствие фиксированныймассив ",literal:r},contains:[{className:"meta",begin:"#|&",end:"$",keywords:{$pattern:t,keyword:n+"загрузитьизфайла вебклиент вместо внешнеесоединение клиент конецобласти мобильноеприложениеклиент мобильноеприложениесервер наклиенте наклиентенасервере наклиентенасерверебезконтекста насервере насерверебезконтекста область перед после сервер толстыйклиентобычноеприложение толстыйклиентуправляемоеприложение тонкийклиент "},contains:[s]},{className:"function",variants:[{begin:"процедура|функция",end:"\\)",keywords:"процедура функция"},{begin:"конецпроцедуры|конецфункции",keywords:"конецпроцедуры конецфункции"}],contains:[{begin:"\\(",end:"\\)",endsParent:!0,contains:[{className:"params",begin:t,end:",",excludeEnd:!0,endsWithParent:!0,keywords:{$pattern:t,keyword:"знач",literal:r},contains:[i,a,o]},s]},e.inherit(e.TITLE_MODE,{begin:t})]},s,{className:"symbol",begin:"~",end:";|:",excludeEnd:!0},i,a,o,{match:/[;()+\-:=,]/,className:"punctuation",relevance:0}]}}}function Ku(){if(Pr)return Lr;return Pr=1,Lr=function(e){const t=e.regex,n=e.COMMENT(/;/,/$/);return{name:"Augmented Backus-Naur Form",illegal:/[!@#$^&',?+~`|:]/,keywords:["ALPHA","BIT","CHAR","CR","CRLF","CTL","DIGIT","DQUOTE","HEXDIG","HTAB","LF","LWSP","OCTET","SP","VCHAR","WSP"],contains:[{scope:"operator",match:/=\/?/},{scope:"attribute",match:t.concat(/^[a-zA-Z][a-zA-Z0-9-]*/,/(?=\s*=)/)},n,{scope:"symbol",match:/%b[0-1]+(-[0-1]+|(\.[0-1]+)+)?/},{scope:"symbol",match:/%d[0-9]+(-[0-9]+|(\.[0-9]+)+)?/},{scope:"symbol",match:/%x[0-9A-F]+(-[0-9A-F]+|(\.[0-9A-F]+)+)?/},{scope:"symbol",match:/%[si](?=".*")/},e.QUOTE_STRING_MODE,e.NUMBER_MODE]}}}function Xu(){if(Fr)return jr;return Fr=1,jr=function(e){const t=e.regex,n=["GET","POST","HEAD","PUT","DELETE","CONNECT","OPTIONS","PATCH","TRACE"];return{name:"Apache Access Log",contains:[ +// IP +{className:"number",begin:/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?\b/,relevance:5}, +// Other numbers +{className:"number",begin:/\b\d+\b/,relevance:0}, +// Requests +{className:"string",begin:t.concat(/"/,t.either(...n)),end:/"/,keywords:n,illegal:/\n/,relevance:5,contains:[{begin:/HTTP\/[12]\.\d'/,relevance:5}]}, +// Dates +{className:"string", +// dates must have a certain length, this prevents matching +// simple array accesses a[123] and [] and other common patterns +// found in other languages +begin:/\[\d[^\]\n]{8,}\]/,illegal:/\n/,relevance:1},{className:"string",begin:/\[/,end:/\]/,illegal:/\n/,relevance:0}, +// User agent / relevance boost +{className:"string",begin:/"Mozilla\/\d\.\d \(/,end:/"/,illegal:/\n/,relevance:3}, +// Strings +{className:"string",begin:/"/,end:/"/,illegal:/\n/,relevance:0}]}}}function Zu(){if(Ur)return Br;return Ur=1,Br=function(e){const t=e.regex,n=/[a-zA-Z_$][a-zA-Z0-9_$]*/,r=t.concat(n,t.concat("(\\.",n,")*")),i={className:"rest_arg",begin:/[.]{3}/,end:n,relevance:10};return{name:"ActionScript",aliases:["as"],keywords:{keyword:["as","break","case","catch","class","const","continue","default","delete","do","dynamic","each","else","extends","final","finally","for","function","get","if","implements","import","in","include","instanceof","interface","internal","is","namespace","native","new","override","package","private","protected","public","return","set","static","super","switch","this","throw","try","typeof","use","var","void","while","with"],literal:["true","false","null","undefined"]},contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{match:[/\bpackage/,/\s+/,r],className:{1:"keyword",3:"title.class"}},{match:[/\b(?:class|interface|extends|implements)/,/\s+/,n],className:{1:"keyword",3:"title.class"}},{className:"meta",beginKeywords:"import include",end:/;/,keywords:{keyword:"import include"}},{beginKeywords:"function",end:/[{;]/,excludeEnd:!0,illegal:/\S/,contains:[e.inherit(e.TITLE_MODE,{className:"title.function"}),{className:"params",begin:/\(/,end:/\)/,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,i]},{begin:t.concat(/:\s*/,/([*]|[a-zA-Z_$][a-zA-Z0-9_$]*)/)}]},e.METHOD_GUARD],illegal:/#/}}}function Ju(){if(zr)return Gr;return zr=1,Gr=function(e){const t="\\d(_|\\d)*",n="[eE][-+]?"+t,r="\\b("+(t+"#\\w+(\\.\\w+)?#("+n+")?")+"|"+(t+"(\\."+t+")?("+n+")?")+")",i="[A-Za-z](_?[A-Za-z0-9.])*",a="[]\\{\\}%#'\"",o=e.COMMENT("--","$"),s={ +// TODO: These spaces are not required by the Ada syntax +// however, I have yet to see handwritten Ada code where +// someone does not put spaces around : +begin:"\\s+:\\s+",end:"\\s*(:=|;|\\)|=>|$)", +// endsWithParent: true, +// returnBegin: true, +illegal:a,contains:[{ +// workaround to avoid highlighting +// named loops and declare blocks +beginKeywords:"loop for declare others",endsParent:!0},{ +// properly highlight all modifiers +className:"keyword",beginKeywords:"not null constant access function procedure in out aliased exception"},{className:"type",begin:i,endsParent:!0,relevance:0}]};return{name:"Ada",case_insensitive:!0,keywords:{keyword:["abort","else","new","return","abs","elsif","not","reverse","abstract","end","accept","entry","select","access","exception","of","separate","aliased","exit","or","some","all","others","subtype","and","for","out","synchronized","array","function","overriding","at","tagged","generic","package","task","begin","goto","pragma","terminate","body","private","then","if","procedure","type","case","in","protected","constant","interface","is","raise","use","declare","range","delay","limited","record","when","delta","loop","rem","while","digits","renames","with","do","mod","requeue","xor"],literal:["True","False"]},contains:[o, +// strings "foobar" +{className:"string",begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]}, +// characters '' +{ +// character literals always contain one char +className:"string",begin:/'.'/},{ +// number literals +className:"number",begin:r,relevance:0},{ +// Attributes +className:"symbol",begin:"'"+i},{ +// package definition, maybe inside generic +className:"title",begin:"(\\bwith\\s+)?(\\bprivate\\s+)?\\bpackage\\s+(\\bbody\\s+)?",end:"(is|$)",keywords:"package body",excludeBegin:!0,excludeEnd:!0,illegal:a},{ +// function/procedure declaration/definition +// maybe inside generic +begin:"(\\b(with|overriding)\\s+)?\\b(function|procedure)\\s+",end:"(\\bis|\\bwith|\\brenames|\\)\\s*;)",keywords:"overriding function procedure with is renames return", +// we need to re-match the 'function' keyword, so that +// the title mode below matches only exactly once +returnBegin:!0,contains:[o,{ +// name of the function/procedure +className:"title",begin:"(\\bwith\\s+)?\\b(function|procedure)\\s+",end:"(\\(|\\s+|$)",excludeBegin:!0,excludeEnd:!0,illegal:a}, +// 'self' +// // parameter types +s,{ +// return type +className:"type",begin:"\\breturn\\s+",end:"(\\s+|;|$)",keywords:"return",excludeBegin:!0,excludeEnd:!0, +// we are done with functions +endsParent:!0,illegal:a}]},{ +// new type declarations +// maybe inside generic +className:"type",begin:"\\b(sub)?type\\s+",end:"\\s+",keywords:"type",excludeBegin:!0,illegal:a}, +// see comment above the definition +s]}}}function ed(){if(Yr)return $r;return Yr=1,$r=function(e){const t={className:"built_in",begin:"\\b(void|bool|int8|int16|int32|int64|int|uint8|uint16|uint32|uint64|uint|string|ref|array|double|float|auto|dictionary)"},n={className:"symbol",begin:"[a-zA-Z0-9_]+@"},r={className:"keyword",begin:"<",end:">",contains:[t,n]};return t.contains=[r],n.contains=[r],{name:"AngelScript",aliases:["asc"],keywords:["for","in|0","break","continue","while","do|0","return","if","else","case","switch","namespace","is","cast","or","and","xor","not","get|0","in","inout|10","out","override","set|0","private","public","const","default|0","final","shared","external","mixin|10","enum","typedef","funcdef","this","super","import","from","interface","abstract|0","try","catch","protected","explicit","property"], +// avoid close detection with C# and JS +illegal:"(^using\\s+[A-Za-z0-9_\\.]+;$|\\bfunction\\s*[^\\(])",contains:[{ +// 'strings' +className:"string",begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE],relevance:0}, +// """heredoc strings""" +{className:"string",begin:'"""',end:'"""'},{ +// "strings" +className:"string",begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE],relevance:0},e.C_LINE_COMMENT_MODE, +// single-line comments +e.C_BLOCK_COMMENT_MODE, +// comment blocks +{ +// metadata +className:"string",begin:"^\\s*\\[",end:"\\]"},{ +// interface or namespace declaration +beginKeywords:"interface namespace",end:/\{/,illegal:"[;.\\-]",contains:[{ +// interface or namespace name +className:"symbol",begin:"[a-zA-Z0-9_]+"}]},{ +// class declaration +beginKeywords:"class",end:/\{/,illegal:"[;.\\-]",contains:[{ +// class name +className:"symbol",begin:"[a-zA-Z0-9_]+",contains:[{begin:"[:,]\\s*",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]}]}]},t, +// built-in types +n, +// object handles +{ +// literals +className:"literal",begin:"\\b(null|true|false)"},{ +// numbers +className:"number",relevance:0,begin:"(-?)(\\b0[xXbBoOdD][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?f?|\\.\\d+f?)([eE][-+]?\\d+f?)?)"}]}}}function td(){if(Hr)return qr;return Hr=1,qr=function(e){const t={className:"number",begin:/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?/};return{name:"Apache config",aliases:["apacheconf"],case_insensitive:!0,contains:[e.HASH_COMMENT_MODE,{className:"section",begin:/<\/?/,end:/>/,contains:[t,{className:"number",begin:/:\d{1,5}/}, +// low relevance prevents us from claming XML/HTML where this rule would +// match strings inside of XML tags +e.inherit(e.QUOTE_STRING_MODE,{relevance:0})]},{className:"attribute",begin:/\w+/,relevance:0, +// keywords aren’t needed for highlighting per se, they only boost relevance +// for a very generally defined mode (starts with a word, ends with line-end +keywords:{_:["order","deny","allow","setenv","rewriterule","rewriteengine","rewritecond","documentroot","sethandler","errordocument","loadmodule","options","header","listen","serverroot","servername"]},starts:{end:/$/,relevance:0,keywords:{literal:"on off all deny allow"},contains:[{scope:"punctuation",match:/\\\n/},{className:"meta",begin:/\s\[/,end:/\]$/},{className:"variable",begin:/[\$%]\{/,end:/\}/,contains:["self",{className:"number",begin:/[$%]\d+/}]},t,{className:"number",begin:/\b\d+/},e.QUOTE_STRING_MODE]}}],illegal:/\S/}}}function nd(){if(Wr)return Vr;return Wr=1,Vr=function(e){const t=e.regex,n=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),r={className:"params",begin:/\(/,end:/\)/,contains:["self",e.C_NUMBER_MODE,n]},i=e.COMMENT(/--/,/$/),a=[i,e.COMMENT(/\(\*/,/\*\)/,{contains:["self", +// allow nesting +i]}),e.HASH_COMMENT_MODE];return{name:"AppleScript",aliases:["osascript"],keywords:{keyword:"about above after against and around as at back before beginning behind below beneath beside between but by considering contain contains continue copy div does eighth else end equal equals error every exit fifth first for fourth from front get given global if ignoring in into is it its last local me middle mod my ninth not of on onto or over prop property put ref reference repeat returning script second set seventh since sixth some tell tenth that the|0 then third through thru timeout times to transaction try until where while whose with without",literal:"AppleScript false linefeed return pi quote result space tab true",built_in:"alias application boolean class constant date file integer list number real record string text activate beep count delay launch log offset read round run say summarize write character characters contents day frontmost id item length month name|0 paragraph paragraphs rest reverse running time version weekday word words year"},contains:[n,e.C_NUMBER_MODE,{className:"built_in",begin:t.concat(/\b/,t.either(/clipboard info/,/the clipboard/,/info for/,/list (disks|folder)/,/mount volume/,/path to/,/(close|open for) access/,/(get|set) eof/,/current date/,/do shell script/,/get volume settings/,/random number/,/set volume/,/system attribute/,/system info/,/time to GMT/,/(load|run|store) script/,/scripting components/,/ASCII (character|number)/,/localized string/,/choose (application|color|file|file name|folder|from list|remote application|URL)/,/display (alert|dialog)/),/\b/)},{className:"built_in",begin:/^\s*return\b/},{className:"literal",begin:/\b(text item delimiters|current application|missing value)\b/},{className:"keyword",begin:t.concat(/\b/,t.either(/apart from/,/aside from/,/instead of/,/out of/,/greater than/,/isn't|(doesn't|does not) (equal|come before|come after|contain)/,/(greater|less) than( or equal)?/,/(starts?|ends|begins?) with/,/contained by/,/comes (before|after)/,/a (ref|reference)/,/POSIX (file|path)/,/(date|time) string/,/quoted form/),/\b/)},{beginKeywords:"on",illegal:/[${=;\n]/,contains:[e.UNDERSCORE_TITLE_MODE,r]},...a],illegal:/\/\/|->|=>|\[\[/}}}function rd(){if(Kr)return Qr;return Kr=1,Qr=function(e){const t="[A-Za-z_][0-9A-Za-z_]*",n={keyword:["break","case","catch","continue","debugger","do","else","export","for","function","if","import","in","new","of","return","switch","try","var","void","while"],literal:["BackSlash","DoubleQuote","ForwardSlash","Infinity","NaN","NewLine","PI","SingleQuote","Tab","TextFormatting","false","null","true","undefined"],built_in:["Abs","Acos","All","Angle","Any","Area","AreaGeodetic","Array","Asin","Atan","Atan2","Attachments","Average","Back","Bearing","Boolean","Buffer","BufferGeodetic","Ceil","Centroid","ChangeTimeZone","Clip","Concatenate","Console","Constrain","Contains","ConvertDirection","ConvexHull","Cos","Count","Crosses","Cut","Date|0","DateAdd","DateDiff","DateOnly","Day","Decode","DefaultValue","Densify","DensifyGeodetic","Dictionary","Difference","Disjoint","Distance","DistanceGeodetic","DistanceToCoordinate","Distinct","Domain","DomainCode","DomainName","EnvelopeIntersects","Equals","Erase","Exp","Expects","Extent","Feature","FeatureInFilter","FeatureSet","FeatureSetByAssociation","FeatureSetById","FeatureSetByName","FeatureSetByPortalItem","FeatureSetByRelationshipClass","FeatureSetByRelationshipName","Filter","FilterBySubtypeCode","Find","First|0","Floor","FromCharCode","FromCodePoint","FromJSON","Front","GdbVersion","Generalize","Geometry","GetEnvironment","GetFeatureSet","GetFeatureSetInfo","GetUser","GroupBy","Guid","HasKey","HasValue","Hash","Hour","IIf","ISOMonth","ISOWeek","ISOWeekday","ISOYear","Includes","IndexOf","Insert","Intersection","Intersects","IsEmpty","IsNan","IsSelfIntersecting","IsSimple","KnowledgeGraphByPortalItem","Left|0","Length","Length3D","LengthGeodetic","Log","Lower","Map","Max","Mean","MeasureToCoordinate","Mid","Millisecond","Min","Minute","Month","MultiPartToSinglePart","Multipoint","NearestCoordinate","NearestVertex","NextSequenceValue","None","Now","Number","Offset","OrderBy","Overlaps","Point","PointToCoordinate","Polygon","Polyline","Pop","Portal","Pow","Proper","Push","QueryGraph","Random","Reduce","Relate","Replace","Resize","Reverse","Right|0","RingIsClockwise","Rotate","Round","Schema","Second","SetGeometry","Simplify","Sin","Slice","Sort","Splice","Split","Sqrt","StandardizeFilename","StandardizeGuid","Stdev","SubtypeCode","SubtypeName","Subtypes","Sum","SymmetricDifference","Tan","Text","Time","TimeZone","TimeZoneOffset","Timestamp","ToCharCode","ToCodePoint","ToHex","ToLocal","ToUTC","Today","Top|0","Touches","TrackAccelerationAt","TrackAccelerationWindow","TrackCurrentAcceleration","TrackCurrentDistance","TrackCurrentSpeed","TrackCurrentTime","TrackDistanceAt","TrackDistanceWindow","TrackDuration","TrackFieldWindow","TrackGeometryWindow","TrackIndex","TrackSpeedAt","TrackSpeedWindow","TrackStartTime","TrackWindow","Trim","TypeOf","Union","Upper","UrlEncode","Variance","Week","Weekday","When|0","Within","Year|0"]},r={className:"symbol",begin:"\\$"+e.regex.either("aggregatedFeatures","analytic","config","datapoint","datastore","editcontext","feature","featureSet","feedfeature","fencefeature","fencenotificationtype","graph","join","layer","locationupdate","map","measure","measure","originalFeature","record","reference","rowindex","sourcedatastore","sourcefeature","sourcelayer","target","targetdatastore","targetfeature","targetlayer","userInput","value","variables","view")},i={className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:e.C_NUMBER_RE}],relevance:0},a={className:"subst",begin:"\\$\\{",end:"\\}",keywords:n,contains:[]},o={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,a]};a.contains=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,o,i,e.REGEXP_MODE];const s=a.contains.concat([e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]);return{name:"ArcGIS Arcade",case_insensitive:!0,keywords:n,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,o,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,r,i,{ +// object attr container +begin:/[{,]\s*/,relevance:0,contains:[{begin:t+"\\s*:",returnBegin:!0,relevance:0,contains:[{className:"attr",begin:t,relevance:0}]}]},{ +// "value" container +begin:"("+e.RE_STARTERS_RE+"|\\b(return)\\b)\\s*",keywords:"return",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.REGEXP_MODE,{className:"function",begin:"(\\(.*?\\)|"+t+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:t},{begin:/\(\s*\)/},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:n,contains:s}]}]}],relevance:0},{beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{className:"title.function",begin:t}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:s}],illegal:/\[|%/},{begin:/\$[(.]/}],illegal:/#(?!!)/}}}function id(){if(Zr)return Xr;return Zr=1,Xr=function(e){const t={type:["boolean","byte","word","String"],built_in:["KeyboardController","MouseController","SoftwareSerial","EthernetServer","EthernetClient","LiquidCrystal","RobotControl","GSMVoiceCall","EthernetUDP","EsploraTFT","HttpClient","RobotMotor","WiFiClient","GSMScanner","FileSystem","Scheduler","GSMServer","YunClient","YunServer","IPAddress","GSMClient","GSMModem","Keyboard","Ethernet","Console","GSMBand","Esplora","Stepper","Process","WiFiUDP","GSM_SMS","Mailbox","USBHost","Firmata","PImage","Client","Server","GSMPIN","FileIO","Bridge","Serial","EEPROM","Stream","Mouse","Audio","Servo","File","Task","GPRS","WiFi","Wire","TFT","GSM","SPI","SD"],_hints:["setup","loop","runShellCommandAsynchronously","analogWriteResolution","retrieveCallingNumber","printFirmwareVersion","analogReadResolution","sendDigitalPortPair","noListenOnLocalhost","readJoystickButton","setFirmwareVersion","readJoystickSwitch","scrollDisplayRight","getVoiceCallStatus","scrollDisplayLeft","writeMicroseconds","delayMicroseconds","beginTransmission","getSignalStrength","runAsynchronously","getAsynchronously","listenOnLocalhost","getCurrentCarrier","readAccelerometer","messageAvailable","sendDigitalPorts","lineFollowConfig","countryNameWrite","runShellCommand","readStringUntil","rewindDirectory","readTemperature","setClockDivider","readLightSensor","endTransmission","analogReference","detachInterrupt","countryNameRead","attachInterrupt","encryptionType","readBytesUntil","robotNameWrite","readMicrophone","robotNameRead","cityNameWrite","userNameWrite","readJoystickY","readJoystickX","mouseReleased","openNextFile","scanNetworks","noInterrupts","digitalWrite","beginSpeaker","mousePressed","isActionDone","mouseDragged","displayLogos","noAutoscroll","addParameter","remoteNumber","getModifiers","keyboardRead","userNameRead","waitContinue","processInput","parseCommand","printVersion","readNetworks","writeMessage","blinkVersion","cityNameRead","readMessage","setDataMode","parsePacket","isListening","setBitOrder","beginPacket","isDirectory","motorsWrite","drawCompass","digitalRead","clearScreen","serialEvent","rightToLeft","setTextSize","leftToRight","requestFrom","keyReleased","compassRead","analogWrite","interrupts","WiFiServer","disconnect","playMelody","parseFloat","autoscroll","getPINUsed","setPINUsed","setTimeout","sendAnalog","readSlider","analogRead","beginWrite","createChar","motorsStop","keyPressed","tempoWrite","readButton","subnetMask","debugPrint","macAddress","writeGreen","randomSeed","attachGPRS","readString","sendString","remotePort","releaseAll","mouseMoved","background","getXChange","getYChange","answerCall","getResult","voiceCall","endPacket","constrain","getSocket","writeJSON","getButton","available","connected","findUntil","readBytes","exitValue","readGreen","writeBlue","startLoop","IPAddress","isPressed","sendSysex","pauseMode","gatewayIP","setCursor","getOemKey","tuneWrite","noDisplay","loadImage","switchPIN","onRequest","onReceive","changePIN","playFile","noBuffer","parseInt","overflow","checkPIN","knobRead","beginTFT","bitClear","updateIR","bitWrite","position","writeRGB","highByte","writeRed","setSpeed","readBlue","noStroke","remoteIP","transfer","shutdown","hangCall","beginSMS","endWrite","attached","maintain","noCursor","checkReg","checkPUK","shiftOut","isValid","shiftIn","pulseIn","connect","println","localIP","pinMode","getIMEI","display","noBlink","process","getBand","running","beginSD","drawBMP","lowByte","setBand","release","bitRead","prepare","pointTo","readRed","setMode","noFill","remove","listen","stroke","detach","attach","noTone","exists","buffer","height","bitSet","circle","config","cursor","random","IRread","setDNS","endSMS","getKey","micros","millis","begin","print","write","ready","flush","width","isPIN","blink","clear","press","mkdir","rmdir","close","point","yield","image","BSSID","click","delay","read","text","move","peek","beep","rect","line","open","seek","fill","size","turn","stop","home","find","step","tone","sqrt","RSSI","SSID","end","bit","tan","cos","sin","pow","map","abs","max","min","get","run","put"],literal:["DIGITAL_MESSAGE","FIRMATA_STRING","ANALOG_MESSAGE","REPORT_DIGITAL","REPORT_ANALOG","INPUT_PULLUP","SET_PIN_MODE","INTERNAL2V56","SYSTEM_RESET","LED_BUILTIN","INTERNAL1V1","SYSEX_START","INTERNAL","EXTERNAL","DEFAULT","OUTPUT","INPUT","HIGH","LOW"]},n=function(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",a="(?!struct)("+r+"|"+t.optional(i)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",o={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},s={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},l={className:"number",variants:[ +// Floating-point literal. +{begin:"[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"}, +// Integer literal. +{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},c={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={className:"title",begin:t.optional(i)+e.IDENT_RE,relevance:0},d=t.optional(i)+e.IDENT_RE+"\\s*\\(",h={type:["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],keyword:["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","flat_map","flat_set","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"]},p={className:"function.dispatch",relevance:0,keywords:{ +// Only for relevance, not highlighting. +_hint:["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"]},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},g=[p,c,o,n,e.C_BLOCK_COMMENT_MODE,l,s],m={ +// This mode covers expression context where we can't expect a function +// definition and shouldn't highlight anything that looks like one: +// `return some()`, `else if()`, `(x*sum(1, 2))` +variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:h,contains:g.concat([{begin:/\(/,end:/\)/,keywords:h,contains:g.concat(["self"]),relevance:0}]),relevance:0},_={className:"function",begin:"("+a+"[\\*&\\s]+)+"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:h,illegal:/[^\w\s\*&:<>.]/,contains:[{ +// to prevent it from being confused as the function title +begin:r,keywords:h,relevance:0},{begin:d,returnBegin:!0,contains:[u],relevance:0}, +// needed because we do not have look-behind on the below rule +// to prevent it from grabbing the final : in a :: pair +{begin:/::/,relevance:0}, +// initializers +{begin:/:/,endsWithParent:!0,contains:[s,l]}, +// allow for multiple declarations, e.g.: +// extern void f(int), g(char); +{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:h,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,s,l,o, +// Count matching parentheses. +{begin:/\(/,end:/\)/,keywords:h,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,s,l,o]}]},o,n,e.C_BLOCK_COMMENT_MODE,c]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:h,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(m,_,p,g,[c,{ +// containers: ie, `vector <int> rooms (9);` +begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function|flat_map|flat_set)\\s*<(?!<)",end:">",keywords:h,contains:["self",o]},{begin:e.IDENT_RE+"::",keywords:h},{match:[ +// extra complexity to deal with `enum class` and `enum struct` +/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}(e),r= +/** @type {Record<string,any>} */n.keywords;return r.type=[...r.type,...t.type],r.literal=[...r.literal,...t.literal],r.built_in=[...r.built_in,...t.built_in],r._hints=t._hints,n.name="Arduino",n.aliases=["ino"],n.supersetOf="cpp",n}}function ad(){if(ei)return Jr;return ei=1,Jr=function(e){const t={variants:[e.COMMENT("^[ \\t]*(?=#)","$",{relevance:0,excludeBegin:!0}),e.COMMENT("[;@]","$",{relevance:0}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]};return{name:"ARM Assembly",case_insensitive:!0,aliases:["arm"],keywords:{$pattern:"\\.?"+e.IDENT_RE,meta: +// GNU preprocs +".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .arm .thumb .code16 .code32 .force_thumb .thumb_func .ltorg ALIAS ALIGN ARM AREA ASSERT ATTR CN CODE CODE16 CODE32 COMMON CP DATA DCB DCD DCDU DCDO DCFD DCFDU DCI DCQ DCQU DCW DCWU DN ELIF ELSE END ENDFUNC ENDIF ENDP ENTRY EQU EXPORT EXPORTAS EXTERN FIELD FILL FUNCTION GBLA GBLL GBLS GET GLOBAL IF IMPORT INCBIN INCLUDE INFO KEEP LCLA LCLL LCLS LTORG MACRO MAP MEND MEXIT NOFP OPT PRESERVE8 PROC QN READONLY RELOC REQUIRE REQUIRE8 RLIST FN ROUT SETA SETL SETS SN SPACE SUBT THUMB THUMBX TTL WHILE WEND ",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 w0 w1 w2 w3 w4 w5 w6 w7 w8 w9 w10 w11 w12 w13 w14 w15 w16 w17 w18 w19 w20 w21 w22 w23 w24 w25 w26 w27 w28 w29 w30 x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 x10 x11 x12 x13 x14 x15 x16 x17 x18 x19 x20 x21 x22 x23 x24 x25 x26 x27 x28 x29 x30 pc lr sp ip sl sb fp a1 a2 a3 a4 v1 v2 v3 v4 v5 v6 v7 v8 f0 f1 f2 f3 f4 f5 f6 f7 p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 q0 q1 q2 q3 q4 q5 q6 q7 q8 q9 q10 q11 q12 q13 q14 q15 cpsr_c cpsr_x cpsr_s cpsr_f cpsr_cx cpsr_cxs cpsr_xs cpsr_xsf cpsr_sf cpsr_cxsf spsr_c spsr_x spsr_s spsr_f spsr_cx spsr_cxs spsr_xs spsr_xsf spsr_sf spsr_cxsf s0 s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12 s13 s14 s15 s16 s17 s18 s19 s20 s21 s22 s23 s24 s25 s26 s27 s28 s29 s30 s31 d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 d15 d16 d17 d18 d19 d20 d21 d22 d23 d24 d25 d26 d27 d28 d29 d30 d31 {PC} {VAR} {TRUE} {FALSE} {OPT} {CONFIG} {ENDIAN} {CODESIZE} {CPU} {FPU} {ARCHITECTURE} {PCSTOREOFFSET} {ARMASM_VERSION} {INTER} {ROPI} {RWPI} {SWST} {NOSWST} . @"},contains:[{className:"keyword",begin:"\\b(adc|(qd?|sh?|u[qh]?)?add(8|16)?|usada?8|(q|sh?|u[qh]?)?(as|sa)x|and|adrl?|sbc|rs[bc]|asr|b[lx]?|blx|bxj|cbn?z|tb[bh]|bic|bfc|bfi|[su]bfx|bkpt|cdp2?|clz|clrex|cmp|cmn|cpsi[ed]|cps|setend|dbg|dmb|dsb|eor|isb|it[te]{0,3}|lsl|lsr|ror|rrx|ldm(([id][ab])|f[ds])?|ldr((s|ex)?[bhd])?|movt?|mvn|mra|mar|mul|[us]mull|smul[bwt][bt]|smu[as]d|smmul|smmla|mla|umlaal|smlal?([wbt][bt]|d)|mls|smlsl?[ds]|smc|svc|sev|mia([bt]{2}|ph)?|mrr?c2?|mcrr2?|mrs|msr|orr|orn|pkh(tb|bt)|rbit|rev(16|sh)?|sel|[su]sat(16)?|nop|pop|push|rfe([id][ab])?|stm([id][ab])?|str(ex)?[bhd]?|(qd?)?sub|(sh?|q|u[qh]?)?sub(8|16)|[su]xt(a?h|a?b(16)?)|srs([id][ab])?|swpb?|swi|smi|tst|teq|wfe|wfi|yield)(eq|ne|cs|cc|mi|pl|vs|vc|hi|ls|ge|lt|gt|le|al|hs|lo)?[sptrx]?(?=\\s)"},t,e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{ +// hex +begin:"[#$=]?0x[0-9a-f]+"},{ +// bin +begin:"[#$=]?0b[01]+"},{ +// literal +begin:"[#$=]\\d+"},{ +// bare number +begin:"\\b\\d+"}],relevance:0},{className:"symbol",variants:[{ +// GNU ARM syntax +begin:"^[ \\t]*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{ +// ARM syntax +begin:"^[a-z_\\.\\$][a-z0-9_\\.\\$]+"},{ +// label reference +begin:"[=#]\\w+"}],relevance:0}]}}}function od(){if(ni)return ti;return ni=1,ti=function(e){const t=e.regex,n=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),r={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},i={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},a=e.inherit(i,{begin:/\(/,end:/\)/}),o=e.inherit(e.APOS_STRING_MODE,{className:"string"}),s=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),l={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:/[\p{L}0-9._:-]+/u,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[r]},{begin:/'/,end:/'/,contains:[r]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[i,s,o,a,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[i,a,s,o]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},r, +// xml processing instructions +{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[s]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag", +/* + The lookahead pattern (?=...) ensures that 'begin' only matches + '<style' as a single word, followed by a whitespace or an + ending bracket. + */ +begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[l],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag", +// See the comment in the <style tag about the lookahead pattern +begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[l],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}}, +// we need this for now for jSX +{className:"tag",begin:/<>|<\/>/}, +// open tag +{className:"tag",begin:t.concat(/</,t.lookahead(t.concat(n, +// <tag/> +// <tag> +// <tag ... +t.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:n,relevance:0,starts:l}]}, +// close tag +{className:"tag",begin:t.concat(/<\//,t.lookahead(t.concat(n,/>/))),contains:[{className:"name",begin:n,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}}function sd(){if(ii)return ri;return ii=1,ri=function(e){const t=e.regex,n=[ +// inline unconstrained strong (single line) +{className:"strong",begin:/\*{2}([^\n]+?)\*{2}/}, +// inline unconstrained strong (multi-line) +{className:"strong",begin:t.concat(/\*\*/,/((\*(?!\*)|\\[^\n]|[^*\n\\])+\n)+/,/(\*(?!\*)|\\[^\n]|[^*\n\\])*/,/\*\*/),relevance:0}, +// inline constrained strong (single line) +{className:"strong", +// must not precede or follow a word character +begin:/\B\*(\S|\S[^\n]*?\S)\*(?!\w)/}, +// inline constrained strong (multi-line) +{className:"strong", +// must not precede or follow a word character +begin:/\*[^\s]([^\n]+\n)+([^\n]+)\*/}],r=[ +// inline unconstrained emphasis (single line) +{className:"emphasis",begin:/_{2}([^\n]+?)_{2}/}, +// inline unconstrained emphasis (multi-line) +{className:"emphasis",begin:t.concat(/__/,/((_(?!_)|\\[^\n]|[^_\n\\])+\n)+/,/(_(?!_)|\\[^\n]|[^_\n\\])*/,/__/),relevance:0}, +// inline constrained emphasis (single line) +{className:"emphasis", +// must not precede or follow a word character +begin:/\b_(\S|\S[^\n]*?\S)_(?!\w)/}, +// inline constrained emphasis (multi-line) +{className:"emphasis", +// must not precede or follow a word character +begin:/_[^\s]([^\n]+\n)+([^\n]+)_/}, +// inline constrained emphasis using single quote (legacy) +{className:"emphasis", +// must not follow a word character or be followed by a single quote or space +begin:"\\B'(?!['\\s])",end:"(\\n{2}|')", +// allow escaped single quote followed by word char +contains:[{begin:"\\\\'\\w",relevance:0}],relevance:0}];return{name:"AsciiDoc",aliases:["adoc"],contains:[ +// block comment +e.COMMENT("^/{4,}\\n","\\n/{4,}$", +// can also be done as... +// '^/{4,}$', +// '^/{4,}$', +{relevance:10}), +// line comment +e.COMMENT("^//","$",{relevance:0}), +// title +{className:"title",begin:"^\\.\\w.*$"}, +// example, admonition & sidebar blocks +{begin:"^[=\\*]{4,}\\n",end:"\\n^[=\\*]{4,}$",relevance:10}, +// headings +{className:"section",relevance:10,variants:[{begin:"^(={1,6})[ \t].+?([ \t]\\1)?$"},{begin:"^[^\\[\\]\\n]+?\\n[=\\-~\\^\\+]{2,}$"}]}, +// document attributes +{className:"meta",begin:"^:.+?:",end:"\\s",excludeEnd:!0,relevance:10}, +// block attributes +{className:"meta",begin:"^\\[.+?\\]$",relevance:0}, +// quoteblocks +{className:"quote",begin:"^_{4,}\\n",end:"\\n_{4,}$",relevance:10}, +// listing and literal blocks +{className:"code",begin:"^[\\-\\.]{4,}\\n",end:"\\n[\\-\\.]{4,}$",relevance:10}, +// passthrough blocks +{begin:"^\\+{4,}\\n",end:"\\n\\+{4,}$",contains:[{begin:"<",end:">",subLanguage:"xml",relevance:0}],relevance:10},{className:"bullet",begin:"^(\\*+|-+|\\.+|[^\\n]+?::)\\s+"},{className:"symbol",begin:"^(NOTE|TIP|IMPORTANT|WARNING|CAUTION):\\s+",relevance:10}, +// escaped constrained formatting marks (i.e., \* \_ or \`) +{begin:/\\[*_`]/}, +// escaped unconstrained formatting marks (i.e., \\** \\__ or \\``) +// must ignore until the next formatting marks +// this rule might not be 100% compliant with Asciidoctor 2.0 but we are entering undefined behavior territory... +{begin:/\\\\\*{2}[^\n]*?\*{2}/},{begin:/\\\\_{2}[^\n]*_{2}/},{begin:/\\\\`{2}[^\n]*`{2}/}, +// guard: constrained formatting mark may not be preceded by ":", ";" or +// "}". match these so the constrained rule doesn't see them +{begin:/[:;}][*_`](?![*_`])/},...n,...r, +// inline smart quotes +{className:"string",variants:[{begin:"``.+?''"},{begin:"`.+?'"}]}, +// inline unconstrained emphasis +{className:"code",begin:/`{2}/,end:/(\n{2}|`{2})/}, +// inline code snippets (TODO should get same treatment as strong and emphasis) +{className:"code",begin:"(`.+?`|\\+.+?\\+)",relevance:0}, +// indented literal block +{className:"code",begin:"^[ \\t]",end:"$",relevance:0},{begin:"^'{3,}[ \\t]*$",relevance:10}, +// images and links +{begin:"(link:)?(http|https|ftp|file|irc|image:?):\\S+?\\[[^[]*?\\]",returnBegin:!0,contains:[{begin:"(link|image:?):",relevance:0},{className:"link",begin:"\\w",end:"[^\\[]+",relevance:0},{className:"string",begin:"\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0,relevance:0}],relevance:10}]}}}function ld(){if(oi)return ai;return oi=1,ai=function(e){const t=e.regex,n=["false","synchronized","int","abstract","float","private","char","boolean","static","null","if","const","for","true","while","long","throw","strictfp","finally","protected","import","native","final","return","void","enum","else","extends","implements","break","transient","new","catch","instanceof","byte","super","volatile","case","assert","short","package","default","double","public","try","this","switch","continue","throws","privileged","aspectOf","adviceexecution","proceed","cflowbelow","cflow","initialization","preinitialization","staticinitialization","withincode","target","within","execution","getWithinTypeName","handler","thisJoinPoint","thisJoinPointStaticPart","thisEnclosingJoinPointStaticPart","declare","parents","warning","error","soft","precedence","thisAspectInstance"],r=["get","set","args","call"];return{name:"AspectJ",keywords:n,illegal:/<\/|#/,contains:[e.COMMENT(/\/\*\*/,/\*\//,{relevance:0,contains:[{ +// eat up @'s in emails to prevent them to be recognized as doctags +begin:/\w+@/,relevance:0},{className:"doctag",begin:/@[A-Za-z]+/}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"class",beginKeywords:"aspect",end:/[{;=]/,excludeEnd:!0,illegal:/[:;"\[\]]/,contains:[{beginKeywords:"extends implements pertypewithin perthis pertarget percflowbelow percflow issingleton"},e.UNDERSCORE_TITLE_MODE,{begin:/\([^\)]*/,end:/[)]+/,keywords:n.concat(r),excludeEnd:!1}]},{className:"class",beginKeywords:"class interface",end:/[{;=]/,excludeEnd:!0,relevance:0,keywords:"class interface",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{ +// AspectJ Constructs +beginKeywords:"pointcut after before around throwing returning",end:/[)]/,excludeEnd:!1,illegal:/["\[\]]/,contains:[{begin:t.concat(e.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,contains:[e.UNDERSCORE_TITLE_MODE]}]},{begin:/[:]/,returnBegin:!0,end:/[{;]/,relevance:0,excludeEnd:!1,keywords:n,illegal:/["\[\]]/,contains:[{begin:t.concat(e.UNDERSCORE_IDENT_RE,/\s*\(/),keywords:n.concat(r),relevance:0},e.QUOTE_STRING_MODE]},{ +// this prevents 'new Name(...), or throw ...' from being recognized as a function definition +beginKeywords:"new throw",relevance:0},{ +// the function class is a bit different for AspectJ compared to the Java language +className:"function",begin:/\w+ +\w+(\.\w+)?\s*\([^\)]*\)\s*((throws)[\w\s,]+)?[\{;]/,returnBegin:!0,end:/[{;=]/,keywords:n,excludeEnd:!0,contains:[{begin:t.concat(e.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,relevance:0,keywords:n,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_NUMBER_MODE,{ +// annotation is also used in this language +className:"meta",begin:/@[A-Za-z]+/}]}}}function cd(){if(li)return si;return li=1,si=function(e){const t={begin:"`[\\s\\S]"};return{name:"AutoHotkey",case_insensitive:!0,aliases:["ahk"],keywords:{keyword:"Break Continue Critical Exit ExitApp Gosub Goto New OnExit Pause return SetBatchLines SetTimer Suspend Thread Throw Until ahk_id ahk_class ahk_pid ahk_exe ahk_group",literal:"true false NOT AND OR",built_in:"ComSpec Clipboard ClipboardAll ErrorLevel"},contains:[t,e.inherit(e.QUOTE_STRING_MODE,{contains:[t]}),e.COMMENT(";","$",{relevance:0}),e.C_BLOCK_COMMENT_MODE,{className:"number",begin:e.NUMBER_RE,relevance:0},{ +// subst would be the most accurate however fails the point of +// highlighting. variable is comparably the most accurate that actually +// has some effect +className:"variable",begin:"%[a-zA-Z0-9#_$@]+%"},{className:"built_in",begin:"^\\s*\\w+\\s*(,|%)"},{ +// symbol would be most accurate however is highlighted just like +// built_in and that makes up a lot of AutoHotkey code meaning that it +// would fail to highlight anything +className:"title",variants:[{begin:'^[^\\n";]+::(?!=)'},{begin:'^[^\\n";]+:(?!=)', +// zero relevance as it catches a lot of things +// followed by a single ':' in many languages +relevance:0}]},{className:"meta",begin:"^\\s*#\\w+",end:"$",relevance:0},{className:"built_in",begin:"A_[a-zA-Z0-9]+"},{ +// consecutive commas, not for highlighting but just for relevance +begin:",\\s*,"}]}}}function ud(){if(ui)return ci;return ui=1,ci=function(e){const t={variants:[e.COMMENT(";","$",{relevance:0}),e.COMMENT("#cs","#ce"),e.COMMENT("#comments-start","#comments-end")]},n={begin:"\\$[A-z0-9_]+"},r={className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},i={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]};return{name:"AutoIt",case_insensitive:!0,illegal:/\/\*/,keywords:{keyword:"ByRef Case Const ContinueCase ContinueLoop Dim Do Else ElseIf EndFunc EndIf EndSelect EndSwitch EndWith Enum Exit ExitLoop For Func Global If In Local Next ReDim Return Select Static Step Switch Then To Until Volatile WEnd While With",built_in:"Abs ACos AdlibRegister AdlibUnRegister Asc AscW ASin Assign ATan AutoItSetOption AutoItWinGetTitle AutoItWinSetTitle Beep Binary BinaryLen BinaryMid BinaryToString BitAND BitNOT BitOR BitRotate BitShift BitXOR BlockInput Break Call CDTray Ceiling Chr ChrW ClipGet ClipPut ConsoleRead ConsoleWrite ConsoleWriteError ControlClick ControlCommand ControlDisable ControlEnable ControlFocus ControlGetFocus ControlGetHandle ControlGetPos ControlGetText ControlHide ControlListView ControlMove ControlSend ControlSetText ControlShow ControlTreeView Cos Dec DirCopy DirCreate DirGetSize DirMove DirRemove DllCall DllCallAddress DllCallbackFree DllCallbackGetPtr DllCallbackRegister DllClose DllOpen DllStructCreate DllStructGetData DllStructGetPtr DllStructGetSize DllStructSetData DriveGetDrive DriveGetFileSystem DriveGetLabel DriveGetSerial DriveGetType DriveMapAdd DriveMapDel DriveMapGet DriveSetLabel DriveSpaceFree DriveSpaceTotal DriveStatus EnvGet EnvSet EnvUpdate Eval Execute Exp FileChangeDir FileClose FileCopy FileCreateNTFSLink FileCreateShortcut FileDelete FileExists FileFindFirstFile FileFindNextFile FileFlush FileGetAttrib FileGetEncoding FileGetLongName FileGetPos FileGetShortcut FileGetShortName FileGetSize FileGetTime FileGetVersion FileInstall FileMove FileOpen FileOpenDialog FileRead FileReadLine FileReadToArray FileRecycle FileRecycleEmpty FileSaveDialog FileSelectFolder FileSetAttrib FileSetEnd FileSetPos FileSetTime FileWrite FileWriteLine Floor FtpSetProxy FuncName GUICreate GUICtrlCreateAvi GUICtrlCreateButton GUICtrlCreateCheckbox GUICtrlCreateCombo GUICtrlCreateContextMenu GUICtrlCreateDate GUICtrlCreateDummy GUICtrlCreateEdit GUICtrlCreateGraphic GUICtrlCreateGroup GUICtrlCreateIcon GUICtrlCreateInput GUICtrlCreateLabel GUICtrlCreateList GUICtrlCreateListView GUICtrlCreateListViewItem GUICtrlCreateMenu GUICtrlCreateMenuItem GUICtrlCreateMonthCal GUICtrlCreateObj GUICtrlCreatePic GUICtrlCreateProgress GUICtrlCreateRadio GUICtrlCreateSlider GUICtrlCreateTab GUICtrlCreateTabItem GUICtrlCreateTreeView GUICtrlCreateTreeViewItem GUICtrlCreateUpdown GUICtrlDelete GUICtrlGetHandle GUICtrlGetState GUICtrlRead GUICtrlRecvMsg GUICtrlRegisterListViewSort GUICtrlSendMsg GUICtrlSendToDummy GUICtrlSetBkColor GUICtrlSetColor GUICtrlSetCursor GUICtrlSetData GUICtrlSetDefBkColor GUICtrlSetDefColor GUICtrlSetFont GUICtrlSetGraphic GUICtrlSetImage GUICtrlSetLimit GUICtrlSetOnEvent GUICtrlSetPos GUICtrlSetResizing GUICtrlSetState GUICtrlSetStyle GUICtrlSetTip GUIDelete GUIGetCursorInfo GUIGetMsg GUIGetStyle GUIRegisterMsg GUISetAccelerators GUISetBkColor GUISetCoord GUISetCursor GUISetFont GUISetHelp GUISetIcon GUISetOnEvent GUISetState GUISetStyle GUIStartGroup GUISwitch Hex HotKeySet HttpSetProxy HttpSetUserAgent HWnd InetClose InetGet InetGetInfo InetGetSize InetRead IniDelete IniRead IniReadSection IniReadSectionNames IniRenameSection IniWrite IniWriteSection InputBox Int IsAdmin IsArray IsBinary IsBool IsDeclared IsDllStruct IsFloat IsFunc IsHWnd IsInt IsKeyword IsNumber IsObj IsPtr IsString Log MemGetStats Mod MouseClick MouseClickDrag MouseDown MouseGetCursor MouseGetPos MouseMove MouseUp MouseWheel MsgBox Number ObjCreate ObjCreateInterface ObjEvent ObjGet ObjName OnAutoItExitRegister OnAutoItExitUnRegister Ping PixelChecksum PixelGetColor PixelSearch ProcessClose ProcessExists ProcessGetStats ProcessList ProcessSetPriority ProcessWait ProcessWaitClose ProgressOff ProgressOn ProgressSet Ptr Random RegDelete RegEnumKey RegEnumVal RegRead RegWrite Round Run RunAs RunAsWait RunWait Send SendKeepActive SetError SetExtended ShellExecute ShellExecuteWait Shutdown Sin Sleep SoundPlay SoundSetWaveVolume SplashImageOn SplashOff SplashTextOn Sqrt SRandom StatusbarGetText StderrRead StdinWrite StdioClose StdoutRead String StringAddCR StringCompare StringFormat StringFromASCIIArray StringInStr StringIsAlNum StringIsAlpha StringIsASCII StringIsDigit StringIsFloat StringIsInt StringIsLower StringIsSpace StringIsUpper StringIsXDigit StringLeft StringLen StringLower StringMid StringRegExp StringRegExpReplace StringReplace StringReverse StringRight StringSplit StringStripCR StringStripWS StringToASCIIArray StringToBinary StringTrimLeft StringTrimRight StringUpper Tan TCPAccept TCPCloseSocket TCPConnect TCPListen TCPNameToIP TCPRecv TCPSend TCPShutdown, UDPShutdown TCPStartup, UDPStartup TimerDiff TimerInit ToolTip TrayCreateItem TrayCreateMenu TrayGetMsg TrayItemDelete TrayItemGetHandle TrayItemGetState TrayItemGetText TrayItemSetOnEvent TrayItemSetState TrayItemSetText TraySetClick TraySetIcon TraySetOnEvent TraySetPauseIcon TraySetState TraySetToolTip TrayTip UBound UDPBind UDPCloseSocket UDPOpen UDPRecv UDPSend VarGetType WinActivate WinActive WinClose WinExists WinFlash WinGetCaretPos WinGetClassList WinGetClientSize WinGetHandle WinGetPos WinGetProcess WinGetState WinGetText WinGetTitle WinKill WinList WinMenuSelectItem WinMinimizeAll WinMinimizeAllUndo WinMove WinSetOnTop WinSetState WinSetTitle WinSetTrans WinWait WinWaitActive WinWaitClose WinWaitNotActive",literal:"True False And Null Not Or Default"},contains:[t,n,r,i,{className:"meta",begin:"#",end:"$",keywords:{keyword:["EndRegion","forcedef","forceref","ignorefunc","include","include-once","NoTrayIcon","OnAutoItStartRegister","pragma","Region","RequireAdmin","Tidy_Off","Tidy_On","Tidy_Parameters"]},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",keywords:{keyword:"include"},end:"$",contains:[r,{className:"string",variants:[{begin:"<",end:">"},{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]}]},r,t]},{className:"symbol", +// begin: '@', +// end: '$', +// keywords: 'AppDataCommonDir AppDataDir AutoItExe AutoItPID AutoItVersion AutoItX64 COM_EventObj CommonFilesDir Compiled ComputerName ComSpec CPUArch CR CRLF DesktopCommonDir DesktopDepth DesktopDir DesktopHeight DesktopRefresh DesktopWidth DocumentsCommonDir error exitCode exitMethod extended FavoritesCommonDir FavoritesDir GUI_CtrlHandle GUI_CtrlId GUI_DragFile GUI_DragId GUI_DropId GUI_WinHandle HomeDrive HomePath HomeShare HotKeyPressed HOUR IPAddress1 IPAddress2 IPAddress3 IPAddress4 KBLayout LF LocalAppDataDir LogonDNSDomain LogonDomain LogonServer MDAY MIN MON MSEC MUILang MyDocumentsDir NumParams OSArch OSBuild OSLang OSServicePack OSType OSVersion ProgramFilesDir ProgramsCommonDir ProgramsDir ScriptDir ScriptFullPath ScriptLineNumber ScriptName SEC StartMenuCommonDir StartMenuDir StartupCommonDir StartupDir SW_DISABLE SW_ENABLE SW_HIDE SW_LOCK SW_MAXIMIZE SW_MINIMIZE SW_RESTORE SW_SHOW SW_SHOWDEFAULT SW_SHOWMAXIMIZED SW_SHOWMINIMIZED SW_SHOWMINNOACTIVE SW_SHOWNA SW_SHOWNOACTIVATE SW_SHOWNORMAL SW_UNLOCK SystemDir TAB TempDir TRAY_ID TrayIconFlashing TrayIconVisible UserName UserProfileDir WDAY WindowsDir WorkingDir YDAY YEAR', +// relevance: 5 +begin:"@[A-z0-9_]+"},{beginKeywords:"Func",end:"$",illegal:"\\$|\\[|%",contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{className:"title.function"}),{className:"params",begin:"\\(",end:"\\)",contains:[n,r,i]}]}]}}}function dd(){if(hi)return di;return hi=1,di=function(e){return{name:"AVR Assembly",case_insensitive:!0,keywords:{$pattern:"\\.?"+e.IDENT_RE,keyword: +/* mnemonic */"adc add adiw and andi asr bclr bld brbc brbs brcc brcs break breq brge brhc brhs brid brie brlo brlt brmi brne brpl brsh brtc brts brvc brvs bset bst call cbi cbr clc clh cli cln clr cls clt clv clz com cp cpc cpi cpse dec eicall eijmp elpm eor fmul fmuls fmulsu icall ijmp in inc jmp ld ldd ldi lds lpm lsl lsr mov movw mul muls mulsu neg nop or ori out pop push rcall ret reti rjmp rol ror sbc sbr sbrc sbrs sec seh sbi sbci sbic sbis sbiw sei sen ser ses set sev sez sleep spm st std sts sub subi swap tst wdr",built_in: +/* general purpose registers */"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 r16 r17 r18 r19 r20 r21 r22 r23 r24 r25 r26 r27 r28 r29 r30 r31 x|0 xh xl y|0 yh yl z|0 zh zl ucsr1c udr1 ucsr1a ucsr1b ubrr1l ubrr1h ucsr0c ubrr0h tccr3c tccr3a tccr3b tcnt3h tcnt3l ocr3ah ocr3al ocr3bh ocr3bl ocr3ch ocr3cl icr3h icr3l etimsk etifr tccr1c ocr1ch ocr1cl twcr twdr twar twsr twbr osccal xmcra xmcrb eicra spmcsr spmcr portg ddrg ping portf ddrf sreg sph spl xdiv rampz eicrb eimsk gimsk gicr eifr gifr timsk tifr mcucr mcucsr tccr0 tcnt0 ocr0 assr tccr1a tccr1b tcnt1h tcnt1l ocr1ah ocr1al ocr1bh ocr1bl icr1h icr1l tccr2 tcnt2 ocr2 ocdr wdtcr sfior eearh eearl eedr eecr porta ddra pina portb ddrb pinb portc ddrc pinc portd ddrd pind spdr spsr spcr udr0 ucsr0a ucsr0b ubrr0l acsr admux adcsr adch adcl porte ddre pine pinf",meta:".byte .cseg .db .def .device .dseg .dw .endmacro .equ .eseg .exit .include .list .listmac .macro .nolist .org .set"},contains:[e.C_BLOCK_COMMENT_MODE,e.COMMENT(";","$",{relevance:0}),e.C_NUMBER_MODE, +// 0x..., decimal, float +e.BINARY_NUMBER_MODE, +// 0b... +{className:"number",begin:"\\b(\\$[a-zA-Z0-9]+|0o[0-7]+)"},e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",illegal:"[^\\\\][^']"},{className:"symbol",begin:"^[A-Za-z0-9_.$]+:"},{className:"meta",begin:"#",end:"$"},{ +// substitution within a macro +className:"subst",begin:"@[0-9]+"}]}}}function hd(){if(gi)return pi;return gi=1,pi=function(e){return{name:"Awk",keywords:{keyword:"BEGIN END if else while do for in break continue delete next nextfile function func exit|10"},contains:[{className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},{className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/(u|b)?r?'''/,end:/'''/,relevance:10},{begin:/(u|b)?r?"""/,end:/"""/,relevance:10},{begin:/(u|r|ur)'/,end:/'/,relevance:10},{begin:/(u|r|ur)"/,end:/"/,relevance:10},{begin:/(b|br)'/,end:/'/},{begin:/(b|br)"/,end:/"/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},e.REGEXP_MODE,e.HASH_COMMENT_MODE,e.NUMBER_MODE]}}}function pd(){if(_i)return mi;return _i=1,mi=function(e){const t=e.UNDERSCORE_IDENT_RE,n={keyword:["abstract","as","asc","avg","break","breakpoint","by","byref","case","catch","changecompany","class","client","client","common","const","continue","count","crosscompany","delegate","delete_from","desc","display","div","do","edit","else","eventhandler","exists","extends","final","finally","firstfast","firstonly","firstonly1","firstonly10","firstonly100","firstonly1000","flush","for","forceliterals","forcenestedloop","forceplaceholders","forceselectorder","forupdate","from","generateonly","group","hint","if","implements","in","index","insert_recordset","interface","internal","is","join","like","maxof","minof","mod","namespace","new","next","nofetch","notexists","optimisticlock","order","outer","pessimisticlock","print","private","protected","public","readonly","repeatableread","retry","return","reverse","select","server","setting","static","sum","super","switch","this","throw","try","ttsabort","ttsbegin","ttscommit","unchecked","update_recordset","using","validtimestate","void","where","while"],built_in:["anytype","boolean","byte","char","container","date","double","enum","guid","int","int64","long","real","short","str","utcdatetime","var"],literal:["default","false","null","true"]},r={variants:[{match:[/(class|interface)\s+/,t,/\s+(extends|implements)\s+/,t]},{match:[/class\s+/,t]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:n};return{name:"X++",aliases:["x++"],keywords:n,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"},r]}}}function gd(){if(fi)return bi;return fi=1,bi=function(e){const t=e.regex,n={},r={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[n]}]};Object.assign(n,{className:"variable",variants:[{begin:t.concat(/\$[\w\d#@][\w\d_]*/, +// negative look-ahead tries to avoid matching patterns that are not +// Perl at all like $ident$, @ident@, etc. +"(?![\\w\\d])(?![$])")},r]});const i={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},a=e.inherit(e.COMMENT(),{match:[/(^|\s)/,/#.*$/],scope:{2:"comment"}}),o={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},s={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,n,i]};i.contains.push(s);const l={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,n]},c=e.SHEBANG({binary:`(${["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"].join("|")})`,relevance:10}),u={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:["if","then","else","elif","fi","time","for","while","until","in","do","done","case","esac","coproc","function","select"],literal:["true","false"],built_in:["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset","alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","sudo","type","typeset","ulimit","unalias", +// Shell modifiers +"set","shopt","autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp","chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor", +// "false", // keyword literal already +"groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout", +// "true", // keyword literal already +"tty","uname","unlink","uptime","users","who","whoami","yes"]},contains:[c, +// to catch known shells and boost relevancy +e.SHEBANG(), +// to catch unknown shells but still highlight the shebang +u,l,a,o,{match:/(\/[a-z._-]+)+/},s,{match:/\\"/},{className:"string",begin:/'/,end:/'/},{match:/\\'/},n]}}}function md(){if(vi)return yi;return vi=1,yi=function(e){return{name:"BASIC",case_insensitive:!0,illegal:"^.", +// Support explicitly typed variables that end with $%! or #. +keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_$%!#]*",keyword:["ABS","ASC","AND","ATN","AUTO|0","BEEP","BLOAD|10","BSAVE|10","CALL","CALLS","CDBL","CHAIN","CHDIR","CHR$|10","CINT","CIRCLE","CLEAR","CLOSE","CLS","COLOR","COM","COMMON","CONT","COS","CSNG","CSRLIN","CVD","CVI","CVS","DATA","DATE$","DEFDBL","DEFINT","DEFSNG","DEFSTR","DEF|0","SEG","USR","DELETE","DIM","DRAW","EDIT","END","ENVIRON","ENVIRON$","EOF","EQV","ERASE","ERDEV","ERDEV$","ERL","ERR","ERROR","EXP","FIELD","FILES","FIX","FOR|0","FRE","GET","GOSUB|10","GOTO","HEX$","IF","THEN","ELSE|0","INKEY$","INP","INPUT","INPUT#","INPUT$","INSTR","IMP","INT","IOCTL","IOCTL$","KEY","ON","OFF","LIST","KILL","LEFT$","LEN","LET","LINE","LLIST","LOAD","LOC","LOCATE","LOF","LOG","LPRINT","USING","LSET","MERGE","MID$","MKDIR","MKD$","MKI$","MKS$","MOD","NAME","NEW","NEXT","NOISE","NOT","OCT$","ON","OR","PEN","PLAY","STRIG","OPEN","OPTION","BASE","OUT","PAINT","PALETTE","PCOPY","PEEK","PMAP","POINT","POKE","POS","PRINT","PRINT]","PSET","PRESET","PUT","RANDOMIZE","READ","REM","RENUM","RESET|0","RESTORE","RESUME","RETURN|0","RIGHT$","RMDIR","RND","RSET","RUN","SAVE","SCREEN","SGN","SHELL","SIN","SOUND","SPACE$","SPC","SQR","STEP","STICK","STOP","STR$","STRING$","SWAP","SYSTEM","TAB","TAN","TIME$","TIMER","TROFF","TRON","TO","USR","VAL","VARPTR","VARPTR$","VIEW","WAIT","WHILE","WEND","WIDTH","WINDOW","WRITE","XOR"]},contains:[{ +// Match strings that start with " and end with " or a line break +scope:"string",begin:/"/,end:/"|$/,contains:[e.BACKSLASH_ESCAPE]},e.COMMENT("REM","$",{relevance:10}),e.COMMENT("'","$",{relevance:0}),{ +// Match line numbers +className:"symbol",begin:"^[0-9]+ ",relevance:10},{ +// Match typed numeric constants (1000, 12.34!, 1.2e5, 1.5#, 1.2D2) +className:"number",begin:"\\b\\d+(\\.\\d+)?([edED]\\d+)?[#!]?",relevance:0},{ +// Match hexadecimal numbers (&Hxxxx) +className:"number",begin:"(&[hH][0-9a-fA-F]{1,4})"},{ +// Match octal numbers (&Oxxxxxx) +className:"number",begin:"(&[oO][0-7]{1,6})"}]}}}function _d(){if(Si)return Ei;return Si=1,Ei=function(e){return{name:"Backus–Naur Form",contains:[ +// Attribute +{className:"attribute",begin:/</,end:/>/}, +// Specific +{begin:/::=/,end:/$/,contains:[{begin:/</,end:/>/}, +// Common +e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]}]}}}function bd(){if(Ci)return Ti;return Ci=1,Ti=function(e){const t={className:"literal",begin:/[+-]+/,relevance:0};return{name:"Brainfuck",aliases:["bf"],contains:[e.COMMENT(/[^\[\]\.,\+\-<> \r\n]/,/[\[\]\.,\+\-<> \r\n]/,{contains:[{match:/[ ]+[^\[\]\.,\+\-<> \r\n]/,relevance:0}],returnEnd:!0,relevance:0}),{className:"title",begin:"[\\[\\]]",relevance:0},{className:"string",begin:"[\\.,]",relevance:0},{ +// this mode works as the only relevance counter +// it looks ahead to find the start of a run of literals +// so only the runs are counted as relevant +begin:/(?=\+\+|--)/,contains:[t]},t]}}}function fd(){if(ki)return xi;return ki=1,xi=function(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",a="("+r+"|"+t.optional(i)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",o={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},s={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},l={className:"number",variants:[{match:/\b(0b[01']+)/},{match:/(-?)\b([\d']+(\.[\d']*)?|\.[\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)/},{match:/(-?)\b(0[xX][a-fA-F0-9]+(?:'[a-fA-F0-9]+)*(?:\.[a-fA-F0-9]*(?:'[a-fA-F0-9]*)*)?(?:[pP][-+]?[0-9]+)?(l|L)?(u|U)?)/},{match:/(-?)\b\d+(?:'\d+)*(?:\.\d*(?:'\d*)*)?(?:[eE][-+]?\d+)?/}],relevance:0},c={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef elifdef elifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={className:"title",begin:t.optional(i)+e.IDENT_RE,relevance:0},d=t.optional(i)+e.IDENT_RE+"\\s*\\(",h={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","typeof","typeof_unqual","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local", +// aliases +"alignas","alignof","noreturn","static_assert","thread_local", +// not a C keyword but is, for all intents and purposes, treated exactly like one. +"_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_BitInt","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal96","_Decimal128","_Decimal64x","_Decimal128x","_Float16","_Float32","_Float64","_Float128","_Float32x","_Float64x","_Float128x", +// modifiers +"const","static","constexpr", +// aliases +"complex","bool","imaginary"],literal:"true false NULL", +// TODO: apply hinting work similar to what was done in cpp.js +built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},p=[c,o,n,e.C_BLOCK_COMMENT_MODE,l,s],g={ +// This mode covers expression context where we can't expect a function +// definition and shouldn't highlight anything that looks like one: +// `return some()`, `else if()`, `(x*sum(1, 2))` +variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:h,contains:p.concat([{begin:/\(/,end:/\)/,keywords:h,contains:p.concat(["self"]),relevance:0}]),relevance:0},m={begin:"("+a+"[\\*&\\s]+)+"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:h,illegal:/[^\w\s\*&:<>.]/,contains:[{ +// to prevent it from being confused as the function title +begin:r,keywords:h,relevance:0},{begin:d,returnBegin:!0,contains:[e.inherit(u,{className:"title.function"})],relevance:0}, +// allow for multiple declarations, e.g.: +// extern void f(int), g(char); +{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:h,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,s,l,o, +// Count matching parentheses. +{begin:/\(/,end:/\)/,keywords:h,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,s,l,o]}]},o,n,e.C_BLOCK_COMMENT_MODE,c]};return{name:"C",aliases:["h"],keywords:h, +// Until differentiations are added between `c` and `cpp`, `c` will +// not be auto-detected to avoid auto-detect conflicts between C and C++ +disableAutodetect:!0,illegal:"</",contains:[].concat(g,m,p,[c,{begin:e.IDENT_RE+"::",keywords:h},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:c,strings:s,keywords:h}}}}function yd(){if(wi)return Ai;return wi=1,Ai=function(e){const t=e.regex,n=["div","mod","in","and","or","not","xor","asserterror","begin","case","do","downto","else","end","exit","for","local","if","of","repeat","then","to","until","while","with","var"],r=[e.C_LINE_COMMENT_MODE,e.COMMENT(/\{/,/\}/,{relevance:0}),e.COMMENT(/\(\*/,/\*\)/,{relevance:10})],i={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},a={className:"string",begin:/(#\d+)+/},o={match:[/procedure/,/\s+/,/[a-zA-Z_][\w@]*/,/\s*/],scope:{1:"keyword",3:"title.function"},contains:[{className:"params",begin:/\(/,end:/\)/,keywords:n,contains:[i,a,e.NUMBER_MODE]},...r]},s={match:[/OBJECT/,/\s+/,t.either("Table","Form","Report","Dataport","Codeunit","XMLport","MenuSuite","Page","Query"),/\s+/,/\d+/,/\s+(?=[^\s])/,/.*/,/$/],relevance:3,scope:{1:"keyword",3:"type",5:"number",7:"title"}};return{name:"C/AL",case_insensitive:!0,keywords:{keyword:n,literal:"false true"},illegal:/\/\*/,contains:[{match:/[\w]+(?=\=)/,scope:"attribute",relevance:0},i,a,{className:"number",begin:"\\b\\d+(\\.\\d+)?(DT|D|T)",relevance:0},{className:"string", +// not a string technically but makes sense to be highlighted in the same style +begin:'"',end:'"'},e.NUMBER_MODE,s,o]}}}function vd(){if(Oi)return Ni;return Oi=1,Ni=function(e){const t={variants:[{match:[/(struct|enum|interface)/,/\s+/,e.IDENT_RE]},{match:[/extends/,/\s*\(/,e.IDENT_RE,/\s*\)/]}],scope:{1:"keyword",3:"title.class"}};return{name:"Cap’n Proto",aliases:["capnp"],keywords:{keyword:["struct","enum","interface","union","group","import","using","const","annotation","extends","in","of","on","as","with","from","fixed"],type:["Void","Bool","Int8","Int16","Int32","Int64","UInt8","UInt16","UInt32","UInt64","Float32","Float64","Text","Data","AnyPointer","AnyStruct","Capability","List"],literal:["true","false"]},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.HASH_COMMENT_MODE,{className:"meta",begin:/@0x[\w\d]{16};/,illegal:/\n/},{className:"symbol",begin:/@\d+\b/},t]}}}function Ed(){if(Ii)return Ri;return Ii=1,Ri=function(e){const t=["assembly","module","package","import","alias","class","interface","object","given","value","assign","void","function","new","of","extends","satisfies","abstracts","in","out","return","break","continue","throw","assert","dynamic","if","else","switch","case","for","while","try","catch","finally","then","let","this","outer","super","is","exists","nonempty"],n={className:"subst",excludeBegin:!0,excludeEnd:!0,begin:/``/,end:/``/,keywords:t,relevance:10},r=[{ +// verbatim string +className:"string",begin:'"""',end:'"""',relevance:10},{ +// string literal or template +className:"string",begin:'"',end:'"',contains:[n]},{ +// character literal +className:"string",begin:"'",end:"'"},{ +// numeric literal +className:"number",begin:"#[0-9a-fA-F_]+|\\$[01_]+|[0-9_]+(?:\\.[0-9_](?:[eE][+-]?\\d+)?)?[kMGTPmunpf]?",relevance:0}];return n.contains=r,{name:"Ceylon",keywords:{keyword:t.concat(["shared","abstract","formal","default","actual","variable","late","native","deprecated","final","sealed","annotation","suppressWarnings","small"]),meta:["doc","by","license","see","throws","tagged"]},illegal:"\\$[^01]|#[^0-9a-fA-F]",contains:[e.C_LINE_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:["self"]}),{ +// compiler annotation +className:"meta",begin:'@[a-z]\\w*(?::"[^"]*")?'}].concat(r)}}}function Sd(){if(Mi)return Di;return Mi=1,Di=function(e){return{name:"Clean",aliases:["icl","dcl"],keywords:{keyword:["if","let","in","with","where","case","of","class","instance","otherwise","implementation","definition","system","module","from","import","qualified","as","special","code","inline","foreign","export","ccall","stdcall","generic","derive","infix","infixl","infixr"],built_in:"Int Real Char Bool",literal:"True False"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{ +// relevance booster +begin:"->|<-[|:]?|#!?|>>=|\\{\\||\\|\\}|:==|=:|<>"}]}}}function Td(){if(Pi)return Li;return Pi=1,Li=function(e){const t="a-zA-Z_\\-!.?+*=<>&'",n="[#]?["+t+"]["+t+"0-9/;:$#]*",r="def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord",i={$pattern:n,built_in: +// Clojure keywords +r+" cond apply if-not if-let if not not= =|0 <|0 >|0 <=|0 >=|0 ==|0 +|0 /|0 *|0 -|0 rem quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last drop-while while intern condp case reduced cycle split-at split-with repeat replicate iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter monitor-exit macroexpand macroexpand-1 for dosync and or when when-not when-let comp juxt partial sequence memoize constantly complement identity assert peek pop doto proxy first rest cons cast coll last butlast sigs reify second ffirst fnext nfirst nnext meta with-meta ns in-ns create-ns import refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize"},a={begin:n,relevance:0},o={scope:"number",relevance:0,variants:[{match:/[-+]?0[xX][0-9a-fA-F]+N?/}, +// hexadecimal // 0x2a +{match:/[-+]?0[0-7]+N?/}, +// octal // 052 +{match:/[-+]?[1-9][0-9]?[rR][0-9a-zA-Z]+N?/}, +// variable radix from 2 to 36 // 2r101010, 8r52, 36r16 +{match:/[-+]?[0-9]+\/[0-9]+N?/}, +// ratio // 1/2 +{match:/[-+]?[0-9]+((\.[0-9]*([eE][+-]?[0-9]+)?M?)|([eE][+-]?[0-9]+M?|M))/}, +// float // 0.42 4.2E-1M 42E1 42M +{match:/[-+]?([1-9][0-9]*|0)N?/}]},s={scope:"character",variants:[{match:/\\o[0-3]?[0-7]{1,2}/}, +// Unicode Octal 0 - 377 +{match:/\\u[0-9a-fA-F]{4}/}, +// Unicode Hex 0000 - FFFF +{match:/\\(newline|space|tab|formfeed|backspace|return)/}, +// special characters +{match:/\\\S/,relevance:0}]},l={scope:"regex",begin:/#"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]},c=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),u={scope:"punctuation",match:/,/,relevance:0},d=e.COMMENT(";","$",{relevance:0}),h={className:"literal",begin:/\b(true|false|nil)\b/},p={begin:"\\[|(#::?"+n+")?\\{",end:"[\\]\\}]",relevance:0},g={className:"symbol",begin:"[:]{1,2}"+n},m={begin:"\\(",end:"\\)"},_={endsWithParent:!0,relevance:0},b={keywords:i,className:"name",begin:n,relevance:0,starts:_},f=[u,m,s,l,c,d,g,p,o,h,a],y={beginKeywords:r,keywords:{$pattern:n,keyword:r},end:'(\\[|#|\\d|"|:|\\{|\\)|\\(|$)',contains:[{className:"title",begin:n,relevance:0,excludeEnd:!0, +// we can only have a single title +endsParent:!0}].concat(f)};return m.contains=[y,b,_],_.contains=f,p.contains=f,{name:"Clojure",aliases:["clj","edn"],illegal:/\S/,contains:[u,m,s,l,c,d,g,p,o,h]}}}function Cd(){if(Fi)return ji;return Fi=1,ji=function(e){return{name:"Clojure REPL",contains:[{className:"meta.prompt",begin:/^([\w.-]+|\s*#_)?=>/,starts:{end:/$/,subLanguage:"clojure"}}]}}}function xd(){if(Ui)return Bi;return Ui=1,Bi=function(e){return{name:"CMake",aliases:["cmake.in"],case_insensitive:!0,keywords:{keyword: +// scripting commands +"break cmake_host_system_information cmake_minimum_required cmake_parse_arguments cmake_policy configure_file continue elseif else endforeach endfunction endif endmacro endwhile execute_process file find_file find_library find_package find_path find_program foreach function get_cmake_property get_directory_property get_filename_component get_property if include include_guard list macro mark_as_advanced math message option return separate_arguments set_directory_properties set_property set site_name string unset variable_watch while add_compile_definitions add_compile_options add_custom_command add_custom_target add_definitions add_dependencies add_executable add_library add_link_options add_subdirectory add_test aux_source_directory build_command create_test_sourcelist define_property enable_language enable_testing export fltk_wrap_ui get_source_file_property get_target_property get_test_property include_directories include_external_msproject include_regular_expression install link_directories link_libraries load_cache project qt_wrap_cpp qt_wrap_ui remove_definitions set_source_files_properties set_target_properties set_tests_properties source_group target_compile_definitions target_compile_features target_compile_options target_include_directories target_link_directories target_link_libraries target_link_options target_sources try_compile try_run ctest_build ctest_configure ctest_coverage ctest_empty_binary_directory ctest_memcheck ctest_read_custom_files ctest_run_script ctest_sleep ctest_start ctest_submit ctest_test ctest_update ctest_upload build_name exec_program export_library_dependencies install_files install_programs install_targets load_command make_directory output_required_files remove subdir_depends subdirs use_mangled_mesa utility_source variable_requires write_file qt5_use_modules qt5_use_package qt5_wrap_cpp on off true false and or not command policy target test exists is_newer_than is_directory is_symlink is_absolute matches less greater equal less_equal greater_equal strless strgreater strequal strless_equal strgreater_equal version_less version_greater version_equal version_less_equal version_greater_equal in_list defined"},contains:[{className:"variable",begin:/\$\{/,end:/\}/},e.COMMENT(/#\[\[/,/]]/),e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE]}}}function kd(){if(zi)return Gi;zi=1;const e=["as", +// for exports +"in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class", +// JS handles these with a special rule +// "get", +// "set", +"debugger","async","await","static","import","from","export","extends", +// It's reached stage 3, which is "recommended for implementation": +"using"],t=["true","false","null","undefined","NaN","Infinity"],n=[].concat(["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],[ +// Fundamental objects +"Object","Function","Boolean","Symbol", +// numbers and dates +"Math","Date","Number","BigInt", +// text +"String","RegExp", +// Indexed collections +"Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array", +// Keyed collections +"Set","Map","WeakSet","WeakMap", +// Structured data +"ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON", +// Control abstraction objects +"Promise","Generator","GeneratorFunction","AsyncFunction", +// Reflection +"Reflect","Proxy", +// Internationalization +"Intl", +// WebAssembly +"WebAssembly"],["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);return Gi=function(r){const i={keyword:e.concat(["then","unless","until","loop","by","when","and","or","is","isnt","not"]).filter((a=["var","const","let","function","static"],e=>!a.includes(e))),literal:t.concat(["yes","no","on","off"]),built_in:n.concat(["npm","print"])};var a;const o="[A-Za-z$_][0-9A-Za-z$_]*",s={className:"subst",begin:/#\{/,end:/\}/,keywords:i},l=[r.BINARY_NUMBER_MODE,r.inherit(r.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}), +// a number tries to eat the following slash to prevent treating it as a regexp +{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[r.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[r.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[r.BACKSLASH_ESCAPE,s]},{begin:/"/,end:/"/,contains:[r.BACKSLASH_ESCAPE,s]}]},{className:"regexp",variants:[{begin:"///",end:"///",contains:[s,r.HASH_COMMENT_MODE]},{begin:"//[gim]{0,3}(?=\\W)",relevance:0},{ +// regex can't start with space to parse x / 2 / 3 as two divisions +// regex can't start with *, and it supports an "illegal" in the main mode +begin:/\/(?![ *]).*?(?![\\]).\/[gim]{0,3}(?=\W)/}]},{begin:"@"+o},{subLanguage:"javascript",excludeBegin:!0,excludeEnd:!0,variants:[{begin:"```",end:"```"},{begin:"`",end:"`"}]}];s.contains=l;const c=r.inherit(r.TITLE_MODE,{begin:o}),u="(\\(.*\\)\\s*)?\\B[-=]>",d={className:"params",begin:"\\([^\\(]",returnBegin:!0, +/* We need another contained nameless mode to not have every nested + pair of parens to be called "params" */ +contains:[{begin:/\(/,end:/\)/,keywords:i,contains:["self"].concat(l)}]},h={variants:[{match:[/class\s+/,o,/\s+extends\s+/,o]},{match:[/class\s+/,o]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:i};return{name:"CoffeeScript",aliases:["coffee","cson","iced"],keywords:i,illegal:/\/\*/,contains:[...l,r.COMMENT("###","###"),r.HASH_COMMENT_MODE,{className:"function",begin:"^\\s*"+o+"\\s*=\\s*"+u,end:"[-=]>",returnBegin:!0,contains:[c,d]},{ +// anonymous function start +begin:/[:\(,=]\s*/,relevance:0,contains:[{className:"function",begin:u,end:"[-=]>",returnBegin:!0,contains:[d]}]},h,{begin:o+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}]}}}function Ad(){if(Yi)return $i;return Yi=1,$i=function(e){return{name:"Coq",keywords:{keyword:["_|0","as","at","cofix","else","end","exists","exists2","fix","for","forall","fun","if","IF","in","let","match","mod","Prop","return","Set","then","Type","using","where","with","Abort","About","Add","Admit","Admitted","All","Arguments","Assumptions","Axiom","Back","BackTo","Backtrack","Bind","Blacklist","Canonical","Cd","Check","Class","Classes","Close","Coercion","Coercions","CoFixpoint","CoInductive","Collection","Combined","Compute","Conjecture","Conjectures","Constant","constr","Constraint","Constructors","Context","Corollary","CreateHintDb","Cut","Declare","Defined","Definition","Delimit","Dependencies","Dependent","Derive","Drop","eauto","End","Equality","Eval","Example","Existential","Existentials","Existing","Export","exporting","Extern","Extract","Extraction","Fact","Field","Fields","File","Fixpoint","Focus","for","From","Function","Functional","Generalizable","Global","Goal","Grab","Grammar","Graph","Guarded","Heap","Hint","HintDb","Hints","Hypotheses","Hypothesis","ident","Identity","If","Immediate","Implicit","Import","Include","Inductive","Infix","Info","Initial","Inline","Inspect","Instance","Instances","Intro","Intros","Inversion","Inversion_clear","Language","Left","Lemma","Let","Libraries","Library","Load","LoadPath","Local","Locate","Ltac","ML","Mode","Module","Modules","Monomorphic","Morphism","Next","NoInline","Notation","Obligation","Obligations","Opaque","Open","Optimize","Options","Parameter","Parameters","Parametric","Path","Paths","pattern","Polymorphic","Preterm","Print","Printing","Program","Projections","Proof","Proposition","Pwd","Qed","Quit","Rec","Record","Recursive","Redirect","Relation","Remark","Remove","Require","Reserved","Reset","Resolve","Restart","Rewrite","Right","Ring","Rings","Save","Scheme","Scope","Scopes","Script","Search","SearchAbout","SearchHead","SearchPattern","SearchRewrite","Section","Separate","Set","Setoid","Show","Solve","Sorted","Step","Strategies","Strategy","Structure","SubClass","Table","Tables","Tactic","Term","Test","Theorem","Time","Timeout","Transparent","Type","Typeclasses","Types","Undelimit","Undo","Unfocus","Unfocused","Unfold","Universe","Universes","Unset","Unshelve","using","Variable","Variables","Variant","Verbose","Visibility","where","with"],built_in:["abstract","absurd","admit","after","apply","as","assert","assumption","at","auto","autorewrite","autounfold","before","bottom","btauto","by","case","case_eq","cbn","cbv","change","classical_left","classical_right","clear","clearbody","cofix","compare","compute","congruence","constr_eq","constructor","contradict","contradiction","cut","cutrewrite","cycle","decide","decompose","dependent","destruct","destruction","dintuition","discriminate","discrR","do","double","dtauto","eapply","eassumption","eauto","ecase","econstructor","edestruct","ediscriminate","eelim","eexact","eexists","einduction","einjection","eleft","elim","elimtype","enough","equality","erewrite","eright","esimplify_eq","esplit","evar","exact","exactly_once","exfalso","exists","f_equal","fail","field","field_simplify","field_simplify_eq","first","firstorder","fix","fold","fourier","functional","generalize","generalizing","gfail","give_up","has_evar","hnf","idtac","in","induction","injection","instantiate","intro","intro_pattern","intros","intuition","inversion","inversion_clear","is_evar","is_var","lapply","lazy","left","lia","lra","move","native_compute","nia","nsatz","omega","once","pattern","pose","progress","proof","psatz","quote","record","red","refine","reflexivity","remember","rename","repeat","replace","revert","revgoals","rewrite","rewrite_strat","right","ring","ring_simplify","rtauto","set","setoid_reflexivity","setoid_replace","setoid_rewrite","setoid_symmetry","setoid_transitivity","shelve","shelve_unifiable","simpl","simple","simplify_eq","solve","specialize","split","split_Rabs","split_Rmult","stepl","stepr","subst","sum","swap","symmetry","tactic","tauto","time","timeout","top","transitivity","trivial","try","tryif","unfold","unify","until","using","vm_compute","with"]},contains:[e.QUOTE_STRING_MODE,e.COMMENT("\\(\\*","\\*\\)"),e.C_NUMBER_MODE,{className:"type",excludeBegin:!0,begin:"\\|\\s*",end:"\\w+"},{ +// relevance booster +begin:/[-=]>/}]}}}function wd(){if(Hi)return qi;return Hi=1,qi=function(e){return{name:"Caché Object Script",case_insensitive:!0,aliases:["cls"],keywords:"property parameter class classmethod clientmethod extends as break catch close continue do d|0 else elseif for goto halt hang h|0 if job j|0 kill k|0 lock l|0 merge new open quit q|0 read r|0 return set s|0 tcommit throw trollback try tstart use view while write w|0 xecute x|0 zkill znspace zn ztrap zwrite zw zzdump zzwrite print zbreak zinsert zload zprint zremove zsave zzprint mv mvcall mvcrt mvdim mvprint zquit zsync ascii",contains:[{className:"number",begin:"\\b(\\d+(\\.\\d*)?|\\.\\d+)",relevance:0},{className:"string",variants:[{begin:'"',end:'"',contains:[{ +// escaped +begin:'""',relevance:0}]}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"comment",begin:/;/,end:"$",relevance:0},{ +// Functions and user-defined functions: write $ztime(60*60*3), $$myFunc(10), $$^Val(1) +className:"built_in",begin:/(?:\$\$?|\.\.)\^?[a-zA-Z]+/},{ +// Macro command: quit $$$OK +className:"built_in",begin:/\$\$\$[a-zA-Z]+/},{ +// Special (global) variables: write %request.Content; Built-in classes: %Library.Integer +className:"built_in",begin:/%[a-z]+(?:\.[a-z]+)*/},{ +// Global variable: set ^globalName = 12 write ^globalName +className:"symbol",begin:/\^%?[a-zA-Z][\w]*/},{ +// Some control constructions: do ##class(Package.ClassName).Method(), ##super() +className:"keyword",begin:/##class|##super|#define|#dim/}, +// sub-languages: are not fully supported by hljs by 11/15/2015 +// left for the future implementation. +{begin:/&sql\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,subLanguage:"sql"},{begin:/&(js|jscript|javascript)</,end:/>/,excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"},{ +// this brakes first and last tag, but this is the only way to embed a valid html +begin:/&html<\s*</,end:/>\s*>/,subLanguage:"xml"}]}}}function Nd(){if(Wi)return Vi;return Wi=1,Vi=function(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",a="(?!struct)("+r+"|"+t.optional(i)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",o={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},s={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},l={className:"number",variants:[ +// Floating-point literal. +{begin:"[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"}, +// Integer literal. +{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},c={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={className:"title",begin:t.optional(i)+e.IDENT_RE,relevance:0},d=t.optional(i)+e.IDENT_RE+"\\s*\\(",h={type:["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],keyword:["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","flat_map","flat_set","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"]},p={className:"function.dispatch",relevance:0,keywords:{ +// Only for relevance, not highlighting. +_hint:["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"]},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},g=[p,c,o,n,e.C_BLOCK_COMMENT_MODE,l,s],m={ +// This mode covers expression context where we can't expect a function +// definition and shouldn't highlight anything that looks like one: +// `return some()`, `else if()`, `(x*sum(1, 2))` +variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:h,contains:g.concat([{begin:/\(/,end:/\)/,keywords:h,contains:g.concat(["self"]),relevance:0}]),relevance:0},_={className:"function",begin:"("+a+"[\\*&\\s]+)+"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:h,illegal:/[^\w\s\*&:<>.]/,contains:[{ +// to prevent it from being confused as the function title +begin:r,keywords:h,relevance:0},{begin:d,returnBegin:!0,contains:[u],relevance:0}, +// needed because we do not have look-behind on the below rule +// to prevent it from grabbing the final : in a :: pair +{begin:/::/,relevance:0}, +// initializers +{begin:/:/,endsWithParent:!0,contains:[s,l]}, +// allow for multiple declarations, e.g.: +// extern void f(int), g(char); +{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:h,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,s,l,o, +// Count matching parentheses. +{begin:/\(/,end:/\)/,keywords:h,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,s,l,o]}]},o,n,e.C_BLOCK_COMMENT_MODE,c]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:h,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(m,_,p,g,[c,{ +// containers: ie, `vector <int> rooms (9);` +begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function|flat_map|flat_set)\\s*<(?!<)",end:">",keywords:h,contains:["self",o]},{begin:e.IDENT_RE+"::",keywords:h},{match:[ +// extra complexity to deal with `enum class` and `enum struct` +/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}}function Od(){if(Ki)return Qi;return Ki=1,Qi=function(e){const t="group clone ms master location colocation order fencing_topology rsc_ticket acl_target acl_group user role tag xml";return{name:"crmsh",aliases:["crm","pcmk"],case_insensitive:!0,keywords:{keyword:"params meta operations op rule attributes utilization read write deny defined not_defined in_range date spec in ref reference attribute type xpath version and or lt gt tag lte gte eq ne \\ number string",literal:"Master Started Slave Stopped start promote demote stop monitor true false"},contains:[e.HASH_COMMENT_MODE,{beginKeywords:"node",starts:{end:"\\s*([\\w_-]+:)?",starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*"}}},{beginKeywords:"primitive rsc_template",starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*",starts:{end:"\\s*@?[\\w_][\\w_\\.:-]*"}}},{begin:"\\b("+t.split(" ").join("|")+")\\s+",keywords:t,starts:{className:"title",end:"[\\$\\w_][\\w_-]*"}},{beginKeywords:"property rsc_defaults op_defaults",starts:{className:"title",end:"\\s*([\\w_-]+:)?"}},e.QUOTE_STRING_MODE,{className:"meta",begin:"(ocf|systemd|service|lsb):[\\w_:-]+",relevance:0},{className:"number",begin:"\\b\\d+(\\.\\d+)?(ms|s|h|m)?",relevance:0},{className:"literal",begin:"[-]?(infinity|inf)",relevance:0},{className:"attr",begin:/([A-Za-z$_#][\w_-]+)=/,relevance:0},{className:"tag",begin:"</?",end:"/?>",relevance:0}]}}}function Rd(){if(Zi)return Xi;return Zi=1,Xi=function(e){const t="(_?[ui](8|16|32|64|128))?",n="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|[=!]~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~|]|//|//=|&[-+*]=?|&\\*\\*|\\[\\][=?]?",r="[A-Za-z_]\\w*(::\\w+)*(\\?|!)?",i={$pattern:"[a-zA-Z_]\\w*[!?=]?",keyword:"abstract alias annotation as as? asm begin break case class def do else elsif end ensure enum extend for fun if include instance_sizeof is_a? lib macro module next nil? of out pointerof private protected rescue responds_to? return require select self sizeof struct super then type typeof union uninitialized unless until verbatim when while with yield __DIR__ __END_LINE__ __FILE__ __LINE__",literal:"false nil true"},a={className:"subst",begin:/#\{/,end:/\}/,keywords:i},o={ +// negative-look forward attemps to prevent false matches like: +// @ident@ or $ident$ that might indicate this is not ruby at all +className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},s={className:"template-variable",variants:[{begin:"\\{\\{",end:"\\}\\}"},{begin:"\\{%",end:"%\\}"}],keywords:i};function l(e,t){const n=[{begin:e,end:t}];return n[0].contains=n,n}const c={className:"string",contains:[e.BACKSLASH_ESCAPE,a],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:"%[Qwi]?\\(",end:"\\)",contains:l("\\(","\\)")},{begin:"%[Qwi]?\\[",end:"\\]",contains:l("\\[","\\]")},{begin:"%[Qwi]?\\{",end:/\}/,contains:l(/\{/,/\}/)},{begin:"%[Qwi]?<",end:">",contains:l("<",">")},{begin:"%[Qwi]?\\|",end:"\\|"},{begin:/<<-\w+$/,end:/^\s*\w+$/}],relevance:0},u={className:"string",variants:[{begin:"%q\\(",end:"\\)",contains:l("\\(","\\)")},{begin:"%q\\[",end:"\\]",contains:l("\\[","\\]")},{begin:"%q\\{",end:/\}/,contains:l(/\{/,/\}/)},{begin:"%q<",end:">",contains:l("<",">")},{begin:"%q\\|",end:"\\|"},{begin:/<<-'\w+'$/,end:/^\s*\w+$/}],relevance:0},d={begin:"(?!%\\})("+e.RE_STARTERS_RE+"|\\n|\\b(case|if|select|unless|until|when|while)\\b)\\s*",keywords:"case if select unless until when while",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,a],variants:[{begin:"//[a-z]*",relevance:0},{begin:"/(?!\\/)",end:"/[a-z]*"}]}],relevance:0},h=[s,c,u,{className:"regexp",contains:[e.BACKSLASH_ESCAPE,a],variants:[{begin:"%r\\(",end:"\\)",contains:l("\\(","\\)")},{begin:"%r\\[",end:"\\]",contains:l("\\[","\\]")},{begin:"%r\\{",end:/\}/,contains:l(/\{/,/\}/)},{begin:"%r<",end:">",contains:l("<",">")},{begin:"%r\\|",end:"\\|"}],relevance:0},d,{className:"meta",begin:"@\\[",end:"\\]",contains:[e.inherit(e.QUOTE_STRING_MODE,{className:"string"})]},o,e.HASH_COMMENT_MODE,{className:"class",beginKeywords:"class module struct",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:r}),{ +// relevance booster for inheritance +begin:"<"}]},{className:"class",beginKeywords:"lib enum union",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:r})]},{beginKeywords:"annotation",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:r})],relevance:2},{className:"function",beginKeywords:"def",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:n,endsParent:!0})]},{className:"function",beginKeywords:"fun macro",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:n,endsParent:!0})],relevance:2},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":",contains:[c,{begin:n}],relevance:0},{className:"number",variants:[{begin:"\\b0b([01_]+)"+t},{begin:"\\b0o([0-7_]+)"+t},{begin:"\\b0x([A-Fa-f0-9_]+)"+t},{begin:"\\b([1-9][0-9_]*[0-9]|[0-9])(\\.[0-9][0-9_]*)?([eE]_?[-+]?[0-9_]*)?(_?f(32|64))?(?!_)"},{begin:"\\b([1-9][0-9_]*|0)"+t}],relevance:0}];return a.contains=h,s.contains=h.slice(1),{name:"Crystal",aliases:["cr"],keywords:i,contains:h}}}function Id(){if(ea)return Ji;return ea=1,Ji=function(e){const t={keyword:["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"].concat(["add","alias","and","ascending","args","async","await","by","descending","dynamic","equals","file","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","record","remove","required","scoped","select","set","unmanaged","value|0","var","when","where","with","yield"]),built_in:["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],literal:["default","false","null","true"]},n=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),r={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},i={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},a=e.inherit(i,{illegal:/\n/}),o={className:"subst",begin:/\{/,end:/\}/,keywords:t},s=e.inherit(o,{illegal:/\n/}),l={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,s]},c={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},o]},u=e.inherit(c,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},s]});o.contains=[c,l,i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,r,e.C_BLOCK_COMMENT_MODE],s.contains=[u,l,a,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,r,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const d={variants:[{className:"string",begin:/"""("*)(?!")(.|\n)*?"""\1/,relevance:1},c,l,i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},h={begin:"<",end:">",contains:[{beginKeywords:"in out"},n]},p=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",g={ +// prevents expressions like `@class` from incorrect flagging +// `class` as a keyword +begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:t,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"\x3c!--|--\x3e"},{begin:"</?",end:">"}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},d,r,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},n,h,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[n,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[n,h,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{ +// [Attributes("")] +className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{ +// Expression keywords prevent 'keyword Name(...)' from being +// recognized as a function definition +beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+p+"\\s+)+"+e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:t,contains:[ +// prevents these from being highlighted `title` +{beginKeywords:["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"].join(" "),relevance:0},{begin:e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[e.TITLE_MODE,h],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:t,relevance:0,contains:[d,r,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},g]}}}function Dd(){if(na)return ta;return na=1,ta=function(e){return{name:"CSP",case_insensitive:!1,keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_-]*",keyword:["base-uri","child-src","connect-src","default-src","font-src","form-action","frame-ancestors","frame-src","img-src","manifest-src","media-src","object-src","plugin-types","report-uri","sandbox","script-src","style-src","trusted-types","unsafe-hashes","worker-src"]},contains:[{className:"string",begin:"'",end:"'"},{className:"attribute",begin:"^Content",end:":",excludeEnd:!0}]}}}function Md(){if(ia)return ra;ia=1;const e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video","defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],t=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width", +// TODO: find a better solution? +"min-width","max-width","min-height","max-height"].sort().reverse(),n=["active","any-link","blank","checked","current","default","defined","dir", +// dir() +"disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has", +// has() +"host", +// host or host() +"host-context", +// host-context() +"hover","indeterminate","in-range","invalid","is", +// is() +"lang", +// lang() +"last-child","last-of-type","left","link","local-link","not", +// not() +"nth-child", +// nth-child() +"nth-col", +// nth-col() +"nth-last-child", +// nth-last-child() +"nth-last-col", +// nth-last-col() +"nth-last-of-type", +//nth-last-of-type() +"nth-of-type", +//nth-of-type() +"only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),r=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),i=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src", +// @font-face +"stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();return ra=function(a){const o=a.regex,s=(e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}))(a),l=[a.APOS_STRING_MODE,a.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{ +// for visual continuity with `tag {}` and because we +// don't have a great class for this? +keyframePosition:"selector-tag"},contains:[s.BLOCK_COMMENT,{begin:/-(webkit|moz|ms|o)-(?=[a-z])/}, +// to recognize keyframe 40% etc which are outside the scope of our +// attribute value mode +s.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\.[a-zA-Z-][a-zA-Z0-9_-]*",relevance:0},s.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+n.join("|")+")"},{begin:":(:)?("+r.join("|")+")"}]}, +// we may actually need this (12/2020) +// { // pseudo-selector params +// begin: /\(/, +// end: /\)/, +// contains: [ hljs.CSS_NUMBER_MODE ] +// }, +s.CSS_VARIABLE,{className:"attribute",begin:"\\b("+i.join("|")+")\\b"}, +// attribute values +{begin:/:/,end:/[;}{]/,contains:[s.BLOCK_COMMENT,s.HEXCOLOR,s.IMPORTANT,s.CSS_NUMBER_MODE,...l, +// needed to highlight these as strings and to avoid issues with +// illegal characters that might be inside urls that would tigger the +// languages illegal stack +{begin:/(url|data-uri)\(/,end:/\)/,relevance:0, +// from keywords +keywords:{built_in:"url data-uri"},contains:[...l,{className:"string", +// any character other than `)` as in `url()` will be the start +// of a string, which ends with `)` (from the parent mode) +begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},s.FUNCTION_DISPATCH]},{begin:o.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/, +// break on Less variables @var: ... +contains:[{className:"keyword",begin:/@-?\w[\w]*(-\w+)*/},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:t.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...l,s.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+e.join("|")+")\\b"}]}}}function Ld(){if(oa)return aa;return oa=1,aa=function(e){const t={$pattern:e.UNDERSCORE_IDENT_RE,keyword:"abstract alias align asm assert auto body break byte case cast catch class const continue debug default delete deprecated do else enum export extern final finally for foreach foreach_reverse|10 goto if immutable import in inout int interface invariant is lazy macro mixin module new nothrow out override package pragma private protected public pure ref return scope shared static struct super switch synchronized template this throw try typedef typeid typeof union unittest version void volatile while with __FILE__ __LINE__ __gshared|10 __thread __traits 3/2/2025, 12:26:08 PM __EOF__ __TIME__ __TIMESTAMP__ __VENDOR__ __VERSION__",built_in:"bool cdouble cent cfloat char creal dchar delegate double dstring float function idouble ifloat ireal long real short string ubyte ucent uint ulong ushort wchar wstring",literal:"false null true"},n="(0|[1-9][\\d_]*)",r="(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)",i="([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)",a="([eE][+-]?"+r+")",o="("+n+"|0[bB][01_]+|"+("0[xX]"+i)+")",s="\\\\(['\"\\?\\\\abfnrtv]|u[\\dA-Fa-f]{4}|[0-7]{1,3}|x[\\dA-Fa-f]{2}|U[\\dA-Fa-f]{8})|&[a-zA-Z\\d]{2,};",l={className:"number",begin:"\\b"+o+"(L|u|U|Lu|LU|uL|UL)?",relevance:0},c={className:"number",begin:"\\b("+("("+("(0[xX]("+i+"\\."+i+"|\\.?"+i+")[pP][+-]?"+r+")")+"|"+("("+r+"(\\.\\d*|"+a+")|\\d+\\."+r+"|\\."+n+a+"?)")+")")+"([fF]|L|i|[fF]i|Li)?|"+o+"(i|[fF]i|Li))",relevance:0},u={className:"string",begin:"'("+s+"|.)",end:"'",illegal:"."},d={className:"string",begin:'"',contains:[{begin:s,relevance:0}],end:'"[cwd]?'},h=e.COMMENT("\\/\\+","\\+\\/",{contains:["self"],relevance:10});return{name:"D",keywords:t,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,h,{className:"string",begin:'x"[\\da-fA-F\\s\\n\\r]*"[cwd]?',relevance:10},d,{className:"string",begin:'[rq]"',end:'"[cwd]?',relevance:5},{className:"string",begin:"`",end:"`[cwd]?"},{className:"string",begin:'q"\\{',end:'\\}"'},c,l,u,{className:"meta",begin:"^#!",end:"$",relevance:5},{className:"meta",begin:"#(line)",end:"$",relevance:5},{className:"keyword",begin:"@[a-zA-Z_][a-zA-Z_\\d]*"}]}}}function Pd(){if(la)return sa;return la=1,sa=function(e){const t={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},n={variants:[ +// too much like nested array access in so many languages +// to have any real relevance +{begin:/\[.+?\]\[.*?\]/,relevance:0}, +// popular internet URLs +{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:e.regex.concat(/\[.+?\]\(/,/[A-Za-z][A-Za-z0-9+.-]*/,/:\/\/.*?\)/),relevance:2}, +// relative urls +{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1}, +// whatever else, lower relevance (might not be a link at all) +{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{ +// empty strings for alt or link text +match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},r={className:"strong",contains:[], +// defined later +variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},i={className:"emphasis",contains:[], +// defined later +variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},a=e.inherit(r,{contains:[]}),o=e.inherit(i,{contains:[]});r.contains.push(o),i.contains.push(a);let s=[t,n];return[r,i,a,o].forEach((e=>{e.contains=e.contains.concat(s)})),s=s.concat(r,i),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:s},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:s}]}]},t,{className:"bullet",begin:"^[ \t]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},r,i,{className:"quote",begin:"^>\\s+",contains:s,end:"$"},{className:"code",variants:[ +// TODO: fix to allow these to work with sublanguage also +{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"}, +// needed to allow markdown as a sublanguage to work +{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))", +// use contains to gobble up multiple lines to allow the block to be whatever size +// but only have a single open/close tag vs one per line +contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},{begin:"^[-\\*]{3,}",end:"$"},n,{begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},{ +//https://spec.commonmark.org/0.31.2/#entity-references +scope:"literal",match:/&([a-zA-Z0-9]+|#[0-9]{1,7}|#[Xx][0-9a-fA-F]{1,6});/}]}}}function jd(){if(ua)return ca;return ua=1,ca=function(e){const t={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"}]},n={className:"subst",variants:[{begin:/\$\{/,end:/\}/}],keywords:"true false null this is new super"},r={className:"number",relevance:0,variants:[{match:/\b[0-9][0-9_]*(\.[0-9][0-9_]*)?([eE][+-]?[0-9][0-9_]*)?\b/},{match:/\b0[xX][0-9A-Fa-f][0-9A-Fa-f_]*\b/}]},i={className:"string",variants:[{begin:"r'''",end:"'''"},{begin:'r"""',end:'"""'},{begin:"r'",end:"'",illegal:"\\n"},{begin:'r"',end:'"',illegal:"\\n"},{begin:"'''",end:"'''",contains:[e.BACKSLASH_ESCAPE,t,n]},{begin:'"""',end:'"""',contains:[e.BACKSLASH_ESCAPE,t,n]},{begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t,n]},{begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t,n]}]};n.contains=[r,i];const a=[ +// dart:core +"Comparable","DateTime","Duration","Function","Iterable","Iterator","List","Map","Match","Object","Pattern","RegExp","Set","Stopwatch","String","StringBuffer","StringSink","Symbol","Type","Uri","bool","double","int","num", +// dart:html +"Element","ElementList"],o=a.map((e=>`${e}?`));return{name:"Dart",keywords:{keyword:["abstract","as","assert","async","await","base","break","case","catch","class","const","continue","covariant","default","deferred","do","dynamic","else","enum","export","extends","extension","external","factory","false","final","finally","for","Function","get","hide","if","implements","import","in","interface","is","late","library","mixin","new","null","on","operator","part","required","rethrow","return","sealed","set","show","static","super","switch","sync","this","throw","true","try","typedef","var","void","when","while","with","yield"],built_in:a.concat(o).concat([ +// dart:core +"Never","Null","dynamic","print", +// dart:html +"document","querySelector","querySelectorAll","window"]),$pattern:/[A-Za-z][A-Za-z0-9_]*\??/},contains:[i,e.COMMENT(/\/\*\*(?!\/)/,/\*\//,{subLanguage:"markdown",relevance:0}),e.COMMENT(/\/{3,} ?/,/$/,{contains:[{subLanguage:"markdown",begin:".",end:"$",relevance:0}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},r,{className:"meta",begin:"@[A-Za-z]+"},{begin:"=>"}]}}}function Fd(){if(ha)return da;return ha=1,da=function(e){const t=["exports","register","file","shl","array","record","property","for","mod","while","set","ally","label","uses","raise","not","stored","class","safecall","var","interface","or","private","static","exit","index","inherited","to","else","stdcall","override","shr","asm","far","resourcestring","finalization","packed","virtual","out","and","protected","library","do","xorwrite","goto","near","function","end","div","overload","object","unit","begin","string","on","inline","repeat","until","destructor","write","message","program","with","read","initialization","except","default","nil","if","case","cdecl","in","downto","threadvar","of","try","pascal","const","external","constructor","type","public","then","implementation","finally","published","procedure","absolute","reintroduce","operator","as","is","abstract","alias","assembler","bitpacked","break","continue","cppdecl","cvar","enumerator","experimental","platform","deprecated","unimplemented","dynamic","export","far16","forward","generic","helper","implements","interrupt","iochecks","local","name","nodefault","noreturn","nostackframe","oldfpccall","otherwise","saveregisters","softfloat","specialize","strict","unaligned","varargs"],n=[e.C_LINE_COMMENT_MODE,e.COMMENT(/\{/,/\}/,{relevance:0}),e.COMMENT(/\(\*/,/\*\)/,{relevance:10})],r={className:"meta",variants:[{begin:/\{\$/,end:/\}/},{begin:/\(\*\$/,end:/\*\)/}]},i={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},a={className:"string",variants:[{match:/#\d[\d_]*/},{match:/#\$[\dA-Fa-f][\dA-Fa-f_]*/},{match:/#&[0-7][0-7_]*/},{match:/#%[01][01_]*/}]},o={begin:e.IDENT_RE+"\\s*=\\s*class\\s*\\(",returnBegin:!0,contains:[e.TITLE_MODE]},s={className:"function",beginKeywords:"function constructor destructor procedure",end:/[:;]/,keywords:"function constructor|10 destructor|10 procedure|10",contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:t,contains:[i,a,r].concat(n)},r].concat(n)};return{name:"Delphi",aliases:["dpr","dfm","pas","pascal"],case_insensitive:!0,keywords:t,illegal:/"|\$[G-Zg-z]|\/\*|<\/|\|/,contains:[i,a,{className:"number",relevance:0, +// Source: https://www.freepascal.org/docs-html/ref/refse6.html +variants:[{ +// Regular numbers, e.g., 123, 123.456. +match:/\b\d[\d_]*(\.\d[\d_]*)?/},{ +// Hexadecimal notation, e.g., $7F. +match:/\$[\dA-Fa-f_]+/},{ +// Hexadecimal literal with no digits +match:/\$/,relevance:0},{ +// Octal notation, e.g., &42. +match:/&[0-7][0-7_]*/},{ +// Binary notation, e.g., %1010. +match:/%[01_]+/},{ +// Binary literal with no digits +match:/%/,relevance:0}]},o,s,r].concat(n)}}}function Bd(){if(ga)return pa;return ga=1,pa=function(e){const t=e.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:t.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:t.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}}function Ud(){if(_a)return ma;return _a=1,ma=function(e){const t={begin:/\|[A-Za-z]+:?/,keywords:{name:"truncatewords removetags linebreaksbr yesno get_digit timesince random striptags filesizeformat escape linebreaks length_is ljust rjust cut urlize fix_ampersands title floatformat capfirst pprint divisibleby add make_list unordered_list urlencode timeuntil urlizetrunc wordcount stringformat linenumbers slice date dictsort dictsortreversed default_if_none pluralize lower join center default truncatewords_html upper length phone2numeric wordwrap time addslashes slugify first escapejs force_escape iriencode last safe safeseq truncatechars localize unlocalize localtime utc timezone"},contains:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE]};return{name:"Django",aliases:["jinja"],case_insensitive:!0,subLanguage:"xml",contains:[e.COMMENT(/\{%\s*comment\s*%\}/,/\{%\s*endcomment\s*%\}/),e.COMMENT(/\{#/,/#\}/),{className:"template-tag",begin:/\{%/,end:/%\}/,contains:[{className:"name",begin:/\w+/,keywords:{name:"comment endcomment load templatetag ifchanged endifchanged if endif firstof for endfor ifnotequal endifnotequal widthratio extends include spaceless endspaceless regroup ifequal endifequal ssi now with cycle url filter endfilter debug block endblock else autoescape endautoescape csrf_token empty elif endwith static trans blocktrans endblocktrans get_static_prefix get_media_prefix plural get_current_language language get_available_languages get_current_language_bidi get_language_info get_language_info_list localize endlocalize localtime endlocaltime timezone endtimezone get_current_timezone verbatim"},starts:{endsWithParent:!0,keywords:"in by as",contains:[t],relevance:0}}]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[t]}]}}}function Gd(){if(fa)return ba;return fa=1,ba=function(e){return{name:"DNS Zone",aliases:["bind","zone"],keywords:["IN","A","AAAA","AFSDB","APL","CAA","CDNSKEY","CDS","CERT","CNAME","DHCID","DLV","DNAME","DNSKEY","DS","HIP","IPSECKEY","KEY","KX","LOC","MX","NAPTR","NS","NSEC","NSEC3","NSEC3PARAM","PTR","RRSIG","RP","SIG","SOA","SRV","SSHFP","TA","TKEY","TLSA","TSIG","TXT"],contains:[e.COMMENT(";","$",{relevance:0}),{className:"meta",begin:/^\$(TTL|GENERATE|INCLUDE|ORIGIN)\b/}, +// IPv6 +{className:"number",begin:"((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))\\b"}, +// IPv4 +{className:"number",begin:"((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]).){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\b"},e.inherit(e.NUMBER_MODE,{begin:/\b\d+[dhwm]?/})]}}}function zd(){if(va)return ya;return va=1,ya=function(e){return{name:"Dockerfile",aliases:["docker"],case_insensitive:!0,keywords:["from","maintainer","expose","env","arg","user","onbuild","stopsignal"],contains:[e.HASH_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{beginKeywords:"run cmd entrypoint volume add copy workdir label healthcheck shell",starts:{end:/[^\\]$/,subLanguage:"bash"}}],illegal:"</"}}}function $d(){if(Sa)return Ea;return Sa=1,Ea=function(e){const t=e.COMMENT(/^\s*@?rem\b/,/$/,{relevance:10});return{name:"Batch file (DOS)",aliases:["bat","cmd"],case_insensitive:!0,illegal:/\/\*/,keywords:{keyword:["if","else","goto","for","in","do","call","exit","not","exist","errorlevel","defined","equ","neq","lss","leq","gtr","geq"],built_in:["prn","nul","lpt3","lpt2","lpt1","con","com4","com3","com2","com1","aux","shift","cd","dir","echo","setlocal","endlocal","set","pause","copy","append","assoc","at","attrib","break","cacls","cd","chcp","chdir","chkdsk","chkntfs","cls","cmd","color","comp","compact","convert","date","dir","diskcomp","diskcopy","doskey","erase","fs","find","findstr","format","ftype","graftabl","help","keyb","label","md","mkdir","mode","more","move","path","pause","print","popd","pushd","promt","rd","recover","rem","rename","replace","restore","rmdir","shift","sort","start","subst","time","title","tree","type","ver","verify","vol", +// winutils +"ping","net","ipconfig","taskkill","xcopy","ren","del"]},contains:[{className:"variable",begin:/%%[^ ]|%[^ ]+?%|![^ ]+?!/},{className:"function",begin:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)",end:"goto:eof",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),t]},{className:"number",begin:"\\b\\d+",relevance:0},t]}}}function Yd(){if(Ca)return Ta;return Ca=1,Ta=function(e){return{keywords:"dsconfig",contains:[{className:"keyword",begin:"^dsconfig",end:/\s/,excludeEnd:!0,relevance:10},{className:"built_in",begin:/(list|create|get|set|delete)-(\w+)/,end:/\s/,excludeEnd:!0,illegal:"!@#$%^&*()",relevance:10},{className:"built_in",begin:/--(\w+)/,end:/\s/,excludeEnd:!0},{className:"string",begin:/"/,end:/"/},{className:"string",begin:/'/,end:/'/},{className:"string",begin:/[\w\-?]+:\w+/,end:/\W/,relevance:0},{className:"string",begin:/\w+(\-\w+)*/,end:/(?=\W)/,relevance:0},e.HASH_COMMENT_MODE]}}}function qd(){if(ka)return xa;return ka=1,xa=function(e){const t={className:"string",variants:[e.inherit(e.QUOTE_STRING_MODE,{begin:'((u8?|U)|L)?"'}),{begin:'(u8?|U)?R"',end:'"',contains:[e.BACKSLASH_ESCAPE]},{begin:"'\\\\?.",end:"'",illegal:"."}]},n={className:"number",variants:[{begin:"\\b(\\d+(\\.\\d*)?|\\.\\d+)(u|U|l|L|ul|UL|f|F)"},{begin:e.C_NUMBER_RE}],relevance:0},r={className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef ifdef ifndef"},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",end:"$",keywords:{keyword:"include"},contains:[e.inherit(t,{className:"string"}),{className:"string",begin:"<",end:">",illegal:"\\n"}]},t,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},i={className:"variable",begin:/&[a-z\d_]*\b/};return{name:"Device Tree",contains:[{className:"title.class",begin:/^\/(?=\s*\{)/,relevance:10},i,{className:"keyword",begin:"/[a-z][a-z\\d-]*/"},{className:"symbol",begin:"^\\s*[a-zA-Z_][a-zA-Z\\d_]*:"},{className:"title.class",begin:/[a-zA-Z_][a-zA-Z\d_@-]*(?=\s\{)/,relevance:.2},{relevance:0,match:[/[a-z][a-z-,]+/,/\s*/,/=/],scope:{1:"attr",3:"operator"}},{match:/[a-z][a-z-,]+(?=;)/,relevance:0,scope:"attr"},{className:"params",relevance:0,begin:"<",end:">",contains:[n,i]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n,t,r,{scope:"punctuation",relevance:0, +// `};` combined is just to avoid tons of useless punctuation nodes +match:/\};|[;{}]/},{begin:e.IDENT_RE+"::",keywords:""}]}}}function Hd(){if(wa)return Aa;return wa=1,Aa=function(e){return{name:"Dust",aliases:["dst"],case_insensitive:!0,subLanguage:"xml",contains:[{className:"template-tag",begin:/\{[#\/]/,end:/\}/,illegal:/;/,contains:[{className:"name",begin:/[a-zA-Z\.-]+/,starts:{endsWithParent:!0,relevance:0,contains:[e.QUOTE_STRING_MODE]}}]},{className:"template-variable",begin:/\{/,end:/\}/,illegal:/;/,keywords:"if eq ne lt lte gt gte select default math sep"}]}}}function Vd(){if(Oa)return Na;return Oa=1,Na=function(e){const t=e.COMMENT(/\(\*/,/\*\)/);return{name:"Extended Backus-Naur Form",illegal:/\S/,contains:[t,{className:"attribute",begin:/^[ ]*[a-zA-Z]+([\s_-]+[a-zA-Z]+)*/},{begin:/=/,end:/[.;]/,contains:[t,{className:"meta",begin:/\?.*\?/},{ +// terminals +className:"string",variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"`",end:"`"}]}]}]}}}function Wd(){if(Ia)return Ra;return Ia=1,Ra=function(e){const t=e.regex,n="[a-zA-Z_][a-zA-Z0-9_.]*(!|\\?)?",r={$pattern:n,keyword:["after","alias","and","case","catch","cond","defstruct","defguard","do","else","end","fn","for","if","import","in","not","or","quote","raise","receive","require","reraise","rescue","try","unless","unquote","unquote_splicing","use","when","with|0"],literal:["false","nil","true"]},i={className:"subst",begin:/#\{/,end:/\}/,keywords:r},a={match:/\\[\s\S]/,scope:"char.escape",relevance:0},o="[/|([{<\"']",s=[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin:/</,end:/>/}],l=e=>({scope:"char.escape",begin:t.concat(/\\/,e),relevance:0}),c={className:"string",begin:"~[a-z](?="+o+")",contains:s.map((t=>e.inherit(t,{contains:[l(t.end),a,i]})))},u={className:"string",begin:"~[A-Z](?="+o+")",contains:s.map((t=>e.inherit(t,{contains:[l(t.end)]})))},d={className:"regex",variants:[{begin:"~r(?="+o+")",contains:s.map((n=>e.inherit(n,{end:t.concat(n.end,/[uismxfU]{0,7}/),contains:[l(n.end),a,i]})))},{begin:"~R(?="+o+")",contains:s.map((n=>e.inherit(n,{end:t.concat(n.end,/[uismxfU]{0,7}/),contains:[l(n.end)]})))}]},h={className:"string",contains:[e.BACKSLASH_ESCAPE,i],variants:[{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:/~S"""/,end:/"""/,contains:[]},{begin:/~S"/,end:/"/,contains:[]},{begin:/~S'''/,end:/'''/,contains:[]},{begin:/~S'/,end:/'/,contains:[]},{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},p={className:"function",beginKeywords:"def defp defmacro defmacrop",end:/\B\b/, +// the mode is ended by the title +contains:[e.inherit(e.TITLE_MODE,{begin:n,endsParent:!0})]},g=e.inherit(p,{className:"class",beginKeywords:"defimpl defmodule defprotocol defrecord",end:/\bdo\b|$|;/}),m=[h,d,u,c,e.HASH_COMMENT_MODE,g,p,{begin:"::"},{className:"symbol",begin:":(?![\\s:])",contains:[h,{begin:"[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?"}],relevance:0},{className:"symbol",begin:n+":(?!:)",relevance:0},{ +// Usage of a module, struct, etc. +className:"title.class",begin:/(\b[A-Z][a-zA-Z0-9_]+)/,relevance:0},{className:"number",begin:"(\\b0o[0-7_]+)|(\\b0b[01_]+)|(\\b0x[0-9a-fA-F_]+)|(-?\\b[0-9][0-9_]*(\\.[0-9_]+([eE][-+]?[0-9]+)?)?)",relevance:0},{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))"}];return i.contains=m,{name:"Elixir",aliases:["ex","exs"],keywords:r,contains:m}}}function Qd(){if(Ma)return Da;return Ma=1,Da=function(e){const t={variants:[e.COMMENT("--","$"),e.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},n={className:"type",begin:"\\b[A-Z][\\w']*", +// TODO: other constructors (built-in, infix). +relevance:0},r={begin:"\\(",end:"\\)",illegal:'"',contains:[{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},t]};return{name:"Elm",keywords:["let","in","if","then","else","case","of","where","module","import","exposing","type","alias","as","infix","infixl","infixr","port","effect","command","subscription"],contains:[ +// Top-level constructions. +{beginKeywords:"port effect module",end:"exposing",keywords:"port effect module where command subscription exposing",contains:[r,t],illegal:"\\W\\.|;"},{begin:"import",end:"$",keywords:"import as exposing",contains:[r,t],illegal:"\\W\\.|;"},{begin:"type",end:"$",keywords:"type alias",contains:[n,r,{begin:/\{/,end:/\}/,contains:r.contains},t]},{beginKeywords:"infix infixl infixr",end:"$",contains:[e.C_NUMBER_MODE,t]},{begin:"port",end:"$",keywords:"port",contains:[t]},{className:"string",begin:"'\\\\?.",end:"'",illegal:"."},e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,n,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),t,{ +// No markup, relevance booster +begin:"->|<-"}],illegal:/;/}}}function Kd(){if(Pa)return La;return Pa=1,La=function(e){const t=e.regex,n="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",r=t.either(/\b([A-Z]+[a-z0-9]+)+/, +// ends in caps +/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),i=t.concat(r,/(::\w+)*/),a={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield","include","extend","prepend","public","private","protected","raise","throw"],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},o={className:"doctag",begin:"@[A-Za-z]+"},s={begin:"#<",end:">"},l=[e.COMMENT("#","$",{contains:[o]}),e.COMMENT("^=begin","^=end",{contains:[o],relevance:10}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],c={className:"subst",begin:/#\{/,end:/\}/,keywords:a},u={className:"string",contains:[e.BACKSLASH_ESCAPE,c],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?</,end:/>/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/}, +// in the following expressions, \B in the beginning suppresses recognition of ?-sequences +// where ? is the last character of a preceding identifier, as in: `func?4` +{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/}, +// heredocs +{ +// this guard makes sure that we have an entire heredoc and not a false +// positive (auto-detect, etc.) +begin:t.concat(/<<[-~]?'?/,t.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,c]})]}]},d="[0-9](_?[0-9])*",h={className:"number",relevance:0,variants:[ +// decimal integer/float, optionally exponential or rational, optionally imaginary +{begin:`\\b([1-9](_?[0-9])*|0)(\\.(${d}))?([eE][+-]?(${d})|r)?i?\\b`}, +// explicit decimal/binary/octal/hexadecimal integer, +// optionally rational and/or imaginary +{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"}, +// 0-prefixed implicit octal integer, optionally rational and/or imaginary +{begin:"\\b0(_?[0-7])+r?i?\\b"}]},p={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:a}]},g=[u,{variants:[{match:[/class\s+/,i,/\s+<\s+/,i]},{match:[/\b(class|module)\s+/,i]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:a},{match:[/(include|extend)\s+/,i],scope:{2:"title.class"},keywords:a},{relevance:0,match:[i,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:r,scope:"title.class"},{match:[/def/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[p]},{ +// swallow namespace qualifiers before symbols +begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[u,{begin:n}],relevance:0},h,{ +// negative-look forward attempts to prevent false matches like: +// @ident@ or $ident$ that might indicate this is not ruby at all +className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|(?!=)/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0, +// this could be a lot of things (in other languages) other than params +keywords:a},{ +// regexp container +begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,c],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(s,l),relevance:0}].concat(s,l);c.contains=g,p.contains=g;const m=[{begin:/^\s*=>/,starts:{end:"$",contains:g}},{className:"meta.prompt",begin:"^([>?]>|[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]|(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>)(?=[ ])",starts:{end:"$",keywords:a,contains:g}}];return l.unshift(s),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:a,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(m).concat(l).concat(g)}}}function Xd(){if(Fa)return ja;return Fa=1,ja=function(e){return{name:"ERB",subLanguage:"xml",contains:[e.COMMENT("<%#","%>"),{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}}function Zd(){if(Ua)return Ba;return Ua=1,Ba=function(e){const t=e.regex;return{name:"Erlang REPL",keywords:{built_in:"spawn spawn_link self",keyword:"after and andalso|10 band begin bnot bor bsl bsr bxor case catch cond div end fun if let not of or orelse|10 query receive rem try when xor"},contains:[{className:"meta.prompt",begin:"^[0-9]+> ",relevance:10},e.COMMENT("%","$"),{className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:t.concat(/\?(::)?/,/([A-Z]\w*)/, +// at least one identifier +/((::)[A-Z]\w*)*/)},{begin:"->"},{begin:"ok"},{begin:"!"},{begin:"(\\b[a-z'][a-zA-Z0-9_']*:[a-z'][a-zA-Z0-9_']*)|(\\b[a-z'][a-zA-Z0-9_']*)",relevance:0},{begin:"[A-Z][a-zA-Z0-9_']*",relevance:0}]}}}function Jd(){if(za)return Ga;return za=1,Ga=function(e){const t="[a-z'][a-zA-Z0-9_']*",n="("+t+":"+t+"|"+t+")",r={keyword:"after and andalso|10 band begin bnot bor bsl bzr bxor case catch cond div end fun if let not of orelse|10 query receive rem try when xor maybe else",literal:"false true"},i=e.COMMENT("%","$"),a={className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},o={begin:"fun\\s+"+t+"/\\d+"},s={begin:n+"\\(",end:"\\)",returnBegin:!0,relevance:0,contains:[{begin:n,relevance:0},{begin:"\\(",end:"\\)",endsWithParent:!0,returnEnd:!0,relevance:0}]},l={begin:/\{/,end:/\}/,relevance:0},c={begin:"\\b_([A-Z][A-Za-z0-9_]*)?",relevance:0},u={begin:"[A-Z][a-zA-Z0-9_]*",relevance:0},d={begin:"#"+e.UNDERSCORE_IDENT_RE,relevance:0,returnBegin:!0,contains:[{begin:"#"+e.UNDERSCORE_IDENT_RE,relevance:0},{begin:/\{/,end:/\}/,relevance:0}]},h={scope:"string",match:/\$(\\([^0-9]|[0-9]{1,3}|)|.)/},p={scope:"string",match:/"""("*)(?!")[\s\S]*?"""\1/},g={scope:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{match:/~\w?"""("*)(?!")[\s\S]*?"""\1/},{begin:/~\w?\(/,end:/\)/},{begin:/~\w?\[/,end:/\]/},{begin:/~\w?{/,end:/}/},{begin:/~\w?</,end:/>/},{begin:/~\w?\//,end:/\//},{begin:/~\w?\|/,end:/\|/},{begin:/~\w?'/,end:/'/},{begin:/~\w?"/,end:/"/},{begin:/~\w?`/,end:/`/},{begin:/~\w?#/,end:/#/}]},m={beginKeywords:"fun receive if try case maybe",end:"end",keywords:r};m.contains=[i,o,e.inherit(e.APOS_STRING_MODE,{className:""}),m,s,g,p,e.QUOTE_STRING_MODE,a,l,c,u,d,h];const _=[i,o,m,s,g,p,e.QUOTE_STRING_MODE,a,l,c,u,d,h];s.contains[1].contains=_,l.contains=_,d.contains[1].contains=_;const b={className:"params",begin:"\\(",end:"\\)",contains:_};return{name:"Erlang",aliases:["erl"],keywords:r,illegal:"(</|\\*=|\\+=|-=|/\\*|\\*/|\\(\\*|\\*\\))",contains:[{className:"function",begin:"^"+t+"\\s*\\(",end:"->",returnBegin:!0,illegal:"\\(|#|//|/\\*|\\\\|:|;",contains:[b,e.inherit(e.TITLE_MODE,{begin:t})],starts:{end:";|\\.",keywords:r,contains:_}},i,{begin:"^-",end:"\\.",relevance:0,excludeEnd:!0,returnBegin:!0,keywords:{$pattern:"-"+e.IDENT_RE,keyword:["-module","-record","-undef","-export","-ifdef","-ifndef","-author","-copyright","-doc","-moduledoc","-vsn","-import","-include","-include_lib","-compile","-define","-else","-endif","-file","-behaviour","-behavior","-spec","-on_load","-nifs"].map((e=>`${e}|1.5`)).join(" ")},contains:[b,g,p,e.QUOTE_STRING_MODE]},a,g,p,e.QUOTE_STRING_MODE,d,c,u,l,h,{begin:/\.$/}]}}}function eh(){if(Ya)return $a;return Ya=1,$a=function(e){return{name:"Excel formulae",aliases:["xlsx","xls"],case_insensitive:!0,keywords:{$pattern:/[a-zA-Z][\w\.]*/,built_in:["ABS","ACCRINT","ACCRINTM","ACOS","ACOSH","ACOT","ACOTH","AGGREGATE","ADDRESS","AMORDEGRC","AMORLINC","AND","ARABIC","AREAS","ARRAYTOTEXT","ASC","ASIN","ASINH","ATAN","ATAN2","ATANH","AVEDEV","AVERAGE","AVERAGEA","AVERAGEIF","AVERAGEIFS","BAHTTEXT","BASE","BESSELI","BESSELJ","BESSELK","BESSELY","BETADIST","BETA.DIST","BETAINV","BETA.INV","BIN2DEC","BIN2HEX","BIN2OCT","BINOMDIST","BINOM.DIST","BINOM.DIST.RANGE","BINOM.INV","BITAND","BITLSHIFT","BITOR","BITRSHIFT","BITXOR","BYCOL","BYROW","CALL","CEILING","CEILING.MATH","CEILING.PRECISE","CELL","CHAR","CHIDIST","CHIINV","CHITEST","CHISQ.DIST","CHISQ.DIST.RT","CHISQ.INV","CHISQ.INV.RT","CHISQ.TEST","CHOOSE","CHOOSECOLS","CHOOSEROWS","CLEAN","CODE","COLUMN","COLUMNS","COMBIN","COMBINA","COMPLEX","CONCAT","CONCATENATE","CONFIDENCE","CONFIDENCE.NORM","CONFIDENCE.T","CONVERT","CORREL","COS","COSH","COT","COTH","COUNT","COUNTA","COUNTBLANK","COUNTIF","COUNTIFS","COUPDAYBS","COUPDAYS","COUPDAYSNC","COUPNCD","COUPNUM","COUPPCD","COVAR","COVARIANCE.P","COVARIANCE.S","CRITBINOM","CSC","CSCH","CUBEKPIMEMBER","CUBEMEMBER","CUBEMEMBERPROPERTY","CUBERANKEDMEMBER","CUBESET","CUBESETCOUNT","CUBEVALUE","CUMIPMT","CUMPRINC","DATE","DATEDIF","DATEVALUE","DAVERAGE","DAY","DAYS","DAYS360","DB","DBCS","DCOUNT","DCOUNTA","DDB","DEC2BIN","DEC2HEX","DEC2OCT","DECIMAL","DEGREES","DELTA","DEVSQ","DGET","DISC","DMAX","DMIN","DOLLAR","DOLLARDE","DOLLARFR","DPRODUCT","DROP","DSTDEV","DSTDEVP","DSUM","DURATION","DVAR","DVARP","EDATE","EFFECT","ENCODEURL","EOMONTH","ERF","ERF.PRECISE","ERFC","ERFC.PRECISE","ERROR.TYPE","EUROCONVERT","EVEN","EXACT","EXP","EXPAND","EXPON.DIST","EXPONDIST","FACT","FACTDOUBLE","FALSE","F.DIST","FDIST","F.DIST.RT","FILTER","FILTERXML","FIND","FINDB","F.INV","F.INV.RT","FINV","FISHER","FISHERINV","FIXED","FLOOR","FLOOR.MATH","FLOOR.PRECISE","FORECAST","FORECAST.ETS","FORECAST.ETS.CONFINT","FORECAST.ETS.SEASONALITY","FORECAST.ETS.STAT","FORECAST.LINEAR","FORMULATEXT","FREQUENCY","F.TEST","FTEST","FV","FVSCHEDULE","GAMMA","GAMMA.DIST","GAMMADIST","GAMMA.INV","GAMMAINV","GAMMALN","GAMMALN.PRECISE","GAUSS","GCD","GEOMEAN","GESTEP","GETPIVOTDATA","GROWTH","HARMEAN","HEX2BIN","HEX2DEC","HEX2OCT","HLOOKUP","HOUR","HSTACK","HYPERLINK","HYPGEOM.DIST","HYPGEOMDIST","IF","IFERROR","IFNA","IFS","IMABS","IMAGE","IMAGINARY","IMARGUMENT","IMCONJUGATE","IMCOS","IMCOSH","IMCOT","IMCSC","IMCSCH","IMDIV","IMEXP","IMLN","IMLOG10","IMLOG2","IMPOWER","IMPRODUCT","IMREAL","IMSEC","IMSECH","IMSIN","IMSINH","IMSQRT","IMSUB","IMSUM","IMTAN","INDEX","INDIRECT","INFO","INT","INTERCEPT","INTRATE","IPMT","IRR","ISBLANK","ISERR","ISERROR","ISEVEN","ISFORMULA","ISLOGICAL","ISNA","ISNONTEXT","ISNUMBER","ISODD","ISOMITTED","ISREF","ISTEXT","ISO.CEILING","ISOWEEKNUM","ISPMT","JIS","KURT","LAMBDA","LARGE","LCM","LEFT","LEFTB","LEN","LENB","LET","LINEST","LN","LOG","LOG10","LOGEST","LOGINV","LOGNORM.DIST","LOGNORMDIST","LOGNORM.INV","LOOKUP","LOWER","MAKEARRAY","MAP","MATCH","MAX","MAXA","MAXIFS","MDETERM","MDURATION","MEDIAN","MID","MIDB","MIN","MINIFS","MINA","MINUTE","MINVERSE","MIRR","MMULT","MOD","MODE","MODE.MULT","MODE.SNGL","MONTH","MROUND","MULTINOMIAL","MUNIT","N","NA","NEGBINOM.DIST","NEGBINOMDIST","NETWORKDAYS","NETWORKDAYS.INTL","NOMINAL","NORM.DIST","NORMDIST","NORMINV","NORM.INV","NORM.S.DIST","NORMSDIST","NORM.S.INV","NORMSINV","NOT","NOW","NPER","NPV","NUMBERVALUE","OCT2BIN","OCT2DEC","OCT2HEX","ODD","ODDFPRICE","ODDFYIELD","ODDLPRICE","ODDLYIELD","OFFSET","OR","PDURATION","PEARSON","PERCENTILE.EXC","PERCENTILE.INC","PERCENTILE","PERCENTRANK.EXC","PERCENTRANK.INC","PERCENTRANK","PERMUT","PERMUTATIONA","PHI","PHONETIC","PI","PMT","POISSON.DIST","POISSON","POWER","PPMT","PRICE","PRICEDISC","PRICEMAT","PROB","PRODUCT","PROPER","PV","QUARTILE","QUARTILE.EXC","QUARTILE.INC","QUOTIENT","RADIANS","RAND","RANDARRAY","RANDBETWEEN","RANK.AVG","RANK.EQ","RANK","RATE","RECEIVED","REDUCE","REGISTER.ID","REPLACE","REPLACEB","REPT","RIGHT","RIGHTB","ROMAN","ROUND","ROUNDDOWN","ROUNDUP","ROW","ROWS","RRI","RSQ","RTD","SCAN","SEARCH","SEARCHB","SEC","SECH","SECOND","SEQUENCE","SERIESSUM","SHEET","SHEETS","SIGN","SIN","SINH","SKEW","SKEW.P","SLN","SLOPE","SMALL","SORT","SORTBY","SQRT","SQRTPI","SQL.REQUEST","STANDARDIZE","STOCKHISTORY","STDEV","STDEV.P","STDEV.S","STDEVA","STDEVP","STDEVPA","STEYX","SUBSTITUTE","SUBTOTAL","SUM","SUMIF","SUMIFS","SUMPRODUCT","SUMSQ","SUMX2MY2","SUMX2PY2","SUMXMY2","SWITCH","SYD","T","TAN","TANH","TAKE","TBILLEQ","TBILLPRICE","TBILLYIELD","T.DIST","T.DIST.2T","T.DIST.RT","TDIST","TEXT","TEXTAFTER","TEXTBEFORE","TEXTJOIN","TEXTSPLIT","TIME","TIMEVALUE","T.INV","T.INV.2T","TINV","TOCOL","TOROW","TODAY","TRANSPOSE","TREND","TRIM","TRIMMEAN","TRUE","TRUNC","T.TEST","TTEST","TYPE","UNICHAR","UNICODE","UNIQUE","UPPER","VALUE","VALUETOTEXT","VAR","VAR.P","VAR.S","VARA","VARP","VARPA","VDB","VLOOKUP","VSTACK","WEBSERVICE","WEEKDAY","WEEKNUM","WEIBULL","WEIBULL.DIST","WORKDAY","WORKDAY.INTL","WRAPCOLS","WRAPROWS","XIRR","XLOOKUP","XMATCH","XNPV","XOR","YEAR","YEARFRAC","YIELD","YIELDDISC","YIELDMAT","Z.TEST","ZTEST"]},contains:[{ +/* matches a beginning equal sign found in Excel formula examples */ +begin:/^=/,end:/[^=]/,returnEnd:!0,illegal:/=/, +/* only allow single equal sign at front of line */ +relevance:10}, +/* technically, there can be more than 2 letters in column names, but this prevents conflict with some keywords */ +{ +/* matches a reference to a single cell */ +className:"symbol",begin:/\b[A-Z]{1,2}\d+\b/,end:/[^\d]/,excludeEnd:!0,relevance:0},{ +/* matches a reference to a range of cells */ +className:"symbol",begin:/[A-Z]{0,2}\d*:[A-Z]{0,2}\d*/,relevance:0},e.BACKSLASH_ESCAPE,e.QUOTE_STRING_MODE,{className:"number",begin:e.NUMBER_RE+"(%)?",relevance:0}, +/* Excel formula comments are done by putting the comment in a function call to N() */ +e.COMMENT(/\bN\(/,/\)/,{excludeBegin:!0,excludeEnd:!0,illegal:/\n/})]}}}function th(){if(Ha)return qa;return Ha=1,qa=function(e){return{name:"FIX",contains:[{begin:/[^\u2401\u0001]+/,end:/[\u2401\u0001]/,excludeEnd:!0,returnBegin:!0,returnEnd:!1,contains:[{begin:/([^\u2401\u0001=]+)/,end:/=([^\u2401\u0001=]+)/,returnEnd:!0,returnBegin:!1,className:"attr"},{begin:/=/,end:/([\u2401\u0001])/,excludeEnd:!0,excludeBegin:!0,className:"string"}]}],case_insensitive:!0}}}function nh(){if(Wa)return Va;return Wa=1,Va=function(e){const t={className:"function",beginKeywords:"def",end:/[:={\[(\n;]/,excludeEnd:!0,contains:[{className:"title",relevance:0,begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/}]};return{name:"Flix",keywords:{keyword:["case","class","def","else","enum","if","impl","import","in","lat","rel","index","let","match","namespace","switch","type","yield","with"],literal:["true","false"]},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},{className:"string",variants:[{begin:'"',end:'"'}]},t,e.C_NUMBER_MODE]}}}function rh(){if(Ka)return Qa;return Ka=1,Qa=function(e){const t=e.regex,n={variants:[e.COMMENT("!","$",{relevance:0}), +// allow FORTRAN 77 style comments +e.COMMENT("^C[ ]","$",{relevance:0}),e.COMMENT("^C$","$",{relevance:0})]},r=/(_[a-z_\d]+)?/,i=/([de][+-]?\d+)?/,a={className:"number",variants:[{begin:t.concat(/\b\d+/,/\.(\d*)/,i,r)},{begin:t.concat(/\b\d+/,i,r)},{begin:t.concat(/\.\d+/,i,r)}],relevance:0},o={className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]};return{name:"Fortran",case_insensitive:!0,aliases:["f90","f95"],keywords:{$pattern:/\b[a-z][a-z0-9_]+\b|\.[a-z][a-z0-9_]+\./,keyword:["kind","do","concurrent","local","shared","while","private","call","intrinsic","where","elsewhere","type","endtype","endmodule","endselect","endinterface","end","enddo","endif","if","forall","endforall","only","contains","default","return","stop","then","block","endblock","endassociate","public","subroutine|10","function","program",".and.",".or.",".not.",".le.",".eq.",".ge.",".gt.",".lt.","goto","save","else","use","module","select","case","access","blank","direct","exist","file","fmt","form","formatted","iostat","name","named","nextrec","number","opened","rec","recl","sequential","status","unformatted","unit","continue","format","pause","cycle","exit","c_null_char","c_alert","c_backspace","c_form_feed","flush","wait","decimal","round","iomsg","synchronous","nopass","non_overridable","pass","protected","volatile","abstract","extends","import","non_intrinsic","value","deferred","generic","final","enumerator","class","associate","bind","enum","c_int","c_short","c_long","c_long_long","c_signed_char","c_size_t","c_int8_t","c_int16_t","c_int32_t","c_int64_t","c_int_least8_t","c_int_least16_t","c_int_least32_t","c_int_least64_t","c_int_fast8_t","c_int_fast16_t","c_int_fast32_t","c_int_fast64_t","c_intmax_t","C_intptr_t","c_float","c_double","c_long_double","c_float_complex","c_double_complex","c_long_double_complex","c_bool","c_char","c_null_ptr","c_null_funptr","c_new_line","c_carriage_return","c_horizontal_tab","c_vertical_tab","iso_c_binding","c_loc","c_funloc","c_associated","c_f_pointer","c_ptr","c_funptr","iso_fortran_env","character_storage_size","error_unit","file_storage_size","input_unit","iostat_end","iostat_eor","numeric_storage_size","output_unit","c_f_procpointer","ieee_arithmetic","ieee_support_underflow_control","ieee_get_underflow_mode","ieee_set_underflow_mode","newunit","contiguous","recursive","pad","position","action","delim","readwrite","eor","advance","nml","interface","procedure","namelist","include","sequence","elemental","pure","impure","integer","real","character","complex","logical","codimension","dimension","allocatable|10","parameter","external","implicit|10","none","double","precision","assign","intent","optional","pointer","target","in","out","common","equivalence","data"],literal:[".False.",".True."],built_in:["alog","alog10","amax0","amax1","amin0","amin1","amod","cabs","ccos","cexp","clog","csin","csqrt","dabs","dacos","dasin","datan","datan2","dcos","dcosh","ddim","dexp","dint","dlog","dlog10","dmax1","dmin1","dmod","dnint","dsign","dsin","dsinh","dsqrt","dtan","dtanh","float","iabs","idim","idint","idnint","ifix","isign","max0","max1","min0","min1","sngl","algama","cdabs","cdcos","cdexp","cdlog","cdsin","cdsqrt","cqabs","cqcos","cqexp","cqlog","cqsin","cqsqrt","dcmplx","dconjg","derf","derfc","dfloat","dgamma","dimag","dlgama","iqint","qabs","qacos","qasin","qatan","qatan2","qcmplx","qconjg","qcos","qcosh","qdim","qerf","qerfc","qexp","qgamma","qimag","qlgama","qlog","qlog10","qmax1","qmin1","qmod","qnint","qsign","qsin","qsinh","qsqrt","qtan","qtanh","abs","acos","aimag","aint","anint","asin","atan","atan2","char","cmplx","conjg","cos","cosh","exp","ichar","index","int","log","log10","max","min","nint","sign","sin","sinh","sqrt","tan","tanh","print","write","dim","lge","lgt","lle","llt","mod","nullify","allocate","deallocate","adjustl","adjustr","all","allocated","any","associated","bit_size","btest","ceiling","count","cshift","date_and_time","digits","dot_product","eoshift","epsilon","exponent","floor","fraction","huge","iand","ibclr","ibits","ibset","ieor","ior","ishft","ishftc","lbound","len_trim","matmul","maxexponent","maxloc","maxval","merge","minexponent","minloc","minval","modulo","mvbits","nearest","pack","present","product","radix","random_number","random_seed","range","repeat","reshape","rrspacing","scale","scan","selected_int_kind","selected_real_kind","set_exponent","shape","size","spacing","spread","sum","system_clock","tiny","transpose","trim","ubound","unpack","verify","achar","iachar","transfer","dble","entry","dprod","cpu_time","command_argument_count","get_command","get_command_argument","get_environment_variable","is_iostat_end","ieee_arithmetic","ieee_support_underflow_control","ieee_get_underflow_mode","ieee_set_underflow_mode","is_iostat_eor","move_alloc","new_line","selected_char_kind","same_type_as","extends_type_of","acosh","asinh","atanh","bessel_j0","bessel_j1","bessel_jn","bessel_y0","bessel_y1","bessel_yn","erf","erfc","erfc_scaled","gamma","log_gamma","hypot","norm2","atomic_define","atomic_ref","execute_command_line","leadz","trailz","storage_size","merge_bits","bge","bgt","ble","blt","dshiftl","dshiftr","findloc","iall","iany","iparity","image_index","lcobound","ucobound","maskl","maskr","num_images","parity","popcnt","poppar","shifta","shiftl","shiftr","this_image","sync","change","team","co_broadcast","co_max","co_min","co_sum","co_reduce"]},illegal:/\/\*/,contains:[{className:"string",relevance:0,variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},o, +// allow `C = value` for assignments so they aren't misdetected +// as Fortran 77 style comments +{begin:/^C\s*=(?!=)/,relevance:0},n,a]}}}function ih(){if(Za)return Xa;function e(e){return new RegExp(e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function t(e){return e?"string"==typeof e?e:e.source:null}function n(e){return r("(?=",e,")")}function r(...e){return e.map((e=>t(e))).join("")}function i(...e){const n=function(e){const t=e[e.length-1];return"object"==typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}(e);return"("+(n.capture?"":"?:")+e.map((e=>t(e))).join("|")+")"}return Za=1,Xa=function(t){const a={ +// monad builder keywords (matches before non-bang keywords) +scope:"keyword",match:/\b(yield|return|let|do|match|use)!/},o=[ +// basic types +"bool","byte","sbyte","int8","int16","int32","uint8","uint16","uint32","int","uint","int64","uint64","nativeint","unativeint","decimal","float","double","float32","single","char","string","unit","bigint", +// other native types or lowercase aliases +"option","voption","list","array","seq","byref","exn","inref","nativeptr","obj","outref","voidptr", +// other important FSharp types +"Result"],s={keyword:["abstract","and","as","assert","base","begin","class","default","delegate","do","done","downcast","downto","elif","else","end","exception","extern", +// "false", // literal +"finally","fixed","for","fun","function","global","if","in","inherit","inline","interface","internal","lazy","let","match","member","module","mutable","namespace","new", +// "not", // built_in +// "null", // literal +"of","open","or","override","private","public","rec","return","static","struct","then","to", +// "true", // literal +"try","type","upcast","use","val","void","when","while","with","yield"],literal:["true","false","null","Some","None","Ok","Error","infinity","infinityf","nan","nanf"],built_in:[ +// Somewhat arbitrary list of builtin functions and values. +// Most of them are declared in Microsoft.FSharp.Core +// I tried to stay relevant by adding only the most idiomatic +// and most used symbols that are not already declared as types. +"not","ref","raise","reraise","dict","readOnlyDict","set","get","enum","sizeof","typeof","typedefof","nameof","nullArg","invalidArg","invalidOp","id","fst","snd","ignore","lock","using","box","unbox","tryUnbox","printf","printfn","sprintf","eprintf","eprintfn","fprintf","fprintfn","failwith","failwithf"],"variable.constant":["__LINE__","__SOURCE_DIRECTORY__","__SOURCE_FILE__"]},l={variants:[t.COMMENT(/\(\*(?!\))/,/\*\)/,{contains:["self"]}),t.C_LINE_COMMENT_MODE]},c={scope:"variable",begin:/``/,end:/``/},u=/\B('|\^)/,d={scope:"symbol",variants:[ +// the type name is a quoted identifier: +{match:r(u,/``.*?``/)}, +// the type name is a normal identifier (we don't use IDENTIFIER_RE because there cannot be another apostrophe here): +{match:r(u,t.UNDERSCORE_IDENT_RE)}],relevance:0},h=function({includeEqual:t}){let a;a=t?"!%&*+-/<=>@^|~?":"!%&*+-/<>@^|~?";const o=r("[",...Array.from(a).map(e),"]"),s=i(o,/\./),l=r(s,n(s)),c=i(r(l,s,"*"), +// Matches at least 2 chars operators +r(o,"+"));return{scope:"operator",match:i( +// symbolic operators: +c, +// other symbolic keywords: +// Type casting and conversion operators: +/:\?>/,/:\?/,/:>/,/:=/, +// Reference cell assignment +/::?/, +// : or :: +/\$/), +// A single $ can be used as an operator +relevance:0}},p=h({includeEqual:!0}),g=h({includeEqual:!1}),m=function(e,a){return{begin:r( +// a type annotation is a +e, +// should be a colon or the 'of' keyword +n( +// that has to be followed by +r(/\s*/, +// optional space +i( +// then either of: +/\w/, +// word +/'/, +// generic type name +/\^/, +// generic type name +/#/, +// flexible type name +/``/, +// quoted type name +/\(/, +// parens type expression +/{\|/)))),beginScope:a, +// BUG: because ending with \n is necessary for some cases, multi-line type annotations are not properly supported. +// Examples where \n is required at the end: +// - abstract member definitions in classes: abstract Property : int * string +// - return type annotations: let f f' = f' () : returnTypeAnnotation +// - record fields definitions: { A : int \n B : string } +end:n(i(/\n/,/=/)),relevance:0, +// we need the known types, and we need the type constraint keywords and literals. e.g.: when 'a : null +keywords:t.inherit(s,{type:o}),contains:[l,d,t.inherit(c,{scope:null}), +// match to avoid strange patterns inside that may break the parsing +g]}},_=m(/:/,"operator"),b=m(/\bof\b/,"keyword"),f={begin:[/(^|\s+)/, +// prevents matching the following: `match s.stype with` +/type/,/\s+/,/[a-zA-Z_](\w|')*/],beginScope:{2:"keyword",4:"title.class"},end:n(/\(|=|$/),keywords:s, +// match keywords in type constraints. e.g.: when 'a : null +contains:[l,t.inherit(c,{scope:null}), +// match to avoid strange patterns inside that may break the parsing +d,{ +// For visual consistency, highlight type brackets as operators. +scope:"operator",match:/<|>/},_]},y={ +// computation expressions: +scope:"computation-expression", +// BUG: might conflict with record deconstruction. e.g. let f { Name = name } = name // will highlight f +match:/\b[_a-z]\w*(?=\s*\{)/},v={ +// preprocessor directives and fsi commands: +begin:[/^\s*/,r(/#/,i("if","else","endif","line","nowarn","light","r","i","I","load","time","help","quit")),/\b/],beginScope:{2:"meta"},end:n(/\s|$/)},E={variants:[t.BINARY_NUMBER_MODE,t.C_NUMBER_MODE]},S={scope:"string",begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE]},T={scope:"string",begin:/@"/,end:/"/,contains:[{match:/""/},t.BACKSLASH_ESCAPE]},C={scope:"string",begin:/"""/,end:/"""/,relevance:2},x={scope:"subst",begin:/\{/,end:/\}/,keywords:s},k={scope:"string",begin:/\$"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},t.BACKSLASH_ESCAPE,x]},A={scope:"string",begin:/(\$@|@\$)"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},{match:/""/},t.BACKSLASH_ESCAPE,x]},w={scope:"string",begin:/\$"""/,end:/"""/,contains:[{match:/\{\{/},{match:/\}\}/},x],relevance:2},N={scope:"string",match:r(/'/,i(/[^\\']/, +// either a single non escaped char... +/\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8})/),/'/)};return x.contains=[A,k,T,S,N,a,l,c,_,y,v,E,d,p],{name:"F#",aliases:["fs","f#"],keywords:s,illegal:/\/\*/,classNameAliases:{"computation-expression":"keyword"},contains:[a,{variants:[w,A,k,C,T,S,N]},l,c,f,{ +// e.g. [<Attributes("")>] or [<``module``: MyCustomAttributeThatWorksOnModules>] +// or [<Sealed; NoEquality; NoComparison; CompiledName("FSharpAsync`1")>] +scope:"meta",begin:/\[</,end:/>\]/,relevance:2,contains:[c, +// can contain any constant value +C,T,S,N,E]},b,_,y,v,E,d,p]}}}function ah(){if(eo)return Ja;return eo=1,Ja=function(e){const t=e.regex,n={keyword:"abort acronym acronyms alias all and assign binary card diag display else eq file files for free ge gt if integer le loop lt maximizing minimizing model models ne negative no not option options or ord positive prod put putpage puttl repeat sameas semicont semiint smax smin solve sos1 sos2 sum system table then until using while xor yes",literal:"eps inf na",built_in:"abs arccos arcsin arctan arctan2 Beta betaReg binomial ceil centropy cos cosh cvPower div div0 eDist entropy errorf execSeed exp fact floor frac gamma gammaReg log logBeta logGamma log10 log2 mapVal max min mod ncpCM ncpF ncpVUpow ncpVUsin normal pi poly power randBinomial randLinear randTriangle round rPower sigmoid sign signPower sin sinh slexp sllog10 slrec sqexp sqlog10 sqr sqrec sqrt tan tanh trunc uniform uniformInt vcPower bool_and bool_eqv bool_imp bool_not bool_or bool_xor ifThen rel_eq rel_ge rel_gt rel_le rel_lt rel_ne gday gdow ghour gleap gmillisec gminute gmonth gsecond gyear jdate jnow jstart jtime errorLevel execError gamsRelease gamsVersion handleCollect handleDelete handleStatus handleSubmit heapFree heapLimit heapSize jobHandle jobKill jobStatus jobTerminate licenseLevel licenseStatus maxExecError sleep timeClose timeComp timeElapsed timeExec timeStart"},r={className:"symbol",variants:[{begin:/=[lgenxc]=/},{begin:/\$/}]},i={ +// One-line quoted comment string +className:"comment",variants:[{begin:"'",end:"'"},{begin:'"',end:'"'}],illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},a={begin:"/",end:"/",keywords:n,contains:[i,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_NUMBER_MODE]},o=/[a-z0-9&#*=?@\\><:,()$[\]_.{}!+%^-]+/,s={ +// Parameter/set/variable description text +begin:/[a-z][a-z0-9_]*(\([a-z0-9_, ]*\))?[ \t]+/,excludeBegin:!0,end:"$",endsWithParent:!0,contains:[i,a,{className:"comment", +// one comment word, then possibly more +begin:t.concat(o, +// [ ] because \s would be too broad (matching newlines) +t.anyNumberOfTimes(t.concat(/[ ]+/,o))),relevance:0}]};return{name:"GAMS",aliases:["gms"],case_insensitive:!0,keywords:n,contains:[e.COMMENT(/^\$ontext/,/^\$offtext/),{className:"meta",begin:"^\\$[a-z0-9]+",end:"$",returnBegin:!0,contains:[{className:"keyword",begin:"^\\$[a-z0-9]+"}]},e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE, +// Declarations +{beginKeywords:"set sets parameter parameters variable variables scalar scalars equation equations",end:";",contains:[e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,a,s]},{ +// table environment +beginKeywords:"table",end:";",returnBegin:!0,contains:[{ +// table header row +beginKeywords:"table",end:"$",contains:[s]},e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_NUMBER_MODE]}, +// Function definitions +{className:"function",begin:/^[a-z][a-z0-9_,\-+' ()$]+\.{2}/,returnBegin:!0,contains:[{ +// Function title +className:"title",begin:/^[a-z0-9_]+/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},r]},e.C_NUMBER_MODE,r]}}}function oh(){if(no)return to;return no=1,to=function(e){const t={keyword:"bool break call callexe checkinterrupt clear clearg closeall cls comlog compile continue create debug declare delete disable dlibrary dllcall do dos ed edit else elseif enable end endfor endif endp endo errorlog errorlogat expr external fn for format goto gosub graph if keyword let lib library line load loadarray loadexe loadf loadk loadm loadp loads loadx local locate loopnextindex lprint lpwidth lshow matrix msym ndpclex new open output outwidth plot plotsym pop prcsn print printdos proc push retp return rndcon rndmod rndmult rndseed run save saveall screen scroll setarray show sparse stop string struct system trace trap threadfor threadendfor threadbegin threadjoin threadstat threadend until use while winprint ne ge le gt lt and xor or not eq eqv",built_in:"abs acf aconcat aeye amax amean AmericanBinomCall AmericanBinomCall_Greeks AmericanBinomCall_ImpVol AmericanBinomPut AmericanBinomPut_Greeks AmericanBinomPut_ImpVol AmericanBSCall AmericanBSCall_Greeks AmericanBSCall_ImpVol AmericanBSPut AmericanBSPut_Greeks AmericanBSPut_ImpVol amin amult annotationGetDefaults annotationSetBkd annotationSetFont annotationSetLineColor annotationSetLineStyle annotationSetLineThickness annualTradingDays arccos arcsin areshape arrayalloc arrayindex arrayinit arraytomat asciiload asclabel astd astds asum atan atan2 atranspose axmargin balance band bandchol bandcholsol bandltsol bandrv bandsolpd bar base10 begwind besselj bessely beta box boxcox cdfBeta cdfBetaInv cdfBinomial cdfBinomialInv cdfBvn cdfBvn2 cdfBvn2e cdfCauchy cdfCauchyInv cdfChic cdfChii cdfChinc cdfChincInv cdfExp cdfExpInv cdfFc cdfFnc cdfFncInv cdfGam cdfGenPareto cdfHyperGeo cdfLaplace cdfLaplaceInv cdfLogistic cdfLogisticInv cdfmControlCreate cdfMvn cdfMvn2e cdfMvnce cdfMvne cdfMvt2e cdfMvtce cdfMvte cdfN cdfN2 cdfNc cdfNegBinomial cdfNegBinomialInv cdfNi cdfPoisson cdfPoissonInv cdfRayleigh cdfRayleighInv cdfTc cdfTci cdfTnc cdfTvn cdfWeibull cdfWeibullInv cdir ceil ChangeDir chdir chiBarSquare chol choldn cholsol cholup chrs close code cols colsf combinate combinated complex con cond conj cons ConScore contour conv convertsatostr convertstrtosa corrm corrms corrvc corrx corrxs cos cosh counts countwts crossprd crout croutp csrcol csrlin csvReadM csvReadSA cumprodc cumsumc curve cvtos datacreate datacreatecomplex datalist dataload dataloop dataopen datasave date datestr datestring datestrymd dayinyr dayofweek dbAddDatabase dbClose dbCommit dbCreateQuery dbExecQuery dbGetConnectOptions dbGetDatabaseName dbGetDriverName dbGetDrivers dbGetHostName dbGetLastErrorNum dbGetLastErrorText dbGetNumericalPrecPolicy dbGetPassword dbGetPort dbGetTableHeaders dbGetTables dbGetUserName dbHasFeature dbIsDriverAvailable dbIsOpen dbIsOpenError dbOpen dbQueryBindValue dbQueryClear dbQueryCols dbQueryExecPrepared dbQueryFetchAllM dbQueryFetchAllSA dbQueryFetchOneM dbQueryFetchOneSA dbQueryFinish dbQueryGetBoundValue dbQueryGetBoundValues dbQueryGetField dbQueryGetLastErrorNum dbQueryGetLastErrorText dbQueryGetLastInsertID dbQueryGetLastQuery dbQueryGetPosition dbQueryIsActive dbQueryIsForwardOnly dbQueryIsNull dbQueryIsSelect dbQueryIsValid dbQueryPrepare dbQueryRows dbQuerySeek dbQuerySeekFirst dbQuerySeekLast dbQuerySeekNext dbQuerySeekPrevious dbQuerySetForwardOnly dbRemoveDatabase dbRollback dbSetConnectOptions dbSetDatabaseName dbSetHostName dbSetNumericalPrecPolicy dbSetPort dbSetUserName dbTransaction DeleteFile delif delrows denseToSp denseToSpRE denToZero design det detl dfft dffti diag diagrv digamma doswin DOSWinCloseall DOSWinOpen dotfeq dotfeqmt dotfge dotfgemt dotfgt dotfgtmt dotfle dotflemt dotflt dotfltmt dotfne dotfnemt draw drop dsCreate dstat dstatmt dstatmtControlCreate dtdate dtday dttime dttodtv dttostr dttoutc dtvnormal dtvtodt dtvtoutc dummy dummybr dummydn eig eigh eighv eigv elapsedTradingDays endwind envget eof eqSolve eqSolvemt eqSolvemtControlCreate eqSolvemtOutCreate eqSolveset erf erfc erfccplx erfcplx error etdays ethsec etstr EuropeanBinomCall EuropeanBinomCall_Greeks EuropeanBinomCall_ImpVol EuropeanBinomPut EuropeanBinomPut_Greeks EuropeanBinomPut_ImpVol EuropeanBSCall EuropeanBSCall_Greeks EuropeanBSCall_ImpVol EuropeanBSPut EuropeanBSPut_Greeks EuropeanBSPut_ImpVol exctsmpl exec execbg exp extern eye fcheckerr fclearerr feq feqmt fflush fft ffti fftm fftmi fftn fge fgemt fgets fgetsa fgetsat fgetst fgt fgtmt fileinfo filesa fle flemt floor flt fltmt fmod fne fnemt fonts fopen formatcv formatnv fputs fputst fseek fstrerror ftell ftocv ftos ftostrC gamma gammacplx gammaii gausset gdaAppend gdaCreate gdaDStat gdaDStatMat gdaGetIndex gdaGetName gdaGetNames gdaGetOrders gdaGetType gdaGetTypes gdaGetVarInfo gdaIsCplx gdaLoad gdaPack gdaRead gdaReadByIndex gdaReadSome gdaReadSparse gdaReadStruct gdaReportVarInfo gdaSave gdaUpdate gdaUpdateAndPack gdaVars gdaWrite gdaWrite32 gdaWriteSome getarray getdims getf getGAUSShome getmatrix getmatrix4D getname getnamef getNextTradingDay getNextWeekDay getnr getorders getpath getPreviousTradingDay getPreviousWeekDay getRow getscalar3D getscalar4D getTrRow getwind glm gradcplx gradMT gradMTm gradMTT gradMTTm gradp graphprt graphset hasimag header headermt hess hessMT hessMTg hessMTgw hessMTm hessMTmw hessMTT hessMTTg hessMTTgw hessMTTm hessMTw hessp hist histf histp hsec imag indcv indexcat indices indices2 indicesf indicesfn indnv indsav integrate1d integrateControlCreate intgrat2 intgrat3 inthp1 inthp2 inthp3 inthp4 inthpControlCreate intquad1 intquad2 intquad3 intrleav intrleavsa intrsect intsimp inv invpd invswp iscplx iscplxf isden isinfnanmiss ismiss key keyav keyw lag lag1 lagn lapEighb lapEighi lapEighvb lapEighvi lapgEig lapgEigh lapgEighv lapgEigv lapgSchur lapgSvdcst lapgSvds lapgSvdst lapSvdcusv lapSvds lapSvdusv ldlp ldlsol linSolve listwise ln lncdfbvn lncdfbvn2 lncdfmvn lncdfn lncdfn2 lncdfnc lnfact lngammacplx lnpdfmvn lnpdfmvt lnpdfn lnpdft loadd loadstruct loadwind loess loessmt loessmtControlCreate log loglog logx logy lower lowmat lowmat1 ltrisol lu lusol machEpsilon make makevars makewind margin matalloc matinit mattoarray maxbytes maxc maxindc maxv maxvec mbesselei mbesselei0 mbesselei1 mbesseli mbesseli0 mbesseli1 meanc median mergeby mergevar minc minindc minv miss missex missrv moment momentd movingave movingaveExpwgt movingaveWgt nextindex nextn nextnevn nextwind ntos null null1 numCombinations ols olsmt olsmtControlCreate olsqr olsqr2 olsqrmt ones optn optnevn orth outtyp pacf packedToSp packr parse pause pdfCauchy pdfChi pdfExp pdfGenPareto pdfHyperGeo pdfLaplace pdfLogistic pdfn pdfPoisson pdfRayleigh pdfWeibull pi pinv pinvmt plotAddArrow plotAddBar plotAddBox plotAddHist plotAddHistF plotAddHistP plotAddPolar plotAddScatter plotAddShape plotAddTextbox plotAddTS plotAddXY plotArea plotBar plotBox plotClearLayout plotContour plotCustomLayout plotGetDefaults plotHist plotHistF plotHistP plotLayout plotLogLog plotLogX plotLogY plotOpenWindow plotPolar plotSave plotScatter plotSetAxesPen plotSetBar plotSetBarFill plotSetBarStacked plotSetBkdColor plotSetFill plotSetGrid plotSetLegend plotSetLineColor plotSetLineStyle plotSetLineSymbol plotSetLineThickness plotSetNewWindow plotSetTitle plotSetWhichYAxis plotSetXAxisShow plotSetXLabel plotSetXRange plotSetXTicInterval plotSetXTicLabel plotSetYAxisShow plotSetYLabel plotSetYRange plotSetZAxisShow plotSetZLabel plotSurface plotTS plotXY polar polychar polyeval polygamma polyint polymake polymat polymroot polymult polyroot pqgwin previousindex princomp printfm printfmt prodc psi putarray putf putvals pvCreate pvGetIndex pvGetParNames pvGetParVector pvLength pvList pvPack pvPacki pvPackm pvPackmi pvPacks pvPacksi pvPacksm pvPacksmi pvPutParVector pvTest pvUnpack QNewton QNewtonmt QNewtonmtControlCreate QNewtonmtOutCreate QNewtonSet QProg QProgmt QProgmtInCreate qqr qqre qqrep qr qre qrep qrsol qrtsol qtyr qtyre qtyrep quantile quantiled qyr qyre qyrep qz rank rankindx readr real reclassify reclassifyCuts recode recserar recsercp recserrc rerun rescale reshape rets rev rfft rffti rfftip rfftn rfftnp rfftp rndBernoulli rndBeta rndBinomial rndCauchy rndChiSquare rndCon rndCreateState rndExp rndGamma rndGeo rndGumbel rndHyperGeo rndi rndKMbeta rndKMgam rndKMi rndKMn rndKMnb rndKMp rndKMu rndKMvm rndLaplace rndLCbeta rndLCgam rndLCi rndLCn rndLCnb rndLCp rndLCu rndLCvm rndLogNorm rndMTu rndMVn rndMVt rndn rndnb rndNegBinomial rndp rndPoisson rndRayleigh rndStateSkip rndu rndvm rndWeibull rndWishart rotater round rows rowsf rref sampleData satostrC saved saveStruct savewind scale scale3d scalerr scalinfnanmiss scalmiss schtoc schur searchsourcepath seekr select selif seqa seqm setdif setdifsa setvars setvwrmode setwind shell shiftr sin singleindex sinh sleep solpd sortc sortcc sortd sorthc sorthcc sortind sortindc sortmc sortr sortrc spBiconjGradSol spChol spConjGradSol spCreate spDenseSubmat spDiagRvMat spEigv spEye spLDL spline spLU spNumNZE spOnes spreadSheetReadM spreadSheetReadSA spreadSheetWrite spScale spSubmat spToDense spTrTDense spTScalar spZeros sqpSolve sqpSolveMT sqpSolveMTControlCreate sqpSolveMTlagrangeCreate sqpSolveMToutCreate sqpSolveSet sqrt statements stdc stdsc stocv stof strcombine strindx strlen strput strrindx strsect strsplit strsplitPad strtodt strtof strtofcplx strtriml strtrimr strtrunc strtruncl strtruncpad strtruncr submat subscat substute subvec sumc sumr surface svd svd1 svd2 svdcusv svds svdusv sysstate tab tan tanh tempname time timedt timestr timeutc title tkf2eps tkf2ps tocart todaydt toeplitz token topolar trapchk trigamma trimr trunc type typecv typef union unionsa uniqindx uniqindxsa unique uniquesa upmat upmat1 upper utctodt utctodtv utrisol vals varCovMS varCovXS varget vargetl varmall varmares varput varputl vartypef vcm vcms vcx vcxs vec vech vecr vector vget view viewxyz vlist vnamecv volume vput vread vtypecv wait waitc walkindex where window writer xlabel xlsGetSheetCount xlsGetSheetSize xlsGetSheetTypes xlsMakeRange xlsReadM xlsReadSA xlsWrite xlsWriteM xlsWriteSA xpnd xtics xy xyz ylabel ytics zeros zeta zlabel ztics cdfEmpirical dot h5create h5open h5read h5readAttribute h5write h5writeAttribute ldl plotAddErrorBar plotAddSurface plotCDFEmpirical plotSetColormap plotSetContourLabels plotSetLegendFont plotSetTextInterpreter plotSetXTicCount plotSetYTicCount plotSetZLevels powerm strjoin sylvester strtrim",literal:"DB_AFTER_LAST_ROW DB_ALL_TABLES DB_BATCH_OPERATIONS DB_BEFORE_FIRST_ROW DB_BLOB DB_EVENT_NOTIFICATIONS DB_FINISH_QUERY DB_HIGH_PRECISION DB_LAST_INSERT_ID DB_LOW_PRECISION_DOUBLE DB_LOW_PRECISION_INT32 DB_LOW_PRECISION_INT64 DB_LOW_PRECISION_NUMBERS DB_MULTIPLE_RESULT_SETS DB_NAMED_PLACEHOLDERS DB_POSITIONAL_PLACEHOLDERS DB_PREPARED_QUERIES DB_QUERY_SIZE DB_SIMPLE_LOCKING DB_SYSTEM_TABLES DB_TABLES DB_TRANSACTIONS DB_UNICODE DB_VIEWS __STDIN __STDOUT __STDERR __FILE_DIR"},n=e.COMMENT("@","@"),r={className:"meta",begin:"#",end:"$",keywords:{keyword:"define definecs|10 undef ifdef ifndef iflight ifdllcall ifmac ifos2win ifunix else endif lineson linesoff srcfile srcline"},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",end:"$",keywords:{keyword:"include"},contains:[{className:"string",begin:'"',end:'"',illegal:"\\n"}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n]},i={begin:/\bstruct\s+/,end:/\s/,keywords:"struct",contains:[{className:"type",begin:e.UNDERSCORE_IDENT_RE,relevance:0}]},a=[{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,endsWithParent:!0,relevance:0,contains:[{ +// dots +className:"literal",begin:/\.\.\./},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,i]}],o={className:"title",begin:e.UNDERSCORE_IDENT_RE,relevance:0},s=function(t,r,i){const s=e.inherit({className:"function",beginKeywords:t,end:r,excludeEnd:!0,contains:[].concat(a)},{});return s.contains.push(o),s.contains.push(e.C_NUMBER_MODE),s.contains.push(e.C_BLOCK_COMMENT_MODE),s.contains.push(n),s},l={ +// these are explicitly named internal function calls +className:"built_in",begin:"\\b("+t.built_in.split(" ").join("|")+")\\b"},c={className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE],relevance:0},u={ +// className: "fn_ref", +begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,keywords:t,relevance:0,contains:[{beginKeywords:t.keyword},l,{ +// ambiguously named function calls get a relevance of 0 +className:"built_in",begin:e.UNDERSCORE_IDENT_RE,relevance:0}]},d={ +// className: "fn_ref_params", +begin:/\(/,end:/\)/,relevance:0,keywords:{built_in:t.built_in,literal:t.literal},contains:[e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,l,u,c,"self"]};return u.contains.push(d),{name:"GAUSS",aliases:["gss"],case_insensitive:!0, +// language is case-insensitive +keywords:t,illegal:/(\{[%#]|[%#]\}| <- )/,contains:[e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n,c,r,{className:"keyword",begin:/\bexternal (matrix|string|array|sparse matrix|struct|proc|keyword|fn)/},s("proc keyword",";"),s("fn","="),{beginKeywords:"for threadfor",end:/;/, +// end: /\(/, +relevance:0,contains:[e.C_BLOCK_COMMENT_MODE,n,d]},{ +// custom method guard +// excludes method names from keyword processing +variants:[{begin:e.UNDERSCORE_IDENT_RE+"\\."+e.UNDERSCORE_IDENT_RE},{begin:e.UNDERSCORE_IDENT_RE+"\\s*="}],relevance:0},u,i]}}}function sh(){if(io)return ro;return io=1,ro=function(e){const t=e.regex,n=/\b/;function r(e,t){if(0===e.index)return;const n=e.input[e.index-1];n>="0"&&n<="9"||"_"!==n&&t.ignoreMatch()}const i=/[+-]?((\.\d+)|(\d+)(\.\d*)?)/,a=/[GM]\s*\d+(\.\d+)?/,o=/T\s*\d+/,s=/O\s*\d+/,l=/O<.+>/,c=/[ABCUVWXYZ]\s*/,u=/[FHIJKPQRS]\s*/;return{name:"G-code (ISO 6983)",aliases:["nc"], +// Some implementations (CNC controls) of G-code are interoperable with uppercase and lowercase letters seamlessly. +// However, most prefer all uppercase and uppercase is customary. +case_insensitive:!0, +// TODO: post v12 with the use of look-behind this can be enabled +disableAutodetect:!0,keywords:{$pattern:/[A-Z]+|%/,keyword:[ +// conditions +"THEN","ELSE","ENDIF","IF", +// controls +"GOTO","DO","WHILE","WH","END","CALL", +// scoping +"SUB","ENDSUB", +// comparisons +"EQ","NE","LT","GT","LE","GE","AND","OR","XOR", +// start/end of program +"%"],built_in:["ATAN","ABS","ACOS","ASIN","COS","EXP","FIX","FUP","ROUND","LN","SIN","SQRT","TAN","EXISTS"]},contains:[ +// comments +e.COMMENT(/\(/,/\)/),e.COMMENT(/;/,/$/),e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE, +// gcodes +{scope:"title.function",variants:[ +// G General functions: G0, G5.1, G5.2, … +// M Misc functions: M0, M55.6, M199, … +{match:t.concat(n,a)},{begin:a,"on:begin":r}, +// T Tools +{match:t.concat(n,o)},{begin:o,"on:begin":r}]},{scope:"symbol",variants:[ +// O Subroutine ID: O100, O110, … +{match:t.concat(n,s)},{begin:s,"on:begin":r}, +// O Subroutine name: O<some>, … +{match:t.concat(n,l)},{begin:l,"on:begin":r}, +// Checksum at end of line: *71, *199, … +{match:/\*\s*\d+\s*$/}]},{scope:"operator", +// N Line number: N1, N2, N1020, … +match:/^N\s*\d+/},{scope:"variable",match:/-?#\s*\d+/},{scope:"property", +// Physical axes, +variants:[{match:t.concat(n,c,i)},{begin:t.concat(c,i),"on:begin":r}]},{scope:"params", +// Different types of parameters +variants:[{match:t.concat(n,u,i)},{begin:t.concat(u,i),"on:begin":r}]}]}}}function lh(){if(oo)return ao;return oo=1,ao=function(e){return{name:"Gherkin",aliases:["feature"],keywords:"Feature Background Ability Business Need Scenario Scenarios Scenario Outline Scenario Template Examples Given And Then But When",contains:[{className:"symbol",begin:"\\*",relevance:0},{className:"meta",begin:"@[^@\\s]+"},{begin:"\\|",end:"\\|\\w*$",contains:[{className:"string",begin:"[^|]+"}]},{className:"variable",begin:"<",end:">"},e.HASH_COMMENT_MODE,{className:"string",begin:'"""',end:'"""'},e.QUOTE_STRING_MODE]}}}function ch(){if(lo)return so;return lo=1,so=function(e){return{name:"GLSL",keywords:{keyword: +// Statements +"break continue discard do else for if return while switch case default attribute binding buffer ccw centroid centroid varying coherent column_major const cw depth_any depth_greater depth_less depth_unchanged early_fragment_tests equal_spacing flat fractional_even_spacing fractional_odd_spacing highp in index inout invariant invocations isolines layout line_strip lines lines_adjacency local_size_x local_size_y local_size_z location lowp max_vertices mediump noperspective offset origin_upper_left out packed patch pixel_center_integer point_mode points precise precision quads r11f_g11f_b10f r16 r16_snorm r16f r16i r16ui r32f r32i r32ui r8 r8_snorm r8i r8ui readonly restrict rg16 rg16_snorm rg16f rg16i rg16ui rg32f rg32i rg32ui rg8 rg8_snorm rg8i rg8ui rgb10_a2 rgb10_a2ui rgba16 rgba16_snorm rgba16f rgba16i rgba16ui rgba32f rgba32i rgba32ui rgba8 rgba8_snorm rgba8i rgba8ui row_major sample shared smooth std140 std430 stream triangle_strip triangles triangles_adjacency uniform varying vertices volatile writeonly",type:"atomic_uint bool bvec2 bvec3 bvec4 dmat2 dmat2x2 dmat2x3 dmat2x4 dmat3 dmat3x2 dmat3x3 dmat3x4 dmat4 dmat4x2 dmat4x3 dmat4x4 double dvec2 dvec3 dvec4 float iimage1D iimage1DArray iimage2D iimage2DArray iimage2DMS iimage2DMSArray iimage2DRect iimage3D iimageBuffer iimageCube iimageCubeArray image1D image1DArray image2D image2DArray image2DMS image2DMSArray image2DRect image3D imageBuffer imageCube imageCubeArray int isampler1D isampler1DArray isampler2D isampler2DArray isampler2DMS isampler2DMSArray isampler2DRect isampler3D isamplerBuffer isamplerCube isamplerCubeArray ivec2 ivec3 ivec4 mat2 mat2x2 mat2x3 mat2x4 mat3 mat3x2 mat3x3 mat3x4 mat4 mat4x2 mat4x3 mat4x4 sampler1D sampler1DArray sampler1DArrayShadow sampler1DShadow sampler2D sampler2DArray sampler2DArrayShadow sampler2DMS sampler2DMSArray sampler2DRect sampler2DRectShadow sampler2DShadow sampler3D samplerBuffer samplerCube samplerCubeArray samplerCubeArrayShadow samplerCubeShadow image1D uimage1DArray uimage2D uimage2DArray uimage2DMS uimage2DMSArray uimage2DRect uimage3D uimageBuffer uimageCube uimageCubeArray uint usampler1D usampler1DArray usampler2D usampler2DArray usampler2DMS usampler2DMSArray usampler2DRect usampler3D samplerBuffer usamplerCube usamplerCubeArray uvec2 uvec3 uvec4 vec2 vec3 vec4 void",built_in: +// Constants +"gl_MaxAtomicCounterBindings gl_MaxAtomicCounterBufferSize gl_MaxClipDistances gl_MaxClipPlanes gl_MaxCombinedAtomicCounterBuffers gl_MaxCombinedAtomicCounters gl_MaxCombinedImageUniforms gl_MaxCombinedImageUnitsAndFragmentOutputs gl_MaxCombinedTextureImageUnits gl_MaxComputeAtomicCounterBuffers gl_MaxComputeAtomicCounters gl_MaxComputeImageUniforms gl_MaxComputeTextureImageUnits gl_MaxComputeUniformComponents gl_MaxComputeWorkGroupCount gl_MaxComputeWorkGroupSize gl_MaxDrawBuffers gl_MaxFragmentAtomicCounterBuffers gl_MaxFragmentAtomicCounters gl_MaxFragmentImageUniforms gl_MaxFragmentInputComponents gl_MaxFragmentInputVectors gl_MaxFragmentUniformComponents gl_MaxFragmentUniformVectors gl_MaxGeometryAtomicCounterBuffers gl_MaxGeometryAtomicCounters gl_MaxGeometryImageUniforms gl_MaxGeometryInputComponents gl_MaxGeometryOutputComponents gl_MaxGeometryOutputVertices gl_MaxGeometryTextureImageUnits gl_MaxGeometryTotalOutputComponents gl_MaxGeometryUniformComponents gl_MaxGeometryVaryingComponents gl_MaxImageSamples gl_MaxImageUnits gl_MaxLights gl_MaxPatchVertices gl_MaxProgramTexelOffset gl_MaxTessControlAtomicCounterBuffers gl_MaxTessControlAtomicCounters gl_MaxTessControlImageUniforms gl_MaxTessControlInputComponents gl_MaxTessControlOutputComponents gl_MaxTessControlTextureImageUnits gl_MaxTessControlTotalOutputComponents gl_MaxTessControlUniformComponents gl_MaxTessEvaluationAtomicCounterBuffers gl_MaxTessEvaluationAtomicCounters gl_MaxTessEvaluationImageUniforms gl_MaxTessEvaluationInputComponents gl_MaxTessEvaluationOutputComponents gl_MaxTessEvaluationTextureImageUnits gl_MaxTessEvaluationUniformComponents gl_MaxTessGenLevel gl_MaxTessPatchComponents gl_MaxTextureCoords gl_MaxTextureImageUnits gl_MaxTextureUnits gl_MaxVaryingComponents gl_MaxVaryingFloats gl_MaxVaryingVectors gl_MaxVertexAtomicCounterBuffers gl_MaxVertexAtomicCounters gl_MaxVertexAttribs gl_MaxVertexImageUniforms gl_MaxVertexOutputComponents gl_MaxVertexOutputVectors gl_MaxVertexTextureImageUnits gl_MaxVertexUniformComponents gl_MaxVertexUniformVectors gl_MaxViewports gl_MinProgramTexelOffset gl_BackColor gl_BackLightModelProduct gl_BackLightProduct gl_BackMaterial gl_BackSecondaryColor gl_ClipDistance gl_ClipPlane gl_ClipVertex gl_Color gl_DepthRange gl_EyePlaneQ gl_EyePlaneR gl_EyePlaneS gl_EyePlaneT gl_Fog gl_FogCoord gl_FogFragCoord gl_FragColor gl_FragCoord gl_FragData gl_FragDepth gl_FrontColor gl_FrontFacing gl_FrontLightModelProduct gl_FrontLightProduct gl_FrontMaterial gl_FrontSecondaryColor gl_GlobalInvocationID gl_InstanceID gl_InvocationID gl_Layer gl_LightModel gl_LightSource gl_LocalInvocationID gl_LocalInvocationIndex gl_ModelViewMatrix gl_ModelViewMatrixInverse gl_ModelViewMatrixInverseTranspose gl_ModelViewMatrixTranspose gl_ModelViewProjectionMatrix gl_ModelViewProjectionMatrixInverse gl_ModelViewProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixTranspose gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_Normal gl_NormalMatrix gl_NormalScale gl_NumSamples gl_NumWorkGroups gl_ObjectPlaneQ gl_ObjectPlaneR gl_ObjectPlaneS gl_ObjectPlaneT gl_PatchVerticesIn gl_Point gl_PointCoord gl_PointSize gl_Position gl_PrimitiveID gl_PrimitiveIDIn gl_ProjectionMatrix gl_ProjectionMatrixInverse gl_ProjectionMatrixInverseTranspose gl_ProjectionMatrixTranspose gl_SampleID gl_SampleMask gl_SampleMaskIn gl_SamplePosition gl_SecondaryColor gl_TessCoord gl_TessLevelInner gl_TessLevelOuter gl_TexCoord gl_TextureEnvColor gl_TextureMatrix gl_TextureMatrixInverse gl_TextureMatrixInverseTranspose gl_TextureMatrixTranspose gl_Vertex gl_VertexID gl_ViewportIndex gl_WorkGroupID gl_WorkGroupSize gl_in gl_out EmitStreamVertex EmitVertex EndPrimitive EndStreamPrimitive abs acos acosh all any asin asinh atan atanh atomicAdd atomicAnd atomicCompSwap atomicCounter atomicCounterDecrement atomicCounterIncrement atomicExchange atomicMax atomicMin atomicOr atomicXor barrier bitCount bitfieldExtract bitfieldInsert bitfieldReverse ceil clamp cos cosh cross dFdx dFdy degrees determinant distance dot equal exp exp2 faceforward findLSB findMSB floatBitsToInt floatBitsToUint floor fma fract frexp ftransform fwidth greaterThan greaterThanEqual groupMemoryBarrier imageAtomicAdd imageAtomicAnd imageAtomicCompSwap imageAtomicExchange imageAtomicMax imageAtomicMin imageAtomicOr imageAtomicXor imageLoad imageSize imageStore imulExtended intBitsToFloat interpolateAtCentroid interpolateAtOffset interpolateAtSample inverse inversesqrt isinf isnan ldexp length lessThan lessThanEqual log log2 matrixCompMult max memoryBarrier memoryBarrierAtomicCounter memoryBarrierBuffer memoryBarrierImage memoryBarrierShared min mix mod modf noise1 noise2 noise3 noise4 normalize not notEqual outerProduct packDouble2x32 packHalf2x16 packSnorm2x16 packSnorm4x8 packUnorm2x16 packUnorm4x8 pow radians reflect refract round roundEven shadow1D shadow1DLod shadow1DProj shadow1DProjLod shadow2D shadow2DLod shadow2DProj shadow2DProjLod sign sin sinh smoothstep sqrt step tan tanh texelFetch texelFetchOffset texture texture1D texture1DLod texture1DProj texture1DProjLod texture2D texture2DLod texture2DProj texture2DProjLod texture3D texture3DLod texture3DProj texture3DProjLod textureCube textureCubeLod textureGather textureGatherOffset textureGatherOffsets textureGrad textureGradOffset textureLod textureLodOffset textureOffset textureProj textureProjGrad textureProjGradOffset textureProjLod textureProjLodOffset textureProjOffset textureQueryLevels textureQueryLod textureSize transpose trunc uaddCarry uintBitsToFloat umulExtended unpackDouble2x32 unpackHalf2x16 unpackSnorm2x16 unpackSnorm4x8 unpackUnorm2x16 unpackUnorm4x8 usubBorrow",literal:"true false"},illegal:'"',contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"}]}}}function uh(){if(uo)return co;return uo=1,co=function(e){return{name:"GML",case_insensitive:!1, +// language is case-insensitive +keywords:{keyword:["#endregion","#macro","#region","and","begin","break","case","constructor","continue","default","delete","div","do","else","end","enum","exit","for","function","globalvar","if","mod","new","not","or","repeat","return","static","switch","then","until","var","while","with","xor"],built_in:["abs","alarm_get","alarm_set","angle_difference","animcurve_channel_evaluate","animcurve_channel_new","animcurve_create","animcurve_destroy","animcurve_exists","animcurve_get","animcurve_get_channel","animcurve_get_channel_index","animcurve_point_new","ansi_char","application_get_position","application_surface_draw_enable","application_surface_enable","application_surface_is_enabled","arccos","arcsin","arctan","arctan2","array_all","array_any","array_concat","array_contains","array_contains_ext","array_copy","array_copy_while","array_create","array_create_ext","array_delete","array_equals","array_filter","array_filter_ext","array_find_index","array_first","array_foreach","array_get","array_get_index","array_insert","array_intersection","array_last","array_length","array_map","array_map_ext","array_pop","array_push","array_reduce","array_resize","array_reverse","array_reverse_ext","array_set","array_shuffle","array_shuffle_ext","array_sort","array_union","array_unique","array_unique_ext","asset_add_tags","asset_clear_tags","asset_get_ids","asset_get_index","asset_get_tags","asset_get_type","asset_has_any_tag","asset_has_tags","asset_remove_tags","audio_bus_clear_emitters","audio_bus_create","audio_bus_get_emitters","audio_channel_num","audio_create_buffer_sound","audio_create_play_queue","audio_create_stream","audio_create_sync_group","audio_debug","audio_destroy_stream","audio_destroy_sync_group","audio_effect_create","audio_emitter_bus","audio_emitter_create","audio_emitter_exists","audio_emitter_falloff","audio_emitter_free","audio_emitter_gain","audio_emitter_get_bus","audio_emitter_get_gain","audio_emitter_get_listener_mask","audio_emitter_get_pitch","audio_emitter_get_vx","audio_emitter_get_vy","audio_emitter_get_vz","audio_emitter_get_x","audio_emitter_get_y","audio_emitter_get_z","audio_emitter_pitch","audio_emitter_position","audio_emitter_set_listener_mask","audio_emitter_velocity","audio_exists","audio_falloff_set_model","audio_free_buffer_sound","audio_free_play_queue","audio_get_listener_count","audio_get_listener_info","audio_get_listener_mask","audio_get_master_gain","audio_get_name","audio_get_recorder_count","audio_get_recorder_info","audio_get_type","audio_group_get_assets","audio_group_get_gain","audio_group_is_loaded","audio_group_load","audio_group_load_progress","audio_group_name","audio_group_set_gain","audio_group_stop_all","audio_group_unload","audio_is_paused","audio_is_playing","audio_listener_get_data","audio_listener_orientation","audio_listener_position","audio_listener_set_orientation","audio_listener_set_position","audio_listener_set_velocity","audio_listener_velocity","audio_master_gain","audio_pause_all","audio_pause_sound","audio_pause_sync_group","audio_play_in_sync_group","audio_play_sound","audio_play_sound_at","audio_play_sound_ext","audio_play_sound_on","audio_queue_sound","audio_resume_all","audio_resume_sound","audio_resume_sync_group","audio_set_listener_mask","audio_set_master_gain","audio_sound_gain","audio_sound_get_audio_group","audio_sound_get_gain","audio_sound_get_listener_mask","audio_sound_get_loop","audio_sound_get_loop_end","audio_sound_get_loop_start","audio_sound_get_pitch","audio_sound_get_track_position","audio_sound_is_playable","audio_sound_length","audio_sound_loop","audio_sound_loop_end","audio_sound_loop_start","audio_sound_pitch","audio_sound_set_listener_mask","audio_sound_set_track_position","audio_start_recording","audio_start_sync_group","audio_stop_all","audio_stop_recording","audio_stop_sound","audio_stop_sync_group","audio_sync_group_debug","audio_sync_group_get_track_pos","audio_sync_group_is_paused","audio_sync_group_is_playing","audio_system_is_available","audio_system_is_initialised","base64_decode","base64_encode","bool","browser_input_capture","buffer_async_group_begin","buffer_async_group_end","buffer_async_group_option","buffer_base64_decode","buffer_base64_decode_ext","buffer_base64_encode","buffer_compress","buffer_copy","buffer_copy_from_vertex_buffer","buffer_copy_stride","buffer_crc32","buffer_create","buffer_create_from_vertex_buffer","buffer_create_from_vertex_buffer_ext","buffer_decompress","buffer_delete","buffer_exists","buffer_fill","buffer_get_address","buffer_get_alignment","buffer_get_size","buffer_get_surface","buffer_get_type","buffer_load","buffer_load_async","buffer_load_ext","buffer_load_partial","buffer_md5","buffer_peek","buffer_poke","buffer_read","buffer_resize","buffer_save","buffer_save_async","buffer_save_ext","buffer_seek","buffer_set_surface","buffer_set_used_size","buffer_sha1","buffer_sizeof","buffer_tell","buffer_write","call_cancel","call_later","camera_apply","camera_copy_transforms","camera_create","camera_create_view","camera_destroy","camera_get_active","camera_get_begin_script","camera_get_default","camera_get_end_script","camera_get_proj_mat","camera_get_update_script","camera_get_view_angle","camera_get_view_border_x","camera_get_view_border_y","camera_get_view_height","camera_get_view_mat","camera_get_view_speed_x","camera_get_view_speed_y","camera_get_view_target","camera_get_view_width","camera_get_view_x","camera_get_view_y","camera_set_begin_script","camera_set_default","camera_set_end_script","camera_set_proj_mat","camera_set_update_script","camera_set_view_angle","camera_set_view_border","camera_set_view_mat","camera_set_view_pos","camera_set_view_size","camera_set_view_speed","camera_set_view_target","ceil","choose","chr","clamp","clickable_add","clickable_add_ext","clickable_change","clickable_change_ext","clickable_delete","clickable_exists","clickable_set_style","clipboard_get_text","clipboard_has_text","clipboard_set_text","cloud_file_save","cloud_string_save","cloud_synchronise","code_is_compiled","collision_circle","collision_circle_list","collision_ellipse","collision_ellipse_list","collision_line","collision_line_list","collision_point","collision_point_list","collision_rectangle","collision_rectangle_list","color_get_blue","color_get_green","color_get_hue","color_get_red","color_get_saturation","color_get_value","colour_get_blue","colour_get_green","colour_get_hue","colour_get_red","colour_get_saturation","colour_get_value","cos","darccos","darcsin","darctan","darctan2","date_compare_date","date_compare_datetime","date_compare_time","date_create_datetime","date_current_datetime","date_date_of","date_date_string","date_datetime_string","date_day_span","date_days_in_month","date_days_in_year","date_get_day","date_get_day_of_year","date_get_hour","date_get_hour_of_year","date_get_minute","date_get_minute_of_year","date_get_month","date_get_second","date_get_second_of_year","date_get_timezone","date_get_week","date_get_weekday","date_get_year","date_hour_span","date_inc_day","date_inc_hour","date_inc_minute","date_inc_month","date_inc_second","date_inc_week","date_inc_year","date_is_today","date_leap_year","date_minute_span","date_month_span","date_second_span","date_set_timezone","date_time_of","date_time_string","date_valid_datetime","date_week_span","date_year_span","db_to_lin","dbg_add_font_glyphs","dbg_button","dbg_checkbox","dbg_color","dbg_colour","dbg_drop_down","dbg_same_line","dbg_section","dbg_section_delete","dbg_section_exists","dbg_slider","dbg_slider_int","dbg_sprite","dbg_text","dbg_text_input","dbg_view","dbg_view_delete","dbg_view_exists","dbg_watch","dcos","debug_event","debug_get_callstack","degtorad","device_get_tilt_x","device_get_tilt_y","device_get_tilt_z","device_is_keypad_open","device_mouse_check_button","device_mouse_check_button_pressed","device_mouse_check_button_released","device_mouse_dbclick_enable","device_mouse_raw_x","device_mouse_raw_y","device_mouse_x","device_mouse_x_to_gui","device_mouse_y","device_mouse_y_to_gui","directory_create","directory_destroy","directory_exists","display_get_dpi_x","display_get_dpi_y","display_get_frequency","display_get_gui_height","display_get_gui_width","display_get_height","display_get_orientation","display_get_sleep_margin","display_get_timing_method","display_get_width","display_mouse_get_x","display_mouse_get_y","display_mouse_set","display_reset","display_set_gui_maximise","display_set_gui_maximize","display_set_gui_size","display_set_sleep_margin","display_set_timing_method","display_set_ui_visibility","distance_to_object","distance_to_point","dot_product","dot_product_3d","dot_product_3d_normalised","dot_product_3d_normalized","dot_product_normalised","dot_product_normalized","draw_arrow","draw_button","draw_circle","draw_circle_color","draw_circle_colour","draw_clear","draw_clear_alpha","draw_ellipse","draw_ellipse_color","draw_ellipse_colour","draw_enable_drawevent","draw_enable_skeleton_blendmodes","draw_enable_swf_aa","draw_flush","draw_get_alpha","draw_get_color","draw_get_colour","draw_get_enable_skeleton_blendmodes","draw_get_font","draw_get_halign","draw_get_lighting","draw_get_swf_aa_level","draw_get_valign","draw_getpixel","draw_getpixel_ext","draw_healthbar","draw_highscore","draw_light_define_ambient","draw_light_define_direction","draw_light_define_point","draw_light_enable","draw_light_get","draw_light_get_ambient","draw_line","draw_line_color","draw_line_colour","draw_line_width","draw_line_width_color","draw_line_width_colour","draw_path","draw_point","draw_point_color","draw_point_colour","draw_primitive_begin","draw_primitive_begin_texture","draw_primitive_end","draw_rectangle","draw_rectangle_color","draw_rectangle_colour","draw_roundrect","draw_roundrect_color","draw_roundrect_color_ext","draw_roundrect_colour","draw_roundrect_colour_ext","draw_roundrect_ext","draw_self","draw_set_alpha","draw_set_circle_precision","draw_set_color","draw_set_colour","draw_set_font","draw_set_halign","draw_set_lighting","draw_set_swf_aa_level","draw_set_valign","draw_skeleton","draw_skeleton_collision","draw_skeleton_instance","draw_skeleton_time","draw_sprite","draw_sprite_ext","draw_sprite_general","draw_sprite_part","draw_sprite_part_ext","draw_sprite_pos","draw_sprite_stretched","draw_sprite_stretched_ext","draw_sprite_tiled","draw_sprite_tiled_ext","draw_surface","draw_surface_ext","draw_surface_general","draw_surface_part","draw_surface_part_ext","draw_surface_stretched","draw_surface_stretched_ext","draw_surface_tiled","draw_surface_tiled_ext","draw_text","draw_text_color","draw_text_colour","draw_text_ext","draw_text_ext_color","draw_text_ext_colour","draw_text_ext_transformed","draw_text_ext_transformed_color","draw_text_ext_transformed_colour","draw_text_transformed","draw_text_transformed_color","draw_text_transformed_colour","draw_texture_flush","draw_tile","draw_tilemap","draw_triangle","draw_triangle_color","draw_triangle_colour","draw_vertex","draw_vertex_color","draw_vertex_colour","draw_vertex_texture","draw_vertex_texture_color","draw_vertex_texture_colour","ds_exists","ds_grid_add","ds_grid_add_disk","ds_grid_add_grid_region","ds_grid_add_region","ds_grid_clear","ds_grid_copy","ds_grid_create","ds_grid_destroy","ds_grid_get","ds_grid_get_disk_max","ds_grid_get_disk_mean","ds_grid_get_disk_min","ds_grid_get_disk_sum","ds_grid_get_max","ds_grid_get_mean","ds_grid_get_min","ds_grid_get_sum","ds_grid_height","ds_grid_multiply","ds_grid_multiply_disk","ds_grid_multiply_grid_region","ds_grid_multiply_region","ds_grid_read","ds_grid_resize","ds_grid_set","ds_grid_set_disk","ds_grid_set_grid_region","ds_grid_set_region","ds_grid_shuffle","ds_grid_sort","ds_grid_to_mp_grid","ds_grid_value_disk_exists","ds_grid_value_disk_x","ds_grid_value_disk_y","ds_grid_value_exists","ds_grid_value_x","ds_grid_value_y","ds_grid_width","ds_grid_write","ds_list_add","ds_list_clear","ds_list_copy","ds_list_create","ds_list_delete","ds_list_destroy","ds_list_empty","ds_list_find_index","ds_list_find_value","ds_list_insert","ds_list_is_list","ds_list_is_map","ds_list_mark_as_list","ds_list_mark_as_map","ds_list_read","ds_list_replace","ds_list_set","ds_list_shuffle","ds_list_size","ds_list_sort","ds_list_write","ds_map_add","ds_map_add_list","ds_map_add_map","ds_map_clear","ds_map_copy","ds_map_create","ds_map_delete","ds_map_destroy","ds_map_empty","ds_map_exists","ds_map_find_first","ds_map_find_last","ds_map_find_next","ds_map_find_previous","ds_map_find_value","ds_map_is_list","ds_map_is_map","ds_map_keys_to_array","ds_map_read","ds_map_replace","ds_map_replace_list","ds_map_replace_map","ds_map_secure_load","ds_map_secure_load_buffer","ds_map_secure_save","ds_map_secure_save_buffer","ds_map_set","ds_map_size","ds_map_values_to_array","ds_map_write","ds_priority_add","ds_priority_change_priority","ds_priority_clear","ds_priority_copy","ds_priority_create","ds_priority_delete_max","ds_priority_delete_min","ds_priority_delete_value","ds_priority_destroy","ds_priority_empty","ds_priority_find_max","ds_priority_find_min","ds_priority_find_priority","ds_priority_read","ds_priority_size","ds_priority_write","ds_queue_clear","ds_queue_copy","ds_queue_create","ds_queue_dequeue","ds_queue_destroy","ds_queue_empty","ds_queue_enqueue","ds_queue_head","ds_queue_read","ds_queue_size","ds_queue_tail","ds_queue_write","ds_set_precision","ds_stack_clear","ds_stack_copy","ds_stack_create","ds_stack_destroy","ds_stack_empty","ds_stack_pop","ds_stack_push","ds_stack_read","ds_stack_size","ds_stack_top","ds_stack_write","dsin","dtan","effect_clear","effect_create_above","effect_create_below","effect_create_depth","effect_create_layer","environment_get_variable","event_inherited","event_perform","event_perform_async","event_perform_object","event_user","exception_unhandled_handler","exp","extension_exists","extension_get_option_count","extension_get_option_names","extension_get_option_value","extension_get_options","extension_get_version","external_call","external_define","external_free","file_attributes","file_bin_close","file_bin_open","file_bin_position","file_bin_read_byte","file_bin_rewrite","file_bin_seek","file_bin_size","file_bin_write_byte","file_copy","file_delete","file_exists","file_find_close","file_find_first","file_find_next","file_rename","file_text_close","file_text_eof","file_text_eoln","file_text_open_append","file_text_open_from_string","file_text_open_read","file_text_open_write","file_text_read_real","file_text_read_string","file_text_readln","file_text_write_real","file_text_write_string","file_text_writeln","filename_change_ext","filename_dir","filename_drive","filename_ext","filename_name","filename_path","floor","font_add","font_add_enable_aa","font_add_get_enable_aa","font_add_sprite","font_add_sprite_ext","font_cache_glyph","font_delete","font_enable_effects","font_enable_sdf","font_exists","font_get_bold","font_get_first","font_get_fontname","font_get_info","font_get_italic","font_get_last","font_get_name","font_get_sdf_enabled","font_get_sdf_spread","font_get_size","font_get_texture","font_get_uvs","font_replace_sprite","font_replace_sprite_ext","font_sdf_spread","font_set_cache_size","frac","fx_create","fx_get_name","fx_get_parameter","fx_get_parameter_names","fx_get_parameters","fx_get_single_layer","fx_set_parameter","fx_set_parameters","fx_set_single_layer","game_change","game_end","game_get_speed","game_load","game_load_buffer","game_restart","game_save","game_save_buffer","game_set_speed","gamepad_axis_count","gamepad_axis_value","gamepad_button_check","gamepad_button_check_pressed","gamepad_button_check_released","gamepad_button_count","gamepad_button_value","gamepad_get_axis_deadzone","gamepad_get_button_threshold","gamepad_get_description","gamepad_get_device_count","gamepad_get_guid","gamepad_get_mapping","gamepad_get_option","gamepad_hat_count","gamepad_hat_value","gamepad_is_connected","gamepad_is_supported","gamepad_remove_mapping","gamepad_set_axis_deadzone","gamepad_set_button_threshold","gamepad_set_color","gamepad_set_colour","gamepad_set_option","gamepad_set_vibration","gamepad_test_mapping","gc_collect","gc_enable","gc_get_stats","gc_get_target_frame_time","gc_is_enabled","gc_target_frame_time","gesture_double_tap_distance","gesture_double_tap_time","gesture_drag_distance","gesture_drag_time","gesture_flick_speed","gesture_get_double_tap_distance","gesture_get_double_tap_time","gesture_get_drag_distance","gesture_get_drag_time","gesture_get_flick_speed","gesture_get_pinch_angle_away","gesture_get_pinch_angle_towards","gesture_get_pinch_distance","gesture_get_rotate_angle","gesture_get_rotate_time","gesture_get_tap_count","gesture_pinch_angle_away","gesture_pinch_angle_towards","gesture_pinch_distance","gesture_rotate_angle","gesture_rotate_time","gesture_tap_count","get_integer","get_integer_async","get_login_async","get_open_filename","get_open_filename_ext","get_save_filename","get_save_filename_ext","get_string","get_string_async","get_timer","gif_add_surface","gif_open","gif_save","gif_save_buffer","gml_pragma","gml_release_mode","gpu_get_alphatestenable","gpu_get_alphatestref","gpu_get_blendenable","gpu_get_blendmode","gpu_get_blendmode_dest","gpu_get_blendmode_destalpha","gpu_get_blendmode_ext","gpu_get_blendmode_ext_sepalpha","gpu_get_blendmode_src","gpu_get_blendmode_srcalpha","gpu_get_colorwriteenable","gpu_get_colourwriteenable","gpu_get_cullmode","gpu_get_depth","gpu_get_fog","gpu_get_state","gpu_get_tex_filter","gpu_get_tex_filter_ext","gpu_get_tex_max_aniso","gpu_get_tex_max_aniso_ext","gpu_get_tex_max_mip","gpu_get_tex_max_mip_ext","gpu_get_tex_min_mip","gpu_get_tex_min_mip_ext","gpu_get_tex_mip_bias","gpu_get_tex_mip_bias_ext","gpu_get_tex_mip_enable","gpu_get_tex_mip_enable_ext","gpu_get_tex_mip_filter","gpu_get_tex_mip_filter_ext","gpu_get_tex_repeat","gpu_get_tex_repeat_ext","gpu_get_texfilter","gpu_get_texfilter_ext","gpu_get_texrepeat","gpu_get_texrepeat_ext","gpu_get_zfunc","gpu_get_ztestenable","gpu_get_zwriteenable","gpu_pop_state","gpu_push_state","gpu_set_alphatestenable","gpu_set_alphatestref","gpu_set_blendenable","gpu_set_blendmode","gpu_set_blendmode_ext","gpu_set_blendmode_ext_sepalpha","gpu_set_colorwriteenable","gpu_set_colourwriteenable","gpu_set_cullmode","gpu_set_depth","gpu_set_fog","gpu_set_state","gpu_set_tex_filter","gpu_set_tex_filter_ext","gpu_set_tex_max_aniso","gpu_set_tex_max_aniso_ext","gpu_set_tex_max_mip","gpu_set_tex_max_mip_ext","gpu_set_tex_min_mip","gpu_set_tex_min_mip_ext","gpu_set_tex_mip_bias","gpu_set_tex_mip_bias_ext","gpu_set_tex_mip_enable","gpu_set_tex_mip_enable_ext","gpu_set_tex_mip_filter","gpu_set_tex_mip_filter_ext","gpu_set_tex_repeat","gpu_set_tex_repeat_ext","gpu_set_texfilter","gpu_set_texfilter_ext","gpu_set_texrepeat","gpu_set_texrepeat_ext","gpu_set_zfunc","gpu_set_ztestenable","gpu_set_zwriteenable","handle_parse","highscore_add","highscore_clear","highscore_name","highscore_value","http_get","http_get_file","http_get_request_crossorigin","http_post_string","http_request","http_set_request_crossorigin","iap_acquire","iap_activate","iap_consume","iap_enumerate_products","iap_product_details","iap_purchase_details","iap_restore_all","iap_status","ini_close","ini_key_delete","ini_key_exists","ini_open","ini_open_from_string","ini_read_real","ini_read_string","ini_section_delete","ini_section_exists","ini_write_real","ini_write_string","instance_activate_all","instance_activate_layer","instance_activate_object","instance_activate_region","instance_change","instance_copy","instance_create_depth","instance_create_layer","instance_deactivate_all","instance_deactivate_layer","instance_deactivate_object","instance_deactivate_region","instance_destroy","instance_exists","instance_find","instance_furthest","instance_id_get","instance_nearest","instance_number","instance_place","instance_place_list","instance_position","instance_position_list","instanceof","int64","io_clear","irandom","irandom_range","is_array","is_bool","is_callable","is_debug_overlay_open","is_handle","is_infinity","is_instanceof","is_int32","is_int64","is_keyboard_used_debug_overlay","is_method","is_mouse_over_debug_overlay","is_nan","is_numeric","is_ptr","is_real","is_string","is_struct","is_undefined","json_decode","json_encode","json_parse","json_stringify","keyboard_check","keyboard_check_direct","keyboard_check_pressed","keyboard_check_released","keyboard_clear","keyboard_get_map","keyboard_get_numlock","keyboard_key_press","keyboard_key_release","keyboard_set_map","keyboard_set_numlock","keyboard_unset_map","keyboard_virtual_height","keyboard_virtual_hide","keyboard_virtual_show","keyboard_virtual_status","layer_add_instance","layer_background_alpha","layer_background_blend","layer_background_change","layer_background_create","layer_background_destroy","layer_background_exists","layer_background_get_alpha","layer_background_get_blend","layer_background_get_htiled","layer_background_get_id","layer_background_get_index","layer_background_get_speed","layer_background_get_sprite","layer_background_get_stretch","layer_background_get_visible","layer_background_get_vtiled","layer_background_get_xscale","layer_background_get_yscale","layer_background_htiled","layer_background_index","layer_background_speed","layer_background_sprite","layer_background_stretch","layer_background_visible","layer_background_vtiled","layer_background_xscale","layer_background_yscale","layer_clear_fx","layer_create","layer_depth","layer_destroy","layer_destroy_instances","layer_element_move","layer_enable_fx","layer_exists","layer_force_draw_depth","layer_fx_is_enabled","layer_get_all","layer_get_all_elements","layer_get_depth","layer_get_element_layer","layer_get_element_type","layer_get_forced_depth","layer_get_fx","layer_get_hspeed","layer_get_id","layer_get_id_at_depth","layer_get_name","layer_get_script_begin","layer_get_script_end","layer_get_shader","layer_get_target_room","layer_get_visible","layer_get_vspeed","layer_get_x","layer_get_y","layer_has_instance","layer_hspeed","layer_instance_get_instance","layer_is_draw_depth_forced","layer_reset_target_room","layer_script_begin","layer_script_end","layer_sequence_angle","layer_sequence_create","layer_sequence_destroy","layer_sequence_exists","layer_sequence_get_angle","layer_sequence_get_headdir","layer_sequence_get_headpos","layer_sequence_get_instance","layer_sequence_get_length","layer_sequence_get_sequence","layer_sequence_get_speedscale","layer_sequence_get_x","layer_sequence_get_xscale","layer_sequence_get_y","layer_sequence_get_yscale","layer_sequence_headdir","layer_sequence_headpos","layer_sequence_is_finished","layer_sequence_is_paused","layer_sequence_pause","layer_sequence_play","layer_sequence_speedscale","layer_sequence_x","layer_sequence_xscale","layer_sequence_y","layer_sequence_yscale","layer_set_fx","layer_set_target_room","layer_set_visible","layer_shader","layer_sprite_alpha","layer_sprite_angle","layer_sprite_blend","layer_sprite_change","layer_sprite_create","layer_sprite_destroy","layer_sprite_exists","layer_sprite_get_alpha","layer_sprite_get_angle","layer_sprite_get_blend","layer_sprite_get_id","layer_sprite_get_index","layer_sprite_get_speed","layer_sprite_get_sprite","layer_sprite_get_x","layer_sprite_get_xscale","layer_sprite_get_y","layer_sprite_get_yscale","layer_sprite_index","layer_sprite_speed","layer_sprite_x","layer_sprite_xscale","layer_sprite_y","layer_sprite_yscale","layer_tile_alpha","layer_tile_blend","layer_tile_change","layer_tile_create","layer_tile_destroy","layer_tile_exists","layer_tile_get_alpha","layer_tile_get_blend","layer_tile_get_region","layer_tile_get_sprite","layer_tile_get_visible","layer_tile_get_x","layer_tile_get_xscale","layer_tile_get_y","layer_tile_get_yscale","layer_tile_region","layer_tile_visible","layer_tile_x","layer_tile_xscale","layer_tile_y","layer_tile_yscale","layer_tilemap_create","layer_tilemap_destroy","layer_tilemap_exists","layer_tilemap_get_id","layer_vspeed","layer_x","layer_y","lengthdir_x","lengthdir_y","lerp","lin_to_db","ln","load_csv","log10","log2","logn","make_color_hsv","make_color_rgb","make_colour_hsv","make_colour_rgb","math_get_epsilon","math_set_epsilon","matrix_build","matrix_build_identity","matrix_build_lookat","matrix_build_projection_ortho","matrix_build_projection_perspective","matrix_build_projection_perspective_fov","matrix_get","matrix_multiply","matrix_set","matrix_stack_clear","matrix_stack_is_empty","matrix_stack_pop","matrix_stack_push","matrix_stack_set","matrix_stack_top","matrix_transform_vertex","max","md5_file","md5_string_unicode","md5_string_utf8","mean","median","merge_color","merge_colour","method","method_call","method_get_index","method_get_self","min","motion_add","motion_set","mouse_check_button","mouse_check_button_pressed","mouse_check_button_released","mouse_clear","mouse_wheel_down","mouse_wheel_up","move_and_collide","move_bounce_all","move_bounce_solid","move_contact_all","move_contact_solid","move_outside_all","move_outside_solid","move_random","move_snap","move_towards_point","move_wrap","mp_grid_add_cell","mp_grid_add_instances","mp_grid_add_rectangle","mp_grid_clear_all","mp_grid_clear_cell","mp_grid_clear_rectangle","mp_grid_create","mp_grid_destroy","mp_grid_draw","mp_grid_get_cell","mp_grid_path","mp_grid_to_ds_grid","mp_linear_path","mp_linear_path_object","mp_linear_step","mp_linear_step_object","mp_potential_path","mp_potential_path_object","mp_potential_settings","mp_potential_step","mp_potential_step_object","nameof","network_connect","network_connect_async","network_connect_raw","network_connect_raw_async","network_create_server","network_create_server_raw","network_create_socket","network_create_socket_ext","network_destroy","network_resolve","network_send_broadcast","network_send_packet","network_send_raw","network_send_udp","network_send_udp_raw","network_set_config","network_set_timeout","object_exists","object_get_mask","object_get_name","object_get_parent","object_get_persistent","object_get_physics","object_get_solid","object_get_sprite","object_get_visible","object_is_ancestor","object_set_mask","object_set_persistent","object_set_solid","object_set_sprite","object_set_visible","ord","os_check_permission","os_get_config","os_get_info","os_get_language","os_get_region","os_is_network_connected","os_is_paused","os_lock_orientation","os_powersave_enable","os_request_permission","os_set_orientation_lock","parameter_count","parameter_string","part_emitter_burst","part_emitter_clear","part_emitter_create","part_emitter_delay","part_emitter_destroy","part_emitter_destroy_all","part_emitter_enable","part_emitter_exists","part_emitter_interval","part_emitter_region","part_emitter_relative","part_emitter_stream","part_particles_burst","part_particles_clear","part_particles_count","part_particles_create","part_particles_create_color","part_particles_create_colour","part_system_angle","part_system_automatic_draw","part_system_automatic_update","part_system_clear","part_system_color","part_system_colour","part_system_create","part_system_create_layer","part_system_depth","part_system_destroy","part_system_draw_order","part_system_drawit","part_system_exists","part_system_get_info","part_system_get_layer","part_system_global_space","part_system_layer","part_system_position","part_system_update","part_type_alpha1","part_type_alpha2","part_type_alpha3","part_type_blend","part_type_clear","part_type_color1","part_type_color2","part_type_color3","part_type_color_hsv","part_type_color_mix","part_type_color_rgb","part_type_colour1","part_type_colour2","part_type_colour3","part_type_colour_hsv","part_type_colour_mix","part_type_colour_rgb","part_type_create","part_type_death","part_type_destroy","part_type_direction","part_type_exists","part_type_gravity","part_type_life","part_type_orientation","part_type_scale","part_type_shape","part_type_size","part_type_size_x","part_type_size_y","part_type_speed","part_type_sprite","part_type_step","part_type_subimage","particle_exists","particle_get_info","path_add","path_add_point","path_append","path_assign","path_change_point","path_clear_points","path_delete","path_delete_point","path_duplicate","path_end","path_exists","path_flip","path_get_closed","path_get_kind","path_get_length","path_get_name","path_get_number","path_get_point_speed","path_get_point_x","path_get_point_y","path_get_precision","path_get_speed","path_get_x","path_get_y","path_insert_point","path_mirror","path_rescale","path_reverse","path_rotate","path_set_closed","path_set_kind","path_set_precision","path_shift","path_start","physics_apply_angular_impulse","physics_apply_force","physics_apply_impulse","physics_apply_local_force","physics_apply_local_impulse","physics_apply_torque","physics_draw_debug","physics_fixture_add_point","physics_fixture_bind","physics_fixture_bind_ext","physics_fixture_create","physics_fixture_delete","physics_fixture_set_angular_damping","physics_fixture_set_awake","physics_fixture_set_box_shape","physics_fixture_set_chain_shape","physics_fixture_set_circle_shape","physics_fixture_set_collision_group","physics_fixture_set_density","physics_fixture_set_edge_shape","physics_fixture_set_friction","physics_fixture_set_kinematic","physics_fixture_set_linear_damping","physics_fixture_set_polygon_shape","physics_fixture_set_restitution","physics_fixture_set_sensor","physics_get_density","physics_get_friction","physics_get_restitution","physics_joint_delete","physics_joint_distance_create","physics_joint_enable_motor","physics_joint_friction_create","physics_joint_gear_create","physics_joint_get_value","physics_joint_prismatic_create","physics_joint_pulley_create","physics_joint_revolute_create","physics_joint_rope_create","physics_joint_set_value","physics_joint_weld_create","physics_joint_wheel_create","physics_mass_properties","physics_particle_count","physics_particle_create","physics_particle_delete","physics_particle_delete_region_box","physics_particle_delete_region_circle","physics_particle_delete_region_poly","physics_particle_draw","physics_particle_draw_ext","physics_particle_get_damping","physics_particle_get_data","physics_particle_get_data_particle","physics_particle_get_density","physics_particle_get_gravity_scale","physics_particle_get_group_flags","physics_particle_get_max_count","physics_particle_get_radius","physics_particle_group_add_point","physics_particle_group_begin","physics_particle_group_box","physics_particle_group_circle","physics_particle_group_count","physics_particle_group_delete","physics_particle_group_end","physics_particle_group_get_ang_vel","physics_particle_group_get_angle","physics_particle_group_get_centre_x","physics_particle_group_get_centre_y","physics_particle_group_get_data","physics_particle_group_get_inertia","physics_particle_group_get_mass","physics_particle_group_get_vel_x","physics_particle_group_get_vel_y","physics_particle_group_get_x","physics_particle_group_get_y","physics_particle_group_join","physics_particle_group_polygon","physics_particle_set_category_flags","physics_particle_set_damping","physics_particle_set_density","physics_particle_set_flags","physics_particle_set_gravity_scale","physics_particle_set_group_flags","physics_particle_set_max_count","physics_particle_set_radius","physics_pause_enable","physics_remove_fixture","physics_set_density","physics_set_friction","physics_set_restitution","physics_test_overlap","physics_world_create","physics_world_draw_debug","physics_world_gravity","physics_world_update_iterations","physics_world_update_speed","place_empty","place_free","place_meeting","place_snapped","point_direction","point_distance","point_distance_3d","point_in_circle","point_in_rectangle","point_in_triangle","position_change","position_destroy","position_empty","position_meeting","power","ptr","radtodeg","random","random_get_seed","random_range","random_set_seed","randomise","randomize","real","rectangle_in_circle","rectangle_in_rectangle","rectangle_in_triangle","ref_create","rollback_chat","rollback_create_game","rollback_define_extra_network_latency","rollback_define_input","rollback_define_input_frame_delay","rollback_define_mock_input","rollback_define_player","rollback_display_events","rollback_get_info","rollback_get_input","rollback_get_player_prefs","rollback_join_game","rollback_leave_game","rollback_set_player_prefs","rollback_start_game","rollback_sync_on_frame","rollback_use_late_join","rollback_use_manual_start","rollback_use_player_prefs","rollback_use_random_input","room_add","room_assign","room_duplicate","room_exists","room_get_camera","room_get_info","room_get_name","room_get_viewport","room_goto","room_goto_next","room_goto_previous","room_instance_add","room_instance_clear","room_next","room_previous","room_restart","room_set_camera","room_set_height","room_set_persistent","room_set_view_enabled","room_set_viewport","room_set_width","round","scheduler_resolution_get","scheduler_resolution_set","screen_save","screen_save_part","script_execute","script_execute_ext","script_exists","script_get_name","sequence_create","sequence_destroy","sequence_exists","sequence_get","sequence_get_objects","sequence_instance_override_object","sequence_keyframe_new","sequence_keyframedata_new","sequence_track_new","sha1_file","sha1_string_unicode","sha1_string_utf8","shader_current","shader_enable_corner_id","shader_get_name","shader_get_sampler_index","shader_get_uniform","shader_is_compiled","shader_reset","shader_set","shader_set_uniform_f","shader_set_uniform_f_array","shader_set_uniform_f_buffer","shader_set_uniform_i","shader_set_uniform_i_array","shader_set_uniform_matrix","shader_set_uniform_matrix_array","shaders_are_supported","shop_leave_rating","show_debug_message","show_debug_message_ext","show_debug_overlay","show_error","show_message","show_message_async","show_question","show_question_async","sign","sin","skeleton_animation_clear","skeleton_animation_get","skeleton_animation_get_duration","skeleton_animation_get_event_frames","skeleton_animation_get_ext","skeleton_animation_get_frame","skeleton_animation_get_frames","skeleton_animation_get_position","skeleton_animation_is_finished","skeleton_animation_is_looping","skeleton_animation_list","skeleton_animation_mix","skeleton_animation_set","skeleton_animation_set_ext","skeleton_animation_set_frame","skeleton_animation_set_position","skeleton_attachment_create","skeleton_attachment_create_color","skeleton_attachment_create_colour","skeleton_attachment_destroy","skeleton_attachment_exists","skeleton_attachment_get","skeleton_attachment_replace","skeleton_attachment_replace_color","skeleton_attachment_replace_colour","skeleton_attachment_set","skeleton_bone_data_get","skeleton_bone_data_set","skeleton_bone_list","skeleton_bone_state_get","skeleton_bone_state_set","skeleton_collision_draw_set","skeleton_find_slot","skeleton_get_bounds","skeleton_get_minmax","skeleton_get_num_bounds","skeleton_skin_create","skeleton_skin_get","skeleton_skin_list","skeleton_skin_set","skeleton_slot_alpha_get","skeleton_slot_color_get","skeleton_slot_color_set","skeleton_slot_colour_get","skeleton_slot_colour_set","skeleton_slot_data","skeleton_slot_data_instance","skeleton_slot_list","sprite_add","sprite_add_ext","sprite_add_from_surface","sprite_assign","sprite_collision_mask","sprite_create_from_surface","sprite_delete","sprite_duplicate","sprite_exists","sprite_flush","sprite_flush_multi","sprite_get_bbox_bottom","sprite_get_bbox_left","sprite_get_bbox_mode","sprite_get_bbox_right","sprite_get_bbox_top","sprite_get_height","sprite_get_info","sprite_get_name","sprite_get_nineslice","sprite_get_number","sprite_get_speed","sprite_get_speed_type","sprite_get_texture","sprite_get_tpe","sprite_get_uvs","sprite_get_width","sprite_get_xoffset","sprite_get_yoffset","sprite_merge","sprite_nineslice_create","sprite_prefetch","sprite_prefetch_multi","sprite_replace","sprite_save","sprite_save_strip","sprite_set_alpha_from_sprite","sprite_set_bbox","sprite_set_bbox_mode","sprite_set_cache_size","sprite_set_cache_size_ext","sprite_set_nineslice","sprite_set_offset","sprite_set_speed","sqr","sqrt","static_get","static_set","string","string_byte_at","string_byte_length","string_char_at","string_concat","string_concat_ext","string_copy","string_count","string_delete","string_digits","string_ends_with","string_ext","string_foreach","string_format","string_hash_to_newline","string_height","string_height_ext","string_insert","string_join","string_join_ext","string_last_pos","string_last_pos_ext","string_length","string_letters","string_lettersdigits","string_lower","string_ord_at","string_pos","string_pos_ext","string_repeat","string_replace","string_replace_all","string_set_byte_at","string_split","string_split_ext","string_starts_with","string_trim","string_trim_end","string_trim_start","string_upper","string_width","string_width_ext","struct_exists","struct_foreach","struct_get","struct_get_from_hash","struct_get_names","struct_names_count","struct_remove","struct_set","struct_set_from_hash","surface_copy","surface_copy_part","surface_create","surface_create_ext","surface_depth_disable","surface_exists","surface_format_is_supported","surface_free","surface_get_depth_disable","surface_get_format","surface_get_height","surface_get_target","surface_get_target_ext","surface_get_texture","surface_get_width","surface_getpixel","surface_getpixel_ext","surface_reset_target","surface_resize","surface_save","surface_save_part","surface_set_target","surface_set_target_ext","tag_get_asset_ids","tag_get_assets","tan","texture_debug_messages","texture_flush","texture_get_height","texture_get_texel_height","texture_get_texel_width","texture_get_uvs","texture_get_width","texture_global_scale","texture_is_ready","texture_prefetch","texture_set_stage","texturegroup_get_fonts","texturegroup_get_names","texturegroup_get_sprites","texturegroup_get_status","texturegroup_get_textures","texturegroup_get_tilesets","texturegroup_load","texturegroup_set_mode","texturegroup_unload","tile_get_empty","tile_get_flip","tile_get_index","tile_get_mirror","tile_get_rotate","tile_set_empty","tile_set_flip","tile_set_index","tile_set_mirror","tile_set_rotate","tilemap_clear","tilemap_get","tilemap_get_at_pixel","tilemap_get_cell_x_at_pixel","tilemap_get_cell_y_at_pixel","tilemap_get_frame","tilemap_get_global_mask","tilemap_get_height","tilemap_get_mask","tilemap_get_tile_height","tilemap_get_tile_width","tilemap_get_tileset","tilemap_get_width","tilemap_get_x","tilemap_get_y","tilemap_set","tilemap_set_at_pixel","tilemap_set_global_mask","tilemap_set_height","tilemap_set_mask","tilemap_set_width","tilemap_tileset","tilemap_x","tilemap_y","tileset_get_info","tileset_get_name","tileset_get_texture","tileset_get_uvs","time_bpm_to_seconds","time_seconds_to_bpm","time_source_create","time_source_destroy","time_source_exists","time_source_get_children","time_source_get_parent","time_source_get_period","time_source_get_reps_completed","time_source_get_reps_remaining","time_source_get_state","time_source_get_time_remaining","time_source_get_units","time_source_pause","time_source_reconfigure","time_source_reset","time_source_resume","time_source_start","time_source_stop","timeline_add","timeline_clear","timeline_delete","timeline_exists","timeline_get_name","timeline_max_moment","timeline_moment_add_script","timeline_moment_clear","timeline_size","typeof","url_get_domain","url_open","url_open_ext","url_open_full","uwp_device_touchscreen_available","uwp_livetile_badge_clear","uwp_livetile_badge_notification","uwp_livetile_notification_begin","uwp_livetile_notification_end","uwp_livetile_notification_expiry","uwp_livetile_notification_image_add","uwp_livetile_notification_secondary_begin","uwp_livetile_notification_tag","uwp_livetile_notification_template_add","uwp_livetile_notification_text_add","uwp_livetile_queue_enable","uwp_livetile_tile_clear","uwp_secondarytile_badge_clear","uwp_secondarytile_badge_notification","uwp_secondarytile_delete","uwp_secondarytile_pin","uwp_secondarytile_tile_clear","variable_clone","variable_get_hash","variable_global_exists","variable_global_get","variable_global_set","variable_instance_exists","variable_instance_get","variable_instance_get_names","variable_instance_names_count","variable_instance_set","variable_struct_exists","variable_struct_get","variable_struct_get_names","variable_struct_names_count","variable_struct_remove","variable_struct_set","vertex_argb","vertex_begin","vertex_color","vertex_colour","vertex_create_buffer","vertex_create_buffer_ext","vertex_create_buffer_from_buffer","vertex_create_buffer_from_buffer_ext","vertex_delete_buffer","vertex_end","vertex_float1","vertex_float2","vertex_float3","vertex_float4","vertex_format_add_color","vertex_format_add_colour","vertex_format_add_custom","vertex_format_add_normal","vertex_format_add_position","vertex_format_add_position_3d","vertex_format_add_texcoord","vertex_format_begin","vertex_format_delete","vertex_format_end","vertex_format_get_info","vertex_freeze","vertex_get_buffer_size","vertex_get_number","vertex_normal","vertex_position","vertex_position_3d","vertex_submit","vertex_submit_ext","vertex_texcoord","vertex_ubyte4","vertex_update_buffer_from_buffer","vertex_update_buffer_from_vertex","video_close","video_draw","video_enable_loop","video_get_duration","video_get_format","video_get_position","video_get_status","video_get_volume","video_is_looping","video_open","video_pause","video_resume","video_seek_to","video_set_volume","view_get_camera","view_get_hport","view_get_surface_id","view_get_visible","view_get_wport","view_get_xport","view_get_yport","view_set_camera","view_set_hport","view_set_surface_id","view_set_visible","view_set_wport","view_set_xport","view_set_yport","virtual_key_add","virtual_key_delete","virtual_key_hide","virtual_key_show","wallpaper_set_config","wallpaper_set_subscriptions","weak_ref_alive","weak_ref_any_alive","weak_ref_create","window_center","window_device","window_enable_borderless_fullscreen","window_get_borderless_fullscreen","window_get_caption","window_get_color","window_get_colour","window_get_cursor","window_get_fullscreen","window_get_height","window_get_showborder","window_get_visible_rects","window_get_width","window_get_x","window_get_y","window_handle","window_has_focus","window_mouse_get_delta_x","window_mouse_get_delta_y","window_mouse_get_locked","window_mouse_get_x","window_mouse_get_y","window_mouse_set","window_mouse_set_locked","window_set_caption","window_set_color","window_set_colour","window_set_cursor","window_set_fullscreen","window_set_max_height","window_set_max_width","window_set_min_height","window_set_min_width","window_set_position","window_set_rectangle","window_set_showborder","window_set_size","window_view_mouse_get_x","window_view_mouse_get_y","window_views_mouse_get_x","window_views_mouse_get_y","winphone_tile_background_color","winphone_tile_background_colour","zip_add_file","zip_create","zip_save","zip_unzip","zip_unzip_async"],symbol:["AudioEffect","AudioEffectType","AudioLFOType","GM_build_date","GM_build_type","GM_is_sandboxed","GM_project_filename","GM_runtime_version","GM_version","NaN","_GMFILE_","_GMFUNCTION_","_GMLINE_","alignmentH","alignmentV","all","animcurvetype_bezier","animcurvetype_catmullrom","animcurvetype_linear","asset_animationcurve","asset_font","asset_object","asset_path","asset_room","asset_script","asset_sequence","asset_shader","asset_sound","asset_sprite","asset_tiles","asset_timeline","asset_unknown","audio_3D","audio_bus_main","audio_falloff_exponent_distance","audio_falloff_exponent_distance_clamped","audio_falloff_exponent_distance_scaled","audio_falloff_inverse_distance","audio_falloff_inverse_distance_clamped","audio_falloff_inverse_distance_scaled","audio_falloff_linear_distance","audio_falloff_linear_distance_clamped","audio_falloff_none","audio_mono","audio_stereo","bboxkind_diamond","bboxkind_ellipse","bboxkind_precise","bboxkind_rectangular","bboxmode_automatic","bboxmode_fullimage","bboxmode_manual","bm_add","bm_dest_alpha","bm_dest_color","bm_dest_colour","bm_inv_dest_alpha","bm_inv_dest_color","bm_inv_dest_colour","bm_inv_src_alpha","bm_inv_src_color","bm_inv_src_colour","bm_max","bm_normal","bm_one","bm_src_alpha","bm_src_alpha_sat","bm_src_color","bm_src_colour","bm_subtract","bm_zero","browser_chrome","browser_edge","browser_firefox","browser_ie","browser_ie_mobile","browser_not_a_browser","browser_opera","browser_safari","browser_safari_mobile","browser_tizen","browser_unknown","browser_windows_store","buffer_bool","buffer_f16","buffer_f32","buffer_f64","buffer_fast","buffer_fixed","buffer_grow","buffer_s16","buffer_s32","buffer_s8","buffer_seek_end","buffer_seek_relative","buffer_seek_start","buffer_string","buffer_text","buffer_u16","buffer_u32","buffer_u64","buffer_u8","buffer_vbuffer","buffer_wrap","c_aqua","c_black","c_blue","c_dkgray","c_dkgrey","c_fuchsia","c_gray","c_green","c_grey","c_lime","c_ltgray","c_ltgrey","c_maroon","c_navy","c_olive","c_orange","c_purple","c_red","c_silver","c_teal","c_white","c_yellow","cache_directory","characterSpacing","cmpfunc_always","cmpfunc_equal","cmpfunc_greater","cmpfunc_greaterequal","cmpfunc_less","cmpfunc_lessequal","cmpfunc_never","cmpfunc_notequal","coreColor","coreColour","cr_appstart","cr_arrow","cr_beam","cr_cross","cr_default","cr_drag","cr_handpoint","cr_hourglass","cr_none","cr_size_all","cr_size_nesw","cr_size_ns","cr_size_nwse","cr_size_we","cr_uparrow","cull_clockwise","cull_counterclockwise","cull_noculling","device_emulator","device_ios_ipad","device_ios_ipad_retina","device_ios_iphone","device_ios_iphone5","device_ios_iphone6","device_ios_iphone6plus","device_ios_iphone_retina","device_ios_unknown","device_tablet","display_landscape","display_landscape_flipped","display_portrait","display_portrait_flipped","dll_cdecl","dll_stdcall","dropShadowEnabled","dropShadowEnabled","ds_type_grid","ds_type_list","ds_type_map","ds_type_priority","ds_type_queue","ds_type_stack","ef_cloud","ef_ellipse","ef_explosion","ef_firework","ef_flare","ef_rain","ef_ring","ef_smoke","ef_smokeup","ef_snow","ef_spark","ef_star","effectsEnabled","effectsEnabled","ev_alarm","ev_animation_end","ev_animation_event","ev_animation_update","ev_async_audio_playback","ev_async_audio_playback_ended","ev_async_audio_recording","ev_async_dialog","ev_async_push_notification","ev_async_save_load","ev_async_save_load","ev_async_social","ev_async_system_event","ev_async_web","ev_async_web_cloud","ev_async_web_iap","ev_async_web_image_load","ev_async_web_networking","ev_async_web_steam","ev_audio_playback","ev_audio_playback_ended","ev_audio_recording","ev_boundary","ev_boundary_view0","ev_boundary_view1","ev_boundary_view2","ev_boundary_view3","ev_boundary_view4","ev_boundary_view5","ev_boundary_view6","ev_boundary_view7","ev_broadcast_message","ev_cleanup","ev_collision","ev_create","ev_destroy","ev_dialog_async","ev_draw","ev_draw_begin","ev_draw_end","ev_draw_normal","ev_draw_post","ev_draw_pre","ev_end_of_path","ev_game_end","ev_game_start","ev_gesture","ev_gesture_double_tap","ev_gesture_drag_end","ev_gesture_drag_start","ev_gesture_dragging","ev_gesture_flick","ev_gesture_pinch_end","ev_gesture_pinch_in","ev_gesture_pinch_out","ev_gesture_pinch_start","ev_gesture_rotate_end","ev_gesture_rotate_start","ev_gesture_rotating","ev_gesture_tap","ev_global_gesture_double_tap","ev_global_gesture_drag_end","ev_global_gesture_drag_start","ev_global_gesture_dragging","ev_global_gesture_flick","ev_global_gesture_pinch_end","ev_global_gesture_pinch_in","ev_global_gesture_pinch_out","ev_global_gesture_pinch_start","ev_global_gesture_rotate_end","ev_global_gesture_rotate_start","ev_global_gesture_rotating","ev_global_gesture_tap","ev_global_left_button","ev_global_left_press","ev_global_left_release","ev_global_middle_button","ev_global_middle_press","ev_global_middle_release","ev_global_right_button","ev_global_right_press","ev_global_right_release","ev_gui","ev_gui_begin","ev_gui_end","ev_joystick1_button1","ev_joystick1_button2","ev_joystick1_button3","ev_joystick1_button4","ev_joystick1_button5","ev_joystick1_button6","ev_joystick1_button7","ev_joystick1_button8","ev_joystick1_down","ev_joystick1_left","ev_joystick1_right","ev_joystick1_up","ev_joystick2_button1","ev_joystick2_button2","ev_joystick2_button3","ev_joystick2_button4","ev_joystick2_button5","ev_joystick2_button6","ev_joystick2_button7","ev_joystick2_button8","ev_joystick2_down","ev_joystick2_left","ev_joystick2_right","ev_joystick2_up","ev_keyboard","ev_keypress","ev_keyrelease","ev_left_button","ev_left_press","ev_left_release","ev_middle_button","ev_middle_press","ev_middle_release","ev_mouse","ev_mouse_enter","ev_mouse_leave","ev_mouse_wheel_down","ev_mouse_wheel_up","ev_no_button","ev_no_more_health","ev_no_more_lives","ev_other","ev_outside","ev_outside_view0","ev_outside_view1","ev_outside_view2","ev_outside_view3","ev_outside_view4","ev_outside_view5","ev_outside_view6","ev_outside_view7","ev_pre_create","ev_push_notification","ev_right_button","ev_right_press","ev_right_release","ev_room_end","ev_room_start","ev_social","ev_step","ev_step_begin","ev_step_end","ev_step_normal","ev_system_event","ev_trigger","ev_user0","ev_user1","ev_user10","ev_user11","ev_user12","ev_user13","ev_user14","ev_user15","ev_user2","ev_user3","ev_user4","ev_user5","ev_user6","ev_user7","ev_user8","ev_user9","ev_web_async","ev_web_cloud","ev_web_iap","ev_web_image_load","ev_web_networking","ev_web_sound_load","ev_web_steam","fa_archive","fa_bottom","fa_center","fa_directory","fa_hidden","fa_left","fa_middle","fa_none","fa_readonly","fa_right","fa_sysfile","fa_top","fa_volumeid","false","frameSizeX","frameSizeY","gamespeed_fps","gamespeed_microseconds","global","glowColor","glowColour","glowEnabled","glowEnabled","glowEnd","glowStart","gp_axis_acceleration_x","gp_axis_acceleration_y","gp_axis_acceleration_z","gp_axis_angular_velocity_x","gp_axis_angular_velocity_y","gp_axis_angular_velocity_z","gp_axis_orientation_w","gp_axis_orientation_x","gp_axis_orientation_y","gp_axis_orientation_z","gp_axislh","gp_axislv","gp_axisrh","gp_axisrv","gp_face1","gp_face2","gp_face3","gp_face4","gp_padd","gp_padl","gp_padr","gp_padu","gp_select","gp_shoulderl","gp_shoulderlb","gp_shoulderr","gp_shoulderrb","gp_start","gp_stickl","gp_stickr","iap_available","iap_canceled","iap_ev_consume","iap_ev_product","iap_ev_purchase","iap_ev_restore","iap_ev_storeload","iap_failed","iap_purchased","iap_refunded","iap_status_available","iap_status_loading","iap_status_processing","iap_status_restoring","iap_status_unavailable","iap_status_uninitialised","iap_storeload_failed","iap_storeload_ok","iap_unavailable","infinity","kbv_autocapitalize_characters","kbv_autocapitalize_none","kbv_autocapitalize_sentences","kbv_autocapitalize_words","kbv_returnkey_continue","kbv_returnkey_default","kbv_returnkey_done","kbv_returnkey_emergency","kbv_returnkey_go","kbv_returnkey_google","kbv_returnkey_join","kbv_returnkey_next","kbv_returnkey_route","kbv_returnkey_search","kbv_returnkey_send","kbv_returnkey_yahoo","kbv_type_ascii","kbv_type_default","kbv_type_email","kbv_type_numbers","kbv_type_phone","kbv_type_phone_name","kbv_type_url","layerelementtype_background","layerelementtype_instance","layerelementtype_oldtilemap","layerelementtype_particlesystem","layerelementtype_sequence","layerelementtype_sprite","layerelementtype_tile","layerelementtype_tilemap","layerelementtype_undefined","leaderboard_type_number","leaderboard_type_time_mins_secs","lighttype_dir","lighttype_point","lineSpacing","m_axisx","m_axisx_gui","m_axisy","m_axisy_gui","m_scroll_down","m_scroll_up","matrix_projection","matrix_view","matrix_world","mb_any","mb_left","mb_middle","mb_none","mb_right","mb_side1","mb_side2","mip_markedonly","mip_off","mip_on","network_config_avoid_time_wait","network_config_connect_timeout","network_config_disable_multicast","network_config_disable_reliable_udp","network_config_enable_multicast","network_config_enable_reliable_udp","network_config_use_non_blocking_socket","network_config_websocket_protocol","network_connect_active","network_connect_blocking","network_connect_nonblocking","network_connect_none","network_connect_passive","network_send_binary","network_send_text","network_socket_bluetooth","network_socket_tcp","network_socket_udp","network_socket_ws","network_socket_wss","network_type_connect","network_type_data","network_type_disconnect","network_type_down","network_type_non_blocking_connect","network_type_up","network_type_up_failed","nineslice_blank","nineslice_bottom","nineslice_center","nineslice_centre","nineslice_hide","nineslice_left","nineslice_mirror","nineslice_repeat","nineslice_right","nineslice_stretch","nineslice_top","noone","of_challenge_lose","of_challenge_tie","of_challenge_win","os_android","os_gdk","os_gxgames","os_ios","os_linux","os_macosx","os_operagx","os_permission_denied","os_permission_denied_dont_request","os_permission_granted","os_ps3","os_ps4","os_ps5","os_psvita","os_switch","os_tvos","os_unknown","os_uwp","os_win8native","os_windows","os_winphone","os_xboxone","os_xboxseriesxs","other","outlineColor","outlineColour","outlineDist","outlineEnabled","outlineEnabled","paragraphSpacing","path_action_continue","path_action_restart","path_action_reverse","path_action_stop","phy_debug_render_aabb","phy_debug_render_collision_pairs","phy_debug_render_coms","phy_debug_render_core_shapes","phy_debug_render_joints","phy_debug_render_obb","phy_debug_render_shapes","phy_joint_anchor_1_x","phy_joint_anchor_1_y","phy_joint_anchor_2_x","phy_joint_anchor_2_y","phy_joint_angle","phy_joint_angle_limits","phy_joint_damping_ratio","phy_joint_frequency","phy_joint_length_1","phy_joint_length_2","phy_joint_lower_angle_limit","phy_joint_max_force","phy_joint_max_length","phy_joint_max_motor_force","phy_joint_max_motor_torque","phy_joint_max_torque","phy_joint_motor_force","phy_joint_motor_speed","phy_joint_motor_torque","phy_joint_reaction_force_x","phy_joint_reaction_force_y","phy_joint_reaction_torque","phy_joint_speed","phy_joint_translation","phy_joint_upper_angle_limit","phy_particle_data_flag_category","phy_particle_data_flag_color","phy_particle_data_flag_colour","phy_particle_data_flag_position","phy_particle_data_flag_typeflags","phy_particle_data_flag_velocity","phy_particle_flag_colormixing","phy_particle_flag_colourmixing","phy_particle_flag_elastic","phy_particle_flag_powder","phy_particle_flag_spring","phy_particle_flag_tensile","phy_particle_flag_viscous","phy_particle_flag_wall","phy_particle_flag_water","phy_particle_flag_zombie","phy_particle_group_flag_rigid","phy_particle_group_flag_solid","pi","pointer_invalid","pointer_null","pr_linelist","pr_linestrip","pr_pointlist","pr_trianglefan","pr_trianglelist","pr_trianglestrip","ps_distr_gaussian","ps_distr_invgaussian","ps_distr_linear","ps_mode_burst","ps_mode_stream","ps_shape_diamond","ps_shape_ellipse","ps_shape_line","ps_shape_rectangle","pt_shape_circle","pt_shape_cloud","pt_shape_disk","pt_shape_explosion","pt_shape_flare","pt_shape_line","pt_shape_pixel","pt_shape_ring","pt_shape_smoke","pt_shape_snow","pt_shape_spark","pt_shape_sphere","pt_shape_square","pt_shape_star","rollback_chat_message","rollback_connect_error","rollback_connect_info","rollback_connected_to_peer","rollback_connection_rejected","rollback_disconnected_from_peer","rollback_end_game","rollback_game_full","rollback_game_info","rollback_game_interrupted","rollback_game_resumed","rollback_high_latency","rollback_player_prefs","rollback_protocol_rejected","rollback_synchronized_with_peer","rollback_synchronizing_with_peer","self","seqaudiokey_loop","seqaudiokey_oneshot","seqdir_left","seqdir_right","seqinterpolation_assign","seqinterpolation_lerp","seqplay_loop","seqplay_oneshot","seqplay_pingpong","seqtextkey_bottom","seqtextkey_center","seqtextkey_justify","seqtextkey_left","seqtextkey_middle","seqtextkey_right","seqtextkey_top","seqtracktype_audio","seqtracktype_bool","seqtracktype_clipmask","seqtracktype_clipmask_mask","seqtracktype_clipmask_subject","seqtracktype_color","seqtracktype_colour","seqtracktype_empty","seqtracktype_graphic","seqtracktype_group","seqtracktype_instance","seqtracktype_message","seqtracktype_moment","seqtracktype_particlesystem","seqtracktype_real","seqtracktype_sequence","seqtracktype_spriteframes","seqtracktype_string","seqtracktype_text","shadowColor","shadowColour","shadowOffsetX","shadowOffsetY","shadowSoftness","sprite_add_ext_error_cancelled","sprite_add_ext_error_decompressfailed","sprite_add_ext_error_loadfailed","sprite_add_ext_error_setupfailed","sprite_add_ext_error_spritenotfound","sprite_add_ext_error_unknown","spritespeed_framespergameframe","spritespeed_framespersecond","surface_r16float","surface_r32float","surface_r8unorm","surface_rg8unorm","surface_rgba16float","surface_rgba32float","surface_rgba4unorm","surface_rgba8unorm","texturegroup_status_fetched","texturegroup_status_loaded","texturegroup_status_loading","texturegroup_status_unloaded","tf_anisotropic","tf_linear","tf_point","thickness","tile_flip","tile_index_mask","tile_mirror","tile_rotate","time_source_expire_after","time_source_expire_nearest","time_source_game","time_source_global","time_source_state_active","time_source_state_initial","time_source_state_paused","time_source_state_stopped","time_source_units_frames","time_source_units_seconds","timezone_local","timezone_utc","tm_countvsyncs","tm_sleep","tm_systemtiming","true","ty_real","ty_string","undefined","vertex_type_color","vertex_type_colour","vertex_type_float1","vertex_type_float2","vertex_type_float3","vertex_type_float4","vertex_type_ubyte4","vertex_usage_binormal","vertex_usage_blendindices","vertex_usage_blendweight","vertex_usage_color","vertex_usage_colour","vertex_usage_depth","vertex_usage_fog","vertex_usage_normal","vertex_usage_position","vertex_usage_psize","vertex_usage_sample","vertex_usage_tangent","vertex_usage_texcoord","video_format_rgba","video_format_yuv","video_status_closed","video_status_paused","video_status_playing","video_status_preparing","vk_add","vk_alt","vk_anykey","vk_backspace","vk_control","vk_decimal","vk_delete","vk_divide","vk_down","vk_end","vk_enter","vk_escape","vk_f1","vk_f10","vk_f11","vk_f12","vk_f2","vk_f3","vk_f4","vk_f5","vk_f6","vk_f7","vk_f8","vk_f9","vk_home","vk_insert","vk_lalt","vk_lcontrol","vk_left","vk_lshift","vk_multiply","vk_nokey","vk_numpad0","vk_numpad1","vk_numpad2","vk_numpad3","vk_numpad4","vk_numpad5","vk_numpad6","vk_numpad7","vk_numpad8","vk_numpad9","vk_pagedown","vk_pageup","vk_pause","vk_printscreen","vk_ralt","vk_rcontrol","vk_return","vk_right","vk_rshift","vk_shift","vk_space","vk_subtract","vk_tab","vk_up","wallpaper_config","wallpaper_subscription_data","wrap"],"variable.language":["alarm","application_surface","argument","argument0","argument1","argument2","argument3","argument4","argument5","argument6","argument7","argument8","argument9","argument10","argument11","argument12","argument13","argument14","argument15","argument_count","async_load","background_color","background_colour","background_showcolor","background_showcolour","bbox_bottom","bbox_left","bbox_right","bbox_top","browser_height","browser_width","colour?ColourTrack","current_day","current_hour","current_minute","current_month","current_second","current_time","current_weekday","current_year","cursor_sprite","debug_mode","delta_time","depth","direction","display_aa","drawn_by_sequence","event_action","event_data","event_number","event_object","event_type","font_texture_page_size","fps","fps_real","friction","game_display_name","game_id","game_project_name","game_save_id","gravity","gravity_direction","health","hspeed","iap_data","id","image_alpha","image_angle","image_blend","image_index","image_number","image_speed","image_xscale","image_yscale","in_collision_tree","in_sequence","instance_count","instance_id","keyboard_key","keyboard_lastchar","keyboard_lastkey","keyboard_string","layer","lives","longMessage","managed","mask_index","message","mouse_button","mouse_lastbutton","mouse_x","mouse_y","object_index","os_browser","os_device","os_type","os_version","path_endaction","path_index","path_orientation","path_position","path_positionprevious","path_scale","path_speed","persistent","phy_active","phy_angular_damping","phy_angular_velocity","phy_bullet","phy_col_normal_x","phy_col_normal_y","phy_collision_points","phy_collision_x","phy_collision_y","phy_com_x","phy_com_y","phy_dynamic","phy_fixed_rotation","phy_inertia","phy_kinematic","phy_linear_damping","phy_linear_velocity_x","phy_linear_velocity_y","phy_mass","phy_position_x","phy_position_xprevious","phy_position_y","phy_position_yprevious","phy_rotation","phy_sleeping","phy_speed","phy_speed_x","phy_speed_y","player_avatar_sprite","player_avatar_url","player_id","player_local","player_type","player_user_id","program_directory","rollback_api_server","rollback_confirmed_frame","rollback_current_frame","rollback_event_id","rollback_event_param","rollback_game_running","room","room_first","room_height","room_last","room_persistent","room_speed","room_width","score","script","sequence_instance","solid","speed","sprite_height","sprite_index","sprite_width","sprite_xoffset","sprite_yoffset","stacktrace","temp_directory","timeline_index","timeline_loop","timeline_position","timeline_running","timeline_speed","view_camera","view_current","view_enabled","view_hport","view_surface_id","view_visible","view_wport","view_xport","view_yport","visible","vspeed","webgl_enabled","working_directory","x","xprevious","xstart","y","yprevious","ystart"]},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}}function dh(){if(po)return ho;return po=1,ho=function(e){const t={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:t,illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",variants:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:"number",variants:[{match:/-?\b0[xX]\.[a-fA-F0-9](_?[a-fA-F0-9])*[pP][+-]?\d(_?\d)*i?/, +// hex without a present digit before . (making a digit afterwards required) +relevance:0},{match:/-?\b0[xX](_?[a-fA-F0-9])+((\.([a-fA-F0-9](_?[a-fA-F0-9])*)?)?[pP][+-]?\d(_?\d)*)?i?/, +// hex with a present digit before . (making a digit afterwards optional) +relevance:0},{match:/-?\b0[oO](_?[0-7])*i?/, +// leading 0o octal +relevance:0},{match:/-?\.\d(_?\d)*([eE][+-]?\d(_?\d)*)?i?/, +// decimal without a present digit before . (making a digit afterwards required) +relevance:0},{match:/-?\b\d(_?\d)*(\.(\d(_?\d)*)?)?([eE][+-]?\d(_?\d)*)?i?/, +// decimal with a present digit before . (making a digit afterwards optional) +relevance:0}]},{begin:/:=/},{className:"function",beginKeywords:"func",end:"\\s*(\\{|$)",excludeEnd:!0,contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:t,illegal:/["']/}]}]}}}function hh(){if(mo)return go;return mo=1,go=function(e){return{name:"Golo",keywords:{keyword:["println","readln","print","import","module","function","local","return","let","var","while","for","foreach","times","in","case","when","match","with","break","continue","augment","augmentation","each","find","filter","reduce","if","then","else","otherwise","try","catch","finally","raise","throw","orIfNull","DynamicObject|10","DynamicVariable","struct","Observable","map","set","vector","list","array"],literal:["true","false","null"]},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"}]}}}function ph(){if(bo)return _o;return bo=1,_o=function(e){return{name:"Gradle",case_insensitive:!0,keywords:["task","project","allprojects","subprojects","artifacts","buildscript","configurations","dependencies","repositories","sourceSets","description","delete","from","into","include","exclude","source","classpath","destinationDir","includes","options","sourceCompatibility","targetCompatibility","group","flatDir","doLast","doFirst","flatten","todir","fromdir","ant","def","abstract","break","case","catch","continue","default","do","else","extends","final","finally","for","if","implements","instanceof","native","new","private","protected","public","return","static","switch","synchronized","throw","throws","transient","try","volatile","while","strictfp","package","import","false","null","super","this","true","antlrtask","checkstyle","codenarc","copy","boolean","byte","char","class","double","float","int","interface","long","short","void","compile","runTime","file","fileTree","abs","any","append","asList","asWritable","call","collect","compareTo","count","div","dump","each","eachByte","eachFile","eachLine","every","find","findAll","flatten","getAt","getErr","getIn","getOut","getText","grep","immutable","inject","inspect","intersect","invokeMethods","isCase","join","leftShift","minus","multiply","newInputStream","newOutputStream","newPrintWriter","newReader","newWriter","next","plus","pop","power","previous","print","println","push","putAt","read","readBytes","readLines","reverse","reverseEach","round","size","sort","splitEachLine","step","subMap","times","toInteger","toList","tokenize","upto","waitForOrKill","withPrintWriter","withReader","withStream","withWriter","withWriterAppend","write","writeLine"],contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.REGEXP_MODE]}}}function gh(){if(yo)return fo;return yo=1,fo=function(e){const t=e.regex;return{name:"GraphQL",aliases:["gql"],case_insensitive:!0,disableAutodetect:!1,keywords:{keyword:["query","mutation","subscription","type","input","schema","directive","interface","union","scalar","fragment","enum","on"],literal:["true","false","null"]},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{scope:"punctuation",match:/[.]{3}/,relevance:0},{scope:"punctuation",begin:/[\!\(\)\:\=\[\]\{\|\}]{1}/,relevance:0},{scope:"variable",begin:/\$/,end:/\W/,excludeEnd:!0,relevance:0},{scope:"meta",match:/@\w+/,excludeEnd:!0},{scope:"symbol",begin:t.concat(/[_A-Za-z][_0-9A-Za-z]*/,t.lookahead(/\s*:/)),relevance:0}],illegal:[/[;<']/,/BEGIN/]}}}function mh(){if(Eo)return vo;function e(e,t={}){return t.variants=e,t}return Eo=1,vo=function(t){const n=t.regex,r="[A-Za-z0-9_$]+",i=e([t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{ +// eat up @'s in emails to prevent them to be recognized as doctags +begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]})]),a={className:"regexp",begin:/~?\/[^\/\n]+\//,contains:[t.BACKSLASH_ESCAPE]},o=e([t.BINARY_NUMBER_MODE,t.C_NUMBER_MODE]),s=e([{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:"\\$/",end:"/\\$",relevance:10},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE],{className:"string"}),l={match:[/(class|interface|trait|enum|record|extends|implements)/,/\s+/,t.UNDERSCORE_IDENT_RE],scope:{1:"keyword",3:"title.class"}};return{name:"Groovy",keywords:{"variable.language":"this super",literal:"true false null",type:["byte","short","char","int","long","boolean","float","double","void"],keyword:[ +// groovy specific keywords +"def","as","in","assert","trait", +// common keywords with Java +"abstract","static","volatile","transient","public","private","protected","synchronized","final","class","interface","enum","if","else","for","while","switch","case","break","default","continue","throw","throws","try","catch","finally","implements","extends","new","import","package","return","instanceof","var"]},contains:[t.SHEBANG({binary:"groovy",relevance:10}),i,s,a,o,l,{className:"meta",begin:"@[A-Za-z]+",relevance:0},{ +// highlight map keys and named parameters as attrs +className:"attr",begin:r+"[ \t]*:",relevance:0},{ +// catch middle element of the ternary operator +// to avoid highlight it as a label, named parameter, or map key +begin:/\?/,end:/:/,relevance:0,contains:[i,s,a,o,"self"]},{ +// highlight labeled statements +className:"symbol",begin:"^[ \t]*"+n.lookahead(r+":"),excludeBegin:!0,end:r+":",relevance:0}],illegal:/#|<\//}}}function _h(){if(To)return So;return To=1,So=function(e){return{name:"HAML",case_insensitive:!0,contains:[{className:"meta",begin:"^!!!( (5|1\\.1|Strict|Frameset|Basic|Mobile|RDFa|XML\\b.*))?$",relevance:10}, +// FIXME these comments should be allowed to span indented lines +e.COMMENT("^\\s*(!=#|=#|-#|/).*$",null,{relevance:0}),{begin:"^\\s*(-|=|!=)(?!#)",end:/$/,subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0},{className:"tag",begin:"^\\s*%",contains:[{className:"selector-tag",begin:"\\w+"},{className:"selector-id",begin:"#[\\w-]+"},{className:"selector-class",begin:"\\.[\\w-]+"},{begin:/\{\s*/,end:/\s*\}/,contains:[{begin:":\\w+\\s*=>",end:",\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:":\\w+"},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]},{begin:"\\(\\s*",end:"\\s*\\)",excludeEnd:!0,contains:[{begin:"\\w+\\s*=",end:"\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:"\\w+",relevance:0},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]}]},{begin:"^\\s*[=~]\\s*"},{begin:/#\{/,end:/\}/,subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}}function bh(){if(xo)return Co;return xo=1,Co=function(e){const t=e.regex,n={$pattern:/[\w.\/]+/,built_in:["action","bindattr","collection","component","concat","debugger","each","each-in","get","hash","if","in","input","link-to","loc","log","lookup","mut","outlet","partial","query-params","render","template","textarea","unbound","unless","view","with","yield"]},r=/\[\]|\[[^\]]+\]/,i=/[^\s!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]+/,a=t.either(/""|"[^"]+"/,/''|'[^']+'/,r,i),o=t.concat(t.optional(/\.|\.\/|\//), +// relative or absolute path +a,t.anyNumberOfTimes(t.concat(/(\.|\/)/,a))),s=t.concat("(",r,"|",i,")(?==)"),l={begin:o},c=e.inherit(l,{keywords:{$pattern:/[\w.\/]+/,literal:["true","false","undefined","null"]}}),u={begin:/\(/,end:/\)/},d={ +// fka "attribute-assignment", parameters of the form 'key=value' +className:"attr",begin:s,relevance:0,starts:{begin:/=/,end:/=/,starts:{contains:[e.NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,c,u]}}},h={contains:[e.NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{ +// parameters of the form '{{#with x as | y |}}...{{/with}}' +begin:/as\s+\|/,keywords:{keyword:"as"},end:/\|/,contains:[{ +// define sub-mode in order to prevent highlighting of block-parameter named "as" +begin:/\w+/}]},d,c,u],returnEnd:!0},p=e.inherit(l,{className:"name",keywords:n,starts:e.inherit(h,{end:/\)/})});u.contains=[p];const g=e.inherit(l,{keywords:n,className:"name",starts:e.inherit(h,{end:/\}\}/})}),m=e.inherit(l,{keywords:n,className:"name"}),_=e.inherit(l,{className:"name",keywords:n,starts:e.inherit(h,{end:/\}\}/})});return{name:"Handlebars",aliases:["hbs","html.hbs","html.handlebars","htmlbars"],case_insensitive:!0,subLanguage:"xml",contains:[{begin:/\\\{\{/,skip:!0},{begin:/\\\\(?=\{\{)/,skip:!0},e.COMMENT(/\{\{!--/,/--\}\}/),e.COMMENT(/\{\{!/,/\}\}/),{ +// open raw block "{{{{raw}}}} content not evaluated {{{{/raw}}}}" +className:"template-tag",begin:/\{\{\{\{(?!\/)/,end:/\}\}\}\}/,contains:[g],starts:{end:/\{\{\{\{\//,returnEnd:!0,subLanguage:"xml"}},{ +// close raw block +className:"template-tag",begin:/\{\{\{\{\//,end:/\}\}\}\}/,contains:[m]},{ +// open block statement +className:"template-tag",begin:/\{\{#/,end:/\}\}/,contains:[g]},{className:"template-tag",begin:/\{\{(?=else\}\})/,end:/\}\}/,keywords:"else"},{className:"template-tag",begin:/\{\{(?=else if)/,end:/\}\}/,keywords:"else if"},{ +// closing block statement +className:"template-tag",begin:/\{\{\//,end:/\}\}/,contains:[m]},{ +// template variable or helper-call that is NOT html-escaped +className:"template-variable",begin:/\{\{\{/,end:/\}\}\}/,contains:[_]},{ +// template variable or helper-call that is html-escaped +className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[_]}]}}}function fh(){if(Ao)return ko;return Ao=1,ko=function(e){const t="([0-9]_*)+",n="([0-9a-fA-F]_*)+",r="([!#$%&*+.\\/<=>?@\\\\^~-]|(?!([(),;\\[\\]`|{}]|[_:\"']))(\\p{S}|\\p{P}))",i={variants:[ +// Double dash forms a valid comment only if it's not part of legal lexeme. +// See: Haskell 98 report: https://www.haskell.org/onlinereport/lexemes.html +// The commented code does the job, but we can't use negative lookbehind, +// due to poor support by Safari browser. +// > hljs.COMMENT(`(?<!${symbol})--+(?!${symbol})`, '$'), +// So instead, we'll add a no-markup rule before the COMMENT rule in the rules list +// to match the problematic infix operators that contain double dash. +e.COMMENT("--+","$"),e.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},a={className:"meta",begin:/\{-#/,end:/#-\}/},o={className:"meta",begin:"^#",end:"$"},s={className:"type",begin:"\\b[A-Z][\\w']*", +// TODO: other constructors (build-in, infix). +relevance:0},l={begin:"\\(",end:"\\)",illegal:'"',contains:[a,o,{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},e.inherit(e.TITLE_MODE,{begin:"[_a-z][\\w']*"}),i]},c={className:"number",relevance:0,variants:[ +// decimal floating-point-literal (subsumes decimal-literal) +{match:`\\b(${t})(\\.(${t}))?([eE][+-]?(${t}))?\\b`}, +// hexadecimal floating-point-literal (subsumes hexadecimal-literal) +{match:`\\b0[xX]_*(${n})(\\.(${n}))?([pP][+-]?(${t}))?\\b`}, +// octal-literal +{match:"\\b0[oO](([0-7]_*)+)\\b"}, +// binary-literal +{match:"\\b0[bB](([01]_*)+)\\b"}]};return{name:"Haskell",aliases:["hs"],keywords:"let in if then else case of where do module import hiding qualified type data newtype deriving class instance as default infix infixl infixr foreign export ccall stdcall cplusplus jvm dotnet safe unsafe family forall mdo proc rec",unicodeRegex:!0,contains:[ +// Top-level constructions. +{beginKeywords:"module",end:"where",keywords:"module where",contains:[l,i],illegal:"\\W\\.|;"},{begin:"\\bimport\\b",end:"$",keywords:"import qualified as hiding",contains:[l,i],illegal:"\\W\\.|;"},{className:"class",begin:"^(\\s*)?(class|instance)\\b",end:"where",keywords:"class family instance where",contains:[s,l,i]},{className:"class",begin:"\\b(data|(new)?type)\\b",end:"$",keywords:"data family type newtype deriving",contains:[a,s,l,{begin:/\{/,end:/\}/,contains:l.contains},i]},{beginKeywords:"default",end:"$",contains:[s,l,i]},{beginKeywords:"infix infixl infixr",end:"$",contains:[e.C_NUMBER_MODE,i]},{begin:"\\bforeign\\b",end:"$",keywords:"foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe",contains:[s,e.QUOTE_STRING_MODE,i]},{className:"meta",begin:"#!\\/usr\\/bin\\/env runhaskell",end:"$"}, +// "Whitespaces". +a,o, +// Literals and names. +// Single characters. +{scope:"string",begin:/'(?=\\?.')/,end:/'/,contains:[{scope:"char.escape",match:/\\./}]},e.QUOTE_STRING_MODE,c,s,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}), +// No markup, prevents infix operators from being recognized as comments. +{begin:`(?!-)${r}--+|--+(?!-)${r}`},i,{ +// No markup, relevance booster +begin:"->|<-"}]}}}function yh(){if(No)return wo;return No=1,wo=function(e){return{name:"Haxe",aliases:["hx"],keywords:{keyword:"abstract break case cast catch continue default do dynamic else enum extern final for function here if import in inline is macro never new override package private get set public return static super switch this throw trace try typedef untyped using var while Int Float String Bool Dynamic Void Array ",built_in:"trace this",literal:"true false null _"},contains:[{className:"string", +// interpolate-able strings +begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE,{className:"subst", +// interpolation +begin:/\$\{/,end:/\}/},{className:"subst", +// interpolation +begin:/\$/,end:/\W\}/}]},e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"number",begin:/(-?)(\b0[xX][a-fA-F0-9_]+|(\b\d+(\.[\d_]*)?|\.[\d_]+)(([eE][-+]?\d+)|i32|u32|i64|f64)?)/,relevance:0},{className:"variable",begin:"\\$[a-zA-Z_$][a-zA-Z0-9_$]*"},{className:"meta", +// compiler meta +begin:/@:?/,end:/\(|$/,excludeEnd:!0},{className:"meta", +// compiler conditionals +begin:"#",end:"$",keywords:{keyword:"if else elseif end error"}},{className:"type", +// function types +begin:/:[ \t]*/,end:/[^A-Za-z0-9_ \t\->]/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type", +// types +begin:/:[ \t]*/,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"type", +// instantiation +beginKeywords:"new",end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"title.class", +// enums +beginKeywords:"enum",end:/\{/,contains:[e.TITLE_MODE]},{className:"title.class", +// abstracts +begin:"\\babstract\\b(?=\\s*"+e.IDENT_RE+"\\s*\\()",end:/[\{$]/,contains:[{className:"type",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/from +/,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/to +/,end:/\W/,excludeBegin:!0,excludeEnd:!0},e.TITLE_MODE],keywords:{keyword:"abstract from to"}},{className:"title.class", +// classes +begin:/\b(class|interface) +/,end:/[\{$]/,excludeEnd:!0,keywords:"class interface",contains:[{className:"keyword",begin:/\b(extends|implements) +/,keywords:"extends implements",contains:[{className:"type",begin:e.IDENT_RE,relevance:0}]},e.TITLE_MODE]},{className:"title.function",beginKeywords:"function",end:/\(/,excludeEnd:!0,illegal:/\S/,contains:[e.TITLE_MODE]}],illegal:/<\//}}}function vh(){if(Ro)return Oo;return Ro=1,Oo=function(e){return{name:"HSP",case_insensitive:!0,keywords:{$pattern:/[\w._]+/,keyword:"goto gosub return break repeat loop continue wait await dim sdim foreach dimtype dup dupptr end stop newmod delmod mref run exgoto on mcall assert logmes newlab resume yield onexit onerror onkey onclick oncmd exist delete mkdir chdir dirlist bload bsave bcopy memfile if else poke wpoke lpoke getstr chdpm memexpand memcpy memset notesel noteadd notedel noteload notesave randomize noteunsel noteget split strrep setease button chgdisp exec dialog mmload mmplay mmstop mci pset pget syscolor mes print title pos circle cls font sysfont objsize picload color palcolor palette redraw width gsel gcopy gzoom gmode bmpsave hsvcolor getkey listbox chkbox combox input mesbox buffer screen bgscr mouse objsel groll line clrobj boxf objprm objmode stick grect grotate gsquare gradf objimage objskip objenable celload celdiv celput newcom querycom delcom cnvstow comres axobj winobj sendmsg comevent comevarg sarrayconv callfunc cnvwtos comevdisp libptr system hspstat hspver stat cnt err strsize looplev sublev iparam wparam lparam refstr refdval int rnd strlen length length2 length3 length4 vartype gettime peek wpeek lpeek varptr varuse noteinfo instr abs limit getease str strmid strf getpath strtrim sin cos tan atan sqrt double absf expf logf limitf powf geteasef mousex mousey mousew hwnd hinstance hdc ginfo objinfo dirinfo sysinfo thismod __hspver__ __hsp30__ __date__ __time__ __line__ __file__ _debug __hspdef__ and or xor not screen_normal screen_palette screen_hide screen_fixedsize screen_tool screen_frame gmode_gdi gmode_mem gmode_rgb0 gmode_alpha gmode_rgb0alpha gmode_add gmode_sub gmode_pixela ginfo_mx ginfo_my ginfo_act ginfo_sel ginfo_wx1 ginfo_wy1 ginfo_wx2 ginfo_wy2 ginfo_vx ginfo_vy ginfo_sizex ginfo_sizey ginfo_winx ginfo_winy ginfo_mesx ginfo_mesy ginfo_r ginfo_g ginfo_b ginfo_paluse ginfo_dispx ginfo_dispy ginfo_cx ginfo_cy ginfo_intid ginfo_newid ginfo_sx ginfo_sy objinfo_mode objinfo_bmscr objinfo_hwnd notemax notesize dir_cur dir_exe dir_win dir_sys dir_cmdline dir_desktop dir_mydoc dir_tv font_normal font_bold font_italic font_underline font_strikeout font_antialias objmode_normal objmode_guifont objmode_usefont gsquare_grad msgothic msmincho do until while wend for next _break _continue switch case default swbreak swend ddim ldim alloc m_pi rad2deg deg2rad ease_linear ease_quad_in ease_quad_out ease_quad_inout ease_cubic_in ease_cubic_out ease_cubic_inout ease_quartic_in ease_quartic_out ease_quartic_inout ease_bounce_in ease_bounce_out ease_bounce_inout ease_shake_in ease_shake_out ease_shake_inout ease_loop"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{ +// multi-line string +className:"string",begin:/\{"/,end:/"\}/,contains:[e.BACKSLASH_ESCAPE]},e.COMMENT(";","$",{relevance:0}),{ +// pre-processor +className:"meta",begin:"#",end:"$",keywords:{keyword:"addion cfunc cmd cmpopt comfunc const defcfunc deffunc define else endif enum epack func global if ifdef ifndef include modcfunc modfunc modinit modterm module pack packopt regcmd runtime undef usecom uselib"},contains:[e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),e.NUMBER_MODE,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{ +// label +className:"symbol",begin:"^\\*(\\w+|@)"},e.NUMBER_MODE,e.C_NUMBER_MODE]}}}function Eh(){if(Do)return Io;return Do=1,Io=function(e){const t="HTTP/([32]|1\\.[01])",n={className:"attribute",begin:e.regex.concat("^",/[A-Za-z][A-Za-z0-9-]*/,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},r=[n,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[ +// response +{begin:"^(?="+t+" \\d{3})",end:/$/,contains:[{className:"meta",begin:t},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:r}}, +// request +{begin:"(?=^[A-Z]+ (.*?) "+t+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:t},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:r}}, +// to allow headers to work even without a preamble +e.inherit(n,{relevance:0})]}}}function Sh(){if(Lo)return Mo;return Lo=1,Mo=function(e){const t="a-zA-Z_\\-!.?+*=<>&#'",n="["+t+"]["+t+"0-9/;:]*",r={$pattern:n,built_in: +// keywords +"!= % %= & &= * ** **= *= *map + += , --build-class-- --import-- -= . / // //= /= < << <<= <= = > >= >> >>= @ @= ^ ^= abs accumulate all and any ap-compose ap-dotimes ap-each ap-each-while ap-filter ap-first ap-if ap-last ap-map ap-map-when ap-pipe ap-reduce ap-reject apply as-> ascii assert assoc bin break butlast callable calling-module-name car case cdr chain chr coll? combinations compile compress cond cons cons? continue count curry cut cycle dec def default-method defclass defmacro defmacro-alias defmacro/g! defmain defmethod defmulti defn defn-alias defnc defnr defreader defseq del delattr delete-route dict-comp dir disassemble dispatch-reader-macro distinct divmod do doto drop drop-last drop-while empty? end-sequence eval eval-and-compile eval-when-compile even? every? except exec filter first flatten float? fn fnc fnr for for* format fraction genexpr gensym get getattr global globals group-by hasattr hash hex id identity if if* if-not if-python2 import in inc input instance? integer integer-char? integer? interleave interpose is is-coll is-cons is-empty is-even is-every is-float is-instance is-integer is-integer-char is-iterable is-iterator is-keyword is-neg is-none is-not is-numeric is-odd is-pos is-string is-symbol is-zero isinstance islice issubclass iter iterable? iterate iterator? keyword keyword? lambda last len let lif lif-not list* list-comp locals loop macro-error macroexpand macroexpand-1 macroexpand-all map max merge-with method-decorator min multi-decorator multicombinations name neg? next none? nonlocal not not-in not? nth numeric? oct odd? open or ord partition permutations pos? post-route postwalk pow prewalk print product profile/calls profile/cpu put-route quasiquote quote raise range read read-str recursive-replace reduce remove repeat repeatedly repr require rest round route route-with-methods rwm second seq set-comp setattr setv some sorted string string? sum switch symbol? take take-nth take-while tee try unless unquote unquote-splicing vars walk when while with with* with-decorator with-gensyms xi xor yield yield-from zero? zip zip-longest | |= ~"},i={begin:n,relevance:0},a={className:"number",begin:"[-+]?\\d+(\\.\\d+)?",relevance:0},o=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),s=e.COMMENT(";","$",{relevance:0}),l={className:"literal",begin:/\b([Tt]rue|[Ff]alse|nil|None)\b/},c={begin:"[\\[\\{]",end:"[\\]\\}]",relevance:0},u={className:"comment",begin:"\\^"+n},d=e.COMMENT("\\^\\{","\\}"),h={className:"symbol",begin:"[:]{1,2}"+n},p={begin:"\\(",end:"\\)"},g={endsWithParent:!0,relevance:0},m={className:"name",relevance:0,keywords:r,begin:n,starts:g},_=[p,o,u,d,s,h,c,a,l,i];return p.contains=[e.COMMENT("comment",""),m,g],g.contains=_,c.contains=_,{name:"Hy",aliases:["hylang"],illegal:/\S/,contains:[e.SHEBANG(),p,o,u,d,s,h,c,a,l]}}}function Th(){if(jo)return Po;return jo=1,Po=function(e){return{name:"Inform 7",aliases:["i7"],case_insensitive:!0,keywords:{ +// Some keywords more or less unique to I7, for relevance. +keyword: +// kind: +"thing room person man woman animal container supporter backdrop door scenery open closed locked inside gender is are say understand kind of rule"},contains:[{className:"string",begin:'"',end:'"',relevance:0,contains:[{className:"subst",begin:"\\[",end:"\\]"}]},{className:"section",begin:/^(Volume|Book|Part|Chapter|Section|Table)\b/,end:"$"},{ +// Rule definition +// This is here for relevance. +begin:/^(Check|Carry out|Report|Instead of|To|Rule|When|Before|After)\b/,end:":",contains:[{ +// Rule name +begin:"\\(This",end:"\\)"}]},{className:"comment",begin:"\\[",end:"\\]",contains:["self"]}]}}}function Ch(){if(Bo)return Fo;return Bo=1,Fo=function(e){const t=e.regex,n={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:e.NUMBER_RE}]},r=e.COMMENT();r.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];const i={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},a={className:"literal",begin:/\bon|off|true|false|yes|no\b/},o={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},s={begin:/\[/,end:/\]/,contains:[r,a,i,o,n,"self"],relevance:0},l=t.either(/[A-Za-z0-9_-]+/,/"(\\"|[^"])*"/,/'[^']*'/);return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[r,{className:"section",begin:/\[+/,end:/\]+/},{begin:t.concat(l,"(\\s*\\.\\s*",l,")*",t.lookahead(/\s*=\s*[^#\s]/)),className:"attr",starts:{end:/$/,contains:[r,s,a,i,o,n]}}]}}}function xh(){if(Go)return Uo;return Go=1,Uo=function(e){const t=e.regex,n=/(_[a-z_\d]+)?/,r=/([de][+-]?\d+)?/,i={className:"number",variants:[{begin:t.concat(/\b\d+/,/\.(\d*)/,r,n)},{begin:t.concat(/\b\d+/,r,n)},{begin:t.concat(/\.\d+/,r,n)}],relevance:0};return{name:"IRPF90",case_insensitive:!0,keywords:{literal:".False. .True.",keyword:"kind do while private call intrinsic where elsewhere type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. goto save else use module select case access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit continue format pause cycle exit c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg synchronous nopass non_overridable pass protected volatile abstract extends import non_intrinsic value deferred generic final enumerator class associate bind enum c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated c_f_pointer c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure integer real character complex logical dimension allocatable|10 parameter external implicit|10 none double precision assign intent optional pointer target in out common equivalence data begin_provider &begin_provider end_provider begin_shell end_shell begin_template end_template subst assert touch soft_touch provide no_dep free irp_if irp_else irp_endif irp_write irp_read",built_in:"alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_of acosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr num_images parity popcnt poppar shifta shiftl shiftr this_image IRP_ALIGN irp_here"},illegal:/\/\*/,contains:[e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{className:"string",relevance:0}),{className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]},e.COMMENT("!","$",{relevance:0}),e.COMMENT("begin_doc","end_doc",{relevance:10}),i]}}}function kh(){if($o)return zo;return $o=1,zo=function(e){const t="[A-Za-zА-Яа-яёЁ_!][A-Za-zА-Яа-яёЁ_0-9]*",n={className:"number",begin:e.NUMBER_RE,relevance:0},r={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"}]},i={className:"doctag",begin:"\\b(?:TODO|DONE|BEGIN|END|STUB|CHG|FIXME|NOTE|BUG|XXX)\\b",relevance:0},a={variants:[{className:"comment",begin:"//",end:"$",relevance:0,contains:[e.PHRASAL_WORDS_MODE,i]},{className:"comment",begin:"/\\*",end:"\\*/",relevance:0,contains:[e.PHRASAL_WORDS_MODE,i]}]},o={$pattern:t,keyword:"and и else иначе endexcept endfinally endforeach конецвсе endif конецесли endwhile конецпока except exitfor finally foreach все if если in в not не or или try while пока ",built_in:"SYSRES_CONST_ACCES_RIGHT_TYPE_EDIT SYSRES_CONST_ACCES_RIGHT_TYPE_FULL SYSRES_CONST_ACCES_RIGHT_TYPE_VIEW SYSRES_CONST_ACCESS_MODE_REQUISITE_CODE SYSRES_CONST_ACCESS_NO_ACCESS_VIEW SYSRES_CONST_ACCESS_NO_ACCESS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW SYSRES_CONST_ACCESS_RIGHTS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_TYPE_CHANGE SYSRES_CONST_ACCESS_TYPE_CHANGE_CODE SYSRES_CONST_ACCESS_TYPE_EXISTS SYSRES_CONST_ACCESS_TYPE_EXISTS_CODE SYSRES_CONST_ACCESS_TYPE_FULL SYSRES_CONST_ACCESS_TYPE_FULL_CODE SYSRES_CONST_ACCESS_TYPE_VIEW SYSRES_CONST_ACCESS_TYPE_VIEW_CODE SYSRES_CONST_ACTION_TYPE_ABORT SYSRES_CONST_ACTION_TYPE_ACCEPT SYSRES_CONST_ACTION_TYPE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ADD_ATTACHMENT SYSRES_CONST_ACTION_TYPE_CHANGE_CARD SYSRES_CONST_ACTION_TYPE_CHANGE_KIND SYSRES_CONST_ACTION_TYPE_CHANGE_STORAGE SYSRES_CONST_ACTION_TYPE_CONTINUE SYSRES_CONST_ACTION_TYPE_COPY SYSRES_CONST_ACTION_TYPE_CREATE SYSRES_CONST_ACTION_TYPE_CREATE_VERSION SYSRES_CONST_ACTION_TYPE_DELETE SYSRES_CONST_ACTION_TYPE_DELETE_ATTACHMENT SYSRES_CONST_ACTION_TYPE_DELETE_VERSION SYSRES_CONST_ACTION_TYPE_DISABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE_AND_PASSWORD SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_PASSWORD SYSRES_CONST_ACTION_TYPE_EXPORT_WITH_LOCK SYSRES_CONST_ACTION_TYPE_EXPORT_WITHOUT_LOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITH_UNLOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITHOUT_UNLOCK SYSRES_CONST_ACTION_TYPE_LIFE_CYCLE_STAGE SYSRES_CONST_ACTION_TYPE_LOCK SYSRES_CONST_ACTION_TYPE_LOCK_FOR_SERVER SYSRES_CONST_ACTION_TYPE_LOCK_MODIFY SYSRES_CONST_ACTION_TYPE_MARK_AS_READED SYSRES_CONST_ACTION_TYPE_MARK_AS_UNREADED SYSRES_CONST_ACTION_TYPE_MODIFY SYSRES_CONST_ACTION_TYPE_MODIFY_CARD SYSRES_CONST_ACTION_TYPE_MOVE_TO_ARCHIVE SYSRES_CONST_ACTION_TYPE_OFF_ENCRYPTION SYSRES_CONST_ACTION_TYPE_PASSWORD_CHANGE SYSRES_CONST_ACTION_TYPE_PERFORM SYSRES_CONST_ACTION_TYPE_RECOVER_FROM_LOCAL_COPY SYSRES_CONST_ACTION_TYPE_RESTART SYSRES_CONST_ACTION_TYPE_RESTORE_FROM_ARCHIVE SYSRES_CONST_ACTION_TYPE_REVISION SYSRES_CONST_ACTION_TYPE_SEND_BY_MAIL SYSRES_CONST_ACTION_TYPE_SIGN SYSRES_CONST_ACTION_TYPE_START SYSRES_CONST_ACTION_TYPE_UNLOCK SYSRES_CONST_ACTION_TYPE_UNLOCK_FROM_SERVER SYSRES_CONST_ACTION_TYPE_VERSION_STATE SYSRES_CONST_ACTION_TYPE_VERSION_VISIBILITY SYSRES_CONST_ACTION_TYPE_VIEW SYSRES_CONST_ACTION_TYPE_VIEW_SHADOW_COPY SYSRES_CONST_ACTION_TYPE_WORKFLOW_DESCRIPTION_MODIFY SYSRES_CONST_ACTION_TYPE_WRITE_HISTORY SYSRES_CONST_ACTIVE_VERSION_STATE_PICK_VALUE SYSRES_CONST_ADD_REFERENCE_MODE_NAME SYSRES_CONST_ADDITION_REQUISITE_CODE SYSRES_CONST_ADDITIONAL_PARAMS_REQUISITE_CODE SYSRES_CONST_ADITIONAL_JOB_END_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_READ_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_START_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_STATE_REQUISITE_NAME SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE_ACTION SYSRES_CONST_ALL_ACCEPT_CONDITION_RUS SYSRES_CONST_ALL_USERS_GROUP SYSRES_CONST_ALL_USERS_GROUP_NAME SYSRES_CONST_ALL_USERS_SERVER_GROUP_NAME SYSRES_CONST_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_APP_VIEWER_TYPE_REQUISITE_CODE SYSRES_CONST_APPROVING_SIGNATURE_NAME SYSRES_CONST_APPROVING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE_CODE SYSRES_CONST_ATTACH_TYPE_COMPONENT_TOKEN SYSRES_CONST_ATTACH_TYPE_DOC SYSRES_CONST_ATTACH_TYPE_EDOC SYSRES_CONST_ATTACH_TYPE_FOLDER SYSRES_CONST_ATTACH_TYPE_JOB SYSRES_CONST_ATTACH_TYPE_REFERENCE SYSRES_CONST_ATTACH_TYPE_TASK SYSRES_CONST_AUTH_ENCODED_PASSWORD SYSRES_CONST_AUTH_ENCODED_PASSWORD_CODE SYSRES_CONST_AUTH_NOVELL SYSRES_CONST_AUTH_PASSWORD SYSRES_CONST_AUTH_PASSWORD_CODE SYSRES_CONST_AUTH_WINDOWS SYSRES_CONST_AUTHENTICATING_SIGNATURE_NAME SYSRES_CONST_AUTHENTICATING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_AUTO_ENUM_METHOD_FLAG SYSRES_CONST_AUTO_NUMERATION_CODE SYSRES_CONST_AUTO_STRONG_ENUM_METHOD_FLAG SYSRES_CONST_AUTOTEXT_NAME_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_TEXT_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_USAGE_ALL SYSRES_CONST_AUTOTEXT_USAGE_ALL_CODE SYSRES_CONST_AUTOTEXT_USAGE_SIGN SYSRES_CONST_AUTOTEXT_USAGE_SIGN_CODE SYSRES_CONST_AUTOTEXT_USAGE_WORK SYSRES_CONST_AUTOTEXT_USAGE_WORK_CODE SYSRES_CONST_AUTOTEXT_USE_ANYWHERE_CODE SYSRES_CONST_AUTOTEXT_USE_ON_SIGNING_CODE SYSRES_CONST_AUTOTEXT_USE_ON_WORK_CODE SYSRES_CONST_BEGIN_DATE_REQUISITE_CODE SYSRES_CONST_BLACK_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BLUE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BTN_PART SYSRES_CONST_CALCULATED_ROLE_TYPE_CODE SYSRES_CONST_CALL_TYPE_VARIABLE_BUTTON_VALUE SYSRES_CONST_CALL_TYPE_VARIABLE_PROGRAM_VALUE SYSRES_CONST_CANCEL_MESSAGE_FUNCTION_RESULT SYSRES_CONST_CARD_PART SYSRES_CONST_CARD_REFERENCE_MODE_NAME SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_AND_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_VALUE SYSRES_CONST_CHECK_PARAM_VALUE_DATE_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_FLOAT_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_INTEGER_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_PICK_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_REEFRENCE_PARAM_TYPE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_CODE_COMPONENT_TYPE_ADMIN SYSRES_CONST_CODE_COMPONENT_TYPE_DEVELOPER SYSRES_CONST_CODE_COMPONENT_TYPE_DOCS SYSRES_CONST_CODE_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_CODE_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_CODE_COMPONENT_TYPE_OTHER SYSRES_CONST_CODE_COMPONENT_TYPE_REFERENCE SYSRES_CONST_CODE_COMPONENT_TYPE_REPORT SYSRES_CONST_CODE_COMPONENT_TYPE_SCRIPT SYSRES_CONST_CODE_COMPONENT_TYPE_URL SYSRES_CONST_CODE_REQUISITE_ACCESS SYSRES_CONST_CODE_REQUISITE_CODE SYSRES_CONST_CODE_REQUISITE_COMPONENT SYSRES_CONST_CODE_REQUISITE_DESCRIPTION SYSRES_CONST_CODE_REQUISITE_EXCLUDE_COMPONENT SYSRES_CONST_CODE_REQUISITE_RECORD SYSRES_CONST_COMMENT_REQ_CODE SYSRES_CONST_COMMON_SETTINGS_REQUISITE_CODE SYSRES_CONST_COMP_CODE_GRD SYSRES_CONST_COMPONENT_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_COMPONENT_TYPE_ADMIN_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DEVELOPER_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DOCS SYSRES_CONST_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_COMPONENT_TYPE_EDOCS SYSRES_CONST_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_COMPONENT_TYPE_OTHER SYSRES_CONST_COMPONENT_TYPE_REFERENCE_TYPES SYSRES_CONST_COMPONENT_TYPE_REFERENCES SYSRES_CONST_COMPONENT_TYPE_REPORTS SYSRES_CONST_COMPONENT_TYPE_SCRIPTS SYSRES_CONST_COMPONENT_TYPE_URL SYSRES_CONST_COMPONENTS_REMOTE_SERVERS_VIEW_CODE SYSRES_CONST_CONDITION_BLOCK_DESCRIPTION SYSRES_CONST_CONST_FIRM_STATUS_COMMON SYSRES_CONST_CONST_FIRM_STATUS_INDIVIDUAL SYSRES_CONST_CONST_NEGATIVE_VALUE SYSRES_CONST_CONST_POSITIVE_VALUE SYSRES_CONST_CONST_SERVER_STATUS_DONT_REPLICATE SYSRES_CONST_CONST_SERVER_STATUS_REPLICATE SYSRES_CONST_CONTENTS_REQUISITE_CODE SYSRES_CONST_DATA_TYPE_BOOLEAN SYSRES_CONST_DATA_TYPE_DATE SYSRES_CONST_DATA_TYPE_FLOAT SYSRES_CONST_DATA_TYPE_INTEGER SYSRES_CONST_DATA_TYPE_PICK SYSRES_CONST_DATA_TYPE_REFERENCE SYSRES_CONST_DATA_TYPE_STRING SYSRES_CONST_DATA_TYPE_TEXT SYSRES_CONST_DATA_TYPE_VARIANT SYSRES_CONST_DATE_CLOSE_REQ_CODE SYSRES_CONST_DATE_FORMAT_DATE_ONLY_CHAR SYSRES_CONST_DATE_OPEN_REQ_CODE SYSRES_CONST_DATE_REQUISITE SYSRES_CONST_DATE_REQUISITE_CODE SYSRES_CONST_DATE_REQUISITE_NAME SYSRES_CONST_DATE_REQUISITE_TYPE SYSRES_CONST_DATE_TYPE_CHAR SYSRES_CONST_DATETIME_FORMAT_VALUE SYSRES_CONST_DEA_ACCESS_RIGHTS_ACTION_CODE SYSRES_CONST_DESCRIPTION_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_DET1_PART SYSRES_CONST_DET2_PART SYSRES_CONST_DET3_PART SYSRES_CONST_DET4_PART SYSRES_CONST_DET5_PART SYSRES_CONST_DET6_PART SYSRES_CONST_DETAIL_DATASET_KEY_REQUISITE_CODE SYSRES_CONST_DETAIL_PICK_REQUISITE_CODE SYSRES_CONST_DETAIL_REQ_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_NAME SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_NAME SYSRES_CONST_DOCUMENT_STORAGES_CODE SYSRES_CONST_DOCUMENT_TEMPLATES_TYPE_NAME SYSRES_CONST_DOUBLE_REQUISITE_CODE SYSRES_CONST_EDITOR_CLOSE_FILE_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_CLOSE_PROCESS_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_TYPE_REQUISITE_CODE SYSRES_CONST_EDITORS_APPLICATION_NAME_REQUISITE_CODE SYSRES_CONST_EDITORS_CREATE_SEVERAL_PROCESSES_REQUISITE_CODE SYSRES_CONST_EDITORS_EXTENSION_REQUISITE_CODE SYSRES_CONST_EDITORS_OBSERVER_BY_PROCESS_TYPE SYSRES_CONST_EDITORS_REFERENCE_CODE SYSRES_CONST_EDITORS_REPLACE_SPEC_CHARS_REQUISITE_CODE SYSRES_CONST_EDITORS_USE_PLUGINS_REQUISITE_CODE SYSRES_CONST_EDITORS_VIEW_DOCUMENT_OPENED_TO_EDIT_CODE SYSRES_CONST_EDOC_CARD_TYPE_REQUISITE_CODE SYSRES_CONST_EDOC_CARD_TYPES_LINK_REQUISITE_CODE SYSRES_CONST_EDOC_CERTIFICATE_AND_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_CERTIFICATE_ENCODE_CODE SYSRES_CONST_EDOC_DATE_REQUISITE_CODE SYSRES_CONST_EDOC_KIND_REFERENCE_CODE SYSRES_CONST_EDOC_KINDS_BY_TEMPLATE_ACTION_CODE SYSRES_CONST_EDOC_MANAGE_ACCESS_CODE SYSRES_CONST_EDOC_NONE_ENCODE_CODE SYSRES_CONST_EDOC_NUMBER_REQUISITE_CODE SYSRES_CONST_EDOC_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_READONLY_ACCESS_CODE SYSRES_CONST_EDOC_SHELL_LIFE_TYPE_VIEW_VALUE SYSRES_CONST_EDOC_SIZE_RESTRICTION_PRIORITY_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_CHECK_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_COMPUTER_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_DATABASE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_EDIT_IN_STORAGE_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_LOCAL_PATH_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_SHARED_SOURCE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_EDOC_TYPES_REFERENCE_CODE SYSRES_CONST_EDOC_VERSION_ACTIVE_STAGE_CODE SYSRES_CONST_EDOC_VERSION_DESIGN_STAGE_CODE SYSRES_CONST_EDOC_VERSION_OBSOLETE_STAGE_CODE SYSRES_CONST_EDOC_WRITE_ACCES_CODE SYSRES_CONST_EDOCUMENT_CARD_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_END_DATE_REQUISITE_CODE SYSRES_CONST_ENUMERATION_TYPE_REQUISITE_CODE SYSRES_CONST_EXECUTE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_EXECUTIVE_FILE_STORAGE_TYPE SYSRES_CONST_EXIST_CONST SYSRES_CONST_EXIST_VALUE SYSRES_CONST_EXPORT_LOCK_TYPE_ASK SYSRES_CONST_EXPORT_LOCK_TYPE_WITH_LOCK SYSRES_CONST_EXPORT_LOCK_TYPE_WITHOUT_LOCK SYSRES_CONST_EXPORT_VERSION_TYPE_ASK SYSRES_CONST_EXPORT_VERSION_TYPE_LAST SYSRES_CONST_EXPORT_VERSION_TYPE_LAST_ACTIVE SYSRES_CONST_EXTENSION_REQUISITE_CODE SYSRES_CONST_FILTER_NAME_REQUISITE_CODE SYSRES_CONST_FILTER_REQUISITE_CODE SYSRES_CONST_FILTER_TYPE_COMMON_CODE SYSRES_CONST_FILTER_TYPE_COMMON_NAME SYSRES_CONST_FILTER_TYPE_USER_CODE SYSRES_CONST_FILTER_TYPE_USER_NAME SYSRES_CONST_FILTER_VALUE_REQUISITE_NAME SYSRES_CONST_FLOAT_NUMBER_FORMAT_CHAR SYSRES_CONST_FLOAT_REQUISITE_TYPE SYSRES_CONST_FOLDER_AUTHOR_VALUE SYSRES_CONST_FOLDER_KIND_ANY_OBJECTS SYSRES_CONST_FOLDER_KIND_COMPONENTS SYSRES_CONST_FOLDER_KIND_EDOCS SYSRES_CONST_FOLDER_KIND_JOBS SYSRES_CONST_FOLDER_KIND_TASKS SYSRES_CONST_FOLDER_TYPE_COMMON SYSRES_CONST_FOLDER_TYPE_COMPONENT SYSRES_CONST_FOLDER_TYPE_FAVORITES SYSRES_CONST_FOLDER_TYPE_INBOX SYSRES_CONST_FOLDER_TYPE_OUTBOX SYSRES_CONST_FOLDER_TYPE_QUICK_LAUNCH SYSRES_CONST_FOLDER_TYPE_SEARCH SYSRES_CONST_FOLDER_TYPE_SHORTCUTS SYSRES_CONST_FOLDER_TYPE_USER SYSRES_CONST_FROM_DICTIONARY_ENUM_METHOD_FLAG SYSRES_CONST_FULL_SUBSTITUTE_TYPE SYSRES_CONST_FULL_SUBSTITUTE_TYPE_CODE SYSRES_CONST_FUNCTION_CANCEL_RESULT SYSRES_CONST_FUNCTION_CATEGORY_SYSTEM SYSRES_CONST_FUNCTION_CATEGORY_USER SYSRES_CONST_FUNCTION_FAILURE_RESULT SYSRES_CONST_FUNCTION_SAVE_RESULT SYSRES_CONST_GENERATED_REQUISITE SYSRES_CONST_GREEN_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_GROUP_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_NAME SYSRES_CONST_GROUP_CATEGORY_SERVICE_CODE SYSRES_CONST_GROUP_CATEGORY_SERVICE_NAME SYSRES_CONST_GROUP_COMMON_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_FULL_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_CODES_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_SERVICE_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_USER_REQUISITE_CODE SYSRES_CONST_GROUPS_REFERENCE_CODE SYSRES_CONST_GROUPS_REQUISITE_CODE SYSRES_CONST_HIDDEN_MODE_NAME SYSRES_CONST_HIGH_LVL_REQUISITE_CODE SYSRES_CONST_HISTORY_ACTION_CREATE_CODE SYSRES_CONST_HISTORY_ACTION_DELETE_CODE SYSRES_CONST_HISTORY_ACTION_EDIT_CODE SYSRES_CONST_HOUR_CHAR SYSRES_CONST_ID_REQUISITE_CODE SYSRES_CONST_IDSPS_REQUISITE_CODE SYSRES_CONST_IMAGE_MODE_COLOR SYSRES_CONST_IMAGE_MODE_GREYSCALE SYSRES_CONST_IMAGE_MODE_MONOCHROME SYSRES_CONST_IMPORTANCE_HIGH SYSRES_CONST_IMPORTANCE_LOW SYSRES_CONST_IMPORTANCE_NORMAL SYSRES_CONST_IN_DESIGN_VERSION_STATE_PICK_VALUE SYSRES_CONST_INCOMING_WORK_RULE_TYPE_CODE SYSRES_CONST_INT_REQUISITE SYSRES_CONST_INT_REQUISITE_TYPE SYSRES_CONST_INTEGER_NUMBER_FORMAT_CHAR SYSRES_CONST_INTEGER_TYPE_CHAR SYSRES_CONST_IS_GENERATED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_PUBLIC_ROLE_REQUISITE_CODE SYSRES_CONST_IS_REMOTE_USER_NEGATIVE_VALUE SYSRES_CONST_IS_REMOTE_USER_POSITIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_STORED_VALUE SYSRES_CONST_ITALIC_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_JOB_BLOCK_DESCRIPTION SYSRES_CONST_JOB_KIND_CONTROL_JOB SYSRES_CONST_JOB_KIND_JOB SYSRES_CONST_JOB_KIND_NOTICE SYSRES_CONST_JOB_STATE_ABORTED SYSRES_CONST_JOB_STATE_COMPLETE SYSRES_CONST_JOB_STATE_WORKING SYSRES_CONST_KIND_REQUISITE_CODE SYSRES_CONST_KIND_REQUISITE_NAME SYSRES_CONST_KINDS_CREATE_SHADOW_COPIES_REQUISITE_CODE SYSRES_CONST_KINDS_DEFAULT_EDOC_LIFE_STAGE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALL_TEPLATES_ALLOWED_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_LIFE_CYCLE_STAGE_CHANGING_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_MULTIPLE_ACTIVE_VERSIONS_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_SHARE_ACCES_RIGHTS_BY_DEFAULT_CODE SYSRES_CONST_KINDS_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_TYPE_REQUISITE_CODE SYSRES_CONST_KINDS_SIGNERS_REQUISITES_CODE SYSRES_CONST_KOD_INPUT_TYPE SYSRES_CONST_LAST_UPDATE_DATE_REQUISITE_CODE SYSRES_CONST_LIFE_CYCLE_START_STAGE_REQUISITE_CODE SYSRES_CONST_LILAC_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_LINK_OBJECT_KIND_COMPONENT SYSRES_CONST_LINK_OBJECT_KIND_DOCUMENT SYSRES_CONST_LINK_OBJECT_KIND_EDOC SYSRES_CONST_LINK_OBJECT_KIND_FOLDER SYSRES_CONST_LINK_OBJECT_KIND_JOB SYSRES_CONST_LINK_OBJECT_KIND_REFERENCE SYSRES_CONST_LINK_OBJECT_KIND_TASK SYSRES_CONST_LINK_REF_TYPE_REQUISITE_CODE SYSRES_CONST_LIST_REFERENCE_MODE_NAME SYSRES_CONST_LOCALIZATION_DICTIONARY_MAIN_VIEW_CODE SYSRES_CONST_MAIN_VIEW_CODE SYSRES_CONST_MANUAL_ENUM_METHOD_FLAG SYSRES_CONST_MASTER_COMP_TYPE_REQUISITE_CODE SYSRES_CONST_MASTER_TABLE_REC_ID_REQUISITE_CODE SYSRES_CONST_MAXIMIZED_MODE_NAME SYSRES_CONST_ME_VALUE SYSRES_CONST_MESSAGE_ATTENTION_CAPTION SYSRES_CONST_MESSAGE_CONFIRMATION_CAPTION SYSRES_CONST_MESSAGE_ERROR_CAPTION SYSRES_CONST_MESSAGE_INFORMATION_CAPTION SYSRES_CONST_MINIMIZED_MODE_NAME SYSRES_CONST_MINUTE_CHAR SYSRES_CONST_MODULE_REQUISITE_CODE SYSRES_CONST_MONITORING_BLOCK_DESCRIPTION SYSRES_CONST_MONTH_FORMAT_VALUE SYSRES_CONST_NAME_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_NAME_REQUISITE_CODE SYSRES_CONST_NAME_SINGULAR_REQUISITE_CODE SYSRES_CONST_NAMEAN_INPUT_TYPE SYSRES_CONST_NEGATIVE_PICK_VALUE SYSRES_CONST_NEGATIVE_VALUE SYSRES_CONST_NO SYSRES_CONST_NO_PICK_VALUE SYSRES_CONST_NO_SIGNATURE_REQUISITE_CODE SYSRES_CONST_NO_VALUE SYSRES_CONST_NONE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_NORMAL_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NORMAL_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_NORMAL_MODE_NAME SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_NOTE_REQUISITE_CODE SYSRES_CONST_NOTICE_BLOCK_DESCRIPTION SYSRES_CONST_NUM_REQUISITE SYSRES_CONST_NUM_STR_REQUISITE_CODE SYSRES_CONST_NUMERATION_AUTO_NOT_STRONG SYSRES_CONST_NUMERATION_AUTO_STRONG SYSRES_CONST_NUMERATION_FROM_DICTONARY SYSRES_CONST_NUMERATION_MANUAL SYSRES_CONST_NUMERIC_TYPE_CHAR SYSRES_CONST_NUMREQ_REQUISITE_CODE SYSRES_CONST_OBSOLETE_VERSION_STATE_PICK_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_OPTIONAL_FORM_COMP_REQCODE_PREFIX SYSRES_CONST_ORANGE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_ORIGINALREF_REQUISITE_CODE SYSRES_CONST_OURFIRM_REF_CODE SYSRES_CONST_OURFIRM_REQUISITE_CODE SYSRES_CONST_OURFIRM_VAR SYSRES_CONST_OUTGOING_WORK_RULE_TYPE_CODE SYSRES_CONST_PICK_NEGATIVE_RESULT SYSRES_CONST_PICK_POSITIVE_RESULT SYSRES_CONST_PICK_REQUISITE SYSRES_CONST_PICK_REQUISITE_TYPE SYSRES_CONST_PICK_TYPE_CHAR SYSRES_CONST_PLAN_STATUS_REQUISITE_CODE SYSRES_CONST_PLATFORM_VERSION_COMMENT SYSRES_CONST_PLUGINS_SETTINGS_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_POSITIVE_PICK_VALUE SYSRES_CONST_POWER_TO_CREATE_ACTION_CODE SYSRES_CONST_POWER_TO_SIGN_ACTION_CODE SYSRES_CONST_PRIORITY_REQUISITE_CODE SYSRES_CONST_QUALIFIED_TASK_TYPE SYSRES_CONST_QUALIFIED_TASK_TYPE_CODE SYSRES_CONST_RECSTAT_REQUISITE_CODE SYSRES_CONST_RED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_REF_ID_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_REF_REQUISITE SYSRES_CONST_REF_REQUISITE_TYPE SYSRES_CONST_REF_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_REFERENCE_RECORD_HISTORY_CREATE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_DELETE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_MODIFY_ACTION_CODE SYSRES_CONST_REFERENCE_TYPE_CHAR SYSRES_CONST_REFERENCE_TYPE_REQUISITE_NAME SYSRES_CONST_REFERENCES_ADD_PARAMS_REQUISITE_CODE SYSRES_CONST_REFERENCES_DISPLAY_REQUISITE_REQUISITE_CODE SYSRES_CONST_REMOTE_SERVER_STATUS_WORKING SYSRES_CONST_REMOTE_SERVER_TYPE_MAIN SYSRES_CONST_REMOTE_SERVER_TYPE_SECONDARY SYSRES_CONST_REMOTE_USER_FLAG_VALUE_CODE SYSRES_CONST_REPORT_APP_EDITOR_INTERNAL SYSRES_CONST_REPORT_BASE_REPORT_ID_REQUISITE_CODE SYSRES_CONST_REPORT_BASE_REPORT_REQUISITE_CODE SYSRES_CONST_REPORT_SCRIPT_REQUISITE_CODE SYSRES_CONST_REPORT_TEMPLATE_REQUISITE_CODE SYSRES_CONST_REPORT_VIEWER_CODE_REQUISITE_CODE SYSRES_CONST_REQ_ALLOW_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_RECORD_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_SERVER_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_MODE_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_EDIT_CODE SYSRES_CONST_REQ_MODE_HIDDEN_CODE SYSRES_CONST_REQ_MODE_NOT_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_VIEW_CODE SYSRES_CONST_REQ_NUMBER_REQUISITE_CODE SYSRES_CONST_REQ_SECTION_VALUE SYSRES_CONST_REQ_TYPE_VALUE SYSRES_CONST_REQUISITE_FORMAT_BY_UNIT SYSRES_CONST_REQUISITE_FORMAT_DATE_FULL SYSRES_CONST_REQUISITE_FORMAT_DATE_TIME SYSRES_CONST_REQUISITE_FORMAT_LEFT SYSRES_CONST_REQUISITE_FORMAT_RIGHT SYSRES_CONST_REQUISITE_FORMAT_WITHOUT_UNIT SYSRES_CONST_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_REQUISITE_SECTION_ACTIONS SYSRES_CONST_REQUISITE_SECTION_BUTTON SYSRES_CONST_REQUISITE_SECTION_BUTTONS SYSRES_CONST_REQUISITE_SECTION_CARD SYSRES_CONST_REQUISITE_SECTION_TABLE SYSRES_CONST_REQUISITE_SECTION_TABLE10 SYSRES_CONST_REQUISITE_SECTION_TABLE11 SYSRES_CONST_REQUISITE_SECTION_TABLE12 SYSRES_CONST_REQUISITE_SECTION_TABLE13 SYSRES_CONST_REQUISITE_SECTION_TABLE14 SYSRES_CONST_REQUISITE_SECTION_TABLE15 SYSRES_CONST_REQUISITE_SECTION_TABLE16 SYSRES_CONST_REQUISITE_SECTION_TABLE17 SYSRES_CONST_REQUISITE_SECTION_TABLE18 SYSRES_CONST_REQUISITE_SECTION_TABLE19 SYSRES_CONST_REQUISITE_SECTION_TABLE2 SYSRES_CONST_REQUISITE_SECTION_TABLE20 SYSRES_CONST_REQUISITE_SECTION_TABLE21 SYSRES_CONST_REQUISITE_SECTION_TABLE22 SYSRES_CONST_REQUISITE_SECTION_TABLE23 SYSRES_CONST_REQUISITE_SECTION_TABLE24 SYSRES_CONST_REQUISITE_SECTION_TABLE3 SYSRES_CONST_REQUISITE_SECTION_TABLE4 SYSRES_CONST_REQUISITE_SECTION_TABLE5 SYSRES_CONST_REQUISITE_SECTION_TABLE6 SYSRES_CONST_REQUISITE_SECTION_TABLE7 SYSRES_CONST_REQUISITE_SECTION_TABLE8 SYSRES_CONST_REQUISITE_SECTION_TABLE9 SYSRES_CONST_REQUISITES_PSEUDOREFERENCE_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_RIGHT_ALIGNMENT_CODE SYSRES_CONST_ROLES_REFERENCE_CODE SYSRES_CONST_ROUTE_STEP_AFTER_RUS SYSRES_CONST_ROUTE_STEP_AND_CONDITION_RUS SYSRES_CONST_ROUTE_STEP_OR_CONDITION_RUS SYSRES_CONST_ROUTE_TYPE_COMPLEX SYSRES_CONST_ROUTE_TYPE_PARALLEL SYSRES_CONST_ROUTE_TYPE_SERIAL SYSRES_CONST_SBDATASETDESC_NEGATIVE_VALUE SYSRES_CONST_SBDATASETDESC_POSITIVE_VALUE SYSRES_CONST_SBVIEWSDESC_POSITIVE_VALUE SYSRES_CONST_SCRIPT_BLOCK_DESCRIPTION SYSRES_CONST_SEARCH_BY_TEXT_REQUISITE_CODE SYSRES_CONST_SEARCHES_COMPONENT_CONTENT SYSRES_CONST_SEARCHES_CRITERIA_ACTION_NAME SYSRES_CONST_SEARCHES_EDOC_CONTENT SYSRES_CONST_SEARCHES_FOLDER_CONTENT SYSRES_CONST_SEARCHES_JOB_CONTENT SYSRES_CONST_SEARCHES_REFERENCE_CODE SYSRES_CONST_SEARCHES_TASK_CONTENT SYSRES_CONST_SECOND_CHAR SYSRES_CONST_SECTION_REQUISITE_ACTIONS_VALUE SYSRES_CONST_SECTION_REQUISITE_CARD_VALUE SYSRES_CONST_SECTION_REQUISITE_CODE SYSRES_CONST_SECTION_REQUISITE_DETAIL_1_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_2_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_3_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_4_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_5_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_6_VALUE SYSRES_CONST_SELECT_REFERENCE_MODE_NAME SYSRES_CONST_SELECT_TYPE_SELECTABLE SYSRES_CONST_SELECT_TYPE_SELECTABLE_ONLY_CHILD SYSRES_CONST_SELECT_TYPE_SELECTABLE_WITH_CHILD SYSRES_CONST_SELECT_TYPE_UNSLECTABLE SYSRES_CONST_SERVER_TYPE_MAIN SYSRES_CONST_SERVICE_USER_CATEGORY_FIELD_VALUE SYSRES_CONST_SETTINGS_USER_REQUISITE_CODE SYSRES_CONST_SIGNATURE_AND_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SIGNATURE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SINGULAR_TITLE_REQUISITE_CODE SYSRES_CONST_SQL_SERVER_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_SQL_SERVER_ENCODE_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_STANDART_ROUTES_GROUPS_REFERENCE_CODE SYSRES_CONST_STATE_REQ_NAME SYSRES_CONST_STATE_REQUISITE_ACTIVE_VALUE SYSRES_CONST_STATE_REQUISITE_CLOSED_VALUE SYSRES_CONST_STATE_REQUISITE_CODE SYSRES_CONST_STATIC_ROLE_TYPE_CODE SYSRES_CONST_STATUS_PLAN_DEFAULT_VALUE SYSRES_CONST_STATUS_VALUE_AUTOCLEANING SYSRES_CONST_STATUS_VALUE_BLUE_SQUARE SYSRES_CONST_STATUS_VALUE_COMPLETE SYSRES_CONST_STATUS_VALUE_GREEN_SQUARE SYSRES_CONST_STATUS_VALUE_ORANGE_SQUARE SYSRES_CONST_STATUS_VALUE_PURPLE_SQUARE SYSRES_CONST_STATUS_VALUE_RED_SQUARE SYSRES_CONST_STATUS_VALUE_SUSPEND SYSRES_CONST_STATUS_VALUE_YELLOW_SQUARE SYSRES_CONST_STDROUTE_SHOW_TO_USERS_REQUISITE_CODE SYSRES_CONST_STORAGE_TYPE_FILE SYSRES_CONST_STORAGE_TYPE_SQL_SERVER SYSRES_CONST_STR_REQUISITE SYSRES_CONST_STRIKEOUT_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_STRING_FORMAT_LEFT_ALIGN_CHAR SYSRES_CONST_STRING_FORMAT_RIGHT_ALIGN_CHAR SYSRES_CONST_STRING_REQUISITE_CODE SYSRES_CONST_STRING_REQUISITE_TYPE SYSRES_CONST_STRING_TYPE_CHAR SYSRES_CONST_SUBSTITUTES_PSEUDOREFERENCE_CODE SYSRES_CONST_SUBTASK_BLOCK_DESCRIPTION SYSRES_CONST_SYSTEM_SETTING_CURRENT_USER_PARAM_VALUE SYSRES_CONST_SYSTEM_SETTING_EMPTY_VALUE_PARAM_VALUE SYSRES_CONST_SYSTEM_VERSION_COMMENT SYSRES_CONST_TASK_ACCESS_TYPE_ALL SYSRES_CONST_TASK_ACCESS_TYPE_ALL_MEMBERS SYSRES_CONST_TASK_ACCESS_TYPE_MANUAL SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION_AND_PASSWORD SYSRES_CONST_TASK_ENCODE_TYPE_NONE SYSRES_CONST_TASK_ENCODE_TYPE_PASSWORD SYSRES_CONST_TASK_ROUTE_ALL_CONDITION SYSRES_CONST_TASK_ROUTE_AND_CONDITION SYSRES_CONST_TASK_ROUTE_OR_CONDITION SYSRES_CONST_TASK_STATE_ABORTED SYSRES_CONST_TASK_STATE_COMPLETE SYSRES_CONST_TASK_STATE_CONTINUED SYSRES_CONST_TASK_STATE_CONTROL SYSRES_CONST_TASK_STATE_INIT SYSRES_CONST_TASK_STATE_WORKING SYSRES_CONST_TASK_TITLE SYSRES_CONST_TASK_TYPES_GROUPS_REFERENCE_CODE SYSRES_CONST_TASK_TYPES_REFERENCE_CODE SYSRES_CONST_TEMPLATES_REFERENCE_CODE SYSRES_CONST_TEST_DATE_REQUISITE_NAME SYSRES_CONST_TEST_DEV_DATABASE_NAME SYSRES_CONST_TEST_DEV_SYSTEM_CODE SYSRES_CONST_TEST_EDMS_DATABASE_NAME SYSRES_CONST_TEST_EDMS_MAIN_CODE SYSRES_CONST_TEST_EDMS_MAIN_DB_NAME SYSRES_CONST_TEST_EDMS_SECOND_CODE SYSRES_CONST_TEST_EDMS_SECOND_DB_NAME SYSRES_CONST_TEST_EDMS_SYSTEM_CODE SYSRES_CONST_TEST_NUMERIC_REQUISITE_NAME SYSRES_CONST_TEXT_REQUISITE SYSRES_CONST_TEXT_REQUISITE_CODE SYSRES_CONST_TEXT_REQUISITE_TYPE SYSRES_CONST_TEXT_TYPE_CHAR SYSRES_CONST_TYPE_CODE_REQUISITE_CODE SYSRES_CONST_TYPE_REQUISITE_CODE SYSRES_CONST_UNDEFINED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_UNITS_SECTION_ID_REQUISITE_CODE SYSRES_CONST_UNITS_SECTION_REQUISITE_CODE SYSRES_CONST_UNOPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_NAME SYSRES_CONST_USE_ACCESS_TYPE_CODE SYSRES_CONST_USE_ACCESS_TYPE_NAME SYSRES_CONST_USER_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_USER_ADDITIONAL_INFORMATION_REQUISITE_CODE SYSRES_CONST_USER_AND_GROUP_ID_FROM_PSEUDOREFERENCE_REQUISITE_CODE SYSRES_CONST_USER_CATEGORY_NORMAL SYSRES_CONST_USER_CERTIFICATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_STATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_SUBJECT_NAME_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_THUMBPRINT_REQUISITE_CODE SYSRES_CONST_USER_COMMON_CATEGORY SYSRES_CONST_USER_COMMON_CATEGORY_CODE SYSRES_CONST_USER_FULL_NAME_REQUISITE_CODE SYSRES_CONST_USER_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_USER_LOGIN_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_SYSTEM_REQUISITE_CODE SYSRES_CONST_USER_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_USER_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_USER_SERVICE_CATEGORY SYSRES_CONST_USER_SERVICE_CATEGORY_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_NAME SYSRES_CONST_USER_STATUS_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_DEVELOPER_NAME SYSRES_CONST_USER_STATUS_DISABLED_CODE SYSRES_CONST_USER_STATUS_DISABLED_NAME SYSRES_CONST_USER_STATUS_SYSTEM_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_USER_CODE SYSRES_CONST_USER_STATUS_USER_NAME SYSRES_CONST_USER_STATUS_USER_NAME_DEPRECATED SYSRES_CONST_USER_TYPE_FIELD_VALUE_USER SYSRES_CONST_USER_TYPE_REQUISITE_CODE SYSRES_CONST_USERS_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USERS_IS_MAIN_SERVER_REQUISITE_CODE SYSRES_CONST_USERS_REFERENCE_CODE SYSRES_CONST_USERS_REGISTRATION_CERTIFICATES_ACTION_NAME SYSRES_CONST_USERS_REQUISITE_CODE SYSRES_CONST_USERS_SYSTEM_REQUISITE_CODE SYSRES_CONST_USERS_USER_ACCESS_RIGHTS_TYPR_REQUISITE_CODE SYSRES_CONST_USERS_USER_AUTHENTICATION_REQUISITE_CODE SYSRES_CONST_USERS_USER_COMPONENT_REQUISITE_CODE SYSRES_CONST_USERS_USER_GROUP_REQUISITE_CODE SYSRES_CONST_USERS_VIEW_CERTIFICATES_ACTION_NAME SYSRES_CONST_VIEW_DEFAULT_CODE SYSRES_CONST_VIEW_DEFAULT_NAME SYSRES_CONST_VIEWER_REQUISITE_CODE SYSRES_CONST_WAITING_BLOCK_DESCRIPTION SYSRES_CONST_WIZARD_FORM_LABEL_TEST_STRING SYSRES_CONST_WIZARD_QUERY_PARAM_HEIGHT_ETALON_STRING SYSRES_CONST_WIZARD_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_WORK_RULES_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_WORK_TIME_CALENDAR_REFERENCE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORK_WORKFLOW_SOFT_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORKFLOW_ROUTE_TYPR_HARD SYSRES_CONST_WORKFLOW_ROUTE_TYPR_SOFT SYSRES_CONST_XML_ENCODING SYSRES_CONST_XREC_STAT_REQUISITE_CODE SYSRES_CONST_XRECID_FIELD_NAME SYSRES_CONST_YES SYSRES_CONST_YES_NO_2_REQUISITE_CODE SYSRES_CONST_YES_NO_REQUISITE_CODE SYSRES_CONST_YES_NO_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_YES_PICK_VALUE SYSRES_CONST_YES_VALUE CR FALSE nil NO_VALUE NULL TAB TRUE YES_VALUE ADMINISTRATORS_GROUP_NAME CUSTOMIZERS_GROUP_NAME DEVELOPERS_GROUP_NAME SERVICE_USERS_GROUP_NAME DECISION_BLOCK_FIRST_OPERAND_PROPERTY DECISION_BLOCK_NAME_PROPERTY DECISION_BLOCK_OPERATION_PROPERTY DECISION_BLOCK_RESULT_TYPE_PROPERTY DECISION_BLOCK_SECOND_OPERAND_PROPERTY ANY_FILE_EXTENTION COMPRESSED_DOCUMENT_EXTENSION EXTENDED_DOCUMENT_EXTENSION SHORT_COMPRESSED_DOCUMENT_EXTENSION SHORT_EXTENDED_DOCUMENT_EXTENSION JOB_BLOCK_ABORT_DEADLINE_PROPERTY JOB_BLOCK_AFTER_FINISH_EVENT JOB_BLOCK_AFTER_QUERY_PARAMETERS_EVENT JOB_BLOCK_ATTACHMENT_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY JOB_BLOCK_BEFORE_QUERY_PARAMETERS_EVENT JOB_BLOCK_BEFORE_START_EVENT JOB_BLOCK_CREATED_JOBS_PROPERTY JOB_BLOCK_DEADLINE_PROPERTY JOB_BLOCK_EXECUTION_RESULTS_PROPERTY JOB_BLOCK_IS_PARALLEL_PROPERTY JOB_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY JOB_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY JOB_BLOCK_JOB_TEXT_PROPERTY JOB_BLOCK_NAME_PROPERTY JOB_BLOCK_NEED_SIGN_ON_PERFORM_PROPERTY JOB_BLOCK_PERFORMER_PROPERTY JOB_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY JOB_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY JOB_BLOCK_SUBJECT_PROPERTY ENGLISH_LANGUAGE_CODE RUSSIAN_LANGUAGE_CODE smHidden smMaximized smMinimized smNormal wmNo wmYes COMPONENT_TOKEN_LINK_KIND DOCUMENT_LINK_KIND EDOCUMENT_LINK_KIND FOLDER_LINK_KIND JOB_LINK_KIND REFERENCE_LINK_KIND TASK_LINK_KIND COMPONENT_TOKEN_LOCK_TYPE EDOCUMENT_VERSION_LOCK_TYPE MONITOR_BLOCK_AFTER_FINISH_EVENT MONITOR_BLOCK_BEFORE_START_EVENT MONITOR_BLOCK_DEADLINE_PROPERTY MONITOR_BLOCK_INTERVAL_PROPERTY MONITOR_BLOCK_INTERVAL_TYPE_PROPERTY MONITOR_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY MONITOR_BLOCK_NAME_PROPERTY MONITOR_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY MONITOR_BLOCK_SEARCH_SCRIPT_PROPERTY NOTICE_BLOCK_AFTER_FINISH_EVENT NOTICE_BLOCK_ATTACHMENT_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY NOTICE_BLOCK_BEFORE_START_EVENT NOTICE_BLOCK_CREATED_NOTICES_PROPERTY NOTICE_BLOCK_DEADLINE_PROPERTY NOTICE_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY NOTICE_BLOCK_NAME_PROPERTY NOTICE_BLOCK_NOTICE_TEXT_PROPERTY NOTICE_BLOCK_PERFORMER_PROPERTY NOTICE_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY NOTICE_BLOCK_SUBJECT_PROPERTY dseAfterCancel dseAfterClose dseAfterDelete dseAfterDeleteOutOfTransaction dseAfterInsert dseAfterOpen dseAfterScroll dseAfterUpdate dseAfterUpdateOutOfTransaction dseBeforeCancel dseBeforeClose dseBeforeDelete dseBeforeDetailUpdate dseBeforeInsert dseBeforeOpen dseBeforeUpdate dseOnAnyRequisiteChange dseOnCloseRecord dseOnDeleteError dseOnOpenRecord dseOnPrepareUpdate dseOnUpdateError dseOnUpdateRatifiedRecord dseOnValidDelete dseOnValidUpdate reOnChange reOnChangeValues SELECTION_BEGIN_ROUTE_EVENT SELECTION_END_ROUTE_EVENT CURRENT_PERIOD_IS_REQUIRED PREVIOUS_CARD_TYPE_NAME SHOW_RECORD_PROPERTIES_FORM ACCESS_RIGHTS_SETTING_DIALOG_CODE ADMINISTRATOR_USER_CODE ANALYTIC_REPORT_TYPE asrtHideLocal asrtHideRemote CALCULATED_ROLE_TYPE_CODE COMPONENTS_REFERENCE_DEVELOPER_VIEW_CODE DCTS_TEST_PROTOCOLS_FOLDER_PATH E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED_BY_USER E_EDOC_VERSION_ALREDY_SIGNED E_EDOC_VERSION_ALREDY_SIGNED_BY_USER EDOC_TYPES_CODE_REQUISITE_FIELD_NAME EDOCUMENTS_ALIAS_NAME FILES_FOLDER_PATH FILTER_OPERANDS_DELIMITER FILTER_OPERATIONS_DELIMITER FORMCARD_NAME FORMLIST_NAME GET_EXTENDED_DOCUMENT_EXTENSION_CREATION_MODE GET_EXTENDED_DOCUMENT_EXTENSION_IMPORT_MODE INTEGRATED_REPORT_TYPE IS_BUILDER_APPLICATION_ROLE IS_BUILDER_APPLICATION_ROLE2 IS_BUILDER_USERS ISBSYSDEV LOG_FOLDER_PATH mbCancel mbNo mbNoToAll mbOK mbYes mbYesToAll MEMORY_DATASET_DESRIPTIONS_FILENAME mrNo mrNoToAll mrYes mrYesToAll MULTIPLE_SELECT_DIALOG_CODE NONOPERATING_RECORD_FLAG_FEMININE NONOPERATING_RECORD_FLAG_MASCULINE OPERATING_RECORD_FLAG_FEMININE OPERATING_RECORD_FLAG_MASCULINE PROFILING_SETTINGS_COMMON_SETTINGS_CODE_VALUE PROGRAM_INITIATED_LOOKUP_ACTION ratDelete ratEdit ratInsert REPORT_TYPE REQUIRED_PICK_VALUES_VARIABLE rmCard rmList SBRTE_PROGID_DEV SBRTE_PROGID_RELEASE STATIC_ROLE_TYPE_CODE SUPPRESS_EMPTY_TEMPLATE_CREATION SYSTEM_USER_CODE UPDATE_DIALOG_DATASET USED_IN_OBJECT_HINT_PARAM USER_INITIATED_LOOKUP_ACTION USER_NAME_FORMAT USER_SELECTION_RESTRICTIONS WORKFLOW_TEST_PROTOCOLS_FOLDER_PATH ELS_SUBTYPE_CONTROL_NAME ELS_FOLDER_KIND_CONTROL_NAME REPEAT_PROCESS_CURRENT_OBJECT_EXCEPTION_NAME PRIVILEGE_COMPONENT_FULL_ACCESS PRIVILEGE_DEVELOPMENT_EXPORT PRIVILEGE_DEVELOPMENT_IMPORT PRIVILEGE_DOCUMENT_DELETE PRIVILEGE_ESD PRIVILEGE_FOLDER_DELETE PRIVILEGE_MANAGE_ACCESS_RIGHTS PRIVILEGE_MANAGE_REPLICATION PRIVILEGE_MANAGE_SESSION_SERVER PRIVILEGE_OBJECT_FULL_ACCESS PRIVILEGE_OBJECT_VIEW PRIVILEGE_RESERVE_LICENSE PRIVILEGE_SYSTEM_CUSTOMIZE PRIVILEGE_SYSTEM_DEVELOP PRIVILEGE_SYSTEM_INSTALL PRIVILEGE_TASK_DELETE PRIVILEGE_USER_PLUGIN_SETTINGS_CUSTOMIZE PRIVILEGES_PSEUDOREFERENCE_CODE ACCESS_TYPES_PSEUDOREFERENCE_CODE ALL_AVAILABLE_COMPONENTS_PSEUDOREFERENCE_CODE ALL_AVAILABLE_PRIVILEGES_PSEUDOREFERENCE_CODE ALL_REPLICATE_COMPONENTS_PSEUDOREFERENCE_CODE AVAILABLE_DEVELOPERS_COMPONENTS_PSEUDOREFERENCE_CODE COMPONENTS_PSEUDOREFERENCE_CODE FILTRATER_SETTINGS_CONFLICTS_PSEUDOREFERENCE_CODE GROUPS_PSEUDOREFERENCE_CODE RECEIVE_PROTOCOL_PSEUDOREFERENCE_CODE REFERENCE_REQUISITE_PSEUDOREFERENCE_CODE REFERENCE_REQUISITES_PSEUDOREFERENCE_CODE REFTYPES_PSEUDOREFERENCE_CODE REPLICATION_SEANCES_DIARY_PSEUDOREFERENCE_CODE SEND_PROTOCOL_PSEUDOREFERENCE_CODE SUBSTITUTES_PSEUDOREFERENCE_CODE SYSTEM_SETTINGS_PSEUDOREFERENCE_CODE UNITS_PSEUDOREFERENCE_CODE USERS_PSEUDOREFERENCE_CODE VIEWERS_PSEUDOREFERENCE_CODE CERTIFICATE_TYPE_ENCRYPT CERTIFICATE_TYPE_SIGN CERTIFICATE_TYPE_SIGN_AND_ENCRYPT STORAGE_TYPE_FILE STORAGE_TYPE_NAS_CIFS STORAGE_TYPE_SAPERION STORAGE_TYPE_SQL_SERVER COMPTYPE2_REQUISITE_DOCUMENTS_VALUE COMPTYPE2_REQUISITE_TASKS_VALUE COMPTYPE2_REQUISITE_FOLDERS_VALUE COMPTYPE2_REQUISITE_REFERENCES_VALUE SYSREQ_CODE SYSREQ_COMPTYPE2 SYSREQ_CONST_AVAILABLE_FOR_WEB SYSREQ_CONST_COMMON_CODE SYSREQ_CONST_COMMON_VALUE SYSREQ_CONST_FIRM_CODE SYSREQ_CONST_FIRM_STATUS SYSREQ_CONST_FIRM_VALUE SYSREQ_CONST_SERVER_STATUS SYSREQ_CONTENTS SYSREQ_DATE_OPEN SYSREQ_DATE_CLOSE SYSREQ_DESCRIPTION SYSREQ_DESCRIPTION_LOCALIZE_ID SYSREQ_DOUBLE SYSREQ_EDOC_ACCESS_TYPE SYSREQ_EDOC_AUTHOR SYSREQ_EDOC_CREATED SYSREQ_EDOC_DELEGATE_RIGHTS_REQUISITE_CODE SYSREQ_EDOC_EDITOR SYSREQ_EDOC_ENCODE_TYPE SYSREQ_EDOC_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_EXPORT_DATE SYSREQ_EDOC_EXPORTER SYSREQ_EDOC_KIND SYSREQ_EDOC_LIFE_STAGE_NAME SYSREQ_EDOC_LOCKED_FOR_SERVER_CODE SYSREQ_EDOC_MODIFIED SYSREQ_EDOC_NAME SYSREQ_EDOC_NOTE SYSREQ_EDOC_QUALIFIED_ID SYSREQ_EDOC_SESSION_KEY SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_SIGNATURE_TYPE SYSREQ_EDOC_SIGNED SYSREQ_EDOC_STORAGE SYSREQ_EDOC_STORAGES_ARCHIVE_STORAGE SYSREQ_EDOC_STORAGES_CHECK_RIGHTS SYSREQ_EDOC_STORAGES_COMPUTER_NAME SYSREQ_EDOC_STORAGES_EDIT_IN_STORAGE SYSREQ_EDOC_STORAGES_EXECUTIVE_STORAGE SYSREQ_EDOC_STORAGES_FUNCTION SYSREQ_EDOC_STORAGES_INITIALIZED SYSREQ_EDOC_STORAGES_LOCAL_PATH SYSREQ_EDOC_STORAGES_SAPERION_DATABASE_NAME SYSREQ_EDOC_STORAGES_SEARCH_BY_TEXT SYSREQ_EDOC_STORAGES_SERVER_NAME SYSREQ_EDOC_STORAGES_SHARED_SOURCE_NAME SYSREQ_EDOC_STORAGES_TYPE SYSREQ_EDOC_TEXT_MODIFIED SYSREQ_EDOC_TYPE_ACT_CODE SYSREQ_EDOC_TYPE_ACT_DESCRIPTION SYSREQ_EDOC_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_EDOC_TYPE_ACT_SECTION SYSREQ_EDOC_TYPE_ADD_PARAMS SYSREQ_EDOC_TYPE_COMMENT SYSREQ_EDOC_TYPE_EVENT_TEXT SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_EDOC_TYPE_NAME_LOCALIZE_ID SYSREQ_EDOC_TYPE_NUMERATION_METHOD SYSREQ_EDOC_TYPE_PSEUDO_REQUISITE_CODE SYSREQ_EDOC_TYPE_REQ_CODE SYSREQ_EDOC_TYPE_REQ_DESCRIPTION SYSREQ_EDOC_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_REQ_IS_LEADING SYSREQ_EDOC_TYPE_REQ_IS_REQUIRED SYSREQ_EDOC_TYPE_REQ_NUMBER SYSREQ_EDOC_TYPE_REQ_ON_CHANGE SYSREQ_EDOC_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_EDOC_TYPE_REQ_ON_SELECT SYSREQ_EDOC_TYPE_REQ_ON_SELECT_KIND SYSREQ_EDOC_TYPE_REQ_SECTION SYSREQ_EDOC_TYPE_VIEW_CARD SYSREQ_EDOC_TYPE_VIEW_CODE SYSREQ_EDOC_TYPE_VIEW_COMMENT SYSREQ_EDOC_TYPE_VIEW_IS_MAIN SYSREQ_EDOC_TYPE_VIEW_NAME SYSREQ_EDOC_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_EDOC_VERSION_AUTHOR SYSREQ_EDOC_VERSION_CRC SYSREQ_EDOC_VERSION_DATA SYSREQ_EDOC_VERSION_EDITOR SYSREQ_EDOC_VERSION_EXPORT_DATE SYSREQ_EDOC_VERSION_EXPORTER SYSREQ_EDOC_VERSION_HIDDEN SYSREQ_EDOC_VERSION_LIFE_STAGE SYSREQ_EDOC_VERSION_MODIFIED SYSREQ_EDOC_VERSION_NOTE SYSREQ_EDOC_VERSION_SIGNATURE_TYPE SYSREQ_EDOC_VERSION_SIGNED SYSREQ_EDOC_VERSION_SIZE SYSREQ_EDOC_VERSION_SOURCE SYSREQ_EDOC_VERSION_TEXT_MODIFIED SYSREQ_EDOCKIND_DEFAULT_VERSION_STATE_CODE SYSREQ_FOLDER_KIND SYSREQ_FUNC_CATEGORY SYSREQ_FUNC_COMMENT SYSREQ_FUNC_GROUP SYSREQ_FUNC_GROUP_COMMENT SYSREQ_FUNC_GROUP_NUMBER SYSREQ_FUNC_HELP SYSREQ_FUNC_PARAM_DEF_VALUE SYSREQ_FUNC_PARAM_IDENT SYSREQ_FUNC_PARAM_NUMBER SYSREQ_FUNC_PARAM_TYPE SYSREQ_FUNC_TEXT SYSREQ_GROUP_CATEGORY SYSREQ_ID SYSREQ_LAST_UPDATE SYSREQ_LEADER_REFERENCE SYSREQ_LINE_NUMBER SYSREQ_MAIN_RECORD_ID SYSREQ_NAME SYSREQ_NAME_LOCALIZE_ID SYSREQ_NOTE SYSREQ_ORIGINAL_RECORD SYSREQ_OUR_FIRM SYSREQ_PROFILING_SETTINGS_BATCH_LOGING SYSREQ_PROFILING_SETTINGS_BATCH_SIZE SYSREQ_PROFILING_SETTINGS_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_SQL_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_START_LOGGED SYSREQ_RECORD_STATUS SYSREQ_REF_REQ_FIELD_NAME SYSREQ_REF_REQ_FORMAT SYSREQ_REF_REQ_GENERATED SYSREQ_REF_REQ_LENGTH SYSREQ_REF_REQ_PRECISION SYSREQ_REF_REQ_REFERENCE SYSREQ_REF_REQ_SECTION SYSREQ_REF_REQ_STORED SYSREQ_REF_REQ_TOKENS SYSREQ_REF_REQ_TYPE SYSREQ_REF_REQ_VIEW SYSREQ_REF_TYPE_ACT_CODE SYSREQ_REF_TYPE_ACT_DESCRIPTION SYSREQ_REF_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_ACT_ON_EXECUTE SYSREQ_REF_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_REF_TYPE_ACT_SECTION SYSREQ_REF_TYPE_ADD_PARAMS SYSREQ_REF_TYPE_COMMENT SYSREQ_REF_TYPE_COMMON_SETTINGS SYSREQ_REF_TYPE_DISPLAY_REQUISITE_NAME SYSREQ_REF_TYPE_EVENT_TEXT SYSREQ_REF_TYPE_MAIN_LEADING_REF SYSREQ_REF_TYPE_NAME_IN_SINGULAR SYSREQ_REF_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_REF_TYPE_NAME_LOCALIZE_ID SYSREQ_REF_TYPE_NUMERATION_METHOD SYSREQ_REF_TYPE_REQ_CODE SYSREQ_REF_TYPE_REQ_DESCRIPTION SYSREQ_REF_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_REQ_IS_CONTROL SYSREQ_REF_TYPE_REQ_IS_FILTER SYSREQ_REF_TYPE_REQ_IS_LEADING SYSREQ_REF_TYPE_REQ_IS_REQUIRED SYSREQ_REF_TYPE_REQ_NUMBER SYSREQ_REF_TYPE_REQ_ON_CHANGE SYSREQ_REF_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_REF_TYPE_REQ_ON_SELECT SYSREQ_REF_TYPE_REQ_ON_SELECT_KIND SYSREQ_REF_TYPE_REQ_SECTION SYSREQ_REF_TYPE_VIEW_CARD SYSREQ_REF_TYPE_VIEW_CODE SYSREQ_REF_TYPE_VIEW_COMMENT SYSREQ_REF_TYPE_VIEW_IS_MAIN SYSREQ_REF_TYPE_VIEW_NAME SYSREQ_REF_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_REFERENCE_TYPE_ID SYSREQ_STATE SYSREQ_STATЕ SYSREQ_SYSTEM_SETTINGS_VALUE SYSREQ_TYPE SYSREQ_UNIT SYSREQ_UNIT_ID SYSREQ_USER_GROUPS_GROUP_FULL_NAME SYSREQ_USER_GROUPS_GROUP_NAME SYSREQ_USER_GROUPS_GROUP_SERVER_NAME SYSREQ_USERS_ACCESS_RIGHTS SYSREQ_USERS_AUTHENTICATION SYSREQ_USERS_CATEGORY SYSREQ_USERS_COMPONENT SYSREQ_USERS_COMPONENT_USER_IS_PUBLIC SYSREQ_USERS_DOMAIN SYSREQ_USERS_FULL_USER_NAME SYSREQ_USERS_GROUP SYSREQ_USERS_IS_MAIN_SERVER SYSREQ_USERS_LOGIN SYSREQ_USERS_REFERENCE_USER_IS_PUBLIC SYSREQ_USERS_STATUS SYSREQ_USERS_USER_CERTIFICATE SYSREQ_USERS_USER_CERTIFICATE_INFO SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_NAME SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_VERSION SYSREQ_USERS_USER_CERTIFICATE_STATE SYSREQ_USERS_USER_CERTIFICATE_SUBJECT_NAME SYSREQ_USERS_USER_CERTIFICATE_THUMBPRINT SYSREQ_USERS_USER_DEFAULT_CERTIFICATE SYSREQ_USERS_USER_DESCRIPTION SYSREQ_USERS_USER_GLOBAL_NAME SYSREQ_USERS_USER_LOGIN SYSREQ_USERS_USER_MAIN_SERVER SYSREQ_USERS_USER_TYPE SYSREQ_WORK_RULES_FOLDER_ID RESULT_VAR_NAME RESULT_VAR_NAME_ENG AUTO_NUMERATION_RULE_ID CANT_CHANGE_ID_REQUISITE_RULE_ID CANT_CHANGE_OURFIRM_REQUISITE_RULE_ID CHECK_CHANGING_REFERENCE_RECORD_USE_RULE_ID CHECK_CODE_REQUISITE_RULE_ID CHECK_DELETING_REFERENCE_RECORD_USE_RULE_ID CHECK_FILTRATER_CHANGES_RULE_ID CHECK_RECORD_INTERVAL_RULE_ID CHECK_REFERENCE_INTERVAL_RULE_ID CHECK_REQUIRED_DATA_FULLNESS_RULE_ID CHECK_REQUIRED_REQUISITES_FULLNESS_RULE_ID MAKE_RECORD_UNRATIFIED_RULE_ID RESTORE_AUTO_NUMERATION_RULE_ID SET_FIRM_CONTEXT_FROM_RECORD_RULE_ID SET_FIRST_RECORD_IN_LIST_FORM_RULE_ID SET_IDSPS_VALUE_RULE_ID SET_NEXT_CODE_VALUE_RULE_ID SET_OURFIRM_BOUNDS_RULE_ID SET_OURFIRM_REQUISITE_RULE_ID SCRIPT_BLOCK_AFTER_FINISH_EVENT SCRIPT_BLOCK_BEFORE_START_EVENT SCRIPT_BLOCK_EXECUTION_RESULTS_PROPERTY SCRIPT_BLOCK_NAME_PROPERTY SCRIPT_BLOCK_SCRIPT_PROPERTY SUBTASK_BLOCK_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_AFTER_FINISH_EVENT SUBTASK_BLOCK_ASSIGN_PARAMS_EVENT SUBTASK_BLOCK_ATTACHMENTS_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY SUBTASK_BLOCK_BEFORE_START_EVENT SUBTASK_BLOCK_CREATED_TASK_PROPERTY SUBTASK_BLOCK_CREATION_EVENT SUBTASK_BLOCK_DEADLINE_PROPERTY SUBTASK_BLOCK_IMPORTANCE_PROPERTY SUBTASK_BLOCK_INITIATOR_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY SUBTASK_BLOCK_JOBS_TYPE_PROPERTY SUBTASK_BLOCK_NAME_PROPERTY SUBTASK_BLOCK_PARALLEL_ROUTE_PROPERTY SUBTASK_BLOCK_PERFORMERS_PROPERTY SUBTASK_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_REQUIRE_SIGN_PROPERTY SUBTASK_BLOCK_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_START_EVENT SUBTASK_BLOCK_STEP_CONTROL_PROPERTY SUBTASK_BLOCK_SUBJECT_PROPERTY SUBTASK_BLOCK_TASK_CONTROL_PROPERTY SUBTASK_BLOCK_TEXT_PROPERTY SUBTASK_BLOCK_UNLOCK_ATTACHMENTS_ON_STOP_PROPERTY SUBTASK_BLOCK_USE_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_WAIT_FOR_TASK_COMPLETE_PROPERTY SYSCOMP_CONTROL_JOBS SYSCOMP_FOLDERS SYSCOMP_JOBS SYSCOMP_NOTICES SYSCOMP_TASKS SYSDLG_CREATE_EDOCUMENT SYSDLG_CREATE_EDOCUMENT_VERSION SYSDLG_CURRENT_PERIOD SYSDLG_EDIT_FUNCTION_HELP SYSDLG_EDOCUMENT_KINDS_FOR_TEMPLATE SYSDLG_EXPORT_MULTIPLE_EDOCUMENTS SYSDLG_EXPORT_SINGLE_EDOCUMENT SYSDLG_IMPORT_EDOCUMENT SYSDLG_MULTIPLE_SELECT SYSDLG_SETUP_ACCESS_RIGHTS SYSDLG_SETUP_DEFAULT_RIGHTS SYSDLG_SETUP_FILTER_CONDITION SYSDLG_SETUP_SIGN_RIGHTS SYSDLG_SETUP_TASK_OBSERVERS SYSDLG_SETUP_TASK_ROUTE SYSDLG_SETUP_USERS_LIST SYSDLG_SIGN_EDOCUMENT SYSDLG_SIGN_MULTIPLE_EDOCUMENTS SYSREF_ACCESS_RIGHTS_TYPES SYSREF_ADMINISTRATION_HISTORY SYSREF_ALL_AVAILABLE_COMPONENTS SYSREF_ALL_AVAILABLE_PRIVILEGES SYSREF_ALL_REPLICATING_COMPONENTS SYSREF_AVAILABLE_DEVELOPERS_COMPONENTS SYSREF_CALENDAR_EVENTS SYSREF_COMPONENT_TOKEN_HISTORY SYSREF_COMPONENT_TOKENS SYSREF_COMPONENTS SYSREF_CONSTANTS SYSREF_DATA_RECEIVE_PROTOCOL SYSREF_DATA_SEND_PROTOCOL SYSREF_DIALOGS SYSREF_DIALOGS_REQUISITES SYSREF_EDITORS SYSREF_EDOC_CARDS SYSREF_EDOC_TYPES SYSREF_EDOCUMENT_CARD_REQUISITES SYSREF_EDOCUMENT_CARD_TYPES SYSREF_EDOCUMENT_CARD_TYPES_REFERENCE SYSREF_EDOCUMENT_CARDS SYSREF_EDOCUMENT_HISTORY SYSREF_EDOCUMENT_KINDS SYSREF_EDOCUMENT_REQUISITES SYSREF_EDOCUMENT_SIGNATURES SYSREF_EDOCUMENT_TEMPLATES SYSREF_EDOCUMENT_TEXT_STORAGES SYSREF_EDOCUMENT_VIEWS SYSREF_FILTERER_SETUP_CONFLICTS SYSREF_FILTRATER_SETTING_CONFLICTS SYSREF_FOLDER_HISTORY SYSREF_FOLDERS SYSREF_FUNCTION_GROUPS SYSREF_FUNCTION_PARAMS SYSREF_FUNCTIONS SYSREF_JOB_HISTORY SYSREF_LINKS SYSREF_LOCALIZATION_DICTIONARY SYSREF_LOCALIZATION_LANGUAGES SYSREF_MODULES SYSREF_PRIVILEGES SYSREF_RECORD_HISTORY SYSREF_REFERENCE_REQUISITES SYSREF_REFERENCE_TYPE_VIEWS SYSREF_REFERENCE_TYPES SYSREF_REFERENCES SYSREF_REFERENCES_REQUISITES SYSREF_REMOTE_SERVERS SYSREF_REPLICATION_SESSIONS_LOG SYSREF_REPLICATION_SESSIONS_PROTOCOL SYSREF_REPORTS SYSREF_ROLES SYSREF_ROUTE_BLOCK_GROUPS SYSREF_ROUTE_BLOCKS SYSREF_SCRIPTS SYSREF_SEARCHES SYSREF_SERVER_EVENTS SYSREF_SERVER_EVENTS_HISTORY SYSREF_STANDARD_ROUTE_GROUPS SYSREF_STANDARD_ROUTES SYSREF_STATUSES SYSREF_SYSTEM_SETTINGS SYSREF_TASK_HISTORY SYSREF_TASK_KIND_GROUPS SYSREF_TASK_KINDS SYSREF_TASK_RIGHTS SYSREF_TASK_SIGNATURES SYSREF_TASKS SYSREF_UNITS SYSREF_USER_GROUPS SYSREF_USER_GROUPS_REFERENCE SYSREF_USER_SUBSTITUTION SYSREF_USERS SYSREF_USERS_REFERENCE SYSREF_VIEWERS SYSREF_WORKING_TIME_CALENDARS ACCESS_RIGHTS_TABLE_NAME EDMS_ACCESS_TABLE_NAME EDOC_TYPES_TABLE_NAME TEST_DEV_DB_NAME TEST_DEV_SYSTEM_CODE TEST_EDMS_DB_NAME TEST_EDMS_MAIN_CODE TEST_EDMS_MAIN_DB_NAME TEST_EDMS_SECOND_CODE TEST_EDMS_SECOND_DB_NAME TEST_EDMS_SYSTEM_CODE TEST_ISB5_MAIN_CODE TEST_ISB5_SECOND_CODE TEST_SQL_SERVER_2005_NAME TEST_SQL_SERVER_NAME ATTENTION_CAPTION cbsCommandLinks cbsDefault CONFIRMATION_CAPTION ERROR_CAPTION INFORMATION_CAPTION mrCancel mrOk EDOC_VERSION_ACTIVE_STAGE_CODE EDOC_VERSION_DESIGN_STAGE_CODE EDOC_VERSION_OBSOLETE_STAGE_CODE cpDataEnciphermentEnabled cpDigitalSignatureEnabled cpID cpIssuer cpPluginVersion cpSerial cpSubjectName cpSubjSimpleName cpValidFromDate cpValidToDate ISBL_SYNTAX NO_SYNTAX XML_SYNTAX WAIT_BLOCK_AFTER_FINISH_EVENT WAIT_BLOCK_BEFORE_START_EVENT WAIT_BLOCK_DEADLINE_PROPERTY WAIT_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY WAIT_BLOCK_NAME_PROPERTY WAIT_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY SYSRES_COMMON SYSRES_CONST SYSRES_MBFUNC SYSRES_SBDATA SYSRES_SBGUI SYSRES_SBINTF SYSRES_SBREFDSC SYSRES_SQLERRORS SYSRES_SYSCOMP atUser atGroup atRole aemEnabledAlways aemDisabledAlways aemEnabledOnBrowse aemEnabledOnEdit aemDisabledOnBrowseEmpty apBegin apEnd alLeft alRight asmNever asmNoButCustomize asmAsLastTime asmYesButCustomize asmAlways cirCommon cirRevoked ctSignature ctEncode ctSignatureEncode clbUnchecked clbChecked clbGrayed ceISB ceAlways ceNever ctDocument ctReference ctScript ctUnknown ctReport ctDialog ctFunction ctFolder ctEDocument ctTask ctJob ctNotice ctControlJob cfInternal cfDisplay ciUnspecified ciWrite ciRead ckFolder ckEDocument ckTask ckJob ckComponentToken ckAny ckReference ckScript ckReport ckDialog ctISBLEditor ctBevel ctButton ctCheckListBox ctComboBox ctComboEdit ctGrid ctDBCheckBox ctDBComboBox ctDBEdit ctDBEllipsis ctDBMemo ctDBNavigator ctDBRadioGroup ctDBStatusLabel ctEdit ctGroupBox ctInplaceHint ctMemo ctPanel ctListBox ctRadioButton ctRichEdit ctTabSheet ctWebBrowser ctImage ctHyperLink ctLabel ctDBMultiEllipsis ctRibbon ctRichView ctInnerPanel ctPanelGroup ctBitButton cctDate cctInteger cctNumeric cctPick cctReference cctString cctText cltInternal cltPrimary cltGUI dseBeforeOpen dseAfterOpen dseBeforeClose dseAfterClose dseOnValidDelete dseBeforeDelete dseAfterDelete dseAfterDeleteOutOfTransaction dseOnDeleteError dseBeforeInsert dseAfterInsert dseOnValidUpdate dseBeforeUpdate dseOnUpdateRatifiedRecord dseAfterUpdate dseAfterUpdateOutOfTransaction dseOnUpdateError dseAfterScroll dseOnOpenRecord dseOnCloseRecord dseBeforeCancel dseAfterCancel dseOnUpdateDeadlockError dseBeforeDetailUpdate dseOnPrepareUpdate dseOnAnyRequisiteChange dssEdit dssInsert dssBrowse dssInActive dftDate dftShortDate dftDateTime dftTimeStamp dotDays dotHours dotMinutes dotSeconds dtkndLocal dtkndUTC arNone arView arEdit arFull ddaView ddaEdit emLock emEdit emSign emExportWithLock emImportWithUnlock emChangeVersionNote emOpenForModify emChangeLifeStage emDelete emCreateVersion emImport emUnlockExportedWithLock emStart emAbort emReInit emMarkAsReaded emMarkAsUnreaded emPerform emAccept emResume emChangeRights emEditRoute emEditObserver emRecoveryFromLocalCopy emChangeWorkAccessType emChangeEncodeTypeToCertificate emChangeEncodeTypeToPassword emChangeEncodeTypeToNone emChangeEncodeTypeToCertificatePassword emChangeStandardRoute emGetText emOpenForView emMoveToStorage emCreateObject emChangeVersionHidden emDeleteVersion emChangeLifeCycleStage emApprovingSign emExport emContinue emLockFromEdit emUnLockForEdit emLockForServer emUnlockFromServer emDelegateAccessRights emReEncode ecotFile ecotProcess eaGet eaCopy eaCreate eaCreateStandardRoute edltAll edltNothing edltQuery essmText essmCard esvtLast esvtLastActive esvtSpecified edsfExecutive edsfArchive edstSQLServer edstFile edvstNone edvstEDocumentVersionCopy edvstFile edvstTemplate edvstScannedFile vsDefault vsDesign vsActive vsObsolete etNone etCertificate etPassword etCertificatePassword ecException ecWarning ecInformation estAll estApprovingOnly evtLast evtLastActive evtQuery fdtString fdtNumeric fdtInteger fdtDate fdtText fdtUnknown fdtWideString fdtLargeInteger ftInbox ftOutbox ftFavorites ftCommonFolder ftUserFolder ftComponents ftQuickLaunch ftShortcuts ftSearch grhAuto grhX1 grhX2 grhX3 hltText hltRTF hltHTML iffBMP iffJPEG iffMultiPageTIFF iffSinglePageTIFF iffTIFF iffPNG im8bGrayscale im24bRGB im1bMonochrome itBMP itJPEG itWMF itPNG ikhInformation ikhWarning ikhError ikhNoIcon icUnknown icScript icFunction icIntegratedReport icAnalyticReport icDataSetEventHandler icActionHandler icFormEventHandler icLookUpEventHandler icRequisiteChangeEventHandler icBeforeSearchEventHandler icRoleCalculation icSelectRouteEventHandler icBlockPropertyCalculation icBlockQueryParamsEventHandler icChangeSearchResultEventHandler icBlockEventHandler icSubTaskInitEventHandler icEDocDataSetEventHandler icEDocLookUpEventHandler icEDocActionHandler icEDocFormEventHandler icEDocRequisiteChangeEventHandler icStructuredConversionRule icStructuredConversionEventBefore icStructuredConversionEventAfter icWizardEventHandler icWizardFinishEventHandler icWizardStepEventHandler icWizardStepFinishEventHandler icWizardActionEnableEventHandler icWizardActionExecuteEventHandler icCreateJobsHandler icCreateNoticesHandler icBeforeLookUpEventHandler icAfterLookUpEventHandler icTaskAbortEventHandler icWorkflowBlockActionHandler icDialogDataSetEventHandler icDialogActionHandler icDialogLookUpEventHandler icDialogRequisiteChangeEventHandler icDialogFormEventHandler icDialogValidCloseEventHandler icBlockFormEventHandler icTaskFormEventHandler icReferenceMethod icEDocMethod icDialogMethod icProcessMessageHandler isShow isHide isByUserSettings jkJob jkNotice jkControlJob jtInner jtLeft jtRight jtFull jtCross lbpAbove lbpBelow lbpLeft lbpRight eltPerConnection eltPerUser sfcUndefined sfcBlack sfcGreen sfcRed sfcBlue sfcOrange sfcLilac sfsItalic sfsStrikeout sfsNormal ldctStandardRoute ldctWizard ldctScript ldctFunction ldctRouteBlock ldctIntegratedReport ldctAnalyticReport ldctReferenceType ldctEDocumentType ldctDialog ldctServerEvents mrcrtNone mrcrtUser mrcrtMaximal mrcrtCustom vtEqual vtGreaterOrEqual vtLessOrEqual vtRange rdYesterday rdToday rdTomorrow rdThisWeek rdThisMonth rdThisYear rdNextMonth rdNextWeek rdLastWeek rdLastMonth rdWindow rdFile rdPrinter rdtString rdtNumeric rdtInteger rdtDate rdtReference rdtAccount rdtText rdtPick rdtUnknown rdtLargeInteger rdtDocument reOnChange reOnChangeValues ttGlobal ttLocal ttUser ttSystem ssmBrowse ssmSelect ssmMultiSelect ssmBrowseModal smSelect smLike smCard stNone stAuthenticating stApproving sctString sctStream sstAnsiSort sstNaturalSort svtEqual svtContain soatString soatNumeric soatInteger soatDatetime soatReferenceRecord soatText soatPick soatBoolean soatEDocument soatAccount soatIntegerCollection soatNumericCollection soatStringCollection soatPickCollection soatDatetimeCollection soatBooleanCollection soatReferenceRecordCollection soatEDocumentCollection soatAccountCollection soatContents soatUnknown tarAbortByUser tarAbortByWorkflowException tvtAllWords tvtExactPhrase tvtAnyWord usNone usCompleted usRedSquare usBlueSquare usYellowSquare usGreenSquare usOrangeSquare usPurpleSquare usFollowUp utUnknown utUser utDeveloper utAdministrator utSystemDeveloper utDisconnected btAnd btDetailAnd btOr btNotOr btOnly vmView vmSelect vmNavigation vsmSingle vsmMultiple vsmMultipleCheck vsmNoSelection wfatPrevious wfatNext wfatCancel wfatFinish wfepUndefined wfepText3 wfepText6 wfepText9 wfepSpinEdit wfepDropDown wfepRadioGroup wfepFlag wfepText12 wfepText15 wfepText18 wfepText21 wfepText24 wfepText27 wfepText30 wfepRadioGroupColumn1 wfepRadioGroupColumn2 wfepRadioGroupColumn3 wfetQueryParameter wfetText wfetDelimiter wfetLabel wptString wptInteger wptNumeric wptBoolean wptDateTime wptPick wptText wptUser wptUserList wptEDocumentInfo wptEDocumentInfoList wptReferenceRecordInfo wptReferenceRecordInfoList wptFolderInfo wptTaskInfo wptContents wptFileName wptDate wsrComplete wsrGoNext wsrGoPrevious wsrCustom wsrCancel wsrGoFinal wstForm wstEDocument wstTaskCard wstReferenceRecordCard wstFinal waAll waPerformers waManual wsbStart wsbFinish wsbNotice wsbStep wsbDecision wsbWait wsbMonitor wsbScript wsbConnector wsbSubTask wsbLifeCycleStage wsbPause wdtInteger wdtFloat wdtString wdtPick wdtDateTime wdtBoolean wdtTask wdtJob wdtFolder wdtEDocument wdtReferenceRecord wdtUser wdtGroup wdtRole wdtIntegerCollection wdtFloatCollection wdtStringCollection wdtPickCollection wdtDateTimeCollection wdtBooleanCollection wdtTaskCollection wdtJobCollection wdtFolderCollection wdtEDocumentCollection wdtReferenceRecordCollection wdtUserCollection wdtGroupCollection wdtRoleCollection wdtContents wdtUserList wdtSearchDescription wdtDeadLine wdtPickSet wdtAccountCollection wiLow wiNormal wiHigh wrtSoft wrtHard wsInit wsRunning wsDone wsControlled wsAborted wsContinued wtmFull wtmFromCurrent wtmOnlyCurrent ",class:"AltState Application CallType ComponentTokens CreatedJobs CreatedNotices ControlState DialogResult Dialogs EDocuments EDocumentVersionSource Folders GlobalIDs Job Jobs InputValue LookUpReference LookUpRequisiteNames LookUpSearch Object ParentComponent Processes References Requisite ReportName Reports Result Scripts Searches SelectedAttachments SelectedItems SelectMode Sender ServerEvents ServiceFactory ShiftState SubTask SystemDialogs Tasks Wizard Wizards Work ВызовСпособ ИмяОтчета РеквЗнач ",literal:"null true false nil "},s={begin:"\\.\\s*"+e.UNDERSCORE_IDENT_RE,keywords:o,relevance:0},l={className:"type",begin:":[ \\t]*("+"IApplication IAccessRights IAccountRepository IAccountSelectionRestrictions IAction IActionList IAdministrationHistoryDescription IAnchors IApplication IArchiveInfo IAttachment IAttachmentList ICheckListBox ICheckPointedList IColumn IComponent IComponentDescription IComponentToken IComponentTokenFactory IComponentTokenInfo ICompRecordInfo IConnection IContents IControl IControlJob IControlJobInfo IControlList ICrypto ICrypto2 ICustomJob ICustomJobInfo ICustomListBox ICustomObjectWizardStep ICustomWork ICustomWorkInfo IDataSet IDataSetAccessInfo IDataSigner IDateCriterion IDateRequisite IDateRequisiteDescription IDateValue IDeaAccessRights IDeaObjectInfo IDevelopmentComponentLock IDialog IDialogFactory IDialogPickRequisiteItems IDialogsFactory IDICSFactory IDocRequisite IDocumentInfo IDualListDialog IECertificate IECertificateInfo IECertificates IEditControl IEditorForm IEdmsExplorer IEdmsObject IEdmsObjectDescription IEdmsObjectFactory IEdmsObjectInfo IEDocument IEDocumentAccessRights IEDocumentDescription IEDocumentEditor IEDocumentFactory IEDocumentInfo IEDocumentStorage IEDocumentVersion IEDocumentVersionListDialog IEDocumentVersionSource IEDocumentWizardStep IEDocVerSignature IEDocVersionState IEnabledMode IEncodeProvider IEncrypter IEvent IEventList IException IExternalEvents IExternalHandler IFactory IField IFileDialog IFolder IFolderDescription IFolderDialog IFolderFactory IFolderInfo IForEach IForm IFormTitle IFormWizardStep IGlobalIDFactory IGlobalIDInfo IGrid IHasher IHistoryDescription IHyperLinkControl IImageButton IImageControl IInnerPanel IInplaceHint IIntegerCriterion IIntegerList IIntegerRequisite IIntegerValue IISBLEditorForm IJob IJobDescription IJobFactory IJobForm IJobInfo ILabelControl ILargeIntegerCriterion ILargeIntegerRequisite ILargeIntegerValue ILicenseInfo ILifeCycleStage IList IListBox ILocalIDInfo ILocalization ILock IMemoryDataSet IMessagingFactory IMetadataRepository INotice INoticeInfo INumericCriterion INumericRequisite INumericValue IObject IObjectDescription IObjectImporter IObjectInfo IObserver IPanelGroup IPickCriterion IPickProperty IPickRequisite IPickRequisiteDescription IPickRequisiteItem IPickRequisiteItems IPickValue IPrivilege IPrivilegeList IProcess IProcessFactory IProcessMessage IProgress IProperty IPropertyChangeEvent IQuery IReference IReferenceCriterion IReferenceEnabledMode IReferenceFactory IReferenceHistoryDescription IReferenceInfo IReferenceRecordCardWizardStep IReferenceRequisiteDescription IReferencesFactory IReferenceValue IRefRequisite IReport IReportFactory IRequisite IRequisiteDescription IRequisiteDescriptionList IRequisiteFactory IRichEdit IRouteStep IRule IRuleList ISchemeBlock IScript IScriptFactory ISearchCriteria ISearchCriterion ISearchDescription ISearchFactory ISearchFolderInfo ISearchForObjectDescription ISearchResultRestrictions ISecuredContext ISelectDialog IServerEvent IServerEventFactory IServiceDialog IServiceFactory ISignature ISignProvider ISignProvider2 ISignProvider3 ISimpleCriterion IStringCriterion IStringList IStringRequisite IStringRequisiteDescription IStringValue ISystemDialogsFactory ISystemInfo ITabSheet ITask ITaskAbortReasonInfo ITaskCardWizardStep ITaskDescription ITaskFactory ITaskInfo ITaskRoute ITextCriterion ITextRequisite ITextValue ITreeListSelectDialog IUser IUserList IValue IView IWebBrowserControl IWizard IWizardAction IWizardFactory IWizardFormElement IWizardParam IWizardPickParam IWizardReferenceParam IWizardStep IWorkAccessRights IWorkDescription IWorkflowAskableParam IWorkflowAskableParams IWorkflowBlock IWorkflowBlockResult IWorkflowEnabledMode IWorkflowParam IWorkflowPickParam IWorkflowReferenceParam IWorkState IWorkTreeCustomNode IWorkTreeJobNode IWorkTreeTaskNode IXMLEditorForm SBCrypto ".trim().replace(/\s/g,"|")+")",end:"[ \\t]*=",excludeEnd:!0},c={className:"variable",keywords:o,begin:t,relevance:0,contains:[l,s]},u="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]*\\(";return{name:"ISBL",case_insensitive:!0,keywords:o,illegal:"\\$|\\?|%|,|;$|~|#|@|</",contains:[{className:"function",begin:u,end:"\\)$",returnBegin:!0,keywords:o,illegal:"[\\[\\]\\|\\$\\?%,~#@]",contains:[{className:"title",keywords:{$pattern:t,built_in:"AddSubString AdjustLineBreaks AmountInWords Analysis ArrayDimCount ArrayHighBound ArrayLowBound ArrayOf ArrayReDim Assert Assigned BeginOfMonth BeginOfPeriod BuildProfilingOperationAnalysis CallProcedure CanReadFile CArrayElement CDataSetRequisite ChangeDate ChangeReferenceDataset Char CharPos CheckParam CheckParamValue CompareStrings ConstantExists ControlState ConvertDateStr Copy CopyFile CreateArray CreateCachedReference CreateConnection CreateDialog CreateDualListDialog CreateEditor CreateException CreateFile CreateFolderDialog CreateInputDialog CreateLinkFile CreateList CreateLock CreateMemoryDataSet CreateObject CreateOpenDialog CreateProgress CreateQuery CreateReference CreateReport CreateSaveDialog CreateScript CreateSQLPivotFunction CreateStringList CreateTreeListSelectDialog CSelectSQL CSQL CSubString CurrentUserID CurrentUserName CurrentVersion DataSetLocateEx DateDiff DateTimeDiff DateToStr DayOfWeek DeleteFile DirectoryExists DisableCheckAccessRights DisableCheckFullShowingRestriction DisableMassTaskSendingRestrictions DropTable DupeString EditText EnableCheckAccessRights EnableCheckFullShowingRestriction EnableMassTaskSendingRestrictions EndOfMonth EndOfPeriod ExceptionExists ExceptionsOff ExceptionsOn Execute ExecuteProcess Exit ExpandEnvironmentVariables ExtractFileDrive ExtractFileExt ExtractFileName ExtractFilePath ExtractParams FileExists FileSize FindFile FindSubString FirmContext ForceDirectories Format FormatDate FormatNumeric FormatSQLDate FormatString FreeException GetComponent GetComponentLaunchParam GetConstant GetLastException GetReferenceRecord GetRefTypeByRefID GetTableID GetTempFolder IfThen In IndexOf InputDialog InputDialogEx InteractiveMode IsFileLocked IsGraphicFile IsNumeric Length LoadString LoadStringFmt LocalTimeToUTC LowerCase Max MessageBox MessageBoxEx MimeDecodeBinary MimeDecodeString MimeEncodeBinary MimeEncodeString Min MoneyInWords MoveFile NewID Now OpenFile Ord Precision Raise ReadCertificateFromFile ReadFile ReferenceCodeByID ReferenceNumber ReferenceRequisiteMode ReferenceRequisiteValue RegionDateSettings RegionNumberSettings RegionTimeSettings RegRead RegWrite RenameFile Replace Round SelectServerCode SelectSQL ServerDateTime SetConstant SetManagedFolderFieldsState ShowConstantsInputDialog ShowMessage Sleep Split SQL SQL2XLSTAB SQLProfilingSendReport StrToDate SubString SubStringCount SystemSetting Time TimeDiff Today Transliterate Trim UpperCase UserStatus UTCToLocalTime ValidateXML VarIsClear VarIsEmpty VarIsNull WorkTimeDiff WriteFile WriteFileEx WriteObjectHistory Анализ БазаДанных БлокЕсть БлокЕстьРасш БлокИнфо БлокСнять БлокСнятьРасш БлокУстановить Ввод ВводМеню ВедС ВедСпр ВерхняяГраницаМассива ВнешПрогр Восст ВременнаяПапка Время ВыборSQL ВыбратьЗапись ВыделитьСтр Вызвать Выполнить ВыпПрогр ГрафическийФайл ГруппаДополнительно ДатаВремяСерв ДеньНедели ДиалогДаНет ДлинаСтр ДобПодстр ЕПусто ЕслиТо ЕЧисло ЗамПодстр ЗаписьСправочника ЗначПоляСпр ИДТипСпр ИзвлечьДиск ИзвлечьИмяФайла ИзвлечьПуть ИзвлечьРасширение ИзмДат ИзменитьРазмерМассива ИзмеренийМассива ИмяОрг ИмяПоляСпр Индекс ИндикаторЗакрыть ИндикаторОткрыть ИндикаторШаг ИнтерактивныйРежим ИтогТблСпр КодВидВедСпр КодВидСпрПоИД КодПоAnalit КодСимвола КодСпр КолПодстр КолПроп КонМес Конст КонстЕсть КонстЗнач КонТран КопироватьФайл КопияСтр КПериод КСтрТблСпр Макс МаксСтрТблСпр Массив Меню МенюРасш Мин НаборДанныхНайтиРасш НаимВидСпр НаимПоAnalit НаимСпр НастроитьПереводыСтрок НачМес НачТран НижняяГраницаМассива НомерСпр НПериод Окно Окр Окружение ОтлИнфДобавить ОтлИнфУдалить Отчет ОтчетАнал ОтчетИнт ПапкаСуществует Пауза ПВыборSQL ПереименоватьФайл Переменные ПереместитьФайл Подстр ПоискПодстр ПоискСтр ПолучитьИДТаблицы ПользовательДополнительно ПользовательИД ПользовательИмя ПользовательСтатус Прервать ПроверитьПараметр ПроверитьПараметрЗнач ПроверитьУсловие РазбСтр РазнВремя РазнДат РазнДатаВремя РазнРабВремя РегУстВрем РегУстДат РегУстЧсл РедТекст РеестрЗапись РеестрСписокИменПарам РеестрЧтение РеквСпр РеквСпрПр Сегодня Сейчас Сервер СерверПроцессИД СертификатФайлСчитать СжПроб Символ СистемаДиректумКод СистемаИнформация СистемаКод Содержит СоединениеЗакрыть СоединениеОткрыть СоздатьДиалог СоздатьДиалогВыбораИзДвухСписков СоздатьДиалогВыбораПапки СоздатьДиалогОткрытияФайла СоздатьДиалогСохраненияФайла СоздатьЗапрос СоздатьИндикатор СоздатьИсключение СоздатьКэшированныйСправочник СоздатьМассив СоздатьНаборДанных СоздатьОбъект СоздатьОтчет СоздатьПапку СоздатьРедактор СоздатьСоединение СоздатьСписок СоздатьСписокСтрок СоздатьСправочник СоздатьСценарий СоздСпр СостСпр Сохр СохрСпр СписокСистем Спр Справочник СпрБлокЕсть СпрБлокСнять СпрБлокСнятьРасш СпрБлокУстановить СпрИзмНабДан СпрКод СпрНомер СпрОбновить СпрОткрыть СпрОтменить СпрПарам СпрПолеЗнач СпрПолеИмя СпрРекв СпрРеквВведЗн СпрРеквНовые СпрРеквПр СпрРеквПредЗн СпрРеквРежим СпрРеквТипТекст СпрСоздать СпрСост СпрСохранить СпрТблИтог СпрТблСтр СпрТблСтрКол СпрТблСтрМакс СпрТблСтрМин СпрТблСтрПред СпрТблСтрСлед СпрТблСтрСозд СпрТблСтрУд СпрТекПредст СпрУдалить СравнитьСтр СтрВерхРегистр СтрНижнРегистр СтрТблСпр СумПроп Сценарий СценарийПарам ТекВерсия ТекОрг Точн Тран Транслитерация УдалитьТаблицу УдалитьФайл УдСпр УдСтрТблСпр Уст УстановкиКонстант ФайлАтрибутСчитать ФайлАтрибутУстановить ФайлВремя ФайлВремяУстановить ФайлВыбрать ФайлЗанят ФайлЗаписать ФайлИскать ФайлКопировать ФайлМожноЧитать ФайлОткрыть ФайлПереименовать ФайлПерекодировать ФайлПереместить ФайлПросмотреть ФайлРазмер ФайлСоздать ФайлСсылкаСоздать ФайлСуществует ФайлСчитать ФайлУдалить ФмтSQLДат ФмтДат ФмтСтр ФмтЧсл Формат ЦМассивЭлемент ЦНаборДанныхРеквизит ЦПодстр "},begin:u,end:"\\(",returnBegin:!0,excludeEnd:!0},s,c,r,n,a]},l,s,c,r,n,a]}}}function Ah(){if(qo)return Yo;qo=1;var e="[0-9](_*[0-9])*",t=`\\.(${e})`,n="[0-9a-fA-F](_*[0-9a-fA-F])*",r={className:"number",variants:[ +// DecimalFloatingPointLiteral +// including ExponentPart +{begin:`(\\b(${e})((${t})|\\.)?|(${t}))[eE][+-]?(${e})[fFdD]?\\b`}, +// excluding ExponentPart +{begin:`\\b(${e})((${t})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${t})[fFdD]?\\b`},{begin:`\\b(${e})[fFdD]\\b`}, +// HexadecimalFloatingPointLiteral +{begin:`\\b0[xX]((${n})\\.?|(${n})?\\.(${n}))[pP][+-]?(${e})[fFdD]?\\b`}, +// DecimalIntegerLiteral +{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"}, +// HexIntegerLiteral +{begin:`\\b0[xX](${n})[lL]?\\b`}, +// OctalIntegerLiteral +{begin:"\\b0(_*[0-7])*[lL]?\\b"}, +// BinaryIntegerLiteral +{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function i(e,t,n){return-1===n?"":e.replace(t,(r=>i(e,t,n-1)))}return Yo=function(e){const t=e.regex,n="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",a=n+i("(?:<"+n+"~~~(?:\\s*,\\s*"+n+"~~~)*>)?",/~~~/g,2),o={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits","goto","when"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},s={className:"meta",begin:"@"+n,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},l={className:"params",begin:/\(/,end:/\)/,keywords:o,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:o,illegal:/<\/|#/,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{ +// eat up @'s in emails to prevent them to be recognized as doctags +begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}), +// relevance boost +{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[e.BACKSLASH_ESCAPE]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,n],className:{1:"keyword",3:"title.class"}},{ +// Exceptions for hyphenated keywords +match:/non-sealed/,scope:"keyword"},{begin:[t.concat(/(?!else)/,n),/\s+/,n,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,n],className:{1:"keyword",3:"title.class"},contains:[l,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{ +// Expression keywords prevent 'keyword Name(...)' from being +// recognized as a function definition +beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+a+"\\s+)",e.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:o,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:o,relevance:0,contains:[s,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,r,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},r,s]}}}function wh(){if(Vo)return Ho;Vo=1;const e="[A-Za-z$_][0-9A-Za-z$_]*",t=["as", +// for exports +"in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class", +// JS handles these with a special rule +// "get", +// "set", +"debugger","async","await","static","import","from","export","extends", +// It's reached stage 3, which is "recommended for implementation": +"using"],n=["true","false","null","undefined","NaN","Infinity"],r=[ +// Fundamental objects +"Object","Function","Boolean","Symbol", +// numbers and dates +"Math","Date","Number","BigInt", +// text +"String","RegExp", +// Indexed collections +"Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array", +// Keyed collections +"Set","Map","WeakSet","WeakMap", +// Structured data +"ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON", +// Control abstraction objects +"Promise","Generator","GeneratorFunction","AsyncFunction", +// Reflection +"Reflect","Proxy", +// Internationalization +"Intl", +// WebAssembly +"WebAssembly"],i=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],a=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],o=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],s=[].concat(a,r,i);return Ho=function(l){const c=l.regex,u=e,d="<>",h="</>",p={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/, +/** + * @param {RegExpMatchArray} match + * @param {CallbackResponse} response + */ +isTrulyOpeningTag:(e,t)=>{const n=e[0].length+e.index,r=e.input[n];if( +// HTML should not include another raw `<` inside a tag +// nested type? +// `<Array<Array<number>>`, etc. +"<"===r||// the , gives away that this is not HTML +// `<T, A extends keyof T, V>` +","===r)return void t.ignoreMatch();let i;">"===r&&(((e,{after:t})=>{const n="</"+e[0].slice(1);return-1!==e.input.indexOf(n,t)})(e,{after:n})||t.ignoreMatch());const a=e.input.substring(n);((i=a.match(/^\s*=/))||(i=a.match(/^\s+extends\s+/))&&0===i.index)&&t.ignoreMatch()}},g={$pattern:e,keyword:t,literal:n,built_in:s,"variable.language":o},m="[0-9](_?[0-9])*",_=`\\.(${m})`,b="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",f={className:"number",variants:[ +// DecimalLiteral +{begin:`(\\b(${b})((${_})|\\.)?|(${_}))[eE][+-]?(${m})\\b`},{begin:`\\b(${b})\\b((${_})\\b|\\.)?|(${_})\\b`}, +// DecimalBigIntegerLiteral +{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"}, +// NonDecimalIntegerLiteral +{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"}, +// LegacyOctalIntegerLiteral (does not include underscore separators) +// https://tc39.es/ecma262/#sec-additional-syntax-numeric-literals +{begin:"\\b0[0-7]+n?\\b"}],relevance:0},y={className:"subst",begin:"\\$\\{",end:"\\}",keywords:g,contains:[]},v={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[l.BACKSLASH_ESCAPE,y],subLanguage:"xml"}},E={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[l.BACKSLASH_ESCAPE,y],subLanguage:"css"}},S={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[l.BACKSLASH_ESCAPE,y],subLanguage:"graphql"}},T={className:"string",begin:"`",end:"`",contains:[l.BACKSLASH_ESCAPE,y]},C={className:"comment",variants:[l.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:u+"(?=\\s*(-)|$)",endsParent:!0,relevance:0}, +// eat spaces (not newlines) so we can find +// types or variables +{begin:/(?=[^\n])\s/,relevance:0}]}]}),l.C_BLOCK_COMMENT_MODE,l.C_LINE_COMMENT_MODE]},x=[l.APOS_STRING_MODE,l.QUOTE_STRING_MODE,v,E,S,T, +// Skip numbers when they are part of a variable name +{match:/\$\d+/},f];y.contains=x.concat({ +// we need to pair up {} inside our subst to prevent +// it from ending too early by matching another } +begin:/\{/,end:/\}/,keywords:g,contains:["self"].concat(x)});const k=[].concat(C,y.contains),A=k.concat([ +// eat recursive parens in sub expressions +{begin:/(\s*)\(/,end:/\)/,keywords:g,contains:["self"].concat(k)}]),w={className:"params", +// convert this to negative lookbehind in v12 +begin:/(\s*)\(/, +// to match the parms with +end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:g,contains:A},N={variants:[ +// class Car extends vehicle +{match:[/class/,/\s+/,u,/\s+/,/extends/,/\s+/,c.concat(u,"(",c.concat(/\./,u),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}}, +// class Car +{match:[/class/,/\s+/,u],scope:{1:"keyword",3:"title.class"}}]},O={relevance:0,match:c.either( +// Hard coded exceptions +/\bJSON/, +// Float32Array, OutT +/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/, +// CSSFactory, CSSFactoryT +/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/, +// FPs, FPsT +/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[ +// se we still get relevance credit for JS library classes +...r,...i]}},R={variants:[{match:[/function/,/\s+/,u,/(?=\s*\()/]}, +// anonymous function +{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[w],illegal:/%/},I={match:c.concat(/\b/,(D=[...a,"super","import"].map((e=>`${e}\\s*\\(`)),c.concat("(?!",D.join("|"),")")),u,c.lookahead(/\s*\(/)),className:"title.function",relevance:0};var D;const M={begin:c.concat(/\./,c.lookahead(c.concat(u,/(?![0-9A-Za-z$_(])/))),end:u,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},L={match:[/get|set/,/\s+/,u,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{ +// eat to avoid empty params +begin:/\(\)/},w]},P="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+l.UNDERSCORE_IDENT_RE+")\\s*=>",j={match:[/const|var|let/,/\s+/,u,/\s*/,/=\s*/,/(async\s*)?/, +// async is optional +c.lookahead(P)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[w]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:g, +// this will be extended by TypeScript +exports:{PARAMS_CONTAINS:A,CLASS_REFERENCE:O},illegal:/#(?![$_A-z])/,contains:[l.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},l.APOS_STRING_MODE,l.QUOTE_STRING_MODE,v,E,S,T,C, +// Skip numbers when they are part of a variable name +{match:/\$\d+/},f,O,{scope:"attr",match:u+c.lookahead(":"),relevance:0},j,{ +// "value" container +begin:"("+l.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[C,l.REGEXP_MODE,{className:"function", +// we have to count the parens to make sure we actually have the +// correct bounding ( ) before the =>. There could be any number of +// sub-expressions inside also surrounded by parens. +begin:P,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:l.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:g,contains:A}]}]},{ +// could be a comma delimited list of params to a function call +begin:/,/,relevance:0},{match:/\s+/,relevance:0},{ +// JSX +variants:[{begin:d,end:h},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:p.begin, +// we carefully check the opening tag to see if it truly +// is a tag and not a false positive +"on:begin":p.isTrulyOpeningTag,end:p.end}],subLanguage:"xml",contains:[{begin:p.begin,end:p.end,skip:!0,contains:["self"]}]}]},R,{ +// prevent this from getting swallowed up by function +// since they appear "function like" +beginKeywords:"while if switch catch for"},{ +// we have to count the parens to make sure we actually have the correct +// bounding ( ). There could be any number of sub-expressions inside +// also surrounded by parens. +begin:"\\b(?!function)"+l.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{", +// end parens +returnBegin:!0,label:"func.def",contains:[w,l.inherit(l.TITLE_MODE,{begin:u,className:"title.function"})]}, +// catch ... so it won't trigger the property rule below +{match:/\.\.\./,relevance:0},M, +// hack: prevents detection of keywords in some circumstances +// .keyword() +// $keyword = x +{match:"\\$"+u,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[w]},I,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},N,L,{match:/\$[(.]/}]}}}function Nh(){if(Qo)return Wo;return Qo=1,Wo=function(e){const t={className:"params",begin:/\(/,end:/\)/,contains:[{begin:/[\w-]+ *=/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/[\w-]+/}]}],relevance:0};return{name:"JBoss CLI",aliases:["wildfly-cli"],keywords:{$pattern:"[a-z-]+",keyword:"alias batch cd clear command connect connection-factory connection-info data-source deploy deployment-info deployment-overlay echo echo-dmr help history if jdbc-driver-info jms-queue|20 jms-topic|20 ls patch pwd quit read-attribute read-operation reload rollout-plan run-batch set shutdown try unalias undeploy unset version xa-data-source", +// module +literal:"true false"},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,{className:"params",begin:/--[\w\-=\/]+/},{className:"function",begin:/:[\w\-.]+/,relevance:0},{className:"string",begin:/\B([\/.])[\w\-.\/=]+/},t]}}}function Oh(){if(Xo)return Ko;return Xo=1,Ko=function(e){const t=["true","false","null"],n={scope:"literal",beginKeywords:t.join(" ")};return{name:"JSON",aliases:["jsonc"],keywords:{literal:t},contains:[{className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},{match:/[{}[\],:]/,className:"punctuation",relevance:0},e.QUOTE_STRING_MODE,n,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}}function Rh(){if(Jo)return Zo;return Jo=1,Zo=function(e){const t="[A-Za-z_\\u00A1-\\uFFFF][A-Za-z_0-9\\u00A1-\\uFFFF]*",n={$pattern:t,keyword:["baremodule","begin","break","catch","ccall","const","continue","do","else","elseif","end","export","false","finally","for","function","global","if","import","in","isa","let","local","macro","module","quote","return","true","try","using","where","while"],literal:["ARGS","C_NULL","DEPOT_PATH","ENDIAN_BOM","ENV","Inf","Inf16","Inf32","Inf64","InsertionSort","LOAD_PATH","MergeSort","NaN","NaN16","NaN32","NaN64","PROGRAM_FILE","QuickSort","RoundDown","RoundFromZero","RoundNearest","RoundNearestTiesAway","RoundNearestTiesUp","RoundToZero","RoundUp","VERSION|0","devnull","false","im","missing","nothing","pi","stderr","stdin","stdout","true","undef","π","ℯ"],built_in:["AbstractArray","AbstractChannel","AbstractChar","AbstractDict","AbstractDisplay","AbstractFloat","AbstractIrrational","AbstractMatrix","AbstractRange","AbstractSet","AbstractString","AbstractUnitRange","AbstractVecOrMat","AbstractVector","Any","ArgumentError","Array","AssertionError","BigFloat","BigInt","BitArray","BitMatrix","BitSet","BitVector","Bool","BoundsError","CapturedException","CartesianIndex","CartesianIndices","Cchar","Cdouble","Cfloat","Channel","Char","Cint","Cintmax_t","Clong","Clonglong","Cmd","Colon","Complex","ComplexF16","ComplexF32","ComplexF64","CompositeException","Condition","Cptrdiff_t","Cshort","Csize_t","Cssize_t","Cstring","Cuchar","Cuint","Cuintmax_t","Culong","Culonglong","Cushort","Cvoid","Cwchar_t","Cwstring","DataType","DenseArray","DenseMatrix","DenseVecOrMat","DenseVector","Dict","DimensionMismatch","Dims","DivideError","DomainError","EOFError","Enum","ErrorException","Exception","ExponentialBackOff","Expr","Float16","Float32","Float64","Function","GlobalRef","HTML","IO","IOBuffer","IOContext","IOStream","IdDict","IndexCartesian","IndexLinear","IndexStyle","InexactError","InitError","Int","Int128","Int16","Int32","Int64","Int8","Integer","InterruptException","InvalidStateException","Irrational","KeyError","LinRange","LineNumberNode","LinearIndices","LoadError","MIME","Matrix","Method","MethodError","Missing","MissingException","Module","NTuple","NamedTuple","Nothing","Number","OrdinalRange","OutOfMemoryError","OverflowError","Pair","PartialQuickSort","PermutedDimsArray","Pipe","ProcessFailedException","Ptr","QuoteNode","Rational","RawFD","ReadOnlyMemoryError","Real","ReentrantLock","Ref","Regex","RegexMatch","RoundingMode","SegmentationFault","Set","Signed","Some","StackOverflowError","StepRange","StepRangeLen","StridedArray","StridedMatrix","StridedVecOrMat","StridedVector","String","StringIndexError","SubArray","SubString","SubstitutionString","Symbol","SystemError","Task","TaskFailedException","Text","TextDisplay","Timer","Tuple","Type","TypeError","TypeVar","UInt","UInt128","UInt16","UInt32","UInt64","UInt8","UndefInitializer","UndefKeywordError","UndefRefError","UndefVarError","Union","UnionAll","UnitRange","Unsigned","Val","Vararg","VecElement","VecOrMat","Vector","VersionNumber","WeakKeyDict","WeakRef"]},r={keywords:n,illegal:/<\//},i={className:"subst",begin:/\$\(/,end:/\)/,keywords:n},a={className:"variable",begin:"\\$"+t},o={className:"string",contains:[e.BACKSLASH_ESCAPE,i,a],variants:[{begin:/\w*"""/,end:/"""\w*/,relevance:10},{begin:/\w*"/,end:/"\w*/}]},s={className:"string",contains:[e.BACKSLASH_ESCAPE,i,a],begin:"`",end:"`"},l={className:"meta",begin:"@"+t};return r.name="Julia",r.contains=[{className:"number", +// supported numeric literals: +// * binary literal (e.g. 0x10) +// * octal literal (e.g. 0o76543210) +// * hexadecimal literal (e.g. 0xfedcba876543210) +// * hexadecimal floating point literal (e.g. 0x1p0, 0x1.2p2) +// * decimal literal (e.g. 9876543210, 100_000_000) +// * floating pointe literal (e.g. 1.2, 1.2f, .2, 1., 1.2e10, 1.2e-10) +begin:/(\b0x[\d_]*(\.[\d_]*)?|0x\.\d[\d_]*)p[-+]?\d+|\b0[box][a-fA-F0-9][a-fA-F0-9_]*|(\b\d[\d_]*(\.[\d_]*)?|\.\d[\d_]*)([eEfF][-+]?\d+)?/,relevance:0},{className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},o,s,l,{className:"comment",variants:[{begin:"#=",end:"=#",relevance:10},{begin:"#",end:"$"}]},e.HASH_COMMENT_MODE,{className:"keyword",begin:"\\b(((abstract|primitive)\\s+)type|(mutable\\s+)?struct)\\b"},{begin:/<:/}],i.contains=r.contains,r}}function Ih(){if(ts)return es;return ts=1,es=function(e){return{name:"Julia REPL",contains:[{className:"meta.prompt",begin:/^julia>/,relevance:10,starts:{ +// end the highlighting if we are on a new line and the line does not have at +// least six spaces in the beginning +end:/^(?![ ]{6})/,subLanguage:"julia"}}], +// jldoctest Markdown blocks are used in the Julia manual and package docs indicate +// code snippets that should be verified when the documentation is built. They can be +// either REPL-like or script-like, but are usually REPL-like and therefore we apply +// julia-repl highlighting to them. More information can be found in Documenter's +// manual: https://juliadocs.github.io/Documenter.jl/latest/man/doctests.html +aliases:["jldoctest"]}}}function Dh(){if(rs)return ns;rs=1;var e="[0-9](_*[0-9])*",t=`\\.(${e})`,n="[0-9a-fA-F](_*[0-9a-fA-F])*",r={className:"number",variants:[ +// DecimalFloatingPointLiteral +// including ExponentPart +{begin:`(\\b(${e})((${t})|\\.)?|(${t}))[eE][+-]?(${e})[fFdD]?\\b`}, +// excluding ExponentPart +{begin:`\\b(${e})((${t})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${t})[fFdD]?\\b`},{begin:`\\b(${e})[fFdD]\\b`}, +// HexadecimalFloatingPointLiteral +{begin:`\\b0[xX]((${n})\\.?|(${n})?\\.(${n}))[pP][+-]?(${e})[fFdD]?\\b`}, +// DecimalIntegerLiteral +{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"}, +// HexIntegerLiteral +{begin:`\\b0[xX](${n})[lL]?\\b`}, +// OctalIntegerLiteral +{begin:"\\b0(_*[0-7])*[lL]?\\b"}, +// BinaryIntegerLiteral +{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};return ns=function(e){const t={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},n={className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"@"},i={className:"subst",begin:/\$\{/,end:/\}/,contains:[e.C_NUMBER_MODE]},a={className:"variable",begin:"\\$"+e.UNDERSCORE_IDENT_RE},o={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[a,i]}, +// Can't use built-in modes easily, as we want to use STRING in the meta +// context as 'meta-string' and there's no syntax to remove explicitly set +// classNames in built-in modes. +{begin:"'",end:"'",illegal:/\n/,contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[e.BACKSLASH_ESCAPE,a,i]}]};i.contains.push(o);const s={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+e.UNDERSCORE_IDENT_RE+")?"},l={className:"meta",begin:"@"+e.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[e.inherit(o,{className:"string"}),"self"]}]},c=r,u=e.COMMENT("/\\*","\\*/",{contains:[e.C_BLOCK_COMMENT_MODE]}),d={variants:[{className:"type",begin:e.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},h=d;return h.variants[1].contains=[d],d.variants[1].contains=[h],{name:"Kotlin",aliases:["kt","kts"],keywords:t,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,u,{className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},n,s,l,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:t,relevance:5,contains:[{begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"type",begin:/</,end:/>/,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:t,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[d,e.C_LINE_COMMENT_MODE,u],relevance:0},e.C_LINE_COMMENT_MODE,u,s,l,o,e.C_NUMBER_MODE]},u]},{begin:[/class|interface|trait/,/\s+/,e.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},e.UNDERSCORE_TITLE_MODE,{className:"type",begin:/</,end:/>/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},s,l]},o,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:"\n"},c]}}}function Mh(){if(as)return is;return as=1,is=function(e){const t="[a-zA-Z_][\\w.]*",n="<\\?(lasso(script)?|=)",r="\\]|\\?>",i={$pattern:t+"|&[lg]t;",literal:"true false none minimal full all void and or not bw nbw ew new cn ncn lt lte gt gte eq neq rx nrx ft",built_in:"array date decimal duration integer map pair string tag xml null boolean bytes keyword list locale queue set stack staticarray local var variable global data self inherited currentcapture givenblock",keyword:"cache database_names database_schemanames database_tablenames define_tag define_type email_batch encode_set html_comment handle handle_error header if inline iterate ljax_target link link_currentaction link_currentgroup link_currentrecord link_detail link_firstgroup link_firstrecord link_lastgroup link_lastrecord link_nextgroup link_nextrecord link_prevgroup link_prevrecord log loop namespace_using output_none portal private protect records referer referrer repeating resultset rows search_args search_arguments select sort_args sort_arguments thread_atomic value_list while abort case else fail_if fail_ifnot fail if_empty if_false if_null if_true loop_abort loop_continue loop_count params params_up return return_value run_children soap_definetag soap_lastrequest soap_lastresponse tag_name ascending average by define descending do equals frozen group handle_failure import in into join let match max min on order parent protected provide public require returnhome skip split_thread sum take thread to trait type where with yield yieldhome"},a=e.COMMENT("\x3c!--","--\x3e",{relevance:0}),o={className:"meta",begin:"\\[noprocess\\]",starts:{end:"\\[/noprocess\\]",returnEnd:!0,contains:[a]}},s={className:"meta",begin:"\\[/noprocess|"+n},l={className:"symbol",begin:"'"+t+"'"},c=[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.inherit(e.C_NUMBER_MODE,{begin:e.C_NUMBER_RE+"|(-?infinity|NaN)\\b"}),e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"`",end:"`"},{ +// variables +variants:[{begin:"[#$]"+t},{begin:"#",end:"\\d+",illegal:"\\W"}]},{className:"type",begin:"::\\s*",end:t,illegal:"\\W"},{className:"params",variants:[{begin:"-(?!infinity)"+t,relevance:0},{begin:"(\\.\\.\\.)"}]},{begin:/(->|\.)\s*/,relevance:0,contains:[l]},{className:"class",beginKeywords:"define",returnEnd:!0,end:"\\(|=>",contains:[e.inherit(e.TITLE_MODE,{begin:t+"(=(?!>))?|[-+*/%](?!>)"})]}];return{name:"Lasso",aliases:["ls","lassoscript"],case_insensitive:!0,keywords:i,contains:[{className:"meta",begin:r,relevance:0,starts:{ +// markup +end:"\\[|"+n,returnEnd:!0,relevance:0,contains:[a]}},o,s,{className:"meta",begin:"\\[no_square_brackets",starts:{end:"\\[/no_square_brackets\\]", +// not implemented in the language +keywords:i,contains:[{className:"meta",begin:r,relevance:0,starts:{end:"\\[noprocess\\]|"+n,returnEnd:!0,contains:[a]}},o,s].concat(c)}},{className:"meta",begin:"\\[",relevance:0},{className:"meta",begin:"^#!",end:"lasso9$",relevance:10}].concat(c)}}}function Lh(){if(ss)return os;return ss=1,os=function(e){const t=[{begin:/\^{6}[0-9a-f]{6}/},{begin:/\^{5}[0-9a-f]{5}/},{begin:/\^{4}[0-9a-f]{4}/},{begin:/\^{3}[0-9a-f]{3}/},{begin:/\^{2}[0-9a-f]{2}/},{begin:/\^{2}[\u0000-\u007f]/}],n=[{className:"keyword",begin:/\\/,relevance:0,contains:[{endsParent:!0,begin:e.regex.either(...["(?:NeedsTeXFormat|RequirePackage|GetIdInfo)","Provides(?:Expl)?(?:Package|Class|File)","(?:DeclareOption|ProcessOptions)","(?:documentclass|usepackage|input|include)","makeat(?:letter|other)","ExplSyntax(?:On|Off)","(?:new|renew|provide)?command","(?:re)newenvironment","(?:New|Renew|Provide|Declare)(?:Expandable)?DocumentCommand","(?:New|Renew|Provide|Declare)DocumentEnvironment","(?:(?:e|g|x)?def|let)","(?:begin|end)","(?:part|chapter|(?:sub){0,2}section|(?:sub)?paragraph)","caption","(?:label|(?:eq|page|name)?ref|(?:paren|foot|super)?cite)","(?:alpha|beta|[Gg]amma|[Dd]elta|(?:var)?epsilon|zeta|eta|[Tt]heta|vartheta)","(?:iota|(?:var)?kappa|[Ll]ambda|mu|nu|[Xx]i|[Pp]i|varpi|(?:var)rho)","(?:[Ss]igma|varsigma|tau|[Uu]psilon|[Pp]hi|varphi|chi|[Pp]si|[Oo]mega)","(?:frac|sum|prod|lim|infty|times|sqrt|leq|geq|left|right|middle|[bB]igg?)","(?:[lr]angle|q?quad|[lcvdi]?dots|d?dot|hat|tilde|bar)"].map((e=>e+"(?![a-zA-Z@:_])")))},{endsParent:!0,begin:new RegExp([ +// A function \module_function_name:signature or \__module_function_name:signature, +// where both module and function_name need at least two characters and +// function_name may contain single underscores. +"(?:__)?[a-zA-Z]{2,}_[a-zA-Z](?:_?[a-zA-Z])+:[a-zA-Z]*", +// A variable \scope_module_and_name_type or \scope__module_ane_name_type, +// where scope is one of l, g or c, type needs at least two characters +// and module_and_name may contain single underscores. +"[lgc]__?[a-zA-Z](?:_?[a-zA-Z])*_[a-zA-Z]{2,}", +// A quark \q_the_name or \q__the_name or +// scan mark \s_the_name or \s__vthe_name, +// where variable_name needs at least two characters and +// may contain single underscores. +"[qs]__?[a-zA-Z](?:_?[a-zA-Z])+", +// Other LaTeX3 macro names that are not covered by the three rules above. +"use(?:_i)?:[a-zA-Z]*","(?:else|fi|or):","(?:if|cs|exp):w","(?:hbox|vbox):n","::[a-zA-Z]_unbraced","::[a-zA-Z:]"].map((e=>e+"(?![a-zA-Z:_])")).join("|"))},{endsParent:!0,variants:t},{endsParent:!0,relevance:0,variants:[{begin:/[a-zA-Z@]+/}, +// control word +{begin:/[^a-zA-Z@]?/}]}]},{className:"params",relevance:0,begin:/#+\d?/},{ +// relevance: 1 +variants:t},{className:"built_in",relevance:0,begin:/[$&^_]/},{className:"meta",begin:/% ?!(T[eE]X|tex|BIB|bib)/,end:"$",relevance:10},e.COMMENT("%","$",{relevance:0})],r={begin:/\{/,end:/\}/,relevance:0,contains:["self",...n]},i=e.inherit(r,{relevance:0,endsParent:!0,contains:[r,...n]}),a={begin:/\[/,end:/\]/,endsParent:!0,relevance:0,contains:[r,...n]},o={begin:/\s+/,relevance:0},s=[i],l=[a],c=function(e,t){return{contains:[o],starts:{relevance:0,contains:e,starts:t}}},u=function(e,t){return{begin:"\\\\"+e+"(?![a-zA-Z@:_])",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\"+e},relevance:0,contains:[o],starts:t}},d=function(t,n){return e.inherit({begin:"\\\\begin(?=[ \t]*(\\r?\\n[ \t]*)?\\{"+t+"\\})",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\begin"},relevance:0},c(s,n))},h=(t="string")=>e.END_SAME_AS_BEGIN({className:t,begin:/(.|\r?\n)/,end:/(.|\r?\n)/,excludeBegin:!0,excludeEnd:!0,endsParent:!0}),p=function(e){return{className:"string",end:"(?=\\\\end\\{"+e+"\\})"}},g=(e="string")=>({relevance:0,begin:/\{/,starts:{endsParent:!0,contains:[{className:e,end:/(?=\})/,endsParent:!0,contains:[{begin:/\{/,end:/\}/,relevance:0,contains:["self"]}]}]}});return{name:"LaTeX",aliases:["tex"],contains:[...[...["verb","lstinline"].map((e=>u(e,{contains:[h()]}))),u("mint",c(s,{contains:[h()]})),u("mintinline",c(s,{contains:[g(),h()]})),u("url",{contains:[g("link"),g("link")]}),u("hyperref",{contains:[g("link")]}),u("href",c(l,{contains:[g("link")]})),...[].concat(...["","\\*"].map((e=>[d("verbatim"+e,p("verbatim"+e)),d("filecontents"+e,c(s,p("filecontents"+e))),...["","B","L"].map((t=>d(t+"Verbatim"+e,c(l,p(t+"Verbatim"+e)))))]))),d("minted",c(l,c(s,p("minted"))))],...n]}}}function Ph(){if(cs)return ls;return cs=1,ls=function(e){return{name:"LDIF",contains:[{className:"attribute",match:"^dn(?=:)",relevance:10},{className:"attribute",match:"^\\w+(?=:)"},{className:"literal",match:"^-"},e.HASH_COMMENT_MODE]}}}function jh(){if(ds)return us;return ds=1,us=function(e){const t=/([A-Za-z_][A-Za-z_0-9]*)?/,n={scope:"params",begin:/\(/,end:/\)(?=\:?)/,endsParent:!0,relevance:7,contains:[{scope:"string",begin:'"',end:'"'},{scope:"keyword",match:["true","false","in"].join("|")},{scope:"variable",match:/[A-Za-z_][A-Za-z_0-9]*/},{scope:"operator",match:/\+|\-|\*|\/|\%|\=\=|\=|\!|\>|\<|\&\&|\|\|/}]},r={match:[t,/(?=\()/],scope:{1:"keyword"},contains:[n]};return n.contains.unshift(r),{name:"Leaf",contains:[ +// #ident(): +{match:[/#+/,t,/(?=\()/],scope:{1:"punctuation",2:"keyword"}, +// will start up after the ending `)` match from line ~44 +// just to grab the trailing `:` if we can match it +starts:{contains:[{match:/\:/,scope:"punctuation"}]},contains:[n]}, +// #ident or #ident: +{match:[/#+/,t,/:?/],scope:{1:"punctuation",2:"keyword",3:"punctuation"}}]}}}function Fh(){if(ps)return hs;ps=1;const e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video","defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],t=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width", +// TODO: find a better solution? +"min-width","max-width","min-height","max-height"].sort().reverse(),n=["active","any-link","blank","checked","current","default","defined","dir", +// dir() +"disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has", +// has() +"host", +// host or host() +"host-context", +// host-context() +"hover","indeterminate","in-range","invalid","is", +// is() +"lang", +// lang() +"last-child","last-of-type","left","link","local-link","not", +// not() +"nth-child", +// nth-child() +"nth-col", +// nth-col() +"nth-last-child", +// nth-last-child() +"nth-last-col", +// nth-last-col() +"nth-last-of-type", +//nth-last-of-type() +"nth-of-type", +//nth-of-type() +"only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),r=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),i=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src", +// @font-face +"stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse(),a=n.concat(r).sort().reverse();return hs=function(o){const s=(e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}))(o),l=a,c="[\\w-]+",u="("+c+"|@\\{"+c+"\\})",d=[],h=[],p=function(e){return{ +// Less strings are not multiline (also include '~' for more consistent coloring of "escaped" strings) +className:"string",begin:"~?"+e+".*?"+e}},g=function(e,t,n){return{className:e,begin:t,relevance:n}},m={$pattern:/[a-z-]+/,keyword:"and or not only",attribute:t.join(" ")},_={ +// used only to properly balance nested parens inside mixin call, def. arg list +begin:"\\(",end:"\\)",contains:h,keywords:m,relevance:0};h.push(o.C_LINE_COMMENT_MODE,o.C_BLOCK_COMMENT_MODE,p("'"),p('"'),s.CSS_NUMBER_MODE, +// fixme: it does not include dot for numbers like .5em :( +{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},s.HEXCOLOR,_,g("variable","@@?"+c,10),g("variable","@\\{"+c+"\\}"),g("built_in","~?`[^`]*?`"), +// inline javascript (or whatever host language) *multiline* string +{ +// @media features (it’s here to not duplicate things in AT_RULE_MODE with extra PARENS_MODE overriding): +className:"attribute",begin:c+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},s.IMPORTANT,{beginKeywords:"and not"},s.FUNCTION_DISPATCH);const b=h.concat({begin:/\{/,end:/\}/,contains:d}),f={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(h)},y={begin:u+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},s.CSS_VARIABLE,{className:"attribute",begin:"\\b("+i.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:h}}]},v={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:m,returnEnd:!0,contains:h,relevance:0}},E={className:"variable",variants:[ +// using more strict pattern for higher relevance to increase chances of Less detection. +// this is *the only* Less specific statement used in most of the sources, so... +// (we’ll still often loose to the css-parser unless there's '//' comment, +// simply because 1 variable just can't beat 99 properties :) +{begin:"@"+c+"\\s*:",relevance:15},{begin:"@"+c}],starts:{end:"[;}]",returnEnd:!0,contains:b}},S={ +// first parse unambiguous selectors (i.e. those not starting with tag) +// then fall into the scary lookahead-discriminator variant. +// this mode also handles mixin definitions and calls +variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:u,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:"[<='$\"]",relevance:0,contains:[o.C_LINE_COMMENT_MODE,o.C_BLOCK_COMMENT_MODE,f,g("keyword","all\\b"),g("variable","@\\{"+c+"\\}"), +// otherwise it’s identified as tag +{begin:"\\b("+e.join("|")+")\\b",className:"selector-tag"},s.CSS_NUMBER_MODE,g("selector-tag",u,0),g("selector-id","#"+u),g("selector-class","\\."+u,0),g("selector-tag","&",0),s.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+n.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+r.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:b}, +// argument list of parametric mixins +{begin:"!important"}, +// eat !important after mixin call or it will be colored as tag +s.FUNCTION_DISPATCH]},T={begin:c+`:(:)?(${l.join("|")})`,returnBegin:!0,contains:[S]};return d.push(o.C_LINE_COMMENT_MODE,o.C_BLOCK_COMMENT_MODE,v,E,T,y,S,f,s.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:"[=>'/<($\"]",contains:d}}}function Bh(){if(ms)return gs;return ms=1,gs=function(e){const t="[a-zA-Z_\\-+\\*\\/<=>&#][a-zA-Z0-9_\\-+*\\/<=>&#!]*",n="\\|[^]*?\\|",r="(-|\\+)?\\d+(\\.\\d+|\\/\\d+)?((d|e|f|l|s|D|E|F|L|S)(\\+|-)?\\d+)?",i={className:"literal",begin:"\\b(t{1}|nil)\\b"},a={className:"number",variants:[{begin:r,relevance:0},{begin:"#(b|B)[0-1]+(/[0-1]+)?"},{begin:"#(o|O)[0-7]+(/[0-7]+)?"},{begin:"#(x|X)[0-9a-fA-F]+(/[0-9a-fA-F]+)?"},{begin:"#(c|C)\\("+r+" +"+r,end:"\\)"}]},o=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),s=e.COMMENT(";","$",{relevance:0}),l={begin:"\\*",end:"\\*"},c={className:"symbol",begin:"[:&]"+t},u={begin:t,relevance:0},d={begin:n},h={contains:[a,o,l,c,{begin:"\\(",end:"\\)",contains:["self",i,o,a,u]},u],variants:[{begin:"['`]\\(",end:"\\)"},{begin:"\\(quote ",end:"\\)",keywords:{name:"quote"}},{begin:"'"+n}]},p={variants:[{begin:"'"+t},{begin:"#'"+t+"(::"+t+")*"}]},g={begin:"\\(\\s*",end:"\\)"},m={endsWithParent:!0,relevance:0};return g.contains=[{className:"name",variants:[{begin:t,relevance:0},{begin:n}]},m],m.contains=[h,p,g,i,a,o,s,l,c,d,u],{name:"Lisp",illegal:/\S/,contains:[a,e.SHEBANG(),i,o,s,h,p,g,u]}}}function Uh(){if(bs)return _s;return bs=1,_s=function(e){const t={className:"variable",variants:[{begin:"\\b([gtps][A-Z]{1}[a-zA-Z0-9]*)(\\[.+\\])?(?:\\s*?)"},{begin:"\\$_[A-Z]+"}],relevance:0},n=[e.C_BLOCK_COMMENT_MODE,e.HASH_COMMENT_MODE,e.COMMENT("--","$"),e.COMMENT("[^:]//","$")],r=e.inherit(e.TITLE_MODE,{variants:[{begin:"\\b_*rig[A-Z][A-Za-z0-9_\\-]*"},{begin:"\\b_[a-z0-9\\-]+"}]}),i=e.inherit(e.TITLE_MODE,{begin:"\\b([A-Za-z0-9_\\-]+)\\b"});return{name:"LiveCode",case_insensitive:!1,keywords:{keyword:"$_COOKIE $_FILES $_GET $_GET_BINARY $_GET_RAW $_POST $_POST_BINARY $_POST_RAW $_SESSION $_SERVER codepoint codepoints segment segments codeunit codeunits sentence sentences trueWord trueWords paragraph after byte bytes english the until http forever descending using line real8 with seventh for stdout finally element word words fourth before black ninth sixth characters chars stderr uInt1 uInt1s uInt2 uInt2s stdin string lines relative rel any fifth items from middle mid at else of catch then third it file milliseconds seconds second secs sec int1 int1s int4 int4s internet int2 int2s normal text item last long detailed effective uInt4 uInt4s repeat end repeat URL in try into switch to words https token binfile each tenth as ticks tick system real4 by dateItems without char character ascending eighth whole dateTime numeric short first ftp integer abbreviated abbr abbrev private case while if div mod wrap and or bitAnd bitNot bitOr bitXor among not in a an within contains ends with begins the keys of keys",literal:"SIX TEN FORMFEED NINE ZERO NONE SPACE FOUR FALSE COLON CRLF PI COMMA ENDOFFILE EOF EIGHT FIVE QUOTE EMPTY ONE TRUE RETURN CR LINEFEED RIGHT BACKSLASH NULL SEVEN TAB THREE TWO six ten formfeed nine zero none space four false colon crlf pi comma endoffile eof eight five quote empty one true return cr linefeed right backslash null seven tab three two RIVERSION RISTATE FILE_READ_MODE FILE_WRITE_MODE FILE_WRITE_MODE DIR_WRITE_MODE FILE_READ_UMASK FILE_WRITE_UMASK DIR_READ_UMASK DIR_WRITE_UMASK",built_in:"put abs acos aliasReference annuity arrayDecode arrayEncode asin atan atan2 average avg avgDev base64Decode base64Encode baseConvert binaryDecode binaryEncode byteOffset byteToNum cachedURL cachedURLs charToNum cipherNames codepointOffset codepointProperty codepointToNum codeunitOffset commandNames compound compress constantNames cos date dateFormat decompress difference directories diskSpace DNSServers exp exp1 exp2 exp10 extents files flushEvents folders format functionNames geometricMean global globals hasMemory harmonicMean hostAddress hostAddressToName hostName hostNameToAddress isNumber ISOToMac itemOffset keys len length libURLErrorData libUrlFormData libURLftpCommand libURLLastHTTPHeaders libURLLastRHHeaders libUrlMultipartFormAddPart libUrlMultipartFormData libURLVersion lineOffset ln ln1 localNames log log2 log10 longFilePath lower macToISO matchChunk matchText matrixMultiply max md5Digest median merge messageAuthenticationCode messageDigest millisec millisecs millisecond milliseconds min monthNames nativeCharToNum normalizeText num number numToByte numToChar numToCodepoint numToNativeChar offset open openfiles openProcesses openProcessIDs openSockets paragraphOffset paramCount param params peerAddress pendingMessages platform popStdDev populationStandardDeviation populationVariance popVariance processID random randomBytes replaceText result revCreateXMLTree revCreateXMLTreeFromFile revCurrentRecord revCurrentRecordIsFirst revCurrentRecordIsLast revDatabaseColumnCount revDatabaseColumnIsNull revDatabaseColumnLengths revDatabaseColumnNames revDatabaseColumnNamed revDatabaseColumnNumbered revDatabaseColumnTypes revDatabaseConnectResult revDatabaseCursors revDatabaseID revDatabaseTableNames revDatabaseType revDataFromQuery revdb_closeCursor revdb_columnbynumber revdb_columncount revdb_columnisnull revdb_columnlengths revdb_columnnames revdb_columntypes revdb_commit revdb_connect revdb_connections revdb_connectionerr revdb_currentrecord revdb_cursorconnection revdb_cursorerr revdb_cursors revdb_dbtype revdb_disconnect revdb_execute revdb_iseof revdb_isbof revdb_movefirst revdb_movelast revdb_movenext revdb_moveprev revdb_query revdb_querylist revdb_recordcount revdb_rollback revdb_tablenames revGetDatabaseDriverPath revNumberOfRecords revOpenDatabase revOpenDatabases revQueryDatabase revQueryDatabaseBlob revQueryResult revQueryIsAtStart revQueryIsAtEnd revUnixFromMacPath revXMLAttribute revXMLAttributes revXMLAttributeValues revXMLChildContents revXMLChildNames revXMLCreateTreeFromFileWithNamespaces revXMLCreateTreeWithNamespaces revXMLDataFromXPathQuery revXMLEvaluateXPath revXMLFirstChild revXMLMatchingNode revXMLNextSibling revXMLNodeContents revXMLNumberOfChildren revXMLParent revXMLPreviousSibling revXMLRootNode revXMLRPC_CreateRequest revXMLRPC_Documents revXMLRPC_Error revXMLRPC_GetHost revXMLRPC_GetMethod revXMLRPC_GetParam revXMLText revXMLRPC_Execute revXMLRPC_GetParamCount revXMLRPC_GetParamNode revXMLRPC_GetParamType revXMLRPC_GetPath revXMLRPC_GetPort revXMLRPC_GetProtocol revXMLRPC_GetRequest revXMLRPC_GetResponse revXMLRPC_GetSocket revXMLTree revXMLTrees revXMLValidateDTD revZipDescribeItem revZipEnumerateItems revZipOpenArchives round sampVariance sec secs seconds sentenceOffset sha1Digest shell shortFilePath sin specialFolderPath sqrt standardDeviation statRound stdDev sum sysError systemVersion tan tempName textDecode textEncode tick ticks time to tokenOffset toLower toUpper transpose truewordOffset trunc uniDecode uniEncode upper URLDecode URLEncode URLStatus uuid value variableNames variance version waitDepth weekdayNames wordOffset xsltApplyStylesheet xsltApplyStylesheetFromFile xsltLoadStylesheet xsltLoadStylesheetFromFile add breakpoint cancel clear local variable file word line folder directory URL close socket process combine constant convert create new alias folder directory decrypt delete variable word line folder directory URL dispatch divide do encrypt filter get include intersect kill libURLDownloadToFile libURLFollowHttpRedirects libURLftpUpload libURLftpUploadFile libURLresetAll libUrlSetAuthCallback libURLSetDriver libURLSetCustomHTTPHeaders libUrlSetExpect100 libURLSetFTPListCommand libURLSetFTPMode libURLSetFTPStopTime libURLSetStatusCallback load extension loadedExtensions multiply socket prepare process post seek rel relative read from process rename replace require resetAll resolve revAddXMLNode revAppendXML revCloseCursor revCloseDatabase revCommitDatabase revCopyFile revCopyFolder revCopyXMLNode revDeleteFolder revDeleteXMLNode revDeleteAllXMLTrees revDeleteXMLTree revExecuteSQL revGoURL revInsertXMLNode revMoveFolder revMoveToFirstRecord revMoveToLastRecord revMoveToNextRecord revMoveToPreviousRecord revMoveToRecord revMoveXMLNode revPutIntoXMLNode revRollBackDatabase revSetDatabaseDriverPath revSetXMLAttribute revXMLRPC_AddParam revXMLRPC_DeleteAllDocuments revXMLAddDTD revXMLRPC_Free revXMLRPC_FreeAll revXMLRPC_DeleteDocument revXMLRPC_DeleteParam revXMLRPC_SetHost revXMLRPC_SetMethod revXMLRPC_SetPort revXMLRPC_SetProtocol revXMLRPC_SetSocket revZipAddItemWithData revZipAddItemWithFile revZipAddUncompressedItemWithData revZipAddUncompressedItemWithFile revZipCancel revZipCloseArchive revZipDeleteItem revZipExtractItemToFile revZipExtractItemToVariable revZipSetProgressCallback revZipRenameItem revZipReplaceItemWithData revZipReplaceItemWithFile revZipOpenArchive send set sort split start stop subtract symmetric union unload vectorDotProduct wait write"},contains:[t,{className:"keyword",begin:"\\bend\\sif\\b"},{className:"function",beginKeywords:"function",end:"$",contains:[t,i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,r]},{className:"function",begin:"\\bend\\s+",end:"$",keywords:"end",contains:[i,r],relevance:0},{beginKeywords:"command on",end:"$",contains:[t,i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,r]},{className:"meta",variants:[{begin:"<\\?(rev|lc|livecode)",relevance:10},{begin:"<\\?"},{begin:"\\?>"}]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,r].concat(n),illegal:";$|^\\[|^=|&|\\{"}}}function Gh(){if(ys)return fs;ys=1;const e=["as", +// for exports +"in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class", +// JS handles these with a special rule +// "get", +// "set", +"debugger","async","await","static","import","from","export","extends", +// It's reached stage 3, which is "recommended for implementation": +"using"],t=["true","false","null","undefined","NaN","Infinity"],n=[].concat(["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],[ +// Fundamental objects +"Object","Function","Boolean","Symbol", +// numbers and dates +"Math","Date","Number","BigInt", +// text +"String","RegExp", +// Indexed collections +"Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array", +// Keyed collections +"Set","Map","WeakSet","WeakMap", +// Structured data +"ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON", +// Control abstraction objects +"Promise","Generator","GeneratorFunction","AsyncFunction", +// Reflection +"Reflect","Proxy", +// Internationalization +"Intl", +// WebAssembly +"WebAssembly"],["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);return fs=function(r){const i={keyword:e.concat(["then","unless","until","loop","of","by","when","and","or","is","isnt","not","it","that","otherwise","from","to","til","fallthrough","case","enum","native","list","map","__hasProp","__extends","__slice","__bind","__indexOf"]),literal:t.concat(["yes","no","on","off","it","that","void"]),built_in:n.concat(["npm","print"])},a="[A-Za-z$_](?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*",o=r.inherit(r.TITLE_MODE,{begin:a}),s={className:"subst",begin:/#\{/,end:/\}/,keywords:i},l={className:"subst",begin:/#[A-Za-z$_]/,end:/(?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*/,keywords:i},c=[r.BINARY_NUMBER_MODE,{className:"number",begin:"(\\b0[xX][a-fA-F0-9_]+)|(\\b\\d(\\d|_\\d)*(\\.(\\d(\\d|_\\d)*)?)?(_*[eE]([-+]\\d(_\\d|\\d)*)?)?[_a-z]*)",relevance:0,starts:{end:"(\\s*/)?",relevance:0}},{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[r.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[r.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[r.BACKSLASH_ESCAPE,s,l]},{begin:/"/,end:/"/,contains:[r.BACKSLASH_ESCAPE,s,l]},{begin:/\\/,end:/(\s|$)/,excludeEnd:!0}]},{className:"regexp",variants:[{begin:"//",end:"//[gim]*",contains:[s,r.HASH_COMMENT_MODE]},{ +// regex can't start with space to parse x / 2 / 3 as two divisions +// regex can't start with *, and it supports an "illegal" in the main mode +begin:/\/(?![ *])(\\.|[^\\\n])*?\/[gim]*(?=\W)/}]},{begin:"@"+a},{begin:"``",end:"``",excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"}];s.contains=c;const u={className:"params",begin:"\\(",returnBegin:!0, +/* We need another contained nameless mode to not have every nested + pair of parens to be called "params" */ +contains:[{begin:/\(/,end:/\)/,keywords:i,contains:["self"].concat(c)}]},d={variants:[{match:[/class\s+/,a,/\s+extends\s+/,a]},{match:[/class\s+/,a]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:i};return{name:"LiveScript",aliases:["ls"],keywords:i,illegal:/\/\*/,contains:c.concat([r.COMMENT("\\/\\*","\\*\\/"),r.HASH_COMMENT_MODE,{begin:"(#=>|=>|\\|>>|-?->|!->)"}, +// relevance booster +{className:"function",contains:[o,u],returnBegin:!0,variants:[{begin:"("+a+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B->\\*?",end:"->\\*?"},{begin:"("+a+"\\s*(?:=|:=)\\s*)?!?(\\(.*\\)\\s*)?\\B[-~]{1,2}>\\*?",end:"[-~]{1,2}>\\*?"},{begin:"("+a+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B!?[-~]{1,2}>\\*?",end:"!?[-~]{1,2}>\\*?"}]},d,{begin:a+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}}function zh(){if(Es)return vs;return Es=1,vs=function(e){const t=e.regex,n=/([-a-zA-Z$._][\w$.-]*)/,r={className:"variable",variants:[{begin:t.concat(/%/,n)},{begin:/%\d+/},{begin:/#\d+/}]},i={className:"title",variants:[{begin:t.concat(/@/,n)},{begin:/@\d+/},{begin:t.concat(/!/,n)},{begin:t.concat(/!\d+/,n)}, +// https://llvm.org/docs/LangRef.html#namedmetadatastructure +// obviously a single digit can also be used in this fashion +{begin:/!\d+/}]};return{name:"LLVM IR", +// TODO: split into different categories of keywords +keywords:{keyword:"begin end true false declare define global constant private linker_private internal available_externally linkonce linkonce_odr weak weak_odr appending dllimport dllexport common default hidden protected extern_weak external thread_local zeroinitializer undef null to tail target triple datalayout volatile nuw nsw nnan ninf nsz arcp fast exact inbounds align addrspace section alias module asm sideeffect gc dbg linker_private_weak attributes blockaddress initialexec localdynamic localexec prefix unnamed_addr ccc fastcc coldcc x86_stdcallcc x86_fastcallcc arm_apcscc arm_aapcscc arm_aapcs_vfpcc ptx_device ptx_kernel intel_ocl_bicc msp430_intrcc spir_func spir_kernel x86_64_sysvcc x86_64_win64cc x86_thiscallcc cc c signext zeroext inreg sret nounwind noreturn noalias nocapture byval nest readnone readonly inlinehint noinline alwaysinline optsize ssp sspreq noredzone noimplicitfloat naked builtin cold nobuiltin noduplicate nonlazybind optnone returns_twice sanitize_address sanitize_memory sanitize_thread sspstrong uwtable returned type opaque eq ne slt sgt sle sge ult ugt ule uge oeq one olt ogt ole oge ord uno ueq une x acq_rel acquire alignstack atomic catch cleanup filter inteldialect max min monotonic nand personality release seq_cst singlethread umax umin unordered xchg add fadd sub fsub mul fmul udiv sdiv fdiv urem srem frem shl lshr ashr and or xor icmp fcmp phi call trunc zext sext fptrunc fpext uitofp sitofp fptoui fptosi inttoptr ptrtoint bitcast addrspacecast select va_arg ret br switch invoke unwind unreachable indirectbr landingpad resume malloc alloca free load store getelementptr extractelement insertelement shufflevector getresult extractvalue insertvalue atomicrmw cmpxchg fence argmemonly",type:"void half bfloat float double fp128 x86_fp80 ppc_fp128 x86_amx x86_mmx ptr label token metadata opaque"},contains:[{className:"type",begin:/\bi\d+(?=\s|\b)/}, +// this matches "empty comments"... +// ...because it's far more likely this is a statement terminator in +// another language than an actual comment +e.COMMENT(/;\s*$/,null,{relevance:0}),e.COMMENT(/;/,/$/),{className:"string",begin:/"/,end:/"/,contains:[{className:"char.escape",match:/\\\d\d/}]},i,{className:"punctuation",relevance:0,begin:/,/},{className:"operator",relevance:0,begin:/=/},r,{className:"symbol",variants:[{begin:/^\s*[a-z]+:/}],relevance:0},{className:"number",variants:[{begin:/[su]?0[xX][KMLHR]?[a-fA-F0-9]+/},{begin:/[-+]?\d+(?:[.]\d+)?(?:[eE][-+]?\d+(?:[.]\d+)?)?/}],relevance:0}]}}}function $h(){if(Ts)return Ss;return Ts=1,Ss=function(e){const t={className:"string",begin:'"',end:'"',contains:[{className:"subst",begin:/\\[tn"\\]/}]},n={className:"number",relevance:0,begin:e.C_NUMBER_RE};return{name:"LSL (Linden Scripting Language)",illegal:":",contains:[t,{className:"comment",variants:[e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/")],relevance:0},n,{className:"section",variants:[{begin:"\\b(state|default)\\b"},{begin:"\\b(state_(entry|exit)|touch(_(start|end))?|(land_)?collision(_(start|end))?|timer|listen|(no_)?sensor|control|(not_)?at_(rot_)?target|money|email|experience_permissions(_denied)?|run_time_permissions|changed|attach|dataserver|moving_(start|end)|link_message|(on|object)_rez|remote_data|http_re(sponse|quest)|path_update|transaction_result)\\b"}]},{className:"built_in",begin:"\\b(ll(AgentInExperience|(Create|DataSize|Delete|KeyCount|Keys|Read|Update)KeyValue|GetExperience(Details|ErrorMessage)|ReturnObjectsBy(ID|Owner)|Json(2List|[GS]etValue|ValueType)|Sin|Cos|Tan|Atan2|Sqrt|Pow|Abs|Fabs|Frand|Floor|Ceil|Round|Vec(Mag|Norm|Dist)|Rot(Between|2(Euler|Fwd|Left|Up))|(Euler|Axes)2Rot|Whisper|(Region|Owner)?Say|Shout|Listen(Control|Remove)?|Sensor(Repeat|Remove)?|Detected(Name|Key|Owner|Type|Pos|Vel|Grab|Rot|Group|LinkNumber)|Die|Ground|Wind|([GS]et)(AnimationOverride|MemoryLimit|PrimMediaParams|ParcelMusicURL|Object(Desc|Name)|PhysicsMaterial|Status|Scale|Color|Alpha|Texture|Pos|Rot|Force|Torque)|ResetAnimationOverride|(Scale|Offset|Rotate)Texture|(Rot)?Target(Remove)?|(Stop)?MoveToTarget|Apply(Rotational)?Impulse|Set(KeyframedMotion|ContentType|RegionPos|(Angular)?Velocity|Buoyancy|HoverHeight|ForceAndTorque|TimerEvent|ScriptState|Damage|TextureAnim|Sound(Queueing|Radius)|Vehicle(Type|(Float|Vector|Rotation)Param)|(Touch|Sit)?Text|Camera(Eye|At)Offset|PrimitiveParams|ClickAction|Link(Alpha|Color|PrimitiveParams(Fast)?|Texture(Anim)?|Camera|Media)|RemoteScriptAccessPin|PayPrice|LocalRot)|ScaleByFactor|Get((Max|Min)ScaleFactor|ClosestNavPoint|StaticPath|SimStats|Env|PrimitiveParams|Link(PrimitiveParams|Number(OfSides)?|Key|Name|Media)|HTTPHeader|FreeURLs|Object(Details|PermMask|PrimCount)|Parcel(MaxPrims|Details|Prim(Count|Owners))|Attached(List)?|(SPMax|Free|Used)Memory|Region(Name|TimeDilation|FPS|Corner|AgentCount)|Root(Position|Rotation)|UnixTime|(Parcel|Region)Flags|(Wall|GMT)clock|SimulatorHostname|BoundingBox|GeometricCenter|Creator|NumberOf(Prims|NotecardLines|Sides)|Animation(List)?|(Camera|Local)(Pos|Rot)|Vel|Accel|Omega|Time(stamp|OfDay)|(Object|CenterOf)?Mass|MassMKS|Energy|Owner|(Owner)?Key|SunDirection|Texture(Offset|Scale|Rot)|Inventory(Number|Name|Key|Type|Creator|PermMask)|Permissions(Key)?|StartParameter|List(Length|EntryType)|Date|Agent(Size|Info|Language|List)|LandOwnerAt|NotecardLine|Script(Name|State))|(Get|Reset|GetAndReset)Time|PlaySound(Slave)?|LoopSound(Master|Slave)?|(Trigger|Stop|Preload)Sound|((Get|Delete)Sub|Insert)String|To(Upper|Lower)|Give(InventoryList|Money)|RezObject|(Stop)?LookAt|Sleep|CollisionFilter|(Take|Release)Controls|DetachFromAvatar|AttachToAvatar(Temp)?|InstantMessage|(GetNext)?Email|StopHover|MinEventDelay|RotLookAt|String(Length|Trim)|(Start|Stop)Animation|TargetOmega|Request(Experience)?Permissions|(Create|Break)Link|BreakAllLinks|(Give|Remove)Inventory|Water|PassTouches|Request(Agent|Inventory)Data|TeleportAgent(Home|GlobalCoords)?|ModifyLand|CollisionSound|ResetScript|MessageLinked|PushObject|PassCollisions|AxisAngle2Rot|Rot2(Axis|Angle)|A(cos|sin)|AngleBetween|AllowInventoryDrop|SubStringIndex|List2(CSV|Integer|Json|Float|String|Key|Vector|Rot|List(Strided)?)|DeleteSubList|List(Statistics|Sort|Randomize|(Insert|Find|Replace)List)|EdgeOfWorld|AdjustSoundVolume|Key2Name|TriggerSoundLimited|EjectFromLand|(CSV|ParseString)2List|OverMyLand|SameGroup|UnSit|Ground(Slope|Normal|Contour)|GroundRepel|(Set|Remove)VehicleFlags|SitOnLink|(AvatarOn)?(Link)?SitTarget|Script(Danger|Profiler)|Dialog|VolumeDetect|ResetOtherScript|RemoteLoadScriptPin|(Open|Close)RemoteDataChannel|SendRemoteData|RemoteDataReply|(Integer|String)ToBase64|XorBase64|Log(10)?|Base64To(String|Integer)|ParseStringKeepNulls|RezAtRoot|RequestSimulatorData|ForceMouselook|(Load|Release|(E|Une)scape)URL|ParcelMedia(CommandList|Query)|ModPow|MapDestination|(RemoveFrom|AddTo|Reset)Land(Pass|Ban)List|(Set|Clear)CameraParams|HTTP(Request|Response)|TextBox|DetectedTouch(UV|Face|Pos|(N|Bin)ormal|ST)|(MD5|SHA1|DumpList2)String|Request(Secure)?URL|Clear(Prim|Link)Media|(Link)?ParticleSystem|(Get|Request)(Username|DisplayName)|RegionSayTo|CastRay|GenerateKey|TransferLindenDollars|ManageEstateAccess|(Create|Delete)Character|ExecCharacterCmd|Evade|FleeFrom|NavigateTo|PatrolPoints|Pursue|UpdateCharacter|WanderWithin))\\b"},{className:"literal",variants:[{begin:"\\b(PI|TWO_PI|PI_BY_TWO|DEG_TO_RAD|RAD_TO_DEG|SQRT2)\\b"},{begin:"\\b(XP_ERROR_(EXPERIENCES_DISABLED|EXPERIENCE_(DISABLED|SUSPENDED)|INVALID_(EXPERIENCE|PARAMETERS)|KEY_NOT_FOUND|MATURITY_EXCEEDED|NONE|NOT_(FOUND|PERMITTED(_LAND)?)|NO_EXPERIENCE|QUOTA_EXCEEDED|RETRY_UPDATE|STORAGE_EXCEPTION|STORE_DISABLED|THROTTLED|UNKNOWN_ERROR)|JSON_APPEND|STATUS_(PHYSICS|ROTATE_[XYZ]|PHANTOM|SANDBOX|BLOCK_GRAB(_OBJECT)?|(DIE|RETURN)_AT_EDGE|CAST_SHADOWS|OK|MALFORMED_PARAMS|TYPE_MISMATCH|BOUNDS_ERROR|NOT_(FOUND|SUPPORTED)|INTERNAL_ERROR|WHITELIST_FAILED)|AGENT(_(BY_(LEGACY_|USER)NAME|FLYING|ATTACHMENTS|SCRIPTED|MOUSELOOK|SITTING|ON_OBJECT|AWAY|WALKING|IN_AIR|TYPING|CROUCHING|BUSY|ALWAYS_RUN|AUTOPILOT|LIST_(PARCEL(_OWNER)?|REGION)))?|CAMERA_(PITCH|DISTANCE|BEHINDNESS_(ANGLE|LAG)|(FOCUS|POSITION)(_(THRESHOLD|LOCKED|LAG))?|FOCUS_OFFSET|ACTIVE)|ANIM_ON|LOOP|REVERSE|PING_PONG|SMOOTH|ROTATE|SCALE|ALL_SIDES|LINK_(ROOT|SET|ALL_(OTHERS|CHILDREN)|THIS)|ACTIVE|PASS(IVE|_(ALWAYS|IF_NOT_HANDLED|NEVER))|SCRIPTED|CONTROL_(FWD|BACK|(ROT_)?(LEFT|RIGHT)|UP|DOWN|(ML_)?LBUTTON)|PERMISSION_(RETURN_OBJECTS|DEBIT|OVERRIDE_ANIMATIONS|SILENT_ESTATE_MANAGEMENT|TAKE_CONTROLS|TRIGGER_ANIMATION|ATTACH|CHANGE_LINKS|(CONTROL|TRACK)_CAMERA|TELEPORT)|INVENTORY_(TEXTURE|SOUND|OBJECT|SCRIPT|LANDMARK|CLOTHING|NOTECARD|BODYPART|ANIMATION|GESTURE|ALL|NONE)|CHANGED_(INVENTORY|COLOR|SHAPE|SCALE|TEXTURE|LINK|ALLOWED_DROP|OWNER|REGION(_START)?|TELEPORT|MEDIA)|OBJECT_(CLICK_ACTION|HOVER_HEIGHT|LAST_OWNER_ID|(PHYSICS|SERVER|STREAMING)_COST|UNKNOWN_DETAIL|CHARACTER_TIME|PHANTOM|PHYSICS|TEMP_(ATTACHED|ON_REZ)|NAME|DESC|POS|PRIM_(COUNT|EQUIVALENCE)|RETURN_(PARCEL(_OWNER)?|REGION)|REZZER_KEY|ROO?T|VELOCITY|OMEGA|OWNER|GROUP(_TAG)?|CREATOR|ATTACHED_(POINT|SLOTS_AVAILABLE)|RENDER_WEIGHT|(BODY_SHAPE|PATHFINDING)_TYPE|(RUNNING|TOTAL)_SCRIPT_COUNT|TOTAL_INVENTORY_COUNT|SCRIPT_(MEMORY|TIME))|TYPE_(INTEGER|FLOAT|STRING|KEY|VECTOR|ROTATION|INVALID)|(DEBUG|PUBLIC)_CHANNEL|ATTACH_(AVATAR_CENTER|CHEST|HEAD|BACK|PELVIS|MOUTH|CHIN|NECK|NOSE|BELLY|[LR](SHOULDER|HAND|FOOT|EAR|EYE|[UL](ARM|LEG)|HIP)|(LEFT|RIGHT)_PEC|HUD_(CENTER_[12]|TOP_(RIGHT|CENTER|LEFT)|BOTTOM(_(RIGHT|LEFT))?)|[LR]HAND_RING1|TAIL_(BASE|TIP)|[LR]WING|FACE_(JAW|[LR]EAR|[LR]EYE|TOUNGE)|GROIN|HIND_[LR]FOOT)|LAND_(LEVEL|RAISE|LOWER|SMOOTH|NOISE|REVERT)|DATA_(ONLINE|NAME|BORN|SIM_(POS|STATUS|RATING)|PAYINFO)|PAYMENT_INFO_(ON_FILE|USED)|REMOTE_DATA_(CHANNEL|REQUEST|REPLY)|PSYS_(PART_(BF_(ZERO|ONE(_MINUS_(DEST_COLOR|SOURCE_(ALPHA|COLOR)))?|DEST_COLOR|SOURCE_(ALPHA|COLOR))|BLEND_FUNC_(DEST|SOURCE)|FLAGS|(START|END)_(COLOR|ALPHA|SCALE|GLOW)|MAX_AGE|(RIBBON|WIND|INTERP_(COLOR|SCALE)|BOUNCE|FOLLOW_(SRC|VELOCITY)|TARGET_(POS|LINEAR)|EMISSIVE)_MASK)|SRC_(MAX_AGE|PATTERN|ANGLE_(BEGIN|END)|BURST_(RATE|PART_COUNT|RADIUS|SPEED_(MIN|MAX))|ACCEL|TEXTURE|TARGET_KEY|OMEGA|PATTERN_(DROP|EXPLODE|ANGLE(_CONE(_EMPTY)?)?)))|VEHICLE_(REFERENCE_FRAME|TYPE_(NONE|SLED|CAR|BOAT|AIRPLANE|BALLOON)|(LINEAR|ANGULAR)_(FRICTION_TIMESCALE|MOTOR_DIRECTION)|LINEAR_MOTOR_OFFSET|HOVER_(HEIGHT|EFFICIENCY|TIMESCALE)|BUOYANCY|(LINEAR|ANGULAR)_(DEFLECTION_(EFFICIENCY|TIMESCALE)|MOTOR_(DECAY_)?TIMESCALE)|VERTICAL_ATTRACTION_(EFFICIENCY|TIMESCALE)|BANKING_(EFFICIENCY|MIX|TIMESCALE)|FLAG_(NO_DEFLECTION_UP|LIMIT_(ROLL_ONLY|MOTOR_UP)|HOVER_((WATER|TERRAIN|UP)_ONLY|GLOBAL_HEIGHT)|MOUSELOOK_(STEER|BANK)|CAMERA_DECOUPLED))|PRIM_(ALLOW_UNSIT|ALPHA_MODE(_(BLEND|EMISSIVE|MASK|NONE))?|NORMAL|SPECULAR|TYPE(_(BOX|CYLINDER|PRISM|SPHERE|TORUS|TUBE|RING|SCULPT))?|HOLE_(DEFAULT|CIRCLE|SQUARE|TRIANGLE)|MATERIAL(_(STONE|METAL|GLASS|WOOD|FLESH|PLASTIC|RUBBER))?|SHINY_(NONE|LOW|MEDIUM|HIGH)|BUMP_(NONE|BRIGHT|DARK|WOOD|BARK|BRICKS|CHECKER|CONCRETE|TILE|STONE|DISKS|GRAVEL|BLOBS|SIDING|LARGETILE|STUCCO|SUCTION|WEAVE)|TEXGEN_(DEFAULT|PLANAR)|SCRIPTED_SIT_ONLY|SCULPT_(TYPE_(SPHERE|TORUS|PLANE|CYLINDER|MASK)|FLAG_(MIRROR|INVERT))|PHYSICS(_(SHAPE_(CONVEX|NONE|PRIM|TYPE)))?|(POS|ROT)_LOCAL|SLICE|TEXT|FLEXIBLE|POINT_LIGHT|TEMP_ON_REZ|PHANTOM|POSITION|SIT_TARGET|SIZE|ROTATION|TEXTURE|NAME|OMEGA|DESC|LINK_TARGET|COLOR|BUMP_SHINY|FULLBRIGHT|TEXGEN|GLOW|MEDIA_(ALT_IMAGE_ENABLE|CONTROLS|(CURRENT|HOME)_URL|AUTO_(LOOP|PLAY|SCALE|ZOOM)|FIRST_CLICK_INTERACT|(WIDTH|HEIGHT)_PIXELS|WHITELIST(_ENABLE)?|PERMS_(INTERACT|CONTROL)|PARAM_MAX|CONTROLS_(STANDARD|MINI)|PERM_(NONE|OWNER|GROUP|ANYONE)|MAX_(URL_LENGTH|WHITELIST_(SIZE|COUNT)|(WIDTH|HEIGHT)_PIXELS)))|MASK_(BASE|OWNER|GROUP|EVERYONE|NEXT)|PERM_(TRANSFER|MODIFY|COPY|MOVE|ALL)|PARCEL_(MEDIA_COMMAND_(STOP|PAUSE|PLAY|LOOP|TEXTURE|URL|TIME|AGENT|UNLOAD|AUTO_ALIGN|TYPE|SIZE|DESC|LOOP_SET)|FLAG_(ALLOW_(FLY|(GROUP_)?SCRIPTS|LANDMARK|TERRAFORM|DAMAGE|CREATE_(GROUP_)?OBJECTS)|USE_(ACCESS_(GROUP|LIST)|BAN_LIST|LAND_PASS_LIST)|LOCAL_SOUND_ONLY|RESTRICT_PUSHOBJECT|ALLOW_(GROUP|ALL)_OBJECT_ENTRY)|COUNT_(TOTAL|OWNER|GROUP|OTHER|SELECTED|TEMP)|DETAILS_(NAME|DESC|OWNER|GROUP|AREA|ID|SEE_AVATARS))|LIST_STAT_(MAX|MIN|MEAN|MEDIAN|STD_DEV|SUM(_SQUARES)?|NUM_COUNT|GEOMETRIC_MEAN|RANGE)|PAY_(HIDE|DEFAULT)|REGION_FLAG_(ALLOW_DAMAGE|FIXED_SUN|BLOCK_TERRAFORM|SANDBOX|DISABLE_(COLLISIONS|PHYSICS)|BLOCK_FLY|ALLOW_DIRECT_TELEPORT|RESTRICT_PUSHOBJECT)|HTTP_(METHOD|MIMETYPE|BODY_(MAXLENGTH|TRUNCATED)|CUSTOM_HEADER|PRAGMA_NO_CACHE|VERBOSE_THROTTLE|VERIFY_CERT)|SIT_(INVALID_(AGENT|LINK_OBJECT)|NO(T_EXPERIENCE|_(ACCESS|EXPERIENCE_PERMISSION|SIT_TARGET)))|STRING_(TRIM(_(HEAD|TAIL))?)|CLICK_ACTION_(NONE|TOUCH|SIT|BUY|PAY|OPEN(_MEDIA)?|PLAY|ZOOM)|TOUCH_INVALID_FACE|PROFILE_(NONE|SCRIPT_MEMORY)|RC_(DATA_FLAGS|DETECT_PHANTOM|GET_(LINK_NUM|NORMAL|ROOT_KEY)|MAX_HITS|REJECT_(TYPES|AGENTS|(NON)?PHYSICAL|LAND))|RCERR_(CAST_TIME_EXCEEDED|SIM_PERF_LOW|UNKNOWN)|ESTATE_ACCESS_(ALLOWED_(AGENT|GROUP)_(ADD|REMOVE)|BANNED_AGENT_(ADD|REMOVE))|DENSITY|FRICTION|RESTITUTION|GRAVITY_MULTIPLIER|KFM_(COMMAND|CMD_(PLAY|STOP|PAUSE)|MODE|FORWARD|LOOP|PING_PONG|REVERSE|DATA|ROTATION|TRANSLATION)|ERR_(GENERIC|PARCEL_PERMISSIONS|MALFORMED_PARAMS|RUNTIME_PERMISSIONS|THROTTLED)|CHARACTER_(CMD_((SMOOTH_)?STOP|JUMP)|DESIRED_(TURN_)?SPEED|RADIUS|STAY_WITHIN_PARCEL|LENGTH|ORIENTATION|ACCOUNT_FOR_SKIPPED_FRAMES|AVOIDANCE_MODE|TYPE(_([ABCD]|NONE))?|MAX_(DECEL|TURN_RADIUS|(ACCEL|SPEED)))|PURSUIT_(OFFSET|FUZZ_FACTOR|GOAL_TOLERANCE|INTERCEPT)|REQUIRE_LINE_OF_SIGHT|FORCE_DIRECT_PATH|VERTICAL|HORIZONTAL|AVOID_(CHARACTERS|DYNAMIC_OBSTACLES|NONE)|PU_(EVADE_(HIDDEN|SPOTTED)|FAILURE_(DYNAMIC_PATHFINDING_DISABLED|INVALID_(GOAL|START)|NO_(NAVMESH|VALID_DESTINATION)|OTHER|TARGET_GONE|(PARCEL_)?UNREACHABLE)|(GOAL|SLOWDOWN_DISTANCE)_REACHED)|TRAVERSAL_TYPE(_(FAST|NONE|SLOW))?|CONTENT_TYPE_(ATOM|FORM|HTML|JSON|LLSD|RSS|TEXT|XHTML|XML)|GCNP_(RADIUS|STATIC)|(PATROL|WANDER)_PAUSE_AT_WAYPOINTS|OPT_(AVATAR|CHARACTER|EXCLUSION_VOLUME|LEGACY_LINKSET|MATERIAL_VOLUME|OTHER|STATIC_OBSTACLE|WALKABLE)|SIM_STAT_PCT_CHARS_STEPPED)\\b"},{begin:"\\b(FALSE|TRUE)\\b"},{begin:"\\b(ZERO_ROTATION)\\b"},{begin:"\\b(EOF|JSON_(ARRAY|DELETE|FALSE|INVALID|NULL|NUMBER|OBJECT|STRING|TRUE)|NULL_KEY|TEXTURE_(BLANK|DEFAULT|MEDIA|PLYWOOD|TRANSPARENT)|URL_REQUEST_(GRANTED|DENIED))\\b"},{begin:"\\b(ZERO_VECTOR|TOUCH_INVALID_(TEXCOORD|VECTOR))\\b"}]},{className:"type",begin:"\\b(integer|float|string|key|vector|quaternion|rotation|list)\\b"}]}}}function Yh(){if(xs)return Cs;return xs=1,Cs=function(e){const t="\\[=*\\[",n="\\]=*\\]",r={begin:t,end:n,contains:["self"]},i=[e.COMMENT("--(?!"+t+")","$"),e.COMMENT("--"+t,n,{contains:[r],relevance:10})];return{name:"Lua",aliases:["pluto"],keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in: +// Metatags and globals: +"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:i.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:i}].concat(i)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:t,end:n,contains:[r],relevance:5}])}}}function qh(){if(As)return ks;return As=1,ks=function(e){const t={className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%<?\^\+\*]/}]},n={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,t]},r={className:"variable",begin:/\$\([\w-]+\s/,end:/\)/,keywords:{built_in:"subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value"},contains:[t,n]},i={begin:"^"+e.UNDERSCORE_IDENT_RE+"\\s*(?=[:+?]?=)"},a={className:"section",begin:/^[^\s]+:/,end:/$/,contains:[t]};return{name:"Makefile",aliases:["mk","mak","make"],keywords:{$pattern:/[\w-]+/,keyword:"define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath"},contains:[e.HASH_COMMENT_MODE,t,n,r,i,{className:"meta",begin:/^\.PHONY:/,end:/$/,keywords:{$pattern:/[\.\w]+/,keyword:".PHONY"}},a]}}}function Hh(){if(Ns)return ws;Ns=1;const e=["AASTriangle","AbelianGroup","Abort","AbortKernels","AbortProtect","AbortScheduledTask","Above","Abs","AbsArg","AbsArgPlot","Absolute","AbsoluteCorrelation","AbsoluteCorrelationFunction","AbsoluteCurrentValue","AbsoluteDashing","AbsoluteFileName","AbsoluteOptions","AbsolutePointSize","AbsoluteThickness","AbsoluteTime","AbsoluteTiming","AcceptanceThreshold","AccountingForm","Accumulate","Accuracy","AccuracyGoal","AcousticAbsorbingValue","AcousticImpedanceValue","AcousticNormalVelocityValue","AcousticPDEComponent","AcousticPressureCondition","AcousticRadiationValue","AcousticSoundHardValue","AcousticSoundSoftCondition","ActionDelay","ActionMenu","ActionMenuBox","ActionMenuBoxOptions","Activate","Active","ActiveClassification","ActiveClassificationObject","ActiveItem","ActivePrediction","ActivePredictionObject","ActiveStyle","AcyclicGraphQ","AddOnHelpPath","AddSides","AddTo","AddToSearchIndex","AddUsers","AdjacencyGraph","AdjacencyList","AdjacencyMatrix","AdjacentMeshCells","Adjugate","AdjustmentBox","AdjustmentBoxOptions","AdjustTimeSeriesForecast","AdministrativeDivisionData","AffineHalfSpace","AffineSpace","AffineStateSpaceModel","AffineTransform","After","AggregatedEntityClass","AggregationLayer","AircraftData","AirportData","AirPressureData","AirSoundAttenuation","AirTemperatureData","AiryAi","AiryAiPrime","AiryAiZero","AiryBi","AiryBiPrime","AiryBiZero","AlgebraicIntegerQ","AlgebraicNumber","AlgebraicNumberDenominator","AlgebraicNumberNorm","AlgebraicNumberPolynomial","AlgebraicNumberTrace","AlgebraicRules","AlgebraicRulesData","Algebraics","AlgebraicUnitQ","Alignment","AlignmentMarker","AlignmentPoint","All","AllowAdultContent","AllowChatServices","AllowedCloudExtraParameters","AllowedCloudParameterExtensions","AllowedDimensions","AllowedFrequencyRange","AllowedHeads","AllowGroupClose","AllowIncomplete","AllowInlineCells","AllowKernelInitialization","AllowLooseGrammar","AllowReverseGroupClose","AllowScriptLevelChange","AllowVersionUpdate","AllTrue","Alphabet","AlphabeticOrder","AlphabeticSort","AlphaChannel","AlternateImage","AlternatingFactorial","AlternatingGroup","AlternativeHypothesis","Alternatives","AltitudeMethod","AmbientLight","AmbiguityFunction","AmbiguityList","Analytic","AnatomyData","AnatomyForm","AnatomyPlot3D","AnatomySkinStyle","AnatomyStyling","AnchoredSearch","And","AndersonDarlingTest","AngerJ","AngleBisector","AngleBracket","AnglePath","AnglePath3D","AngleVector","AngularGauge","Animate","AnimatedImage","AnimationCycleOffset","AnimationCycleRepetitions","AnimationDirection","AnimationDisplayTime","AnimationRate","AnimationRepetitions","AnimationRunning","AnimationRunTime","AnimationTimeIndex","AnimationVideo","Animator","AnimatorBox","AnimatorBoxOptions","AnimatorElements","Annotate","Annotation","AnnotationDelete","AnnotationKeys","AnnotationRules","AnnotationValue","Annuity","AnnuityDue","Annulus","AnomalyDetection","AnomalyDetector","AnomalyDetectorFunction","Anonymous","Antialiasing","Antihermitian","AntihermitianMatrixQ","Antisymmetric","AntisymmetricMatrixQ","Antonyms","AnyOrder","AnySubset","AnyTrue","Apart","ApartSquareFree","APIFunction","Appearance","AppearanceElements","AppearanceRules","AppellF1","Append","AppendCheck","AppendLayer","AppendTo","Application","Apply","ApplyReaction","ApplySides","ApplyTo","ArcCos","ArcCosh","ArcCot","ArcCoth","ArcCsc","ArcCsch","ArcCurvature","ARCHProcess","ArcLength","ArcSec","ArcSech","ArcSin","ArcSinDistribution","ArcSinh","ArcTan","ArcTanh","Area","Arg","ArgMax","ArgMin","ArgumentCountQ","ArgumentsOptions","ARIMAProcess","ArithmeticGeometricMean","ARMAProcess","Around","AroundReplace","ARProcess","Array","ArrayComponents","ArrayDepth","ArrayFilter","ArrayFlatten","ArrayMesh","ArrayPad","ArrayPlot","ArrayPlot3D","ArrayQ","ArrayReduce","ArrayResample","ArrayReshape","ArrayRules","Arrays","Arrow","Arrow3DBox","ArrowBox","Arrowheads","ASATriangle","Ask","AskAppend","AskConfirm","AskDisplay","AskedQ","AskedValue","AskFunction","AskState","AskTemplateDisplay","AspectRatio","AspectRatioFixed","Assert","AssessmentFunction","AssessmentResultObject","AssociateTo","Association","AssociationFormat","AssociationMap","AssociationQ","AssociationThread","AssumeDeterministic","Assuming","Assumptions","AstroAngularSeparation","AstroBackground","AstroCenter","AstroDistance","AstroGraphics","AstroGridLines","AstroGridLinesStyle","AstronomicalData","AstroPosition","AstroProjection","AstroRange","AstroRangePadding","AstroReferenceFrame","AstroStyling","AstroZoomLevel","Asymptotic","AsymptoticDSolveValue","AsymptoticEqual","AsymptoticEquivalent","AsymptoticExpectation","AsymptoticGreater","AsymptoticGreaterEqual","AsymptoticIntegrate","AsymptoticLess","AsymptoticLessEqual","AsymptoticOutputTracker","AsymptoticProbability","AsymptoticProduct","AsymptoticRSolveValue","AsymptoticSolve","AsymptoticSum","Asynchronous","AsynchronousTaskObject","AsynchronousTasks","Atom","AtomCoordinates","AtomCount","AtomDiagramCoordinates","AtomLabels","AtomLabelStyle","AtomList","AtomQ","AttachCell","AttachedCell","AttentionLayer","Attributes","Audio","AudioAmplify","AudioAnnotate","AudioAnnotationLookup","AudioBlockMap","AudioCapture","AudioChannelAssignment","AudioChannelCombine","AudioChannelMix","AudioChannels","AudioChannelSeparate","AudioData","AudioDelay","AudioDelete","AudioDevice","AudioDistance","AudioEncoding","AudioFade","AudioFrequencyShift","AudioGenerator","AudioIdentify","AudioInputDevice","AudioInsert","AudioInstanceQ","AudioIntervals","AudioJoin","AudioLabel","AudioLength","AudioLocalMeasurements","AudioLooping","AudioLoudness","AudioMeasurements","AudioNormalize","AudioOutputDevice","AudioOverlay","AudioPad","AudioPan","AudioPartition","AudioPause","AudioPitchShift","AudioPlay","AudioPlot","AudioQ","AudioRecord","AudioReplace","AudioResample","AudioReverb","AudioReverse","AudioSampleRate","AudioSpectralMap","AudioSpectralTransformation","AudioSplit","AudioStop","AudioStream","AudioStreams","AudioTimeStretch","AudioTrackApply","AudioTrackSelection","AudioTrim","AudioType","AugmentedPolyhedron","AugmentedSymmetricPolynomial","Authenticate","Authentication","AuthenticationDialog","AutoAction","Autocomplete","AutocompletionFunction","AutoCopy","AutocorrelationTest","AutoDelete","AutoEvaluateEvents","AutoGeneratedPackage","AutoIndent","AutoIndentSpacings","AutoItalicWords","AutoloadPath","AutoMatch","Automatic","AutomaticImageSize","AutoMultiplicationSymbol","AutoNumberFormatting","AutoOpenNotebooks","AutoOpenPalettes","AutoOperatorRenderings","AutoQuoteCharacters","AutoRefreshed","AutoRemove","AutorunSequencing","AutoScaling","AutoScroll","AutoSpacing","AutoStyleOptions","AutoStyleWords","AutoSubmitting","Axes","AxesEdge","AxesLabel","AxesOrigin","AxesStyle","AxiomaticTheory","Axis","Axis3DBox","Axis3DBoxOptions","AxisBox","AxisBoxOptions","AxisLabel","AxisObject","AxisStyle","BabyMonsterGroupB","Back","BackFaceColor","BackFaceGlowColor","BackFaceOpacity","BackFaceSpecularColor","BackFaceSpecularExponent","BackFaceSurfaceAppearance","BackFaceTexture","Background","BackgroundAppearance","BackgroundTasksSettings","Backslash","Backsubstitution","Backward","Ball","Band","BandpassFilter","BandstopFilter","BarabasiAlbertGraphDistribution","BarChart","BarChart3D","BarcodeImage","BarcodeRecognize","BaringhausHenzeTest","BarLegend","BarlowProschanImportance","BarnesG","BarOrigin","BarSpacing","BartlettHannWindow","BartlettWindow","BaseDecode","BaseEncode","BaseForm","Baseline","BaselinePosition","BaseStyle","BasicRecurrentLayer","BatchNormalizationLayer","BatchSize","BatesDistribution","BattleLemarieWavelet","BayesianMaximization","BayesianMaximizationObject","BayesianMinimization","BayesianMinimizationObject","Because","BeckmannDistribution","Beep","Before","Begin","BeginDialogPacket","BeginPackage","BellB","BellY","Below","BenfordDistribution","BeniniDistribution","BenktanderGibratDistribution","BenktanderWeibullDistribution","BernoulliB","BernoulliDistribution","BernoulliGraphDistribution","BernoulliProcess","BernsteinBasis","BesagL","BesselFilterModel","BesselI","BesselJ","BesselJZero","BesselK","BesselY","BesselYZero","Beta","BetaBinomialDistribution","BetaDistribution","BetaNegativeBinomialDistribution","BetaPrimeDistribution","BetaRegularized","Between","BetweennessCentrality","Beveled","BeveledPolyhedron","BezierCurve","BezierCurve3DBox","BezierCurve3DBoxOptions","BezierCurveBox","BezierCurveBoxOptions","BezierFunction","BilateralFilter","BilateralLaplaceTransform","BilateralZTransform","Binarize","BinaryDeserialize","BinaryDistance","BinaryFormat","BinaryImageQ","BinaryRead","BinaryReadList","BinarySerialize","BinaryWrite","BinCounts","BinLists","BinnedVariogramList","Binomial","BinomialDistribution","BinomialPointProcess","BinomialProcess","BinormalDistribution","BiorthogonalSplineWavelet","BioSequence","BioSequenceBackTranslateList","BioSequenceComplement","BioSequenceInstances","BioSequenceModify","BioSequencePlot","BioSequenceQ","BioSequenceReverseComplement","BioSequenceTranscribe","BioSequenceTranslate","BipartiteGraphQ","BiquadraticFilterModel","BirnbaumImportance","BirnbaumSaundersDistribution","BitAnd","BitClear","BitGet","BitLength","BitNot","BitOr","BitRate","BitSet","BitShiftLeft","BitShiftRight","BitXor","BiweightLocation","BiweightMidvariance","Black","BlackmanHarrisWindow","BlackmanNuttallWindow","BlackmanWindow","Blank","BlankForm","BlankNullSequence","BlankSequence","Blend","Block","BlockchainAddressData","BlockchainBase","BlockchainBlockData","BlockchainContractValue","BlockchainData","BlockchainGet","BlockchainKeyEncode","BlockchainPut","BlockchainTokenData","BlockchainTransaction","BlockchainTransactionData","BlockchainTransactionSign","BlockchainTransactionSubmit","BlockDiagonalMatrix","BlockLowerTriangularMatrix","BlockMap","BlockRandom","BlockUpperTriangularMatrix","BlomqvistBeta","BlomqvistBetaTest","Blue","Blur","Blurring","BodePlot","BohmanWindow","Bold","Bond","BondCount","BondLabels","BondLabelStyle","BondList","BondQ","Bookmarks","Boole","BooleanConsecutiveFunction","BooleanConvert","BooleanCountingFunction","BooleanFunction","BooleanGraph","BooleanMaxterms","BooleanMinimize","BooleanMinterms","BooleanQ","BooleanRegion","Booleans","BooleanStrings","BooleanTable","BooleanVariables","BorderDimensions","BorelTannerDistribution","Bottom","BottomHatTransform","BoundaryDiscretizeGraphics","BoundaryDiscretizeRegion","BoundaryMesh","BoundaryMeshRegion","BoundaryMeshRegionQ","BoundaryStyle","BoundedRegionQ","BoundingRegion","Bounds","Box","BoxBaselineShift","BoxData","BoxDimensions","Boxed","Boxes","BoxForm","BoxFormFormatTypes","BoxFrame","BoxID","BoxMargins","BoxMatrix","BoxObject","BoxRatios","BoxRotation","BoxRotationPoint","BoxStyle","BoxWhiskerChart","Bra","BracketingBar","BraKet","BrayCurtisDistance","BreadthFirstScan","Break","BridgeData","BrightnessEqualize","BroadcastStationData","Brown","BrownForsytheTest","BrownianBridgeProcess","BrowserCategory","BSplineBasis","BSplineCurve","BSplineCurve3DBox","BSplineCurve3DBoxOptions","BSplineCurveBox","BSplineCurveBoxOptions","BSplineFunction","BSplineSurface","BSplineSurface3DBox","BSplineSurface3DBoxOptions","BubbleChart","BubbleChart3D","BubbleScale","BubbleSizes","BuckyballGraph","BuildCompiledComponent","BuildingData","BulletGauge","BusinessDayQ","ButterflyGraph","ButterworthFilterModel","Button","ButtonBar","ButtonBox","ButtonBoxOptions","ButtonCell","ButtonContents","ButtonData","ButtonEvaluator","ButtonExpandable","ButtonFrame","ButtonFunction","ButtonMargins","ButtonMinHeight","ButtonNote","ButtonNotebook","ButtonSource","ButtonStyle","ButtonStyleMenuListing","Byte","ByteArray","ByteArrayFormat","ByteArrayFormatQ","ByteArrayQ","ByteArrayToString","ByteCount","ByteOrdering","C","CachedValue","CacheGraphics","CachePersistence","CalendarConvert","CalendarData","CalendarType","Callout","CalloutMarker","CalloutStyle","CallPacket","CanberraDistance","Cancel","CancelButton","CandlestickChart","CanonicalGraph","CanonicalizePolygon","CanonicalizePolyhedron","CanonicalizeRegion","CanonicalName","CanonicalWarpingCorrespondence","CanonicalWarpingDistance","CantorMesh","CantorStaircase","Canvas","Cap","CapForm","CapitalDifferentialD","Capitalize","CapsuleShape","CaptureRunning","CaputoD","CardinalBSplineBasis","CarlemanLinearize","CarlsonRC","CarlsonRD","CarlsonRE","CarlsonRF","CarlsonRG","CarlsonRJ","CarlsonRK","CarlsonRM","CarmichaelLambda","CaseOrdering","Cases","CaseSensitive","Cashflow","Casoratian","Cast","Catalan","CatalanNumber","Catch","CategoricalDistribution","Catenate","CatenateLayer","CauchyDistribution","CauchyMatrix","CauchyPointProcess","CauchyWindow","CayleyGraph","CDF","CDFDeploy","CDFInformation","CDFWavelet","Ceiling","CelestialSystem","Cell","CellAutoOverwrite","CellBaseline","CellBoundingBox","CellBracketOptions","CellChangeTimes","CellContents","CellContext","CellDingbat","CellDingbatMargin","CellDynamicExpression","CellEditDuplicate","CellElementsBoundingBox","CellElementSpacings","CellEpilog","CellEvaluationDuplicate","CellEvaluationFunction","CellEvaluationLanguage","CellEventActions","CellFrame","CellFrameColor","CellFrameLabelMargins","CellFrameLabels","CellFrameMargins","CellFrameStyle","CellGroup","CellGroupData","CellGrouping","CellGroupingRules","CellHorizontalScrolling","CellID","CellInsertionPointCell","CellLabel","CellLabelAutoDelete","CellLabelMargins","CellLabelPositioning","CellLabelStyle","CellLabelTemplate","CellMargins","CellObject","CellOpen","CellPrint","CellProlog","Cells","CellSize","CellStyle","CellTags","CellTrayPosition","CellTrayWidgets","CellularAutomaton","CensoredDistribution","Censoring","Center","CenterArray","CenterDot","CenteredInterval","CentralFeature","CentralMoment","CentralMomentGeneratingFunction","Cepstrogram","CepstrogramArray","CepstrumArray","CForm","ChampernowneNumber","ChangeOptions","ChannelBase","ChannelBrokerAction","ChannelDatabin","ChannelHistoryLength","ChannelListen","ChannelListener","ChannelListeners","ChannelListenerWait","ChannelObject","ChannelPreSendFunction","ChannelReceiverFunction","ChannelSend","ChannelSubscribers","ChanVeseBinarize","Character","CharacterCounts","CharacterEncoding","CharacterEncodingsPath","CharacteristicFunction","CharacteristicPolynomial","CharacterName","CharacterNormalize","CharacterRange","Characters","ChartBaseStyle","ChartElementData","ChartElementDataFunction","ChartElementFunction","ChartElements","ChartLabels","ChartLayout","ChartLegends","ChartStyle","Chebyshev1FilterModel","Chebyshev2FilterModel","ChebyshevDistance","ChebyshevT","ChebyshevU","Check","CheckAbort","CheckAll","CheckArguments","Checkbox","CheckboxBar","CheckboxBox","CheckboxBoxOptions","ChemicalConvert","ChemicalData","ChemicalFormula","ChemicalInstance","ChemicalReaction","ChessboardDistance","ChiDistribution","ChineseRemainder","ChiSquareDistribution","ChoiceButtons","ChoiceDialog","CholeskyDecomposition","Chop","ChromaticityPlot","ChromaticityPlot3D","ChromaticPolynomial","Circle","CircleBox","CircleDot","CircleMinus","CirclePlus","CirclePoints","CircleThrough","CircleTimes","CirculantGraph","CircularArcThrough","CircularOrthogonalMatrixDistribution","CircularQuaternionMatrixDistribution","CircularRealMatrixDistribution","CircularSymplecticMatrixDistribution","CircularUnitaryMatrixDistribution","Circumsphere","CityData","ClassifierFunction","ClassifierInformation","ClassifierMeasurements","ClassifierMeasurementsObject","Classify","ClassPriors","Clear","ClearAll","ClearAttributes","ClearCookies","ClearPermissions","ClearSystemCache","ClebschGordan","ClickPane","ClickToCopy","ClickToCopyEnabled","Clip","ClipboardNotebook","ClipFill","ClippingStyle","ClipPlanes","ClipPlanesStyle","ClipRange","Clock","ClockGauge","ClockwiseContourIntegral","Close","Closed","CloseKernels","ClosenessCentrality","Closing","ClosingAutoSave","ClosingEvent","CloudAccountData","CloudBase","CloudConnect","CloudConnections","CloudDeploy","CloudDirectory","CloudDisconnect","CloudEvaluate","CloudExport","CloudExpression","CloudExpressions","CloudFunction","CloudGet","CloudImport","CloudLoggingData","CloudObject","CloudObjectInformation","CloudObjectInformationData","CloudObjectNameFormat","CloudObjects","CloudObjectURLType","CloudPublish","CloudPut","CloudRenderingMethod","CloudSave","CloudShare","CloudSubmit","CloudSymbol","CloudUnshare","CloudUserID","ClusterClassify","ClusterDissimilarityFunction","ClusteringComponents","ClusteringMeasurements","ClusteringTree","CMYKColor","Coarse","CodeAssistOptions","Coefficient","CoefficientArrays","CoefficientDomain","CoefficientList","CoefficientRules","CoifletWavelet","Collect","CollinearPoints","Colon","ColonForm","ColorBalance","ColorCombine","ColorConvert","ColorCoverage","ColorData","ColorDataFunction","ColorDetect","ColorDistance","ColorFunction","ColorFunctionBinning","ColorFunctionScaling","Colorize","ColorNegate","ColorOutput","ColorProfileData","ColorQ","ColorQuantize","ColorReplace","ColorRules","ColorSelectorSettings","ColorSeparate","ColorSetter","ColorSetterBox","ColorSetterBoxOptions","ColorSlider","ColorsNear","ColorSpace","ColorToneMapping","Column","ColumnAlignments","ColumnBackgrounds","ColumnForm","ColumnLines","ColumnsEqual","ColumnSpacings","ColumnWidths","CombinatorB","CombinatorC","CombinatorI","CombinatorK","CombinatorS","CombinatorW","CombinatorY","CombinedEntityClass","CombinerFunction","CometData","CommonDefaultFormatTypes","Commonest","CommonestFilter","CommonName","CommonUnits","CommunityBoundaryStyle","CommunityGraphPlot","CommunityLabels","CommunityRegionStyle","CompanyData","CompatibleUnitQ","CompilationOptions","CompilationTarget","Compile","Compiled","CompiledCodeFunction","CompiledComponent","CompiledExpressionDeclaration","CompiledFunction","CompiledLayer","CompilerCallback","CompilerEnvironment","CompilerEnvironmentAppend","CompilerEnvironmentAppendTo","CompilerEnvironmentObject","CompilerOptions","Complement","ComplementedEntityClass","CompleteGraph","CompleteGraphQ","CompleteIntegral","CompleteKaryTree","CompletionsListPacket","Complex","ComplexArrayPlot","ComplexContourPlot","Complexes","ComplexExpand","ComplexInfinity","ComplexityFunction","ComplexListPlot","ComplexPlot","ComplexPlot3D","ComplexRegionPlot","ComplexStreamPlot","ComplexVectorPlot","ComponentMeasurements","ComponentwiseContextMenu","Compose","ComposeList","ComposeSeries","CompositeQ","Composition","CompoundElement","CompoundExpression","CompoundPoissonDistribution","CompoundPoissonProcess","CompoundRenewalProcess","Compress","CompressedData","CompressionLevel","ComputeUncertainty","ConcaveHullMesh","Condition","ConditionalExpression","Conditioned","Cone","ConeBox","ConfidenceLevel","ConfidenceRange","ConfidenceTransform","ConfigurationPath","Confirm","ConfirmAssert","ConfirmBy","ConfirmMatch","ConfirmQuiet","ConformationMethod","ConformAudio","ConformImages","Congruent","ConicGradientFilling","ConicHullRegion","ConicHullRegion3DBox","ConicHullRegion3DBoxOptions","ConicHullRegionBox","ConicHullRegionBoxOptions","ConicOptimization","Conjugate","ConjugateTranspose","Conjunction","Connect","ConnectedComponents","ConnectedGraphComponents","ConnectedGraphQ","ConnectedMeshComponents","ConnectedMoleculeComponents","ConnectedMoleculeQ","ConnectionSettings","ConnectLibraryCallbackFunction","ConnectSystemModelComponents","ConnectSystemModelController","ConnesWindow","ConoverTest","ConservativeConvectionPDETerm","ConsoleMessage","Constant","ConstantArray","ConstantArrayLayer","ConstantImage","ConstantPlusLayer","ConstantRegionQ","Constants","ConstantTimesLayer","ConstellationData","ConstrainedMax","ConstrainedMin","Construct","Containing","ContainsAll","ContainsAny","ContainsExactly","ContainsNone","ContainsOnly","ContentDetectorFunction","ContentFieldOptions","ContentLocationFunction","ContentObject","ContentPadding","ContentsBoundingBox","ContentSelectable","ContentSize","Context","ContextMenu","Contexts","ContextToFileName","Continuation","Continue","ContinuedFraction","ContinuedFractionK","ContinuousAction","ContinuousMarkovProcess","ContinuousTask","ContinuousTimeModelQ","ContinuousWaveletData","ContinuousWaveletTransform","ContourDetect","ContourGraphics","ContourIntegral","ContourLabels","ContourLines","ContourPlot","ContourPlot3D","Contours","ContourShading","ContourSmoothing","ContourStyle","ContraharmonicMean","ContrastiveLossLayer","Control","ControlActive","ControlAlignment","ControlGroupContentsBox","ControllabilityGramian","ControllabilityMatrix","ControllableDecomposition","ControllableModelQ","ControllerDuration","ControllerInformation","ControllerInformationData","ControllerLinking","ControllerManipulate","ControllerMethod","ControllerPath","ControllerState","ControlPlacement","ControlsRendering","ControlType","ConvectionPDETerm","Convergents","ConversionOptions","ConversionRules","ConvertToPostScript","ConvertToPostScriptPacket","ConvexHullMesh","ConvexHullRegion","ConvexOptimization","ConvexPolygonQ","ConvexPolyhedronQ","ConvexRegionQ","ConvolutionLayer","Convolve","ConwayGroupCo1","ConwayGroupCo2","ConwayGroupCo3","CookieFunction","Cookies","CoordinateBoundingBox","CoordinateBoundingBoxArray","CoordinateBounds","CoordinateBoundsArray","CoordinateChartData","CoordinatesToolOptions","CoordinateTransform","CoordinateTransformData","CoplanarPoints","CoprimeQ","Coproduct","CopulaDistribution","Copyable","CopyDatabin","CopyDirectory","CopyFile","CopyFunction","CopyTag","CopyToClipboard","CoreNilpotentDecomposition","CornerFilter","CornerNeighbors","Correlation","CorrelationDistance","CorrelationFunction","CorrelationTest","Cos","Cosh","CoshIntegral","CosineDistance","CosineWindow","CosIntegral","Cot","Coth","CoulombF","CoulombG","CoulombH1","CoulombH2","Count","CountDistinct","CountDistinctBy","CounterAssignments","CounterBox","CounterBoxOptions","CounterClockwiseContourIntegral","CounterEvaluator","CounterFunction","CounterIncrements","CounterStyle","CounterStyleMenuListing","CountRoots","CountryData","Counts","CountsBy","Covariance","CovarianceEstimatorFunction","CovarianceFunction","CoxianDistribution","CoxIngersollRossProcess","CoxModel","CoxModelFit","CramerVonMisesTest","CreateArchive","CreateCellID","CreateChannel","CreateCloudExpression","CreateCompilerEnvironment","CreateDatabin","CreateDataStructure","CreateDataSystemModel","CreateDialog","CreateDirectory","CreateDocument","CreateFile","CreateIntermediateDirectories","CreateLicenseEntitlement","CreateManagedLibraryExpression","CreateNotebook","CreatePacletArchive","CreatePalette","CreatePermissionsGroup","CreateScheduledTask","CreateSearchIndex","CreateSystemModel","CreateTemporary","CreateTypeInstance","CreateUUID","CreateWindow","CriterionFunction","CriticalityFailureImportance","CriticalitySuccessImportance","CriticalSection","Cross","CrossEntropyLossLayer","CrossingCount","CrossingDetect","CrossingPolygon","CrossMatrix","Csc","Csch","CSGRegion","CSGRegionQ","CSGRegionTree","CTCLossLayer","Cube","CubeRoot","Cubics","Cuboid","CuboidBox","CuboidBoxOptions","Cumulant","CumulantGeneratingFunction","CumulativeFeatureImpactPlot","Cup","CupCap","Curl","CurlyDoubleQuote","CurlyQuote","CurrencyConvert","CurrentDate","CurrentImage","CurrentNotebookImage","CurrentScreenImage","CurrentValue","Curry","CurryApplied","CurvatureFlowFilter","CurveClosed","Cyan","CycleGraph","CycleIndexPolynomial","Cycles","CyclicGroup","Cyclotomic","Cylinder","CylinderBox","CylinderBoxOptions","CylindricalDecomposition","CylindricalDecompositionFunction","D","DagumDistribution","DamData","DamerauLevenshteinDistance","DampingFactor","Darker","Dashed","Dashing","DatabaseConnect","DatabaseDisconnect","DatabaseReference","Databin","DatabinAdd","DatabinRemove","Databins","DatabinSubmit","DatabinUpload","DataCompression","DataDistribution","DataRange","DataReversed","Dataset","DatasetDisplayPanel","DatasetTheme","DataStructure","DataStructureQ","Date","DateBounds","Dated","DateDelimiters","DateDifference","DatedUnit","DateFormat","DateFunction","DateGranularity","DateHistogram","DateInterval","DateList","DateListLogPlot","DateListPlot","DateListStepPlot","DateObject","DateObjectQ","DateOverlapsQ","DatePattern","DatePlus","DateRange","DateReduction","DateScale","DateSelect","DateString","DateTicksFormat","DateValue","DateWithinQ","DaubechiesWavelet","DavisDistribution","DawsonF","DayCount","DayCountConvention","DayHemisphere","DaylightQ","DayMatchQ","DayName","DayNightTerminator","DayPlus","DayRange","DayRound","DeBruijnGraph","DeBruijnSequence","Debug","DebugTag","Decapitalize","Decimal","DecimalForm","DeclareCompiledComponent","DeclareKnownSymbols","DeclarePackage","Decompose","DeconvolutionLayer","Decrement","Decrypt","DecryptFile","DedekindEta","DeepSpaceProbeData","Default","Default2DTool","Default3DTool","DefaultAttachedCellStyle","DefaultAxesStyle","DefaultBaseStyle","DefaultBoxStyle","DefaultButton","DefaultColor","DefaultControlPlacement","DefaultDockedCellStyle","DefaultDuplicateCellStyle","DefaultDuration","DefaultElement","DefaultFaceGridsStyle","DefaultFieldHintStyle","DefaultFont","DefaultFontProperties","DefaultFormatType","DefaultFrameStyle","DefaultFrameTicksStyle","DefaultGridLinesStyle","DefaultInlineFormatType","DefaultInputFormatType","DefaultLabelStyle","DefaultMenuStyle","DefaultNaturalLanguage","DefaultNewCellStyle","DefaultNewInlineCellStyle","DefaultNotebook","DefaultOptions","DefaultOutputFormatType","DefaultPrintPrecision","DefaultStyle","DefaultStyleDefinitions","DefaultTextFormatType","DefaultTextInlineFormatType","DefaultTicksStyle","DefaultTooltipStyle","DefaultValue","DefaultValues","Defer","DefineExternal","DefineInputStreamMethod","DefineOutputStreamMethod","DefineResourceFunction","Definition","Degree","DegreeCentrality","DegreeGraphDistribution","DegreeLexicographic","DegreeReverseLexicographic","DEigensystem","DEigenvalues","Deinitialization","Del","DelaunayMesh","Delayed","Deletable","Delete","DeleteAdjacentDuplicates","DeleteAnomalies","DeleteBorderComponents","DeleteCases","DeleteChannel","DeleteCloudExpression","DeleteContents","DeleteDirectory","DeleteDuplicates","DeleteDuplicatesBy","DeleteElements","DeleteFile","DeleteMissing","DeleteObject","DeletePermissionsKey","DeleteSearchIndex","DeleteSmallComponents","DeleteStopwords","DeleteWithContents","DeletionWarning","DelimitedArray","DelimitedSequence","Delimiter","DelimiterAutoMatching","DelimiterFlashTime","DelimiterMatching","Delimiters","DeliveryFunction","Dendrogram","Denominator","DensityGraphics","DensityHistogram","DensityPlot","DensityPlot3D","DependentVariables","Deploy","Deployed","Depth","DepthFirstScan","Derivative","DerivativeFilter","DerivativePDETerm","DerivedKey","DescriptorStateSpace","DesignMatrix","DestroyAfterEvaluation","Det","DeviceClose","DeviceConfigure","DeviceExecute","DeviceExecuteAsynchronous","DeviceObject","DeviceOpen","DeviceOpenQ","DeviceRead","DeviceReadBuffer","DeviceReadLatest","DeviceReadList","DeviceReadTimeSeries","Devices","DeviceStreams","DeviceWrite","DeviceWriteBuffer","DGaussianWavelet","DiacriticalPositioning","Diagonal","DiagonalizableMatrixQ","DiagonalMatrix","DiagonalMatrixQ","Dialog","DialogIndent","DialogInput","DialogLevel","DialogNotebook","DialogProlog","DialogReturn","DialogSymbols","Diamond","DiamondMatrix","DiceDissimilarity","DictionaryLookup","DictionaryWordQ","DifferenceDelta","DifferenceOrder","DifferenceQuotient","DifferenceRoot","DifferenceRootReduce","Differences","DifferentialD","DifferentialRoot","DifferentialRootReduce","DifferentiatorFilter","DiffusionPDETerm","DiggleGatesPointProcess","DiggleGrattonPointProcess","DigitalSignature","DigitBlock","DigitBlockMinimum","DigitCharacter","DigitCount","DigitQ","DihedralAngle","DihedralGroup","Dilation","DimensionalCombinations","DimensionalMeshComponents","DimensionReduce","DimensionReducerFunction","DimensionReduction","Dimensions","DiracComb","DiracDelta","DirectedEdge","DirectedEdges","DirectedGraph","DirectedGraphQ","DirectedInfinity","Direction","DirectionalLight","Directive","Directory","DirectoryName","DirectoryQ","DirectoryStack","DirichletBeta","DirichletCharacter","DirichletCondition","DirichletConvolve","DirichletDistribution","DirichletEta","DirichletL","DirichletLambda","DirichletTransform","DirichletWindow","DisableConsolePrintPacket","DisableFormatting","DiscreteAsymptotic","DiscreteChirpZTransform","DiscreteConvolve","DiscreteDelta","DiscreteHadamardTransform","DiscreteIndicator","DiscreteInputOutputModel","DiscreteLimit","DiscreteLQEstimatorGains","DiscreteLQRegulatorGains","DiscreteLyapunovSolve","DiscreteMarkovProcess","DiscreteMaxLimit","DiscreteMinLimit","DiscretePlot","DiscretePlot3D","DiscreteRatio","DiscreteRiccatiSolve","DiscreteShift","DiscreteTimeModelQ","DiscreteUniformDistribution","DiscreteVariables","DiscreteWaveletData","DiscreteWaveletPacketTransform","DiscreteWaveletTransform","DiscretizeGraphics","DiscretizeRegion","Discriminant","DisjointQ","Disjunction","Disk","DiskBox","DiskBoxOptions","DiskMatrix","DiskSegment","Dispatch","DispatchQ","DispersionEstimatorFunction","Display","DisplayAllSteps","DisplayEndPacket","DisplayForm","DisplayFunction","DisplayPacket","DisplayRules","DisplayString","DisplayTemporary","DisplayWith","DisplayWithRef","DisplayWithVariable","DistanceFunction","DistanceMatrix","DistanceTransform","Distribute","Distributed","DistributedContexts","DistributeDefinitions","DistributionChart","DistributionDomain","DistributionFitTest","DistributionParameterAssumptions","DistributionParameterQ","Dithering","Div","Divergence","Divide","DivideBy","Dividers","DivideSides","Divisible","Divisors","DivisorSigma","DivisorSum","DMSList","DMSString","Do","DockedCell","DockedCells","DocumentGenerator","DocumentGeneratorInformation","DocumentGeneratorInformationData","DocumentGenerators","DocumentNotebook","DocumentWeightingRules","Dodecahedron","DomainRegistrationInformation","DominantColors","DominatorTreeGraph","DominatorVertexList","DOSTextFormat","Dot","DotDashed","DotEqual","DotLayer","DotPlusLayer","Dotted","DoubleBracketingBar","DoubleContourIntegral","DoubleDownArrow","DoubleLeftArrow","DoubleLeftRightArrow","DoubleLeftTee","DoubleLongLeftArrow","DoubleLongLeftRightArrow","DoubleLongRightArrow","DoubleRightArrow","DoubleRightTee","DoubleUpArrow","DoubleUpDownArrow","DoubleVerticalBar","DoublyInfinite","Down","DownArrow","DownArrowBar","DownArrowUpArrow","DownLeftRightVector","DownLeftTeeVector","DownLeftVector","DownLeftVectorBar","DownRightTeeVector","DownRightVector","DownRightVectorBar","Downsample","DownTee","DownTeeArrow","DownValues","DownValuesFunction","DragAndDrop","DrawBackFaces","DrawEdges","DrawFrontFaces","DrawHighlighted","DrazinInverse","Drop","DropoutLayer","DropShadowing","DSolve","DSolveChangeVariables","DSolveValue","Dt","DualLinearProgramming","DualPlanarGraph","DualPolyhedron","DualSystemsModel","DumpGet","DumpSave","DuplicateFreeQ","Duration","Dynamic","DynamicBox","DynamicBoxOptions","DynamicEvaluationTimeout","DynamicGeoGraphics","DynamicImage","DynamicLocation","DynamicModule","DynamicModuleBox","DynamicModuleBoxOptions","DynamicModuleParent","DynamicModuleValues","DynamicName","DynamicNamespace","DynamicReference","DynamicSetting","DynamicUpdating","DynamicWrapper","DynamicWrapperBox","DynamicWrapperBoxOptions","E","EarthImpactData","EarthquakeData","EccentricityCentrality","Echo","EchoEvaluation","EchoFunction","EchoLabel","EchoTiming","EclipseType","EdgeAdd","EdgeBetweennessCentrality","EdgeCapacity","EdgeCapForm","EdgeChromaticNumber","EdgeColor","EdgeConnectivity","EdgeContract","EdgeCost","EdgeCount","EdgeCoverQ","EdgeCycleMatrix","EdgeDashing","EdgeDelete","EdgeDetect","EdgeForm","EdgeIndex","EdgeJoinForm","EdgeLabeling","EdgeLabels","EdgeLabelStyle","EdgeList","EdgeOpacity","EdgeQ","EdgeRenderingFunction","EdgeRules","EdgeShapeFunction","EdgeStyle","EdgeTaggedGraph","EdgeTaggedGraphQ","EdgeTags","EdgeThickness","EdgeTransitiveGraphQ","EdgeValueRange","EdgeValueSizes","EdgeWeight","EdgeWeightedGraphQ","Editable","EditButtonSettings","EditCellTagsSettings","EditDistance","EffectiveInterest","Eigensystem","Eigenvalues","EigenvectorCentrality","Eigenvectors","Element","ElementData","ElementwiseLayer","ElidedForms","Eliminate","EliminationOrder","Ellipsoid","EllipticE","EllipticExp","EllipticExpPrime","EllipticF","EllipticFilterModel","EllipticK","EllipticLog","EllipticNomeQ","EllipticPi","EllipticReducedHalfPeriods","EllipticTheta","EllipticThetaPrime","EmbedCode","EmbeddedHTML","EmbeddedService","EmbeddedSQLEntityClass","EmbeddedSQLExpression","EmbeddingLayer","EmbeddingObject","EmitSound","EmphasizeSyntaxErrors","EmpiricalDistribution","Empty","EmptyGraphQ","EmptyRegion","EmptySpaceF","EnableConsolePrintPacket","Enabled","Enclose","Encode","Encrypt","EncryptedObject","EncryptFile","End","EndAdd","EndDialogPacket","EndOfBuffer","EndOfFile","EndOfLine","EndOfString","EndPackage","EngineEnvironment","EngineeringForm","Enter","EnterExpressionPacket","EnterTextPacket","Entity","EntityClass","EntityClassList","EntityCopies","EntityFunction","EntityGroup","EntityInstance","EntityList","EntityPrefetch","EntityProperties","EntityProperty","EntityPropertyClass","EntityRegister","EntityStore","EntityStores","EntityTypeName","EntityUnregister","EntityValue","Entropy","EntropyFilter","Environment","Epilog","EpilogFunction","Equal","EqualColumns","EqualRows","EqualTilde","EqualTo","EquatedTo","Equilibrium","EquirippleFilterKernel","Equivalent","Erf","Erfc","Erfi","ErlangB","ErlangC","ErlangDistribution","Erosion","ErrorBox","ErrorBoxOptions","ErrorNorm","ErrorPacket","ErrorsDialogSettings","EscapeRadius","EstimatedBackground","EstimatedDistribution","EstimatedPointNormals","EstimatedPointProcess","EstimatedProcess","EstimatedVariogramModel","EstimatorGains","EstimatorRegulator","EuclideanDistance","EulerAngles","EulerCharacteristic","EulerE","EulerGamma","EulerianGraphQ","EulerMatrix","EulerPhi","Evaluatable","Evaluate","Evaluated","EvaluatePacket","EvaluateScheduledTask","EvaluationBox","EvaluationCell","EvaluationCompletionAction","EvaluationData","EvaluationElements","EvaluationEnvironment","EvaluationMode","EvaluationMonitor","EvaluationNotebook","EvaluationObject","EvaluationOrder","EvaluationPrivileges","EvaluationRateLimit","Evaluator","EvaluatorNames","EvenQ","EventData","EventEvaluator","EventHandler","EventHandlerTag","EventLabels","EventSeries","ExactBlackmanWindow","ExactNumberQ","ExactRootIsolation","ExampleData","Except","ExcludedContexts","ExcludedForms","ExcludedLines","ExcludedPhysicalQuantities","ExcludePods","Exclusions","ExclusionsStyle","Exists","Exit","ExitDialog","ExoplanetData","Exp","Expand","ExpandAll","ExpandDenominator","ExpandFileName","ExpandNumerator","Expectation","ExpectationE","ExpectedValue","ExpGammaDistribution","ExpIntegralE","ExpIntegralEi","ExpirationDate","Exponent","ExponentFunction","ExponentialDistribution","ExponentialFamily","ExponentialGeneratingFunction","ExponentialMovingAverage","ExponentialPowerDistribution","ExponentPosition","ExponentStep","Export","ExportAutoReplacements","ExportByteArray","ExportForm","ExportPacket","ExportString","Expression","ExpressionCell","ExpressionGraph","ExpressionPacket","ExpressionTree","ExpressionUUID","ExpToTrig","ExtendedEntityClass","ExtendedGCD","Extension","ExtentElementFunction","ExtentMarkers","ExtentSize","ExternalBundle","ExternalCall","ExternalDataCharacterEncoding","ExternalEvaluate","ExternalFunction","ExternalFunctionName","ExternalIdentifier","ExternalObject","ExternalOptions","ExternalSessionObject","ExternalSessions","ExternalStorageBase","ExternalStorageDownload","ExternalStorageGet","ExternalStorageObject","ExternalStoragePut","ExternalStorageUpload","ExternalTypeSignature","ExternalValue","Extract","ExtractArchive","ExtractLayer","ExtractPacletArchive","ExtremeValueDistribution","FaceAlign","FaceForm","FaceGrids","FaceGridsStyle","FaceRecognize","FacialFeatures","Factor","FactorComplete","Factorial","Factorial2","FactorialMoment","FactorialMomentGeneratingFunction","FactorialPower","FactorInteger","FactorList","FactorSquareFree","FactorSquareFreeList","FactorTerms","FactorTermsList","Fail","Failure","FailureAction","FailureDistribution","FailureQ","False","FareySequence","FARIMAProcess","FeatureDistance","FeatureExtract","FeatureExtraction","FeatureExtractor","FeatureExtractorFunction","FeatureImpactPlot","FeatureNames","FeatureNearest","FeatureSpacePlot","FeatureSpacePlot3D","FeatureTypes","FeatureValueDependencyPlot","FeatureValueImpactPlot","FEDisableConsolePrintPacket","FeedbackLinearize","FeedbackSector","FeedbackSectorStyle","FeedbackType","FEEnableConsolePrintPacket","FetalGrowthData","Fibonacci","Fibonorial","FieldCompletionFunction","FieldHint","FieldHintStyle","FieldMasked","FieldSize","File","FileBaseName","FileByteCount","FileConvert","FileDate","FileExistsQ","FileExtension","FileFormat","FileFormatProperties","FileFormatQ","FileHandler","FileHash","FileInformation","FileName","FileNameDepth","FileNameDialogSettings","FileNameDrop","FileNameForms","FileNameJoin","FileNames","FileNameSetter","FileNameSplit","FileNameTake","FileNameToFormatList","FilePrint","FileSize","FileSystemMap","FileSystemScan","FileSystemTree","FileTemplate","FileTemplateApply","FileType","FilledCurve","FilledCurveBox","FilledCurveBoxOptions","FilledTorus","FillForm","Filling","FillingStyle","FillingTransform","FilteredEntityClass","FilterRules","FinancialBond","FinancialData","FinancialDerivative","FinancialIndicator","Find","FindAnomalies","FindArgMax","FindArgMin","FindChannels","FindClique","FindClusters","FindCookies","FindCurvePath","FindCycle","FindDevices","FindDistribution","FindDistributionParameters","FindDivisions","FindEdgeColoring","FindEdgeCover","FindEdgeCut","FindEdgeIndependentPaths","FindEquationalProof","FindEulerianCycle","FindExternalEvaluators","FindFaces","FindFile","FindFit","FindFormula","FindFundamentalCycles","FindGeneratingFunction","FindGeoLocation","FindGeometricConjectures","FindGeometricTransform","FindGraphCommunities","FindGraphIsomorphism","FindGraphPartition","FindHamiltonianCycle","FindHamiltonianPath","FindHiddenMarkovStates","FindImageText","FindIndependentEdgeSet","FindIndependentVertexSet","FindInstance","FindIntegerNullVector","FindIsomers","FindIsomorphicSubgraph","FindKClan","FindKClique","FindKClub","FindKPlex","FindLibrary","FindLinearRecurrence","FindList","FindMatchingColor","FindMaximum","FindMaximumCut","FindMaximumFlow","FindMaxValue","FindMeshDefects","FindMinimum","FindMinimumCostFlow","FindMinimumCut","FindMinValue","FindMoleculeSubstructure","FindPath","FindPeaks","FindPermutation","FindPlanarColoring","FindPointProcessParameters","FindPostmanTour","FindProcessParameters","FindRegionTransform","FindRepeat","FindRoot","FindSequenceFunction","FindSettings","FindShortestPath","FindShortestTour","FindSpanningTree","FindSubgraphIsomorphism","FindSystemModelEquilibrium","FindTextualAnswer","FindThreshold","FindTransientRepeat","FindVertexColoring","FindVertexCover","FindVertexCut","FindVertexIndependentPaths","Fine","FinishDynamic","FiniteAbelianGroupCount","FiniteGroupCount","FiniteGroupData","First","FirstCase","FirstPassageTimeDistribution","FirstPosition","FischerGroupFi22","FischerGroupFi23","FischerGroupFi24Prime","FisherHypergeometricDistribution","FisherRatioTest","FisherZDistribution","Fit","FitAll","FitRegularization","FittedModel","FixedOrder","FixedPoint","FixedPointList","FlashSelection","Flat","FlatShading","Flatten","FlattenAt","FlattenLayer","FlatTopWindow","FlightData","FlipView","Floor","FlowPolynomial","Fold","FoldList","FoldPair","FoldPairList","FoldWhile","FoldWhileList","FollowRedirects","Font","FontColor","FontFamily","FontForm","FontName","FontOpacity","FontPostScriptName","FontProperties","FontReencoding","FontSize","FontSlant","FontSubstitutions","FontTracking","FontVariations","FontWeight","For","ForAll","ForAllType","ForceVersionInstall","Format","FormatRules","FormatType","FormatTypeAutoConvert","FormatValues","FormBox","FormBoxOptions","FormControl","FormFunction","FormLayoutFunction","FormObject","FormPage","FormProtectionMethod","FormTheme","FormulaData","FormulaLookup","FortranForm","Forward","ForwardBackward","ForwardCloudCredentials","Fourier","FourierCoefficient","FourierCosCoefficient","FourierCosSeries","FourierCosTransform","FourierDCT","FourierDCTFilter","FourierDCTMatrix","FourierDST","FourierDSTMatrix","FourierMatrix","FourierParameters","FourierSequenceTransform","FourierSeries","FourierSinCoefficient","FourierSinSeries","FourierSinTransform","FourierTransform","FourierTrigSeries","FoxH","FoxHReduce","FractionalBrownianMotionProcess","FractionalD","FractionalGaussianNoiseProcess","FractionalPart","FractionBox","FractionBoxOptions","FractionLine","Frame","FrameBox","FrameBoxOptions","Framed","FrameInset","FrameLabel","Frameless","FrameListVideo","FrameMargins","FrameRate","FrameStyle","FrameTicks","FrameTicksStyle","FRatioDistribution","FrechetDistribution","FreeQ","FrenetSerretSystem","FrequencySamplingFilterKernel","FresnelC","FresnelF","FresnelG","FresnelS","Friday","FrobeniusNumber","FrobeniusSolve","FromAbsoluteTime","FromCharacterCode","FromCoefficientRules","FromContinuedFraction","FromDate","FromDateString","FromDigits","FromDMS","FromEntity","FromJulianDate","FromLetterNumber","FromPolarCoordinates","FromRawPointer","FromRomanNumeral","FromSphericalCoordinates","FromUnixTime","Front","FrontEndDynamicExpression","FrontEndEventActions","FrontEndExecute","FrontEndObject","FrontEndResource","FrontEndResourceString","FrontEndStackSize","FrontEndToken","FrontEndTokenExecute","FrontEndValueCache","FrontEndVersion","FrontFaceColor","FrontFaceGlowColor","FrontFaceOpacity","FrontFaceSpecularColor","FrontFaceSpecularExponent","FrontFaceSurfaceAppearance","FrontFaceTexture","Full","FullAxes","FullDefinition","FullForm","FullGraphics","FullInformationOutputRegulator","FullOptions","FullRegion","FullSimplify","Function","FunctionAnalytic","FunctionBijective","FunctionCompile","FunctionCompileExport","FunctionCompileExportByteArray","FunctionCompileExportLibrary","FunctionCompileExportString","FunctionContinuous","FunctionConvexity","FunctionDeclaration","FunctionDiscontinuities","FunctionDomain","FunctionExpand","FunctionInjective","FunctionInterpolation","FunctionLayer","FunctionMeromorphic","FunctionMonotonicity","FunctionPeriod","FunctionPoles","FunctionRange","FunctionSign","FunctionSingularities","FunctionSpace","FunctionSurjective","FussellVeselyImportance","GaborFilter","GaborMatrix","GaborWavelet","GainMargins","GainPhaseMargins","GalaxyData","GalleryView","Gamma","GammaDistribution","GammaRegularized","GapPenalty","GARCHProcess","GatedRecurrentLayer","Gather","GatherBy","GaugeFaceElementFunction","GaugeFaceStyle","GaugeFrameElementFunction","GaugeFrameSize","GaugeFrameStyle","GaugeLabels","GaugeMarkers","GaugeStyle","GaussianFilter","GaussianIntegers","GaussianMatrix","GaussianOrthogonalMatrixDistribution","GaussianSymplecticMatrixDistribution","GaussianUnitaryMatrixDistribution","GaussianWindow","GCD","GegenbauerC","General","GeneralizedLinearModelFit","GenerateAsymmetricKeyPair","GenerateConditions","GeneratedAssetFormat","GeneratedAssetLocation","GeneratedCell","GeneratedCellStyles","GeneratedDocumentBinding","GenerateDerivedKey","GenerateDigitalSignature","GenerateDocument","GeneratedParameters","GeneratedQuantityMagnitudes","GenerateFileSignature","GenerateHTTPResponse","GenerateSecuredAuthenticationKey","GenerateSymmetricKey","GeneratingFunction","GeneratorDescription","GeneratorHistoryLength","GeneratorOutputType","Generic","GenericCylindricalDecomposition","GenomeData","GenomeLookup","GeoAntipode","GeoArea","GeoArraySize","GeoBackground","GeoBoundary","GeoBoundingBox","GeoBounds","GeoBoundsRegion","GeoBoundsRegionBoundary","GeoBubbleChart","GeoCenter","GeoCircle","GeoContourPlot","GeoDensityPlot","GeodesicClosing","GeodesicDilation","GeodesicErosion","GeodesicOpening","GeodesicPolyhedron","GeoDestination","GeodesyData","GeoDirection","GeoDisk","GeoDisplacement","GeoDistance","GeoDistanceList","GeoElevationData","GeoEntities","GeoGraphics","GeoGraphPlot","GeoGraphValuePlot","GeogravityModelData","GeoGridDirectionDifference","GeoGridLines","GeoGridLinesStyle","GeoGridPosition","GeoGridRange","GeoGridRangePadding","GeoGridUnitArea","GeoGridUnitDistance","GeoGridVector","GeoGroup","GeoHemisphere","GeoHemisphereBoundary","GeoHistogram","GeoIdentify","GeoImage","GeoLabels","GeoLength","GeoListPlot","GeoLocation","GeologicalPeriodData","GeomagneticModelData","GeoMarker","GeometricAssertion","GeometricBrownianMotionProcess","GeometricDistribution","GeometricMean","GeometricMeanFilter","GeometricOptimization","GeometricScene","GeometricStep","GeometricStylingRules","GeometricTest","GeometricTransformation","GeometricTransformation3DBox","GeometricTransformation3DBoxOptions","GeometricTransformationBox","GeometricTransformationBoxOptions","GeoModel","GeoNearest","GeoOrientationData","GeoPath","GeoPolygon","GeoPosition","GeoPositionENU","GeoPositionXYZ","GeoProjection","GeoProjectionData","GeoRange","GeoRangePadding","GeoRegionValuePlot","GeoResolution","GeoScaleBar","GeoServer","GeoSmoothHistogram","GeoStreamPlot","GeoStyling","GeoStylingImageFunction","GeoVariant","GeoVector","GeoVectorENU","GeoVectorPlot","GeoVectorXYZ","GeoVisibleRegion","GeoVisibleRegionBoundary","GeoWithinQ","GeoZoomLevel","GestureHandler","GestureHandlerTag","Get","GetContext","GetEnvironment","GetFileName","GetLinebreakInformationPacket","GibbsPointProcess","Glaisher","GlobalClusteringCoefficient","GlobalPreferences","GlobalSession","Glow","GoldenAngle","GoldenRatio","GompertzMakehamDistribution","GoochShading","GoodmanKruskalGamma","GoodmanKruskalGammaTest","Goto","GouraudShading","Grad","Gradient","GradientFilter","GradientFittedMesh","GradientOrientationFilter","GrammarApply","GrammarRules","GrammarToken","Graph","Graph3D","GraphAssortativity","GraphAutomorphismGroup","GraphCenter","GraphComplement","GraphData","GraphDensity","GraphDiameter","GraphDifference","GraphDisjointUnion","GraphDistance","GraphDistanceMatrix","GraphEmbedding","GraphHighlight","GraphHighlightStyle","GraphHub","Graphics","Graphics3D","Graphics3DBox","Graphics3DBoxOptions","GraphicsArray","GraphicsBaseline","GraphicsBox","GraphicsBoxOptions","GraphicsColor","GraphicsColumn","GraphicsComplex","GraphicsComplex3DBox","GraphicsComplex3DBoxOptions","GraphicsComplexBox","GraphicsComplexBoxOptions","GraphicsContents","GraphicsData","GraphicsGrid","GraphicsGridBox","GraphicsGroup","GraphicsGroup3DBox","GraphicsGroup3DBoxOptions","GraphicsGroupBox","GraphicsGroupBoxOptions","GraphicsGrouping","GraphicsHighlightColor","GraphicsRow","GraphicsSpacing","GraphicsStyle","GraphIntersection","GraphJoin","GraphLayerLabels","GraphLayers","GraphLayerStyle","GraphLayout","GraphLinkEfficiency","GraphPeriphery","GraphPlot","GraphPlot3D","GraphPower","GraphProduct","GraphPropertyDistribution","GraphQ","GraphRadius","GraphReciprocity","GraphRoot","GraphStyle","GraphSum","GraphTree","GraphUnion","Gray","GrayLevel","Greater","GreaterEqual","GreaterEqualLess","GreaterEqualThan","GreaterFullEqual","GreaterGreater","GreaterLess","GreaterSlantEqual","GreaterThan","GreaterTilde","GreekStyle","Green","GreenFunction","Grid","GridBaseline","GridBox","GridBoxAlignment","GridBoxBackground","GridBoxDividers","GridBoxFrame","GridBoxItemSize","GridBoxItemStyle","GridBoxOptions","GridBoxSpacings","GridCreationSettings","GridDefaultElement","GridElementStyleOptions","GridFrame","GridFrameMargins","GridGraph","GridLines","GridLinesStyle","GridVideo","GroebnerBasis","GroupActionBase","GroupBy","GroupCentralizer","GroupElementFromWord","GroupElementPosition","GroupElementQ","GroupElements","GroupElementToWord","GroupGenerators","Groupings","GroupMultiplicationTable","GroupOpenerColor","GroupOpenerInsideFrame","GroupOrbits","GroupOrder","GroupPageBreakWithin","GroupSetwiseStabilizer","GroupStabilizer","GroupStabilizerChain","GroupTogetherGrouping","GroupTogetherNestedGrouping","GrowCutComponents","Gudermannian","GuidedFilter","GumbelDistribution","HaarWavelet","HadamardMatrix","HalfLine","HalfNormalDistribution","HalfPlane","HalfSpace","HalftoneShading","HamiltonianGraphQ","HammingDistance","HammingWindow","HandlerFunctions","HandlerFunctionsKeys","HankelH1","HankelH2","HankelMatrix","HankelTransform","HannPoissonWindow","HannWindow","HaradaNortonGroupHN","HararyGraph","HardcorePointProcess","HarmonicMean","HarmonicMeanFilter","HarmonicNumber","Hash","HatchFilling","HatchShading","Haversine","HazardFunction","Head","HeadCompose","HeaderAlignment","HeaderBackground","HeaderDisplayFunction","HeaderLines","Headers","HeaderSize","HeaderStyle","Heads","HeatFluxValue","HeatInsulationValue","HeatOutflowValue","HeatRadiationValue","HeatSymmetryValue","HeatTemperatureCondition","HeatTransferPDEComponent","HeatTransferValue","HeavisideLambda","HeavisidePi","HeavisideTheta","HeldGroupHe","HeldPart","HelmholtzPDEComponent","HelpBrowserLookup","HelpBrowserNotebook","HelpBrowserSettings","HelpViewerSettings","Here","HermiteDecomposition","HermiteH","Hermitian","HermitianMatrixQ","HessenbergDecomposition","Hessian","HeunB","HeunBPrime","HeunC","HeunCPrime","HeunD","HeunDPrime","HeunG","HeunGPrime","HeunT","HeunTPrime","HexadecimalCharacter","Hexahedron","HexahedronBox","HexahedronBoxOptions","HiddenItems","HiddenMarkovProcess","HiddenSurface","Highlighted","HighlightGraph","HighlightImage","HighlightMesh","HighlightString","HighpassFilter","HigmanSimsGroupHS","HilbertCurve","HilbertFilter","HilbertMatrix","Histogram","Histogram3D","HistogramDistribution","HistogramList","HistogramPointDensity","HistogramTransform","HistogramTransformInterpolation","HistoricalPeriodData","HitMissTransform","HITSCentrality","HjorthDistribution","HodgeDual","HoeffdingD","HoeffdingDTest","Hold","HoldAll","HoldAllComplete","HoldComplete","HoldFirst","HoldForm","HoldPattern","HoldRest","HolidayCalendar","HomeDirectory","HomePage","Horizontal","HorizontalForm","HorizontalGauge","HorizontalScrollPosition","HornerForm","HostLookup","HotellingTSquareDistribution","HoytDistribution","HTMLSave","HTTPErrorResponse","HTTPRedirect","HTTPRequest","HTTPRequestData","HTTPResponse","Hue","HumanGrowthData","HumpDownHump","HumpEqual","HurwitzLerchPhi","HurwitzZeta","HyperbolicDistribution","HypercubeGraph","HyperexponentialDistribution","Hyperfactorial","Hypergeometric0F1","Hypergeometric0F1Regularized","Hypergeometric1F1","Hypergeometric1F1Regularized","Hypergeometric2F1","Hypergeometric2F1Regularized","HypergeometricDistribution","HypergeometricPFQ","HypergeometricPFQRegularized","HypergeometricU","Hyperlink","HyperlinkAction","HyperlinkCreationSettings","Hyperplane","Hyphenation","HyphenationOptions","HypoexponentialDistribution","HypothesisTestData","I","IconData","Iconize","IconizedObject","IconRules","Icosahedron","Identity","IdentityMatrix","If","IfCompiled","IgnoreCase","IgnoreDiacritics","IgnoreIsotopes","IgnorePunctuation","IgnoreSpellCheck","IgnoreStereochemistry","IgnoringInactive","Im","Image","Image3D","Image3DProjection","Image3DSlices","ImageAccumulate","ImageAdd","ImageAdjust","ImageAlign","ImageApply","ImageApplyIndexed","ImageAspectRatio","ImageAssemble","ImageAugmentationLayer","ImageBoundingBoxes","ImageCache","ImageCacheValid","ImageCapture","ImageCaptureFunction","ImageCases","ImageChannels","ImageClip","ImageCollage","ImageColorSpace","ImageCompose","ImageContainsQ","ImageContents","ImageConvolve","ImageCooccurrence","ImageCorners","ImageCorrelate","ImageCorrespondingPoints","ImageCrop","ImageData","ImageDeconvolve","ImageDemosaic","ImageDifference","ImageDimensions","ImageDisplacements","ImageDistance","ImageEditMode","ImageEffect","ImageExposureCombine","ImageFeatureTrack","ImageFileApply","ImageFileFilter","ImageFileScan","ImageFilter","ImageFocusCombine","ImageForestingComponents","ImageFormattingWidth","ImageForwardTransformation","ImageGraphics","ImageHistogram","ImageIdentify","ImageInstanceQ","ImageKeypoints","ImageLabels","ImageLegends","ImageLevels","ImageLines","ImageMargins","ImageMarker","ImageMarkers","ImageMeasurements","ImageMesh","ImageMultiply","ImageOffset","ImagePad","ImagePadding","ImagePartition","ImagePeriodogram","ImagePerspectiveTransformation","ImagePosition","ImagePreviewFunction","ImagePyramid","ImagePyramidApply","ImageQ","ImageRangeCache","ImageRecolor","ImageReflect","ImageRegion","ImageResize","ImageResolution","ImageRestyle","ImageRotate","ImageRotated","ImageSaliencyFilter","ImageScaled","ImageScan","ImageSize","ImageSizeAction","ImageSizeCache","ImageSizeMultipliers","ImageSizeRaw","ImageStitch","ImageSubtract","ImageTake","ImageTransformation","ImageTrim","ImageType","ImageValue","ImageValuePositions","ImageVectorscopePlot","ImageWaveformPlot","ImagingDevice","ImplicitD","ImplicitRegion","Implies","Import","ImportAutoReplacements","ImportByteArray","ImportedObject","ImportOptions","ImportString","ImprovementImportance","In","Inactivate","Inactive","InactiveStyle","IncidenceGraph","IncidenceList","IncidenceMatrix","IncludeAromaticBonds","IncludeConstantBasis","IncludedContexts","IncludeDefinitions","IncludeDirectories","IncludeFileExtension","IncludeGeneratorTasks","IncludeHydrogens","IncludeInflections","IncludeMetaInformation","IncludePods","IncludeQuantities","IncludeRelatedTables","IncludeSingularSolutions","IncludeSingularTerm","IncludeWindowTimes","Increment","IndefiniteMatrixQ","Indent","IndentingNewlineSpacings","IndentMaxFraction","IndependenceTest","IndependentEdgeSetQ","IndependentPhysicalQuantity","IndependentUnit","IndependentUnitDimension","IndependentVertexSetQ","Indeterminate","IndeterminateThreshold","IndexCreationOptions","Indexed","IndexEdgeTaggedGraph","IndexGraph","IndexTag","Inequality","InertEvaluate","InertExpression","InexactNumberQ","InexactNumbers","InfiniteFuture","InfiniteLine","InfiniteLineThrough","InfinitePast","InfinitePlane","Infinity","Infix","InflationAdjust","InflationMethod","Information","InformationData","InformationDataGrid","Inherited","InheritScope","InhomogeneousPoissonPointProcess","InhomogeneousPoissonProcess","InitialEvaluationHistory","Initialization","InitializationCell","InitializationCellEvaluation","InitializationCellWarning","InitializationObject","InitializationObjects","InitializationValue","Initialize","InitialSeeding","InlineCounterAssignments","InlineCounterIncrements","InlineRules","Inner","InnerPolygon","InnerPolyhedron","Inpaint","Input","InputAliases","InputAssumptions","InputAutoReplacements","InputField","InputFieldBox","InputFieldBoxOptions","InputForm","InputGrouping","InputNamePacket","InputNotebook","InputPacket","InputPorts","InputSettings","InputStream","InputString","InputStringPacket","InputToBoxFormPacket","Insert","InsertionFunction","InsertionPointObject","InsertLinebreaks","InsertResults","Inset","Inset3DBox","Inset3DBoxOptions","InsetBox","InsetBoxOptions","Insphere","Install","InstallService","InstanceNormalizationLayer","InString","Integer","IntegerDigits","IntegerExponent","IntegerLength","IntegerName","IntegerPart","IntegerPartitions","IntegerQ","IntegerReverse","Integers","IntegerString","Integral","Integrate","IntegrateChangeVariables","Interactive","InteractiveTradingChart","InterfaceSwitched","Interlaced","Interleaving","InternallyBalancedDecomposition","InterpolatingFunction","InterpolatingPolynomial","Interpolation","InterpolationOrder","InterpolationPoints","InterpolationPrecision","Interpretation","InterpretationBox","InterpretationBoxOptions","InterpretationFunction","Interpreter","InterpretTemplate","InterquartileRange","Interrupt","InterruptSettings","IntersectedEntityClass","IntersectingQ","Intersection","Interval","IntervalIntersection","IntervalMarkers","IntervalMarkersStyle","IntervalMemberQ","IntervalSlider","IntervalUnion","Into","Inverse","InverseBetaRegularized","InverseBilateralLaplaceTransform","InverseBilateralZTransform","InverseCDF","InverseChiSquareDistribution","InverseContinuousWaveletTransform","InverseDistanceTransform","InverseEllipticNomeQ","InverseErf","InverseErfc","InverseFourier","InverseFourierCosTransform","InverseFourierSequenceTransform","InverseFourierSinTransform","InverseFourierTransform","InverseFunction","InverseFunctions","InverseGammaDistribution","InverseGammaRegularized","InverseGaussianDistribution","InverseGudermannian","InverseHankelTransform","InverseHaversine","InverseImagePyramid","InverseJacobiCD","InverseJacobiCN","InverseJacobiCS","InverseJacobiDC","InverseJacobiDN","InverseJacobiDS","InverseJacobiNC","InverseJacobiND","InverseJacobiNS","InverseJacobiSC","InverseJacobiSD","InverseJacobiSN","InverseLaplaceTransform","InverseMellinTransform","InversePermutation","InverseRadon","InverseRadonTransform","InverseSeries","InverseShortTimeFourier","InverseSpectrogram","InverseSurvivalFunction","InverseTransformedRegion","InverseWaveletTransform","InverseWeierstrassP","InverseWishartMatrixDistribution","InverseZTransform","Invisible","InvisibleApplication","InvisibleTimes","IPAddress","IrreduciblePolynomialQ","IslandData","IsolatingInterval","IsomorphicGraphQ","IsomorphicSubgraphQ","IsotopeData","Italic","Item","ItemAspectRatio","ItemBox","ItemBoxOptions","ItemDisplayFunction","ItemSize","ItemStyle","ItoProcess","JaccardDissimilarity","JacobiAmplitude","Jacobian","JacobiCD","JacobiCN","JacobiCS","JacobiDC","JacobiDN","JacobiDS","JacobiEpsilon","JacobiNC","JacobiND","JacobiNS","JacobiP","JacobiSC","JacobiSD","JacobiSN","JacobiSymbol","JacobiZeta","JacobiZN","JankoGroupJ1","JankoGroupJ2","JankoGroupJ3","JankoGroupJ4","JarqueBeraALMTest","JohnsonDistribution","Join","JoinAcross","Joined","JoinedCurve","JoinedCurveBox","JoinedCurveBoxOptions","JoinForm","JordanDecomposition","JordanModelDecomposition","JulianDate","JuliaSetBoettcher","JuliaSetIterationCount","JuliaSetPlot","JuliaSetPoints","K","KagiChart","KaiserBesselWindow","KaiserWindow","KalmanEstimator","KalmanFilter","KarhunenLoeveDecomposition","KaryTree","KatzCentrality","KCoreComponents","KDistribution","KEdgeConnectedComponents","KEdgeConnectedGraphQ","KeepExistingVersion","KelvinBei","KelvinBer","KelvinKei","KelvinKer","KendallTau","KendallTauTest","KernelConfiguration","KernelExecute","KernelFunction","KernelMixtureDistribution","KernelObject","Kernels","Ket","Key","KeyCollisionFunction","KeyComplement","KeyDrop","KeyDropFrom","KeyExistsQ","KeyFreeQ","KeyIntersection","KeyMap","KeyMemberQ","KeypointStrength","Keys","KeySelect","KeySort","KeySortBy","KeyTake","KeyUnion","KeyValueMap","KeyValuePattern","Khinchin","KillProcess","KirchhoffGraph","KirchhoffMatrix","KleinInvariantJ","KnapsackSolve","KnightTourGraph","KnotData","KnownUnitQ","KochCurve","KolmogorovSmirnovTest","KroneckerDelta","KroneckerModelDecomposition","KroneckerProduct","KroneckerSymbol","KuiperTest","KumaraswamyDistribution","Kurtosis","KuwaharaFilter","KVertexConnectedComponents","KVertexConnectedGraphQ","LABColor","Label","Labeled","LabeledSlider","LabelingFunction","LabelingSize","LabelStyle","LabelVisibility","LaguerreL","LakeData","LambdaComponents","LambertW","LameC","LameCPrime","LameEigenvalueA","LameEigenvalueB","LameS","LameSPrime","LaminaData","LanczosWindow","LandauDistribution","Language","LanguageCategory","LanguageData","LanguageIdentify","LanguageOptions","LaplaceDistribution","LaplaceTransform","Laplacian","LaplacianFilter","LaplacianGaussianFilter","LaplacianPDETerm","Large","Larger","Last","Latitude","LatitudeLongitude","LatticeData","LatticeReduce","Launch","LaunchKernels","LayeredGraphPlot","LayeredGraphPlot3D","LayerSizeFunction","LayoutInformation","LCHColor","LCM","LeaderSize","LeafCount","LeapVariant","LeapYearQ","LearnDistribution","LearnedDistribution","LearningRate","LearningRateMultipliers","LeastSquares","LeastSquaresFilterKernel","Left","LeftArrow","LeftArrowBar","LeftArrowRightArrow","LeftDownTeeVector","LeftDownVector","LeftDownVectorBar","LeftRightArrow","LeftRightVector","LeftTee","LeftTeeArrow","LeftTeeVector","LeftTriangle","LeftTriangleBar","LeftTriangleEqual","LeftUpDownVector","LeftUpTeeVector","LeftUpVector","LeftUpVectorBar","LeftVector","LeftVectorBar","LegendAppearance","Legended","LegendFunction","LegendLabel","LegendLayout","LegendMargins","LegendMarkers","LegendMarkerSize","LegendreP","LegendreQ","LegendreType","Length","LengthWhile","LerchPhi","Less","LessEqual","LessEqualGreater","LessEqualThan","LessFullEqual","LessGreater","LessLess","LessSlantEqual","LessThan","LessTilde","LetterCharacter","LetterCounts","LetterNumber","LetterQ","Level","LeveneTest","LeviCivitaTensor","LevyDistribution","Lexicographic","LexicographicOrder","LexicographicSort","LibraryDataType","LibraryFunction","LibraryFunctionDeclaration","LibraryFunctionError","LibraryFunctionInformation","LibraryFunctionLoad","LibraryFunctionUnload","LibraryLoad","LibraryUnload","LicenseEntitlementObject","LicenseEntitlements","LicenseID","LicensingSettings","LiftingFilterData","LiftingWaveletTransform","LightBlue","LightBrown","LightCyan","Lighter","LightGray","LightGreen","Lighting","LightingAngle","LightMagenta","LightOrange","LightPink","LightPurple","LightRed","LightSources","LightYellow","Likelihood","Limit","LimitsPositioning","LimitsPositioningTokens","LindleyDistribution","Line","Line3DBox","Line3DBoxOptions","LinearFilter","LinearFractionalOptimization","LinearFractionalTransform","LinearGradientFilling","LinearGradientImage","LinearizingTransformationData","LinearLayer","LinearModelFit","LinearOffsetFunction","LinearOptimization","LinearProgramming","LinearRecurrence","LinearSolve","LinearSolveFunction","LineBox","LineBoxOptions","LineBreak","LinebreakAdjustments","LineBreakChart","LinebreakSemicolonWeighting","LineBreakWithin","LineColor","LineGraph","LineIndent","LineIndentMaxFraction","LineIntegralConvolutionPlot","LineIntegralConvolutionScale","LineLegend","LineOpacity","LineSpacing","LineWrapParts","LinkActivate","LinkClose","LinkConnect","LinkConnectedQ","LinkCreate","LinkError","LinkFlush","LinkFunction","LinkHost","LinkInterrupt","LinkLaunch","LinkMode","LinkObject","LinkOpen","LinkOptions","LinkPatterns","LinkProtocol","LinkRankCentrality","LinkRead","LinkReadHeld","LinkReadyQ","Links","LinkService","LinkWrite","LinkWriteHeld","LiouvilleLambda","List","Listable","ListAnimate","ListContourPlot","ListContourPlot3D","ListConvolve","ListCorrelate","ListCurvePathPlot","ListDeconvolve","ListDensityPlot","ListDensityPlot3D","Listen","ListFormat","ListFourierSequenceTransform","ListInterpolation","ListLineIntegralConvolutionPlot","ListLinePlot","ListLinePlot3D","ListLogLinearPlot","ListLogLogPlot","ListLogPlot","ListPicker","ListPickerBox","ListPickerBoxBackground","ListPickerBoxOptions","ListPlay","ListPlot","ListPlot3D","ListPointPlot3D","ListPolarPlot","ListQ","ListSliceContourPlot3D","ListSliceDensityPlot3D","ListSliceVectorPlot3D","ListStepPlot","ListStreamDensityPlot","ListStreamPlot","ListStreamPlot3D","ListSurfacePlot3D","ListVectorDensityPlot","ListVectorDisplacementPlot","ListVectorDisplacementPlot3D","ListVectorPlot","ListVectorPlot3D","ListZTransform","Literal","LiteralSearch","LiteralType","LoadCompiledComponent","LocalAdaptiveBinarize","LocalCache","LocalClusteringCoefficient","LocalEvaluate","LocalizeDefinitions","LocalizeVariables","LocalObject","LocalObjects","LocalResponseNormalizationLayer","LocalSubmit","LocalSymbol","LocalTime","LocalTimeZone","LocationEquivalenceTest","LocationTest","Locator","LocatorAutoCreate","LocatorBox","LocatorBoxOptions","LocatorCentering","LocatorPane","LocatorPaneBox","LocatorPaneBoxOptions","LocatorRegion","Locked","Log","Log10","Log2","LogBarnesG","LogGamma","LogGammaDistribution","LogicalExpand","LogIntegral","LogisticDistribution","LogisticSigmoid","LogitModelFit","LogLikelihood","LogLinearPlot","LogLogisticDistribution","LogLogPlot","LogMultinormalDistribution","LogNormalDistribution","LogPlot","LogRankTest","LogSeriesDistribution","LongEqual","Longest","LongestCommonSequence","LongestCommonSequencePositions","LongestCommonSubsequence","LongestCommonSubsequencePositions","LongestMatch","LongestOrderedSequence","LongForm","Longitude","LongLeftArrow","LongLeftRightArrow","LongRightArrow","LongShortTermMemoryLayer","Lookup","Loopback","LoopFreeGraphQ","Looping","LossFunction","LowerCaseQ","LowerLeftArrow","LowerRightArrow","LowerTriangularize","LowerTriangularMatrix","LowerTriangularMatrixQ","LowpassFilter","LQEstimatorGains","LQGRegulator","LQOutputRegulatorGains","LQRegulatorGains","LUBackSubstitution","LucasL","LuccioSamiComponents","LUDecomposition","LunarEclipse","LUVColor","LyapunovSolve","LyonsGroupLy","MachineID","MachineName","MachineNumberQ","MachinePrecision","MacintoshSystemPageSetup","Magenta","Magnification","Magnify","MailAddressValidation","MailExecute","MailFolder","MailItem","MailReceiverFunction","MailResponseFunction","MailSearch","MailServerConnect","MailServerConnection","MailSettings","MainSolve","MaintainDynamicCaches","Majority","MakeBoxes","MakeExpression","MakeRules","ManagedLibraryExpressionID","ManagedLibraryExpressionQ","MandelbrotSetBoettcher","MandelbrotSetDistance","MandelbrotSetIterationCount","MandelbrotSetMemberQ","MandelbrotSetPlot","MangoldtLambda","ManhattanDistance","Manipulate","Manipulator","MannedSpaceMissionData","MannWhitneyTest","MantissaExponent","Manual","Map","MapAll","MapApply","MapAt","MapIndexed","MAProcess","MapThread","MarchenkoPasturDistribution","MarcumQ","MardiaCombinedTest","MardiaKurtosisTest","MardiaSkewnessTest","MarginalDistribution","MarkovProcessProperties","Masking","MassConcentrationCondition","MassFluxValue","MassImpermeableBoundaryValue","MassOutflowValue","MassSymmetryValue","MassTransferValue","MassTransportPDEComponent","MatchingDissimilarity","MatchLocalNameQ","MatchLocalNames","MatchQ","Material","MaterialShading","MaternPointProcess","MathematicalFunctionData","MathematicaNotation","MathieuC","MathieuCharacteristicA","MathieuCharacteristicB","MathieuCharacteristicExponent","MathieuCPrime","MathieuGroupM11","MathieuGroupM12","MathieuGroupM22","MathieuGroupM23","MathieuGroupM24","MathieuS","MathieuSPrime","MathMLForm","MathMLText","Matrices","MatrixExp","MatrixForm","MatrixFunction","MatrixLog","MatrixNormalDistribution","MatrixPlot","MatrixPower","MatrixPropertyDistribution","MatrixQ","MatrixRank","MatrixTDistribution","Max","MaxBend","MaxCellMeasure","MaxColorDistance","MaxDate","MaxDetect","MaxDisplayedChildren","MaxDuration","MaxExtraBandwidths","MaxExtraConditions","MaxFeatureDisplacement","MaxFeatures","MaxFilter","MaximalBy","Maximize","MaxItems","MaxIterations","MaxLimit","MaxMemoryUsed","MaxMixtureKernels","MaxOverlapFraction","MaxPlotPoints","MaxPoints","MaxRecursion","MaxStableDistribution","MaxStepFraction","MaxSteps","MaxStepSize","MaxTrainingRounds","MaxValue","MaxwellDistribution","MaxWordGap","McLaughlinGroupMcL","Mean","MeanAbsoluteLossLayer","MeanAround","MeanClusteringCoefficient","MeanDegreeConnectivity","MeanDeviation","MeanFilter","MeanGraphDistance","MeanNeighborDegree","MeanPointDensity","MeanShift","MeanShiftFilter","MeanSquaredLossLayer","Median","MedianDeviation","MedianFilter","MedicalTestData","Medium","MeijerG","MeijerGReduce","MeixnerDistribution","MellinConvolve","MellinTransform","MemberQ","MemoryAvailable","MemoryConstrained","MemoryConstraint","MemoryInUse","MengerMesh","Menu","MenuAppearance","MenuCommandKey","MenuEvaluator","MenuItem","MenuList","MenuPacket","MenuSortingValue","MenuStyle","MenuView","Merge","MergeDifferences","MergingFunction","MersennePrimeExponent","MersennePrimeExponentQ","Mesh","MeshCellCentroid","MeshCellCount","MeshCellHighlight","MeshCellIndex","MeshCellLabel","MeshCellMarker","MeshCellMeasure","MeshCellQuality","MeshCells","MeshCellShapeFunction","MeshCellStyle","MeshConnectivityGraph","MeshCoordinates","MeshFunctions","MeshPrimitives","MeshQualityGoal","MeshRange","MeshRefinementFunction","MeshRegion","MeshRegionQ","MeshShading","MeshStyle","Message","MessageDialog","MessageList","MessageName","MessageObject","MessageOptions","MessagePacket","Messages","MessagesNotebook","MetaCharacters","MetaInformation","MeteorShowerData","Method","MethodOptions","MexicanHatWavelet","MeyerWavelet","Midpoint","MIMETypeToFormatList","Min","MinColorDistance","MinDate","MinDetect","MineralData","MinFilter","MinimalBy","MinimalPolynomial","MinimalStateSpaceModel","Minimize","MinimumTimeIncrement","MinIntervalSize","MinkowskiQuestionMark","MinLimit","MinMax","MinorPlanetData","Minors","MinPointSeparation","MinRecursion","MinSize","MinStableDistribution","Minus","MinusPlus","MinValue","Missing","MissingBehavior","MissingDataMethod","MissingDataRules","MissingQ","MissingString","MissingStyle","MissingValuePattern","MissingValueSynthesis","MittagLefflerE","MixedFractionParts","MixedGraphQ","MixedMagnitude","MixedRadix","MixedRadixQuantity","MixedUnit","MixtureDistribution","Mod","Modal","Mode","ModelPredictiveController","Modular","ModularInverse","ModularLambda","Module","Modulus","MoebiusMu","Molecule","MoleculeAlign","MoleculeContainsQ","MoleculeDraw","MoleculeEquivalentQ","MoleculeFreeQ","MoleculeGraph","MoleculeMatchQ","MoleculeMaximumCommonSubstructure","MoleculeModify","MoleculeName","MoleculePattern","MoleculePlot","MoleculePlot3D","MoleculeProperty","MoleculeQ","MoleculeRecognize","MoleculeSubstructureCount","MoleculeValue","Moment","MomentConvert","MomentEvaluate","MomentGeneratingFunction","MomentOfInertia","Monday","Monitor","MonomialList","MonomialOrder","MonsterGroupM","MoonPhase","MoonPosition","MorletWavelet","MorphologicalBinarize","MorphologicalBranchPoints","MorphologicalComponents","MorphologicalEulerNumber","MorphologicalGraph","MorphologicalPerimeter","MorphologicalTransform","MortalityData","Most","MountainData","MouseAnnotation","MouseAppearance","MouseAppearanceTag","MouseButtons","Mouseover","MousePointerNote","MousePosition","MovieData","MovingAverage","MovingMap","MovingMedian","MoyalDistribution","MultiaxisArrangement","Multicolumn","MultiedgeStyle","MultigraphQ","MultilaunchWarning","MultiLetterItalics","MultiLetterStyle","MultilineFunction","Multinomial","MultinomialDistribution","MultinormalDistribution","MultiplicativeOrder","Multiplicity","MultiplySides","MultiscriptBoxOptions","Multiselection","MultivariateHypergeometricDistribution","MultivariatePoissonDistribution","MultivariateTDistribution","N","NakagamiDistribution","NameQ","Names","NamespaceBox","NamespaceBoxOptions","Nand","NArgMax","NArgMin","NBernoulliB","NBodySimulation","NBodySimulationData","NCache","NCaputoD","NDEigensystem","NDEigenvalues","NDSolve","NDSolveValue","Nearest","NearestFunction","NearestMeshCells","NearestNeighborG","NearestNeighborGraph","NearestTo","NebulaData","NeedlemanWunschSimilarity","Needs","Negative","NegativeBinomialDistribution","NegativeDefiniteMatrixQ","NegativeIntegers","NegativelyOrientedPoints","NegativeMultinomialDistribution","NegativeRationals","NegativeReals","NegativeSemidefiniteMatrixQ","NeighborhoodData","NeighborhoodGraph","Nest","NestedGreaterGreater","NestedLessLess","NestedScriptRules","NestGraph","NestList","NestTree","NestWhile","NestWhileList","NetAppend","NetArray","NetArrayLayer","NetBidirectionalOperator","NetChain","NetDecoder","NetDelete","NetDrop","NetEncoder","NetEvaluationMode","NetExternalObject","NetExtract","NetFlatten","NetFoldOperator","NetGANOperator","NetGraph","NetInformation","NetInitialize","NetInsert","NetInsertSharedArrays","NetJoin","NetMapOperator","NetMapThreadOperator","NetMeasurements","NetModel","NetNestOperator","NetPairEmbeddingOperator","NetPort","NetPortGradient","NetPrepend","NetRename","NetReplace","NetReplacePart","NetSharedArray","NetStateObject","NetTake","NetTrain","NetTrainResultsObject","NetUnfold","NetworkPacketCapture","NetworkPacketRecording","NetworkPacketRecordingDuring","NetworkPacketTrace","NeumannValue","NevilleThetaC","NevilleThetaD","NevilleThetaN","NevilleThetaS","NewPrimitiveStyle","NExpectation","Next","NextCell","NextDate","NextPrime","NextScheduledTaskTime","NeymanScottPointProcess","NFractionalD","NHoldAll","NHoldFirst","NHoldRest","NicholsGridLines","NicholsPlot","NightHemisphere","NIntegrate","NMaximize","NMaxValue","NMinimize","NMinValue","NominalScale","NominalVariables","NonAssociative","NoncentralBetaDistribution","NoncentralChiSquareDistribution","NoncentralFRatioDistribution","NoncentralStudentTDistribution","NonCommutativeMultiply","NonConstants","NondimensionalizationTransform","None","NoneTrue","NonlinearModelFit","NonlinearStateSpaceModel","NonlocalMeansFilter","NonNegative","NonNegativeIntegers","NonNegativeRationals","NonNegativeReals","NonPositive","NonPositiveIntegers","NonPositiveRationals","NonPositiveReals","Nor","NorlundB","Norm","Normal","NormalDistribution","NormalGrouping","NormalizationLayer","Normalize","Normalized","NormalizedSquaredEuclideanDistance","NormalMatrixQ","NormalsFunction","NormFunction","Not","NotCongruent","NotCupCap","NotDoubleVerticalBar","Notebook","NotebookApply","NotebookAutoSave","NotebookBrowseDirectory","NotebookClose","NotebookConvertSettings","NotebookCreate","NotebookDefault","NotebookDelete","NotebookDirectory","NotebookDynamicExpression","NotebookEvaluate","NotebookEventActions","NotebookFileName","NotebookFind","NotebookGet","NotebookImport","NotebookInformation","NotebookInterfaceObject","NotebookLocate","NotebookObject","NotebookOpen","NotebookPath","NotebookPrint","NotebookPut","NotebookRead","Notebooks","NotebookSave","NotebookSelection","NotebooksMenu","NotebookTemplate","NotebookWrite","NotElement","NotEqualTilde","NotExists","NotGreater","NotGreaterEqual","NotGreaterFullEqual","NotGreaterGreater","NotGreaterLess","NotGreaterSlantEqual","NotGreaterTilde","Nothing","NotHumpDownHump","NotHumpEqual","NotificationFunction","NotLeftTriangle","NotLeftTriangleBar","NotLeftTriangleEqual","NotLess","NotLessEqual","NotLessFullEqual","NotLessGreater","NotLessLess","NotLessSlantEqual","NotLessTilde","NotNestedGreaterGreater","NotNestedLessLess","NotPrecedes","NotPrecedesEqual","NotPrecedesSlantEqual","NotPrecedesTilde","NotReverseElement","NotRightTriangle","NotRightTriangleBar","NotRightTriangleEqual","NotSquareSubset","NotSquareSubsetEqual","NotSquareSuperset","NotSquareSupersetEqual","NotSubset","NotSubsetEqual","NotSucceeds","NotSucceedsEqual","NotSucceedsSlantEqual","NotSucceedsTilde","NotSuperset","NotSupersetEqual","NotTilde","NotTildeEqual","NotTildeFullEqual","NotTildeTilde","NotVerticalBar","Now","NoWhitespace","NProbability","NProduct","NProductFactors","NRoots","NSolve","NSolveValues","NSum","NSumTerms","NuclearExplosionData","NuclearReactorData","Null","NullRecords","NullSpace","NullWords","Number","NumberCompose","NumberDecompose","NumberDigit","NumberExpand","NumberFieldClassNumber","NumberFieldDiscriminant","NumberFieldFundamentalUnits","NumberFieldIntegralBasis","NumberFieldNormRepresentatives","NumberFieldRegulator","NumberFieldRootsOfUnity","NumberFieldSignature","NumberForm","NumberFormat","NumberLinePlot","NumberMarks","NumberMultiplier","NumberPadding","NumberPoint","NumberQ","NumberSeparator","NumberSigns","NumberString","Numerator","NumeratorDenominator","NumericalOrder","NumericalSort","NumericArray","NumericArrayQ","NumericArrayType","NumericFunction","NumericQ","NuttallWindow","NValues","NyquistGridLines","NyquistPlot","O","ObjectExistsQ","ObservabilityGramian","ObservabilityMatrix","ObservableDecomposition","ObservableModelQ","OceanData","Octahedron","OddQ","Off","Offset","OLEData","On","ONanGroupON","Once","OneIdentity","Opacity","OpacityFunction","OpacityFunctionScaling","Open","OpenAppend","Opener","OpenerBox","OpenerBoxOptions","OpenerView","OpenFunctionInspectorPacket","Opening","OpenRead","OpenSpecialOptions","OpenTemporary","OpenWrite","Operate","OperatingSystem","OperatorApplied","OptimumFlowData","Optional","OptionalElement","OptionInspectorSettings","OptionQ","Options","OptionsPacket","OptionsPattern","OptionValue","OptionValueBox","OptionValueBoxOptions","Or","Orange","Order","OrderDistribution","OrderedQ","Ordering","OrderingBy","OrderingLayer","Orderless","OrderlessPatternSequence","OrdinalScale","OrnsteinUhlenbeckProcess","Orthogonalize","OrthogonalMatrixQ","Out","Outer","OuterPolygon","OuterPolyhedron","OutputAutoOverwrite","OutputControllabilityMatrix","OutputControllableModelQ","OutputForm","OutputFormData","OutputGrouping","OutputMathEditExpression","OutputNamePacket","OutputPorts","OutputResponse","OutputSizeLimit","OutputStream","Over","OverBar","OverDot","Overflow","OverHat","Overlaps","Overlay","OverlayBox","OverlayBoxOptions","OverlayVideo","Overscript","OverscriptBox","OverscriptBoxOptions","OverTilde","OverVector","OverwriteTarget","OwenT","OwnValues","Package","PackingMethod","PackPaclet","PacletDataRebuild","PacletDirectoryAdd","PacletDirectoryLoad","PacletDirectoryRemove","PacletDirectoryUnload","PacletDisable","PacletEnable","PacletFind","PacletFindRemote","PacletInformation","PacletInstall","PacletInstallSubmit","PacletNewerQ","PacletObject","PacletObjectQ","PacletSite","PacletSiteObject","PacletSiteRegister","PacletSites","PacletSiteUnregister","PacletSiteUpdate","PacletSymbol","PacletUninstall","PacletUpdate","PaddedForm","Padding","PaddingLayer","PaddingSize","PadeApproximant","PadLeft","PadRight","PageBreakAbove","PageBreakBelow","PageBreakWithin","PageFooterLines","PageFooters","PageHeaderLines","PageHeaders","PageHeight","PageRankCentrality","PageTheme","PageWidth","Pagination","PairCorrelationG","PairedBarChart","PairedHistogram","PairedSmoothHistogram","PairedTTest","PairedZTest","PaletteNotebook","PalettePath","PalettesMenuSettings","PalindromeQ","Pane","PaneBox","PaneBoxOptions","Panel","PanelBox","PanelBoxOptions","Paneled","PaneSelector","PaneSelectorBox","PaneSelectorBoxOptions","PaperWidth","ParabolicCylinderD","ParagraphIndent","ParagraphSpacing","ParallelArray","ParallelAxisPlot","ParallelCombine","ParallelDo","Parallelepiped","ParallelEvaluate","Parallelization","Parallelize","ParallelKernels","ParallelMap","ParallelNeeds","Parallelogram","ParallelProduct","ParallelSubmit","ParallelSum","ParallelTable","ParallelTry","Parameter","ParameterEstimator","ParameterMixtureDistribution","ParameterVariables","ParametricConvexOptimization","ParametricFunction","ParametricNDSolve","ParametricNDSolveValue","ParametricPlot","ParametricPlot3D","ParametricRampLayer","ParametricRegion","ParentBox","ParentCell","ParentConnect","ParentDirectory","ParentEdgeLabel","ParentEdgeLabelFunction","ParentEdgeLabelStyle","ParentEdgeShapeFunction","ParentEdgeStyle","ParentEdgeStyleFunction","ParentForm","Parenthesize","ParentList","ParentNotebook","ParetoDistribution","ParetoPickandsDistribution","ParkData","Part","PartBehavior","PartialCorrelationFunction","PartialD","ParticleAcceleratorData","ParticleData","Partition","PartitionGranularity","PartitionsP","PartitionsQ","PartLayer","PartOfSpeech","PartProtection","ParzenWindow","PascalDistribution","PassEventsDown","PassEventsUp","Paste","PasteAutoQuoteCharacters","PasteBoxFormInlineCells","PasteButton","Path","PathGraph","PathGraphQ","Pattern","PatternFilling","PatternReaction","PatternSequence","PatternTest","PauliMatrix","PaulWavelet","Pause","PausedTime","PDF","PeakDetect","PeanoCurve","PearsonChiSquareTest","PearsonCorrelationTest","PearsonDistribution","PenttinenPointProcess","PercentForm","PerfectNumber","PerfectNumberQ","PerformanceGoal","Perimeter","PeriodicBoundaryCondition","PeriodicInterpolation","Periodogram","PeriodogramArray","Permanent","Permissions","PermissionsGroup","PermissionsGroupMemberQ","PermissionsGroups","PermissionsKey","PermissionsKeys","PermutationCycles","PermutationCyclesQ","PermutationGroup","PermutationLength","PermutationList","PermutationListQ","PermutationMatrix","PermutationMax","PermutationMin","PermutationOrder","PermutationPower","PermutationProduct","PermutationReplace","Permutations","PermutationSupport","Permute","PeronaMalikFilter","Perpendicular","PerpendicularBisector","PersistenceLocation","PersistenceTime","PersistentObject","PersistentObjects","PersistentSymbol","PersistentValue","PersonData","PERTDistribution","PetersenGraph","PhaseMargins","PhaseRange","PhongShading","PhysicalSystemData","Pi","Pick","PickedElements","PickMode","PIDData","PIDDerivativeFilter","PIDFeedforward","PIDTune","Piecewise","PiecewiseExpand","PieChart","PieChart3D","PillaiTrace","PillaiTraceTest","PingTime","Pink","PitchRecognize","Pivoting","PixelConstrained","PixelValue","PixelValuePositions","Placed","Placeholder","PlaceholderLayer","PlaceholderReplace","Plain","PlanarAngle","PlanarFaceList","PlanarGraph","PlanarGraphQ","PlanckRadiationLaw","PlaneCurveData","PlanetaryMoonData","PlanetData","PlantData","Play","PlaybackSettings","PlayRange","Plot","Plot3D","Plot3Matrix","PlotDivision","PlotJoined","PlotLabel","PlotLabels","PlotLayout","PlotLegends","PlotMarkers","PlotPoints","PlotRange","PlotRangeClipping","PlotRangeClipPlanesStyle","PlotRangePadding","PlotRegion","PlotStyle","PlotTheme","Pluralize","Plus","PlusMinus","Pochhammer","PodStates","PodWidth","Point","Point3DBox","Point3DBoxOptions","PointBox","PointBoxOptions","PointCountDistribution","PointDensity","PointDensityFunction","PointFigureChart","PointLegend","PointLight","PointProcessEstimator","PointProcessFitTest","PointProcessParameterAssumptions","PointProcessParameterQ","PointSize","PointStatisticFunction","PointValuePlot","PoissonConsulDistribution","PoissonDistribution","PoissonPDEComponent","PoissonPointProcess","PoissonProcess","PoissonWindow","PolarAxes","PolarAxesOrigin","PolarGridLines","PolarPlot","PolarTicks","PoleZeroMarkers","PolyaAeppliDistribution","PolyGamma","Polygon","Polygon3DBox","Polygon3DBoxOptions","PolygonalNumber","PolygonAngle","PolygonBox","PolygonBoxOptions","PolygonCoordinates","PolygonDecomposition","PolygonHoleScale","PolygonIntersections","PolygonScale","Polyhedron","PolyhedronAngle","PolyhedronBox","PolyhedronBoxOptions","PolyhedronCoordinates","PolyhedronData","PolyhedronDecomposition","PolyhedronGenus","PolyLog","PolynomialExpressionQ","PolynomialExtendedGCD","PolynomialForm","PolynomialGCD","PolynomialLCM","PolynomialMod","PolynomialQ","PolynomialQuotient","PolynomialQuotientRemainder","PolynomialReduce","PolynomialRemainder","Polynomials","PolynomialSumOfSquaresList","PoolingLayer","PopupMenu","PopupMenuBox","PopupMenuBoxOptions","PopupView","PopupWindow","Position","PositionIndex","PositionLargest","PositionSmallest","Positive","PositiveDefiniteMatrixQ","PositiveIntegers","PositivelyOrientedPoints","PositiveRationals","PositiveReals","PositiveSemidefiniteMatrixQ","PossibleZeroQ","Postfix","PostScript","Power","PowerDistribution","PowerExpand","PowerMod","PowerModList","PowerRange","PowerSpectralDensity","PowersRepresentations","PowerSymmetricPolynomial","Precedence","PrecedenceForm","Precedes","PrecedesEqual","PrecedesSlantEqual","PrecedesTilde","Precision","PrecisionGoal","PreDecrement","Predict","PredictionRoot","PredictorFunction","PredictorInformation","PredictorMeasurements","PredictorMeasurementsObject","PreemptProtect","PreferencesPath","PreferencesSettings","Prefix","PreIncrement","Prepend","PrependLayer","PrependTo","PreprocessingRules","PreserveColor","PreserveImageOptions","Previous","PreviousCell","PreviousDate","PriceGraphDistribution","PrimaryPlaceholder","Prime","PrimeNu","PrimeOmega","PrimePi","PrimePowerQ","PrimeQ","Primes","PrimeZetaP","PrimitivePolynomialQ","PrimitiveRoot","PrimitiveRootList","PrincipalComponents","PrincipalValue","Print","PrintableASCIIQ","PrintAction","PrintForm","PrintingCopies","PrintingOptions","PrintingPageRange","PrintingStartingPageNumber","PrintingStyleEnvironment","Printout3D","Printout3DPreviewer","PrintPrecision","PrintTemporary","Prism","PrismBox","PrismBoxOptions","PrivateCellOptions","PrivateEvaluationOptions","PrivateFontOptions","PrivateFrontEndOptions","PrivateKey","PrivateNotebookOptions","PrivatePaths","Probability","ProbabilityDistribution","ProbabilityPlot","ProbabilityPr","ProbabilityScalePlot","ProbitModelFit","ProcessConnection","ProcessDirectory","ProcessEnvironment","Processes","ProcessEstimator","ProcessInformation","ProcessObject","ProcessParameterAssumptions","ProcessParameterQ","ProcessStateDomain","ProcessStatus","ProcessTimeDomain","Product","ProductDistribution","ProductLog","ProgressIndicator","ProgressIndicatorBox","ProgressIndicatorBoxOptions","ProgressReporting","Projection","Prolog","PromptForm","ProofObject","PropagateAborts","Properties","Property","PropertyList","PropertyValue","Proportion","Proportional","Protect","Protected","ProteinData","Pruning","PseudoInverse","PsychrometricPropertyData","PublicKey","PublisherID","PulsarData","PunctuationCharacter","Purple","Put","PutAppend","Pyramid","PyramidBox","PyramidBoxOptions","QBinomial","QFactorial","QGamma","QHypergeometricPFQ","QnDispersion","QPochhammer","QPolyGamma","QRDecomposition","QuadraticIrrationalQ","QuadraticOptimization","Quantile","QuantilePlot","Quantity","QuantityArray","QuantityDistribution","QuantityForm","QuantityMagnitude","QuantityQ","QuantityUnit","QuantityVariable","QuantityVariableCanonicalUnit","QuantityVariableDimensions","QuantityVariableIdentifier","QuantityVariablePhysicalQuantity","Quartics","QuartileDeviation","Quartiles","QuartileSkewness","Query","QuestionGenerator","QuestionInterface","QuestionObject","QuestionSelector","QueueingNetworkProcess","QueueingProcess","QueueProperties","Quiet","QuietEcho","Quit","Quotient","QuotientRemainder","RadialAxisPlot","RadialGradientFilling","RadialGradientImage","RadialityCentrality","RadicalBox","RadicalBoxOptions","RadioButton","RadioButtonBar","RadioButtonBox","RadioButtonBoxOptions","Radon","RadonTransform","RamanujanTau","RamanujanTauL","RamanujanTauTheta","RamanujanTauZ","Ramp","Random","RandomArrayLayer","RandomChoice","RandomColor","RandomComplex","RandomDate","RandomEntity","RandomFunction","RandomGeneratorState","RandomGeoPosition","RandomGraph","RandomImage","RandomInstance","RandomInteger","RandomPermutation","RandomPoint","RandomPointConfiguration","RandomPolygon","RandomPolyhedron","RandomPrime","RandomReal","RandomSample","RandomSeed","RandomSeeding","RandomTime","RandomTree","RandomVariate","RandomWalkProcess","RandomWord","Range","RangeFilter","RangeSpecification","RankedMax","RankedMin","RarerProbability","Raster","Raster3D","Raster3DBox","Raster3DBoxOptions","RasterArray","RasterBox","RasterBoxOptions","Rasterize","RasterSize","Rational","RationalExpressionQ","RationalFunctions","Rationalize","Rationals","Ratios","RawArray","RawBoxes","RawData","RawMedium","RayleighDistribution","Re","ReactionBalance","ReactionBalancedQ","ReactionPDETerm","Read","ReadByteArray","ReadLine","ReadList","ReadProtected","ReadString","Real","RealAbs","RealBlockDiagonalForm","RealDigits","RealExponent","Reals","RealSign","Reap","RebuildPacletData","RecalibrationFunction","RecognitionPrior","RecognitionThreshold","ReconstructionMesh","Record","RecordLists","RecordSeparators","Rectangle","RectangleBox","RectangleBoxOptions","RectangleChart","RectangleChart3D","RectangularRepeatingElement","RecurrenceFilter","RecurrenceTable","RecurringDigitsForm","Red","Reduce","RefBox","ReferenceLineStyle","ReferenceMarkers","ReferenceMarkerStyle","Refine","ReflectionMatrix","ReflectionTransform","Refresh","RefreshRate","Region","RegionBinarize","RegionBoundary","RegionBoundaryStyle","RegionBounds","RegionCentroid","RegionCongruent","RegionConvert","RegionDifference","RegionDilation","RegionDimension","RegionDisjoint","RegionDistance","RegionDistanceFunction","RegionEmbeddingDimension","RegionEqual","RegionErosion","RegionFillingStyle","RegionFit","RegionFunction","RegionImage","RegionIntersection","RegionMeasure","RegionMember","RegionMemberFunction","RegionMoment","RegionNearest","RegionNearestFunction","RegionPlot","RegionPlot3D","RegionProduct","RegionQ","RegionResize","RegionSimilar","RegionSize","RegionSymmetricDifference","RegionUnion","RegionWithin","RegisterExternalEvaluator","RegularExpression","Regularization","RegularlySampledQ","RegularPolygon","ReIm","ReImLabels","ReImPlot","ReImStyle","Reinstall","RelationalDatabase","RelationGraph","Release","ReleaseHold","ReliabilityDistribution","ReliefImage","ReliefPlot","RemoteAuthorizationCaching","RemoteBatchJobAbort","RemoteBatchJobObject","RemoteBatchJobs","RemoteBatchMapSubmit","RemoteBatchSubmissionEnvironment","RemoteBatchSubmit","RemoteConnect","RemoteConnectionObject","RemoteEvaluate","RemoteFile","RemoteInputFiles","RemoteKernelObject","RemoteProviderSettings","RemoteRun","RemoteRunProcess","RemovalConditions","Remove","RemoveAlphaChannel","RemoveAsynchronousTask","RemoveAudioStream","RemoveBackground","RemoveChannelListener","RemoveChannelSubscribers","Removed","RemoveDiacritics","RemoveInputStreamMethod","RemoveOutputStreamMethod","RemoveProperty","RemoveScheduledTask","RemoveUsers","RemoveVideoStream","RenameDirectory","RenameFile","RenderAll","RenderingOptions","RenewalProcess","RenkoChart","RepairMesh","Repeated","RepeatedNull","RepeatedString","RepeatedTiming","RepeatingElement","Replace","ReplaceAll","ReplaceAt","ReplaceHeldPart","ReplaceImageValue","ReplaceList","ReplacePart","ReplacePixelValue","ReplaceRepeated","ReplicateLayer","RequiredPhysicalQuantities","Resampling","ResamplingAlgorithmData","ResamplingMethod","Rescale","RescalingTransform","ResetDirectory","ResetScheduledTask","ReshapeLayer","Residue","ResidueSum","ResizeLayer","Resolve","ResolveContextAliases","ResourceAcquire","ResourceData","ResourceFunction","ResourceObject","ResourceRegister","ResourceRemove","ResourceSearch","ResourceSubmissionObject","ResourceSubmit","ResourceSystemBase","ResourceSystemPath","ResourceUpdate","ResourceVersion","ResponseForm","Rest","RestartInterval","Restricted","Resultant","ResumePacket","Return","ReturnCreatesNewCell","ReturnEntersInput","ReturnExpressionPacket","ReturnInputFormPacket","ReturnPacket","ReturnReceiptFunction","ReturnTextPacket","Reverse","ReverseApplied","ReverseBiorthogonalSplineWavelet","ReverseElement","ReverseEquilibrium","ReverseGraph","ReverseSort","ReverseSortBy","ReverseUpEquilibrium","RevolutionAxis","RevolutionPlot3D","RGBColor","RiccatiSolve","RiceDistribution","RidgeFilter","RiemannR","RiemannSiegelTheta","RiemannSiegelZ","RiemannXi","Riffle","Right","RightArrow","RightArrowBar","RightArrowLeftArrow","RightComposition","RightCosetRepresentative","RightDownTeeVector","RightDownVector","RightDownVectorBar","RightTee","RightTeeArrow","RightTeeVector","RightTriangle","RightTriangleBar","RightTriangleEqual","RightUpDownVector","RightUpTeeVector","RightUpVector","RightUpVectorBar","RightVector","RightVectorBar","RipleyK","RipleyRassonRegion","RiskAchievementImportance","RiskReductionImportance","RobustConvexOptimization","RogersTanimotoDissimilarity","RollPitchYawAngles","RollPitchYawMatrix","RomanNumeral","Root","RootApproximant","RootIntervals","RootLocusPlot","RootMeanSquare","RootOfUnityQ","RootReduce","Roots","RootSum","RootTree","Rotate","RotateLabel","RotateLeft","RotateRight","RotationAction","RotationBox","RotationBoxOptions","RotationMatrix","RotationTransform","Round","RoundImplies","RoundingRadius","Row","RowAlignments","RowBackgrounds","RowBox","RowHeights","RowLines","RowMinHeight","RowReduce","RowsEqual","RowSpacings","RSolve","RSolveValue","RudinShapiro","RudvalisGroupRu","Rule","RuleCondition","RuleDelayed","RuleForm","RulePlot","RulerUnits","RulesTree","Run","RunProcess","RunScheduledTask","RunThrough","RuntimeAttributes","RuntimeOptions","RussellRaoDissimilarity","SameAs","SameQ","SameTest","SameTestProperties","SampledEntityClass","SampleDepth","SampledSoundFunction","SampledSoundList","SampleRate","SamplingPeriod","SARIMAProcess","SARMAProcess","SASTriangle","SatelliteData","SatisfiabilityCount","SatisfiabilityInstances","SatisfiableQ","Saturday","Save","Saveable","SaveAutoDelete","SaveConnection","SaveDefinitions","SavitzkyGolayMatrix","SawtoothWave","Scale","Scaled","ScaleDivisions","ScaledMousePosition","ScaleOrigin","ScalePadding","ScaleRanges","ScaleRangeStyle","ScalingFunctions","ScalingMatrix","ScalingTransform","Scan","ScheduledTask","ScheduledTaskActiveQ","ScheduledTaskInformation","ScheduledTaskInformationData","ScheduledTaskObject","ScheduledTasks","SchurDecomposition","ScientificForm","ScientificNotationThreshold","ScorerGi","ScorerGiPrime","ScorerHi","ScorerHiPrime","ScreenRectangle","ScreenStyleEnvironment","ScriptBaselineShifts","ScriptForm","ScriptLevel","ScriptMinSize","ScriptRules","ScriptSizeMultipliers","Scrollbars","ScrollingOptions","ScrollPosition","SearchAdjustment","SearchIndexObject","SearchIndices","SearchQueryString","SearchResultObject","Sec","Sech","SechDistribution","SecondOrderConeOptimization","SectionGrouping","SectorChart","SectorChart3D","SectorOrigin","SectorSpacing","SecuredAuthenticationKey","SecuredAuthenticationKeys","SecurityCertificate","SeedRandom","Select","Selectable","SelectComponents","SelectedCells","SelectedNotebook","SelectFirst","Selection","SelectionAnimate","SelectionCell","SelectionCellCreateCell","SelectionCellDefaultStyle","SelectionCellParentStyle","SelectionCreateCell","SelectionDebuggerTag","SelectionEvaluate","SelectionEvaluateCreateCell","SelectionMove","SelectionPlaceholder","SelectWithContents","SelfLoops","SelfLoopStyle","SemanticImport","SemanticImportString","SemanticInterpretation","SemialgebraicComponentInstances","SemidefiniteOptimization","SendMail","SendMessage","Sequence","SequenceAlignment","SequenceAttentionLayer","SequenceCases","SequenceCount","SequenceFold","SequenceFoldList","SequenceForm","SequenceHold","SequenceIndicesLayer","SequenceLastLayer","SequenceMostLayer","SequencePosition","SequencePredict","SequencePredictorFunction","SequenceReplace","SequenceRestLayer","SequenceReverseLayer","SequenceSplit","Series","SeriesCoefficient","SeriesData","SeriesTermGoal","ServiceConnect","ServiceDisconnect","ServiceExecute","ServiceObject","ServiceRequest","ServiceResponse","ServiceSubmit","SessionSubmit","SessionTime","Set","SetAccuracy","SetAlphaChannel","SetAttributes","Setbacks","SetCloudDirectory","SetCookies","SetDelayed","SetDirectory","SetEnvironment","SetFileDate","SetFileFormatProperties","SetOptions","SetOptionsPacket","SetPermissions","SetPrecision","SetProperty","SetSecuredAuthenticationKey","SetSelectedNotebook","SetSharedFunction","SetSharedVariable","SetStreamPosition","SetSystemModel","SetSystemOptions","Setter","SetterBar","SetterBox","SetterBoxOptions","Setting","SetUsers","Shading","Shallow","ShannonWavelet","ShapiroWilkTest","Share","SharingList","Sharpen","ShearingMatrix","ShearingTransform","ShellRegion","ShenCastanMatrix","ShiftedGompertzDistribution","ShiftRegisterSequence","Short","ShortDownArrow","Shortest","ShortestMatch","ShortestPathFunction","ShortLeftArrow","ShortRightArrow","ShortTimeFourier","ShortTimeFourierData","ShortUpArrow","Show","ShowAutoConvert","ShowAutoSpellCheck","ShowAutoStyles","ShowCellBracket","ShowCellLabel","ShowCellTags","ShowClosedCellArea","ShowCodeAssist","ShowContents","ShowControls","ShowCursorTracker","ShowGroupOpenCloseIcon","ShowGroupOpener","ShowInvisibleCharacters","ShowPageBreaks","ShowPredictiveInterface","ShowSelection","ShowShortBoxForm","ShowSpecialCharacters","ShowStringCharacters","ShowSyntaxStyles","ShrinkingDelay","ShrinkWrapBoundingBox","SiderealTime","SiegelTheta","SiegelTukeyTest","SierpinskiCurve","SierpinskiMesh","Sign","Signature","SignedRankTest","SignedRegionDistance","SignificanceLevel","SignPadding","SignTest","SimilarityRules","SimpleGraph","SimpleGraphQ","SimplePolygonQ","SimplePolyhedronQ","Simplex","Simplify","Sin","Sinc","SinghMaddalaDistribution","SingleEvaluation","SingleLetterItalics","SingleLetterStyle","SingularValueDecomposition","SingularValueList","SingularValuePlot","SingularValues","Sinh","SinhIntegral","SinIntegral","SixJSymbol","Skeleton","SkeletonTransform","SkellamDistribution","Skewness","SkewNormalDistribution","SkinStyle","Skip","SliceContourPlot3D","SliceDensityPlot3D","SliceDistribution","SliceVectorPlot3D","Slider","Slider2D","Slider2DBox","Slider2DBoxOptions","SliderBox","SliderBoxOptions","SlideShowVideo","SlideView","Slot","SlotSequence","Small","SmallCircle","Smaller","SmithDecomposition","SmithDelayCompensator","SmithWatermanSimilarity","SmoothDensityHistogram","SmoothHistogram","SmoothHistogram3D","SmoothKernelDistribution","SmoothPointDensity","SnDispersion","Snippet","SnippetsVideo","SnubPolyhedron","SocialMediaData","Socket","SocketConnect","SocketListen","SocketListener","SocketObject","SocketOpen","SocketReadMessage","SocketReadyQ","Sockets","SocketWaitAll","SocketWaitNext","SoftmaxLayer","SokalSneathDissimilarity","SolarEclipse","SolarSystemFeatureData","SolarTime","SolidAngle","SolidBoundaryLoadValue","SolidData","SolidDisplacementCondition","SolidFixedCondition","SolidMechanicsPDEComponent","SolidMechanicsStrain","SolidMechanicsStress","SolidRegionQ","Solve","SolveAlways","SolveDelayed","SolveValues","Sort","SortBy","SortedBy","SortedEntityClass","Sound","SoundAndGraphics","SoundNote","SoundVolume","SourceLink","SourcePDETerm","Sow","Space","SpaceCurveData","SpaceForm","Spacer","Spacings","Span","SpanAdjustments","SpanCharacterRounding","SpanFromAbove","SpanFromBoth","SpanFromLeft","SpanLineThickness","SpanMaxSize","SpanMinSize","SpanningCharacters","SpanSymmetric","SparseArray","SparseArrayQ","SpatialBinnedPointData","SpatialBoundaryCorrection","SpatialEstimate","SpatialEstimatorFunction","SpatialGraphDistribution","SpatialJ","SpatialMedian","SpatialNoiseLevel","SpatialObservationRegionQ","SpatialPointData","SpatialPointSelect","SpatialRandomnessTest","SpatialTransformationLayer","SpatialTrendFunction","Speak","SpeakerMatchQ","SpearmanRankTest","SpearmanRho","SpeciesData","SpecificityGoal","SpectralLineData","Spectrogram","SpectrogramArray","Specularity","SpeechCases","SpeechInterpreter","SpeechRecognize","SpeechSynthesize","SpellingCorrection","SpellingCorrectionList","SpellingDictionaries","SpellingDictionariesPath","SpellingOptions","Sphere","SphereBox","SphereBoxOptions","SpherePoints","SphericalBesselJ","SphericalBesselY","SphericalHankelH1","SphericalHankelH2","SphericalHarmonicY","SphericalPlot3D","SphericalRegion","SphericalShell","SpheroidalEigenvalue","SpheroidalJoiningFactor","SpheroidalPS","SpheroidalPSPrime","SpheroidalQS","SpheroidalQSPrime","SpheroidalRadialFactor","SpheroidalS1","SpheroidalS1Prime","SpheroidalS2","SpheroidalS2Prime","Splice","SplicedDistribution","SplineClosed","SplineDegree","SplineKnots","SplineWeights","Split","SplitBy","SpokenString","SpotLight","Sqrt","SqrtBox","SqrtBoxOptions","Square","SquaredEuclideanDistance","SquareFreeQ","SquareIntersection","SquareMatrixQ","SquareRepeatingElement","SquaresR","SquareSubset","SquareSubsetEqual","SquareSuperset","SquareSupersetEqual","SquareUnion","SquareWave","SSSTriangle","StabilityMargins","StabilityMarginsStyle","StableDistribution","Stack","StackBegin","StackComplete","StackedDateListPlot","StackedListPlot","StackInhibit","StadiumShape","StandardAtmosphereData","StandardDeviation","StandardDeviationFilter","StandardForm","Standardize","Standardized","StandardOceanData","StandbyDistribution","Star","StarClusterData","StarData","StarGraph","StartAsynchronousTask","StartExternalSession","StartingStepSize","StartOfLine","StartOfString","StartProcess","StartScheduledTask","StartupSound","StartWebSession","StateDimensions","StateFeedbackGains","StateOutputEstimator","StateResponse","StateSpaceModel","StateSpaceRealization","StateSpaceTransform","StateTransformationLinearize","StationaryDistribution","StationaryWaveletPacketTransform","StationaryWaveletTransform","StatusArea","StatusCentrality","StepMonitor","StereochemistryElements","StieltjesGamma","StippleShading","StirlingS1","StirlingS2","StopAsynchronousTask","StoppingPowerData","StopScheduledTask","StrataVariables","StratonovichProcess","StraussHardcorePointProcess","StraussPointProcess","StreamColorFunction","StreamColorFunctionScaling","StreamDensityPlot","StreamMarkers","StreamPlot","StreamPlot3D","StreamPoints","StreamPosition","Streams","StreamScale","StreamStyle","StrictInequalities","String","StringBreak","StringByteCount","StringCases","StringContainsQ","StringCount","StringDelete","StringDrop","StringEndsQ","StringExpression","StringExtract","StringForm","StringFormat","StringFormatQ","StringFreeQ","StringInsert","StringJoin","StringLength","StringMatchQ","StringPadLeft","StringPadRight","StringPart","StringPartition","StringPosition","StringQ","StringRepeat","StringReplace","StringReplaceList","StringReplacePart","StringReverse","StringRiffle","StringRotateLeft","StringRotateRight","StringSkeleton","StringSplit","StringStartsQ","StringTake","StringTakeDrop","StringTemplate","StringToByteArray","StringToStream","StringTrim","StripBoxes","StripOnInput","StripStyleOnPaste","StripWrapperBoxes","StrokeForm","Struckthrough","StructuralImportance","StructuredArray","StructuredArrayHeadQ","StructuredSelection","StruveH","StruveL","Stub","StudentTDistribution","Style","StyleBox","StyleBoxAutoDelete","StyleData","StyleDefinitions","StyleForm","StyleHints","StyleKeyMapping","StyleMenuListing","StyleNameDialogSettings","StyleNames","StylePrint","StyleSheetPath","Subdivide","Subfactorial","Subgraph","SubMinus","SubPlus","SubresultantPolynomialRemainders","SubresultantPolynomials","Subresultants","Subscript","SubscriptBox","SubscriptBoxOptions","Subscripted","Subsequences","Subset","SubsetCases","SubsetCount","SubsetEqual","SubsetMap","SubsetPosition","SubsetQ","SubsetReplace","Subsets","SubStar","SubstitutionSystem","Subsuperscript","SubsuperscriptBox","SubsuperscriptBoxOptions","SubtitleEncoding","SubtitleTrackSelection","Subtract","SubtractFrom","SubtractSides","SubValues","Succeeds","SucceedsEqual","SucceedsSlantEqual","SucceedsTilde","Success","SuchThat","Sum","SumConvergence","SummationLayer","Sunday","SunPosition","Sunrise","Sunset","SuperDagger","SuperMinus","SupernovaData","SuperPlus","Superscript","SuperscriptBox","SuperscriptBoxOptions","Superset","SupersetEqual","SuperStar","Surd","SurdForm","SurfaceAppearance","SurfaceArea","SurfaceColor","SurfaceData","SurfaceGraphics","SurvivalDistribution","SurvivalFunction","SurvivalModel","SurvivalModelFit","SuspendPacket","SuzukiDistribution","SuzukiGroupSuz","SwatchLegend","Switch","Symbol","SymbolName","SymletWavelet","Symmetric","SymmetricDifference","SymmetricGroup","SymmetricKey","SymmetricMatrixQ","SymmetricPolynomial","SymmetricReduction","Symmetrize","SymmetrizedArray","SymmetrizedArrayRules","SymmetrizedDependentComponents","SymmetrizedIndependentComponents","SymmetrizedReplacePart","SynchronousInitialization","SynchronousUpdating","Synonyms","Syntax","SyntaxForm","SyntaxInformation","SyntaxLength","SyntaxPacket","SyntaxQ","SynthesizeMissingValues","SystemCredential","SystemCredentialData","SystemCredentialKey","SystemCredentialKeys","SystemCredentialStoreObject","SystemDialogInput","SystemException","SystemGet","SystemHelpPath","SystemInformation","SystemInformationData","SystemInstall","SystemModel","SystemModeler","SystemModelExamples","SystemModelLinearize","SystemModelMeasurements","SystemModelParametricSimulate","SystemModelPlot","SystemModelProgressReporting","SystemModelReliability","SystemModels","SystemModelSimulate","SystemModelSimulateSensitivity","SystemModelSimulationData","SystemOpen","SystemOptions","SystemProcessData","SystemProcesses","SystemsConnectionsModel","SystemsModelControllerData","SystemsModelDelay","SystemsModelDelayApproximate","SystemsModelDelete","SystemsModelDimensions","SystemsModelExtract","SystemsModelFeedbackConnect","SystemsModelLabels","SystemsModelLinearity","SystemsModelMerge","SystemsModelOrder","SystemsModelParallelConnect","SystemsModelSeriesConnect","SystemsModelStateFeedbackConnect","SystemsModelVectorRelativeOrders","SystemStub","SystemTest","Tab","TabFilling","Table","TableAlignments","TableDepth","TableDirections","TableForm","TableHeadings","TableSpacing","TableView","TableViewBox","TableViewBoxAlignment","TableViewBoxBackground","TableViewBoxHeaders","TableViewBoxItemSize","TableViewBoxItemStyle","TableViewBoxOptions","TabSpacings","TabView","TabViewBox","TabViewBoxOptions","TagBox","TagBoxNote","TagBoxOptions","TaggingRules","TagSet","TagSetDelayed","TagStyle","TagUnset","Take","TakeDrop","TakeLargest","TakeLargestBy","TakeList","TakeSmallest","TakeSmallestBy","TakeWhile","Tally","Tan","Tanh","TargetDevice","TargetFunctions","TargetSystem","TargetUnits","TaskAbort","TaskExecute","TaskObject","TaskRemove","TaskResume","Tasks","TaskSuspend","TaskWait","TautologyQ","TelegraphProcess","TemplateApply","TemplateArgBox","TemplateBox","TemplateBoxOptions","TemplateEvaluate","TemplateExpression","TemplateIf","TemplateObject","TemplateSequence","TemplateSlot","TemplateSlotSequence","TemplateUnevaluated","TemplateVerbatim","TemplateWith","TemporalData","TemporalRegularity","Temporary","TemporaryVariable","TensorContract","TensorDimensions","TensorExpand","TensorProduct","TensorQ","TensorRank","TensorReduce","TensorSymmetry","TensorTranspose","TensorWedge","TerminatedEvaluation","TernaryListPlot","TernaryPlotCorners","TestID","TestReport","TestReportObject","TestResultObject","Tetrahedron","TetrahedronBox","TetrahedronBoxOptions","TeXForm","TeXSave","Text","Text3DBox","Text3DBoxOptions","TextAlignment","TextBand","TextBoundingBox","TextBox","TextCases","TextCell","TextClipboardType","TextContents","TextData","TextElement","TextForm","TextGrid","TextJustification","TextLine","TextPacket","TextParagraph","TextPosition","TextRecognize","TextSearch","TextSearchReport","TextSentences","TextString","TextStructure","TextStyle","TextTranslation","Texture","TextureCoordinateFunction","TextureCoordinateScaling","TextWords","Therefore","ThermodynamicData","ThermometerGauge","Thick","Thickness","Thin","Thinning","ThisLink","ThomasPointProcess","ThompsonGroupTh","Thread","Threaded","ThreadingLayer","ThreeJSymbol","Threshold","Through","Throw","ThueMorse","Thumbnail","Thursday","TickDirection","TickLabelOrientation","TickLabelPositioning","TickLabels","TickLengths","TickPositions","Ticks","TicksStyle","TideData","Tilde","TildeEqual","TildeFullEqual","TildeTilde","TimeConstrained","TimeConstraint","TimeDirection","TimeFormat","TimeGoal","TimelinePlot","TimeObject","TimeObjectQ","TimeRemaining","Times","TimesBy","TimeSeries","TimeSeriesAggregate","TimeSeriesForecast","TimeSeriesInsert","TimeSeriesInvertibility","TimeSeriesMap","TimeSeriesMapThread","TimeSeriesModel","TimeSeriesModelFit","TimeSeriesResample","TimeSeriesRescale","TimeSeriesShift","TimeSeriesThread","TimeSeriesWindow","TimeSystem","TimeSystemConvert","TimeUsed","TimeValue","TimeWarpingCorrespondence","TimeWarpingDistance","TimeZone","TimeZoneConvert","TimeZoneOffset","Timing","Tiny","TitleGrouping","TitsGroupT","ToBoxes","ToCharacterCode","ToColor","ToContinuousTimeModel","ToDate","Today","ToDiscreteTimeModel","ToEntity","ToeplitzMatrix","ToExpression","ToFileName","Together","Toggle","ToggleFalse","Toggler","TogglerBar","TogglerBox","TogglerBoxOptions","ToHeldExpression","ToInvertibleTimeSeries","TokenWords","Tolerance","ToLowerCase","Tomorrow","ToNumberField","TooBig","Tooltip","TooltipBox","TooltipBoxOptions","TooltipDelay","TooltipStyle","ToonShading","Top","TopHatTransform","ToPolarCoordinates","TopologicalSort","ToRadicals","ToRawPointer","ToRules","Torus","TorusGraph","ToSphericalCoordinates","ToString","Total","TotalHeight","TotalLayer","TotalVariationFilter","TotalWidth","TouchPosition","TouchscreenAutoZoom","TouchscreenControlPlacement","ToUpperCase","TourVideo","Tr","Trace","TraceAbove","TraceAction","TraceBackward","TraceDepth","TraceDialog","TraceForward","TraceInternal","TraceLevel","TraceOff","TraceOn","TraceOriginal","TracePrint","TraceScan","TrackCellChangeTimes","TrackedSymbols","TrackingFunction","TracyWidomDistribution","TradingChart","TraditionalForm","TraditionalFunctionNotation","TraditionalNotation","TraditionalOrder","TrainImageContentDetector","TrainingProgressCheckpointing","TrainingProgressFunction","TrainingProgressMeasurements","TrainingProgressReporting","TrainingStoppingCriterion","TrainingUpdateSchedule","TrainTextContentDetector","TransferFunctionCancel","TransferFunctionExpand","TransferFunctionFactor","TransferFunctionModel","TransferFunctionPoles","TransferFunctionTransform","TransferFunctionZeros","TransformationClass","TransformationFunction","TransformationFunctions","TransformationMatrix","TransformedDistribution","TransformedField","TransformedProcess","TransformedRegion","TransitionDirection","TransitionDuration","TransitionEffect","TransitiveClosureGraph","TransitiveReductionGraph","Translate","TranslationOptions","TranslationTransform","Transliterate","Transparent","TransparentColor","Transpose","TransposeLayer","TrapEnterKey","TrapSelection","TravelDirections","TravelDirectionsData","TravelDistance","TravelDistanceList","TravelMethod","TravelTime","Tree","TreeCases","TreeChildren","TreeCount","TreeData","TreeDelete","TreeDepth","TreeElementCoordinates","TreeElementLabel","TreeElementLabelFunction","TreeElementLabelStyle","TreeElementShape","TreeElementShapeFunction","TreeElementSize","TreeElementSizeFunction","TreeElementStyle","TreeElementStyleFunction","TreeExpression","TreeExtract","TreeFold","TreeForm","TreeGraph","TreeGraphQ","TreeInsert","TreeLayout","TreeLeafCount","TreeLeafQ","TreeLeaves","TreeLevel","TreeMap","TreeMapAt","TreeOutline","TreePlot","TreePosition","TreeQ","TreeReplacePart","TreeRules","TreeScan","TreeSelect","TreeSize","TreeTraversalOrder","TrendStyle","Triangle","TriangleCenter","TriangleConstruct","TriangleMeasurement","TriangleWave","TriangularDistribution","TriangulateMesh","Trig","TrigExpand","TrigFactor","TrigFactorList","Trigger","TrigReduce","TrigToExp","TrimmedMean","TrimmedVariance","TropicalStormData","True","TrueQ","TruncatedDistribution","TruncatedPolyhedron","TsallisQExponentialDistribution","TsallisQGaussianDistribution","TTest","Tube","TubeBezierCurveBox","TubeBezierCurveBoxOptions","TubeBox","TubeBoxOptions","TubeBSplineCurveBox","TubeBSplineCurveBoxOptions","Tuesday","TukeyLambdaDistribution","TukeyWindow","TunnelData","Tuples","TuranGraph","TuringMachine","TuttePolynomial","TwoWayRule","Typed","TypeDeclaration","TypeEvaluate","TypeHint","TypeOf","TypeSpecifier","UnateQ","Uncompress","UnconstrainedParameters","Undefined","UnderBar","Underflow","Underlined","Underoverscript","UnderoverscriptBox","UnderoverscriptBoxOptions","Underscript","UnderscriptBox","UnderscriptBoxOptions","UnderseaFeatureData","UndirectedEdge","UndirectedGraph","UndirectedGraphQ","UndoOptions","UndoTrackedVariables","Unequal","UnequalTo","Unevaluated","UniformDistribution","UniformGraphDistribution","UniformPolyhedron","UniformSumDistribution","Uninstall","Union","UnionedEntityClass","UnionPlus","Unique","UniqueElements","UnitaryMatrixQ","UnitBox","UnitConvert","UnitDimensions","Unitize","UnitRootTest","UnitSimplify","UnitStep","UnitSystem","UnitTriangle","UnitVector","UnitVectorLayer","UnityDimensions","UniverseModelData","UniversityData","UnixTime","UnlabeledTree","UnmanageObject","Unprotect","UnregisterExternalEvaluator","UnsameQ","UnsavedVariables","Unset","UnsetShared","Until","UntrackedVariables","Up","UpArrow","UpArrowBar","UpArrowDownArrow","Update","UpdateDynamicObjects","UpdateDynamicObjectsSynchronous","UpdateInterval","UpdatePacletSites","UpdateSearchIndex","UpDownArrow","UpEquilibrium","UpperCaseQ","UpperLeftArrow","UpperRightArrow","UpperTriangularize","UpperTriangularMatrix","UpperTriangularMatrixQ","Upsample","UpSet","UpSetDelayed","UpTee","UpTeeArrow","UpTo","UpValues","URL","URLBuild","URLDecode","URLDispatcher","URLDownload","URLDownloadSubmit","URLEncode","URLExecute","URLExpand","URLFetch","URLFetchAsynchronous","URLParse","URLQueryDecode","URLQueryEncode","URLRead","URLResponseTime","URLSave","URLSaveAsynchronous","URLShorten","URLSubmit","UseEmbeddedLibrary","UseGraphicsRange","UserDefinedWavelet","Using","UsingFrontEnd","UtilityFunction","V2Get","ValenceErrorHandling","ValenceFilling","ValidationLength","ValidationSet","ValueBox","ValueBoxOptions","ValueDimensions","ValueForm","ValuePreprocessingFunction","ValueQ","Values","ValuesData","VandermondeMatrix","Variables","Variance","VarianceEquivalenceTest","VarianceEstimatorFunction","VarianceGammaDistribution","VarianceGammaPointProcess","VarianceTest","VariogramFunction","VariogramModel","VectorAngle","VectorAround","VectorAspectRatio","VectorColorFunction","VectorColorFunctionScaling","VectorDensityPlot","VectorDisplacementPlot","VectorDisplacementPlot3D","VectorGlyphData","VectorGreater","VectorGreaterEqual","VectorLess","VectorLessEqual","VectorMarkers","VectorPlot","VectorPlot3D","VectorPoints","VectorQ","VectorRange","Vectors","VectorScale","VectorScaling","VectorSizes","VectorStyle","Vee","Verbatim","Verbose","VerificationTest","VerifyConvergence","VerifyDerivedKey","VerifyDigitalSignature","VerifyFileSignature","VerifyInterpretation","VerifySecurityCertificates","VerifySolutions","VerifyTestAssumptions","VersionedPreferences","VertexAdd","VertexCapacity","VertexChromaticNumber","VertexColors","VertexComponent","VertexConnectivity","VertexContract","VertexCoordinateRules","VertexCoordinates","VertexCorrelationSimilarity","VertexCosineSimilarity","VertexCount","VertexCoverQ","VertexDataCoordinates","VertexDegree","VertexDelete","VertexDiceSimilarity","VertexEccentricity","VertexInComponent","VertexInComponentGraph","VertexInDegree","VertexIndex","VertexJaccardSimilarity","VertexLabeling","VertexLabels","VertexLabelStyle","VertexList","VertexNormals","VertexOutComponent","VertexOutComponentGraph","VertexOutDegree","VertexQ","VertexRenderingFunction","VertexReplace","VertexShape","VertexShapeFunction","VertexSize","VertexStyle","VertexTextureCoordinates","VertexTransitiveGraphQ","VertexWeight","VertexWeightedGraphQ","Vertical","VerticalBar","VerticalForm","VerticalGauge","VerticalSeparator","VerticalSlider","VerticalTilde","Video","VideoCapture","VideoCombine","VideoDelete","VideoEncoding","VideoExtractFrames","VideoFrameList","VideoFrameMap","VideoGenerator","VideoInsert","VideoIntervals","VideoJoin","VideoMap","VideoMapList","VideoMapTimeSeries","VideoPadding","VideoPause","VideoPlay","VideoQ","VideoRecord","VideoReplace","VideoScreenCapture","VideoSplit","VideoStop","VideoStream","VideoStreams","VideoTimeStretch","VideoTrackSelection","VideoTranscode","VideoTransparency","VideoTrim","ViewAngle","ViewCenter","ViewMatrix","ViewPoint","ViewPointSelectorSettings","ViewPort","ViewProjection","ViewRange","ViewVector","ViewVertical","VirtualGroupData","Visible","VisibleCell","VoiceStyleData","VoigtDistribution","VolcanoData","Volume","VonMisesDistribution","VoronoiMesh","WaitAll","WaitAsynchronousTask","WaitNext","WaitUntil","WakebyDistribution","WalleniusHypergeometricDistribution","WaringYuleDistribution","WarpingCorrespondence","WarpingDistance","WatershedComponents","WatsonUSquareTest","WattsStrogatzGraphDistribution","WaveletBestBasis","WaveletFilterCoefficients","WaveletImagePlot","WaveletListPlot","WaveletMapIndexed","WaveletMatrixPlot","WaveletPhi","WaveletPsi","WaveletScale","WaveletScalogram","WaveletThreshold","WavePDEComponent","WeaklyConnectedComponents","WeaklyConnectedGraphComponents","WeaklyConnectedGraphQ","WeakStationarity","WeatherData","WeatherForecastData","WebAudioSearch","WebColumn","WebElementObject","WeberE","WebExecute","WebImage","WebImageSearch","WebItem","WebPageMetaInformation","WebRow","WebSearch","WebSessionObject","WebSessions","WebWindowObject","Wedge","Wednesday","WeibullDistribution","WeierstrassE1","WeierstrassE2","WeierstrassE3","WeierstrassEta1","WeierstrassEta2","WeierstrassEta3","WeierstrassHalfPeriods","WeierstrassHalfPeriodW1","WeierstrassHalfPeriodW2","WeierstrassHalfPeriodW3","WeierstrassInvariantG2","WeierstrassInvariantG3","WeierstrassInvariants","WeierstrassP","WeierstrassPPrime","WeierstrassSigma","WeierstrassZeta","WeightedAdjacencyGraph","WeightedAdjacencyMatrix","WeightedData","WeightedGraphQ","Weights","WelchWindow","WheelGraph","WhenEvent","Which","While","White","WhiteNoiseProcess","WhitePoint","Whitespace","WhitespaceCharacter","WhittakerM","WhittakerW","WholeCellGroupOpener","WienerFilter","WienerProcess","WignerD","WignerSemicircleDistribution","WikidataData","WikidataSearch","WikipediaData","WikipediaSearch","WilksW","WilksWTest","WindDirectionData","WindingCount","WindingPolygon","WindowClickSelect","WindowElements","WindowFloating","WindowFrame","WindowFrameElements","WindowMargins","WindowMovable","WindowOpacity","WindowPersistentStyles","WindowSelected","WindowSize","WindowStatusArea","WindowTitle","WindowToolbars","WindowWidth","WindSpeedData","WindVectorData","WinsorizedMean","WinsorizedVariance","WishartMatrixDistribution","With","WithCleanup","WithLock","WolframAlpha","WolframAlphaDate","WolframAlphaQuantity","WolframAlphaResult","WolframCloudSettings","WolframLanguageData","Word","WordBoundary","WordCharacter","WordCloud","WordCount","WordCounts","WordData","WordDefinition","WordFrequency","WordFrequencyData","WordList","WordOrientation","WordSearch","WordSelectionFunction","WordSeparators","WordSpacings","WordStem","WordTranslation","WorkingPrecision","WrapAround","Write","WriteLine","WriteString","Wronskian","XMLElement","XMLObject","XMLTemplate","Xnor","Xor","XYZColor","Yellow","Yesterday","YuleDissimilarity","ZernikeR","ZeroSymmetric","ZeroTest","ZeroWidthTimes","Zeta","ZetaZero","ZIPCodeData","ZipfDistribution","ZoomCenter","ZoomFactor","ZTest","ZTransform","$Aborted","$ActivationGroupID","$ActivationKey","$ActivationUserRegistered","$AddOnsDirectory","$AllowDataUpdates","$AllowExternalChannelFunctions","$AllowInternet","$AssertFunction","$Assumptions","$AsynchronousTask","$AudioDecoders","$AudioEncoders","$AudioInputDevices","$AudioOutputDevices","$BaseDirectory","$BasePacletsDirectory","$BatchInput","$BatchOutput","$BlockchainBase","$BoxForms","$ByteOrdering","$CacheBaseDirectory","$Canceled","$ChannelBase","$CharacterEncoding","$CharacterEncodings","$CloudAccountName","$CloudBase","$CloudConnected","$CloudConnection","$CloudCreditsAvailable","$CloudEvaluation","$CloudExpressionBase","$CloudObjectNameFormat","$CloudObjectURLType","$CloudRootDirectory","$CloudSymbolBase","$CloudUserID","$CloudUserUUID","$CloudVersion","$CloudVersionNumber","$CloudWolframEngineVersionNumber","$CommandLine","$CompilationTarget","$CompilerEnvironment","$ConditionHold","$ConfiguredKernels","$Context","$ContextAliases","$ContextPath","$ControlActiveSetting","$Cookies","$CookieStore","$CreationDate","$CryptographicEllipticCurveNames","$CurrentLink","$CurrentTask","$CurrentWebSession","$DataStructures","$DateStringFormat","$DefaultAudioInputDevice","$DefaultAudioOutputDevice","$DefaultFont","$DefaultFrontEnd","$DefaultImagingDevice","$DefaultKernels","$DefaultLocalBase","$DefaultLocalKernel","$DefaultMailbox","$DefaultNetworkInterface","$DefaultPath","$DefaultProxyRules","$DefaultRemoteBatchSubmissionEnvironment","$DefaultRemoteKernel","$DefaultSystemCredentialStore","$Display","$DisplayFunction","$DistributedContexts","$DynamicEvaluation","$Echo","$EmbedCodeEnvironments","$EmbeddableServices","$EntityStores","$Epilog","$EvaluationCloudBase","$EvaluationCloudObject","$EvaluationEnvironment","$ExportFormats","$ExternalIdentifierTypes","$ExternalStorageBase","$Failed","$FinancialDataSource","$FontFamilies","$FormatType","$FrontEnd","$FrontEndSession","$GeneratedAssetLocation","$GeoEntityTypes","$GeoLocation","$GeoLocationCity","$GeoLocationCountry","$GeoLocationPrecision","$GeoLocationSource","$HistoryLength","$HomeDirectory","$HTMLExportRules","$HTTPCookies","$HTTPRequest","$IgnoreEOF","$ImageFormattingWidth","$ImageResolution","$ImagingDevice","$ImagingDevices","$ImportFormats","$IncomingMailSettings","$InitialDirectory","$Initialization","$InitializationContexts","$Input","$InputFileName","$InputStreamMethods","$Inspector","$InstallationDate","$InstallationDirectory","$InterfaceEnvironment","$InterpreterTypes","$IterationLimit","$KernelCount","$KernelID","$Language","$LaunchDirectory","$LibraryPath","$LicenseExpirationDate","$LicenseID","$LicenseProcesses","$LicenseServer","$LicenseSubprocesses","$LicenseType","$Line","$Linked","$LinkSupported","$LoadedFiles","$LocalBase","$LocalSymbolBase","$MachineAddresses","$MachineDomain","$MachineDomains","$MachineEpsilon","$MachineID","$MachineName","$MachinePrecision","$MachineType","$MaxDisplayedChildren","$MaxExtraPrecision","$MaxLicenseProcesses","$MaxLicenseSubprocesses","$MaxMachineNumber","$MaxNumber","$MaxPiecewiseCases","$MaxPrecision","$MaxRootDegree","$MessageGroups","$MessageList","$MessagePrePrint","$Messages","$MinMachineNumber","$MinNumber","$MinorReleaseNumber","$MinPrecision","$MobilePhone","$ModuleNumber","$NetworkConnected","$NetworkInterfaces","$NetworkLicense","$NewMessage","$NewSymbol","$NotebookInlineStorageLimit","$Notebooks","$NoValue","$NumberMarks","$Off","$OperatingSystem","$Output","$OutputForms","$OutputSizeLimit","$OutputStreamMethods","$Packages","$ParentLink","$ParentProcessID","$PasswordFile","$PatchLevelID","$Path","$PathnameSeparator","$PerformanceGoal","$Permissions","$PermissionsGroupBase","$PersistenceBase","$PersistencePath","$PipeSupported","$PlotTheme","$Post","$Pre","$PreferencesDirectory","$PreInitialization","$PrePrint","$PreRead","$PrintForms","$PrintLiteral","$Printout3DPreviewer","$ProcessID","$ProcessorCount","$ProcessorType","$ProductInformation","$ProgramName","$ProgressReporting","$PublisherID","$RandomGeneratorState","$RandomState","$RecursionLimit","$RegisteredDeviceClasses","$RegisteredUserName","$ReleaseNumber","$RequesterAddress","$RequesterCloudUserID","$RequesterCloudUserUUID","$RequesterWolframID","$RequesterWolframUUID","$ResourceSystemBase","$ResourceSystemPath","$RootDirectory","$ScheduledTask","$ScriptCommandLine","$ScriptInputString","$SecuredAuthenticationKeyTokens","$ServiceCreditsAvailable","$Services","$SessionID","$SetParentLink","$SharedFunctions","$SharedVariables","$SoundDisplay","$SoundDisplayFunction","$SourceLink","$SSHAuthentication","$SubtitleDecoders","$SubtitleEncoders","$SummaryBoxDataSizeLimit","$SuppressInputFormHeads","$SynchronousEvaluation","$SyntaxHandler","$System","$SystemCharacterEncoding","$SystemCredentialStore","$SystemID","$SystemMemory","$SystemShell","$SystemTimeZone","$SystemWordLength","$TargetSystems","$TemplatePath","$TemporaryDirectory","$TemporaryPrefix","$TestFileName","$TextStyle","$TimedOut","$TimeUnit","$TimeZone","$TimeZoneEntity","$TopDirectory","$TraceOff","$TraceOn","$TracePattern","$TracePostAction","$TracePreAction","$UnitSystem","$Urgent","$UserAddOnsDirectory","$UserAgentLanguages","$UserAgentMachine","$UserAgentName","$UserAgentOperatingSystem","$UserAgentString","$UserAgentVersion","$UserBaseDirectory","$UserBasePacletsDirectory","$UserDocumentsDirectory","$Username","$UserName","$UserURLBase","$Version","$VersionNumber","$VideoDecoders","$VideoEncoders","$VoiceStyles","$WolframDocumentsDirectory","$WolframID","$WolframUUID"];return ws=function(t){const n=t.regex,r=n.either(n.concat(/([2-9]|[1-2]\d|[3][0-5])\^\^/,/(\w*\.\w+|\w+\.\w*|\w+)/),/(\d*\.\d+|\d+\.\d*|\d+)/),i=n.either(/``[+-]?(\d*\.\d+|\d+\.\d*|\d+)/,/`([+-]?(\d*\.\d+|\d+\.\d*|\d+))?/),a={className:"number",relevance:0,begin:n.concat(r,n.optional(i),n.optional(/\*\^[+-]?\d+/))},o=/[a-zA-Z$][a-zA-Z0-9$]*/,s=new Set(e),l={variants:[{className:"builtin-symbol",begin:o, +// for performance out of fear of regex.either(...Mathematica.SYSTEM_SYMBOLS) +"on:begin":(e,t)=>{s.has(e[0])||t.ignoreMatch()}},{className:"symbol",relevance:0,begin:o}]},c={className:"message-name",relevance:0,begin:n.concat("::",o)};return{name:"Mathematica",aliases:["mma","wl"],classNameAliases:{brace:"punctuation",pattern:"type",slot:"type",symbol:"variable","named-character":"variable","builtin-symbol":"built_in","message-name":"string"},contains:[t.COMMENT(/\(\*/,/\*\)/,{contains:["self"]}),{className:"pattern",relevance:0,begin:/([a-zA-Z$][a-zA-Z0-9$]*)?_+([a-zA-Z$][a-zA-Z0-9$]*)?/},{className:"slot",relevance:0,begin:/#[a-zA-Z$][a-zA-Z0-9$]*|#+[0-9]?/},c,l,{className:"named-character",begin:/\\\[[$a-zA-Z][$a-zA-Z0-9]+\]/},t.QUOTE_STRING_MODE,a,{className:"operator",relevance:0,begin:/[+\-*/,;.:@~=><&|_`'^?!%]+/},{className:"brace",relevance:0,begin:/[[\](){}]/}]}}}function Vh(){if(Rs)return Os;return Rs=1,Os=function(e){const t="('|\\.')+",n={relevance:0,contains:[{begin:t}]};return{name:"Matlab",keywords:{keyword:"arguments break case catch classdef continue else elseif end enumeration events for function global if methods otherwise parfor persistent properties return spmd switch try while",built_in:"sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms nchoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i|0 inf nan isnan isinf isfinite j|0 why compan gallery hadamard hankel hilb invhilb magic pascal rosser toeplitz vander wilkinson max min nanmax nanmin mean nanmean type table readtable writetable sortrows sort figure plot plot3 scatter scatter3 cellfun legend intersect ismember procrustes hold num2cell "},illegal:'(//|"|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}]}]},{className:"built_in",begin:/true|false/,relevance:0,starts:n},{begin:"[a-zA-Z][a-zA-Z_0-9]*"+t,relevance:0},{className:"number",begin:e.C_NUMBER_RE,relevance:0,starts:n},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{begin:/\]|\}|\)/,relevance:0,starts:n},{className:"string",begin:'"',end:'"',contains:[{begin:'""'}],starts:n},e.COMMENT("^\\s*%\\{\\s*$","^\\s*%\\}\\s*$"),e.COMMENT("%","$")]}}}function Wh(){if(Ds)return Is;return Ds=1,Is=function(e){return{name:"Maxima",keywords:{$pattern:"[A-Za-z_%][0-9A-Za-z_%]*",keyword:"if then else elseif for thru do while unless step in and or not",literal:"true false unknown inf minf ind und %e %i %pi %phi %gamma",built_in:" abasep abs absint absolute_real_time acos acosh acot acoth acsc acsch activate addcol add_edge add_edges addmatrices addrow add_vertex add_vertices adjacency_matrix adjoin adjoint af agd airy airy_ai airy_bi airy_dai airy_dbi algsys alg_type alias allroots alphacharp alphanumericp amortization %and annuity_fv annuity_pv antid antidiff AntiDifference append appendfile apply apply1 apply2 applyb1 apropos args arit_amortization arithmetic arithsum array arrayapply arrayinfo arraymake arraysetapply ascii asec asech asin asinh askinteger asksign assoc assoc_legendre_p assoc_legendre_q assume assume_external_byte_order asympa at atan atan2 atanh atensimp atom atvalue augcoefmatrix augmented_lagrangian_method av average_degree backtrace bars barsplot barsplot_description base64 base64_decode bashindices batch batchload bc2 bdvac belln benefit_cost bern bernpoly bernstein_approx bernstein_expand bernstein_poly bessel bessel_i bessel_j bessel_k bessel_simplify bessel_y beta beta_incomplete beta_incomplete_generalized beta_incomplete_regularized bezout bfallroots bffac bf_find_root bf_fmin_cobyla bfhzeta bfloat bfloatp bfpsi bfpsi0 bfzeta biconnected_components bimetric binomial bipartition block blockmatrixp bode_gain bode_phase bothcoef box boxplot boxplot_description break bug_report build_info|10 buildq build_sample burn cabs canform canten cardinality carg cartan cartesian_product catch cauchy_matrix cbffac cdf_bernoulli cdf_beta cdf_binomial cdf_cauchy cdf_chi2 cdf_continuous_uniform cdf_discrete_uniform cdf_exp cdf_f cdf_gamma cdf_general_finite_discrete cdf_geometric cdf_gumbel cdf_hypergeometric cdf_laplace cdf_logistic cdf_lognormal cdf_negative_binomial cdf_noncentral_chi2 cdf_noncentral_student_t cdf_normal cdf_pareto cdf_poisson cdf_rank_sum cdf_rayleigh cdf_signed_rank cdf_student_t cdf_weibull cdisplay ceiling central_moment cequal cequalignore cf cfdisrep cfexpand cgeodesic cgreaterp cgreaterpignore changename changevar chaosgame charat charfun charfun2 charlist charp charpoly chdir chebyshev_t chebyshev_u checkdiv check_overlaps chinese cholesky christof chromatic_index chromatic_number cint circulant_graph clear_edge_weight clear_rules clear_vertex_label clebsch_gordan clebsch_graph clessp clesspignore close closefile cmetric coeff coefmatrix cograd col collapse collectterms columnop columnspace columnswap columnvector combination combine comp2pui compare compfile compile compile_file complement_graph complete_bipartite_graph complete_graph complex_number_p components compose_functions concan concat conjugate conmetderiv connected_components connect_vertices cons constant constantp constituent constvalue cont2part content continuous_freq contortion contour_plot contract contract_edge contragrad contrib_ode convert coord copy copy_file copy_graph copylist copymatrix cor cos cosh cot coth cov cov1 covdiff covect covers crc24sum create_graph create_list csc csch csetup cspline ctaylor ct_coordsys ctransform ctranspose cube_graph cuboctahedron_graph cunlisp cv cycle_digraph cycle_graph cylindrical days360 dblint deactivate declare declare_constvalue declare_dimensions declare_fundamental_dimensions declare_fundamental_units declare_qty declare_translated declare_unit_conversion declare_units declare_weights decsym defcon define define_alt_display define_variable defint defmatch defrule defstruct deftaylor degree_sequence del delete deleten delta demo demoivre denom depends derivdegree derivlist describe desolve determinant dfloat dgauss_a dgauss_b dgeev dgemm dgeqrf dgesv dgesvd diag diagmatrix diag_matrix diagmatrixp diameter diff digitcharp dimacs_export dimacs_import dimension dimensionless dimensions dimensions_as_list direct directory discrete_freq disjoin disjointp disolate disp dispcon dispform dispfun dispJordan display disprule dispterms distrib divide divisors divsum dkummer_m dkummer_u dlange dodecahedron_graph dotproduct dotsimp dpart draw draw2d draw3d drawdf draw_file draw_graph dscalar echelon edge_coloring edge_connectivity edges eigens_by_jacobi eigenvalues eigenvectors eighth einstein eivals eivects elapsed_real_time elapsed_run_time ele2comp ele2polynome ele2pui elem elementp elevation_grid elim elim_allbut eliminate eliminate_using ellipse elliptic_e elliptic_ec elliptic_eu elliptic_f elliptic_kc elliptic_pi ematrix empty_graph emptyp endcons entermatrix entertensor entier equal equalp equiv_classes erf erfc erf_generalized erfi errcatch error errormsg errors euler ev eval_string evenp every evolution evolution2d evundiff example exp expand expandwrt expandwrt_factored expint expintegral_chi expintegral_ci expintegral_e expintegral_e1 expintegral_ei expintegral_e_simplify expintegral_li expintegral_shi expintegral_si explicit explose exponentialize express expt exsec extdiff extract_linear_equations extremal_subset ezgcd %f f90 facsum factcomb factor factorfacsum factorial factorout factorsum facts fast_central_elements fast_linsolve fasttimes featurep fernfale fft fib fibtophi fifth filename_merge file_search file_type fillarray findde find_root find_root_abs find_root_error find_root_rel first fix flatten flength float floatnump floor flower_snark flush flush1deriv flushd flushnd flush_output fmin_cobyla forget fortran fourcos fourexpand fourier fourier_elim fourint fourintcos fourintsin foursimp foursin fourth fposition frame_bracket freeof freshline fresnel_c fresnel_s from_adjacency_matrix frucht_graph full_listify fullmap fullmapl fullratsimp fullratsubst fullsetify funcsolve fundamental_dimensions fundamental_units fundef funmake funp fv g0 g1 gamma gamma_greek gamma_incomplete gamma_incomplete_generalized gamma_incomplete_regularized gauss gauss_a gauss_b gaussprob gcd gcdex gcdivide gcfac gcfactor gd generalized_lambert_w genfact gen_laguerre genmatrix gensym geo_amortization geo_annuity_fv geo_annuity_pv geomap geometric geometric_mean geosum get getcurrentdirectory get_edge_weight getenv get_lu_factors get_output_stream_string get_pixel get_plot_option get_tex_environment get_tex_environment_default get_vertex_label gfactor gfactorsum ggf girth global_variances gn gnuplot_close gnuplot_replot gnuplot_reset gnuplot_restart gnuplot_start go Gosper GosperSum gr2d gr3d gradef gramschmidt graph6_decode graph6_encode graph6_export graph6_import graph_center graph_charpoly graph_eigenvalues graph_flow graph_order graph_periphery graph_product graph_size graph_union great_rhombicosidodecahedron_graph great_rhombicuboctahedron_graph grid_graph grind grobner_basis grotzch_graph hamilton_cycle hamilton_path hankel hankel_1 hankel_2 harmonic harmonic_mean hav heawood_graph hermite hessian hgfred hilbertmap hilbert_matrix hipow histogram histogram_description hodge horner hypergeometric i0 i1 %ibes ic1 ic2 ic_convert ichr1 ichr2 icosahedron_graph icosidodecahedron_graph icurvature ident identfor identity idiff idim idummy ieqn %if ifactors iframes ifs igcdex igeodesic_coords ilt image imagpart imetric implicit implicit_derivative implicit_plot indexed_tensor indices induced_subgraph inferencep inference_result infix info_display init_atensor init_ctensor in_neighbors innerproduct inpart inprod inrt integerp integer_partitions integrate intersect intersection intervalp intopois intosum invariant1 invariant2 inverse_fft inverse_jacobi_cd inverse_jacobi_cn inverse_jacobi_cs inverse_jacobi_dc inverse_jacobi_dn inverse_jacobi_ds inverse_jacobi_nc inverse_jacobi_nd inverse_jacobi_ns inverse_jacobi_sc inverse_jacobi_sd inverse_jacobi_sn invert invert_by_adjoint invert_by_lu inv_mod irr is is_biconnected is_bipartite is_connected is_digraph is_edge_in_graph is_graph is_graph_or_digraph ishow is_isomorphic isolate isomorphism is_planar isqrt isreal_p is_sconnected is_tree is_vertex_in_graph items_inference %j j0 j1 jacobi jacobian jacobi_cd jacobi_cn jacobi_cs jacobi_dc jacobi_dn jacobi_ds jacobi_nc jacobi_nd jacobi_ns jacobi_p jacobi_sc jacobi_sd jacobi_sn JF jn join jordan julia julia_set julia_sin %k kdels kdelta kill killcontext kostka kron_delta kronecker_product kummer_m kummer_u kurtosis kurtosis_bernoulli kurtosis_beta kurtosis_binomial kurtosis_chi2 kurtosis_continuous_uniform kurtosis_discrete_uniform kurtosis_exp kurtosis_f kurtosis_gamma kurtosis_general_finite_discrete kurtosis_geometric kurtosis_gumbel kurtosis_hypergeometric kurtosis_laplace kurtosis_logistic kurtosis_lognormal kurtosis_negative_binomial kurtosis_noncentral_chi2 kurtosis_noncentral_student_t kurtosis_normal kurtosis_pareto kurtosis_poisson kurtosis_rayleigh kurtosis_student_t kurtosis_weibull label labels lagrange laguerre lambda lambert_w laplace laplacian_matrix last lbfgs lc2kdt lcharp lc_l lcm lc_u ldefint ldisp ldisplay legendre_p legendre_q leinstein length let letrules letsimp levi_civita lfreeof lgtreillis lhs li liediff limit Lindstedt linear linearinterpol linear_program linear_regression line_graph linsolve listarray list_correlations listify list_matrix_entries list_nc_monomials listoftens listofvars listp lmax lmin load loadfile local locate_matrix_entry log logcontract log_gamma lopow lorentz_gauge lowercasep lpart lratsubst lreduce lriemann lsquares_estimates lsquares_estimates_approximate lsquares_estimates_exact lsquares_mse lsquares_residual_mse lsquares_residuals lsum ltreillis lu_backsub lucas lu_factor %m macroexpand macroexpand1 make_array makebox makefact makegamma make_graph make_level_picture makelist makeOrders make_poly_continent make_poly_country make_polygon make_random_state make_rgb_picture makeset make_string_input_stream make_string_output_stream make_transform mandelbrot mandelbrot_set map mapatom maplist matchdeclare matchfix mat_cond mat_fullunblocker mat_function mathml_display mat_norm matrix matrixmap matrixp matrix_size mattrace mat_trace mat_unblocker max max_clique max_degree max_flow maximize_lp max_independent_set max_matching maybe md5sum mean mean_bernoulli mean_beta mean_binomial mean_chi2 mean_continuous_uniform mean_deviation mean_discrete_uniform mean_exp mean_f mean_gamma mean_general_finite_discrete mean_geometric mean_gumbel mean_hypergeometric mean_laplace mean_logistic mean_lognormal mean_negative_binomial mean_noncentral_chi2 mean_noncentral_student_t mean_normal mean_pareto mean_poisson mean_rayleigh mean_student_t mean_weibull median median_deviation member mesh metricexpandall mgf1_sha1 min min_degree min_edge_cut minfactorial minimalPoly minimize_lp minimum_spanning_tree minor minpack_lsquares minpack_solve min_vertex_cover min_vertex_cut mkdir mnewton mod mode_declare mode_identity ModeMatrix moebius mon2schur mono monomial_dimensions multibernstein_poly multi_display_for_texinfo multi_elem multinomial multinomial_coeff multi_orbit multiplot_mode multi_pui multsym multthru mycielski_graph nary natural_unit nc_degree ncexpt ncharpoly negative_picture neighbors new newcontext newdet new_graph newline newton new_variable next_prime nicedummies niceindices ninth nofix nonarray noncentral_moment nonmetricity nonnegintegerp nonscalarp nonzeroandfreeof notequal nounify nptetrad npv nroots nterms ntermst nthroot nullity nullspace num numbered_boundaries numberp number_to_octets num_distinct_partitions numerval numfactor num_partitions nusum nzeta nzetai nzetar octets_to_number octets_to_oid odd_girth oddp ode2 ode_check odelin oid_to_octets op opena opena_binary openr openr_binary openw openw_binary operatorp opsubst optimize %or orbit orbits ordergreat ordergreatp orderless orderlessp orthogonal_complement orthopoly_recur orthopoly_weight outermap out_neighbors outofpois pade parabolic_cylinder_d parametric parametric_surface parg parGosper parse_string parse_timedate part part2cont partfrac partition partition_set partpol path_digraph path_graph pathname_directory pathname_name pathname_type pdf_bernoulli pdf_beta pdf_binomial pdf_cauchy pdf_chi2 pdf_continuous_uniform pdf_discrete_uniform pdf_exp pdf_f pdf_gamma pdf_general_finite_discrete pdf_geometric pdf_gumbel pdf_hypergeometric pdf_laplace pdf_logistic pdf_lognormal pdf_negative_binomial pdf_noncentral_chi2 pdf_noncentral_student_t pdf_normal pdf_pareto pdf_poisson pdf_rank_sum pdf_rayleigh pdf_signed_rank pdf_student_t pdf_weibull pearson_skewness permanent permut permutation permutations petersen_graph petrov pickapart picture_equalp picturep piechart piechart_description planar_embedding playback plog plot2d plot3d plotdf ploteq plsquares pochhammer points poisdiff poisexpt poisint poismap poisplus poissimp poissubst poistimes poistrim polar polarform polartorect polar_to_xy poly_add poly_buchberger poly_buchberger_criterion poly_colon_ideal poly_content polydecomp poly_depends_p poly_elimination_ideal poly_exact_divide poly_expand poly_expt poly_gcd polygon poly_grobner poly_grobner_equal poly_grobner_member poly_grobner_subsetp poly_ideal_intersection poly_ideal_polysaturation poly_ideal_polysaturation1 poly_ideal_saturation poly_ideal_saturation1 poly_lcm poly_minimization polymod poly_multiply polynome2ele polynomialp poly_normal_form poly_normalize poly_normalize_list poly_polysaturation_extension poly_primitive_part poly_pseudo_divide poly_reduced_grobner poly_reduction poly_saturation_extension poly_s_polynomial poly_subtract polytocompanion pop postfix potential power_mod powerseries powerset prefix prev_prime primep primes principal_components print printf printfile print_graph printpois printprops prodrac product properties propvars psi psubst ptriangularize pui pui2comp pui2ele pui2polynome pui_direct puireduc push put pv qput qrange qty quad_control quad_qag quad_qagi quad_qagp quad_qags quad_qawc quad_qawf quad_qawo quad_qaws quadrilateral quantile quantile_bernoulli quantile_beta quantile_binomial quantile_cauchy quantile_chi2 quantile_continuous_uniform quantile_discrete_uniform quantile_exp quantile_f quantile_gamma quantile_general_finite_discrete quantile_geometric quantile_gumbel quantile_hypergeometric quantile_laplace quantile_logistic quantile_lognormal quantile_negative_binomial quantile_noncentral_chi2 quantile_noncentral_student_t quantile_normal quantile_pareto quantile_poisson quantile_rayleigh quantile_student_t quantile_weibull quartile_skewness quit qunit quotient racah_v racah_w radcan radius random random_bernoulli random_beta random_binomial random_bipartite_graph random_cauchy random_chi2 random_continuous_uniform random_digraph random_discrete_uniform random_exp random_f random_gamma random_general_finite_discrete random_geometric random_graph random_graph1 random_gumbel random_hypergeometric random_laplace random_logistic random_lognormal random_negative_binomial random_network random_noncentral_chi2 random_noncentral_student_t random_normal random_pareto random_permutation random_poisson random_rayleigh random_regular_graph random_student_t random_tournament random_tree random_weibull range rank rat ratcoef ratdenom ratdiff ratdisrep ratexpand ratinterpol rational rationalize ratnumer ratnump ratp ratsimp ratsubst ratvars ratweight read read_array read_binary_array read_binary_list read_binary_matrix readbyte readchar read_hashed_array readline read_list read_matrix read_nested_list readonly read_xpm real_imagpart_to_conjugate realpart realroots rearray rectangle rectform rectform_log_if_constant recttopolar rediff reduce_consts reduce_order region region_boundaries region_boundaries_plus rem remainder remarray rembox remcomps remcon remcoord remfun remfunction remlet remove remove_constvalue remove_dimensions remove_edge remove_fundamental_dimensions remove_fundamental_units remove_plot_option remove_vertex rempart remrule remsym remvalue rename rename_file reset reset_displays residue resolvante resolvante_alternee1 resolvante_bipartite resolvante_diedrale resolvante_klein resolvante_klein3 resolvante_produit_sym resolvante_unitaire resolvante_vierer rest resultant return reveal reverse revert revert2 rgb2level rhs ricci riemann rinvariant risch rk rmdir rncombine romberg room rootscontract round row rowop rowswap rreduce run_testsuite %s save saving scalarp scaled_bessel_i scaled_bessel_i0 scaled_bessel_i1 scalefactors scanmap scatterplot scatterplot_description scene schur2comp sconcat scopy scsimp scurvature sdowncase sec sech second sequal sequalignore set_alt_display setdifference set_draw_defaults set_edge_weight setelmx setequalp setify setp set_partitions set_plot_option set_prompt set_random_state set_tex_environment set_tex_environment_default setunits setup_autoload set_up_dot_simplifications set_vertex_label seventh sexplode sf sha1sum sha256sum shortest_path shortest_weighted_path show showcomps showratvars sierpinskiale sierpinskimap sign signum similaritytransform simp_inequality simplify_sum simplode simpmetderiv simtran sin sinh sinsert sinvertcase sixth skewness skewness_bernoulli skewness_beta skewness_binomial skewness_chi2 skewness_continuous_uniform skewness_discrete_uniform skewness_exp skewness_f skewness_gamma skewness_general_finite_discrete skewness_geometric skewness_gumbel skewness_hypergeometric skewness_laplace skewness_logistic skewness_lognormal skewness_negative_binomial skewness_noncentral_chi2 skewness_noncentral_student_t skewness_normal skewness_pareto skewness_poisson skewness_rayleigh skewness_student_t skewness_weibull slength smake small_rhombicosidodecahedron_graph small_rhombicuboctahedron_graph smax smin smismatch snowmap snub_cube_graph snub_dodecahedron_graph solve solve_rec solve_rec_rat some somrac sort sparse6_decode sparse6_encode sparse6_export sparse6_import specint spherical spherical_bessel_j spherical_bessel_y spherical_hankel1 spherical_hankel2 spherical_harmonic spherical_to_xyz splice split sposition sprint sqfr sqrt sqrtdenest sremove sremovefirst sreverse ssearch ssort sstatus ssubst ssubstfirst staircase standardize standardize_inverse_trig starplot starplot_description status std std1 std_bernoulli std_beta std_binomial std_chi2 std_continuous_uniform std_discrete_uniform std_exp std_f std_gamma std_general_finite_discrete std_geometric std_gumbel std_hypergeometric std_laplace std_logistic std_lognormal std_negative_binomial std_noncentral_chi2 std_noncentral_student_t std_normal std_pareto std_poisson std_rayleigh std_student_t std_weibull stemplot stirling stirling1 stirling2 strim striml strimr string stringout stringp strong_components struve_h struve_l sublis sublist sublist_indices submatrix subsample subset subsetp subst substinpart subst_parallel substpart substring subvar subvarp sum sumcontract summand_to_rec supcase supcontext symbolp symmdifference symmetricp system take_channel take_inference tan tanh taylor taylorinfo taylorp taylor_simplifier taytorat tcl_output tcontract tellrat tellsimp tellsimpafter tentex tenth test_mean test_means_difference test_normality test_proportion test_proportions_difference test_rank_sum test_sign test_signed_rank test_variance test_variance_ratio tex tex1 tex_display texput %th third throw time timedate timer timer_info tldefint tlimit todd_coxeter toeplitz tokens to_lisp topological_sort to_poly to_poly_solve totaldisrep totalfourier totient tpartpol trace tracematrix trace_options transform_sample translate translate_file transpose treefale tree_reduce treillis treinat triangle triangularize trigexpand trigrat trigreduce trigsimp trunc truncate truncated_cube_graph truncated_dodecahedron_graph truncated_icosahedron_graph truncated_tetrahedron_graph tr_warnings_get tube tutte_graph ueivects uforget ultraspherical underlying_graph undiff union unique uniteigenvectors unitp units unit_step unitvector unorder unsum untellrat untimer untrace uppercasep uricci uriemann uvect vandermonde_matrix var var1 var_bernoulli var_beta var_binomial var_chi2 var_continuous_uniform var_discrete_uniform var_exp var_f var_gamma var_general_finite_discrete var_geometric var_gumbel var_hypergeometric var_laplace var_logistic var_lognormal var_negative_binomial var_noncentral_chi2 var_noncentral_student_t var_normal var_pareto var_poisson var_rayleigh var_student_t var_weibull vector vectorpotential vectorsimp verbify vers vertex_coloring vertex_connectivity vertex_degree vertex_distance vertex_eccentricity vertex_in_degree vertex_out_degree vertices vertices_to_cycle vertices_to_path %w weyl wheel_graph wiener_index wigner_3j wigner_6j wigner_9j with_stdout write_binary_data writebyte write_data writefile wronskian xreduce xthru %y Zeilberger zeroequiv zerofor zeromatrix zeromatrixp zeta zgeev zheev zlange zn_add_table zn_carmichael_lambda zn_characteristic_factors zn_determinant zn_factor_generators zn_invert_by_lu zn_log zn_mult_table absboxchar activecontexts adapt_depth additive adim aform algebraic algepsilon algexact aliases allbut all_dotsimp_denoms allocation allsym alphabetic animation antisymmetric arrays askexp assume_pos assume_pos_pred assumescalar asymbol atomgrad atrig1 axes axis_3d axis_bottom axis_left axis_right axis_top azimuth background background_color backsubst berlefact bernstein_explicit besselexpand beta_args_sum_to_integer beta_expand bftorat bftrunc bindtest border boundaries_array box boxchar breakup %c capping cauchysum cbrange cbtics center cflength cframe_flag cnonmet_flag color color_bar color_bar_tics colorbox columns commutative complex cone context contexts contour contour_levels cosnpiflag ctaypov ctaypt ctayswitch ctayvar ct_coords ctorsion_flag ctrgsimp cube current_let_rule_package cylinder data_file_name debugmode decreasing default_let_rule_package delay dependencies derivabbrev derivsubst detout diagmetric diff dim dimensions dispflag display2d|10 display_format_internal distribute_over doallmxops domain domxexpt domxmxops domxnctimes dontfactor doscmxops doscmxplus dot0nscsimp dot0simp dot1simp dotassoc dotconstrules dotdistrib dotexptsimp dotident dotscrules draw_graph_program draw_realpart edge_color edge_coloring edge_partition edge_type edge_width %edispflag elevation %emode endphi endtheta engineering_format_floats enhanced3d %enumer epsilon_lp erfflag erf_representation errormsg error_size error_syms error_type %e_to_numlog eval even evenfun evflag evfun ev_point expandwrt_denom expintexpand expintrep expon expop exptdispflag exptisolate exptsubst facexpand facsum_combine factlim factorflag factorial_expand factors_only fb feature features file_name file_output_append file_search_demo file_search_lisp file_search_maxima|10 file_search_tests file_search_usage file_type_lisp file_type_maxima|10 fill_color fill_density filled_func fixed_vertices flipflag float2bf font font_size fortindent fortspaces fpprec fpprintprec functions gamma_expand gammalim gdet genindex gensumnum GGFCFMAX GGFINFINITY globalsolve gnuplot_command gnuplot_curve_styles gnuplot_curve_titles gnuplot_default_term_command gnuplot_dumb_term_command gnuplot_file_args gnuplot_file_name gnuplot_out_file gnuplot_pdf_term_command gnuplot_pm3d gnuplot_png_term_command gnuplot_postamble gnuplot_preamble gnuplot_ps_term_command gnuplot_svg_term_command gnuplot_term gnuplot_view_args Gosper_in_Zeilberger gradefs grid grid2d grind halfangles head_angle head_both head_length head_type height hypergeometric_representation %iargs ibase icc1 icc2 icounter idummyx ieqnprint ifb ifc1 ifc2 ifg ifgi ifr iframe_bracket_form ifri igeowedge_flag ikt1 ikt2 imaginary inchar increasing infeval infinity inflag infolists inm inmc1 inmc2 intanalysis integer integervalued integrate_use_rootsof integration_constant integration_constant_counter interpolate_color intfaclim ip_grid ip_grid_in irrational isolate_wrt_times iterations itr julia_parameter %k1 %k2 keepfloat key key_pos kinvariant kt label label_alignment label_orientation labels lassociative lbfgs_ncorrections lbfgs_nfeval_max leftjust legend letrat let_rule_packages lfg lg lhospitallim limsubst linear linear_solver linechar linel|10 linenum line_type linewidth line_width linsolve_params linsolvewarn lispdisp listarith listconstvars listdummyvars lmxchar load_pathname loadprint logabs logarc logcb logconcoeffp logexpand lognegint logsimp logx logx_secondary logy logy_secondary logz lriem m1pbranch macroexpansion macros mainvar manual_demo maperror mapprint matrix_element_add matrix_element_mult matrix_element_transpose maxapplydepth maxapplyheight maxima_tempdir|10 maxima_userdir|10 maxnegex MAX_ORD maxposex maxpsifracdenom maxpsifracnum maxpsinegint maxpsiposint maxtayorder mesh_lines_color method mod_big_prime mode_check_errorp mode_checkp mode_check_warnp mod_test mod_threshold modular_linear_solver modulus multiplicative multiplicities myoptions nary negdistrib negsumdispflag newline newtonepsilon newtonmaxiter nextlayerfactor niceindicespref nm nmc noeval nolabels nonegative_lp noninteger nonscalar noun noundisp nouns np npi nticks ntrig numer numer_pbranch obase odd oddfun opacity opproperties opsubst optimprefix optionset orientation origin orthopoly_returns_intervals outative outchar packagefile palette partswitch pdf_file pfeformat phiresolution %piargs piece pivot_count_sx pivot_max_sx plot_format plot_options plot_realpart png_file pochhammer_max_index points pointsize point_size points_joined point_type poislim poisson poly_coefficient_ring poly_elimination_order polyfactor poly_grobner_algorithm poly_grobner_debug poly_monomial_order poly_primary_elimination_order poly_return_term_list poly_secondary_elimination_order poly_top_reduction_only posfun position powerdisp pred prederror primep_number_of_tests product_use_gamma program programmode promote_float_to_bigfloat prompt proportional_axes props psexpand ps_file radexpand radius radsubstflag rassociative ratalgdenom ratchristof ratdenomdivide rateinstein ratepsilon ratfac rational ratmx ratprint ratriemann ratsimpexpons ratvarswitch ratweights ratweyl ratwtlvl real realonly redraw refcheck resolution restart resultant ric riem rmxchar %rnum_list rombergabs rombergit rombergmin rombergtol rootsconmode rootsepsilon run_viewer same_xy same_xyz savedef savefactors scalar scalarmatrixp scale scale_lp setcheck setcheckbreak setval show_edge_color show_edges show_edge_type show_edge_width show_id show_label showtime show_vertex_color show_vertex_size show_vertex_type show_vertices show_weight simp simplified_output simplify_products simpproduct simpsum sinnpiflag solvedecomposes solveexplicit solvefactors solvenullwarn solveradcan solvetrigwarn space sparse sphere spring_embedding_depth sqrtdispflag stardisp startphi starttheta stats_numer stringdisp structures style sublis_apply_lambda subnumsimp sumexpand sumsplitfact surface surface_hide svg_file symmetric tab taylordepth taylor_logexpand taylor_order_coefficients taylor_truncate_polynomials tensorkill terminal testsuite_files thetaresolution timer_devalue title tlimswitch tr track transcompile transform transform_xy translate_fast_arrays transparent transrun tr_array_as_ref tr_bound_function_applyp tr_file_tty_messagesp tr_float_can_branch_complex tr_function_call_default trigexpandplus trigexpandtimes triginverses trigsign trivial_solutions tr_numer tr_optimize_max_loop tr_semicompile tr_state_vars tr_warn_bad_function_calls tr_warn_fexpr tr_warn_meval tr_warn_mode tr_warn_undeclared tr_warn_undefined_variable tstep ttyoff tube_extremes ufg ug %unitexpand unit_vectors uric uriem use_fast_arrays user_preamble usersetunits values vect_cross verbose vertex_color vertex_coloring vertex_partition vertex_size vertex_type view warnings weyl width windowname windowtitle wired_surface wireframe xaxis xaxis_color xaxis_secondary xaxis_type xaxis_width xlabel xlabel_secondary xlength xrange xrange_secondary xtics xtics_axis xtics_rotate xtics_rotate_secondary xtics_secondary xtics_secondary_axis xu_grid x_voxel xy_file xyplane xy_scale yaxis yaxis_color yaxis_secondary yaxis_type yaxis_width ylabel ylabel_secondary ylength yrange yrange_secondary ytics ytics_axis ytics_rotate ytics_rotate_secondary ytics_secondary ytics_secondary_axis yv_grid y_voxel yx_ratio zaxis zaxis_color zaxis_type zaxis_width zeroa zerob zerobern zeta%pi zlabel zlabel_rotate zlength zmin zn_primroot_limit zn_primroot_pretest",symbol:"_ __ %|0 %%|0"},contains:[{className:"comment",begin:"/\\*",end:"\\*/",contains:["self"]},e.QUOTE_STRING_MODE,{className:"number",relevance:0,variants:[{ +// float number w/ exponent +// hmm, I wonder if we ought to include other exponent markers? +begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Ee][-+]?\\d+\\b"},{ +// bigfloat number +begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Bb][-+]?\\d+\\b",relevance:10},{ +// float number w/out exponent +// Doesn't seem to recognize floats which start with '.' +begin:"\\b(\\.\\d+|\\d+\\.\\d+)\\b"},{ +// integer in base up to 36 +// Doesn't seem to recognize integers which end with '.' +begin:"\\b(\\d+|0[0-9A-Za-z]+)\\.?\\b"}]}],illegal:/@/}}}function Qh(){if(Ls)return Ms;return Ls=1,Ms=function(e){return{name:"MEL",keywords:"int float string vector matrix if else switch case default while do for in break continue global proc return about abs addAttr addAttributeEditorNodeHelp addDynamic addNewShelfTab addPP addPanelCategory addPrefixToName advanceToNextDrivenKey affectedNet affects aimConstraint air alias aliasAttr align alignCtx alignCurve alignSurface allViewFit ambientLight angle angleBetween animCone animCurveEditor animDisplay animView annotate appendStringArray applicationName applyAttrPreset applyTake arcLenDimContext arcLengthDimension arclen arrayMapper art3dPaintCtx artAttrCtx artAttrPaintVertexCtx artAttrSkinPaintCtx artAttrTool artBuildPaintMenu artFluidAttrCtx artPuttyCtx artSelectCtx artSetPaintCtx artUserPaintCtx assignCommand assignInputDevice assignViewportFactories attachCurve attachDeviceAttr attachSurface attrColorSliderGrp attrCompatibility attrControlGrp attrEnumOptionMenu attrEnumOptionMenuGrp attrFieldGrp attrFieldSliderGrp attrNavigationControlGrp attrPresetEditWin attributeExists attributeInfo attributeMenu attributeQuery autoKeyframe autoPlace bakeClip bakeFluidShading bakePartialHistory bakeResults bakeSimulation basename basenameEx batchRender bessel bevel bevelPlus binMembership bindSkin blend2 blendShape blendShapeEditor blendShapePanel blendTwoAttr blindDataType boneLattice boundary boxDollyCtx boxZoomCtx bufferCurve buildBookmarkMenu buildKeyframeMenu button buttonManip CBG cacheFile cacheFileCombine cacheFileMerge cacheFileTrack camera cameraView canCreateManip canvas capitalizeString catch catchQuiet ceil changeSubdivComponentDisplayLevel changeSubdivRegion channelBox character characterMap characterOutlineEditor characterize chdir checkBox checkBoxGrp checkDefaultRenderGlobals choice circle circularFillet clamp clear clearCache clip clipEditor clipEditorCurrentTimeCtx clipSchedule clipSchedulerOutliner clipTrimBefore closeCurve closeSurface cluster cmdFileOutput cmdScrollFieldExecuter cmdScrollFieldReporter cmdShell coarsenSubdivSelectionList collision color colorAtPoint colorEditor colorIndex colorIndexSliderGrp colorSliderButtonGrp colorSliderGrp columnLayout commandEcho commandLine commandPort compactHairSystem componentEditor compositingInterop computePolysetVolume condition cone confirmDialog connectAttr connectControl connectDynamic connectJoint connectionInfo constrain constrainValue constructionHistory container containsMultibyte contextInfo control convertFromOldLayers convertIffToPsd convertLightmap convertSolidTx convertTessellation convertUnit copyArray copyFlexor copyKey copySkinWeights cos cpButton cpCache cpClothSet cpCollision cpConstraint cpConvClothToMesh cpForces cpGetSolverAttr cpPanel cpProperty cpRigidCollisionFilter cpSeam cpSetEdit cpSetSolverAttr cpSolver cpSolverTypes cpTool cpUpdateClothUVs createDisplayLayer createDrawCtx createEditor createLayeredPsdFile createMotionField createNewShelf createNode createRenderLayer createSubdivRegion cross crossProduct ctxAbort ctxCompletion ctxEditMode ctxTraverse currentCtx currentTime currentTimeCtx currentUnit curve curveAddPtCtx curveCVCtx curveEPCtx curveEditorCtx curveIntersect curveMoveEPCtx curveOnSurface curveSketchCtx cutKey cycleCheck cylinder dagPose date defaultLightListCheckBox defaultNavigation defineDataServer defineVirtualDevice deformer deg_to_rad delete deleteAttr deleteShadingGroupsAndMaterials deleteShelfTab deleteUI deleteUnusedBrushes delrandstr detachCurve detachDeviceAttr detachSurface deviceEditor devicePanel dgInfo dgdirty dgeval dgtimer dimWhen directKeyCtx directionalLight dirmap dirname disable disconnectAttr disconnectJoint diskCache displacementToPoly displayAffected displayColor displayCull displayLevelOfDetail displayPref displayRGBColor displaySmoothness displayStats displayString displaySurface distanceDimContext distanceDimension doBlur dolly dollyCtx dopeSheetEditor dot dotProduct doubleProfileBirailSurface drag dragAttrContext draggerContext dropoffLocator duplicate duplicateCurve duplicateSurface dynCache dynControl dynExport dynExpression dynGlobals dynPaintEditor dynParticleCtx dynPref dynRelEdPanel dynRelEditor dynamicLoad editAttrLimits editDisplayLayerGlobals editDisplayLayerMembers editRenderLayerAdjustment editRenderLayerGlobals editRenderLayerMembers editor editorTemplate effector emit emitter enableDevice encodeString endString endsWith env equivalent equivalentTol erf error eval evalDeferred evalEcho event exactWorldBoundingBox exclusiveLightCheckBox exec executeForEachObject exists exp expression expressionEditorListen extendCurve extendSurface extrude fcheck fclose feof fflush fgetline fgetword file fileBrowserDialog fileDialog fileExtension fileInfo filetest filletCurve filter filterCurve filterExpand filterStudioImport findAllIntersections findAnimCurves findKeyframe findMenuItem findRelatedSkinCluster finder firstParentOf fitBspline flexor floatEq floatField floatFieldGrp floatScrollBar floatSlider floatSlider2 floatSliderButtonGrp floatSliderGrp floor flow fluidCacheInfo fluidEmitter fluidVoxelInfo flushUndo fmod fontDialog fopen formLayout format fprint frameLayout fread freeFormFillet frewind fromNativePath fwrite gamma gauss geometryConstraint getApplicationVersionAsFloat getAttr getClassification getDefaultBrush getFileList getFluidAttr getInputDeviceRange getMayaPanelTypes getModifiers getPanel getParticleAttr getPluginResource getenv getpid glRender glRenderEditor globalStitch gmatch goal gotoBindPose grabColor gradientControl gradientControlNoAttr graphDollyCtx graphSelectContext graphTrackCtx gravity grid gridLayout group groupObjectsByName HfAddAttractorToAS HfAssignAS HfBuildEqualMap HfBuildFurFiles HfBuildFurImages HfCancelAFR HfConnectASToHF HfCreateAttractor HfDeleteAS HfEditAS HfPerformCreateAS HfRemoveAttractorFromAS HfSelectAttached HfSelectAttractors HfUnAssignAS hardenPointCurve hardware hardwareRenderPanel headsUpDisplay headsUpMessage help helpLine hermite hide hilite hitTest hotBox hotkey hotkeyCheck hsv_to_rgb hudButton hudSlider hudSliderButton hwReflectionMap hwRender hwRenderLoad hyperGraph hyperPanel hyperShade hypot iconTextButton iconTextCheckBox iconTextRadioButton iconTextRadioCollection iconTextScrollList iconTextStaticLabel ikHandle ikHandleCtx ikHandleDisplayScale ikSolver ikSplineHandleCtx ikSystem ikSystemInfo ikfkDisplayMethod illustratorCurves image imfPlugins inheritTransform insertJoint insertJointCtx insertKeyCtx insertKnotCurve insertKnotSurface instance instanceable instancer intField intFieldGrp intScrollBar intSlider intSliderGrp interToUI internalVar intersect iprEngine isAnimCurve isConnected isDirty isParentOf isSameObject isTrue isValidObjectName isValidString isValidUiName isolateSelect itemFilter itemFilterAttr itemFilterRender itemFilterType joint jointCluster jointCtx jointDisplayScale jointLattice keyTangent keyframe keyframeOutliner keyframeRegionCurrentTimeCtx keyframeRegionDirectKeyCtx keyframeRegionDollyCtx keyframeRegionInsertKeyCtx keyframeRegionMoveKeyCtx keyframeRegionScaleKeyCtx keyframeRegionSelectKeyCtx keyframeRegionSetKeyCtx keyframeRegionTrackCtx keyframeStats lassoContext lattice latticeDeformKeyCtx launch launchImageEditor layerButton layeredShaderPort layeredTexturePort layout layoutDialog lightList lightListEditor lightListPanel lightlink lineIntersection linearPrecision linstep listAnimatable listAttr listCameras listConnections listDeviceAttachments listHistory listInputDeviceAxes listInputDeviceButtons listInputDevices listMenuAnnotation listNodeTypes listPanelCategories listRelatives listSets listTransforms listUnselected listerEditor loadFluid loadNewShelf loadPlugin loadPluginLanguageResources loadPrefObjects localizedPanelLabel lockNode loft log longNameOf lookThru ls lsThroughFilter lsType lsUI Mayatomr mag makeIdentity makeLive makePaintable makeRoll makeSingleSurface makeTubeOn makebot manipMoveContext manipMoveLimitsCtx manipOptions manipRotateContext manipRotateLimitsCtx manipScaleContext manipScaleLimitsCtx marker match max memory menu menuBarLayout menuEditor menuItem menuItemToShelf menuSet menuSetPref messageLine min minimizeApp mirrorJoint modelCurrentTimeCtx modelEditor modelPanel mouse movIn movOut move moveIKtoFK moveKeyCtx moveVertexAlongDirection multiProfileBirailSurface mute nParticle nameCommand nameField namespace namespaceInfo newPanelItems newton nodeCast nodeIconButton nodeOutliner nodePreset nodeType noise nonLinear normalConstraint normalize nurbsBoolean nurbsCopyUVSet nurbsCube nurbsEditUV nurbsPlane nurbsSelect nurbsSquare nurbsToPoly nurbsToPolygonsPref nurbsToSubdiv nurbsToSubdivPref nurbsUVSet nurbsViewDirectionVector objExists objectCenter objectLayer objectType objectTypeUI obsoleteProc oceanNurbsPreviewPlane offsetCurve offsetCurveOnSurface offsetSurface openGLExtension openMayaPref optionMenu optionMenuGrp optionVar orbit orbitCtx orientConstraint outlinerEditor outlinerPanel overrideModifier paintEffectsDisplay pairBlend palettePort paneLayout panel panelConfiguration panelHistory paramDimContext paramDimension paramLocator parent parentConstraint particle particleExists particleInstancer particleRenderInfo partition pasteKey pathAnimation pause pclose percent performanceOptions pfxstrokes pickWalk picture pixelMove planarSrf plane play playbackOptions playblast plugAttr plugNode pluginInfo pluginResourceUtil pointConstraint pointCurveConstraint pointLight pointMatrixMult pointOnCurve pointOnSurface pointPosition poleVectorConstraint polyAppend polyAppendFacetCtx polyAppendVertex polyAutoProjection polyAverageNormal polyAverageVertex polyBevel polyBlendColor polyBlindData polyBoolOp polyBridgeEdge polyCacheMonitor polyCheck polyChipOff polyClipboard polyCloseBorder polyCollapseEdge polyCollapseFacet polyColorBlindData polyColorDel polyColorPerVertex polyColorSet polyCompare polyCone polyCopyUV polyCrease polyCreaseCtx polyCreateFacet polyCreateFacetCtx polyCube polyCut polyCutCtx polyCylinder polyCylindricalProjection polyDelEdge polyDelFacet polyDelVertex polyDuplicateAndConnect polyDuplicateEdge polyEditUV polyEditUVShell polyEvaluate polyExtrudeEdge polyExtrudeFacet polyExtrudeVertex polyFlipEdge polyFlipUV polyForceUV polyGeoSampler polyHelix polyInfo polyInstallAction polyLayoutUV polyListComponentConversion polyMapCut polyMapDel polyMapSew polyMapSewMove polyMergeEdge polyMergeEdgeCtx polyMergeFacet polyMergeFacetCtx polyMergeUV polyMergeVertex polyMirrorFace polyMoveEdge polyMoveFacet polyMoveFacetUV polyMoveUV polyMoveVertex polyNormal polyNormalPerVertex polyNormalizeUV polyOptUvs polyOptions polyOutput polyPipe polyPlanarProjection polyPlane polyPlatonicSolid polyPoke polyPrimitive polyPrism polyProjection polyPyramid polyQuad polyQueryBlindData polyReduce polySelect polySelectConstraint polySelectConstraintMonitor polySelectCtx polySelectEditCtx polySeparate polySetToFaceNormal polySewEdge polyShortestPathCtx polySmooth polySoftEdge polySphere polySphericalProjection polySplit polySplitCtx polySplitEdge polySplitRing polySplitVertex polyStraightenUVBorder polySubdivideEdge polySubdivideFacet polyToSubdiv polyTorus polyTransfer polyTriangulate polyUVSet polyUnite polyWedgeFace popen popupMenu pose pow preloadRefEd print progressBar progressWindow projFileViewer projectCurve projectTangent projectionContext projectionManip promptDialog propModCtx propMove psdChannelOutliner psdEditTextureFile psdExport psdTextureFile putenv pwd python querySubdiv quit rad_to_deg radial radioButton radioButtonGrp radioCollection radioMenuItemCollection rampColorPort rand randomizeFollicles randstate rangeControl readTake rebuildCurve rebuildSurface recordAttr recordDevice redo reference referenceEdit referenceQuery refineSubdivSelectionList refresh refreshAE registerPluginResource rehash reloadImage removeJoint removeMultiInstance removePanelCategory rename renameAttr renameSelectionList renameUI render renderGlobalsNode renderInfo renderLayerButton renderLayerParent renderLayerPostProcess renderLayerUnparent renderManip renderPartition renderQualityNode renderSettings renderThumbnailUpdate renderWindowEditor renderWindowSelectContext renderer reorder reorderDeformers requires reroot resampleFluid resetAE resetPfxToPolyCamera resetTool resolutionNode retarget reverseCurve reverseSurface revolve rgb_to_hsv rigidBody rigidSolver roll rollCtx rootOf rot rotate rotationInterpolation roundConstantRadius rowColumnLayout rowLayout runTimeCommand runup sampleImage saveAllShelves saveAttrPreset saveFluid saveImage saveInitialState saveMenu savePrefObjects savePrefs saveShelf saveToolSettings scale scaleBrushBrightness scaleComponents scaleConstraint scaleKey scaleKeyCtx sceneEditor sceneUIReplacement scmh scriptCtx scriptEditorInfo scriptJob scriptNode scriptTable scriptToShelf scriptedPanel scriptedPanelType scrollField scrollLayout sculpt searchPathArray seed selLoadSettings select selectContext selectCurveCV selectKey selectKeyCtx selectKeyframeRegionCtx selectMode selectPref selectPriority selectType selectedNodes selectionConnection separator setAttr setAttrEnumResource setAttrMapping setAttrNiceNameResource setConstraintRestPosition setDefaultShadingGroup setDrivenKeyframe setDynamic setEditCtx setEditor setFluidAttr setFocus setInfinity setInputDeviceMapping setKeyCtx setKeyPath setKeyframe setKeyframeBlendshapeTargetWts setMenuMode setNodeNiceNameResource setNodeTypeFlag setParent setParticleAttr setPfxToPolyCamera setPluginResource setProject setStampDensity setStartupMessage setState setToolTo setUITemplate setXformManip sets shadingConnection shadingGeometryRelCtx shadingLightRelCtx shadingNetworkCompare shadingNode shapeCompare shelfButton shelfLayout shelfTabLayout shellField shortNameOf showHelp showHidden showManipCtx showSelectionInTitle showShadingGroupAttrEditor showWindow sign simplify sin singleProfileBirailSurface size sizeBytes skinCluster skinPercent smoothCurve smoothTangentSurface smoothstep snap2to2 snapKey snapMode snapTogetherCtx snapshot soft softMod softModCtx sort sound soundControl source spaceLocator sphere sphrand spotLight spotLightPreviewPort spreadSheetEditor spring sqrt squareSurface srtContext stackTrace startString startsWith stitchAndExplodeShell stitchSurface stitchSurfacePoints strcmp stringArrayCatenate stringArrayContains stringArrayCount stringArrayInsertAtIndex stringArrayIntersector stringArrayRemove stringArrayRemoveAtIndex stringArrayRemoveDuplicates stringArrayRemoveExact stringArrayToString stringToStringArray strip stripPrefixFromName stroke subdAutoProjection subdCleanTopology subdCollapse subdDuplicateAndConnect subdEditUV subdListComponentConversion subdMapCut subdMapSewMove subdMatchTopology subdMirror subdToBlind subdToPoly subdTransferUVsToCache subdiv subdivCrease subdivDisplaySmoothness substitute substituteAllString substituteGeometry substring surface surfaceSampler surfaceShaderList swatchDisplayPort switchTable symbolButton symbolCheckBox sysFile system tabLayout tan tangentConstraint texLatticeDeformContext texManipContext texMoveContext texMoveUVShellContext texRotateContext texScaleContext texSelectContext texSelectShortestPathCtx texSmudgeUVContext texWinToolCtx text textCurves textField textFieldButtonGrp textFieldGrp textManip textScrollList textToShelf textureDisplacePlane textureHairColor texturePlacementContext textureWindow threadCount threePointArcCtx timeControl timePort timerX toNativePath toggle toggleAxis toggleWindowVisibility tokenize tokenizeList tolerance tolower toolButton toolCollection toolDropped toolHasOptions toolPropertyWindow torus toupper trace track trackCtx transferAttributes transformCompare transformLimits translator trim trunc truncateFluidCache truncateHairCache tumble tumbleCtx turbulence twoPointArcCtx uiRes uiTemplate unassignInputDevice undo undoInfo ungroup uniform unit unloadPlugin untangleUV untitledFileName untrim upAxis updateAE userCtx uvLink uvSnapshot validateShelfName vectorize view2dToolCtx viewCamera viewClipPlane viewFit viewHeadOn viewLookAt viewManip viewPlace viewSet visor volumeAxis vortex waitCursor warning webBrowser webBrowserPrefs whatIs window windowPref wire wireContext workspace wrinkle wrinkleContext writeTake xbmLangPathList xform",illegal:"</",contains:[e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{ +// eats variables +begin:/[$%@](\^\w\b|#\w+|[^\s\w{]|\{\w+\}|\w+)/},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}}}function Kh(){if(js)return Ps;return js=1,Ps=function(e){const t=e.COMMENT("%","$"),n=e.inherit(e.APOS_STRING_MODE,{relevance:0}),r=e.inherit(e.QUOTE_STRING_MODE,{relevance:0});return r.contains=r.contains.slice(),r.contains.push({className:"subst",begin:"\\\\[abfnrtv]\\|\\\\x[0-9a-fA-F]*\\\\\\|%[-+# *.0-9]*[dioxXucsfeEgGp]",relevance:0}),{name:"Mercury",aliases:["m","moo"],keywords:{keyword:"module use_module import_module include_module end_module initialise mutable initialize finalize finalise interface implementation pred mode func type inst solver any_pred any_func is semidet det nondet multi erroneous failure cc_nondet cc_multi typeclass instance where pragma promise external trace atomic or_else require_complete_switch require_det require_semidet require_multi require_nondet require_cc_multi require_cc_nondet require_erroneous require_failure",meta: +// pragma +"inline no_inline type_spec source_file fact_table obsolete memo loop_check minimal_model terminates does_not_terminate check_termination promise_equivalent_clauses foreign_proc foreign_decl foreign_code foreign_type foreign_import_module foreign_export_enum foreign_export foreign_enum may_call_mercury will_not_call_mercury thread_safe not_thread_safe maybe_thread_safe promise_pure promise_semipure tabled_for_io local untrailed trailed attach_to_io_state can_pass_as_mercury_type stable will_not_throw_exception may_modify_trail will_not_modify_trail may_duplicate may_not_duplicate affects_liveness does_not_affect_liveness doesnt_affect_liveness no_sharing unknown_sharing sharing",built_in:"some all not if then else true fail false try catch catch_any semidet_true semidet_false semidet_fail impure_true impure semipure"},contains:[{className:"built_in",variants:[{begin:"<=>"},{begin:"<=",relevance:0},{begin:"=>",relevance:0},{begin:"/\\\\"},{begin:"\\\\/"}]},{className:"built_in",variants:[{begin:":-\\|--\x3e"},{begin:"=",relevance:0}]},t,e.C_BLOCK_COMMENT_MODE,{className:"number",begin:"0'.\\|0[box][0-9a-fA-F]*"},e.NUMBER_MODE,n,r,{ +// relevance booster +begin:/:-/},{ +// relevance booster +begin:/\.$/}]}}}function Xh(){if(Bs)return Fs;return Bs=1,Fs=function(e){return{name:"MIPS Assembly",case_insensitive:!0,aliases:["mips"],keywords:{$pattern:"\\.?"+e.IDENT_RE,meta: +// GNU preprocs +".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .ltorg ",built_in:"$0 $1 $2 $3 $4 $5 $6 $7 $8 $9 $10 $11 $12 $13 $14 $15 $16 $17 $18 $19 $20 $21 $22 $23 $24 $25 $26 $27 $28 $29 $30 $31 zero at v0 v1 a0 a1 a2 a3 a4 a5 a6 a7 t0 t1 t2 t3 t4 t5 t6 t7 t8 t9 s0 s1 s2 s3 s4 s5 s6 s7 s8 k0 k1 gp sp fp ra $f0 $f1 $f2 $f2 $f4 $f5 $f6 $f7 $f8 $f9 $f10 $f11 $f12 $f13 $f14 $f15 $f16 $f17 $f18 $f19 $f20 $f21 $f22 $f23 $f24 $f25 $f26 $f27 $f28 $f29 $f30 $f31 Context Random EntryLo0 EntryLo1 Context PageMask Wired EntryHi HWREna BadVAddr Count Compare SR IntCtl SRSCtl SRSMap Cause EPC PRId EBase Config Config1 Config2 Config3 LLAddr Debug DEPC DESAVE CacheErr ECC ErrorEPC TagLo DataLo TagHi DataHi WatchLo WatchHi PerfCtl PerfCnt "},contains:[{className:"keyword",begin:"\\b(addi?u?|andi?|b(al)?|beql?|bgez(al)?l?|bgtzl?|blezl?|bltz(al)?l?|bnel?|cl[oz]|divu?|ext|ins|j(al)?|jalr(\\.hb)?|jr(\\.hb)?|lbu?|lhu?|ll|lui|lw[lr]?|maddu?|mfhi|mflo|movn|movz|move|msubu?|mthi|mtlo|mul|multu?|nop|nor|ori?|rotrv?|sb|sc|se[bh]|sh|sllv?|slti?u?|srav?|srlv?|subu?|sw[lr]?|xori?|wsbh|abs\\.[sd]|add\\.[sd]|alnv.ps|bc1[ft]l?|c\\.(s?f|un|u?eq|[ou]lt|[ou]le|ngle?|seq|l[et]|ng[et])\\.[sd]|(ceil|floor|round|trunc)\\.[lw]\\.[sd]|cfc1|cvt\\.d\\.[lsw]|cvt\\.l\\.[dsw]|cvt\\.ps\\.s|cvt\\.s\\.[dlw]|cvt\\.s\\.p[lu]|cvt\\.w\\.[dls]|div\\.[ds]|ldx?c1|luxc1|lwx?c1|madd\\.[sd]|mfc1|mov[fntz]?\\.[ds]|msub\\.[sd]|mth?c1|mul\\.[ds]|neg\\.[ds]|nmadd\\.[ds]|nmsub\\.[ds]|p[lu][lu]\\.ps|recip\\.fmt|r?sqrt\\.[ds]|sdx?c1|sub\\.[ds]|suxc1|swx?c1|break|cache|d?eret|[de]i|ehb|mfc0|mtc0|pause|prefx?|rdhwr|rdpgpr|sdbbp|ssnop|synci?|syscall|teqi?|tgei?u?|tlb(p|r|w[ir])|tlti?u?|tnei?|wait|wrpgpr)",end:"\\s"}, +// lines ending with ; or # aren't really comments, probably auto-detect fail +e.COMMENT("[;#](?!\\s*$)","$"),e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{ +// hex +begin:"0x[0-9a-f]+"},{ +// bare number +begin:"\\b-?\\d+"}],relevance:0},{className:"symbol",variants:[{ +// GNU MIPS syntax +begin:"^\\s*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{ +// numbered local labels +begin:"^\\s*[0-9]+:"},{ +// number local label reference (backwards, forwards) +begin:"[0-9]+[bf]"}],relevance:0}], +// forward slashes are not allowed +illegal:/\//}}}function Zh(){if(Gs)return Us;return Gs=1,Us=function(e){return{name:"Mizar",keywords:"environ vocabularies notations constructors definitions registrations theorems schemes requirements begin end definition registration cluster existence pred func defpred deffunc theorem proof let take assume then thus hence ex for st holds consider reconsider such that and in provided of as from be being by means equals implies iff redefine define now not or attr is mode suppose per cases set thesis contradiction scheme reserve struct correctness compatibility coherence symmetry assymetry reflexivity irreflexivity connectedness uniqueness commutativity idempotence involutiveness projectivity",contains:[e.COMMENT("::","$")]}}}function Jh(){if($s)return zs;return $s=1,zs=function(e){const t=e.regex,n=/[dualxmsipngr]{0,12}/,r={$pattern:/[\w.]+/,keyword:["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","class","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","field","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","method","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"].join(" ")},i={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:r},a={begin:/->\{/,end:/\}/},o={scope:"attr",match:/\s+:\s*\w+(\s*\(.*?\))?/},s={scope:"variable",variants:[{begin:/\$\d/},{begin:t.concat(/[$%@](?!")(\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/, +// negative look-ahead tries to avoid matching patterns that are not +// Perl at all like $ident$, @ident@, etc. +"(?![A-Za-z])(?![@$%])")},{ +// Only $= is a special Perl variable and one can't declare @= or %=. +begin:/[$%@](?!")[^\s\w{=]|\$=/,relevance:0}],contains:[o]},l={className:"number",variants:[ +// decimal numbers: +// include the case where a number starts with a dot (eg. .9), and +// the leading 0? avoids mixing the first and second match on 0.x cases +{match:/0?\.[0-9][0-9_]+\b/}, +// include the special versioned number (eg. v5.38) +{match:/\bv?(0|[1-9][0-9_]*(\.[0-9_]+)?|[1-9][0-9_]*)\b/}, +// non-decimal numbers: +{match:/\b0[0-7][0-7_]*\b/},{match:/\b0x[0-9a-fA-F][0-9a-fA-F_]*\b/},{match:/\b0b[0-1][0-1_]*\b/}],relevance:0},c=[e.BACKSLASH_ESCAPE,i,s],u=[/!/,/\//,/\|/,/\?/,/'/,/"/, +// valid but infrequent and weird +/#/],d=(e,r,i="\\1")=>{const a="\\1"===i?i:t.concat(i,r);return t.concat(t.concat("(?:",e,")"),r,/(?:\\.|[^\\\/])*?/,a,/(?:\\.|[^\\\/])*?/,i,n)},h=(e,r,i)=>t.concat(t.concat("(?:",e,")"),r,/(?:\\.|[^\\\/])*?/,i,n),p=[s,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),a,{className:"string",contains:c,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},l,{ +// regexp container +begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",variants:[ +// allow matching common delimiters +{begin:d("s|tr|y",t.either(...u,{capture:!0}))}, +// and then paired delmis +{begin:d("s|tr|y","\\(","\\)")},{begin:d("s|tr|y","\\[","\\]")},{begin:d("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{ +// could be a comment in many languages so do not count +// as relevant +begin:/(m|qr)\/\//,relevance:0}, +// prefix is optional with /regex/ +{begin:h("(?:m|qr)?",/\//,/\//)}, +// allow matching common delimiters +{begin:h("m|qr",t.either(...u,{capture:!0}),/\1/)}, +// allow common paired delmins +{begin:h("m|qr",/\(/,/\)/)},{begin:h("m|qr",/\[/,/\]/)},{begin:h("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub method",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,o]},{className:"class",beginKeywords:"class",end:"[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,o,l]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return i.contains=p,a.contains=p,{name:"Perl",aliases:["pl","pm"],keywords:r,contains:p}}}function ep(){if(qs)return Ys;return qs=1,Ys=function(e){return{name:"Mojolicious",subLanguage:"xml",contains:[{className:"meta",begin:"^__(END|DATA)__$"}, +// mojolicious line +{begin:"^\\s*%{1,2}={0,2}",end:"$",subLanguage:"perl"}, +// mojolicious block +{begin:"<%{1,2}={0,2}",end:"={0,1}%>",subLanguage:"perl",excludeBegin:!0,excludeEnd:!0}]}}}function tp(){if(Vs)return Hs;return Vs=1,Hs=function(e){const t={className:"number",relevance:0,variants:[{begin:"[$][a-fA-F0-9]+"},e.NUMBER_MODE]},n={variants:[{match:[/(function|method)/,/\s+/,e.UNDERSCORE_IDENT_RE]}],scope:{1:"keyword",3:"title.function"}},r={variants:[{match:[/(class|interface|extends|implements)/,/\s+/,e.UNDERSCORE_IDENT_RE]}],scope:{1:"keyword",3:"title.class"}};return{name:"Monkey",case_insensitive:!0,keywords:{keyword:["public","private","property","continue","exit","extern","new","try","catch","eachin","not","abstract","final","select","case","default","const","local","global","field","end","if","then","else","elseif","endif","while","wend","repeat","until","forever","for","to","step","next","return","module","inline","throw","import", +// not positive, but these are not literals +"and","or","shl","shr","mod"],built_in:["DebugLog","DebugStop","Error","Print","ACos","ACosr","ASin","ASinr","ATan","ATan2","ATan2r","ATanr","Abs","Abs","Ceil","Clamp","Clamp","Cos","Cosr","Exp","Floor","Log","Max","Max","Min","Min","Pow","Sgn","Sgn","Sin","Sinr","Sqrt","Tan","Tanr","Seed","PI","HALFPI","TWOPI"],literal:["true","false","null"]},illegal:/\/\*/,contains:[e.COMMENT("#rem","#end"),e.COMMENT("'","$",{relevance:0}),n,r,{className:"variable.language",begin:/\b(self|super)\b/},{className:"meta",begin:/\s*#/,end:"$",keywords:{keyword:"if else elseif endif end then"}},{match:[/^\s*/,/strict\b/],scope:{2:"meta"}},{beginKeywords:"alias",end:"=",contains:[e.UNDERSCORE_TITLE_MODE]},e.QUOTE_STRING_MODE,t]}}}function np(){if(Qs)return Ws;return Qs=1,Ws=function(e){const t={keyword: +// Moonscript keywords +"if then not for in while do return else elseif break continue switch and or unless when class extends super local import export from using",literal:"true false nil",built_in:"_G _VERSION assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall coroutine debug io math os package string table"},n="[A-Za-z$_][0-9A-Za-z$_]*",r={className:"subst",begin:/#\{/,end:/\}/,keywords:t},i=[e.inherit(e.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}), +// a number tries to eat the following slash to prevent treating it as a regexp +{className:"string",variants:[{begin:/'/,end:/'/,contains:[e.BACKSLASH_ESCAPE]},{begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,r]}]},{className:"built_in",begin:"@__"+e.IDENT_RE},{begin:"@"+e.IDENT_RE},{begin:e.IDENT_RE+"\\\\"+e.IDENT_RE}];r.contains=i;const a=e.inherit(e.TITLE_MODE,{begin:n}),o="(\\(.*\\)\\s*)?\\B[-=]>",s={className:"params",begin:"\\([^\\(]",returnBegin:!0, +/* We need another contained nameless mode to not have every nested + pair of parens to be called "params" */ +contains:[{begin:/\(/,end:/\)/,keywords:t,contains:["self"].concat(i)}]};return{name:"MoonScript",aliases:["moon"],keywords:t,illegal:/\/\*/,contains:i.concat([e.COMMENT("--","$"),{className:"function", +// function: -> => +begin:"^\\s*"+n+"\\s*=\\s*"+o,end:"[-=]>",returnBegin:!0,contains:[a,s]},{begin:/[\(,:=]\s*/, +// anonymous function start +relevance:0,contains:[{className:"function",begin:o,end:"[-=]>",returnBegin:!0,contains:[s]}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[a]},a]},{className:"name", +// table +begin:n+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}}function rp(){if(Xs)return Ks;return Xs=1,Ks=function(e){return{name:"N1QL",case_insensitive:!0,contains:[{beginKeywords:"build create index delete drop explain infer|10 insert merge prepare select update upsert|10",end:/;/,keywords:{keyword:["all","alter","analyze","and","any","array","as","asc","begin","between","binary","boolean","break","bucket","build","by","call","case","cast","cluster","collate","collection","commit","connect","continue","correlate","cover","create","database","dataset","datastore","declare","decrement","delete","derived","desc","describe","distinct","do","drop","each","element","else","end","every","except","exclude","execute","exists","explain","fetch","first","flatten","for","force","from","function","grant","group","gsi","having","if","ignore","ilike","in","include","increment","index","infer","inline","inner","insert","intersect","into","is","join","key","keys","keyspace","known","last","left","let","letting","like","limit","lsm","map","mapping","matched","materialized","merge","minus","namespace","nest","not","number","object","offset","on","option","or","order","outer","over","parse","partition","password","path","pool","prepare","primary","private","privilege","procedure","public","raw","realm","reduce","rename","return","returning","revoke","right","role","rollback","satisfies","schema","select","self","semi","set","show","some","start","statistics","string","system","then","to","transaction","trigger","truncate","under","union","unique","unknown","unnest","unset","update","upsert","use","user","using","validate","value","valued","values","via","view","when","where","while","with","within","work","xor"],literal:["true","false","null","missing|5"],built_in:["array_agg","array_append","array_concat","array_contains","array_count","array_distinct","array_ifnull","array_length","array_max","array_min","array_position","array_prepend","array_put","array_range","array_remove","array_repeat","array_replace","array_reverse","array_sort","array_sum","avg","count","max","min","sum","greatest","least","ifmissing","ifmissingornull","ifnull","missingif","nullif","ifinf","ifnan","ifnanorinf","naninf","neginfif","posinfif","clock_millis","clock_str","date_add_millis","date_add_str","date_diff_millis","date_diff_str","date_part_millis","date_part_str","date_trunc_millis","date_trunc_str","duration_to_str","millis","str_to_millis","millis_to_str","millis_to_utc","millis_to_zone_name","now_millis","now_str","str_to_duration","str_to_utc","str_to_zone_name","decode_json","encode_json","encoded_size","poly_length","base64","base64_encode","base64_decode","meta","uuid","abs","acos","asin","atan","atan2","ceil","cos","degrees","e","exp","ln","log","floor","pi","power","radians","random","round","sign","sin","sqrt","tan","trunc","object_length","object_names","object_pairs","object_inner_pairs","object_values","object_inner_values","object_add","object_put","object_remove","object_unwrap","regexp_contains","regexp_like","regexp_position","regexp_replace","contains","initcap","length","lower","ltrim","position","repeat","replace","rtrim","split","substr","title","trim","upper","isarray","isatom","isboolean","isnumber","isobject","isstring","type","toarray","toatom","toboolean","tonumber","toobject","tostring"]},contains:[{className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE]},{className:"symbol",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_BLOCK_COMMENT_MODE]}}}function ip(){if(Js)return Zs;return Js=1,Zs=function(e){return{name:"Nested Text",aliases:["nt"],contains:[e.inherit(e.HASH_COMMENT_MODE,{begin:/^\s*(?=#)/,excludeBegin:!0}),{variants:[{match:[/^\s*/,/-/,/[ ]/,/.*$/]},{match:[/^\s*/,/-$/]}],className:{2:"bullet",4:"string"}},{match:[/^\s*/,/>/,/[ ]/,/.*$/],className:{2:"punctuation",4:"string"}},{match:[/^\s*(?=\S)/, +// have to look forward here to avoid polynomial backtracking +/[^:]+/,/:\s*/,/$/],className:{2:"attribute",3:"punctuation"}},{match:[/^\s*(?=\S)/, +// have to look forward here to avoid polynomial backtracking +/[^:]*[^: ]/,/[ ]*:/,/[ ]/,/.*$/],className:{2:"attribute",3:"punctuation",5:"string"}}]}}}function ap(){if(tl)return el;return tl=1,el=function(e){const t=e.regex,n={className:"variable",variants:[{begin:/\$\d+/},{begin:/\$\{\w+\}/},{begin:t.concat(/[$@]/,e.UNDERSCORE_IDENT_RE)}]},r={endsWithParent:!0,keywords:{$pattern:/[a-z_]{2,}|\/dev\/poll/,literal:["on","off","yes","no","true","false","none","blocked","debug","info","notice","warn","error","crit","select","break","last","permanent","redirect","kqueue","rtsig","epoll","poll","/dev/poll"]},relevance:0,illegal:"=>",contains:[e.HASH_COMMENT_MODE,{className:"string",contains:[e.BACKSLASH_ESCAPE,n],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/}]}, +// this swallows entire URLs to avoid detecting numbers within +{begin:"([a-z]+):/",end:"\\s",endsWithParent:!0,excludeEnd:!0,contains:[n]},{className:"regexp",contains:[e.BACKSLASH_ESCAPE,n],variants:[{begin:"\\s\\^",end:"\\s|\\{|;",returnEnd:!0}, +// regexp locations (~, ~*) +{begin:"~\\*?\\s+",end:"\\s|\\{|;",returnEnd:!0}, +// *.example.com +{begin:"\\*(\\.[a-z\\-]+)+"}, +// sub.example.* +{begin:"([a-z\\-]+\\.)+\\*"}]}, +// IP +{className:"number",begin:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"}, +// units +{className:"number",begin:"\\b\\d+[kKmMgGdshdwy]?\\b",relevance:0},n]};return{name:"Nginx config",aliases:["nginxconf"],contains:[e.HASH_COMMENT_MODE,{beginKeywords:"upstream location",end:/;|\{/,contains:r.contains,keywords:{section:"upstream location"}},{className:"section",begin:t.concat(e.UNDERSCORE_IDENT_RE+t.lookahead(/\s+\{/)),relevance:0},{begin:t.lookahead(e.UNDERSCORE_IDENT_RE+"\\s"),end:";|\\{",contains:[{className:"attribute",begin:e.UNDERSCORE_IDENT_RE,starts:r}],relevance:0}],illegal:"[^\\s\\}\\{]"}}}function op(){if(rl)return nl;return rl=1,nl=function(e){return{name:"Nim",keywords:{keyword:["addr","and","as","asm","bind","block","break","case","cast","concept","const","continue","converter","defer","discard","distinct","div","do","elif","else","end","enum","except","export","finally","for","from","func","generic","guarded","if","import","in","include","interface","is","isnot","iterator","let","macro","method","mixin","mod","nil","not","notin","object","of","or","out","proc","ptr","raise","ref","return","shared","shl","shr","static","template","try","tuple","type","using","var","when","while","with","without","xor","yield"],literal:["true","false"],type:["int","int8","int16","int32","int64","uint","uint8","uint16","uint32","uint64","float","float32","float64","bool","char","string","cstring","pointer","expr","stmt","void","auto","any","range","array","openarray","varargs","seq","set","clong","culong","cchar","cschar","cshort","cint","csize","clonglong","cfloat","cdouble","clongdouble","cuchar","cushort","cuint","culonglong","cstringarray","semistatic"],built_in:["stdin","stdout","stderr","result"]},contains:[{className:"meta", +// Actually pragma +begin:/\{\./,end:/\.\}/,relevance:10},{className:"string",begin:/[a-zA-Z]\w*"/,end:/"/,contains:[{begin:/""/}]},{className:"string",begin:/([a-zA-Z]\w*)?"""/,end:/"""/},e.QUOTE_STRING_MODE,{className:"type",begin:/\b[A-Z]\w+\b/,relevance:0},{className:"number",relevance:0,variants:[{begin:/\b(0[xX][0-9a-fA-F][_0-9a-fA-F]*)('?[iIuU](8|16|32|64))?/},{begin:/\b(0o[0-7][_0-7]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(0(b|B)[01][_01]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(\d[_\d]*)('?[iIuUfF](8|16|32|64))?/}]},e.HASH_COMMENT_MODE]}}}function sp(){if(al)return il;return al=1,il=function(e){const t=e.regex,n={keyword:["assert","else","if","in","inherit","let","or","rec","then","with"],literal:["true","false","null"],built_in:[ +// toplevel builtins +"abort","baseNameOf","builtins","derivation","derivationStrict","dirOf","fetchGit","fetchMercurial","fetchTarball","fetchTree","fromTOML","import","isNull","map","placeholder","removeAttrs","scopedImport","throw","toString"]},r={scope:"built_in",match:t.either(...["abort","add","addDrvOutputDependencies","addErrorContext","all","any","appendContext","attrNames","attrValues","baseNameOf","bitAnd","bitOr","bitXor","break","builtins","catAttrs","ceil","compareVersions","concatLists","concatMap","concatStringsSep","convertHash","currentSystem","currentTime","deepSeq","derivation","derivationStrict","dirOf","div","elem","elemAt","false","fetchGit","fetchMercurial","fetchTarball","fetchTree","fetchurl","filter","filterSource","findFile","flakeRefToString","floor","foldl'","fromJSON","fromTOML","functionArgs","genList","genericClosure","getAttr","getContext","getEnv","getFlake","groupBy","hasAttr","hasContext","hashFile","hashString","head","import","intersectAttrs","isAttrs","isBool","isFloat","isFunction","isInt","isList","isNull","isPath","isString","langVersion","length","lessThan","listToAttrs","map","mapAttrs","match","mul","nixPath","nixVersion","null","parseDrvName","parseFlakeRef","partition","path","pathExists","placeholder","readDir","readFile","readFileType","removeAttrs","replaceStrings","scopedImport","seq","sort","split","splitVersion","storeDir","storePath","stringLength","sub","substring","tail","throw","toFile","toJSON","toPath","toString","toXML","trace","traceVerbose","true","tryEval","typeOf","unsafeDiscardOutputDependency","unsafeDiscardStringContext","unsafeGetAttrPos","warn","zipAttrsWith"].map((e=>`builtins\\.${e}`))),relevance:10},i="[A-Za-z_][A-Za-z0-9_'-]*",a={scope:"symbol",match:new RegExp(`<${i}(/${i})*>`)},o="[A-Za-z0-9_\\+\\.-]+",s={scope:"symbol",match:new RegExp(`(\\.\\.|\\.|~)?/(${o})?(/${o})*(?=[\\s;])`)},l=t.either("==","=","\\+\\+","\\+","<=","<\\|","<",">=",">","->","//","/","!=","!","\\|\\|","\\|>","\\?","\\*","&&"),c={scope:"operator",match:t.concat(l,/(?!-)/),relevance:0},u={scope:"number",match:new RegExp(`${e.NUMBER_RE}(?!-)`),relevance:0},d={variants:[{scope:"operator",beforeMatch:/\s/, +// The (?!>) is used to ensure this doesn't collide with the '->' operator +begin:/-(?!>)/},{begin:[new RegExp(`${e.NUMBER_RE}`),/-/,/(?!>)/],beginScope:{1:"number",2:"operator"}},{begin:[l,/-/,/(?!>)/],beginScope:{1:"operator",2:"operator"}}],relevance:0},h={beforeMatch:/(^|\{|;)\s*/,begin:new RegExp(`${i}(\\.${i})*\\s*=(?!=)`),returnBegin:!0,relevance:0,contains:[{scope:"attr",match:new RegExp(`${i}(\\.${i})*(?=\\s*=)`),relevance:.2}]},p={scope:"subst",begin:/\$\{/,end:/\}/,keywords:n},g={scope:"char.escape",match:/\\(?!\$)./},m={scope:"string",variants:[{begin:"''",end:"''",contains:[{scope:"char.escape",match:/''\$/},p,{scope:"char.escape",match:/'''/},g]},{begin:'"',end:'"',contains:[{scope:"char.escape",match:/\\\$/},p,g]}]},_={scope:"params",match:new RegExp(`${i}\\s*:(?=\\s)`)},b=[u,e.HASH_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT(/\/\*\*(?!\/)/,/\*\//,{subLanguage:"markdown",relevance:0}),r,m,a,s,_,h,d,c];return p.contains=b,{name:"Nix",aliases:["nixos"],keywords:n,contains:b.concat([{scope:"meta.prompt",match:/^nix-repl>(?=\s)/,relevance:10},{scope:"meta",beforeMatch:/\s+/,begin:/:([a-z]+|\?)/}])}}}function lp(){if(sl)return ol;return sl=1,ol=function(e){return{name:"Node REPL",contains:[{className:"meta.prompt",starts:{ +// a space separates the REPL prefix from the actual code +// this is purely for cleaner HTML output +end:/ |$/,starts:{end:"$",subLanguage:"javascript"}},variants:[{begin:/^>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}}function cp(){if(cl)return ll;return cl=1,ll=function(e){const t=e.regex,n={className:"variable.constant",begin:t.concat(/\$/,t.either("ADMINTOOLS","APPDATA","CDBURN_AREA","CMDLINE","COMMONFILES32","COMMONFILES64","COMMONFILES","COOKIES","DESKTOP","DOCUMENTS","EXEDIR","EXEFILE","EXEPATH","FAVORITES","FONTS","HISTORY","HWNDPARENT","INSTDIR","INTERNET_CACHE","LANGUAGE","LOCALAPPDATA","MUSIC","NETHOOD","OUTDIR","PICTURES","PLUGINSDIR","PRINTHOOD","PROFILE","PROGRAMFILES32","PROGRAMFILES64","PROGRAMFILES","QUICKLAUNCH","RECENT","RESOURCES_LOCALIZED","RESOURCES","SENDTO","SMPROGRAMS","SMSTARTUP","STARTMENU","SYSDIR","TEMP","TEMPLATES","VIDEOS","WINDIR"))},r={ +// ${defines} +className:"variable",begin:/\$+\{[\!\w.:-]+\}/},i={ +// $variables +className:"variable",begin:/\$+\w[\w\.]*/,illegal:/\(\)\{\}/},a={ +// $(language_strings) +className:"variable",begin:/\$+\([\w^.:!-]+\)/},o={ +// command parameters +className:"params",begin:t.either("ARCHIVE","FILE_ATTRIBUTE_ARCHIVE","FILE_ATTRIBUTE_NORMAL","FILE_ATTRIBUTE_OFFLINE","FILE_ATTRIBUTE_READONLY","FILE_ATTRIBUTE_SYSTEM","FILE_ATTRIBUTE_TEMPORARY","HKCR","HKCU","HKDD","HKEY_CLASSES_ROOT","HKEY_CURRENT_CONFIG","HKEY_CURRENT_USER","HKEY_DYN_DATA","HKEY_LOCAL_MACHINE","HKEY_PERFORMANCE_DATA","HKEY_USERS","HKLM","HKPD","HKU","IDABORT","IDCANCEL","IDIGNORE","IDNO","IDOK","IDRETRY","IDYES","MB_ABORTRETRYIGNORE","MB_DEFBUTTON1","MB_DEFBUTTON2","MB_DEFBUTTON3","MB_DEFBUTTON4","MB_ICONEXCLAMATION","MB_ICONINFORMATION","MB_ICONQUESTION","MB_ICONSTOP","MB_OK","MB_OKCANCEL","MB_RETRYCANCEL","MB_RIGHT","MB_RTLREADING","MB_SETFOREGROUND","MB_TOPMOST","MB_USERICON","MB_YESNO","NORMAL","OFFLINE","READONLY","SHCTX","SHELL_CONTEXT","SYSTEM|TEMPORARY")},s={ +// !compiler_flags +className:"keyword",begin:t.concat(/!/,t.either("addincludedir","addplugindir","appendfile","assert","cd","define","delfile","echo","else","endif","error","execute","finalize","getdllversion","gettlbversion","if","ifdef","ifmacrodef","ifmacrondef","ifndef","include","insertmacro","macro","macroend","makensis","packhdr","searchparse","searchreplace","system","tempfile","undef","uninstfinalize","verbose","warning"))},l={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"},{begin:"`",end:"`"}],illegal:/\n/,contains:[{ +// $\n, $\r, $\t, $$ +className:"char.escape",begin:/\$(\\[nrt]|\$)/},n,r,i,a]},c={match:[/Function/,/\s+/,t.concat(/(\.)?/,e.IDENT_RE)],scope:{1:"keyword",3:"title.function"}},u={match:[/Var/,/\s+/,/(?:\/GLOBAL\s+)?/,/[A-Za-z][\w.]*/],scope:{1:"keyword",3:"params",4:"variable"}};return{name:"NSIS",case_insensitive:!0,keywords:{keyword:["Abort","AddBrandingImage","AddSize","AllowRootDirInstall","AllowSkipFiles","AutoCloseWindow","BGFont","BGGradient","BrandingText","BringToFront","Call","CallInstDLL","Caption","ChangeUI","CheckBitmap","ClearErrors","CompletedText","ComponentText","CopyFiles","CRCCheck","CreateDirectory","CreateFont","CreateShortCut","Delete","DeleteINISec","DeleteINIStr","DeleteRegKey","DeleteRegValue","DetailPrint","DetailsButtonText","DirText","DirVar","DirVerify","EnableWindow","EnumRegKey","EnumRegValue","Exch","Exec","ExecShell","ExecShellWait","ExecWait","ExpandEnvStrings","File","FileBufSize","FileClose","FileErrorText","FileOpen","FileRead","FileReadByte","FileReadUTF16LE","FileReadWord","FileWriteUTF16LE","FileSeek","FileWrite","FileWriteByte","FileWriteWord","FindClose","FindFirst","FindNext","FindWindow","FlushINI","GetCurInstType","GetCurrentAddress","GetDlgItem","GetDLLVersion","GetDLLVersionLocal","GetErrorLevel","GetFileTime","GetFileTimeLocal","GetFullPathName","GetFunctionAddress","GetInstDirError","GetKnownFolderPath","GetLabelAddress","GetTempFileName","GetWinVer","Goto","HideWindow","Icon","IfAbort","IfErrors","IfFileExists","IfRebootFlag","IfRtlLanguage","IfShellVarContextAll","IfSilent","InitPluginsDir","InstallButtonText","InstallColors","InstallDir","InstallDirRegKey","InstProgressFlags","InstType","InstTypeGetText","InstTypeSetText","Int64Cmp","Int64CmpU","Int64Fmt","IntCmp","IntCmpU","IntFmt","IntOp","IntPtrCmp","IntPtrCmpU","IntPtrOp","IsWindow","LangString","LicenseBkColor","LicenseData","LicenseForceSelection","LicenseLangString","LicenseText","LoadAndSetImage","LoadLanguageFile","LockWindow","LogSet","LogText","ManifestDPIAware","ManifestLongPathAware","ManifestMaxVersionTested","ManifestSupportedOS","MessageBox","MiscButtonText","Name|0","Nop","OutFile","Page","PageCallbacks","PEAddResource","PEDllCharacteristics","PERemoveResource","PESubsysVer","Pop","Push","Quit","ReadEnvStr","ReadINIStr","ReadRegDWORD","ReadRegStr","Reboot","RegDLL","Rename","RequestExecutionLevel","ReserveFile","Return","RMDir","SearchPath","SectionGetFlags","SectionGetInstTypes","SectionGetSize","SectionGetText","SectionIn","SectionSetFlags","SectionSetInstTypes","SectionSetSize","SectionSetText","SendMessage","SetAutoClose","SetBrandingImage","SetCompress","SetCompressor","SetCompressorDictSize","SetCtlColors","SetCurInstType","SetDatablockOptimize","SetDateSave","SetDetailsPrint","SetDetailsView","SetErrorLevel","SetErrors","SetFileAttributes","SetFont","SetOutPath","SetOverwrite","SetRebootFlag","SetRegView","SetShellVarContext","SetSilent","ShowInstDetails","ShowUninstDetails","ShowWindow","SilentInstall","SilentUnInstall","Sleep","SpaceTexts","StrCmp","StrCmpS","StrCpy","StrLen","SubCaption","Unicode","UninstallButtonText","UninstallCaption","UninstallIcon","UninstallSubCaption","UninstallText","UninstPage","UnRegDLL","Var","VIAddVersionKey","VIFileVersion","VIProductVersion","WindowIcon","WriteINIStr","WriteRegBin","WriteRegDWORD","WriteRegExpandStr","WriteRegMultiStr","WriteRegNone","WriteRegStr","WriteUninstaller","XPStyle"],literal:["admin","all","auto","both","bottom","bzip2","colored","components","current","custom","directory","false","force","hide","highest","ifdiff","ifnewer","instfiles","lastused","leave","left","license","listonly","lzma","nevershow","none","normal","notset","off","on","open","print","right","show","silent","silentlog","smooth","textonly","top","true","try","un.components","un.custom","un.directory","un.instfiles","un.license","uninstConfirm","user","Win10","Win7","Win8","WinVista","zlib"]},contains:[e.HASH_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT(";","$",{relevance:0}),u,c,{beginKeywords:"Function PageEx Section SectionGroup FunctionEnd SectionEnd"},l,s,r,i,a,o,{ +// plug::ins +className:"title.function",begin:/\w+::\w+/},e.NUMBER_MODE]}}}function up(){if(dl)return ul;return dl=1,ul=function(e){const t=/[a-zA-Z@][a-zA-Z0-9_]*/,n={$pattern:t,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:{"variable.language":["this","super"],$pattern:t,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},illegal:"</",contains:[{className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:"string",variants:[{begin:'@"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]}]},{className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),{className:"string",begin:/<.*?>/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+n.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:n,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}}}function dp(){if(pl)return hl;return pl=1,hl=function(e){return{name:"OCaml",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"and as assert asr begin class constraint do done downto else end exception external for fun function functor if in include inherit! inherit initializer land lazy let lor lsl lsr lxor match method!|10 method mod module mutable new object of open! open or private rec sig struct then to try type val! val virtual when while with parser value",built_in: +/* built-in types */"array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 string unit in_channel out_channel ref",literal:"true false"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:"\\[(\\|\\|)?\\]|\\(\\)",relevance:0},e.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{ +/* type variable */ +className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*" +/* the grammar is ambiguous on how 'a'b should be interpreted but not the compiler */},{ +/* polymorphic variant */ +className:"type",begin:"`[A-Z][\\w']*"},{ +/* module or constructor */ +className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{ +/* don't color identifiers, but safely catch all identifiers with ' */ +begin:"[a-z_]\\w*'[\\w']*",relevance:0},e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/->/}]}}}function hp(){if(ml)return gl;return ml=1,gl=function(e){const t={className:"keyword",begin:"\\$(f[asn]|t|vp[rtd]|children)"},n={className:"number",begin:"\\b\\d+(\\.\\d+)?(e-?\\d+)?", +// adds 1e5, 1e-10 +relevance:0},r=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),i={className:"function",beginKeywords:"module function",end:/=|\{/,contains:[{className:"params",begin:"\\(",end:"\\)",contains:["self",n,r,t,{className:"literal",begin:"false|true|PI|undef"}]},e.UNDERSCORE_TITLE_MODE]};return{name:"OpenSCAD",aliases:["scad"],keywords:{keyword:"function module include use for intersection_for if else \\%",literal:"false true PI undef",built_in:"circle square polygon text sphere cube cylinder polyhedron translate rotate scale resize mirror multmatrix color offset hull minkowski union difference intersection abs sign sin cos tan acos asin atan atan2 floor round ceil ln log pow sqrt exp rands min max concat lookup str chr search version version_num norm cross parent_module echo import import_dxf dxf_linear_extrude linear_extrude rotate_extrude surface projection render children dxf_cross dxf_dim let assign"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n,{className:"meta",keywords:{keyword:"include use"},begin:"include|use <",end:">"},r,t,{begin:"[*!#%]",relevance:0},i]}}}function pp(){if(bl)return _l;return bl=1,_l=function(e){const t={$pattern:/\.?\w+/,keyword:"abstract add and array as asc aspect assembly async begin break block by case class concat const copy constructor continue create default delegate desc distinct div do downto dynamic each else empty end ensure enum equals event except exit extension external false final finalize finalizer finally flags for forward from function future global group has if implementation implements implies in index inherited inline interface into invariants is iterator join locked locking loop matching method mod module namespace nested new nil not notify nullable of old on operator or order out override parallel params partial pinned private procedure property protected public queryable raise read readonly record reintroduce remove repeat require result reverse sealed select self sequence set shl shr skip static step soft take then to true try tuple type union unit unsafe until uses using var virtual raises volatile where while with write xor yield await mapped deprecated stdcall cdecl pascal register safecall overload library platform reference packed strict published autoreleasepool selector strong weak unretained"},n=e.COMMENT(/\{/,/\}/,{relevance:0}),r=e.COMMENT("\\(\\*","\\*\\)",{relevance:10}),i={className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},a={className:"string",begin:"(#\\d+)+"},o={beginKeywords:"function constructor destructor procedure method",end:"[:;]",keywords:"function constructor|10 destructor|10 procedure|10 method|10",contains:[e.inherit(e.TITLE_MODE,{scope:"title.function"}),{className:"params",begin:"\\(",end:"\\)",keywords:t,contains:[i,a]},n,r]};return{name:"Oxygene",case_insensitive:!0,keywords:t,illegal:'("|\\$[G-Zg-z]|\\/\\*|</|=>|->)',contains:[n,r,e.C_LINE_COMMENT_MODE,i,a,e.NUMBER_MODE,o,{scope:"punctuation",match:/;/,relevance:0}]}}}function gp(){if(yl)return fl;return yl=1,fl=function(e){const t=e.COMMENT(/\{/,/\}/,{contains:["self"]});return{name:"Parser3",subLanguage:"xml",relevance:0,contains:[e.COMMENT("^#","$"),e.COMMENT(/\^rem\{/,/\}/,{relevance:10,contains:[t]}),{className:"meta",begin:"^@(?:BASE|USE|CLASS|OPTIONS)$",relevance:10},{className:"title",begin:"@[\\w\\-]+\\[[\\w^;\\-]*\\](?:\\[[\\w^;\\-]*\\])?(?:.*)$"},{className:"variable",begin:/\$\{?[\w\-.:]+\}?/},{className:"keyword",begin:/\^[\w\-.:]+/},{className:"number",begin:"\\^#[0-9a-fA-F]+"},e.C_NUMBER_MODE]}}}function mp(){if(El)return vl;return El=1,vl=function(e){return{name:"Packet Filter config",aliases:["pf.conf"],keywords:{$pattern:/[a-z0-9_<>-]+/,built_in: +/* block match pass are "actions" in pf.conf(5), the rest are + * lexically similar top-level commands. + */"block match pass load anchor|5 antispoof|10 set table",keyword:"in out log quick on rdomain inet inet6 proto from port os to route allow-opts divert-packet divert-reply divert-to flags group icmp-type icmp6-type label once probability recieved-on rtable prio queue tos tag tagged user keep fragment for os drop af-to|10 binat-to|10 nat-to|10 rdr-to|10 bitmask least-stats random round-robin source-hash static-port dup-to reply-to route-to parent bandwidth default min max qlimit block-policy debug fingerprints hostid limit loginterface optimization reassemble ruleset-optimization basic none profile skip state-defaults state-policy timeout const counters persist no modulate synproxy state|5 floating if-bound no-sync pflow|10 sloppy source-track global rule max-src-nodes max-src-states max-src-conn max-src-conn-rate overload flush scrub|5 max-mss min-ttl no-df|10 random-id",literal:"all any no-route self urpf-failed egress|5 unknown"},contains:[e.HASH_COMMENT_MODE,e.NUMBER_MODE,e.QUOTE_STRING_MODE,{className:"variable",begin:/\$[\w\d#@][\w\d_]*/,relevance:0},{className:"variable",begin:/<(?!\/)/,end:/>/}]}}}function _p(){if(Tl)return Sl;return Tl=1,Sl=function(e){const t=e.COMMENT("--","$"),n="\\$([a-zA-Z_]?|[a-zA-Z_][a-zA-Z_0-9]*)\\$",r= +// https://www.postgresql.org/docs/11/static/datatype.html +"BIGINT INT8 BIGSERIAL SERIAL8 BIT VARYING VARBIT BOOLEAN BOOL BOX BYTEA CHARACTER CHAR VARCHAR CIDR CIRCLE DATE DOUBLE PRECISION FLOAT8 FLOAT INET INTEGER INT INT4 INTERVAL JSON JSONB LINE LSEG|10 MACADDR MACADDR8 MONEY NUMERIC DEC DECIMAL PATH POINT POLYGON REAL FLOAT4 SMALLINT INT2 SMALLSERIAL|10 SERIAL2|10 SERIAL|10 SERIAL4|10 TEXT TIME ZONE TIMETZ|10 TIMESTAMP TIMESTAMPTZ|10 TSQUERY|10 TSVECTOR|10 TXID_SNAPSHOT|10 UUID XML NATIONAL NCHAR INT4RANGE|10 INT8RANGE|10 NUMRANGE|10 TSRANGE|10 TSTZRANGE|10 DATERANGE|10 ANYELEMENT ANYARRAY ANYNONARRAY ANYENUM ANYRANGE CSTRING INTERNAL RECORD PG_DDL_COMMAND VOID UNKNOWN OPAQUE REFCURSOR NAME OID REGPROC|10 REGPROCEDURE|10 REGOPER|10 REGOPERATOR|10 REGCLASS|10 REGTYPE|10 REGROLE|10 REGNAMESPACE|10 REGCONFIG|10 REGDICTIONARY|10 ",i=r.trim().split(" ").map((function(e){return e.split("|")[0]})).join("|"),a= +// https://www.postgresql.org/docs/11/static/functions-aggregate.html +"ARRAY_AGG AVG BIT_AND BIT_OR BOOL_AND BOOL_OR COUNT EVERY JSON_AGG JSONB_AGG JSON_OBJECT_AGG JSONB_OBJECT_AGG MAX MIN MODE STRING_AGG SUM XMLAGG CORR COVAR_POP COVAR_SAMP REGR_AVGX REGR_AVGY REGR_COUNT REGR_INTERCEPT REGR_R2 REGR_SLOPE REGR_SXX REGR_SXY REGR_SYY STDDEV STDDEV_POP STDDEV_SAMP VARIANCE VAR_POP VAR_SAMP PERCENTILE_CONT PERCENTILE_DISC ROW_NUMBER RANK DENSE_RANK PERCENT_RANK CUME_DIST NTILE LAG LEAD FIRST_VALUE LAST_VALUE NTH_VALUE NUM_NONNULLS NUM_NULLS ABS CBRT CEIL CEILING DEGREES DIV EXP FLOOR LN LOG MOD PI POWER RADIANS ROUND SCALE SIGN SQRT TRUNC WIDTH_BUCKET RANDOM SETSEED ACOS ACOSD ASIN ASIND ATAN ATAND ATAN2 ATAN2D COS COSD COT COTD SIN SIND TAN TAND BIT_LENGTH CHAR_LENGTH CHARACTER_LENGTH LOWER OCTET_LENGTH OVERLAY POSITION SUBSTRING TREAT TRIM UPPER ASCII BTRIM CHR CONCAT CONCAT_WS CONVERT CONVERT_FROM CONVERT_TO DECODE ENCODE INITCAP LEFT LENGTH LPAD LTRIM MD5 PARSE_IDENT PG_CLIENT_ENCODING QUOTE_IDENT|10 QUOTE_LITERAL|10 QUOTE_NULLABLE|10 REGEXP_MATCH REGEXP_MATCHES REGEXP_REPLACE REGEXP_SPLIT_TO_ARRAY REGEXP_SPLIT_TO_TABLE REPEAT REPLACE REVERSE RIGHT RPAD RTRIM SPLIT_PART STRPOS SUBSTR TO_ASCII TO_HEX TRANSLATE OCTET_LENGTH GET_BIT GET_BYTE SET_BIT SET_BYTE TO_CHAR TO_DATE TO_NUMBER TO_TIMESTAMP AGE CLOCK_TIMESTAMP|10 DATE_PART DATE_TRUNC ISFINITE JUSTIFY_DAYS JUSTIFY_HOURS JUSTIFY_INTERVAL MAKE_DATE MAKE_INTERVAL|10 MAKE_TIME MAKE_TIMESTAMP|10 MAKE_TIMESTAMPTZ|10 NOW STATEMENT_TIMESTAMP|10 TIMEOFDAY TRANSACTION_TIMESTAMP|10 ENUM_FIRST ENUM_LAST ENUM_RANGE AREA CENTER DIAMETER HEIGHT ISCLOSED ISOPEN NPOINTS PCLOSE POPEN RADIUS WIDTH BOX BOUND_BOX CIRCLE LINE LSEG PATH POLYGON ABBREV BROADCAST HOST HOSTMASK MASKLEN NETMASK NETWORK SET_MASKLEN TEXT INET_SAME_FAMILY INET_MERGE MACADDR8_SET7BIT ARRAY_TO_TSVECTOR GET_CURRENT_TS_CONFIG NUMNODE PLAINTO_TSQUERY PHRASETO_TSQUERY WEBSEARCH_TO_TSQUERY QUERYTREE SETWEIGHT STRIP TO_TSQUERY TO_TSVECTOR JSON_TO_TSVECTOR JSONB_TO_TSVECTOR TS_DELETE TS_FILTER TS_HEADLINE TS_RANK TS_RANK_CD TS_REWRITE TSQUERY_PHRASE TSVECTOR_TO_ARRAY TSVECTOR_UPDATE_TRIGGER TSVECTOR_UPDATE_TRIGGER_COLUMN XMLCOMMENT XMLCONCAT XMLELEMENT XMLFOREST XMLPI XMLROOT XMLEXISTS XML_IS_WELL_FORMED XML_IS_WELL_FORMED_DOCUMENT XML_IS_WELL_FORMED_CONTENT XPATH XPATH_EXISTS XMLTABLE XMLNAMESPACES TABLE_TO_XML TABLE_TO_XMLSCHEMA TABLE_TO_XML_AND_XMLSCHEMA QUERY_TO_XML QUERY_TO_XMLSCHEMA QUERY_TO_XML_AND_XMLSCHEMA CURSOR_TO_XML CURSOR_TO_XMLSCHEMA SCHEMA_TO_XML SCHEMA_TO_XMLSCHEMA SCHEMA_TO_XML_AND_XMLSCHEMA DATABASE_TO_XML DATABASE_TO_XMLSCHEMA DATABASE_TO_XML_AND_XMLSCHEMA XMLATTRIBUTES TO_JSON TO_JSONB ARRAY_TO_JSON ROW_TO_JSON JSON_BUILD_ARRAY JSONB_BUILD_ARRAY JSON_BUILD_OBJECT JSONB_BUILD_OBJECT JSON_OBJECT JSONB_OBJECT JSON_ARRAY_LENGTH JSONB_ARRAY_LENGTH JSON_EACH JSONB_EACH JSON_EACH_TEXT JSONB_EACH_TEXT JSON_EXTRACT_PATH JSONB_EXTRACT_PATH JSON_OBJECT_KEYS JSONB_OBJECT_KEYS JSON_POPULATE_RECORD JSONB_POPULATE_RECORD JSON_POPULATE_RECORDSET JSONB_POPULATE_RECORDSET JSON_ARRAY_ELEMENTS JSONB_ARRAY_ELEMENTS JSON_ARRAY_ELEMENTS_TEXT JSONB_ARRAY_ELEMENTS_TEXT JSON_TYPEOF JSONB_TYPEOF JSON_TO_RECORD JSONB_TO_RECORD JSON_TO_RECORDSET JSONB_TO_RECORDSET JSON_STRIP_NULLS JSONB_STRIP_NULLS JSONB_SET JSONB_INSERT JSONB_PRETTY CURRVAL LASTVAL NEXTVAL SETVAL COALESCE NULLIF GREATEST LEAST ARRAY_APPEND ARRAY_CAT ARRAY_NDIMS ARRAY_DIMS ARRAY_FILL ARRAY_LENGTH ARRAY_LOWER ARRAY_POSITION ARRAY_POSITIONS ARRAY_PREPEND ARRAY_REMOVE ARRAY_REPLACE ARRAY_TO_STRING ARRAY_UPPER CARDINALITY STRING_TO_ARRAY UNNEST ISEMPTY LOWER_INC UPPER_INC LOWER_INF UPPER_INF RANGE_MERGE GENERATE_SERIES GENERATE_SUBSCRIPTS CURRENT_DATABASE CURRENT_QUERY CURRENT_SCHEMA|10 CURRENT_SCHEMAS|10 INET_CLIENT_ADDR INET_CLIENT_PORT INET_SERVER_ADDR INET_SERVER_PORT ROW_SECURITY_ACTIVE FORMAT_TYPE TO_REGCLASS TO_REGPROC TO_REGPROCEDURE TO_REGOPER TO_REGOPERATOR TO_REGTYPE TO_REGNAMESPACE TO_REGROLE COL_DESCRIPTION OBJ_DESCRIPTION SHOBJ_DESCRIPTION TXID_CURRENT TXID_CURRENT_IF_ASSIGNED TXID_CURRENT_SNAPSHOT TXID_SNAPSHOT_XIP TXID_SNAPSHOT_XMAX TXID_SNAPSHOT_XMIN TXID_VISIBLE_IN_SNAPSHOT TXID_STATUS CURRENT_SETTING SET_CONFIG BRIN_SUMMARIZE_NEW_VALUES BRIN_SUMMARIZE_RANGE BRIN_DESUMMARIZE_RANGE GIN_CLEAN_PENDING_LIST SUPPRESS_REDUNDANT_UPDATES_TRIGGER LO_FROM_BYTEA LO_PUT LO_GET LO_CREAT LO_CREATE LO_UNLINK LO_IMPORT LO_EXPORT LOREAD LOWRITE GROUPING CAST ".trim().split(" ").map((function(e){return e.split("|")[0]})).join("|");return{name:"PostgreSQL",aliases:["postgres","postgresql"],supersetOf:"sql",case_insensitive:!0,keywords:{keyword:"ABORT ALTER ANALYZE BEGIN CALL CHECKPOINT|10 CLOSE CLUSTER COMMENT COMMIT COPY CREATE DEALLOCATE DECLARE DELETE DISCARD DO DROP END EXECUTE EXPLAIN FETCH GRANT IMPORT INSERT LISTEN LOAD LOCK MOVE NOTIFY PREPARE REASSIGN|10 REFRESH REINDEX RELEASE RESET REVOKE ROLLBACK SAVEPOINT SECURITY SELECT SET SHOW START TRUNCATE UNLISTEN|10 UPDATE VACUUM|10 VALUES AGGREGATE COLLATION CONVERSION|10 DATABASE DEFAULT PRIVILEGES DOMAIN TRIGGER EXTENSION FOREIGN WRAPPER|10 TABLE FUNCTION GROUP LANGUAGE LARGE OBJECT MATERIALIZED VIEW OPERATOR CLASS FAMILY POLICY PUBLICATION|10 ROLE RULE SCHEMA SEQUENCE SERVER STATISTICS SUBSCRIPTION SYSTEM TABLESPACE CONFIGURATION DICTIONARY PARSER TEMPLATE TYPE USER MAPPING PREPARED ACCESS METHOD CAST AS TRANSFORM TRANSACTION OWNED TO INTO SESSION AUTHORIZATION INDEX PROCEDURE ASSERTION ALL ANALYSE AND ANY ARRAY ASC ASYMMETRIC|10 BOTH CASE CHECK COLLATE COLUMN CONCURRENTLY|10 CONSTRAINT CROSS DEFERRABLE RANGE DESC DISTINCT ELSE EXCEPT FOR FREEZE|10 FROM FULL HAVING ILIKE IN INITIALLY INNER INTERSECT IS ISNULL JOIN LATERAL LEADING LIKE LIMIT NATURAL NOT NOTNULL NULL OFFSET ON ONLY OR ORDER OUTER OVERLAPS PLACING PRIMARY REFERENCES RETURNING SIMILAR SOME SYMMETRIC TABLESAMPLE THEN TRAILING UNION UNIQUE USING VARIADIC|10 VERBOSE WHEN WHERE WINDOW WITH BY RETURNS INOUT OUT SETOF|10 IF STRICT CURRENT CONTINUE OWNER LOCATION OVER PARTITION WITHIN BETWEEN ESCAPE EXTERNAL INVOKER DEFINER WORK RENAME VERSION CONNECTION CONNECT TABLES TEMP TEMPORARY FUNCTIONS SEQUENCES TYPES SCHEMAS OPTION CASCADE RESTRICT ADD ADMIN EXISTS VALID VALIDATE ENABLE DISABLE REPLICA|10 ALWAYS PASSING COLUMNS PATH REF VALUE OVERRIDING IMMUTABLE STABLE VOLATILE BEFORE AFTER EACH ROW PROCEDURAL ROUTINE NO HANDLER VALIDATOR OPTIONS STORAGE OIDS|10 WITHOUT INHERIT DEPENDS CALLED INPUT LEAKPROOF|10 COST ROWS NOWAIT SEARCH UNTIL ENCRYPTED|10 PASSWORD CONFLICT|10 INSTEAD INHERITS CHARACTERISTICS WRITE CURSOR ALSO STATEMENT SHARE EXCLUSIVE INLINE ISOLATION REPEATABLE READ COMMITTED SERIALIZABLE UNCOMMITTED LOCAL GLOBAL SQL PROCEDURES RECURSIVE SNAPSHOT ROLLUP CUBE TRUSTED|10 INCLUDE FOLLOWING PRECEDING UNBOUNDED RANGE GROUPS UNENCRYPTED|10 SYSID FORMAT DELIMITER HEADER QUOTE ENCODING FILTER OFF FORCE_QUOTE FORCE_NOT_NULL FORCE_NULL COSTS BUFFERS TIMING SUMMARY DISABLE_PAGE_SKIPPING RESTART CYCLE GENERATED IDENTITY DEFERRED IMMEDIATE LEVEL LOGGED UNLOGGED OF NOTHING NONE EXCLUDE ATTRIBUTE USAGE ROUTINES TRUE FALSE NAN INFINITY ALIAS BEGIN CONSTANT DECLARE END EXCEPTION RETURN PERFORM|10 RAISE GET DIAGNOSTICS STACKED|10 FOREACH LOOP ELSIF EXIT WHILE REVERSE SLICE DEBUG LOG INFO NOTICE WARNING ASSERT OPEN SUPERUSER NOSUPERUSER CREATEDB NOCREATEDB CREATEROLE NOCREATEROLE INHERIT NOINHERIT LOGIN NOLOGIN REPLICATION NOREPLICATION BYPASSRLS NOBYPASSRLS ",built_in:"CURRENT_TIME CURRENT_TIMESTAMP CURRENT_USER CURRENT_CATALOG|10 CURRENT_DATE LOCALTIME LOCALTIMESTAMP CURRENT_ROLE|10 CURRENT_SCHEMA|10 SESSION_USER PUBLIC FOUND NEW OLD TG_NAME|10 TG_WHEN|10 TG_LEVEL|10 TG_OP|10 TG_RELID|10 TG_RELNAME|10 TG_TABLE_NAME|10 TG_TABLE_SCHEMA|10 TG_NARGS|10 TG_ARGV|10 TG_EVENT|10 TG_TAG|10 ROW_COUNT RESULT_OID|10 PG_CONTEXT|10 RETURNED_SQLSTATE COLUMN_NAME CONSTRAINT_NAME PG_DATATYPE_NAME|10 MESSAGE_TEXT TABLE_NAME SCHEMA_NAME PG_EXCEPTION_DETAIL|10 PG_EXCEPTION_HINT|10 PG_EXCEPTION_CONTEXT|10 SQLSTATE SQLERRM|10 SUCCESSFUL_COMPLETION WARNING DYNAMIC_RESULT_SETS_RETURNED IMPLICIT_ZERO_BIT_PADDING NULL_VALUE_ELIMINATED_IN_SET_FUNCTION PRIVILEGE_NOT_GRANTED PRIVILEGE_NOT_REVOKED STRING_DATA_RIGHT_TRUNCATION DEPRECATED_FEATURE NO_DATA NO_ADDITIONAL_DYNAMIC_RESULT_SETS_RETURNED SQL_STATEMENT_NOT_YET_COMPLETE CONNECTION_EXCEPTION CONNECTION_DOES_NOT_EXIST CONNECTION_FAILURE SQLCLIENT_UNABLE_TO_ESTABLISH_SQLCONNECTION SQLSERVER_REJECTED_ESTABLISHMENT_OF_SQLCONNECTION TRANSACTION_RESOLUTION_UNKNOWN PROTOCOL_VIOLATION TRIGGERED_ACTION_EXCEPTION FEATURE_NOT_SUPPORTED INVALID_TRANSACTION_INITIATION LOCATOR_EXCEPTION INVALID_LOCATOR_SPECIFICATION INVALID_GRANTOR INVALID_GRANT_OPERATION INVALID_ROLE_SPECIFICATION DIAGNOSTICS_EXCEPTION STACKED_DIAGNOSTICS_ACCESSED_WITHOUT_ACTIVE_HANDLER CASE_NOT_FOUND CARDINALITY_VIOLATION DATA_EXCEPTION ARRAY_SUBSCRIPT_ERROR CHARACTER_NOT_IN_REPERTOIRE DATETIME_FIELD_OVERFLOW DIVISION_BY_ZERO ERROR_IN_ASSIGNMENT ESCAPE_CHARACTER_CONFLICT INDICATOR_OVERFLOW INTERVAL_FIELD_OVERFLOW INVALID_ARGUMENT_FOR_LOGARITHM INVALID_ARGUMENT_FOR_NTILE_FUNCTION INVALID_ARGUMENT_FOR_NTH_VALUE_FUNCTION INVALID_ARGUMENT_FOR_POWER_FUNCTION INVALID_ARGUMENT_FOR_WIDTH_BUCKET_FUNCTION INVALID_CHARACTER_VALUE_FOR_CAST INVALID_DATETIME_FORMAT INVALID_ESCAPE_CHARACTER INVALID_ESCAPE_OCTET INVALID_ESCAPE_SEQUENCE NONSTANDARD_USE_OF_ESCAPE_CHARACTER INVALID_INDICATOR_PARAMETER_VALUE INVALID_PARAMETER_VALUE INVALID_REGULAR_EXPRESSION INVALID_ROW_COUNT_IN_LIMIT_CLAUSE INVALID_ROW_COUNT_IN_RESULT_OFFSET_CLAUSE INVALID_TABLESAMPLE_ARGUMENT INVALID_TABLESAMPLE_REPEAT INVALID_TIME_ZONE_DISPLACEMENT_VALUE INVALID_USE_OF_ESCAPE_CHARACTER MOST_SPECIFIC_TYPE_MISMATCH NULL_VALUE_NOT_ALLOWED NULL_VALUE_NO_INDICATOR_PARAMETER NUMERIC_VALUE_OUT_OF_RANGE SEQUENCE_GENERATOR_LIMIT_EXCEEDED STRING_DATA_LENGTH_MISMATCH STRING_DATA_RIGHT_TRUNCATION SUBSTRING_ERROR TRIM_ERROR UNTERMINATED_C_STRING ZERO_LENGTH_CHARACTER_STRING FLOATING_POINT_EXCEPTION INVALID_TEXT_REPRESENTATION INVALID_BINARY_REPRESENTATION BAD_COPY_FILE_FORMAT UNTRANSLATABLE_CHARACTER NOT_AN_XML_DOCUMENT INVALID_XML_DOCUMENT INVALID_XML_CONTENT INVALID_XML_COMMENT INVALID_XML_PROCESSING_INSTRUCTION INTEGRITY_CONSTRAINT_VIOLATION RESTRICT_VIOLATION NOT_NULL_VIOLATION FOREIGN_KEY_VIOLATION UNIQUE_VIOLATION CHECK_VIOLATION EXCLUSION_VIOLATION INVALID_CURSOR_STATE INVALID_TRANSACTION_STATE ACTIVE_SQL_TRANSACTION BRANCH_TRANSACTION_ALREADY_ACTIVE HELD_CURSOR_REQUIRES_SAME_ISOLATION_LEVEL INAPPROPRIATE_ACCESS_MODE_FOR_BRANCH_TRANSACTION INAPPROPRIATE_ISOLATION_LEVEL_FOR_BRANCH_TRANSACTION NO_ACTIVE_SQL_TRANSACTION_FOR_BRANCH_TRANSACTION READ_ONLY_SQL_TRANSACTION SCHEMA_AND_DATA_STATEMENT_MIXING_NOT_SUPPORTED NO_ACTIVE_SQL_TRANSACTION IN_FAILED_SQL_TRANSACTION IDLE_IN_TRANSACTION_SESSION_TIMEOUT INVALID_SQL_STATEMENT_NAME TRIGGERED_DATA_CHANGE_VIOLATION INVALID_AUTHORIZATION_SPECIFICATION INVALID_PASSWORD DEPENDENT_PRIVILEGE_DESCRIPTORS_STILL_EXIST DEPENDENT_OBJECTS_STILL_EXIST INVALID_TRANSACTION_TERMINATION SQL_ROUTINE_EXCEPTION FUNCTION_EXECUTED_NO_RETURN_STATEMENT MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED INVALID_CURSOR_NAME EXTERNAL_ROUTINE_EXCEPTION CONTAINING_SQL_NOT_PERMITTED MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED EXTERNAL_ROUTINE_INVOCATION_EXCEPTION INVALID_SQLSTATE_RETURNED NULL_VALUE_NOT_ALLOWED TRIGGER_PROTOCOL_VIOLATED SRF_PROTOCOL_VIOLATED EVENT_TRIGGER_PROTOCOL_VIOLATED SAVEPOINT_EXCEPTION INVALID_SAVEPOINT_SPECIFICATION INVALID_CATALOG_NAME INVALID_SCHEMA_NAME TRANSACTION_ROLLBACK TRANSACTION_INTEGRITY_CONSTRAINT_VIOLATION SERIALIZATION_FAILURE STATEMENT_COMPLETION_UNKNOWN DEADLOCK_DETECTED SYNTAX_ERROR_OR_ACCESS_RULE_VIOLATION SYNTAX_ERROR INSUFFICIENT_PRIVILEGE CANNOT_COERCE GROUPING_ERROR WINDOWING_ERROR INVALID_RECURSION INVALID_FOREIGN_KEY INVALID_NAME NAME_TOO_LONG RESERVED_NAME DATATYPE_MISMATCH INDETERMINATE_DATATYPE COLLATION_MISMATCH INDETERMINATE_COLLATION WRONG_OBJECT_TYPE GENERATED_ALWAYS UNDEFINED_COLUMN UNDEFINED_FUNCTION UNDEFINED_TABLE UNDEFINED_PARAMETER UNDEFINED_OBJECT DUPLICATE_COLUMN DUPLICATE_CURSOR DUPLICATE_DATABASE DUPLICATE_FUNCTION DUPLICATE_PREPARED_STATEMENT DUPLICATE_SCHEMA DUPLICATE_TABLE DUPLICATE_ALIAS DUPLICATE_OBJECT AMBIGUOUS_COLUMN AMBIGUOUS_FUNCTION AMBIGUOUS_PARAMETER AMBIGUOUS_ALIAS INVALID_COLUMN_REFERENCE INVALID_COLUMN_DEFINITION INVALID_CURSOR_DEFINITION INVALID_DATABASE_DEFINITION INVALID_FUNCTION_DEFINITION INVALID_PREPARED_STATEMENT_DEFINITION INVALID_SCHEMA_DEFINITION INVALID_TABLE_DEFINITION INVALID_OBJECT_DEFINITION WITH_CHECK_OPTION_VIOLATION INSUFFICIENT_RESOURCES DISK_FULL OUT_OF_MEMORY TOO_MANY_CONNECTIONS CONFIGURATION_LIMIT_EXCEEDED PROGRAM_LIMIT_EXCEEDED STATEMENT_TOO_COMPLEX TOO_MANY_COLUMNS TOO_MANY_ARGUMENTS OBJECT_NOT_IN_PREREQUISITE_STATE OBJECT_IN_USE CANT_CHANGE_RUNTIME_PARAM LOCK_NOT_AVAILABLE OPERATOR_INTERVENTION QUERY_CANCELED ADMIN_SHUTDOWN CRASH_SHUTDOWN CANNOT_CONNECT_NOW DATABASE_DROPPED SYSTEM_ERROR IO_ERROR UNDEFINED_FILE DUPLICATE_FILE SNAPSHOT_TOO_OLD CONFIG_FILE_ERROR LOCK_FILE_EXISTS FDW_ERROR FDW_COLUMN_NAME_NOT_FOUND FDW_DYNAMIC_PARAMETER_VALUE_NEEDED FDW_FUNCTION_SEQUENCE_ERROR FDW_INCONSISTENT_DESCRIPTOR_INFORMATION FDW_INVALID_ATTRIBUTE_VALUE FDW_INVALID_COLUMN_NAME FDW_INVALID_COLUMN_NUMBER FDW_INVALID_DATA_TYPE FDW_INVALID_DATA_TYPE_DESCRIPTORS FDW_INVALID_DESCRIPTOR_FIELD_IDENTIFIER FDW_INVALID_HANDLE FDW_INVALID_OPTION_INDEX FDW_INVALID_OPTION_NAME FDW_INVALID_STRING_LENGTH_OR_BUFFER_LENGTH FDW_INVALID_STRING_FORMAT FDW_INVALID_USE_OF_NULL_POINTER FDW_TOO_MANY_HANDLES FDW_OUT_OF_MEMORY FDW_NO_SCHEMAS FDW_OPTION_NAME_NOT_FOUND FDW_REPLY_HANDLE FDW_SCHEMA_NOT_FOUND FDW_TABLE_NOT_FOUND FDW_UNABLE_TO_CREATE_EXECUTION FDW_UNABLE_TO_CREATE_REPLY FDW_UNABLE_TO_ESTABLISH_CONNECTION PLPGSQL_ERROR RAISE_EXCEPTION NO_DATA_FOUND TOO_MANY_ROWS ASSERT_FAILURE INTERNAL_ERROR DATA_CORRUPTED INDEX_CORRUPTED "}, +// Forbid some cunstructs from other languages to improve autodetect. In fact +// "[a-z]:" is legal (as part of array slice), but improbabal. +illegal:/:==|\W\s*\(\*|(^|\s)\$[a-z]|\{\{|[a-z]:\s*$|\.\.\.|TO:|DO:/,contains:[ +// special handling of some words, which are reserved only in some contexts +{className:"keyword",variants:[{begin:/\bTEXT\s*SEARCH\b/},{begin:/\b(PRIMARY|FOREIGN|FOR(\s+NO)?)\s+KEY\b/},{begin:/\bPARALLEL\s+(UNSAFE|RESTRICTED|SAFE)\b/},{begin:/\bSTORAGE\s+(PLAIN|EXTERNAL|EXTENDED|MAIN)\b/},{begin:/\bMATCH\s+(FULL|PARTIAL|SIMPLE)\b/},{begin:/\bNULLS\s+(FIRST|LAST)\b/},{begin:/\bEVENT\s+TRIGGER\b/},{begin:/\b(MAPPING|OR)\s+REPLACE\b/},{begin:/\b(FROM|TO)\s+(PROGRAM|STDIN|STDOUT)\b/},{begin:/\b(SHARE|EXCLUSIVE)\s+MODE\b/},{begin:/\b(LEFT|RIGHT)\s+(OUTER\s+)?JOIN\b/},{begin:/\b(FETCH|MOVE)\s+(NEXT|PRIOR|FIRST|LAST|ABSOLUTE|RELATIVE|FORWARD|BACKWARD)\b/},{begin:/\bPRESERVE\s+ROWS\b/},{begin:/\bDISCARD\s+PLANS\b/},{begin:/\bREFERENCING\s+(OLD|NEW)\b/},{begin:/\bSKIP\s+LOCKED\b/},{begin:/\bGROUPING\s+SETS\b/},{begin:/\b(BINARY|INSENSITIVE|SCROLL|NO\s+SCROLL)\s+(CURSOR|FOR)\b/},{begin:/\b(WITH|WITHOUT)\s+HOLD\b/},{begin:/\bWITH\s+(CASCADED|LOCAL)\s+CHECK\s+OPTION\b/},{begin:/\bEXCLUDE\s+(TIES|NO\s+OTHERS)\b/},{begin:/\bFORMAT\s+(TEXT|XML|JSON|YAML)\b/},{begin:/\bSET\s+((SESSION|LOCAL)\s+)?NAMES\b/},{begin:/\bIS\s+(NOT\s+)?UNKNOWN\b/},{begin:/\bSECURITY\s+LABEL\b/},{begin:/\bSTANDALONE\s+(YES|NO|NO\s+VALUE)\b/},{begin:/\bWITH\s+(NO\s+)?DATA\b/},{begin:/\b(FOREIGN|SET)\s+DATA\b/},{begin:/\bSET\s+(CATALOG|CONSTRAINTS)\b/},{begin:/\b(WITH|FOR)\s+ORDINALITY\b/},{begin:/\bIS\s+(NOT\s+)?DOCUMENT\b/},{begin:/\bXML\s+OPTION\s+(DOCUMENT|CONTENT)\b/},{begin:/\b(STRIP|PRESERVE)\s+WHITESPACE\b/},{begin:/\bNO\s+(ACTION|MAXVALUE|MINVALUE)\b/},{begin:/\bPARTITION\s+BY\s+(RANGE|LIST|HASH)\b/},{begin:/\bAT\s+TIME\s+ZONE\b/},{begin:/\bGRANTED\s+BY\b/},{begin:/\bRETURN\s+(QUERY|NEXT)\b/},{begin:/\b(ATTACH|DETACH)\s+PARTITION\b/},{begin:/\bFORCE\s+ROW\s+LEVEL\s+SECURITY\b/},{begin:/\b(INCLUDING|EXCLUDING)\s+(COMMENTS|CONSTRAINTS|DEFAULTS|IDENTITY|INDEXES|STATISTICS|STORAGE|ALL)\b/},{begin:/\bAS\s+(ASSIGNMENT|IMPLICIT|PERMISSIVE|RESTRICTIVE|ENUM|RANGE)\b/}]}, +// functions named as keywords, followed by '(' +{begin:/\b(FORMAT|FAMILY|VERSION)\s*\(/}, +// INCLUDE ( ... ) in index_parameters in CREATE TABLE +{begin:/\bINCLUDE\s*\(/,keywords:"INCLUDE"}, +// not highlight RANGE if not in frame_clause (not 100% correct, but seems satisfactory) +{begin:/\bRANGE(?!\s*(BETWEEN|UNBOUNDED|CURRENT|[-0-9]+))/}, +// disable highlighting in commands CREATE AGGREGATE/COLLATION/DATABASE/OPERTOR/TEXT SEARCH .../TYPE +// and in PL/pgSQL RAISE ... USING +{begin:/\b(VERSION|OWNER|TEMPLATE|TABLESPACE|CONNECTION\s+LIMIT|PROCEDURE|RESTRICT|JOIN|PARSER|COPY|START|END|COLLATION|INPUT|ANALYZE|STORAGE|LIKE|DEFAULT|DELIMITER|ENCODING|COLUMN|CONSTRAINT|TABLE|SCHEMA)\s*=/}, +// PG_smth; HAS_some_PRIVILEGE +{ +// className: 'built_in', +begin:/\b(PG_\w+?|HAS_[A-Z_]+_PRIVILEGE)\b/,relevance:10}, +// extract +{begin:/\bEXTRACT\s*\(/,end:/\bFROM\b/,returnEnd:!0,keywords:{ +// built_in: 'EXTRACT', +type:"CENTURY DAY DECADE DOW DOY EPOCH HOUR ISODOW ISOYEAR MICROSECONDS MILLENNIUM MILLISECONDS MINUTE MONTH QUARTER SECOND TIMEZONE TIMEZONE_HOUR TIMEZONE_MINUTE WEEK YEAR"}}, +// xmlelement, xmlpi - special NAME +{begin:/\b(XMLELEMENT|XMLPI)\s*\(\s*NAME/,keywords:{ +// built_in: 'XMLELEMENT XMLPI', +keyword:"NAME"}}, +// xmlparse, xmlserialize +{begin:/\b(XMLPARSE|XMLSERIALIZE)\s*\(\s*(DOCUMENT|CONTENT)/,keywords:{ +// built_in: 'XMLPARSE XMLSERIALIZE', +keyword:"DOCUMENT CONTENT"}}, +// Sequences. We actually skip everything between CACHE|INCREMENT|MAXVALUE|MINVALUE and +// nearest following numeric constant. Without with trick we find a lot of "keywords" +// in 'avrasm' autodetection test... +{beginKeywords:"CACHE INCREMENT MAXVALUE MINVALUE",end:e.C_NUMBER_RE,returnEnd:!0,keywords:"BY CACHE INCREMENT MAXVALUE MINVALUE"}, +// WITH|WITHOUT TIME ZONE as part of datatype +{className:"type",begin:/\b(WITH|WITHOUT)\s+TIME\s+ZONE\b/}, +// INTERVAL optional fields +{className:"type",begin:/\bINTERVAL\s+(YEAR|MONTH|DAY|HOUR|MINUTE|SECOND)(\s+TO\s+(MONTH|HOUR|MINUTE|SECOND))?\b/}, +// Pseudo-types which allowed only as return type +{begin:/\bRETURNS\s+(LANGUAGE_HANDLER|TRIGGER|EVENT_TRIGGER|FDW_HANDLER|INDEX_AM_HANDLER|TSM_HANDLER)\b/,keywords:{keyword:"RETURNS",type:"LANGUAGE_HANDLER TRIGGER EVENT_TRIGGER FDW_HANDLER INDEX_AM_HANDLER TSM_HANDLER"}}, +// Known functions - only when followed by '(' +{begin:"\\b("+a+")\\s*\\("}, +// Types +{begin:"\\.("+i+")\\b"},{begin:"\\b("+i+")\\s+PATH\\b", +// in XMLTABLE +keywords:{keyword:"PATH", +// hopefully no one would use PATH type in XMLTABLE... +type:r.replace("PATH ","")}},{className:"type",begin:"\\b("+i+")\\b"}, +// Strings, see https://www.postgresql.org/docs/11/static/sql-syntax-lexical.html#SQL-SYNTAX-CONSTANTS +{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{className:"string",begin:"(e|E|u&|U&)'",end:"'",contains:[{begin:"\\\\."}],relevance:10},e.END_SAME_AS_BEGIN({begin:n,end:n,contains:[{ +// actually we want them all except SQL; listed are those with known implementations +// and XML + JSON just in case +subLanguage:["pgsql","perl","python","tcl","r","lua","java","php","ruby","bash","scheme","xml","json"],endsWithParent:!0}]}), +// identifiers in quotes +{begin:'"',end:'"',contains:[{begin:'""'}]}, +// numbers +e.C_NUMBER_MODE, +// comments +e.C_BLOCK_COMMENT_MODE,t, +// PL/pgSQL staff +// %ROWTYPE, %TYPE, $n +{className:"meta",variants:[{ +// %TYPE, %ROWTYPE +begin:"%(ROW)?TYPE",relevance:10},{ +// $n +begin:"\\$\\d+"},{ +// #compiler option +begin:"^#\\w",end:"$"}]}, +// <<labeles>> +{className:"symbol",begin:"<<\\s*[a-zA-Z_][a-zA-Z_0-9$]*\\s*>>",relevance:10}]}}}function bp(){if(xl)return Cl;return xl=1,Cl=function(e){const t=e.regex,n=/(?![A-Za-z0-9])(?![$])/,r=t.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,n),i=t.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,n),a=t.concat(/[A-Z]+/,n),o={scope:"variable",match:"\\$+"+r},s={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},l=e.inherit(e.APOS_STRING_MODE,{illegal:null}),c="[ \t\n]",u={scope:"string",variants:[e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(s)}),l,{begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(s),"on:begin":(e,t)=>{t.data._beginMatch=e[1]||e[2]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}},e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/})]},d={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"}, +// Binary w/ underscore support +{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"}, +// Octals w/ underscore support +{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"}, +// Hex w/ underscore support +// Decimals w/ underscore support, with optional fragments and scientific exponent (e) suffix. +{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},h=["false","null","true"],p=[ +// Magic constants: +// <https://www.php.net/manual/en/language.constants.predefined.php> +"__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__", +// Function that look like language construct or language construct that look like function: +// List of keywords that may not require parenthesis +"die","echo","exit","include","include_once","print","require","require_once", +// These are not language construct (function) but operate on the currently-executing function and can access the current symbol table +// 'compact extract func_get_arg func_get_args func_num_args get_called_class get_parent_class ' + +// Other keywords: +// <https://www.php.net/manual/en/reserved.php> +// <https://www.php.net/manual/en/language.types.type-juggling.php> +"array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],g=[ +// Standard PHP library: +// <https://www.php.net/manual/en/book.spl.php> +"Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError", +// Reserved interfaces: +// <https://www.php.net/manual/en/reserved.interfaces.php> +"ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap", +// Reserved classes: +// <https://www.php.net/manual/en/reserved.classes.php> +"Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],m={keyword:p,literal:(e=>{const t=[];return e.forEach((e=>{t.push(e),e.toLowerCase()===e?t.push(e.toUpperCase()):t.push(e.toLowerCase())})),t})(h),built_in:g},_=e=>e.map((e=>e.replace(/\|\d+$/,""))),b={variants:[{match:[/new/,t.concat(c,"+"), +// to prevent built ins from being confused as the class constructor call +t.concat("(?!",_(g).join("\\b|"),"\\b)"),i],scope:{1:"keyword",4:"title.class"}}]},f=t.concat(r,"\\b(?!\\()"),y={variants:[{match:[t.concat(/::/,t.lookahead(/(?!class\b)/)),f],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[i,t.concat(/::/,t.lookahead(/(?!class\b)/)),f],scope:{1:"title.class",3:"variable.constant"}},{match:[i,t.concat("::",t.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[i,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},v={scope:"attr",match:t.concat(r,t.lookahead(":"),t.lookahead(/(?!::)/))},E={relevance:0,begin:/\(/,end:/\)/,keywords:m,contains:[v,o,y,e.C_BLOCK_COMMENT_MODE,u,d,b]},S={relevance:0,match:[/\b/, +// to prevent keywords from being confused as the function title +t.concat("(?!fn\\b|function\\b|",_(p).join("\\b|"),"|",_(g).join("\\b|"),"\\b)"),r,t.concat(c,"*"),t.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[E]};E.contains.push(S);const T=[v,y,e.C_BLOCK_COMMENT_MODE,u,d,b],C={begin:t.concat(/#\[\s*\\?/,t.either(i,a)),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:h,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:h,keyword:["new","array"]},contains:["self",...T]},...T,{scope:"meta",variants:[{match:i},{match:a}]}]};return{case_insensitive:!1,keywords:m,contains:[C,e.HASH_COMMENT_MODE,e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:e.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},{scope:"meta",variants:[{begin:/<\?php/,relevance:10}, +// boost for obvious PHP +{begin:/<\?=/}, +// less relevant per PSR-1 which says not to use short-tags +{begin:/<\?/,relevance:.1},{begin:/\?>/}]},{scope:"variable.language",match:/\$this\b/},o,S,y,{match:[/const/,/\s/,r],scope:{1:"keyword",3:"variable.constant"}},b,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{begin:"=>", +// No markup, just a relevance booster +endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:m,contains:["self",C,o,y,e.C_BLOCK_COMMENT_MODE,u,d]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]}, +// both use and namespace still use "old style" rules (vs multi-match) +// because the namespace name can include `\` and we still want each +// element to be treated as its own *individual* title +{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[ +// TODO: title.function vs title.class +{match:/\b(as|const|function)\b/,scope:"keyword"}, +// TODO: could be title.class or title.function +e.UNDERSCORE_TITLE_MODE]},u,d]}}}function fp(){if(Al)return kl;return Al=1,kl=function(e){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[ +// We don't want the php closing tag ?> to close the PHP block when +// inside any of the following blocks: +{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},e.inherit(e.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}}function yp(){if(Nl)return wl;return Nl=1,wl=function(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}}function vp(){if(Rl)return Ol;return Rl=1,Ol=function(e){return{name:"Pony",keywords:{keyword:"actor addressof and as be break class compile_error compile_intrinsic consume continue delegate digestof do else elseif embed end error for fun if ifdef in interface is isnt lambda let match new not object or primitive recover repeat return struct then trait try type until use var where while with xor",meta:"iso val tag trn box ref",literal:"this false true"},contains:[{className:"type",begin:"\\b_?[A-Z][\\w]*",relevance:0},{className:"string",begin:'"""',end:'"""',relevance:10},{className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE]},{className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE],relevance:0},{begin:e.IDENT_RE+"'",relevance:0},{className:"number",begin:"(-?)(\\b0[xX][a-fA-F0-9]+|\\b0[bB][01]+|(\\b\\d+(_\\d+)?(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",relevance:0},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}}}function Ep(){if(Dl)return Il;return Dl=1,Il=function(e){const t={$pattern:/-?[A-z\.\-]+\b/,keyword:"if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter", +// "echo" relevance has been set to 0 to avoid auto-detect conflicts with shell transcripts +built_in:"ac asnp cat cd CFS chdir clc clear clhy cli clp cls clv cnsn compare copy cp cpi cpp curl cvpa dbp del diff dir dnsn ebp echo|0 epal epcsv epsn erase etsn exsn fc fhx fl ft fw gal gbp gc gcb gci gcm gcs gdr gerr ghy gi gin gjb gl gm gmo gp gps gpv group gsn gsnp gsv gtz gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn irm ise iwmi iwr kill lp ls man md measure mi mount move mp mv nal ndr ni nmo npssc nsn nv ogv oh popd ps pushd pwd r rbp rcjb rcsn rd rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp rujb rv rvpa rwmi sajb sal saps sasv sbp sc scb select set shcm si sl sleep sls sort sp spjb spps spsv start stz sujb sv swmi tee trcm type wget where wjb write"},n={begin:"`[\\s\\S]",relevance:0},r={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},i={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[n,r,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},a={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},o=e.inherit(e.COMMENT(null,null),{variants:[ +/* single-line comment */ +{begin:/#/,end:/$/}, +/* multi-line comment */ +{begin:/<#/,end:/#>/}],contains:[{className:"doctag",variants:[ +/* no paramater help tags */ +{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/}, +/* one parameter help tags */ +{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]}]}),s={className:"built_in",variants:[{begin:"(".concat("Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|Mount|Out|Publish|Restore|Save|Sync|Unpublish|Update|Approve|Assert|Build|Complete|Confirm|Deny|Deploy|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where",")+(-)[\\w\\d]+")}]},l={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[e.TITLE_MODE]},c={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:/\w[\w\d]*((-)[\w\d]+)*/,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[r]}]},u={begin:/using\s/,end:/$/,returnBegin:!0,contains:[i,a,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},d={variants:[ +// PS literals are pretty verbose so it's a good idea to accent them a bit. +{className:"operator",begin:"(".concat("-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor",")\\b")},{className:"literal",begin:/(-){1,2}[\w\d-]+/,relevance:0}]},h={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:"(".concat(t.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},e.inherit(e.TITLE_MODE,{endsParent:!0})]},p=[ +// STATIC_MEMBER, +h,o,n,e.NUMBER_MODE,i,a, +// PS_NEW_OBJECT_TYPE, +s,r,{className:"literal",begin:/\$(null|true|false)\b/},{className:"selector-tag",begin:/@\B/,relevance:0}],g={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",p,{begin:"("+["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"].join("|")+")",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})};return h.contains.unshift(g),{name:"PowerShell",aliases:["pwsh","ps","ps1"],case_insensitive:!0,keywords:t,contains:p.concat(l,c,u,d,g)}}}function Sp(){if(Ll)return Ml;return Ll=1,Ml=function(e){const t=e.regex,n=["displayHeight","displayWidth","mouseY","mouseX","mousePressed","pmouseX","pmouseY","key","keyCode","pixels","focused","frameCount","frameRate","height","width","size","createGraphics","beginDraw","createShape","loadShape","PShape","arc","ellipse","line","point","quad","rect","triangle","bezier","bezierDetail","bezierPoint","bezierTangent","curve","curveDetail","curvePoint","curveTangent","curveTightness","shape","shapeMode","beginContour","beginShape","bezierVertex","curveVertex","endContour","endShape","quadraticVertex","vertex","ellipseMode","noSmooth","rectMode","smooth","strokeCap","strokeJoin","strokeWeight","mouseClicked","mouseDragged","mouseMoved","mousePressed","mouseReleased","mouseWheel","keyPressed","keyPressedkeyReleased","keyTyped","print","println","save","saveFrame","day","hour","millis","minute","month","second","year","background","clear","colorMode","fill","noFill","noStroke","stroke","alpha","blue","brightness","color","green","hue","lerpColor","red","saturation","modelX","modelY","modelZ","screenX","screenY","screenZ","ambient","emissive","shininess","specular","add","createImage","beginCamera","camera","endCamera","frustum","ortho","perspective","printCamera","printProjection","cursor","frameRate","noCursor","exit","loop","noLoop","popStyle","pushStyle","redraw","binary","boolean","byte","char","float","hex","int","str","unbinary","unhex","join","match","matchAll","nf","nfc","nfp","nfs","split","splitTokens","trim","append","arrayCopy","concat","expand","reverse","shorten","sort","splice","subset","box","sphere","sphereDetail","createInput","createReader","loadBytes","loadJSONArray","loadJSONObject","loadStrings","loadTable","loadXML","open","parseXML","saveTable","selectFolder","selectInput","beginRaw","beginRecord","createOutput","createWriter","endRaw","endRecord","PrintWritersaveBytes","saveJSONArray","saveJSONObject","saveStream","saveStrings","saveXML","selectOutput","popMatrix","printMatrix","pushMatrix","resetMatrix","rotate","rotateX","rotateY","rotateZ","scale","shearX","shearY","translate","ambientLight","directionalLight","lightFalloff","lights","lightSpecular","noLights","normal","pointLight","spotLight","image","imageMode","loadImage","noTint","requestImage","tint","texture","textureMode","textureWrap","blend","copy","filter","get","loadPixels","set","updatePixels","blendMode","loadShader","PShaderresetShader","shader","createFont","loadFont","text","textFont","textAlign","textLeading","textMode","textSize","textWidth","textAscent","textDescent","abs","ceil","constrain","dist","exp","floor","lerp","log","mag","map","max","min","norm","pow","round","sq","sqrt","acos","asin","atan","atan2","cos","degrees","radians","sin","tan","noise","noiseDetail","noiseSeed","random","randomGaussian","randomSeed"],r=e.IDENT_RE,i={variants:[{match:t.concat(t.either(...n),t.lookahead(/\s*\(/)),className:"built_in"},{relevance:0,match:t.concat(/\b(?!for|if|while)/,r,t.lookahead(/\s*\(/)),className:"title.function"}]},a={match:[/new\s+/,r],className:{1:"keyword",2:"class.title"}},o={relevance:0,match:[/\./,r],className:{2:"property"}},s={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,r]},{match:[/class/,/\s+/,r]}],className:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}};return{name:"Processing",aliases:["pde"],keywords:{keyword:["abstract","assert","break","case","catch","const","continue","default","else","enum","final","finally","for","if","import","instanceof","long","native","new","package","private","private","protected","protected","public","public","return","static","strictfp","switch","synchronized","throw","throws","transient","try","void","volatile","while"],literal:"P2D P3D HALF_PI PI QUARTER_PI TAU TWO_PI null true false",title:"setup draw",variable:"super this",built_in:[...n,"BufferedReader","PVector","PFont","PImage","PGraphics","HashMap","String","Array","FloatDict","ArrayList","FloatList","IntDict","IntList","JSONArray","JSONObject","Object","StringDict","StringList","Table","TableRow","XML"],type:["boolean","byte","char","color","double","float","int","long","short"]},contains:[s,a,i,o,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}}function Tp(){if(jl)return Pl;return jl=1,Pl=function(e){return{name:"Python profiler",contains:[e.C_NUMBER_MODE,{begin:"[a-zA-Z_][\\da-zA-Z_]+\\.[\\da-zA-Z_]{1,3}",end:":",excludeEnd:!0},{begin:"(ncalls|tottime|cumtime)",end:"$",keywords:"ncalls tottime|10 cumtime|10 filename",relevance:10},{begin:"function calls",end:"$",contains:[e.C_NUMBER_MODE],relevance:10},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"\\(",end:"\\)$",excludeBegin:!0,excludeEnd:!0,relevance:0}]}}}function Cp(){if(Bl)return Fl;return Bl=1,Fl=function(e){const t={begin:/\(/,end:/\)/,relevance:0},n={begin:/\[/,end:/\]/},r={className:"comment",begin:/%/,end:/$/,contains:[e.PHRASAL_WORDS_MODE]},i={className:"string",begin:/`/,end:/`/,contains:[e.BACKSLASH_ESCAPE]},a=[{begin:/[a-z][A-Za-z0-9_]*/,relevance:0},{className:"symbol",variants:[{begin:/[A-Z][a-zA-Z0-9_]*/},{begin:/_[A-Za-z0-9_]*/}],relevance:0},t,{ +// relevance booster +begin:/:-/},n,r,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,i,{className:"string", +// 0'a etc. +begin:/0'(\\'|.)/},{className:"string",begin:/0'\\s/},e.C_NUMBER_MODE];return t.contains=a,n.contains=a,{name:"Prolog",contains:a.concat([{ +// relevance booster +begin:/\.$/}])}}}function xp(){if(Gl)return Ul;return Gl=1,Ul=function(e){const t="[ \\t\\f]*",n=t+"[:=]"+t,r="[ \\t\\f]+",i="([^\\\\:= \\t\\f\\n]|\\\\.)+",a={ +// skip DELIM +end:"("+n+"|"+r+")",relevance:0,starts:{ +// value: everything until end of line (again, taking into account backslashes) +className:"string",end:/$/,relevance:0,contains:[{begin:"\\\\\\\\"},{begin:"\\\\\\n"}]}};return{name:".properties",disableAutodetect:!0,case_insensitive:!0,illegal:/\S/,contains:[e.COMMENT("^\\s*[!#]","$"), +// key: everything until whitespace or = or : (taking into account backslashes) +// case of a key-value pair +{returnBegin:!0,variants:[{begin:i+n},{begin:i+r}],contains:[{className:"attr",begin:i,endsParent:!0}],starts:a}, +// case of an empty key +{className:"attr",begin:i+t+"$"}]}}}function kp(){if($l)return zl;return $l=1,zl=function(e){const t={match:[/(message|enum|service)\s+/,e.IDENT_RE],scope:{1:"keyword",2:"title.class"}};return{name:"Protocol Buffers",aliases:["proto"],keywords:{keyword:["package","import","option","optional","required","repeated","group","oneof"],type:["double","float","int32","int64","uint32","uint64","sint32","sint64","fixed32","fixed64","sfixed32","sfixed64","bool","string","bytes"],literal:["true","false"]},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t,{className:"function",beginKeywords:"rpc",end:/[{;]/,excludeEnd:!0,keywords:"rpc returns"},{ +// match enum items (relevance) +// BLAH = ...; +begin:/^\s*[A-Z_]+(?=\s*=[^\n]+;$)/}]}}}function Ap(){if(ql)return Yl;return ql=1,Yl=function(e){const t=e.COMMENT("#","$"),n="([A-Za-z_]|::)(\\w|::)*",r=e.inherit(e.TITLE_MODE,{begin:n}),i={className:"variable",begin:"\\$"+n},a={className:"string",contains:[e.BACKSLASH_ESCAPE,i],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]};return{name:"Puppet",aliases:["pp"],contains:[t,i,a,{beginKeywords:"class",end:"\\{|;",illegal:/=/,contains:[r,t]},{beginKeywords:"define",end:/\{/,contains:[{className:"section",begin:e.IDENT_RE,endsParent:!0}]},{begin:e.IDENT_RE+"\\s+\\{",returnBegin:!0,end:/\S/,contains:[{className:"keyword",begin:e.IDENT_RE,relevance:.2},{begin:/\{/,end:/\}/,keywords:{keyword: +/* language keywords */"and case default else elsif false if in import enherits node or true undef unless main settings $string ",literal: +/* metaparameters */"alias audit before loglevel noop require subscribe tag owner ensure group mode name|0 changes context force incl lens load_path onlyif provider returns root show_diff type_check en_address ip_address realname command environment hour monute month monthday special target weekday creates cwd ogoutput refresh refreshonly tries try_sleep umask backup checksum content ctime force ignore links mtime purge recurse recurselimit replace selinux_ignore_defaults selrange selrole seltype seluser source souirce_permissions sourceselect validate_cmd validate_replacement allowdupe attribute_membership auth_membership forcelocal gid ia_load_module members system host_aliases ip allowed_trunk_vlans description device_url duplex encapsulation etherchannel native_vlan speed principals allow_root auth_class auth_type authenticate_user k_of_n mechanisms rule session_owner shared options device fstype enable hasrestart directory present absent link atboot blockdevice device dump pass remounts poller_tag use message withpath adminfile allow_virtual allowcdrom category configfiles flavor install_options instance package_settings platform responsefile status uninstall_options vendor unless_system_user unless_uid binary control flags hasstatus manifest pattern restart running start stop allowdupe auths expiry gid groups home iterations key_membership keys managehome membership password password_max_age password_min_age profile_membership profiles project purge_ssh_keys role_membership roles salt shell uid baseurl cost descr enabled enablegroups exclude failovermethod gpgcheck gpgkey http_caching include includepkgs keepalive metadata_expire metalink mirrorlist priority protect proxy proxy_password proxy_username repo_gpgcheck s3_enabled skip_if_unavailable sslcacert sslclientcert sslclientkey sslverify mounted",built_in: +/* core facts */"architecture augeasversion blockdevices boardmanufacturer boardproductname boardserialnumber cfkey dhcp_servers domain ec2_ ec2_userdata facterversion filesystems ldom fqdn gid hardwareisa hardwaremodel hostname id|0 interfaces ipaddress ipaddress_ ipaddress6 ipaddress6_ iphostnumber is_virtual kernel kernelmajversion kernelrelease kernelversion kernelrelease kernelversion lsbdistcodename lsbdistdescription lsbdistid lsbdistrelease lsbmajdistrelease lsbminordistrelease lsbrelease macaddress macaddress_ macosx_buildversion macosx_productname macosx_productversion macosx_productverson_major macosx_productversion_minor manufacturer memoryfree memorysize netmask metmask_ network_ operatingsystem operatingsystemmajrelease operatingsystemrelease osfamily partitions path physicalprocessorcount processor processorcount productname ps puppetversion rubysitedir rubyversion selinux selinux_config_mode selinux_config_policy selinux_current_mode selinux_current_mode selinux_enforced selinux_policyversion serialnumber sp_ sshdsakey sshecdsakey sshrsakey swapencrypted swapfree swapsize timezone type uniqueid uptime uptime_days uptime_hours uptime_seconds uuid virtual vlans xendomains zfs_version zonenae zones zpool_version"},relevance:0,contains:[a,t,{begin:"[a-zA-Z_]+\\s*=>",returnBegin:!0,end:"=>",contains:[{className:"attr",begin:e.IDENT_RE}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},i]}],relevance:0}]}}}function wp(){if(Vl)return Hl;return Vl=1,Hl=function(e){return{name:"PureBASIC",aliases:["pb","pbi"],keywords: +// PB IDE color: #006666 (Blue Stone) + Bold +// Keywords from all version of PureBASIC 5.00 upward ... +"Align And Array As Break CallDebugger Case CompilerCase CompilerDefault CompilerElse CompilerElseIf CompilerEndIf CompilerEndSelect CompilerError CompilerIf CompilerSelect CompilerWarning Continue Data DataSection Debug DebugLevel Declare DeclareC DeclareCDLL DeclareDLL DeclareModule Default Define Dim DisableASM DisableDebugger DisableExplicit Else ElseIf EnableASM EnableDebugger EnableExplicit End EndDataSection EndDeclareModule EndEnumeration EndIf EndImport EndInterface EndMacro EndModule EndProcedure EndSelect EndStructure EndStructureUnion EndWith Enumeration EnumerationBinary Extends FakeReturn For ForEach ForEver Global Gosub Goto If Import ImportC IncludeBinary IncludeFile IncludePath Interface List Macro MacroExpandedCount Map Module NewList NewMap Next Not Or Procedure ProcedureC ProcedureCDLL ProcedureDLL ProcedureReturn Protected Prototype PrototypeC ReDim Read Repeat Restore Return Runtime Select Shared Static Step Structure StructureUnion Swap Threaded To UndefineMacro Until Until UnuseModule UseModule Wend While With XIncludeFile XOr",contains:[ +// COMMENTS | PB IDE color: #00AAAA (Persian Green) +e.COMMENT(";","$",{relevance:0}),{ +// PROCEDURES DEFINITIONS +className:"function",begin:"\\b(Procedure|Declare)(C|CDLL|DLL)?\\b",end:"\\(",excludeEnd:!0,returnBegin:!0,contains:[{ +// PROCEDURE KEYWORDS | PB IDE color: #006666 (Blue Stone) + Bold +className:"keyword",begin:"(Procedure|Declare)(C|CDLL|DLL)?",excludeEnd:!0},{ +// PROCEDURE RETURN TYPE SETTING | PB IDE color: #000000 (Black) +className:"type",begin:"\\.\\w*"},e.UNDERSCORE_TITLE_MODE]},{ +// PB IDE color: #0080FF (Azure Radiance) +className:"string",begin:'(~)?"',end:'"',illegal:"\\n"},{ +// PB IDE color: #924B72 (Cannon Pink) +// "#" + a letter or underscore + letters, digits or underscores + (optional) "$" +className:"symbol",begin:"#[a-zA-Z_]\\w*\\$?"}]}}}function Np(){if(Ql)return Wl;return Ql=1,Wl=function(e){const t=e.regex,n=new RegExp("[\\p{XID_Start}_]\\p{XID_Continue}*","u"),r=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],i={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:r,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},a={className:"meta",begin:/^(>>>|\.\.\.) /},o={className:"subst",begin:/\{/,end:/\}/,keywords:i,illegal:/#/},s={begin:/\{\{/,relevance:0},l={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,a],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,a],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,a,s,o]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,a,s,o]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,s,o]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,s,o]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},c="[0-9](_?[0-9])*",u=`(\\b(${c}))?\\.(${c})|\\b(${c})\\.`,d=`\\b|${r.join("|")}`,h={className:"number",relevance:0,variants:[ +// exponentfloat, pointfloat +// https://docs.python.org/3.9/reference/lexical_analysis.html#floating-point-literals +// optionally imaginary +// https://docs.python.org/3.9/reference/lexical_analysis.html#imaginary-literals +// Note: no leading \b because floats can start with a decimal point +// and we don't want to mishandle e.g. `fn(.5)`, +// no trailing \b for pointfloat because it can end with a decimal point +// and we don't want to mishandle e.g. `0..hex()`; this should be safe +// because both MUST contain a decimal point and so cannot be confused with +// the interior part of an identifier +{begin:`(\\b(${c})|(${u}))[eE][+-]?(${c})[jJ]?(?=${d})`},{begin:`(${u})[jJ]?`}, +// decinteger, bininteger, octinteger, hexinteger +// https://docs.python.org/3.9/reference/lexical_analysis.html#integer-literals +// optionally "long" in Python 2 +// https://docs.python.org/2.7/reference/lexical_analysis.html#integer-and-long-integer-literals +// decinteger is optionally imaginary +// https://docs.python.org/3.9/reference/lexical_analysis.html#imaginary-literals +{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${d})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${d})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${d})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${d})`}, +// imagnumber (digitpart-based) +// https://docs.python.org/3.9/reference/lexical_analysis.html#imaginary-literals +{begin:`\\b(${c})[jJ](?=${d})`}]},p={className:"comment",begin:t.lookahead(/# type:/),end:/$/,keywords:i,contains:[{ +// prevent keywords from coloring `type` +begin:/# type:/}, +// comment within a datatype comment includes no keywords +{begin:/#/,end:/\b\B/,endsWithParent:!0}]},g={className:"params",variants:[ +// Exclude params in functions without params +{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:["self",a,h,l,e.HASH_COMMENT_MODE]}]};return o.contains=[l,h,a],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:i,illegal:/(<\/|\?)|=>/,contains:[a,h,{ +// very common convention +scope:"variable.language",match:/\bself\b/},{ +// eat "if" prior to string so that it won't accidentally be +// labeled as an f-string +beginKeywords:"if",relevance:0},{match:/\bor\b/,scope:"keyword"},l,p,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[g]},{variants:[{match:[/\bclass/,/\s+/,n,/\s*/,/\(\s*/,n,/\s*\)/]},{match:[/\bclass/,/\s+/,n]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[h,g,l]}]}}}function Op(){if(Xl)return Kl;return Xl=1,Kl=function(e){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{ +// a space separates the REPL prefix from the actual code +// this is purely for cleaner HTML output +end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}}function Rp(){if(Jl)return Zl;return Jl=1,Zl=function(e){return{name:"Q",aliases:["k","kdb"],keywords:{$pattern:/(`?)[A-Za-z0-9_]+\b/,keyword:"do while select delete by update from",literal:"0b 1b",built_in:"neg not null string reciprocal floor ceiling signum mod xbar xlog and or each scan over prior mmu lsq inv md5 ltime gtime count first var dev med cov cor all any rand sums prds mins maxs fills deltas ratios avgs differ prev next rank reverse iasc idesc asc desc msum mcount mavg mdev xrank mmin mmax xprev rotate distinct group where flip type key til get value attr cut set upsert raze union inter except cross sv vs sublist enlist read0 read1 hopen hclose hdel hsym hcount peach system ltrim rtrim trim lower upper ssr view tables views cols xcols keys xkey xcol xasc xdesc fkeys meta lj aj aj0 ij pj asof uj ww wj wj1 fby xgroup ungroup ej save load rsave rload show csv parse eval min max avg wavg wsum sin cos tan sum",type:"`float `double int `timestamp `timespan `datetime `time `boolean `symbol `char `byte `short `long `real `month `date `minute `second `guid"},contains:[e.C_LINE_COMMENT_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}}function Ip(){if(tc)return ec;return tc=1,ec=function(e){const t="[a-zA-Z_][a-zA-Z0-9\\._]*",n={className:"attribute",begin:"\\bid\\s*:",starts:{className:"string",end:t,returnEnd:!1}},r={begin:t+"\\s*:",returnBegin:!0,contains:[{className:"attribute",begin:t,end:"\\s*:",excludeEnd:!0,relevance:0}],relevance:0},i={begin:e.regex.concat(t,/\s*\{/),end:/\{/,returnBegin:!0,relevance:0,contains:[e.inherit(e.TITLE_MODE,{begin:t})]};return{name:"QML",aliases:["qt"],case_insensitive:!1,keywords:{keyword:"in of on if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await import",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Behavior bool color coordinate date double enumeration font geocircle georectangle geoshape int list matrix4x4 parent point quaternion real rect size string url variant vector2d vector3d vector4d Promise"},contains:[{className:"meta",begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{ +// template string +className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,{className:"subst",begin:"\\$\\{",end:"\\}"}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:e.C_NUMBER_RE}],relevance:0},{ +// "value" container +begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.REGEXP_MODE,{ +// E4X / JSX +begin:/</,end:/>\s*[);\]]/,relevance:0,subLanguage:"xml"}],relevance:0},{className:"keyword",begin:"\\bsignal\\b",starts:{className:"string",end:"(\\(|:|=|;|,|//|/\\*|$)",returnEnd:!0}},{className:"keyword",begin:"\\bproperty\\b",starts:{className:"string",end:"(:|=|;|,|//|/\\*|$)",returnEnd:!0}},{className:"function",beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/[A-Za-z$_][0-9A-Za-z$_]*/}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}],illegal:/\[|%/},{ +// hack: prevents detection of keywords after dots +begin:"\\."+e.IDENT_RE,relevance:0},n,r,i],illegal:/#/}}}function Dp(){if(rc)return nc;return rc=1,nc=function(e){const t=e.regex,n=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,r=t.either( +// Special case: only hexadecimal binary powers can contain fractions +/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/, +// Hexadecimal numbers without fraction and optional binary power +/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/, +// Decimal numbers +/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),i=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,a=t.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:n,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in: +// Builtin constants +"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[ +// Roxygen comments +e.COMMENT(/#'/,/$/,{contains:[{ +// Handle `@examples` separately to cause all subsequent code +// until the next `@`-tag on its own line to be kept as-is, +// preventing highlighting. This code is example R code, so nested +// doctags shouldn’t be treated as such. See +// `test/markup/r/roxygen.txt` for an example. +scope:"doctag",match:/@examples/,starts:{end:t.lookahead(t.either( +// end if another doc comment +/\n^#'\s*(?=@[a-zA-Z]+)/, +// or a line with no comment +/\n^(?!#')/)),endsParent:!0}},{ +// Handle `@param` to highlight the parameter name following +// after. +scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:n},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),e.HASH_COMMENT_MODE,{scope:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]}, +// Matching numbers immediately following punctuation and operators is +// tricky since we need to look at the character ahead of a number to +// ensure the number is not part of an identifier, and we cannot use +// negative look-behind assertions. So instead we explicitly handle all +// possible combinations of (operator|punctuation), number. +// TODO: replace with negative look-behind when available +// { begin: /(?<![a-zA-Z0-9._])0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/ }, +// { begin: /(?<![a-zA-Z0-9._])0[xX][0-9a-fA-F]+([pP][+-]?\d+)?[Li]?/ }, +// { begin: /(?<![a-zA-Z0-9._])(\d+(\.\d*)?|\.\d+)([eE][+-]?\d+)?[Li]?/ } +{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[i,r]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,r]},{scope:{1:"punctuation",2:"number"},match:[a,r]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/, +// not part of an identifier, or start of document +r]}]}, +// Operators/punctuation when they're not directly followed by numbers +{ +// Relevance boost for the most common assignment form. +scope:{3:"operator"},match:[n,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:i},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:a},{ +// Escaped identifier +begin:"`",end:"`",contains:[{begin:/\\./}]}]}}}function Mp(){if(ac)return ic;return ac=1,ic=function(e){return{name:"ReasonML",aliases:["re"],keywords:{$pattern:/[a-z_]\w*!?/,keyword:["and","as","asr","assert","begin","class","constraint","do","done","downto","else","end","esfun","exception","external","for","fun","function","functor","if","in","include","inherit","initializer","land","lazy","let","lor","lsl","lsr","lxor","mod","module","mutable","new","nonrec","object","of","open","or","pri","pub","rec","sig","struct","switch","then","to","try","type","val","virtual","when","while","with"],built_in:["array","bool","bytes","char","exn|5","float","int","int32","int64","list","lazy_t|5","nativeint|5","ref","string","unit"],literal:["true","false"]},illegal:/(:-|:=|\$\{|\+=)/,contains:[{scope:"literal",match:/\[(\|\|)?\]|\(\)/,relevance:0},e.C_LINE_COMMENT_MODE,e.COMMENT(/\/\*/,/\*\//,{illegal:/^(#,\/\/)/}),{ +/* type variable */ +scope:"symbol",match:/\'[A-Za-z_](?!\')[\w\']*/ +/* the grammar is ambiguous on how 'a'b should be interpreted but not the compiler */},{ +/* polymorphic variant */ +scope:"type",match:/`[A-Z][\w\']*/},{ +/* module or constructor */ +scope:"type",match:/\b[A-Z][\w\']*/,relevance:0},{ +/* don't color identifiers, but safely catch all identifiers with ' */ +match:/[a-z_]\w*\'[\w\']*/,relevance:0},{scope:"operator",match:/\s+(\|\||\+[\+\.]?|\*[\*\/\.]?|\/[\.]?|\.\.\.|\|>|&&|===?)\s+/,relevance:0},e.inherit(e.APOS_STRING_MODE,{scope:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{scope:"number",variants:[{match:/\b0[xX][a-fA-F0-9_]+[Lln]?/},{match:/\b0[oO][0-7_]+[Lln]?/},{match:/\b0[bB][01_]+[Lln]?/},{match:/\b[0-9][0-9_]*([Lln]|(\.[0-9_]*)?([eE][-+]?[0-9_]+)?)/}],relevance:0}]}}}function Lp(){if(sc)return oc;return sc=1,oc=function(e){return{name:"RenderMan RIB",keywords:"ArchiveRecord AreaLightSource Atmosphere Attribute AttributeBegin AttributeEnd Basis Begin Blobby Bound Clipping ClippingPlane Color ColorSamples ConcatTransform Cone CoordinateSystem CoordSysTransform CropWindow Curves Cylinder DepthOfField Detail DetailRange Disk Displacement Display End ErrorHandler Exposure Exterior Format FrameAspectRatio FrameBegin FrameEnd GeneralPolygon GeometricApproximation Geometry Hider Hyperboloid Identity Illuminate Imager Interior LightSource MakeCubeFaceEnvironment MakeLatLongEnvironment MakeShadow MakeTexture Matte MotionBegin MotionEnd NuPatch ObjectBegin ObjectEnd ObjectInstance Opacity Option Orientation Paraboloid Patch PatchMesh Perspective PixelFilter PixelSamples PixelVariance Points PointsGeneralPolygons PointsPolygons Polygon Procedural Projection Quantize ReadArchive RelativeDetail ReverseOrientation Rotate Scale ScreenWindow ShadingInterpolation ShadingRate Shutter Sides Skew SolidBegin SolidEnd Sphere SubdivisionMesh Surface TextureCoordinates Torus Transform TransformBegin TransformEnd TransformPoints Translate TrimCurve WorldBegin WorldEnd",illegal:"</",contains:[e.HASH_COMMENT_MODE,e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]}}}function Pp(){if(cc)return lc;return cc=1,lc=function(e){const t="[a-zA-Z-_][^\\n{]+\\{",n={className:"attribute",begin:/[a-zA-Z-_]+/,end:/\s*:/,excludeEnd:!0,starts:{end:";",relevance:0,contains:[{className:"variable",begin:/\.[a-zA-Z-_]+/},{className:"keyword",begin:/\(optional\)/}]}};return{name:"Roboconf",aliases:["graph","instances"],case_insensitive:!0,keywords:"import",contains:[ +// Facet sections +{begin:"^facet "+t,end:/\}/,keywords:"facet",contains:[n,e.HASH_COMMENT_MODE]}, +// Instance sections +{begin:"^\\s*instance of "+t,end:/\}/,keywords:"name count channels instance-data instance-state instance of",illegal:/\S/,contains:["self",n,e.HASH_COMMENT_MODE]}, +// Component sections +{begin:"^"+t,end:/\}/,contains:[n,e.HASH_COMMENT_MODE]}, +// Comments +e.HASH_COMMENT_MODE]}}}function jp(){if(dc)return uc;return dc=1,uc=function(e){const t="foreach do while for if from to step else on-error and or not in",n="true false yes no nothing nil null",r={className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},i={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,r,{className:"variable",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]}]},a={className:"string",begin:/'/,end:/'/};return{name:"MikroTik RouterOS script",aliases:["mikrotik"],case_insensitive:!0,keywords:{$pattern:/:?[\w-]+/,literal:n,keyword:t+" :"+t.split(" ").join(" :")+" :"+"global local beep delay put len typeof pick log time set find environment terminal error execute parse resolve toarray tobool toid toip toip6 tonum tostr totime".split(" ").join(" :")},contains:[{ +// illegal syntax +variants:[{ +// -- comment +begin:/\/\*/,end:/\*\//},{ +// Stan comment +begin:/\/\//,end:/$/},{ +// HTML tags +begin:/<\//,end:/>/}],illegal:/./},e.COMMENT("^#","$"),i,a,r, +// attribute=value +{ +// > is to avoid matches with => in other grammars +begin:/[\w-]+=([^\s{}[\]()>]+)/,relevance:0,returnBegin:!0,contains:[{className:"attribute",begin:/[^=]+/},{begin:/=/,endsWithParent:!0,relevance:0,contains:[i,a,r,{className:"literal",begin:"\\b("+n.split(" ").join("|")+")\\b"},{ +// Do not format unclassified values. Needed to exclude highlighting of values as built_in. +begin:/("[^"]*"|[^\s{}[\]]+)/} +/* + { + // IPv4 addresses and subnets + className: 'number', + variants: [ + {begin: IPADDR_wBITMASK+'(,'+IPADDR_wBITMASK+')*'}, //192.168.0.0/24,1.2.3.0/24 + {begin: IPADDR+'-'+IPADDR}, // 192.168.0.1-192.168.0.3 + {begin: IPADDR+'(,'+IPADDR+')*'}, // 192.168.0.1,192.168.0.34,192.168.24.1,192.168.0.1 + ] + }, + { + // MAC addresses and DHCP Client IDs + className: 'number', + begin: /\b(1:)?([0-9A-Fa-f]{1,2}[:-]){5}([0-9A-Fa-f]){1,2}\b/, + }, + */]}]},{ +// HEX values +className:"number",begin:/\*[0-9a-fA-F]+/},{begin:"\\b("+"add remove enable disable set get print export edit find run debug error info warning".split(" ").join("|")+")([\\s[(\\]|])",returnBegin:!0,contains:[{className:"built_in", +// 'function', +begin:/\w+/}]},{className:"built_in",variants:[{begin:"(\\.\\./|/|\\s)(("+"traffic-flow traffic-generator firewall scheduler aaa accounting address-list address align area bandwidth-server bfd bgp bridge client clock community config connection console customer default dhcp-client dhcp-server discovery dns e-mail ethernet filter firmware gps graphing group hardware health hotspot identity igmp-proxy incoming instance interface ip ipsec ipv6 irq l2tp-server lcd ldp logging mac-server mac-winbox mangle manual mirror mme mpls nat nd neighbor network note ntp ospf ospf-v3 ovpn-server page peer pim ping policy pool port ppp pppoe-client pptp-server prefix profile proposal proxy queue radius resource rip ripng route routing screen script security-profiles server service service-port settings shares smb sms sniffer snmp snooper socks sstp-server system tool tracking type upgrade upnp user-manager users user vlan secret vrrp watchdog web-access wireless pptp pppoe lan wan layer7-protocol lease simple raw".split(" ").join("|")+");?\\s)+"},{begin:/\.\./,relevance:0}]}]}}}function Fp(){if(pc)return hc;return pc=1,hc=function(e){const t={match:[/(surface|displacement|light|volume|imager)/,/\s+/,e.IDENT_RE],scope:{1:"keyword",3:"title.class"}};return{name:"RenderMan RSL",keywords:{keyword:["while","for","if","do","return","else","break","extern","continue"],built_in:["abs","acos","ambient","area","asin","atan","atmosphere","attribute","calculatenormal","ceil","cellnoise","clamp","comp","concat","cos","degrees","depth","Deriv","diffuse","distance","Du","Dv","environment","exp","faceforward","filterstep","floor","format","fresnel","incident","length","lightsource","log","match","max","min","mod","noise","normalize","ntransform","opposite","option","phong","pnoise","pow","printf","ptlined","radians","random","reflect","refract","renderinfo","round","setcomp","setxcomp","setycomp","setzcomp","shadow","sign","sin","smoothstep","specular","specularbrdf","spline","sqrt","step","tan","texture","textureinfo","trace","transform","vtransform","xcomp","ycomp","zcomp"],type:["matrix","float","color","point","normal","vector"]},illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"},t,{beginKeywords:"illuminate illuminance gather",end:"\\("}]}}}function Bp(){if(mc)return gc;return mc=1,gc=function(e){return{name:"Oracle Rules Language",keywords:{keyword:"BILL_PERIOD BILL_START BILL_STOP RS_EFFECTIVE_START RS_EFFECTIVE_STOP RS_JURIS_CODE RS_OPCO_CODE INTDADDATTRIBUTE|5 INTDADDVMSG|5 INTDBLOCKOP|5 INTDBLOCKOPNA|5 INTDCLOSE|5 INTDCOUNT|5 INTDCOUNTSTATUSCODE|5 INTDCREATEMASK|5 INTDCREATEDAYMASK|5 INTDCREATEFACTORMASK|5 INTDCREATEHANDLE|5 INTDCREATEOVERRIDEDAYMASK|5 INTDCREATEOVERRIDEMASK|5 INTDCREATESTATUSCODEMASK|5 INTDCREATETOUPERIOD|5 INTDDELETE|5 INTDDIPTEST|5 INTDEXPORT|5 INTDGETERRORCODE|5 INTDGETERRORMESSAGE|5 INTDISEQUAL|5 INTDJOIN|5 INTDLOAD|5 INTDLOADACTUALCUT|5 INTDLOADDATES|5 INTDLOADHIST|5 INTDLOADLIST|5 INTDLOADLISTDATES|5 INTDLOADLISTENERGY|5 INTDLOADLISTHIST|5 INTDLOADRELATEDCHANNEL|5 INTDLOADSP|5 INTDLOADSTAGING|5 INTDLOADUOM|5 INTDLOADUOMDATES|5 INTDLOADUOMHIST|5 INTDLOADVERSION|5 INTDOPEN|5 INTDREADFIRST|5 INTDREADNEXT|5 INTDRECCOUNT|5 INTDRELEASE|5 INTDREPLACE|5 INTDROLLAVG|5 INTDROLLPEAK|5 INTDSCALAROP|5 INTDSCALE|5 INTDSETATTRIBUTE|5 INTDSETDSTPARTICIPANT|5 INTDSETSTRING|5 INTDSETVALUE|5 INTDSETVALUESTATUS|5 INTDSHIFTSTARTTIME|5 INTDSMOOTH|5 INTDSORT|5 INTDSPIKETEST|5 INTDSUBSET|5 INTDTOU|5 INTDTOURELEASE|5 INTDTOUVALUE|5 INTDUPDATESTATS|5 INTDVALUE|5 STDEV INTDDELETEEX|5 INTDLOADEXACTUAL|5 INTDLOADEXCUT|5 INTDLOADEXDATES|5 INTDLOADEX|5 INTDLOADEXRELATEDCHANNEL|5 INTDSAVEEX|5 MVLOAD|5 MVLOADACCT|5 MVLOADACCTDATES|5 MVLOADACCTHIST|5 MVLOADDATES|5 MVLOADHIST|5 MVLOADLIST|5 MVLOADLISTDATES|5 MVLOADLISTHIST|5 IF FOR NEXT DONE SELECT END CALL ABORT CLEAR CHANNEL FACTOR LIST NUMBER OVERRIDE SET WEEK DISTRIBUTIONNODE ELSE WHEN THEN OTHERWISE IENUM CSV INCLUDE LEAVE RIDER SAVE DELETE NOVALUE SECTION WARN SAVE_UPDATE DETERMINANT LABEL REPORT REVENUE EACH IN FROM TOTAL CHARGE BLOCK AND OR CSV_FILE RATE_CODE AUXILIARY_DEMAND UIDACCOUNT RS BILL_PERIOD_SELECT HOURS_PER_MONTH INTD_ERROR_STOP SEASON_SCHEDULE_NAME ACCOUNTFACTOR ARRAYUPPERBOUND CALLSTOREDPROC GETADOCONNECTION GETCONNECT GETDATASOURCE GETQUALIFIER GETUSERID HASVALUE LISTCOUNT LISTOP LISTUPDATE LISTVALUE PRORATEFACTOR RSPRORATE SETBINPATH SETDBMONITOR WQ_OPEN BILLINGHOURS DATE DATEFROMFLOAT DATETIMEFROMSTRING DATETIMETOSTRING DATETOFLOAT DAY DAYDIFF DAYNAME DBDATETIME HOUR MINUTE MONTH MONTHDIFF MONTHHOURS MONTHNAME ROUNDDATE SAMEWEEKDAYLASTYEAR SECOND WEEKDAY WEEKDIFF YEAR YEARDAY YEARSTR COMPSUM HISTCOUNT HISTMAX HISTMIN HISTMINNZ HISTVALUE MAXNRANGE MAXRANGE MINRANGE COMPIKVA COMPKVA COMPKVARFROMKQKW COMPLF IDATTR FLAG LF2KW LF2KWH MAXKW POWERFACTOR READING2USAGE AVGSEASON MAXSEASON MONTHLYMERGE SEASONVALUE SUMSEASON ACCTREADDATES ACCTTABLELOAD CONFIGADD CONFIGGET CREATEOBJECT CREATEREPORT EMAILCLIENT EXPBLKMDMUSAGE EXPMDMUSAGE EXPORT_USAGE FACTORINEFFECT GETUSERSPECIFIEDSTOP INEFFECT ISHOLIDAY RUNRATE SAVE_PROFILE SETREPORTTITLE USEREXIT WATFORRUNRATE TO TABLE ACOS ASIN ATAN ATAN2 BITAND CEIL COS COSECANT COSH COTANGENT DIVQUOT DIVREM EXP FABS FLOOR FMOD FREPM FREXPN LOG LOG10 MAX MAXN MIN MINNZ MODF POW ROUND ROUND2VALUE ROUNDINT SECANT SIN SINH SQROOT TAN TANH FLOAT2STRING FLOAT2STRINGNC INSTR LEFT LEN LTRIM MID RIGHT RTRIM STRING STRINGNC TOLOWER TOUPPER TRIM NUMDAYS READ_DATE STAGING",built_in:"IDENTIFIER OPTIONS XML_ELEMENT XML_OP XML_ELEMENT_OF DOMDOCCREATE DOMDOCLOADFILE DOMDOCLOADXML DOMDOCSAVEFILE DOMDOCGETROOT DOMDOCADDPI DOMNODEGETNAME DOMNODEGETTYPE DOMNODEGETVALUE DOMNODEGETCHILDCT DOMNODEGETFIRSTCHILD DOMNODEGETSIBLING DOMNODECREATECHILDELEMENT DOMNODESETATTRIBUTE DOMNODEGETCHILDELEMENTCT DOMNODEGETFIRSTCHILDELEMENT DOMNODEGETSIBLINGELEMENT DOMNODEGETATTRIBUTECT DOMNODEGETATTRIBUTEI DOMNODEGETATTRIBUTEBYNAME DOMNODEGETBYNAME"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"literal",variants:[{ +// looks like #-comment +begin:"#\\s+",relevance:0},{begin:"#[a-zA-Z .]+"}]}]}}}function Up(){if(bc)return _c;return bc=1,_c=function(e){const t=e.regex,n=/(r#)?/,r=t.concat(n,e.UNDERSCORE_IDENT_RE),i=t.concat(n,e.IDENT_RE),a={className:"title.function.invoke",relevance:0,begin:t.concat(/\b/,/(?!let|for|while|if|else|match\b)/,i,t.lookahead(/\s*\(/))},o="([ui](8|16|32|64|128|size)|f(32|64))?",s=[ +// functions +"drop ", +// traits +"Copy","Send","Sized","Sync","Drop","Fn","FnMut","FnOnce","ToOwned","Clone","Debug","PartialEq","PartialOrd","Eq","Ord","AsRef","AsMut","Into","From","Default","Iterator","Extend","IntoIterator","DoubleEndedIterator","ExactSizeIterator","SliceConcatExt","ToString", +// macros +"assert!","assert_eq!","bitflags!","bytes!","cfg!","col!","concat!","concat_idents!","debug_assert!","debug_assert_eq!","env!","eprintln!","panic!","file!","format!","format_args!","include_bytes!","include_str!","line!","local_data_key!","module_path!","option_env!","print!","println!","select!","stringify!","try!","unimplemented!","unreachable!","vec!","write!","writeln!","macro_rules!","assert_ne!","debug_assert_ne!"],l=["i8","i16","i32","i64","i128","isize","u8","u16","u32","u64","u128","usize","f32","f64","str","char","bool","Box","Option","Result","String","Vec"];return{name:"Rust",aliases:["rs"],keywords:{$pattern:e.IDENT_RE+"!?",type:l,keyword:["abstract","as","async","await","become","box","break","const","continue","crate","do","dyn","else","enum","extern","false","final","fn","for","if","impl","in","let","loop","macro","match","mod","move","mut","override","priv","pub","ref","return","self","Self","static","struct","super","trait","true","try","type","typeof","union","unsafe","unsized","use","virtual","where","while","yield"],literal:["true","false","Some","None","Ok","Err"],built_in:s},illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:["self"]}),e.inherit(e.QUOTE_STRING_MODE,{begin:/b?"/,illegal:null}),{className:"symbol", +// negative lookahead to avoid matching `'` +begin:/'[a-zA-Z_][a-zA-Z0-9_]*(?!')/},{scope:"string",variants:[{begin:/b?r(#*)"(.|\n)*?"\1(?!#)/},{begin:/b?'/,end:/'/,contains:[{scope:"char.escape",match:/\\('|\w|x\w{2}|u\w{4}|U\w{8})/}]}]},{className:"number",variants:[{begin:"\\b0b([01_]+)"+o},{begin:"\\b0o([0-7_]+)"+o},{begin:"\\b0x([A-Fa-f0-9_]+)"+o},{begin:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+o}],relevance:0},{begin:[/fn/,/\s+/,r],className:{1:"keyword",3:"title.function"}},{className:"meta",begin:"#!?\\[",end:"\\]",contains:[{className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]}]},{begin:[/let/,/\s+/,/(?:mut\s+)?/,r],className:{1:"keyword",3:"keyword",4:"variable"}}, +// must come before impl/for rule later +{begin:[/for/,/\s+/,r,/\s+/,/in/],className:{1:"keyword",3:"variable",5:"keyword"}},{begin:[/type/,/\s+/,r],className:{1:"keyword",3:"title.class"}},{begin:[/(?:trait|enum|struct|union|impl|for)/,/\s+/,r],className:{1:"keyword",3:"title.class"}},{begin:e.IDENT_RE+"::",keywords:{keyword:"Self",built_in:s,type:l}},{className:"punctuation",begin:"->"},a]}}}function Gp(){if(yc)return fc;return yc=1,fc=function(e){const t=e.regex;return{name:"SAS",case_insensitive:!0,keywords:{literal:["null","missing","_all_","_automatic_","_character_","_infile_","_n_","_name_","_null_","_numeric_","_user_","_webout_"],keyword:["do","if","then","else","end","until","while","abort","array","attrib","by","call","cards","cards4","catname","continue","datalines","datalines4","delete","delim","delimiter","display","dm","drop","endsas","error","file","filename","footnote","format","goto","in","infile","informat","input","keep","label","leave","length","libname","link","list","lostcard","merge","missing","modify","options","output","out","page","put","redirect","remove","rename","replace","retain","return","select","set","skip","startsas","stop","title","update","waitsas","where","window","x|0","systask","add","and","alter","as","cascade","check","create","delete","describe","distinct","drop","foreign","from","group","having","index","insert","into","in","key","like","message","modify","msgtype","not","null","on","or","order","primary","references","reset","restrict","select","set","table","unique","update","validate","view","where"]},contains:[{ +// Distinct highlight for proc <proc>, data, run, quit +className:"keyword",begin:/^\s*(proc [\w\d_]+|data|run|quit)[\s;]/},{ +// Macro variables +className:"variable",begin:/&[a-zA-Z_&][a-zA-Z0-9_]*\.?/},{begin:[/^\s*/,/datalines;|cards;/,/(?:.*\n)+/,/^\s*;\s*$/],className:{2:"keyword",3:"string"}},{begin:[/%mend|%macro/,/\s+/,/[a-zA-Z_&][a-zA-Z0-9_]*/],className:{1:"built_in",3:"title.function"}},{ +// Built-in macro variables +className:"built_in",begin:"%"+t.either("bquote","nrbquote","cmpres","qcmpres","compstor","datatyp","display","do","else","end","eval","global","goto","if","index","input","keydef","label","left","length","let","local","lowcase","macro","mend","nrbquote","nrquote","nrstr","put","qcmpres","qleft","qlowcase","qscan","qsubstr","qsysfunc","qtrim","quote","qupcase","scan","str","substr","superq","syscall","sysevalf","sysexec","sysfunc","sysget","syslput","sysprod","sysrc","sysrput","then","to","trim","unquote","until","upcase","verify","while","window")},{ +// User-defined macro functions +className:"title.function",begin:/%[a-zA-Z_][a-zA-Z_0-9]*/},{ +// TODO: this is most likely an incorrect classification +// built_in may need more nuance +// https://github.com/highlightjs/highlight.js/issues/2521 +className:"meta",begin:t.either("abs","addr","airy","arcos","arsin","atan","attrc","attrn","band","betainv","blshift","bnot","bor","brshift","bxor","byte","cdf","ceil","cexist","cinv","close","cnonct","collate","compbl","compound","compress","cos","cosh","css","curobs","cv","daccdb","daccdbsl","daccsl","daccsyd","dacctab","dairy","date","datejul","datepart","datetime","day","dclose","depdb","depdbsl","depdbsl","depsl","depsl","depsyd","depsyd","deptab","deptab","dequote","dhms","dif","digamma","dim","dinfo","dnum","dopen","doptname","doptnum","dread","dropnote","dsname","erf","erfc","exist","exp","fappend","fclose","fcol","fdelete","fetch","fetchobs","fexist","fget","fileexist","filename","fileref","finfo","finv","fipname","fipnamel","fipstate","floor","fnonct","fnote","fopen","foptname","foptnum","fpoint","fpos","fput","fread","frewind","frlen","fsep","fuzz","fwrite","gaminv","gamma","getoption","getvarc","getvarn","hbound","hms","hosthelp","hour","ibessel","index","indexc","indexw","input","inputc","inputn","int","intck","intnx","intrr","irr","jbessel","juldate","kurtosis","lag","lbound","left","length","lgamma","libname","libref","log","log10","log2","logpdf","logpmf","logsdf","lowcase","max","mdy","mean","min","minute","mod","month","mopen","mort","n","netpv","nmiss","normal","note","npv","open","ordinal","pathname","pdf","peek","peekc","pmf","point","poisson","poke","probbeta","probbnml","probchi","probf","probgam","probhypr","probit","probnegb","probnorm","probt","put","putc","putn","qtr","quote","ranbin","rancau","ranexp","rangam","range","rank","rannor","ranpoi","rantbl","rantri","ranuni","repeat","resolve","reverse","rewind","right","round","saving","scan","sdf","second","sign","sin","sinh","skewness","soundex","spedis","sqrt","std","stderr","stfips","stname","stnamel","substr","sum","symget","sysget","sysmsg","sysprod","sysrc","system","tan","tanh","time","timepart","tinv","tnonct","today","translate","tranwrd","trigamma","trim","trimn","trunc","uniform","upcase","uss","var","varfmt","varinfmt","varlabel","varlen","varname","varnum","varray","varrayx","vartype","verify","vformat","vformatd","vformatdx","vformatn","vformatnx","vformatw","vformatwx","vformatx","vinarray","vinarrayx","vinformat","vinformatd","vinformatdx","vinformatn","vinformatnx","vinformatw","vinformatwx","vinformatx","vlabel","vlabelx","vlength","vlengthx","vname","vnamex","vtype","vtypex","weekday","year","yyq","zipfips","zipname","zipnamel","zipstate")+"(?=\\()"},{className:"string",variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},e.COMMENT("\\*",";"),e.C_BLOCK_COMMENT_MODE]}}}function zp(){if(Ec)return vc;return Ec=1,vc=function(e){const t=e.regex,n={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"},{begin:/\$\{/,end:/\}/}]},r={className:"string",variants:[{begin:'"""',end:'"""'},{begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:'[a-z]+"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,n]},{className:"string",begin:'[a-z]+"""',end:'"""',contains:[n],relevance:10}]},i={className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},a={className:"title",begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/,relevance:0},o={className:"class",beginKeywords:"class object trait type",end:/[:={\[\n;]/,excludeEnd:!0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{beginKeywords:"extends with",relevance:10},{begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[i,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[i,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},a]},s={className:"function",beginKeywords:"def",end:t.lookahead(/[:={\[(\n;]/),contains:[a]};return{name:"Scala",keywords:{literal:"true false null",keyword:"type yield lazy override def with val var sealed abstract private trait object if then forSome for while do throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit export enum given transparent"},contains:[{begin:["//>",/\s+/,/using/,/\s+/,/\S+/],beginScope:{1:"comment",3:"keyword",5:"type"},end:/$/,contains:[{className:"string",begin:/\S+/}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,r,i,s,o,e.C_NUMBER_MODE,{begin:[/^\s*/, +// Is first token on the line +"extension",/\s+(?=[[(])/],beginScope:{2:"keyword"}},{begin:[/^\s*/, +// Is first token on the line +/end/,/\s+/,/(extension\b)?/],beginScope:{2:"keyword",4:"keyword"}},{match:/\.inline\b/},{begin:/\binline(?=\s)/,keywords:"inline"},{begin:[/\(\s*/, +// Opening `(` of a parameter or argument list +/using/,/\s+(?!\))/],beginScope:{2:"keyword"}},{className:"meta",begin:"@[A-Za-z]+"}]}}}function $p(){if(Tc)return Sc;return Tc=1,Sc=function(e){const t="[^\\(\\)\\[\\]\\{\\}\",'`;#|\\\\\\s]+",n="(-|\\+)?\\d+([./]\\d+)?",r={$pattern:t,built_in:"case-lambda call/cc class define-class exit-handler field import inherit init-field interface let*-values let-values let/ec mixin opt-lambda override protect provide public rename require require-for-syntax syntax syntax-case syntax-error unit/sig unless when with-syntax and begin call-with-current-continuation call-with-input-file call-with-output-file case cond define define-syntax delay do dynamic-wind else for-each if lambda let let* let-syntax letrec letrec-syntax map or syntax-rules ' * + , ,@ - ... / ; < <= = => > >= ` abs acos angle append apply asin assoc assq assv atan boolean? caar cadr call-with-input-file call-with-output-file call-with-values car cdddar cddddr cdr ceiling char->integer char-alphabetic? char-ci<=? char-ci<? char-ci=? char-ci>=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char<? char=? char>=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci<? string-ci=? string-ci>=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string<? string=? string>=? string>? string? substring symbol->string symbol? tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?"},i={className:"literal",begin:"(#t|#f|#\\\\"+t+"|#\\\\.)"},a={className:"number",variants:[{begin:n,relevance:0},{begin:n+"[+\\-]"+n+"i",relevance:0},{begin:"#b[0-1]+(/[0-1]+)?"},{begin:"#o[0-7]+(/[0-7]+)?"},{begin:"#x[0-9a-f]+(/[0-9a-f]+)?"}]},o=e.QUOTE_STRING_MODE,s=[e.COMMENT(";","$",{relevance:0}),e.COMMENT("#\\|","\\|#")],l={begin:t,relevance:0},c={className:"symbol",begin:"'"+t},u={endsWithParent:!0,relevance:0},d={variants:[{begin:/'/},{begin:"`"}],contains:[{begin:"\\(",end:"\\)",contains:["self",i,o,a,l,c]}]},h={className:"name",relevance:0,begin:t,keywords:r},p={variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}],contains:[{begin:/lambda/,endsWithParent:!0,returnBegin:!0,contains:[h,{endsParent:!0,variants:[{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/}],contains:[l]}]},h,u]};return u.contains=[i,a,o,l,c,d,p].concat(s),{name:"Scheme",aliases:["scm"],illegal:/\S/,contains:[e.SHEBANG(),a,o,c,d,p].concat(s)}}}function Yp(){if(xc)return Cc;return xc=1,Cc=function(e){const t=[e.C_NUMBER_MODE,{className:"string",begin:"'|\"",end:"'|\"",contains:[e.BACKSLASH_ESCAPE,{begin:"''"}]}];return{name:"Scilab",aliases:["sci"],keywords:{$pattern:/%?\w+/,keyword:"abort break case clear catch continue do elseif else endfunction end for function global if pause return resume select try then while",literal:"%f %F %t %T %pi %eps %inf %nan %e %i %z %s",built_in: +// Scilab has more than 2000 functions. Just list the most commons +"abs and acos asin atan ceil cd chdir clearglobal cosh cos cumprod deff disp error exec execstr exists exp eye gettext floor fprintf fread fsolve imag isdef isempty isinfisnan isvector lasterror length load linspace list listfiles log10 log2 log max min msprintf mclose mopen ones or pathconvert poly printf prod pwd rand real round sinh sin size gsort sprintf sqrt strcat strcmps tring sum system tanh tan type typename warning zeros matrix"},illegal:'("|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]}, +// seems to be a guard against [ident]' or [ident]. +// perhaps to prevent attributes from flagging as keywords? +{begin:"[a-zA-Z_][a-zA-Z_0-9]*[\\.']+",relevance:0},{begin:"\\[",end:"\\][\\.']*",relevance:0,contains:t},e.COMMENT("//","$")].concat(t)}}}function qp(){if(Ac)return kc;Ac=1;const e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video","defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],t=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width", +// TODO: find a better solution? +"min-width","max-width","min-height","max-height"].sort().reverse(),n=["active","any-link","blank","checked","current","default","defined","dir", +// dir() +"disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has", +// has() +"host", +// host or host() +"host-context", +// host-context() +"hover","indeterminate","in-range","invalid","is", +// is() +"lang", +// lang() +"last-child","last-of-type","left","link","local-link","not", +// not() +"nth-child", +// nth-child() +"nth-col", +// nth-col() +"nth-last-child", +// nth-last-child() +"nth-last-col", +// nth-last-col() +"nth-last-of-type", +//nth-last-of-type() +"nth-of-type", +//nth-of-type() +"only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),r=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),i=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src", +// @font-face +"stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();return kc=function(a){const o=(e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}))(a),s=r,l=n,c="@[a-z-]+",u={className:"variable",begin:"(\\$[a-zA-Z-][a-zA-Z0-9_-]*)\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[a.C_LINE_COMMENT_MODE,a.C_BLOCK_COMMENT_MODE, +// to recognize keyframe 40% etc which are outside the scope of our +// attribute value mode +o.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},o.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+e.join("|")+")\\b", +// was there, before, but why? +relevance:0},{className:"selector-pseudo",begin:":("+l.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+s.join("|")+")"},u,{ +// pseudo-selector params +begin:/\(/,end:/\)/,contains:[o.CSS_NUMBER_MODE]},o.CSS_VARIABLE,{className:"attribute",begin:"\\b("+i.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[o.BLOCK_COMMENT,u,o.HEXCOLOR,o.CSS_NUMBER_MODE,a.QUOTE_STRING_MODE,a.APOS_STRING_MODE,o.IMPORTANT,o.FUNCTION_DISPATCH]}, +// matching these here allows us to treat them more like regular CSS +// rules so everything between the {} gets regular rule highlighting, +// which is what we want for page and font-face +{begin:"@(page|font-face)",keywords:{$pattern:c,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:t.join(" ")},contains:[{begin:c,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},u,a.QUOTE_STRING_MODE,a.APOS_STRING_MODE,o.HEXCOLOR,o.CSS_NUMBER_MODE]},o.FUNCTION_DISPATCH]}}}function Hp(){if(Nc)return wc;return Nc=1,wc=function(e){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt", +// We cannot add \s (spaces) in the regular expression otherwise it will be too broad and produce unexpected result. +// For instance, in the following example, it would match "echo /path/to/home >" as a prompt: +// echo /path/to/home > t.exe +begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}}function Vp(){if(Rc)return Oc;return Rc=1,Oc=function(e){const t=["add","and","cmp","cmpg","cmpl","const","div","double","float","goto","if","int","long","move","mul","neg","new","nop","not","or","rem","return","shl","shr","sput","sub","throw","ushr","xor"];return{name:"Smali",contains:[{className:"string",begin:'"',end:'"',relevance:0},e.COMMENT("#","$",{relevance:0}),{className:"keyword",variants:[{begin:"\\s*\\.end\\s[a-zA-Z0-9]*"},{begin:"^[ ]*\\.[a-zA-Z]*",relevance:0},{begin:"\\s:[a-zA-Z_0-9]*",relevance:0},{begin:"\\s("+["transient","constructor","abstract","final","synthetic","public","private","protected","static","bridge","system"].join("|")+")"}]},{className:"built_in",variants:[{begin:"\\s("+t.join("|")+")\\s"},{begin:"\\s("+t.join("|")+")((-|/)[a-zA-Z0-9]+)+\\s",relevance:10},{begin:"\\s("+["aget","aput","array","check","execute","fill","filled","goto/16","goto/32","iget","instance","invoke","iput","monitor","packed","sget","sparse"].join("|")+")((-|/)[a-zA-Z0-9]+)*\\s",relevance:10}]},{className:"class",begin:"L[^(;:\n]*;",relevance:0},{begin:"[vp][0-9]+"}]}}}function Wp(){if(Dc)return Ic;return Dc=1,Ic=function(e){const t="[a-z][a-zA-Z0-9_]*",n={className:"string",begin:"\\$.{1}"},r={className:"symbol",begin:"#"+e.UNDERSCORE_IDENT_RE};return{name:"Smalltalk",aliases:["st"],keywords:["self","super","nil","true","false","thisContext"],contains:[e.COMMENT('"','"'),e.APOS_STRING_MODE,{className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},{begin:t+":",relevance:0},e.C_NUMBER_MODE,r,n,{ +// This looks more complicated than needed to avoid combinatorial +// explosion under V8. It effectively means `| var1 var2 ... |` with +// whitespace adjacent to `|` being optional. +begin:"\\|[ ]*"+t+"([ ]+"+t+")*[ ]*\\|",returnBegin:!0,end:/\|/,illegal:/\S/,contains:[{begin:"(\\|[ ]*)?"+t}]},{begin:"#\\(",end:"\\)",contains:[e.APOS_STRING_MODE,n,e.C_NUMBER_MODE,r]}]}}}function Qp(){if(Lc)return Mc;return Lc=1,Mc=function(e){return{name:"SML (Standard ML)",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword: +/* according to Definition of Standard ML 97 */"abstype and andalso as case datatype do else end eqtype exception fn fun functor handle if in include infix infixr let local nonfix of op open orelse raise rec sharing sig signature struct structure then type val with withtype where while",built_in: +/* built-in types according to basis library */"array bool char exn int list option order real ref string substring vector unit word",literal:"true false NONE SOME LESS EQUAL GREATER nil"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:/\[(\|\|)?\]|\(\)/,relevance:0},e.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{ +/* type variable */ +className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*" +/* the grammar is ambiguous on how 'a'b should be interpreted but not the compiler */},{ +/* polymorphic variant */ +className:"type",begin:"`[A-Z][\\w']*"},{ +/* module or constructor */ +className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{ +/* don't color identifiers, but safely catch all identifiers with ' */ +begin:"[a-z_]\\w*'[\\w']*"},e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/[-=]>/}]}}}function Kp(){if(jc)return Pc;return jc=1,Pc=function(e){const t={className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]},{begin:"'",end:"'",contains:[{begin:"''",relevance:0}]}]},n={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:"define undef ifdef ifndef else endif include if",contains:[{begin:/\\\n/,relevance:0},e.inherit(t,{className:"string"}),{begin:/<[^\n>]*>/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]};return{name:"SQF",case_insensitive:!0,keywords:{keyword:["break","breakWith","breakOut","breakTo","case","catch","continue","continueWith","default","do","else","exit","exitWith","for","forEach","from","if","local","private","switch","step","then","throw","to","try","waitUntil","while","with"],built_in:["abs","accTime","acos","action","actionIDs","actionKeys","actionKeysEx","actionKeysImages","actionKeysNames","actionKeysNamesArray","actionName","actionParams","activateAddons","activatedAddons","activateKey","activeTitleEffectParams","add3DENConnection","add3DENEventHandler","add3DENLayer","addAction","addBackpack","addBackpackCargo","addBackpackCargoGlobal","addBackpackGlobal","addBinocularItem","addCamShake","addCuratorAddons","addCuratorCameraArea","addCuratorEditableObjects","addCuratorEditingArea","addCuratorPoints","addEditorObject","addEventHandler","addForce","addForceGeneratorRTD","addGoggles","addGroupIcon","addHandgunItem","addHeadgear","addItem","addItemCargo","addItemCargoGlobal","addItemPool","addItemToBackpack","addItemToUniform","addItemToVest","addLiveStats","addMagazine","addMagazineAmmoCargo","addMagazineCargo","addMagazineCargoGlobal","addMagazineGlobal","addMagazinePool","addMagazines","addMagazineTurret","addMenu","addMenuItem","addMissionEventHandler","addMPEventHandler","addMusicEventHandler","addonFiles","addOwnedMine","addPlayerScores","addPrimaryWeaponItem","addPublicVariableEventHandler","addRating","addResources","addScore","addScoreSide","addSecondaryWeaponItem","addSwitchableUnit","addTeamMember","addToRemainsCollector","addTorque","addUniform","addUserActionEventHandler","addVehicle","addVest","addWaypoint","addWeapon","addWeaponCargo","addWeaponCargoGlobal","addWeaponGlobal","addWeaponItem","addWeaponPool","addWeaponTurret","addWeaponWithAttachmentsCargo","addWeaponWithAttachmentsCargoGlobal","admin","agent","agents","AGLToASL","aimedAtTarget","aimPos","airDensityCurveRTD","airDensityRTD","airplaneThrottle","airportSide","AISFinishHeal","alive","all3DENEntities","allActiveTitleEffects","allAddonsInfo","allAirports","allControls","allCurators","allCutLayers","allDead","allDeadMen","allDiaryRecords","allDiarySubjects","allDisplays","allEnv3DSoundSources","allGroups","allLODs","allMapMarkers","allMines","allMissionObjects","allObjects","allow3DMode","allowCrewInImmobile","allowCuratorLogicIgnoreAreas","allowDamage","allowDammage","allowedService","allowFileOperations","allowFleeing","allowGetIn","allowService","allowSprint","allPlayers","allSimpleObjects","allSites","allTurrets","allUnits","allUnitsUAV","allUsers","allVariables","ambientTemperature","ammo","ammoOnPylon","and","animate","animateBay","animateDoor","animatePylon","animateSource","animationNames","animationPhase","animationSourcePhase","animationState","apertureParams","append","apply","armoryPoints","arrayIntersect","asin","ASLToAGL","ASLToATL","assert","assignAsCargo","assignAsCargoIndex","assignAsCommander","assignAsDriver","assignAsGunner","assignAsTurret","assignCurator","assignedCargo","assignedCommander","assignedDriver","assignedGroup","assignedGunner","assignedItems","assignedTarget","assignedTeam","assignedVehicle","assignedVehicleRole","assignedVehicles","assignItem","assignTeam","assignToAirport","atan","atan2","atg","ATLToASL","attachedObject","attachedObjects","attachedTo","attachObject","attachTo","attackEnabled","awake","backpack","backpackCargo","backpackContainer","backpackItems","backpackMagazines","backpackSpaceFor","behaviour","benchmark","bezierInterpolation","binocular","binocularItems","binocularMagazine","boundingBox","boundingBoxReal","boundingCenter","brakesDisabled","briefingName","buildingExit","buildingPos","buldozer_EnableRoadDiag","buldozer_IsEnabledRoadDiag","buldozer_LoadNewRoads","buldozer_reloadOperMap","buttonAction","buttonSetAction","cadetMode","calculatePath","calculatePlayerVisibilityByFriendly","call","callExtension","camCommand","camCommit","camCommitPrepared","camCommitted","camConstuctionSetParams","camCreate","camDestroy","cameraEffect","cameraEffectEnableHUD","cameraInterest","cameraOn","cameraView","campaignConfigFile","camPreload","camPreloaded","camPrepareBank","camPrepareDir","camPrepareDive","camPrepareFocus","camPrepareFov","camPrepareFovRange","camPreparePos","camPrepareRelPos","camPrepareTarget","camSetBank","camSetDir","camSetDive","camSetFocus","camSetFov","camSetFovRange","camSetPos","camSetRelPos","camSetTarget","camTarget","camUseNVG","canAdd","canAddItemToBackpack","canAddItemToUniform","canAddItemToVest","cancelSimpleTaskDestination","canDeployWeapon","canFire","canMove","canSlingLoad","canStand","canSuspend","canTriggerDynamicSimulation","canUnloadInCombat","canVehicleCargo","captive","captiveNum","cbChecked","cbSetChecked","ceil","channelEnabled","cheatsEnabled","checkAIFeature","checkVisibility","className","clear3DENAttribute","clear3DENInventory","clearAllItemsFromBackpack","clearBackpackCargo","clearBackpackCargoGlobal","clearForcesRTD","clearGroupIcons","clearItemCargo","clearItemCargoGlobal","clearItemPool","clearMagazineCargo","clearMagazineCargoGlobal","clearMagazinePool","clearOverlay","clearRadio","clearWeaponCargo","clearWeaponCargoGlobal","clearWeaponPool","clientOwner","closeDialog","closeDisplay","closeOverlay","collapseObjectTree","collect3DENHistory","collectiveRTD","collisionDisabledWith","combatBehaviour","combatMode","commandArtilleryFire","commandChat","commander","commandFire","commandFollow","commandFSM","commandGetOut","commandingMenu","commandMove","commandRadio","commandStop","commandSuppressiveFire","commandTarget","commandWatch","comment","commitOverlay","compatibleItems","compatibleMagazines","compile","compileFinal","compileScript","completedFSM","composeText","configClasses","configFile","configHierarchy","configName","configOf","configProperties","configSourceAddonList","configSourceMod","configSourceModList","confirmSensorTarget","connectTerminalToUAV","connectToServer","controlsGroupCtrl","conversationDisabled","copyFromClipboard","copyToClipboard","copyWaypoints","cos","count","countEnemy","countFriendly","countSide","countType","countUnknown","create3DENComposition","create3DENEntity","createAgent","createCenter","createDialog","createDiaryLink","createDiaryRecord","createDiarySubject","createDisplay","createGearDialog","createGroup","createGuardedPoint","createHashMap","createHashMapFromArray","createLocation","createMarker","createMarkerLocal","createMenu","createMine","createMissionDisplay","createMPCampaignDisplay","createSimpleObject","createSimpleTask","createSite","createSoundSource","createTask","createTeam","createTrigger","createUnit","createVehicle","createVehicleCrew","createVehicleLocal","crew","ctAddHeader","ctAddRow","ctClear","ctCurSel","ctData","ctFindHeaderRows","ctFindRowHeader","ctHeaderControls","ctHeaderCount","ctRemoveHeaders","ctRemoveRows","ctrlActivate","ctrlAddEventHandler","ctrlAngle","ctrlAnimateModel","ctrlAnimationPhaseModel","ctrlAt","ctrlAutoScrollDelay","ctrlAutoScrollRewind","ctrlAutoScrollSpeed","ctrlBackgroundColor","ctrlChecked","ctrlClassName","ctrlCommit","ctrlCommitted","ctrlCreate","ctrlDelete","ctrlEnable","ctrlEnabled","ctrlFade","ctrlFontHeight","ctrlForegroundColor","ctrlHTMLLoaded","ctrlIDC","ctrlIDD","ctrlMapAnimAdd","ctrlMapAnimClear","ctrlMapAnimCommit","ctrlMapAnimDone","ctrlMapCursor","ctrlMapMouseOver","ctrlMapPosition","ctrlMapScale","ctrlMapScreenToWorld","ctrlMapSetPosition","ctrlMapWorldToScreen","ctrlModel","ctrlModelDirAndUp","ctrlModelScale","ctrlMousePosition","ctrlParent","ctrlParentControlsGroup","ctrlPosition","ctrlRemoveAllEventHandlers","ctrlRemoveEventHandler","ctrlScale","ctrlScrollValues","ctrlSetActiveColor","ctrlSetAngle","ctrlSetAutoScrollDelay","ctrlSetAutoScrollRewind","ctrlSetAutoScrollSpeed","ctrlSetBackgroundColor","ctrlSetChecked","ctrlSetDisabledColor","ctrlSetEventHandler","ctrlSetFade","ctrlSetFocus","ctrlSetFont","ctrlSetFontH1","ctrlSetFontH1B","ctrlSetFontH2","ctrlSetFontH2B","ctrlSetFontH3","ctrlSetFontH3B","ctrlSetFontH4","ctrlSetFontH4B","ctrlSetFontH5","ctrlSetFontH5B","ctrlSetFontH6","ctrlSetFontH6B","ctrlSetFontHeight","ctrlSetFontHeightH1","ctrlSetFontHeightH2","ctrlSetFontHeightH3","ctrlSetFontHeightH4","ctrlSetFontHeightH5","ctrlSetFontHeightH6","ctrlSetFontHeightSecondary","ctrlSetFontP","ctrlSetFontPB","ctrlSetFontSecondary","ctrlSetForegroundColor","ctrlSetModel","ctrlSetModelDirAndUp","ctrlSetModelScale","ctrlSetMousePosition","ctrlSetPixelPrecision","ctrlSetPosition","ctrlSetPositionH","ctrlSetPositionW","ctrlSetPositionX","ctrlSetPositionY","ctrlSetScale","ctrlSetScrollValues","ctrlSetShadow","ctrlSetStructuredText","ctrlSetText","ctrlSetTextColor","ctrlSetTextColorSecondary","ctrlSetTextSecondary","ctrlSetTextSelection","ctrlSetTooltip","ctrlSetTooltipColorBox","ctrlSetTooltipColorShade","ctrlSetTooltipColorText","ctrlSetTooltipMaxWidth","ctrlSetURL","ctrlSetURLOverlayMode","ctrlShadow","ctrlShow","ctrlShown","ctrlStyle","ctrlText","ctrlTextColor","ctrlTextHeight","ctrlTextSecondary","ctrlTextSelection","ctrlTextWidth","ctrlTooltip","ctrlType","ctrlURL","ctrlURLOverlayMode","ctrlVisible","ctRowControls","ctRowCount","ctSetCurSel","ctSetData","ctSetHeaderTemplate","ctSetRowTemplate","ctSetValue","ctValue","curatorAddons","curatorCamera","curatorCameraArea","curatorCameraAreaCeiling","curatorCoef","curatorEditableObjects","curatorEditingArea","curatorEditingAreaType","curatorMouseOver","curatorPoints","curatorRegisteredObjects","curatorSelected","curatorWaypointCost","current3DENOperation","currentChannel","currentCommand","currentMagazine","currentMagazineDetail","currentMagazineDetailTurret","currentMagazineTurret","currentMuzzle","currentNamespace","currentPilot","currentTask","currentTasks","currentThrowable","currentVisionMode","currentWaypoint","currentWeapon","currentWeaponMode","currentWeaponTurret","currentZeroing","cursorObject","cursorTarget","customChat","customRadio","customWaypointPosition","cutFadeOut","cutObj","cutRsc","cutText","damage","date","dateToNumber","dayTime","deActivateKey","debriefingText","debugFSM","debugLog","decayGraphValues","deg","delete3DENEntities","deleteAt","deleteCenter","deleteCollection","deleteEditorObject","deleteGroup","deleteGroupWhenEmpty","deleteIdentity","deleteLocation","deleteMarker","deleteMarkerLocal","deleteRange","deleteResources","deleteSite","deleteStatus","deleteTeam","deleteVehicle","deleteVehicleCrew","deleteWaypoint","detach","detectedMines","diag_activeMissionFSMs","diag_activeScripts","diag_activeSQFScripts","diag_activeSQSScripts","diag_allMissionEventHandlers","diag_captureFrame","diag_captureFrameToFile","diag_captureSlowFrame","diag_codePerformance","diag_deltaTime","diag_drawmode","diag_dumpCalltraceToLog","diag_dumpScriptAssembly","diag_dumpTerrainSynth","diag_dynamicSimulationEnd","diag_enable","diag_enabled","diag_exportConfig","diag_exportTerrainSVG","diag_fps","diag_fpsmin","diag_frameno","diag_getTerrainSegmentOffset","diag_lightNewLoad","diag_list","diag_localized","diag_log","diag_logSlowFrame","diag_mergeConfigFile","diag_recordTurretLimits","diag_resetFSM","diag_resetshapes","diag_scope","diag_setLightNew","diag_stacktrace","diag_tickTime","diag_toggle","dialog","diarySubjectExists","didJIP","didJIPOwner","difficulty","difficultyEnabled","difficultyEnabledRTD","difficultyOption","direction","directionStabilizationEnabled","directSay","disableAI","disableBrakes","disableCollisionWith","disableConversation","disableDebriefingStats","disableMapIndicators","disableNVGEquipment","disableRemoteSensors","disableSerialization","disableTIEquipment","disableUAVConnectability","disableUserInput","displayAddEventHandler","displayChild","displayCtrl","displayParent","displayRemoveAllEventHandlers","displayRemoveEventHandler","displaySetEventHandler","displayUniqueName","displayUpdate","dissolveTeam","distance","distance2D","distanceSqr","distributionRegion","do3DENAction","doArtilleryFire","doFire","doFollow","doFSM","doGetOut","doMove","doorPhase","doStop","doSuppressiveFire","doTarget","doWatch","drawArrow","drawEllipse","drawIcon","drawIcon3D","drawLaser","drawLine","drawLine3D","drawLink","drawLocation","drawPolygon","drawRectangle","drawTriangle","driver","drop","dynamicSimulationDistance","dynamicSimulationDistanceCoef","dynamicSimulationEnabled","dynamicSimulationSystemEnabled","echo","edit3DENMissionAttributes","editObject","editorSetEventHandler","effectiveCommander","elevatePeriscope","emptyPositions","enableAI","enableAIFeature","enableAimPrecision","enableAttack","enableAudioFeature","enableAutoStartUpRTD","enableAutoTrimRTD","enableCamShake","enableCaustics","enableChannel","enableCollisionWith","enableCopilot","enableDebriefingStats","enableDiagLegend","enableDirectionStabilization","enableDynamicSimulation","enableDynamicSimulationSystem","enableEndDialog","enableEngineArtillery","enableEnvironment","enableFatigue","enableGunLights","enableInfoPanelComponent","enableIRLasers","enableMimics","enablePersonTurret","enableRadio","enableReload","enableRopeAttach","enableSatNormalOnDetail","enableSaving","enableSentences","enableSimulation","enableSimulationGlobal","enableStamina","enableStressDamage","enableTeamSwitch","enableTraffic","enableUAVConnectability","enableUAVWaypoints","enableVehicleCargo","enableVehicleSensor","enableWeaponDisassembly","endLoadingScreen","endMission","engineOn","enginesIsOnRTD","enginesPowerRTD","enginesRpmRTD","enginesTorqueRTD","entities","environmentEnabled","environmentVolume","equipmentDisabled","estimatedEndServerTime","estimatedTimeLeft","evalObjectArgument","everyBackpack","everyContainer","exec","execEditorScript","execFSM","execVM","exp","expectedDestination","exportJIPMessages","eyeDirection","eyePos","face","faction","fadeEnvironment","fadeMusic","fadeRadio","fadeSound","fadeSpeech","failMission","fileExists","fillWeaponsFromPool","find","findAny","findCover","findDisplay","findEditorObject","findEmptyPosition","findEmptyPositionReady","findIf","findNearestEnemy","finishMissionInit","finite","fire","fireAtTarget","firstBackpack","flag","flagAnimationPhase","flagOwner","flagSide","flagTexture","flatten","fleeing","floor","flyInHeight","flyInHeightASL","focusedCtrl","fog","fogForecast","fogParams","forceAddUniform","forceAtPositionRTD","forceCadetDifficulty","forcedMap","forceEnd","forceFlagTexture","forceFollowRoad","forceGeneratorRTD","forceMap","forceRespawn","forceSpeed","forceUnicode","forceWalk","forceWeaponFire","forceWeatherChange","forEachMember","forEachMemberAgent","forEachMemberTeam","forgetTarget","format","formation","formationDirection","formationLeader","formationMembers","formationPosition","formationTask","formatText","formLeader","freeExtension","freeLook","fromEditor","fuel","fullCrew","gearIDCAmmoCount","gearSlotAmmoCount","gearSlotData","gestureState","get","get3DENActionState","get3DENAttribute","get3DENCamera","get3DENConnections","get3DENEntity","get3DENEntityID","get3DENGrid","get3DENIconsVisible","get3DENLayerEntities","get3DENLinesVisible","get3DENMissionAttribute","get3DENMouseOver","get3DENSelected","getAimingCoef","getAllEnv3DSoundControllers","getAllEnvSoundControllers","getAllHitPointsDamage","getAllOwnedMines","getAllPylonsInfo","getAllSoundControllers","getAllUnitTraits","getAmmoCargo","getAnimAimPrecision","getAnimSpeedCoef","getArray","getArtilleryAmmo","getArtilleryComputerSettings","getArtilleryETA","getAssetDLCInfo","getAssignedCuratorLogic","getAssignedCuratorUnit","getAttackTarget","getAudioOptionVolumes","getBackpackCargo","getBleedingRemaining","getBurningValue","getCalculatePlayerVisibilityByFriendly","getCameraViewDirection","getCargoIndex","getCenterOfMass","getClientState","getClientStateNumber","getCompatiblePylonMagazines","getConnectedUAV","getConnectedUAVUnit","getContainerMaxLoad","getCorpse","getCruiseControl","getCursorObjectParams","getCustomAimCoef","getCustomSoundController","getCustomSoundControllerCount","getDammage","getDebriefingText","getDescription","getDir","getDirVisual","getDiverState","getDLCAssetsUsage","getDLCAssetsUsageByName","getDLCs","getDLCUsageTime","getEditorCamera","getEditorMode","getEditorObjectScope","getElevationOffset","getEngineTargetRPMRTD","getEnv3DSoundController","getEnvSoundController","getEventHandlerInfo","getFatigue","getFieldManualStartPage","getForcedFlagTexture","getForcedSpeed","getFriend","getFSMVariable","getFuelCargo","getGraphValues","getGroupIcon","getGroupIconParams","getGroupIcons","getHideFrom","getHit","getHitIndex","getHitPointDamage","getItemCargo","getLighting","getLightingAt","getLoadedModsInfo","getMagazineCargo","getMarkerColor","getMarkerPos","getMarkerSize","getMarkerType","getMass","getMissionConfig","getMissionConfigValue","getMissionDLCs","getMissionLayerEntities","getMissionLayers","getMissionPath","getModelInfo","getMousePosition","getMusicPlayedTime","getNumber","getObjectArgument","getObjectChildren","getObjectDLC","getObjectFOV","getObjectID","getObjectMaterials","getObjectProxy","getObjectScale","getObjectTextures","getObjectType","getObjectViewDistance","getOpticsMode","getOrDefault","getOrDefaultCall","getOxygenRemaining","getPersonUsedDLCs","getPilotCameraDirection","getPilotCameraPosition","getPilotCameraRotation","getPilotCameraTarget","getPiPViewDistance","getPlateNumber","getPlayerChannel","getPlayerID","getPlayerScores","getPlayerUID","getPlayerVoNVolume","getPos","getPosASL","getPosASLVisual","getPosASLW","getPosATL","getPosATLVisual","getPosVisual","getPosWorld","getPosWorldVisual","getPylonMagazines","getRelDir","getRelPos","getRemoteSensorsDisabled","getRepairCargo","getResolution","getRoadInfo","getRotorBrakeRTD","getSensorTargets","getSensorThreats","getShadowDistance","getShotParents","getSlingLoad","getSoundController","getSoundControllerResult","getSpeed","getStamina","getStatValue","getSteamFriendsServers","getSubtitleOptions","getSuppression","getTerrainGrid","getTerrainHeight","getTerrainHeightASL","getTerrainInfo","getText","getTextRaw","getTextureInfo","getTextWidth","getTiParameters","getTotalDLCUsageTime","getTrimOffsetRTD","getTurretLimits","getTurretOpticsMode","getUnitFreefallInfo","getUnitLoadout","getUnitTrait","getUnloadInCombat","getUserInfo","getUserMFDText","getUserMFDValue","getVariable","getVehicleCargo","getVehicleTiPars","getWeaponCargo","getWeaponSway","getWingsOrientationRTD","getWingsPositionRTD","getWPPos","glanceAt","globalChat","globalRadio","goggles","goto","group","groupChat","groupFromNetId","groupIconSelectable","groupIconsVisible","groupID","groupOwner","groupRadio","groups","groupSelectedUnits","groupSelectUnit","gunner","gusts","halt","handgunItems","handgunMagazine","handgunWeapon","handsHit","hashValue","hasInterface","hasPilotCamera","hasWeapon","hcAllGroups","hcGroupParams","hcLeader","hcRemoveAllGroups","hcRemoveGroup","hcSelected","hcSelectGroup","hcSetGroup","hcShowBar","hcShownBar","headgear","hideBody","hideObject","hideObjectGlobal","hideSelection","hint","hintC","hintCadet","hintSilent","hmd","hostMission","htmlLoad","HUDMovementLevels","humidity","image","importAllGroups","importance","in","inArea","inAreaArray","incapacitatedState","inflame","inflamed","infoPanel","infoPanelComponentEnabled","infoPanelComponents","infoPanels","inGameUISetEventHandler","inheritsFrom","initAmbientLife","inPolygon","inputAction","inputController","inputMouse","inRangeOfArtillery","insert","insertEditorObject","intersect","is3DEN","is3DENMultiplayer","is3DENPreview","isAbleToBreathe","isActionMenuVisible","isAgent","isAimPrecisionEnabled","isAllowedCrewInImmobile","isArray","isAutoHoverOn","isAutonomous","isAutoStartUpEnabledRTD","isAutotest","isAutoTrimOnRTD","isAwake","isBleeding","isBurning","isClass","isCollisionLightOn","isCopilotEnabled","isDamageAllowed","isDedicated","isDLCAvailable","isEngineOn","isEqualRef","isEqualTo","isEqualType","isEqualTypeAll","isEqualTypeAny","isEqualTypeArray","isEqualTypeParams","isFilePatchingEnabled","isFinal","isFlashlightOn","isFlatEmpty","isForcedWalk","isFormationLeader","isGameFocused","isGamePaused","isGroupDeletedWhenEmpty","isHidden","isInRemainsCollector","isInstructorFigureEnabled","isIRLaserOn","isKeyActive","isKindOf","isLaserOn","isLightOn","isLocalized","isManualFire","isMarkedForCollection","isMissionProfileNamespaceLoaded","isMultiplayer","isMultiplayerSolo","isNil","isNotEqualRef","isNotEqualTo","isNull","isNumber","isObjectHidden","isObjectRTD","isOnRoad","isPiPEnabled","isPlayer","isRealTime","isRemoteExecuted","isRemoteExecutedJIP","isSaving","isSensorTargetConfirmed","isServer","isShowing3DIcons","isSimpleObject","isSprintAllowed","isStaminaEnabled","isSteamMission","isSteamOverlayEnabled","isStreamFriendlyUIEnabled","isStressDamageEnabled","isText","isTouchingGround","isTurnedOut","isTutHintsEnabled","isUAVConnectable","isUAVConnected","isUIContext","isUniformAllowed","isVehicleCargo","isVehicleRadarOn","isVehicleSensorEnabled","isWalking","isWeaponDeployed","isWeaponRested","itemCargo","items","itemsWithMagazines","join","joinAs","joinAsSilent","joinSilent","joinString","kbAddDatabase","kbAddDatabaseTargets","kbAddTopic","kbHasTopic","kbReact","kbRemoveTopic","kbTell","kbWasSaid","keyImage","keyName","keys","knowsAbout","land","landAt","landResult","language","laserTarget","lbAdd","lbClear","lbColor","lbColorRight","lbCurSel","lbData","lbDelete","lbIsSelected","lbPicture","lbPictureRight","lbSelection","lbSetColor","lbSetColorRight","lbSetCurSel","lbSetData","lbSetPicture","lbSetPictureColor","lbSetPictureColorDisabled","lbSetPictureColorSelected","lbSetPictureRight","lbSetPictureRightColor","lbSetPictureRightColorDisabled","lbSetPictureRightColorSelected","lbSetSelectColor","lbSetSelectColorRight","lbSetSelected","lbSetText","lbSetTextRight","lbSetTooltip","lbSetValue","lbSize","lbSort","lbSortBy","lbSortByValue","lbText","lbTextRight","lbTooltip","lbValue","leader","leaderboardDeInit","leaderboardGetRows","leaderboardInit","leaderboardRequestRowsFriends","leaderboardRequestRowsGlobal","leaderboardRequestRowsGlobalAroundUser","leaderboardsRequestUploadScore","leaderboardsRequestUploadScoreKeepBest","leaderboardState","leaveVehicle","libraryCredits","libraryDisclaimers","lifeState","lightAttachObject","lightDetachObject","lightIsOn","lightnings","limitSpeed","linearConversion","lineIntersects","lineIntersectsObjs","lineIntersectsSurfaces","lineIntersectsWith","linkItem","list","listObjects","listRemoteTargets","listVehicleSensors","ln","lnbAddArray","lnbAddColumn","lnbAddRow","lnbClear","lnbColor","lnbColorRight","lnbCurSelRow","lnbData","lnbDeleteColumn","lnbDeleteRow","lnbGetColumnsPosition","lnbPicture","lnbPictureRight","lnbSetColor","lnbSetColorRight","lnbSetColumnsPos","lnbSetCurSelRow","lnbSetData","lnbSetPicture","lnbSetPictureColor","lnbSetPictureColorRight","lnbSetPictureColorSelected","lnbSetPictureColorSelectedRight","lnbSetPictureRight","lnbSetText","lnbSetTextRight","lnbSetTooltip","lnbSetValue","lnbSize","lnbSort","lnbSortBy","lnbSortByValue","lnbText","lnbTextRight","lnbValue","load","loadAbs","loadBackpack","loadConfig","loadFile","loadGame","loadIdentity","loadMagazine","loadOverlay","loadStatus","loadUniform","loadVest","localize","localNamespace","locationPosition","lock","lockCameraTo","lockCargo","lockDriver","locked","lockedCameraTo","lockedCargo","lockedDriver","lockedInventory","lockedTurret","lockIdentity","lockInventory","lockTurret","lockWp","log","logEntities","logNetwork","logNetworkTerminate","lookAt","lookAtPos","magazineCargo","magazines","magazinesAllTurrets","magazinesAmmo","magazinesAmmoCargo","magazinesAmmoFull","magazinesDetail","magazinesDetailBackpack","magazinesDetailUniform","magazinesDetailVest","magazinesTurret","magazineTurretAmmo","mapAnimAdd","mapAnimClear","mapAnimCommit","mapAnimDone","mapCenterOnCamera","mapGridPosition","markAsFinishedOnSteam","markerAlpha","markerBrush","markerChannel","markerColor","markerDir","markerPolyline","markerPos","markerShadow","markerShape","markerSize","markerText","markerType","matrixMultiply","matrixTranspose","max","maxLoad","members","menuAction","menuAdd","menuChecked","menuClear","menuCollapse","menuData","menuDelete","menuEnable","menuEnabled","menuExpand","menuHover","menuPicture","menuSetAction","menuSetCheck","menuSetData","menuSetPicture","menuSetShortcut","menuSetText","menuSetURL","menuSetValue","menuShortcut","menuShortcutText","menuSize","menuSort","menuText","menuURL","menuValue","merge","min","mineActive","mineDetectedBy","missileTarget","missileTargetPos","missionConfigFile","missionDifficulty","missionEnd","missionName","missionNameSource","missionNamespace","missionProfileNamespace","missionStart","missionVersion","mod","modelToWorld","modelToWorldVisual","modelToWorldVisualWorld","modelToWorldWorld","modParams","moonIntensity","moonPhase","morale","move","move3DENCamera","moveInAny","moveInCargo","moveInCommander","moveInDriver","moveInGunner","moveInTurret","moveObjectToEnd","moveOut","moveTime","moveTo","moveToCompleted","moveToFailed","musicVolume","name","namedProperties","nameSound","nearEntities","nearestBuilding","nearestLocation","nearestLocations","nearestLocationWithDubbing","nearestMines","nearestObject","nearestObjects","nearestTerrainObjects","nearObjects","nearObjectsReady","nearRoads","nearSupplies","nearTargets","needReload","needService","netId","netObjNull","newOverlay","nextMenuItemIndex","nextWeatherChange","nMenuItems","not","numberOfEnginesRTD","numberToDate","objectCurators","objectFromNetId","objectParent","objStatus","onBriefingGroup","onBriefingNotes","onBriefingPlan","onBriefingTeamSwitch","onCommandModeChanged","onDoubleClick","onEachFrame","onGroupIconClick","onGroupIconOverEnter","onGroupIconOverLeave","onHCGroupSelectionChanged","onMapSingleClick","onPlayerConnected","onPlayerDisconnected","onPreloadFinished","onPreloadStarted","onShowNewObject","onTeamSwitch","openCuratorInterface","openDLCPage","openGPS","openMap","openSteamApp","openYoutubeVideo","or","orderGetIn","overcast","overcastForecast","owner","param","params","parseNumber","parseSimpleArray","parseText","parsingNamespace","particlesQuality","periscopeElevation","pickWeaponPool","pitch","pixelGrid","pixelGridBase","pixelGridNoUIScale","pixelH","pixelW","playableSlotsNumber","playableUnits","playAction","playActionNow","player","playerRespawnTime","playerSide","playersNumber","playGesture","playMission","playMove","playMoveNow","playMusic","playScriptedMission","playSound","playSound3D","playSoundUI","pose","position","positionCameraToWorld","posScreenToWorld","posWorldToScreen","ppEffectAdjust","ppEffectCommit","ppEffectCommitted","ppEffectCreate","ppEffectDestroy","ppEffectEnable","ppEffectEnabled","ppEffectForceInNVG","precision","preloadCamera","preloadObject","preloadSound","preloadTitleObj","preloadTitleRsc","preprocessFile","preprocessFileLineNumbers","primaryWeapon","primaryWeaponItems","primaryWeaponMagazine","priority","processDiaryLink","productVersion","profileName","profileNamespace","profileNameSteam","progressLoadingScreen","progressPosition","progressSetPosition","publicVariable","publicVariableClient","publicVariableServer","pushBack","pushBackUnique","putWeaponPool","queryItemsPool","queryMagazinePool","queryWeaponPool","rad","radioChannelAdd","radioChannelCreate","radioChannelInfo","radioChannelRemove","radioChannelSetCallSign","radioChannelSetLabel","radioEnabled","radioVolume","rain","rainbow","rainParams","random","rank","rankId","rating","rectangular","regexFind","regexMatch","regexReplace","registeredTasks","registerTask","reload","reloadEnabled","remoteControl","remoteExec","remoteExecCall","remoteExecutedOwner","remove3DENConnection","remove3DENEventHandler","remove3DENLayer","removeAction","removeAll3DENEventHandlers","removeAllActions","removeAllAssignedItems","removeAllBinocularItems","removeAllContainers","removeAllCuratorAddons","removeAllCuratorCameraAreas","removeAllCuratorEditingAreas","removeAllEventHandlers","removeAllHandgunItems","removeAllItems","removeAllItemsWithMagazines","removeAllMissionEventHandlers","removeAllMPEventHandlers","removeAllMusicEventHandlers","removeAllOwnedMines","removeAllPrimaryWeaponItems","removeAllSecondaryWeaponItems","removeAllUserActionEventHandlers","removeAllWeapons","removeBackpack","removeBackpackGlobal","removeBinocularItem","removeCuratorAddons","removeCuratorCameraArea","removeCuratorEditableObjects","removeCuratorEditingArea","removeDiaryRecord","removeDiarySubject","removeDrawIcon","removeDrawLinks","removeEventHandler","removeFromRemainsCollector","removeGoggles","removeGroupIcon","removeHandgunItem","removeHeadgear","removeItem","removeItemFromBackpack","removeItemFromUniform","removeItemFromVest","removeItems","removeMagazine","removeMagazineGlobal","removeMagazines","removeMagazinesTurret","removeMagazineTurret","removeMenuItem","removeMissionEventHandler","removeMPEventHandler","removeMusicEventHandler","removeOwnedMine","removePrimaryWeaponItem","removeSecondaryWeaponItem","removeSimpleTask","removeSwitchableUnit","removeTeamMember","removeUniform","removeUserActionEventHandler","removeVest","removeWeapon","removeWeaponAttachmentCargo","removeWeaponCargo","removeWeaponGlobal","removeWeaponTurret","reportRemoteTarget","requiredVersion","resetCamShake","resetSubgroupDirection","resize","resources","respawnVehicle","restartEditorCamera","reveal","revealMine","reverse","reversedMouseY","roadAt","roadsConnectedTo","roleDescription","ropeAttachedObjects","ropeAttachedTo","ropeAttachEnabled","ropeAttachTo","ropeCreate","ropeCut","ropeDestroy","ropeDetach","ropeEndPosition","ropeLength","ropes","ropesAttachedTo","ropeSegments","ropeUnwind","ropeUnwound","rotorsForcesRTD","rotorsRpmRTD","round","runInitScript","safeZoneH","safeZoneW","safeZoneWAbs","safeZoneX","safeZoneXAbs","safeZoneY","save3DENInventory","saveGame","saveIdentity","saveJoysticks","saveMissionProfileNamespace","saveOverlay","saveProfileNamespace","saveStatus","saveVar","savingEnabled","say","say2D","say3D","scopeName","score","scoreSide","screenshot","screenToWorld","scriptDone","scriptName","scudState","secondaryWeapon","secondaryWeaponItems","secondaryWeaponMagazine","select","selectBestPlaces","selectDiarySubject","selectedEditorObjects","selectEditorObject","selectionNames","selectionPosition","selectionVectorDirAndUp","selectLeader","selectMax","selectMin","selectNoPlayer","selectPlayer","selectRandom","selectRandomWeighted","selectWeapon","selectWeaponTurret","sendAUMessage","sendSimpleCommand","sendTask","sendTaskResult","sendUDPMessage","sentencesEnabled","serverCommand","serverCommandAvailable","serverCommandExecutable","serverName","serverNamespace","serverTime","set","set3DENAttribute","set3DENAttributes","set3DENGrid","set3DENIconsVisible","set3DENLayer","set3DENLinesVisible","set3DENLogicType","set3DENMissionAttribute","set3DENMissionAttributes","set3DENModelsVisible","set3DENObjectType","set3DENSelected","setAccTime","setActualCollectiveRTD","setAirplaneThrottle","setAirportSide","setAmmo","setAmmoCargo","setAmmoOnPylon","setAnimSpeedCoef","setAperture","setApertureNew","setArmoryPoints","setAttributes","setAutonomous","setBehaviour","setBehaviourStrong","setBleedingRemaining","setBrakesRTD","setCameraInterest","setCamShakeDefParams","setCamShakeParams","setCamUseTi","setCaptive","setCenterOfMass","setCollisionLight","setCombatBehaviour","setCombatMode","setCompassOscillation","setConvoySeparation","setCruiseControl","setCuratorCameraAreaCeiling","setCuratorCoef","setCuratorEditingAreaType","setCuratorWaypointCost","setCurrentChannel","setCurrentTask","setCurrentWaypoint","setCustomAimCoef","SetCustomMissionData","setCustomSoundController","setCustomWeightRTD","setDamage","setDammage","setDate","setDebriefingText","setDefaultCamera","setDestination","setDetailMapBlendPars","setDiaryRecordText","setDiarySubjectPicture","setDir","setDirection","setDrawIcon","setDriveOnPath","setDropInterval","setDynamicSimulationDistance","setDynamicSimulationDistanceCoef","setEditorMode","setEditorObjectScope","setEffectCondition","setEffectiveCommander","setEngineRpmRTD","setFace","setFaceanimation","setFatigue","setFeatureType","setFlagAnimationPhase","setFlagOwner","setFlagSide","setFlagTexture","setFog","setForceGeneratorRTD","setFormation","setFormationTask","setFormDir","setFriend","setFromEditor","setFSMVariable","setFuel","setFuelCargo","setGroupIcon","setGroupIconParams","setGroupIconsSelectable","setGroupIconsVisible","setGroupid","setGroupIdGlobal","setGroupOwner","setGusts","setHideBehind","setHit","setHitIndex","setHitPointDamage","setHorizonParallaxCoef","setHUDMovementLevels","setHumidity","setIdentity","setImportance","setInfoPanel","setLeader","setLightAmbient","setLightAttenuation","setLightBrightness","setLightColor","setLightConePars","setLightDayLight","setLightFlareMaxDistance","setLightFlareSize","setLightIntensity","setLightIR","setLightnings","setLightUseFlare","setLightVolumeShape","setLocalWindParams","setMagazineTurretAmmo","setMarkerAlpha","setMarkerAlphaLocal","setMarkerBrush","setMarkerBrushLocal","setMarkerColor","setMarkerColorLocal","setMarkerDir","setMarkerDirLocal","setMarkerPolyline","setMarkerPolylineLocal","setMarkerPos","setMarkerPosLocal","setMarkerShadow","setMarkerShadowLocal","setMarkerShape","setMarkerShapeLocal","setMarkerSize","setMarkerSizeLocal","setMarkerText","setMarkerTextLocal","setMarkerType","setMarkerTypeLocal","setMass","setMaxLoad","setMimic","setMissileTarget","setMissileTargetPos","setMousePosition","setMusicEffect","setMusicEventHandler","setName","setNameSound","setObjectArguments","setObjectMaterial","setObjectMaterialGlobal","setObjectProxy","setObjectScale","setObjectTexture","setObjectTextureGlobal","setObjectViewDistance","setOpticsMode","setOvercast","setOwner","setOxygenRemaining","setParticleCircle","setParticleClass","setParticleFire","setParticleParams","setParticleRandom","setPilotCameraDirection","setPilotCameraRotation","setPilotCameraTarget","setPilotLight","setPiPEffect","setPiPViewDistance","setPitch","setPlateNumber","setPlayable","setPlayerRespawnTime","setPlayerVoNVolume","setPos","setPosASL","setPosASL2","setPosASLW","setPosATL","setPosition","setPosWorld","setPylonLoadout","setPylonsPriority","setRadioMsg","setRain","setRainbow","setRandomLip","setRank","setRectangular","setRepairCargo","setRotorBrakeRTD","setShadowDistance","setShotParents","setSide","setSimpleTaskAlwaysVisible","setSimpleTaskCustomData","setSimpleTaskDescription","setSimpleTaskDestination","setSimpleTaskTarget","setSimpleTaskType","setSimulWeatherLayers","setSize","setSkill","setSlingLoad","setSoundEffect","setSpeaker","setSpeech","setSpeedMode","setStamina","setStaminaScheme","setStatValue","setSuppression","setSystemOfUnits","setTargetAge","setTaskMarkerOffset","setTaskResult","setTaskState","setTerrainGrid","setTerrainHeight","setText","setTimeMultiplier","setTiParameter","setTitleEffect","setTowParent","setTrafficDensity","setTrafficDistance","setTrafficGap","setTrafficSpeed","setTriggerActivation","setTriggerArea","setTriggerInterval","setTriggerStatements","setTriggerText","setTriggerTimeout","setTriggerType","setTurretLimits","setTurretOpticsMode","setType","setUnconscious","setUnitAbility","setUnitCombatMode","setUnitFreefallHeight","setUnitLoadout","setUnitPos","setUnitPosWeak","setUnitRank","setUnitRecoilCoefficient","setUnitTrait","setUnloadInCombat","setUserActionText","setUserMFDText","setUserMFDValue","setVariable","setVectorDir","setVectorDirAndUp","setVectorUp","setVehicleAmmo","setVehicleAmmoDef","setVehicleArmor","setVehicleCargo","setVehicleId","setVehicleLock","setVehiclePosition","setVehicleRadar","setVehicleReceiveRemoteTargets","setVehicleReportOwnPosition","setVehicleReportRemoteTargets","setVehicleTiPars","setVehicleVarName","setVelocity","setVelocityModelSpace","setVelocityTransformation","setViewDistance","setVisibleIfTreeCollapsed","setWantedRPMRTD","setWaves","setWaypointBehaviour","setWaypointCombatMode","setWaypointCompletionRadius","setWaypointDescription","setWaypointForceBehaviour","setWaypointFormation","setWaypointHousePosition","setWaypointLoiterAltitude","setWaypointLoiterRadius","setWaypointLoiterType","setWaypointName","setWaypointPosition","setWaypointScript","setWaypointSpeed","setWaypointStatements","setWaypointTimeout","setWaypointType","setWaypointVisible","setWeaponReloadingTime","setWeaponZeroing","setWind","setWindDir","setWindForce","setWindStr","setWingForceScaleRTD","setWPPos","show3DIcons","showChat","showCinemaBorder","showCommandingMenu","showCompass","showCuratorCompass","showGps","showHUD","showLegend","showMap","shownArtilleryComputer","shownChat","shownCompass","shownCuratorCompass","showNewEditorObject","shownGps","shownHUD","shownMap","shownPad","shownRadio","shownScoretable","shownSubtitles","shownUAVFeed","shownWarrant","shownWatch","showPad","showRadio","showScoretable","showSubtitles","showUAVFeed","showWarrant","showWatch","showWaypoint","showWaypoints","side","sideChat","sideRadio","simpleTasks","simulationEnabled","simulCloudDensity","simulCloudOcclusion","simulInClouds","simulWeatherSync","sin","size","sizeOf","skill","skillFinal","skipTime","sleep","sliderPosition","sliderRange","sliderSetPosition","sliderSetRange","sliderSetSpeed","sliderSpeed","slingLoadAssistantShown","soldierMagazines","someAmmo","sort","soundVolume","spawn","speaker","speechVolume","speed","speedMode","splitString","sqrt","squadParams","stance","startLoadingScreen","stop","stopEngineRTD","stopped","str","sunOrMoon","supportInfo","suppressFor","surfaceIsWater","surfaceNormal","surfaceTexture","surfaceType","swimInDepth","switchableUnits","switchAction","switchCamera","switchGesture","switchLight","switchMove","synchronizedObjects","synchronizedTriggers","synchronizedWaypoints","synchronizeObjectsAdd","synchronizeObjectsRemove","synchronizeTrigger","synchronizeWaypoint","systemChat","systemOfUnits","systemTime","systemTimeUTC","tan","targetKnowledge","targets","targetsAggregate","targetsQuery","taskAlwaysVisible","taskChildren","taskCompleted","taskCustomData","taskDescription","taskDestination","taskHint","taskMarkerOffset","taskName","taskParent","taskResult","taskState","taskType","teamMember","teamName","teams","teamSwitch","teamSwitchEnabled","teamType","terminate","terrainIntersect","terrainIntersectASL","terrainIntersectAtASL","text","textLog","textLogFormat","tg","time","timeMultiplier","titleCut","titleFadeOut","titleObj","titleRsc","titleText","toArray","toFixed","toLower","toLowerANSI","toString","toUpper","toUpperANSI","triggerActivated","triggerActivation","triggerAmmo","triggerArea","triggerAttachedVehicle","triggerAttachObject","triggerAttachVehicle","triggerDynamicSimulation","triggerInterval","triggerStatements","triggerText","triggerTimeout","triggerTimeoutCurrent","triggerType","trim","turretLocal","turretOwner","turretUnit","tvAdd","tvClear","tvCollapse","tvCollapseAll","tvCount","tvCurSel","tvData","tvDelete","tvExpand","tvExpandAll","tvIsSelected","tvPicture","tvPictureRight","tvSelection","tvSetColor","tvSetCurSel","tvSetData","tvSetPicture","tvSetPictureColor","tvSetPictureColorDisabled","tvSetPictureColorSelected","tvSetPictureRight","tvSetPictureRightColor","tvSetPictureRightColorDisabled","tvSetPictureRightColorSelected","tvSetSelectColor","tvSetSelected","tvSetText","tvSetTooltip","tvSetValue","tvSort","tvSortAll","tvSortByValue","tvSortByValueAll","tvText","tvTooltip","tvValue","type","typeName","typeOf","UAVControl","uiNamespace","uiSleep","unassignCurator","unassignItem","unassignTeam","unassignVehicle","underwater","uniform","uniformContainer","uniformItems","uniformMagazines","uniqueUnitItems","unitAddons","unitAimPosition","unitAimPositionVisual","unitBackpack","unitCombatMode","unitIsUAV","unitPos","unitReady","unitRecoilCoefficient","units","unitsBelowHeight","unitTurret","unlinkItem","unlockAchievement","unregisterTask","updateDrawIcon","updateMenuItem","updateObjectTree","useAIOperMapObstructionTest","useAISteeringComponent","useAudioTimeForMoves","userInputDisabled","values","vectorAdd","vectorCos","vectorCrossProduct","vectorDiff","vectorDir","vectorDirVisual","vectorDistance","vectorDistanceSqr","vectorDotProduct","vectorFromTo","vectorLinearConversion","vectorMagnitude","vectorMagnitudeSqr","vectorModelToWorld","vectorModelToWorldVisual","vectorMultiply","vectorNormalized","vectorUp","vectorUpVisual","vectorWorldToModel","vectorWorldToModelVisual","vehicle","vehicleCargoEnabled","vehicleChat","vehicleMoveInfo","vehicleRadio","vehicleReceiveRemoteTargets","vehicleReportOwnPosition","vehicleReportRemoteTargets","vehicles","vehicleVarName","velocity","velocityModelSpace","verifySignature","vest","vestContainer","vestItems","vestMagazines","viewDistance","visibleCompass","visibleGps","visibleMap","visiblePosition","visiblePositionASL","visibleScoretable","visibleWatch","waves","waypointAttachedObject","waypointAttachedVehicle","waypointAttachObject","waypointAttachVehicle","waypointBehaviour","waypointCombatMode","waypointCompletionRadius","waypointDescription","waypointForceBehaviour","waypointFormation","waypointHousePosition","waypointLoiterAltitude","waypointLoiterRadius","waypointLoiterType","waypointName","waypointPosition","waypoints","waypointScript","waypointsEnabledUAV","waypointShow","waypointSpeed","waypointStatements","waypointTimeout","waypointTimeoutCurrent","waypointType","waypointVisible","weaponAccessories","weaponAccessoriesCargo","weaponCargo","weaponDirection","weaponInertia","weaponLowered","weaponReloadingTime","weapons","weaponsInfo","weaponsItems","weaponsItemsCargo","weaponState","weaponsTurret","weightRTD","WFSideText","wind","windDir","windRTD","windStr","wingsForcesRTD","worldName","worldSize","worldToModel","worldToModelVisual","worldToScreen"],literal:["blufor","civilian","configNull","controlNull","displayNull","diaryRecordNull","east","endl","false","grpNull","independent","lineBreak","locationNull","nil","objNull","opfor","pi","resistance","scriptNull","sideAmbientLife","sideEmpty","sideEnemy","sideFriendly","sideLogic","sideUnknown","taskNull","teamMemberNull","true","west"]},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.NUMBER_MODE,{className:"variable",begin:/\b_+[a-zA-Z]\w*/},{className:"title",begin:/[a-zA-Z][a-zA-Z_0-9]*_fnc_[a-zA-Z_0-9]+/},t,n],illegal:[ +//$ is only valid when used with Hex numbers (e.g. $FF) +/\$[^a-fA-F0-9]/,/\w\$/,/\?/, +//There's no ? in SQF +/@/, +//There's no @ in SQF +// Brute-force-fixing the build error. See https://github.com/highlightjs/highlight.js/pull/3193#issuecomment-843088729 +/ \| /, +// . is only used in numbers +/[a-zA-Z_]\./,/\:\=/,/\[\:/]}}}function Xp(){if(Bc)return Fc;return Bc=1,Fc=function(e){const t=e.regex,n=e.COMMENT("--","$"),r=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],i=r,a=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year","add","asc","collation","desc","final","first","last","view"].filter((e=>!r.includes(e))),o={match:t.concat(/\b/,t.either(...i),/\s*\(/),relevance:0,keywords:{built_in:i}};function s(e){return t.concat(/\b/,t.either(...e.map((e=>e.replace(/\s+/,"\\s+")))),/\b/)}const l={scope:"keyword",match:s(["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"]),relevance:0};return{name:"SQL",case_insensitive:!0, +// does not include {} or HTML tags `</` +illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:function(e,{exceptions:t,when:n}={}){const r=n;return t=t||[],e.map((e=>e.match(/\|\d+$/)||t.includes(e)?e:r(e)?`${e}|0`:e))}(a,{when:e=>e.length<3}),literal:["true","false", +// Not sure it's correct to call NULL literal, and clauses like IS [NOT] NULL look strange that way. +// "null", +"unknown"],type:["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying", +// modifier (character varying) +"varbinary"],built_in:["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"]},contains:[{scope:"type",match:s(["double precision","large object","with timezone","without timezone"])},l,o,{scope:"variable",match:/@[a-z0-9][a-z0-9_]*/},{scope:"string",variants:[{begin:/'/,end:/'/,contains:[{match:/''/}]}]},{begin:/"/,end:/"/,contains:[{match:/""/}]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,{scope:"operator",match:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0}]}}}function Zp(){if(Gc)return Uc;return Gc=1,Uc=function(e){const t=e.regex,n=["bernoulli","bernoulli_logit","bernoulli_logit_glm","beta","beta_binomial","beta_proportion","binomial","binomial_logit","categorical","categorical_logit","categorical_logit_glm","cauchy","chi_square","dirichlet","discrete_range","double_exponential","exp_mod_normal","exponential","frechet","gamma","gaussian_dlm_obs","gumbel","hmm_latent","hypergeometric","inv_chi_square","inv_gamma","inv_wishart","inv_wishart_cholesky","lkj_corr","lkj_corr_cholesky","logistic","loglogistic","lognormal","multi_gp","multi_gp_cholesky","multinomial","multinomial_logit","multi_normal","multi_normal_cholesky","multi_normal_prec","multi_student_cholesky_t","multi_student_t","multi_student_t_cholesky","neg_binomial","neg_binomial_2","neg_binomial_2_log","neg_binomial_2_log_glm","normal","normal_id_glm","ordered_logistic","ordered_logistic_glm","ordered_probit","pareto","pareto_type_2","poisson","poisson_log","poisson_log_glm","rayleigh","scaled_inv_chi_square","skew_double_exponential","skew_normal","std_normal","std_normal_log","student_t","uniform","von_mises","weibull","wiener","wishart","wishart_cholesky"],r=e.COMMENT(/\/\*/,/\*\//,{relevance:0,contains:[{scope:"doctag",match:/@(return|param)/}]}),i={scope:"meta",begin:/#include\b/,end:/$/,contains:[{match:/[a-z][a-z-._]+/,scope:"string"},e.C_LINE_COMMENT_MODE]},a=["lower","upper","offset","multiplier"];return{name:"Stan",aliases:["stanfuncs"],keywords:{$pattern:e.IDENT_RE,title:["functions","model","data","parameters","quantities","transformed","generated"],type:["array","tuple","complex","int","real","vector","complex_vector","ordered","positive_ordered","simplex","unit_vector","row_vector","complex_row_vector","matrix","complex_matrix","cholesky_factor_corr|10","cholesky_factor_cov|10","corr_matrix|10","cov_matrix|10","void"],keyword:["for","in","if","else","while","break","continue","return"],built_in:["abs","acos","acosh","add_diag","algebra_solver","algebra_solver_newton","append_array","append_col","append_row","asin","asinh","atan","atan2","atanh","bessel_first_kind","bessel_second_kind","binary_log_loss","block","cbrt","ceil","chol2inv","cholesky_decompose","choose","col","cols","columns_dot_product","columns_dot_self","complex_schur_decompose","complex_schur_decompose_t","complex_schur_decompose_u","conj","cos","cosh","cov_exp_quad","crossprod","csr_extract","csr_extract_u","csr_extract_v","csr_extract_w","csr_matrix_times_vector","csr_to_dense_matrix","cumulative_sum","dae","dae_tol","determinant","diag_matrix","diagonal","diag_post_multiply","diag_pre_multiply","digamma","dims","distance","dot_product","dot_self","eigendecompose","eigendecompose_sym","eigenvalues","eigenvalues_sym","eigenvectors","eigenvectors_sym","erf","erfc","exp","exp2","expm1","falling_factorial","fdim","fft","fft2","floor","fma","fmax","fmin","fmod","gamma_p","gamma_q","generalized_inverse","get_imag","get_real","head","hmm_hidden_state_prob","hmm_marginal","hypot","identity_matrix","inc_beta","integrate_1d","integrate_ode","integrate_ode_adams","integrate_ode_bdf","integrate_ode_rk45","int_step","inv","inv_cloglog","inv_erfc","inverse","inverse_spd","inv_fft","inv_fft2","inv_inc_beta","inv_logit","inv_Phi","inv_sqrt","inv_square","is_inf","is_nan","lambert_w0","lambert_wm1","lbeta","lchoose","ldexp","lgamma","linspaced_array","linspaced_int_array","linspaced_row_vector","linspaced_vector","lmgamma","lmultiply","log","log1m","log1m_exp","log1m_inv_logit","log1p","log1p_exp","log_determinant","log_diff_exp","log_falling_factorial","log_inv_logit","log_inv_logit_diff","logit","log_mix","log_modified_bessel_first_kind","log_rising_factorial","log_softmax","log_sum_exp","machine_precision","map_rect","matrix_exp","matrix_exp_multiply","matrix_power","max","mdivide_left_spd","mdivide_left_tri_low","mdivide_right_spd","mdivide_right_tri_low","mean","min","modified_bessel_first_kind","modified_bessel_second_kind","multiply_lower_tri_self_transpose","negative_infinity","norm","norm1","norm2","not_a_number","num_elements","ode_adams","ode_adams_tol","ode_adjoint_tol_ctl","ode_bdf","ode_bdf_tol","ode_ckrk","ode_ckrk_tol","ode_rk45","ode_rk45_tol","one_hot_array","one_hot_int_array","one_hot_row_vector","one_hot_vector","ones_array","ones_int_array","ones_row_vector","ones_vector","owens_t","Phi","Phi_approx","polar","positive_infinity","pow","print","prod","proj","qr","qr_Q","qr_R","qr_thin","qr_thin_Q","qr_thin_R","quad_form","quad_form_diag","quad_form_sym","quantile","rank","reduce_sum","reject","rep_array","rep_matrix","rep_row_vector","rep_vector","reverse","rising_factorial","round","row","rows","rows_dot_product","rows_dot_self","scale_matrix_exp_multiply","sd","segment","sin","singular_values","sinh","size","softmax","sort_asc","sort_desc","sort_indices_asc","sort_indices_desc","sqrt","square","squared_distance","step","sub_col","sub_row","sum","svd","svd_U","svd_V","symmetrize_from_lower_tri","tail","tan","tanh","target","tcrossprod","tgamma","to_array_1d","to_array_2d","to_complex","to_int","to_matrix","to_row_vector","to_vector","trace","trace_gen_quad_form","trace_quad_form","trigamma","trunc","uniform_simplex","variance","zeros_array","zeros_int_array","zeros_row_vector"]},contains:[e.C_LINE_COMMENT_MODE,i,e.HASH_COMMENT_MODE,r,{scope:"built_in",match:/\s(pi|e|sqrt2|log2|log10)(?=\()/,relevance:0},{match:t.concat(/[<,]\s*/,t.either(...a),/\s*=/),keywords:a},{scope:"keyword",match:/\btarget(?=\s*\+=)/},{ +// highlights the 'T' in T[,] for only Stan language distributrions +match:[/~\s*/,t.either(...n),/(?:\(\))/,/\s*T(?=\s*\[)/],scope:{2:"built_in",4:"keyword"}},{ +// highlights distributions that end with special endings +scope:"built_in",keywords:n,begin:t.concat(/\w*/,t.either(...n),/(_lpdf|_lupdf|_lpmf|_cdf|_lcdf|_lccdf|_qf)(?=\s*[\(.*\)])/)},{ +// highlights distributions after ~ +begin:[/~/,/\s*/,t.concat(t.either(...n),/(?=\s*[\(.*\)])/)],scope:{3:"built_in"}},{ +// highlights user defined distributions after ~ +begin:[/~/,/\s*\w+(?=\s*[\(.*\)])/,"(?!.*/\b("+t.either(...n)+")\b)"],scope:{2:"title.function"}},{ +// highlights user defined distributions with special endings +scope:"title.function",begin:/\w*(_lpdf|_lupdf|_lpmf|_cdf|_lcdf|_lccdf|_qf)(?=\s*[\(.*\)])/},{scope:"number",match:t.concat( +// Comes from @RunDevelopment accessed 11/29/2021 at +// https://github.com/PrismJS/prism/blob/c53ad2e65b7193ab4f03a1797506a54bbb33d5a2/components/prism-stan.js#L56 +// start of big noncapture group which +// 1. gets numbers that are by themselves +// 2. numbers that are separated by _ +// 3. numbers that are separted by . +/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)/, +// grabs scientific notation +// grabs complex numbers with i +/(?:[eE][+-]?\d+(?:_\d+)*)?i?(?!\w)/),relevance:0},{scope:"string",begin:/"/,end:/"/}]}}}function Jp(){if($c)return zc;return $c=1,zc=function(e){return{name:"Stata",aliases:["do","ado"],case_insensitive:!0,keywords:"if else in foreach for forv forva forval forvalu forvalue forvalues by bys bysort xi quietly qui capture about ac ac_7 acprplot acprplot_7 adjust ado adopath adoupdate alpha ameans an ano anov anova anova_estat anova_terms anovadef aorder ap app appe appen append arch arch_dr arch_estat arch_p archlm areg areg_p args arima arima_dr arima_estat arima_p as asmprobit asmprobit_estat asmprobit_lf asmprobit_mfx__dlg asmprobit_p ass asse asser assert avplot avplot_7 avplots avplots_7 bcskew0 bgodfrey bias binreg bip0_lf biplot bipp_lf bipr_lf bipr_p biprobit bitest bitesti bitowt blogit bmemsize boot bootsamp bootstrap bootstrap_8 boxco_l boxco_p boxcox boxcox_6 boxcox_p bprobit br break brier bro brow brows browse brr brrstat bs bs_7 bsampl_w bsample bsample_7 bsqreg bstat bstat_7 bstat_8 bstrap bstrap_7 bubble bubbleplot ca ca_estat ca_p cabiplot camat canon canon_8 canon_8_p canon_estat canon_p cap caprojection capt captu captur capture cat cc cchart cchart_7 cci cd censobs_table centile cf char chdir checkdlgfiles checkestimationsample checkhlpfiles checksum chelp ci cii cl class classutil clear cli clis clist clo clog clog_lf clog_p clogi clogi_sw clogit clogit_lf clogit_p clogitp clogl_sw cloglog clonevar clslistarray cluster cluster_measures cluster_stop cluster_tree cluster_tree_8 clustermat cmdlog cnr cnre cnreg cnreg_p cnreg_sw cnsreg codebook collaps4 collapse colormult_nb colormult_nw compare compress conf confi confir confirm conren cons const constr constra constrai constrain constraint continue contract copy copyright copysource cor corc corr corr2data corr_anti corr_kmo corr_smc corre correl correla correlat correlate corrgram cou coun count cox cox_p cox_sw coxbase coxhaz coxvar cprplot cprplot_7 crc cret cretu cretur creturn cross cs cscript cscript_log csi ct ct_is ctset ctst_5 ctst_st cttost cumsp cumsp_7 cumul cusum cusum_7 cutil d|0 datasig datasign datasigna datasignat datasignatu datasignatur datasignature datetof db dbeta de dec deco decod decode deff des desc descr descri describ describe destring dfbeta dfgls dfuller di di_g dir dirstats dis discard disp disp_res disp_s displ displa display distinct do doe doed doedi doedit dotplot dotplot_7 dprobit drawnorm drop ds ds_util dstdize duplicates durbina dwstat dydx e|0 ed edi edit egen eivreg emdef en enc enco encod encode eq erase ereg ereg_lf ereg_p ereg_sw ereghet ereghet_glf ereghet_glf_sh ereghet_gp ereghet_ilf ereghet_ilf_sh ereghet_ip eret eretu eretur ereturn err erro error esize est est_cfexist est_cfname est_clickable est_expand est_hold est_table est_unhold est_unholdok estat estat_default estat_summ estat_vce_only esti estimates etodow etof etomdy ex exi exit expand expandcl fac fact facto factor factor_estat factor_p factor_pca_rotated factor_rotate factormat fcast fcast_compute fcast_graph fdades fdadesc fdadescr fdadescri fdadescrib fdadescribe fdasav fdasave fdause fh_st file open file read file close file filefilter fillin find_hlp_file findfile findit findit_7 fit fl fli flis flist for5_0 forest forestplot form forma format fpredict frac_154 frac_adj frac_chk frac_cox frac_ddp frac_dis frac_dv frac_in frac_mun frac_pp frac_pq frac_pv frac_wgt frac_xo fracgen fracplot fracplot_7 fracpoly fracpred fron_ex fron_hn fron_p fron_tn fron_tn2 frontier ftodate ftoe ftomdy ftowdate funnel funnelplot g|0 gamhet_glf gamhet_gp gamhet_ilf gamhet_ip gamma gamma_d2 gamma_p gamma_sw gammahet gdi_hexagon gdi_spokes ge gen gene gener genera generat generate genrank genstd genvmean gettoken gl gladder gladder_7 glim_l01 glim_l02 glim_l03 glim_l04 glim_l05 glim_l06 glim_l07 glim_l08 glim_l09 glim_l10 glim_l11 glim_l12 glim_lf glim_mu glim_nw1 glim_nw2 glim_nw3 glim_p glim_v1 glim_v2 glim_v3 glim_v4 glim_v5 glim_v6 glim_v7 glm glm_6 glm_p glm_sw glmpred glo glob globa global glogit glogit_8 glogit_p gmeans gnbre_lf gnbreg gnbreg_5 gnbreg_p gomp_lf gompe_sw gomper_p gompertz gompertzhet gomphet_glf gomphet_glf_sh gomphet_gp gomphet_ilf gomphet_ilf_sh gomphet_ip gphdot gphpen gphprint gprefs gprobi_p gprobit gprobit_8 gr gr7 gr_copy gr_current gr_db gr_describe gr_dir gr_draw gr_draw_replay gr_drop gr_edit gr_editviewopts gr_example gr_example2 gr_export gr_print gr_qscheme gr_query gr_read gr_rename gr_replay gr_save gr_set gr_setscheme gr_table gr_undo gr_use graph graph7 grebar greigen greigen_7 greigen_8 grmeanby grmeanby_7 gs_fileinfo gs_filetype gs_graphinfo gs_stat gsort gwood h|0 hadimvo hareg hausman haver he heck_d2 heckma_p heckman heckp_lf heckpr_p heckprob hel help hereg hetpr_lf hetpr_p hetprob hettest hexdump hilite hist hist_7 histogram hlogit hlu hmeans hotel hotelling hprobit hreg hsearch icd9 icd9_ff icd9p iis impute imtest inbase include inf infi infil infile infix inp inpu input ins insheet insp inspe inspec inspect integ inten intreg intreg_7 intreg_p intrg2_ll intrg_ll intrg_ll2 ipolate iqreg ir irf irf_create irfm iri is_svy is_svysum isid istdize ivprob_1_lf ivprob_lf ivprobit ivprobit_p ivreg ivreg_footnote ivtob_1_lf ivtob_lf ivtobit ivtobit_p jackknife jacknife jknife jknife_6 jknife_8 jkstat joinby kalarma1 kap kap_3 kapmeier kappa kapwgt kdensity kdensity_7 keep ksm ksmirnov ktau kwallis l|0 la lab labbe labbeplot labe label labelbook ladder levels levelsof leverage lfit lfit_p li lincom line linktest lis list lloghet_glf lloghet_glf_sh lloghet_gp lloghet_ilf lloghet_ilf_sh lloghet_ip llogi_sw llogis_p llogist llogistic llogistichet lnorm_lf lnorm_sw lnorma_p lnormal lnormalhet lnormhet_glf lnormhet_glf_sh lnormhet_gp lnormhet_ilf lnormhet_ilf_sh lnormhet_ip lnskew0 loadingplot loc loca local log logi logis_lf logistic logistic_p logit logit_estat logit_p loglogs logrank loneway lookfor lookup lowess lowess_7 lpredict lrecomp lroc lroc_7 lrtest ls lsens lsens_7 lsens_x lstat ltable ltable_7 ltriang lv lvr2plot lvr2plot_7 m|0 ma mac macr macro makecns man manova manova_estat manova_p manovatest mantel mark markin markout marksample mat mat_capp mat_order mat_put_rr mat_rapp mata mata_clear mata_describe mata_drop mata_matdescribe mata_matsave mata_matuse mata_memory mata_mlib mata_mosave mata_rename mata_which matalabel matcproc matlist matname matr matri matrix matrix_input__dlg matstrik mcc mcci md0_ md1_ md1debug_ md2_ md2debug_ mds mds_estat mds_p mdsconfig mdslong mdsmat mdsshepard mdytoe mdytof me_derd mean means median memory memsize menl meqparse mer merg merge meta mfp mfx mhelp mhodds minbound mixed_ll mixed_ll_reparm mkassert mkdir mkmat mkspline ml ml_5 ml_adjs ml_bhhhs ml_c_d ml_check ml_clear ml_cnt ml_debug ml_defd ml_e0 ml_e0_bfgs ml_e0_cycle ml_e0_dfp ml_e0i ml_e1 ml_e1_bfgs ml_e1_bhhh ml_e1_cycle ml_e1_dfp ml_e2 ml_e2_cycle ml_ebfg0 ml_ebfr0 ml_ebfr1 ml_ebh0q ml_ebhh0 ml_ebhr0 ml_ebr0i ml_ecr0i ml_edfp0 ml_edfr0 ml_edfr1 ml_edr0i ml_eds ml_eer0i ml_egr0i ml_elf ml_elf_bfgs ml_elf_bhhh ml_elf_cycle ml_elf_dfp ml_elfi ml_elfs ml_enr0i ml_enrr0 ml_erdu0 ml_erdu0_bfgs ml_erdu0_bhhh ml_erdu0_bhhhq ml_erdu0_cycle ml_erdu0_dfp ml_erdu0_nrbfgs ml_exde ml_footnote ml_geqnr ml_grad0 ml_graph ml_hbhhh ml_hd0 ml_hold ml_init ml_inv ml_log ml_max ml_mlout ml_mlout_8 ml_model ml_nb0 ml_opt ml_p ml_plot ml_query ml_rdgrd ml_repor ml_s_e ml_score ml_searc ml_technique ml_unhold mleval mlf_ mlmatbysum mlmatsum mlog mlogi mlogit mlogit_footnote mlogit_p mlopts mlsum mlvecsum mnl0_ mor more mov move mprobit mprobit_lf mprobit_p mrdu0_ mrdu1_ mvdecode mvencode mvreg mvreg_estat n|0 nbreg nbreg_al nbreg_lf nbreg_p nbreg_sw nestreg net newey newey_7 newey_p news nl nl_7 nl_9 nl_9_p nl_p nl_p_7 nlcom nlcom_p nlexp2 nlexp2_7 nlexp2a nlexp2a_7 nlexp3 nlexp3_7 nlgom3 nlgom3_7 nlgom4 nlgom4_7 nlinit nllog3 nllog3_7 nllog4 nllog4_7 nlog_rd nlogit nlogit_p nlogitgen nlogittree nlpred no nobreak noi nois noisi noisil noisily note notes notes_dlg nptrend numlabel numlist odbc old_ver olo olog ologi ologi_sw ologit ologit_p ologitp on one onew onewa oneway op_colnm op_comp op_diff op_inv op_str opr opro oprob oprob_sw oprobi oprobi_p oprobit oprobitp opts_exclusive order orthog orthpoly ou out outf outfi outfil outfile outs outsh outshe outshee outsheet ovtest pac pac_7 palette parse parse_dissim pause pca pca_8 pca_display pca_estat pca_p pca_rotate pcamat pchart pchart_7 pchi pchi_7 pcorr pctile pentium pergram pergram_7 permute permute_8 personal peto_st pkcollapse pkcross pkequiv pkexamine pkexamine_7 pkshape pksumm pksumm_7 pl plo plot plugin pnorm pnorm_7 poisgof poiss_lf poiss_sw poisso_p poisson poisson_estat post postclose postfile postutil pperron pr prais prais_e prais_e2 prais_p predict predictnl preserve print pro prob probi probit probit_estat probit_p proc_time procoverlay procrustes procrustes_estat procrustes_p profiler prog progr progra program prop proportion prtest prtesti pwcorr pwd q\\s qby qbys qchi qchi_7 qladder qladder_7 qnorm qnorm_7 qqplot qqplot_7 qreg qreg_c qreg_p qreg_sw qu quadchk quantile quantile_7 que quer query range ranksum ratio rchart rchart_7 rcof recast reclink recode reg reg3 reg3_p regdw regr regre regre_p2 regres regres_p regress regress_estat regriv_p remap ren rena renam rename renpfix repeat replace report reshape restore ret retu retur return rm rmdir robvar roccomp roccomp_7 roccomp_8 rocf_lf rocfit rocfit_8 rocgold rocplot rocplot_7 roctab roctab_7 rolling rologit rologit_p rot rota rotat rotate rotatemat rreg rreg_p ru run runtest rvfplot rvfplot_7 rvpplot rvpplot_7 sa safesum sample sampsi sav save savedresults saveold sc sca scal scala scalar scatter scm_mine sco scob_lf scob_p scobi_sw scobit scor score scoreplot scoreplot_help scree screeplot screeplot_help sdtest sdtesti se search separate seperate serrbar serrbar_7 serset set set_defaults sfrancia sh she shel shell shewhart shewhart_7 signestimationsample signrank signtest simul simul_7 simulate simulate_8 sktest sleep slogit slogit_d2 slogit_p smooth snapspan so sor sort spearman spikeplot spikeplot_7 spikeplt spline_x split sqreg sqreg_p sret sretu sretur sreturn ssc st st_ct st_hc st_hcd st_hcd_sh st_is st_issys st_note st_promo st_set st_show st_smpl st_subid stack statsby statsby_8 stbase stci stci_7 stcox stcox_estat stcox_fr stcox_fr_ll stcox_p stcox_sw stcoxkm stcoxkm_7 stcstat stcurv stcurve stcurve_7 stdes stem stepwise stereg stfill stgen stir stjoin stmc stmh stphplot stphplot_7 stphtest stphtest_7 stptime strate strate_7 streg streg_sw streset sts sts_7 stset stsplit stsum sttocc sttoct stvary stweib su suest suest_8 sum summ summa summar summari summariz summarize sunflower sureg survcurv survsum svar svar_p svmat svy svy_disp svy_dreg svy_est svy_est_7 svy_estat svy_get svy_gnbreg_p svy_head svy_header svy_heckman_p svy_heckprob_p svy_intreg_p svy_ivreg_p svy_logistic_p svy_logit_p svy_mlogit_p svy_nbreg_p svy_ologit_p svy_oprobit_p svy_poisson_p svy_probit_p svy_regress_p svy_sub svy_sub_7 svy_x svy_x_7 svy_x_p svydes svydes_8 svygen svygnbreg svyheckman svyheckprob svyintreg svyintreg_7 svyintrg svyivreg svylc svylog_p svylogit svymarkout svymarkout_8 svymean svymlog svymlogit svynbreg svyolog svyologit svyoprob svyoprobit svyopts svypois svypois_7 svypoisson svyprobit svyprobt svyprop svyprop_7 svyratio svyreg svyreg_p svyregress svyset svyset_7 svyset_8 svytab svytab_7 svytest svytotal sw sw_8 swcnreg swcox swereg swilk swlogis swlogit swologit swoprbt swpois swprobit swqreg swtobit swweib symmetry symmi symplot symplot_7 syntax sysdescribe sysdir sysuse szroeter ta tab tab1 tab2 tab_or tabd tabdi tabdis tabdisp tabi table tabodds tabodds_7 tabstat tabu tabul tabula tabulat tabulate te tempfile tempname tempvar tes test testnl testparm teststd tetrachoric time_it timer tis tob tobi tobit tobit_p tobit_sw token tokeni tokeniz tokenize tostring total translate translator transmap treat_ll treatr_p treatreg trim trimfill trnb_cons trnb_mean trpoiss_d2 trunc_ll truncr_p truncreg tsappend tset tsfill tsline tsline_ex tsreport tsrevar tsrline tsset tssmooth tsunab ttest ttesti tut_chk tut_wait tutorial tw tware_st two twoway twoway__fpfit_serset twoway__function_gen twoway__histogram_gen twoway__ipoint_serset twoway__ipoints_serset twoway__kdensity_gen twoway__lfit_serset twoway__normgen_gen twoway__pci_serset twoway__qfit_serset twoway__scatteri_serset twoway__sunflower_gen twoway_ksm_serset ty typ type typeof u|0 unab unabbrev unabcmd update us use uselabel var var_mkcompanion var_p varbasic varfcast vargranger varirf varirf_add varirf_cgraph varirf_create varirf_ctable varirf_describe varirf_dir varirf_drop varirf_erase varirf_graph varirf_ograph varirf_rename varirf_set varirf_table varlist varlmar varnorm varsoc varstable varstable_w varstable_w2 varwle vce vec vec_fevd vec_mkphi vec_p vec_p_w vecirf_create veclmar veclmar_w vecnorm vecnorm_w vecrank vecstable verinst vers versi versio version view viewsource vif vwls wdatetof webdescribe webseek webuse weib1_lf weib2_lf weib_lf weib_lf0 weibhet_glf weibhet_glf_sh weibhet_glfa weibhet_glfa_sh weibhet_gp weibhet_ilf weibhet_ilf_sh weibhet_ilfa weibhet_ilfa_sh weibhet_ip weibu_sw weibul_p weibull weibull_c weibull_s weibullhet wh whelp whi which whil while wilc_st wilcoxon win wind windo window winexec wntestb wntestb_7 wntestq xchart xchart_7 xcorr xcorr_7 xi xi_6 xmlsav xmlsave xmluse xpose xsh xshe xshel xshell xt_iis xt_tis xtab_p xtabond xtbin_p xtclog xtcloglog xtcloglog_8 xtcloglog_d2 xtcloglog_pa_p xtcloglog_re_p xtcnt_p xtcorr xtdata xtdes xtfront_p xtfrontier xtgee xtgee_elink xtgee_estat xtgee_makeivar xtgee_p xtgee_plink xtgls xtgls_p xthaus xthausman xtht_p xthtaylor xtile xtint_p xtintreg xtintreg_8 xtintreg_d2 xtintreg_p xtivp_1 xtivp_2 xtivreg xtline xtline_ex xtlogit xtlogit_8 xtlogit_d2 xtlogit_fe_p xtlogit_pa_p xtlogit_re_p xtmixed xtmixed_estat xtmixed_p xtnb_fe xtnb_lf xtnbreg xtnbreg_pa_p xtnbreg_refe_p xtpcse xtpcse_p xtpois xtpoisson xtpoisson_d2 xtpoisson_pa_p xtpoisson_refe_p xtpred xtprobit xtprobit_8 xtprobit_d2 xtprobit_re_p xtps_fe xtps_lf xtps_ren xtps_ren_8 xtrar_p xtrc xtrc_p xtrchh xtrefe_p xtreg xtreg_be xtreg_fe xtreg_ml xtreg_pa_p xtreg_re xtregar xtrere_p xtset xtsf_ll xtsf_llti xtsum xttab xttest0 xttobit xttobit_8 xttobit_p xttrans yx yxview__barlike_draw yxview_area_draw yxview_bar_draw yxview_dot_draw yxview_dropline_draw yxview_function_draw yxview_iarrow_draw yxview_ilabels_draw yxview_normal_draw yxview_pcarrow_draw yxview_pcbarrow_draw yxview_pccapsym_draw yxview_pcscatter_draw yxview_pcspike_draw yxview_rarea_draw yxview_rbar_draw yxview_rbarm_draw yxview_rcap_draw yxview_rcapsym_draw yxview_rconnected_draw yxview_rline_draw yxview_rscatter_draw yxview_rspike_draw yxview_spike_draw yxview_sunflower_draw zap_s zinb zinb_llf zinb_plf zip zip_llf zip_p zip_plf zt_ct_5 zt_hc_5 zt_hcd_5 zt_is_5 zt_iss_5 zt_sho_5 zt_smp_5 ztbase_5 ztcox_5 ztdes_5 ztereg_5 ztfill_5 ztgen_5 ztir_5 ztjoin_5 ztnb ztnb_p ztp ztp_p zts_5 ztset_5 ztspli_5 ztsum_5 zttoct_5 ztvary_5 ztweib_5",contains:[{className:"symbol",begin:/`[a-zA-Z0-9_]+'/},{className:"variable",begin:/\$\{?[a-zA-Z0-9_]+\}?/,relevance:0},{className:"string",variants:[{begin:'`"[^\r\n]*?"\''},{begin:'"[^\r\n"]*"'}]},{className:"built_in",variants:[{begin:"\\b(abs|acos|asin|atan|atan2|atanh|ceil|cloglog|comb|cos|digamma|exp|floor|invcloglog|invlogit|ln|lnfact|lnfactorial|lngamma|log|log10|max|min|mod|reldif|round|sign|sin|sqrt|sum|tan|tanh|trigamma|trunc|betaden|Binomial|binorm|binormal|chi2|chi2tail|dgammapda|dgammapdada|dgammapdadx|dgammapdx|dgammapdxdx|F|Fden|Ftail|gammaden|gammap|ibeta|invbinomial|invchi2|invchi2tail|invF|invFtail|invgammap|invibeta|invnchi2|invnFtail|invnibeta|invnorm|invnormal|invttail|nbetaden|nchi2|nFden|nFtail|nibeta|norm|normal|normalden|normd|npnchi2|tden|ttail|uniform|abbrev|char|index|indexnot|length|lower|ltrim|match|plural|proper|real|regexm|regexr|regexs|reverse|rtrim|string|strlen|strlower|strltrim|strmatch|strofreal|strpos|strproper|strreverse|strrtrim|strtrim|strupper|subinstr|subinword|substr|trim|upper|word|wordcount|_caller|autocode|byteorder|chop|clip|cond|e|epsdouble|epsfloat|group|inlist|inrange|irecode|matrix|maxbyte|maxdouble|maxfloat|maxint|maxlong|mi|minbyte|mindouble|minfloat|minint|minlong|missing|r|recode|replay|return|s|scalar|d|date|day|dow|doy|halfyear|mdy|month|quarter|week|year|d|daily|dofd|dofh|dofm|dofq|dofw|dofy|h|halfyearly|hofd|m|mofd|monthly|q|qofd|quarterly|tin|twithin|w|weekly|wofd|y|yearly|yh|ym|yofd|yq|yw|cholesky|colnumb|colsof|corr|det|diag|diag0cnt|el|get|hadamard|I|inv|invsym|issym|issymmetric|J|matmissing|matuniform|mreldif|nullmat|rownumb|rowsof|sweep|syminv|trace|vec|vecdiag)(?=\\()"}]},e.COMMENT("^[ \t]*\\*.*$",!1),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}}}function eg(){if(qc)return Yc;return qc=1,Yc=function(e){return{name:"STEP Part 21",aliases:["p21","step","stp"],case_insensitive:!0, +// STEP 21 is case insensitive in theory, in practice all non-comments are capitalized. +keywords:{$pattern:"[A-Z_][A-Z0-9_.]*",keyword:["HEADER","ENDSEC","DATA"]},contains:[{className:"meta",begin:"ISO-10303-21;",relevance:10},{className:"meta",begin:"END-ISO-10303-21;",relevance:10},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT("/\\*\\*!","\\*/"),e.C_NUMBER_MODE,e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"'",end:"'"},{className:"symbol",variants:[{begin:"#",end:"\\d+",illegal:"\\W"}]}]}}}function tg(){if(Vc)return Hc;Vc=1;const e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video","defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],t=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width", +// TODO: find a better solution? +"min-width","max-width","min-height","max-height"].sort().reverse(),n=["active","any-link","blank","checked","current","default","defined","dir", +// dir() +"disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has", +// has() +"host", +// host or host() +"host-context", +// host-context() +"hover","indeterminate","in-range","invalid","is", +// is() +"lang", +// lang() +"last-child","last-of-type","left","link","local-link","not", +// not() +"nth-child", +// nth-child() +"nth-col", +// nth-col() +"nth-last-child", +// nth-last-child() +"nth-last-col", +// nth-last-col() +"nth-last-of-type", +//nth-last-of-type() +"nth-of-type", +//nth-of-type() +"only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),r=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),i=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src", +// @font-face +"stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();return Hc=function(a){const o=(e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}))(a),s={className:"variable",begin:"\\$"+a.IDENT_RE},l="(?=[.\\s\\n[:,(])";return{name:"Stylus",aliases:["styl"],case_insensitive:!1,keywords:"if else for in",illegal:"("+["\\?","(\\bReturn\\b)", +// monkey +"(\\bEnd\\b)", +// monkey +"(\\bend\\b)", +// vbscript +"(\\bdef\\b)", +// gradle +";", +// a whole lot of languages +"#\\s", +// markdown +"\\*\\s", +// markdown +"===\\s", +// markdown +"\\|","%"].join("|")+")",contains:[ +// strings +a.QUOTE_STRING_MODE,a.APOS_STRING_MODE, +// comments +a.C_LINE_COMMENT_MODE,a.C_BLOCK_COMMENT_MODE, +// hex colors +o.HEXCOLOR, +// class tag +{begin:"\\.[a-zA-Z][a-zA-Z0-9_-]*"+l,className:"selector-class"}, +// id tag +{begin:"#[a-zA-Z][a-zA-Z0-9_-]*"+l,className:"selector-id"}, +// tags +{begin:"\\b("+e.join("|")+")"+l,className:"selector-tag"}, +// psuedo selectors +{className:"selector-pseudo",begin:"&?:("+n.join("|")+")"+l},{className:"selector-pseudo",begin:"&?:(:)?("+r.join("|")+")"+l},o.ATTRIBUTE_SELECTOR_MODE,{className:"keyword",begin:/@media/,starts:{end:/[{;}]/,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:t.join(" ")},contains:[o.CSS_NUMBER_MODE]}}, +// @ keywords +{className:"keyword",begin:"@((-(o|moz|ms|webkit)-)?("+["charset","css","debug","extend","font-face","for","import","include","keyframes","media","mixin","page","warn","while"].join("|")+"))\\b"}, +// variables +s, +// dimension +o.CSS_NUMBER_MODE, +// functions +// - only from beginning of line + whitespace +{className:"function",begin:"^[a-zA-Z][a-zA-Z0-9_-]*\\(.*\\)",illegal:"[\\n]",returnBegin:!0,contains:[{className:"title",begin:"\\b[a-zA-Z][a-zA-Z0-9_-]*"},{className:"params",begin:/\(/,end:/\)/,contains:[o.HEXCOLOR,s,a.APOS_STRING_MODE,o.CSS_NUMBER_MODE,a.QUOTE_STRING_MODE]}]}, +// css variables +o.CSS_VARIABLE, +// attributes +// - only from beginning of line + whitespace +// - must have whitespace after it +{className:"attribute",begin:"\\b("+i.join("|")+")\\b",starts:{ +// value container +end:/;|$/,contains:[o.HEXCOLOR,s,a.APOS_STRING_MODE,a.QUOTE_STRING_MODE,o.CSS_NUMBER_MODE,a.C_BLOCK_COMMENT_MODE,o.IMPORTANT,o.FUNCTION_DISPATCH],illegal:/\./,relevance:0}},o.FUNCTION_DISPATCH]}}}function ng(){if(Qc)return Wc;return Qc=1,Wc=function(e){return{name:"SubUnit",case_insensitive:!0,contains:[{className:"string",begin:"\\[\n(multipart)?",end:"\\]\n"},{className:"string",begin:"\\d{4}-\\d{2}-\\d{2}(\\s+)\\d{2}:\\d{2}:\\d{2}.\\d+Z"},{className:"string",begin:"(\\+|-)\\d+"},{className:"keyword",relevance:10,variants:[{begin:"^(test|testing|success|successful|failure|error|skip|xfail|uxsuccess)(:?)\\s+(test)?"},{begin:"^progress(:?)(\\s+)?(pop|push)?"},{begin:"^tags:"},{begin:"^time:"}]}]}}}function rg(){if(Xc)return Kc;function e(e){return e?"string"==typeof e?e:e.source:null}function t(e){return n("(?=",e,")")}function n(...t){return t.map((t=>e(t))).join("")}function r(...t){const n=function(e){const t=e[e.length-1];return"object"==typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}(t);return"("+(n.capture?"":"?:")+t.map((t=>e(t))).join("|")+")"}Xc=1;const i=e=>n(/\b/,e,/\w$/.test(e)?/\b/:/\B/),a=["Protocol", +// contextual +"Type"].map(i),o=["init","self"].map(i),s=["Any","Self"],l=[ +// strings below will be fed into the regular `keywords` engine while regex +// will result in additional modes being created to scan for those keywords to +// avoid conflicts with other rules +"actor","any", +// contextual +"associatedtype","async","await",/as\?/, +// operator +/as!/, +// operator +"as", +// operator +"borrowing", +// contextual +"break","case","catch","class","consume", +// contextual +"consuming", +// contextual +"continue","convenience", +// contextual +"copy", +// contextual +"default","defer","deinit","didSet", +// contextual +"distributed","do","dynamic", +// contextual +"each","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final", +// contextual +"for","func","get", +// contextual +"guard","if","import","indirect", +// contextual +"infix", +// contextual +/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is", +// operator +"isolated", +// contextual +"nonisolated", +// contextual +"lazy", +// contextual +"let","macro","mutating", +// contextual +"nonmutating", +// contextual +/open\(set\)/, +// contextual +"open", +// contextual +"operator","optional", +// contextual +"override", +// contextual +"package","postfix", +// contextual +"precedencegroup","prefix", +// contextual +/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required", +// contextual +"rethrows","return","set", +// contextual +"some", +// contextual +"static","struct","subscript","super","switch","throws","throw",/try\?/, +// operator +/try!/, +// operator +"try", +// operator +"typealias",/unowned\(safe\)/, +// contextual +/unowned\(unsafe\)/, +// contextual +"unowned", +// contextual +"var","weak", +// contextual +"where","while","willSet"],c=["false","nil","true"],u=["assignment","associativity","higherThan","left","lowerThan","none","right"],d=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],h=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],p=r(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),g=r(p,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),m=n(p,g,"*"),_=r(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),b=r(_,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),f=n(_,b,"*"),y=n(/[A-Z]/,b,"*"),v=["attached","autoclosure",n(/convention\(/,r("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",n(/objc\(/,f,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],E=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];return Kc=function(e){const p={match:/\s+/,relevance:0},_=e.COMMENT("/\\*","\\*/",{contains:["self"]}),S=[e.C_LINE_COMMENT_MODE,_],T={match:[/\./,r(...a,...o)],className:{2:"keyword"}},C={ +// Consume .keyword to prevent highlighting properties and methods as keywords. +match:n(/\./,r(...l)),relevance:0},x=l.filter((e=>"string"==typeof e)).concat(["_|0"]),k={variants:[{className:"keyword",match:r(...l.filter((e=>"string"!=typeof e)).concat(s).map(i),...o)}]},A={$pattern:r(/\b\w+/, +// regular keywords +/#\w+/),keyword:x.concat(d),literal:c},w=[T,C,k],N=[{ +// Consume .built_in to prevent highlighting properties and methods. +match:n(/\./,r(...h)),relevance:0},{className:"built_in",match:n(/\b/,r(...h),/(?=\()/)}],O={ +// Prevent -> from being highlighting as an operator. +match:/->/,relevance:0},R=[O,{className:"operator",relevance:0,variants:[{match:m},{ +// dot-operator: only operators that start with a dot are allowed to use dots as +// characters (..., ...<, .*, etc). So there rule here is: a dot followed by one or more +// characters that may also include dots. +match:`\\.(\\.|${g})+`}]}],I="([0-9]_*)+",D="([0-9a-fA-F]_*)+",M={className:"number",relevance:0,variants:[ +// decimal floating-point-literal (subsumes decimal-literal) +{match:`\\b(${I})(\\.(${I}))?([eE][+-]?(${I}))?\\b`}, +// hexadecimal floating-point-literal (subsumes hexadecimal-literal) +{match:`\\b0x(${D})(\\.(${D}))?([pP][+-]?(${I}))?\\b`}, +// octal-literal +{match:/\b0o([0-7]_*)+\b/}, +// binary-literal +{match:/\b0b([01]_*)+\b/}]},L=(e="")=>({className:"subst",variants:[{match:n(/\\/,e,/[0\\tnr"']/)},{match:n(/\\/,e,/u\{[0-9a-fA-F]{1,8}\}/)}]}),P=(e="")=>({className:"subst",match:n(/\\/,e,/[\t ]*(?:[\r\n]|\r\n)/)}),j=(e="")=>({className:"subst",label:"interpol",begin:n(/\\/,e,/\(/),end:/\)/}),F=(e="")=>({begin:n(e,/"""/),end:n(/"""/,e),contains:[L(e),P(e),j(e)]}),B=(e="")=>({begin:n(e,/"/),end:n(/"/,e),contains:[L(e),j(e)]}),U={className:"string",variants:[F(),F("#"),F("##"),F("###"),B(),B("#"),B("##"),B("###")]},G=[e.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[e.BACKSLASH_ESCAPE]}],z={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:G},$=e=>{const t=n(e,/\//),r=n(/\//,e);return{begin:t,end:r,contains:[...G,{scope:"comment",begin:`#(?!.*${r})`,end:/$/}]}},Y={scope:"regexp",variants:[$("###"),$("##"),$("#"),z]},q={match:n(/`/,f,/`/)},H=[q,{className:"variable",match:/\$\d+/},{className:"variable",match:`\\$${b}+`}],V=[{match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:E,contains:[...R,M,U]}]}},{scope:"keyword",match:n(/@/,r(...v),t(r(/\(/,/\s+/)))},{scope:"meta",match:n(/@/,f)}],W={match:t(/\b[A-Z]/),relevance:0,contains:[{ +// Common Apple frameworks, for relevance boost +className:"type",match:n(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,b,"+")},{ +// Type identifier +className:"type",match:y,relevance:0},{ +// Optional type +match:/[?!]+/,relevance:0},{ +// Variadic parameter +match:/\.\.\./,relevance:0},{ +// Protocol composition +match:n(/\s+&\s+/,t(y)),relevance:0}]},Q={begin:/</,end:/>/,keywords:A,contains:[...S,...w,...V,O,W]};W.contains.push(Q);const K={begin:/\(/,end:/\)/,relevance:0,keywords:A,contains:["self",{match:n(f,/\s*:/),keywords:"_|0",relevance:0},...S,Y,...w,...N,...R,M,U,...H,...V,W]},X={begin:/</,end:/>/,keywords:"repeat each",contains:[...S,W]},Z={begin:/\(/,end:/\)/,keywords:A,contains:[{begin:r(t(n(f,/\s*:/)),t(n(f,/\s+/,f,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:f}]},...S,...w,...R,M,U,...V,W,K],endsParent:!0,illegal:/["']/},J={match:[/(func|macro)/,/\s+/,r(q.match,f,m)],className:{1:"keyword",3:"title.function"},contains:[X,Z,p],illegal:[/\[/,/%/]},ee={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[X,Z,p],illegal:/\[|%/},te={match:[/operator/,/\s+/,m],className:{1:"keyword",3:"title"}},ne={begin:[/precedencegroup/,/\s+/,y],className:{1:"keyword",3:"title"},contains:[W],keywords:[...u,...c],end:/}/},re={begin:[/(struct|protocol|class|extension|enum|actor)/,/\s+/,f,/\s*/],beginScope:{1:"keyword",3:"title.class"},keywords:A,contains:[X,...w,{begin:/:/,end:/\{/,keywords:A,contains:[{scope:"title.class.inherited",match:y},...w],relevance:0}]};for(const t of U.variants){const e=t.contains.find((e=>"interpol"===e.label));e.keywords=A;const n=[...w,...N,...R,M,U,...H];e.contains=[...n,{begin:/\(/,end:/\)/,contains:["self",...n]}]}return{name:"Swift",keywords:A,contains:[...S,J,ee,{match:[/class\b/,/\s+/,/func\b/,/\s+/,/\b[A-Za-z_][A-Za-z0-9_]*\b/],scope:{1:"keyword",3:"keyword",5:"title.function"}},{match:[/class\b/,/\s+/,/var\b/],scope:{1:"keyword",3:"keyword"}},re,te,ne,{beginKeywords:"import",end:/$/,contains:[...S],relevance:0},Y,...w,...N,...R,M,U,...H,...V,W,K]}}}function ig(){if(Jc)return Zc;return Jc=1,Zc=function(e){return{name:"Tagger Script",contains:[{className:"comment",begin:/\$noop\(/,end:/\)/,contains:[{begin:/\\[()]/},{begin:/\(/,end:/\)/,contains:[{begin:/\\[()]/},"self"]}],relevance:10},{className:"keyword",begin:/\$[_a-zA-Z0-9]+(?=\()/},{className:"variable",begin:/%[_a-zA-Z0-9:]+%/},{className:"symbol",begin:/\\[\\nt$%,()]/},{className:"symbol",begin:/\\u[a-fA-F0-9]{4}/}]}}}function ag(){if(tu)return eu;return tu=1,eu=function(e){const t="true false yes no null",n="[\\w#;/?:@&=+$,.~*'()[\\]]+",r={className:"string",relevance:0,variants:[{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,{className:"template-variable",variants:[{ +// jinja templates Ansible +begin:/\{\{/,end:/\}\}/},{ +// Ruby i18n +begin:/%\{/,end:/\}/}]}]},i=e.inherit(r,{variants:[{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),a={className:"number",begin:"\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b"},o={end:",",endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},s={begin:/\{/,end:/\}/,contains:[o],illegal:"\\n",relevance:0},l={begin:"\\[",end:"\\]",contains:[o],illegal:"\\n",relevance:0},c=[{className:"attr",variants:[ +// added brackets support and special char support +{begin:/[\w*@][\w*@ :()\./-]*:(?=[ \t]|$)/},{ +// double quoted keys - with brackets and special char support +begin:/"[\w*@][\w*@ :()\./-]*":(?=[ \t]|$)/},{ +// single quoted keys - with brackets and special char support +begin:/'[\w*@][\w*@ :()\./-]*':(?=[ \t]|$)/}]},{className:"meta",begin:"^---\\s*$",relevance:10},{ +// multi line string +// Blocks start with a | or > followed by a newline +// Indentation of subsequent lines must be the same to +// be considered part of the block +className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{ +// Ruby/Rails erb +begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{ +// named tags +className:"type",begin:"!\\w+!"+n}, +// https://yaml.org/spec/1.2/spec.html#id2784064 +{ +// verbatim tags +className:"type",begin:"!<"+n+">"},{ +// primary tags +className:"type",begin:"!"+n},{ +// secondary tags +className:"type",begin:"!!"+n},{ +// fragment id &ref +className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{ +// fragment reference *ref +className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{ +// array listing +className:"bullet", +// TODO: remove |$ hack when we have proper look-ahead support +begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},a, +// numbers are any valid C-style number that +// sit isolated from other words +{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},s,l,{className:"string",relevance:0,begin:/'/,end:/'/,contains:[{match:/''/,scope:"char.escape",relevance:0}]},r],u=[...c];return u.pop(),u.push(i),o.contains=u,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:c}}}function og(){if(ru)return nu;return ru=1,nu=function(e){return{name:"Test Anything Protocol",case_insensitive:!0,contains:[e.HASH_COMMENT_MODE, +// version of format and total amount of testcases +{className:"meta",variants:[{begin:"^TAP version (\\d+)$"},{begin:"^1\\.\\.(\\d+)$"}]}, +// YAML block +{begin:/---$/,end:"\\.\\.\\.$",subLanguage:"yaml",relevance:0}, +// testcase number +{className:"number",begin:" (\\d+) "}, +// testcase status and description +{className:"symbol",variants:[{begin:"^ok"},{begin:"^not ok"}]}]}}}function sg(){if(au)return iu;return au=1,iu=function(e){const t=e.regex,n=/[a-zA-Z_][a-zA-Z0-9_]*/,r={className:"number",variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]};return{name:"Tcl",aliases:["tk"],keywords:["after","append","apply","array","auto_execok","auto_import","auto_load","auto_mkindex","auto_mkindex_old","auto_qualify","auto_reset","bgerror","binary","break","catch","cd","chan","clock","close","concat","continue","dde","dict","encoding","eof","error","eval","exec","exit","expr","fblocked","fconfigure","fcopy","file","fileevent","filename","flush","for","foreach","format","gets","glob","global","history","http","if","incr","info","interp","join","lappend|10","lassign|10","lindex|10","linsert|10","list","llength|10","load","lrange|10","lrepeat|10","lreplace|10","lreverse|10","lsearch|10","lset|10","lsort|10","mathfunc","mathop","memory","msgcat","namespace","open","package","parray","pid","pkg::create","pkg_mkIndex","platform","platform::shell","proc","puts","pwd","read","refchan","regexp","registry","regsub|10","rename","return","safe","scan","seek","set","socket","source","split","string","subst","switch","tcl_endOfWord","tcl_findLibrary","tcl_startOfNextWord","tcl_startOfPreviousWord","tcl_wordBreakAfter","tcl_wordBreakBefore","tcltest","tclvars","tell","time","tm","trace","unknown","unload","unset","update","uplevel","upvar","variable","vwait","while"],contains:[e.COMMENT(";[ \\t]*#","$"),e.COMMENT("^[ \\t]*#","$"),{beginKeywords:"proc",end:"[\\{]",excludeEnd:!0,contains:[{className:"title",begin:"[ \\t\\n\\r]+(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"[ \\t\\n\\r]",endsWithParent:!0,excludeEnd:!0}]},{className:"variable",variants:[{begin:t.concat(/\$/,t.optional(/::/),n,"(::",n,")*")},{begin:"\\$\\{(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"\\}",contains:[r]}]},{className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.inherit(e.QUOTE_STRING_MODE,{illegal:null})]},r]}}}function lg(){if(su)return ou;return su=1,ou=function(e){const t=["bool","byte","i16","i32","i64","double","string","binary"];return{name:"Thrift",keywords:{keyword:["namespace","const","typedef","struct","enum","service","exception","void","oneway","set","list","map","required","optional"],type:t,literal:"true false"},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"struct enum service exception",end:/\{/,illegal:/\n/,contains:[e.inherit(e.TITLE_MODE,{ +// hack: eating everything after the first title +starts:{endsWithParent:!0,excludeEnd:!0}})]},{begin:"\\b(set|list|map)\\s*<",keywords:{type:[...t,"set","list","map"]},end:">",contains:["self"]}]}}}function cg(){if(cu)return lu;return cu=1,lu=function(e){const t={className:"number",begin:"[1-9][0-9]*", +/* no leading zeros */ +relevance:0},n={className:"symbol",begin:":[^\\]]+"};return{name:"TP",keywords:{keyword:["ABORT","ACC","ADJUST","AND","AP_LD","BREAK","CALL","CNT","COL","CONDITION","CONFIG","DA","DB","DIV","DETECT","ELSE","END","ENDFOR","ERR_NUM","ERROR_PROG","FINE","FOR","GP","GUARD","INC","IF","JMP","LINEAR_MAX_SPEED","LOCK","MOD","MONITOR","OFFSET","Offset","OR","OVERRIDE","PAUSE","PREG","PTH","RT_LD","RUN","SELECT","SKIP","Skip","TA","TB","TO","TOOL_OFFSET","Tool_Offset","UF","UT","UFRAME_NUM","UTOOL_NUM","UNLOCK","WAIT","X","Y","Z","W","P","R","STRLEN","SUBSTR","FINDSTR","VOFFSET","PROG","ATTR","MN","POS"],literal:["ON","OFF","max_speed","LPOS","JPOS","ENABLE","DISABLE","START","STOP","RESET"]},contains:[{className:"built_in",begin:"(AR|P|PAYLOAD|PR|R|SR|RSR|LBL|VR|UALM|MESSAGE|UTOOL|UFRAME|TIMER|TIMER_OVERFLOW|JOINT_MAX_SPEED|RESUME_PROG|DIAG_REC)\\[",end:"\\]",contains:["self",t,n]},{className:"built_in",begin:"(AI|AO|DI|DO|F|RI|RO|UI|UO|GI|GO|SI|SO)\\[",end:"\\]",contains:["self",t,e.QUOTE_STRING_MODE, +/* for pos section at bottom */ +n]},{className:"keyword",begin:"/(PROG|ATTR|MN|POS|END)\\b"},{ +/* this is for cases like ,CALL */ +className:"keyword",begin:"(CALL|RUN|POINT_LOGIC|LBL)\\b"},{ +/* this is for cases like CNT100 where the default lexemes do not + * separate the keyword and the number */ +className:"keyword",begin:"\\b(ACC|CNT|Skip|Offset|PSPD|RT_LD|AP_LD|Tool_Offset)"},{ +/* to catch numbers that do not have a word boundary on the left */ +className:"number",begin:"\\d+(sec|msec|mm/sec|cm/min|inch/min|deg/sec|mm|in|cm)?\\b",relevance:0},e.COMMENT("//","[;$]"),e.COMMENT("!","[;$]"),e.COMMENT("--eg:","$"),e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"'"},e.C_NUMBER_MODE,{className:"variable",begin:"\\$[A-Za-z0-9_]+"}]}}}function ug(){if(du)return uu;return du=1,uu=function(e){const t=e.regex,n=["absolute_url","asset|0","asset_version","attribute","block","constant","controller|0","country_timezones","csrf_token","cycle","date","dump","expression","form|0","form_end","form_errors","form_help","form_label","form_rest","form_row","form_start","form_widget","html_classes","include","is_granted","logout_path","logout_url","max","min","parent","path|0","random","range","relative_path","render","render_esi","source","template_from_string","url|0"];let r=["apply","autoescape","block","cache","deprecated","do","embed","extends","filter","flush","for","form_theme","from","if","import","include","macro","sandbox","set","stopwatch","trans","trans_default_domain","transchoice","use","verbatim","with"];r=r.concat(r.map((e=>`end${e}`)));const i={scope:"string",variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},a={scope:"number",match:/\d+/},o={begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[i,a]},s={beginKeywords:n.join(" "),keywords:{name:n},relevance:0,contains:[o]},l={match:/\|(?=[A-Za-z_]+:?)/,beginScope:"punctuation",relevance:0,contains:[{match:/[A-Za-z_]+:?/,keywords:["abs","abbr_class","abbr_method","batch","capitalize","column","convert_encoding","country_name","currency_name","currency_symbol","data_uri","date","date_modify","default","escape","file_excerpt","file_link","file_relative","filter","first","format","format_args","format_args_as_text","format_currency","format_date","format_datetime","format_file","format_file_from_text","format_number","format_time","html_to_markdown","humanize","inky_to_html","inline_css","join","json_encode","keys","language_name","last","length","locale_name","lower","map","markdown","markdown_to_html","merge","nl2br","number_format","raw","reduce","replace","reverse","round","slice","slug","sort","spaceless","split","striptags","timezone_name","title","trans","transchoice","trim","u|0","upper","url_encode","yaml_dump","yaml_encode"]}]},c=(e,{relevance:n})=>({beginScope:{1:"template-tag",3:"name"},relevance:n||2,endScope:"template-tag",begin:[/\{%/,/\s*/,t.either(...e)],end:/%\}/,keywords:"in",contains:[l,s,i,a]}),u=c(r,{relevance:2}),d=c([/[a-z_]+/],{relevance:1});return{name:"Twig",aliases:["craftcms"],case_insensitive:!0,subLanguage:"xml",contains:[e.COMMENT(/\{#/,/#\}/),u,d,{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:["self",l,s,i,a]}]}}}function dg(){if(pu)return hu;pu=1;const e="[A-Za-z$_][0-9A-Za-z$_]*",t=["as", +// for exports +"in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class", +// JS handles these with a special rule +// "get", +// "set", +"debugger","async","await","static","import","from","export","extends", +// It's reached stage 3, which is "recommended for implementation": +"using"],n=["true","false","null","undefined","NaN","Infinity"],r=[ +// Fundamental objects +"Object","Function","Boolean","Symbol", +// numbers and dates +"Math","Date","Number","BigInt", +// text +"String","RegExp", +// Indexed collections +"Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array", +// Keyed collections +"Set","Map","WeakSet","WeakMap", +// Structured data +"ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON", +// Control abstraction objects +"Promise","Generator","GeneratorFunction","AsyncFunction", +// Reflection +"Reflect","Proxy", +// Internationalization +"Intl", +// WebAssembly +"WebAssembly"],i=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],a=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],o=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],s=[].concat(a,r,i);return hu=function(l){const c=l.regex,u=function(l){const c=l.regex,u=e,d="<>",h="</>",p={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/, +/** + * @param {RegExpMatchArray} match + * @param {CallbackResponse} response + */ +isTrulyOpeningTag:(e,t)=>{const n=e[0].length+e.index,r=e.input[n];if( +// HTML should not include another raw `<` inside a tag +// nested type? +// `<Array<Array<number>>`, etc. +"<"===r||// the , gives away that this is not HTML +// `<T, A extends keyof T, V>` +","===r)return void t.ignoreMatch();let i;">"===r&&(((e,{after:t})=>{const n="</"+e[0].slice(1);return-1!==e.input.indexOf(n,t)})(e,{after:n})||t.ignoreMatch());const a=e.input.substring(n);((i=a.match(/^\s*=/))||(i=a.match(/^\s+extends\s+/))&&0===i.index)&&t.ignoreMatch()}},g={$pattern:e,keyword:t,literal:n,built_in:s,"variable.language":o},m="[0-9](_?[0-9])*",_=`\\.(${m})`,b="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",f={className:"number",variants:[ +// DecimalLiteral +{begin:`(\\b(${b})((${_})|\\.)?|(${_}))[eE][+-]?(${m})\\b`},{begin:`\\b(${b})\\b((${_})\\b|\\.)?|(${_})\\b`}, +// DecimalBigIntegerLiteral +{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"}, +// NonDecimalIntegerLiteral +{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"}, +// LegacyOctalIntegerLiteral (does not include underscore separators) +// https://tc39.es/ecma262/#sec-additional-syntax-numeric-literals +{begin:"\\b0[0-7]+n?\\b"}],relevance:0},y={className:"subst",begin:"\\$\\{",end:"\\}",keywords:g,contains:[]},v={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[l.BACKSLASH_ESCAPE,y],subLanguage:"xml"}},E={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[l.BACKSLASH_ESCAPE,y],subLanguage:"css"}},S={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[l.BACKSLASH_ESCAPE,y],subLanguage:"graphql"}},T={className:"string",begin:"`",end:"`",contains:[l.BACKSLASH_ESCAPE,y]},C={className:"comment",variants:[l.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:u+"(?=\\s*(-)|$)",endsParent:!0,relevance:0}, +// eat spaces (not newlines) so we can find +// types or variables +{begin:/(?=[^\n])\s/,relevance:0}]}]}),l.C_BLOCK_COMMENT_MODE,l.C_LINE_COMMENT_MODE]},x=[l.APOS_STRING_MODE,l.QUOTE_STRING_MODE,v,E,S,T, +// Skip numbers when they are part of a variable name +{match:/\$\d+/},f];y.contains=x.concat({ +// we need to pair up {} inside our subst to prevent +// it from ending too early by matching another } +begin:/\{/,end:/\}/,keywords:g,contains:["self"].concat(x)});const k=[].concat(C,y.contains),A=k.concat([ +// eat recursive parens in sub expressions +{begin:/(\s*)\(/,end:/\)/,keywords:g,contains:["self"].concat(k)}]),w={className:"params", +// convert this to negative lookbehind in v12 +begin:/(\s*)\(/, +// to match the parms with +end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:g,contains:A},N={variants:[ +// class Car extends vehicle +{match:[/class/,/\s+/,u,/\s+/,/extends/,/\s+/,c.concat(u,"(",c.concat(/\./,u),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}}, +// class Car +{match:[/class/,/\s+/,u],scope:{1:"keyword",3:"title.class"}}]},O={relevance:0,match:c.either( +// Hard coded exceptions +/\bJSON/, +// Float32Array, OutT +/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/, +// CSSFactory, CSSFactoryT +/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/, +// FPs, FPsT +/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[ +// se we still get relevance credit for JS library classes +...r,...i]}},R={variants:[{match:[/function/,/\s+/,u,/(?=\s*\()/]}, +// anonymous function +{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[w],illegal:/%/},I={match:c.concat(/\b/,(D=[...a,"super","import"].map((e=>`${e}\\s*\\(`)),c.concat("(?!",D.join("|"),")")),u,c.lookahead(/\s*\(/)),className:"title.function",relevance:0};var D;const M={begin:c.concat(/\./,c.lookahead(c.concat(u,/(?![0-9A-Za-z$_(])/))),end:u,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},L={match:[/get|set/,/\s+/,u,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{ +// eat to avoid empty params +begin:/\(\)/},w]},P="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+l.UNDERSCORE_IDENT_RE+")\\s*=>",j={match:[/const|var|let/,/\s+/,u,/\s*/,/=\s*/,/(async\s*)?/, +// async is optional +c.lookahead(P)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[w]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:g, +// this will be extended by TypeScript +exports:{PARAMS_CONTAINS:A,CLASS_REFERENCE:O},illegal:/#(?![$_A-z])/,contains:[l.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},l.APOS_STRING_MODE,l.QUOTE_STRING_MODE,v,E,S,T,C, +// Skip numbers when they are part of a variable name +{match:/\$\d+/},f,O,{scope:"attr",match:u+c.lookahead(":"),relevance:0},j,{ +// "value" container +begin:"("+l.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[C,l.REGEXP_MODE,{className:"function", +// we have to count the parens to make sure we actually have the +// correct bounding ( ) before the =>. There could be any number of +// sub-expressions inside also surrounded by parens. +begin:P,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:l.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:g,contains:A}]}]},{ +// could be a comma delimited list of params to a function call +begin:/,/,relevance:0},{match:/\s+/,relevance:0},{ +// JSX +variants:[{begin:d,end:h},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:p.begin, +// we carefully check the opening tag to see if it truly +// is a tag and not a false positive +"on:begin":p.isTrulyOpeningTag,end:p.end}],subLanguage:"xml",contains:[{begin:p.begin,end:p.end,skip:!0,contains:["self"]}]}]},R,{ +// prevent this from getting swallowed up by function +// since they appear "function like" +beginKeywords:"while if switch catch for"},{ +// we have to count the parens to make sure we actually have the correct +// bounding ( ). There could be any number of sub-expressions inside +// also surrounded by parens. +begin:"\\b(?!function)"+l.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{", +// end parens +returnBegin:!0,label:"func.def",contains:[w,l.inherit(l.TITLE_MODE,{begin:u,className:"title.function"})]}, +// catch ... so it won't trigger the property rule below +{match:/\.\.\./,relevance:0},M, +// hack: prevents detection of keywords in some circumstances +// .keyword() +// $keyword = x +{match:"\\$"+u,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[w]},I,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},N,L,{match:/\$[(.]/}]}}(l),d=e,h=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],p={begin:[/namespace/,/\s+/,l.IDENT_RE],beginScope:{1:"keyword",3:"title.class"}},g={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:h},contains:[u.exports.CLASS_REFERENCE]},m={$pattern:e,keyword:t.concat(["type", +// "namespace", +"interface","public","private","protected","implements","declare","abstract","readonly","enum","override","satisfies"]),literal:n,built_in:s.concat(h),"variable.language":o},_={className:"meta",begin:"@"+d},b=(e,t,n)=>{const r=e.contains.findIndex((e=>e.label===t));if(-1===r)throw new Error("can not find mode to replace");e.contains.splice(r,1,n)};Object.assign(u.keywords,m),u.exports.PARAMS_CONTAINS.push(_);const f=u.contains.find((e=>"attr"===e.scope)),y=Object.assign({},f,{match:c.concat(d,c.lookahead(/\s*\?:/))});return u.exports.PARAMS_CONTAINS.push([u.exports.CLASS_REFERENCE, +// class reference for highlighting the params types +f, +// highlight the params key +y]),u.contains=u.contains.concat([_,p,g,y]),b(u,"shebang",l.SHEBANG()),b(u,"use_strict",{className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/}),u.contains.find((e=>"func.def"===e.label)).relevance=0,Object.assign(u,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),u}}function hg(){if(mu)return gu;return mu=1,gu=function(e){return{name:"Vala",keywords:{keyword: +// Value types +"char uchar unichar int uint long ulong short ushort int8 int16 int32 int64 uint8 uint16 uint32 uint64 float double bool struct enum string void weak unowned owned async signal static abstract interface override virtual delegate if while do for foreach else switch case break default return try catch public private protected internal using new this get set const stdout stdin stderr var",built_in:"DBus GLib CCode Gee Object Gtk Posix",literal:"false true null"},contains:[{className:"class",beginKeywords:"class interface namespace",end:/\{/,excludeEnd:!0,illegal:"[^,:\\n\\s\\.]",contains:[e.UNDERSCORE_TITLE_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",begin:'"""',end:'"""',relevance:5},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"^#",end:"$"}]}}}function pg(){if(bu)return _u;return bu=1,_u=function(e){const t=e.regex,n=/\d{1,2}\/\d{1,2}\/\d{4}/,r=/\d{4}-\d{1,2}-\d{1,2}/,i=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,a=/\d{1,2}(:\d{1,2}){1,2}/,o={className:"literal",variants:[{ +// #YYYY-MM-DD# (ISO-Date) or #M/D/YYYY# (US-Date) +begin:t.concat(/# */,t.either(r,n),/ *#/)},{ +// #H:mm[:ss]# (24h Time) +begin:t.concat(/# */,a,/ *#/)},{ +// #h[:mm[:ss]] A# (12h Time) +begin:t.concat(/# */,i,/ *#/)},{ +// date plus time +begin:t.concat(/# */,t.either(r,n),/ +/,t.either(i,a),/ *#/)}]},s=e.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),l=e.COMMENT(null,/$/,{variants:[{begin:/'/},{ +// TODO: Use multi-class for leading spaces +begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in: +// Operators https://docs.microsoft.com/dotnet/visual-basic/language-reference/operators +"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type: +// Data types https://docs.microsoft.com/dotnet/visual-basic/language-reference/data-types +"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[{className:"string",begin:/"(""|[^/n])"C\b/},{className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{ +// double quote escape +begin:/""/}]},o,{className:"number",relevance:0,variants:[{ +// Float +begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{ +// Integer (base 10) +begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{ +// Integer (base 16) +begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{ +// Integer (base 8) +begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{ +// Integer (base 2) +begin:/&B[01_]+((U?[SIL])|[%&])?/}]},{className:"label",begin:/^\w+:/},s,l,{className:"meta", +// TODO: Use multi-class for indentation once available +begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[l]}]}}}function gg(){if(yu)return fu;return yu=1,fu=function(e){const t=e.regex,n=["lcase","month","vartype","instrrev","ubound","setlocale","getobject","rgb","getref","string","weekdayname","rnd","dateadd","monthname","now","day","minute","isarray","cbool","round","formatcurrency","conversions","csng","timevalue","second","year","space","abs","clng","timeserial","fixs","len","asc","isempty","maths","dateserial","atn","timer","isobject","filter","weekday","datevalue","ccur","isdate","instr","datediff","formatdatetime","replace","isnull","right","sgn","array","snumeric","log","cdbl","hex","chr","lbound","msgbox","ucase","getlocale","cos","cdate","cbyte","rtrim","join","hour","oct","typename","trim","strcomp","int","createobject","loadpicture","tan","formatnumber","mid","split","cint","sin","datepart","ltrim","sqr","time","derived","eval","date","formatpercent","exp","inputbox","left","ascw","chrw","regexp","cstr","err"];return{name:"VBScript",aliases:["vbs"],case_insensitive:!0,keywords:{keyword:["call","class","const","dim","do","loop","erase","execute","executeglobal","exit","for","each","next","function","if","then","else","on","error","option","explicit","new","private","property","let","get","public","randomize","redim","rem","select","case","set","stop","sub","while","wend","with","end","to","elseif","is","or","xor","and","not","class_initialize","class_terminate","default","preserve","in","me","byval","byref","step","resume","goto"],built_in:["server","response","request", +// take no arguments so can be called without () +"scriptengine","scriptenginebuildversion","scriptengineminorversion","scriptenginemajorversion"],literal:["true","false","null","nothing","empty"]},illegal:"//",contains:[{begin:t.concat(t.either(...n),"\\s*\\("), +// relevance 0 because this is acting as a beginKeywords really +relevance:0,keywords:{built_in:n}},e.inherit(e.QUOTE_STRING_MODE,{contains:[{begin:'""'}]}),e.COMMENT(/'/,/$/,{relevance:0}),e.C_NUMBER_MODE]}}}function mg(){if(Eu)return vu;return Eu=1,vu=function(e){return{name:"VBScript in HTML",subLanguage:"xml",contains:[{begin:"<%",end:"%>",subLanguage:"vbscript"}]}}}function _g(){if(Tu)return Su;return Tu=1,Su=function(e){const t=e.regex,n=["begin_keywords","celldefine","default_nettype","default_decay_time","default_trireg_strength","define","delay_mode_distributed","delay_mode_path","delay_mode_unit","delay_mode_zero","else","elsif","end_keywords","endcelldefine","endif","ifdef","ifndef","include","line","nounconnected_drive","pragma","resetall","timescale","unconnected_drive","undef","undefineall"];return{name:"Verilog",aliases:["v","sv","svh"],case_insensitive:!1,keywords:{$pattern:/\$?[\w]+(\$[\w]+)*/,keyword:["accept_on","alias","always","always_comb","always_ff","always_latch","and","assert","assign","assume","automatic","before","begin","bind","bins","binsof","bit","break","buf|0","bufif0","bufif1","byte","case","casex","casez","cell","chandle","checker","class","clocking","cmos","config","const","constraint","context","continue","cover","covergroup","coverpoint","cross","deassign","default","defparam","design","disable","dist","do","edge","else","end","endcase","endchecker","endclass","endclocking","endconfig","endfunction","endgenerate","endgroup","endinterface","endmodule","endpackage","endprimitive","endprogram","endproperty","endspecify","endsequence","endtable","endtask","enum","event","eventually","expect","export","extends","extern","final","first_match","for","force","foreach","forever","fork","forkjoin","function","generate|5","genvar","global","highz0","highz1","if","iff","ifnone","ignore_bins","illegal_bins","implements","implies","import","incdir","include","initial","inout","input","inside","instance","int","integer","interconnect","interface","intersect","join","join_any","join_none","large","let","liblist","library","local","localparam","logic","longint","macromodule","matches","medium","modport","module","nand","negedge","nettype","new","nexttime","nmos","nor","noshowcancelled","not","notif0","notif1","or","output","package","packed","parameter","pmos","posedge","primitive","priority","program","property","protected","pull0","pull1","pulldown","pullup","pulsestyle_ondetect","pulsestyle_onevent","pure","rand","randc","randcase","randsequence","rcmos","real","realtime","ref","reg","reject_on","release","repeat","restrict","return","rnmos","rpmos","rtran","rtranif0","rtranif1","s_always","s_eventually","s_nexttime","s_until","s_until_with","scalared","sequence","shortint","shortreal","showcancelled","signed","small","soft","solve","specify","specparam","static","string","strong","strong0","strong1","struct","super","supply0","supply1","sync_accept_on","sync_reject_on","table","tagged","task","this","throughout","time","timeprecision","timeunit","tran","tranif0","tranif1","tri","tri0","tri1","triand","trior","trireg","type","typedef","union","unique","unique0","unsigned","until","until_with","untyped","use","uwire","var","vectored","virtual","void","wait","wait_order","wand","weak","weak0","weak1","while","wildcard","wire","with","within","wor","xnor","xor"],literal:["null"],built_in:["$finish","$stop","$exit","$fatal","$error","$warning","$info","$realtime","$time","$printtimescale","$bitstoreal","$bitstoshortreal","$itor","$signed","$cast","$bits","$stime","$timeformat","$realtobits","$shortrealtobits","$rtoi","$unsigned","$asserton","$assertkill","$assertpasson","$assertfailon","$assertnonvacuouson","$assertoff","$assertcontrol","$assertpassoff","$assertfailoff","$assertvacuousoff","$isunbounded","$sampled","$fell","$changed","$past_gclk","$fell_gclk","$changed_gclk","$rising_gclk","$steady_gclk","$coverage_control","$coverage_get","$coverage_save","$set_coverage_db_name","$rose","$stable","$past","$rose_gclk","$stable_gclk","$future_gclk","$falling_gclk","$changing_gclk","$display","$coverage_get_max","$coverage_merge","$get_coverage","$load_coverage_db","$typename","$unpacked_dimensions","$left","$low","$increment","$clog2","$ln","$log10","$exp","$sqrt","$pow","$floor","$ceil","$sin","$cos","$tan","$countbits","$onehot","$isunknown","$fatal","$warning","$dimensions","$right","$high","$size","$asin","$acos","$atan","$atan2","$hypot","$sinh","$cosh","$tanh","$asinh","$acosh","$atanh","$countones","$onehot0","$error","$info","$random","$dist_chi_square","$dist_erlang","$dist_exponential","$dist_normal","$dist_poisson","$dist_t","$dist_uniform","$q_initialize","$q_remove","$q_exam","$async$and$array","$async$nand$array","$async$or$array","$async$nor$array","$sync$and$array","$sync$nand$array","$sync$or$array","$sync$nor$array","$q_add","$q_full","$psprintf","$async$and$plane","$async$nand$plane","$async$or$plane","$async$nor$plane","$sync$and$plane","$sync$nand$plane","$sync$or$plane","$sync$nor$plane","$system","$display","$displayb","$displayh","$displayo","$strobe","$strobeb","$strobeh","$strobeo","$write","$readmemb","$readmemh","$writememh","$value$plusargs","$dumpvars","$dumpon","$dumplimit","$dumpports","$dumpportson","$dumpportslimit","$writeb","$writeh","$writeo","$monitor","$monitorb","$monitorh","$monitoro","$writememb","$dumpfile","$dumpoff","$dumpall","$dumpflush","$dumpportsoff","$dumpportsall","$dumpportsflush","$fclose","$fdisplay","$fdisplayb","$fdisplayh","$fdisplayo","$fstrobe","$fstrobeb","$fstrobeh","$fstrobeo","$swrite","$swriteb","$swriteh","$swriteo","$fscanf","$fread","$fseek","$fflush","$feof","$fopen","$fwrite","$fwriteb","$fwriteh","$fwriteo","$fmonitor","$fmonitorb","$fmonitorh","$fmonitoro","$sformat","$sformatf","$fgetc","$ungetc","$fgets","$sscanf","$rewind","$ftell","$ferror"]},contains:[e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE,e.QUOTE_STRING_MODE,{scope:"number",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/\b((\d+'([bhodBHOD]))[0-9xzXZa-fA-F_]+)/},{begin:/\B(('([bhodBHOD]))[0-9xzXZa-fA-F_]+)/},{ +// decimal +begin:/\b[0-9][0-9_]*/,relevance:0}]}, +/* parameters to instances */ +{scope:"variable",variants:[{begin:"#\\((?!parameter).+\\)"},{begin:"\\.\\w+",relevance:0}]},{scope:"variable.constant",match:t.concat(/`/,t.either("__FILE__","__LINE__"))},{scope:"meta",begin:t.concat(/`/,t.either(...n)),end:/$|\/\/|\/\*/,returnEnd:!0,keywords:n}]}}}function bg(){if(xu)return Cu;return xu=1,Cu=function(e){const t="\\d(_|\\d)*",n="[eE][-+]?"+t,r="\\b("+(t+"#\\w+(\\.\\w+)?#("+n+")?")+"|"+(t+"(\\."+t+")?("+n+")?")+")";return{name:"VHDL",case_insensitive:!0,keywords:{keyword:["abs","access","after","alias","all","and","architecture","array","assert","assume","assume_guarantee","attribute","begin","block","body","buffer","bus","case","component","configuration","constant","context","cover","disconnect","downto","default","else","elsif","end","entity","exit","fairness","file","for","force","function","generate","generic","group","guarded","if","impure","in","inertial","inout","is","label","library","linkage","literal","loop","map","mod","nand","new","next","nor","not","null","of","on","open","or","others","out","package","parameter","port","postponed","procedure","process","property","protected","pure","range","record","register","reject","release","rem","report","restrict","restrict_guarantee","return","rol","ror","select","sequence","severity","shared","signal","sla","sll","sra","srl","strong","subtype","then","to","transport","type","unaffected","units","until","use","variable","view","vmode","vprop","vunit","wait","when","while","with","xnor","xor"],built_in:["boolean","bit","character","integer","time","delay_length","natural","positive","string","bit_vector","file_open_kind","file_open_status","std_logic","std_logic_vector","unsigned","signed","boolean_vector","integer_vector","std_ulogic","std_ulogic_vector","unresolved_unsigned","u_unsigned","unresolved_signed","u_signed","real_vector","time_vector"],literal:[ +// severity_level +"false","true","note","warning","error","failure", +// textio +"line","text","side","width"]},illegal:/\{/,contains:[e.C_BLOCK_COMMENT_MODE, +// VHDL-2008 block commenting. +e.COMMENT("--","$"),e.QUOTE_STRING_MODE,{className:"number",begin:r,relevance:0},{className:"string",begin:"'(U|X|0|1|Z|W|L|H|-)'",contains:[e.BACKSLASH_ESCAPE]},{className:"symbol",begin:"'[A-Za-z](_?[A-Za-z0-9])*",contains:[e.BACKSLASH_ESCAPE]}]}}}function fg(){if(Au)return ku;return Au=1,ku=function(e){return{name:"Vim Script",keywords:{$pattern:/[!#@\w]+/,keyword: +// express version except: ! & * < = > !! # @ @@ +"N|0 P|0 X|0 a|0 ab abc abo al am an|0 ar arga argd arge argdo argg argl argu as au aug aun b|0 bN ba bad bd be bel bf bl bm bn bo bp br brea breaka breakd breakl bro bufdo buffers bun bw c|0 cN cNf ca cabc caddb cad caddf cal cat cb cc ccl cd ce cex cf cfir cgetb cgete cg changes chd che checkt cl cla clo cm cmapc cme cn cnew cnf cno cnorea cnoreme co col colo com comc comp con conf cope cp cpf cq cr cs cst cu cuna cunme cw delm deb debugg delc delf dif diffg diffo diffp diffpu diffs diffthis dig di dl dell dj dli do doautoa dp dr ds dsp e|0 ea ec echoe echoh echom echon el elsei em en endfo endf endt endw ene ex exe exi exu f|0 files filet fin fina fini fir fix fo foldc foldd folddoc foldo for fu go gr grepa gu gv ha helpf helpg helpt hi hid his ia iabc if ij il im imapc ime ino inorea inoreme int is isp iu iuna iunme j|0 ju k|0 keepa kee keepj lN lNf l|0 lad laddb laddf la lan lat lb lc lch lcl lcs le lefta let lex lf lfir lgetb lgete lg lgr lgrepa lh ll lla lli lmak lm lmapc lne lnew lnf ln loadk lo loc lockv lol lope lp lpf lr ls lt lu lua luad luaf lv lvimgrepa lw m|0 ma mak map mapc marks mat me menut mes mk mks mksp mkv mkvie mod mz mzf nbc nb nbs new nm nmapc nme nn nnoreme noa no noh norea noreme norm nu nun nunme ol o|0 om omapc ome on ono onoreme opt ou ounme ow p|0 profd prof pro promptr pc ped pe perld po popu pp pre prev ps pt ptN ptf ptj ptl ptn ptp ptr pts pu pw py3 python3 py3d py3f py pyd pyf quita qa rec red redi redr redraws reg res ret retu rew ri rightb rub rubyd rubyf rund ru rv sN san sa sal sav sb sbN sba sbf sbl sbm sbn sbp sbr scrip scripte scs se setf setg setl sf sfir sh sim sig sil sl sla sm smap smapc sme sn sni sno snor snoreme sor so spelld spe spelli spellr spellu spellw sp spr sre st sta startg startr star stopi stj sts sun sunm sunme sus sv sw sy synti sync tN tabN tabc tabdo tabe tabf tabfir tabl tabm tabnew tabn tabo tabp tabr tabs tab ta tags tc tcld tclf te tf th tj tl tm tn to tp tr try ts tu u|0 undoj undol una unh unl unlo unm unme uns up ve verb vert vim vimgrepa vi viu vie vm vmapc vme vne vn vnoreme vs vu vunme windo w|0 wN wa wh wi winc winp wn wp wq wqa ws wu wv x|0 xa xmapc xm xme xn xnoreme xu xunme y|0 z|0 ~ Next Print append abbreviate abclear aboveleft all amenu anoremenu args argadd argdelete argedit argglobal arglocal argument ascii autocmd augroup aunmenu buffer bNext ball badd bdelete behave belowright bfirst blast bmodified bnext botright bprevious brewind break breakadd breakdel breaklist browse bunload bwipeout change cNext cNfile cabbrev cabclear caddbuffer caddexpr caddfile call catch cbuffer cclose center cexpr cfile cfirst cgetbuffer cgetexpr cgetfile chdir checkpath checktime clist clast close cmap cmapclear cmenu cnext cnewer cnfile cnoremap cnoreabbrev cnoremenu copy colder colorscheme command comclear compiler continue confirm copen cprevious cpfile cquit crewind cscope cstag cunmap cunabbrev cunmenu cwindow delete delmarks debug debuggreedy delcommand delfunction diffupdate diffget diffoff diffpatch diffput diffsplit digraphs display deletel djump dlist doautocmd doautoall deletep drop dsearch dsplit edit earlier echo echoerr echohl echomsg else elseif emenu endif endfor endfunction endtry endwhile enew execute exit exusage file filetype find finally finish first fixdel fold foldclose folddoopen folddoclosed foldopen function global goto grep grepadd gui gvim hardcopy help helpfind helpgrep helptags highlight hide history insert iabbrev iabclear ijump ilist imap imapclear imenu inoremap inoreabbrev inoremenu intro isearch isplit iunmap iunabbrev iunmenu join jumps keepalt keepmarks keepjumps lNext lNfile list laddexpr laddbuffer laddfile last language later lbuffer lcd lchdir lclose lcscope left leftabove lexpr lfile lfirst lgetbuffer lgetexpr lgetfile lgrep lgrepadd lhelpgrep llast llist lmake lmap lmapclear lnext lnewer lnfile lnoremap loadkeymap loadview lockmarks lockvar lolder lopen lprevious lpfile lrewind ltag lunmap luado luafile lvimgrep lvimgrepadd lwindow move mark make mapclear match menu menutranslate messages mkexrc mksession mkspell mkvimrc mkview mode mzscheme mzfile nbclose nbkey nbsart next nmap nmapclear nmenu nnoremap nnoremenu noautocmd noremap nohlsearch noreabbrev noremenu normal number nunmap nunmenu oldfiles open omap omapclear omenu only onoremap onoremenu options ounmap ounmenu ownsyntax print profdel profile promptfind promptrepl pclose pedit perl perldo pop popup ppop preserve previous psearch ptag ptNext ptfirst ptjump ptlast ptnext ptprevious ptrewind ptselect put pwd py3do py3file python pydo pyfile quit quitall qall read recover redo redir redraw redrawstatus registers resize retab return rewind right rightbelow ruby rubydo rubyfile rundo runtime rviminfo substitute sNext sandbox sargument sall saveas sbuffer sbNext sball sbfirst sblast sbmodified sbnext sbprevious sbrewind scriptnames scriptencoding scscope set setfiletype setglobal setlocal sfind sfirst shell simalt sign silent sleep slast smagic smapclear smenu snext sniff snomagic snoremap snoremenu sort source spelldump spellgood spellinfo spellrepall spellundo spellwrong split sprevious srewind stop stag startgreplace startreplace startinsert stopinsert stjump stselect sunhide sunmap sunmenu suspend sview swapname syntax syntime syncbind tNext tabNext tabclose tabedit tabfind tabfirst tablast tabmove tabnext tabonly tabprevious tabrewind tag tcl tcldo tclfile tearoff tfirst throw tjump tlast tmenu tnext topleft tprevious trewind tselect tunmenu undo undojoin undolist unabbreviate unhide unlet unlockvar unmap unmenu unsilent update vglobal version verbose vertical vimgrep vimgrepadd visual viusage view vmap vmapclear vmenu vnew vnoremap vnoremenu vsplit vunmap vunmenu write wNext wall while winsize wincmd winpos wnext wprevious wqall wsverb wundo wviminfo xit xall xmapclear xmap xmenu xnoremap xnoremenu xunmap xunmenu yank",built_in: +// built in func +"synIDtrans atan2 range matcharg did_filetype asin feedkeys xor argv complete_check add getwinposx getqflist getwinposy screencol clearmatches empty extend getcmdpos mzeval garbagecollect setreg ceil sqrt diff_hlID inputsecret get getfperm getpid filewritable shiftwidth max sinh isdirectory synID system inputrestore winline atan visualmode inputlist tabpagewinnr round getregtype mapcheck hasmapto histdel argidx findfile sha256 exists toupper getcmdline taglist string getmatches bufnr strftime winwidth bufexists strtrans tabpagebuflist setcmdpos remote_read printf setloclist getpos getline bufwinnr float2nr len getcmdtype diff_filler luaeval resolve libcallnr foldclosedend reverse filter has_key bufname str2float strlen setline getcharmod setbufvar index searchpos shellescape undofile foldclosed setqflist buflisted strchars str2nr virtcol floor remove undotree remote_expr winheight gettabwinvar reltime cursor tabpagenr finddir localtime acos getloclist search tanh matchend rename gettabvar strdisplaywidth type abs py3eval setwinvar tolower wildmenumode log10 spellsuggest bufloaded synconcealed nextnonblank server2client complete settabwinvar executable input wincol setmatches getftype hlID inputsave searchpair or screenrow line settabvar histadd deepcopy strpart remote_peek and eval getftime submatch screenchar winsaveview matchadd mkdir screenattr getfontname libcall reltimestr getfsize winnr invert pow getbufline byte2line soundfold repeat fnameescape tagfiles sin strwidth spellbadword trunc maparg log lispindent hostname setpos globpath remote_foreground getchar synIDattr fnamemodify cscope_connection stridx winbufnr indent min complete_add nr2char searchpairpos inputdialog values matchlist items hlexists strridx browsedir expand fmod pathshorten line2byte argc count getwinvar glob foldtextresult getreg foreground cosh matchdelete has char2nr simplify histget searchdecl iconv winrestcmd pumvisible writefile foldlevel haslocaldir keys cos matchstr foldtext histnr tan tempname getcwd byteidx getbufvar islocked escape eventhandler remote_send serverlist winrestview synstack pyeval prevnonblank readfile cindent filereadable changenr exp"},illegal:/;/,contains:[e.NUMBER_MODE,{className:"string",begin:"'",end:"'",illegal:"\\n"}, +/* + A double quote can start either a string or a line comment. Strings are + ended before the end of a line by another double quote and can contain + escaped double-quotes and post-escaped line breaks. + + Also, any double quote at the beginning of a line is a comment but we + don't handle that properly at the moment: any double quote inside will + turn them into a string. Handling it properly will require a smarter + parser. + */ +{className:"string",begin:/"(\\"|\n\\|[^"\n])*"/},e.COMMENT('"',"$"),{className:"variable",begin:/[bwtglsav]:[\w\d_]+/},{begin:[/\b(?:function|function!)/,/\s+/,e.IDENT_RE],className:{1:"keyword",3:"title"},end:"$",relevance:0,contains:[{className:"params",begin:"\\(",end:"\\)"}]},{className:"symbol",begin:/<[\w-]+>/}]}}}function yg(){if(Nu)return wu;return Nu=1,wu=function(e){e.regex;const t=e.COMMENT(/\(;/,/;\)/);return t.contains.push("self"),{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"]},contains:[e.COMMENT(/;;/,/$/),t,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},{className:"variable",begin:/\$[\w_]+/},{match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},{begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},e.QUOTE_STRING_MODE,{ +// look-ahead prevents us from gobbling up opcodes +match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},{className:"keyword", +// borrowed from Prism, TODO: split out into variants +match:/\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/},{className:"number",relevance:0, +// borrowed from Prism, TODO: split out into variants +match:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/}]}}}function vg(){if(Ru)return Ou;return Ru=1,Ou=function(e){const t=e.regex,n=/[a-zA-Z]\w*/,r=["as","break","class","construct","continue","else","for","foreign","if","import","in","is","return","static","var","while"],i=["true","false","null"],a=["this","super"],o=["-","~",/\*/,"%",/\.\.\./,/\.\./,/\+/,"<<",">>",">=","<=","<",">",/\^/,/!=/,/!/,/\bis\b/,"==","&&","&",/\|\|/,/\|/,/\?:/,"="],s={relevance:0,match:t.concat(/\b(?!(if|while|for|else|super)\b)/,n,/(?=\s*[({])/),className:"title.function"},l={match:t.concat(t.either(t.concat(/\b(?!(if|while|for|else|super)\b)/,n),t.either(...o)),/(?=\s*\([^)]+\)\s*\{)/),className:"title.function",starts:{contains:[{begin:/\(/,end:/\)/,contains:[{relevance:0,scope:"params",match:n}]}]}},c={variants:[{match:[/class\s+/,n,/\s+is\s+/,n]},{match:[/class\s+/,n]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:r},u={relevance:0,match:t.either(...o),className:"operator"},d={className:"property",begin:t.concat(/\./,t.lookahead(n)),end:n,excludeBegin:!0,relevance:0},h={relevance:0,match:t.concat(/\b_/,n),scope:"variable"},p={relevance:0,match:/\b[A-Z]+[a-z]+([A-Z]+[a-z]+)*/,scope:"title.class",keywords:{_:["Bool","Class","Fiber","Fn","List","Map","Null","Num","Object","Range","Sequence","String","System"]}},g=e.C_NUMBER_MODE,m={match:[n,/\s*/,/=/,/\s*/,/\(/,n,/\)\s*\{/],scope:{1:"title.function",3:"operator",6:"params"}},_=e.COMMENT(/\/\*\*/,/\*\//,{contains:[{match:/@[a-z]+/,scope:"doctag"},"self"]}),b={scope:"subst",begin:/%\(/,end:/\)/,contains:[g,p,s,h,u]},f={scope:"string",begin:/"/,end:/"/,contains:[b,{scope:"char.escape",variants:[{match:/\\\\|\\["0%abefnrtv]/},{match:/\\x[0-9A-F]{2}/},{match:/\\u[0-9A-F]{4}/},{match:/\\U[0-9A-F]{8}/}]}]};b.contains.push(f);const y=[...r,...a,...i],v={relevance:0,match:t.concat("\\b(?!",y.join("|"),"\\b)",/[a-zA-Z_]\w*(?:[?!]|\b)/),className:"variable"};return{name:"Wren",keywords:{keyword:r,"variable.language":a,literal:i},contains:[{ +// scope: "meta", +scope:"comment",variants:[{begin:[/#!?/,/[A-Za-z_]+(?=\()/],beginScope:{},keywords:{literal:i},contains:[],end:/\)/},{begin:[/#!?/,/[A-Za-z_]+/],beginScope:{},end:/$/}]},g,f,{className:"string",begin:/"""/,end:/"""/},_,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,p,c,m,l,s,u,h,d,v]}}}function Eg(){if(Du)return Iu;return Du=1,Iu=function(e){return{name:"Intel x86 Assembly",case_insensitive:!0,keywords:{$pattern:"[.%]?"+e.IDENT_RE,keyword:"lock rep repe repz repne repnz xaquire xrelease bnd nobnd aaa aad aam aas adc add and arpl bb0_reset bb1_reset bound bsf bsr bswap bt btc btr bts call cbw cdq cdqe clc cld cli clts cmc cmp cmpsb cmpsd cmpsq cmpsw cmpxchg cmpxchg486 cmpxchg8b cmpxchg16b cpuid cpu_read cpu_write cqo cwd cwde daa das dec div dmint emms enter equ f2xm1 fabs fadd faddp fbld fbstp fchs fclex fcmovb fcmovbe fcmove fcmovnb fcmovnbe fcmovne fcmovnu fcmovu fcom fcomi fcomip fcomp fcompp fcos fdecstp fdisi fdiv fdivp fdivr fdivrp femms feni ffree ffreep fiadd ficom ficomp fidiv fidivr fild fimul fincstp finit fist fistp fisttp fisub fisubr fld fld1 fldcw fldenv fldl2e fldl2t fldlg2 fldln2 fldpi fldz fmul fmulp fnclex fndisi fneni fninit fnop fnsave fnstcw fnstenv fnstsw fpatan fprem fprem1 fptan frndint frstor fsave fscale fsetpm fsin fsincos fsqrt fst fstcw fstenv fstp fstsw fsub fsubp fsubr fsubrp ftst fucom fucomi fucomip fucomp fucompp fxam fxch fxtract fyl2x fyl2xp1 hlt ibts icebp idiv imul in inc incbin insb insd insw int int01 int1 int03 int3 into invd invpcid invlpg invlpga iret iretd iretq iretw jcxz jecxz jrcxz jmp jmpe lahf lar lds lea leave les lfence lfs lgdt lgs lidt lldt lmsw loadall loadall286 lodsb lodsd lodsq lodsw loop loope loopne loopnz loopz lsl lss ltr mfence monitor mov movd movq movsb movsd movsq movsw movsx movsxd movzx mul mwait neg nop not or out outsb outsd outsw packssdw packsswb packuswb paddb paddd paddsb paddsiw paddsw paddusb paddusw paddw pand pandn pause paveb pavgusb pcmpeqb pcmpeqd pcmpeqw pcmpgtb pcmpgtd pcmpgtw pdistib pf2id pfacc pfadd pfcmpeq pfcmpge pfcmpgt pfmax pfmin pfmul pfrcp pfrcpit1 pfrcpit2 pfrsqit1 pfrsqrt pfsub pfsubr pi2fd pmachriw pmaddwd pmagw pmulhriw pmulhrwa pmulhrwc pmulhw pmullw pmvgezb pmvlzb pmvnzb pmvzb pop popa popad popaw popf popfd popfq popfw por prefetch prefetchw pslld psllq psllw psrad psraw psrld psrlq psrlw psubb psubd psubsb psubsiw psubsw psubusb psubusw psubw punpckhbw punpckhdq punpckhwd punpcklbw punpckldq punpcklwd push pusha pushad pushaw pushf pushfd pushfq pushfw pxor rcl rcr rdshr rdmsr rdpmc rdtsc rdtscp ret retf retn rol ror rdm rsdc rsldt rsm rsts sahf sal salc sar sbb scasb scasd scasq scasw sfence sgdt shl shld shr shrd sidt sldt skinit smi smint smintold smsw stc std sti stosb stosd stosq stosw str sub svdc svldt svts swapgs syscall sysenter sysexit sysret test ud0 ud1 ud2b ud2 ud2a umov verr verw fwait wbinvd wrshr wrmsr xadd xbts xchg xlatb xlat xor cmove cmovz cmovne cmovnz cmova cmovnbe cmovae cmovnb cmovb cmovnae cmovbe cmovna cmovg cmovnle cmovge cmovnl cmovl cmovnge cmovle cmovng cmovc cmovnc cmovo cmovno cmovs cmovns cmovp cmovpe cmovnp cmovpo je jz jne jnz ja jnbe jae jnb jb jnae jbe jna jg jnle jge jnl jl jnge jle jng jc jnc jo jno js jns jpo jnp jpe jp sete setz setne setnz seta setnbe setae setnb setnc setb setnae setcset setbe setna setg setnle setge setnl setl setnge setle setng sets setns seto setno setpe setp setpo setnp addps addss andnps andps cmpeqps cmpeqss cmpleps cmpless cmpltps cmpltss cmpneqps cmpneqss cmpnleps cmpnless cmpnltps cmpnltss cmpordps cmpordss cmpunordps cmpunordss cmpps cmpss comiss cvtpi2ps cvtps2pi cvtsi2ss cvtss2si cvttps2pi cvttss2si divps divss ldmxcsr maxps maxss minps minss movaps movhps movlhps movlps movhlps movmskps movntps movss movups mulps mulss orps rcpps rcpss rsqrtps rsqrtss shufps sqrtps sqrtss stmxcsr subps subss ucomiss unpckhps unpcklps xorps fxrstor fxrstor64 fxsave fxsave64 xgetbv xsetbv xsave xsave64 xsaveopt xsaveopt64 xrstor xrstor64 prefetchnta prefetcht0 prefetcht1 prefetcht2 maskmovq movntq pavgb pavgw pextrw pinsrw pmaxsw pmaxub pminsw pminub pmovmskb pmulhuw psadbw pshufw pf2iw pfnacc pfpnacc pi2fw pswapd maskmovdqu clflush movntdq movnti movntpd movdqa movdqu movdq2q movq2dq paddq pmuludq pshufd pshufhw pshuflw pslldq psrldq psubq punpckhqdq punpcklqdq addpd addsd andnpd andpd cmpeqpd cmpeqsd cmplepd cmplesd cmpltpd cmpltsd cmpneqpd cmpneqsd cmpnlepd cmpnlesd cmpnltpd cmpnltsd cmpordpd cmpordsd cmpunordpd cmpunordsd cmppd comisd cvtdq2pd cvtdq2ps cvtpd2dq cvtpd2pi cvtpd2ps cvtpi2pd cvtps2dq cvtps2pd cvtsd2si cvtsd2ss cvtsi2sd cvtss2sd cvttpd2pi cvttpd2dq cvttps2dq cvttsd2si divpd divsd maxpd maxsd minpd minsd movapd movhpd movlpd movmskpd movupd mulpd mulsd orpd shufpd sqrtpd sqrtsd subpd subsd ucomisd unpckhpd unpcklpd xorpd addsubpd addsubps haddpd haddps hsubpd hsubps lddqu movddup movshdup movsldup clgi stgi vmcall vmclear vmfunc vmlaunch vmload vmmcall vmptrld vmptrst vmread vmresume vmrun vmsave vmwrite vmxoff vmxon invept invvpid pabsb pabsw pabsd palignr phaddw phaddd phaddsw phsubw phsubd phsubsw pmaddubsw pmulhrsw pshufb psignb psignw psignd extrq insertq movntsd movntss lzcnt blendpd blendps blendvpd blendvps dppd dpps extractps insertps movntdqa mpsadbw packusdw pblendvb pblendw pcmpeqq pextrb pextrd pextrq phminposuw pinsrb pinsrd pinsrq pmaxsb pmaxsd pmaxud pmaxuw pminsb pminsd pminud pminuw pmovsxbw pmovsxbd pmovsxbq pmovsxwd pmovsxwq pmovsxdq pmovzxbw pmovzxbd pmovzxbq pmovzxwd pmovzxwq pmovzxdq pmuldq pmulld ptest roundpd roundps roundsd roundss crc32 pcmpestri pcmpestrm pcmpistri pcmpistrm pcmpgtq popcnt getsec pfrcpv pfrsqrtv movbe aesenc aesenclast aesdec aesdeclast aesimc aeskeygenassist vaesenc vaesenclast vaesdec vaesdeclast vaesimc vaeskeygenassist vaddpd vaddps vaddsd vaddss vaddsubpd vaddsubps vandpd vandps vandnpd vandnps vblendpd vblendps vblendvpd vblendvps vbroadcastss vbroadcastsd vbroadcastf128 vcmpeq_ospd vcmpeqpd vcmplt_ospd vcmpltpd vcmple_ospd vcmplepd vcmpunord_qpd vcmpunordpd vcmpneq_uqpd vcmpneqpd vcmpnlt_uspd vcmpnltpd vcmpnle_uspd vcmpnlepd vcmpord_qpd vcmpordpd vcmpeq_uqpd vcmpnge_uspd vcmpngepd vcmpngt_uspd vcmpngtpd vcmpfalse_oqpd vcmpfalsepd vcmpneq_oqpd vcmpge_ospd vcmpgepd vcmpgt_ospd vcmpgtpd vcmptrue_uqpd vcmptruepd vcmplt_oqpd vcmple_oqpd vcmpunord_spd vcmpneq_uspd vcmpnlt_uqpd vcmpnle_uqpd vcmpord_spd vcmpeq_uspd vcmpnge_uqpd vcmpngt_uqpd vcmpfalse_ospd vcmpneq_ospd vcmpge_oqpd vcmpgt_oqpd vcmptrue_uspd vcmppd vcmpeq_osps vcmpeqps vcmplt_osps vcmpltps vcmple_osps vcmpleps vcmpunord_qps vcmpunordps vcmpneq_uqps vcmpneqps vcmpnlt_usps vcmpnltps vcmpnle_usps vcmpnleps vcmpord_qps vcmpordps vcmpeq_uqps vcmpnge_usps vcmpngeps vcmpngt_usps vcmpngtps vcmpfalse_oqps vcmpfalseps vcmpneq_oqps vcmpge_osps vcmpgeps vcmpgt_osps vcmpgtps vcmptrue_uqps vcmptrueps vcmplt_oqps vcmple_oqps vcmpunord_sps vcmpneq_usps vcmpnlt_uqps vcmpnle_uqps vcmpord_sps vcmpeq_usps vcmpnge_uqps vcmpngt_uqps vcmpfalse_osps vcmpneq_osps vcmpge_oqps vcmpgt_oqps vcmptrue_usps vcmpps vcmpeq_ossd vcmpeqsd vcmplt_ossd vcmpltsd vcmple_ossd vcmplesd vcmpunord_qsd vcmpunordsd vcmpneq_uqsd vcmpneqsd vcmpnlt_ussd vcmpnltsd vcmpnle_ussd vcmpnlesd vcmpord_qsd vcmpordsd vcmpeq_uqsd vcmpnge_ussd vcmpngesd vcmpngt_ussd vcmpngtsd vcmpfalse_oqsd vcmpfalsesd vcmpneq_oqsd vcmpge_ossd vcmpgesd vcmpgt_ossd vcmpgtsd vcmptrue_uqsd vcmptruesd vcmplt_oqsd vcmple_oqsd vcmpunord_ssd vcmpneq_ussd vcmpnlt_uqsd vcmpnle_uqsd vcmpord_ssd vcmpeq_ussd vcmpnge_uqsd vcmpngt_uqsd vcmpfalse_ossd vcmpneq_ossd vcmpge_oqsd vcmpgt_oqsd vcmptrue_ussd vcmpsd vcmpeq_osss vcmpeqss vcmplt_osss vcmpltss vcmple_osss vcmpless vcmpunord_qss vcmpunordss vcmpneq_uqss vcmpneqss vcmpnlt_usss vcmpnltss vcmpnle_usss vcmpnless vcmpord_qss vcmpordss vcmpeq_uqss vcmpnge_usss vcmpngess vcmpngt_usss vcmpngtss vcmpfalse_oqss vcmpfalsess vcmpneq_oqss vcmpge_osss vcmpgess vcmpgt_osss vcmpgtss vcmptrue_uqss vcmptruess vcmplt_oqss vcmple_oqss vcmpunord_sss vcmpneq_usss vcmpnlt_uqss vcmpnle_uqss vcmpord_sss vcmpeq_usss vcmpnge_uqss vcmpngt_uqss vcmpfalse_osss vcmpneq_osss vcmpge_oqss vcmpgt_oqss vcmptrue_usss vcmpss vcomisd vcomiss vcvtdq2pd vcvtdq2ps vcvtpd2dq vcvtpd2ps vcvtps2dq vcvtps2pd vcvtsd2si vcvtsd2ss vcvtsi2sd vcvtsi2ss vcvtss2sd vcvtss2si vcvttpd2dq vcvttps2dq vcvttsd2si vcvttss2si vdivpd vdivps vdivsd vdivss vdppd vdpps vextractf128 vextractps vhaddpd vhaddps vhsubpd vhsubps vinsertf128 vinsertps vlddqu vldqqu vldmxcsr vmaskmovdqu vmaskmovps vmaskmovpd vmaxpd vmaxps vmaxsd vmaxss vminpd vminps vminsd vminss vmovapd vmovaps vmovd vmovq vmovddup vmovdqa vmovqqa vmovdqu vmovqqu vmovhlps vmovhpd vmovhps vmovlhps vmovlpd vmovlps vmovmskpd vmovmskps vmovntdq vmovntqq vmovntdqa vmovntpd vmovntps vmovsd vmovshdup vmovsldup vmovss vmovupd vmovups vmpsadbw vmulpd vmulps vmulsd vmulss vorpd vorps vpabsb vpabsw vpabsd vpacksswb vpackssdw vpackuswb vpackusdw vpaddb vpaddw vpaddd vpaddq vpaddsb vpaddsw vpaddusb vpaddusw vpalignr vpand vpandn vpavgb vpavgw vpblendvb vpblendw vpcmpestri vpcmpestrm vpcmpistri vpcmpistrm vpcmpeqb vpcmpeqw vpcmpeqd vpcmpeqq vpcmpgtb vpcmpgtw vpcmpgtd vpcmpgtq vpermilpd vpermilps vperm2f128 vpextrb vpextrw vpextrd vpextrq vphaddw vphaddd vphaddsw vphminposuw vphsubw vphsubd vphsubsw vpinsrb vpinsrw vpinsrd vpinsrq vpmaddwd vpmaddubsw vpmaxsb vpmaxsw vpmaxsd vpmaxub vpmaxuw vpmaxud vpminsb vpminsw vpminsd vpminub vpminuw vpminud vpmovmskb vpmovsxbw vpmovsxbd vpmovsxbq vpmovsxwd vpmovsxwq vpmovsxdq vpmovzxbw vpmovzxbd vpmovzxbq vpmovzxwd vpmovzxwq vpmovzxdq vpmulhuw vpmulhrsw vpmulhw vpmullw vpmulld vpmuludq vpmuldq vpor vpsadbw vpshufb vpshufd vpshufhw vpshuflw vpsignb vpsignw vpsignd vpslldq vpsrldq vpsllw vpslld vpsllq vpsraw vpsrad vpsrlw vpsrld vpsrlq vptest vpsubb vpsubw vpsubd vpsubq vpsubsb vpsubsw vpsubusb vpsubusw vpunpckhbw vpunpckhwd vpunpckhdq vpunpckhqdq vpunpcklbw vpunpcklwd vpunpckldq vpunpcklqdq vpxor vrcpps vrcpss vrsqrtps vrsqrtss vroundpd vroundps vroundsd vroundss vshufpd vshufps vsqrtpd vsqrtps vsqrtsd vsqrtss vstmxcsr vsubpd vsubps vsubsd vsubss vtestps vtestpd vucomisd vucomiss vunpckhpd vunpckhps vunpcklpd vunpcklps vxorpd vxorps vzeroall vzeroupper pclmullqlqdq pclmulhqlqdq pclmullqhqdq pclmulhqhqdq pclmulqdq vpclmullqlqdq vpclmulhqlqdq vpclmullqhqdq vpclmulhqhqdq vpclmulqdq vfmadd132ps vfmadd132pd vfmadd312ps vfmadd312pd vfmadd213ps vfmadd213pd vfmadd123ps vfmadd123pd vfmadd231ps vfmadd231pd vfmadd321ps vfmadd321pd vfmaddsub132ps vfmaddsub132pd vfmaddsub312ps vfmaddsub312pd vfmaddsub213ps vfmaddsub213pd vfmaddsub123ps vfmaddsub123pd vfmaddsub231ps vfmaddsub231pd vfmaddsub321ps vfmaddsub321pd vfmsub132ps vfmsub132pd vfmsub312ps vfmsub312pd vfmsub213ps vfmsub213pd vfmsub123ps vfmsub123pd vfmsub231ps vfmsub231pd vfmsub321ps vfmsub321pd vfmsubadd132ps vfmsubadd132pd vfmsubadd312ps vfmsubadd312pd vfmsubadd213ps vfmsubadd213pd vfmsubadd123ps vfmsubadd123pd vfmsubadd231ps vfmsubadd231pd vfmsubadd321ps vfmsubadd321pd vfnmadd132ps vfnmadd132pd vfnmadd312ps vfnmadd312pd vfnmadd213ps vfnmadd213pd vfnmadd123ps vfnmadd123pd vfnmadd231ps vfnmadd231pd vfnmadd321ps vfnmadd321pd vfnmsub132ps vfnmsub132pd vfnmsub312ps vfnmsub312pd vfnmsub213ps vfnmsub213pd vfnmsub123ps vfnmsub123pd vfnmsub231ps vfnmsub231pd vfnmsub321ps vfnmsub321pd vfmadd132ss vfmadd132sd vfmadd312ss vfmadd312sd vfmadd213ss vfmadd213sd vfmadd123ss vfmadd123sd vfmadd231ss vfmadd231sd vfmadd321ss vfmadd321sd vfmsub132ss vfmsub132sd vfmsub312ss vfmsub312sd vfmsub213ss vfmsub213sd vfmsub123ss vfmsub123sd vfmsub231ss vfmsub231sd vfmsub321ss vfmsub321sd vfnmadd132ss vfnmadd132sd vfnmadd312ss vfnmadd312sd vfnmadd213ss vfnmadd213sd vfnmadd123ss vfnmadd123sd vfnmadd231ss vfnmadd231sd vfnmadd321ss vfnmadd321sd vfnmsub132ss vfnmsub132sd vfnmsub312ss vfnmsub312sd vfnmsub213ss vfnmsub213sd vfnmsub123ss vfnmsub123sd vfnmsub231ss vfnmsub231sd vfnmsub321ss vfnmsub321sd rdfsbase rdgsbase rdrand wrfsbase wrgsbase vcvtph2ps vcvtps2ph adcx adox rdseed clac stac xstore xcryptecb xcryptcbc xcryptctr xcryptcfb xcryptofb montmul xsha1 xsha256 llwpcb slwpcb lwpval lwpins vfmaddpd vfmaddps vfmaddsd vfmaddss vfmaddsubpd vfmaddsubps vfmsubaddpd vfmsubaddps vfmsubpd vfmsubps vfmsubsd vfmsubss vfnmaddpd vfnmaddps vfnmaddsd vfnmaddss vfnmsubpd vfnmsubps vfnmsubsd vfnmsubss vfrczpd vfrczps vfrczsd vfrczss vpcmov vpcomb vpcomd vpcomq vpcomub vpcomud vpcomuq vpcomuw vpcomw vphaddbd vphaddbq vphaddbw vphadddq vphaddubd vphaddubq vphaddubw vphaddudq vphadduwd vphadduwq vphaddwd vphaddwq vphsubbw vphsubdq vphsubwd vpmacsdd vpmacsdqh vpmacsdql vpmacssdd vpmacssdqh vpmacssdql vpmacsswd vpmacssww vpmacswd vpmacsww vpmadcsswd vpmadcswd vpperm vprotb vprotd vprotq vprotw vpshab vpshad vpshaq vpshaw vpshlb vpshld vpshlq vpshlw vbroadcasti128 vpblendd vpbroadcastb vpbroadcastw vpbroadcastd vpbroadcastq vpermd vpermpd vpermps vpermq vperm2i128 vextracti128 vinserti128 vpmaskmovd vpmaskmovq vpsllvd vpsllvq vpsravd vpsrlvd vpsrlvq vgatherdpd vgatherqpd vgatherdps vgatherqps vpgatherdd vpgatherqd vpgatherdq vpgatherqq xabort xbegin xend xtest andn bextr blci blcic blsi blsic blcfill blsfill blcmsk blsmsk blsr blcs bzhi mulx pdep pext rorx sarx shlx shrx tzcnt tzmsk t1mskc valignd valignq vblendmpd vblendmps vbroadcastf32x4 vbroadcastf64x4 vbroadcasti32x4 vbroadcasti64x4 vcompresspd vcompressps vcvtpd2udq vcvtps2udq vcvtsd2usi vcvtss2usi vcvttpd2udq vcvttps2udq vcvttsd2usi vcvttss2usi vcvtudq2pd vcvtudq2ps vcvtusi2sd vcvtusi2ss vexpandpd vexpandps vextractf32x4 vextractf64x4 vextracti32x4 vextracti64x4 vfixupimmpd vfixupimmps vfixupimmsd vfixupimmss vgetexppd vgetexpps vgetexpsd vgetexpss vgetmantpd vgetmantps vgetmantsd vgetmantss vinsertf32x4 vinsertf64x4 vinserti32x4 vinserti64x4 vmovdqa32 vmovdqa64 vmovdqu32 vmovdqu64 vpabsq vpandd vpandnd vpandnq vpandq vpblendmd vpblendmq vpcmpltd vpcmpled vpcmpneqd vpcmpnltd vpcmpnled vpcmpd vpcmpltq vpcmpleq vpcmpneqq vpcmpnltq vpcmpnleq vpcmpq vpcmpequd vpcmpltud vpcmpleud vpcmpnequd vpcmpnltud vpcmpnleud vpcmpud vpcmpequq vpcmpltuq vpcmpleuq vpcmpnequq vpcmpnltuq vpcmpnleuq vpcmpuq vpcompressd vpcompressq vpermi2d vpermi2pd vpermi2ps vpermi2q vpermt2d vpermt2pd vpermt2ps vpermt2q vpexpandd vpexpandq vpmaxsq vpmaxuq vpminsq vpminuq vpmovdb vpmovdw vpmovqb vpmovqd vpmovqw vpmovsdb vpmovsdw vpmovsqb vpmovsqd vpmovsqw vpmovusdb vpmovusdw vpmovusqb vpmovusqd vpmovusqw vpord vporq vprold vprolq vprolvd vprolvq vprord vprorq vprorvd vprorvq vpscatterdd vpscatterdq vpscatterqd vpscatterqq vpsraq vpsravq vpternlogd vpternlogq vptestmd vptestmq vptestnmd vptestnmq vpxord vpxorq vrcp14pd vrcp14ps vrcp14sd vrcp14ss vrndscalepd vrndscaleps vrndscalesd vrndscaless vrsqrt14pd vrsqrt14ps vrsqrt14sd vrsqrt14ss vscalefpd vscalefps vscalefsd vscalefss vscatterdpd vscatterdps vscatterqpd vscatterqps vshuff32x4 vshuff64x2 vshufi32x4 vshufi64x2 kandnw kandw kmovw knotw kortestw korw kshiftlw kshiftrw kunpckbw kxnorw kxorw vpbroadcastmb2q vpbroadcastmw2d vpconflictd vpconflictq vplzcntd vplzcntq vexp2pd vexp2ps vrcp28pd vrcp28ps vrcp28sd vrcp28ss vrsqrt28pd vrsqrt28ps vrsqrt28sd vrsqrt28ss vgatherpf0dpd vgatherpf0dps vgatherpf0qpd vgatherpf0qps vgatherpf1dpd vgatherpf1dps vgatherpf1qpd vgatherpf1qps vscatterpf0dpd vscatterpf0dps vscatterpf0qpd vscatterpf0qps vscatterpf1dpd vscatterpf1dps vscatterpf1qpd vscatterpf1qps prefetchwt1 bndmk bndcl bndcu bndcn bndmov bndldx bndstx sha1rnds4 sha1nexte sha1msg1 sha1msg2 sha256rnds2 sha256msg1 sha256msg2 hint_nop0 hint_nop1 hint_nop2 hint_nop3 hint_nop4 hint_nop5 hint_nop6 hint_nop7 hint_nop8 hint_nop9 hint_nop10 hint_nop11 hint_nop12 hint_nop13 hint_nop14 hint_nop15 hint_nop16 hint_nop17 hint_nop18 hint_nop19 hint_nop20 hint_nop21 hint_nop22 hint_nop23 hint_nop24 hint_nop25 hint_nop26 hint_nop27 hint_nop28 hint_nop29 hint_nop30 hint_nop31 hint_nop32 hint_nop33 hint_nop34 hint_nop35 hint_nop36 hint_nop37 hint_nop38 hint_nop39 hint_nop40 hint_nop41 hint_nop42 hint_nop43 hint_nop44 hint_nop45 hint_nop46 hint_nop47 hint_nop48 hint_nop49 hint_nop50 hint_nop51 hint_nop52 hint_nop53 hint_nop54 hint_nop55 hint_nop56 hint_nop57 hint_nop58 hint_nop59 hint_nop60 hint_nop61 hint_nop62 hint_nop63",built_in: +// Instruction pointer +"ip eip rip al ah bl bh cl ch dl dh sil dil bpl spl r8b r9b r10b r11b r12b r13b r14b r15b ax bx cx dx si di bp sp r8w r9w r10w r11w r12w r13w r14w r15w eax ebx ecx edx esi edi ebp esp eip r8d r9d r10d r11d r12d r13d r14d r15d rax rbx rcx rdx rsi rdi rbp rsp r8 r9 r10 r11 r12 r13 r14 r15 cs ds es fs gs ss st st0 st1 st2 st3 st4 st5 st6 st7 mm0 mm1 mm2 mm3 mm4 mm5 mm6 mm7 xmm0 xmm1 xmm2 xmm3 xmm4 xmm5 xmm6 xmm7 xmm8 xmm9 xmm10 xmm11 xmm12 xmm13 xmm14 xmm15 xmm16 xmm17 xmm18 xmm19 xmm20 xmm21 xmm22 xmm23 xmm24 xmm25 xmm26 xmm27 xmm28 xmm29 xmm30 xmm31 ymm0 ymm1 ymm2 ymm3 ymm4 ymm5 ymm6 ymm7 ymm8 ymm9 ymm10 ymm11 ymm12 ymm13 ymm14 ymm15 ymm16 ymm17 ymm18 ymm19 ymm20 ymm21 ymm22 ymm23 ymm24 ymm25 ymm26 ymm27 ymm28 ymm29 ymm30 ymm31 zmm0 zmm1 zmm2 zmm3 zmm4 zmm5 zmm6 zmm7 zmm8 zmm9 zmm10 zmm11 zmm12 zmm13 zmm14 zmm15 zmm16 zmm17 zmm18 zmm19 zmm20 zmm21 zmm22 zmm23 zmm24 zmm25 zmm26 zmm27 zmm28 zmm29 zmm30 zmm31 k0 k1 k2 k3 k4 k5 k6 k7 bnd0 bnd1 bnd2 bnd3 cr0 cr1 cr2 cr3 cr4 cr8 dr0 dr1 dr2 dr3 dr8 tr3 tr4 tr5 tr6 tr7 r0 r1 r2 r3 r4 r5 r6 r7 r0b r1b r2b r3b r4b r5b r6b r7b r0w r1w r2w r3w r4w r5w r6w r7w r0d r1d r2d r3d r4d r5d r6d r7d r0h r1h r2h r3h r0l r1l r2l r3l r4l r5l r6l r7l r8l r9l r10l r11l r12l r13l r14l r15l db dw dd dq dt ddq do dy dz resb resw resd resq rest resdq reso resy resz incbin equ times byte word dword qword nosplit rel abs seg wrt strict near far a32 ptr",meta:"%define %xdefine %+ %undef %defstr %deftok %assign %strcat %strlen %substr %rotate %elif %else %endif %if %ifmacro %ifctx %ifidn %ifidni %ifid %ifnum %ifstr %iftoken %ifempty %ifenv %error %warning %fatal %rep %endrep %include %push %pop %repl %pathsearch %depend %use %arg %stacksize %local %line %comment %endcomment .nolist __FILE__ __LINE__ __SECT__ __BITS__ __OUTPUT_FORMAT__ 3/2/2025, 12:26:08 PM __TIME__ __DATE_NUM__ __TIME_NUM__ __UTC_DATE__ __UTC_TIME__ __UTC_DATE_NUM__ __UTC_TIME_NUM__ __PASS__ struc endstruc istruc at iend align alignb sectalign daz nodaz up down zero default option assume public bits use16 use32 use64 default section segment absolute extern global common cpu float __utf16__ __utf16le__ __utf16be__ __utf32__ __utf32le__ __utf32be__ __float8__ __float16__ __float32__ __float64__ __float80m__ __float80e__ __float128l__ __float128h__ __Infinity__ __QNaN__ __SNaN__ Inf NaN QNaN SNaN float8 float16 float32 float64 float80m float80e float128l float128h __FLOAT_DAZ__ __FLOAT_ROUND__ __FLOAT__"},contains:[e.COMMENT(";","$",{relevance:0}),{className:"number",variants:[ +// Float number and x87 BCD +{begin:"\\b(?:([0-9][0-9_]*)?\\.[0-9_]*(?:[eE][+-]?[0-9_]+)?|(0[Xx])?[0-9][0-9_]*(\\.[0-9_]*)?(?:[pP](?:[+-]?[0-9_]+)?)?)\\b",relevance:0}, +// Hex number in $ +{begin:"\\$[0-9][0-9A-Fa-f]*",relevance:0}, +// Number in H,D,T,Q,O,B,Y suffix +{begin:"\\b(?:[0-9A-Fa-f][0-9A-Fa-f_]*[Hh]|[0-9][0-9_]*[DdTt]?|[0-7][0-7_]*[QqOo]|[0-1][0-1_]*[BbYy])\\b"}, +// Number in X,D,T,Q,O,B,Y prefix +{begin:"\\b(?:0[Xx][0-9A-Fa-f_]+|0[DdTt][0-9_]+|0[QqOo][0-7_]+|0[BbYy][0-1_]+)\\b"}]}, +// Double quote string +e.QUOTE_STRING_MODE,{className:"string",variants:[ +// Single-quoted string +{begin:"'",end:"[^\\\\]'"}, +// Backquoted string +{begin:"`",end:"[^\\\\]`"}],relevance:0},{className:"symbol",variants:[ +// Global label and local label +{begin:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)"}, +// Macro-local label +{begin:"^\\s*%%[A-Za-z0-9_$#@~.?]*:"}],relevance:0}, +// Macro parameter +{className:"subst",begin:"%[0-9]+",relevance:0}, +// Macro parameter +{className:"subst",begin:"%!S+",relevance:0},{className:"meta",begin:/^\s*\.[\w_-]+/}]}}}function Sg(){if(Lu)return Mu;return Lu=1,Mu=function(e){const t={$pattern:/[a-zA-Z][a-zA-Z0-9_?]*/,keyword:["if","then","else","do","while","until","for","loop","import","with","is","as","where","when","by","data","constant","integer","real","text","name","boolean","symbol","infix","prefix","postfix","block","tree"],literal:["true","false","nil"],built_in:["in","mod","rem","and","or","xor","not","abs","sign","floor","ceil","sqrt","sin","cos","tan","asin","acos","atan","exp","expm1","log","log2","log10","log1p","pi","at","text_length","text_range","text_find","text_replace","contains","page","slide","basic_slide","title_slide","title","subtitle","fade_in","fade_out","fade_at","clear_color","color","line_color","line_width","texture_wrap","texture_transform","texture","scale_?x","scale_?y","scale_?z?","translate_?x","translate_?y","translate_?z?","rotate_?x","rotate_?y","rotate_?z?","rectangle","circle","ellipse","sphere","path","line_to","move_to","quad_to","curve_to","theme","background","contents","locally","time","mouse_?x","mouse_?y","mouse_buttons"].concat(["ObjectLoader","Animate","MovieCredits","Slides","Filters","Shading","Materials","LensFlare","Mapping","VLCAudioVideo","StereoDecoder","PointCloud","NetworkAccess","RemoteControl","RegExp","ChromaKey","Snowfall","NodeJS","Speech","Charts"])},n={className:"string",begin:'"',end:'"',illegal:"\\n"},r={beginKeywords:"import",end:"$",keywords:t,contains:[n]},i={className:"function",begin:/[a-z][^\n]*->/,returnBegin:!0,end:/->/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,keywords:t}})]};return{name:"XL",aliases:["tao"],keywords:t,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n,{className:"string",begin:"'",end:"'",illegal:"\\n"},{className:"string",begin:"<<",end:">>"},i,r,{className:"number",begin:"[0-9]+#[0-9A-Z_]+(\\.[0-9-A-Z_]+)?#?([Ee][+-]?[0-9]+)?"},e.NUMBER_MODE]}}}function Tg(){if(ju)return Pu;return ju=1,Pu=function(e){return{name:"XQuery",aliases:["xpath","xq","xqm"],case_insensitive:!1,illegal:/(proc)|(abstract)|(extends)|(until)|(#)/,keywords:{$pattern:/[a-zA-Z$][a-zA-Z0-9_:-]*/,keyword:["module","schema","namespace","boundary-space","preserve","no-preserve","strip","default","collation","base-uri","ordering","context","decimal-format","decimal-separator","copy-namespaces","empty-sequence","except","exponent-separator","external","grouping-separator","inherit","no-inherit","lax","minus-sign","per-mille","percent","schema-attribute","schema-element","strict","unordered","zero-digit","declare","import","option","function","validate","variable","for","at","in","let","where","order","group","by","return","if","then","else","tumbling","sliding","window","start","when","only","end","previous","next","stable","ascending","descending","allowing","empty","greatest","least","some","every","satisfies","switch","case","typeswitch","try","catch","and","or","to","union","intersect","instance","of","treat","as","castable","cast","map","array","delete","insert","into","replace","value","rename","copy","modify","update"],type:["item","document-node","node","attribute","document","element","comment","namespace","namespace-node","processing-instruction","text","construction","xs:anyAtomicType","xs:untypedAtomic","xs:duration","xs:time","xs:decimal","xs:float","xs:double","xs:gYearMonth","xs:gYear","xs:gMonthDay","xs:gMonth","xs:gDay","xs:boolean","xs:base64Binary","xs:hexBinary","xs:anyURI","xs:QName","xs:NOTATION","xs:dateTime","xs:dateTimeStamp","xs:date","xs:string","xs:normalizedString","xs:token","xs:language","xs:NMTOKEN","xs:Name","xs:NCName","xs:ID","xs:IDREF","xs:ENTITY","xs:integer","xs:nonPositiveInteger","xs:negativeInteger","xs:long","xs:int","xs:short","xs:byte","xs:nonNegativeInteger","xs:unisignedLong","xs:unsignedInt","xs:unsignedShort","xs:unsignedByte","xs:positiveInteger","xs:yearMonthDuration","xs:dayTimeDuration"],literal:["eq","ne","lt","le","gt","ge","is","self::","child::","descendant::","descendant-or-self::","attribute::","following::","following-sibling::","parent::","ancestor::","ancestor-or-self::","preceding::","preceding-sibling::","NaN"]},contains:[{className:"variable",begin:/[$][\w\-:]+/},{className:"built_in",variants:[{begin:/\barray:/,end:/(?:append|filter|flatten|fold-(?:left|right)|for-each(?:-pair)?|get|head|insert-before|join|put|remove|reverse|size|sort|subarray|tail)\b/},{begin:/\bmap:/,end:/(?:contains|entry|find|for-each|get|keys|merge|put|remove|size)\b/},{begin:/\bmath:/,end:/(?:a(?:cos|sin|tan[2]?)|cos|exp(?:10)?|log(?:10)?|pi|pow|sin|sqrt|tan)\b/},{begin:/\bop:/,end:/\(/,excludeEnd:!0},{begin:/\bfn:/,end:/\(/,excludeEnd:!0}, +// do not highlight inbuilt strings as variable or xml element names +{begin:/[^</$:'"-]\b(?:abs|accumulator-(?:after|before)|adjust-(?:date(?:Time)?|time)-to-timezone|analyze-string|apply|available-(?:environment-variables|system-properties)|avg|base-uri|boolean|ceiling|codepoints?-(?:equal|to-string)|collation-key|collection|compare|concat|contains(?:-token)?|copy-of|count|current(?:-)?(?:date(?:Time)?|time|group(?:ing-key)?|output-uri|merge-(?:group|key))?data|dateTime|days?-from-(?:date(?:Time)?|duration)|deep-equal|default-(?:collation|language)|distinct-values|document(?:-uri)?|doc(?:-available)?|element-(?:available|with-id)|empty|encode-for-uri|ends-with|environment-variable|error|escape-html-uri|exactly-one|exists|false|filter|floor|fold-(?:left|right)|for-each(?:-pair)?|format-(?:date(?:Time)?|time|integer|number)|function-(?:arity|available|lookup|name)|generate-id|has-children|head|hours-from-(?:dateTime|duration|time)|id(?:ref)?|implicit-timezone|in-scope-prefixes|index-of|innermost|insert-before|iri-to-uri|json-(?:doc|to-xml)|key|lang|last|load-xquery-module|local-name(?:-from-QName)?|(?:lower|upper)-case|matches|max|minutes-from-(?:dateTime|duration|time)|min|months?-from-(?:date(?:Time)?|duration)|name(?:space-uri-?(?:for-prefix|from-QName)?)?|nilled|node-name|normalize-(?:space|unicode)|not|number|one-or-more|outermost|parse-(?:ietf-date|json)|path|position|(?:prefix-from-)?QName|random-number-generator|regex-group|remove|replace|resolve-(?:QName|uri)|reverse|root|round(?:-half-to-even)?|seconds-from-(?:dateTime|duration|time)|snapshot|sort|starts-with|static-base-uri|stream-available|string-?(?:join|length|to-codepoints)?|subsequence|substring-?(?:after|before)?|sum|system-property|tail|timezone-from-(?:date(?:Time)?|time)|tokenize|trace|trans(?:form|late)|true|type-available|unordered|unparsed-(?:entity|text)?-?(?:public-id|uri|available|lines)?|uri-collection|xml-to-json|years?-from-(?:date(?:Time)?|duration)|zero-or-one)\b/},{begin:/\blocal:/,end:/\(/,excludeEnd:!0},{begin:/\bzip:/,end:/(?:zip-file|(?:xml|html|text|binary)-entry| (?:update-)?entries)\b/},{begin:/\b(?:util|db|functx|app|xdmp|xmldb):/,end:/\(/,excludeEnd:!0}]},{className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},{className:"number",begin:/(\b0[0-7_]+)|(\b0x[0-9a-fA-F_]+)|(\b[1-9][0-9_]*(\.[0-9_]+)?)|[0_]\b/,relevance:0},{className:"comment",begin:/\(:/,end:/:\)/,relevance:10,contains:[{className:"doctag",begin:/@\w+/}]},{className:"meta",begin:/%[\w\-:]+/},{className:"title",begin:/\bxquery version "[13]\.[01]"\s?(?:encoding ".+")?/,end:/;/},{beginKeywords:"element attribute comment document processing-instruction",end:/\{/,excludeEnd:!0},{begin:/<([\w._:-]+)(\s+\S*=('|").*('|"))?>/,end:/(\/[\w._:-]+>)/,subLanguage:"xml",contains:[{begin:/\{/,end:/\}/,subLanguage:"xquery"},"self"]}]}}}function Cg(){if(Bu)return Fu;return Bu=1,Fu=function(e){const t={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null})]},n=e.UNDERSCORE_TITLE_MODE,r={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},i= +// classes and objects +"namespace class interface use extends function return abstract final public protected private static deprecated throw try catch Exception echo empty isset instanceof unset let var new const self require if else elseif switch case default do while loop for continue break likely unlikely __LINE__ __FILE__ __DIR__ __FUNCTION__ __CLASS__ __TRAIT__ __METHOD__ __NAMESPACE__ array boolean float double integer object resource string char long unsigned bool int uint ulong uchar true false null undefined";return{name:"Zephir",aliases:["zep"],keywords:i,contains:[e.C_LINE_COMMENT_MODE,e.COMMENT(/\/\*/,/\*\//,{contains:[{className:"doctag",begin:/@[A-Za-z]+/}]}),{className:"string",begin:/<<<['"]?\w+['"]?$/,end:/^\w+;/,contains:[e.BACKSLASH_ESCAPE]},{ +// swallow composed identifiers to avoid parsing them as keywords +begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",beginKeywords:"function fn",end:/[;{]/,excludeEnd:!0,illegal:/\$|\[|%/,contains:[n,{className:"params",begin:/\(/,end:/\)/,keywords:i,contains:["self",e.C_BLOCK_COMMENT_MODE,t,r]}]},{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,illegal:/[:($"]/,contains:[{beginKeywords:"extends implements"},n]},{beginKeywords:"namespace",end:/;/,illegal:/[.']/,contains:[n]},{beginKeywords:"use",end:/;/,contains:[n]},{begin:/=>/},t,r]}}}function xg(){if(Gu)return Uu;Gu=1;var e=Wu();return e.registerLanguage("1c",Qu()),e.registerLanguage("abnf",Ku()),e.registerLanguage("accesslog",Xu()),e.registerLanguage("actionscript",Zu()),e.registerLanguage("ada",Ju()),e.registerLanguage("angelscript",ed()),e.registerLanguage("apache",td()),e.registerLanguage("applescript",nd()),e.registerLanguage("arcade",rd()),e.registerLanguage("arduino",id()),e.registerLanguage("armasm",ad()),e.registerLanguage("xml",od()),e.registerLanguage("asciidoc",sd()),e.registerLanguage("aspectj",ld()),e.registerLanguage("autohotkey",cd()),e.registerLanguage("autoit",ud()),e.registerLanguage("avrasm",dd()),e.registerLanguage("awk",hd()),e.registerLanguage("axapta",pd()),e.registerLanguage("bash",gd()),e.registerLanguage("basic",md()),e.registerLanguage("bnf",_d()),e.registerLanguage("brainfuck",bd()),e.registerLanguage("c",fd()),e.registerLanguage("cal",yd()),e.registerLanguage("capnproto",vd()),e.registerLanguage("ceylon",Ed()),e.registerLanguage("clean",Sd()),e.registerLanguage("clojure",Td()),e.registerLanguage("clojure-repl",Cd()),e.registerLanguage("cmake",xd()),e.registerLanguage("coffeescript",kd()),e.registerLanguage("coq",Ad()),e.registerLanguage("cos",wd()),e.registerLanguage("cpp",Nd()),e.registerLanguage("crmsh",Od()),e.registerLanguage("crystal",Rd()),e.registerLanguage("csharp",Id()),e.registerLanguage("csp",Dd()),e.registerLanguage("css",Md()),e.registerLanguage("d",Ld()),e.registerLanguage("markdown",Pd()),e.registerLanguage("dart",jd()),e.registerLanguage("delphi",Fd()),e.registerLanguage("diff",Bd()),e.registerLanguage("django",Ud()),e.registerLanguage("dns",Gd()),e.registerLanguage("dockerfile",zd()),e.registerLanguage("dos",$d()),e.registerLanguage("dsconfig",Yd()),e.registerLanguage("dts",qd()),e.registerLanguage("dust",Hd()),e.registerLanguage("ebnf",Vd()),e.registerLanguage("elixir",Wd()),e.registerLanguage("elm",Qd()),e.registerLanguage("ruby",Kd()),e.registerLanguage("erb",Xd()),e.registerLanguage("erlang-repl",Zd()),e.registerLanguage("erlang",Jd()),e.registerLanguage("excel",eh()),e.registerLanguage("fix",th()),e.registerLanguage("flix",nh()),e.registerLanguage("fortran",rh()),e.registerLanguage("fsharp",ih()),e.registerLanguage("gams",ah()),e.registerLanguage("gauss",oh()),e.registerLanguage("gcode",sh()),e.registerLanguage("gherkin",lh()),e.registerLanguage("glsl",ch()),e.registerLanguage("gml",uh()),e.registerLanguage("go",dh()),e.registerLanguage("golo",hh()),e.registerLanguage("gradle",ph()),e.registerLanguage("graphql",gh()),e.registerLanguage("groovy",mh()),e.registerLanguage("haml",_h()),e.registerLanguage("handlebars",bh()),e.registerLanguage("haskell",fh()),e.registerLanguage("haxe",yh()),e.registerLanguage("hsp",vh()),e.registerLanguage("http",Eh()),e.registerLanguage("hy",Sh()),e.registerLanguage("inform7",Th()),e.registerLanguage("ini",Ch()),e.registerLanguage("irpf90",xh()),e.registerLanguage("isbl",kh()),e.registerLanguage("java",Ah()),e.registerLanguage("javascript",wh()),e.registerLanguage("jboss-cli",Nh()),e.registerLanguage("json",Oh()),e.registerLanguage("julia",Rh()),e.registerLanguage("julia-repl",Ih()),e.registerLanguage("kotlin",Dh()),e.registerLanguage("lasso",Mh()),e.registerLanguage("latex",Lh()),e.registerLanguage("ldif",Ph()),e.registerLanguage("leaf",jh()),e.registerLanguage("less",Fh()),e.registerLanguage("lisp",Bh()),e.registerLanguage("livecodeserver",Uh()),e.registerLanguage("livescript",Gh()),e.registerLanguage("llvm",zh()),e.registerLanguage("lsl",$h()),e.registerLanguage("lua",Yh()),e.registerLanguage("makefile",qh()),e.registerLanguage("mathematica",Hh()),e.registerLanguage("matlab",Vh()),e.registerLanguage("maxima",Wh()),e.registerLanguage("mel",Qh()),e.registerLanguage("mercury",Kh()),e.registerLanguage("mipsasm",Xh()),e.registerLanguage("mizar",Zh()),e.registerLanguage("perl",Jh()),e.registerLanguage("mojolicious",ep()),e.registerLanguage("monkey",tp()),e.registerLanguage("moonscript",np()),e.registerLanguage("n1ql",rp()),e.registerLanguage("nestedtext",ip()),e.registerLanguage("nginx",ap()),e.registerLanguage("nim",op()),e.registerLanguage("nix",sp()),e.registerLanguage("node-repl",lp()),e.registerLanguage("nsis",cp()),e.registerLanguage("objectivec",up()),e.registerLanguage("ocaml",dp()),e.registerLanguage("openscad",hp()),e.registerLanguage("oxygene",pp()),e.registerLanguage("parser3",gp()),e.registerLanguage("pf",mp()),e.registerLanguage("pgsql",_p()),e.registerLanguage("php",bp()),e.registerLanguage("php-template",fp()),e.registerLanguage("plaintext",yp()),e.registerLanguage("pony",vp()),e.registerLanguage("powershell",Ep()),e.registerLanguage("processing",Sp()),e.registerLanguage("profile",Tp()),e.registerLanguage("prolog",Cp()),e.registerLanguage("properties",xp()),e.registerLanguage("protobuf",kp()),e.registerLanguage("puppet",Ap()),e.registerLanguage("purebasic",wp()),e.registerLanguage("python",Np()),e.registerLanguage("python-repl",Op()),e.registerLanguage("q",Rp()),e.registerLanguage("qml",Ip()),e.registerLanguage("r",Dp()),e.registerLanguage("reasonml",Mp()),e.registerLanguage("rib",Lp()),e.registerLanguage("roboconf",Pp()),e.registerLanguage("routeros",jp()),e.registerLanguage("rsl",Fp()),e.registerLanguage("ruleslanguage",Bp()),e.registerLanguage("rust",Up()),e.registerLanguage("sas",Gp()),e.registerLanguage("scala",zp()),e.registerLanguage("scheme",$p()),e.registerLanguage("scilab",Yp()),e.registerLanguage("scss",qp()),e.registerLanguage("shell",Hp()),e.registerLanguage("smali",Vp()),e.registerLanguage("smalltalk",Wp()),e.registerLanguage("sml",Qp()),e.registerLanguage("sqf",Kp()),e.registerLanguage("sql",Xp()),e.registerLanguage("stan",Zp()),e.registerLanguage("stata",Jp()),e.registerLanguage("step21",eg()),e.registerLanguage("stylus",tg()),e.registerLanguage("subunit",ng()),e.registerLanguage("swift",rg()),e.registerLanguage("taggerscript",ig()),e.registerLanguage("yaml",ag()),e.registerLanguage("tap",og()),e.registerLanguage("tcl",sg()),e.registerLanguage("thrift",lg()),e.registerLanguage("tp",cg()),e.registerLanguage("twig",ug()),e.registerLanguage("typescript",dg()),e.registerLanguage("vala",hg()),e.registerLanguage("vbnet",pg()),e.registerLanguage("vbscript",gg()),e.registerLanguage("vbscript-html",mg()),e.registerLanguage("verilog",_g()),e.registerLanguage("vhdl",bg()),e.registerLanguage("vim",fg()),e.registerLanguage("wasm",yg()),e.registerLanguage("wren",vg()),e.registerLanguage("x86asm",Eg()),e.registerLanguage("xl",Sg()),e.registerLanguage("xquery",Tg()),e.registerLanguage("zephir",Cg()),e.HighlightJS=e,e.default=e,Uu=e}function kg(){if($u)return zu;$u=1;var e,t=Object.defineProperty,n=Object.defineProperties,r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertyNames,o=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,c=(e,n,r)=>n in e?t(e,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[n]=r,u=(e,t)=>{for(var n in t||(t={}))s.call(t,n)&&c(e,n,t[n]);if(o)for(var n of o(t))l.call(t,n)&&c(e,n,t[n]);return e},d={};function h(e,t,n,r,i){try{return t.highlight(r,{language:""!==i?i:"plaintext",ignoreIllegals:n}).value}catch(fR){return e.utils.escapeHtml(r)}}function p(e,t,n,r,i){if(""!==i)return h(e,t,n,r,i);try{return t.highlightAuto(r).value}catch(fR){return e.utils.escapeHtml(r)}}function g(e){return function(...t){return e(...t).replace(/<code class="/g,'<code class="hljs ').replace(/<code>/g,'<code class="hljs">')}}function m(e){var t,r,a;for(const o of e.tokens)if("inline"===o.type&&null!=o.children)for(const[s,l]of o.children.entries()){if("code_inline"!==l.type)continue;const c=o.children[s+1];if(null==c)continue;const d=/^{:?\.([^}]+)}/.exec(c.content);if(null==d)continue;const h=d[1];c.content=c.content.slice(d[0].length);let p=null!=(t=l.attrGet("class"))?t:"";p+=`${null!=(r=e.md.options.langPrefix)?r:"language-"}${h}`,l.attrSet("class",p),l.meta=(a=u({},l.meta),n(a,i({highlightLanguage:h})))}}function _(e,t,n,r,i){var a,o;const s=e[t];if(null==n.highlight)throw new Error("`options.highlight` was null, this is not supposed to happen");const l=n.highlight(s.content,null!=(o=null==(a=s.meta)?void 0:a.highlightLanguage)?o:"","");return`<code${i.renderAttrs(s)}>${l}</code>`}function b(e,t){const n=u(u({},b.defaults),t);if(null==n.hljs)throw new Error("Please pass a highlight.js instance for the required `hljs` option.");null!=n.register&&function(e,t){for(const[n,r]of Object.entries(t))e.registerLanguage(n,r)}(n.hljs,n.register),e.options.highlight=(n.auto?p:h).bind(null,e,n.hljs,n.ignoreIllegals),null!=e.renderer.rules.fence&&(e.renderer.rules.fence=g(e.renderer.rules.fence)),n.code&&null!=e.renderer.rules.code_block&&(e.renderer.rules.code_block=g(e.renderer.rules.code_block)),n.inline&&(e.core.ruler.before("linkify","inline_code_language",m),e.renderer.rules.code_inline=g(_))}return((e,n)=>{for(var r in n)t(e,r,{get:n[r],enumerable:!0})})(d,{default:()=>b}),e=d,zu=((e,n,i,o)=>{if("object"==typeof n||"function"==typeof n)for(let l of a(n))s.call(e,l)||l===i||t(e,l,{get:()=>n[l],enumerable:!(o=r(n,l))||o.enumerable});return e})(t({},"__esModule",{value:!0}),e),b.defaults={auto:!1,code:!1,inline:!1,ignoreIllegals:!1},zu}const Ag=d(Vu?Hu:(Vu=1,Hu=function(){if(qu)return Yu;qu=1;var e,t=Object.create,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.getOwnPropertySymbols,o=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,c=(e,t,r)=>t in e?n(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,u=(e,t)=>{for(var n in t||(t={}))s.call(t,n)&&c(e,n,t[n]);if(a)for(var n of a(t))l.call(t,n)&&c(e,n,t[n]);return e},d=(e,t,a,o)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let l of i(t))s.call(e,l)||l===a||n(e,l,{get:()=>t[l],enumerable:!(o=r(t,l))||o.enumerable});return e},h=(e,r,i)=>(i=null!=e?t(o(e)):{},d(e&&e.__esModule?i:n(i,"default",{value:e,enumerable:!0}),e)),p={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(p,{default:()=>_}),e=p,Yu=d(n({},"__esModule",{value:!0}),e);var g=h(xg()),m=h(kg());function _(e,t){return null==(t=u(u({},_.defaults),t)).hljs&&(t.hljs=g.default),(0,m.default)(e,t)}return _.defaults={auto:!0,code:!0,inline:!1,ignoreIllegals:!0},Yu}().default)),wg={svg:"",buttonStyle:""},Ng=(e,t)=>(t={...wg,...t},(...n)=>{const[r,i]=n,a=r[i].content.replaceAll('"',""").replaceAll("'","'"),o=e(...n);return 0===a.length?o:`\n<div class="markdown-it-svg-code-copy">\n ${o}\n <button data-clipboard-text="${a}" class="code-copy-button ${t.buttonClass}" style="${t.buttonStyle}" title="Copy code" onclick="copyCodeToClipboard(this)">\n ${t.svg}\n </button>\n</div>\n`});const Og=d(xg());function Rg(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=Array.from("string"==typeof e?[e]:e);r[r.length-1]=r[r.length-1].replace(/\r?\n([\t ]*)$/,"");var i=r.reduce((function(e,t){var n=t.match(/\n([\t ]+|(?!\s).)/g);return n?e.concat(n.map((function(e){var t,n;return null!==(n=null===(t=e.match(/[\t ]/g))||void 0===t?void 0:t.length)&&void 0!==n?n:0}))):e}),[]);if(i.length){var a=new RegExp("\n[\t ]{"+Math.min.apply(Math,i)+"}","g");r=r.map((function(e){return e.replace(a,"\n")}))}r[0]=r[0].replace(/^\r?\n/,"");var o=r[0];return t.forEach((function(e,t){var n=o.match(/(?:^|\n)( *)$/),i=n?n[1]:"",a=e;"string"==typeof e&&e.includes("\n")&&(a=String(e).split("\n").map((function(e,t){return 0===t?e:""+i+e})).join("\n")),o+=a+r[t+1]})),o}Og.registerLanguage("vue",(e=>({name:"vue",subLanguage:"xml",contains:[e.COMMENT("\x3c!--","--\x3e",{relevance:10}),{begin:/^(\s*)(<script>)/gm,end:/^(\s*)(<\/script>)/gm,subLanguage:"javascript",excludeBegin:!0,excludeEnd:!0},{begin:/^(\s*)(<script lang=["']ts["']>)/gm,end:/^(\s*)(<\/script>)/gm,subLanguage:"typescript",excludeBegin:!0,excludeEnd:!0},{begin:/^(\s*)(<style(\sscoped)?>)/gm,end:/^(\s*)(<\/style>)/gm,subLanguage:"css",excludeBegin:!0,excludeEnd:!0},{begin:/^(\s*)(<style lang=["'](scss|sass)["'](\sscoped)?>)/gm,end:/^(\s*)(<\/style>)/gm,subLanguage:"scss",excludeBegin:!0,excludeEnd:!0},{begin:/^(\s*)(<style lang=["']stylus["'](\sscoped)?>)/gm,end:/^(\s*)(<\/style>)/gm,subLanguage:"stylus",excludeBegin:!0,excludeEnd:!0}]})));var Ig,Dg={exports:{}};var Mg=(Ig||(Ig=1,Dg.exports=function(){var e=1e3,t=6e4,n=36e5,r="millisecond",i="second",a="minute",o="hour",s="day",l="week",c="month",u="quarter",d="year",h="date",p="Invalid Date",g=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,_={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}},b=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},f={s:b,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?"+":"-")+b(r,2,"0")+":"+b(i,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,c),a=n-i<0,o=t.clone().add(r+(a?-1:1),c);return+(-(r+(n-i)/(a?i-o:o-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:c,y:d,w:l,d:s,D:h,h:o,m:a,s:i,ms:r,Q:u}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},y="en",v={};v[y]=_;var E="$isDayjsObject",S=function(e){return e instanceof k||!(!e||!e[E])},T=function e(t,n,r){var i;if(!t)return y;if("string"==typeof t){var a=t.toLowerCase();v[a]&&(i=a),n&&(v[a]=n,i=a);var o=t.split("-");if(!i&&o.length>1)return e(o[0])}else{var s=t.name;v[s]=t,i=s}return!r&&i&&(y=i),i||!r&&y},C=function(e,t){if(S(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new k(n)},x=f;x.l=T,x.i=S,x.w=function(e,t){return C(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var k=function(){function _(e){this.$L=T(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[E]=!0}var b=_.prototype;return b.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(x.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(g);if(r){var i=r[2]-1||0,a=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)}}return new Date(t)}(e),this.init()},b.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},b.$utils=function(){return x},b.isValid=function(){return!(this.$d.toString()===p)},b.isSame=function(e,t){var n=C(e);return this.startOf(t)<=n&&n<=this.endOf(t)},b.isAfter=function(e,t){return C(e)<this.startOf(t)},b.isBefore=function(e,t){return this.endOf(t)<C(e)},b.$g=function(e,t,n){return x.u(e)?this[t]:this.set(n,e)},b.unix=function(){return Math.floor(this.valueOf()/1e3)},b.valueOf=function(){return this.$d.getTime()},b.startOf=function(e,t){var n=this,r=!!x.u(t)||t,u=x.p(e),p=function(e,t){var i=x.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?i:i.endOf(s)},g=function(e,t){return x.w(n.toDate()[e].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},m=this.$W,_=this.$M,b=this.$D,f="set"+(this.$u?"UTC":"");switch(u){case d:return r?p(1,0):p(31,11);case c:return r?p(1,_):p(0,_+1);case l:var y=this.$locale().weekStart||0,v=(m<y?m+7:m)-y;return p(r?b-v:b+(6-v),_);case s:case h:return g(f+"Hours",0);case o:return g(f+"Minutes",1);case a:return g(f+"Seconds",2);case i:return g(f+"Milliseconds",3);default:return this.clone()}},b.endOf=function(e){return this.startOf(e,!1)},b.$set=function(e,t){var n,l=x.p(e),u="set"+(this.$u?"UTC":""),p=(n={},n[s]=u+"Date",n[h]=u+"Date",n[c]=u+"Month",n[d]=u+"FullYear",n[o]=u+"Hours",n[a]=u+"Minutes",n[i]=u+"Seconds",n[r]=u+"Milliseconds",n)[l],g=l===s?this.$D+(t-this.$W):t;if(l===c||l===d){var m=this.clone().set(h,1);m.$d[p](g),m.init(),this.$d=m.set(h,Math.min(this.$D,m.daysInMonth())).$d}else p&&this.$d[p](g);return this.init(),this},b.set=function(e,t){return this.clone().$set(e,t)},b.get=function(e){return this[x.p(e)]()},b.add=function(r,u){var h,p=this;r=Number(r);var g=x.p(u),m=function(e){var t=C(p);return x.w(t.date(t.date()+Math.round(e*r)),p)};if(g===c)return this.set(c,this.$M+r);if(g===d)return this.set(d,this.$y+r);if(g===s)return m(1);if(g===l)return m(7);var _=(h={},h[a]=t,h[o]=n,h[i]=e,h)[g]||1,b=this.$d.getTime()+r*_;return x.w(b,this)},b.subtract=function(e,t){return this.add(-1*e,t)},b.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||p;var r=e||"YYYY-MM-DDTHH:mm:ssZ",i=x.z(this),a=this.$H,o=this.$m,s=this.$M,l=n.weekdays,c=n.months,u=n.meridiem,d=function(e,n,i,a){return e&&(e[n]||e(t,r))||i[n].slice(0,a)},h=function(e){return x.s(a%12||12,e,"0")},g=u||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(m,(function(e,r){return r||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return x.s(t.$y,4,"0");case"M":return s+1;case"MM":return x.s(s+1,2,"0");case"MMM":return d(n.monthsShort,s,c,3);case"MMMM":return d(c,s);case"D":return t.$D;case"DD":return x.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return d(n.weekdaysMin,t.$W,l,2);case"ddd":return d(n.weekdaysShort,t.$W,l,3);case"dddd":return l[t.$W];case"H":return String(a);case"HH":return x.s(a,2,"0");case"h":return h(1);case"hh":return h(2);case"a":return g(a,o,!0);case"A":return g(a,o,!1);case"m":return String(o);case"mm":return x.s(o,2,"0");case"s":return String(t.$s);case"ss":return x.s(t.$s,2,"0");case"SSS":return x.s(t.$ms,3,"0");case"Z":return i}return null}(e)||i.replace(":","")}))},b.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},b.diff=function(r,h,p){var g,m=this,_=x.p(h),b=C(r),f=(b.utcOffset()-this.utcOffset())*t,y=this-b,v=function(){return x.m(m,b)};switch(_){case d:g=v()/12;break;case c:g=v();break;case u:g=v()/3;break;case l:g=(y-f)/6048e5;break;case s:g=(y-f)/864e5;break;case o:g=y/n;break;case a:g=y/t;break;case i:g=y/e;break;default:g=y}return p?g:x.a(g)},b.daysInMonth=function(){return this.endOf(c).$D},b.$locale=function(){return v[this.$L]},b.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=T(e,t,!0);return r&&(n.$L=r),n},b.clone=function(){return x.w(this.$d,this)},b.toDate=function(){return new Date(this.valueOf())},b.toJSON=function(){return this.isValid()?this.toISOString():null},b.toISOString=function(){return this.$d.toISOString()},b.toString=function(){return this.$d.toUTCString()},_}(),A=k.prototype;return C.prototype=A,[["$ms",r],["$s",i],["$m",a],["$H",o],["$W",s],["$M",c],["$y",d],["$D",h]].forEach((function(e){A[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),C.extend=function(e,t){return e.$i||(e(t,k,C),e.$i=!0),C},C.locale=T,C.isDayjs=S,C.unix=function(e){return C(1e3*e)},C.en=v[y],C.Ls=v,C.p={},C}()),Dg.exports);const Lg=d(Mg);var Pg,jg={};var Fg=(Pg||(Pg=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.sanitizeUrl=e.BLANK_URL=void 0;var t=/^([^\w]*)(javascript|data|vbscript)/im,n=/&#(\w+)(^\w|;)?/g,r=/&(newline|tab);/gi,i=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,a=/^.+(:|:)/gim,o=[".","/"];e.BLANK_URL="about:blank",e.sanitizeUrl=function(s){if(!s)return e.BLANK_URL;var l,c=(l=s,l.replace(i,"").replace(n,(function(e,t){return String.fromCharCode(t)}))).replace(r,"").replace(i,"").trim();if(!c)return e.BLANK_URL;if(function(e){return o.indexOf(e[0])>-1}(c))return c;var u=c.match(a);if(!u)return c;var d=u[0];return t.test(d)?e.BLANK_URL:c}}(jg)),jg);function Bg(e,t){return null==e||null==t?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function Ug(e,t){return null==e||null==t?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function Gg(e){let t,n,r;function i(e,r,i=0,a=e.length){if(i<a){if(0!==t(r,r))return a;do{const t=i+a>>>1;n(e[t],r)<0?i=t+1:a=t}while(i<a)}return i}return 2!==e.length?(t=Bg,n=(t,n)=>Bg(e(t),n),r=(t,n)=>e(t)-n):(t=e===Bg||e===Ug?e:zg,n=e,r=e),{left:i,center:function(e,t,n=0,a=e.length){const o=i(e,t,n,a-1);return o>n&&r(e[o-1],t)>-r(e[o],t)?o-1:o},right:function(e,r,i=0,a=e.length){if(i<a){if(0!==t(r,r))return a;do{const t=i+a>>>1;n(e[t],r)<=0?i=t+1:a=t}while(i<a)}return i}}}function zg(){return 0}const $g=Gg(Bg).right;Gg((function(e){return null===e?NaN:+e})).center;class Yg extends Map{constructor(e,t=Hg){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),null!=e)for(const[n,r]of e)this.set(n,r)}get(e){return super.get(qg(this,e))}has(e){return super.has(qg(this,e))}set(e,t){return super.set(function({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}(this,e),t)}delete(e){return super.delete(function({_intern:e,_key:t},n){const r=t(n);e.has(r)&&(n=e.get(r),e.delete(r));return n}(this,e))}}function qg({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):n}function Hg(e){return null!==e&&"object"==typeof e?e.valueOf():e}const Vg=Math.sqrt(50),Wg=Math.sqrt(10),Qg=Math.sqrt(2);function Kg(e,t,n){const r=(t-e)/Math.max(0,n),i=Math.floor(Math.log10(r)),a=r/Math.pow(10,i),o=a>=Vg?10:a>=Wg?5:a>=Qg?2:1;let s,l,c;return i<0?(c=Math.pow(10,-i)/o,s=Math.round(e*c),l=Math.round(t*c),s/c<e&&++s,l/c>t&&--l,c=-c):(c=Math.pow(10,i)*o,s=Math.round(e/c),l=Math.round(t/c),s*c<e&&++s,l*c>t&&--l),l<s&&.5<=n&&n<2?Kg(e,t,2*n):[s,l,c]}function Xg(e,t,n){return Kg(e=+e,t=+t,n=+n)[2]}function Zg(e,t,n){n=+n;const r=(t=+t)<(e=+e),i=r?Xg(t,e,n):Xg(e,t,n);return(r?-1:1)*(i<0?1/-i:i)}function Jg(e,t){let n;if(void 0===t)for(const r of e)null!=r&&(n<r||void 0===n&&r>=r)&&(n=r);else{let r=-1;for(let i of e)null!=(i=t(i,++r,e))&&(n<i||void 0===n&&i>=i)&&(n=i)}return n}function em(e,t){let n;if(void 0===t)for(const r of e)null!=r&&(n>r||void 0===n&&r>=r)&&(n=r);else{let r=-1;for(let i of e)null!=(i=t(i,++r,e))&&(n>i||void 0===n&&i>=i)&&(n=i)}return n}function tm(e){return e}var nm=1e-6;function rm(e){return"translate("+e+",0)"}function im(e){return"translate(0,"+e+")"}function am(e){return t=>+e(t)}function om(e,t){return t=Math.max(0,e.bandwidth()-2*t)/2,e.round()&&(t=Math.round(t)),n=>+e(n)+t}function sm(){return!this.__axis}function lm(e,t){var n=[],r=null,i=null,a=6,o=6,s=3,l="undefined"!=typeof window&&window.devicePixelRatio>1?0:.5,c=1===e||4===e?-1:1,u=4===e||2===e?"x":"y",d=1===e||3===e?rm:im;function h(h){var p=null==r?t.ticks?t.ticks.apply(t,n):t.domain():r,g=null==i?t.tickFormat?t.tickFormat.apply(t,n):tm:i,m=Math.max(a,0)+s,_=t.range(),b=+_[0]+l,f=+_[_.length-1]+l,y=(t.bandwidth?om:am)(t.copy(),l),v=h.selection?h.selection():h,E=v.selectAll(".domain").data([null]),S=v.selectAll(".tick").data(p,t).order(),T=S.exit(),C=S.enter().append("g").attr("class","tick"),x=S.select("line"),k=S.select("text");E=E.merge(E.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),S=S.merge(C),x=x.merge(C.append("line").attr("stroke","currentColor").attr(u+"2",c*a)),k=k.merge(C.append("text").attr("fill","currentColor").attr(u,c*m).attr("dy",1===e?"0em":3===e?"0.71em":"0.32em")),h!==v&&(E=E.transition(h),S=S.transition(h),x=x.transition(h),k=k.transition(h),T=T.transition(h).attr("opacity",nm).attr("transform",(function(e){return isFinite(e=y(e))?d(e+l):this.getAttribute("transform")})),C.attr("opacity",nm).attr("transform",(function(e){var t=this.parentNode.__axis;return d((t&&isFinite(t=t(e))?t:y(e))+l)}))),T.remove(),E.attr("d",4===e||2===e?o?"M"+c*o+","+b+"H"+l+"V"+f+"H"+c*o:"M"+l+","+b+"V"+f:o?"M"+b+","+c*o+"V"+l+"H"+f+"V"+c*o:"M"+b+","+l+"H"+f),S.attr("opacity",1).attr("transform",(function(e){return d(y(e)+l)})),x.attr(u+"2",c*a),k.attr(u,c*m).text(g),v.filter(sm).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",2===e?"start":4===e?"end":"middle"),v.each((function(){this.__axis=y}))}return h.scale=function(e){return arguments.length?(t=e,h):t},h.ticks=function(){return n=Array.from(arguments),h},h.tickArguments=function(e){return arguments.length?(n=null==e?[]:Array.from(e),h):n.slice()},h.tickValues=function(e){return arguments.length?(r=null==e?null:Array.from(e),h):r&&r.slice()},h.tickFormat=function(e){return arguments.length?(i=e,h):i},h.tickSize=function(e){return arguments.length?(a=o=+e,h):a},h.tickSizeInner=function(e){return arguments.length?(a=+e,h):a},h.tickSizeOuter=function(e){return arguments.length?(o=+e,h):o},h.tickPadding=function(e){return arguments.length?(s=+e,h):s},h.offset=function(e){return arguments.length?(l=+e,h):l},h}var cm={value:()=>{}};function um(){for(var e,t=0,n=arguments.length,r={};t<n;++t){if(!(e=arguments[t]+"")||e in r||/[\s.]/.test(e))throw new Error("illegal type: "+e);r[e]=[]}return new dm(r)}function dm(e){this._=e}function hm(e,t){for(var n,r=0,i=e.length;r<i;++r)if((n=e[r]).name===t)return n.value}function pm(e,t,n){for(var r=0,i=e.length;r<i;++r)if(e[r].name===t){e[r]=cm,e=e.slice(0,r).concat(e.slice(r+1));break}return null!=n&&e.push({name:t,value:n}),e}dm.prototype=um.prototype={constructor:dm,on:function(e,t){var n,r,i=this._,a=(r=i,(e+"").trim().split(/^|\s+/).map((function(e){var t="",n=e.indexOf(".");if(n>=0&&(t=e.slice(n+1),e=e.slice(0,n)),e&&!r.hasOwnProperty(e))throw new Error("unknown type: "+e);return{type:e,name:t}}))),o=-1,s=a.length;if(!(arguments.length<2)){if(null!=t&&"function"!=typeof t)throw new Error("invalid callback: "+t);for(;++o<s;)if(n=(e=a[o]).type)i[n]=pm(i[n],e.name,t);else if(null==t)for(n in i)i[n]=pm(i[n],e.name,null);return this}for(;++o<s;)if((n=(e=a[o]).type)&&(n=hm(i[n],e.name)))return n},copy:function(){var e={},t=this._;for(var n in t)e[n]=t[n].slice();return new dm(e)},call:function(e,t){if((n=arguments.length-2)>0)for(var n,r,i=new Array(n),a=0;a<n;++a)i[a]=arguments[a+2];if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(a=0,n=(r=this._[e]).length;a<n;++a)r[a].value.apply(t,i)},apply:function(e,t,n){if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(var r=this._[e],i=0,a=r.length;i<a;++i)r[i].value.apply(t,n)}};var gm="http://www.w3.org/1999/xhtml";const mm={svg:"http://www.w3.org/2000/svg",xhtml:gm,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function _m(e){var t=e+="",n=t.indexOf(":");return n>=0&&"xmlns"!==(t=e.slice(0,n))&&(e=e.slice(n+1)),mm.hasOwnProperty(t)?{space:mm[t],local:e}:e}function bm(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===gm&&t.documentElement.namespaceURI===gm?t.createElement(e):t.createElementNS(n,e)}}function fm(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function ym(e){var t=_m(e);return(t.local?fm:bm)(t)}function vm(){}function Em(e){return null==e?vm:function(){return this.querySelector(e)}}function Sm(e){return null==e?[]:Array.isArray(e)?e:Array.from(e)}function Tm(){return[]}function Cm(e){return null==e?Tm:function(){return this.querySelectorAll(e)}}function xm(e){return function(){return this.matches(e)}}function km(e){return function(t){return t.matches(e)}}var Am=Array.prototype.find;function wm(){return this.firstElementChild}var Nm=Array.prototype.filter;function Om(){return Array.from(this.children)}function Rm(e){return new Array(e.length)}function Im(e,t){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=t}function Dm(e,t,n,r,i,a){for(var o,s=0,l=t.length,c=a.length;s<c;++s)(o=t[s])?(o.__data__=a[s],r[s]=o):n[s]=new Im(e,a[s]);for(;s<l;++s)(o=t[s])&&(i[s]=o)}function Mm(e,t,n,r,i,a,o){var s,l,c,u=new Map,d=t.length,h=a.length,p=new Array(d);for(s=0;s<d;++s)(l=t[s])&&(p[s]=c=o.call(l,l.__data__,s,t)+"",u.has(c)?i[s]=l:u.set(c,l));for(s=0;s<h;++s)c=o.call(e,a[s],s,a)+"",(l=u.get(c))?(r[s]=l,l.__data__=a[s],u.delete(c)):n[s]=new Im(e,a[s]);for(s=0;s<d;++s)(l=t[s])&&u.get(p[s])===l&&(i[s]=l)}function Lm(e){return e.__data__}function Pm(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}function jm(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function Fm(e){return function(){this.removeAttribute(e)}}function Bm(e){return function(){this.removeAttributeNS(e.space,e.local)}}function Um(e,t){return function(){this.setAttribute(e,t)}}function Gm(e,t){return function(){this.setAttributeNS(e.space,e.local,t)}}function zm(e,t){return function(){var n=t.apply(this,arguments);null==n?this.removeAttribute(e):this.setAttribute(e,n)}}function $m(e,t){return function(){var n=t.apply(this,arguments);null==n?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,n)}}function Ym(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}function qm(e){return function(){this.style.removeProperty(e)}}function Hm(e,t,n){return function(){this.style.setProperty(e,t,n)}}function Vm(e,t,n){return function(){var r=t.apply(this,arguments);null==r?this.style.removeProperty(e):this.style.setProperty(e,r,n)}}function Wm(e,t){return e.style.getPropertyValue(t)||Ym(e).getComputedStyle(e,null).getPropertyValue(t)}function Qm(e){return function(){delete this[e]}}function Km(e,t){return function(){this[e]=t}}function Xm(e,t){return function(){var n=t.apply(this,arguments);null==n?delete this[e]:this[e]=n}}function Zm(e){return e.trim().split(/^|\s+/)}function Jm(e){return e.classList||new e_(e)}function e_(e){this._node=e,this._names=Zm(e.getAttribute("class")||"")}function t_(e,t){for(var n=Jm(e),r=-1,i=t.length;++r<i;)n.add(t[r])}function n_(e,t){for(var n=Jm(e),r=-1,i=t.length;++r<i;)n.remove(t[r])}function r_(e){return function(){t_(this,e)}}function i_(e){return function(){n_(this,e)}}function a_(e,t){return function(){(t.apply(this,arguments)?t_:n_)(this,e)}}function o_(){this.textContent=""}function s_(e){return function(){this.textContent=e}}function l_(e){return function(){var t=e.apply(this,arguments);this.textContent=null==t?"":t}}function c_(){this.innerHTML=""}function u_(e){return function(){this.innerHTML=e}}function d_(e){return function(){var t=e.apply(this,arguments);this.innerHTML=null==t?"":t}}function h_(){this.nextSibling&&this.parentNode.appendChild(this)}function p_(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function g_(){return null}function m_(){var e=this.parentNode;e&&e.removeChild(this)}function __(){var e=this.cloneNode(!1),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function b_(){var e=this.cloneNode(!0),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function f_(e){return function(){var t=this.__on;if(t){for(var n,r=0,i=-1,a=t.length;r<a;++r)n=t[r],e.type&&n.type!==e.type||n.name!==e.name?t[++i]=n:this.removeEventListener(n.type,n.listener,n.options);++i?t.length=i:delete this.__on}}}function y_(e,t,n){return function(){var r,i=this.__on,a=function(e){return function(t){e.call(this,t,this.__data__)}}(t);if(i)for(var o=0,s=i.length;o<s;++o)if((r=i[o]).type===e.type&&r.name===e.name)return this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=a,r.options=n),void(r.value=t);this.addEventListener(e.type,a,n),r={type:e.type,name:e.name,value:t,listener:a,options:n},i?i.push(r):this.__on=[r]}}function v_(e,t,n){var r=Ym(e),i=r.CustomEvent;"function"==typeof i?i=new i(t,n):(i=r.document.createEvent("Event"),n?(i.initEvent(t,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(t,!1,!1)),e.dispatchEvent(i)}function E_(e,t){return function(){return v_(this,e,t)}}function S_(e,t){return function(){return v_(this,e,t.apply(this,arguments))}}Im.prototype={constructor:Im,appendChild:function(e){return this._parent.insertBefore(e,this._next)},insertBefore:function(e,t){return this._parent.insertBefore(e,t)},querySelector:function(e){return this._parent.querySelector(e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}},e_.prototype={add:function(e){this._names.indexOf(e)<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};var T_=[null];function C_(e,t){this._groups=e,this._parents=t}function x_(){return new C_([[document.documentElement]],T_)}function k_(e){return"string"==typeof e?new C_([[document.querySelector(e)]],[document.documentElement]):new C_([[e]],T_)}function A_(e){return"string"==typeof e?new C_([document.querySelectorAll(e)],[document.documentElement]):new C_([Sm(e)],T_)}function w_(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function N_(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function O_(){}C_.prototype=x_.prototype={constructor:C_,select:function(e){"function"!=typeof e&&(e=Em(e));for(var t=this._groups,n=t.length,r=new Array(n),i=0;i<n;++i)for(var a,o,s=t[i],l=s.length,c=r[i]=new Array(l),u=0;u<l;++u)(a=s[u])&&(o=e.call(a,a.__data__,u,s))&&("__data__"in a&&(o.__data__=a.__data__),c[u]=o);return new C_(r,this._parents)},selectAll:function(e){e="function"==typeof e?function(e){return function(){return Sm(e.apply(this,arguments))}}(e):Cm(e);for(var t=this._groups,n=t.length,r=[],i=[],a=0;a<n;++a)for(var o,s=t[a],l=s.length,c=0;c<l;++c)(o=s[c])&&(r.push(e.call(o,o.__data__,c,s)),i.push(o));return new C_(r,i)},selectChild:function(e){return this.select(null==e?wm:function(e){return function(){return Am.call(this.children,e)}}("function"==typeof e?e:km(e)))},selectChildren:function(e){return this.selectAll(null==e?Om:function(e){return function(){return Nm.call(this.children,e)}}("function"==typeof e?e:km(e)))},filter:function(e){"function"!=typeof e&&(e=xm(e));for(var t=this._groups,n=t.length,r=new Array(n),i=0;i<n;++i)for(var a,o=t[i],s=o.length,l=r[i]=[],c=0;c<s;++c)(a=o[c])&&e.call(a,a.__data__,c,o)&&l.push(a);return new C_(r,this._parents)},data:function(e,t){if(!arguments.length)return Array.from(this,Lm);var n,r=t?Mm:Dm,i=this._parents,a=this._groups;"function"!=typeof e&&(n=e,e=function(){return n});for(var o=a.length,s=new Array(o),l=new Array(o),c=new Array(o),u=0;u<o;++u){var d=i[u],h=a[u],p=h.length,g=Pm(e.call(d,d&&d.__data__,u,i)),m=g.length,_=l[u]=new Array(m),b=s[u]=new Array(m);r(d,h,_,b,c[u]=new Array(p),g,t);for(var f,y,v=0,E=0;v<m;++v)if(f=_[v]){for(v>=E&&(E=v+1);!(y=b[E])&&++E<m;);f._next=y||null}}return(s=new C_(s,i))._enter=l,s._exit=c,s},enter:function(){return new C_(this._enter||this._groups.map(Rm),this._parents)},exit:function(){return new C_(this._exit||this._groups.map(Rm),this._parents)},join:function(e,t,n){var r=this.enter(),i=this,a=this.exit();return"function"==typeof e?(r=e(r))&&(r=r.selection()):r=r.append(e+""),null!=t&&(i=t(i))&&(i=i.selection()),null==n?a.remove():n(a),r&&i?r.merge(i).order():i},merge:function(e){for(var t=e.selection?e.selection():e,n=this._groups,r=t._groups,i=n.length,a=r.length,o=Math.min(i,a),s=new Array(i),l=0;l<o;++l)for(var c,u=n[l],d=r[l],h=u.length,p=s[l]=new Array(h),g=0;g<h;++g)(c=u[g]||d[g])&&(p[g]=c);for(;l<i;++l)s[l]=n[l];return new C_(s,this._parents)},selection:function(){return this},order:function(){for(var e=this._groups,t=-1,n=e.length;++t<n;)for(var r,i=e[t],a=i.length-1,o=i[a];--a>=0;)(r=i[a])&&(o&&4^r.compareDocumentPosition(o)&&o.parentNode.insertBefore(r,o),o=r);return this},sort:function(e){function t(t,n){return t&&n?e(t.__data__,n.__data__):!t-!n}e||(e=jm);for(var n=this._groups,r=n.length,i=new Array(r),a=0;a<r;++a){for(var o,s=n[a],l=s.length,c=i[a]=new Array(l),u=0;u<l;++u)(o=s[u])&&(c[u]=o);c.sort(t)}return new C_(i,this._parents).order()},call:function(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var r=e[t],i=0,a=r.length;i<a;++i){var o=r[i];if(o)return o}return null},size:function(){let e=0;for(const t of this)++e;return e},empty:function(){return!this.node()},each:function(e){for(var t=this._groups,n=0,r=t.length;n<r;++n)for(var i,a=t[n],o=0,s=a.length;o<s;++o)(i=a[o])&&e.call(i,i.__data__,o,a);return this},attr:function(e,t){var n=_m(e);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((null==t?n.local?Bm:Fm:"function"==typeof t?n.local?$m:zm:n.local?Gm:Um)(n,t))},style:function(e,t,n){return arguments.length>1?this.each((null==t?qm:"function"==typeof t?Vm:Hm)(e,t,null==n?"":n)):Wm(this.node(),e)},property:function(e,t){return arguments.length>1?this.each((null==t?Qm:"function"==typeof t?Xm:Km)(e,t)):this.node()[e]},classed:function(e,t){var n=Zm(e+"");if(arguments.length<2){for(var r=Jm(this.node()),i=-1,a=n.length;++i<a;)if(!r.contains(n[i]))return!1;return!0}return this.each(("function"==typeof t?a_:t?r_:i_)(n,t))},text:function(e){return arguments.length?this.each(null==e?o_:("function"==typeof e?l_:s_)(e)):this.node().textContent},html:function(e){return arguments.length?this.each(null==e?c_:("function"==typeof e?d_:u_)(e)):this.node().innerHTML},raise:function(){return this.each(h_)},lower:function(){return this.each(p_)},append:function(e){var t="function"==typeof e?e:ym(e);return this.select((function(){return this.appendChild(t.apply(this,arguments))}))},insert:function(e,t){var n="function"==typeof e?e:ym(e),r=null==t?g_:"function"==typeof t?t:Em(t);return this.select((function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)}))},remove:function(){return this.each(m_)},clone:function(e){return this.select(e?b_:__)},datum:function(e){return arguments.length?this.property("__data__",e):this.node().__data__},on:function(e,t,n){var r,i,a=function(e){return e.trim().split(/^|\s+/).map((function(e){var t="",n=e.indexOf(".");return n>=0&&(t=e.slice(n+1),e=e.slice(0,n)),{type:e,name:t}}))}(e+""),o=a.length;if(!(arguments.length<2)){for(s=t?y_:f_,r=0;r<o;++r)this.each(s(a[r],t,n));return this}var s=this.node().__on;if(s)for(var l,c=0,u=s.length;c<u;++c)for(r=0,l=s[c];r<o;++r)if((i=a[r]).type===l.type&&i.name===l.name)return l.value},dispatch:function(e,t){return this.each(("function"==typeof t?S_:E_)(e,t))},[Symbol.iterator]:function*(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var r,i=e[t],a=0,o=i.length;a<o;++a)(r=i[a])&&(yield r)}};var R_=.7,I_=1/R_,D_="\\s*([+-]?\\d+)\\s*",M_="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",L_="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",P_=/^#([0-9a-f]{3,8})$/,j_=new RegExp(`^rgb\\(${D_},${D_},${D_}\\)$`),F_=new RegExp(`^rgb\\(${L_},${L_},${L_}\\)$`),B_=new RegExp(`^rgba\\(${D_},${D_},${D_},${M_}\\)$`),U_=new RegExp(`^rgba\\(${L_},${L_},${L_},${M_}\\)$`),G_=new RegExp(`^hsl\\(${M_},${L_},${L_}\\)$`),z_=new RegExp(`^hsla\\(${M_},${L_},${L_},${M_}\\)$`),$_={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};function Y_(){return this.rgb().formatHex()}function q_(){return this.rgb().formatRgb()}function H_(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=P_.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?V_(t):3===n?new X_(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?W_(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?W_(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=j_.exec(e))?new X_(t[1],t[2],t[3],1):(t=F_.exec(e))?new X_(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=B_.exec(e))?W_(t[1],t[2],t[3],t[4]):(t=U_.exec(e))?W_(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=G_.exec(e))?rb(t[1],t[2]/100,t[3]/100,1):(t=z_.exec(e))?rb(t[1],t[2]/100,t[3]/100,t[4]):$_.hasOwnProperty(e)?V_($_[e]):"transparent"===e?new X_(NaN,NaN,NaN,0):null}function V_(e){return new X_(e>>16&255,e>>8&255,255&e,1)}function W_(e,t,n,r){return r<=0&&(e=t=n=NaN),new X_(e,t,n,r)}function Q_(e){return e instanceof O_||(e=H_(e)),e?new X_((e=e.rgb()).r,e.g,e.b,e.opacity):new X_}function K_(e,t,n,r){return 1===arguments.length?Q_(e):new X_(e,t,n,null==r?1:r)}function X_(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function Z_(){return`#${nb(this.r)}${nb(this.g)}${nb(this.b)}`}function J_(){const e=eb(this.opacity);return`${1===e?"rgb(":"rgba("}${tb(this.r)}, ${tb(this.g)}, ${tb(this.b)}${1===e?")":`, ${e})`}`}function eb(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function tb(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function nb(e){return((e=tb(e))<16?"0":"")+e.toString(16)}function rb(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new ab(e,t,n,r)}function ib(e){if(e instanceof ab)return new ab(e.h,e.s,e.l,e.opacity);if(e instanceof O_||(e=H_(e)),!e)return new ab;if(e instanceof ab)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),a=Math.max(t,n,r),o=NaN,s=a-i,l=(a+i)/2;return s?(o=t===a?(n-r)/s+6*(n<r):n===a?(r-t)/s+2:(t-n)/s+4,s/=l<.5?a+i:2-a-i,o*=60):s=l>0&&l<1?0:o,new ab(o,s,l,e.opacity)}function ab(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function ob(e){return(e=(e||0)%360)<0?e+360:e}function sb(e){return Math.max(0,Math.min(1,e||0))}function lb(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}w_(O_,H_,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:Y_, +// Deprecated! Use color.formatHex. +formatHex:Y_,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return ib(this).formatHsl()},formatRgb:q_,toString:q_}),w_(X_,K_,N_(O_,{brighter(e){return e=null==e?I_:Math.pow(I_,e),new X_(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?R_:Math.pow(R_,e),new X_(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new X_(tb(this.r),tb(this.g),tb(this.b),eb(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Z_, +// Deprecated! Use color.formatHex. +formatHex:Z_,formatHex8:function(){return`#${nb(this.r)}${nb(this.g)}${nb(this.b)}${nb(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:J_,toString:J_})),w_(ab,(function(e,t,n,r){return 1===arguments.length?ib(e):new ab(e,t,n,null==r?1:r)}),N_(O_,{brighter(e){return e=null==e?I_:Math.pow(I_,e),new ab(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?R_:Math.pow(R_,e),new ab(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new X_(lb(e>=240?e-240:e+120,i,r),lb(e,i,r),lb(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new ab(ob(this.h),sb(this.s),sb(this.l),eb(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=eb(this.opacity);return`${1===e?"hsl(":"hsla("}${ob(this.h)}, ${100*sb(this.s)}%, ${100*sb(this.l)}%${1===e?")":`, ${e})`}`}}));const cb=Math.PI/180,ub=180/Math.PI,db=.96422,hb=.82521,pb=4/29,gb=6/29,mb=3*gb*gb,_b=gb*gb*gb;function bb(e){if(e instanceof fb)return new fb(e.l,e.a,e.b,e.opacity);if(e instanceof Cb)return xb(e);e instanceof X_||(e=Q_(e));var t,n,r=Sb(e.r),i=Sb(e.g),a=Sb(e.b),o=yb((.2225045*r+.7168786*i+.0606169*a)/1);return r===i&&i===a?t=n=o:(t=yb((.4360747*r+.3850649*i+.1430804*a)/db),n=yb((.0139322*r+.0971045*i+.7141733*a)/hb)),new fb(116*o-16,500*(t-o),200*(o-n),e.opacity)}function fb(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}function yb(e){return e>_b?Math.pow(e,1/3):e/mb+pb}function vb(e){return e>gb?e*e*e:mb*(e-pb)}function Eb(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function Sb(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function Tb(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof Cb)return new Cb(e.h,e.c,e.l,e.opacity);if(e instanceof fb||(e=bb(e)),0===e.a&&0===e.b)return new Cb(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*ub;return new Cb(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}(e):new Cb(e,t,n,null==r?1:r)}function Cb(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}function xb(e){if(isNaN(e.h))return new fb(e.l,0,0,e.opacity);var t=e.h*cb;return new fb(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}w_(fb,(function(e,t,n,r){return 1===arguments.length?bb(e):new fb(e,t,n,null==r?1:r)}),N_(O_,{brighter(e){return new fb(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker(e){return new fb(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return new X_(Eb(3.1338561*(t=db*vb(t))-1.6168667*(e=1*vb(e))-.4906146*(n=hb*vb(n))),Eb(-.9787684*t+1.9161415*e+.033454*n),Eb(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}})),w_(Cb,Tb,N_(O_,{brighter(e){return new Cb(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker(e){return new Cb(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb(){return xb(this).rgb()}}));const kb=e=>()=>e;function Ab(e,t){return function(n){return e+n*t}}function wb(e){return 1==(e=+e)?Nb:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):kb(isNaN(t)?n:t)}}function Nb(e,t){var n=t-e;return n?Ab(e,n):kb(isNaN(e)?t:e)}const Ob=function e(t){var n=wb(t);function r(e,t){var r=n((e=K_(e)).r,(t=K_(t)).r),i=n(e.g,t.g),a=n(e.b,t.b),o=Nb(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=i(t),e.b=a(t),e.opacity=o(t),e+""}}return r.gamma=e,r}(1);function Rb(e,t){t||(t=[]);var n,r=e?Math.min(t.length,e.length):0,i=t.slice();return function(a){for(n=0;n<r;++n)i[n]=e[n]*(1-a)+t[n]*a;return i}}function Ib(e,t){var n,r=t?t.length:0,i=e?Math.min(r,e.length):0,a=new Array(i),o=new Array(r);for(n=0;n<i;++n)a[n]=Bb(e[n],t[n]);for(;n<r;++n)o[n]=t[n];return function(e){for(n=0;n<i;++n)o[n]=a[n](e);return o}}function Db(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function Mb(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function Lb(e,t){var n,r={},i={};for(n in null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={}),t)n in e?r[n]=Bb(e[n],t[n]):i[n]=t[n];return function(e){for(n in r)i[n]=r[n](e);return i}}var Pb=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,jb=new RegExp(Pb.source,"g");function Fb(e,t){var n,r,i,a=Pb.lastIndex=jb.lastIndex=0,o=-1,s=[],l=[];for(e+="",t+="";(n=Pb.exec(e))&&(r=jb.exec(t));)(i=r.index)>a&&(i=t.slice(a,i),s[o]?s[o]+=i:s[++o]=i),(n=n[0])===(r=r[0])?s[o]?s[o]+=r:s[++o]=r:(s[++o]=null,l.push({i:o,x:Mb(n,r)})),a=jb.lastIndex;return a<t.length&&(i=t.slice(a),s[o]?s[o]+=i:s[++o]=i),s.length<2?l[0]?function(e){return function(t){return e(t)+""}}(l[0].x):function(e){return function(){return e}}(t):(t=l.length,function(e){for(var n,r=0;r<t;++r)s[(n=l[r]).i]=n.x(e);return s.join("")})}function Bb(e,t){var n,r,i=typeof t;return null==t||"boolean"===i?kb(t):("number"===i?Mb:"string"===i?(n=H_(t))?(t=n,Ob):Fb:t instanceof H_?Ob:t instanceof Date?Db:(r=t,!ArrayBuffer.isView(r)||r instanceof DataView?Array.isArray(t)?Ib:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?Lb:Mb:Rb))(e,t)}function Ub(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}var Gb,zb=180/Math.PI,$b={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Yb(e,t,n,r,i,a){var o,s,l;return(o=Math.sqrt(e*e+t*t))&&(e/=o,t/=o),(l=e*n+t*r)&&(n-=e*l,r-=t*l),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,l/=s),e*r<t*n&&(e=-e,t=-t,l=-l,o=-o),{translateX:i,translateY:a,rotate:Math.atan2(t,e)*zb,skewX:Math.atan(l)*zb,scaleX:o,scaleY:s}}function qb(e,t,n,r){function i(e){return e.length?e.pop()+" ":""}return function(a,o){var s=[],l=[];return a=e(a),o=e(o),function(e,r,i,a,o,s){if(e!==i||r!==a){var l=o.push("translate(",null,t,null,n);s.push({i:l-4,x:Mb(e,i)},{i:l-2,x:Mb(r,a)})}else(i||a)&&o.push("translate("+i+t+a+n)}(a.translateX,a.translateY,o.translateX,o.translateY,s,l),function(e,t,n,a){e!==t?(e-t>180?t+=360:t-e>180&&(e+=360),a.push({i:n.push(i(n)+"rotate(",null,r)-2,x:Mb(e,t)})):t&&n.push(i(n)+"rotate("+t+r)}(a.rotate,o.rotate,s,l),function(e,t,n,a){e!==t?a.push({i:n.push(i(n)+"skewX(",null,r)-2,x:Mb(e,t)}):t&&n.push(i(n)+"skewX("+t+r)}(a.skewX,o.skewX,s,l),function(e,t,n,r,a,o){if(e!==n||t!==r){var s=a.push(i(a)+"scale(",null,",",null,")");o.push({i:s-4,x:Mb(e,n)},{i:s-2,x:Mb(t,r)})}else 1===n&&1===r||a.push(i(a)+"scale("+n+","+r+")")}(a.scaleX,a.scaleY,o.scaleX,o.scaleY,s,l),a=o=null,function(e){for(var t,n=-1,r=l.length;++n<r;)s[(t=l[n]).i]=t.x(e);return s.join("")}}}var Hb=qb((function(e){const t=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(e+"");return t.isIdentity?$b:Yb(t.a,t.b,t.c,t.d,t.e,t.f)}),"px, ","px)","deg)"),Vb=qb((function(e){return null==e?$b:(Gb||(Gb=document.createElementNS("http://www.w3.org/2000/svg","g")),Gb.setAttribute("transform",e),(e=Gb.transform.baseVal.consolidate())?Yb((e=e.matrix).a,e.b,e.c,e.d,e.e,e.f):$b)}),", ",")",")");const Wb=(Qb=function(e,t){var n=t-e;return n?Ab(e,n>180||n<-180?n-360*Math.round(n/360):n):kb(isNaN(e)?t:e)},function(e,t){var n=Qb((e=Tb(e)).h,(t=Tb(t)).h),r=Nb(e.c,t.c),i=Nb(e.l,t.l),a=Nb(e.opacity,t.opacity);return function(t){return e.h=n(t),e.c=r(t),e.l=i(t),e.opacity=a(t),e+""}});var Qb,Kb,Xb,Zb=0,Jb=0,ef=0,tf=0,nf=0,rf=0,af="object"==typeof performance&&performance.now?performance:Date,of="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function sf(){return nf||(of(lf),nf=af.now()+rf)}function lf(){nf=0}function cf(){this._call=this._time=this._next=null}function uf(e,t,n){var r=new cf;return r.restart(e,t,n),r}function df(){nf=(tf=af.now())+rf,Zb=Jb=0;try{!function(){sf(),++Zb;for(var e,t=Kb;t;)(e=nf-t._time)>=0&&t._call.call(void 0,e),t=t._next;--Zb}()}finally{Zb=0,function(){var e,t,n=Kb,r=1/0;for(;n;)n._call?(r>n._time&&(r=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:Kb=t);Xb=e,pf(r)}(),nf=0}}function hf(){var e=af.now(),t=e-tf;t>1e3&&(rf-=t,tf=e)}function pf(e){Zb||(Jb&&(Jb=clearTimeout(Jb)),e-nf>24?(e<1/0&&(Jb=setTimeout(df,e-af.now()-rf)),ef&&(ef=clearInterval(ef))):(ef||(tf=af.now(),ef=setInterval(hf,1e3)),Zb=1,of(df)))}function gf(e,t,n){var r=new cf;return t=null==t?0:+t,r.restart((n=>{r.stop(),e(n+t)}),t,n),r}cf.prototype=uf.prototype={constructor:cf,restart:function(e,t,n){if("function"!=typeof e)throw new TypeError("callback is not a function");n=(null==n?sf():+n)+(null==t?0:+t),this._next||Xb===this||(Xb?Xb._next=this:Kb=this,Xb=this),this._call=e,this._time=n,pf()},stop:function(){this._call&&(this._call=null,this._time=1/0,pf())}};var mf=um("start","end","cancel","interrupt"),_f=[];function bf(e,t,n,r,i,a){var o=e.__transition;if(o){if(n in o)return}else e.__transition={};!function(e,t,n){var r,i=e.__transition;function a(e){n.state=1,n.timer.restart(o,n.delay,n.time),n.delay<=e&&o(e-n.delay)}function o(a){var c,u,d,h;if(1!==n.state)return l();for(c in i)if((h=i[c]).name===n.name){if(3===h.state)return gf(o);4===h.state?(h.state=6,h.timer.stop(),h.on.call("interrupt",e,e.__data__,h.index,h.group),delete i[c]):+c<t&&(h.state=6,h.timer.stop(),h.on.call("cancel",e,e.__data__,h.index,h.group),delete i[c])}if(gf((function(){3===n.state&&(n.state=4,n.timer.restart(s,n.delay,n.time),s(a))})),n.state=2,n.on.call("start",e,e.__data__,n.index,n.group),2===n.state){for(n.state=3,r=new Array(d=n.tween.length),c=0,u=-1;c<d;++c)(h=n.tween[c].value.call(e,e.__data__,n.index,n.group))&&(r[++u]=h);r.length=u+1}}function s(t){for(var i=t<n.duration?n.ease.call(null,t/n.duration):(n.timer.restart(l),n.state=5,1),a=-1,o=r.length;++a<o;)r[a].call(e,i);5===n.state&&(n.on.call("end",e,e.__data__,n.index,n.group),l())}function l(){for(var r in n.state=6,n.timer.stop(),delete i[t],i)return;delete e.__transition}i[t]=n,n.timer=uf(a,0,n.time)}(e,n,{name:t,index:r, +// For context during callback. +group:i, +// For context during callback. +on:mf,tween:_f,time:a.time,delay:a.delay,duration:a.duration,ease:a.ease,timer:null,state:0})}function ff(e,t){var n=vf(e,t);if(n.state>0)throw new Error("too late; already scheduled");return n}function yf(e,t){var n=vf(e,t);if(n.state>3)throw new Error("too late; already running");return n}function vf(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("transition not found");return n}function Ef(e,t){var n,r;return function(){var i=yf(this,e),a=i.tween;if(a!==n)for(var o=0,s=(r=n=a).length;o<s;++o)if(r[o].name===t){(r=r.slice()).splice(o,1);break}i.tween=r}}function Sf(e,t,n){var r,i;if("function"!=typeof n)throw new Error;return function(){var a=yf(this,e),o=a.tween;if(o!==r){i=(r=o).slice();for(var s={name:t,value:n},l=0,c=i.length;l<c;++l)if(i[l].name===t){i[l]=s;break}l===c&&i.push(s)}a.tween=i}}function Tf(e,t,n){var r=e._id;return e.each((function(){var e=yf(this,r);(e.value||(e.value={}))[t]=n.apply(this,arguments)})),function(e){return vf(e,r).value[t]}}function Cf(e,t){var n;return("number"==typeof t?Mb:t instanceof H_?Ob:(n=H_(t))?(t=n,Ob):Fb)(e,t)}function xf(e){return function(){this.removeAttribute(e)}}function kf(e){return function(){this.removeAttributeNS(e.space,e.local)}}function Af(e,t,n){var r,i,a=n+"";return function(){var o=this.getAttribute(e);return o===a?null:o===r?i:i=t(r=o,n)}}function wf(e,t,n){var r,i,a=n+"";return function(){var o=this.getAttributeNS(e.space,e.local);return o===a?null:o===r?i:i=t(r=o,n)}}function Nf(e,t,n){var r,i,a;return function(){var o,s,l=n(this);if(null!=l)return(o=this.getAttribute(e))===(s=l+"")?null:o===r&&s===i?a:(i=s,a=t(r=o,l));this.removeAttribute(e)}}function Of(e,t,n){var r,i,a;return function(){var o,s,l=n(this);if(null!=l)return(o=this.getAttributeNS(e.space,e.local))===(s=l+"")?null:o===r&&s===i?a:(i=s,a=t(r=o,l));this.removeAttributeNS(e.space,e.local)}}function Rf(e,t){var n,r;function i(){var i=t.apply(this,arguments);return i!==r&&(n=(r=i)&&function(e,t){return function(n){this.setAttributeNS(e.space,e.local,t.call(this,n))}}(e,i)),n}return i._value=t,i}function If(e,t){var n,r;function i(){var i=t.apply(this,arguments);return i!==r&&(n=(r=i)&&function(e,t){return function(n){this.setAttribute(e,t.call(this,n))}}(e,i)),n}return i._value=t,i}function Df(e,t){return function(){ff(this,e).delay=+t.apply(this,arguments)}}function Mf(e,t){return t=+t,function(){ff(this,e).delay=t}}function Lf(e,t){return function(){yf(this,e).duration=+t.apply(this,arguments)}}function Pf(e,t){return t=+t,function(){yf(this,e).duration=t}}var jf=x_.prototype.constructor;function Ff(e){return function(){this.style.removeProperty(e)}}var Bf=0;function Uf(e,t,n,r){this._groups=e,this._parents=t,this._name=n,this._id=r}function Gf(){return++Bf}var zf=x_.prototype;Uf.prototype={constructor:Uf,select:function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=Em(e));for(var r=this._groups,i=r.length,a=new Array(i),o=0;o<i;++o)for(var s,l,c=r[o],u=c.length,d=a[o]=new Array(u),h=0;h<u;++h)(s=c[h])&&(l=e.call(s,s.__data__,h,c))&&("__data__"in s&&(l.__data__=s.__data__),d[h]=l,bf(d[h],t,n,h,d,vf(s,n)));return new Uf(a,this._parents,t,n)},selectAll:function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=Cm(e));for(var r=this._groups,i=r.length,a=[],o=[],s=0;s<i;++s)for(var l,c=r[s],u=c.length,d=0;d<u;++d)if(l=c[d]){for(var h,p=e.call(l,l.__data__,d,c),g=vf(l,n),m=0,_=p.length;m<_;++m)(h=p[m])&&bf(h,t,n,m,p,g);a.push(p),o.push(l)}return new Uf(a,o,t,n)},selectChild:zf.selectChild,selectChildren:zf.selectChildren,filter:function(e){"function"!=typeof e&&(e=xm(e));for(var t=this._groups,n=t.length,r=new Array(n),i=0;i<n;++i)for(var a,o=t[i],s=o.length,l=r[i]=[],c=0;c<s;++c)(a=o[c])&&e.call(a,a.__data__,c,o)&&l.push(a);return new Uf(r,this._parents,this._name,this._id)},merge:function(e){if(e._id!==this._id)throw new Error;for(var t=this._groups,n=e._groups,r=t.length,i=n.length,a=Math.min(r,i),o=new Array(r),s=0;s<a;++s)for(var l,c=t[s],u=n[s],d=c.length,h=o[s]=new Array(d),p=0;p<d;++p)(l=c[p]||u[p])&&(h[p]=l);for(;s<r;++s)o[s]=t[s];return new Uf(o,this._parents,this._name,this._id)},selection:function(){return new jf(this._groups,this._parents)},transition:function(){for(var e=this._name,t=this._id,n=Gf(),r=this._groups,i=r.length,a=0;a<i;++a)for(var o,s=r[a],l=s.length,c=0;c<l;++c)if(o=s[c]){var u=vf(o,t);bf(o,e,n,c,s,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new Uf(r,this._parents,e,n)},call:zf.call,nodes:zf.nodes,node:zf.node,size:zf.size,empty:zf.empty,each:zf.each,on:function(e,t){var n=this._id;return arguments.length<2?vf(this.node(),n).on.on(e):this.each(function(e,t,n){var r,i,a=function(e){return(e+"").trim().split(/^|\s+/).every((function(e){var t=e.indexOf(".");return t>=0&&(e=e.slice(0,t)),!e||"start"===e}))}(t)?ff:yf;return function(){var o=a(this,e),s=o.on;s!==r&&(i=(r=s).copy()).on(t,n),o.on=i}}(n,e,t))},attr:function(e,t){var n=_m(e),r="transform"===n?Vb:Cf;return this.attrTween(e,"function"==typeof t?(n.local?Of:Nf)(n,r,Tf(this,"attr."+e,t)):null==t?(n.local?kf:xf)(n):(n.local?wf:Af)(n,r,t))},attrTween:function(e,t){var n="attr."+e;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==t)return this.tween(n,null);if("function"!=typeof t)throw new Error;var r=_m(e);return this.tween(n,(r.local?Rf:If)(r,t))},style:function(e,t,n){var r="transform"==(e+="")?Hb:Cf;return null==t?this.styleTween(e,function(e,t){var n,r,i;return function(){var a=Wm(this,e),o=(this.style.removeProperty(e),Wm(this,e));return a===o?null:a===n&&o===r?i:i=t(n=a,r=o)}}(e,r)).on("end.style."+e,Ff(e)):"function"==typeof t?this.styleTween(e,function(e,t,n){var r,i,a;return function(){var o=Wm(this,e),s=n(this),l=s+"";return null==s&&(this.style.removeProperty(e),l=s=Wm(this,e)),o===l?null:o===r&&l===i?a:(i=l,a=t(r=o,s))}}(e,r,Tf(this,"style."+e,t))).each(function(e,t){var n,r,i,a,o="style."+t,s="end."+o;return function(){var l=yf(this,e),c=l.on,u=null==l.value[o]?a||(a=Ff(t)):void 0;c===n&&i===u||(r=(n=c).copy()).on(s,i=u),l.on=r}}(this._id,e)):this.styleTween(e,function(e,t,n){var r,i,a=n+"";return function(){var o=Wm(this,e);return o===a?null:o===r?i:i=t(r=o,n)}}(e,r,t),n).on("end.style."+e,null)},styleTween:function(e,t,n){var r="style."+(e+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==t)return this.tween(r,null);if("function"!=typeof t)throw new Error;return this.tween(r,function(e,t,n){var r,i;function a(){var a=t.apply(this,arguments);return a!==i&&(r=(i=a)&&function(e,t,n){return function(r){this.style.setProperty(e,t.call(this,r),n)}}(e,a,n)),r}return a._value=t,a}(e,t,null==n?"":n))},text:function(e){return this.tween("text","function"==typeof e?function(e){return function(){var t=e(this);this.textContent=null==t?"":t}}(Tf(this,"text",e)):function(e){return function(){this.textContent=e}}(null==e?"":e+""))},textTween:function(e){var t="text";if(arguments.length<1)return(t=this.tween(t))&&t._value;if(null==e)return this.tween(t,null);if("function"!=typeof e)throw new Error;return this.tween(t,function(e){var t,n;function r(){var r=e.apply(this,arguments);return r!==n&&(t=(n=r)&&function(e){return function(t){this.textContent=e.call(this,t)}}(r)),t}return r._value=e,r}(e))},remove:function(){return this.on("end.remove",(e=this._id,function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}));var e},tween:function(e,t){var n=this._id;if(e+="",arguments.length<2){for(var r,i=vf(this.node(),n).tween,a=0,o=i.length;a<o;++a)if((r=i[a]).name===e)return r.value;return null}return this.each((null==t?Ef:Sf)(n,e,t))},delay:function(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?Df:Mf)(t,e)):vf(this.node(),t).delay},duration:function(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?Lf:Pf)(t,e)):vf(this.node(),t).duration},ease:function(e){var t=this._id;return arguments.length?this.each(function(e,t){if("function"!=typeof t)throw new Error;return function(){yf(this,e).ease=t}}(t,e)):vf(this.node(),t).ease},easeVarying:function(e){if("function"!=typeof e)throw new Error;return this.each(function(e,t){return function(){var n=t.apply(this,arguments);if("function"!=typeof n)throw new Error;yf(this,e).ease=n}}(this._id,e))},end:function(){var e,t,n=this,r=n._id,i=n.size();return new Promise((function(a,o){var s={value:o},l={value:function(){0==--i&&a()}};n.each((function(){var n=yf(this,r),i=n.on;i!==e&&((t=(e=i).copy())._.cancel.push(s),t._.interrupt.push(s),t._.end.push(l)),n.on=t})),0===i&&a()}))},[Symbol.iterator]:zf[Symbol.iterator]};var $f={time:null, +// Set on use. +delay:0,duration:250,ease:function(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}};function Yf(e,t){for(var n;!(n=e.__transition)||!(n=n[t]);)if(!(e=e.parentNode))throw new Error(`transition ${t} not found`);return n}x_.prototype.interrupt=function(e){return this.each((function(){!function(e,t){var n,r,i,a=e.__transition,o=!0;if(a){for(i in t=null==t?null:t+"",a)(n=a[i]).name===t?(r=n.state>2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",e,e.__data__,n.index,n.group),delete a[i]):o=!1;o&&delete e.__transition}}(this,e)}))},x_.prototype.transition=function(e){var t,n;e instanceof Uf?(t=e._id,e=e._name):(t=Gf(),(n=$f).time=sf(),e=null==e?null:e+"");for(var r=this._groups,i=r.length,a=0;a<i;++a)for(var o,s=r[a],l=s.length,c=0;c<l;++c)(o=s[c])&&bf(o,e,t,c,s,n||Yf(o,t));return new Uf(r,this._parents,e,t)};const qf=Math.PI,Hf=2*qf,Vf=1e-6,Wf=Hf-Vf;function Qf(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}class Kf{constructor(e){this._x0=this._y0=// start of current subpath +this._x1=this._y1=null,this._="",this._append=null==e?Qf:function(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return Qf;const n=10**t;return function(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=Math.round(arguments[t]*n)/n+e[t]}}(e)}moveTo(e,t){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,t){this._append`L${this._x1=+e},${this._y1=+t}`}quadraticCurveTo(e,t,n,r){this._append`Q${+e},${+t},${this._x1=+n},${this._y1=+r}`}bezierCurveTo(e,t,n,r,i,a){this._append`C${+e},${+t},${+n},${+r},${this._x1=+i},${this._y1=+a}`}arcTo(e,t,n,r,i){if(e=+e,t=+t,n=+n,r=+r,(i=+i)<0)throw new Error(`negative radius: ${i}`);let a=this._x1,o=this._y1,s=n-e,l=r-t,c=a-e,u=o-t,d=c*c+u*u;if(null===this._x1)this._append`M${this._x1=e},${this._y1=t}`;else if(d>Vf)if(Math.abs(u*s-l*c)>Vf&&i){let h=n-a,p=r-o,g=s*s+l*l,m=h*h+p*p,_=Math.sqrt(g),b=Math.sqrt(d),f=i*Math.tan((qf-Math.acos((g+d-m)/(2*_*b)))/2),y=f/b,v=f/_;Math.abs(y-1)>Vf&&this._append`L${e+y*c},${t+y*u}`,this._append`A${i},${i},0,0,${+(u*h>c*p)},${this._x1=e+v*s},${this._y1=t+v*l}`}else this._append`L${this._x1=e},${this._y1=t}`;else;}arc(e,t,n,r,i,a){if(e=+e,t=+t,a=!!a,(n=+n)<0)throw new Error(`negative radius: ${n}`);let o=n*Math.cos(r),s=n*Math.sin(r),l=e+o,c=t+s,u=1^a,d=a?r-i:i-r;null===this._x1?this._append`M${l},${c}`:(Math.abs(this._x1-l)>Vf||Math.abs(this._y1-c)>Vf)&&this._append`L${l},${c}`,n&&(d<0&&(d=d%Hf+Hf),d>Wf?this._append`A${n},${n},0,1,${u},${e-o},${t-s}A${n},${n},0,1,${u},${this._x1=l},${this._y1=c}`:d>Vf&&this._append`A${n},${n},0,${+(d>=qf)},${u},${this._x1=e+n*Math.cos(i)},${this._y1=t+n*Math.sin(i)}`)}rect(e,t,n,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${n=+n}v${+r}h${-n}Z`}toString(){return this._}}function Xf(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function Zf(e){return(e=Xf(Math.abs(e)))?e[1]:NaN}var Jf,ey=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function ty(e){if(!(t=ey.exec(e)))throw new Error("invalid format: "+e);var t;return new ny({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function ny(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function ry(e,t){var n=Xf(e,t);if(!n)return e+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}ty.prototype=ny.prototype,ny.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const iy={"%":(e,t)=>(100*e).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>ry(100*e,t),r:ry,s:function(e,t){var n=Xf(e,t);if(!n)return e+"";var r=n[0],i=n[1],a=i-(Jf=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,o=r.length;return a===o?r:a>o?r+new Array(a-o+1).join("0"):a>0?r.slice(0,a)+"."+r.slice(a):"0."+new Array(1-a).join("0")+Xf(e,Math.max(0,t+a-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function ay(e){return e}var oy,sy,ly,cy=Array.prototype.map,uy=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function dy(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?ay:(t=cy.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var i=e.length,a=[],o=0,s=t[0],l=0;i>0&&s>0&&(l+s+1>r&&(s=Math.max(1,r-l)),a.push(e.substring(i-=s,i+s)),!((l+=s+1)>r));)s=t[o=(o+1)%t.length];return a.reverse().join(n)}),i=void 0===e.currency?"":e.currency[0]+"",a=void 0===e.currency?"":e.currency[1]+"",o=void 0===e.decimal?".":e.decimal+"",s=void 0===e.numerals?ay:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(cy.call(e.numerals,String)),l=void 0===e.percent?"%":e.percent+"",c=void 0===e.minus?"−":e.minus+"",u=void 0===e.nan?"NaN":e.nan+"";function d(e){var t=(e=ty(e)).fill,n=e.align,d=e.sign,h=e.symbol,p=e.zero,g=e.width,m=e.comma,_=e.precision,b=e.trim,f=e.type;"n"===f?(m=!0,f="g"):iy[f]||(void 0===_&&(_=12),b=!0,f="g"),(p||"0"===t&&"="===n)&&(p=!0,t="0",n="=");var y="$"===h?i:"#"===h&&/[boxX]/.test(f)?"0"+f.toLowerCase():"",v="$"===h?a:/[%p]/.test(f)?l:"",E=iy[f],S=/[defgprs%]/.test(f);function T(e){var i,a,l,h=y,T=v;if("c"===f)T=E(e)+T,e="";else{var C=(e=+e)<0||1/e<0;if(e=isNaN(e)?u:E(Math.abs(e),_),b&&(e=function(e){e:for(var t,n=e.length,r=1,i=-1;r<n;++r)switch(e[r]){case".":i=t=r;break;case"0":0===i&&(i=r),t=r;break;default:if(!+e[r])break e;i>0&&(i=0)}return i>0?e.slice(0,i)+e.slice(t+1):e}(e)),C&&0==+e&&"+"!==d&&(C=!1),h=(C?"("===d?d:c:"-"===d||"("===d?"":d)+h,T=("s"===f?uy[8+Jf/3]:"")+T+(C&&"("===d?")":""),S)for(i=-1,a=e.length;++i<a;)if(48>(l=e.charCodeAt(i))||l>57){T=(46===l?o+e.slice(i+1):e.slice(i))+T,e=e.slice(0,i);break}}m&&!p&&(e=r(e,1/0));var x=h.length+e.length+T.length,k=x<g?new Array(g-x+1).join(t):"";switch(m&&p&&(e=r(k+e,k.length?g-T.length:1/0),k=""),n){case"<":e=h+e+T+k;break;case"=":e=h+k+e+T;break;case"^":e=k.slice(0,x=k.length>>1)+h+e+T+k.slice(x);break;default:e=k+h+e+T}return s(e)}return _=void 0===_?6:/[gprs]/.test(f)?Math.max(1,Math.min(21,_)):Math.max(0,Math.min(20,_)),T.toString=function(){return e+""},T}return{format:d,formatPrefix:function(e,t){var n=d(((e=ty(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(Zf(t)/3))),i=Math.pow(10,-r),a=uy[8+r/3];return function(e){return n(i*e)+a}}}}function hy(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}oy=dy({thousands:",",grouping:[3],currency:["$",""]}),sy=oy.format,ly=oy.formatPrefix;const py=Symbol("implicit");function gy(){var e=new Yg,t=[],n=[],r=py;function i(i){let a=e.get(i);if(void 0===a){if(r!==py)return r;e.set(i,a=t.push(i)-1)}return n[a%n.length]}return i.domain=function(n){if(!arguments.length)return t.slice();t=[],e=new Yg;for(const r of n)e.has(r)||e.set(r,t.push(r)-1);return i},i.range=function(e){return arguments.length?(n=Array.from(e),i):n.slice()},i.unknown=function(e){return arguments.length?(r=e,i):r},i.copy=function(){return gy(t,n).unknown(r)},hy.apply(i,arguments),i}function my(e){return+e}var _y=[0,1];function by(e){return e}function fy(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:(n=isNaN(t)?NaN:.5,function(){return n});var n}function yy(e,t,n){var r=e[0],i=e[1],a=t[0],o=t[1];return i<r?(r=fy(i,r),a=n(o,a)):(r=fy(r,i),a=n(a,o)),function(e){return a(r(e))}}function vy(e,t,n){var r=Math.min(e.length,t.length)-1,i=new Array(r),a=new Array(r),o=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++o<r;)i[o]=fy(e[o],e[o+1]),a[o]=n(t[o],t[o+1]);return function(t){var n=$g(e,t,1,r)-1;return a[n](i[n](t))}}function Ey(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function Sy(){var e,t,n,r,i,a,o=_y,s=_y,l=Bb,c=by;function u(){var e,t,n,l=Math.min(o.length,s.length);return c!==by&&(e=o[0],t=o[l-1],e>t&&(n=e,e=t,t=n),c=function(n){return Math.max(e,Math.min(t,n))}),r=l>2?vy:yy,i=a=null,d}function d(t){return null==t||isNaN(t=+t)?n:(i||(i=r(o.map(e),s,l)))(e(c(t)))}return d.invert=function(n){return c(t((a||(a=r(s,o.map(e),Mb)))(n)))},d.domain=function(e){return arguments.length?(o=Array.from(e,my),u()):o.slice()},d.range=function(e){return arguments.length?(s=Array.from(e),u()):s.slice()},d.rangeRound=function(e){return s=Array.from(e),l=Ub,u()},d.clamp=function(e){return arguments.length?(c=!!e||by,u()):c!==by},d.interpolate=function(e){return arguments.length?(l=e,u()):l},d.unknown=function(e){return arguments.length?(n=e,d):n},function(n,r){return e=n,t=r,u()}}function Ty(){return Sy()(by,by)}function Cy(e,t,n,r){var i,a=Zg(e,t,n);switch((r=ty(null==r?",f":r)).type){case"s":var o=Math.max(Math.abs(e),Math.abs(t));return null!=r.precision||isNaN(i=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Zf(t)/3)))-Zf(Math.abs(e)))}(a,o))||(r.precision=i),ly(r,o);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(i=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Zf(t)-Zf(e))+1}(a,Math.max(Math.abs(e),Math.abs(t))))||(r.precision=i-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(i=function(e){return Math.max(0,-Zf(Math.abs(e)))}(a))||(r.precision=i-2*("%"===r.type))}return sy(r)}function xy(e){var t=e.domain;return e.ticks=function(e){var n=t();return function(e,t,n){if(!((n=+n)>0))return[];if((e=+e)==(t=+t))return[e];const r=t<e,[i,a,o]=r?Kg(t,e,n):Kg(e,t,n);if(!(a>=i))return[];const s=a-i+1,l=new Array(s);if(r)if(o<0)for(let c=0;c<s;++c)l[c]=(a-c)/-o;else for(let c=0;c<s;++c)l[c]=(a-c)*o;else if(o<0)for(let c=0;c<s;++c)l[c]=(i+c)/-o;else for(let c=0;c<s;++c)l[c]=(i+c)*o;return l}(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){var r=t();return Cy(r[0],r[r.length-1],null==e?10:e,n)},e.nice=function(n){null==n&&(n=10);var r,i,a=t(),o=0,s=a.length-1,l=a[o],c=a[s],u=10;for(c<l&&(i=l,l=c,c=i,i=o,o=s,s=i);u-- >0;){if((i=Xg(l,c,n))===r)return a[o]=l,a[s]=c,t(a);if(i>0)l=Math.floor(l/i)*i,c=Math.ceil(c/i)*i;else{if(!(i<0))break;l=Math.ceil(l*i)/i,c=Math.floor(c*i)/i}r=i}return e},e}function ky(){var e=Ty();return e.copy=function(){return Ey(e,ky())},hy.apply(e,arguments),xy(e)}const Ay=new Date,wy=new Date;function Ny(e,t,n,r){function i(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return i.floor=t=>(e(t=new Date(+t)),t),i.ceil=n=>(e(n=new Date(n-1)),t(n,1),e(n),n),i.round=e=>{const t=i(e),n=i.ceil(e);return e-t<n-e?t:n},i.offset=(e,n)=>(t(e=new Date(+e),null==n?1:Math.floor(n)),e),i.range=(n,r,a)=>{const o=[];if(n=i.ceil(n),a=null==a?1:Math.floor(a),!(n<r&&a>0))return o;let s;do{o.push(s=new Date(+n)),t(n,a),e(n)}while(s<n&&n<r);return o},i.filter=n=>Ny((t=>{if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)}),((e,r)=>{if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););})),n&&(i.count=(t,r)=>(Ay.setTime(+t),wy.setTime(+r),e(Ay),e(wy),Math.floor(n(Ay,wy))),i.every=e=>(e=Math.floor(e),isFinite(e)&&e>0?e>1?i.filter(r?t=>r(t)%e==0:t=>i.count(0,t)%e==0):i:null)),i}const Oy=Ny((()=>{}),((e,t)=>{e.setTime(+e+t)}),((e,t)=>t-e));Oy.every=e=>(e=Math.floor(e),isFinite(e)&&e>0?e>1?Ny((t=>{t.setTime(Math.floor(t/e)*e)}),((t,n)=>{t.setTime(+t+n*e)}),((t,n)=>(n-t)/e)):Oy:null),Oy.range;const Ry=1e3,Iy=6e4,Dy=36e5,My=864e5,Ly=6048e5,Py=2592e6,jy=31536e6,Fy=Ny((e=>{e.setTime(e-e.getMilliseconds())}),((e,t)=>{e.setTime(+e+t*Ry)}),((e,t)=>(t-e)/Ry),(e=>e.getUTCSeconds()));Fy.range;const By=Ny((e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Ry)}),((e,t)=>{e.setTime(+e+t*Iy)}),((e,t)=>(t-e)/Iy),(e=>e.getMinutes()));By.range;Ny((e=>{e.setUTCSeconds(0,0)}),((e,t)=>{e.setTime(+e+t*Iy)}),((e,t)=>(t-e)/Iy),(e=>e.getUTCMinutes())).range;const Uy=Ny((e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Ry-e.getMinutes()*Iy)}),((e,t)=>{e.setTime(+e+t*Dy)}),((e,t)=>(t-e)/Dy),(e=>e.getHours()));Uy.range;Ny((e=>{e.setUTCMinutes(0,0,0)}),((e,t)=>{e.setTime(+e+t*Dy)}),((e,t)=>(t-e)/Dy),(e=>e.getUTCHours())).range;const Gy=Ny((e=>e.setHours(0,0,0,0)),((e,t)=>e.setDate(e.getDate()+t)),((e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Iy)/My),(e=>e.getDate()-1));Gy.range;const zy=Ny((e=>{e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+t)}),((e,t)=>(t-e)/My),(e=>e.getUTCDate()-1));zy.range;function $y(e){return Ny((t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),((e,t)=>{e.setDate(e.getDate()+7*t)}),((e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Iy)/Ly))}Ny((e=>{e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+t)}),((e,t)=>(t-e)/My),(e=>Math.floor(e/My))).range;const Yy=$y(0),qy=$y(1),Hy=$y(2),Vy=$y(3),Wy=$y(4),Qy=$y(5),Ky=$y(6);function Xy(e){return Ny((t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+7*t)}),((e,t)=>(t-e)/Ly))}Yy.range,qy.range,Hy.range,Vy.range,Wy.range,Qy.range,Ky.range;const Zy=Xy(0),Jy=Xy(1),ev=Xy(2),tv=Xy(3),nv=Xy(4),rv=Xy(5),iv=Xy(6);Zy.range,Jy.range,ev.range,tv.range,nv.range,rv.range,iv.range;const av=Ny((e=>{e.setDate(1),e.setHours(0,0,0,0)}),((e,t)=>{e.setMonth(e.getMonth()+t)}),((e,t)=>t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())),(e=>e.getMonth()));av.range;Ny((e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)}),((e,t)=>t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())),(e=>e.getUTCMonth())).range;const ov=Ny((e=>{e.setMonth(0,1),e.setHours(0,0,0,0)}),((e,t)=>{e.setFullYear(e.getFullYear()+t)}),((e,t)=>t.getFullYear()-e.getFullYear()),(e=>e.getFullYear()));ov.every=e=>isFinite(e=Math.floor(e))&&e>0?Ny((t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),((t,n)=>{t.setFullYear(t.getFullYear()+n*e)})):null,ov.range;const sv=Ny((e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)}),((e,t)=>t.getUTCFullYear()-e.getUTCFullYear()),(e=>e.getUTCFullYear()));sv.every=e=>isFinite(e=Math.floor(e))&&e>0?Ny((t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),((t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)})):null,sv.range;const[lv,cv]=function(e,t,n,r,i,a){const o=[[Fy,1,Ry],[Fy,5,5e3],[Fy,15,15e3],[Fy,30,3e4],[a,1,Iy],[a,5,3e5],[a,15,9e5],[a,30,18e5],[i,1,Dy],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,My],[r,2,1728e5],[n,1,Ly],[t,1,Py],[t,3,7776e6],[e,1,jy]];function s(t,n,r){const i=Math.abs(n-t)/r,a=Gg((([,,e])=>e)).right(o,i);if(a===o.length)return e.every(Zg(t/jy,n/jy,r));if(0===a)return Oy.every(Math.max(Zg(t,n,r),1));const[s,l]=o[i/o[a-1][2]<o[a][2]/i?a-1:a];return s.every(l)}return[function(e,t,n){const r=t<e;r&&([e,t]=[t,e]);const i=n&&"function"==typeof n.range?n:s(e,t,n),a=i?i.range(e,+t+1):[];return r?a.reverse():a},s]}(ov,av,Yy,Gy,Uy,By);function uv(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function dv(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function hv(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}var pv,gv,mv={"-":"",_:" ",0:"0"},_v=/^\s*\d+/,bv=/^%/,fv=/[\\^$*+?|[\]().{}]/g;function yv(e,t,n){var r=e<0?"-":"",i=(r?-e:e)+"",a=i.length;return r+(a<n?new Array(n-a+1).join(t)+i:i)}function vv(e){return e.replace(fv,"\\$&")}function Ev(e){return new RegExp("^(?:"+e.map(vv).join("|")+")","i")}function Sv(e){return new Map(e.map(((e,t)=>[e.toLowerCase(),t])))}function Tv(e,t,n){var r=_v.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function Cv(e,t,n){var r=_v.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function xv(e,t,n){var r=_v.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function kv(e,t,n){var r=_v.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function Av(e,t,n){var r=_v.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function wv(e,t,n){var r=_v.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function Nv(e,t,n){var r=_v.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function Ov(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function Rv(e,t,n){var r=_v.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function Iv(e,t,n){var r=_v.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function Dv(e,t,n){var r=_v.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function Mv(e,t,n){var r=_v.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function Lv(e,t,n){var r=_v.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function Pv(e,t,n){var r=_v.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function jv(e,t,n){var r=_v.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function Fv(e,t,n){var r=_v.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function Bv(e,t,n){var r=_v.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Uv(e,t,n){var r=bv.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function Gv(e,t,n){var r=_v.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function zv(e,t,n){var r=_v.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function $v(e,t){return yv(e.getDate(),t,2)}function Yv(e,t){return yv(e.getHours(),t,2)}function qv(e,t){return yv(e.getHours()%12||12,t,2)}function Hv(e,t){return yv(1+Gy.count(ov(e),e),t,3)}function Vv(e,t){return yv(e.getMilliseconds(),t,3)}function Wv(e,t){return Vv(e,t)+"000"}function Qv(e,t){return yv(e.getMonth()+1,t,2)}function Kv(e,t){return yv(e.getMinutes(),t,2)}function Xv(e,t){return yv(e.getSeconds(),t,2)}function Zv(e){var t=e.getDay();return 0===t?7:t}function Jv(e,t){return yv(Yy.count(ov(e)-1,e),t,2)}function eE(e){var t=e.getDay();return t>=4||0===t?Wy(e):Wy.ceil(e)}function tE(e,t){return e=eE(e),yv(Wy.count(ov(e),e)+(4===ov(e).getDay()),t,2)}function nE(e){return e.getDay()}function rE(e,t){return yv(qy.count(ov(e)-1,e),t,2)}function iE(e,t){return yv(e.getFullYear()%100,t,2)}function aE(e,t){return yv((e=eE(e)).getFullYear()%100,t,2)}function oE(e,t){return yv(e.getFullYear()%1e4,t,4)}function sE(e,t){var n=e.getDay();return yv((e=n>=4||0===n?Wy(e):Wy.ceil(e)).getFullYear()%1e4,t,4)}function lE(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+yv(t/60|0,"0",2)+yv(t%60,"0",2)}function cE(e,t){return yv(e.getUTCDate(),t,2)}function uE(e,t){return yv(e.getUTCHours(),t,2)}function dE(e,t){return yv(e.getUTCHours()%12||12,t,2)}function hE(e,t){return yv(1+zy.count(sv(e),e),t,3)}function pE(e,t){return yv(e.getUTCMilliseconds(),t,3)}function gE(e,t){return pE(e,t)+"000"}function mE(e,t){return yv(e.getUTCMonth()+1,t,2)}function _E(e,t){return yv(e.getUTCMinutes(),t,2)}function bE(e,t){return yv(e.getUTCSeconds(),t,2)}function fE(e){var t=e.getUTCDay();return 0===t?7:t}function yE(e,t){return yv(Zy.count(sv(e)-1,e),t,2)}function vE(e){var t=e.getUTCDay();return t>=4||0===t?nv(e):nv.ceil(e)}function EE(e,t){return e=vE(e),yv(nv.count(sv(e),e)+(4===sv(e).getUTCDay()),t,2)}function SE(e){return e.getUTCDay()}function TE(e,t){return yv(Jy.count(sv(e)-1,e),t,2)}function CE(e,t){return yv(e.getUTCFullYear()%100,t,2)}function xE(e,t){return yv((e=vE(e)).getUTCFullYear()%100,t,2)}function kE(e,t){return yv(e.getUTCFullYear()%1e4,t,4)}function AE(e,t){var n=e.getUTCDay();return yv((e=n>=4||0===n?nv(e):nv.ceil(e)).getUTCFullYear()%1e4,t,4)}function wE(){return"+0000"}function NE(){return"%"}function OE(e){return+e}function RE(e){return Math.floor(+e/1e3)}function IE(e){return new Date(e)}function DE(e){return e instanceof Date?+e:+new Date(+e)}function ME(e,t,n,r,i,a,o,s,l,c){var u=Ty(),d=u.invert,h=u.domain,p=c(".%L"),g=c(":%S"),m=c("%I:%M"),_=c("%I %p"),b=c("%a %d"),f=c("%b %d"),y=c("%B"),v=c("%Y");function E(e){return(l(e)<e?p:s(e)<e?g:o(e)<e?m:a(e)<e?_:r(e)<e?i(e)<e?b:f:n(e)<e?y:v)(e)}return u.invert=function(e){return new Date(d(e))},u.domain=function(e){return arguments.length?h(Array.from(e,DE)):h().map(IE)},u.ticks=function(t){var n=h();return e(n[0],n[n.length-1],null==t?10:t)},u.tickFormat=function(e,t){return null==t?E:c(t)},u.nice=function(e){var n=h();return e&&"function"==typeof e.range||(e=t(n[0],n[n.length-1],null==e?10:e)),e?h(function(e,t){var n,r=0,i=(e=e.slice()).length-1,a=e[r],o=e[i];return o<a&&(n=r,r=i,i=n,n=a,a=o,o=n),e[r]=t.floor(a),e[i]=t.ceil(o),e}(n,e)):u},u.copy=function(){return Ey(u,ME(e,t,n,r,i,a,o,s,l,c))},u}function LE(){return hy.apply(ME(lv,cv,ov,av,Yy,Gy,Uy,By,Fy,gv).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function PE(e){return function(){return e}}!function(e){pv=function(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,a=e.days,o=e.shortDays,s=e.months,l=e.shortMonths,c=Ev(i),u=Sv(i),d=Ev(a),h=Sv(a),p=Ev(o),g=Sv(o),m=Ev(s),_=Sv(s),b=Ev(l),f=Sv(l),y={a:function(e){return o[e.getDay()]},A:function(e){return a[e.getDay()]},b:function(e){return l[e.getMonth()]},B:function(e){return s[e.getMonth()]},c:null,d:$v,e:$v,f:Wv,g:aE,G:sE,H:Yv,I:qv,j:Hv,L:Vv,m:Qv,M:Kv,p:function(e){return i[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:OE,s:RE,S:Xv,u:Zv,U:Jv,V:tE,w:nE,W:rE,x:null,X:null,y:iE,Y:oE,Z:lE,"%":NE},v={a:function(e){return o[e.getUTCDay()]},A:function(e){return a[e.getUTCDay()]},b:function(e){return l[e.getUTCMonth()]},B:function(e){return s[e.getUTCMonth()]},c:null,d:cE,e:cE,f:gE,g:xE,G:AE,H:uE,I:dE,j:hE,L:pE,m:mE,M:_E,p:function(e){return i[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:OE,s:RE,S:bE,u:fE,U:yE,V:EE,w:SE,W:TE,x:null,X:null,y:CE,Y:kE,Z:wE,"%":NE},E={a:function(e,t,n){var r=p.exec(t.slice(n));return r?(e.w=g.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(e,t,n){var r=d.exec(t.slice(n));return r?(e.w=h.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(e,t,n){var r=b.exec(t.slice(n));return r?(e.m=f.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(e,t,n){var r=m.exec(t.slice(n));return r?(e.m=_.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(e,n,r){return C(e,t,n,r)},d:Dv,e:Dv,f:Bv,g:Nv,G:wv,H:Lv,I:Lv,j:Mv,L:Fv,m:Iv,M:Pv,p:function(e,t,n){var r=c.exec(t.slice(n));return r?(e.p=u.get(r[0].toLowerCase()),n+r[0].length):-1},q:Rv,Q:Gv,s:zv,S:jv,u:Cv,U:xv,V:kv,w:Tv,W:Av,x:function(e,t,r){return C(e,n,t,r)},X:function(e,t,n){return C(e,r,t,n)},y:Nv,Y:wv,Z:Ov,"%":Uv};function S(e,t){return function(n){var r,i,a,o=[],s=-1,l=0,c=e.length;for(n instanceof Date||(n=new Date(+n));++s<c;)37===e.charCodeAt(s)&&(o.push(e.slice(l,s)),null!=(i=mv[r=e.charAt(++s)])?r=e.charAt(++s):i="e"===r?" ":"0",(a=t[r])&&(r=a(n,i)),o.push(r),l=s+1);return o.push(e.slice(l,s)),o.join("")}}function T(e,t){return function(n){var r,i,a=hv(1900,void 0,1);if(C(a,e,n+="",0)!=n.length)return null;if("Q"in a)return new Date(a.Q);if("s"in a)return new Date(1e3*a.s+("L"in a?a.L:0));if(t&&!("Z"in a)&&(a.Z=0),"p"in a&&(a.H=a.H%12+12*a.p),void 0===a.m&&(a.m="q"in a?a.q:0),"V"in a){if(a.V<1||a.V>53)return null;"w"in a||(a.w=1),"Z"in a?(i=(r=dv(hv(a.y,0,1))).getUTCDay(),r=i>4||0===i?Jy.ceil(r):Jy(r),r=zy.offset(r,7*(a.V-1)),a.y=r.getUTCFullYear(),a.m=r.getUTCMonth(),a.d=r.getUTCDate()+(a.w+6)%7):(i=(r=uv(hv(a.y,0,1))).getDay(),r=i>4||0===i?qy.ceil(r):qy(r),r=Gy.offset(r,7*(a.V-1)),a.y=r.getFullYear(),a.m=r.getMonth(),a.d=r.getDate()+(a.w+6)%7)}else("W"in a||"U"in a)&&("w"in a||(a.w="u"in a?a.u%7:"W"in a?1:0),i="Z"in a?dv(hv(a.y,0,1)).getUTCDay():uv(hv(a.y,0,1)).getDay(),a.m=0,a.d="W"in a?(a.w+6)%7+7*a.W-(i+5)%7:a.w+7*a.U-(i+6)%7);return"Z"in a?(a.H+=a.Z/100|0,a.M+=a.Z%100,dv(a)):uv(a)}}function C(e,t,n,r){for(var i,a,o=0,s=t.length,l=n.length;o<s;){if(r>=l)return-1;if(37===(i=t.charCodeAt(o++))){if(i=t.charAt(o++),!(a=E[i in mv?t.charAt(o++):i])||(r=a(e,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return y.x=S(n,y),y.X=S(r,y),y.c=S(t,y),v.x=S(n,v),v.X=S(r,v),v.c=S(t,v),{format:function(e){var t=S(e+="",y);return t.toString=function(){return e},t},parse:function(e){var t=T(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=S(e+="",v);return t.toString=function(){return e},t},utcParse:function(e){var t=T(e+="",!0);return t.toString=function(){return e},t}}}(e),gv=pv.format,pv.parse,pv.utcFormat,pv.utcParse}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});const jE=Math.abs,FE=Math.atan2,BE=Math.cos,UE=Math.max,GE=Math.min,zE=Math.sin,$E=Math.sqrt,YE=1e-12,qE=Math.PI,HE=qE/2,VE=2*qE;function WE(e){return e>=1?HE:e<=-1?-HE:Math.asin(e)}function QE(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(null==n)t=null;else{const e=Math.floor(n);if(!(e>=0))throw new RangeError(`invalid digits: ${n}`);t=e}return e},()=>new Kf(t)}function KE(e){return e.innerRadius}function XE(e){return e.outerRadius}function ZE(e){return e.startAngle}function JE(e){return e.endAngle}function eS(e){return e&&e.padAngle}function tS(e,t,n,r,i,a,o){var s=e-n,l=t-r,c=(o?a:-a)/$E(s*s+l*l),u=c*l,d=-c*s,h=e+u,p=t+d,g=n+u,m=r+d,_=(h+g)/2,b=(p+m)/2,f=g-h,y=m-p,v=f*f+y*y,E=i-a,S=h*m-g*p,T=(y<0?-1:1)*$E(UE(0,E*E*v-S*S)),C=(S*y-f*T)/v,x=(-S*f-y*T)/v,k=(S*y+f*T)/v,A=(-S*f+y*T)/v,w=C-_,N=x-b,O=k-_,R=A-b;return w*w+N*N>O*O+R*R&&(C=k,x=A),{cx:C,cy:x,x01:-u,y01:-d,x11:C*(i/E-1),y11:x*(i/E-1)}}function nS(){var e=KE,t=XE,n=PE(0),r=null,i=ZE,a=JE,o=eS,s=null,l=QE(c);function c(){var c,u,d,h=+e.apply(this,arguments),p=+t.apply(this,arguments),g=i.apply(this,arguments)-HE,m=a.apply(this,arguments)-HE,_=jE(m-g),b=m>g;if(s||(s=c=l()),p<h&&(u=p,p=h,h=u),p>YE)if(_>VE-YE)s.moveTo(p*BE(g),p*zE(g)),s.arc(0,0,p,g,m,!b),h>YE&&(s.moveTo(h*BE(m),h*zE(m)),s.arc(0,0,h,m,g,b));else{var f,y,v=g,E=m,S=g,T=m,C=_,x=_,k=o.apply(this,arguments)/2,A=k>YE&&(r?+r.apply(this,arguments):$E(h*h+p*p)),w=GE(jE(p-h)/2,+n.apply(this,arguments)),N=w,O=w;if(A>YE){var R=WE(A/h*zE(k)),I=WE(A/p*zE(k));(C-=2*R)>YE?(S+=R*=b?1:-1,T-=R):(C=0,S=T=(g+m)/2),(x-=2*I)>YE?(v+=I*=b?1:-1,E-=I):(x=0,v=E=(g+m)/2)}var D=p*BE(v),M=p*zE(v),L=h*BE(T),P=h*zE(T);if(w>YE){var j,F=p*BE(E),B=p*zE(E),U=h*BE(S),G=h*zE(S);if(_<qE)if(j=function(e,t,n,r,i,a,o,s){var l=n-e,c=r-t,u=o-i,d=s-a,h=d*l-u*c;if(!(h*h<YE))return[e+(h=(u*(t-a)-d*(e-i))/h)*l,t+h*c]}(D,M,U,G,F,B,L,P)){var z=D-j[0],$=M-j[1],Y=F-j[0],q=B-j[1],H=1/zE(((d=(z*Y+$*q)/($E(z*z+$*$)*$E(Y*Y+q*q)))>1?0:d<-1?qE:Math.acos(d))/2),V=$E(j[0]*j[0]+j[1]*j[1]);N=GE(w,(h-V)/(H-1)),O=GE(w,(p-V)/(H+1))}else N=O=0}x>YE?O>YE?(f=tS(U,G,D,M,p,O,b),y=tS(F,B,L,P,p,O,b),s.moveTo(f.cx+f.x01,f.cy+f.y01),O<w?s.arc(f.cx,f.cy,O,FE(f.y01,f.x01),FE(y.y01,y.x01),!b):(s.arc(f.cx,f.cy,O,FE(f.y01,f.x01),FE(f.y11,f.x11),!b),s.arc(0,0,p,FE(f.cy+f.y11,f.cx+f.x11),FE(y.cy+y.y11,y.cx+y.x11),!b),s.arc(y.cx,y.cy,O,FE(y.y11,y.x11),FE(y.y01,y.x01),!b))):(s.moveTo(D,M),s.arc(0,0,p,v,E,!b)):s.moveTo(D,M),h>YE&&C>YE?N>YE?(f=tS(L,P,F,B,h,-N,b),y=tS(D,M,U,G,h,-N,b),s.lineTo(f.cx+f.x01,f.cy+f.y01),N<w?s.arc(f.cx,f.cy,N,FE(f.y01,f.x01),FE(y.y01,y.x01),!b):(s.arc(f.cx,f.cy,N,FE(f.y01,f.x01),FE(f.y11,f.x11),!b),s.arc(0,0,h,FE(f.cy+f.y11,f.cx+f.x11),FE(y.cy+y.y11,y.cx+y.x11),b),s.arc(y.cx,y.cy,N,FE(y.y11,y.x11),FE(y.y01,y.x01),!b))):s.arc(0,0,h,T,S,b):s.lineTo(L,P)}else s.moveTo(0,0);if(s.closePath(),c)return s=null,c+""||null}return c.centroid=function(){var n=(+e.apply(this,arguments)+ +t.apply(this,arguments))/2,r=(+i.apply(this,arguments)+ +a.apply(this,arguments))/2-qE/2;return[BE(r)*n,zE(r)*n]},c.innerRadius=function(t){return arguments.length?(e="function"==typeof t?t:PE(+t),c):e},c.outerRadius=function(e){return arguments.length?(t="function"==typeof e?e:PE(+e),c):t},c.cornerRadius=function(e){return arguments.length?(n="function"==typeof e?e:PE(+e),c):n},c.padRadius=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:PE(+e),c):r},c.startAngle=function(e){return arguments.length?(i="function"==typeof e?e:PE(+e),c):i},c.endAngle=function(e){return arguments.length?(a="function"==typeof e?e:PE(+e),c):a},c.padAngle=function(e){return arguments.length?(o="function"==typeof e?e:PE(+e),c):o},c.context=function(e){return arguments.length?(s=null==e?null:e,c):s},c}function rS(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}function iS(e){this._context=e}function aS(e){return new iS(e)}function oS(e){return e[0]}function sS(e){return e[1]}function lS(e,t){var n=PE(!0),r=null,i=aS,a=null,o=QE(s);function s(s){var l,c,u,d=(s=rS(s)).length,h=!1;for(null==r&&(a=i(u=o())),l=0;l<=d;++l)!(l<d&&n(c=s[l],l,s))===h&&((h=!h)?a.lineStart():a.lineEnd()),h&&a.point(+e(c,l,s),+t(c,l,s));if(u)return a=null,u+""||null}return e="function"==typeof e?e:void 0===e?oS:PE(e),t="function"==typeof t?t:void 0===t?sS:PE(t),s.x=function(t){return arguments.length?(e="function"==typeof t?t:PE(+t),s):e},s.y=function(e){return arguments.length?(t="function"==typeof e?e:PE(+e),s):t},s.defined=function(e){return arguments.length?(n="function"==typeof e?e:PE(!!e),s):n},s.curve=function(e){return arguments.length?(i=e,null!=r&&(a=i(r)),s):i},s.context=function(e){return arguments.length?(null==e?r=a=null:a=i(r=e),s):r},s}function cS(e,t){return t<e?-1:t>e?1:t>=e?0:NaN}function uS(e){return e}iS.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2; +// falls through +default:this._context.lineTo(e,t)}}};class dS{constructor(e,t){this._context=e,this._x=t}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}point(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2; +// falls through +default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+e)/2,this._y0,this._x0,t,e,t):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+t)/2,e,this._y0,e,t)}this._x0=e,this._y0=t}}function hS(){}function pS(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function gS(e){this._context=e}function mS(e){return new gS(e)}function _S(e){this._context=e}function bS(e){this._context=e}function fS(e,t){this._basis=new gS(e),this._beta=t}gS.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:pS(this,this._x1,this._y1); +// falls through +case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6); +// falls through +default:pS(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},_S.prototype={areaStart:hS,areaEnd:hS,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:pS(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},bS.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4; +// falls through +default:pS(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},fS.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r,i=e[0],a=t[0],o=e[n]-i,s=t[n]-a,l=-1;++l<=n;)r=l/n,this._basis.point(this._beta*e[l]+(1-this._beta)*(i+r*o),this._beta*t[l]+(1-this._beta)*(a+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};const yS=function e(t){function n(e){return 1===t?new gS(e):new fS(e,t)}return n.beta=function(t){return e(+t)},n}(.85);function vS(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function ES(e,t){this._context=e,this._k=(1-t)/6}ES.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:vS(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3; +// falls through +default:vS(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const SS=function e(t){function n(e){return new ES(e,t)}return n.tension=function(t){return e(+t)},n}(0);function TS(e,t){this._context=e,this._k=(1-t)/6}TS.prototype={areaStart:hS,areaEnd:hS,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:vS(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const CS=function e(t){function n(e){return new TS(e,t)}return n.tension=function(t){return e(+t)},n}(0);function xS(e,t){this._context=e,this._k=(1-t)/6}xS.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4; +// falls through +default:vS(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const kS=function e(t){function n(e){return new xS(e,t)}return n.tension=function(t){return e(+t)},n}(0);function AS(e,t,n){var r=e._x1,i=e._y1,a=e._x2,o=e._y2;if(e._l01_a>YE){var s=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,l=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*s-e._x0*e._l12_2a+e._x2*e._l01_2a)/l,i=(i*s-e._y0*e._l12_2a+e._y2*e._l01_2a)/l}if(e._l23_a>YE){var c=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,u=3*e._l23_a*(e._l23_a+e._l12_a);a=(a*c+e._x1*e._l23_2a-t*e._l12_2a)/u,o=(o*c+e._y1*e._l23_2a-n*e._l12_2a)/u}e._context.bezierCurveTo(r,i,a,o,e._x2,e._y2)}function wS(e,t){this._context=e,this._alpha=t}wS.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3; +// falls through +default:AS(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const NS=function e(t){function n(e){return t?new wS(e,t):new ES(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function OS(e,t){this._context=e,this._alpha=t}OS.prototype={areaStart:hS,areaEnd:hS,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:AS(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const RS=function e(t){function n(e){return t?new OS(e,t):new TS(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function IS(e,t){this._context=e,this._alpha=t}IS.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4; +// falls through +default:AS(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const DS=function e(t){function n(e){return t?new IS(e,t):new xS(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function MS(e){this._context=e}function LS(e){return e<0?-1:1}function PS(e,t,n){var r=e._x1-e._x0,i=t-e._x1,a=(e._y1-e._y0)/(r||i<0&&-0),o=(n-e._y1)/(i||r<0&&-0),s=(a*i+o*r)/(r+i);return(LS(a)+LS(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(s))||0}function jS(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function FS(e,t,n){var r=e._x0,i=e._y0,a=e._x1,o=e._y1,s=(a-r)/3;e._context.bezierCurveTo(r+s,i+s*t,a-s,o-s*n,a,o)}function BS(e){this._context=e}function US(e){this._context=new GS(e)}function GS(e){this._context=e}function zS(e){this._context=e}function $S(e){var t,n,r=e.length-1,i=new Array(r),a=new Array(r),o=new Array(r);for(i[0]=0,a[0]=2,o[0]=e[0]+2*e[1],t=1;t<r-1;++t)i[t]=1,a[t]=4,o[t]=4*e[t]+2*e[t+1];for(i[r-1]=2,a[r-1]=7,o[r-1]=8*e[r-1]+e[r],t=1;t<r;++t)n=i[t]/a[t-1],a[t]-=n,o[t]-=n*o[t-1];for(i[r-1]=o[r-1]/a[r-1],t=r-2;t>=0;--t)i[t]=(o[t]-i[t+1])/a[t];for(a[r-1]=(e[r]+i[r-1])/2,t=0;t<r-1;++t)a[t]=2*e[t+1]-i[t+1];return[i,a]}function YS(e,t){this._context=e,this._t=t}function qS(e,t,n){this.k=e,this.x=t,this.y=n} +/*! @license DOMPurify 2.4.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.4.3/LICENSE */ +function HS(e){return(HS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function VS(e,t){return(VS=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function WS(e,t,n){return(WS=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(fR){return!1}}()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&VS(i,n.prototype),i}).apply(null,arguments)}function QS(e){return function(e){if(Array.isArray(e))return KS(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return KS(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return KS(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function KS(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}MS.prototype={areaStart:hS,areaEnd:hS,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}},BS.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:FS(this,this._t0,jS(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(t=+t,(e=+e)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,FS(this,jS(this,n=PS(this,e,t)),n);break;default:FS(this,this._t0,n=PS(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(US.prototype=Object.create(BS.prototype)).point=function(e,t){BS.prototype.point.call(this,t,e)},GS.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,i,a){this._context.bezierCurveTo(t,e,r,n,a,i)}},zS.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),2===n)this._context.lineTo(e[1],t[1]);else for(var r=$S(e),i=$S(t),a=0,o=1;o<n;++a,++o)this._context.bezierCurveTo(r[0][a],i[0][a],r[1][a],i[1][a],e[o],t[o]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}},YS.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2; +// falls through +default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}},qS.prototype={constructor:qS,scale:function(e){return 1===e?this:new qS(this.k*e,this.x,this.y)},translate:function(e,t){return 0===e&0===t?this:new qS(this.k,this.x+this.k*e,this.y+this.k*t)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){return e.copy().domain(e.range().map(this.invertX,this).map(e.invert,e))},rescaleY:function(e){return e.copy().domain(e.range().map(this.invertY,this).map(e.invert,e))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}},qS.prototype;var XS=Object.hasOwnProperty,ZS=Object.setPrototypeOf,JS=Object.isFrozen,eT=Object.getPrototypeOf,tT=Object.getOwnPropertyDescriptor,nT=Object.freeze,rT=Object.seal,iT=Object.create,aT="undefined"!=typeof Reflect&&Reflect,oT=aT.apply,sT=aT.construct;oT||(oT=function(e,t,n){return e.apply(t,n)}),nT||(nT=function(e){return e}),rT||(rT=function(e){return e}),sT||(sT=function(e,t){return WS(e,QS(t))});var lT,cT=vT(Array.prototype.forEach),uT=vT(Array.prototype.pop),dT=vT(Array.prototype.push),hT=vT(String.prototype.toLowerCase),pT=vT(String.prototype.toString),gT=vT(String.prototype.match),mT=vT(String.prototype.replace),_T=vT(String.prototype.indexOf),bT=vT(String.prototype.trim),fT=vT(RegExp.prototype.test),yT=(lT=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return sT(lT,t)});function vT(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return oT(e,t,r)}}function ET(e,t,n){n=n||hT,ZS&&ZS(e,null);for(var r=t.length;r--;){var i=t[r];if("string"==typeof i){var a=n(i);a!==i&&(JS(t)||(t[r]=a),i=a)}e[i]=!0}return e}function ST(e){var t,n=iT(null);for(t in e)!0===oT(XS,e,[t])&&(n[t]=e[t]);return n}function TT(e,t){for(;null!==e;){var n=tT(e,t);if(n){if(n.get)return vT(n.get);if("function"==typeof n.value)return vT(n.value)}e=eT(e)}return function(e){return null}}var CT=nT(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),xT=nT(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),kT=nT(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),AT=nT(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),wT=nT(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),NT=nT(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),OT=nT(["#text"]),RT=nT(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),IT=nT(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),DT=nT(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),MT=nT(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),LT=rT(/\{\{[\w\W]*|[\w\W]*\}\}/gm),PT=rT(/<%[\w\W]*|[\w\W]*%>/gm),jT=rT(/\${[\w\W]*}/gm),FT=rT(/^data-[\-\w.\u00B7-\uFFFF]/),BT=rT(/^aria-[\-\w]+$/),UT=rT(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),GT=rT(/^(?:\w+script|data):/i),zT=rT(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),$T=rT(/^html$/i);var YT=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window,n=function(t){return e(t)};if(n.version="2.4.3",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;var r=t.document,i=t.document,a=t.DocumentFragment,o=t.HTMLTemplateElement,s=t.Node,l=t.Element,c=t.NodeFilter,u=t.NamedNodeMap,d=void 0===u?t.NamedNodeMap||t.MozNamedAttrMap:u,h=t.HTMLFormElement,p=t.DOMParser,g=t.trustedTypes,m=l.prototype,_=TT(m,"cloneNode"),b=TT(m,"nextSibling"),f=TT(m,"childNodes"),y=TT(m,"parentNode");if("function"==typeof o){var v=i.createElement("template");v.content&&v.content.ownerDocument&&(i=v.content.ownerDocument)}var E=function(e,t){if("object"!==HS(e)||"function"!=typeof e.createPolicy)return null;var n=null,r="data-tt-policy-suffix";t.currentScript&&t.currentScript.hasAttribute(r)&&(n=t.currentScript.getAttribute(r));var i="dompurify"+(n?"#"+n:"");try{return e.createPolicy(i,{createHTML:function(e){return e},createScriptURL:function(e){return e}})}catch(a){return null}}(g,r),S=E?E.createHTML(""):"",T=i,C=T.implementation,x=T.createNodeIterator,k=T.createDocumentFragment,A=T.getElementsByTagName,w=r.importNode,N={};try{N=ST(i).documentMode?i.documentMode:{}}catch($e){}var O={};n.isSupported="function"==typeof y&&C&&void 0!==C.createHTMLDocument&&9!==N;var R,I,D=LT,M=PT,L=jT,P=FT,j=BT,F=GT,B=zT,U=UT,G=null,z=ET({},[].concat(QS(CT),QS(xT),QS(kT),QS(wT),QS(OT))),$=null,Y=ET({},[].concat(QS(RT),QS(IT),QS(DT),QS(MT))),q=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),H=null,V=null,W=!0,Q=!0,K=!1,X=!1,Z=!1,J=!1,ee=!1,te=!1,ne=!1,re=!1,ie=!0,ae=!1,oe=!0,se=!1,le={},ce=null,ue=ET({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),de=null,he=ET({},["audio","video","img","source","image","track"]),pe=null,ge=ET({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),me="http://www.w3.org/1998/Math/MathML",_e="http://www.w3.org/2000/svg",be="http://www.w3.org/1999/xhtml",fe=be,ye=!1,ve=null,Ee=ET({},[me,_e,be],pT),Se=["application/xhtml+xml","text/html"],Te=null,Ce=i.createElement("form"),xe=function(e){return e instanceof RegExp||e instanceof Function},ke=function(e){Te&&Te===e||(e&&"object"===HS(e)||(e={}),e=ST(e),R=// eslint-disable-next-line unicorn/prefer-includes +R=-1===Se.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,I="application/xhtml+xml"===R?pT:hT,G="ALLOWED_TAGS"in e?ET({},e.ALLOWED_TAGS,I):z,$="ALLOWED_ATTR"in e?ET({},e.ALLOWED_ATTR,I):Y,ve="ALLOWED_NAMESPACES"in e?ET({},e.ALLOWED_NAMESPACES,pT):Ee,pe="ADD_URI_SAFE_ATTR"in e?ET(ST(ge), +// eslint-disable-line indent +e.ADD_URI_SAFE_ATTR, +// eslint-disable-line indent +I):ge,de="ADD_DATA_URI_TAGS"in e?ET(ST(he), +// eslint-disable-line indent +e.ADD_DATA_URI_TAGS, +// eslint-disable-line indent +I):he,ce="FORBID_CONTENTS"in e?ET({},e.FORBID_CONTENTS,I):ue,H="FORBID_TAGS"in e?ET({},e.FORBID_TAGS,I):{},V="FORBID_ATTR"in e?ET({},e.FORBID_ATTR,I):{},le="USE_PROFILES"in e&&e.USE_PROFILES,W=!1!==e.ALLOW_ARIA_ATTR,Q=!1!==e.ALLOW_DATA_ATTR,K=e.ALLOW_UNKNOWN_PROTOCOLS||!1,X=e.SAFE_FOR_TEMPLATES||!1,Z=e.WHOLE_DOCUMENT||!1,te=e.RETURN_DOM||!1,ne=e.RETURN_DOM_FRAGMENT||!1,re=e.RETURN_TRUSTED_TYPE||!1,ee=e.FORCE_BODY||!1,ie=!1!==e.SANITIZE_DOM,ae=e.SANITIZE_NAMED_PROPS||!1,oe=!1!==e.KEEP_CONTENT,se=e.IN_PLACE||!1,U=e.ALLOWED_URI_REGEXP||U,fe=e.NAMESPACE||be,e.CUSTOM_ELEMENT_HANDLING&&xe(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(q.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&xe(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(q.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(q.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),X&&(Q=!1),ne&&(te=!0),le&&(G=ET({},QS(OT)),$=[],!0===le.html&&(ET(G,CT),ET($,RT)),!0===le.svg&&(ET(G,xT),ET($,IT),ET($,MT)),!0===le.svgFilters&&(ET(G,kT),ET($,IT),ET($,MT)),!0===le.mathMl&&(ET(G,wT),ET($,DT),ET($,MT))),e.ADD_TAGS&&(G===z&&(G=ST(G)),ET(G,e.ADD_TAGS,I)),e.ADD_ATTR&&($===Y&&($=ST($)),ET($,e.ADD_ATTR,I)),e.ADD_URI_SAFE_ATTR&&ET(pe,e.ADD_URI_SAFE_ATTR,I),e.FORBID_CONTENTS&&(ce===ue&&(ce=ST(ce)),ET(ce,e.FORBID_CONTENTS,I)),oe&&(G["#text"]=!0),Z&&ET(G,["html","head","body"]),G.table&&(ET(G,["tbody"]),delete H.tbody),nT&&nT(e),Te=e)},Ae=ET({},["mi","mo","mn","ms","mtext"]),we=ET({},["foreignobject","desc","title","annotation-xml"]),Ne=ET({},["title","style","font","a","script"]),Oe=ET({},xT);ET(Oe,kT),ET(Oe,AT);var Re=ET({},wT);ET(Re,NT);var Ie=function(e){dT(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch($e){try{e.outerHTML=S}catch(t){e.remove()}}},De=function(e,t){try{dT(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch($e){dT(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!$[e])if(te||ne)try{Ie(t)}catch($e){}else try{t.setAttribute(e,"")}catch($e){}},Me=function(e){var t,n;if(ee)e="<remove></remove>"+e;else{var r=gT(e,/^[\r\n\t ]+/);n=r&&r[0]}"application/xhtml+xml"===R&&fe===be&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");var a=E?E.createHTML(e):e;if(fe===be)try{t=(new p).parseFromString(a,R)}catch($e){}if(!t||!t.documentElement){t=C.createDocument(fe,"template",null);try{t.documentElement.innerHTML=ye?S:a}catch($e){}}var o=t.body||t.documentElement;return e&&n&&o.insertBefore(i.createTextNode(n),o.childNodes[0]||null),fe===be?A.call(t,Z?"html":"body")[0]:Z?t.documentElement:o},Le=function(e){return x.call(e.ownerDocument||e,e, +// eslint-disable-next-line no-bitwise +c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT,null,!1)},Pe=function(e){return"object"===HS(s)?e instanceof s:e&&"object"===HS(e)&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},je=function(e,t,r){O[e]&&cT(O[e],(function(e){e.call(n,t,r,Te)}))},Fe=function(e){var t,r;if(je("beforeSanitizeElements",e,null),(r=e)instanceof h&&("string"!=typeof r.nodeName||"string"!=typeof r.textContent||"function"!=typeof r.removeChild||!(r.attributes instanceof d)||"function"!=typeof r.removeAttribute||"function"!=typeof r.setAttribute||"string"!=typeof r.namespaceURI||"function"!=typeof r.insertBefore||"function"!=typeof r.hasChildNodes))return Ie(e),!0;if(fT(/[\u0080-\uFFFF]/,e.nodeName))return Ie(e),!0;var i=I(e.nodeName);if(je("uponSanitizeElement",e,{tagName:i,allowedTags:G}),e.hasChildNodes()&&!Pe(e.firstElementChild)&&(!Pe(e.content)||!Pe(e.content.firstElementChild))&&fT(/<[/\w]/g,e.innerHTML)&&fT(/<[/\w]/g,e.textContent))return Ie(e),!0;if("select"===i&&fT(/<template/i,e.innerHTML))return Ie(e),!0;if(!G[i]||H[i]){if(!H[i]&&Ue(i)){if(q.tagNameCheck instanceof RegExp&&fT(q.tagNameCheck,i))return!1;if(q.tagNameCheck instanceof Function&&q.tagNameCheck(i))return!1}if(oe&&!ce[i]){var a=y(e)||e.parentNode,o=f(e)||e.childNodes;if(o&&a)for(var s=o.length-1;s>=0;--s)a.insertBefore(_(o[s],!0),b(e))}return Ie(e),!0}return e instanceof l&&!function(e){var t=y(e);t&&t.tagName||(t={namespaceURI:fe,tagName:"template"});var n=hT(e.tagName),r=hT(t.tagName);return!!ve[e.namespaceURI]&&(e.namespaceURI===_e?t.namespaceURI===be?"svg"===n:t.namespaceURI===me?"svg"===n&&("annotation-xml"===r||Ae[r]):Boolean(Oe[n]):e.namespaceURI===me?t.namespaceURI===be?"math"===n:t.namespaceURI===_e?"math"===n&&we[r]:Boolean(Re[n]):e.namespaceURI===be?!(t.namespaceURI===_e&&!we[r])&&!(t.namespaceURI===me&&!Ae[r])&&!Re[n]&&(Ne[n]||!Oe[n]):!("application/xhtml+xml"!==R||!ve[e.namespaceURI]))}(e)?(Ie(e),!0):"noscript"!==i&&"noembed"!==i||!fT(/<\/no(script|embed)/i,e.innerHTML)?(X&&3===e.nodeType&&(t=e.textContent,t=mT(t,D," "),t=mT(t,M," "),t=mT(t,L," "),e.textContent!==t&&(dT(n.removed,{element:e.cloneNode()}),e.textContent=t)),je("afterSanitizeElements",e,null),!1):(Ie(e),!0)},Be=function(e,t,n){if(ie&&("id"===t||"name"===t)&&(n in i||n in Ce))return!1;if(Q&&!V[t]&&fT(P,t));else if(W&&fT(j,t));else if(!$[t]||V[t]){if( +// First condition does a very basic check if a) it's basically a valid custom element tagname AND +// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck +// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck +!(Ue(e)&&(q.tagNameCheck instanceof RegExp&&fT(q.tagNameCheck,e)||q.tagNameCheck instanceof Function&&q.tagNameCheck(e))&&(q.attributeNameCheck instanceof RegExp&&fT(q.attributeNameCheck,t)||q.attributeNameCheck instanceof Function&&q.attributeNameCheck(t))||// Alternative, second condition checks if it's an `is`-attribute, AND +// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck +"is"===t&&q.allowCustomizedBuiltInElements&&(q.tagNameCheck instanceof RegExp&&fT(q.tagNameCheck,n)||q.tagNameCheck instanceof Function&&q.tagNameCheck(n))))return!1}else if(pe[t]);else if(fT(U,mT(n,B,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==_T(n,"data:")||!de[e]){if(K&&!fT(F,mT(n,B,"")));else if(n)return!1}else;return!0},Ue=function(e){return e.indexOf("-")>0},Ge=function(e){var t,r,i,a;je("beforeSanitizeAttributes",e,null);var o=e.attributes;if(o){var s={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:$};for(a=o.length;a--;){var l=t=o[a],c=l.name,u=l.namespaceURI;if(r="value"===c?t.value:bT(t.value),i=I(c),s.attrName=i,s.attrValue=r,s.keepAttr=!0,s.forceKeepAttr=void 0,je("uponSanitizeAttribute",e,s),r=s.attrValue,!s.forceKeepAttr&&(De(c,e),s.keepAttr))if(fT(/\/>/i,r))De(c,e);else{X&&(r=mT(r,D," "),r=mT(r,M," "),r=mT(r,L," "));var d=I(e.nodeName);if(Be(d,i,r)){if(!ae||"id"!==i&&"name"!==i||(De(c,e),r="user-content-"+r),E&&"object"===HS(g)&&"function"==typeof g.getAttributeType)if(u);else switch(g.getAttributeType(d,i)){case"TrustedHTML":r=E.createHTML(r);break;case"TrustedScriptURL":r=E.createScriptURL(r)}try{u?e.setAttributeNS(u,c,r):e.setAttribute(c,r),uT(n.removed)}catch($e){}}}}je("afterSanitizeAttributes",e,null)}},ze=function e(t){var n,r=Le(t);for(je("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)je("uponSanitizeShadowNode",n,null),Fe(n)||(n.content instanceof a&&e(n.content),Ge(n));je("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(e){var i,o,l,c,u,d=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if((ye=!e)&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Pe(e)){if("function"!=typeof e.toString)throw yT("toString is not a function");if("string"!=typeof(e=e.toString()))throw yT("dirty is not a string, aborting")}if(!n.isSupported){if("object"===HS(t.toStaticHTML)||"function"==typeof t.toStaticHTML){if("string"==typeof e)return t.toStaticHTML(e);if(Pe(e))return t.toStaticHTML(e.outerHTML)}return e}if(J||ke(d),n.removed=[],"string"==typeof e&&(se=!1),se){if(e.nodeName){var h=I(e.nodeName);if(!G[h]||H[h])throw yT("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof s)1===(o=(i=Me("\x3c!----\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===o.nodeName||"HTML"===o.nodeName?i=o:i.appendChild(o);else{if(!te&&!X&&!Z&&// eslint-disable-next-line unicorn/prefer-includes +-1===e.indexOf("<"))return E&&re?E.createHTML(e):e;if(!(i=Me(e)))return te?null:re?S:""}i&&ee&&Ie(i.firstChild);for(var p=Le(se?e:i);l=p.nextNode();)3===l.nodeType&&l===c||Fe(l)||(l.content instanceof a&&ze(l.content),Ge(l),c=l);if(c=null,se)return e;if(te){if(ne)for(u=k.call(i.ownerDocument);i.firstChild;)u.appendChild(i.firstChild);else u=i;return $.shadowroot&&(u=w.call(r,u,!0)),u}var g=Z?i.outerHTML:i.innerHTML;return Z&&G["!doctype"]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&fT($T,i.ownerDocument.doctype.name)&&(g="<!DOCTYPE "+i.ownerDocument.doctype.name+">\n"+g),X&&(g=mT(g,D," "),g=mT(g,M," "),g=mT(g,L," ")),E&&re?E.createHTML(g):g},n.setConfig=function(e){ke(e),J=!0},n.clearConfig=function(){Te=null,J=!1},n.isValidAttribute=function(e,t,n){Te||ke({});var r=I(e),i=I(t);return Be(r,i,n)},n.addHook=function(e,t){"function"==typeof t&&(O[e]=O[e]||[],dT(O[e],t))},n.removeHook=function(e){if(O[e])return uT(O[e])},n.removeHooks=function(e){O[e]&&(O[e]=[])},n.removeAllHooks=function(){O={}},n}();const qT={ +/* CLAMP */ +min:{r:0,g:0,b:0,s:0,l:0,a:0},max:{r:255,g:255,b:255,h:360,s:100,l:100,a:1},clamp:{r:e=>e>=255?255:e<0?0:e,g:e=>e>=255?255:e<0?0:e,b:e=>e>=255?255:e<0?0:e,h:e=>e%360,s:e=>e>=100?100:e<0?0:e,l:e=>e>=100?100:e<0?0:e,a:e=>e>=1?1:e<0?0:e}, +/* CONVERSION */ +//SOURCE: https://planetcalc.com/7779 +toLinear:e=>{const t=e/255;return e>.03928?Math.pow((t+.055)/1.055,2.4):t/12.92}, +//SOURCE: https://gist.github.com/mjackson/5311256 +hue2rgb:(e,t,n)=>(n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e),hsl2rgb:({h:e,s:t,l:n},r)=>{if(!t)return 2.55*n;e/=360,t/=100;const i=(n/=100)<.5?n*(1+t):n+t-n*t,a=2*n-i;switch(r){case"r":return 255*qT.hue2rgb(a,i,e+1/3);case"g":return 255*qT.hue2rgb(a,i,e);case"b":return 255*qT.hue2rgb(a,i,e-1/3)}},rgb2hsl:({r:e,g:t,b:n},r)=>{e/=255,t/=255,n/=255;const i=Math.max(e,t,n),a=Math.min(e,t,n),o=(i+a)/2;if("l"===r)return 100*o;if(i===a)return 0;const s=i-a;if("s"===r)return 100*(o>.5?s/(2-i-a):s/(i+a));switch(i){case e:return 60*((t-n)/s+(t<n?6:0));case t:return 60*((n-e)/s+2);case n:return 60*((e-t)/s+4);default:return-1}}},HT={channel:qT,lang:{ +/* API */ +clamp:(e,t,n)=>t>n?Math.min(t,Math.max(n,e)):Math.min(n,Math.max(t,e)),round:e=>Math.round(1e10*e)/1e10},unit:{ +/* API */ +dec2hex:e=>{const t=Math.round(e).toString(16);return t.length>1?t:`0${t}`}}},VT={};for(let c=0;c<=255;c++)VT[c]=HT.unit.dec2hex(c);const WT=0,QT=1,KT=2;class XT{constructor(){this.type=WT} +/* API */get(){return this.type}set(e){if(this.type&&this.type!==e)throw new Error("Cannot change both RGB and HSL channels at the same time");this.type=e}reset(){this.type=WT}is(e){return this.type===e}}const ZT=new class{ +/* CONSTRUCTOR */ +constructor(e,t){this.color=t,this.changed=!1,this.data=e,this.type=new XT} +/* API */set(e,t){return this.color=t,this.changed=!1,this.data=e,this.type.type=WT,this} +/* HELPERS */_ensureHSL(){const e=this.data,{h:t,s:n,l:r}=e;void 0===t&&(e.h=HT.channel.rgb2hsl(e,"h")),void 0===n&&(e.s=HT.channel.rgb2hsl(e,"s")),void 0===r&&(e.l=HT.channel.rgb2hsl(e,"l"))}_ensureRGB(){const e=this.data,{r:t,g:n,b:r}=e;void 0===t&&(e.r=HT.channel.hsl2rgb(e,"r")),void 0===n&&(e.g=HT.channel.hsl2rgb(e,"g")),void 0===r&&(e.b=HT.channel.hsl2rgb(e,"b"))} +/* GETTERS */get r(){const e=this.data,t=e.r;return this.type.is(KT)||void 0===t?(this._ensureHSL(),HT.channel.hsl2rgb(e,"r")):t}get g(){const e=this.data,t=e.g;return this.type.is(KT)||void 0===t?(this._ensureHSL(),HT.channel.hsl2rgb(e,"g")):t}get b(){const e=this.data,t=e.b;return this.type.is(KT)||void 0===t?(this._ensureHSL(),HT.channel.hsl2rgb(e,"b")):t}get h(){const e=this.data,t=e.h;return this.type.is(QT)||void 0===t?(this._ensureRGB(),HT.channel.rgb2hsl(e,"h")):t}get s(){const e=this.data,t=e.s;return this.type.is(QT)||void 0===t?(this._ensureRGB(),HT.channel.rgb2hsl(e,"s")):t}get l(){const e=this.data,t=e.l;return this.type.is(QT)||void 0===t?(this._ensureRGB(),HT.channel.rgb2hsl(e,"l")):t}get a(){return this.data.a} +/* SETTERS */set r(e){this.type.set(QT),this.changed=!0,this.data.r=e}set g(e){this.type.set(QT),this.changed=!0,this.data.g=e}set b(e){this.type.set(QT),this.changed=!0,this.data.b=e}set h(e){this.type.set(KT),this.changed=!0,this.data.h=e}set s(e){this.type.set(KT),this.changed=!0,this.data.s=e}set l(e){this.type.set(KT),this.changed=!0,this.data.l=e}set a(e){this.changed=!0,this.data.a=e}}({r:0,g:0,b:0,a:0},"transparent"),JT={ +/* VARIABLES */ +re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i, +/* API */ +parse:e=>{if(35!==e.charCodeAt(0))return;const t=e.match(JT.re);if(!t)return;const n=t[1],r=parseInt(n,16),i=n.length,a=i%4==0,o=i>4,s=o?1:17,l=o?8:4,c=a?0:-1,u=o?255:15;return ZT.set({r:(r>>l*(c+3)&u)*s,g:(r>>l*(c+2)&u)*s,b:(r>>l*(c+1)&u)*s,a:a?(r&u)*s/255:1},e)},stringify:e=>{const{r:t,g:n,b:r,a:i}=e;return i<1?`#${VT[Math.round(t)]}${VT[Math.round(n)]}${VT[Math.round(r)]}${VT[Math.round(255*i)]}`:`#${VT[Math.round(t)]}${VT[Math.round(n)]}${VT[Math.round(r)]}`}},eC={ +/* VARIABLES */ +re:/^hsla?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(?:deg|grad|rad|turn)?)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(%)?))?\s*?\)$/i,hueRe:/^(.+?)(deg|grad|rad|turn)$/i, +/* HELPERS */ +_hue2deg:e=>{const t=e.match(eC.hueRe);if(t){const[,e,n]=t;switch(n){case"grad":return HT.channel.clamp.h(.9*parseFloat(e));case"rad":return HT.channel.clamp.h(180*parseFloat(e)/Math.PI);case"turn":return HT.channel.clamp.h(360*parseFloat(e))}}return HT.channel.clamp.h(parseFloat(e))}, +/* API */ +parse:e=>{const t=e.charCodeAt(0);if(104!==t&&72!==t)return;const n=e.match(eC.re);if(!n)return;const[,r,i,a,o,s]=n;return ZT.set({h:eC._hue2deg(r),s:HT.channel.clamp.s(parseFloat(i)),l:HT.channel.clamp.l(parseFloat(a)),a:o?HT.channel.clamp.a(s?parseFloat(o)/100:parseFloat(o)):1},e)},stringify:e=>{const{h:t,s:n,l:r,a:i}=e;return i<1?`hsla(${HT.lang.round(t)}, ${HT.lang.round(n)}%, ${HT.lang.round(r)}%, ${i})`:`hsl(${HT.lang.round(t)}, ${HT.lang.round(n)}%, ${HT.lang.round(r)}%)`}},tC={ +/* VARIABLES */ +colors:{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyanaqua:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",transparent:"#00000000",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}, +/* API */ +parse:e=>{e=e.toLowerCase();const t=tC.colors[e];if(t)return JT.parse(t)},stringify:e=>{const t=JT.stringify(e);for(const n in tC.colors)if(tC.colors[n]===t)return n}},nC={ +/* VARIABLES */ +re:/^rgba?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?)))?\s*?\)$/i, +/* API */ +parse:e=>{const t=e.charCodeAt(0);if(114!==t&&82!==t)return;const n=e.match(nC.re);if(!n)return;const[,r,i,a,o,s,l,c,u]=n;return ZT.set({r:HT.channel.clamp.r(i?2.55*parseFloat(r):parseFloat(r)),g:HT.channel.clamp.g(o?2.55*parseFloat(a):parseFloat(a)),b:HT.channel.clamp.b(l?2.55*parseFloat(s):parseFloat(s)),a:c?HT.channel.clamp.a(u?parseFloat(c)/100:parseFloat(c)):1},e)},stringify:e=>{const{r:t,g:n,b:r,a:i}=e;return i<1?`rgba(${HT.lang.round(t)}, ${HT.lang.round(n)}, ${HT.lang.round(r)}, ${HT.lang.round(i)})`:`rgb(${HT.lang.round(t)}, ${HT.lang.round(n)}, ${HT.lang.round(r)})`}},rC={ +/* VARIABLES */ +format:{keyword:tC,hex:JT,rgb:nC,rgba:nC,hsl:eC,hsla:eC}, +/* API */ +parse:e=>{if("string"!=typeof e)return e;const t=JT.parse(e)||nC.parse(e)||eC.parse(e)||tC.parse(e);if(t)return t;throw new Error(`Unsupported color format: "${e}"`)},stringify:e=>!e.changed&&e.color?e.color:e.type.is(KT)||void 0===e.data.r?eC.stringify(e):e.a<1||!Number.isInteger(e.r)||!Number.isInteger(e.g)||!Number.isInteger(e.b)?nC.stringify(e):JT.stringify(e)},iC=(e,t)=>{const n=rC.parse(e);for(const r in t)n[r]=HT.channel.clamp[r](t[r]);return rC.stringify(n)},aC=(e,t,n=0,r=1)=>{if("number"!=typeof e)return iC(e,{a:t});const i=ZT.set({r:HT.channel.clamp.r(e),g:HT.channel.clamp.g(t),b:HT.channel.clamp.b(n),a:HT.channel.clamp.a(r)});return rC.stringify(i)},oC=(e,t,n)=>{const r=rC.parse(e),i=r[t],a=HT.channel.clamp[t](i+n);return i!==a&&(r[t]=a),rC.stringify(r)},sC=(e,t)=>oC(e,"l",t),lC=(e,t)=>oC(e,"l",-t),cC=(e,t)=>{const n=rC.parse(e),r={};for(const i in t)t[i]&&(r[i]=n[i]+t[i]);return iC(e,r)},uC=(e,t=100)=>{const n=rC.parse(e);return n.r=255-n.r,n.g=255-n.g,n.b=255-n.b,((e,t,n=50)=>{const{r:r,g:i,b:a,a:o}=rC.parse(e),{r:s,g:l,b:c,a:u}=rC.parse(t),d=n/100,h=2*d-1,p=o-u,g=((h*p==-1?h:(h+p)/(1+h*p))+1)/2,m=1-g;return aC(r*g+s*m,i*g+l*m,a*g+c*m,o*d+u*(1-d))})(n,e,t)};var dC="object"==typeof global&&global&&global.Object===Object&&global,hC="object"==typeof self&&self&&self.Object===Object&&self,pC=dC||hC||Function("return this")(),gC=pC.Symbol,mC=Object.prototype,_C=mC.hasOwnProperty,bC=mC.toString,fC=gC?gC.toStringTag:void 0;var yC=Object.prototype.toString;var vC=gC?gC.toStringTag:void 0;function EC(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":vC&&vC in Object(e)?function(e){var t=_C.call(e,fC),n=e[fC];try{e[fC]=void 0;var r=!0}catch(fR){}var i=bC.call(e);return r&&(t?e[fC]=n:delete e[fC]),i}(e):function(e){return yC.call(e)}(e)}function SC(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function TC(e){if(!SC(e))return!1;var t=EC(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}var CC,xC=pC["__core-js_shared__"],kC=(CC=/[^.]+$/.exec(xC&&xC.keys&&xC.keys.IE_PROTO||""))?"Symbol(src)_1."+CC:"";var AC=Function.prototype.toString;function wC(e){if(null!=e){try{return AC.call(e)}catch(fR){}try{return e+""}catch(fR){}}return""}var NC=/^\[object .+?Constructor\]$/,OC=Function.prototype,RC=Object.prototype,IC=OC.toString,DC=RC.hasOwnProperty,MC=RegExp("^"+IC.call(DC).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function LC(e){return!(!SC(e)||function(e){return!!kC&&kC in e}(e))&&(TC(e)?MC:NC).test(wC(e))}function PC(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return LC(n)?n:void 0}var jC=PC(Object,"create");var FC=Object.prototype.hasOwnProperty;var BC=Object.prototype.hasOwnProperty;function UC(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function GC(e,t){return e===t||e!=e&&t!=t}function zC(e,t){for(var n=e.length;n--;)if(GC(e[n][0],t))return n;return-1}UC.prototype.clear=function(){this.__data__=jC?jC(null):{},this.size=0},UC.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},UC.prototype.get=function(e){var t=this.__data__;if(jC){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return FC.call(t,e)?t[e]:void 0},UC.prototype.has=function(e){var t=this.__data__;return jC?void 0!==t[e]:BC.call(t,e)},UC.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=jC&&void 0===t?"__lodash_hash_undefined__":t,this};var $C=Array.prototype.splice;function YC(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}YC.prototype.clear=function(){this.__data__=[],this.size=0},YC.prototype.delete=function(e){var t=this.__data__,n=zC(t,e);return!(n<0)&&(n==t.length-1?t.pop():$C.call(t,n,1),--this.size,!0)},YC.prototype.get=function(e){var t=this.__data__,n=zC(t,e);return n<0?void 0:t[n][1]},YC.prototype.has=function(e){return zC(this.__data__,e)>-1},YC.prototype.set=function(e,t){var n=this.__data__,r=zC(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};var qC=PC(pC,"Map");function HC(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function VC(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}VC.prototype.clear=function(){this.size=0,this.__data__={hash:new UC,map:new(qC||YC),string:new UC}},VC.prototype.delete=function(e){var t=HC(this,e).delete(e);return this.size-=t?1:0,t},VC.prototype.get=function(e){return HC(this,e).get(e)},VC.prototype.has=function(e){return HC(this,e).has(e)},VC.prototype.set=function(e,t){var n=HC(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};function WC(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=e.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new(WC.Cache||VC),n}WC.Cache=VC;var QC="comm",KC="rule",XC="decl",ZC=Math.abs,JC=String.fromCharCode;function ex(e){return e.trim()}function tx(e,t,n){return e.replace(t,n)}function nx(e,t,n){return e.indexOf(t,n)}function rx(e,t){return 0|e.charCodeAt(t)}function ix(e,t,n){return e.slice(t,n)}function ax(e){return e.length}function ox(e,t){return t.push(e),e}var sx=1,lx=1,cx=0,ux=0,dx=0,hx="";function px(e,t,n,r,i,a,o,s){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:sx,column:lx,length:o,return:"",siblings:s}}function gx(){return dx=ux<cx?rx(hx,ux++):0,lx++,10===dx&&(lx=1,sx++),dx}function mx(){return rx(hx,ux)}function _x(){return ux}function bx(e,t){return ix(hx,e,t)}function fx(e){switch(e){ +// \0 \t \n \r \s whitespace token +case 0:case 9:case 10:case 13:case 32:return 5; +// ! + , / > @ ~ isolate token +case 33:case 43:case 44:case 47:case 62:case 64:case 126: +// ; { } breakpoint token +case 59:case 123:case 125:return 4; +// : accompanied token +case 58:return 3; +// " ' ( [ opening delimit token +case 34:case 39:case 40:case 91:return 2; +// ) ] closing delimit token +case 41:case 93:return 1}return 0}function yx(e){return ex(bx(ux-1,Sx(91===e?e+2:40===e?e+1:e)))}function vx(e){for(;(dx=mx())&&dx<33;)gx();return fx(e)>2||fx(dx)>3?"":" "}function Ex(e,t){for(;--t&&gx()&&!(dx<48||dx>102||dx>57&&dx<65||dx>70&&dx<97););return bx(e,_x()+(t<6&&32==mx()&&32==gx()))}function Sx(e){for(;gx();)switch(dx){ +// ] ) " ' +case e:return ux; +// " ' +case 34:case 39:34!==e&&39!==e&&Sx(dx);break; +// ( +case 40:41===e&&Sx(e);break; +// \ +case 92:gx()}return ux}function Tx(e,t){for(;gx()&&e+dx!==57&&(e+dx!==84||47!==mx()););return"/*"+bx(t,ux-1)+"*"+JC(47===e?e:gx())}function Cx(e){for(;!fx(mx());)gx();return bx(e,ux)}function xx(e){return function(e){return hx="",e}(kx("",null,null,null,[""],e=function(e){return sx=lx=1,cx=ax(hx=e),ux=0,[]}(e),0,[0],e))}function kx(e,t,n,r,i,a,o,s,l){for(var c=0,u=0,d=o,h=0,p=0,g=0,m=1,_=1,b=1,f=0,y="",v=i,E=a,S=r,T=y;_;)switch(g=f,f=gx()){ +// ( +case 40:if(108!=g&&58==rx(T,d-1)){-1!=nx(T+=tx(yx(f),"&","&\f"),"&\f",ZC(c?s[c-1]:0))&&(b=-1);break} +// " ' [ +case 34:case 39:case 91:T+=yx(f);break; +// \t \n \r \s +case 9:case 10:case 13:case 32:T+=vx(g);break; +// \ +case 92:T+=Ex(_x()-1,7);continue; +// / +case 47:switch(mx()){case 42:case 47:ox(wx(Tx(gx(),_x()),t,n,l),l),5!=fx(g||1)&&5!=fx(mx()||1)||!ax(T)||" "===ix(T,-1,void 0)||(T+=" ");break;default:T+="/"}break; +// { +case 123*m:s[c++]=ax(T)*b; +// } ; \0 +case 125*m:case 59:case 0:switch(f){ +// \0 } +case 0:case 125:_=0; +// ; +case 59+u:-1==b&&(T=tx(T,/\f/g,"")),p>0&&(ax(T)-d||0===m&&47===g)&&ox(p>32?Nx(T+";",r,n,d-1,l):Nx(tx(T," ","")+";",r,n,d-2,l),l);break; +// @ ; +case 59:T+=";"; +// { rule/at-rule +default:if(ox(S=Ax(T,t,n,c,u,i,s,y,v=[],E=[],d,a),a),123===f)if(0===u)kx(T,t,S,S,v,a,d,s,E);else{switch(h){ +// c(ontainer) +case 99:if(110===rx(T,3))break; +// l(ayer) +case 108:if(97===rx(T,2))break;default:u=0; +// d(ocument) m(edia) s(upports) +case 100:case 109:case 115:}u?kx(e,S,S,r&&ox(Ax(e,S,S,0,0,i,s,y,i,v=[],d,E),E),i,E,d,s,r?v:E):kx(T,S,S,S,[""],E,0,s,E)}}c=u=p=0,m=b=1,y=T="",d=o;break; +// : +case 58:d=1+ax(T),p=g;default:if(m<1)if(123==f)--m;else if(125==f&&0==m++&&125==(dx=ux>0?rx(hx,--ux):0,lx--,10===dx&&(lx=1,sx--),dx))continue;switch(T+=JC(f),f*m){ +// & +case 38:b=u>0?1:(T+="\f",-1);break; +// , +case 44:s[c++]=(ax(T)-1)*b,b=1;break; +// @ +case 64:45===mx()&&(T+=yx(gx())),h=mx(),u=d=ax(y=T+=Cx(_x())),f++;break; +// - +case 45:45===g&&2==ax(T)&&(m=0)}}return a}function Ax(e,t,n,r,i,a,o,s,l,c,u,d){for(var h=i-1,p=0===i?a:[""],g=function(e){return e.length}(p),m=0,_=0,b=0;m<r;++m)for(var f=0,y=ix(e,h+1,h=ZC(_=o[m])),v=e;f<g;++f)(v=ex(_>0?p[f]+" "+y:tx(y,/&\f/g,p[f])))&&(l[b++]=v);return px(e,t,n,0===i?KC:s,l,c,u,d)}function wx(e,t,n,r){return px(e,t,n,QC,JC(dx),ix(e,2,-2),0,r)}function Nx(e,t,n,r,i){return px(e,t,n,XC,ix(e,0,r),ix(e,r+1,-1),r,i)}function Ox(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function Rx(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case"@namespace":case XC:return e.return=e.return||e.value;case QC:return"";case"@keyframes":return e.return=e.value+"{"+Ox(e.children,r)+"}";case KC:if(!ax(e.value=e.props.join(",")))return""}return ax(n=Ox(e.children,r))?e.return=e.value+"{"+n+"}":""}function Ix(e){return null!=e&&"object"==typeof e}function Dx(e){return"symbol"==typeof e||Ix(e)&&"[object Symbol]"==EC(e)}function Mx(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}var Lx=Array.isArray,Px=gC?gC.prototype:void 0,jx=Px?Px.toString:void 0;function Fx(e){if("string"==typeof e)return e;if(Lx(e))return Mx(e,Fx)+"";if(Dx(e))return jx?jx.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}var Bx=/\s/;var Ux=/^\s+/;function Gx(e){return e?e.slice(0,function(e){for(var t=e.length;t--&&Bx.test(e.charAt(t)););return t}(e)+1).replace(Ux,""):e}var zx=/^[-+]0x[0-9a-f]+$/i,$x=/^0b[01]+$/i,Yx=/^0o[0-7]+$/i,qx=parseInt;var Hx=1/0;function Vx(e){return e?(e=function(e){if("number"==typeof e)return e;if(Dx(e))return NaN;if(SC(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=SC(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Gx(e);var n=$x.test(e);return n||Yx.test(e)?qx(e.slice(2),n?2:8):zx.test(e)?NaN:+e}(e))===Hx||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function Wx(e){return e}var Qx=PC(pC,"WeakMap"),Kx=Object.create,Xx=function(){function e(){}return function(t){if(!SC(t))return{};if(Kx)return Kx(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function Zx(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var Jx=Date.now;function ek(e){return function(){return e}}var tk=function(){try{var e=PC(Object,"defineProperty");return e({},"",{}),e}catch(fR){}}(),nk=tk?function(e,t){return tk(e,"toString",{configurable:!0,enumerable:!1,value:ek(t),writable:!0})}:Wx,rk=function(e){var t=0,n=0;return function(){var r=Jx(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(nk);function ik(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function ak(e,t,n,r){for(var i=e.length,a=n+-1;++a<i;)if(t(e[a],a,e))return a;return-1}function ok(e){return e!=e}function sk(e,t){return!!(null==e?0:e.length)&&function(e,t,n){return t==t?function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}(e,t,n):ak(e,ok,n)}(e,t,0)>-1}var lk=/^(?:0|[1-9]\d*)$/;function ck(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&lk.test(e))&&e>-1&&e%1==0&&e<t}function uk(e,t,n){"__proto__"==t&&tk?tk(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var dk=Object.prototype.hasOwnProperty;function hk(e,t,n){var r=e[t];dk.call(e,t)&&GC(r,n)&&(void 0!==n||t in e)||uk(e,t,n)}function pk(e,t,n,r){var i=!n;n||(n={});for(var a=-1,o=t.length;++a<o;){var s=t[a],l=void 0;void 0===l&&(l=e[s]),i?uk(n,s,l):hk(n,s,l)}return n}var gk=Math.max;function mk(e,t,n){return t=gk(void 0===t?e.length-1:t,0),function(){for(var r=arguments,i=-1,a=gk(r.length-t,0),o=Array(a);++i<a;)o[i]=r[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=r[i];return s[t]=n(o),function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}(e,this,s)}}function _k(e,t){return rk(mk(e,t,Wx),e+"")}function bk(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function fk(e){return null!=e&&bk(e.length)&&!TC(e)}function yk(e,t,n){if(!SC(n))return!1;var r=typeof t;return!!("number"==r?fk(n)&&ck(t,n.length):"string"==r&&t in n)&&GC(n[t],e)}var vk=Object.prototype;function Ek(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||vk)}function Sk(e){return Ix(e)&&"[object Arguments]"==EC(e)}var Tk=Object.prototype,Ck=Tk.hasOwnProperty,xk=Tk.propertyIsEnumerable,kk=Sk(function(){return arguments}())?Sk:function(e){return Ix(e)&&Ck.call(e,"callee")&&!xk.call(e,"callee")};var Ak="object"==typeof exports&&exports&&!exports.nodeType&&exports,wk=Ak&&"object"==typeof module&&module&&!module.nodeType&&module,Nk=wk&&wk.exports===Ak?pC.Buffer:void 0,Ok=(Nk?Nk.isBuffer:void 0)||function(){return!1},Rk={};function Ik(e){return function(t){return e(t)}}Rk["[object Float32Array]"]=Rk["[object Float64Array]"]=Rk["[object Int8Array]"]=Rk["[object Int16Array]"]=Rk["[object Int32Array]"]=Rk["[object Uint8Array]"]=Rk["[object Uint8ClampedArray]"]=Rk["[object Uint16Array]"]=Rk["[object Uint32Array]"]=!0,Rk["[object Arguments]"]=Rk["[object Array]"]=Rk["[object ArrayBuffer]"]=Rk["[object Boolean]"]=Rk["[object DataView]"]=Rk["[object Date]"]=Rk["[object Error]"]=Rk["[object Function]"]=Rk["[object Map]"]=Rk["[object Number]"]=Rk["[object Object]"]=Rk["[object RegExp]"]=Rk["[object Set]"]=Rk["[object String]"]=Rk["[object WeakMap]"]=!1;var Dk="object"==typeof exports&&exports&&!exports.nodeType&&exports,Mk=Dk&&"object"==typeof module&&module&&!module.nodeType&&module,Lk=Mk&&Mk.exports===Dk&&dC.process,Pk=function(){try{var e=Mk&&Mk.require&&Mk.require("util").types;return e||Lk&&Lk.binding&&Lk.binding("util")}catch(fR){}}(),jk=Pk&&Pk.isTypedArray,Fk=jk?Ik(jk):function(e){return Ix(e)&&bk(e.length)&&!!Rk[EC(e)]},Bk=Object.prototype.hasOwnProperty;function Uk(e,t){var n=Lx(e),r=!n&&kk(e),i=!n&&!r&&Ok(e),a=!n&&!r&&!i&&Fk(e),o=n||r||i||a,s=o?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],l=s.length;for(var c in e)!t&&!Bk.call(e,c)||o&&(// Safari 9 has enumerable `arguments.length` in strict mode. +"length"==c||// Node.js 0.10 has enumerable non-index properties on buffers. +i&&("offset"==c||"parent"==c)||// PhantomJS 2 has enumerable non-index properties on typed arrays. +a&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||// Skip index properties. +ck(c,l))||s.push(c);return s}function Gk(e,t){return function(n){return e(t(n))}}var zk=Gk(Object.keys,Object),$k=Object.prototype.hasOwnProperty;function Yk(e){if(!Ek(e))return zk(e);var t=[];for(var n in Object(e))$k.call(e,n)&&"constructor"!=n&&t.push(n);return t}function qk(e){return fk(e)?Uk(e):Yk(e)}var Hk=Object.prototype.hasOwnProperty;function Vk(e){if(!SC(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=Ek(e),n=[];for(var r in e)("constructor"!=r||!t&&Hk.call(e,r))&&n.push(r);return n}function Wk(e){return fk(e)?Uk(e,!0):Vk(e)}var Qk=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Kk=/^\w*$/;function Xk(e,t){if(Lx(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Dx(e))||(Kk.test(e)||!Qk.test(e)||null!=t&&e in Object(t))}var Zk=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Jk=/\\(\\)?/g,eA=function(e){var t=WC(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Zk,(function(e,n,r,i){t.push(r?i.replace(Jk,"$1"):n||e)})),t}));function tA(e){return null==e?"":Fx(e)}function nA(e,t){return Lx(e)?e:Xk(e,t)?[e]:eA(tA(e))}function rA(e){if("string"==typeof e||Dx(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function iA(e,t){for(var n=0,r=(t=nA(t,e)).length;null!=e&&n<r;)e=e[rA(t[n++])];return n&&n==r?e:void 0}function aA(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}var oA=gC?gC.isConcatSpreadable:void 0;function sA(e){return Lx(e)||kk(e)||!!(oA&&e&&e[oA])}function lA(e,t,n,r,i){var a=-1,o=e.length;for(n||(n=sA),i||(i=[]);++a<o;){var s=e[a];n(s)?aA(i,s):r||(i[i.length]=s)}return i}function cA(e){return(null==e?0:e.length)?lA(e):[]}var uA=Gk(Object.getPrototypeOf,Object),dA=Function.prototype,hA=Object.prototype,pA=dA.toString,gA=hA.hasOwnProperty,mA=pA.call(Object);function _A(e){if(!Ix(e)||"[object Object]"!=EC(e))return!1;var t=uA(e);if(null===t)return!0;var n=gA.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&pA.call(n)==mA}function bA(e,t,n,r){var i=-1,a=null==e?0:e.length;for(r&&a&&(n=e[++i]);++i<a;)n=t(n,e[i],i,e);return n}function fA(e){var t=this.__data__=new YC(e);this.size=t.size}fA.prototype.clear=function(){this.__data__=new YC,this.size=0},fA.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},fA.prototype.get=function(e){return this.__data__.get(e)},fA.prototype.has=function(e){return this.__data__.has(e)},fA.prototype.set=function(e,t){var n=this.__data__;if(n instanceof YC){var r=n.__data__;if(!qC||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new VC(r)}return n.set(e,t),this.size=n.size,this};var yA="object"==typeof exports&&exports&&!exports.nodeType&&exports,vA=yA&&"object"==typeof module&&module&&!module.nodeType&&module,EA=vA&&vA.exports===yA?pC.Buffer:void 0,SA=EA?EA.allocUnsafe:void 0;function TA(e,t){if(t)return e.slice();var n=e.length,r=SA?SA(n):new e.constructor(n);return e.copy(r),r}function CA(e,t){for(var n=-1,r=null==e?0:e.length,i=0,a=[];++n<r;){var o=e[n];t(o,n,e)&&(a[i++]=o)}return a}function xA(){return[]}var kA=Object.prototype.propertyIsEnumerable,AA=Object.getOwnPropertySymbols,wA=AA?function(e){return null==e?[]:(e=Object(e),CA(AA(e),(function(t){return kA.call(e,t)})))}:xA;var NA=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)aA(t,wA(e)),e=uA(e);return t}:xA;function OA(e,t,n){var r=t(e);return Lx(e)?r:aA(r,n(e))}function RA(e){return OA(e,qk,wA)}function IA(e){return OA(e,Wk,NA)}var DA=PC(pC,"DataView"),MA=PC(pC,"Promise"),LA=PC(pC,"Set"),PA="[object Map]",jA="[object Promise]",FA="[object Set]",BA="[object WeakMap]",UA="[object DataView]",GA=wC(DA),zA=wC(qC),$A=wC(MA),YA=wC(LA),qA=wC(Qx),HA=EC;(DA&&HA(new DA(new ArrayBuffer(1)))!=UA||qC&&HA(new qC)!=PA||MA&&HA(MA.resolve())!=jA||LA&&HA(new LA)!=FA||Qx&&HA(new Qx)!=BA)&&(HA=function(e){var t=EC(e),n="[object Object]"==t?e.constructor:void 0,r=n?wC(n):"";if(r)switch(r){case GA:return UA;case zA:return PA;case $A:return jA;case YA:return FA;case qA:return BA}return t});var VA=Object.prototype.hasOwnProperty;var WA=pC.Uint8Array;function QA(e){var t=new e.constructor(e.byteLength);return new WA(t).set(new WA(e)),t}var KA=/\w*$/;var XA=gC?gC.prototype:void 0,ZA=XA?XA.valueOf:void 0;function JA(e,t){var n=t?QA(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function ew(e,t,n){var r,i,a,o=e.constructor;switch(t){case"[object ArrayBuffer]":return QA(e);case"[object Boolean]":case"[object Date]":return new o(+e);case"[object DataView]":return function(e,t){var n=t?QA(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return JA(e,n);case"[object Map]":case"[object Set]":return new o;case"[object Number]":case"[object String]":return new o(e);case"[object RegExp]":return(a=new(i=e).constructor(i.source,KA.exec(i))).lastIndex=i.lastIndex,a;case"[object Symbol]":return r=e,ZA?Object(ZA.call(r)):{}}}function tw(e){return"function"!=typeof e.constructor||Ek(e)?{}:Xx(uA(e))}var nw=Pk&&Pk.isMap,rw=nw?Ik(nw):function(e){return Ix(e)&&"[object Map]"==HA(e)};var iw=Pk&&Pk.isSet,aw=iw?Ik(iw):function(e){return Ix(e)&&"[object Set]"==HA(e)},ow="[object Arguments]",sw="[object Function]",lw="[object Object]",cw={};function uw(e,t,n,r,i,a){var o,s=1&t,l=2&t,c=4&t;if(void 0!==o)return o;if(!SC(e))return e;var u=Lx(e);if(u){if(o=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&VA.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!s)return Zx(e,o)}else{var d=HA(e),h=d==sw||"[object GeneratorFunction]"==d;if(Ok(e))return TA(e,s);if(d==lw||d==ow||h&&!i){if(o=l||h?{}:tw(e),!s)return l?function(e,t){return pk(e,NA(e),t)}(e,function(e,t){return e&&pk(t,Wk(t),e)}(o,e)):function(e,t){return pk(e,wA(e),t)}(e,function(e,t){return e&&pk(t,qk(t),e)}(o,e))}else{if(!cw[d])return i?e:{};o=ew(e,d,s)}}a||(a=new fA);var p=a.get(e);if(p)return p;a.set(e,o),aw(e)?e.forEach((function(r){o.add(uw(r,t,n,r,e,a))})):rw(e)&&e.forEach((function(r,i){o.set(i,uw(r,t,n,i,e,a))}));var g=u?void 0:(c?l?IA:RA:l?Wk:qk)(e);return ik(g||e,(function(r,i){g&&(r=e[i=r]),hk(o,i,uw(r,t,n,i,e,a))})),o}cw[ow]=cw["[object Array]"]=cw["[object ArrayBuffer]"]=cw["[object DataView]"]=cw["[object Boolean]"]=cw["[object Date]"]=cw["[object Float32Array]"]=cw["[object Float64Array]"]=cw["[object Int8Array]"]=cw["[object Int16Array]"]=cw["[object Int32Array]"]=cw["[object Map]"]=cw["[object Number]"]=cw[lw]=cw["[object RegExp]"]=cw["[object Set]"]=cw["[object String]"]=cw["[object Symbol]"]=cw["[object Uint8Array]"]=cw["[object Uint8ClampedArray]"]=cw["[object Uint16Array]"]=cw["[object Uint32Array]"]=!0,cw["[object Error]"]=cw[sw]=cw["[object WeakMap]"]=!1;function dw(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new VC;++t<n;)this.add(e[t])}function hw(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function pw(e,t){return e.has(t)}dw.prototype.add=dw.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},dw.prototype.has=function(e){return this.__data__.has(e)};function gw(e,t,n,r,i,a){var o=1&n,s=e.length,l=t.length;if(s!=l&&!(o&&l>s))return!1;var c=a.get(e),u=a.get(t);if(c&&u)return c==t&&u==e;var d=-1,h=!0,p=2&n?new dw:void 0;for(a.set(e,t),a.set(t,e);++d<s;){var g=e[d],m=t[d];if(r)var _=o?r(m,g,d,t,e,a):r(g,m,d,e,t,a);if(void 0!==_){if(_)continue;h=!1;break}if(p){if(!hw(t,(function(e,t){if(!pw(p,t)&&(g===e||i(g,e,n,r,a)))return p.push(t)}))){h=!1;break}}else if(g!==m&&!i(g,m,n,r,a)){h=!1;break}}return a.delete(e),a.delete(t),h}function mw(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function _w(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var bw=gC?gC.prototype:void 0,fw=bw?bw.valueOf:void 0;var yw=Object.prototype.hasOwnProperty;var vw="[object Arguments]",Ew="[object Array]",Sw="[object Object]",Tw=Object.prototype.hasOwnProperty;function Cw(e,t,n,r,i,a){var o=Lx(e),s=Lx(t),l=o?Ew:HA(e),c=s?Ew:HA(t),u=(l=l==vw?Sw:l)==Sw,d=(c=c==vw?Sw:c)==Sw,h=l==c;if(h&&Ok(e)){if(!Ok(t))return!1;o=!0,u=!1}if(h&&!u)return a||(a=new fA),o||Fk(e)?gw(e,t,n,r,i,a):function(e,t,n,r,i,a,o){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!a(new WA(e),new WA(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return GC(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var s=mw;case"[object Set]":var l=1&r;if(s||(s=_w),e.size!=t.size&&!l)return!1;var c=o.get(e);if(c)return c==t;r|=2,o.set(e,t);var u=gw(s(e),s(t),r,i,a,o);return o.delete(e),u;case"[object Symbol]":if(fw)return fw.call(e)==fw.call(t)}return!1}(e,t,l,n,r,i,a);if(!(1&n)){var p=u&&Tw.call(e,"__wrapped__"),g=d&&Tw.call(t,"__wrapped__");if(p||g){var m=p?e.value():e,_=g?t.value():t;return a||(a=new fA),i(m,_,n,r,a)}}return!!h&&(a||(a=new fA),function(e,t,n,r,i,a){var o=1&n,s=RA(e),l=s.length;if(l!=RA(t).length&&!o)return!1;for(var c=l;c--;){var u=s[c];if(!(o?u in t:yw.call(t,u)))return!1}var d=a.get(e),h=a.get(t);if(d&&h)return d==t&&h==e;var p=!0;a.set(e,t),a.set(t,e);for(var g=o;++c<l;){var m=e[u=s[c]],_=t[u];if(r)var b=o?r(_,m,u,t,e,a):r(m,_,u,e,t,a);if(!(void 0===b?m===_||i(m,_,n,r,a):b)){p=!1;break}g||(g="constructor"==u)}if(p&&!g){var f=e.constructor,y=t.constructor;f==y||!("constructor"in e)||!("constructor"in t)||"function"==typeof f&&f instanceof f&&"function"==typeof y&&y instanceof y||(p=!1)}return a.delete(e),a.delete(t),p}(e,t,n,r,i,a))}function xw(e,t,n,r,i){return e===t||(null==e||null==t||!Ix(e)&&!Ix(t)?e!=e&&t!=t:Cw(e,t,n,r,xw,i))}function kw(e){return e==e&&!SC(e)}function Aw(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}function ww(e){var t=function(e){for(var t=qk(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,kw(i)]}return t}(e);return 1==t.length&&t[0][2]?Aw(t[0][0],t[0][1]):function(n){return n===e||function(e,t,n,r){var i=n.length,a=i;if(null==e)return!a;for(e=Object(e);i--;){var o=n[i];if(o[2]?o[1]!==e[o[0]]:!(o[0]in e))return!1}for(;++i<a;){var s=(o=n[i])[0],l=e[s],c=o[1];if(o[2]){if(void 0===l&&!(s in e))return!1}else if(!xw(c,l,3,r,new fA))return!1}return!0}(n,0,t)}}function Nw(e,t){return null!=e&&t in Object(e)}function Ow(e,t,n){for(var r=-1,i=(t=nA(t,e)).length,a=!1;++r<i;){var o=rA(t[r]);if(!(a=null!=e&&n(e,o)))break;e=e[o]}return a||++r!=i?a:!!(i=null==e?0:e.length)&&bk(i)&&ck(o,i)&&(Lx(e)||kk(e))}function Rw(e,t){return null!=e&&Ow(e,t,Nw)}function Iw(e,t){return Xk(e)&&kw(t)?Aw(rA(e),t):function(n){var r=function(e,t,n){var r=null==e?void 0:iA(e,t);return void 0===r?n:r}(n,e);return void 0===r&&r===t?Rw(n,e):xw(t,r,3)}}function Dw(e){return Xk(e)?(t=rA(e),function(e){return null==e?void 0:e[t]}):function(e){return function(t){return iA(t,e)}}(e);var t}function Mw(e){return"function"==typeof e?e:null==e?Wx:"object"==typeof e?Lx(e)?Iw(e[0],e[1]):ww(e):Dw(e)}var Lw=function(e,t,n){for(var r=-1,i=Object(e),a=n(e),o=a.length;o--;){var s=a[++r];if(!1===t(i[s],s,i))break}return e};function Pw(e,t){return e&&Lw(e,t,qk)}var jw,Fw=(jw=Pw,function(e,t){if(null==e)return e;if(!fk(e))return jw(e,t);for(var n=e.length,r=-1,i=Object(e);++r<n&&!1!==t(i[r],r,i););return e}),Bw=Object.prototype,Uw=Bw.hasOwnProperty,Gw=_k((function(e,t){e=Object(e);var n=-1,r=t.length,i=r>2?t[2]:void 0;for(i&&yk(t[0],t[1],i)&&(r=1);++n<r;)for(var a=t[n],o=Wk(a),s=-1,l=o.length;++s<l;){var c=o[s],u=e[c];(void 0===u||GC(u,Bw[c])&&!Uw.call(e,c))&&(e[c]=a[c])}return e}));function zw(e,t,n){(void 0!==n&&!GC(e[t],n)||void 0===n&&!(t in e))&&uk(e,t,n)}function $w(e){return Ix(e)&&fk(e)}function Yw(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}function qw(e,t,n,r,i,a,o){var s=Yw(e,n),l=Yw(t,n),c=o.get(l);if(c)zw(e,n,c);else{var u,d=a?a(s,l,n+"",e,t,o):void 0,h=void 0===d;if(h){var p=Lx(l),g=!p&&Ok(l),m=!p&&!g&&Fk(l);d=l,p||g||m?Lx(s)?d=s:$w(s)?d=Zx(s):g?(h=!1,d=TA(l,!0)):m?(h=!1,d=JA(l,!0)):d=[]:_A(l)||kk(l)?(d=s,kk(s)?d=pk(u=s,Wk(u)):SC(s)&&!TC(s)||(d=tw(l))):h=!1}h&&(o.set(l,d),i(d,l,r,a,o),o.delete(l)),zw(e,n,d)}}function Hw(e,t,n,r,i){e!==t&&Lw(t,(function(a,o){if(i||(i=new fA),SC(a))qw(e,t,o,n,Hw,r,i);else{var s=r?r(Yw(e,o),a,o+"",e,t,i):void 0;void 0===s&&(s=a),zw(e,o,s)}}),Wk)}function Vw(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}function Ww(e){return"function"==typeof e?e:Wx}function Qw(e,t){return(Lx(e)?ik:Fw)(e,Ww(t))}function Kw(e,t){var n=[];return Fw(e,(function(e,r,i){t(e,r,i)&&n.push(e)})),n}function Xw(e,t){return(Lx(e)?CA:Kw)(e,Mw(t))}var Zw=Math.max;var Jw,eN=(Jw=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i,a,o=null==n?0:(i=Vx(n),a=i%1,i==i?a?i-a:i:0);return o<0&&(o=Zw(r+o,0)),ak(e,Mw(t),o)},function(e,t,n){var r=Object(e);if(!fk(e)){var i=Mw(t);e=qk(e),t=function(e){return i(r[e],e,r)}}var a=Jw(e,t,n);return a>-1?r[i?e[a]:a]:void 0});function tN(e,t){var n=-1,r=fk(e)?Array(e.length):[];return Fw(e,(function(e,i,a){r[++n]=t(e,i,a)})),r}function nN(e,t){return(Lx(e)?Mx:tN)(e,Mw(t))}function rN(e,t){return e>t}var iN=Object.prototype.hasOwnProperty;function aN(e,t){return null!=e&&iN.call(e,t)}function oN(e,t){return null!=e&&Ow(e,t,aN)}function sN(e){return null==e?[]:function(e,t){return Mx(t,(function(t){return e[t]}))}(e,qk(e))}var lN=Object.prototype.hasOwnProperty;function cN(e){if(null==e)return!0;if(fk(e)&&(Lx(e)||"string"==typeof e||"function"==typeof e.splice||Ok(e)||Fk(e)||kk(e)))return!e.length;var t=HA(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(Ek(e))return!Yk(e).length;for(var n in e)if(lN.call(e,n))return!1;return!0}function uN(e){return void 0===e}function dN(e,t){return e<t}function hN(e,t){var n={};return t=Mw(t),Pw(e,(function(e,r,i){uk(n,r,t(e,r,i))})),n}function pN(e,t,n){for(var r=-1,i=e.length;++r<i;){var a=e[r],o=t(a);if(null!=o&&(void 0===s?o==o&&!Dx(o):n(o,s)))var s=o,l=a}return l}function gN(e){return e&&e.length?pN(e,Wx,rN):void 0}var mN,_N=(mN=function(e,t,n){Hw(e,t,n)},_k((function(e,t){var n=-1,r=t.length,i=r>1?t[r-1]:void 0,a=r>2?t[2]:void 0;for(i=mN.length>3&&"function"==typeof i?(r--,i):void 0,a&&yk(t[0],t[1],a)&&(i=r<3?void 0:i,r=1),e=Object(e);++n<r;){var o=t[n];o&&mN(e,o,n,i)}return e})));function bN(e){return e&&e.length?pN(e,Wx,dN):void 0}function fN(e,t){return e&&e.length?pN(e,Mw(t),dN):void 0}function yN(e,t,n,r){if(!SC(e))return e;for(var i=-1,a=(t=nA(t,e)).length,o=a-1,s=e;null!=s&&++i<a;){var l=rA(t[i]),c=n;if("__proto__"===l||"constructor"===l||"prototype"===l)return e;if(i!=o){var u=s[l];void 0===(c=void 0)&&(c=SC(u)?u:ck(t[i+1])?[]:{})}hk(s,l,c),s=s[l]}return e}function vN(e,t){if(e!==t){var n=void 0!==e,r=null===e,i=e==e,a=Dx(e),o=void 0!==t,s=null===t,l=t==t,c=Dx(t);if(!s&&!c&&!a&&e>t||a&&o&&l&&!s&&!c||r&&o&&l||!n&&l||!i)return 1;if(!r&&!a&&!c&&e<t||c&&n&&i&&!r&&!a||s&&n&&i||!o&&i||!l)return-1}return 0}function EN(e,t,n){t=t.length?Mx(t,(function(e){return Lx(e)?function(t){return iA(t,1===e.length?e[0]:e)}:e})):[Wx];var r=-1;return t=Mx(t,Ik(Mw)),function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(tN(e,(function(e,n,i){return{criteria:Mx(t,(function(t){return t(e)})),index:++r,value:e}})),(function(e,t){return function(e,t,n){for(var r=-1,i=e.criteria,a=t.criteria,o=i.length,s=n.length;++r<o;){var l=vN(i[r],a[r]);if(l)return r>=s?l:l*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}function SN(e,t){return function(e,t,n){for(var r=-1,i=t.length,a={};++r<i;){var o=t[r],s=iA(e,o);n(s,o)&&yN(a,nA(o,e),s)}return a}(e,t,(function(t,n){return Rw(e,n)}))}var TN=function(e){return rk(mk(e,void 0,cA),e+"")}((function(e,t){return null==e?{}:SN(e,t)})),CN=Math.ceil,xN=Math.max;var kN=function(e,t,n){return n&&"number"!=typeof n&&yk(e,t,n)&&(t=n=void 0),e=Vx(e),void 0===t?(t=e,e=0):t=Vx(t),function(e,t,n){for(var r=-1,i=xN(CN((t-e)/(n||1)),0),a=Array(i);i--;)a[++r]=e,e+=n;return a}(e,t,n=void 0===n?e<t?1:-1:Vx(n))};function AN(e,t,n,r,i){return i(e,(function(e,i,a){n=r?(r=!1,e):t(n,e,i,a)})),n}function wN(e,t,n){var r=Lx(e)?bA:AN,i=arguments.length<3;return r(e,Mw(t),n,i,Fw)}var NN=_k((function(e,t){if(null==e)return[];var n=t.length;return n>1&&yk(e,t[0],t[1])?t=[]:n>2&&yk(t[0],t[1],t[2])&&(t=[t[0]]),EN(e,lA(t),[])})),ON=LA&&1/_w(new LA([,-0]))[1]==1/0?function(e){return new LA(e)}:function(){};var RN=_k((function(e){return function(e,t,n){var r=-1,i=sk,a=e.length,o=!0,s=[],l=s;if(a>=200){var c=ON(e);if(c)return _w(c);o=!1,i=pw,l=new dw}else l=s;e:for(;++r<a;){var u=e[r],d=u;if(u=0!==u?u:0,o&&d==d){for(var h=l.length;h--;)if(l[h]===d)continue e;s.push(u)}else i(l,d,n)||(l!==s&&l.push(d),s.push(u))}return s}(lA(e,0,$w,!0))})),IN=0;function DN(e){var t=++IN;return tA(e)+t}var MN="\0";class LN{constructor(e={}){this._isDirected=!oN(e,"directed")||e.directed,this._isMultigraph=!!oN(e,"multigraph")&&e.multigraph,this._isCompound=!!oN(e,"compound")&&e.compound,this._label=void 0,this._defaultNodeLabelFn=ek(void 0),this._defaultEdgeLabelFn=ek(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[MN]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}} +/* === Graph functions ========= */isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(e){return this._label=e,this}graph(){return this._label} +/* === Node functions ========== */setDefaultNodeLabel(e){return TC(e)||(e=ek(e)),this._defaultNodeLabelFn=e,this}nodeCount(){return this._nodeCount}nodes(){return qk(this._nodes)}sources(){var e=this;return Xw(this.nodes(),(function(t){return cN(e._in[t])}))}sinks(){var e=this;return Xw(this.nodes(),(function(t){return cN(e._out[t])}))}setNodes(e,t){var n=arguments,r=this;return Qw(e,(function(e){n.length>1?r.setNode(e,t):r.setNode(e)})),this}setNode(e,t){return oN(this._nodes,e)?(arguments.length>1&&(this._nodes[e]=t),this):(this._nodes[e]=arguments.length>1?t:this._defaultNodeLabelFn(e),this._isCompound&&(this._parent[e]=MN,this._children[e]={},this._children[MN][e]=!0),this._in[e]={},this._preds[e]={},this._out[e]={},this._sucs[e]={},++this._nodeCount,this)}node(e){return this._nodes[e]}hasNode(e){return oN(this._nodes,e)}removeNode(e){var t=this;if(oN(this._nodes,e)){var n=function(e){t.removeEdge(t._edgeObjs[e])};delete this._nodes[e],this._isCompound&&(this._removeFromParentsChildList(e),delete this._parent[e],Qw(this.children(e),(function(e){t.setParent(e)})),delete this._children[e]),Qw(qk(this._in[e]),n),delete this._in[e],delete this._preds[e],Qw(qk(this._out[e]),n),delete this._out[e],delete this._sucs[e],--this._nodeCount}return this}setParent(e,t){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(uN(t))t=MN;else{for(var n=t+="";!uN(n);n=this.parent(n))if(n===e)throw new Error("Setting "+t+" as parent of "+e+" would create a cycle");this.setNode(t)}return this.setNode(e),this._removeFromParentsChildList(e),this._parent[e]=t,this._children[t][e]=!0,this}_removeFromParentsChildList(e){delete this._children[this._parent[e]][e]}parent(e){if(this._isCompound){var t=this._parent[e];if(t!==MN)return t}}children(e){if(uN(e)&&(e=MN),this._isCompound){var t=this._children[e];if(t)return qk(t)}else{if(e===MN)return this.nodes();if(this.hasNode(e))return[]}}predecessors(e){var t=this._preds[e];if(t)return qk(t)}successors(e){var t=this._sucs[e];if(t)return qk(t)}neighbors(e){var t=this.predecessors(e);if(t)return RN(t,this.successors(e))}isLeaf(e){return 0===(this.isDirected()?this.successors(e):this.neighbors(e)).length}filterNodes(e){var t=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});t.setGraph(this.graph());var n=this;Qw(this._nodes,(function(n,r){e(r)&&t.setNode(r,n)})),Qw(this._edgeObjs,(function(e){t.hasNode(e.v)&&t.hasNode(e.w)&&t.setEdge(e,n.edge(e))}));var r={};function i(e){var a=n.parent(e);return void 0===a||t.hasNode(a)?(r[e]=a,a):a in r?r[a]:i(a)}return this._isCompound&&Qw(t.nodes(),(function(e){t.setParent(e,i(e))})),t} +/* === Edge functions ========== */setDefaultEdgeLabel(e){return TC(e)||(e=ek(e)),this._defaultEdgeLabelFn=e,this}edgeCount(){return this._edgeCount}edges(){return sN(this._edgeObjs)}setPath(e,t){var n=this,r=arguments;return wN(e,(function(e,i){return r.length>1?n.setEdge(e,i,t):n.setEdge(e,i),i})),this} +/* + * setEdge(v, w, [value, [name]]) + * setEdge({ v, w, [name] }, [value]) + */setEdge(){var e,t,n,r,i=!1,a=arguments[0];"object"==typeof a&&null!==a&&"v"in a?(e=a.v,t=a.w,n=a.name,2===arguments.length&&(r=arguments[1],i=!0)):(e=a,t=arguments[1],n=arguments[3],arguments.length>2&&(r=arguments[2],i=!0)),e=""+e,t=""+t,uN(n)||(n=""+n);var o=FN(this._isDirected,e,t,n);if(oN(this._edgeLabels,o))return i&&(this._edgeLabels[o]=r),this;if(!uN(n)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(e),this.setNode(t),this._edgeLabels[o]=i?r:this._defaultEdgeLabelFn(e,t,n);var s=function(e,t,n,r){var i=""+t,a=""+n;if(!e&&i>a){var o=i;i=a,a=o}var s={v:i,w:a};r&&(s.name=r);return s}(this._isDirected,e,t,n);return e=s.v,t=s.w,Object.freeze(s),this._edgeObjs[o]=s,PN(this._preds[t],e),PN(this._sucs[e],t),this._in[t][o]=s,this._out[e][o]=s,this._edgeCount++,this}edge(e,t,n){var r=1===arguments.length?BN(this._isDirected,arguments[0]):FN(this._isDirected,e,t,n);return this._edgeLabels[r]}hasEdge(e,t,n){var r=1===arguments.length?BN(this._isDirected,arguments[0]):FN(this._isDirected,e,t,n);return oN(this._edgeLabels,r)}removeEdge(e,t,n){var r=1===arguments.length?BN(this._isDirected,arguments[0]):FN(this._isDirected,e,t,n),i=this._edgeObjs[r];return i&&(e=i.v,t=i.w,delete this._edgeLabels[r],delete this._edgeObjs[r],jN(this._preds[t],e),jN(this._sucs[e],t),delete this._in[t][r],delete this._out[e][r],this._edgeCount--),this}inEdges(e,t){var n=this._in[e];if(n){var r=sN(n);return t?Xw(r,(function(e){return e.v===t})):r}}outEdges(e,t){var n=this._out[e];if(n){var r=sN(n);return t?Xw(r,(function(e){return e.w===t})):r}}nodeEdges(e,t){var n=this.inEdges(e,t);if(n)return n.concat(this.outEdges(e,t))}}function PN(e,t){e[t]?e[t]++:e[t]=1}function jN(e,t){--e[t]||delete e[t]}function FN(e,t,n,r){var i=""+t,a=""+n;if(!e&&i>a){var o=i;i=a,a=o}return i+""+a+""+(uN(r)?"\0":r)}function BN(e,t){return FN(e,t.v,t.w,t.name)}LN.prototype._nodeCount=0,LN.prototype._edgeCount=0;class UN{constructor(){var e={};e._next=e._prev=e,this._sentinel=e}dequeue(){var e=this._sentinel,t=e._prev;if(t!==e)return GN(t),t}enqueue(e){var t=this._sentinel;e._prev&&e._next&&GN(e),e._next=t._next,t._next._prev=e,t._next=e,e._prev=t}toString(){for(var e=[],t=this._sentinel,n=t._prev;n!==t;)e.push(JSON.stringify(n,zN)),n=n._prev;return"["+e.join(", ")+"]"}}function GN(e){e._prev._next=e._next,e._next._prev=e._prev,delete e._next,delete e._prev}function zN(e,t){if("_next"!==e&&"_prev"!==e)return t}function $N(e,t){if(e.nodeCount()<=1)return[];var n=function(e,t){var n=new LN,r=0,i=0;Qw(e.nodes(),(function(e){n.setNode(e,{v:e,in:0,out:0})})),Qw(e.edges(),(function(e){var a=n.edge(e.v,e.w)||0,o=t(e),s=a+o;n.setEdge(e.v,e.w,s),i=Math.max(i,n.node(e.v).out+=o),r=Math.max(r,n.node(e.w).in+=o)}));var a=kN(i+r+3).map((function(){return new UN})),o=r+1;return Qw(n.nodes(),(function(e){qN(a,o,n.node(e))})),{graph:n,buckets:a,zeroIdx:o}}(e,t),r=function(e,t,n){var r,i=[],a=t[t.length-1],o=t[0];for(;e.nodeCount();){for(;r=o.dequeue();)YN(e,t,n,r);for(;r=a.dequeue();)YN(e,t,n,r);if(e.nodeCount())for(var s=t.length-2;s>0;--s)if(r=t[s].dequeue()){i=i.concat(YN(e,t,n,r,!0));break}}return i}(n.graph,n.buckets,n.zeroIdx);return cA(nN(r,(function(t){return e.outEdges(t.v,t.w)})))}function YN(e,t,n,r,i){var a=i?[]:void 0;return Qw(e.inEdges(r.v),(function(r){var o=e.edge(r),s=e.node(r.v);i&&a.push({v:r.v,w:r.w}),s.out-=o,qN(t,n,s)})),Qw(e.outEdges(r.v),(function(r){var i=e.edge(r),a=r.w,o=e.node(a);o.in-=i,qN(t,n,o)})),e.removeNode(r.v),a}function qN(e,t,n){n.out?n.in?e[n.out-n.in+t].enqueue(n):e[e.length-1].enqueue(n):e[0].enqueue(n)}function HN(e){var t,n="greedy"===e.graph().acyclicer?$N(e,(t=e,function(e){return t.edge(e).weight})):function(e){var t=[],n={},r={};function i(a){oN(r,a)||(r[a]=!0,n[a]=!0,Qw(e.outEdges(a),(function(e){oN(n,e.w)?t.push(e):i(e.w)})),delete n[a])}return Qw(e.nodes(),i),t}(e);Qw(n,(function(t){var n=e.edge(t);e.removeEdge(t),n.forwardName=t.name,n.reversed=!0,e.setEdge(t.w,t.v,n,DN("rev"))}))}function VN(e,t,n,r){var i;do{i=DN(r)}while(e.hasNode(i));return n.dummy=t,e.setNode(i,n),i}function WN(e){var t=new LN({multigraph:e.isMultigraph()}).setGraph(e.graph());return Qw(e.nodes(),(function(n){e.children(n).length||t.setNode(n,e.node(n))})),Qw(e.edges(),(function(n){t.setEdge(n,e.edge(n))})),t}function QN(e,t){var n,r,i=e.x,a=e.y,o=t.x-i,s=t.y-a,l=e.width/2,c=e.height/2;if(!o&&!s)throw new Error("Not possible to find intersection inside of the rectangle");return Math.abs(s)*l>Math.abs(o)*c?(s<0&&(c=-c),n=c*o/s,r=c):(o<0&&(l=-l),n=l,r=l*s/o),{x:i+n,y:a+r}}function KN(e){var t=nN(kN(ZN(e)+1),(function(){return[]}));return Qw(e.nodes(),(function(n){var r=e.node(n),i=r.rank;uN(i)||(t[i][r.order]=n)})),t}function XN(e,t,n,r){var i={width:0,height:0};return arguments.length>=4&&(i.rank=n,i.order=r),VN(e,"border",i,t)}function ZN(e){return gN(nN(e.nodes(),(function(t){var n=e.node(t).rank;if(!uN(n))return n})))}function JN(e,t){return t()}function eO(e,t,n,r,i,a){var o={width:0,height:0,rank:a,borderType:t},s=i[t][a-1],l=VN(e,"border",o,n);i[t][a]=l,e.setParent(l,r),s&&e.setEdge(s,l,{weight:1})}function tO(e){var t=e.graph().rankdir.toLowerCase();"bt"!==t&&"rl"!==t||function(e){Qw(e.nodes(),(function(t){iO(e.node(t))})),Qw(e.edges(),(function(t){var n=e.edge(t);Qw(n.points,iO),oN(n,"y")&&iO(n)}))}(e),"lr"!==t&&"rl"!==t||(!function(e){Qw(e.nodes(),(function(t){aO(e.node(t))})),Qw(e.edges(),(function(t){var n=e.edge(t);Qw(n.points,aO),oN(n,"x")&&aO(n)}))}(e),nO(e))}function nO(e){Qw(e.nodes(),(function(t){rO(e.node(t))})),Qw(e.edges(),(function(t){rO(e.edge(t))}))}function rO(e){var t=e.width;e.width=e.height,e.height=t}function iO(e){e.y=-e.y}function aO(e){var t=e.x;e.x=e.y,e.y=t}function oO(e){e.graph().dummyChains=[],Qw(e.edges(),(function(t){!function(e,t){var n,r,i,a=t.v,o=e.node(a).rank,s=t.w,l=e.node(s).rank,c=t.name,u=e.edge(t),d=u.labelRank;if(l===o+1)return;for(e.removeEdge(t),i=0,++o;o<l;++i,++o)u.points=[],n=VN(e,"edge",r={width:0,height:0,edgeLabel:u,edgeObj:t,rank:o},"_d"),o===d&&(r.width=u.width,r.height=u.height,r.dummy="edge-label",r.labelpos=u.labelpos),e.setEdge(a,n,{weight:u.weight},c),0===i&&e.graph().dummyChains.push(n),a=n;e.setEdge(a,s,{weight:u.weight},c)}(e,t)}))}function sO(e){var t={};Qw(e.sources(),(function n(r){var i=e.node(r);if(oN(t,r))return i.rank;t[r]=!0;var a=bN(nN(e.outEdges(r),(function(t){return n(t.w)-e.edge(t).minlen})));return a!==Number.POSITIVE_INFINITY&&null!=// return value of _.map([]) for Lodash 3 +a||(a=0),i.rank=a}))}function lO(e,t){return e.node(t.w).rank-e.node(t.v).rank-e.edge(t).minlen}function cO(e){var t,n,r=new LN({directed:!1}),i=e.nodes()[0],a=e.nodeCount();for(r.setNode(i,{});uO(r,e)<a;)t=dO(r,e),n=r.hasNode(t.v)?lO(e,t):-lO(e,t),hO(r,e,n);return r}function uO(e,t){return Qw(e.nodes(),(function n(r){Qw(t.nodeEdges(r),(function(i){var a=i.v,o=r===a?i.w:a;e.hasNode(o)||lO(t,i)||(e.setNode(o,{}),e.setEdge(r,o,{}),n(o))}))})),e.nodeCount()}function dO(e,t){return fN(t.edges(),(function(n){if(e.hasNode(n.v)!==e.hasNode(n.w))return lO(t,n)}))}function hO(e,t,n){Qw(e.nodes(),(function(e){t.node(e).rank+=n}))}function pO(e,t,n){Lx(t)||(t=[t]);var r=(e.isDirected()?e.successors:e.neighbors).bind(e),i=[],a={};return Qw(t,(function(t){if(!e.hasNode(t))throw new Error("Graph does not have node: "+t);gO(e,t,"post"===n,a,r,i)})),i}function gO(e,t,n,r,i,a){oN(r,t)||(r[t]=!0,n||a.push(t),Qw(i(t),(function(t){gO(e,t,n,r,i,a)})),n&&a.push(t))}function mO(e){e=function(e){var t=(new LN).setGraph(e.graph());return Qw(e.nodes(),(function(n){t.setNode(n,e.node(n))})),Qw(e.edges(),(function(n){var r=t.edge(n.v,n.w)||{weight:0,minlen:1},i=e.edge(n);t.setEdge(n.v,n.w,{weight:r.weight+i.weight,minlen:Math.max(r.minlen,i.minlen)})})),t}(e),sO(e);var t,n=cO(e);for(fO(n),_O(n,e);t=vO(n);)SO(n,e,t,EO(n,e,t))}function _O(e,t){var n=function(e,t){return pO(e,t,"post")}(e,e.nodes());Qw(n=n.slice(0,n.length-1),(function(n){!function(e,t,n){var r=e.node(n),i=r.parent;e.edge(n,i).cutvalue=bO(e,t,n)}(e,t,n)}))}function bO(e,t,n){var r=e.node(n).parent,i=!0,a=t.edge(n,r),o=0;return a||(i=!1,a=t.edge(r,n)),o=a.weight,Qw(t.nodeEdges(n),(function(a){var s,l,c=a.v===n,u=c?a.w:a.v;if(u!==r){var d=c===i,h=t.edge(a).weight;if(o+=d?h:-h,s=n,l=u,e.hasEdge(s,l)){var p=e.edge(n,u).cutvalue;o+=d?-p:p}}})),o}function fO(e,t){arguments.length<2&&(t=e.nodes()[0]),yO(e,{},1,t)}function yO(e,t,n,r,i){var a=n,o=e.node(r);return t[r]=!0,Qw(e.neighbors(r),(function(i){oN(t,i)||(n=yO(e,t,n,i,r))})),o.low=a,o.lim=n++,i?o.parent=i:delete o.parent,n}function vO(e){return eN(e.edges(),(function(t){return e.edge(t).cutvalue<0}))}function EO(e,t,n){var r=n.v,i=n.w;t.hasEdge(r,i)||(r=n.w,i=n.v);var a=e.node(r),o=e.node(i),s=a,l=!1;return a.lim>o.lim&&(s=o,l=!0),fN(Xw(t.edges(),(function(t){return l===TO(e,e.node(t.v),s)&&l!==TO(e,e.node(t.w),s)})),(function(e){return lO(t,e)}))}function SO(e,t,n,r){var i=n.v,a=n.w;e.removeEdge(i,a),e.setEdge(r.v,r.w,{}),fO(e),_O(e,t),function(e,t){var n=eN(e.nodes(),(function(e){return!t.node(e).parent})),r=function(e,t){return pO(e,t,"pre")}(e,n);Qw(r=r.slice(1),(function(n){var r=e.node(n).parent,i=t.edge(n,r),a=!1;i||(i=t.edge(r,n),a=!0),t.node(n).rank=t.node(r).rank+(a?i.minlen:-i.minlen)}))}(e,t)}function TO(e,t,n){return n.low<=t.lim&&t.lim<=n.lim}function CO(e){switch(e.graph().ranker){case"network-simplex":default:kO(e);break;case"tight-tree":!function(e){sO(e),cO(e)}(e);break;case"longest-path":xO(e)}}new Error,mO.initLowLimValues=fO,mO.initCutValues=_O,mO.calcCutValue=bO,mO.leaveEdge=vO,mO.enterEdge=EO,mO.exchangeEdges=SO;var xO=sO;function kO(e){mO(e)}function AO(e){var t=VN(e,"root",{},"_root"),n=function(e){var t={};function n(r,i){var a=e.children(r);a&&a.length&&Qw(a,(function(e){n(e,i+1)})),t[r]=i}return Qw(e.children(),(function(e){n(e,1)})),t}(e),r=gN(sN(n))-1,i=2*r+1;e.graph().nestingRoot=t,Qw(e.edges(),(function(t){e.edge(t).minlen*=i}));var a=function(e){return wN(e.edges(),(function(t,n){return t+e.edge(n).weight}),0)}(e)+1;Qw(e.children(),(function(o){wO(e,t,i,a,r,n,o)})),e.graph().nodeRankFactor=i}function wO(e,t,n,r,i,a,o){var s=e.children(o);if(s.length){var l=XN(e,"_bt"),c=XN(e,"_bb"),u=e.node(o);e.setParent(l,o),u.borderTop=l,e.setParent(c,o),u.borderBottom=c,Qw(s,(function(s){wO(e,t,n,r,i,a,s);var u=e.node(s),d=u.borderTop?u.borderTop:s,h=u.borderBottom?u.borderBottom:s,p=u.borderTop?r:2*r,g=d!==h?1:i-a[o]+1;e.setEdge(l,d,{weight:p,minlen:g,nestingEdge:!0}),e.setEdge(h,c,{weight:p,minlen:g,nestingEdge:!0})})),e.parent(o)||e.setEdge(t,l,{weight:0,minlen:i+a[o]})}else o!==t&&e.setEdge(t,o,{weight:0,minlen:n})}function NO(e,t,n){var r=function(e){var t;for(;e.hasNode(t=DN("_root")););return t}(e),i=new LN({compound:!0}).setGraph({root:r}).setDefaultNodeLabel((function(t){return e.node(t)}));return Qw(e.nodes(),(function(a){var o=e.node(a),s=e.parent(a);(o.rank===t||o.minRank<=t&&t<=o.maxRank)&&(i.setNode(a),i.setParent(a,s||r),Qw(e[n](a),(function(t){var n=t.v===a?t.w:t.v,r=i.edge(n,a),o=uN(r)?0:r.weight;i.setEdge(n,a,{weight:e.edge(t).weight+o})})),oN(o,"minRank")&&i.setNode(a,{borderLeft:o.borderLeft[t],borderRight:o.borderRight[t]}))})),i}function OO(e,t){for(var n=0,r=1;r<t.length;++r)n+=RO(e,t[r-1],t[r]);return n}function RO(e,t,n){for(var r,i,a=(r=n,i=nN(n,(function(e,t){return t})),function(e,t,n){for(var r=-1,i=e.length,a=t.length,o={};++r<i;){var s=r<a?t[r]:void 0;n(o,e[r],s)}return o}(r||[],i||[],hk)),o=cA(nN(t,(function(t){return NN(nN(e.outEdges(t),(function(t){return{pos:a[t.w],weight:e.edge(t).weight}})),"pos")}))),s=1;s<n.length;)s<<=1;var l=2*s-1;s-=1;var c=nN(new Array(l),(function(){return 0})),u=0;return Qw( +// @ts-expect-error +o.forEach((function(e){var t=e.pos+s;c[t]+=e.weight;for(var n=0;t>0;)t%2&&(n+=c[t+1]),c[t=t-1>>1]+=e.weight;u+=e.weight*n}))),u}function IO(e,t){var n={};return Qw(e,(function(e,t){var r=n[e.v]={indegree:0,in:[],out:[],vs:[e.v],i:t};uN(e.barycenter)||(r.barycenter=e.barycenter,r.weight=e.weight)})),Qw(t.edges(),(function(e){var t=n[e.v],r=n[e.w];uN(t)||uN(r)||(r.indegree++,t.out.push(n[e.w]))})),function(e){var t=[];function n(e){return function(t){t.merged||(uN(t.barycenter)||uN(e.barycenter)||t.barycenter>=e.barycenter)&&function(e,t){var n=0,r=0;e.weight&&(n+=e.barycenter*e.weight,r+=e.weight);t.weight&&(n+=t.barycenter*t.weight,r+=t.weight);e.vs=t.vs.concat(e.vs),e.barycenter=n/r,e.weight=r,e.i=Math.min(t.i,e.i),t.merged=!0}(e,t)}}function r(t){return function(n){n.in.push(t),0==--n.indegree&&e.push(n)}}for(;e.length;){var i=e.pop();t.push(i),Qw(i.in.reverse(),n(i)),Qw(i.out,r(i))}return nN(Xw(t,(function(e){return!e.merged})),(function(e){return TN(e,["vs","i","barycenter","weight"])}))}(Xw(n,(function(e){return!e.indegree})))}function DO(e,t){var n,r=function(e,t){var n={lhs:[],rhs:[]};return Qw(e,(function(e){t(e)?n.lhs.push(e):n.rhs.push(e)})),n}(e,(function(e){return oN(e,"barycenter")})),i=r.lhs,a=NN(r.rhs,(function(e){return-e.i})),o=[],s=0,l=0,c=0;i.sort((n=!!t,function(e,t){return e.barycenter<t.barycenter?-1:e.barycenter>t.barycenter?1:n?t.i-e.i:e.i-t.i})),c=MO(o,a,c),Qw(i,(function(e){c+=e.vs.length,o.push(e.vs),s+=e.barycenter*e.weight,l+=e.weight,c=MO(o,a,c)}));var u={vs:cA(o)};return l&&(u.barycenter=s/l,u.weight=l),u}function MO(e,t,n){for(var r;t.length&&(r=Vw(t)).i<=n;)t.pop(),e.push(r.vs),n++;return n}function LO(e,t,n,r){var i=e.children(t),a=e.node(t),o=a?a.borderLeft:void 0,s=a?a.borderRight:void 0,l={};o&&(i=Xw(i,(function(e){return e!==o&&e!==s})));var c=function(e,t){return nN(t,(function(t){var n=e.inEdges(t);if(n.length){var r=wN(n,(function(t,n){var r=e.edge(n),i=e.node(n.v);return{sum:t.sum+r.weight*i.order,weight:t.weight+r.weight}}),{sum:0,weight:0});return{v:t,barycenter:r.sum/r.weight,weight:r.weight}}return{v:t}}))}(e,i);Qw(c,(function(t){if(e.children(t.v).length){var i=LO(e,t.v,n,r);l[t.v]=i,oN(i,"barycenter")&&(o=i,uN((a=t).barycenter)?(a.barycenter=o.barycenter,a.weight=o.weight):(a.barycenter=(a.barycenter*a.weight+o.barycenter*o.weight)/(a.weight+o.weight),a.weight+=o.weight))}var a,o}));var u=IO(c,n);!function(e,t){Qw(e,(function(e){e.vs=cA(e.vs.map((function(e){return t[e]?t[e].vs:e})))}))}(u,l);var d=DO(u,r);if(o&&(d.vs=cA([o,d.vs,s]),e.predecessors(o).length)){var h=e.node(e.predecessors(o)[0]),p=e.node(e.predecessors(s)[0]);oN(d,"barycenter")||(d.barycenter=0,d.weight=0),d.barycenter=(d.barycenter*d.weight+h.order+p.order)/(d.weight+2),d.weight+=2}return d}function PO(e){var t=ZN(e),n=jO(e,kN(1,t+1),"inEdges"),r=jO(e,kN(t-1,-1,-1),"outEdges"),i=function(e){var t={},n=Xw(e.nodes(),(function(t){return!e.children(t).length})),r=gN(nN(n,(function(t){return e.node(t).rank}))),i=nN(kN(r+1),(function(){return[]}));return Qw(NN(n,(function(t){return e.node(t).rank})),(function n(r){if(!oN(t,r)){t[r]=!0;var a=e.node(r);i[a.rank].push(r),Qw(e.successors(r),n)}})),i}(e);BO(e,i);for(var a,o=Number.POSITIVE_INFINITY,s=0,l=0;l<4;++s,++l){FO(s%2?n:r,s%4>=2);var c=OO(e,i=KN(e));c<o&&(l=0,a=uw(i,5),o=c)}BO(e,a)}function jO(e,t,n){return nN(t,(function(t){return NO(e,t,n)}))}function FO(e,t){var n=new LN;Qw(e,(function(e){var r=e.graph().root,i=LO(e,r,n,t);Qw(i.vs,(function(t,n){e.node(t).order=n})),function(e,t,n){var r,i={};Qw(n,(function(n){for(var a,o,s=e.parent(n);s;){if((a=e.parent(s))?(o=i[a],i[a]=s):(o=r,r=s),o&&o!==s)return void t.setEdge(o,s);s=a}}))}(e,n,i.vs)}))}function BO(e,t){Qw(t,(function(t){Qw(t,(function(t,n){e.node(t).order=n}))}))}function UO(e){var t=function(e){var t={},n=0;function r(i){var a=n;Qw(e.children(i),r),t[i]={low:a,lim:n++}}return Qw(e.children(),r),t}(e);Qw(e.graph().dummyChains,(function(n){for(var r=e.node(n),i=r.edgeObj,a=function(e,t,n,r){var i,a,o=[],s=[],l=Math.min(t[n].low,t[r].low),c=Math.max(t[n].lim,t[r].lim);i=n;do{i=e.parent(i),o.push(i)}while(i&&(t[i].low>l||c>t[i].lim));a=i,i=r;for(;(i=e.parent(i))!==a;)s.push(i);return{path:o.concat(s.reverse()),lca:a}}(e,t,i.v,i.w),o=a.path,s=a.lca,l=0,c=o[l],u=!0;n!==i.w;){if(r=e.node(n),u){for(;(c=o[l])!==s&&e.node(c).maxRank<r.rank;)l++;c===s&&(u=!1)}if(!u){for(;l<o.length-1&&e.node(c=o[l+1]).minRank<=r.rank;)l++;c=o[l]}e.setParent(n,c),n=e.successors(n)[0]}}))}function GO(e,t){var n={};return wN(t,(function(t,r){var i=0,a=0,o=t.length,s=Vw(r);return Qw(r,(function(t,l){var c=function(e,t){if(e.node(t).dummy)return eN(e.predecessors(t),(function(t){return e.node(t).dummy}))}(e,t),u=c?e.node(c).order:o;(c||t===s)&&(Qw(r.slice(a,l+1),(function(t){Qw(e.predecessors(t),(function(r){var a=e.node(r),o=a.order;!(o<i||u<o)||a.dummy&&e.node(t).dummy||zO(n,r,t)}))})),a=l+1,i=u)})),r})),n}function zO(e,t,n){if(t>n){var r=t;t=n,n=r}var i=e[t];i||(e[t]=i={}),i[n]=!0}function $O(e,t,n){if(t>n){var r=t;t=n,n=r}return oN(e[t],n)}function YO(e,t,n,r,i){var a={},o=function(e,t,n,r){var i=new LN,a=e.graph(),o=function(e,t,n){return function(r,i,a){var o,s=r.node(i),l=r.node(a),c=0;if(c+=s.width/2,oN(s,"labelpos"))switch(s.labelpos.toLowerCase()){case"l":o=-s.width/2;break;case"r":o=s.width/2}if(o&&(c+=n?o:-o),o=0,c+=(s.dummy?t:e)/2,c+=(l.dummy?t:e)/2,c+=l.width/2,oN(l,"labelpos"))switch(l.labelpos.toLowerCase()){case"l":o=l.width/2;break;case"r":o=-l.width/2}return o&&(c+=n?o:-o),o=0,c}}(a.nodesep,a.edgesep,r);return Qw(t,(function(t){var r;Qw(t,(function(t){var a=n[t];if(i.setNode(a),r){var s=n[r],l=i.edge(s,a);i.setEdge(s,a,Math.max(o(e,t,r),l||0))}r=t}))})),i}(e,t,n,i),s=i?"borderLeft":"borderRight";function l(e,t){for(var n=o.nodes(),r=n.pop(),i={};r;)i[r]?e(r):(i[r]=!0,n.push(r),n=n.concat(t(r))),r=n.pop()}return l((function(e){a[e]=o.inEdges(e).reduce((function(e,t){return Math.max(e,a[t.v]+o.edge(t))}),0)}),o.predecessors.bind(o)),l((function(t){var n=o.outEdges(t).reduce((function(e,t){return Math.min(e,a[t.w]-o.edge(t))}),Number.POSITIVE_INFINITY),r=e.node(t);n!==Number.POSITIVE_INFINITY&&r.borderType!==s&&(a[t]=Math.max(a[t],n))}),o.successors.bind(o)),Qw(r,(function(e){a[e]=a[n[e]]})),a}function qO(e,t){return fN(sN(t),(function(t){var n,r,i=Number.NEGATIVE_INFINITY,a=Number.POSITIVE_INFINITY;return r=function(t,n){var r=function(e,t){return e.node(t).width}(e,n)/2;i=Math.max(t+r,i),a=Math.min(t-r,a)},null==(n=t)||Lw(n,Ww(r),Wk),i-a}))}function HO(e){var t,n=KN(e),r=_N(GO(e,n),function(e,t){var n={};function r(t,r,i,a,o){var s;Qw(kN(r,i),(function(r){s=t[r],e.node(s).dummy&&Qw(e.predecessors(s),(function(t){var r=e.node(t);r.dummy&&(r.order<a||r.order>o)&&zO(n,t,s)}))}))}return wN(t,(function(t,n){var i,a=-1,o=0;return Qw(n,(function(s,l){if("border"===e.node(s).dummy){var c=e.predecessors(s);c.length&&(i=e.node(c[0]).order,r(n,o,l,a,i),o=l,a=i)}r(n,o,n.length,i,t.length)})),n})),n}(e,n)),i={};Qw(["u","d"],(function(a){t="u"===a?n:sN(n).reverse(),Qw(["l","r"],(function(n){"r"===n&&(t=nN(t,(function(e){return sN(e).reverse()})));var o=("u"===a?e.predecessors:e.successors).bind(e),s=function(e,t,n,r){var i={},a={},o={};return Qw(t,(function(e){Qw(e,(function(e,t){i[e]=e,a[e]=e,o[e]=t}))})),Qw(t,(function(e){var t=-1;Qw(e,(function(e){var s=r(e);if(s.length)for(var l=((s=NN(s,(function(e){return o[e]}))).length-1)/2,c=Math.floor(l),u=Math.ceil(l);c<=u;++c){var d=s[c];a[e]===e&&t<o[d]&&!$O(n,e,d)&&(a[d]=e,a[e]=i[e]=i[d],t=o[d])}}))})),{root:i,align:a}}(0,t,r,o),l=YO(e,t,s.root,s.align,"r"===n);"r"===n&&(l=hN(l,(function(e){return-e}))),i[a+n]=l}))}));var a=qO(e,i);return function(e,t){var n=sN(t),r=bN(n),i=gN(n);Qw(["u","d"],(function(n){Qw(["l","r"],(function(a){var o,s=n+a,l=e[s];if(l!==t){var c=sN(l);(o="l"===a?r-bN(c):i-gN(c))&&(e[s]=hN(l,(function(e){return e+o})))}}))}))}(i,a),function(e,t){return hN(e.ul,(function(n,r){if(t)return e[t.toLowerCase()][r];var i=NN(nN(e,r));return(i[1]+i[2])/2}))}(i,e.graph().align)}function VO(e){(function(e){var t=KN(e),n=e.graph().ranksep,r=0;Qw(t,(function(t){var i=gN(nN(t,(function(t){return e.node(t).height})));Qw(t,(function(t){e.node(t).y=r+i/2})),r+=i+n}))})(e=WN(e)),Qw(HO(e),(function(t,n){e.node(n).x=t}))}function WO(e,t){var n=JN;n("layout",(function(){var t=n(" buildLayoutGraph",(function(){return function(e){var t=new LN({multigraph:!0,compound:!0}),n=iR(e.graph());return t.setGraph(_N({},KO,rR(n,QO),TN(n,XO))),Qw(e.nodes(),(function(n){var r=iR(e.node(n));t.setNode(n,Gw(rR(r,ZO),JO)),t.setParent(n,e.parent(n))})),Qw(e.edges(),(function(n){var r=iR(e.edge(n));t.setEdge(n,_N({},tR,rR(r,eR),TN(r,nR)))})),t}(e)}));n(" runLayout",(function(){!function(e,t){t(" makeSpaceForEdgeLabels",(function(){!function(e){var t=e.graph();t.ranksep/=2,Qw(e.edges(),(function(n){var r=e.edge(n);r.minlen*=2,"c"!==r.labelpos.toLowerCase()&&("TB"===t.rankdir||"BT"===t.rankdir?r.width+=r.labeloffset:r.height+=r.labeloffset)}))}(e)})),t(" removeSelfEdges",(function(){!function(e){Qw(e.edges(),(function(t){if(t.v===t.w){var n=e.node(t.v);n.selfEdges||(n.selfEdges=[]),n.selfEdges.push({e:t,label:e.edge(t)}),e.removeEdge(t)}}))}(e)})),t(" acyclic",(function(){HN(e)})),t(" nestingGraph.run",(function(){AO(e)})),t(" rank",(function(){CO(WN(e))})),t(" injectEdgeLabelProxies",(function(){!function(e){Qw(e.edges(),(function(t){var n=e.edge(t);if(n.width&&n.height){var r=e.node(t.v),i={rank:(e.node(t.w).rank-r.rank)/2+r.rank,e:t};VN(e,"edge-proxy",i,"_ep")}}))}(e)})),t(" removeEmptyRanks",(function(){!function(e){var t=bN(nN(e.nodes(),(function(t){return e.node(t).rank}))),n=[];Qw(e.nodes(),(function(r){var i=e.node(r).rank-t;n[i]||(n[i]=[]),n[i].push(r)}));var r=0,i=e.graph().nodeRankFactor;Qw(n,(function(t,n){uN(t)&&n%i!=0?--r:r&&Qw(t,(function(t){e.node(t).rank+=r}))}))}(e)})),t(" nestingGraph.cleanup",(function(){!function(e){var t=e.graph();e.removeNode(t.nestingRoot),delete t.nestingRoot,Qw(e.edges(),(function(t){e.edge(t).nestingEdge&&e.removeEdge(t)}))}(e)})),t(" normalizeRanks",(function(){!function(e){var t=bN(nN(e.nodes(),(function(t){return e.node(t).rank})));Qw(e.nodes(),(function(n){var r=e.node(n);oN(r,"rank")&&(r.rank-=t)}))}(e)})),t(" assignRankMinMax",(function(){!function(e){var t=0;Qw(e.nodes(),(function(n){var r=e.node(n);r.borderTop&&(r.minRank=e.node(r.borderTop).rank,r.maxRank=e.node(r.borderBottom).rank,t=gN(t,r.maxRank))})),e.graph().maxRank=t}(e)})),t(" removeEdgeLabelProxies",(function(){!function(e){Qw(e.nodes(),(function(t){var n=e.node(t);"edge-proxy"===n.dummy&&(e.edge(n.e).labelRank=n.rank,e.removeNode(t))}))}(e)})),t(" normalize.run",(function(){oO(e)})),t(" parentDummyChains",(function(){UO(e)})),t(" addBorderSegments",(function(){!function(e){Qw(e.children(),(function t(n){var r=e.children(n),i=e.node(n);if(r.length&&Qw(r,t),oN(i,"minRank")){i.borderLeft=[],i.borderRight=[];for(var a=i.minRank,o=i.maxRank+1;a<o;++a)eO(e,"borderLeft","_bl",n,i,a),eO(e,"borderRight","_br",n,i,a)}}))}(e)})),t(" order",(function(){PO(e)})),t(" insertSelfEdges",(function(){!function(e){var t=KN(e);Qw(t,(function(t){var n=0;Qw(t,(function(t,r){var i=e.node(t);i.order=r+n,Qw(i.selfEdges,(function(t){VN(e,"selfedge",{width:t.label.width,height:t.label.height,rank:i.rank,order:r+ ++n,e:t.e,label:t.label},"_se")})),delete i.selfEdges}))}))}(e)})),t(" adjustCoordinateSystem",(function(){!function(e){var t=e.graph().rankdir.toLowerCase();"lr"!==t&&"rl"!==t||nO(e)}(e)})),t(" position",(function(){VO(e)})),t(" positionSelfEdges",(function(){!function(e){Qw(e.nodes(),(function(t){var n=e.node(t);if("selfedge"===n.dummy){var r=e.node(n.e.v),i=r.x+r.width/2,a=r.y,o=n.x-i,s=r.height/2;e.setEdge(n.e,n.label),e.removeNode(t),n.label.points=[{x:i+2*o/3,y:a-s},{x:i+5*o/6,y:a-s},{x:i+o,y:a},{x:i+5*o/6,y:a+s},{x:i+2*o/3,y:a+s}],n.label.x=n.x,n.label.y=n.y}}))}(e)})),t(" removeBorderNodes",(function(){!function(e){Qw(e.nodes(),(function(t){if(e.children(t).length){var n=e.node(t),r=e.node(n.borderTop),i=e.node(n.borderBottom),a=e.node(Vw(n.borderLeft)),o=e.node(Vw(n.borderRight));n.width=Math.abs(o.x-a.x),n.height=Math.abs(i.y-r.y),n.x=a.x+n.width/2,n.y=r.y+n.height/2}})),Qw(e.nodes(),(function(t){"border"===e.node(t).dummy&&e.removeNode(t)}))}(e)})),t(" normalize.undo",(function(){!function(e){Qw(e.graph().dummyChains,(function(t){var n,r=e.node(t),i=r.edgeLabel;for(e.setEdge(r.edgeObj,i);r.dummy;)n=e.successors(t)[0],e.removeNode(t),i.points.push({x:r.x,y:r.y}),"edge-label"===r.dummy&&(i.x=r.x,i.y=r.y,i.width=r.width,i.height=r.height),t=n,r=e.node(t)}))}(e)})),t(" fixupEdgeLabelCoords",(function(){!function(e){Qw(e.edges(),(function(t){var n=e.edge(t);if(oN(n,"x"))switch("l"!==n.labelpos&&"r"!==n.labelpos||(n.width-=n.labeloffset),n.labelpos){case"l":n.x-=n.width/2+n.labeloffset;break;case"r":n.x+=n.width/2+n.labeloffset}}))}(e)})),t(" undoCoordinateSystem",(function(){tO(e)})),t(" translateGraph",(function(){!function(e){var t=Number.POSITIVE_INFINITY,n=0,r=Number.POSITIVE_INFINITY,i=0,a=e.graph(),o=a.marginx||0,s=a.marginy||0;function l(e){var a=e.x,o=e.y,s=e.width,l=e.height;t=Math.min(t,a-s/2),n=Math.max(n,a+s/2),r=Math.min(r,o-l/2),i=Math.max(i,o+l/2)}Qw(e.nodes(),(function(t){l(e.node(t))})),Qw(e.edges(),(function(t){var n=e.edge(t);oN(n,"x")&&l(n)})),t-=o,r-=s,Qw(e.nodes(),(function(n){var i=e.node(n);i.x-=t,i.y-=r})),Qw(e.edges(),(function(n){var i=e.edge(n);Qw(i.points,(function(e){e.x-=t,e.y-=r})),oN(i,"x")&&(i.x-=t),oN(i,"y")&&(i.y-=r)})),a.width=n-t+o,a.height=i-r+s}(e)})),t(" assignNodeIntersects",(function(){!function(e){Qw(e.edges(),(function(t){var n,r,i=e.edge(t),a=e.node(t.v),o=e.node(t.w);i.points?(n=i.points[0],r=i.points[i.points.length-1]):(i.points=[],n=o,r=a),i.points.unshift(QN(a,n)),i.points.push(QN(o,r))}))}(e)})),t(" reversePoints",(function(){!function(e){Qw(e.edges(),(function(t){var n=e.edge(t);n.reversed&&n.points.reverse()}))}(e)})),t(" acyclic.undo",(function(){!function(e){Qw(e.edges(),(function(t){var n=e.edge(t);if(n.reversed){e.removeEdge(t);var r=n.forwardName;delete n.reversed,delete n.forwardName,e.setEdge(t.w,t.v,n,r)}}))}(e)}))}(t,n)})),n(" updateInputGraph",(function(){!function(e,t){Qw(e.nodes(),(function(n){var r=e.node(n),i=t.node(n);r&&(r.x=i.x,r.y=i.y,t.children(n).length&&(r.width=i.width,r.height=i.height))})),Qw(e.edges(),(function(n){var r=e.edge(n),i=t.edge(n);r.points=i.points,oN(i,"x")&&(r.x=i.x,r.y=i.y)})),e.graph().width=t.graph().width,e.graph().height=t.graph().height}(e,t)}))}))}var QO=["nodesep","edgesep","ranksep","marginx","marginy"],KO={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},XO=["acyclicer","ranker","rankdir","align"],ZO=["width","height"],JO={width:0,height:0},eR=["minlen","weight","width","height","labeloffset"],tR={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},nR=["labelpos"];function rR(e,t){return hN(TN(e,t),Number)}function iR(e){var t={};return Qw(e,(function(e,n){t[n.toLowerCase()]=e})),t}function aR(e){var t={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:oR(e),edges:sR(e)};return uN(e.graph())||(t.value=uw(e.graph(),4)),t}function oR(e){return nN(e.nodes(),(function(t){var n=e.node(t),r=e.parent(t),i={v:t};return uN(n)||(i.value=n),uN(r)||(i.parent=r),i}))}function sR(e){return nN(e.edges(),(function(t){var n=e.edge(t),r={v:t.v,w:t.w};return uN(t.name)||(r.name=t.name),uN(n)||(r.value=n),r}))}const lR=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;const cR=[];for(let c=0;c<256;++c)cR.push((c+256).toString(16).slice(1));function uR(e){if(!function(e){return"string"==typeof e&&lR.test(e)}(e))throw TypeError("Invalid UUID");let t;const n=new Uint8Array(16);return n[0]=(t=parseInt(e.slice(0,8),16))>>>24,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=255&t,n[4]=(t=parseInt(e.slice(9,13),16))>>>8,n[5]=255&t,n[6]=(t=parseInt(e.slice(14,18),16))>>>8,n[7]=255&t,n[8]=(t=parseInt(e.slice(19,23),16))>>>8,n[9]=255&t,n[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,n[11]=t/4294967296&255,n[12]=t>>>24&255,n[13]=t>>>16&255,n[14]=t>>>8&255,n[15]=255&t,n}function dR(e,t,n,r){switch(e){case 0:return t&n^~t&r;case 1:case 3:return t^n^r;case 2:return t&n^t&r^n&r}}function hR(e,t){return e<<t|e>>>32-t}const pR=function(e,t,n){function r(e,r,i,a){var o;if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));const t=[];for(let n=0;n<e.length;++n)t.push(e.charCodeAt(n));return t}(e)),"string"==typeof r&&(r=uR(r)),16!==(null===(o=r)||void 0===o?void 0:o.length))throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let s=new Uint8Array(16+e.length);if(s.set(r),s.set(e,r.length),s=n(s),s[6]=15&s[6]|t,s[8]=63&s[8]|128,i){a=a||0;for(let e=0;e<16;++e)i[a+e]=s[e];return i}return function(e,t=0){return cR[e[t+0]]+cR[e[t+1]]+cR[e[t+2]]+cR[e[t+3]]+"-"+cR[e[t+4]]+cR[e[t+5]]+"-"+cR[e[t+6]]+cR[e[t+7]]+"-"+cR[e[t+8]]+cR[e[t+9]]+"-"+cR[e[t+10]]+cR[e[t+11]]+cR[e[t+12]]+cR[e[t+13]]+cR[e[t+14]]+cR[e[t+15]]}(s)}try{r.name=e}catch(i){}return r.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",r.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",r}("v5",80,(function(e){const t=[1518500249,1859775393,2400959708,3395469782],n=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){const t=unescape(encodeURIComponent(e));e=[];for(let n=0;n<t.length;++n)e.push(t.charCodeAt(n))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);const r=e.length/4+2,i=Math.ceil(r/16),a=new Array(i);for(let o=0;o<i;++o){const t=new Uint32Array(16);for(let n=0;n<16;++n)t[n]=e[64*o+4*n]<<24|e[64*o+4*n+1]<<16|e[64*o+4*n+2]<<8|e[64*o+4*n+3];a[o]=t}a[i-1][14]=8*(e.length-1)/Math.pow(2,32),a[i-1][14]=Math.floor(a[i-1][14]),a[i-1][15]=8*(e.length-1)&4294967295;for(let o=0;o<i;++o){const e=new Uint32Array(80);for(let t=0;t<16;++t)e[t]=a[o][t];for(let t=16;t<80;++t)e[t]=hR(e[t-3]^e[t-8]^e[t-14]^e[t-16],1);let r=n[0],i=n[1],s=n[2],l=n[3],c=n[4];for(let n=0;n<80;++n){const a=Math.floor(n/20),o=hR(r,5)+dR(a,i,s,l)+c+t[a]+e[n]>>>0;c=l,l=s,s=hR(i,30)>>>0,i=r,r=o}n[0]=n[0]+r>>>0,n[1]=n[1]+i>>>0,n[2]=n[2]+s>>>0,n[3]=n[3]+l>>>0,n[4]=n[4]+c>>>0}return[n[0]>>24&255,n[0]>>16&255,n[0]>>8&255,255&n[0],n[1]>>24&255,n[1]>>16&255,n[1]>>8&255,255&n[1],n[2]>>24&255,n[2]>>16&255,n[2]>>8&255,255&n[2],n[3]>>24&255,n[3]>>16&255,n[3]>>8&255,255&n[3],n[4]>>24&255,n[4]>>16&255,n[4]>>8&255,255&n[4]]}));function gR(e,t){t&&e.attr("style",t)}function mR(e,t){var n=e.append("foreignObject").attr("width","100000"),r=n.append("xhtml:div");r.attr("xmlns","http://www.w3.org/1999/xhtml");var i=t.label;switch(typeof i){case"function":r.insert(i);break;case"object":r.insert((function(){return i}));break;default:r.html(i)}gR(r,t.labelStyle),r.style("display","inline-block"),r.style("white-space","nowrap");var a=r.node().getBoundingClientRect();return n.attr("width",a.width).attr("height",a.height),n}var _R,bR={exports:{}};var fR,yR=(_R||(_R=1,bR.exports=(fR="day",function(e,t,n){var r=function(e){return e.add(4-e.isoWeekday(),fR)},i=t.prototype;i.isoWeekYear=function(){return r(this).year()},i.isoWeek=function(e){if(!this.$utils().u(e))return this.add(7*(e-this.isoWeek()),fR);var t,i,a,o=r(this),s=(t=this.isoWeekYear(),a=4-(i=(this.$u?n.utc:n)().year(t).startOf("year")).isoWeekday(),i.isoWeekday()>4&&(a+=7),i.add(a,fR));return o.diff(s,"week")+1},i.isoWeekday=function(e){return this.$utils().u(e)?this.day()||7:this.day(this.day()%7?e:e-7)};var a=i.startOf;i.startOf=function(e,t){var n=this.$utils(),r=!!n.u(t)||t;return"isoweek"===n.p(e)?r?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):a.bind(this)(e,t)}})),bR.exports);const vR=d(yR);var ER,SR={exports:{}};var TR=(ER||(ER=1,SR.exports=function(){var e={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},t=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d\d/,r=/\d\d?/,i=/\d*[^-_:/,()\s\d]+/,a={},o=function(e){return(e=+e)+(e>68?1900:2e3)},s=function(e){return function(t){this[e]=+t}},l=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||(this.zone={})).offset=function(e){if(!e)return 0;if("Z"===e)return 0;var t=e.match(/([+-]|\d\d)/g),n=60*t[1]+(+t[2]||0);return 0===n?0:"+"===t[0]?-n:n}(e)}],c=function(e){var t=a[e];return t&&(t.indexOf?t:t.s.concat(t.f))},u=function(e,t){var n,r=a.meridiem;if(r){for(var i=1;i<=24;i+=1)if(e.indexOf(r(i,0,t))>-1){n=i>12;break}}else n=e===(t?"pm":"PM");return n},d={A:[i,function(e){this.afternoon=u(e,!1)}],a:[i,function(e){this.afternoon=u(e,!0)}],S:[/\d/,function(e){this.milliseconds=100*+e}],SS:[n,function(e){this.milliseconds=10*+e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[r,s("seconds")],ss:[r,s("seconds")],m:[r,s("minutes")],mm:[r,s("minutes")],H:[r,s("hours")],h:[r,s("hours")],HH:[r,s("hours")],hh:[r,s("hours")],D:[r,s("day")],DD:[n,s("day")],Do:[i,function(e){var t=a.ordinal,n=e.match(/\d+/);if(this.day=n[0],t)for(var r=1;r<=31;r+=1)t(r).replace(/\[|\]/g,"")===e&&(this.day=r)}],M:[r,s("month")],MM:[n,s("month")],MMM:[i,function(e){var t=c("months"),n=(c("monthsShort")||t.map((function(e){return e.slice(0,3)}))).indexOf(e)+1;if(n<1)throw new Error;this.month=n%12||n}],MMMM:[i,function(e){var t=c("months").indexOf(e)+1;if(t<1)throw new Error;this.month=t%12||t}],Y:[/[+-]?\d+/,s("year")],YY:[n,function(e){this.year=o(e)}],YYYY:[/\d{4}/,s("year")],Z:l,ZZ:l};function h(n){var r,i;r=n,i=a&&a.formats;for(var o=(n=r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,n,r){var a=r&&r.toUpperCase();return n||i[r]||e[r]||i[a].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}))).match(t),s=o.length,l=0;l<s;l+=1){var c=o[l],u=d[c],h=u&&u[0],p=u&&u[1];o[l]=p?{regex:h,parser:p}:c.replace(/^\[|\]$/g,"")}return function(e){for(var t={},n=0,r=0;n<s;n+=1){var i=o[n];if("string"==typeof i)r+=i.length;else{var a=i.regex,l=i.parser,c=e.slice(r),u=a.exec(c)[0];l.call(t,u),e=e.replace(u,"")}}return function(e){var t=e.afternoon;if(void 0!==t){var n=e.hours;t?n<12&&(e.hours+=12):12===n&&(e.hours=0),delete e.afternoon}}(t),t}}return function(e,t,n){n.p.customParseFormat=!0,e&&e.parseTwoDigitYear&&(o=e.parseTwoDigitYear);var r=t.prototype,i=r.parse;r.parse=function(e){var t=e.date,r=e.utc,o=e.args;this.$u=r;var s=o[1];if("string"==typeof s){var l=!0===o[2],c=!0===o[3],u=l||c,d=o[2];c&&(d=o[2]),a=this.$locale(),!l&&d&&(a=n.Ls[d]),this.$d=function(e,t,n){try{if(["x","X"].indexOf(t)>-1)return new Date(("X"===t?1e3:1)*e);var r=h(t)(e),i=r.year,a=r.month,o=r.day,s=r.hours,l=r.minutes,c=r.seconds,u=r.milliseconds,d=r.zone,p=new Date,g=o||(i||a?1:p.getDate()),m=i||p.getFullYear(),_=0;i&&!a||(_=a>0?a-1:p.getMonth());var b=s||0,f=l||0,y=c||0,v=u||0;return d?new Date(Date.UTC(m,_,g,b,f,y,v+60*d.offset*1e3)):n?new Date(Date.UTC(m,_,g,b,f,y,v)):new Date(m,_,g,b,f,y,v)}catch(E){ +return new Date("")}}(t,s,r),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),u&&t!=this.format(s)&&(this.$d=new Date("")),a={}}else if(s instanceof Array)for(var p=s.length,g=1;g<=p;g+=1){o[1]=s[g-1];var m=n.apply(this,o);if(m.isValid()){this.$d=m.$d,this.$L=m.$L,this.init();break}g===p&&(this.$d=new Date(""))}else i.call(this,e)}}}()),SR.exports);const CR=d(TR);var xR,kR={exports:{}};const AR=d(xR?kR.exports:(xR=1,kR.exports=function(e,t){var n=t.prototype,r=n.format;n.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return r.bind(this)(e);var i=this.$utils(),a=(e||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(e){switch(e){case"Q":return Math.ceil((t.$M+1)/3);case"Do":return n.ordinal(t.$D);case"gggg":return t.weekYear();case"GGGG":return t.isoWeekYear();case"wo":return n.ordinal(t.week(),"W");case"w":case"ww":return i.s(t.week(),"w"===e?1:2,"0");case"W":case"WW":return i.s(t.isoWeek(),"W"===e?1:2,"0");case"k":case"kk":return i.s(String(0===t.$H?24:t.$H),"k"===e?1:2,"0");case"X":return Math.floor(t.$d.getTime()/1e3);case"x":return t.$d.getTime();case"z":return"["+t.offsetName()+"]";case"zzz":return"["+t.offsetName("long")+"]";default:return e}}));return r.bind(this)(a)}})),wR={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},NR={trace:(...e)=>{},debug:(...e)=>{},info:(...e)=>{},warn:(...e)=>{},error:(...e)=>{},fatal:(...e)=>{}},OR=function(e="fatal"){let t=wR.fatal;"string"==typeof e?(e=e.toLowerCase())in wR&&(t=wR[e]):"number"==typeof e&&(t=e),NR.trace=()=>{},NR.debug=()=>{},NR.info=()=>{},NR.warn=()=>{},NR.error=()=>{},NR.fatal=()=>{},t<=wR.fatal&&(NR.fatal=(console.error,function(){}.bind())),t<=wR.error&&(NR.error=(console.error,function(){}.bind())),t<=wR.warn&&(NR.warn=(console.warn,function(){}.bind())),t<=wR.info&&(NR.info=(console.info,function(){}.bind())),t<=wR.debug&&(NR.debug=(console.debug,function(){}.bind())),t<=wR.trace&&(NR.trace=(console.debug,function(){}.bind()))},RR=e=>YT.sanitize(e),IR=(e,t)=>{var n;if(!1!==(null==(n=t.flowchart)?void 0:n.htmlLabels)){const n=t.securityLevel;"antiscript"===n||"strict"===n?e=RR(e):"loose"!==n&&(e=(e=(e=PR(e)).replace(/</g,"<").replace(/>/g,">")).replace(/=/g,"="),e=LR(e))}return e},DR=(e,t)=>e?e=t.dompurifyConfig?YT.sanitize(IR(e,t),t.dompurifyConfig).toString():YT.sanitize(IR(e,t),{FORBID_TAGS:["style"]}).toString():e,MR=/<br\s*\/?>/gi,LR=e=>e.replace(/#br#/g,"<br/>"),PR=e=>e.replace(MR,"#br#"),jR=e=>!1!==e&&!["false","null","0"].includes(String(e).trim().toLowerCase()),FR=function(e){let t=e;if(e.split("~").length-1>=2){let e=t;do{t=e,e=t.replace(/~([^\s,:;]+)~/,"<$1>")}while(e!=t);return FR(e)}return t},BR={getRows:e=>{if(!e)return[""];return PR(e).replace(/\\n/g,"#br#").split("#br#")},sanitizeText:DR,sanitizeTextOrArray:(e,t)=>"string"==typeof e?DR(e,t):e.flat().map((e=>DR(e,t))),hasBreaks:e=>MR.test(e),splitBreaks:e=>e.split(MR),lineBreakRegex:MR,removeScript:RR,getUrl:e=>{let t="";return e&&(t=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,t=t.replaceAll(/\(/g,"\\("),t=t.replaceAll(/\)/g,"\\)")),t},evaluate:jR},UR=(e,t)=>cC(e,t?{s:-40,l:10}:{s:-40,l:-10}),GR="#ffffff",zR="#f2f2f2";let $R=class{constructor(){this.background="#f4f4f4",this.primaryColor="#fff4dd",this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.THEME_COLOR_LIMIT=12,this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px"}updateColors(){if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||cC(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||cC(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||UR(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||UR(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||UR(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||UR(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||uC(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||uC(this.tertiaryColor),this.lineColor=this.lineColor||uC(this.background),this.textColor=this.textColor||this.primaryTextColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?lC(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||"grey",this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||lC(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||uC(this.lineColor),this.sectionBkgColor=this.sectionBkgColor||this.tertiaryColor,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||this.secondaryColor,this.sectionBkgColor2=this.sectionBkgColor2||this.primaryColor,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||this.primaryColor,this.activeTaskBorderColor=this.activeTaskBorderColor||this.primaryColor,this.activeTaskBkgColor=this.activeTaskBkgColor||sC(this.primaryColor,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.taskTextColor=this.taskTextColor||this.textColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||this.tertiaryColor,this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||cC(this.primaryColor,{h:30}),this.cScale4=this.cScale4||cC(this.primaryColor,{h:60}),this.cScale5=this.cScale5||cC(this.primaryColor,{h:90}),this.cScale6=this.cScale6||cC(this.primaryColor,{h:120}),this.cScale7=this.cScale7||cC(this.primaryColor,{h:150}),this.cScale8=this.cScale8||cC(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||cC(this.primaryColor,{h:270}),this.cScale10=this.cScale10||cC(this.primaryColor,{h:300}),this.cScale11=this.cScale11||cC(this.primaryColor,{h:330}),this.darkMode)for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScale"+t]=lC(this["cScale"+t],75);else for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScale"+t]=lC(this["cScale"+t],25);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleInv"+t]=this["cScaleInv"+t]||uC(this["cScale"+t]);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this.darkMode?this["cScalePeer"+t]=this["cScalePeer"+t]||sC(this["cScale"+t],10):this["cScalePeer"+t]=this["cScalePeer"+t]||lC(this["cScale"+t],10);this.scaleLabelColor=this.scaleLabelColor||this.labelTextColor;for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.scaleLabelColor;const e=this.darkMode?-4:-1;for(let t=0;t<5;t++)this["surface"+t]=this["surface"+t]||cC(this.mainBkg,{h:180,s:-15,l:e*(5+3*t)}),this["surfacePeer"+t]=this["surfacePeer"+t]||cC(this.mainBkg,{h:180,s:-15,l:e*(8+3*t)});this.classText=this.classText||this.textColor,this.fillType0=this.fillType0||this.primaryColor,this.fillType1=this.fillType1||this.secondaryColor,this.fillType2=this.fillType2||cC(this.primaryColor,{h:64}),this.fillType3=this.fillType3||cC(this.secondaryColor,{h:64}),this.fillType4=this.fillType4||cC(this.primaryColor,{h:-64}),this.fillType5=this.fillType5||cC(this.secondaryColor,{h:-64}),this.fillType6=this.fillType6||cC(this.primaryColor,{h:128}),this.fillType7=this.fillType7||cC(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||cC(this.primaryColor,{l:-10}),this.pie5=this.pie5||cC(this.secondaryColor,{l:-10}),this.pie6=this.pie6||cC(this.tertiaryColor,{l:-10}),this.pie7=this.pie7||cC(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||cC(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||cC(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||cC(this.primaryColor,{h:60,l:-20}),this.pie11=this.pie11||cC(this.primaryColor,{h:-60,l:-20}),this.pie12=this.pie12||cC(this.primaryColor,{h:120,l:-10}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOpacity=this.pieOpacity||"0.7",this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||this.primaryBorderColor,this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?lC(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||cC(this.primaryColor,{h:-30}),this.git4=this.git4||cC(this.primaryColor,{h:-60}),this.git5=this.git5||cC(this.primaryColor,{h:-90}),this.git6=this.git6||cC(this.primaryColor,{h:60}),this.git7=this.git7||cC(this.primaryColor,{h:120}),this.darkMode?(this.git0=sC(this.git0,25),this.git1=sC(this.git1,25),this.git2=sC(this.git2,25),this.git3=sC(this.git3,25),this.git4=sC(this.git4,25),this.git5=sC(this.git5,25),this.git6=sC(this.git6,25),this.git7=sC(this.git7,25)):(this.git0=lC(this.git0,25),this.git1=lC(this.git1,25),this.git2=lC(this.git2,25),this.git3=lC(this.git3,25),this.git4=lC(this.git4,25),this.git5=lC(this.git5,25),this.git6=lC(this.git6,25),this.git7=lC(this.git7,25)),this.gitInv0=this.gitInv0||uC(this.git0),this.gitInv1=this.gitInv1||uC(this.git1),this.gitInv2=this.gitInv2||uC(this.git2),this.gitInv3=this.gitInv3||uC(this.git3),this.gitInv4=this.gitInv4||uC(this.git4),this.gitInv5=this.gitInv5||uC(this.git5),this.gitInv6=this.gitInv6||uC(this.git6),this.gitInv7=this.gitInv7||uC(this.git7),this.branchLabelColor=this.branchLabelColor||(this.darkMode?"black":this.labelTextColor),this.gitBranchLabel0=this.gitBranchLabel0||this.branchLabelColor,this.gitBranchLabel1=this.gitBranchLabel1||this.branchLabelColor,this.gitBranchLabel2=this.gitBranchLabel2||this.branchLabelColor,this.gitBranchLabel3=this.gitBranchLabel3||this.branchLabelColor,this.gitBranchLabel4=this.gitBranchLabel4||this.branchLabelColor,this.gitBranchLabel5=this.gitBranchLabel5||this.branchLabelColor,this.gitBranchLabel6=this.gitBranchLabel6||this.branchLabelColor,this.gitBranchLabel7=this.gitBranchLabel7||this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||GR,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||zR}calculate(e){if("object"!=typeof e)return void this.updateColors();const t=Object.keys(e);t.forEach((t=>{this[t]=e[t]})),this.updateColors(),t.forEach((t=>{this[t]=e[t]}))}};let YR=class{constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=sC(this.primaryColor,16),this.tertiaryColor=cC(this.primaryColor,{h:-160}),this.primaryBorderColor=uC(this.background),this.secondaryBorderColor=UR(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=UR(this.tertiaryColor,this.darkMode),this.primaryTextColor=uC(this.primaryColor),this.secondaryTextColor=uC(this.secondaryColor),this.tertiaryTextColor=uC(this.tertiaryColor),this.lineColor=uC(this.background),this.textColor=uC(this.background),this.mainBkg="#1f2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=sC(uC("#323D47"),10),this.lineColor="calculated",this.border1="#81B1DB",this.border2=aC(255,255,255,.25),this.arrowheadColor="calculated",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#181818",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#F9FFFE",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="calculated",this.activationBkgColor="calculated",this.sequenceNumberColor="black",this.sectionBkgColor=lC("#EAE8D9",30),this.altSectionBkgColor="calculated",this.sectionBkgColor2="#EAE8D9",this.taskBorderColor=aC(255,255,255,70),this.taskBkgColor="calculated",this.taskTextColor="calculated",this.taskTextLightColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor=aC(255,255,255,50),this.activeTaskBkgColor="#81B1DB",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="grey",this.critBorderColor="#E83737",this.critBkgColor="#E83737",this.taskTextDarkColor="calculated",this.todayLineColor="#DB5757",this.personBorder="calculated",this.personBkg="calculated",this.labelColor="calculated",this.errorBkgColor="#a44141",this.errorTextColor="#ddd"}updateColors(){this.secondBkg=sC(this.mainBkg,16),this.lineColor=this.mainContrastColor,this.arrowheadColor=this.mainContrastColor,this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.edgeLabelBackground=sC(this.labelBackground,25),this.actorBorder=this.border1,this.actorBkg=this.mainBkg,this.actorTextColor=this.mainContrastColor,this.actorLineColor=this.mainContrastColor,this.signalColor=this.mainContrastColor,this.signalTextColor=this.mainContrastColor,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.mainContrastColor,this.loopTextColor=this.mainContrastColor,this.noteBorderColor=this.secondaryBorderColor,this.noteBkgColor=this.secondBkg,this.noteTextColor=this.secondaryTextColor,this.activationBorderColor=this.border1,this.activationBkgColor=this.secondBkg,this.altSectionBkgColor=this.background,this.taskBkgColor=sC(this.mainBkg,23),this.taskTextColor=this.darkTextColor,this.taskTextLightColor=this.mainContrastColor,this.taskTextOutsideColor=this.taskTextLightColor,this.gridColor=this.mainContrastColor,this.doneTaskBkgColor=this.mainContrastColor,this.taskTextDarkColor=this.darkTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#555",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#f4f4f4",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=cC(this.primaryColor,{h:64}),this.fillType3=cC(this.secondaryColor,{h:64}),this.fillType4=cC(this.primaryColor,{h:-64}),this.fillType5=cC(this.secondaryColor,{h:-64}),this.fillType6=cC(this.primaryColor,{h:128}),this.fillType7=cC(this.secondaryColor,{h:128}),this.cScale1=this.cScale1||"#0b0000",this.cScale2=this.cScale2||"#4d1037",this.cScale3=this.cScale3||"#3f5258",this.cScale4=this.cScale4||"#4f2f1b",this.cScale5=this.cScale5||"#6e0a0a",this.cScale6=this.cScale6||"#3b0048",this.cScale7=this.cScale7||"#995a01",this.cScale8=this.cScale8||"#154706",this.cScale9=this.cScale9||"#161722",this.cScale10=this.cScale10||"#00296f",this.cScale11=this.cScale11||"#01629c",this.cScale12=this.cScale12||"#010029",this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||cC(this.primaryColor,{h:30}),this.cScale4=this.cScale4||cC(this.primaryColor,{h:60}),this.cScale5=this.cScale5||cC(this.primaryColor,{h:90}),this.cScale6=this.cScale6||cC(this.primaryColor,{h:120}),this.cScale7=this.cScale7||cC(this.primaryColor,{h:150}),this.cScale8=this.cScale8||cC(this.primaryColor,{h:210}),this.cScale9=this.cScale9||cC(this.primaryColor,{h:270}),this.cScale10=this.cScale10||cC(this.primaryColor,{h:300}),this.cScale11=this.cScale11||cC(this.primaryColor,{h:330});for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this["cScaleInv"+e]=this["cScaleInv"+e]||uC(this["cScale"+e]);for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this["cScalePeer"+e]=this["cScalePeer"+e]||sC(this["cScale"+e],10);for(let e=0;e<5;e++)this["surface"+e]=this["surface"+e]||cC(this.mainBkg,{h:30,s:-30,l:-(4*e-10)}),this["surfacePeer"+e]=this["surfacePeer"+e]||cC(this.mainBkg,{h:30,s:-30,l:-(4*e-7)});this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?"black":this.labelTextColor);for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this["cScaleLabel"+e]=this["cScaleLabel"+e]||this.scaleLabelColor;for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this["pie"+e]=this["cScale"+e];this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOpacity=this.pieOpacity||"0.7",this.classText=this.primaryTextColor,this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||this.primaryBorderColor,this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?lC(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=sC(this.secondaryColor,20),this.git1=sC(this.pie2||this.secondaryColor,20),this.git2=sC(this.pie3||this.tertiaryColor,20),this.git3=sC(this.pie4||cC(this.primaryColor,{h:-30}),20),this.git4=sC(this.pie5||cC(this.primaryColor,{h:-60}),20),this.git5=sC(this.pie6||cC(this.primaryColor,{h:-90}),10),this.git6=sC(this.pie7||cC(this.primaryColor,{h:60}),10),this.git7=sC(this.pie8||cC(this.primaryColor,{h:120}),20),this.gitInv0=this.gitInv0||uC(this.git0),this.gitInv1=this.gitInv1||uC(this.git1),this.gitInv2=this.gitInv2||uC(this.git2),this.gitInv3=this.gitInv3||uC(this.git3),this.gitInv4=this.gitInv4||uC(this.git4),this.gitInv5=this.gitInv5||uC(this.git5),this.gitInv6=this.gitInv6||uC(this.git6),this.gitInv7=this.gitInv7||uC(this.git7),this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||sC(this.background,12),this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||sC(this.background,2)}calculate(e){if("object"!=typeof e)return void this.updateColors();const t=Object.keys(e);t.forEach((t=>{this[t]=e[t]})),this.updateColors(),t.forEach((t=>{this[t]=e[t]}))}};let qR=class{constructor(){this.background="#f4f4f4",this.primaryColor="#ECECFF",this.secondaryColor=cC(this.primaryColor,{h:120}),this.secondaryColor="#ffffde",this.tertiaryColor=cC(this.primaryColor,{h:-160}),this.primaryBorderColor=UR(this.primaryColor,this.darkMode),this.secondaryBorderColor=UR(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=UR(this.tertiaryColor,this.darkMode),this.primaryTextColor=uC(this.primaryColor),this.secondaryTextColor=uC(this.secondaryColor),this.tertiaryTextColor=uC(this.tertiaryColor),this.lineColor=uC(this.background),this.textColor=uC(this.background),this.background="white",this.mainBkg="#ECECFF",this.secondBkg="#ffffde",this.lineColor="#333333",this.border1="#9370DB",this.border2="#aaaa33",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#e8e8e8",this.textColor="#333",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="grey",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="calculated",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="calculated",this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor="calculated",this.taskTextOutsideColor=this.taskTextDarkColor,this.taskTextClickableColor="calculated",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBorderColor="calculated",this.critBkgColor="calculated",this.todayLineColor="calculated",this.sectionBkgColor=aC(102,102,255,.49),this.altSectionBkgColor="white",this.sectionBkgColor2="#fff400",this.taskBorderColor="#534fbc",this.taskBkgColor="#8a90dd",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="#534fbc",this.activeTaskBkgColor="#bfc7ff",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.personBorder="calculated",this.personBkg="calculated",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222",this.updateColors()}updateColors(){this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||cC(this.primaryColor,{h:30}),this.cScale4=this.cScale4||cC(this.primaryColor,{h:60}),this.cScale5=this.cScale5||cC(this.primaryColor,{h:90}),this.cScale6=this.cScale6||cC(this.primaryColor,{h:120}),this.cScale7=this.cScale7||cC(this.primaryColor,{h:150}),this.cScale8=this.cScale8||cC(this.primaryColor,{h:210}),this.cScale9=this.cScale9||cC(this.primaryColor,{h:270}),this.cScale10=this.cScale10||cC(this.primaryColor,{h:300}),this.cScale11=this.cScale11||cC(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||lC(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||lC(this.tertiaryColor,40);for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this["cScale"+e]=lC(this["cScale"+e],10),this["cScalePeer"+e]=this["cScalePeer"+e]||lC(this["cScale"+e],25);for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this["cScaleInv"+e]=this["cScaleInv"+e]||cC(this["cScale"+e],{h:180});for(let e=0;e<5;e++)this["surface"+e]=this["surface"+e]||cC(this.mainBkg,{h:30,l:-(5+5*e)}),this["surfacePeer"+e]=this["surfacePeer"+e]||cC(this.mainBkg,{h:30,l:-(7+5*e)});if(this.scaleLabelColor="calculated"!==this.scaleLabelColor&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor,"calculated"!==this.labelTextColor){this.cScaleLabel0=this.cScaleLabel0||uC(this.labelTextColor),this.cScaleLabel3=this.cScaleLabel3||uC(this.labelTextColor);for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this["cScaleLabel"+e]=this["cScaleLabel"+e]||this.labelTextColor}this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.titleColor=this.textColor,this.edgeLabelBackground=this.labelBackground,this.actorBorder=sC(this.border1,23),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.signalColor=this.textColor,this.signalTextColor=this.textColor,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.specialStateColor=this.lineColor,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=cC(this.primaryColor,{h:64}),this.fillType3=cC(this.secondaryColor,{h:64}),this.fillType4=cC(this.primaryColor,{h:-64}),this.fillType5=cC(this.secondaryColor,{h:-64}),this.fillType6=cC(this.primaryColor,{h:128}),this.fillType7=cC(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||cC(this.tertiaryColor,{l:-40}),this.pie4=this.pie4||cC(this.primaryColor,{l:-10}),this.pie5=this.pie5||cC(this.secondaryColor,{l:-30}),this.pie6=this.pie6||cC(this.tertiaryColor,{l:-20}),this.pie7=this.pie7||cC(this.primaryColor,{h:60,l:-20}),this.pie8=this.pie8||cC(this.primaryColor,{h:-60,l:-40}),this.pie9=this.pie9||cC(this.primaryColor,{h:120,l:-40}),this.pie10=this.pie10||cC(this.primaryColor,{h:60,l:-40}),this.pie11=this.pie11||cC(this.primaryColor,{h:-90,l:-40}),this.pie12=this.pie12||cC(this.primaryColor,{h:120,l:-30}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOpacity=this.pieOpacity||"0.7",this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||this.primaryBorderColor,this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.labelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||cC(this.primaryColor,{h:-30}),this.git4=this.git4||cC(this.primaryColor,{h:-60}),this.git5=this.git5||cC(this.primaryColor,{h:-90}),this.git6=this.git6||cC(this.primaryColor,{h:60}),this.git7=this.git7||cC(this.primaryColor,{h:120}),this.darkMode?(this.git0=sC(this.git0,25),this.git1=sC(this.git1,25),this.git2=sC(this.git2,25),this.git3=sC(this.git3,25),this.git4=sC(this.git4,25),this.git5=sC(this.git5,25),this.git6=sC(this.git6,25),this.git7=sC(this.git7,25)):(this.git0=lC(this.git0,25),this.git1=lC(this.git1,25),this.git2=lC(this.git2,25),this.git3=lC(this.git3,25),this.git4=lC(this.git4,25),this.git5=lC(this.git5,25),this.git6=lC(this.git6,25),this.git7=lC(this.git7,25)),this.gitInv0=this.gitInv0||lC(uC(this.git0),25),this.gitInv1=this.gitInv1||uC(this.git1),this.gitInv2=this.gitInv2||uC(this.git2),this.gitInv3=this.gitInv3||uC(this.git3),this.gitInv4=this.gitInv4||uC(this.git4),this.gitInv5=this.gitInv5||uC(this.git5),this.gitInv6=this.gitInv6||uC(this.git6),this.gitInv7=this.gitInv7||uC(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||uC(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||uC(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||GR,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||zR}calculate(e){if("object"!=typeof e)return void this.updateColors();const t=Object.keys(e);t.forEach((t=>{this[t]=e[t]})),this.updateColors(),t.forEach((t=>{this[t]=e[t]}))}};let HR=class{constructor(){this.background="#f4f4f4",this.primaryColor="#cde498",this.secondaryColor="#cdffb2",this.background="white",this.mainBkg="#cde498",this.secondBkg="#cdffb2",this.lineColor="green",this.border1="#13540c",this.border2="#6eaa49",this.arrowheadColor="green",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.tertiaryColor=sC("#cde498",10),this.primaryBorderColor=UR(this.primaryColor,this.darkMode),this.secondaryBorderColor=UR(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=UR(this.tertiaryColor,this.darkMode),this.primaryTextColor=uC(this.primaryColor),this.secondaryTextColor=uC(this.secondaryColor),this.tertiaryTextColor=uC(this.primaryColor),this.lineColor=uC(this.background),this.textColor=uC(this.background),this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#333",this.edgeLabelBackground="#e8e8e8",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="grey",this.signalColor="#333",this.signalTextColor="#333",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="#326932",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="#6eaa49",this.altSectionBkgColor="white",this.sectionBkgColor2="#6eaa49",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="#487e3a",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.personBorder="calculated",this.personBkg="calculated",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||cC(this.primaryColor,{h:30}),this.cScale4=this.cScale4||cC(this.primaryColor,{h:60}),this.cScale5=this.cScale5||cC(this.primaryColor,{h:90}),this.cScale6=this.cScale6||cC(this.primaryColor,{h:120}),this.cScale7=this.cScale7||cC(this.primaryColor,{h:150}),this.cScale8=this.cScale8||cC(this.primaryColor,{h:210}),this.cScale9=this.cScale9||cC(this.primaryColor,{h:270}),this.cScale10=this.cScale10||cC(this.primaryColor,{h:300}),this.cScale11=this.cScale11||cC(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||lC(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||lC(this.tertiaryColor,40);for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this["cScale"+e]=lC(this["cScale"+e],10),this["cScalePeer"+e]=this["cScalePeer"+e]||lC(this["cScale"+e],25);for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this["cScaleInv"+e]=this["cScaleInv"+e]||cC(this["cScale"+e],{h:180});this.scaleLabelColor="calculated"!==this.scaleLabelColor&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor;for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this["cScaleLabel"+e]=this["cScaleLabel"+e]||this.scaleLabelColor;for(let e=0;e<5;e++)this["surface"+e]=this["surface"+e]||cC(this.mainBkg,{h:30,s:-30,l:-(5+5*e)}),this["surfacePeer"+e]=this["surfacePeer"+e]||cC(this.mainBkg,{h:30,s:-30,l:-(8+5*e)});this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.actorBorder=lC(this.mainBkg,20),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.taskBorderColor=this.border1,this.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,this.activeTaskBorderColor=this.taskBorderColor,this.activeTaskBkgColor=this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor=this.lineColor,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=cC(this.primaryColor,{h:64}),this.fillType3=cC(this.secondaryColor,{h:64}),this.fillType4=cC(this.primaryColor,{h:-64}),this.fillType5=cC(this.secondaryColor,{h:-64}),this.fillType6=cC(this.primaryColor,{h:128}),this.fillType7=cC(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||cC(this.primaryColor,{l:-30}),this.pie5=this.pie5||cC(this.secondaryColor,{l:-30}),this.pie6=this.pie6||cC(this.tertiaryColor,{h:40,l:-40}),this.pie7=this.pie7||cC(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||cC(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||cC(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||cC(this.primaryColor,{h:60,l:-50}),this.pie11=this.pie11||cC(this.primaryColor,{h:-60,l:-50}),this.pie12=this.pie12||cC(this.primaryColor,{h:120,l:-50}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOpacity=this.pieOpacity||"0.7",this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||this.primaryBorderColor,this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.edgeLabelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||cC(this.primaryColor,{h:-30}),this.git4=this.git4||cC(this.primaryColor,{h:-60}),this.git5=this.git5||cC(this.primaryColor,{h:-90}),this.git6=this.git6||cC(this.primaryColor,{h:60}),this.git7=this.git7||cC(this.primaryColor,{h:120}),this.darkMode?(this.git0=sC(this.git0,25),this.git1=sC(this.git1,25),this.git2=sC(this.git2,25),this.git3=sC(this.git3,25),this.git4=sC(this.git4,25),this.git5=sC(this.git5,25),this.git6=sC(this.git6,25),this.git7=sC(this.git7,25)):(this.git0=lC(this.git0,25),this.git1=lC(this.git1,25),this.git2=lC(this.git2,25),this.git3=lC(this.git3,25),this.git4=lC(this.git4,25),this.git5=lC(this.git5,25),this.git6=lC(this.git6,25),this.git7=lC(this.git7,25)),this.gitInv0=this.gitInv0||uC(this.git0),this.gitInv1=this.gitInv1||uC(this.git1),this.gitInv2=this.gitInv2||uC(this.git2),this.gitInv3=this.gitInv3||uC(this.git3),this.gitInv4=this.gitInv4||uC(this.git4),this.gitInv5=this.gitInv5||uC(this.git5),this.gitInv6=this.gitInv6||uC(this.git6),this.gitInv7=this.gitInv7||uC(this.git7),this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||GR,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||zR}calculate(e){if("object"!=typeof e)return void this.updateColors();const t=Object.keys(e);t.forEach((t=>{this[t]=e[t]})),this.updateColors(),t.forEach((t=>{this[t]=e[t]}))}};class VR{constructor(){this.primaryColor="#eee",this.contrast="#707070",this.secondaryColor=sC(this.contrast,55),this.background="#ffffff",this.tertiaryColor=cC(this.primaryColor,{h:-160}),this.primaryBorderColor=UR(this.primaryColor,this.darkMode),this.secondaryBorderColor=UR(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=UR(this.tertiaryColor,this.darkMode),this.primaryTextColor=uC(this.primaryColor),this.secondaryTextColor=uC(this.secondaryColor),this.tertiaryTextColor=uC(this.tertiaryColor),this.lineColor=uC(this.background),this.textColor=uC(this.background),this.mainBkg="#eee",this.secondBkg="calculated",this.lineColor="#666",this.border1="#999",this.border2="calculated",this.note="#ffa",this.text="#333",this.critical="#d42",this.done="#bbb",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="white",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="calculated",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="white",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBkgColor="calculated",this.critBorderColor="calculated",this.todayLineColor="calculated",this.personBorder="calculated",this.personBkg="calculated",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){this.secondBkg=sC(this.contrast,55),this.border2=this.contrast,this.cScale0=this.cScale0||"#555",this.cScale1=this.cScale1||"#F4F4F4",this.cScale2=this.cScale2||"#555",this.cScale3=this.cScale3||"#BBB",this.cScale4=this.cScale4||"#777",this.cScale5=this.cScale5||"#999",this.cScale6=this.cScale6||"#DDD",this.cScale7=this.cScale7||"#FFF",this.cScale8=this.cScale8||"#DDD",this.cScale9=this.cScale9||"#BBB",this.cScale10=this.cScale10||"#999",this.cScale11=this.cScale11||"#777";for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this["cScaleInv"+e]=this["cScaleInv"+e]||uC(this["cScale"+e]);for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this.darkMode?this["cScalePeer"+e]=this["cScalePeer"+e]||sC(this["cScale"+e],10):this["cScalePeer"+e]=this["cScalePeer"+e]||lC(this["cScale"+e],10);this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?"black":this.labelTextColor),this.cScaleLabel0=this.cScaleLabel0||this.cScale1,this.cScaleLabel2=this.cScaleLabel2||this.cScale1;for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this["cScaleLabel"+e]=this["cScaleLabel"+e]||this.scaleLabelColor;for(let e=0;e<5;e++)this["surface"+e]=this["surface"+e]||cC(this.mainBkg,{l:-(5+5*e)}),this["surfacePeer"+e]=this["surfacePeer"+e]||cC(this.mainBkg,{l:-(8+5*e)});this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.titleColor=this.text,this.actorBorder=sC(this.border1,23),this.actorBkg=this.mainBkg,this.actorTextColor=this.text,this.actorLineColor=this.lineColor,this.signalColor=this.text,this.signalTextColor=this.text,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.text,this.loopTextColor=this.text,this.noteBorderColor="#999",this.noteBkgColor="#666",this.noteTextColor="#fff",this.sectionBkgColor=sC(this.contrast,30),this.sectionBkgColor2=sC(this.contrast,30),this.taskBorderColor=lC(this.contrast,10),this.taskBkgColor=this.contrast,this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor=this.text,this.taskTextOutsideColor=this.taskTextDarkColor,this.activeTaskBorderColor=this.taskBorderColor,this.activeTaskBkgColor=this.mainBkg,this.gridColor=sC(this.border1,30),this.doneTaskBkgColor=this.done,this.doneTaskBorderColor=this.lineColor,this.critBkgColor=this.critical,this.critBorderColor=lC(this.critBkgColor,10),this.todayLineColor=this.critBkgColor,this.transitionColor=this.transitionColor||"#000",this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f4f4f4",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.stateBorder=this.stateBorder||"#000",this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#222",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=cC(this.primaryColor,{h:64}),this.fillType3=cC(this.secondaryColor,{h:64}),this.fillType4=cC(this.primaryColor,{h:-64}),this.fillType5=cC(this.secondaryColor,{h:-64}),this.fillType6=cC(this.primaryColor,{h:128}),this.fillType7=cC(this.secondaryColor,{h:128});for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this["pie"+e]=this["cScale"+e];this.pie12=this.pie0,this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOpacity=this.pieOpacity||"0.7",this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||this.primaryBorderColor,this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.edgeLabelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=lC(this.pie1,25)||this.primaryColor,this.git1=this.pie2||this.secondaryColor,this.git2=this.pie3||this.tertiaryColor,this.git3=this.pie4||cC(this.primaryColor,{h:-30}),this.git4=this.pie5||cC(this.primaryColor,{h:-60}),this.git5=this.pie6||cC(this.primaryColor,{h:-90}),this.git6=this.pie7||cC(this.primaryColor,{h:60}),this.git7=this.pie8||cC(this.primaryColor,{h:120}),this.gitInv0=this.gitInv0||uC(this.git0),this.gitInv1=this.gitInv1||uC(this.git1),this.gitInv2=this.gitInv2||uC(this.git2),this.gitInv3=this.gitInv3||uC(this.git3),this.gitInv4=this.gitInv4||uC(this.git4),this.gitInv5=this.gitInv5||uC(this.git5),this.gitInv6=this.gitInv6||uC(this.git6),this.gitInv7=this.gitInv7||uC(this.git7),this.branchLabelColor=this.branchLabelColor||this.labelTextColor,this.gitBranchLabel0=this.branchLabelColor,this.gitBranchLabel1="white",this.gitBranchLabel2=this.branchLabelColor,this.gitBranchLabel3="white",this.gitBranchLabel4=this.branchLabelColor,this.gitBranchLabel5=this.branchLabelColor,this.gitBranchLabel6=this.branchLabelColor,this.gitBranchLabel7=this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||GR,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||zR}calculate(e){if("object"!=typeof e)return void this.updateColors();const t=Object.keys(e);t.forEach((t=>{this[t]=e[t]})),this.updateColors(),t.forEach((t=>{this[t]=e[t]}))}}const WR={base:{getThemeVariables:e=>{const t=new $R;return t.calculate(e),t}},dark:{getThemeVariables:e=>{const t=new YR;return t.calculate(e),t}},default:{getThemeVariables:e=>{const t=new qR;return t.calculate(e),t}},forest:{getThemeVariables:e=>{const t=new HR;return t.calculate(e),t}},neutral:{getThemeVariables:e=>{const t=new VR;return t.calculate(e),t}}},QR={ +/** + * Theme , the CSS style sheet + * + * | Parameter | Description | Type | Required | Values | + * | --------- | --------------- | ------ | -------- | ---------------------------------------------- | + * | theme | Built in Themes | string | Optional | 'default', 'forest', 'dark', 'neutral', 'null' | + * + * **Notes:** To disable any pre-defined mermaid theme, use "null". + * + * @example + * + * ```js + * { + * "theme": "forest", + * "themeCSS": ".node rect { fill: red; }" + * } + * ``` + */ +theme:"default",themeVariables:WR.default.getThemeVariables(),themeCSS:void 0, +/* **maxTextSize** - The maximum allowed size of the users text diagram */ +maxTextSize:5e4,darkMode:!1, +/** + * | Parameter | Description | Type | Required | Values | + * | ---------- | ------------------------------------------------------ | ------ | -------- | --------------------------- | + * | fontFamily | specifies the font to be used in the rendered diagrams | string | Required | Any Possible CSS FontFamily | + * + * **Notes:** Default value: '"trebuchet ms", verdana, arial, sans-serif;'. + */ +fontFamily:'"trebuchet ms", verdana, arial, sans-serif;', +/** + * | Parameter | Description | Type | Required | Values | + * | --------- | ----------------------------------------------------- | ---------------- | -------- | --------------------------------------------- | + * | logLevel | This option decides the amount of logging to be used. | string \| number | Required | 'trace','debug','info','warn','error','fatal' | + * + * **Notes:** + * + * - Trace: 0 + * - Debug: 1 + * - Info: 2 + * - Warn: 3 + * - Error: 4 + * - Fatal: 5 (default) + */ +logLevel:5, +/** + * | Parameter | Description | Type | Required | Values | + * | ------------- | --------------------------------- | ------ | -------- | ------------------------------------------ | + * | securityLevel | Level of trust for parsed diagram | string | Required | 'sandbox', 'strict', 'loose', 'antiscript' | + * + * **Notes**: + * + * - **strict**: (**default**) tags in text are encoded, click functionality is disabled + * - **loose**: tags in text are allowed, click functionality is enabled + * - **antiscript**: html tags in text are allowed, (only script element is removed), click + * functionality is enabled + * - **sandbox**: With this security level all rendering takes place in a sandboxed iframe. This + * prevent any JavaScript from running in the context. This may hinder interactive functionality + * of the diagram like scripts, popups in sequence diagram or links to other tabs/targets etc. + */ +securityLevel:"strict", +/** + * | Parameter | Description | Type | Required | Values | + * | ----------- | -------------------------------------------- | ------- | -------- | ----------- | + * | startOnLoad | Dictates whether mermaid starts on Page load | boolean | Required | true, false | + * + * **Notes:** Default value: true + */ +startOnLoad:!0, +/** + * | Parameter | Description | Type | Required | Values | + * | ------------------- | ---------------------------------------------------------------------------- | ------- | -------- | ----------- | + * | arrowMarkerAbsolute | Controls whether or arrow markers in html code are absolute paths or anchors | boolean | Required | true, false | + * + * **Notes**: + * + * This matters if you are using base tag settings. + * + * Default value: false + */ +arrowMarkerAbsolute:!1, +/** + * This option controls which currentConfig keys are considered _secure_ and can only be changed + * via call to mermaidAPI.initialize. Calls to mermaidAPI.reinitialize cannot make changes to the + * `secure` keys in the current currentConfig. This prevents malicious graph directives from + * overriding a site's default security. + * + * **Notes**: + * + * Default value: ['secure', 'securityLevel', 'startOnLoad', 'maxTextSize'] + */ +secure:["secure","securityLevel","startOnLoad","maxTextSize"], +/** + * This option controls if the generated ids of nodes in the SVG are generated randomly or based + * on a seed. If set to false, the IDs are generated based on the current date and thus are not + * deterministic. This is the default behavior. + * + * **Notes**: + * + * This matters if your files are checked into source control e.g. git and should not change unless + * content is changed. + * + * Default value: false + */ +deterministicIds:!1, +/** + * This option is the optional seed for deterministic ids. if set to undefined but + * deterministicIds is true, a simple number iterator is used. You can set this attribute to base + * the seed on a static string. + */ +deterministicIDSeed:void 0, +/** The object containing configurations specific for flowcharts */ +flowchart:{ +/** + * ### titleTopMargin + * + * | Parameter | Description | Type | Required | Values | + * | -------------- | ---------------------------------------------- | ------- | -------- | ------------------ | + * | titleTopMargin | Margin top for the text over the flowchart | Integer | Required | Any Positive Value | + * + * **Notes:** Default value: 25 + */ +titleTopMargin:25, +/** + * | Parameter | Description | Type | Required | Values | + * | -------------- | ----------------------------------------------- | ------- | -------- | ------------------ | + * | diagramPadding | Amount of padding around the diagram as a whole | Integer | Required | Any Positive Value | + * + * **Notes:** + * + * The amount of padding around the diagram as a whole so that embedded diagrams have margins, + * expressed in pixels + * + * Default value: 8 + */ +diagramPadding:8, +/** + * | Parameter | Description | Type | Required | Values | + * | ---------- | -------------------------------------------------------------------------------------------- | ------- | -------- | ----------- | + * | htmlLabels | Flag for setting whether or not a html tag should be used for rendering labels on the edges. | boolean | Required | true, false | + * + * **Notes:** Default value: true. + */ +htmlLabels:!0, +/** + * | Parameter | Description | Type | Required | Values | + * | ----------- | --------------------------------------------------- | ------- | -------- | ------------------- | + * | nodeSpacing | Defines the spacing between nodes on the same level | Integer | Required | Any positive Number | + * + * **Notes:** + * + * Pertains to horizontal spacing for TB (top to bottom) or BT (bottom to top) graphs, and the + * vertical spacing for LR as well as RL graphs.** + * + * Default value: 50 + */ +nodeSpacing:50, +/** + * | Parameter | Description | Type | Required | Values | + * | ----------- | ----------------------------------------------------- | ------- | -------- | ------------------- | + * | rankSpacing | Defines the spacing between nodes on different levels | Integer | Required | Any Positive Number | + * + * **Notes**: + * + * Pertains to vertical spacing for TB (top to bottom) or BT (bottom to top), and the horizontal + * spacing for LR as well as RL graphs. + * + * Default value 50 + */ +rankSpacing:50, +/** + * | Parameter | Description | Type | Required | Values | + * | --------- | -------------------------------------------------- | ------ | -------- | ----------------------------- | + * | curve | Defines how mermaid renders curves for flowcharts. | string | Required | 'basis', 'linear', 'cardinal' | + * + * **Notes:** + * + * Default Value: 'basis' + */ +curve:"basis", +// Only used in new experimental rendering +// represents the padding between the labels and the shape +padding:15, +/** + * | Parameter | Description | Type | Required | Values | + * | ----------- | ----------- | ------- | -------- | ----------- | + * | useMaxWidth | See notes | boolean | 4 | true, false | + * + * **Notes:** + * + * When this flag is set the height and width is set to 100% and is then scaling with the + * available space if not the absolute space required is used. + * + * Default value: true + */ +useMaxWidth:!0, +/** + * | Parameter | Description | Type | Required | Values | + * | --------------- | ----------- | ------- | -------- | ----------------------- | + * | defaultRenderer | See notes | boolean | 4 | dagre-d3, dagre-wrapper, elk | + * + * **Notes:** + * + * Decides which rendering engine that is to be used for the rendering. Legal values are: + * dagre-d3 dagre-wrapper - wrapper for dagre implemented in mermaid, elk for layout using + * elkjs + * + * Default value: 'dagre-wrapper' + */ +defaultRenderer:"dagre-wrapper"}, +/** The object containing configurations specific for sequence diagrams */ +sequence:{hideUnusedParticipants:!1, +/** + * | Parameter | Description | Type | Required | Values | + * | --------------- | ---------------------------- | ------- | -------- | ------------------ | + * | activationWidth | Width of the activation rect | Integer | Required | Any Positive Value | + * + * **Notes:** Default value :10 + */ +activationWidth:10, +/** + * | Parameter | Description | Type | Required | Values | + * | -------------- | ---------------------------------------------------- | ------- | -------- | ------------------ | + * | diagramMarginX | Margin to the right and left of the sequence diagram | Integer | Required | Any Positive Value | + * + * **Notes:** Default value: 50 + */ +diagramMarginX:50, +/** + * | Parameter | Description | Type | Required | Values | + * | -------------- | ------------------------------------------------- | ------- | -------- | ------------------ | + * | diagramMarginY | Margin to the over and under the sequence diagram | Integer | Required | Any Positive Value | + * + * **Notes:** Default value: 10 + */ +diagramMarginY:10, +/** + * | Parameter | Description | Type | Required | Values | + * | ----------- | --------------------- | ------- | -------- | ------------------ | + * | actorMargin | Margin between actors | Integer | Required | Any Positive Value | + * + * **Notes:** Default value: 50 + */ +actorMargin:50, +/** + * | Parameter | Description | Type | Required | Values | + * | --------- | -------------------- | ------- | -------- | ------------------ | + * | width | Width of actor boxes | Integer | Required | Any Positive Value | + * + * **Notes:** Default value: 150 + */ +width:150, +/** + * | Parameter | Description | Type | Required | Values | + * | --------- | --------------------- | ------- | -------- | ------------------ | + * | height | Height of actor boxes | Integer | Required | Any Positive Value | + * + * **Notes:** Default value: 65 + */ +height:65, +/** + * | Parameter | Description | Type | Required | Values | + * | --------- | ------------------------ | ------- | -------- | ------------------ | + * | boxMargin | Margin around loop boxes | Integer | Required | Any Positive Value | + * + * **Notes:** Default value: 10 + */ +boxMargin:10, +/** + * | Parameter | Description | Type | Required | Values | + * | ------------- | -------------------------------------------- | ------- | -------- | ------------------ | + * | boxTextMargin | Margin around the text in loop/alt/opt boxes | Integer | Required | Any Positive Value | + * + * **Notes:** Default value: 5 + */ +boxTextMargin:5, +/** + * | Parameter | Description | Type | Required | Values | + * | ---------- | ------------------- | ------- | -------- | ------------------ | + * | noteMargin | margin around notes | Integer | Required | Any Positive Value | + * + * **Notes:** Default value: 10 + */ +noteMargin:10, +/** + * | Parameter | Description | Type | Required | Values | + * | ------------- | ---------------------- | ------- | -------- | ------------------ | + * | messageMargin | Space between messages | Integer | Required | Any Positive Value | + * + * **Notes:** Default value: 35 + */ +messageMargin:35, +/** + * | Parameter | Description | Type | Required | Values | + * | ------------ | --------------------------- | ------ | -------- | ------------------------- | + * | messageAlign | Multiline message alignment | string | Required | 'left', 'center', 'right' | + * + * **Notes:** Default value: 'center' + */ +messageAlign:"center", +/** + * | Parameter | Description | Type | Required | Values | + * | ------------ | --------------------------- | ------- | -------- | ----------- | + * | mirrorActors | Mirror actors under diagram | boolean | Required | true, false | + * + * **Notes:** Default value: true + */ +mirrorActors:!0, +/** + * | Parameter | Description | Type | Required | Values | + * | ---------- | ----------------------------------------------------------------------- | ------- | -------- | ----------- | + * | forceMenus | forces actor popup menus to always be visible (to support E2E testing). | Boolean | Required | True, False | + * + * **Notes:** + * + * Default value: false. + */ +forceMenus:!1, +/** + * | Parameter | Description | Type | Required | Values | + * | --------------- | ------------------------------------------ | ------- | -------- | ------------------ | + * | bottomMarginAdj | Prolongs the edge of the diagram downwards | Integer | Required | Any Positive Value | + * + * **Notes:** + * + * Depending on css styling this might need adjustment. + * + * Default value: 1 + */ +bottomMarginAdj:1, +/** + * | Parameter | Description | Type | Required | Values | + * | ----------- | ----------- | ------- | -------- | ----------- | + * | useMaxWidth | See Notes | boolean | Required | true, false | + * + * **Notes:** When this flag is set to true, the height and width is set to 100% and is then + * scaling with the available space. If set to false, the absolute space required is used. + * + * Default value: true + */ +useMaxWidth:!0, +/** + * | Parameter | Description | Type | Required | Values | + * | ----------- | ------------------------------------ | ------- | -------- | ----------- | + * | rightAngles | display curve arrows as right angles | boolean | Required | true, false | + * + * **Notes:** + * + * This will display arrows that start and begin at the same node as right angles, rather than a + * curve + * + * Default value: false + */ +rightAngles:!1, +/** + * | Parameter | Description | Type | Required | Values | + * | ------------------- | ------------------------------- | ------- | -------- | ----------- | + * | showSequenceNumbers | This will show the node numbers | boolean | Required | true, false | + * + * **Notes:** Default value: false + */ +showSequenceNumbers:!1, +/** + * | Parameter | Description | Type | Required | Values | + * | ------------- | -------------------------------------------------- | ------- | -------- | ------------------ | + * | actorFontSize | This sets the font size of the actor's description | Integer | Require | Any Positive Value | + * + * **Notes:** **Default value 14**.. + */ +actorFontSize:14, +/** + * | Parameter | Description | Type | Required | Values | + * | --------------- | ---------------------------------------------------- | ------ | -------- | --------------------------- | + * | actorFontFamily | This sets the font family of the actor's description | string | Required | Any Possible CSS FontFamily | + * + * **Notes:** Default value: "'Open Sans", sans-serif' + */ +actorFontFamily:'"Open Sans", sans-serif', +/** + * This sets the font weight of the actor's description + * + * **Notes:** Default value: 400. + */ +actorFontWeight:400, +/** + * | Parameter | Description | Type | Required | Values | + * | ------------ | ----------------------------------------------- | ------- | -------- | ------------------ | + * | noteFontSize | This sets the font size of actor-attached notes | Integer | Required | Any Positive Value | + * + * **Notes:** Default value: 14 + */ +noteFontSize:14, +/** + * | Parameter | Description | Type | Required | Values | + * | -------------- | -------------------------------------------------- | ------ | -------- | --------------------------- | + * | noteFontFamily | This sets the font family of actor-attached notes. | string | Required | Any Possible CSS FontFamily | + * + * **Notes:** Default value: ''"trebuchet ms", verdana, arial, sans-serif' + */ +noteFontFamily:'"trebuchet ms", verdana, arial, sans-serif', +/** + * This sets the font weight of the note's description + * + * **Notes:** Default value: 400 + */ +noteFontWeight:400, +/** + * | Parameter | Description | Type | Required | Values | + * | --------- | ---------------------------------------------------- | ------ | -------- | ------------------------- | + * | noteAlign | This sets the text alignment of actor-attached notes | string | required | 'left', 'center', 'right' | + * + * **Notes:** Default value: 'center' + */ +noteAlign:"center", +/** + * | Parameter | Description | Type | Required | Values | + * | --------------- | ----------------------------------------- | ------- | -------- | ------------------- | + * | messageFontSize | This sets the font size of actor messages | Integer | Required | Any Positive Number | + * + * **Notes:** Default value: 16 + */ +messageFontSize:16, +/** + * | Parameter | Description | Type | Required | Values | + * | ----------------- | ------------------------------------------- | ------ | -------- | --------------------------- | + * | messageFontFamily | This sets the font family of actor messages | string | Required | Any Possible CSS FontFamily | + * + * **Notes:** Default value: '"trebuchet ms", verdana, arial, sans-serif' + */ +messageFontFamily:'"trebuchet ms", verdana, arial, sans-serif', +/** + * This sets the font weight of the message's description + * + * **Notes:** Default value: 400. + */ +messageFontWeight:400, +/** + * This sets the auto-wrap state for the diagram + * + * **Notes:** Default value: false. + */ +wrap:!1, +/** + * This sets the auto-wrap padding for the diagram (sides only) + * + * **Notes:** Default value: 0. + */ +wrapPadding:10, +/** + * This sets the width of the loop-box (loop, alt, opt, par) + * + * **Notes:** Default value: 50. + */ +labelBoxWidth:50, +/** + * This sets the height of the loop-box (loop, alt, opt, par) + * + * **Notes:** Default value: 20. + */ +labelBoxHeight:20,messageFont:function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},noteFont:function(){return{fontFamily:this.noteFontFamily,fontSize:this.noteFontSize,fontWeight:this.noteFontWeight}},actorFont:function(){return{fontFamily:this.actorFontFamily,fontSize:this.actorFontSize,fontWeight:this.actorFontWeight}}}, +/** The object containing configurations specific for gantt diagrams */ +gantt:{ +/** + * ### titleTopMargin + * + * | Parameter | Description | Type | Required | Values | + * | -------------- | ---------------------------------------------- | ------- | -------- | ------------------ | + * | titleTopMargin | Margin top for the text over the gantt diagram | Integer | Required | Any Positive Value | + * + * **Notes:** Default value: 25 + */ +titleTopMargin:25, +/** + * | Parameter | Description | Type | Required | Values | + * | --------- | ----------------------------------- | ------- | -------- | ------------------ | + * | barHeight | The height of the bars in the graph | Integer | Required | Any Positive Value | + * + * **Notes:** Default value: 20 + */ +barHeight:20, +/** + * | Parameter | Description | Type | Required | Values | + * | --------- | ---------------------------------------------------------------- | ------- | -------- | ------------------ | + * | barGap | The margin between the different activities in the gantt diagram | Integer | Optional | Any Positive Value | + * + * **Notes:** Default value: 4 + */ +barGap:4, +/** + * | Parameter | Description | Type | Required | Values | + * | ---------- | -------------------------------------------------------------------------- | ------- | -------- | ------------------ | + * | topPadding | Margin between title and gantt diagram and between axis and gantt diagram. | Integer | Required | Any Positive Value | + * + * **Notes:** Default value: 50 + */ +topPadding:50, +/** + * | Parameter | Description | Type | Required | Values | + * | ------------ | ----------------------------------------------------------------------- | ------- | -------- | ------------------ | + * | rightPadding | The space allocated for the section name to the right of the activities | Integer | Required | Any Positive Value | + * + * **Notes:** Default value: 75 + */ +rightPadding:75, +/** + * | Parameter | Description | Type | Required | Values | + * | ----------- | ---------------------------------------------------------------------- | ------- | -------- | ------------------ | + * | leftPadding | The space allocated for the section name to the left of the activities | Integer | Required | Any Positive Value | + * + * **Notes:** Default value: 75 + */ +leftPadding:75, +/** + * | Parameter | Description | Type | Required | Values | + * | -------------------- | -------------------------------------------- | ------- | -------- | ------------------ | + * | gridLineStartPadding | Vertical starting position of the grid lines | Integer | Required | Any Positive Value | + * + * **Notes:** Default value: 35 + */ +gridLineStartPadding:35, +/** + * | Parameter | Description | Type | Required | Values | + * | --------- | ----------- | ------- | -------- | ------------------ | + * | fontSize | Font size | Integer | Required | Any Positive Value | + * + * **Notes:** Default value: 11 + */ +fontSize:11, +/** + * | Parameter | Description | Type | Required | Values | + * | --------------- | ---------------------- | ------- | -------- | ------------------ | + * | sectionFontSize | Font size for sections | Integer | Required | Any Positive Value | + * + * **Notes:** Default value: 11 + */ +sectionFontSize:11, +/** + * | Parameter | Description | Type | Required | Values | + * | ------------------- | ---------------------------------------- | ------- | -------- | ------------------ | + * | numberSectionStyles | The number of alternating section styles | Integer | 4 | Any Positive Value | + * + * **Notes:** Default value: 4 + */ +numberSectionStyles:4, +/** + * | Parameter | Description | Type | Required | Values | + * | ---------- | ---------------------------- | ---- | -------- | ---------------- | + * | axisFormat | Date/time format of the axis | 3 | Required | Date in yy-mm-dd | + * + * **Notes:** + * + * This might need adjustment to match your locale and preferences + * + * Default value: '%Y-%m-%d'. + */ +axisFormat:"%Y-%m-%d", +/** + * | Parameter | Description | Type | Required | Values | + * | ------------ | ------------| ------ | -------- | ------- | + * | tickInterval | axis ticks | string | Optional | string | + * + * **Notes:** + * + * Pattern is /^([1-9][0-9]*)(minute|hour|day|week|month)$/ + * + * Default value: undefined + */ +tickInterval:void 0, +/** + * | Parameter | Description | Type | Required | Values | + * | ----------- | ----------- | ------- | -------- | ----------- | + * | useMaxWidth | See notes | boolean | 4 | true, false | + * + * **Notes:** + * + * When this flag is set the height and width is set to 100% and is then scaling with the + * available space if not the absolute space required is used. + * + * Default value: true + */ +useMaxWidth:!0, +/** + * | Parameter | Description | Type | Required | Values | + * | --------- | ----------- | ------- | -------- | ----------- | + * | topAxis | See notes | Boolean | 4 | True, False | + * + * **Notes:** when this flag is set date labels will be added to the top of the chart + * + * **Default value false**. + */ +topAxis:!1,useWidth:void 0}, +/** The object containing configurations specific for journey diagrams */ +journey:{ +/** + * | Parameter | Description | Type | Required | Values | + * | -------------- | ---------------------------------------------------- | ------- | -------- | ------------------ | + * | diagramMarginX | Margin to the right and left of the sequence diagram | Integer | Required | Any Positive Value | + * + * **Notes:** Default value: 50 + */ +diagramMarginX:50, +/** + * | Parameter | Description | Type | Required | Values | + * | -------------- | -------------------------------------------------- | ------- | -------- | ------------------ | + * | diagramMarginY | Margin to the over and under the sequence diagram. | Integer | Required | Any Positive Value | + * + * **Notes:** Default value: 10 + */ +diagramMarginY:10, +/** + * | Parameter | Description | Type | Required | Values | + * | ----------- | --------------------- | ------- | -------- | ------------------ | + * | actorMargin | Margin between actors | Integer | Required | Any Positive Value | + * + * **Notes:** Default value: 50 + */ +leftMargin:150, +/** + * | Parameter | Description | Type | Required | Values | + * | --------- | -------------------- | ------- | -------- | ------------------ | + * | width | Width of actor boxes | Integer | Required | Any Positive Value | + * + * **Notes:** Default value: 150 + */ +width:150, +/** + * | Parameter | Description | Type | Required | Values | + * | --------- | --------------------- | ------- | -------- | ------------------ | + * | height | Height of actor boxes | Integer | Required | Any Positive Value | + * + * **Notes:** Default value: 65 + */ +height:50, +/** + * | Parameter | Description | Type | Required | Values | + * | --------- | ------------------------ | ------- | -------- | ------------------ | + * | boxMargin | Margin around loop boxes | Integer | Required | Any Positive Value | + * + * **Notes:** Default value: 10 + */ +boxMargin:10, +/** + * | Parameter | Description | Type | Required | Values | + * | ------------- | -------------------------------------------- | ------- | -------- | ------------------ | + * | boxTextMargin | Margin around the text in loop/alt/opt boxes | Integer | Required | Any Positive Value | + * + * **Notes:** Default value: 5 + */ +boxTextMargin:5, +/** + * | Parameter | Description | Type | Required | Values | + * | ---------- | ------------------- | ------- | -------- | ------------------ | + * | noteMargin | Margin around notes | Integer | Required | Any Positive Value | + * + * **Notes:** Default value: 10 + */ +noteMargin:10, +/** + * | Parameter | Description | Type | Required | Values | + * | ------------- | ----------------------- | ------- | -------- | ------------------ | + * | messageMargin | Space between messages. | Integer | Required | Any Positive Value | + * + * **Notes:** + * + * Space between messages. + * + * Default value: 35 + */ +messageMargin:35, +/** + * | Parameter | Description | Type | Required | Values | + * | ------------ | --------------------------- | ---- | -------- | ------------------------- | + * | messageAlign | Multiline message alignment | 3 | 4 | 'left', 'center', 'right' | + * + * **Notes:** Default value: 'center' + */ +messageAlign:"center", +/** + * | Parameter | Description | Type | Required | Values | + * | --------------- | ------------------------------------------ | ------- | -------- | ------------------ | + * | bottomMarginAdj | Prolongs the edge of the diagram downwards | Integer | 4 | Any Positive Value | + * + * **Notes:** + * + * Depending on css styling this might need adjustment. + * + * Default value: 1 + */ +bottomMarginAdj:1, +/** + * | Parameter | Description | Type | Required | Values | + * | ----------- | ----------- | ------- | -------- | ----------- | + * | useMaxWidth | See notes | boolean | 4 | true, false | + * + * **Notes:** + * + * When this flag is set the height and width is set to 100% and is then scaling with the + * available space if not the absolute space required is used. + * + * Default value: true + */ +useMaxWidth:!0, +/** + * | Parameter | Description | Type | Required | Values | + * | ----------- | --------------------------------- | ---- | -------- | ----------- | + * | rightAngles | Curved Arrows become Right Angles | 3 | 4 | true, false | + * + * **Notes:** + * + * This will display arrows that start and begin at the same node as right angles, rather than a + * curves + * + * Default value: false + */ +rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50, +// width of activation box +activationWidth:10, +// text placement as: tspan | fo | old only text as before +textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"]}, +/** The object containing configurations specific for timeline diagrams */ +timeline:{ +/** + * | Parameter | Description | Type | Required | Values | + * | -------------- | ---------------------------------------------------- | ------- | -------- | ------------------ | + * | diagramMarginX | Margin to the right and left of the sequence diagram | Integer | Required | Any Positive Value | + * + * **Notes:** Default value: 50 + */ +diagramMarginX:50, +/** + * | Parameter | Description | Type | Required | Values | + * | -------------- | -------------------------------------------------- | ------- | -------- | ------------------ | + * | diagramMarginY | Margin to the over and under the sequence diagram. | Integer | Required | Any Positive Value | + * + * **Notes:** Default value: 10 + */ +diagramMarginY:10, +/** + * | Parameter | Description | Type | Required | Values | + * | ----------- | --------------------- | ------- | -------- | ------------------ | + * | actorMargin | Margin between actors | Integer | Required | Any Positive Value | + * + * **Notes:** Default value: 50 + */ +leftMargin:150, +/** + * | Parameter | Description | Type | Required | Values | + * | --------- | -------------------- | ------- | -------- | ------------------ | + * | width | Width of actor boxes | Integer | Required | Any Positive Value | + * + * **Notes:** Default value: 150 + */ +width:150, +/** + * | Parameter | Description | Type | Required | Values | + * | --------- | --------------------- | ------- | -------- | ------------------ | + * | height | Height of actor boxes | Integer | Required | Any Positive Value | + * + * **Notes:** Default value: 65 + */ +height:50, +/** + * | Parameter | Description | Type | Required | Values | + * | --------- | ------------------------ | ------- | -------- | ------------------ | + * | boxMargin | Margin around loop boxes | Integer | Required | Any Positive Value | + * + * **Notes:** Default value: 10 + */ +boxMargin:10, +/** + * | Parameter | Description | Type | Required | Values | + * | ------------- | -------------------------------------------- | ------- | -------- | ------------------ | + * | boxTextMargin | Margin around the text in loop/alt/opt boxes | Integer | Required | Any Positive Value | + * + * **Notes:** Default value: 5 + */ +boxTextMargin:5, +/** + * | Parameter | Description | Type | Required | Values | + * | ---------- | ------------------- | ------- | -------- | ------------------ | + * | noteMargin | Margin around notes | Integer | Required | Any Positive Value | + * + * **Notes:** Default value: 10 + */ +noteMargin:10, +/** + * | Parameter | Description | Type | Required | Values | + * | ------------- | ----------------------- | ------- | -------- | ------------------ | + * | messageMargin | Space between messages. | Integer | Required | Any Positive Value | + * + * **Notes:** + * + * Space between messages. + * + * Default value: 35 + */ +messageMargin:35, +/** + * | Parameter | Description | Type | Required | Values | + * | ------------ | --------------------------- | ---- | -------- | ------------------------- | + * | messageAlign | Multiline message alignment | 3 | 4 | 'left', 'center', 'right' | + * + * **Notes:** Default value: 'center' + */ +messageAlign:"center", +/** + * | Parameter | Description | Type | Required | Values | + * | --------------- | ------------------------------------------ | ------- | -------- | ------------------ | + * | bottomMarginAdj | Prolongs the edge of the diagram downwards | Integer | 4 | Any Positive Value | + * + * **Notes:** + * + * Depending on css styling this might need adjustment. + * + * Default value: 1 + */ +bottomMarginAdj:1, +/** + * | Parameter | Description | Type | Required | Values | + * | ----------- | ----------- | ------- | -------- | ----------- | + * | useMaxWidth | See notes | boolean | 4 | true, false | + * + * **Notes:** + * + * When this flag is set the height and width is set to 100% and is then scaling with the + * available space if not the absolute space required is used. + * + * Default value: true + */ +useMaxWidth:!0, +/** + * | Parameter | Description | Type | Required | Values | + * | ----------- | --------------------------------- | ---- | -------- | ----------- | + * | rightAngles | Curved Arrows become Right Angles | 3 | 4 | true, false | + * + * **Notes:** + * + * This will display arrows that start and begin at the same node as right angles, rather than a + * curves + * + * Default value: false + */ +rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50, +// width of activation box +activationWidth:10, +// text placement as: tspan | fo | old only text as before +textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"],disableMulticolor:!1},class:{ +/** + * ### titleTopMargin + * + * | Parameter | Description | Type | Required | Values | + * | -------------- | ---------------------------------------------- | ------- | -------- | ------------------ | + * | titleTopMargin | Margin top for the text over the class diagram | Integer | Required | Any Positive Value | + * + * **Notes:** Default value: 25 + */ +titleTopMargin:25,arrowMarkerAbsolute:!1,dividerMargin:10,padding:5,textHeight:10, +/** + * | Parameter | Description | Type | Required | Values | + * | ----------- | ----------- | ------- | -------- | ----------- | + * | useMaxWidth | See notes | boolean | 4 | true, false | + * + * **Notes:** + * + * When this flag is set the height and width is set to 100% and is then scaling with the + * available space if not the absolute space required is used. + * + * Default value: true + */ +useMaxWidth:!0, +/** + * | Parameter | Description | Type | Required | Values | + * | --------------- | ----------- | ------- | -------- | ----------------------- | + * | defaultRenderer | See notes | boolean | 4 | dagre-d3, dagre-wrapper | + * + * **Notes**: + * + * Decides which rendering engine that is to be used for the rendering. Legal values are: + * dagre-d3 dagre-wrapper - wrapper for dagre implemented in mermaid + * + * Default value: 'dagre-d3' + */ +defaultRenderer:"dagre-wrapper"},state:{ +/** + * ### titleTopMargin + * + * | Parameter | Description | Type | Required | Values | + * | -------------- | ---------------------------------------------- | ------- | -------- | ------------------ | + * | titleTopMargin | Margin top for the text over the state diagram | Integer | Required | Any Positive Value | + * + * **Notes:** Default value: 25 + */ +titleTopMargin:25,dividerMargin:10,sizeUnit:5,padding:8,textHeight:10,titleShift:-15,noteMargin:10,forkWidth:70,forkHeight:7, +// Used +miniPadding:2, +// Font size factor, this is used to guess the width of the edges labels before rendering by dagre +// layout. This might need updating if/when switching font +fontSizeFactor:5.02,fontSize:24,labelHeight:16,edgeLengthFactor:"20",compositTitleSize:35,radius:5, +/** + * | Parameter | Description | Type | Required | Values | + * | ----------- | ----------- | ------- | -------- | ----------- | + * | useMaxWidth | See notes | boolean | 4 | true, false | + * + * **Notes:** + * + * When this flag is set the height and width is set to 100% and is then scaling with the + * available space if not the absolute space required is used. + * + * Default value: true + */ +useMaxWidth:!0, +/** + * | Parameter | Description | Type | Required | Values | + * | --------------- | ----------- | ------- | -------- | ----------------------- | + * | defaultRenderer | See notes | boolean | 4 | dagre-d3, dagre-wrapper | + * + * **Notes:** + * + * Decides which rendering engine that is to be used for the rendering. Legal values are: + * dagre-d3 dagre-wrapper - wrapper for dagre implemented in mermaid + * + * Default value: 'dagre-d3' + */ +defaultRenderer:"dagre-wrapper"}, +/** The object containing configurations specific for entity relationship diagrams */ +er:{ +/** + * ### titleTopMargin + * + * | Parameter | Description | Type | Required | Values | + * | -------------- | ---------------------------------------------- | ------- | -------- | ------------------ | + * | titleTopMargin | Margin top for the text over the diagram | Integer | Required | Any Positive Value | + * + * **Notes:** Default value: 25 + */ +titleTopMargin:25, +/** + * | Parameter | Description | Type | Required | Values | + * | -------------- | ----------------------------------------------- | ------- | -------- | ------------------ | + * | diagramPadding | Amount of padding around the diagram as a whole | Integer | Required | Any Positive Value | + * + * **Notes:** + * + * The amount of padding around the diagram as a whole so that embedded diagrams have margins, + * expressed in pixels + * + * Default value: 20 + */ +diagramPadding:20, +/** + * | Parameter | Description | Type | Required | Values | + * | --------------- | ---------------------------------------- | ------ | -------- | ---------------------- | + * | layoutDirection | Directional bias for layout of entities. | string | Required | "TB", "BT", "LR", "RL" | + * + * **Notes:** + * + * 'TB' for Top-Bottom, 'BT'for Bottom-Top, 'LR' for Left-Right, or 'RL' for Right to Left. + * + * T = top, B = bottom, L = left, and R = right. + * + * Default value: 'TB' + */ +layoutDirection:"TB", +/** + * | Parameter | Description | Type | Required | Values | + * | -------------- | ---------------------------------- | ------- | -------- | ------------------ | + * | minEntityWidth | The minimum width of an entity box | Integer | Required | Any Positive Value | + * + * **Notes:** Expressed in pixels. Default value: 100 + */ +minEntityWidth:100, +/** + * | Parameter | Description | Type | Required | Values | + * | --------------- | ----------------------------------- | ------- | -------- | ------------------ | + * | minEntityHeight | The minimum height of an entity box | Integer | 4 | Any Positive Value | + * + * **Notes:** Expressed in pixels Default value: 75 + */ +minEntityHeight:75, +/** + * | Parameter | Description | Type | Required | Values | + * | ------------- | ------------------------------------------------------------ | ------- | -------- | ------------------ | + * | entityPadding | Minimum internal padding between text in box and box borders | Integer | 4 | Any Positive Value | + * + * **Notes:** + * + * The minimum internal padding between text in an entity box and the enclosing box borders, + * expressed in pixels. + * + * Default value: 15 + */ +entityPadding:15, +/** + * | Parameter | Description | Type | Required | Values | + * | --------- | ----------------------------------- | ------ | -------- | -------------------- | + * | stroke | Stroke color of box edges and lines | string | 4 | Any recognized color | + * + * **Notes:** Default value: 'gray' + */ +stroke:"gray", +/** + * | Parameter | Description | Type | Required | Values | + * | --------- | -------------------------- | ------ | -------- | -------------------- | + * | fill | Fill color of entity boxes | string | 4 | Any recognized color | + * + * **Notes:** Default value: 'honeydew' + */ +fill:"honeydew", +/** + * | Parameter | Description | Type | Required | Values | + * | --------- | ------------------- | ------- | -------- | ------------------ | + * | fontSize | Font Size in pixels | Integer | | Any Positive Value | + * + * **Notes:** + * + * Font size (expressed as an integer representing a number of pixels) Default value: 12 + */ +fontSize:12, +/** + * | Parameter | Description | Type | Required | Values | + * | ----------- | ----------- | ------- | -------- | ----------- | + * | useMaxWidth | See Notes | boolean | Required | true, false | + * + * **Notes:** + * + * When this flag is set to true, the diagram width is locked to 100% and scaled based on + * available space. If set to false, the diagram reserves its absolute width. + * + * Default value: true + */ +useMaxWidth:!0}, +/** The object containing configurations specific for pie diagrams */ +pie:{useWidth:void 0, +/** + * | Parameter | Description | Type | Required | Values | + * | ----------- | ----------- | ------- | -------- | ----------- | + * | useMaxWidth | See Notes | boolean | Required | true, false | + * + * **Notes:** + * + * When this flag is set to true, the diagram width is locked to 100% and scaled based on + * available space. If set to false, the diagram reserves its absolute width. + * + * Default value: true + */ +useMaxWidth:!0}, +/** The object containing configurations specific for req diagrams */ +requirement:{useWidth:void 0, +/** + * | Parameter | Description | Type | Required | Values | + * | ----------- | ----------- | ------- | -------- | ----------- | + * | useMaxWidth | See Notes | boolean | Required | true, false | + * + * **Notes:** + * + * When this flag is set to true, the diagram width is locked to 100% and scaled based on + * available space. If set to false, the diagram reserves its absolute width. + * + * Default value: true + */ +useMaxWidth:!0,rect_fill:"#f9f9f9",text_color:"#333",rect_border_size:"0.5px",rect_border_color:"#bbb",rect_min_width:200,rect_min_height:200,fontSize:14,rect_padding:10,line_height:20},gitGraph:{ +/** + * ### titleTopMargin + * + * | Parameter | Description | Type | Required | Values | + * | -------------- | ---------------------------------------------- | ------- | -------- | ------------------ | + * | titleTopMargin | Margin top for the text over the Git diagram | Integer | Required | Any Positive Value | + * + * **Notes:** Default value: 25 + */ +titleTopMargin:25,diagramPadding:8,nodeLabel:{width:75,height:100,x:-25,y:0},mainBranchName:"main",mainBranchOrder:0,showCommitLabel:!0,showBranches:!0,rotateCommitLabel:!0}, +/** The object containing configurations specific for c4 diagrams */ +c4:{useWidth:void 0, +/** + * | Parameter | Description | Type | Required | Values | + * | -------------- | ---------------------------------------------- | ------- | -------- | ------------------ | + * | diagramMarginX | Margin to the right and left of the c4 diagram | Integer | Required | Any Positive Value | + * + * **Notes:** Default value: 50 + */ +diagramMarginX:50, +/** + * | Parameter | Description | Type | Required | Values | + * | -------------- | ------------------------------------------- | ------- | -------- | ------------------ | + * | diagramMarginY | Margin to the over and under the c4 diagram | Integer | Required | Any Positive Value | + * + * **Notes:** Default value: 10 + */ +diagramMarginY:10, +/** + * | Parameter | Description | Type | Required | Values | + * | ------------- | --------------------- | ------- | -------- | ------------------ | + * | c4ShapeMargin | Margin between shapes | Integer | Required | Any Positive Value | + * + * **Notes:** Default value: 50 + */ +c4ShapeMargin:50, +/** + * | Parameter | Description | Type | Required | Values | + * | -------------- | ---------------------- | ------- | -------- | ------------------ | + * | c4ShapePadding | Padding between shapes | Integer | Required | Any Positive Value | + * + * **Notes:** Default value: 20 + */ +c4ShapePadding:20, +/** + * | Parameter | Description | Type | Required | Values | + * | --------- | --------------------- | ------- | -------- | ------------------ | + * | width | Width of person boxes | Integer | Required | Any Positive Value | + * + * **Notes:** Default value: 216 + */ +width:216, +/** + * | Parameter | Description | Type | Required | Values | + * | --------- | ---------------------- | ------- | -------- | ------------------ | + * | height | Height of person boxes | Integer | Required | Any Positive Value | + * + * **Notes:** Default value: 60 + */ +height:60, +/** + * | Parameter | Description | Type | Required | Values | + * | --------- | ------------------- | ------- | -------- | ------------------ | + * | boxMargin | Margin around boxes | Integer | Required | Any Positive Value | + * + * **Notes:** Default value: 10 + */ +boxMargin:10, +/** + * | Parameter | Description | Type | Required | Values | + * | ----------- | ----------- | ------- | -------- | ----------- | + * | useMaxWidth | See Notes | boolean | Required | true, false | + * + * **Notes:** When this flag is set to true, the height and width is set to 100% and is then + * scaling with the available space. If set to false, the absolute space required is used. + * + * Default value: true + */ +useMaxWidth:!0, +/** + * | Parameter | Description | Type | Required | Values | + * | ------------ | ----------- | ------- | -------- | ------------------ | + * | c4ShapeInRow | See Notes | Integer | Required | Any Positive Value | + * + * **Notes:** How many shapes to place in each row. + * + * Default value: 4 + */ +c4ShapeInRow:4,nextLinePaddingX:0, +/** + * | Parameter | Description | Type | Required | Values | + * | --------------- | ----------- | ------- | -------- | ------------------ | + * | c4BoundaryInRow | See Notes | Integer | Required | Any Positive Value | + * + * **Notes:** How many boundaries to place in each row. + * + * Default value: 2 + */ +c4BoundaryInRow:2, +/** + * This sets the font size of Person shape for the diagram + * + * **Notes:** Default value: 14. + */ +personFontSize:14, +/** + * This sets the font family of Person shape for the diagram + * + * **Notes:** Default value: "Open Sans", sans-serif. + */ +personFontFamily:'"Open Sans", sans-serif', +/** + * This sets the font weight of Person shape for the diagram + * + * **Notes:** Default value: normal. + */ +personFontWeight:"normal", +/** + * This sets the font size of External Person shape for the diagram + * + * **Notes:** Default value: 14. + */ +external_personFontSize:14, +/** + * This sets the font family of External Person shape for the diagram + * + * **Notes:** Default value: "Open Sans", sans-serif. + */ +external_personFontFamily:'"Open Sans", sans-serif', +/** + * This sets the font weight of External Person shape for the diagram + * + * **Notes:** Default value: normal. + */ +external_personFontWeight:"normal", +/** + * This sets the font size of System shape for the diagram + * + * **Notes:** Default value: 14. + */ +systemFontSize:14, +/** + * This sets the font family of System shape for the diagram + * + * **Notes:** Default value: "Open Sans", sans-serif. + */ +systemFontFamily:'"Open Sans", sans-serif', +/** + * This sets the font weight of System shape for the diagram + * + * **Notes:** Default value: normal. + */ +systemFontWeight:"normal", +/** + * This sets the font size of External System shape for the diagram + * + * **Notes:** Default value: 14. + */ +external_systemFontSize:14, +/** + * This sets the font family of External System shape for the diagram + * + * **Notes:** Default value: "Open Sans", sans-serif. + */ +external_systemFontFamily:'"Open Sans", sans-serif', +/** + * This sets the font weight of External System shape for the diagram + * + * **Notes:** Default value: normal. + */ +external_systemFontWeight:"normal", +/** + * This sets the font size of System DB shape for the diagram + * + * **Notes:** Default value: 14. + */ +system_dbFontSize:14, +/** + * This sets the font family of System DB shape for the diagram + * + * **Notes:** Default value: "Open Sans", sans-serif. + */ +system_dbFontFamily:'"Open Sans", sans-serif', +/** + * This sets the font weight of System DB shape for the diagram + * + * **Notes:** Default value: normal. + */ +system_dbFontWeight:"normal", +/** + * This sets the font size of External System DB shape for the diagram + * + * **Notes:** Default value: 14. + */ +external_system_dbFontSize:14, +/** + * This sets the font family of External System DB shape for the diagram + * + * **Notes:** Default value: "Open Sans", sans-serif. + */ +external_system_dbFontFamily:'"Open Sans", sans-serif', +/** + * This sets the font weight of External System DB shape for the diagram + * + * **Notes:** Default value: normal. + */ +external_system_dbFontWeight:"normal", +/** + * This sets the font size of System Queue shape for the diagram + * + * **Notes:** Default value: 14. + */ +system_queueFontSize:14, +/** + * This sets the font family of System Queue shape for the diagram + * + * **Notes:** Default value: "Open Sans", sans-serif. + */ +system_queueFontFamily:'"Open Sans", sans-serif', +/** + * This sets the font weight of System Queue shape for the diagram + * + * **Notes:** Default value: normal. + */ +system_queueFontWeight:"normal", +/** + * This sets the font size of External System Queue shape for the diagram + * + * **Notes:** Default value: 14. + */ +external_system_queueFontSize:14, +/** + * This sets the font family of External System Queue shape for the diagram + * + * **Notes:** Default value: "Open Sans", sans-serif. + */ +external_system_queueFontFamily:'"Open Sans", sans-serif', +/** + * This sets the font weight of External System Queue shape for the diagram + * + * **Notes:** Default value: normal. + */ +external_system_queueFontWeight:"normal", +/** + * This sets the font size of Boundary shape for the diagram + * + * **Notes:** Default value: 14. + */ +boundaryFontSize:14, +/** + * This sets the font family of Boundary shape for the diagram + * + * **Notes:** Default value: "Open Sans", sans-serif. + */ +boundaryFontFamily:'"Open Sans", sans-serif', +/** + * This sets the font weight of Boundary shape for the diagram + * + * **Notes:** Default value: normal. + */ +boundaryFontWeight:"normal", +/** + * This sets the font size of Message shape for the diagram + * + * **Notes:** Default value: 12. + */ +messageFontSize:12, +/** + * This sets the font family of Message shape for the diagram + * + * **Notes:** Default value: "Open Sans", sans-serif. + */ +messageFontFamily:'"Open Sans", sans-serif', +/** + * This sets the font weight of Message shape for the diagram + * + * **Notes:** Default value: normal. + */ +messageFontWeight:"normal", +/** + * This sets the font size of Container shape for the diagram + * + * **Notes:** Default value: 14. + */ +containerFontSize:14, +/** + * This sets the font family of Container shape for the diagram + * + * **Notes:** Default value: "Open Sans", sans-serif. + */ +containerFontFamily:'"Open Sans", sans-serif', +/** + * This sets the font weight of Container shape for the diagram + * + * **Notes:** Default value: normal. + */ +containerFontWeight:"normal", +/** + * This sets the font size of External Container shape for the diagram + * + * **Notes:** Default value: 14. + */ +external_containerFontSize:14, +/** + * This sets the font family of External Container shape for the diagram + * + * **Notes:** Default value: "Open Sans", sans-serif. + */ +external_containerFontFamily:'"Open Sans", sans-serif', +/** + * This sets the font weight of External Container shape for the diagram + * + * **Notes:** Default value: normal. + */ +external_containerFontWeight:"normal", +/** + * This sets the font size of Container DB shape for the diagram + * + * **Notes:** Default value: 14. + */ +container_dbFontSize:14, +/** + * This sets the font family of Container DB shape for the diagram + * + * **Notes:** Default value: "Open Sans", sans-serif. + */ +container_dbFontFamily:'"Open Sans", sans-serif', +/** + * This sets the font weight of Container DB shape for the diagram + * + * **Notes:** Default value: normal. + */ +container_dbFontWeight:"normal", +/** + * This sets the font size of External Container DB shape for the diagram + * + * **Notes:** Default value: 14. + */ +external_container_dbFontSize:14, +/** + * This sets the font family of External Container DB shape for the diagram + * + * **Notes:** Default value: "Open Sans", sans-serif. + */ +external_container_dbFontFamily:'"Open Sans", sans-serif', +/** + * This sets the font weight of External Container DB shape for the diagram + * + * **Notes:** Default value: normal. + */ +external_container_dbFontWeight:"normal", +/** + * This sets the font size of Container Queue shape for the diagram + * + * **Notes:** Default value: 14. + */ +container_queueFontSize:14, +/** + * This sets the font family of Container Queue shape for the diagram + * + * **Notes:** Default value: "Open Sans", sans-serif. + */ +container_queueFontFamily:'"Open Sans", sans-serif', +/** + * This sets the font weight of Container Queue shape for the diagram + * + * **Notes:** Default value: normal. + */ +container_queueFontWeight:"normal", +/** + * This sets the font size of External Container Queue shape for the diagram + * + * **Notes:** Default value: 14. + */ +external_container_queueFontSize:14, +/** + * This sets the font family of External Container Queue shape for the diagram + * + * **Notes:** Default value: "Open Sans", sans-serif. + */ +external_container_queueFontFamily:'"Open Sans", sans-serif', +/** + * This sets the font weight of External Container Queue shape for the diagram + * + * **Notes:** Default value: normal. + */ +external_container_queueFontWeight:"normal", +/** + * This sets the font size of Component shape for the diagram + * + * **Notes:** Default value: 14. + */ +componentFontSize:14, +/** + * This sets the font family of Component shape for the diagram + * + * **Notes:** Default value: "Open Sans", sans-serif. + */ +componentFontFamily:'"Open Sans", sans-serif', +/** + * This sets the font weight of Component shape for the diagram + * + * **Notes:** Default value: normal. + */ +componentFontWeight:"normal", +/** + * This sets the font size of External Component shape for the diagram + * + * **Notes:** Default value: 14. + */ +external_componentFontSize:14, +/** + * This sets the font family of External Component shape for the diagram + * + * **Notes:** Default value: "Open Sans", sans-serif. + */ +external_componentFontFamily:'"Open Sans", sans-serif', +/** + * This sets the font weight of External Component shape for the diagram + * + * **Notes:** Default value: normal. + */ +external_componentFontWeight:"normal", +/** + * This sets the font size of Component DB shape for the diagram + * + * **Notes:** Default value: 14. + */ +component_dbFontSize:14, +/** + * This sets the font family of Component DB shape for the diagram + * + * **Notes:** Default value: "Open Sans", sans-serif. + */ +component_dbFontFamily:'"Open Sans", sans-serif', +/** + * This sets the font weight of Component DB shape for the diagram + * + * **Notes:** Default value: normal. + */ +component_dbFontWeight:"normal", +/** + * This sets the font size of External Component DB shape for the diagram + * + * **Notes:** Default value: 14. + */ +external_component_dbFontSize:14, +/** + * This sets the font family of External Component DB shape for the diagram + * + * **Notes:** Default value: "Open Sans", sans-serif. + */ +external_component_dbFontFamily:'"Open Sans", sans-serif', +/** + * This sets the font weight of External Component DB shape for the diagram + * + * **Notes:** Default value: normal. + */ +external_component_dbFontWeight:"normal", +/** + * This sets the font size of Component Queue shape for the diagram + * + * **Notes:** Default value: 14. + */ +component_queueFontSize:14, +/** + * This sets the font family of Component Queue shape for the diagram + * + * **Notes:** Default value: "Open Sans", sans-serif. + */ +component_queueFontFamily:'"Open Sans", sans-serif', +/** + * This sets the font weight of Component Queue shape for the diagram + * + * **Notes:** Default value: normal. + */ +component_queueFontWeight:"normal", +/** + * This sets the font size of External Component Queue shape for the diagram + * + * **Notes:** Default value: 14. + */ +external_component_queueFontSize:14, +/** + * This sets the font family of External Component Queue shape for the diagram + * + * **Notes:** Default value: "Open Sans", sans-serif. + */ +external_component_queueFontFamily:'"Open Sans", sans-serif', +/** + * This sets the font weight of External Component Queue shape for the diagram + * + * **Notes:** Default value: normal. + */ +external_component_queueFontWeight:"normal", +/** + * This sets the auto-wrap state for the diagram + * + * **Notes:** Default value: true. + */ +wrap:!0, +/** + * This sets the auto-wrap padding for the diagram (sides only) + * + * **Notes:** Default value: 0. + */ +wrapPadding:10,personFont:function(){return{fontFamily:this.personFontFamily,fontSize:this.personFontSize,fontWeight:this.personFontWeight}},external_personFont:function(){return{fontFamily:this.external_personFontFamily,fontSize:this.external_personFontSize,fontWeight:this.external_personFontWeight}},systemFont:function(){return{fontFamily:this.systemFontFamily,fontSize:this.systemFontSize,fontWeight:this.systemFontWeight}},external_systemFont:function(){return{fontFamily:this.external_systemFontFamily,fontSize:this.external_systemFontSize,fontWeight:this.external_systemFontWeight}},system_dbFont:function(){return{fontFamily:this.system_dbFontFamily,fontSize:this.system_dbFontSize,fontWeight:this.system_dbFontWeight}},external_system_dbFont:function(){return{fontFamily:this.external_system_dbFontFamily,fontSize:this.external_system_dbFontSize,fontWeight:this.external_system_dbFontWeight}},system_queueFont:function(){return{fontFamily:this.system_queueFontFamily,fontSize:this.system_queueFontSize,fontWeight:this.system_queueFontWeight}},external_system_queueFont:function(){return{fontFamily:this.external_system_queueFontFamily,fontSize:this.external_system_queueFontSize,fontWeight:this.external_system_queueFontWeight}},containerFont:function(){return{fontFamily:this.containerFontFamily,fontSize:this.containerFontSize,fontWeight:this.containerFontWeight}},external_containerFont:function(){return{fontFamily:this.external_containerFontFamily,fontSize:this.external_containerFontSize,fontWeight:this.external_containerFontWeight}},container_dbFont:function(){return{fontFamily:this.container_dbFontFamily,fontSize:this.container_dbFontSize,fontWeight:this.container_dbFontWeight}},external_container_dbFont:function(){return{fontFamily:this.external_container_dbFontFamily,fontSize:this.external_container_dbFontSize,fontWeight:this.external_container_dbFontWeight}},container_queueFont:function(){return{fontFamily:this.container_queueFontFamily,fontSize:this.container_queueFontSize,fontWeight:this.container_queueFontWeight}},external_container_queueFont:function(){return{fontFamily:this.external_container_queueFontFamily,fontSize:this.external_container_queueFontSize,fontWeight:this.external_container_queueFontWeight}},componentFont:function(){return{fontFamily:this.componentFontFamily,fontSize:this.componentFontSize,fontWeight:this.componentFontWeight}},external_componentFont:function(){return{fontFamily:this.external_componentFontFamily,fontSize:this.external_componentFontSize,fontWeight:this.external_componentFontWeight}},component_dbFont:function(){return{fontFamily:this.component_dbFontFamily,fontSize:this.component_dbFontSize,fontWeight:this.component_dbFontWeight}},external_component_dbFont:function(){return{fontFamily:this.external_component_dbFontFamily,fontSize:this.external_component_dbFontSize,fontWeight:this.external_component_dbFontWeight}},component_queueFont:function(){return{fontFamily:this.component_queueFontFamily,fontSize:this.component_queueFontSize,fontWeight:this.component_queueFontWeight}},external_component_queueFont:function(){return{fontFamily:this.external_component_queueFontFamily,fontSize:this.external_component_queueFontSize,fontWeight:this.external_component_queueFontWeight}},boundaryFont:function(){return{fontFamily:this.boundaryFontFamily,fontSize:this.boundaryFontSize,fontWeight:this.boundaryFontWeight}},messageFont:function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}}, +// ' Colors +// ' ################################## +person_bg_color:"#08427B",person_border_color:"#073B6F",external_person_bg_color:"#686868",external_person_border_color:"#8A8A8A",system_bg_color:"#1168BD",system_border_color:"#3C7FC0",system_db_bg_color:"#1168BD",system_db_border_color:"#3C7FC0",system_queue_bg_color:"#1168BD",system_queue_border_color:"#3C7FC0",external_system_bg_color:"#999999",external_system_border_color:"#8A8A8A",external_system_db_bg_color:"#999999",external_system_db_border_color:"#8A8A8A",external_system_queue_bg_color:"#999999",external_system_queue_border_color:"#8A8A8A",container_bg_color:"#438DD5",container_border_color:"#3C7FC0",container_db_bg_color:"#438DD5",container_db_border_color:"#3C7FC0",container_queue_bg_color:"#438DD5",container_queue_border_color:"#3C7FC0",external_container_bg_color:"#B3B3B3",external_container_border_color:"#A6A6A6",external_container_db_bg_color:"#B3B3B3",external_container_db_border_color:"#A6A6A6",external_container_queue_bg_color:"#B3B3B3",external_container_queue_border_color:"#A6A6A6",component_bg_color:"#85BBF0",component_border_color:"#78A8D8",component_db_bg_color:"#85BBF0",component_db_border_color:"#78A8D8",component_queue_bg_color:"#85BBF0",component_queue_border_color:"#78A8D8",external_component_bg_color:"#CCCCCC",external_component_border_color:"#BFBFBF",external_component_db_bg_color:"#CCCCCC",external_component_db_border_color:"#BFBFBF",external_component_queue_bg_color:"#CCCCCC",external_component_queue_border_color:"#BFBFBF"},mindmap:{useMaxWidth:!0,padding:10,maxNodeWidth:200},fontSize:16};QR.class&&(QR.class.arrowMarkerAbsolute=QR.arrowMarkerAbsolute),QR.gitGraph&&(QR.gitGraph.arrowMarkerAbsolute=QR.arrowMarkerAbsolute);const KR=(e,t="")=>Object.keys(e).reduce(((n,r)=>Array.isArray(e[r])?n:"object"==typeof e[r]&&null!==e[r]?[...n,t+r,...KR(e[r],"")]:[...n,t+r]),[]),XR=KR(QR,""),ZR=QR; +/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */ +function JR(e){return null==e}var eI={isNothing:JR,isObject:function(e){return"object"==typeof e&&null!==e},toArray:function(e){return Array.isArray(e)?e:JR(e)?[]:[e]},repeat:function(e,t){var n,r="";for(n=0;n<t;n+=1)r+=e;return r},isNegativeZero:function(e){return 0===e&&Number.NEGATIVE_INFINITY===1/e},extend:function(e,t){var n,r,i,a;if(t)for(n=0,r=(a=Object.keys(t)).length;n<r;n+=1)e[i=a[n]]=t[i];return e}};function tI(e,t){var n="",r=e.reason||"(unknown reason)";return e.mark?(e.mark.name&&(n+='in "'+e.mark.name+'" '),n+="("+(e.mark.line+1)+":"+(e.mark.column+1)+")",!t&&e.mark.snippet&&(n+="\n\n"+e.mark.snippet),r+" "+n):r}function nI(e,t){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=t,this.message=tI(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack||""}nI.prototype=Object.create(Error.prototype),nI.prototype.constructor=nI,nI.prototype.toString=function(e){return this.name+": "+tI(this,e)};var rI=nI;function iI(e,t,n,r,i){var a="",o="",s=Math.floor(i/2)-1;return r-t>s&&(t=r-s+(a=" ... ").length),n-r>s&&(n=r+s-(o=" ...").length),{str:a+e.slice(t,n).replace(/\t/g,"→")+o,pos:r-t+a.length}}function aI(e,t){return eI.repeat(" ",t-e.length)+e}var oI=function(e,t){if(t=Object.create(t||null),!e.buffer)return null;t.maxLength||(t.maxLength=79),"number"!=typeof t.indent&&(t.indent=1),"number"!=typeof t.linesBefore&&(t.linesBefore=3),"number"!=typeof t.linesAfter&&(t.linesAfter=2);for(var n,r=/\r?\n|\r|\0/g,i=[0],a=[],o=-1;n=r.exec(e.buffer);)a.push(n.index),i.push(n.index+n[0].length),e.position<=n.index&&o<0&&(o=i.length-2);o<0&&(o=i.length-1);var s,l,c="",u=Math.min(e.line+t.linesAfter,a.length).toString().length,d=t.maxLength-(t.indent+u+3);for(s=1;s<=t.linesBefore&&!(o-s<0);s++)l=iI(e.buffer,i[o-s],a[o-s],e.position-(i[o]-i[o-s]),d),c=eI.repeat(" ",t.indent)+aI((e.line-s+1).toString(),u)+" | "+l.str+"\n"+c;for(l=iI(e.buffer,i[o],a[o],e.position,d),c+=eI.repeat(" ",t.indent)+aI((e.line+1).toString(),u)+" | "+l.str+"\n",c+=eI.repeat("-",t.indent+u+3+l.pos)+"^\n",s=1;s<=t.linesAfter&&!(o+s>=a.length);s++)l=iI(e.buffer,i[o+s],a[o+s],e.position-(i[o]-i[o+s]),d),c+=eI.repeat(" ",t.indent)+aI((e.line+s+1).toString(),u)+" | "+l.str+"\n";return c.replace(/\n$/,"")},sI=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],lI=["scalar","sequence","mapping"];var cI=function(e,t){var n,r;if(t=t||{},Object.keys(t).forEach((function(t){if(-1===sI.indexOf(t))throw new rI('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')})),this.options=t,this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.representName=t.representName||null,this.defaultStyle=t.defaultStyle||null,this.multi=t.multi||!1,this.styleAliases=(n=t.styleAliases||null,r={},null!==n&&Object.keys(n).forEach((function(e){n[e].forEach((function(t){r[String(t)]=e}))})),r),-1===lI.indexOf(this.kind))throw new rI('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')};function uI(e,t){var n=[];return e[t].forEach((function(e){var t=n.length;n.forEach((function(n,r){n.tag===e.tag&&n.kind===e.kind&&n.multi===e.multi&&(t=r)})),n[t]=e})),n}function dI(e){return this.extend(e)}dI.prototype.extend=function(e){var t=[],n=[];if(e instanceof cI)n.push(e);else if(Array.isArray(e))n=n.concat(e);else{if(!e||!Array.isArray(e.implicit)&&!Array.isArray(e.explicit))throw new rI("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");e.implicit&&(t=t.concat(e.implicit)),e.explicit&&(n=n.concat(e.explicit))}t.forEach((function(e){if(!(e instanceof cI))throw new rI("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(e.loadKind&&"scalar"!==e.loadKind)throw new rI("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(e.multi)throw new rI("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")})),n.forEach((function(e){if(!(e instanceof cI))throw new rI("Specified list of YAML types (or a single Type object) contains a non-Type object.")}));var r=Object.create(dI.prototype);return r.implicit=(this.implicit||[]).concat(t),r.explicit=(this.explicit||[]).concat(n),r.compiledImplicit=uI(r,"implicit"),r.compiledExplicit=uI(r,"explicit"),r.compiledTypeMap=function(){var e,t,n={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function r(e){e.multi?(n.multi[e.kind].push(e),n.multi.fallback.push(e)):n[e.kind][e.tag]=n.fallback[e.tag]=e}for(e=0,t=arguments.length;e<t;e+=1)arguments[e].forEach(r);return n}(r.compiledImplicit,r.compiledExplicit),r};var hI=new dI({explicit:[new cI("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return null!==e?e:""}}),new cI("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return null!==e?e:[]}}),new cI("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return null!==e?e:{}}})]});var pI=new cI("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(e){if(null===e)return!0;var t=e.length;return 1===t&&"~"===e||4===t&&("null"===e||"Null"===e||"NULL"===e)},construct:function(){return null},predicate:function(e){return null===e},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"});var gI=new cI("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t=e.length;return 4===t&&("true"===e||"True"===e||"TRUE"===e)||5===t&&("false"===e||"False"===e||"FALSE"===e)},construct:function(e){return"true"===e||"True"===e||"TRUE"===e},predicate:function(e){return"[object Boolean]"===Object.prototype.toString.call(e)},represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"});function mI(e){return 48<=e&&e<=55}function _I(e){return 48<=e&&e<=57}var bI=new cI("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,n,r=e.length,i=0,a=!1;if(!r)return!1;if("-"!==(t=e[i])&&"+"!==t||(t=e[++i]),"0"===t){if(i+1===r)return!0;if("b"===(t=e[++i])){for(i++;i<r;i++)if("_"!==(t=e[i])){if("0"!==t&&"1"!==t)return!1;a=!0}return a&&"_"!==t}if("x"===t){for(i++;i<r;i++)if("_"!==(t=e[i])){if(!(48<=(n=e.charCodeAt(i))&&n<=57||65<=n&&n<=70||97<=n&&n<=102))return!1;a=!0}return a&&"_"!==t}if("o"===t){for(i++;i<r;i++)if("_"!==(t=e[i])){if(!mI(e.charCodeAt(i)))return!1;a=!0}return a&&"_"!==t}}if("_"===t)return!1;for(;i<r;i++)if("_"!==(t=e[i])){if(!_I(e.charCodeAt(i)))return!1;a=!0}return!(!a||"_"===t)},construct:function(e){var t,n=e,r=1;if(-1!==n.indexOf("_")&&(n=n.replace(/_/g,"")),"-"!==(t=n[0])&&"+"!==t||("-"===t&&(r=-1),t=(n=n.slice(1))[0]),"0"===n)return 0;if("0"===t){if("b"===n[1])return r*parseInt(n.slice(2),2);if("x"===n[1])return r*parseInt(n.slice(2),16);if("o"===n[1])return r*parseInt(n.slice(2),8)}return r*parseInt(n,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&e%1==0&&!eI.isNegativeZero(e)},represent:{binary:function(e){return e>=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)}, +/* eslint-disable max-len */ +hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),fI=new RegExp( +// 2.5e4, 2.5 and integers +"^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");var yI=/^[-+]?[0-9]+e/;var vI=new cI("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(e){return null!==e&&!(!fI.test(e)||// Quick hack to not allow integers end with `_` +// Probably should update regexp & check speed +"_"===e[e.length-1])},construct:function(e){var t,n;return n="-"===(t=e.replace(/_/g,"").toLowerCase())[0]?-1:1,"+-".indexOf(t[0])>=0&&(t=t.slice(1)),".inf"===t?1===n?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===t?NaN:n*parseFloat(t,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&(e%1!=0||eI.isNegativeZero(e))},represent:function(e,t){var n;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(eI.isNegativeZero(e))return"-0.0";return n=e.toString(10),yI.test(n)?n.replace("e",".e"):n},defaultStyle:"lowercase"}),EI=hI.extend({implicit:[pI,gI,bI,vI]}),SI=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),TI=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");var CI=new cI("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(e){return null!==e&&(null!==SI.exec(e)||null!==TI.exec(e))},construct:function(e){var t,n,r,i,a,o,s,l,c=0,u=null;if(null===(t=SI.exec(e))&&(t=TI.exec(e)),null===t)throw new Error("Date resolve error");if(n=+t[1],r=+t[2]-1,i=+t[3],!t[4])return new Date(Date.UTC(n,r,i));if(a=+t[4],o=+t[5],s=+t[6],t[7]){for(c=t[7].slice(0,3);c.length<3;)c+="0";c=+c}return t[9]&&(u=6e4*(60*+t[10]+ +(t[11]||0)),"-"===t[9]&&(u=-u)),l=new Date(Date.UTC(n,r,i,a,o,s,c)),u&&l.setTime(l.getTime()-u),l},instanceOf:Date,represent:function(e){return e.toISOString()}});var xI=new cI("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(e){return"<<"===e||null===e}}),kI="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";var AI=new cI("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,n,r=0,i=e.length,a=kI;for(n=0;n<i;n++)if(!((t=a.indexOf(e.charAt(n)))>64)){if(t<0)return!1;r+=6}return r%8==0},construct:function(e){var t,n,r=e.replace(/[\r\n=]/g,""),i=r.length,a=kI,o=0,s=[];for(t=0;t<i;t++)t%4==0&&t&&(s.push(o>>16&255),s.push(o>>8&255),s.push(255&o)),o=o<<6|a.indexOf(r.charAt(t));return 0===(n=i%4*6)?(s.push(o>>16&255),s.push(o>>8&255),s.push(255&o)):18===n?(s.push(o>>10&255),s.push(o>>2&255)):12===n&&s.push(o>>4&255),new Uint8Array(s)},predicate:function(e){return"[object Uint8Array]"===Object.prototype.toString.call(e)},represent:function(e){var t,n,r="",i=0,a=e.length,o=kI;for(t=0;t<a;t++)t%3==0&&t&&(r+=o[i>>18&63],r+=o[i>>12&63],r+=o[i>>6&63],r+=o[63&i]),i=(i<<8)+e[t];return 0===(n=a%3)?(r+=o[i>>18&63],r+=o[i>>12&63],r+=o[i>>6&63],r+=o[63&i]):2===n?(r+=o[i>>10&63],r+=o[i>>4&63],r+=o[i<<2&63],r+=o[64]):1===n&&(r+=o[i>>2&63],r+=o[i<<4&63],r+=o[64],r+=o[64]),r}}),wI=Object.prototype.hasOwnProperty,NI=Object.prototype.toString;var OI=new cI("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(e){if(null===e)return!0;var t,n,r,i,a,o=[],s=e;for(t=0,n=s.length;t<n;t+=1){if(r=s[t],a=!1,"[object Object]"!==NI.call(r))return!1;for(i in r)if(wI.call(r,i)){if(a)return!1;a=!0}if(!a)return!1;if(-1!==o.indexOf(i))return!1;o.push(i)}return!0},construct:function(e){return null!==e?e:[]}}),RI=Object.prototype.toString;var II=new cI("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:function(e){if(null===e)return!0;var t,n,r,i,a,o=e;for(a=new Array(o.length),t=0,n=o.length;t<n;t+=1){if(r=o[t],"[object Object]"!==RI.call(r))return!1;if(1!==(i=Object.keys(r)).length)return!1;a[t]=[i[0],r[i[0]]]}return!0},construct:function(e){if(null===e)return[];var t,n,r,i,a,o=e;for(a=new Array(o.length),t=0,n=o.length;t<n;t+=1)r=o[t],i=Object.keys(r),a[t]=[i[0],r[i[0]]];return a}}),DI=Object.prototype.hasOwnProperty;var MI=new cI("tag:yaml.org,2002:set",{kind:"mapping",resolve:function(e){if(null===e)return!0;var t,n=e;for(t in n)if(DI.call(n,t)&&null!==n[t])return!1;return!0},construct:function(e){return null!==e?e:{}}}),LI=EI.extend({implicit:[CI,xI],explicit:[AI,OI,II,MI]}),PI=Object.prototype.hasOwnProperty,jI=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,FI=/[\x85\u2028\u2029]/,BI=/[,\[\]\{\}]/,UI=/^(?:!|!!|![a-z\-]+!)$/i,GI=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function zI(e){return Object.prototype.toString.call(e)}function $I(e){return 10===e||13===e}function YI(e){return 9===e||32===e}function qI(e){return 9===e||32===e||10===e||13===e}function HI(e){return 44===e||91===e||93===e||123===e||125===e}function VI(e){var t;return 48<=e&&e<=57?e-48:97<=(t=32|e)&&t<=102?t-97+10:-1}function WI(e){return 48===e?"\0":97===e?"":98===e?"\b":116===e||9===e?"\t":110===e?"\n":118===e?"\v":102===e?"\f":114===e?"\r":101===e?"":32===e?" ":34===e?'"':47===e?"/":92===e?"\\":78===e?" ":95===e?" ":76===e?"\u2028":80===e?"\u2029":""}function QI(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(55296+(e-65536>>10),56320+(e-65536&1023))}for(var KI=new Array(256),XI=new Array(256),ZI=0;ZI<256;ZI++)KI[ZI]=WI(ZI)?1:0,XI[ZI]=WI(ZI);function JI(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||LI,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function eD(e,t){var n={name:e.filename,buffer:e.input.slice(0,-1), +// omit trailing \0 +position:e.position,line:e.line,column:e.position-e.lineStart};return n.snippet=oI(n),new rI(t,n)}function tD(e,t){throw eD(e,t)}function nD(e,t){e.onWarning&&e.onWarning.call(null,eD(e,t))}var rD={YAML:function(e,t,n){var r,i,a;null!==e.version&&tD(e,"duplication of %YAML directive"),1!==n.length&&tD(e,"YAML directive accepts exactly one argument"),null===(r=/^([0-9]+)\.([0-9]+)$/.exec(n[0]))&&tD(e,"ill-formed argument of the YAML directive"),i=parseInt(r[1],10),a=parseInt(r[2],10),1!==i&&tD(e,"unacceptable YAML version of the document"),e.version=n[0],e.checkLineBreaks=a<2,1!==a&&2!==a&&nD(e,"unsupported YAML version of the document")},TAG:function(e,t,n){var r,i;2!==n.length&&tD(e,"TAG directive accepts exactly two arguments"),r=n[0],i=n[1],UI.test(r)||tD(e,"ill-formed tag handle (first argument) of the TAG directive"),PI.call(e.tagMap,r)&&tD(e,'there is a previously declared suffix for "'+r+'" tag handle'),GI.test(i)||tD(e,"ill-formed tag prefix (second argument) of the TAG directive");try{i=decodeURIComponent(i)}catch(a){tD(e,"tag prefix is malformed: "+i)}e.tagMap[r]=i}};function iD(e,t,n,r){var i,a,o,s;if(t<n){if(s=e.input.slice(t,n),r)for(i=0,a=s.length;i<a;i+=1)9===(o=s.charCodeAt(i))||32<=o&&o<=1114111||tD(e,"expected valid JSON character");else jI.test(s)&&tD(e,"the stream contains non-printable characters");e.result+=s}}function aD(e,t,n,r){var i,a,o,s;for(eI.isObject(n)||tD(e,"cannot merge mappings; the provided source object is unacceptable"),o=0,s=(i=Object.keys(n)).length;o<s;o+=1)a=i[o],PI.call(t,a)||(t[a]=n[a],r[a]=!0)}function oD(e,t,n,r,i,a,o,s,l){var c,u;if(Array.isArray(i))for(c=0,u=(i=Array.prototype.slice.call(i)).length;c<u;c+=1)Array.isArray(i[c])&&tD(e,"nested arrays are not supported inside keys"),"object"==typeof i&&"[object Object]"===zI(i[c])&&(i[c]="[object Object]");if("object"==typeof i&&"[object Object]"===zI(i)&&(i="[object Object]"),i=String(i),null===t&&(t={}),"tag:yaml.org,2002:merge"===r)if(Array.isArray(a))for(c=0,u=a.length;c<u;c+=1)aD(e,t,a[c],n);else aD(e,t,a,n);else e.json||PI.call(n,i)||!PI.call(t,i)||(e.line=o||e.line,e.lineStart=s||e.lineStart,e.position=l||e.position,tD(e,"duplicated mapping key")),"__proto__"===i?Object.defineProperty(t,i,{configurable:!0,enumerable:!0,writable:!0,value:a}):t[i]=a,delete n[i];return t}function sD(e){var t;10===(t=e.input.charCodeAt(e.position))?e.position++:13===t?(e.position++,10===e.input.charCodeAt(e.position)&&e.position++):tD(e,"a line break is expected"),e.line+=1,e.lineStart=e.position,e.firstTabInLine=-1}function lD(e,t,n){for(var r=0,i=e.input.charCodeAt(e.position);0!==i;){for(;YI(i);)9===i&&-1===e.firstTabInLine&&(e.firstTabInLine=e.position),i=e.input.charCodeAt(++e.position);if(t&&35===i)do{i=e.input.charCodeAt(++e.position)}while(10!==i&&13!==i&&0!==i);if(!$I(i))break;for(sD(e),i=e.input.charCodeAt(e.position),r++,e.lineIndent=0;32===i;)e.lineIndent++,i=e.input.charCodeAt(++e.position)}return-1!==n&&0!==r&&e.lineIndent<n&&nD(e,"deficient indentation"),r}function cD(e){var t,n=e.position;return!(45!==(t=e.input.charCodeAt(n))&&46!==t||t!==e.input.charCodeAt(n+1)||t!==e.input.charCodeAt(n+2)||(n+=3,0!==(t=e.input.charCodeAt(n))&&!qI(t)))}function uD(e,t){1===t?e.result+=" ":t>1&&(e.result+=eI.repeat("\n",t-1))}function dD(e,t){var n,r,i=e.tag,a=e.anchor,o=[],s=!1;if(-1!==e.firstTabInLine)return!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=o),r=e.input.charCodeAt(e.position);0!==r&&(-1!==e.firstTabInLine&&(e.position=e.firstTabInLine,tD(e,"tab characters must not be used in indentation")),45===r)&&qI(e.input.charCodeAt(e.position+1));)if(s=!0,e.position++,lD(e,!0,-1)&&e.lineIndent<=t)o.push(null),r=e.input.charCodeAt(e.position);else if(n=e.line,gD(e,t,3,!1,!0),o.push(e.result),lD(e,!0,-1),r=e.input.charCodeAt(e.position),(e.line===n||e.lineIndent>t)&&0!==r)tD(e,"bad indentation of a sequence entry");else if(e.lineIndent<t)break;return!!s&&(e.tag=i,e.anchor=a,e.kind="sequence",e.result=o,!0)}function hD(e){var t,n,r,i,a=!1,o=!1;if(33!==(i=e.input.charCodeAt(e.position)))return!1;if(null!==e.tag&&tD(e,"duplication of a tag property"),60===(i=e.input.charCodeAt(++e.position))?(a=!0,i=e.input.charCodeAt(++e.position)):33===i?(o=!0,n="!!",i=e.input.charCodeAt(++e.position)):n="!",t=e.position,a){do{i=e.input.charCodeAt(++e.position)}while(0!==i&&62!==i);e.position<e.length?(r=e.input.slice(t,e.position),i=e.input.charCodeAt(++e.position)):tD(e,"unexpected end of the stream within a verbatim tag")}else{for(;0!==i&&!qI(i);)33===i&&(o?tD(e,"tag suffix cannot contain exclamation marks"):(n=e.input.slice(t-1,e.position+1),UI.test(n)||tD(e,"named tag handle cannot contain such characters"),o=!0,t=e.position+1)),i=e.input.charCodeAt(++e.position);r=e.input.slice(t,e.position),BI.test(r)&&tD(e,"tag suffix cannot contain flow indicator characters")}r&&!GI.test(r)&&tD(e,"tag name cannot contain such characters: "+r);try{r=decodeURIComponent(r)}catch(s){tD(e,"tag name is malformed: "+r)}return a?e.tag=r:PI.call(e.tagMap,n)?e.tag=e.tagMap[n]+r:"!"===n?e.tag="!"+r:"!!"===n?e.tag="tag:yaml.org,2002:"+r:tD(e,'undeclared tag handle "'+n+'"'),!0}function pD(e){var t,n;if(38!==(n=e.input.charCodeAt(e.position)))return!1;for(null!==e.anchor&&tD(e,"duplication of an anchor property"),n=e.input.charCodeAt(++e.position),t=e.position;0!==n&&!qI(n)&&!HI(n);)n=e.input.charCodeAt(++e.position);return e.position===t&&tD(e,"name of an anchor node must contain at least one character"),e.anchor=e.input.slice(t,e.position),!0}function gD(e,t,n,r,i){var a,o,s,l,c,u,d,h,p,g=1,m=!1,_=!1;if(null!==e.listener&&e.listener("open",e),e.tag=null,e.anchor=null,e.kind=null,e.result=null,a=o=s=4===n||3===n,r&&lD(e,!0,-1)&&(m=!0,e.lineIndent>t?g=1:e.lineIndent===t?g=0:e.lineIndent<t&&(g=-1)),1===g)for(;hD(e)||pD(e);)lD(e,!0,-1)?(m=!0,s=a,e.lineIndent>t?g=1:e.lineIndent===t?g=0:e.lineIndent<t&&(g=-1)):s=!1;if(s&&(s=m||i),1!==g&&4!==n||(h=1===n||2===n?t:t+1,p=e.position-e.lineStart,1===g?s&&(dD(e,p)||function(e,t,n){var r,i,a,o,s,l,c,u=e.tag,d=e.anchor,h={},p=Object.create(null),g=null,m=null,_=null,b=!1,f=!1;if(-1!==e.firstTabInLine)return!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=h),c=e.input.charCodeAt(e.position);0!==c;){if(b||-1===e.firstTabInLine||(e.position=e.firstTabInLine,tD(e,"tab characters must not be used in indentation")),r=e.input.charCodeAt(e.position+1),a=e.line,63!==c&&58!==c||!qI(r)){if(o=e.line,s=e.lineStart,l=e.position,!gD(e,n,2,!1,!0))break;if(e.line===a){for(c=e.input.charCodeAt(e.position);YI(c);)c=e.input.charCodeAt(++e.position);if(58===c)qI(c=e.input.charCodeAt(++e.position))||tD(e,"a whitespace character is expected after the key-value separator within a block mapping"),b&&(oD(e,h,p,g,m,null,o,s,l),g=m=_=null),f=!0,b=!1,i=!1,g=e.tag,m=e.result;else{if(!f)return e.tag=u,e.anchor=d,!0;tD(e,"can not read an implicit mapping pair; a colon is missed")}}else{if(!f)return e.tag=u,e.anchor=d,!0;tD(e,"can not read a block mapping entry; a multiline key may not be an implicit key")}}else 63===c?(b&&(oD(e,h,p,g,m,null,o,s,l),g=m=_=null),f=!0,b=!0,i=!0):b?(b=!1,i=!0):tD(e,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),e.position+=1,c=r;if((e.line===a||e.lineIndent>t)&&(b&&(o=e.line,s=e.lineStart,l=e.position),gD(e,t,4,!0,i)&&(b?m=e.result:_=e.result),b||(oD(e,h,p,g,m,_,o,s,l),g=m=_=null),lD(e,!0,-1),c=e.input.charCodeAt(e.position)),(e.line===a||e.lineIndent>t)&&0!==c)tD(e,"bad indentation of a mapping entry");else if(e.lineIndent<t)break}return b&&oD(e,h,p,g,m,null,o,s,l),f&&(e.tag=u,e.anchor=d,e.kind="mapping",e.result=h),f}(e,p,h))||function(e,t){var n,r,i,a,o,s,l,c,u,d,h,p,g=!0,m=e.tag,_=e.anchor,b=Object.create(null);if(91===(p=e.input.charCodeAt(e.position)))o=93,c=!1,a=[];else{if(123!==p)return!1;o=125,c=!0,a={}}for(null!==e.anchor&&(e.anchorMap[e.anchor]=a),p=e.input.charCodeAt(++e.position);0!==p;){if(lD(e,!0,t),(p=e.input.charCodeAt(e.position))===o)return e.position++,e.tag=m,e.anchor=_,e.kind=c?"mapping":"sequence",e.result=a,!0;g?44===p&&tD(e,"expected the node content, but found ','"):tD(e,"missed comma between flow collection entries"),h=null,s=l=!1,63===p&&qI(e.input.charCodeAt(e.position+1))&&(s=l=!0,e.position++,lD(e,!0,t)),n=e.line,r=e.lineStart,i=e.position,gD(e,t,1,!1,!0),d=e.tag,u=e.result,lD(e,!0,t),p=e.input.charCodeAt(e.position),!l&&e.line!==n||58!==p||(s=!0,p=e.input.charCodeAt(++e.position),lD(e,!0,t),gD(e,t,1,!1,!0),h=e.result),c?oD(e,a,b,d,u,h,n,r,i):s?a.push(oD(e,null,b,d,u,h,n,r,i)):a.push(u),lD(e,!0,t),44===(p=e.input.charCodeAt(e.position))?(g=!0,p=e.input.charCodeAt(++e.position)):g=!1}tD(e,"unexpected end of the stream within a flow collection")}(e,h)?_=!0:(o&&function(e,t){var n,r,i,a,o,s=1,l=!1,c=!1,u=t,d=0,h=!1;if(124===(a=e.input.charCodeAt(e.position)))r=!1;else{if(62!==a)return!1;r=!0}for(e.kind="scalar",e.result="";0!==a;)if(43===(a=e.input.charCodeAt(++e.position))||45===a)1===s?s=43===a?3:2:tD(e,"repeat of a chomping mode identifier");else{if(!((i=48<=(o=a)&&o<=57?o-48:-1)>=0))break;0===i?tD(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):c?tD(e,"repeat of an indentation width identifier"):(u=t+i-1,c=!0)}if(YI(a)){do{a=e.input.charCodeAt(++e.position)}while(YI(a));if(35===a)do{a=e.input.charCodeAt(++e.position)}while(!$I(a)&&0!==a)}for(;0!==a;){for(sD(e),e.lineIndent=0,a=e.input.charCodeAt(e.position);(!c||e.lineIndent<u)&&32===a;)e.lineIndent++,a=e.input.charCodeAt(++e.position);if(!c&&e.lineIndent>u&&(u=e.lineIndent),$I(a))d++;else{if(e.lineIndent<u){3===s?e.result+=eI.repeat("\n",l?1+d:d):1===s&&l&&(e.result+="\n");break}for(r?YI(a)?(h=!0,e.result+=eI.repeat("\n",l?1+d:d)):h?(h=!1,e.result+=eI.repeat("\n",d+1)):0===d?l&&(e.result+=" "):e.result+=eI.repeat("\n",d):e.result+=eI.repeat("\n",l?1+d:d),l=!0,c=!0,d=0,n=e.position;!$I(a)&&0!==a;)a=e.input.charCodeAt(++e.position);iD(e,n,e.position,!1)}}return!0}(e,h)||function(e,t){var n,r,i;if(39!==(n=e.input.charCodeAt(e.position)))return!1;for(e.kind="scalar",e.result="",e.position++,r=i=e.position;0!==(n=e.input.charCodeAt(e.position));)if(39===n){if(iD(e,r,e.position,!0),39!==(n=e.input.charCodeAt(++e.position)))return!0;r=e.position,e.position++,i=e.position}else $I(n)?(iD(e,r,i,!0),uD(e,lD(e,!1,t)),r=i=e.position):e.position===e.lineStart&&cD(e)?tD(e,"unexpected end of the document within a single quoted scalar"):(e.position++,i=e.position);tD(e,"unexpected end of the stream within a single quoted scalar")}(e,h)||function(e,t){var n,r,i,a,o,s,l;if(34!==(s=e.input.charCodeAt(e.position)))return!1;for(e.kind="scalar",e.result="",e.position++,n=r=e.position;0!==(s=e.input.charCodeAt(e.position));){if(34===s)return iD(e,n,e.position,!0),e.position++,!0;if(92===s){if(iD(e,n,e.position,!0),$I(s=e.input.charCodeAt(++e.position)))lD(e,!1,t);else if(s<256&&KI[s])e.result+=XI[s],e.position++;else if((o=120===(l=s)?2:117===l?4:85===l?8:0)>0){for(i=o,a=0;i>0;i--)(o=VI(s=e.input.charCodeAt(++e.position)))>=0?a=(a<<4)+o:tD(e,"expected hexadecimal character");e.result+=QI(a),e.position++}else tD(e,"unknown escape sequence");n=r=e.position}else $I(s)?(iD(e,n,r,!0),uD(e,lD(e,!1,t)),n=r=e.position):e.position===e.lineStart&&cD(e)?tD(e,"unexpected end of the document within a double quoted scalar"):(e.position++,r=e.position)}tD(e,"unexpected end of the stream within a double quoted scalar")}(e,h)?_=!0:!function(e){var t,n,r;if(42!==(r=e.input.charCodeAt(e.position)))return!1;for(r=e.input.charCodeAt(++e.position),t=e.position;0!==r&&!qI(r)&&!HI(r);)r=e.input.charCodeAt(++e.position);return e.position===t&&tD(e,"name of an alias node must contain at least one character"),n=e.input.slice(t,e.position),PI.call(e.anchorMap,n)||tD(e,'unidentified alias "'+n+'"'),e.result=e.anchorMap[n],lD(e,!0,-1),!0}(e)?function(e,t,n){var r,i,a,o,s,l,c,u,d=e.kind,h=e.result;if(qI(u=e.input.charCodeAt(e.position))||HI(u)||35===u||38===u||42===u||33===u||124===u||62===u||39===u||34===u||37===u||64===u||96===u)return!1;if((63===u||45===u)&&(qI(r=e.input.charCodeAt(e.position+1))||n&&HI(r)))return!1;for(e.kind="scalar",e.result="",i=a=e.position,o=!1;0!==u;){if(58===u){if(qI(r=e.input.charCodeAt(e.position+1))||n&&HI(r))break}else if(35===u){if(qI(e.input.charCodeAt(e.position-1)))break}else{if(e.position===e.lineStart&&cD(e)||n&&HI(u))break;if($I(u)){if(s=e.line,l=e.lineStart,c=e.lineIndent,lD(e,!1,-1),e.lineIndent>=t){o=!0,u=e.input.charCodeAt(e.position);continue}e.position=a,e.line=s,e.lineStart=l,e.lineIndent=c;break}}o&&(iD(e,i,a,!1),uD(e,e.line-s),i=a=e.position,o=!1),YI(u)||(a=e.position+1),u=e.input.charCodeAt(++e.position)}return iD(e,i,a,!1),!!e.result||(e.kind=d,e.result=h,!1)}(e,h,1===n)&&(_=!0,null===e.tag&&(e.tag="?")):(_=!0,null===e.tag&&null===e.anchor||tD(e,"alias node should not have any properties")),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):0===g&&(_=s&&dD(e,p))),null===e.tag)null!==e.anchor&&(e.anchorMap[e.anchor]=e.result);else if("?"===e.tag){for(null!==e.result&&"scalar"!==e.kind&&tD(e,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+e.kind+'"'),l=0,c=e.implicitTypes.length;l<c;l+=1)if((d=e.implicitTypes[l]).resolve(e.result)){e.result=d.construct(e.result),e.tag=d.tag,null!==e.anchor&&(e.anchorMap[e.anchor]=e.result);break}}else if("!"!==e.tag){if(PI.call(e.typeMap[e.kind||"fallback"],e.tag))d=e.typeMap[e.kind||"fallback"][e.tag];else for(d=null,l=0,c=(u=e.typeMap.multi[e.kind||"fallback"]).length;l<c;l+=1)if(e.tag.slice(0,u[l].tag.length)===u[l].tag){d=u[l];break}d||tD(e,"unknown tag !<"+e.tag+">"),null!==e.result&&d.kind!==e.kind&&tD(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+d.kind+'", not "'+e.kind+'"'),d.resolve(e.result,e.tag)?(e.result=d.construct(e.result,e.tag),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):tD(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return null!==e.listener&&e.listener("close",e),null!==e.tag||null!==e.anchor||_}function mD(e){var t,n,r,i,a=e.position,o=!1;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);0!==(i=e.input.charCodeAt(e.position))&&(lD(e,!0,-1),i=e.input.charCodeAt(e.position),!(e.lineIndent>0||37!==i));){for(o=!0,i=e.input.charCodeAt(++e.position),t=e.position;0!==i&&!qI(i);)i=e.input.charCodeAt(++e.position);for(r=[],(n=e.input.slice(t,e.position)).length<1&&tD(e,"directive name must not be less than one character in length");0!==i;){for(;YI(i);)i=e.input.charCodeAt(++e.position);if(35===i){do{i=e.input.charCodeAt(++e.position)}while(0!==i&&!$I(i));break}if($I(i))break;for(t=e.position;0!==i&&!qI(i);)i=e.input.charCodeAt(++e.position);r.push(e.input.slice(t,e.position))}0!==i&&sD(e),PI.call(rD,n)?rD[n](e,n,r):nD(e,'unknown document directive "'+n+'"')}lD(e,!0,-1),0===e.lineIndent&&45===e.input.charCodeAt(e.position)&&45===e.input.charCodeAt(e.position+1)&&45===e.input.charCodeAt(e.position+2)?(e.position+=3,lD(e,!0,-1)):o&&tD(e,"directives end mark is expected"),gD(e,e.lineIndent-1,4,!1,!0),lD(e,!0,-1),e.checkLineBreaks&&FI.test(e.input.slice(a,e.position))&&nD(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&cD(e)?46===e.input.charCodeAt(e.position)&&(e.position+=3,lD(e,!0,-1)):e.position<e.length-1&&tD(e,"end of the stream or a document separator is expected")}function _D(e,t){t=t||{},0!==(e=String(e)).length&&(10!==e.charCodeAt(e.length-1)&&13!==e.charCodeAt(e.length-1)&&(e+="\n"),65279===e.charCodeAt(0)&&(e=e.slice(1)));var n=new JI(e,t),r=e.indexOf("\0");for(-1!==r&&(n.position=r,tD(n,"null byte is not allowed in input")),n.input+="\0";32===n.input.charCodeAt(n.position);)n.lineIndent+=1,n.position+=1;for(;n.position<n.length-1;)mD(n);return n.documents}var bD=hI,fD={loadAll:function(e,t,n){null!==t&&"object"==typeof t&&void 0===n&&(n=t,t=null);var r=_D(e,n);if("function"!=typeof t)return r;for(var i=0,a=r.length;i<a;i+=1)t(r[i])},load:function(e,t){var n=_D(e,t);if(0!==n.length){if(1===n.length)return n[0];throw new rI("expected a single document in the stream, but found more")}}}.load;const yD=/^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s;const vD=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,ED=/\s*%%.*\n/gm,SD={},TD=function(e,t){e=e.replace(yD,"").replace(vD,"").replace(ED,"\n");for(const[n,{detector:r}]of Object.entries(SD)){if(r(e,t))return n}throw new Error(`No diagram type detected for text: ${e}`)},CD=(...e)=>{for(const{id:t,detector:n,loader:r}of e)xD(t,n,r)},xD=(e,t,n)=>{SD[e]?NR.error(`Detector with key ${e} already exists`):SD[e]={detector:t,loader:n},NR.debug(`Detector with key ${e} added${n?" with loader":""}`)},kD=function(e,t,n){const{depth:r,clobber:i}=Object.assign({depth:2,clobber:!1},n);return Array.isArray(t)&&!Array.isArray(e)?(t.forEach((t=>kD(e,t,n))),e):Array.isArray(t)&&Array.isArray(e)?(t.forEach((t=>{e.includes(t)||e.push(t)})),e):void 0===e||r<=0?null!=e&&"object"==typeof e&&"object"==typeof t?Object.assign(e,t):t:(void 0!==t&&"object"==typeof e&&"object"==typeof t&&Object.keys(t).forEach((n=>{"object"!=typeof t[n]||void 0!==e[n]&&"object"!=typeof e[n]?(i||"object"!=typeof e[n]&&"object"!=typeof t[n])&&(e[n]=t[n]):(void 0===e[n]&&(e[n]=Array.isArray(t[n])?[]:{}),e[n]=kD(e[n],t[n],{depth:r-1,clobber:i}))})),e)},AD=kD,wD={curveBasis:mS,curveBasisClosed:function(e){return new _S(e)},curveBasisOpen:function(e){return new bS(e)},curveBumpX:function(e){return new dS(e,!0)},curveBumpY:function(e){return new dS(e,!1)},curveBundle:yS,curveCardinalClosed:CS,curveCardinalOpen:kS,curveCardinal:SS,curveCatmullRomClosed:RS,curveCatmullRomOpen:DS,curveCatmullRom:NS,curveLinear:aS,curveLinearClosed:function(e){return new MS(e)},curveMonotoneX:function(e){return new BS(e)},curveMonotoneY:function(e){return new US(e)},curveNatural:function(e){return new zS(e)},curveStep:function(e){return new YS(e,.5)},curveStepAfter:function(e){return new YS(e,1)},curveStepBefore:function(e){return new YS(e,0)}},ND=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,OD=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,RD=function(e,t=null){try{const n=new RegExp(`[%]{2}(?![{]${OD.source})(?=[}][%]{2}).*\n`,"ig");let r;e=e.trim().replace(n,"").replace(/'/gm,'"'),NR.debug(`Detecting diagram directive${null!==t?" type:"+t:""} based on the text:${e}`);const i=[];for(;null!==(r=ND.exec(e));)if(r.index===ND.lastIndex&&ND.lastIndex++,r&&!t||t&&r[1]&&r[1].match(t)||t&&r[2]&&r[2].match(t)){const e=r[1]?r[1]:r[2],t=r[3]?r[3].trim():r[4]?JSON.parse(r[4].trim()):null;i.push({type:e,args:t})}return 0===i.length&&i.push({type:e,args:null}),1===i.length?i[0]:i}catch(n){return NR.error(`ERROR: ${n.message} - Unable to parse directive\n ${null!==t?" type:"+t:""} based on the text:${e}`),{type:null,args:null}}};function ID(e,t){if(!e)return t;const n=`curve${e.charAt(0).toUpperCase()+e.slice(1)}`;return wD[n]||t}function DD(e,t){return e&&t?Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2)):0}function MD(e){let t="",n="";for(const r of e)void 0!==r&&(r.startsWith("color:")||r.startsWith("text-align:")?n=n+r+";":t=t+r+";");return{style:t,labelStyle:n}}let LD=0;const PD=()=>(LD++,"id-"+Math.random().toString(36).substr(2,12)+"-"+LD);const jD=e=>function(e){let t="";const n="0123456789abcdef";for(let r=0;r<e;r++)t+=n.charAt(Math.floor(16*Math.random()));return t}(e.length),FD=function(e,t){const n=t.text.replace(BR.lineBreakRegex," "),[,r]=WD(t.fontSize),i=e.append("text");i.attr("x",t.x),i.attr("y",t.y),i.style("text-anchor",t.anchor),i.style("font-family",t.fontFamily),i.style("font-size",r),i.style("font-weight",t.fontWeight),i.attr("fill",t.fill),void 0!==t.class&&i.attr("class",t.class);const a=i.append("tspan");return a.attr("x",t.x+2*t.textMargin),a.attr("fill",t.fill),a.text(n),i},BD=WC(((e,t,n)=>{if(!e)return e;if(n=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"<br/>"},n),BR.lineBreakRegex.test(e))return e;const r=e.split(" "),i=[];let a="";return r.forEach(((e,o)=>{const s=zD(`${e} `,n),l=zD(a,n);if(s>t){const{hyphenatedStrings:r,remainingWord:o}=UD(e,t,"-",n);i.push(a,...r),a=o}else l+s>=t?(i.push(a),a=e):a=[a,e].filter(Boolean).join(" ");o+1===r.length&&i.push(a)})),i.filter((e=>""!==e)).join(n.joinWith)}),((e,t,n)=>`${e}${t}${n.fontSize}${n.fontWeight}${n.fontFamily}${n.joinWith}`)),UD=WC(((e,t,n="-",r)=>{r=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},r);const i=[...e],a=[];let o="";return i.forEach(((e,s)=>{const l=`${o}${e}`;if(zD(l,r)>=t){const e=s+1,t=i.length===e,r=`${l}${n}`;a.push(t?l:r),o=""}else o=l})),{hyphenatedStrings:a,remainingWord:o}}),((e,t,n="-",r)=>`${e}${t}${n}${r.fontSize}${r.fontWeight}${r.fontFamily}`));function GD(e,t){return t=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:15},t),$D(e,t).height}function zD(e,t){return t=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial"},t),$D(e,t).width}const $D=WC(((e,t)=>{t=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial"},t);const{fontSize:n,fontFamily:r,fontWeight:i}=t;if(!e)return{width:0,height:0};const[,a]=WD(n),o=["sans-serif",r],s=e.split(BR.lineBreakRegex),l=[],c=k_("body");if(!c.remove)return{width:0,height:0,lineHeight:0};const u=c.append("svg");for(const d of o){let e=0;const t={width:0,height:0,lineHeight:0};for(const n of s){const r={x:0,y:0,fill:void 0,anchor:"start",style:"#666",width:100,height:100,textMargin:0,rx:0,ry:0,valign:void 0};r.text=n;const o=FD(u,r).style("font-size",a).style("font-weight",i).style("font-family",d),s=(o._groups||o)[0][0].getBBox();t.width=Math.round(Math.max(t.width,s.width)),e=Math.round(s.height),t.height+=e,t.lineHeight=Math.round(Math.max(t.lineHeight,e))}l.push(t)}u.remove();return l[isNaN(l[1].height)||isNaN(l[1].width)||isNaN(l[1].lineHeight)||l[0].height>l[1].height&&l[0].width>l[1].width&&l[0].lineHeight>l[1].lineHeight?0:1]}),((e,t)=>`${e}${t.fontSize}${t.fontWeight}${t.fontFamily}`));let YD;const qD=e=>{if(NR.debug("directiveSanitizer called with",e),"object"==typeof e&&(e.length?e.forEach((e=>qD(e))):Object.keys(e).forEach((t=>{NR.debug("Checking key",t),t.startsWith("__")&&(NR.debug("sanitize deleting __ option",t),delete e[t]),t.includes("proto")&&(NR.debug("sanitize deleting proto option",t),delete e[t]),t.includes("constr")&&(NR.debug("sanitize deleting constr option",t),delete e[t]),t.includes("themeCSS")&&(NR.debug("sanitizing themeCss option"),e[t]=HD(e[t])),t.includes("fontFamily")&&(NR.debug("sanitizing fontFamily option"),e[t]=HD(e[t])),t.includes("altFontFamily")&&(NR.debug("sanitizing altFontFamily option"),e[t]=HD(e[t])),XR.includes(t)?"object"==typeof e[t]&&(NR.debug("sanitize deleting object",t),qD(e[t])):(NR.debug("sanitize deleting option",t),delete e[t])}))),e.themeVariables){const t=Object.keys(e.themeVariables);for(const n of t){const t=e.themeVariables[n];t&&t.match&&!t.match(/^[\d "#%(),.;A-Za-z]+$/)&&(e.themeVariables[n]="")}}NR.debug("After sanitization",e)},HD=e=>{let t=0,n=0;for(const r of e){if(t<n)return"{ /* ERROR: Unbalanced CSS */ }";"{"===r?t++:"}"===r&&n++}return t!==n?"{ /* ERROR: Unbalanced CSS */ }":e};function VD(e){return"str"in e}const WD=e=>{if("number"==typeof e)return[e,e+"px"];const t=parseInt(e,10);return Number.isNaN(t)?[void 0,void 0]:e===String(t)?[t,e+"px"]:[t,e]},QD={assignWithDepth:AD,wrapLabel:BD,calculateTextHeight:GD,calculateTextWidth:zD,calculateTextDimensions:$D,detectInit:function(e,t){const n=RD(e,/(?:init\b)|(?:initialize\b)/);let r={};if(Array.isArray(n)){const e=n.map((e=>e.args));qD(e),r=AD(r,[...e])}else r=n.args;if(r){let n=TD(e,t);["config"].forEach((e=>{void 0!==r[e]&&("flowchart-v2"===n&&(n="flowchart"),r[n]=r[e],delete r[e])}))}return r},detectDirective:RD,isSubstringInArray:function(e,t){for(const[n,r]of t.entries())if(r.match(e))return n;return-1},interpolateToCurve:ID,calcLabelPosition:function(e){return 1===e.length?e[0]:function(e){let t,n=0;e.forEach((e=>{n+=DD(e,t),t=e}));let r,i=n/2;return t=void 0,e.forEach((e=>{if(t&&!r){const n=DD(e,t);if(n<i)i-=n;else{const a=i/n;a<=0&&(r=t),a>=1&&(r={x:e.x,y:e.y}),a>0&&a<1&&(r={x:(1-a)*t.x+a*e.x,y:(1-a)*t.y+a*e.y})}}t=e})),r}(e)},calcCardinalityPosition:(e,t,n)=>{let r;NR.info(`our points ${JSON.stringify(t)}`),t[0]!==n&&(t=t.reverse());let i,a=25;r=void 0,t.forEach((e=>{if(r&&!i){const t=DD(e,r);if(t<a)a-=t;else{const n=a/t;n<=0&&(i=r),n>=1&&(i={x:e.x,y:e.y}),n>0&&n<1&&(i={x:(1-n)*r.x+n*e.x,y:(1-n)*r.y+n*e.y})}}r=e}));const o=e?10:5,s=Math.atan2(t[0].y-i.y,t[0].x-i.x),l={x:0,y:0};return l.x=Math.sin(s)*o+(t[0].x+i.x)/2,l.y=-Math.cos(s)*o+(t[0].y+i.y)/2,l},calcTerminalLabelPosition:function(e,t,n){let r,i=JSON.parse(JSON.stringify(n));NR.info("our points",i),"start_left"!==t&&"start_right"!==t&&(i=i.reverse()),i.forEach((e=>{r=e}));let a,o=25+e;r=void 0,i.forEach((e=>{if(r&&!a){const t=DD(e,r);if(t<o)o-=t;else{const n=o/t;n<=0&&(a=r),n>=1&&(a={x:e.x,y:e.y}),n>0&&n<1&&(a={x:(1-n)*r.x+n*e.x,y:(1-n)*r.y+n*e.y})}}r=e}));const s=10+.5*e,l=Math.atan2(i[0].y-a.y,i[0].x-a.x),c={x:0,y:0};return c.x=Math.sin(l)*s+(i[0].x+a.x)/2,c.y=-Math.cos(l)*s+(i[0].y+a.y)/2,"start_left"===t&&(c.x=Math.sin(l+Math.PI)*s+(i[0].x+a.x)/2,c.y=-Math.cos(l+Math.PI)*s+(i[0].y+a.y)/2),"end_right"===t&&(c.x=Math.sin(l-Math.PI)*s+(i[0].x+a.x)/2-5,c.y=-Math.cos(l-Math.PI)*s+(i[0].y+a.y)/2-5),"end_left"===t&&(c.x=Math.sin(l)*s+(i[0].x+a.x)/2-5,c.y=-Math.cos(l)*s+(i[0].y+a.y)/2-5),c},formatUrl:function(e,t){const n=e.trim();if(n)return"loose"!==t.securityLevel?Fg.sanitizeUrl(n):n},getStylesFromArray:MD,generateId:PD,random:jD,runFunc:(e,...t)=>{const n=e.split("."),r=n.length-1,i=n[r];let a=window;for(let o=0;o<r;o++)if(a=a[n[o]],!a)return;a[i](...t)},entityDecode:function(e){return YD=YD||document.createElement("div"),e=escape(e).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),YD.innerHTML=e,unescape(YD.textContent)},initIdGenerator:class{constructor(e,t){this.deterministic=e,this.seed=t,this.count=t?t.length:0}next(){return this.deterministic?this.count++:Date.now()}},directiveSanitizer:qD,sanitizeCss:HD,insertTitle:(e,t,n,r)=>{if(!r)return;const i=e.node().getBBox();e.append("text").text(r).attr("x",i.x+i.width/2).attr("y",-n).attr("class",t)},parseFontSize:WD},KD="9.4.3",XD=Object.freeze(ZR);let ZD,JD=AD({},XD),eM=[],tM=AD({},XD);const nM=(e,t)=>{let n=AD({},e),r={};for(const i of t)oM(i),r=AD(r,i);if(n=AD(n,r),r.theme&&r.theme in WR){const e=AD({},ZD),t=AD(e.themeVariables||{},r.themeVariables);n.theme&&n.theme in WR&&(n.themeVariables=WR[n.theme].getThemeVariables(t))}return tM=n,dM(tM),tM},rM=()=>AD({},JD),iM=e=>(dM(e),AD(tM,e),aM()),aM=()=>AD({},tM),oM=e=>{["secure",...JD.secure??[]].forEach((t=>{void 0!==e[t]&&(NR.debug(`Denied attempt to modify a secure key ${t}`,e[t]),delete e[t])})),Object.keys(e).forEach((t=>{0===t.indexOf("__")&&delete e[t]})),Object.keys(e).forEach((t=>{"string"==typeof e[t]&&(e[t].includes("<")||e[t].includes(">")||e[t].includes("url(data:"))&&delete e[t],"object"==typeof e[t]&&oM(e[t])}))},sM=e=>{e.fontFamily&&(e.themeVariables&&e.themeVariables.fontFamily||(e.themeVariables={fontFamily:e.fontFamily})),eM.push(e),nM(JD,eM)},lM=(e=JD)=>{eM=[],nM(e,eM)};var cM=(e=>(e.LAZY_LOAD_DEPRECATED="The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead.",e))(cM||{});const uM={},dM=e=>{var t;e&&((e.lazyLoadedDiagrams||e.loadExternalDiagramsAtStartup)&&(uM[t="LAZY_LOAD_DEPRECATED"]||(NR.warn(cM[t]),uM[t]=!0)))},hM=function(e,t,n,r){const i=function(e,t,n){let r=new Map;return n?(r.set("width","100%"),r.set("style",`max-width: ${t}px;`)):(r.set("height",e),r.set("width",t)),r}(t,n,r);!function(e,t){for(let n of t)e.attr(n[0],n[1])}(e,i)},pM=function(e,t,n,r){const i=t.node().getBBox(),a=i.width,o=i.height;NR.info(`SVG bounds: ${a}x${o}`,i);let s=0,l=0;NR.info(`Graph bounds: ${s}x${l}`,e),s=a+2*n,l=o+2*n,NR.info(`Calculated bounds: ${s}x${l}`),hM(t,l,s,r);const c=`${i.x-n} ${i.y-n} ${i.width+2*n} ${i.height+2*n}`;t.attr("viewBox",c)},gM=e=>`g.classGroup text {\n fill: ${e.nodeBorder};\n fill: ${e.classText};\n stroke: none;\n font-family: ${e.fontFamily};\n font-size: 10px;\n\n .title {\n font-weight: bolder;\n }\n\n}\n\n.nodeLabel, .edgeLabel {\n color: ${e.classText};\n}\n.edgeLabel .label rect {\n fill: ${e.mainBkg};\n}\n.label text {\n fill: ${e.classText};\n}\n.edgeLabel .label span {\n background: ${e.mainBkg};\n}\n\n.classTitle {\n font-weight: bolder;\n}\n.node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${e.mainBkg};\n stroke: ${e.nodeBorder};\n stroke-width: 1px;\n }\n\n\n.divider {\n stroke: ${e.nodeBorder};\n stroke: 1;\n}\n\ng.clickable {\n cursor: pointer;\n}\n\ng.classGroup rect {\n fill: ${e.mainBkg};\n stroke: ${e.nodeBorder};\n}\n\ng.classGroup line {\n stroke: ${e.nodeBorder};\n stroke-width: 1;\n}\n\n.classLabel .box {\n stroke: none;\n stroke-width: 0;\n fill: ${e.mainBkg};\n opacity: 0.5;\n}\n\n.classLabel .label {\n fill: ${e.nodeBorder};\n font-size: 10px;\n}\n\n.relation {\n stroke: ${e.lineColor};\n stroke-width: 1;\n fill: none;\n}\n\n.dashed-line{\n stroke-dasharray: 3;\n}\n\n.dotted-line{\n stroke-dasharray: 1 2;\n}\n\n#compositionStart, .composition {\n fill: ${e.lineColor} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#compositionEnd, .composition {\n fill: ${e.lineColor} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#dependencyStart, .dependency {\n fill: ${e.lineColor} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#dependencyStart, .dependency {\n fill: ${e.lineColor} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#extensionStart, .extension {\n fill: ${e.mainBkg} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#extensionEnd, .extension {\n fill: ${e.mainBkg} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#aggregationStart, .aggregation {\n fill: ${e.mainBkg} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#aggregationEnd, .aggregation {\n fill: ${e.mainBkg} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#lollipopStart, .lollipop {\n fill: ${e.mainBkg} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#lollipopEnd, .lollipop {\n fill: ${e.mainBkg} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n.edgeTerminals {\n font-size: 11px;\n}\n\n.classTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${e.textColor};\n}\n`,mM=e=>`\n .entityBox {\n fill: ${e.mainBkg};\n stroke: ${e.nodeBorder};\n }\n\n .attributeBoxOdd {\n fill: ${e.attributeBackgroundColorOdd};\n stroke: ${e.nodeBorder};\n }\n\n .attributeBoxEven {\n fill: ${e.attributeBackgroundColorEven};\n stroke: ${e.nodeBorder};\n }\n\n .relationshipLabelBox {\n fill: ${e.tertiaryColor};\n opacity: 0.7;\n background-color: ${e.tertiaryColor};\n rect {\n opacity: 0.5;\n }\n }\n\n .relationshipLine {\n stroke: ${e.lineColor};\n }\n\n .entityTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${e.textColor};\n } \n`,_M=()=>"",bM=e=>`.label {\n font-family: ${e.fontFamily};\n color: ${e.nodeTextColor||e.textColor};\n }\n .cluster-label text {\n fill: ${e.titleColor};\n }\n .cluster-label span {\n color: ${e.titleColor};\n }\n\n .label text,span {\n fill: ${e.nodeTextColor||e.textColor};\n color: ${e.nodeTextColor||e.textColor};\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${e.mainBkg};\n stroke: ${e.nodeBorder};\n stroke-width: 1px;\n }\n\n .node .label {\n text-align: center;\n }\n .node.clickable {\n cursor: pointer;\n }\n\n .arrowheadPath {\n fill: ${e.arrowheadColor};\n }\n\n .edgePath .path {\n stroke: ${e.lineColor};\n stroke-width: 2.0px;\n }\n\n .flowchart-link {\n stroke: ${e.lineColor};\n fill: none;\n }\n\n .edgeLabel {\n background-color: ${e.edgeLabelBackground};\n rect {\n opacity: 0.5;\n background-color: ${e.edgeLabelBackground};\n fill: ${e.edgeLabelBackground};\n }\n text-align: center;\n }\n\n .cluster rect {\n fill: ${e.clusterBkg};\n stroke: ${e.clusterBorder};\n stroke-width: 1px;\n }\n\n .cluster text {\n fill: ${e.titleColor};\n }\n\n .cluster span {\n color: ${e.titleColor};\n }\n /* .cluster div {\n color: ${e.titleColor};\n } */\n\n div.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: ${e.fontFamily};\n font-size: 12px;\n background: ${e.tertiaryColor};\n border: 1px solid ${e.border2};\n border-radius: 2px;\n pointer-events: none;\n z-index: 100;\n }\n\n .flowchartTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${e.textColor};\n }\n`,fM=e=>`\n .mermaid-main-font {\n font-family: "trebuchet ms", verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n }\n .exclude-range {\n fill: ${e.excludeBkgColor};\n }\n\n .section {\n stroke: none;\n opacity: 0.2;\n }\n\n .section0 {\n fill: ${e.sectionBkgColor};\n }\n\n .section2 {\n fill: ${e.sectionBkgColor2};\n }\n\n .section1,\n .section3 {\n fill: ${e.altSectionBkgColor};\n opacity: 0.2;\n }\n\n .sectionTitle0 {\n fill: ${e.titleColor};\n }\n\n .sectionTitle1 {\n fill: ${e.titleColor};\n }\n\n .sectionTitle2 {\n fill: ${e.titleColor};\n }\n\n .sectionTitle3 {\n fill: ${e.titleColor};\n }\n\n .sectionTitle {\n text-anchor: start;\n // font-size: ${e.ganttFontSize};\n // text-height: 14px;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n\n }\n\n\n /* Grid and axis */\n\n .grid .tick {\n stroke: ${e.gridColor};\n opacity: 0.8;\n shape-rendering: crispEdges;\n text {\n font-family: ${e.fontFamily};\n fill: ${e.textColor};\n }\n }\n\n .grid path {\n stroke-width: 0;\n }\n\n\n /* Today line */\n\n .today {\n fill: none;\n stroke: ${e.todayLineColor};\n stroke-width: 2px;\n }\n\n\n /* Task styling */\n\n /* Default task */\n\n .task {\n stroke-width: 2;\n }\n\n .taskText {\n text-anchor: middle;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n }\n\n // .taskText:not([font-size]) {\n // font-size: ${e.ganttFontSize};\n // }\n\n .taskTextOutsideRight {\n fill: ${e.taskTextDarkColor};\n text-anchor: start;\n // font-size: ${e.ganttFontSize};\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n\n }\n\n .taskTextOutsideLeft {\n fill: ${e.taskTextDarkColor};\n text-anchor: end;\n // font-size: ${e.ganttFontSize};\n }\n\n /* Special case clickable */\n .task.clickable {\n cursor: pointer;\n }\n .taskText.clickable {\n cursor: pointer;\n fill: ${e.taskTextClickableColor} !important;\n font-weight: bold;\n }\n\n .taskTextOutsideLeft.clickable {\n cursor: pointer;\n fill: ${e.taskTextClickableColor} !important;\n font-weight: bold;\n }\n\n .taskTextOutsideRight.clickable {\n cursor: pointer;\n fill: ${e.taskTextClickableColor} !important;\n font-weight: bold;\n }\n\n /* Specific task settings for the sections*/\n\n .taskText0,\n .taskText1,\n .taskText2,\n .taskText3 {\n fill: ${e.taskTextColor};\n }\n\n .task0,\n .task1,\n .task2,\n .task3 {\n fill: ${e.taskBkgColor};\n stroke: ${e.taskBorderColor};\n }\n\n .taskTextOutside0,\n .taskTextOutside2\n {\n fill: ${e.taskTextOutsideColor};\n }\n\n .taskTextOutside1,\n .taskTextOutside3 {\n fill: ${e.taskTextOutsideColor};\n }\n\n\n /* Active task */\n\n .active0,\n .active1,\n .active2,\n .active3 {\n fill: ${e.activeTaskBkgColor};\n stroke: ${e.activeTaskBorderColor};\n }\n\n .activeText0,\n .activeText1,\n .activeText2,\n .activeText3 {\n fill: ${e.taskTextDarkColor} !important;\n }\n\n\n /* Completed task */\n\n .done0,\n .done1,\n .done2,\n .done3 {\n stroke: ${e.doneTaskBorderColor};\n fill: ${e.doneTaskBkgColor};\n stroke-width: 2;\n }\n\n .doneText0,\n .doneText1,\n .doneText2,\n .doneText3 {\n fill: ${e.taskTextDarkColor} !important;\n }\n\n\n /* Tasks on the critical line */\n\n .crit0,\n .crit1,\n .crit2,\n .crit3 {\n stroke: ${e.critBorderColor};\n fill: ${e.critBkgColor};\n stroke-width: 2;\n }\n\n .activeCrit0,\n .activeCrit1,\n .activeCrit2,\n .activeCrit3 {\n stroke: ${e.critBorderColor};\n fill: ${e.activeTaskBkgColor};\n stroke-width: 2;\n }\n\n .doneCrit0,\n .doneCrit1,\n .doneCrit2,\n .doneCrit3 {\n stroke: ${e.critBorderColor};\n fill: ${e.doneTaskBkgColor};\n stroke-width: 2;\n cursor: pointer;\n shape-rendering: crispEdges;\n }\n\n .milestone {\n transform: rotate(45deg) scale(0.8,0.8);\n }\n\n .milestoneText {\n font-style: italic;\n }\n .doneCritText0,\n .doneCritText1,\n .doneCritText2,\n .doneCritText3 {\n fill: ${e.taskTextDarkColor} !important;\n }\n\n .activeCritText0,\n .activeCritText1,\n .activeCritText2,\n .activeCritText3 {\n fill: ${e.taskTextDarkColor} !important;\n }\n\n .titleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${e.textColor} ;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n }\n`,yM=()=>"",vM=e=>`\n .pieCircle{\n stroke: ${e.pieStrokeColor};\n stroke-width : ${e.pieStrokeWidth};\n opacity : ${e.pieOpacity};\n }\n .pieTitleText {\n text-anchor: middle;\n font-size: ${e.pieTitleTextSize};\n fill: ${e.pieTitleTextColor};\n font-family: ${e.fontFamily};\n }\n .slice {\n font-family: ${e.fontFamily};\n fill: ${e.pieSectionTextColor};\n font-size:${e.pieSectionTextSize};\n // fill: white;\n }\n .legend text {\n fill: ${e.pieLegendTextColor};\n font-family: ${e.fontFamily};\n font-size: ${e.pieLegendTextSize};\n }\n`,EM=e=>`\n\n marker {\n fill: ${e.relationColor};\n stroke: ${e.relationColor};\n }\n\n marker.cross {\n stroke: ${e.lineColor};\n }\n\n svg {\n font-family: ${e.fontFamily};\n font-size: ${e.fontSize};\n }\n\n .reqBox {\n fill: ${e.requirementBackground};\n fill-opacity: 100%;\n stroke: ${e.requirementBorderColor};\n stroke-width: ${e.requirementBorderSize};\n }\n \n .reqTitle, .reqLabel{\n fill: ${e.requirementTextColor};\n }\n .reqLabelBox {\n fill: ${e.relationLabelBackground};\n fill-opacity: 100%;\n }\n\n .req-title-line {\n stroke: ${e.requirementBorderColor};\n stroke-width: ${e.requirementBorderSize};\n }\n .relationshipLine {\n stroke: ${e.relationColor};\n stroke-width: 1;\n }\n .relationshipLabel {\n fill: ${e.relationLabelColor};\n }\n\n`,SM=e=>`.actor {\n stroke: ${e.actorBorder};\n fill: ${e.actorBkg};\n }\n\n text.actor > tspan {\n fill: ${e.actorTextColor};\n stroke: none;\n }\n\n .actor-line {\n stroke: ${e.actorLineColor};\n }\n\n .messageLine0 {\n stroke-width: 1.5;\n stroke-dasharray: none;\n stroke: ${e.signalColor};\n }\n\n .messageLine1 {\n stroke-width: 1.5;\n stroke-dasharray: 2, 2;\n stroke: ${e.signalColor};\n }\n\n #arrowhead path {\n fill: ${e.signalColor};\n stroke: ${e.signalColor};\n }\n\n .sequenceNumber {\n fill: ${e.sequenceNumberColor};\n }\n\n #sequencenumber {\n fill: ${e.signalColor};\n }\n\n #crosshead path {\n fill: ${e.signalColor};\n stroke: ${e.signalColor};\n }\n\n .messageText {\n fill: ${e.signalTextColor};\n stroke: none;\n }\n\n .labelBox {\n stroke: ${e.labelBoxBorderColor};\n fill: ${e.labelBoxBkgColor};\n }\n\n .labelText, .labelText > tspan {\n fill: ${e.labelTextColor};\n stroke: none;\n }\n\n .loopText, .loopText > tspan {\n fill: ${e.loopTextColor};\n stroke: none;\n }\n\n .loopLine {\n stroke-width: 2px;\n stroke-dasharray: 2, 2;\n stroke: ${e.labelBoxBorderColor};\n fill: ${e.labelBoxBorderColor};\n }\n\n .note {\n //stroke: #decc93;\n stroke: ${e.noteBorderColor};\n fill: ${e.noteBkgColor};\n }\n\n .noteText, .noteText > tspan {\n fill: ${e.noteTextColor};\n stroke: none;\n }\n\n .activation0 {\n fill: ${e.activationBkgColor};\n stroke: ${e.activationBorderColor};\n }\n\n .activation1 {\n fill: ${e.activationBkgColor};\n stroke: ${e.activationBorderColor};\n }\n\n .activation2 {\n fill: ${e.activationBkgColor};\n stroke: ${e.activationBorderColor};\n }\n\n .actorPopupMenu {\n position: absolute;\n }\n\n .actorPopupMenuPanel {\n position: absolute;\n fill: ${e.actorBkg};\n box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);\n filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));\n}\n .actor-man line {\n stroke: ${e.actorBorder};\n fill: ${e.actorBkg};\n }\n .actor-man circle, line {\n stroke: ${e.actorBorder};\n fill: ${e.actorBkg};\n stroke-width: 2px;\n }\n`,TM=e=>`\ndefs #statediagram-barbEnd {\n fill: ${e.transitionColor};\n stroke: ${e.transitionColor};\n }\ng.stateGroup text {\n fill: ${e.nodeBorder};\n stroke: none;\n font-size: 10px;\n}\ng.stateGroup text {\n fill: ${e.textColor};\n stroke: none;\n font-size: 10px;\n\n}\ng.stateGroup .state-title {\n font-weight: bolder;\n fill: ${e.stateLabelColor};\n}\n\ng.stateGroup rect {\n fill: ${e.mainBkg};\n stroke: ${e.nodeBorder};\n}\n\ng.stateGroup line {\n stroke: ${e.lineColor};\n stroke-width: 1;\n}\n\n.transition {\n stroke: ${e.transitionColor};\n stroke-width: 1;\n fill: none;\n}\n\n.stateGroup .composit {\n fill: ${e.background};\n border-bottom: 1px\n}\n\n.stateGroup .alt-composit {\n fill: #e0e0e0;\n border-bottom: 1px\n}\n\n.state-note {\n stroke: ${e.noteBorderColor};\n fill: ${e.noteBkgColor};\n\n text {\n fill: ${e.noteTextColor};\n stroke: none;\n font-size: 10px;\n }\n}\n\n.stateLabel .box {\n stroke: none;\n stroke-width: 0;\n fill: ${e.mainBkg};\n opacity: 0.5;\n}\n\n.edgeLabel .label rect {\n fill: ${e.labelBackgroundColor};\n opacity: 0.5;\n}\n.edgeLabel .label text {\n fill: ${e.transitionLabelColor||e.tertiaryTextColor};\n}\n.label div .edgeLabel {\n color: ${e.transitionLabelColor||e.tertiaryTextColor};\n}\n\n.stateLabel text {\n fill: ${e.stateLabelColor};\n font-size: 10px;\n font-weight: bold;\n}\n\n.node circle.state-start {\n fill: ${e.specialStateColor};\n stroke: ${e.specialStateColor};\n}\n\n.node .fork-join {\n fill: ${e.specialStateColor};\n stroke: ${e.specialStateColor};\n}\n\n.node circle.state-end {\n fill: ${e.innerEndBackground};\n stroke: ${e.background};\n stroke-width: 1.5\n}\n.end-state-inner {\n fill: ${e.compositeBackground||e.background};\n // stroke: ${e.background};\n stroke-width: 1.5\n}\n\n.node rect {\n fill: ${e.stateBkg||e.mainBkg};\n stroke: ${e.stateBorder||e.nodeBorder};\n stroke-width: 1px;\n}\n.node polygon {\n fill: ${e.mainBkg};\n stroke: ${e.stateBorder||e.nodeBorder};;\n stroke-width: 1px;\n}\n#statediagram-barbEnd {\n fill: ${e.lineColor};\n}\n\n.statediagram-cluster rect {\n fill: ${e.compositeTitleBackground};\n stroke: ${e.stateBorder||e.nodeBorder};\n stroke-width: 1px;\n}\n\n.cluster-label, .nodeLabel {\n color: ${e.stateLabelColor};\n}\n\n.statediagram-cluster rect.outer {\n rx: 5px;\n ry: 5px;\n}\n.statediagram-state .divider {\n stroke: ${e.stateBorder||e.nodeBorder};\n}\n\n.statediagram-state .title-state {\n rx: 5px;\n ry: 5px;\n}\n.statediagram-cluster.statediagram-cluster .inner {\n fill: ${e.compositeBackground||e.background};\n}\n.statediagram-cluster.statediagram-cluster-alt .inner {\n fill: ${e.altBackground?e.altBackground:"#efefef"};\n}\n\n.statediagram-cluster .inner {\n rx:0;\n ry:0;\n}\n\n.statediagram-state rect.basic {\n rx: 5px;\n ry: 5px;\n}\n.statediagram-state rect.divider {\n stroke-dasharray: 10,10;\n fill: ${e.altBackground?e.altBackground:"#efefef"};\n}\n\n.note-edge {\n stroke-dasharray: 5;\n}\n\n.statediagram-note rect {\n fill: ${e.noteBkgColor};\n stroke: ${e.noteBorderColor};\n stroke-width: 1px;\n rx: 0;\n ry: 0;\n}\n.statediagram-note rect {\n fill: ${e.noteBkgColor};\n stroke: ${e.noteBorderColor};\n stroke-width: 1px;\n rx: 0;\n ry: 0;\n}\n\n.statediagram-note text {\n fill: ${e.noteTextColor};\n}\n\n.statediagram-note .nodeLabel {\n color: ${e.noteTextColor};\n}\n.statediagram .edgeLabel {\n color: red; // ${e.noteTextColor};\n}\n\n#dependencyStart, #dependencyEnd {\n fill: ${e.lineColor};\n stroke: ${e.lineColor};\n stroke-width: 1;\n}\n\n.statediagramTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${e.textColor};\n}\n`,CM=e=>`.label {\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n color: ${e.textColor};\n }\n .mouth {\n stroke: #666;\n }\n\n line {\n stroke: ${e.textColor}\n }\n\n .legend {\n fill: ${e.textColor};\n }\n\n .label text {\n fill: #333;\n }\n .label {\n color: ${e.textColor}\n }\n\n .face {\n ${e.faceColor?`fill: ${e.faceColor}`:"fill: #FFF8DC"};\n stroke: #999;\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${e.mainBkg};\n stroke: ${e.nodeBorder};\n stroke-width: 1px;\n }\n\n .node .label {\n text-align: center;\n }\n .node.clickable {\n cursor: pointer;\n }\n\n .arrowheadPath {\n fill: ${e.arrowheadColor};\n }\n\n .edgePath .path {\n stroke: ${e.lineColor};\n stroke-width: 1.5px;\n }\n\n .flowchart-link {\n stroke: ${e.lineColor};\n fill: none;\n }\n\n .edgeLabel {\n background-color: ${e.edgeLabelBackground};\n rect {\n opacity: 0.5;\n }\n text-align: center;\n }\n\n .cluster rect {\n }\n\n .cluster text {\n fill: ${e.titleColor};\n }\n\n div.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n font-size: 12px;\n background: ${e.tertiaryColor};\n border: 1px solid ${e.border2};\n border-radius: 2px;\n pointer-events: none;\n z-index: 100;\n }\n\n .task-type-0, .section-type-0 {\n ${e.fillType0?`fill: ${e.fillType0}`:""};\n }\n .task-type-1, .section-type-1 {\n ${e.fillType0?`fill: ${e.fillType1}`:""};\n }\n .task-type-2, .section-type-2 {\n ${e.fillType0?`fill: ${e.fillType2}`:""};\n }\n .task-type-3, .section-type-3 {\n ${e.fillType0?`fill: ${e.fillType3}`:""};\n }\n .task-type-4, .section-type-4 {\n ${e.fillType0?`fill: ${e.fillType4}`:""};\n }\n .task-type-5, .section-type-5 {\n ${e.fillType0?`fill: ${e.fillType5}`:""};\n }\n .task-type-6, .section-type-6 {\n ${e.fillType0?`fill: ${e.fillType6}`:""};\n }\n .task-type-7, .section-type-7 {\n ${e.fillType0?`fill: ${e.fillType7}`:""};\n }\n\n .actor-0 {\n ${e.actor0?`fill: ${e.actor0}`:""};\n }\n .actor-1 {\n ${e.actor1?`fill: ${e.actor1}`:""};\n }\n .actor-2 {\n ${e.actor2?`fill: ${e.actor2}`:""};\n }\n .actor-3 {\n ${e.actor3?`fill: ${e.actor3}`:""};\n }\n .actor-4 {\n ${e.actor4?`fill: ${e.actor4}`:""};\n }\n .actor-5 {\n ${e.actor5?`fill: ${e.actor5}`:""};\n }\n`,xM=e=>`.person {\n stroke: ${e.personBorder};\n fill: ${e.personBkg};\n }\n`,kM={flowchart:bM,"flowchart-v2":bM,sequence:SM,gantt:fM,classDiagram:gM,"classDiagram-v2":gM,class:gM,stateDiagram:TM,state:TM, +// gitGraph, +info:yM,pie:vM,er:mM,error:_M,journey:CM,requirement:EM,c4:xM},AM=(e,t,n)=>{let r="";return e in kM&&kM[e]?r=kM[e](n):NR.warn(`No theme found for ${e}`),` & {\n font-family: ${n.fontFamily};\n font-size: ${n.fontSize};\n fill: ${n.textColor}\n }\n\n /* Classes common for multiple diagrams */\n\n & .error-icon {\n fill: ${n.errorBkgColor};\n }\n & .error-text {\n fill: ${n.errorTextColor};\n stroke: ${n.errorTextColor};\n }\n\n & .edge-thickness-normal {\n stroke-width: 2px;\n }\n & .edge-thickness-thick {\n stroke-width: 3.5px\n }\n & .edge-pattern-solid {\n stroke-dasharray: 0;\n }\n\n & .edge-pattern-dashed{\n stroke-dasharray: 3;\n }\n .edge-pattern-dotted {\n stroke-dasharray: 2;\n }\n\n & .marker {\n fill: ${n.lineColor};\n stroke: ${n.lineColor};\n }\n & .marker.cross {\n stroke: ${n.lineColor};\n }\n\n & svg {\n font-family: ${n.fontFamily};\n font-size: ${n.fontSize};\n }\n\n ${r}\n\n ${t}\n`};let wM="",NM="",OM="";const RM=e=>DR(e,aM()),IM=function(){wM="",OM="",NM=""},DM=function(e){wM=RM(e).replace(/^\s+/g,"")},MM=function(){return wM||NM},LM=function(e){OM=RM(e).replace(/\n\s+/g,"\n")},PM=function(){return OM},jM=function(e){NM=RM(e)},FM=function(){return NM},BM={setAccTitle:DM,getAccTitle:MM,setDiagramTitle:jM,getDiagramTitle:FM,getAccDescription:PM,setAccDescription:LM,clear:IM},UM=Object.freeze(Object.defineProperty({__proto__:null,clear:IM,default:BM,getAccDescription:PM,getAccTitle:MM,getDiagramTitle:FM,setAccDescription:LM,setAccTitle:DM,setDiagramTitle:jM},Symbol.toStringTag,{value:"Module"}));let GM={};const zM=function(e,t,n,r){NR.debug("parseDirective is being called",t,n,r);try{if(void 0!==t)switch(t=t.trim(),n){case"open_directive":GM={};break;case"type_directive":if(!GM)throw new Error("currentDirective is undefined");GM.type=t.toLowerCase();break;case"arg_directive":if(!GM)throw new Error("currentDirective is undefined");GM.args=JSON.parse(t);break;case"close_directive":$M(e,GM,r),GM=void 0}}catch(i){NR.error(`Error while rendering sequenceDiagram directive: ${t} jison context: ${n}`),NR.error(i.message)}},$M=function(e,t,n){switch(NR.info(`Directive type=${t.type} with args:`,t.args),t.type){case"init":case"initialize":["config"].forEach((e=>{void 0!==t.args[e]&&("flowchart-v2"===n&&(n="flowchart"),t.args[n]=t.args[e],delete t.args[e])})),NR.info("sanitize in handleDirective",t.args),qD(t.args),NR.info("sanitize in handleDirective (done)",t.args),sM(t.args);break;case"wrap":case"nowrap":e&&e.setWrap&&e.setWrap("wrap"===t.type);break;case"themeCss":NR.warn("themeCss encountered");break;default:NR.warn(`Unhandled directive: source: '%%{${t.type}: ${JSON.stringify(t.args?t.args:{})}}%%`,t)}},YM=NR,qM=OR,HM=aM,VM=e=>DR(e,HM()),WM=pM,QM=(e,t,n,r)=>zM(e,t,n,r),KM={},XM=(e,t,n)=>{if(KM[e])throw new Error(`Diagram ${e} already registered.`);var r,i;KM[e]=t,n&&xD(e,n),r=e,i=t.styles,kM[r]=i,t.injectUtils&&t.injectUtils(YM,qM,HM,VM,WM,UM,QM)},ZM=e=>{if(e in KM)return KM[e];throw new Error(`Diagram ${e} not found.`)};var JM=function(){var e=function(e,t,n,r){for(n=n||{},r=e.length;r--;n[e[r]]=t);return n},t=[1,4],n=[1,7],r=[1,5],i=[1,9],a=[1,6],o=[2,6],s=[1,16],l=[6,8,14,20,22,24,25,27,29,32,37,40,50,55],c=[8,14,20,22,24,25,27,29,32,37,40],u=[8,13,14,20,22,24,25,27,29,32,37,40],d=[1,26],h=[6,8,14,50,55],p=[8,14,55],g=[1,53],m=[1,52],_=[8,14,30,33,35,38,55],b=[1,67],f=[1,68],y=[1,69],v=[8,14,33,35,42,55],E={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,directive:5,GG:6,document:7,EOF:8,":":9,DIR:10,options:11,body:12,OPT:13,NL:14,line:15,statement:16,commitStatement:17,mergeStatement:18,cherryPickStatement:19,acc_title:20,acc_title_value:21,acc_descr:22,acc_descr_value:23,acc_descr_multiline_value:24,section:25,branchStatement:26,CHECKOUT:27,ref:28,BRANCH:29,ORDER:30,NUM:31,CHERRY_PICK:32,COMMIT_ID:33,STR:34,COMMIT_TAG:35,EMPTYSTR:36,MERGE:37,COMMIT_TYPE:38,commitType:39,COMMIT:40,commit_arg:41,COMMIT_MSG:42,NORMAL:43,REVERSE:44,HIGHLIGHT:45,openDirective:46,typeDirective:47,closeDirective:48,argDirective:49,open_directive:50,type_directive:51,arg_directive:52,close_directive:53,ID:54,";":55,$accept:0,$end:1},terminals_:{2:"error",6:"GG",8:"EOF",9:":",10:"DIR",13:"OPT",14:"NL",20:"acc_title",21:"acc_title_value",22:"acc_descr",23:"acc_descr_value",24:"acc_descr_multiline_value",25:"section",27:"CHECKOUT",29:"BRANCH",30:"ORDER",31:"NUM",32:"CHERRY_PICK",33:"COMMIT_ID",34:"STR",35:"COMMIT_TAG",36:"EMPTYSTR",37:"MERGE",38:"COMMIT_TYPE",40:"COMMIT",42:"COMMIT_MSG",43:"NORMAL",44:"REVERSE",45:"HIGHLIGHT",50:"open_directive",51:"type_directive",52:"arg_directive",53:"close_directive",54:"ID",55:";"},productions_:[0,[3,2],[3,2],[3,3],[3,4],[3,5],[7,0],[7,2],[11,2],[11,1],[12,0],[12,2],[15,2],[15,1],[16,1],[16,1],[16,1],[16,2],[16,2],[16,1],[16,1],[16,1],[16,2],[26,2],[26,4],[19,3],[19,5],[19,5],[19,5],[19,5],[18,2],[18,4],[18,4],[18,4],[18,6],[18,6],[18,6],[18,6],[18,6],[18,6],[18,8],[18,8],[18,8],[18,8],[18,8],[18,8],[17,2],[17,3],[17,3],[17,5],[17,5],[17,3],[17,5],[17,5],[17,5],[17,5],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,3],[17,5],[17,5],[17,5],[17,5],[17,5],[17,5],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[41,0],[41,1],[39,1],[39,1],[39,1],[5,3],[5,5],[46,1],[47,1],[49,1],[48,1],[28,1],[28,1],[4,1],[4,1],[4,1]],performAction:function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 3:return a[s];case 4:return a[s-1];case 5:return r.setDirection(a[s-3]),a[s-1];case 7:r.setOptions(a[s-1]),this.$=a[s];break;case 8:a[s-1]+=a[s],this.$=a[s-1];break;case 10:this.$=[];break;case 11:a[s-1].push(a[s]),this.$=a[s-1];break;case 12:this.$=a[s-1];break;case 17:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 18:case 19:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 20:r.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 22:r.checkout(a[s]);break;case 23:r.branch(a[s]);break;case 24:r.branch(a[s-2],a[s]);break;case 25:r.cherryPick(a[s],"",void 0);break;case 26:r.cherryPick(a[s-2],"",a[s]);break;case 27:case 29:r.cherryPick(a[s-2],"","");break;case 28:r.cherryPick(a[s],"",a[s-2]);break;case 30:r.merge(a[s],"","","");break;case 31:r.merge(a[s-2],a[s],"","");break;case 32:r.merge(a[s-2],"",a[s],"");break;case 33:r.merge(a[s-2],"","",a[s]);break;case 34:r.merge(a[s-4],a[s],"",a[s-2]);break;case 35:r.merge(a[s-4],"",a[s],a[s-2]);break;case 36:r.merge(a[s-4],"",a[s-2],a[s]);break;case 37:r.merge(a[s-4],a[s-2],a[s],"");break;case 38:r.merge(a[s-4],a[s-2],"",a[s]);break;case 39:r.merge(a[s-4],a[s],a[s-2],"");break;case 40:r.merge(a[s-6],a[s-4],a[s-2],a[s]);break;case 41:r.merge(a[s-6],a[s],a[s-4],a[s-2]);break;case 42:r.merge(a[s-6],a[s-4],a[s],a[s-2]);break;case 43:r.merge(a[s-6],a[s-2],a[s-4],a[s]);break;case 44:r.merge(a[s-6],a[s],a[s-2],a[s-4]);break;case 45:r.merge(a[s-6],a[s-2],a[s],a[s-4]);break;case 46:r.commit(a[s]);break;case 47:r.commit("","",r.commitType.NORMAL,a[s]);break;case 48:r.commit("","",a[s],"");break;case 49:r.commit("","",a[s],a[s-2]);break;case 50:r.commit("","",a[s-2],a[s]);break;case 51:r.commit("",a[s],r.commitType.NORMAL,"");break;case 52:r.commit("",a[s-2],r.commitType.NORMAL,a[s]);break;case 53:r.commit("",a[s],r.commitType.NORMAL,a[s-2]);break;case 54:r.commit("",a[s-2],a[s],"");break;case 55:r.commit("",a[s],a[s-2],"");break;case 56:r.commit("",a[s-4],a[s-2],a[s]);break;case 57:r.commit("",a[s-4],a[s],a[s-2]);break;case 58:r.commit("",a[s-2],a[s-4],a[s]);break;case 59:r.commit("",a[s],a[s-4],a[s-2]);break;case 60:r.commit("",a[s],a[s-2],a[s-4]);break;case 61:r.commit("",a[s-2],a[s],a[s-4]);break;case 62:r.commit(a[s],"",r.commitType.NORMAL,"");break;case 63:r.commit(a[s],"",r.commitType.NORMAL,a[s-2]);break;case 64:r.commit(a[s-2],"",r.commitType.NORMAL,a[s]);break;case 65:r.commit(a[s-2],"",a[s],"");break;case 66:r.commit(a[s],"",a[s-2],"");break;case 67:r.commit(a[s],a[s-2],r.commitType.NORMAL,"");break;case 68:r.commit(a[s-2],a[s],r.commitType.NORMAL,"");break;case 69:r.commit(a[s-4],"",a[s-2],a[s]);break;case 70:r.commit(a[s-4],"",a[s],a[s-2]);break;case 71:r.commit(a[s-2],"",a[s-4],a[s]);break;case 72:r.commit(a[s],"",a[s-4],a[s-2]);break;case 73:r.commit(a[s],"",a[s-2],a[s-4]);break;case 74:r.commit(a[s-2],"",a[s],a[s-4]);break;case 75:r.commit(a[s-4],a[s],a[s-2],"");break;case 76:r.commit(a[s-4],a[s-2],a[s],"");break;case 77:r.commit(a[s-2],a[s],a[s-4],"");break;case 78:r.commit(a[s],a[s-2],a[s-4],"");break;case 79:r.commit(a[s],a[s-4],a[s-2],"");break;case 80:r.commit(a[s-2],a[s-4],a[s],"");break;case 81:r.commit(a[s-4],a[s],r.commitType.NORMAL,a[s-2]);break;case 82:r.commit(a[s-4],a[s-2],r.commitType.NORMAL,a[s]);break;case 83:r.commit(a[s-2],a[s],r.commitType.NORMAL,a[s-4]);break;case 84:r.commit(a[s],a[s-2],r.commitType.NORMAL,a[s-4]);break;case 85:r.commit(a[s],a[s-4],r.commitType.NORMAL,a[s-2]);break;case 86:r.commit(a[s-2],a[s-4],r.commitType.NORMAL,a[s]);break;case 87:r.commit(a[s-6],a[s-4],a[s-2],a[s]);break;case 88:r.commit(a[s-6],a[s-4],a[s],a[s-2]);break;case 89:r.commit(a[s-6],a[s-2],a[s-4],a[s]);break;case 90:r.commit(a[s-6],a[s],a[s-4],a[s-2]);break;case 91:r.commit(a[s-6],a[s-2],a[s],a[s-4]);break;case 92:r.commit(a[s-6],a[s],a[s-2],a[s-4]);break;case 93:r.commit(a[s-4],a[s-6],a[s-2],a[s]);break;case 94:r.commit(a[s-4],a[s-6],a[s],a[s-2]);break;case 95:r.commit(a[s-2],a[s-6],a[s-4],a[s]);break;case 96:r.commit(a[s],a[s-6],a[s-4],a[s-2]);break;case 97:r.commit(a[s-2],a[s-6],a[s],a[s-4]);break;case 98:r.commit(a[s],a[s-6],a[s-2],a[s-4]);break;case 99:r.commit(a[s],a[s-4],a[s-2],a[s-6]);break;case 100:r.commit(a[s-2],a[s-4],a[s],a[s-6]);break;case 101:r.commit(a[s],a[s-2],a[s-4],a[s-6]);break;case 102:r.commit(a[s-2],a[s],a[s-4],a[s-6]);break;case 103:r.commit(a[s-4],a[s-2],a[s],a[s-6]);break;case 104:r.commit(a[s-4],a[s],a[s-2],a[s-6]);break;case 105:r.commit(a[s-2],a[s-4],a[s-6],a[s]);break;case 106:r.commit(a[s],a[s-4],a[s-6],a[s-2]);break;case 107:r.commit(a[s-2],a[s],a[s-6],a[s-4]);break;case 108:r.commit(a[s],a[s-2],a[s-6],a[s-4]);break;case 109:r.commit(a[s-4],a[s-2],a[s-6],a[s]);break;case 110:r.commit(a[s-4],a[s],a[s-6],a[s-2]);break;case 111:this.$="";break;case 112:this.$=a[s];break;case 113:this.$=r.commitType.NORMAL;break;case 114:this.$=r.commitType.REVERSE;break;case 115:this.$=r.commitType.HIGHLIGHT;break;case 118:r.parseDirective("%%{","open_directive");break;case 119:r.parseDirective(a[s],"type_directive");break;case 120:a[s]=a[s].trim().replace(/'/g,'"'),r.parseDirective(a[s],"arg_directive");break;case 121:r.parseDirective("}%%","close_directive","gitGraph")}},table:[{3:1,4:2,5:3,6:t,8:n,14:r,46:8,50:i,55:a},{1:[3]},{3:10,4:2,5:3,6:t,8:n,14:r,46:8,50:i,55:a},{3:11,4:2,5:3,6:t,8:n,14:r,46:8,50:i,55:a},{7:12,8:o,9:[1,13],10:[1,14],11:15,14:s},e(l,[2,124]),e(l,[2,125]),e(l,[2,126]),{47:17,51:[1,18]},{51:[2,118]},{1:[2,1]},{1:[2,2]},{8:[1,19]},{7:20,8:o,11:15,14:s},{9:[1,21]},e(c,[2,10],{12:22,13:[1,23]}),e(u,[2,9]),{9:[1,25],48:24,53:d},e([9,53],[2,119]),{1:[2,3]},{8:[1,27]},{7:28,8:o,11:15,14:s},{8:[2,7],14:[1,31],15:29,16:30,17:32,18:33,19:34,20:[1,35],22:[1,36],24:[1,37],25:[1,38],26:39,27:[1,40],29:[1,44],32:[1,43],37:[1,42],40:[1,41]},e(u,[2,8]),e(h,[2,116]),{49:45,52:[1,46]},e(h,[2,121]),{1:[2,4]},{8:[1,47]},e(c,[2,11]),{4:48,8:n,14:r,55:a},e(c,[2,13]),e(p,[2,14]),e(p,[2,15]),e(p,[2,16]),{21:[1,49]},{23:[1,50]},e(p,[2,19]),e(p,[2,20]),e(p,[2,21]),{28:51,34:g,54:m},e(p,[2,111],{41:54,33:[1,57],34:[1,59],35:[1,55],38:[1,56],42:[1,58]}),{28:60,34:g,54:m},{33:[1,61],35:[1,62]},{28:63,34:g,54:m},{48:64,53:d},{53:[2,120]},{1:[2,5]},e(c,[2,12]),e(p,[2,17]),e(p,[2,18]),e(p,[2,22]),e(_,[2,122]),e(_,[2,123]),e(p,[2,46]),{34:[1,65]},{39:66,43:b,44:f,45:y},{34:[1,70]},{34:[1,71]},e(p,[2,112]),e(p,[2,30],{33:[1,72],35:[1,74],38:[1,73]}),{34:[1,75]},{34:[1,76],36:[1,77]},e(p,[2,23],{30:[1,78]}),e(h,[2,117]),e(p,[2,47],{33:[1,80],38:[1,79],42:[1,81]}),e(p,[2,48],{33:[1,83],35:[1,82],42:[1,84]}),e(v,[2,113]),e(v,[2,114]),e(v,[2,115]),e(p,[2,51],{35:[1,85],38:[1,86],42:[1,87]}),e(p,[2,62],{33:[1,90],35:[1,88],38:[1,89]}),{34:[1,91]},{39:92,43:b,44:f,45:y},{34:[1,93]},e(p,[2,25],{35:[1,94]}),{33:[1,95]},{33:[1,96]},{31:[1,97]},{39:98,43:b,44:f,45:y},{34:[1,99]},{34:[1,100]},{34:[1,101]},{34:[1,102]},{34:[1,103]},{34:[1,104]},{39:105,43:b,44:f,45:y},{34:[1,106]},{34:[1,107]},{39:108,43:b,44:f,45:y},{34:[1,109]},e(p,[2,31],{35:[1,111],38:[1,110]}),e(p,[2,32],{33:[1,113],35:[1,112]}),e(p,[2,33],{33:[1,114],38:[1,115]}),{34:[1,116],36:[1,117]},{34:[1,118]},{34:[1,119]},e(p,[2,24]),e(p,[2,49],{33:[1,120],42:[1,121]}),e(p,[2,53],{38:[1,122],42:[1,123]}),e(p,[2,63],{33:[1,125],38:[1,124]}),e(p,[2,50],{33:[1,126],42:[1,127]}),e(p,[2,55],{35:[1,128],42:[1,129]}),e(p,[2,66],{33:[1,131],35:[1,130]}),e(p,[2,52],{38:[1,132],42:[1,133]}),e(p,[2,54],{35:[1,134],42:[1,135]}),e(p,[2,67],{35:[1,137],38:[1,136]}),e(p,[2,64],{33:[1,139],38:[1,138]}),e(p,[2,65],{33:[1,141],35:[1,140]}),e(p,[2,68],{35:[1,143],38:[1,142]}),{39:144,43:b,44:f,45:y},{34:[1,145]},{34:[1,146]},{34:[1,147]},{34:[1,148]},{39:149,43:b,44:f,45:y},e(p,[2,26]),e(p,[2,27]),e(p,[2,28]),e(p,[2,29]),{34:[1,150]},{34:[1,151]},{39:152,43:b,44:f,45:y},{34:[1,153]},{39:154,43:b,44:f,45:y},{34:[1,155]},{34:[1,156]},{34:[1,157]},{34:[1,158]},{34:[1,159]},{34:[1,160]},{34:[1,161]},{39:162,43:b,44:f,45:y},{34:[1,163]},{34:[1,164]},{34:[1,165]},{39:166,43:b,44:f,45:y},{34:[1,167]},{39:168,43:b,44:f,45:y},{34:[1,169]},{34:[1,170]},{34:[1,171]},{39:172,43:b,44:f,45:y},{34:[1,173]},e(p,[2,37],{35:[1,174]}),e(p,[2,38],{38:[1,175]}),e(p,[2,36],{33:[1,176]}),e(p,[2,39],{35:[1,177]}),e(p,[2,34],{38:[1,178]}),e(p,[2,35],{33:[1,179]}),e(p,[2,60],{42:[1,180]}),e(p,[2,73],{33:[1,181]}),e(p,[2,61],{42:[1,182]}),e(p,[2,84],{38:[1,183]}),e(p,[2,74],{33:[1,184]}),e(p,[2,83],{38:[1,185]}),e(p,[2,59],{42:[1,186]}),e(p,[2,72],{33:[1,187]}),e(p,[2,58],{42:[1,188]}),e(p,[2,78],{35:[1,189]}),e(p,[2,71],{33:[1,190]}),e(p,[2,77],{35:[1,191]}),e(p,[2,57],{42:[1,192]}),e(p,[2,85],{38:[1,193]}),e(p,[2,56],{42:[1,194]}),e(p,[2,79],{35:[1,195]}),e(p,[2,80],{35:[1,196]}),e(p,[2,86],{38:[1,197]}),e(p,[2,70],{33:[1,198]}),e(p,[2,81],{38:[1,199]}),e(p,[2,69],{33:[1,200]}),e(p,[2,75],{35:[1,201]}),e(p,[2,76],{35:[1,202]}),e(p,[2,82],{38:[1,203]}),{34:[1,204]},{39:205,43:b,44:f,45:y},{34:[1,206]},{34:[1,207]},{39:208,43:b,44:f,45:y},{34:[1,209]},{34:[1,210]},{34:[1,211]},{34:[1,212]},{39:213,43:b,44:f,45:y},{34:[1,214]},{39:215,43:b,44:f,45:y},{34:[1,216]},{34:[1,217]},{34:[1,218]},{34:[1,219]},{34:[1,220]},{34:[1,221]},{34:[1,222]},{39:223,43:b,44:f,45:y},{34:[1,224]},{34:[1,225]},{34:[1,226]},{39:227,43:b,44:f,45:y},{34:[1,228]},{39:229,43:b,44:f,45:y},{34:[1,230]},{34:[1,231]},{34:[1,232]},{39:233,43:b,44:f,45:y},e(p,[2,40]),e(p,[2,42]),e(p,[2,41]),e(p,[2,43]),e(p,[2,45]),e(p,[2,44]),e(p,[2,101]),e(p,[2,102]),e(p,[2,99]),e(p,[2,100]),e(p,[2,104]),e(p,[2,103]),e(p,[2,108]),e(p,[2,107]),e(p,[2,106]),e(p,[2,105]),e(p,[2,110]),e(p,[2,109]),e(p,[2,98]),e(p,[2,97]),e(p,[2,96]),e(p,[2,95]),e(p,[2,93]),e(p,[2,94]),e(p,[2,92]),e(p,[2,91]),e(p,[2,90]),e(p,[2,89]),e(p,[2,87]),e(p,[2,88])],defaultActions:{9:[2,118],10:[2,1],11:[2,2],19:[2,3],27:[2,4],46:[2,120],47:[2,5]},parseError:function(e,t){if(!t.recoverable){var n=new Error(e);throw n.hash=t,n}this.trace(e)},parse:function(e){var t=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",l=0,c=0,u=a.slice.call(arguments,1),d=Object.create(this.lexer),h={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(h.yy[p]=this.yy[p]);d.setInput(e,h.yy),h.yy.lexer=d,h.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var g=d.yylloc;a.push(g);var m=d.options&&d.options.ranges;"function"==typeof h.yy.parseError?this.parseError=h.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var _,b,f,y,v,E,S,T,C,x={};;){if(b=n[n.length-1],this.defaultActions[b]?f=this.defaultActions[b]:(null==_&&(C=void 0,"number"!=typeof(C=r.pop()||d.lex()||1)&&(C instanceof Array&&(C=(r=C).pop()),C=t.symbols_[C]||C),_=C),f=o[b]&&o[b][_]),void 0===f||!f.length||!f[0]){var k="";for(v in T=[],o[b])this.terminals_[v]&&v>2&&T.push("'"+this.terminals_[v]+"'");k=d.showPosition?"Parse error on line "+(l+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==_?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(k,{text:d.match,token:this.terminals_[_]||_,line:d.yylineno,loc:g,expected:T})}if(f[0]instanceof Array&&f.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+_);switch(f[0]){case 1:n.push(_),i.push(d.yytext),a.push(d.yylloc),n.push(f[1]),_=null,c=d.yyleng,s=d.yytext,l=d.yylineno,g=d.yylloc;break;case 2:if(E=this.productions_[f[1]][1],x.$=i[i.length-E],x._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},m&&(x._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),void 0!==(y=this.performAction.apply(x,[s,c,l,h.yy,f[1],i,a].concat(u))))return y;E&&(n=n.slice(0,-1*E*2),i=i.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[f[1]][0]),i.push(x.$),a.push(x._$),S=o[n[n.length-2]][n[n.length-1]],n.push(S);break;case 3:return!0}}return!0}},S=function(){var e={EOF:1,parseError:function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)}, +// resets the lexer, sets new input +setInput:function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this}, +// consumes and returns one char from the input +input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e}, +// unshifts one char (or a string) into the input +unput:function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this}, +// When called from action, caches matched text and appends it on next action +more:function(){return this._more=!0,this}, +// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead. +reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})}, +// retain first n characters of the match +less:function(e){this.unput(this.match.slice(e))}, +// displays already matched input, i.e. for error messages +pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")}, +// displays upcoming input, i.e. for error messages +upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")}, +// displays the character position where the lexing error occurred, i.e. for error messages +showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"}, +// test the lexed token: return FALSE when not a match, otherwise return token +test_match:function(e,t){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1}, +// return next match in input +next:function(){if(this.done)return this.EOF;var e,t,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!t||n[0].length>t[0].length)){if(t=n,r=a,this.options.backtrack_lexer){if(!1!==(e=this.test_match(n,i[a])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,i[r]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})}, +// return next match that has a token +lex:function(){var e=this.next();return e||this.lex()}, +// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack) +begin:function(e){this.conditionStack.push(e)}, +// pop the previously active lexer condition state off the condition stack +popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]}, +// produce the lexer rule set which is active for the currently active lexer condition state +_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules}, +// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available +topState:function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"}, +// alias for begin(condition) +pushState:function(e){this.begin(e)}, +// return the number of states currently on the stack +stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(e,t,n,r){switch(n){case 0:return this.begin("open_directive"),50;case 1:return this.begin("type_directive"),51;case 2:return this.popState(),this.begin("arg_directive"),9;case 3:return this.popState(),this.popState(),53;case 4:return 52;case 5:return this.begin("acc_title"),20;case 6:return this.popState(),"acc_title_value";case 7:return this.begin("acc_descr"),22;case 8:return this.popState(),"acc_descr_value";case 9:this.begin("acc_descr_multiline");break;case 10:case 34:case 38:this.popState();break;case 11:return"acc_descr_multiline_value";case 12:return 14;case 13:case 14:break;case 15:return 6;case 16:return 40;case 17:return 33;case 18:return 38;case 19:return 42;case 20:return 43;case 21:return 44;case 22:return 45;case 23:return 35;case 24:return 29;case 25:return 30;case 26:return 37;case 27:return 32;case 28:return 27;case 29:case 30:return 10;case 31:return 9;case 32:return"CARET";case 33:this.begin("options");break;case 35:return 13;case 36:return 36;case 37:this.begin("string");break;case 39:return 34;case 40:return 31;case 41:return 54;case 42:return 8}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:(\r?\n)+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:gitGraph\b)/i,/^(?:commit(?=\s|$))/i,/^(?:id:)/i,/^(?:type:)/i,/^(?:msg:)/i,/^(?:NORMAL\b)/i,/^(?:REVERSE\b)/i,/^(?:HIGHLIGHT\b)/i,/^(?:tag:)/i,/^(?:branch(?=\s|$))/i,/^(?:order:)/i,/^(?:merge(?=\s|$))/i,/^(?:cherry-pick(?=\s|$))/i,/^(?:checkout(?=\s|$))/i,/^(?:LR\b)/i,/^(?:BT\b)/i,/^(?::)/i,/^(?:\^)/i,/^(?:options\r?\n)/i,/^(?:[ \r\n\t]+end\b)/i,/^(?:[\s\S]+(?=[ \r\n\t]+end))/i,/^(?:["]["])/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[0-9]+(?=\s|$))/i,/^(?:\w([-\./\w]*[-\w])?)/i,/^(?:$)/i,/^(?:\s+)/i],conditions:{acc_descr_multiline:{rules:[10,11],inclusive:!1},acc_descr:{rules:[8],inclusive:!1},acc_title:{rules:[6],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},options:{rules:[34,35],inclusive:!1},string:{rules:[38,39],inclusive:!1},INITIAL:{rules:[0,5,7,9,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,36,37,40,41,42,43],inclusive:!0}}};return e}();function T(){this.yy={}}return E.lexer=S,T.prototype=E,E.Parser=T,new T}();JM.parser=JM;const eL=JM,tL=e=>null!==e.match(/^\s*gitGraph/);let nL=aM().gitGraph.mainBranchName,rL=aM().gitGraph.mainBranchOrder,iL={},aL=null,oL={};oL[nL]={name:nL,order:rL};let sL={};sL[nL]=aL;let lL=nL,cL="LR",uL=0;function dL(){return jD({length:7})}let hL={};const pL=function(e){if(e=BR.sanitizeText(e,aM()),void 0===sL[e]){let t=new Error('Trying to checkout branch which is not yet created. (Help try using "branch '+e+'")');throw t.hash={text:"checkout "+e,token:"checkout "+e,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"branch '+e+'"']},t}{lL=e;const t=sL[lL];aL=iL[t]}};function gL(e,t,n){const r=e.indexOf(t);-1===r?e.push(n):e.splice(r,1,n)}function mL(e){const t=e.reduce(((e,t)=>e.seq>t.seq?e:t),e[0]);let n="";e.forEach((function(e){n+=e===t?"\t*":"\t|"}));const r=[n,t.id,t.seq];for(let i in sL)sL[i]===t.id&&r.push(i);if(NR.debug(r.join(" ")),t.parents&&2==t.parents.length){const n=iL[t.parents[0]];gL(e,t,n),e.push(iL[t.parents[1]])}else{if(0==t.parents.length)return;{const n=iL[t.parents];gL(e,t,n)}}mL(e=function(e,t){const n=Object.create(null);return e.reduce(((e,r)=>{const i=t(r);return n[i]||(n[i]=!0,e.push(r)),e}),[])}(e,(e=>e.id)))}const _L=function(){const e=Object.keys(iL).map((function(e){return iL[e]}));return e.forEach((function(e){NR.debug(e.id)})),e.sort(((e,t)=>e.seq-t.seq)),e},bL={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},fL={parseDirective:function(e,t,n){cY.parseDirective(this,e,t,n)},getConfig:()=>aM().gitGraph,setDirection:function(e){cL=e},setOptions:function(e){NR.debug("options str",e),e=(e=e&&e.trim())||"{}";try{hL=JSON.parse(e)}catch(fR){NR.error("error while parsing gitGraph options",fR.message)}},getOptions:function(){return hL},commit:function(e,t,n,r){NR.debug("Entering commit:",e,t,n,r),t=BR.sanitizeText(t,aM()),e=BR.sanitizeText(e,aM()),r=BR.sanitizeText(r,aM());const i={id:t||uL+"-"+dL(),message:e,seq:uL++,type:n||bL.NORMAL,tag:r||"",parents:null==aL?[]:[aL.id],branch:lL};aL=i,iL[i.id]=i,sL[lL]=i.id,NR.debug("in pushCommit "+i.id)},branch:function(e,t){if(e=BR.sanitizeText(e,aM()),void 0!==sL[e]){let t=new Error('Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout '+e+'")');throw t.hash={text:"branch "+e,token:"branch "+e,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"checkout '+e+'"']},t}sL[e]=null!=aL?aL.id:null,oL[e]={name:e,order:t?parseInt(t,10):null},pL(e),NR.debug("in createBranch")},merge:function(e,t,n,r){e=BR.sanitizeText(e,aM()),t=BR.sanitizeText(t,aM());const i=iL[sL[lL]],a=iL[sL[e]];if(lL===e){let t=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw t.hash={text:"merge "+e,token:"merge "+e,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch abc"]},t}if(void 0===i||!i){let t=new Error('Incorrect usage of "merge". Current branch ('+lL+")has no commits");throw t.hash={text:"merge "+e,token:"merge "+e,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["commit"]},t}if(void 0===sL[e]){let t=new Error('Incorrect usage of "merge". Branch to be merged ('+e+") does not exist");throw t.hash={text:"merge "+e,token:"merge "+e,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch "+e]},t}if(void 0===a||!a){let t=new Error('Incorrect usage of "merge". Branch to be merged ('+e+") has no commits");throw t.hash={text:"merge "+e,token:"merge "+e,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"commit"']},t}if(i===a){let t=new Error('Incorrect usage of "merge". Both branches have same head');throw t.hash={text:"merge "+e,token:"merge "+e,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch abc"]},t}if(t&&void 0!==iL[t]){let i=new Error('Incorrect usage of "merge". Commit with id:'+t+" already exists, use different custom Id");throw i.hash={text:"merge "+e+t+n+r,token:"merge "+e+t+n+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["merge "+e+" "+t+"_UNIQUE "+n+" "+r]},i}const o={id:t||uL+"-"+dL(),message:"merged branch "+e+" into "+lL,seq:uL++,parents:[null==aL?null:aL.id,sL[e]],branch:lL,type:bL.MERGE,customType:n,customId:!!t,tag:r||""};aL=o,iL[o.id]=o,sL[lL]=o.id,NR.debug(sL),NR.debug("in mergeBranch")},cherryPick:function(e,t,n){if(NR.debug("Entering cherryPick:",e,t,n),e=BR.sanitizeText(e,aM()),t=BR.sanitizeText(t,aM()),n=BR.sanitizeText(n,aM()),!e||void 0===iL[e]){let n=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw n.hash={text:"cherryPick "+e+" "+t,token:"cherryPick "+e+" "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},n}let r=iL[e],i=r.branch;if(r.type===bL.MERGE){let n=new Error('Incorrect usage of "cherryPick". Source commit should not be a merge commit');throw n.hash={text:"cherryPick "+e+" "+t,token:"cherryPick "+e+" "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},n}if(!t||void 0===iL[t]){if(i===lL){let n=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw n.hash={text:"cherryPick "+e+" "+t,token:"cherryPick "+e+" "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},n}const a=iL[sL[lL]];if(void 0===a||!a){let n=new Error('Incorrect usage of "cherry-pick". Current branch ('+lL+")has no commits");throw n.hash={text:"cherryPick "+e+" "+t,token:"cherryPick "+e+" "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},n}const o={id:uL+"-"+dL(),message:"cherry-picked "+r+" into "+lL,seq:uL++,parents:[null==aL?null:aL.id,r.id],branch:lL,type:bL.CHERRY_PICK,tag:n??"cherry-pick:"+r.id};aL=o,iL[o.id]=o,sL[lL]=o.id,NR.debug(sL),NR.debug("in cherryPick")}},checkout:pL, +//reset, +prettyPrint:function(){NR.debug(iL);mL([_L()[0]])},clear:function(){iL={},aL=null;let e=aM().gitGraph.mainBranchName,t=aM().gitGraph.mainBranchOrder;sL={},sL[e]=null,oL={},oL[e]={name:e,order:t},lL=e,uL=0,IM()},getBranchesAsObjArray:function(){const e=Object.values(oL).map(((e,t)=>null!==e.order?e:{...e,order:parseFloat(`0.${t}`,10)})).sort(((e,t)=>e.order-t.order)).map((({name:e})=>({name:e})));return e},getBranches:function(){return sL},getCommits:function(){return iL},getCommitsArray:_L,getCurrentBranch:function(){return lL},getDirection:function(){return cL},getHead:function(){return aL},setAccTitle:DM,getAccTitle:MM,getAccDescription:PM,setAccDescription:LM,setDiagramTitle:jM,getDiagramTitle:FM,commitType:bL};let yL={};const vL=0,EL=1,SL=2,TL=3,CL=4;let xL={},kL={},AL=[],wL=0;const NL=(e,t,n)=>{const r=HM().gitGraph,i=e.append("g").attr("class","commit-bullets"),a=e.append("g").attr("class","commit-labels");let o=0;Object.keys(t).sort(((e,n)=>t[e].seq-t[n].seq)).forEach((e=>{const s=t[e],l=xL[s.branch].pos,c=o+10;if(n){let e,t=void 0!==s.customType&&""!==s.customType?s.customType:s.type;switch(t){case vL:e="commit-normal";break;case EL:e="commit-reverse";break;case SL:e="commit-highlight";break;case TL:e="commit-merge";break;case CL:e="commit-cherry-pick";break;default:e="commit-normal"}if(t===SL){const t=i.append("rect");t.attr("x",c-10),t.attr("y",l-10),t.attr("height",20),t.attr("width",20),t.attr("class",`commit ${s.id} commit-highlight${xL[s.branch].index%8} ${e}-outer`),i.append("rect").attr("x",c-6).attr("y",l-6).attr("height",12).attr("width",12).attr("class",`commit ${s.id} commit${xL[s.branch].index%8} ${e}-inner`)}else if(t===CL)i.append("circle").attr("cx",c).attr("cy",l).attr("r",10).attr("class",`commit ${s.id} ${e}`),i.append("circle").attr("cx",c-3).attr("cy",l+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${s.id} ${e}`),i.append("circle").attr("cx",c+3).attr("cy",l+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${s.id} ${e}`),i.append("line").attr("x1",c+3).attr("y1",l+1).attr("x2",c).attr("y2",l-5).attr("stroke","#fff").attr("class",`commit ${s.id} ${e}`),i.append("line").attr("x1",c-3).attr("y1",l+1).attr("x2",c).attr("y2",l-5).attr("stroke","#fff").attr("class",`commit ${s.id} ${e}`);else{const n=i.append("circle");if(n.attr("cx",c),n.attr("cy",l),n.attr("r",s.type===TL?9:10),n.attr("class",`commit ${s.id} commit${xL[s.branch].index%8}`),t===TL){const t=i.append("circle");t.attr("cx",c),t.attr("cy",l),t.attr("r",6),t.attr("class",`commit ${e} ${s.id} commit${xL[s.branch].index%8}`)}if(t===EL){i.append("path").attr("d",`M ${c-5},${l-5}L${c+5},${l+5}M${c-5},${l+5}L${c+5},${l-5}`).attr("class",`commit ${e} ${s.id} commit${xL[s.branch].index%8}`)}}}if(kL[s.id]={x:o+10,y:l},n){const e=4,t=2;if(s.type!==CL&&(s.customId&&s.type===TL||s.type!==TL)&&r.showCommitLabel){const e=a.append("g"),n=e.insert("rect").attr("class","commit-label-bkg"),i=e.append("text").attr("x",o).attr("y",l+25).attr("class","commit-label").text(s.id);let c=i.node().getBBox();if(n.attr("x",o+10-c.width/2-t).attr("y",l+13.5).attr("width",c.width+2*t).attr("height",c.height+2*t),i.attr("x",o+10-c.width/2),r.rotateCommitLabel){let t=-7.5-(c.width+10)/25*9.5,n=10+c.width/25*8.5;e.attr("transform","translate("+t+", "+n+") rotate(-45, "+o+", "+l+")")}}if(s.tag){const n=a.insert("polygon"),r=a.append("circle"),i=a.append("text").attr("y",l-16).attr("class","tag-label").text(s.tag);let c=i.node().getBBox();i.attr("x",o+10-c.width/2);const u=c.height/2,d=l-19.2;n.attr("class","tag-label-bkg").attr("points",`\n ${o-c.width/2-e/2},${d+t}\n ${o-c.width/2-e/2},${d-t}\n ${o+10-c.width/2-e},${d-u-t}\n ${o+10+c.width/2+e},${d-u-t}\n ${o+10+c.width/2+e},${d+u+t}\n ${o+10-c.width/2-e},${d+u+t}`),r.attr("cx",o-c.width/2+e/2).attr("cy",d).attr("r",1.5).attr("class","tag-hole")}}o+=50,o>wL&&(wL=o)}))},OL=(e,t,n=0)=>{const r=e+Math.abs(e-t)/2;if(n>5)return r;if(AL.every((e=>Math.abs(e-r)>=10)))return AL.push(r),r;const i=Math.abs(e-t);return OL(e,t-i/5,n+1)},RL=(e,t,n,r)=>{const i=kL[t.id],a=kL[n.id],o=((e,t,n)=>Object.keys(n).filter((r=>n[r].branch===t.branch&&n[r].seq>e.seq&&n[r].seq<t.seq)).length>0)(t,n,r);let s,l="",c="",u=0,d=0,h=xL[n.branch].index;if(o){l="A 10 10, 0, 0, 0,",c="A 10 10, 0, 0, 1,",u=10,d=10,h=xL[n.branch].index;const e=i.y<a.y?OL(i.y,a.y):OL(a.y,i.y);s=i.y<a.y?`M ${i.x} ${i.y} L ${i.x} ${e-u} ${l} ${i.x+d} ${e} L ${a.x-u} ${e} ${c} ${a.x} ${e+d} L ${a.x} ${a.y}`:`M ${i.x} ${i.y} L ${i.x} ${e+u} ${c} ${i.x+d} ${e} L ${a.x-u} ${e} ${l} ${a.x} ${e-d} L ${a.x} ${a.y}`}else i.y<a.y&&(l="A 20 20, 0, 0, 0,",u=20,d=20,h=xL[n.branch].index,s=`M ${i.x} ${i.y} L ${i.x} ${a.y-u} ${l} ${i.x+d} ${a.y} L ${a.x} ${a.y}`),i.y>a.y&&(l="A 20 20, 0, 0, 0,",u=20,d=20,h=xL[t.branch].index,s=`M ${i.x} ${i.y} L ${a.x-u} ${i.y} ${l} ${a.x} ${i.y-d} L ${a.x} ${a.y}`),i.y===a.y&&(h=xL[t.branch].index,s=`M ${i.x} ${i.y} L ${i.x} ${a.y-u} ${l} ${i.x+d} ${a.y} L ${a.x} ${a.y}`);e.append("path").attr("d",s).attr("class","arrow arrow"+h%8)},IL=(e,t)=>{const n=HM().gitGraph,r=e.append("g");t.forEach(((e,t)=>{const i=t%8,a=xL[e.name].pos,o=r.append("line");o.attr("x1",0),o.attr("y1",a),o.attr("x2",wL),o.attr("y2",a),o.attr("class","branch branch"+i),AL.push(a);const s=(e=>{const t=document.createElementNS("http://www.w3.org/2000/svg","text");let n=[];n="string"==typeof e?e.split(/\\n|\n|<br\s*\/?>/gi):Array.isArray(e)?e:[];for(const r of n){const e=document.createElementNS("http://www.w3.org/2000/svg","tspan");e.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),e.setAttribute("dy","1em"),e.setAttribute("x","0"),e.setAttribute("class","row"),e.textContent=r.trim(),t.appendChild(e)}return t})(e.name),l=r.insert("rect"),c=r.insert("g").attr("class","branchLabel").insert("g").attr("class","label branch-label"+i);c.node().appendChild(s);let u=s.getBBox();l.attr("class","branchLabelBkg label"+i).attr("rx",4).attr("ry",4).attr("x",-u.width-4-(!0===n.rotateCommitLabel?30:0)).attr("y",-u.height/2+8).attr("width",u.width+18).attr("height",u.height+4),c.attr("transform","translate("+(-u.width-14-(!0===n.rotateCommitLabel?30:0))+", "+(a-u.height/2-1)+")"),l.attr("transform","translate(-19, "+(a-u.height/2)+")")}))},DL={draw:function(e,t,n,r){xL={},kL={},yL={},wL=0,AL=[];const i=HM(),a=i.gitGraph;NR.debug("in gitgraph renderer",e+"\n","id:",t,n),yL=r.db.getCommits();const o=r.db.getBranchesAsObjArray();let s=0;o.forEach(((e,t)=>{xL[e.name]={pos:s,index:t},s+=50+(a.rotateCommitLabel?40:0)}));const l=k_(`[id="${t}"]`);NL(l,yL,!1),a.showBranches&&IL(l,o),((e,t)=>{const n=e.append("g").attr("class","commit-arrows");Object.keys(t).forEach((e=>{const r=t[e];r.parents&&r.parents.length>0&&r.parents.forEach((e=>{RL(n,t[e],r,t)}))}))})(l,yL),NL(l,yL,!0),QD.insertTitle(l,"gitTitleText",a.titleTopMargin,r.db.getDiagramTitle()),WM(void 0,l,a.diagramPadding,a.useMaxWidth??i.useMaxWidth)}},ML=e=>`\n .commit-id,\n .commit-msg,\n .branch-label {\n fill: lightgrey;\n color: lightgrey;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n }\n ${[0,1,2,3,4,5,6,7].map((t=>`\n .branch-label${t} { fill: ${e["gitBranchLabel"+t]}; }\n .commit${t} { stroke: ${e["git"+t]}; fill: ${e["git"+t]}; }\n .commit-highlight${t} { stroke: ${e["gitInv"+t]}; fill: ${e["gitInv"+t]}; }\n .label${t} { fill: ${e["git"+t]}; }\n .arrow${t} { stroke: ${e["git"+t]}; }\n `)).join("\n")}\n\n .branch {\n stroke-width: 1;\n stroke: ${e.lineColor};\n stroke-dasharray: 2;\n }\n .commit-label { font-size: ${e.commitLabelFontSize}; fill: ${e.commitLabelColor};}\n .commit-label-bkg { font-size: ${e.commitLabelFontSize}; fill: ${e.commitLabelBackground}; opacity: 0.5; }\n .tag-label { font-size: ${e.tagLabelFontSize}; fill: ${e.tagLabelColor};}\n .tag-label-bkg { fill: ${e.tagLabelBackground}; stroke: ${e.tagLabelBorder}; }\n .tag-hole { fill: ${e.textColor}; }\n\n .commit-merge {\n stroke: ${e.primaryColor};\n fill: ${e.primaryColor};\n }\n .commit-reverse {\n stroke: ${e.primaryColor};\n fill: ${e.primaryColor};\n stroke-width: 3;\n }\n .commit-highlight-outer {\n }\n .commit-highlight-inner {\n stroke: ${e.primaryColor};\n fill: ${e.primaryColor};\n }\n\n .arrow { stroke-width: 8; stroke-linecap: round; fill: none}\n .gitTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${e.textColor};\n }\n }\n`;var LL=function(){var e=function(e,t,n,r){for(n=n||{},r=e.length;r--;n[e[r]]=t);return n},t=[1,6],n=[1,7],r=[1,8],i=[1,9],a=[1,16],o=[1,11],s=[1,12],l=[1,13],u=[1,14],d=[1,15],h=[1,27],p=[1,33],g=[1,34],m=[1,35],_=[1,36],b=[1,37],f=[1,72],y=[1,73],v=[1,74],E=[1,75],S=[1,76],T=[1,77],C=[1,78],x=[1,38],k=[1,39],A=[1,40],w=[1,41],N=[1,42],O=[1,43],R=[1,44],I=[1,45],D=[1,46],M=[1,47],L=[1,48],P=[1,49],j=[1,50],F=[1,51],B=[1,52],U=[1,53],G=[1,54],z=[1,55],$=[1,56],Y=[1,57],q=[1,59],H=[1,60],V=[1,61],W=[1,62],Q=[1,63],K=[1,64],X=[1,65],Z=[1,66],J=[1,67],ee=[1,68],te=[1,69],ne=[24,52],re=[24,44,46,47,48,49,50,51,52,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84],ie=[15,24,44,46,47,48,49,50,51,52,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84],ae=[1,94],oe=[1,95],se=[1,96],le=[1,97],ce=[15,24,52],ue=[7,8,9,10,18,22,25,26,27,28],de=[15,24,43,52],he=[15,24,43,52,86,87,89,90],pe=[15,43],ge=[44,46,47,48,49,50,51,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84],me={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,directive:6,direction_tb:7,direction_bt:8,direction_rl:9,direction_lr:10,graphConfig:11,openDirective:12,typeDirective:13,closeDirective:14,NEWLINE:15,":":16,argDirective:17,open_directive:18,type_directive:19,arg_directive:20,close_directive:21,C4_CONTEXT:22,statements:23,EOF:24,C4_CONTAINER:25,C4_COMPONENT:26,C4_DYNAMIC:27,C4_DEPLOYMENT:28,otherStatements:29,diagramStatements:30,otherStatement:31,title:32,accDescription:33,acc_title:34,acc_title_value:35,acc_descr:36,acc_descr_value:37,acc_descr_multiline_value:38,boundaryStatement:39,boundaryStartStatement:40,boundaryStopStatement:41,boundaryStart:42,LBRACE:43,ENTERPRISE_BOUNDARY:44,attributes:45,SYSTEM_BOUNDARY:46,BOUNDARY:47,CONTAINER_BOUNDARY:48,NODE:49,NODE_L:50,NODE_R:51,RBRACE:52,diagramStatement:53,PERSON:54,PERSON_EXT:55,SYSTEM:56,SYSTEM_DB:57,SYSTEM_QUEUE:58,SYSTEM_EXT:59,SYSTEM_EXT_DB:60,SYSTEM_EXT_QUEUE:61,CONTAINER:62,CONTAINER_DB:63,CONTAINER_QUEUE:64,CONTAINER_EXT:65,CONTAINER_EXT_DB:66,CONTAINER_EXT_QUEUE:67,COMPONENT:68,COMPONENT_DB:69,COMPONENT_QUEUE:70,COMPONENT_EXT:71,COMPONENT_EXT_DB:72,COMPONENT_EXT_QUEUE:73,REL:74,BIREL:75,REL_U:76,REL_D:77,REL_L:78,REL_R:79,REL_B:80,REL_INDEX:81,UPDATE_EL_STYLE:82,UPDATE_REL_STYLE:83,UPDATE_LAYOUT_CONFIG:84,attribute:85,STR:86,STR_KEY:87,STR_VALUE:88,ATTRIBUTE:89,ATTRIBUTE_EMPTY:90,$accept:0,$end:1},terminals_:{2:"error",7:"direction_tb",8:"direction_bt",9:"direction_rl",10:"direction_lr",15:"NEWLINE",16:":",18:"open_directive",19:"type_directive",20:"arg_directive",21:"close_directive",22:"C4_CONTEXT",24:"EOF",25:"C4_CONTAINER",26:"C4_COMPONENT",27:"C4_DYNAMIC",28:"C4_DEPLOYMENT",32:"title",33:"accDescription",34:"acc_title",35:"acc_title_value",36:"acc_descr",37:"acc_descr_value",38:"acc_descr_multiline_value",43:"LBRACE",44:"ENTERPRISE_BOUNDARY",46:"SYSTEM_BOUNDARY",47:"BOUNDARY",48:"CONTAINER_BOUNDARY",49:"NODE",50:"NODE_L",51:"NODE_R",52:"RBRACE",54:"PERSON",55:"PERSON_EXT",56:"SYSTEM",57:"SYSTEM_DB",58:"SYSTEM_QUEUE",59:"SYSTEM_EXT",60:"SYSTEM_EXT_DB",61:"SYSTEM_EXT_QUEUE",62:"CONTAINER",63:"CONTAINER_DB",64:"CONTAINER_QUEUE",65:"CONTAINER_EXT",66:"CONTAINER_EXT_DB",67:"CONTAINER_EXT_QUEUE",68:"COMPONENT",69:"COMPONENT_DB",70:"COMPONENT_QUEUE",71:"COMPONENT_EXT",72:"COMPONENT_EXT_DB",73:"COMPONENT_EXT_QUEUE",74:"REL",75:"BIREL",76:"REL_U",77:"REL_D",78:"REL_L",79:"REL_R",80:"REL_B",81:"REL_INDEX",82:"UPDATE_EL_STYLE",83:"UPDATE_REL_STYLE",84:"UPDATE_LAYOUT_CONFIG",86:"STR",87:"STR_KEY",88:"STR_VALUE",89:"ATTRIBUTE",90:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[3,2],[5,1],[5,1],[5,1],[5,1],[4,1],[6,4],[6,6],[12,1],[13,1],[17,1],[14,1],[11,4],[11,4],[11,4],[11,4],[11,4],[23,1],[23,1],[23,2],[29,1],[29,2],[29,3],[31,1],[31,1],[31,2],[31,2],[31,1],[39,3],[40,3],[40,3],[40,4],[42,2],[42,2],[42,2],[42,2],[42,2],[42,2],[42,2],[41,1],[30,1],[30,2],[30,3],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,1],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[45,1],[45,2],[85,1],[85,2],[85,1],[85,1]],performAction:function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 4:r.setDirection("TB");break;case 5:r.setDirection("BT");break;case 6:r.setDirection("RL");break;case 7:r.setDirection("LR");break;case 11:r.parseDirective("%%{","open_directive");break;case 12:break;case 13:a[s]=a[s].trim().replace(/'/g,'"'),r.parseDirective(a[s],"arg_directive");break;case 14:r.parseDirective("}%%","close_directive","c4Context");break;case 15:case 16:case 17:case 18:case 19:r.setC4Type(a[s-3]);break;case 26:r.setTitle(a[s].substring(6)),this.$=a[s].substring(6);break;case 27:r.setAccDescription(a[s].substring(15)),this.$=a[s].substring(15);break;case 28:this.$=a[s].trim(),r.setTitle(this.$);break;case 29:case 30:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 35:case 36:a[s].splice(2,0,"ENTERPRISE"),r.addPersonOrSystemBoundary(...a[s]),this.$=a[s];break;case 37:r.addPersonOrSystemBoundary(...a[s]),this.$=a[s];break;case 38:a[s].splice(2,0,"CONTAINER"),r.addContainerBoundary(...a[s]),this.$=a[s];break;case 39:r.addDeploymentNode("node",...a[s]),this.$=a[s];break;case 40:r.addDeploymentNode("nodeL",...a[s]),this.$=a[s];break;case 41:r.addDeploymentNode("nodeR",...a[s]),this.$=a[s];break;case 42:r.popBoundaryParseStack();break;case 46:r.addPersonOrSystem("person",...a[s]),this.$=a[s];break;case 47:r.addPersonOrSystem("external_person",...a[s]),this.$=a[s];break;case 48:r.addPersonOrSystem("system",...a[s]),this.$=a[s];break;case 49:r.addPersonOrSystem("system_db",...a[s]),this.$=a[s];break;case 50:r.addPersonOrSystem("system_queue",...a[s]),this.$=a[s];break;case 51:r.addPersonOrSystem("external_system",...a[s]),this.$=a[s];break;case 52:r.addPersonOrSystem("external_system_db",...a[s]),this.$=a[s];break;case 53:r.addPersonOrSystem("external_system_queue",...a[s]),this.$=a[s];break;case 54:r.addContainer("container",...a[s]),this.$=a[s];break;case 55:r.addContainer("container_db",...a[s]),this.$=a[s];break;case 56:r.addContainer("container_queue",...a[s]),this.$=a[s];break;case 57:r.addContainer("external_container",...a[s]),this.$=a[s];break;case 58:r.addContainer("external_container_db",...a[s]),this.$=a[s];break;case 59:r.addContainer("external_container_queue",...a[s]),this.$=a[s];break;case 60:r.addComponent("component",...a[s]),this.$=a[s];break;case 61:r.addComponent("component_db",...a[s]),this.$=a[s];break;case 62:r.addComponent("component_queue",...a[s]),this.$=a[s];break;case 63:r.addComponent("external_component",...a[s]),this.$=a[s];break;case 64:r.addComponent("external_component_db",...a[s]),this.$=a[s];break;case 65:r.addComponent("external_component_queue",...a[s]),this.$=a[s];break;case 67:r.addRel("rel",...a[s]),this.$=a[s];break;case 68:r.addRel("birel",...a[s]),this.$=a[s];break;case 69:r.addRel("rel_u",...a[s]),this.$=a[s];break;case 70:r.addRel("rel_d",...a[s]),this.$=a[s];break;case 71:r.addRel("rel_l",...a[s]),this.$=a[s];break;case 72:r.addRel("rel_r",...a[s]),this.$=a[s];break;case 73:r.addRel("rel_b",...a[s]),this.$=a[s];break;case 74:a[s].splice(0,1),r.addRel("rel",...a[s]),this.$=a[s];break;case 75:r.updateElStyle("update_el_style",...a[s]),this.$=a[s];break;case 76:r.updateRelStyle("update_rel_style",...a[s]),this.$=a[s];break;case 77:r.updateLayoutConfig("update_layout_config",...a[s]),this.$=a[s];break;case 78:this.$=[a[s]];break;case 79:a[s].unshift(a[s-1]),this.$=a[s];break;case 80:case 82:this.$=a[s].trim();break;case 81:let e={};e[a[s-1].trim()]=a[s].trim(),this.$=e;break;case 83:this.$=""}},table:[{3:1,4:2,5:3,6:4,7:t,8:n,9:r,10:i,11:5,12:10,18:a,22:o,25:s,26:l,27:u,28:d},{1:[3]},{1:[2,1]},{1:[2,2]},{3:17,4:2,5:3,6:4,7:t,8:n,9:r,10:i,11:5,12:10,18:a,22:o,25:s,26:l,27:u,28:d},{1:[2,8]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{1:[2,7]},{13:18,19:[1,19]},{15:[1,20]},{15:[1,21]},{15:[1,22]},{15:[1,23]},{15:[1,24]},{19:[2,11]},{1:[2,3]},{14:25,16:[1,26],21:h},e([16,21],[2,12]),{23:28,29:29,30:30,31:31,32:p,33:g,34:m,36:_,38:b,39:58,40:70,42:71,44:f,46:y,47:v,48:E,49:S,50:T,51:C,53:32,54:x,55:k,56:A,57:w,58:N,59:O,60:R,61:I,62:D,63:M,64:L,65:P,66:j,67:F,68:B,69:U,70:G,71:z,72:$,73:Y,74:q,75:H,76:V,77:W,78:Q,79:K,80:X,81:Z,82:J,83:ee,84:te},{23:79,29:29,30:30,31:31,32:p,33:g,34:m,36:_,38:b,39:58,40:70,42:71,44:f,46:y,47:v,48:E,49:S,50:T,51:C,53:32,54:x,55:k,56:A,57:w,58:N,59:O,60:R,61:I,62:D,63:M,64:L,65:P,66:j,67:F,68:B,69:U,70:G,71:z,72:$,73:Y,74:q,75:H,76:V,77:W,78:Q,79:K,80:X,81:Z,82:J,83:ee,84:te},{23:80,29:29,30:30,31:31,32:p,33:g,34:m,36:_,38:b,39:58,40:70,42:71,44:f,46:y,47:v,48:E,49:S,50:T,51:C,53:32,54:x,55:k,56:A,57:w,58:N,59:O,60:R,61:I,62:D,63:M,64:L,65:P,66:j,67:F,68:B,69:U,70:G,71:z,72:$,73:Y,74:q,75:H,76:V,77:W,78:Q,79:K,80:X,81:Z,82:J,83:ee,84:te},{23:81,29:29,30:30,31:31,32:p,33:g,34:m,36:_,38:b,39:58,40:70,42:71,44:f,46:y,47:v,48:E,49:S,50:T,51:C,53:32,54:x,55:k,56:A,57:w,58:N,59:O,60:R,61:I,62:D,63:M,64:L,65:P,66:j,67:F,68:B,69:U,70:G,71:z,72:$,73:Y,74:q,75:H,76:V,77:W,78:Q,79:K,80:X,81:Z,82:J,83:ee,84:te},{23:82,29:29,30:30,31:31,32:p,33:g,34:m,36:_,38:b,39:58,40:70,42:71,44:f,46:y,47:v,48:E,49:S,50:T,51:C,53:32,54:x,55:k,56:A,57:w,58:N,59:O,60:R,61:I,62:D,63:M,64:L,65:P,66:j,67:F,68:B,69:U,70:G,71:z,72:$,73:Y,74:q,75:H,76:V,77:W,78:Q,79:K,80:X,81:Z,82:J,83:ee,84:te},{15:[1,83]},{17:84,20:[1,85]},{15:[2,14]},{24:[1,86]},e(ne,[2,20],{53:32,39:58,40:70,42:71,30:87,44:f,46:y,47:v,48:E,49:S,50:T,51:C,54:x,55:k,56:A,57:w,58:N,59:O,60:R,61:I,62:D,63:M,64:L,65:P,66:j,67:F,68:B,69:U,70:G,71:z,72:$,73:Y,74:q,75:H,76:V,77:W,78:Q,79:K,80:X,81:Z,82:J,83:ee,84:te}),e(ne,[2,21]),e(re,[2,23],{15:[1,88]}),e(ne,[2,43],{15:[1,89]}),e(ie,[2,26]),e(ie,[2,27]),{35:[1,90]},{37:[1,91]},e(ie,[2,30]),{45:92,85:93,86:ae,87:oe,89:se,90:le},{45:98,85:93,86:ae,87:oe,89:se,90:le},{45:99,85:93,86:ae,87:oe,89:se,90:le},{45:100,85:93,86:ae,87:oe,89:se,90:le},{45:101,85:93,86:ae,87:oe,89:se,90:le},{45:102,85:93,86:ae,87:oe,89:se,90:le},{45:103,85:93,86:ae,87:oe,89:se,90:le},{45:104,85:93,86:ae,87:oe,89:se,90:le},{45:105,85:93,86:ae,87:oe,89:se,90:le},{45:106,85:93,86:ae,87:oe,89:se,90:le},{45:107,85:93,86:ae,87:oe,89:se,90:le},{45:108,85:93,86:ae,87:oe,89:se,90:le},{45:109,85:93,86:ae,87:oe,89:se,90:le},{45:110,85:93,86:ae,87:oe,89:se,90:le},{45:111,85:93,86:ae,87:oe,89:se,90:le},{45:112,85:93,86:ae,87:oe,89:se,90:le},{45:113,85:93,86:ae,87:oe,89:se,90:le},{45:114,85:93,86:ae,87:oe,89:se,90:le},{45:115,85:93,86:ae,87:oe,89:se,90:le},{45:116,85:93,86:ae,87:oe,89:se,90:le},e(ce,[2,66]),{45:117,85:93,86:ae,87:oe,89:se,90:le},{45:118,85:93,86:ae,87:oe,89:se,90:le},{45:119,85:93,86:ae,87:oe,89:se,90:le},{45:120,85:93,86:ae,87:oe,89:se,90:le},{45:121,85:93,86:ae,87:oe,89:se,90:le},{45:122,85:93,86:ae,87:oe,89:se,90:le},{45:123,85:93,86:ae,87:oe,89:se,90:le},{45:124,85:93,86:ae,87:oe,89:se,90:le},{45:125,85:93,86:ae,87:oe,89:se,90:le},{45:126,85:93,86:ae,87:oe,89:se,90:le},{45:127,85:93,86:ae,87:oe,89:se,90:le},{30:128,39:58,40:70,42:71,44:f,46:y,47:v,48:E,49:S,50:T,51:C,53:32,54:x,55:k,56:A,57:w,58:N,59:O,60:R,61:I,62:D,63:M,64:L,65:P,66:j,67:F,68:B,69:U,70:G,71:z,72:$,73:Y,74:q,75:H,76:V,77:W,78:Q,79:K,80:X,81:Z,82:J,83:ee,84:te},{15:[1,130],43:[1,129]},{45:131,85:93,86:ae,87:oe,89:se,90:le},{45:132,85:93,86:ae,87:oe,89:se,90:le},{45:133,85:93,86:ae,87:oe,89:se,90:le},{45:134,85:93,86:ae,87:oe,89:se,90:le},{45:135,85:93,86:ae,87:oe,89:se,90:le},{45:136,85:93,86:ae,87:oe,89:se,90:le},{45:137,85:93,86:ae,87:oe,89:se,90:le},{24:[1,138]},{24:[1,139]},{24:[1,140]},{24:[1,141]},e(ue,[2,9]),{14:142,21:h},{21:[2,13]},{1:[2,15]},e(ne,[2,22]),e(re,[2,24],{31:31,29:143,32:p,33:g,34:m,36:_,38:b}),e(ne,[2,44],{29:29,30:30,31:31,53:32,39:58,40:70,42:71,23:144,32:p,33:g,34:m,36:_,38:b,44:f,46:y,47:v,48:E,49:S,50:T,51:C,54:x,55:k,56:A,57:w,58:N,59:O,60:R,61:I,62:D,63:M,64:L,65:P,66:j,67:F,68:B,69:U,70:G,71:z,72:$,73:Y,74:q,75:H,76:V,77:W,78:Q,79:K,80:X,81:Z,82:J,83:ee,84:te}),e(ie,[2,28]),e(ie,[2,29]),e(ce,[2,46]),e(de,[2,78],{85:93,45:145,86:ae,87:oe,89:se,90:le}),e(he,[2,80]),{88:[1,146]},e(he,[2,82]),e(he,[2,83]),e(ce,[2,47]),e(ce,[2,48]),e(ce,[2,49]),e(ce,[2,50]),e(ce,[2,51]),e(ce,[2,52]),e(ce,[2,53]),e(ce,[2,54]),e(ce,[2,55]),e(ce,[2,56]),e(ce,[2,57]),e(ce,[2,58]),e(ce,[2,59]),e(ce,[2,60]),e(ce,[2,61]),e(ce,[2,62]),e(ce,[2,63]),e(ce,[2,64]),e(ce,[2,65]),e(ce,[2,67]),e(ce,[2,68]),e(ce,[2,69]),e(ce,[2,70]),e(ce,[2,71]),e(ce,[2,72]),e(ce,[2,73]),e(ce,[2,74]),e(ce,[2,75]),e(ce,[2,76]),e(ce,[2,77]),{41:147,52:[1,148]},{15:[1,149]},{43:[1,150]},e(pe,[2,35]),e(pe,[2,36]),e(pe,[2,37]),e(pe,[2,38]),e(pe,[2,39]),e(pe,[2,40]),e(pe,[2,41]),{1:[2,16]},{1:[2,17]},{1:[2,18]},{1:[2,19]},{15:[1,151]},e(re,[2,25]),e(ne,[2,45]),e(de,[2,79]),e(he,[2,81]),e(ce,[2,31]),e(ce,[2,42]),e(ge,[2,32]),e(ge,[2,33],{15:[1,152]}),e(ue,[2,10]),e(ge,[2,34])],defaultActions:{2:[2,1],3:[2,2],5:[2,8],6:[2,4],7:[2,5],8:[2,6],9:[2,7],16:[2,11],17:[2,3],27:[2,14],85:[2,13],86:[2,15],138:[2,16],139:[2,17],140:[2,18],141:[2,19]},parseError:function(e,t){if(!t.recoverable){var n=new Error(e);throw n.hash=t,n}this.trace(e)},parse:function(e){var t=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",l=0,c=0,u=a.slice.call(arguments,1),d=Object.create(this.lexer),h={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(h.yy[p]=this.yy[p]);d.setInput(e,h.yy),h.yy.lexer=d,h.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var g=d.yylloc;a.push(g);var m=d.options&&d.options.ranges;"function"==typeof h.yy.parseError?this.parseError=h.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var _,b,f,y,v,E,S,T,C,x={};;){if(b=n[n.length-1],this.defaultActions[b]?f=this.defaultActions[b]:(null==_&&(C=void 0,"number"!=typeof(C=r.pop()||d.lex()||1)&&(C instanceof Array&&(C=(r=C).pop()),C=t.symbols_[C]||C),_=C),f=o[b]&&o[b][_]),void 0===f||!f.length||!f[0]){var k="";for(v in T=[],o[b])this.terminals_[v]&&v>2&&T.push("'"+this.terminals_[v]+"'");k=d.showPosition?"Parse error on line "+(l+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==_?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(k,{text:d.match,token:this.terminals_[_]||_,line:d.yylineno,loc:g,expected:T})}if(f[0]instanceof Array&&f.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+_);switch(f[0]){case 1:n.push(_),i.push(d.yytext),a.push(d.yylloc),n.push(f[1]),_=null,c=d.yyleng,s=d.yytext,l=d.yylineno,g=d.yylloc;break;case 2:if(E=this.productions_[f[1]][1],x.$=i[i.length-E],x._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},m&&(x._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),void 0!==(y=this.performAction.apply(x,[s,c,l,h.yy,f[1],i,a].concat(u))))return y;E&&(n=n.slice(0,-1*E*2),i=i.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[f[1]][0]),i.push(x.$),a.push(x._$),S=o[n[n.length-2]][n[n.length-1]],n.push(S);break;case 3:return!0}}return!0}},_e=function(){var e={EOF:1,parseError:function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)}, +// resets the lexer, sets new input +setInput:function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this}, +// consumes and returns one char from the input +input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e}, +// unshifts one char (or a string) into the input +unput:function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this}, +// When called from action, caches matched text and appends it on next action +more:function(){return this._more=!0,this}, +// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead. +reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})}, +// retain first n characters of the match +less:function(e){this.unput(this.match.slice(e))}, +// displays already matched input, i.e. for error messages +pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")}, +// displays upcoming input, i.e. for error messages +upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")}, +// displays the character position where the lexing error occurred, i.e. for error messages +showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"}, +// test the lexed token: return FALSE when not a match, otherwise return token +test_match:function(e,t){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1}, +// return next match in input +next:function(){if(this.done)return this.EOF;var e,t,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!t||n[0].length>t[0].length)){if(t=n,r=a,this.options.backtrack_lexer){if(!1!==(e=this.test_match(n,i[a])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,i[r]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})}, +// return next match that has a token +lex:function(){var e=this.next();return e||this.lex()}, +// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack) +begin:function(e){this.conditionStack.push(e)}, +// pop the previously active lexer condition state off the condition stack +popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]}, +// produce the lexer rule set which is active for the currently active lexer condition state +_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules}, +// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available +topState:function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"}, +// alias for begin(condition) +pushState:function(e){this.begin(e)}, +// return the number of states currently on the stack +stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(e,t,n,r){switch(n){case 0:return this.begin("open_directive"),18;case 1:return 7;case 2:return 8;case 3:return 9;case 4:return 10;case 5:return this.begin("type_directive"),19;case 6:return this.popState(),this.begin("arg_directive"),16;case 7:return this.popState(),this.popState(),21;case 8:return 20;case 9:return 32;case 10:return 33;case 11:return this.begin("acc_title"),34;case 12:return this.popState(),"acc_title_value";case 13:return this.begin("acc_descr"),36;case 14:return this.popState(),"acc_descr_value";case 15:this.begin("acc_descr_multiline");break;case 16:case 78:this.popState();break;case 17:return"acc_descr_multiline_value";case 18:case 21:case 75:break;case 19:c;break;case 20:return 15;case 22:return 22;case 23:return 25;case 24:return 26;case 25:return 27;case 26:return 28;case 27:return this.begin("person_ext"),55;case 28:return this.begin("person"),54;case 29:return this.begin("system_ext_queue"),61;case 30:return this.begin("system_ext_db"),60;case 31:return this.begin("system_ext"),59;case 32:return this.begin("system_queue"),58;case 33:return this.begin("system_db"),57;case 34:return this.begin("system"),56;case 35:return this.begin("boundary"),47;case 36:return this.begin("enterprise_boundary"),44;case 37:return this.begin("system_boundary"),46;case 38:return this.begin("container_ext_queue"),67;case 39:return this.begin("container_ext_db"),66;case 40:return this.begin("container_ext"),65;case 41:return this.begin("container_queue"),64;case 42:return this.begin("container_db"),63;case 43:return this.begin("container"),62;case 44:return this.begin("container_boundary"),48;case 45:return this.begin("component_ext_queue"),73;case 46:return this.begin("component_ext_db"),72;case 47:return this.begin("component_ext"),71;case 48:return this.begin("component_queue"),70;case 49:return this.begin("component_db"),69;case 50:return this.begin("component"),68;case 51:case 52:return this.begin("node"),49;case 53:return this.begin("node_l"),50;case 54:return this.begin("node_r"),51;case 55:return this.begin("rel"),74;case 56:return this.begin("birel"),75;case 57:case 58:return this.begin("rel_u"),76;case 59:case 60:return this.begin("rel_d"),77;case 61:case 62:return this.begin("rel_l"),78;case 63:case 64:return this.begin("rel_r"),79;case 65:return this.begin("rel_b"),80;case 66:return this.begin("rel_index"),81;case 67:return this.begin("update_el_style"),82;case 68:return this.begin("update_rel_style"),83;case 69:return this.begin("update_layout_config"),84;case 70:return"EOF_IN_STRUCT";case 71:return this.begin("attribute"),"ATTRIBUTE_EMPTY";case 72:this.begin("attribute");break;case 73:case 84:this.popState(),this.popState();break;case 74:case 76:return 90;case 77:this.begin("string");break;case 79:case 85:return"STR";case 80:this.begin("string_kv");break;case 81:return this.begin("string_kv_key"),"STR_KEY";case 82:this.popState(),this.begin("string_kv_value");break;case 83:return"STR_VALUE";case 86:return"LBRACE";case 87:return"RBRACE";case 88:return"SPACE";case 89:return"EOL";case 90:return 24}},rules:[/^(?:%%\{)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:((?:(?!\}%%)[^:.])*))/,/^(?::)/,/^(?:\}%%)/,/^(?:((?:(?!\}%%).|\n)*))/,/^(?:title\s[^#\n;]+)/,/^(?:accDescription\s[^#\n;]+)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:C4Context\b)/,/^(?:C4Container\b)/,/^(?:C4Component\b)/,/^(?:C4Dynamic\b)/,/^(?:C4Deployment\b)/,/^(?:Person_Ext\b)/,/^(?:Person\b)/,/^(?:SystemQueue_Ext\b)/,/^(?:SystemDb_Ext\b)/,/^(?:System_Ext\b)/,/^(?:SystemQueue\b)/,/^(?:SystemDb\b)/,/^(?:System\b)/,/^(?:Boundary\b)/,/^(?:Enterprise_Boundary\b)/,/^(?:System_Boundary\b)/,/^(?:ContainerQueue_Ext\b)/,/^(?:ContainerDb_Ext\b)/,/^(?:Container_Ext\b)/,/^(?:ContainerQueue\b)/,/^(?:ContainerDb\b)/,/^(?:Container\b)/,/^(?:Container_Boundary\b)/,/^(?:ComponentQueue_Ext\b)/,/^(?:ComponentDb_Ext\b)/,/^(?:Component_Ext\b)/,/^(?:ComponentQueue\b)/,/^(?:ComponentDb\b)/,/^(?:Component\b)/,/^(?:Deployment_Node\b)/,/^(?:Node\b)/,/^(?:Node_L\b)/,/^(?:Node_R\b)/,/^(?:Rel\b)/,/^(?:BiRel\b)/,/^(?:Rel_Up\b)/,/^(?:Rel_U\b)/,/^(?:Rel_Down\b)/,/^(?:Rel_D\b)/,/^(?:Rel_Left\b)/,/^(?:Rel_L\b)/,/^(?:Rel_Right\b)/,/^(?:Rel_R\b)/,/^(?:Rel_Back\b)/,/^(?:RelIndex\b)/,/^(?:UpdateElementStyle\b)/,/^(?:UpdateRelStyle\b)/,/^(?:UpdateLayoutConfig\b)/,/^(?:$)/,/^(?:[(][ ]*[,])/,/^(?:[(])/,/^(?:[)])/,/^(?:,,)/,/^(?:,)/,/^(?:[ ]*["]["])/,/^(?:[ ]*["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:[ ]*[\$])/,/^(?:[^=]*)/,/^(?:[=][ ]*["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:[^,]+)/,/^(?:\{)/,/^(?:\})/,/^(?:[\s]+)/,/^(?:[\n\r]+)/,/^(?:$)/],conditions:{acc_descr_multiline:{rules:[16,17],inclusive:!1},acc_descr:{rules:[14],inclusive:!1},acc_title:{rules:[12],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[7,8],inclusive:!1},type_directive:{rules:[6,7],inclusive:!1},open_directive:{rules:[5],inclusive:!1},string_kv_value:{rules:[83,84],inclusive:!1},string_kv_key:{rules:[82],inclusive:!1},string_kv:{rules:[81],inclusive:!1},string:{rules:[78,79],inclusive:!1},attribute:{rules:[73,74,75,76,77,80,85],inclusive:!1},update_layout_config:{rules:[70,71,72,73],inclusive:!1},update_rel_style:{rules:[70,71,72,73],inclusive:!1},update_el_style:{rules:[70,71,72,73],inclusive:!1},rel_b:{rules:[70,71,72,73],inclusive:!1},rel_r:{rules:[70,71,72,73],inclusive:!1},rel_l:{rules:[70,71,72,73],inclusive:!1},rel_d:{rules:[70,71,72,73],inclusive:!1},rel_u:{rules:[70,71,72,73],inclusive:!1},rel_bi:{rules:[],inclusive:!1},rel:{rules:[70,71,72,73],inclusive:!1},node_r:{rules:[70,71,72,73],inclusive:!1},node_l:{rules:[70,71,72,73],inclusive:!1},node:{rules:[70,71,72,73],inclusive:!1},index:{rules:[],inclusive:!1},rel_index:{rules:[70,71,72,73],inclusive:!1},component_ext_queue:{rules:[],inclusive:!1},component_ext_db:{rules:[70,71,72,73],inclusive:!1},component_ext:{rules:[70,71,72,73],inclusive:!1},component_queue:{rules:[70,71,72,73],inclusive:!1},component_db:{rules:[70,71,72,73],inclusive:!1},component:{rules:[70,71,72,73],inclusive:!1},container_boundary:{rules:[70,71,72,73],inclusive:!1},container_ext_queue:{rules:[],inclusive:!1},container_ext_db:{rules:[70,71,72,73],inclusive:!1},container_ext:{rules:[70,71,72,73],inclusive:!1},container_queue:{rules:[70,71,72,73],inclusive:!1},container_db:{rules:[70,71,72,73],inclusive:!1},container:{rules:[70,71,72,73],inclusive:!1},birel:{rules:[70,71,72,73],inclusive:!1},system_boundary:{rules:[70,71,72,73],inclusive:!1},enterprise_boundary:{rules:[70,71,72,73],inclusive:!1},boundary:{rules:[70,71,72,73],inclusive:!1},system_ext_queue:{rules:[70,71,72,73],inclusive:!1},system_ext_db:{rules:[70,71,72,73],inclusive:!1},system_ext:{rules:[70,71,72,73],inclusive:!1},system_queue:{rules:[70,71,72,73],inclusive:!1},system_db:{rules:[70,71,72,73],inclusive:!1},system:{rules:[70,71,72,73],inclusive:!1},person_ext:{rules:[70,71,72,73],inclusive:!1},person:{rules:[70,71,72,73],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,9,10,11,13,15,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,86,87,88,89,90],inclusive:!0}}};return e}();function be(){this.yy={}}return me.lexer=_e,be.prototype=me,me.Parser=be,new be}();LL.parser=LL;const PL=LL,jL=e=>null!==e.match(/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/);let FL=[],BL=[""],UL="global",GL="",zL=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],$L=[],YL="",qL=!1,HL=4,VL=2;var WL;const QL=function(e){return null==e?FL:FL.filter((t=>t.parentBoundary===e))},KL=function(){return qL},XL={addPersonOrSystem:function(e,t,n,r,i,a,o){if(null===t||null===n)return;let s={};const l=FL.find((e=>e.alias===t));if(l&&t===l.alias?s=l:(s.alias=t,FL.push(s)),s.label=null==n?{text:""}:{text:n},null==r)s.descr={text:""};else if("object"==typeof r){let[e,t]=Object.entries(r)[0];s[e]={text:t}}else s.descr={text:r};if("object"==typeof i){let[e,t]=Object.entries(i)[0];s[e]=t}else s.sprite=i;if("object"==typeof a){let[e,t]=Object.entries(a)[0];s[e]=t}else s.tags=a;if("object"==typeof o){let[e,t]=Object.entries(o)[0];s[e]=t}else s.link=o;s.typeC4Shape={text:e},s.parentBoundary=UL,s.wrap=KL()},addPersonOrSystemBoundary:function(e,t,n,r,i){if(null===e||null===t)return;let a={};const o=zL.find((t=>t.alias===e));if(o&&e===o.alias?a=o:(a.alias=e,zL.push(a)),a.label=null==t?{text:""}:{text:t},null==n)a.type={text:"system"};else if("object"==typeof n){let[e,t]=Object.entries(n)[0];a[e]={text:t}}else a.type={text:n};if("object"==typeof r){let[e,t]=Object.entries(r)[0];a[e]=t}else a.tags=r;if("object"==typeof i){let[e,t]=Object.entries(i)[0];a[e]=t}else a.link=i;a.parentBoundary=UL,a.wrap=KL(),GL=UL,UL=e,BL.push(GL)},addContainer:function(e,t,n,r,i,a,o,s){if(null===t||null===n)return;let l={};const c=FL.find((e=>e.alias===t));if(c&&t===c.alias?l=c:(l.alias=t,FL.push(l)),l.label=null==n?{text:""}:{text:n},null==r)l.techn={text:""};else if("object"==typeof r){let[e,t]=Object.entries(r)[0];l[e]={text:t}}else l.techn={text:r};if(null==i)l.descr={text:""};else if("object"==typeof i){let[e,t]=Object.entries(i)[0];l[e]={text:t}}else l.descr={text:i};if("object"==typeof a){let[e,t]=Object.entries(a)[0];l[e]=t}else l.sprite=a;if("object"==typeof o){let[e,t]=Object.entries(o)[0];l[e]=t}else l.tags=o;if("object"==typeof s){let[e,t]=Object.entries(s)[0];l[e]=t}else l.link=s;l.wrap=KL(),l.typeC4Shape={text:e},l.parentBoundary=UL},addContainerBoundary:function(e,t,n,r,i){if(null===e||null===t)return;let a={};const o=zL.find((t=>t.alias===e));if(o&&e===o.alias?a=o:(a.alias=e,zL.push(a)),a.label=null==t?{text:""}:{text:t},null==n)a.type={text:"container"};else if("object"==typeof n){let[e,t]=Object.entries(n)[0];a[e]={text:t}}else a.type={text:n};if("object"==typeof r){let[e,t]=Object.entries(r)[0];a[e]=t}else a.tags=r;if("object"==typeof i){let[e,t]=Object.entries(i)[0];a[e]=t}else a.link=i;a.parentBoundary=UL,a.wrap=KL(),GL=UL,UL=e,BL.push(GL)},addComponent:function(e,t,n,r,i,a,o,s){if(null===t||null===n)return;let l={};const c=FL.find((e=>e.alias===t));if(c&&t===c.alias?l=c:(l.alias=t,FL.push(l)),l.label=null==n?{text:""}:{text:n},null==r)l.techn={text:""};else if("object"==typeof r){let[e,t]=Object.entries(r)[0];l[e]={text:t}}else l.techn={text:r};if(null==i)l.descr={text:""};else if("object"==typeof i){let[e,t]=Object.entries(i)[0];l[e]={text:t}}else l.descr={text:i};if("object"==typeof a){let[e,t]=Object.entries(a)[0];l[e]=t}else l.sprite=a;if("object"==typeof o){let[e,t]=Object.entries(o)[0];l[e]=t}else l.tags=o;if("object"==typeof s){let[e,t]=Object.entries(s)[0];l[e]=t}else l.link=s;l.wrap=KL(),l.typeC4Shape={text:e},l.parentBoundary=UL},addDeploymentNode:function(e,t,n,r,i,a,o,s){if(null===t||null===n)return;let l={};const c=zL.find((e=>e.alias===t));if(c&&t===c.alias?l=c:(l.alias=t,zL.push(l)),l.label=null==n?{text:""}:{text:n},null==r)l.type={text:"node"};else if("object"==typeof r){let[e,t]=Object.entries(r)[0];l[e]={text:t}}else l.type={text:r};if(null==i)l.descr={text:""};else if("object"==typeof i){let[e,t]=Object.entries(i)[0];l[e]={text:t}}else l.descr={text:i};if("object"==typeof o){let[e,t]=Object.entries(o)[0];l[e]=t}else l.tags=o;if("object"==typeof s){let[e,t]=Object.entries(s)[0];l[e]=t}else l.link=s;l.nodeType=e,l.parentBoundary=UL,l.wrap=KL(),GL=UL,UL=t,BL.push(GL)},popBoundaryParseStack:function(){UL=GL,BL.pop(),GL=BL.pop(),BL.push(GL)},addRel:function(e,t,n,r,i,a,o,s,l){if(null==e||null==t||null==n||null==r)return;let c={};const u=$L.find((e=>e.from===t&&e.to===n));if(u?c=u:$L.push(c),c.type=e,c.from=t,c.to=n,c.label={text:r},null==i)c.techn={text:""};else if("object"==typeof i){let[e,t]=Object.entries(i)[0];c[e]={text:t}}else c.techn={text:i};if(null==a)c.descr={text:""};else if("object"==typeof a){let[e,t]=Object.entries(a)[0];c[e]={text:t}}else c.descr={text:a};if("object"==typeof o){let[e,t]=Object.entries(o)[0];c[e]=t}else c.sprite=o;if("object"==typeof s){let[e,t]=Object.entries(s)[0];c[e]=t}else c.tags=s;if("object"==typeof l){let[e,t]=Object.entries(l)[0];c[e]=t}else c.link=l;c.wrap=KL()},updateElStyle:function(e,t,n,r,i,a,o,s,l,c,u){let d=FL.find((e=>e.alias===t));if(void 0!==d||(d=zL.find((e=>e.alias===t)),void 0!==d)){if(null!=n)if("object"==typeof n){let[e,t]=Object.entries(n)[0];d[e]=t}else d.bgColor=n;if(null!=r)if("object"==typeof r){let[e,t]=Object.entries(r)[0];d[e]=t}else d.fontColor=r;if(null!=i)if("object"==typeof i){let[e,t]=Object.entries(i)[0];d[e]=t}else d.borderColor=i;if(null!=a)if("object"==typeof a){let[e,t]=Object.entries(a)[0];d[e]=t}else d.shadowing=a;if(null!=o)if("object"==typeof o){let[e,t]=Object.entries(o)[0];d[e]=t}else d.shape=o;if(null!=s)if("object"==typeof s){let[e,t]=Object.entries(s)[0];d[e]=t}else d.sprite=s;if(null!=l)if("object"==typeof l){let[e,t]=Object.entries(l)[0];d[e]=t}else d.techn=l;if(null!=c)if("object"==typeof c){let[e,t]=Object.entries(c)[0];d[e]=t}else d.legendText=c;if(null!=u)if("object"==typeof u){let[e,t]=Object.entries(u)[0];d[e]=t}else d.legendSprite=u}},updateRelStyle:function(e,t,n,r,i,a,o){const s=$L.find((e=>e.from===t&&e.to===n));if(void 0!==s){if(null!=r)if("object"==typeof r){let[e,t]=Object.entries(r)[0];s[e]=t}else s.textColor=r;if(null!=i)if("object"==typeof i){let[e,t]=Object.entries(i)[0];s[e]=t}else s.lineColor=i;if(null!=a)if("object"==typeof a){let[e,t]=Object.entries(a)[0];s[e]=parseInt(t)}else s.offsetX=parseInt(a);if(null!=o)if("object"==typeof o){let[e,t]=Object.entries(o)[0];s[e]=parseInt(t)}else s.offsetY=parseInt(o)}},updateLayoutConfig:function(e,t,n){let r=HL,i=VL;if("object"==typeof t){const e=Object.values(t)[0];r=parseInt(e)}else r=parseInt(t);if("object"==typeof n){const e=Object.values(n)[0];i=parseInt(e)}else i=parseInt(n);r>=1&&(HL=r),i>=1&&(VL=i)},autoWrap:KL,setWrap:function(e){qL=e},getC4ShapeArray:QL,getC4Shape:function(e){return FL.find((t=>t.alias===e))},getC4ShapeKeys:function(e){return Object.keys(QL(e))},getBoundarys:function(e){return null==e?zL:zL.filter((t=>t.parentBoundary===e))},getCurrentBoundaryParse:function(){return UL},getParentBoundaryParse:function(){return GL},getRels:function(){return $L},getTitle:function(){return YL},getC4Type:function(){return WL},getC4ShapeInRow:function(){return HL},getC4BoundaryInRow:function(){return VL},setAccTitle:DM,getAccTitle:MM,getAccDescription:PM,setAccDescription:LM,parseDirective:function(e,t,n){cY.parseDirective(this,e,t,n)},getConfig:()=>aM().c4,clear:function(){FL=[],zL=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],GL="",UL="global",BL=[""],$L=[],BL=[""],YL="",qL=!1,HL=4,VL=2},LINETYPE:{SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25},ARROWTYPE:{FILLED:0,OPEN:1},PLACEMENT:{LEFTOF:0,RIGHTOF:1,OVER:2},setTitle:function(e){let t=DR(e,aM());YL=t},setC4Type:function(e){let t=DR(e,aM());WL=t}},ZL=function(e,t){const n=e.append("rect");if(n.attr("x",t.x),n.attr("y",t.y),n.attr("fill",t.fill),n.attr("stroke",t.stroke),n.attr("width",t.width),n.attr("height",t.height),n.attr("rx",t.rx),n.attr("ry",t.ry),"undefined"!==t.attrs&&null!==t.attrs)for(let r in t.attrs)n.attr(r,t.attrs[r]);return"undefined"!==t.class&&n.attr("class",t.class),n},JL=function(e,t,n,r,i,a){const o=e.append("image");o.attr("width",t),o.attr("height",n),o.attr("x",r),o.attr("y",i);let s=a.startsWith("data:image/png;base64")?a:Fg.sanitizeUrl(a);o.attr("xlink:href",s)},eP=function(){return{x:0,y:0,fill:"#EDF2AE",stroke:"#666",width:100,anchor:"start",height:100,rx:0,ry:0}},tP=(e,t)=>({fontFamily:e[t+"FontFamily"],fontSize:e[t+"FontSize"],fontWeight:e[t+"FontWeight"]}),nP=function(){function e(e,t,n,i,a,o,s){r(t.append("text").attr("x",n+a/2).attr("y",i+o/2+5).style("text-anchor","middle").text(e),s)}function t(e,t,n,i,a,o,s,l){const{fontSize:c,fontFamily:u,fontWeight:d}=l,h=e.split(BR.lineBreakRegex);for(let p=0;p<h.length;p++){const e=p*c-c*(h.length-1)/2,o=t.append("text").attr("x",n+a/2).attr("y",i).style("text-anchor","middle").attr("dominant-baseline","middle").style("font-size",c).style("font-weight",d).style("font-family",u);o.append("tspan").attr("dy",e).text(h[p]).attr("alignment-baseline","mathematical"),r(o,s)}}function n(e,n,i,a,o,s,l,c){const u=n.append("switch"),d=u.append("foreignObject").attr("x",i).attr("y",a).attr("width",o).attr("height",s).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");d.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(e),t(e,u,i,a,o,0,l,c),r(d,l)}function r(e,t){for(const n in t)t.hasOwnProperty(n)&&e.attr(n,t[n])}return function(r){return"fo"===r.textPlacement?n:"old"===r.textPlacement?e:t}}(),rP=function(e,t,n){const r=e.append("g");let i=t.bgColor?t.bgColor:"none",a=t.borderColor?t.borderColor:"#444444",o=t.fontColor?t.fontColor:"black",s={"stroke-width":1,"stroke-dasharray":"7.0,7.0"};t.nodeType&&(s={"stroke-width":1});let l={x:t.x,y:t.y,fill:i,stroke:a,width:t.width,height:t.height,rx:2.5,ry:2.5,attrs:s};ZL(r,l);let c=n.boundaryFont();c.fontWeight="bold",c.fontSize=c.fontSize+2,c.fontColor=o,nP(n)(t.label.text,r,t.x,t.y+t.label.Y,t.width,t.height,{fill:"#444444"},c),t.type&&""!==t.type.text&&(c=n.boundaryFont(),c.fontColor=o,nP(n)(t.type.text,r,t.x,t.y+t.type.Y,t.width,t.height,{fill:"#444444"},c)),t.descr&&""!==t.descr.text&&(c=n.boundaryFont(),c.fontSize=c.fontSize-2,c.fontColor=o,nP(n)(t.descr.text,r,t.x,t.y+t.descr.Y,t.width,t.height,{fill:"#444444"},c))},iP=function(e,t,n){var r;let i=t.bgColor?t.bgColor:n[t.typeC4Shape.text+"_bg_color"],a=t.borderColor?t.borderColor:n[t.typeC4Shape.text+"_border_color"],o=t.fontColor?t.fontColor:"#FFFFFF",s="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";switch(t.typeC4Shape.text){case"person":s="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";break;case"external_person":s="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAAB6ElEQVR4Xu2YLY+EMBCG9+dWr0aj0Wg0Go1Go0+j8Xdv2uTCvv1gpt0ebHKPuhDaeW4605Z9mJvx4AdXUyTUdd08z+u6flmWZRnHsWkafk9DptAwDPu+f0eAYtu2PEaGWuj5fCIZrBAC2eLBAnRCsEkkxmeaJp7iDJ2QMDdHsLg8SxKFEJaAo8lAXnmuOFIhTMpxxKATebo4UiFknuNo4OniSIXQyRxEA3YsnjGCVEjVXD7yLUAqxBGUyPv/Y4W2beMgGuS7kVQIBycH0fD+oi5pezQETxdHKmQKGk1eQEYldK+jw5GxPfZ9z7Mk0Qnhf1W1m3w//EUn5BDmSZsbR44QQLBEqrBHqOrmSKaQAxdnLArCrxZcM7A7ZKs4ioRq8LFC+NpC3WCBJsvpVw5edm9iEXFuyNfxXAgSwfrFQ1c0iNda8AdejvUgnktOtJQQxmcfFzGglc5WVCj7oDgFqU18boeFSs52CUh8LE8BIVQDT1ABrB0HtgSEYlX5doJnCwv9TXocKCaKbnwhdDKPq4lf3SwU3HLq4V/+WYhHVMa/3b4IlfyikAduCkcBc7mQ3/z/Qq/cTuikhkzB12Ae/mcJC9U+Vo8Ej1gWAtgbeGgFsAMHr50BIWOLCbezvhpBFUdY6EJuJ/QDW0XoMX60zZ0AAAAASUVORK5CYII="}const l=e.append("g");l.attr("class","person-man");const c=eP();switch(t.typeC4Shape.text){case"person":case"external_person":case"system":case"external_system":case"container":case"external_container":case"component":case"external_component":c.x=t.x,c.y=t.y,c.fill=i,c.width=t.width,c.height=t.height,c.stroke=a,c.rx=2.5,c.ry=2.5,c.attrs={"stroke-width":.5},ZL(l,c);break;case"system_db":case"external_system_db":case"container_db":case"external_container_db":case"component_db":case"external_component_db":l.append("path").attr("fill",i).attr("stroke-width","0.5").attr("stroke",a).attr("d","Mstartx,startyc0,-10 half,-10 half,-10c0,0 half,0 half,10l0,heightc0,10 -half,10 -half,10c0,0 -half,0 -half,-10l0,-height".replaceAll("startx",t.x).replaceAll("starty",t.y).replaceAll("half",t.width/2).replaceAll("height",t.height)),l.append("path").attr("fill","none").attr("stroke-width","0.5").attr("stroke",a).attr("d","Mstartx,startyc0,10 half,10 half,10c0,0 half,0 half,-10".replaceAll("startx",t.x).replaceAll("starty",t.y).replaceAll("half",t.width/2));break;case"system_queue":case"external_system_queue":case"container_queue":case"external_container_queue":case"component_queue":case"external_component_queue":l.append("path").attr("fill",i).attr("stroke-width","0.5").attr("stroke",a).attr("d","Mstartx,startylwidth,0c5,0 5,half 5,halfc0,0 0,half -5,halfl-width,0c-5,0 -5,-half -5,-halfc0,0 0,-half 5,-half".replaceAll("startx",t.x).replaceAll("starty",t.y).replaceAll("width",t.width).replaceAll("half",t.height/2)),l.append("path").attr("fill","none").attr("stroke-width","0.5").attr("stroke",a).attr("d","Mstartx,startyc-5,0 -5,half -5,halfc0,half 5,half 5,half".replaceAll("startx",t.x+t.width).replaceAll("starty",t.y).replaceAll("half",t.height/2))}let u=tP(n,t.typeC4Shape.text);switch(l.append("text").attr("fill",o).attr("font-family",u.fontFamily).attr("font-size",u.fontSize-2).attr("font-style","italic").attr("lengthAdjust","spacing").attr("textLength",t.typeC4Shape.width).attr("x",t.x+t.width/2-t.typeC4Shape.width/2).attr("y",t.y+t.typeC4Shape.Y).text("<<"+t.typeC4Shape.text+">>"),t.typeC4Shape.text){case"person":case"external_person":JL(l,48,48,t.x+t.width/2-24,t.y+t.image.Y,s)}let d=n[t.typeC4Shape.text+"Font"]();return d.fontWeight="bold",d.fontSize=d.fontSize+2,d.fontColor=o,nP(n)(t.label.text,l,t.x,t.y+t.label.Y,t.width,t.height,{fill:o},d),d=n[t.typeC4Shape.text+"Font"](),d.fontColor=o,t.techn&&""!==(null==(r=t.techn)?void 0:r.text)?nP(n)(t.techn.text,l,t.x,t.y+t.techn.Y,t.width,t.height,{fill:o,"font-style":"italic"},d):t.type&&""!==t.type.text&&nP(n)(t.type.text,l,t.x,t.y+t.type.Y,t.width,t.height,{fill:o,"font-style":"italic"},d),t.descr&&""!==t.descr.text&&(d=n.personFont(),d.fontColor=o,nP(n)(t.descr.text,l,t.x,t.y+t.descr.Y,t.width,t.height,{fill:o},d)),t.height},aP=(e,t,n)=>{const r=e.append("g");let i=0;for(let a of t){let e=a.textColor?a.textColor:"#444444",t=a.lineColor?a.lineColor:"#444444",o=a.offsetX?parseInt(a.offsetX):0,s=a.offsetY?parseInt(a.offsetY):0,l="";if(0===i){let e=r.append("line");e.attr("x1",a.startPoint.x),e.attr("y1",a.startPoint.y),e.attr("x2",a.endPoint.x),e.attr("y2",a.endPoint.y),e.attr("stroke-width","1"),e.attr("stroke",t),e.style("fill","none"),"rel_b"!==a.type&&e.attr("marker-end","url("+l+"#arrowhead)"),"birel"!==a.type&&"rel_b"!==a.type||e.attr("marker-start","url("+l+"#arrowend)"),i=-1}else{let e=r.append("path");e.attr("fill","none").attr("stroke-width","1").attr("stroke",t).attr("d","Mstartx,starty Qcontrolx,controly stopx,stopy ".replaceAll("startx",a.startPoint.x).replaceAll("starty",a.startPoint.y).replaceAll("controlx",a.startPoint.x+(a.endPoint.x-a.startPoint.x)/2-(a.endPoint.x-a.startPoint.x)/4).replaceAll("controly",a.startPoint.y+(a.endPoint.y-a.startPoint.y)/2).replaceAll("stopx",a.endPoint.x).replaceAll("stopy",a.endPoint.y)),"rel_b"!==a.type&&e.attr("marker-end","url("+l+"#arrowhead)"),"birel"!==a.type&&"rel_b"!==a.type||e.attr("marker-start","url("+l+"#arrowend)")}let c=n.messageFont();nP(n)(a.label.text,r,Math.min(a.startPoint.x,a.endPoint.x)+Math.abs(a.endPoint.x-a.startPoint.x)/2+o,Math.min(a.startPoint.y,a.endPoint.y)+Math.abs(a.endPoint.y-a.startPoint.y)/2+s,a.label.width,a.label.height,{fill:e},c),a.techn&&""!==a.techn.text&&(c=n.messageFont(),nP(n)("["+a.techn.text+"]",r,Math.min(a.startPoint.x,a.endPoint.x)+Math.abs(a.endPoint.x-a.startPoint.x)/2+o,Math.min(a.startPoint.y,a.endPoint.y)+Math.abs(a.endPoint.y-a.startPoint.y)/2+n.messageFontSize+5+s,Math.max(a.label.width,a.techn.width),a.techn.height,{fill:e,"font-style":"italic"},c))}},oP=function(e){e.append("defs").append("marker").attr("id","arrowhead").attr("refX",9).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z")},sP=function(e){e.append("defs").append("marker").attr("id","arrowend").attr("refX",1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 10 0 L 0 5 L 10 10 z")},lP=function(e){e.append("defs").append("marker").attr("id","filled-head").attr("refX",18).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},cP=function(e){const t=e.append("defs").append("marker").attr("id","crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",16).attr("refY",4);t.append("path").attr("fill","black").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 9,2 V 6 L16,4 Z"),t.append("path").attr("fill","none").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 0,1 L 6,7 M 6,1 L 0,7")},uP=function(e){e.append("defs").append("symbol").attr("id","database").attr("fill-rule","evenodd").attr("clip-rule","evenodd").append("path").attr("transform","scale(.5)").attr("d","M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z")},dP=function(e){e.append("defs").append("symbol").attr("id","computer").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z")},hP=function(e){e.append("defs").append("symbol").attr("id","clock").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z")};Fg.sanitizeUrl;let pP=0,gP=0,mP=4,_P=2;LL.yy=XL;let bP={};class fP{constructor(e){this.name="",this.data={},this.data.startx=void 0,this.data.stopx=void 0,this.data.starty=void 0,this.data.stopy=void 0,this.data.widthLimit=void 0,this.nextData={},this.nextData.startx=void 0,this.nextData.stopx=void 0,this.nextData.starty=void 0,this.nextData.stopy=void 0,this.nextData.cnt=0,yP(e.db.getConfig())}setData(e,t,n,r){this.nextData.startx=this.data.startx=e,this.nextData.stopx=this.data.stopx=t,this.nextData.starty=this.data.starty=n,this.nextData.stopy=this.data.stopy=r}updateVal(e,t,n,r){void 0===e[t]?e[t]=n:e[t]=r(n,e[t])}insert(e){this.nextData.cnt=this.nextData.cnt+1;let t=this.nextData.startx===this.nextData.stopx?this.nextData.stopx+e.margin:this.nextData.stopx+2*e.margin,n=t+e.width,r=this.nextData.starty+2*e.margin,i=r+e.height;(t>=this.data.widthLimit||n>=this.data.widthLimit||this.nextData.cnt>mP)&&(t=this.nextData.startx+e.margin+bP.nextLinePaddingX,r=this.nextData.stopy+2*e.margin,this.nextData.stopx=n=t+e.width,this.nextData.starty=this.nextData.stopy,this.nextData.stopy=i=r+e.height,this.nextData.cnt=1),e.x=t,e.y=r,this.updateVal(this.data,"startx",t,Math.min),this.updateVal(this.data,"starty",r,Math.min),this.updateVal(this.data,"stopx",n,Math.max),this.updateVal(this.data,"stopy",i,Math.max),this.updateVal(this.nextData,"startx",t,Math.min),this.updateVal(this.nextData,"starty",r,Math.min),this.updateVal(this.nextData,"stopx",n,Math.max),this.updateVal(this.nextData,"stopy",i,Math.max)}init(e){this.name="",this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,widthLimit:void 0},this.nextData={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,cnt:0},yP(e.db.getConfig())}bumpLastMargin(e){this.data.stopx+=e,this.data.stopy+=e}}const yP=function(e){AD(bP,e),e.fontFamily&&(bP.personFontFamily=bP.systemFontFamily=bP.messageFontFamily=e.fontFamily),e.fontSize&&(bP.personFontSize=bP.systemFontSize=bP.messageFontSize=e.fontSize),e.fontWeight&&(bP.personFontWeight=bP.systemFontWeight=bP.messageFontWeight=e.fontWeight)},vP=(e,t)=>({fontFamily:e[t+"FontFamily"],fontSize:e[t+"FontSize"],fontWeight:e[t+"FontWeight"]}),EP=e=>({fontFamily:e.boundaryFontFamily,fontSize:e.boundaryFontSize,fontWeight:e.boundaryFontWeight});function SP(e,t,n,r,i){if(!t[e].width)if(n)t[e].text=BD(t[e].text,i,r),t[e].textLines=t[e].text.split(BR.lineBreakRegex).length,t[e].width=i,t[e].height=GD(t[e].text,r);else{let n=t[e].text.split(BR.lineBreakRegex);t[e].textLines=n.length;let i=0;t[e].height=0,t[e].width=0;for(const a of n)t[e].width=Math.max(zD(a,r),t[e].width),i=GD(a,r),t[e].height=t[e].height+i}}const TP=function(e,t,n){t.x=n.data.startx,t.y=n.data.starty,t.width=n.data.stopx-n.data.startx,t.height=n.data.stopy-n.data.starty,t.label.y=bP.c4ShapeMargin-35;let r=t.wrap&&bP.wrap,i=EP(bP);i.fontSize=i.fontSize+2,i.fontWeight="bold",SP("label",t,r,i,zD(t.label.text,i)),rP(e,t,bP)},CP=function(e,t,n,r){let i=0;for(const a of r){i=0;const r=n[a];let o=vP(bP,r.typeC4Shape.text);switch(o.fontSize=o.fontSize-2,r.typeC4Shape.width=zD("<<"+r.typeC4Shape.text+">>",o),r.typeC4Shape.height=o.fontSize+2,r.typeC4Shape.Y=bP.c4ShapePadding,i=r.typeC4Shape.Y+r.typeC4Shape.height-4,r.image={width:0,height:0,Y:0},r.typeC4Shape.text){case"person":case"external_person":r.image.width=48,r.image.height=48,r.image.Y=i,i=r.image.Y+r.image.height}r.sprite&&(r.image.width=48,r.image.height=48,r.image.Y=i,i=r.image.Y+r.image.height);let s=r.wrap&&bP.wrap,l=bP.width-2*bP.c4ShapePadding,c=vP(bP,r.typeC4Shape.text);if(c.fontSize=c.fontSize+2,c.fontWeight="bold",SP("label",r,s,c,l),r.label.Y=i+8,i=r.label.Y+r.label.height,r.type&&""!==r.type.text){r.type.text="["+r.type.text+"]",SP("type",r,s,vP(bP,r.typeC4Shape.text),l),r.type.Y=i+5,i=r.type.Y+r.type.height}else if(r.techn&&""!==r.techn.text){r.techn.text="["+r.techn.text+"]",SP("techn",r,s,vP(bP,r.techn.text),l),r.techn.Y=i+5,i=r.techn.Y+r.techn.height}let u=i,d=r.label.width;if(r.descr&&""!==r.descr.text){SP("descr",r,s,vP(bP,r.typeC4Shape.text),l),r.descr.Y=i+20,i=r.descr.Y+r.descr.height,d=Math.max(r.label.width,r.descr.width),u=i-5*r.descr.textLines}d+=bP.c4ShapePadding,r.width=Math.max(r.width||bP.width,d,bP.width),r.height=Math.max(r.height||bP.height,u,bP.height),r.margin=r.margin||bP.c4ShapeMargin,e.insert(r),iP(t,r,bP)}e.bumpLastMargin(bP.c4ShapeMargin)};class xP{constructor(e,t){this.x=e,this.y=t}}let kP=function(e,t){let n=e.x,r=e.y,i=t.x,a=t.y,o=n+e.width/2,s=r+e.height/2,l=Math.abs(n-i),c=Math.abs(r-a),u=c/l,d=e.height/e.width,h=null;return r==a&&n<i?h=new xP(n+e.width,s):r==a&&n>i?h=new xP(n,s):n==i&&r<a?h=new xP(o,r+e.height):n==i&&r>a&&(h=new xP(o,r)),n>i&&r<a?h=d>=u?new xP(n,s+u*e.width/2):new xP(o-l/c*e.height/2,r+e.height):n<i&&r<a?h=d>=u?new xP(n+e.width,s+u*e.width/2):new xP(o+l/c*e.height/2,r+e.height):n<i&&r>a?h=d>=u?new xP(n+e.width,s-u*e.width/2):new xP(o+e.height/2*l/c,r):n>i&&r>a&&(h=d>=u?new xP(n,s-e.width/2*u):new xP(o-e.height/2*l/c,r)),h},AP=function(e,t){let n={x:0,y:0};n.x=t.x+t.width/2,n.y=t.y+t.height/2;let r=kP(e,n);return n.x=e.x+e.width/2,n.y=e.y+e.height/2,{startPoint:r,endPoint:kP(t,n)}};function wP(e,t,n,r,i){let a=new fP(i);a.data.widthLimit=n.data.widthLimit/Math.min(_P,r.length);for(let[o,s]of r.entries()){let r=0;s.image={width:0,height:0,Y:0},s.sprite&&(s.image.width=48,s.image.height=48,s.image.Y=r,r=s.image.Y+s.image.height);let l=s.wrap&&bP.wrap,c=EP(bP);if(c.fontSize=c.fontSize+2,c.fontWeight="bold",SP("label",s,l,c,a.data.widthLimit),s.label.Y=r+8,r=s.label.Y+s.label.height,s.type&&""!==s.type.text){s.type.text="["+s.type.text+"]",SP("type",s,l,EP(bP),a.data.widthLimit),s.type.Y=r+5,r=s.type.Y+s.type.height}if(s.descr&&""!==s.descr.text){let e=EP(bP);e.fontSize=e.fontSize-2,SP("descr",s,l,e,a.data.widthLimit),s.descr.Y=r+20,r=s.descr.Y+s.descr.height}if(0==o||o%_P==0){let e=n.data.startx+bP.diagramMarginX,t=n.data.stopy+bP.diagramMarginY+r;a.setData(e,e,t,t)}else{let e=a.data.stopx!==a.data.startx?a.data.stopx+bP.diagramMarginX:a.data.startx,t=a.data.starty;a.setData(e,e,t,t)}a.name=s.alias;let u=i.db.getC4ShapeArray(s.alias),d=i.db.getC4ShapeKeys(s.alias);d.length>0&&CP(a,e,u,d),t=s.alias;let h=i.db.getBoundarys(t);h.length>0&&wP(e,t,a,h,i),"global"!==s.alias&&TP(e,s,a),n.data.stopy=Math.max(a.data.stopy+bP.c4ShapeMargin,n.data.stopy),n.data.stopx=Math.max(a.data.stopx+bP.c4ShapeMargin,n.data.stopx),pP=Math.max(pP,n.data.stopx),gP=Math.max(gP,n.data.stopy)}}const NP={drawPersonOrSystemArray:CP,drawBoundary:TP,setConf:yP,draw:function(e,t,n,r){bP=aM().c4;const i=aM().securityLevel;let a;"sandbox"===i&&(a=k_("#i"+t));const o=k_("sandbox"===i?a.nodes()[0].contentDocument.body:"body");let s=r.db;r.db.setWrap(bP.wrap),mP=s.getC4ShapeInRow(),_P=s.getC4BoundaryInRow(),NR.debug(`C:${JSON.stringify(bP,null,2)}`);const l="sandbox"===i?o.select(`[id="${t}"]`):k_(`[id="${t}"]`);dP(l),uP(l),hP(l);let c=new fP(r);c.setData(bP.diagramMarginX,bP.diagramMarginX,bP.diagramMarginY,bP.diagramMarginY),c.data.widthLimit=screen.availWidth,pP=bP.diagramMarginX,gP=bP.diagramMarginY;const u=r.db.getTitle();wP(l,"",c,r.db.getBoundarys(""),r),oP(l),sP(l),cP(l),lP(l),function(e,t,n,r){let i=0;for(let o of t){i+=1;let e=o.wrap&&bP.wrap,t={fontFamily:(a=bP).messageFontFamily,fontSize:a.messageFontSize,fontWeight:a.messageFontWeight};"C4Dynamic"===r.db.getC4Type()&&(o.label.text=i+": "+o.label.text);let s=zD(o.label.text,t);SP("label",o,e,t,s),o.techn&&""!==o.techn.text&&(s=zD(o.techn.text,t),SP("techn",o,e,t,s)),o.descr&&""!==o.descr.text&&(s=zD(o.descr.text,t),SP("descr",o,e,t,s));let l=n(o.from),c=n(o.to),u=AP(l,c);o.startPoint=u.startPoint,o.endPoint=u.endPoint}var a;aP(e,t,bP)}(l,r.db.getRels(),r.db.getC4Shape,r),c.data.stopx=pP,c.data.stopy=gP;const d=c.data;let h=d.stopy-d.starty+2*bP.diagramMarginY;const p=d.stopx-d.startx+2*bP.diagramMarginX;u&&l.append("text").text(u).attr("x",(d.stopx-d.startx)/2-4*bP.diagramMarginX).attr("y",d.starty+bP.diagramMarginY),hM(l,h,p,bP.useMaxWidth);const g=u?60:0;l.attr("viewBox",d.startx-bP.diagramMarginX+" -"+(bP.diagramMarginY+g)+" "+p+" "+(h+g)),NR.debug("models:",d)}};var OP=function(){var e=function(e,t,n,r){for(n=n||{},r=e.length;r--;n[e[r]]=t);return n},t=[1,3],n=[1,7],r=[1,8],i=[1,9],a=[1,10],o=[1,13],s=[1,12],l=[1,16,25],c=[1,20],u=[1,32],d=[1,33],h=[1,34],p=[1,36],g=[1,39],m=[1,37],_=[1,38],b=[1,44],f=[1,45],y=[1,40],v=[1,41],E=[1,42],S=[1,43],T=[1,48],C=[1,49],x=[1,50],k=[1,51],A=[16,25],w=[1,65],N=[1,66],O=[1,67],R=[1,68],I=[1,69],D=[1,70],M=[1,71],L=[1,80],P=[16,25,32,45,46,54,60,61,62,63,64,65,66,71,73],j=[16,25,30,32,45,46,50,54,60,61,62,63,64,65,66,71,73,88,89,90,91],F=[5,8,9,10,11,16,19,23,25],B=[54,88,89,90,91],U=[54,65,66,88,89,90,91],G=[54,60,61,62,63,64,88,89,90,91],z=[16,25,32],$=[1,107],Y={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statments:5,direction:6,directive:7,direction_tb:8,direction_bt:9,direction_rl:10,direction_lr:11,graphConfig:12,openDirective:13,typeDirective:14,closeDirective:15,NEWLINE:16,":":17,argDirective:18,open_directive:19,type_directive:20,arg_directive:21,close_directive:22,CLASS_DIAGRAM:23,statements:24,EOF:25,statement:26,className:27,alphaNumToken:28,classLiteralName:29,GENERICTYPE:30,relationStatement:31,LABEL:32,classStatement:33,methodStatement:34,annotationStatement:35,clickStatement:36,cssClassStatement:37,noteStatement:38,acc_title:39,acc_title_value:40,acc_descr:41,acc_descr_value:42,acc_descr_multiline_value:43,CLASS:44,STYLE_SEPARATOR:45,STRUCT_START:46,members:47,STRUCT_STOP:48,ANNOTATION_START:49,ANNOTATION_END:50,MEMBER:51,SEPARATOR:52,relation:53,STR:54,NOTE_FOR:55,noteText:56,NOTE:57,relationType:58,lineType:59,AGGREGATION:60,EXTENSION:61,COMPOSITION:62,DEPENDENCY:63,LOLLIPOP:64,LINE:65,DOTTED_LINE:66,CALLBACK:67,LINK:68,LINK_TARGET:69,CLICK:70,CALLBACK_NAME:71,CALLBACK_ARGS:72,HREF:73,CSSCLASS:74,commentToken:75,textToken:76,graphCodeTokens:77,textNoTagsToken:78,TAGSTART:79,TAGEND:80,"==":81,"--":82,PCT:83,DEFAULT:84,SPACE:85,MINUS:86,keywords:87,UNICODE_TEXT:88,NUM:89,ALPHA:90,BQUOTE_STR:91,$accept:0,$end:1},terminals_:{2:"error",5:"statments",8:"direction_tb",9:"direction_bt",10:"direction_rl",11:"direction_lr",16:"NEWLINE",17:":",19:"open_directive",20:"type_directive",21:"arg_directive",22:"close_directive",23:"CLASS_DIAGRAM",25:"EOF",30:"GENERICTYPE",32:"LABEL",39:"acc_title",40:"acc_title_value",41:"acc_descr",42:"acc_descr_value",43:"acc_descr_multiline_value",44:"CLASS",45:"STYLE_SEPARATOR",46:"STRUCT_START",48:"STRUCT_STOP",49:"ANNOTATION_START",50:"ANNOTATION_END",51:"MEMBER",52:"SEPARATOR",54:"STR",55:"NOTE_FOR",57:"NOTE",60:"AGGREGATION",61:"EXTENSION",62:"COMPOSITION",63:"DEPENDENCY",64:"LOLLIPOP",65:"LINE",66:"DOTTED_LINE",67:"CALLBACK",68:"LINK",69:"LINK_TARGET",70:"CLICK",71:"CALLBACK_NAME",72:"CALLBACK_ARGS",73:"HREF",74:"CSSCLASS",77:"graphCodeTokens",79:"TAGSTART",80:"TAGEND",81:"==",82:"--",83:"PCT",84:"DEFAULT",85:"SPACE",86:"MINUS",87:"keywords",88:"UNICODE_TEXT",89:"NUM",90:"ALPHA",91:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[3,1],[3,2],[6,1],[6,1],[6,1],[6,1],[4,1],[7,4],[7,6],[13,1],[14,1],[18,1],[15,1],[12,4],[24,1],[24,2],[24,3],[27,1],[27,1],[27,2],[27,2],[27,2],[26,1],[26,2],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,2],[26,2],[26,1],[33,2],[33,4],[33,5],[33,7],[35,4],[47,1],[47,2],[34,1],[34,2],[34,1],[34,1],[31,3],[31,4],[31,4],[31,5],[38,3],[38,2],[53,3],[53,2],[53,2],[53,1],[58,1],[58,1],[58,1],[58,1],[58,1],[59,1],[59,1],[36,3],[36,4],[36,3],[36,4],[36,4],[36,5],[36,3],[36,4],[36,4],[36,5],[36,3],[36,4],[36,4],[36,5],[37,3],[75,1],[75,1],[76,1],[76,1],[76,1],[76,1],[76,1],[76,1],[76,1],[78,1],[78,1],[78,1],[78,1],[28,1],[28,1],[28,1],[29,1],[56,1]],performAction:function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 5:r.setDirection("TB");break;case 6:r.setDirection("BT");break;case 7:r.setDirection("RL");break;case 8:r.setDirection("LR");break;case 12:r.parseDirective("%%{","open_directive");break;case 13:r.parseDirective(a[s],"type_directive");break;case 14:a[s]=a[s].trim().replace(/'/g,'"'),r.parseDirective(a[s],"arg_directive");break;case 15:r.parseDirective("}%%","close_directive","class");break;case 20:case 21:this.$=a[s];break;case 22:this.$=a[s-1]+a[s];break;case 23:case 24:this.$=a[s-1]+"~"+a[s];break;case 25:r.addRelation(a[s]);break;case 26:a[s-1].title=r.cleanupLabel(a[s]),r.addRelation(a[s-1]);break;case 35:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 36:case 37:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 38:r.addClass(a[s]);break;case 39:r.addClass(a[s-2]),r.setCssClass(a[s-2],a[s]);break;case 40:r.addClass(a[s-3]),r.addMembers(a[s-3],a[s-1]);break;case 41:r.addClass(a[s-5]),r.setCssClass(a[s-5],a[s-3]),r.addMembers(a[s-5],a[s-1]);break;case 42:r.addAnnotation(a[s],a[s-2]);break;case 43:this.$=[a[s]];break;case 44:a[s].push(a[s-1]),this.$=a[s];break;case 45:case 47:case 48:break;case 46:r.addMember(a[s-1],r.cleanupLabel(a[s]));break;case 49:this.$={id1:a[s-2],id2:a[s],relation:a[s-1],relationTitle1:"none",relationTitle2:"none"};break;case 50:this.$={id1:a[s-3],id2:a[s],relation:a[s-1],relationTitle1:a[s-2],relationTitle2:"none"};break;case 51:this.$={id1:a[s-3],id2:a[s],relation:a[s-2],relationTitle1:"none",relationTitle2:a[s-1]};break;case 52:this.$={id1:a[s-4],id2:a[s],relation:a[s-2],relationTitle1:a[s-3],relationTitle2:a[s-1]};break;case 53:r.addNote(a[s],a[s-1]);break;case 54:r.addNote(a[s]);break;case 55:this.$={type1:a[s-2],type2:a[s],lineType:a[s-1]};break;case 56:this.$={type1:"none",type2:a[s],lineType:a[s-1]};break;case 57:this.$={type1:a[s-1],type2:"none",lineType:a[s]};break;case 58:this.$={type1:"none",type2:"none",lineType:a[s]};break;case 59:this.$=r.relationType.AGGREGATION;break;case 60:this.$=r.relationType.EXTENSION;break;case 61:this.$=r.relationType.COMPOSITION;break;case 62:this.$=r.relationType.DEPENDENCY;break;case 63:this.$=r.relationType.LOLLIPOP;break;case 64:this.$=r.lineType.LINE;break;case 65:this.$=r.lineType.DOTTED_LINE;break;case 66:case 72:this.$=a[s-2],r.setClickEvent(a[s-1],a[s]);break;case 67:case 73:this.$=a[s-3],r.setClickEvent(a[s-2],a[s-1]),r.setTooltip(a[s-2],a[s]);break;case 68:case 76:this.$=a[s-2],r.setLink(a[s-1],a[s]);break;case 69:case 77:this.$=a[s-3],r.setLink(a[s-2],a[s-1],a[s]);break;case 70:case 78:this.$=a[s-3],r.setLink(a[s-2],a[s-1]),r.setTooltip(a[s-2],a[s]);break;case 71:case 79:this.$=a[s-4],r.setLink(a[s-3],a[s-2],a[s]),r.setTooltip(a[s-3],a[s-1]);break;case 74:this.$=a[s-3],r.setClickEvent(a[s-2],a[s-1],a[s]);break;case 75:this.$=a[s-4],r.setClickEvent(a[s-3],a[s-2],a[s-1]),r.setTooltip(a[s-3],a[s]);break;case 80:r.setCssClass(a[s-1],a[s])}},table:[{3:1,4:2,5:t,6:4,7:5,8:n,9:r,10:i,11:a,12:6,13:11,19:o,23:s},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{3:14,4:2,5:t,6:4,7:5,8:n,9:r,10:i,11:a,12:6,13:11,19:o,23:s},{1:[2,9]},e(l,[2,5]),e(l,[2,6]),e(l,[2,7]),e(l,[2,8]),{14:15,20:[1,16]},{16:[1,17]},{20:[2,12]},{1:[2,4]},{15:18,17:[1,19],22:c},e([17,22],[2,13]),{6:31,7:30,8:n,9:r,10:i,11:a,13:11,19:o,24:21,26:22,27:35,28:46,29:47,31:23,33:24,34:25,35:26,36:27,37:28,38:29,39:u,41:d,43:h,44:p,49:g,51:m,52:_,55:b,57:f,67:y,68:v,70:E,74:S,88:T,89:C,90:x,91:k},{16:[1,52]},{18:53,21:[1,54]},{16:[2,15]},{25:[1,55]},{16:[1,56],25:[2,17]},e(A,[2,25],{32:[1,57]}),e(A,[2,27]),e(A,[2,28]),e(A,[2,29]),e(A,[2,30]),e(A,[2,31]),e(A,[2,32]),e(A,[2,33]),e(A,[2,34]),{40:[1,58]},{42:[1,59]},e(A,[2,37]),e(A,[2,45],{53:60,58:63,59:64,32:[1,62],54:[1,61],60:w,61:N,62:O,63:R,64:I,65:D,66:M}),{27:72,28:46,29:47,88:T,89:C,90:x,91:k},e(A,[2,47]),e(A,[2,48]),{28:73,88:T,89:C,90:x},{27:74,28:46,29:47,88:T,89:C,90:x,91:k},{27:75,28:46,29:47,88:T,89:C,90:x,91:k},{27:76,28:46,29:47,88:T,89:C,90:x,91:k},{54:[1,77]},{27:78,28:46,29:47,88:T,89:C,90:x,91:k},{54:L,56:79},e(P,[2,20],{28:46,29:47,27:81,30:[1,82],88:T,89:C,90:x,91:k}),e(P,[2,21],{30:[1,83]}),e(j,[2,94]),e(j,[2,95]),e(j,[2,96]),e([16,25,30,32,45,46,54,60,61,62,63,64,65,66,71,73],[2,97]),e(F,[2,10]),{15:84,22:c},{22:[2,14]},{1:[2,16]},{6:31,7:30,8:n,9:r,10:i,11:a,13:11,19:o,24:85,25:[2,18],26:22,27:35,28:46,29:47,31:23,33:24,34:25,35:26,36:27,37:28,38:29,39:u,41:d,43:h,44:p,49:g,51:m,52:_,55:b,57:f,67:y,68:v,70:E,74:S,88:T,89:C,90:x,91:k},e(A,[2,26]),e(A,[2,35]),e(A,[2,36]),{27:86,28:46,29:47,54:[1,87],88:T,89:C,90:x,91:k},{53:88,58:63,59:64,60:w,61:N,62:O,63:R,64:I,65:D,66:M},e(A,[2,46]),{59:89,65:D,66:M},e(B,[2,58],{58:90,60:w,61:N,62:O,63:R,64:I}),e(U,[2,59]),e(U,[2,60]),e(U,[2,61]),e(U,[2,62]),e(U,[2,63]),e(G,[2,64]),e(G,[2,65]),e(A,[2,38],{45:[1,91],46:[1,92]}),{50:[1,93]},{54:[1,94]},{54:[1,95]},{71:[1,96],73:[1,97]},{28:98,88:T,89:C,90:x},{54:L,56:99},e(A,[2,54]),e(A,[2,98]),e(P,[2,22]),e(P,[2,23]),e(P,[2,24]),{16:[1,100]},{25:[2,19]},e(z,[2,49]),{27:101,28:46,29:47,88:T,89:C,90:x,91:k},{27:102,28:46,29:47,54:[1,103],88:T,89:C,90:x,91:k},e(B,[2,57],{58:104,60:w,61:N,62:O,63:R,64:I}),e(B,[2,56]),{28:105,88:T,89:C,90:x},{47:106,51:$},{27:108,28:46,29:47,88:T,89:C,90:x,91:k},e(A,[2,66],{54:[1,109]}),e(A,[2,68],{54:[1,111],69:[1,110]}),e(A,[2,72],{54:[1,112],72:[1,113]}),e(A,[2,76],{54:[1,115],69:[1,114]}),e(A,[2,80]),e(A,[2,53]),e(F,[2,11]),e(z,[2,51]),e(z,[2,50]),{27:116,28:46,29:47,88:T,89:C,90:x,91:k},e(B,[2,55]),e(A,[2,39],{46:[1,117]}),{48:[1,118]},{47:119,48:[2,43],51:$},e(A,[2,42]),e(A,[2,67]),e(A,[2,69]),e(A,[2,70],{69:[1,120]}),e(A,[2,73]),e(A,[2,74],{54:[1,121]}),e(A,[2,77]),e(A,[2,78],{69:[1,122]}),e(z,[2,52]),{47:123,51:$},e(A,[2,40]),{48:[2,44]},e(A,[2,71]),e(A,[2,75]),e(A,[2,79]),{48:[1,124]},e(A,[2,41])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],6:[2,9],13:[2,12],14:[2,4],20:[2,15],54:[2,14],55:[2,16],85:[2,19],119:[2,44]},parseError:function(e,t){if(!t.recoverable){var n=new Error(e);throw n.hash=t,n}this.trace(e)},parse:function(e){var t=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",l=0,c=0,u=a.slice.call(arguments,1),d=Object.create(this.lexer),h={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(h.yy[p]=this.yy[p]);d.setInput(e,h.yy),h.yy.lexer=d,h.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var g=d.yylloc;a.push(g);var m=d.options&&d.options.ranges;"function"==typeof h.yy.parseError?this.parseError=h.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var _,b,f,y,v,E,S,T,C,x={};;){if(b=n[n.length-1],this.defaultActions[b]?f=this.defaultActions[b]:(null==_&&(C=void 0,"number"!=typeof(C=r.pop()||d.lex()||1)&&(C instanceof Array&&(C=(r=C).pop()),C=t.symbols_[C]||C),_=C),f=o[b]&&o[b][_]),void 0===f||!f.length||!f[0]){var k="";for(v in T=[],o[b])this.terminals_[v]&&v>2&&T.push("'"+this.terminals_[v]+"'");k=d.showPosition?"Parse error on line "+(l+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==_?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(k,{text:d.match,token:this.terminals_[_]||_,line:d.yylineno,loc:g,expected:T})}if(f[0]instanceof Array&&f.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+_);switch(f[0]){case 1:n.push(_),i.push(d.yytext),a.push(d.yylloc),n.push(f[1]),_=null,c=d.yyleng,s=d.yytext,l=d.yylineno,g=d.yylloc;break;case 2:if(E=this.productions_[f[1]][1],x.$=i[i.length-E],x._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},m&&(x._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),void 0!==(y=this.performAction.apply(x,[s,c,l,h.yy,f[1],i,a].concat(u))))return y;E&&(n=n.slice(0,-1*E*2),i=i.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[f[1]][0]),i.push(x.$),a.push(x._$),S=o[n[n.length-2]][n[n.length-1]],n.push(S);break;case 3:return!0}}return!0}},q=function(){var e={EOF:1,parseError:function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)}, +// resets the lexer, sets new input +setInput:function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this}, +// consumes and returns one char from the input +input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e}, +// unshifts one char (or a string) into the input +unput:function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this}, +// When called from action, caches matched text and appends it on next action +more:function(){return this._more=!0,this}, +// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead. +reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})}, +// retain first n characters of the match +less:function(e){this.unput(this.match.slice(e))}, +// displays already matched input, i.e. for error messages +pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")}, +// displays upcoming input, i.e. for error messages +upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")}, +// displays the character position where the lexing error occurred, i.e. for error messages +showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"}, +// test the lexed token: return FALSE when not a match, otherwise return token +test_match:function(e,t){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1}, +// return next match in input +next:function(){if(this.done)return this.EOF;var e,t,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!t||n[0].length>t[0].length)){if(t=n,r=a,this.options.backtrack_lexer){if(!1!==(e=this.test_match(n,i[a])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,i[r]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})}, +// return next match that has a token +lex:function(){var e=this.next();return e||this.lex()}, +// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack) +begin:function(e){this.conditionStack.push(e)}, +// pop the previously active lexer condition state off the condition stack +popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]}, +// produce the lexer rule set which is active for the currently active lexer condition state +_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules}, +// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available +topState:function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"}, +// alias for begin(condition) +pushState:function(e){this.begin(e)}, +// return the number of states currently on the stack +stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(e,t,n,r){switch(n){case 0:return this.begin("open_directive"),19;case 1:return 8;case 2:return 9;case 3:return 10;case 4:return 11;case 5:return this.begin("type_directive"),20;case 6:return this.popState(),this.begin("arg_directive"),17;case 7:return this.popState(),this.popState(),22;case 8:return 21;case 9:case 10:case 19:case 27:break;case 11:return this.begin("acc_title"),39;case 12:return this.popState(),"acc_title_value";case 13:return this.begin("acc_descr"),41;case 14:return this.popState(),"acc_descr_value";case 15:this.begin("acc_descr_multiline");break;case 16:case 39:case 42:case 45:case 48:case 51:case 54:this.popState();break;case 17:return"acc_descr_multiline_value";case 18:return 16;case 20:case 21:return 23;case 22:return this.begin("struct"),46;case 23:return"EDGE_STATE";case 24:return"EOF_IN_STRUCT";case 25:return"OPEN_IN_STRUCT";case 26:return this.popState(),48;case 28:return"MEMBER";case 29:return 44;case 30:return 74;case 31:return 67;case 32:return 68;case 33:return 70;case 34:return 55;case 35:return 57;case 36:return 49;case 37:return 50;case 38:this.begin("generic");break;case 40:return"GENERICTYPE";case 41:this.begin("string");break;case 43:return"STR";case 44:this.begin("bqstring");break;case 46:return"BQUOTE_STR";case 47:this.begin("href");break;case 49:return 73;case 50:this.begin("callback_name");break;case 52:this.popState(),this.begin("callback_args");break;case 53:return 71;case 55:return 72;case 56:case 57:case 58:case 59:return 69;case 60:case 61:return 61;case 62:case 63:return 63;case 64:return 62;case 65:return 60;case 66:return 64;case 67:return 65;case 68:return 66;case 69:return 32;case 70:return 45;case 71:return 86;case 72:return"DOT";case 73:return"PLUS";case 74:return 83;case 75:case 76:return"EQUALS";case 77:return 90;case 78:return"PUNCTUATION";case 79:return 89;case 80:return 88;case 81:return 85;case 82:return 25}},rules:[/^(?:%%\{)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:((?:(?!\}%%)[^:.])*))/,/^(?::)/,/^(?:\}%%)/,/^(?:((?:(?!\}%%).|\n)*))/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:classDiagram-v2\b)/,/^(?:classDiagram\b)/,/^(?:[{])/,/^(?:\[\*\])/,/^(?:$)/,/^(?:[{])/,/^(?:[}])/,/^(?:[\n])/,/^(?:[^{}\n]*)/,/^(?:class\b)/,/^(?:cssClass\b)/,/^(?:callback\b)/,/^(?:link\b)/,/^(?:click\b)/,/^(?:note for\b)/,/^(?:note\b)/,/^(?:<<)/,/^(?:>>)/,/^(?:[~])/,/^(?:[~])/,/^(?:[^~]*)/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:[`])/,/^(?:[`])/,/^(?:[^`]+)/,/^(?:href[\s]+["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:\s*<\|)/,/^(?:\s*\|>)/,/^(?:\s*>)/,/^(?:\s*<)/,/^(?:\s*\*)/,/^(?:\s*o\b)/,/^(?:\s*\(\))/,/^(?:--)/,/^(?:\.\.)/,/^(?::{1}[^:\n;]+)/,/^(?::{3})/,/^(?:-)/,/^(?:\.)/,/^(?:\+)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:\w+)/,/^(?:[!"#$%&'*+,-.`?\\/])/,/^(?:[0-9]+)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\s)/,/^(?:$)/],conditions:{acc_descr_multiline:{rules:[16,17],inclusive:!1},acc_descr:{rules:[14],inclusive:!1},acc_title:{rules:[12],inclusive:!1},arg_directive:{rules:[7,8],inclusive:!1},type_directive:{rules:[6,7],inclusive:!1},open_directive:{rules:[5],inclusive:!1},callback_args:{rules:[54,55],inclusive:!1},callback_name:{rules:[51,52,53],inclusive:!1},href:{rules:[48,49],inclusive:!1},struct:{rules:[23,24,25,26,27,28],inclusive:!1},generic:{rules:[39,40],inclusive:!1},bqstring:{rules:[45,46],inclusive:!1},string:{rules:[42,43],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,9,10,11,13,15,18,19,20,21,22,23,29,30,31,32,33,34,35,36,37,38,41,44,47,50,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82],inclusive:!0}}};return e}();function H(){this.yy={}}return Y.lexer=q,H.prototype=Y,Y.Parser=H,new H}();OP.parser=OP;const RP=OP,IP=(e,t)=>{var n;return"dagre-wrapper"!==(null==(n=null==t?void 0:t.class)?void 0:n.defaultRenderer)&&null!==e.match(/^\s*classDiagram/)},DP=(e,t)=>{var n;return null!==e.match(/^\s*classDiagram/)&&"dagre-wrapper"===(null==(n=null==t?void 0:t.class)?void 0:n.defaultRenderer)||null!==e.match(/^\s*classDiagram-v2/)},MP="classid-";let LP=[],PP={},jP=[],FP=0,BP=[];const UP=e=>BR.sanitizeText(e,aM()),GP=function(e){let t="",n=e;if(e.indexOf("~")>0){let r=e.split("~");n=r[0],t=BR.sanitizeText(r[1],aM())}return{className:n,type:t}},zP=function(e){let t=GP(e);void 0===PP[t.className]&&(PP[t.className]={id:t.className,type:t.type,cssClasses:[],methods:[],members:[],annotations:[],domId:MP+t.className+"-"+FP},FP++)},$P=function(e){const t=Object.keys(PP);for(const n of t)if(PP[n].id===e)return PP[n].domId},YP=function(e,t){const n=GP(e).className,r=PP[n];if("string"==typeof t){const e=t.trim();e.startsWith("<<")&&e.endsWith(">>")?r.annotations.push(UP(e.substring(2,e.length-2))):e.indexOf(")")>0?r.methods.push(UP(e)):e&&r.members.push(UP(e))}},qP=function(e,t){e.split(",").forEach((function(e){let n=e;e[0].match(/\d/)&&(n=MP+n),void 0!==PP[n]&&PP[n].cssClasses.push(t)}))},HP=function(e,t,n){const r=aM();let i=e,a=$P(i);if("loose"===r.securityLevel&&void 0!==t&&void 0!==PP[i]){let e=[];if("string"==typeof n){e=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let t=0;t<e.length;t++){let n=e[t].trim();'"'===n.charAt(0)&&'"'===n.charAt(n.length-1)&&(n=n.substr(1,n.length-2)),e[t]=n}}0===e.length&&e.push(a),BP.push((function(){const n=document.querySelector(`[id="${a}"]`);null!==n&&n.addEventListener("click",(function(){QD.runFunc(t,...e)}),!1)}))}},VP=function(e){let t=k_(".mermaidTooltip");null===(t._groups||t)[0][0]&&(t=k_("body").append("div").attr("class","mermaidTooltip").style("opacity",0));k_(e).select("svg").selectAll("g.node").on("mouseover",(function(){const e=k_(this);if(null===e.attr("title"))return;const n=this.getBoundingClientRect();t.transition().duration(200).style("opacity",".9"),t.text(e.attr("title")).style("left",window.scrollX+n.left+(n.right-n.left)/2+"px").style("top",window.scrollY+n.top-14+document.body.scrollTop+"px"),t.html(t.html().replace(/<br\/>/g,"<br/>")),e.classed("hover",!0)})).on("mouseout",(function(){t.transition().duration(500).style("opacity",0);k_(this).classed("hover",!1)}))};BP.push(VP);let WP="TB";const QP={parseDirective:function(e,t,n){cY.parseDirective(this,e,t,n)},setAccTitle:DM,getAccTitle:MM,getAccDescription:PM,setAccDescription:LM,getConfig:()=>aM().class,addClass:zP,bindFunctions:function(e){BP.forEach((function(t){t(e)}))},clear:function(){LP=[],PP={},jP=[],BP=[],BP.push(VP),IM()},getClass:function(e){return PP[e]},getClasses:function(){return PP},getNotes:function(){return jP},addAnnotation:function(e,t){const n=GP(e).className;PP[n].annotations.push(t)},addNote:function(e,t){const n={id:`note${jP.length}`,class:t,text:e};jP.push(n)},getRelations:function(){return LP},addRelation:function(e){NR.debug("Adding relation: "+JSON.stringify(e)),zP(e.id1),zP(e.id2),e.id1=GP(e.id1).className,e.id2=GP(e.id2).className,e.relationTitle1=BR.sanitizeText(e.relationTitle1.trim(),aM()),e.relationTitle2=BR.sanitizeText(e.relationTitle2.trim(),aM()),LP.push(e)},getDirection:()=>WP,setDirection:e=>{WP=e},addMember:YP,addMembers:function(e,t){Array.isArray(t)&&(t.reverse(),t.forEach((t=>YP(e,t))))},cleanupLabel:function(e){return":"===e.substring(0,1)?BR.sanitizeText(e.substr(1).trim(),aM()):UP(e.trim())},lineType:{LINE:0,DOTTED_LINE:1},relationType:{AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3,LOLLIPOP:4},setClickEvent:function(e,t,n){e.split(",").forEach((function(e){HP(e,t,n),PP[e].haveCallback=!0})),qP(e,"clickable")},setCssClass:qP,setLink:function(e,t,n){const r=aM();e.split(",").forEach((function(e){let i=e;e[0].match(/\d/)&&(i=MP+i),void 0!==PP[i]&&(PP[i].link=QD.formatUrl(t,r),"sandbox"===r.securityLevel?PP[i].linkTarget="_top":PP[i].linkTarget="string"==typeof n?UP(n):"_blank")})),qP(e,"clickable")},getTooltip:function(e){return PP[e].tooltip},setTooltip:function(e,t){const n=aM();e.split(",").forEach((function(e){void 0!==t&&(PP[e].tooltip=BR.sanitizeText(t,n))}))},lookUpDomId:$P,setDiagramTitle:jM,getDiagramTitle:FM};let KP=0;const XP=function(e){let t=e.match(/^([#+~-])?(\w+)(~\w+~|\[])?\s+(\w+) *([$*])?$/),n=e.match(/^([#+|~-])?(\w+) *\( *(.*)\) *([$*])? *(\w*[[\]|~]*\s*\w*~?)$/);return t&&!n?ZP(t):n?JP(n):ej(e)},ZP=function(e){let t="",n="";try{let r=e[1]?e[1].trim():"",i=e[2]?e[2].trim():"",a=e[3]?FR(e[3].trim()):"",o=e[4]?e[4].trim():"",s=e[5]?e[5].trim():"";n=r+i+a+" "+o,t=nj(s)}catch(r){n=e}return{displayText:n,cssStyle:t}},JP=function(e){let t="",n="";try{let r=e[1]?e[1].trim():"",i=e[2]?e[2].trim():"",a=e[3]?FR(e[3].trim()):"",o=e[4]?e[4].trim():"";n=r+i+"("+a+")"+(e[5]?" : "+FR(e[5]).trim():""),t=nj(o)}catch(r){n=e}return{displayText:n,cssStyle:t}},ej=function(e){let t="",n="",r="",i=e.indexOf("("),a=e.indexOf(")");if(i>1&&a>i&&a<=e.length){let o="",s="",l=e.substring(0,1);l.match(/\w/)?s=e.substring(0,i).trim():(l.match(/[#+~-]/)&&(o=l),s=e.substring(1,i).trim());const c=e.substring(i+1,a);e.substring(a+1,1),n=nj(e.substring(a+1,a+2)),t=o+s+"("+FR(c.trim())+")",a<e.length&&(r=e.substring(a+2).trim(),""!==r&&(r=" : "+FR(r),t+=r))}else t=FR(e);return{displayText:t,cssStyle:n}},tj=function(e,t,n,r){let i=XP(t);const a=e.append("tspan").attr("x",r.padding).text(i.displayText);""!==i.cssStyle&&a.attr("style",i.cssStyle),n||a.attr("dy",r.textHeight)},nj=function(e){switch(e){case"*":return"font-style:italic;";case"$":return"text-decoration:underline;";default:return""}},rj=function(e,t,n,r){NR.debug("Rendering class ",t,n);const i=t.id,a={id:i,label:t.id,width:0,height:0},o=e.append("g").attr("id",r.db.lookUpDomId(i)).attr("class","classGroup");let s;s=t.link?o.append("svg:a").attr("xlink:href",t.link).attr("target",t.linkTarget).append("text").attr("y",n.textHeight+n.padding).attr("x",0):o.append("text").attr("y",n.textHeight+n.padding).attr("x",0);let l=!0;t.annotations.forEach((function(e){const t=s.append("tspan").text("«"+e+"»");l||t.attr("dy",n.textHeight),l=!1}));let c=t.id;void 0!==t.type&&""!==t.type&&(c+="<"+t.type+">");const u=s.append("tspan").text(c).attr("class","title");l||u.attr("dy",n.textHeight);const d=s.node().getBBox().height,h=o.append("line").attr("x1",0).attr("y1",n.padding+d+n.dividerMargin/2).attr("y2",n.padding+d+n.dividerMargin/2),p=o.append("text").attr("x",n.padding).attr("y",d+n.dividerMargin+n.textHeight).attr("fill","white").attr("class","classText");l=!0,t.members.forEach((function(e){tj(p,e,l,n),l=!1}));const g=p.node().getBBox(),m=o.append("line").attr("x1",0).attr("y1",n.padding+d+n.dividerMargin+g.height).attr("y2",n.padding+d+n.dividerMargin+g.height),_=o.append("text").attr("x",n.padding).attr("y",d+2*n.dividerMargin+g.height+n.textHeight).attr("fill","white").attr("class","classText");l=!0,t.methods.forEach((function(e){tj(_,e,l,n),l=!1}));const b=o.node().getBBox();var f=" ";t.cssClasses.length>0&&(f+=t.cssClasses.join(" "));const y=o.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",b.width+2*n.padding).attr("height",b.height+n.padding+.5*n.dividerMargin).attr("class",f).node().getBBox().width;return s.node().childNodes.forEach((function(e){e.setAttribute("x",(y-e.getBBox().width)/2)})),t.tooltip&&s.insert("title").text(t.tooltip),h.attr("x2",y),m.attr("x2",y),a.width=y,a.height=b.height+n.padding+.5*n.dividerMargin,a},ij=function(e,t,n,r,i){const a=function(e){switch(e){case i.db.relationType.AGGREGATION:return"aggregation";case i.db.relationType.EXTENSION:return"extension";case i.db.relationType.COMPOSITION:return"composition";case i.db.relationType.DEPENDENCY:return"dependency";case i.db.relationType.LOLLIPOP:return"lollipop"}};t.points=t.points.filter((e=>!Number.isNaN(e.y)));const o=t.points,s=lS().x((function(e){return e.x})).y((function(e){return e.y})).curve(mS),l=e.append("path").attr("d",s(o)).attr("id","edge"+KP).attr("class","relation");let c,u,d="";r.arrowMarkerAbsolute&&(d=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,d=d.replace(/\(/g,"\\("),d=d.replace(/\)/g,"\\)")),1==n.relation.lineType&&l.attr("class","relation dashed-line"),10==n.relation.lineType&&l.attr("class","relation dotted-line"),"none"!==n.relation.type1&&l.attr("marker-start","url("+d+"#"+a(n.relation.type1)+"Start)"),"none"!==n.relation.type2&&l.attr("marker-end","url("+d+"#"+a(n.relation.type2)+"End)");const h=t.points.length;let p,g,m,_,b=QD.calcLabelPosition(t.points);if(c=b.x,u=b.y,h%2!=0&&h>1){let e=QD.calcCardinalityPosition("none"!==n.relation.type1,t.points,t.points[0]),r=QD.calcCardinalityPosition("none"!==n.relation.type2,t.points,t.points[h-1]);NR.debug("cardinality_1_point "+JSON.stringify(e)),NR.debug("cardinality_2_point "+JSON.stringify(r)),p=e.x,g=e.y,m=r.x,_=r.y}if(void 0!==n.title){const t=e.append("g").attr("class","classLabel"),i=t.append("text").attr("class","label").attr("x",c).attr("y",u).attr("fill","red").attr("text-anchor","middle").text(n.title);window.label=i;const a=i.node().getBBox();t.insert("rect",":first-child").attr("class","box").attr("x",a.x-r.padding/2).attr("y",a.y-r.padding/2).attr("width",a.width+r.padding).attr("height",a.height+r.padding)}if(NR.info("Rendering relation "+JSON.stringify(n)),void 0!==n.relationTitle1&&"none"!==n.relationTitle1){e.append("g").attr("class","cardinality").append("text").attr("class","type1").attr("x",p).attr("y",g).attr("fill","black").attr("font-size","6").text(n.relationTitle1)}if(void 0!==n.relationTitle2&&"none"!==n.relationTitle2){e.append("g").attr("class","cardinality").append("text").attr("class","type2").attr("x",m).attr("y",_).attr("fill","black").attr("font-size","6").text(n.relationTitle2)}KP++},aj=function(e,t,n,r){NR.debug("Rendering note ",t,n);const i=t.id,a={id:i,text:t.text,width:0,height:0},o=e.append("g").attr("id",i).attr("class","classGroup");let s=o.append("text").attr("y",n.textHeight+n.padding).attr("x",0);const l=JSON.parse(`"${t.text}"`).split("\n");l.forEach((function(e){NR.debug(`Adding line: ${e}`),s.append("tspan").text(e).attr("class","title").attr("dy",n.textHeight)}));const c=o.node().getBBox(),u=o.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",c.width+2*n.padding).attr("height",c.height+l.length*n.textHeight+n.padding+.5*n.dividerMargin).node().getBBox().width;return s.node().childNodes.forEach((function(e){e.setAttribute("x",(u-e.getBBox().width)/2)})),a.width=u,a.height=c.height+l.length*n.textHeight+n.padding+.5*n.dividerMargin,a};let oj={};const sj=function(e){const t=Object.entries(oj).find((t=>t[1].label===e));if(t)return t[0]},lj={draw:function(e,t,n,r){const i=aM().class;oj={},NR.info("Rendering diagram "+e);const a=aM().securityLevel;let o;"sandbox"===a&&(o=k_("#i"+t));const s=k_("sandbox"===a?o.nodes()[0].contentDocument.body:"body"),l=s.select(`[id='${t}']`);var c;(c=l).append("defs").append("marker").attr("id","extensionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),c.append("defs").append("marker").attr("id","extensionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z"),c.append("defs").append("marker").attr("id","compositionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),c.append("defs").append("marker").attr("id","compositionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),c.append("defs").append("marker").attr("id","aggregationStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),c.append("defs").append("marker").attr("id","aggregationEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),c.append("defs").append("marker").attr("id","dependencyStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),c.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z");const u=new LN({multigraph:!0});u.setGraph({isMultiGraph:!0}),u.setDefaultEdgeLabel((function(){return{}}));const d=r.db.getClasses(),h=Object.keys(d);for(const b of h){const e=d[b],t=rj(l,e,i,r);oj[t.id]=t,u.setNode(t.id,t),NR.info("Org height: "+t.height)}r.db.getRelations().forEach((function(e){NR.info("tjoho"+sj(e.id1)+sj(e.id2)+JSON.stringify(e)),u.setEdge(sj(e.id1),sj(e.id2),{relation:e},e.title||"DEFAULT")}));r.db.getNotes().forEach((function(e){NR.debug(`Adding note: ${JSON.stringify(e)}`);const t=aj(l,e,i,r);oj[t.id]=t,u.setNode(t.id,t),e.class&&e.class in d&&u.setEdge(e.id,sj(e.class),{relation:{id1:e.id,id2:e.class,relation:{type1:"none",type2:"none",lineType:10}}},"DEFAULT")})),WO(u),u.nodes().forEach((function(e){void 0!==e&&void 0!==u.node(e)&&(NR.debug("Node "+e+": "+JSON.stringify(u.node(e))),s.select("#"+(r.db.lookUpDomId(e)||e)).attr("transform","translate("+(u.node(e).x-u.node(e).width/2)+","+(u.node(e).y-u.node(e).height/2)+" )"))})),u.edges().forEach((function(e){void 0!==e&&void 0!==u.edge(e)&&(NR.debug("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(u.edge(e))),ij(l,u.edge(e),u.edge(e).relation,i,r))}));const p=l.node().getBBox(),g=p.width+40,m=p.height+40;hM(l,m,g,i.useMaxWidth);const _=`${p.x-20} ${p.y-20} ${g} ${m}`;NR.debug(`viewBox ${_}`),l.attr("viewBox",_)}},cj={extension:(e,t,n)=>{NR.trace("Making markers for ",n),e.append("defs").append("marker").attr("id",t+"-extensionStart").attr("class","marker extension "+t).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),e.append("defs").append("marker").attr("id",t+"-extensionEnd").attr("class","marker extension "+t).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z")},composition:(e,t)=>{e.append("defs").append("marker").attr("id",t+"-compositionStart").attr("class","marker composition "+t).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id",t+"-compositionEnd").attr("class","marker composition "+t).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},aggregation:(e,t)=>{e.append("defs").append("marker").attr("id",t+"-aggregationStart").attr("class","marker aggregation "+t).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id",t+"-aggregationEnd").attr("class","marker aggregation "+t).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},dependency:(e,t)=>{e.append("defs").append("marker").attr("id",t+"-dependencyStart").attr("class","marker dependency "+t).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id",t+"-dependencyEnd").attr("class","marker dependency "+t).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},lollipop:(e,t)=>{e.append("defs").append("marker").attr("id",t+"-lollipopStart").attr("class","marker lollipop "+t).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","white").attr("cx",6).attr("cy",7).attr("r",6)},point:(e,t)=>{e.append("marker").attr("id",t+"-pointEnd").attr("class","marker "+t).attr("viewBox","0 0 12 20").attr("refX",10).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),e.append("marker").attr("id",t+"-pointStart").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",0).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 5 L 10 10 L 10 0 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},circle:(e,t)=>{e.append("marker").attr("id",t+"-circleEnd").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",11).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),e.append("marker").attr("id",t+"-circleStart").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",-1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},cross:(e,t)=>{e.append("marker").attr("id",t+"-crossEnd").attr("class","marker cross "+t).attr("viewBox","0 0 11 11").attr("refX",12).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),e.append("marker").attr("id",t+"-crossStart").attr("class","marker cross "+t).attr("viewBox","0 0 11 11").attr("refX",-1).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0")},barb:(e,t)=>{e.append("defs").append("marker").attr("id",t+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","strokeWidth").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")}},uj=(e,t,n,r)=>{t.forEach((t=>{cj[t](e,n,r)}))};const dj=(e,t,n,r)=>{let i=e||"";if("object"==typeof i&&(i=i[0]),jR(aM().flowchart.htmlLabels)){i=i.replace(/\\n|\n/g,"<br />"),NR.info("vertexText"+i);let e=function(e){const t=k_(document.createElementNS("http://www.w3.org/2000/svg","foreignObject")),n=t.append("xhtml:div"),r=e.label,i=e.isNode?"nodeLabel":"edgeLabel";var a,o;return n.html('<span class="'+i+'" '+(e.labelStyle?'style="'+e.labelStyle+'"':"")+">"+r+"</span>"),a=n,(o=e.labelStyle)&&a.attr("style",o),n.style("display","inline-block"),n.style("white-space","nowrap"),n.attr("xmlns","http://www.w3.org/1999/xhtml"),t.node()}({isNode:r,label:eY(i).replace(/fa[blrs]?:fa-[\w-]+/g,(e=>`<i class='${e.replace(":"," ")}'></i>`)),labelStyle:t.replace("fill:","color:")});return e}{const e=document.createElementNS("http://www.w3.org/2000/svg","text");e.setAttribute("style",t.replace("color:","fill:"));let r=[];r="string"==typeof i?i.split(/\\n|\n|<br\s*\/?>/gi):Array.isArray(i)?i:[];for(const t of r){const r=document.createElementNS("http://www.w3.org/2000/svg","tspan");r.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),r.setAttribute("dy","1em"),r.setAttribute("x","0"),n?r.setAttribute("class","title-row"):r.setAttribute("class","row"),r.textContent=t.trim(),e.appendChild(r)}return e}},hj=(e,t,n,r)=>{let i;i=n||"node default";const a=e.insert("g").attr("class",i).attr("id",t.domId||t.id),o=a.insert("g").attr("class","label").attr("style",t.labelStyle);let s;s=void 0===t.labelText?"":"string"==typeof t.labelText?t.labelText:t.labelText[0];const l=o.node().appendChild(dj(DR(eY(s),aM()),t.labelStyle,!1,r));let c=l.getBBox();if(jR(aM().flowchart.htmlLabels)){const e=l.children[0],t=k_(l);c=e.getBoundingClientRect(),t.attr("width",c.width),t.attr("height",c.height)}const u=t.padding/2;return o.attr("transform","translate("+-c.width/2+", "+-c.height/2+")"),{shapeSvg:a,bbox:c,halfPadding:u,label:o}},pj=(e,t)=>{const n=t.node().getBBox();e.width=n.width,e.height=n.height};function gj(e,t,n,r){return e.insert("polygon",":first-child").attr("points",r.map((function(e){return e.x+","+e.y})).join(" ")).attr("class","label-container").attr("transform","translate("+-t/2+","+n/2+")")}let mj={},_j={},bj={};const fj=(e,t)=>(NR.trace("In isDecendant",t," ",e," = ",_j[t].includes(e)),!!_j[t].includes(e)),yj=(e,t,n,r)=>{NR.warn("Copying children of ",e,"root",r,"data",t.node(e),r);const i=t.children(e)||[];e!==r&&i.push(e),NR.warn("Copying (nodes) clusterId",e,"nodes",i),i.forEach((i=>{if(t.children(i).length>0)yj(i,t,n,r);else{const a=t.node(i);NR.info("cp ",i," to ",r," with parent ",e),n.setNode(i,a),r!==t.parent(i)&&(NR.warn("Setting parent",i,t.parent(i)),n.setParent(i,t.parent(i))),e!==r&&i!==e?(NR.debug("Setting parent",i,e),n.setParent(i,e)):(NR.info("In copy ",e,"root",r,"data",t.node(e),r),NR.debug("Not Setting parent for node=",i,"cluster!==rootId",e!==r,"node!==clusterId",i!==e));const o=t.edges(i);NR.debug("Copying Edges",o),o.forEach((i=>{NR.info("Edge",i);const a=t.edge(i.v,i.w,i.name);NR.info("Edge data",a,r);try{((e,t)=>(NR.info("Decendants of ",t," is ",_j[t]),NR.info("Edge is ",e),e.v!==t&&e.w!==t&&(_j[t]?_j[t].includes(e.v)||fj(e.v,t)||fj(e.w,t)||_j[t].includes(e.w):(NR.debug("Tilt, ",t,",not in decendants"),!1))))(i,r)?(NR.info("Copying as ",i.v,i.w,a,i.name),n.setEdge(i.v,i.w,a,i.name),NR.info("newGraph edges ",n.edges(),n.edge(n.edges()[0]))):NR.info("Skipping copy of edge ",i.v,"--\x3e",i.w," rootId: ",r," clusterId:",e)}catch(fR){NR.error(fR)}}))}NR.debug("Removing node",i),t.removeNode(i)}))},vj=(e,t)=>{const n=t.children(e);let r=[...n];for(const i of n)bj[i]=e,r=[...r,...vj(i,t)];return r},Ej=(e,t)=>{NR.trace("Searching",e);const n=t.children(e);if(NR.trace("Searching children of id ",e,n),n.length<1)return NR.trace("This is a valid node",e),e;for(const r of n){const n=Ej(r,t);if(n)return NR.trace("Found replacement for",e," => ",n),n}},Sj=e=>mj[e]&&mj[e].externalConnections&&mj[e]?mj[e].id:e,Tj=(e,t)=>{if(NR.warn("extractor - ",t,aR(e),e.children("D")),t>10)return void NR.error("Bailing out");let n=e.nodes(),r=!1;for(const i of n){const t=e.children(i);r=r||t.length>0}if(r){NR.debug("Nodes = ",n,t);for(const r of n)if(NR.debug("Extracting node",r,mj,mj[r]&&!mj[r].externalConnections,!e.parent(r),e.node(r),e.children("D")," Depth ",t),mj[r])if(!mj[r].externalConnections&&// !graph.parent(node) && +e.children(r)&&e.children(r).length>0){NR.warn("Cluster without external connections, without a parent and with children",r,t);let n="TB"===e.graph().rankdir?"LR":"TB";mj[r]&&mj[r].clusterData&&mj[r].clusterData.dir&&(n=mj[r].clusterData.dir,NR.warn("Fixing dir",mj[r].clusterData.dir,n));const i=new LN({multigraph:!0,compound:!0}).setGraph({rankdir:n, +// Todo: set proper spacing +nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel((function(){return{}}));NR.warn("Old graph before copy",aR(e)),yj(r,e,i,r),e.setNode(r,{clusterNode:!0,id:r,clusterData:mj[r].clusterData,labelText:mj[r].labelText,graph:i}),NR.warn("New graph after copy node: (",r,")",aR(i)),NR.debug("Old graph after copy",aR(e))}else NR.warn("Cluster ** ",r," **not meeting the criteria !externalConnections:",!mj[r].externalConnections," no parent: ",!e.parent(r)," children ",e.children(r)&&e.children(r).length>0,e.children("D"),t),NR.debug(mj);else NR.debug("Not a cluster",r,t);n=e.nodes(),NR.warn("New list of nodes",n);for(const r of n){const n=e.node(r);NR.warn(" Now next level",r,n),n.clusterNode&&Tj(n.graph,t+1)}}else NR.debug("Done, no node has children",e.nodes())},Cj=(e,t)=>{if(0===t.length)return[];let n=Object.assign(t);return t.forEach((t=>{const r=e.children(t),i=Cj(e,r);n=[...n,...i]})),n};function xj(e,t,n,r){var i=e.x,a=e.y,o=i-r.x,s=a-r.y,l=Math.sqrt(t*t*s*s+n*n*o*o),c=Math.abs(t*n*o/l);r.x<i&&(c=-c);var u=Math.abs(t*n*s/l);return r.y<a&&(u=-u),{x:i+c,y:a+u}}function kj(e,t,n,r){var i,a,o,s,l,c,u,d,h,p,g,m,_;if(i=t.y-e.y,o=e.x-t.x,l=t.x*e.y-e.x*t.y,h=i*n.x+o*n.y+l,p=i*r.x+o*r.y+l,!(0!==h&&0!==p&&Aj(h,p)||(a=r.y-n.y,s=n.x-r.x,c=r.x*n.y-n.x*r.y,u=a*e.x+s*e.y+c,d=a*t.x+s*t.y+c,0!==u&&0!==d&&Aj(u,d)||0==(g=i*s-a*o))))return m=Math.abs(g/2),{x:(_=o*c-s*l)<0?(_-m)/g:(_+m)/g,y:(_=a*l-i*c)<0?(_-m)/g:(_+m)/g}}function Aj(e,t){return e*t>0}const wj=(e,t)=>{var n,r,i=e.x,a=e.y,o=t.x-i,s=t.y-a,l=e.width/2,c=e.height/2;return Math.abs(s)*l>Math.abs(o)*c?(s<0&&(c=-c),n=0===s?0:c*o/s,r=c):(o<0&&(l=-l),n=l,r=0===o?0:l*s/o),{x:i+n,y:a+r}},Nj={node:function(e,t){return e.intersect(t)},circle:function(e,t,n){return xj(e,t,t,n)},ellipse:xj,polygon:function(e,t,n){var r=e.x,i=e.y,a=[],o=Number.POSITIVE_INFINITY,s=Number.POSITIVE_INFINITY;"function"==typeof t.forEach?t.forEach((function(e){o=Math.min(o,e.x),s=Math.min(s,e.y)})):(o=Math.min(o,t.x),s=Math.min(s,t.y));for(var l=r-e.width/2-o,c=i-e.height/2-s,u=0;u<t.length;u++){var d=t[u],h=t[u<t.length-1?u+1:0],p=kj(e,n,{x:l+d.x,y:c+d.y},{x:l+h.x,y:c+h.y});p&&a.push(p)}return a.length?(a.length>1&&a.sort((function(e,t){var r=e.x-n.x,i=e.y-n.y,a=Math.sqrt(r*r+i*i),o=t.x-n.x,s=t.y-n.y,l=Math.sqrt(o*o+s*s);return a<l?-1:a===l?0:1})),a[0]):e},rect:wj},Oj=(e,t)=>{const{shapeSvg:n,bbox:r}=hj(e,t,void 0,!0),i=r.width+t.padding+(r.height+t.padding),a=[{x:i/2,y:0},{x:i,y:-i/2},{x:i/2,y:-i},{x:0,y:-i/2}];NR.info("Question main (Circle)");const o=gj(n,i,i,a);return o.attr("style",t.style),pj(t,o),t.intersect=function(e){return NR.warn("Intersect called"),Nj.polygon(t,a,e)},n};function Rj(e,t,n,r){const i=[],a=e=>{i.push(e,0)},o=e=>{i.push(0,e)};t.includes("t")?(NR.debug("add top border"),a(n)):o(n),t.includes("r")?(NR.debug("add right border"),a(r)):o(r),t.includes("b")?(NR.debug("add bottom border"),a(n)):o(n),t.includes("l")?(NR.debug("add left border"),a(r)):o(r),e.attr("stroke-dasharray",i.join(" "))}const Ij=(e,t,n)=>{const r=e.insert("g").attr("class","node default").attr("id",t.domId||t.id);let i=70,a=10;"LR"===n&&(i=10,a=70);const o=r.append("rect").attr("x",-1*i/2).attr("y",-1*a/2).attr("width",i).attr("height",a).attr("class","fork-join");return pj(t,o),t.height=t.height+t.padding/2,t.width=t.width+t.padding/2,t.intersect=function(e){return Nj.rect(t,e)},r},Dj={rhombus:Oj,question:Oj,rect:(e,t)=>{const{shapeSvg:n,bbox:r,halfPadding:i}=hj(e,t,"node "+t.classes,!0);NR.trace("Classes = ",t.classes);const a=n.insert("rect",":first-child"),o=r.width+t.padding,s=r.height+t.padding;if(a.attr("class","basic label-container").attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("x",-r.width/2-i).attr("y",-r.height/2-i).attr("width",o).attr("height",s),t.props){const e=new Set(Object.keys(t.props));t.props.borders&&(Rj(a,t.props.borders,o,s),e.delete("borders")),e.forEach((e=>{NR.warn(`Unknown node property ${e}`)}))}return pj(t,a),t.intersect=function(e){return Nj.rect(t,e)},n},labelRect:(e,t)=>{const{shapeSvg:n}=hj(e,t,"label",!0);NR.trace("Classes = ",t.classes);const r=n.insert("rect",":first-child");if(r.attr("width",0).attr("height",0),n.attr("class","label edgeLabel"),t.props){const e=new Set(Object.keys(t.props));t.props.borders&&(Rj(r,t.props.borders,0,0),e.delete("borders")),e.forEach((e=>{NR.warn(`Unknown node property ${e}`)}))}return pj(t,r),t.intersect=function(e){return Nj.rect(t,e)},n},rectWithTitle:(e,t)=>{let n;n=t.classes?"node "+t.classes:"node default";const r=e.insert("g").attr("class",n).attr("id",t.domId||t.id),i=r.insert("rect",":first-child"),a=r.insert("line"),o=r.insert("g").attr("class","label"),s=t.labelText.flat?t.labelText.flat():t.labelText;let l="";l="object"==typeof s?s[0]:s,NR.info("Label text abc79",l,s,"object"==typeof s);const c=o.node().appendChild(dj(l,t.labelStyle,!0,!0));let u={width:0,height:0};if(jR(aM().flowchart.htmlLabels)){const e=c.children[0],t=k_(c);u=e.getBoundingClientRect(),t.attr("width",u.width),t.attr("height",u.height)}NR.info("Text 2",s);const d=s.slice(1,s.length);let h=c.getBBox();const p=o.node().appendChild(dj(d.join?d.join("<br/>"):d,t.labelStyle,!0,!0));if(jR(aM().flowchart.htmlLabels)){const e=p.children[0],t=k_(p);u=e.getBoundingClientRect(),t.attr("width",u.width),t.attr("height",u.height)}const g=t.padding/2;return k_(p).attr("transform","translate( "+(// (titleBox.width - bbox.width) / 2 + +u.width>h.width?0:(h.width-u.width)/2)+", "+(h.height+g+5)+")"),k_(c).attr("transform","translate( "+(// (titleBox.width - bbox.width) / 2 + +u.width<h.width?0:-(h.width-u.width)/2)+", 0)"),u=o.node().getBBox(),o.attr("transform","translate("+-u.width/2+", "+(-u.height/2-g+3)+")"),i.attr("class","outer title-state").attr("x",-u.width/2-g).attr("y",-u.height/2-g).attr("width",u.width+t.padding).attr("height",u.height+t.padding),a.attr("class","divider").attr("x1",-u.width/2-g).attr("x2",u.width/2+g).attr("y1",-u.height/2-g+h.height+g).attr("y2",-u.height/2-g+h.height+g),pj(t,i),t.intersect=function(e){return Nj.rect(t,e)},r},choice:(e,t)=>{const n=e.insert("g").attr("class","node default").attr("id",t.domId||t.id),r=[{x:0,y:14},{x:14,y:0},{x:0,y:-14},{x:-14,y:0}];return n.insert("polygon",":first-child").attr("points",r.map((function(e){return e.x+","+e.y})).join(" ")).attr("class","state-start").attr("r",7).attr("width",28).attr("height",28),t.width=28,t.height=28,t.intersect=function(e){return Nj.circle(t,14,e)},n},circle:(e,t)=>{const{shapeSvg:n,bbox:r,halfPadding:i}=hj(e,t,void 0,!0),a=n.insert("circle",":first-child");return a.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("r",r.width/2+i).attr("width",r.width+t.padding).attr("height",r.height+t.padding),NR.info("Circle main"),pj(t,a),t.intersect=function(e){return NR.info("Circle intersect",t,r.width/2+i,e),Nj.circle(t,r.width/2+i,e)},n},doublecircle:(e,t)=>{const{shapeSvg:n,bbox:r,halfPadding:i}=hj(e,t,void 0,!0),a=n.insert("g",":first-child"),o=a.insert("circle"),s=a.insert("circle");return o.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("r",r.width/2+i+5).attr("width",r.width+t.padding+10).attr("height",r.height+t.padding+10),s.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("r",r.width/2+i).attr("width",r.width+t.padding).attr("height",r.height+t.padding),NR.info("DoubleCircle main"),pj(t,o),t.intersect=function(e){return NR.info("DoubleCircle intersect",t,r.width/2+i+5,e),Nj.circle(t,r.width/2+i+5,e)},n},stadium:(e,t)=>{const{shapeSvg:n,bbox:r}=hj(e,t,void 0,!0),i=r.height+t.padding,a=r.width+i/4+t.padding,o=n.insert("rect",":first-child").attr("style",t.style).attr("rx",i/2).attr("ry",i/2).attr("x",-a/2).attr("y",-i/2).attr("width",a).attr("height",i);return pj(t,o),t.intersect=function(e){return Nj.rect(t,e)},n},hexagon:(e,t)=>{const{shapeSvg:n,bbox:r}=hj(e,t,void 0,!0),i=r.height+t.padding,a=i/4,o=r.width+2*a+t.padding,s=[{x:a,y:0},{x:o-a,y:0},{x:o,y:-i/2},{x:o-a,y:-i},{x:a,y:-i},{x:0,y:-i/2}],l=gj(n,o,i,s);return l.attr("style",t.style),pj(t,l),t.intersect=function(e){return Nj.polygon(t,s,e)},n},rect_left_inv_arrow:(e,t)=>{const{shapeSvg:n,bbox:r}=hj(e,t,void 0,!0),i=r.width+t.padding,a=r.height+t.padding,o=[{x:-a/2,y:0},{x:i,y:0},{x:i,y:-a},{x:-a/2,y:-a},{x:0,y:-a/2}];return gj(n,i,a,o).attr("style",t.style),t.width=i+a,t.height=a,t.intersect=function(e){return Nj.polygon(t,o,e)},n},lean_right:(e,t)=>{const{shapeSvg:n,bbox:r}=hj(e,t,void 0,!0),i=r.width+t.padding,a=r.height+t.padding,o=[{x:-2*a/6,y:0},{x:i-a/6,y:0},{x:i+2*a/6,y:-a},{x:a/6,y:-a}],s=gj(n,i,a,o);return s.attr("style",t.style),pj(t,s),t.intersect=function(e){return Nj.polygon(t,o,e)},n},lean_left:(e,t)=>{const{shapeSvg:n,bbox:r}=hj(e,t,void 0,!0),i=r.width+t.padding,a=r.height+t.padding,o=[{x:2*a/6,y:0},{x:i+a/6,y:0},{x:i-2*a/6,y:-a},{x:-a/6,y:-a}],s=gj(n,i,a,o);return s.attr("style",t.style),pj(t,s),t.intersect=function(e){return Nj.polygon(t,o,e)},n},trapezoid:(e,t)=>{const{shapeSvg:n,bbox:r}=hj(e,t,void 0,!0),i=r.width+t.padding,a=r.height+t.padding,o=[{x:-2*a/6,y:0},{x:i+2*a/6,y:0},{x:i-a/6,y:-a},{x:a/6,y:-a}],s=gj(n,i,a,o);return s.attr("style",t.style),pj(t,s),t.intersect=function(e){return Nj.polygon(t,o,e)},n},inv_trapezoid:(e,t)=>{const{shapeSvg:n,bbox:r}=hj(e,t,void 0,!0),i=r.width+t.padding,a=r.height+t.padding,o=[{x:a/6,y:0},{x:i-a/6,y:0},{x:i+2*a/6,y:-a},{x:-2*a/6,y:-a}],s=gj(n,i,a,o);return s.attr("style",t.style),pj(t,s),t.intersect=function(e){return Nj.polygon(t,o,e)},n},rect_right_inv_arrow:(e,t)=>{const{shapeSvg:n,bbox:r}=hj(e,t,void 0,!0),i=r.width+t.padding,a=r.height+t.padding,o=[{x:0,y:0},{x:i+a/2,y:0},{x:i,y:-a/2},{x:i+a/2,y:-a},{x:0,y:-a}],s=gj(n,i,a,o);return s.attr("style",t.style),pj(t,s),t.intersect=function(e){return Nj.polygon(t,o,e)},n},cylinder:(e,t)=>{const{shapeSvg:n,bbox:r}=hj(e,t,void 0,!0),i=r.width+t.padding,a=i/2,o=a/(2.5+i/50),s=r.height+o+t.padding,l="M 0,"+o+" a "+a+","+o+" 0,0,0 "+i+" 0 a "+a+","+o+" 0,0,0 "+-i+" 0 l 0,"+s+" a "+a+","+o+" 0,0,0 "+i+" 0 l 0,"+-s,c=n.attr("label-offset-y",o).insert("path",":first-child").attr("style",t.style).attr("d",l).attr("transform","translate("+-i/2+","+-(s/2+o)+")");return pj(t,c),t.intersect=function(e){const n=Nj.rect(t,e),r=n.x-t.x;if(0!=a&&(Math.abs(r)<t.width/2||Math.abs(r)==t.width/2&&Math.abs(n.y-t.y)>t.height/2-o)){let i=o*o*(1-r*r/(a*a));0!=i&&(i=Math.sqrt(i)),i=o-i,e.y-t.y>0&&(i=-i),n.y+=i}return n},n},start:(e,t)=>{const n=e.insert("g").attr("class","node default").attr("id",t.domId||t.id),r=n.insert("circle",":first-child");return r.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),pj(t,r),t.intersect=function(e){return Nj.circle(t,7,e)},n},end:(e,t)=>{const n=e.insert("g").attr("class","node default").attr("id",t.domId||t.id),r=n.insert("circle",":first-child"),i=n.insert("circle",":first-child");return i.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),r.attr("class","state-end").attr("r",5).attr("width",10).attr("height",10),pj(t,i),t.intersect=function(e){return Nj.circle(t,7,e)},n},note:(e,t)=>{const{shapeSvg:n,bbox:r,halfPadding:i}=hj(e,t,"node "+t.classes,!0);NR.info("Classes = ",t.classes);const a=n.insert("rect",":first-child");return a.attr("rx",t.rx).attr("ry",t.ry).attr("x",-r.width/2-i).attr("y",-r.height/2-i).attr("width",r.width+t.padding).attr("height",r.height+t.padding),pj(t,a),t.intersect=function(e){return Nj.rect(t,e)},n},subroutine:(e,t)=>{const{shapeSvg:n,bbox:r}=hj(e,t,void 0,!0),i=r.width+t.padding,a=r.height+t.padding,o=[{x:0,y:0},{x:i,y:0},{x:i,y:-a},{x:0,y:-a},{x:0,y:0},{x:-8,y:0},{x:i+8,y:0},{x:i+8,y:-a},{x:-8,y:-a},{x:-8,y:0}],s=gj(n,i,a,o);return s.attr("style",t.style),pj(t,s),t.intersect=function(e){return Nj.polygon(t,o,e)},n},fork:Ij,join:Ij,class_box:(e,t)=>{const n=t.padding/2;let r;r=t.classes?"node "+t.classes:"node default";const i=e.insert("g").attr("class",r).attr("id",t.domId||t.id),a=i.insert("rect",":first-child"),o=i.insert("line"),s=i.insert("line");let l=0,c=4;const u=i.insert("g").attr("class","label");let d=0;const h=t.classData.annotations&&t.classData.annotations[0],p=t.classData.annotations[0]?"«"+t.classData.annotations[0]+"»":"",g=u.node().appendChild(dj(p,t.labelStyle,!0,!0));let m=g.getBBox();if(jR(aM().flowchart.htmlLabels)){const e=g.children[0],t=k_(g);m=e.getBoundingClientRect(),t.attr("width",m.width),t.attr("height",m.height)}t.classData.annotations[0]&&(c+=m.height+4,l+=m.width);let _=t.classData.id;void 0!==t.classData.type&&""!==t.classData.type&&(aM().flowchart.htmlLabels?_+="<"+t.classData.type+">":_+="<"+t.classData.type+">");const b=u.node().appendChild(dj(_,t.labelStyle,!0,!0));k_(b).attr("class","classTitle");let f=b.getBBox();if(jR(aM().flowchart.htmlLabels)){const e=b.children[0],t=k_(b);f=e.getBoundingClientRect(),t.attr("width",f.width),t.attr("height",f.height)}c+=f.height+4,f.width>l&&(l=f.width);const y=[];t.classData.members.forEach((e=>{const n=XP(e);let r=n.displayText;aM().flowchart.htmlLabels&&(r=r.replace(/</g,"<").replace(/>/g,">"));const i=u.node().appendChild(dj(r,n.cssStyle?n.cssStyle:t.labelStyle,!0,!0));let a=i.getBBox();if(jR(aM().flowchart.htmlLabels)){const e=i.children[0],t=k_(i);a=e.getBoundingClientRect(),t.attr("width",a.width),t.attr("height",a.height)}a.width>l&&(l=a.width),c+=a.height+4,y.push(i)})),c+=8;const v=[];if(t.classData.methods.forEach((e=>{const n=XP(e);let r=n.displayText;aM().flowchart.htmlLabels&&(r=r.replace(/</g,"<").replace(/>/g,">"));const i=u.node().appendChild(dj(r,n.cssStyle?n.cssStyle:t.labelStyle,!0,!0));let a=i.getBBox();if(jR(aM().flowchart.htmlLabels)){const e=i.children[0],t=k_(i);a=e.getBoundingClientRect(),t.attr("width",a.width),t.attr("height",a.height)}a.width>l&&(l=a.width),c+=a.height+4,v.push(i)})),c+=8,h){let e=(l-m.width)/2;k_(g).attr("transform","translate( "+(-1*l/2+e)+", "+-1*c/2+")"),d=m.height+4}let E=(l-f.width)/2;return k_(b).attr("transform","translate( "+(-1*l/2+E)+", "+(-1*c/2+d)+")"),d+=f.height+4,o.attr("class","divider").attr("x1",-l/2-n).attr("x2",l/2+n).attr("y1",-c/2-n+8+d).attr("y2",-c/2-n+8+d),d+=8,y.forEach((e=>{k_(e).attr("transform","translate( "+-l/2+", "+(-1*c/2+d+4)+")"),d+=f.height+4})),d+=8,s.attr("class","divider").attr("x1",-l/2-n).attr("x2",l/2+n).attr("y1",-c/2-n+8+d).attr("y2",-c/2-n+8+d),d+=8,v.forEach((e=>{k_(e).attr("transform","translate( "+-l/2+", "+(-1*c/2+d)+")"),d+=f.height+4})),a.attr("class","outer title-state").attr("x",-l/2-n).attr("y",-c/2-n).attr("width",l+t.padding).attr("height",c+t.padding),pj(t,a),t.intersect=function(e){return Nj.rect(t,e)},i}};let Mj={};const Lj=(e,t,n)=>{let r,i;if(t.link){let a;"sandbox"===aM().securityLevel?a="_top":t.linkTarget&&(a=t.linkTarget||"_blank"),r=e.insert("svg:a").attr("xlink:href",t.link).attr("target",a),i=Dj[t.shape](r,t,n)}else i=Dj[t.shape](e,t,n),r=i;return t.tooltip&&i.attr("title",t.tooltip),t.class&&i.attr("class","node default "+t.class),Mj[t.id]=r,t.haveCallback&&Mj[t.id].attr("class",Mj[t.id].attr("class")+" clickable"),r},Pj=e=>{const t=Mj[e.id];NR.trace("Transforming node",e.diff,e,"translate("+(e.x-e.width/2-5)+", "+e.width/2+")");const n=e.diff||0;return e.clusterNode?t.attr("transform","translate("+(e.x+n-e.width/2)+", "+(e.y-e.height/2-8)+")"):t.attr("transform","translate("+e.x+", "+e.y+")"),n},jj={rect:(e,t)=>{NR.trace("Creating subgraph rect for ",t.id,t);const n=e.insert("g").attr("class","cluster"+(t.class?" "+t.class:"")).attr("id",t.id),r=n.insert("rect",":first-child"),i=n.insert("g").attr("class","cluster-label"),a=i.node().appendChild(dj(t.labelText,t.labelStyle,void 0,!0));let o=a.getBBox();if(jR(aM().flowchart.htmlLabels)){const e=a.children[0],t=k_(a);o=e.getBoundingClientRect(),t.attr("width",o.width),t.attr("height",o.height)}const s=0*t.padding,l=s/2,c=t.width<=o.width+s?o.width+s:t.width;t.width<=o.width+s?t.diff=(o.width-t.width)/2-t.padding/2:t.diff=-t.padding/2,NR.trace("Data ",t,JSON.stringify(t)),r.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-c/2).attr("y",t.y-t.height/2-l).attr("width",c).attr("height",t.height+s),i.attr("transform", +// This puts the labal on top of the box instead of inside it +// 'translate(' + (node.x - bbox.width / 2) + ', ' + (node.y - node.height / 2 - bbox.height) + ')' +"translate("+(t.x-o.width/2)+", "+(t.y-t.height/2)+")");const u=r.node().getBBox();return t.width=u.width,t.height=u.height,t.intersect=function(e){return wj(t,e)},n},roundedWithTitle:(e,t)=>{const n=e.insert("g").attr("class",t.classes).attr("id",t.id),r=n.insert("rect",":first-child"),i=n.insert("g").attr("class","cluster-label"),a=n.append("rect"),o=i.node().appendChild(dj(t.labelText,t.labelStyle,void 0,!0));let s=o.getBBox();if(jR(aM().flowchart.htmlLabels)){const e=o.children[0],t=k_(o);s=e.getBoundingClientRect(),t.attr("width",s.width),t.attr("height",s.height)}s=o.getBBox();const l=0*t.padding,c=l/2,u=t.width<=s.width+t.padding?s.width+t.padding:t.width;t.width<=s.width+t.padding?t.diff=(s.width+0*t.padding-t.width)/2:t.diff=-t.padding/2,r.attr("class","outer").attr("x",t.x-u/2-c).attr("y",t.y-t.height/2-c).attr("width",u+l).attr("height",t.height+l),a.attr("class","inner").attr("x",t.x-u/2-c).attr("y",t.y-t.height/2-c+s.height-1).attr("width",u+l).attr("height",t.height+l-s.height-3),i.attr("transform","translate("+(t.x-s.width/2)+", "+(t.y-t.height/2-t.padding/3+(jR(aM().flowchart.htmlLabels)?5:3))+")");const d=r.node().getBBox();return t.height=d.height,t.intersect=function(e){return wj(t,e)},n},noteGroup:(e,t)=>{const n=e.insert("g").attr("class","note-cluster").attr("id",t.id),r=n.insert("rect",":first-child"),i=0*t.padding,a=i/2;r.attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-t.width/2-a).attr("y",t.y-t.height/2-a).attr("width",t.width+i).attr("height",t.height+i).attr("fill","none");const o=r.node().getBBox();return t.width=o.width,t.height=o.height,t.intersect=function(e){return wj(t,e)},n},divider:(e,t)=>{const n=e.insert("g").attr("class",t.classes).attr("id",t.id),r=n.insert("rect",":first-child"),i=0*t.padding,a=i/2;r.attr("class","divider").attr("x",t.x-t.width/2-a).attr("y",t.y-t.height/2).attr("width",t.width+i).attr("height",t.height+i);const o=r.node().getBBox();return t.width=o.width,t.height=o.height,t.diff=-t.padding/2,t.intersect=function(e){return wj(t,e)},n}};let Fj={};let Bj={},Uj={};const Gj=(e,t)=>{const n=dj(t.label,t.labelStyle),r=e.insert("g").attr("class","edgeLabel"),i=r.insert("g").attr("class","label");i.node().appendChild(n);let a,o=n.getBBox();if(jR(aM().flowchart.htmlLabels)){const e=n.children[0],t=k_(n);o=e.getBoundingClientRect(),t.attr("width",o.width),t.attr("height",o.height)}if(i.attr("transform","translate("+-o.width/2+", "+-o.height/2+")"),Bj[t.id]=r,t.width=o.width,t.height=o.height,t.startLabelLeft){const n=dj(t.startLabelLeft,t.labelStyle),r=e.insert("g").attr("class","edgeTerminals"),i=r.insert("g").attr("class","inner");a=i.node().appendChild(n);const o=n.getBBox();i.attr("transform","translate("+-o.width/2+", "+-o.height/2+")"),Uj[t.id]||(Uj[t.id]={}),Uj[t.id].startLeft=r,zj(a,t.startLabelLeft)}if(t.startLabelRight){const n=dj(t.startLabelRight,t.labelStyle),r=e.insert("g").attr("class","edgeTerminals"),i=r.insert("g").attr("class","inner");a=r.node().appendChild(n),i.node().appendChild(n);const o=n.getBBox();i.attr("transform","translate("+-o.width/2+", "+-o.height/2+")"),Uj[t.id]||(Uj[t.id]={}),Uj[t.id].startRight=r,zj(a,t.startLabelRight)}if(t.endLabelLeft){const n=dj(t.endLabelLeft,t.labelStyle),r=e.insert("g").attr("class","edgeTerminals"),i=r.insert("g").attr("class","inner");a=i.node().appendChild(n);const o=n.getBBox();i.attr("transform","translate("+-o.width/2+", "+-o.height/2+")"),r.node().appendChild(n),Uj[t.id]||(Uj[t.id]={}),Uj[t.id].endLeft=r,zj(a,t.endLabelLeft)}if(t.endLabelRight){const n=dj(t.endLabelRight,t.labelStyle),r=e.insert("g").attr("class","edgeTerminals"),i=r.insert("g").attr("class","inner");a=i.node().appendChild(n);const o=n.getBBox();i.attr("transform","translate("+-o.width/2+", "+-o.height/2+")"),r.node().appendChild(n),Uj[t.id]||(Uj[t.id]={}),Uj[t.id].endRight=r,zj(a,t.endLabelRight)}return n};function zj(e,t){aM().flowchart.htmlLabels&&e&&(e.style.width=9*t.length+"px",e.style.height="12px")}const $j=(e,t)=>{NR.warn("abc88 cutPathAtIntersect",e,t);let n=[],r=e[0],i=!1;return e.forEach((e=>{if(NR.info("abc88 checking point",e,t),((e,t)=>{const n=e.x,r=e.y,i=Math.abs(t.x-n),a=Math.abs(t.y-r),o=e.width/2,s=e.height/2;return i>=o||a>=s})(t,e)||i)NR.warn("abc88 outside",e,r),r=e,i||n.push(e);else{const a=((e,t,n)=>{NR.warn(`intersection calc abc89:\n outsidePoint: ${JSON.stringify(t)}\n insidePoint : ${JSON.stringify(n)}\n node : x:${e.x} y:${e.y} w:${e.width} h:${e.height}`);const r=e.x,i=e.y,a=Math.abs(r-n.x),o=e.width/2;let s=n.x<t.x?o-a:o+a;const l=e.height/2,c=Math.abs(t.y-n.y),u=Math.abs(t.x-n.x);if(Math.abs(i-t.y)*o>Math.abs(r-t.x)*l){let e=n.y<t.y?t.y-l-i:i-l-t.y;s=u*e/c;const r={x:n.x<t.x?n.x+s:n.x-u+s,y:n.y<t.y?n.y+c-e:n.y-c+e};return 0===s&&(r.x=t.x,r.y=t.y),0===u&&(r.x=t.x),0===c&&(r.y=t.y),NR.warn(`abc89 topp/bott calc, Q ${c}, q ${e}, R ${u}, r ${s}`,r),r}{s=n.x<t.x?t.x-o-r:r-o-t.x;let e=c*s/u,i=n.x<t.x?n.x+u-s:n.x-u+s,a=n.y<t.y?n.y+e:n.y-e;return NR.warn(`sides calc abc89, Q ${c}, q ${e}, R ${u}, r ${s}`,{_x:i,_y:a}),0===s&&(i=t.x,a=t.y),0===u&&(i=t.x),0===c&&(a=t.y),{x:i,y:a}}})(t,r,e);NR.warn("abc88 inside",e,r,a),NR.warn("abc88 intersection",a);let o=!1;n.forEach((e=>{o=o||e.x===a.x&&e.y===a.y})),n.some((e=>e.x===a.x&&e.y===a.y))?NR.warn("abc88 no intersect",a,n):n.push(a),i=!0}})),NR.warn("abc88 returning points",n),n},Yj=(e,t,n,r)=>{NR.info("Graph in recursive render: XXX",aR(t),r);const i=t.graph().rankdir;NR.trace("Dir in recursive render - dir:",i);const a=e.insert("g").attr("class","root");t.nodes()?NR.info("Recursive render XXX",t.nodes()):NR.info("No nodes found for",t),t.edges().length>0&&NR.trace("Recursive edges",t.edge(t.edges()[0]));const o=a.insert("g").attr("class","clusters"),s=a.insert("g").attr("class","edgePaths"),l=a.insert("g").attr("class","edgeLabels"),c=a.insert("g").attr("class","nodes");t.nodes().forEach((function(e){const a=t.node(e);if(void 0!==r){const n=JSON.parse(JSON.stringify(r.clusterData));NR.info("Setting data for cluster XXX (",e,") ",n,r),t.setNode(r.id,n),t.parent(e)||(NR.trace("Setting parent",e,r.id),t.setParent(e,r.id,n))}if(NR.info("(Insert) Node XXX"+e+": "+JSON.stringify(t.node(e))),a&&a.clusterNode){NR.info("Cluster identified",e,a.width,t.node(e));const r=Yj(c,a.graph,n,t.node(e)),i=r.elem;pj(a,i),a.diff=r.diff||0,NR.info("Node bounds (abc123)",e,a,a.width,a.x,a.y),((e,t)=>{Mj[t.id]=e})(i,a),NR.warn("Recursive render complete ",i,a)}else t.children(e).length>0?(NR.info("Cluster - the non recursive path XXX",e,a.id,a,t),NR.info(Ej(a.id,t)),mj[a.id]={id:Ej(a.id,t),node:a}):(NR.info("Node - the non recursive path",e,a.id,a),Lj(c,t.node(e),i))})),t.edges().forEach((function(e){const n=t.edge(e.v,e.w,e.name);NR.info("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(e)),NR.info("Edge "+e.v+" -> "+e.w+": ",e," ",JSON.stringify(t.edge(e))),NR.info("Fix",mj,"ids:",e.v,e.w,"Translateing: ",mj[e.v],mj[e.w]),Gj(l,n)})),t.edges().forEach((function(e){NR.info("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(e))})),NR.info("#############################################"),NR.info("### Layout ###"),NR.info("#############################################"),NR.info(t),WO(t),NR.info("Graph after layout:",aR(t));let u=0;return(e=>Cj(e,e.children()))(t).forEach((function(e){const n=t.node(e);NR.info("Position "+e+": "+JSON.stringify(t.node(e))),NR.info("Position "+e+": ("+n.x,","+n.y,") width: ",n.width," height: ",n.height),n&&n.clusterNode?Pj(n):t.children(e).length>0?(((e,t)=>{NR.trace("Inserting cluster");const n=t.shape||"rect";Fj[t.id]=jj[n](e,t)})(o,n),mj[n.id].node=n):Pj(n)})),t.edges().forEach((function(e){const r=t.edge(e);NR.info("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(r),r);const i=function(e,t,n,r,i,a){let o=n.points,s=!1;const l=a.node(t.v);var c=a.node(t.w);NR.info("abc88 InsertEdge: ",n),c.intersect&&l.intersect&&(o=o.slice(1,n.points.length-1),o.unshift(l.intersect(o[0])),NR.info("Last point",o[o.length-1],c,c.intersect(o[o.length-1])),o.push(c.intersect(o[o.length-1]))),n.toCluster&&(NR.info("to cluster abc88",r[n.toCluster]),o=$j(n.points,r[n.toCluster].node),s=!0),n.fromCluster&&(NR.info("from cluster abc88",r[n.fromCluster]),o=$j(o.reverse(),r[n.fromCluster].node).reverse(),s=!0);const u=o.filter((e=>!Number.isNaN(e.y)));let d;d=("graph"===i||"flowchart"===i)&&n.curve||mS;const h=lS().x((function(e){return e.x})).y((function(e){return e.y})).curve(d);let p;switch(n.thickness){case"normal":p="edge-thickness-normal";break;case"thick":p="edge-thickness-thick";break;default:p=""}switch(n.pattern){case"solid":p+=" edge-pattern-solid";break;case"dotted":p+=" edge-pattern-dotted";break;case"dashed":p+=" edge-pattern-dashed"}const g=e.append("path").attr("d",h(u)).attr("id",n.id).attr("class"," "+p+(n.classes?" "+n.classes:"")).attr("style",n.style);let m="";switch((aM().flowchart.arrowMarkerAbsolute||aM().state.arrowMarkerAbsolute)&&(m=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,m=m.replace(/\(/g,"\\("),m=m.replace(/\)/g,"\\)")),NR.info("arrowTypeStart",n.arrowTypeStart),NR.info("arrowTypeEnd",n.arrowTypeEnd),n.arrowTypeStart){case"arrow_cross":g.attr("marker-start","url("+m+"#"+i+"-crossStart)");break;case"arrow_point":g.attr("marker-start","url("+m+"#"+i+"-pointStart)");break;case"arrow_barb":g.attr("marker-start","url("+m+"#"+i+"-barbStart)");break;case"arrow_circle":g.attr("marker-start","url("+m+"#"+i+"-circleStart)");break;case"aggregation":g.attr("marker-start","url("+m+"#"+i+"-aggregationStart)");break;case"extension":g.attr("marker-start","url("+m+"#"+i+"-extensionStart)");break;case"composition":g.attr("marker-start","url("+m+"#"+i+"-compositionStart)");break;case"dependency":g.attr("marker-start","url("+m+"#"+i+"-dependencyStart)");break;case"lollipop":g.attr("marker-start","url("+m+"#"+i+"-lollipopStart)")}switch(n.arrowTypeEnd){case"arrow_cross":g.attr("marker-end","url("+m+"#"+i+"-crossEnd)");break;case"arrow_point":g.attr("marker-end","url("+m+"#"+i+"-pointEnd)");break;case"arrow_barb":g.attr("marker-end","url("+m+"#"+i+"-barbEnd)");break;case"arrow_circle":g.attr("marker-end","url("+m+"#"+i+"-circleEnd)");break;case"aggregation":g.attr("marker-end","url("+m+"#"+i+"-aggregationEnd)");break;case"extension":g.attr("marker-end","url("+m+"#"+i+"-extensionEnd)");break;case"composition":g.attr("marker-end","url("+m+"#"+i+"-compositionEnd)");break;case"dependency":g.attr("marker-end","url("+m+"#"+i+"-dependencyEnd)");break;case"lollipop":g.attr("marker-end","url("+m+"#"+i+"-lollipopEnd)")}let _={};return s&&(_.updatedPath=o),_.originalPath=n.points,_}(s,e,r,mj,n,t);((e,t)=>{NR.info("Moving label abc78 ",e.id,e.label,Bj[e.id]);let n=t.updatedPath?t.updatedPath:t.originalPath;if(e.label){const r=Bj[e.id];let i=e.x,a=e.y;if(n){const r=QD.calcLabelPosition(n);NR.info("Moving label "+e.label+" from (",i,",",a,") to (",r.x,",",r.y,") abc78"),t.updatedPath&&(i=r.x,a=r.y)}r.attr("transform","translate("+i+", "+a+")")}if(e.startLabelLeft){const t=Uj[e.id].startLeft;let r=e.x,i=e.y;if(n){const t=QD.calcTerminalLabelPosition(e.arrowTypeStart?10:0,"start_left",n);r=t.x,i=t.y}t.attr("transform","translate("+r+", "+i+")")}if(e.startLabelRight){const t=Uj[e.id].startRight;let r=e.x,i=e.y;if(n){const t=QD.calcTerminalLabelPosition(e.arrowTypeStart?10:0,"start_right",n);r=t.x,i=t.y}t.attr("transform","translate("+r+", "+i+")")}if(e.endLabelLeft){const t=Uj[e.id].endLeft;let r=e.x,i=e.y;if(n){const t=QD.calcTerminalLabelPosition(e.arrowTypeEnd?10:0,"end_left",n);r=t.x,i=t.y}t.attr("transform","translate("+r+", "+i+")")}if(e.endLabelRight){const t=Uj[e.id].endRight;let r=e.x,i=e.y;if(n){const t=QD.calcTerminalLabelPosition(e.arrowTypeEnd?10:0,"end_right",n);r=t.x,i=t.y}t.attr("transform","translate("+r+", "+i+")")}})(r,i)})),t.nodes().forEach((function(e){const n=t.node(e);NR.info(e,n.type,n.diff),"group"===n.type&&(u=n.diff)})),{elem:a,diff:u}},qj=(e,t,n,r,i)=>{uj(e,n,r,i),Mj={},Bj={},Uj={},Fj={},_j={},bj={},mj={},NR.warn("Graph at first:",aR(t)),((e,t)=>{!e||t>10?NR.debug("Opting out, no graph "):(NR.debug("Opting in, graph "),e.nodes().forEach((function(t){e.children(t).length>0&&(NR.warn("Cluster identified",t," Replacement id in edges: ",Ej(t,e)),_j[t]=vj(t,e),mj[t]={id:Ej(t,e),clusterData:e.node(t)})})),e.nodes().forEach((function(t){const n=e.children(t),r=e.edges();n.length>0?(NR.debug("Cluster identified",t,_j),r.forEach((e=>{e.v!==t&&e.w!==t&&fj(e.v,t)^fj(e.w,t)&&(NR.warn("Edge: ",e," leaves cluster ",t),NR.warn("Decendants of XXX ",t,": ",_j[t]),mj[t].externalConnections=!0)}))):NR.debug("Not a cluster ",t,_j)})),e.edges().forEach((function(t){const n=e.edge(t);NR.warn("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(t)),NR.warn("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(e.edge(t)));let r=t.v,i=t.w;if(NR.warn("Fix XXX",mj,"ids:",t.v,t.w,"Translating: ",mj[t.v]," --- ",mj[t.w]),mj[t.v]&&mj[t.w]&&mj[t.v]===mj[t.w]){NR.warn("Fixing and trixing link to self - removing XXX",t.v,t.w,t.name),NR.warn("Fixing and trixing - removing XXX",t.v,t.w,t.name),r=Sj(t.v),i=Sj(t.w),e.removeEdge(t.v,t.w,t.name);const a=t.w+"---"+t.v;e.setNode(a,{domId:a,id:a,labelStyle:"",labelText:n.label,padding:0,shape:"labelRect",style:""});const o=JSON.parse(JSON.stringify(n)),s=JSON.parse(JSON.stringify(n));o.label="",o.arrowTypeEnd="none",s.label="",o.fromCluster=t.v,s.toCluster=t.v,e.setEdge(r,a,o,t.name+"-cyclic-special"),e.setEdge(a,i,s,t.name+"-cyclic-special")}else(mj[t.v]||mj[t.w])&&(NR.warn("Fixing and trixing - removing XXX",t.v,t.w,t.name),r=Sj(t.v),i=Sj(t.w),e.removeEdge(t.v,t.w,t.name),r!==t.v&&(n.fromCluster=t.v),i!==t.w&&(n.toCluster=t.w),NR.warn("Fix Replacing with XXX",r,i,t.name),e.setEdge(r,i,n,t.name))})),NR.warn("Adjusted Graph",aR(e)),Tj(e,0),NR.trace(mj))})(t),NR.warn("Graph after:",aR(t)),Yj(e,t,r)},Hj=e=>BR.sanitizeText(e,aM());let Vj={dividerMargin:10,padding:5,textHeight:10};function Wj(e){let t;switch(e){case 0:t="aggregation";break;case 1:t="extension";break;case 2:t="composition";break;case 3:t="dependency";break;case 4:t="lollipop";break;default:t="none"}return t}const Qj={setConf:function(e){Object.keys(e).forEach((function(t){Vj[t]=e[t]}))},draw:function(e,t,n,r){NR.info("Drawing class - ",t);const i=aM().flowchart,a=aM().securityLevel;NR.info("config:",i);const o=i.nodeSpacing||50,s=i.rankSpacing||50,l=new LN({multigraph:!0,compound:!0}).setGraph({rankdir:r.db.getDirection(),nodesep:o,ranksep:s,marginx:8,marginy:8}).setDefaultEdgeLabel((function(){return{}})),c=r.db.getClasses(),u=r.db.getRelations(),d=r.db.getNotes();let h;NR.info(u),function(e,t,n,r){const i=Object.keys(e);NR.info("keys:",i),NR.info(e),i.forEach((function(n){const i=e[n];let a="";i.cssClasses.length>0&&(a=a+" "+i.cssClasses.join(" "));const o={labelStyle:""};let s=void 0!==i.text?i.text:i.id,l="";i.type,l="class_box",t.setNode(i.id,{labelStyle:o.labelStyle,shape:l,labelText:Hj(s),classData:i,rx:0,ry:0,class:a,style:o.style,id:i.id,domId:i.domId,tooltip:r.db.getTooltip(i.id)||"",haveCallback:i.haveCallback,link:i.link,width:"group"===i.type?500:void 0,type:i.type,padding:aM().flowchart.padding}),NR.info("setNode",{labelStyle:o.labelStyle,shape:l,labelText:s,rx:0,ry:0,class:a,style:o.style,id:i.id,width:"group"===i.type?500:void 0,type:i.type,padding:aM().flowchart.padding})}))}(c,l,0,r),function(e,t){const n=aM().flowchart;let r=0;e.forEach((function(i){r++;const a={classes:"relation"};a.pattern=1==i.relation.lineType?"dashed":"solid",a.id="id"+r,"arrow_open"===i.type?a.arrowhead="none":a.arrowhead="normal",NR.info(a,i),a.startLabelRight="none"===i.relationTitle1?"":i.relationTitle1,a.endLabelLeft="none"===i.relationTitle2?"":i.relationTitle2,a.arrowTypeStart=Wj(i.relation.type1),a.arrowTypeEnd=Wj(i.relation.type2);let o="",s="";if(void 0!==i.style){const e=MD(i.style);o=e.style,s=e.labelStyle}else o="fill:none";a.style=o,a.labelStyle=s,void 0!==i.interpolate?a.curve=ID(i.interpolate,aS):void 0!==e.defaultInterpolate?a.curve=ID(e.defaultInterpolate,aS):a.curve=ID(n.curve,aS),i.text=i.title,void 0===i.text?void 0!==i.style&&(a.arrowheadStyle="fill: #333"):(a.arrowheadStyle="fill: #333",a.labelpos="c",aM().flowchart.htmlLabels?(a.labelType="html",a.label='<span class="edgeLabel">'+i.text+"</span>"):(a.labelType="text",a.label=i.text.replace(BR.lineBreakRegex,"\n"),void 0===i.style&&(a.style=a.style||"stroke: #333; stroke-width: 1.5px;fill:none"),a.labelStyle=a.labelStyle.replace("color:","fill:"))),t.setEdge(i.id1,i.id2,a,r)}))}(u,l),function(e,t,n,r){NR.info(e),e.forEach((function(e,i){const a=e,o="",s="";let l=a.text,c="note";if(t.setNode(a.id,{labelStyle:o,shape:c,labelText:Hj(l),noteData:a,rx:0,ry:0,class:"",style:s,id:a.id,domId:a.id,tooltip:"",type:"note",padding:aM().flowchart.padding}),NR.info("setNode",{labelStyle:o,shape:c,labelText:l,rx:0,ry:0,style:s,id:a.id,type:"note",padding:aM().flowchart.padding}),!a.class||!(a.class in r))return;const u=n+i,d={classes:"relation",pattern:"dotted"};d.id=`edgeNote${u}`,d.arrowhead="none",NR.info(`Note edge: ${JSON.stringify(d)}, ${JSON.stringify(a)}`),d.startLabelRight="",d.endLabelLeft="",d.arrowTypeStart="none",d.arrowTypeEnd="none",d.style="fill:none",d.labelStyle="",d.curve=ID(Vj.curve,aS),t.setEdge(a.id,a.class,d,u)}))}(d,l,u.length+1,c),"sandbox"===a&&(h=k_("#i"+t));const p=k_("sandbox"===a?h.nodes()[0].contentDocument.body:"body"),g=p.select(`[id="${t}"]`),m=p.select("#"+t+" g");if(qj(m,l,["aggregation","extension","composition","dependency","lollipop"],"classDiagram",t),QD.insertTitle(g,"classTitleText",i.titleTopMargin,r.db.getDiagramTitle()),pM(l,g,i.diagramPadding,i.useMaxWidth),!i.htmlLabels){const e="sandbox"===a?h.nodes()[0].contentDocument:document,n=e.querySelectorAll('[id="'+t+'"] .edgeLabel .label');for(const t of n){const n=t.getBBox(),r=e.createElementNS("http://www.w3.org/2000/svg","rect");r.setAttribute("rx",0),r.setAttribute("ry",0),r.setAttribute("width",n.width),r.setAttribute("height",n.height),t.insertBefore(r,t.firstChild)}}}};var Kj=function(){var e=function(e,t,n,r){for(n=n||{},r=e.length;r--;n[e[r]]=t);return n},t=[1,2],n=[1,5],r=[6,9,11,23,25,27,29,30,31,51],i=[1,17],a=[1,18],o=[1,19],s=[1,20],l=[1,21],c=[1,22],u=[1,25],d=[1,30],h=[1,31],p=[1,32],g=[1,33],m=[6,9,11,15,20,23,25,27,29,30,31,44,45,46,47,51],_=[1,45],b=[30,31,48,49],f=[4,6,9,11,23,25,27,29,30,31,51],y=[44,45,46,47],v=[22,37],E=[1,65],S=[1,64],T=[22,37,39,41],C={trace:function(){},yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,entityName:17,relSpec:18,role:19,BLOCK_START:20,attributes:21,BLOCK_STOP:22,title:23,title_value:24,acc_title:25,acc_title_value:26,acc_descr:27,acc_descr_value:28,acc_descr_multiline_value:29,ALPHANUM:30,ENTITY_NAME:31,attribute:32,attributeType:33,attributeName:34,attributeKeyTypeList:35,attributeComment:36,ATTRIBUTE_WORD:37,attributeKeyType:38,COMMA:39,ATTRIBUTE_KEY:40,COMMENT:41,cardinality:42,relType:43,ZERO_OR_ONE:44,ZERO_OR_MORE:45,ONE_OR_MORE:46,ONLY_ONE:47,NON_IDENTIFYING:48,IDENTIFYING:49,WORD:50,open_directive:51,type_directive:52,arg_directive:53,close_directive:54,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",20:"BLOCK_START",22:"BLOCK_STOP",23:"title",24:"title_value",25:"acc_title",26:"acc_title_value",27:"acc_descr",28:"acc_descr_value",29:"acc_descr_multiline_value",30:"ALPHANUM",31:"ENTITY_NAME",37:"ATTRIBUTE_WORD",39:"COMMA",40:"ATTRIBUTE_KEY",41:"COMMENT",44:"ZERO_OR_ONE",45:"ZERO_OR_MORE",46:"ONE_OR_MORE",47:"ONLY_ONE",48:"NON_IDENTIFYING",49:"IDENTIFYING",50:"WORD",51:"open_directive",52:"type_directive",53:"arg_directive",54:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,5],[10,4],[10,3],[10,1],[10,2],[10,2],[10,2],[10,1],[17,1],[17,1],[21,1],[21,2],[32,2],[32,3],[32,3],[32,4],[33,1],[34,1],[35,1],[35,3],[38,1],[36,1],[18,3],[42,1],[42,1],[42,1],[42,1],[43,1],[43,1],[19,1],[19,1],[19,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 1:break;case 3:case 7:case 8:this.$=[];break;case 4:a[s-1].push(a[s]),this.$=a[s-1];break;case 5:case 6:case 20:case 43:case 28:case 29:case 32:this.$=a[s];break;case 12:r.addEntity(a[s-4]),r.addEntity(a[s-2]),r.addRelationship(a[s-4],a[s],a[s-2],a[s-3]);break;case 13:r.addEntity(a[s-3]),r.addAttributes(a[s-3],a[s-1]);break;case 14:r.addEntity(a[s-2]);break;case 15:r.addEntity(a[s]);break;case 16:case 17:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 18:case 19:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 21:case 41:case 42:case 33:this.$=a[s].replace(/"/g,"");break;case 22:case 30:this.$=[a[s]];break;case 23:a[s].push(a[s-1]),this.$=a[s];break;case 24:this.$={attributeType:a[s-1],attributeName:a[s]};break;case 25:this.$={attributeType:a[s-2],attributeName:a[s-1],attributeKeyTypeList:a[s]};break;case 26:this.$={attributeType:a[s-2],attributeName:a[s-1],attributeComment:a[s]};break;case 27:this.$={attributeType:a[s-3],attributeName:a[s-2],attributeKeyTypeList:a[s-1],attributeComment:a[s]};break;case 31:a[s-2].push(a[s]),this.$=a[s-2];break;case 34:this.$={cardA:a[s],relType:a[s-1],cardB:a[s-2]};break;case 35:this.$=r.Cardinality.ZERO_OR_ONE;break;case 36:this.$=r.Cardinality.ZERO_OR_MORE;break;case 37:this.$=r.Cardinality.ONE_OR_MORE;break;case 38:this.$=r.Cardinality.ONLY_ONE;break;case 39:this.$=r.Identification.NON_IDENTIFYING;break;case 40:this.$=r.Identification.IDENTIFYING;break;case 44:r.parseDirective("%%{","open_directive");break;case 45:r.parseDirective(a[s],"type_directive");break;case 46:a[s]=a[s].trim().replace(/'/g,'"'),r.parseDirective(a[s],"arg_directive");break;case 47:r.parseDirective("}%%","close_directive","er")}},table:[{3:1,4:t,7:3,12:4,51:n},{1:[3]},e(r,[2,3],{5:6}),{3:7,4:t,7:3,12:4,51:n},{13:8,52:[1,9]},{52:[2,44]},{6:[1,10],7:15,8:11,9:[1,12],10:13,11:[1,14],12:4,17:16,23:i,25:a,27:o,29:s,30:l,31:c,51:n},{1:[2,2]},{14:23,15:[1,24],54:u},e([15,54],[2,45]),e(r,[2,8],{1:[2,1]}),e(r,[2,4]),{7:15,10:26,12:4,17:16,23:i,25:a,27:o,29:s,30:l,31:c,51:n},e(r,[2,6]),e(r,[2,7]),e(r,[2,11]),e(r,[2,15],{18:27,42:29,20:[1,28],44:d,45:h,46:p,47:g}),{24:[1,34]},{26:[1,35]},{28:[1,36]},e(r,[2,19]),e(m,[2,20]),e(m,[2,21]),{11:[1,37]},{16:38,53:[1,39]},{11:[2,47]},e(r,[2,5]),{17:40,30:l,31:c},{21:41,22:[1,42],32:43,33:44,37:_},{43:46,48:[1,47],49:[1,48]},e(b,[2,35]),e(b,[2,36]),e(b,[2,37]),e(b,[2,38]),e(r,[2,16]),e(r,[2,17]),e(r,[2,18]),e(f,[2,9]),{14:49,54:u},{54:[2,46]},{15:[1,50]},{22:[1,51]},e(r,[2,14]),{21:52,22:[2,22],32:43,33:44,37:_},{34:53,37:[1,54]},{37:[2,28]},{42:55,44:d,45:h,46:p,47:g},e(y,[2,39]),e(y,[2,40]),{11:[1,56]},{19:57,30:[1,60],31:[1,59],50:[1,58]},e(r,[2,13]),{22:[2,23]},e(v,[2,24],{35:61,36:62,38:63,40:E,41:S}),e([22,37,40,41],[2,29]),e([30,31],[2,34]),e(f,[2,10]),e(r,[2,12]),e(r,[2,41]),e(r,[2,42]),e(r,[2,43]),e(v,[2,25],{36:66,39:[1,67],41:S}),e(v,[2,26]),e(T,[2,30]),e(v,[2,33]),e(T,[2,32]),e(v,[2,27]),{38:68,40:E},e(T,[2,31])],defaultActions:{5:[2,44],7:[2,2],25:[2,47],39:[2,46],45:[2,28],52:[2,23]},parseError:function(e,t){if(!t.recoverable){var n=new Error(e);throw n.hash=t,n}this.trace(e)},parse:function(e){var t=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",l=0,c=0,u=a.slice.call(arguments,1),d=Object.create(this.lexer),h={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(h.yy[p]=this.yy[p]);d.setInput(e,h.yy),h.yy.lexer=d,h.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var g=d.yylloc;a.push(g);var m=d.options&&d.options.ranges;"function"==typeof h.yy.parseError?this.parseError=h.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var _,b,f,y,v,E,S,T,C,x={};;){if(b=n[n.length-1],this.defaultActions[b]?f=this.defaultActions[b]:(null==_&&(C=void 0,"number"!=typeof(C=r.pop()||d.lex()||1)&&(C instanceof Array&&(C=(r=C).pop()),C=t.symbols_[C]||C),_=C),f=o[b]&&o[b][_]),void 0===f||!f.length||!f[0]){var k="";for(v in T=[],o[b])this.terminals_[v]&&v>2&&T.push("'"+this.terminals_[v]+"'");k=d.showPosition?"Parse error on line "+(l+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==_?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(k,{text:d.match,token:this.terminals_[_]||_,line:d.yylineno,loc:g,expected:T})}if(f[0]instanceof Array&&f.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+_);switch(f[0]){case 1:n.push(_),i.push(d.yytext),a.push(d.yylloc),n.push(f[1]),_=null,c=d.yyleng,s=d.yytext,l=d.yylineno,g=d.yylloc;break;case 2:if(E=this.productions_[f[1]][1],x.$=i[i.length-E],x._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},m&&(x._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),void 0!==(y=this.performAction.apply(x,[s,c,l,h.yy,f[1],i,a].concat(u))))return y;E&&(n=n.slice(0,-1*E*2),i=i.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[f[1]][0]),i.push(x.$),a.push(x._$),S=o[n[n.length-2]][n[n.length-1]],n.push(S);break;case 3:return!0}}return!0}},x=function(){var e={EOF:1,parseError:function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)}, +// resets the lexer, sets new input +setInput:function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this}, +// consumes and returns one char from the input +input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e}, +// unshifts one char (or a string) into the input +unput:function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this}, +// When called from action, caches matched text and appends it on next action +more:function(){return this._more=!0,this}, +// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead. +reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})}, +// retain first n characters of the match +less:function(e){this.unput(this.match.slice(e))}, +// displays already matched input, i.e. for error messages +pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")}, +// displays upcoming input, i.e. for error messages +upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")}, +// displays the character position where the lexing error occurred, i.e. for error messages +showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"}, +// test the lexed token: return FALSE when not a match, otherwise return token +test_match:function(e,t){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1}, +// return next match in input +next:function(){if(this.done)return this.EOF;var e,t,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!t||n[0].length>t[0].length)){if(t=n,r=a,this.options.backtrack_lexer){if(!1!==(e=this.test_match(n,i[a])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,i[r]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})}, +// return next match that has a token +lex:function(){var e=this.next();return e||this.lex()}, +// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack) +begin:function(e){this.conditionStack.push(e)}, +// pop the previously active lexer condition state off the condition stack +popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]}, +// produce the lexer rule set which is active for the currently active lexer condition state +_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules}, +// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available +topState:function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"}, +// alias for begin(condition) +pushState:function(e){this.begin(e)}, +// return the number of states currently on the stack +stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(e,t,n,r){switch(n){case 0:return this.begin("acc_title"),25;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),27;case 3:return this.popState(),"acc_descr_value";case 4:this.begin("acc_descr_multiline");break;case 5:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return this.begin("open_directive"),51;case 8:return this.begin("type_directive"),52;case 9:return this.popState(),this.begin("arg_directive"),15;case 10:return this.popState(),this.popState(),54;case 11:return 53;case 12:case 13:case 15:case 22:case 27:break;case 14:return 11;case 16:return 9;case 17:return 31;case 18:return 50;case 19:return 4;case 20:return this.begin("block"),20;case 21:return 39;case 23:return 40;case 24:case 25:return 37;case 26:return 41;case 28:return this.popState(),22;case 29:case 58:return t.yytext[0];case 30:case 34:case 35:case 48:return 44;case 31:case 32:case 33:case 41:case 43:case 50:return 46;case 36:case 37:case 38:case 39:case 40:case 42:case 49:return 45;case 44:case 45:case 46:case 47:return 47;case 51:case 54:case 55:case 56:return 48;case 52:case 53:return 49;case 57:return 30;case 59:return 6}},rules:[/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:[\s]+)/i,/^(?:"[^"%\r\n\v\b\\]+")/i,/^(?:"[^"]*")/i,/^(?:erDiagram\b)/i,/^(?:\{)/i,/^(?:,)/i,/^(?:\s+)/i,/^(?:\b((?:PK)|(?:FK)|(?:UK))\b)/i,/^(?:(.*?)[~](.*?)*[~])/i,/^(?:[A-Za-z_][A-Za-z0-9\-_\[\]\(\)]*)/i,/^(?:"[^"]*")/i,/^(?:[\n]+)/i,/^(?:\})/i,/^(?:.)/i,/^(?:one or zero\b)/i,/^(?:one or more\b)/i,/^(?:one or many\b)/i,/^(?:1\+)/i,/^(?:\|o\b)/i,/^(?:zero or one\b)/i,/^(?:zero or more\b)/i,/^(?:zero or many\b)/i,/^(?:0\+)/i,/^(?:\}o\b)/i,/^(?:many\(0\))/i,/^(?:many\(1\))/i,/^(?:many\b)/i,/^(?:\}\|)/i,/^(?:one\b)/i,/^(?:only one\b)/i,/^(?:1\b)/i,/^(?:\|\|)/i,/^(?:o\|)/i,/^(?:o\{)/i,/^(?:\|\{)/i,/^(?:\.\.)/i,/^(?:--)/i,/^(?:to\b)/i,/^(?:optionally to\b)/i,/^(?:\.-)/i,/^(?:-\.)/i,/^(?:[A-Za-z][A-Za-z0-9\-_]*)/i,/^(?:.)/i,/^(?:$)/i],conditions:{acc_descr_multiline:{rules:[5,6],inclusive:!1},acc_descr:{rules:[3],inclusive:!1},acc_title:{rules:[1],inclusive:!1},open_directive:{rules:[8],inclusive:!1},type_directive:{rules:[9,10],inclusive:!1},arg_directive:{rules:[10,11],inclusive:!1},block:{rules:[21,22,23,24,25,26,27,28,29],inclusive:!1},INITIAL:{rules:[0,2,4,7,12,13,14,15,16,17,18,19,20,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59],inclusive:!0}}};return e}();function k(){this.yy={}}return C.lexer=x,k.prototype=C,C.Parser=k,new k}();Kj.parser=Kj;const Xj=Kj,Zj=e=>null!==e.match(/^\s*erDiagram/);let Jj={},eF=[];const tF=function(e){return void 0===Jj[e]&&(Jj[e]={attributes:[]},NR.info("Added new entity :",e)),Jj[e]},nF={Cardinality:{ZERO_OR_ONE:"ZERO_OR_ONE",ZERO_OR_MORE:"ZERO_OR_MORE",ONE_OR_MORE:"ONE_OR_MORE",ONLY_ONE:"ONLY_ONE"},Identification:{NON_IDENTIFYING:"NON_IDENTIFYING",IDENTIFYING:"IDENTIFYING"},parseDirective:function(e,t,n){cY.parseDirective(this,e,t,n)},getConfig:()=>aM().er,addEntity:tF,addAttributes:function(e,t){let n,r=tF(e);for(n=t.length-1;n>=0;n--)r.attributes.push(t[n]),NR.debug("Added attribute ",t[n].attributeName)},getEntities:()=>Jj,addRelationship:function(e,t,n,r){let i={entityA:e,roleA:t,entityB:n,relSpec:r};eF.push(i),NR.debug("Added new relationship :",i)},getRelationships:()=>eF,clear:function(){Jj={},eF=[],IM()},setAccTitle:DM,getAccTitle:MM,setAccDescription:LM,getAccDescription:PM,setDiagramTitle:jM,getDiagramTitle:FM},rF={ONLY_ONE_START:"ONLY_ONE_START",ONLY_ONE_END:"ONLY_ONE_END",ZERO_OR_ONE_START:"ZERO_OR_ONE_START",ZERO_OR_ONE_END:"ZERO_OR_ONE_END",ONE_OR_MORE_START:"ONE_OR_MORE_START",ONE_OR_MORE_END:"ONE_OR_MORE_END",ZERO_OR_MORE_START:"ZERO_OR_MORE_START",ZERO_OR_MORE_END:"ZERO_OR_MORE_END"},iF=rF,aF=function(e,t){let n;e.append("defs").append("marker").attr("id",rF.ONLY_ONE_START).attr("refX",0).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("stroke",t.stroke).attr("fill","none").attr("d","M9,0 L9,18 M15,0 L15,18"),e.append("defs").append("marker").attr("id",rF.ONLY_ONE_END).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("stroke",t.stroke).attr("fill","none").attr("d","M3,0 L3,18 M9,0 L9,18"),n=e.append("defs").append("marker").attr("id",rF.ZERO_OR_ONE_START).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto"),n.append("circle").attr("stroke",t.stroke).attr("fill","white").attr("cx",21).attr("cy",9).attr("r",6),n.append("path").attr("stroke",t.stroke).attr("fill","none").attr("d","M9,0 L9,18"),n=e.append("defs").append("marker").attr("id",rF.ZERO_OR_ONE_END).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto"),n.append("circle").attr("stroke",t.stroke).attr("fill","white").attr("cx",9).attr("cy",9).attr("r",6),n.append("path").attr("stroke",t.stroke).attr("fill","none").attr("d","M21,0 L21,18"),e.append("defs").append("marker").attr("id",rF.ONE_OR_MORE_START).attr("refX",18).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("stroke",t.stroke).attr("fill","none").attr("d","M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27"),e.append("defs").append("marker").attr("id",rF.ONE_OR_MORE_END).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("stroke",t.stroke).attr("fill","none").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18"),n=e.append("defs").append("marker").attr("id",rF.ZERO_OR_MORE_START).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto"),n.append("circle").attr("stroke",t.stroke).attr("fill","white").attr("cx",48).attr("cy",18).attr("r",6),n.append("path").attr("stroke",t.stroke).attr("fill","none").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18"),n=e.append("defs").append("marker").attr("id",rF.ZERO_OR_MORE_END).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto"),n.append("circle").attr("stroke",t.stroke).attr("fill","white").attr("cx",9).attr("cy",18).attr("r",6),n.append("path").attr("stroke",t.stroke).attr("fill","none").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18")},oF=/[^\dA-Za-z](\W)*/g;let sF={},lF=new Map;const cF=function(e,t,n){let r;return Object.keys(t).forEach((function(i){const a=function(e="",t=""){const n=e.replace(oF,"");return`${pF(t)}${pF(n)}${pR(e,hF)}`}(i,"entity");lF.set(i,a);const o=e.append("g").attr("id",a);r=void 0===r?a:r;const s="text-"+a,l=o.append("text").classed("er entityLabel",!0).attr("id",s).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","middle").style("font-family",aM().fontFamily).style("font-size",sF.fontSize+"px").text(i),{width:c,height:u}=((e,t,n)=>{const r=sF.entityPadding/3,i=sF.entityPadding/3,a=.85*sF.fontSize,o=t.node().getBBox(),s=[];let l=!1,c=!1,u=0,d=0,h=0,p=0,g=o.height+2*r,m=1;n.forEach((e=>{void 0!==e.attributeKeyTypeList&&e.attributeKeyTypeList.length>0&&(l=!0),void 0!==e.attributeComment&&(c=!0)})),n.forEach((n=>{const i=`${t.node().id}-attr-${m}`;let o=0;const _=FR(n.attributeType),b=e.append("text").classed("er entityLabel",!0).attr("id",`${i}-type`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",aM().fontFamily).style("font-size",a+"px").text(_),f=e.append("text").classed("er entityLabel",!0).attr("id",`${i}-name`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",aM().fontFamily).style("font-size",a+"px").text(n.attributeName),y={};y.tn=b,y.nn=f;const v=b.node().getBBox(),E=f.node().getBBox();if(u=Math.max(u,v.width),d=Math.max(d,E.width),o=Math.max(v.height,E.height),l){const t=void 0!==n.attributeKeyTypeList?n.attributeKeyTypeList.join(","):"",r=e.append("text").classed("er entityLabel",!0).attr("id",`${i}-key`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",aM().fontFamily).style("font-size",a+"px").text(t);y.kn=r;const s=r.node().getBBox();h=Math.max(h,s.width),o=Math.max(o,s.height)}if(c){const t=e.append("text").classed("er entityLabel",!0).attr("id",`${i}-comment`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",aM().fontFamily).style("font-size",a+"px").text(n.attributeComment||"");y.cn=t;const r=t.node().getBBox();p=Math.max(p,r.width),o=Math.max(o,r.height)}y.height=o,s.push(y),g+=o+2*r,m+=1}));let _=4;l&&(_+=2),c&&(_+=2);const b=u+d+h+p,f={width:Math.max(sF.minEntityWidth,Math.max(o.width+2*sF.entityPadding,b+i*_)),height:n.length>0?g:Math.max(sF.minEntityHeight,o.height+2*sF.entityPadding)};if(n.length>0){const n=Math.max(0,(f.width-b-i*_)/(_/2));t.attr("transform","translate("+f.width/2+","+(r+o.height/2)+")");let a=o.height+2*r,g="attributeBoxOdd";s.forEach((t=>{const o=a+r+t.height/2;t.tn.attr("transform","translate("+i+","+o+")");const s=e.insert("rect","#"+t.tn.node().id).classed(`er ${g}`,!0).attr("x",0).attr("y",a).attr("width",u+2*i+n).attr("height",t.height+2*r),m=parseFloat(s.attr("x"))+parseFloat(s.attr("width"));t.nn.attr("transform","translate("+(m+i)+","+o+")");const _=e.insert("rect","#"+t.nn.node().id).classed(`er ${g}`,!0).attr("x",m).attr("y",a).attr("width",d+2*i+n).attr("height",t.height+2*r);let b=parseFloat(_.attr("x"))+parseFloat(_.attr("width"));if(l){t.kn.attr("transform","translate("+(b+i)+","+o+")");const s=e.insert("rect","#"+t.kn.node().id).classed(`er ${g}`,!0).attr("x",b).attr("y",a).attr("width",h+2*i+n).attr("height",t.height+2*r);b=parseFloat(s.attr("x"))+parseFloat(s.attr("width"))}c&&(t.cn.attr("transform","translate("+(b+i)+","+o+")"),e.insert("rect","#"+t.cn.node().id).classed(`er ${g}`,"true").attr("x",b).attr("y",a).attr("width",p+2*i+n).attr("height",t.height+2*r)),a+=t.height+2*r,g="attributeBoxOdd"===g?"attributeBoxEven":"attributeBoxOdd"}))}else f.height=Math.max(sF.minEntityHeight,g),t.attr("transform","translate("+f.width/2+","+f.height/2+")");return f})(o,l,t[i].attributes),d=o.insert("rect","#"+s).classed("er entityBox",!0).attr("x",0).attr("y",0).attr("width",c).attr("height",u).node().getBBox();n.setNode(a,{width:d.width,height:d.height,shape:"rect",id:a})})),r},uF=function(e){return(e.entityA+e.roleA+e.entityB).replace(/\s/g,"")};let dF=0;const hF="28e9f9db-3c8d-5aa5-9faf-44286ae5937c";function pF(e=""){return e.length>0?`${e}-`:""}const gF={setConf:function(e){const t=Object.keys(e);for(const n of t)sF[n]=e[n]},draw:function(e,t,n,r){sF=aM().er,NR.info("Drawing ER diagram");const i=aM().securityLevel;let a;"sandbox"===i&&(a=k_("#i"+t));const o=k_("sandbox"===i?a.nodes()[0].contentDocument.body:"body").select(`[id='${t}']`);let s;aF(o,sF),s=new LN({multigraph:!0,directed:!0,compound:!1}).setGraph({rankdir:sF.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel((function(){return{}}));const l=cF(o,r.db.getEntities(),s),c=function(e,t){return e.forEach((function(e){t.setEdge(lF.get(e.entityA),lF.get(e.entityB),{relationship:e},uF(e))})),e}(r.db.getRelationships(),s);var u,d;WO(s),u=o,(d=s).nodes().forEach((function(e){void 0!==e&&void 0!==d.node(e)&&u.select("#"+e).attr("transform","translate("+(d.node(e).x-d.node(e).width/2)+","+(d.node(e).y-d.node(e).height/2)+" )")})),c.forEach((function(e){!function(e,t,n,r,i){dF++;const a=n.edge(lF.get(t.entityA),lF.get(t.entityB),uF(t)),o=lS().x((function(e){return e.x})).y((function(e){return e.y})).curve(mS),s=e.insert("path","#"+r).classed("er relationshipLine",!0).attr("d",o(a.points)).style("stroke",sF.stroke).style("fill","none");t.relSpec.relType===i.db.Identification.NON_IDENTIFYING&&s.attr("stroke-dasharray","8,8");let l="";switch(sF.arrowMarkerAbsolute&&(l=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,l=l.replace(/\(/g,"\\("),l=l.replace(/\)/g,"\\)")),t.relSpec.cardA){case i.db.Cardinality.ZERO_OR_ONE:s.attr("marker-end","url("+l+"#"+iF.ZERO_OR_ONE_END+")");break;case i.db.Cardinality.ZERO_OR_MORE:s.attr("marker-end","url("+l+"#"+iF.ZERO_OR_MORE_END+")");break;case i.db.Cardinality.ONE_OR_MORE:s.attr("marker-end","url("+l+"#"+iF.ONE_OR_MORE_END+")");break;case i.db.Cardinality.ONLY_ONE:s.attr("marker-end","url("+l+"#"+iF.ONLY_ONE_END+")")}switch(t.relSpec.cardB){case i.db.Cardinality.ZERO_OR_ONE:s.attr("marker-start","url("+l+"#"+iF.ZERO_OR_ONE_START+")");break;case i.db.Cardinality.ZERO_OR_MORE:s.attr("marker-start","url("+l+"#"+iF.ZERO_OR_MORE_START+")");break;case i.db.Cardinality.ONE_OR_MORE:s.attr("marker-start","url("+l+"#"+iF.ONE_OR_MORE_START+")");break;case i.db.Cardinality.ONLY_ONE:s.attr("marker-start","url("+l+"#"+iF.ONLY_ONE_START+")")}const c=s.node().getTotalLength(),u=s.node().getPointAtLength(.5*c),d="rel"+dF,h=e.append("text").classed("er relationshipLabel",!0).attr("id",d).attr("x",u.x).attr("y",u.y).style("text-anchor","middle").style("dominant-baseline","middle").style("font-family",aM().fontFamily).style("font-size",sF.fontSize+"px").text(t.roleA).node().getBBox();e.insert("rect","#"+d).classed("er relationshipLabelBox",!0).attr("x",u.x-h.width/2).attr("y",u.y-h.height/2).attr("width",h.width).attr("height",h.height)}(o,e,s,l,r)}));const h=sF.diagramPadding;QD.insertTitle(o,"entityTitleText",sF.titleTopMargin,r.db.getDiagramTitle());const p=o.node().getBBox(),g=p.width+2*h,m=p.height+2*h;hM(o,m,g,sF.useMaxWidth),o.attr("viewBox",`${p.x-h} ${p.y-h} ${g} ${m}`)}};var mF=function(){var e=function(e,t,n,r){for(n=n||{},r=e.length;r--;n[e[r]]=t);return n},t=[1,9],n=[1,7],r=[1,6],i=[1,8],a=[1,20,21,22,23,38,44,46,48,52,66,67,86,87,88,89,90,91,95,105,106,109,111,112,118,119,120,121,122,123,124,125,126,127],o=[2,10],s=[1,20],l=[1,21],c=[1,22],u=[1,23],d=[1,30],h=[1,32],p=[1,33],g=[1,34],m=[1,62],_=[1,48],b=[1,52],f=[1,36],y=[1,37],v=[1,38],E=[1,39],S=[1,40],T=[1,56],C=[1,63],x=[1,51],k=[1,53],A=[1,55],w=[1,59],N=[1,60],O=[1,41],R=[1,42],I=[1,43],D=[1,44],M=[1,61],L=[1,50],P=[1,54],j=[1,57],F=[1,58],B=[1,49],U=[1,66],G=[1,71],z=[1,20,21,22,23,38,42,44,46,48,52,66,67,86,87,88,89,90,91,95,105,106,109,111,112,118,119,120,121,122,123,124,125,126,127],$=[1,75],Y=[1,74],q=[1,76],H=[20,21,23,81,82],V=[1,99],W=[1,104],Q=[1,107],K=[1,108],X=[1,101],Z=[1,106],J=[1,109],ee=[1,102],te=[1,114],ne=[1,113],re=[1,103],ie=[1,105],ae=[1,110],oe=[1,111],se=[1,112],le=[1,115],ce=[20,21,22,23,81,82],ue=[20,21,22,23,53,81,82],de=[20,21,22,23,40,52,53,55,57,59,61,63,65,66,67,69,71,73,74,76,81,82,91,95,105,106,109,111,112,122,123,124,125,126,127],he=[20,21,23],pe=[20,21,23,52,66,67,81,82,91,95,105,106,109,111,112,122,123,124,125,126,127],ge=[1,12,20,21,22,23,24,38,42,44,46,48,52,66,67,86,87,88,89,90,91,95,105,106,109,111,112,118,119,120,121,122,123,124,125,126,127],me=[52,66,67,91,95,105,106,109,111,112,122,123,124,125,126,127],_e=[1,149],be=[1,157],fe=[1,158],ye=[1,159],ve=[1,160],Ee=[1,144],Se=[1,145],Te=[1,141],Ce=[1,152],xe=[1,153],ke=[1,154],Ae=[1,155],we=[1,156],Ne=[1,161],Oe=[1,162],Re=[1,147],Ie=[1,150],De=[1,146],Me=[1,143],Le=[20,21,22,23,38,42,44,46,48,52,66,67,86,87,88,89,90,91,95,105,106,109,111,112,118,119,120,121,122,123,124,125,126,127],Pe=[1,165],je=[20,21,22,23,26,52,66,67,91,105,106,109,111,112,122,123,124,125,126,127],Fe=[20,21,22,23,24,26,38,40,41,42,52,56,58,60,62,64,66,67,68,70,72,73,75,77,81,82,86,87,88,89,90,91,92,95,105,106,109,111,112,113,114,122,123,124,125,126,127],Be=[12,21,22,24],Ue=[22,106],Ge=[1,250],ze=[1,245],$e=[1,246],Ye=[1,254],qe=[1,251],He=[1,248],Ve=[1,247],We=[1,249],Qe=[1,252],Ke=[1,253],Xe=[1,255],Ze=[1,273],Je=[20,21,23,106],et=[20,21,22,23,66,67,86,102,105,106,109,110,111,112,113],tt={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,directive:5,openDirective:6,typeDirective:7,closeDirective:8,separator:9,":":10,argDirective:11,open_directive:12,type_directive:13,arg_directive:14,close_directive:15,graphConfig:16,document:17,line:18,statement:19,SEMI:20,NEWLINE:21,SPACE:22,EOF:23,GRAPH:24,NODIR:25,DIR:26,FirstStmtSeperator:27,ending:28,endToken:29,spaceList:30,spaceListNewline:31,verticeStatement:32,styleStatement:33,linkStyleStatement:34,classDefStatement:35,classStatement:36,clickStatement:37,subgraph:38,text:39,SQS:40,SQE:41,end:42,direction:43,acc_title:44,acc_title_value:45,acc_descr:46,acc_descr_value:47,acc_descr_multiline_value:48,link:49,node:50,vertex:51,AMP:52,STYLE_SEPARATOR:53,idString:54,DOUBLECIRCLESTART:55,DOUBLECIRCLEEND:56,PS:57,PE:58,"(-":59,"-)":60,STADIUMSTART:61,STADIUMEND:62,SUBROUTINESTART:63,SUBROUTINEEND:64,VERTEX_WITH_PROPS_START:65,ALPHA:66,COLON:67,PIPE:68,CYLINDERSTART:69,CYLINDEREND:70,DIAMOND_START:71,DIAMOND_STOP:72,TAGEND:73,TRAPSTART:74,TRAPEND:75,INVTRAPSTART:76,INVTRAPEND:77,linkStatement:78,arrowText:79,TESTSTR:80,START_LINK:81,LINK:82,textToken:83,STR:84,keywords:85,STYLE:86,LINKSTYLE:87,CLASSDEF:88,CLASS:89,CLICK:90,DOWN:91,UP:92,textNoTags:93,textNoTagsToken:94,DEFAULT:95,stylesOpt:96,alphaNum:97,CALLBACKNAME:98,CALLBACKARGS:99,HREF:100,LINK_TARGET:101,HEX:102,numList:103,INTERPOLATE:104,NUM:105,COMMA:106,style:107,styleComponent:108,MINUS:109,UNIT:110,BRKT:111,DOT:112,PCT:113,TAGSTART:114,alphaNumToken:115,idStringToken:116,alphaNumStatement:117,direction_tb:118,direction_bt:119,direction_rl:120,direction_lr:121,PUNCTUATION:122,UNICODE_TEXT:123,PLUS:124,EQUALS:125,MULT:126,UNDERSCORE:127,graphCodeTokens:128,ARROW_CROSS:129,ARROW_POINT:130,ARROW_CIRCLE:131,ARROW_OPEN:132,QUOTE:133,$accept:0,$end:1},terminals_:{2:"error",10:":",12:"open_directive",13:"type_directive",14:"arg_directive",15:"close_directive",20:"SEMI",21:"NEWLINE",22:"SPACE",23:"EOF",24:"GRAPH",25:"NODIR",26:"DIR",38:"subgraph",40:"SQS",41:"SQE",42:"end",44:"acc_title",45:"acc_title_value",46:"acc_descr",47:"acc_descr_value",48:"acc_descr_multiline_value",52:"AMP",53:"STYLE_SEPARATOR",55:"DOUBLECIRCLESTART",56:"DOUBLECIRCLEEND",57:"PS",58:"PE",59:"(-",60:"-)",61:"STADIUMSTART",62:"STADIUMEND",63:"SUBROUTINESTART",64:"SUBROUTINEEND",65:"VERTEX_WITH_PROPS_START",66:"ALPHA",67:"COLON",68:"PIPE",69:"CYLINDERSTART",70:"CYLINDEREND",71:"DIAMOND_START",72:"DIAMOND_STOP",73:"TAGEND",74:"TRAPSTART",75:"TRAPEND",76:"INVTRAPSTART",77:"INVTRAPEND",80:"TESTSTR",81:"START_LINK",82:"LINK",84:"STR",86:"STYLE",87:"LINKSTYLE",88:"CLASSDEF",89:"CLASS",90:"CLICK",91:"DOWN",92:"UP",95:"DEFAULT",98:"CALLBACKNAME",99:"CALLBACKARGS",100:"HREF",101:"LINK_TARGET",102:"HEX",104:"INTERPOLATE",105:"NUM",106:"COMMA",109:"MINUS",110:"UNIT",111:"BRKT",112:"DOT",113:"PCT",114:"TAGSTART",118:"direction_tb",119:"direction_bt",120:"direction_rl",121:"direction_lr",122:"PUNCTUATION",123:"UNICODE_TEXT",124:"PLUS",125:"EQUALS",126:"MULT",127:"UNDERSCORE",129:"ARROW_CROSS",130:"ARROW_POINT",131:"ARROW_CIRCLE",132:"ARROW_OPEN",133:"QUOTE"},productions_:[0,[3,1],[3,2],[5,4],[5,6],[6,1],[7,1],[11,1],[8,1],[4,2],[17,0],[17,2],[18,1],[18,1],[18,1],[18,1],[18,1],[16,2],[16,2],[16,2],[16,3],[28,2],[28,1],[29,1],[29,1],[29,1],[27,1],[27,1],[27,2],[31,2],[31,2],[31,1],[31,1],[30,2],[30,1],[19,2],[19,2],[19,2],[19,2],[19,2],[19,2],[19,9],[19,6],[19,4],[19,1],[19,2],[19,2],[19,1],[9,1],[9,1],[9,1],[32,3],[32,4],[32,2],[32,1],[50,1],[50,5],[50,3],[51,4],[51,4],[51,6],[51,4],[51,4],[51,4],[51,8],[51,4],[51,4],[51,4],[51,6],[51,4],[51,4],[51,4],[51,4],[51,4],[51,1],[49,2],[49,3],[49,3],[49,1],[49,3],[78,1],[79,3],[39,1],[39,2],[39,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[93,1],[93,2],[35,5],[35,5],[36,5],[37,2],[37,4],[37,3],[37,5],[37,2],[37,4],[37,4],[37,6],[37,2],[37,4],[37,2],[37,4],[37,4],[37,6],[33,5],[33,5],[34,5],[34,5],[34,9],[34,9],[34,7],[34,7],[103,1],[103,3],[96,1],[96,3],[107,1],[107,2],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[94,1],[94,1],[94,1],[94,1],[54,1],[54,2],[97,1],[97,2],[117,1],[117,1],[117,1],[117,1],[43,1],[43,1],[43,1],[43,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1]],performAction:function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 5:r.parseDirective("%%{","open_directive");break;case 6:r.parseDirective(a[s],"type_directive");break;case 7:a[s]=a[s].trim().replace(/'/g,'"'),r.parseDirective(a[s],"arg_directive");break;case 8:r.parseDirective("}%%","close_directive","flowchart");break;case 10:case 36:case 37:case 38:case 39:case 40:this.$=[];break;case 11:(!Array.isArray(a[s])||a[s].length>0)&&a[s-1].push(a[s]),this.$=a[s-1];break;case 12:case 82:case 84:case 96:case 152:case 154:case 155:case 78:case 150:this.$=a[s];break;case 19:r.setDirection("TB"),this.$="TB";break;case 20:r.setDirection(a[s-1]),this.$=a[s-1];break;case 35:this.$=a[s-1].nodes;break;case 41:this.$=r.addSubGraph(a[s-6],a[s-1],a[s-4]);break;case 42:this.$=r.addSubGraph(a[s-3],a[s-1],a[s-3]);break;case 43:this.$=r.addSubGraph(void 0,a[s-1],void 0);break;case 45:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 46:case 47:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 51:r.addLink(a[s-2].stmt,a[s],a[s-1]),this.$={stmt:a[s],nodes:a[s].concat(a[s-2].nodes)};break;case 52:r.addLink(a[s-3].stmt,a[s-1],a[s-2]),this.$={stmt:a[s-1],nodes:a[s-1].concat(a[s-3].nodes)};break;case 53:this.$={stmt:a[s-1],nodes:a[s-1]};break;case 54:this.$={stmt:a[s],nodes:a[s]};break;case 55:case 123:case 125:this.$=[a[s]];break;case 56:this.$=a[s-4].concat(a[s]);break;case 57:this.$=[a[s-2]],r.setClass(a[s-2],a[s]);break;case 58:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"square");break;case 59:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"doublecircle");break;case 60:this.$=a[s-5],r.addVertex(a[s-5],a[s-2],"circle");break;case 61:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"ellipse");break;case 62:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"stadium");break;case 63:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"subroutine");break;case 64:this.$=a[s-7],r.addVertex(a[s-7],a[s-1],"rect",void 0,void 0,void 0,Object.fromEntries([[a[s-5],a[s-3]]]));break;case 65:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"cylinder");break;case 66:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"round");break;case 67:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"diamond");break;case 68:this.$=a[s-5],r.addVertex(a[s-5],a[s-2],"hexagon");break;case 69:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"odd");break;case 70:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"trapezoid");break;case 71:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"inv_trapezoid");break;case 72:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"lean_right");break;case 73:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"lean_left");break;case 74:this.$=a[s],r.addVertex(a[s]);break;case 75:a[s-1].text=a[s],this.$=a[s-1];break;case 76:case 77:a[s-2].text=a[s-1],this.$=a[s-2];break;case 79:var l=r.destructLink(a[s],a[s-2]);this.$={type:l.type,stroke:l.stroke,length:l.length,text:a[s-1]};break;case 80:l=r.destructLink(a[s]);this.$={type:l.type,stroke:l.stroke,length:l.length};break;case 81:this.$=a[s-1];break;case 83:case 97:case 153:case 151:this.$=a[s-1]+""+a[s];break;case 98:case 99:this.$=a[s-4],r.addClass(a[s-2],a[s]);break;case 100:this.$=a[s-4],r.setClass(a[s-2],a[s]);break;case 101:case 109:this.$=a[s-1],r.setClickEvent(a[s-1],a[s]);break;case 102:case 110:this.$=a[s-3],r.setClickEvent(a[s-3],a[s-2]),r.setTooltip(a[s-3],a[s]);break;case 103:this.$=a[s-2],r.setClickEvent(a[s-2],a[s-1],a[s]);break;case 104:this.$=a[s-4],r.setClickEvent(a[s-4],a[s-3],a[s-2]),r.setTooltip(a[s-4],a[s]);break;case 105:case 111:this.$=a[s-1],r.setLink(a[s-1],a[s]);break;case 106:case 112:this.$=a[s-3],r.setLink(a[s-3],a[s-2]),r.setTooltip(a[s-3],a[s]);break;case 107:case 113:this.$=a[s-3],r.setLink(a[s-3],a[s-2],a[s]);break;case 108:case 114:this.$=a[s-5],r.setLink(a[s-5],a[s-4],a[s]),r.setTooltip(a[s-5],a[s-2]);break;case 115:this.$=a[s-4],r.addVertex(a[s-2],void 0,void 0,a[s]);break;case 116:case 118:this.$=a[s-4],r.updateLink(a[s-2],a[s]);break;case 117:this.$=a[s-4],r.updateLink([a[s-2]],a[s]);break;case 119:this.$=a[s-8],r.updateLinkInterpolate([a[s-6]],a[s-2]),r.updateLink([a[s-6]],a[s]);break;case 120:this.$=a[s-8],r.updateLinkInterpolate(a[s-6],a[s-2]),r.updateLink(a[s-6],a[s]);break;case 121:this.$=a[s-6],r.updateLinkInterpolate([a[s-4]],a[s]);break;case 122:this.$=a[s-6],r.updateLinkInterpolate(a[s-4],a[s]);break;case 124:case 126:a[s-2].push(a[s]),this.$=a[s-2];break;case 128:this.$=a[s-1]+a[s];break;case 156:this.$="v";break;case 157:this.$="-";break;case 158:this.$={stmt:"dir",value:"TB"};break;case 159:this.$={stmt:"dir",value:"BT"};break;case 160:this.$={stmt:"dir",value:"RL"};break;case 161:this.$={stmt:"dir",value:"LR"}}},table:[{3:1,4:2,5:3,6:5,12:t,16:4,21:n,22:r,24:i},{1:[3]},{1:[2,1]},{3:10,4:2,5:3,6:5,12:t,16:4,21:n,22:r,24:i},e(a,o,{17:11}),{7:12,13:[1,13]},{16:14,21:n,22:r,24:i},{16:15,21:n,22:r,24:i},{25:[1,16],26:[1,17]},{13:[2,5]},{1:[2,2]},{1:[2,9],18:18,19:19,20:s,21:l,22:c,23:u,32:24,33:25,34:26,35:27,36:28,37:29,38:d,43:31,44:h,46:p,48:g,50:35,51:45,52:m,54:46,66:_,67:b,86:f,87:y,88:v,89:E,90:S,91:T,95:C,105:x,106:k,109:A,111:w,112:N,116:47,118:O,119:R,120:I,121:D,122:M,123:L,124:P,125:j,126:F,127:B},{8:64,10:[1,65],15:U},e([10,15],[2,6]),e(a,[2,17]),e(a,[2,18]),e(a,[2,19]),{20:[1,68],21:[1,69],22:G,27:67,30:70},e(z,[2,11]),e(z,[2,12]),e(z,[2,13]),e(z,[2,14]),e(z,[2,15]),e(z,[2,16]),{9:72,20:$,21:Y,23:q,49:73,78:77,81:[1,78],82:[1,79]},{9:80,20:$,21:Y,23:q},{9:81,20:$,21:Y,23:q},{9:82,20:$,21:Y,23:q},{9:83,20:$,21:Y,23:q},{9:84,20:$,21:Y,23:q},{9:86,20:$,21:Y,22:[1,85],23:q},e(z,[2,44]),{45:[1,87]},{47:[1,88]},e(z,[2,47]),e(H,[2,54],{30:89,22:G}),{22:[1,90]},{22:[1,91]},{22:[1,92]},{22:[1,93]},{26:V,52:W,66:Q,67:K,84:[1,97],91:X,97:96,98:[1,94],100:[1,95],105:Z,106:J,109:ee,111:te,112:ne,115:100,117:98,122:re,123:ie,124:ae,125:oe,126:se,127:le},e(z,[2,158]),e(z,[2,159]),e(z,[2,160]),e(z,[2,161]),e(ce,[2,55],{53:[1,116]}),e(ue,[2,74],{116:129,40:[1,117],52:m,55:[1,118],57:[1,119],59:[1,120],61:[1,121],63:[1,122],65:[1,123],66:_,67:b,69:[1,124],71:[1,125],73:[1,126],74:[1,127],76:[1,128],91:T,95:C,105:x,106:k,109:A,111:w,112:N,122:M,123:L,124:P,125:j,126:F,127:B}),e(de,[2,150]),e(de,[2,175]),e(de,[2,176]),e(de,[2,177]),e(de,[2,178]),e(de,[2,179]),e(de,[2,180]),e(de,[2,181]),e(de,[2,182]),e(de,[2,183]),e(de,[2,184]),e(de,[2,185]),e(de,[2,186]),e(de,[2,187]),e(de,[2,188]),e(de,[2,189]),e(de,[2,190]),{9:130,20:$,21:Y,23:q},{11:131,14:[1,132]},e(he,[2,8]),e(a,[2,20]),e(a,[2,26]),e(a,[2,27]),{21:[1,133]},e(pe,[2,34],{30:134,22:G}),e(z,[2,35]),{50:135,51:45,52:m,54:46,66:_,67:b,91:T,95:C,105:x,106:k,109:A,111:w,112:N,116:47,122:M,123:L,124:P,125:j,126:F,127:B},e(ge,[2,48]),e(ge,[2,49]),e(ge,[2,50]),e(me,[2,78],{79:136,68:[1,138],80:[1,137]}),{22:_e,24:be,26:fe,38:ye,39:139,42:ve,52:W,66:Q,67:K,73:Ee,81:Se,83:140,84:Te,85:151,86:Ce,87:xe,88:ke,89:Ae,90:we,91:Ne,92:Oe,94:142,95:Re,105:Z,106:J,109:Ie,111:te,112:ne,113:De,114:Me,115:148,122:re,123:ie,124:ae,125:oe,126:se,127:le},e([52,66,67,68,80,91,95,105,106,109,111,112,122,123,124,125,126,127],[2,80]),e(z,[2,36]),e(z,[2,37]),e(z,[2,38]),e(z,[2,39]),e(z,[2,40]),{22:_e,24:be,26:fe,38:ye,39:163,42:ve,52:W,66:Q,67:K,73:Ee,81:Se,83:140,84:Te,85:151,86:Ce,87:xe,88:ke,89:Ae,90:we,91:Ne,92:Oe,94:142,95:Re,105:Z,106:J,109:Ie,111:te,112:ne,113:De,114:Me,115:148,122:re,123:ie,124:ae,125:oe,126:se,127:le},e(Le,o,{17:164}),e(z,[2,45]),e(z,[2,46]),e(H,[2,53],{52:Pe}),{26:V,52:W,66:Q,67:K,91:X,97:166,102:[1,167],105:Z,106:J,109:ee,111:te,112:ne,115:100,117:98,122:re,123:ie,124:ae,125:oe,126:se,127:le},{95:[1,168],103:169,105:[1,170]},{26:V,52:W,66:Q,67:K,91:X,95:[1,171],97:172,105:Z,106:J,109:ee,111:te,112:ne,115:100,117:98,122:re,123:ie,124:ae,125:oe,126:se,127:le},{26:V,52:W,66:Q,67:K,91:X,97:173,105:Z,106:J,109:ee,111:te,112:ne,115:100,117:98,122:re,123:ie,124:ae,125:oe,126:se,127:le},e(he,[2,101],{22:[1,174],99:[1,175]}),e(he,[2,105],{22:[1,176]}),e(he,[2,109],{115:100,117:178,22:[1,177],26:V,52:W,66:Q,67:K,91:X,105:Z,106:J,109:ee,111:te,112:ne,122:re,123:ie,124:ae,125:oe,126:se,127:le}),e(he,[2,111],{22:[1,179]}),e(je,[2,152]),e(je,[2,154]),e(je,[2,155]),e(je,[2,156]),e(je,[2,157]),e(Fe,[2,162]),e(Fe,[2,163]),e(Fe,[2,164]),e(Fe,[2,165]),e(Fe,[2,166]),e(Fe,[2,167]),e(Fe,[2,168]),e(Fe,[2,169]),e(Fe,[2,170]),e(Fe,[2,171]),e(Fe,[2,172]),e(Fe,[2,173]),e(Fe,[2,174]),{52:m,54:180,66:_,67:b,91:T,95:C,105:x,106:k,109:A,111:w,112:N,116:47,122:M,123:L,124:P,125:j,126:F,127:B},{22:_e,24:be,26:fe,38:ye,39:181,42:ve,52:W,66:Q,67:K,73:Ee,81:Se,83:140,84:Te,85:151,86:Ce,87:xe,88:ke,89:Ae,90:we,91:Ne,92:Oe,94:142,95:Re,105:Z,106:J,109:Ie,111:te,112:ne,113:De,114:Me,115:148,122:re,123:ie,124:ae,125:oe,126:se,127:le},{22:_e,24:be,26:fe,38:ye,39:182,42:ve,52:W,66:Q,67:K,73:Ee,81:Se,83:140,84:Te,85:151,86:Ce,87:xe,88:ke,89:Ae,90:we,91:Ne,92:Oe,94:142,95:Re,105:Z,106:J,109:Ie,111:te,112:ne,113:De,114:Me,115:148,122:re,123:ie,124:ae,125:oe,126:se,127:le},{22:_e,24:be,26:fe,38:ye,39:184,42:ve,52:W,57:[1,183],66:Q,67:K,73:Ee,81:Se,83:140,84:Te,85:151,86:Ce,87:xe,88:ke,89:Ae,90:we,91:Ne,92:Oe,94:142,95:Re,105:Z,106:J,109:Ie,111:te,112:ne,113:De,114:Me,115:148,122:re,123:ie,124:ae,125:oe,126:se,127:le},{22:_e,24:be,26:fe,38:ye,39:185,42:ve,52:W,66:Q,67:K,73:Ee,81:Se,83:140,84:Te,85:151,86:Ce,87:xe,88:ke,89:Ae,90:we,91:Ne,92:Oe,94:142,95:Re,105:Z,106:J,109:Ie,111:te,112:ne,113:De,114:Me,115:148,122:re,123:ie,124:ae,125:oe,126:se,127:le},{22:_e,24:be,26:fe,38:ye,39:186,42:ve,52:W,66:Q,67:K,73:Ee,81:Se,83:140,84:Te,85:151,86:Ce,87:xe,88:ke,89:Ae,90:we,91:Ne,92:Oe,94:142,95:Re,105:Z,106:J,109:Ie,111:te,112:ne,113:De,114:Me,115:148,122:re,123:ie,124:ae,125:oe,126:se,127:le},{22:_e,24:be,26:fe,38:ye,39:187,42:ve,52:W,66:Q,67:K,73:Ee,81:Se,83:140,84:Te,85:151,86:Ce,87:xe,88:ke,89:Ae,90:we,91:Ne,92:Oe,94:142,95:Re,105:Z,106:J,109:Ie,111:te,112:ne,113:De,114:Me,115:148,122:re,123:ie,124:ae,125:oe,126:se,127:le},{66:[1,188]},{22:_e,24:be,26:fe,38:ye,39:189,42:ve,52:W,66:Q,67:K,73:Ee,81:Se,83:140,84:Te,85:151,86:Ce,87:xe,88:ke,89:Ae,90:we,91:Ne,92:Oe,94:142,95:Re,105:Z,106:J,109:Ie,111:te,112:ne,113:De,114:Me,115:148,122:re,123:ie,124:ae,125:oe,126:se,127:le},{22:_e,24:be,26:fe,38:ye,39:190,42:ve,52:W,66:Q,67:K,71:[1,191],73:Ee,81:Se,83:140,84:Te,85:151,86:Ce,87:xe,88:ke,89:Ae,90:we,91:Ne,92:Oe,94:142,95:Re,105:Z,106:J,109:Ie,111:te,112:ne,113:De,114:Me,115:148,122:re,123:ie,124:ae,125:oe,126:se,127:le},{22:_e,24:be,26:fe,38:ye,39:192,42:ve,52:W,66:Q,67:K,73:Ee,81:Se,83:140,84:Te,85:151,86:Ce,87:xe,88:ke,89:Ae,90:we,91:Ne,92:Oe,94:142,95:Re,105:Z,106:J,109:Ie,111:te,112:ne,113:De,114:Me,115:148,122:re,123:ie,124:ae,125:oe,126:se,127:le},{22:_e,24:be,26:fe,38:ye,39:193,42:ve,52:W,66:Q,67:K,73:Ee,81:Se,83:140,84:Te,85:151,86:Ce,87:xe,88:ke,89:Ae,90:we,91:Ne,92:Oe,94:142,95:Re,105:Z,106:J,109:Ie,111:te,112:ne,113:De,114:Me,115:148,122:re,123:ie,124:ae,125:oe,126:se,127:le},{22:_e,24:be,26:fe,38:ye,39:194,42:ve,52:W,66:Q,67:K,73:Ee,81:Se,83:140,84:Te,85:151,86:Ce,87:xe,88:ke,89:Ae,90:we,91:Ne,92:Oe,94:142,95:Re,105:Z,106:J,109:Ie,111:te,112:ne,113:De,114:Me,115:148,122:re,123:ie,124:ae,125:oe,126:se,127:le},e(de,[2,151]),e(Be,[2,3]),{8:195,15:U},{15:[2,7]},e(a,[2,28]),e(pe,[2,33]),e(H,[2,51],{30:196,22:G}),e(me,[2,75],{22:[1,197]}),{22:[1,198]},{22:_e,24:be,26:fe,38:ye,39:199,42:ve,52:W,66:Q,67:K,73:Ee,81:Se,83:140,84:Te,85:151,86:Ce,87:xe,88:ke,89:Ae,90:we,91:Ne,92:Oe,94:142,95:Re,105:Z,106:J,109:Ie,111:te,112:ne,113:De,114:Me,115:148,122:re,123:ie,124:ae,125:oe,126:se,127:le},{22:_e,24:be,26:fe,38:ye,42:ve,52:W,66:Q,67:K,73:Ee,81:Se,82:[1,200],83:201,85:151,86:Ce,87:xe,88:ke,89:Ae,90:we,91:Ne,92:Oe,94:142,95:Re,105:Z,106:J,109:Ie,111:te,112:ne,113:De,114:Me,115:148,122:re,123:ie,124:ae,125:oe,126:se,127:le},e(Fe,[2,82]),e(Fe,[2,84]),e(Fe,[2,140]),e(Fe,[2,141]),e(Fe,[2,142]),e(Fe,[2,143]),e(Fe,[2,144]),e(Fe,[2,145]),e(Fe,[2,146]),e(Fe,[2,147]),e(Fe,[2,148]),e(Fe,[2,149]),e(Fe,[2,85]),e(Fe,[2,86]),e(Fe,[2,87]),e(Fe,[2,88]),e(Fe,[2,89]),e(Fe,[2,90]),e(Fe,[2,91]),e(Fe,[2,92]),e(Fe,[2,93]),e(Fe,[2,94]),e(Fe,[2,95]),{9:203,20:$,21:Y,22:_e,23:q,24:be,26:fe,38:ye,40:[1,202],42:ve,52:W,66:Q,67:K,73:Ee,81:Se,83:201,85:151,86:Ce,87:xe,88:ke,89:Ae,90:we,91:Ne,92:Oe,94:142,95:Re,105:Z,106:J,109:Ie,111:te,112:ne,113:De,114:Me,115:148,122:re,123:ie,124:ae,125:oe,126:se,127:le},{18:18,19:19,20:s,21:l,22:c,23:u,32:24,33:25,34:26,35:27,36:28,37:29,38:d,42:[1,204],43:31,44:h,46:p,48:g,50:35,51:45,52:m,54:46,66:_,67:b,86:f,87:y,88:v,89:E,90:S,91:T,95:C,105:x,106:k,109:A,111:w,112:N,116:47,118:O,119:R,120:I,121:D,122:M,123:L,124:P,125:j,126:F,127:B},{22:G,30:205},{22:[1,206],26:V,52:W,66:Q,67:K,91:X,105:Z,106:J,109:ee,111:te,112:ne,115:100,117:178,122:re,123:ie,124:ae,125:oe,126:se,127:le},{22:[1,207]},{22:[1,208]},{22:[1,209],106:[1,210]},e(Ue,[2,123]),{22:[1,211]},{22:[1,212],26:V,52:W,66:Q,67:K,91:X,105:Z,106:J,109:ee,111:te,112:ne,115:100,117:178,122:re,123:ie,124:ae,125:oe,126:se,127:le},{22:[1,213],26:V,52:W,66:Q,67:K,91:X,105:Z,106:J,109:ee,111:te,112:ne,115:100,117:178,122:re,123:ie,124:ae,125:oe,126:se,127:le},{84:[1,214]},e(he,[2,103],{22:[1,215]}),{84:[1,216],101:[1,217]},{84:[1,218]},e(je,[2,153]),{84:[1,219],101:[1,220]},e(ce,[2,57],{116:129,52:m,66:_,67:b,91:T,95:C,105:x,106:k,109:A,111:w,112:N,122:M,123:L,124:P,125:j,126:F,127:B}),{22:_e,24:be,26:fe,38:ye,41:[1,221],42:ve,52:W,66:Q,67:K,73:Ee,81:Se,83:201,85:151,86:Ce,87:xe,88:ke,89:Ae,90:we,91:Ne,92:Oe,94:142,95:Re,105:Z,106:J,109:Ie,111:te,112:ne,113:De,114:Me,115:148,122:re,123:ie,124:ae,125:oe,126:se,127:le},{22:_e,24:be,26:fe,38:ye,42:ve,52:W,56:[1,222],66:Q,67:K,73:Ee,81:Se,83:201,85:151,86:Ce,87:xe,88:ke,89:Ae,90:we,91:Ne,92:Oe,94:142,95:Re,105:Z,106:J,109:Ie,111:te,112:ne,113:De,114:Me,115:148,122:re,123:ie,124:ae,125:oe,126:se,127:le},{22:_e,24:be,26:fe,38:ye,39:223,42:ve,52:W,66:Q,67:K,73:Ee,81:Se,83:140,84:Te,85:151,86:Ce,87:xe,88:ke,89:Ae,90:we,91:Ne,92:Oe,94:142,95:Re,105:Z,106:J,109:Ie,111:te,112:ne,113:De,114:Me,115:148,122:re,123:ie,124:ae,125:oe,126:se,127:le},{22:_e,24:be,26:fe,38:ye,42:ve,52:W,58:[1,224],66:Q,67:K,73:Ee,81:Se,83:201,85:151,86:Ce,87:xe,88:ke,89:Ae,90:we,91:Ne,92:Oe,94:142,95:Re,105:Z,106:J,109:Ie,111:te,112:ne,113:De,114:Me,115:148,122:re,123:ie,124:ae,125:oe,126:se,127:le},{22:_e,24:be,26:fe,38:ye,42:ve,52:W,60:[1,225],66:Q,67:K,73:Ee,81:Se,83:201,85:151,86:Ce,87:xe,88:ke,89:Ae,90:we,91:Ne,92:Oe,94:142,95:Re,105:Z,106:J,109:Ie,111:te,112:ne,113:De,114:Me,115:148,122:re,123:ie,124:ae,125:oe,126:se,127:le},{22:_e,24:be,26:fe,38:ye,42:ve,52:W,62:[1,226],66:Q,67:K,73:Ee,81:Se,83:201,85:151,86:Ce,87:xe,88:ke,89:Ae,90:we,91:Ne,92:Oe,94:142,95:Re,105:Z,106:J,109:Ie,111:te,112:ne,113:De,114:Me,115:148,122:re,123:ie,124:ae,125:oe,126:se,127:le},{22:_e,24:be,26:fe,38:ye,42:ve,52:W,64:[1,227],66:Q,67:K,73:Ee,81:Se,83:201,85:151,86:Ce,87:xe,88:ke,89:Ae,90:we,91:Ne,92:Oe,94:142,95:Re,105:Z,106:J,109:Ie,111:te,112:ne,113:De,114:Me,115:148,122:re,123:ie,124:ae,125:oe,126:se,127:le},{67:[1,228]},{22:_e,24:be,26:fe,38:ye,42:ve,52:W,66:Q,67:K,70:[1,229],73:Ee,81:Se,83:201,85:151,86:Ce,87:xe,88:ke,89:Ae,90:we,91:Ne,92:Oe,94:142,95:Re,105:Z,106:J,109:Ie,111:te,112:ne,113:De,114:Me,115:148,122:re,123:ie,124:ae,125:oe,126:se,127:le},{22:_e,24:be,26:fe,38:ye,42:ve,52:W,66:Q,67:K,72:[1,230],73:Ee,81:Se,83:201,85:151,86:Ce,87:xe,88:ke,89:Ae,90:we,91:Ne,92:Oe,94:142,95:Re,105:Z,106:J,109:Ie,111:te,112:ne,113:De,114:Me,115:148,122:re,123:ie,124:ae,125:oe,126:se,127:le},{22:_e,24:be,26:fe,38:ye,39:231,42:ve,52:W,66:Q,67:K,73:Ee,81:Se,83:140,84:Te,85:151,86:Ce,87:xe,88:ke,89:Ae,90:we,91:Ne,92:Oe,94:142,95:Re,105:Z,106:J,109:Ie,111:te,112:ne,113:De,114:Me,115:148,122:re,123:ie,124:ae,125:oe,126:se,127:le},{22:_e,24:be,26:fe,38:ye,41:[1,232],42:ve,52:W,66:Q,67:K,73:Ee,81:Se,83:201,85:151,86:Ce,87:xe,88:ke,89:Ae,90:we,91:Ne,92:Oe,94:142,95:Re,105:Z,106:J,109:Ie,111:te,112:ne,113:De,114:Me,115:148,122:re,123:ie,124:ae,125:oe,126:se,127:le},{22:_e,24:be,26:fe,38:ye,42:ve,52:W,66:Q,67:K,73:Ee,75:[1,233],77:[1,234],81:Se,83:201,85:151,86:Ce,87:xe,88:ke,89:Ae,90:we,91:Ne,92:Oe,94:142,95:Re,105:Z,106:J,109:Ie,111:te,112:ne,113:De,114:Me,115:148,122:re,123:ie,124:ae,125:oe,126:se,127:le},{22:_e,24:be,26:fe,38:ye,42:ve,52:W,66:Q,67:K,73:Ee,75:[1,236],77:[1,235],81:Se,83:201,85:151,86:Ce,87:xe,88:ke,89:Ae,90:we,91:Ne,92:Oe,94:142,95:Re,105:Z,106:J,109:Ie,111:te,112:ne,113:De,114:Me,115:148,122:re,123:ie,124:ae,125:oe,126:se,127:le},{9:237,20:$,21:Y,23:q},e(H,[2,52],{52:Pe}),e(me,[2,77]),e(me,[2,76]),{22:_e,24:be,26:fe,38:ye,42:ve,52:W,66:Q,67:K,68:[1,238],73:Ee,81:Se,83:201,85:151,86:Ce,87:xe,88:ke,89:Ae,90:we,91:Ne,92:Oe,94:142,95:Re,105:Z,106:J,109:Ie,111:te,112:ne,113:De,114:Me,115:148,122:re,123:ie,124:ae,125:oe,126:se,127:le},e(me,[2,79]),e(Fe,[2,83]),{22:_e,24:be,26:fe,38:ye,39:239,42:ve,52:W,66:Q,67:K,73:Ee,81:Se,83:140,84:Te,85:151,86:Ce,87:xe,88:ke,89:Ae,90:we,91:Ne,92:Oe,94:142,95:Re,105:Z,106:J,109:Ie,111:te,112:ne,113:De,114:Me,115:148,122:re,123:ie,124:ae,125:oe,126:se,127:le},e(Le,o,{17:240}),e(z,[2,43]),{51:241,52:m,54:46,66:_,67:b,91:T,95:C,105:x,106:k,109:A,111:w,112:N,116:47,122:M,123:L,124:P,125:j,126:F,127:B},{22:Ge,66:ze,67:$e,86:Ye,96:242,102:qe,105:He,107:243,108:244,109:Ve,110:We,111:Qe,112:Ke,113:Xe},{22:Ge,66:ze,67:$e,86:Ye,96:256,102:qe,105:He,107:243,108:244,109:Ve,110:We,111:Qe,112:Ke,113:Xe},{22:Ge,66:ze,67:$e,86:Ye,96:257,102:qe,104:[1,258],105:He,107:243,108:244,109:Ve,110:We,111:Qe,112:Ke,113:Xe},{22:Ge,66:ze,67:$e,86:Ye,96:259,102:qe,104:[1,260],105:He,107:243,108:244,109:Ve,110:We,111:Qe,112:Ke,113:Xe},{105:[1,261]},{22:Ge,66:ze,67:$e,86:Ye,96:262,102:qe,105:He,107:243,108:244,109:Ve,110:We,111:Qe,112:Ke,113:Xe},{22:Ge,66:ze,67:$e,86:Ye,96:263,102:qe,105:He,107:243,108:244,109:Ve,110:We,111:Qe,112:Ke,113:Xe},{26:V,52:W,66:Q,67:K,91:X,97:264,105:Z,106:J,109:ee,111:te,112:ne,115:100,117:98,122:re,123:ie,124:ae,125:oe,126:se,127:le},e(he,[2,102]),{84:[1,265]},e(he,[2,106],{22:[1,266]}),e(he,[2,107]),e(he,[2,110]),e(he,[2,112],{22:[1,267]}),e(he,[2,113]),e(ue,[2,58]),e(ue,[2,59]),{22:_e,24:be,26:fe,38:ye,42:ve,52:W,58:[1,268],66:Q,67:K,73:Ee,81:Se,83:201,85:151,86:Ce,87:xe,88:ke,89:Ae,90:we,91:Ne,92:Oe,94:142,95:Re,105:Z,106:J,109:Ie,111:te,112:ne,113:De,114:Me,115:148,122:re,123:ie,124:ae,125:oe,126:se,127:le},e(ue,[2,66]),e(ue,[2,61]),e(ue,[2,62]),e(ue,[2,63]),{66:[1,269]},e(ue,[2,65]),e(ue,[2,67]),{22:_e,24:be,26:fe,38:ye,42:ve,52:W,66:Q,67:K,72:[1,270],73:Ee,81:Se,83:201,85:151,86:Ce,87:xe,88:ke,89:Ae,90:we,91:Ne,92:Oe,94:142,95:Re,105:Z,106:J,109:Ie,111:te,112:ne,113:De,114:Me,115:148,122:re,123:ie,124:ae,125:oe,126:se,127:le},e(ue,[2,69]),e(ue,[2,70]),e(ue,[2,72]),e(ue,[2,71]),e(ue,[2,73]),e(Be,[2,4]),e([22,52,66,67,91,95,105,106,109,111,112,122,123,124,125,126,127],[2,81]),{22:_e,24:be,26:fe,38:ye,41:[1,271],42:ve,52:W,66:Q,67:K,73:Ee,81:Se,83:201,85:151,86:Ce,87:xe,88:ke,89:Ae,90:we,91:Ne,92:Oe,94:142,95:Re,105:Z,106:J,109:Ie,111:te,112:ne,113:De,114:Me,115:148,122:re,123:ie,124:ae,125:oe,126:se,127:le},{18:18,19:19,20:s,21:l,22:c,23:u,32:24,33:25,34:26,35:27,36:28,37:29,38:d,42:[1,272],43:31,44:h,46:p,48:g,50:35,51:45,52:m,54:46,66:_,67:b,86:f,87:y,88:v,89:E,90:S,91:T,95:C,105:x,106:k,109:A,111:w,112:N,116:47,118:O,119:R,120:I,121:D,122:M,123:L,124:P,125:j,126:F,127:B},e(ce,[2,56]),e(he,[2,115],{106:Ze}),e(Je,[2,125],{108:274,22:Ge,66:ze,67:$e,86:Ye,102:qe,105:He,109:Ve,110:We,111:Qe,112:Ke,113:Xe}),e(et,[2,127]),e(et,[2,129]),e(et,[2,130]),e(et,[2,131]),e(et,[2,132]),e(et,[2,133]),e(et,[2,134]),e(et,[2,135]),e(et,[2,136]),e(et,[2,137]),e(et,[2,138]),e(et,[2,139]),e(he,[2,116],{106:Ze}),e(he,[2,117],{106:Ze}),{22:[1,275]},e(he,[2,118],{106:Ze}),{22:[1,276]},e(Ue,[2,124]),e(he,[2,98],{106:Ze}),e(he,[2,99],{106:Ze}),e(he,[2,100],{115:100,117:178,26:V,52:W,66:Q,67:K,91:X,105:Z,106:J,109:ee,111:te,112:ne,122:re,123:ie,124:ae,125:oe,126:se,127:le}),e(he,[2,104]),{101:[1,277]},{101:[1,278]},{58:[1,279]},{68:[1,280]},{72:[1,281]},{9:282,20:$,21:Y,23:q},e(z,[2,42]),{22:Ge,66:ze,67:$e,86:Ye,102:qe,105:He,107:283,108:244,109:Ve,110:We,111:Qe,112:Ke,113:Xe},e(et,[2,128]),{26:V,52:W,66:Q,67:K,91:X,97:284,105:Z,106:J,109:ee,111:te,112:ne,115:100,117:98,122:re,123:ie,124:ae,125:oe,126:se,127:le},{26:V,52:W,66:Q,67:K,91:X,97:285,105:Z,106:J,109:ee,111:te,112:ne,115:100,117:98,122:re,123:ie,124:ae,125:oe,126:se,127:le},e(he,[2,108]),e(he,[2,114]),e(ue,[2,60]),{22:_e,24:be,26:fe,38:ye,39:286,42:ve,52:W,66:Q,67:K,73:Ee,81:Se,83:140,84:Te,85:151,86:Ce,87:xe,88:ke,89:Ae,90:we,91:Ne,92:Oe,94:142,95:Re,105:Z,106:J,109:Ie,111:te,112:ne,113:De,114:Me,115:148,122:re,123:ie,124:ae,125:oe,126:se,127:le},e(ue,[2,68]),e(Le,o,{17:287}),e(Je,[2,126],{108:274,22:Ge,66:ze,67:$e,86:Ye,102:qe,105:He,109:Ve,110:We,111:Qe,112:Ke,113:Xe}),e(he,[2,121],{115:100,117:178,22:[1,288],26:V,52:W,66:Q,67:K,91:X,105:Z,106:J,109:ee,111:te,112:ne,122:re,123:ie,124:ae,125:oe,126:se,127:le}),e(he,[2,122],{115:100,117:178,22:[1,289],26:V,52:W,66:Q,67:K,91:X,105:Z,106:J,109:ee,111:te,112:ne,122:re,123:ie,124:ae,125:oe,126:se,127:le}),{22:_e,24:be,26:fe,38:ye,41:[1,290],42:ve,52:W,66:Q,67:K,73:Ee,81:Se,83:201,85:151,86:Ce,87:xe,88:ke,89:Ae,90:we,91:Ne,92:Oe,94:142,95:Re,105:Z,106:J,109:Ie,111:te,112:ne,113:De,114:Me,115:148,122:re,123:ie,124:ae,125:oe,126:se,127:le},{18:18,19:19,20:s,21:l,22:c,23:u,32:24,33:25,34:26,35:27,36:28,37:29,38:d,42:[1,291],43:31,44:h,46:p,48:g,50:35,51:45,52:m,54:46,66:_,67:b,86:f,87:y,88:v,89:E,90:S,91:T,95:C,105:x,106:k,109:A,111:w,112:N,116:47,118:O,119:R,120:I,121:D,122:M,123:L,124:P,125:j,126:F,127:B},{22:Ge,66:ze,67:$e,86:Ye,96:292,102:qe,105:He,107:243,108:244,109:Ve,110:We,111:Qe,112:Ke,113:Xe},{22:Ge,66:ze,67:$e,86:Ye,96:293,102:qe,105:He,107:243,108:244,109:Ve,110:We,111:Qe,112:Ke,113:Xe},e(ue,[2,64]),e(z,[2,41]),e(he,[2,119],{106:Ze}),e(he,[2,120],{106:Ze})],defaultActions:{2:[2,1],9:[2,5],10:[2,2],132:[2,7]},parseError:function(e,t){if(!t.recoverable){var n=new Error(e);throw n.hash=t,n}this.trace(e)},parse:function(e){var t=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",l=0,c=0,u=a.slice.call(arguments,1),d=Object.create(this.lexer),h={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(h.yy[p]=this.yy[p]);d.setInput(e,h.yy),h.yy.lexer=d,h.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var g=d.yylloc;a.push(g);var m=d.options&&d.options.ranges;"function"==typeof h.yy.parseError?this.parseError=h.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var _,b,f,y,v,E,S,T,C,x={};;){if(b=n[n.length-1],this.defaultActions[b]?f=this.defaultActions[b]:(null==_&&(C=void 0,"number"!=typeof(C=r.pop()||d.lex()||1)&&(C instanceof Array&&(C=(r=C).pop()),C=t.symbols_[C]||C),_=C),f=o[b]&&o[b][_]),void 0===f||!f.length||!f[0]){var k="";for(v in T=[],o[b])this.terminals_[v]&&v>2&&T.push("'"+this.terminals_[v]+"'");k=d.showPosition?"Parse error on line "+(l+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==_?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(k,{text:d.match,token:this.terminals_[_]||_,line:d.yylineno,loc:g,expected:T})}if(f[0]instanceof Array&&f.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+_);switch(f[0]){case 1:n.push(_),i.push(d.yytext),a.push(d.yylloc),n.push(f[1]),_=null,c=d.yyleng,s=d.yytext,l=d.yylineno,g=d.yylloc;break;case 2:if(E=this.productions_[f[1]][1],x.$=i[i.length-E],x._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},m&&(x._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),void 0!==(y=this.performAction.apply(x,[s,c,l,h.yy,f[1],i,a].concat(u))))return y;E&&(n=n.slice(0,-1*E*2),i=i.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[f[1]][0]),i.push(x.$),a.push(x._$),S=o[n[n.length-2]][n[n.length-1]],n.push(S);break;case 3:return!0}}return!0}},nt=function(){var e={EOF:1,parseError:function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)}, +// resets the lexer, sets new input +setInput:function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this}, +// consumes and returns one char from the input +input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e}, +// unshifts one char (or a string) into the input +unput:function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this}, +// When called from action, caches matched text and appends it on next action +more:function(){return this._more=!0,this}, +// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead. +reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})}, +// retain first n characters of the match +less:function(e){this.unput(this.match.slice(e))}, +// displays already matched input, i.e. for error messages +pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")}, +// displays upcoming input, i.e. for error messages +upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")}, +// displays the character position where the lexing error occurred, i.e. for error messages +showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"}, +// test the lexed token: return FALSE when not a match, otherwise return token +test_match:function(e,t){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1}, +// return next match in input +next:function(){if(this.done)return this.EOF;var e,t,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!t||n[0].length>t[0].length)){if(t=n,r=a,this.options.backtrack_lexer){if(!1!==(e=this.test_match(n,i[a])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,i[r]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})}, +// return next match that has a token +lex:function(){var e=this.next();return e||this.lex()}, +// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack) +begin:function(e){this.conditionStack.push(e)}, +// pop the previously active lexer condition state off the condition stack +popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]}, +// produce the lexer rule set which is active for the currently active lexer condition state +_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules}, +// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available +topState:function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"}, +// alias for begin(condition) +pushState:function(e){this.begin(e)}, +// return the number of states currently on the stack +stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(e,t,n,r){switch(n){case 0:return this.begin("open_directive"),12;case 1:return this.begin("type_directive"),13;case 2:return this.popState(),this.begin("arg_directive"),10;case 3:return this.popState(),this.popState(),15;case 4:return 14;case 5:case 6:break;case 7:return this.begin("acc_title"),44;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),46;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:case 15:case 24:case 27:case 30:case 33:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:this.begin("string");break;case 16:return"STR";case 17:return 86;case 18:return 95;case 19:return 87;case 20:return 104;case 21:return 88;case 22:return 89;case 23:this.begin("href");break;case 25:return 100;case 26:this.begin("callbackname");break;case 28:this.popState(),this.begin("callbackargs");break;case 29:return 98;case 31:return 99;case 32:this.begin("click");break;case 34:return 90;case 35:case 36:case 37:return e.lex.firstGraph()&&this.begin("dir"),24;case 38:return 38;case 39:return 42;case 40:case 41:case 42:case 43:return 101;case 44:return this.popState(),25;case 45:case 46:case 47:case 48:case 49:case 50:case 51:case 52:case 53:case 54:return this.popState(),26;case 55:return 118;case 56:return 119;case 57:return 120;case 58:return 121;case 59:return 105;case 60:return 111;case 61:return 53;case 62:return 67;case 63:return 52;case 64:return 20;case 65:return 106;case 66:return 126;case 67:case 68:case 69:return 82;case 70:case 71:case 72:return 81;case 73:return 59;case 74:return 60;case 75:return 61;case 76:return 62;case 77:return 63;case 78:return 64;case 79:return 65;case 80:return 69;case 81:return 70;case 82:return 55;case 83:return 56;case 84:return 109;case 85:return 112;case 86:return 127;case 87:return 124;case 88:return 113;case 89:case 90:return 125;case 91:return 114;case 92:return 73;case 93:return 92;case 94:return"SEP";case 95:return 91;case 96:return 66;case 97:return 75;case 98:return 74;case 99:return 77;case 100:return 76;case 101:return 122;case 102:return 123;case 103:return 68;case 104:return 57;case 105:return 58;case 106:return 40;case 107:return 41;case 108:return 71;case 109:return 72;case 110:return 133;case 111:return 21;case 112:return 22;case 113:return 23}},rules:[/^(?:%%\{)/,/^(?:((?:(?!\}%%)[^:.])*))/,/^(?::)/,/^(?:\}%%)/,/^(?:((?:(?!\}%%).|\n)*))/,/^(?:%%(?!\{)[^\n]*)/,/^(?:[^\}]%%[^\n]*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:href[\s]+["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:click[\s]+)/,/^(?:[\s\n])/,/^(?:[^\s\n]*)/,/^(?:flowchart-elk\b)/,/^(?:graph\b)/,/^(?:flowchart\b)/,/^(?:subgraph\b)/,/^(?:end\b\s*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:(\r?\n)*\s*\n)/,/^(?:\s*LR\b)/,/^(?:\s*RL\b)/,/^(?:\s*TB\b)/,/^(?:\s*BT\b)/,/^(?:\s*TD\b)/,/^(?:\s*BR\b)/,/^(?:\s*<)/,/^(?:\s*>)/,/^(?:\s*\^)/,/^(?:\s*v\b)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:\(-)/,/^(?:-\))/,/^(?:\(\[)/,/^(?:\]\))/,/^(?:\[\[)/,/^(?:\]\])/,/^(?:\[\|)/,/^(?:\[\()/,/^(?:\)\])/,/^(?:\(\(\()/,/^(?:\)\)\))/,/^(?:-)/,/^(?:\.)/,/^(?:[\_])/,/^(?:\+)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:[A-Za-z]+)/,/^(?:\\\])/,/^(?:\[\/)/,/^(?:\/\])/,/^(?:\[\\)/,/^(?:[!"#$%&'*+,-.`?\\_/])/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\|)/,/^(?:\()/,/^(?:\))/,/^(?:\[)/,/^(?:\])/,/^(?:\{)/,/^(?:\})/,/^(?:")/,/^(?:(\r?\n)+)/,/^(?:\s)/,/^(?:$)/],conditions:{close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},callbackargs:{rules:[30,31],inclusive:!1},callbackname:{rules:[27,28,29],inclusive:!1},href:{rules:[24,25],inclusive:!1},click:{rules:[33,34],inclusive:!1},vertex:{rules:[],inclusive:!1},dir:{rules:[44,45,46,47,48,49,50,51,52,53,54],inclusive:!1},acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},string:{rules:[15,16],inclusive:!1},INITIAL:{rules:[0,5,6,7,9,11,14,17,18,19,20,21,22,23,26,32,35,36,37,38,39,40,41,42,43,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113],inclusive:!0}}};return e}();function rt(){this.yy={}}return tt.lexer=nt,rt.prototype=tt,tt.Parser=rt,new rt}();mF.parser=mF;const _F=mF,bF=(e,t)=>{var n,r;return"dagre-wrapper"!==(null==(n=null==t?void 0:t.flowchart)?void 0:n.defaultRenderer)&&("elk"!==(null==(r=null==t?void 0:t.flowchart)?void 0:r.defaultRenderer)&&null!==e.match(/^\s*graph/))},fF=(e,t)=>{var n,r;return"dagre-d3"!==(null==(n=null==t?void 0:t.flowchart)?void 0:n.defaultRenderer)&&("elk"!==(null==(r=null==t?void 0:t.flowchart)?void 0:r.defaultRenderer)&&(null!==e.match(/^\s*graph/)||null!==e.match(/^\s*flowchart/)))};let yF,vF,EF=0,SF=aM(),TF={},CF=[],xF={},kF=[],AF={},wF={},NF=0,OF=!0,RF=[];const IF=e=>BR.sanitizeText(e,SF),DF=function(e,t,n){cY.parseDirective(this,e,t,n)},MF=function(e){const t=Object.keys(TF);for(const n of t)if(TF[n].id===e)return TF[n].domId;return e},LF=function(e,t,n,r,i,a,o={}){let s,l=e;void 0!==l&&0!==l.trim().length&&(void 0===TF[l]&&(TF[l]={id:l,domId:"flowchart-"+l+"-"+EF,styles:[],classes:[]}),EF++,void 0!==t?(SF=aM(),s=IF(t.trim()),'"'===s[0]&&'"'===s[s.length-1]&&(s=s.substring(1,s.length-1)),TF[l].text=s):void 0===TF[l].text&&(TF[l].text=e),void 0!==n&&(TF[l].type=n),null!=r&&r.forEach((function(e){TF[l].styles.push(e)})),null!=i&&i.forEach((function(e){TF[l].classes.push(e)})),void 0!==a&&(TF[l].dir=a),void 0===TF[l].props?TF[l].props=o:void 0!==o&&Object.assign(TF[l].props,o))},PF=function(e,t,n,r){const i={start:e,end:t,type:void 0,text:""};void 0!==(r=n.text)&&(i.text=IF(r.trim()),'"'===i.text[0]&&'"'===i.text[i.text.length-1]&&(i.text=i.text.substring(1,i.text.length-1))),void 0!==n&&(i.type=n.type,i.stroke=n.stroke,i.length=n.length),CF.push(i)},jF=function(e,t,n,r){let i,a;for(i=0;i<e.length;i++)for(a=0;a<t.length;a++)PF(e[i],t[a],n,r)},FF=function(e,t){e.forEach((function(e){"default"===e?CF.defaultInterpolate=t:CF[e].interpolate=t}))},BF=function(e,t){e.forEach((function(e){"default"===e?CF.defaultStyle=t:(-1===QD.isSubstringInArray("fill",t)&&t.push("fill:none"),CF[e].style=t)}))},UF=function(e,t){void 0===xF[e]&&(xF[e]={id:e,styles:[],textStyles:[]}),null!=t&&t.forEach((function(t){if(t.match("color")){const n=t.replace("fill","bgFill").replace("color","fill");xF[e].textStyles.push(n)}xF[e].styles.push(t)}))},GF=function(e){yF=e,yF.match(/.*</)&&(yF="RL"),yF.match(/.*\^/)&&(yF="BT"),yF.match(/.*>/)&&(yF="LR"),yF.match(/.*v/)&&(yF="TB"),"TD"===yF&&(yF="TB")},zF=function(e,t){e.split(",").forEach((function(e){let n=e;void 0!==TF[n]&&TF[n].classes.push(t),void 0!==AF[n]&&AF[n].classes.push(t)}))},$F=function(e,t,n){e.split(",").forEach((function(e){void 0!==TF[e]&&(TF[e].link=QD.formatUrl(t,SF),TF[e].linkTarget=n)})),zF(e,"clickable")},YF=function(e){return wF[e]},qF=function(e,t,n){e.split(",").forEach((function(e){!function(e,t,n){let r=MF(e);if("loose"!==aM().securityLevel)return;if(void 0===t)return;let i=[];if("string"==typeof n){i=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let e=0;e<i.length;e++){let t=i[e].trim();'"'===t.charAt(0)&&'"'===t.charAt(t.length-1)&&(t=t.substr(1,t.length-2)),i[e]=t}}0===i.length&&i.push(e),void 0!==TF[e]&&(TF[e].haveCallback=!0,RF.push((function(){const e=document.querySelector(`[id="${r}"]`);null!==e&&e.addEventListener("click",(function(){QD.runFunc(t,...i)}),!1)})))}(e,t,n)})),zF(e,"clickable")},HF=function(e){RF.forEach((function(t){t(e)}))},VF=function(){return yF.trim()},WF=function(){return TF},QF=function(){return CF},KF=function(){return xF},XF=function(e){let t=k_(".mermaidTooltip");null===(t._groups||t)[0][0]&&(t=k_("body").append("div").attr("class","mermaidTooltip").style("opacity",0));k_(e).select("svg").selectAll("g.node").on("mouseover",(function(){const e=k_(this);if(null===e.attr("title"))return;const n=this.getBoundingClientRect();t.transition().duration(200).style("opacity",".9"),t.text(e.attr("title")).style("left",window.scrollX+n.left+(n.right-n.left)/2+"px").style("top",window.scrollY+n.top-14+document.body.scrollTop+"px"),t.html(t.html().replace(/<br\/>/g,"<br/>")),e.classed("hover",!0)})).on("mouseout",(function(){t.transition().duration(500).style("opacity",0);k_(this).classed("hover",!1)}))};RF.push(XF);const ZF=function(e="gen-1"){TF={},xF={},CF=[],RF=[XF],kF=[],AF={},NF=0,wF=[],OF=!0,vF=e,IM()},JF=e=>{vF=e||"gen-2"},eB=function(){return"fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;"},tB=function(e,t,n){let r=e.trim(),i=n;e===n&&n.match(/\s/)&&(r=void 0);let a=[];const{nodeList:o,dir:s}=function(e){const t={boolean:{},number:{},string:{}},n=[];let r;return{nodeList:e.filter((function(e){const i=typeof e;return e.stmt&&"dir"===e.stmt?(r=e.value,!1):""!==e.trim()&&(i in t?!t[i].hasOwnProperty(e)&&(t[i][e]=!0):!n.includes(e)&&n.push(e))})),dir:r}}(a.concat.apply(a,t));if(a=o,"gen-1"===vF)for(let c=0;c<a.length;c++)a[c]=MF(a[c]);r=r||"subGraph"+NF,i=i||"",i=IF(i),NF+=1;const l={id:r,nodes:a,title:i.trim(),classes:[],dir:s};return NR.info("Adding",l.id,l.nodes,l.dir),l.nodes=hB(l,kF).nodes,kF.push(l),AF[r]=l,r},nB=function(e){for(const[t,n]of kF.entries())if(n.id===e)return t;return-1};let rB=-1;const iB=[],aB=function(e,t){const n=kF[t].nodes;if(rB+=1,rB>2e3)return;if(iB[rB]=t,kF[t].id===e)return{result:!0,count:0};let r=0,i=1;for(;r<n.length;){const t=nB(n[r]);if(t>=0){const n=aB(e,t);if(n.result)return{result:!0,count:i+n.count};i+=n.count}r+=1}return{result:!1,count:i}},oB=function(e){return iB[e]},sB=function(){rB=-1,kF.length>0&&aB("none",kF.length-1)},lB=function(){return kF},cB=()=>!!OF&&(OF=!1,!0),uB=(e,t)=>{const n=(e=>{const t=e.trim();let n=t.slice(0,-1),r="arrow_open";switch(t.slice(-1)){case"x":r="arrow_cross","x"===t[0]&&(r="double_"+r,n=n.slice(1));break;case">":r="arrow_point","<"===t[0]&&(r="double_"+r,n=n.slice(1));break;case"o":r="arrow_circle","o"===t[0]&&(r="double_"+r,n=n.slice(1))}let i="normal",a=n.length-1;"="===n[0]&&(i="thick");let o=((e,t)=>{const n=t.length;let r=0;for(let i=0;i<n;++i)t[i]===e&&++r;return r})(".",n);return o&&(i="dotted",a=o),{type:r,stroke:i,length:a}})(e);let r;if(t){if(r=(e=>{let t=e.trim(),n="arrow_open";switch(t[0]){case"<":n="arrow_point",t=t.slice(1);break;case"x":n="arrow_cross",t=t.slice(1);break;case"o":n="arrow_circle",t=t.slice(1)}let r="normal";return t.includes("=")&&(r="thick"),t.includes(".")&&(r="dotted"),{type:n,stroke:r}})(t),r.stroke!==n.stroke)return{type:"INVALID",stroke:"INVALID"};if("arrow_open"===r.type)r.type=n.type;else{if(r.type!==n.type)return{type:"INVALID",stroke:"INVALID"};r.type="double_"+r.type}return"double_arrow"===r.type&&(r.type="double_arrow_point"),r.length=n.length,r}return n},dB=(e,t)=>{let n=!1;return e.forEach((e=>{e.nodes.indexOf(t)>=0&&(n=!0)})),n},hB=(e,t)=>{const n=[];return e.nodes.forEach(((r,i)=>{dB(t,r)||n.push(e.nodes[i])})),{nodes:n}},pB={firstGraph:cB},gB={parseDirective:DF,defaultConfig:()=>XD.flowchart,setAccTitle:DM,getAccTitle:MM,getAccDescription:PM,setAccDescription:LM,addVertex:LF,lookUpDomId:MF,addLink:jF,updateLinkInterpolate:FF,updateLink:BF,addClass:UF,setDirection:GF,setClass:zF,setTooltip:function(e,t){e.split(",").forEach((function(e){void 0!==t&&(wF["gen-1"===vF?MF(e):e]=IF(t))}))},getTooltip:YF,setClickEvent:qF,setLink:$F,bindFunctions:HF,getDirection:VF,getVertices:WF,getEdges:QF,getClasses:KF,clear:ZF,setGen:JF,defaultStyle:eB,addSubGraph:tB,getDepthFirstPos:oB,indexNodes:sB,getSubGraphs:lB,destructLink:uB,lex:pB,exists:dB,makeUniq:hB,setDiagramTitle:jM,getDiagramTitle:FM},mB=Object.freeze(Object.defineProperty({__proto__:null,addClass:UF,addLink:jF,addSingleLink:PF,addSubGraph:tB,addVertex:LF,bindFunctions:HF,clear:ZF,default:gB,defaultStyle:eB,destructLink:uB,firstGraph:cB,getClasses:KF,getDepthFirstPos:oB,getDirection:VF,getEdges:QF,getSubGraphs:lB,getTooltip:YF,getVertices:WF,indexNodes:sB,lex:pB,lookUpDomId:MF,parseDirective:DF,setClass:zF,setClickEvent:qF,setDirection:GF,setGen:JF,setLink:$F,updateLink:BF,updateLinkInterpolate:FF},Symbol.toStringTag,{value:"Module"}));const _B={},bB=function(e){const t=Object.keys(e);for(const n of t)_B[n]=e[n]},fB={},yB=function(e,t,n,r,i,a){const o=r.select(`[id="${n}"]`);Object.keys(e).forEach((function(n){const r=e[n];let s="default";r.classes.length>0&&(s=r.classes.join(" "));const l=MD(r.styles);let c,u=void 0!==r.text?r.text:r.id;if(jR(aM().flowchart.htmlLabels)){const e={label:u.replace(/fa[blrs]?:fa-[\w-]+/g,(e=>`<i class='${e.replace(":"," ")}'></i>`))};c=mR(o,e).node(),c.parentNode.removeChild(c)}else{const e=i.createElementNS("http://www.w3.org/2000/svg","text");e.setAttribute("style",l.labelStyle.replace("color:","fill:"));const t=u.split(BR.lineBreakRegex);for(const n of t){const t=i.createElementNS("http://www.w3.org/2000/svg","tspan");t.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),t.setAttribute("dy","1em"),t.setAttribute("x","1"),t.textContent=n,e.appendChild(t)}c=e}let d=0,h="";switch(r.type){case"round":d=5,h="rect";break;case"square":case"group":default:h="rect";break;case"diamond":h="question";break;case"hexagon":h="hexagon";break;case"odd":case"odd_right":h="rect_left_inv_arrow";break;case"lean_right":h="lean_right";break;case"lean_left":h="lean_left";break;case"trapezoid":h="trapezoid";break;case"inv_trapezoid":h="inv_trapezoid";break;case"circle":h="circle";break;case"ellipse":h="ellipse";break;case"stadium":h="stadium";break;case"subroutine":h="subroutine";break;case"cylinder":h="cylinder";break;case"doublecircle":h="doublecircle"}t.setNode(r.id,{labelStyle:l.labelStyle,shape:h,labelText:u,rx:d,ry:d,class:s,style:l.style,id:r.id,link:r.link,linkTarget:r.linkTarget,tooltip:a.db.getTooltip(r.id)||"",domId:a.db.lookUpDomId(r.id),haveCallback:r.haveCallback,width:"group"===r.type?500:void 0,dir:r.dir,type:r.type,props:r.props,padding:aM().flowchart.padding}),NR.info("setNode",{labelStyle:l.labelStyle,shape:h,labelText:u,rx:d,ry:d,class:s,style:l.style,id:r.id,domId:a.db.lookUpDomId(r.id),width:"group"===r.type?500:void 0,type:r.type,dir:r.dir,props:r.props,padding:aM().flowchart.padding})}))},vB=function(e,t,n){NR.info("abc78 edges = ",e);let r,i,a=0,o={};if(void 0!==e.defaultStyle){const t=MD(e.defaultStyle);r=t.style,i=t.labelStyle}e.forEach((function(n){a++;var s="L-"+n.start+"-"+n.end;void 0===o[s]?(o[s]=0,NR.info("abc78 new entry",s,o[s])):(o[s]++,NR.info("abc78 new entry",s,o[s]));let l=s+"-"+o[s];NR.info("abc78 new link id to be used is",s,l,o[s]);var c="LS-"+n.start,u="LE-"+n.end;const d={style:"",labelStyle:""};switch(d.minlen=n.length||1,"arrow_open"===n.type?d.arrowhead="none":d.arrowhead="normal",d.arrowTypeStart="arrow_open",d.arrowTypeEnd="arrow_open",n.type){case"double_arrow_cross":d.arrowTypeStart="arrow_cross";case"arrow_cross":d.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":d.arrowTypeStart="arrow_point";case"arrow_point":d.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":d.arrowTypeStart="arrow_circle";case"arrow_circle":d.arrowTypeEnd="arrow_circle"}let h="",p="";switch(n.stroke){case"normal":h="fill:none;",void 0!==r&&(h=r),void 0!==i&&(p=i),d.thickness="normal",d.pattern="solid";break;case"dotted":d.thickness="normal",d.pattern="dotted",d.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":d.thickness="thick",d.pattern="solid",d.style="stroke-width: 3.5px;fill:none;"}if(void 0!==n.style){const e=MD(n.style);h=e.style,p=e.labelStyle}d.style=d.style+=h,d.labelStyle=d.labelStyle+=p,void 0!==n.interpolate?d.curve=ID(n.interpolate,aS):void 0!==e.defaultInterpolate?d.curve=ID(e.defaultInterpolate,aS):d.curve=ID(fB.curve,aS),void 0===n.text?void 0!==n.style&&(d.arrowheadStyle="fill: #333"):(d.arrowheadStyle="fill: #333",d.labelpos="c"),d.labelType="text",d.label=n.text.replace(BR.lineBreakRegex,"\n"),void 0===n.style&&(d.style=d.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),d.labelStyle=d.labelStyle.replace("color:","fill:"),d.id=l,d.classes="flowchart-link "+c+" "+u,t.setEdge(n.start,n.end,d,a)}))},EB={setConf:function(e){const t=Object.keys(e);for(const n of t)fB[n]=e[n]},addVertices:yB,addEdges:vB,getClasses:function(e,t){NR.info("Extracting classes"),t.db.clear();try{return t.parse(e),t.db.getClasses()}catch(fR){return}},draw:function(e,t,n,r){NR.info("Drawing flowchart"),r.db.clear(),gB.setGen("gen-2"),r.parser.parse(e);let i=r.db.getDirection();void 0===i&&(i="TD");const{securityLevel:a,flowchart:o}=aM(),s=o.nodeSpacing||50,l=o.rankSpacing||50;let c;"sandbox"===a&&(c=k_("#i"+t));const u=k_("sandbox"===a?c.nodes()[0].contentDocument.body:"body"),d="sandbox"===a?c.nodes()[0].contentDocument:document,h=new LN({multigraph:!0,compound:!0}).setGraph({rankdir:i,nodesep:s,ranksep:l,marginx:0,marginy:0}).setDefaultEdgeLabel((function(){return{}}));let p;const g=r.db.getSubGraphs();NR.info("Subgraphs - ",g);for(let v=g.length-1;v>=0;v--)p=g[v],NR.info("Subgraph - ",p),r.db.addVertex(p.id,p.title,"group",void 0,p.classes,p.dir);const m=r.db.getVertices(),_=r.db.getEdges();NR.info("Edges",_);let b=0;for(b=g.length-1;b>=0;b--){p=g[b],A_("cluster").append("text");for(let e=0;e<p.nodes.length;e++)NR.info("Setting up subgraphs",p.nodes[e],p.id),h.setParent(p.nodes[e],p.id)}yB(m,h,t,u,d,r),vB(_,h);const f=u.select(`[id="${t}"]`),y=u.select("#"+t+" g");if(qj(y,h,["point","circle","cross"],"flowchart",t),QD.insertTitle(f,"flowchartTitleText",o.titleTopMargin,r.db.getDiagramTitle()),pM(h,f,o.diagramPadding,o.useMaxWidth),r.db.indexNodes("subGraph"+b),!o.htmlLabels){const e=d.querySelectorAll('[id="'+t+'"] .edgeLabel .label');for(const t of e){const e=t.getBBox(),n=d.createElementNS("http://www.w3.org/2000/svg","rect");n.setAttribute("rx",0),n.setAttribute("ry",0),n.setAttribute("width",e.width),n.setAttribute("height",e.height),t.insertBefore(n,t.firstChild)}}Object.keys(m).forEach((function(e){const n=m[e];if(n.link){const r=k_("#"+t+' [id="'+e+'"]');if(r){const e=d.createElementNS("http://www.w3.org/2000/svg","a");e.setAttributeNS("http://www.w3.org/2000/svg","class",n.classes.join(" ")),e.setAttributeNS("http://www.w3.org/2000/svg","href",n.link),e.setAttributeNS("http://www.w3.org/2000/svg","rel","noopener"),"sandbox"===a?e.setAttributeNS("http://www.w3.org/2000/svg","target","_top"):n.linkTarget&&e.setAttributeNS("http://www.w3.org/2000/svg","target",n.linkTarget);const t=r.insert((function(){return e}),":first-child"),i=r.select(".label-container");i&&t.append((function(){return i.node()}));const o=r.select(".label");o&&t.append((function(){return o.node()}))}}}))}};var SB=function(){var e=function(e,t,n,r){for(n=n||{},r=e.length;r--;n[e[r]]=t);return n},t=[1,3],n=[1,5],r=[7,9,11,12,13,14,15,16,17,18,19,20,21,23,25,26,28,35,40],i=[1,15],a=[1,16],o=[1,17],s=[1,18],l=[1,19],c=[1,20],u=[1,21],d=[1,22],h=[1,23],p=[1,24],g=[1,25],m=[1,26],_=[1,27],b=[1,29],f=[1,31],y=[1,34],v=[5,7,9,11,12,13,14,15,16,17,18,19,20,21,23,25,26,28,35,40],E={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,gantt:5,document:6,EOF:7,line:8,SPACE:9,statement:10,NL:11,dateFormat:12,inclusiveEndDates:13,topAxis:14,axisFormat:15,tickInterval:16,excludes:17,includes:18,todayMarker:19,title:20,acc_title:21,acc_title_value:22,acc_descr:23,acc_descr_value:24,acc_descr_multiline_value:25,section:26,clickStatement:27,taskTxt:28,taskData:29,openDirective:30,typeDirective:31,closeDirective:32,":":33,argDirective:34,click:35,callbackname:36,callbackargs:37,href:38,clickStatementDebug:39,open_directive:40,type_directive:41,arg_directive:42,close_directive:43,$accept:0,$end:1},terminals_:{2:"error",5:"gantt",7:"EOF",9:"SPACE",11:"NL",12:"dateFormat",13:"inclusiveEndDates",14:"topAxis",15:"axisFormat",16:"tickInterval",17:"excludes",18:"includes",19:"todayMarker",20:"title",21:"acc_title",22:"acc_title_value",23:"acc_descr",24:"acc_descr_value",25:"acc_descr_multiline_value",26:"section",28:"taskTxt",29:"taskData",33:":",35:"click",36:"callbackname",37:"callbackargs",38:"href",40:"open_directive",41:"type_directive",42:"arg_directive",43:"close_directive"},productions_:[0,[3,2],[3,3],[6,0],[6,2],[8,2],[8,1],[8,1],[8,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[10,1],[10,1],[10,2],[10,1],[4,4],[4,6],[27,2],[27,3],[27,3],[27,4],[27,3],[27,4],[27,2],[39,2],[39,3],[39,3],[39,4],[39,3],[39,4],[39,2],[30,1],[31,1],[34,1],[32,1]],performAction:function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 2:return a[s-1];case 3:case 7:case 8:this.$=[];break;case 4:a[s-1].push(a[s]),this.$=a[s-1];break;case 5:case 6:this.$=a[s];break;case 9:r.setDateFormat(a[s].substr(11)),this.$=a[s].substr(11);break;case 10:r.enableInclusiveEndDates(),this.$=a[s].substr(18);break;case 11:r.TopAxis(),this.$=a[s].substr(8);break;case 12:r.setAxisFormat(a[s].substr(11)),this.$=a[s].substr(11);break;case 13:r.setTickInterval(a[s].substr(13)),this.$=a[s].substr(13);break;case 14:r.setExcludes(a[s].substr(9)),this.$=a[s].substr(9);break;case 15:r.setIncludes(a[s].substr(9)),this.$=a[s].substr(9);break;case 16:r.setTodayMarker(a[s].substr(12)),this.$=a[s].substr(12);break;case 17:r.setDiagramTitle(a[s].substr(6)),this.$=a[s].substr(6);break;case 18:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 19:case 20:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 21:r.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 23:r.addTask(a[s-1],a[s]),this.$="task";break;case 27:this.$=a[s-1],r.setClickEvent(a[s-1],a[s],null);break;case 28:this.$=a[s-2],r.setClickEvent(a[s-2],a[s-1],a[s]);break;case 29:this.$=a[s-2],r.setClickEvent(a[s-2],a[s-1],null),r.setLink(a[s-2],a[s]);break;case 30:this.$=a[s-3],r.setClickEvent(a[s-3],a[s-2],a[s-1]),r.setLink(a[s-3],a[s]);break;case 31:this.$=a[s-2],r.setClickEvent(a[s-2],a[s],null),r.setLink(a[s-2],a[s-1]);break;case 32:this.$=a[s-3],r.setClickEvent(a[s-3],a[s-1],a[s]),r.setLink(a[s-3],a[s-2]);break;case 33:this.$=a[s-1],r.setLink(a[s-1],a[s]);break;case 34:case 40:this.$=a[s-1]+" "+a[s];break;case 35:case 36:case 38:this.$=a[s-2]+" "+a[s-1]+" "+a[s];break;case 37:case 39:this.$=a[s-3]+" "+a[s-2]+" "+a[s-1]+" "+a[s];break;case 41:r.parseDirective("%%{","open_directive");break;case 42:r.parseDirective(a[s],"type_directive");break;case 43:a[s]=a[s].trim().replace(/'/g,'"'),r.parseDirective(a[s],"arg_directive");break;case 44:r.parseDirective("}%%","close_directive","gantt")}},table:[{3:1,4:2,5:t,30:4,40:n},{1:[3]},{3:6,4:2,5:t,30:4,40:n},e(r,[2,3],{6:7}),{31:8,41:[1,9]},{41:[2,41]},{1:[2,1]},{4:30,7:[1,10],8:11,9:[1,12],10:13,11:[1,14],12:i,13:a,14:o,15:s,16:l,17:c,18:u,19:d,20:h,21:p,23:g,25:m,26:_,27:28,28:b,30:4,35:f,40:n},{32:32,33:[1,33],43:y},e([33,43],[2,42]),e(r,[2,8],{1:[2,2]}),e(r,[2,4]),{4:30,10:35,12:i,13:a,14:o,15:s,16:l,17:c,18:u,19:d,20:h,21:p,23:g,25:m,26:_,27:28,28:b,30:4,35:f,40:n},e(r,[2,6]),e(r,[2,7]),e(r,[2,9]),e(r,[2,10]),e(r,[2,11]),e(r,[2,12]),e(r,[2,13]),e(r,[2,14]),e(r,[2,15]),e(r,[2,16]),e(r,[2,17]),{22:[1,36]},{24:[1,37]},e(r,[2,20]),e(r,[2,21]),e(r,[2,22]),{29:[1,38]},e(r,[2,24]),{36:[1,39],38:[1,40]},{11:[1,41]},{34:42,42:[1,43]},{11:[2,44]},e(r,[2,5]),e(r,[2,18]),e(r,[2,19]),e(r,[2,23]),e(r,[2,27],{37:[1,44],38:[1,45]}),e(r,[2,33],{36:[1,46]}),e(v,[2,25]),{32:47,43:y},{43:[2,43]},e(r,[2,28],{38:[1,48]}),e(r,[2,29]),e(r,[2,31],{37:[1,49]}),{11:[1,50]},e(r,[2,30]),e(r,[2,32]),e(v,[2,26])],defaultActions:{5:[2,41],6:[2,1],34:[2,44],43:[2,43]},parseError:function(e,t){if(!t.recoverable){var n=new Error(e);throw n.hash=t,n}this.trace(e)},parse:function(e){var t=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",l=0,c=0,u=a.slice.call(arguments,1),d=Object.create(this.lexer),h={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(h.yy[p]=this.yy[p]);d.setInput(e,h.yy),h.yy.lexer=d,h.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var g=d.yylloc;a.push(g);var m=d.options&&d.options.ranges;"function"==typeof h.yy.parseError?this.parseError=h.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var _,b,f,y,v,E,S,T,C,x={};;){if(b=n[n.length-1],this.defaultActions[b]?f=this.defaultActions[b]:(null==_&&(C=void 0,"number"!=typeof(C=r.pop()||d.lex()||1)&&(C instanceof Array&&(C=(r=C).pop()),C=t.symbols_[C]||C),_=C),f=o[b]&&o[b][_]),void 0===f||!f.length||!f[0]){var k="";for(v in T=[],o[b])this.terminals_[v]&&v>2&&T.push("'"+this.terminals_[v]+"'");k=d.showPosition?"Parse error on line "+(l+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==_?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(k,{text:d.match,token:this.terminals_[_]||_,line:d.yylineno,loc:g,expected:T})}if(f[0]instanceof Array&&f.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+_);switch(f[0]){case 1:n.push(_),i.push(d.yytext),a.push(d.yylloc),n.push(f[1]),_=null,c=d.yyleng,s=d.yytext,l=d.yylineno,g=d.yylloc;break;case 2:if(E=this.productions_[f[1]][1],x.$=i[i.length-E],x._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},m&&(x._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),void 0!==(y=this.performAction.apply(x,[s,c,l,h.yy,f[1],i,a].concat(u))))return y;E&&(n=n.slice(0,-1*E*2),i=i.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[f[1]][0]),i.push(x.$),a.push(x._$),S=o[n[n.length-2]][n[n.length-1]],n.push(S);break;case 3:return!0}}return!0}},S=function(){var e={EOF:1,parseError:function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)}, +// resets the lexer, sets new input +setInput:function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this}, +// consumes and returns one char from the input +input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e}, +// unshifts one char (or a string) into the input +unput:function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this}, +// When called from action, caches matched text and appends it on next action +more:function(){return this._more=!0,this}, +// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead. +reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})}, +// retain first n characters of the match +less:function(e){this.unput(this.match.slice(e))}, +// displays already matched input, i.e. for error messages +pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")}, +// displays upcoming input, i.e. for error messages +upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")}, +// displays the character position where the lexing error occurred, i.e. for error messages +showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"}, +// test the lexed token: return FALSE when not a match, otherwise return token +test_match:function(e,t){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1}, +// return next match in input +next:function(){if(this.done)return this.EOF;var e,t,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!t||n[0].length>t[0].length)){if(t=n,r=a,this.options.backtrack_lexer){if(!1!==(e=this.test_match(n,i[a])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,i[r]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})}, +// return next match that has a token +lex:function(){var e=this.next();return e||this.lex()}, +// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack) +begin:function(e){this.conditionStack.push(e)}, +// pop the previously active lexer condition state off the condition stack +popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]}, +// produce the lexer rule set which is active for the currently active lexer condition state +_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules}, +// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available +topState:function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"}, +// alias for begin(condition) +pushState:function(e){this.begin(e)}, +// return the number of states currently on the stack +stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(e,t,n,r){switch(n){case 0:return this.begin("open_directive"),40;case 1:return this.begin("type_directive"),41;case 2:return this.popState(),this.begin("arg_directive"),33;case 3:return this.popState(),this.popState(),43;case 4:return 42;case 5:return this.begin("acc_title"),21;case 6:return this.popState(),"acc_title_value";case 7:return this.begin("acc_descr"),23;case 8:return this.popState(),"acc_descr_value";case 9:this.begin("acc_descr_multiline");break;case 10:case 20:case 23:case 26:case 29:this.popState();break;case 11:return"acc_descr_multiline_value";case 12:case 13:case 14:case 16:case 17:case 18:break;case 15:return 11;case 19:this.begin("href");break;case 21:return 38;case 22:this.begin("callbackname");break;case 24:this.popState(),this.begin("callbackargs");break;case 25:return 36;case 27:return 37;case 28:this.begin("click");break;case 30:return 35;case 31:return 5;case 32:return 12;case 33:return 13;case 34:return 14;case 35:return 15;case 36:return 16;case 37:return 18;case 38:return 17;case 39:return 19;case 40:return"date";case 41:return 20;case 42:return"accDescription";case 43:return 26;case 44:return 28;case 45:return 29;case 46:return 33;case 47:return 7;case 48:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:%%(?!\{)*[^\n]*)/i,/^(?:[^\}]%%*[^\n]*)/i,/^(?:%%*[^\n]*[\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:href[\s]+["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:call[\s]+)/i,/^(?:\([\s]*\))/i,/^(?:\()/i,/^(?:[^(]*)/i,/^(?:\))/i,/^(?:[^)]*)/i,/^(?:click[\s]+)/i,/^(?:[\s\n])/i,/^(?:[^\s\n]*)/i,/^(?:gantt\b)/i,/^(?:dateFormat\s[^#\n;]+)/i,/^(?:inclusiveEndDates\b)/i,/^(?:topAxis\b)/i,/^(?:axisFormat\s[^#\n;]+)/i,/^(?:tickInterval\s[^#\n;]+)/i,/^(?:includes\s[^#\n;]+)/i,/^(?:excludes\s[^#\n;]+)/i,/^(?:todayMarker\s[^\n;]+)/i,/^(?:\d\d\d\d-\d\d-\d\d\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accDescription\s[^#\n;]+)/i,/^(?:section\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[10,11],inclusive:!1},acc_descr:{rules:[8],inclusive:!1},acc_title:{rules:[6],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},callbackargs:{rules:[26,27],inclusive:!1},callbackname:{rules:[23,24,25],inclusive:!1},href:{rules:[20,21],inclusive:!1},click:{rules:[29,30],inclusive:!1},INITIAL:{rules:[0,5,7,9,12,13,14,15,16,17,18,19,22,28,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48],inclusive:!0}}};return e}();function T(){this.yy={}}return E.lexer=S,T.prototype=E,E.Parser=T,new T}();SB.parser=SB;const TB=SB,CB=e=>null!==e.match(/^\s*gantt/);Lg.extend(vR),Lg.extend(CR),Lg.extend(AR);let xB,kB="",AB="",wB="",NB=[],OB=[],RB={},IB=[],DB=[],MB="";const LB=["active","done","crit","milestone"];let PB=[],jB=!1,FB=!1,BB=0;const UB=function(e,t,n,r){return!r.includes(e.format(t.trim()))&&(!!(e.isoWeekday()>=6&&n.includes("weekends"))||(!!n.includes(e.format("dddd").toLowerCase())||n.includes(e.format(t.trim()))))},GB=function(e,t,n,r){if(!n.length||e.manualEndTime)return;let i,a;i=e.startTime instanceof Date?Lg(e.startTime):Lg(e.startTime,t,!0),i=i.add(1,"d"),a=e.endTime instanceof Date?Lg(e.endTime):Lg(e.endTime,t,!0);const[o,s]=zB(i,a,t,n,r);e.endTime=o.toDate(),e.renderEndTime=s},zB=function(e,t,n,r,i){let a=!1,o=null;for(;e<=t;)a||(o=t.toDate()),a=UB(e,n,r,i),a&&(t=t.add(1,"d")),e=e.add(1,"d");return[t,o]},$B=function(e,t,n){n=n.trim();const r=/^after\s+([\d\w- ]+)/.exec(n.trim());if(null!==r){let e=null;if(r[1].split(" ").forEach((function(t){let n=ZB(t);void 0!==n&&(e?n.endTime>e.endTime&&(e=n):e=n)})),e)return e.endTime;{const e=new Date;return e.setHours(0,0,0,0),e}}let i=Lg(n,t.trim(),!0);if(i.isValid())return i.toDate();{NR.debug("Invalid date:"+n),NR.debug("With date format:"+t.trim());const e=new Date(n);if(void 0===e||isNaN(e.getTime()))throw new Error("Invalid date:"+n);return e}},YB=function(e){const t=/^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(e.trim());return null!==t?[Number.parseFloat(t[1]),t[2]]:[NaN,"ms"]},qB=function(e,t,n,r=!1){n=n.trim();let i=Lg(n,t.trim(),!0);if(i.isValid())return r&&(i=i.add(1,"d")),i.toDate();let a=Lg(e);const[o,s]=YB(n);if(!Number.isNaN(o)){const e=a.add(o,s);e.isValid()&&(a=e)}return a.toDate()};let HB=0;const VB=function(e){return void 0===e?(HB+=1,"task"+HB):e};let WB,QB,KB=[];const XB={},ZB=function(e){const t=XB[e];return KB[t]},JB=function(){const e=function(e){const t=KB[e];let n="";switch(KB[e].raw.startTime.type){case"prevTaskEnd":{const e=ZB(t.prevTaskId);t.startTime=e.endTime;break}case"getStartDate":n=$B(0,kB,KB[e].raw.startTime.startData),n&&(KB[e].startTime=n)}return KB[e].startTime&&(KB[e].endTime=qB(KB[e].startTime,kB,KB[e].raw.endTime.data,jB),KB[e].endTime&&(KB[e].processed=!0,KB[e].manualEndTime=Lg(KB[e].raw.endTime.data,"YYYY-MM-DD",!0).isValid(),GB(KB[e],kB,OB,NB))),KB[e].processed};let t=!0;for(const[n,r]of KB.entries())e(n),t=t&&r.processed;return t},eU=function(e,t){e.split(",").forEach((function(e){let n=ZB(e);void 0!==n&&n.classes.push(t)}))},tU=function(e,t){PB.push((function(){const n=document.querySelector(`[id="${e}"]`);null!==n&&n.addEventListener("click",(function(){t()}))}),(function(){const n=document.querySelector(`[id="${e}-text"]`);null!==n&&n.addEventListener("click",(function(){t()}))}))},nU={parseDirective:function(e,t,n){cY.parseDirective(this,e,t,n)},getConfig:()=>aM().gantt,clear:function(){IB=[],DB=[],MB="",PB=[],HB=0,WB=void 0,QB=void 0,KB=[],kB="",AB="",xB=void 0,wB="",NB=[],OB=[],jB=!1,FB=!1,BB=0,RB={},IM()},setDateFormat:function(e){kB=e},getDateFormat:function(){return kB},enableInclusiveEndDates:function(){jB=!0},endDatesAreInclusive:function(){return jB},enableTopAxis:function(){FB=!0},topAxisEnabled:function(){return FB},setAxisFormat:function(e){AB=e},getAxisFormat:function(){return AB},setTickInterval:function(e){xB=e},getTickInterval:function(){return xB},setTodayMarker:function(e){wB=e},getTodayMarker:function(){return wB},setAccTitle:DM,getAccTitle:MM,setDiagramTitle:jM,getDiagramTitle:FM,setAccDescription:LM,getAccDescription:PM,addSection:function(e){MB=e,IB.push(e)},getSections:function(){return IB},getTasks:function(){let e=JB();let t=0;for(;!e&&t<10;)e=JB(),t++;return DB=KB,DB},addTask:function(e,t){const n={section:MB,type:MB,processed:!1,manualEndTime:!1,renderEndTime:null,raw:{data:t},task:e,classes:[]},r=function(e,t){let n;n=":"===t.substr(0,1)?t.substr(1,t.length):t;const r=n.split(","),i={};rU(r,i,LB);for(let a=0;a<r.length;a++)r[a]=r[a].trim();switch(r.length){case 1:i.id=VB(),i.startTime={type:"prevTaskEnd",id:e},i.endTime={data:r[0]};break;case 2:i.id=VB(),i.startTime={type:"getStartDate",startData:r[0]},i.endTime={data:r[1]};break;case 3:i.id=VB(r[0]),i.startTime={type:"getStartDate",startData:r[1]},i.endTime={data:r[2]}}return i}(QB,t);n.raw.startTime=r.startTime,n.raw.endTime=r.endTime,n.id=r.id,n.prevTaskId=QB,n.active=r.active,n.done=r.done,n.crit=r.crit,n.milestone=r.milestone,n.order=BB,BB++;const i=KB.push(n);QB=n.id,XB[n.id]=i-1},findTaskById:ZB,addTaskOrg:function(e,t){const n={section:MB,type:MB,description:e,task:e,classes:[]},r=function(e,t){let n;n=":"===t.substr(0,1)?t.substr(1,t.length):t;const r=n.split(","),i={};rU(r,i,LB);for(let o=0;o<r.length;o++)r[o]=r[o].trim();let a="";switch(r.length){case 1:i.id=VB(),i.startTime=e.endTime,a=r[0];break;case 2:i.id=VB(),i.startTime=$B(0,kB,r[0]),a=r[1];break;case 3:i.id=VB(r[0]),i.startTime=$B(0,kB,r[1]),a=r[2]}return a&&(i.endTime=qB(i.startTime,kB,a,jB),i.manualEndTime=Lg(a,"YYYY-MM-DD",!0).isValid(),GB(i,kB,OB,NB)),i}(WB,t);n.startTime=r.startTime,n.endTime=r.endTime,n.id=r.id,n.active=r.active,n.done=r.done,n.crit=r.crit,n.milestone=r.milestone,WB=n,DB.push(n)},setIncludes:function(e){NB=e.toLowerCase().split(/[\s,]+/)},getIncludes:function(){return NB},setExcludes:function(e){OB=e.toLowerCase().split(/[\s,]+/)},getExcludes:function(){return OB},setClickEvent:function(e,t,n){e.split(",").forEach((function(e){!function(e,t,n){if("loose"!==aM().securityLevel)return;if(void 0===t)return;let r=[];if("string"==typeof n){r=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let e=0;e<r.length;e++){let t=r[e].trim();'"'===t.charAt(0)&&'"'===t.charAt(t.length-1)&&(t=t.substr(1,t.length-2)),r[e]=t}}0===r.length&&r.push(e),void 0!==ZB(e)&&tU(e,(()=>{QD.runFunc(t,...r)}))}(e,t,n)})),eU(e,"clickable")},setLink:function(e,t){let n=t;"loose"!==aM().securityLevel&&(n=Fg.sanitizeUrl(t)),e.split(",").forEach((function(e){void 0!==ZB(e)&&(tU(e,(()=>{window.open(n,"_self")})),RB[e]=n)})),eU(e,"clickable")},getLinks:function(){return RB},bindFunctions:function(e){PB.forEach((function(t){t(e)}))},parseDuration:YB,isInvalidDate:UB};function rU(e,t,n){let r=!0;for(;r;)r=!1,n.forEach((function(n){const i=new RegExp("^\\s*"+n+"\\s*$");e[0].match(i)&&(t[n]=!0,e.shift(1),r=!0)}))}let iU;const aU={setConf:function(){NR.debug("Something is calling, setConf, remove the call")},draw:function(e,t,n,r){const i=aM().gantt,a=aM().securityLevel;let o;"sandbox"===a&&(o=k_("#i"+t));const s=k_("sandbox"===a?o.nodes()[0].contentDocument.body:"body"),l="sandbox"===a?o.nodes()[0].contentDocument:document,c=l.getElementById(t);iU=c.parentElement.offsetWidth,void 0===iU&&(iU=1200),void 0!==i.useWidth&&(iU=i.useWidth);const u=r.db.getTasks(),d=u.length*(i.barHeight+i.barGap)+2*i.topPadding;c.setAttribute("viewBox","0 0 "+iU+" "+d);const h=s.select(`[id="${t}"]`),p=LE().domain([em(u,(function(e){return e.startTime})),Jg(u,(function(e){return e.endTime}))]).rangeRound([0,iU-i.leftPadding-i.rightPadding]);let g=[];for(const b of u)g.push(b.type);const m=g;function _(e,t){return function(e){let t=e.length;const n={};for(;t;)n[e[--t]]=(n[e[t]]||0)+1;return n}(t)[e]||0}g=function(e){const t={},n=[];for(let r=0,i=e.length;r<i;++r)Object.prototype.hasOwnProperty.call(t,e[r])||(t[e[r]]=!0,n.push(e[r]));return n}(g),u.sort((function(e,t){const n=e.startTime,r=t.startTime;let i=0;return n>r?i=1:n<r&&(i=-1),i})),function(e,n,a){const o=i.barHeight,s=o+i.barGap,c=i.topPadding,u=i.leftPadding;ky().domain([0,g.length]).range(["#00B9FA","#F95002"]).interpolate(Wb);(function(e,t,n,a,o,s,l,c){const u=s.reduce(((e,{startTime:t})=>e?Math.min(e,t):t),0),d=s.reduce(((e,{endTime:t})=>e?Math.max(e,t):t),0),g=r.db.getDateFormat();if(!u||!d)return;const m=[];let _=null,b=Lg(u);for(;b.valueOf()<=d;)r.db.isInvalidDate(b,g,l,c)?_?_.end=b:_={start:b,end:b}:_&&(m.push(_),_=null),b=b.add(1,"d");h.append("g").selectAll("rect").data(m).enter().append("rect").attr("id",(function(e){return"exclude-"+e.start.format("YYYY-MM-DD")})).attr("x",(function(e){return p(e.start)+n})).attr("y",i.gridLineStartPadding).attr("width",(function(e){const t=e.end.add(1,"day");return p(t)-p(e.start)})).attr("height",o-t-i.gridLineStartPadding).attr("transform-origin",(function(t,r){return(p(t.start)+n+.5*(p(t.end)-p(t.start))).toString()+"px "+(r*e+.5*o).toString()+"px"})).attr("class","exclude-range")})(s,c,u,0,a,e,r.db.getExcludes(),r.db.getIncludes()),function(e,t,n,a){let o=(s=p,lm(3,s)).tickSize(-a+t+i.gridLineStartPadding).tickFormat(gv(r.db.getAxisFormat()||i.axisFormat||"%Y-%m-%d"));var s;const l=/^([1-9]\d*)(minute|hour|day|week|month)$/.exec(r.db.getTickInterval()||i.tickInterval);if(null!==l){const e=l[1];switch(l[2]){case"minute":o.ticks(By.every(e));break;case"hour":o.ticks(Uy.every(e));break;case"day":o.ticks(Gy.every(e));break;case"week":o.ticks(Yy.every(e));break;case"month":o.ticks(av.every(e))}}if(h.append("g").attr("class","grid").attr("transform","translate("+e+", "+(a-50)+")").call(o).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10).attr("dy","1em"),r.db.topAxisEnabled()||i.topAxis){let n=function(e){return lm(1,e)}(p).tickSize(-a+t+i.gridLineStartPadding).tickFormat(gv(r.db.getAxisFormat()||i.axisFormat||"%Y-%m-%d"));if(null!==l){const e=l[1];switch(l[2]){case"minute":n.ticks(By.every(e));break;case"hour":n.ticks(Uy.every(e));break;case"day":n.ticks(Gy.every(e));break;case"week":n.ticks(Yy.every(e));break;case"month":n.ticks(av.every(e))}}h.append("g").attr("class","grid").attr("transform","translate("+e+", "+t+")").call(n).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10)}}(u,c,0,a),function(e,n,a,o,s,l,c){h.append("g").selectAll("rect").data(e).enter().append("rect").attr("x",0).attr("y",(function(e,t){return e.order*n+a-2})).attr("width",(function(){return c-i.rightPadding/2})).attr("height",n).attr("class",(function(e){for(const[t,n]of g.entries())if(e.type===n)return"section section"+t%i.numberSectionStyles;return"section section0"}));const u=h.append("g").selectAll("rect").data(e).enter(),d=r.db.getLinks();u.append("rect").attr("id",(function(e){return e.id})).attr("rx",3).attr("ry",3).attr("x",(function(e){return e.milestone?p(e.startTime)+o+.5*(p(e.endTime)-p(e.startTime))-.5*s:p(e.startTime)+o})).attr("y",(function(e,t){return e.order*n+a})).attr("width",(function(e){return e.milestone?s:p(e.renderEndTime||e.endTime)-p(e.startTime)})).attr("height",s).attr("transform-origin",(function(e,t){return t=e.order,(p(e.startTime)+o+.5*(p(e.endTime)-p(e.startTime))).toString()+"px "+(t*n+a+.5*s).toString()+"px"})).attr("class",(function(e){const t="task";let n="";e.classes.length>0&&(n=e.classes.join(" "));let r=0;for(const[o,s]of g.entries())e.type===s&&(r=o%i.numberSectionStyles);let a="";return e.active?e.crit?a+=" activeCrit":a=" active":e.done?a=e.crit?" doneCrit":" done":e.crit&&(a+=" crit"),0===a.length&&(a=" task"),e.milestone&&(a=" milestone "+a),a+=r,a+=" "+n,t+a})),u.append("text").attr("id",(function(e){return e.id+"-text"})).text((function(e){return e.task})).attr("font-size",i.fontSize).attr("x",(function(e){let t=p(e.startTime),n=p(e.renderEndTime||e.endTime);e.milestone&&(t+=.5*(p(e.endTime)-p(e.startTime))-.5*s),e.milestone&&(n=t+s);const r=this.getBBox().width;return r>n-t?n+r+1.5*i.leftPadding>c?t+o-5:n+o+5:(n-t)/2+t+o})).attr("y",(function(e,t){return e.order*n+i.barHeight/2+(i.fontSize/2-2)+a})).attr("text-height",s).attr("class",(function(e){const t=p(e.startTime);let n=p(e.endTime);e.milestone&&(n=t+s);const r=this.getBBox().width;let a="";e.classes.length>0&&(a=e.classes.join(" "));let o=0;for(const[s,c]of g.entries())e.type===c&&(o=s%i.numberSectionStyles);let l="";return e.active&&(l=e.crit?"activeCritText"+o:"activeText"+o),e.done?l=e.crit?l+" doneCritText"+o:l+" doneText"+o:e.crit&&(l=l+" critText"+o),e.milestone&&(l+=" milestoneText"),r>n-t?n+r+1.5*i.leftPadding>c?a+" taskTextOutsideLeft taskTextOutside"+o+" "+l:a+" taskTextOutsideRight taskTextOutside"+o+" "+l+" width-"+r:a+" taskText taskText"+o+" "+l+" width-"+r}));if("sandbox"===aM().securityLevel){let e;e=k_("#i"+t);const n=e.nodes()[0].contentDocument;u.filter((function(e){return void 0!==d[e.id]})).each((function(e){var t=n.querySelector("#"+e.id),r=n.querySelector("#"+e.id+"-text");const i=t.parentNode;var a=n.createElement("a");a.setAttribute("xlink:href",d[e.id]),a.setAttribute("target","_top"),i.appendChild(a),a.appendChild(t),a.appendChild(r)}))}}(e,s,c,u,o,0,n),function(e,t){const n=[];let r=0;for(const[i,a]of g.entries())n[i]=[a,_(a,m)];h.append("g").selectAll("text").data(n).enter().append((function(e){const t=e[0].split(BR.lineBreakRegex),n=-(t.length-1)/2,r=l.createElementNS("http://www.w3.org/2000/svg","text");r.setAttribute("dy",n+"em");for(const[i,a]of t.entries()){const e=l.createElementNS("http://www.w3.org/2000/svg","tspan");e.setAttribute("alignment-baseline","central"),e.setAttribute("x","10"),i>0&&e.setAttribute("dy","1em"),e.textContent=a,r.appendChild(e)}return r})).attr("x",10).attr("y",(function(i,a){if(!(a>0))return i[1]*e/2+t;for(let o=0;o<a;o++)return r+=n[a-1][1],i[1]*e/2+r*e+t})).attr("font-size",i.sectionFontSize).attr("font-size",i.sectionFontSize).attr("class",(function(e){for(const[t,n]of g.entries())if(e[0]===n)return"sectionTitle sectionTitle"+t%i.numberSectionStyles;return"sectionTitle"}))}(s,c),function(e,t,n,a){const o=r.db.getTodayMarker();if("off"===o)return;const s=h.append("g").attr("class","today"),l=new Date,c=s.append("line");c.attr("x1",p(l)+e).attr("x2",p(l)+e).attr("y1",i.titleTopMargin).attr("y2",a-i.titleTopMargin).attr("class","today"),""!==o&&c.attr("style",o.replace(/,/g,";"))}(u,0,0,a)}(u,iU,d),hM(h,d,iU,i.useMaxWidth),h.append("text").text(r.db.getDiagramTitle()).attr("x",iU/2).attr("y",i.titleTopMargin).attr("class","titleText")}};var oU=function(){var e=function(e,t,n,r){for(n=n||{},r=e.length;r--;n[e[r]]=t);return n},t=[6,9,10],n={trace:function(){},yy:{},symbols_:{error:2,start:3,info:4,document:5,EOF:6,line:7,statement:8,NL:9,showInfo:10,$accept:0,$end:1},terminals_:{2:"error",4:"info",6:"EOF",9:"NL",10:"showInfo"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[8,1]],performAction:function(e,t,n,r,i,a,o){switch(a.length,i){case 1:return r;case 4:break;case 6:r.setInfo(!0)}},table:[{3:1,4:[1,2]},{1:[3]},e(t,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8]},{1:[2,1]},e(t,[2,3]),e(t,[2,4]),e(t,[2,5]),e(t,[2,6])],defaultActions:{4:[2,1]},parseError:function(e,t){if(!t.recoverable){var n=new Error(e);throw n.hash=t,n}this.trace(e)},parse:function(e){var t=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",l=0,c=0,u=a.slice.call(arguments,1),d=Object.create(this.lexer),h={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(h.yy[p]=this.yy[p]);d.setInput(e,h.yy),h.yy.lexer=d,h.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var g=d.yylloc;a.push(g);var m=d.options&&d.options.ranges;"function"==typeof h.yy.parseError?this.parseError=h.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var _,b,f,y,v,E,S,T,C,x={};;){if(b=n[n.length-1],this.defaultActions[b]?f=this.defaultActions[b]:(null==_&&(C=void 0,"number"!=typeof(C=r.pop()||d.lex()||1)&&(C instanceof Array&&(C=(r=C).pop()),C=t.symbols_[C]||C),_=C),f=o[b]&&o[b][_]),void 0===f||!f.length||!f[0]){var k="";for(v in T=[],o[b])this.terminals_[v]&&v>2&&T.push("'"+this.terminals_[v]+"'");k=d.showPosition?"Parse error on line "+(l+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==_?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(k,{text:d.match,token:this.terminals_[_]||_,line:d.yylineno,loc:g,expected:T})}if(f[0]instanceof Array&&f.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+_);switch(f[0]){case 1:n.push(_),i.push(d.yytext),a.push(d.yylloc),n.push(f[1]),_=null,c=d.yyleng,s=d.yytext,l=d.yylineno,g=d.yylloc;break;case 2:if(E=this.productions_[f[1]][1],x.$=i[i.length-E],x._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},m&&(x._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),void 0!==(y=this.performAction.apply(x,[s,c,l,h.yy,f[1],i,a].concat(u))))return y;E&&(n=n.slice(0,-1*E*2),i=i.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[f[1]][0]),i.push(x.$),a.push(x._$),S=o[n[n.length-2]][n[n.length-1]],n.push(S);break;case 3:return!0}}return!0}},r=function(){var e={EOF:1,parseError:function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)}, +// resets the lexer, sets new input +setInput:function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this}, +// consumes and returns one char from the input +input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e}, +// unshifts one char (or a string) into the input +unput:function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this}, +// When called from action, caches matched text and appends it on next action +more:function(){return this._more=!0,this}, +// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead. +reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})}, +// retain first n characters of the match +less:function(e){this.unput(this.match.slice(e))}, +// displays already matched input, i.e. for error messages +pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")}, +// displays upcoming input, i.e. for error messages +upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")}, +// displays the character position where the lexing error occurred, i.e. for error messages +showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"}, +// test the lexed token: return FALSE when not a match, otherwise return token +test_match:function(e,t){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1}, +// return next match in input +next:function(){if(this.done)return this.EOF;var e,t,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!t||n[0].length>t[0].length)){if(t=n,r=a,this.options.backtrack_lexer){if(!1!==(e=this.test_match(n,i[a])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,i[r]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})}, +// return next match that has a token +lex:function(){var e=this.next();return e||this.lex()}, +// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack) +begin:function(e){this.conditionStack.push(e)}, +// pop the previously active lexer condition state off the condition stack +popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]}, +// produce the lexer rule set which is active for the currently active lexer condition state +_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules}, +// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available +topState:function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"}, +// alias for begin(condition) +pushState:function(e){this.begin(e)}, +// return the number of states currently on the stack +stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(e,t,n,r){switch(n){case 0:return 4;case 1:return 9;case 2:return"space";case 3:return 10;case 4:return 6;case 5:return"TXT"}},rules:[/^(?:info\b)/i,/^(?:[\s\n\r]+)/i,/^(?:[\s]+)/i,/^(?:showInfo\b)/i,/^(?:$)/i,/^(?:.)/i],conditions:{INITIAL:{rules:[0,1,2,3,4,5],inclusive:!0}}};return e}();function i(){this.yy={}}return n.lexer=r,i.prototype=n,n.Parser=i,new i}();oU.parser=oU;const sU=oU;var lU="",cU=!1;const uU={setMessage:e=>{NR.debug("Setting message to: "+e),lU=e},getMessage:()=>lU,setInfo:e=>{cU=e},getInfo:()=>cU,clear:IM},dU={draw:(e,t,n)=>{try{NR.debug("Rendering info diagram\n"+e);const r=aM().securityLevel;let i;"sandbox"===r&&(i=k_("#i"+t));const a=k_("sandbox"===r?i.nodes()[0].contentDocument.body:"body").select("#"+t);a.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size","32px").style("text-anchor","middle").text("v "+n),a.attr("height",100),a.attr("width",400)}catch(fR){NR.error("Error while rendering info diagram"),NR.error(fR.message)}}},hU=e=>null!==e.match(/^\s*info/);var pU=function(){var e=function(e,t,n,r){for(n=n||{},r=e.length;r--;n[e[r]]=t);return n},t=[1,4],n=[1,5],r=[1,6],i=[1,7],a=[1,9],o=[1,11,13,15,17,19,20,26,27,28,29],s=[2,5],l=[1,6,11,13,15,17,19,20,26,27,28,29],c=[26,27,28],u=[2,8],d=[1,18],h=[1,19],p=[1,20],g=[1,21],m=[1,22],_=[1,23],b=[1,28],f=[6,26,27,28,29],y={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,directive:5,PIE:6,document:7,showData:8,line:9,statement:10,txt:11,value:12,title:13,title_value:14,acc_title:15,acc_title_value:16,acc_descr:17,acc_descr_value:18,acc_descr_multiline_value:19,section:20,openDirective:21,typeDirective:22,closeDirective:23,":":24,argDirective:25,NEWLINE:26,";":27,EOF:28,open_directive:29,type_directive:30,arg_directive:31,close_directive:32,$accept:0,$end:1},terminals_:{2:"error",6:"PIE",8:"showData",11:"txt",12:"value",13:"title",14:"title_value",15:"acc_title",16:"acc_title_value",17:"acc_descr",18:"acc_descr_value",19:"acc_descr_multiline_value",20:"section",24:":",26:"NEWLINE",27:";",28:"EOF",29:"open_directive",30:"type_directive",31:"arg_directive",32:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,3],[7,0],[7,2],[9,2],[10,0],[10,2],[10,2],[10,2],[10,2],[10,1],[10,1],[10,1],[5,3],[5,5],[4,1],[4,1],[4,1],[21,1],[22,1],[25,1],[23,1]],performAction:function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 4:r.setShowData(!0);break;case 7:this.$=a[s-1];break;case 9:r.addSection(a[s-1],r.cleanupValue(a[s]));break;case 10:this.$=a[s].trim(),r.setDiagramTitle(this.$);break;case 11:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 12:case 13:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 14:r.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 21:r.parseDirective("%%{","open_directive");break;case 22:r.parseDirective(a[s],"type_directive");break;case 23:a[s]=a[s].trim().replace(/'/g,'"'),r.parseDirective(a[s],"arg_directive");break;case 24:r.parseDirective("}%%","close_directive","pie")}},table:[{3:1,4:2,5:3,6:t,21:8,26:n,27:r,28:i,29:a},{1:[3]},{3:10,4:2,5:3,6:t,21:8,26:n,27:r,28:i,29:a},{3:11,4:2,5:3,6:t,21:8,26:n,27:r,28:i,29:a},e(o,s,{7:12,8:[1,13]}),e(l,[2,18]),e(l,[2,19]),e(l,[2,20]),{22:14,30:[1,15]},{30:[2,21]},{1:[2,1]},{1:[2,2]},e(c,u,{21:8,9:16,10:17,5:24,1:[2,3],11:d,13:h,15:p,17:g,19:m,20:_,29:a}),e(o,s,{7:25}),{23:26,24:[1,27],32:b},e([24,32],[2,22]),e(o,[2,6]),{4:29,26:n,27:r,28:i},{12:[1,30]},{14:[1,31]},{16:[1,32]},{18:[1,33]},e(c,[2,13]),e(c,[2,14]),e(c,[2,15]),e(c,u,{21:8,9:16,10:17,5:24,1:[2,4],11:d,13:h,15:p,17:g,19:m,20:_,29:a}),e(f,[2,16]),{25:34,31:[1,35]},e(f,[2,24]),e(o,[2,7]),e(c,[2,9]),e(c,[2,10]),e(c,[2,11]),e(c,[2,12]),{23:36,32:b},{32:[2,23]},e(f,[2,17])],defaultActions:{9:[2,21],10:[2,1],11:[2,2],35:[2,23]},parseError:function(e,t){if(!t.recoverable){var n=new Error(e);throw n.hash=t,n}this.trace(e)},parse:function(e){var t=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",l=0,c=0,u=a.slice.call(arguments,1),d=Object.create(this.lexer),h={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(h.yy[p]=this.yy[p]);d.setInput(e,h.yy),h.yy.lexer=d,h.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var g=d.yylloc;a.push(g);var m=d.options&&d.options.ranges;"function"==typeof h.yy.parseError?this.parseError=h.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var _,b,f,y,v,E,S,T,C,x={};;){if(b=n[n.length-1],this.defaultActions[b]?f=this.defaultActions[b]:(null==_&&(C=void 0,"number"!=typeof(C=r.pop()||d.lex()||1)&&(C instanceof Array&&(C=(r=C).pop()),C=t.symbols_[C]||C),_=C),f=o[b]&&o[b][_]),void 0===f||!f.length||!f[0]){var k="";for(v in T=[],o[b])this.terminals_[v]&&v>2&&T.push("'"+this.terminals_[v]+"'");k=d.showPosition?"Parse error on line "+(l+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==_?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(k,{text:d.match,token:this.terminals_[_]||_,line:d.yylineno,loc:g,expected:T})}if(f[0]instanceof Array&&f.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+_);switch(f[0]){case 1:n.push(_),i.push(d.yytext),a.push(d.yylloc),n.push(f[1]),_=null,c=d.yyleng,s=d.yytext,l=d.yylineno,g=d.yylloc;break;case 2:if(E=this.productions_[f[1]][1],x.$=i[i.length-E],x._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},m&&(x._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),void 0!==(y=this.performAction.apply(x,[s,c,l,h.yy,f[1],i,a].concat(u))))return y;E&&(n=n.slice(0,-1*E*2),i=i.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[f[1]][0]),i.push(x.$),a.push(x._$),S=o[n[n.length-2]][n[n.length-1]],n.push(S);break;case 3:return!0}}return!0}},v=function(){var e={EOF:1,parseError:function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)}, +// resets the lexer, sets new input +setInput:function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this}, +// consumes and returns one char from the input +input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e}, +// unshifts one char (or a string) into the input +unput:function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this}, +// When called from action, caches matched text and appends it on next action +more:function(){return this._more=!0,this}, +// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead. +reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})}, +// retain first n characters of the match +less:function(e){this.unput(this.match.slice(e))}, +// displays already matched input, i.e. for error messages +pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")}, +// displays upcoming input, i.e. for error messages +upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")}, +// displays the character position where the lexing error occurred, i.e. for error messages +showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"}, +// test the lexed token: return FALSE when not a match, otherwise return token +test_match:function(e,t){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1}, +// return next match in input +next:function(){if(this.done)return this.EOF;var e,t,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!t||n[0].length>t[0].length)){if(t=n,r=a,this.options.backtrack_lexer){if(!1!==(e=this.test_match(n,i[a])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,i[r]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})}, +// return next match that has a token +lex:function(){var e=this.next();return e||this.lex()}, +// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack) +begin:function(e){this.conditionStack.push(e)}, +// pop the previously active lexer condition state off the condition stack +popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]}, +// produce the lexer rule set which is active for the currently active lexer condition state +_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules}, +// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available +topState:function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"}, +// alias for begin(condition) +pushState:function(e){this.begin(e)}, +// return the number of states currently on the stack +stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(e,t,n,r){switch(n){case 0:return this.begin("open_directive"),29;case 1:return this.begin("type_directive"),30;case 2:return this.popState(),this.begin("arg_directive"),24;case 3:return this.popState(),this.popState(),32;case 4:return 31;case 5:case 6:case 8:case 9:break;case 7:return 26;case 10:return this.begin("title"),13;case 11:return this.popState(),"title_value";case 12:return this.begin("acc_title"),15;case 13:return this.popState(),"acc_title_value";case 14:return this.begin("acc_descr"),17;case 15:return this.popState(),"acc_descr_value";case 16:this.begin("acc_descr_multiline");break;case 17:case 20:this.popState();break;case 18:return"acc_descr_multiline_value";case 19:this.begin("string");break;case 21:return"txt";case 22:return 6;case 23:return 8;case 24:return"value";case 25:return 28}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:[\s]+)/i,/^(?:title\b)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:pie\b)/i,/^(?:showData\b)/i,/^(?::[\s]*[\d]+(?:\.[\d]+)?)/i,/^(?:$)/i],conditions:{acc_descr_multiline:{rules:[17,18],inclusive:!1},acc_descr:{rules:[15],inclusive:!1},acc_title:{rules:[13],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},title:{rules:[11],inclusive:!1},string:{rules:[20,21],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,12,14,16,19,22,23,24,25],inclusive:!0}}};return e}();function E(){this.yy={}}return y.lexer=v,E.prototype=y,y.Parser=E,new E}();pU.parser=pU;const gU=pU,mU=e=>null!==e.match(/^\s*pie/)||null!==e.match(/^\s*bar/);let _U={},bU=!1;const fU={parseDirective:function(e,t,n){cY.parseDirective(this,e,t,n)},getConfig:()=>aM().pie,addSection:function(e,t){e=BR.sanitizeText(e,aM()),void 0===_U[e]&&(_U[e]=t,NR.debug("Added new section :",e))},getSections:()=>_U,cleanupValue:function(e){return":"===e.substring(0,1)?(e=e.substring(1).trim(),Number(e.trim())):Number(e.trim())},clear:function(){_U={},bU=!1,IM()},setAccTitle:DM,getAccTitle:MM,setDiagramTitle:jM,getDiagramTitle:FM,setShowData:function(e){bU=e},getShowData:function(){return bU},getAccDescription:PM,setAccDescription:LM};let yU,vU=aM();const EU=450,SU={draw:(e,t,n,r)=>{try{vU=aM(),NR.debug("Rendering info diagram\n"+e);const n=aM().securityLevel;let _;"sandbox"===n&&(_=k_("#i"+t));const b=k_("sandbox"===n?_.nodes()[0].contentDocument.body:"body"),f="sandbox"===n?_.nodes()[0].contentDocument:document;r.db.clear(),r.parser.parse(e),NR.debug("Parsed info diagram");const y=f.getElementById(t);yU=y.parentElement.offsetWidth,void 0===yU&&(yU=1200),void 0!==vU.useWidth&&(yU=vU.useWidth),void 0!==vU.pie.useWidth&&(yU=vU.pie.useWidth);const v=b.select("#"+t);hM(v,EU,yU,vU.pie.useMaxWidth),y.setAttribute("viewBox","0 0 "+yU+" "+EU);var i=18,a=Math.min(yU,EU)/2-40,o=v.append("g").attr("transform","translate("+yU/2+",225)"),s=r.db.getSections(),l=0;Object.keys(s).forEach((function(e){l+=s[e]}));const E=vU.themeVariables;var c=[E.pie1,E.pie2,E.pie3,E.pie4,E.pie5,E.pie6,E.pie7,E.pie8,E.pie9,E.pie10,E.pie11,E.pie12],u=gy().range(c),d=Object.entries(s).map((function(e,t){return{order:t,name:e[0],value:e[1]}})),h=function(){var e=uS,t=cS,n=null,r=PE(0),i=PE(VE),a=PE(0);function o(o){var s,l,c,u,d,h=(o=rS(o)).length,p=0,g=new Array(h),m=new Array(h),_=+r.apply(this,arguments),b=Math.min(VE,Math.max(-VE,i.apply(this,arguments)-_)),f=Math.min(Math.abs(b)/h,a.apply(this,arguments)),y=f*(b<0?-1:1);for(s=0;s<h;++s)(d=m[g[s]=s]=+e(o[s],s,o))>0&&(p+=d);for(null!=t?g.sort((function(e,n){return t(m[e],m[n])})):null!=n&&g.sort((function(e,t){return n(o[e],o[t])})),s=0,c=p?(b-h*y)/p:0;s<h;++s,_=u)l=g[s],u=_+((d=m[l])>0?d*c:0)+y,m[l]={data:o[l],index:s,value:d,startAngle:_,endAngle:u,padAngle:f};return m}return o.value=function(t){return arguments.length?(e="function"==typeof t?t:PE(+t),o):e},o.sortValues=function(e){return arguments.length?(t=e,n=null,o):t},o.sort=function(e){return arguments.length?(n=e,t=null,o):n},o.startAngle=function(e){return arguments.length?(r="function"==typeof e?e:PE(+e),o):r},o.endAngle=function(e){return arguments.length?(i="function"==typeof e?e:PE(+e),o):i},o.padAngle=function(e){return arguments.length?(a="function"==typeof e?e:PE(+e),o):a},o}().value((function(e){return e.value})).sort((function(e,t){return e.order-t.order})),p=h(d),g=nS().innerRadius(0).outerRadius(a);o.selectAll("mySlices").data(p).enter().append("path").attr("d",g).attr("fill",(function(e){return u(e.data.name)})).attr("class","pieCircle"),o.selectAll("mySlices").data(p).enter().append("text").text((function(e){return(e.data.value/l*100).toFixed(0)+"%"})).attr("transform",(function(e){return"translate("+g.centroid(e)+")"})).style("text-anchor","middle").attr("class","slice"),o.append("text").text(r.db.getDiagramTitle()).attr("x",0).attr("y",-200).attr("class","pieTitleText");var m=o.selectAll(".legend").data(u.domain()).enter().append("g").attr("class","legend").attr("transform",(function(e,t){return"translate(216,"+(22*t-22*u.domain().length/2)+")"}));m.append("rect").attr("width",i).attr("height",i).style("fill",u).style("stroke",u),m.data(p).append("text").attr("x",22).attr("y",14).text((function(e){return r.db.getShowData()||vU.showData||vU.pie.showData?e.data.name+" ["+e.data.value+"]":e.data.name}))}catch(fR){NR.error("Error while rendering info diagram"),NR.error(fR)}}};var TU=function(){var e=function(e,t,n,r){for(n=n||{},r=e.length;r--;n[e[r]]=t);return n},t=[1,3],n=[1,5],r=[1,6],i=[1,7],a=[1,8],o=[5,6,8,14,16,18,19,40,41,42,43,44,45,53,71,72],s=[1,22],l=[2,13],c=[1,26],u=[1,27],d=[1,28],h=[1,29],p=[1,30],g=[1,31],m=[1,24],_=[1,32],b=[1,33],f=[1,36],y=[71,72],v=[5,8,14,16,18,19,40,41,42,43,44,45,53,60,62,71,72],E=[1,56],S=[1,57],T=[1,58],C=[1,59],x=[1,60],k=[1,61],A=[1,62],w=[62,63],N=[1,74],O=[1,70],R=[1,71],I=[1,72],D=[1,73],M=[1,75],L=[1,79],P=[1,80],j=[1,77],F=[1,78],B=[5,8,14,16,18,19,40,41,42,43,44,45,53,71,72],U={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,openDirective:9,typeDirective:10,closeDirective:11,":":12,argDirective:13,acc_title:14,acc_title_value:15,acc_descr:16,acc_descr_value:17,acc_descr_multiline_value:18,open_directive:19,type_directive:20,arg_directive:21,close_directive:22,requirementDef:23,elementDef:24,relationshipDef:25,requirementType:26,requirementName:27,STRUCT_START:28,requirementBody:29,ID:30,COLONSEP:31,id:32,TEXT:33,text:34,RISK:35,riskLevel:36,VERIFYMTHD:37,verifyType:38,STRUCT_STOP:39,REQUIREMENT:40,FUNCTIONAL_REQUIREMENT:41,INTERFACE_REQUIREMENT:42,PERFORMANCE_REQUIREMENT:43,PHYSICAL_REQUIREMENT:44,DESIGN_CONSTRAINT:45,LOW_RISK:46,MED_RISK:47,HIGH_RISK:48,VERIFY_ANALYSIS:49,VERIFY_DEMONSTRATION:50,VERIFY_INSPECTION:51,VERIFY_TEST:52,ELEMENT:53,elementName:54,elementBody:55,TYPE:56,type:57,DOCREF:58,ref:59,END_ARROW_L:60,relationship:61,LINE:62,END_ARROW_R:63,CONTAINS:64,COPIES:65,DERIVES:66,SATISFIES:67,VERIFIES:68,REFINES:69,TRACES:70,unqString:71,qString:72,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",12:":",14:"acc_title",15:"acc_title_value",16:"acc_descr",17:"acc_descr_value",18:"acc_descr_multiline_value",19:"open_directive",20:"type_directive",21:"arg_directive",22:"close_directive",28:"STRUCT_START",30:"ID",31:"COLONSEP",33:"TEXT",35:"RISK",37:"VERIFYMTHD",39:"STRUCT_STOP",40:"REQUIREMENT",41:"FUNCTIONAL_REQUIREMENT",42:"INTERFACE_REQUIREMENT",43:"PERFORMANCE_REQUIREMENT",44:"PHYSICAL_REQUIREMENT",45:"DESIGN_CONSTRAINT",46:"LOW_RISK",47:"MED_RISK",48:"HIGH_RISK",49:"VERIFY_ANALYSIS",50:"VERIFY_DEMONSTRATION",51:"VERIFY_INSPECTION",52:"VERIFY_TEST",53:"ELEMENT",56:"TYPE",58:"DOCREF",60:"END_ARROW_L",62:"LINE",63:"END_ARROW_R",64:"CONTAINS",65:"COPIES",66:"DERIVES",67:"SATISFIES",68:"VERIFIES",69:"REFINES",70:"TRACES",71:"unqString",72:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,3],[4,5],[4,2],[4,2],[4,1],[9,1],[10,1],[13,1],[11,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[23,5],[29,5],[29,5],[29,5],[29,5],[29,2],[29,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[36,1],[36,1],[36,1],[38,1],[38,1],[38,1],[38,1],[24,5],[55,5],[55,5],[55,2],[55,1],[25,5],[25,5],[61,1],[61,1],[61,1],[61,1],[61,1],[61,1],[61,1],[27,1],[27,1],[32,1],[32,1],[34,1],[34,1],[54,1],[54,1],[57,1],[57,1],[59,1],[59,1]],performAction:function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 6:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 7:case 8:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 9:r.parseDirective("%%{","open_directive");break;case 10:r.parseDirective(a[s],"type_directive");break;case 11:a[s]=a[s].trim().replace(/'/g,'"'),r.parseDirective(a[s],"arg_directive");break;case 12:r.parseDirective("}%%","close_directive","pie");break;case 13:this.$=[];break;case 19:r.addRequirement(a[s-3],a[s-4]);break;case 20:r.setNewReqId(a[s-2]);break;case 21:r.setNewReqText(a[s-2]);break;case 22:r.setNewReqRisk(a[s-2]);break;case 23:r.setNewReqVerifyMethod(a[s-2]);break;case 26:this.$=r.RequirementType.REQUIREMENT;break;case 27:this.$=r.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 28:this.$=r.RequirementType.INTERFACE_REQUIREMENT;break;case 29:this.$=r.RequirementType.PERFORMANCE_REQUIREMENT;break;case 30:this.$=r.RequirementType.PHYSICAL_REQUIREMENT;break;case 31:this.$=r.RequirementType.DESIGN_CONSTRAINT;break;case 32:this.$=r.RiskLevel.LOW_RISK;break;case 33:this.$=r.RiskLevel.MED_RISK;break;case 34:this.$=r.RiskLevel.HIGH_RISK;break;case 35:this.$=r.VerifyType.VERIFY_ANALYSIS;break;case 36:this.$=r.VerifyType.VERIFY_DEMONSTRATION;break;case 37:this.$=r.VerifyType.VERIFY_INSPECTION;break;case 38:this.$=r.VerifyType.VERIFY_TEST;break;case 39:r.addElement(a[s-3]);break;case 40:r.setNewElementType(a[s-2]);break;case 41:r.setNewElementDocRef(a[s-2]);break;case 44:r.addRelationship(a[s-2],a[s],a[s-4]);break;case 45:r.addRelationship(a[s-2],a[s-4],a[s]);break;case 46:this.$=r.Relationships.CONTAINS;break;case 47:this.$=r.Relationships.COPIES;break;case 48:this.$=r.Relationships.DERIVES;break;case 49:this.$=r.Relationships.SATISFIES;break;case 50:this.$=r.Relationships.VERIFIES;break;case 51:this.$=r.Relationships.REFINES;break;case 52:this.$=r.Relationships.TRACES}},table:[{3:1,4:2,6:t,9:4,14:n,16:r,18:i,19:a},{1:[3]},{3:10,4:2,5:[1,9],6:t,9:4,14:n,16:r,18:i,19:a},{5:[1,11]},{10:12,20:[1,13]},{15:[1,14]},{17:[1,15]},e(o,[2,8]),{20:[2,9]},{3:16,4:2,6:t,9:4,14:n,16:r,18:i,19:a},{1:[2,2]},{4:21,5:s,7:17,8:l,9:4,14:n,16:r,18:i,19:a,23:18,24:19,25:20,26:23,32:25,40:c,41:u,42:d,43:h,44:p,45:g,53:m,71:_,72:b},{11:34,12:[1,35],22:f},e([12,22],[2,10]),e(o,[2,6]),e(o,[2,7]),{1:[2,1]},{8:[1,37]},{4:21,5:s,7:38,8:l,9:4,14:n,16:r,18:i,19:a,23:18,24:19,25:20,26:23,32:25,40:c,41:u,42:d,43:h,44:p,45:g,53:m,71:_,72:b},{4:21,5:s,7:39,8:l,9:4,14:n,16:r,18:i,19:a,23:18,24:19,25:20,26:23,32:25,40:c,41:u,42:d,43:h,44:p,45:g,53:m,71:_,72:b},{4:21,5:s,7:40,8:l,9:4,14:n,16:r,18:i,19:a,23:18,24:19,25:20,26:23,32:25,40:c,41:u,42:d,43:h,44:p,45:g,53:m,71:_,72:b},{4:21,5:s,7:41,8:l,9:4,14:n,16:r,18:i,19:a,23:18,24:19,25:20,26:23,32:25,40:c,41:u,42:d,43:h,44:p,45:g,53:m,71:_,72:b},{4:21,5:s,7:42,8:l,9:4,14:n,16:r,18:i,19:a,23:18,24:19,25:20,26:23,32:25,40:c,41:u,42:d,43:h,44:p,45:g,53:m,71:_,72:b},{27:43,71:[1,44],72:[1,45]},{54:46,71:[1,47],72:[1,48]},{60:[1,49],62:[1,50]},e(y,[2,26]),e(y,[2,27]),e(y,[2,28]),e(y,[2,29]),e(y,[2,30]),e(y,[2,31]),e(v,[2,55]),e(v,[2,56]),e(o,[2,4]),{13:51,21:[1,52]},e(o,[2,12]),{1:[2,3]},{8:[2,14]},{8:[2,15]},{8:[2,16]},{8:[2,17]},{8:[2,18]},{28:[1,53]},{28:[2,53]},{28:[2,54]},{28:[1,54]},{28:[2,59]},{28:[2,60]},{61:55,64:E,65:S,66:T,67:C,68:x,69:k,70:A},{61:63,64:E,65:S,66:T,67:C,68:x,69:k,70:A},{11:64,22:f},{22:[2,11]},{5:[1,65]},{5:[1,66]},{62:[1,67]},e(w,[2,46]),e(w,[2,47]),e(w,[2,48]),e(w,[2,49]),e(w,[2,50]),e(w,[2,51]),e(w,[2,52]),{63:[1,68]},e(o,[2,5]),{5:N,29:69,30:O,33:R,35:I,37:D,39:M},{5:L,39:P,55:76,56:j,58:F},{32:81,71:_,72:b},{32:82,71:_,72:b},e(B,[2,19]),{31:[1,83]},{31:[1,84]},{31:[1,85]},{31:[1,86]},{5:N,29:87,30:O,33:R,35:I,37:D,39:M},e(B,[2,25]),e(B,[2,39]),{31:[1,88]},{31:[1,89]},{5:L,39:P,55:90,56:j,58:F},e(B,[2,43]),e(B,[2,44]),e(B,[2,45]),{32:91,71:_,72:b},{34:92,71:[1,93],72:[1,94]},{36:95,46:[1,96],47:[1,97],48:[1,98]},{38:99,49:[1,100],50:[1,101],51:[1,102],52:[1,103]},e(B,[2,24]),{57:104,71:[1,105],72:[1,106]},{59:107,71:[1,108],72:[1,109]},e(B,[2,42]),{5:[1,110]},{5:[1,111]},{5:[2,57]},{5:[2,58]},{5:[1,112]},{5:[2,32]},{5:[2,33]},{5:[2,34]},{5:[1,113]},{5:[2,35]},{5:[2,36]},{5:[2,37]},{5:[2,38]},{5:[1,114]},{5:[2,61]},{5:[2,62]},{5:[1,115]},{5:[2,63]},{5:[2,64]},{5:N,29:116,30:O,33:R,35:I,37:D,39:M},{5:N,29:117,30:O,33:R,35:I,37:D,39:M},{5:N,29:118,30:O,33:R,35:I,37:D,39:M},{5:N,29:119,30:O,33:R,35:I,37:D,39:M},{5:L,39:P,55:120,56:j,58:F},{5:L,39:P,55:121,56:j,58:F},e(B,[2,20]),e(B,[2,21]),e(B,[2,22]),e(B,[2,23]),e(B,[2,40]),e(B,[2,41])],defaultActions:{8:[2,9],10:[2,2],16:[2,1],37:[2,3],38:[2,14],39:[2,15],40:[2,16],41:[2,17],42:[2,18],44:[2,53],45:[2,54],47:[2,59],48:[2,60],52:[2,11],93:[2,57],94:[2,58],96:[2,32],97:[2,33],98:[2,34],100:[2,35],101:[2,36],102:[2,37],103:[2,38],105:[2,61],106:[2,62],108:[2,63],109:[2,64]},parseError:function(e,t){if(!t.recoverable){var n=new Error(e);throw n.hash=t,n}this.trace(e)},parse:function(e){var t=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",l=0,c=0,u=a.slice.call(arguments,1),d=Object.create(this.lexer),h={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(h.yy[p]=this.yy[p]);d.setInput(e,h.yy),h.yy.lexer=d,h.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var g=d.yylloc;a.push(g);var m=d.options&&d.options.ranges;"function"==typeof h.yy.parseError?this.parseError=h.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var _,b,f,y,v,E,S,T,C,x={};;){if(b=n[n.length-1],this.defaultActions[b]?f=this.defaultActions[b]:(null==_&&(C=void 0,"number"!=typeof(C=r.pop()||d.lex()||1)&&(C instanceof Array&&(C=(r=C).pop()),C=t.symbols_[C]||C),_=C),f=o[b]&&o[b][_]),void 0===f||!f.length||!f[0]){var k="";for(v in T=[],o[b])this.terminals_[v]&&v>2&&T.push("'"+this.terminals_[v]+"'");k=d.showPosition?"Parse error on line "+(l+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==_?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(k,{text:d.match,token:this.terminals_[_]||_,line:d.yylineno,loc:g,expected:T})}if(f[0]instanceof Array&&f.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+_);switch(f[0]){case 1:n.push(_),i.push(d.yytext),a.push(d.yylloc),n.push(f[1]),_=null,c=d.yyleng,s=d.yytext,l=d.yylineno,g=d.yylloc;break;case 2:if(E=this.productions_[f[1]][1],x.$=i[i.length-E],x._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},m&&(x._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),void 0!==(y=this.performAction.apply(x,[s,c,l,h.yy,f[1],i,a].concat(u))))return y;E&&(n=n.slice(0,-1*E*2),i=i.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[f[1]][0]),i.push(x.$),a.push(x._$),S=o[n[n.length-2]][n[n.length-1]],n.push(S);break;case 3:return!0}}return!0}},G=function(){var e={EOF:1,parseError:function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)}, +// resets the lexer, sets new input +setInput:function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this}, +// consumes and returns one char from the input +input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e}, +// unshifts one char (or a string) into the input +unput:function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this}, +// When called from action, caches matched text and appends it on next action +more:function(){return this._more=!0,this}, +// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead. +reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})}, +// retain first n characters of the match +less:function(e){this.unput(this.match.slice(e))}, +// displays already matched input, i.e. for error messages +pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")}, +// displays upcoming input, i.e. for error messages +upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")}, +// displays the character position where the lexing error occurred, i.e. for error messages +showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"}, +// test the lexed token: return FALSE when not a match, otherwise return token +test_match:function(e,t){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1}, +// return next match in input +next:function(){if(this.done)return this.EOF;var e,t,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!t||n[0].length>t[0].length)){if(t=n,r=a,this.options.backtrack_lexer){if(!1!==(e=this.test_match(n,i[a])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,i[r]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})}, +// return next match that has a token +lex:function(){var e=this.next();return e||this.lex()}, +// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack) +begin:function(e){this.conditionStack.push(e)}, +// pop the previously active lexer condition state off the condition stack +popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]}, +// produce the lexer rule set which is active for the currently active lexer condition state +_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules}, +// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available +topState:function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"}, +// alias for begin(condition) +pushState:function(e){this.begin(e)}, +// return the number of states currently on the stack +stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(e,t,n,r){switch(n){case 0:return this.begin("open_directive"),19;case 1:return this.begin("type_directive"),20;case 2:return this.popState(),this.begin("arg_directive"),12;case 3:return this.popState(),this.popState(),22;case 4:return 21;case 5:return"title";case 6:return this.begin("acc_title"),14;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),16;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:case 53:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:return 5;case 14:case 15:case 16:break;case 17:return 8;case 18:return 6;case 19:return 28;case 20:return 39;case 21:return 31;case 22:return 30;case 23:return 33;case 24:return 35;case 25:return 37;case 26:return 40;case 27:return 41;case 28:return 42;case 29:return 43;case 30:return 44;case 31:return 45;case 32:return 46;case 33:return 47;case 34:return 48;case 35:return 49;case 36:return 50;case 37:return 51;case 38:return 52;case 39:return 53;case 40:return 64;case 41:return 65;case 42:return 66;case 43:return 67;case 44:return 68;case 45:return 69;case 46:return 70;case 47:return 56;case 48:return 58;case 49:return 60;case 50:return 63;case 51:return 62;case 52:this.begin("string");break;case 54:return"qString";case 55:return t.yytext=t.yytext.trim(),71}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:(\r?\n)+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:$)/i,/^(?:requirementDiagram\b)/i,/^(?:\{)/i,/^(?:\})/i,/^(?::)/i,/^(?:id\b)/i,/^(?:text\b)/i,/^(?:risk\b)/i,/^(?:verifyMethod\b)/i,/^(?:requirement\b)/i,/^(?:functionalRequirement\b)/i,/^(?:interfaceRequirement\b)/i,/^(?:performanceRequirement\b)/i,/^(?:physicalRequirement\b)/i,/^(?:designConstraint\b)/i,/^(?:low\b)/i,/^(?:medium\b)/i,/^(?:high\b)/i,/^(?:analysis\b)/i,/^(?:demonstration\b)/i,/^(?:inspection\b)/i,/^(?:test\b)/i,/^(?:element\b)/i,/^(?:contains\b)/i,/^(?:copies\b)/i,/^(?:derives\b)/i,/^(?:satisfies\b)/i,/^(?:verifies\b)/i,/^(?:refines\b)/i,/^(?:traces\b)/i,/^(?:type\b)/i,/^(?:docref\b)/i,/^(?:<-)/i,/^(?:->)/i,/^(?:-)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[\w][^\r\n\{\<\>\-\=]*)/i],conditions:{acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},unqString:{rules:[],inclusive:!1},token:{rules:[],inclusive:!1},string:{rules:[53,54],inclusive:!1},INITIAL:{rules:[0,5,6,8,10,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,55],inclusive:!0}}};return e}();function z(){this.yy={}}return U.lexer=G,z.prototype=U,U.Parser=z,new z}();TU.parser=TU;const CU=TU,xU=e=>null!==e.match(/^\s*requirement(Diagram)?/);let kU=[],AU={},wU={},NU={},OU={};const RU={RequirementType:{REQUIREMENT:"Requirement",FUNCTIONAL_REQUIREMENT:"Functional Requirement",INTERFACE_REQUIREMENT:"Interface Requirement",PERFORMANCE_REQUIREMENT:"Performance Requirement",PHYSICAL_REQUIREMENT:"Physical Requirement",DESIGN_CONSTRAINT:"Design Constraint"},RiskLevel:{LOW_RISK:"Low",MED_RISK:"Medium",HIGH_RISK:"High"},VerifyType:{VERIFY_ANALYSIS:"Analysis",VERIFY_DEMONSTRATION:"Demonstration",VERIFY_INSPECTION:"Inspection",VERIFY_TEST:"Test"},Relationships:{CONTAINS:"contains",COPIES:"copies",DERIVES:"derives",SATISFIES:"satisfies",VERIFIES:"verifies",REFINES:"refines",TRACES:"traces"},parseDirective:function(e,t,n){cY.parseDirective(this,e,t,n)},getConfig:()=>aM().req,addRequirement:(e,t)=>(void 0===wU[e]&&(wU[e]={name:e,type:t,id:AU.id,text:AU.text,risk:AU.risk,verifyMethod:AU.verifyMethod}),AU={},wU[e]),getRequirements:()=>wU,setNewReqId:e=>{void 0!==AU&&(AU.id=e)},setNewReqText:e=>{void 0!==AU&&(AU.text=e)},setNewReqRisk:e=>{void 0!==AU&&(AU.risk=e)},setNewReqVerifyMethod:e=>{void 0!==AU&&(AU.verifyMethod=e)},setAccTitle:DM,getAccTitle:MM,setAccDescription:LM,getAccDescription:PM,addElement:e=>(void 0===OU[e]&&(OU[e]={name:e,type:NU.type,docRef:NU.docRef},NR.info("Added new requirement: ",e)),NU={},OU[e]),getElements:()=>OU,setNewElementType:e=>{void 0!==NU&&(NU.type=e)},setNewElementDocRef:e=>{void 0!==NU&&(NU.docRef=e)},addRelationship:(e,t,n)=>{kU.push({type:e,src:t,dst:n})},getRelationships:()=>kU,clear:()=>{kU=[],AU={},wU={},NU={},OU={},IM()}},IU={CONTAINS:"contains",ARROW:"arrow"},DU=IU,MU=(e,t)=>{let n=e.append("defs").append("marker").attr("id",IU.CONTAINS+"_line_ending").attr("refX",0).attr("refY",t.line_height/2).attr("markerWidth",t.line_height).attr("markerHeight",t.line_height).attr("orient","auto").append("g");n.append("circle").attr("cx",t.line_height/2).attr("cy",t.line_height/2).attr("r",t.line_height/2).attr("fill","none"),n.append("line").attr("x1",0).attr("x2",t.line_height).attr("y1",t.line_height/2).attr("y2",t.line_height/2).attr("stroke-width",1),n.append("line").attr("y1",0).attr("y2",t.line_height).attr("x1",t.line_height/2).attr("x2",t.line_height/2).attr("stroke-width",1),e.append("defs").append("marker").attr("id",IU.ARROW+"_line_ending").attr("refX",t.line_height).attr("refY",.5*t.line_height).attr("markerWidth",t.line_height).attr("markerHeight",t.line_height).attr("orient","auto").append("path").attr("d",`M0,0\n L${t.line_height},${t.line_height/2}\n M${t.line_height},${t.line_height/2}\n L0,${t.line_height}`).attr("stroke-width",1)};let LU={},PU=0;const jU=(e,t)=>e.insert("rect","#"+t).attr("class","req reqBox").attr("x",0).attr("y",0).attr("width",LU.rect_min_width+"px").attr("height",LU.rect_min_height+"px"),FU=(e,t,n)=>{let r=LU.rect_min_width/2,i=e.append("text").attr("class","req reqLabel reqTitle").attr("id",t).attr("x",r).attr("y",LU.rect_padding).attr("dominant-baseline","hanging"),a=0;n.forEach((e=>{0==a?i.append("tspan").attr("text-anchor","middle").attr("x",LU.rect_min_width/2).attr("dy",0).text(e):i.append("tspan").attr("text-anchor","middle").attr("x",LU.rect_min_width/2).attr("dy",.75*LU.line_height).text(e),a++}));let o=1.5*LU.rect_padding+a*LU.line_height*.75;return e.append("line").attr("class","req-title-line").attr("x1","0").attr("x2",LU.rect_min_width).attr("y1",o).attr("y2",o),{titleNode:i,y:o}},BU=(e,t,n,r)=>{let i=e.append("text").attr("class","req reqLabel").attr("id",t).attr("x",LU.rect_padding).attr("y",r).attr("dominant-baseline","hanging"),a=0;let o=[];return n.forEach((e=>{let t=e.length;for(;t>30&&a<3;){let n=e.substring(0,30);t=(e=e.substring(30,e.length)).length,o[o.length]=n,a++}if(3==a){let e=o[o.length-1];o[o.length-1]=e.substring(0,e.length-4)+"..."}else o[o.length]=e;a=0})),o.forEach((e=>{i.append("tspan").attr("x",LU.rect_padding).attr("dy",LU.line_height).text(e)})),i},UU=function(e,t,n,r,i){const a=n.edge(GU(t.src),GU(t.dst)),o=lS().x((function(e){return e.x})).y((function(e){return e.y})),s=e.insert("path","#"+r).attr("class","er relationshipLine").attr("d",o(a.points)).attr("fill","none");t.type==i.db.Relationships.CONTAINS?s.attr("marker-start","url("+BR.getUrl(LU.arrowMarkerAbsolute)+"#"+t.type+"_line_ending)"):(s.attr("stroke-dasharray","10,7"),s.attr("marker-end","url("+BR.getUrl(LU.arrowMarkerAbsolute)+"#"+DU.ARROW+"_line_ending)")),((e,t,n,r)=>{const i=t.node().getTotalLength(),a=t.node().getPointAtLength(.5*i),o="rel"+PU;PU++;const s=e.append("text").attr("class","req relationshipLabel").attr("id",o).attr("x",a.x).attr("y",a.y).attr("text-anchor","middle").attr("dominant-baseline","middle").text(r).node().getBBox();e.insert("rect","#"+o).attr("class","req reqLabelBox").attr("x",a.x-s.width/2).attr("y",a.y-s.height/2).attr("width",s.width).attr("height",s.height).attr("fill","white").attr("fill-opacity","85%")})(e,s,0,`<<${t.type}>>`)},GU=e=>e.replace(/\s/g,"").replace(/\./g,"_"),zU={draw:(e,t,n,r)=>{LU=aM().requirement,r.db.clear(),r.parser.parse(e);const i=LU.securityLevel;let a;"sandbox"===i&&(a=k_("#i"+t));const o=k_("sandbox"===i?a.nodes()[0].contentDocument.body:"body").select(`[id='${t}']`);MU(o,LU);const s=new LN({multigraph:!1,compound:!1,directed:!0}).setGraph({rankdir:LU.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel((function(){return{}}));let l=r.db.getRequirements(),c=r.db.getElements(),u=r.db.getRelationships();var d,h,p;d=l,h=s,p=o,Object.keys(d).forEach((e=>{let t=d[e];e=GU(e),NR.info("Added new requirement: ",e);const n=p.append("g").attr("id",e),r=jU(n,"req-"+e);let i=FU(n,e+"_title",[`<<${t.type}>>`,`${t.name}`]);BU(n,e+"_body",[`Id: ${t.id}`,`Text: ${t.text}`,`Risk: ${t.risk}`,`Verification: ${t.verifyMethod}`],i.y);const a=r.node().getBBox();h.setNode(e,{width:a.width,height:a.height,shape:"rect",id:e})})),((e,t,n)=>{Object.keys(e).forEach((r=>{let i=e[r];const a=GU(r),o=n.append("g").attr("id",a),s="element-"+a,l=jU(o,s);let c=FU(o,s+"_title",["<<Element>>",`${r}`]);BU(o,s+"_body",[`Type: ${i.type||"Not Specified"}`,`Doc Ref: ${i.docRef||"None"}`],c.y);const u=l.node().getBBox();t.setNode(a,{width:u.width,height:u.height,shape:"rect",id:a})}))})(c,s,o),((e,t)=>{e.forEach((function(e){let n=GU(e.src),r=GU(e.dst);t.setEdge(n,r,{relationship:e})}))})(u,s),WO(s),function(e,t){t.nodes().forEach((function(n){void 0!==n&&void 0!==t.node(n)&&(e.select("#"+n),e.select("#"+n).attr("transform","translate("+(t.node(n).x-t.node(n).width/2)+","+(t.node(n).y-t.node(n).height/2)+" )"))}))}(o,s),u.forEach((function(e){UU(o,e,s,t,r)}));const g=LU.rect_padding,m=o.node().getBBox(),_=m.width+2*g,b=m.height+2*g;hM(o,b,_,LU.useMaxWidth),o.attr("viewBox",`${m.x-g} ${m.y-g} ${_} ${b}`)}};var $U=function(){var e=function(e,t,n,r){for(n=n||{},r=e.length;r--;n[e[r]]=t);return n},t=[1,2],n=[1,3],r=[1,5],i=[1,7],a=[2,5],o=[1,15],s=[1,17],l=[1,19],c=[1,21],u=[1,22],d=[1,23],h=[1,29],p=[1,30],g=[1,31],m=[1,32],_=[1,33],b=[1,34],f=[1,35],y=[1,36],v=[1,37],E=[1,38],S=[1,39],T=[1,40],C=[1,42],x=[1,43],k=[1,45],A=[1,46],w=[1,47],N=[1,48],O=[1,49],R=[1,50],I=[1,53],D=[1,4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,51,52,53,54,56,57,62,63,64,65,73,83],M=[4,5,21,54,56],L=[4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,54,56,57,62,63,64,65,73,83],P=[4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,53,54,56,57,62,63,64,65,73,83],j=[4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,52,54,56,57,62,63,64,65,73,83],F=[4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,51,54,56,57,62,63,64,65,73,83],B=[71,72,73],U=[1,125],G=[1,4,5,7,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,51,52,53,54,56,57,62,63,64,65,73,83],z={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,directive:6,SD:7,document:8,line:9,statement:10,box_section:11,box_line:12,participant_statement:13,openDirective:14,typeDirective:15,closeDirective:16,":":17,argDirective:18,box:19,restOfLine:20,end:21,signal:22,autonumber:23,NUM:24,off:25,activate:26,actor:27,deactivate:28,note_statement:29,links_statement:30,link_statement:31,properties_statement:32,details_statement:33,title:34,legacy_title:35,acc_title:36,acc_title_value:37,acc_descr:38,acc_descr_value:39,acc_descr_multiline_value:40,loop:41,rect:42,opt:43,alt:44,else_sections:45,par:46,par_sections:47,critical:48,option_sections:49,break:50,option:51,and:52,else:53,participant:54,AS:55,participant_actor:56,note:57,placement:58,text2:59,over:60,actor_pair:61,links:62,link:63,properties:64,details:65,spaceList:66,",":67,left_of:68,right_of:69,signaltype:70,"+":71,"-":72,ACTOR:73,SOLID_OPEN_ARROW:74,DOTTED_OPEN_ARROW:75,SOLID_ARROW:76,DOTTED_ARROW:77,SOLID_CROSS:78,DOTTED_CROSS:79,SOLID_POINT:80,DOTTED_POINT:81,TXT:82,open_directive:83,type_directive:84,arg_directive:85,close_directive:86,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",7:"SD",17:":",19:"box",20:"restOfLine",21:"end",23:"autonumber",24:"NUM",25:"off",26:"activate",28:"deactivate",34:"title",35:"legacy_title",36:"acc_title",37:"acc_title_value",38:"acc_descr",39:"acc_descr_value",40:"acc_descr_multiline_value",41:"loop",42:"rect",43:"opt",44:"alt",46:"par",48:"critical",50:"break",51:"option",52:"and",53:"else",54:"participant",55:"AS",56:"participant_actor",57:"note",60:"over",62:"links",63:"link",64:"properties",65:"details",67:",",68:"left_of",69:"right_of",71:"+",72:"-",73:"ACTOR",74:"SOLID_OPEN_ARROW",75:"DOTTED_OPEN_ARROW",76:"SOLID_ARROW",77:"DOTTED_ARROW",78:"SOLID_CROSS",79:"DOTTED_CROSS",80:"SOLID_POINT",81:"DOTTED_POINT",82:"TXT",83:"open_directive",84:"type_directive",85:"arg_directive",86:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,2],[8,0],[8,2],[9,2],[9,1],[9,1],[11,0],[11,2],[12,2],[12,1],[12,1],[6,4],[6,6],[10,1],[10,4],[10,2],[10,4],[10,3],[10,3],[10,2],[10,3],[10,3],[10,2],[10,2],[10,2],[10,2],[10,2],[10,1],[10,1],[10,2],[10,2],[10,1],[10,4],[10,4],[10,4],[10,4],[10,4],[10,4],[10,4],[10,1],[49,1],[49,4],[47,1],[47,4],[45,1],[45,4],[13,5],[13,3],[13,5],[13,3],[29,4],[29,4],[30,3],[31,3],[32,3],[33,3],[66,2],[66,1],[61,3],[61,1],[58,1],[58,1],[22,5],[22,5],[22,4],[27,1],[70,1],[70,1],[70,1],[70,1],[70,1],[70,1],[70,1],[70,1],[59,1],[14,1],[15,1],[18,1],[16,1]],performAction:function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 4:return r.apply(a[s]),a[s];case 5:case 10:case 9:case 14:this.$=[];break;case 6:case 11:a[s-1].push(a[s]),this.$=a[s-1];break;case 7:case 8:case 12:case 13:case 63:this.$=a[s];break;case 18:a[s-1].unshift({type:"boxStart",boxData:r.parseBoxData(a[s-2])}),a[s-1].push({type:"boxEnd",boxText:a[s-2]}),this.$=a[s-1];break;case 20:this.$={type:"sequenceIndex",sequenceIndex:Number(a[s-2]),sequenceIndexStep:Number(a[s-1]),sequenceVisible:!0,signalType:r.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceIndex:Number(a[s-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:r.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:r.LINETYPE.AUTONUMBER};break;case 23:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:r.LINETYPE.AUTONUMBER};break;case 24:this.$={type:"activeStart",signalType:r.LINETYPE.ACTIVE_START,actor:a[s-1]};break;case 25:this.$={type:"activeEnd",signalType:r.LINETYPE.ACTIVE_END,actor:a[s-1]};break;case 31:r.setDiagramTitle(a[s].substring(6)),this.$=a[s].substring(6);break;case 32:r.setDiagramTitle(a[s].substring(7)),this.$=a[s].substring(7);break;case 33:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 34:case 35:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 36:a[s-1].unshift({type:"loopStart",loopText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.LOOP_START}),a[s-1].push({type:"loopEnd",loopText:a[s-2],signalType:r.LINETYPE.LOOP_END}),this.$=a[s-1];break;case 37:a[s-1].unshift({type:"rectStart",color:r.parseMessage(a[s-2]),signalType:r.LINETYPE.RECT_START}),a[s-1].push({type:"rectEnd",color:r.parseMessage(a[s-2]),signalType:r.LINETYPE.RECT_END}),this.$=a[s-1];break;case 38:a[s-1].unshift({type:"optStart",optText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.OPT_START}),a[s-1].push({type:"optEnd",optText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.OPT_END}),this.$=a[s-1];break;case 39:a[s-1].unshift({type:"altStart",altText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.ALT_START}),a[s-1].push({type:"altEnd",signalType:r.LINETYPE.ALT_END}),this.$=a[s-1];break;case 40:a[s-1].unshift({type:"parStart",parText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.PAR_START}),a[s-1].push({type:"parEnd",signalType:r.LINETYPE.PAR_END}),this.$=a[s-1];break;case 41:a[s-1].unshift({type:"criticalStart",criticalText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.CRITICAL_START}),a[s-1].push({type:"criticalEnd",signalType:r.LINETYPE.CRITICAL_END}),this.$=a[s-1];break;case 42:a[s-1].unshift({type:"breakStart",breakText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.BREAK_START}),a[s-1].push({type:"breakEnd",optText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.BREAK_END}),this.$=a[s-1];break;case 45:this.$=a[s-3].concat([{type:"option",optionText:r.parseMessage(a[s-1]),signalType:r.LINETYPE.CRITICAL_OPTION},a[s]]);break;case 47:this.$=a[s-3].concat([{type:"and",parText:r.parseMessage(a[s-1]),signalType:r.LINETYPE.PAR_AND},a[s]]);break;case 49:this.$=a[s-3].concat([{type:"else",altText:r.parseMessage(a[s-1]),signalType:r.LINETYPE.ALT_ELSE},a[s]]);break;case 50:a[s-3].type="addParticipant",a[s-3].description=r.parseMessage(a[s-1]),this.$=a[s-3];break;case 51:a[s-1].type="addParticipant",this.$=a[s-1];break;case 52:a[s-3].type="addActor",a[s-3].description=r.parseMessage(a[s-1]),this.$=a[s-3];break;case 53:a[s-1].type="addActor",this.$=a[s-1];break;case 54:this.$=[a[s-1],{type:"addNote",placement:a[s-2],actor:a[s-1].actor,text:a[s]}];break;case 55:a[s-2]=[].concat(a[s-1],a[s-1]).slice(0,2),a[s-2][0]=a[s-2][0].actor,a[s-2][1]=a[s-2][1].actor,this.$=[a[s-1],{type:"addNote",placement:r.PLACEMENT.OVER,actor:a[s-2].slice(0,2),text:a[s]}];break;case 56:this.$=[a[s-1],{type:"addLinks",actor:a[s-1].actor,text:a[s]}];break;case 57:this.$=[a[s-1],{type:"addALink",actor:a[s-1].actor,text:a[s]}];break;case 58:this.$=[a[s-1],{type:"addProperties",actor:a[s-1].actor,text:a[s]}];break;case 59:this.$=[a[s-1],{type:"addDetails",actor:a[s-1].actor,text:a[s]}];break;case 62:this.$=[a[s-2],a[s]];break;case 64:this.$=r.PLACEMENT.LEFTOF;break;case 65:this.$=r.PLACEMENT.RIGHTOF;break;case 66:this.$=[a[s-4],a[s-1],{type:"addMessage",from:a[s-4].actor,to:a[s-1].actor,signalType:a[s-3],msg:a[s]},{type:"activeStart",signalType:r.LINETYPE.ACTIVE_START,actor:a[s-1]}];break;case 67:this.$=[a[s-4],a[s-1],{type:"addMessage",from:a[s-4].actor,to:a[s-1].actor,signalType:a[s-3],msg:a[s]},{type:"activeEnd",signalType:r.LINETYPE.ACTIVE_END,actor:a[s-4]}];break;case 68:this.$=[a[s-3],a[s-1],{type:"addMessage",from:a[s-3].actor,to:a[s-1].actor,signalType:a[s-2],msg:a[s]}];break;case 69:this.$={type:"addParticipant",actor:a[s]};break;case 70:this.$=r.LINETYPE.SOLID_OPEN;break;case 71:this.$=r.LINETYPE.DOTTED_OPEN;break;case 72:this.$=r.LINETYPE.SOLID;break;case 73:this.$=r.LINETYPE.DOTTED;break;case 74:this.$=r.LINETYPE.SOLID_CROSS;break;case 75:this.$=r.LINETYPE.DOTTED_CROSS;break;case 76:this.$=r.LINETYPE.SOLID_POINT;break;case 77:this.$=r.LINETYPE.DOTTED_POINT;break;case 78:this.$=r.parseMessage(a[s].trim().substring(1));break;case 79:r.parseDirective("%%{","open_directive");break;case 80:r.parseDirective(a[s],"type_directive");break;case 81:a[s]=a[s].trim().replace(/'/g,'"'),r.parseDirective(a[s],"arg_directive");break;case 82:r.parseDirective("}%%","close_directive","sequence")}},table:[{3:1,4:t,5:n,6:4,7:r,14:6,83:i},{1:[3]},{3:8,4:t,5:n,6:4,7:r,14:6,83:i},{3:9,4:t,5:n,6:4,7:r,14:6,83:i},{3:10,4:t,5:n,6:4,7:r,14:6,83:i},e([1,4,5,19,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,54,56,57,62,63,64,65,73,83],a,{8:11}),{15:12,84:[1,13]},{84:[2,79]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{1:[2,4],4:o,5:s,6:41,9:14,10:16,13:18,14:6,19:l,22:20,23:c,26:u,27:44,28:d,29:24,30:25,31:26,32:27,33:28,34:h,35:p,36:g,38:m,40:_,41:b,42:f,43:y,44:v,46:E,48:S,50:T,54:C,56:x,57:k,62:A,63:w,64:N,65:O,73:R,83:i},{16:51,17:[1,52],86:I},e([17,86],[2,80]),e(D,[2,6]),{6:41,10:54,13:18,14:6,19:l,22:20,23:c,26:u,27:44,28:d,29:24,30:25,31:26,32:27,33:28,34:h,35:p,36:g,38:m,40:_,41:b,42:f,43:y,44:v,46:E,48:S,50:T,54:C,56:x,57:k,62:A,63:w,64:N,65:O,73:R,83:i},e(D,[2,8]),e(D,[2,9]),e(D,[2,17]),{20:[1,55]},{5:[1,56]},{5:[1,59],24:[1,57],25:[1,58]},{27:60,73:R},{27:61,73:R},{5:[1,62]},{5:[1,63]},{5:[1,64]},{5:[1,65]},{5:[1,66]},e(D,[2,31]),e(D,[2,32]),{37:[1,67]},{39:[1,68]},e(D,[2,35]),{20:[1,69]},{20:[1,70]},{20:[1,71]},{20:[1,72]},{20:[1,73]},{20:[1,74]},{20:[1,75]},e(D,[2,43]),{27:76,73:R},{27:77,73:R},{70:78,74:[1,79],75:[1,80],76:[1,81],77:[1,82],78:[1,83],79:[1,84],80:[1,85],81:[1,86]},{58:87,60:[1,88],68:[1,89],69:[1,90]},{27:91,73:R},{27:92,73:R},{27:93,73:R},{27:94,73:R},e([5,55,67,74,75,76,77,78,79,80,81,82],[2,69]),{5:[1,95]},{18:96,85:[1,97]},{5:[2,82]},e(D,[2,7]),e(M,[2,10],{11:98}),e(D,[2,19]),{5:[1,100],24:[1,99]},{5:[1,101]},e(D,[2,23]),{5:[1,102]},{5:[1,103]},e(D,[2,26]),e(D,[2,27]),e(D,[2,28]),e(D,[2,29]),e(D,[2,30]),e(D,[2,33]),e(D,[2,34]),e(L,a,{8:104}),e(L,a,{8:105}),e(L,a,{8:106}),e(P,a,{45:107,8:108}),e(j,a,{47:109,8:110}),e(F,a,{49:111,8:112}),e(L,a,{8:113}),{5:[1,115],55:[1,114]},{5:[1,117],55:[1,116]},{27:120,71:[1,118],72:[1,119],73:R},e(B,[2,70]),e(B,[2,71]),e(B,[2,72]),e(B,[2,73]),e(B,[2,74]),e(B,[2,75]),e(B,[2,76]),e(B,[2,77]),{27:121,73:R},{27:123,61:122,73:R},{73:[2,64]},{73:[2,65]},{59:124,82:U},{59:126,82:U},{59:127,82:U},{59:128,82:U},e(G,[2,15]),{16:129,86:I},{86:[2,81]},{4:[1,132],5:[1,134],12:131,13:133,21:[1,130],54:C,56:x},{5:[1,135]},e(D,[2,21]),e(D,[2,22]),e(D,[2,24]),e(D,[2,25]),{4:o,5:s,6:41,9:14,10:16,13:18,14:6,19:l,21:[1,136],22:20,23:c,26:u,27:44,28:d,29:24,30:25,31:26,32:27,33:28,34:h,35:p,36:g,38:m,40:_,41:b,42:f,43:y,44:v,46:E,48:S,50:T,54:C,56:x,57:k,62:A,63:w,64:N,65:O,73:R,83:i},{4:o,5:s,6:41,9:14,10:16,13:18,14:6,19:l,21:[1,137],22:20,23:c,26:u,27:44,28:d,29:24,30:25,31:26,32:27,33:28,34:h,35:p,36:g,38:m,40:_,41:b,42:f,43:y,44:v,46:E,48:S,50:T,54:C,56:x,57:k,62:A,63:w,64:N,65:O,73:R,83:i},{4:o,5:s,6:41,9:14,10:16,13:18,14:6,19:l,21:[1,138],22:20,23:c,26:u,27:44,28:d,29:24,30:25,31:26,32:27,33:28,34:h,35:p,36:g,38:m,40:_,41:b,42:f,43:y,44:v,46:E,48:S,50:T,54:C,56:x,57:k,62:A,63:w,64:N,65:O,73:R,83:i},{21:[1,139]},{4:o,5:s,6:41,9:14,10:16,13:18,14:6,19:l,21:[2,48],22:20,23:c,26:u,27:44,28:d,29:24,30:25,31:26,32:27,33:28,34:h,35:p,36:g,38:m,40:_,41:b,42:f,43:y,44:v,46:E,48:S,50:T,53:[1,140],54:C,56:x,57:k,62:A,63:w,64:N,65:O,73:R,83:i},{21:[1,141]},{4:o,5:s,6:41,9:14,10:16,13:18,14:6,19:l,21:[2,46],22:20,23:c,26:u,27:44,28:d,29:24,30:25,31:26,32:27,33:28,34:h,35:p,36:g,38:m,40:_,41:b,42:f,43:y,44:v,46:E,48:S,50:T,52:[1,142],54:C,56:x,57:k,62:A,63:w,64:N,65:O,73:R,83:i},{21:[1,143]},{4:o,5:s,6:41,9:14,10:16,13:18,14:6,19:l,21:[2,44],22:20,23:c,26:u,27:44,28:d,29:24,30:25,31:26,32:27,33:28,34:h,35:p,36:g,38:m,40:_,41:b,42:f,43:y,44:v,46:E,48:S,50:T,51:[1,144],54:C,56:x,57:k,62:A,63:w,64:N,65:O,73:R,83:i},{4:o,5:s,6:41,9:14,10:16,13:18,14:6,19:l,21:[1,145],22:20,23:c,26:u,27:44,28:d,29:24,30:25,31:26,32:27,33:28,34:h,35:p,36:g,38:m,40:_,41:b,42:f,43:y,44:v,46:E,48:S,50:T,54:C,56:x,57:k,62:A,63:w,64:N,65:O,73:R,83:i},{20:[1,146]},e(D,[2,51]),{20:[1,147]},e(D,[2,53]),{27:148,73:R},{27:149,73:R},{59:150,82:U},{59:151,82:U},{59:152,82:U},{67:[1,153],82:[2,63]},{5:[2,56]},{5:[2,78]},{5:[2,57]},{5:[2,58]},{5:[2,59]},{5:[1,154]},e(D,[2,18]),e(M,[2,11]),{13:155,54:C,56:x},e(M,[2,13]),e(M,[2,14]),e(D,[2,20]),e(D,[2,36]),e(D,[2,37]),e(D,[2,38]),e(D,[2,39]),{20:[1,156]},e(D,[2,40]),{20:[1,157]},e(D,[2,41]),{20:[1,158]},e(D,[2,42]),{5:[1,159]},{5:[1,160]},{59:161,82:U},{59:162,82:U},{5:[2,68]},{5:[2,54]},{5:[2,55]},{27:163,73:R},e(G,[2,16]),e(M,[2,12]),e(P,a,{8:108,45:164}),e(j,a,{8:110,47:165}),e(F,a,{8:112,49:166}),e(D,[2,50]),e(D,[2,52]),{5:[2,66]},{5:[2,67]},{82:[2,62]},{21:[2,49]},{21:[2,47]},{21:[2,45]}],defaultActions:{7:[2,79],8:[2,1],9:[2,2],10:[2,3],53:[2,82],89:[2,64],90:[2,65],97:[2,81],124:[2,56],125:[2,78],126:[2,57],127:[2,58],128:[2,59],150:[2,68],151:[2,54],152:[2,55],161:[2,66],162:[2,67],163:[2,62],164:[2,49],165:[2,47],166:[2,45]},parseError:function(e,t){if(!t.recoverable){var n=new Error(e);throw n.hash=t,n}this.trace(e)},parse:function(e){var t=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",l=0,c=0,u=a.slice.call(arguments,1),d=Object.create(this.lexer),h={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(h.yy[p]=this.yy[p]);d.setInput(e,h.yy),h.yy.lexer=d,h.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var g=d.yylloc;a.push(g);var m=d.options&&d.options.ranges;"function"==typeof h.yy.parseError?this.parseError=h.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var _,b,f,y,v,E,S,T,C,x={};;){if(b=n[n.length-1],this.defaultActions[b]?f=this.defaultActions[b]:(null==_&&(C=void 0,"number"!=typeof(C=r.pop()||d.lex()||1)&&(C instanceof Array&&(C=(r=C).pop()),C=t.symbols_[C]||C),_=C),f=o[b]&&o[b][_]),void 0===f||!f.length||!f[0]){var k="";for(v in T=[],o[b])this.terminals_[v]&&v>2&&T.push("'"+this.terminals_[v]+"'");k=d.showPosition?"Parse error on line "+(l+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==_?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(k,{text:d.match,token:this.terminals_[_]||_,line:d.yylineno,loc:g,expected:T})}if(f[0]instanceof Array&&f.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+_);switch(f[0]){case 1:n.push(_),i.push(d.yytext),a.push(d.yylloc),n.push(f[1]),_=null,c=d.yyleng,s=d.yytext,l=d.yylineno,g=d.yylloc;break;case 2:if(E=this.productions_[f[1]][1],x.$=i[i.length-E],x._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},m&&(x._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),void 0!==(y=this.performAction.apply(x,[s,c,l,h.yy,f[1],i,a].concat(u))))return y;E&&(n=n.slice(0,-1*E*2),i=i.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[f[1]][0]),i.push(x.$),a.push(x._$),S=o[n[n.length-2]][n[n.length-1]],n.push(S);break;case 3:return!0}}return!0}},$=function(){var e={EOF:1,parseError:function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)}, +// resets the lexer, sets new input +setInput:function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this}, +// consumes and returns one char from the input +input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e}, +// unshifts one char (or a string) into the input +unput:function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this}, +// When called from action, caches matched text and appends it on next action +more:function(){return this._more=!0,this}, +// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead. +reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})}, +// retain first n characters of the match +less:function(e){this.unput(this.match.slice(e))}, +// displays already matched input, i.e. for error messages +pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")}, +// displays upcoming input, i.e. for error messages +upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")}, +// displays the character position where the lexing error occurred, i.e. for error messages +showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"}, +// test the lexed token: return FALSE when not a match, otherwise return token +test_match:function(e,t){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1}, +// return next match in input +next:function(){if(this.done)return this.EOF;var e,t,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!t||n[0].length>t[0].length)){if(t=n,r=a,this.options.backtrack_lexer){if(!1!==(e=this.test_match(n,i[a])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,i[r]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})}, +// return next match that has a token +lex:function(){var e=this.next();return e||this.lex()}, +// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack) +begin:function(e){this.conditionStack.push(e)}, +// pop the previously active lexer condition state off the condition stack +popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]}, +// produce the lexer rule set which is active for the currently active lexer condition state +_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules}, +// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available +topState:function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"}, +// alias for begin(condition) +pushState:function(e){this.begin(e)}, +// return the number of states currently on the stack +stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(e,t,n,r){switch(n){case 0:return this.begin("open_directive"),83;case 1:return this.begin("type_directive"),84;case 2:return this.popState(),this.begin("arg_directive"),17;case 3:return this.popState(),this.popState(),86;case 4:return 85;case 5:case 53:case 66:return 5;case 6:case 7:case 8:case 9:case 10:break;case 11:return 24;case 12:return this.begin("LINE"),19;case 13:return this.begin("ID"),54;case 14:return this.begin("ID"),56;case 15:return t.yytext=t.yytext.trim(),this.begin("ALIAS"),73;case 16:return this.popState(),this.popState(),this.begin("LINE"),55;case 17:return this.popState(),this.popState(),5;case 18:return this.begin("LINE"),41;case 19:return this.begin("LINE"),42;case 20:return this.begin("LINE"),43;case 21:return this.begin("LINE"),44;case 22:return this.begin("LINE"),53;case 23:return this.begin("LINE"),46;case 24:return this.begin("LINE"),52;case 25:return this.begin("LINE"),48;case 26:return this.begin("LINE"),51;case 27:return this.begin("LINE"),50;case 28:return this.popState(),20;case 29:return 21;case 30:return 68;case 31:return 69;case 32:return 62;case 33:return 63;case 34:return 64;case 35:return 65;case 36:return 60;case 37:return 57;case 38:return this.begin("ID"),26;case 39:return this.begin("ID"),28;case 40:return 34;case 41:return 35;case 42:return this.begin("acc_title"),36;case 43:return this.popState(),"acc_title_value";case 44:return this.begin("acc_descr"),38;case 45:return this.popState(),"acc_descr_value";case 46:this.begin("acc_descr_multiline");break;case 47:this.popState();break;case 48:return"acc_descr_multiline_value";case 49:return 7;case 50:return 23;case 51:return 25;case 52:return 67;case 54:return t.yytext=t.yytext.trim(),73;case 55:return 76;case 56:return 77;case 57:return 74;case 58:return 75;case 59:return 78;case 60:return 79;case 61:return 80;case 62:return 81;case 63:return 82;case 64:return 71;case 65:return 72;case 67:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[0-9]+(?=[ \n]+))/i,/^(?:box\b)/i,/^(?:participant\b)/i,/^(?:actor\b)/i,/^(?:[^\->:\n,;]+?([\-]*[^\->:\n,;]+?)*?(?=((?!\n)\s)+as(?!\n)\s|[#\n;]|$))/i,/^(?:as\b)/i,/^(?:(?:))/i,/^(?:loop\b)/i,/^(?:rect\b)/i,/^(?:opt\b)/i,/^(?:alt\b)/i,/^(?:else\b)/i,/^(?:par\b)/i,/^(?:and\b)/i,/^(?:critical\b)/i,/^(?:option\b)/i,/^(?:break\b)/i,/^(?:(?:[:]?(?:no)?wrap)?[^#\n;]*)/i,/^(?:end\b)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:links\b)/i,/^(?:link\b)/i,/^(?:properties\b)/i,/^(?:details\b)/i,/^(?:over\b)/i,/^(?:note\b)/i,/^(?:activate\b)/i,/^(?:deactivate\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:title:\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:sequenceDiagram\b)/i,/^(?:autonumber\b)/i,/^(?:off\b)/i,/^(?:,)/i,/^(?:;)/i,/^(?:[^\+\->:\n,;]+((?!(-x|--x|-\)|--\)))[\-]*[^\+\->:\n,;]+)*)/i,/^(?:->>)/i,/^(?:-->>)/i,/^(?:->)/i,/^(?:-->)/i,/^(?:-[x])/i,/^(?:--[x])/i,/^(?:-[\)])/i,/^(?:--[\)])/i,/^(?::(?:(?:no)?wrap)?[^#\n;]+)/i,/^(?:\+)/i,/^(?:-)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[47,48],inclusive:!1},acc_descr:{rules:[45],inclusive:!1},acc_title:{rules:[43],inclusive:!1},open_directive:{rules:[1,8],inclusive:!1},type_directive:{rules:[2,3,8],inclusive:!1},arg_directive:{rules:[3,4,8],inclusive:!1},ID:{rules:[7,8,15],inclusive:!1},ALIAS:{rules:[7,8,16,17],inclusive:!1},LINE:{rules:[7,8,28],inclusive:!1},INITIAL:{rules:[0,5,6,8,9,10,11,12,13,14,18,19,20,21,22,23,24,25,26,27,29,30,31,32,33,34,35,36,37,38,39,40,41,42,44,46,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67],inclusive:!0}}};return e}();function Y(){this.yy={}}return z.lexer=$,Y.prototype=z,z.Parser=Y,new Y}();$U.parser=$U;const YU=$U,qU=e=>null!==e.match(/^\s*sequenceDiagram/);let HU,VU,WU,QU={},KU=[],XU=[],ZU=!1;const JU=function(e,t,n,r){let i=WU;const a=QU[e];if(a){if(WU&&a.box&&WU!==a.box)throw new Error("A same participant should only be defined in one Box: "+a.name+" can't be in '"+a.box.name+"' and in '"+WU.name+"' at the same time.");if(i=a.box?a.box:WU,a.box=i,a&&t===a.name&&null==n)return}null!=n&&null!=n.text||(n={text:t,wrap:null,type:r}),null!=r&&null!=n.text||(n={text:t,wrap:null,type:r}),QU[e]={box:i,name:t,description:n.text,wrap:void 0===n.wrap&&nG()||!!n.wrap,prevActor:HU,links:{},properties:{},actorCnt:null,rectData:null,type:r||"participant"},HU&&QU[HU]&&(QU[HU].nextActor=e),WU&&WU.actorKeys.push(e),HU=e},eG=function(e,t,n={text:void 0,wrap:void 0},r){if(r===rG.ACTIVE_END){const t=(e=>{let t,n=0;for(t=0;t<XU.length;t++)XU[t].type===rG.ACTIVE_START&&XU[t].from.actor===e&&n++,XU[t].type===rG.ACTIVE_END&&XU[t].from.actor===e&&n--;return n})(e.actor);if(t<1){let t=new Error("Trying to inactivate an inactive participant ("+e.actor+")");throw t.hash={text:"->>-",token:"->>-",line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["'ACTIVE_PARTICIPANT'"]},t}}return XU.push({from:e,to:t,message:n.text,wrap:void 0===n.wrap&&nG()||!!n.wrap,type:r}),!0},tG=function(e){return QU[e]},nG=()=>void 0!==VU?VU:aM().sequence.wrap,rG={SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25,AUTONUMBER:26,CRITICAL_START:27,CRITICAL_OPTION:28,CRITICAL_END:29,BREAK_START:30,BREAK_END:31},iG=function(e,t,n){n.text,void 0===n.wrap&&nG()||n.wrap;const r=[].concat(e,e);XU.push({from:r[0],to:r[1],message:n.text,wrap:void 0===n.wrap&&nG()||!!n.wrap,type:rG.NOTE,placement:t})},aG=function(e,t){const n=tG(e);try{let e=DR(t.text,aM());e=e.replace(/&/g,"&"),e=e.replace(/=/g,"=");oG(n,JSON.parse(e))}catch(fR){NR.error("error while parsing actor link text",fR)}};function oG(e,t){if(null==e.links)e.links=t;else for(let n in t)e.links[n]=t[n]}const sG=function(e,t){const n=tG(e);try{let e=DR(t.text,aM());lG(n,JSON.parse(e))}catch(fR){NR.error("error while parsing actor properties text",fR)}};function lG(e,t){if(null==e.properties)e.properties=t;else for(let n in t)e.properties[n]=t[n]}const cG=function(e,t){const n=tG(e),r=document.getElementById(t.text);try{const e=r.innerHTML,t=JSON.parse(e);t.properties&&lG(n,t.properties),t.links&&oG(n,t.links)}catch(fR){NR.error("error while parsing actor details text",fR)}},uG=function(e){if(Array.isArray(e))e.forEach((function(e){uG(e)}));else switch(e.type){case"sequenceIndex":XU.push({from:void 0,to:void 0,message:{start:e.sequenceIndex,step:e.sequenceIndexStep,visible:e.sequenceVisible},wrap:!1,type:e.signalType});break;case"addParticipant":JU(e.actor,e.actor,e.description,"participant");break;case"addActor":JU(e.actor,e.actor,e.description,"actor");break;case"activeStart":case"activeEnd":eG(e.actor,void 0,void 0,e.signalType);break;case"addNote":iG(e.actor,e.placement,e.text);break;case"addLinks":aG(e.actor,e.text);break;case"addALink":!function(e,t){const n=tG(e);try{const e={};let o=DR(t.text,aM());var r=o.indexOf("@");o=o.replace(/&/g,"&"),o=o.replace(/=/g,"=");var i=o.slice(0,r-1).trim(),a=o.slice(r+1).trim();e[i]=a,oG(n,e)}catch(fR){NR.error("error while parsing actor link text",fR)}}(e.actor,e.text);break;case"addProperties":sG(e.actor,e.text);break;case"addDetails":cG(e.actor,e.text);break;case"addMessage":eG(e.from,e.to,e.msg,e.signalType);break;case"boxStart":t=e.boxData,KU.push({name:t.text,wrap:void 0===t.wrap&&nG()||!!t.wrap,fill:t.color,actorKeys:[]}),WU=KU.slice(-1)[0];break;case"boxEnd":WU=void 0;break;case"loopStart":eG(void 0,void 0,e.loopText,e.signalType);break;case"loopEnd":case"rectEnd":case"optEnd":case"altEnd":case"parEnd":case"criticalEnd":case"breakEnd":eG(void 0,void 0,void 0,e.signalType);break;case"rectStart":eG(void 0,void 0,e.color,e.signalType);break;case"optStart":eG(void 0,void 0,e.optText,e.signalType);break;case"altStart":case"else":eG(void 0,void 0,e.altText,e.signalType);break;case"setAccTitle":DM(e.text);break;case"parStart":case"and":eG(void 0,void 0,e.parText,e.signalType);break;case"criticalStart":eG(void 0,void 0,e.criticalText,e.signalType);break;case"option":eG(void 0,void 0,e.optionText,e.signalType);break;case"breakStart":eG(void 0,void 0,e.breakText,e.signalType)}var t},dG={addActor:JU,addMessage:function(e,t,n,r){XU.push({from:e,to:t,message:n.text,wrap:void 0===n.wrap&&nG()||!!n.wrap,answer:r})},addSignal:eG,addLinks:aG,addDetails:cG,addProperties:sG,autoWrap:nG,setWrap:function(e){VU=e},enableSequenceNumbers:function(){ZU=!0},disableSequenceNumbers:function(){ZU=!1},showSequenceNumbers:()=>ZU,getMessages:function(){return XU},getActors:function(){return QU},getActor:tG,getActorKeys:function(){return Object.keys(QU)},getActorProperty:function(e,t){if(void 0!==e&&void 0!==e.properties)return e.properties[t]},getAccTitle:MM,getBoxes:function(){return KU},getDiagramTitle:FM,setDiagramTitle:jM,parseDirective:function(e,t,n){cY.parseDirective(this,e,t,n)},getConfig:()=>aM().sequence,clear:function(){QU={},KU=[],XU=[],ZU=!1,IM()},parseMessage:function(e){const t=e.trim(),n={text:t.replace(/^:?(?:no)?wrap:/,"").trim(),wrap:null!==t.match(/^:?wrap:/)||null===t.match(/^:?nowrap:/)&&void 0};return NR.debug("parseMessage:",n),n},parseBoxData:function(e){const t=e.match(/^((?:rgba?|hsla?)\s*\(.*\)|\w*)(.*)$/);let n=null!=t&&t[1]?t[1].trim():"transparent",r=null!=t&&t[2]?t[2].trim():void 0;if(window&&window.CSS)window.CSS.supports("color",n)||(n="transparent",r=e.trim());else{const t=(new Option).style;t.color=n,t.color!==n&&(n="transparent",r=e.trim())}return{color:n,text:void 0!==r?DR(r.replace(/^:?(?:no)?wrap:/,""),aM()):void 0,wrap:void 0!==r?null!==r.match(/^:?wrap:/)||null===r.match(/^:?nowrap:/)&&void 0:void 0}},LINETYPE:rG,ARROWTYPE:{FILLED:0,OPEN:1},PLACEMENT:{LEFTOF:0,RIGHTOF:1,OVER:2},addNote:iG,setAccTitle:DM,apply:uG,setAccDescription:LM,getAccDescription:PM,hasAtLeastOneBox:function(){return KU.length>0},hasAtLeastOneBoxWithTitle:function(){return KU.some((e=>e.name))}};let hG=[];const pG=()=>{hG.forEach((e=>{e()})),hG=[]},gG=function(e,t){const n=e.append("rect");return n.attr("x",t.x),n.attr("y",t.y),n.attr("fill",t.fill),n.attr("stroke",t.stroke),n.attr("width",t.width),n.attr("height",t.height),n.attr("rx",t.rx),n.attr("ry",t.ry),void 0!==t.class&&n.attr("class",t.class),n},mG=(e,t)=>{(e=>{hG.push(e)})((()=>{const n=document.querySelectorAll(e);0!==n.length&&(n[0].addEventListener("mouseover",(function(){fG("actor"+t+"_popup")})),n[0].addEventListener("mouseout",(function(){yG("actor"+t+"_popup")})))}))},_G=function(e,t,n,r){const i=e.append("image");i.attr("x",t),i.attr("y",n);var a=Fg.sanitizeUrl(r);i.attr("xlink:href",a)},bG=function(e,t,n,r){const i=e.append("use");i.attr("x",t),i.attr("y",n);var a=Fg.sanitizeUrl(r);i.attr("xlink:href","#"+a)},fG=function(e){var t=document.getElementById(e);null!=t&&(t.style.display="block")},yG=function(e){var t=document.getElementById(e);null!=t&&(t.style.display="none")},vG=function(e,t){let n=0,r=0;const i=t.text.split(BR.lineBreakRegex),[a,o]=WD(t.fontSize);let s=[],l=0,c=()=>t.y;if(void 0!==t.valign&&void 0!==t.textMargin&&t.textMargin>0)switch(t.valign){case"top":case"start":c=()=>Math.round(t.y+t.textMargin);break;case"middle":case"center":c=()=>Math.round(t.y+(n+r+t.textMargin)/2);break;case"bottom":case"end":c=()=>Math.round(t.y+(n+r+2*t.textMargin)-t.textMargin)}if(void 0!==t.anchor&&void 0!==t.textMargin&&void 0!==t.width)switch(t.anchor){case"left":case"start":t.x=Math.round(t.x+t.textMargin),t.anchor="start",t.dominantBaseline="middle",t.alignmentBaseline="middle";break;case"middle":case"center":t.x=Math.round(t.x+t.width/2),t.anchor="middle",t.dominantBaseline="middle",t.alignmentBaseline="middle";break;case"right":case"end":t.x=Math.round(t.x+t.width-t.textMargin),t.anchor="end",t.dominantBaseline="middle",t.alignmentBaseline="middle"}for(let[u,d]of i.entries()){void 0!==t.textMargin&&0===t.textMargin&&void 0!==a&&(l=u*a);const i=e.append("text");if(i.attr("x",t.x),i.attr("y",c()),void 0!==t.anchor&&i.attr("text-anchor",t.anchor).attr("dominant-baseline",t.dominantBaseline).attr("alignment-baseline",t.alignmentBaseline),void 0!==t.fontFamily&&i.style("font-family",t.fontFamily),void 0!==o&&i.style("font-size",o),void 0!==t.fontWeight&&i.style("font-weight",t.fontWeight),void 0!==t.fill&&i.attr("fill",t.fill),void 0!==t.class&&i.attr("class",t.class),void 0!==t.dy?i.attr("dy",t.dy):0!==l&&i.attr("dy",l),t.tspan){const e=i.append("tspan");e.attr("x",t.x),void 0!==t.fill&&e.attr("fill",t.fill),e.text(d)}else i.text(d);void 0!==t.valign&&void 0!==t.textMargin&&t.textMargin>0&&(r+=(i._groups||i)[0][0].getBBox().height,n=r),s.push(i)}return s},EG=function(e,t){const n=e.append("polygon");var r,i,a,o,s;return n.attr("points",(r=t.x,i=t.y,a=t.width,o=t.height,r+","+i+" "+(r+a)+","+i+" "+(r+a)+","+(i+o-(s=7))+" "+(r+a-1.2*s)+","+(i+o)+" "+r+","+(i+o))),n.attr("class","labelBox"),t.y=t.y+t.height/2,vG(e,t),n};let SG=-1;const TG=(e,t)=>{e.selectAll&&e.selectAll(".actor-line").attr("class","200").attr("y2",t-55)},CG=function(e,t){gG(e,{x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,stroke:t.stroke,class:"rect"}).lower()},xG=function(){return{x:0,y:0,fill:void 0,anchor:void 0,style:"#666",width:void 0,height:void 0,textMargin:0,rx:0,ry:0,tspan:!0,valign:void 0}},kG=function(){return{x:0,y:0,fill:"#EDF2AE",stroke:"#666",width:100,anchor:"start",height:100,rx:0,ry:0}},AG=function(){function e(e,t,n,i,a,o,s){r(t.append("text").attr("x",n+a/2).attr("y",i+o/2+5).style("text-anchor","middle").text(e),s)}function t(e,t,n,i,a,o,s,l){const{actorFontSize:c,actorFontFamily:u,actorFontWeight:d}=l,[h,p]=WD(c),g=e.split(BR.lineBreakRegex);for(let m=0;m<g.length;m++){const e=m*h-h*(g.length-1)/2,l=t.append("text").attr("x",n+a/2).attr("y",i).style("text-anchor","middle").style("font-size",p).style("font-weight",d).style("font-family",u);l.append("tspan").attr("x",n+a/2).attr("dy",e).text(g[m]),l.attr("y",i+o/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),r(l,s)}}function n(e,n,i,a,o,s,l,c){const u=n.append("switch"),d=u.append("foreignObject").attr("x",i).attr("y",a).attr("width",o).attr("height",s).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");d.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(e),t(e,u,i,a,o,s,l,c),r(d,l)}function r(e,t){for(const n in t)t.hasOwnProperty(n)&&e.attr(n,t[n])}return function(r){return"fo"===r.textPlacement?n:"old"===r.textPlacement?e:t}}(),wG=function(){function e(e,t,n,i,a,o,s){r(t.append("text").attr("x",n).attr("y",i).style("text-anchor","start").text(e),s)}function t(e,t,n,i,a,o,s,l){const{actorFontSize:c,actorFontFamily:u,actorFontWeight:d}=l,h=e.split(BR.lineBreakRegex);for(let p=0;p<h.length;p++){const e=p*c-c*(h.length-1)/2,a=t.append("text").attr("x",n).attr("y",i).style("text-anchor","start").style("font-size",c).style("font-weight",d).style("font-family",u);a.append("tspan").attr("x",n).attr("dy",e).text(h[p]),a.attr("y",i+o/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),r(a,s)}}function n(e,n,i,a,o,s,l,c){const u=n.append("switch"),d=u.append("foreignObject").attr("x",i).attr("y",a).attr("width",o).attr("height",s).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");d.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(e),t(e,u,i,a,0,s,l,c),r(d,l)}function r(e,t){for(const n in t)t.hasOwnProperty(n)&&e.attr(n,t[n])}return function(r){return"fo"===r.textPlacement?n:"old"===r.textPlacement?e:t}}(),NG={drawRect:gG,drawText:vG,drawLabel:EG,drawActor:function(e,t,n,r){switch(t.type){case"actor":return function(e,t,n,r){const i=t.x+t.width/2,a=t.y+80;r||(SG++,e.append("line").attr("id","actor"+SG).attr("x1",i).attr("y1",a).attr("x2",i).attr("y2",2e3).attr("class","actor-line").attr("stroke-width","0.5px").attr("stroke","#999"));const o=e.append("g");o.attr("class","actor-man");const s=kG();s.x=t.x,s.y=t.y,s.fill="#eaeaea",s.width=t.width,s.height=t.height,s.class="actor",s.rx=3,s.ry=3,o.append("line").attr("id","actor-man-torso"+SG).attr("x1",i).attr("y1",t.y+25).attr("x2",i).attr("y2",t.y+45),o.append("line").attr("id","actor-man-arms"+SG).attr("x1",i-18).attr("y1",t.y+33).attr("x2",i+18).attr("y2",t.y+33),o.append("line").attr("x1",i-18).attr("y1",t.y+60).attr("x2",i).attr("y2",t.y+45),o.append("line").attr("x1",i).attr("y1",t.y+45).attr("x2",i+16).attr("y2",t.y+60);const l=o.append("circle");l.attr("cx",t.x+t.width/2),l.attr("cy",t.y+10),l.attr("r",15),l.attr("width",t.width),l.attr("height",t.height);const c=o.node().getBBox();return t.height=c.height,AG(n)(t.description,o,s.x,s.y+35,s.width,s.height,{class:"actor"},n),t.height}(e,t,n,r);case"participant":return function(e,t,n,r){const i=t.x+t.width/2,a=t.y+5,o=e.append("g");var s=o;r||(SG++,s.append("line").attr("id","actor"+SG).attr("x1",i).attr("y1",a).attr("x2",i).attr("y2",2e3).attr("class","actor-line").attr("stroke-width","0.5px").attr("stroke","#999"),s=o.append("g"),t.actorCnt=SG,null!=t.links&&(s.attr("id","root-"+SG),mG("#root-"+SG,SG)));const l=kG();var c="actor";null!=t.properties&&t.properties.class?c=t.properties.class:l.fill="#eaeaea",l.x=t.x,l.y=t.y,l.width=t.width,l.height=t.height,l.class=c,l.rx=3,l.ry=3;const u=gG(s,l);if(t.rectData=l,null!=t.properties&&t.properties.icon){const e=t.properties.icon.trim();"@"===e.charAt(0)?bG(s,l.x+l.width-20,l.y+10,e.substr(1)):_G(s,l.x+l.width-20,l.y+10,e)}AG(n)(t.description,s,l.x,l.y,l.width,l.height,{class:"actor"},n);let d=t.height;if(u.node){const e=u.node().getBBox();t.height=e.height,d=e.height}return d}(e,t,n,r)}},drawBox:function(e,t,n){const r=e.append("g");CG(r,t),t.name&&AG(n)(t.name,r,t.x,t.y+(t.textMaxHeight||0)/2,t.width,0,{class:"text"},n),r.lower()},drawPopup:function(e,t,n,r,i){if(void 0===t.links||null===t.links||0===Object.keys(t.links).length)return{height:0,width:0};const a=t.links,o=t.actorCnt,s=t.rectData;var l="none";i&&(l="block !important");const c=e.append("g");c.attr("id","actor"+o+"_popup"),c.attr("class","actorPopupMenu"),c.attr("display",l),mG("#actor"+o+"_popup",o);var u="";void 0!==s.class&&(u=" "+s.class);let d=s.width>n?s.width:n;const h=c.append("rect");if(h.attr("class","actorPopupMenuPanel"+u),h.attr("x",s.x),h.attr("y",s.height),h.attr("fill",s.fill),h.attr("stroke",s.stroke),h.attr("width",d),h.attr("height",s.height),h.attr("rx",s.rx),h.attr("ry",s.ry),null!=a){var p=20;for(let e in a){var g=c.append("a"),m=Fg.sanitizeUrl(a[e]);g.attr("xlink:href",m),g.attr("target","_blank"),wG(r)(e,g,s.x+10,s.height+p,d,20,{class:"actor"},r),p+=30}}return h.attr("height",p),{height:s.height+p,width:d}},drawImage:_G,drawEmbeddedImage:bG,anchorElement:function(e){return e.append("g")},drawActivation:function(e,t,n,r,i){const a=kG(),o=t.anchored;a.x=t.startx,a.y=t.starty,a.class="activation"+i%3,a.width=t.stopx-t.startx,a.height=n-t.starty,gG(o,a)},drawLoop:function(e,t,n,r){const{boxMargin:i,boxTextMargin:a,labelBoxHeight:o,labelBoxWidth:s,messageFontFamily:l,messageFontSize:c,messageFontWeight:u}=r,d=e.append("g"),h=function(e,t,n,r){return d.append("line").attr("x1",e).attr("y1",t).attr("x2",n).attr("y2",r).attr("class","loopLine")};h(t.startx,t.starty,t.stopx,t.starty),h(t.stopx,t.starty,t.stopx,t.stopy),h(t.startx,t.stopy,t.stopx,t.stopy),h(t.startx,t.starty,t.startx,t.stopy),void 0!==t.sections&&t.sections.forEach((function(e){h(t.startx,e.y,t.stopx,e.y).style("stroke-dasharray","3, 3")}));let p=xG();p.text=n,p.x=t.startx,p.y=t.starty,p.fontFamily=l,p.fontSize=c,p.fontWeight=u,p.anchor="middle",p.valign="middle",p.tspan=!1,p.width=s||50,p.height=o||20,p.textMargin=a,p.class="labelText",EG(d,p),p=xG(),p.text=t.title,p.x=t.startx+s/2+(t.stopx-t.startx)/2,p.y=t.starty+i+a,p.anchor="middle",p.valign="middle",p.textMargin=a,p.class="loopText",p.fontFamily=l,p.fontSize=c,p.fontWeight=u,p.wrap=!0;let g=vG(d,p);return void 0!==t.sectionTitles&&t.sectionTitles.forEach((function(e,n){if(e.message){p.text=e.message,p.x=t.startx+(t.stopx-t.startx)/2,p.y=t.sections[n].y+i+a,p.class="loopText",p.anchor="middle",p.valign="middle",p.tspan=!1,p.fontFamily=l,p.fontSize=c,p.fontWeight=u,p.wrap=t.wrap,g=vG(d,p);let r=Math.round(g.map((e=>(e._groups||e)[0][0].getBBox().height)).reduce(((e,t)=>e+t)));t.sections[n].height+=r-(i+a)}})),t.height=Math.round(t.stopy-t.starty),d},drawBackgroundRect:CG,insertArrowHead:function(e){e.append("defs").append("marker").attr("id","arrowhead").attr("refX",9).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z")},insertArrowFilledHead:function(e){e.append("defs").append("marker").attr("id","filled-head").attr("refX",18).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},insertSequenceNumber:function(e){e.append("defs").append("marker").attr("id","sequencenumber").attr("refX",15).attr("refY",15).attr("markerWidth",60).attr("markerHeight",40).attr("orient","auto").append("circle").attr("cx",15).attr("cy",15).attr("r",6)},insertArrowCrossHead:function(e){e.append("defs").append("marker").attr("id","crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",4).attr("refY",5).append("path").attr("fill","none").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1pt").attr("d","M 1,2 L 6,7 M 6,2 L 1,7")},insertDatabaseIcon:function(e){e.append("defs").append("symbol").attr("id","database").attr("fill-rule","evenodd").attr("clip-rule","evenodd").append("path").attr("transform","scale(.5)").attr("d","M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z")},insertComputerIcon:function(e){e.append("defs").append("symbol").attr("id","computer").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z")},insertClockIcon:function(e){e.append("defs").append("symbol").attr("id","clock").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z")},getTextObj:xG,getNoteRect:kG,popupMenu:function(e){return"var pu = document.getElementById('"+e+"'); if (pu != null) { pu.style.display = 'block'; }"},popdownMenu:function(e){return"var pu = document.getElementById('"+e+"'); if (pu != null) { pu.style.display = 'none'; }"},fixLifeLineHeights:TG,sanitizeUrl:Fg.sanitizeUrl};let OG={};const RG={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],activations:[],models:{getHeight:function(){return Math.max.apply(null,0===this.actors.length?[0]:this.actors.map((e=>e.height||0)))+(0===this.loops.length?0:this.loops.map((e=>e.height||0)).reduce(((e,t)=>e+t)))+(0===this.messages.length?0:this.messages.map((e=>e.height||0)).reduce(((e,t)=>e+t)))+(0===this.notes.length?0:this.notes.map((e=>e.height||0)).reduce(((e,t)=>e+t)))},clear:function(){this.actors=[],this.boxes=[],this.loops=[],this.messages=[],this.notes=[]},addBox:function(e){this.boxes.push(e)},addActor:function(e){this.actors.push(e)},addLoop:function(e){this.loops.push(e)},addMessage:function(e){this.messages.push(e)},addNote:function(e){this.notes.push(e)},lastActor:function(){return this.actors[this.actors.length-1]},lastLoop:function(){return this.loops[this.loops.length-1]},lastMessage:function(){return this.messages[this.messages.length-1]},lastNote:function(){return this.notes[this.notes.length-1]},actors:[],boxes:[],loops:[],messages:[],notes:[]},init:function(){this.sequenceItems=[],this.activations=[],this.models.clear(),this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0,jG(aM())},updateVal:function(e,t,n,r){void 0===e[t]?e[t]=n:e[t]=r(n,e[t])},updateBounds:function(e,t,n,r){const i=this;let a=0;function o(o){return function(s){a++;const l=i.sequenceItems.length-a+1;i.updateVal(s,"starty",t-l*OG.boxMargin,Math.min),i.updateVal(s,"stopy",r+l*OG.boxMargin,Math.max),i.updateVal(RG.data,"startx",e-l*OG.boxMargin,Math.min),i.updateVal(RG.data,"stopx",n+l*OG.boxMargin,Math.max),"activation"!==o&&(i.updateVal(s,"startx",e-l*OG.boxMargin,Math.min),i.updateVal(s,"stopx",n+l*OG.boxMargin,Math.max),i.updateVal(RG.data,"starty",t-l*OG.boxMargin,Math.min),i.updateVal(RG.data,"stopy",r+l*OG.boxMargin,Math.max))}}this.sequenceItems.forEach(o()),this.activations.forEach(o("activation"))},insert:function(e,t,n,r){const i=Math.min(e,n),a=Math.max(e,n),o=Math.min(t,r),s=Math.max(t,r);this.updateVal(RG.data,"startx",i,Math.min),this.updateVal(RG.data,"starty",o,Math.min),this.updateVal(RG.data,"stopx",a,Math.max),this.updateVal(RG.data,"stopy",s,Math.max),this.updateBounds(i,o,a,s)},newActivation:function(e,t,n){const r=n[e.from.actor],i=FG(e.from.actor).length||0,a=r.x+r.width/2+(i-1)*OG.activationWidth/2;this.activations.push({startx:a,starty:this.verticalPos+2,stopx:a+OG.activationWidth,stopy:void 0,actor:e.from.actor,anchored:NG.anchorElement(t)})},endActivation:function(e){const t=this.activations.map((function(e){return e.actor})).lastIndexOf(e.from.actor);return this.activations.splice(t,1)[0]},createLoop:function(e={message:void 0,wrap:!1,width:void 0},t){return{startx:void 0,starty:this.verticalPos,stopx:void 0,stopy:void 0,title:e.message,wrap:e.wrap,width:e.width,height:0,fill:t}},newLoop:function(e={message:void 0,wrap:!1,width:void 0},t){this.sequenceItems.push(this.createLoop(e,t))},endLoop:function(){return this.sequenceItems.pop()},addSectionToLoop:function(e){const t=this.sequenceItems.pop();t.sections=t.sections||[],t.sectionTitles=t.sectionTitles||[],t.sections.push({y:RG.getVerticalPos(),height:0}),t.sectionTitles.push(e),this.sequenceItems.push(t)},bumpVerticalPos:function(e){this.verticalPos=this.verticalPos+e,this.data.stopy=this.verticalPos},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return{bounds:this.data,models:this.models}}},IG=e=>({fontFamily:e.messageFontFamily,fontSize:e.messageFontSize,fontWeight:e.messageFontWeight}),DG=e=>({fontFamily:e.noteFontFamily,fontSize:e.noteFontSize,fontWeight:e.noteFontWeight}),MG=e=>({fontFamily:e.actorFontFamily,fontSize:e.actorFontSize,fontWeight:e.actorFontWeight});const LG=function(e,t,n,r,i,a,o){if(!0===i.hideUnusedParticipants){const e=new Set;a.forEach((t=>{e.add(t.from),e.add(t.to)})),n=n.filter((t=>e.has(t)))}let s,l=0,c=0,u=0;for(const d of n){const n=t[d],i=n.box;s&&s!=i&&(o||RG.models.addBox(s),c+=OG.boxMargin+s.margin),i&&i!=s&&(o||(i.x=l+c,i.y=r),c+=i.margin),n.width=n.width||OG.width,n.height=Math.max(n.height||OG.height,OG.height),n.margin=n.margin||OG.actorMargin,n.x=l+c,n.y=RG.getVerticalPos();const a=NG.drawActor(e,n,OG,o);u=Math.max(u,a),RG.insert(n.x,r,n.x+n.width,n.height),l+=n.width+c,n.box&&(n.box.width=l+i.margin-n.box.x),c=n.margin,s=n.box,RG.models.addActor(n)}s&&!o&&RG.models.addBox(s),RG.bumpVerticalPos(u)},PG=function(e,t,n,r){let i=0,a=0;for(const o of n){const n=t[o],s=GG(n),l=NG.drawPopup(e,n,s,OG,OG.forceMenus,r);l.height>i&&(i=l.height),l.width+n.x>a&&(a=l.width+n.x)}return{maxHeight:i,maxWidth:a}},jG=function(e){AD(OG,e),e.fontFamily&&(OG.actorFontFamily=OG.noteFontFamily=OG.messageFontFamily=e.fontFamily),e.fontSize&&(OG.actorFontSize=OG.noteFontSize=OG.messageFontSize=e.fontSize),e.fontWeight&&(OG.actorFontWeight=OG.noteFontWeight=OG.messageFontWeight=e.fontWeight)},FG=function(e){return RG.activations.filter((function(t){return t.actor===e}))},BG=function(e,t){const n=t[e],r=FG(e);return[r.reduce((function(e,t){return Math.min(e,t.startx)}),n.x+n.width/2),r.reduce((function(e,t){return Math.max(e,t.stopx)}),n.x+n.width/2)]};function UG(e,t,n,r,i){RG.bumpVerticalPos(n);let a=r;if(t.id&&t.message&&e[t.id]){const n=e[t.id].width,i=IG(OG);t.message=QD.wrapLabel(`[${t.message}]`,n-2*OG.wrapPadding,i),t.width=n,t.wrap=!0;const o=QD.calculateTextDimensions(t.message,i),s=Math.max(o.height,OG.labelBoxHeight);a=r+s,NR.debug(`${s} - ${t.message}`)}i(t),RG.bumpVerticalPos(a)}const GG=function(e){let t=0;const n=MG(OG);for(const r in e.links){const e=QD.calculateTextDimensions(r,n).width+2*OG.wrapPadding+2*OG.boxMargin;t<e&&(t=e)}return t};const zG=function(e,t,n,r){const i={},a=[];let o,s,l;return e.forEach((function(e){switch(e.id=QD.random({length:10}),e.type){case r.db.LINETYPE.LOOP_START:case r.db.LINETYPE.ALT_START:case r.db.LINETYPE.OPT_START:case r.db.LINETYPE.PAR_START:case r.db.LINETYPE.CRITICAL_START:case r.db.LINETYPE.BREAK_START:a.push({id:e.id,msg:e.message,from:Number.MAX_SAFE_INTEGER,to:Number.MIN_SAFE_INTEGER,width:0});break;case r.db.LINETYPE.ALT_ELSE:case r.db.LINETYPE.PAR_AND:case r.db.LINETYPE.CRITICAL_OPTION:e.message&&(o=a.pop(),i[o.id]=o,i[e.id]=o,a.push(o));break;case r.db.LINETYPE.LOOP_END:case r.db.LINETYPE.ALT_END:case r.db.LINETYPE.OPT_END:case r.db.LINETYPE.PAR_END:case r.db.LINETYPE.CRITICAL_END:case r.db.LINETYPE.BREAK_END:o=a.pop(),i[o.id]=o;break;case r.db.LINETYPE.ACTIVE_START:{const n=t[e.from?e.from.actor:e.to.actor],r=FG(e.from?e.from.actor:e.to.actor).length,i=n.x+n.width/2+(r-1)*OG.activationWidth/2,a={startx:i,stopx:i+OG.activationWidth,actor:e.from.actor,enabled:!0};RG.activations.push(a)}break;case r.db.LINETYPE.ACTIVE_END:{const t=RG.activations.map((e=>e.actor)).lastIndexOf(e.from.actor);delete RG.activations.splice(t,1)[0]}}void 0!==e.placement?(s=function(e,t,n){const r=t[e.from].x,i=t[e.to].x,a=e.wrap&&e.message;let o=QD.calculateTextDimensions(a?QD.wrapLabel(e.message,OG.width,DG(OG)):e.message,DG(OG));const s={width:a?OG.width:Math.max(OG.width,o.width+2*OG.noteMargin),height:0,startx:t[e.from].x,stopx:0,starty:0,stopy:0,message:e.message};return e.placement===n.db.PLACEMENT.RIGHTOF?(s.width=a?Math.max(OG.width,o.width):Math.max(t[e.from].width/2+t[e.to].width/2,o.width+2*OG.noteMargin),s.startx=r+(t[e.from].width+OG.actorMargin)/2):e.placement===n.db.PLACEMENT.LEFTOF?(s.width=a?Math.max(OG.width,o.width+2*OG.noteMargin):Math.max(t[e.from].width/2+t[e.to].width/2,o.width+2*OG.noteMargin),s.startx=r-s.width+(t[e.from].width-OG.actorMargin)/2):e.to===e.from?(o=QD.calculateTextDimensions(a?QD.wrapLabel(e.message,Math.max(OG.width,t[e.from].width),DG(OG)):e.message,DG(OG)),s.width=a?Math.max(OG.width,t[e.from].width):Math.max(t[e.from].width,OG.width,o.width+2*OG.noteMargin),s.startx=r+(t[e.from].width-s.width)/2):(s.width=Math.abs(r+t[e.from].width/2-(i+t[e.to].width/2))+OG.actorMargin,s.startx=r<i?r+t[e.from].width/2-OG.actorMargin/2:i+t[e.to].width/2-OG.actorMargin/2),a&&(s.message=QD.wrapLabel(e.message,s.width-2*OG.wrapPadding,DG(OG))),NR.debug(`NM:[${s.startx},${s.stopx},${s.starty},${s.stopy}:${s.width},${s.height}=${e.message}]`),s}(e,t,r),e.noteModel=s,a.forEach((e=>{o=e,o.from=Math.min(o.from,s.startx),o.to=Math.max(o.to,s.startx+s.width),o.width=Math.max(o.width,Math.abs(o.from-o.to))-OG.labelBoxWidth}))):(l=function(e,t,n){let r=!1;if([n.db.LINETYPE.SOLID_OPEN,n.db.LINETYPE.DOTTED_OPEN,n.db.LINETYPE.SOLID,n.db.LINETYPE.DOTTED,n.db.LINETYPE.SOLID_CROSS,n.db.LINETYPE.DOTTED_CROSS,n.db.LINETYPE.SOLID_POINT,n.db.LINETYPE.DOTTED_POINT].includes(e.type)&&(r=!0),!r)return{};const i=BG(e.from,t),a=BG(e.to,t),o=i[0]<=a[0]?1:0,s=i[0]<a[0]?0:1,l=[...i,...a],c=Math.abs(a[s]-i[o]);e.wrap&&e.message&&(e.message=QD.wrapLabel(e.message,Math.max(c+2*OG.wrapPadding,OG.width),IG(OG)));const u=QD.calculateTextDimensions(e.message,IG(OG));return{width:Math.max(e.wrap?0:u.width+2*OG.wrapPadding,c+2*OG.wrapPadding,OG.width),height:0,startx:i[o],stopx:a[s],starty:0,stopy:0,message:e.message,type:e.type,wrap:e.wrap,fromBounds:Math.min.apply(null,l),toBounds:Math.max.apply(null,l)}}(e,t,r),e.msgModel=l,l.startx&&l.stopx&&a.length>0&&a.forEach((n=>{if(o=n,l.startx===l.stopx){const n=t[e.from],r=t[e.to];o.from=Math.min(n.x-l.width/2,n.x-n.width/2,o.from),o.to=Math.max(r.x+l.width/2,r.x+n.width/2,o.to),o.width=Math.max(o.width,Math.abs(o.to-o.from))-OG.labelBoxWidth}else o.from=Math.min(l.startx,o.from),o.to=Math.max(l.stopx,o.to),o.width=Math.max(o.width,l.width)-OG.labelBoxWidth})))})),RG.activations=[],NR.debug("Loop type widths:",i),i},$G={bounds:RG,drawActors:LG,drawActorsPopup:PG,setConf:jG,draw:function(e,t,n,r){const{securityLevel:i,sequence:a}=aM();let o;OG=a,r.db.clear(),r.parser.parse(e),"sandbox"===i&&(o=k_("#i"+t));const s=k_("sandbox"===i?o.nodes()[0].contentDocument.body:"body"),l="sandbox"===i?o.nodes()[0].contentDocument:document;RG.init(),NR.debug(r.db);const c="sandbox"===i?s.select(`[id="${t}"]`):k_(`[id="${t}"]`),u=r.db.getActors(),d=r.db.getBoxes(),h=r.db.getActorKeys(),p=r.db.getMessages(),g=r.db.getDiagramTitle(),m=r.db.hasAtLeastOneBox(),_=r.db.hasAtLeastOneBoxWithTitle(),b=function(e,t,n){const r={};return t.forEach((function(t){if(e[t.to]&&e[t.from]){const i=e[t.to];if(t.placement===n.db.PLACEMENT.LEFTOF&&!i.prevActor)return;if(t.placement===n.db.PLACEMENT.RIGHTOF&&!i.nextActor)return;const a=void 0!==t.placement,o=!a,s=a?DG(OG):IG(OG),l=t.wrap?QD.wrapLabel(t.message,OG.width-2*OG.wrapPadding,s):t.message,c=QD.calculateTextDimensions(l,s).width+2*OG.wrapPadding;o&&t.from===i.nextActor?r[t.to]=Math.max(r[t.to]||0,c):o&&t.from===i.prevActor?r[t.from]=Math.max(r[t.from]||0,c):o&&t.from===t.to?(r[t.from]=Math.max(r[t.from]||0,c/2),r[t.to]=Math.max(r[t.to]||0,c/2)):t.placement===n.db.PLACEMENT.RIGHTOF?r[t.from]=Math.max(r[t.from]||0,c):t.placement===n.db.PLACEMENT.LEFTOF?r[i.prevActor]=Math.max(r[i.prevActor]||0,c):t.placement===n.db.PLACEMENT.OVER&&(i.prevActor&&(r[i.prevActor]=Math.max(r[i.prevActor]||0,c/2)),i.nextActor&&(r[t.from]=Math.max(r[t.from]||0,c/2)))}})),NR.debug("maxMessageWidthPerActor:",r),r}(u,p,r);OG.height=function(e,t,n){let r=0;Object.keys(e).forEach((t=>{const n=e[t];n.wrap&&(n.description=QD.wrapLabel(n.description,OG.width-2*OG.wrapPadding,MG(OG)));const i=QD.calculateTextDimensions(n.description,MG(OG));n.width=n.wrap?OG.width:Math.max(OG.width,i.width+2*OG.wrapPadding),n.height=n.wrap?Math.max(i.height,OG.height):OG.height,r=Math.max(r,n.height)}));for(const a in t){const n=e[a];if(!n)continue;const r=e[n.nextActor];if(!r){const e=t[a]+OG.actorMargin-n.width/2;n.margin=Math.max(e,OG.actorMargin);continue}const i=t[a]+OG.actorMargin-n.width/2-r.width/2;n.margin=Math.max(i,OG.actorMargin)}let i=0;return n.forEach((t=>{const n=IG(OG);let r=t.actorKeys.reduce(((t,n)=>t+(e[n].width+(e[n].margin||0))),0);r-=2*OG.boxTextMargin,t.wrap&&(t.name=QD.wrapLabel(t.name,r-2*OG.wrapPadding,n));const a=QD.calculateTextDimensions(t.name,n);i=Math.max(a.height,i);const o=Math.max(r,a.width+2*OG.wrapPadding);if(t.margin=OG.boxTextMargin,r<o){const e=(o-r)/2;t.margin+=e}})),n.forEach((e=>e.textMaxHeight=i)),Math.max(r,OG.height)}(u,b,d),NG.insertComputerIcon(c),NG.insertDatabaseIcon(c),NG.insertClockIcon(c),m&&(RG.bumpVerticalPos(OG.boxMargin),_&&RG.bumpVerticalPos(d[0].textMaxHeight)),LG(c,u,h,0,OG,p,!1);const f=zG(p,u,b,r);NG.insertArrowHead(c),NG.insertArrowCrossHead(c),NG.insertArrowFilledHead(c),NG.insertSequenceNumber(c);let y=1,v=1;const E=[];p.forEach((function(e){let t,n,i;switch(e.type){case r.db.LINETYPE.NOTE:n=e.noteModel,function(e,t){RG.bumpVerticalPos(OG.boxMargin),t.height=OG.boxMargin,t.starty=RG.getVerticalPos();const n=NG.getNoteRect();n.x=t.startx,n.y=t.starty,n.width=t.width||OG.width,n.class="note";const r=e.append("g"),i=NG.drawRect(r,n),a=NG.getTextObj();a.x=t.startx,a.y=t.starty,a.width=n.width,a.dy="1em",a.text=t.message,a.class="noteText",a.fontFamily=OG.noteFontFamily,a.fontSize=OG.noteFontSize,a.fontWeight=OG.noteFontWeight,a.anchor=OG.noteAlign,a.textMargin=OG.noteMargin,a.valign="center";const o=vG(r,a),s=Math.round(o.map((e=>(e._groups||e)[0][0].getBBox().height)).reduce(((e,t)=>e+t)));i.attr("height",s+2*OG.noteMargin),t.height+=s+2*OG.noteMargin,RG.bumpVerticalPos(s+2*OG.noteMargin),t.stopy=t.starty+s+2*OG.noteMargin,t.stopx=t.startx+n.width,RG.insert(t.startx,t.starty,t.stopx,t.stopy),RG.models.addNote(t)}(c,n);break;case r.db.LINETYPE.ACTIVE_START:RG.newActivation(e,c,u);break;case r.db.LINETYPE.ACTIVE_END:!function(e,t){const n=RG.endActivation(e);n.starty+18>t&&(n.starty=t-6,t+=12),NG.drawActivation(c,n,t,OG,FG(e.from.actor).length),RG.insert(n.startx,t-10,n.stopx,t)}(e,RG.getVerticalPos());break;case r.db.LINETYPE.LOOP_START:UG(f,e,OG.boxMargin,OG.boxMargin+OG.boxTextMargin,(e=>RG.newLoop(e)));break;case r.db.LINETYPE.LOOP_END:t=RG.endLoop(),NG.drawLoop(c,t,"loop",OG),RG.bumpVerticalPos(t.stopy-RG.getVerticalPos()),RG.models.addLoop(t);break;case r.db.LINETYPE.RECT_START:UG(f,e,OG.boxMargin,OG.boxMargin,(e=>RG.newLoop(void 0,e.message)));break;case r.db.LINETYPE.RECT_END:t=RG.endLoop(),NG.drawBackgroundRect(c,t),RG.models.addLoop(t),RG.bumpVerticalPos(t.stopy-RG.getVerticalPos());break;case r.db.LINETYPE.OPT_START:UG(f,e,OG.boxMargin,OG.boxMargin+OG.boxTextMargin,(e=>RG.newLoop(e)));break;case r.db.LINETYPE.OPT_END:t=RG.endLoop(),NG.drawLoop(c,t,"opt",OG),RG.bumpVerticalPos(t.stopy-RG.getVerticalPos()),RG.models.addLoop(t);break;case r.db.LINETYPE.ALT_START:UG(f,e,OG.boxMargin,OG.boxMargin+OG.boxTextMargin,(e=>RG.newLoop(e)));break;case r.db.LINETYPE.ALT_ELSE:UG(f,e,OG.boxMargin+OG.boxTextMargin,OG.boxMargin,(e=>RG.addSectionToLoop(e)));break;case r.db.LINETYPE.ALT_END:t=RG.endLoop(),NG.drawLoop(c,t,"alt",OG),RG.bumpVerticalPos(t.stopy-RG.getVerticalPos()),RG.models.addLoop(t);break;case r.db.LINETYPE.PAR_START:UG(f,e,OG.boxMargin,OG.boxMargin+OG.boxTextMargin,(e=>RG.newLoop(e)));break;case r.db.LINETYPE.PAR_AND:UG(f,e,OG.boxMargin+OG.boxTextMargin,OG.boxMargin,(e=>RG.addSectionToLoop(e)));break;case r.db.LINETYPE.PAR_END:t=RG.endLoop(),NG.drawLoop(c,t,"par",OG),RG.bumpVerticalPos(t.stopy-RG.getVerticalPos()),RG.models.addLoop(t);break;case r.db.LINETYPE.AUTONUMBER:y=e.message.start||y,v=e.message.step||v,e.message.visible?r.db.enableSequenceNumbers():r.db.disableSequenceNumbers();break;case r.db.LINETYPE.CRITICAL_START:UG(f,e,OG.boxMargin,OG.boxMargin+OG.boxTextMargin,(e=>RG.newLoop(e)));break;case r.db.LINETYPE.CRITICAL_OPTION:UG(f,e,OG.boxMargin+OG.boxTextMargin,OG.boxMargin,(e=>RG.addSectionToLoop(e)));break;case r.db.LINETYPE.CRITICAL_END:t=RG.endLoop(),NG.drawLoop(c,t,"critical",OG),RG.bumpVerticalPos(t.stopy-RG.getVerticalPos()),RG.models.addLoop(t);break;case r.db.LINETYPE.BREAK_START:UG(f,e,OG.boxMargin,OG.boxMargin+OG.boxTextMargin,(e=>RG.newLoop(e)));break;case r.db.LINETYPE.BREAK_END:t=RG.endLoop(),NG.drawLoop(c,t,"break",OG),RG.bumpVerticalPos(t.stopy-RG.getVerticalPos()),RG.models.addLoop(t);break;default:try{i=e.msgModel,i.starty=RG.getVerticalPos(),i.sequenceIndex=y,i.sequenceVisible=r.db.showSequenceNumbers();const t=function(e,t){RG.bumpVerticalPos(10);const{startx:n,stopx:r,message:i}=t,a=BR.splitBreaks(i).length,o=QD.calculateTextDimensions(i,IG(OG)),s=o.height/a;let l;t.height+=s,RG.bumpVerticalPos(s);let c=o.height-10;const u=o.width;if(n===r){l=RG.getVerticalPos()+c,OG.rightAngles||(c+=OG.boxMargin,l=RG.getVerticalPos()+c),c+=30;const e=Math.max(u/2,OG.width/2);RG.insert(n-e,RG.getVerticalPos()-10+c,r+e,RG.getVerticalPos()+30+c)}else c+=OG.boxMargin,l=RG.getVerticalPos()+c,RG.insert(n,l-10,r,l);return RG.bumpVerticalPos(c),t.height+=c,t.stopy=t.starty+t.height,RG.insert(t.fromBounds,t.starty,t.toBounds,t.stopy),l}(0,i);E.push({messageModel:i,lineStartY:t}),RG.models.addMessage(i)}catch(fR){NR.error("error while drawing message",fR)}}[r.db.LINETYPE.SOLID_OPEN,r.db.LINETYPE.DOTTED_OPEN,r.db.LINETYPE.SOLID,r.db.LINETYPE.DOTTED,r.db.LINETYPE.SOLID_CROSS,r.db.LINETYPE.DOTTED_CROSS,r.db.LINETYPE.SOLID_POINT,r.db.LINETYPE.DOTTED_POINT].includes(e.type)&&(y+=v)})),E.forEach((e=>function(e,t,n,r){const{startx:i,stopx:a,starty:o,message:s,type:l,sequenceIndex:c,sequenceVisible:u}=t,d=QD.calculateTextDimensions(s,IG(OG)),h=NG.getTextObj();h.x=i,h.y=o+10,h.width=a-i,h.class="messageText",h.dy="1em",h.text=s,h.fontFamily=OG.messageFontFamily,h.fontSize=OG.messageFontSize,h.fontWeight=OG.messageFontWeight,h.anchor=OG.messageAlign,h.valign="center",h.textMargin=OG.wrapPadding,h.tspan=!1,vG(e,h);const p=d.width;let g;i===a?g=OG.rightAngles?e.append("path").attr("d",`M ${i},${n} H ${i+Math.max(OG.width/2,p/2)} V ${n+25} H ${i}`):e.append("path").attr("d","M "+i+","+n+" C "+(i+60)+","+(n-10)+" "+(i+60)+","+(n+30)+" "+i+","+(n+20)):(g=e.append("line"),g.attr("x1",i),g.attr("y1",n),g.attr("x2",a),g.attr("y2",n)),l===r.db.LINETYPE.DOTTED||l===r.db.LINETYPE.DOTTED_CROSS||l===r.db.LINETYPE.DOTTED_POINT||l===r.db.LINETYPE.DOTTED_OPEN?(g.style("stroke-dasharray","3, 3"),g.attr("class","messageLine1")):g.attr("class","messageLine0");let m="";OG.arrowMarkerAbsolute&&(m=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,m=m.replace(/\(/g,"\\("),m=m.replace(/\)/g,"\\)")),g.attr("stroke-width",2),g.attr("stroke","none"),g.style("fill","none"),l!==r.db.LINETYPE.SOLID&&l!==r.db.LINETYPE.DOTTED||g.attr("marker-end","url("+m+"#arrowhead)"),l!==r.db.LINETYPE.SOLID_POINT&&l!==r.db.LINETYPE.DOTTED_POINT||g.attr("marker-end","url("+m+"#filled-head)"),l!==r.db.LINETYPE.SOLID_CROSS&&l!==r.db.LINETYPE.DOTTED_CROSS||g.attr("marker-end","url("+m+"#crosshead)"),(u||OG.showSequenceNumbers)&&(g.attr("marker-start","url("+m+"#sequencenumber)"),e.append("text").attr("x",i).attr("y",n+4).attr("font-family","sans-serif").attr("font-size","12px").attr("text-anchor","middle").attr("class","sequenceNumber").text(c))}(c,e.messageModel,e.lineStartY,r))),OG.mirrorActors&&(RG.bumpVerticalPos(2*OG.boxMargin),LG(c,u,h,RG.getVerticalPos(),OG,p,!0),RG.bumpVerticalPos(OG.boxMargin),TG(c,RG.getVerticalPos())),RG.models.boxes.forEach((function(e){e.height=RG.getVerticalPos()-e.y,RG.insert(e.x,e.y,e.x+e.width,e.height),e.startx=e.x,e.starty=e.y,e.stopx=e.startx+e.width,e.stopy=e.starty+e.height,e.stroke="rgb(0,0,0, 0.5)",NG.drawBox(c,e,OG)})),m&&RG.bumpVerticalPos(OG.boxMargin);const S=PG(c,u,h,l),{bounds:T}=RG.getBounds();NR.debug("For line height fix Querying: #"+t+" .actor-line");A_("#"+t+" .actor-line").attr("y2",T.stopy);let C=T.stopy-T.starty;C<S.maxHeight&&(C=S.maxHeight);let x=C+2*OG.diagramMarginY;OG.mirrorActors&&(x=x-OG.boxMargin+OG.bottomMarginAdj);let k=T.stopx-T.startx;k<S.maxWidth&&(k=S.maxWidth);const A=k+2*OG.diagramMarginX;g&&c.append("text").text(g).attr("x",(T.stopx-T.startx)/2-2*OG.diagramMarginX).attr("y",-25),hM(c,x,A,OG.useMaxWidth);const w=g?40:0;c.attr("viewBox",T.startx-OG.diagramMarginX+" -"+(OG.diagramMarginY+w)+" "+A+" "+(x+w)),NR.debug("models:",RG.models)}};var YG=function(){var e=function(e,t,n,r){for(n=n||{},r=e.length;r--;n[e[r]]=t);return n},t=[1,2],n=[1,3],r=[1,5],i=[1,7],a=[2,5],o=[1,15],s=[1,17],l=[1,21],c=[1,22],u=[1,23],d=[1,24],h=[1,37],p=[1,25],g=[1,26],m=[1,27],_=[1,28],b=[1,29],f=[1,32],y=[1,33],v=[1,34],E=[1,35],S=[1,36],T=[1,39],C=[1,40],x=[1,41],k=[1,42],A=[1,38],w=[1,45],N=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],O=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],R=[1,4,5,7,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],I=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],D={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,directive:6,SD:7,document:8,line:9,statement:10,classDefStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"--\x3e":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,classDef:38,CLASSDEF_ID:39,CLASSDEF_STYLEOPTS:40,DEFAULT:41,class:42,CLASSENTITY_IDS:43,STYLECLASS:44,openDirective:45,typeDirective:46,closeDirective:47,":":48,argDirective:49,direction_tb:50,direction_bt:51,direction_rl:52,direction_lr:53,eol:54,";":55,EDGE_STATE:56,STYLE_SEPARATOR:57,left_of:58,right_of:59,open_directive:60,type_directive:61,arg_directive:62,close_directive:63,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",7:"SD",14:"DESCR",15:"--\x3e",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"classDef",39:"CLASSDEF_ID",40:"CLASSDEF_STYLEOPTS",41:"DEFAULT",42:"class",43:"CLASSENTITY_IDS",44:"STYLECLASS",48:":",50:"direction_tb",51:"direction_bt",52:"direction_rl",53:"direction_lr",55:";",56:"EDGE_STATE",57:"STYLE_SEPARATOR",58:"left_of",59:"right_of",60:"open_directive",61:"type_directive",62:"arg_directive",63:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,2],[8,0],[8,2],[9,2],[9,1],[9,1],[10,1],[10,1],[10,1],[10,2],[10,3],[10,4],[10,1],[10,2],[10,1],[10,4],[10,3],[10,6],[10,1],[10,1],[10,1],[10,1],[10,4],[10,4],[10,1],[10,1],[10,2],[10,2],[10,1],[11,3],[11,3],[12,3],[6,3],[6,5],[32,1],[32,1],[32,1],[32,1],[54,1],[54,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1],[45,1],[46,1],[49,1],[47,1]],performAction:function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 4:return r.setRootDoc(a[s]),a[s];case 5:this.$=[];break;case 6:"nl"!=a[s]&&(a[s-1].push(a[s]),this.$=a[s-1]);break;case 7:case 8:case 12:this.$=a[s];break;case 9:this.$="nl";break;case 13:const e=a[s-1];e.description=r.trimColon(a[s]),this.$=e;break;case 14:this.$={stmt:"relation",state1:a[s-2],state2:a[s]};break;case 15:const t=r.trimColon(a[s]);this.$={stmt:"relation",state1:a[s-3],state2:a[s-1],description:t};break;case 19:this.$={stmt:"state",id:a[s-3],type:"default",description:"",doc:a[s-1]};break;case 20:var l=a[s],c=a[s-2].trim();if(a[s].match(":")){var u=a[s].split(":");l=u[0],c=[c,u[1]]}this.$={stmt:"state",id:l,type:"default",description:c};break;case 21:this.$={stmt:"state",id:a[s-3],type:"default",description:a[s-5],doc:a[s-1]};break;case 22:this.$={stmt:"state",id:a[s],type:"fork"};break;case 23:this.$={stmt:"state",id:a[s],type:"join"};break;case 24:this.$={stmt:"state",id:a[s],type:"choice"};break;case 25:this.$={stmt:"state",id:r.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:a[s-1].trim(),note:{position:a[s-2].trim(),text:a[s].trim()}};break;case 30:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 31:case 32:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 33:case 34:this.$={stmt:"classDef",id:a[s-1].trim(),classes:a[s].trim()};break;case 35:this.$={stmt:"applyClass",id:a[s-1].trim(),styleClass:a[s].trim()};break;case 38:r.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:r.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:r.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:r.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:a[s].trim(),type:"default",description:""};break;case 46:case 47:this.$={stmt:"state",id:a[s-2].trim(),classes:[a[s].trim()],type:"default",description:""};break;case 50:r.parseDirective("%%{","open_directive");break;case 51:r.parseDirective(a[s],"type_directive");break;case 52:a[s]=a[s].trim().replace(/'/g,'"'),r.parseDirective(a[s],"arg_directive");break;case 53:r.parseDirective("}%%","close_directive","state")}},table:[{3:1,4:t,5:n,6:4,7:r,45:6,60:i},{1:[3]},{3:8,4:t,5:n,6:4,7:r,45:6,60:i},{3:9,4:t,5:n,6:4,7:r,45:6,60:i},{3:10,4:t,5:n,6:4,7:r,45:6,60:i},e([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],a,{8:11}),{46:12,61:[1,13]},{61:[2,50]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{1:[2,4],4:o,5:s,6:30,9:14,10:16,11:18,12:19,13:20,16:l,17:c,19:u,22:d,24:h,25:p,26:g,27:m,28:_,29:b,32:31,33:f,35:y,37:v,38:E,42:S,45:6,50:T,51:C,52:x,53:k,56:A,60:i},{47:43,48:[1,44],63:w},e([48,63],[2,51]),e(N,[2,6]),{6:30,10:46,11:18,12:19,13:20,16:l,17:c,19:u,22:d,24:h,25:p,26:g,27:m,28:_,29:b,32:31,33:f,35:y,37:v,38:E,42:S,45:6,50:T,51:C,52:x,53:k,56:A,60:i},e(N,[2,8]),e(N,[2,9]),e(N,[2,10]),e(N,[2,11]),e(N,[2,12],{14:[1,47],15:[1,48]}),e(N,[2,16]),{18:[1,49]},e(N,[2,18],{20:[1,50]}),{23:[1,51]},e(N,[2,22]),e(N,[2,23]),e(N,[2,24]),e(N,[2,25]),{30:52,31:[1,53],58:[1,54],59:[1,55]},e(N,[2,28]),e(N,[2,29]),{34:[1,56]},{36:[1,57]},e(N,[2,32]),{39:[1,58],41:[1,59]},{43:[1,60]},e(O,[2,44],{57:[1,61]}),e(O,[2,45],{57:[1,62]}),e(N,[2,38]),e(N,[2,39]),e(N,[2,40]),e(N,[2,41]),e(R,[2,36]),{49:63,62:[1,64]},e(R,[2,53]),e(N,[2,7]),e(N,[2,13]),{13:65,24:h,56:A},e(N,[2,17]),e(I,a,{8:66}),{24:[1,67]},{24:[1,68]},{23:[1,69]},{24:[2,48]},{24:[2,49]},e(N,[2,30]),e(N,[2,31]),{40:[1,70]},{40:[1,71]},{44:[1,72]},{24:[1,73]},{24:[1,74]},{47:75,63:w},{63:[2,52]},e(N,[2,14],{14:[1,76]}),{4:o,5:s,6:30,9:14,10:16,11:18,12:19,13:20,16:l,17:c,19:u,21:[1,77],22:d,24:h,25:p,26:g,27:m,28:_,29:b,32:31,33:f,35:y,37:v,38:E,42:S,45:6,50:T,51:C,52:x,53:k,56:A,60:i},e(N,[2,20],{20:[1,78]}),{31:[1,79]},{24:[1,80]},e(N,[2,33]),e(N,[2,34]),e(N,[2,35]),e(O,[2,46]),e(O,[2,47]),e(R,[2,37]),e(N,[2,15]),e(N,[2,19]),e(I,a,{8:81}),e(N,[2,26]),e(N,[2,27]),{4:o,5:s,6:30,9:14,10:16,11:18,12:19,13:20,16:l,17:c,19:u,21:[1,82],22:d,24:h,25:p,26:g,27:m,28:_,29:b,32:31,33:f,35:y,37:v,38:E,42:S,45:6,50:T,51:C,52:x,53:k,56:A,60:i},e(N,[2,21])],defaultActions:{7:[2,50],8:[2,1],9:[2,2],10:[2,3],54:[2,48],55:[2,49],64:[2,52]},parseError:function(e,t){if(!t.recoverable){var n=new Error(e);throw n.hash=t,n}this.trace(e)},parse:function(e){var t=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",l=0,c=0,u=a.slice.call(arguments,1),d=Object.create(this.lexer),h={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(h.yy[p]=this.yy[p]);d.setInput(e,h.yy),h.yy.lexer=d,h.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var g=d.yylloc;a.push(g);var m=d.options&&d.options.ranges;"function"==typeof h.yy.parseError?this.parseError=h.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var _,b,f,y,v,E,S,T,C,x={};;){if(b=n[n.length-1],this.defaultActions[b]?f=this.defaultActions[b]:(null==_&&(C=void 0,"number"!=typeof(C=r.pop()||d.lex()||1)&&(C instanceof Array&&(C=(r=C).pop()),C=t.symbols_[C]||C),_=C),f=o[b]&&o[b][_]),void 0===f||!f.length||!f[0]){var k="";for(v in T=[],o[b])this.terminals_[v]&&v>2&&T.push("'"+this.terminals_[v]+"'");k=d.showPosition?"Parse error on line "+(l+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==_?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(k,{text:d.match,token:this.terminals_[_]||_,line:d.yylineno,loc:g,expected:T})}if(f[0]instanceof Array&&f.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+_);switch(f[0]){case 1:n.push(_),i.push(d.yytext),a.push(d.yylloc),n.push(f[1]),_=null,c=d.yyleng,s=d.yytext,l=d.yylineno,g=d.yylloc;break;case 2:if(E=this.productions_[f[1]][1],x.$=i[i.length-E],x._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},m&&(x._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),void 0!==(y=this.performAction.apply(x,[s,c,l,h.yy,f[1],i,a].concat(u))))return y;E&&(n=n.slice(0,-1*E*2),i=i.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[f[1]][0]),i.push(x.$),a.push(x._$),S=o[n[n.length-2]][n[n.length-1]],n.push(S);break;case 3:return!0}}return!0}},M=function(){var e={EOF:1,parseError:function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)}, +// resets the lexer, sets new input +setInput:function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this}, +// consumes and returns one char from the input +input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e}, +// unshifts one char (or a string) into the input +unput:function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this}, +// When called from action, caches matched text and appends it on next action +more:function(){return this._more=!0,this}, +// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead. +reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})}, +// retain first n characters of the match +less:function(e){this.unput(this.match.slice(e))}, +// displays already matched input, i.e. for error messages +pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")}, +// displays upcoming input, i.e. for error messages +upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")}, +// displays the character position where the lexing error occurred, i.e. for error messages +showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"}, +// test the lexed token: return FALSE when not a match, otherwise return token +test_match:function(e,t){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1}, +// return next match in input +next:function(){if(this.done)return this.EOF;var e,t,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!t||n[0].length>t[0].length)){if(t=n,r=a,this.options.backtrack_lexer){if(!1!==(e=this.test_match(n,i[a])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,i[r]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})}, +// return next match that has a token +lex:function(){var e=this.next();return e||this.lex()}, +// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack) +begin:function(e){this.conditionStack.push(e)}, +// pop the previously active lexer condition state off the condition stack +popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]}, +// produce the lexer rule set which is active for the currently active lexer condition state +_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules}, +// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available +topState:function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"}, +// alias for begin(condition) +pushState:function(e){this.begin(e)}, +// return the number of states currently on the stack +stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(e,t,n,r){switch(n){case 0:return 41;case 1:case 44:return 50;case 2:case 45:return 51;case 3:case 46:return 52;case 4:case 47:return 53;case 5:return this.begin("open_directive"),60;case 6:return this.begin("type_directive"),61;case 7:return this.popState(),this.begin("arg_directive"),48;case 8:return this.popState(),this.popState(),63;case 9:return 62;case 10:case 11:case 13:case 14:case 15:case 16:case 56:case 58:case 64:break;case 12:case 79:return 5;case 17:case 34:return this.pushState("SCALE"),17;case 18:case 35:return 18;case 19:case 25:case 36:case 51:case 54:this.popState();break;case 20:return this.begin("acc_title"),33;case 21:return this.popState(),"acc_title_value";case 22:return this.begin("acc_descr"),35;case 23:return this.popState(),"acc_descr_value";case 24:this.begin("acc_descr_multiline");break;case 26:return"acc_descr_multiline_value";case 27:return this.pushState("CLASSDEF"),38;case 28:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";case 29:return this.popState(),this.pushState("CLASSDEFID"),39;case 30:return this.popState(),40;case 31:return this.pushState("CLASS"),42;case 32:return this.popState(),this.pushState("CLASS_STYLE"),43;case 33:return this.popState(),44;case 37:this.pushState("STATE");break;case 38:case 41:return this.popState(),t.yytext=t.yytext.slice(0,-8).trim(),25;case 39:case 42:return this.popState(),t.yytext=t.yytext.slice(0,-8).trim(),26;case 40:case 43:return this.popState(),t.yytext=t.yytext.slice(0,-10).trim(),27;case 48:this.pushState("STATE_STRING");break;case 49:return this.pushState("STATE_ID"),"AS";case 50:case 66:return this.popState(),"ID";case 52:return"STATE_DESCR";case 53:return 19;case 55:return this.popState(),this.pushState("struct"),20;case 57:return this.popState(),21;case 59:return this.begin("NOTE"),29;case 60:return this.popState(),this.pushState("NOTE_ID"),58;case 61:return this.popState(),this.pushState("NOTE_ID"),59;case 62:this.popState(),this.pushState("FLOATING_NOTE");break;case 63:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";case 65:return"NOTE_TEXT";case 67:return this.popState(),this.pushState("NOTE_TEXT"),24;case 68:return this.popState(),t.yytext=t.yytext.substr(2).trim(),31;case 69:return this.popState(),t.yytext=t.yytext.slice(0,-8).trim(),31;case 70:case 71:return 7;case 72:return 16;case 73:return 56;case 74:return 24;case 75:return t.yytext=t.yytext.trim(),14;case 76:return 15;case 77:return 28;case 78:return 57;case 80:return"INVALID"}},rules:[/^(?:default\b)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:classDef\s+)/i,/^(?:DEFAULT\s+)/i,/^(?:\w+\s+)/i,/^(?:[^\n]*)/i,/^(?:class\s+)/i,/^(?:(\w+)+((,\s*\w+)*))/i,/^(?:[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:state\s+)/i,/^(?:.*<<fork>>)/i,/^(?:.*<<join>>)/i,/^(?:.*<<choice>>)/i,/^(?:.*\[\[fork\]\])/i,/^(?:.*\[\[join\]\])/i,/^(?:.*\[\[choice\]\])/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:["])/i,/^(?:\s*as\s+)/i,/^(?:[^\n\{]*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n\s\{]+)/i,/^(?:\n)/i,/^(?:\{)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:\})/i,/^(?:[\n])/i,/^(?:note\s+)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:")/i,/^(?:\s*as\s*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n]*)/i,/^(?:\s*[^:\n\s\-]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:[\s\S]*?end note\b)/i,/^(?:stateDiagram\s+)/i,/^(?:stateDiagram-v2\s+)/i,/^(?:hide empty description\b)/i,/^(?:\[\*\])/i,/^(?:[^:\n\s\-\{]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:-->)/i,/^(?:--)/i,/^(?::::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{LINE:{rules:[14,15],inclusive:!1},close_directive:{rules:[14,15],inclusive:!1},arg_directive:{rules:[8,9,14,15],inclusive:!1},type_directive:{rules:[7,8,14,15],inclusive:!1},open_directive:{rules:[6,14,15],inclusive:!1},struct:{rules:[14,15,27,31,37,44,45,46,47,56,57,58,59,73,74,75,76,77],inclusive:!1},FLOATING_NOTE_ID:{rules:[66],inclusive:!1},FLOATING_NOTE:{rules:[63,64,65],inclusive:!1},NOTE_TEXT:{rules:[68,69],inclusive:!1},NOTE_ID:{rules:[67],inclusive:!1},NOTE:{rules:[60,61,62],inclusive:!1},CLASS_STYLE:{rules:[33],inclusive:!1},CLASS:{rules:[32],inclusive:!1},CLASSDEFID:{rules:[30],inclusive:!1},CLASSDEF:{rules:[28,29],inclusive:!1},acc_descr_multiline:{rules:[25,26],inclusive:!1},acc_descr:{rules:[23],inclusive:!1},acc_title:{rules:[21],inclusive:!1},SCALE:{rules:[18,19,35,36],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[50],inclusive:!1},STATE_STRING:{rules:[51,52],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[14,15,38,39,40,41,42,43,48,49,53,54,55],inclusive:!1},ID:{rules:[14,15],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,10,11,12,13,15,16,17,20,22,24,27,31,34,37,55,59,70,71,72,73,74,75,76,78,79,80],inclusive:!0}}};return e}();function L(){this.yy={}}return D.lexer=M,L.prototype=D,D.Parser=L,new L}();YG.parser=YG;const qG=YG,HG=(e,t)=>{var n;return"dagre-wrapper"!==(null==(n=null==t?void 0:t.state)?void 0:n.defaultRenderer)&&null!==e.match(/^\s*stateDiagram/)},VG=(e,t)=>{var n;return null!==e.match(/^\s*stateDiagram-v2/)||!(!e.match(/^\s*stateDiagram/)||"dagre-wrapper"!==(null==(n=null==t?void 0:t.state)?void 0:n.defaultRenderer))},WG="state",QG="relation",KG="default",XG="divider",ZG="[*]",JG="start",ez=ZG,tz="color",nz="fill";let rz="LR",iz=[],az={};let oz={root:{relations:[],states:{},documents:{}}},sz=oz.root,lz=0,cz=0;const uz=e=>JSON.parse(JSON.stringify(e)),dz=(e,t,n)=>{if(t.stmt===QG)dz(e,t.state1,!0),dz(e,t.state2,!1);else if(t.stmt===WG&&("[*]"===t.id?(t.id=n?e.id+"_start":e.id+"_end",t.start=n):t.id=t.id.trim()),t.doc){const e=[];let n,r=[];for(n=0;n<t.doc.length;n++)if(t.doc[n].type===XG){const i=uz(t.doc[n]);i.doc=uz(r),e.push(i),r=[]}else r.push(t.doc[n]);if(e.length>0&&r.length>0){const n={stmt:WG,id:PD(),type:"divider",doc:uz(r)};e.push(uz(n)),t.doc=e}t.doc.forEach((e=>dz(t,e,!0)))}},hz=function(e,t=KG,n=null,r=null,i=null,a=null,o=null,s=null){const l=null==e?void 0:e.trim();if(void 0===sz.states[l]?(NR.info("Adding state ",l,r),sz.states[l]={id:l,descriptions:[],type:t,doc:n,note:i,classes:[],styles:[],textStyles:[]}):(sz.states[l].doc||(sz.states[l].doc=n),sz.states[l].type||(sz.states[l].type=t)),r&&(NR.info("Setting state description",l,r),"string"==typeof r&&fz(l,r.trim()),"object"==typeof r&&r.forEach((e=>fz(l,e.trim())))),i&&(sz.states[l].note=i,sz.states[l].note.text=BR.sanitizeText(sz.states[l].note.text,aM())),a){NR.info("Setting state classes",l,a);("string"==typeof a?[a]:a).forEach((e=>vz(l,e.trim())))}if(o){NR.info("Setting state styles",l,o);("string"==typeof o?[o]:o).forEach((e=>Ez(l,e.trim())))}if(s){NR.info("Setting state styles",l,o);("string"==typeof s?[s]:s).forEach((e=>Sz(l,e.trim())))}},pz=function(e){oz={root:{relations:[],states:{},documents:{}}},sz=oz.root,lz=0,az={},e||IM()},gz=function(e){return sz.states[e]};function mz(e=""){let t=e;return e===ZG&&(lz++,t=`${JG}${lz}`),t}function _z(e="",t=KG){return e===ZG?JG:t}const bz=function(e,t,n){if("object"==typeof e)!function(e,t,n){let r=mz(e.id.trim()),i=_z(e.id.trim(),e.type),a=mz(t.id.trim()),o=_z(t.id.trim(),t.type);hz(r,i,e.doc,e.description,e.note,e.classes,e.styles,e.textStyles),hz(a,o,t.doc,t.description,t.note,t.classes,t.styles,t.textStyles),sz.relations.push({id1:r,id2:a,relationTitle:BR.sanitizeText(n,aM())})}(e,t,n);else{const r=mz(e.trim()),i=_z(e),a=function(e=""){let t=e;return e===ez&&(lz++,t=`end${lz}`),t}(t.trim()),o=function(e="",t=KG){return e===ez?"end":t}(t);hz(r,i),hz(a,o),sz.relations.push({id1:r,id2:a,title:BR.sanitizeText(n,aM())})}},fz=function(e,t){const n=sz.states[e],r=t.startsWith(":")?t.replace(":","").trim():t;n.descriptions.push(BR.sanitizeText(r,aM()))},yz=function(e,t=""){void 0===az[e]&&(az[e]={id:e,styles:[],textStyles:[]});const n=az[e];null!=t&&t.split(",").forEach((e=>{const t=e.replace(/([^;]*);/,"$1").trim();if(e.match(tz)){const e=t.replace(nz,"bgFill").replace(tz,nz);n.textStyles.push(e)}n.styles.push(t)}))},vz=function(e,t){e.split(",").forEach((function(e){let n=gz(e);if(void 0===n){const t=e.trim();hz(t),n=gz(t)}n.classes.push(t)}))},Ez=function(e,t){const n=gz(e);void 0!==n&&n.textStyles.push(t)},Sz=function(e,t){const n=gz(e);void 0!==n&&n.textStyles.push(t)},Tz={parseDirective:function(e,t,n){cY.parseDirective(this,e,t,n)},getConfig:()=>aM().state,addState:hz,clear:pz,getState:gz,getStates:function(){return sz.states},getRelations:function(){return sz.relations},getClasses:function(){return az},getDirection:()=>rz,addRelation:bz,getDividerId:()=>(cz++,"divider-id-"+cz),setDirection:e=>{rz=e},cleanupLabel:function(e){return":"===e.substring(0,1)?e.substr(2).trim():e.trim()},lineType:{LINE:0,DOTTED_LINE:1},relationType:{AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3},logDocuments:function(){NR.info("Documents = ",oz)},getRootDoc:()=>iz,setRootDoc:e=>{NR.info("Setting root doc",e),iz=e},getRootDocV2:()=>(dz({id:"root"},{id:"root",doc:iz},!0),{id:"root",doc:iz}),extract:e=>{let t;t=e.doc?e.doc:e,NR.info(t),pz(!0),NR.info("Extract",t),t.forEach((e=>{switch(e.stmt){case WG:hz(e.id.trim(),e.type,e.doc,e.description,e.note,e.classes,e.styles,e.textStyles);break;case QG:bz(e.state1,e.state2,e.description);break;case"classDef":yz(e.id.trim(),e.classes);break;case"applyClass":vz(e.id.trim(),e.styleClass)}}))},trimColon:e=>e&&":"===e[0]?e.substr(1).trim():e.trim(),getAccTitle:MM,setAccTitle:DM,getAccDescription:PM,setAccDescription:LM,addStyleClass:yz,setCssClass:vz,addDescription:fz,setDiagramTitle:jM,getDiagramTitle:FM},Cz=(e,t)=>{const n=e.append("text").attr("x",2*aM().state.padding).attr("y",aM().state.textHeight+1.3*aM().state.padding).attr("font-size",aM().state.fontSize).attr("class","state-title").text(t.descriptions[0]).node().getBBox(),r=n.height,i=e.append("text").attr("x",aM().state.padding).attr("y",r+.4*aM().state.padding+aM().state.dividerMargin+aM().state.textHeight).attr("class","state-description");let a=!0,o=!0;t.descriptions.forEach((function(e){a||(!function(e,t,n){const r=e.append("tspan").attr("x",2*aM().state.padding).text(t);n||r.attr("dy",aM().state.textHeight)}(i,e,o),o=!1),a=!1}));const s=e.append("line").attr("x1",aM().state.padding).attr("y1",aM().state.padding+r+aM().state.dividerMargin/2).attr("y2",aM().state.padding+r+aM().state.dividerMargin/2).attr("class","descr-divider"),l=i.node().getBBox(),c=Math.max(l.width,n.width);return s.attr("x2",c+3*aM().state.padding),e.insert("rect",":first-child").attr("x",aM().state.padding).attr("y",aM().state.padding).attr("width",c+2*aM().state.padding).attr("height",l.height+r+2*aM().state.padding).attr("rx",aM().state.radius),e},xz=(e,t,n)=>{const r=aM().state.padding,i=2*aM().state.padding,a=e.node().getBBox(),o=a.width,s=a.x,l=e.append("text").attr("x",0).attr("y",aM().state.titleShift).attr("font-size",aM().state.fontSize).attr("class","state-title").text(t.id),c=l.node().getBBox().width+i;let u,d=Math.max(c,o);d===o&&(d+=i);const h=e.node().getBBox();t.doc,u=s-r,c>o&&(u=(o-d)/2+r),Math.abs(s-h.x)<r&&c>o&&(u=s-(c-o)/2);const p=1-aM().state.textHeight;return e.insert("rect",":first-child").attr("x",u).attr("y",p).attr("class",n?"alt-composit":"composit").attr("width",d).attr("height",h.height+aM().state.textHeight+aM().state.titleShift+1).attr("rx","0"),l.attr("x",u+r),c<=o&&l.attr("x",s+(d-i)/2-c/2+r),e.insert("rect",":first-child").attr("x",u).attr("y",aM().state.titleShift-aM().state.textHeight-aM().state.padding).attr("width",d).attr("height",3*aM().state.textHeight).attr("rx",aM().state.radius),e.insert("rect",":first-child").attr("x",u).attr("y",aM().state.titleShift-aM().state.textHeight-aM().state.padding).attr("width",d).attr("height",h.height+3+2*aM().state.textHeight).attr("rx",aM().state.radius),e},kz=(e,t)=>{t.attr("class","state-note");const n=t.append("rect").attr("x",0).attr("y",aM().state.padding),r=t.append("g"),{textWidth:i,textHeight:a}=((e,t,n,r)=>{let i=0;const a=r.append("text");a.style("text-anchor","start"),a.attr("class","noteText");let o=e.replace(/\r\n/g,"<br/>");o=o.replace(/\n/g,"<br/>");const s=o.split(BR.lineBreakRegex);let l=1.25*aM().state.noteMargin;for(const c of s){const e=c.trim();if(e.length>0){const r=a.append("tspan");r.text(e),0===l&&(l+=r.node().getBBox().height),i+=l,r.attr("x",t+aM().state.noteMargin),r.attr("y",n+i+1.25*aM().state.noteMargin)}}return{textWidth:a.node().getBBox().width,textHeight:i}})(e,0,0,r);return n.attr("height",a+2*aM().state.noteMargin),n.attr("width",i+2*aM().state.noteMargin),n},Az=function(e,t){const n=t.id,r={id:n,label:t.id,width:0,height:0},i=e.append("g").attr("id",n).attr("class","stateGroup");"start"===t.type&&(e=>{e.append("circle").attr("class","start-state").attr("r",aM().state.sizeUnit).attr("cx",aM().state.padding+aM().state.sizeUnit).attr("cy",aM().state.padding+aM().state.sizeUnit)})(i),"end"===t.type&&(e=>{e.append("circle").attr("class","end-state-outer").attr("r",aM().state.sizeUnit+aM().state.miniPadding).attr("cx",aM().state.padding+aM().state.sizeUnit+aM().state.miniPadding).attr("cy",aM().state.padding+aM().state.sizeUnit+aM().state.miniPadding),e.append("circle").attr("class","end-state-inner").attr("r",aM().state.sizeUnit).attr("cx",aM().state.padding+aM().state.sizeUnit+2).attr("cy",aM().state.padding+aM().state.sizeUnit+2)})(i),"fork"!==t.type&&"join"!==t.type||((e,t)=>{let n=aM().state.forkWidth,r=aM().state.forkHeight;if(t.parentId){let e=n;n=r,r=e}e.append("rect").style("stroke","black").style("fill","black").attr("width",n).attr("height",r).attr("x",aM().state.padding).attr("y",aM().state.padding)})(i,t),"note"===t.type&&kz(t.note.text,i),"divider"===t.type&&(e=>{e.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",aM().state.textHeight).attr("class","divider").attr("x2",2*aM().state.textHeight).attr("y1",0).attr("y2",0)})(i),"default"===t.type&&0===t.descriptions.length&&((e,t)=>{const n=e.append("text").attr("x",2*aM().state.padding).attr("y",aM().state.textHeight+2*aM().state.padding).attr("font-size",aM().state.fontSize).attr("class","state-title").text(t.id),r=n.node().getBBox();e.insert("rect",":first-child").attr("x",aM().state.padding).attr("y",aM().state.padding).attr("width",r.width+2*aM().state.padding).attr("height",r.height+2*aM().state.padding).attr("rx",aM().state.radius)})(i,t),"default"===t.type&&t.descriptions.length>0&&Cz(i,t);const a=i.node().getBBox();return r.width=a.width+2*aM().state.padding,r.height=a.height+2*aM().state.padding,r};let wz=0;let Nz;const Oz={},Rz=(e,t,n,r,i,a,o)=>{const s=new LN({compound:!0,multigraph:!0});let l,c=!0;for(l=0;l<e.length;l++)if("relation"===e[l].stmt){c=!1;break}n?s.setGraph({rankdir:"LR",multigraph:!0,compound:!0, +// acyclicer: 'greedy', +ranker:"tight-tree",ranksep:c?1:Nz.edgeLengthFactor,nodeSep:c?1:50,isMultiGraph:!0}):s.setGraph({rankdir:"TB",multigraph:!0,compound:!0, +// isCompound: true, +// acyclicer: 'greedy', +// ranker: 'longest-path' +ranksep:c?1:Nz.edgeLengthFactor,nodeSep:c?1:50,ranker:"tight-tree", +// ranker: 'network-simplex' +isMultiGraph:!0}),s.setDefaultEdgeLabel((function(){return{}})),o.db.extract(e);const u=o.db.getStates(),d=o.db.getRelations(),h=Object.keys(u);for(const b of h){const e=u[b];let l;if(n&&(e.parentId=n),e.doc){let n=t.append("g").attr("id",e.id).attr("class","stateGroup");l=Rz(e.doc,n,e.id,!r,i,a,o);{n=xz(n,e,r);let t=n.node().getBBox();l.width=t.width,l.height=t.height+Nz.padding/2,Oz[e.id]={y:Nz.compositTitleSize}}}else l=Az(t,e);if(e.note){const n={descriptions:[],id:e.id+"-note",note:e.note,type:"note"},r=Az(t,n);"left of"===e.note.position?(s.setNode(l.id+"-note",r),s.setNode(l.id,l)):(s.setNode(l.id,l),s.setNode(l.id+"-note",r)),s.setParent(l.id,l.id+"-group"),s.setParent(l.id+"-note",l.id+"-group")}else s.setNode(l.id,l)}NR.debug("Count=",s.nodeCount(),s);let p=0;d.forEach((function(e){var t;p++,NR.debug("Setting edge",e),s.setEdge(e.id1,e.id2,{relation:e,width:(t=e.title,t?t.length*Nz.fontSizeFactor:1),height:Nz.labelHeight*BR.getRows(e.title).length,labelpos:"c"},"id"+p)})),WO(s),NR.debug("Graph after layout",s.nodes());const g=t.node();s.nodes().forEach((function(e){if(void 0!==e&&void 0!==s.node(e)){NR.warn("Node "+e+": "+JSON.stringify(s.node(e))),i.select("#"+g.id+" #"+e).attr("transform","translate("+(s.node(e).x-s.node(e).width/2)+","+(s.node(e).y+(Oz[e]?Oz[e].y:0)-s.node(e).height/2)+" )"),i.select("#"+g.id+" #"+e).attr("data-x-shift",s.node(e).x-s.node(e).width/2);a.querySelectorAll("#"+g.id+" #"+e+" .divider").forEach((e=>{const t=e.parentElement;let n=0,r=0;t&&(t.parentElement&&(n=t.parentElement.getBBox().width),r=parseInt(t.getAttribute("data-x-shift"),10),Number.isNaN(r)&&(r=0)),e.setAttribute("x1",0-r+8),e.setAttribute("x2",n-r-8)}))}else NR.debug("No Node "+e+": "+JSON.stringify(s.node(e)))}));let m=g.getBBox();s.edges().forEach((function(e){void 0!==e&&void 0!==s.edge(e)&&(NR.debug("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(s.edge(e))),function(e,t,n){t.points=t.points.filter((e=>!Number.isNaN(e.y)));const r=t.points,i=lS().x((function(e){return e.x})).y((function(e){return e.y})).curve(mS),a=e.append("path").attr("d",i(r)).attr("id","edge"+wz).attr("class","transition");let o="";if(aM().state.arrowMarkerAbsolute&&(o=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,o=o.replace(/\(/g,"\\("),o=o.replace(/\)/g,"\\)")),a.attr("marker-end","url("+o+"#"+function(){switch(Tz.relationType.DEPENDENCY){case Tz.relationType.AGGREGATION:return"aggregation";case Tz.relationType.EXTENSION:return"extension";case Tz.relationType.COMPOSITION:return"composition";case Tz.relationType.DEPENDENCY:return"dependency"}}()+"End)"),void 0!==n.title){const r=e.append("g").attr("class","stateLabel"),{x:i,y:a}=QD.calcLabelPosition(t.points),o=BR.getRows(n.title);let s=0;const l=[];let c=0,u=0;for(let e=0;e<=o.length;e++){const t=r.append("text").attr("text-anchor","middle").text(o[e]).attr("x",i).attr("y",a+s),n=t.node().getBBox();if(c=Math.max(c,n.width),u=Math.min(u,n.x),NR.info(n.x,i,a+s),0===s){const e=t.node().getBBox();s=e.height,NR.info("Title height",s,a)}l.push(t)}let d=s*o.length;if(o.length>1){const e=(o.length-1)*s*.5;l.forEach(((t,n)=>t.attr("y",a+n*s-e))),d=s*o.length}const h=r.node().getBBox();r.insert("rect",":first-child").attr("class","box").attr("x",i-c/2-aM().state.padding/2).attr("y",a-d/2-aM().state.padding/2-3.5).attr("width",c+aM().state.padding).attr("height",d+aM().state.padding),NR.info(h)}wz++}(t,s.edge(e),s.edge(e).relation))})),m=g.getBBox();const _={id:n||"root",label:n||"root",width:0,height:0};return _.width=m.width+2*Nz.padding,_.height=m.height+2*Nz.padding,NR.debug("Doc rendered",_,s),_},Iz={setConf:function(){},draw:function(e,t,n,r){Nz=aM().state;const i=aM().securityLevel;let a;"sandbox"===i&&(a=k_("#i"+t));const o=k_("sandbox"===i?a.nodes()[0].contentDocument.body:"body"),s="sandbox"===i?a.nodes()[0].contentDocument:document;NR.debug("Rendering diagram "+e);const l=o.select(`[id='${t}']`);l.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z");new LN({multigraph:!0,compound:!0, +// acyclicer: 'greedy', +rankdir:"RL"}).setDefaultEdgeLabel((function(){return{}}));const c=r.db.getRootDoc();Rz(c,l,void 0,!1,o,s,r);const u=Nz.padding,d=l.node().getBBox(),h=d.width+2*u,p=d.height+2*u;hM(l,p,1.75*h,Nz.useMaxWidth),l.attr("viewBox",`${d.x-Nz.padding} ${d.y-Nz.padding} `+h+" "+p)}},Dz="rect",Mz="rectWithTitle",Lz="statediagram",Pz=`${Lz}-state`,jz="transition",Fz=`${jz} note-edge`,Bz=`${Lz}-note`,Uz=`${Lz}-cluster`,Gz=`${Lz}-cluster-alt`,zz="parent",$z="note",Yz="----",qz=`${Yz}${$z}`,Hz=`${Yz}${zz}`,Vz="fill:none",Wz="fill: #333",Qz="text",Kz="normal";let Xz={},Zz=0;function Jz(e="",t=0,n="",r=Yz){return`state-${e}${null!==n&&n.length>0?`${r}${n}`:""}-${t}`}const e$=(e,t,n,r,i,a)=>{const o=n.id,s=null==(l=r[o])?"":l.classes?l.classes.join(" "):"";var l;if("root"!==o){let t=Dz;!0===n.start&&(t="start"),!1===n.start&&(t="end"),n.type!==KG&&(t=n.type),Xz[o]||(Xz[o]={id:o,shape:t,description:BR.sanitizeText(o,aM()),classes:`${s} ${Pz}`});const r=Xz[o];n.description&&(Array.isArray(r.description)?(r.shape=Mz,r.description.push(n.description)):r.description.length>0?(r.shape=Mz,r.description===o?r.description=[n.description]:r.description=[r.description,n.description]):(r.shape=Dz,r.description=n.description),r.description=BR.sanitizeTextOrArray(r.description,aM())),1===r.description.length&&r.shape===Mz&&(r.shape=Dz),!r.type&&n.doc&&(NR.info("Setting cluster for ",o,n$(n)),r.type="group",r.dir=n$(n),r.shape=n.type===XG?"divider":"roundedWithTitle",r.classes=r.classes+" "+Uz+" "+(a?Gz:""));const i={labelStyle:"",shape:r.shape,labelText:r.description, +// typeof newNode.description === 'object' +// ? newNode.description[0] +// : newNode.description, +classes:r.classes,style:"", +//styles.style, +id:o,dir:r.dir,domId:Jz(o,Zz),type:r.type,padding:15};if(n.note){const t={labelStyle:"",shape:"note",labelText:n.note.text,classes:Bz,style:"", +// styles.style, +id:o+qz+"-"+Zz,domId:Jz(o,Zz,$z),type:r.type,padding:15},a={labelStyle:"",shape:"noteGroup",labelText:n.note.text,classes:r.classes,style:"", +// styles.style, +id:o+Hz,domId:Jz(o,Zz,zz),type:"group",padding:0};Zz++;const s=o+Hz;e.setNode(s,a),e.setNode(t.id,t),e.setNode(o,i),e.setParent(o,s),e.setParent(t.id,s);let l=o,c=t.id;"left of"===n.note.position&&(l=t.id,c=o),e.setEdge(l,c,{arrowhead:"none",arrowType:"",style:Vz,labelStyle:"",classes:Fz,arrowheadStyle:Wz,labelpos:"c",labelType:Qz,thickness:Kz})}else e.setNode(o,i)}t&&"root"!==t.id&&(NR.trace("Setting node ",o," to be child of its parent ",t.id),e.setParent(o,t.id)),n.doc&&(NR.trace("Adding nodes children "),t$(e,n,n.doc,r,i,!a))},t$=(e,t,n,r,i,a)=>{NR.trace("items",n),n.forEach((n=>{switch(n.stmt){case WG:case KG:e$(e,t,n,r,i,a);break;case QG:{e$(e,t,n.state1,r,i,a),e$(e,t,n.state2,r,i,a);const o={id:"edge"+Zz,arrowhead:"normal",arrowTypeEnd:"arrow_barb",style:Vz,labelStyle:"",label:BR.sanitizeText(n.description,aM()),arrowheadStyle:Wz,labelpos:"c",labelType:Qz,thickness:Kz,classes:jz};e.setEdge(n.state1.id,n.state2.id,o,Zz),Zz++}}}))},n$=(e,t="TB")=>{let n=t;if(e.doc)for(let r=0;r<e.doc.length;r++){const t=e.doc[r];"dir"===t.stmt&&(n=t.value)}return n},r$={setConf:function(e){const t=Object.keys(e);for(const n of t)e[n]},getClasses:function(e,t){NR.trace("Extracting classes"),t.db.clear();try{return t.parser.parse(e),t.db.extract(t.db.getRootDocV2()),t.db.getClasses()}catch(fR){return fR}},draw:function(e,t,n,r){NR.info("Drawing state diagram (v2)",t),Xz={},r.db.getDirection();const{securityLevel:i,state:a}=aM(),o=a.nodeSpacing||50,s=a.rankSpacing||50;NR.info(r.db.getRootDocV2()),r.db.extract(r.db.getRootDocV2()),NR.info(r.db.getRootDocV2());const l=r.db.getStates(),c=new LN({multigraph:!0,compound:!0}).setGraph({rankdir:n$(r.db.getRootDocV2()),nodesep:o,ranksep:s,marginx:8,marginy:8}).setDefaultEdgeLabel((function(){return{}}));let u;e$(c,void 0,r.db.getRootDocV2(),l,r.db,!0),"sandbox"===i&&(u=k_("#i"+t));const d=k_("sandbox"===i?u.nodes()[0].contentDocument.body:"body"),h=d.select(`[id="${t}"]`),p=d.select("#"+t+" g");qj(p,c,["barb"],Lz,t);QD.insertTitle(h,"statediagramTitleText",a.titleTopMargin,r.db.getDiagramTitle());const g=h.node().getBBox(),m=g.width+16,_=g.height+16;h.attr("class",Lz);const b=h.node().getBBox();hM(h,_,m,a.useMaxWidth);const f=`${b.x-8} ${b.y-8} ${m} ${_}`;NR.debug(`viewBox ${f}`),h.attr("viewBox",f);const y=document.querySelectorAll('[id="'+t+'"] .edgeLabel .label');for(const v of y){const e=v.getBBox(),t=document.createElementNS("http://www.w3.org/2000/svg",Dz);t.setAttribute("rx",0),t.setAttribute("ry",0),t.setAttribute("width",e.width),t.setAttribute("height",e.height),v.insertBefore(t,v.firstChild)}}};var i$=function(){var e=function(e,t,n,r){for(n=n||{},r=e.length;r--;n[e[r]]=t);return n},t=[1,2],n=[1,5],r=[6,9,11,17,18,20,22,23,24,26],i=[1,15],a=[1,16],o=[1,17],s=[1,18],l=[1,19],c=[1,20],u=[1,24],d=[4,6,9,11,17,18,20,22,23,24,26],h={trace:function(){},yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,title:17,acc_title:18,acc_title_value:19,acc_descr:20,acc_descr_value:21,acc_descr_multiline_value:22,section:23,taskName:24,taskData:25,open_directive:26,type_directive:27,arg_directive:28,close_directive:29,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",17:"title",18:"acc_title",19:"acc_title_value",20:"acc_descr",21:"acc_descr_value",22:"acc_descr_multiline_value",23:"section",24:"taskName",25:"taskData",26:"open_directive",27:"type_directive",28:"arg_directive",29:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,2],[10,2],[10,1],[10,1],[10,2],[10,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 1:return a[s-1];case 3:case 7:case 8:this.$=[];break;case 4:a[s-1].push(a[s]),this.$=a[s-1];break;case 5:case 6:this.$=a[s];break;case 11:r.setDiagramTitle(a[s].substr(6)),this.$=a[s].substr(6);break;case 12:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 13:case 14:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 15:r.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 16:r.addTask(a[s-1],a[s]),this.$="task";break;case 18:r.parseDirective("%%{","open_directive");break;case 19:r.parseDirective(a[s],"type_directive");break;case 20:a[s]=a[s].trim().replace(/'/g,'"'),r.parseDirective(a[s],"arg_directive");break;case 21:r.parseDirective("}%%","close_directive","journey")}},table:[{3:1,4:t,7:3,12:4,26:n},{1:[3]},e(r,[2,3],{5:6}),{3:7,4:t,7:3,12:4,26:n},{13:8,27:[1,9]},{27:[2,18]},{6:[1,10],7:21,8:11,9:[1,12],10:13,11:[1,14],12:4,17:i,18:a,20:o,22:s,23:l,24:c,26:n},{1:[2,2]},{14:22,15:[1,23],29:u},e([15,29],[2,19]),e(r,[2,8],{1:[2,1]}),e(r,[2,4]),{7:21,10:25,12:4,17:i,18:a,20:o,22:s,23:l,24:c,26:n},e(r,[2,6]),e(r,[2,7]),e(r,[2,11]),{19:[1,26]},{21:[1,27]},e(r,[2,14]),e(r,[2,15]),{25:[1,28]},e(r,[2,17]),{11:[1,29]},{16:30,28:[1,31]},{11:[2,21]},e(r,[2,5]),e(r,[2,12]),e(r,[2,13]),e(r,[2,16]),e(d,[2,9]),{14:32,29:u},{29:[2,20]},{11:[1,33]},e(d,[2,10])],defaultActions:{5:[2,18],7:[2,2],24:[2,21],31:[2,20]},parseError:function(e,t){if(!t.recoverable){var n=new Error(e);throw n.hash=t,n}this.trace(e)},parse:function(e){var t=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",l=0,c=0,u=a.slice.call(arguments,1),d=Object.create(this.lexer),h={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(h.yy[p]=this.yy[p]);d.setInput(e,h.yy),h.yy.lexer=d,h.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var g=d.yylloc;a.push(g);var m=d.options&&d.options.ranges;"function"==typeof h.yy.parseError?this.parseError=h.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var _,b,f,y,v,E,S,T,C,x={};;){if(b=n[n.length-1],this.defaultActions[b]?f=this.defaultActions[b]:(null==_&&(C=void 0,"number"!=typeof(C=r.pop()||d.lex()||1)&&(C instanceof Array&&(C=(r=C).pop()),C=t.symbols_[C]||C),_=C),f=o[b]&&o[b][_]),void 0===f||!f.length||!f[0]){var k="";for(v in T=[],o[b])this.terminals_[v]&&v>2&&T.push("'"+this.terminals_[v]+"'");k=d.showPosition?"Parse error on line "+(l+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==_?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(k,{text:d.match,token:this.terminals_[_]||_,line:d.yylineno,loc:g,expected:T})}if(f[0]instanceof Array&&f.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+_);switch(f[0]){case 1:n.push(_),i.push(d.yytext),a.push(d.yylloc),n.push(f[1]),_=null,c=d.yyleng,s=d.yytext,l=d.yylineno,g=d.yylloc;break;case 2:if(E=this.productions_[f[1]][1],x.$=i[i.length-E],x._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},m&&(x._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),void 0!==(y=this.performAction.apply(x,[s,c,l,h.yy,f[1],i,a].concat(u))))return y;E&&(n=n.slice(0,-1*E*2),i=i.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[f[1]][0]),i.push(x.$),a.push(x._$),S=o[n[n.length-2]][n[n.length-1]],n.push(S);break;case 3:return!0}}return!0}},p=function(){var e={EOF:1,parseError:function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)}, +// resets the lexer, sets new input +setInput:function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this}, +// consumes and returns one char from the input +input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e}, +// unshifts one char (or a string) into the input +unput:function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this}, +// When called from action, caches matched text and appends it on next action +more:function(){return this._more=!0,this}, +// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead. +reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})}, +// retain first n characters of the match +less:function(e){this.unput(this.match.slice(e))}, +// displays already matched input, i.e. for error messages +pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")}, +// displays upcoming input, i.e. for error messages +upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")}, +// displays the character position where the lexing error occurred, i.e. for error messages +showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"}, +// test the lexed token: return FALSE when not a match, otherwise return token +test_match:function(e,t){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1}, +// return next match in input +next:function(){if(this.done)return this.EOF;var e,t,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!t||n[0].length>t[0].length)){if(t=n,r=a,this.options.backtrack_lexer){if(!1!==(e=this.test_match(n,i[a])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,i[r]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})}, +// return next match that has a token +lex:function(){var e=this.next();return e||this.lex()}, +// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack) +begin:function(e){this.conditionStack.push(e)}, +// pop the previously active lexer condition state off the condition stack +popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]}, +// produce the lexer rule set which is active for the currently active lexer condition state +_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules}, +// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available +topState:function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"}, +// alias for begin(condition) +pushState:function(e){this.begin(e)}, +// return the number of states currently on the stack +stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(e,t,n,r){switch(n){case 0:return this.begin("open_directive"),26;case 1:return this.begin("type_directive"),27;case 2:return this.popState(),this.begin("arg_directive"),15;case 3:return this.popState(),this.popState(),29;case 4:return 28;case 5:case 6:case 8:case 9:break;case 7:return 11;case 10:return 4;case 11:return 17;case 12:return this.begin("acc_title"),18;case 13:return this.popState(),"acc_title_value";case 14:return this.begin("acc_descr"),20;case 15:return this.popState(),"acc_descr_value";case 16:this.begin("acc_descr_multiline");break;case 17:this.popState();break;case 18:return"acc_descr_multiline_value";case 19:return 23;case 20:return 24;case 21:return 25;case 22:return 15;case 23:return 6;case 24:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:journey\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{open_directive:{rules:[1],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},acc_descr_multiline:{rules:[17,18],inclusive:!1},acc_descr:{rules:[15],inclusive:!1},acc_title:{rules:[13],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,11,12,14,16,19,20,21,22,23,24],inclusive:!0}}};return e}();function g(){this.yy={}}return h.lexer=p,g.prototype=h,h.Parser=g,new g}();i$.parser=i$;const a$=i$,o$=e=>null!==e.match(/^\s*journey/);let s$="";const l$=[],c$=[],u$=[],d$=function(){let e=!0;for(const[t,n]of u$.entries())u$[t].processed,e=e&&n.processed;return e},h$={parseDirective:function(e,t,n){cY.parseDirective(this,e,t,n)},getConfig:()=>aM().journey,clear:function(){l$.length=0,c$.length=0,s$="",u$.length=0,IM()},setDiagramTitle:jM,getDiagramTitle:FM,setAccTitle:DM,getAccTitle:MM,setAccDescription:LM,getAccDescription:PM,addSection:function(e){s$=e,l$.push(e)},getSections:function(){return l$},getTasks:function(){let e=d$();let t=0;for(;!e&&t<100;)e=d$(),t++;return c$.push(...u$),c$},addTask:function(e,t){const n=t.substr(1).split(":");let r=0,i=[];1===n.length?(r=Number(n[0]),i=[]):(r=Number(n[0]),i=n[1].split(","));const a=i.map((e=>e.trim())),o={section:s$,type:s$,people:a,task:e,score:r};u$.push(o)},addTaskOrg:function(e){const t={section:s$,type:s$,description:e,task:e,classes:[]};c$.push(t)},getActors:function(){return function(){const e=[];return c$.forEach((t=>{t.people&&e.push(...t.people)})),[...new Set(e)].sort()}()}},p$=function(e,t){const n=e.append("rect");return n.attr("x",t.x),n.attr("y",t.y),n.attr("fill",t.fill),n.attr("stroke",t.stroke),n.attr("width",t.width),n.attr("height",t.height),n.attr("rx",t.rx),n.attr("ry",t.ry),void 0!==t.class&&n.attr("class",t.class),n},g$=function(e,t){const n=e.append("circle");return n.attr("cx",t.cx),n.attr("cy",t.cy),n.attr("class","actor-"+t.pos),n.attr("fill",t.fill),n.attr("stroke",t.stroke),n.attr("r",t.r),void 0!==n.class&&n.attr("class",n.class),void 0!==t.title&&n.append("title").text(t.title),n},m$=function(e,t){const n=t.text.replace(/<br\s*\/?>/gi," "),r=e.append("text");r.attr("x",t.x),r.attr("y",t.y),r.attr("class","legend"),r.style("text-anchor",t.anchor),void 0!==t.class&&r.attr("class",t.class);const i=r.append("tspan");return i.attr("x",t.x+2*t.textMargin),i.text(n),r};let _$=-1;const b$=function(){return{x:0,y:0,width:100,anchor:"start",height:100,rx:0,ry:0}},f$=function(){function e(e,t,n,i,a,o,s,l){r(t.append("text").attr("x",n+a/2).attr("y",i+o/2+5).style("font-color",l).style("text-anchor","middle").text(e),s)}function t(e,t,n,i,a,o,s,l,c){const{taskFontSize:u,taskFontFamily:d}=l,h=e.split(/<br\s*\/?>/gi);for(let p=0;p<h.length;p++){const e=p*u-u*(h.length-1)/2,l=t.append("text").attr("x",n+a/2).attr("y",i).attr("fill",c).style("text-anchor","middle").style("font-size",u).style("font-family",d);l.append("tspan").attr("x",n+a/2).attr("dy",e).text(h[p]),l.attr("y",i+o/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),r(l,s)}}function n(e,n,i,a,o,s,l,c){const u=n.append("switch"),d=u.append("foreignObject").attr("x",i).attr("y",a).attr("width",o).attr("height",s).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");d.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(e),t(e,u,i,a,o,s,l,c),r(d,l)}function r(e,t){for(const n in t)n in t&&e.attr(n,t[n])}return function(r){return"fo"===r.textPlacement?n:"old"===r.textPlacement?e:t}}(),y$=g$,v$=function(e,t,n){const r=e.append("g"),i=b$();i.x=t.x,i.y=t.y,i.fill=t.fill,i.width=n.width,i.height=n.height,i.class="journey-section section-type-"+t.num,i.rx=3,i.ry=3,p$(r,i),f$(n)(t.text,r,i.x,i.y,i.width,i.height,{class:"journey-section section-type-"+t.num},n,t.colour)},E$=m$,S$=function(e,t,n){const r=t.x+n.width/2,i=e.append("g");_$++;i.append("line").attr("id","task"+_$).attr("x1",r).attr("y1",t.y).attr("x2",r).attr("y2",450).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),function(e,t){const n=15,r=e.append("circle").attr("cx",t.cx).attr("cy",t.cy).attr("class","face").attr("r",n).attr("stroke-width",2).attr("overflow","visible"),i=e.append("g");i.append("circle").attr("cx",t.cx-5).attr("cy",t.cy-5).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),i.append("circle").attr("cx",t.cx+5).attr("cy",t.cy-5).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),t.score>3?function(e){const r=nS().startAngle(Math.PI/2).endAngle(Math.PI/2*3).innerRadius(7.5).outerRadius(n/2.2);e.append("path").attr("class","mouth").attr("d",r).attr("transform","translate("+t.cx+","+(t.cy+2)+")")}(i):t.score<3?function(e){const r=nS().startAngle(3*Math.PI/2).endAngle(Math.PI/2*5).innerRadius(7.5).outerRadius(n/2.2);e.append("path").attr("class","mouth").attr("d",r).attr("transform","translate("+t.cx+","+(t.cy+7)+")")}(i):i.append("line").attr("class","mouth").attr("stroke",2).attr("x1",t.cx-5).attr("y1",t.cy+7).attr("x2",t.cx+5).attr("y2",t.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}(i,{cx:r,cy:300+30*(5-t.score),score:t.score});const a=b$();a.x=t.x,a.y=t.y,a.fill=t.fill,a.width=n.width,a.height=n.height,a.class="task task-type-"+t.num,a.rx=3,a.ry=3,p$(i,a);let o=t.x+14;t.people.forEach((e=>{const n=t.actors[e].color,r={cx:o,cy:t.y,r:7,fill:n,stroke:"#000",title:e,pos:t.actors[e].position};g$(i,r),o+=10})),f$(n)(t.task,i,a.x,a.y,a.width,a.height,{class:"task"},n,t.colour)},T$=function(e){e.append("defs").append("marker").attr("id","arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z")},C$={};const x$=aM().journey,k$=x$.leftMargin,A$={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],init:function(){this.sequenceItems=[],this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0},updateVal:function(e,t,n,r){void 0===e[t]?e[t]=n:e[t]=r(n,e[t])},updateBounds:function(e,t,n,r){const i=aM().journey,a=this;let o=0;this.sequenceItems.forEach((function(s){o++;const l=a.sequenceItems.length-o+1;a.updateVal(s,"starty",t-l*i.boxMargin,Math.min),a.updateVal(s,"stopy",r+l*i.boxMargin,Math.max),a.updateVal(A$.data,"startx",e-l*i.boxMargin,Math.min),a.updateVal(A$.data,"stopx",n+l*i.boxMargin,Math.max),a.updateVal(s,"startx",e-l*i.boxMargin,Math.min),a.updateVal(s,"stopx",n+l*i.boxMargin,Math.max),a.updateVal(A$.data,"starty",t-l*i.boxMargin,Math.min),a.updateVal(A$.data,"stopy",r+l*i.boxMargin,Math.max)}))},insert:function(e,t,n,r){const i=Math.min(e,n),a=Math.max(e,n),o=Math.min(t,r),s=Math.max(t,r);this.updateVal(A$.data,"startx",i,Math.min),this.updateVal(A$.data,"starty",o,Math.min),this.updateVal(A$.data,"stopx",a,Math.max),this.updateVal(A$.data,"stopy",s,Math.max),this.updateBounds(i,o,a,s)},bumpVerticalPos:function(e){this.verticalPos=this.verticalPos+e,this.data.stopy=this.verticalPos},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return this.data}},w$=x$.sectionFills,N$=x$.sectionColours,O$=function(e,t,n){const r=aM().journey;let i="";const a=n+(2*r.height+r.diagramMarginY);let o=0,s="#CCC",l="black",c=0;for(const[u,d]of t.entries()){if(i!==d.section){s=w$[o%w$.length],c=o%w$.length,l=N$[o%N$.length];const t={x:u*r.taskMargin+u*r.width+k$,y:50,text:d.section,fill:s,num:c,colour:l};v$(e,t,r),i=d.section,o++}const t=d.people.reduce(((e,t)=>(C$[t]&&(e[t]=C$[t]),e)),{});d.x=u*r.taskMargin+u*r.width+k$,d.y=a,d.width=r.diagramMarginX,d.height=r.diagramMarginY,d.colour=l,d.fill=s,d.num=c,d.actors=t,S$(e,d,r),A$.insert(d.x,d.y,d.x+d.width+r.taskMargin,450)}},R$={setConf:function(e){Object.keys(e).forEach((function(t){x$[t]=e[t]}))},draw:function(e,t,n,r){const i=aM().journey;r.db.clear(),r.parser.parse(e+"\n");const a=aM().securityLevel;let o;"sandbox"===a&&(o=k_("#i"+t));const s=k_("sandbox"===a?o.nodes()[0].contentDocument.body:"body");A$.init();const l=s.select("#"+t);T$(l);const c=r.db.getTasks(),u=r.db.getDiagramTitle(),d=r.db.getActors();for(const b in C$)delete C$[b];let h=0;d.forEach((e=>{C$[e]={color:i.actorColours[h%i.actorColours.length],position:h},h++})),function(e){const t=aM().journey;let n=60;Object.keys(C$).forEach((r=>{const i=C$[r].color,a={cx:20,cy:n,r:7,fill:i,stroke:"#000",pos:C$[r].position};y$(e,a);const o={x:40,y:n+7,fill:"#666",text:r,textMargin:5|t.boxTextMargin};E$(e,o),n+=20}))}(l),A$.insert(0,0,k$,50*Object.keys(C$).length),O$(l,c,0);const p=A$.getBounds();u&&l.append("text").text(u).attr("x",k$).attr("font-size","4ex").attr("font-weight","bold").attr("y",25);const g=p.stopy-p.starty+2*i.diagramMarginY,m=k$+p.stopx+2*i.diagramMarginX;hM(l,g,m,i.useMaxWidth),l.append("line").attr("x1",k$).attr("y1",4*i.height).attr("x2",m-k$-4).attr("y2",4*i.height).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)");const _=u?70:0;l.attr("viewBox",`${p.startx} -25 ${m} ${g+_}`),l.attr("preserveAspectRatio","xMinYMin meet"),l.attr("height",g+_+25)}};let I$={};const D$={setConf:function(e){I$={...I$,...e}},draw:(e,t,n)=>{try{NR.debug("Renering svg for syntax error\n");const e=k_("#"+t),r=e.append("g");r.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),r.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),r.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),r.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),r.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),r.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),r.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in graph"),r.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text("mermaid version "+n),e.attr("height",100),e.attr("width",500),e.attr("viewBox","768 0 912 512")}catch(fR){NR.error("Error while rendering info diagram"),NR.error((r=fR)instanceof Error?r.message:String(r))}var r}},M$="flowchart-elk",L$={id:M$,detector:(e,t)=>{var n; +// If diagram explicitly states flowchart-elk +return!!(e.match(/^\s*flowchart-elk/)||// If a flowchart/graph diagram has their default renderer set to elk +e.match(/^\s*flowchart|graph/)&&"elk"===(null==(n=null==t?void 0:t.flowchart)?void 0:n.defaultRenderer))},loader:async()=>{const{diagram:e}=await h((async()=>{const{diagram:e}=await import("./flowchart-elk-definition-170a3958-BCmh1NNp.js");return{diagram:e}}),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]),import.meta.url);return{id:M$,diagram:e}}},P$="timeline",j$={id:P$,detector:e=>null!==e.match(/^\s*timeline/),loader:async()=>{const{diagram:e}=await h((async()=>{const{diagram:e}=await import("./timeline-definition-8e5a9bc6-DaVWbYt5.js");return{diagram:e}}),__vite__mapDeps([18,19,1,2,13,14,15,16,3,4,5,6,7,8,9,10,11,12,17]),import.meta.url);return{id:P$,diagram:e}}},F$="mindmap",B$={id:F$,detector:e=>null!==e.match(/^\s*mindmap/),loader:async()=>{const{diagram:e}=await h((async()=>{const{diagram:e}=await import("./mindmap-definition-44684416-2qYG7gUD.js");return{diagram:e}}),__vite__mapDeps([20,1,2,19,13,14,15,16,3,4,5,6,7,8,9,10,11,12,17]),import.meta.url);return{id:F$,diagram:e}}};let U$=!1;const G$=()=>{U$||(U$=!0,CD(L$,j$,B$),XM("error", +// Special diagram with error messages but setup as a regular diagram +{db:{clear:()=>{}},styles:_M,renderer:D$,parser:{parser:{yy:{}},parse:()=>{}},init:()=>{}},(e=>"error"===e.toLowerCase().trim())),XM("---", +// --- diagram type may appear if YAML front-matter is not parsed correctly +{db:{clear:()=>{}},styles:_M, +// should never be used +renderer:D$, +// should never be used +parser:{parser:{yy:{}},parse:()=>{throw new Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with unindented `---` blocks")}},init:()=>null},(e=>e.toLowerCase().trimStart().startsWith("---"))),XM("c4",{parser:PL,db:XL,renderer:NP,styles:xM,init:e=>{NP.setConf(e.c4)}},jL),XM("class",{parser:RP,db:QP,renderer:lj,styles:gM,init:e=>{e.class||(e.class={}),e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute,QP.clear()}},IP),XM("classDiagram",{parser:RP,db:QP,renderer:Qj,styles:gM,init:e=>{e.class||(e.class={}),e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute,QP.clear()}},DP),XM("er",{parser:Xj,db:nF,renderer:gF,styles:mM},Zj),XM("gantt",{parser:TB,db:nU,renderer:aU,styles:fM},CB),XM("info",{parser:sU,db:uU,renderer:dU,styles:yM},hU),XM("pie",{parser:gU,db:fU,renderer:SU,styles:vM},mU),XM("requirement",{parser:CU,db:RU,renderer:zU,styles:EM},xU),XM("sequence",{parser:YU,db:dG,renderer:$G,styles:SM,init:e=>{if(e.sequence||(e.sequence={}),e.sequence.arrowMarkerAbsolute=e.arrowMarkerAbsolute,"sequenceDiagram"in e)throw new Error("`mermaid config.sequenceDiagram` has been renamed to `config.sequence`. Please update your mermaid config.");dG.setWrap(e.wrap),$G.setConf(e.sequence)}},qU),XM("state",{parser:qG,db:Tz,renderer:Iz,styles:TM,init:e=>{e.state||(e.state={}),e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute,Tz.clear()}},HG),XM("stateDiagram",{parser:qG,db:Tz,renderer:r$,styles:TM,init:e=>{e.state||(e.state={}),e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute,Tz.clear()}},VG),XM("journey",{parser:a$,db:h$,renderer:R$,styles:CM,init:e=>{R$.setConf(e.journey),h$.clear()}},o$),XM("flowchart",{parser:_F,db:gB,renderer:EB,styles:bM,init:e=>{e.flowchart||(e.flowchart={}),e.flowchart.arrowMarkerAbsolute=e.arrowMarkerAbsolute,bB(e.flowchart),gB.clear(),gB.setGen("gen-1")}},bF),XM("flowchart-v2",{parser:_F,db:gB,renderer:EB,styles:bM,init:e=>{e.flowchart||(e.flowchart={}),e.flowchart.arrowMarkerAbsolute=e.arrowMarkerAbsolute,iM({flowchart:{arrowMarkerAbsolute:e.arrowMarkerAbsolute}}),EB.setConf(e.flowchart),gB.clear(),gB.setGen("gen-2")}},fF),XM("gitGraph",{parser:eL,db:fL,renderer:DL,styles:ML},tL))};class z${constructor(e,t){var n,r;this.txt=e,this.type="graph",this.detectTypeFailed=!1;const i=aM();this.txt=e;try{this.type=TD(e,i)}catch(fR){this.handleError(fR,t),this.type="error",this.detectTypeFailed=!0}const a=ZM(this.type);NR.debug("Type "+this.type),this.db=a.db,null==(r=(n=this.db).clear)||r.call(n),this.renderer=a.renderer,this.parser=a.parser;const o=this.parser.parse.bind(this.parser);this.parser.parse=e=>o(function(e,t){var n;const r=e.match(yD);if(r){const i=fD(r[1],{ +// To keep things simple, only allow strings, arrays, and plain objects. +// https://www.yaml.org/spec/1.2/spec.html#id2802346 +schema:bD});return(null==i?void 0:i.title)&&(null==(n=t.setDiagramTitle)||n.call(t,i.title)),e.slice(r[0].length)}return e}(e,this.db)),this.parser.parser.yy=this.db,a.init&&(a.init(i),NR.info("Initialized diagram "+this.type,i)),this.txt+="\n",this.parse(this.txt,t)}parse(e,t){var n,r;if(this.detectTypeFailed)return!1;try{return e+="\n",null==(r=(n=this.db).clear)||r.call(n),this.parser.parse(e),!0}catch(i){this.handleError(i,t)}return!1}handleError(e,t){if(void 0===t)throw e;VD(e)?t(e.str,e.hash):t(e)}getParser(){return this.parser}getType(){return this.type}}const $$=(e,t)=>{const n=TD(e,aM());try{ZM(n)}catch(r){const i=SD[n].loader;if(!i)throw new Error(`Diagram ${n} not found.`);return i().then((({diagram:r})=>(XM(n,r,void 0),new z$(e,t))))}return new z$(e,t)},Y$=z$;const q$=["graph","flowchart","flowchart-v2","stateDiagram","stateDiagram-v2"],H$="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa",V$="sandbox",W$="loose",Q$="http://www.w3.org/1999/xlink",K$="http://www.w3.org/1999/xhtml",X$=["foreignobject"],Z$=["dominant-baseline"];const J$=function(e){let t=e;return t=t.replace(/style.*:\S*#.*;/g,(function(e){return e.substring(0,e.length-1)})),t=t.replace(/classDef.*:\S*#.*;/g,(function(e){return e.substring(0,e.length-1)})),t=t.replace(/#\w+;/g,(function(e){const t=e.substring(1,e.length-1);return/^\+?\d+$/.test(t)?"fl°°"+t+"¶ß":"fl°"+t+"¶ß"})),t},eY=function(e){let t=e;return t=t.replace(/fl°°/g,"&#"),t=t.replace(/fl°/g,"&"),t=t.replace(/¶ß/g,";"),t},tY=(e,t,n=[])=>`\n.${e} ${t} { ${n.join(" !important; ")} !important; }`,nY=(e,t,n,r)=>{const i=((e,t,n={})=>{var r;let i="";if(void 0!==e.themeCSS&&(i+=`\n${e.themeCSS}`),void 0!==e.fontFamily&&(i+=`\n:root { --mermaid-font-family: ${e.fontFamily}}`),void 0!==e.altFontFamily&&(i+=`\n:root { --mermaid-alt-font-family: ${e.altFontFamily}}`),!cN(n)&&q$.includes(t)){const t=e.htmlLabels||(null==(r=e.flowchart)?void 0:r.htmlLabels)?["> *","span"]:["rect","polygon","ellipse","circle","path"];for(const e in n){const r=n[e];cN(r.styles)||t.forEach((e=>{i+=tY(r.id,e,r.styles)})),cN(r.textStyles)||(i+=tY(r.id,"tspan",r.textStyles))}}return i})(e,t,n);return Ox(xx(`${r}{${AM(t,i,e.themeVariables)}}`),Rx)},rY=(e="",t,n)=>{let r=e;return n||t||(r=r.replace(/marker-end="url\(.*?#/g,'marker-end="url(#')),r=eY(r),r=r.replace(/<br>/g,"<br/>"),r},iY=(e="",t)=>`<iframe style="width:100%;height:${t?t.viewBox.baseVal.height+"px":"100%"};border:0;margin:0;" src="data:text/html;base64,${btoa('<body style="margin:0">'+e+"</body>")}" sandbox="allow-top-navigation-by-user-activation allow-popups">\n The "iframe" tag is not supported by your browser.\n</iframe>`,aY=(e,t,n,r,i)=>{const a=e.append("div");a.attr("id",n),r&&a.attr("style",r);const o=a.append("svg").attr("id",t).attr("width","100%").attr("xmlns","http://www.w3.org/2000/svg");return i&&o.attr("xmlns:xlink",i),o.append("g"),e};function oY(e,t){return e.append("iframe").attr("id",t).attr("style","width: 100%; height: 100%;").attr("sandbox","")}const sY=(e,t,n,r)=>{var i,a,o;null==(i=e.getElementById(t))||i.remove(),null==(a=e.getElementById(n))||a.remove(),null==(o=e.getElementById(r))||o.remove()};function lY(e,t,n,r){var i,a;a=e,(i=t).attr("role","graphics-document document"),cN(a)||i.attr("aria-roledescription",a),function(e,t,n,r){if(void 0!==e.insert&&(t||n)){if(n){const t="chart-desc-"+r;e.attr("aria-describedby",t),e.insert("desc",":first-child").attr("id",t).text(n)}if(t){const n="chart-title-"+r;e.attr("aria-labelledby",n),e.insert("title",":first-child").attr("id",n).text(t)}}}(t,n,r,t.attr("id"))}const cY=Object.freeze({render:function(e,t,n,r){var i,a,o,s;G$(),lM();const l=QD.detectInit(t);l&&(qD(l),sM(l));const c=aM();NR.debug(c),t.length>((null==c?void 0:c.maxTextSize)??5e4)&&(t=H$),t=t.replace(/\r\n?/g,"\n");const u="#"+e,d="i"+e,h="#"+d,p="d"+e,g="#"+p;let m=k_("body");const _=c.securityLevel===V$,b=c.securityLevel===W$,f=c.fontFamily;if(void 0!==r){if(r&&(r.innerHTML=""),_){const e=oY(k_(r),d);m=k_(e.nodes()[0].contentDocument.body),m.node().style.margin=0}else m=k_(r);aY(m,e,p,`font-family: ${f}`,Q$)}else{if(sY(document,e,p,d),_){const e=oY(k_("body"),d);m=k_(e.nodes()[0].contentDocument.body),m.node().style.margin=0}else m=k_("body");aY(m,e,p)}let y,v;t=J$(t);try{if(y=$$(t),"then"in y)throw new Error("Diagram is a promise. Use renderAsync.")}catch(O){y=new Y$("error"),v=O}const E=m.select(g).node(),S=y.type,T=E.firstChild,C=T.firstChild,x=q$.includes(S)?y.renderer.getClasses(t,y):{},k=nY(c,S, +// @ts-ignore convert renderer to TS. +x,u),A=document.createElement("style");A.innerHTML=k,T.insertBefore(A,C);try{y.renderer.draw(t,e,KD,y)}catch(fR){throw D$.draw(t,e,KD),fR}lY(S,m.select(`${g} svg`),null==(a=(i=y.db).getAccTitle)?void 0:a.call(i),null==(s=(o=y.db).getAccDescription)?void 0:s.call(o)),m.select(`[id="${e}"]`).selectAll("foreignobject > *").attr("xmlns",K$);let w=m.select(g).node().innerHTML;if(NR.debug("config.arrowMarkerAbsolute",c.arrowMarkerAbsolute),w=rY(w,_,jR(c.arrowMarkerAbsolute)),_){const e=m.select(g+" svg").node();w=iY(w,e)}else b||(w=YT.sanitize(w,{ADD_TAGS:X$,ADD_ATTR:Z$}));if(void 0!==n)switch(S){case"flowchart":case"flowchart-v2":n(w,gB.bindFunctions);break;case"gantt":n(w,nU.bindFunctions);break;case"class":case"classDiagram":n(w,QP.bindFunctions);break;default:n(w)}else NR.debug("CB = undefined!");pG();const N=k_(_?h:g).node();if(N&&"remove"in N&&N.remove(),v)throw v;return w},renderAsync:async function(e,t,n,r){var i,a,o,s;G$(),lM();const l=QD.detectInit(t);l&&(qD(l),sM(l));const c=aM();NR.debug(c),t.length>((null==c?void 0:c.maxTextSize)??5e4)&&(t=H$),t=t.replace(/\r\n?/g,"\n");const u="#"+e,d="i"+e,h="#"+d,p="d"+e,g="#"+p;let m=k_("body");const _=c.securityLevel===V$,b=c.securityLevel===W$,f=c.fontFamily;if(void 0!==r){if(r&&(r.innerHTML=""),_){const e=oY(k_(r),d);m=k_(e.nodes()[0].contentDocument.body),m.node().style.margin=0}else m=k_(r);aY(m,e,p,`font-family: ${f}`,Q$)}else{if(sY(document,e,p,d),_){const e=oY(k_("body"),d);m=k_(e.nodes()[0].contentDocument.body),m.node().style.margin=0}else m=k_("body");aY(m,e,p)}let y,v;t=J$(t);try{y=await $$(t)}catch(O){y=new Y$("error"),v=O}const E=m.select(g).node(),S=y.type,T=E.firstChild,C=T.firstChild,x=q$.includes(S)?y.renderer.getClasses(t,y):{},k=nY(c,S, +// @ts-ignore convert renderer to TS. +x,u),A=document.createElement("style");A.innerHTML=k,T.insertBefore(A,C);try{await y.renderer.draw(t,e,KD,y)}catch(fR){throw D$.draw(t,e,KD),fR}lY(S,m.select(`${g} svg`),null==(a=(i=y.db).getAccTitle)?void 0:a.call(i),null==(s=(o=y.db).getAccDescription)?void 0:s.call(o)),m.select(`[id="${e}"]`).selectAll("foreignobject > *").attr("xmlns",K$);let w=m.select(g).node().innerHTML;if(NR.debug("config.arrowMarkerAbsolute",c.arrowMarkerAbsolute),w=rY(w,_,jR(c.arrowMarkerAbsolute)),_){const e=m.select(g+" svg").node();w=iY(w,e)}else b||(w=YT.sanitize(w,{ADD_TAGS:X$,ADD_ATTR:Z$}));if(void 0!==n)switch(S){case"flowchart":case"flowchart-v2":n(w,gB.bindFunctions);break;case"gantt":n(w,nU.bindFunctions);break;case"class":case"classDiagram":n(w,QP.bindFunctions);break;default:n(w)}else NR.debug("CB = undefined!");pG();const N=k_(_?h:g).node();if(N&&"remove"in N&&N.remove(),v)throw v;return w},parse:function(e,t){return G$(),new Y$(e,t).parse(e,t)},parseAsync:async function(e,t){return G$(),(await $$(e,t)).parse(e,t)},parseDirective:zM,initialize:function(e={}){var t;(null==e?void 0:e.fontFamily)&&!(null==(t=e.themeVariables)?void 0:t.fontFamily)&&(e.themeVariables={fontFamily:e.fontFamily}),ZD=AD({},e),(null==e?void 0:e.theme)&&e.theme in WR?e.themeVariables=WR[e.theme].getThemeVariables(e.themeVariables):e&&(e.themeVariables=WR.default.getThemeVariables(e.themeVariables));const n="object"==typeof e?(e=>(JD=AD({},XD),JD=AD(JD,e),e.theme&&WR[e.theme]&&(JD.themeVariables=WR[e.theme].getThemeVariables(e.themeVariables)),nM(JD,eM),JD))(e):rM();OR(n.logLevel),G$()},getConfig:aM,setConfig:iM,getSiteConfig:rM,updateSiteConfig:e=>(JD=AD(JD,e),nM(JD,eM),JD),reset:()=>{lM()},globalReset:()=>{lM(XD)},defaultConfig:XD});OR(aM().logLevel),lM(aM());const uY=(e,t,n)=>{NR.warn(e),VD(e)?(n&&n(e.str,e.hash),t.push({...e,message:e.str,error:e})):(n&&n(e),e instanceof Error&&t.push({str:e.message,message:e.message,hash:e.name,error:e}))},dY=async function(e,t,n){const r=cY.getConfig();let i;if(e&&(_Y.sequenceConfig=e),NR.debug((n?"":"No ")+"Callback function found"),void 0===t)i=document.querySelectorAll(".mermaid");else if("string"==typeof t)i=document.querySelectorAll(t);else if(t instanceof HTMLElement)i=[t];else{if(!(t instanceof NodeList))throw new Error("Invalid argument nodes for mermaid.init");i=t}NR.debug(`Found ${i.length} diagrams`),void 0!==(null==e?void 0:e.startOnLoad)&&(NR.debug("Start On Load: "+(null==e?void 0:e.startOnLoad)),cY.updateSiteConfig({startOnLoad:null==e?void 0:e.startOnLoad}));const a=new QD.initIdGenerator(r.deterministicIds,r.deterministicIDSeed);let o;const s=[];for(const c of Array.from(i)){ +/*! Check if previously processed */ +if(NR.info("Rendering diagram: "+c.id),c.getAttribute("data-processed"))continue;c.setAttribute("data-processed","true");const e=`mermaid-${a.next()}`;o=c.innerHTML,o=Rg(QD.entityDecode(o)).trim().replace(/<br\s*\/?>/gi,"<br/>");const t=QD.detectInit(o);t&&NR.debug("Detected early reinit: ",t);try{await cY.renderAsync(e,o,((t,r)=>{c.innerHTML=t,void 0!==n&&n(e),r&&r(c)}),c)}catch(l){uY(l,s,_Y.parseError)}}if(s.length>0)throw s[0]},hY=function(){if(_Y.startOnLoad){const{startOnLoad:e}=cY.getConfig();e&&_Y.init().catch((e=>NR.error("Mermaid failed to initialize",e)))}};"undefined"!=typeof document&& +/*! + * Wait for document loaded before starting the execution + */ +window.addEventListener("load",hY,!1);const pY=[];let gY=!1;const mY=async()=>{if(!gY){for(gY=!0;pY.length>0;){const e=pY.shift();if(e)try{await e()}catch(fR){NR.error("Error executing queue",fR)}}gY=!1}},_Y={startOnLoad:!0,diagrams:{},mermaidAPI:cY,parse:e=>cY.parse(e,_Y.parseError),parseAsync:e=>new Promise(((t,n)=>{pY.push((()=>new Promise(((r,i)=>{cY.parseAsync(e,_Y.parseError).then((e=>{r(e),t(e)}),(e=>{NR.error("Error parsing",e),i(e),n(e)}))})))),mY().catch(n)})),render:cY.render,renderAsync:(e,t,n,r)=>new Promise(((i,a)=>{pY.push((()=>new Promise(((o,s)=>{cY.renderAsync(e,t,n,r).then((e=>{o(e),i(e)}),(e=>{NR.error("Error parsing",e),s(e),a(e)}))})))),mY().catch(a)})),init:async function(e,t,n){try{await dY(e,t,n)}catch(fR){NR.warn("Syntax Error rendering"),VD(fR)&&NR.warn(fR.str),_Y.parseError&&_Y.parseError(fR)}},initThrowsErrors:function(e,t,n){const r=cY.getConfig();let i;if(e&&(_Y.sequenceConfig=e),NR.debug((n?"":"No ")+"Callback function found"),void 0===t)i=document.querySelectorAll(".mermaid");else if("string"==typeof t)i=document.querySelectorAll(t);else if(t instanceof HTMLElement)i=[t];else{if(!(t instanceof NodeList))throw new Error("Invalid argument nodes for mermaid.init");i=t}NR.debug(`Found ${i.length} diagrams`),void 0!==(null==e?void 0:e.startOnLoad)&&(NR.debug("Start On Load: "+(null==e?void 0:e.startOnLoad)),cY.updateSiteConfig({startOnLoad:null==e?void 0:e.startOnLoad}));const a=new QD.initIdGenerator(r.deterministicIds,r.deterministicIDSeed);let o;const s=[];for(const c of Array.from(i)){ +/*! Check if previously processed */ +if(NR.info("Rendering diagram: "+c.id),c.getAttribute("data-processed"))continue;c.setAttribute("data-processed","true");const e=`mermaid-${a.next()}`;o=c.innerHTML,o=Rg(QD.entityDecode(o)).trim().replace(/<br\s*\/?>/gi,"<br/>");const t=QD.detectInit(o);t&&NR.debug("Detected early reinit: ",t);try{cY.render(e,o,((t,r)=>{c.innerHTML=t,void 0!==n&&n(e),r&&r(c)}),c)}catch(l){uY(l,s,_Y.parseError)}}if(s.length>0)throw s[0]},initThrowsErrorsAsync:dY,registerExternalDiagrams:async(e,{lazyLoad:t=!0}={})=>{t?CD(...e):await(async(...e)=>{NR.debug(`Loading ${e.length} external diagrams`);const t=(await Promise.allSettled(e.map((async({id:e,detector:t,loader:n})=>{const{diagram:r}=await n();XM(e,r,t)})))).filter((e=>"rejected"===e.status));if(t.length>0){NR.error(`Failed to load ${t.length} external diagrams`);for(const e of t)NR.error(e);throw new Error(`Failed to load ${t.length} external diagrams`)}})(...e)},initialize:function(e){cY.initialize(e)},parseError:void 0,contentLoaded:hY,setParseErrorHandler:function(e){_Y.parseError=e}};const bY=new Cr({linkify:!0,breaks:!0});bY.use((function(e,t){_Y.initialize(Object.assign({securityLevel:"loose"},t));let n=e.renderer.rules.fence;e.renderer.rules.fence=function(e,t,r,i,a){let o=e[t],s=o.info.trim(),l=s?function(e){return e.split(/\s+/g)[0]}(s):"";if(-1===["mermaid","{mermaid}"].indexOf(l))return void 0!==n?n(e,t,r,i,a):"";let c="",u=[];const d=document.createElement("div");document.body.appendChild(d);try{const e="mermaid-container";_Y.mermaidAPI.render(e,o.content,(t=>{let n=document.getElementById(e);null!==n&&u.push(["style",`max-width:${n.style.maxWidth};max-height:${n.style.maxHeight}`]),c=t}),d)}catch(fR){return`<div class="alert alert-danger">${fR}</div>`}finally{d.remove()}return u.push(["src",`data:image/svg+xml,${encodeURIComponent(c)}`]),`<img ${a.renderAttrs({attrs:u})}>`}})),bY.use(Or,{blockClass:"katexmath-block rounded-md p-[10px]",errorColor:" #cc0000"}),bY.use(Re,{attrs:{target:"_blank",rel:"noopener"}}),bY.use(Ag,{hljs:Og}),bY.use(((e,t)=>{if(e.renderer.rules.code_block=Ng(e.renderer.rules.code_block,t),e.renderer.rules.fence=Ng(e.renderer.rules.fence,t),"undefined"!=typeof window&&!window.copyCodeToClipboard){window.copyCodeToClipboard=e=>{const n=e.dataset.clipboardText;navigator.clipboard.writeText(n).then((function(){t.onCopySuccess&&t.onCopySuccess(n,e)})).catch((function(n){t.onCopyError&&t.onCopyError(n,e)}))};const e="\n.markdown-it-svg-code-copy{\n position: relative;\n}\n.markdown-it-svg-code-copy:hover .code-copy-button {\n visibility: visible;\n opacity: 1;\n}\n.markdown-it-svg-code-copy .code-copy-button {\n position: absolute; \n top: 5px; \n right: 5px; \n cursor: pointer; \n outline: none; \n visibility: hidden; \n opacity: 0;\n}\n",n=document.createElement("style");n.appendChild(document.createTextNode(e)),document.head.appendChild(n)}}),{svg:'<svg fill="none" viewBox="0 0 24 24" width="1em" height="1em" class="t-icon t-icon-copy" slot="icon"><path fill="currentColor" d="M2 2h13v5.5h-2V4H4v9h3.5v2H2V2zm7 7h13v13H9V9zm2 2v9h9v-9h-9z"></path></svg>',onCopySuccess:(e,t)=>{p.success("复制成功!")}});const fY={class:"flex flex-row items-center p-2"},yY={key:0,class:"flex flex-col gap-2 p-2"},vY={class:"max-h-32 bg-color-page overflow-auto whitespace-pre-line no-scrollbar p-2"},EY=["innerHTML"],SY={class:"flex flex-row justify-end gap-2"},TY={key:1,class:"flex flex-col gap-2 p-2"},CY={key:0,class:"max-h-32 bg-color-page overflow-auto whitespace-pre-line no-scrollbar p-2"},xY={class:"flex flex-grow items-center gap-2 relative"},kY={key:2,class:"flex flex-col gap-2 p-2"},AY={key:0,class:"max-h-32 bg-color-page overflow-auto whitespace-pre-line no-scrollbar p-2"},wY={class:"max-h-72 no-scrollbar overflow-auto bordered p-2 shadow-sm"},NY=e({__name:"ToolBar",props:{parent:Object},setup(e,{expose:n}){const r=g(),i=m(),a=e,o=_({top:"0px",left:"0px"}),l=_(!1),c=_(null),u=_(!1),d=_(!1),h=_(""),U=_(""),G=()=>{l.value=!1,u.value=!1},z=()=>{const e=window.getSelection();navigator.clipboard.writeText(e.toString()),G(),p.success(M("components.toolBar.copySuccessMsg"))},$=()=>{navigator.clipboard.writeText(h.value),G(),p.success(M("components.toolBar.copySuccessMsg"))},Y=t((()=>r.toolBarButtons.filter((e=>e.name&&e.show)))),q=(e,t)=>{const{e:n}=t;if("Enter"===n.key){if(n.shiftKey)return;n.preventDefault(),K()}};let H="",V=null,W="";const Q=()=>{he(),d.value=!0,V=window.getSelection(),W=V.toString()},K=async()=>{const e=W,t=U.value;H=t.includes("{{text}}")?t.replace("{{text}}",e):e?e+"\r\n"+t:t,d.value=!1,await X()};async function X(){const e=a.parent,t=c.value.getBoundingClientRect().left-e.getBoundingClientRect().left;he(),u.value=!0,D((()=>{const n=V.getRangeAt(0).getBoundingClientRect(),r=e.getBoundingClientRect(),i=c.value.getBoundingClientRect();let a=t;const s=r.width-i.width;a>s&&(a=s),a<0&&(a=0),o.value={top:n.top+e.scrollTop-r.top-52+"px",left:`${a}px`}})),await Z()}const Z=async()=>{r.assistModel?(h.value=M("components.toolBar.handing"),await re(H,(e=>{h.value=e}))):p.error(M("components.toolBar.noAssistModel"))},J=_(!1),ee=async()=>{he(),J.value=!0,W=window.getSelection().toString()},te=_(""),ne=i.list,le=async()=>{J.value=!1;const e=W,t={id:ce(),title:e,time:(new Date).getTime(),conversationId:"",conversationName:"",conversationAvatar:"",chats:[],notes:[W]};if(i.add(t),p.success(M("pages.conversation.favorite_success")),r.assistModel){const n=M("pages.conversation.extract_core_conversation",{question:e,answer:""});await ie(n,(e=>{t.title=e,t.title=t.title.replaceAll("###",""),t.title=t.title.trim(),i.update(t)}))}},de=async()=>{if(J.value=!1,!te)return;const e=ne.find((e=>e.id==te.value));e.notes.push(W),i.update(e),p.success(M("pages.conversation.favorite_success"))},he=()=>{u.value=!1,d.value=!1,U.value="",J.value=!1,te.value=""};return n({showToolbox:()=>{const e=window.getSelection();e.toString().trim()&&(l.value=!0,he(),D((()=>{const t=e.getRangeAt(0).getBoundingClientRect(),n=a.parent,r=n.getBoundingClientRect(),i=c.value.getBoundingClientRect();let s=t.left+t.width/2-i.width/2+n.scrollLeft-r.left;const l=r.width-i.width;s>l&&(s=l),s<0&&(s=0);let u=t.top+n.scrollTop-r.top-52;const d=n.scrollTop;u<d&&(u=d),o.value={top:`${u}px`,left:`${s}px`}})))},hideToolbox:G}),(e,t)=>{const n=L,r=Ne,i=ue,a=P,p=j,g=F,m=B;return b((y(),v("div",{ref_key:"selectToolbox",ref:c,style:R(o.value),class:"z-50 absolute bg-color-container bordered rounded-xl shadow-md flex flex-col max-w-80",onMouseup:t[2]||(t[2]=I((()=>{}),["stop"])),onMousedown:t[3]||(t[3]=I((()=>{}),["stop"]))},[E("div",fY,[(y(!0),v(S,null,T(Y.value,(e=>(y(),v(S,null,[s(n,{onClick:t=>(async e=>{V=window.getSelection(),W=V.toString(),H=e.prompt.replace("{{text}}",W),await X()})(e),size:"small",variant:"text"},{default:C((()=>[x(k(e.name),1)])),_:2},1032,["onClick"]),s(r,{layout:"vertical"})],64)))),256)),s(n,{size:"small",variant:"text",onClick:Q},{default:C((()=>[x(k(e.$t("components.toolBar.dialog")),1)])),_:1}),s(r,{layout:"vertical"}),s(n,{size:"small",variant:"text",onClick:ee},{default:C((()=>[x(k(e.$t("components.toolBar.faviorite")),1)])),_:1}),s(r,{layout:"vertical"}),s(n,{size:"small",variant:"text",onClick:z},{default:C((()=>[x(k(e.$t("components.toolBar.copy")),1)])),_:1})]),u.value?(y(),v("div",yY,[E("pre",vY," "+k(A(H)),1),E("div",{class:"markdown-body",innerHTML:A(bY).render(h.value)},null,8,EY),E("div",SY,[s(n,{size:"small",variant:"outline",onClick:Z},{default:C((()=>[s(A(ae),{slot:"icon"})])),_:1}),s(n,{size:"small",variant:"outline",onClick:$},{default:C((()=>[s(A(oe),{slot:"icon"})])),_:1}),s(n,{size:"small",variant:"outline",onClick:G},{default:C((()=>[s(A(w),{slot:"icon"})])),_:1})])])):N("",!0),d.value?(y(),v("div",TY,[A(W).trim()?(y(),v("pre",CY," "+k(A(W).trim()),1)):N("",!0),E("div",xY,[s(i,{modelValue:U.value,"onUpdate:modelValue":t[0]||(t[0]=e=>U.value=e),onKeypress:q},null,8,["modelValue"]),s(n,{size:"small",shape:"circle",variant:"outline",onClick:K,class:"absolute bottom-1 right-1"},{default:C((()=>[s(A(se),{slot:"icon"})])),_:1})])])):N("",!0),J.value?(y(),v("div",kY,[A(W).trim()?(y(),v("pre",AY," "+k(A(W).trim()),1)):N("",!0),E("div",wY,[s(m,{modelValue:te.value,"onUpdate:modelValue":t[1]||(t[1]=e=>te.value=e)},{default:C((()=>[s(g,{gutter:[16,16]},{default:C((()=>[(y(!0),v(S,null,T(A(ne),(e=>(y(),O(p,{span:12},{default:C((()=>[s(a,{value:e.id,class:"grid grid-flow-col auto-cols-max align-middle fav-radio fav-radio-toolbar"},{default:C((()=>[x(k(e.title),1)])),_:2},1032,["value"])])),_:2},1024)))),256))])),_:1})])),_:1},8,["modelValue"])]),s(n,{onClick:de,theme:"default",variant:"outline"},{default:C((()=>t[4]||(t[4]=[x("添加到笔记")]))),_:1}),s(n,{onClick:le,theme:"default",variant:"outline"},{default:C((()=>t[5]||(t[5]=[x("创建新的笔记")]))),_:1})])):N("",!0)],36)),[[f,l.value]])}}}),OY={key:0,class:"markdown-body"},RY={key:1},IY={class:"flex justify-end mt-2 gap-5"},DY={key:2,class:"tdesign-image-viewer-wrapper flex-wrap gap-6"},MY={key:0,class:"tdesign-image-viewer__error tdesign-image-viewer__ui-image tdesign-image-viewer__base"},LY={class:"tdesign-image-viewer__error--content"},PY={class:"tdesign-image-viewer__ui-image tdesign-image-viewer__base"},jY=["src","onError"],FY=["onClick"],BY={class:"absolute left-1 top-1 max-w-[75%]"},UY=["title"],GY=Y(e({__name:"AssistantContent",props:{content:{type:Object},isEditing:{type:Boolean,default:!1}},emits:["save","cancel"],setup(e,{emit:n}){const r=U([!1,!1,!1,!1]),i=U([!1,!1,!1,!1]),a=e,o=t((()=>bY.render(a.content.text))),l=t((()=>a.content.images.map((e=>e.content||e.url)))),c=n,u=_(a.content.text),d=()=>{c("save",u.value)},h=()=>{u.value=a.content.text,c("cancel")},p=(e,t)=>{},g=_(null);return G((()=>a.isEditing),(e=>{e&&(u.value=a.content.text,D((()=>{g.value.$el.querySelector("textarea").focus()})))})),(t,n)=>{const c=ue,m=L,_=he;return y(),v(S,null,[e.content.text&&!e.isEditing?(y(),v("div",OY,[z([e.content.text],(()=>(y(),v("div",{innerHTML:o.value},null,8,["innerHTML"]))),n,0)])):N("",!0),e.content.text&&e.isEditing?(y(),v("div",RY,[s(c,{ref_key:"textareaRef",ref:g,modelValue:u.value,"onUpdate:modelValue":n[1]||(n[1]=e=>u.value=e),autosize:{minRows:5,maxRows:20},onBlur:p},null,8,["modelValue"]),E("div",IY,[s(m,{size:"large",shape:"circle",variant:"text",onClick:h},{default:C((()=>[s(A(w),{slot:"icon"})])),_:1}),s(m,{size:"large",shape:"circle",variant:"text",onClick:d},{default:C((()=>[s(A(_e),{slot:"icon"})])),_:1})])])):N("",!0),l.value.length>0?(y(),v("div",DY,[(y(!0),v(S,null,T(a.content.images,((e,t)=>(y(),v("div",{key:t,class:"min-w-44 min-h-44"},[i[t]?(y(),v("div",MY,[E("div",LY,[s(A($),{name:"image-error",size:"2em"}),n[2]||(n[2]=E("div",null,"图片无法显示",-1))])])):(y(),O(_,{key:1,visible:r[t],images:l.value,"default-index":t,"close-on-overlay":"",onClose:e=>(e=>{r[e]=!1})(t)},{trigger:C((()=>[E("div",PY,[E("img",{alt:"test",src:e.content||e.url,class:"tdesign-image-viewer__ui-image--img",onError:e=>(e=>{i[e]=!0})(t)},null,40,jY),E("div",{class:"tdesign-image-viewer__ui-image--hover",onClick:e=>(e=>{r[e]=!0})(t)},[E("span",null,[s(A(de),{size:"1.4em"}),n[3]||(n[3]=x(" 预览 "))])],8,FY),E("div",BY,[E("div",{class:"text-black bg-white bg-opacity-75 p-1 rounded-2xl text-xs truncate",title:e.model},k(e.model),9,UY)])])])),_:2},1032,["visible","images","default-index","onClose"]))])))),128))])):N("",!0)],64)}}}),[["__scopeId","data-v-e5aab120"]]),zY={key:0,class:"whitespace-pre-wrap break-words"},$Y={key:1},YY={class:"flex justify-end mt-2 gap-5"},qY=e({__name:"UserContent",props:{content:{type:Object},isEditing:{type:Boolean,default:!1}},emits:["save","cancel"],setup(e,{emit:n}){const r=e,i=t((()=>[...r.content.files,...r.content.images])),a=n,o=_(r.content.text),l=()=>{a("save",o.value)},c=()=>{o.value=r.content.text,a("cancel")},u=(e,t)=>{},d=_(null);return G((()=>r.isEditing),(e=>{e&&(o.value=r.content.text,D((()=>{d.value.$el.querySelector("textarea").focus()})))})),(t,n)=>{const r=ue,a=L;return y(),v(S,null,[s(le,{files:i.value,showCloseButton:!1,class:"mb-2"},null,8,["files"]),e.isEditing?N("",!0):(y(),v("div",zY,k(e.content.text),1)),e.isEditing?(y(),v("div",$Y,[s(r,{ref_key:"textareaRef",ref:d,modelValue:o.value,"onUpdate:modelValue":n[0]||(n[0]=e=>o.value=e),autosize:{minRows:2,maxRows:20},onBlur:u},null,8,["modelValue"]),E("div",YY,[s(a,{size:"large",shape:"circle",variant:"text",onClick:c},{default:C((()=>[s(A(w),{slot:"icon"})])),_:1}),s(a,{size:"large",shape:"circle",variant:"text",onClick:l},{default:C((()=>[s(A(_e),{slot:"icon"})])),_:1})])])):N("",!0)],64)}}}),HY=e({__name:"CodeRenderer",props:{blocks:{type:Array,required:!0}},setup(e){const n=e,r=_(),i=t((()=>n.blocks.every((e=>e.complete))));const a=t((()=>{var e,t,r,a,o,s;if(!i.value)return"";const l=(null==(e=n.blocks.find((e=>"html"===e.language)))?void 0:e.code)||"",{head:c,body:u}=function(e){const t=e.match(/<head\b[^>]*>([\s\S]*?)<\/head>/i),n=e.match(/<body\b[^>]*>([\s\S]*?)<\/body>/i);return{head:t?t[1].trim():"",body:n?n[1].trim():""}}(l),d=(null==(t=n.blocks.find((e=>"css"===e.language)))?void 0:t.code)||"",h=(null==(r=n.blocks.find((e=>"js"===e.language||"javascript"===e.language||"typescript"===e.language)))?void 0:r.code)||"";null==(a=n.blocks.find((e=>"typescript"===e.language)))||a.code;const p=(null==(o=n.blocks.find((e=>"jsx"===e.language)))?void 0:o.code)||"",g=(null==(s=n.blocks.find((e=>"vue"===e.language)))?void 0:s.code)||"";if(p){const e=p.match(/export default (\w+);/),t=e?e[1]:null;return`\n <!DOCTYPE html>\n <html>\n <head>\n <meta charset="utf-8" />\n <meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'unsafe-inline' 'unsafe-eval' https://cdnjs.cloudflare.com; style-src 'unsafe-inline';">\n <style>${d}</style>\n <script src="https://cdnjs.cloudflare.com/ajax/libs/babel-standalone/7.24.6/babel.min.js"><\/script>\n <script src="https://cdnjs.cloudflare.com/ajax/libs/react/18.3.1/umd/react.production.min.js"><\/script>\n <script src="https://cdnjs.cloudflare.com/ajax/libs/react-dom/18.3.1/umd/react-dom.production.min.js"><\/script>\n ${c}\n </head>\n\n <body>\n <div id="app"></div>\n ${u}\n <script type="text/babel">\n ${function(e){const t=/import\s+(?:(\w+)\s*,?\s*)?(?:{([^}]+)})?\s+from\s+['"]react['"];?/g,n=/import\s+['"]([^'"]+\.css)['"];?/g,r=/import\s+\w+\s+from\s+['"]react-dom['"];?/g,i=/ReactDOM\.render\([^)]*\);?/g;let a,o=e,s="";const l=new Set;for(;null!==(a=t.exec(e));)a[1]&&(s=a[1].trim()),a[2]&&a[2].split(",").forEach((e=>l.add(e.trim())));o=o.replace(t,""),o=o.replace(n,""),o=o.replace(r,""),o=o.replace(i,"");let c="";c+=s?`const ${s} = window.React;\n`:"const React = window.React;\n";l.size>0&&(c+=`const { ${Array.from(l).join(", ")} } = React;\n`);return(c+o).replace(/export default \w+;\s*$/,"")}(p)}\n ReactDOM.render(<${t} />, document.getElementById('app'))\n <\/script>\n </body>\n </html>\n `}if(g){const e=g.match(/<template>([\s\S]*)<\/template>/),t=g.match(/<script\s*(setup)?[^>]*>([\s\S]*)<\/script>/),n=g.match(/<style[^>]*>([\s\S]*)<\/style>/),r=e?e[1].trim():"",i=t?t[2].trim():"",a=t&&"setup"===t[1],o=n?n[1].trim():"";let s=i;if(a)s=s.replace(/import\s+.*from\s+['"].*['"]/g,""),s=`return {\n ${s}\n }`;else{const e=s.match(/export\s+default\s*{([\s\S]*)}/);e&&(s=e[1].trim())}return`\n <!DOCTYPE html>\n <html>\n <head>\n <meta charset="utf-8" />\n <meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'unsafe-inline' 'unsafe-eval' https://unpkg.com; style-src 'unsafe-inline';">\n <script src="https://unpkg.com/vue@3/dist/vue.global.js"><\/script>\n <style>${o}</style>\n ${c}\n </head>\n <body>\n <div id="app">\n ${r}\n </div>\n ${u}\n <script>\n const { createApp, ref, reactive, computed, onMounted } = Vue;\n \n const app = createApp({\n ${a?"setup() {":""}\n ${s}\n ${a?"}":""}\n });\n \n app.mount('#app');\n <\/script>\n </body>\n </html>\n `}return`\n <!DOCTYPE html>\n <html>\n <head>\n <meta charset="utf-8" />\n <meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'unsafe-inline'; style-src 'unsafe-inline';">\n <style>${d}</style>\n ${c}\n </head>\n <body>\n ${u}\n <script>\n ${h}\n <\/script>\n </body>\n </html>\n `}));return G(a,(e=>{r.value&&(r.value.srcdoc=e)})),q((()=>{r.value&&(r.value.srcdoc=a.value)})),(e,t)=>(y(),v("iframe",{ref_key:"iframeRef",ref:r,sandbox:"allow-scripts",style:{width:"100%",height:"100%",border:"none"}},null,512))}});var VY,WY={exports:{}};var QY,KY,XY=(VY||(VY=1,QY=WY,KY=WY.exports,function(e,t){var n="function",r="undefined",i="object",a="string",o="major",s="model",l="name",c="type",u="vendor",d="version",h="architecture",p="console",g="mobile",m="tablet",_="smarttv",b="wearable",f="embedded",y="Amazon",v="Apple",E="ASUS",S="BlackBerry",T="Browser",C="Chrome",x="Firefox",k="Google",A="Huawei",w="LG",N="Microsoft",O="Motorola",R="Opera",I="Samsung",D="Sharp",M="Sony",L="Xiaomi",P="Zebra",j="Facebook",F="Chromium OS",B="Mac OS",U=" Browser",G=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},z=function(e,t){return typeof e===a&&-1!==$(t).indexOf($(e))},$=function(e){return e.toLowerCase()},Y=function(e,t){if(typeof e===a)return e=e.replace(/^\s\s*/,""),typeof t===r?e:e.substring(0,500)},q=function(e,r){for(var a,o,s,l,c,u,d=0;d<r.length&&!c;){var h=r[d],p=r[d+1];for(a=o=0;a<h.length&&!c&&h[a];)if(c=h[a++].exec(e))for(s=0;s<p.length;s++)u=c[++o],typeof(l=p[s])===i&&l.length>0?2===l.length?typeof l[1]==n?this[l[0]]=l[1].call(this,u):this[l[0]]=l[1]:3===l.length?typeof l[1]!==n||l[1].exec&&l[1].test?this[l[0]]=u?u.replace(l[1],l[2]):t:this[l[0]]=u?l[1].call(this,u,l[2]):t:4===l.length&&(this[l[0]]=u?l[3].call(this,u.replace(l[1],l[2])):t):this[l]=u||t;d+=2}},H=function(e,n){for(var r in n)if(typeof n[r]===i&&n[r].length>0){for(var a=0;a<n[r].length;a++)if(z(n[r][a],e))return"?"===r?t:r}else if(z(n[r],e))return"?"===r?t:r;return n.hasOwnProperty("*")?n["*"]:e},V={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},W={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[d,[l,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[d,[l,"Edge"]],[ +// Presto based +/(opera mini)\/([-\w\.]+)/i, +// Opera Mini +/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, +// Opera Mobi/Tablet +/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[l,d],[/opios[\/ ]+([\w\.]+)/i],[d,[l,R+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[d,[l,R+" GX"]],[/\bopr\/([\w\.]+)/i],[d,[l,R]],[ +// Mixed +/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[d,[l,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[d,[l,"Maxthon"]],[/(kindle)\/([\w\.]+)/i, +// Kindle +/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i, +// Lunascape/Maxthon/Netfront/Jasmine/Blazer/Sleipnir +// Trident based +/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i, +// Avant/IEMobile/SlimBrowser/SlimBoat/Slimjet +/(?:ms|\()(ie) ([\w\.]+)/i, +// Internet Explorer +// Blink/Webkit/KHTML based // Flock/RockMelt/Midori/Epiphany/Silk/Skyfire/Bolt/Iron/Iridium/PhantomJS/Bowser/QupZilla/Falkon +/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i, +// Rekonq/Puffin/Brave/Whale/QQBrowserLite/QQ//Vivaldi/DuckDuckGo/Klar/Helio/Dragon +/(heytap|ovi|115)browser\/([\d\.]+)/i, +// HeyTap/Ovi/115 +/(weibo)__([\d\.]+)/i],[l,d],[/quark(?:pc)?\/([-\w\.]+)/i],[d,[l,"Quark"]],[/\bddg\/([\w\.]+)/i],[d,[l,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[d,[l,"UC"+T]],[/microm.+\bqbcore\/([\w\.]+)/i, +// WeChat Desktop for Windows Built-in Browser +/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[d,[l,"WeChat"]],[/konqueror\/([\w\.]+)/i],[d,[l,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[d,[l,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[d,[l,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[d,[l,"Smart Lenovo "+T]],[/(avast|avg)\/([\w\.]+)/i],[[l,/(.+)/,"$1 Secure "+T],d],[/\bfocus\/([\w\.]+)/i],[d,[l,x+" Focus"]],[/\bopt\/([\w\.]+)/i],[d,[l,R+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[d,[l,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[d,[l,"Dolphin"]],[/coast\/([\w\.]+)/i],[d,[l,R+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[d,[l,"MIUI"+U]],[/fxios\/([\w\.-]+)/i],[d,[l,x]],[/\bqihoobrowser\/?([\w\.]*)/i],[d,[l,"360"]],[/\b(qq)\/([\w\.]+)/i],[[l,/(.+)/,"$1Browser"],d],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[l,/(.+)/,"$1"+U],d],[ +// Oculus/Sailfish/HuaweiBrowser/VivoBrowser/PicoBrowser +/samsungbrowser\/([\w\.]+)/i],[d,[l,I+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[d,[l,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[l,"Sogou Mobile"],d],[/(electron)\/([\w\.]+) safari/i, +// Electron-based App +/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, +// Tesla +/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[l,d],[/(lbbrowser|rekonq)/i, +// LieBao Browser/Rekonq +/\[(linkedin)app\]/i],[l],[/ome\/([\w\.]+) \w* ?(iron) saf/i, +// Iron +/ome\/([\w\.]+).+qihu (360)[es]e/i],[d,l],[ +// WebView +/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[l,j],d],[/(Klarna)\/([\w\.]+)/i, +// Klarna Shopping Browser for iOS & Android +/(kakao(?:talk|story))[\/ ]([\w\.]+)/i, +// Kakao App +/(naver)\(.*?(\d+\.[\w\.]+).*\)/i, +// Naver InApp +/safari (line)\/([\w\.]+)/i, +// Line App for iOS +/\b(line)\/([\w\.]+)\/iab/i, +// Line App for Android +/(alipay)client\/([\w\.]+)/i, +// Alipay +/(twitter)(?:and| f.+e\/([\w\.]+))/i, +// Twitter +/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[l,d],[/\bgsa\/([\w\.]+) .*safari\//i],[d,[l,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[d,[l,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[d,[l,C+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[l,C+" WebView"],d],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[d,[l,"Android "+T]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[l,d],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[d,[l,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[d,l],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[l,[d,H,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[l,d],[ +// Gecko based +/(navigator|netscape\d?)\/([-\w\.]+)/i],[[l,"Netscape"],d],[/(wolvic|librewolf)\/([\w\.]+)/i],[l,d],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[d,[l,x+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i, +// Flow +/(swiftfox)/i, +// Swiftfox +/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i, +// IceDragon/Iceweasel/Camino/Chimera/Fennec/Maemo/Minimo/Conkeror +/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, +// Firefox/SeaMonkey/K-Meleon/IceCat/IceApe/Firebird/Phoenix +/(firefox)\/([\w\.]+)/i, +// Other Firefox-based +/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, +// Mozilla +// Other +/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, +// Polaris/Lynx/Dillo/iCab/Doris/Amaya/w3m/NetSurf/Obigo/Mosaic/Go/ICE/UP.Browser +/(links) \(([\w\.]+)/i],[l,[d,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[l,[d,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[h,"amd64"]],[/(ia32(?=;))/i],[[h,$]],[/((?:i[346]|x)86)[;\)]/i],[[h,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[h,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[h,"armhf"]],[ +// PocketPC mistakenly identified as PowerPC +/windows (ce|mobile); ppc;/i],[[h,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[h,/ower/,"",$]],[/(sun4\w)[;\)]/i],[[h,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[h,$]]],device:[[ +////////////////////////// +// MOBILES & TABLETS +///////////////////////// +// Samsung +/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[s,[u,I],[c,m]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[s,[u,I],[c,g]],[ +// Apple +/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[s,[u,v],[c,g]],[/\((ipad);[-\w\),; ]+apple/i, +// iPad +/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[s,[u,v],[c,m]],[/(macintosh);/i],[s,[u,v]],[ +// Sharp +/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[s,[u,D],[c,g]],[ +// Honor +/(?:honor)([-\w ]+)[;\)]/i],[s,[u,"Honor"],[c,g]],[ +// Huawei +/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[s,[u,A],[c,m]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[s,[u,A],[c,g]],[ +// Xiaomi +/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i, +// Xiaomi POCO +/\b; (\w+) build\/hm\1/i, +// Xiaomi Hongmi 'numeric' models +/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, +// Xiaomi Hongmi +/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, +// Xiaomi Redmi +/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i, +// Xiaomi Redmi 'numeric' models +/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i],[[s,/_/g," "],[u,L],[c,g]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i, +// Redmi Pad +/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[s,/_/g," "],[u,L],[c,m]],[ +// OPPO +/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[s,[u,"OPPO"],[c,g]],[/\b(opd2\d{3}a?) bui/i],[s,[u,"OPPO"],[c,m]],[ +// Vivo +/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[s,[u,"Vivo"],[c,g]],[ +// Realme +/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[s,[u,"Realme"],[c,g]],[ +// Motorola +/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[s,[u,O],[c,g]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[s,[u,O],[c,m]],[ +// LG +/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[s,[u,w],[c,m]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[s,[u,w],[c,g]],[ +// Lenovo +/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[s,[u,"Lenovo"],[c,m]],[ +// Nokia +/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[s,/_/g," "],[u,"Nokia"],[c,g]],[ +// Google +/(pixel c)\b/i],[s,[u,k],[c,m]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[s,[u,k],[c,g]],[ +// Sony +/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[s,[u,M],[c,g]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[s,"Xperia Tablet"],[u,M],[c,m]],[ +// OnePlus +/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[s,[u,"OnePlus"],[c,g]],[ +// Amazon +/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i, +// Kindle Fire without Silk / Echo Show +/(kf[a-z]+)( bui|\)).+silk\//i],[s,[u,y],[c,m]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[s,/(.+)/g,"Fire Phone $1"],[u,y],[c,g]],[ +// BlackBerry +/(playbook);[-\w\),; ]+(rim)/i],[s,u,[c,m]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[s,[u,S],[c,g]],[ +// Asus +/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[s,[u,E],[c,m]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[s,[u,E],[c,g]],[ +// HTC +/(nexus 9)/i],[s,[u,"HTC"],[c,m]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, +// HTC +// ZTE +/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[u,[s,/_/g," "],[c,g]],[ +// TCL +/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[s,[u,"TCL"],[c,m]],[ +// itel +/(itel) ((\w+))/i],[[u,$],s,[c,H,{tablet:["p10001l","w7001"],"*":"mobile"}]],[ +// Acer +/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[s,[u,"Acer"],[c,m]],[ +// Meizu +/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[s,[u,"Meizu"],[c,g]],[ +// Ulefone +/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[s,[u,"Ulefone"],[c,g]],[ +// Energizer +/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[s,[u,"Energizer"],[c,g]],[ +// Cat +/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[s,[u,"Cat"],[c,g]],[ +// Smartfren +/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[s,[u,"Smartfren"],[c,g]],[ +// Nothing +/droid.+; (a(?:015|06[35]|142p?))/i],[s,[u,"Nothing"],[c,g]],[ +// MIXED +/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i, +// BlackBerry/BenQ/Palm/Sony-Ericsson/Acer/Asus/Dell/Meizu/Motorola/Polytron/Infinix/Tecno/Micromax/Advan +/; (imo) ((?!tab)[\w ]+?)(?: bui|\))/i, +// IMO +/(hp) ([\w ]+\w)/i, +// HP iPAQ +/(asus)-?(\w+)/i, +// Asus +/(microsoft); (lumia[\w ]+)/i, +// Microsoft Lumia +/(lenovo)[-_ ]?([-\w]+)/i, +// Lenovo +/(jolla)/i, +// Jolla +/(oppo) ?([\w ]+) bui/i],[u,s,[c,g]],[/(imo) (tab \w+)/i, +// IMO +/(kobo)\s(ereader|touch)/i, +// Kobo +/(archos) (gamepad2?)/i, +// Archos +/(hp).+(touchpad(?!.+tablet)|tablet)/i, +// HP TouchPad +/(kindle)\/([\w\.]+)/i, +// Kindle +/(nook)[\w ]+build\/(\w+)/i, +// Nook +/(dell) (strea[kpr\d ]*[\dko])/i, +// Dell Streak +/(le[- ]+pan)[- ]+(\w{1,9}) bui/i, +// Le Pan Tablets +/(trinity)[- ]*(t\d{3}) bui/i, +// Trinity Tablets +/(gigaset)[- ]+(q\w{1,9}) bui/i, +// Gigaset Tablets +/(vodafone) ([\w ]+)(?:\)| bui)/i],[u,s,[c,m]],[/(surface duo)/i],[s,[u,N],[c,m]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[s,[u,"Fairphone"],[c,g]],[/(u304aa)/i],[s,[u,"AT&T"],[c,g]],[/\bsie-(\w*)/i],[s,[u,"Siemens"],[c,g]],[/\b(rct\w+) b/i],[s,[u,"RCA"],[c,m]],[/\b(venue[\d ]{2,7}) b/i],[s,[u,"Dell"],[c,m]],[/\b(q(?:mv|ta)\w+) b/i],[s,[u,"Verizon"],[c,m]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[s,[u,"Barnes & Noble"],[c,m]],[/\b(tm\d{3}\w+) b/i],[s,[u,"NuVision"],[c,m]],[/\b(k88) b/i],[s,[u,"ZTE"],[c,m]],[/\b(nx\d{3}j) b/i],[s,[u,"ZTE"],[c,g]],[/\b(gen\d{3}) b.+49h/i],[s,[u,"Swiss"],[c,g]],[/\b(zur\d{3}) b/i],[s,[u,"Swiss"],[c,m]],[/\b((zeki)?tb.*\b) b/i],[s,[u,"Zeki"],[c,m]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[u,"Dragon Touch"],s,[c,m]],[/\b(ns-?\w{0,9}) b/i],[s,[u,"Insignia"],[c,m]],[/\b((nxa|next)-?\w{0,9}) b/i],[s,[u,"NextBook"],[c,m]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[u,"Voice"],s,[c,g]],[/\b(lvtel\-)?(v1[12]) b/i],[[u,"LvTel"],s,[c,g]],[/\b(ph-1) /i],[s,[u,"Essential"],[c,g]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[s,[u,"Envizen"],[c,m]],[/\b(trio[-\w\. ]+) b/i],[s,[u,"MachSpeed"],[c,m]],[/\btu_(1491) b/i],[s,[u,"Rotor"],[c,m]],[/(shield[\w ]+) b/i],[s,[u,"Nvidia"],[c,m]],[/(sprint) (\w+)/i],[u,s,[c,g]],[/(kin\.[onetw]{3})/i],[[s,/\./g," "],[u,N],[c,g]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[s,[u,P],[c,m]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[s,[u,P],[c,g]],[ +/////////////////// +// SMARTTVS +/////////////////// +/smart-tv.+(samsung)/i],[u,[c,_]],[/hbbtv.+maple;(\d+)/i],[[s,/^/,"SmartTV"],[u,I],[c,_]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[u,w],[c,_]],[/(apple) ?tv/i],[u,[s,v+" TV"],[c,_]],[/crkey/i],[[s,C+"cast"],[u,k],[c,_]],[/droid.+aft(\w+)( bui|\))/i],[s,[u,y],[c,_]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[s,[u,D],[c,_]],[/(bravia[\w ]+)( bui|\))/i],[s,[u,M],[c,_]],[/(mitv-\w{5}) bui/i],[s,[u,L],[c,_]],[/Hbbtv.*(technisat) (.*);/i],[u,s,[c,_]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, +// Roku +/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[u,Y],[s,Y],[c,_]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[c,_]],[ +/////////////////// +// CONSOLES +/////////////////// +/(ouya)/i, +// Ouya +/(nintendo) ([wids3utch]+)/i],[u,s,[c,p]],[/droid.+; (shield) bui/i],[s,[u,"Nvidia"],[c,p]],[/(playstation [345portablevi]+)/i],[s,[u,M],[c,p]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[s,[u,N],[c,p]],[ +/////////////////// +// WEARABLES +/////////////////// +/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i],[s,[u,I],[c,b]],[/((pebble))app/i],[u,s,[c,b]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[s,[u,v],[c,b]],[/droid.+; (glass) \d/i],[s,[u,k],[c,b]],[/droid.+; (wt63?0{2,3})\)/i],[s,[u,P],[c,b]],[ +/////////////////// +// XR +/////////////////// +/droid.+; (glass) \d/i],[s,[u,k],[c,b]],[/(pico) (4|neo3(?: link|pro)?)/i],[u,s,[c,b]],[/; (quest( \d| pro)?)/i],[s,[u,j],[c,b]],[ +/////////////////// +// EMBEDDED +/////////////////// +/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[u,[c,f]],[/(aeobc)\b/i],[s,[u,y],[c,f]],[ +//////////////////// +// MIXED (GENERIC) +/////////////////// +/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[s,[c,g]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[s,[c,m]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[c,m]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[c,g]],[/(android[-\w\. ]{0,9});.+buil/i],[s,[u,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[d,[l,"EdgeHTML"]],[/(arkweb)\/([\w\.]+)/i],[l,d],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[d,[l,"Blink"]],[/(presto)\/([\w\.]+)/i, +// Presto +/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i, +// WebKit/Trident/NetFront/NetSurf/Amaya/Lynx/w3m/Goanna/Servo +/ekioh(flow)\/([\w\.]+)/i, +// Flow +/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, +// KHTML/Tasman/Links +/(icab)[\/ ]([23]\.[\d\.]+)/i, +// iCab +/\b(libweb)/i],[l,d],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[d,l]],os:[[ +// Windows +/microsoft (windows) (vista|xp)/i],[l,d],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[l,[d,H,V]],[/windows nt 6\.2; (arm)/i, +// Windows RT +/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[d,H,V],[l,"Windows"]],[ +// iOS/macOS +/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i, +// iOS +/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[d,/_/g,"."],[l,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[l,B],[d,/_/g,"."]],[ +// Mobile OSes +/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[d,l],[ +// Android/WebOS/QNX/Bada/RIM/Maemo/MeeGo/Sailfish OS/OpenHarmony +/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish|openharmony)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i, +// Blackberry +/(tizen|kaios)[\/ ]([\w\.]+)/i, +// Tizen/KaiOS +/\((series40);/i],[l,d],[/\(bb(10);/i],[d,[l,S]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[d,[l,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[d,[l,x+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[d,[l,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[d,[l,"watchOS"]],[ +// Google Chromecast +/crkey\/([\d\.]+)/i],[d,[l,C+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[l,F],d],[ +// Smart TVs +/panasonic;(viera)/i, +// Panasonic Viera +/(netrange)mmh/i, +// Netrange +/(nettv)\/(\d+\.[\w\.]+)/i, +// NetTV +// Console +/(nintendo|playstation) ([wids345portablevuch]+)/i, +// Nintendo/Playstation +/(xbox); +xbox ([^\);]+)/i, +// Microsoft Xbox (360, One, X, S, Series X, Series S) +// Other +/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, +// Joli/Palm +/(mint)[\/\(\) ]?(\w*)/i, +// Mint +/(mageia|vectorlinux)[; ]/i, +// Mageia/VectorLinux +/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, +// Ubuntu/Debian/SUSE/Gentoo/Arch/Slackware/Fedora/Mandriva/CentOS/PCLinuxOS/RedHat/Zenwalk/Linpus/Raspbian/Plan9/Minix/RISCOS/Contiki/Deepin/Manjaro/elementary/Sabayon/Linspire +/(hurd|linux) ?([\w\.]*)/i, +// Hurd/Linux +/(gnu) ?([\w\.]*)/i, +// GNU +/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, +// FreeBSD/NetBSD/OpenBSD/PC-BSD/GhostBSD/DragonFly +/(haiku) (\w+)/i],[l,d],[/(sunos) ?([\w\.\d]*)/i],[[l,"Solaris"],d],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, +// Solaris +/(aix) ((\d)(?=\.|\)| )[\w\.])*/i, +// AIX +/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, +// BeOS/OS2/AmigaOS/MorphOS/OpenVMS/Fuchsia/HP-UX/SerenityOS +/(unix) ?([\w\.]*)/i],[l,d]]},Q=function(p,_){if(typeof p===i&&(_=p,p=t),!(this instanceof Q))return new Q(p,_).getResult();var b=typeof e!==r&&e.navigator?e.navigator:t,f=p||(b&&b.userAgent?b.userAgent:""),y=b&&b.userAgentData?b.userAgentData:t,v=_?function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n}(W,_):W,E=b&&b.userAgent==f;return this.getBrowser=function(){var e,r={};return r[l]=t,r[d]=t,q.call(r,f,v.browser),r[o]=typeof(e=r[d])===a?e.replace(/[^\d\.]/g,"").split(".")[0]:t,E&&b&&b.brave&&typeof b.brave.isBrave==n&&(r[l]="Brave"),r},this.getCPU=function(){var e={};return e[h]=t,q.call(e,f,v.cpu),e},this.getDevice=function(){var e={};return e[u]=t,e[s]=t,e[c]=t,q.call(e,f,v.device),E&&!e[c]&&y&&y.mobile&&(e[c]=g),E&&"Macintosh"==e[s]&&b&&typeof b.standalone!==r&&b.maxTouchPoints&&b.maxTouchPoints>2&&(e[s]="iPad",e[c]=m),e},this.getEngine=function(){var e={};return e[l]=t,e[d]=t,q.call(e,f,v.engine),e},this.getOS=function(){var e={};return e[l]=t,e[d]=t,q.call(e,f,v.os),E&&!e[l]&&y&&y.platform&&"Unknown"!=y.platform&&(e[l]=y.platform.replace(/chrome os/i,F).replace(/macos/i,B)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return f},this.setUA=function(e){return f=typeof e===a&&e.length>500?Y(e,500):e,this},this.setUA(f),this};Q.VERSION="1.0.40",Q.BROWSER=G([l,d,o]),Q.CPU=G([h]),Q.DEVICE=G([s,u,c,p,g,_,m,b,f]),Q.ENGINE=Q.OS=G([l,d]),QY.exports&&(KY=QY.exports=Q),KY.UAParser=Q;var K=typeof e!==r&&(e.jQuery||e.Zepto);if(K&&!K.ua){var X=new Q;K.ua=X.getResult(),K.ua.get=function(){return X.getUA()},K.ua.set=function(e){X.setUA(e);var t=X.getResult();for(var n in t)K.ua[n]=t[n]}}}("object"==typeof window?window:WY.exports)),WY.exports);const ZY=d(XY),JY="v-code-block"; +/** + * @name @wdns/vue-code-block + * @version 2.3.5 + * @description Vue 3 CodeBlock - Highlight your code with ease using this syntax highlighting component powered by PrismJS or Highlight.js. + * @author WebDevNerdStuff & Bunnies... lots and lots of bunnies! <webdevnerdstuff@gmail.com> (https://webdevnerdstuff.com) + * @copyright Copyright 2024, WebDevNerdStuff + * @homepage https://webdevnerdstuff.github.io/vue-code-block/ + * @repository https://github.com/webdevnerdstuff/vue-code-block + * @license MIT License + */function eq(e){return""===e||"prism"===e?"default":e}function tq(e){return e?"highlightjs":"prism"}const nq=e=>{const{str:t,unit:n="px"}=e;if(null!=t&&""!==t&&void 0!==t)return+t?`${Number(t)}${n}`:String(t)},rq=[E("path",{d:"M224 0c-35.3 0-64 28.7-64 64V288c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64H224zM64 160c-35.3 0-64 28.7-64 64V448c0 35.3 28.7 64 64 64H288c35.3 0 64-28.7 64-64V384H288v64H64V224h64V160H64z"},null,-1)],iq=[E("path",{d:"M470.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L192 338.7 425.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"},null,-1)],aq=[E("path",{d:"M310.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L160 210.7 54.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L114.7 256 9.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 301.3 265.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L205.3 256 310.6 150.6z"},null,-1)],oq=e({__name:"StatusIcons",props:{icon:{type:String,required:!0}},setup:e=>(t,n)=>"copy"===e.icon?(y(),v("svg",J({key:0},t.$attrs,{viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"}),rq,16)):"success"===e.icon?(y(),v("svg",J({key:1},t.$attrs,{viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"}),iq,16)):"failed"===e.icon?(y(),v("svg",J({key:2},t.$attrs,{viewBox:"0 0 320 512",xmlns:"http://www.w3.org/2000/svg"}),aq,16)):N("",!0)});function sq(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}const lq={class:"v-code-block--button-copy"},cq={class:"v-code-block--button-run"},uq={class:"v-code-block--code"},dq=["textContent"],hq=["innerHTML"],pq=(e=>{const t=e.__vccOpts||e;for(const[n,r]of[["__scopeId","data-v-51ec5829"]])t[n]=r;return t})(e({__name:"VCodeBlock",props:H({browserWindow:{type:Boolean},cssPath:{},code:{},codeBlockRadius:{},copyButton:{type:Boolean},copyIcons:{type:Boolean},copyTab:{type:Boolean},copyFailedText:{},copyText:{},copySuccessText:{},floatingTabs:{type:Boolean},globalOptions:{type:Boolean},height:{},highlightjs:{type:Boolean},indent:{},label:{},lang:{},languages:{},maxHeight:{},persistentCopyButton:{type:Boolean},prismjs:{type:Boolean},prismPlugin:{type:Boolean},runTab:{type:Boolean},runText:{},tabGap:{},tabs:{type:Boolean},theme:{type:[String,Boolean]}},{browserWindow:!1,cssPath:void 0,code:"",codeBlockRadius:"0.5rem",copyButton:!0,copyIcons:!0,copyTab:!0,copyFailedText:"Copy failed!",copyText:"Copy Code",copySuccessText:"Copied!",floatingTabs:!0,height:"auto",highlightjs:!1,indent:2,label:"",lang:"javascript",maxHeight:"auto",persistentCopyButton:!1,prismjs:!1,prismPlugin:!1,runTab:!1,runText:"Run",tabGap:"0.25rem",tabs:!1,theme:"neon-bunny"}),emits:["run","update:copy-status"],setup(e,{emit:n}){const r=n,i=V(),a=W(gq,{}),o=e,s=_({...o,...a});let l,c;const u=_(null),d=_("copy"),p=_(""),g=_(!1),m=_(!1),b=_(!1),f=_("https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.8.0/build/styles"),T=_("https://cdn.jsdelivr.net/gh/PrismJS/prism@1.29.0/themes"),C=_("https://cdn.jsdelivr.net/gh/PrismJS/prism-themes@1.9.0/themes"),w=_(""),I=_(""),D=_(""),{copyButton:M,copyIcons:L,copyTab:P,label:j,runTab:F,tabs:B}=Q(s.value),U=t((()=>{let e="";return s.value.highlightjs&&(e=w.value),s.value.prismjs&&s.value.prismPlugin&&(e=u.value),e})),z=t((()=>(e=>{const{isMobile:t,isPrism:n}=e;return{[`${JY}`]:!0,[`${JY}-mb-5`]:!0,[`${JY}--mobile`]:A(t),[`${JY}--prismjs`]:A(n),[`${JY}--highlightjs`]:!A(n)}})({isMobile:b,isPrism:s.value.prismjs}))),$=t((()=>(e=>{const{copyStatus:t,isMobile:n,persistentCopyButton:r}=e;return{[`${JY}--code-copy-button`]:!0,[`${JY}--code-copy-button-mobile`]:A(n),[`${JY}--code-copy-button-persist`]:A(r),[`${JY}--code-copy-button-status-${A(t)}`]:!0}})({copyStatus:d,isMobile:b,persistentCopyButton:s.value.persistentCopyButton}))),Y=t((()=>(e=>{const{copyStatus:t,highlightjs:n,useTheme:r}=e,i=tq(A(n)),a=eq(A(r));return{[`${JY}--button-copy-icon-status-${A(t)}`]:!0,[`${JY}--me-1`]:!0,[`${JY}--tab-${i}-${a}-icon-status-${A(t)}`]:!0,[`${JY}--tab-${i}-${a}-icon`]:!0}})({copyStatus:d,highlightjs:s.value.highlightjs,useTheme:D}))),H=t((()=>(e=>{const{isMobile:t}=e;return{[`${JY}--label`]:!0,[`${JY}--label-mobile`]:A(t)}})({isMobile:b}))),te=t((()=>(e=>{const{highlightjs:t,useTheme:n}=e,r=tq(A(t)),i=eq(A(n));return{[`${JY}--tab-${i}`]:!0,[`${JY}--tab-${r}-${i}`]:!0}})({highlightjs:s.value.highlightjs,useTheme:D}))),ne=t((()=>(e=>{const{isLoading:t,useTheme:n}=e,r={width:"coy"===A(n)&&!1===A(t)?"100%":""};return"coy"===A(n)&&(r.padding="1em"),r})({isLoading:m,useTheme:D}))),re=t((()=>(e=>{const{floatingTabs:t,tabGap:n}=e;return{bottom:t?"1px":"0",gap:nq({str:A(n)})||"0px"}})({floatingTabs:s.value.floatingTabs,tabGap:s.value.tabGap}))),ie=t((()=>(e=>{const{copyTab:t,height:n,maxHeight:r,radius:i,runTab:a,tabs:o,useTheme:s}=e,l=A(i);let c=`${l} 0 ${l} ${l} !important`;return A(o)&&(A(t)||A(a))||(c=l),{borderRadius:c,display:"funky"!==A(s)?"flex":"block",height:nq({str:A(n)}),maxHeight:nq({str:A(r)}),overflow:"auto"}})({copyTab:P.value,height:s.value.height,maxHeight:s.value.maxHeight,radius:s.value.codeBlockRadius,runTab:F.value,tabs:B.value,useTheme:D}))),ae=t((()=>(e=>{const{tabGap:t}=e;return{gap:nq({str:A(t)})||"0px"}})({tabGap:s.value.tabGap})));function oe(){if(!s.value.prismjs&&!s.value.highlightjs)throw new Error("[vue-code-block]: You must set either the prismjs or highlightjs props.");if(s.value.prismjs&&s.value.highlightjs)throw new Error("[vue-code-block]: You cannot have both prismjs and highlightjs props set at the same time.");if(s.value.highlightjs&&s.value.prismPlugin)throw new Error("[vue-code-block]: Highlight.js does not support PrismJS plugins. Unexpected results may occur. Remove the `prism-plugin` prop from the vue-code-block component.")}function se(){g.value||(g.value=!0,navigator.clipboard.writeText(u.value).then((()=>{p.value=s.value.copySuccessText,d.value="success",r("update:copy-status",d.value)}),(e=>{p.value=s.value.copyFailedText,d.value="failed",r("update:copy-status",d.value)})),setTimeout((()=>{p.value=s.value.copyText,d.value="copy",r("update:copy-status",d.value),g.value=!1}),3e3))}function le(){let e="";const t=s.value.highlightjs?"highlightjs":"prism",n=document.getElementsByTagName("head")[0],r=document.createElement("style"),i=document.body.getAttribute("data-v-code-block-theme");let a=`v-code-block--theme-${D.value}-${t}`,o=!0,l=!0,c="",u="";if(a=ue(t,a),i===D.value||i===a||"boolean"==typeof D.value)return;switch(document.body.setAttribute("data-v-code-block-theme",a),r.setAttribute("type","text/css"),r.setAttribute("data-theme-id",a),r.setAttribute("data-theme","v-code-block--theme-sheet"),D.value){case"neon-bunny":e='/**\n\t* MIT License\n\t* Copyright (c) 2023 WebDevNerdStuff\n\t* WebDevNerdStuff Neon Bunny\n\t* VSCode Theme: https://marketplace.visualstudio.com/items?itemName=WebDevNerdStuff.neon-bunny\n\t*/\n\t:root{--neon-bunny-blue-light: #2492ff;--neon-bunny-blue: #0b93ff;--neon-bunny-gray-lighter: #aaa;--neon-bunny-gray: #7f817e;--neon-bunny-green-darker-darker: #008b05;--neon-bunny-green-darker: #2bb71d;--neon-bunny-green-light: #2bb71d;--neon-bunny-green-neon: #0aff04;--neon-bunny-green: #00d205;--neon-bunny-lime-lighter: #c3e88d;--neon-bunny-lime: #b2ff02;--neon-bunny-magenta: #df00df;--neon-bunny-neon-green: #00ff00;--neon-bunny-orange: #e58100;--neon-bunny-peach-darker: #ffb46a;--neon-bunny-peach-light: #ffe4a6;--neon-bunny-peach: #ffcb6b;--neon-bunny-pink: #ff1190;--neon-bunny-purple-light-dim: #c792ea;--neon-bunny-purple-light: #d285cc;--neon-bunny-purple: #ea03ff;--neon-bunny-red: #ff3229;--neon-bunny-salmon: #ff6f5b;--neon-bunny-teal: #80fcff;--neon-bunny-white: #fff;--neon-bunny-yellow: #fef611;--neon-bunny-atrule: var(--neon-bunny-peach);--neon-bunny-attr-name: var(--neon-bunny-purple-light-dim);--neon-bunny-attr-value: var(--neon-bunny-peach);--neon-bunny-boolean: var(--neon-bunny-blue-light);--neon-bunny-builtin: var(--neon-bunny-purple);--neon-bunny-cdata: var(--neon-bunny-gray);--neon-bunny-char: var(--neon-bunny-pink);--neon-bunny-class-name: var(--neon-bunny-peach);--neon-bunny-comment: var(--neon-bunny-gray);--neon-bunny-constant: var(--neon-bunny-green-darker);--neon-bunny-deleted: var(--neon-bunny-red);--neon-bunny-entity: var(--neon-bunny-peach);--neon-bunny-function: var(--neon-bunny-green-neon);--neon-bunny-important: var(--neon-bunny-red);--neon-bunny-inserted: var(--neon-bunny-lime-lighter);--neon-bunny-keyword: var(--neon-bunny-blue);--neon-bunny-namespace: var(--neon-bunny-peach);--neon-bunny-number: var(--neon-bunny-white);--neon-bunny-operator: var(--neon-bunny-blue-light);--neon-bunny-prolog: var(--neon-bunny-gray);--neon-bunny-property: var(--neon-bunny-pink);--neon-bunny-punctuation: var(--neon-bunny-blue);--neon-bunny-regex: var(--neon-bunny-peach-light);--neon-bunny-string: var(--neon-bunny-green-darker);--neon-bunny-symbol: var(--neon-bunny-pink);--neon-bunny-tag: var(--neon-bunny-blue-light);--neon-bunny-url: var(--neon-bunny-orange);--neon-bunny-variable: var(--neon-bunny-green-darker);--neon-bunny-html-attr-name: var(--neon-bunny-green);--neon-bunny-html-attr-value-punctuation: var(--neon-bunny-peach-darker);--neon-bunny-html-attr-value: var(--neon-bunny-peach-darker);--neon-bunny-css-atrule-rule: var(--neon-bunny-blue);--neon-bunny-css-atrule: var(--neon-bunny-white);--neon-bunny-css-function: var(--neon-bunny-orange);--neon-bunny-css-property: var(--neon-bunny-pink);--neon-bunny-css-punctuation: var(--neon-bunny-white);--neon-bunny-css-selector: var(--neon-bunny-lime);--neon-bunny-css-string: var(--neon-bunny-green-light);--neon-bunny-css: var(--neon-bunny-purple-light-dim);--neon-bunny-js-keyword: var(--neon-bunny-blue);--neon-bunny-js-literal-property: var(--neon-bunny-neon-green);--neon-bunny-js-operator: var(--neon-bunny-blue-light);--neon-bunny-js-punctuation: var(--neon-bunny-white);--neon-bunny-js-string: var(--neon-bunny-green-darker-darker);--neon-bunny-js-template-string-string: var(--neon-bunny-green-darker-darker);--neon-bunny-js: var(--neon-bunny-green-darker);--neon-bunny-php-boolean: var(--neon-bunny-blue);--neon-bunny-php-class-name-definition-class-name: var(--neon-bunny-magenta);--neon-bunny-php-class-name-return-type: var(--neon-bunny-gray-lighter);--neon-bunny-php-class-name: var(--neon-bunny-teal);--neon-bunny-php-double-quote-string: var(--neon-bunny-salmon);--neon-bunny-php-function: var(--neon-bunny-green-neon);--neon-bunny-php-keyword-type-hint: var(--neon-bunny-gray-lighter);--neon-bunny-php-keyword: var(--neon-bunny-blue);--neon-bunny-php-operator: var(--neon-bunny-purple);--neon-bunny-php-package: var(--neon-bunny-peach);--neon-bunny-php-property: var(--neon-bunny-purple-light);--neon-bunny-php-punctuation: var(--neon-bunny-white);--neon-bunny-php-single-quote-string: var(--neon-bunny-yellow);--neon-bunny-php-variable: var(--neon-bunny-purple-light)}code[class*=language-],pre[class*=language-]{-moz-hyphens:none;-moz-tab-size:4;-ms-hyphens:none;-o-tab-size:4;-webkit-hyphens:none;color:var(--neon-bunny-white);font-family:Consolas,Monaco,"Andale Mono","Ubuntu Mono",monospace;font-size:1em;hyphens:none;line-height:1.5;tab-size:4;text-align:left;white-space:pre;word-break:normal;word-spacing:normal;word-wrap:normal}code[class*=language-]::-moz-selection,code[class*=language-] ::-moz-selection,pre[class*=language-]::-moz-selection,pre[class*=language-] ::-moz-selection{background:rgba(29,59,83,.99);text-shadow:none}code[class*=language-]::selection,code[class*=language-] ::selection,pre[class*=language-]::selection,pre[class*=language-] ::selection{background:rgba(255,255,255,.0823529412);text-shadow:none}@media print{code[class*=language-],pre[class*=language-]{text-shadow:none}}pre[class*=language-]{background:#000;color:#fff;margin:.5em 0;overflow:auto;padding:1em}:not(pre)>code[class*=language-]{background:#000;color:#fff;border-radius:.3em;padding:.1em;white-space:normal}.token.atrule{color:var(--neon-bunny-atrule)}.token.attr-name{color:var(--neon-bunny-attr-name)}.token.attr-value{color:var(--neon-bunny-attr-value)}.token.bold{font-weight:bold}.token.boolean{color:var(--neon-bunny-boolean)}.token.builtin{color:var(--neon-bunny-builtin)}.token.cdata{color:var(--neon-bunny-cdata);font-style:italic}.token.char{color:var(--neon-bunny-char)}.token.class-name{color:var(--neon-bunny-class-name)}.token.comment{color:var(--neon-bunny-comment);font-style:italic}.token.constant{color:var(--neon-bunny-constant)}.token.deleted{color:var(--neon-bunny-deleted)}.token.entity{color:var(--neon-bunny-entity)}.token.function{color:var(--neon-bunny-function)}.token.important{color:var(--neon-bunny-important);font-style:italic}.token.inserted{color:var(--neon-bunny-inserted)}.token.italic{font-style:italic}.token.keyword{color:var(--neon-bunny-keyword)}.token.number{color:var(--neon-bunny-number)}.token.operator{color:var(--neon-bunny-operator)}.token.prolog{color:var(--neon-bunny-prolog);font-style:italic}.token.property{color:var(--neon-bunny-property)}.token.punctuation{color:var(--neon-bunny-punctuation)}.token.regex{color:var(--neon-bunny-regex)}.token.string{color:var(--neon-bunny-string)}.token.symbol{color:var(--neon-bunny-symbol)}.token.tag{color:var(--neon-bunny-tag)}.token.url{color:var(--neon-bunny-url);text-decoration:underline}.token.variable{color:var(--neon-bunny-variable)}.namespace{color:var(--neon-bunny-namespace)}.language-html .token.attr-name{color:var(--neon-bunny-html-attr-name)}.language-html .token.attr-value{color:var(--neon-bunny-html-attr-value)}.language-html .token.attr-value .token.punctuation{color:var(--neon-bunny-html-attr-value-punctuation)}.language-css{color:var(--neon-bunny-css) !important}.language-css .token.atrule{color:var(--neon-bunny-css-atrule)}.language-css .token.atrule .token.rule{color:var(--neon-bunny-css-atrule-rule)}.language-css .token.function{color:var(--neon-bunny-css-function)}.language-css .token.property{color:var(--neon-bunny-css-property)}.language-css .token.punctuation{color:var(--neon-bunny-css-punctuation)}.language-css .token.selector{color:var(--neon-bunny-css-selector)}.language-css .token.string{color:var(--neon-bunny-css-string);font-style:italic}.style .token.string{color:var(--neon-bunny-css-string);font-style:italic}.language-javascript,.language-js{color:var(--neon-bunny-js) !important;font-style:italic}.language-javascript span,.language-js span{font-style:normal}.language-javascript .token.keyword,.language-js .token.keyword{color:var(--neon-bunny-js-keyword)}.language-javascript .token.literal-property.property,.language-js .token.literal-property.property{color:var(--neon-bunny-js-literal-property);font-style:italic}.language-javascript .token.operator,.language-js .token.operator{color:var(--neon-bunny-js-operator);font-style:italic}.language-javascript .token.punctuation,.language-js .token.punctuation{color:var(--neon-bunny-js-punctuation)}.language-javascript .token.template-string .token.string,.language-js .token.template-string .token.string{color:var(--neon-bunny-js-template-string-string)}.language-php .token.boolean{color:var(--neon-bunny-boolean)}.language-php .token.class-name{color:var(--neon-bunny-php-class-name)}.language-php .token.class-name-definition.class-name{color:var(--neon-bunny-php-class-name-definition-class-name)}.language-php .token.class-name.return-type{color:var(--neon-bunny-php-class-name-return-type);font-style:italic}.language-php .token.function{color:var(--neon-bunny-php-function)}.language-php .token.keyword{color:var(--neon-bunny-php-keyword)}.language-php .token.keyword.type-hint{color:var(--neon-bunny-php-keyword-type-hint);font-style:italic}.language-php .token.operator{color:var(--neon-bunny-php-operator)}.language-php .token.package{color:var(--neon-bunny-php-package)}.language-php .token.property{color:var(--neon-bunny-php-property)}.language-php .token.punctuation{color:var(--neon-bunny-php-punctuation)}.language-php .token.string.double-quoted-string{color:var(--neon-bunny-php-double-quote-string)}.language-php .token.string.single-quoted-string{color:var(--neon-bunny-php-single-quote-string)}.language-php .token.variable{color:var(--neon-bunny-php-variable)}\n',l=!1,o=!1,"highlightjs"===t&&(e='/**\n\t* MIT License\n\t* Copyright (c) 2023 WebDevNerdStuff\n\t* WebDevNerdStuff Neon Bunny\n\t* VSCode Theme: https://marketplace.visualstudio.com/items?itemName=WebDevNerdStuff.neon-bunny\n\t*/\n\t:root{--neon-bunny-blue-darker: #276AFF;--neon-bunny-blue-light-faded: #a5a8ff;--neon-bunny-blue-light: #2492ff;--neon-bunny-blue: #0b93ff;--neon-bunny-gray-lighter: #aaa;--neon-bunny-gray: #7f817e;--neon-bunny-green-darker-darker: #008b05;--neon-bunny-green-darker: #2bb71d;--neon-bunny-green-light: #2bb71d;--neon-bunny-green-neon: #0aff04;--neon-bunny-green: #00d205;--neon-bunny-lime-lighter: #c3e88d;--neon-bunny-lime: #b2ff02;--neon-bunny-magenta-neon: #FF25D9;--neon-bunny-magenta: #df00df;--neon-bunny-neon-green: #00ff00;--neon-bunny-orange-lighter: #ff8d04;--neon-bunny-orange: #e58100;--neon-bunny-peach-darker: #ffb46a;--neon-bunny-peach-light: #ffe4a6;--neon-bunny-peach: #ffcb6b;--neon-bunny-pink: #ff1190;--neon-bunny-purple-light-dim: #c792ea;--neon-bunny-purple-light: #d285cc;--neon-bunny-purple: #ea03ff;--neon-bunny-red: #ff3229;--neon-bunny-salmon: #ff6f5b;--neon-bunny-teal: #80fcff;--neon-bunny-white: #fff;--neon-bunny-yellow-light-faded: #ffe3b8;--neon-bunny-yellow: #fef611;--neon-bunny-builtin: var(--neon-bunny-purple);--neon-bunny-char: var(--neon-bunny-pink);--neon-bunny-class: var(--neon-bunny-magenta);--neon-bunny-comment: var(--neon-bunny-gray);--neon-bunny-doctag: var(--neon-bunny-blue-light);--neon-bunny-keyword: var(--neon-bunny-blue);--neon-bunny-literal: var(--neon-bunny-blue-light);--neon-bunny-number: var(--neon-bunny-white);--neon-bunny-operator: var(--neon-bunny-blue-light);--neon-bunny-params: var(--neon-bunny-green-darker);--neon-bunny-property: var(--neon-bunny-blue-light-faded);--neon-bunny-punctuation: var(--neon-bunny-blue);--neon-bunny-regex: var(--neon-bunny-peach-light);--neon-bunny-string: var(--neon-bunny-peach-darker);--neon-bunny-subst: var(--neon-bunny-green-darker);--neon-bunny-symbol: var(--neon-bunny-pink);--neon-bunny-title-class-inherited: var(--neon-bunny-green-darker);--neon-bunny-title-class: var(--neon-bunny-green-neon);--neon-bunny-title-function-invoke: var(--neon-bunny-green-darker);--neon-bunny-title-function: var(--neon-bunny-green-neon);--neon-bunny-title: var(--neon-bunny-green-darker);--neon-bunny-type: var(--neon-bunny-pink);--neon-bunny-variable-constant: var(--neon-bunny-green-darker);--neon-bunny-variable-language: var(--neon-bunny-blue-light);--neon-bunny-variable: var(--neon-bunny-green-darker);--neon-bunny-meta-keyword: var(--neon-bunny-green);--neon-bunny-meta-prompt: var(--neon-bunny-blue-light);--neon-bunny-meta-string: var(--neon-bunny-blue-light);--neon-bunny-meta: var(--neon-bunny-blue-light);--neon-bunny-attr: var(--neon-bunny-green);--neon-bunny-attribute: var(--neon-bunny-green);--neon-bunny-name: var(--neon-bunny-blue-light);--neon-bunny-section: var(--neon-bunny-green);--neon-bunny-tag-attr: var(--neon-bunny-blue-light);--neon-bunny-tag: var(--neon-bunny-blue-light);--neon-bunny-bullet: var(--neon-bunny-white);--neon-bunny-code: var(--neon-bunny-white);--neon-bunny-emphasis: var(--neon-bunny-white);--neon-bunny-formula: var(--neon-bunny-white);--neon-bunny-link: var(--neon-bunny-orange);--neon-bunny-quote: var(--neon-bunny-white);--neon-bunny-strong: var(--neon-bunny-white);--neon-bunny-css-selector-id: var(--neon-bunny-green);--neon-bunny-selector-attr: var(--neon-bunny-purple-light-dim);--neon-bunny-selector-class: var(--neon-bunny-lime);--neon-bunny-selector-id: var(--neon-bunny-lime);--neon-bunny-selector-pseudo: var(--neon-bunny-purple-light-dim);--neon-bunny-selector-tag: var(--neon-bunny-white);--neon-bunny-selector: var(--neon-bunny-lime);--neon-bunny-addition: var(--neon-bunny-green-neon);--neon-bunny-deletion: var(--neon-bunny-red);--neon-bunny-html-tag-attr: var(--neon-bunny-green);--neon-bunny-css: var(--neon-bunny-purple-light-dim);--neon-bunny-css-builtin: var(--neon-bunny-orange);--neon-bunny-css-meta: var(--neon-bunny-red);--neon-bunny-css-attribute: var(--neon-bunny-pink);--neon-bunny-json-punctuation: var(--neon-bunny-white);--neon-bunny-js: var(--neon-bunny-green-darker);--neon-bunny-js-params-variable-language: var(--neon-bunny-green-darker);--neon-bunny-js-title-class: var(--neon-bunny-orange-lighter);--neon-bunny-js-variable-language: var(--neon-bunny-pink);--neon-bunny-php: var(--neon-bunny-blue-light);--neon-bunny-php-class-keyword: var(--neon-bunny-blue-darker);--neon-bunny-php-class-title: var(--neon-bunny-magenta);--neon-bunny-php-function-title: var(--neon-bunny-green-neon);--neon-bunny-php-keyword: var(--neon-bunny-blue-darker);--neon-bunny-php-params-variable: var(--neon-bunny-green-darker);--neon-bunny-php-params: var(--neon-bunny-gray-lighter);--neon-bunny-php-string: var(--neon-bunny-yellow);--neon-bunny-php-title-class: var(--neon-bunny-gray-lighter);--neon-bunny-php-title-function-invoke: var(--neon-bunny-green-neon);--neon-bunny-php-title: var(--neon-bunny-peach);--neon-bunny-php-variable: var(--neon-bunny-purple-light);--neon-bunny-php-meta: var(--neon-bunny-red)}pre code.hljs{display:block;overflow-x:auto;padding:1em}code[class*=language-],pre[class*=language-]{-moz-hyphens:none;-moz-tab-size:4;-ms-hyphens:none;-o-tab-size:4;-webkit-hyphens:none;color:var(--neon-bunny-white);font-family:Consolas,Monaco,"Andale Mono","Ubuntu Mono",monospace;hyphens:none;line-height:1.5;tab-size:4;text-align:left;white-space:pre;word-break:normal;word-spacing:normal;word-wrap:normal}code[class*=language-]::-moz-selection,code[class*=language-] ::-moz-selection,pre[class*=language-]::-moz-selection,pre[class*=language-] ::-moz-selection{background:rgba(29,59,83,.99);text-shadow:none}code[class*=language-]::selection,code[class*=language-] ::selection,pre[class*=language-]::selection,pre[class*=language-] ::selection{background:rgba(255,255,255,.0823529412);text-shadow:none}@media print{code[class*=language-],pre[class*=language-]{text-shadow:none}}pre[class*=language-]{background:#000;color:#fff;margin:.5em 0;overflow:auto}:not(pre)>code[class*=language-]{background:#000;color:#fff;border-radius:.3em;padding:.1em;white-space:normal}.hljs-built_in{color:var(--neon-bunny-builtin)}.hljs-char{color:var(--neon-bunny-char)}.hljs-comment{color:var(--neon-bunny-comment);font-style:italic}.hljs-doctag{color:var(--neon-bunny-doctag)}.hljs-keyword{color:var(--neon-bunny-keyword)}.hljs-literal{color:var(--neon-bunny-literal)}.hljs-number{color:var(--neon-bunny-number)}.hljs-operator{color:var(--neon-bunny-operator)}.hljs-params{color:var(--neon-bunny-params);font-style:italic}.hljs-property{color:var(--neon-bunny-property)}.hljs-punctuation{color:var(--neon-bunny-punctuation)}.hljs-regexp{color:var(--neon-bunny-regex)}.hljs-string{color:var(--neon-bunny-string)}.hljs-subst{color:var(--neon-bunny-subst)}.hljs-symbol{color:var(--neon-bunny-symbol)}.hljs-title{color:var(--neon-bunny-title)}.hljs-title.class_{color:var(--neon-bunny-title-class)}.hljs-title.class_.inherited__{color:var(--neon-bunny-title-class-inherited)}.hljs-title.function_{color:var(--neon-bunny-title-function)}.hljs-title.function_.invoke__{color:var(--neon-bunny-title-function-invoke)}.hljs-type{color:var(--neon-bunny-type)}.hljs-variable{color:var(--neon-bunny-variable)}.hljs-variable.constant_{color:var(--neon-bunny-variable-constant)}.hljs-variable.language_{color:var(--neon-bunny-variable-language)}.hljs-meta{color:var(--neon-bunny-meta)}.hljs-meta.prompt_{color:var(--neon-bunny-meta-prompt)}.hljs-meta.keyword_{color:var(--neon-bunny-meta-keyword)}.hljs-meta.string_{color:var(--neon-bunny-meta-string)}.hljs-attr{color:var(--neon-bunny-attr)}.hljs-attribute{color:var(--neon-bunny-attribute)}.hljs-name{color:var(--neon-bunny-name)}.hljs-section{color:var(--neon-bunny-section)}.hljs-tag{color:var(--neon-bunny-tag)}.hljs-tag .hljs-attr{color:var(--neon-bunny-tag-attr)}.hljs-bullet{color:var(--neon-bunny-bullet)}.hljs-code{color:var(--neon-bunny-code)}.hljs-emphasis{color:var(--neon-bunny-emphasis);font-style:italic}.hljs-formula{color:var(--neon-bunny-formula)}.hljs-link{color:var(--neon-bunny-link)}.hljs-quote{color:var(--neon-bunny-quote)}.hljs-strong{color:var(--neon-bunny-strong);font-weight:bold}.hljs-selector{color:var(--neon-bunny-selector)}.hljs-selector-attr{color:var(--neon-bunny-selector-attr)}.hljs-selector-class{color:var(--neon-bunny-selector-class)}.hljs-selector-id{color:var(--neon-bunny-selector-id)}.hljs-selector-pseudo{color:var(--neon-bunny-selector-pseudo)}.hljs-selector-tag{color:var(--neon-bunny-selector-tag)}.hljs-addition{color:var(--neon-bunny-addition)}.hljs-deletion{color:var(--neon-bunny-deletion)}.hljs.language-html .hljs-tag .hljs-attr,.hljs .language-html .hljs-tag .hljs-attr{color:var(--neon-bunny-html-tag-attr)}.hljs.language-css,.hljs .language-css{color:var(--neon-bunny-css)}.hljs.language-css .hljs-built_in,.hljs .language-css .hljs-built_in{color:var(--neon-bunny-css-builtin)}.hljs.language-css .hljs-char,.hljs .language-css .hljs-char{color:var(--neon-bunny-char)}.hljs.language-css .hljs-comment,.hljs .language-css .hljs-comment{color:var(--neon-bunny-comment)}.hljs.language-css .hljs-doctag,.hljs .language-css .hljs-doctag{color:var(--neon-bunny-doctag)}.hljs.language-css .hljs-keyword,.hljs .language-css .hljs-keyword{color:var(--neon-bunny-keyword)}.hljs.language-css .hljs-literal,.hljs .language-css .hljs-literal{color:var(--neon-bunny-literal)}.hljs.language-css .hljs-number,.hljs .language-css .hljs-number{color:var(--neon-bunny-number)}.hljs.language-css .hljs-operator,.hljs .language-css .hljs-operator{color:var(--neon-bunny-operator)}.hljs.language-css .hljs-params,.hljs .language-css .hljs-params{color:var(--neon-bunny-params);font-style:italic}.hljs.language-css .hljs-property,.hljs .language-css .hljs-property{color:var(--neon-bunny-property)}.hljs.language-css .hljs-punctuation,.hljs .language-css .hljs-punctuation{color:var(--neon-bunny-punctuation)}.hljs.language-css .hljs-regexp,.hljs .language-css .hljs-regexp{color:var(--neon-bunny-regex)}.hljs.language-css .hljs-string,.hljs .language-css .hljs-string{color:var(--neon-bunny-string)}.hljs.language-css .hljs-subst,.hljs .language-css .hljs-subst{color:var(--neon-bunny-subst)}.hljs.language-css .hljs-symbol,.hljs .language-css .hljs-symbol{color:var(--neon-bunny-symbol)}.hljs.language-css .hljs-title,.hljs .language-css .hljs-title{color:var(--neon-bunny-title)}.hljs.language-css .hljs-title.class_,.hljs .language-css .hljs-title.class_{color:var(--neon-bunny-title-class)}.hljs.language-css .hljs-title.class_.inherited__,.hljs .language-css .hljs-title.class_.inherited__{color:var(--neon-bunny-title-class-inherited)}.hljs.language-css .hljs-title.function_,.hljs .language-css .hljs-title.function_{color:var(--neon-bunny-title-function)}.hljs.language-css .hljs-title.function_.invoke__,.hljs .language-css .hljs-title.function_.invoke__{color:var(--neon-bunny-title-function-invoke)}.hljs.language-css .hljs-type,.hljs .language-css .hljs-type{color:var(--neon-bunny-type)}.hljs.language-css .hljs-variable,.hljs .language-css .hljs-variable{color:var(--neon-bunny-variable)}.hljs.language-css .hljs-variable.constant_,.hljs .language-css .hljs-variable.constant_{color:var(--neon-bunny-variable-constant)}.hljs.language-css .hljs-variable.language_,.hljs .language-css .hljs-variable.language_{color:var(--neon-bunny-variable-language)}.hljs.language-css .hljs-meta,.hljs .language-css .hljs-meta{color:var(--neon-bunny-css-meta)}.hljs.language-css .hljs-meta.prompt_,.hljs .language-css .hljs-meta.prompt_{color:var(--neon-bunny-meta-prompt)}.hljs.language-css .hljs-meta.keyword_,.hljs .language-css .hljs-meta.keyword_{color:var(--neon-bunny-meta-keyword)}.hljs.language-css .hljs-meta.string_,.hljs .language-css .hljs-meta.string_{color:var(--neon-bunny-meta-string)}.hljs.language-css .hljs-attr,.hljs .language-css .hljs-attr{color:var(--neon-bunny-attr)}.hljs.language-css .hljs-attribute,.hljs .language-css .hljs-attribute{color:var(--neon-bunny-css-attribute)}.hljs.language-css .hljs-name,.hljs .language-css .hljs-name{color:var(--neon-bunny-name)}.hljs.language-css .hljs-section,.hljs .language-css .hljs-section{color:var(--neon-bunny-section)}.hljs.language-css .hljs-tag,.hljs .language-css .hljs-tag{color:var(--neon-bunny-tag)}.hljs.language-css .hljs-bullet,.hljs .language-css .hljs-bullet{color:var(--neon-bunny-bullet)}.hljs.language-css .hljs-code,.hljs .language-css .hljs-code{color:var(--neon-bunny-code)}.hljs.language-css .hljs-emphasis,.hljs .language-css .hljs-emphasis{color:var(--neon-bunny-emphasis);font-style:italic}.hljs.language-css .hljs-formula,.hljs .language-css .hljs-formula{color:var(--neon-bunny-formula)}.hljs.language-css .hljs-link,.hljs .language-css .hljs-link{color:var(--neon-bunny-link)}.hljs.language-css .hljs-quote,.hljs .language-css .hljs-quote{color:var(--neon-bunny-quote)}.hljs.language-css .hljs-strong,.hljs .language-css .hljs-strong{color:var(--neon-bunny-strong);font-weight:bold}.hljs.language-css .hljs-selector,.hljs .language-css .hljs-selector{color:var(--neon-bunny-selector)}.hljs.language-css .hljs-selector-attr,.hljs .language-css .hljs-selector-attr{color:var(--neon-bunny-selector-attr)}.hljs.language-css .hljs-selector-class,.hljs .language-css .hljs-selector-class{color:var(--neon-bunny-selector-class)}.hljs.language-css .hljs-selector-id,.hljs .language-css .hljs-selector-id{color:var(--neon-bunny-css-selector-id)}.hljs.language-css .hljs-selector-pseudo,.hljs .language-css .hljs-selector-pseudo{color:var(--neon-bunny-selector-pseudo)}.hljs.language-css .hljs-selector-tag,.hljs .language-css .hljs-selector-tag{color:var(--neon-bunny-selector-tag)}.hljs.language-css .hljs-addition,.hljs .language-css .hljs-addition{color:var(--neon-bunny-addition)}.hljs.language-css .hljs-deletion,.hljs .language-css .hljs-deletion{color:var(--neon-bunny-deletion)}.hljs.language-json .hljs-punctuation,.hljs .language-json .hljs-punctuation{color:var(--neon-bunny-json-punctuation)}.hljs.language-javascript,.hljs.language-js,.hljs .language-javascript,.hljs .language-js{color:var(--neon-bunny-js)}.hljs.language-javascript .hljs-built_in,.hljs.language-js .hljs-built_in,.hljs .language-javascript .hljs-built_in,.hljs .language-js .hljs-built_in{color:var(--neon-bunny-builtin)}.hljs.language-javascript .hljs-char,.hljs.language-js .hljs-char,.hljs .language-javascript .hljs-char,.hljs .language-js .hljs-char{color:var(--neon-bunny-char)}.hljs.language-javascript .hljs-comment,.hljs.language-js .hljs-comment,.hljs .language-javascript .hljs-comment,.hljs .language-js .hljs-comment{color:var(--neon-bunny-comment)}.hljs.language-javascript .hljs-doctag,.hljs.language-js .hljs-doctag,.hljs .language-javascript .hljs-doctag,.hljs .language-js .hljs-doctag{color:var(--neon-bunny-doctag)}.hljs.language-javascript .hljs-keyword,.hljs.language-js .hljs-keyword,.hljs .language-javascript .hljs-keyword,.hljs .language-js .hljs-keyword{color:var(--neon-bunny-keyword)}.hljs.language-javascript .hljs-literal,.hljs.language-js .hljs-literal,.hljs .language-javascript .hljs-literal,.hljs .language-js .hljs-literal{color:var(--neon-bunny-literal)}.hljs.language-javascript .hljs-number,.hljs.language-js .hljs-number,.hljs .language-javascript .hljs-number,.hljs .language-js .hljs-number{color:var(--neon-bunny-number)}.hljs.language-javascript .hljs-operator,.hljs.language-js .hljs-operator,.hljs .language-javascript .hljs-operator,.hljs .language-js .hljs-operator{color:var(--neon-bunny-operator)}.hljs.language-javascript .hljs-params,.hljs.language-js .hljs-params,.hljs .language-javascript .hljs-params,.hljs .language-js .hljs-params{color:var(--neon-bunny-params);font-style:italic}.hljs.language-javascript .hljs-params .hljs-variable.language_,.hljs.language-js .hljs-params .hljs-variable.language_,.hljs .language-javascript .hljs-params .hljs-variable.language_,.hljs .language-js .hljs-params .hljs-variable.language_{color:var(--neon-bunny-js-params-variable-language)}.hljs.language-javascript .hljs-property,.hljs.language-js .hljs-property,.hljs .language-javascript .hljs-property,.hljs .language-js .hljs-property{color:var(--neon-bunny-property)}.hljs.language-javascript .hljs-punctuation,.hljs.language-js .hljs-punctuation,.hljs .language-javascript .hljs-punctuation,.hljs .language-js .hljs-punctuation{color:var(--neon-bunny-punctuation)}.hljs.language-javascript .hljs-regexp,.hljs.language-js .hljs-regexp,.hljs .language-javascript .hljs-regexp,.hljs .language-js .hljs-regexp{color:var(--neon-bunny-regex)}.hljs.language-javascript .hljs-string,.hljs.language-js .hljs-string,.hljs .language-javascript .hljs-string,.hljs .language-js .hljs-string{color:var(--neon-bunny-string)}.hljs.language-javascript .hljs-subst,.hljs.language-js .hljs-subst,.hljs .language-javascript .hljs-subst,.hljs .language-js .hljs-subst{color:var(--neon-bunny-subst)}.hljs.language-javascript .hljs-symbol,.hljs.language-js .hljs-symbol,.hljs .language-javascript .hljs-symbol,.hljs .language-js .hljs-symbol{color:var(--neon-bunny-symbol)}.hljs.language-javascript .hljs-title,.hljs.language-js .hljs-title,.hljs .language-javascript .hljs-title,.hljs .language-js .hljs-title{color:var(--neon-bunny-title)}.hljs.language-javascript .hljs-title.class_,.hljs.language-js .hljs-title.class_,.hljs .language-javascript .hljs-title.class_,.hljs .language-js .hljs-title.class_{color:var(--neon-bunny-js-title-class)}.hljs.language-javascript .hljs-title.class_.inherited__,.hljs.language-js .hljs-title.class_.inherited__,.hljs .language-javascript .hljs-title.class_.inherited__,.hljs .language-js .hljs-title.class_.inherited__{color:var(--neon-bunny-title-class-inherited)}.hljs.language-javascript .hljs-title.function_,.hljs.language-js .hljs-title.function_,.hljs .language-javascript .hljs-title.function_,.hljs .language-js .hljs-title.function_{color:var(--neon-bunny-title-function)}.hljs.language-javascript .hljs-title.function_.invoke__,.hljs.language-js .hljs-title.function_.invoke__,.hljs .language-javascript .hljs-title.function_.invoke__,.hljs .language-js .hljs-title.function_.invoke__{color:var(--neon-bunny-title-function-invoke)}.hljs.language-javascript .hljs-type,.hljs.language-js .hljs-type,.hljs .language-javascript .hljs-type,.hljs .language-js .hljs-type{color:var(--neon-bunny-type)}.hljs.language-javascript .hljs-variable,.hljs.language-js .hljs-variable,.hljs .language-javascript .hljs-variable,.hljs .language-js .hljs-variable{color:var(--neon-bunny-variable)}.hljs.language-javascript .hljs-variable.constant_,.hljs.language-js .hljs-variable.constant_,.hljs .language-javascript .hljs-variable.constant_,.hljs .language-js .hljs-variable.constant_{color:var(--neon-bunny-variable-constant)}.hljs.language-javascript .hljs-variable.language_,.hljs.language-js .hljs-variable.language_,.hljs .language-javascript .hljs-variable.language_,.hljs .language-js .hljs-variable.language_{color:var(--neon-bunny-js-variable-language)}.hljs.language-javascript .hljs-meta,.hljs.language-js .hljs-meta,.hljs .language-javascript .hljs-meta,.hljs .language-js .hljs-meta{color:var(--neon-bunny-meta)}.hljs.language-javascript .hljs-meta.prompt_,.hljs.language-js .hljs-meta.prompt_,.hljs .language-javascript .hljs-meta.prompt_,.hljs .language-js .hljs-meta.prompt_{color:var(--neon-bunny-meta-prompt)}.hljs.language-javascript .hljs-meta.keyword_,.hljs.language-js .hljs-meta.keyword_,.hljs .language-javascript .hljs-meta.keyword_,.hljs .language-js .hljs-meta.keyword_{color:var(--neon-bunny-meta-keyword)}.hljs.language-javascript .hljs-meta.string_,.hljs.language-js .hljs-meta.string_,.hljs .language-javascript .hljs-meta.string_,.hljs .language-js .hljs-meta.string_{color:var(--neon-bunny-meta-string)}.hljs.language-javascript .hljs-attr,.hljs.language-js .hljs-attr,.hljs .language-javascript .hljs-attr,.hljs .language-js .hljs-attr{color:var(--neon-bunny-attr)}.hljs.language-javascript .hljs-attribute,.hljs.language-js .hljs-attribute,.hljs .language-javascript .hljs-attribute,.hljs .language-js .hljs-attribute{color:var(--neon-bunny-attribute)}.hljs.language-javascript .hljs-name,.hljs.language-js .hljs-name,.hljs .language-javascript .hljs-name,.hljs .language-js .hljs-name{color:var(--neon-bunny-name)}.hljs.language-javascript .hljs-section,.hljs.language-js .hljs-section,.hljs .language-javascript .hljs-section,.hljs .language-js .hljs-section{color:var(--neon-bunny-section)}.hljs.language-javascript .hljs-tag,.hljs.language-js .hljs-tag,.hljs .language-javascript .hljs-tag,.hljs .language-js .hljs-tag{color:var(--neon-bunny-tag)}.hljs.language-javascript .hljs-bullet,.hljs.language-js .hljs-bullet,.hljs .language-javascript .hljs-bullet,.hljs .language-js .hljs-bullet{color:var(--neon-bunny-bullet)}.hljs.language-javascript .hljs-code,.hljs.language-js .hljs-code,.hljs .language-javascript .hljs-code,.hljs .language-js .hljs-code{color:var(--neon-bunny-code)}.hljs.language-javascript .hljs-emphasis,.hljs.language-js .hljs-emphasis,.hljs .language-javascript .hljs-emphasis,.hljs .language-js .hljs-emphasis{color:var(--neon-bunny-emphasis);font-style:italic}.hljs.language-javascript .hljs-formula,.hljs.language-js .hljs-formula,.hljs .language-javascript .hljs-formula,.hljs .language-js .hljs-formula{color:var(--neon-bunny-formula)}.hljs.language-javascript .hljs-link,.hljs.language-js .hljs-link,.hljs .language-javascript .hljs-link,.hljs .language-js .hljs-link{color:var(--neon-bunny-link)}.hljs.language-javascript .hljs-quote,.hljs.language-js .hljs-quote,.hljs .language-javascript .hljs-quote,.hljs .language-js .hljs-quote{color:var(--neon-bunny-quote)}.hljs.language-javascript .hljs-strong,.hljs.language-js .hljs-strong,.hljs .language-javascript .hljs-strong,.hljs .language-js .hljs-strong{color:var(--neon-bunny-strong);font-weight:bold}.hljs.language-javascript .hljs-selector,.hljs.language-js .hljs-selector,.hljs .language-javascript .hljs-selector,.hljs .language-js .hljs-selector{color:var(--neon-bunny-selector)}.hljs.language-javascript .hljs-selector-attr,.hljs.language-js .hljs-selector-attr,.hljs .language-javascript .hljs-selector-attr,.hljs .language-js .hljs-selector-attr{color:var(--neon-bunny-selector-attr)}.hljs.language-javascript .hljs-selector-class,.hljs.language-js .hljs-selector-class,.hljs .language-javascript .hljs-selector-class,.hljs .language-js .hljs-selector-class{color:var(--neon-bunny-selector-class)}.hljs.language-javascript .hljs-selector-id,.hljs.language-js .hljs-selector-id,.hljs .language-javascript .hljs-selector-id,.hljs .language-js .hljs-selector-id{color:var(--neon-bunny-selector-id)}.hljs.language-javascript .hljs-selector-pseudo,.hljs.language-js .hljs-selector-pseudo,.hljs .language-javascript .hljs-selector-pseudo,.hljs .language-js .hljs-selector-pseudo{color:var(--neon-bunny-selector-pseudo)}.hljs.language-javascript .hljs-selector-tag,.hljs.language-js .hljs-selector-tag,.hljs .language-javascript .hljs-selector-tag,.hljs .language-js .hljs-selector-tag{color:var(--neon-bunny-selector-tag)}.hljs.language-javascript .hljs-addition,.hljs.language-js .hljs-addition,.hljs .language-javascript .hljs-addition,.hljs .language-js .hljs-addition{color:var(--neon-bunny-addition)}.hljs.language-javascript .hljs-deletion,.hljs.language-js .hljs-deletion,.hljs .language-javascript .hljs-deletion,.hljs .language-js .hljs-deletion{color:var(--neon-bunny-deletion)}.hljs.language-php,.hljs .language-php{color:var(--neon-bunny-php)}.hljs.language-php .hljs-built_in,.hljs .language-php .hljs-built_in{color:var(--neon-bunny-builtin)}.hljs.language-php .hljs-char,.hljs .language-php .hljs-char{color:var(--neon-bunny-char)}.hljs.language-php .hljs-class .hljs-title,.hljs .language-php .hljs-class .hljs-title{color:var(--neon-bunny-php-class-title) !important}.hljs.language-php .hljs-class .hljs-keyword,.hljs .language-php .hljs-class .hljs-keyword{color:var(--neon-bunny-php-class-keyword)}.hljs.language-php .hljs-comment,.hljs .language-php .hljs-comment{color:var(--neon-bunny-comment)}.hljs.language-php .hljs-doctag,.hljs .language-php .hljs-doctag{color:var(--neon-bunny-doctag)}.hljs.language-php .hljs-function .hljs-title,.hljs .language-php .hljs-function .hljs-title{color:var(--neon-bunny-php-function-title)}.hljs.language-php .hljs-keyword,.hljs .language-php .hljs-keyword{color:var(--neon-bunny-php-keyword)}.hljs.language-php .hljs-literal,.hljs .language-php .hljs-literal{color:var(--neon-bunny-literal)}.hljs.language-php .hljs-number,.hljs .language-php .hljs-number{color:var(--neon-bunny-number)}.hljs.language-php .hljs-operator,.hljs .language-php .hljs-operator{color:var(--neon-bunny-operator)}.hljs.language-php .hljs-params,.hljs .language-php .hljs-params{color:var(--neon-bunny-php-params);font-style:italic}.hljs.language-php .hljs-params .hljs-variable,.hljs .language-php .hljs-params .hljs-variable{color:var(--neon-bunny-php-params-variable)}.hljs.language-php .hljs-property,.hljs .language-php .hljs-property{color:var(--neon-bunny-property)}.hljs.language-php .hljs-punctuation,.hljs .language-php .hljs-punctuation{color:var(--neon-bunny-punctuation)}.hljs.language-php .hljs-regexp,.hljs .language-php .hljs-regexp{color:var(--neon-bunny-regex)}.hljs.language-php .hljs-string,.hljs .language-php .hljs-string{color:var(--neon-bunny-php-string)}.hljs.language-php .hljs-subst,.hljs .language-php .hljs-subst{color:var(--neon-bunny-subst)}.hljs.language-php .hljs-symbol,.hljs .language-php .hljs-symbol{color:var(--neon-bunny-symbol)}.hljs.language-php .hljs-title,.hljs .language-php .hljs-title{color:var(--neon-bunny-php-title)}.hljs.language-php .hljs-title.class_,.hljs .language-php .hljs-title.class_{color:var(--neon-bunny-php-title-class);font-style:italic}.hljs.language-php .hljs-title.class_.inherited__,.hljs .language-php .hljs-title.class_.inherited__{color:var(--neon-bunny-title-class-inherited)}.hljs.language-php .hljs-title.function_,.hljs .language-php .hljs-title.function_{color:var(--neon-bunny-title-function)}.hljs.language-php .hljs-title.function_.invoke__,.hljs .language-php .hljs-title.function_.invoke__{color:var(--neon-bunny-php-title-function-invoke)}.hljs.language-php .hljs-type,.hljs .language-php .hljs-type{color:var(--neon-bunny-type)}.hljs.language-php .hljs-variable,.hljs .language-php .hljs-variable{color:var(--neon-bunny-php-variable)}.hljs.language-php .hljs-variable.constant_,.hljs .language-php .hljs-variable.constant_{color:var(--neon-bunny-variable-constant)}.hljs.language-php .hljs-variable.language_,.hljs .language-php .hljs-variable.language_{color:var(--neon-bunny-variable-language)}.hljs.language-php .hljs-meta,.hljs .language-php .hljs-meta{color:var(--neon-bunny-php-meta)}.hljs.language-php .hljs-meta.prompt_,.hljs .language-php .hljs-meta.prompt_{color:var(--neon-bunny-meta-prompt)}.hljs.language-php .hljs-meta.keyword_,.hljs .language-php .hljs-meta.keyword_{color:var(--neon-bunny-meta-keyword)}.hljs.language-php .hljs-meta.string_,.hljs .language-php .hljs-meta.string_{color:var(--neon-bunny-meta-string)}.hljs.language-php .hljs-attr,.hljs .language-php .hljs-attr{color:var(--neon-bunny-attr)}.hljs.language-php .hljs-attribute,.hljs .language-php .hljs-attribute{color:var(--neon-bunny-attribute)}.hljs.language-php .hljs-name,.hljs .language-php .hljs-name{color:var(--neon-bunny-name)}.hljs.language-php .hljs-section,.hljs .language-php .hljs-section{color:var(--neon-bunny-section)}.hljs.language-php .hljs-tag,.hljs .language-php .hljs-tag{color:var(--neon-bunny-tag)}.hljs.language-php .hljs-bullet,.hljs .language-php .hljs-bullet{color:var(--neon-bunny-bullet)}.hljs.language-php .hljs-code,.hljs .language-php .hljs-code{color:var(--neon-bunny-code)}.hljs.language-php .hljs-emphasis,.hljs .language-php .hljs-emphasis{color:var(--neon-bunny-emphasis);font-style:italic}.hljs.language-php .hljs-formula,.hljs .language-php .hljs-formula{color:var(--neon-bunny-formula)}.hljs.language-php .hljs-link,.hljs .language-php .hljs-link{color:var(--neon-bunny-link)}.hljs.language-php .hljs-quote,.hljs .language-php .hljs-quote{color:var(--neon-bunny-quote)}.hljs.language-php .hljs-strong,.hljs .language-php .hljs-strong{color:var(--neon-bunny-strong);font-weight:bold}.hljs.language-php .hljs-selector,.hljs .language-php .hljs-selector{color:var(--neon-bunny-selector)}.hljs.language-php .hljs-selector-attr,.hljs .language-php .hljs-selector-attr{color:var(--neon-bunny-selector-attr)}.hljs.language-php .hljs-selector-class,.hljs .language-php .hljs-selector-class{color:var(--neon-bunny-selector-class)}.hljs.language-php .hljs-selector-id,.hljs .language-php .hljs-selector-id{color:var(--neon-bunny-selector-id)}.hljs.language-php .hljs-selector-pseudo,.hljs .language-php .hljs-selector-pseudo{color:var(--neon-bunny-selector-pseudo)}.hljs.language-php .hljs-selector-tag,.hljs .language-php .hljs-selector-tag{color:var(--neon-bunny-selector-tag)}.hljs.language-php .hljs-addition,.hljs .language-php .hljs-addition{color:var(--neon-bunny-addition)}.hljs.language-php .hljs-deletion,.hljs .language-php .hljs-deletion{color:var(--neon-bunny-deletion)}\n');break;case"neon-bunny-carrot":e='/**\n\t* MIT License\n\t* Copyright (c) 2023 WebDevNerdStuff\n\t* WebDevNerdStuff Neon Bunny Carrot Theme\n\t* VSCode Theme: https://marketplace.visualstudio.com/items?itemName=WebDevNerdStuff.neon-bunny\n\t*/\n\t:root{--neon-bunny-blue-light: #2492ff;--neon-bunny-blue: #0b93ff;--neon-bunny-gray: #7f817e;--neon-bunny-green-darker-darker: #008b05;--neon-bunny-green-darker: #2bb71d;--neon-bunny-green-light: #7cd47d;--neon-bunny-green: #00d205;--neon-bunny-lime: #c3e88d;--neon-bunny-magenta: #dd00ff;--neon-bunny-orange-darker: #e58100;--neon-bunny-orange-light: #ffc266;--neon-bunny-orange: #ff9900;--neon-bunny-peach-light: #ffe4a6;--neon-bunny-peach: #ffcb6b;--neon-bunny-pink: #ff1190;--neon-bunny-purple-light-dim: #c792ea;--neon-bunny-purple-light: #da96df;--neon-bunny-purple: #ea03ff;--neon-bunny-red: #ff5370;--neon-bunny-teal: #00EEFF;--neon-bunny-white: #fff;--neon-bunny-yellow-light: #ffffa2;--neon-bunny-yellow: #ffff00;--neon-bunny-atrule: var(--neon-bunny-peach);--neon-bunny-attr-name: var(--neon-bunny-purple-light-dim);--neon-bunny-attr-value: var(--neon-bunny-peach);--neon-bunny-boolean: var(--neon-bunny-purple-light);--neon-bunny-builtin: var(--neon-bunny-purple);--neon-bunny-cdata: var(--neon-bunny-gray);--neon-bunny-char: var(--neon-bunny-pink);--neon-bunny-class-name: var(--neon-bunny-peach);--neon-bunny-comment: var(--neon-bunny-gray);--neon-bunny-constant: var(--neon-bunny-green-darker);--neon-bunny-deleted: var(--neon-bunny-red);--neon-bunny-entity: var(--neon-bunny-peach);--neon-bunny-function: var(--neon-bunny-orange-light);--neon-bunny-important: var(--neon-bunny-pink);--neon-bunny-inserted: var(--neon-bunny-lime);--neon-bunny-keyword: var(--neon-bunny-purple-light);--neon-bunny-namespace: var(--neon-bunny-peach);--neon-bunny-number: var(--neon-bunny-white);--neon-bunny-operator: var(--neon-bunny-orange);--neon-bunny-prolog: var(--neon-bunny-gray);--neon-bunny-property: var(--neon-bunny-orange-light);--neon-bunny-punctuation: var(--neon-bunny-orange);--neon-bunny-regex: var(--neon-bunny-peach-light);--neon-bunny-string: var(--neon-bunny-green-light);--neon-bunny-symbol: var(--neon-bunny-orange-light);--neon-bunny-tag: var(--neon-bunny-orange);--neon-bunny-url: var(--neon-bunny-orange-darker);--neon-bunny-variable: var(--neon-bunny-orange);--neon-bunny-html-attr-name: var(--neon-bunny-orange-light);--neon-bunny-html-attr-value-punctuation: var(--neon-bunny-green);--neon-bunny-html-attr-value: var(--neon-bunny-green);--neon-bunny-css-atrule-rule: var(--neon-bunny-blue);--neon-bunny-css-atrule: var(--neon-bunny-white);--neon-bunny-css-function: var(--neon-bunny-orange-darker);--neon-bunny-css-property: var(--neon-bunny-pink);--neon-bunny-css-punctuation: var(--neon-bunny-white);--neon-bunny-css-selector: var(--neon-bunny-yellow);--neon-bunny-css-string: var(--neon-bunny-green-light);--neon-bunny-css: var(--neon-bunny-teal);--neon-bunny-js-keyword: var(--neon-bunny-magenta);--neon-bunny-js-literal-property: var(--neon-bunny-orange);--neon-bunny-js-operator: var(--neon-bunny-blue-light);--neon-bunny-js-punctuation: var(--neon-bunny-white);--neon-bunny-js-string: var(--neon-bunny-green-darker-darker);--neon-bunny-js-template-string-string: var(--neon-bunny-green-darker-darker);--neon-bunny-js: var(--neon-bunny-orange);--neon-bunny-php-boolean: var(--neon-bunny-purple-light);--neon-bunny-php-class-name-return-type: var(--neon-bunny-yellow);--neon-bunny-php-class-name: var(--neon-bunny-yellow);--neon-bunny-php-double-quote-string: var(--neon-bunny-green);--neon-bunny-php-function: var(--neon-bunny-orange-light);--neon-bunny-php-keyword: var(--neon-bunny-magenta);--neon-bunny-php-keyword-type-hint: var(--neon-bunny-magenta);--neon-bunny-php-class-name-definition-class-name: var(--neon-bunny-yellow);--neon-bunny-php-operator: var(--neon-bunny-yellow-light);--neon-bunny-php-package: var(--neon-bunny-yellow);--neon-bunny-php-property: var(--neon-bunny-orange);--neon-bunny-php-punctuation: var(--neon-bunny-white);--neon-bunny-php-single-quote-string: var(--neon-bunny-green-light);--neon-bunny-php-variable: var(--neon-bunny-orange)}code[class*=language-],pre[class*=language-]{-moz-hyphens:none;-moz-tab-size:4;-ms-hyphens:none;-o-tab-size:4;-webkit-hyphens:none;color:var(--neon-bunny-white);font-family:Consolas,Monaco,"Andale Mono","Ubuntu Mono",monospace;font-size:1em;hyphens:none;line-height:1.5;tab-size:4;text-align:left;white-space:pre;word-break:normal;word-spacing:normal;word-wrap:normal}code[class*=language-]::-moz-selection,code[class*=language-] ::-moz-selection,pre[class*=language-]::-moz-selection,pre[class*=language-] ::-moz-selection{background:rgba(29,59,83,.99);text-shadow:none}code[class*=language-]::selection,code[class*=language-] ::selection,pre[class*=language-]::selection,pre[class*=language-] ::selection{background:rgba(255,255,255,.0823529412);text-shadow:none}@media print{code[class*=language-],pre[class*=language-]{text-shadow:none}}pre[class*=language-]{background:#000;color:#fff;margin:.5em 0;overflow:auto;padding:1em}:not(pre)>code[class*=language-]{background:#000;color:#fff;border-radius:.3em;padding:.1em;white-space:normal}.token.atrule{color:var(--neon-bunny-atrule)}.token.attr-name{color:var(--neon-bunny-attr-name)}.token.attr-value{color:var(--neon-bunny-attr-value)}.token.bold{font-weight:bold}.token.boolean{color:var(--neon-bunny-boolean)}.token.builtin{color:var(--neon-bunny-builtin)}.token.cdata{color:var(--neon-bunny-cdata);font-style:italic}.token.char{color:var(--neon-bunny-char)}.token.class-name{color:var(--neon-bunny-class-name)}.token.constant{color:var(--neon-bunny-constant)}.token.comment{color:var(--neon-bunny-comment);font-style:italic}.token.deleted{color:var(--neon-bunny-deleted)}.token.entity{color:var(--neon-bunny-entity)}.token.function{color:var(--neon-bunny-function)}.token.important{color:var(--neon-bunny-important);font-style:italic}.token.inserted{color:var(--neon-bunny-inserted)}.token.italic{font-style:italic}.token.keyword{color:var(--neon-bunny-keyword)}.token.number{color:var(--neon-bunny-number)}.token.operator{color:var(--neon-bunny-operator)}.token.prolog{color:var(--neon-bunny-prolog);font-style:italic}.token.property{color:var(--neon-bunny-property)}.token.punctuation{color:var(--neon-bunny-punctuation)}.token.regex{color:var(--neon-bunny-regex)}.token.string{color:var(--neon-bunny-string)}.token.symbol{color:var(--neon-bunny-symbol)}.token.tag{color:var(--neon-bunny-tag)}.token.url{color:var(--neon-bunny-url);text-decoration:underline}.token.variable{color:var(--neon-bunny-variable)}.namespace{color:var(--neon-bunny-namespace)}.language-html .token .attr-name{color:var(--neon-bunny-html-attr-name)}.language-html .token.attr-value{color:var(--neon-bunny-html-attr-value)}.language-html .token.attr-value.punctuation{color:var(--neon-bunny-html-attr-value-punctuation)}.language-css{color:var(--neon-bunny-css) !important}.language-css .token.atrule{color:var(--neon-bunny-css-atrule)}.language-css .token.atrule .token.rule{color:var(--neon-bunny-css-atrule-rule)}.language-css .token.function{color:var(--neon-bunny-css-function)}.language-css .token.property{color:var(--neon-bunny-css-property)}.language-css .token.punctuation{color:var(--neon-bunny-css-punctuation)}.language-css .token.selector{color:var(--neon-bunny-css-selector)}.language-css .token.string{color:var(--neon-bunny-css-string);font-style:italic}.style .token.string{color:var(--neon-bunny-css-string);font-style:italic}.language-javascript,.language-js{color:var(--neon-bunny-js) !important;font-style:italic}.language-javascript span,.language-js span{font-style:normal}.language-javascript .token.keyword,.language-js .token.keyword{color:var(--neon-bunny-js-keyword)}.language-javascript .token.literal-property.property,.language-js .token.literal-property.property{color:var(--neon-bunny-js-literal-property);font-style:italic}.language-javascript .token.operator,.language-js .token.operator{color:var(--neon-bunny-js-operator);font-style:italic}.language-javascript .token.punctuation,.language-js .token.punctuation{color:var(--neon-bunny-js-punctuation)}.language-javascript .token.template-string.string,.language-js .token.template-string.string{color:var(--neon-bunny-js-template-string-string)}.language-php .token.boolean{color:var(--neon-bunny-boolean)}.language-php .token.class-name{color:var(--neon-bunny-php-class-name)}.language-php .token.class-name-definition.class-name{color:var(--neon-bunny-php-class-name-definition-class-name)}.language-php .token.class-name .return-type{color:var(--neon-bunny-php-class-name-return-type)}.language-php .token.function{color:var(--neon-bunny-php-function);text-decoration:underline}.language-php .token.keyword{color:var(--neon-bunny-php-keyword)}.language-php .token.keyword.type-hint{color:var(--neon-bunny-php-keyword-type-hint)}.language-php .token.operator{color:var(--neon-bunny-php-operator)}.language-php .token.package{color:var(--neon-bunny-php-package)}.language-php .token.property{color:var(--neon-bunny-php-property)}.language-php .token.punctuation{color:var(--neon-bunny-php-punctuation)}.language-php .token.string.double-quoted-string{color:var(--neon-bunny-php-double-quote-string)}.language-php .token.string.single-quoted-string{color:var(--neon-bunny-php-single-quote-string)}.language-php .token.variable{color:var(--neon-bunny-php-variable)}\n',l=!1,o=!1,"highlightjs"===t&&(e='/**\n\t* MIT License\n\t* Copyright (c) 2023 WebDevNerdStuff\n\t* WebDevNerdStuff Neon Bunny Carrot Theme\n\t* VSCode Theme: https://marketplace.visualstudio.com/items?itemName=WebDevNerdStuff.neon-bunny\n\t*/\n\t:root{--neon-bunny-blue-light: #2492ff;--neon-bunny-blue: #0b93ff;--neon-bunny-gray: #7f817e;--neon-bunny-green-darker-darker: #008b05;--neon-bunny-green-darker: #2bb71d;--neon-bunny-green-light: #7cd47d;--neon-bunny-green: #00d205;--neon-bunny-lime: #c3e88d;--neon-bunny-magenta: #dd00ff;--neon-bunny-orange-darker: #e58100;--neon-bunny-orange-light: #ffc266;--neon-bunny-orange-lighter: #ff8d04;--neon-bunny-orange: #ff9900;--neon-bunny-peach-light: #ffe4a6;--neon-bunny-peach: #ffcb6b;--neon-bunny-pink: #ff1190;--neon-bunny-purple-light-dim: #c792ea;--neon-bunny-purple-light: #da96df;--neon-bunny-purple: #ea03ff;--neon-bunny-red: #ff5370;--neon-bunny-teal: #00EEFF;--neon-bunny-white: #fff;--neon-bunny-yellow-light: #ffffa2;--neon-bunny-yellow-light-faded: #ffe3b8;--neon-bunny-yellow: #ffff00;--neon-bunny-builtin: var(--neon-bunny-purple);--neon-bunny-char: var(--neon-bunny-pink);--neon-bunny-class: var(--neon-bunny-magenta);--neon-bunny-comment: var(--neon-bunny-gray);--neon-bunny-doctag: var(--neon-bunny-blue-light);--neon-bunny-keyword: var(--neon-bunny-magenta);--neon-bunny-literal: var(--neon-bunny-purple-light);--neon-bunny-number: var(--neon-bunny-white);--neon-bunny-operator: var(--neon-bunny-blue-light);--neon-bunny-params: var(--neon-bunny-orange);--neon-bunny-property: var(--neon-bunny-yellow-light-faded);--neon-bunny-punctuation: var(--neon-bunny-blue);--neon-bunny-regex: var(--neon-bunny-peach-light);--neon-bunny-string: var(--neon-bunny-green);--neon-bunny-subst: var(--neon-bunny-green-darker);--neon-bunny-symbol: var(--neon-bunny-pink);--neon-bunny-title-class-inherited: var(--neon-bunny-orange);--neon-bunny-title-class: var(--neon-bunny-green-neon);--neon-bunny-title-function-invoke: var(--neon-bunny-orange);--neon-bunny-title-function: var(--neon-bunny-orange-light);--neon-bunny-title: var(--neon-bunny-orange);--neon-bunny-type: var(--neon-bunny-pink);--neon-bunny-variable-constant: var(--neon-bunny-green-darker);--neon-bunny-variable-language: var(--neon-bunny-orange);--neon-bunny-variable: var(--neon-bunny-green-darker);--neon-bunny-meta-keyword: var(--neon-bunny-purple-light);--neon-bunny-meta-prompt: var(--neon-bunny-orange);--neon-bunny-meta-string: var(--neon-bunny-orange);--neon-bunny-meta: var(--neon-bunny-orange);--neon-bunny-attr: var(--neon-bunny-orange);--neon-bunny-attribute: var(---neon-bunny-orange);--neon-bunny-name: var(--neon-bunny-orange);--neon-bunny-section: var(--neon-bunny-orange);--neon-bunny-tag-attr: var(--neon-bunny-orange-light);--neon-bunny-tag: var(--neon-bunny-orange);--neon-bunny-bullet: var(--neon-bunny-white);--neon-bunny-code: var(--neon-bunny-white);--neon-bunny-emphasis: var(--neon-bunny-white);--neon-bunny-formula: var(--neon-bunny-white);--neon-bunny-link: var(--neon-bunny-orange);--neon-bunny-quote: var(--neon-bunny-white);--neon-bunny-strong: var(--neon-bunny-white);--neon-bunny-css-selector-id: var(--neon-bunny-green);--neon-bunny-selector-attr: var(--neon-bunny-orange);--neon-bunny-selector-class: var(--neon-bunny-yellow);--neon-bunny-selector-id: var(--neon-bunny-selector);--neon-bunny-selector-pseudo: var(--neon-bunny-orange);--neon-bunny-selector-tag: var(--neon-bunny-white);--neon-bunny-selector: var(--neon-bunny-lime);--neon-bunny-addition: var(--neon-bunny-green-neon);--neon-bunny-deletion: var(--neon-bunny-red);--neon-bunny-html-tag-attr: var(--neon-bunny-orange-light);--neon-bunny-css: var(--neon-bunny-teal);--neon-bunny-css-builtin: var(--neon-bunny-orange);--neon-bunny-css-meta: var(--neon-bunny-red);--neon-bunny-css-attribute: var(--neon-bunny-pink);--neon-bunny-json-punctuation: var(--neon-bunny-white);--neon-bunny-js: var(--neon-bunny-orange);--neon-bunny-js-params-variable-language: var(--neon-bunny-orange);--neon-bunny-js-title-class: var(--neon-bunny-orange-lighter);--neon-bunny-js-variable-language: var(--neon-bunny-yellow);--neon-bunny-php: var(--neon-bunny-white);--neon-bunny-php-class-keyword: var(--neon-bunny-pink);--neon-bunny-php-class-title: var(--neon-bunny-yellow);--neon-bunny-php-function-title: var(--neon-bunny-orange-light);--neon-bunny-php-keyword: var(--neon-bunny-magenta);--neon-bunny-php-params-variable: var(--neon-bunny-green-darker);--neon-bunny-php-params: var(--neon-bunny-yellow);--neon-bunny-php-string: var(--neon-bunny-green-light);--neon-bunny-php-title-class: var(--neon-bunny-yellow);--neon-bunny-php-title-function-invoke: var(--neon-bunny-orange-light);--neon-bunny-php-title: var(--neon-bunny-white);--neon-bunny-php-variable: var(--neon-bunny-orange);--neon-bunny-php-meta: var(--neon-bunny-pink)}pre code.hljs{display:block;overflow-x:auto;padding:1em}code[class*=language-],pre[class*=language-]{-moz-hyphens:none;-moz-tab-size:4;-ms-hyphens:none;-o-tab-size:4;-webkit-hyphens:none;color:var(--neon-bunny-white);font-family:Consolas,Monaco,"Andale Mono","Ubuntu Mono",monospace;hyphens:none;line-height:1.5;tab-size:4;text-align:left;white-space:pre;word-break:normal;word-spacing:normal;word-wrap:normal}code[class*=language-]::-moz-selection,code[class*=language-] ::-moz-selection,pre[class*=language-]::-moz-selection,pre[class*=language-] ::-moz-selection{background:rgba(29,59,83,.99);text-shadow:none}code[class*=language-]::selection,code[class*=language-] ::selection,pre[class*=language-]::selection,pre[class*=language-] ::selection{background:rgba(255,255,255,.0823529412);text-shadow:none}@media print{code[class*=language-],pre[class*=language-]{text-shadow:none}}pre[class*=language-]{background:#000;color:#fff;margin:.5em 0;overflow:auto}:not(pre)>code[class*=language-]{background:#000;color:#fff;border-radius:.3em;padding:.1em;white-space:normal}.hljs-built_in{color:var(--neon-bunny-builtin)}.hljs-char{color:var(--neon-bunny-char)}.hljs-comment{color:var(--neon-bunny-comment);font-style:italic}.hljs-doctag{color:var(--neon-bunny-doctag)}.hljs-keyword{color:var(--neon-bunny-keyword)}.hljs-literal{color:var(--neon-bunny-literal)}.hljs-number{color:var(--neon-bunny-number)}.hljs-operator{color:var(--neon-bunny-operator)}.hljs-params{color:var(--neon-bunny-params)}.hljs-property{color:var(--neon-bunny-property)}.hljs-punctuation{color:var(--neon-bunny-punctuation)}.hljs-regexp{color:var(--neon-bunny-regex)}.hljs-string{color:var(--neon-bunny-string)}.hljs-subst{color:var(--neon-bunny-subst)}.hljs-symbol{color:var(--neon-bunny-symbol)}.hljs-title{color:var(--neon-bunny-title)}.hljs-title.class_{color:var(--neon-bunny-title-class)}.hljs-title.class_.inherited__{color:var(--neon-bunny-title-class-inherited)}.hljs-title.function_{color:var(--neon-bunny-title-function);text-decoration:underline}.hljs-title.function_.invoke__{color:var(--neon-bunny-title-function-invoke)}.hljs-type{color:var(--neon-bunny-type)}.hljs-variable{color:var(--neon-bunny-variable)}.hljs-variable.constant_{color:var(--neon-bunny-variable-constant)}.hljs-variable.language_{color:var(--neon-bunny-variable-language);font-style:italic}.hljs-meta{color:var(--neon-bunny-meta)}.hljs-meta.prompt_{color:var(--neon-bunny-meta-prompt)}.hljs-meta.keyword_{color:var(--neon-bunny-meta-keyword)}.hljs-meta.string_{color:var(--neon-bunny-meta-string)}.hljs-attr{color:var(--neon-bunny-attr)}.hljs-attribute{color:var(--neon-bunny-attribute)}.hljs-name{color:var(--neon-bunny-name)}.hljs-section{color:var(--neon-bunny-section)}.hljs-tag{color:var(--neon-bunny-tag)}.hljs-tag .hljs-attr{color:var(--neon-bunny-tag-attr)}.hljs-bullet{color:var(--neon-bunny-bullet)}.hljs-code{color:var(--neon-bunny-code)}.hljs-emphasis{color:var(--neon-bunny-emphasis);font-style:italic}.hljs-formula{color:var(--neon-bunny-formula)}.hljs-link{color:var(--neon-bunny-link)}.hljs-quote{color:var(--neon-bunny-quote)}.hljs-strong{color:var(--neon-bunny-strong);font-weight:bold}.hljs-selector{color:var(--neon-bunny-selector)}.hljs-selector-attr{color:var(--neon-bunny-selector-attr)}.hljs-selector-class{color:var(--neon-bunny-selector-class)}.hljs-selector-id{color:var(--neon-bunny-selector-id)}.hljs-selector-pseudo{color:var(--neon-bunny-selector-pseudo)}.hljs-selector-tag{color:var(--neon-bunny-selector-tag)}.hljs-addition{color:var(--neon-bunny-addition)}.hljs-deletion{color:var(--neon-bunny-deletion)}.hljs.language-html .hljs-tag .hljs-attr,.hljs .language-html .hljs-tag .hljs-attr{color:var(--neon-bunny-html-tag-attr)}.hljs.language-css,.hljs .language-css{color:var(--neon-bunny-css)}.hljs.language-css .hljs-built_in,.hljs .language-css .hljs-built_in{color:var(--neon-bunny-css-builtin)}.hljs.language-css .hljs-char,.hljs .language-css .hljs-char{color:var(--neon-bunny-char)}.hljs.language-css .hljs-comment,.hljs .language-css .hljs-comment{color:var(--neon-bunny-comment)}.hljs.language-css .hljs-doctag,.hljs .language-css .hljs-doctag{color:var(--neon-bunny-doctag)}.hljs.language-css .hljs-keyword,.hljs .language-css .hljs-keyword{color:var(--neon-bunny-keyword)}.hljs.language-css .hljs-literal,.hljs .language-css .hljs-literal{color:var(--neon-bunny-literal)}.hljs.language-css .hljs-number,.hljs .language-css .hljs-number{color:var(--neon-bunny-number)}.hljs.language-css .hljs-operator,.hljs .language-css .hljs-operator{color:var(--neon-bunny-operator)}.hljs.language-css .hljs-params,.hljs .language-css .hljs-params{color:var(--neon-bunny-params);font-style:italic}.hljs.language-css .hljs-property,.hljs .language-css .hljs-property{color:var(--neon-bunny-property)}.hljs.language-css .hljs-punctuation,.hljs .language-css .hljs-punctuation{color:var(--neon-bunny-punctuation)}.hljs.language-css .hljs-regexp,.hljs .language-css .hljs-regexp{color:var(--neon-bunny-regex)}.hljs.language-css .hljs-string,.hljs .language-css .hljs-string{color:var(--neon-bunny-string)}.hljs.language-css .hljs-subst,.hljs .language-css .hljs-subst{color:var(--neon-bunny-subst)}.hljs.language-css .hljs-symbol,.hljs .language-css .hljs-symbol{color:var(--neon-bunny-symbol)}.hljs.language-css .hljs-title,.hljs .language-css .hljs-title{color:var(--neon-bunny-title)}.hljs.language-css .hljs-title.class_,.hljs .language-css .hljs-title.class_{color:var(--neon-bunny-title-class)}.hljs.language-css .hljs-title.class_.inherited__,.hljs .language-css .hljs-title.class_.inherited__{color:var(--neon-bunny-title-class-inherited)}.hljs.language-css .hljs-title.function_,.hljs .language-css .hljs-title.function_{color:var(--neon-bunny-title-function)}.hljs.language-css .hljs-title.function_.invoke__,.hljs .language-css .hljs-title.function_.invoke__{color:var(--neon-bunny-title-function-invoke)}.hljs.language-css .hljs-type,.hljs .language-css .hljs-type{color:var(--neon-bunny-type)}.hljs.language-css .hljs-variable,.hljs .language-css .hljs-variable{color:var(--neon-bunny-variable)}.hljs.language-css .hljs-variable.constant_,.hljs .language-css .hljs-variable.constant_{color:var(--neon-bunny-variable-constant)}.hljs.language-css .hljs-variable.language_,.hljs .language-css .hljs-variable.language_{color:var(--neon-bunny-variable-language)}.hljs.language-css .hljs-meta,.hljs .language-css .hljs-meta{color:var(--neon-bunny-css-meta)}.hljs.language-css .hljs-meta.prompt_,.hljs .language-css .hljs-meta.prompt_{color:var(--neon-bunny-meta-prompt)}.hljs.language-css .hljs-meta.keyword_,.hljs .language-css .hljs-meta.keyword_{color:var(--neon-bunny-meta-keyword)}.hljs.language-css .hljs-meta.string_,.hljs .language-css .hljs-meta.string_{color:var(--neon-bunny-meta-string)}.hljs.language-css .hljs-attr,.hljs .language-css .hljs-attr{color:var(--neon-bunny-attr)}.hljs.language-css .hljs-attribute,.hljs .language-css .hljs-attribute{color:var(--neon-bunny-css-attribute)}.hljs.language-css .hljs-name,.hljs .language-css .hljs-name{color:var(--neon-bunny-name)}.hljs.language-css .hljs-section,.hljs .language-css .hljs-section{color:var(--neon-bunny-section)}.hljs.language-css .hljs-tag,.hljs .language-css .hljs-tag{color:var(--neon-bunny-tag)}.hljs.language-css .hljs-bullet,.hljs .language-css .hljs-bullet{color:var(--neon-bunny-bullet)}.hljs.language-css .hljs-code,.hljs .language-css .hljs-code{color:var(--neon-bunny-code)}.hljs.language-css .hljs-emphasis,.hljs .language-css .hljs-emphasis{color:var(--neon-bunny-emphasis);font-style:italic}.hljs.language-css .hljs-formula,.hljs .language-css .hljs-formula{color:var(--neon-bunny-formula)}.hljs.language-css .hljs-link,.hljs .language-css .hljs-link{color:var(--neon-bunny-link)}.hljs.language-css .hljs-quote,.hljs .language-css .hljs-quote{color:var(--neon-bunny-quote)}.hljs.language-css .hljs-strong,.hljs .language-css .hljs-strong{color:var(--neon-bunny-strong);font-weight:bold}.hljs.language-css .hljs-selector,.hljs .language-css .hljs-selector{color:var(--neon-bunny-selector)}.hljs.language-css .hljs-selector-attr,.hljs .language-css .hljs-selector-attr{color:var(--neon-bunny-selector-attr)}.hljs.language-css .hljs-selector-class,.hljs .language-css .hljs-selector-class{color:var(--neon-bunny-selector-class)}.hljs.language-css .hljs-selector-id,.hljs .language-css .hljs-selector-id{color:var(--neon-bunny-css-selector-id)}.hljs.language-css .hljs-selector-pseudo,.hljs .language-css .hljs-selector-pseudo{color:var(--neon-bunny-selector-pseudo)}.hljs.language-css .hljs-selector-tag,.hljs .language-css .hljs-selector-tag{color:var(--neon-bunny-selector-tag)}.hljs.language-css .hljs-addition,.hljs .language-css .hljs-addition{color:var(--neon-bunny-addition)}.hljs.language-css .hljs-deletion,.hljs .language-css .hljs-deletion{color:var(--neon-bunny-deletion)}.hljs.language-json .hljs-punctuation,.hljs .language-json .hljs-punctuation{color:var(--neon-bunny-json-punctuation)}.hljs.language-javascript,.hljs.language-js,.hljs .language-javascript,.hljs .language-js{color:var(--neon-bunny-js)}.hljs.language-javascript .hljs-built_in,.hljs.language-js .hljs-built_in,.hljs .language-javascript .hljs-built_in,.hljs .language-js .hljs-built_in{color:var(--neon-bunny-builtin)}.hljs.language-javascript .hljs-char,.hljs.language-js .hljs-char,.hljs .language-javascript .hljs-char,.hljs .language-js .hljs-char{color:var(--neon-bunny-char)}.hljs.language-javascript .hljs-comment,.hljs.language-js .hljs-comment,.hljs .language-javascript .hljs-comment,.hljs .language-js .hljs-comment{color:var(--neon-bunny-comment)}.hljs.language-javascript .hljs-doctag,.hljs.language-js .hljs-doctag,.hljs .language-javascript .hljs-doctag,.hljs .language-js .hljs-doctag{color:var(--neon-bunny-doctag)}.hljs.language-javascript .hljs-keyword,.hljs.language-js .hljs-keyword,.hljs .language-javascript .hljs-keyword,.hljs .language-js .hljs-keyword{color:var(--neon-bunny-keyword)}.hljs.language-javascript .hljs-literal,.hljs.language-js .hljs-literal,.hljs .language-javascript .hljs-literal,.hljs .language-js .hljs-literal{color:var(--neon-bunny-literal)}.hljs.language-javascript .hljs-number,.hljs.language-js .hljs-number,.hljs .language-javascript .hljs-number,.hljs .language-js .hljs-number{color:var(--neon-bunny-number)}.hljs.language-javascript .hljs-operator,.hljs.language-js .hljs-operator,.hljs .language-javascript .hljs-operator,.hljs .language-js .hljs-operator{color:var(--neon-bunny-operator)}.hljs.language-javascript .hljs-params,.hljs.language-js .hljs-params,.hljs .language-javascript .hljs-params,.hljs .language-js .hljs-params{color:var(--neon-bunny-params);font-style:italic}.hljs.language-javascript .hljs-params .hljs-variable.language_,.hljs.language-js .hljs-params .hljs-variable.language_,.hljs .language-javascript .hljs-params .hljs-variable.language_,.hljs .language-js .hljs-params .hljs-variable.language_{color:var(--neon-bunny-js-params-variable-language)}.hljs.language-javascript .hljs-property,.hljs.language-js .hljs-property,.hljs .language-javascript .hljs-property,.hljs .language-js .hljs-property{color:var(--neon-bunny-property)}.hljs.language-javascript .hljs-punctuation,.hljs.language-js .hljs-punctuation,.hljs .language-javascript .hljs-punctuation,.hljs .language-js .hljs-punctuation{color:var(--neon-bunny-punctuation)}.hljs.language-javascript .hljs-regexp,.hljs.language-js .hljs-regexp,.hljs .language-javascript .hljs-regexp,.hljs .language-js .hljs-regexp{color:var(--neon-bunny-regex)}.hljs.language-javascript .hljs-string,.hljs.language-js .hljs-string,.hljs .language-javascript .hljs-string,.hljs .language-js .hljs-string{color:var(--neon-bunny-string)}.hljs.language-javascript .hljs-subst,.hljs.language-js .hljs-subst,.hljs .language-javascript .hljs-subst,.hljs .language-js .hljs-subst{color:var(--neon-bunny-subst)}.hljs.language-javascript .hljs-symbol,.hljs.language-js .hljs-symbol,.hljs .language-javascript .hljs-symbol,.hljs .language-js .hljs-symbol{color:var(--neon-bunny-symbol)}.hljs.language-javascript .hljs-title,.hljs.language-js .hljs-title,.hljs .language-javascript .hljs-title,.hljs .language-js .hljs-title{color:var(--neon-bunny-title)}.hljs.language-javascript .hljs-title.class_,.hljs.language-js .hljs-title.class_,.hljs .language-javascript .hljs-title.class_,.hljs .language-js .hljs-title.class_{color:var(--neon-bunny-js-title-class)}.hljs.language-javascript .hljs-title.class_.inherited__,.hljs.language-js .hljs-title.class_.inherited__,.hljs .language-javascript .hljs-title.class_.inherited__,.hljs .language-js .hljs-title.class_.inherited__{color:var(--neon-bunny-title-class-inherited)}.hljs.language-javascript .hljs-title.function_,.hljs.language-js .hljs-title.function_,.hljs .language-javascript .hljs-title.function_,.hljs .language-js .hljs-title.function_{color:var(--neon-bunny-title-function)}.hljs.language-javascript .hljs-title.function_.invoke__,.hljs.language-js .hljs-title.function_.invoke__,.hljs .language-javascript .hljs-title.function_.invoke__,.hljs .language-js .hljs-title.function_.invoke__{color:var(--neon-bunny-title-function-invoke)}.hljs.language-javascript .hljs-type,.hljs.language-js .hljs-type,.hljs .language-javascript .hljs-type,.hljs .language-js .hljs-type{color:var(--neon-bunny-type)}.hljs.language-javascript .hljs-variable,.hljs.language-js .hljs-variable,.hljs .language-javascript .hljs-variable,.hljs .language-js .hljs-variable{color:var(--neon-bunny-variable)}.hljs.language-javascript .hljs-variable.constant_,.hljs.language-js .hljs-variable.constant_,.hljs .language-javascript .hljs-variable.constant_,.hljs .language-js .hljs-variable.constant_{color:var(--neon-bunny-variable-constant)}.hljs.language-javascript .hljs-variable.language_,.hljs.language-js .hljs-variable.language_,.hljs .language-javascript .hljs-variable.language_,.hljs .language-js .hljs-variable.language_{color:var(--neon-bunny-js-variable-language)}.hljs.language-javascript .hljs-meta,.hljs.language-js .hljs-meta,.hljs .language-javascript .hljs-meta,.hljs .language-js .hljs-meta{color:var(--neon-bunny-meta)}.hljs.language-javascript .hljs-meta.prompt_,.hljs.language-js .hljs-meta.prompt_,.hljs .language-javascript .hljs-meta.prompt_,.hljs .language-js .hljs-meta.prompt_{color:var(--neon-bunny-meta-prompt)}.hljs.language-javascript .hljs-meta.keyword_,.hljs.language-js .hljs-meta.keyword_,.hljs .language-javascript .hljs-meta.keyword_,.hljs .language-js .hljs-meta.keyword_{color:var(--neon-bunny-meta-keyword)}.hljs.language-javascript .hljs-meta.string_,.hljs.language-js .hljs-meta.string_,.hljs .language-javascript .hljs-meta.string_,.hljs .language-js .hljs-meta.string_{color:var(--neon-bunny-meta-string)}.hljs.language-javascript .hljs-attr,.hljs.language-js .hljs-attr,.hljs .language-javascript .hljs-attr,.hljs .language-js .hljs-attr{color:var(--neon-bunny-attr)}.hljs.language-javascript .hljs-attribute,.hljs.language-js .hljs-attribute,.hljs .language-javascript .hljs-attribute,.hljs .language-js .hljs-attribute{color:var(--neon-bunny-attribute)}.hljs.language-javascript .hljs-name,.hljs.language-js .hljs-name,.hljs .language-javascript .hljs-name,.hljs .language-js .hljs-name{color:var(--neon-bunny-name)}.hljs.language-javascript .hljs-section,.hljs.language-js .hljs-section,.hljs .language-javascript .hljs-section,.hljs .language-js .hljs-section{color:var(--neon-bunny-section)}.hljs.language-javascript .hljs-tag,.hljs.language-js .hljs-tag,.hljs .language-javascript .hljs-tag,.hljs .language-js .hljs-tag{color:var(--neon-bunny-tag)}.hljs.language-javascript .hljs-bullet,.hljs.language-js .hljs-bullet,.hljs .language-javascript .hljs-bullet,.hljs .language-js .hljs-bullet{color:var(--neon-bunny-bullet)}.hljs.language-javascript .hljs-code,.hljs.language-js .hljs-code,.hljs .language-javascript .hljs-code,.hljs .language-js .hljs-code{color:var(--neon-bunny-code)}.hljs.language-javascript .hljs-emphasis,.hljs.language-js .hljs-emphasis,.hljs .language-javascript .hljs-emphasis,.hljs .language-js .hljs-emphasis{color:var(--neon-bunny-emphasis);font-style:italic}.hljs.language-javascript .hljs-formula,.hljs.language-js .hljs-formula,.hljs .language-javascript .hljs-formula,.hljs .language-js .hljs-formula{color:var(--neon-bunny-formula)}.hljs.language-javascript .hljs-link,.hljs.language-js .hljs-link,.hljs .language-javascript .hljs-link,.hljs .language-js .hljs-link{color:var(--neon-bunny-link)}.hljs.language-javascript .hljs-quote,.hljs.language-js .hljs-quote,.hljs .language-javascript .hljs-quote,.hljs .language-js .hljs-quote{color:var(--neon-bunny-quote)}.hljs.language-javascript .hljs-strong,.hljs.language-js .hljs-strong,.hljs .language-javascript .hljs-strong,.hljs .language-js .hljs-strong{color:var(--neon-bunny-strong);font-weight:bold}.hljs.language-javascript .hljs-selector,.hljs.language-js .hljs-selector,.hljs .language-javascript .hljs-selector,.hljs .language-js .hljs-selector{color:var(--neon-bunny-selector)}.hljs.language-javascript .hljs-selector-attr,.hljs.language-js .hljs-selector-attr,.hljs .language-javascript .hljs-selector-attr,.hljs .language-js .hljs-selector-attr{color:var(--neon-bunny-selector-attr)}.hljs.language-javascript .hljs-selector-class,.hljs.language-js .hljs-selector-class,.hljs .language-javascript .hljs-selector-class,.hljs .language-js .hljs-selector-class{color:var(--neon-bunny-selector-class)}.hljs.language-javascript .hljs-selector-id,.hljs.language-js .hljs-selector-id,.hljs .language-javascript .hljs-selector-id,.hljs .language-js .hljs-selector-id{color:var(--neon-bunny-selector-id)}.hljs.language-javascript .hljs-selector-pseudo,.hljs.language-js .hljs-selector-pseudo,.hljs .language-javascript .hljs-selector-pseudo,.hljs .language-js .hljs-selector-pseudo{color:var(--neon-bunny-selector-pseudo)}.hljs.language-javascript .hljs-selector-tag,.hljs.language-js .hljs-selector-tag,.hljs .language-javascript .hljs-selector-tag,.hljs .language-js .hljs-selector-tag{color:var(--neon-bunny-selector-tag)}.hljs.language-javascript .hljs-addition,.hljs.language-js .hljs-addition,.hljs .language-javascript .hljs-addition,.hljs .language-js .hljs-addition{color:var(--neon-bunny-addition)}.hljs.language-javascript .hljs-deletion,.hljs.language-js .hljs-deletion,.hljs .language-javascript .hljs-deletion,.hljs .language-js .hljs-deletion{color:var(--neon-bunny-deletion)}.hljs.language-php,.hljs .language-php{color:var(--neon-bunny-php)}.hljs.language-php .hljs-built_in,.hljs .language-php .hljs-built_in{color:var(--neon-bunny-builtin)}.hljs.language-php .hljs-char,.hljs .language-php .hljs-char{color:var(--neon-bunny-char)}.hljs.language-php .hljs-class .hljs-title,.hljs .language-php .hljs-class .hljs-title{color:var(--neon-bunny-php-class-title) !important}.hljs.language-php .hljs-class .hljs-keyword,.hljs .language-php .hljs-class .hljs-keyword{color:var(--neon-bunny-php-class-keyword)}.hljs.language-php .hljs-comment,.hljs .language-php .hljs-comment{color:var(--neon-bunny-comment)}.hljs.language-php .hljs-doctag,.hljs .language-php .hljs-doctag{color:var(--neon-bunny-doctag)}.hljs.language-php .hljs-function .hljs-title,.hljs .language-php .hljs-function .hljs-title{color:var(--neon-bunny-php-function-title)}.hljs.language-php .hljs-keyword,.hljs .language-php .hljs-keyword{color:var(--neon-bunny-php-keyword)}.hljs.language-php .hljs-literal,.hljs .language-php .hljs-literal{color:var(--neon-bunny-literal)}.hljs.language-php .hljs-number,.hljs .language-php .hljs-number{color:var(--neon-bunny-number)}.hljs.language-php .hljs-operator,.hljs .language-php .hljs-operator{color:var(--neon-bunny-operator)}.hljs.language-php .hljs-params,.hljs .language-php .hljs-params{color:var(--neon-bunny-php-params)}.hljs.language-php .hljs-params .hljs-variable,.hljs .language-php .hljs-params .hljs-variable{color:var(--neon-bunny-php-params-variable)}.hljs.language-php .hljs-property,.hljs .language-php .hljs-property{color:var(--neon-bunny-property)}.hljs.language-php .hljs-punctuation,.hljs .language-php .hljs-punctuation{color:var(--neon-bunny-punctuation)}.hljs.language-php .hljs-regexp,.hljs .language-php .hljs-regexp{color:var(--neon-bunny-regex)}.hljs.language-php .hljs-string,.hljs .language-php .hljs-string{color:var(--neon-bunny-php-string)}.hljs.language-php .hljs-subst,.hljs .language-php .hljs-subst{color:var(--neon-bunny-subst)}.hljs.language-php .hljs-symbol,.hljs .language-php .hljs-symbol{color:var(--neon-bunny-symbol)}.hljs.language-php .hljs-title,.hljs .language-php .hljs-title{color:var(--neon-bunny-php-title)}.hljs.language-php .hljs-title.class_,.hljs .language-php .hljs-title.class_{color:var(--neon-bunny-php-title-class)}.hljs.language-php .hljs-title.class_.inherited__,.hljs .language-php .hljs-title.class_.inherited__{color:var(--neon-bunny-title-class-inherited)}.hljs.language-php .hljs-title.function_,.hljs .language-php .hljs-title.function_{color:var(--neon-bunny-title-function)}.hljs.language-php .hljs-title.function_.invoke__,.hljs .language-php .hljs-title.function_.invoke__{color:var(--neon-bunny-php-title-function-invoke)}.hljs.language-php .hljs-type,.hljs .language-php .hljs-type{color:var(--neon-bunny-type)}.hljs.language-php .hljs-variable,.hljs .language-php .hljs-variable{color:var(--neon-bunny-php-variable)}.hljs.language-php .hljs-variable.constant_,.hljs .language-php .hljs-variable.constant_{color:var(--neon-bunny-variable-constant)}.hljs.language-php .hljs-variable.language_,.hljs .language-php .hljs-variable.language_{color:var(--neon-bunny-variable-language)}.hljs.language-php .hljs-meta,.hljs .language-php .hljs-meta{color:var(--neon-bunny-php-meta)}.hljs.language-php .hljs-meta.prompt_,.hljs .language-php .hljs-meta.prompt_{color:var(--neon-bunny-meta-prompt)}.hljs.language-php .hljs-meta.keyword_,.hljs .language-php .hljs-meta.keyword_{color:var(--neon-bunny-meta-keyword)}.hljs.language-php .hljs-meta.string_,.hljs .language-php .hljs-meta.string_{color:var(--neon-bunny-meta-string)}.hljs.language-php .hljs-attr,.hljs .language-php .hljs-attr{color:var(--neon-bunny-attr)}.hljs.language-php .hljs-attribute,.hljs .language-php .hljs-attribute{color:var(--neon-bunny-attribute)}.hljs.language-php .hljs-name,.hljs .language-php .hljs-name{color:var(--neon-bunny-name)}.hljs.language-php .hljs-section,.hljs .language-php .hljs-section{color:var(--neon-bunny-section)}.hljs.language-php .hljs-tag,.hljs .language-php .hljs-tag{color:var(--neon-bunny-tag)}.hljs.language-php .hljs-bullet,.hljs .language-php .hljs-bullet{color:var(--neon-bunny-bullet)}.hljs.language-php .hljs-code,.hljs .language-php .hljs-code{color:var(--neon-bunny-code)}.hljs.language-php .hljs-emphasis,.hljs .language-php .hljs-emphasis{color:var(--neon-bunny-emphasis);font-style:italic}.hljs.language-php .hljs-formula,.hljs .language-php .hljs-formula{color:var(--neon-bunny-formula)}.hljs.language-php .hljs-link,.hljs .language-php .hljs-link{color:var(--neon-bunny-link)}.hljs.language-php .hljs-quote,.hljs .language-php .hljs-quote{color:var(--neon-bunny-quote)}.hljs.language-php .hljs-strong,.hljs .language-php .hljs-strong{color:var(--neon-bunny-strong);font-weight:bold}.hljs.language-php .hljs-selector,.hljs .language-php .hljs-selector{color:var(--neon-bunny-selector)}.hljs.language-php .hljs-selector-attr,.hljs .language-php .hljs-selector-attr{color:var(--neon-bunny-selector-attr)}.hljs.language-php .hljs-selector-class,.hljs .language-php .hljs-selector-class{color:var(--neon-bunny-selector-class)}.hljs.language-php .hljs-selector-id,.hljs .language-php .hljs-selector-id{color:var(--neon-bunny-selector-id)}.hljs.language-php .hljs-selector-pseudo,.hljs .language-php .hljs-selector-pseudo{color:var(--neon-bunny-selector-pseudo)}.hljs.language-php .hljs-selector-tag,.hljs .language-php .hljs-selector-tag{color:var(--neon-bunny-selector-tag)}.hljs.language-php .hljs-addition,.hljs .language-php .hljs-addition{color:var(--neon-bunny-addition)}.hljs.language-php .hljs-deletion,.hljs .language-php .hljs-deletion{color:var(--neon-bunny-deletion)}\n')}if(!l&&!o)return de(),r.appendChild(document.createTextNode(e)),void n.appendChild(r);const d=ue(t,D.value);if(void 0!==s.value.cssPath)u=s.value.cssPath;else switch(t){case"highlightjs":c=`${d}.min.css`,u=`${f.value}/${c}`;break;case"prism":c=`${d}.css`,u="default"===D.value?`${T.value}/prism.css`:D.value.includes("themes-")?`${C.value}/${c}`:`${T.value}/prism-${c}`;break;default:c=""}m.value=!0,fetch(u).then((e=>e.text())).then((e=>{de(),r.appendChild(document.createTextNode(e)),n.appendChild(r),m.value=!1})).catch((e=>{s.value.highlightjs}))}function ce(){const e=ZY().device;b.value="mobile"===e.type}function ue(e,t,n=!1){let r=t;return"prism"===e&&(r=r.replace("themes-","prism-"),r=r.replace("prism-prism-","prism-"),r=r.replace("theme-prism-","theme-"),n&&(r=r.replace("prism-prism-",""),r=r.replace("prism-",""))),"highlightjs"===e&&(r=r.replace("base16-","base16/")),r}function de(){const e=document.querySelectorAll('[data-theme="v-code-block--theme-sheet"]');e.length>0&&e.forEach((e=>{e.remove()}))}function he(){(function(){if("json"===s.value.lang){const e=s.value.code.toString();return function(e){try{return JSON.parse(e),!0}catch{return!1}}(e)?void(u.value=JSON.stringify(JSON.parse(e),null,s.value.indent)):(s.value.lang="text",void(u.value=e))}u.value=s.value.code})(),s.value.highlightjs&&h((()=>import("./index-DwpGtVtI.js")),__vite__mapDeps([21,1,2,13,14,15,16,3,4,5,6,7,8,9,10,11,12,17]),import.meta.url).then((e=>{l=e.default,l.registerLanguage("plain",sq),w.value=l.highlight(u.value,{language:s.value.lang}).value})).catch((e=>{})),s.value.prismjs&&h((()=>import("./prism-DmrxnvMA.js").then((e=>e.p))),__vite__mapDeps([22,1,2]),import.meta.url).then((e=>{c=e.default,w.value=c.highlight(u.value,c.languages[s.value.lang],s.value.lang)})).catch((e=>{}))}function pe(){r("run")}return G(o,(()=>{s.value={...o,...a},s.value.code&&he(),(s.value.theme||s.value.prismjs||s.value.highlightjs)&&(oe(),D.value=s.value.theme,le()),s.value.copyText&&(p.value=s.value.copyText),s.value.runText&&(I.value=s.value.runText)})),K((()=>{p.value=s.value.copyText,I.value=s.value.runText,oe()})),q((()=>{D.value=s.value.theme,le(),ce(),he()})),window.addEventListener("orientationchange",(()=>{ce()})),(e,t)=>(y(),v("div",{class:ee(A(z))},[A(j)||A(B)||A(i).label||A(i).tabs?(y(),v("div",{key:0,class:"v-code-block--header",style:R(A(re))},[E("div",{class:ee(["v-code-block--label v-code-block--pb-1",A(H)])},[A(i).label?X(e.$slots,"label",Z(J({key:0},{copyCode:se,copyStatus:A(d),runCode:pe})),void 0,!0):(y(),v(S,{key:1},[x(k(A(j)),1)],64))],2),E("div",{class:"v-code-block--tabs",style:R(A(ae))},[A(i).tabs?X(e.$slots,"tabs",Z(J({key:0},{copyCode:se,copyStatus:A(d),runCode:pe})),void 0,!0):(y(),v(S,{key:1},[A(P)&&A(B)?(y(),v("div",{key:0,class:ee(["v-code-block--tab",A(te)]),onClick:se},[E("div",lq,[A(L)?(y(),O(oq,{key:0,class:ee(["v-code-block--button-copy-icon",A(Y)]),icon:A(d)},null,8,["class","icon"])):N("",!0),x(" "+k(A(p)),1)])],2)):N("",!0),A(F)&&A(B)&&!A(b)?(y(),v("div",{key:1,class:ee(["v-code-block--tab v-code-block--tab-run",A(te)]),onClick:pe},[E("div",cq,k(A(I)),1)],2)):N("",!0)],64))],4)],4)):N("",!0),E("div",uq,[E("div",{class:ee(["v-code-block--code-copy-button",A($)]),onClick:se},[A(i).copyButton?X(e.$slots,"copyButton",Z(J({key:0},{copyStatus:A(d)})),void 0,!0):(y(),v(S,{key:1},[A(M)?(y(),O(oq,{key:0,class:ee(["v-code-block--button-copy-icon",A(Y)]),icon:A(d)},null,8,["class","icon"])):N("",!0)],64))],2),E("pre",J(e.$attrs,{class:`language-${A(s).lang}`,style:A(ie)}),[x("\t\t"),e.prismPlugin?(y(),v("code",{key:0,class:ee(`language-${A(s).lang} ${A(s).browserWindow?"v-code-block--code-browser":""} ${A(s).highlightjs?"hljs":""}`),style:R(A(ne)),textContent:k(A(U))},null,14,dq)):(y(),v("code",{key:1,class:ee(`language-${A(s).lang} ${A(s).browserWindow?"v-code-block--code-browser":""} ${A(s).highlightjs?"hljs":""}`),style:R(A(ne)),innerHTML:A(w)},null,14,hq)),x("\n\t")],16)])],2))}}));Object.freeze(Object.defineProperty({__proto__:null,default:pq},Symbol.toStringTag,{value:"Module"}));const gq=Symbol();!function(){try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(':root{--v-cb-blue: 206 80% 39%;--v-cb-blue-hex: #146eb4;--v-cb-blue-rgb: 20, 110, 180;--v-cb-primary: var(--v-cb-blue);--v-cb-primary-hex: var(--v-cb-blue-hex);--v-cb-primary-rgb: var(--v-cb-blue-rgb);--v-cb-green: 120 61% 34%;--v-cb-green-hex: #228b22;--v-cb-green-rgb: 34, 139, 34;--v-cb-success: var(--v-cb-green);--v-cb-success-hex: var(--v-cb-green-hex);--v-cb-success-rgb: var(--v-cb-green-rgb);--v-cb-red: 0 68% 42%;--v-cb-red-hex: #b22222;--v-cb-red-rgb: 178, 34, 34;--v-cb-danger: var(--v-cb-red);--v-cb-danger-hex: var(--v-cb-red-hex);--v-cb-danger-rgb: var(--v-cb-red-rgb);--v-cb-tab-neon-bunny-bkg: 0 0% 0%;--v-cb-tab-neon-bunny-text: 0 0% 100%;--v-cb-tab-neon-bunny-icon: 207 100% 52%;--v-cb-tab-neon-bunny-icon-success: 119 100% 51%;--v-cb-tab-neon-bunny-icon-failed: 3 100% 58%;--v-cb-tab-neon-bunny-carrot-bkg: 0 0% 0%;--v-cb-tab-neon-bunny-carrot-text: 0 0% 100%;--v-cb-tab-neon-bunny-carrot-icon: 292 100% 50%;--v-cb-tab-neon-bunny-carrot-icon-success: 119 100% 51%;--v-cb-tab-neon-bunny-carrot-icon-failed: 3 100% 58%;--v-cb-tab-prism-coy-bkg: 205 59% 50%;--v-cb-tab-prism-coy-text: 0 0% 0%;--v-cb-tab-prism-coy-icon: 195 76% 41%;--v-cb-tab-prism-coy-icon-success: 80 100% 30%;--v-cb-tab-prism-coy-icon-failed: 0 64% 48%;--v-cb-tab-prism-dark-bkg: 30 20% 25%;--v-cb-tab-prism-dark-text: 0 0% 100%;--v-cb-tab-prism-dark-border: 30 20% 40%;--v-cb-tab-prism-dark-icon: 40 90% 60%;--v-cb-tab-prism-dark-icon-success: 75 70% 60%;--v-cb-tab-prism-dark-icon-failed: 0 100% 50%;--v-cb-tab-prism-default-bkg: 24 20% 95%;--v-cb-tab-prism-default-text: 0 0% 0%;--v-cb-tab-prism-default-icon: 198 100% 33%;--v-cb-tab-prism-default-icon-success: 80 100% 30%;--v-cb-tab-prism-default-icon-failed: 348 68% 58%;--v-cb-tab-prism-funky-bkg: 0 0% 80%;--v-cb-tab-prism-funky-text: 0 0% 100%;--v-cb-tab-prism-funky-dark: 0 0% 0%;--v-cb-tab-prism-funky-icon: 328 100% 54%;--v-cb-tab-prism-funky-icon-success: 80 61% 50%;--v-cb-tab-prism-funky-icon-failed: 0 100% 50%;--v-cb-tab-prism-okaidia-bkg: 70 8% 15%;--v-cb-tab-prism-okaidia-text: 0 0% 100%;--v-cb-tab-prism-okaidia-icon: 190 81% 67%;--v-cb-tab-prism-okaidia-icon-success: 80 76% 53%;--v-cb-tab-prism-okaidia-icon-failed: 338 95% 56%;--v-cb-tab-prism-solarizedlight-bkg: 44 87% 94%;--v-cb-tab-prism-solarizedlight-text: 196 13% 45%;--v-cb-tab-prism-solarizedlight-icon: 175 59% 40%;--v-cb-tab-prism-solarizedlight-icon-success: 68 100% 30%;--v-cb-tab-prism-solarizedlight-icon-failed: 18 80% 44%;--v-cb-tab-prism-tomorrow-bkg: 0 0% 18%;--v-cb-tab-prism-tomorrow-text: 0 0% 80%;--v-cb-tab-prism-tomorrow-icon: 299 34% 70%;--v-cb-tab-prism-tomorrow-icon-success: 143 39% 64%;--v-cb-tab-prism-tomorrow-icon-failed: 358 65% 68%;--v-cb-tab-prism-twilight-bkg: 0 0% 8%;--v-cb-tab-prism-twilight-text: 0 0% 80%;--v-cb-tab-prism-twilight-border: 0 0% 33%;--v-cb-tab-prism-twilight-icon: 53 89% 79%;--v-cb-tab-prism-twilight-icon-success: 76 21% 52%;--v-cb-tab-prism-twilight-icon-failed: 14 58% 55%;--v-cb-tab-prism-themes-night-owl: 207 95% 8%;--v-cb-tab-prism-themes-night-owl-text: 217 34% 88%;--v-cb-tab-prism-themes-night-owl-icon: 169 56% 68%;--v-cb-tab-prism-themes-night-owl-icon-success: 84 62% 63%;--v-cb-tab-prism-themes-night-owl-icon-failed: 350 100% 67%;--v-cb-tab-highlightjs-a11y-dark-bkg: 0 0% 17%;--v-cb-tab-highlightjs-a11y-dark-text: 60 30% 96%;--v-cb-tab-highlightjs-a11y-dark-icon: 180 100% 44%;--v-cb-tab-highlightjs-a11y-dark-icon-success: 80 75% 55%;--v-cb-tab-highlightjs-a11y-dark-icon-failed: 17 100% 74%;--v-cb-tab-highlightjs-a11y-light-bkg: 0 0% 100%;--v-cb-tab-highlightjs-a11y-light-text: 0 0% 33%;--v-cb-tab-highlightjs-a11y-light-icon: 280 60% 39%;--v-cb-tab-highlightjs-a11y-light-icon-success: 120 100% 25%;--v-cb-tab-highlightjs-a11y-light-icon-failed: 2 80% 47%;--v-cb-tab-highlightjs-agate-bkg: 0 0% 20%;--v-cb-tab-highlightjs-agate-text: 0 0% 100%;--v-cb-tab-highlightjs-agate-icon: 197 93% 83%;--v-cb-tab-highlightjs-agate-icon-success: 136 53% 66%;--v-cb-tab-highlightjs-agate-icon-failed: 0 56% 61%;--v-cb-tab-highlightjs-an-old-hope-bkg: 228 8% 12%;--v-cb-tab-highlightjs-an-old-hope-text: 219 13% 78%;--v-cb-tab-highlightjs-an-old-hope-icon: 195 63% 58%;--v-cb-tab-highlightjs-an-old-hope-icon-success: 116 75% 62%;--v-cb-tab-highlightjs-an-old-hope-icon-failed: 352 81% 58%;--v-cb-tab-highlightjs-androidstudio-bkg: 210 7% 17%;--v-cb-tab-highlightjs-androidstudio-text: 211 20% 72%;--v-cb-tab-highlightjs-androidstudio-icon: 206 38% 57%;--v-cb-tab-highlightjs-androidstudio-icon-success: 108 28% 46%;--v-cb-tab-highlightjs-androidstudio-icon-failed: 27 61% 50%;--v-cb-tab-highlightjs-arduino-light-bkg: 0 0% 100%;--v-cb-tab-highlightjs-arduino-light-text: 198 11% 30%;--v-cb-tab-highlightjs-arduino-light-icon: 182 100% 31%;--v-cb-tab-highlightjs-arduino-light-icon-success: 182 100% 19%;--v-cb-tab-highlightjs-arduino-light-icon-failed: 24 100% 41%;--v-cb-tab-highlightjs-arta-bkg: 0 0% 13%;--v-cb-tab-highlightjs-arta-text: 0 0% 67%;--v-cb-tab-highlightjs-arta-icon: 202 85% 56%;--v-cb-tab-highlightjs-arta-icon-success: 150 100% 40%;--v-cb-tab-highlightjs-arta-icon-failed: 330 83% 40%;--v-cb-tab-highlightjs-ascetic-bkg: 0 0% 100%;--v-cb-tab-highlightjs-ascetic-text: 0 0% 0%;--v-cb-tab-highlightjs-ascetic-icon: 0 0% 53%;--v-cb-tab-highlightjs-ascetic-icon-success: var(--v-cb-success);--v-cb-tab-highlightjs-ascetic-icon-failed: var(--v-cb-failed);--v-cb-tab-highlightjs-atom-one-dark-reasonable-bkg: 220 13% 18%;--v-cb-tab-highlightjs-atom-one-dark-reasonable-text: 219 14% 71%;--v-cb-tab-highlightjs-atom-one-dark-reasonable-icon: 29 54% 61%;--v-cb-tab-highlightjs-atom-one-dark-reasonable-icon-success: 80 76% 53%;--v-cb-tab-highlightjs-atom-one-dark-reasonable-icon-failed: 338 95% 56%;--v-cb-tab-highlightjs-atom-one-dark-bkg: 220 13% 18%;--v-cb-tab-highlightjs-atom-one-dark-text: 219 14% 71%;--v-cb-tab-highlightjs-atom-one-dark-icon: 29 54% 61%;--v-cb-tab-highlightjs-atom-one-dark-icon-success: 95 38% 62%;--v-cb-tab-highlightjs-atom-one-dark-icon-failed: 355 65% 65%;--v-cb-tab-highlightjs-atom-one-light-bkg: 0 0% 98%;--v-cb-tab-highlightjs-atom-one-light-text: 228 8% 24%;--v-cb-tab-highlightjs-atom-one-light-icon: 41 99% 30%;--v-cb-tab-highlightjs-atom-one-light-icon-success: 119 34% 47%;--v-cb-tab-highlightjs-atom-one-light-icon-failed: 5 74% 59%;--v-cb-tab-highlightjs-base16-onedark-bkg: 220 13% 18%;--v-cb-tab-highlightjs-base16-onedark-text: 219 14% 71%;--v-cb-tab-highlightjs-base16-onedark-icon: 207 82% 66%;--v-cb-tab-highlightjs-base16-onedark-icon-success: 95 38% 62%;--v-cb-tab-highlightjs-base16-onedark-icon-failed: 5 48% 51%;--v-cb-tab-highlightjs-brown-paper-bkg: 35 22% 64%;--v-cb-tab-highlightjs-brown-paper-bkg-img: url(brown-papersq.png);--v-cb-tab-highlightjs-brown-paper-text: 233 32% 31%;--v-cb-tab-highlightjs-brown-paper-icon: 207 100% 30%;--v-cb-tab-highlightjs-brown-paper-icon-success: var(--v-cb-success);--v-cb-tab-highlightjs-brown-paper-icon-failed: 359 60% 31%;--v-cb-tab-highlightjs-codepen-embed-bkg: 0 0% 13%;--v-cb-tab-highlightjs-codepen-embed-text: 0 0% 100%;--v-cb-tab-highlightjs-codepen-embed-icon: 300 10% 57%;--v-cb-tab-highlightjs-codepen-embed-icon-success: 76 20% 52%;--v-cb-tab-highlightjs-codepen-embed-icon-failed: var(--v-cb-failed);--v-cb-tab-highlightjs-color-brewer-bkg: 0 0% 100%;--v-cb-tab-highlightjs-color-brewer-text: 0 0% 0%;--v-cb-tab-highlightjs-color-brewer-icon: 205 59% 47%;--v-cb-tab-highlightjs-color-brewer-icon-success: 138 54% 42%;--v-cb-tab-highlightjs-color-brewer-icon-failed: 20 89% 48%;--v-cb-tab-highlightjs-dark-bkg: 0 0% 19%;--v-cb-tab-highlightjs-dark-text: 0 0% 87%;--v-cb-tab-highlightjs-dark-icon: 0 56% 70%;--v-cb-tab-highlightjs-dark-icon-success: var(--v-cb-success);--v-cb-tab-highlightjs-dark-icon-failed: var(--v-cb-failed);--v-cb-tab-highlightjs-default-bkg: 0 0% 95%;--v-cb-tab-highlightjs-default-text: 0 0% 27%;--v-cb-tab-highlightjs-default-icon: 0 0% 27%;--v-cb-tab-highlightjs-default-icon-success: 90 100% 23%;--v-cb-tab-highlightjs-default-icon-failed: 0 100% 27%;--v-cb-tab-highlightjs-devibeans-bkg: 0 0% 0%;--v-cb-tab-highlightjs-devibeans-text: 23 4% 62%;--v-cb-tab-highlightjs-devibeans-icon: 207 89% 68%;--v-cb-tab-highlightjs-devibeans-icon-success: 95 49% 36%;--v-cb-tab-highlightjs-devibeans-icon-failed: 1 83% 63%;--v-cb-tab-highlightjs-docco-bkg: 240 100% 99%;--v-cb-tab-highlightjs-docco-text: 0 0% 0%;--v-cb-tab-highlightjs-docco-icon: 195 100% 35%;--v-cb-tab-highlightjs-docco-icon-success: 150 43% 44%;--v-cb-tab-highlightjs-docco-icon-failed: 17 64% 36%;--v-cb-tab-highlightjs-far-bkg: 240 100% 25%;--v-cb-tab-highlightjs-far-text: 180 100% 50%;--v-cb-tab-highlightjs-far-icon: 60 100% 50%;--v-cb-tab-highlightjs-far-icon-success: 120 100% 50%;--v-cb-tab-highlightjs-far-icon-failed: 0 100% 50%;--v-cb-tab-highlightjs-felipec-bkg: 240 6% 13%;--v-cb-tab-highlightjs-felipec-text: 240 6% 87%;--v-cb-tab-highlightjs-felipec-icon: 210 75% 75%;--v-cb-tab-highlightjs-felipec-icon-success: 120 75% 75%;--v-cb-tab-highlightjs-felipec-icon-failed: 0 75% 75%;--v-cb-tab-highlightjs-foundation-bkg: 0 0% 93%;--v-cb-tab-highlightjs-foundation-text: 0 0% 0%;--v-cb-tab-highlightjs-foundation-icon: 180 100% 30%;--v-cb-tab-highlightjs-foundation-icon-success: 345 86% 47%;--v-cb-tab-highlightjs-foundation-icon-failed: 120 100% 23%;--v-cb-tab-highlightjs-github-dark-dimmed-bkg: 215 15% 16%;--v-cb-tab-highlightjs-github-dark-dimmed-text: 210 19% 73%;--v-cb-tab-highlightjs-github-dark-dimmed-icon: 207 100% 79%;--v-cb-tab-highlightjs-github-dark-dimmed-icon-success: 119 52% 70%;--v-cb-tab-highlightjs-github-dark-dimmed-icon-failed: 359 66% 28%;--v-cb-tab-highlightjs-github-dark-bkg: 216 28% 7%;--v-cb-tab-highlightjs-github-dark-text: 210 17% 82%;--v-cb-tab-highlightjs-github-dark-icon: 208 100% 74%;--v-cb-tab-highlightjs-github-dark-icon-success: 125 69% 70%;--v-cb-tab-highlightjs-github-dark-icon-failed: 4 100% 72%;--v-cb-tab-highlightjs-github-bkg: 0 0% 100%;--v-cb-tab-highlightjs-github-text: 210 12% 16%;--v-cb-tab-highlightjs-github-icon: 212 100% 39%;--v-cb-tab-highlightjs-github-icon-success: 134 60% 33%;--v-cb-tab-highlightjs-github-icon-failed: 354 66% 54%;--v-cb-tab-highlightjs-gml-bkg: 0 0% 13%;--v-cb-tab-highlightjs-gml-text: 0 0% 75%;--v-cb-tab-highlightjs-gml-icon: 60 100% 50%;--v-cb-tab-highlightjs-gml-icon-success: 121 73% 62%;--v-cb-tab-highlightjs-gml-icon-failed: 0 100% 75%;--v-cb-tab-highlightjs-googlecode-bkg: 0 0% 100%;--v-cb-tab-highlightjs-googlecode-text: 0 0% 0%;--v-cb-tab-highlightjs-googlecode-icon: 180 100% 20%;--v-cb-tab-highlightjs-googlecode-icon-success: 120 100% 27%;--v-cb-tab-highlightjs-googlecode-icon-failed: 0 100% 27%;--v-cb-tab-highlightjs-gradient-dark-bkg: 279 58% 34%;--v-cb-tab-highlightjs-gradient-dark-bkg-gradient: linear-gradient(160deg, #652487 0, #443ac3 35%, #0174b7 68%, #04988e 100%);--v-cb-tab-highlightjs-gradient-dark-text: 266 15% 91%;--v-cb-tab-highlightjs-gradient-dark-icon: 199 100% 61%;--v-cb-tab-highlightjs-gradient-dark-icon-success: 75 100% 81%;--v-cb-tab-highlightjs-gradient-dark-icon-failed: 29 100% 63%;--v-cb-tab-highlightjs-gradient-light-bkg: 293 100% 90%;--v-cb-tab-highlightjs-gradient-light-bkg-gradient: linear-gradient(295deg, #f9ccff 0, #e6bbf9 11%, #9ec6f9 32%, #55e6ee 60%, #91f5d1 74%, #f9ffbf 98%);--v-cb-tab-highlightjs-gradient-light-text: 256 94% 26%;--v-cb-tab-highlightjs-gradient-light-icon: 199 64% 41%;--v-cb-tab-highlightjs-gradient-light-icon-success: 149 93% 38%;--v-cb-tab-highlightjs-gradient-light-icon-failed: 19 98% 25%;--v-cb-tab-highlightjs-grayscale-bkg: 0 0% 100%;--v-cb-tab-highlightjs-grayscale-text: 0 0% 20%;--v-cb-tab-highlightjs-grayscale-icon: 0 0% 20%;--v-cb-tab-highlightjs-grayscale-icon-success: 0 0% 20%;--v-cb-tab-highlightjs-grayscale-icon-failed: 0 0% 20%;--v-cb-tab-highlightjs-hybrid-bkg: 210 6% 12%;--v-cb-tab-highlightjs-hybrid-text: 140 3% 78%;--v-cb-tab-highlightjs-hybrid-icon: 208 32% 63%;--v-cb-tab-highlightjs-hybrid-icon-success: 66 39% 57%;--v-cb-tab-highlightjs-hybrid-icon-failed: 0 50% 60%;--v-cb-tab-highlightjs-idea-bkg: 0 0% 100%;--v-cb-tab-highlightjs-idea-text: 0 0% 0%;--v-cb-tab-highlightjs-idea-icon: 240 100% 25%;--v-cb-tab-highlightjs-idea-icon-success: 120 60% 83%;--v-cb-tab-highlightjs-idea-icon-failed: 10 100% 87%;--v-cb-tab-highlightjs-intellij-light-bkg: 0 0% 100%;--v-cb-tab-highlightjs-intellij-light-text: 223 100% 35%;--v-cb-tab-highlightjs-intellij-light-icon: 294 80% 32%;--v-cb-tab-highlightjs-intellij-light-icon-success: 129 91% 26%;--v-cb-tab-highlightjs-intellij-light-icon-failed: var(--v-cb-failed);--v-cb-tab-highlightjs-ir-black-bkg: 0 0% 0%;--v-cb-tab-highlightjs-ir-black-text: 0 0% 97%;--v-cb-tab-highlightjs-ir-black-icon: 209 98% 79%;--v-cb-tab-highlightjs-ir-black-icon-success: 93 100% 69%;--v-cb-tab-highlightjs-ir-black-icon-failed: 301 100% 73%;--v-cb-tab-highlightjs-isbl-editor-dark-bkg: 0 0% 25%;--v-cb-tab-highlightjs-isbl-editor-dark-text: 0 0% 94%;--v-cb-tab-highlightjs-isbl-editor-dark-icon: 0 0% 94%;--v-cb-tab-highlightjs-isbl-editor-dark-icon-success: 90 100% 23%;--v-cb-tab-highlightjs-isbl-editor-dark-icon-failed: 13 76% 50%;--v-cb-tab-highlightjs-isbl-editor-light-bkg: 0 0% 100%;--v-cb-tab-highlightjs-isbl-editor-light-text: 0 0% 0%;--v-cb-tab-highlightjs-isbl-editor-light-icon: 240 100% 25%;--v-cb-tab-highlightjs-isbl-editor-light-icon-success: 90 100% 23%;--v-cb-tab-highlightjs-isbl-editor-light-icon-failed: 11 100% 49%;--v-cb-tab-highlightjs-kimbie-dark-bkg: 35 39% 10%;--v-cb-tab-highlightjs-kimbie-dark-text: 32 47% 68%;--v-cb-tab-highlightjs-kimbie-dark-icon: 356 19% 50%;--v-cb-tab-highlightjs-kimbie-dark-icon-success: 74 35% 45%;--v-cb-tab-highlightjs-kimbie-dark-icon-failed: 349 70% 54%;--v-cb-tab-highlightjs-kimbie-light-bkg: 35 83% 91%;--v-cb-tab-highlightjs-kimbie-light-text: 30 37% 38%;--v-cb-tab-highlightjs-kimbie-light-icon: 32 92% 58%;--v-cb-tab-highlightjs-kimbie-light-icon-success: 74 35% 45%;--v-cb-tab-highlightjs-kimbie-light-icon-failed: 349 70% 54%;--v-cb-tab-highlightjs-lightfair-bkg: 0 0% 100%;--v-cb-tab-highlightjs-lightfair-text: 0 0% 27%;--v-cb-tab-highlightjs-lightfair-icon: 217 89% 61%;--v-cb-tab-highlightjs-lightfair-icon-success: 180 69% 46%;--v-cb-tab-highlightjs-lightfair-icon-failed: 0 41% 56%;--v-cb-tab-highlightjs-lioshi-bkg: 0 0% 19%;--v-cb-tab-highlightjs-lioshi-text: 140 3% 78%;--v-cb-tab-highlightjs-lioshi-icon: 304 24% 66%;--v-cb-tab-highlightjs-lioshi-icon-success: 66 39% 57%;--v-cb-tab-highlightjs-lioshi-icon-failed: 0 50% 60%;--v-cb-tab-highlightjs-magula-bkg: 0 0% 96%;--v-cb-tab-highlightjs-magula-text: 0 0% 0%;--v-cb-tab-highlightjs-magula-icon: 240 100% 25%;--v-cb-tab-highlightjs-magula-icon-success: 120 100% 17%;--v-cb-tab-highlightjs-magula-icon-failed: 0 100% 27%;--v-cb-tab-highlightjs-mono-blue-bkg: 213 27% 94%;--v-cb-tab-highlightjs-mono-blue-text: 214 100% 11%;--v-cb-tab-highlightjs-mono-blue-icon: 215 100% 34%;--v-cb-tab-highlightjs-mono-blue-icon-success: var(--v-cb-success);--v-cb-tab-highlightjs-mono-blue-icon-failed: var(--v-cb-failed);--v-cb-tab-highlightjs-monokai-sublime-bkg: 72 7% 13%;--v-cb-tab-highlightjs-monokai-sublime-text: 60 30% 96%;--v-cb-tab-highlightjs-monokai-sublime-icon: 54 70% 68%;--v-cb-tab-highlightjs-monokai-sublime-icon-success: 80 76% 53%;--v-cb-tab-highlightjs-monokai-sublime-icon-failed: 338 95% 56%;--v-cb-tab-highlightjs-monokai-bkg: 70 8% 15%;--v-cb-tab-highlightjs-monokai-text: 0 0% 87%;--v-cb-tab-highlightjs-monokai-icon: 0 0% 87%;--v-cb-tab-highlightjs-monokai-icon-success: 80 76% 53%;--v-cb-tab-highlightjs-monokai-icon-failed: 338 95% 56%;--v-cb-tab-highlightjs-night-owl-bkg: 207 95% 8%;--v-cb-tab-highlightjs-night-owl-text: 217 34% 88%;--v-cb-tab-highlightjs-night-owl-icon: 276 68% 75%;--v-cb-tab-highlightjs-night-owl-icon-success: 84 62% 63%;--v-cb-tab-highlightjs-night-owl-icon-failed: 350 100% 67%;--v-cb-tab-highlightjs-nnfx-dark-bkg: 0 0% 20%;--v-cb-tab-highlightjs-nnfx-dark-text: 0 0% 100%;--v-cb-tab-highlightjs-nnfx-dark-icon: 270 50% 60%;--v-cb-tab-highlightjs-nnfx-dark-icon-success: 90 50% 60%;--v-cb-tab-highlightjs-nnfx-dark-icon-failed: 18 100% 43%;--v-cb-tab-highlightjs-nnfx-light-bkg: 0 0% 100%;--v-cb-tab-highlightjs-nnfx-light-text: 0 0% 0%;--v-cb-tab-highlightjs-nnfx-light-icon: 240 100% 50%;--v-cb-tab-highlightjs-nnfx-light-icon-success: 120 100% 23%;--v-cb-tab-highlightjs-nnfx-light-icon-failed: 120 100% 48%;--v-cb-tab-highlightjs-nord-bkg: 220 16% 22%;--v-cb-tab-highlightjs-nord-text: 210 34% 63%;--v-cb-tab-highlightjs-nord-icon: 179 25% 65%;--v-cb-tab-highlightjs-nord-icon-success: 92 28% 65%;--v-cb-tab-highlightjs-nord-icon-failed: 14 51% 63%;--v-cb-tab-highlightjs-obsidian-bkg: 210 7% 17%;--v-cb-tab-highlightjs-obsidian-text: 210 7% 89%;--v-cb-tab-highlightjs-obsidian-icon: 210 32% 55%;--v-cb-tab-highlightjs-obsidian-icon-success: 162 26% 64%;--v-cb-tab-highlightjs-obsidian-icon-failed: 30 100% 46%;--v-cb-tab-highlightjs-panda-syntax-dark-bkg: 200 3% 17%;--v-cb-tab-highlightjs-panda-syntax-dark-text: 0 0% 90%;--v-cb-tab-highlightjs-panda-syntax-dark-icon: 207 94% 62%;--v-cb-tab-highlightjs-panda-syntax-dark-icon-success: 171 95% 54%;--v-cb-tab-highlightjs-panda-syntax-dark-icon-failed: 342 100% 65%;--v-cb-tab-highlightjs-panda-syntax-light-bkg: 0 0% 90%;--v-cb-tab-highlightjs-panda-syntax-light-text: 200 3% 17%;--v-cb-tab-highlightjs-panda-syntax-light-icon: 207 57% 50%;--v-cb-tab-highlightjs-panda-syntax-light-icon-success: 171 81% 27%;--v-cb-tab-highlightjs-panda-syntax-light-icon-failed: 324 70% 50%;--v-cb-tab-highlightjs-paraiso-dark-bkg: 304 22% 15%;--v-cb-tab-highlightjs-paraiso-dark-text: 23 4% 62%;--v-cb-tab-highlightjs-paraiso-dark-icon: 45 99% 55%;--v-cb-tab-highlightjs-paraiso-dark-icon-success: 153 43% 50%;--v-cb-tab-highlightjs-paraiso-dark-icon-failed: 5 83% 64%;--v-cb-tab-highlightjs-paraiso-light-bkg: 69 24% 89%;--v-cb-tab-highlightjs-paraiso-light-text: 314 9% 28%;--v-cb-tab-highlightjs-paraiso-light-icon: 45 99% 55%;--v-cb-tab-highlightjs-paraiso-light-icon-success: 153 43% 50%;--v-cb-tab-highlightjs-paraiso-light-icon-failed: 5 83% 64%;--v-cb-tab-highlightjs-pojoaque-bkg: 72 11% 9%;--v-cb-tab-highlightjs-pojoaque-bkg-img: url(pojoaque.jpg) left top;--v-cb-tab-highlightjs-pojoaque-text: 50 52% 71%;--v-cb-tab-highlightjs-pojoaque-icon: 36 100% 62%;--v-cb-tab-highlightjs-pojoaque-icon-success: 149 32% 41%;--v-cb-tab-highlightjs-pojoaque-icon-failed: 1 71% 52%;--v-cb-tab-highlightjs-purebasic-bkg: 60 100% 94%;--v-cb-tab-highlightjs-purebasic-text: 0 0% 0%;--v-cb-tab-highlightjs-purebasic-icon: 210 100% 50%;--v-cb-tab-highlightjs-purebasic-icon-success: 180 100% 33%;--v-cb-tab-highlightjs-purebasic-icon-failed: 327 32% 43%;--v-cb-tab-highlightjs-qtcreator-dark-bkg: 0 0% 0%;--v-cb-tab-highlightjs-qtcreator-dark-text: 0 0% 67%;--v-cb-tab-highlightjs-qtcreator-dark-icon: 240 100% 77%;--v-cb-tab-highlightjs-qtcreator-dark-icon-success: var(--v-cb-success);--v-cb-tab-highlightjs-qtcreator-dark-icon-failed: 0 100% 67%;--v-cb-tab-highlightjs-qtcreator-light-bkg: 0 0% 100%;--v-cb-tab-highlightjs-qtcreator-light-text: 0 0% 0%;--v-cb-tab-highlightjs-qtcreator-light-icon: 240 100% 25%;--v-cb-tab-highlightjs-qtcreator-light-icon-success: 60 100% 25%;--v-cb-tab-highlightjs-qtcreator-light-icon-failed: 0 100% 25%;--v-cb-tab-highlightjs-rainbow-bkg: 180 1% 28%;--v-cb-tab-highlightjs-rainbow-text: 210 21% 85%;--v-cb-tab-highlightjs-rainbow-icon: 208 32% 63%;--v-cb-tab-highlightjs-rainbow-icon-success: 66 39% 57%;--v-cb-tab-highlightjs-rainbow-icon-failed: 1 71% 52%;--v-cb-tab-highlightjs-routeros-bkg: 0 0% 94%;--v-cb-tab-highlightjs-routeros-text: 0 0% 27%;--v-cb-tab-highlightjs-routeros-icon: 200 66% 36%;--v-cb-tab-highlightjs-routeros-icon-success: 115 100% 30%;--v-cb-tab-highlightjs-routeros-icon-failed: 0 100% 27%;--v-cb-tab-highlightjs-school-book-bkg: 59 79% 83%;--v-cb-tab-highlightjs-school-book-text: 84 62% 22%;--v-cb-tab-highlightjs-school-book-icon: 207 100% 30%;--v-cb-tab-highlightjs-school-book-icon-success: var(--v-cb-success);--v-cb-tab-highlightjs-school-book-icon-failed: 355 97% 46%;--v-cb-tab-highlightjs-shades-of-purple-bkg: 243 34% 25%;--v-cb-tab-highlightjs-shades-of-purple-text: 248 100% 94%;--v-cb-tab-highlightjs-shades-of-purple-icon: 38 100% 49%;--v-cb-tab-highlightjs-shades-of-purple-icon-success: 102 83% 45%;--v-cb-tab-highlightjs-shades-of-purple-icon-failed: 344 94% 69%;--v-cb-tab-highlightjs-srcery-bkg: 40 6% 10%;--v-cb-tab-highlightjs-srcery-text: 39 90% 88%;--v-cb-tab-highlightjs-srcery-icon: 41 96% 57%;--v-cb-tab-highlightjs-srcery-icon-success: 76 55% 48%;--v-cb-tab-highlightjs-srcery-icon-failed: 2 86% 55%;--v-cb-tab-highlightjs-stackoverflow-dark-bkg: 0 2% 11%;--v-cb-tab-highlightjs-stackoverflow-dark-text: 0 0% 100%;--v-cb-tab-highlightjs-stackoverflow-dark-icon: 207 42% 67%;--v-cb-tab-highlightjs-stackoverflow-dark-icon-success: 66 39% 57%;--v-cb-tab-highlightjs-stackoverflow-dark-icon-failed: 357 62% 66%;--v-cb-tab-highlightjs-stackoverflow-light-bkg: 0 0% 96%;--v-cb-tab-highlightjs-stackoverflow-light-text: 210 8% 20%;--v-cb-tab-highlightjs-stackoverflow-light-icon: 205 99% 29%;--v-cb-tab-highlightjs-stackoverflow-light-icon-success: 140 41% 31%;--v-cb-tab-highlightjs-stackoverflow-light-icon-failed: 360 62% 46%;--v-cb-tab-highlightjs-sunburst-bkg: 0 0% 0%;--v-cb-tab-highlightjs-sunburst-text: 0 0% 97%;--v-cb-tab-highlightjs-sunburst-icon: 214 100% 77%;--v-cb-tab-highlightjs-sunburst-icon-success: 101 45% 47%;--v-cb-tab-highlightjs-sunburst-icon-failed: 18 68% 64%;--v-cb-tab-highlightjs-tokyo-night-dark-bkg: 235 19% 13%;--v-cb-tab-highlightjs-tokyo-night-dark-text: 227 35% 71%;--v-cb-tab-highlightjs-tokyo-night-dark-icon: 261 85% 79%;--v-cb-tab-highlightjs-tokyo-night-dark-icon-success: 89 51% 61%;--v-cb-tab-highlightjs-tokyo-night-dark-icon-failed: 349 89% 72%;--v-cb-tab-highlightjs-tokyo-night-light-bkg: 230 8% 85%;--v-cb-tab-highlightjs-tokyo-night-light-text: 230 12% 38%;--v-cb-tab-highlightjs-tokyo-night-light-icon: 218 45% 37%;--v-cb-tab-highlightjs-tokyo-night-light-icon-success: 89 32% 28%;--v-cb-tab-highlightjs-tokyo-night-light-icon-failed: 348 35% 41%;--v-cb-tab-highlightjs-tomorrow-night-blue-bkg: 213 100% 16%;--v-cb-tab-highlightjs-tomorrow-night-blue-text: 0 0% 100%;--v-cb-tab-highlightjs-tomorrow-night-blue-icon: 282 100% 87%;--v-cb-tab-highlightjs-tomorrow-night-blue-icon-success: 87 72% 80%;--v-cb-tab-highlightjs-tomorrow-night-blue-icon-failed: 356 100% 81%;--v-cb-tab-highlightjs-tomorrow-night-bright-bkg: 0 0% 0%;--v-cb-tab-highlightjs-tomorrow-night-bright-text: 0 0% 92%;--v-cb-tab-highlightjs-tomorrow-night-bright-icon: 281 45% 72%;--v-cb-tab-highlightjs-tomorrow-night-bright-icon-success: 68 55% 54%;--v-cb-tab-highlightjs-tomorrow-night-bright-icon-failed: 358 62% 57%;--v-cb-tab-highlightjs-vs-bkg: 0 0% 100%;--v-cb-tab-highlightjs-vs-text: 0 0% 0%;--v-cb-tab-highlightjs-vs-icon: 240 100% 50%;--v-cb-tab-highlightjs-vs-icon-success: 120 100% 25%;--v-cb-tab-highlightjs-vs-icon-failed: 0 100% 50%;--v-cb-tab-highlightjs-vs2015-bkg: 0 0% 12%;--v-cb-tab-highlightjs-vs2015-text: 0 0% 86%;--v-cb-tab-highlightjs-vs2015-icon: 207 61% 59%;--v-cb-tab-highlightjs-vs2015-icon-success: 112 38% 47%;--v-cb-tab-highlightjs-vs2015-icon-failed: 0 0% 0%;--v-cb-tab-highlightjs-xcode-bkg: 0 0% 100%;--v-cb-tab-highlightjs-xcode-text: 0 0% 0%;--v-cb-tab-highlightjs-xcode-icon: 240 100% 53%;--v-cb-tab-highlightjs-xcode-icon-success: 120 100% 23%;--v-cb-tab-highlightjs-xcode-icon-failed: 1 80% 43%;--v-cb-tab-highlightjs-xt256-bkg: 0 0% 0%;--v-cb-tab-highlightjs-xt256-text: 0 0% 92%;--v-cb-tab-highlightjs-xt256-icon: 240 100% 50%;--v-cb-tab-highlightjs-xt256-icon-success: 120 100% 50%;--v-cb-tab-highlightjs-xt256-icon-failed: 0 100% 50%}.v-code-block{display:block;max-width:100%}.v-code-block--header{align-items:end;display:flex;justify-content:space-between;overflow:visible;position:relative;width:100%}.v-code-block--label{overflow:auto}.v-code-block--tabs{align-items:end;display:flex;justify-content:flex-end}.v-code-block--tab{align-items:center;border-radius:5px 5px 0 0;cursor:pointer;display:flex;flex-direction:row;justify-content:flex-start;padding:5px 15px;text-align:center;transition:background-color .35s ease;white-space:nowrap;width:fit-content}.v-code-block--tab svg{height:.85rem;width:.85rem}.v-code-block--code{position:relative;z-index:1}.v-code-block--code pre,.v-code-block--code pre[class*=language-]{margin-top:0}.v-code-block--code pre[class*=language-]:before,.v-code-block--code pre[class*=language-]:after{bottom:.95em}.v-code-block--code pre code{width:100%}.v-code-block--code-browser:before{background-image:url(\'data:image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" width="54" height="14" viewBox="0 0 54 14"><g fill="none" fillRule="evenodd" transform="translate(1 1)"><circle cx="6" cy="6" r="6" fill="%23FF5F56" stroke="%23E0443E" strokeWidth=".5" /><circle cx="26" cy="6" r="6" fill="%23FFBD2E" stroke="%23DEA123" strokeWidth=".5" /><circle cx="46" cy="6" r="6" fill="%2327C93F" stroke="%231AAB29" strokeWidth=".5" /></g></svg>\');background-position:.5em .5em;background-repeat:no-repeat;content:"";display:block;padding-right:10em;padding-top:3rem;width:100%}.v-code-block--code:hover .v-code-block--code-copy-button{opacity:1}.v-code-block--code-copy-button{align-items:center;color:#ccc;cursor:pointer;display:flex;fill:#ccc;height:1.5em;justify-content:center;opacity:0;position:absolute;right:.9rem;top:.7rem;transition:opacity .2s ease-in-out;width:auto;z-index:2}.v-code-block--code-copy-button:hover{opacity:1}.v-code-block--code-copy-button-persist{opacity:.5}.v-code-block--code-copy-button svg{height:1rem;width:1rem}.v-code-block--tab-prism-funky{background:url(\'data:image/svg+xml;charset=utf-8,<svg%20version%3D"1.1"%20xmlns%3D"http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg"%20width%3D"100"%20height%3D"100"%20fill%3D"rgba(0%2C0%2C0%2C.2)">%0D%0A<polygon%20points%3D"0%2C50%2050%2C0%200%2C0"%20%2F>%0D%0A<polygon%20points%3D"0%2C100%2050%2C100%20100%2C50%20100%2C0"%20%2F>%0D%0A<%2Fsvg>\');background-size:1em 1em}.v-code-block--tab-prism-neon-bunny,.v-code-block--tab-highlightjs-neon-bunny{background-color:hsl(var(--v-cb-tab-neon-bunny-bkg)/100%)!important;color:hsl(var(--v-cb-tab-neon-bunny-text))!important}.v-code-block--tab-prism-neon-bunny:hover,.v-code-block--tab-highlightjs-neon-bunny:hover{background-color:hsl(var(--v-cb-tab-neon-bunny-bkg)/50%)!important}.v-code-block--tab-prism-neon-bunny-icon,.v-code-block--tab-highlightjs-neon-bunny-icon{color:hsl(var(--v-cb-tab-neon-bunny-icon))!important;fill:hsl(var(--v-cb-tab-neon-bunny-icon))!important}.v-code-block--tab-prism-neon-bunny-icon-status-success,.v-code-block--tab-highlightjs-neon-bunny-icon-status-success{color:hsl(var(--v-cb-tab-neon-bunny-icon-success))!important;fill:hsl(var(--v-cb-tab-neon-bunny-icon-success))!important}.v-code-block--tab-prism-neon-bunny-icon-status-failed,.v-code-block--tab-highlightjs-neon-bunny-icon-status-failed{color:hsl(var(--v-cb-tab-neon-bunny-icon-failed))!important;fill:hsl(var(--v-cb-tab-neon-bunny-icon-failed))!important}.v-code-block--tab-prism-neon-bunny>div,.v-code-block--tab-highlightjs-neon-bunny>div{color:hsl(var(--v-cb-tab-neon-bunny-text))}.v-code-block--tab-prism-neon-bunny-carrot,.v-code-block--tab-highlightjs-neon-bunny-carrot{background-color:hsl(var(--v-cb-tab-neon-bunny-carrot-bkg)/100%)!important;color:hsl(var(--v-cb-tab-neon-bunny-carrot-text))!important}.v-code-block--tab-prism-neon-bunny-carrot:hover,.v-code-block--tab-highlightjs-neon-bunny-carrot:hover{background-color:hsl(var(--v-cb-tab-neon-bunny-carrot-bkg)/50%)!important}.v-code-block--tab-prism-neon-bunny-carrot-icon,.v-code-block--tab-highlightjs-neon-bunny-carrot-icon{color:hsl(var(--v-cb-tab-neon-bunny-carrot-icon))!important;fill:hsl(var(--v-cb-tab-neon-bunny-carrot-icon))!important}.v-code-block--tab-prism-neon-bunny-carrot-icon-status-success,.v-code-block--tab-highlightjs-neon-bunny-carrot-icon-status-success{color:hsl(var(--v-cb-tab-neon-bunny-carrot-icon-success))!important;fill:hsl(var(--v-cb-tab-neon-bunny-carrot-icon-success))!important}.v-code-block--tab-prism-neon-bunny-carrot-icon-status-failed,.v-code-block--tab-highlightjs-neon-bunny-carrot-icon-status-failed{color:hsl(var(--v-cb-tab-neon-bunny-carrot-icon-failed))!important;fill:hsl(var(--v-cb-tab-neon-bunny-carrot-icon-failed))!important}.v-code-block--tab-prism-neon-bunny-carrot>div,.v-code-block--tab-highlightjs-neon-bunny-carrot>div{color:hsl(var(--v-cb-tab-neon-bunny-carrot-text))}.v-code-block--tab-prism-coy{background-color:hsl(var(--v-cb-tab-prism-coy-bkg)/10%)!important;border-left:5px solid hsl(var(--v-cb-tab-prism-coy-bkg));border-radius:0}.v-code-block--tab-prism-coy:hover{background-color:hsl(var(--v-cb-tab-prism-coy-bkg)/20%)!important}.v-code-block--tab-prism-coy-icon{color:hsl(var(--v-cb-tab-prism-coy-icon))!important;fill:hsl(var(--v-cb-tab-prism-coy-icon))!important}.v-code-block--tab-prism-coy-icon-status-success{color:hsl(var(--v-cb-tab-prism-coy-icon-success))!important;fill:hsl(var(--v-cb-tab-prism-coy-icon-success))!important}.v-code-block--tab-prism-coy-icon-status-failed{color:hsl(var(--v-cb-tab-prism-coy-icon-failed))!important;fill:hsl(var(--v-cb-tab-prism-coy-icon-failed))!important}.v-code-block--tab-prism-coy>div{color:hsl(var(--v-cb-tab-prism-coy-text))}.v-code-block--tab-prism-dark{background-color:hsl(var(--v-cb-tab-prism-dark-bkg)/100%)!important;border-color:hsl(var(--v-cb-tab-prism-dark-border));border-style:solid;border-width:.3em .3em 0}.v-code-block--tab-prism-dark:hover{background-color:hsl(var(--v-cb-tab-prism-dark-border)/50%)!important}.v-code-block--tab-prism-dark-icon{color:hsl(var(--v-cb-tab-prism-dark-icon))!important;fill:hsl(var(--v-cb-tab-prism-dark-icon))!important}.v-code-block--tab-prism-dark-icon-status-success{color:hsl(var(--v-cb-tab-prism-dark-icon-success))!important;fill:hsl(var(--v-cb-tab-prism-dark-icon-success))!important}.v-code-block--tab-prism-dark-icon-status-failed{color:hsl(var(--v-cb-tab-prism-dark-icon-failed))!important;fill:hsl(var(--v-cb-tab-prism-dark-icon-failed))!important}.v-code-block--tab-prism-dark>div{color:hsl(var(--v-cb-tab-prism-dark-text))}.v-code-block--tab-prism-default{background-color:hsl(var(--v-cb-tab-prism-default-bkg)/100%)!important}.v-code-block--tab-prism-default:hover{background-color:hsl(var(--v-cb-tab-prism-default-bkg)/50%)!important}.v-code-block--tab-prism-default-icon{color:hsl(var(--v-cb-tab-prism-default-icon))!important;fill:hsl(var(--v-cb-tab-prism-default-icon))!important}.v-code-block--tab-prism-default-icon-status-success{color:hsl(var(--v-cb-tab-prism-default-icon-success))!important;fill:hsl(var(--v-cb-tab-prism-default-icon-success))!important}.v-code-block--tab-prism-default-icon-status-failed{color:hsl(var(--v-cb-tab-prism-default-icon-failed))!important;fill:hsl(var(--v-cb-tab-prism-default-icon-failed))!important}.v-code-block--tab-prism-default>div{color:hsl(var(--v-cb-tab-prism-default-text))}.v-code-block--tab-prism-funky{background:url(\'data:image/svg+xml;charset=utf-8,<svg%20version%3D"1.1"%20xmlns%3D"http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg"%20width%3D"100"%20height%3D"100"%20fill%3D"rgba(0%2C0%2C0%2C.2)">%0D%0A<polygon%20points%3D"0%2C50%2050%2C0%200%2C0"%20%2F>%0D%0A<polygon%20points%3D"0%2C100%2050%2C100%20100%2C50%20100%2C0"%20%2F>%0D%0A<%2Fsvg>\');background-size:1em 1em}.v-code-block--tab-prism-funky:hover{background-color:hsl(var(--v-cb-tab-prism-funky-bkg))!important}.v-code-block--tab-prism-funky-icon{color:hsl(var(--v-cb-tab-prism-funky-icon))!important;fill:hsl(var(--v-cb-tab-prism-funky-icon))!important}.v-code-block--tab-prism-funky-icon-status-success{color:hsl(var(--v-cb-tab-prism-funky-icon-success))!important;fill:hsl(var(--v-cb-tab-prism-funky-icon-success))!important}.v-code-block--tab-prism-funky-icon-status-failed{color:hsl(var(--v-cb-tab-prism-funky-icon-failed))!important;fill:hsl(var(--v-cb-tab-prism-funky-icon-failed))!important}.v-code-block--tab-prism-funky>div{background-color:hsl(var(--v-cb-tab-prism-funky-dark))!important;color:hsl(var(--v-cb-tab-prism-funky-text))}.v-code-block--tab-prism-okaidia{background-color:hsl(var(--v-cb-tab-prism-okaidia-bkg)/100%)!important}.v-code-block--tab-prism-okaidia:hover{background-color:hsl(var(--v-cb-tab-prism-okaidia-bkg)/50%)!important}.v-code-block--tab-prism-okaidia-icon{color:hsl(var(--v-cb-tab-prism-okaidia-icon))!important;fill:hsl(var(--v-cb-tab-prism-okaidia-icon))!important}.v-code-block--tab-prism-okaidia-icon-status-success{color:hsl(var(--v-cb-tab-prism-okaidia-icon-success))!important;fill:hsl(var(--v-cb-tab-prism-okaidia-icon-success))!important}.v-code-block--tab-prism-okaidia-icon-status-failed{color:hsl(var(--v-cb-tab-prism-okaidia-icon-failed))!important;fill:hsl(var(--v-cb-tab-prism-okaidia-icon-failed))!important}.v-code-block--tab-prism-okaidia>div{color:hsl(var(--v-cb-tab-prism-okaidia-text))}.v-code-block--tab-prism-solarizedlight{background-color:hsl(var(--v-cb-tab-prism-solarizedlight-bkg)/100%)!important}.v-code-block--tab-prism-solarizedlight:hover{background-color:hsl(var(--v-cb-tab-prism-solarizedlight-bkg)/50%)!important}.v-code-block--tab-prism-solarizedlight-icon{color:hsl(var(--v-cb-tab-prism-solarizedlight-icon))!important;fill:hsl(var(--v-cb-tab-prism-solarizedlight-icon))!important}.v-code-block--tab-prism-solarizedlight-icon-status-success{color:hsl(var(--v-cb-tab-prism-solarizedlight-icon-success))!important;fill:hsl(var(--v-cb-tab-prism-solarizedlight-icon-success))!important}.v-code-block--tab-prism-solarizedlight-icon-status-failed{color:hsl(var(--v-cb-tab-prism-solarizedlight-icon-failed))!important;fill:hsl(var(--v-cb-tab-prism-solarizedlight-icon-failed))!important}.v-code-block--tab-prism-solarizedlight>div{color:hsl(var(--v-cb-tab-prism-solarizedlight-text))}.v-code-block--tab-prism-tomorrow{background-color:hsl(var(--v-cb-tab-prism-tomorrow-bkg)/100%)!important}.v-code-block--tab-prism-tomorrow:hover{background-color:hsl(var(--v-cb-tab-prism-tomorrow-bkg)/50%)!important}.v-code-block--tab-prism-tomorrow-icon{color:hsl(var(--v-cb-tab-prism-tomorrow-icon))!important;fill:hsl(var(--v-cb-tab-prism-tomorrow-icon))!important}.v-code-block--tab-prism-tomorrow-icon-status-success{color:hsl(var(--v-cb-tab-prism-tomorrow-icon-success))!important;fill:hsl(var(--v-cb-tab-prism-tomorrow-icon-success))!important}.v-code-block--tab-prism-tomorrow-icon-status-failed{color:hsl(var(--v-cb-tab-prism-tomorrow-icon-failed))!important;fill:hsl(var(--v-cb-tab-prism-tomorrow-icon-failed))!important}.v-code-block--tab-prism-tomorrow>div{color:hsl(var(--v-cb-tab-prism-tomorrow-text))}.v-code-block--tab-prism-twilight{background-color:hsl(var(--v-cb-tab-prism-twilight-bkg)/100%)!important;border-color:hsl(var(--v-cb-tab-prism-twilight-border));border-style:solid;border-width:.3em .3em 0}.v-code-block--tab-prism-twilight:hover{background-color:hsl(var(--v-cb-tab-prism-twilight-bkg)/50%)!important}.v-code-block--tab-prism-twilight-icon{color:hsl(var(--v-cb-tab-prism-twilight-icon))!important;fill:hsl(var(--v-cb-tab-prism-twilight-icon))!important}.v-code-block--tab-prism-twilight-icon-status-success{color:hsl(var(--v-cb-tab-prism-twilight-icon-success))!important;fill:hsl(var(--v-cb-tab-prism-twilight-icon-success))!important}.v-code-block--tab-prism-twilight-icon-status-failed{color:hsl(var(--v-cb-tab-prism-twilight-icon-failed))!important;fill:hsl(var(--v-cb-tab-prism-twilight-icon-failed))!important}.v-code-block--tab-prism-twilight>div{color:hsl(var(--v-cb-tab-prism-twilight-text))}.v-code-block--tab-prism-themes-night-owl{background-color:hsl(var(--v-cb-tab-prism-themes-night-owl)/100%)!important}.v-code-block--tab-prism-themes-night-owl:hover{background-color:hsl(var(--v-cb-tab-prism-themes-night-owl)/50%)!important}.v-code-block--tab-prism-themes-night-owl-icon{color:hsl(var(--v-cb-tab-prism-themes-night-owl-icon))!important;fill:hsl(var(--v-cb-tab-prism-themes-night-owl-icon))!important}.v-code-block--tab-prism-themes-night-owl-icon-status-success{color:hsl(var(--v-cb-tab-prism-themes-night-owl-icon-success))!important;fill:hsl(var(--v-cb-tab-prism-themes-night-owl-icon-success))!important}.v-code-block--tab-prism-themes-night-owl-icon-status-failed{color:hsl(var(--v-cb-tab-prism-themes-night-owl-icon-failed))!important;fill:hsl(var(--v-cb-tab-prism-themes-night-owl-icon-failed))!important}.v-code-block--tab-prism-themes-night-owl>div{color:hsl(var(--v-cb-tab-prism-themes-night-owl-text))}.v-code-block--tab-highlightjs-brown-paper{background-color:var(--v-cb-tab-highlightjs-brown-paper-bkg);background-image:var(--v-cb-tab-highlightjs-brown-paper-bkg-img)}.v-code-block--tab-highlightjs-brown-paper:hover{background-color:hsl(var(--v-cb-tab-highlightjs-brown-paper-bkg))!important}.v-code-block--tab-highlightjs-brown-paper-icon{color:hsl(var(--v-cb-tab-highlightjs-brown-paper-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-brown-paper-icon))!important}.v-code-block--tab-highlightjs-brown-paper-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-brown-paper-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-brown-paper-icon-success))!important}.v-code-block--tab-highlightjs-brown-paper-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-brown-paper-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-brown-paper-icon-failed))!important}.v-code-block--tab-highlightjs-brown-paper>div{color:hsl(var(--v-cb-tab-highlightjs-brown-paper-text))}.v-code-block--tab-highlightjs-gradient-dark{background:var(--v-cb-tab-highlightjs-gradient-dark-bkg-gradient);background-color:var(--v-cb-tab-highlightjs-gradient-dark-bkg)}.v-code-block--tab-highlightjs-gradient-dark:hover{background-color:hsl(var(--v-cb-tab-highlightjs-gradient-dark-bkg))!important}.v-code-block--tab-highlightjs-gradient-dark-icon{color:hsl(var(--v-cb-tab-highlightjs-gradient-dark-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-gradient-dark-icon))!important}.v-code-block--tab-highlightjs-gradient-dark-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-gradient-dark-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-gradient-dark-icon-success))!important}.v-code-block--tab-highlightjs-gradient-dark-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-gradient-dark-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-gradient-dark-icon-failed))!important}.v-code-block--tab-highlightjs-gradient-dark>div{color:hsl(var(--v-cb-tab-highlightjs-gradient-dark-text))}.v-code-block--tab-highlightjs-gradient-light{background:var(--v-cb-tab-highlightjs-gradient-light-bkg-gradient);background-color:var(--v-cb-tab-highlightjs-gradient-light-bkg)}.v-code-block--tab-highlightjs-gradient-light:hover{background-color:hsl(var(--v-cb-tab-highlightjs-gradient-light-bkg))!important}.v-code-block--tab-highlightjs-gradient-light-icon{color:hsl(var(--v-cb-tab-highlightjs-gradient-light-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-gradient-light-icon))!important}.v-code-block--tab-highlightjs-gradient-light-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-gradient-light-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-gradient-light-icon-success))!important}.v-code-block--tab-highlightjs-gradient-light-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-gradient-light-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-gradient-light-icon-failed))!important}.v-code-block--tab-highlightjs-gradient-light>div{color:hsl(var(--v-cb-tab-highlightjs-gradient-light-text))}.v-code-block--tab-highlightjs-pojoaque{background:var(--v-cb-tab-highlightjs-pojoaque-bkg-img);background-color:var(--v-cb-tab-highlightjs-pojoaque-bkg)}.v-code-block--tab-highlightjs-pojoaque:hover{background-color:hsl(var(--v-cb-tab-highlightjs-pojoaque-bkg))!important}.v-code-block--tab-highlightjs-pojoaque-icon{color:hsl(var(--v-cb-tab-highlightjs-pojoaque-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-pojoaque-icon))!important}.v-code-block--tab-highlightjs-pojoaque-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-pojoaque-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-v-icon-success))!important}.v-code-block--tab-highlightjs-pojoaque-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-pojoaque-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-pojoaque-icon-failed))!important}.v-code-block--tab-highlightjs-pojoaque>div{color:hsl(var(--v-cb-tab-highlightjs-pojoaque-text))}.v-code-block--tab-highlightjs-default{background-color:hsl(var(--v-cb-tab-highlightjs-default-bkg)/100%)!important}.v-code-block--tab-highlightjs-default:hover{background-color:hsl(var(--v-cb-tab-highlightjs-default-bkg)/50%)!important}.v-code-block--tab-highlightjs-default-icon{color:hsl(var(--v-cb-tab-highlightjs-default-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-default-icon))!important}.v-code-block--tab-highlightjs-default-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-default-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-default-icon-success))!important}.v-code-block--tab-highlightjs-default-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-default-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-default-icon-failed))!important}.v-code-block--tab-highlightjs-default>div{color:hsl(var(--v-cb-tab-highlightjs-default-text))}.v-code-block--tab-highlightjs-a11y-dark{background-color:hsl(var(--v-cb-tab-highlightjs-a11y-dark-bkg)/100%)!important}.v-code-block--tab-highlightjs-a11y-dark:hover{background-color:hsl(var(--v-cb-tab-highlightjs-a11y-dark-bkg)/50%)!important}.v-code-block--tab-highlightjs-a11y-dark-icon{color:hsl(var(--v-cb-tab-highlightjs-a11y-dark-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-a11y-dark-icon))!important}.v-code-block--tab-highlightjs-a11y-dark-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-a11y-dark-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-a11y-dark-icon-success))!important}.v-code-block--tab-highlightjs-a11y-dark-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-a11y-dark-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-a11y-dark-icon-failed))!important}.v-code-block--tab-highlightjs-a11y-dark>div{color:hsl(var(--v-cb-tab-highlightjs-a11y-dark-text))}.v-code-block--tab-highlightjs-a11y-light{background-color:hsl(var(--v-cb-tab-highlightjs-a11y-light-bkg)/100%)!important}.v-code-block--tab-highlightjs-a11y-light:hover{background-color:hsl(var(--v-cb-tab-highlightjs-a11y-light-bkg)/50%)!important}.v-code-block--tab-highlightjs-a11y-light-icon{color:hsl(var(--v-cb-tab-highlightjs-a11y-light-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-a11y-light-icon))!important}.v-code-block--tab-highlightjs-a11y-light-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-a11y-light-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-a11y-light-icon-success))!important}.v-code-block--tab-highlightjs-a11y-light-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-a11y-light-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-a11y-light-icon-failed))!important}.v-code-block--tab-highlightjs-a11y-light>div{color:hsl(var(--v-cb-tab-highlightjs-a11y-light-text))}.v-code-block--tab-highlightjs-agate{background-color:hsl(var(--v-cb-tab-highlightjs-agate-bkg)/100%)!important}.v-code-block--tab-highlightjs-agate:hover{background-color:hsl(var(--v-cb-tab-highlightjs-agate-bkg)/50%)!important}.v-code-block--tab-highlightjs-agate-icon{color:hsl(var(--v-cb-tab-highlightjs-agate-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-agate-icon))!important}.v-code-block--tab-highlightjs-agate-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-agate-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-agate-icon-success))!important}.v-code-block--tab-highlightjs-agate-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-agate-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-agate-icon-failed))!important}.v-code-block--tab-highlightjs-agate>div{color:hsl(var(--v-cb-tab-highlightjs-agate-text))}.v-code-block--tab-highlightjs-an-old-hope{background-color:hsl(var(--v-cb-tab-highlightjs-an-old-hope-bkg)/100%)!important}.v-code-block--tab-highlightjs-an-old-hope:hover{background-color:hsl(var(--v-cb-tab-highlightjs-an-old-hope-bkg)/50%)!important}.v-code-block--tab-highlightjs-an-old-hope-icon{color:hsl(var(--v-cb-tab-highlightjs-an-old-hope-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-an-old-hope-icon))!important}.v-code-block--tab-highlightjs-an-old-hope-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-an-old-hope-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-an-old-hope-icon-success))!important}.v-code-block--tab-highlightjs-an-old-hope-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-an-old-hope-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-an-old-hope-icon-failed))!important}.v-code-block--tab-highlightjs-an-old-hope>div{color:hsl(var(--v-cb-tab-highlightjs-an-old-hope-text))}.v-code-block--tab-highlightjs-androidstudio{background-color:hsl(var(--v-cb-tab-highlightjs-androidstudio-bkg)/100%)!important}.v-code-block--tab-highlightjs-androidstudio:hover{background-color:hsl(var(--v-cb-tab-highlightjs-androidstudio-bkg)/50%)!important}.v-code-block--tab-highlightjs-androidstudio-icon{color:hsl(var(--v-cb-tab-highlightjs-androidstudio-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-androidstudio-icon))!important}.v-code-block--tab-highlightjs-androidstudio-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-androidstudio-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-androidstudio-icon-success))!important}.v-code-block--tab-highlightjs-androidstudio-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-androidstudio-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-androidstudio-icon-failed))!important}.v-code-block--tab-highlightjs-androidstudio>div{color:hsl(var(--v-cb-tab-highlightjs-androidstudio-text))}.v-code-block--tab-highlightjs-arduino-light{background-color:hsl(var(--v-cb-tab-highlightjs-arduino-light-bkg)/100%)!important}.v-code-block--tab-highlightjs-arduino-light:hover{background-color:hsl(var(--v-cb-tab-highlightjs-arduino-light-bkg)/50%)!important}.v-code-block--tab-highlightjs-arduino-light-icon{color:hsl(var(--v-cb-tab-highlightjs-arduino-light-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-arduino-light-icon))!important}.v-code-block--tab-highlightjs-arduino-light-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-arduino-light-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-arduino-light-icon-success))!important}.v-code-block--tab-highlightjs-arduino-light-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-arduino-light-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-arduino-light-icon-failed))!important}.v-code-block--tab-highlightjs-arduino-light>div{color:hsl(var(--v-cb-tab-highlightjs-arduino-light-text))}.v-code-block--tab-highlightjs-arta{background-color:hsl(var(--v-cb-tab-highlightjs-arta-bkg)/100%)!important}.v-code-block--tab-highlightjs-arta:hover{background-color:hsl(var(--v-cb-tab-highlightjs-arta-bkg)/50%)!important}.v-code-block--tab-highlightjs-arta-icon{color:hsl(var(--v-cb-tab-highlightjs-arta-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-arta-icon))!important}.v-code-block--tab-highlightjs-arta-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-arta-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-arta-icon-success))!important}.v-code-block--tab-highlightjs-arta-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-arta-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-arta-icon-failed))!important}.v-code-block--tab-highlightjs-arta>div{color:hsl(var(--v-cb-tab-highlightjs-arta-text))}.v-code-block--tab-highlightjs-ascetic{background-color:hsl(var(--v-cb-tab-highlightjs-ascetic-bkg)/100%)!important}.v-code-block--tab-highlightjs-ascetic:hover{background-color:hsl(var(--v-cb-tab-highlightjs-ascetic-bkg)/50%)!important}.v-code-block--tab-highlightjs-ascetic-icon{color:hsl(var(--v-cb-tab-highlightjs-ascetic-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-ascetic-icon))!important}.v-code-block--tab-highlightjs-ascetic-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-ascetic-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-ascetic-icon-success))!important}.v-code-block--tab-highlightjs-ascetic-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-ascetic-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-ascetic-icon-failed))!important}.v-code-block--tab-highlightjs-ascetic>div{color:hsl(var(--v-cb-tab-highlightjs-ascetic-text))}.v-code-block--tab-highlightjs-atom-one-dark-reasonable{background-color:hsl(var(--v-cb-tab-highlightjs-atom-one-dark-reasonable-bkg)/100%)!important}.v-code-block--tab-highlightjs-atom-one-dark-reasonable:hover{background-color:hsl(var(--v-cb-tab-highlightjs-atom-one-dark-reasonable-bkg)/50%)!important}.v-code-block--tab-highlightjs-atom-one-dark-reasonable-icon{color:hsl(var(--v-cb-tab-highlightjs-atom-one-dark-reasonable-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-atom-one-dark-reasonable-icon))!important}.v-code-block--tab-highlightjs-atom-one-dark-reasonable-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-atom-one-dark-reasonable-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-atom-one-dark-reasonable-icon-success))!important}.v-code-block--tab-highlightjs-atom-one-dark-reasonable-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-atom-one-dark-reasonable-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-atom-one-dark-reasonable-icon-failed))!important}.v-code-block--tab-highlightjs-atom-one-dark-reasonable>div{color:hsl(var(--v-cb-tab-highlightjs-atom-one-dark-reasonable-text))}.v-code-block--tab-highlightjs-atom-one-dark{background-color:hsl(var(--v-cb-tab-highlightjs-atom-one-dark-bkg)/100%)!important}.v-code-block--tab-highlightjs-atom-one-dark:hover{background-color:hsl(var(--v-cb-tab-highlightjs-atom-one-dark-bkg)/50%)!important}.v-code-block--tab-highlightjs-atom-one-dark-icon{color:hsl(var(--v-cb-tab-highlightjs-atom-one-dark-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-atom-one-dark-icon))!important}.v-code-block--tab-highlightjs-atom-one-dark-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-atom-one-dark-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-atom-one-dark-icon-success))!important}.v-code-block--tab-highlightjs-atom-one-dark-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-atom-one-dark-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-atom-one-dark-icon-failed))!important}.v-code-block--tab-highlightjs-atom-one-dark>div{color:hsl(var(--v-cb-tab-highlightjs-atom-one-dark-text))}.v-code-block--tab-highlightjs-atom-one-light{background-color:hsl(var(--v-cb-tab-highlightjs-atom-one-light-bkg)/100%)!important}.v-code-block--tab-highlightjs-atom-one-light:hover{background-color:hsl(var(--v-cb-tab-highlightjs-atom-one-light-bkg)/50%)!important}.v-code-block--tab-highlightjs-atom-one-light-icon{color:hsl(var(--v-cb-tab-highlightjs-atom-one-light-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-atom-one-light-icon))!important}.v-code-block--tab-highlightjs-atom-one-light-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-atom-one-light-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-atom-one-light-icon-success))!important}.v-code-block--tab-highlightjs-atom-one-light-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-atom-one-light-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-atom-one-light-icon-failed))!important}.v-code-block--tab-highlightjs-atom-one-light>div{color:hsl(var(--v-cb-tab-highlightjs-atom-one-light-text))}.v-code-block--tab-highlightjs-codepen-embed{background-color:hsl(var(--v-cb-tab-highlightjs-codepen-embed-bkg)/100%)!important}.v-code-block--tab-highlightjs-codepen-embed:hover{background-color:hsl(var(--v-cb-tab-highlightjs-codepen-embed-bkg)/50%)!important}.v-code-block--tab-highlightjs-codepen-embed-icon{color:hsl(var(--v-cb-tab-highlightjs-codepen-embed-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-codepen-embed-icon))!important}.v-code-block--tab-highlightjs-codepen-embed-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-codepen-embed-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-codepen-embed-icon-success))!important}.v-code-block--tab-highlightjs-codepen-embed-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-codepen-embed-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-codepen-embed-icon-failed))!important}.v-code-block--tab-highlightjs-codepen-embed>div{color:hsl(var(--v-cb-tab-highlightjs-codepen-embed-text))}.v-code-block--tab-highlightjs-color-brewer{background-color:hsl(var(--v-cb-tab-highlightjs-color-brewer-bkg)/100%)!important}.v-code-block--tab-highlightjs-color-brewer:hover{background-color:hsl(var(--v-cb-tab-highlightjs-color-brewer-bkg)/50%)!important}.v-code-block--tab-highlightjs-color-brewer-icon{color:hsl(var(--v-cb-tab-highlightjs-color-brewer-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-color-brewer-icon))!important}.v-code-block--tab-highlightjs-color-brewer-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-color-brewer-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-color-brewer-icon-success))!important}.v-code-block--tab-highlightjs-color-brewer-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-color-brewer-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-color-brewer-icon-failed))!important}.v-code-block--tab-highlightjs-color-brewer>div{color:hsl(var(--v-cb-tab-highlightjs-color-brewer-text))}.v-code-block--tab-highlightjs-dark{background-color:hsl(var(--v-cb-tab-highlightjs-dark-bkg)/100%)!important}.v-code-block--tab-highlightjs-dark:hover{background-color:hsl(var(--v-cb-tab-highlightjs-dark-bkg)/50%)!important}.v-code-block--tab-highlightjs-dark-icon{color:hsl(var(--v-cb-tab-highlightjs-dark-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-dark-icon))!important}.v-code-block--tab-highlightjs-dark-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-dark-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-dark-icon-success))!important}.v-code-block--tab-highlightjs-dark-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-dark-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-dark-icon-failed))!important}.v-code-block--tab-highlightjs-dark>div{color:hsl(var(--v-cb-tab-highlightjs-dark-text))}.v-code-block--tab-highlightjs-devibeans{background-color:hsl(var(--v-cb-tab-highlightjs-devibeans-bkg)/100%)!important}.v-code-block--tab-highlightjs-devibeans:hover{background-color:hsl(var(--v-cb-tab-highlightjs-devibeans-bkg)/50%)!important}.v-code-block--tab-highlightjs-devibeans-icon{color:hsl(var(--v-cb-tab-highlightjs-devibeans-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-devibeans-icon))!important}.v-code-block--tab-highlightjs-devibeans-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-devibeans-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-devibeans-icon-success))!important}.v-code-block--tab-highlightjs-devibeans-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-devibeans-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-devibeans-icon-failed))!important}.v-code-block--tab-highlightjs-devibeans>div{color:hsl(var(--v-cb-tab-highlightjs-devibeans-text))}.v-code-block--tab-highlightjs-docco{background-color:hsl(var(--v-cb-tab-highlightjs-docco-bkg)/100%)!important}.v-code-block--tab-highlightjs-docco:hover{background-color:hsl(var(--v-cb-tab-highlightjs-docco-bkg)/50%)!important}.v-code-block--tab-highlightjs-docco-icon{color:hsl(var(--v-cb-tab-highlightjs-docco-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-docco-icon))!important}.v-code-block--tab-highlightjs-docco-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-docco-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-docco-icon-success))!important}.v-code-block--tab-highlightjs-docco-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-docco-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-docco-icon-failed))!important}.v-code-block--tab-highlightjs-docco>div{color:hsl(var(--v-cb-tab-highlightjs-docco-text))}.v-code-block--tab-highlightjs-far{background-color:hsl(var(--v-cb-tab-highlightjs-far-bkg)/100%)!important}.v-code-block--tab-highlightjs-far:hover{background-color:hsl(var(--v-cb-tab-highlightjs-far-bkg)/50%)!important}.v-code-block--tab-highlightjs-far-icon{color:hsl(var(--v-cb-tab-highlightjs-far-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-far-icon))!important}.v-code-block--tab-highlightjs-far-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-far-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-far-icon-success))!important}.v-code-block--tab-highlightjs-far-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-far-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-far-icon-failed))!important}.v-code-block--tab-highlightjs-far>div{color:hsl(var(--v-cb-tab-highlightjs-far-text))}.v-code-block--tab-highlightjs-felipec{background-color:hsl(var(--v-cb-tab-highlightjs-felipec-bkg)/100%)!important}.v-code-block--tab-highlightjs-felipec:hover{background-color:hsl(var(--v-cb-tab-highlightjs-felipec-bkg)/50%)!important}.v-code-block--tab-highlightjs-felipec-icon{color:hsl(var(--v-cb-tab-highlightjs-felipec-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-felipec-icon))!important}.v-code-block--tab-highlightjs-felipec-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-felipec-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-felipec-icon-success))!important}.v-code-block--tab-highlightjs-felipec-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-felipec-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-felipec-icon-failed))!important}.v-code-block--tab-highlightjs-felipec>div{color:hsl(var(--v-cb-tab-highlightjs-felipec-text))}.v-code-block--tab-highlightjs-foundation{background-color:hsl(var(--v-cb-tab-highlightjs-foundation-bkg)/100%)!important}.v-code-block--tab-highlightjs-foundation:hover{background-color:hsl(var(--v-cb-tab-highlightjs-foundation-bkg)/50%)!important}.v-code-block--tab-highlightjs-foundation-icon{color:hsl(var(--v-cb-tab-highlightjs-foundation-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-foundation-icon))!important}.v-code-block--tab-highlightjs-foundation-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-foundation-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-foundation-icon-success))!important}.v-code-block--tab-highlightjs-foundation-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-foundation-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-foundation-icon-failed))!important}.v-code-block--tab-highlightjs-foundation>div{color:hsl(var(--v-cb-tab-highlightjs-foundation-text))}.v-code-block--tab-highlightjs-github-dark-dimmed{background-color:hsl(var(--v-cb-tab-highlightjs-github-dark-dimmed-bkg)/100%)!important}.v-code-block--tab-highlightjs-github-dark-dimmed:hover{background-color:hsl(var(--v-cb-tab-highlightjs-github-dark-dimmed-bkg)/50%)!important}.v-code-block--tab-highlightjs-github-dark-dimmed-icon{color:hsl(var(--v-cb-tab-highlightjs-github-dark-dimmed-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-github-dark-dimmed-icon))!important}.v-code-block--tab-highlightjs-github-dark-dimmed-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-github-dark-dimmed-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-github-dark-dimmed-icon-success))!important}.v-code-block--tab-highlightjs-github-dark-dimmed-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-github-dark-dimmed-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-github-dark-dimmed-icon-failed))!important}.v-code-block--tab-highlightjs-github-dark-dimmed>div{color:hsl(var(--v-cb-tab-highlightjs-github-dark-dimmed-text))}.v-code-block--tab-highlightjs-github-dark{background-color:hsl(var(--v-cb-tab-highlightjs-github-dark-bkg)/100%)!important}.v-code-block--tab-highlightjs-github-dark:hover{background-color:hsl(var(--v-cb-tab-highlightjs-github-dark-bkg)/50%)!important}.v-code-block--tab-highlightjs-github-dark-icon{color:hsl(var(--v-cb-tab-highlightjs-github-dark-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-github-dark-icon))!important}.v-code-block--tab-highlightjs-github-dark-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-github-dark-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-github-dark-icon-success))!important}.v-code-block--tab-highlightjs-github-dark-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-github-dark-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-github-dark-icon-failed))!important}.v-code-block--tab-highlightjs-github-dark>div{color:hsl(var(--v-cb-tab-highlightjs-github-dark-text))}.v-code-block--tab-highlightjs-github{background-color:hsl(var(--v-cb-tab-highlightjs-github-bkg)/100%)!important}.v-code-block--tab-highlightjs-github:hover{background-color:hsl(var(--v-cb-tab-highlightjs-github-bkg)/50%)!important}.v-code-block--tab-highlightjs-github-icon{color:hsl(var(--v-cb-tab-highlightjs-github-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-github-icon))!important}.v-code-block--tab-highlightjs-github-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-github-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-github-icon-success))!important}.v-code-block--tab-highlightjs-github-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-github-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-github-icon-failed))!important}.v-code-block--tab-highlightjs-github>div{color:hsl(var(--v-cb-tab-highlightjs-github-text))}.v-code-block--tab-highlightjs-gml{background-color:hsl(var(--v-cb-tab-highlightjs-gml-bkg)/100%)!important}.v-code-block--tab-highlightjs-gml:hover{background-color:hsl(var(--v-cb-tab-highlightjs-gml-bkg)/50%)!important}.v-code-block--tab-highlightjs-gml-icon{color:hsl(var(--v-cb-tab-highlightjs-gml-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-gml-icon))!important}.v-code-block--tab-highlightjs-gml-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-gml-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-gml-icon-success))!important}.v-code-block--tab-highlightjs-gml-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-gml-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-gml-icon-failed))!important}.v-code-block--tab-highlightjs-gml>div{color:hsl(var(--v-cb-tab-highlightjs-gml-text))}.v-code-block--tab-highlightjs-googlecode{background-color:hsl(var(--v-cb-tab-highlightjs-googlecode-bkg)/100%)!important}.v-code-block--tab-highlightjs-googlecode:hover{background-color:hsl(var(--v-cb-tab-highlightjs-googlecode-bkg)/50%)!important}.v-code-block--tab-highlightjs-googlecode-icon{color:hsl(var(--v-cb-tab-highlightjs-googlecode-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-googlecode-icon))!important}.v-code-block--tab-highlightjs-googlecode-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-googlecode-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-googlecode-icon-success))!important}.v-code-block--tab-highlightjs-googlecode-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-googlecode-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-googlecode-icon-failed))!important}.v-code-block--tab-highlightjs-googlecode>div{color:hsl(var(--v-cb-tab-highlightjs-googlecode-text))}.v-code-block--tab-highlightjs-grayscale{background-color:hsl(var(--v-cb-tab-highlightjs-grayscale-bkg)/100%)!important}.v-code-block--tab-highlightjs-grayscale:hover{background-color:hsl(var(--v-cb-tab-highlightjs-grayscale-bkg)/50%)!important}.v-code-block--tab-highlightjs-grayscale-icon{color:hsl(var(--v-cb-tab-highlightjs-grayscale-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-grayscale-icon))!important}.v-code-block--tab-highlightjs-grayscale-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-grayscale-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-grayscale-icon-success))!important}.v-code-block--tab-highlightjs-grayscale-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-grayscale-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-grayscale-icon-failed))!important}.v-code-block--tab-highlightjs-grayscale>div{color:hsl(var(--v-cb-tab-highlightjs-grayscale-text))}.v-code-block--tab-highlightjs-hybrid{background-color:hsl(var(--v-cb-tab-highlightjs-hybrid-bkg)/100%)!important}.v-code-block--tab-highlightjs-hybrid:hover{background-color:hsl(var(--v-cb-tab-highlightjs-hybrid-bkg)/50%)!important}.v-code-block--tab-highlightjs-hybrid-icon{color:hsl(var(--v-cb-tab-highlightjs-hybrid-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-hybrid-icon))!important}.v-code-block--tab-highlightjs-hybrid-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-hybrid-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-hybrid-icon-success))!important}.v-code-block--tab-highlightjs-hybrid-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-hybrid-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-hybrid-icon-failed))!important}.v-code-block--tab-highlightjs-hybrid>div{color:hsl(var(--v-cb-tab-highlightjs-hybrid-text))}.v-code-block--tab-highlightjs-idea{background-color:hsl(var(--v-cb-tab-highlightjs-idea-bkg)/100%)!important}.v-code-block--tab-highlightjs-idea:hover{background-color:hsl(var(--v-cb-tab-highlightjs-idea-bkg)/50%)!important}.v-code-block--tab-highlightjs-idea-icon{color:hsl(var(--v-cb-tab-highlightjs-idea-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-idea-icon))!important}.v-code-block--tab-highlightjs-idea-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-idea-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-idea-icon-success))!important}.v-code-block--tab-highlightjs-idea-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-idea-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-idea-icon-failed))!important}.v-code-block--tab-highlightjs-idea>div{color:hsl(var(--v-cb-tab-highlightjs-idea-text))}.v-code-block--tab-highlightjs-intellij-light{background-color:hsl(var(--v-cb-tab-highlightjs-intellij-light-bkg)/100%)!important}.v-code-block--tab-highlightjs-intellij-light:hover{background-color:hsl(var(--v-cb-tab-highlightjs-intellij-light-bkg)/50%)!important}.v-code-block--tab-highlightjs-intellij-light-icon{color:hsl(var(--v-cb-tab-highlightjs-intellij-light-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-intellij-light-icon))!important}.v-code-block--tab-highlightjs-intellij-light-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-intellij-light-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-intellij-light-icon-success))!important}.v-code-block--tab-highlightjs-intellij-light-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-intellij-light-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-intellij-light-icon-failed))!important}.v-code-block--tab-highlightjs-intellij-light>div{color:hsl(var(--v-cb-tab-highlightjs-intellij-light-text))}.v-code-block--tab-highlightjs-ir-black{background-color:hsl(var(--v-cb-tab-highlightjs-ir-black-bkg)/100%)!important}.v-code-block--tab-highlightjs-ir-black:hover{background-color:hsl(var(--v-cb-tab-highlightjs-ir-black-bkg)/50%)!important}.v-code-block--tab-highlightjs-ir-black-icon{color:hsl(var(--v-cb-tab-highlightjs-ir-black-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-ir-black-icon))!important}.v-code-block--tab-highlightjs-ir-black-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-ir-black-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-ir-black-icon-success))!important}.v-code-block--tab-highlightjs-ir-black-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-ir-black-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-ir-black-icon-failed))!important}.v-code-block--tab-highlightjs-ir-black>div{color:hsl(var(--v-cb-tab-highlightjs-ir-black-text))}.v-code-block--tab-highlightjs-isbl-editor-dark{background-color:hsl(var(--v-cb-tab-highlightjs-isbl-editor-dark-bkg)/100%)!important}.v-code-block--tab-highlightjs-isbl-editor-dark:hover{background-color:hsl(var(--v-cb-tab-highlightjs-isbl-editor-dark-bkg)/50%)!important}.v-code-block--tab-highlightjs-isbl-editor-dark-icon{color:hsl(var(--v-cb-tab-highlightjs-isbl-editor-dark-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-isbl-editor-dark-icon))!important}.v-code-block--tab-highlightjs-isbl-editor-dark-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-isbl-editor-dark-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-isbl-editor-dark-icon-success))!important}.v-code-block--tab-highlightjs-isbl-editor-dark-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-isbl-editor-dark-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-isbl-editor-dark-icon-failed))!important}.v-code-block--tab-highlightjs-isbl-editor-dark>div{color:hsl(var(--v-cb-tab-highlightjs-isbl-editor-dark-text))}.v-code-block--tab-highlightjs-isbl-editor-light{background-color:hsl(var(--v-cb-tab-highlightjs-isbl-editor-light-bkg)/100%)!important}.v-code-block--tab-highlightjs-isbl-editor-light:hover{background-color:hsl(var(--v-cb-tab-highlightjs-isbl-editor-light-bkg)/50%)!important}.v-code-block--tab-highlightjs-isbl-editor-light-icon{color:hsl(var(--v-cb-tab-highlightjs-isbl-editor-light-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-isbl-editor-light-icon))!important}.v-code-block--tab-highlightjs-isbl-editor-light-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-isbl-editor-light-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-isbl-editor-light-icon-success))!important}.v-code-block--tab-highlightjs-isbl-editor-light-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-isbl-editor-light-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-isbl-editor-light-icon-failed))!important}.v-code-block--tab-highlightjs-isbl-editor-light>div{color:hsl(var(--v-cb-tab-highlightjs-isbl-editor-light-text))}.v-code-block--tab-highlightjs-kimbie-dark{background-color:hsl(var(--v-cb-tab-highlightjs-kimbie-dark-bkg)/100%)!important}.v-code-block--tab-highlightjs-kimbie-dark:hover{background-color:hsl(var(--v-cb-tab-highlightjs-kimbie-dark-bkg)/50%)!important}.v-code-block--tab-highlightjs-kimbie-dark-icon{color:hsl(var(--v-cb-tab-highlightjs-kimbie-dark-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-kimbie-dark-icon))!important}.v-code-block--tab-highlightjs-kimbie-dark-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-kimbie-dark-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-kimbie-dark-icon-success))!important}.v-code-block--tab-highlightjs-kimbie-dark-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-kimbie-dark-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-kimbie-dark-icon-failed))!important}.v-code-block--tab-highlightjs-kimbie-dark>div{color:hsl(var(--v-cb-tab-highlightjs-kimbie-dark-text))}.v-code-block--tab-highlightjs-kimbie-light{background-color:hsl(var(--v-cb-tab-highlightjs-kimbie-light-bkg)/100%)!important}.v-code-block--tab-highlightjs-kimbie-light:hover{background-color:hsl(var(--v-cb-tab-highlightjs-kimbie-light-bkg)/50%)!important}.v-code-block--tab-highlightjs-kimbie-light-icon{color:hsl(var(--v-cb-tab-highlightjs-kimbie-light-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-kimbie-light-icon))!important}.v-code-block--tab-highlightjs-kimbie-light-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-kimbie-light-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-kimbie-light-icon-success))!important}.v-code-block--tab-highlightjs-kimbie-light-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-kimbie-light-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-kimbie-light-icon-failed))!important}.v-code-block--tab-highlightjs-kimbie-light>div{color:hsl(var(--v-cb-tab-highlightjs-kimbie-light-text))}.v-code-block--tab-highlightjs-lightfair{background-color:hsl(var(--v-cb-tab-highlightjs-lightfair-bkg)/100%)!important}.v-code-block--tab-highlightjs-lightfair:hover{background-color:hsl(var(--v-cb-tab-highlightjs-lightfair-bkg)/50%)!important}.v-code-block--tab-highlightjs-lightfair-icon{color:hsl(var(--v-cb-tab-highlightjs-lightfair-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-lightfair-icon))!important}.v-code-block--tab-highlightjs-lightfair-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-lightfair-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-lightfair-icon-success))!important}.v-code-block--tab-highlightjs-lightfair-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-lightfair-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-lightfair-icon-failed))!important}.v-code-block--tab-highlightjs-lightfair>div{color:hsl(var(--v-cb-tab-highlightjs-lightfair-text))}.v-code-block--tab-highlightjs-lioshi{background-color:hsl(var(--v-cb-tab-highlightjs-lioshi-bkg)/100%)!important}.v-code-block--tab-highlightjs-lioshi:hover{background-color:hsl(var(--v-cb-tab-highlightjs-lioshi-bkg)/50%)!important}.v-code-block--tab-highlightjs-lioshi-icon{color:hsl(var(--v-cb-tab-highlightjs-lioshi-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-lioshi-icon))!important}.v-code-block--tab-highlightjs-lioshi-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-lioshi-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-lioshi-icon-success))!important}.v-code-block--tab-highlightjs-lioshi-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-lioshi-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-lioshi-icon-failed))!important}.v-code-block--tab-highlightjs-lioshi>div{color:hsl(var(--v-cb-tab-highlightjs-lioshi-text))}.v-code-block--tab-highlightjs-magula{background-color:hsl(var(--v-cb-tab-highlightjs-magula-bkg)/100%)!important}.v-code-block--tab-highlightjs-magula:hover{background-color:hsl(var(--v-cb-tab-highlightjs-magula-bkg)/50%)!important}.v-code-block--tab-highlightjs-magula-icon{color:hsl(var(--v-cb-tab-highlightjs-magula-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-magula-icon))!important}.v-code-block--tab-highlightjs-magula-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-magula-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-magula-icon-success))!important}.v-code-block--tab-highlightjs-magula-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-magula-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-magula-icon-failed))!important}.v-code-block--tab-highlightjs-magula>div{color:hsl(var(--v-cb-tab-highlightjs-magula-text))}.v-code-block--tab-highlightjs-mono-blue{background-color:hsl(var(--v-cb-tab-highlightjs-mono-blue-bkg)/100%)!important}.v-code-block--tab-highlightjs-mono-blue:hover{background-color:hsl(var(--v-cb-tab-highlightjs-mono-blue-bkg)/50%)!important}.v-code-block--tab-highlightjs-mono-blue-icon{color:hsl(var(--v-cb-tab-highlightjs-mono-blue-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-mono-blue-icon))!important}.v-code-block--tab-highlightjs-mono-blue-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-mono-blue-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-mono-blue-icon-success))!important}.v-code-block--tab-highlightjs-mono-blue-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-mono-blue-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-mono-blue-icon-failed))!important}.v-code-block--tab-highlightjs-mono-blue>div{color:hsl(var(--v-cb-tab-highlightjs-mono-blue-text))}.v-code-block--tab-highlightjs-monokai-sublime{background-color:hsl(var(--v-cb-tab-highlightjs-monokai-sublime-bkg)/100%)!important}.v-code-block--tab-highlightjs-monokai-sublime:hover{background-color:hsl(var(--v-cb-tab-highlightjs-monokai-sublime-bkg)/50%)!important}.v-code-block--tab-highlightjs-monokai-sublime-icon{color:hsl(var(--v-cb-tab-highlightjs-monokai-sublime-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-monokai-sublime-icon))!important}.v-code-block--tab-highlightjs-monokai-sublime-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-monokai-sublime-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-monokai-sublime-icon-success))!important}.v-code-block--tab-highlightjs-monokai-sublime-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-monokai-sublime-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-monokai-sublime-icon-failed))!important}.v-code-block--tab-highlightjs-monokai-sublime>div{color:hsl(var(--v-cb-tab-highlightjs-monokai-sublime-text))}.v-code-block--tab-highlightjs-monokai{background-color:hsl(var(--v-cb-tab-highlightjs-monokai-bkg)/100%)!important}.v-code-block--tab-highlightjs-monokai:hover{background-color:hsl(var(--v-cb-tab-highlightjs-monokai-bkg)/50%)!important}.v-code-block--tab-highlightjs-monokai-icon{color:hsl(var(--v-cb-tab-highlightjs-monokai-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-monokai-icon))!important}.v-code-block--tab-highlightjs-monokai-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-monokai-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-monokai-icon-success))!important}.v-code-block--tab-highlightjs-monokai-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-monokai-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-monokai-icon-failed))!important}.v-code-block--tab-highlightjs-monokai>div{color:hsl(var(--v-cb-tab-highlightjs-monokai-text))}.v-code-block--tab-highlightjs-night-owl{background-color:hsl(var(--v-cb-tab-highlightjs-night-owl-bkg)/100%)!important}.v-code-block--tab-highlightjs-night-owl:hover{background-color:hsl(var(--v-cb-tab-highlightjs-night-owl-bkg)/50%)!important}.v-code-block--tab-highlightjs-night-owl-icon{color:hsl(var(--v-cb-tab-highlightjs-night-owl-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-night-owl-icon))!important}.v-code-block--tab-highlightjs-night-owl-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-night-owl-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-night-owl-icon-success))!important}.v-code-block--tab-highlightjs-night-owl-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-night-owl-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-night-owl-icon-failed))!important}.v-code-block--tab-highlightjs-night-owl>div{color:hsl(var(--v-cb-tab-highlightjs-night-owl-text))}.v-code-block--tab-highlightjs-nnfx-dark{background-color:hsl(var(--v-cb-tab-highlightjs-nnfx-dark-bkg)/100%)!important}.v-code-block--tab-highlightjs-nnfx-dark:hover{background-color:hsl(var(--v-cb-tab-highlightjs-nnfx-dark-bkg)/50%)!important}.v-code-block--tab-highlightjs-nnfx-dark-icon{color:hsl(var(--v-cb-tab-highlightjs-nnfx-dark-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-nnfx-dark-icon))!important}.v-code-block--tab-highlightjs-nnfx-dark-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-nnfx-dark-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-nnfx-dark-icon-success))!important}.v-code-block--tab-highlightjs-nnfx-dark-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-nnfx-dark-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-nnfx-dark-icon-failed))!important}.v-code-block--tab-highlightjs-nnfx-dark>div{color:hsl(var(--v-cb-tab-highlightjs-nnfx-dark-text))}.v-code-block--tab-highlightjs-nnfx-light{background-color:hsl(var(--v-cb-tab-highlightjs-nnfx-light-bkg)/100%)!important}.v-code-block--tab-highlightjs-nnfx-light:hover{background-color:hsl(var(--v-cb-tab-highlightjs-nnfx-light-bkg)/50%)!important}.v-code-block--tab-highlightjs-nnfx-light-icon{color:hsl(var(--v-cb-tab-highlightjs-nnfx-light-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-nnfx-light-icon))!important}.v-code-block--tab-highlightjs-nnfx-light-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-nnfx-light-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-nnfx-light-icon-success))!important}.v-code-block--tab-highlightjs-nnfx-light-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-nnfx-light-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-nnfx-light-icon-failed))!important}.v-code-block--tab-highlightjs-nnfx-light>div{color:hsl(var(--v-cb-tab-highlightjs-nnfx-light-text))}.v-code-block--tab-highlightjs-nord{background-color:hsl(var(--v-cb-tab-highlightjs-nord-bkg)/100%)!important}.v-code-block--tab-highlightjs-nord:hover{background-color:hsl(var(--v-cb-tab-highlightjs-nord-bkg)/50%)!important}.v-code-block--tab-highlightjs-nord-icon{color:hsl(var(--v-cb-tab-highlightjs-nord-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-nord-icon))!important}.v-code-block--tab-highlightjs-nord-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-nord-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-nord-icon-success))!important}.v-code-block--tab-highlightjs-nord-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-nord-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-nord-icon-failed))!important}.v-code-block--tab-highlightjs-nord>div{color:hsl(var(--v-cb-tab-highlightjs-nord-text))}.v-code-block--tab-highlightjs-obsidian{background-color:hsl(var(--v-cb-tab-highlightjs-obsidian-bkg)/100%)!important}.v-code-block--tab-highlightjs-obsidian:hover{background-color:hsl(var(--v-cb-tab-highlightjs-obsidian-bkg)/50%)!important}.v-code-block--tab-highlightjs-obsidian-icon{color:hsl(var(--v-cb-tab-highlightjs-obsidian-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-obsidian-icon))!important}.v-code-block--tab-highlightjs-obsidian-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-obsidian-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-obsidian-icon-success))!important}.v-code-block--tab-highlightjs-obsidian-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-obsidian-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-obsidian-icon-failed))!important}.v-code-block--tab-highlightjs-obsidian>div{color:hsl(var(--v-cb-tab-highlightjs-obsidian-text))}.v-code-block--tab-highlightjs-panda-syntax-dark{background-color:hsl(var(--v-cb-tab-highlightjs-panda-syntax-dark-bkg)/100%)!important}.v-code-block--tab-highlightjs-panda-syntax-dark:hover{background-color:hsl(var(--v-cb-tab-highlightjs-panda-syntax-dark-bkg)/50%)!important}.v-code-block--tab-highlightjs-panda-syntax-dark-icon{color:hsl(var(--v-cb-tab-highlightjs-panda-syntax-dark-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-panda-syntax-dark-icon))!important}.v-code-block--tab-highlightjs-panda-syntax-dark-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-panda-syntax-dark-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-panda-syntax-dark-icon-success))!important}.v-code-block--tab-highlightjs-panda-syntax-dark-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-panda-syntax-dark-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-panda-syntax-dark-icon-failed))!important}.v-code-block--tab-highlightjs-panda-syntax-dark>div{color:hsl(var(--v-cb-tab-highlightjs-panda-syntax-dark-text))}.v-code-block--tab-highlightjs-panda-syntax-light{background-color:hsl(var(--v-cb-tab-highlightjs-panda-syntax-light-bkg)/100%)!important}.v-code-block--tab-highlightjs-panda-syntax-light:hover{background-color:hsl(var(--v-cb-tab-highlightjs-panda-syntax-light-bkg)/50%)!important}.v-code-block--tab-highlightjs-panda-syntax-light-icon{color:hsl(var(--v-cb-tab-highlightjs-panda-syntax-light-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-panda-syntax-light-icon))!important}.v-code-block--tab-highlightjs-panda-syntax-light-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-panda-syntax-light-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-panda-syntax-light-icon-success))!important}.v-code-block--tab-highlightjs-panda-syntax-light-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-panda-syntax-light-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-panda-syntax-light-icon-failed))!important}.v-code-block--tab-highlightjs-panda-syntax-light>div{color:hsl(var(--v-cb-tab-highlightjs-panda-syntax-light-text))}.v-code-block--tab-highlightjs-paraiso-dark{background-color:hsl(var(--v-cb-tab-highlightjs-paraiso-dark-bkg)/100%)!important}.v-code-block--tab-highlightjs-paraiso-dark:hover{background-color:hsl(var(--v-cb-tab-highlightjs-paraiso-dark-bkg)/50%)!important}.v-code-block--tab-highlightjs-paraiso-dark-icon{color:hsl(var(--v-cb-tab-highlightjs-paraiso-dark-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-paraiso-dark-icon))!important}.v-code-block--tab-highlightjs-paraiso-dark-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-paraiso-dark-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-paraiso-dark-icon-success))!important}.v-code-block--tab-highlightjs-paraiso-dark-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-paraiso-dark-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-paraiso-dark-icon-failed))!important}.v-code-block--tab-highlightjs-paraiso-dark>div{color:hsl(var(--v-cb-tab-highlightjs-paraiso-dark-text))}.v-code-block--tab-highlightjs-paraiso-light{background-color:hsl(var(--v-cb-tab-highlightjs-paraiso-light-bkg)/100%)!important}.v-code-block--tab-highlightjs-paraiso-light:hover{background-color:hsl(var(--v-cb-tab-highlightjs-paraiso-light-bkg)/50%)!important}.v-code-block--tab-highlightjs-paraiso-light-icon{color:hsl(var(--v-cb-tab-highlightjs-paraiso-light-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-paraiso-light-icon))!important}.v-code-block--tab-highlightjs-paraiso-light-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-paraiso-light-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-paraiso-light-icon-success))!important}.v-code-block--tab-highlightjs-paraiso-light-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-paraiso-light-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-paraiso-light-icon-failed))!important}.v-code-block--tab-highlightjs-paraiso-light>div{color:hsl(var(--v-cb-tab-highlightjs-paraiso-light-text))}.v-code-block--tab-highlightjs-purebasic{background-color:hsl(var(--v-cb-tab-highlightjs-purebasic-bkg)/100%)!important}.v-code-block--tab-highlightjs-purebasic:hover{background-color:hsl(var(--v-cb-tab-highlightjs-purebasic-bkg)/50%)!important}.v-code-block--tab-highlightjs-purebasic-icon{color:hsl(var(--v-cb-tab-highlightjs-purebasic-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-purebasic-icon))!important}.v-code-block--tab-highlightjs-purebasic-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-purebasic-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-purebasic-icon-success))!important}.v-code-block--tab-highlightjs-purebasic-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-purebasic-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-purebasic-icon-failed))!important}.v-code-block--tab-highlightjs-purebasic>div{color:hsl(var(--v-cb-tab-highlightjs-purebasic-text))}.v-code-block--tab-highlightjs-qtcreator-dark{background-color:hsl(var(--v-cb-tab-highlightjs-qtcreator-dark-bkg)/100%)!important}.v-code-block--tab-highlightjs-qtcreator-dark:hover{background-color:hsl(var(--v-cb-tab-highlightjs-qtcreator-dark-bkg)/50%)!important}.v-code-block--tab-highlightjs-qtcreator-dark-icon{color:hsl(var(--v-cb-tab-highlightjs-qtcreator-dark-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-qtcreator-dark-icon))!important}.v-code-block--tab-highlightjs-qtcreator-dark-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-qtcreator-dark-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-qtcreator-dark-icon-success))!important}.v-code-block--tab-highlightjs-qtcreator-dark-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-qtcreator-dark-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-qtcreator-dark-icon-failed))!important}.v-code-block--tab-highlightjs-qtcreator-dark>div{color:hsl(var(--v-cb-tab-highlightjs-qtcreator-dark-text))}.v-code-block--tab-highlightjs-qtcreator-light{background-color:hsl(var(--v-cb-tab-highlightjs-qtcreator-light-bkg)/100%)!important}.v-code-block--tab-highlightjs-qtcreator-light:hover{background-color:hsl(var(--v-cb-tab-highlightjs-qtcreator-light-bkg)/50%)!important}.v-code-block--tab-highlightjs-qtcreator-light-icon{color:hsl(var(--v-cb-tab-highlightjs-qtcreator-light-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-qtcreator-light-icon))!important}.v-code-block--tab-highlightjs-qtcreator-light-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-qtcreator-light-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-qtcreator-light-icon-success))!important}.v-code-block--tab-highlightjs-qtcreator-light-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-qtcreator-light-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-qtcreator-light-icon-failed))!important}.v-code-block--tab-highlightjs-qtcreator-light>div{color:hsl(var(--v-cb-tab-highlightjs-qtcreator-light-text))}.v-code-block--tab-highlightjs-rainbow{background-color:hsl(var(--v-cb-tab-highlightjs-rainbow-bkg)/100%)!important}.v-code-block--tab-highlightjs-rainbow:hover{background-color:hsl(var(--v-cb-tab-highlightjs-rainbow-bkg)/50%)!important}.v-code-block--tab-highlightjs-rainbow-icon{color:hsl(var(--v-cb-tab-highlightjs-rainbow-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-rainbow-icon))!important}.v-code-block--tab-highlightjs-rainbow-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-rainbow-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-rainbow-icon-success))!important}.v-code-block--tab-highlightjs-rainbow-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-rainbow-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-rainbow-icon-failed))!important}.v-code-block--tab-highlightjs-rainbow>div{color:hsl(var(--v-cb-tab-highlightjs-rainbow-text))}.v-code-block--tab-highlightjs-routeros{background-color:hsl(var(--v-cb-tab-highlightjs-routeros-bkg)/100%)!important}.v-code-block--tab-highlightjs-routeros:hover{background-color:hsl(var(--v-cb-tab-highlightjs-routeros-bkg)/50%)!important}.v-code-block--tab-highlightjs-routeros-icon{color:hsl(var(--v-cb-tab-highlightjs-routeros-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-routeros-icon))!important}.v-code-block--tab-highlightjs-routeros-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-routeros-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-routeros-icon-success))!important}.v-code-block--tab-highlightjs-routeros-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-routeros-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-routeros-icon-failed))!important}.v-code-block--tab-highlightjs-routeros>div{color:hsl(var(--v-cb-tab-highlightjs-routeros-text))}.v-code-block--tab-highlightjs-school-book{background-color:hsl(var(--v-cb-tab-highlightjs-school-book-bkg)/100%)!important}.v-code-block--tab-highlightjs-school-book:hover{background-color:hsl(var(--v-cb-tab-highlightjs-school-book-bkg)/50%)!important}.v-code-block--tab-highlightjs-school-book-icon{color:hsl(var(--v-cb-tab-highlightjs-school-book-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-school-book-icon))!important}.v-code-block--tab-highlightjs-school-book-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-school-book-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-school-book-icon-success))!important}.v-code-block--tab-highlightjs-school-book-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-school-book-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-school-book-icon-failed))!important}.v-code-block--tab-highlightjs-school-book>div{color:hsl(var(--v-cb-tab-highlightjs-school-book-text))}.v-code-block--tab-highlightjs-shades-of-purple{background-color:hsl(var(--v-cb-tab-highlightjs-shades-of-purple-bkg)/100%)!important}.v-code-block--tab-highlightjs-shades-of-purple:hover{background-color:hsl(var(--v-cb-tab-highlightjs-shades-of-purple-bkg)/50%)!important}.v-code-block--tab-highlightjs-shades-of-purple-icon{color:hsl(var(--v-cb-tab-highlightjs-shades-of-purple-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-shades-of-purple-icon))!important}.v-code-block--tab-highlightjs-shades-of-purple-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-shades-of-purple-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-shades-of-purple-icon-success))!important}.v-code-block--tab-highlightjs-shades-of-purple-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-shades-of-purple-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-shades-of-purple-icon-failed))!important}.v-code-block--tab-highlightjs-shades-of-purple>div{color:hsl(var(--v-cb-tab-highlightjs-shades-of-purple-text))}.v-code-block--tab-highlightjs-srcery{background-color:hsl(var(--v-cb-tab-highlightjs-srcery-bkg)/100%)!important}.v-code-block--tab-highlightjs-srcery:hover{background-color:hsl(var(--v-cb-tab-highlightjs-srcery-bkg)/50%)!important}.v-code-block--tab-highlightjs-srcery-icon{color:hsl(var(--v-cb-tab-highlightjs-srcery-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-srcery-icon))!important}.v-code-block--tab-highlightjs-srcery-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-srcery-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-srcery-icon-success))!important}.v-code-block--tab-highlightjs-srcery-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-srcery-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-srcery-icon-failed))!important}.v-code-block--tab-highlightjs-srcery>div{color:hsl(var(--v-cb-tab-highlightjs-srcery-text))}.v-code-block--tab-highlightjs-stackoverflow-dark{background-color:hsl(var(--v-cb-tab-highlightjs-stackoverflow-dark-bkg)/100%)!important}.v-code-block--tab-highlightjs-stackoverflow-dark:hover{background-color:hsl(var(--v-cb-tab-highlightjs-stackoverflow-dark-bkg)/50%)!important}.v-code-block--tab-highlightjs-stackoverflow-dark-icon{color:hsl(var(--v-cb-tab-highlightjs-stackoverflow-dark-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-stackoverflow-dark-icon))!important}.v-code-block--tab-highlightjs-stackoverflow-dark-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-stackoverflow-dark-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-stackoverflow-dark-icon-success))!important}.v-code-block--tab-highlightjs-stackoverflow-dark-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-stackoverflow-dark-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-stackoverflow-dark-icon-failed))!important}.v-code-block--tab-highlightjs-stackoverflow-dark>div{color:hsl(var(--v-cb-tab-highlightjs-stackoverflow-dark-text))}.v-code-block--tab-highlightjs-stackoverflow-light{background-color:hsl(var(--v-cb-tab-highlightjs-stackoverflow-light-bkg)/100%)!important}.v-code-block--tab-highlightjs-stackoverflow-light:hover{background-color:hsl(var(--v-cb-tab-highlightjs-stackoverflow-light-bkg)/50%)!important}.v-code-block--tab-highlightjs-stackoverflow-light-icon{color:hsl(var(--v-cb-tab-highlightjs-stackoverflow-light-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-stackoverflow-light-icon))!important}.v-code-block--tab-highlightjs-stackoverflow-light-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-stackoverflow-light-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-stackoverflow-light-icon-success))!important}.v-code-block--tab-highlightjs-stackoverflow-light-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-stackoverflow-light-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-stackoverflow-light-icon-failed))!important}.v-code-block--tab-highlightjs-stackoverflow-light>div{color:hsl(var(--v-cb-tab-highlightjs-stackoverflow-light-text))}.v-code-block--tab-highlightjs-sunburst{background-color:hsl(var(--v-cb-tab-highlightjs-sunburst-bkg)/100%)!important}.v-code-block--tab-highlightjs-sunburst:hover{background-color:hsl(var(--v-cb-tab-highlightjs-sunburst-bkg)/50%)!important}.v-code-block--tab-highlightjs-sunburst-icon{color:hsl(var(--v-cb-tab-highlightjs-sunburst-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-sunburst-icon))!important}.v-code-block--tab-highlightjs-sunburst-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-sunburst-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-sunburst-icon-success))!important}.v-code-block--tab-highlightjs-sunburst-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-sunburst-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-sunburst-icon-failed))!important}.v-code-block--tab-highlightjs-sunburst>div{color:hsl(var(--v-cb-tab-highlightjs-sunburst-text))}.v-code-block--tab-highlightjs-tokyo-night-dark{background-color:hsl(var(--v-cb-tab-highlightjs-tokyo-night-dark-bkg)/100%)!important}.v-code-block--tab-highlightjs-tokyo-night-dark:hover{background-color:hsl(var(--v-cb-tab-highlightjs-tokyo-night-dark-bkg)/50%)!important}.v-code-block--tab-highlightjs-tokyo-night-dark-icon{color:hsl(var(--v-cb-tab-highlightjs-tokyo-night-dark-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-tokyo-night-dark-icon))!important}.v-code-block--tab-highlightjs-tokyo-night-dark-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-tokyo-night-dark-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-tokyo-night-dark-icon-success))!important}.v-code-block--tab-highlightjs-tokyo-night-dark-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-tokyo-night-dark-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-tokyo-night-dark-icon-failed))!important}.v-code-block--tab-highlightjs-tokyo-night-dark>div{color:hsl(var(--v-cb-tab-highlightjs-tokyo-night-dark-text))}.v-code-block--tab-highlightjs-tokyo-night-light{background-color:hsl(var(--v-cb-tab-highlightjs-tokyo-night-light-bkg)/100%)!important}.v-code-block--tab-highlightjs-tokyo-night-light:hover{background-color:hsl(var(--v-cb-tab-highlightjs-tokyo-night-light-bkg)/50%)!important}.v-code-block--tab-highlightjs-tokyo-night-light-icon{color:hsl(var(--v-cb-tab-highlightjs-tokyo-night-light-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-tokyo-night-light-icon))!important}.v-code-block--tab-highlightjs-tokyo-night-light-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-tokyo-night-light-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-tokyo-night-light-icon-success))!important}.v-code-block--tab-highlightjs-tokyo-night-light-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-tokyo-night-light-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-tokyo-night-light-icon-failed))!important}.v-code-block--tab-highlightjs-tokyo-night-light>div{color:hsl(var(--v-cb-tab-highlightjs-tokyo-night-light-text))}.v-code-block--tab-highlightjs-tomorrow-night-blue{background-color:hsl(var(--v-cb-tab-highlightjs-tomorrow-night-blue-bkg)/100%)!important}.v-code-block--tab-highlightjs-tomorrow-night-blue:hover{background-color:hsl(var(--v-cb-tab-highlightjs-tomorrow-night-blue-bkg)/50%)!important}.v-code-block--tab-highlightjs-tomorrow-night-blue-icon{color:hsl(var(--v-cb-tab-highlightjs-tomorrow-night-blue-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-tomorrow-night-blue-icon))!important}.v-code-block--tab-highlightjs-tomorrow-night-blue-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-tomorrow-night-blue-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-tomorrow-night-blue-icon-success))!important}.v-code-block--tab-highlightjs-tomorrow-night-blue-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-tomorrow-night-blue-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-tomorrow-night-blue-icon-failed))!important}.v-code-block--tab-highlightjs-tomorrow-night-blue>div{color:hsl(var(--v-cb-tab-highlightjs-tomorrow-night-blue-text))}.v-code-block--tab-highlightjs-tomorrow-night-bright{background-color:hsl(var(--v-cb-tab-highlightjs-tomorrow-night-bright-bkg)/100%)!important}.v-code-block--tab-highlightjs-tomorrow-night-bright:hover{background-color:hsl(var(--v-cb-tab-highlightjs-tomorrow-night-bright-bkg)/50%)!important}.v-code-block--tab-highlightjs-tomorrow-night-bright-icon{color:hsl(var(--v-cb-tab-highlightjs-tomorrow-night-bright-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-tomorrow-night-bright-icon))!important}.v-code-block--tab-highlightjs-tomorrow-night-bright-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-tomorrow-night-bright-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-tomorrow-night-bright-icon-success))!important}.v-code-block--tab-highlightjs-tomorrow-night-bright-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-tomorrow-night-bright-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-tomorrow-night-bright-icon-failed))!important}.v-code-block--tab-highlightjs-tomorrow-night-bright>div{color:hsl(var(--v-cb-tab-highlightjs-tomorrow-night-bright-text))}.v-code-block--tab-highlightjs-vs{background-color:hsl(var(--v-cb-tab-highlightjs-vs-bkg)/100%)!important}.v-code-block--tab-highlightjs-vs:hover{background-color:hsl(var(--v-cb-tab-highlightjs-vs-bkg)/50%)!important}.v-code-block--tab-highlightjs-vs-icon{color:hsl(var(--v-cb-tab-highlightjs-vs-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-vs-icon))!important}.v-code-block--tab-highlightjs-vs-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-vs-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-vs-icon-success))!important}.v-code-block--tab-highlightjs-vs-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-vs-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-vs-icon-failed))!important}.v-code-block--tab-highlightjs-vs>div{color:hsl(var(--v-cb-tab-highlightjs-vs-text))}.v-code-block--tab-highlightjs-vs2015{background-color:hsl(var(--v-cb-tab-highlightjs-vs2015-bkg)/100%)!important}.v-code-block--tab-highlightjs-vs2015:hover{background-color:hsl(var(--v-cb-tab-highlightjs-vs2015-bkg)/50%)!important}.v-code-block--tab-highlightjs-vs2015-icon{color:hsl(var(--v-cb-tab-highlightjs-vs2015-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-vs2015-icon))!important}.v-code-block--tab-highlightjs-vs2015-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-vs2015-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-vs2015-icon-success))!important}.v-code-block--tab-highlightjs-vs2015-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-vs2015-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-vs2015-icon-failed))!important}.v-code-block--tab-highlightjs-vs2015>div{color:hsl(var(--v-cb-tab-highlightjs-vs2015-text))}.v-code-block--tab-highlightjs-xcode{background-color:hsl(var(--v-cb-tab-highlightjs-xcode-bkg)/100%)!important}.v-code-block--tab-highlightjs-xcode:hover{background-color:hsl(var(--v-cb-tab-highlightjs-xcode-bkg)/50%)!important}.v-code-block--tab-highlightjs-xcode-icon{color:hsl(var(--v-cb-tab-highlightjs-xcode-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-xcode-icon))!important}.v-code-block--tab-highlightjs-xcode-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-xcode-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-xcode-icon-success))!important}.v-code-block--tab-highlightjs-xcode-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-xcode-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-xcode-icon-failed))!important}.v-code-block--tab-highlightjs-xcode>div{color:hsl(var(--v-cb-tab-highlightjs-xcode-text))}.v-code-block--tab-highlightjs-xt256{background-color:hsl(var(--v-cb-tab-highlightjs-xt256-bkg)/100%)!important}.v-code-block--tab-highlightjs-xt256:hover{background-color:hsl(var(--v-cb-tab-highlightjs-xt256-bkg)/50%)!important}.v-code-block--tab-highlightjs-xt256-icon{color:hsl(var(--v-cb-tab-highlightjs-xt256-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-xt256-icon))!important}.v-code-block--tab-highlightjs-xt256-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-xt256-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-xt256-icon-success))!important}.v-code-block--tab-highlightjs-xt256-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-xt256-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-xt256-icon-failed))!important}.v-code-block--tab-highlightjs-xt256>div{color:hsl(var(--v-cb-tab-highlightjs-xt256-text))}.v-code-block--tab-highlightjs-base16-onedark{background-color:hsl(var(--v-cb-tab-highlightjs-base16-onedark-bkg)/100%)!important}.v-code-block--tab-highlightjs-base16-onedark:hover{background-color:hsl(var(--v-cb-tab-highlightjs-base16-onedark-bkg)/50%)!important}.v-code-block--tab-highlightjs-base16-onedark-icon{color:hsl(var(--v-cb-tab-highlightjs-base16-onedark-icon))!important;fill:hsl(var(--v-cb-tab-highlightjs-base16-onedark-icon))!important}.v-code-block--tab-highlightjs-base16-onedark-icon-status-success{color:hsl(var(--v-cb-tab-highlightjs-base16-onedark-icon-success))!important;fill:hsl(var(--v-cb-tab-highlightjs-base16-onedark-icon-success))!important}.v-code-block--tab-highlightjs-base16-onedark-icon-status-failed{color:hsl(var(--v-cb-tab-highlightjs-base16-onedark-icon-failed))!important;fill:hsl(var(--v-cb-tab-highlightjs-base16-onedark-icon-failed))!important}.v-code-block--tab-highlightjs-base16-onedark>div{color:hsl(var(--v-cb-tab-highlightjs-base16-onedark-text))}.v-code-block--mt-1{margin-top:.25rem!important}.v-code-block--me-1{margin-right:.25rem!important}.v-code-block--mb-1{margin-bottom:.25rem!important}.v-code-block--ms-1{margin-left:.25rem!important}.v-code-block--pt-1{padding-top:.25rem!important}.v-code-block--pe-1{padding-right:.25rem!important}.v-code-block--pb-1{padding-bottom:.25rem!important}.v-code-block--ps-1{padding-left:.25rem!important}.v-code-block--mt-2{margin-top:.5rem!important}.v-code-block--me-2{margin-right:.5rem!important}.v-code-block--mb-2{margin-bottom:.5rem!important}.v-code-block--ms-2{margin-left:.5rem!important}.v-code-block--pt-2{padding-top:.5rem!important}.v-code-block--pe-2{padding-right:.5rem!important}.v-code-block--pb-2{padding-bottom:.5rem!important}.v-code-block--ps-2{padding-left:.5rem!important}.v-code-block--mt-3{margin-top:.75rem!important}.v-code-block--me-3{margin-right:.75rem!important}.v-code-block--mb-3{margin-bottom:.75rem!important}.v-code-block--ms-3{margin-left:.75rem!important}.v-code-block--pt-3{padding-top:.75rem!important}.v-code-block--pe-3{padding-right:.75rem!important}.v-code-block--pb-3{padding-bottom:.75rem!important}.v-code-block--ps-3{padding-left:.75rem!important}.v-code-block--mt-4{margin-top:1rem!important}.v-code-block--me-4{margin-right:1rem!important}.v-code-block--mb-4{margin-bottom:1rem!important}.v-code-block--ms-4{margin-left:1rem!important}.v-code-block--pt-4{padding-top:1rem!important}.v-code-block--pe-4{padding-right:1rem!important}.v-code-block--pb-4{padding-bottom:1rem!important}.v-code-block--ps-4{padding-left:1rem!important}.v-code-block--mt-5{margin-top:1.25rem!important}.v-code-block--me-5{margin-right:1.25rem!important}.v-code-block--mb-5{margin-bottom:1.25rem!important}.v-code-block--ms-5{margin-left:1.25rem!important}.v-code-block--pt-5{padding-top:1.25rem!important}.v-code-block--pe-5{padding-right:1.25rem!important}.v-code-block--pb-5{padding-bottom:1.25rem!important}.v-code-block--ps-5{padding-left:1.25rem!important}.v-code-block---label-mobile input,.v-code-block---label-mobile select,.v-code-block---label-mobile textarea{display:none}.v-code-block[data-v-51ec5829]{display:block;max-width:100%}.v-code-block--header[data-v-51ec5829]{align-items:end;display:flex;justify-content:space-between;overflow:visible;position:relative;width:100%}.v-code-block--label[data-v-51ec5829]{overflow:auto}.v-code-block--tabs[data-v-51ec5829]{align-items:end;display:flex;justify-content:flex-end}.v-code-block--tab[data-v-51ec5829]{align-items:center;border-radius:5px 5px 0 0;cursor:pointer;display:flex;flex-direction:row;justify-content:flex-start;padding:5px 15px;text-align:center;transition:background-color .35s ease;white-space:nowrap;width:fit-content}.v-code-block--tab svg[data-v-51ec5829]{height:.85rem;width:.85rem}.v-code-block--code[data-v-51ec5829]{position:relative;z-index:1}.v-code-block--code pre[data-v-51ec5829],.v-code-block--code pre[class*=language-][data-v-51ec5829]{margin-top:0}.v-code-block--code pre[class*=language-][data-v-51ec5829]:before,.v-code-block--code pre[class*=language-][data-v-51ec5829]:after{bottom:.95em}.v-code-block--code pre code[data-v-51ec5829]{width:100%}.v-code-block--code-browser[data-v-51ec5829]:before{background-image:url(\'data:image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" width="54" height="14" viewBox="0 0 54 14"><g fill="none" fillRule="evenodd" transform="translate(1 1)"><circle cx="6" cy="6" r="6" fill="%23FF5F56" stroke="%23E0443E" strokeWidth=".5" /><circle cx="26" cy="6" r="6" fill="%23FFBD2E" stroke="%23DEA123" strokeWidth=".5" /><circle cx="46" cy="6" r="6" fill="%2327C93F" stroke="%231AAB29" strokeWidth=".5" /></g></svg>\');background-position:.5em .5em;background-repeat:no-repeat;content:"";display:block;padding-right:10em;padding-top:3rem;width:100%}.v-code-block--code:hover .v-code-block--code-copy-button[data-v-51ec5829]{opacity:1}.v-code-block--code-copy-button[data-v-51ec5829]{align-items:center;color:#ccc;cursor:pointer;display:flex;fill:#ccc;height:1.5em;justify-content:center;opacity:0;position:absolute;right:.9rem;top:.7rem;transition:opacity .2s ease-in-out;width:auto;z-index:2}.v-code-block--code-copy-button[data-v-51ec5829]:hover{opacity:1}.v-code-block--code-copy-button-persist[data-v-51ec5829]{opacity:.5}.v-code-block--code-copy-button svg[data-v-51ec5829]{height:1rem;width:1rem}')),document.head.appendChild(e)}}catch(t){}}();const mq={class:"h-full w-full relative"},_q=e({__name:"CodeBlocks",props:{content:{type:String,required:!0},closeBtn:{type:[Function,null],default:null}},setup(e){const t=e,n=_(0),r=_([]);G((()=>t.content),(e=>{r.value=function(e){const t=/(?:^|\n)```(?:(html|css|js|javascript|typescript|jsx|vue)?\s*)\n([\s\S]*?)(?:```|$)/g;return[...e.matchAll(t)].map((e=>({language:e[1]||"javascript",code:e[2].trim(),complete:e[0].endsWith("```")})))}(t.content);var i=r.value.every((e=>e.complete));n.value=i?-1:0}),{immediate:!0});const i=()=>{t.closeBtn()};return(t,a)=>{const o=te,l=ne,c=L;return y(),v("div",mq,[s(l,{modelValue:n.value,"onUpdate:modelValue":a[0]||(a[0]=e=>n.value=e),class:"h-full overflow-auto flex flex-col artifact"},{default:C((()=>[s(o,{value:-1,label:"preview"},{default:C((()=>[s(HY,{blocks:r.value,class:"rounded-lg"},null,8,["blocks"])])),_:1}),(y(!0),v(S,null,T(r.value,((e,t)=>(y(),O(o,{value:t,label:e.language},{default:C((()=>[s(A(pq),{highlightjs:"",code:e.code,lang:e.language,theme:!1,class:"code-block h-full"},null,8,["code","lang"])])),_:2},1032,["value","label"])))),256))])),_:1},8,["modelValue"]),e.closeBtn?(y(),O(c,{key:0,size:"small",variant:"outline",onClick:i,class:"absolute right-0 top-3 z-50"},{default:C((()=>[s(A(w),{slot:"icon"})])),_:1})):N("",!0)])}}});export{GY as A,lC as B,nS as C,Ne as D,DR as E,rC as F,Og as H,HT as U,qY as _,NY as a,_q as b,_e as c,mB as d,ve as e,k_ as f,aM as g,pM as h,uj as i,MD as j,jR as k,NR as l,bY as m,mR as n,BR as o,_F as p,Lj as q,ID as r,Ce as s,aS as t,Gj as u,lS as v,UM as w,zM as x,IM as y,sC as z}; diff --git a/.output/public/assets/FrameContent-D2QyFMUH.js b/.output/public/assets/FrameContent-D2QyFMUH.js new file mode 100644 index 0000000000000000000000000000000000000000..6f076407ce796645b9ea2230e08aa5e8b1945192 --- /dev/null +++ b/.output/public/assets/FrameContent-D2QyFMUH.js @@ -0,0 +1 @@ +import{d as e,b1 as t,j as a,b as o,b2 as r,n as s,w as n,o as i,c as l,p as u,q as d,ai as m,v as c,s as p,W as f,e as g,_ as h}from"./main-DzSNOqOC.js";import{d as y}from"./debounce-DjqSSMbT.js";const w=["src"],b=h(e({__name:"FrameContent",props:{frameSrc:String,offset:{type:Number,default:0}},setup(e){const h=e,{width:b,height:v}=t(),_=a(!0),x=a(window.innerHeight),F=a(),S=o((()=>[`${r}-iframe-page`])),B=s(),H=o((()=>({height:`${x.value}px`}))),I=getComputedStyle(document.documentElement),$=I.getPropertyValue("--td-comp-size-xxxl"),j=I.getPropertyValue("--td-comp-size-xxl"),z=I.getPropertyValue("--td-comp-paddingTB-m");function C(){const e=p(F);if(!e)return;let t=0;const{showLayoutHeader:a,showFooter:o,showBreadcrumb:r}=B,s=a?parseFloat($):0,n=document.querySelector(".t-breadcrumb"),i=s+(r?function(e){let t=e.clientHeight;const a=window.getComputedStyle(e);return t+=parseInt(a.marginTop,10),t+=parseInt(a.marginBottom,10),t+=parseInt(a.borderTopWidth,10),t+=parseInt(a.borderBottomWidth,10),t}(n):0)+2*parseFloat(z)+(o?parseFloat(j):0)+2+h.offset;x.value=window.innerHeight-i,t=document.documentElement.clientHeight-i,e.style.height=`${t}px`}function P(){_.value=!1,C()}return n([b,v],y(C,250)),n([()=>B.showFooter,()=>B.showBreadcrumb],y(C,250)),(t,a)=>{const o=f;return i(),l("div",{class:c(S.value),style:m(H.value)},[u(o,{loading:_.value,size:"large",style:m(H.value)},{default:d((()=>[g("iframe",{ref_key:"frameRef",ref:F,src:e.frameSrc,class:c(`${S.value}__main`),onLoad:P},null,42,w)])),_:1},8,["loading","style"])],6)}}}),[["__scopeId","data-v-200260e8"]]);export{b as F}; diff --git a/.output/public/assets/about-DhrbvIxh.js b/.output/public/assets/about-DhrbvIxh.js new file mode 100644 index 0000000000000000000000000000000000000000..a26a31ce5dfcf060b55e8223300794929c307001 --- /dev/null +++ b/.output/public/assets/about-DhrbvIxh.js @@ -0,0 +1 @@ +import{F as o}from"./FrameContent-D2QyFMUH.js";import{d as t,o as a,f as e}from"./main-DzSNOqOC.js";import"./debounce-DjqSSMbT.js";const s=t({__name:"about",setup:t=>(t,s)=>(a(),e(o,{frameSrc:"http://www.openseed.top/about"}))});export{s as default}; diff --git a/.output/public/assets/avatar.vue_vue_type_script_setup_true_lang-B0fdXq3h.js b/.output/public/assets/avatar.vue_vue_type_script_setup_true_lang-B0fdXq3h.js new file mode 100644 index 0000000000000000000000000000000000000000..28ca09db138cf974c9f2718f16fe9b9e0814129d --- /dev/null +++ b/.output/public/assets/avatar.vue_vue_type_script_setup_true_lang-B0fdXq3h.js @@ -0,0 +1,13 @@ +import{r as a}from"./refresh-BD1L4aGQ.js";import{v as l}from"./v4-_R2nDvl_.js";import{d as c,j as i,w as t,o as e,c as r,p as h,q as d,s as n,A as o,G as f}from"./main-DzSNOqOC.js";function p(a){return a.replace(/&/g,"&").replace(/'/g,"'").replace(/"/g,""").replace(/</g,"<").replace(/>/g,">")}function s(a){var l,c,i,t,e,r,h,d,n,o,f,p,s,v,Z;let M=(null===(l=a.meta)||void 0===l?void 0:l.title)?`„${null===(c=a.meta)||void 0===c?void 0:c.title}”`:"Design",u=`„${null!==(t=null===(i=a.meta)||void 0===i?void 0:i.creator)&&void 0!==t?t:"Unknown"}”`;(null===(e=a.meta)||void 0===e?void 0:e.source)&&(M+=` (${a.meta.source})`);let m="";return"MIT"!==(null===(h=null===(r=a.meta)||void 0===r?void 0:r.license)||void 0===h?void 0:h.name)&&"DiceBear"!==(null===(d=a.meta)||void 0===d?void 0:d.creator)&&(null===(n=a.meta)||void 0===n?void 0:n.title)&&(m+="Remix of "),m+=`${M} by ${u}`,(null===(f=null===(o=a.meta)||void 0===o?void 0:o.license)||void 0===f?void 0:f.name)&&(m+=`, licensed under „${null===(s=null===(p=a.meta)||void 0===p?void 0:p.license)||void 0===s?void 0:s.name}”`,(null===(Z=null===(v=a.meta)||void 0===v?void 0:v.license)||void 0===Z?void 0:Z.url)&&(m+=` (${a.meta.license.url})`)),m}const v=-2147483648;function Z(a){return a^=a<<13,a^=a>>17,a^=a<<5}function M(a=""){let l=function(a){let l=0;for(let c=0;c<a.length;c++)l=(l<<5)-l+a.charCodeAt(c)|0,l=Z(l);return l}(a=a.toString())||1;const c=()=>l=Z(l),i=(a,l)=>Math.floor((c()-v)/4294967295*(l+1-a)+a);return{seed:a,next:c,bool:(a=50)=>i(1,100)<=a,integer:(a,l)=>i(a,l),pick(a,l){var t;return 0===a.length?(c(),l):null!==(t=a[i(0,a.length-1)])&&void 0!==t?t:l},shuffle(a){const l=M(c().toString()),i=[...a];for(let c=i.length-1;c>0;c--){const a=l.integer(0,c);[i[c],i[a]]=[i[a],i[c]]}return i},string(a,l="abcdefghijklmnopqrstuvwxyz1234567890"){const i=M(c().toString());let t="";for(let c=0;c<a;c++)t+=l[i.integer(0,l.length-1)];return t}}}function u(a){let l=a.attributes.viewBox.split(" ");return{x:parseInt(l[0]),y:parseInt(l[1]),width:parseInt(l[2]),height:parseInt(l[3])}}const m={type:"object",$schema:"http://json-schema.org/draft-07/schema#",properties:{seed:{type:"string"},flip:{type:"boolean",default:!1},rotate:{type:"integer",minimum:0,maximum:360,default:0},scale:{type:"integer",minimum:0,maximum:200,default:100},radius:{type:"integer",minimum:0,maximum:50,default:0},size:{type:"integer",minimum:1},backgroundColor:{type:"array",items:{type:"string",pattern:"^(transparent|[a-fA-F0-9]{6})$"}},backgroundType:{type:"array",items:{type:"string",enum:["solid","gradientLinear"]},default:["solid"]},backgroundRotation:{type:"array",items:{type:"integer",minimum:-360,maximum:360},default:[0,360]},translateX:{type:"integer",minimum:-100,maximum:100,default:0},translateY:{type:"integer",minimum:-100,maximum:100,default:0},clip:{type:"boolean",default:!0},randomizeIds:{type:"boolean",default:!1}}};function g(a){var l;let c={},i=null!==(l=a.properties)&&void 0!==l?l:{};return Object.keys(i).forEach((a=>{let l=i[a];"object"==typeof l&&void 0!==l.default&&(Array.isArray(l.default)?c[a]=[...l.default]:"object"==typeof l.default?c[a]={...l.default}:c[a]=l.default)})),c}function y(a){switch(a){case"svg":return"image/svg+xml";case"png":case"jpeg":return`image/${a}`;default:throw new Error(`Unsupported format: ${a}`)}}let $;const A=function(a,l,c){return{toDataUri:()=>b(a,l,c),toFile:i=>async function(a,l,c,i){const t=document.createElement("a");t.href=await b(l,c,i),t.download=a,t.click(),t.remove()}(i,a,l,c),toArrayBuffer:()=>async function(a,l,c){if("svg"===l)return($||($=new TextEncoder),$).encode(a);const i=await k(a,l,c);return await new Promise(((a,c)=>{i.toBlob((l=>{l?a(l.arrayBuffer()):c(new Error("Could not create blob"))}),y(l))}))}(a,l,c)}};async function b(a,l,c){if("svg"===l)return`data:${y(l)};utf8,${encodeURIComponent(a)}`;return(await k(a,l,c)).toDataURL(y(l))}async function k(a,l,c){let{svg:i,size:t}=function(a,l=512){let c=l;return{svg:a=a.replace(/<svg([^>]*)/,((a,l)=>{const i=l.match(/width="([^"]+)"/);return i&&(c=parseInt(i[1])),l.match(/width="([^"]+)"/)?l=l.replace(/width="([^"]+)"/,`width="${c}"`):l+=` width="${c}"`,l.match(/height="([^"]+)"/)?l=l.replace(/height="([^"]+)"/,`height="${c}"`):l+=` height="${c}"`,`<svg${l}`})),size:c}}(a);const e=document.createElement("canvas");e.width=t,e.height=t;const r=e.getContext("2d");if(null===r)throw new Error("Could not get canvas context");"jpeg"===l&&(r.fillStyle="white",r.fillRect(0,0,t,t));var h=document.createElement("img");return h.width=t,h.height=t,h.setAttribute("src",await b(i,"svg")),new Promise(((a,l)=>{h.onload=()=>{r.drawImage(h,0,0,t,t),a(e)},h.onerror=a=>l(a)}))}function C(a){return"transparent"===a?a:`#${a}`}function x(a,l={}){var c,i,t,e,r;l=function(a,l){var c;let i={...g(m),...g(null!==(c=a.schema)&&void 0!==c?c:{}),...l};return JSON.parse(JSON.stringify(i))}(a,l);const h=M(l.seed),d=a.create({prng:h,options:l}),n=h.pick(null!==(c=l.backgroundType)&&void 0!==c?c:[],"solid"),{primary:o,secondary:f}=function(a,l,c){var i;let t=a.shuffle(l);t.length<=1||2==l.length&&"gradientLinear"==c?(t=l,a.next()):t=a.shuffle(l),0===t.length&&(t=["transparent"]);const e=t[0],r=null!==(i=t[1])&&void 0!==i?i:t[0];return{primary:C(e),secondary:C(r)}}(h,null!==(i=l.backgroundColor)&&void 0!==i?i:[],n),v=h.integer((null===(t=l.backgroundRotation)||void 0===t?void 0:t.length)?Math.min(...l.backgroundRotation):0,(null===(e=l.backgroundRotation)||void 0===e?void 0:e.length)?Math.max(...l.backgroundRotation):0);l.size&&(d.attributes.width=l.size.toString(),d.attributes.height=l.size.toString()),void 0!==l.scale&&100!==l.scale&&(d.body=function(a,l){let{width:c,height:i,x:t,y:e}=u(a),r=l?(l-100)/100:0;return`<g transform="translate(${(c/2+t)*r*-1} ${(i/2+e)*r*-1}) scale(${l/100})">${a.body}</g>`}(d,l.scale)),l.flip&&(d.body=function(a){let{width:l,x:c}=u(a);return`<g transform="scale(-1 1) translate(${-1*l-2*c} 0)">${a.body}</g>`}(d)),l.rotate&&(d.body=function(a,l){let{width:c,height:i,x:t,y:e}=u(a);return`<g transform="rotate(${l}, ${c/2+t}, ${i/2+e})">${a.body}</g>`}(d,l.rotate)),(l.translateX||l.translateY)&&(d.body=function(a,l,c){let i=u(a);return`<g transform="translate(${(i.width+2*i.x)*((null!=l?l:0)/100)} ${(i.height+2*i.y)*((null!=c?c:0)/100)})">${a.body}</g>`}(d,l.translateX,l.translateY)),"transparent"!==o&&"transparent"!==f&&(d.body=function(a,l,c,i,t){let{width:e,height:r,x:h,y:d}=u(a);const n=`<rect fill="${l}" width="${e}" height="${r}" x="${h}" y="${d}" />`;switch(i){case"solid":return n+a.body;case"gradientLinear":return`<rect fill="url(#backgroundLinear)" width="${e}" height="${r}" x="${h}" y="${d}" /><defs><linearGradient id="backgroundLinear" gradientTransform="rotate(${t} 0.5 0.5)"><stop stop-color="${l}"/><stop offset="1" stop-color="${c}"/></linearGradient></defs>`+a.body}}(d,o,f,n,v)),(l.radius||l.clip)&&(d.body=function(a,l){let{width:c,height:i,x:t,y:e}=u(a);return`<mask id="viewboxMask"><rect width="${c}" height="${i}" rx="${l?c*l/100:0}" ry="${l?i*l/100:0}" x="${t}" y="${e}" fill="#fff" /></mask><g mask="url(#viewboxMask)">${a.body}</g>`}(d,null!==(r=l.radius)&&void 0!==r?r:0)),l.randomizeIds&&(d.body=function(a){const l=M(Math.random().toString()),c={};return a.body.replace(/(id="|url\(#)([a-z0-9-_]+)([")])/gi,((a,i,t,e)=>(c[t]=c[t]||l.string(8),`${i}${c[t]}${e}`)))}(d));const Z=function(a){const l={xmlns:"http://www.w3.org/2000/svg",...a.attributes};return Object.keys(l).map((a=>`${p(a)}="${p(l[a])}"`)).join(" ")}(d),y=function(a){var l,c,i,t,e,r,h;const d=null===(l=a.meta)||void 0===l?void 0:l.title,n=null===(c=a.meta)||void 0===c?void 0:c.creator,o=null===(i=a.meta)||void 0===i?void 0:i.source,f=null===(e=null===(t=a.meta)||void 0===t?void 0:t.license)||void 0===e?void 0:e.url,v=s(a);return d||n||o||f||v?'<metadata xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/"><rdf:RDF><rdf:Description>'+(d?`<dc:title>${p(d)}</dc:title>`:"")+(n?`<dc:creator>${p(n)}</dc:creator>`:"")+(o?`<dc:source xsi:type="dcterms:URI">${p(null!==(h=null===(r=a.meta)||void 0===r?void 0:r.source)&&void 0!==h?h:"")}</dc:source>`:"")+(f?`<dcterms:license xsi:type="dcterms:URI">${p(f)}</dcterms:license>`:"")+(v?`<dc:rights>${p(v)}</dc:rights>`:"")+"</rdf:Description></rdf:RDF></metadata>":""}(a),$=function(a){var l,c,i,t,e,r,h,d,n;const o=s(a);return{ +// Title +"IPTC:ObjectName":null===(l=a.meta)||void 0===l?void 0:l.title,"XMP-dc:Title":null===(c=a.meta)||void 0===c?void 0:c.title, +// Copyright +"IPTC:CopyrightNotice":o,"XMP-dc:Rights":o, +// Creator +"IPTC:By-line":null===(i=a.meta)||void 0===i?void 0:i.creator,"XMP-dc:Creator":null===(t=a.meta)||void 0===t?void 0:t.creator, +// Credit +"IPTC:Credit":null===(e=a.meta)||void 0===e?void 0:e.creator,"XMP-photoshop:Credit":null===(r=a.meta)||void 0===r?void 0:r.creator, +// Licensor +"XMP-plus:LicensorURL":null===(h=a.meta)||void 0===h?void 0:h.source, +// Rights +"XMP-xmpRights:WebStatement":null===(n=null===(d=a.meta)||void 0===d?void 0:d.license)||void 0===n?void 0:n.url}}(a),b=`<svg ${Z}>${y}${d.body}</svg>`;return{toString:()=>b,toJson:()=>{var a;return{svg:b,extra:{primaryBackgroundColor:o,secondaryBackgroundColor:f,backgroundType:n,backgroundRotation:v,...null===(a=d.extra)||void 0===a?void 0:a.call(d)}}},toDataUriSync:()=>`data:image/svg+xml;utf8,${encodeURIComponent(b)}`,...A(b,"svg"),png:({includeExif:a=!1}={})=>A(b,"png",a?$:void 0),jpeg:({includeExif:a=!1}={})=>A(b,"jpeg",a?$:void 0)}}const H={default:(a,l)=>`<path d="M396 164.8a224.8 224.8 0 0 1 104.8 42.4c6.2 4.9 12.5 9.4 18 15a225.4 225.4 0 0 1 71.8 149 58.5 58.5 0 0 1 50.9 42.2 71 71 0 0 1-27.6 76.5c-11 7.7-24.5 12-38 11.7-5 0-10-1.6-15-1.8-1.9 2.2-3.3 4.9-4.8 7.3A223.3 223.3 0 0 1 389 609.8c-11 .7-21.9 2-33 .7a223.7 223.7 0 0 1-178.8-342.3A223.4 223.4 0 0 1 352 163.5c14.6-1.4 29.4-.3 44 1.3Z" fill="#000"/><path fill-rule="evenodd" clip-rule="evenodd" d="M498.8 213.2A216 216 0 0 0 363 169c-13-.2-26.2 1.6-39 4a218 218 0 0 0-113.6 365.5 218.5 218.5 0 0 0 260.4 40.2c35-18.8 64.2-47.3 84.4-81.5l-3-1.6c-2.8-1.4-5.7-3-8-5-2.2-2-.3-5.8 2.7-4.7 1.5.7 3 1.6 4.4 2.4a55 55 0 0 0 59.6-3.6 64.5 64.5 0 0 0 25-69.8 53.1 53.1 0 0 0-24-31 52.6 52.6 0 0 0-47-2.8c-1.6.8-3.4 1.5-5 1.3-2.5-.2-2.8-4.2-.6-5.2 8-4 16.5-5.6 25.4-6.4a217 217 0 0 0-72-146.4c-4.4-4-8.7-8.1-13.9-11.3Zm107.6 196.2c2-1.2 1.3-5.1-1.4-5-2 0-4.2.8-6.2 1.6l-1.4.4a95.1 95.1 0 0 0-25.5 12.4c-2.2 2-2.2 4.4.1 6.2a92 92 0 0 0 5.2 2.8 36 36 0 0 1 13 9.2c-.2 1.9-2 3.4-3.4 4.5l-.2.2c-3.9 3-8.8 5-13.6 7-2.5 1-4.9 2-7.1 3.1-1.7.8-2.6 2.2-1.6 3.9 1 2 3.2 1.1 5 .5l.6-.2 5.4-2.3c5.4-2.3 11-4.5 15.4-8 2.7-2.1 5.1-5.1 5.4-8.7-.5-3.4-2.7-5.7-5.3-7.8a83 83 0 0 0-11.6-7.2l-1.1-.6c5.4-3 10.8-5.6 16.6-7.7l5-1.7a52 52 0 0 0 6.7-2.6Z" fill="${p(`${l.skin}`)}"/>`},V={short16:(a,l)=>`<path d="M459.2 60c1.2-.4 2.6-.6 4-.6 2 3.8 3.2 7.7 4.8 11.7 3.8 9.4 8.7 18.3 14 27 9.1 14.9 19.1 29 30.8 42 5.7 6.5 11.8 12.4 17.4 18.8a116.8 116.8 0 0 1 50.6-41.2c11.6-4.9 24-8.9 36.3-11.5 2.3-.3 5.3-1.4 6.8 1 1.3 1.8-1 5-2 6.7-6.2 9.3-9 20-10.2 31.1-.6 6.4.6 12.5 2 18.8 15.8.6 31.6 2.5 47.3 4.9 9.5 1.3 18.3 4.2 28 3.9 21.3 1 42.9-.5 64-3 4.3-.4 8.7-1.1 13-1 2.6 0 4.4 1.7 4.5 4.3 0 5.2-.3 10.5-.7 15.6-.8 9.4-4 18.2-9.1 26.1 8.7 3.6 17.5 7 26.3 10.4 19 7.1 37.2 14.2 57 19 2.3.5 3.7 3 2 4.8-10.2 9-20.5 17.7-31 26.3-8.9 7.5-18 16-28.5 21.3 8 29.7 10.2 61.2 7.8 91.8a230 230 0 0 1-16 69c-1 2.6-2 5.3-3.7 7.5-.7 1-2.3 1.2-3.4.8-3-1-6-2.7-9-3.7A50.5 50.5 0 0 0 724 465c-4.6 2.3-6.8 6.1-10.4 9.6-5.3 5.3-11 10.4-16.9 15.1-2.8 2.2-6 4.8-9.8 4.6-1.4-.9-2.3-1.4-1.9-3.3 1-4.9 2.7-9.6 3.4-14.5A257 257 0 0 0 687 397c-1.8-10.5-4.1-23-12.4-30.6-9.6-9-18.2-18.9-27.3-28.4-2.5 20.7-10.2 41-20 59.3-8.7 16-19.8 31.4-33.4 43.6-1.8 1.5-3.8 3.2-6 4-2 .4-5.9.1-5.2-2.8.5-3.8 1.8-7.4 2.4-11a184.3 184.3 0 0 0-2.3-70.7c-8.8 12.2-15 26.4-18.2 41.1a70.4 70.4 0 0 0 .7 38c-1.4 1.1-1.9 2.8-4 2a116.6 116.6 0 0 1-55.5-42.1 93.6 93.6 0 0 1-25.1-10.1 91.8 91.8 0 0 1-30-30.8 135 135 0 0 0-5 21.5c-2.9 20.1-2.2 41.6 4.2 61 .5 1.4.7 2.8.6 4.2a7.2 7.2 0 0 1-8 1.3c-17-6.3-31.4-17.2-43.2-30.8a148.7 148.7 0 0 1-22.9-34.2c-3.8 3.4-7.7 6.9-11.3 10.6a308.8 308.8 0 0 0-43.8 58.2c-6.2 10.8-12 22.1-15.8 34-.9 2-1 4-3.5 4.8-3-.6-3.4-3.3-4.4-5.7-4-11.8-6.5-24-7.7-36.4-2.4-20.8-1.5-42 2-62.6a144.4 144.4 0 0 0-35.6 11c-3.3 1.5-6.2 3.8-9.4 5.4-3.3-.3-3.5-3-3.2-5.8a208.8 208.8 0 0 1 44.1-97.6 76 76 0 0 1-29-46c-.4-2.7-1.6-6.5 1.4-8.3 4-.8 8.7.4 12.8.6 15.8 1 32.2-.4 47.4-5.3 7.3-2.3 14.6-4.6 21.4-8.3-16.6-22.4-28.1-48-35-75-1.2-5.2-3-10.7-3.2-16.1 0-2.4.6-4.8 3.4-5.2 3.1.1 6.1 3 9 4.2 20 10.5 41.3 19 63.2 24.7 15.2 3.8 31 5.7 46.5 7.5-1.7-12.8-.7-25.7 2.4-38.2 3.3-13.4 8-26.5 13.9-39 4.1-9 9-17.6 13.4-26.6 1.1-2.1 2.2-4.6 3.8-6.4Z" fill="#000"/><path d="M460.8 68.8A230 230 0 0 0 488 118c6.2 9 13 17.5 20.4 25.7 5.8 6.5 12.3 12.2 18 19 1.7 1.7 2.8 4.3 5.7 3.6 2.3-2.4 3.8-5.6 6-8.3 7.4-9.8 16.5-18.4 26.7-25.2 15.7-10.3 33.1-15.9 51.1-20.5a68.4 68.4 0 0 0-6 56.8c1.6.6 3.5.3 5.1.3 8.3-.2 17 1.2 25 2 12 1.6 24 3.5 36 6 4 1 8 .3 12 .4 16 1 32 .5 48-.6 9.7-.8 19.2-2.3 28.9-3L764 188a53 53 0 0 1-8.8 24.6c-10-3.9-20-7.4-30.4-10.3-1.9-.4-3.5-1-5.1.4-.3 1-.3 2.3-.4 3.4 5.7 2 11.5 3.4 17.2 5.5 17.6 6.4 35 13.8 52.5 20.4 16 6 32.4 12.2 49 16.6a914.7 914.7 0 0 1-26.4 22c-8.6 6.9-17 15-26.7 20.1-2.6-8-5.5-16-9.1-23.5-.8-1.4-1.2-2.8-2.9-3.2-2-1-4 2.1-3 4 1.6 4.3 3.8 8.4 5.4 12.8a249.4 249.4 0 0 1 13.9 97.4 227 227 0 0 1-18 80.9c-13.5-6.2-29-7-43-2.3 7.3-9.8 13.5-20.6 18.8-31.6a48 48 0 0 1 2.4 11.8c.3 2.1-.3 4 1.5 5.6 2.1.4 3.6-.3 3.8-2.6.6-6-1.2-12.6-3.4-18.2-.9-1.9-2-4.8-4.3-5.1-2.3-.3-3.2 1.4-4 3.2a196.8 196.8 0 0 1-29.5 46.6c-6.5 7.4-13.9 13.7-21.3 20.1 2-8.2 3.3-16.6 3.8-25 .4-8 1.2-15.7.6-23.6-1-19.7-2.5-40.2-8.2-59.1 8.1 6.7 16.8 12.5 25.6 18.2 2 1.1 4.3 3.8 6.9 3 2.1-1.2 3-4.1 3.6-6.3 4.4-18.7 5-38 2.1-57-2-13.1-4.7-27-10.3-39-1.2-2.3-2.4-5.2-4.4-6.9-1.9-1.3-4.2-.3-4.2 2.1 1 3.7 3.4 6.9 4.7 10.5 5.3 13 7.8 27.6 9.5 41.5 1.9 16.2.9 32.5-2.7 48.4a246.7 246.7 0 0 1-31.7-22.8c-13.2-11.7-24.8-25-37.2-37.9-7.1-8.1-14.6-16.5-20.1-25.8-4.5-7.4-9.2-14.5-12.7-22.4-2.6-6-5.6-11.6-8.6-17.4-1.9-3.3-2.9-7-4.7-10.4-2-.4-4-.1-4 2.3.4 4.4 3.1 8.8 5 12.8 4.7 8.5 8 17.7 12.8 26l8.7 14.5c4.5 7.2 9.9 13.3 15.3 19.8a160 160 0 0 1-20 62.8c-8.4 15.1-18.9 30-32 41.4 3.9-19.4 3.9-39 1.8-58.5-1.4-8.5-2.2-18-5.6-26-2.8-2.8-4.3.4-6 2.3-17 22.3-26.7 52-22.5 80a104.9 104.9 0 0 1-31.4-20.4 146.4 146.4 0 0 1-39.6-67.7 179.6 179.6 0 0 1-6.5-48c.5-14.2 1.9-28.2 6.1-41.8 1.3-4.4 2.2-8.7 4-13 3.4-7.7 8.1-15 13.2-21.7a139.9 139.9 0 0 1 33.3-31.6c7-4.8 14.6-8.4 22.8-10.6a85 85 0 0 0-4 40.7c.3 1.7.3 3.5 1.7 4.7 1.7 1.7 4.9-.3 4.4-2.6a84.7 84.7 0 0 1 1.8-36.3c.9-3.1 2.6-5.9 3.6-8.9.3-2.7-3-3.7-5-3.7a72.1 72.1 0 0 0-30.6 13.2c-13 9.2-24.4 20.5-33.9 33.2-8 11-14.5 23-17.5 36.4-11.9 45.6-4.6 96 20.6 136a79.4 79.4 0 0 1-45.7-37c-1-1.7-1.8-3.6-3-5.1-2.5-.3-4.6 0-5.4 2.6-5.5 14.6-7.8 31-8.4 46.5 0 14 1.4 28.4 5.6 41.8a98.4 98.4 0 0 1-35-23.6A154 154 0 0 1 370 348c-3-12.8-4.9-25.9-5.4-39-.8-10.4-1-20.5 1-30.8.2-2.3 1.2-4.2-1-6-1.9-1.5-3.6 0-4.9 1.6a213.4 213.4 0 0 0-17 27 106.7 106.7 0 0 0-13 38c0 2-.6 5.7 1.4 7 1.2 1.1 3.9 0 3.6-1.8a90 90 0 0 1 7.6-29.8c4.6-10 10.7-19.7 16.4-29.1-1 14.6.2 29.4 2 44 2 16.3 6.5 32 13.1 47a275.2 275.2 0 0 0-50.4 59.4 242.3 242.3 0 0 0-21.8 41.7 212.8 212.8 0 0 1-4.8-87c1.9-11 4.6-22.6 9.7-32.7.6-1.3 1.6-3 1.3-4.5 0-1.6-1.6-2.3-3-2.3-1.9 1-2.8 2.7-3.7 4.4-3.7 7.5-6 15.3-8 23.4-14.8 2.5-30 6.8-43.2 14.1a202.2 202.2 0 0 1 36.4-84.2c6.5-8.5 14-17 23-23 2.9-2 6.2-3.1 9-5 1.4-1.2 1.3-3.7-.5-4.4-1.2-.8-3.1 0-4.4.5a78 78 0 0 0-21.9 16.5 70.4 70.4 0 0 1-27.5-44.2c17.9 1.4 35.8 1.5 53-3.6 9.5-3 19.6-6 28.2-11 5.9 6.4 12.6 12 20 16.5 2.2 1.2 4.3 2.3 6.9 1.7 1.8-.9 1.3-2.7 1.4-4.4A62 62 0 0 1 355 236c-9.7-8.8-16.4-20-22.7-31.3a229.3 229.3 0 0 1-23-63.4c24.6 13.2 51 23.7 78.4 29.4 16.3 3.2 32.8 4.7 49.2 7 13.8 2.3 27.7 4.4 41.2 7.9 6.3 1.6 12.6 3.2 19 4.6 2.9-.2 2.4-4.7 0-5.3-3.9-1.4-8-2-12-3.1-17.4-5-35.5-8-53.4-10.7-2.3-12.5-1.1-25 1.8-37.2 3.6-14.5 8.8-28.5 15.3-41.9 3.4-7 7-13.6 10.5-20.5l1.4-2.6Z" fill="${p(`${l.hair}`)}"/>`,short15:(a,l)=>`<path d="M659.4 36.4c1.9-.6 3.6-1.2 5.6-.6l2.4 3c-3.4 5-6 10.5-8.7 16a180.5 180.5 0 0 0-19.5 82.3 383.4 383.4 0 0 1 105 5.6c2 .4 3.5 1 3.7 3.3.1 3-2.8 3.5-5 5a177.5 177.5 0 0 0-30.9 25 201.2 201.2 0 0 0-36.5 51.2c30 5.2 59 20 83.1 38.2 2 1.5 4.5 3.2 5.7 5.5-.5 4.2-4.6 4.3-7.7 5.7a254.4 254.4 0 0 0-54 27.4c12.8 8 25 17 36.2 27.2 1.7 1.7 3.6 3 3 5.7-.1 1.8-2.9 2.9-4.3 3.6-7.8 3.4-15.8 6.4-23.8 9.1-2.3.8-3.3 0-4.5-1.9a194.1 194.1 0 0 0-39.8-44 215.2 215.2 0 0 0-39.3-26.8c-2.6-1.3-5-2.6-8-2.5-5.7 0-11.4.2-17.1.5-32 2.5-63.6 10.3-93 23.2-15.6 6.9-31.3 15.5-44.4 26.5-2 1.6-4 4.1-6.6 5-5.8-1-11.5-3.4-17-5.5-18.8-7-35.1-19.9-49-34.1-11-11-20.3-23.3-28.7-36.3-6.2-9.5-12-19.1-16.4-29.6-1.4-3.2-3.2-6.6-3.7-10.1 0-1.3 1.2-3.6 2.8-3.2 3 1 6 2.9 9 4.2 5.9 2.9 12.1 4.7 18.5 6.3 12 3.4 24.6 5.8 36.9 8.3-1.2-7.7-1.2-15.4-.8-23.2a202 202 0 0 1 15.3-63.4 230 230 0 0 1 24.3-44.8 212.6 212.6 0 0 1 36.6-41.5c2.6-1.9 5.4-4.4 8.7-2.2 2.2 1 1.1 3.7 1 5.5-3.7 17-.4 34.6 4.3 51.2 2.6 9.3 6.7 17.9 11 26.5 3.5-4.7 7.4-9.1 11.5-13.3A420 420 0 0 1 595.1 69a344.4 344.4 0 0 1 64.3-32.7Z" fill="#000"/><path d="M658.7 42.9a192.5 192.5 0 0 0-25.1 81.1c-.2 5.4 0 10.9-.1 16.3 1 .8 2 2.5 3.5 2.5 6.3-.5 12.6-1.5 19-1.5 11.3 0 22.5-.3 33.8.7 16.3.4 32.3 2.8 48.4 5.6a202 202 0 0 0-38.6 33A234.2 234.2 0 0 0 670 225c-.8 1.7-2.1 3.8-1 5.8 1 1.2 2.5 1.1 4 1.4 6 .8 12 2.3 17.8 4.1a213.3 213.3 0 0 1 65.5 34.6 250.2 250.2 0 0 0-55.9 27.4c-2.3 1.8-7.8 4-5.6 7.7 3.2 2 6.6 3.3 9.6 5.5 10.6 7.1 21 15 30.3 23.8-7 3-14 5.6-21.2 8.2a201.2 201.2 0 0 0-36.2-40.9 218.3 218.3 0 0 0-48.8-33c-2-1-4.2-1.1-6.5-1.1-37.5 0-75 8.4-109.5 22.9-19 8.2-37 18.2-52.6 32A119.3 119.3 0 0 1 411 297a204 204 0 0 1-32.4-35.6c-9.3-13.5-18.3-26.5-24.8-41.7 18.1 8 38.8 11.3 58.2 15 2.6 0 6.4 1.9 7.4-1.5-.1-2.8-.8-5.5-1.1-8.2-1.4-9.7 0-20.3 1-30a225.9 225.9 0 0 1 38.3-94.5C467.8 86 479 72.5 492.7 61c-1.4 8.9-1.3 18-.6 27 2 16.2 6.5 32.3 13.8 47 1.8 3.2 3.1 6.9 5.4 9.7 1 1.3 3.5 1.7 4.4 0 5.2-8.9 12.8-15.6 20.2-22.8A455.5 455.5 0 0 1 598 74c19.3-12 39.5-23.2 60.7-31.2Z" fill="${p(`${l.hair}`)}"/>`,short14:(a,l)=>`<g fill="#000"><path d="M453.2 221.6c2.2-.3 5-1 7 .2 1.2 1.4 1.4 3.2.2 4.7-1.8 2.1-4.2 3.8-6.4 5.5a75.8 75.8 0 0 0-9.3 9 387.8 387.8 0 0 1 129.3-7.7c29.1 3.2 59.2 9.6 86 21.7 14.5 6.6 29 15.3 39.9 27.1a52 52 0 0 1 14.7 31.8c4 .8 8 1.6 11.5 4A51 51 0 0 1 743 340a159 159 0 0 1 11.3 44.7c1.4 14.2 2.2 28.4 1.4 42.7-.8 9.5-1.3 19-3 28.5-.2 1.3-.3 2.5-1.8 3-6.7.7-14.4.7-20.7 3.2-9 3.5-17.6 7.2-25.7 12.3-1.3.7-3 2-4.5 1.7a3 3 0 0 1-2.3-4.5c2.5-5.4 5.7-10.5 8.7-15.8-6 2.7-12.1 5.1-17.7 8.6-1.7-1.2-3.4-2.1-3.6-4.5-.8-10.4-.6-21-1.6-31.4-1.4-1.3-3-2.4-4.6-3.5a167 167 0 0 1-18.1-13.9c-1.6-1.4-3-3-4-5a238.6 238.6 0 0 1-20-74.8c-7.9 0-15.5-.6-23.3-1.6 2 1.8 4.8 3.5 5.6 6.2-.6 2.4-2.5 3-4.5 3.9a139 139 0 0 1-51.6 8.3c-28.2-.3-56.4-6.5-82.4-17.3 3.5 4 7 7.9 11.2 11.3 1.5 1.4 3.6 2.9 4.4 4.8-.4 2.8-2.4 4.2-5.2 3.9-17.5-1.6-34.6-5-52-8.3 0 5.9 1.3 11.6 1.6 17.5-.5 2-3 2.4-4.6 1.4-1.5-1-2.8-2.2-4-3.4-9-8.6-17.7-17-25.4-26.6-1.4-1.5-2.7-3.7-4.8-3.9-7.5-1-15.2-2.3-22.8-2.5-4-.3-8.1 2.5-11.7 4.1-4 2.2-8.7 3.9-12.2 6.8-3.8 4.6-7 9.9-10.3 14.9a3 3 0 0 1-1.8 1.4 40.7 40.7 0 0 1-22.4-11A74 74 0 0 1 303 310c-.6-2-1.3-4.9.9-6.2 1.8-1.2 4.5.3 6.3 1 6.4 3.1 12.3 6.6 19.3 8.3a32 32 0 0 1-2-18.9 65.8 65.8 0 0 1 24.4-40.3c3-2.3 6.4-5 10-6.2 2.9-1 5.2 1.6 4.6 4.3-1.3 5.3-3.6 10.3-5 15.6a185 185 0 0 1 40-29.2 182 182 0 0 1 51.7-16.8Z"/><path d="M712.3 472.3c2.2-1.2 4.7 1.3 3.7 3.5-1.6 1.8-4 3-6.1 4.1-6.1 3.3-12 6.8-17.9 10.4l-2.7-1.1c.2-1.3 0-2.9 1.1-3.8 3-2.6 7-4.4 10.4-6.6 3.9-2.1 7.6-4.6 11.5-6.5Z"/></g><path d="M450.1 228c-5.2 4.8-10 9.5-13.8 15.4-.8 1.2-1 2.4-.7 3.8 1.9 1.8 3.7 1 6 .6 40.5-10.5 83.7-13 125.4-9.5 29.5 2.8 59.9 8.8 87.2 20.5a127.8 127.8 0 0 1 38.1 23.9A51 51 0 0 1 708 309c.7 2.9.1 6.7 1.7 9.3 1.4 2.4 4 1.6 6.3 2 5 .2 9.8 4 13 7.7a77 77 0 0 1 13.5 27.5c3.9 13.1 6 26.9 7 40.5 1 19.3.7 38.7-2.1 57.9-6.6.8-12.9.9-19.2 3.2-7.4 1.8-14.3 5.9-21.2 9.1 2-3.7 4.4-7.4 6-11.3a6 6 0 0 0 0-4.8c-2-1.6-4-1-6.1-.2-5.5 2.2-10.8 4.7-16 7.3-1-10.2-.9-21-1.8-31.1-2.4-3-6.2-4.7-9.2-7-5.8-4.1-12.3-8.3-17.1-13.5a292 292 0 0 1-15-42.6 171.7 171.7 0 0 1-5.7-35c-1-1.4-3.4-2-5-2-9-.3-18.3-.4-27-2.3-2.4-.5-4.5-.8-6.1-2.6-3.5-3.2-6.3-7.4-10.2-10-3-.6-4.4 2.3-2.6 4.6 6.3 6.8 12.9 13.3 19.9 19.3-15 5.7-32 7.6-48.1 7.6-30-.7-60.1-7.6-87.4-20.3-2.4-1-3.8-1-6 .4-1.3 2.5.2 4 1.7 6 4.6 5.5 9.8 10.7 14.8 15.8-15-1.5-30.1-4.5-45-7.2-2.9-.5-5.9-.2-7 2.9-1 4.1 0 9 .6 13.2-7.5-7.5-15.2-15-21.9-23.2-5.3-6.4-10.4-13-15.4-19.6-1-1.1-2.6-2.9-4.2-2.3-2 .6-2.2 3-1.2 4.6 2 3 4.5 5.9 6.6 8.9-6-1.3-12-1.4-18-2.2-2.4-.2-4.4-.7-6.6.4-7.4 3.4-14.7 7.1-21.8 11.1-4.2 4.3-7.2 10.1-10.7 15-6-1.2-11.7-4.1-16.2-8.4a66.7 66.7 0 0 1-16.2-27.2c6.7 3.1 14.4 7.6 21.9 7.8 2.2 0 5 .2 6.3-2 1.2-1.8-.4-3-1.3-4.4-3.4-4.2-3.4-10.1-3-15.3A62 62 0 0 1 360 255c-2 6.4-4.6 13.3-5 20-.2 3.1 3.3 4.2 5.2 2.2a185.3 185.3 0 0 1 42.3-32.8c15-8 31-13 47.7-16.4Z" fill="${p(`${l.hair}`)}"/>`,short13:(a,l)=>`<g fill="#000"><path d="M562 243.3c21.2 2.3 42.8 6 63.3 12.4 6.7 2.3 13.8 4.5 20 8 2.3 1.4 1 3.5-.4 5-4.8-1.6-9.3-3.9-14.1-5.5a278 278 0 0 0-42.3-10.3c-16-2.9-32-4.8-48.2-5.4a290.6 290.6 0 0 0-95 10c-5.7 1.4-11 3.3-16.8 4.1-.5-2.5-1.8-4.5 1.3-5.7 18.4-5.6 37.1-10 56.2-12.3a331 331 0 0 1 76-.3Z"/><path d="M512 259.7c2.6.2 4 1.7 3.2 4.2-1.3 2.4-4.7 2.6-7 3.3-29.4 5.9-58 14.4-86 25-5 1.7-9.7 3.8-14.7 5.4a690 690 0 0 1 95.3-15.2c8.4-.5 16.8-1.6 25.2-1.8 7.4 0 14.6-.8 22-.7 13.3 0 26.7-.4 40 .5 7 .4 14.4.1 21.2 1.6 1.8.2 2.4 1.4 3.4 2.8l-1.6 2.6c-4.7 0-9.3-.5-14-1-11.5-.6-23-1-34.6-.8-23.1-.4-46.4 1-69.4 3.2-35 3.5-69.4 10.1-103.5 18.6-2.7.5-6.6 2-9 0-.5-1.3-.8-3.5.5-4.4 3.3-2.5 7.5-4 11.3-5.8a591.6 591.6 0 0 1 95.7-31.8c-5.3.7-10.7.9-16 1.2a450.6 450.6 0 0 0-81.6 13c-.9-1.5-2-2.5-1.4-4.5 2.5-2 5.8-2.7 8.9-3.5l12.6-2.4c16.4-3.6 33-5.5 49.7-7.3 16.5-1.3 32.9-2.8 49.9-2.2ZM656 270.9c2.4-.3 3.9-.2 5.8 1.2 7.3 5 14.8 11.1 19.4 18.8 3.7 6 5.2 12.6 5 19.6 11.8 2.6 21 9.7 28.6 18.7a137.3 137.3 0 0 1 22.9 42.3 292 292 0 0 1 15 83.5c.1 2.2-.7 4-2.9 4.5-3.9.2-7.7-.2-11.6.8-2.7.5-6 2-8.7 1.3-.4-1.3-.8-2.6-1-4 5.8-2.4 12-3.4 18.4-3.4-1.5-31.3-7-63.8-19.4-92.7-4-9.4-9.2-18.5-15.4-26.6a56.6 56.6 0 0 0-17.6-15.3c-4-2.2-8.3-3-12.8-4.4l-.8-2c.7-7.5-.9-14.7-5.3-20.8-5.4-8-12.8-12.2-20.1-18 .1-1.2.3-2.4.6-3.5Z"/><path d="M478.2 298.5c6-.4 12 0 18 0 20 .2 39.9 0 59.8.2 11.7-.2 23.3.7 35 1 4.8.3 9.7.6 14.2 2.1 2.2.8 3.3 3.3 2 5.3-1.5 2.2-5 2.7-7.4 3.4-9.6 2.1-19.3 3.7-29 5 16.7-.4 33.9-1.8 50.5-.3 1.4.3 3.2.3 4.4 1.2.3 1.1.2 2.2-.1 3.2-1.4 1.1-3 .7-4.6.8-24.9-1.2-49.2 1.1-74 2.5-4 .2-8 .6-12 0-2.6-.1-3.4-3.8-1.5-5.4 2.3-1.6 5.6-2 8.3-2.7 17.5-3.5 35.2-5.5 52.7-9-10.8-1-21.7-1.1-32.5-1.2-27.7-.5-55.4-.2-83-.5-1.4-.2-3.7-.3-3.7-2-1-1.6 1.2-3.6 2.9-3.6ZM636.8 331.8l3.3-.2c1.6 3.8 2.5 7.7 3.8 11.5 6 18.1 16.3 34.8 29.3 48.7a96 96 0 0 0 22.2 17.9c1.8 1.2 3.9 1.8 3.9 4.4-.6 3-3.2 1.9-5.5 2.1-.7 15.9-3 31.9-6.6 47.3-1.1 3.8-1.6 8.9-4.6 11.6a31 31 0 0 1-3.2-1.9c-.2-2.3.4-4.5 1-6.7 3.3-11.1 5-22.9 6.8-34.3.7-6.6 1.5-13.4 1.1-20-6.2-4.2-11.9-9-17.2-14.3A139.7 139.7 0 0 1 637 340c-.7-3-2-5.5-.1-8.3ZM723.6 455.3c1.8 1.7-.1 2.9-1.1 4.2a78.3 78.3 0 0 0-27.8 19.2c-2.6 2.4-4.1 5.2-8 5l-1.2-2.1c.4-1.3.7-2.5 1.7-3.4a97.8 97.8 0 0 1 32.6-23.4c1.5-.5 2.8-1 3.9.5ZM709.5 473.6c2.6-1 4.5.7 3.6 3.4-2.7 2.4-6 4-8.8 6.3-5.1 4.2-9.7 9-14 14a31 31 0 0 1-5.4 4.5l-2.3-2.7c0-2.3 2.2-4.2 3.6-5.9 6.8-7 14.5-15.2 23.3-19.6Z"/></g><path d="M540.3 247.5c16.2.6 32.3 2.5 48.2 5.4a278 278 0 0 1 42.3 10.3c4.8 1.6 9.3 4 14.1 5.5 3.8 1.4 7.4 3.3 10.6 5.7 7.3 5.8 14.7 10 20.1 18 4.4 6.1 6 13.3 5.3 20.8l.8 2c4.5 1.4 8.8 2.2 12.8 4.4 7 3.6 12.7 9.2 17.6 15.3 6.2 8.1 11.3 17.2 15.4 26.6 12.4 29 18 61.4 19.4 92.7-6.4 0-12.6 1-18.4 3.4l-6 1.9c1-1.3 2.9-2.5 1.1-4.2-1-1.5-2.3-1-3.8-.6-13 5.2-22.9 13.9-32.6 23.5-1 1-1.3 2.1-1.7 3.4-1.1-2.1-2-4.3-3-6.5 3.1-2.7 3.6-7.8 4.7-11.6 3.6-15.4 6-31.4 6.6-47.2 2.3-.3 4.9.7 5.5-2.2 0-2.7-2-3.2-3.9-4.4a96 96 0 0 1-22.2-17.9 134.3 134.3 0 0 1-29.3-48.7c-1.3-3.8-2.2-7.7-3.8-11.5-1.6-4.4-2-9.4-3.2-14a68.4 68.4 0 0 0-15.6-2.4c-16.6-1.5-33.8 0-50.5.4 9.7-1.4 19.4-3 29-5.1 2.4-.7 5.9-1.2 7.4-3.4 1.3-2 .2-4.5-2-5.3a54.3 54.3 0 0 0-14.2-2c-11.7-.4-23.3-1.3-35-1-20-.3-39.9-.1-59.8-.4 13.2-1.8 26.1-5.5 39.3-7.6 9.6-1.6 19.2-3.7 28.9-5.2a494 494 0 0 1 34.6.8c4.7.5 9.3 1 14 1l1.6-2.6c-1-1.4-1.6-2.6-3.4-2.8-6.8-1.5-14.2-1.2-21.2-1.6-13.3-.9-26.7-.5-40-.5-7.4-.1-14.6.7-22 .7-8.4.2-16.8 1.3-25.2 1.8a690 690 0 0 0-95.3 15.2c5-1.6 9.8-3.7 14.7-5.5 28-10.5 56.6-19 86-25 2.3-.6 5.7-.8 7-3.2.8-2.5-.6-4-3.1-4.2-17-.6-33.4.9-50 2.2a462.4 462.4 0 0 0-49.6 7.3l-12.6 2.4c9.4-3.7 18.9-7 28.6-10 5.8-.8 11.1-2.7 16.7-4.2a290.6 290.6 0 0 1 95.1-10Z" fill="${p(`${l.hair}`)}"/>`,short12:(a,l)=>`<path d="M464 199.3c14.7-1 29.4 2.8 42.6 9.1a66.2 66.2 0 0 1 33.3 32.7c1 2.6 1.2 5-.7 7.1-1.5.7-3.5.6-5 1-3 1-5.3 3.4-6.5 6.3-2.8 6.3-3.9 13.4-6.1 20-2.2 7-5.2 13.5-10.2 19A98.5 98.5 0 0 1 462 323a84.4 84.4 0 0 1-45-1c-7.7-2.3-14.1-7.4-18.4-14.1-.8-1.3-.2-3.5 1.6-3.6 4.5-.4 8.8-.5 13-2.4 5.8-2.3 9-7.8 10-13.8 1.1-8.4-.5-15.9-1.4-24.2a95.3 95.3 0 0 1-.4-32.2c1.6-7.5 5.1-14.4 10.7-19.7a49.6 49.6 0 0 1 31.9-12.8Z" fill="#000"/><path d="M462 205.2c13.3-1.4 27.3 2 39.5 7.3 14.3 6.6 27 16 33.6 30.7a17.1 17.1 0 0 0-12.5 10.3c-4.3 9.9-5.4 21.1-11.1 31a62.5 62.5 0 0 1-16.3 16.7 92.4 92.4 0 0 1-60.7 18.5c-9.8-1.2-20-2.6-27.1-10a39 39 0 0 0 10.7-3.6c5.9-3.5 9.7-9.6 10.8-16.3 1.4-11.9-1.1-22.2-2.2-33.8-.8-5.2-.6-10.7-.5-16 .5-8.6 3.3-17.2 9.5-23.3a43 43 0 0 1 26.3-11.5Z" fill="${p(`${l.hair}`)}"/>`,short11:(a,l)=>`<g fill="#000"><path d="M440.2 189.2c1.8-.1 3.6-1 4.7 1 1.6 2 1.1 3.4-.6 5a62.2 62.2 0 0 0-18.3 29.3c30-13.1 63.4-19.6 96-21 9.4-.7 18.6-.7 28 0a281 281 0 0 1 80.5 14.8c18.5 6.5 37 15.6 52 28.3a77.8 77.8 0 0 1 26.5 39.1c3.8-.2 7.3-.4 10.7 1.6 7.3 3.8 12.4 12 16 19.1a182.4 182.4 0 0 1 14.5 46.6c3.3 17.2 4.8 34.6 5.8 52 .1 13 .6 26.1-.8 39-.4 4.3-.3 8.7-1.3 12.9-1 3-4.4 2.7-6.9 3-8.3.3-17.8 1.7-25 6.2-1.3 2.5-1.5 5.6-2.7 8.2-2 2.3-4.8 4-7.2 5.8-6.3 4.3-12.3 9.1-18.5 13.5-1.8 1.1-4.1 2.7-6 .6-1.3-1.2-1.3-2.5-1-4.2 3.2-19.6 2.9-40.2 2.2-60 .1-7.8-.9-15.4-1.3-23.2a53.7 53.7 0 0 1-19.3-5A77.9 77.9 0 0 1 634 369c-6-11-9.4-23.4-8.2-36A1013.5 1013.5 0 0 1 466 346.2c-10.8-.3-21.5 0-32.2-1-14.4-.6-28.6-1.8-42.8-4-11.2-1.7-22.6-4-33.3-8-4.9 5-8 10.7-11.9 16.5-2.3 3.5-4 7.4-6.3 10.7-1 1.6-3.2 1.8-4.4.3-1.2-2.3-1.6-5.2-2.1-7.8a61.6 61.6 0 0 1 4-37c-2.4-4.5-4.6-9-5.8-14a62 62 0 0 1 6.5-44.3c9.3-17.8 24.9-32.5 41.6-43.4a182.2 182.2 0 0 1 61-25Z"/><path d="M340.5 321.2c3.1 4.3 7.2 7.2 11.8 9.7-5 6.6-9.6 13.5-14 20.5-1.2-9-1.5-17.8 1.2-26.6l1-3.6ZM718.2 480.6c2 1.1 1.6 3.3 0 4.6-8 6.8-16.4 13-25 19-1.5 1-3.2 2-4.6.2-1.8-1.7 0-3.3 1.3-4.5 3.7-3 7.8-5.5 11.6-8.4 4-2.9 7.9-6.2 11.8-9.2 1.6-1 3-2.3 5-1.7Z"/></g><path d="M436 196.1a63 63 0 0 0-15.4 27c-.3 2-1.3 4.7-.2 6.5 1.5.8 3 1.2 4.6 1.7 41.8-19 88.5-24.5 134-21.5 29 2.2 58.4 8.3 85.1 20.1 15.2 6.8 30.4 16 42 28a63.7 63.7 0 0 1 18 33l1.8 1.3c4.1-.7 7.6-1.8 11.5.4 6.4 3.7 10.8 11.5 14 18a198.7 198.7 0 0 1 14.4 50.4c2 12.6 3.5 25.3 4 38 .1 8 .9 16 .6 24-.4 10.5-.6 21-1.8 31.4-7.8.3-15.2 1-22.6 3.7-2.8 1-6.4 2.2-8.4 4.5-1.5 2.7-2 6-3 9L693 487.2c1.6-9.3 1.4-18.7 2.1-28.2.5-9.4-.6-18.6-.7-28-.2-5.4-.2-10.7-.8-16-.5-4.7-.5-9-2-13.5-5.7-.8-11.2-1-16.6-3.2a70.6 70.6 0 0 1-37-34.2 52 52 0 0 1-5.5-34.7c-2.6-3.4-7.3-2.2-10.9-1.7A964.5 964.5 0 0 1 447 340c-10-.1-20-.5-30-1.4-17-1.5-34.6-3.6-51-8.6a57 57 0 0 1-17-8 47.7 47.7 0 0 1-12.7-43c3-16 12.6-30.5 23.9-41.8a165 165 0 0 1 75.7-41Z" fill="${p(`${l.hair}`)}"/>`,short10:(a,l)=>`<path d="M484 203.3c31.3-2 63.4.1 93.9 8 21.5 5.4 42.2 13.8 60.9 26.1 23.4-3.9 47.9.9 69.4 10.4a172.1 172.1 0 0 1 60.1 45.8 164.6 164.6 0 0 1 38.8 87.4c1 12.2.9 25-1.8 37a91.5 91.5 0 0 1-26.1 48.2c-1.9 1.5-3 2.2-5.4 1a61.1 61.1 0 0 0-49.6-3c1 10.6.3 21-4.5 30.6a33 33 0 0 1-15.7 15.6c-2.7.9-4.6-1.4-3.5-4 3.3-8.1 3-16.7 2.8-25.4a149 149 0 0 0-2.9-23.5c-7.6.9-15.3.3-22.5-2.4a87.2 87.2 0 0 1-37-29 205 205 0 0 1-27.8-49.2c-9.5-23.3-16-48-20.2-72.8-.7-3.9-1-7.7-2.1-11.4-20.3-1.1-40.6-1-60.8-.4a631.8 631.8 0 0 0-65 7 452.8 452.8 0 0 0-96.2 25.6c-2.5 1.1-5 1.9-6.9 4a145.6 145.6 0 0 0-16.2 21.8 258.6 258.6 0 0 0-27 59.1c-1.1 3.2-1.6 6.8-3.2 9.7-1.4 1.6-3.4 1-4.8-.2a102.5 102.5 0 0 1-29.8-41.3 83.1 83.1 0 0 1-4.4-39.8c2.6-19 11.3-36.6 23.2-51.6 19-24 45.9-42.4 73.5-55.3a317.4 317.4 0 0 1 110.8-28Z" fill="#000"/><path d="M517 208.5c7.7.7 15.3.7 23 1.8 33.2 3.7 67.5 13.5 95.6 32 .8.5 1.6 1 2.4 1.2 16.3-3.4 34-1.6 49.8 3a160 160 0 0 1 77.4 52.4 162.1 162.1 0 0 1 34.3 71c3.1 16.7 3.5 33.6-.7 50.1a86.2 86.2 0 0 1-23.1 41.5 67.8 67.8 0 0 0-52.2-3.1c-2 .8-5.6 1.7-5.4 4.5 2.1 13 0 28-9.7 37.6 1.7-15.1.5-30.6-2.5-45.5-.7-3-1.8-3.8-4.9-3.4-9 1.4-17.6-.1-25.8-4a84 84 0 0 1-28.4-23.4c-12.3-15-21.6-33-28.9-51-10-25.1-16.6-51.6-20.6-78.2-.5-2.2.3-6.8-2.4-7.6-7.3-.7-14.6-.8-21.9-1.4-13.6 0-27.4-.6-41 .6A560.9 560.9 0 0 0 414.1 304c-20 5.3-40 11.9-58.7 20.6a153 153 0 0 0-32.3 19.6 53 53 0 0 0-15.6 19.3c-.6 1.9-1.6 3.8-.8 5.8 1.8 2 4.6 1.4 5.4-1.2 2-5.6 5.2-10.3 9.4-14.5 8.1-8.3 18.6-14.7 28.9-20-4 5-7.6 10.4-11 16a265.7 265.7 0 0 0-27.7 63 96.2 96.2 0 0 1-25.4-36.8 80.5 80.5 0 0 1 2-58.5 133 133 0 0 1 38.2-49.7 225 225 0 0 1 52-32.2c32.2-14.5 67.3-23 102.5-25.9 12-.6 23.9-1.8 36-.9Z" fill="${p(`${l.hair}`)}"/>`,short09:(a,l)=>`<g fill="#000"><path d="M427 196.6c19.4-1 39.6 1 58 7.4 1.8.8 3.2.1 5-.2 13-3.2 25.8-3.4 39-2.8a147 147 0 0 1 55.7 16.3c1.5.6 2.7 1.5 4.3.8 6-1.9 12-4 18.2-5.6 14-3.7 28.4-3.8 42.8-3.1a156 156 0 0 1 47.7 13c15.7 7.2 30 17.4 42 29.9a83.5 83.5 0 0 1 22.5 43.7 72 72 0 0 1-3 36.2 42.2 42.2 0 0 1-9.5 16.6c-1.8 1.6-5.5 1-5.6-1.8-.5-4.7 0-9.3-1.2-14a49.3 49.3 0 0 0-19.4-28.8c1.4 3.7 2.6 7.4 4.3 10.9 5.2 9.6 9 20.3 12.5 30.7a440 440 0 0 1 18.9 79.2c.9 10 2.5 21 .4 30.9-.4 2-1.2 4.1-3.6 4.2-4-.2-7.9-1.2-12-.6a89.7 89.7 0 0 0-42.2 17.3l-2.8 1.4c-2-.6-2.8-1.8-3.3-3.7-1.7-5.8-2.8-11.7-4.8-17.4-1.8-5-4.3-9.5-6.6-14.3-2.4-5-4.4-10.4-7-15.4a89.6 89.6 0 0 1-24.7 15.2c-5.4 2-10.2 4.2-16.1 4-.6-2.3-1-3.4.7-5.4 4.7-5.7 7-13 8.3-20.2 1.6-11.4-1.6-24-8.3-33.2a85.3 85.3 0 0 0-23.6-20.4c-5.2-3.3-11-5.7-16.2-9-1 25.8-11.1 51.4-28.5 70.5-4 4.4-9 8-14.1 10.9-1.1.5-2.5 1.5-3.7 1.1-2-.3-3.2-2-2.6-3.9 1-4.3 2.8-8.4 3.5-12.8 2-12.5-.8-25-5.7-36.5a90.3 90.3 0 0 0-12.6-19.6A163 163 0 0 1 508 423c-3.1 3.7-6.4 7.8-10.5 10.4-2 1.1-5.2.5-5-2.2.2-5.6 1-10.8-.5-16.2a84.5 84.5 0 0 1-6 17c-1 1.5-2 3.2-3.9 3.5-1.4.3-2.8-.8-4-1.4-22-14-41.4-31.6-57.4-52.1-3.9 11.6-6 23.9-5.8 36.1 0 3.5 1.4 7.3.8 10.7-2.2 2-5 .7-7.4 0A114.1 114.1 0 0 1 365 399a89.4 89.4 0 0 1-23-43.8c-6 9.5-11.6 19.5-15.7 30-1.1 2.6-1.2 7.1-4.4 7.8-1.5.8-3-1.2-3.6-2.4-3.2-7-5.1-14.5-6.1-22.2a34.8 34.8 0 0 0-5.8 9c-.7 1.4-1.6 3.5-3.4 3-2 .3-3-2.7-3.4-4.2a130.8 130.8 0 0 1-6.8-40.2 74.5 74.5 0 0 1 19-50.2 69.6 69.6 0 0 1 32.3-22c0-7 1.5-13.9 4.5-20.2a78 78 0 0 1 30.9-33.2 106.4 106.4 0 0 1 47.5-13.8Z"/><path d="M716.8 472.2c1.5 1.2 1.3 3.2-.2 4.3-4.6 3.5-9.6 6.4-14 10-2.6 1.9-4.9 4-7.3 5.8-1.1 1-3 2.2-4.2.8-1.6-1.8-.5-3.7 1-5 6.3-5.5 13-10.4 20-15 1-.8 3.7-2.4 4.7-1Z"/></g><g fill="${p(`${l.hair}`)}"><path d="M429 202.2c18.3-.6 36.7 1 54.2 6.7 7 1.8 12-1 18.8-1.5 15.5-2.2 31.7-.9 47 2.6 28 6.7 53.5 22 74 42 3.4 3.2 6.3 6.7 10 9.6 1-.8 2.8-1.3 2.8-2.7.4-2-1-3.1-2.2-4.5a179.6 179.6 0 0 0-39.5-31.9c8.5-2.8 17-5.5 25.9-6.7 13.3-1.4 26.5-1.8 39.8.7 17.4 3.4 34.8 9.4 49.9 18.8a130 130 0 0 1 27.9 23.2 75.2 75.2 0 0 1 20 49.5c.3 11-2.8 21.6-7.8 31.3-1-8-3-15.8-7.3-22.8a50.7 50.7 0 0 0-23.7-21.1c-2.4-.8-4.8 1-4.3 3.6 1.2 3.5 3.2 6.6 4.6 10a60.6 60.6 0 0 1 5.7 33c-2 16-10.1 29.7-21.3 41 6-26.2-1.6-54.8-20.3-74.1-1.4-1.6-3.9-1.7-4.9.3-.8 2.5.9 3.6 2.2 5.3a76.2 76.2 0 0 1 7.4 91.4 79.7 79.7 0 0 1-42.2 33.2 51.9 51.9 0 0 0-7.6-59.2c-9-9.8-20.2-17-32.2-22.8-2.9-1.4-6.8-3.5-8.5-6.2-1-6.9-2.6-13.5-5.4-19.8-.6-1.3-1.4-2.8-3-3-1.9-.2-3.6.9-3.1 2.9 2 5.6 4.4 11 5.2 17 1.5 7.8.3 15.2-.7 23-2.9 16.8-9.4 33-19.8 46.6a62.2 62.2 0 0 1-14.5 14.7c3.3-11.5 3-23.8-.5-35.3a83 83 0 0 0-20.4-34.9c4.8-19 6.2-38.6 4.3-58.1a131.2 131.2 0 0 0-12.2-42.5c-1.2-2.3-3-1.4-5.1-1.2-.1 2.3 0 4.2 1 6.3a132 132 0 0 1 11 65.2 187.3 187.3 0 0 1-14.6 59c-5.3 12.6-12 24.5-21.4 34.4.2-8.8-1.4-17.9-4.1-26.2-.5-2-1.6-2.6-3-3.7-3.5 2.4-2.6 6-3.3 9.7-.8 8.4-3 16.4-6.4 24.1a210 210 0 0 1-41.2-33.3 183.3 183.3 0 0 1-36.5-53.3c-6.3-14.8-11-30.3-10.6-46.5a67 67 0 0 1 9-35.9 61.3 61.3 0 0 1 26.8-24 90 90 0 0 1 32.1-8c3.2-.4 2.4-2.3 2.8-4.7-2-.5-3.8-.9-5.8-.7a82.6 82.6 0 0 0-45 16.4 66.9 66.9 0 0 0-24.7 42.9c-2.5 14.6-.7 28.9 2.9 43.2-5.8-4-11.4-8.2-16.5-12.9A87.6 87.6 0 0 1 354 283c-4-8.9-5-19-3.2-28.5a65.6 65.6 0 0 1 27.3-36.3 98.6 98.6 0 0 1 50.8-16Z"/><path d="M344.4 269.1c1.7 13.5 8 25 15.8 35.8 8.7 11.7 20 20 32 28 2.4 1.4 2.7 3.8 3.8 6.2 5 13.1 12.4 25.6 20.4 37.2-5.2 14.8-8.1 31-6.5 46.7a107 107 0 0 1-40-27 85.2 85.2 0 0 1-22.2-42c-1.1-8.3-1-17.8 3-25.4.7-1.9 2-3.7 1.8-5.8-1.3-2-3.4-2.3-5-.4a45.2 45.2 0 0 0-6.4 21.7c-.2 3.3-2.6 6-4.3 8.7a182 182 0 0 0-15.7 29.9c-2.1-5.7-3.5-11.6-3.8-17.7 0-2.2-.8-4.3-1.6-6.3-1.2.4-2.4.6-3.4 1.6-3.2 2.7-6 6.2-8.6 9.6-2.9-11.2-5.5-22.2-5.3-33.9 0-16 5.7-31.6 15.6-44 8-10 18-18.7 30.4-22.9ZM731 337.1l.1.4c9 23.8 15.4 48.7 20 73.7 2.3 13.7 5 29 3 42.8a62 62 0 0 0-15.1.4 97.3 97.3 0 0 0-38.4 16c-1.2-4.4-2.3-8.8-3.7-13.2-2.4-7.6-6.9-14.6-10.1-22-1.7-4-3.4-7.8-5.7-11.4 9-9.4 15.7-20 20-32.4 7-4.3 12.6-11.3 17.3-18a67.7 67.7 0 0 0 12.6-36.3Z"/></g>`,short08:(a,l)=>`<g fill="#000"><path d="M570.1 171.1c2.7-1 4.9.6 5.8 3 2.5 7.7 1 16.5-1.7 24a54 54 0 0 1 20.8-7c16.4-2 32.5 2.3 46.9 10a133.4 133.4 0 0 1 30.8 24.2 93.4 93.4 0 0 0 34.3 23.6 37.7 37.7 0 0 0 23.5.6c2-.4 5.2-1.7 6.9.1 1.7 1.5.7 4.3.4 6.2a52.7 52.7 0 0 1-18.7 29.3 61.2 61.2 0 0 1 30.7 28.1 89.6 89.6 0 0 1 9.9 43.8c.1 10.6-2 21-5.2 31a53 53 0 0 1 13.5 31 74 74 0 0 1-7.7 40.5c-.9 1.8-2.6 1.1-4.3 1.2a50.5 50.5 0 0 0-29.9 3.6c-2 .7-3.8 1.6-6.1 1.1-7.4-1.3-13.6-5.5-20.8-7.9a122 122 0 0 1 8.9 13.6c.7 1.4 1.7 3.2 1.7 4.9-.2 2.4-3.5 3.2-4.7 1-4-7.3-8.2-14.2-13.6-20.5-2.6-2.6.4-6.2 3.5-5.7 4.2.7 8.3 2.7 12.4 4-3.6-5-7.2-10.3-11.5-14.7-2-2.2-4.8-3.9-6.8-6.2-.2-1.4.2-2.8.6-4.1a81.3 81.3 0 0 0 .8-44.6c-3-12-8-23.4-16.2-32.9-5.2-2.2-10.3-4.5-15-7.5-11.4-6.8-20.8-16.1-31.9-23.1A51.7 51.7 0 0 0 578 319c-1.5.6-3.1.4-3.6-1.4-1.4-2.7.5-4.4 1.8-6.6 4.8-6.7 9.8-13.2 15-19.7-7.3 4-13.8 9.2-19.8 15a37.3 37.3 0 0 0-6.4 8.8l-5 .5c-2.4-2.8-3-6.1-6.4-8.2-6.3-4.1-15.4-3.7-22.5-2.4-18.9 3.8-37.4 10.1-57 10.7a53.4 53.4 0 0 1-31.7-8.7c-7.4 5-15.2 9-24.1 10.6a99.2 99.2 0 0 1-43.3-2.7c-7.6 6.1-12.8 13.6-18.9 21-6.1 8-12.2 16.3-16.8 25.1-1 1.6-1.8 3.7-3.3 4.8a30 30 0 0 1-13.9 4.3 37 37 0 0 1-24.5-5.7 28.3 28.3 0 0 1-11-18.5 56.8 56.8 0 0 1 3-29.5c.7-2.3 3.6-3.2 4.9-1 2.2 4.5 3.2 8.8 8.4 10.8 4.6 1.4 10.4-1.1 14.7-2.8a40.6 40.6 0 0 1-12.4-35 96 96 0 0 1 27.4-54 84.2 84.2 0 0 1 42-24.2c6.3-1.5 13-3.2 19.5-2.8 2.4 0 3.1 3.4 1.3 4.8a33.3 33.3 0 0 0-9 32.1c3.4-5.7 6.5-11.3 10.8-16.3a96.2 96.2 0 0 1 62.9-32.2c9.3-1.4 18.6-1.2 28-2 23.3-.5 46.7-3.6 67.9-14 5-2.4 9.2-6.4 14.2-8.8Z"/><path d="M699.8 472.2c2.2 3.5 3.8 7.5 5.6 11.3.9 2.2 2.3 4.4.8 6.8-1.2.4-2.2.6-3.4 0-1.9-2.6-2.8-6-4.3-8.9-1.4-3.5-3.7-6-3.2-10 1.5 0 3.5-.8 4.5.8Z"/></g><path d="M570.8 177.2c1.5 7-.1 14.8-3.2 21.3-.9 2.2-3.4 4.8-2.2 7.2.6 1 2.5 2.2 3.6 1.4 4-2 7.6-4.6 11.7-6.4a52.8 52.8 0 0 1 28.3-4.1 89 89 0 0 1 46.6 20.8c8.2 6.5 14.9 14.4 22.9 21.1 8.5 7 18 13.3 28.6 16.5a42.8 42.8 0 0 0 24.9.2 53.8 53.8 0 0 1-12.5 22.2c-2.7 2.6-6 4.1-9 6.2-1.6 1.3-1.9 2.7-.8 4.6 3.4 1 6.8 1.5 10 3 8.1 4 15.3 10 20.6 17.5a80.6 80.6 0 0 1 13.3 37.3c1 12.2.2 24.4-3.4 36.2-.6 2.2-1.8 4.4-2.2 6.7 2.4 3.3 5.8 5.8 7.7 9.5 9.7 16.7 8.5 36.3 1.6 53.8-.5.9-.8 3.2-2.3 2.7-9.5-1.4-18.9-.2-27.8 3.2-2 .7-4 1.9-6.2 2-1.5-.2-3-.7-4.5-1.2a107 107 0 0 0-21.4-26.7 91.4 91.4 0 0 0-12.4-77.9 53 53 0 0 0 31.9-5.7c3.2-1.6 6.9-3 9.8-5.2 2-2.2.1-4.9-2.5-5-10.4-.2-19.6-7.6-26.1-15.2-5-6.3-10.1-13.2-9.3-21.7l-2.5-.8-2.6 1c-1.6 5.4.4 10.1 2.9 14.9a58.4 58.4 0 0 0 28.7 26.3 51.3 51.3 0 0 1-25 6.2 54.5 54.5 0 0 1-23.4-7.8c-11.7-6.7-20.9-15.6-31.9-23a52.7 52.7 0 0 0-21.7-9c-9.2-1.2-18.9-1-27.8 2 5-7 10.2-13.8 15.8-20.3 1.4-1.6 2.8-3.3 4-5.1 1-1.4.4-3.7.4-5.3-2.1 0-4-.2-6 .9a96.3 96.3 0 0 0-35.1 27.5 22 22 0 0 0-10.9-8.5 53 53 0 0 0-28.4.5c-18.2 3.9-37.2 10.2-56 8.7-12-.7-23.8-7-31.1-16.6a44 44 0 0 1-3.4-44.6 57.7 57.7 0 0 1 26.3-26.1c-.6 4.8-.8 9.2 1 13.8a25.2 25.2 0 0 0 16.2 15c9.2 2.9 19.2 3.4 28.5 6.5 1.7.5 3.7 1.4 5.5 1.2 1.4-.1 2-2 2.7-3-1.6-1.4-3-2.7-5.2-3.4-8-2.8-17-3.8-25.5-5.6-3.4-.9-7-2-10-4-5.8-4-9.1-11.7-7.5-18.7 1.2-4.4 5.2-5.3 8-9l-1.2-3c-4.7-.5-9.3 2.6-13.6 4.4A62.4 62.4 0 0 0 425 252a48.6 48.6 0 0 0 13 51.8 75.3 75.3 0 0 1-11.4 5.8c-9.6 3.9-20.3 4-30.5 3.3a81 81 0 0 1-48.7-19.2c-2-1.9-3.2-4.4-5.2-6.4-2.1-.2-3.3.5-3.4 2.7 0 3.7 3.4 7 6 9.2a90 90 0 0 0 24 14c-3.4 3.4-6.8 6.8-9.9 10.6-8.5 10.4-17.5 21.3-23.9 33.1-1.6 3-3 5.6-6.4 6.7-7.2 2.1-16 1.8-23-1.1a21 21 0 0 1-11.6-11.6 45 45 0 0 1-1.3-25.2c2.9 2.6 5.4 5.6 9.4 6.3 6.6 1.2 12.6-1 18.5-3.6 2-1 3.8-2.2 4.3-4.5 0-2-2.1-3-3.4-4.3-5.7-4.7-9-11.4-10.3-18.6-1.4-9.4.3-18.6 3.4-27.5a99.8 99.8 0 0 1 27.6-40.3 82 82 0 0 1 43.7-19.3c-4.2 7.9-7 16-6 25.1.4 4 1 8.6 3.2 12 1.6 1.5 3.8 3.9 6.1 2.2 3-10 9-18.5 16.2-26a94.2 94.2 0 0 1 51.8-25c11.3-1.7 22.5-2.2 34-2.5 23.3-1 45.8-4.1 67-14.5 4.6-2.2 8.5-5.3 12.7-8Z" fill="${p(`${l.hair}`)}"/>`,short07:(a,l)=>`<path d="M577 186c12.6.5 25 2.9 36.7 7.3 19.3 7.5 37 19.8 51.1 34.9 10 10.3 18.5 22.2 28.2 32.8a98 98 0 0 0 18 15c9.3 6 20.4 8.5 30.9 12 11.4 3.5 22.5 8 32.5 14.6 16 10.6 28 27.7 34 45.9a80.7 80.7 0 0 1 3.3 42.2c-.5 2-4 2.4-4.9.4-1.5-3.1-2.5-6.5-4.3-9.6a99 99 0 0 0-19.1-23.6 47 47 0 0 1 6.3 40.6c-2.2 7-6.9 12.2-11.8 17.5 1 5 2.4 9.9 2.8 15a39 39 0 0 1-4 21.6c-1.9 3.6-3.9 8.2-7.2 10.8-2.4 1-5.6-1.4-8-2a31.3 31.3 0 0 0-13.5-1.6c-1 1.2-1.6 2.6-2.3 3.9-6.3 12.6-14 24.5-22 36a136 136 0 0 1-30 31c-3.4 2.2-8.1 5-12.1 2.7-3.6-2.5-3.4-8-3-12 2.1-16.2 1.1-33.1 1.3-49.7a81.8 81.8 0 0 1-39.2-10.4 90.3 90.3 0 0 1-47.1-75.4 83.7 83.7 0 0 1-35.8 15.7c-3 .5-7.2 1.4-10-.4-1.4-2.2-.6-3.6 1-5.3a88.5 88.5 0 0 0 26.1-42 42.6 42.6 0 0 0-7-37.8 45 45 0 0 0-25.7-14.7 75.2 75.2 0 0 0-33.2.8c-1.8.3-3.3 1-5 0-2-2.1-1.3-4.4-1.2-7A108.9 108.9 0 0 0 473 310c-1.7 1.1-3 2-5 1.2-3-1.3-5.3-4.2-8.1-6a85 85 0 0 0-32.8-12c3 2.7 6.5 5.4 9.1 8.6 1.3 1.7 1.7 3.9 0 5.5-1.7 1-4.2.7-6.2.8-12.1-.1-25 .4-36.5 4.5-2.9 2.1-4.7 6.3-6.6 9.3a141.4 141.4 0 0 0-18.8 74.1c-.1 1.5 0 3-.9 4.2-2.4 1.4-4.1 0-6.2-1.1-6.5-4-12.8-8.9-17.7-14.8a45.6 45.6 0 0 1-24.5 22.6c-3 8.2-4 17.4-5.9 26.1-1 4.7-1.2 9.6-2.3 14.3-.6 2.4-3.5 2.9-4.9.8-8.8-11.7-10.6-25.5-12.6-39.6-4.5-1.1-8.7-2.5-12.4-5.2-2.3-1.7-5.2-4.2-5.3-7.3-.2-1.6 1.9-2.7 3-3.7 3.7-2.7 7-5.8 10.4-8.9-9-3-16.3-9.6-19.8-18.5a49.3 49.3 0 0 1 1.7-36.2A87.2 87.2 0 0 1 308 287a71.2 71.2 0 0 1 30-9.3c2.5-12.2 6.5-24 12.7-35a93.2 93.2 0 0 1 95.3-46.5 115 115 0 0 1 53.2 23.2c6.4-5.8 13-11.3 20.3-15.8A108 108 0 0 1 577 186Z" fill="#000"/><g fill="${p(`${l.hair}`)}"><path d="M574 191.8a107 107 0 0 1 40.2 8 135 135 0 0 1 45.5 31.5c11.2 11 20.2 24.6 31.2 35.8 8.1 8 17.1 15.2 27.9 19.3 14.8 5.8 30.2 8.7 44.4 16.4a77.3 77.3 0 0 1 26.1 21.8 89.1 89.1 0 0 1 18.1 53.5c-9-14.4-21.7-28.9-37.4-36.1-2.3-1.2-5 .4-4.4 3 1.2 2.4 3.4 4.3 5.1 6.2 4.4 4.7 8.8 9.8 11.5 15.6 4.6 9.6 5.1 21 1.6 31-1.8 5.2-5.3 9-9 13-1.3 1.6-3.2 2.8-2.4 5.1 2 8.8 4 16.9 2.2 26-1.5 5.6-4.2 11-7.4 15.8-5.4-2-10.6-3.2-16.4-3.6.3-1.7 1-3.6.4-5.1-1-1.1-2.5-1.8-3.9-.7-1 1-1.7 2.5-2.3 3.8-7.6 16.3-17 31.7-27.6 46.4-5.2 6.9-11 13.6-17.4 19.5a56 56 0 0 1-15.3 10.9c-1-4.7 0-9 .2-13.7.6-8.7 1-17.5.6-26.2-.4-5.9-.3-11.7-.3-17.6a60.6 60.6 0 0 0 39.2-18.2c1.7-2 1.1-4.4-1.5-5a38.3 38.3 0 0 1-14-6.6c8.5.3 16.9-.5 24.8-3.8A45 45 0 0 0 758 416a40 40 0 0 0 3-24c-.4-2.8-4.1-4.2-5.2-1 .6 7.7 1.2 15-2.6 22.2-8 16.7-28.6 24.7-46.2 22.3-2.2-.3-5.2-2-7.2-.8-.5.7-.9 1.4-1 2.3 3.6 8 10.6 12 18.3 15.3a58.1 58.1 0 0 1-47 13 85.5 85.5 0 0 1-65.6-53.8c-3.9-9.8-5.3-20-5.4-30.5 0-2.8-3.2-4.2-5.3-2.1a76.3 76.3 0 0 1-36.7 17 101 101 0 0 0 20.3-30.7 62 62 0 0 0 4.4-31.2c-1.3-9.3-5.5-18-12.2-24.6a53.7 53.7 0 0 0-33.6-14.8 84.3 84.3 0 0 0-26.9 1.7c.5-2.3 1.9-4.4.2-6.5-1.4-1.9-4.2-.8-6.1-.5a111 111 0 0 0-33.6 16.5C457 293.5 437 288.3 420 286.3c-17.2-2-35.1-.7-51.8 4a80.7 80.7 0 0 0-14.3 5.5c-2.2 1.1-2.1 4.4.2 5.2 1.2.7 2.9-.4 4-.8 15.7-7.1 34-9.3 51-9 3.1.2 7 0 9.7 2.1 3.8 2.8 7.2 6.2 10.8 9.3a105 105 0 0 0-37 4.2c-3.7 1.6-6 5.4-8.1 8.7-5 8.2-9.8 17-13.1 26-6.3 16.5-9 34.4-9.2 52-7-4.6-14-10.2-18-17.7-1.6-2.7-2.5-5.6-3.6-8.5-1-2.1-4.5-2-4.9.7-.4 3.7 2.2 8 4 11.1-3 8-8.6 14.4-15.7 19-7 4.3-14.9 5.5-23 5.2-7.1.1-13.8-1.9-19.3-6.5 4.5-4.1 9.6-7.9 13.7-12.4a3 3 0 0 0-.2-4.8c-2-1-4.3-1.6-6.4-2.4a25.7 25.7 0 0 1-14.1-13.7 38 38 0 0 1-1.7-22.7 73.8 73.8 0 0 1 22-36.9 69.8 69.8 0 0 1 43-20.1c1.6-.2 3.1-.3 4.5-1.3 1.4-2.2 1.6-5.4 2.2-8 3-13.1 8.3-25.8 16-36.7a86.7 86.7 0 0 1 84.7-35.9 109 109 0 0 1 49.4 21.4c-1.4 1.7-5.6 3.9-4.4 6.5.3 1.5 2.4 2 3.5 1.1 5.6-3.8 10.3-9 15.7-13.3 18.2-14.8 40.7-25 64.4-25.8Z"/><path d="M298.6 409.2c4.7 0 9.4 0 14-1-2.6 9.9-4.2 20-6.3 30a86.2 86.2 0 0 1-7.7-29Z"/></g>`,short06:(a,l)=>`<path d="M468.5 215.1c7 1.1 13.9 1 20.8 2.5 12 2.4 24 5.8 36 8.9 32.6 8.8 65.4 16.6 98.7 22.4 21.5 3.8 44 6.9 64.6 14.5 11.4 4 22.3 9.1 32.6 15.3 4.8 3.7 8.7 9 12.1 14a255.4 255.4 0 0 1 31.3 68.7 497.2 497.2 0 0 1 16 64.6c2.2 7.6.6 16.3-.6 24-3.4 19-10 37-18.7 54.3a307 307 0 0 1-38.5 56.5A187.8 187.8 0 0 1 691 591a129.6 129.6 0 0 1-31.3 17.7c-1.7.4-3 1.4-4.3-.3-1.3-1-.3-3.6 0-5 3.4-11.4 5.8-23 7.3-34.7 1.2-8.9 1.2-17.9 1.7-26.8-.2-10-.6-20-2-30a195.8 195.8 0 0 0-36.4-91.2c-2.1 30.3.4 61.3 8.5 90.6.9 3.4 2.4 6.4 3.7 9.6.4 3.3-2.2 4.6-5 3.5a276.5 276.5 0 0 1-139.1-109.7 162 162 0 0 0-16 26.4 190.4 190.4 0 0 0-16.5 96c-1 1.1-2 3.5-3.8 3.6-2 .3-3-1.4-4-2.7-5.6-7.5-11-15.1-15.8-23.2a332.2 332.2 0 0 1-28.5-65.4c-7.1-23.2-13-47.3-15.1-71.6a287.3 287.3 0 0 0-51.6 88.8 169 169 0 0 0-10.6 49.3c0 3.2-3.7 3.1-5.4 1a135.3 135.3 0 0 1-25-36c-12.9-27-17.6-57.3-15-87l-11.6 8.3a134.4 134.4 0 0 0-27.4 28.6c-1.4 1.8-2.2 3.7-4.8 3.3-2.8-1-1.1-4.1-1-6.2 3.1-12.7 8.4-25 14.4-36.5a287 287 0 0 1 59.7-75.3c29-26.3 63.2-48.6 100.5-61.2 4.6-9 9.8-18.2 16-26.2a37.8 37.8 0 0 1 16.6-12.6c6.3-2.1 12.7-2.1 19.2-1Z" fill="#000"/><g fill="${p(`${l.hair}`)}"><path d="M471.5 221c16.5 1.2 33.3 6.2 49.4 10.4 28 7.5 56 14.5 84.6 20 26.7 5.5 54 8 79.4 16.8 10.2 3.5 20.6 7.4 29.8 13 7 4.4 11.2 10.8 15.7 17.4 9.5 15 17.2 31.1 23.2 47.9a565.8 565.8 0 0 1 21.5 79.3c1.5 7.8.6 15.2-.8 23-2.2 12-5.6 23.8-10.3 35.2-9 23-22.5 44-37.7 63.3a270 270 0 0 1-25.6 28.4 155.5 155.5 0 0 1-38.7 26.5 228 228 0 0 0 5.6-95.3 195.3 195.3 0 0 0-41.9-95.7c-1.5-1.9-3.9-1.3-4.9.7-2.9 35.8-1 71.2 10.1 105.6a270.4 270.4 0 0 1-130.5-103.9c-18.7-29-31-61.9-33.9-96.4-.2-2.6-2.4-3.7-4.7-2.6-1.4 1.7-1 3.5-1 5.5 3.2 31.6 13.9 61.9 30 89.2-5 7.2-10 14.4-14.2 22.3a185 185 0 0 0-20.3 68.4c-1.3 10.4-.9 20.6-.5 31a221.1 221.1 0 0 1-24.4-41.5c-14-30-23.5-62-29-94.6a307 307 0 0 1-3.8-41.9 229 229 0 0 1 6.4-51 218 218 0 0 1 23.5-56.5c5-8.1 11-17.9 19.5-22.5 7-4.2 15.8-3 23.5-2Z"/><path d="M413 262.6a216.8 216.8 0 0 0-20.2 90.4c0 5.7.6 11.4.7 17.1a295.5 295.5 0 0 0-47 72.4c-7.5 16.5-13.8 34-17.4 51.7-1 4.7-1.4 9.5-2.3 14.2-25.3-29.1-36.7-69.2-34.6-107.4 0-4.8 1.4-8.7-.2-13-1.4-1.4-3.6-.9-5.1 0-4 2-7.7 5-11.4 7.5-9 6-16.2 13.1-23.7 20.8a174 174 0 0 1 13-27.7c19.6-34.5 48-64.4 79.6-88.2a275.5 275.5 0 0 1 68.6-37.8Z"/></g>`,short05:(a,l)=>`<g fill="#000"><path d="M605 154c5 1.7 10.2 4.2 14.2 7.8 1.6 1.2 1.7 4.3-.4 5-4.5.7-9 .3-13.5 1.7-7.7 2-14 6.3-19 12.4 16-4.2 33.1-2.2 48.6 3.2 16.9 6 33.3 16.3 44.8 30.3 7.1 8.9 12.6 20 11.4 31.6a29 29 0 0 1-5.6 14 186.1 186.1 0 0 1 74.8 76.7c9.7 19.7 15 41.4 15.1 63.3 0 19.4-4.2 38.9-11.7 56.7-.9 1.8-1.5 4-3.8 4-4.8-.2-9-1.7-13.9-1-8 1-15.7 2.1-23.2 5-4.1 1.7-9 2.9-12.6 5.5-4.1 4.5-6.9 10.1-11.3 14.5-1-.8-2.1-1.6-3-2.7-.2-2 1.3-4 2.4-5.6 4-5.4 7.9-11 12-16.3-5.3 2.7-10.2 6.1-15.5 8.6a3.7 3.7 0 0 1-5.5-2.8c-.8-6.2-.2-12.6-.7-18.9-1.5-17.6-.5-34.8 1-52.3-1.6 3-3.1 6-5 8.9-1 2-4 3-5.9 1.7a106 106 0 0 1-27-22c-9.2-10.2-19.2-20.7-24.8-33.2a77.3 77.3 0 0 1-7-33.1c.2-6 .7-11.9 1-17.8-3.4 3.1-7 6-10.4 9.2-1.4 1.3-3 2.8-4.6 3.6-1.7.6-3.5-.3-4.1-2-1.2-3.2-1.6-6.8-2.3-10.1l-13 9.5c-2.7 2-5.5 3.5-8.7 4.3-11 2.4-21.7 2.5-32.8 2.7-10 .6-20 0-30 .5-14.6.4-28.3 1-42.2-4.3.6 2.8 1.5 5.6 1.8 8.5-.2 2.2-2 3-3.8 3.7A126.2 126.2 0 0 1 433 331a81 81 0 0 1-35.5-8.5c-4.8-2.5-8.8-5.8-13-8.9-.3 4.2.9 8.2.7 12.3-1.3 1.6-3.2 1.9-5 .8-2.3-1.7-4.2-4.1-6.1-6.2.1 3 .7 6.4.2 9.5-1 1.6-2.7 2.2-4.4 2.8-4.6 1.4-9.2 2-14 2.5a156 156 0 0 0-20.6 31.8c-1.3 2.5-2.2 5.5-4.1 7.6-1.3.1-2.3 0-3.2-.5-1.7-3-1.6-7-3-10.3-2.6-7.5-4.2-15.2-5.6-23a68.7 68.7 0 0 1 3.3-30.3c2.3-6.8 5.9-13 10.4-18.7 8.6-11 19.2-19.6 30.8-27.1 21.6-14 46.2-23.7 70.9-30.4 32.5-8.5 66.1-12 99.7-10.6-4.5-4.6-8-9.8-9.4-16.1-2.5-9-.2-18.4 4.3-26.4a60.6 60.6 0 0 1 29.4-24.8c14.6-6 31-7.6 46.2-2.7Z"/><path d="M716 470.5c2.7 2.5.5 4.4-1.1 6.4-6 6.5-11.2 13.5-16.5 20.6-1.4 2-3 1-5.1 1.1.1-1.8 0-3.5 1.2-5 5-7 10.5-13.6 16.1-20 1.7-1.6 2.8-3.6 5.5-3Z"/></g><g fill="${p(`${l.hair}`)}"><path d="M608.6 161.7a40.6 40.6 0 0 0-34.8 35.3 51.8 51.8 0 0 0 5.5 30.4 367.3 367.3 0 0 0-31.3-2.7c-3.2.2-5.6-1.9-8-3.7-6-5-10-12-10-20a34 34 0 0 1 8.8-23.1 62.1 62.1 0 0 1 36-20 53.8 53.8 0 0 1 33.8 3.8Z"/><path d="M619.8 186c18.8 3.9 37 13 50.6 26.6 7.2 7.4 13.7 17 15 27.4 1 6.3-1.3 12.1-5 17-16.5-9-34.2-16-52.4-21-13.6-3.3-27.6-5.4-41.5-7.6a45.3 45.3 0 0 1-4.7-39.6c4.4-1.6 8.6-3.2 13.2-3.8 8.4-1.6 16.5-.6 24.8 1ZM534 229.8c11 .2 22 1 33 2 17.4 1.8 34.6 4.8 51.8 7.9 11.4 2.3 22.4 6.2 33.2 10.4 31.6 12.6 60.8 32 82.8 58.2 18 21.6 30.4 47.6 33.8 75.7l1 12c.4 6.3-.5 12.5-.9 19-1.4 13.8-5.2 27-10.4 39.8-9.8-1.8-18.8.3-28.3 2.1-4.5.8-8.8 2.9-13.2 4.3 1.9-2.8 4.2-5.4 5.7-8.5.8-2.2.1-4.2-2.5-4.5-2.4.7-4.4 2-6.4 3.4-6.2 4-12.6 7.5-18.9 11.2-.7-20.2-1.5-40.7 0-60.8.4-6 1.4-12 1.5-18 0-3-3.2-4.3-5.1-2-4.2 5.4-6.8 12-10.3 17.8-4.8-3-9.5-6-14-9.7-6.1-5-11-10.7-16.3-16.6-6.5-7.6-12.8-14.7-17.3-23.7a68.4 68.4 0 0 1-7.6-32.8c.1-7.5-.2-14.6 1.6-22 .2-1.7 1-4.3-1.4-4.8-2-.7-3.8 1.2-5.3 2.3l-14.2 12.3c-.7-2.9-1-6-2.3-8.7-1-2.2-3.8-2.8-5.8-1.7-6.4 4-12.2 9.2-18.8 13-7.6 2.2-16.5 2.5-24.4 3.2-14.7.5-29.3.1-44 .5-10.1 0-21.3 1.1-31-1.8-3.6-.9-6.7-2.6-10-3.8-1.2-.1-3.3 1.2-3.1 2.5 0 3.8 1.2 7.6 1.9 11.4-6.4 1.6-12.4 3.5-18.8 4.6a87.1 87.1 0 0 1-40-2.2 60.8 60.8 0 0 1-22.8-13c-1.8-1.5-3.4-3.3-5.7-1.3-2 2.7-2.1 7.1-2.4 10.4-1.5-1.8-2.8-4-4.6-5.4-1.3-1-3.2-.2-4.8 0a34.3 34.3 0 0 0-.9 14.6c-7.4 2.2-15 3-22.8 3.2-1.7 0-2.3 1.4-3.4 2.4l1.3 2.7 4.4 1c-7 8.6-12.5 17.8-17.7 27.6a91.4 91.4 0 0 1-5.6-36c1.1-10 3.8-20 9.7-28.4 6.6-9.7 15.6-18 25-24.8 17.5-12.7 37.8-22 58.1-29a313.7 313.7 0 0 1 116.2-16Z"/></g>`,short04:(a,l)=>`<g fill="#000"><path d="M546 236.8a220 220 0 0 1 141.8 52.3 189.7 189.7 0 0 1 60.4 97.9c5.5 21.9 6.6 44.4 4.3 66.8-.4 1.8-.5 5.6-3 5.6-4.2.2-8.5 0-12.7 1.2a64.9 64.9 0 0 0-31.2 17c-1 1-2 2.2-3.6 1.8-1.6 0-2.3-2-2.1-3.4.3-3 1.5-6 2.1-9 1.6-6.7 1.9-13.2 2.5-20 .6-6.8-.3-13.3-.9-20-.4-3.8-1.2-7.3-2-11a54.2 54.2 0 0 1-26.5-7c-15.8-9-27.3-25-35.5-40.8-9.8-19-16-40-20.2-60.8a441.8 441.8 0 0 1-91.2 25.9 561.7 561.7 0 0 1-101.2 9 386 386 0 0 1-71.2-6c-2-.4-3.5-1.1-3.6-3.3 1-3.8 4-7.3 6.5-10.3 9-11 19-21 29.9-30.1A242 242 0 0 1 546 236.8Z"/><path d="M718.6 474.6c0 1 .3 2.7-.5 3.5-2.2 2.4-5.1 4.2-7.6 6.4-2.6 2.2-4.8 4.9-7.5 6.9-2.7.5-4-2-2.7-4.1 2.7-3.8 6.7-6.8 10.2-9.8 2.7-2 4.5-4.7 8-3Z"/></g><path d="M520.2 243.8c41.3-4.2 83.5 2.8 120.8 21.2a194.1 194.1 0 0 1 79.2 70.7 181 181 0 0 1 26.4 118 68 68 0 0 0-38.6 14c2.8-16.5 3.5-33.4 0-49.8-.7-2.4-1.2-5.3-2.8-7.1-1.6-1.2-4.3-.8-6.2-1-8 .2-16-2.8-22.9-7a87.5 87.5 0 0 1-27.6-30.3 211 211 0 0 1-22.2-60.5c-.8-3.3-1.1-6.8-2.3-10-.9-1.4-2.4-1.8-4-1.2-3.6 1.3-7.1 3-10.7 4.3a443.8 443.8 0 0 1-82.3 22.5 588.4 588.4 0 0 1-81 8.7c-14.6.2-29.4.4-44-.4-14.3-1-28.4-2.4-42.5-4.8a232.8 232.8 0 0 1 160.7-87.3Z" fill="${p(`${l.hair}`)}"/>`,short03:(a,l)=>`<path d="M530 122.8a69.9 69.9 0 0 1 42.2 26.5c8.8-5.3 18-9.6 27.8-12.2 12-3.5 24.7-4.2 37-2.8 15.4 2 30.6 9 40.1 21.6a47 47 0 0 1 9.3 31.1c6.5.8 12.9 1.4 19.1 3.3a63 63 0 0 1 34.4 22.9 41.8 41.8 0 0 1 7.6 30.9 70.5 70.5 0 0 1 61 9.4c8.3 6 15.1 13.7 19 23.3 4 10 4 21.4-.2 31.2a45.9 45.9 0 0 1-13 17.1 58 58 0 0 1 42.9 24.7c1.1 1.8 1.6 4-.1 5.6-1.7.4-3.5-.9-5-1.4-3.5-1.7-7-1.4-10.7-1.4a54 54 0 0 1 3.5 70.3 44.6 44.6 0 0 1-29.7 16.7c6.8 17.8 1.5 41-14 52.7-1.7 1.3-4 2.7-5.6.2a56.6 56.6 0 0 0-26.3-27.3 30 30 0 0 1-6.4 11.7 37.1 37.1 0 0 1-55.1-3.7c-5-7-6-15.7-3-23.8-6 3.8-11.7 7.6-16.1 13.3-2 2.4-3.6 2.2-6 .6a59 59 0 0 1-24.2-46.3 78.2 78.2 0 0 1 14.4-48.5c-15.4 2-30.2-8-35.3-22.4a48 48 0 0 1-24.6 7.3 52.3 52.3 0 0 1-30.2-9.2 85.3 85.3 0 0 1-28.4-33.1c-2.5 3.2-5 6.4-8 9.4a74.8 74.8 0 0 1-55.4 22.4c-13.3-.4-26-4.7-37-12.2a59.8 59.8 0 0 0 13.4 23c1.2 1.1 2 2.3 1.4 4-1.5 2.2-4.3 3.6-6.6 4.7a76.4 76.4 0 0 1-49.2 5.9 81 81 0 0 1-39.3-20.6c-8.3 12.7-23 18-37.7 17.4a279 279 0 0 0-18.4 49c-1.1 3.8-1.7 7.8-3.1 11.4-.8 1.8-2.7 2.3-4.5 1.6a34.7 34.7 0 0 1-19.7-20.4 51.8 51.8 0 0 1-2-33.4c-11.1.6-21.4-3.6-29.1-11.5a60.7 60.7 0 0 1-15.4-40.8 78 78 0 0 1 13.9-46.3c1.5-1.8 2.6-4 5.4-3.3 1.9 1.2 1.4 3.7 2 5.6.5 4.4 3 8.3 5.2 12 5.4-15.5 18.6-29.3 35.8-30.3-.6-3.2-1.3-6.4-1.2-9.7a55 55 0 0 1 19.3-38.8 41.1 41.1 0 0 1 26-10.4c1.2-14.3 9-27.7 19-37.7a65 65 0 0 1 38.8-18.9c10-1 20.3 1.7 28.5 7.7 23.8-24 60.4-35.5 93.6-28.2ZM718.5 576.5c1.4-.9 2.6-.3 4 0a81 81 0 0 0 16.5 2.3l7.1-.2c2 .9 2 2.5 2 4.4a33.2 33.2 0 0 1-5.3 17.7 27 27 0 0 1-16.8 11.4 25.7 25.7 0 0 1-21.7-5.4c-1.7-1.5-3.2-3.8-1.5-5.9 3.7-5 7.5-10 10.7-15.3 1.8-2.9 2.9-6.3 5-9Z" fill="#000"/><path d="M518.8 126.7a69.8 69.8 0 0 1 44.1 20.4c2.5 2.5 4.3 5.7 6.7 8.2 1.8 1.3 3.4.4 5-.6a90.7 90.7 0 0 1 67.5-13.6 53.2 53.2 0 0 1 28.6 16.2 41 41 0 0 1 10 29.7c0 1.5-.4 3.5.3 4.9 1.1 1.2 2.4 1 4 1.2a69 69 0 0 1 38.7 12.2c9 6.4 16.2 15.6 18 26.7.4 5.5.8 11-1.6 16.2-.9 2.5 1.2 4.3 3.6 3.4a65 65 0 0 1 58.8 4.8c8.5 5.4 15.8 13 19.5 22.5 3.4 8 3.7 17.5.5 25.6a39 39 0 0 1-13 16.9c-2.5 1.9-5.4 3.4-7.7 5.6-1.4 1.6 0 4.5 2.2 4.3 5.4 0 10.6-.7 16 .4 10.8 2 20.2 7.9 27.8 15.7-3.7 0-8.8-.6-11.8 1.6-1.9 1.2-2.5 3.3-1.2 5.1 2.5 3.2 5.6 5.8 7.7 9.4 7.1 10.8 9 23.9 6.8 36.5a44 44 0 0 1-17.8 27.5c-6.4 4.2-13.7 7-21.5 6.1-2.2-.4-2.8 2.6-1.9 4.2A42 42 0 0 1 799 487a70.9 70.9 0 0 0-18.2-21.6c-3.3-2.6-7.2-4-10.7-6.3-1.5-3.8-.4-8.5-4.8-10.4l-2.8 1.3c.1 4 1.8 7.3 1.5 11.1-.3 6.4-4.2 12-9.4 15.5a32 32 0 0 1-39.4-3.6 19.9 19.9 0 0 1-5.8-18.7c.8-3.3 2.7-5.7 4.4-8.5 1-1.2 0-3-.4-4.4-2 .1-4 .2-5.8 1-8.5 3.3-16 9.1-22 15.8a51.6 51.6 0 0 1-19.8-30.3 71.7 71.7 0 0 1 16-61.2c1.3-1.8 2.6-3.3 1.3-5.5-1.5-2-4-.7-5.9 0-9.9 4.6-22.3-.1-29-8.2-3.5-3.9-5-8.5-6.8-13.4-2.2-.2-3.8-.4-5.8 1a42 42 0 0 1-23.5 7 48.2 48.2 0 0 1-29.2-10.4 84.4 84.4 0 0 1-25.7-34l-2.3-1.6c-1.4 1.1-2.7 2.1-3.6 3.7a68.2 68.2 0 0 1-58.2 31.7 59 59 0 0 1-38.6-13.4c-1.2-.9-2.6-2.1-4.3-1.4-2.2 1-2.5 3.8-2 6 1.9 10.2 7.2 20 13.7 28a72.3 72.3 0 0 1-66.7-.3 71 71 0 0 1-34-37 60.3 60.3 0 0 1-2.7-35.8c.4-1.9 1-3.6 0-5.4-1.9-1.1-3.8-1-4.8 1.1-7 22.7.5 47.2 15.9 64.7a32.5 32.5 0 0 1-23.5 15.2c-7.6.8-15.1.5-22.2-2.4-4.5-1.6-8.2-4.3-12.2-6.7-3-1.3-5.5 2.7-2.8 4.7 6 5.1 14 8.3 21.8 10-8.9 18.1-16 37-20.8 56.6-8-3.8-12.4-11.2-15.3-19.3a42.3 42.3 0 0 1-.3-27.3c.7-2.8 2.6-5-.3-7.2-4-.5-7.8 1.3-12 .3A33.5 33.5 0 0 1 258 351a61.6 61.6 0 0 1-7.9-40c1-10.6 4.8-21 10.3-30 1.9 5.3 4.6 11 8.9 14.8 1.4 1.3 3.2 1.3 4.9.4 1.1-2.4 1-5.4 2-8a39.3 39.3 0 0 1 23.3-22.6c4-1.3 7.5-.4 11.5-.5 1.2-.4 1.7-1.9 2.4-2.8-4.9-11.3-2.4-23.2 3.2-33.7a45.2 45.2 0 0 1 26-21.9c3.7-1.2 7.4-.5 11.3-1 2-.7 1.6-2.9 2-4.7 1.2-13.2 7.6-25 16.9-34.2a59.1 59.1 0 0 1 36.2-17.9 35 35 0 0 1 23.4 6.2c-9 11.3-16 23.4-18 38-.2 2.2 1.6 3.5 3.7 3.2 2.3-1.2 2-3.6 2.7-5.8a69.1 69.1 0 0 1 14.8-30 98.3 98.3 0 0 1 83.2-33.8ZM721.5 582c6.8 1.2 13.6 2.2 20.6 2.4-.2 9-5.4 17.6-13.9 21a20.7 20.7 0 0 1-19.8-2.5c4.7-6.9 9.4-13.5 13.1-21Z" fill="${p(`${l.hair}`)}"/>`,long20:(a,l)=>`<path d="M495.4 210.6c6.2 3.2 9 9.8 11.8 15.8 10-2 20.6-3 30.8-4.3 25.4-1.8 50.8-2.7 75.3 5.5 12.2 4 23 10 34.3 15.8 17.6 9.3 36.4 18.3 53.6 28.4a158.6 158.6 0 0 1 41 36 450.4 450.4 0 0 1 43.4 78.7c16.7 39 28.4 80.3 33.4 122.4 2.2 18.3 3 36.7 2.2 55.1-1.6 26-6 52.1-17.5 75.8a97.7 97.7 0 0 1-35.4 41.5c-4.2 2.5-8.6 5.2-13.3 6.4-2.3-.8-2.7-2.3-1.7-4.4 2.2-3.8 5-7.2 6.7-11.2 5.4-11.7 9-24.5 11.6-37.1 2.5-11.9 3.8-23.9 2.7-36a254.3 254.3 0 0 1-17 31.4 254 254 0 0 1-48.6 55.4A260.8 260.8 0 0 1 653 724c-3.8 1.8-7.8 3.6-12 4.4-1.7.1-2.6-.7-2.7-2.5 2.2-3.5 6-5.8 8.6-9a88.5 88.5 0 0 0 19.6-38.1c3.5-17.2.5-35-6.3-51-7.3-17-18.4-32.6-30.9-46.2 0 5.1 0 10.3.6 15.4 1 11 1.4 21.5 6.6 31.4 1 1.6 1 4.5-1.5 4.2-8.6-.5-17.2-1-25.8-2.2A150 150 0 0 1 556 609a263.6 263.6 0 0 1-55.7-45.3 261.4 261.4 0 0 1-55.9-105.2c-6-22.7-10.3-46-11.8-69.5-.9-7-.8-14-1-21a309 309 0 0 1 4.5-56 335.9 335.9 0 0 0-54.5 40.6 428.5 428.5 0 0 0-65.8 74.2c-2.1 2.7-2.8 5.9-3.2 9.2a217.2 217.2 0 0 0 109 224.3c3.3 2 7 3.2 9.8 5.6.7 2.4-.7 3.8-1.8 5.7-8.6 12.5-15.6 27-18 42-1 3.2-4.8 2.1-7 1.5a153 153 0 0 1-39.6-19 106.6 106.6 0 0 1-21.4-21.2 277 277 0 0 1-48.4 44.4c-1.6 1.1-3.3 1.4-5.2 1.9-1-2.5-1.1-3.7-.2-6.2 3.5-9.2 3.9-18.3 4.7-28 1.1-26.4 0-52.6-2-79-3-37-7.4-74.3-14.8-110.8a531 531 0 0 1-8-37.7c-1.2-8-1-15.4.3-23.4 3.7-20 12-39 21-57.2 7-15.1 14.6-29.9 22-44.8 10.1-19 19.8-37 33.5-53.6A65.8 65.8 0 0 1 365 264c6-3.2 12.3-4.4 19-5.9 16-3.4 32-8.2 47.8-12.4 9.2-2.4 18.5-4.5 27.7-6.8 4.5-8.8 10-18.3 17.5-24.9 5-4.2 12.2-6.7 18.3-3.5Z" fill="#000"/><g fill="${p(`${l.hair}`)}"><path d="M489 214.9c3.5-.3 6.4 2 8.3 4.7 5.3 7.5 7.2 15.7 10.2 23.9 1.1 2.5 3 1.3 5 .9-.4-4.4-1.8-8.5-3.3-12.6 18-3.1 36.5-5.2 54.8-5 14-.3 28.4.7 41.8 4.6 9.7 2.6 18.8 6.6 27.6 11.2 12 6 23.7 12.4 35.7 18.4 13.9 7.3 28.5 14.5 41.2 23.7 10.3 7.9 21 17 28 27.9a441 441 0 0 1 44.6 82.6c18 44.1 30.3 92 32.5 139.8 1 14.1.2 28-1 42a184 184 0 0 1-15.6 59.8 92.6 92.6 0 0 1-34.7 40.4c7.1-15 11.3-30.9 14.3-47.2 2.3-13 2-26 .4-39-.6-3.8.6-7-2.8-9.7-1 .9-2.4 1.6-2.9 2.8-1.4 4-2.2 8.2-4 12-3.8 9.2-8.6 17.9-13.6 26.4a252.7 252.7 0 0 1-56.8 64.2 269.6 269.6 0 0 1-44.5 30.6 88.2 88.2 0 0 0 19.5-51.3c.6-18-5-36.2-13.7-51.9a180.5 180.5 0 0 0-28.4-37.7c-1.2-1.1-2.3-2.4-3.7-3.3-2.3-.2-3.4.6-3.8 2.9a114 114 0 0 0 0 19.5c1 10.6 1.8 20.5 5.3 30.6a129 129 0 0 1-22.9-2c-19.2-4-38-13.6-54.2-24.3a250.4 250.4 0 0 1-50.7-43.4 229.6 229.6 0 0 1-31.2-46.8 301.6 301.6 0 0 1-29.2-94.6c-2-12.6-3-25.3-3.5-38-.8-12 0-24 .6-36a275 275 0 0 1 25-96.5c4-8 8.5-16.2 14.4-22.8 3-3.4 6.6-6.4 11.3-6.8Z"/><path d="M456.6 245.2c-8.6 19-15 39-19 59.5a308 308 0 0 0-49.4 34.5c-23.4 19.9-45 42-63.9 66.1a246.4 246.4 0 0 0-31.5 50.5c-2 4.9-4.2 10-5 15.2.4 2.8 4.1 3.4 5.2 1 1.2-2.6 1.8-5.5 2.8-8.2 2.7-7.3 6.2-14.3 10-21a223 223 0 0 0 118.8 225.7 127.7 127.7 0 0 0-18 41.3c-16.6-6-34.6-13.5-47.6-25.8-4.7-4.5-9.2-9-12.5-14.6-1.3-2-4-2.5-5.6-.4a291.1 291.1 0 0 1-43.5 42c2-9.9 2.8-20 2.9-30 .6-10.7.6-21.3 0-32a899.8 899.8 0 0 0-18.5-160c-2.1-7.8-3.5-15.6-5.1-23.5-1.6-8.2-3-16.1-1.6-24.5 3.8-26.3 16.1-49 27.2-72.5l17.5-34.8c9.7-17.9 19-35 32.2-50.7a58 58 0 0 1 16.1-14c5.2-2.6 10.5-3.6 16-4.9 16.6-3.5 32.9-8.3 49-12.8 7.8-2.1 15.6-4 23.5-6Z"/></g>`,short02:(a,l)=>`<path d="M728 185c7.8-.4 15.9 1.2 22.5 5.5 5.4 3.5 9.8 8.9 12 15 .4 1.8.7 4-1.5 4.7-4.2.5-8.7-1-13-.6-12.5 1-24.5 6-33.1 15.3a64.8 64.8 0 0 0-16.5 34 33.2 33.2 0 0 0 4.3 23.2c11.5 7.7 22.5 15.4 33.8 23.3a124.9 124.9 0 0 1 38.7 42.4c7.6 14 12.4 29.7 15.6 45.2 4.2 20 5.8 40.5 6 61-.5 6.5-.4 13.1-1.4 19.5-1.4 2.4-5.9 3.7-8.4 4-2.7-.9-4.7-3.9-7-5.5a53 53 0 0 0-60.5-4.5c-4 2.4-5.7 6.4-9.4 9.1-4.9-3-7.4-7.7-11.6-12.1-6.5-7.6-14.2-14-21.5-20.8a71 71 0 0 1-14.7 14.6c-3.6 2.7-7.8 5-12.3 5.9-2.2-.5-2.8-2-2-4a86.3 86.3 0 0 0 8-46.7 78.2 78.2 0 0 0-10.7-32.3c-.5 5.1-1.3 10-3.3 14.8-4.2 10.6-11 21-20.2 27.9-2.4 1.7-5.7 3.8-8.8 3.3-2.6-1.8-3-5.3-4.1-8.2-5.7-17-14.5-32.4-21.2-49.1A140.1 140.1 0 0 0 590 417c.2 1.4-.4 2.7-2 2.5-11 .8-22 1-32.8-.3-2-.2-3.8-1-5.6-2-10.6-4.7-18.6-15.6-24.8-25.1a165 165 0 0 1-17-39c-.5 18.8 1.7 37.3 7.8 55 1.9 5.1 4 10.5 7.4 14.8.8 1.2 2 2.5 2.2 4-.5 2-2.4 3.3-4.4 3.4a631 631 0 0 1-28.8 1.8c-13.2.2-25.6.7-38.6-2.6-2.3-.7-4.4-1.2-6-3a72 72 0 0 1-13.4-22.7c-8-20.5-11-42.9-8.4-64.8-8.3 21-14.2 44.3-11.2 67 .3 3.8 2 7.1 2.7 10.8-1.3 2.7-4 3-6 1a113.6 113.6 0 0 1-31.5-52.1c-3.8 6.4-6.9 13.2-9.7 20.1-3 8.2-5.8 16.3-5.9 25.2 0 2.8-2.6 3.4-5 3.4a94.2 94.2 0 0 1-40-8.1c-.9 4-1.7 7.9-2.8 11.7-2.4 8.8-3.4 18-5 26.9-.6 3.9-.1 8-1.2 11.9-.7 2.8-4.9 2.3-6.3.4a63.4 63.4 0 0 1-15-45.3c.3-9.8 1.5-19.8 4.2-29.2a73.5 73.5 0 0 1-9.5-36.8 83.9 83.9 0 0 1 12.6-45 155 155 0 0 1 46-45.9c-16.4 7.3-31.4 16-44.3 28.6-2 2-3.5 4.5-5.3 6.7-2 1.3-4.1 0-4.3-2.4-.7-7-.4-14 .4-21a69 69 0 0 1 22-40.4 84.4 84.4 0 0 1 36-20.1c16.7-4.6 34.2-6.8 51.5-7.4 32.7-1.3 64.1 3.2 96 9.9 5.1.7 11 3.2 16 1 10.2-3.8 21.1-6.2 32-7.4a170.6 170.6 0 0 1 130.7 43.9 40.5 40.5 0 0 1 2.2-22.6 62.4 62.4 0 0 1 53-39ZM720 576.5c3.9-.2 8.1 1.6 12 2.5 2.5.3 3.1 3.8 1.4 5.4a58 58 0 0 1-15.6 10.4c-2.8 1.4-5.4.9-8.4.7-1.1-4.5 3.2-7.2 5-11 1.8-2.4 3-6.6 5.5-8Z" fill="#000"/><path d="M740.8 192.3c6.5 2 11.4 6.1 14.9 12-9.9-1.3-20.3.9-29.2 5-15 7.1-26 22-31 37.5a50 50 0 0 0-2 26.4c1.2 5.4 3.4 11.9 8.5 14.9 7.6 5 14.9 10.4 22.4 15.6a150.5 150.5 0 0 1 38.1 34.8c16 21.6 22.6 50.3 26.1 76.5 1.9 15 2.7 30 2.2 45.2-.1 4-.3 8-1.6 12-4.2-3.4-8-7-12.7-9.7a59.6 59.6 0 0 0-55-3 48.3 48.3 0 0 0-11.6 9.6c-4.9-5.8-9.8-11.5-15.3-16.7-4.7-4.5-9.9-8.3-14.4-13 2.7-4.7 5-10 6-15.4.3-2.2.6-5.3-1-7.1-1.2-1-2.4-1-3.7-.5-1.2 2.3-.5 5.3-1.2 7.8-2.9 13.2-13.4 24.6-24.3 32 3.6-10.6 6.4-21 6.4-32.2a84.4 84.4 0 0 0-18.6-54c-1.7-1-4.1-.3-4.1 2a55.2 55.2 0 0 1-23.8 49.5c-6.4-20.2-17.1-38.2-24.4-58-.9-1.9-1.9-5.2-4.5-5-2.7-.2-3.4 2.3-4 4.4-2.2 10.4-2 20.3-1.7 30.9.6 6.8 1 13.8 2.7 20.5-9.1.7-18 1-27-.2-5.5-1.8-11-5-15-9.1a99.3 99.3 0 0 1-18.5-27.5 108.1 108.1 0 0 1-11.5-33.7c-1-4.6-.5-9.5-1.8-14-.7-2.6-4.5-2.5-5.2 0-1.8 7.9-2.3 16.1-3 24.2-.4 14.7 1.1 29.8 4.8 44a95 95 0 0 0 10.8 26.9c-8.2.9-16.4.8-24.6 1.7-13.2.4-28 1-40.7-2.8-2.2-3-4.4-5.7-6.4-8.8a121.4 121.4 0 0 1-11.8-89c.6-2.9 2.5-5.6 0-8.1-2.4-.7-3 .1-4.4 1.9-5.6 8.3-9.8 17.5-13.1 27a127.1 127.1 0 0 0-7.3 61.2c-10.3-11.3-18-25-22.8-39.5a93.6 93.6 0 0 1-4.2-47.5c0-1.7.8-3.2-1-4.3-1.8-1.5-4 0-4.4 2a95.5 95.5 0 0 0 .6 39.2c-5 7.9-9 16.6-12.5 25.2-3 8.2-5.7 17-6.2 25.8-12.2-.3-24.5-2-35.7-7a61.6 61.6 0 0 1-23.4-19.5 69.3 69.3 0 0 1-10.1-46.4c2-15.5 8.7-29.8 18.3-42 14.9-19.3 33.7-32.2 54-45.1 1.9-1.2 4.5-2.2 5.9-4 .6-2.6-.8-3.1-2.5-4.3-26.7 8-52 19.8-71.8 39.8-.3-11.8 2-23.6 8.3-33.8a76.3 76.3 0 0 1 41.7-33.1c17.1-5.6 35.5-7.8 53.5-8.6 31.6-1.4 62 2.8 93 8.8 6 1 12 2.6 18 2.7 2.7-.5 5.3-1.6 8-2.5 23.6-7.6 48.7-8.2 73-3.4 30.1 6 58.4 20.7 81.1 41.4 2.5 2.3 4.9 4.8 7.8 6.6 1.2-.6 2.5-1.2 3.5-2 1-2.7-1.7-5.8-2.3-8.5-2.6-8.4-1-17.7 2.6-25.5a57.8 57.8 0 0 1 29.8-28 42.2 42.2 0 0 1 29.3-2.2ZM296.9 388.4a76 76 0 0 0 17.1 15c-1 7.8-3.8 15-5.2 22.6-1.5 7.9-2.8 15.8-3.8 23.7a56 56 0 0 1-9-20.5 98 98 0 0 1 .2-37.4l.7-3.4ZM722.3 582.1l4.4.8a48 48 0 0 1-8.3 5.6c1.2-2.1 2.4-4.5 3.9-6.4Z" fill="${p(`${l.hair}`)}"/>`,short01:(a,l)=>`<path d="M375.5 193.4c2.3.9 2.5 2.9 3.2 4.9A48.1 48.1 0 0 0 388 215a47 47 0 0 0 16.4 13.6c8 3.5 17.1 5.3 25.6 7.1a372 372 0 0 0 43 5.6c15.3 1.6 30.6 1.4 46 2.4 20.3 0 40.7.6 61-.7 8 0 16-.2 24-1a180.2 180.2 0 0 1 60.5 5.7c7.7 2.8 15.5 5.3 22.8 9a194 194 0 0 1 65.2 46.8c21.4 23.4 37 52.4 43 83.7A137 137 0 0 1 792 453c-2 7.4-4.7 14.4-9 20.6-4.3-3.2-8-6.6-13.1-8.6a52.6 52.6 0 0 0-39-3c-2.9.5-3.5 2.9-5 5a167.9 167.9 0 0 1-35.8 41.2c-9 7.2-18.6 13.8-28.4 19.7l-3-.8c-.2-3.1 0-6 .7-9 1.4-7.4 1.5-14.7 1.6-22.1-.1-10.4-.3-20.7-1.6-31-1.3-11.3-3.2-22.6-5-33.8-7-.7-14-.5-21-1.6a216.9 216.9 0 0 1-100-40.9 39.5 39.5 0 0 0 8.8 21c2.1 2.4 1.8 6-1 7.6-12.2 6.9-27.1 10-41 11.1a170.4 170.4 0 0 1-67.8-9c-17.9-6.3-35-15.5-47.2-30.4a54 54 0 0 0 4.4 24.3c1.3 2.3.4 5.2-2 6.4a49.5 49.5 0 0 1-31.5 4 72.5 72.5 0 0 1-36-20c-2.4 7.4-3.8 15-5.9 22.4-1.7 6.8-2.4 13.9-3.6 20.8-1.7 2.2-4.4-.5-5.6-2A60.6 60.6 0 0 1 295 411a71.1 71.1 0 0 1 8-33 70.9 70.9 0 0 1-4.8-41.6c-8.7 4.5-17.9 10-23.4 18.3-1.5 1.9-2.1 5-4.8 5.1-1.7-.5-3.1-1.1-4-2.8a58 58 0 0 1-6.8-35.2c1.5-14.3 7.7-28 16.1-39.4 12.3-16.6 30-29.3 49.7-35.5a77 77 0 0 1 37.8-2.9 44 44 0 0 1 6.1-47c1.7-1.7 4-4.7 6.6-3.6ZM718.5 576.5c2-1 5 .6 7 .9 5 1.4 11.3.4 15.8 3-.7 4-1.4 7.7 0 11.6 1.5 4.8 4.4 9.2 8 12.7 2.3 2.2 5.2 3.4 7.6 5.5.7 1.8.2 3.6-1.9 4-4.1.6-8.7-.7-12.8-1.4-9.9-2.2-21-4-29.8-9-2.2-1.4-5.7-3.2-6.2-6-.5-1.6.6-2.8 1.5-4.1 4.2-5.2 7-11.7 10.8-17.2Z" fill="#000"/><g fill="${p(`${l.hair}`)}"><path d="M373.7 200.6A65.2 65.2 0 0 0 394 229a60.7 60.7 0 0 0 25 10.3c32.1 7.5 66.1 9.2 99 10 26 .2 52 .4 78-1 24.5-2.2 49-.5 72.5 7.4 35 11.4 66.5 33.7 89 62.8 17.8 22.9 30 49.6 33.6 78.5 3 23 0 46.6-9.7 67.7A78 78 0 0 0 763 456a59.9 59.9 0 0 0-30.7 0c.2-1.8 1-4 0-5.5-.9-1.5-3.6-1.3-4 .6a56.3 56.3 0 0 1-4.7 9.4 171.7 171.7 0 0 1-35.4 41.6c-7.3 6.3-15.2 11.4-23 16.8 2.3-14.1 2.3-28.8 1-43-1-17.4-4.3-34.9-7.5-52-1-4.6-1.5-9.8-3.6-14-1.2-2.3-5-2-4.7 1 1 4.8 2.4 9.4 3 14.2-40.5-.6-80-15.5-113-38.7-2.7-2-5.4-4.1-8.3-6-2 .9-4.3.8-4.4 3.5a46.1 46.1 0 0 0 10 28.7c-19.3 9.8-40.4 11.2-61.7 9.9-22-1.8-44.5-7.7-63.9-18.8a72 72 0 0 1-23.5-20.4c-1.3-1.8-2.3-3.4-4.6-3.9-1.5-.4-2.8.6-3.2 2a59 59 0 0 0 3.7 33.5c-12.8 6-27 4.7-39.6-1a74.5 74.5 0 0 1-37.7-41.2 62.6 62.6 0 0 1-2.8-36.8c.4-2.1 1-4-.8-5.6-2.3-2.1-5.1-.4-7.5.7-7.1 3.8-14.5 8-20.2 13.8-2.2 2.2-4 4.7-6 7A54 54 0 0 1 265 321c2-13.2 7.5-25.6 15.7-36.2a95.4 95.4 0 0 1 39-29.9c13-5.3 27.2-7.5 41.2-5.5 2.3.3 4.8 1.2 7.1 1 2-1.4 4-3.2 2.1-5.7a33 33 0 0 1-5.6-22.7c.6-7.6 3.5-16 9-21.4Z"/><path d="M306.2 385c3 4.7 6 9.4 9.5 13.8-1.4 6.8-3.8 13.3-5.1 20.2-1.2 5.7-3 11.4-4.2 17.1a64 64 0 0 1-.2-51.2ZM721.3 582c4.5 1 9.1 1.5 13.7 2.2-1 9.4 3.6 17 9.6 23.6-10.5-2.6-23.3-4.5-32.2-10.9 3.3-4.8 6-9.8 8.9-14.9Z"/></g>`,long19:(a,l)=>`<path d="M754.9 186.1a94.7 94.7 0 0 1 29 52c5.3 43 5.3 86 11.8 128.9 4.5 31.8 10.7 66.1 25.5 94.9 10.3 20.5 21.8 40.5 31.8 61.1 8.6 17.7 14 37.3 14.8 57 .9 11.5.4 23.5-.6 34.9-2.2 18-7.9 36.3-17.5 51.8-7.5 12.2-19 21.4-30.6 29.5-1.3.8-2.5 2.8-4.1 2.6-2 0-3-2-2.5-3.8a95 95 0 0 0 6.5-69.1c-.3-1-.4-2.1-1.4-2.7-4.6 25.3-15 49.9-31.4 69.9-13.2 16-30 28.9-50.2 34.6a73.7 73.7 0 0 1-47-1.7c-1.6-1.7-4.5-3.3-3.3-6a68.1 68.1 0 0 0 16.8-32c-1.8.6-3.3 1.7-5 2.4a67.7 67.7 0 0 1-29.5 5.9c-9 0-19.3-2-26.3-8-1.8-1.6-4-3.2-3.3-5.9a69 69 0 0 0 12.8-32.3c.7-.9 1.9-1.4 2.8-2.1 26-18.2 47.3-42.2 63.5-69.5 1-2.3 3.4-2.8 5.6-2a55.2 55.2 0 0 0 41.4-4 64.8 64.8 0 0 0 34.3-65.5 55 55 0 0 0-19.8-36 50.2 50.2 0 0 0-55-6 123 123 0 0 1-4.6 32.1 123.4 123.4 0 0 1-35 58.3c-1.3 1-2.7 2.6-4.4 3.1-1.3.1-3.5-.9-3.5-2.5-.3-1.9 1.7-3.3 2.7-4.8a76.6 76.6 0 0 0 10-21.2c4.3-14 6-29.3 6.1-44-.3-26-5-52.4-16-76.1-.6-1.8-1.8-3.8-1-5.8 2-5 3-10.3 3.2-15.7-4.3 2.8-9 5.2-13.4 7.7-2.2 1.2-5.4 2.1-7.3 0-1.1-3.4-1-7.5-.7-11 .3-6.2.5-12.1 0-18.2-6.9 3.7-13.3 7.5-20.6 10.4-2.5 1-5.3 0-7.7-.9a83.6 83.6 0 0 1-29.2-23c-4.7-5.3-9-10.6-11.8-17.3-2.6-6-3.6-12.1-3.7-18.6-13.7 7.3-31 6.1-46.1 6.2-16 .3-32.2-.8-48 1.1-1.8.2-4.8-.8-4.9-2.9-.5-2.8 1.8-4.6 3.5-6.5-13.2 3.6-26.2 8.7-39 13-3.6.9-7 2.6-10.4.4-3.5-2.5-2.6-6.2-2.3-10-3 0-6 1.4-8.8 2.3a721.5 721.5 0 0 1-41 14.3c-9.5 2.9-19 5-29.1 4.8-4.8-.2-9.6.9-14 3a62.4 62.4 0 0 1-44.1-15 40.6 40.6 0 0 1-13-24.2 46 46 0 0 1 2-20 69.7 69.7 0 0 1 34.4-37.7c1.6-.8 3.9-2.4 5.7-1.4 1.7 1 2 3.4 1 5a49.6 49.6 0 0 0-5.8 57.9c4.4 7.3 10.9 14.2 19.5 16 2.6-15 10.8-29 20.5-40.6a205.6 205.6 0 0 1 49.4-41.6 297.1 297.1 0 0 1 114.9-41.3 176 176 0 0 1 66.5 2.6c17-22 42.5-37.2 70-41.6 30.7-5.4 63.9 3.6 86.9 24.8Z" fill="#000"/><g fill="${p(`${l.hair}`)}"><path d="M681 165.9c28-1.7 56.2 9.2 75.2 29.9a88.5 88.5 0 0 1 21.6 42.3c.6 7 2 13.8 2.2 20.8 1.3 9.7 1.5 19.4 2.5 29.1 1.2 22.6 3.1 45.5 5.7 68 4 29 8 57.1 17.6 85 5.8 16.7 14.1 31.4 22.3 46.9 7.8 14.9 16.1 29.7 22.9 45.1 11.9 27.4 13.5 58.6 9.4 87.9a112.7 112.7 0 0 1-22.5 52c-4.5 5-9.7 9.9-15.2 13.7 4.3-12.3 6.3-25.6 5.7-38.6-.3-12.7-3.2-26-9.2-37.2-1.2-2.3-5.1-2-5.7.7-3.7 30-15.6 60.3-36.2 82.8a90 90 0 0 1-52.4 29.8 66.1 66.1 0 0 1-32.2-3c8.3-10.9 15.8-25.2 15.7-39.1.2-2.8-3.4-3.3-5.1-1.8a53.9 53.9 0 0 1-19.3 8.6 52.6 52.6 0 0 1-34.5-2.3c-1.2-.8-3.7-1.9-4.2-3.2a84.7 84.7 0 0 0 11.5-29.8c1.5-2 4.1-3 6-4.7a226.1 226.1 0 0 0 59-66.2c4.7.4 9.3 1.8 14.2 1.9a66 66 0 0 0 55-27.5 72.5 72.5 0 0 0 14.1-39 62.6 62.6 0 0 0-20.9-50 55 55 0 0 0 6.6-19c3.1-19.7.1-40.7-4.4-60a214.8 214.8 0 0 0-21-53.1c-3.6-15.1-8.4-29.8-15.8-43.5a138 138 0 0 0-55.4-56.6c-1.2-.7-2.5-.9-3.9-1.1a58.9 58.9 0 0 0-44.3-24.4c-5-.8-9.9 0-14.9 0-3.3-2.4-7-3.2-11-3.4-6.1-.5-11 1.8-16.6-1.5A104.6 104.6 0 0 1 681 166Z"/><path d="M594 208c1 .4 2.3.3 2.9 1.4-2.4.6-4.8 1.4-7 2.3a320.2 320.2 0 0 0-75.1 33.9c-8.2 5-16.1 10.6-23.5 16.7-1.5 1.3-1.6 3.3-.5 5 1.5.8 2.8.8 4.1-.4a254.2 254.2 0 0 1 46.6-29.4 268.6 268.6 0 0 1 61.6-23c6.4-1 13.5-2.5 20-1.3 2.2.4 4.2 1.7 6.4 2.4 3 1.2 6.2.2 9.5.2 4.3.1 8.8.3 13 1.2 12.5 2.2 24 9 32 19a91.5 91.5 0 0 1 17.3 44.1c1 7.6 1.8 15.2 1.6 22.9 0 2.2 0 5.7 3 5.5 2.2 0 3-1.6 3-3.5 0-21.1-3-41.8-12.4-61a127.4 127.4 0 0 1 36.4 33 156 156 0 0 1 27.8 66c4.7 25.5 4.3 52.4 1 78-.5 3.3-1.3 6.8-1.1 10.1 1.3 3 5.2 2.2 5.5-1 1.7-8.8 2.7-18 3.2-27.1 1.6-16.3.9-32.1-.8-48.3.3 2 1.4 3.6 2.2 5.4A202.3 202.3 0 0 1 786 428c.3 11.7-.6 25.3-6.3 35.8a57 57 0 0 0-56-5.3c-.6-1.6-.5-4.2-2.8-4.4-1.7-.3-3.4 1-3.3 2.9.3 6.6.5 13.4-.2 20a130.9 130.9 0 0 1-22.6 58l-1 .5c.2-2 .8-3.7 1.4-5.5 5-16.8 6.3-34.2 5.8-51.6-1.2-24.9-6.5-50.5-17.4-73.1 2.4-6 3-12 3.8-18.3.1-2 .5-4.1 0-6.1-1.2-2.4-4.1-1.8-5.7-.1-3.2 3-7 5.1-10.9 7-1.6.8-3.2 2.2-5 2.2 0-3.6.4-7.3.2-11 0-5.9.5-12.4-1-18-2.5-2.2-5-1-7.2.9-6.2 3.5-12.5 6.8-19 9.6-1.8.8-3.4.2-5-.4a78.2 78.2 0 0 1-24.8-19.2 64.7 64.7 0 0 1-13.4-19.4 39.7 39.7 0 0 1 2-33c1-1.6.5-4.1-1.7-4.4-2.7-.6-4 3-5 4.9-2 4.5-4 10.9-8.4 13.6-9.6 4-19.4 4.3-29.6 4.2h-48c-2.6.1-5.1.6-7.8.8 2-3 5.3-5 3.1-8.9-3.2-2-6.4-.7-9.8-.1-13.2 3.5-26 8.6-39 13-2 .6-4 1.4-6 1 .1-2.8 1.4-6.8-1-9-2-2.3-4.8-2-7.5-1.5-7 1.8-13.2 4.6-20 7-12.9 4.5-25.9 9.3-39.2 12.5-7.5 1.7-15.1 1.9-22.8 2-3.7 0-6.3 2.6-10 2.3a54 54 0 0 1-26-5c-9.7-4.3-17.9-11.9-21.6-22a37 37 0 0 1 1.2-27 62.3 62.3 0 0 1 22-26.4c-1.6 4-3.3 7.8-4.3 12-4.5 19 .4 40.8 15.1 54.1 5.2 3.6 10 7 16.6 7.1 2.3 0 3.8-1.3 4.2-3.5 3.4-20.6 18-39.2 32.8-53.2 26.2-24.4 59.4-42.1 93-53.9 13.1-4.4 26.4-8 40-10.7 24.7-4.5 51.4-6.2 76-.4Z"/></g>`,long18:(a,l)=>`<path d="M565.5 177.7c23.4 3.4 48.3 10.3 67.8 24a66.4 66.4 0 0 1 27.4 37.7c19.2 5 37.7 12.8 54.6 23.3a231.4 231.4 0 0 1 85.5 94c3.6-5.7 6.9-11.3 11.6-16.3a30 30 0 0 1 15.7-10.1c12.2-2 24.8.7 35 7.5 5.7 4 11.8 9.5 13.6 16.4a41.3 41.3 0 0 1-1.2 23c-2 5.4-6 8.7-10.5 11.8a173.6 173.6 0 0 1-31.1 15.4c9.8-1.5 20.2-2.5 30.1-1.4 5 .4 9.6 2.5 13.7 5.2a59 59 0 0 1 17.7 20.4c3.2 6.5 1.6 13-1.7 19a69.9 69.9 0 0 1-17.5 21.7c-4.6 3.4-10.8 3.2-16.2 2.6a60.6 60.6 0 0 1-28-14c6 7.5 13.6 16 14 26.1.2 8.8-2.8 18-5.9 26.2-2 5-4.8 11-10.5 12.3a47.5 47.5 0 0 1-23-.8 25.4 25.4 0 0 0-3.2 8 71.6 71.6 0 0 1-27.8 42.8 61.9 61.9 0 0 0 2.3 34.6 37.6 37.6 0 0 0 13.8 18.1c1.3 1 3.5 2 3.9 3.8.4 2.8-2.7 3.9-4.6 5a74 74 0 0 1-54.8 2.7c-15-5-29.3-15.2-35.9-30-.8-2 .3-3.3 1.5-4.9a113 113 0 0 0 14.2-21.7c-3.7-2-8.2-3.9-11.3-7-1.3-2.1.7-5 3.2-4 4 2 7.5 4.6 11.7 6.3 15.8 6 33.7 4 48-4.7a65.5 65.5 0 0 0 31-46.7c1.2-9.8.8-19.6-2.7-29a52.9 52.9 0 0 0-26-29.8c-2.3-1-4.6-2.8-7-1.3-9.3 4.8-18.9 8.7-28.5 12.8a96 96 0 0 1-20.1 57.5c-6.8 8.4-15.8 17-26.8 19.3-3.7.9-9 1.2-12.1-1.3-1.5-4 3.9-4.6 5.8-7 5.6-6.6 6.6-17 7.5-25.2.9-17.3-1.6-34.9-5-51.8-.5-2-.8-4.3-1.7-6.3-3.4-1.9-7.2-3.2-10.5-5.4-15-9.1-27.1-23.9-36.3-38.8a287.3 287.3 0 0 1-29.4-69.6c-5-17.2-8.7-34.6-12-52a172 172 0 0 0-45.3-13.3c-7.3-.8-15-1.5-22.3-.3-2 .3-3.5 1.4-5.3 2.4 1 1.4 1.9 2.9 3 4.1 3 3.2 7.2 4.4 9.9 8-1.5 1.8-1.9 3.5-4.6 2.7-17.8-5.5-36.4-9-55-9.8-8.6-.8-17.1-.9-25.7 0-19.6 1-39.2 4.9-57.5 12a28.6 28.6 0 0 0-9.6 6.5 216.5 216.5 0 0 0-39.9 48 183.1 183.1 0 0 0-20 44 214.8 214.8 0 0 0-9.6 98.6 218.1 218.1 0 0 0 106 159.1c2.4 1.6 5.5 2.7 7.5 4.8a32.9 32.9 0 0 1-15 30.4 47.6 47.6 0 0 1-50 .7 65.8 65.8 0 0 1-13.5 36 59.6 59.6 0 0 1-30.8 22.2c-2 .4-4.1 1.2-5.8-.5-2.1-1.7-1-4.4-1-6.7a29.6 29.6 0 0 0-10.4-24.7 53.6 53.6 0 0 1-39 23.2 72 72 0 0 1-50.6-11.7c-10-7-17.7-17-20.2-29-.6-2.5.3-5 1.8-7 4.4-.5 8.4.3 12.8-1.1a37.8 37.8 0 0 0 21-18 67.3 67.3 0 0 0 7.3-46.3 123 123 0 0 1-59.1-30.3 109.4 109.4 0 0 1-30-112.1c7.7-26 24.2-49 45.8-65.2a53.3 53.3 0 0 1 4.5-44.6 94.5 94.5 0 0 1 45-41.8c11-4.8 23-7 34.8-5a63.2 63.2 0 0 1 1.8-31.6 115.4 115.4 0 0 1 33.6-48.5c19-17.4 41.6-31 65-42 25-11.6 51.4-20.1 78.4-26 37-7.9 76-10.6 113.7-5.6Z" fill="#000"/><path fill-rule="evenodd" clip-rule="evenodd" d="M772.2 338.8c-4.5-4.3-11-6.5-17.2-7a96.3 96.3 0 0 0-25.6 1.9c-3.4.7-7.2 1.4-8.7 5-1.4 4-2 8.3-2.6 12.5l-.6 3.8a40.5 40.5 0 0 0 1.5 20c1.2 3.3 3.6 5.7 6.5 7.5 4 2.6 8.3 5 12.5 7.3l3.4 1.8 8 4.8c4.7 3 9.5 6 14.8 8.4 2.2.8 2.4 4.9-.2 5-7.2 1.6-14.3 3-21.5 4.3l-4 .7a103 103 0 0 0-28.4 10.4c-5 3-6.8 8.3-8.5 13.6-1.6 6.2-3.2 12.7-3.7 19.2-.1 3.2-.2 6.4 2.2 8.9a30.3 30.3 0 0 0 16.9 9.3c4.6.6 9.2-1.7 13.5-3.9l5.3-2.5c11.7-4.5 23.3-9.7 34.3-15.8 1.5-.6 3.3-.8 4 1 .3 1.3 0 2.7-.2 4l-.2 1.5c12.6 7 22.3 18 27.3 31.5 2.9 7.3 3.8 15 4.3 22.7a35.9 35.9 0 0 0 21.7 2.4c3.7-.6 5.1-3.5 6.6-6.5 2.5-5.6 4.3-11.5 5.7-17.4a24 24 0 0 0-1.1-16.6 83 83 0 0 0-13-17.7c-5-5.4-9.8-11-14.2-16.9-1-1.1-1.5-3.2-.3-4.4a3.3 3.3 0 0 1 5-.3c7.5 6.9 15.7 13 23.8 19.1a49.6 49.6 0 0 0 21.5 9.9c4.1.6 8.7.6 12.2-2 5.8-4.4 10.2-11 14-17.1 2-3.3 4.2-7.2 4-11.2.2-3.7-2.4-7.4-4.5-10.4l-.5-.7c-5.1-7.2-12.7-14.5-21.7-16.1a83.4 83.4 0 0 0-23 .1c-4.2.7-8.5 1-12.7 1.2-3.3.2-6.6.4-9.8.8-2.6.4-5.1-2.8-3.1-5 1.2-1.2 3-1.8 4.7-2.4l2.2-.8 4.7-2c11.3-4.5 22.2-9 32.6-15.5h.1c3.5-2.3 7.6-5 9.3-8.7a32 32 0 0 0 2.4-16.3c-.4-3.5-1.2-6.9-3.4-9.7A41.7 41.7 0 0 0 843 336a29.3 29.3 0 0 0-18.3 1.7c-6 3.4-11 9.5-14.8 15.2-5.5 8.5-10.6 17-14.7 26.2l-.3.6c-.8 1.7-2 4-3.9 4.4-2 .4-3.3-1.7-3.3-3.5-.7-10-1.4-19.3-5.9-28.4a49.3 49.3 0 0 0-9.6-13.4Zm24.3 73.7c-1.4-2.5-3.1-3.8-6-3-3.4 2-3.3 5.8-3.2 9.2v1.2c.3 3.3.6 7.2 3.3 9.5 2 1.9 4.7 1.6 6.2-.6 3.5-5 2.1-11.2-.3-16.3Z" fill="#E57E5E"/><path d="M507 181.5c20.9-1.4 41.8-.5 62.5 2.7 20 3.4 40 9.1 57.1 20a64.2 64.2 0 0 1 26.5 30.7c1.2 3 1.5 6.3 2.8 9.2 3 1 6.1 1.6 9.2 2.5a207.2 207.2 0 0 1 85.5 50.8c19.2 18.8 35.1 41 46.7 65.4-1.6 2.7-3 5.5-4.4 8.3-1-7.4-2.3-14.6-5.7-21.3-3.5-6.7-8-13.5-14.2-17.9-6.1-4.5-14.5-6-22-6a92 92 0 0 0-27.7 3.3c-4 1.2-6.8 4-8.2 8-1.9 5.2-2.3 11-3.4 16.6-1 8.2-1 17.4 2.6 25 1.7 3.8 4.7 6.6 8.1 8.8 7 4.4 14.8 7.8 21.9 12.2 3.3 2 6.7 4.2 10.2 6-11 2.2-21.7 3.6-32.3 7.6a91.8 91.8 0 0 0-16.3 7.5c-5.8 3.8-8.2 10.5-10 16.9-2.3 9-4.7 17.7-3.5 27 .9 4.1 4.2 7 7.3 9.5a30.8 30.8 0 0 0 18.3 7.8c3.9.2 7.2-1 10.8-2.4A95.8 95.8 0 0 1 711 529a49.4 49.4 0 0 1-24.4 19c5.3-8 7-17.5 7.7-27a200.5 200.5 0 0 0-6.9-61.5c-.5-2.4-2.3-2.7-4.2-3.6a78.8 78.8 0 0 1-30-23c-11-13-19-27.6-26-43a400.7 400.7 0 0 1-26.4-88c-.6-3-.8-6.7-2.2-9.6-1.4-1.6-3.2-2.8-4.9-4-21.5-17-44.9-31.9-69.9-43.1a215.2 215.2 0 0 0-79.8-19.6 137.4 137.4 0 0 0-90.6 27.8A110.8 110.8 0 0 0 322 296c-.6 1.6-.8 3.3.2 4.8 1.7.7 2.7.6 4-.7 1.8-2.3 2.7-5.3 4-8a99 99 0 0 1 28.6-35.3 130.8 130.8 0 0 1 85.7-25.4c19.5.6 39.1 5 57.5 11.5a299.3 299.3 0 0 1 76.1 40.7 142.2 142.2 0 0 0-49.1-7.5c-4.1.5-10.2 1.5-12.5 5.4-1.9 3-.6 6 .7 9a225.7 225.7 0 0 0-105.7-1.1c-6.3 1.4-12.4 3.6-18.7 5.2-3 1-6 1.7-8.5 3.7a215 215 0 0 0-44.7 50.3c-3.5 5-6 10.6-9.3 15.8-7.3 13-12.8 27-16.7 41.4a224.4 224.4 0 0 0 58.1 224.5c14.4 14 30.7 26 48.3 35.8-.5 9.6-5.8 18-14 23a41.6 41.6 0 0 1-45.2-1.9c-2.4-1.8-6-1.4-6.2 2 0 8.5-1.3 16.7-5 24.4a58.6 58.6 0 0 1-34.4 32.8c1.2-12.3-4.4-24-14-31.6a4.2 4.2 0 0 0-6 .4c-1.6 2-2.8 4.4-4.5 6.4a43 43 0 0 1-14.9 11.2 65 65 0 0 1-64.1-6.5 42.2 42.2 0 0 1-17-25c5.2.1 10.3-.3 15-2.7a50.2 50.2 0 0 0 24.7-28.4c4.7-12.4 6-26.2 3.6-39.2-.5-2.1-.2-5.5-3-6a116.6 116.6 0 0 1-60.1-31.1 103.2 103.2 0 0 1-29.2-55.1A106.7 106.7 0 0 1 151 482c7.8-21 22-39.6 39.6-53.3 1.8-1.6 4.8-2.8 4.3-5.7-.7-3.4-2.6-6.5-3-10a56.6 56.6 0 0 1 9.9-38.1 89 89 0 0 1 41-34.1c10.4-4.2 22.3-6 33.2-2.6 2.2.6 3.7.1 4.3-2.2-.8-4.7-2.6-9-2.6-14a67 67 0 0 1 11.3-39c7.5-11.8 17.1-22.3 27.7-31.3a236 236 0 0 1 39.8-27.3A369 369 0 0 1 507 181.5ZM769 576.6a73 73 0 0 0 1.1 25c2.5 11 8.2 20.9 17.1 27.9a69.4 69.4 0 0 1-60.5-3.3 48.3 48.3 0 0 1-20.3-20.5c5.3-7.6 11-14.8 15-23.3 5.3.7 10.2 2.5 15.6 2.4 11.1 0 22.2-2.8 32-8.2Z" fill="${p(`${l.hair}`)}"/>`,long17:(a,l)=>`<path d="M533 175.3a225 225 0 0 1 71 11.6 102.8 102.8 0 0 1 44 28c6.1 7.1 10.3 15.5 12.8 24.5 26 6.7 50.3 18.8 71.8 35A226.3 226.3 0 0 1 822.4 433c2.6 31-2.2 62.2-16.5 90-1.8 3.3-2.4 6.9-3.4 10.5a71.8 71.8 0 0 1-26.9 39A61.6 61.6 0 0 0 778 607a37.5 37.5 0 0 0 13.8 18.1c2 1.6 4.9 2.6 3.6 5.9-1.6 1.8-4.2 2.9-6.3 4a74.1 74.1 0 0 1-48.2 3 63.8 63.8 0 0 1-36.6-24.4c-1.7-2.6-3.8-5.6-4.4-8.7.7-1.7 1.8-3 2.9-4.3 5.1-6.3 9.6-13.3 13.3-20.5-3.7-2.1-8.3-4-11.3-7-1.3-2.1.6-5.2 3.1-4.2 4.8 2.3 9 5.6 14.1 7.2a55.1 55.1 0 0 0 23.1 2.2 59.7 59.7 0 0 0 34-16.4 66.3 66.3 0 0 0 19.5-37c1.5-11 .8-21.9-3.4-32.1a52 52 0 0 0-62.8-31c5 18.1.5 38.4-7.4 55a81.2 81.2 0 0 1-24.3 30.7A31.2 31.2 0 0 1 680 554c-2.4-.5-5.4-.9-4.9-4 1.8-2.3 4.7-3.2 6.5-5.4 2.7-3.3 4.2-7.8 5.2-11.8a106 106 0 0 0 2-26.8c-1-14.5-2.9-28.7-6.4-42.8-.2-1.7-1.7-1.8-3-2.6a86.8 86.8 0 0 1-31.2-24.7 192.7 192.7 0 0 1-27-45 427.7 427.7 0 0 1-27.5-94.9c-13.5-6.2-28-10.3-42.7-12.8a92.3 92.3 0 0 0-22.8-1c-2.7.2-5 1.3-7.3 2.6 1.4 2 2.6 4 4.6 5.6 2.2 1.8 5 3 7 5 1.8 1.8 0 5-2.5 4.5-3.4-.6-6.6-2-10-2.8-15.2-4-30.8-6.5-46.5-7.2-11.6-1.3-23-.2-34.5.7a185 185 0 0 0-47.2 11c-2.9 1.1-5.4 2.5-7.7 4.5A214.4 214.4 0 0 0 310 466a217.4 217.4 0 0 0 107.1 191.8c2.7 1.6 6 2.9 8.2 5.1a32.8 32.8 0 0 1-15 30.4 47.7 47.7 0 0 1-50 .7 66 66 0 0 1-14.3 37 59.3 59.3 0 0 1-30 21.2c-2 .4-4 1.3-5.8-.4-2.2-1.7-.9-5.4-1-7.8.7-9.3-3.9-17.4-10.4-23.6a49.7 49.7 0 0 1-24.2 19.3A71.7 71.7 0 0 1 208 731a47.2 47.2 0 0 1-19-28.1c-.6-2.5.3-5 1.8-7 4.3-.6 8.4.2 12.8-1.1a39 39 0 0 0 22.1-19.9 68.2 68.2 0 0 0 6.2-44.3c-21-4.5-41-14-57-28.5A109.5 109.5 0 0 1 143 487.1a128.6 128.6 0 0 1 45.5-64.4c-6.2-15.6-2.3-32.3 5.6-46.5a94.6 94.6 0 0 1 45.5-40.5c10.5-4.4 22-6.1 33.3-4.4a63.7 63.7 0 0 1 .3-26 93.7 93.7 0 0 1 19.4-37.6c12-14.8 27.4-27.2 43.3-37.7 25-16.4 53-28.7 81.4-37.6A366.8 366.8 0 0 1 533 175.3Z" fill="#000"/><path d="M557 182.5a171 171 0 0 1 66 19.5 67.5 67.5 0 0 1 29.6 31.5c1.5 3.4 2 7 3.3 10.5 3.3 1.3 7 1.8 10.3 3a210 210 0 0 1 96.1 62.7 220.8 220.8 0 0 1 52 105.6C820 447 817.8 481 805 511c-.8-6-1.5-11.9-3.6-17.6a58.3 58.3 0 0 0-29.4-33.5 59.4 59.4 0 0 0-44-2.9c-1.4.4-2.5 1.2-2 2.9 1.4 6.6 3 13.1 2.6 20a93.9 93.9 0 0 1-17.3 48.4 49.6 49.6 0 0 1-24.8 19.7c5.3-8.2 7-17.5 7.7-27a196.9 196.9 0 0 0-7-61.6c-.6-2.7-2.9-2.9-5-4A78.9 78.9 0 0 1 654 434a184 184 0 0 1-27.9-46.2 404 404 0 0 1-25.4-85.6c-.6-3.2-.8-6.8-2.2-9.8-1.5-1.8-3.6-3.1-5.5-4.6a305 305 0 0 0-101.3-54.4c-23-6.5-47-9.6-70.8-7-23 2.5-44.8 10.7-63.6 24a109.6 109.6 0 0 0-35.4 45.8c-.6 1.6-1 4.2 1.1 4.9 2 1.1 4-2 4.6-3.5 4.2-9.9 9.7-19 16.7-27.2a106.2 106.2 0 0 1 36.2-26.8c16.7-7.9 35-11.8 53.4-12.3 28.6-.8 56.3 6.1 82.5 17.1a304.4 304.4 0 0 1 61.5 35.2c-12.4-3.8-25-6.6-38-7.5-5.9-.3-12.5-.4-18 1.5-2.7 1-5 2.6-6.1 5.3-.8 2.8.3 5 1.2 7.6a221.8 221.8 0 0 0-119.6 2.9c-5.2 1.5-10 2.1-14.3 5.8a214.7 214.7 0 0 0-51 62c-8.4 14-14.5 29.5-18.8 45.3a224.8 224.8 0 0 0 23 179.1A224.1 224.1 0 0 0 420 666c-.5 8.3-4 15.4-10.4 20.6a41 41 0 0 1-47 1.8c-2-1-3.6-2.8-6.1-1.9-2.2.6-2 3.8-2 5.5 0 11.8-4.3 23-11 32.6-7 10-16.5 18.2-28.3 21.8a35 35 0 0 0-5-21.4c-2.8-4.3-6.4-9.1-11.1-11.3-4-.2-5.1 3.8-7.2 6.3a51 51 0 0 1-37.9 18.4 64.7 64.7 0 0 1-47.2-16.2 40 40 0 0 1-12.1-20.8c4.9 0 9.7-.4 14.2-2.5 12-5 20.4-16 25.1-28 4.8-12.2 6.5-26 4.1-39-.4-2-.5-4.5-1.7-6.2-2-1-4.4-1.2-6.6-1.8-20.5-4.8-39.8-15-54.9-29.8a103.6 103.6 0 0 1-25.2-108.3 122 122 0 0 1 39.3-55.9c1.8-1.6 4.4-3 5.7-5 .6-3.3-1.8-6.8-2.4-10a51 51 0 0 1 6.2-34.4 89 89 0 0 1 38.7-37.3 53.6 53.6 0 0 1 38.9-5c1.9.7 3.8-.1 4.2-2.2-.2-1.6-.7-3.3-1.1-4.9-2.3-8-2-17-.1-25 3-12.3 9.2-23.2 17-33 10.8-14 24.8-25.8 39.3-35.8 21.6-14.6 45.6-26 70.1-34.8a375.4 375.4 0 0 1 65.7-16.9c28.3-4.7 57.2-6.2 85.8-3.1ZM768.9 576.6c-.6 8.6-.9 17 1.4 25.4a49 49 0 0 0 17 27.5c-17.3 7.7-38 7-55.2-.6a51.6 51.6 0 0 1-26-23.3c5.8-7.3 11-15 15.2-23.3 4.6.7 9.1 2 13.7 2.4 11.8.4 23.5-2.5 33.9-8Z" fill="${p(`${l.hair}`)}"/>`,long16:(a,l)=>`<path d="M578 188.8c20.1 2.9 40 10.7 56 23.3 2 2 4.4 1.8 7 2.2a108.2 108.2 0 0 1 53.5 23.1c2 1.6 4 3.7 6.3 4.8a144 144 0 0 1 68.4 62.6 187.8 187.8 0 0 1 22 80.2c.4 10 .4 20 0 30a318.5 318.5 0 0 1-7.7 51.2c-.5 1.8-1.4 3.3-2.3 5-2-.8-4-1.4-5.6-2.8-5-4.3-11.8-6.2-18.1-7.5-5.7-1-12-1.3-17.6.2-2.1 1.7-3.7 4.2-5.5 6.3a170.5 170.5 0 0 1-38 31c-3.2 1.9-6.6 4-10.3 4.5-2.6-.4-3.3-2.3-2.7-4.7 2.4-10.3 4.5-20.5 4.5-31.2 0-25.8-4.6-51-10.8-76-3.1-11.1-6.2-22.5-10.8-33a123.6 123.6 0 0 1-36.5 49.9c-2.2 1.2-4.8.4-5-2.3a227.9 227.9 0 0 0-19-57.8c-1.6 8.4-2.8 16.9-5 25.2-2.1 8.5-5.4 16.5-8 24.8-.7 1.8-1 3.6-2.7 4.8-2.5.5-5.1-1.2-7-2.7-8.5-6.9-17-13.8-25-21-5.3-5-10.2-10.5-15.1-15.9a392.2 392.2 0 0 1-27.4-33.3 347 347 0 0 1-18.8 63c-.8 1.7-1.6 4.5-3.8 4.5-2 .4-3.6-1.2-3.7-3.2-.6-5.6-.4-11.4-1-17-1.4-13.6-1-27.2-1-40.9a263.1 263.1 0 0 0-15 26.1c-5.6 11-9.6 22.7-11.7 34.8-.5 2.6-.6 5.5-1.6 8-1.2 2.1-3.4 1-5 .1a97 97 0 0 1-45.4-57.8 251 251 0 0 0-25.3 33.9c-7.5 11.9-13.7 24-16.7 37.8-.8 3.4-.2 6.6-.3 10a3.2 3.2 0 0 1-3.3 3c-2.6 0-5.4-1.2-7.8-2.2a149.8 149.8 0 0 1-36.7-21.7c-4 12.3-6.1 25-7.5 37.7a185 185 0 0 0 .8 52.7c.2 1.8.7 3.3-.5 4.9a5 5 0 0 1-5.6-1c-3-2.8-5.3-6.2-7.6-9.4a108.1 108.1 0 0 1-19.4-63c0-18 5.1-34.6 12.6-50.7a78 78 0 0 1 7.2-12c-1.4-13.3-.5-26.7 3.3-39.5a83.8 83.8 0 0 1 21.7-36c-4.4-19.1-4.1-39.2 5.6-56.7 8.6-15.2 23-24.6 38.8-31.2 16.5-6.7 34.1-11 51.9-6.6a53.5 53.5 0 0 1 26.7 15.1 91.1 91.1 0 0 1 59.5-22.7c2.7.1 6-.3 8.6.8 2 2 2.9 5.2 4.2 7.7 18-10.1 39-12 59.2-9.4ZM786 557.4c2 1 3.2 3.5 3.3 5.5.5 5.7-.4 11.5-3 16.6-.8 2.2-2.3 4-1.8 6.5 2 12.5 5 23.8 5.3 36a65.4 65.4 0 0 1-10.6 44.1c-1.7 2.5-4.2 4.4-5.8 7a113.8 113.8 0 0 1-14.6 45.6 92.8 92.8 0 0 1-39.1 35c-1.8 1-5.8 1.3-6 3.7-2 6.9-5 13.5-8.7 19.6a101.5 101.5 0 0 1-24.4 26.5c-6.8 5.2-13.5 10.1-21.2 13.8-11.2 6-23.6 9.9-35.4 14.5 2.9 3.2 7 4.8 9.5 8.7 1.3 2.2.7 5.1-1.6 6.4-4.5 2.8-11 2.4-16 2.5-.7 9.6 3 17.5 6.8 26 4.8 10.3 8.8 20.9 12.3 31.7a68 68 0 0 1 2.4 36 72 72 0 0 1-29.7 43.5c-2.9 1.2-3.6-1.8-4.6-3.7a47.2 47.2 0 0 0-22-22c-12.5-6.8-25-12.4-34.2-23.5 0 5.4.3 10.8 2.4 15.9-.7 1-1.4 2.2-2.3 2.8-2.1.5-3.5-1-5-2a72.3 72.3 0 0 1-19-23.2 58.3 58.3 0 0 1-6.4-38.7c2.6-14.7 11.1-27 20.1-38.5 7-8.8 16-14.7 25.5-20.5-.5-2-1.8-4-1-6 1.3-4.4 4.7-6.2 8.5-8.2-.6-2.6-1-5.3-.7-8 1-10.4 4.9-20.5 11.5-28.5 1.8-2.5 4.1-4 4.2-7.5.7-7 2.3-13.7 5.2-20 6.4-13.6 14-26 27.6-33.2 2.6-11.5 6.4-22.6 12.7-32.7 5.3-8.3 11.3-16 19.5-21.7.4-6 1.5-12.3 3.6-18 2-2 4.8-3.4 7-5.1 11.1-8.3 21-18.5 30.3-28.7a187.1 187.1 0 0 0 24.5-32.5c1.3-2.3 2-6.5 4.9-7.3 3.8.4 7.2 2.4 11 2.8 6.8.8 13.8.4 20.5-1.2 11.2-2.8 23-8.5 30.2-17.7 1.4-1.4 2-2.7 4.4-2.3Z" fill="#000"/><g fill="${p(`${l.hair}`)}"><path d="M556 193.6c31-1.7 63.3 10 84.8 32.6 2 1.8 3.5 1.7 5.3-.2.5-2.5-1.4-3.8-2.7-5.7a105.8 105.8 0 0 1 48.1 22.1c17.7 14.4 30 34.2 37.7 55.4 6.6 18 9.8 37.2 10.8 56.2.3 3.5 0 7 .5 10.5 1.1 2.8 4.7 2.5 5.4-.5.7-5.2-.5-10.8-.6-16-2.3-34-12.4-67.4-34-94.2 19.4 11.1 36 26.9 48 45.8a174.7 174.7 0 0 1 25.9 82.4c1 8.2.5 16.6.6 25-.8 18.8-3.2 37.4-7.5 55.8-10.1-6.5-22-9-34-8.5 7.6-11.3 14.8-24 18-37.3.8-2.4-.8-3.2-2.2-4.8-2 1.2-3 2-3.5 4.2a113.6 113.6 0 0 1-15.3 32 152 152 0 0 1-51.5 47.6c3-13 4.8-26.7 3.6-40-1-22.1-5-43.6-10.4-65a238 238 0 0 0-13.9-39.6c5.3-13.3 8.5-27.1 8.8-41.4-.3-19.8-7.2-39.6-15.2-57.6-1-2-1.8-4.2-4.6-3.6-2.5 1-2 3.2-1 5.2 6.3 14 11.8 29.2 14.2 44.5.9 7 .9 14.4.2 21.5a128.9 128.9 0 0 1-10 34.6c-4.8 11-10.3 21.6-17.9 31.1-4 5.4-8.8 10-13.8 14.6a203.6 203.6 0 0 0-12.1-39.1 508.7 508.7 0 0 0-36.5-71.4c-2-3.2-3.8-6.9-6.4-9.7-1.7-1.5-4.2-.3-4.5 1.8.1 3.7 1.3 7.4 1.8 11 .7 3.9.5 7.8 1.3 11.6 1.7 1 2.4.8 4-.2 1.5-2.8.7-6.7.4-9.8a944.4 944.4 0 0 1 22.6 42c.5 1.3 1.6 2.9 1.1 4.2-1.3 5.4-2.5 10.8-3.2 16.3-2 13.5-6.1 26.2-10.7 39-12.3-9.9-25.2-20.1-35.7-31.9A415 415 0 0 1 528 337c-3.9-4.9-7.8-9.6-10.9-15.1l3.4-18.9c2.5-14.5 3.6-29.3 5-44 .6-17.9 1-36.8-4.3-54.1-.7-1.6 1-1.8 2-2.5a84 84 0 0 1 32.8-8.8Z"/><path d="M511.6 195.4c6.5 12.8 8 26.4 8.4 40.6.5 7.7 0 15.3-.3 23a467 467 0 0 1-6.5 52.2c-4.2 24.8-10 49.2-19.2 72.6-1-15.3-1-30.5-.8-45.8 0-3.6.9-7.6.1-11.1-1.2-2.6-5-2.2-6.4 0a180.1 180.1 0 0 0-15.1 23.9c-4.6 8.5-9 16.8-12 26a154 154 0 0 0-5.5 22A85.5 85.5 0 0 1 430 377c-15-19.8-22-45.3-21-70 .2-20.9 6.1-41.7 16.4-59.8 10.1-18 25.3-33.7 43.8-43a83 83 0 0 1 42.4-8.8Z"/><path d="M426.5 205.4a53.3 53.3 0 0 1 15.7 10.9 131.7 131.7 0 0 0-35.5 124.6c-15.4 17-29.3 36-39 56.9a77 77 0 0 0-7.6 27.8c-12-4.9-23.5-11-34-18.8-5.8-4.4-10.9-9.9-14.3-16.4A77.7 77.7 0 0 1 304 346c1.6-17.9 8.6-34.9 20.9-48.1 3 9.2 5.8 18.3 12.2 25.9 1.5 1.7 4.6 1.3 5.4-1 1.3-4 2-8 3.5-12a98.3 98.3 0 0 1 22-33.8c9.1-9 20.2-16.3 31.1-23 1.4-4.5-3.2-4.4-5.8-2.7-10.8 6.8-22 14.1-30.9 23.2a98.7 98.7 0 0 0-24 41.4 107.4 107.4 0 0 1-11-33.1c-1.1-6.5-1-13.3-.7-19.8a57 57 0 0 1 19.5-39.7c12.5-10.4 28.5-17 44.2-20.5a60 60 0 0 1 36 2.6ZM299.8 375c1.7 5.2 3.1 10.6 5.6 15.6 2.2 4.8 5.3 9 8.6 13.1-5.2 14-7.4 29.4-9 44.3a226 226 0 0 0-.1 44.7c-11-15.3-18.4-33-20-51.9-1-6.6-.8-13.2 0-19.8a124 124 0 0 1 14.9-46ZM784.3 565.8c-.4 4-1 8-3 11.7a69 69 0 0 1-15.8 19c-8.1 7-17 13.3-26.2 18.8-8.2 5-16.2 10.7-23.8 16.7-1-8.4-1.6-16.5-1.4-25 .2-4.4-.8-10.3 1.9-14 2.2-3.5 4.2-7 6-10.6a55 55 0 0 0 25 1.7 66 66 0 0 0 37.3-18.3ZM779.7 590c2 10.7 4.1 21.2 4.6 32 .7 13.5-.9 26.5-8.1 38.2a42.4 42.4 0 0 1-21 17 210 210 0 0 1-47.7 12.6 137 137 0 0 0-18.5 5.7c-.8-5-.6-9.5.4-14.5 2.5-11.7 8-22.7 16-31.5A178.5 178.5 0 0 1 746 618c12.5-8 24.1-16.6 33.7-28ZM708.3 603.5c-.1 10.7.8 21.4 2.6 32-4.4 4.3-8.6 8.8-12.6 13.4 0-9.5-2-18.6-3-28-.4-2 1.1-3 2.2-4.4 3.8-4.2 7.3-8.5 10.8-13ZM690.1 624.8c1.8 10.4 3.4 20.6 2.7 31.2-.4 1.9-1.6 3.5-2.4 5.2a60 60 0 0 0-7 36.8c-6.1 3.1-12 6.4-17.5 10.5a57.8 57.8 0 0 1-8.7-20.5 68.8 68.8 0 0 1 .3-34.7c12.5-8 22.1-18.2 32.6-28.5ZM649.7 674c.4 5.5 1.2 11 2.2 16.4 1.6 8 5.1 15.2 9.6 22a84.1 84.1 0 0 0-24.8 47c-5 2.2-9.6 4.9-14.1 7.9-2.4-6.6-1.8-14.3-1.9-21.3 0-10.5 1.7-20.7 4.4-30.8a85.8 85.8 0 0 1 24.6-41.3ZM767.5 677.3c-2.5 14.6-7.3 30-16.1 42.1A96.8 96.8 0 0 1 733 739a56.7 56.7 0 0 1-25 12.2c-10.4 1-20.8-.3-31-.2-11.4.5-23.2 1.9-34 5.9a80 80 0 0 1 19-36.8 81.2 81.2 0 0 1 27.6-18.4c8.8-3.7 18-6.2 27.4-7.6a164 164 0 0 0 50.5-16.7ZM616.2 728.8c-.4 5.5-1.4 10.7-1.3 16.2 0 9-.5 17.4 3 26a111.6 111.6 0 0 0-23.9 27.4 30 30 0 0 1-3.5-11.4 61.2 61.2 0 0 1 8.3-37.2 60.5 60.5 0 0 1 17.4-21ZM708.4 756.8c-1.8 5-3.8 9.7-6.3 14.3a104 104 0 0 1-32 33c-10.4 7.5-22.9 13-34.9 17.2-6.2 2.8-12 3.8-17.4 7.7-9-4-18.3-5.7-28-7.9a70 70 0 0 1 8.7-18.6 100.3 100.3 0 0 1 28.7-31.3 92.2 92.2 0 0 1 25.3-11.4 120 120 0 0 1 32.5-3.1c7.8.6 15.6.8 23.4.1ZM584.5 785.7c.6 6.6 2.4 12.8 6.3 18.2-3 5.1-5 10.5-6.8 16.1-2.8-.5-6-.9-8.7-2.2-2.5-10.8 2.8-23.4 9.2-32.1ZM571.5 824.7c4.9-1.8 10.5.6 15.5 1.4 15 3.4 29.1 5.7 40.8 16.5-11.5 3-25.4-.9-36.8-3.8-8.1-2.4-17.9-4.6-24.7-9.9 1.5-1.8 2.9-3.4 5.2-4.2ZM567 836.6c7.2 3.2 14.4 5.7 22 7.5a62.8 62.8 0 0 0-5.5 38c1 8.6 4 16.9 7.6 24.8.7 1.7 3.5 2.3 4.5.7 1.7-2-.3-5-1-7.2a77.2 77.2 0 0 1-6.4-31.4c.5-8.3 1.6-16.2 6.1-23.4 5.4 1.4 10.8 2.6 16.3 3.3-1.3 14.3 6.2 25.6 11.1 38.4 4.8 12.8 10.6 26.5 11.4 40.2.6 12.1-3.6 24.4-10.1 34.5a51 51 0 0 1-15.3 17c-2.7-5-6-9.6-10.2-13.5-7.9-7.7-17-11-26.4-16.6a55.6 55.6 0 0 1-20.9-17.2c-8.1-11.6-8.1-27.1-7-40.7a76 76 0 0 1 15-38.9 4 4 0 0 0 1-3c-.7-1.8-2.6-2.3-4-1.1a36 36 0 0 0-7.8 10.5c-6 10.9-9 23.2-10.3 35.5-.9 12.3 0 24.6 5.2 36a57.8 57.8 0 0 0-1 16 65.1 65.1 0 0 1-20-42c0-11.7 3.6-23 10-32.7 5-7.8 10.6-16.2 17.7-22.3a116 116 0 0 1 18-12.4Z"/></g>`,long15:(a,l)=>`<path d="M817 157.1c10.5 1.1 22 2.7 31.8 7.2 3 1.4 3.7 5.3.1 6.5-9.1 1.7-17.9 2.8-26.5 6.6a74.2 74.2 0 0 0-15.4 9.2c9.3-.2 18.4 1.2 27.5 2.7 15.4 3.3 31.5 8 45 16.2 2.5 1.3 3.8 4.6 5 7a181 181 0 0 1 16 54.5c1 17 .8 35.6-6 51.5a41.2 41.2 0 0 1-15.6 19.4c-1.4 1.2-3.2-.7-4-1.8a148.7 148.7 0 0 0-46-41 161.9 161.9 0 0 0-77.2-23.6 143 143 0 0 1 35.8 18 169 169 0 0 1 25.4 23.7c1.7 2 1.3 3.2.4 5.4-2 .1-3.2 0-4.8-1-6.9-4.4-14-8.4-21.6-11.4-18-7.7-38.6-12.6-58.2-8.3 8.1 16 14.6 32.7 19.8 50 8.3 27.8 14 57 14.7 86.1 0 7-.4 14.1-1.3 21-.5 2-1 6-3.9 5.5a54 54 0 0 0-33.5 4.8c.3 23-11 46.2-26 63.1-1.7 2-3.3 2.9-5.9 2-2.5-2.1.2-5.3.6-8 1-6.3 1.2-13 1.6-19.4-.1-8 .7-16 .2-24-.3-7 0-14-.5-21-.7-14.6-1.3-29.5-4-43.9-.2-1.2-1.5-1.6-2.4-2.2A91 91 0 0 1 671 399a156.9 156.9 0 0 1-28.7-36.1 181 181 0 0 1-10.6 52.9c-.7 1.5-1.2 4-2.9 5-4 .6-8.8-1.9-12.8-2.9-4.1-1.4-9-2-12.8-4-.6-2.8-.3-6-.2-8.9 1-19.4.4-38.8-3-58-1.7-9-3.1-18.3-5.6-27.2.6 16.4-.3 33-2.2 49.2-1.5 10-3.8 20-6.6 29.8-.7 2.7-1.5 5.5-2.9 8-.9 1.5-1.9 2-3.7 1.6a505 505 0 0 0-160-9.2c-2.2.4-3.1-1.6-4-3.2a103.7 103.7 0 0 1-7.6-58.3c-2.8 8-4.1 16.9-5.2 25.3-1.5 11.2.2 23 2.5 34 .3 1.5.2 3 0 4.5-18 3.4-38.1 8.8-53 20.2-1.2 1-2.9.5-3.8-.6a73.6 73.6 0 0 1-20-38.8c-4.8 8.4-6.5 19-9.5 28.2-.9 2.2-4.3 2.8-5.6.7a25 25 0 0 1-2.2-8.3 68.8 68.8 0 0 1 16-50.2c2.2-17.8 7.8-34 16.9-49.6a193.4 193.4 0 0 0-46.6 10.8 207.7 207.7 0 0 0-60.6 31.4c-10.2 7.2-18.7 15.9-26.6 25.4-1.5 1.8-3.2 2-5.1.7-.9-3.3-.8-7-.8-10.4a211.4 211.4 0 0 1 12.8-71.4 165 165 0 0 1 36-58c7-7 15-12.5 23.6-17.2a73 73 0 0 0-38.2-1.2c-1.8.4-3.1 1-4.4-.7-1.2-2.2.4-3.7 1.9-5a61.9 61.9 0 0 1 22.4-11.6c15-4.5 30.6-5 46-3.8a169 169 0 0 1 71.4 23.6 89 89 0 0 1 34.9 36.1A223.5 223.5 0 0 1 511 212.4c23.5-3.2 47.5-3.4 71 0a234.7 234.7 0 0 1 91.1 31.6 123.9 123.9 0 0 1 39.5-51.4c13.9-11 29.5-21 46.3-26.7a145 145 0 0 1 58-8.8Z" fill="#000"/><g fill="${p(`${l.hair}`)}"><path d="M820 163.2c6.5.5 12.7 2 19 3.5a94.7 94.7 0 0 0-18.8 5.6 77 77 0 0 0-21.3 14.5c-4.4 1.3-9.3 1-13.8 2.2-2.6 1.6-2.3 4.8.9 5.4 11-1 21.3-3.2 32-1.5 9.7.8 19.4 2.5 28.8 5.2a127 127 0 0 1 25 9.1c2.4 1.4 4.8 2.3 6 5 2.6 4.7 4.6 9.8 6.6 14.8a200 200 0 0 0-67.4-19.2c-24.8-2.2-50.8-1.2-74.2 8-3.4 1.4-7.3 2.7-10 5.2-1.3 2.8 1.3 5.3 4 3.8 15.7-8 32.8-11 50.2-12.2 33.6-1.3 68.4 5.5 98.2 21.2 1.1.7 2.2 1 2.5 2.3 3.5 11.2 6.7 23.2 7.3 34.9 1 9 0 17.8-.8 26.8-1.8 12.6-5.5 25-15.3 33.9a157.3 157.3 0 0 0-42.7-38.9 177 177 0 0 0-67.7-25.6 112.2 112.2 0 0 0-32.5-.2c-2 .5-4.4 2.6-2.8 4.8 1 1.9 2.8 2 4.8 2.3 5.4.8 10.7 2.3 15.8 4.1a124.5 124.5 0 0 1 41.9 25.5 214 214 0 0 0-23.5-9 92.5 92.5 0 0 0-46.4-2.1c-2.4-4.6-6.1-7.9-9.1-12.1-2.3-3.5-5.5-5.8-8.3-8.9a190.9 190.9 0 0 0-30.1-24.5 94.8 94.8 0 0 1 20-32.9c11.5-13.2 26-24 41-33a138.8 138.8 0 0 1 80.7-18ZM280 197.7c10.4-1.2 20.2-.1 30.5 1a153.9 153.9 0 0 1 75.2 31.6 68.2 68.2 0 0 1 20.2 26.2c-24.7 4.5-45 21-59 41.3a189 189 0 0 0-56.8 12.3 215.6 215.6 0 0 0-60.9 33.1 156.3 156.3 0 0 0-20 19.2c0-4.3.1-8.6.6-12.9.9-7.8 1-15 3-22.9 2.3-2.5 5.2-4.7 7.9-6.9 22.5-17.6 50-28.9 78.3-32.2 8.4-.8 16.7-.7 25-.3 3.1-.1 2.8-2.4 2.7-4.7-3.5-1.3-7-1.5-10.7-1.6-17.4-.2-35 2.9-51.5 8.6a157 157 0 0 0-50.1 28c6-26.9 17.3-52.8 35.2-74 9-11 20.2-20 33.2-25.7 2.3-1 4.5-1.8 3.7-5-1.8-1.8-5-2-7.4-2.9a71.7 71.7 0 0 0-31-3.8c9.6-5.2 21.1-7.6 31.9-8.4Z"/><path d="M628.8 229.4c33 11.5 64.2 31 86.4 58.4 5 5.9 8.3 12.5 11.6 19.3 9 18.6 15.6 38.5 20.6 58.4 4.4 17.3 7.6 34.8 9.1 52.5 1 12 1.7 25-.6 36.8a62.3 62.3 0 0 0-31.6 4.2c-.6-2.7-1-5.5-2-8.1-1.2-2.6-5.2-2-5 1.1.4 5 1.8 9.9 1.6 15a91.3 91.3 0 0 1-19.5 51.2c.9-5.3.9-10.8 1.1-16.1.3-17.4.3-34.8-.6-52-1.2-13.3-1.2-27.4-4.6-40.3-2.4-2.6-6.4-3.7-9.2-6a144.7 144.7 0 0 1-38.3-42.7c-2-3.3-4.1-6.7-5.4-10.4-.6-3.5-.6-7.1-1.1-10.7-3-22-9.8-43.4-20.2-63-3.5-6.4-8.2-11.6-13-17-1.2-1.6-2.5-1.3-4.2-1.4l-1.3 2.5c1.4 3.9 4.4 6.1 7 9.4 5.2 6 8.4 12.9 11.7 20 6 13.4 10.4 27.6 13 42 5.3 27.9 1 55.8-7.8 82.5-6.2-1.6-12.2-3.6-18.4-5.4a251.8 251.8 0 0 0-5.8-81.4c-2.2-11.2-5.8-22-9.8-32.7-1-2.4-2.7-1.8-4.8-2-.5 1.5-1 2.9-.8 4.5.6 5 .9 10.1 1.4 15.2 1.6 17.2.2 33.8-1.2 51-1.5 13-4.3 25.8-8.1 38.3-35.2-7.2-71-11.4-106.9-11.8a141.3 141.3 0 0 1-3-42.7 162.8 162.8 0 0 1 22.5-74.4 109 109 0 0 1 14.2-20.9c.7-1 2.1-2.3 1.9-3.6 0-2.5-3.5-3.2-5-1.4a111 111 0 0 0-16 23 163 163 0 0 0-23.4 79.3 144 144 0 0 0 3.5 40.7c-6.2 0-12.5.1-18.7.3-9.2.9-18.4 1-27.6 2.5a99.5 99.5 0 0 1-7.8-53.5c1.4-12.6 4.2-25.1 8.2-37.2.6-2 2.3-4.8 1.2-6.8-1.4-2.1-4.4-1.4-5.3.8-3.4 6.8-6.4 13.8-9 21-5.8 16.8-11.3 33.2-11.5 51.2-.2 9.4 1 18.5 3 27.7a130.1 130.1 0 0 0-49 18.9 70.6 70.6 0 0 1-17-36.1 106 106 0 0 1 5-52 110 110 0 0 1 35.8-50.4 74 74 0 0 1 35.9-15.3c2.3-.3 5.6.2 7.4-1.6.9-2.7-.3-3.5-2.4-4.9a210.4 210.4 0 0 1 47.5-24.9 249 249 0 0 1 166.3-1ZM326.4 362c-.1 3.5.4 7 0 10.5-1.7 4.4-4.1 8.6-6 13-2 4.3-2.9 8.9-4.5 13.3a65 65 0 0 1 10.5-36.8Z"/></g>`,long14:(a,l)=>`<path d="M549.9 190.3a142.6 142.6 0 0 1 71.6 43.5c6.7.4 13 .5 19.5 2 9.6 2.2 18.7 6 27.2 10.9a121.5 121.5 0 0 1 44.1 46.7c11.9 5 22 14.4 30.3 24 12.8 15 22.9 32.4 30.5 50.4A186 186 0 0 1 789 438a72 72 0 0 1-6.3 30.6c-1.2 2.5-3 2.3-5.1.9a50 50 0 0 0-34.3-9.7 88.5 88.5 0 0 1-8.2 46.1 108.7 108.7 0 0 1-44.3 49.8c-4 2.2-8.3 4.3-12.7 5.4-1.8.3-3-.3-3.4-2 0-2.1 1.7-4 2.7-5.7a78.8 78.8 0 0 0 8-16c4.6-11.8 7.6-24.3 9.6-36.9 2.6-18 3.9-37.3-.7-55.2-4.2 3-8.4 6.7-13.2 8.5-2.7 0-3.7-2.5-3-4.8 1-3.2 2.8-6 3.7-9.3 4.5-15.3 2.5-31-3-45.6a73.1 73.1 0 0 1-11.5 27.3c0 5.3.6 11-.6 16.2-1 2.8-3.1 2.3-5.2 1a488.7 488.7 0 0 0-74.6-35.3 559.7 559.7 0 0 1-77-38 292.8 292.8 0 0 1-27.1-18.2c4.5 8.6 10 16.5 16.5 23.8 6.5 7.3 13.2 14.1 21.2 19.7 2 1.4 4.3 2.6 6 4.3a5 5 0 0 1-4.2 5.7c-4.9 1.3-10.2 1.5-15.2 2-6.6.9-13.2.4-19.8-.4a139 139 0 0 1-38.4-9 145 145 0 0 1-67.2-51.6c-11.3 10.8-20.6 26.3-18.8 42.5 0 2.2-1 5.4-3.7 4.7a57.5 57.5 0 0 1-26.7-16c-4.6 7.5-7.8 15.7-10.6 24a251.6 251.6 0 0 0-11.4 55.2c-.6 6.3.3 12.4-.8 18.7-2.2 0-4.1.2-5.9-1.4a49.7 49.7 0 0 1-16.3-29.1 94.8 94.8 0 0 1 5.4-52.3 92.5 92.5 0 0 1 27.1-38.4A62.6 62.6 0 0 1 326 305a72.6 72.6 0 0 1 41.7-34.2 66.2 66.2 0 0 1 33.5-37.7 92.6 92.6 0 0 1 47.7-9.6 96.3 96.3 0 0 1 44.3-30.3c18-6.7 38.1-7 56.7-2.9ZM828.8 471.1a91.6 91.6 0 0 1 46.6 21.5c2.3 2 5.1 3.9 7 6.4.3 2.9-1.2 4.3-4 3.5-10-3-20.2-3-30.4-1.5-10 1.5-19.7 4-28.7 8.5 10.2 2.3 19.9 7 28.6 12.6 12 7.9 22 18.5 28.5 31.5 1 2.2 2 4.4 4 6 14.8 14.1 23 35 22.2 55.4-.4 17.1-7.2 34-19.8 45.8-1.4 1.2-2.8 2.2-4.7 1.3-1-.6-3.5-1.5-3-3 1-14.9-1-29.6-8.2-42.8A93 93 0 0 1 864 638a100.4 100.4 0 0 1-73.8 71.3 74.2 74.2 0 0 1-34.8-.9c-2.5-.4-4-4-1.8-5.6 3.8-1.7 7.7-2.8 11.4-4.8 2.1-1.2 5.2-2.4 6.2-4.7a65 65 0 0 0 4.9-14.1c1.7-9.3 3-17.9-.4-27-3.9-1.8-8-2.9-11.5-5.4a58.4 58.4 0 0 1-24.4-50.5 72.7 72.7 0 0 1-43 22.7c-1.8.2-4.1 0-4.5-2.2-.4-1.4 0-2.4 1-3.5a257 257 0 0 0 24.4-35.7c.8-1.7 3.8-.9 5.3-.7a60.8 60.8 0 0 0 69.3-32.7 60.8 60.8 0 0 0-1.4-60.1 7.7 7.7 0 0 1-1.6-6l6-2.8c10-5.1 22.6-5.5 33.5-4.2ZM296 486.9c4.5 0 9.4.6 13.4 2.8 2 1 1.6 3.4 2 5.3.9 12.4 3.7 24.4 7.2 36.2 6 19.4 14.4 38 24.9 55.3 5.2 8.3 10.7 16.4 17.4 23.6 2 2.3 3.7 4.6 2 7.7a83 83 0 0 1-24.5 26.6 57.3 57.3 0 0 1-24.3 11 48 48 0 0 0-2 22.6l-.9 2.5c-1.9.3-3.5.6-5.4-.2a103 103 0 0 1-32-20 58.6 58.6 0 0 1-17.7-31.4c-4.7-2-7.2-5.8-10.5-9.5a49.2 49.2 0 0 1-11.1-29.4 64.6 64.6 0 0 1 7.3-30.2c5.2-10.8 11.8-22 20.7-30.3 3.3-3.2 7-5.9 10.7-8.6-7 2-13.7 4.2-19.4 9-1.3.7-3.4 2.9-4.9 1.6-2.7-1.1-1.8-4.5-1.2-6.7a56 56 0 0 1 48.3-38Z" fill="#000"/><g fill="${p(`${l.hair}`)}"><path d="M577.5 206.7a172 172 0 0 1 59.4 55.4c14.7 21 24.7 44 32.8 68.1 1 2.2 1.7 3.6 4.4 3 2.2-2.3 1-4.7.3-7.4a353.8 353.8 0 0 0-12.3-31c-9-19.9-21-38.5-35.1-55 6.1.6 12.1 1.3 18 3a97.7 97.7 0 0 1 43.1 27c17 18 28.4 41.1 33.2 65.2 4.8 24.9 3 50.6-7.3 73.9-6.2 13.9-15.4 25.9-27.6 35.1a74.4 74.4 0 0 0-6.5-59.6c.5-6 .5-12.3-.2-18.4-.2-1.7-.5-3.8-1.9-5-1.4-1.4-4.3-.1-4.2 2 0 2 .4 4 .6 6a84.6 84.6 0 0 1-7.7 44.2 189 189 0 0 0-19.2-62.5c-6-11.3-13.8-21.2-22-31-1.2-1.4-2.5-3-4.1-4-1.2-.3-2.5-.2-3.8-.3 0 2-.7 3.6 1 5.2a156 156 0 0 1 38.5 72.4c3.4 12.8 5.4 26 5.2 39.2a487.3 487.3 0 0 0-65.3-31A582.2 582.2 0 0 1 549 380c-25.7-13-50.6-26.5-72.4-45.5-7.4-6.7-15-15-18.8-24.3-1.3-3 0-5.6-.2-8.7-1.7-1.8-4.9-1-5.5 1.5-1.1 4.3.6 9.4 2.6 13.2 5 9.6 12 17.1 20 24.3.6 3 1.4 6.1 2.9 9A126.2 126.2 0 0 0 502 382c4.9 5 10.4 9.4 16 13.6-13.8 2.3-28.2 2-42-.7-28-5.3-54.5-19-74.9-39-14-14-25-31-29.2-50.4a60.1 60.1 0 0 1-1-21.7 56.9 56.9 0 0 1 23.3-39.6c15-11 32.7-14.9 51-15.6-3.4 6.9-7.3 14-7.7 21.9 1.6 1.4 3.7 3.3 5 .3a59.4 59.4 0 0 1 22.6-35.7c13.4-10.8 30-17.9 47-20.8 22.7-3.3 45 2 65.4 12.4Z"/><path d="M366 277.4a83 83 0 0 0 12.4 59.3c-12.5 11.7-22.3 28-21.6 45.5-5-2-9.8-4.5-14.1-8a48.7 48.7 0 0 1-17.8-29.2 53.9 53.9 0 0 1 2.7-29.5 66 66 0 0 1 38.4-38ZM716.6 302a119 119 0 0 1 33 34.2 209.3 209.3 0 0 1 31.2 76.8c2.8 16.7 4 34-1.9 50.2a57.6 57.6 0 0 0-36.8-9c-1-2.4-1.5-6.4-4-7.6-2.2-.3-3.6 1.2-3.2 3.4 1 4.7 2.6 9.1 2.9 14a86 86 0 0 1-9.8 43.1 101 101 0 0 1-43 45.1 165.7 165.7 0 0 0 16-53.8c1.3-8.4 1.6-17 2.1-25.4a122 122 0 0 0-4.1-32.2 110 110 0 0 0 30.4-78.8 139 139 0 0 0-12.8-60ZM321.8 355.4c1.9 4.4 4 8.5 6.8 12.5-3.9 5.8-6.7 12.1-9.3 18.6a252.6 252.6 0 0 0-12.4 47.3c-1.5 9.4-2.7 18.9-2.6 28.4-4.7-5.3-7.8-11-9.9-17.7a80.6 80.6 0 0 1-.3-41.5 92.9 92.9 0 0 1 27.7-47.6ZM829.5 476.9a90 90 0 0 1 39.6 18 92.6 92.6 0 0 0-56.2 12c-2 1.3-4.2 3-3.4 5.6.4 2 4 1.8 5.5 2 7.3.5 13.5 3.4 19.9 6.5a82 82 0 0 1 32.9 29.2 53.7 53.7 0 0 0-24.8-7c-2.5.2-3.4 3.8-1 5 3.2 1 6.7 1 10 1.9a58 58 0 0 1 33.8 25.1 69 69 0 0 1 11.1 38.8c-.2 15-5.8 29.9-16.2 40.8-.3-6.8 0-14.1-1.6-20.8a63.2 63.2 0 0 0-10.1-25c-1.3-1.8-3-3-3.3-5a66.7 66.7 0 0 0-5-15.8c-.5-1.2-1.7-2.1-2.6-3-1 .6-2 1.4-2.8 2.1-.7 1.4.4 3.2.8 4.5 4.7 11 6 23.2 4.3 35a94.5 94.5 0 0 1-46.4 67.1 80.2 80.2 0 0 1-50.4 10.7 83 83 0 0 0 37-31c5.1-7.7 7-16.6 7.6-25.7.3-3.4-4.3-4.5-5.3-1.1-1.1 6.2-1.4 12.2-4.1 18a73.4 73.4 0 0 1-20.3 24.8 76.5 76.5 0 0 0 4.9-25.6 33 33 0 0 0-4-17.1 35.3 35.3 0 0 1-15.6-7.7 53.9 53.9 0 0 1-18.4-39.2c.2-6.2 1.6-11.5 4.8-16.8a68 68 0 0 0 40.4-25.6 72 72 0 0 0 14.7-38.6 65 65 0 0 0-9.5-38.2c10.6-5.6 22-5.4 33.7-4ZM288.2 493.7c6-1.7 11.5-1.5 17.3.4.3 6 1.3 11.8 2.3 17.7a236.2 236.2 0 0 0 50 103.7 83.6 83.6 0 0 1-30.9 29.4 41 41 0 0 1-15 5c-2 .2-2.3 1.3-3 3a62.6 62.6 0 0 0-3.2 21c-15.1-6.6-30.2-16.4-38.5-31.1a49.8 49.8 0 0 1-4.5-37 96.5 96.5 0 0 1 20-37.2c1.5-1.8 2.1-5-.7-5.8-2-.5-3.2 1.5-4.4 2.7-12.9 16.2-22.7 34.8-22.4 56-6-6.1-11-13-13.3-21.3-2-7.5-2.5-15.3-.4-23 3.6-12.6 9.8-24.6 17.4-35.2a76.3 76.3 0 0 1 29-23.2c2.4-1.6 1-5-1.8-5-11 0-22 3.3-31.5 8.8a51.6 51.6 0 0 1 33.6-29ZM721.6 582.5c6.9 1.5 13.8 1.7 20.8 1.7a73 73 0 0 1-42 28.6c8-9.5 14.4-20 21.2-30.3Z"/></g>`,long13:(a,l)=>`<path d="M710 136c13.2.3 26.3 5 36.5 13.5 1.2 1 1 3 0 4-1.6 1.1-3.6.5-5.5.4a44 44 0 0 0-17 2c-12.9 4-23.1 12.6-31.4 23 6.6-2 13.4-3.2 20.4-3 16.9.5 32.8 6.1 47.2 14.8 18.3 11 34.2 27.4 43.4 46.8a59.2 59.2 0 0 1 5.2 38.3c-2.2 9.3-8.1 17.6-16.2 22.8-6.6 4.4-14 6.2-21.7 7.3 3.3 5.5 7 10.6 9.7 16.5 8 16.7 11.5 36.2 13.4 54.6.4 7.3 1 14.7 1.1 22-.5 10.2-.3 20-2 30-1 10-2.9 20.2-6.3 29.8-1.4 3.6-3.4 8.2-7 10.2-1.6 1-3.2-.3-4.7-1-8.3-5-18.1-8-27.9-7.9A72 72 0 0 1 741 486a56.3 56.3 0 0 1-35.5 31.4 44 44 0 0 1-25.4-.4c-2-.6-2.2-3.3-.6-4.5 2.7-2.4 5.6-4.2 7.8-7.1a74.5 74.5 0 0 0 14.6-37.4c.8-10 .7-21.4-4.7-30.1-1.7-2.9-4.4-4-6.6-6.4A63 63 0 0 0 685 411c-1-2.4-2.7-4.7-1.3-7.2 1.6-3.3 3.6-6.3 5.5-9.5-3.5.4-6.6.5-9.3-2-5.2-5-8.5-12-10.3-18.9-1.2-4.4-3.3-8.8-3.8-13.3 0-1.5 1-2.3 2.3-2.6 4.3-1.2 7.7-3.5 11.4-5.9 3.8-2.5 6.3-6 8.6-9.8-8 .8-16.4.9-24.3-.6-10.9-2.2-20-7.2-29.7-12.2-4.7-2.6-9.1-4.8-11.8-9.7-10.8-2.6-21.6-5.2-32.3-8.3-17.6-4.9-34.6-10.6-53-11.4-16.1-.8-32.5 1.4-48.2 5-4.7 1-8.8 3.2-12.7 6l-2.7-1.4c.5-7 4.6-14 7.7-20a101 101 0 0 0-20.6 20.4c-1.4 1.9-2.3 4.4-4 6-4.5 1.4-9.8.6-14.5.8-6.7.2-13.4-.6-20-1-6.3 1.9-12 5.3-18.1 7.6-13.4 5-27.1 8-41.4 5.2-3.6 3.9-7 8-10 12.3a278 278 0 0 0-21 35.1c-6 11.6-9.8 23.6-13.9 36-1.4 4.8-2 9.9-3.3 14.7-1.1 4-1.3 8-2 12-2.2 2.4-6.5 3-9.4 4.7a86.3 86.3 0 0 0-36 51.9c-.7 3.8-.4 7.5-.7 11.3-1.3 2.2-4.1 2.4-5.3 0-3.8-8.3-5-18-5-27.1a97.7 97.7 0 0 1 59-85.2c-4-10-5.3-21-5.7-31.8-.4-10.6 1.6-20.7 3.7-31 3-12.8 7.5-25 15-35.8a30.2 30.2 0 0 1-17-8.1 40.8 40.8 0 0 1-10.8-28.1 74 74 0 0 1 13.5-42.4 59.6 59.6 0 0 1 29.6-23.4 54.2 54.2 0 0 1 21.4-26.5c2.8-1.3 4.5-.5 5.8 2.2a44.6 44.6 0 0 0-2.6 13.2c6-4.3 13-6.5 20.2-7.9 10.5-2.3 22-1.7 32.3 1.4a33.3 33.3 0 0 1 20 17.1 34 34 0 0 1 .2 25.6 164 164 0 0 1 51.5-7.7c10.2 0 20.5 1.2 30.4 4A79 79 0 0 1 542 224a21 21 0 0 1 7 7c19-6.2 39-9 59-8 10.3.5 20.6 2.7 30.6 5.4a60.2 60.2 0 0 1 .8-48c12-27 41-45.6 70.6-44.3ZM726.5 578c4.4.9 9 .6 13.5.9 6.4.2 12-1.4 18.1-3 1.8-.5 3-.7 4.7.3a25 25 0 0 1 9.5 10.6c3.8 7.6 4 16 3 24.4a54.9 54.9 0 0 1-25.9 38.2c-2.2 1.2-4 1.8-6-.3-.4-2.6 2-5.1 2.8-7.6 1-4.3 1-9 .2-13.3a52 52 0 0 0-22.3-32.3c-4.6-3.2-9.5-2.8-12.6-8 2.5-3.6 4.6-7.6 7.1-11.3 2.4-1.2 5.4 1 7.9 1.5Z" fill="#000"/><g fill="${p(`${l.hair}`)}"><path d="M734.4 148.2c-16 1-31 9.9-41.6 21.6a80.6 80.6 0 0 0-19.1 73.2c-8.7-4.6-17.8-8.8-27.1-11.9-4.6-7.5-7-16.2-6.9-25.1a60.5 60.5 0 0 1 16-40.3A70.5 70.5 0 0 1 703 142c10.8-1 21.7 1.3 31.4 6.3ZM362.9 175c-1.9 8.3-.8 16.4 0 24.8.7 8.3 3 16.8 5.6 24.7 2.8 9 8.5 17.4 13.7 25.2-1.3 1.6-2.5 4.2-4.4 5-5.9 2.7-11.6 5.5-17 9-4.3-2-7.7-5.3-10.4-9-5-8-7.7-17.3-7.8-26.7a78.4 78.4 0 0 1 10.2-41.2c2.6-4.7 6.3-8.2 10-11.8Z"/><path d="M404 178.8c8.4.2 16.5 1.9 23.4 7 4.7 3.1 7.8 7.7 9.3 13.2 2 7.4.5 14.8-3.2 21.3a175.1 175.1 0 0 0-37.1 16c-4 2.4-7.5 5.5-10.8 9-4.7-7-9.5-14.6-11.9-22.8a107.2 107.2 0 0 1-5.6-32.4c2.7-2.5 5-5 8.4-6.5 8.7-3.6 18.1-5.3 27.5-4.8ZM764.5 200.5a100.1 100.1 0 0 1 36.1 45 52.5 52.5 0 0 1 3.2 25.5 32 32 0 0 1-14.2 22.6c-6.6 4.2-15 6.7-22.8 6.5-2.5-2.1-4.5-4.8-7.2-6.7-10.5-8.1-23-14-34.4-20.7-14.8-8.2-29-17.3-43.9-25.5-7.8-18.7-4.2-41.4 5.3-59a45.3 45.3 0 0 1 21.2-6.3c20-1.3 40.7 7.2 56.7 18.6ZM340.6 200.3c-5 16.9-6 36.8 2.3 52.8 2.7 6 7.2 10.5 12.3 14.3-9 6-16.6 13.5-23.3 22-4.4-.3-8.5-.6-12.3-3-7.6-4.3-11.4-12.3-13-20.6a63.1 63.1 0 0 1 7.7-39.5 60.7 60.7 0 0 1 26.3-26ZM504 217c6 .4 12 1.6 18 3.3 5.6 1.6 11 4.7 16.1 7.6 2.4 1.2 4.3 3 6.1 5-7.6 3.3-15 6.8-21.9 11.4-13.7 9.1-25.1 21-34.6 34.4a15 15 0 0 0-4.8 2.2c-11.5 7.8-22.3 18-29.5 30-9.5.6-19 .2-28.3-1-9.8-1-20.4-3.1-28.9-8.3a45.5 45.5 0 0 1-15.3-16.5c-1.4-2.2-1.7-5.8-3.9-7.2-2.4-.8-4 1.6-3.5 3.9a39.8 39.8 0 0 0 9 15.6 50 50 0 0 0 29.6 16.2 103 103 0 0 1-36 10c-8 .2-16-1.3-22.2-6.5-3.7-2.7-5.8-6.4-8.8-9.7-2.6 1.3-3.6 2.4-2.6 5.4a37 37 0 0 0 14.2 13A184.8 184.8 0 0 0 341 347a264.5 264.5 0 0 0-21.9 42 105.2 105.2 0 0 1-3.7-39c2-14.4 4.9-28.2 11.3-41.4A108.3 108.3 0 0 1 347 281c8.1-7.6 17.3-13.9 27.2-19 .6 1.6.9 2.7 2.6 3.2 2.8-.2 3.6-2.4 5-4.5a52 52 0 0 1 15.6-18.3c8-5.5 17.2-9.3 26.3-12.7 25-9.2 53.3-16.2 80.2-12.8Z"/><path d="M583 229.5c10.7-1.6 21.2-1 32-.6 25.9 3.6 48.4 14.3 70.7 27.4 16.8 10 33.6 19.9 50.7 29.3 7 4 13.9 7.7 20.2 12.8 4.8 3.7 8.3 9.4 11.6 14.4 11.4 15.4 16 35.6 18.8 54.2 2.4 18.4 3.2 37 1.1 55.5a163 163 0 0 1-3.5 24.5c-1.4 6-2.8 11.6-6.3 16.8a57.8 57.8 0 0 0-31.3-9.2c-.7-17-8.5-34-22.6-44-1.5-1.4-4.4-1.5-5 .8-.7 2.7 1.5 3.5 3.2 5a49.3 49.3 0 0 1 17 26.8c6 23-3 50-23.2 63a43.5 43.5 0 0 1-28.3 6.8 75.6 75.6 0 0 0 19.4-44c1-7 .9-14.1-.5-21a29 29 0 0 0-11.5-19.9c-1-6.6-2.5-13.1-5.4-19.2-.5-1.5-1.6-2.8-.6-4.4 2.3-4.1 5.5-8.4 7-13 .4-1.9-.3-4.4-2.5-4.7-3-.5-6 2.3-8.8 2-2.3-1-4-3.7-5.3-5.7-4.2-6.6-5-13.3-7.8-20.8 5.2-3.1 11.5-6 15.5-10.7 3-3.4 5-7.2 7-11.2 12-2.5 22.4-9 30.1-18.6 1.3-1.7.7-4.6-1.7-4.6-1.9-.3-3 1.5-4.2 2.6a46.8 46.8 0 0 1-14 11A66.6 66.6 0 0 1 668 336c-11.9-1.6-21.4-6.9-31.9-12.1-1.9-1-3.6-2-5.4-3.2 6.7 1.3 13.5 2 20.3 2.6 11.1 1 22.5-.1 33.6-1 2.9-.4 2.7-2.2 3-4.6-2.3-.6-4.3-1.1-6.6-.8-11.4.8-22.7 1.5-34 .3-23.1-2.3-46.8-9.6-69.2-15.8a157 157 0 0 0-53.8-7.6c-14 .8-28 3.3-41.7 6.2a14 14 0 0 1 1.7-5c9.9-17 22.3-32.1 38.4-43.7 18-12.7 38.9-19.5 60.6-21.8ZM316 399.6c-1.8 5.5-4.1 10.6-5 16.4-1 6.4-3.5 12.2-3.8 18.8-6.6 2.4-12.5 6-17.6 10.8a97.4 97.4 0 0 0-27.5 44.6c-.5-5.4-.7-10.8-.3-16.2a92.6 92.6 0 0 1 54.1-74.4ZM760 581c8.5 5.8 11.1 17.4 9.9 27a52.1 52.1 0 0 1-17.6 32.7 46.4 46.4 0 0 0-6.7-30.2 54.1 54.1 0 0 0-27-23.6l2.6-4.4c6.6 2.3 13 1.5 19.8 1.8 6.7.2 12.5-2 19-3.3Z"/></g>`,long12:(a,l)=>`<path d="M675.4 160.4c1.2-1 3.1-.8 4.5-.2a57.8 57.8 0 0 1 24.3 21.7c5.1 8 7.9 17.1 9.3 26.5 3.2 1.7 5 4.7 5.9 8 1.4 6.4.8 13.3-.2 19.6a97.6 97.6 0 0 1-16 37.1l-.2.8c8 8 14.6 17.2 20 27.2l.4.4c9 1.4 16.8 7.7 22.5 14.5a109 109 0 0 1 19.4 38.8c4.9 17.2 7.3 35.3 7 53.1-.1 1.2 1.2 2 1.5 3.2 2.8 7.6 7 14 11.4 20.6 3.2 4.9 6.3 9.7 9.8 14.3a343.2 343.2 0 0 1 33 49c9.8 18.2 15.9 37.8 19.6 58.1 3 18.2 4.6 39-1.1 56.8a91.9 91.9 0 0 1-29.1 41.5c-1.8 1.6-5.2 2.4-6.8.1-1-1.6.3-3.4 1-4.9 6.6-10.1 8-23.8 9.2-35.6-.1-7.3.6-14.9-.8-22-.5-2.1-.1-5.2-1.5-7-.4 1.8-1 3.2-1.8 4.8a143 143 0 0 1-31.8 43 223.2 223.2 0 0 1-52 37.2c-2 1-4.4-1-4.2-3 0-1.4 1.1-2.4 2-3.4a123 123 0 0 0 19-42.4c-13.5 5.9-27.1 15.8-39.2 24.4-10.7 7.9-21.9 17-27.5 29.4-1.7 3.2-2.4 6.8-3.7 10.2-2 2.4-5.2 1.1-7.3-.2a56.7 56.7 0 0 1-22.2-19.9c-1-2.7-4-7-2.4-9.7 28.8-18.4 53-44.5 70-74 .7-2.5 3-2.8 5.1-2 16.3 5.1 34.2 2 48.2-7.7a65.3 65.3 0 0 0 28-62.7 55.5 55.5 0 0 0-16-31.7A51.3 51.3 0 0 0 749 460a4 4 0 0 0-2.4.5c-.6 11.7-2.8 23.6-5.3 35-6.4 27.2-17 53.5-31.5 77.4a187 187 0 0 1-42.7 49.4c-1.2 1-3.1.9-4.5.2-.8-2-.8-3.4 1-4.8 13.2-24.4 18.7-52 23.6-79.1 4.4-28 7.3-56.3 7.7-84.5.9-11.3 0-24.1-.1-35-2.2 2.1-3.6 5.7-6.3 7.4-2 1-4.5 0-4.7-2.3a196 196 0 0 0-3.2-42c-1.8 6.3-4.3 12.4-5.8 18.8-1.3 2.8-4.2 2.3-5.8 0-4.8-12.4-9-25.2-13-38a341 341 0 0 0-7.5-24.5h-.8c-1.3 3.8-2.1 7.7-3.2 11.5-.6 1.9-2.6 3.3-4.5 3.6-2.8 0-4.6-2.5-6.2-4.4-7-8.9-14.7-18-20.2-27.8l-1 .1c-2.2 5.4-3.2 11-4.8 16.4-1.8 3.2-7.6 3.4-10.8 3.3-6-1-12-4.4-16.7-8.4a65 65 0 0 1-15.4-21.7c-1.8 0-3.4 4-4.2 5.5-1 3.4-1.2 7.2-5.7 7.2-4.5-1-8.7-3-13.1-4.2-10.5-3-22-4.7-33-3.5-4.5 1-8.4 2.7-12.7 4.3-1.6.5-3.7.6-5-.3a6 6 0 0 1-1.8-6c1-5.9 4-10.6 6.9-15.7.3-.5.5-1 .5-1.8h-.4c-17.7 8-33.6 21.3-50.6 31-1.7.7-3.2.2-4.1-1.5-.9-2.6.8-4.2 1.2-6.7-43.3 19.4-86 45.3-119.9 78.7-17.2 17.4-33.6 37.9-41.7 61.2-1 2.9-3.7 3.4-5.6 1-4.8-6.8-8.3-14.9-9.6-23.2a72 72 0 0 1 6.6-44.2c12-24.5 31.7-42.5 54.5-56.8l-.6-2.5a35.1 35.1 0 0 1 .7-24.2c5.4-14.2 17.1-26 28.8-35.1 22.8-17.4 50.3-29 77.9-36.4a233 233 0 0 1 68-7.7c3 0 6-.8 8.9-1.3 3.7-.7 7.4-.8 11.1-1.6 6.3-.8 12.7-.6 19-1.3 9.3-.2 18.7.5 28 1 2.8.5 5.6 1 8.5 1.1-2.5-11.3-3-24 3.3-34.1a41 41 0 0 1 27.2-18.2c10.6-2.6 22.2-2.1 33-1.4a213 213 0 0 1 45 10.7 50 50 0 0 0-10.9-20.2c-1.1-1-1-3.5.2-4.4ZM310.9 497.1c1.6 1.7 1.2 3.7 1.6 5.9a218.6 218.6 0 0 0 115.6 160.8c2.5.8 3.2 4.8 1 6.3-2.6 1.4-5.4 2.2-8 3.1-17 4.7-35.9 3.9-53 .2-2.5-.4-4.5-1.5-7-1.3.7 4 2 8 4.5 11.3.9 1.5 2.4 2.8 1.6 4.6-1.5 2.7-4.4 1.4-6.5.4a90 90 0 0 1-50.8-53.3h-.8a206 206 0 0 0-17 20c-3.5 5-7.4 10-9.2 15.9-.6 2.6-4 2.3-5.1.2-2.2-4-3.4-8.9-5-13.2-7.6-27.8-6.2-58-.2-86 6-26.5 16.6-52.7 32.6-74.8 1.4-2.2 4.2-2.2 5.7 0Z" fill="#000"/><g fill="${p(`${l.hair}`)}"><path d="M686.6 171.2a55.8 55.8 0 0 1 20.6 53A54.4 54.4 0 0 1 686 260c-3.6-1.8-7-4.3-10.9-5.4 8.7-9.1 14.4-20.5 17.3-32.7a74 74 0 0 0-5.8-50.8Z"/><path d="M650.9 181.6c12.5 2.2 24.7 5.7 36.6 10.1 1.4 6.5 1.9 13.9.7 20.4a65 65 0 0 1-18.4 39.8c-4.4-.7-10-3.1-14.8-3.3-3.9-.6-8.4-1.4-12.2-.2-16-8.7-33-14.3-50.8-17.9-2.7-1-6.1-.4-8.5-2-3-11.6-3.6-23.2 3.4-33.6 6-8.3 15.4-12.3 25.2-14.2 13-2.4 25.8-1.4 38.8.9ZM713.5 217.7l.1.2c2.1 6.1.6 14-.7 20.1a93 93 0 0 1-14 31.3l-.6.2c-2.3-2-4.7-4-7.1-5.8 1-1.6 3.4-3 4.8-4.7a59.6 59.6 0 0 0 17.5-41.2v-.1ZM541 231.7a215 215 0 0 1 86.5 15.7c12.3 5.3 24 12 33.3 21.8 1.6 1.4 3 1.3 4.6.2.5-1.5.6-3-.6-4.2-4.2-4.6-8.2-7.3-12.8-11.1a78.4 78.4 0 0 1 46.5 23.4 112.6 112.6 0 0 1 31.2 95.5c-.2 2.5-2 6.4-.1 8.4 1.6 1.1 4 .6 4.5-1.4 1.7-5.8 2-12 2.6-18 .9-18.5-3-37.1-10.5-54 3.8 1.7 7.2 3.7 10.3 6.5a85 85 0 0 1 20.5 33.4c3.4 9.7 6 20 7.5 30 1.4 7 1.3 14 2.1 21.1.2 6.3.4 12.8-.5 19-.8 12.5-3.1 25.9-7.9 37.4-3.5-.7-7.3-1.3-10.8-1.2-1-5.5.9-12.2-1.1-17.5-2.2-1.3-5-.6-4.8 2.3 1 30.2-5.5 61-16.2 89.1a226.6 226.6 0 0 1-49.3 78.6l-.9.2c6.2-14.4 10-30 13.5-45.4A589.9 589.9 0 0 0 700.5 420c-.6-10.4-1.5-20.8-3.1-31-.2-1.5-.2-3-1.7-3.7-2-1.4-4.3.5-4.1 2.7.7 6.6 2 13.4 2.2 20-1.1 3-2.6 6-4.2 8.7 0-5-.2-10.2-.7-15.2-1-5.2-1.1-10.4-2.4-15.5-.5-5.1-2.3-9.9-2.4-15-1-2.5-3.6-3.4-5.4-1.2-2 7.4-4.2 14.9-7.2 22-3.4-10.4-7-20.5-10-31-3-10-5.8-21.2-10.5-30.7-1.2-2.4-4-3.2-5.7-.8-2 5.9-4.3 11.5-5.6 17.7-1.1.4-1.9-1.4-2.6-2-6.4-8.6-13-16.5-18.3-25.8-1.6-2.3-2.8-5.8-5.8-6.4-1.9 0-3.4 1.5-4.2 3-2.9 6.1-4.5 12.4-6 19-6.7 1.9-12-1.6-17.4-5.2A57.9 57.9 0 0 1 570 308c-.8-1.8-1.5-3.8-3.9-3.8-2.5 0-3.9 1.6-5.6 3-3 3-4.5 6.5-5.8 10.4-2.2.4-5.2-1.8-7.5-2.1-7.5-2.6-15.2-4.4-23.1-5.2a46 46 0 0 0-28.4 4.1l-.2-1.3c2-6 6-11.6 8.5-17.3.9-1.9.7-3.6-.6-5.3-2.4-1.6-5.9-.6-8.4.3-16.1 6.8-30.7 18.7-45.8 27.8.9-1.6 2.1-2.8 1.8-4.8-.2-2.3-3-3.3-5-2.1a450.8 450.8 0 0 0-98.1 57c-16.9 13.1-33 28-46.5 44.5a165.5 165.5 0 0 0-23.7 39 51.4 51.4 0 0 1-6.8-24.3 75 75 0 0 1 11.8-41.4c8.8-14.6 21.3-27 34.9-37.1a180.7 180.7 0 0 1 77.7-32.3c2-.6 2.5-3 1.3-4.7-2.2-1.7-5.8 0-8.4.1-13.6 2.8-27.2 7-40 12.7-5.4 2-10.6 5.4-15.9 7.6-.9-3.5-2-7.3-1.8-11a42 42 0 0 1 5.4-17.1 87 87 0 0 1 20.6-23.4c11.2-9.2 24-16.8 37-23a248 248 0 0 1 49.1-16.7c13-2.7 26.3-5.4 39.5-5.4a90 90 0 0 0-29 16.8c-1.2 1-1.2 3-.5 4.4 1.7 1.4 3 1 4.6-.4 6.6-5.9 14.2-10.3 22.4-13.6 19.6-8.2 40.4-11 61.5-11.8Z"/><path d="m771.9 420.3.1.2c4.7 8.5 9.8 16.2 15.2 24.3 6 8.6 12.6 16.7 18.6 25.3 9 12.8 17.2 26.4 23.4 40.8A197.8 197.8 0 0 1 844 571c1 7 1 14.4 0 21.5a76.2 76.2 0 0 1-22.8 47.3c3-8.6 4.4-17.8 5-26.8.3-10 .8-20.7-1.4-30.5a29 29 0 0 0-3-9.5c1.2-3.9 1.6-8 2-12-.1-2.5-3.7-3.2-4.8-1-1.1 3.4-.6 6.8-2 10.1-6 21.5-20.3 40.3-36.2 55.7a227.6 227.6 0 0 1-40.4 30.6 137.5 137.5 0 0 0 14.7-38.3c.3-2.1 1.8-3.6.5-5.8-1.1-1.5-4-1-5.5-.3a227.5 227.5 0 0 0-39.6 23.5c-6.7 5-13.4 9.7-19.3 15.7a62.2 62.2 0 0 0-16.4 25.7c-7.4-3.3-13.4-9-18.4-15.3a16.9 16.9 0 0 1-3.1-6.2 219.4 219.4 0 0 0 55.6-53.4c4.8-6.2 8.6-13 12.9-19.3 2.8 0 5.5.6 8.3 1.2 7 1 14 .9 20.9-.7a69 69 0 0 0 51.6-50 65 65 0 0 0-9.8-56 56.5 56.5 0 0 0-28.7-20.4c4.3-11.8 6.5-24 7.8-36.5ZM306.5 505.2l.5.2h.1A223.8 223.8 0 0 0 421.5 667a106.2 106.2 0 0 1-55.5.1c-2.4-.5-5.4-2-8-1.7-1.4 0-2.2 1.3-2.4 2.7-.2 4.5.9 8.6 2.4 12.8a84.4 84.4 0 0 1-35-31.7 78.4 78.4 0 0 1-11.5-48.1c.4-2.6 1-5.4 1-8-.2-2.5-3.6-3.2-5-1.3a22 22 0 0 0-1.3 6.3 89.4 89.4 0 0 0 1.6 30.1A207.6 207.6 0 0 0 281 662l-.8-.1c-4.9-13.7-6.3-27.5-7-41.9a211.8 211.8 0 0 1 33.3-114.8Z"/></g>`,long11:(a,l)=>`<path d="M653 99c3 1 6.2 1.6 7.2 5-.3 3.2-4 3.6-6.3 5-14.1 6.6-25.1 20.6-32.6 33.9 27-6.7 56.8-1.5 78.6 16.2 3.2 2.4 5.7 5.8 9 8 4 1 8 1.5 12 3a59.2 59.2 0 0 1 36.8 38.1 61.4 61.4 0 0 1-1.5 40.8 63.2 63.2 0 0 1-32 34.1c4.1 6.2 8.1 12.5 11.5 19.2 1.2 2.4 2.5 4.6 4.5 6.5 5 5.2 9.2 10.9 13.2 16.8a235.7 235.7 0 0 1 24 48A232.2 232.2 0 0 1 791 427c.8 9.6 1.3 20-.5 29.5-1 5.1-3 11.3-7 14.9-2.4 1.4-4.2-.6-6.1-1.8a50.3 50.3 0 0 0-32-9.5c.3 21.5-3.7 44.9-14.6 63.7a62.1 62.1 0 0 1-37.8 30.6c-2.6.3-3.8.6-3.9-2.4.9-5.5 3.1-10.8 4.4-16.2 5-17.8 6-37.5 6.8-55.8.1-14.9.4-30-1.1-44.8-.6-9.4-1.5-19-3-28.3-2.3 14.5-6 28.6-12.5 41.8-1.3 2.2-2.4 4.8-5.5 4-2-.5-1.8-2.2-2.2-3.9a114 114 0 0 0-8.8-44.3c-1.9 4.1-3 8.6-5 12.6-1 1.7-1.9 3.6-4.1 3.7-6-1.2-11.5-3.8-17.3-5.4-2-.7-5.1-1.1-5.8-3.5-.6-3.5 0-7.3 0-10.9.2-4.5-.4-8.9-1.3-13.2A88 88 0 0 1 626 405c-1.3 2.2-3 4.6-5.2 5.8-3 .2-6.3-1-9.3-1.5-10.7-2.1-21.3-4-31.8-7-7.5-2-15-4.2-22.7-6-1.6-.6-4.2-1-3.9-3.2 1-6.7 2-13.3 1.8-20.1-.2-10 .4-20.1-.6-30-.4-6.1-1.6-12.2-1.9-18.3-.3 5.8-.8 11.5-1 17.3a96.6 96.6 0 0 1-10.7 40.7c-1 1.8-2.3 4.6-4.7 5-2.2.8-4.6-.2-6.8-.9-25.3-9.2-51-17.9-77-25.2-2.7-.8-5.2-1.5-6.7-4.1a78.6 78.6 0 0 1-9.7-45.7 86.2 86.2 0 0 0-8.3 41.2c0 2.6 1 6.2-2.7 6.6-18-.5-36 2.5-53 8.1-11 3.6-21.7 8.2-31.2 14.9-4.1-2.8-4.8-8.2-6.7-12.6-3.7 7.8-6.7 15.8-10.2 23.6-2.8 6.2-3.8 12.4-6 19-1.2 3.6-1.6 7.6-2.8 11.3-.3 2.2-3.4 2.4-4.8 1-3.2-3.3-4-8.4-4.3-12.9-1.3-17.3.4-34.5 7.6-50.4-1.9 2-3.8 6.7-7.2 4.4a41.2 41.2 0 0 1-16.5-32c-1-17.4 6.8-34.6 17-48.4a153.8 153.8 0 0 1 77.6-54 195 195 0 0 0-35.3 3.6 134.8 134.8 0 0 0-32.2 9.5c-3 1.4-6.4 4.5-9.8 4.5-1.6-1-2.7-2-1.9-4a79 79 0 0 1 9.8-17.3 107 107 0 0 1 102.6-41.2c15.2 2.6 29.5 9 41.2 19.1 14.3-5.3 30.4-8.6 45.6-7a55.7 55.7 0 0 1 .3-56.2c8-15 21.8-26.6 37.9-32 1.9-.5 4.2-1.5 6 0 1.6 1.2.7 4-.5 5.4a64.7 64.7 0 0 0-13.2 48.7c4.1-2.6 8.3-4.8 13-6.3a116 116 0 0 1 61-55.6A72 72 0 0 1 653 99ZM720 576.4c2.3.1 4.7 1 7 1.5 4.7 1.1 9.9 1.2 14.7 1.7.8 3.4.7 4.9-1.2 7.8-4 6-7.3 12.2-11 18.2 11 .2 21.5 1.5 31.4 6.5a29.2 29.2 0 0 1 15 16c2.4 7.5 1 15.4-2.5 22.3a68.8 68.8 0 0 1-19.1 21.9c-2.7 2-5.4 4.2-8.5 5.6-1.5.7-3.4-.5-4.3-1.7-.2-2.7 2.2-5 3.5-7.2a24 24 0 0 0 2.6-18.8 39 39 0 0 0-15.7-21c-6.5-4.7-14-7.8-21.9-9.3-5.7-1.4-12 2-18 1.2-1.7-1-2.9-1.9-2.4-4.1 1.7-2.9 4.6-5 6.7-7.7 3.6-4.1 6.8-8.6 10-13 3.4-5.3 7.3-10.1 10.3-15.7 1-1.4 1.8-3.4 3.3-4.2Z" fill="#000"/><g fill="${p(`${l.hair}`)}"><path d="M650 104.1a79.6 79.6 0 0 0-23.4 20.5 108.3 108.3 0 0 0-22.9 54.4c-1 10 .1 19.2 4.2 28.5-2.1-.6-4.1-1.3-6.2-2.2a99.8 99.8 0 0 0-43.8-7c-4-2-7.9-4.1-11.2-7.3.1-5.7.2-11.2 1.6-16.8a83.1 83.1 0 0 1 14.5-29.4 112.8 112.8 0 0 1 42-34A71 71 0 0 1 650 104Z"/><path d="M538.9 118.2c-2.2 4.5-4.6 8.8-6.2 13.5a68.4 68.4 0 0 0 1.5 51.1 43.7 43.7 0 0 0 13.7 16.7c-7.8 1.2-15.4 3.3-22.9 5.6-4-2.7-8.5-3.4-12.7-5.3a41 41 0 0 1-8.8-19.8c-.8-7.7-.8-15.8 1.5-23.2 5-17 17.7-31.4 33.9-38.6ZM676.2 151.8A72.4 72.4 0 0 1 708 176a58.4 58.4 0 0 1 1.3 67.4c-1.3 1.6-2 5 .8 5.4 1.6.5 2.8-.7 3.7-2a64.3 64.3 0 0 0 0-72.9 53.7 53.7 0 0 1 40.8 49 56.1 56.1 0 0 1-9.7 35 61 61 0 0 1-24.2 20.7c-6.5-8.4-13.6-16-22-22.5a61.6 61.6 0 0 0-37.7-14.5 63.7 63.7 0 0 0-16.4-13.5c-2.7-7.7-7-14.5-14.5-18.3-4.8-2.6-9.8-3-15.1-3.7-.8 0-1.4-.4-1.8-1.3a40 40 0 0 1-4.2-19.8c.2-12 3.8-24.2 8.7-35 19-6 39.8-5.6 58.4 1.8Z"/><path d="M545 165c-2 6.2-3.5 12.4-3.9 18.8a59.2 59.2 0 0 1-5.3-13.5c3-1.9 6-3.7 9.2-5.2ZM402 191.1c18-.2 36.4 5.9 50.6 17.2a156.4 156.4 0 0 0-74.3 67c-2.7 5.3-5.6 11-6.7 16.8 1 3.1 4.4 3.1 5.5.1 5.5-15.2 14.3-29 25.2-40.9 18.3-20 42.3-35.8 68.4-43.4 15.4-4.3 32-5.7 47.2 0a137 137 0 0 0-77 79c-1.6 4-1.9 9.2-4.6 12.4-3.2 4-5.2 9.2-7.2 14a87.1 87.1 0 0 0-6.9 40.6c-5 0-10.1-.1-15.2.5a164.6 164.6 0 0 0-65.2 20.4c-3.3-8.4-6-17-7.6-25.8a95.9 95.9 0 0 1 1.6-49.3c1.2-4.1 4-6.8 2.7-11.3-1.2 0-2.5 0-3.7.3-2.7 3-3.9 7.4-5.1 11a113.6 113.6 0 0 0 2 63.4c-5.3 9.1-8.8 18.9-13.2 28.4-3.3 7.1-4.5 14.5-7 21.8-1.4-19 .6-38 9.7-55 .9-2 2.5-4.2 2.4-6.3-.1-2.2-2.7-3.3-4.5-2a52 52 0 0 0-11.4 10 38.9 38.9 0 0 1-12-34.8c2.5-18.4 13.7-35.9 26.4-49a149 149 0 0 1 71.2-41c2.8-.7 6-.9 8.6-2.4 1.3-.8 1.1-2.1.9-3.5-.8-1.2-2.7-1.7-4-2.1-11-2.1-21.7-1.3-32.8-.4a186.7 186.7 0 0 0-51.7 12.5 100.4 100.4 0 0 1 87.7-48.2Z"/><path d="M599.2 210.4c-3.3 2.6-6.8 5-9.2 8.6-1 1.6-2 3-.7 4.7.9 1.7 3.2 1.3 4.2-.1 4.5-5.2 9.5-10 16.5-11.2 8.3-1 17.2 0 23.2 6.4 4 3.9 5.5 8.7 7.4 13.7a64.8 64.8 0 0 1 26.9 29 202.8 202.8 0 0 1 17.3 48c5.5 21.4 8.2 43.4 8 65.5-.1 21.8-3.2 44.5-11.3 64.9-2-15.3-4.1-29.6-12.5-43 4.9-19.4 3.6-38.8.1-58.4-.6-3.2-.9-7.1-2.6-10-1.3-.4-2.8-.3-4.2-.3-.3 2.5-.2 4.8.4 7.3 2.3 11 3.4 22.3 4 33.5 0 15.8-3.2 31.5-9.4 46-5.8-1.7-11.6-3.7-17.5-5.5 1-10.3.8-22.1-3.2-31.9 4.7-21.8 5.9-44.4 4.4-66.7-1.4-16.1-3.5-33-9.7-48.1-1-2.8-5.6-2-5.3 1 1.4 5.8 3.9 11.3 5 17.2 5.1 23.8 6 48.8 3.6 73-2.1 17.6-5 35.8-14.8 51-11.4-2.2-23-4.2-34.3-6.8-8.8-2.2-17.5-4.6-26.3-6.9 1.8-10.2 1.5-20.2 1.5-30.5.1-19-2.5-38.1-7-56.6-.8-2.4-1.2-6.1-3.6-7.5-2.5-.5-4 .7-3.9 3.2a572 572 0 0 1-.4 41c-.5 14.6-4 29-11 41.7-15.6-5.5-31.5-11.3-47.3-16.2-12-3.8-24.2-7.2-36.3-10.6a75 75 0 0 1-8.7-51.8 114 114 0 0 1 29-56.6c18.6-20.4 43.8-35.5 71-41a98 98 0 0 1 56.7 4Z"/><path d="M665.9 247.5c5.5.8 10.9 2.3 16 4.8 15.2 7.3 27.4 20 37.1 33.7 17.4 24.8 28.1 54.6 32 84.6.6 4.6.8 9.1 1.5 13.7l2.5 1 2.6-1.2c.3-7.7-1-15.5-2.2-23-1.9-12.3-5.6-24-9.2-35.7a217 217 0 0 1 23.7 44.6c8.1 20.4 14.2 42.1 16 64 .6 10.6.3 22-4.8 31.6a59.9 59.9 0 0 0-35.8-11.4c-.7-14.1-2.8-28-6.6-41.7-1.5-5.4-2.9-11.2-5.5-16.1-1.2.2-2.5.5-3.6 1-1.4 1.8-.4 3.2 0 5a189 189 0 0 1 9.5 46.1c1 8.7 1 17.8 0 26.5a109.7 109.7 0 0 1-14 47.2 58.3 58.3 0 0 1-29 25.3c2.6-8.7 5.2-17.2 6.5-26.3 1.5-10.3 2.7-20.8 2.9-31.2a371.2 371.2 0 0 0-5.5-91.1c-.7-3.2-2-6-2-9.1.1-4 .6-7.9.7-11.8.2-10.6-.6-21.4-1.5-32-2-19.8-6.5-39-12.4-58-4.4-14.2-10.8-28-19-40.5ZM721.8 582.3c4.7 1 9.4 1.9 14.3 2.2-5.3 7.6-9.5 16-15 23.5 2.5 2.3 4.5 3.4 8 3.4 9 0 17.7 1 26.1 4.4 4.6 1.9 9.2 4.8 12.3 8.7a18.8 18.8 0 0 1 3.2 16.5 51.7 51.7 0 0 1-17.7 25c1.4-5.7 1.8-11.5.2-17.3a44.4 44.4 0 0 0-19.7-25.3 45.8 45.8 0 0 0-34.4-8.5 170 170 0 0 0 12.2-16.5c3.7-5.3 7.4-10.4 10.5-16.1Z"/></g>`,long10:(a,l)=>`<g fill="#000"><path d="M667.8 98c1.7.8 4.2 1.4 5 3.2a3 3 0 0 1-2 4.3c-4.2.8-8.6 1.2-12.8 2.5a81.4 81.4 0 0 0-41.9 27.8c16-3 32.1-.5 47 5.5 3.7-.7 7.2-.8 11-.5a93 93 0 0 1 42 14.1 87 87 0 0 1 34.4 40.7A70.7 70.7 0 0 1 755 234a65.8 65.8 0 0 1-26 42.6 146.7 146.7 0 0 1 17.2 34.2c1.7 4.8 4.5 8.4 7 13 16.2 28.9 26.7 61.2 30 94.2 1 15.1 1 30.6-2.6 45.5-.7 2.3-1.4 5.5-4.5 5.2-2.9-1-5.5-3.1-8.4-4.4-9.7-5-21-5.6-31.6-3.6A51.8 51.8 0 0 1 739 483c-1.2 14-6.5 27-14.3 38.6-8 12-18.7 22-31.7 28.4-1.5.7-3.2 1.5-5 1.4-1.4-.5-2.5-1.8-2.1-3.4 1.1-3.9 3.6-7.3 5-11.1 10-24.4 12.3-52.1 9.2-78-.8-4.4 1.4-7.2 2.8-11 3.2-8.4 5.8-17.1 8.3-25.7l-23 8c-2.2.5-4.6 1.6-6.6.2-.8-5.7-.4-11.6-.7-17.4-1.1-15.6-3-30.8-4.7-46.2-.9-7.2-2.3-14.3-3.4-21.5a35.2 35.2 0 0 1-16.8 11.8c-3.2-.8-3.5-3.4-1.1-5.5 8.8-3.3 15-10.4 18.9-18.8 6.6-14.7 6.6-30 5.2-45.8 0-3.6 4.7-3.9 5.5-.6A97.7 97.7 0 0 1 681 330c-1 3.1-2.7 6-3.9 9.2-.2 1.6.4 3.4.6 5 4 18.3 5.8 37 7.8 55.8 1 8.3 1 16.7 1.2 25 8.8-3 17.4-6.3 26.1-9.3.9-3 1.4-6.3 3-9 1.4-1 2.3-1.2 3.8-.3 1.1 1.9.5 3.8 0 5.8a370.5 370.5 0 0 1-14.1 43.7c3.5 29 1.3 59.9-10.9 86.7a82.3 82.3 0 0 0 34-41c3.9-10.1 6.2-22 3.9-32.6-.8-3.9-2.2-7.7-4.4-11-1.1-2.1-2.8-3.5-2.3-6 1.5-1.2 2.2-1.7 4.1-1 1.5 1.2 2.7 3.1 3.9 4.7 10.5-2 21-2.3 31.2 1.3 3.5 1.3 6.9 3 10.1 4.7 4.7-20.3 3.4-40.5-.1-60.9-4.1-21.7-11-43-20.9-62.8 2.5 14.3 4.9 28.4 5.5 43 .3 5.9 1.2 11.9-.1 17.7-1.8-.3-3.8.4-4.7-1.6-.7-3.3-.3-6.8-.5-10.1-1-17.6-3-35-7-52.2-4.3-17.8-10.7-36-20.6-51.4a72.8 72.8 0 0 0-29.6-27.6c-7-3.3-14.6-4.4-22.4-4.3 2.5 4.4 5.3 8.9 7.1 13.7.7 1.7.4 2.8-.4 4.3-1.8.6-3.5.6-4.4-1.4-3-6-5.5-12-10.1-17-4.5-6.8-10-13-17.7-16.3-4.6-1.9-9.8-3.5-14.7-2a49 49 0 0 0-16.6 9.4c-2.5 1-4.2-2-2.8-4 2-2.8 5.6-4.6 8.5-6.5-4.8-4-10-7.3-15.9-9.4-10.1-3.7-21-5.2-31.7-6-13-.8-24.7 3-36.8 7.2-3.9 1.2-7.4 3.4-11.2 4.8-2.5.8-3.9-2.9-2.1-4.3 6.6-4.7 16.1-6.8 23.7-10-4.6-.8-9-1-13.6-.7-22.6 1.8-46 4.2-68 10.1a237 237 0 0 0-38.9 13.6c-12.3 5.9-24.7 13-34.9 22.2a56.2 56.2 0 0 0-17.7 27c-3.3 11.7-1 25.6 1 37.3A361.8 361.8 0 0 1 427 285c3-1.7 6.6-4.2 10.1-4.2 2.2 1.3 3 2.8 2 5.3-3 7.4-6.6 14.7-9.1 22.4 9.1-6.1 18.2-12.2 27.8-17.6 5.7-3.2 11.8-6.7 18-8.7A300.3 300.3 0 0 1 509 243c1.4-1.2 3.2-2.5 4.8-.8 2 1.6-.5 4.4-1.8 5.8a308 308 0 0 0-30.6 36.4 91.9 91.9 0 0 0-14.3 25.8c9.1-4.3 18-8.9 27.5-12.6 5.2-2 9.7-4.6 15.4-5l1.8 2.7c-2.4 3-5.6 3.2-8.9 4.6a360 360 0 0 0-33.3 15.7c-2.4 1-5 2.8-7.6 1.6-1.2-1.3-1.6-2.3-1.3-4.2 1.2-8.3 5.5-16 9.8-23-14 7.5-27.4 16-40.1 25.4-2 1.4-3.6 2.9-6.3 1.6-2.2-2.2-1-5.6-.4-8.3a203 203 0 0 1 8-20 354.5 354.5 0 0 0-51.7 40.4c-1.8 1.3-2.9 3.3-5.4 2.4-2.5-3.7-2.5-9.3-3.5-13.5-9.2 9-16.4 19.5-24.7 29.4-3.3 3.9-5.8 8.2-8.8 12.2-1 1.4-2.5 1.3-4 .9-1.9-1.8-1.6-4.6-2-7a57.6 57.6 0 0 1-26-46.5c-.4-14.4 4.6-28 12.5-40 10-15 24.6-27 40.6-35.3 1.8-.8 4.4-2.2 5.9-.3 1.6 2 1.2 3.2-.2 5a157 157 0 0 0-21.2 37.8c-3.9 10.5-6.5 23-4 34.2 8.7-15.2 22.2-28 36.9-37.3 2.3-2 3.7-5 5.7-7.3a115.6 115.6 0 0 1 34.4-26.7 199 199 0 0 1 44.4-17.5c18-5.5 36.5-8.2 55.2-10.3-3-3.1-5.9-6.2-8.2-10a61.5 61.5 0 0 1-8.7-34.3c.7-14.1 5.3-28 13.8-39.3a55.5 55.5 0 0 1 34.6-22.5c3.2-.8 6.6 3.5 4.2 6.3a87.9 87.9 0 0 0-14.6 38.5c-.6 6.2-.3 12.4.5 18.6a50 50 0 0 1 16-13.3c2.6-1.6 5.2-2.3 6.7-5.2 13.4-25 37.6-44.4 65.1-51.3 13.8-3.4 29.1-3.4 42.6 1.3Z"/><path d="M593 274.3c1.3 1.1 2.2 1.8 2.1 3.6.3 11.8 1 24.8 5.4 35.8-2.6 1-4.5 2-6-1.2-3.4-9.2-4.2-19.7-4.8-29.5.2-3.5-1-7.4 3.3-8.7ZM574.3 281.5c1.1 1 3 2.8 1.7 4.3-2.6 3.1-6.6 5-9.8 7.5-9.2 6.8-19 13.8-26.8 22.2-1 1-1.7 1.9-3.3 1.6-2.2-1-3.3-3.8-4.4-5.9-3.2-7-6-14.6-6.7-22.3.3-1.1 0-3.2 1.1-3.9 1.7-1.3 3.8-.1 4 2 1.1 8.2 3.5 15.6 7 23.1 8.2-8 17.1-15 26.3-21.7 3.6-2.6 6.8-5.2 11-7ZM624 301.6c3 .8 5 4.3 6.7 6.6 6.4 9.4 13.6 18.6 19.2 29 1.4 2.6 2.4 5.4 3 8.4-1.3.5-2.7.8-4.1.9-2.2-3-3.3-6.8-5.3-10-6.2-9.9-13.4-19.2-20.2-28.7-4 5.4-7.8 11.3-12.8 15.7-2.8 1-3.2-.9-4.4-2.9 3.7-4.8 7.8-9.2 11.2-14.3 1.6-2.2 3.5-5.4 6.7-4.8ZM311 417c2.3-.3 3 1.3 4.4 2.6-2 6.7-2.8 13.5-3.3 20.4-.4 2.8-.5 6-1.7 8.5-2 2.2-5 3.5-7.4 5.4a64.1 64.1 0 0 0-15.1 18c-7.4 12.5-12.1 26.7-13.5 41.1-.5 3.8.3 8.5-1.4 12-1.6 2.2-3.8.9-5.4-.6a50.1 50.1 0 0 1-14.3-29.2 72.3 72.3 0 0 1 27-64.9c8.8-6.9 19.6-12 30.7-13.3ZM720.9 576.9c4.9 1 10 2.2 15.1 2.6 2.8 0 5.3-.8 8-.8 1.8 1.7 1.9 4.1 1 6.3-1.2 3.3-4 6-6.4 8.6 9.2-.2 18.3 1 26.7 5.1 7 3.3 12.8 8.8 16.2 15.8a54 54 0 0 1 4.6 28.5 146 146 0 0 1-10 38.8c-1.3-.5-3.4-.4-4-2-1.3-3.5-2-7.2-3.5-10.6a79.4 79.4 0 0 0-67.6-47.7c-3.2-.2-6.7.1-9.9-.5-2.1-2-1.8-3.8 0-5.8 7.1-8 13.8-16.4 20-25.2 2.3-3.4 3.9-7.3 6.1-10.8.8-1 2.3-2.5 3.7-2.3Z"/></g><g fill="${p(`${l.hair}`)}"><path d="M659.5 101.6a85 85 0 0 0-41 23 89 89 0 0 0-25.2 50.4c-2 12.7-.6 26 3.3 38.2-7.2-1.2-14.2-2.6-21.6-2.6-2.4-.1-4.5.3-6.5-1a65.7 65.7 0 0 1-13-10.1 71.8 71.8 0 0 1 1.3-26.7A93.9 93.9 0 0 1 582 128a95 95 0 0 1 49-26.6c9.3-2 19-1.9 28.4.1Z"/><path d="M544.3 109.8c-3 5.6-6.1 11.2-8.3 17.2a75 75 0 0 0-2.6 46.8 71 71 0 0 0 27.5 37.8l-4.2.9c-3.7-2.4-7-5-11.7-5a128 128 0 0 0-20.5 1 45 45 0 0 1-18.7-29.3c-3-15.7.2-32.2 8.6-45.8 7-11.1 17.1-20 29.9-23.6ZM635 140.5a75 75 0 0 1 54.8 28.6 65.3 65.3 0 0 1 13.5 43.9c0 2-.5 4.5.4 6.4 1.7 2 4.4 1 4.8-1.5 1.6-9.7.5-20-2.3-29.4a75.3 75.3 0 0 0-33-42c2.9.5 5.8.7 8.6 1.2a84.6 84.6 0 0 1 62.5 48c5.4 12 6.9 25.4 5 38.3a61.3 61.3 0 0 1-23.6 38 67.7 67.7 0 0 0-35.7-24.8c-6.5-1.9-12.8-1.4-19.5-1.3a45.2 45.2 0 0 0-20-16.6c-7.2-3-14.3-3.5-21.6-.5a60.2 60.2 0 0 0-25.6-14 80.4 80.4 0 0 1 8.4-72.8c7.9-1 15.3-2.3 23.3-1.5Z"/><path d="M555 158.5h.1a85.1 85.1 0 0 0-6 33.9c-4-5.6-7.8-11.8-9.5-18.5 3.2-7.1 9-11.3 15.4-15.4ZM536 213.3c4.6-.3 9 0 13.6.8-7.6 3.1-17 5.2-23.8 9.9-1.7 1.4-.3 5 2.2 4.2 3.8-1.3 7.3-3.5 11.2-4.7 12.1-4.2 23.8-8 36.8-7.2 10.8.8 21.6 2.3 31.8 6 5.8 2.1 11 5.4 15.8 9.4-2.9 1.9-6.5 3.7-8.5 6.5-1.4 2 .3 5 2.8 4a49 49 0 0 1 16.6-9.4c5-1.5 10.1.1 14.7 2a41.4 41.4 0 0 1 17.7 16.3c4.6 5 7 11 10 17 1 2 2.7 2 4.5 1.4.8-1.6 1-2.6.4-4.3-1.8-4.8-4.6-9.3-7-13.7 7.7-.1 15.3 1 22.4 4.3a72.8 72.8 0 0 1 29.4 27.6c10 15.4 16.4 33.6 20.6 51.4 4.1 17.2 6.2 34.6 7 52.2.3 3.3 0 6.8.6 10.1 1 2 2.9 1.3 4.7 1.6 1.3-5.8.4-11.8 0-17.7-.5-14.6-2.9-28.7-5.4-43a239.6 239.6 0 0 1 20.9 62.8c3.5 20.4 4.8 40.6.1 60.9a87.2 87.2 0 0 0-10-4.7 59.2 59.2 0 0 0-31.4-1.3c-1.1-1.6-2.3-3.5-3.8-4.7-2-.7-2.6-.2-4.1 1-.5 2.5 1.2 3.9 2.3 6 2.2 3.3 3.6 7.1 4.4 11 2.3 10.7 0 22.5-3.9 32.5a82.3 82.3 0 0 1-34 41.1 163.4 163.4 0 0 0 10.9-86.7 370.5 370.5 0 0 0 14.2-43.7c.4-2 1-4 0-5.8-1.6-.9-2.5-.6-4 .3-1.5 2.7-2 6-2.9 9-8.7 3-17.3 6.3-26 9.3-.3-8.3-.3-16.7-1.3-25-2-18.8-3.8-37.5-7.8-55.8-.2-1.6-.9-3.4-.6-5 1.2-3.2 2.9-6 4-9.2 4.8-13.8 5-29.3 3.3-43.6-.8-3.3-5.6-3-5.5.6 1.4 15.8 1.4 31-5.2 45.8a34.7 34.7 0 0 1-19 18.8l-1.7-6c-.7-3-1.7-5.8-3.1-8.5-5.6-10.3-12.8-19.5-19.2-29-1.7-2.2-3.8-5.7-6.7-6.6-3.2-.6-5 2.6-6.7 4.8-3.4 5-7.5 9.5-11.2 14.3-2-2.3-4.2-4.2-5.6-7-4.5-11-5.1-23.9-5.4-35.7 0-1.8-.8-2.5-2.1-3.6-6.5.3-13 4.3-18.7 7.2-4 1.7-7.3 4.3-10.9 6.9a245.9 245.9 0 0 0-26.3 21.7c-3.5-7.5-5.9-15-7-23.1-.2-2.1-2.3-3.3-4-2-1 .7-.8 2.8-1 3.9-5.2 1-10.1 2.2-15 3.8-5.8.3-10.3 2.9-15.5 4.9-9.4 3.7-18.4 8.3-27.5 12.6 3-9.6 8.4-17.7 14.3-25.8A308 308 0 0 1 512 248c1.2-1.4 3.7-4.2 1.8-5.8-1.6-1.7-3.4-.4-4.8.8a300.3 300.3 0 0 0-33.2 39.1c-6.2 2-12.3 5.5-18 8.7a390.3 390.3 0 0 0-27.8 17.6c2.5-7.7 6-15 9.2-22.4.9-2.5.1-4-2-5.3-3.6 0-7.2 2.5-10.2 4.2a361.8 361.8 0 0 0-49.6 38.6c-2-11.7-4.2-25.6-1-37.2a56.2 56.2 0 0 1 17.8-27.1 145.2 145.2 0 0 1 35-22.2 237 237 0 0 1 38.9-13.6c21.8-6 45.3-8.3 68-10ZM355.3 240.2c-4.7 6.5-8.8 13.5-12.5 20.6a86.2 86.2 0 0 0-10.2 36.2c0 6.6 0 13 3.3 18.9-3.8 10-3.8 20-4.4 30.5a51.8 51.8 0 0 1-20.2-40.4 66.9 66.9 0 0 1 12.2-36.5 102.6 102.6 0 0 1 31.8-29.3ZM372 280.8c-3.5 10.3-2.7 20.4-2 31a155.1 155.1 0 0 0-17.3 18.8c-5 6.5-10.5 12.6-15.4 19.1.4-11.4 0-22.2 4.5-32.9a91.1 91.1 0 0 1 30.2-36ZM309 423c-1.5 6.8-2 13.7-3 20.5 0 2-1.8 2.4-3.1 3.4a63 63 0 0 0-18.5 19.5c-9.6 15.1-14.8 32.4-16.2 50.1a47.2 47.2 0 0 1-9.7-27.5c-1.3-29.9 20.8-60.1 50.5-66ZM721.4 582.8c5.8.9 11.5 2 17.4 2a60 60 0 0 1-30.9 18.9c3.6-4.9 7.2-9.4 10-14.8 1.1-2 2.2-4.2 3.5-6.1ZM737 599.2c10.1-.2 22 1.4 30.4 7.4A31.5 31.5 0 0 1 780 629a95.6 95.6 0 0 1-5.3 40 84.5 84.5 0 0 0-76.7-53.3c1.5-1.6 3-4.6 5-5.5 9.6-1 18.4-4.7 26.5-9.7 2.4-1.6 4.8-1.2 7.5-1.3Z"/></g>`,long09:(a,l)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M692.5 249.5a208.4 208.4 0 0 0-52-34 95.6 95.6 0 0 0-56-4.8A255 255 0 0 0 546 221l-1.9.7a192 192 0 0 0-20.5 8.5c-1.2.5-2.3 1-3.7 1-4.7-.2-9.5-1.2-14.2-2.1l-2.3-.5a876.7 876.7 0 0 0-31.8-4.8c-7.4-1-14.8-2-22.2-3.2-7.4-.8-15-1-22.3 0-10 1.8-19.8 5.2-29 9.5a437.1 437.1 0 0 0-50.6 27.4 324.7 324.7 0 0 0-43 33 225.3 225.3 0 0 0-32.1 35.9c-13.1 17.9-23.2 40.1-24.2 62.5a175.4 175.4 0 0 0 5.6 54c2.4 10 4.5 20.1 6.5 30.2l2.1 10 2.3 11.5a135.4 135.4 0 0 1 3.3 40.3 193.3 193.3 0 0 1-20 58c-3.7 7.7-7.4 15-11.2 22.4a517 517 0 0 0-18.8 39.7c-7.4 19-12.2 38.5-12 58.9a116 116 0 0 0 8.2 41.7 69 69 0 0 0 14.4 21.6 203.5 203.5 0 0 0 35.4 27c13.6 9.3 27.5 19 36.7 33a57 57 0 0 1 11 32.7 33.3 33.3 0 0 1-8.8 21c-1 1-2 2.1-2.8 3.3-1 2-.2 3.4.9 5 0 .2 0 .3.2.4 2.2 0 4.4-.1 6.5-1a123.6 123.6 0 0 0 64.6-50.3 83.4 83.4 0 0 0 13.8-42c10.9 14 26.7 22.1 43.8 25.6 16.8 3.6 33 3 50 2.2 16.5-1.7 32.7-5.5 47.8-12.4 10.2-4.4 19.4-10 28.8-15.8l6.4-4 8.8-5.5c5.3-3.3 10.5-6.6 16-9.7a343 343 0 0 1 33-16.8 263 263 0 0 1 71.2-20.3 196 196 0 0 1 29-2c24.9-.3 50.2 3.8 72.9 14.3 13.9 6.5 27 15 39.5 23.6 2 2 7.1.4 6.8-2.6-.9-2.3-2-4.4-3.2-6.5-1.6-3-3.2-6-4-9.5a48.8 48.8 0 0 1-1.8-13c.9-14.4 3.8-28.5 8.4-42.2 2.3-7.6 5.3-14.9 8.2-22.2 2.6-6.2 5-12.4 7.2-18.7 6.9-19.4 10-40.4 8-60.9-1.1-15-6-29.8-12.8-43.2-3.9-7.8-8.3-15.3-12.8-22.9-4.5-7.6-9-15.2-13-23.1a91.4 91.4 0 0 1-7.9-22.6c-3.5-16.7-5.2-33.9-7-51-1-10.8-2.1-21.5-3.6-32a151.5 151.5 0 0 0-10.5-41.4c-6-14.1-13.6-27.6-21.4-40.8-6.3-9.3-13.7-18-21-26.5l-2-2.4c-13.5-15.7-29.7-29.7-45.7-43.4l-12.8-11.2Zm-122 164.9c-35.9-28-65.4-66.5-78.6-110.4-3 .3-5.9.6-8.7 1.4-27.7 6.4-55 15.7-80.5 28.3a243.8 243.8 0 0 0-78.5 61.5c-1 1.3-2 2.7-2.5 4.3A218.2 218.2 0 0 0 717 579c.9-1.7 2.2-2.4 3.8-3.2 11.9 4.1 24.8 4 36.6-.3a64.6 64.6 0 0 0 41.8-60.5 55.5 55.5 0 0 0-17-41.2 51.4 51.4 0 0 0-30.2-13.6c-9.9-.8-19.7.8-28.6 5-.4 10.6-6 20.1-11.3 28.9-6.2 10-12.9 20.5-22.6 27.4-2 1.7-5.5.3-4.8-2.5 4.4-17.9 1.2-38.3-2.7-56-1.4-.7-3-.9-4.8-1l-3-.5a235.9 235.9 0 0 1-103.6-47.1Z" fill="#000"/><g fill="${p(`${l.hair}`)}"><path fill-rule="evenodd" clip-rule="evenodd" d="M628 217.3a87.7 87.7 0 0 0-31-2.8 269 269 0 0 0-61.8 16.8c-4.9 1.7-9.6 4.1-14.2 6.5-3.7 1.9-7.3 3.7-11 5.3-2.9 1-4.7-.8-3.5-3.6a27.8 27.8 0 0 1 6-3.6c-13-2.5-26.4-4.3-39.7-6L459 228c-11.1-2-23-3.4-34.2-1a123 123 0 0 0-22.3 7.6 423.4 423.4 0 0 0-50.7 27.2 313.8 313.8 0 0 0-41 31c-10.1 8.6-19.1 18.3-27.3 28.8a137.5 137.5 0 0 0-24.7 43.2 107.7 107.7 0 0 0-5 38.2c.5 15 3.7 29.3 7 43.8 1.4 6.5 2.9 13 4.1 19.7 1.4 5.7 2.5 11.5 3.6 17.3l3 15c2.9 13.3 3.9 26.7 1.5 40.2-3 21-12 41-21.3 59.8-3.2 6.8-6.7 13.6-10.1 20.3-5.1 10-10.2 19.9-14.6 30a181.2 181.2 0 0 0-12.8 39.8A124.8 124.8 0 0 0 216 743a67.7 67.7 0 0 0 17.2 30.6c9.7 9.4 20.5 16.8 31.8 24.1l3 2c13.4 9.5 27 19 36.4 32.7a62 62 0 0 1 13 37.5c0 7.9-2.8 15.1-7 21.7a118 118 0 0 0 58.1-48 76.2 76.2 0 0 0 11.9-40.7v-5.3l1.2-.4c1-.4 2.2-1 3.4-.6 1.2 1 2 2 3 3.3l.4.5a64.5 64.5 0 0 0 15.8 15.3c13.9 8.7 29.6 11.9 45.7 13 21.1 1 41.8-.4 62-7 13-4.5 25.3-10.5 37-18a752 752 0 0 0 16.6-10.3c10-6.2 19.7-12.4 30.2-17.8 22-11.7 45.3-20.9 69.4-27 35.5-8.3 74-10.1 109.3 0a200 200 0 0 1 56.5 28.1 55.7 55.7 0 0 1-4.5-33.8c1.2-10.4 3.6-20.6 6.8-30.5 2.7-8.9 6-17.2 9.3-25.5 4.8-11.8 9.4-23.5 12.2-36.5 4.6-21.1 4.4-43.4-2.6-64-4.6-14-12.3-27-20-39.9a362 362 0 0 1-12.6-22.4c-4.3-8.3-7.3-17-9-26.2a505 505 0 0 1-6.8-50.5c-1.5-15-3-29.9-5.7-44.5-2.6-14-7.6-27.4-14.1-40a436 436 0 0 0-16.8-30.1c-4.4-6-9.3-11.8-14.2-17.4l-3.4-4A320 320 0 0 0 712 274l-8.5-7.4c-10.4-9-20.8-18.1-32-26.3-13-9.7-27.8-18.8-43.5-23Zm-57.4 197c-36-28-65.5-66.4-78.7-110.3-3 .3-5.9.6-8.7 1.4-27.7 6.4-55 15.7-80.5 28.3a243.8 243.8 0 0 0-78.5 61.5c-1 1.3-2 2.7-2.5 4.3A218.2 218.2 0 0 0 717 579c.9-1.7 2.2-2.4 3.8-3.2 11.9 4.1 24.8 4 36.6-.3a64.6 64.6 0 0 0 41.8-60.5 55.5 55.5 0 0 0-17-41.2 51.4 51.4 0 0 0-30.2-13.6c-9.9-.8-19.7.8-28.6 5-.4 10.6-6 20.1-11.3 28.9-6.2 10-12.9 20.5-22.6 27.4-2 1.7-5.5.3-4.8-2.5 4.4-17.9 1.2-38.3-2.7-56-1.4-.7-3-.9-4.8-1l-3-.5a235.9 235.9 0 0 1-103.6-47.1Zm-77.4-131.9c-.3-2.2-.6-4.4-1.2-6.5-.5-1.9-2.2-1.7-3.7-1.6l-.8.1c-1 2.8-.6 5.3-.2 8l.2 1.6c.8 5 1.8 9.8 3 14.7A305.3 305.3 0 0 0 445 310c-35.4 11.8-70.7 29-98.5 54.3a258.7 258.7 0 0 0-50 59.1A146 146 0 0 0 285 446c-1.1 3.3 1.6 5 4.4 3.3 1-1.3 1.6-2.8 2.3-4.3l.7-1.6c5.2-11.5 12-22.2 19.5-32.3a227.2 227.2 0 0 0 3.5 128.7A224.7 224.7 0 0 0 489 690.4c12.2 2.3 24.6 3 37 3.6 5 .1 10-.3 14.9-.6l7-.5a224.8 224.8 0 0 0 173.8-110.3c2 .2 4 .5 5.9.9A65 65 0 0 0 781 568a71.2 71.2 0 0 0 21.4-71.6 58.4 58.4 0 0 0-31.7-37.2 60 60 0 0 0-42.4-2.3c-3.8.1-7.6.4-11.4.7-6.3.5-12.6 1-19 .5-24.3-.9-48.2-7.2-70.5-16.7a246.9 246.9 0 0 1-92.3-69.6 192.4 192.4 0 0 1-41.3-84.7l-.7-4.8Zm77.4 132c-36-28-65.5-66.5-78.7-110.4-3 .3-5.9.6-8.7 1.4-27.7 6.4-55 15.7-80.5 28.3a243.8 243.8 0 0 0-78.5 61.5c-1 1.3-2 2.7-2.5 4.3A218.2 218.2 0 0 0 717 579c.9-1.7 2.2-2.4 3.8-3.2 11.9 4.1 24.8 4 36.6-.3a64.6 64.6 0 0 0 41.8-60.5 55.5 55.5 0 0 0-17-41.2 51.4 51.4 0 0 0-30.2-13.6c-9.9-.8-19.7.8-28.6 5-.4 10.6-6 20.1-11.3 28.9-6.2 10-12.9 20.5-22.6 27.4-2 1.7-5.5.3-4.8-2.5 4.4-17.9 1.2-38.3-2.7-56-1.4-.7-3-.9-4.8-1l-3-.5a235.9 235.9 0 0 1-103.6-47.1Z"/><path d="M718.1 463.6c-.1 2.6-.2 5-1 7.6-2.6 9-7.9 17-13 25a126 126 0 0 1-12 15.7c1.4-16.5-1-32.4-4.5-48.6 10.2 1 20.3.9 30.5.3Z"/></g>`,long08:(a,l)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M509.5 150.5c-6-1.8-12.2-3.6-18.4-4.2-1.9 0-3 1.4-3.2 3.2-.7 7.5-.7 15.2-.5 22.8-6 1.8-11 4.6-15.9 8.8v-1.6c.2-3.7.4-7.2-1.3-10.7-2.7-6.1-9.6-10-16.2-9-4.3.5-8 3.5-10.2 7-3.7 6-5.3 13-3.1 19.9-6.5-4.5-15.8-7-23.5-4.8-.1-4.2-.7-8.6-3-12.2-.9-1.3-2.2-1.7-3.6-1-7.4 3.4-14.2 8-18.9 14.8l-.7-.8a9.6 9.6 0 0 0-4.4-3.1c-5-1.4-10.6.3-14.7 3.3a36.6 36.6 0 0 0-8.6 11.7c-3-5.7-7.7-9.7-14.2-10.6-9.9-1.3-20 7-20.7 17-.5 6 1.6 11.3 5.9 15.4-5.9 2.9-12 7-15 13a25.1 25.1 0 0 0-1.4 20c-4.7 3.7-6 10.4-4.2 15.9a22 22 0 0 0 4 6.7l.4.4-.6.4a18.7 18.7 0 0 0-5.9 4.8c-4 5.6-4.4 13.6-.2 19.2a137 137 0 0 0-24.7 59.2 117 117 0 0 0 .8 41l.5 2.5a18 18 0 0 1 .6 8c-.7 3.6-1.7 7.2-2.7 10.8l-1.3 4.5a510 510 0 0 0-16 88.2 688 688 0 0 0-3 57.6l-.2 10.4c.4 34.7 1.5 68.4 7.1 102.8a373 373 0 0 0 15.9 59.7c3 9 6.7 17.5 11.5 25.6 1.1 1.8 2.7 2.3 4.6 1.4 1.3-1.3 1.1-2.7 1-4.3l-.2-1.2a273.6 273.6 0 0 1 .4-84.1c1-7.6 2-15.2 3.6-22.8 0 4.1.4 8 1 11.9l.5 5c3.3 23.5 8 46.4 16.6 68.6a495.6 495.6 0 0 0 11.2 25.8l1.2 2.6c1 2.3 2.1 4.6 3.5 6.7 1.6 2 3.9 1.6 6 1.3l1.2-.1c28-4.2 56.2-7.5 84.5-9.4 17.6-1.4 35.3-1.9 53-1.4 18.6 0 37.5 3.1 55.5 7.4l17.2 4.7c13.5 3.8 26.9 7.5 41.3 9.3 20 2.8 40.7.4 59.5-6.8 12.6-4.8 24.2-13 34.3-21.9 9.6-8.6 18.3-17.8 25.8-28.3a93.6 93.6 0 0 0 14.9-29c1.8 7 3.3 14.1 4.1 21.3 1.2 7.4 1 15 1 22.7l-.1 5.5a130.5 130.5 0 0 1-4.8 32.8c-.4 1.7-1 3.7.4 5.1 1.6 1.5 3.6.7 4.8-1a206.8 206.8 0 0 0 19.3-32.7 397.2 397.2 0 0 0 32.3-113 613.8 613.8 0 0 0 5.9-101.5c0-1.2 0-2.5-.7-3.4-1.1-.6-2-.3-3 0l-1 .2a58.2 58.2 0 0 1-32 35.2 62.2 62.2 0 0 1-42.6 1.6c7-21.1 13.6-42.6 18.4-64.3 4-17 6.5-34 9-51.2A48.5 48.5 0 0 1 789 481c1 1.6 2.3 2.7 3.8 3.7l1-1c1.1-.9 2-1.6 1.6-3.6-5-47-14.7-93.7-30.1-138.4 5.5-.2 10.8-1.3 15-5.2 4-4.3 4.6-10.7 3.5-16.2-.8-3.8-2.7-7-4.8-10.1 6-1 12.3-2.7 15.5-8.5a17.8 17.8 0 0 0-6.2-22.6l.4-.6c1.4-2 2.7-4 3.2-6.4 1.3-6.5-2.2-13.8-6.6-18.4-4.5-5-11.5-6.6-18-5 2.3-4.6 3.5-9.4 3.1-14.6-.1-4.4-1.9-8-3.8-11.9 2.7-4.5 5-9.9 5.2-15.1.2-3-2.8-3.6-5.1-4l-.8-.2a66.5 66.5 0 0 0-33 .9c-.6-5.7-1.9-11.4-3.9-16.7-.3-1.7-2.6-2.5-4-2-10.6 4.3-21.4 9-27 19.7-3.8-.3-7.4-.4-11.2 0 2.4-4.3 4.3-8.6 4-13.7.2-6-3-12.2-9-13.9-7.4-2.2-17.8 0-21.9 7-2.3 3.5-2.9 7.3-3.6 11.4l-.2 1.8-2.3-3a56.4 56.4 0 0 0-14-14.2 24.8 24.8 0 0 0-21.4-2.8 19 19 0 0 0-9.5 8c-6-5.4-12.7-4.3-20-3a26 26 0 0 0 3.5-14.3c-.8-9-10.7-15.2-19.2-12.7a29 29 0 0 0-13.8 15.6c-3-5.3-7.2-9.7-12-13.3-5-3.4-11.2-4.6-16.5-1.6-2.5 1.3-3.6 3.5-5 5.8l-.3.7a32.4 32.4 0 0 0-16.2-12Zm-26.7 220.3c-1-13.7-1.8-27.4-3.7-41a368.5 368.5 0 0 0-7.4 88.3c.2 2.1-.6 4.2-2.8 5-2.3.3-4.7.1-7 0h-1c-6-.5-12-.7-18-1-2.1 0-4.3 0-6.4-.2-7.4-.5-14.8-.8-22.2-1l-14.3-.7c-2.6-.1-5.2 0-7.9.2l-4.2.3c-1.1 0-1.9-1.1-2.5-2l-.4-.7c-8.8-14-13.5-29.7-15.7-46a271.4 271.4 0 0 1-2.6-37 231.2 231.2 0 0 0-6.8 49v4.7c0 8.9 0 18 1.6 26.5l.1 1c.2 1.4.4 3-.5 3.9-2 1.8-4.8 1.8-7.4 1.7H352c-8.3-.4-16.5 0-24.8.5H326c-3.3 0-5.5 1.8-7.8 3.7a233.1 233.1 0 0 1-1.9 1.6c-1.4 1.2-2.8 2.3-3 4.4a219 219 0 0 0 85.3 213.4 217.7 217.7 0 0 0 265.9-5 832 832 0 0 0 11.4-135.5v-8c.6-10.8.5-21.7.5-32.7V457c0-3.4-.3-6.7-.6-10-7.5-3.2-15.2-5.7-23-8.3l-5.6-2c-3-1.1-6.1-2.3-6.9-5.9-2.3-9.5-6.2-18.3-10.2-27.2v1c.5 7.7 1 16.7-1.5 24-.8 2.4-3.3 3.2-5.6 3-9.6-1.4-19.3-2.6-29-2.9h-1c-1.5-.1-3.2-.2-4.3-1.4-.7-1.1-.7-2.7-.8-4.1V422c.2-23.2-7-45.6-16.8-66.4 1.2 20.6 1 40.9-2.8 61.2v.1c-.3 1.6-.7 3.3-2.1 4.3-2 1.3-4.8 1-7.1.7h-.6a190.9 190.9 0 0 0-46.8 0c-5.6.5-11.2 1-16.7 1.3a6 6 0 0 1-6.3-5.2c-2.4-11.8-3.6-24-4.9-36l-.8-8-.2-3.2Z" fill="#000"/><g fill="#fff"><path d="M543.4 161.6a37 37 0 0 1 9.8 9.2c2.1 3 2.6 6.5 4.5 9.5 1.2.4 2.5.8 3.6 0 1-.9 1.4-2.6 2-3.8a28.2 28.2 0 0 1 9.2-14c5.1-5.3 15 .7 14.4 7.5-.3 5.6-3.9 10.8-6.4 15.5-.9 1.4 0 2.3.5 3.7 4.8-.3 9.2-2.3 14-2.4 3-.1 7-.5 9.3 1.9 3.7 3.6 6.4 8.4 5.8 13.7-.5 5.2-3.2 11.3-8.1 13.5-4.6 2.4-10.8.5-16 1.3-.3 1.2-1.5 3-.8 4.3 2.5 3.4 5.6 5.9 7.4 10 2 3.8.8 8.4-.8 12.2-2 4.8-6.6 8.4-11.7 9.1a20 20 0 0 1-19.8-11.2c-2.6-5.2-2-10.2-2.2-15.8-1-2.1-5.6-1.6-5.7 1.3a47 47 0 0 1-3.6 14.7c-1.9 4-5.5 6-9.6 7.1a18.3 18.3 0 0 1-14.2-1c-3.4-2.6-5-7.7-4.8-12 .8-2.7 2.3-4.9 2-8 0-2.3-1.4-4.5-1.4-6.9 3-4.2 7.2-6 11-9.2 1.3-1 .5-2.9.5-4.3a73 73 0 0 0-3.3.1c-4.8 2.4-11.3 6-16.8 5-5.7-3.3-11-7-17.5-8.8a33.6 33.6 0 0 0 15.5-16.6c6.4-1.2 12.4-.4 18.2 2.4 2.3.9 5 2.8 7.4 2.2 2.1-1.7 1.5-3.9.3-5.8a31.1 31.1 0 0 1-5.3-19c.3-2.3 1-4.9 3.1-6.1 2.9-1.7 6.8-1 9.5.7Z"/><path d="M455 165.3c4.7-.7 9.8 3 11 7.7 1.3 4.8-.6 10.3-2.3 14.8-.6 1.8-2 4-1.6 6 1.4 2 3.5 2.1 5 .3 3.6-4.2 7-8.3 11.7-11.3 5.9-4.1 12.6-6.7 19.8-4.4 3.2 1.1 6.7 3.8 5.8 7.7-1.4 4.3-5 8-8.6 10.7-3.6 2.8-7.7 4-11.6 6.2a4 4 0 0 0 .3 4.5c4.4 1.6 9 1.6 13.4 3.7 6.4 3 13.7 7.4 17.4 13.6 2.4 3.6.7 7.7-2 10.4-4.2 4-10.8 5-16.3 5.3-3.3-.3-8-.5-10.2-3.3a90.6 90.6 0 0 0-11.4-10.6c-1.4-.9-4-.3-4 1.6-.6 1.8.9 3.2 2 4.3 4.4 3.8 9.2 8 12.1 13a18.3 18.3 0 0 1 1.3 16.3c-1 2.3-4.3 3.2-6.5 3.8a24.1 24.1 0 0 1-18.5-2.4c-3.1-1.8-4.7-4.8-5.8-8a29.2 29.2 0 0 1 2.2-19c.7-1.7 1.4-3 .4-4.9-1.5-.9-2.7-1.1-4.2 0-1 1.4-1.8 3-2.6 4.4a60 60 0 0 1-17 18c-3.4 2.5-8.3 5.6-12.7 4.4-4.1-1.4-5.3-5.8-3.9-9.6 2.4-6.1 6.7-12.4 11.7-16.6 3.4-3 7.2-4 9.5-7.6-.4-1-1-1.8-1.4-2.7-1.7 0-3.1-.2-4.6.8-6.7 3.4-14.9 6-22.4 5.4-4-.6-9-1.7-10.6-6 .6-4.3 3.1-9.1 7.3-11 4-2 8.9-2.5 13.3-2.6 3.4-.1 6.7.9 10 1 2.8-.3 3.7-4 1.3-5.5-2.9-1.5-7-1-10.1-1.8-5-1.3-10-2.7-12.3-7.8 3-6.2 9.8-8 16.1-7.2 6.4.4 11.7 3.6 16.4 7.8 1.7 1.8 6 1 6.2-1.7-1.3-5.2-4.2-10.6-2.8-16 1-5 3.8-10.4 9.1-11.7ZM621.2 182.5a21 21 0 0 1 16.4 2.9c7.6 5 13 14.2 19.2 20.9 1.6 1 4.4.5 4.6-1.7.3-6 0-13.3 3.8-18.4 3.5-4.3 9.6-4.7 14.6-3.8 4.2 1.2 5.6 5.7 5.5 9.6-.6 7-5.2 13.7-11 17.7.2 1.2-.3 3.5 1 4.2 1.2 1.3 3.4-.2 4.7-.8a25 25 0 0 1 26 .8c4.2 2.6 6 9.2 3.2 13.3-2.7 3.4-8 4.6-12.2 5-4.9.8-9.3-.6-14-.7-2.9.1-3.4 4.2-1 5.4 4 2 7.8 2.8 11.2 6 3 2.9 5.4 6.4 6.3 10.6.9 3.8.2 8.4-3.5 10.5-4.8 3.2-11.8 4.4-16.6.6-7.6-5.5-10.1-13.7-12.9-22.2-.7-3-6-2.8-5.6.6-.3 10.3.4 19.5-5 28.9-2.2 4.2-7.8 5-12 4.6-5.1-.9-7.5-5.8-8.3-10.5-1.3-10.2 3.7-20.6 9.7-28.7 1.2-1.4 1-3-.5-4-1.8-1.5-5 1-6.7 1.8-8.5 4-17.7 8.8-27.3 6.7-3.7-.8-9-2-10.5-6-1.9-4.5-3.4-8.8-6.6-12.6 3.7-.1 7.2-.3 10.6-2 3-1.4 4.8-3.8 8.2-4.6 4.6-1.2 9.8-1 14.5-.3 2.8.3 6.3 2 9 .9 1.7-.8.8-3 .5-4.4a79.7 79.7 0 0 1-20.3-9.5c0-4.7-.8-8.4-3.1-12.5 1.5-3.9 4-7 8-8.3ZM385.6 185.4c1.7 1 1.5 3 1.7 4.6.4 7-3 13-7.1 18.2-1 1.4-2.8 2.9-2.3 4.8.3 1.4 2 1.9 3 2.2 3.5-1.3 6.8-4.6 10.6-5.6 2.8-.7 5.8-.7 8.7-.8-3.5 4.6-6 9.5-5.4 15.4-5.4 4.3-8 10.1-11 16.2l-9.3 4.2c-10.4 4.9-19.7 11.3-29.2 17.6-1.2-2.4-2.4-4.5-2.5-7.2-.2-2.8.8-5.2 1.2-8-.5-2.5-3.7-3.3-5.4-1.4-3.2 3-5.7 6-10.6 5.1-5.4-1.4-6.8-8-5.8-12.7 1-9 9.2-15.3 17.4-17.7 2.2-.2 3.1-3.4 2.2-5.1-1.9-2.3-5-3.8-6.4-6.7-2-4.7-1.7-10.3 1.9-14.2 3.4-3.7 8.7-6.3 13.7-4.2 6 2 8.4 8 9.4 13.8.3 2.6 4.6 2.1 5.2-.1 1.7-6 5-12.4 9.7-16.5 2.7-1.9 7.3-3.6 10.3-1.9Z"/><path d="M716.5 220.5c2.4-2.5 6-.8 8.6.5a31 31 0 0 1 14.6 19c.7 2.3-.3 6.1 2.4 7 1.6 1 3.6-1.4 3.6-3 .5-5.8.8-11.4 3.5-16.7a12 12 0 0 1 6.8-6.3c5.7 2 8.2 7.4 9 13 .7 5.7-1.3 11.6-5 16-1.2 1.7-2.9 2.7-2.5 5 1 1.2 2 2.2 3.6 1.8 4.1-1.2 7.4-3.2 12-3 4.5 0 8 3 10.5 6.7 2.4 3.7 4.1 8 2.2 12.4a12.3 12.3 0 0 1-11.9 5.9c-4.2-.4-7.1-2.6-10.9-4-1.8-.4-3.3 1.5-3.2 3.2 0 1.3 1.2 2.3 2 3.3 2.7 3.1 5.2 7.5 5.3 11.7a16.7 16.7 0 0 1-14 14.6c-3 .3-5.1-1.8-6.7-4-2.8-4.3-3.4-9.6-5.2-13.9-1.1-2.3-5-1.9-5.4.8-2.2 6.6-5.6 12.6-12.3 15.2-2.6 1-5-.5-7-2-3.4-3-6.5-7-6.5-11.7-.3-4.1 1.9-8.4 4.6-11.5 1.8-2 4-3 6.2-4.7 1.8-1.8-.3-5.1-2.7-4.4a41 41 0 0 1-22.5-.5c3.6-2 7-3.7 8.7-7.7 2.6-6.5 1-13.5-2.5-19.3 5.5 3.2 10.7 6.6 15.6 10.7 1.7 1.4 4.1 2.7 5.9.7 1.6-2-.3-3.6-1.7-4.8a56.1 56.1 0 0 1-14.6-14.7c3.3-1.7 6.3-3.4 8-6.8 1.5-2.8 1-5.5 1.5-8.5ZM320.4 254.3c2-.3 4.2 1.6 6 2 4.1 1.5 7.5-.3 11.1-1.9 0 4.4 1.4 7.7 3.7 11.4a166.3 166.3 0 0 0-26.3 26.3 11.2 11.2 0 0 1 2.4-12.8c2.3-2.2 5.6-2.4 8.4-3.6 1.6-1 1.9-4.4-.2-5.1-2-1.4-4.1-2.4-5.4-4.6-2.2-3.2-2.5-9 .3-11.7Z"/><path d="M782.2 283c2-1 4 1.2 5.5 2.3 3.7 3.7 4.6 11.2.9 15.2-3.7 3.3-8.8 3.9-13.5 4-2.4-.1-3.6 2.4-3.4 4.5 1.8 3.2 4.6 5.7 6 9.2a16 16 0 0 1 0 12.4c-1.6 3.3-6.3 4.7-9.7 5.2-1.9 0-4.2.7-5.1-1.6-2.8-6.9-5.3-14-7.9-20.9 8.7-2.1 16.4-9.2 17.6-18.3a20 20 0 0 0-2-11c4 .2 7.8.2 11.6-1Z"/></g><path d="M493.5 152.3c4.7.8 9.4 2 14 3.4 8 2.2 14.5 8.8 17.4 16.4.8 3.8 1.5 7.6 3 11.2-5.8-1.7-11.7-2.9-17.8-1.4-1.4-2.6-2.7-5-5.3-6.8a23 23 0 0 0-11.6-3.5c0-6.4-.3-13 .3-19.3ZM410.7 174.9c.4 3 .5 6.1.5 9.2-3.4 2.6-6.4 5.3-6.8 9.8 0 4.7 3 7.3 6.2 10-4.8 1.3-8.9-1.3-13.6-.7-2.4.2-4.8.7-7.2 1.2 2.2-4.3 3-8.5 3.6-13.3a33.2 33.2 0 0 1 17.3-16.2ZM724.6 191.4c2.1 7.2 4.3 16.4 1.9 23.8a16.2 16.2 0 0 0-12.2-.7 23.1 23.1 0 0 0-11-8.4 40.6 40.6 0 0 1 21.3-14.7ZM766 208.5a60 60 0 0 1-3.1 9.2c-3.8-1.6-7.2-3-11.2-1.1-5.8 2.7-7.9 8-10 13.7a44 44 0 0 0-10.2-11.9c1.2-3 1.7-5.7 2-8.8 9.7-5 22.2-2.8 32.6-1.1ZM397.8 228.7c3.1 1.8 6.4 3.8 10.1 4.4 4.5.7 8.9.2 13.4-.5-3.2 3-4.8 6.9-7.4 10.2-7.3 5.1-19 4.8-27.5 7 2.5-7.2 5.5-16 11.4-21.1ZM635.1 242.5a43.2 43.2 0 0 0-5.4 19.9c-3.2 3.8-5.6 7.7-9.8 10.5-4.9 3.6-10 3.8-15.5 6.3.6-10 .6-22.7 5.7-31.6 3.8 0 8 .4 11.7-.3 4.7-1 9-2.8 13.3-4.8Z" fill="#A0CC59"/><path d="M555.4 189.3A17 17 0 0 1 570 191c4.6 3.5 7.7 9.2 5 15a20.8 20.8 0 0 1-24.7 9.6c-3.3-2-5.6-5.7-5.4-9.6.3-7 3.5-14.2 10.5-16.7ZM452.5 201.6c3.9-1 8.1-1 12 0a13 13 0 0 1 8.4 9.4c.9 4.6-1.6 9-5.4 11.6a25 25 0 0 1-14.5 4.3c-3.4 0-8.2-.4-10.2-3.7-.9-2.8-.3-6.1-.2-9 .4-5.8 4.2-11 10-12.6ZM654.5 211.6c6.4-2 15.3 1.3 19 7a11.6 11.6 0 0 1-1.7 15.2c-8.6 7.5-25 2.8-27.3-8.7-1.1-6.7 3.7-12.2 10-13.5ZM356.3 214.2c4.8-1.7 10.5 0 12.6 5 4.2 9.8-2.8 21.4-12.9 23.6-4.5.7-8-3.7-9.1-7.6-1.3-3.5-.4-6.7.4-10.2 1.3-4.8 4-9.1 9-10.8ZM736.5 252.5c7.1-1.8 15.5 1.6 18.3 8.7 2.1 4.8 2.2 12-1.7 16-3 3-7.3 2.8-11.1 1.8-4-1.4-8.5-3.4-10.7-7.4-2-3.8-3.5-8.7-1.6-12.9.9-3 4-5 6.8-6.2Z" fill="#000"/><path d="M558.1 194c3-1 6.5.2 9 1.8 2.7 2 4 5.5 2.2 8.5a15.5 15.5 0 0 1-11.3 6.5c-2 .1-4.9.3-6.2-1.5-3.5-5.3.4-13.7 6.3-15.2ZM453.2 207.2c3.4-1.1 7.9-1.3 11 .6 3.2 2 3.9 6.9.9 9.3-4.6 3.6-11 4.9-16.6 3.4-2-4.5-.3-11.5 4.7-13.3ZM654.5 217.6c5.9-1.8 13.1.3 15.3 6.5.8 3.9-2.3 6.6-5.7 7.3-5.4 1.3-12.5-1.6-13.9-7.3-.5-3 1.6-5.4 4.3-6.5ZM357.5 219.7c2.5-1.2 4.8-.8 6.2 1.7 2.8 5.8-2 13.6-7.9 15.4-1.8.7-2.8-1.6-3.2-3-1.4-4.9-.1-11.9 5-14.2ZM737.6 257.8c2.6-1.2 6-.2 8.3 1.2 3.2 1.7 4.6 5.6 4.9 9-.1 1.9-.9 5.1-2.9 5.8-3 .5-6.5-1.1-9.1-2.6-3-1.8-3.4-5.2-4.5-8.3 1-1.8 1.3-4.2 3.3-5.1Z" fill="#F0DF83"/><g fill="${p(`${l.hair}`)}"><path d="M514.6 241.4c1.6 4.6 3.6 9.4 8 11.9a26.7 26.7 0 0 0 24.1-1.5 20 20 0 0 0 7.8-9 25.9 25.9 0 0 0 25.5 15.9c8.9-1 15.7-7.4 18-15.9l6 3.3c-3.2 7.4-4 15-5 22.8-.2 4-.3 8.1 0 12.2.2 2.2 1.2 5.2 4 4.8 3.4-1 6.5-3 10-3.9a33 33 0 0 0 17.5-12c1.9 5.7 5.3 10.5 11.4 12 6.3 1 14.4-.2 18-6a39.2 39.2 0 0 0 5.9-19c4.5 8.5 12 16.6 22.4 16a38 38 0 0 0 21.2 5.2c-4.7 5.8-6 13.2-3.8 20.3 1.8 4.2 5.2 8.3 9 11 3.1 2.4 7.7 2.7 11.4 1.5 5.5-2.1 9.2-6.3 12.2-11.2 1.2 3 2.4 6 4.5 8.5 1.6 2.1 3.9 3.4 6 4.8 4.3 11.8 9 23.4 13 35.4a624 624 0 0 1 25.5 110c.5 4.2 1 8.5 1.8 12.7a55.5 55.5 0 0 0-40.7-17.1c.8-5.4 1.8-10.7 2.7-16 .3-2-.6-3.5-1.2-5.3-3.3.6-3.6 1.3-4.5 4.4-3.3 17.2-5 34.6-8.2 51.8-5.6 32-15 62.1-25.3 92.8a537.2 537.2 0 0 1-36.2 85.8 336.6 336.6 0 0 1-21.2 35.1A365.5 365.5 0 0 0 669 647c7-35.6 10-72.7 11.5-109 1-7.6.4-15.3 1-23 .3-22 .5-44-.1-65.9 4.1 1.7 8.3 3.8 12.6 5 2 .1 4-2.8 2.2-4.3-2.2-2.2-5.9-3-8.7-4.4-13.4-5.5-27.3-10-41.1-14.5-4.2-16-11.4-29.8-18.7-44.5-.9-1.6-2.1-4.5-4.5-4-1.8 0-2.6 2-2.2 3.6 2.8 12.5 5.9 27.3 2.9 40a261 261 0 0 0-30-2.5c0-5.9-.6-11.7-1.2-17.5a157.3 157.3 0 0 0-21.4-60.4c-1.6-2.1-1.7-5-2.1-7.6-.8-6.4-2-12.8-3.2-19.2-.6-3-1-6.7-2.6-9.4-1.3-1.1-3.7-1-4.5.7-.5 1.4.1 3.2.3 4.7 4.6 21 7.2 42.6 6.7 64.2.3 12.6-.7 25-2.8 37.4-8-.8-16-1.9-24.1-1.7-14.9.2-29.7 2.3-44.6 3.3a494.6 494.6 0 0 1-5-38c-1.8-20.1-2.6-42-6.3-62-.4-4-5.7-5-6.7-.8-5.3 18-7.7 37.1-9.4 55.8-.9 14.8-1 29.6-.6 44.4-12.8-.2-25.6-1.6-38.4-1.6-12.7 0-25.2-1.6-37.9-.6-9.7-15-14-32.7-16-50.2a183.6 183.6 0 0 1-1.2-31c1.2-17.2 7.2-32.7 15.5-47.6 1-1.8 2.2-3.6 2.8-5.5-.2-2-1.7-2.5-3.2-3.5-1.6 1.4-3 2.8-4 4.6a201.7 201.7 0 0 0-16.7 33.2 205 205 0 0 0-11 100.7c-10.6 0-21.4-.4-31.9 1a90 90 0 0 1-3.3-36.9c1-8.7 2.5-17.2 5.4-25.5.7-2.1 1.7-4.2 2.1-6.5.2-3.2-4.5-3.7-5.5-.9-2.6 6-4.4 12.5-5.7 19-3.3 16.9-4.1 36 1.5 52.5-4.6 3.6-9 7.5-13.6 11.2a115.8 115.8 0 0 1-9.8-87.6c6-21.2 17.9-40.8 33-56.8 14.9-15.8 32.9-28.3 52.6-37.5-.4 2.7-3.3 8.3.8 9.4 3.7-1 7.2-2.6 11-3 6.4-.7 12.7-1.5 18.7-3.8.5 2.6.6 5.7 2 7.9 2 3.6 6.3 5.6 10.4 5.8a21 21 0 0 0 9.4-2.8 67.9 67.9 0 0 0 16.4-13.7c.1 4 .2 7.8 2 11.5 1.8 3.3 3 6.6 6.5 8.6a30 30 0 0 0 26.1 2.7c3.6-1.2 6.6-3.5 8-7a24.9 24.9 0 0 0-.4-18c7.7 1 15.9-.2 22.6-4.1Z"/><path d="M292.5 415.3c2.5 6.8 5.5 13.7 9.4 19.8 1.4 2 2.7 1.6 4.9 1.5a222.6 222.6 0 0 0 70.6 199A223.3 223.3 0 0 0 516 693.4c8.4 1 16.7.8 25 0a218.3 218.3 0 0 0 121.7-44.6c-.8 4.9-2 9.8-3 14.7a243 243 0 0 1-19.2 56c-.6 1.5-1.8 3.5-1.2 5.2.8 1.5 2 1.8 3.7 1.5 1.7-1.4 3-3.2 4.3-4.9a333.6 333.6 0 0 0 29.8-44.2 438.3 438.3 0 0 0 22-45 774 774 0 0 0 19.2-51.2 70.2 70.2 0 0 0 38.7 1 62.1 62.1 0 0 0 36.9-27.9c-.3 10.1.3 20-.8 30-1 27.9-4.3 55.7-9.6 83-7.3 37-19 75.2-38.8 107.5.8-5.1 1.7-10.3 2-15.5.6-11.6 1-23.4-.2-35-1.2-10-3.3-19.7-6.1-29.2-.4-2.9-4.5-3.5-6-1.3-1.8 3-2.6 6.7-3.9 10a115.3 115.3 0 0 1-21.4 34.6 154.7 154.7 0 0 1-37.6 32.4c-8.2 4.9-17.6 8-26.7 10.3a115.3 115.3 0 0 1-38.8 2.4c-25-2.5-48.8-12.2-72.5-16.8A250.4 250.4 0 0 0 480 761c-9 0-18-.4-26.8.5-22.1 1-44.2 3-66.2 5.6-13.4 1.3-26.7 3.7-40.1 5.2a373 373 0 0 1-20.7-52.6 345 345 0 0 1-12.3-80.7c-1-.7-2.4-2.5-3.7-1.9-1.8.3-2.3 2.5-2.9 4-3.1 11-5 22.2-6.8 33.6-4.4 25.2-5 50.8-2.6 76.2a393.1 393.1 0 0 1-19.2-68 394.6 394.6 0 0 1-4.8-37.8c-1-6-1-12.1-1.2-18.2-1.2-16-1.4-32-1.6-48 .1-8 .4-16 .4-24 .4-10.3 1.2-20.6 1.6-31 .6-5.7 1.3-11.3 1.6-17 2.7-26.3 7.6-52.5 14.3-78 1.1-4.6 2.6-9 3.5-13.7Z"/></g>`,long07:(a,l)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M498.6 201.1c-9.5-.8-19-1.7-28.6-.5-4-.2-7.6.6-11.3 1.3l-5.7 1c-6.2 1.3-12 3.3-18 5.3l-9 3a231.8 231.8 0 0 0-39.7 16.1l-.8.5c-2.4 1.4-5 2.9-7 4.8a48 48 0 0 0-6.3 7.7l-2 2.8-1.9 2c-1 1.2-2 2.2-2.6 3.7-.3.7-1.1 1.1-1.9 1.5l-.8.5a165 165 0 0 0-57.8 55.4 126.4 126.4 0 0 0-16.7 95.7c1 3 .2 5.8-.6 8.7l-.6 2.4a718 718 0 0 0-10.7 43.8c-.6 3.4-1.3 6.9-2.2 10.3-.1 2.1-.5 4.2-1 6.3-.4 2.3-.8 4.7-1 7.1-.8 2.8-1 5.6-1.3 8.5-.3 2.9-.6 5.8-1.4 8.5-.3 6.1-1 12.5-1.5 18.8-.6 7-1.3 14-1.6 20.7-.2 2.5-.2 5-.2 7.6 0 3.1 0 6.3-.5 9.4v2.6c0 4.1 0 8.3-.3 12.4a340 340 0 0 0 0 23.2l.3 13.8v1.5c.4 10 .7 19.5 1.6 29.5 0 4.9.6 9.6 1.1 14.4.4 3.5.8 7 1 10.5.6 3.4 1 6.7 1.4 10a345 345 0 0 0 13.4 57.8c4.4 13.2 8.6 26 15.9 38 1.1 1.4 2.6 1.5 4.2.8 1.5-1.8 1-4.3.6-6.6l-.3-1.8-.5-4.3A322.6 322.6 0 0 1 303 701l.1-2.8c.2-2.7.3-5.4 1-8 .6-5.3 1.4-10.8 2.2-16.3.7-5 1.5-10 2-14.9l.4-.8c.2-.6.4-1.1.8-1.6-.3 4.5.3 9 1 13.4.3 5.3 1.2 10.4 2.1 15.5l1.4 8.5a251 251 0 0 0 20 63c2.5 6.2 5.3 12.4 8.4 18.5a4.6 4.6 0 0 0 4.5 2.7c6.5-.7 12.9-1.6 19.2-2.5 8.9-1.3 17.7-2.6 26.7-3.3a148 148 0 0 1 18-1.8l3.6-.3c4-.9 8.1-1 12.3-1.2 2.4-.1 4.8-.2 7.2-.5 2.3-.2 4.6-.3 7-.3 3.4-.7 6.8-.7 10.2-.8 2.6 0 5.2 0 7.8-.4h8.3c17.9-.2 36.3-.4 53.7 3 14 2 26.8 5.5 39.6 9 10.5 3 21 6 32.3 8.1 20.7 4 43.2 3.3 63.2-3.7 10.5-3 19.7-8.4 28.6-14.8 17.5-12.9 32.8-29.4 44-48 2.5-4.5 3.8-7.7 5.2-11l2.7-6.4c2.5 8 3.5 16.3 4.5 24.7l.4 3c.4 16.7 0 32.8-3.3 49l-.8 2.5c-.5 1.5-1 3-1.3 4.5-.1 2 1.5 4.1 3.6 3.7 1.4-.6 2.3-1.8 3.1-3l.4-.5c18.7-26.6 31-58.6 39.3-89.7 4.3-16.7 7.6-32.3 10.1-49.4l1-5.7c.4-2.8 1-5.5 1-8.4.8-3.4 1-6.8 1.3-10.2a616.2 616.2 0 0 0 3.5-81c0-1.5 0-3.2-.7-4.5-1.8-1-3.9-.2-4.5 1.8a57.4 57.4 0 0 1-33.7 34.5 62.1 62.1 0 0 1-39.3 1l-.6-.6c0-1.7.7-3.5 1.2-5 8.9-27 16.9-55 21.5-83v-.1c.2-2 .4-3.9 1-5.8.4-1.7.6-3.4.7-5 .3-2.3.5-4.5 1.3-6.6a87 87 0 0 1 1.2-10c15.7.2 30.9 6.8 40.4 19.5l1.1 1.8c.7 1 1.4 2.1 2.3 2.9 1.9 1 4.3-.7 4.3-2.7l-.9-8.1a122 122 0 0 1-.7-7c-.6-2.2-.8-4.5-1-6.8-.3-2.8-.5-5.5-1.4-8.2-.2-3.9-1-7.6-1.6-11.4l-1.2-6.4A583 583 0 0 0 776 376a689.4 689.4 0 0 0-23-68c-8.2-22-24-40.6-42.9-54.3a143.2 143.2 0 0 0-33.5-18.3l-7.8-2.6a160.2 160.2 0 0 0-18-5.2l-15.8-4c-25-7.3-50-11.8-76-15.2-1.9-.4-3.8-.6-5.8-.9-1.7-.2-3.4-.4-5-.8l-6-.7c-2.7-.2-5.4-.5-8.1-1.2l-11.5-1.4c-7.2-1-14.4-1.9-21.6-2l-2.4-.3Zm-19 129.3-.2.2c-1.2 1.2-1.5 3.4-1.7 5.3 0 .8-.2 1.5-.3 2.1a77 77 0 0 0-1.2 7c-.4 2.7-.7 5.3-1.4 8l-.7 6.8a262 262 0 0 0-1.8 25.7c-.6 2.8-.6 5.7-.6 8.6v2.9l-.1 6.1c0 5.3 0 10.6.2 16 0 1.6-1.2 3.4-2.8 4h-6c-4.8-.5-9.7-.6-14.6-.8-3.8 0-7.6-.2-11.3-.5-5.7-.4-11.4-.6-17.1-.7-2-.5-4.2-.5-6.3-.5H412c-2.4 0-4.9 0-7.4-.2-5-.2-10-.5-14.6.2-1.6.2-3.3.2-4.3-1.4-9-14-14-29.8-16.3-46.2-1.2-6.2-1.7-12.7-2-19-.5-3.1-.5-6.3-.5-9.4 0-3.1 0-6.2-.4-9-.6 3.7-1.4 7.3-2.2 11-.7 3.5-1.5 7-2 10.4l-1 7.6a136.8 136.8 0 0 0-1.3 21.8c0 10.3-.2 20.4 1.8 30.6.7 3-2.3 4.4-4.8 4.8h-7.2c-4.3-.2-8.5-.2-12.8 0-1.7.2-3.5.2-5.3.3-3 0-6.1 0-8.8.7a44.5 44.5 0 0 0-9 7.1c-1 2-1.2 4.6-1.5 7-.2 1.6-.3 3.2-.7 4.6a231.3 231.3 0 0 0 3.5 75.4A217.8 217.8 0 0 0 470 680.1c6.3 2.1 13.3 3.4 20 4.6l6 1 2.8.4a222 222 0 0 0 151.7-35.6l7.7-5.6 6.2-4.4a698.7 698.7 0 0 0 5.8-38.4l1-11.8c.6-7.2 1.1-14.3 2.1-21.4 0-4 .2-8 .5-11.9.7-7.7 1-15.6 1.2-23.5.2-6.5.3-13 .8-19.5 0-7 .1-14.2.3-21.2.2-14 .5-27.8 0-41.8v-1.3c-.1-1.2-.1-2.5-1-3a247.6 247.6 0 0 0-23.2-8.4l-2.1-.7c-2.8-.8-5.7-1.8-7.8-3.7-1.3-1-1.7-2.8-2-4.3l-.1-.6c-2.4-8.6-5.8-16.6-9.5-24.7-.3 1.6-.2 3.4 0 5.1l.1 2.6a55 55 0 0 1-1.9 16.7c-1.4 3.2-4.6 3.2-7.6 2.6-2.4-.7-4.8-.8-7.2-1-2-.1-4-.3-5.9-.7-3.3-.4-6.7-.5-10-.7-2.3 0-4.6-.2-6.8-.3-2.3-.4-3.4-2.4-3.2-4.6.6-23.6-6.4-46.6-16.5-67.7a22 22 0 0 0 0 5.8l.2 2.9a240.7 240.7 0 0 1-2.4 46.7l-.8 5.8c-.5 1.5-1.4 3.4-3 4-2 1-4.8.7-7 .2-15.5-2.2-30-1-44.9 0l-13 1h-.2c-3.2.6-8.2 1.4-10.3-1.7-1-1-1.2-2.4-1.4-3.7l-.3-1.8c-.8-2.4-1-5-1.3-7.5-.3-2-.5-4-1-6l-1.4-13.7c-.8-7.5-1.7-15-2.1-22.3 0-3.3-.3-6.4-.6-9.6-.4-3.3-.7-6.5-.6-9.9-.5-1.5-.6-3-.7-4.6 0-1 0-1.9-.2-2.8l-.2-.9c-.4-2.6-.9-5.2-.7-7.8Z" fill="#000"/><g fill="${p(`${l.hair}`)}"><path d="M475.5 205.8c29.7-.3 57.3 5 86.5 8.7 11.7 2 23.4 3.3 35 5.8 14.2 2.6 28.5 6.7 42.5 10.3 13.5 3.8 27.7 6.8 40.5 12.3 10.2 4.4 19.7 10 28.5 16.6 15.5 12 29.3 27.5 37.1 45.6 9.7 24.8 18.8 49 25.6 74.8a649 649 0 0 1 17.6 90.9l-.5-.2a55.4 55.4 0 0 0-39.5-16.6l-.5-.9c1.2-4.6 1.3-9.5 2.6-14 .5-1.9.1-5.4-2-6-2.5-.3-3.2 3-3.8 4.9-2.6 14.3-4.3 28.7-6.6 43-4 25.6-10.4 49.9-18 74.5-12.2 38.2-25.5 76.8-44.8 112a312.5 312.5 0 0 1-21.3 35.1 439 439 0 0 0 19.7-87.6c2-11.4 2.5-22.5 3.7-34 1.5-16.8 2-32.3 3-49 .8-14.8.7-29.3 1-44 .3-12.2-.6-27-.1-38.4 4 .7 8.2 3.5 12.3 4.5 2 0 3.4-2 2.6-3.7-.6-1-1.6-1.7-2.7-2.2-15.6-7-31.6-12-47.6-17.5-4.4-16.6-12-31-19.7-46.3-1.2-2-3.4-2.8-5.2-1-1.3 2.3.4 5 .8 7.5.8 4.4 1.8 8.7 2.2 13 .7 3.4.1 6.8.8 10-.1 4-.4 7.8-.9 11.6-.6.4-1.4.5-2.3.3-9.2-1-18.3-2.2-27.7-2.2-.5-.5-.7-1-.6-1.7.2-6.7-1-13.7-1.5-20.4-1-3.8-1.4-7.6-2.4-11.4-2.2-9-5.4-17.4-8.9-26-3-7-6.5-14.5-11.1-20.6-.3-4.5-1.3-9-1.8-13.5-1.7-6.7-1.7-14.2-4.5-20.5-2.2-1.9-5.2-.4-4.8 2.5 2.4 10.7 4.3 22.2 5.6 33 1.9 15.4 1.7 30.6 1.6 46-.5 7.5-1.3 18-2.9 25.2-5.5.2-12.4-1.4-18-1.4-9-.5-18.2.4-27 1.4-7.8 0-15.5 1.6-23.2 1.7l-.6-.8a563.8 563.8 0 0 1-6.6-58.1c-.5-12.6-2.4-25.5-3.9-38-.5-2.2-.4-5-2.7-6.2-2.4-1-4.6.8-4.9 3.2-2.3 7.6-3.8 15.3-5 23-1.5 5.6-1.7 11.3-2.6 17-.5 7-1.7 14-1.8 21-.4 12.9-1 25.6-.2 38.5-3.8 0-7.7-.2-11.6-.4-15.7-1.3-32.5-1.1-48-2-5.2-.6-11.7 0-16.8-.2a88 88 0 0 1-11.7-26.4A185 185 0 0 1 373 351c-.1-8.8-.6-18.4 1.3-27 2.4-14.2 8.2-27 15.2-39.6 1.5-1.8 2.6-4.3.3-6-2.3-1-3.8.6-5 2.4a197.8 197.8 0 0 0-18 36.2c-6.8 19-11.2 38.8-12.1 59-1.2 10 .1 19.6.1 29.4.9 1.5.4 3 .7 4.6.1 2 .8 4 .5 5.9-9 0-18-.2-26.9.6-1.4 0-4 1-5-.4-.9-4-2.3-7.9-2.6-12.1-2.2-17.2 0-35.6 6-51.9.9-2.2 2-4.4 0-6.6-2.6-.6-3.4 0-4.6 2.4a123.8 123.8 0 0 0-8 49.1c.8 4.4.4 8.7 1.9 13 .1 3 1.8 5.8 2 8.7-4.4 3.3-8.7 7.7-13.4 11A113.6 113.6 0 0 1 291 374a128.5 128.5 0 0 1 32.6-83.3c20.9-24.4 49.7-42.2 80.4-51.6 3-1.6 2.5-5.3-1.1-5.5-9 2.3-18 6.3-26.6 10 2.5-3.9 5.5-7.4 9.6-9.6 15.8-9.4 34.8-14.9 52-20.7a116 116 0 0 1 25-6.3c4.1-.8 8.4-.5 12.5-1.2Z"/><path d="M292.6 415.6c2 5.1 4.1 10.1 6.8 15 1.7 3 2.6 6.6 7 6.1 0 4.7-1.1 10.5-1.5 15.3a224.9 224.9 0 0 0 70 181.2c38.3 36 89.5 58 142.1 60.3 12 1.1 23.1-.1 35-1 39-4.1 76.8-18.8 108.5-42 .8-.6 1.5-1.3 2.1-2.1 0 4.4-1.6 8.2-2.2 12.5a261 261 0 0 1-19.1 57.2c-.8 2-2.8 4.4-2 6.6 1 2 3.5 2 4.9.5 14.3-18 27.5-36.7 37.8-57.3 15-27.7 26-57 36.2-86.7 2.5-.3 5.3 1.2 7.8 1.6 7.1 1 13.8 2 21 .8a61.7 61.7 0 0 0 46.2-28.5h.6c0 9.7.3 19.3-.5 29-1.3 27-4.3 55.3-9.5 81.8-7.5 38-18.6 74.2-38.4 107.8-.8-3 .6-6.6.8-9.6 1.2-14.7 1.6-29.5-.1-44.2-1.7-8.6-3.2-17.5-6-25.9-.6-1.8-3-2.1-4.6-1.5-1.4 1-1.9 2.9-2.6 4.4-2 6.4-4.5 12.7-7.6 18.5a162 162 0 0 1-26.8 34 117.3 117.3 0 0 1-42 28A120 120 0 0 1 591 781c-14.7-3-28.7-7.6-42.9-11.2-12-3.3-23.9-5-36-7-17-1.8-34-2-51-1.6-36.8 1.8-71.6 5-108 10.5-1.8 0-5.5 1.5-6.7 0-3.4-7.4-6.5-14.9-9.7-22.2-14.4-33.8-21-71-22.9-107.5.3-2.5-.9-5.3-3.9-4.6-2.4 1-2.2 3.8-3.2 6.1-1.4 6.3-3.4 13-4.1 19.5a403.9 403.9 0 0 0-5.7 43c-.2 9.7-.5 19.3 0 29-.3 5.3 1.3 10.5.7 15.7a415 415 0 0 1-19.9-71.8c-3-21.4-5.2-43.3-5.7-64.9-1-8.7-.4-17.3-.9-26 0-18.4.1-36.9 1.5-55 0-8.7 1.6-17.3 2-26 3.2-30.9 9.5-61.8 18-91.4Z"/></g>`,long06:(a,l)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M565 187.8c14.4 3.8 29.8 8.3 42.4 16.1 11-5.8 23.2-8.4 35.6-8.8a98.4 98.4 0 0 1 78.4 40.5 84 84 0 0 1 16.8 50.3c23.3-1.6 44.4 7.4 62.8 21a171.7 171.7 0 0 1 59.1 86c4.5 14.3 6.4 29.2 7 44.1l-.6 7.5-.3 4.3a88 88 0 0 1-13.6 40.2 170.2 170.2 0 0 1 26 52.5c7 23.2 9.8 49.3 4 73 8 .4 15.8.9 23.6 2.2 11.8 2.3 23.1 8.3 32.9 15.2a68.2 68.2 0 0 1 26.4 33.6c4.1 12 4 23.8 3.6 36.3v5.8c-.1 6.6-.2 13.3 1.5 19.4 2 8 6.8 15.3 13.3 20.1 5.7 3.9 12 6.7 19 5.8h1.8c2.4-.2 5-.4 5.1 3a40 40 0 0 1-14 14.9c-8.4 5.5-18 9.8-28.1 10.1v.5c.1 5.8.3 11.3-.5 17.1-1.6 10.7-5.1 21-10.2 30.5a130.1 130.1 0 0 1-43 46.5l-1.1-.6c-1.3-.7-2.8-1.6-2.8-3 0-1.5.2-3 .4-4.6.2-1.8.4-3.5.4-5.3a37 37 0 0 0-12.5-26.4c-9.8-9-23-13.9-36.3-14.6a70.6 70.6 0 0 1 9 56c-4.2 18.1-14 34.9-27.6 47.5a79.7 79.7 0 0 1-44.1 21.7c-.5 3.5-1.2 7-3 10.1a46.2 46.2 0 0 1-20.8 18.3A57.1 57.1 0 0 1 743 980c-2.4-.3-4.3-2.6-3.3-5l2.4-2.3c1.7-1.5 3.3-3 4.4-5.2 4.8-8.6 6-19.3 2.7-28.7a28 28 0 0 0-18.7-18.3A42.7 42.7 0 0 0 713 919c-11.5 1.4-22.5 5.4-33.3 9.4l-9.1 3.2c-15.7 5.2-31 9.8-47.6 10.5-14-.1-27.7-3.6-38.9-12.3a56 56 0 0 1-20.7-34.8c-2.6-12.8-2-25.7.4-38.4a79.4 79.4 0 0 0-26.6 46.4c-.9 5.5-.5 10.8.6 16.2.6 2-.4 2.7-1.7 3.6l-1 .8c-5.4-3.4-7.8-8.5-10.5-14l-.4-.8c-4-8.9-7-18-8.4-27.8-.8-9.1-.3-18.3 2-27.2 2.5-9.6 7-19.8 14.3-26.7 6.4-5.7 14.9-9.4 23.1-13a211.2 211.2 0 0 0 10.7-4.9c6.4-3 12.6-6 15.6-12.7 4.6-10.8 2.6-23.8-.2-34.8A60.2 60.2 0 0 1 546 786a78.9 78.9 0 0 1-51-3.2 65 65 0 0 1-1 24 65.9 65.9 0 0 1-29 38.2 111 111 0 0 1-56.7 16.5c-.9 13.4-8 24.3-17.3 33.5a117.6 117.6 0 0 1-53.5 28.7 104.1 104.1 0 0 1-43.7 2l-1-.3c-1.6-.4-3.1-.7-4-2.3-.2-2 0-4.3 2.4-4.8l3-.6c4.8-1 9.3-1.8 13.4-5 4.8-3.8 6.7-9.8 7.2-15.7.1-8-4-14.9-9.7-20a68.8 68.8 0 0 0-27.3-13.6c-7.8-2-15.8-3.9-23.8-4.4-5.2-.6-10.7-.2-16.1.2-6 .4-11.8.9-17.4 0a39.4 39.4 0 0 1-23.2-12.6c-4.6-5-7.2-11.2-8.8-17.8-5 7.4-7.8 16.4-5.6 25.2a14 14 0 0 0 3.1 5.6c.7.8 1.3 1.6 1.8 2.5.3 2.7-3.5 4.7-5.8 3.7-10.3-2.6-20-6-26.8-14.6a38.8 38.8 0 0 1-37.8-10.6A74.8 74.8 0 0 1 98 803c-3.7-17.5-3.4-36 .5-53.5 3.9-17.4 11.8-35.3 24.5-48.2a31.3 31.3 0 0 1-14.2-18.3 66.7 66.7 0 0 1-1.6-34 53 53 0 0 1 16-30.4 28.6 28.6 0 0 1-13-15 48.4 48.4 0 0 1 5.6-43.8c3-4.4 7.1-8.6 12-11 2-1.3 5.1-.3 5.4 2.2-.1 1.6-.5 3.3-.9 4.9-.4 1.7-.8 3.3-1 5-1 8.9 2.2 18 8.5 24.2a38 38 0 0 0 25.2 10.4c13 .4 26-4.3 36-12.6a47 47 0 0 0 16.3-26.8c-8.8-17.9-9.6-37.6-8-57.1a119.5 119.5 0 0 1 19.3-52.7c1-1.5 2-3 .8-4.7a93.3 93.3 0 0 1-10.2-51.8 141.5 141.5 0 0 1 85.5-115c15.9-6.5 33-9.3 50-7.4 2-8.3 5-16.3 8.9-23.8a93.5 93.5 0 0 1 25-29c21.2-17 48-25.8 74.4-30.4 34-5.7 68.7-5 102 3.7Zm-147.4 115a48 48 0 0 0-7 15.1c-.9 4.7-1.8 9.4-1.7 14.1 0 2.4 2.4 5.6 5 4a157.6 157.6 0 0 1 33-15.2c19.9-6.3 40.3-8.5 61-9.3 17.6 0 35 2 52 6.8 1.2.3 1.6 1.2 2.1 2.2l.5 1c3.4 7 6.5 14.3 9.6 21.5 3 7 6 13.9 9.2 20.7a220.8 220.8 0 0 0 30.5 48.4c8.4 10 18 18.9 28.8 26.3a73 73 0 0 0 35.3 13.6c2.8.2 5.6.2 8.4.2h5c1.6 9.9.5 19.7-1 29.6-2.4 16.5-7 32.7-13.3 48.2a129.2 129.2 0 0 1-19.6 32.5 153.4 153.4 0 0 1-34.9 30c-8 5.3-15.6 11-22.6 17.4A110.3 110.3 0 0 0 574 641a105.8 105.8 0 0 0-12.2 44.5l-2 .2c-9.6 1.1-19.2 2.3-29 2.1a216 216 0 0 1-85.6-16.2c-27-11-51.5-27.7-72.2-48.2V621.4c0-5.3 0-10.4-1-15.6-3.3-20-12.7-37.8-25.4-53.5a202.2 202.2 0 0 0-22.6-22.8l-5-4.6-.6-.5c-1-1-2-2-2.4-3.4a216.6 216.6 0 0 1 49.5-196.2 47 47 0 0 0 9 9.6c1 .9 2.2 1 3.5 1l1 .2c7.9-16 22.6-25.9 38.5-32.8Zm370.7 178a51.4 51.4 0 0 0-46.7-20.6c7 18.2 12.8 36.1 13.4 55.8.8 21.4-4 43-12.3 62.6a60.5 60.5 0 0 0 41.6-22.3 64.3 64.3 0 0 0 14.9-41.3 56 56 0 0 0-11-34.3Z" fill="#000"/><path d="M519 186.7c21.5.9 42.9 5.5 63.2 12.2 7.4 2.5 14.7 5.5 21.4 9.5 1.6 1 3.5 1.8 5.4 1.2l3.9-1.8 3.3-1.5c8.1-3.3 17-5.2 25.8-5.2a92 92 0 0 1 80.3 46.5 74.4 74.4 0 0 1 9.7 39.6c-.3 2.1-.6 4.4 2 4.9l5-.3c2.4-.2 4.7-.4 7-.3 16.6.5 33.2 7.5 46.9 16.7a159.2 159.2 0 0 1 52 62A156.6 156.6 0 0 1 861 434c.3 17.6-3 35.5-12.6 50.5l-.8 1.5c-1.1 1.8-2.2 3.5-.4 5.7 13 17.2 22.3 37.5 27.7 58.3 5.1 20.3 7.4 43.4 1.7 63.8-6-1.1-11.7-2.3-16.9-5.6a66.7 66.7 0 0 1-19-17 28 28 0 0 1-3.7-8.6h-1.4c-1.2 0-2.1-.2-2.9 1.3-.5 2.7 1 5.7 2.2 8a58.6 58.6 0 0 0 15 16.2 51 51 0 0 0 14.5 8.7 97.9 97.9 0 0 0 27.8 4.2c4 .2 7.8.4 11.7 1.2a76.4 76.4 0 0 1 28 11.9 66 66 0 0 1 27 30.8 78.3 78.3 0 0 1 4.3 34.6c-.4 7.5-.8 14.9.5 22.5a43 43 0 0 0 14.3 27.9c6.4 5.4 14 8.6 22.5 9.2a52.7 52.7 0 0 1-35.4 16.2c-2.8 1.2-3.6 6.2-3.3 9 .6 12.6-2.2 25-7.3 36.5-8.2 18.3-22 33.7-38 45.8.7-8.1-1-16-4.9-23.2a54.1 54.1 0 0 0-29.2-24A69.4 69.4 0 0 0 858 815c-3-.2-4.7 3-3.5 5.4.7 1.2 1.6 2.3 2.4 3.4 1.1 1.6 2.3 3.2 3.2 5 7.3 13 8.8 28.1 6.2 42.6a88.6 88.6 0 0 1-25.8 48 75 75 0 0 1-40.8 20.7l-4.6.9c-1.3.8-1.4 2.2-1.6 3.6l-.1 1.3c-.5 7-4.7 12.3-9.8 16.6A55.7 55.7 0 0 1 748 975c3.5-4.5 6.1-9.2 7.4-14.9 3-12.7.6-27.7-9.3-37a39.4 39.4 0 0 0-29.5-10c-13.3.7-26 5.3-38.6 9.8-5 1.8-9.9 3.6-14.9 5.2-14.1 4.4-28 8.6-43 8a52.6 52.6 0 0 1-40.4-18.6 57.7 57.7 0 0 1-11.6-31.2 90.9 90.9 0 0 1 3-35c.5-1.8 1-3.5-.9-4.5-2.1-1-4 .6-5.6 1.9l-1 .8c-18.4 14.6-32.3 37-32.7 60.9-6.6-14.5-11.3-29-9.2-45a60 60 0 0 1 13.1-32.6c5.6-5.8 14-9.4 21.7-12.7l6-2.7 4.1-2c4.5-2 9-4 12.7-7 4-3 6.8-7 8.5-11.8 3.3-9.8 2.5-19.3.8-29.3a219.5 219.5 0 0 0-9.5-31.5c-4.3-12.1-8.6-24.2-10.5-37.7-.6-5.5-.5-11.2-.3-16.8v-.2c1-17.3 8.4-34.5 18-48.8A115 115 0 0 1 617 602l1-.6.8-.6c10.3-7 21-14.4 30.2-22.8a133 133 0 0 0 18.3-21.6 153.2 153.2 0 0 0 20.3-44.6c4-13 6.5-26.3 7.9-39.8.7-8.4.8-16.8-1.4-25.1-3.3-.8-6.9-.7-10.5-.6-2.5 0-5 .1-7.6-.1a66.6 66.6 0 0 1-30-11.2c-9-6-17.6-13-24.9-21.1a206 206 0 0 1-30.2-43.8 570 570 0 0 1-16.4-36.2l-.4-1a211 211 0 0 0-28.8-50.2c-8-10-17.7-18.6-28.3-25.6-14.9-9.6-31.1-16.1-49-16-11.8-.3-23.4 1.3-35 3.3a38.3 38.3 0 0 0-16.2 6.4c-1.1.8-1.1 2-1.1 3.2v1.4h.7c1.6.2 2.8.2 4.2-.8a40 40 0 0 1 17.8-5.6c7.2-1 14.3-2 21.6-2 9.3-.2 18.5-.1 27.5 2.6a107.2 107.2 0 0 1 42.1 24.8 143.9 143.9 0 0 1 28.2 37.8c-16.3-4.2-33-6.5-49.8-6.4a244 244 0 0 0-55.8 7.3 166.8 166.8 0 0 0-38 15.8l.3-2c.7-4.3 1.3-8.6 3-12.4a56.2 56.2 0 0 1 7.3-11.9c1-1.4 2-2.8 1.7-4.7a3.5 3.5 0 0 0-3.5-2.3c-4 .2-8 2-11.8 3.7l-.4.3c-9 4.3-17.5 9.6-24.6 16.6-4 3.8-7 8.1-10.3 12.6a69.7 69.7 0 0 1-9.3-78.3 90.1 90.1 0 0 1 32.4-36.4c23.9-16.1 53.8-23.6 82-26.5 12.7-1 25.2-2 38-.9Zm222.6 273.5c7 18.2 12.8 36.1 13.4 55.8a147.3 147.3 0 0 0 0 0c-.6-19.7-6.4-37.6-13.4-55.8Zm-379.3-141c-7.1-14-11-30.6-8.7-46.2-8.5-.6-17.2-.7-25.6 1a121 121 0 0 0-60.4 31.6 135.2 135.2 0 0 0-41.4 75.4A90.6 90.6 0 0 0 234 438c4.8-6.5 9.5-13 14.8-19.1 1.3-1.6 2.5-3.3 3.6-5l3-4.4c2-1 4.2.1 3.9 2.6-1.6 4.3-4.9 8.3-8 12l-2.3 3a216.5 216.5 0 0 0-16.3 23.6 120 120 0 0 0-16.2 39.2A115 115 0 0 0 215 526c1 9.9 3.3 19.5 7.9 28.2 3.6 7.1 8 13.4 12.5 19.5 5.3 7.3 10.5 14.5 14 23a64.2 64.2 0 0 1 4.4 28.7v.2c-.2 2.2-.4 4.7-2 6.4-1.4 1.4-4.7.4-4.4-1.9 1.1-9.5 1-20-2.4-29-3.3-8.9-9-16.8-14.8-24.8a209 209 0 0 1-8.9-12.9 57.9 57.9 0 0 1-62.3 37.4 39.2 39.2 0 0 1-30.3-21.4 40.5 40.5 0 0 1-2.8-22.5 42.5 42.5 0 0 0-11 42.4c2 6.2 5.9 12.3 12.3 14.6.4.3 1 .5 1.4.6 1.5.6 2.9 1 3.1 2.8.6 2-.8 3-2.2 4l-.2.2a41 41 0 0 0-15 22.8 65.2 65.2 0 0 0-.8 34.3c2.3 7.9 6 15.3 14 18.5 5-3.8 10-7.1 16-9.1 1.5-.5 2.9-.5 4.3-.6h.8l.3 1.2c.3 1.4.6 2.6-.7 3.7l-3.6 1.5c-3 1.2-6 2.4-8.6 4.3a76 76 0 0 0-26.2 34.7 119.3 119.3 0 0 0-6.9 65.5c2.4 12.7 7.4 26 16 35.8a34.5 34.5 0 0 0 26.1 12.7c2 0 4-.3 6-.7 2.2-.4 4.6-.9 7-.6 4.2 8.3 12.8 11.2 21 14-5.4-14-.6-28.7 9.1-39.3 1-1.2 4.4-1 5.2.4.3 1 .3 2.2.3 3.4v2.1a32.7 32.7 0 0 0 27.4 27.5c5.1.7 10 .4 14.9 0l6.1-.4a91 91 0 0 1 23.5 1.5c13.8 2.6 27 6.2 38.7 14.2 6 4.2 11.4 10 14.1 16.7 4.1 9.5 2.4 21.5-4.5 29.4-2.3 2.7-5.3 4.2-8.4 5.9l-.8.4c19.7 1.1 40-4 57.6-12.9a89.3 89.3 0 0 0 32.5-26.6c4.3-6.1 7-12.7 7.9-20.1-10.7 0-21.6-1.5-31.9-4.3-2.9-1-3-3.6-.6-5.4a13 13 0 0 1 5 .6l1.9.4c24.3 5.3 50.7 3.7 73.4-6.6a69.4 69.4 0 0 0 34.2-30.8 49.4 49.4 0 0 0 3-36.8c1.6-2.3 3.6-4.3 6.5-2.8a68.5 68.5 0 0 0 35 7 66.2 66.2 0 0 0 38.5-14.3c5-4.4 8.7-9.2 11.3-15.4l-5-14.8c-5.5-15.3-10.8-30-11.9-47.2-8.4 1.4-16.8 2-25.2 2.4l-4.8.3c-4.8.3-9.4 0-14-.3l-6.8-.5a224.4 224.4 0 0 1-139-62.5c-3 18-13.2 32.2-25.5 45-6.6 7-13.8 13.6-21 20.2a477.5 477.5 0 0 0-16.4 15.5 93.8 93.8 0 0 0-17 21c-2 3.8-3.7 8.4-2.3 12.7 1.6 6.9 7.2 11.5 12.9 15a25.4 25.4 0 0 0 8.7 3.2c1.4.4 3.1 1 3 2.8.3 1.6-1 2.8-2.6 2.8-7.6-.2-14-4.5-19.5-9.3-6-5.4-10-13.4-8.5-21.6 1.3-6.6 5.6-13 9.7-18.2 8-10 17.9-18.9 27.6-27.7 4.7-4.3 9.4-8.6 13.8-12.9a128 128 0 0 0 25-31c5.3-9.8 7.6-21 7.2-32.1-.8-20.8-10-40.5-22.5-56.8-6.8-9-14.8-16.4-22.9-24-4.3-3.9-8.6-8-12.8-12.3-4.3-4.4-7.2-10-9-16-.6-2.1-1-4.8-.2-7 1.8-1.4 3.9-.9 4.5 1.3.6 3.9 1.6 7.4 3.5 10.8a110 110 0 0 0-1-7.6c-.4-2.4-.8-4.8-1-7.2a223.9 223.9 0 0 1 56.4-178Zm369.6 128.3c3-1 4.6 2.3 6 5 .3.8.8 1.6 1.2 2.1a58.5 58.5 0 0 1 41.1 10.2A59.4 59.4 0 0 1 804 503c5.6 28-8.7 58.3-33.3 72.6a69.5 69.5 0 0 1-30.7 9.2c-1.1 1.8-2 3.6-3 5.5l-2.7 4.8c-2.8 5-6 9.9-9.3 14.8-6 9.2-12 18.5-15.6 28.4a36.6 36.6 0 0 0 0 27.4c2.6 6.2 7.1 10.7 12.2 14.8 5.6 4.2 11.6 7 17.7 9.9 4.6 2.1 9.3 4.4 14 7.3a56.8 56.8 0 0 1 25.6 29.5 60.5 60.5 0 0 1 2 27.3l-.1.5c-.7 5.3-1.4 11.2-3.8 16-.5 1.2-2.7 3-4 1.7-1.9-.5-1.2-3.3-.8-4.7 2-6 3-11.6 3.2-18 .7-7.5.4-15-2.4-22a50.5 50.5 0 0 0-20.8-24.2c-5-3.3-10.3-5.8-15.5-8.2-6.2-3-12.4-5.8-18-10.2-5.5-4-10.2-8.8-13.3-14.8a41.3 41.3 0 0 1-2-32.6c3.5-11 10.1-21 16.6-31 3.4-5.1 6.8-10.3 9.7-15.5a145 145 0 0 0 19.3-61.5c1.7-19-2-37.2-7.9-55.1a108.6 108.6 0 0 0-9.5-22.9c-1-1.7-1.7-3.1.4-4.5Z" fill="${p(`${l.hair}`)}"/></g>`,long05:(a,l)=>`<path d="M533 229.5c18.9-.7 37.8.3 56.5 2.9 15.2 2 30.2 4.2 45 8 11.8 2.7 23 6.3 34 11 11.5 5.2 22.7 10 33.6 16.5 6.7 4.1 13.2 8.7 19.3 13.7 16 13 29 30.6 40.3 47.8 9.4 15 17.6 30.9 25 47a962.7 962.7 0 0 1 39 104c10 32.8 17.2 67.2 19.3 101.6.5 13.7-.8 27.7-4.2 41-4.6 16.2-11 31.8-19.3 46.5A95.6 95.6 0 0 1 810 685c-1.7 1.7-3 3.7-5.7 2.7-2-.8-1.2-4.3-1-5.9 1.5-7.3 2.2-14.5 2.5-22A89.9 89.9 0 0 1 798 678c-6 11.2-13.6 21.4-22.5 30.5a333.7 333.7 0 0 1-70.4 52.6c-14 8.4-28.8 15.2-43.3 22.7-1.8.9-3.7 1-5-.7-1-1.5-.3-2.6.2-4.1a173.5 173.5 0 0 0 13.8-48 157.2 157.2 0 0 1-33 55.9c-1.6 2-4.6 3-6 .2 0-3.2 1.8-6.5 2.7-9.6 10-30.3 16-61.7 18.6-93.5 1.1-9.6 1.4-19.3 2.3-29 1.7-31.2 3.6-62.7 3.3-94 0-10 .2-20-.6-30a615 615 0 0 0-9-87.2 590.7 590.7 0 0 1-176.4-63.5 357.4 357.4 0 0 1-55.6-37.5c-7.6-6.4-14.9-13.3-21.3-20.9a295.7 295.7 0 0 0-52.5 49.5c-1.5 2-1.4 5.2-2 7.6-2.2 13.4-4.5 26.8-6.5 40.2-6.3 40.2-9.8 81-9.6 121.8.2 4.2-.4 8.6 1.4 12.4a218.9 218.9 0 0 0 128.8 122.1c2.2.7 3.6 1.8 5.2 3.5-3.3 4.6-8.8 7.7-13.2 11.4a409.5 409.5 0 0 0-58 57c-2 2-3.2 5.1-5.4 6.8-9 .2-18-2-27-2.7-10.4-.6-20.8-2.1-31.2-3 2.4 8 6.3 15.5 9.5 23.2 1.7 2.6-2.5 6.3-5 5a75 75 0 0 1-23-18c-12.2-14-22.9-30.2-29.4-47.7a194.9 194.9 0 0 1-11.5-47c-.7-7.3-1.7-14.6-1.8-22a501.2 501.2 0 0 1 10-110.8c3.7-20.7 8.6-41 14-61.4.7-3 2.5-6.8 1.4-9.8a146 146 0 0 1-4.5-22 122 122 0 0 1 2.2-34.5 136 136 0 0 1 11-29.8 384 384 0 0 1 33.6-53.3c7.3-9.6 15-19.1 23.4-27.7 9.2-9 19.6-16.7 30.4-23.6 11.2-7.6 26-9.4 38.9-12.1 5.5-1 10.7-3 16-4.6 4-.8 7.2-3.7 10.9-5.6 11.5-6.6 24-11.1 37.1-13.7 14.5-2.6 29.3-3.4 44-3.6Z" fill="#000"/><path d="M557 235.2c20.5 1 40.8 3.7 61 7.4 11.3 2.3 22.6 5.3 33.7 8.7a319 319 0 0 1 37.8 16.2 150 150 0 0 1 41.2 30.8c24.6 26.6 42 59.7 56.1 92.9a964 964 0 0 1 33.3 90.7A463.6 463.6 0 0 1 837 558c2.8 21.3 3.7 45-2.4 65.8A226.3 226.3 0 0 1 816 668c-1.7 3-3.8 6-6 8.7 1.3-11.2 1.6-22.5 1.5-33.7-.8-8.7.7-17.3.8-26 1-8.7 1-17.3.7-26 .1-2.8-3.5-5-4.8-1.8-.9 4.7 0 10-.5 14.8-1 14-1.2 29-4.3 42.8-4.4 22.5-17.4 43-33.4 59.2a342.3 342.3 0 0 1-71 52c-11.2 6.5-22.8 12-34.3 17.8a212.6 212.6 0 0 0 14.8-72.8c0-1.7-.6-3-1.1-4.6l-3.5.4c-.9 1-1.2 2-1.4 3.2a196.1 196.1 0 0 1-16.5 47.1c-4.4 9.1-9.8 17.4-15.7 25.5 1.8-6.8 4-13.5 5.8-20.4 9.4-34 12.3-71 14.4-106.2.8-7.3.7-14.7 1.2-22 1-13.3 1.1-26.6 1.5-40 .1-25.4.5-51.2-1.3-76.5-.9-13.2-2.4-26.3-3.9-39.4l-3.8-25.4c9.8 1.8 19.8 3 29.8 3.8 3.5.3 7.4 1 10.8.4 2.6-1.7 2-4.8-1-5.4-32.8-1.9-66-8.8-97.6-18a616.3 616.3 0 0 1-98-37.9c-19.5-9.7-39-20.5-56.8-33-18.4-12.7-37.7-28.1-50-47-1.4-2.2-3-1.6-5.2-1.2-.8 4.8 2.6 7.2 5 10.9-4.4 3.6-9 7-13.3 10.6a271.2 271.2 0 0 0-61.5 70.5c-.7 1.4-1.7 3-1.7 4.6-.4 2.3 3.4 3.5 4.5 1.4 4.5-8.4 10-16 15.7-23.8A771.8 771.8 0 0 0 319.8 552c.2 39.6 4.7 79.3 12 118.2.6 2.5 2.6 2 4.6 2.4.7-1.9 1-3.5.6-5.5-3.9-21.8-7.3-44-9-66.1-1.5-11.8-1.6-23.8-2.3-35.6A225.5 225.5 0 0 0 451 680.2c-10.7 8.3-21 16.8-30.9 26a393.7 393.7 0 0 0-38.4 42.3c-3.8-.2-7.5-.6-11.3-1.2-11.8-1.6-23.7-2.2-35.5-3.6-4-.1-9.3-1.9-12.8.3-3 2-1.8 6-.9 8.8 2.1 5.5 4.7 10.8 7 16.2a97.7 97.7 0 0 1-27-27.2c-8.2-11.3-15-23.6-19.4-36.8a190.7 190.7 0 0 1-9.1-36.2c-2-14.5-3-29.1-2.6-43.8-.4-9.7.9-19.3 1.2-29 1.5-19.8 4.1-39.5 7.9-59 4.3-23.2 9.4-46.2 15.3-69 .6-2.8 2.2-6 1.2-8.8a112.8 112.8 0 0 1-5-31.2c.3-10.2 1.3-20.2 4.3-30 5.2-17.1 14.4-33 23.9-48a365 365 0 0 1 36.9-49.1A167.8 167.8 0 0 1 389 274c12.9-8.6 30-9.5 44.6-13.7-3.4 3.4-6.9 6.6-10.4 9.7-1 1-2.8 2.4-2.6 4-.4 2.2 2.7 3 4.2 1.7 5-4.4 9.8-8.9 14.6-13.4 7-6.6 16.1-11.3 24.7-15.3 13-6 26.7-9 41-10.4 17.3-1.3 34.5-2.2 52-1.5Z" fill="${p(`${l.hair}`)}"/>`,long04:(a,l)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M570 210c4 .7 7.6 2.5 11.3 4.2l3.2 1.4a559.3 559.3 0 0 0 46.4 19.4 863.2 863.2 0 0 1 61.7 25.4c8.5 3.8 17.4 7.7 25 12.9 4.6 3.4 8.6 7.7 11.4 12.7a475.6 475.6 0 0 1 22.4 40.6c15 29.2 28.5 59.2 41.6 89.3a778 778 0 0 1 31.4 81.8 424 424 0 0 1 16.1 74.3c2.8 23 5 46.1 6 69.3.5 17 .8 33.8 1 50.8-.4 2.4-1.3 2.6-3.5 2.2-1.7-1.6-3-3.7-4.3-5.8a177.3 177.3 0 0 0-13.5-19.6l-6.7-8.8c-2.8-3.8-5.6-7.6-8.6-11.2-13.3 14.5-30 22.5-48.1 29.5-3 8.6-6.4 17-10.2 25.2-3.1 6.8-6.5 14-11.2 19.8-1.3 1.8-3.7 2-4.6-.2 0-2.4.8-4.8 1.7-7l.1-.6c4-10.4 6.5-21.4 8.3-32.4-6.2 1.7-12.5 3-18.7 4.3a296.6 296.6 0 0 1-31.9 72.8c-7.9 12-17.9 24.6-31.1 30.9-.3 0-.6.2-.8.3-2 .9-4.5 2-6.3.5-1.7-1.6-.6-3.8.4-5.5a153 153 0 0 0 17-48A387 387 0 0 0 682 692c-25.3.1-50.2-2.4-74.5-9.7a31 31 0 0 1-6.8-3.1l.8-3.7A219 219 0 0 0 684 623l-.3-10.7c0-4.4 0-8.9-.5-13.3-.7-18.1-2-36.3-3.7-54.4a263.6 263.6 0 0 1-57.7-35.5c-10.1-7.8-19.8-16.1-29.3-24.7a637.2 637.2 0 0 1-93-108c-17-25.4-33-52.9-43.5-81.6a373.2 373.2 0 0 0-124.2 85.1c-1.9 1.9-3.6 3.8-4.6 6.3a220.4 220.4 0 0 0-16.5 93.8 218.5 218.5 0 0 0 148.4 196.7c3.2.6 5.9 4.6 4.2 7.6-1.4 1-3.1 1.7-4.8 2.4a381.5 381.5 0 0 0-45.3 20.5 530.8 530.8 0 0 1-54.2 24c-11.7 4-23.6 4.2-35.6 4.5-4.1.1-8.3.2-12.5.5h-6.6c-3.8 0-7.7 0-11.4.3l-1.1.1-1 .1c-2.4.2-4.7.5-7 .4-2.2-.2-4.5-1.6-4.6-4.1-1.1-9.3-2-18.6-2.5-28-1-14.2-1-28.6-.8-43v-10.5c-20.7 25-32.7 54.8-40.5 86.1-.3 1.5-1.1 2-2.5 2.7-2.2-.6-3-1.4-3.3-3.7a296.4 296.4 0 0 1 0-65.6c2.5-26 7.5-51.7 14.7-76.8a360.4 360.4 0 0 1 31.5-77.5c1-1.5 2-3.1 2.6-4.8a329.6 329.6 0 0 1 16.2-80.3l4.7-14.3a371.8 371.8 0 0 0-36.8 58.3 277.3 277.3 0 0 0-22.1 58.1c-.4 1.4-1 3-2.6 3-1.7.3-3.2-1-3.3-2.7l-.3-4c-.5-5-1-10-1.2-15A243 243 0 0 1 270 381a184.2 184.2 0 0 1 59-60c2-1.1 2.7-2.9 3.3-4.8l.8-2.2.3-.7c2.2-5.7 4.6-11.8 8.4-16.6 3.7-4.5 8.1-8.8 13-12 7.2-4.5 15-8.3 22.8-12a1004.5 1004.5 0 0 0 18.6-9l14.6-7 22.2-10.7c10.8-5.3 21.6-10.5 32.6-15.5 9.3-4.3 18.4-8.1 28.5-10 8-1.2 16.3-.8 24.2.2 2.6.4 5-.2 7.5-1 9.3-3.2 18.8-5.3 28.4-7.5l4.2-1c3.8-1 7.4-2 11.8-1.2Zm2.8 129.2 4.8 3.6a1317.2 1317.2 0 0 1 48.7 37.7c6.3 5 12.5 10 18.4 15.8 3.3 3.2 6.4 6.7 9.4 10l4 4.6c1.7 1.5 2.1 3.5 2.5 5.6 6.8 33.7 12.4 67.7 16.2 101.8a494.5 494.5 0 0 1-55.6-59.5 583.7 583.7 0 0 1-47.6-69.4 441.4 441.4 0 0 1-35.2-73.7l3.3 2.1c10.5 7 21 13.8 31.1 21.4ZM799.9 515a57.5 57.5 0 0 0-14.7-39c.8 4.6 1 9.2 1.2 13.8l.2 4.2c1.4 19.8 1.8 39.8.6 59.6a65.5 65.5 0 0 0 12.7-38.6Z" fill="#000"/><g fill="${p(`${l.hair}`)}"><path d="M565 215.7a18 18 0 0 1 9.9 1.5c10.6 4.9 21.4 10.3 32.2 14.8 11.2 4.7 22.5 8.7 33.9 13 15.4 6 30.7 12.4 45.9 19.2 9 4 17.7 7.6 26 12.9a43 43 0 0 1 13.4 14.6c9.5 15.9 17.1 32.1 25.5 48.5 15 30 28.4 60.6 41.8 91.2a759.1 759.1 0 0 1 26.9 73.1c5.7 20 10.6 40.4 13.3 61 1.8 12.5 3 25 4.3 37.5 1.3 16 2.8 31.8 2.8 47.8.6 10 .9 20 .8 30.1-6-9.6-13.2-17.6-19.9-26.8l-9.6-12.5c-3.2-.8-4.9 2.9-6.9 4.7a108.5 108.5 0 0 1-40 24.9c11.7-34.9 19.1-71 21.2-107.8 6-6.7 11-14.2 14.2-22.6a68.6 68.6 0 0 0 2-45.3A59 59 0 0 0 787 470c-1.2-1.3-2.5-2-2.6-4-1.1-9.1-1.4-18.5-3-27.6-.7-2.7-2.8-1.9-5-2.1-.2 1.5-.6 3-.4 4.5 2.6 23.6 5 47.4 5.8 71.2.2 19 .4 38-1.4 57A408 408 0 0 1 751 693c2.2-13.7 4.4-27.2 5.6-41 2-20 2-40 .5-60-1.6-15.1-2.6-30.5-5.6-45.5l-2.5-.6-2.3 1-.6 5.1c-2.7 42.5-9.4 85.1-21.1 126-2.1 6-3.5 12.2-5.7 18.2-7.5 22.4-17 45.3-30.4 64.8a83.3 83.3 0 0 1-21.9 22.6c10.6-21.7 15.4-46.9 18.6-70.6 1.7-13 2.5-26 3.5-39 .5-12.7.6-25.3 1-38-.7-17.6-.3-35.5-1.9-53-.4-12-1.6-24-2.5-36a69 69 0 0 0 26.4 4.3c2.8-.2 3.8-4.2 1.1-5.5-10.5-6.5-20.5-13.9-29.9-22-4.2-38-10.4-75.7-18-113.3-2.6-3.8-6.2-7-9.2-10.6-9.5-10.9-20.5-19.3-31.6-28.3-15.2-12.4-30.8-24-46.5-35.7-12.7-9.5-26-17.9-39.5-26.4-2.3-1.6-4.2-2-7-2.2-.5 1.8-1 3.3-.2 5.2a403.3 403.3 0 0 0 25.9 59.3c16.6 31.3 36.2 61 58.1 88.8 17.9 22.5 37 43.6 58.5 62.6 8.8 7.4 17.6 14.9 27 21.6-3.7-.5-7.4-1.4-11-2.6a161 161 0 0 1-28.1-12.9 404.5 404.5 0 0 1-76.3-59.7 628.3 628.3 0 0 1-83.6-100.4c-13-19.6-25-40.1-34.4-61.6-6.3-14.6-11.7-30.1-13.7-46a269.6 269.6 0 0 1 55.9-30 312.4 312.4 0 0 1 55.4-16Z"/><path d="M509.3 225.5a282.6 282.6 0 0 0-55.4 29.3c-2.4 2-5.5 3.8-5.7 7.2.6 9.2 3.4 18.6 6 27.3a363 363 0 0 0-98.3 60.5c-31.4 26.7-59 58-81.2 92.8a318.1 318.1 0 0 0-35.5 74.8c-.1-9.1-.4-18.3.3-27.4a239 239 0 0 1 37.7-109.8c17.8-26.9 42.4-51.3 72.7-63.4 2.4-1.3 2.4-5.4-.6-6.2-3.9 1.5-7.5 3.6-11.3 5.2 2.3-5.3 4.4-11.3 8-15.8a50 50 0 0 1 11.7-10.3c8-5 17-9.3 25.6-13.4 10.7-5.3 21.6-10.2 32.2-15.6 19.8-9.2 39.3-19.3 59.2-28 11.1-4.8 22.4-8.2 34.6-7.2Z"/><path d="M317.5 395.4a224.3 224.3 0 0 0 138 286.2 447 447 0 0 0-41.3 18.7c-18.8 9.2-36.9 18.2-56.7 25.3-14 4.9-27.1 3.7-41.5 4.9-10.4.4-20.7 0-31 1.4a342 342 0 0 1-3-42.9 1996 1996 0 0 1-.4-51.9c-.2-2 .2-5-1.5-6.5-2.2-.3-3.1.5-3.7 2.6-.3 3.6 0 7.2-.3 10.8-3.4 2.5-5.5 5.8-8 9a194.7 194.7 0 0 0-33.6 67.8c-1.8-14-.6-27.6.2-41.8a439 439 0 0 1 22-105 321.9 321.9 0 0 1 20.7-48.2c0 5.4-.6 10.8-.6 16.2 0 7-1 14-.9 21.1.1 1.7.4 3.3 2.3 3.7 1.9.4 3-1 3.3-2.7.7-5.3.5-10.8.8-16.1.2-11.3 1-22.7 1.7-34a339 339 0 0 1 15.9-80.2c2.7-8.6 5-17.2 8.3-25.6 1.4-5 6-8.7 9.3-12.8ZM750.4 583.6c1.4 10.4 1.6 21 2.1 31.4.3 20.6-1.8 41.5-4.7 62-5.8 1.8-11.7 3-17.7 4.3a586 586 0 0 0 18-89.3c.5-3.1 0-6 2.3-8.4ZM684.2 631c.2 11-.3 22-.4 33-.4 7.4-1 14.8-1.2 22.2-23.7.5-47.6-2.1-70.4-8.4a227.9 227.9 0 0 0 69.8-44.7l2.2-2Z"/></g>`,long03:(a,l)=>`<path d="M461.8 187.2A43.1 43.1 0 0 1 481 208c2.7 6.6 2.8 14 .3 20.8a335 335 0 0 1 96.6-14.6c14 .3 27.8 1.4 41.5 3.7-.2-2.5-1.3-6 0-8.3 1.5-1 3-.8 4.5-.9 7.6.1 14.7.6 21.7 3.6 7.4 3.3 13 9 17 15.8 3.4-3.4 7.1-6.8 11.2-9.3 2.2-1.3 4.7-1.8 6.9-3 2.4-2.6 4.2-5.7 7-8 4.7-3.7 11-7.2 17.2-6.6 4.1 0 7.4 3.5 8.8 7 3.5 8.8 3 18 .7 27a35.3 35.3 0 0 1 24.5-7.4c5.4.6 9.6 3.3 13.6 6.8 4.1-3.6 8.8-6.2 13.8-8.3 11.5-4.8 24.5-7.4 36.6-10.6 3-.8 4.7 1 5.2 3.8 1.5 9 1.6 19.3-2.2 27.7 5.5 5.1 9.9 10.8 11.3 18.3 1.2 4.3.4 8.2 0 12.5.3.5.8 1 1.3 1.4a47.2 47.2 0 0 1 15.6 48.9 36.6 36.6 0 0 1 25.3 32.7c0 2-1.8 3-3.5 2.9-2.3-.3-4.6-1.3-6.8-2.1-5.2-2-10.8-2.3-16.3-2.6a84 84 0 0 1 5.5 23c.8 7 .5 13.6-1.2 20.5a59.1 59.1 0 0 1 14.3 42.2c-.2 2.1-3.3 4.2-5.2 2.8-15-8.5-32.2-13.5-49.2-15.6 33.8 22.9 57.7 61.2 62 101.9 1 12 .8 24.2-2 36a82.9 82.9 0 0 1-18.7 36.4c-1.8 2.1-6.4 2.2-6-1.4.2-10.3.4-20.8-4.6-30.2A89.6 89.6 0 0 1 763 634a106.6 106.6 0 0 1-58-2.8 31.6 31.6 0 0 0-6.5 20.8c.4 2.4-.7 3-2.2 4.5-3.6-2.4-7.3-4.5-10.8-7a87.5 87.5 0 0 1-12.2-11.8c-1-1-1.2-2.3-1.6-3.6a219 219 0 0 0 46-56.3c1.6-3.1 4.7-1.3 7.3-.8 18.4 5 37.8-.7 52-13a65 65 0 0 0 22.2-49c.2-11-3-22.1-9-31.4a51.5 51.5 0 0 0-58.9-21.3 134.8 134.8 0 0 1-18.5 32.5A146.3 146.3 0 0 1 689 518c-1.2 1-2.4 1.9-4 2.3-1.8 0-3.4-1.3-2.9-3.3 3.7-14.6 7.4-29.9 7.4-45 .8-13.4-.5-27-3.4-40.1a46.3 46.3 0 0 1-35-15 38 38 0 0 1-9.9-24c-2 4.4-3.7 9.2-4.3 14-.4 4 .2 8-.1 12-.5 1.9-3.4 2.2-5 2.6a77.7 77.7 0 0 1-28.8-.9 53.7 53.7 0 0 1-30.4-18.1 56.2 56.2 0 0 1-11.8-37.5c0-5.6 1.3-11 1.8-16.5-5 8.8-8 17.5-9.5 27.5a67.7 67.7 0 0 0 2 32.8c1 2.4 1.5 6-2 5.8a49 49 0 0 1-21.2-18 33 33 0 0 0 1.7 12.8c.4 2 1.9 4.8.4 6.5-1.3 1.8-3.8 2-5.8 2.5A347 347 0 0 1 449 425a149.5 149.5 0 0 1-55-12c-10.4-5-20-12.2-25.2-22.8a46 46 0 0 1-4-16.5 57.6 57.6 0 0 0-12.3 24.5c-2.5 8.7-3 17.8-1.8 26.8.3 2.8-2.5 3.4-4.7 3-6-1-12-3-17.6-5.4-4.2-1.6-7.9-4-12-5.8-3.7 16.6-6.4 33-6.3 50.2A217.5 217.5 0 0 0 361 610c2.5 3 5.2 5.2 6 9.2-4 3.8-8.7 3.4-14 3.9a66.3 66.3 0 0 1-42.6-16.4 94.7 94.7 0 0 1-32.1-52.9 92.3 92.3 0 0 1-1.4-21.8 56.7 56.7 0 0 0-15.3 35.6c-.2 2-3 2.8-4.4 1.5-1.4-1.4-2.2-3.5-3-5.2a149.5 149.5 0 0 1-11-79.7c2.6-19.7 9-39.3 20.4-55.7a76.8 76.8 0 0 1 34.6-28.6 112 112 0 0 1-5.3-8c-3.3 4.2-7 8.6-11.9 11-3.9 1.6-9 1.5-12.3-1.5-3.4-3-4.6-7.1-6-11.2-4.5.5-9 .6-13.6.4-2 0-3.7-1.6-3.4-3.6.7-5.6 2.2-11.2 3.5-16.7-4 0-8 .6-11.7-1.7-4.4-2.7-5.8-7.7-6-12.6.2-9.7 5.2-19 13.1-24.5a35 35 0 0 1 16.4-4.8 66 66 0 0 1-10-16.7 36 36 0 0 1-2.1-18c.4-3.5 2.9-6.8 6.3-8 4.9-1.2 9.8-.7 14.6.5a28 28 0 0 1 3.1-10.3 36 36 0 0 1-8.4-16.3c-.5-3-.7-5.7 2.6-7 6.4-.6 13 1 19.6 1.1a48 48 0 0 1 13.7-28.7c2-1.7 3.8-3.6 6.6-3.2 1.6.1 2.7 2 3.7 3 3.9-7 9.4-14.7 17.1-17.5a32 32 0 0 1 23.3.9c2.5-3.6 5.1-8.3 10-8.8 5-.5 8.5 2.2 12.2 5a41.4 41.4 0 0 1 13 17.9 36.7 36.7 0 0 1 17.8-6.9c2.5 0 4 1.9 3.8 4.3a53 53 0 0 1-7 22c15.5-1.8 31-1.9 46.2 1.8.4-9.7-4.4-18-11-24.8a54 54 0 0 0-35-16c-3 0-4.1-2.3-2.8-4.8 5-8 14-13 23-15a58 58 0 0 1 40.6 6Z" fill="#000"/><path d="M367.4 205.7a36 36 0 0 1 14.1 18.5 30.9 30.9 0 0 1-1.1 20.3c-6.7 3-13.7 4.9-20.2 8.2a52.6 52.6 0 0 0 0-22.7c-.6-2.3-1.6-4.3-4-4.8-2.2.8-4.1 2.6-6 3.8.3-4.2 1-8.3 2.5-12.2a34 34 0 0 1 7.5-12.6c2.2-2.1 5.2.3 7.2 1.5ZM348.4 211.8a41.7 41.7 0 0 0-3.6 20.9c-7.4 4.6-14.5 9.4-20.9 15.3-2.7-1.8-5-2.7-8.2-3.3-1.7-4-3-8-4-12.1 3.8-7.5 7.2-14.5 14.2-19.7a24 24 0 0 1 22.5-1.1ZM402 219.6c-1 7.6-3 15.1-8.5 21-1.6 1.6-4.5 1.8-6.6 2.4 1-5.4 1.7-10.6.8-16 4.2-3.6 9-6.1 14.3-7.4ZM305 226.7c.7 6.7 3 12.6 5.1 18.9a30.3 30.3 0 0 0-14.8 19.6 23 23 0 0 1-2.7-14.7c1.4-8.9 6-17.5 12.4-23.8ZM269.5 256.3l17.2 1.6a52 52 0 0 0 2.8 9c-5.5-.8-8.9.5-13.4 3.3a35 35 0 0 1-5.6-10.7l-1-3.2Z" fill="#C0ACEB"/><g fill="#E67E5E"><path d="M795.9 248.2a27.7 27.7 0 0 1 14.5 14.3c2.4 5.5 1.8 12.1.1 17.8a47 47 0 0 0-14.4-20.4c-4.5-3.1-9.6-4-15-4-6.9-5.4-16-6-24.3-4.2.8-1.8 1.3-3 3.3-3.8a43.8 43.8 0 0 1 35.8.3Z"/><path d="M774.6 258c-7.5 4.4-11.5 13.4-13.1 21.6l-1.5 1.7a41 41 0 0 0-19.5-12.6l.3-.2c5-2.9 8.8-5.7 12.8-9.9a27.8 27.8 0 0 1 21-.6ZM795.3 266.7c4.8 4.8 8.3 11.1 10.4 17.5 1.9 5.7 3.4 13 1.4 18.8a29 29 0 0 0-11.6-6.7c-1-9.2-4.6-18.8-13-24-4-2.4-8.2-1.8-12.5-.5 2-3.4 3.7-6.6 7.4-8.5 6-3.2 13.1-1 17.9 3.4Z"/><path d="M779 277c4 2 7 6.6 8.8 10.8-5.4 1.5-9.7 5-12.1 10a60.5 60.5 0 0 0-5.3 20.2 25.2 25.2 0 0 0 11.7 22.8c-1.8 1.4-3.7 2.5-4.9 4.6-6 3.9-14.6 1.5-19.4-3.2-6.7-6.7-7-17.1-2.8-25.2 4.7-4.2 8.6-8.6 10.1-14.8 1.6-5.5.2-10.4-1.6-15.5 2.6-3.7 5.8-7.2 9.8-9.5 1.7-1.1 3.8-1 5.6-.1ZM815.7 283.7a42.1 42.1 0 0 1 14 38.3c-.5 3.8-2.1 6.8-3.4 10.3a23.5 23.5 0 0 1-18 14.4c4.5-8.7 6.3-19 4.8-28.7-.5-3-1.8-5.8-2-8.8.6-3.1 1.8-6 2.1-9.2.6-4 .1-8-.6-12 1-1.5 2-3 3.1-4.3Z"/><path d="M789.1 292.9a40.1 40.1 0 0 1 0 21.2c-1.7-3-2-5.8-2.3-9.1-.2-3.5-1.4-6.6-2.7-9.7l5-2.4ZM780.7 300c.9 5.7 1.8 11.2 0 16.8-.9 2.3-2.7 3.6-4.5 5a48.8 48.8 0 0 1 4.5-21.7ZM796 302.6c4 1.6 7.3 4.4 9 8.4 4.3 10.1 3.5 22-1 31.9-3 6.4-8.5 10.6-15 13.1a25 25 0 0 0-3.9-10c5-6.7 6.6-14.6 6.3-22.8a43.6 43.6 0 0 0 4.6-20.6ZM720.4 318.8a51 51 0 0 0 11.7 3.6c.8 9 1.7 18 5 26.6 1.2 3.4 3 6.5 4.8 9.6-4 7.3-4 15.6-1.3 23.4a39.7 39.7 0 0 1-20-5.6 27.7 27.7 0 0 1-12.2-19.7c11-8.8 14.2-24.5 12-37.9ZM747 320.7h.3a27.7 27.7 0 0 0 2.8 21.1c5.9 10.3 20.7 14.9 30.9 8.2 1.4 3 2.7 5.6 1.9 9-1.7 6.8-9.2 10.6-16 9.9-9-.9-16.2-7.5-21-14.8-6.2-9.9-7.2-20.2-8.6-31.4 3.4-.4 6.6-1 9.8-2ZM785.5 320.8c.6 5 .5 9.7-1 14.5-3.3-2.3-5-4.4-6.7-8 3.1-1.6 5.4-4 7.7-6.5Z"/><path d="M811.4 352c.2 7.6.5 14.5-3 21.5-3 7.2-10.1 11.8-17.2 14.8-9.7 4-20.7 6-31.2 4.9a23.8 23.8 0 0 1-15.3-17.4c-1-4.2-.2-8.2 1-12.2a40 40 0 0 0 10.5 8 24.2 24.2 0 0 0 21.6 1.2 20 20 0 0 0 10.6-11.2 31 31 0 0 0 13.9-7.3c2.1-2.5 6-1.7 9-2.2Z"/></g><g fill="#fff"><path d="M703 206.9c3-.5 4.9 1.7 5.8 4.3 3.7 10.9 1 21.3-3 31.6-.8 2.5-2.4 5.4.1 7.5 3.9 1.2 4.6-3.6 6.7-5.7 5-5.5 12.4-9.5 19.6-11a18 18 0 0 1 18.8 8.5c2.3 3.8.7 8.8-1.7 12.1-4.6 6.4-12 9.7-19.3 12-1.7.6-4 1.6-3.5 3.8.2 3.1 4.3 2.8 6.5 3.3 11.2 1.3 22.5 7.7 26.1 19 3.3 9.6-4.2 19.7-13.3 22.7-8 3-16.3 2-23.7-2-2.3-1.2-4.4-3.1-7.2-2.2-2.5 1.8-.6 5.6-.4 8.2 1 8.2 1 17-3 24.5-2.7 6.1-8.7 11.2-15.5 11.8-6.1.4-11-3.9-13-9.3-3.5-8.6-1.7-16.9 1.3-25.2a8 8 0 0 0-3.3-3.4c-3.4 2-4.8 5.3-7.5 8a30.6 30.6 0 0 1-11.6 8.7c-5.4-2.2-8.2-8.1-9.5-13.4a37 37 0 0 1 0-17.1c2.5-1.5 5-3 7-5.2 4.9-4.9 7-12.2 4.9-19-1.3-5.2-6-9-11.3-10a27 27 0 0 0-13.3 1.3c1.1-6-.4-11.8 1.1-17.7.7-2.6 1.2-5 3.4-6.8 3.5-1.7 7.8-.2 11 1.6 8 4.6 15.6 9.8 23.4 14.6 1.8 1.4 4.8 1.4 6-.7 1-3.8-3-7.8-3.3-11.7a41.7 41.7 0 0 1 5-31.6A24.8 24.8 0 0 1 703 207ZM319 252c2.2 1.6 3.3 4.4 3.7 7 .2 3-2.2 6.1-2.5 9 .1 2 2.6 4 4.5 2.7 7-3.4 14-8.2 22.3-6.8 3.2.6 8 1.6 9.2 5 .2 4.2-2.8 8.8-5.4 11.9a43.4 43.4 0 0 1-22 12.4c-2.7.8-6.7.2-8.4 2.7-.6 2-.1 3 1.1 4.6 2.9 3.7 6 6.6 8 11a19.5 19.5 0 0 1-.7 18.2c-2.3 4-6.1 7.4-10.8 7.5-4.7-.2-8.8-3.2-11.1-7.1-3.2-5.3-3.8-11-3.7-17.1.1-2.8-3.3-4-5-1.9-3.5 4.6-6.5 10.4-12.2 12.9-3 1-5.4-.8-6.5-3.5-2.4-4.9-.9-9.5.6-14.3 1.2-3.7 3.6-6.3 5.7-9.4 1-1.4.3-3.6-1.2-4.3-3.6-2-7.1-3.4-8.7-7.5-1-5.4 3.7-11.9 9-12.8 3.7-.5 8.8 1.6 9 5.8.5 1.9.3 4.8 2.6 5.5 1.6.9 3.6-.8 3.7-2.5 0-3-.6-6-.3-9 1-7.6 4-15.2 10.5-19.7 2.4-1.8 6.2-2.2 8.7-.4Z"/><path d="M624.5 259.5c3.1-1.8 7.5-.6 8.8 3 2 6.8-.9 13.5-4.8 19-1.4 2.1-3.6 3.6-2.6 6.5 1.4 1 2.2 1.6 4 .8 3.5-2.8 5.4-7.9 8-11 3-2.8 8.2-3.4 12.1-3.2a9 9 0 0 1 9.2 8.4c1 7-3.7 13-10 15.3-6.3 2.4-12.9 1-19.2.4-2.4-.3-4 2-2.6 4 2.6 4.7 4.7 9.9 4.4 15.3a16.5 16.5 0 0 1-11.8 13.4c-2.8.6-4.2-1.8-5.4-4a33.2 33.2 0 0 1-2.9-16.4c0-2 .5-4.5-.5-6.2-1.6-.8-3.6-1-4.8.6-4 4.5-10 9.9-16.5 8.7-4-1-4.9-6.3-3.4-9.6a27 27 0 0 1 14.7-12c1.6-.8 3.3-1.4 3-3.5.1-1.8-1.8-2.5-3.2-3-4-1-7.8-2.2-10.8-5.2-5.5-4.9-5.1-14.6.3-19.3 3-2.5 7.4-1.1 10.4.6 5 2.5 7.5 7.1 10.4 11.7 2.2 3.4.9 7.2 3.3 10.5 1.2 1.9 4.6 1.1 4.6-1.2-1-4.1-2-7.9-.9-12.1 1.2-4 2.8-9 6.2-11.5ZM262 288.8c6.8-.3 11.6 3.7 16.8 7.4-4 5.8-6.4 12.8-6.3 19.8.3 5.4 2.8 11.2 8 13.5 2.5 1.1 5.2.5 7.7.1-2 5.3-3 10.8-3.6 16.3-3.7-.3-7-.6-10.6.2a33.2 33.2 0 0 0-22.4 17.7c-4.4 1-10.3 2.2-13.1-2.3-3.3-7.4.7-17.4 6.3-22.7 5-5.2 12.4-6 19.2-6.6 2.1-.3 5.7.8 6.1-2.2.2-3.2-4-5.9-5.8-8.4A45.2 45.2 0 0 1 254 297c0-2 0-5 1.4-6.6 1.4-2 4.6-1.5 6.7-1.6ZM287.4 380l2.2 5.6a31 31 0 0 1-9.8 11.2c-2 1.4-5 2.2-7 .5-2.6-2-3.3-5-4.3-8 4.1-.8 8.2-1.8 12-3.8 2.7-1.3 4.8-3.5 7-5.6Z"/></g><path d="M625 214.3c9 .4 17.3 1.2 24.5 7.1 7.6 5.8 11 14.3 12.1 23.5-5.8-3.5-11.9-6.8-18.8-4.2-5.8 2.5-7 9-7.9 14.5l-4.4-2c-1.3-3-2.4-6-3.1-9.2-2.4-9.9-1-19.6-2.4-29.7ZM802.7 221.8c1.2 7.6 1 15.2-1.6 22.4a47 47 0 0 0-24.1-5.4c-6.9-.1-13 2-19.5 4.2-.3-1.4-1.5-3.2-1.2-4.6 2.8-2.6 6.6-4.5 10-6.1 11.4-5 24.4-7.5 36.4-10.5ZM677.7 222.8a54 54 0 0 0-1.1 31.4l-9.1-5.8c0-5-1.1-9.6-2-14.4 2.2-4.8 8-8.2 12.2-11.2ZM355 233c.3 4.8 1.1 9.2.3 14-.4 4.2-2 8-3.6 11.8-3.7-.6-7.1-1.2-11-.7-4.3.5-8.3 2.1-12.3 4.1a20 20 0 0 0-1.5-9.5c7-7 16.6-12.5 25-17.9l3-1.8ZM675.5 331.8c-1.2 9.3 1.4 19.1 8.4 25.6-1 2.6-1.7 5.2-2.8 7.7-6.2 3.6-14 4.9-21.1 5-6.6 0-13 .3-19.5-1.5a73 73 0 0 1-18.8-8.5c6.6-6.5 13.5-12.9 20.8-18.6A59 59 0 0 1 653 335c2.5 2.5 5.3 4.4 9 4.7 4.4-.5 7.7-2.8 11-5.7l2.5-2.2ZM832.3 334c4 .7 7.9 3.1 10.9 5.8 5 4.8 8.7 10.9 10.5 17.6-3.8-1.2-7.6-2.5-11.7-3-4-.6-8-.1-12-.5-2.2-2.5-4-5.3-5.9-8.1 3-3.8 5.8-7.5 8.2-11.7ZM819.6 348.9c4.4 6 9.1 12.2 10.7 19.6a67.3 67.3 0 0 1 .7 34.4 93.9 93.9 0 0 0-24.1-17.6c3.6-3.5 6.3-7.7 7.9-12.4 2.6-7.4 2-14.6 1.9-22.3l3-1.7ZM283.8 351.2c0 5.6-.3 11.3.8 16.8.3 1.6.7 3.3.5 5-2.3 3.6-5.5 7-9.7 8.4A62.8 62.8 0 0 1 252 385c1.9-9.7 2.8-18.6 10-26 5.8-5.3 13.8-9.3 22-7.7ZM688.5 360.2c5.3 1.2 9.5 1.3 14.7-.6 2 8.9 6.3 15.4 13.6 20.8-1.7 4-4 7.2-7.3 10.2a80.6 80.6 0 0 1-21.3 13.5c-1.4-8.2-3-16.8-3-25.1.7-6.6.7-12.6 3.3-18.8Z" fill="#A0CC59"/><path d="M309.3 282.3c2.7-.8 4.5 1 3.5 3.6-1.6 2.3-4 4-5.4 6.5-1.6 2.3-2 5.2-3.6 7.4-1.5.2-2.6.3-3.5-1-1.2-2 .2-4.8 1-6.6 2-3.7 4.6-7.5 8-9.9ZM699.2 262.2c7.6-2.5 14 4 15.7 10.8 2 6.4 1 13-1.7 19.2-2.3 4.7-6.7 9-12.2 9.1-4.9.2-8.9-3.1-11-7.3a26.6 26.6 0 0 1 1.4-25.6c1.7-3 4.6-5 7.8-6.2Z" fill="#000"/><path d="M699.5 268.5c1.4-.8 2.9-1.4 4.5-.7 3 1 4.6 4.6 5.5 7.4 1.2 5.9.5 13-3.7 17.6-1.7 2-4.2 3.4-6.8 2.3-2.9-1-4.6-4.8-5.3-7.6-1.7-6.4.2-15 5.8-19Z" fill="#F0DF83"/><path d="M461.9 194.1c7.2 4.8 13.6 12 15.2 20.9 1 5.2-.2 10.6-3 15-1 1.6-1.9 3.6-.1 5 1.9 1.3 5 .6 7 0 44.2-13.7 93-19.4 138.9-11.1.6 5 .5 10.1 1 15.1.6 5 2 9.6 3.8 14.2-6.4 2.3-9 7.7-10.9 13.7-3.6-6-9.4-10.8-16.3-12.3-4.3-1-9.3.3-12.2 3.7-4 4.3-5.2 10-4.6 15.7.5 7.4 6.1 13 12.7 15.7-5.7 3.4-11.2 8.2-13 14.8-2 6.3 1.9 14.1 8.6 15.4 6.6 1.2 11.7-1.9 16.8-5.6.3 5.6 1.1 11 3.7 16.2 1.3 2.4 3.3 4.9 5.9 6 4 1.6 8.6.1 12-2.2 5-3.5 9.2-9 9.8-15.3.5-5-1-9.2-2.4-13.8 3.7.1 7.4.2 11.1 0a93 93 0 0 0 .2 14c.5 4 2 7.3 3.5 11-12.6 6.4-23.2 17.4-33.4 27-2 1.7-2.3 4.1-.3 5.9 3.1 2.6 7 4.5 10.6 6.4 11.7 6 25.6 7.8 38.5 5.8 5.5-.5 10.3-1.7 15.3-3.8a119 119 0 0 0 3 37.3c.8 1.7 2.4 2.3 4.2 1.7 4.8-1.4 9.2-4 13.5-6.5a51.4 51.4 0 0 0 21-20.4c7.3 2.8 13.6 4 21.5 3.5 3.9 4.9 8.5 8.9 14.5 11 3.6 1.5 7.2 1.2 11 1a69.6 69.6 0 0 0 30.6-8.4c2.4-1.5 5.1.2 7.3 1.3a81.6 81.6 0 0 1 17 12.1c2.5 2.2 4.5 5 7.2 6.9 1.8.4 2.7-.5 4-1.4a54.3 54.3 0 0 1 11 31.8 138 138 0 0 0-60.2-16c-2.3 0-4 2.4-2.8 4.4 3.1 2.6 7 4.4 10.3 6.8a141 141 0 0 1 54.3 71.7c5 15.6 7.5 32.3 5.7 48.7a83 83 0 0 1-15.5 41c-.3-4.8-.2-9.9-1.2-14.5-1.3-6-3.7-12.3-6.6-17.6-1.1-2.1-3.9-1.5-5.4-.2-.8 1.3-1.2 2.9-1.7 4.3a82.2 82.2 0 0 1-59.9 58 101 101 0 0 1-54.3-1.7 8.5 8.5 0 0 0-5.6-.2 17 17 0 0 0-5.1 6 44 44 0 0 0-5.4 15.7 78 78 0 0 1-14-12 239.2 239.2 0 0 0 43.1-53.1c7.6.8 14.4 2.7 22.2 1.7a67 67 0 0 0 46.2-26.2c10-12.7 15.4-29 15-45.2a64 64 0 0 0-11.5-34.7 56 56 0 0 0-40.5-23.6 51.7 51.7 0 0 0-19.2.8c0-1.9.8-4.4-.6-5.9-1.5-.9-3.8-.4-4 1.5a107 107 0 0 1-12.2 27.1c-7 12-16.8 22.6-27.2 31.6 2.7-13 5.5-25.4 5.2-38.8.6-14.7-1.1-29.4-4.7-43.7-1.2-2-3.5-1.2-5.5-1.4-5 .2-10-.5-14.5-2.5-8-3.7-15.6-9-20-17-4-7.1-4.4-16.5-4.3-24.5-.8-2.3-4.3-1.9-5 .2-2.7 4.6-5.4 8.8-7.2 13.9a53.2 53.2 0 0 0-3.1 19.9c-5.7.4-11.1 1.4-16.9.5-11-.8-21.7-4.1-30.4-11a45.7 45.7 0 0 1-16-27.6c-2.1-12.4-.7-25 3.6-36.8.5-2 1.9-4.7.3-6.5-2-1.8-5-.2-6.4 1.6a76 76 0 0 0-15 27c-2.5 8.2-3.4 16.5-4 24.9-.2 6 1 11.6 1.8 17.6a51.3 51.3 0 0 1-13.7-15.8c-1-1.6-2-3-4-2.5-2.1.2-2.6 3-3 4.7a43 43 0 0 0 1.4 20.3 327 327 0 0 1-65.6 7c-8.6-.1-17.6 0-26-1.2a118.9 118.9 0 0 1-45.3-12.8 39.5 39.5 0 0 1-19.6-22.5c-1.6-5.4-.8-10.4-.9-15.9-1.2-2-3.4-2.4-5.4-1a46.1 46.1 0 0 0-15 20 75.8 75.8 0 0 0-6.4 36c-4-1.3-8.2-2.3-12.3-4a70.3 70.3 0 0 1-29.4-21.6 63.4 63.4 0 0 1-13-35.5c-.9-13.2 2.4-27 7.8-39.1 1.6 5 2.6 9.6 6 13.8 4.6 5.7 11.7 9 19 6.9 9.2-3.2 14.8-13 14.7-22.4.2-8.1-3.8-14.8-9-20.6a49.6 49.6 0 0 0 27.6-15.6c3.6-4.4 6.8-9.9 6-15.8-.2-3.2-2.6-5-4.8-7.1 9.8-5.2 20-9.3 30.8-12 19-5 38.8-6.2 58-1.2 1.9.2 4 1.4 5.4-.5 1.3-2 1.4-5 1.5-7.2.1-9-4.1-17.2-9.8-24a60.2 60.2 0 0 0-37-20.4c3.4-3 7.2-5.7 11.6-7.2a51 51 0 0 1 44.4 5.7ZM302 404.7c3 3 6.2 5.8 9.5 8.4a223.5 223.5 0 0 0 47.4 203.6c-7.9 1.5-15.9.3-23.4-2.3A71.3 71.3 0 0 1 307 596a87.4 87.4 0 0 1-24.3-49.9c-.7-6.4-.3-12.7.4-19 .2-2.5-2.2-3.7-4.3-3a24 24 0 0 0-9.8 8c-5.6 7.1-9.5 15.3-11.9 24a141 141 0 0 1-9.4-61 125 125 0 0 1 22.4-65.8c8.1-11 18.8-20 31.8-24.5Z" fill="${p(`${l.hair}`)}"/>`,long02:(a,l)=>`<path d="M427 180.2a58 58 0 0 1 39.7 10.1c6.4 4.7 11.9 10.9 14.7 18.4a28.3 28.3 0 0 1 0 20 338 338 0 0 1 98.6-14.5c7.3.2 14.7.7 22 1.3a205.3 205.3 0 0 1 88.6 28.9 160.1 160.1 0 0 1 58.4 63.5 179 179 0 0 1 18.5 69.6c27.4-6.6 57.5 7 73.2 29.8a57.4 57.4 0 0 1 10.9 37.6c-.2 1.8-2 3-3.6 3.3-2.6-.6-5-2.5-7.5-3.6a138.2 138.2 0 0 0-43.3-12.5c27 18.4 47.5 46.4 57 77.7 5 15.9 6.6 32.7 4.8 49.2a86 86 0 0 1-20.5 47.4c-1.6 1.8-5.3 2.4-6.1-.3 0-10.2.6-22-4.7-31.2a89.3 89.3 0 0 1-77.2 61.2c-15.1 2-31-.2-45.4-4.9-4.5 6.3-7.6 14-6.6 21.8.3 1.7-1.2 2.5-2.3 3.5-2.3-1.6-4.8-3-7.2-4.6-6-3.9-11-8.8-15.8-14.1-1-1-1.2-2.3-1.5-3.8 18.3-16 34-35.2 46-56.3 1.4-2.7 4-1.5 6.3-1a56 56 0 0 0 48.5-9.2 65.7 65.7 0 0 0 26-42.5c1.4-10.4 1-20.9-2.9-30.7-4.8-13-14.5-24-27.2-29.7-11.6-5.4-25-6-37-2.3a135 135 0 0 1-18.6 32.5 142.4 142.4 0 0 1-25 24c-1.7 1.3-3.4 2.4-5.2.6-1.5-1.8.5-5.1.8-7.2 3-12.8 6-26 6-39.2.7-11 .1-22.1-1.7-33-.5-2.6-.6-5.6-1.8-8-3-.3-6-.2-9-.8a48.8 48.8 0 0 1-22.2-10.9 37.7 37.7 0 0 1-13.4-27.3 39.2 39.2 0 0 0-4.4 21c0 1.8.7 4.7-.8 6-1.8 1.1-4 1.5-6 1.8-12 1.4-24.7.5-36-3.9a51 51 0 0 1-26-22 61.5 61.5 0 0 1-6.9-37.4c.4-3.4 1.2-6.6 1.4-10-4.3 7.9-7.6 16-9 25A69.7 69.7 0 0 0 555 408c.4 1.5 1.2 3.3.7 4.8-.4 1.6-2.2 2.1-3.7 1.4a52.4 52.4 0 0 1-20-17.6c-.4 4.6.1 8.4 1.6 12.8.4 2 2 4.6.4 6.4-1.3 1.9-3.8 2-5.8 2.5a365 365 0 0 1-48.2 6.1c-8.9 1-18 .6-27 .6-19.5-.9-39.7-3.3-57.6-11.5-11-5-21.2-12.4-26.6-23.5a47 47 0 0 1-4-16.3c-2.8 2.7-4.8 6-6.6 9.4a72.5 72.5 0 0 0-8.1 33.8c0 3 .8 6 .6 9.1-.6 2.3-3.7 2.2-5.6 1.8a92.6 92.6 0 0 1-18.8-6.2c-3.4-1.5-6.4-3.5-9.9-4.9a222 222 0 0 0-6.3 50.2c-1 52 17.7 104 51.3 143.6 2.3 2.7 4.9 4.8 5.4 8.6a12 12 0 0 1-7.8 3.4c-18.5 2.6-36-5-49.8-16.8A94.6 94.6 0 0 1 278 553c-1.4-7-1.3-13.9-1.2-21a56.6 56.6 0 0 0-15.3 35.6c0 1.4-2 2.4-3.4 2-1.4-.4-2-1.7-2.7-3A146.7 146.7 0 0 1 242 495c1.4-22 7.5-44.8 19.5-63.5 9-14 21-25.5 36.6-31.6a70.5 70.5 0 0 1-14.4-44.9c.5-21.6 9.5-42 22.4-59a149.9 149.9 0 0 1 76-51.6 131 131 0 0 1 51-5c4.7.4 9.2 1.6 14 2.3.1-10-4.8-18.3-11.6-25.1a54.3 54.3 0 0 0-31.6-15.3c-2.3-.4-5.1.3-6.2-2.2-.4-2.6 1.6-4.5 3-6.4a40.7 40.7 0 0 1 26.3-12.5Z" fill="#000"/><path d="M432 185.6c12.7-.2 25.4 4 35 12.4 4.9 4.4 9 10.4 10 17 1.3 5.2-.1 10.6-2.9 15.1-1 1.5-1.7 3.6-.1 4.9 2.2 1.5 5.6.4 8-.3a309 309 0 0 1 117-13.6 202.5 202.5 0 0 1 85 26c23.8 14 43.9 34.2 57.2 58.5A173 173 0 0 1 762 379c.1 1.8 0 3.4 1.9 4.3 1.3.7 2.6.3 4 0 22.8-6 48.3 4 63.5 21.4a56.4 56.4 0 0 1 14.8 36.9 136.2 136.2 0 0 0-59.1-16c-2.3-.2-3.5 0-4.3 2.3 0 2.4 1.7 3 3.3 4 26 15 46.6 39.3 58.2 67 6.6 16 10.3 33.7 9.7 51.1-.6 17-5.7 34.3-16 48-.3-4.4-.3-8.8-1-13a67 67 0 0 0-6.5-18.5c-.9-1.8-2.5-2.6-4.4-1.6-2 .7-2 2.5-2.7 4.2a82.6 82.6 0 0 1-61.5 59.3c-17.6 4.3-36.6 3-53.8-2.3-2.7-.8-5.2-.4-7 1.9a40.9 40.9 0 0 0-8.2 19.8 72.2 72.2 0 0 1-14.2-12c5.8-5.6 11.7-11.1 17-17.2 10-11 18.4-23.3 26-36 5.6.6 10.8 2 16.4 2a66.2 66.2 0 0 0 52.7-27A72.4 72.4 0 0 0 805 518c.4-14-3.2-28.2-11.4-39.7-9-12.9-23.9-22-39.7-23.5-6.7-1.1-13.3-.6-20 .8 0-2.3.9-4.3-.8-6.2-1.9-.3-3.2-.3-3.8 1.7-2.4 9.6-7.2 18.7-12.2 27.1a129 129 0 0 1-27.2 31.6c2.6-13 5.5-25.4 5.2-38.8.6-14.2-1-28.2-4.2-42-.3-1.6-1.1-3-3-3-5.5-.1-10.7.2-16-2-8.2-3.4-16.7-9-21.2-16.9a48 48 0 0 1-4.5-25.2c-1.1-2.3-4-1.9-5.1.2-2.5 4.3-5.2 8.7-7 13.4a53.4 53.4 0 0 0-3.3 20.4c-15 2-31.6.2-44.4-8.4a45.2 45.2 0 0 1-18.9-29 72.5 72.5 0 0 1 3.5-37.5c.6-1.8 1.7-4.1.8-6-1.2-2.1-4.2-1.3-5.8 0a77.9 77.9 0 0 0-19.5 48c-1 7.7 0 15 1.3 22.6a54 54 0 0 1-14-16.5c-1.5-2.8-5.4-2.4-6.2.7a40.4 40.4 0 0 0 1 22.6 325.7 325.7 0 0 1-88.7 6.1 122 122 0 0 1-49.5-14 38.4 38.4 0 0 1-18.6-22.4c-1.4-5.2-.6-10-.7-15.2-1.3-2-3.4-2.3-5.3-1a44 44 0 0 0-14.5 18.6 76.3 76.3 0 0 0-7 37.4 77 77 0 0 1-38.5-21.8 64 64 0 0 1-16-50.2c1-12.2 5.2-24.3 11-35 9.5-17.8 24-33 40.5-44.5 19.5-13.6 42-22.5 65.6-25.2 13.7-1.7 27.6-.6 41 3 2 .6 3.2-.6 3.9-2.3 2.2-9-.5-17.7-5.5-25.1a59.9 59.9 0 0 0-40.6-25.2 39 39 0 0 1 26.2-10ZM302 404.7c3 3 6.2 5.7 9.5 8.4a220.7 220.7 0 0 0-7.2 55.9A223 223 0 0 0 359 616.7c-10.4 1.9-21-.6-30.5-5-14.4-7-26.4-19.1-34.4-32.8a80.6 80.6 0 0 1-11.6-44.9c0-2.7.8-5.4.7-8-.8-2.3-3-2.7-5-1.7-4.3 2-7.7 5.9-10.4 9.5-5 6.7-8.4 14.3-10.6 22.2a140 140 0 0 1-9.7-57c1-23.4 7.3-47.5 20.6-67a69.2 69.2 0 0 1 34-27.3Z" fill="${p(`${l.hair}`)}"/>`,long01:(a,l)=>`<path d="M559 229c42.7 5.5 86.5 17 124.8 37.2 25.9 13.7 50.7 32.2 67 56.9 4.1 5.7 6 12 8.6 18.4 4.8 12 7.7 24 11 36.5 8 31 18 61.6 29 91.6 12.8 35 27.1 69.2 43.5 102.5 1.4 2.9 3 5.6 4.6 8.4.8 1.3 1 2.7 0 4a64 64 0 0 1-16 13 226 226 0 0 1-39.7 19.1A423.3 423.3 0 0 1 679 642.4c-3.9.3-7 1.3-10.6-1 .4-2.5.4-4.6 2.5-6.4 5.5-5 11-10.2 16.2-15.8a402.6 402.6 0 0 1-64.6 27.4c-2.9.8-6.5 2.3-9.5 1.6-1.9-.9-2.1-2.8-1.4-4.6 8.7-19.2 12.2-41.7 15-62.5a579 579 0 0 0 4.4-70c.1-18.2 0-36.5-1.8-54.6-37.5-3.9-74.6-15-108.8-30.9-24.2-11.4-48-25.9-68-43.9a157.3 157.3 0 0 1-23.4-26c-1.2 9.4-1 18.9-.9 28.4 0 3.6.3 7.1 1.3 10.6.3 1.7 1.2 3.3 0 4.8-1.1 1.7-3.7 1.1-5.4.6a57.4 57.4 0 0 1-30.4-25.6 73.7 73.7 0 0 1-10.1-40.4A181.7 181.7 0 0 0 351 366a269 269 0 0 0-32.6 48.4 36.7 36.7 0 0 0-3.4 8.5 218.3 218.3 0 0 0 92.4 228.6c1.2.8 2.4 1.6 3.5 2.6.7 1.7 1 3-.4 4.5-2.4 1.4-5.3 2-8 3-22 6.8-44 13.4-65.7 21.3-21.9 8-43.2 17.6-65.2 25.5-1.4-1-2.4-2-3.3-3.4 3.6-7.7 9.3-14 12.5-22.1 9.8-24.3 10-51.2 9.3-77 0-14.7-1.2-29.3-1.9-44-1.4-21.7-2.6-43.3-3.3-65-.6-27.3-2.1-55.7-.1-83 1.4-22 5.4-44.2 13-65a61 61 0 0 1 13.4-21.7c4.9-5 9.8-10.2 15.2-14.8 5.3-4.5 11-8.3 16.4-12.6 15.9-12.5 31-25.7 47-38a225.5 225.5 0 0 1 51-31 60.4 60.4 0 0 1 21.1-4.6 496 496 0 0 1 97 2.7Z" fill="#000"/><path d="M512 231.2c48 1.5 97.4 9.8 142.2 27.7a248 248 0 0 1 57.3 31.5 148 148 0 0 1 35.3 36.9c2.9 4.4 5 9.2 6.6 14.2 2.5 7.9 6 15.3 7.7 23.5 8.5 35 19.4 69.3 31.6 103.2 13.4 36.6 28.2 72.8 45.6 107.6 1 2.2 2.2 4.3 3.6 6.4a96.3 96.3 0 0 1-21.5 15.2 332 332 0 0 1-68.7 26.1c-24.3 6.7-49 11.4-74.2 13.2 8-7.1 15.4-14.7 22.2-23 1.4-1.7 2.9-3.1 4.8-4.2 6.2-3.7 12.3-7.6 18.1-11.8 1.4-1 2.2-2.4 3-3.8-1-1.2-1.7-2.4-3.6-2.4-3 1.3-5.5 3.5-8.2 5.3a387.7 387.7 0 0 1-94.8 44.6c5.5-14.5 8.8-30.1 11.3-45.4 4-24.8 5.8-49.8 6.5-75 .5-33.6-.5-66.7-6-100-.2-1.6-.8-3.6-2.8-3.4-3-.2-3.1 2.4-2.8 4.6 1.6 9.4 2.8 19 3.6 28.4-34.3-4-67.8-13.4-99.3-27.3-21.3-9.5-42-21.1-60.5-35.3-11.5-8.9-22.5-19.1-31.3-30.6-2.4-3.2-4.2-6.3-7.2-8.9-1.3-1.4-2.8-1-4.5-.7-2 2-2.3 4.5-2.6 7.2a157 157 0 0 0-.2 38.4c-7.3-2.8-13.8-8-18.8-13.8A66.9 66.9 0 0 1 398 304c1.1-1.9 1.4-4.3-.9-5.4-2.3-.3-2.9.7-4 2.4a68.5 68.5 0 0 0-9.3 26.7c-12.5 7.4-23 18.7-32.7 29.4a337.3 337.3 0 0 0-25.4 33.5 200.6 200.6 0 0 0-23.4 47.6 99.9 99.9 0 0 0-4 17.9c0 2.9 2.9 4.1 5 2.2.7-1.6 1-3.3 1.5-5a223.8 223.8 0 0 0 98 202.2c-25.3 8-51.7 15.7-76.8 25.4-16.3 6.2-32.2 13.3-48.5 19.8 4.8-7.1 9-14.5 11.4-22.7 8.2-25.3 7.6-51.8 7.1-78-.8-11.4-.8-22.7-1.7-34-.8-10.3-1-20.7-2-31-.6-13-1-26-1.7-39-.7-23.3-.6-46.7-.5-70 .5-22.2 3.5-44.4 9.6-65.8 1.7-5.8 4.4-11.1 7-16.6 4-8.4 10.3-13.8 16.7-20.2 5.8-6 12.4-11 19.1-15.9 27.3-20.9 53.8-46.3 83.8-63.2a99.5 99.5 0 0 1 22.7-10c7.3-2.1 14.4-2.3 22-2.7 13.6-.8 27.4-.5 41-.4Z" fill="${p(`${l.hair}`)}"/>`,short19:(a,l)=>'<g fill="#000"><path d="M558 248c37.7 5 74 19.9 104.4 42.7 4 3.3 8.3 6.2 12.2 9.7A223.6 223.6 0 0 1 749.7 438c1 6.7 2 13.3 1.5 20.2-4.1 2.9-8.2 1.6-13 2.5-5.8.7-10.8 3.1-16.2 5-2.8.1-2.7-2-3.6-4 7.5-5.3 18.2-7 27.3-7.8a217.8 217.8 0 0 0-73.1-147.4c-6-6.1-13-10.2-19.7-15.4-32.7-23-72-36.5-111.9-38.9-12.8-.2-26.1-.6-38.8 1.2a218.3 218.3 0 0 0-143 78.6l-4-1.6c.6-1.9.7-3.6 2-5.2A223.6 223.6 0 0 1 504 247.3l12.5-1c14-1 27.7 0 41.5 1.7Z"/><path opacity=".1" d="M541 252.2c40 2.4 79.2 16 112 39 6.6 5 13.7 9.2 19.5 15.3A217.8 217.8 0 0 1 745.7 454c-9 .9-19.8 2.5-27.3 7.9-3 2.2-6.2 4.5-9.8 5.8-1.5.7-3.3-1.2-3.2-2.7.3-3.5 1.5-6.9 2-10.4 2.2-13.9.6-28.4-4.6-41.4-5.5.4-10.7.7-16-1-9.8-2.9-17.5-9.2-24.4-16.5-8.5-9-15.5-19.8-21.2-30.8-9.7-18.7-16.4-39-20.8-59.6a180 180 0 0 1-35 12.4c-38 10.1-76.3 15.5-115.4 18.8-15 1-30 2-45 2-13.7 0-27.4-.1-41-1.7-8.5-.6-16.5-2.9-24.8-4.7a217.9 217.9 0 0 1 143-78.6c12.7-1.8 26-1.4 38.8-1.2Z"/></g>',long26:(a,l)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M612.6 233.1c-12-1.4-24-3-36-4-21.7-2-44-3.5-65.8-2.3-8.7.9-17.3 2.1-25.8 4.1l-.3.1c-6.3 1.4-13.5 3-18.7 7-16.1-3.5-33.7-1-49.3 3.6a177 177 0 0 0-50 25c-29.3 20.7-54 48-72.4 78.7a206.8 206.8 0 0 0-31 94.7c-.9 21.5 3 44 16.3 61.4 1.4 1.8 2 4.2 2.4 6.5l.6 2.6c1.8 7.3 5.4 14 10 20 3.4 4.2 7.8 7.1 12.3 10.1l.4.2c-1 13.2-.4 26 1.2 39.2a190.2 190.2 0 0 0 28.5 80 83.3 83.3 0 0 0 34.9 31.2c1.9.8 5.6 2 6.8-.5a116 116 0 0 1 4.9-15.3c14.6 4.8 31.4 4.7 46.6 2.8l3.4-.7c3.2-.5 6.5-1 9.3-2.5 1.8-.8 2.2-3.4.6-4.5-1.4-1.1-3.2-1.8-5-2.5l-2.4-1a202.3 202.3 0 0 1-72-56 218.5 218.5 0 0 1-44.5-85.1 81.9 81.9 0 0 0 22.4 1.7c3.5-.2 6.7.7 9.9 1.5 3 .8 5.9 1.5 9.1 1.5 6.3.4 12.4-.6 18.5-2.2 2.2-.8 2.6-3.3.9-4.9A75.3 75.3 0 0 1 363 495c-4.4-14.7-5.1-29.8-4-45 3-32.2 14-63.6 28.7-92.3 8-15.6 17-30.6 26.9-45.1a226.8 226.8 0 0 0-1.2 96.9c7 34.7 21.4 68.9 43.3 96.8a159.6 159.6 0 0 0 36.6 34.3c1 .6 2 1.2 3.3 1 2.2-.2 2.8-3.2 1.5-4.6l-.7-.7a21.9 21.9 0 0 1-4.1-5.6c-3-6.1-5.3-12.7-7.5-19.2v-.3a675 675 0 0 1-14.4-50.6c8 20.7 18.6 39.8 34.3 55.7 3.9 3.9 8.2 7.2 12.6 10.6l1 .8A66.3 66.3 0 0 0 535 536c1.6.8 3.6 0 5.3-.7l1.5-.6c2.2-1 4.6-1.8 7-2.6l5.4-1.9c1.4-2 .5-3.8-1-5.3a100.8 100.8 0 0 1-15.7-20.4 278 278 0 0 1-26.9-70.3 718.3 718.3 0 0 1-15.1-77.7l2.9 7.9 2.2 6c4.1 11.1 9 22 14.5 32.5 14.5 27.6 30.3 54 49.4 78.6a240.6 240.6 0 0 0 44.2 44.5c1.2.8 2.8 1.8 4.2.9 1.5-1 3.5-2.9 3.5-4.9a416 416 0 0 0-.1-61A523.2 523.2 0 0 0 596 350l-.9-2.7c-.7-2.4-1.5-4.8-2-7.2a611.8 611.8 0 0 1 22 59.8c9.1 29.3 16.2 59.6 19.3 90.1 1 8.7 1 17.8 1 26.6v.4c0 1.4.4 2.4 1.8 2.8a35 35 0 0 0 8.3 1.5l.1.9c.1 1.3.3 3.2 1.7 3.5 7.6 2 16 1.9 23.7.6a247 247 0 0 0 22.8-3.8l-2.7 19.4a683.2 683.2 0 0 1-15 83.2c-.5 2.1-1 4.2-1.8 6.2a59.3 59.3 0 0 1-10.8 10.1l-3 2.1a28.4 28.4 0 0 0-5.1 3.9c-1.7 2.6-2.6 6-3.4 9.2l-.8 3.4-.1.3c-1.6 5.4-3.2 11-5.6 16.1l-.3.6c-.6 1.6-1.3 3.1.2 4.5 2.8 1.3 5.6 1.5 8.6 1.2l8.7-.7 10.5-.9c7.6-1.1 15.3-2.8 22.6-5.3 12.2-4 24-8.4 35.3-14.8a90.6 90.6 0 0 1-9.9 25.1c-.5 3.5 3 4.5 5.4 2.5 26.8-18 47.3-44.8 61.7-73.4a298.4 298.4 0 0 0 30.2-121l.6-10.2c.2-24.2-1.8-48.7-6.5-72.5-8.3-41.8-25.1-83.6-52.2-117-20.7-25.4-48-46.2-80.4-53.8-8.6-2.5-17.1-2.9-26-3.2-13.9-1-27.6-2.7-41.4-4.4ZM799.2 516a55.6 55.6 0 0 0-31.4-51.8c-1-.4-1.5-.1-1.3.9A431 431 0 0 1 753 569c-.8 2.7-1.5 5.3-2 8 27.6-6 48.3-33 48.2-61.1Z" fill="#000"/><g fill="${p(`${l.hair}`)}"><path d="M543 232.8c13.8.6 27.3 1.4 41 3.1 25.2 2.2 49.5 6.8 75 7.3 6.6 0 12.5 2 19 3.2 29.8 6.8 55 25.1 74.6 48 26.4 30.9 43.3 70.3 52.3 109.6a311 311 0 0 1 7.2 50c1 7 .5 14 1 21 .1 50.1-10.2 101.3-34.4 145.6A183.5 183.5 0 0 1 732 677c1.9-6.6 5-14.2 5-21.2.2-2-2.2-3.8-4-3-2.3 1-4.3 2.6-6.5 3.7a193.1 193.1 0 0 1-45.8 17.2c-9.7 2.5-19.6 2.8-29.3 3.5 2.8-7.2 4.8-14.8 6.6-22.3.5-1.6.8-3.6 2.3-4.6 3.5-2.4 7-4.9 10.3-7.4-2 6.5-4.6 13-7.8 19-1.3 2.2.2 4.8 2.6 5.3 4 .7 8.4.5 12.5.5 1.4-.1 2.7 0 3.9-1 8.8-7.4 16.1-16.6 22.5-26.2 4.8-1.4 9.4-3.9 13.6-6.5 7.2-5 12.7-12.5 17.2-20 5-8.7 9.1-18 12.4-27.6.7-1.5.6-2.9 2.5-3a69.4 69.4 0 0 0 49.7-94.3 60.3 60.3 0 0 0-33.1-32c-.6-17.5-1-34.9-3.4-52.2-2.6-20.7-7-41.9-15-61.2-1-2.1-1.3-4.8-4.3-4.7-2.8.1-3 2.8-2.1 4.9a220 220 0 0 1 15 57.8c3.3 25 4.4 50 3.4 75.2-1.2 29.7-5 60-12.6 88.8a190.2 190.2 0 0 1-17.3 44.7 49.6 49.6 0 0 1-20.4 21.3A259.8 259.8 0 0 0 743.4 517c0-3.7-5.2-4.4-5.9-.6a250.3 250.3 0 0 1-35.8 117.3 121.2 121.2 0 0 1-23.8 28.6h-8.3c5.2-11.9 9.4-24.2 12.6-36.8a566.4 566.4 0 0 0 13.4-74.5c1-9.9 2.6-19.7 3.7-29.6 3.3-1 7 0 8.3-3.8a210.7 210.7 0 0 0 .5-167.6 176.6 176.6 0 0 0-63.7-77.4c-2.7-1.7-5.4-3.7-8.4-4.8-2.6 0-4.2 2.6-2.5 4.7 2.7 2.4 6.1 3.9 9 6 33.1 22.3 56.4 57 68 95 14 46 11.2 96.8-8 141-1.5.5-3 1-4.5 1.3-11.6 2.3-23.1 4.8-35 5.9-3.7.1-7.1-.3-10.8-.6 10.7-28.4 13.2-58 11.8-88-1-18.6-3.8-37.1-8.2-55.1a251.2 251.2 0 0 0-33.3-78.5c-.9-1-2-3.2-3.5-3-2.9-.4-4 3-2.4 5 23.7 35.2 36.5 78.7 40.7 120.6.8 12.7 2 25 .8 37.7-.8 19.1-4 38.2-10.4 56.2-2.2-.1-4.3-.3-6.4-1 .7-14.2-1.1-28.9-3-43-4.7-30.2-12.5-60-22.3-89a500.5 500.5 0 0 0-40-90c-2.8-4.6-5.1-9.2-9-13-8.9-14.9-19.6-31-34-41.1-2.7-1.8-4.3-.7-5.5 2 1.5 2.9 4 4.2 6.4 6.2a115 115 0 0 1 18.7 21.3 250 250 0 0 1 24.9 47c16 39.7 25.9 82.2 30.8 124.6 3.2 26.6 4 53.4 2.5 80.1-6-4.6-11.6-9.6-17-14.8a372.7 372.7 0 0 1-58-77.2 405 405 0 0 1-29-58 279.8 279.8 0 0 1-13.4-43.6c-.5-1.6-1.9-2.9-2-4.5-.7-6-1-12-1.2-18-.2-12.5-.5-24.7 1.3-37.1-2-3.4-5.3-1-5.6 2-3.5 26.2-1 52.3 2.4 78.3 2.6 19 5.4 38 9.3 56.8 7.2 34.9 16.4 71 34 102.2 4.5 7.2 9.4 14.4 15 20.7-3.2 1-6.3 3-9.6 3.5a79.4 79.4 0 0 1-26-17.3c-12.4-12-22-27.3-29-43a354.7 354.7 0 0 1-15-39.1 304 304 0 0 1-13.7-98.8c.2-4.8 1-9.5 1-14.3-.6-2.7-3.6-2.9-4.8-.5-2.4 12.3-2.1 24.1-2 36.6.4 19 4 36.7 6.8 55.2 2.4 13.4 5.2 26.7 8.2 40 6.2 26.3 13 52.5 22.6 77.9-13.6-11.2-25-25-34.5-39.7A238.3 238.3 0 0 1 414.5 361c.4-20.8 3.3-42.3 10.7-61.8 2.4-4.3 3.2-9.1 5.6-13.4 10-20.3 25-37.6 46.2-46.7 21.4-6.2 43.8-8.1 66-6.3Z"/><path d="M458 242.7c-2.9 2.9-6.3 5.2-9.2 8a118 118 0 0 0-27.2 41c-.7 1.6-1.4 3-2.4 4.4a383.6 383.6 0 0 0-48.6 84.7c-11.2 27.5-19.1 58.3-17.8 88.2a97.3 97.3 0 0 0 18.2 55.2 40.7 40.7 0 0 1-20.5-.8 61 61 0 0 1-22.3-19.6 92.9 92.9 0 0 1-15-51.8 150 150 0 0 1 1.5-24.5c5.5-36.3 22-71.5 43.6-101.1 15.5-21 33.6-39.9 54.8-55.3 1.5-1.3 3.2-2.9 1.6-5-1.2-2-3.8-1-5.3.2a267.7 267.7 0 0 0-78 92.2 216 216 0 0 0-23.6 76.5c-1 14.5-1 29 2.6 43.2 4.1 17 12.9 32.5 26.5 43.6a63.7 63.7 0 0 1-48-18.7 76.6 76.6 0 0 1-19.2-45c-1.6-15.9 0-31.7 3.6-47a242.7 242.7 0 0 1 55.3-102.5c22-24.4 48.7-45.5 79.4-57.7 15.8-6.1 33-9.9 50-8.2ZM288.6 511.1a71.4 71.4 0 0 0 21.8 12.6c1.7 2.2 1.8 5.7 2.7 8.3a231 231 0 0 0 56.1 95.8 201.6 201.6 0 0 0 60.6 43.8 82 82 0 0 1-19.8 1.9c-9.4.2-19-1-28-3.7-2-.5-4.2 0-5 2-2 4.5-3.2 9.3-4.7 13.9a76.7 76.7 0 0 1-32.6-29.3 182.3 182.3 0 0 1-26.5-71.4 195.7 195.7 0 0 1-2-44c0-1.8.5-4.5-1.7-5.3-10.6-3.8-17.6-14.2-21-24.6Z"/></g>`,long25:(a,l)=>`<path d="M514 213c19.8-.4 40.2.2 59.8 3.4C590 219.3 607 223 622 230c15.2 7 28.6 18 38.6 31.4a24 24 0 0 1 4.4 12.2 137 137 0 0 1 54.7 18.7A127 127 0 0 1 772 353a126 126 0 0 1 9 43c0 22-5.7 44.1-17 63.2a4 4 0 0 1-4 2c-3.7-.1-7.3-.8-11-1.2a71.2 71.2 0 0 1-20.2 36 114.5 114.5 0 0 1-46.7 28c-2.1.6-5.3 1.7-6.6-.7-2-3 .3-8 .7-11.3A173 173 0 0 0 635 367a125.2 125.2 0 0 0-68-40c-1.8-.5-3.9-.7-4-3-.2-5.9-3-10.7-7.6-14.3-7-5.2-15.9-7.6-24.4-5.6-17 3.4-33 13.6-45.9 25a170 170 0 0 0-37.7 52.3c-11.3 22.4-20.8 46-31.1 68.8A321.2 321.2 0 0 1 383 509c-11 15-23.8 29-38.5 40.5a170.8 170.8 0 0 1-43 24.2A110 110 0 0 1 271 581c-2.5.1-4.6-2.5-6.2-4.1 2.3-5 6.8-5.2 10.7-8.5 6.1-5 10.2-13 12-20.6 2.2-9.6 2.9-19 3.3-28.8.3-13-2.6-24.6-4.8-37.2-2.5-14.5-4.8-29-6.2-43.8-1.8-16.1-.4-33 2.5-49 4.3-24 13.6-46 25.5-67.2a173.5 173.5 0 0 1 35.4-42.5c32-28.3 70.6-48.8 112-59 19.4-4.8 38.8-6.5 58.8-7.4ZM719 576c2.9-.5 6 1.7 9 2 2.8.6 6 .3 8.8 1.1 1.6 1 1.2 3.2 1.4 4.9-.1 5.8-.3 11.3 1 17 .5 2.9 1.7 6 1.5 8.8-.1 2.3-3 2.7-4.7 2.3-8-1.2-16-5.3-23.2-8.9-2.7-1.4-7-4.7-6-8.2 2.1-4 5.9-7 7.9-11.3 1.4-2.4 2.2-5.9 4.4-7.7Z" fill="#000"/><path d="M545.9 219.3c10.4.9 20.8 1.7 31 3.7 15 3 30.9 6.7 44.6 13.5a98.5 98.5 0 0 1 33.8 27.2c2 2.8 4.1 5.7 3.8 9.3.1 2.1-.8 4.3 1.2 5.7 2 .8 4.4.8 6.5 1.1 19.9 2.8 39.2 10.2 55.8 21.5a119.9 119.9 0 0 1 46.7 61.4c10.1 30.7 6.3 65-10 92.9-3-.5-6.2-.8-9.3-1-.6-1.3-1-4-3-3.9-2.1-.3-3.2 1.6-3.3 3.5-.6 11.2-6 21.9-13 30.6a105.6 105.6 0 0 1-49.4 33.2c5.7-26.3 4.9-53.7-1.9-79.8a173 173 0 0 0-55-89.6 127.9 127.9 0 0 0-55.8-27.7c-2-8.2-6.5-14.5-14-18.6a38.8 38.8 0 0 0-31.1-2.6 114.3 114.3 0 0 0-42.6 25.2 148.5 148.5 0 0 0-28.7 35.3C441 379 431.8 400 423 420c-11.4 26.4-22 51.7-38 75.8-16.7 25-38.6 48.5-65.3 62.8-12.8 6.9-26.9 13-41.2 15.4a48.7 48.7 0 0 0 16.5-33c2-14 2.8-29.1.2-43.2-2.2-12.2-4.5-24.5-6.4-36.8-1.8-13.2-3.8-25.7-3.6-39 0-11.2 1.3-22.2 3.4-33.2 4.2-22.5 13-43.3 24-63.2a172.5 172.5 0 0 1 40.4-46.7A253.1 253.1 0 0 1 496 220c16.4-1.7 33.4-1.4 49.9-.8ZM721.9 582.5c3.5.6 7 1.5 10.6 1.8-.5 7.3.5 14.4 1.6 21.5a98 98 0 0 1-21.4-9.8 72 72 0 0 0 9.2-13.5Z" fill="${p(`${l.hair}`)}"/>`,short18:(a,l)=>`<g fill="#000"><path d="M534 131.3c5.7.5 11.4 3.3 14.7 8a60 60 0 0 1 8.2 20.8c2.8 12.5 4.9 25.3 6.9 38 9.6-16.4 15.6-33 29.1-47.2 5.2-5.4 12.9-7.3 20.1-8 8 .2 16.7 3.4 24.5 5.5 5.6 1.7 11.6 3.3 16.7 6.3 4 2.5 6.5 6.6 7 11.2 1.2 15.4-3.9 28-8.7 42.1a178 178 0 0 1 45-18.7c6.4-1.3 13.1-.1 18.4 3.9a64.4 64.4 0 0 1 15.2 15.7c2.2 3.4 3.8 7 3.4 11-.5 8.2-4.6 16.3-7.9 23.7-2.6 6-6 11.6-9.7 17.1 6.8-1 13.4-2.8 20-4 6.3-1.1 13.4-2.9 19.7-1.2 5.8 1.6 10 7 12.8 12.1 3.6 7.6 6 15.9 8 24 .8 3.6 1.2 7-.5 10.4-2.6 5.7-7.9 8.8-13.2 11.8a144 144 0 0 0-12.9 8c4.6.7 10.4 1.3 14.1 4.2 4 3.4 4 9.2 4 14 0 5.5-1.2 10.7-5.6 14.4a41.6 41.6 0 0 1-20.6 7c4.2 8.7 7 18.2 9.2 27.5 3.5 15.8 5.1 32 5.2 48.1-.6 7.2-.4 14.9-2.5 21.8-2.6 1.6-6.6.1-9.6.7-7 1-14.5 2.6-21 5.5-3.5 1.5-5.4 4.3-8 7-4 4.9-8.6 9.4-12.7 14.3-2 2.3-4 4.8-6.3 6.8-2 2-6.2-.4-6-3-.2-10 .3-19.9-.7-29.8-1.9-19.6-6.2-40-14.8-57.8a61.6 61.6 0 0 0-20.5-25.6c-4-2.5-8.3-3.4-13-4a3 3 0 0 1-2.5-4c1.3-3.5 3.5-6.7 5.6-9.8 6.4-9.5 13.7-18.4 21.8-26.5-23-7.3-46.4-10.8-70.4-12.8a625 625 0 0 0-208.2 19.5 282.2 282.2 0 0 0-45 16.9c-2.1 1-3.9 2.4-5.7 3.7-.6.5-1.4.5-2.4 0-1.5-1.2-1-3.8-.6-5.4 1.6-6.8 3.8-13.5 6.4-20-10.7-4.1-21.2-8.7-32-12.5a41.5 41.5 0 0 1-17.2-9.9 23.9 23.9 0 0 1-5.6-13.1c-1-7-1.5-15 .8-21.8a18 18 0 0 1 12-11.2c8-2.4 16-2.6 24.2-2.1-4.4-5.6-11-11.6-12.2-18.8-.8-6 3.3-12.6 6.8-17.2a73.4 73.4 0 0 1 15-16c4.6-3.1 10-2.5 15-.7 15.7 5.7 31 13.6 44.4 23.8-5.9-10.7-10.7-22-14.9-33.5-1.7-4.8-2.8-10.6 0-15.2a74.2 74.2 0 0 1 27.3-25.7c4.6-2.6 9-4.8 14.5-3.9 4.3.9 8.3 3.8 12 6.3 12.9 9.6 24 21.8 34.3 34.2.9-12.4-.3-24 2.2-36.3 1.4-6.6 4.7-13 10-17.3 4.4-3.8 10.2-5.5 15.6-7.2 5.5-1.8 11-2.4 16.8-3.3 8-1.2 15.8-2.4 24-1.8Z"/><path d="M716.3 478.7c.7 2 .5 3-.8 4.8-4 5.2-8.6 10-12.8 15.2-2 2.5-4 5.4-6.4 7.7-1.1 1.1-3.7 1-4.3-.6-1-2.1.5-3.5 1.7-5 4.6-5.8 9.4-11.4 14.2-16.9 1.6-1.7 3-3.7 4.8-5.2 1.2-1.1 2.3-.5 3.6 0Z"/></g><path d="M532 137.1a15 15 0 0 1 12.4 6.5c3.8 5.9 5.6 13.6 7.2 20.4 2.9 13.6 5.2 27.3 7 41 0 2.5 1.7 3.3 3.4 4.6 4-2.3 5-6.3 7.4-10.1 9-15.3 15.1-30.4 27.3-43.8 3.8-4.2 8.8-5.7 14.3-6.5 6.4-.7 13.4 1.7 19.5 3.4 6.8 2.1 14.4 3.7 20.6 7.3 3.6 2 4.4 6.3 4.5 10-.4 9.1-2.4 17.9-5.4 26.4-1.6 4.8-3.9 9.7-4.6 14.8-.1 1.9 1 4.9 3.4 4.7 1.9-.2 3.7-1.6 5.4-2.4 11-6.6 23.2-11.6 35.4-15.7 5.3-1.6 10.5-3.6 16.2-2.5 3.8.7 6.6 3 9.5 5.3 4.2 3.7 8.3 8 11.2 12.8 1.1 2 2.3 4.3 2 6.7-1 8-5.3 15.9-8.6 23.2-2.4 5.4-5.6 10.2-8.8 15.2-1.2 2-3 4.2-2.6 6.7.9 1.6 2.3 2.5 4.2 2 11.7-2 23.4-4.7 35.1-6.4 3.9-.6 8.4.3 11.2 3.1 5.2 4.8 7.5 12.7 9.7 19.2 1.3 4.9 3.7 10.8 2.8 15.8-1.6 4.7-7 7.5-11 9.8-5.5 2.8-10.4 6.4-15.5 9.6-1.5 1-2.6 2.3-3.7 3.7 1.1 1.5 1.6 3.4 3.6 4 5.7 1.9 11.6 1.7 17 4.9 1.2 4.8 1.4 9.8.2 14.8-.8 2.9-3.1 4.7-5.8 6a45.2 45.2 0 0 1-21.6 4l-1 2.6c2.7 4.8 5.4 9.4 7.2 14.7 5.8 16.3 8.4 33.8 9.7 51 .3 10 .5 20-1.1 29.8a92 92 0 0 0-28.5 5.9c-2 .7-3.7 2.8-5.2 4.4-6.3 6.9-12.8 13.6-18.9 20.6 0-7.2.2-14.4-.7-21.6a189 189 0 0 0-10-50.3 103.2 103.2 0 0 0-15.7-29.4 40.8 40.8 0 0 0-24.3-16 158.7 158.7 0 0 1 28.3-33.6c1.8-2 .6-4.7-2-5.3-22-7.8-45.5-11.6-68.7-14-35.2-3.2-70.8-2.9-106-.2-40.6 3.5-81.9 10-120.8 22.2a260.3 260.3 0 0 0-35.8 14c1.3-4.2 2.7-8.5 4.5-12.6.6-1.9 1.7-3.6 1.1-5.6-1.5-1.9-4.3-2.8-6.5-3.8-9.2-3.7-18.3-7.8-27.7-11.3-5.1-2-11-4-15.2-7.7-3.7-3-5-7.8-5.7-12.3a44 44 0 0 1 .7-17.6c1.2-3.6 3.8-6.2 7.3-7.5 8-2.6 15.9-2.6 24-2 2.6 0 5 .7 7.2-.9.8-1.4 1-2.8 0-4.1-4-6-10.1-11.3-13.5-17.8-2.1-5.1.8-9.8 3.6-14 4.4-5.6 9-12 14.8-16.2 2.9-2.1 6.2-1.3 9.3-.3A169.9 169.9 0 0 1 382 235c4.4 2.9 8.4 6.5 13 9 2.4 1.1 5.3 1 6-2-.8-4-3-7.7-4.7-11.3-5.2-9.8-9.4-20.2-13.2-30.7-1-4-2.8-7.3-.3-11.1a69.5 69.5 0 0 1 25.6-23.5c4.2-2.2 8.2-4.2 12.7-1.6 11.8 6.7 22 17.2 31 27.1 4 4.3 7.7 9 11.3 13.7 1.4 2.6 7 2.6 7.5-.6.7-13.8-.3-28.3 2.6-41.8a23 23 0 0 1 12-16.6 78 78 0 0 1 23.3-6.3c7.7-1.2 15.3-2.4 23.2-2.2Z" fill="${p(`${l.hair}`)}"/>`,long24:(a,l)=>`<path d="M548 194.3c8.7.8 17.2 3 25.3 6.4 12 5 24 12.4 32.6 22.4 5.4 6.7 10.2 14.1 15 21.4 11.4-2 22.4-4.9 34-5.7a167 167 0 0 1 43.3 1.1 97 97 0 0 1 43.3 21.5 100.4 100.4 0 0 1 25.2 30 195.3 195.3 0 0 1 20.5 59.4c3.4 17.3 5.2 34.7 13.3 50.8 5.9 12 15.9 22.3 26 30.9 11 9.1 23.3 17.4 31.9 29a45.3 45.3 0 0 1 10 29.5 48 48 0 0 1-9.2 25.2c5.4 5.8 13.1 7.3 20.8 7 4.4-.4 9.3-1.5 12.6-4.6 1.6-1.2 2.8-3.2 5.1-2.4 2.4.7 1.7 4 1.7 5.8a117 117 0 0 1-17.5 48 96.8 96.8 0 0 1-43.4 38.5c-9.4 4-19.6 4.7-29.7 3a103.9 103.9 0 0 1-54.8 42.8 81.3 81.3 0 0 1-41.7 3.5 53.3 53.3 0 0 1-55.1 17.9c-7.4-2.1-14.7-6.3-19.5-12.4-1-1.4-1.6-3.4 0-4.6 2.4-2 5.4-3.3 8-5 13.8-9 26.6-20 38.2-31.8a210.3 210.3 0 0 0 33-43c1.3-2.3 3-3.1 5.6-2.3 5.8 2.1 11.4 1.5 17.4 1.7a134.2 134.2 0 0 1-30.2-66.9 105 105 0 0 1-35.2-35c-9.9-16.1-16-34.5-21.4-52.5-6-19.7-12.5-38.6-22.3-56.8-4.4-8.2-9.3-16.4-15.5-23.4-6.2-7-13.7-13-22.3-16.7-6.6-2.6-13.1-3.2-20-3.9-2.2-.1-3-1.6-2.5-3.6 1.5-4.7 4-9 5.8-13.6-7 3.7-13.8 7.7-20.3 12-1.2.7-2.6 1.8-4 1.6-2.1-.8-2.1-2.6-2.8-4.3-3-10.3-11-18.1-20.5-22.9-6-2.8-12.2-5-19-5.3a71 71 0 0 1 20.3 22c.8 1.4 1.6 2.8 2.9 3.9-.5 1.6.3 4.4-2 4.8-3.4 1.1-5-4.4-6.5-6.5a57.9 57.9 0 0 0-25.1-23.7 59.3 59.3 0 0 0-15.4 5.9c7.7 4.2 14.4 10.6 20.8 16.6.1 2 .6 3.5-1.6 4.5-3 .5-5.4-3.4-7.5-5.1a55 55 0 0 0-17.4-12.4c-6 4-11.7 8.6-16.8 13.8a165 165 0 0 0-31.4 51.1c-7 16.8-13 34-18.8 51.2-9 25.3-19.1 50.8-31.3 74.7a221.3 221.3 0 0 1-29.3 44.8c-7 8.2-15.4 15.3-24.4 21.1a135 135 0 0 0 12.4 24.8c10.8 17.2 23.2 33.9 37.8 48.1 1.9 2.2 5.5 4 3.6 7.3a44.2 44.2 0 0 1-25.2 23 68 68 0 0 1-74.7-21 47.7 47.7 0 0 1-10.7-31.3c-5.6-.2-11.2-.5-16.6-2.1a79 79 0 0 1-39.4-28 111.7 111.7 0 0 1-22.7-57c-1.5-12-.3-24.5 2.7-36.3.5-1.5 1-4.6 2.7-5 3.3 0 6.6 1 9.9 1.2a47 47 0 0 0 33.4-12c11-9.8 17.4-24 20.6-38.2-3.2-3.1-6-6.5-7.5-10.7a53 53 0 0 1 1.2-37.7 150 150 0 0 1 33.4-51.8 196 196 0 0 1 45-33.9c11.8-6.7 23.5-13.4 35.8-19.2 20-9.7 39.3-17.4 58.1-28.9 19.5-11.8 38-27.8 58.4-37.6 10.8-5 22.1-10 33.8-12.2 10-2 19.8-1.9 29.8-1Z" fill="#000"/><g fill="${p(`${l.hair}`)}"><path d="M527 200c5.3-.3 10.7-.2 16 0 14.7.6 28.5 5.5 41 12.9 6.7 4.3 13.1 8.8 18 15 5.6 7 10.6 14.3 15.4 21.7 1.5 2.5 4.1.7 6.1.2a206 206 0 0 1 39.7-5.5c14-.4 29.4-.6 42.8 3.8a103 103 0 0 1 58.6 52.3 189.4 189.4 0 0 1 15.7 47c4 19.1 5.7 38.3 14.3 56a99.5 99.5 0 0 0 23.8 30.2c7.4 6.7 15.6 12.3 23 19a59 59 0 0 1 20.2 29.4c2.5 10.5-1 21.7-7.3 30.2-1 1.7-2.3 2.7-1.5 4.8 2.3 5 6.5 8 11.5 9.9a39 39 0 0 0 28.5-.5A114 114 0 0 1 858 589c-10.3 9-23 16.4-37 17.4-4.5.5-8.7-.5-13-1.4-1.5-.3-2.7.2-3.4 1.6a98 98 0 0 1-59 43.9 71.3 71.3 0 0 1-33.6 1c-2-.6-3.2.7-4.3 2.2a44 44 0 0 1-20.2 14.8 42.4 42.4 0 0 1-43.2-6.7c9.9-6 19.3-13 28-20.6a233 233 0 0 0 49.3-58.1c7.9 1.3 16 2 24 1 6.6 6.1 13.6 11.4 22.3 14.2l2.8-1.1c-.2-1.6.7-3.7-1-4.5-3.4-1.7-7-3-10.2-5.2a100 100 0 0 1-30.8-36.8l-.3-.5c-6-11-9.9-23.2-12.5-35.5a97.6 97.6 0 0 0 25.1 7.8c9.8 1.3 20 .8 29.5-2 2-.7 3.8-2.3 2.9-4.5-.6-2.5-3-1.8-5-1.4a62 62 0 0 1-28.9 1.4 85.6 85.6 0 0 1-42.1-21.4 106.5 106.5 0 0 1-23-31c-9.3-18.5-13.8-37.3-20.3-56.6a245 245 0 0 0-25.4-55.6 74.7 74.7 0 0 0-32-29c-6.1-2.9-12.3-3.5-18.9-4.5 2.1-5.3 4.6-10.5 6.4-16 .7-2.2-.5-3.8-2.5-4.6-2 .1-3.8 1-5.5 2-7.5 4-14.7 8.3-21.9 13-2.4-5.4-4.7-10.5-8.9-14.8a54.9 54.9 0 0 0-32.4-16.4 51.7 51.7 0 0 0-30 6c-10.5 5.6-20 13-28.2 21.7-8.2 9-15 19.6-20.8 30.2-16.6 31.9-25.3 65.8-38.5 98.5a395.8 395.8 0 0 1-37.1 74.9 119.1 119.1 0 0 1-39.4 38.5 86 86 0 0 1-26 9.2c-2.6.5-5.5.9-7.9 2-2 1-1.3 2.8-.8 4.4v.2h.2c3.3 1.4 7.1-.2 10.5-.8 9-1.7 17.5-4.8 25.8-8.8 3 7.4 6.6 14.6 10.7 21.5a270.2 270.2 0 0 0 42.3 54.2 40.3 40.3 0 0 1-25.8 19.9 62 62 0 0 1-64.4-22.3c-4.6-6.7-8-14.2-7.9-22.4-.2-2.8.8-6.2-1.2-8.5-1-1.2-3-1-4.5-1a57.6 57.6 0 0 1-37.3-13.2 96.8 96.8 0 0 1-31.6-47.3c-5.5-17.9-6.6-37-1.9-55.1a53.4 53.4 0 0 0 50-18.6A81.5 81.5 0 0 0 266 428c.5-2-.2-3.8-.8-5.8-1.9-1-3.7-1.7-4.8-3.6-3.7-6-5.2-13.6-4.8-20.6.9-12 6.1-24 12-34.5A152.9 152.9 0 0 1 299 324a210 210 0 0 1 37.6-26.4c13.3-7.6 26.7-15 40.6-21.3 17.7-8.4 35-15.6 51.4-25.7 22.1-13.1 41.4-31 65.2-40.8 10.7-4.7 21.5-8.6 33.2-9.8Z"/><path d="M509.7 287c6.8.3 13 2.5 19 5.3a38.9 38.9 0 0 1 20.5 22.9c-5.6-.4-10.7-2.3-16.3-2.3-1.3-1-2-2.5-3-3.9a71 71 0 0 0-20.2-22ZM499.3 287.5c10.8 5 19 13.6 25 23.7-6.6.3-13-1-19.6-1.2-6.4-6-13.1-12.4-20.8-16.6 5-2.8 9.8-4.6 15.4-6ZM478.2 297a55 55 0 0 1 17.4 12.4c-6.6.1-13 0-19.6.5-4.9 0-9.7 1-14.6.9 5-5.2 10.8-9.8 16.8-13.8Z"/></g>`,long23:(a,l)=>`<path d="M710 157.1c10.3.5 20.8.8 31 3a89.8 89.8 0 0 1 42.4 25.6 90.3 90.3 0 0 1 15.5 24.4c7 17.1 11.5 34.8 15 52.9 1.8 9.9 3 20 3.3 30 0 5.5.1 11.9-2.1 17a55 55 0 0 1-18.7 20.4 124 124 0 0 1-44.9 20.7c13.1 33.3 16.9 70 12 105.4-.6 2-.5 5.3-3.5 5a60 60 0 0 0-34.2 2.8 35 35 0 0 1-14.3 39.2 24.6 24.6 0 0 1-29.7-2.3c-11.6-10.7-11.6-30.5-2.3-42.7 1.3-1.8 4.7-1.7 5.2.7.1 3.6-1.3 6.8-.3 10.6s4.3 7.7 8.6 7.3c5.2-.4 7.5-7.2 6.3-11.6a179 179 0 0 0-38.7-78.1 79.6 79.6 0 0 0-24-18.9c-2.8-1.4-5.8-1.9-7.3-4.9-1-1.5.5-3.9 1-5.4 3.5-9 2.5-19.6-2.9-27.7a64 64 0 0 0-29.6-22.2c-21.2-8.7-45-11.7-67.8-11.8-21.6-.1-43.2 2.4-64.2 7.4-1.3.3-2.6.5-3.9.4-2.6-1-2-4.7-1.2-6.8 4.5-11 12.3-20.8 19.3-30.2a248.7 248.7 0 0 0-31.8 28c-3.1 3.4-6.2 6.3-7.2 11-4.8 1.8-9.9 2-14.8 3.3A199.2 199.2 0 0 0 367 335a97.2 97.2 0 0 0-27.9 25.2c-1 1.8-3.3 2-4.6.3a26.3 26.3 0 0 1-5.6-15.5 50.3 50.3 0 0 1 5.5-23c-7.5-2.9-14.7-5.5-21.4-10a52 52 0 0 1-20.9-20.2c-2.9-5.8-2-13.1-1-19.3a228 228 0 0 1 18.5-54 84.6 84.6 0 0 1 21.8-31.2c6-4.9 13.2-6.7 20.6-8.5 9.3-2.2 19.5-2 29-2 7.7.4 15.4.7 23 1.8 9.6 1.4 21.1 2 29.8 6.7a33 33 0 0 1 15.6 22.7 84.7 84.7 0 0 1 2 30.4c18-4 37-6.3 54.2 2.2a219.4 219.4 0 0 1 106.9-5.6c1.7-12.5 2.3-26.2 6.5-38a43.1 43.1 0 0 1 14.9-19.2c5.2-4.2 11-7.2 17.1-9.8a161.4 161.4 0 0 1 59-10.9Z" fill="#000"/><g fill="${p(`${l.hair}`)}"><path d="M698 163.6c14-.5 27.5-.4 41.2 2.2a70 70 0 0 1 27 13 79.3 79.3 0 0 1 25.4 29.6c6.6 14.8 11 30.7 14.4 46.4 1.6 7 3 14 3.8 21.2.9 9.2 2.4 17.9 1 27-.5 5.1-4.2 9.8-7.4 13.4-7 7.1-15.6 12.8-24.2 17.7-9.7 5-19.2 9.3-30 11.1a187.1 187.1 0 0 0-131.5-109.1c1.7-9.4 2.2-18.8 4.3-28a37.8 37.8 0 0 1 7.5-17.6c4.3-4.8 9-9.1 14.6-12.4a129.4 129.4 0 0 1 53.9-14.5ZM400.5 184.2c9.2 1.5 19.4 1.8 28 5.2a25.8 25.8 0 0 1 13.9 15.4c3.9 11.4 4.2 23 3.4 35-27.3 7.9-52.7 21.4-74.9 39.1-13 11-24.9 22.7-33.6 37.5a84.4 84.4 0 0 1-35.2-20.5 19.8 19.8 0 0 1-5.7-17.9c3-20.8 11.2-41.5 20.3-60.4 5-9.8 10.2-18.9 19-25.9 5.2-4.2 12.9-6 19.3-7.4a171 171 0 0 1 45.5 0Z"/><path d="M582 237.1c39.5 2.1 78 16 108.8 41 23.5 18.9 42 43.6 53.6 71.4a198.4 198.4 0 0 1 13.3 104.9 75 75 0 0 0-38.5 6.2c-.3 3 .8 5.6 1.4 8.4a28 28 0 0 1-2 17.2l-.2.6a24.5 24.5 0 0 1-18.4 14.6 18 18 0 0 1-16.7-7.7 26.5 26.5 0 0 1-4.5-17.6l1.8.2c1.8 2.1 3.3 4 5.8 5.3 5.8 3.5 14 1 17-5a20.3 20.3 0 0 0 1.3-15.4c-5.6-22.6-15-44.5-28.3-63.6-11-15.2-23.1-28.7-40.7-36.2 3.1-8.7 4-18 .5-26.7-5.2-14-18-23.6-31.1-29.8a173.5 173.5 0 0 0-66.1-14.2c-12.6-1-25.5.2-38 1.1-11.1 1.2-22 3-33 5.3 1-3.7 3-6.8 5.2-10a193.1 193.1 0 0 1 26.6-32.4c2.3-2.5.8-4.6-2-5.7-9.5 5.4-19 11.3-27.7 18.1-6 5-11.9 10.1-17.4 15.6-6 6-12 11.4-16.3 18.8-18 2.9-35.4 8.9-52 16.8a142.3 142.3 0 0 0-47.6 34.6c-2.7-6-2.4-12.5-.6-18.7A81 81 0 0 1 353 305c8.2-9.9 17.8-18.2 28-26a210.3 210.3 0 0 1 63-32.3c9.3-2.8 19.2-5 29-5.6 6.8-.1 13.4-.4 20 1.3 4.3 1 8 2.9 12 4.6 24.8-7.7 51.1-11.3 77-9.9Z"/></g>`,long22:(a,l)=>`<path d="M599 223.2c12.1.5 25.1 2.3 36.2 7.6A84.2 84.2 0 0 1 662 253c7.2 8.6 13.8 17.7 20.2 26.8 7.7 10.6 14.4 21 24.3 29.7 5.8 4.9 12.2 9.9 19.2 12.8 9.5 4 19.8 5.5 30.1 5.6 7.3.3 14 .2 20.7 3.5a31 31 0 0 1 16.3 20.6c1.7 5.8 1.7 12 3.6 17.6A37 37 0 0 0 809 386a80.5 80.5 0 0 0 34 14.7c10.7 2.1 20.8.2 31.5 2.9 7 2 11.8 7.6 15.2 13.7A39.5 39.5 0 0 1 893 437c-.1 6.4-2.6 12.5-2.6 18.8.9 4.7 5.4 10.3 10.6 9.8 4-.4 7.8-2 10.6-5 1.8-1.5 2.9-3.3 5.5-3 3 1 2.6 4.9 3 7.4a85.3 85.3 0 0 1-18.5 56.6 121.6 121.6 0 0 1-40.4 34.3c10.5 4.2 22 4.2 32.7 1 2.7-.8 5.4-2 8.1-2.7 2 0 3.2 1.8 2.7 3.6-5.8 24-20.5 45.8-39 62a100.2 100.2 0 0 1-55.7 26A25 25 0 0 0 818 657c4 3.5 9 5 13.3 7.9 1.4 3.2-2 4.6-4.2 6a73.5 73.5 0 0 1-37 7.5 68 68 0 0 1-37.5-11.3 53.8 53.8 0 0 1-15 17.3 145.6 145.6 0 0 1-49.5 24.4c-13.3 3.7-27.2 6-41 5.2a43.3 43.3 0 0 1-15.6-3.6 3 3 0 0 1-1.4-4.4c1.3-1.1 3-1.9 4.5-2.7a30 30 0 0 0 15.7-28.1 77 77 0 0 1-37.4-3 89.4 89.4 0 0 1-46.2-34c-4.5-6.8-8.3-15-9.3-23.3-.1-1.6-.5-3.5 1.1-4.6 2-1.4 3.6 0 5.4.8a51.3 51.3 0 0 0 25.2 5.6 27 27 0 0 0 19-7 56 56 0 0 0 16.3-34.8c1.9-13.4-1.9-26-7-38.2-5-12.2-12.1-23-17-35.2-2.2-5.7-3.9-11.4-3.6-17.6.6-18.1 11.2-35.2 22.6-48.6 3-3.7 6.4-7.8 7.6-12.4 1.5-5.6-.5-11.7-3.6-16.4-2.2-3.4-5.8-5-9.5-6.1-8.3-2.5-17.8-2.4-26.3-4-4.8-1.1-9.1-3-12-7-3.1-4.2-3-9.5-2.7-14.5.4-4.7 2.7-9.4 2.5-14-.3-4.5-5.3-6.1-8.8-7.5-11.1-4.2-21.6-2-33-.7-15.9 2.4-32 7.6-48 9.3-4.2.4-8.3.8-12.5 1-13 .2-25.4-3-37.5-7.7-9.4-4.2-19.5-11-22.9-21.1-2.3-7-.9-13.2.5-20A80.8 80.8 0 0 0 395 321a67.5 67.5 0 0 0-25.9 21c-4 6-5.8 13.2-4.3 20.2 2.1 10.3 7.3 18.8 7.6 29.8.2 7-3.4 12.6-8 17.5-5.3 5.6-11.4 10.5-17.1 15.8a80.6 80.6 0 0 0-19.5 25.5 50.7 50.7 0 0 0-5.5 29.2c2.3 9.7 9.8 15.6 15.7 23 7 9.1 14.4 16.8 17.8 28.2a73.7 73.7 0 0 1 1 34.8c-1.8 9.3-6 18.5-7.2 27.9 5 9 12 17 18.8 24.7a174 174 0 0 0 25 23c1.4 1 3 2 4 3.3 0 6.8-2.8 13.7-6 19.5a54.6 54.6 0 0 1-42.4 27 61.6 61.6 0 0 1-38.7-8.7c-12.1-7.3-21-18.5-25.5-31.9a151 151 0 0 1-17.8 6.4 109.8 109.8 0 0 1-51.5 2c-19-4-36.8-13.4-50.7-27-1.3-1.6-2.7-2.8-1.6-5 .7-3 4.5-2.7 6.8-3.3 18.7-3 34.2-17 40.2-35-8 4-16.2 7-25.2 7-10.6.4-21-3.1-29.3-9.6a66.7 66.7 0 0 1-22.3-34.5 116 116 0 0 1-3.8-41.6c.2-1.8.5-3.5 2.5-4 2.6-.5 5.3-.3 7.9-.3 4.5 0 9-.8 13.5-1.3a58.7 58.7 0 0 1 1.1-42.8 55 55 0 0 1 26.6-27.7c6.3-3.1 12.9-4.5 19.8-6a52 52 0 0 0 25.2-12.9c7.4-6.9 11.5-18 14.7-27.3 4-11.1 5.2-22.4 7.2-33.9a57.6 57.6 0 0 1 18.1-32.8c10-9 22.4-15.3 35.3-19 14.7-4.1 31.1-5.1 46.3-7.7 6.3-1.1 12.7-3 18.1-6.6a45 45 0 0 0 13.7-15.3 71 71 0 0 1 45.4-33.8c12-2.4 24.4-.8 34 7.2 11.2-6.8 23.6-11 36.5-13.8 20.6-4.9 42.4-6.8 63.5-8.4 13.5-.6 26.7-1.4 40-.7Z" fill="#000"/><path d="M570 229.2c20-.3 40.8-1.5 60 5.8 16.2 7 27.5 21.4 37.8 35.3 9.7 12.6 18.3 27.1 29.3 38.6 5.5 5.6 11.6 10.6 18.3 14.8a70.5 70.5 0 0 0 27.4 9.4c7.7 1 15.5.6 23.2 1.5 8 1 14.8 5.8 18.5 12.8 5 9.3 3.1 20 8.1 28.8a48.7 48.7 0 0 0 15.5 16.7 88.8 88.8 0 0 0 48.9 15.2c4.5 0 9 0 13.5.7 7.2 1.1 12.7 8 15.1 14.5a48 48 0 0 1-.2 23.5c-.9 4.5-1.8 10.1.5 14.4 2.5 5 7 9.7 13 10 5.8.6 10.2-2 15.1-4.7 1 11.9-2.3 24.4-7.4 35a111 111 0 0 1-52.8 51.1c-2.2.9-3.1 3.2-1.5 5 2.3 2.2 5.6 3.5 8.5 4.6a58 58 0 0 0 36.1.2c-1.6 5.9-4 11.4-6.7 16.8a126.2 126.2 0 0 1-38.3 43.7 87.4 87.4 0 0 1-48.4 17.3c-.3 1.6-.9 3-.1 4.5 2 5 3.6 9.7 7.3 13.6 3.3 3.8 7.4 5.7 11.5 8.6-8 3.6-16.5 5-25.2 5.4-12.2.3-24.6-1-35.6-6.6-3.1-1.5-5.4-4-8-6.1-1.3-1-2.7-.7-4-.2-1.6 2.6-2.4 5.4-4 8-3 4.5-7 8.4-11.1 11.9a123 123 0 0 1-29 17c-14.5 6.2-30 10.4-45.7 11.7-6.3.5-12.6.4-18.8-.8 4.2-3.9 8.2-7.5 11-12.6 4.4-7.8 6-17.1 3-25.7-4.5-.6-8.4 1.2-12.8 1.3a81.2 81.2 0 0 1-55.2-19 67 67 0 0 1-22.8-32.8c10.2 3.6 22.2 5.7 33 3.6 9.5-1.9 16.7-8 22.2-15.7a69 69 0 0 0 11.2-46.3 116 116 0 0 0-11.3-34.1c-5.1-10.3-11.1-20.1-14.8-31.3a37 37 0 0 1-.6-18.4 75.8 75.8 0 0 1 13.4-28.1c4.1-6.1 9.7-11.4 13.3-17.7 2.4-4.5 4-10.3 2.8-15.4-1.6-7.1-4.7-14.2-11.4-17.8-8.3-4.4-19-4.8-28.3-5.9-3.5-.6-7.7-1.1-10.7-3.1-3-2-4.3-5.6-4.4-9.2 0-6 3.3-12 3-18-.1-4.3-2.5-8-6.2-10.2-9-5.3-20-6.8-30.2-5.4a211 211 0 0 0-32 5.3c-16.7 3.9-32.4 7.4-49.8 5.7-8.8-1.1-17.5-3.4-25.7-6.8-6.4-3-13.7-7.4-17.4-13.6-3.9-5.9-2.8-14.4-.7-20.8 3.3-9.4 9.8-17.9 16.9-24.9 7.2-7.4 17.2-12.4 24-20.1l-2.4-2.3c-2.1-.7-3.5.6-5.1 1.8-3 2.5-6 4.8-9.1 7-11.8 8-22.2 19-28.4 32-3.9.3-7.7 1-11.3 2.3a94.5 94.5 0 0 0-28.6 15.4A43.9 43.9 0 0 0 359 351c-1.9 8.7.6 16.4 3.6 24.5 2 6.1 5 14 3.4 20.4-2.2 7-8.8 12.2-14 17-7.7 6.9-15.3 13.1-21.3 21.6-9 12-15.4 27.4-14.8 42.5.5 9 5.5 16.3 11.3 22.9 6.2 6.6 11.6 13.8 17 21 6.5 9.2 8.5 20 8.1 31.1.3 11.5-3.6 21-6.7 31.8a77.6 77.6 0 0 0-2.9 33.7 49.5 49.5 0 0 0 6 15.1c.9 1.7 3.5 1 5 1.2.1-1.9.7-3.5-.3-5.3a43.1 43.1 0 0 1-5.4-25.4c4.6 6 9 12.1 14.2 17.8 8.9 9.5 18.5 19.1 29.1 26.6a47.4 47.4 0 0 1-36.4 37c-23.2 5.7-49-6-60.4-27-2.7-4.6-3.9-9.6-5.8-14.5l-3 .5c-19.5 9.9-42 14-63.6 10.7a95.6 95.6 0 0 1-50.6-24.2 57.5 57.5 0 0 0 46-45 7 7 0 0 0-.7-4.7c-2-.4-3.2-.5-4.9.5a60.4 60.4 0 0 1-14.3 6.8 40.4 40.4 0 0 1-31.2-1.9 54.6 54.6 0 0 1-25.4-30.5 106 106 0 0 1-5.5-43.3c5.6 0 11.1-.1 16.7-1 3.2-.5 6.3-.6 9-2.8-1.5-5-3.4-9.6-4.3-14.6a49.6 49.6 0 0 1 31.8-56c8.4-3 17.4-3.4 25.7-7.2 8.4-4 16.4-9.4 21.7-17.3 5.4-7.8 8.8-17.3 11.6-26.2 3.5-10.9 4.6-21.6 6.7-32.8a52.2 52.2 0 0 1 7.9-18.8 68.2 68.2 0 0 1 29-22.8c19-8.4 38.6-8.6 58.8-12.1a45.9 45.9 0 0 0 27.7-14.6c6-6.1 8.8-14 14.6-20.3a61.6 61.6 0 0 1 36.7-21.1c8.1-.9 17.7-.1 24.6 4.6-3.5 3.2-7.6 5.6-11.3 8.5-1.1 1.1-3 2.3-1.9 4.1.7 2.4 3.5 2.4 5 1 5.7-4.1 11-8.5 17.2-11.9a125 125 0 0 1 25.4-10.3c26.7-7.3 54.5-9.4 82-11Z" fill="${p(`${l.hair}`)}"/>`,short17:(a,l)=>`<path d="M564 200c8 2.4 15.1 7 20.8 13.2 6.5 6.9 12.1 14.6 16.8 22.8 7-5.5 15-9.8 23.4-13 5.4-2 12.4-3.3 17.9-1 4.6 2 6.7 7.2 6.2 12-.7 7-4.6 13.7-8.3 19.5 8.9-1.8 18.2-4 27.2-4.6 5.7-.3 11.3-.6 17-.6 12.9.2 27.1 1.2 39 6.7 4.2 2 9.4 5 11.6 9.4 1.8 4.5-.2 8.6-3.2 12a88.4 88.4 0 0 1-19.6 15.2 123.7 123.7 0 0 1 41.1 21.5c4.6 4 9 9.5 8.7 16-.5 6.2-4.4 10.7-9.4 14A88.2 88.2 0 0 1 778 372c4 7.8 6.7 17 3.4 25.6-2.6 7-8 11.5-14.5 15a59.2 59.2 0 0 1 11 36.4c-.3 6-2 11.8-6 16.4-3.1-.2-6.2-2-9.2-3a58 58 0 0 0-46.2 6c-4.6 2.8-9.1 5.6-13.8 8.3 3.3-.3 7.1-.9 10.4-.1 2.6 3.1.3 5.4-1.2 8.3-2.2 3.5-3.9 7.4-6.4 10.6-1.7 2.4-5.9.4-5-2.5 1.4-3.7 3.9-7 5.8-10.5-6.6 0-12.5 2.8-19 2 .1-1.5.3-3 .6-4.4 2-2.3 5-4 7.5-5.7 6.6-4.5 13.5-8.4 20.4-12.5-7-.5-13.8-.2-20.6-.6-2.4 0-3.5-1.3-4-3.4-.8-4.5.4-9.6.2-14-.7-2.6-2.5-5-3.9-7.4A185 185 0 0 1 668 386c-5.1.2-9.9.5-14.9-1a40.3 40.3 0 0 1-14.3-7.8 57.5 57.5 0 0 1-14.5-23.2 29.5 29.5 0 0 1-17.2 9c-4.8.1-8-3.4-9.4-7.7-2-6.7-.4-14.8 1.2-21.4a262 262 0 0 1-80.8 20c-11.2.7-22.5.1-33.7-.2 1.7 3.3 3.4 6.3 3.2 10.2 0 3.5-2.4 6.7-5.7 7.7-5.8 1.8-11.4 1-17.3 0a104.3 104.3 0 0 1-28.4-10c-.4 3.6-.4 7-2 10.3a25.8 25.8 0 0 1-8 9.2c-6.8 4.8-17 4.6-23.2-1a70.5 70.5 0 0 1-14.6-19.9 78.6 78.6 0 0 1-8.7 12.2 77.7 77.7 0 0 1-24.5 20.7 31.7 31.7 0 0 1-17.1 3.6c-4.4-.8-7.6-4.4-9.4-8.3a32 32 0 0 1-.2-23.3 120 120 0 0 1-31.4 4.5 24 24 0 0 1-13.5-3.2c-5-3.4-7.5-10.4-5.1-16.1 2.2-5.4 7.4-9.8 12.5-12.5 8.4-4.4 18.9-5 28.2-5a78.5 78.5 0 0 1-14.4-12.7c-3.4-4-6-9-6.5-14.2-.4-5 2.8-9.4 6.5-12.3 5.6-4.4 13-6.8 20-8 10.6-1.4 21.3-2.4 31.9-1.1a22 22 0 0 1-7.5-11.6c-.8-4-1-8.7 1.6-12.2 2.8-3.9 7.6-6.4 12-8.2 10-4 21.5-5.2 32.3-5.5 13.4-.7 26.6.1 40 .9-3.4-7-8.4-14-8.2-22 .1-6 4.2-10.7 9.7-12.6 8.4-2.8 17.8-3 26.5-2.2 13.9 2.1 27.6 5.5 41 9.4 8.3 2.5 16.4 5.4 24.6 8 .2-8.7 2.5-17.7 9.7-23.3a28.9 28.9 0 0 1 25.6-5.2ZM720 575.9c5.4 1 10.4 2.7 16 2.8 2.4.4 6-.4 7 2.4a23 23 0 0 1-1.8 11c-3.4 8.2-11.8 14-20.8 12.4-6-1.2-10-5.7-12.7-11 3.3-4.7 6.3-9.5 9.4-14.4.8-1 1.6-2.6 2.9-3.2Z" fill="#000"/><path d="M565.8 207.1c10.5 4.1 18.7 14.1 25 23.2 2.9 3.9 5 8.3 7.7 12.3 2.8.8 4.7-.7 6.8-2.3a74.5 74.5 0 0 1 17-9.9c5.4-2.3 10.6-4.3 16.7-3.3 3.2.8 4.5 3.8 4 7-1 7.3-5.9 13.3-9.5 19.4-1.4 2 0 5.4 2.5 5.6 5.1.5 10.7-1.2 15.8-2 7-1.6 14-2 21.2-2.7 13.8-.6 28.6-.2 42 3.6 5.3 1.7 11.8 4.4 15.2 9.1.3 2.4-2 5-3.5 6.6a95 95 0 0 1-21.2 15c-1.9 1.1-3.7 1.7-3.8 4.4.5 2.1 2.2 2.5 4 3.1 11 2.6 21.6 7.2 31.5 12.6 6.5 4 14.6 8.8 18.3 15.7 2.3 4.2.2 9-3.3 11.8-1.9 1.3-4 1.8-6 3-2 1.5-.7 4.3.7 5.8 5 4.4 10.3 8 14.6 13.4 6 7.2 12 15.4 14.4 24.5a18.8 18.8 0 0 1-2.4 16.5c-3.2 5-7.9 6.6-12.8 9.2-2.8 2.1-.7 4.8.7 7a51.5 51.5 0 0 1 10 37c-.3 2-1.4 4-2.2 5.7a59 59 0 0 0-37.8-2.1c-3.9 1.4-7.3-.2-11.4-.3-7.6-.2-15.3 0-23-.1-.3-5.5 2.1-12.9-1.3-17.5-10-16.6-18.1-35-22.6-53.9a43 43 0 0 0 22.3-19c.8-1.6.4-3.7.3-5.3-1.4 0-2.8 0-4.2.3-1.8 2.1-3.2 4.7-5 7-5 6.5-12.5 11-20.5 12.5a25.2 25.2 0 0 1-16.8-3 40 40 0 0 1-17.8-21.2c-1.7-3.7-1.8-7.6-2.9-11.3-1.9-1-3.8-1.2-5.2.7-3.4 4.6-7 8.6-12.4 10.8-2 1-5.3 2.1-6.7-.3-2.8-4.5-2-9.8-1.1-14.7.7-5 3-9.2 2.5-14.5-2.5-.2-4.8-.2-7.1 1a255.4 255.4 0 0 1-38.5 13.3 226 226 0 0 1-84 6.3c-2.7-.6-4.5 3.3-2.3 4.8 4 3.3 8.2 6.2 8.1 12-.2 2.5-3.8 2.8-5.8 3-14 .1-27.1-5.6-39.4-11.7-2.3-1-4.6-2.8-6.1.3-1 4 .4 9-1 13a18.1 18.1 0 0 1-11.7 10c-4.5 1.2-9-.9-12.2-4-5-5.1-9-11.5-12.3-17.8-1.1-1.9-2-4.1-3.4-5.8-1.3-.6-3.3-.4-3.9 1.1-2 4-3.7 8-6.5 11.5a84.8 84.8 0 0 1-26.3 23.8 26 26 0 0 1-14.5 3.4c-4.7-2-6-8-6.5-12.7-.2-5.8 1.8-12 5.2-16.7 1-1.5 1-2.3.3-4-2.3-1.2-4.4 0-6.6.7a90 90 0 0 1-33.1 5.7c-4 0-8.6 0-11.8-2.8-3.1-2.4-3.3-7.6-1-10.5 4.3-5.6 11-9 17.7-10.3 8.9-1.6 18.5-1.2 27.4-2-.2-1.7.6-4.2-1-5.2-5-3.5-10-6.5-14.4-10.8-5-4.8-10.2-9.6-10.6-17 .2-3.3 3.3-6.1 5.9-7.9 7.9-4.8 17.7-6.2 26.8-6.7 10-.9 20-.5 29.8 2 1.8.2 4 1.4 5.2-.5 1.7-1.7.8-3.7-1-5-3.9-2.9-9-5.3-12.7-9.2a16.8 16.8 0 0 1-4-9.8c.3-4.1 4.2-6.6 7.4-8.3a81.7 81.7 0 0 1 31.3-6.5c10-.2 20.2-.3 30.2.1 6.6.3 13.4 1.5 19.9.7-.2-4-2.4-6.6-4-10.1-2.4-5.1-5.8-10.3-6.3-16-.4-3 .6-6 3.4-7.7 3.7-2.1 8.6-2.7 12.8-3 5.8-.2 12-.4 17.8.7 12 2.3 24 5.1 35.7 8.6 9.9 3 19.6 6.7 29.6 9.5 2.6.2 3.1-2.9 2.6-5-1.7-8.4 1.9-18.4 9.6-22.8 6.6-4 14.5-4 21.5-1ZM721.7 582.6c5.3.7 10.5 1.7 15.8 2.2-1.2 7.1-5.9 13.6-13.5 14.1-4.3.4-6.4-2.4-9.3-5a732 732 0 0 0 7-11.3Z" fill="${p(`${l.hair}`)}"/>`,long21:(a,l)=>`<g fill="#000"><path d="M588 235.8a209 209 0 0 1 42 4.8 185.9 185.9 0 0 1 99.8 58.6 205 205 0 0 1 30.7 51.3 176.3 176.3 0 0 1 15.1 62.5c1 12.3.5 24.8-1.2 37-.9 5.4-.5 10.3-3.4 15.1-4-.8-7.4-3.1-11.4-4-10.1 29.1-32 55.1-60 68.6a63.4 63.4 0 0 1-41.6 5.5c-1.8 0-2.6-2.7-1.7-4a96.3 96.3 0 0 0 14-42.2 128.8 128.8 0 0 0-22.1-79.2c-7.3-10-16-19.3-24.5-28.5-3.8-4.2-7.2-8.8-10.7-13.3 3 12.9 7.8 25.4 14.1 37 .6 1.2 1.5 2.5 1.1 4-1 1.6-2.6 2.1-4.4 2.6-4.4 1.1-9.2 1.4-13.8 2.2-34.6 3.8-70.1 8.7-105 11-3.8-1.8-7.1-5.8-10-8.8a153.2 153.2 0 0 1-27.7-48.3c-1.6-4.4-3.2-8.9-4-13.6-.6 8 1 15.2 2.7 22.9 3.7 15 9.4 29.6 16.9 43.1l2.4 5c-1 .8-2 1.4-3.3 1.5-7.1.9-14 .4-21 .6a73.8 73.8 0 0 1-21.1-28c-11.3-24.5-14.1-51.1-11.3-77.7a128.9 128.9 0 0 0-14 66.5c1 11.8 3.8 24.8 10.8 34.6 1.4 2.3 4.3 4.2 3.4 7.2-1.1 2.5-4.5 2.9-6.8 3.2-7.7.6-15.4 1-23 2-21.1 1.3-41.8 4.8-63 5.5-8.2 1.1-16.3.5-24.5 1-1.8 12-2.5 24.3-1.5 36.5 1 19.2 4 38.5 9.1 57 .6 2.4 2.3 4.6 2.7 7-.3 2.8-3.6 3.4-5.3 1.4a107 107 0 0 1-17.4-24.5c-7-14.2-10.4-30.3-11.8-46-.8-14 .3-28.6 6-41.7.6-1.4.6-1.9 0-3.4a102.8 102.8 0 0 1-.6-73 150.7 150.7 0 0 1 51.3-66.9c36.8-28.2 83-43.4 129-47 17.8-2 36-1.2 54-1.7 8.4-.7 16.7-1.4 25-1.8 12-1.3 23.9-2 36-1.6Z"/><path d="M719.1 518.1c.7-.5 1.7-.7 3-.4l.6.6c.6 3.5-.6 7.9-3 10.4-2 1.6-4.9-.3-4-2.7 1-2.6 1.8-5.5 3.4-7.9ZM719.1 576.3c1.9-.4 4 .6 5.8 1 5.9 1.4 12 1.9 18.1 1.2 2.3-.3 4.8 1 4.8 3.5-.9 3-2.3 5.8-2.8 9a47 47 0 0 0 4.7 29.3 67.1 67.1 0 0 0 31.4 30.6c2.6 1.3 6 2.1 8 4.1 1 2.3-1 4-3 4.2-15.3 2.3-30.6 5.3-46.1 4.9a69.4 69.4 0 0 1-35.8-9.5c-4.4 7.4-8.1 15.6-13 22.5-1.2 1.8-3.1 2.7-5.2 2-2.6-.9-5-2.4-7.4-3.7-8.7-5-17.3-10.5-25.1-16.9-1.5-1.4-4.1-3.3-4.3-5.6-.2-2.7 3-3.7 4.7-5a227.5 227.5 0 0 0 62.9-69.1c.6-1 1-2.3 2.3-2.5ZM364.5 614.5c8.1 9.3 17.2 17.5 26.7 25.3 3.5 2.9 7.5 5 10.9 8 1.7 1.3 1.8 4-.1 5.1a65 65 0 0 1-33 9.7c-9.5.3-19 .5-28.5-.5-3 0-4.1-3.7-1.6-5.3 4-2.6 7.6-5.6 10.4-9.5 5-7.1 8.7-15.8 10.3-24.3.3-2.5.1-5.2.7-7.7.8-1.5 3-2.5 4.2-.8Z"/></g><path d="M617 244.4a191 191 0 0 1 80 32.7c13 9.6 25.1 21.1 34.5 34.4a200.4 200.4 0 0 1 19.9 33.3 191 191 0 0 1 18 63.2c.7 11 1.5 22.2-.3 33-.6 5.6-1 10.9-2 16.4l-5.5-2.4c.6-3.1 2-6.8 1.4-10-1-2.7-4.7-2.2-5.4.4a114 114 0 0 1-57.8 77.4 60.6 60.6 0 0 1-36.4 7.4c5-9.7 9.2-19.5 11.5-30.2 1.6-9.6 2.5-19.2 1.4-29a156.2 156.2 0 0 0-6.4-30.9c-4-12-10-23.5-17-34-7.3-10.2-16-19.4-24.4-28.6-6.6-7.7-13.4-15.9-18-25-3-5-2.9-11.7-3.2-17.5.5-8.3 1-16.7 2.4-25 .2-1.3-.5-2.6-.9-3.8-1.6 0-3.6-.7-4.5 1-1.1 2.4-1 5.4-1.4 8a114 114 0 0 0 .2 37.7c1.4 8.6 4.1 17.2 6.7 25.6a166 166 0 0 0 11.5 27.5c-7.3 1.4-14.5 2-21.8 3-21.7 2.3-43.7 5.3-65.5 7.3-7.6 1.1-15.4 1.1-23 2.2a38 38 0 0 1-5.5.2L503 416a145.1 145.1 0 0 1-37.3-78.7c-.4-1.8-.2-4-2.3-4.7-2.1-1-3.6 1.1-4.3 2.8a69.7 69.7 0 0 0-2 25.7c2.3 21.3 9.5 41.4 19.4 60.3-3.9.5-7.8.7-11.6.4-2.3-.2-3.7-2-5.2-3.5a88.3 88.3 0 0 1-19-33 141 141 0 0 1-5.3-68.2 78.6 78.6 0 0 1 16.5-38c1.6-1.9 4.3-3.6 4.9-6-.3-3-3-4.1-5.2-2.2-9 7.5-15 19.1-18.4 30.2-.8 3.7-3.2 5.9-5.2 9a133.8 133.8 0 0 0-18.8 54c-.4 7.3-1.5 14.8-.7 22a78.1 78.1 0 0 0 11.7 40.2v.6c-8.6 1.2-17.2 1.5-25.8 2.4-5.2.9-10.4.7-15.5 1.4-7 1-14 1.4-20.9 2.4-10.2.5-20.5 2.2-30.7 2-2-6-3.8-12-4.7-18.2-2.8-21.9.4-44.2 8.7-64.6a110.1 110.1 0 0 1 38.4-50.5c2-1.2 1.8-4.7-.7-5.2-2.7-.5-4.1 1.2-6 2.5a111.3 111.3 0 0 0-33 41.1 144 144 0 0 0-14.7 60.9c0 11.8 2 23.3 5.5 34.6-5.8.4-11.6.3-17.4.2-8-15.4-12-32.5-11.2-49.8.8-8.5 2-16.9 4.6-25a135.7 135.7 0 0 1 39.4-58.7c11.3-10.4 24-19 37.4-26.5 30-16.4 63.3-25.8 97.3-28.7 9.4-1.8 18.6-1 28-1.3 9.7-.2 19.4 0 29-.7 11.4-.6 22.6-1.7 34-2.5 18.3-2 37-1.4 55 1.8ZM297 436.8c.7 1.3 1.5 2.6 2.4 3.8 1.9 1.3 3.8 1 6 1-2.3 14.3-1.8 29-1 43.4 1 13 3 25.9 5.7 38.6-1 0-1.7-.4-2.2-1.5-4.9-7.7-8.1-16.6-10.5-25.3a128.3 128.3 0 0 1-4.3-33.8c-.2-9 1-17.7 3.9-26.2ZM721.8 582.5a83.5 83.5 0 0 0 18.6 1.8c-4 13-2 27 4.2 39.1A71.4 71.4 0 0 0 766 649c3 2.4 6.3 3.9 9.1 6.3-10.6 1.8-21.3 3-32.1 2.8a60 60 0 0 1-37.1-9.8c-1.7-.9-3.6-.6-4.7 1-5.2 7.6-8.8 16.1-14.1 23.7-5.5-2-10.4-5.7-15.3-8.7-5-3.4-10.6-6.7-14.7-11.1a223 223 0 0 0 30-25.9 220 220 0 0 0 34.7-44.7ZM365.6 624a278 278 0 0 0 21.5 20.1c2.4 2.2 5.1 3.4 7 6-13 7.6-31.4 7.4-46 7.2 2-2.5 4.3-4.5 6.1-7 5-6.9 8.1-14.5 10.5-22.5l.2-.8.8-3Z" fill="${p(`${l.hair}`)}"/>`},w=Object.defineProperty({__proto__:null,base:H,earrings:{variant06:(a,l)=>'<path d="M737.2 554.1c3.4-.8 7-.4 9.4 2.3a9.2 9.2 0 0 1-.7 13.5c-4.3 3.5-11.5 2.3-14-2.9-2.8-4.7.1-11.3 5.3-12.9Z" fill="#000"/>',variant01:(a,l)=>'<path d="M738 561c3.1-.8 8.3 1 7.2 5-.8 2.7-4.5 1.2-6.4 1.2-3.8 5.9-4 13.1-1.5 19.5.7 1.7 2.3 3 3.5 4.4 2-2.9 3-6 4-9.3.8-2 3.7-2 4.8-.4 1 1.2.5 3.2.3 4.6-.8 3.5-2.5 7.4-5.5 9.3a7.7 7.7 0 0 1-10-1.7c-4.7-5.3-5.2-13.8-4.4-20.5.7-4.7 3.1-10.5 8-12Z" fill="#000"/>',variant02:(a,l)=>'<path d="M740.5 550.5a21.1 21.1 0 1 1 13.3 40.1 21.1 21.1 0 0 1-13.3-40.1Z" fill="#000"/><path d="M741.5 556.6c7-2.8 15.5 0 19 6.9a15 15 0 0 1-7 20.8c-8.1 4-18.2-.8-20.8-9.2a15.1 15.1 0 0 1 8.8-18.5Z" fill="#fff"/>',variant03:(a,l)=>'<path d="M790.7 496.2c.6 4.4-4 8.1-8.1 6.2-2.5-1-3-3.2-4.2-5.4 1.3-2.2 1.8-4.4 4.3-5.3 3.4-1.5 7.5 1 8 4.5ZM787.3 513.3c4.5-2.2 9.6 2.2 8 7-1.3 4.2-6.8 5.7-9.9 2.2a5.8 5.8 0 0 1 1.9-9.2Z" fill="#000"/>',variant04:(a,l)=>'<path d="M781.2 457.2c2.1-.8 5-.7 6 1.6 1.3 2.4.1 5.2-.9 7.5-2 4-4.8 8-8.5 10.5-1.8 1.3-4.7 1.6-6.3-.3-2.2-2.3-.7-6.1.5-8.6 2-4 5.1-8.6 9.2-10.7ZM797.5 471.5c2.1-.3 4.2-.3 5.7 1.5 1 2 .7 4.7-.7 6.4-3 4-7 7.6-11.6 9.6-2 .9-5.4 1.1-6.8-1.1-1.6-2.4-.2-5.3 1.4-7.3 3.1-3.8 7.3-7.5 12-9ZM737.2 554.1c3.1-.7 6.5-.5 9 1.8 4 3.4 4 10 .2 13.6-4.2 4-11.9 3-14.4-2.5-2.9-4.7 0-11.3 5.2-12.9Z" fill="#000"/>',variant05:(a,l)=>'<path d="M780.5 457.5c2.2-1 5.5-1.3 6.7 1.3 1.6 3-.6 6.9-2 9.5-2.1 3.6-5.3 8-9.4 9.5-3.7.8-6-2.3-5.3-5.9a27.2 27.2 0 0 1 10-14.4ZM797.5 471.5c2.2-.4 4.7-.3 6 2 .6 2 .3 4.3-1 6-3.1 4.1-7.4 7.9-12.2 9.8-2.2.5-4.8.7-6.2-1.4-1.6-2.4-.2-5.4 1.4-7.3 3.1-3.8 7.3-7.5 12-9Z" fill="#000"/>'},eyebrows:{variant10:(a,l)=>'<path d="M545 378.5c24.7 1 48 9 69.5 21 2.2 1.3 4.9 2.5 6.8 4.3 1.3 2.4-.4 5.1-3.2 4.2a234.2 234.2 0 0 0-51-12c-20.4-2.4-40-3.7-60.3-.1-3.2.4-6.9 2.1-10 1.6-2.7-1.7-1.3-6.1 1.2-7.4a78.6 78.6 0 0 1 47-11.6ZM408 397c3.5.6 6.6 1.8 9.6 3.7a54 54 0 0 0-.3 3.6c-2.7.8-5.5 1.1-8.2 1.4a152 152 0 0 0-38.9 9.7 140.6 140.6 0 0 0-35.1 18.7c-2.9 2-4.2 4.8-8.1 4.4l-1.5-2.6c.9-1.6 1.6-3.2 2.7-4.7a90 90 0 0 1 38.6-29.3c12.7-5.2 27.6-8 41.2-5Z" fill="#000"/>',variant09:(a,l)=>'<path d="M397 373.1c6.9.2 14.2 2.9 18 9 1 1.4.6 3.6.7 5.3-6.3.2-12.5.4-18.6 1.9a112 112 0 0 0-41.7 20.1 90 90 0 0 0-22 23c-1.3 2.3-2.3 5.1-4.2 7-1.2.2-2.6.2-3.8.3 0-1.8-.3-3.4.2-5.2a88.7 88.7 0 0 1 38-50.8c10-5.8 21.8-11 33.5-10.6ZM578.5 411.7a71.4 71.4 0 0 1 30 10l-.2 4.7c-4 1.6-7.3-.1-11.3-.8-6.8-1.2-13.9-1.2-20.8-1a197.5 197.5 0 0 0-84 23.7c-1.4.6-3 1-4.4 1.5-2.6-5.4-3.6-11-.1-16.2 5-7.6 15.2-12.4 23.6-15.4 21.3-7.4 44.9-9 67.2-6.5Z" fill="#000"/>',variant08:(a,l)=>'<path d="M531 352.3a85.8 85.8 0 0 1 60.6 15.1 82.9 82.9 0 0 1 29 33c1 3-.4 3.8-2.6 5.3-4-2.2-6.9-5.6-10.5-8.3-13-9.7-28-16.3-43.7-20.2-15-3.5-30.6-5-45.8-2.8-4.8.4-9.3 2-14 2.7-2.4.2-5.1-1.2-4.2-4 1.9-4.2 4.2-8.6 7.6-11.7a45 45 0 0 1 23.6-9ZM383 428.8c13.4-.8 26.3-.6 39 4.3 5.9 2.3 11.6 5.9 14 12a14 14 0 0 1-1.8 12.6c-4.9-.7-9.4-2.6-14.1-3.8a203 203 0 0 0-71-6c-5 .4-10 2-14.8 1.8-1.8-.5-1.2-2.2-1-3.5.9-2.5 3.6-3.9 5.8-5.1a119.2 119.2 0 0 1 43.9-12.3Z" fill="#000"/>',variant07:(a,l)=>'<path d="M452 395.9c.7 4.6-1.5 9.3-4.2 13a43.8 43.8 0 0 1-12.8 11c-7.7 4.4-16 7.8-24.2 10.9a423.5 423.5 0 0 1-73.5 19.5c-3.4.5-7 1.5-10.4 1-2-.8-2-2.7-1.1-4.4 2.3-1.8 5.5-2.8 8.2-4 36-14.6 71.9-29.4 107.8-44.1 3.3-1.3 6.6-3.4 10.2-3ZM479 396l148 22.8c2.6.4 5.3.5 7.8 1.4 2.4 1.1 1.7 5-1 5.2-9.6 1-19.1 1.8-28.8 2-15.4 0-30.6.3-46-1.2-20.9-1.6-42.2-4.6-62.2-11-7-2.5-15-5.5-20.3-10.7-1.8-2-4-4.3-3.2-7.1 1.2-2.2 3.6-1.6 5.7-1.4Z" fill="#000"/>',variant06:(a,l)=>'<path d="M502 385c9.9 0 19.9 3.2 28.8 7.3 3.4 1.8 7 4 7.3 8.3-5.1-.9-10.1-2.1-15.4-2.3a58.7 58.7 0 0 0-33.2 7.2c-2.5 1.4-5 3.3-7.6 4.4-1.8.2-4-2-4-3.8-.2-5.8 2-11.9 6.6-15.7A27 27 0 0 1 502 385ZM414 402.6c5.8.2 11 5.3 12.5 10.6.8 2.7-.4 5.8-3.5 5.7-8.8.2-18.2 0-26.8 2.2-7.5 2-14.7 6.7-21.4 10.8-1.2.8-2.5 1-4 1.2.4-2 .7-3.7 2-5.2 3.3-4.4 6.8-8.6 10.7-12.3 6-5.2 13-9 20.4-11.7 3.2-1.1 6.7-1.6 10.1-1.3Z" fill="#000"/>',variant05:(a,l)=>'<path d="M523.2 384.4c6.2-.5 13.1-.6 18.5 3a10 10 0 0 1 4.5 10.7c-1.6 6.1-6.7 10.9-11.6 14.4a67.6 67.6 0 0 1-30.6 11.6c-5.6.5-12.5.4-17.5-2.6a10.2 10.2 0 0 1-5.2-10.3c1-5.8 5.5-10.5 10-14 9.1-7 20.5-11.3 32-12.8ZM392.2 401.2a47 47 0 0 1 26.3 5.3c3.9 2.2 7.4 5.9 8 10.5.3 4.2-2 7.8-5.3 10.2-4.5 3.6-9.8 5-15.4 6-10 1-20.6.3-29.5-4.6-3.9-2.2-7.9-5.8-8.4-10.5-.8-4.3 2-8.5 5.3-10.9a36 36 0 0 1 19-6Z" fill="#000"/>',variant04:(a,l)=>'<path d="M582.3 370.7c14 7 27.8 17.3 36.6 30.5a3 3 0 0 1-4.3 4.2A104.4 104.4 0 0 0 482 425c-1.6 2-4 3.6-6.2 1.2-1.7-2.6-2.3-6-3.3-9-2 4.8-3.9 9.6-6.2 14.1-1.6 3.2-6 1.1-7-1.4-3.1-6.9-6.3-13.8-9-20.8v17c-.2 2 .2 4.3-2.2 5.1-2 .3-4.3-1-5.3-2.9-3.2-5.8-6.2-11.9-9.4-17.8 1 5.5 2.6 11 3 16.6.2 2-2.2 3.4-4 2.3a132.6 132.6 0 0 0-58.3-10 65.3 65.3 0 0 0-36 12.6c-3 2.4-5.2 5.5-8 8.2-1.6.7-3.2-.3-4.9-.7.1-1.9.2-3.7.8-5.6a86.6 86.6 0 0 1 40-50c13.5-7.4 30.1-9 44.6-3.4a57.4 57.4 0 0 1 27.6 24c2.4-2.9 4.3-6 6.8-8.8 1.6-1.5 4.6-1.5 5.6.8 2.6 5.1 4.7 10.5 7 15.7L462 390c.4-1.5.6-3.2 1.6-4.5 1.7-1.2 3-.2 4.7.1l.8 2.6c2-4.8 4.7-9.1 8.4-12.8A62.1 62.1 0 0 1 512 359c23.9-3.6 48.9 1.2 70.4 11.8Z" fill="#000"/>',variant03:(a,l)=>'<path d="M456 380.4c2.3-.1 2.9 1.7 2.7 3.6-.5 4.7-.8 9.8-2.4 14.2-1.3.4-2.6.6-4 .9-1.1-4.8 0-10.3.7-15.1.4-1.7.8-3.9 3-3.6ZM476.8 386.6c0 3.3-.4 6.4-.7 9.6 41.7.5 83.3.4 125 .8 2.2 0 4 .8 6 1.6-.7 1.5-.3 3.8-2.3 4-8 1.4-16.6.6-24.8 1-17.3.6-34.7 1-52 1.5-17 .2-34 1.2-51 1.4-3.4.4-6.1-2.7-7.3-5.5 0-4.4 1-9.1 2-13.5 1.4-2.4 3-1.6 5-.9ZM439.8 392.2c0 4.9 0 10.8-2.2 15.2-3.3 1.5-7.2 1.8-10.6 2.5l-77 14c-4.2.8-8.7 2.2-13 2.1-2.6-.5-3.3-3.7-.9-5 3.2-1.4 7-1.7 10.4-2.6l87.2-20.3 1.3-5.7c1.6-.2 3.2-.2 4.8-.2Z" fill="#000"/>',variant02:(a,l)=>'<path d="M607 397.6c1.5-.4 3.2.6 4.7 1 0 1.2-.1 2.4-.4 3.6-1.6 1.5-3.6 2.6-5.4 3.8a803.6 803.6 0 0 1-70.4 40.6A289.9 289.9 0 0 1 500 462a50 50 0 0 1-21 3.5c-3.3-.4-6.2-3-6.2-6.5 0-4.2 3-8.6 5-12.1 1.3-2.7 4.5-3 7-4.1l111.7-41.5c3.5-1.2 7-2.8 10.5-3.7ZM339 432.6l90 18c2.3.4 4.6.1 6.9.5 2.4 2.3 3.6 6.2 4.5 9.4 1.2 4-.1 8.8-4 11-4 2.6-9.8 2.1-14.4 1.9-8.8-1-17.4-3.8-25.7-6.8a418 418 0 0 1-57-27c-1.6-.9-3.6-1.9-4.8-3.5-.3-2.9 1.9-4.1 4.5-3.5Z" fill="#000"/>',variant01:(a,l)=>'<path d="M613.5 401.5c1.6 1 1.1 2.9 1.3 4.5l-.1 34c.3 2.8-2.5 4.2-4.7 5l-120 41.1c-2.5.2-2.9-1.7-3.5-3.6l-5-18c1 5.8 1 11.7 1.3 17.5 0 1.4.5 4-1 4.9-2 1.4-4 0-4.6-2l-10.6-38.4c-.4-1.8-.7-3.9 1.3-4.9 2.2-.5 3.5.5 4 2.5 1.3 4.5 2.6 9 3.7 13.7-.7-5.3-1-10.5-1.2-15.8 0-1.3-.1-3.7 1.7-3.8l4.4-.7 123.6-35.2c3.3-.9 6-2.1 9.4-.8ZM324 433.9c13.6 1.4 27.4 1.4 41 2.6 21 1 42.1 2.6 63.1 3.4 7.8.8 15.6 1 23.5 1.7 2.8 2.1 1 8 1.9 11.3.6-3 .2-7 2-9.5 2-1.8 5-.1 4.7 2.6-2.4 14-4.8 28.1-7 42.2-.8 2.9-4.5 2.5-5.3-.2-.3-5-.2-9.9-.3-14.8-1 4.3-1.5 8.7-2.5 13-.4 1.6-1.2 2.8-3 2.4l-119-21.3c-1.8-.2-2.8-1.5-3-3.3-1.5-8-2.6-16-4.2-24-.2-1.7-.7-3.1.6-4.6 2.1-2.2 4.7-1.6 7.5-1.5Z" fill="#000"/>',variant15:(a,l)=>'<path d="M568.4 406c-.6-3-2.4-5-4.6-6.9a50 50 0 0 0-45.6-11.5 37.8 37.8 0 0 0-23.6 17c-2.9 5-4.8 10.6-4 16.4l.2 1.2c.2 1.7.3 3 2.4 3.6 2.2.1 4.4-.3 6.6-.7h.3l6.2-1.3 15.7-3.1c15-3.2 30-6.9 44.8-11.1 1.8-.3 1.7-1.6 1.7-3v-.6ZM430.1 431c-.8-9.8-8.9-17.4-17.9-20.3-13.2-4-28.3-.4-38.3 9.2a28 28 0 0 0-9.1 16.1c-.1 2.7 2.3 2.8 4.4 2.8h.8l9-.1c9.4-.2 18.7-.4 28-1.3 2.4-.3 4.8-.4 7.3-.6 4.2-.3 8.5-.6 12.7-1.1 2.4 0 3.3-2.6 3.1-4.6Z" fill="#000"/>',variant14:(a,l)=>'<path d="M517 379.7c1-1 2.2-2.3 1.8-3.6-.3-2.5-3.5-3.1-5.2-1.5l-8.3 7.4-6.5 5.8-3 2.7a44.3 44.3 0 0 0-7.4 7.5l.9 1c.7 1 1.4 1.8 2.7 1.8 1.5 0 2.7-1.1 3.8-2l.4-.4c4.3-4 8.7-8 13.1-11.8l7.6-6.8.2-.1ZM539.7 378.7c.5-1.8-.2-3-1.6-4-2-.4-3.9.7-5.6 1.7l-1.3.8-13.4 7.7-14.4 8.4c-1.6.9-1.7 2-1.7 3.4v1.5l1.2.3c1.2.4 2.3.8 3.6 0l15.1-8.6a959.6 959.6 0 0 1 14.4-8.3 10 10 0 0 0 3.7-3ZM566.4 378.4c2-.7 4.2.2 4.4 2.6 0 2.3-1.7 2.9-3.5 3.5l-.8.3a5914.4 5914.4 0 0 0-37.6 11.6c-1.3.4-2.6.8-4 0-1.8-1.2-1.7-4.2.4-5.1 1.8-.9 3.7-1.4 5.7-2l2.6-.8 11.5-3.5 21.3-6.6ZM589.4 390.4c1-1.7.6-3-.5-4.5-2.2-.7-4.9 0-7.4.5l-2.5.5-8.5 1.7-12.4 2.5c-2 .5-3.7 1.7-3.1 3.9.6 2 2 2.4 4 2.1l12-2.3 11.5-2.3c.5 0 .9-.2 1.3-.3 2-.3 4-.7 5.6-1.8ZM405.8 394.7a231.8 231.8 0 0 0 8 5v.1c1.8 1 3.5 2.1 5 3.4 1.8 1.4 1.3 4.3-.8 5-1.8.3-3-.4-4.4-1.3l-1-.6a1584 1584 0 0 0-12.9-8.2l-4.2-2.7-.3-.2-.4-.3c-1-.7-2.4-1.6-2.4-2.9-.3-2.4 2.2-4 4.4-2.9 3 1.7 6 3.7 9 5.6ZM384 395.5c-2-.6-4-1.3-6-1.7-2.5-.5-4.1 2-3.3 4.3a8.7 8.7 0 0 0 4 2.2l.5.2h.3l12 4 12.5 3.9c2.4.8 4.8.6 5.3-2.4-.2-2.1-2-2.8-3.7-3.5h-.1l-.3-.1-.5-.2-18.2-5.8-2.6-.9ZM587.1 395.3l10.4-.3c2.5 0 5 0 7.5-.2h1.3c1.7 0 3.6 0 4.4 1.6 1.2 1.7-.3 3.7-2 4.2-3 .6-6.1.6-9.2.5H596l-3 .1a80 80 0 0 1-5 0c-1.3 0-3.2-.3-3.5-1.6a3 3 0 0 1 2.6-4.3ZM360.3 402.9c-2-.1-4.2-.2-6.1.3-1.5 1.2-1.5 3.4-.1 4.8 1.6.7 3.6.8 5.4 1h.5l10.3.6 11.7.7 2.6.1c1.8.2 3.7.4 5.4 0 2-.6 2.6-3.1 1.2-4.6-.9-1-2-1-3-1.1l-1.2-.1-12.5-.9-12.5-.8h-1.7ZM349 411.6l4.5-.3c4.1-.3 8.4-.7 12.5-.4 3 .2 3.1 4.7.3 5.4-3 .7-6 .9-9 1-1.8 0-3.6 0-5.3.3l-3.6.2c-2.4.2-5 .5-7.3.1-2.5-.4-2.8-4.4-.5-5.3a19 19 0 0 1 5.7-.8c1 0 1.8 0 2.7-.2ZM345.5 425.4c3-1 2.8-5.3-.5-5.7-2.8 0-5.7.6-8.5 1l-4 .8-2.6.4c-2.2.2-4.8.6-6 2.1-1.2 2.4.5 4.6 3 4.4 6.2-.7 12.6-1.7 18.6-3Z" fill="#000"/>',variant13:(a,l)=>'<path d="M614 407a133.9 133.9 0 0 0-92-35 175 175 0 0 0-26.4 3c-1.5 3.3-2.5 6.6-3.5 10l-1.2 3.7v-1.4a170 170 0 0 0-1.4-11.4l-3.2-1.5-.8 1.1c-.6.8-1.3 1.6-1.3 2.4 0 3.8.3 7.5.7 11.3.3 2.8.6 5.5.7 8.3l.2 2.2c.1 2.4.3 5 1.6 6.9 2.9.7 6-.4 9-1.4l3.1-1c19-5.5 39.2-6.8 58.7-4.4 20 2.3 40 8.3 57.4 18.6 2 1 4 1.8 6.2 2.5l1.7-3.4c-2.7-4-6-7.3-9.5-10.5ZM422.3 399.6c0-4.2.2-8.5 0-12.7-.3-2.5-1.9-2.5-3.7-2.6h-1c-1 3.6-1 7.5-1.2 11.3l-.3 5-4.5-11.4-.4-.8c-.4-1.1-.9-2.3-2.2-2.3-2.5 0-5 .4-7.5.9l-3.5.6a128 128 0 0 0-52 20.3 53 53 0 0 0-16.7 18.5c-1.5 3.2-2.9 6.5-1.6 10h.4c1 .4 2.6.9 3.4.1a92 92 0 0 0 2.7-2.1c2-1.7 4.1-3.4 6.5-4.6a152.8 152.8 0 0 1 68.3-15.3c1.9 0 3.7.2 5.5.5 1.9.3 3.7.5 5.6.5 1.8-1.2 1.9-3.6 2-5.7V408c0-2.8 0-5.6.2-8.4Z" fill="#000"/>',variant12:(a,l)=>'<path d="M414.2 389.8c-5.5-7.2-14.5-9.3-23.2-8.3a68 68 0 0 0-34.5 17 87.2 87.2 0 0 0-24.7 35.3c-.7 2-1.3 4.7 1 5.8 2.1.2 2.9 0 4.1-1.7a117.4 117.4 0 0 1 43.6-35.4 61 61 0 0 1 26.5-5.7c1 0 2.1.2 3.2.4 1.7.3 3.3.6 5 .3 2.8-2.2.7-5.3-1-7.5v-.2ZM592.9 408.1a147.2 147.2 0 0 0-59-19c-10-.7-21.4-.1-30.6 4.2-6.8 3.1-12.4 8.5-13.6 16.2l-.1 1c-.4 2.8-1 6.7 1.3 8.7 2 .8 3.6-.3 5.2-1.4l2.3-1.4a111 111 0 0 1 45.6-9.7c15.5 0 31.4 2.1 46 7.2l.5.1c1.5.4 2.7.8 3.9-.6 1.8-1.9.5-4.2-1.5-5.2Z" fill="#000"/>',variant11:(a,l)=>'<path d="M531 353.9c17 2 34 7.4 48.6 16.5a57 57 0 0 1 18.3 16.9c.9 1.2 1.2 3.5-.2 4.3-1.2 1.2-2.9.5-4.2 0a143 143 0 0 0-54-15c-13.4-.9-28.2-1-41 3.8-3 1-5.6 3-8.5 3.8-1.4.3-2.5-1-3-2.2a18 18 0 0 1 .3-14.8 23 23 0 0 1 13.3-10.7A72.5 72.5 0 0 1 531 354ZM414 408c8.2 2.4 14.6 10.9 13.6 19.5-1.9.6-3.6 1-5.6.7a108 108 0 0 0-42.8 5.9c-14 4.7-28.5 11.6-39.4 21.8-1.4 1.3-4.3 3-5.6.7-1.7-2.3 0-4 1.4-6a128 128 0 0 1 49-39c8.8-3.6 20-6.5 29.4-3.5Z" fill="#000"/>'},eyes:{variant26:(a,l)=>'<path d="M550.3 424.4a65.4 65.4 0 1 1 13 130 65.4 65.4 0 0 1-13-130Z" fill="#000"/><path d="M549.3 430.3a59.7 59.7 0 1 1 15.1 118.3 59.7 59.7 0 0 1-15.1-118.3Z" fill="#fff"/><path d="M381.2 447.1a55.3 55.3 0 0 1 60 45.9A54.9 54.9 0 0 1 341 532a57 57 0 0 1-9.1-28 55.1 55.1 0 0 1 49.4-57Z" fill="#000"/><path d="M376.5 453.7a49.3 49.3 0 1 1 20.8 96.4 49.3 49.3 0 0 1-20.8-96.4Z" fill="#fff"/><path d="M576.4 464.4a24.7 24.7 0 0 1 17.7 1.5c10 4.7 16.7 17.4 12.9 28.1a24.3 24.3 0 0 1-36.6 14.6 24.5 24.5 0 0 1 6-44.2ZM408.5 478.5c12.7-1.6 25 8.5 25.3 21.5 1 12.4-9.3 24.2-21.8 24.3a23 23 0 0 1-23.9-22.3 22.8 22.8 0 0 1 20.4-23.5Z" fill="#000"/>',variant25:(a,l)=>'<path d="M550.3 424.4a65.7 65.7 0 0 1 68.2 43.3A65 65 0 0 1 598 540a65.4 65.4 0 1 1-47.7-115.6Z" fill="#000"/><path d="M549.3 430.3a59.6 59.6 0 1 1 15.1 118.3 59.6 59.6 0 0 1-15.1-118.3Z" fill="#fff"/><path d="M381.2 447A55.3 55.3 0 0 1 441 492a55 55 0 1 1-59.8-44.8Z" fill="#000"/><path d="M378.2 453.3a49.1 49.1 0 0 1 57.2 57.4 49.4 49.4 0 1 1-57.1-57.4Z" fill="#fff"/><path d="M527.2 466.2a23.8 23.8 0 1 1 5.7 47.1 23.8 23.8 0 0 1-5.6-47.1ZM358.5 480.9a21.8 21.8 0 0 1 28 16.5A21.7 21.7 0 0 1 369 523a21.9 21.9 0 0 1-24.6-14.2 22.3 22.3 0 0 1 14.1-28Z" fill="#000"/>',variant24:(a,l)=>'<path d="M551.3 424.3a65.4 65.4 0 0 1 59.6 101.6 65.2 65.2 0 1 1-59.6-101.6Z" fill="#000"/><path d="M549.3 430.3a59.6 59.6 0 1 1 15.2 118.2 59.6 59.6 0 0 1-15.2-118.2Z" fill="#fff"/><path d="M381.2 447a55.4 55.4 0 0 1 58.7 40 55.5 55.5 0 0 1-26.7 63.1 54.7 54.7 0 0 1-81.3-46.1 55.1 55.1 0 0 1 49.4-57Z" fill="#000"/><path d="M378.3 453.3a49 49 0 0 1 57.2 56.6 49.1 49.1 0 0 1-93.1 12.9 49.3 49.3 0 0 1 35.9-69.5Z" fill="#fff"/><path d="M526.5 467.5c12-2.9 24.9 4.2 29.3 15.6a26 26 0 0 1 0 18.7 25.6 25.6 0 1 1-29.3-34.3ZM398.3 478.4a23.2 23.2 0 0 1 27 18c.7 5.7.6 11.4-2.6 16.2a23.4 23.4 0 0 1-23.6 11.2 23.1 23.1 0 0 1-.8-45.4Z" fill="#000"/>',variant23:(a,l)=>'<path d="M547.5 424.8a65.2 65.2 0 1 1 18.8 129 65.2 65.2 0 0 1-18.8-129Z" fill="#000"/><path d="M549.2 430.3a59.6 59.6 0 1 1 15.3 118.3 59.6 59.6 0 0 1-15.3-118.3Z" fill="#fff"/><path d="M381.2 447.1a55.3 55.3 0 0 1 60 45.4 54.9 54.9 0 0 1-103.8 33.1 54.2 54.2 0 0 1-4.7-32.6 54.5 54.5 0 0 1 48.5-45.9Z" fill="#000"/><path d="M378.2 453.3a49.4 49.4 0 1 1-6 95.5A49.5 49.5 0 0 1 352 467c7.1-7.1 16.3-11.9 26.2-13.7Z" fill="#fff"/><path d="M558.8 456.7c-3.9 4-6.7 8.6-6.7 14.3a20.7 20.7 0 0 0 12.5 20.4c6 2.5 12.3 1.4 17.7-2a36.3 36.3 0 1 1-52.8-31 38.5 38.5 0 0 1 29.3-1.7ZM392 467.9a35 35 0 0 1 22.7 4.3c-3 3-5.4 6.3-5.5 10.8a14.6 14.6 0 0 0 11.8 15.5c3.4.6 6.2-.5 9.4-1.4a34.4 34.4 0 0 1-14.8 31.5 33.3 33.3 0 1 1-23.6-60.7Z" fill="#000"/><path d="M527.4 489.5c2.3-1 4.8-1.3 7 .2 3.5 2.3 3.5 7.5.8 10.5s-7.8 3.2-10.4-.1c-2.8-3.4-1.3-8.7 2.6-10.6ZM379.4 495.6c4.8-1.7 9.4 3.5 7.1 8-1.6 3.6-7 4.3-9.4 1.3-2.6-3-1.5-8 2.3-9.3ZM536.5 504.7c2.5-.8 5.3-.6 7.8.1 6.1 2.4 8 11.2 3.6 16-4 4.8-11.8 5-15.8 0-4.4-5.3-2.4-13.9 4.4-16.1ZM386.5 512.7c3.4-1 7.1-.6 9.6 2.2 3.5 3.4 3.4 9.6-.6 12.6-4 3.5-10.7 1.8-13.2-2.8-2.6-4.3-.6-10.3 4.2-12Z" fill="#fff"/>',variant22:(a,l)=>'<path d="M550.3 424.4a65.9 65.9 0 0 1 62 30.4A64.9 64.9 0 0 1 598 540a65.4 65.4 0 1 1-47.7-115.6Z" fill="#000"/><path d="M549.2 430.3a59.7 59.7 0 1 1 15.1 118.3 59.7 59.7 0 0 1-15-118.3Z" fill="#fff"/><path d="M521.2 467.3a22.2 22.2 0 1 1 10.8 43 22.2 22.2 0 0 1-10.8-43ZM333 478.5c14.4.7 28.8 1.5 43 3.9 21.1 3.4 42.9 9 62.1 18.4 2.9 1.6 2.5 3.3 1.6 6.1-2.4 0-4.4-.2-6.7-1-11.1-3.4-22.5-5.3-34-7.2-10.4-1.4-20.6-3.2-31-3.7-11-1-21.9-.7-33-.6-2-.1-5 .6-6.6-.8-.7-2.1.8-4.7 1.3-6.8-.9-1.6-3-3.4-2.4-5.4 1-2.4 3.4-3 5.7-3Z" fill="#000"/>',variant21:(a,l)=>'<path d="M380.2 447.2a55.2 55.2 0 0 1 61 45.5 55 55 0 1 1-61-45.5Z" fill="#000"/><path d="M378.2 453.3a49.4 49.4 0 0 1 57 58.2 49.3 49.3 0 1 1-57-58.2Z" fill="#fff"/><path d="M590 475c13-.7 27-1.4 39.8 1.4 2.2.6 3 1.3 2.3 3.7-2 1.7-6 3.3-6.8 6 0 6 9 6 9.7 10.9-.3 3-2.4 3.3-5 3.1-7.6-.6-15.3-1.2-23-1.4-16 0-32-.2-48 .9-7.6.7-15.2.6-22.8 1.2-11 1-22.1 1.3-33.1 3.3-2.7.5-5.5 1.1-8.2 1-2-1.2-3.1-5.5-.6-6.8 5.3-3 11.3-5 17.2-6.8 15-5 30.7-8.3 46.2-11.7 10.7-2.4 21.5-3.7 32.3-4.9ZM405.4 479.7a20.2 20.2 0 1 1 4.5 39.5 20.1 20.1 0 0 1-4.5-39.5Z" fill="#000"/>',variant20:(a,l)=>'<path d="m619.9 481.8 2.6 1.1-.5 3c-2.2 3.9-6 7-9 10.1a85.5 85.5 0 0 1-65 21.3 111.3 111.3 0 0 1-54.2-21.1c-1.4-1.1-2.9-2-2.4-4 .5-2.5 4-3.4 6-2.5 21.3 6.3 42.7 6.7 64.6 5.4 16.3-1.5 32-4.2 47.5-9.6 3.6-1.2 6.8-2.8 10.4-3.7ZM440.6 492.4c2.8 1.4 2.2 4.5 0 6.2a79.3 79.3 0 0 1-39.6 18.8c-7.8 1-15.1 2.3-23 1.1a84.8 84.8 0 0 1-39-12.5c-2.1-1.4-4.7-2.9-6.2-5-.6-2.5.7-3.9 3.2-4.2 2.7.3 5.4 1.4 8 2 7.6 2.2 15.3 3 23 3.8a169 169 0 0 0 64.2-7.5c3-.8 6.3-3 9.4-2.7Z" fill="#000"/>',variant19:(a,l)=>'<path d="M619.4 468.6c3.8 2.6 8 5.3 11.1 8.9.3 1.6.1 3.4 0 5-1.9.7-3.3 1.1-5.3.3a142.2 142.2 0 0 0-91.4 0c-12.5 4.2-25 10.3-35.2 18.8-1.4 1-4 2.9-5.3 1.1-1.8-1.6-.7-3.5.1-5.2a80.6 80.6 0 0 1 30.7-30.4 94.1 94.1 0 0 1 95.3 1.5ZM405.5 480.4a56.6 56.6 0 0 1 31.2 18c2.8 3.8 6.5 8 5.9 13.1-1.6 0-3.3.7-4.6-.5a50.8 50.8 0 0 0-13.9-8 99.8 99.8 0 0 0-48.6-5.1 75 75 0 0 0-36 13.7c-1.9 1.2-3.1 2.8-5.6 1.8-1.2-1.9-1-4.5.3-6.2 16-21.8 45-31.8 71.3-26.8Z" fill="#000"/>',variant18:(a,l)=>'<path d="M617.2 468.8c1.2 1.4 2.4 2.4 2.9 4.2a65.5 65.5 0 0 1-79 79.6 65.2 65.2 0 0 1-49-71.6c.6-3.4 1.8-7.2 5.7-8 8.6-1.6 17.5-1.4 26.2-2.4a999 999 0 0 1 73-2c6.8-.4 13.5.4 20.2.2Z" fill="#000"/><path d="m607 474.3 7.5.3a59 59 0 0 1-37.2 70.6 59.3 59.3 0 0 1-79-66c1.8-.7 3.7-1.3 5.7-1.4 16.9-1.4 33.8-2.4 50.8-3-.5 5.2-.2 10.4 2 15.4a26.7 26.7 0 0 0 18.7 15c4.9.9 9.9.6 14.6-1.1 8.2-2.8 14.3-10 16.4-18.3 1-3.9.7-7.6.6-11.5Z" fill="#fff"/><path d="M432 480.7c2-.3 3.8.3 5.8.7a55 55 0 1 1-106 18.6c6.5-3.3 13.1-3.8 20.4-5.5 20.5-4.2 41.1-8.1 61.8-11.3 6-1 12-2 18-2.5Z" fill="#000"/><path d="M433.7 486a54.7 54.7 0 0 1 2.6 16 49.6 49.6 0 0 1-54.3 48.9 49.7 49.7 0 0 1-44.4-47.3c14.4-3.6 29.1-6.2 43.7-9a24.7 24.7 0 0 0 10.1 16 24 24 0 0 0 30-2.3 25 25 0 0 0 7.2-21.7l5.1-.5Z" fill="#fff"/>',variant17:(a,l)=>'<path d="M562 467.8c1.7 0 3.2.3 4.9.6-.3 2.3.3 4.3-2.6 4.8l-28.3 2c-4.3.2-8.8 1.2-13 .9-2-.8-2.7-2-2.1-4.1 1.4-1.4 3.2-1.6 5-1.7 12-.7 24-1.9 36.1-2.5ZM396.3 481.3c1.3 1.2 2.2 2 2.1 3.9-1.4 2.5-5 2-7.4 2.3-8 .2-16 1.7-24 1.7-2.8-.3-2.2-2.5-2.6-4.6 10.3-2.6 21.4-1.7 32-3.3ZM618.9 483l3.1 2.3a65.6 65.6 0 0 1-34.2 61.5 65.4 65.4 0 0 1-96-53c2.1-3.2 5.8-3 9.2-3.2l92-6.2c8.7-.2 17.2-1.6 25.9-1.3Z" fill="#000"/><path d="M616.3 488.6a59.2 59.2 0 0 1-68.3 59.6 59.7 59.7 0 0 1-35.3-18.9 57.9 57.9 0 0 1-14.8-32.5c11.2-1.2 22.4-1.7 33.6-2.6a73 73 0 0 0 5.2 25c2 4.3 5.3 10 10.2 11.1 4.8.9 8-2.5 10-6.4 4.6-9.3 4-21.5 3.2-31.6 18.7-1.2 37.5-2.6 56.2-3.7Z" fill="#fff"/><path d="M415 499.7c8.1-.7 16.1-1.4 24.3-1l2.6 2.4a55.1 55.1 0 0 1-109.6 6.8c1-.9 2.1-2.7 3.6-2.8 13-1.6 26-1.7 39.1-3 13.4-.6 26.7-1.7 40-2.4Z" fill="#000"/><path d="M436.4 504.3a49.5 49.5 0 0 1-49.4 46.9 50 50 0 0 1-48.6-40.8c11.3-1 22.7-1.7 34-2.3 0 7.2 1 14.4 4.9 20.6 1.7 2.6 4.3 5.2 7.7 5 3.5-.1 6-3.3 7.5-6.3a42 42 0 0 0 2.2-20.7c13.9-.8 27.8-2.2 41.7-2.4Z" fill="#fff"/>',variant16:(a,l)=>'<path d="M494.8 474.6c2.5.2 5 1.4 7.4 2.2 9.3 3.7 18.8 6.1 28.5 8.4 21 5 42.8 8.8 64.3 6.9 7.4-1 14.8-2.4 22-3.9 2.6-.6 5.5.8 5.2 3.7a65.5 65.5 0 0 1-113 42 72.5 72.5 0 0 1-15.4-26.8c1.2 8 2.5 15.7 6.2 23 3 6 7.3 11 11.6 16-1.1 1.3-2.5 3.2-4.5 2-3.6-2.7-6.2-6.8-8.8-10.4-6.2-9-8.8-19.5-10-30.2-1-7.3 0-15 1.3-22.2.7-3.6 1.9-8.7 5.2-10.7ZM436.1 479.8c2.2.8 3.2 3 4.1 5 5.6 12 7.8 26.2 4.8 39.3a41.1 41.1 0 0 1-12 23c-1.6 1.6-3.5 1.5-5.6 1.4v-3.1c2.1-2.6 4.8-4.6 6.5-7.5a52.5 52.5 0 0 0 7-25.2 54.7 54.7 0 0 1-86.3 33.7c-9-6.6-16-16-19.7-26.5-.6-2-1.2-4.4-.5-6.3a9 9 0 0 1 5.6-2c8.8-.7 17.4-2.7 26.1-4.5 7.5-1.5 14.6-3.9 22-6 9.5-3.2 18.9-7.8 28-11.9 5.3-2.3 10.3-5 15.3-7.8 1.4-.7 3-1.8 4.7-1.6Z" fill="#000"/><path d="M497.9 481c5 2 9.7 3.9 14.8 5.2 13.9 3.7 28.1 7.8 42.3 9.6 2.6.4 5.2 1 7.7 1.5a23.5 23.5 0 0 0 41.1 14.5 26 26 0 0 0 6-16.4l6.5-1a59.9 59.9 0 0 1-73.5 52.8 59.7 59.7 0 0 1-45-66.1ZM433.8 486.2A49.4 49.4 0 1 1 340 517c14.8-1.8 29.7-4.5 44-8.8a24 24 0 0 0 21 18c10.1 1 20-5 23.9-14.3 3-7.1 2.3-15.8-1.9-22.3l6.8-3.4Z" fill="#fff"/>',variant15:(a,l)=>'<path d="M506 461.1c5.5-1.1 11.7 2.5 17 4 22.1 7 45.9 9.5 69 7.7 6.2-.6 12.8-2.4 19-2 6.2.7 10.4 6.1 11 12a65.6 65.6 0 0 1-35.5 64.6 65.4 65.4 0 0 1-92.4-76.2c1.4-5.3 6.8-9 12-10ZM428.2 466.8c3.7 2.2 5.9 6.6 7.8 10.2a55.3 55.3 0 0 1-40.8 79.1 55 55 0 0 1-62.5-45c-.5-3.8-1.5-7.7.2-11.2 1.6-4.2 5.7-7.1 10.1-7.6a123.8 123.8 0 0 0 65.1-24.1 16.5 16.5 0 0 1 20.1-1.4Z" fill="#000"/><path d="M513.4 467.6c12.2 5 25.5 8 38.6 9.8 15.6 2 31.4 2.6 47 .3 3.9-.6 8.1-1.8 12-1.6 2.4.1 4.4 2.7 4.8 5a59.2 59.2 0 0 1-37 63.5 59.6 59.6 0 0 1-79.4-70.2c1.6-6.2 8-10 14-6.8ZM427.8 474.2c4.8 7 7.5 15.3 8.4 23.8a49.8 49.8 0 0 1-50.2 53.2 49.2 49.2 0 0 1-48.2-46.2c-.5-3.2 2.1-6.5 5.2-7 3.3-.6 6.7-.8 10-1.2 18.4-2.2 36.5-9.6 52.1-19.7 3.1-1.9 5.9-4.3 9-6.1 4.4-2.3 11-1.2 13.7 3.2Z" fill="#fff"/><path d="M533.5 497a22.1 22.1 0 0 1 24.1 21c.9 11-7.5 21.2-18.4 22.8-12 2.2-24-6.8-25.4-18.8-2-12.3 7.5-24 19.7-25ZM400.5 505.5c6-1.3 12.6.9 17 5a19.5 19.5 0 1 1-17-5Z" fill="#000"/>',variant14:(a,l)=>'<path d="M559 444.5c11.4-.7 22.5 0 33.2 4.3a45.7 45.7 0 0 1 26.2 23.8c1.4 3.3 3.1 7.5 2.2 11.1-3 3.2-8.5 1-12.5 1-12.7-.6-25.5-.4-38 .6-14 1-28.5 1.7-42 5.3a188 188 0 0 0-25.2 7.4c-3.7 1.2-6.8 3-11 2.2 1.4-16.8 13-31.4 26.4-41a87.3 87.3 0 0 1 40.7-14.7Z" fill="#000"/><path d="M573 450.2a54 54 0 0 1 31.9 13c4.9 4.5 8.3 10.3 10.1 16.7-16.7-2.2-34.3-.9-51 0-7.7 1-15.4 1-23 2.3 1.2-9.2 2.2-18.4 1-27.7 10-3.6 20.3-5.5 31-4.3Z" fill="#fff"/><path d="M369.2 468.7a79.8 79.8 0 0 1 50.9 8.2c8.7 4.8 16.9 12 20.6 21.5.7 2 1.6 4.5-.7 6-2.7 0-5.4-.7-8-1.1-9.4-1.8-19.4-2.1-29-2.6-10.7-.4-21.3.5-32 .6-12.5.9-24.8 3-37 5-2.5.6-3.2-2.4-3.2-4.2.2-12.4 9.1-22.3 19.8-27.5 6-2.5 12.2-4.6 18.6-6Z" fill="#000"/><path d="M516.9 467.3c-.6 7-.6 13.5 0 20.4a278 278 0 0 0-18.1 6.1 58 58 0 0 1 18-26.5ZM374.6 473.4c9.9-.6 19.7 0 29.2 2.9a50.8 50.8 0 0 1 30.6 21.5c-20.2-3.5-40-2.6-60.3-2.4.8-7.4.6-14.7.5-22ZM350.5 480.6c-.3 5.8-.3 11.6 0 17.5-4.7.3-9.4.7-14 1.7 1.6-7 5.1-12.1 10.6-16.6l3.4-2.6Z" fill="#fff"/>',variant13:(a,l)=>'<path d="M555 424a65.3 65.3 0 0 1 63.5 43.5c2.1 5.6 2.6 11.1 3.6 17-1.3 1.4-1.6 3.3-4 3-7-.4-14-2.1-21-2.3-8.8 0-17.4-.3-26.1 1-9.9 1.6-19.5 2.6-29.1 5.7a175 175 0 0 0-32.5 12.4c-3.3 1.7-6.5 3.8-9.9 5.3-2 .7-4.4.3-5.3-2a65.6 65.6 0 0 1 17.2-65.2 65 65 0 0 1 43.6-18.3Z" fill="#000"/><path d="M557 429.9a59.1 59.1 0 0 1 59 52.4c-14.8-2.9-30-3.8-45-2.5-6 .7-12 1.9-17.9 2.9-1-3.3-1.7-6.4-3.6-9.3a26.1 26.1 0 0 0-46.2 3.8c-3.1 7.4-2.3 15.5 1.2 22.6l-5.8 3a60 60 0 0 1 20.5-59.6 59 59 0 0 1 37.8-13.3Z" fill="#fff"/><path d="M411.4 452.6a55 55 0 0 1 29.4 61.2l-2.9 1.6c-9.8-2.8-19.7-4.7-29.9-5.5-17.9-1.1-36.1-1.7-54 0-7 .2-13.5 2-20.4 1.6-1-2.4-1.8-4.8-1.8-7.5a55 55 0 0 1 79.6-51.5Z" fill="#000"/><path d="M397.2 453.6a49.6 49.6 0 0 1 38.6 55.3 83 83 0 0 0-12.3-3c-12.4-1.9-25-2.6-37.6-2.4-.1-3.9 0-7.4-1.5-11a23.1 23.1 0 0 0-42.7-.8c-2.2 5-1.8 9.7-2 14.9-1.7-1.3-2-1.4-2-3.5a49.4 49.4 0 0 1 59.5-49.4Z" fill="#fff"/>',variant12:(a,l)=>'<path d="M589.3 432.7a64.4 64.4 0 0 1 28.5 33.5 64.3 64.3 0 0 1 .5 45.1c-1 2.9-2.9 5.2-6.3 4.8-15-.8-30 .1-45 .5-10 1.1-20 2.2-30 3.8-10.5 1.8-20.6 4.1-31 6.1-4.3-.1-5.3-4.2-7.2-7.3A65.5 65.5 0 0 1 546 425c14.8-2.6 30.5.2 43.4 7.7Z" fill="#000"/><path d="M558 429.9a59.1 59.1 0 0 1 54.4 80.6l-3.2-.3a27 27 0 0 0 1.3-15.4 26.6 26.6 0 1 0-50 16.9 287 287 0 0 0-34 5.2c-6.7 1.2-13.4 3.2-20.1 4A59.8 59.8 0 0 1 517 445a59 59 0 0 1 41-15.1Z" fill="#fff"/><path d="M392 447a54.8 54.8 0 0 1 42.8 81.9c-1.1 1.9-2.9 4-5 4.7-3 .8-6.6-.2-9.6-.9-8.7-2-17.4-3.8-26.3-5.1-12.9-.9-26-1-39 0-4.7.4-9.7 1.4-14.5 1-2.3-1-3.7-4.2-4.6-6.4a54.9 54.9 0 0 1 56.2-75Z" fill="#000"/><path d="M401.5 454.7a49.3 49.3 0 0 1 26.7 74l-4.1-.7c4.1-4.4 7-9.8 6.8-16a22.6 22.6 0 0 0-43.7-8.8c-2.5 5.9-1.9 12 .4 18-7.6.2-15-.4-22.6.3-7.3.7-14.7 1.2-22 1.8l-1.9-3.4a49.2 49.2 0 0 1 60.4-65.2Z" fill="#fff"/>',variant11:(a,l)=>'<path d="M556 424a65.3 65.3 0 0 1 65.5 73.8c-.4 2.7-3.2 3.6-5.5 3.8-23 1-45.4 3.7-68 6.3-13.2 1-26.2 2.8-39.2 4.6-4.6.5-8.6 1.7-13.1 0A65 65 0 0 1 556 424Z" fill="#000"/><path d="M566.2 430.5a60 60 0 0 1 50.2 60.5c-.2 1.4.1 3.5-.7 4.6-4.2.7-8.5.7-12.7 1.1-18.4 1.2-36.6 3.4-54.9 5.6a31 31 0 0 0 2.6-10.3 24.8 24.8 0 0 0-39.5-20.8 24.4 24.4 0 0 0-9.8 20.8c0 6 2.6 11.2 6.4 15.7l-7.3.8a59.2 59.2 0 0 1 65.7-78Z" fill="#fff"/><path d="M416 455a55 55 0 0 1 23.8 62c-4 1.1-7.7.7-11.8.7-25.4-.3-50.6-.3-76 1.4-5.6-.3-13 1.8-17.8-1.4a55.2 55.2 0 0 1 81.7-62.7Z" fill="#000"/><path d="M410.4 458.5c19 10.1 29.7 32.9 24.7 53.9l-5.7.1a24.4 24.4 0 0 0 2.8-15.5 22.4 22.4 0 0 0-15.4-17.7 22 22 0 0 0-28.5 20.7c-.3 4.4 1 8.2 2.8 12.1-15.4.1-30.7 1-46.1 2-1.8-.2-5.8.5-6.1-2a49 49 0 0 1 71.6-53.6Z" fill="#fff"/>',variant10:(a,l)=>'<path d="M556 424a65.2 65.2 0 0 1 65.3 75.6c-1 7.5-4 14.2-6.8 21.2-1.4.6-2.9 1.5-4.4 1.8-2.4 0-4.8-1-7-1.6a178.7 178.7 0 0 0-49.1-7.6 96 96 0 0 0-43 9.6c-3.1 1.3-6 4-9 1.3A65 65 0 0 1 556 424Z" fill="#000"/><path d="M557 429.9a58.9 58.9 0 0 1 57.1 43.1 59.3 59.3 0 0 1-4.3 43.5c-5.3-.6-10.1-2.6-15.4-3.8-16-3.7-33-5.8-49.4-4.4a92 92 0 0 0-39.3 11.6 59.5 59.5 0 0 1 51.3-90Z" fill="#fff"/><path d="M381.3 447a55.4 55.4 0 0 1 59.8 45.6 54.9 54.9 0 0 1-101 38.2c-5-8-7.6-17.3-8.2-26.7a55 55 0 0 1 49.4-57Z" fill="#000"/><path d="M376.5 453.7a49.3 49.3 0 1 1 20.9 96.3 49.3 49.3 0 0 1-21-96.3Z" fill="#fff"/><path d="M519.4 474.8a15.9 15.9 0 1 1 7.2 30.8c-9.1 2.3-19-5-19-14.6a15.7 15.7 0 0 1 11.8-16.2ZM403.4 485.6A16 16 0 1 1 399 514a15.9 15.9 0 0 1 4.4-28.4Z" fill="#000"/>',variant09:(a,l)=>'<path d="M555 424a65.3 65.3 0 0 1 66.3 75.5c-1 7.6-4 14.4-6.8 21.4-1.5.6-3 1.2-4.4 1.6-3.2 0-6.4-1.4-9.4-2.2a176.2 176.2 0 0 0-47.7-7 97.3 97.3 0 0 0-39.3 8.4c-2.9 1.3-5.7 3-8.6 3.9-3.6-.3-4.4-3.2-6-5.8A65.9 65.9 0 0 1 512 442c11.6-11 27-17.5 43-18Z" fill="#000"/><path d="M557 429.9a58.8 58.8 0 0 1 57.1 43.1 59.9 59.9 0 0 1-4.2 43.5c-6.2-.9-11.9-3-18-4.3a156.5 156.5 0 0 0-51.4-3.5 91.3 91.3 0 0 0-34.8 11.2 59.9 59.9 0 0 1 9.8-73.4 59.1 59.1 0 0 1 41.5-16.6Z" fill="#fff"/><path d="M381.2 447a55.4 55.4 0 0 1 60 45.4 55 55 0 1 1-59.9-45.4Z" fill="#000"/><path d="M376.5 453.7A49.6 49.6 0 0 1 436 506a49.9 49.9 0 0 1-45.1 45 49.3 49.3 0 0 1-14.5-97.3Z" fill="#fff"/><path d="M519.4 474.7a15.9 15.9 0 1 1 7.1 30.9c-9.2 2.2-18.8-5-19-14.6a15.7 15.7 0 0 1 12-16.3ZM403.4 485.6c9.6-3.2 20 4.4 20.4 14.3.8 8.9-6.9 17.1-15.8 16.8-8.6.4-16-7.1-16-15.7-.2-7 4.8-13.5 11.4-15.4ZM598.8 532.7l3.2 1c-.5 1.7-.3 3.3-1.7 4.5A39.8 39.8 0 0 1 575 548c-3.8-.1-8.6-1-11.5-3.8l-.4-3.6 2.8-1c4.5 2.2 9 3.5 14.1 2.3 7.5-1.3 12.6-5.5 18.8-9.3ZM347 547.8c2.3-.5 4 1.4 5.6 2.6a52.7 52.7 0 0 0 33.4 11.4c5.8.1 10.9-2.2 16.7-1.3-.5 2.4 0 4.4-3 5a58 58 0 0 1-52.8-12.4c-1.8-1.4-2.2-4.4.2-5.3Z" fill="#000"/>',variant08:(a,l)=>'<path d="M558.2 453.2c11.5-1.6 23.7.2 34 5.5 7.6 4 14.3 10.3 18.1 18a32.5 32.5 0 0 1 2.1 21.8c-2 8-7.2 15.2-13.7 20.2a57.4 57.4 0 0 1-54.2 7.8 43.6 43.6 0 0 1-21.4-16.6 34.2 34.2 0 0 1-5.4-15.9 34.5 34.5 0 0 1 10.3-26c8-8.4 18.9-13 30.2-14.8Z" fill="#000"/><path d="M559.2 459.1c14-2 29.7 1.6 39.8 11.9 6.6 6.5 10.4 17 7.7 26-2 8.2-7.7 14.5-14.6 19.2a52 52 0 0 1-43 5.6c-8.7-2.7-17.1-8.2-21.8-16.1-3-5-4.1-11-3.5-16.7.7-6.8 4.5-13.1 9.3-17.9 7-6.7 16.5-10.7 26-12Z" fill="#fff"/><path d="M369.5 468.7c17.6-2.7 37.9 3.4 47.7 19.1 5.5 8.6 6.3 20 2 29.2-3 6.3-8 11.6-13.8 15.4a52 52 0 0 1-24.4 7.8 48.4 48.4 0 0 1-39.4-15.8 31.3 31.3 0 0 1-7.5-22.4c.5-8.3 4.6-15.7 10.5-21.4 6.9-6.5 15.6-10.3 24.9-11.9Z" fill="#000"/><path d="M376.6 474.1c9.6-.3 19.5 2.3 27.3 8 5.2 3.8 9.5 9.2 11.2 15.4a25 25 0 0 1-2.1 18.6 36.6 36.6 0 0 1-23 16.7 44.9 44.9 0 0 1-40.8-9 26.8 26.8 0 0 1-9.2-22.3c.7-5.4 3.1-10.6 6.8-14.7a41 41 0 0 1 29.8-12.7Z" fill="#fff"/><path d="M551.5 477.6a16 16 0 0 1 19.9 18.4A15.8 15.8 0 0 1 556 509a15.9 15.9 0 0 1-4.5-31.3Z" fill="#000"/><path d="M553.6 483.2c4-.7 7.8.6 10.2 4 3 4 2.3 9.8-1.4 13.2-4.4 4-11.8 3.4-15.1-1.7a10 10 0 0 1 6.3-15.5Z" fill="#fff"/><path d="M618.7 484.2c1.7.3 3.6-.2 4.6 1.4 1.6 2.5 2.4 5.6 2.9 8.5a35 35 0 0 1-9.8 29.2c-3.3 3-7.9 6-12.4 6.2-2.8 0-4.3-2.7-2.4-4.8 3.3-1.7 6.6-2.2 9.5-4.6 6.3-5.3 9.6-14 9.6-22.1 0-4-1.6-7.2-2.7-11l.7-2.8ZM380.4 488.5c4.5-.9 9.2.5 12.7 3.3a17 17 0 0 1 4.7 19.8c-2.6 5.9-8.2 10.2-14.8 10.2-8.5.6-16-6.4-16.4-14.8-1-8.7 5.2-17 13.8-18.5Z" fill="#000"/><path d="M379.5 494.8c5.1-2 11 .6 13 5.7 2.8 6.4-1.6 14.7-8.7 15.4a9.9 9.9 0 0 1-10-4.8 11.4 11.4 0 0 1 5.7-16.3Z" fill="#fff"/><path d="M330.4 503.6c.5 4-1.4 7.4-1.6 11.4-.3 6 2.4 12.1 7.3 15.9 2.4 1.9 5 2.8 7.7 4.3 2 .8 1.9 2 1.6 3.9-1.5 1.8-3.3 1.4-5.3.8a26.3 26.3 0 0 1-16-16 25 25 0 0 1 1.4-19.4c1.3-1.9 3-.9 5-.9Z" fill="#000"/>',variant07:(a,l)=>'<path d="M540.5 447.7a103 103 0 0 1 57 7.8 46 46 0 0 1 21.2 19c3.9 7.3 3.9 16.7-.2 24-4.2 8-12 14-20 18.2a95.3 95.3 0 0 1-44.5 9.6c-12 0-24-1.8-35.2-6a56 56 0 0 1-23.7-16.3 26.6 26.6 0 0 1-6-22 35.2 35.2 0 0 1 14.5-20.4 82 82 0 0 1 36.9-13.9Z" fill="#000"/><path d="M547 452.7c8.4-.3 17.2-.6 25.5 1a74 74 0 0 1 30.3 11.5c5.5 4 10.4 9.1 12.3 15.8 2 6.8-.2 14.1-4.7 19.4a54.2 54.2 0 0 1-24.6 15.5c-9.9 3.2-20.4 5-30.8 4.8a92.9 92.9 0 0 1-30.2-4.5A54 54 0 0 1 500 501c-4.3-5-7-12.4-4.9-19 1.5-6.5 6.7-12 12-16 11.4-8.2 26-12 39.9-13.3Z" fill="#fff"/><path d="M373.5 460.8c16.3-2.3 34.2-1 49 6.6 7.8 4 15.5 10.4 18 19 2.4 7.2-.1 14.8-4.6 20.5a50.5 50.5 0 0 1-24.6 15.4 89.7 89.7 0 0 1-45.3 1.8c-10-2.3-20-6.5-27.2-14-4.7-4.7-8-11.2-7.4-18 .6-7.3 5-13.7 10.5-18.2a65 65 0 0 1 31.6-13.1Z" fill="#000"/><path d="M371.5 467c15.6-3 33-1.9 47.4 5 6.4 3 13.5 8.2 15.8 15.2 2 5.6.3 11.7-3.3 16.2a43.5 43.5 0 0 1-18.6 12.4c-12.4 4.4-26 5.9-39 3.9-9.3-1.3-19-4.3-26.7-9.8-5.2-4-9.6-9-10-15.9-.1-6.8 4.2-12.5 9.4-16.6a60.4 60.4 0 0 1 25-10.5Z" fill="#fff"/><path d="M592.2 469.2c2.1-1.6 4.7-.3 6 1.7 2.4 4 2.4 9.6 2.8 14.1.2 4.4.5 9.6-1.2 13.8-2 4-7.5 1.3-8.8-1.9a50.3 50.3 0 0 1-1.6-20.3c.4-2.4.6-6 2.8-7.4ZM416.9 476c2.1.6 2.8 3.8 3.3 5.7.8 5 1.3 10.2 1 15.3-.3 2.6-.7 5.7-3 7.2-2.2 1.3-4.4 0-5.4-2-2.1-3.8-2.2-9-2.3-13.2 0-4.4-.1-8.7 2.2-12.6 1.4-.3 2.7-1 4.2-.3Z" fill="#000"/>',variant06:(a,l)=>'<path d="M561.9 423.3c1.8.4 1.9 1.9 2 3.5 0 6.7-1 13.4-.8 20.1 8.3.6 16 2 24 4.5 3.2-7.1 6-14.4 8.8-21.6 1-1.8 1.5-4.1 4-3.8 2.4.3 2.6 3 1.8 4.8l-9 22.6a69.9 69.9 0 0 1 18.1 10.8c5-4.6 9.7-9.4 14.7-13.8 1.6-1.6 3.3-1 5.3-1.1-.2 2 .3 3.6-1.4 5.1-4.7 4.8-9.7 9.3-14.6 13.9a30 30 0 0 1 6.7 16.7c.7 9.9-4.8 18.2-12 24.4a78.6 78.6 0 0 1-40.5 16.1c-16.6 1.9-33.8.9-49.5-5A56.4 56.4 0 0 1 495 504c-5-6.4-7.8-14.7-5.7-22.8 2.4-9.9 9.9-17.3 18.3-22.4 14.8-9 32.4-12.1 49.5-12.1.2-6.6.5-13.2 1.1-19.7 0-2 1.2-4.3 3.6-3.7ZM372 441.4c2-.2 2.6 2.2 3.1 3.6 1.2 5 1.3 10.2 2.2 15.3a99 99 0 0 1 25.7.7c10.9 2 22 6 30.1 13.9 5 4.6 8.5 11.2 8.3 18.1a27 27 0 0 1-10 18.5 65 65 0 0 1-33 13.7 84 84 0 0 1-47.3-6.3c-8.5-4.1-17-11.2-19.2-20.8-1.3-5.2 0-10 2-14.8-3.9-3.5-7.7-7-11.5-10.7-.8-1-2.4-2.2-2-3.6 0-2.6 3.5-3 5-1.4 4 3.5 7.7 7.4 11.7 10.9 3.4-3.6 7-6.6 11.1-9.2l-8.2-18.4c-1.1-2.2-.9-4.4-.7-6.8 1.2.2 2.6.3 3.8.8 1.2 1.2 1.8 3 2.6 4.5 2.5 5.7 5.1 11.4 7.5 17.2 6-2.6 12-4.3 18.3-5.6-.4-5.4-1.7-10.6-2-16 0-1.6.4-4.1 2.5-3.6Z" fill="#000"/><path d="M539.5 453.7a103 103 0 0 1 44.2 2.6c9.5 3 19.2 7.5 26 15 4.3 5 7 11.1 6 17.7-1.1 7.2-5.8 13-11.4 17.3a73.5 73.5 0 0 1-31.1 12.8 101.6 101.6 0 0 1-47.7-2.6c-9.4-3-19-7.8-25.5-15.5-4.3-5-6.9-12.4-4.9-19 1.6-6.6 6.7-12 12-16a76 76 0 0 1 32.4-12.3ZM371.5 467c15.6-3 33-1.8 47.4 5 6.4 3 13.4 8.2 15.8 15.1 2 5.7.3 11.8-3.3 16.3a43.5 43.5 0 0 1-18.6 12.3 80.5 80.5 0 0 1-39.8 3.8c-9-1.3-18.4-4.3-26-9.6-5.1-4-9.5-9-9.8-15.9-.2-6.6 3.9-12 8.7-16.1a59.4 59.4 0 0 1 25.6-11Z" fill="#fff"/><path d="M592.2 469.2c2.2-1.6 4.7-.3 6 1.7 1.8 3 2.1 6.6 2.5 10.1.4 5.2.8 10.7-.3 15.9-.3 1.3-1 2.6-2 3.5-3 1.4-6.9-1.3-7.6-4.2-2-6.2-2-13.2-1.4-19.7.4-2.3.6-5.9 2.8-7.3ZM413.3 476.3a4 4 0 0 1 6 2.4c1.8 5.1 1.9 11 2 16.3-.1 3.1-.4 8-3.8 9.5-2.6 1-4.6-1.4-5.4-3.6a45.1 45.1 0 0 1-1.5-17c.2-2.3.4-6.2 2.7-7.6Z" fill="#000"/>',variant05:(a,l)=>'<path d="M574.5 426.5a66.4 66.4 0 0 1 34 22.7c7.5-5.1 14.7-10.7 22.4-15.7l3 1.3c-.3 2.1-.2 3.6-2.2 4.9l-20 14.2a64.5 64.5 0 0 1 9.8 44c-.5 2.7-3 3.4-5.5 3.6-19.7 1-39.4 3-59 5.4-11 1.5-22.2 2-33.2 3.6l-13.6 1.8c-5 .7-9.5 1.7-14.5.3a65.2 65.2 0 0 1 78.8-86.1Z" fill="#000"/><path d="M565.5 430.4a59.8 59.8 0 0 1 50.7 65.2c-4.7.4-9.5 1-14.2 1.2-18 1.2-36 3.3-53.8 5.4 1-3 2.2-6 2.5-9.2.8-9.3-4.1-18.8-12.3-23.4a25 25 0 0 0-17.5-2.7 24.5 24.5 0 0 0-19.5 25.1 25 25 0 0 0 6.3 15.8l-7.3.7a59.3 59.3 0 0 1 35.4-74.9 60.5 60.5 0 0 1 29.7-3.2Z" fill="#fff"/><path d="M416.5 455.4a55 55 0 0 1 23.3 61.7c-5.4 1-10.4.5-15.8.5-24-.2-48-.1-72 1.5-5.9-.1-12.6 1.6-17.8-1.2-1-4.6-2.1-9.2-2.3-13.9-.3-10 2.2-20 6.8-29-6-3.9-12.3-7.5-18.2-11.6-1.9-1.4-1.7-2.7-.8-4.7 2.7-1 4.5.5 6.8 1.8l15.2 9.8a55.3 55.3 0 0 1 74.8-14.9Z" fill="#000"/><path d="M400.8 454.5a49.4 49.4 0 0 1 34.3 57.9l-5.6.1a26 26 0 0 0 2.9-14.5c-1-8.6-7.3-16.1-15.6-18.6a22 22 0 0 0-28.5 19.6c-.4 4.7 1 9 2.8 13.2-13.4 0-26.8.6-40 1.6-3.8.2-8 .7-11.6-.3-1.6-3-1.6-7.1-1.8-10.5a49.1 49.1 0 0 1 63.1-48.5Z" fill="#fff"/>',variant04:(a,l)=>'<path fill-rule="evenodd" clip-rule="evenodd" d="M613 456a65 65 0 0 0-114.3 3.7c-3.3 6.3-5.2 13-6.5 20-4.4.4-8.8.9-13 2l.3 1.5c.3 1.4.6 2.6 2.3 3 2.3.2 4.8 0 7.1-.3l2.8-.2A65.1 65.1 0 0 0 612 524c6.5-10.2 9.8-22 10-34 .1-3.9-.3-7.5-.8-11.2l-.4-3 3-.2c2.2-.2 4.5-.4 6.8-1 1.1-.5 1.4-1.6 1.6-2.8l.4-1.4c-4.4-1.1-8.7-.8-13.2-.3l-1.4-3.5c-1.5-3.6-3-7.2-5.1-10.7Zm.6 14.7a59.9 59.9 0 0 0-106.7-13.8 58.4 58.4 0 0 0-8.8 22.5c6-.7 11.9-1 17.9-1.5l14.5-1.1 11-.7c4.8-.3 9.6-.5 14.4-1.1 16.4-1.1 32.8-2.4 49.2-3.7l8.5-.6Zm-200.2-17.1c12 6.5 21 17.4 25.6 30.1 2.6.2 5.3.4 8 .8l-.1.7-.6 3c-1 .8-2.5 1-3.9 1.3l-1.6.4a55 55 0 1 1-109 9l-7.2-.3.1-1.3c.1-1.2.2-2.7 1.2-3.2 1.5-.5 3.2-.7 4.8-1 .6 0 1.2 0 1.8-.2a55 55 0 0 1 80.9-39.4Zm19.7 30.8a49.3 49.3 0 0 0-94.7 8c7-.4 14-1 21-1.6a1133.2 1133.2 0 0 1 29.9-2.4 1075.2 1075.2 0 0 1 18-1.3c8.6-.6 17.3-1.2 25.8-2.7Z" fill="#000"/><path d="M615.1 476.4a59.8 59.8 0 0 1-67.2 71.8 59.7 59.7 0 0 1-50.7-62.9l8.4-.8c.5 6.9 2.8 13.1 8 17.8a24.6 24.6 0 0 0 41.2-21.1c4.5-.5 9-1.1 13.4-1.4 15.7-1 31.3-2.6 47-3.4ZM431 490.8l3.7-1a49.5 49.5 0 0 1-85.8 43.2 49.9 49.9 0 0 1-11.2-34.6c16.4-1.6 33-2.6 49.4-4.4.1 5.6 1.1 10.8 4.7 15.2a22.3 22.3 0 0 0 23.4 8c7-2.3 13-8 15-15.2 1.2-3.8.6-7.3.7-11.2Z" fill="#fff"/>',variant03:(a,l)=>'<path d="M587.4 431.6a65 65 0 0 1 28 28.7c5.5-3.4 11.2-6.7 16.7-10.2 1.6-.9 3.2-2 5-2.4 1.9.5 2.7 1.3 2.6 3.4-.4 1.3-1.7 2-2.8 2.8-6.4 4-13 7.6-19.4 11.8 6 14.1 6 31.2.8 45.6a65.5 65.5 0 0 1-73.5 42.2 65.2 65.2 0 1 1 42.6-121.9Z" fill="#000"/><path d="M549.2 430.3a59.6 59.6 0 1 1 15.3 118.2 59.6 59.6 0 0 1-15.3-118.2Z" fill="#fff"/><path d="M414.7 454.3a55 55 0 1 1-82.8 49.7 68 68 0 0 1 3-20.4c-4.4-2.7-8.7-5.6-13-8.6-1.6-1.2-1.7-2.1-1.4-4.1 1.3-1.3 2.7-1.6 4.3-.7 4.2 2.6 8.2 5.5 12.3 8.2a55.4 55.4 0 0 1 77.6-24Z" fill="#000"/><path d="M378.2 453.3a49.4 49.4 0 1 1 12.8 97.6 49.3 49.3 0 0 1-12.8-97.6Z" fill="#fff"/><path d="M526.5 467.5c12-2.9 24.8 4.2 29.3 15.6a25.6 25.6 0 1 1-29.4-15.6ZM398.2 478.4c9.5-2 19.6 2.6 24.5 11a24.5 24.5 0 0 1 2.2 18.5 23.8 23.8 0 0 1-15.9 15.3 23 23 0 1 1-10.8-44.8Z" fill="#000"/>',variant02:(a,l)=>'<path d="M559 424.1a65.3 65.3 0 0 1 57.5 38.4l23.8-15c1.3 1 2.4 2.2 3.6 3.4-3.2 3.6-7.1 5.4-11 8l-14.3 9a65.8 65.8 0 0 1-18 69.8 64.6 64.6 0 0 1-42.6 16.8 65.7 65.7 0 0 1-61.5-90 65.1 65.1 0 0 1 62.5-40.4Z" fill="#000"/><path d="M549.3 430.3a59.6 59.6 0 1 1 15.1 118.2 59.6 59.6 0 0 1-15.1-118.2Z" fill="#fff"/><path d="M414 454a55 55 0 1 1-79.4 30.7c-5.8-3.6-12.1-6.6-17.7-10.5-2-1.1-1.5-4.2.7-4.7 1.6-.5 3.1.6 4.6 1.3l14.4 8.5A55.2 55.2 0 0 1 414 454Z" fill="#000"/><path d="M378.3 453.3a49.3 49.3 0 1 1 17.2 97.1 49.3 49.3 0 0 1-17.2-97.1Z" fill="#fff"/><path d="M527.3 466.2a24 24 0 0 1 20.2 7.3 23.9 23.9 0 0 1-2.3 34.7 23.9 23.9 0 0 1-38.7-20.2 23.8 23.8 0 0 1 20.8-21.8ZM358.5 480.8a21.8 21.8 0 1 1 11.6 42 21.9 21.9 0 0 1-25.7-14 22.3 22.3 0 0 1 14.1-28Z" fill="#000"/>',variant01:(a,l)=>'<path d="M590 433c11.8 7 21 17.6 26.7 30 5.9-3.1 11.6-6.7 17.6-9.6 1.8-1 4.4.5 4 2.6.2 1.5-2 2.5-3 3.2l-16.4 9a65.7 65.7 0 0 1-39.4 82.3A65.9 65.9 0 0 1 501 523c-6-9.9-9.3-21.4-9.3-33a64.8 64.8 0 0 1 53.3-64.8c15.2-3 31.6 0 45 7.9Z" fill="#000"/><path d="M549.2 430.3a59.7 59.7 0 0 1 67.2 59.7 59.5 59.5 0 1 1-67.2-59.7Z" fill="#fff"/><path d="M390 447a55 55 0 1 1-55.7 38.6l-11.3-4.5c-2-.8-4-1.4-5.4-3-.4-2.5.8-4 3.2-3.7 5.2 1.3 10 4.2 15.2 5.6 1.4-1.7 2.2-3.8 3.3-5.7A55 55 0 0 1 390 447Z" fill="#000"/><path d="M376.5 453.7a49.3 49.3 0 1 1 20.8 96.4 49.3 49.3 0 0 1-20.8-96.4Z" fill="#fff"/><path d="M578.3 465.4a24.9 24.9 0 0 1 27.9 24.6c-.4 4.8-1.8 9.7-4.6 13.6a24.6 24.6 0 0 1-18.6 10.6c-8.2.5-16.4-3.3-21.2-10-6-8-6.3-19.8-.6-28a24.7 24.7 0 0 1 17-10.8ZM408.4 478.5a23 23 0 0 1 19.7 7.5c4 4.4 6 10 5.7 16 0 12-10.7 22.8-22.8 22.3a23 23 0 0 1-22.9-22.3 22.8 22.8 0 0 1 20.3-23.5Z" fill="#000"/>'},features:{mustache:(a,l)=>'<path d="M489.1 525.9c6.3 4.7 7.6 15 14 20s14.5 7.3 22.2 3.6c1 1.3 2.3 2.3 1.3 4.1-4 7-11.2 10.4-18.7 12.5a40.6 40.6 0 0 1-29.4-2.6c-6.3-3.5-9.9-9.1-14.4-14.5a59.5 59.5 0 0 1-20.4 18.8c-5.8 3-13.3 5-19.8 3.3-6.3-1.8-12-6.1-12.2-13.1-.2-2.4 1.2-2.7 3.1-3.1 1.3 1.3 2.3 2.7 4.2 3 3.5.7 7-1.2 9.1-3.8 5.4-6.4 4.5-17 10.4-22.6 6.2-5.9 16.9-8.1 24.5-4 7.7-5.2 18-6.9 26.1-1.6Z" fill="#000"/>',blush:(a,l)=>'<path d="M630.4 552.4a40.8 40.8 0 0 1 39.5 66.6 40.8 40.8 0 1 1-39.6-66.6ZM373.1 564.9a37.7 37.7 0 0 1 3 61.5 213 213 0 0 1-35-43.6c-3.3-5.9-6.7-11.2-8.8-17.6a38 38 0 0 1 40.8-.3Z" fill="#CA8D87"/>',birthmark:(a,l)=>'<path d="M604.4 568.4c4-2.4 9.4 0 11 4.2 1.8 4.4-1.8 9.9-6.5 10.2a7.8 7.8 0 0 1-8-4.8 7.8 7.8 0 0 1 3.5-9.6Z" fill="#000"/>',freckles:(a,l)=>'<path d="M611.4 569.4c4.5-2.8 10.3 1.4 8.7 6.6-1.2 4.5-7.3 5.3-10 1.9a6 6 0 0 1 1.3-8.5ZM337.1 571c2.3-1.3 5.7-.6 7.4 1.4 3 3 1 9.6-3.6 9.3-2.1-1.8-3.5-4.4-4.6-7-.6-1.6-.8-2.6.8-3.7ZM650.5 571.6c1.3-.7 3-.5 4.4-.3 3.4.8 5.4 5.1 3.5 8.2-1.6 2.9-5.1 4-8 2.2-3.9-2.2-3.7-8 0-10.1ZM372.2 574.1c4-2.2 9.5 1.2 8.7 5.9-.4 4.7-6.1 6.3-9.5 3.6-3-2.5-2.5-7.4.8-9.5ZM632.5 591.6c4.2-1.5 8.9 1.8 8 6.4-.7 5-7.1 6.3-10.1 2.6-2.6-3-1.3-7.3 2.1-9ZM358 593.8c3.7.4 6.4 4.5 4.8 8-1.2 2.5-3.3 3-5.8 3.8-1.6-2.2-3.7-4.3-4.9-6.8-.8-3.2 3-5.6 6-5Z" fill="#7A624E"/>'},glasses:{variant01:(a,l)=>'<path d="M569 416.3c10.7-.3 21.4 0 32-.2 14-.7 28-.4 42-.6 3.9.2 9-.1 12.2 2.4 2.4 1.6 2.2 5.5 2.4 8-.1 4.4-.3 9.5-2.4 13.4-5 2-11.4 1.2-16.8 1.9.4 12.3 1.7 24.6 1.3 36.8-.7 14-3.7 28-10.3 40.4-8.1 13-20 24.3-33.6 31.5a77 77 0 0 1-33.3 7.7c-6.3.2-12.1.5-18.3-.8-9.4-2-18.8-4.4-27-10A81.6 81.6 0 0 1 492 516a193.1 193.1 0 0 1-13.3-43.9c-.5-2.3-2.4-3.5-4.3-4.4-6.7-3-15-.6-18.8 5.6-.8 2.4-1 5-1.2 7.6-.6 7.6-2.2 15.3-3.9 22.8-3.1 13.6-9 26.3-16.8 37.8a50.8 50.8 0 0 1-16.2 14.8 75.6 75.6 0 0 1-34.4 10.3c-7.2-.2-14.2-.4-21.1-2.5-5.5-1.3-10.5-4.8-15.2-8a57.7 57.7 0 0 1-15.3-16.7c-5.3-8.3-9.3-17.3-12.2-26.7a97.5 97.5 0 0 1-5.2-28.7c-4.6.7-9.4 2.2-14 2-4.4-.9-5.3-7.6-5.5-11.1.1-2.4-.1-6.8 2.7-7.7 21.6-9.8 44.4-17 67.5-22.4 17-3.7 34.8-8.3 52.3-6.7 11.2 1 22.8 4 31.7 11 3.2 2.5 5.5 7 9.4 7.7 7 1.8 14.5-1.3 20.9-4 3.6-10 10-17.3 19-22.8a89.3 89.3 0 0 1 20.8-8.3c16.7-4 33.1-4.6 50.2-5.5Z" fill="#000"/><path d="M307.1 478.2c1.2-1.2 3.4 0 2.4 1.6-1.2 1.2-3.4 0-2.4-1.6Z" fill="#000"/><ellipse cx="605" cy="457.5" rx="14" ry="10.5" fill="#fff"/><ellipse cx="411" cy="476.1" rx="11" ry="8.1" fill="#fff"/>',variant02:(a,l)=>'<path fill-rule="evenodd" clip-rule="evenodd" d="M608 415.8a850 850 0 0 1 32-.3h1.7c3 0 6.2 0 9.3.5 2.6.6 5.6 2 6 4.9 1 5 .5 12-1 17-.5 1.7-1.8 2-3.4 2.3-3.5.4-7 .6-10.4.8l-3.8.2c.1 4.3.4 8.6.7 13 .7 11.7 1.4 23.7-.5 34.8-.9 7.5-3 14.9-5.7 21.9-3.1 8.5-9.1 16.1-15.4 22.6a75.3 75.3 0 0 1-36.2 21.8c-10.9 2.4-22.2 3-33.3 2.2a86.8 86.8 0 0 1-27-8.5c-10.5-6-18.5-15-24.8-25.2a134 134 0 0 1-15.5-41.6c-.5-2.2-.8-4.5-1.1-6.7-.5-2.9-.9-5.7-1.7-8.4-.4-1.8-2.6-3-4.1-4-6.7-3.3-16.4-.9-19 6.7-.5 2.8-.6 5.7-.6 8.6A132.1 132.1 0 0 1 443 525a70.2 70.2 0 0 1-22.5 29.6 72.9 72.9 0 0 1-64 7.8 62.9 62.9 0 0 1-18.8-14.2A107.3 107.3 0 0 1 317 505c-1.9-6.8-3-13.8-3-20.9l-4.9.9c-2.4.5-4.7 1-7.2 1.1-2.2.3-4.2-.6-5.3-2.6-2-3.8-2.5-8.4-1.8-12.6l.1-.5c.3-1.1.5-2.3 1.6-2.8 27.5-12.6 56-20.6 85.5-26.5 11.3-2.3 22.5-3.8 34-3 10 0 20 2.3 28.9 7a41.8 41.8 0 0 0 35.1 0c3-1.6 5-3.8 7-6 1.1-1.5 2.4-2.9 3.9-4.2 9.8-9.1 23-13.3 36.1-14.8 13.1-2.4 26.3-3 39.5-3.7h2.5c5.6-.2 11.1-.2 16.7-.2 7.4 0 14.9 0 22.3-.4Zm-23 6.3c8.3-.4 16.3-.5 24.1 2.9l2.2.9c3.1 1.3 6.8 2.8 7.9 6a98.4 98.4 0 0 1 8.3 40.1 96 96 0 0 1-5.2 37.2 60.6 60.6 0 0 1-18.2 23.9 76 76 0 0 1-17.8 10.2 66.4 66.4 0 0 1-29.3 6.2 95 95 0 0 1-17.2-3.2l-.9-.2c-6-1.5-10.7-4.6-15.7-7.9l-.8-.5a70 70 0 0 1-17.1-17c-2.8-4-4.6-8.7-6.3-13.3l-1.2-3.1c-4.7-12-6-24.6-5.9-37.3 0-7.8 1.2-17 5.5-23.6 5.1-6.4 12-12.2 19.8-15 9.3-2.8 19.2-4.3 28.8-5a320.7 320.7 0 0 1 39-1.3Zm-172.4 22H410a93.1 93.1 0 0 0-30 3.2l-6.8 1.5a164.8 164.8 0 0 0-30.5 8.8c-5.8 2.1-12 4.5-15 10.2-4.8 9.8-3.7 19.6-2.5 29.9l.4 3.3a92 92 0 0 0 13.1 33.3c5 8 11 15 19.4 19.6 12.8 7 28 6.1 41.4 1.6 11.4-4.5 21.8-9.9 28.6-20.4 8.8-14 14-30.7 15.5-47.2.9-9.3-.1-18.8-2.7-27.8-.5-1.4-1-3-2-4.1a35.6 35.6 0 0 0-19.1-11.4c-2.3-.4-4.8-.4-7.2-.5Z" fill="#000"/>',variant03:(a,l)=>'<path fill-rule="evenodd" clip-rule="evenodd" d="M531.3 506.7a27.9 27.9 0 1 1-42.8 24.6c-8.6-10.1-25.5-13.9-36.5-5.2-3.2 3-6.6 7.3-6.7 11.9a27.5 27.5 0 0 1-52.9 5.6 27.6 27.6 0 0 1 10.5-32.7 28 28 0 0 1 25.7-2.5 28.6 28.6 0 0 1 16 17.4 27.2 27.2 0 0 1 22.4-10c8.2-.1 15.4 3.2 22 8a28 28 0 0 1 42.3-17Zm-22.6 2.4a22.4 22.4 0 0 1 29.9 23c-.6 9.9-8.4 18.2-18.1 20.2a22.6 22.6 0 0 1-25.9-16.3c-3-11.1 3.2-23 14-26.9ZM438 525a22 22 0 0 0-23-12.8 22 22 0 0 0-12.6 37.3c6.1 6 15.8 8.1 23.7 4.9 6.8-2.7 12.2-9 13.4-16.3.5-4.6.7-9-1.5-13.1Z" fill="#000"/>',variant04:(a,l)=>'<path fill-rule="evenodd" clip-rule="evenodd" d="M577 416.1a79.9 79.9 0 0 1 39 141 79.6 79.6 0 0 1-92.5 6.4 80 80 0 0 1-38.2-69.3c-5-5.3-10.7-9.6-18.3-9.7-7.8.1-14.3 5.7-17.2 12.6.7 6.7 1.5 13.3.6 20a69.8 69.8 0 0 1-135.8 15.3 69.7 69.7 0 0 1 21-75.7 71 71 0 0 1 46.4-16.8 69.8 69.8 0 0 1 65 47.4c4.9-5.7 11.3-10 19-10 7.4-.3 14.2 2.6 19.7 7.3 1.7-8.7 3.8-17 8-25a80 80 0 0 1 83.3-43.5Zm-25.5 7.8a72.4 72.4 0 0 1 85.9 80 72.7 72.7 0 1 1-85.9-80Zm-147.4 28a62.6 62.6 0 1 0-37.9 118.9c15.5 3.4 32.1 1.3 45.9-6.7a63.3 63.3 0 0 0 30-41.9 62.7 62.7 0 0 0-38-70.4Z" fill="#000"/>',variant05:(a,l)=>'<path fill-rule="evenodd" clip-rule="evenodd" d="M589 446c12.8.8 25.7 1.9 37.4 7.6 1.1.5 2.2 1.2 3.3 1.9 1.4.9 2.8 1.8 4.3 2.3 2.3.4 4.7.4 7 .5 2.7.1 5.4.2 8 .7 2.1.8 2.3 2.8 2.4 4.8v1c0 2.2 0 4.2-2.4 5.4-2.2.2-4.4.2-6.6.2h-3.2a92.2 92.2 0 0 1-11.5 52.3 82.3 82.3 0 0 1-43.9 37.2 78.7 78.7 0 0 1-77.4-14.3 88.7 88.7 0 0 1-28.7-44.5c-1-3-1.5-6-2-9-.6-3.2-1.2-6.4-2.3-9.5-2-5.5-10.5-8.8-14.5-3.7-3.3 3.7-3.2 8-3.2 12.6v3.5a77.3 77.3 0 0 1-41.3 65.4 65 65 0 0 1-46.2 5.3 62 62 0 0 1-30.7-19.2 70.8 70.8 0 0 1-16.8-45.2l-1.5-.2c-1.4-.2-2.7-.3-3.4-2v-.4c-.3-2.1-.9-5.5 1.4-6.5 1-.5 2-1 3-1.3 2.2-1 4.4-1.8 6.2-3.5a88.9 88.9 0 0 1 37.6-17.3 152 152 0 0 1 69-1c5.8 1.5 12 1.7 17.7-.4 7.1-2.3 14.9-3.5 22.3-2.5 5.8.6 11.9.4 17.4-1.9 12.1-4.6 24-9.1 36.6-12.3 20.3-5.1 41-7.2 62-6Zm-25 13c17.6-1 36-.8 53.3 3.7a19 19 0 0 1 14.2 15.5c1.3 7.9.3 15.5-1.3 23.3a80.6 80.6 0 0 1-24.7 39 73 73 0 0 1-81.6 9.6 80 80 0 0 1-33.2-32.9 60.6 60.6 0 0 1-6.4-35.5 98 98 0 0 1 20.2-10.3A214.9 214.9 0 0 1 564 459Zm-134.8 19.8c-11.4-2.2-23-2.7-34.7-2-16 1.2-31.3 3.7-46.4 9.4-5.2 2-10.6 4.5-15 8-4.1 2.8-5.5 9.1-5.7 13.8.3 8.9 3.6 17.9 8 25.5a56.4 56.4 0 0 0 66.7 25.6 68 68 0 0 0 46.6-62.1 47 47 0 0 0-1.4-10c-.3-1.6-1.8-2.5-3.1-3.3l-.6-.3a57.8 57.8 0 0 0-14.4-4.6Z" fill="#000"/>'},hair:V,mouth:{variant30:(a,l)=>'<path d="M517.9 557.3c2.3.2 3.1 2.7 2.3 4.7-1.4 3.5-3.2 7-4.7 10.5-8.4 19.3-19.5 37-31.8 54.2-1.4 1.8-2.9 4-4.8 5.2-3 .8-6.1.8-8.6-1.1a129.4 129.4 0 0 1-24.4-22.8c-7-7.8-13.4-16-18.8-25.1-1-2.2-2.6-4.5-1.2-6.9 1-1.5 3.2-2 4.9-2.5 11-3.1 22.1-6.5 33.3-9.3a235 235 0 0 1 36-5.7c5.8-.5 11.8-1.4 17.8-1.2Z" fill="#000"/><path d="M513.8 563c-9 21.2-21 40.8-34.3 59.5-1 1.1-2.2 2.8-3.7 3-2.2.6-3.7-.8-5.4-1.9a155 155 0 0 1-22.7-22.3A137.4 137.4 0 0 1 431 579c15-4 29.9-8.6 45.1-11.4 12.5-2.5 25-3.3 37.6-4.6Z" fill="#8F2E45"/>',variant29:(a,l)=>'<path d="M517.9 557.8c1.5.3 2.8 1.6 2.7 3.2-7 16.8-15 33.2-25.1 48.4-4.7 7-9.2 14.2-14.5 20.6-2.1 3.3-8 3-10.8.8-6.9-5-13.3-10.7-19-16.9-9.3-10.4-18-20.1-24.8-32.4-.8-1.9-2.3-4-.8-5.9.6-1.2 3-.8 3.6.2 5.1 9.2 11.4 17.7 18.5 25.5a154 154 0 0 0 22.7 22.3c1.2.8 2.4 1.7 3.8 2 2.6.4 3.8-1.2 5.3-3.1 13.5-19 25.7-38.8 34.6-60.4.9-2 1.5-3.7 3.8-4.3Z" fill="#000"/>',variant28:(a,l)=>'<path d="M524.2 555.8c.5 6.9-.8 13.4-1.6 20.2-2.7 24.2-9.3 48-19.1 70.2-3.7 7.4-6.8 15.8-14 20.4-4.2 3-10.3 1.7-14.6-.6-9.4-4.6-15.1-12.2-21.7-20.1a199 199 0 0 1-26-44c-3.6-8.2-7-16.6-10.3-24.8-.9-2.1-1.2-4 1-5.4 4.8 0 9.4 1.5 14.1 1.5 9.3.2 18.7.4 28-.8 20-2.3 39.6-8.3 58-16.5 2.1-1 4-.6 6.2-.1Z" fill="#000"/><path d="M519 562c-2 15.1-4 30.2-8 45a209.4 209.4 0 0 1-19.1 49c-2.2 3.4-5.3 7.3-10 6.4-7.3-1.5-14-8-18.6-13.7a169 169 0 0 1-24.6-36.4c-6.1-11-10.6-22.9-15.7-34.5l14.4 1.2c1.1 6 4.6 11.5 8.5 16 5 6 12.2 9.9 20 10 6.3-.4 12.2-3 16.8-7.3 8-7.4 12-17 14.4-27.4A265 265 0 0 0 519 562Z" fill="#8F2E45"/><path d="M490.6 572.1c-2.5 8.8-7 18.4-14.9 23.6a17.7 17.7 0 0 1-18.6 1.1c-7-3.8-10.9-10.5-13.9-17.6 16.1-.4 32-2.3 47.4-7Z" fill="#fff"/>',variant27:(a,l)=>'<path d="M524.2 555.9c.6 7-.9 13.2-1.6 20.1-2.7 24.2-9.3 48-19.1 70.2-3.7 7.4-6.7 15.8-14 20.4-3.8 2.8-9 2-13.2.1a44 44 0 0 1-12.4-8.6 171.3 171.3 0 0 1-30-42.1c-6.7-12.6-11.6-25.8-17-38.9-1-2.1-1.2-4.1 1-5.4 4.4-.1 8.7 1.4 13.1 1.4 9.9.4 20 .5 29.8-.9 17.7-2 35.1-7.1 51.6-13.9 4.2-1.5 7-4.3 11.8-2.4Z" fill="#000"/><path d="M519 562a298 298 0 0 1-9 48 52 52 0 0 0-26.4 6.6 67 67 0 0 0-27.3 23.9A197.7 197.7 0 0 1 437 609c-5.4-10.1-9.4-20.7-14-31.2 9.4.8 18.5 2 28 1 23.2-.7 46.7-7.7 68-16.8Z" fill="#8F2E45"/><path d="M508.2 616.1a184 184 0 0 1-15.6 38.5 17.5 17.5 0 0 1-6.7 7.4c-4 1.7-9-1.2-12.4-3.5-5.4-3.4-8.6-8.3-12.9-12.7A36 36 0 0 1 471 632c7.8-6.7 17.1-12 27-15 3.4-1 6.7-1.1 10.2-1Z" fill="#EA869E"/>',variant26:(a,l)=>'<path d="M517 555.4a55.3 55.3 0 0 1 38.6 13c6 5.6 9.7 13.4 9.9 21.6a43.7 43.7 0 0 1-9.9 27.6 88.3 88.3 0 0 1-35.5 26.5c-7.3 2.9-14.4 5.8-22.1 7.3a86.3 86.3 0 0 1-50-5.3 131 131 0 0 1-38.4-24.7 54.5 54.5 0 0 1-13.2-18.9c-2-5.5-2.4-12 1.2-16.9 3.7-5.4 10-7.7 16.2-8.8 12.6-1.8 24.4.4 36.5 3.7a92 92 0 0 1 25-16.2c13-5.7 27.4-9.3 41.7-8.9Z" fill="#000"/><path d="M542.5 566.4c-3.5 2.6-7.4 4.7-10.9 7.3-4.3 4-7.6 11-12.7 14-5.2 1-10.5-3.2-15.2-1-9.3 3.5-18.8 6-28.5 7.9a117.6 117.6 0 0 1-43.6.9c-4.3-1.1-7.2 1.3-11.5 1.9-4.4-4.3-7.5-9.3-12.7-12.6 12.7-5.4 28.7-2 41.6 1.5 4 1.2 6-2.5 8.8-4.5a97.4 97.4 0 0 1 47.2-19.9 68.3 68.3 0 0 1 37.5 4.5Z" fill="#fff"/><path d="M548 570a25.8 25.8 0 0 1 11.8 21c-.2 7.4-3 14-6.8 20.2a45.8 45.8 0 0 0-20-2.8c-14.4.9-28.6 4.4-42 9.6-9 3.7-18 8.3-25.7 14.3-3.7 3-6.4 6.2-8.7 10.4a93.4 93.4 0 0 1-21.6-9.8c-9.9-5.8-19-12.6-26.4-21.4-3.8-4.7-7.6-10.4-7.8-16.5-.2-2.3.9-4.4 1.7-6.6 5.4 3.7 9.4 8.7 14.2 12.9 4 3.4 9.2-.7 13.8 0 5.8 1 11.6 1.5 17.5 1.8 20.4-.2 40.6-4.3 59.6-11.5 4.2.8 10 2.7 14 1 5-2.8 8.6-8.6 12.2-12.9 1.5-1.8 3.8-3 5.7-4.2 3-1.7 5.5-4 8.5-5.6Z" fill="#8F2E45"/><path d="M536 614.2c4.5-.1 9 .6 13.3 1.9a86.5 86.5 0 0 1-35.8 24.4 86.1 86.1 0 0 1-51.3 3.9c2-2.8 4.1-5.3 6.8-7.4a103 103 0 0 1 31-16c11.5-3.8 23.9-6.6 36-6.8Z" fill="#EA869E"/>',variant25:(a,l)=>'<path d="M522.8 563c11 1.4 21.9 7 27.2 17a31.4 31.4 0 0 1 3.3 21.2 53.6 53.6 0 0 1-14.5 27.6 77 77 0 0 1-44.8 23 92.7 92.7 0 0 1-42.9-3 77.4 77.4 0 0 1-23.8-13 62.2 62.2 0 0 1-19.5-25.6A33 33 0 0 1 406 593a21 21 0 0 1 12.8-15.3 37 37 0 0 1 21.2-1.8c9 1.2 16.7 5 24.7 9.1a71.6 71.6 0 0 1 58.1-22Z" fill="#000"/><path d="M518 568.5c8.8.4 17.4 3.3 23.7 9.7-3 3.7-6.9 6.3-11 8.5-1.7.9-3.7 1.7-5 3-2.5 3-3.7 8.2-6.7 10.5-3.6-1.2-6.8-3.9-10-5.8a175.4 175.4 0 0 1-44 4.5c-11 .3-22-.6-33-2.4-1.8-.3-4-1-5.8-.4-2.2 1.5-4 3.6-5.8 5.4l-5.5-8.5-2.7-1.2c2.7-6 8.4-9.6 14.8-10.4a54 54 0 0 1 34 8.6c2 1 3.6 2.3 5.8.9 2.8-2.2 5.1-5 8-7.1 12-9.6 27.7-16 43.2-15.2Z" fill="#fff"/><path d="M545.3 583.3a29.2 29.2 0 0 1 2.2 17.7c-2 9.5-7 17.8-13.9 24.6a75.2 75.2 0 0 1-41.6 20.7 88.8 88.8 0 0 1-34-1.7 70.6 70.6 0 0 1-37.6-24 38.8 38.8 0 0 1-9.3-23c2.6 2.7 3.8 6.3 6.3 9 4.2 3.3 7.7-2.1 10.5-4.7a218.6 218.6 0 0 0 80.2-1.2c3.7 1.5 8.4 6 12.7 5 6-2.3 6-11.9 12.3-13.6a42.7 42.7 0 0 0 12.2-8.8Z" fill="#8F2E45"/>',variant24:(a,l)=>'<path d="M534.3 562.6c8 1.1 15.4 4.3 21.2 9.9a39 39 0 0 1 11.9 29.5c.3 9.8-2.4 19.1-6.7 27.8a82.5 82.5 0 0 1-70.7 45.3 107.2 107.2 0 0 1-82-34 46.4 46.4 0 0 1-11.6-29.1c0-7.9 4-15.6 10.5-20.2A42 42 0 0 1 430 585c14.2.2 27.8 4.4 40.2 11.2a79.6 79.6 0 0 1 34-29c9.4-4.2 19.8-6 30-4.6Z" fill="#000"/><path d="M533.5 568.3c9.2 1.3 18 6.3 22.9 14.3 6 9.6 6.6 21 3.8 31.8-4-.5-8-.7-12-.2-10.8.6-21.7 3.4-32 7a42.9 42.9 0 0 0-.5-23.9c-1.7-3.8-5.4-6.2-9.6-4.3-6.6 3.1-10.3 11.9-13 18.2-4.8-1.6-11.3-3.8-16-1.2-4 2.2-3.9 6.5-2.5 10.2 2.6 6.3 7.7 11.1 12.6 15.5a114 114 0 0 0-31.1 29c-15-4.7-28.7-13-40-23.7a45.7 45.7 0 0 1-13.7-24.4c-1-6.4.7-13.2 5.4-17.8 4.4-4.6 11-6.7 17.2-7.5a69.3 69.3 0 0 1 35.2 6.5c3.8 1.5 7.1 3.8 10.8 5.4 2.7.3 3.7-3.4 5-5.2a70 70 0 0 1 38.7-28.3c6-1.8 12.6-1.9 18.8-1.4Z" fill="#8F2E45"/><path d="M509 597.9c2.6 2.3 2.7 6.8 2.9 10-.1 11-3.2 22-8 31.7a54 54 0 0 1-23.3-20.2c-1-1.4-1-3-1.2-4.6 5.2-.7 9.2 1 13.8 2.9 2.8 1 3.9-1.4 5-3.5 2.4-5.5 5.1-13.3 10.8-16.3Z" fill="#D32020"/><path d="M558.6 620a70.8 70.8 0 0 1-11 19.6c-3.8 4.8-8.5 8.9-13 13a77 77 0 0 1-35.1 15.6c-12.5 2-25.2 1.2-37.5-1.6 8-11.1 18.6-19.9 30.3-27.1 3.7 2.3 7.6 5.1 11.7 6.6 1.4.6 2.8-.4 3.6-1.5 3.2-4.9 4.9-10 6.8-15.4.4-1.4 1.6-1.6 2.8-2.1 13-4.7 27.5-8.1 41.4-7.2Z" fill="#EA869E"/>',variant23:(a,l)=>'<path d="M535 563a31.4 31.4 0 0 1 22.7 17.3 48 48 0 0 1 3.5 23.7 53 53 0 0 1-15 30.2 65.7 65.7 0 0 1-33.2 18.9 140.5 140.5 0 0 1-62 .3 85.4 85.4 0 0 1-38.6-19.8c-4.5-4.2-9-9.1-11-15A30 30 0 0 1 403 595c3.3-6.3 9.9-10.5 17-10.7 12.7-.7 23.9 4.2 36 4.8 7.8 0 15.9-1.1 23.2-4 11.3-4.8 21.3-14.5 32.8-19.1 7.4-3 15.1-4.6 23-3Z" fill="#000"/><path d="M538 569.9c7 2.5 12.7 7.9 15.1 15-3 2.5-5.8 5-9 7.3-3.6 2.6-7.2 4.4-9.9 8-3.2 4-6 9.9-10.4 12.5-3.4-.4-6.6-2.9-9.8-4-2.4-.7-5.4.4-7.8 1a167.3 167.3 0 0 1-37.2 5.9 46 46 0 0 0-9.6 1c0 1.2 0 2.4.3 3.6 1.9 1.5 5 1.3 7.3 1.5 15.3-.6 30.3-3.2 45-7.3 3.7 0 9.4 5.2 13.9 3.5 5.3-2.5 9-9 12.4-13.6 1.9-2.8 4.5-4 7.1-5.9 3.4-2.2 6.5-4.7 9.6-7.3a46 46 0 0 1-.4 17c-2.2 9.3-8.1 17.9-15 24.5a66.5 66.5 0 0 1-37.1 16.6 141 141 0 0 1-36.5.8 87.2 87.2 0 0 1-48.4-19.6c-5-4.7-9.8-8.9-11.2-16-2.3-8.6.4-20.7 10.1-23.5 8.2-2 17.8.5 26 2.2 12 2.8 25 2.4 36.7-1.7 14-4.9 25-17 38.8-21.3a30 30 0 0 1 20-.2Z" fill="#fff"/>',variant22:(a,l)=>'<path d="M515 571.8c10-.8 20.3-.7 29.5 3.7 4.7 2.3 8.8 6 9.7 11.5.9 5.2-1.1 9.9-4 14a60.7 60.7 0 0 1-20.7 16.6c-16.5 8.7-34 12-52.5 13.7a90 90 0 0 1-59.1-12.1 42.2 42.2 0 0 1-16-16c-2.6-5.3-2.3-12 1.9-16.4 4.8-5.2 12.4-7.2 19.2-7.9a92.7 92.7 0 0 1 44.8 8.5 117.7 117.7 0 0 1 47.2-15.6Z" fill="#000"/><path d="M540.4 580a85 85 0 0 1-12.1 8.3c-2.7 1.5-3.8 4.1-5.5 6.6a30.2 30.2 0 0 1-5.7 6.7c-3-1-6-2.8-9.1-3.5-3 .5-6 1.9-8.9 2.7-10 2.8-20.7 5-31.1 4.9-3 0-5.8.2-8.7.8.3 2.5-.5 4.7 2.9 5 14.6.9 29.7-2 43.6-6.6 4.7-2.1 7.7 3 12.8 1.7 4.4-1.3 7.4-6.6 10-10 1.7-2.9 4.4-4.2 7-6 3.8-2.1 7-4.8 10.4-7.4 1.5 2.6 3.2 4.7 2.5 7.8-1.4 6.4-6.6 11-11.5 15a107 107 0 0 1-44.3 17.6c-14.4 2-28 4.2-42.6 1.5A78.8 78.8 0 0 1 414 609c-3.8-3.4-8.4-8.5-7.8-14 .3-3.8 3.9-6.3 7-7.7a51 51 0 0 1 25.2-2.2 89.4 89.4 0 0 1 25.4 7.2c1.6.7 3.4 1.7 5 1.5 3.2-1.2 5.8-3.5 8.8-5A102 102 0 0 1 506 579c11.4-2 23.3-2.9 34.5 1Z" fill="#fff"/>',variant21:(a,l)=>'<path d="M481 561.7c4.7-.6 10.2 0 13.7 3.6 3.8 4 4.1 9.5 3.2 14.6A30.8 30.8 0 0 1 473 603a32.8 32.8 0 0 1-22.2-4 26 26 0 0 1-11-13 15.4 15.4 0 0 1-.5-10.6c1.3-3.2 4.1-5 7.3-5.7 5.7-1.9 11.7.2 16.7 3 4.6-5 10.5-10.2 17.6-11.1Z" fill="#000"/><path d="M480.5 567.7c3.3-1 7.4-.6 10 1.8 2 2 2.1 5.9 1.7 8.5a24.8 24.8 0 0 1-20 19.4 26.8 26.8 0 0 1-18.9-3.7c-4.3-2.5-7.4-7-8.8-11.7-.7-2.5-.4-5.1 2-6.4 2.6-1.1 5.8-1 8.5-.5 3.5.7 5.8 2.9 9 4.3 2 0 2.6-1.4 3.8-2.6 3.3-4 7.7-7.6 12.7-9.1Z" fill="#8F2E45"/>',variant20:(a,l)=>'<path d="M505 609.6c4.7 1.3 9 4.7 12.2 8.2 1.4 1.7 3.6 3.9 3 6.2-.4 2.5-3.7 3-5 .8a27.5 27.5 0 0 0-9.4-8.5c-2.3-1.5-6.8-.6-6.7-4.2.5-3 3.6-2.9 6-2.5ZM498 623c5 1.5 8.4 5.8 8.8 11 1.3 13.2-9.4 25.8-21.8 29.2-12.4 3.7-28.8-1-35-13.2-2.5-4.2-3.8-9.2-2-14 1.8-4 5.8-5.6 10-6 5-.6 9.5 1 13.9 3.5 3.8-4 7.7-7.6 12.9-9.8 4-1.8 9-2 13.2-.7Z" fill="#000"/><path d="M499 630c3.2 3.5 2.2 9.6.4 13.5a25.5 25.5 0 0 1-26 15c-7.2-1.2-14.2-4.1-18.1-10.8-1.4-2.6-3.4-6.6-2-9.4 2.2-3.8 8.7-3.2 12.2-1.8 2.8.7 5.6 4 8.4 3.5 3.7-3.5 6.5-7.4 11.2-9.8 4.3-2.4 9.6-3.3 13.8-.1Z" fill="#8F2E45"/>',variant19:(a,l)=>'<path d="M516.5 555.6c6 4.4 11.7 10 15.3 16.6 2.6 4.8 3.2 11.7-.4 16.1-4.2 5.4-11.5 7.6-18 8.8a151 151 0 0 1-47.4-1.6c-5.7-1.1-10.2 1.6-16 2.6-8.7 1.5-18.4 2.9-27 1-5.2-1-10.3-3.2-13.4-7.7-2.8-3.9-2.6-9.3-1.1-13.7 1.6-4 4.1-8 7-11.2 1.4-1.7 3.1-1 5-1.1.3 1.8 1 3.2-.4 4.8-2.6 3.3-5.2 6.4-6.4 10.5-1.1 3.3-.3 7 2.4 9.2 3 2.4 7.2 3.5 11 3.9a76 76 0 0 0 23-1.8c5.7-1 10-3.5 15.9-2.5 12 2 23.8 3.5 36 2.8 7-.2 14-1 20.3-4 3.2-1.9 6-4.2 5.7-8.3-.3-6-6.1-11.8-10.3-15.7-2.5-2.6-6.7-4-6-8.4 1.8-.9 3-1.8 4.8-.3Z" fill="#000"/>',variant18:(a,l)=>'<path d="M453.2 567.4c4.2-.6 8.3-.4 12.1 1.3a25.7 25.7 0 0 1 14.5 18.3c3.2 12.1-1.3 26-11.7 33.2-3 2.5-6.7 3.5-10.4 2.2-3.6-1.8-5.3-5.3-6.2-9-1.5-5.2 1.2-10.4.1-16-1-4.3-4.7-7.5-6.5-11.5-1.3-2.7-2.5-6-2.1-9 .7-5 5.4-8.8 10.2-9.5Z" fill="#000"/>',variant17:(a,l)=>'<path d="M462.2 552.8c6 1.3 12 4.5 15.7 9.3 1.3 2.3 0 5-2.8 4.7-2.2-1.3-4-3.4-6-4.8a21.9 21.9 0 0 0-15.1-3.7c-2.6.5-5.4 1.6-6.8 3.9-1.6 2-1.3 4.7-.4 7 1.7 4.4 6 7.9 10.2 9.7 2.3 1.1 5.3 1.3 7.3 2.8 1.7 1.8.6 4.3-1.7 4.8-4.6 1-8.7 2.6-11.7 6.5a17 17 0 0 0 1.4 22.7 18.3 18.3 0 0 0 24.3 1.9c2.4-1.9 3.5-4.4 5.5-6.6 3-1.5 5 1 4 3.9a23.2 23.2 0 0 1-27.2 11.4 24 24 0 0 1-17.2-19.3 23.2 23.2 0 0 1 11.3-23.5 23 23 0 0 1-12.4-14.2c-1.5-5.3.8-11.3 5.5-14.2 4.7-3.3 10.7-3.2 16.1-2.3Z" fill="#000"/>',variant16:(a,l)=>'<path d="M521.2 567.2c1.5-.3 3.3-1 5-.7 2 .8 2 3 1 4.6-4.2 2.7-10 2.9-14.3 5a79.2 79.2 0 0 1 0 40.9 55.4 55.4 0 0 1-20.7 31.3c-7 5-15.6 7.4-24.2 6.5a41.8 41.8 0 0 1-28.6-17.3 72.2 72.2 0 0 1-11.3-60.2c-2.4-.8-5.6-1.2-7.5-2.9-.6-1.2-.2-2.8-.3-4.1 4.5 0 8.3 1.6 12.7 2.5 29.5 6 59.5 3 88.2-5.5Z" fill="#000"/><path d="M507 577.1a67.7 67.7 0 0 1-6.8 54.2c-4 6.5-9.6 12-16.7 15.2-8 3.7-17.5 3.4-25.4-.6-8-4-14.6-11.4-18.7-19.3a69.5 69.5 0 0 1-5.5-48c10.5 2.4 21 3 31.8 3.2-1 6.8-1 13.4-1.2 20.2 0 2-.2 4 .5 6 1 1.6 4.6 1.1 4.7-1.1.6-8.4 0-16.8 1.6-25.2 12-.2 24-2.2 35.6-4.6Z" fill="#EA869E"/>',variant15:(a,l)=>'<path d="M470 539.6c9.4-.6 18.4 5.2 25.2 11.2 9.6 8.8 17.3 20.1 23.5 31.5 12.6 23.6 20.8 50.1 23.6 76.7.5 4.4 1.5 8.7-2.5 11.9a80 80 0 0 1-23.8 6c-16 1.3-32.5-.9-48-4.9-2.4-.7-4.5-.9-5.4-3.6a210.2 210.2 0 0 1-18-65.9c-1-12.3-1-24.9 1.8-37a44.1 44.1 0 0 1 8.7-18.4c3.7-4.3 9.1-7.4 14.9-7.5Z" fill="#000"/><path d="M474.5 545.6a48 48 0 0 1 23.3 16.3c-14 6-30.9 9.6-45.8 5.8 1.2-6.2 3.8-13 8.2-17.5 3.6-3.8 9.1-6 14.3-4.6Z" fill="#fff"/><path d="M501.9 566.9a178.5 178.5 0 0 1 27.4 56.8c-6.3 1.3-12 4-17.5 7a93.6 93.6 0 0 0-30 27c-2.3 3.6-4.7 6.5-4.6 11-3-.8-6-1.5-9-2-8.4-18-14-37.2-16.9-56.7a124.2 124.2 0 0 1-.3-37c5.4 1 10.5 2.3 16 2 5-.5 10-1 15-2 6.9-1.2 13.3-3.9 19.9-6.1Z" fill="#8F2E45"/><path d="M527.5 629.6c1.5-.6 2.5.2 3.8.7 2.8 11.7 5 23.5 5.6 35.5a90 90 0 0 1-24.6 5.6c-10.5 1-20.3-.7-30.6-1.8a75 75 0 0 1 17.9-23c8-7.1 17.6-13.6 28-17Z" fill="#EA869E"/>',variant14:(a,l)=>'<path d="M495.2 561c15.5 1.8 31.3 5.5 44.5 14.2 7 4.6 13.5 11.3 15.3 19.8 2.4 8.6-3.6 18.2-11.7 21.4-7.2 3-14 1.8-21.3.1-6-1-12-1.6-18-1.8-22.6-1-45.1.8-67.2 5.8-5.7 1-11.1 3.2-16.8 3.7-6.5.1-13-3.1-16.8-8.5-3-4.1-4.4-9.6-4.3-14.7.6-7.8 5.4-15 11.2-19.9a85 85 0 0 1 35.4-16.8 157 157 0 0 1 49.7-3.3Z" fill="#000"/><path d="M506 568.6a76 76 0 0 1-35.8 13 92 92 0 0 1-41.5-5c8.8-4.8 19.4-7 29.2-8.8 16.1-2.2 32.1-2.4 48 .8Z" fill="#fff"/><path d="M513.8 570.3c11 3.2 22.5 7.7 30.4 16.5 4.2 4.8 7 11.2 4 17.4-3 6.2-9.7 8.6-16.2 8a234.4 234.4 0 0 0-69-2 239.8 239.8 0 0 0-36 6.8c-5.7 1.4-11.3 2.1-16.2-1.8-6.6-5.3-7.4-14.6-3.5-21.8a40.2 40.2 0 0 1 14.7-13.6c4 2.5 8.4 3.7 13 5a95 95 0 0 0 67-6.8c4.3-2 7.8-5.1 11.8-7.7Z" fill="#8F2E45"/>',variant13:(a,l)=>'<path d="M519 572.7c12.3.2 24.5 2 36 6.5a92.6 92.6 0 0 1 43.8 35c1.2 1.5.8 3.5 1 5.4-7.3.5-14.5 0-21.7.7.1 7.4 0 14.4-3.8 21-2.1 3.8-5.6 7.2-10.3 7.2-4.5 0-8.2-3.5-10.4-7.1a44.2 44.2 0 0 1-4.4-21c-25.4 0-50.8.2-76.2.4-7.4-.3-14.6.6-22 .4-7.5-.2-14.2.8-21.5-.8 0-1.6-.5-4 .6-5.3a123.3 123.3 0 0 1 88.9-42.4Z" fill="#000"/><path d="M509 579.5c7-.6 14-.5 21 0a89 89 0 0 1 48.7 20.8c-11.3.4-22.5.6-33.7.6-31 1.1-62 .8-93 1.8 6.2-4.2 12.2-8.4 18.9-11.7 11.9-6 24.8-10 38-11.5Z" fill="#8F2E45"/><path d="M569 606.4c5.2 0 10.6-.6 15.7 0 2.4 2 4.3 4.8 6.3 7.1-5.9.6-11.9 0-17.7.8-1.2 7.1-.3 16.6-3.6 23.4-1.2 2.7-3.3 4-5.7 5.6-2.3-1.6-4.5-3-5.7-5.6-3.4-6.8-3.3-15.7-4-23.2-5.8-.5-11.5 0-17.3-.1-32.8.2-65.6.2-98.4.5 2.2-2 4.6-5.6 7.5-6.2 18-.8 36-.3 54-1.1 11-.5 22-.1 33-.6 12-.3 24-.1 36-.6Z" fill="#6FA942"/>',variant12:(a,l)=>'<path d="M550 573.5c1.5 0 3.5-.3 4.6.9 1.8 1.5.8 4.5-1.6 4.7-5.3.8-10.7.6-16 1.3l-14.6 2c3 6.4 5 13.3 6 20.4 1.2 9.5.6 18.9-4.4 27.2a28 28 0 0 1-19 13.2 46.5 46.5 0 0 1-27-4.2 87.8 87.8 0 0 1-32.6-27.3 118 118 0 0 0-18.5 16.2c-1.5 1.6-3.5 4-5.7 1.9-1.9-1.7-.3-4 1-5.5a129 129 0 0 1 34.7-26.4 225 225 0 0 1 93.1-24.4Z" fill="#000"/><path d="M516.9 583.4c1.1 4 2.8 7.7 4 11.6 2 7 2.5 14.3 1.7 21.5a24.8 24.8 0 0 1-11 18c-7.5 4.5-16.7 4-24.7 1.5-15-4.8-27-15.2-36.5-27.5 9.3-5.9 19-10.7 29.3-14.6 1.7 2.4 3.3 5.1 5.4 7.1 1.4 1.5 4.5.1 4.1-2-.4-2.4-2.8-4.4-3.8-6.6-.1-.4.1-.7.7-.9 10-3.5 20.4-6 30.8-8.1Z" fill="#EA869E"/>',variant11:(a,l)=>'<path d="m397.2 574.5 55.8-.4c15.6-.5 31.3-.2 47-.4 3.8 0 7.3-.2 10.9 1.4 4.2 1.9 7.8 6 7.6 10.9.4 6.4-5.5 11-11.5 11.3l-99 .6c-4.4-.1-8.1 1-12.4-.5l-.8-2.3c1.7-5.7 2.5-11.2-.1-16.7-1-2 .2-3.9 2.5-3.9Z" fill="#000"/><path d="M510.5 581.6c2.1 1.8 3.3 4.8 1.3 7.3-2.4 3.3-7.5 2.6-11.1 2.5v-12c3.3.3 7.1-.2 9.8 2.2ZM401.7 580.2h5c.2 4 .3 8 .2 12h-5.1c.4-4 .4-8 0-12ZM412.5 580.2h13.6l.3 12h-13.2l-.7-12ZM432.1 579.9l19-.1v12c-6.2 0-12.5.3-18.9.2V580ZM456.8 579.8c6.2-.1 12.5 0 18.7-.2l.3 12-18.6.3c-.3-4-.4-8-.4-12.1ZM481.4 579.5c4.5.2 9 0 13.4 0v12c-4.4 0-8.8.2-13.2 0 0-4-.3-8-.2-12Z" fill="#fff"/>',variant10:(a,l)=>'<path d="M504 568.7c3.7-1.3 5.6 4 2.2 5.5-5.7 2.8-10.8 6.6-13 12.8-2.2 6.4.5 13.1 4.8 18 3 3.4 6.6 5.4 10.4 7.7 2 1 1.3 2.8 1.1 4.6l-2.5 1A37 37 0 0 1 491 606c-2.3-3.2-3.3-6.7-4.6-10.3-25.1 2-50.4 2.8-75.5 4.7-1.8-.3-2.4-2-3.5-3.3 1.1-1.2 1.7-2.7 3.5-2.8 17.4-.9 34.6-2 52-3 7.8-.7 15.7-.5 23.5-1.5a27.9 27.9 0 0 1 17.5-21Z" fill="#000"/>',variant09:(a,l)=>'<path d="M496 576.3c3-.1 6.1-.1 9.2.3l1.2 2.4-1.2 2.5c-7.7.8-15.5 0-23.2.6l-84 .6c-1.7 0-4.6-.6-4.4-2.7-.5-1.7 1.8-3.3 3.3-3.2l99-.5Z" fill="#000"/>',variant08:(a,l)=>'<path d="M505 633.2c9 .5 16.9 6.7 24.1 11.4-13-.2-26.3 2.1-39 5.5-9.4 2.6-18.6 6-27 11 3.2-8.1 7.8-18.1 16.6-21.4 4-2 7.7-1.2 12-.9 3.8-3.3 8-6 13.3-5.6Z" fill="#D31E1E"/><path d="M529.1 644.6c2.5.1 4.7 1.4 4 4.2-1.5 2-4.5 1.3-6.7 1.5a155 155 0 0 0-43.8 8.3 73.8 73.8 0 0 0-14 6.2c-2 1-3.3 2.6-5.6 1.5-2.2-1.6-1.2-3.5 0-5.2 8.6-5 17.7-8.4 27.1-11 12.7-3.4 26-5.7 39-5.5Z" fill="#000"/><path d="M526.4 650.3a39.8 39.8 0 0 1-24.5 18.5 47 47 0 0 1-33.2-4c4.4-2.6 9-4.5 13.9-6.2a155 155 0 0 1 43.8-8.3Z" fill="#D31E1E"/>',variant07:(a,l)=>'<path d="M484.8 621.3a44.2 44.2 0 0 1 30.5 37.2 49.6 49.6 0 0 0-10.9-18A37.2 37.2 0 0 0 477 629a28 28 0 0 0-20.8 10.3c-5.5 6.8-7.7 16-6.7 24.7-.7-4.7-1.9-9.1-1.8-13.9a31 31 0 0 1 10-23.3 29 29 0 0 1 27.1-5.4Z" fill="#D31E1E"/><path d="M477 628.9a37.2 37.2 0 0 1 27.4 11.6c5 5.1 8.4 11.4 11 18 .4 3.5 2.2 6.5-1.4 8.8-8.4.2-16.7.8-25 1-12.3 1-24.7.5-37 2-1.9-2-2.3-3.8-2.5-6.4-1-8.6 1.2-17.9 6.7-24.7A28 28 0 0 1 477 629Z" fill="#000"/><path d="M484.5 635.5c12.6 3 22 14 25.5 26.2-18.3.4-36.6 1.7-54.8 2.2a28 28 0 0 1 7.6-23.1c5.8-5.7 14-7 21.7-5.3Z" fill="#fff"/><path d="M514 667.3c-9.3 7.3-23.6 8.8-35 9.1-8.6 0-19.9-.6-27-6.1 12.3-1.5 24.7-1 37-2 8.3-.2 16.6-.8 25-1Z" fill="#D31E1E"/>',variant06:(a,l)=>'<path d="M473 557.8a84.3 84.3 0 0 1 43.7 8.6 188.2 188.2 0 0 1-65.7 15.5c-7.2 0-14.3.2-21.5-.6.7-5.9 3-9.6 7.7-13a68 68 0 0 1 35.8-10.5Z" fill="#D31E1E"/><path d="m525 563.7 1.2 2.3c.4 2.7-2 3.4-3.8 4.4a184 184 0 0 1-85.8 17c-5-.6-10.2-.7-15-2-2.3-1-2.6-4-.3-5.2 2.7 0 5.5.9 8.2 1 7.2 1 14.3.7 21.5.7 22.5-.8 45-6.8 65.7-15.5 2.8-1.2 5.2-2.6 8.3-2.7Z" fill="#000"/><path d="M510.2 575.4c-2 10.1-10.3 17.2-19.2 21.6a56.4 56.4 0 0 1-34 4.8c-8.7-1.8-16.5-6.2-20.4-14.5a184 184 0 0 0 73.7-12Z" fill="#D31E1E"/>',variant05:(a,l)=>'<path d="M526 559.6c18 0 37.2 2.1 54 9-52.2 7.3-107.2 15.2-159 22.3 8-7 17.7-12.3 27.4-16.5A79.3 79.3 0 0 1 488 567c1 .1 1.9 0 2.7-.4 10.2-5.9 23.7-6.6 35.3-7Z" fill="#D31E1E"/><path d="M580 568.7c2.4 1 2 3.4 1.4 5.4a92 92 0 0 1-28.4 34 96.5 96.5 0 0 1-60 17.5c-26.8-1-53-12-73.4-29.3-.4-2.4-.5-3.7 1.4-5.4 51.8-7.1 106.8-15 159-22.2Z" fill="#000"/><path d="M581.4 574.1c-1.1 4.6-1.9 9.2-3.7 13.7-5.3 13.9-16 25.4-28.4 33.5a103.3 103.3 0 0 1-45.3 16 96 96 0 0 1-58-11.3 60.6 60.6 0 0 1-26.4-29.7 122.1 122.1 0 0 0 73.4 29.3 92 92 0 0 0 88.4-51.5Z" fill="#D31E1E"/><path d="M573.9 575.5c-8.2 15-21 27.5-36.4 35a89.2 89.2 0 0 1-40.5 9.2c-24.7.2-49-9-68.6-23.9 48-6.6 97.8-13.8 145.5-20.3Z" fill="#fff"/>',variant04:(a,l)=>'<path d="M529.1 644.6c2.5.1 4.7 1.4 4 4.2-1.5 2-4.5 1.3-6.7 1.5a155 155 0 0 0-43.8 8.3 73.8 73.8 0 0 0-14 6.2c-2 1-3.3 2.6-5.6 1.5-2.2-1.6-1.2-3.5 0-5.2 8.6-5 17.7-8.4 27.1-11 12.7-3.4 26-5.7 39-5.5Z" fill="#000"/>',variant03:(a,l)=>'<path d="M477 628.9a37.2 37.2 0 0 1 27.4 11.6c5 5.1 8.4 11.4 11 18 .4 3.5 2.2 6.5-1.4 8.8-8.4.2-16.7.8-25 1-12.3 1-24.7.5-37 2-1.9-2-2.3-3.8-2.5-6.4-1-8.6 1.2-17.9 6.7-24.7A28 28 0 0 1 477 629Z" fill="#000"/><path d="M484.5 635.5c12.6 3 22 14 25.5 26.2-18.3.4-36.6 1.7-54.8 2.2a28 28 0 0 1 7.6-23.1c5.8-5.7 14-7 21.7-5.3Z" fill="#8F2E45"/>',variant02:(a,l)=>'<path d="m525 563.7 1.2 2.3c.4 2.7-2 3.4-3.8 4.4a184 184 0 0 1-85.8 17c-5-.6-10.2-.7-15-2-2.3-1-2.6-4-.3-5.2 2.7 0 5.5.9 8.2 1 7.2 1 14.3.7 21.5.7 22.5-.8 45-6.8 65.7-15.5 2.8-1.2 5.2-2.6 8.3-2.7Z" fill="#000"/>',variant01:(a,l)=>'<path d="M580 568.7c2.4 1 2 3.4 1.4 5.4a92 92 0 0 1-28.4 34 96.5 96.5 0 0 1-60 17.5c-26.8-1-53-12-73.4-29.3-.4-2.4-.5-3.7 1.4-5.4 51.8-7.1 106.8-15 159-22.2Z" fill="#000"/><path d="M573.9 575.5c-8.2 15-21 27.5-36.4 35a89.2 89.2 0 0 1-40.5 9.2c-24.7.2-49-9-68.6-23.9 48-6.6 97.8-13.8 145.5-20.3Z" fill="#8F2E45"/>'}},Symbol.toStringTag,{value:"Module"});function L({prng:a,group:l,values:c=[]}){const i=w,t=a.pick(c);return t&&i[l][t]?{name:t,value:i[l][t]}:void 0}function F(a){return"transparent"===a?a:`#${a}`}const S=Object.defineProperty({__proto__:null,create:({prng:a,options:l})=>{var c,i,t,e,r,h,d,n,o,f,p,s,v,Z,M,u;const m=function({prng:a,options:l}){const c=L({prng:a,group:"base",values:l.base}),i=L({prng:a,group:"eyes",values:l.eyes}),t=L({prng:a,group:"eyebrows",values:l.eyebrows}),e=L({prng:a,group:"mouth",values:l.mouth}),r=L({prng:a,group:"features",values:l.features}),h=L({prng:a,group:"glasses",values:l.glasses}),d=L({prng:a,group:"hair",values:l.hair}),n=L({prng:a,group:"earrings",values:l.earrings});return{base:c,eyes:i,eyebrows:t,mouth:e,features:a.bool(l.featuresProbability)?r:void 0,glasses:a.bool(l.glassesProbability)?h:void 0,hair:a.bool(l.hairProbability)?d:void 0,earrings:a.bool(l.earringsProbability)?n:void 0}}({prng:a,options:l}),g=function({prng:a,options:l}){var c,i;return{skin:F(a.pick(null!==(c=l.skinColor)&&void 0!==c?c:[],"transparent")),hair:F(a.pick(null!==(i=l.hairColor)&&void 0!==i?i:[],"transparent"))}}({prng:a,options:l});return function({prng:a,options:l,components:c,colors:i}){var t;(null===(t=c.hair)||void 0===t?void 0:t.name)&&["long01","long04","long05","long06","long20","long22","long24","long26"].includes(c.hair.name)&&(c.earrings=void 0)}({prng:a,options:l,components:m,colors:g}),{attributes:{viewBox:"0 0 762 762",fill:"none","shape-rendering":"auto"},body:`${null!==(i=null===(c=m.base)||void 0===c?void 0:c.value(m,g))&&void 0!==i?i:""}<g transform="translate(-161 -83)">${null!==(e=null===(t=m.eyes)||void 0===t?void 0:t.value(m,g))&&void 0!==e?e:""}</g><g transform="translate(-161 -83)">${null!==(h=null===(r=m.eyebrows)||void 0===r?void 0:r.value(m,g))&&void 0!==h?h:""}</g><g transform="translate(-161 -83)">${null!==(n=null===(d=m.mouth)||void 0===d?void 0:d.value(m,g))&&void 0!==n?n:""}</g><g transform="translate(-161 -83)">${null!==(f=null===(o=m.features)||void 0===o?void 0:o.value(m,g))&&void 0!==f?f:""}</g><g transform="translate(-161 -83)">${null!==(s=null===(p=m.glasses)||void 0===p?void 0:p.value(m,g))&&void 0!==s?s:""}</g><g transform="translate(-161 -83)">${null!==(Z=null===(v=m.hair)||void 0===v?void 0:v.value(m,g))&&void 0!==Z?Z:""}</g><g transform="translate(-161 -83)">${null!==(u=null===(M=m.earrings)||void 0===M?void 0:M.value(m,g))&&void 0!==u?u:""}</g>`,extra:()=>({...Object.entries(m).reduce(((a,[l,c])=>(a[l]=null==c?void 0:c.name,a)),{}),...Object.entries(g).reduce(((a,[l,c])=>(a[`${l}Color`]=c,a)),{})})}},meta:{title:"Adventurer",creator:"Lisa Wischofsky",source:"https://www.figma.com/community/file/1184595184137881796",homepage:"https://www.instagram.com/lischi_art/",license:{name:"CC BY 4.0",url:"https://creativecommons.org/licenses/by/4.0/"}},schema:{$schema:"http://json-schema.org/draft-07/schema#",properties:{base:{type:"array",items:{type:"string",enum:["default"]},default:["default"]},earrings:{type:"array",items:{type:"string",enum:["variant06","variant01","variant02","variant03","variant04","variant05"]},default:["variant06","variant01","variant02","variant03","variant04","variant05"]},earringsProbability:{type:"integer",minimum:0,maximum:100,default:10},eyebrows:{type:"array",items:{type:"string",enum:["variant10","variant09","variant08","variant07","variant06","variant05","variant04","variant03","variant02","variant01","variant15","variant14","variant13","variant12","variant11"]},default:["variant10","variant09","variant08","variant07","variant06","variant05","variant04","variant03","variant02","variant01","variant15","variant14","variant13","variant12","variant11"]},eyes:{type:"array",items:{type:"string",enum:["variant26","variant25","variant24","variant23","variant22","variant21","variant20","variant19","variant18","variant17","variant16","variant15","variant14","variant13","variant12","variant11","variant10","variant09","variant08","variant07","variant06","variant05","variant04","variant03","variant02","variant01"]},default:["variant26","variant25","variant24","variant23","variant22","variant21","variant20","variant19","variant18","variant17","variant16","variant15","variant14","variant13","variant12","variant11","variant10","variant09","variant08","variant07","variant06","variant05","variant04","variant03","variant02","variant01"]},features:{type:"array",items:{type:"string",enum:["mustache","blush","birthmark","freckles"]},default:["mustache","blush","birthmark","freckles"]},featuresProbability:{type:"integer",minimum:0,maximum:100,default:5},glasses:{type:"array",items:{type:"string",enum:["variant01","variant02","variant03","variant04","variant05"]},default:["variant01","variant02","variant03","variant04","variant05"]},glassesProbability:{type:"integer",minimum:0,maximum:100,default:10},hair:{type:"array",items:{type:"string",enum:["short16","short15","short14","short13","short12","short11","short10","short09","short08","short07","short06","short05","short04","short03","long20","short02","short01","long19","long18","long17","long16","long15","long14","long13","long12","long11","long10","long09","long08","long07","long06","long05","long04","long03","long02","long01","short19","long26","long25","short18","long24","long23","long22","short17","long21"]},default:["short16","short15","short14","short13","short12","short11","short10","short09","short08","short07","short06","short05","short04","short03","long20","short02","short01","long19","long18","long17","long16","long15","long14","long13","long12","long11","long10","long09","long08","long07","long06","long05","long04","long03","long02","long01","short19","long26","long25","short18","long24","long23","long22","short17","long21"]},hairColor:{type:"array",items:{type:"string",pattern:"^(transparent|[a-fA-F0-9]{6})$"},default:["ac6511","cb6820","ab2a18","e5d7a3","b9a05f","796a45","6a4e35","562306","0e0e0e","afafaf","3eac2c","85c2c6","dba3be","592454"]},hairProbability:{type:"integer",minimum:0,maximum:100,default:100},mouth:{type:"array",items:{type:"string",enum:["variant30","variant29","variant28","variant27","variant26","variant25","variant24","variant23","variant22","variant21","variant20","variant19","variant18","variant17","variant16","variant15","variant14","variant13","variant12","variant11","variant10","variant09","variant08","variant07","variant06","variant05","variant04","variant03","variant02","variant01"]},default:["variant30","variant29","variant28","variant27","variant26","variant25","variant24","variant23","variant22","variant21","variant20","variant19","variant18","variant17","variant16","variant15","variant14","variant13","variant12","variant11","variant10","variant09","variant08","variant07","variant06","variant05","variant04","variant03","variant02","variant01"]},skinColor:{type:"array",items:{type:"string",pattern:"^(transparent|[a-fA-F0-9]{6})$"},default:["f2d3b1","ecad80","9e5622","763900"]}}}},Symbol.toStringTag,{value:"Module"}),E={circle:(a,l)=>{var c,i;return`<circle cx="132" cy="160" r="120" fill="${p(`${l.background}`)}"/><mask id="styleCircle-a" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="0" y="0" width="264" height="280"><path d="M264 0H0v160h12c0 66.27 53.73 120 120 120 66.27 0 120-53.73 120-120h12V0Z" fill="#fff"/></mask><g mask="url(#styleCircle-a)">${null!==(i=null===(c=a.base)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}</g>`},default:(a,l)=>{var c,i;return`${null!==(i=null===(c=a.base)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}`}},B={default:(a,l)=>{var c,i,t,e,r,h,d,n,o,f,s,v,Z,M,u,m;return`<path d="M132 36a56 56 0 0 0-56 56v6.17A12 12 0 0 0 66 110v14a12 12 0 0 0 10.3 11.88 56.04 56.04 0 0 0 31.7 44.73v18.4h-4a72 72 0 0 0-72 72v9h200v-9a72 72 0 0 0-72-72h-4v-18.39a56.04 56.04 0 0 0 31.7-44.73A12 12 0 0 0 198 124v-14a12 12 0 0 0-10-11.83V92a56 56 0 0 0-56-56Z" fill="${p(`${l.skin}`)}"/><path d="M108 180.61v8a55.79 55.79 0 0 0 24 5.39c8.59 0 16.73-1.93 24-5.39v-8a55.79 55.79 0 0 1-24 5.39 55.79 55.79 0 0 1-24-5.39Z" fill="#000" fill-opacity=".1"/><g transform="translate(0 170)">${null!==(i=null===(c=a.clothing)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}</g><g transform="translate(78 134)">${null!==(e=null===(t=a.mouth)||void 0===t?void 0:t.value(a,l))&&void 0!==e?e:""}</g><g transform="translate(104 122)">${null!==(h=null===(r=a.nose)||void 0===r?void 0:r.value(a,l))&&void 0!==h?h:""}</g><g transform="translate(76 90)">${null!==(n=null===(d=a.eyes)||void 0===d?void 0:d.value(a,l))&&void 0!==n?n:""}</g><g transform="translate(76 82)">${null!==(f=null===(o=a.eyebrows)||void 0===o?void 0:o.value(a,l))&&void 0!==f?f:""}</g><g transform="translate(-1)">${null!==(v=null===(s=a.top)||void 0===s?void 0:s.value(a,l))&&void 0!==v?v:""}</g><g transform="translate(49 72)">${null!==(M=null===(Z=a.facialHair)||void 0===Z?void 0:Z.value(a,l))&&void 0!==M?M:""}</g><g transform="translate(62 42)">${null!==(m=null===(u=a.accessories)||void 0===u?void 0:u.value(a,l))&&void 0!==m?m:""}</g>`}},D={blazerAndShirt:(a,l)=>`<path d="M132.5 51.83c18.5 0 33.5-9.62 33.5-21.48 0-.36-.01-.7-.04-1.06A72 72 0 0 1 232 101.04V110H32v-8.95a72 72 0 0 1 67.05-71.83c-.03.37-.05.75-.05 1.13 0 11.86 15 21.48 33.5 21.48Z" fill="#E6E6E6"/><path d="M132.5 58.76c21.89 0 39.63-12.05 39.63-26.91 0-.6-.02-1.2-.08-1.8-2-.33-4.03-.59-6.1-.76.04.35.05.7.05 1.06 0 11.86-15 21.48-33.5 21.48S99 42.2 99 30.35c0-.38.02-.76.05-1.13-2.06.14-4.08.36-6.08.67-.07.65-.1 1.3-.1 1.96 0 14.86 17.74 26.91 39.63 26.91Z" fill="#000" fill-opacity=".16"/><path d="M100.78 29.12 101 28c-2.96.05-6 1-6 1l-.42.66A72.01 72.01 0 0 0 32 101.06V110h74s-10.7-51.56-5.24-80.8l.02-.08ZM158 110s11-53 5-82c2.96.05 6 1 6 1l.42.66a72.01 72.01 0 0 1 62.58 71.4V110h-74Z" fill="${p(`${l.clothes}`)}"/><path d="M101 28c-6 29 5 82 5 82H90L76 74l6-9-6-6 19-30s3.04-.95 6-1ZM163 28c6 29-5 82-5 82h16l14-36-6-9 6-6-19-30s-3.04-.95-6-1Z" fill-rule="evenodd" clip-rule="evenodd" fill="#000" fill-opacity=".15"/><path d="m183.42 85.77.87-2.24 6.27-4.7a4 4 0 0 1 4.85.05l6.6 5.12-18.59 1.77Z" fill="#E6E6E6"/>`,blazerAndSweater:(a,l)=>`<path d="M132 57.05c14.91 0 27-11.2 27-25 0-1.01-.06-2.01-.2-3h1.2a72 72 0 0 1 72 72V110H32v-8.95a72 72 0 0 1 72-72h1.2c-.14.99-.2 1.99-.2 3 0 13.8 12.09 25 27 25Z" fill="#E6E6E6"/><path d="M100.78 29.12 101 28c-2.96.05-6 1-6 1l-.42.66A72.01 72.01 0 0 0 32 101.06V110h74s-10.7-51.56-5.24-80.8l.02-.08ZM158 110s11-53 5-82c2.96.05 6 1 6 1l.42.66a72.01 72.01 0 0 1 62.58 71.4V110h-74Z" fill="${p(`${l.clothes}`)}"/><path d="M101 28c-6 29 5 82 5 82H90L76 74l6-9-6-6 19-30s3.04-.95 6-1ZM163 28c6 29-5 82-5 82h16l14-36-6-9 6-6-19-30s-3.04-.95-6-1Z" fill-rule="evenodd" clip-rule="evenodd" fill="#000" fill-opacity=".15"/><path d="M108 21.54c-6.77 4.6-11 11.12-11 18.35 0 7.4 4.43 14.05 11.48 18.67l5.94-4.68 4.58.33-1-3.15.08-.06c-6.1-3.15-10.08-8.3-10.08-14.12V21.54ZM156 36.88c0 5.82-3.98 10.97-10.08 14.12l.08.06-1 3.15 4.58-.33 5.94 4.68C162.57 53.94 167 47.29 167 39.89c0-7.23-4.23-13.75-11-18.35v15.34Z" fill="#F2F2F2"/><path d="m183.42 85.77.87-2.24 6.27-4.7a4 4 0 0 1 4.85.05l6.6 5.12-18.59 1.77Z" fill="#E6E6E6"/>`,collarAndSweater:(a,l)=>`<path d="M100.37 29.14a27.6 27.6 0 0 1 7.63-7.57v15.3c0 5.83 3.98 10.98 10.08 14.13l-.08.06.9 2.86c3.89 2 8.35 3.13 13.1 3.13s9.21-1.13 13.1-3.13l.9-2.86-.08-.06c6.1-3.15 10.08-8.3 10.08-14.12v-14.6a27.1 27.1 0 0 1 6.6 6.82 72 72 0 0 1 69.4 71.95V110H32v-8.95a72 72 0 0 1 68.37-71.9Z" fill="${p(`${l.clothes}`)}"/><path d="M108 21.57c-6.77 4.6-11 11.17-11 18.46 0 7.4 4.36 14.05 11.3 18.66l6.12-4.81 4.58.33-1-3.15.08-.06c-6.1-3.15-10.08-8.3-10.08-14.12v-15.3ZM156 36.88c0 5.82-3.98 10.97-10.08 14.12l.08.06-1 3.15 4.58-.33 5.65 4.45c6.63-4.6 10.77-11.1 10.77-18.3 0-6.92-3.82-13.2-10-17.75v14.6Z" fill="#fff" fill-opacity=".75"/>`,graphicShirt:(a,l)=>{var c,i;return`<path d="M132.5 54C151 54 166 44.37 166 32.5c0-1.1-.13-2.18-.38-3.23A72 72 0 0 1 232 101.05V110H32v-8.95A72 72 0 0 1 99.4 29.2a14.1 14.1 0 0 0-.4 3.3C99 44.37 114 54 132.5 54Z" fill="${p(`${l.clothes}`)}"/><g transform="translate(77 58)">${null!==(i=null===(c=a.clothingGraphic)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}</g>`},hoodie:(a,l)=>`<path d="M108 14.7c-15.52 3.68-27.1 10.83-30.77 19.44A72.02 72.02 0 0 0 32 101v9h200v-9a72.02 72.02 0 0 0-45.23-66.86C183.1 25.53 171.52 18.38 156 14.7V32a24 24 0 1 1-48 0V14.7Z" fill="${p(`${l.clothes}`)}"/><path d="M102 63.34a67.1 67.1 0 0 1-7-2.82V110h7V63.34ZM162 63.34a67.04 67.04 0 0 0 7-2.82V98.5a3.5 3.5 0 1 1-7 0V63.34Z" fill="#F4F4F4"/><path d="M187.62 34.49a71.79 71.79 0 0 1 10.83 5.63C197.11 55.62 167.87 68 132 68c30.93 0 56-13.43 56-30 0-1.19-.13-2.36-.38-3.51ZM76.38 34.49a16.48 16.48 0 0 0-.38 3.5c0 16.58 25.07 30 56 30-35.87 0-65.1-12.38-66.45-27.88a71.79 71.79 0 0 1 10.83-5.63Z" fill="#000" fill-opacity=".16"/>`,overall:(a,l)=>`<path d="M196 38.63V110H68V38.63a71.52 71.52 0 0 1 26-8.94v44.3h76V29.69a71.52 71.52 0 0 1 26 8.94Z" fill="${p(`${l.clothes}`)}"/><path d="M86 83a5 5 0 1 1-10 0 5 5 0 0 1 10 0ZM188 83a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z" fill="#F4F4F4"/>`,shirtCrewNeck:(a,l)=>`<path d="M132.5 51.83c18.5 0 33.5-9.62 33.5-21.48 0-.36-.01-.7-.04-1.06A72 72 0 0 1 232 101.04V110H32v-8.95a72 72 0 0 1 67.05-71.83c-.03.37-.05.75-.05 1.13 0 11.86 15 21.48 33.5 21.48Z" fill="${p(`${l.clothes}`)}"/><path d="M132.5 58.76c21.89 0 39.63-12.05 39.63-26.91 0-.6-.02-1.2-.08-1.8-2-.33-4.03-.59-6.1-.76.04.35.05.7.05 1.06 0 11.86-15 21.48-33.5 21.48S99 42.2 99 30.35c0-.38.02-.76.05-1.13-2.06.14-4.08.36-6.08.67-.07.65-.1 1.3-.1 1.96 0 14.86 17.74 26.91 39.63 26.91Z" fill="#000" fill-opacity=".08"/>`,shirtScoopNeck:(a,l)=>`<path d="M132.5 65.83c27.34 0 49.5-13.2 49.5-29.48 0-1.37-.16-2.7-.46-4.02A72.03 72.03 0 0 1 232 101.05V110H32v-8.95A72.03 72.03 0 0 1 83.53 32a18 18 0 0 0-.53 4.35c0 16.28 22.16 29.48 49.5 29.48Z" fill="${p(`${l.clothes}`)}"/>`,shirtVNeck:(a,l)=>`<path d="M92.68 29.94A72.02 72.02 0 0 0 32 101.05V110h200v-8.95a72.02 72.02 0 0 0-60.68-71.11 23.87 23.87 0 0 1-7.56 13.6l-29.08 26.23a4 4 0 0 1-5.36 0l-29.08-26.23a23.87 23.87 0 0 1-7.56-13.6Z" fill="${p(`${l.clothes}`)}"/>`},j={hat:(a,l)=>`<path d="M188.32 138.76C227.9 129.26 255 109.87 255 87.5c0-23.5-29.92-43.72-72.8-52.63l-.31-1.43A40 40 0 0 0 142.82 2h-18.64a40 40 0 0 0-39.07 31.44l-.27 1.21C41.41 43.45 11 63.8 11 87.5c0 22.37 27.1 41.76 66.68 51.26-.2-1.28-.36-2.58-.47-3.9A12 12 0 0 1 67 123v-13a12 12 0 0 1 10-11.83V92c0-8 1.68-15.62 4.7-22.51 8.61-15.69 92.73-16.49 102.66.16A55.82 55.82 0 0 1 189 92v6.17A12 12 0 0 1 199 110v13a12 12 0 0 1-10.2 11.87 56.06 56.06 0 0 1-.48 3.9Z" fill="${p(`${l.hat}`)}"/><path d="M189 92.74c3.85-3.25 6-6.9 6-10.74 0-6.08-5.38-11.65-14.32-15.98 1.64 1.1 2.9 2.3 3.68 3.63A55.82 55.82 0 0 1 189 92v.74ZM157.26 58.99a144.36 144.36 0 0 0-24.26-2c-8.98 0-17.52.78-25.22 2.17 15.16-2.2 34.11-2.3 49.48-.17ZM84.69 66.33C76.12 70.62 71 76.07 71 82c0 3.85 2.15 7.49 6 10.74V92c0-8 1.68-15.62 4.7-22.51a9.94 9.94 0 0 1 2.99-3.16Z" fill="#000" fill-opacity=".5"/>`,hijab:(a,l)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M66 77.34c-.66 3.79-1 7.68-1 11.66v48c0 .97.02 1.94.06 2.9L65 142c.14 3.68-1.86 11.8-4.34 21.9-3.88 15.77-8.94 36.4-8.94 52.55 0 13.01 1.98 22.84 3.89 32.3 1.97 9.78 3.86 19.16 3.39 31.25h47s-.95-13.2-2.47-26.36c10.05 10.2 22.82 16.84 39.05 16.84 70.55 0 77.62-53.83 77.62-65.24 0-6.04-4.32-10.88-8.39-15.44-3.6-4.05-7.02-7.87-7-12.1 0-4.35 1.02-7.39 2.07-10.52 1.12-3.33 2.27-6.75 2.27-11.96 0-5.82-1.43-7.5-2.9-9.25a10.7 10.7 0 0 1-2.8-5.62c-.88-4.54-1.86-14.32-2.45-20.77V89A68 68 0 0 0 66.04 77.08L66 77v.34ZM133 53c-30.1 0-55 24.4-55 54.5v23c0 30.1 24.9 54.5 55 54.5s55-24.4 55-54.5v-23c0-30.1-24.9-54.5-55-54.5Z" fill="${p(`${l.hat}`)}"/><path d="M193.93 104.96A61.4 61.4 0 0 0 195 93.5c0-33.97-27.76-61.5-62-61.5-34.24 0-62 27.53-62 61.5 0 3.92.37 7.75 1.07 11.46a61 61 0 0 1 121.86 0Z" fill="#fff" fill-opacity=".5"/><path d="M78.07 104.69c-.05.93-.07 1.87-.07 2.81v23c0 30.1 24.9 54.5 55 54.5s55-24.4 55-54.5v-23c0-.94-.02-1.88-.07-2.81.7 3.5 1.07 7.1 1.07 10.81v23a54.5 54.5 0 0 1-54.5 54.5h-3A54.5 54.5 0 0 1 77 138.5v-23c0-3.7.37-7.32 1.07-10.81ZM187.05 194.14c-4.39 6.9-17.9 13.66-34.65 16.62-16.74 2.95-31.75 1.22-38.23-3.76.02.26.05.52.1.78 1.7 9.69 19.42 14.67 39.57 11.12 20.15-3.56 35.1-14.3 33.38-23.99-.04-.26-.1-.51-.17-.77ZM198.66 209.49c-2.64 9.6-14.87 20.2-31.56 26.28-16.68 6.07-32.87 5.8-41.06.15.1.34.2.67.32 1 4.53 12.44 24.47 16.6 44.55 9.3 20.07-7.31 32.67-23.32 28.15-35.75-.12-.34-.26-.66-.4-.98Z" opacity=".9" fill="#000" fill-opacity=".16"/>`,turban:(a,l)=>`<path d="M190.47 97.5c1-2.4 1.53-4.92 1.53-7.5 0-18.23-26.41-33-59-33-32.58 0-59 14.77-59 33 0 2.58.53 5.1 1.53 7.5C81.6 82.89 105.03 72 133 72s51.4 10.89 57.47 25.5Z" fill="#EDECE3"/><path d="M49 94.32C48.93 133.5 78 141 78 141c-5.44-49.55 23.54-65.15 46.53-77.53 2.94-1.58 5.78-3.11 8.44-4.65a309.5 309.5 0 0 0 8.48 4.68C164.43 75.87 193.42 91.48 188 141c0 0 29.07-8.46 29-46.68C216.92 47.15 164.85 3 135 3c-.67 0-1.34.03-2 .09-.67-.06-1.33-.09-2-.09-29.93 0-81.92 44.15-82 91.32Z" fill="${p(`${l.hat}`)}"/><path d="M49.01 95.9c.7 37.8 29 45.1 29 45.1s-29.07-7.07-29-43.97l.01-1.13ZM77.33 129.68c.15-37.86 26.18-51.05 47.2-61.71 11-5.58 20.64-10.47 24.47-17.83 4.13-7.25 5.39-13.94 4.65-19.67-.5 4.37-1.98 9.1-4.65 14.07-3.83 7.82-13.47 13-24.47 18.93-21.14 11.38-47.35 25.49-47.2 66.21Z" fill="#000" fill-opacity=".16"/>`,winterHat1:(a,l)=>`<path d="M86.67 68H64v112.91a4.09 4.09 0 0 0 4.09 4.1 18.58 18.58 0 0 0 18.58-18.6V68ZM202 68h-22.67v112.91a4.09 4.09 0 0 0 4.09 4.1A18.58 18.58 0 0 0 202 166.4V68Z" fill="#F4F4F4"/><path d="M63 64a44 44 0 0 1 44-44h52a44 44 0 0 1 44 44v104.6a16.4 16.4 0 0 1-16.4 16.4c-1.98 0-3.6-1.62-3.6-3.6V74H83v94.6A16.4 16.4 0 0 1 66.6 185c-1.99 0-3.6-1.62-3.6-3.6V64Z" fill="${p(`${l.hat}`)}"/><rect x="74" y="52" width="118" height="36" rx="8" fill="#000" fill-opacity=".1"/><rect x="74" y="50" width="118" height="36" rx="8" fill="#F4F4F4"/>`,winterHat02:(a,l)=>`<path d="M197 168h-2v56.06a9 9 0 1 0 2 0V168ZM71 176h-2v56.06a9 9 0 1 0 2 0V176Z" fill="#F4F4F4"/><circle cx="133" cy="20" r="20" fill="#F4F4F4"/><path d="M93.45 77.53h79.1c6.08 0 9.82 2.93 9.82 9V166c0 30.46 22.63 30.41 22.63 10.92v-73.86C205 68.8 187.77 21 133 21c-54.77 0-72 47.8-72 82.05v73.86c0 19.5 22.63 19.54 22.63-10.92V86.53c0-6.07 3.73-9 9.82-9Z" fill="${p(`${l.hat}`)}"/><path d="M198.67 67H67.33C76.42 42.5 96.26 21 133 21s56.58 21.5 65.67 46Z" fill="#000" fill-opacity=".2"/><path d="M91.2 33.73 102.5 50 115 32H93.66c-.83.56-1.65 1.14-2.46 1.73ZM172.34 32H152l12.5 18 10.95-15.77c-1-.77-2.04-1.51-3.11-2.23ZM133.5 50 121 32h25l-12.5 18Z" fill="#fff" fill-opacity=".5"/><path d="M99 59 86.5 41 74 59h25ZM130 59l-12.5-18L105 59h25ZM148.5 41 161 59h-25l12.5-18ZM192 59l-12.5-18L167 59h25Z" fill="#000" fill-opacity=".5"/>`,winterHat03:(a,l)=>`<circle cx="133" cy="20" r="20" fill="#F4F4F4"/><path fill-rule="evenodd" clip-rule="evenodd" d="M67 78a66 66 0 1 1 132 0v5H67v-5Z" fill="${p(`${l.hat}`)}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M64 69.77a7.05 7.05 0 0 1 3.05-5.96c7.8-5.18 30.42-17.8 66.02-17.8 35.6 0 58.14 12.62 65.9 17.81a7.04 7.04 0 0 1 3.03 5.95v30.2c0 3.3-3.9 5.38-6.78 3.75C184.84 97.83 163.1 88 133.8 88a133.57 133.57 0 0 0-63.17 15.98c-2.85 1.56-6.63-.5-6.63-3.75V69.77Z" fill="#000" fill-opacity=".1"/><path fill-rule="evenodd" clip-rule="evenodd" d="M64 67.77a7.05 7.05 0 0 1 3.05-5.96c7.8-5.18 30.42-17.8 66.02-17.8 35.6 0 58.14 12.62 65.9 17.81a7.04 7.04 0 0 1 3.03 5.95v30.2c0 3.3-3.9 5.38-6.78 3.75C184.84 95.83 163.1 86 133.8 86a133.57 133.57 0 0 0-63.17 15.98c-2.85 1.56-6.63-.5-6.63-3.75V67.77Z" fill="#F4F4F4"/>`,winterHat04:(a,l)=>`<path d="M67 65c0-8.16 1.6-15.95 4.5-23.06-3.86-8.95-8.33-22.96-3.86-32.82 8-2.43 17.8 1.33 25.63 5.73A60.72 60.72 0 0 1 128 4h10c12.91 0 24.9 4.01 34.75 10.86 7.84-4.4 17.66-8.17 25.67-5.74 4.47 9.88-.03 23.94-3.9 32.88A60.83 60.83 0 0 1 199 65v8H67v-8Z" fill="${p(`${l.hat}`)}"/><path d="M194.52 42c3.87-8.94 8.37-23 3.9-32.88-8.01-2.43-17.83 1.34-25.66 5.74A61.21 61.21 0 0 1 194.51 42ZM93.27 14.85c-7.83-4.4-17.63-8.16-25.63-5.73-4.47 9.86 0 23.87 3.87 32.82 4.5-11 12.12-20.4 21.76-27.1Z" fill="#000" fill-opacity=".24"/><path d="M190.2 33.42c1.99-6 3.5-12.86 1.49-16.1-2.67-1.16-7.59.47-12.4 2.77a61.28 61.28 0 0 1 10.9 13.33ZM86.66 20.14c-4.92-2.38-10-4.11-12.73-2.93-2.06 3.33-.42 10.47 1.64 16.59a61.28 61.28 0 0 1 11.1-13.66Z" fill="#fff" fill-opacity=".3"/><path fill-rule="evenodd" clip-rule="evenodd" d="M64 69.77a7.05 7.05 0 0 1 3.05-5.96c7.8-5.18 30.42-17.8 66.02-17.8 35.6 0 58.14 12.62 65.9 17.81a7.04 7.04 0 0 1 3.03 5.95v30.2c0 3.3-3.9 5.38-6.78 3.75C184.84 97.83 163.1 88 133.8 88a133.57 133.57 0 0 0-63.17 15.98c-2.85 1.56-6.63-.5-6.63-3.75V69.77Z" fill="#000" fill-opacity=".1"/><path fill-rule="evenodd" clip-rule="evenodd" d="M64 67.77a7.05 7.05 0 0 1 3.05-5.96c7.8-5.18 30.42-17.8 66.02-17.8 35.6 0 58.14 12.62 65.9 17.81a7.04 7.04 0 0 1 3.03 5.95v30.2c0 3.3-3.9 5.38-6.78 3.75C184.84 95.83 163.1 86 133.8 86a133.57 133.57 0 0 0-63.17 15.98c-2.85 1.56-6.63-.5-6.63-3.75V67.77Z" fill="#F4F4F4"/>`,bob:(a,l)=>`<path d="M40 145c-.62-30.84 28.32-95.2 39-108 7.92-9.5 29.7-17.45 54-17 24.3.45 46.86 5.81 55 16 12.32 15.43 37.87 74.08 38 109 .1 24.8-9.54 49.66-23 51-7.6.76-17.26-.23-28.86-1.4-5.3-.55-11.02-1.13-17.14-1.6V180.6A56 56 0 0 0 189 130v-28.44a130.34 130.34 0 0 1-26.9-19.88c3.35 6.24 7.19 11.9 11.51 16.2-30.57-8.59-51.71-26.16-64.38-39.94C103.39 69.02 92.96 85.23 77 97.57V130a56 56 0 0 0 32 50.61v13.14c-6.95.95-13.41 2.16-19.36 3.27-10.85 2.02-19.98 3.73-27.26 2.98-14.22-1.47-21.88-30.2-22.38-55Z" fill="${p(`${l.hair}`)}"/>`,bun:(a,l)=>`<path d="M151.12 28.28c3.06-2.97 4.88-6.71 4.88-10.78C156 7.84 145.7 0 133 0s-23 7.84-23 17.5c0 4.1 1.85 7.86 4.94 10.84-.99.22-1.95.45-2.9.69-15.1 3.8-24.02 14.62-31.68 30.62a67.68 67.68 0 0 0-6.34 25.83c-.13 3.41.33 6.94 1.25 10.22.33 1.2 2.15 5.39 2.65 2 .1-.66-.07-1.47-.24-2.27-.12-.55-.23-1.1-.26-1.6-.08-1.56 0-3.15.11-4.72.2-2.92.73-5.8 1.65-8.59 1.33-3.98 3.02-8.3 5.6-11.67.97-1.25 1.88-2.7 2.88-4.27 5.63-8.9 13.68-21.6 45.34-22.9 34.3-1.42 46.78 21.66 51.21 29.87.38.7.7 1.3.97 1.75 2.67 4.53 2.78 9.75 2.9 14.91.05 2.71.11 5.41.54 8 .47 2.84 1.54 2.78 2.13.23 1-4.33 1.47-8.83 1.15-13.28-.72-10.05-4.4-36.45-24.6-48.15a65.52 65.52 0 0 0-16.18-6.73Z" fill="${p(`${l.hair}`)}"/>`,curly:(a,l)=>`<path d="M67 105.02c11.38-.72 24.68-14.4 31.98-33.94C108.78 72.94 120.04 74 132 74c12.55 0 24.31-1.16 34.45-3.2 7.38 19.96 21.01 33.87 32.55 34.24V88a66 66 0 0 0-38-59.78A183.64 183.64 0 0 0 132 26c-9.2 0-17.99.63-26.02 1.76A66.01 66.01 0 0 0 67 88v17.02Z" fill="#000" fill-opacity=".16"/><path d="M73 192a48 48 0 0 0 13.6-1.95 72.08 72.08 0 0 0 13.68 9.1c1.56-.1 3.13-.15 4.72-.15h4v-18.39a56.03 56.03 0 0 1-31.8-45.74A12 12 0 0 1 67 123v-13a12 12 0 0 1 10-11.83v-.75c8.46-5.38 16.75-16.36 21.98-30.34C108.78 68.94 120.04 70 132 70c12.55 0 24.31-1.16 34.45-3.2C171.76 81.17 180.32 92.4 189 97.7v.46c.44.07.87.17 1.29.29a24.4 24.4 0 0 0 3.23 1.47A11.99 11.99 0 0 1 199 110v13a12 12 0 0 1-10.2 11.87A56.03 56.03 0 0 1 157 180.6V199h4c1.59 0 3.16.05 4.72.15a72.08 72.08 0 0 0 13.69-9.1 48 48 0 0 0 45.19-82.18 44.01 44.01 0 0 0-28.37-69.28A44.02 44.02 0 0 0 133 15.9a44.02 44.02 0 0 0-63.23 22.7 44.01 44.01 0 0 0-28.37 69.27A48 48 0 0 0 73 192Z" fill="${p(`${l.hair}`)}"/>`,curvy:(a,l)=>`<path d="M89.4 84.2c-4.88 1.3-9.65 2.78-14.4 4.34-11.13 3.64-6.68-6.1-3-14.04l111.79-9.52c6.02 7.33 24.82 41 7.12 27-3.1-2.45-9.57-4.45-12.66-7.27-2.34-2.12-5.16-1.78-6.28-4.48l-2.55.9a375.12 375.12 0 0 1-11.97-4.12l-.55-1.07-1.67.64-9.12-.33c-2.63-.03-13.73.22-16.28.43 0 0-1.23-.92-2.94-2.68l-1.33 3.22s-11.92 1.8-14.08 1.96l-1.06-1.95-2.74 2.97c-3.9.9-13.84 2.83-18.3 4.01Z" fill="#000" fill-opacity=".16"/><path d="M48.6 123.04c-5.7-17.86 2.75-37.13 11.12-47.27 1.48-1.8 3.06-5.11 5.06-9.3 8.34-17.47 23.9-50.05 69.8-50.27 49.93-.24 59.75 36.02 63.66 50.43 1.64 6.08 4.55 11.59 7.38 17.21 4 8 8.4 16.74 9.9 23.05 1.09 4.54 1.7 9.05 1.17 13.7-.12 1.06-1.08 4.22-.48 4.85.54.57 1.88 1.15 3.1 1.67 9.01 3.9 16.1 10.4 19.8 19.62 4.71 11.72-.99 25.47-11.26 32.17-1.4.9-.74 2.7-.76 4.1a74.22 74.22 0 0 1-4.33 23.5c-1.42 3.94-3.17 7.92-6.53 10.98-2.85 2.58-6.94 4.42-10.86 5.52-1.35.38-1.33.78-1.41 1.17-1.15 5.76 2.7 13.12 4.6 18.56 1.5 4.29 3 8.59 3.8 13 1.18 6.42-3.02 27.82-14.12 22.8 5.52-2.64 5.76-8.26 3.88-9.84-4.34-3.62-11.76-1.59-16.9-.74-3.7.61-7.63 1.25-11.15.43a31.34 31.34 0 0 1-10.6-4.84c-17.65-13.97-13.84-37.04 1.07-64.4l-.55-.03c-1.1-.06-1.67-.1-3-.1h-4v-18.39A56 56 0 0 0 189 130V92c0-1.47-.05-2.94-.16-4.38a68.09 68.09 0 0 0-3.66-1.86c-2.58-1.24-5.24-2.53-6.91-4.05a10.2 10.2 0 0 0-3-1.76c-1.39-.6-2.62-1.14-3.28-2.72l-2.55.9a373.94 373.94 0 0 1-11.97-4.12l-.55-1.07-1.67.64-9.12-.33c-2.63-.03-13.73.22-16.28.43 0 0-1.23-.92-2.94-2.68l-1.33 3.22s-11.92 1.8-14.08 1.96l-1.06-1.95-2.74 2.97c-1.43.33-3.66.8-6.13 1.31-4.3.9-9.34 1.95-12.17 2.7a248.15 248.15 0 0 0-11.93 3.53c-.31 2.38-.47 4.8-.47 7.27v38a56 56 0 0 0 32 50.61V199h-4a72.2 72.2 0 0 0-16.4 1.87c-.1.17-.22.32-.32.5-4.78 6.95-13.87 12.39-17.46 19.5-1.47 2.9.19 7.82 1.66 10.55 3.2 5.9 11.15 8.66 19.52 7.33-2.53 2.12-7.55 3.82-10.95 3.94-4.63.17-10.29-1.62-14.26-3.58.6 3.6 2.68 5.62 4.62 8.6-5.52-.28-10.88-7.06-12.68-12.05-2.2 4.51-3.44 16.64-2.35 20.03-14.14-6.34-25.13-19.44-24.3-35.66.54-10.56 7.15-18.9 9.48-28.9.46-1.96.14-2.38-1.05-3.94l-.05-.07c-4.38-5.73-9.62-10.69-12.43-17.48-2.54-6.13-2.63-13.18-.64-19.5 2.21-7.08 9.06-14.16 14.84-20.14a105.5 105.5 0 0 0 6.37-6.95Z" fill="${p(`${l.hair}`)}"/><path d="m164.5 199.2.26-.06s4.44-9.02 11.25-17.38c-1.33-10.43 5.86-23.71 5.86-23.71l-.35-.08A56.25 56.25 0 0 1 157 180.62V199h4c1.32 0 1.88.04 3 .1l.54.04-.04.07ZM82.27 153.74l-.14.06c6.02 9.99 13.63 36.95 6.55 46.66l.25.34A72.25 72.25 0 0 1 105 199h4v-18.39a56.23 56.23 0 0 1-26.73-26.87Z" fill="#000" fill-opacity=".24"/><g fill="#fff" fill-opacity=".6"><path d="M118.38 50.37c1.51-1.85 2.89-3.83 3.5-6.16.23-.87.47-1.77.89-2.3-4.76 4.99-8.8 9.91-12.3 15.63.77-1.02 2.73-2.02 3.76-2.91a34.94 34.94 0 0 0 4.15-4.25ZM171.5 41.98c-.3 3.5.47 6.94.63 10.4 0-.34.34-.92.65-1.47a6.98 6.98 0 0 0 .92-4.42c-.14-1-.55-1.95-1.07-2.85-.2-.36-1.12-1.33-1.12-1.66ZM56.4 120.38a88.61 88.61 0 0 0 4.47 18c2.06 5.72 4.42 11.46 7.8 16.69 3.17 4.87 6.93 9.42 9.96 14.36-.46-.55-1.22-1.17-1.9-1.73-.49-.4-.94-.76-1.2-1.05-3.23-3.4-5.82-7.2-8.29-11.04-3.25-5.07-5.69-10.58-7.8-16.08-4.14-10.78-8.3-23.85-4.7-35.24-.2.77.5 2.43.6 3.2.62 4.27.48 8.6 1.07 12.88ZM54.77 104.2a.76.76 0 0 0-.02.09l.02-.09ZM78.63 169.43c.5.58.35.56 0 0ZM68.86 165.04c-2.46-3.54-5.05-7.16-7.09-10.9-1.78-3.27-3.05-6.85-5.29-9.85-.32-.44-.72-.97-.8-1.32.68 6.15 3.45 12.74 7.73 17.3 1.56 1.67 4.09 3.04 5.45 4.77ZM64.08 171.32c3.55 3.82 6.94 7.76 9.45 12.18 1.75 3.07 3.22 6.64 3.46 10.21.04.53.08 1.2.2 1.57-2.22-4.29-3.91-8.83-6.55-12.94-2.6-4.05-5.95-7.78-9.44-11.28-3.7-3.7-7.41-7.18-9.4-11.85a25.53 25.53 0 0 1-1.99-12.55c.02 1.24.76 2.82 1.44 4.28 1.47 3.14 2.07 6.6 3.67 9.7 2.13 4.08 5.96 7.24 9.17 10.68ZM59.23 174.18c-.5-.49-2.41-1.69-2.75-2.3l-.03-.06.03.06c.7 1.5 1.48 2.95 2.22 4.43 1.53 3.08 3.71 5.71 5.93 8.4l1.08 1.3c-.8-1.02-1.02-3.29-1.53-4.5a21.43 21.43 0 0 0-4.95-7.33ZM48.9 180.53a83.67 83.67 0 0 0 3.73 5.02c1.9 2.43 3.8 4.86 5.25 7.5 2.83 5.2 4.07 10.81 4.32 16.55.12 2.7.12 5.46-.25 8.16-.24 1.77-.54 3.6-1.22 5.25-.25.6-.54 1.32-.63 1.84-.06-2.32-.03-4.64 0-6.95.13-8.2.25-16.3-4.02-23.96-1.58-2.83-3.68-5.4-5.78-7.99a90.37 90.37 0 0 1-3.9-5.02c-2.78-3.96-5.5-7.85-7.72-12.08 1.36 1.72 3.8 3.07 5.32 4.77 1.9 2.13 3.35 4.58 4.9 6.9Z"/><path d="M60.1 224.85c-.08.53.01.4 0 0ZM50.54 204l.02-1.5c0 .5.82 1.51 1.04 2.03 1.61 3.75 1.57 7.5.09 11.32-1.9 4.9-4.88 9.25-8.62 13.3.83-1.09 1.35-2.6 1.85-4.06 1.01-2.94 2.6-5.62 3.8-8.49 1.68-4.01 1.73-8.32 1.81-12.6ZM41.92 221.2a9.46 9.46 0 0 0 2.25-4.13c.2-.9-.41-2.68 0-3.38a13.66 13.66 0 0 0-1.85 3.64c-.2.69 0 3.32-.4 3.87ZM84.86 64.32a63.3 63.3 0 0 0 9.77-11.2 34.6 34.6 0 0 0 3.22-5.6c.13-.28.3-.87.48-1.54.3-1.09.65-2.4 1.04-2.97-2.7 2.9-4.84 6-7.03 9.17-1.45 2.12-2.99 4.18-4.34 6.37-.36.58-.68 1.35-1.03 2.14-.59 1.37-1.22 2.83-2.1 3.63ZM83.84 55.69c.14-.62.27-1.22.47-1.57.75-1.32 1.9-2.45 3.18-3.41-.35.3-.58 1.16-.79 1.95-.15.54-.28 1.05-.44 1.33a15.8 15.8 0 0 1-3.17 3.75c.36-.35.56-1.22.74-2.04ZM83.07 57.75l.03-.02-.03.02ZM203.8 150.6c.6-3.33 1.25-6.84 2.94-9.84.76-1.36 1.68-2.68 2.6-3.98.48-.7.94-1.38 1.35-2.11.66-1.16 1.46-2.56 2.26-3.03-4.16 2.43-7.42 5.54-9.16 9.64-.88 2.07-1.2 4.2-1.09 6.39.08 1.57.76 3.24.77 4.77.08-.62.2-1.23.32-1.85ZM202 130.48a22.88 22.88 0 0 1-1 3.63 25.14 25.14 0 0 1-1.77 3.74c-.43.75-1.98 2.32-1.98 3.15-.09-4.9 1.73-9.33 5.17-13.25-.38.65-.28 2.03-.42 2.74ZM201.2 165.72c2.28-.03 4.82 2.52 6.51 4.22 2.42 2.43 5.14 4.56 7.2 7.31l.06.07-.05-.07c-.68-.96-.7-2.74-1.23-3.85-.72-1.5-1.82-2.9-3.06-4.13-2.32-2.29-5.77-4.07-9.42-3.55ZM200.42 176.1c-.18-.06-1.78-.52-2.28-.35.59-.26 1.3-.57 1.93-.65 4.28-.57 9.5 3.14 10.07 6.72-.48-1.23-3.03-2.24-4.18-2.85-1.82-.97-3.56-2.14-5.54-2.87ZM198.14 175.75l-.06.03.03-.02h.03ZM202.23 183.9a7.6 7.6 0 0 0-3.79-.13c-.47.13-1.44.42-1.56.39 2.82.66 5.47.98 8.4.91-.44 0-1.16-.34-1.84-.66-.47-.22-.9-.43-1.21-.5ZM191.01 197.76c-.13 0-.13.01 0 0ZM191.01 197.76c4.26-.22 9.25.4 13.3 1.42a22.3 22.3 0 0 1 5.7 2.3c1.4.81 3.93 1.93 4.87 3.13-3.74-6.44-11.85-9.79-20.16-8.13-1.06.22-2.67 1.2-3.7 1.29ZM192.76 210.27c3.23.42 6.55-.07 9.77-.44 1.38-.15 3.03-.86 4.38-.49a23.55 23.55 0 0 0-8.4-1.17c-2.93.13-5.9 1.06-8.59 2.03.68-.2 1.81-.06 2.84.07ZM179.36 220.67c-.06 2.23-.04 4.52.1 6.74.25 3.97 2.55 7.44 5.93 10.08a32.36 32.36 0 0 0 4.34 2.72c2.51 1.39 5 2.76 6.63 5.1 2.15 3.1 2.33 6.96.82 10.36-.25.56-.51 1.16-.52 1.58v-.05c.03-3.87.07-8.36-2.64-11.6-1.59-1.9-3.87-3.1-6.16-4.29-1.63-.85-3.28-1.7-4.67-2.83-3.27-2.64-5.76-6.1-6.32-9.98-.45-3.13-.23-8.58 2.98-10.73-.6.45-.48 2.35-.5 2.9ZM179.9 217.74a.43.43 0 0 0-.04.03l.05-.03ZM177 242.67l.08.08a.69.69 0 0 1-.07-.08ZM188.15 255.52c-.2-5.11-3.7-8.96-7.94-11.34-.6-.34-2.6-.93-3.13-1.43 2.96 3.24 6.32 6.21 8.96 9.73.46.6 2.06 2.3 2.11 3.04ZM188.15 255.55v-.03.03ZM229.17 153.8a11.45 11.45 0 0 1 2.67 3.7 12.62 12.62 0 0 1 .6 10c.14-.52-.15-1.47-.38-2.22-.55-1.76-1.07-3.5-1.76-5.22-1.18-2.91-2.14-5.64-4.18-8.2.54.67 2.32 1.3 3.05 1.93ZM179.15 48.8a5.72 5.72 0 0 1-.97 3.75c.09-.2-.12-1.1-.28-1.84-.34-1.47-.14-2.96-.04-4.47 0 .64 1.18 1.77 1.29 2.57ZM127.57 50.07c-.73 1.16-2 2.11-3.3 2.78.58-.33 1.1-2 1.54-2.55.73-.94 1.63-1.84 2.58-2.63-.21.22-.61 2.05-.83 2.4Z"/></g>`,dreads:(a,l)=>`<path d="M242.13 168.86c4.84 6.8 11.1 14 12.25 22.06.45 3.2.7 16.23-7.54 11.43-.27 4.36-.97 4.98.34 9.2.88 2.86 2.08 8.62-3.87 8.1 2.26 6.17 5.88 14.76 2.48 21.16-5.58 10.51-11.89-2.74-13.57-7.49.1 3.28-3.42 9.2-7.84 4.63.35 5.42 2.52 13.78-.66 18.86-6.16 9.85-12.97-2.62-13.2-7.9-1.11 3.56-.28 12.14-7.6 10.15-6.32-1.71-4.03-10.09-2.8-13.87-2.02 3.56-4.5 8.85-4.88 12.87-.34 3.45 2.94 11.57-5.55 10.05-6.52-1.17-6.76-10.9-6.65-15.18.1-3.48 3.46-11.43 1.18-14.25-12.73 5.34.6 23.3-10.95 27.3-3.84 1.32-7.04-1.18-8.32-4.64.4-1.7-.36-2.56-2.28-2.6-1.21-1.49-2.01-1.44-2.8-3.66-2.31-6.52 2.2-15.19 5.43-21-3.35 3.05-6.05 7.25-9.7 9.91-2.45 1.8-6.08 2.31-8.38-.17-2.51-2.73-.13-5.34 1.22-7.82 3-5.49 7.73-8.68 12.67-13.08 4.33-3.85 8.18-8.18 12.01-12.37 2.57-2.8 5.01-5.8 7.06-8.97A72.1 72.1 0 0 0 161 199h-4v-18.39a56.24 56.24 0 0 0 25.8-24.98c.1-3.28.28-7.11.47-11.2.54-12.09 1.19-26.4.48-35.34l-.2-2.58c-1.12-14.36-1.8-23.03-12-36.06-4.56-5.83-13.18-7.67-21.72-9.5-8.09-1.73-16.1-3.45-20.51-8.51-4.13 4.78-10.14 7.32-16.74 8.99-1.45.37-2.9.67-4.34.96-4.98 1.03-9.7 2-13.08 5.6-7.8 8.32-11.23 13.88-13.62 24.26A116.55 116.55 0 0 0 79 126.83c.13 1.88.22 3.78.32 5.69.35 7.1.71 14.32 2.9 21.1a56.23 56.23 0 0 0 26.78 27V199h-4c-1.1 0-2.2.03-3.28.07.67 3.44 1.09 6.93.81 10.34-.4 5-1.34 9.66-.85 14.7 1.04 10.52 5.41 20.5 9.02 30.52 1.73 4.82 9.36 10.49 6.23 14.46-3.13 3.98-13.81-5.47-16.2-10.05-2.44-4.66-4.65-9.4-7.18-14.03 1.48 6.46 2.77 13.1 4.8 19.41 1.36 4.27 3.43 10.72-2.28 11.94-8.95 1.91-9.3-12.58-10.18-16.9-1.47-7.19-3.1-9.98-5.5-16.97-.49 5.34.34 10.9-.81 16.2-.7 3.19-4.36 5.83-6.56 8.53-7.53 9.28-9.32-6.28-11.23-10.55-3.3 2.4-10.5 7.16-14.9 4.14-3.26-2.23-1.2-6.27-.44-9.03 1.22-4.45 1.94-8.85-1.31-12.87-3.1 3-9.92 4.75-13.88 1.88-5-3.63-.62-8.94 1.63-12.7 4.33-7.26 4.07-15.87 5.44-23.94.46-2.7 1.06-6.26.3-8.12-1.1-2.68-2.3-2.7-4.74-2.1-3.45.87-6.29 2.8-6.87 5.58-.84 4.03 3.57 5.62 3.93 9.12.77 7.55-8.7 4-11.53.62-6.95-8.36-1.26-18.23 4.21-25.56 1.87-2.5 2.4-3.22 2.02-6.48-.77-6.41-2.5-12.18-1.88-18.72.86-8.97 4.3-17.44 9.35-24.82 3.46-5.06 5.29-9.45 5.79-15.57 1.41-17.39 7.32-35.28 15.05-50.74 3.97-7.93 7.96-16.5 14.83-22.4 2.23-1.91 6.24-2.8 8.17-4.65 3.56-3.43.44-9.5 4.95-13.39 3.78-3.25 8.17-2.17 12.28-3.93 4.21-1.81 5.11-7.42 10.21-8.61 5.16-1.2 9.29 2.18 13.66 3.8 6.43 2.38 10.45 1.69 16.76-.3l.08-.03c4.2-1.33 6.95-2.2 10.89.1 2.55 1.5 4.52 5.95 7.65 6.37 3.8.52 9.14-3.04 13.35-2.9 6.45.2 9.59 4.24 12.25 8.55 1.55 2.5 4.4 3.67 6.1 6.15.62.9 1.24 1.8 2.13 2.61 6.31 5.77 14.58 10.25 21.37 15.68 12.66 10.15 15.66 23.88 16.48 37.83.66 11.18-.37 24.31 6.74 34.31 3.71 5.22 7.82 9.73 10.02 15.85.78 2.19 1.85 5.2.51 7.12-1.8 2.58-6.36 2.6-8.31.14-1.9 5.87 4.57 14.35 8.03 19.22Z" fill="${p(`${l.hair}`)}"/><path d="M182.5 156.2c-.07 3 0 5.98.38 8.86.33 2.5.84 4.91 1.34 7.31 1.13 5.33 2.23 10.56 1.3 16.27-.75 4.53-2.73 8.87-5.36 12.94A72.09 72.09 0 0 0 161 199h-4v-18.39a56.24 56.24 0 0 0 25.5-24.4ZM101.72 199.07a125 125 0 0 0-1.23-5.48c-2.14-8.82-6.42-16.63-10.77-24.55-1.9-3.46-3.8-6.94-5.56-10.53a37.08 37.08 0 0 1-1.95-4.89 56.23 56.23 0 0 0 26.8 27V199h-4c-1.1 0-2.2.03-3.28.07Z" fill="#000" fill-opacity=".24"/><path d="M102.48 33.5c-1.67 0-12.16 4.75-8.24 6.16 2.4.86 12.5-6.15 8.24-6.15ZM171.05 47.36c-.85.38-.83.73.04 1.07.85-.38.83-.74-.04-1.07ZM195.51 65.6a26.84 26.84 0 0 0-1.37-2.76c-.89-1.27-6.24-8.4-2.47-7.5 2.08.48 4.89 6.17 6.15 8.74.78 1.57 4.28 7.12.72 6.75-.63-.07-1.95-2.92-3.03-5.23ZM204.02 110.75c-.15-1.17.25-4.76-2.46-3.42-1.8.9.67 11.72.82 13.13l.46 3.95v.03c.6 6.07 1.42 12.1 1.33 18.23-.01.76-1.2 6.66 1.55 5.4 1.46-.66.78-8.74.57-11.2-.74-8.72-1.11-17.46-2.27-26.12ZM65.36 122.25c.08 1.58-.7 9.75 1.43 9.8 1.83.04 1.24-8.4 1-11.83-.08-1.08-.08-11.14-2.1-9.91-2.32 1.4-.46 9.52-.34 11.94ZM73.8 180c0-1.43.82-14.45-1.9-11.38-1.37 1.54-.48 7.02-.35 8.88.05.7-.52 2.86.41 3.19.76.26 1.83.32 1.84-.7ZM48.12 193.16c1.93-.05.14-37.83-2.82-37.79-2.08.03 1.36 37.83 2.82 37.8ZM50.35 212.52c-2.4 0-1.95 8.46-.54 9.13 2.14 1.03 3.23-9.13.54-9.13ZM65.59 216.06c.02 1.05-1.18 1.07-1.98.74-.72-.3-.63-2.31-.58-3.49.05-1.1-.15-2.2-.31-3.29-.5-3.38-1.26-8.48.04-9.65 1.98-1.78 2.02.17 2.55 1.5 1.56 3.9.2 10.03.28 14.19ZM203.02 169.59c-2.53-.5-3.85 8.1-2.7 9.01 1.92 1.53 5.35-8.49 2.7-9.01ZM202.75 207.38c-1.13-.22-9.43 15.74-8.75 16.64 1.3 1.72 12.83-15.82 8.75-16.64ZM182.33 214.76c-1.78-.8-9.33 10.75-7.4 11.62 1.75.78 9.56-10.65 7.4-11.62ZM224.43 171.45c-2.16 0-2.06 11.82-.4 12.56 1.7.78 2.94-12.56.4-12.56ZM83.51 54.2c1.26-.65 5.45-.87 3.1 1.29-2 1.84-9.53 12.51-12.12 12.62-4.22.18 2.59-7.24 4.76-9.6 1.33-1.45 2.49-3.41 4.26-4.32ZM59.25 83.98c-2.18-.43-5.83 10.27-4.56 11.56 1.93 1.95 7.01-11.07 4.56-11.56ZM81.4 201.85c.48-2.6 2.38-.2 2.8 1.14.4 1.34 4.62 11.08 3.56 12.36-1.63 1.97-2.34-1.37-2.9-2.57-1.31-2.83-3.92-8.43-3.46-10.93ZM75.99 225.82c-2.3 0-2.03 9.8-.67 10.38 2.12.9 3.48-10.38.67-10.38ZM232.81 203.88a58.4 58.4 0 0 1 4.98 13.57c.14.6 2.06 5.56-.66 4.84-1.56-.41-1.8-4.78-2.2-6.1a32.5 32.5 0 0 0-2.58-5.56c-1.41-2.63-2.85-5.31-3.06-7.64-.33-3.9 1.84-2.42 3.52.89ZM218.09 216.95c-2.13 0-2.24 10.77-.9 11.4 1.86.88 3.62-11.4.9-11.4ZM224.25 128.65c1.58-.4-3.4-13.32-5.18-13.18-2.7.22 2.78 13.8 5.18 13.18ZM197.43 184.75c-.84.38-.83.74.05 1.07.84-.38.83-.74-.05-1.07ZM173.22 239.99c.79 0 1.12-1.23-.06-1.25-.77 0-1.18 1.25.06 1.25ZM74.68 184.63c.03-1.9-2.46-.5-2.45 1.1.03 3.21 2.4 1.75 2.45-1.1ZM68.52 136.88c-.8 0-1.13 1.24.05 1.27.78 0 1.2-1.27-.05-1.27ZM47.78 199.44c-.1 0 1.53-1.99 1.6-.05.07 1.47-1.31.06-1.6.05ZM53.6 98.06c-2.37 0-2.02 5.76-.51 6.13 2.52.61 2.86-6.13.5-6.13ZM66.21 222.33c-2.28 0-2.44 7.8-.86 8.3 2.45.75 3.24-8.3.86-8.3ZM47.46 227.93c-.88.4-.86.76.04 1.1.87-.39.86-.75-.04-1.1ZM217.46 231.28c-2.32 0-2.23 9.56-.8 10.2 1.98.9 3.48-10.2.8-10.2ZM193.95 240.16c-2.41-.48-3.68 7.4-2.55 8.3 1.85 1.45 5.02-7.8 2.55-8.3ZM173.47 247.45c-2 0-1.51 3.58-.36 4.1 2 .93 2.6-4.1.37-4.1Z" fill="#fff" fill-opacity=".3"/>`,frida:(a,l)=>`<path d="M77 98.17v-.23l.08.06c1.7-27.45 17.84-33.2 32.51-38.41 10.53-3.75 20.3-7.22 23.4-18.25 3.12 11.03 12.89 14.5 23.42 18.25 14.67 5.22 30.82 10.96 32.5 38.41l.1-.06v.23a12 12 0 0 1 9.88 10.22 16.43 16.43 0 0 0 2.97-16.92 16.49 16.49 0 0 0-2.46-25.86 16.5 16.5 0 0 0-10.62-23.04 20.5 20.5 0 0 0-27.73-22.16A20.47 20.47 0 0 0 133 15.52a20.47 20.47 0 0 0-28.05 4.87 20.5 20.5 0 0 0-27.73 22.16A16.5 16.5 0 0 0 66.2 64.7a16.5 16.5 0 0 0-2.51 28.07 16.5 16.5 0 0 0 3.4 15.62A12 12 0 0 1 77 98.17ZM77.2 134.87c-3.85-.58-7.11-3-8.85-6.34a16.5 16.5 0 0 0 8.2 25.71 16.52 16.52 0 0 0 14.76 20.72A16.5 16.5 0 0 0 109 184.8v-4.2a56.03 56.03 0 0 1-31.8-45.74ZM157 180.61v4.2a16.5 16.5 0 0 0 17.69-9.85 16.5 16.5 0 0 0 14.76-20.71 16.5 16.5 0 0 0 8.2-25.72c-1.74 3.34-5 5.76-8.86 6.34A56.03 56.03 0 0 1 157 180.6Z" fill="${p(`${l.hair}`)}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M170.12 28.36c-.4.12-.77.27-1.13.45-.17-.5-.38-1-.62-1.48 3.72-3.63 5.25-9.54 5.25-9.54s-1.16.2-3.1.64c-.27.04-3.78.6-8.24 2.31-.8-.58-1.54-1.04-2.1-1.38.52-2.93 1.68-12.56-4.46-16.11-6.1-3.54-13.8 2.2-16.12 4.14l-.7-.42c-3.07-1.77-10.77-5.35-16.05-.23-5.64 5.46-2.31 14-1.04 16.7l-.55.53a7.14 7.14 0 0 0-8.17-1.63l-2.13.93-1.38-1.88a7.24 7.24 0 0 0-8.29-2.54c-2.69.94-4.49 3.2-4.8 6.05l-.26 2.32-2.32.25a7.12 7.12 0 0 0-6.05 4.81 7.22 7.22 0 0 0 .83 6.53 4.2 4.2 0 0 0-2.74.06c.27-.4.48-.77.59-1.13a5.2 5.2 0 0 0-9.95-3.04c-.1.36-.15.8-.14 1.27-.3-.38-.59-.7-.9-.91a5.2 5.2 0 0 0-5.96 8.52c.3.21.7.38 1.16.53-.45.15-.84.34-1.14.56a5.17 5.17 0 0 0-1.02 7.29 5.16 5.16 0 0 0 7.28 1.02c.3-.22.58-.55.86-.93 0 .47.07.9.19 1.25a5.2 5.2 0 0 0 9.83-3.39 4.23 4.23 0 0 0-.62-1.1c.45.15.88.22 1.25.22a5.18 5.18 0 0 0 3.36-1.32 7.2 7.2 0 0 0 2.13 4.44 7.15 7.15 0 0 0 8.06 1.52l2.13-.93 1.38 1.88c.29.38.6.74.94 1.05-.52.51-1.06 1-1.64 1.44-.47-.3-1.12-.7-1.92-1.06a11.98 11.98 0 0 0-13.25 1.82C84.62 61.46 83 67.7 83 67.7s7.37 4.17 15.26.42c5.9-2.8 6.53-7.22 6.48-9.26.78-.64 1.54-1.33 2.26-2.07a7.27 7.27 0 0 0 5.72.36 7.12 7.12 0 0 0 4.8-6.05l.26-2.32 2.32-.26a7.11 7.11 0 0 0 5.3-3.24c2.57.32 4.97.13 6.2-.01.99 1.88 3.82 6.71 7.88 9.06a9.1 9.1 0 0 0 5.07 1.33c6.9-.36 9.92-10 10.67-12.92.64-.09 1.6-.24 2.71-.51a7.36 7.36 0 0 0 .15 8.25 7.4 7.4 0 0 0 5.93 3.16c.53 0 1.14-.1 1.78-.3-.4.55-.7 1.07-.88 1.58a7.4 7.4 0 0 0 13.65 5.65l.34.62c-.71 1.48-3.8 8.96 5.53 12.36 6.77 2.46 13.45-1.15 13.5-1.17 0 0-2.07-9.48-9.46-12.55a7.38 7.38 0 0 0 3.7-7.5 7.35 7.35 0 0 0-2.87-4.87 6.05 6.05 0 0 0-1.62-.8c.64-.21 1.21-.45 1.65-.76a7.4 7.4 0 0 0-8.5-12.12c-.43.3-.85.76-1.26 1.3 0-.68-.05-1.3-.2-1.81a7.35 7.35 0 0 0-3.6-4.37 7.36 7.36 0 0 0-5.65-.54Zm-4.08 10.84a8.2 8.2 0 0 0-.73-.22l.4-.3c.1.17.2.34.33.52Zm14.35 20.08.48.33c-.36.17-.67.35-.93.52-.33-.6-.6-1.15-.8-1.65.02-.17.03-.35.03-.53a6 6 0 0 0 1.22 1.33ZM92.2 42.12l-.12-.32.2.15-.08.17Z" fill="#000" fill-opacity=".2"/><path d="M179.03 58.94s-4.98 8.83 5.4 12.6c6.8 2.48 13.5-1.16 13.5-1.16s-2.16-9.9-9.97-12.75c-6.1-2.22-8.93 1.3-8.93 1.3Z" fill="#5DD362"/><path d="M197.93 70.38s-2.16-9.9-9.97-12.75c-4.07-1.48-6.7-.39-8.02.5-1.36-2.4-1.47-4.18-1.45-4.25.03-.3-.2-.53-.46-.63-.07-.02-.2-.07-.3-.03-.39.01-.67.37-.66.75 0 .23.35 4.54 4.63 8.83 6.05 6.6 16.23 7.58 16.23 7.58Z" fill="#42BC53"/><path fill-rule="evenodd" clip-rule="evenodd" d="M166.22 27c5.28-3.06 7.4-11.2 7.4-11.2s-7.38-4.18-15.26-.43c-7.89 3.74-6.37 10.37-6.37 10.37s6.61 5.65 14.23 1.25Z" fill="#5DD362"/><path fill-rule="evenodd" clip-rule="evenodd" d="M148 29.43c.05.08.1.17.24.2.42.34 1.09.3 1.42-.12a23.68 23.68 0 0 1 3.26-3.15c1.97 1.41 7.33 4.1 13.3.64 5.28-3.06 7.4-11.2 7.4-11.2s-1.16.2-3.1.63c-.54.07-14.38 2.3-22.36 11.87a.96.96 0 0 0-.16 1.13Z" fill="#42BC53"/><path fill-rule="evenodd" clip-rule="evenodd" d="M90.4 54.5C85.1 57.55 83 65.7 83 65.7s7.37 4.17 15.26.42c7.88-3.74 6.36-10.37 6.36-10.37s-6.6-5.65-14.23-1.25Z" fill="#5DD362"/><path fill-rule="evenodd" clip-rule="evenodd" d="M108.61 52.06c-.05-.08-.1-.17-.23-.2-.42-.34-1.1-.3-1.43.12a23.6 23.6 0 0 1-3.26 3.16c-1.97-1.41-7.32-4.1-13.3-.64-5.28 3.05-7.4 11.2-7.4 11.2s1.16-.2 3.1-.64c.54-.07 14.39-2.3 22.37-11.87.3-.3.35-.8.15-1.14Z" fill="#42BC53"/><path d="M68.58 49.96a5.17 5.17 0 0 1 1.02-7.29c.3-.22.7-.4 1.14-.56a4.26 4.26 0 0 1-1.16-.53 5.2 5.2 0 0 1 5.96-8.52c.31.21.6.53.9.91 0-.47.03-.9.14-1.27a5.16 5.16 0 0 1 6.5-3.45 5.2 5.2 0 0 1 3.45 6.5c-.11.35-.32.73-.59 1.12.45-.15.87-.24 1.25-.25a5.2 5.2 0 0 1 .18 10.4c-.37 0-.8-.07-1.25-.2.28.37.5.74.62 1.1a5.2 5.2 0 1 1-9.83 3.38 4.23 4.23 0 0 1-.2-1.25c-.27.38-.55.7-.85.93a5.17 5.17 0 0 1-7.28-1.02Z" fill="#4ACAD3"/><path fill-rule="evenodd" clip-rule="evenodd" d="M81.82 37.64a1.44 1.44 0 1 0-2.76-.84c-.23.76.23 4.18.23 4.18s2.3-2.58 2.53-3.34Zm2.24 5.8a1.44 1.44 0 1 0-.05-2.9c-.8.02-3.9 1.52-3.9 1.52s3.16 1.4 3.95 1.38Zm-6.05-2.02s-1.74-2.98-2.4-3.44a1.44 1.44 0 1 0-1.65 2.37c.65.45 4.05 1.07 4.05 1.07Zm3.07 6.84a1.44 1.44 0 0 0 .9-1.84c-.26-.75-2.65-3.25-2.65-3.25s-.35 3.44-.09 4.2a1.44 1.44 0 0 0 1.84.89Zm-5.32-1.96c.64-.48 2.27-3.52 2.27-3.52s-3.37.73-4 1.2a1.44 1.44 0 1 0 1.73 2.32Z" fill="#fff"/><path d="m117.53 49.1.25-2.32 2.32-.26a7.12 7.12 0 0 0 6.05-4.8 7.23 7.23 0 0 0-2.55-8.29l-1.87-1.38.93-2.13c1.23-2.8.65-5.9-1.52-8.06a7.14 7.14 0 0 0-8.06-1.52l-2.13.93-1.38-1.88a7.24 7.24 0 0 0-8.29-2.54c-2.69.94-4.49 3.2-4.8 6.05l-.26 2.32-2.32.25a7.12 7.12 0 0 0-6.05 4.81 7.2 7.2 0 0 0 1.67 7.53c.27.27.56.52.87.76l1.88 1.38-.93 2.13a7.15 7.15 0 0 0 1.52 8.06 7.15 7.15 0 0 0 8.06 1.52l2.13-.93 1.38 1.88a7.23 7.23 0 0 0 8.29 2.54 7.12 7.12 0 0 0 4.8-6.05Z" fill="#FDB599"/><path fill-rule="evenodd" clip-rule="evenodd" d="M109.88 41.2a1.44 1.44 0 1 1-2.78.74c-.2-.77-.1-5.94-.1-5.94s-2.5 4.53-3.06 5.1a1.44 1.44 0 0 1-2.03-2.05c.56-.56 5.1-3.05 5.1-3.05s-5.17.1-5.94-.1a1.44 1.44 0 0 1 .75-2.78c.77.2 5.19 2.88 5.19 2.88s-2.68-4.42-2.88-5.2a1.44 1.44 0 1 1 2.78-.74c.2.77.1 5.94.1 5.94s2.5-4.53 3.05-5.1a1.44 1.44 0 0 1 2.04 2.05c-.56.56-5.1 3.05-5.1 3.05s5.17-.1 5.94.1a1.44 1.44 0 1 1-.75 2.78C111.42 38.68 107 36 107 36s2.67 4.42 2.88 5.2Z" fill="#fff"/><path d="M190.76 55.82a7.36 7.36 0 0 0-1.46-10.36 6.06 6.06 0 0 0-1.62-.8c.64-.21 1.21-.45 1.65-.76a7.4 7.4 0 0 0-8.5-12.12c-.43.3-.85.75-1.26 1.3 0-.68-.05-1.3-.2-1.81a7.35 7.35 0 0 0-3.6-4.37 7.4 7.4 0 0 0-10.55 8.7c.15.5.44 1.04.82 1.6a6 6 0 0 0-1.77-.36 7.4 7.4 0 0 0-.26 14.8c.53 0 1.14-.1 1.78-.3-.4.55-.7 1.07-.88 1.58a7.4 7.4 0 0 0 14 4.81 6 6 0 0 0 .26-1.78c.4.55.8 1 1.22 1.33a7.35 7.35 0 0 0 5.49 1.42 7.35 7.35 0 0 0 4.88-2.88Z" fill="#F7D30C"/><path fill-rule="evenodd" clip-rule="evenodd" d="M171.9 38.3a2.05 2.05 0 1 1 3.94-1.2c.33 1.08-.33 5.94-.33 5.94s-3.27-3.66-3.6-4.74Zm-3.18 8.25a2.06 2.06 0 1 1 .07-4.11c1.13.02 5.56 2.15 5.56 2.15s-4.5 1.97-5.63 1.96Zm8.62-2.88s2.47-4.24 3.4-4.89a2.06 2.06 0 1 1 2.36 3.37c-.93.65-5.76 1.52-5.76 1.52Zm-4.38 9.73a2.06 2.06 0 0 1-1.27-2.6c.37-1.08 3.76-4.63 3.76-4.63s.5 4.89.13 5.96a2.06 2.06 0 0 1-2.62 1.27Zm7.57-2.79c-.9-.68-3.23-5-3.23-5s4.8 1.04 5.7 1.72a2.06 2.06 0 1 1-2.47 3.28Z" fill="#fff"/><path d="M169.14 31.55c1.82-6.99-6-12.42-8.95-14.19.5-2.93 1.67-12.56-4.47-16.11-6.1-3.54-13.8 2.2-16.12 4.14l-.7-.42c-3.07-1.77-10.77-5.35-16.05-.23-5.64 5.46-2.31 14-1.04 16.7-2.15 2-8.38 8.59-5.81 15.58a8.55 8.55 0 0 0 3.88 4.54c4.03 2.34 9.6 1.96 11.72 1.7 1 1.89 3.83 6.72 7.89 9.07a9.1 9.1 0 0 0 5.07 1.33c6.9-.36 9.92-10 10.67-12.92 2.86-.4 12.09-2.2 13.92-9.2Z" fill="#FF7398"/><path fill-rule="evenodd" clip-rule="evenodd" d="M142.76 25.6s3.69 8.2.36 8.71c-3.34.52-1.46-8.59-1.46-8.59s-7.11 6-8.15 3.03c-1.04-2.98 7.7-4.05 7.7-4.05s-7.98-4.7-5.38-6.83c2.59-2.15 6.21 6.09 6.21 6.09s1.94-8.92 4.82-7.26c2.88 1.67-3.86 7.82-3.86 7.82s8.88-1 8.37 2.35c-.5 3.34-8.6-1.27-8.6-1.27Z" fill="#fff"/><rect x="191" y="129" width="2" height="39" rx="1" fill="#E6E6E6"/><path d="M202 166h-9.43l6.43-17h-11l-6 21h8.64L186 189l16-23Z" fill="#9177FF"/>`,fro:(a,l)=>`<path d="M94.7 69.39c-4.62 24.47-16 42.72-25.74 41a7.49 7.49 0 0 1-1.96-.63V89a65.93 65.93 0 0 1 28.4-54.24c.48 2.39.83 4.99 1.05 7.77a262.85 262.85 0 0 1 36.9-2.44c13.27 0 25.67.85 36.22 2.34.22-2.74.57-5.3 1.05-7.67A65.92 65.92 0 0 1 199 89v20.76c-.62.3-1.28.52-1.95.63-9.72 1.72-21.09-16.48-25.73-40.9a260.5 260.5 0 0 1-37.97 2.59c-14.3 0-27.6-1-38.65-2.7Z" fill="#000" fill-opacity=".16"/><path d="M133 0c-11.21 0-21.9 2.2-31.69 6.18-.92-.12-1.86-.18-2.81-.18-6.7 0-12.77 3.07-17.2 8.06-18.04.93-33.46 13.3-40.77 30.9C32.5 49.56 27 59.04 27 70c0 .58.02 1.15.05 1.73A62.11 62.11 0 0 0 17 106c0 7.33 1.21 14.34 3.43 20.78-.28 1.69-.43 3.44-.43 5.22 0 9.45 4.1 17.81 10.38 22.88C37.74 172.68 53.6 185 72 185c1.5 0 2.98-.08 4.44-.24C81.9 189.9 88.88 193 96.5 193c4.44 0 8.67-1.05 12.5-2.95v-9.44a56.03 56.03 0 0 1-31.8-45.74A12 12 0 0 1 67 123v-13c0-1.72.36-3.36 1.02-4.84.3.1.62.18.94.23 9.73 1.72 21.12-16.53 25.74-41 11.05 1.7 24.35 2.7 38.65 2.7 14.02 0 27.06-.96 37.97-2.6 4.64 24.41 16.01 42.6 25.73 40.9.32-.06.63-.14.94-.23a11.96 11.96 0 0 1 1 4.83v13a12 12 0 0 1-10.2 11.87A56.03 56.03 0 0 1 157 180.6v9.44a28.06 28.06 0 0 0 12.5 2.95c7.62 0 14.61-3.1 20.06-8.24 1.46.16 2.94.24 4.44.24 18.39 0 34.26-12.32 41.62-30.12C241.9 149.81 246 141.45 246 132c0-1.78-.15-3.53-.43-5.22A63.91 63.91 0 0 0 249 106a62.11 62.11 0 0 0-10.05-34.27c.04-.58.05-1.15.05-1.73 0-10.96-5.5-20.44-13.53-25.04-7.31-17.6-22.73-29.97-40.77-30.9C180.27 9.07 174.2 6 167.5 6c-.95 0-1.89.06-2.81.18A83.76 83.76 0 0 0 133 0Z" fill="${p(`${l.hair}`)}"/>`,froBand:(a,l)=>`<path d="M250 70.5c0 .8-.03 1.6-.1 2.37A57.74 57.74 0 0 1 261 107c0 7.16-1.3 14.01-3.67 20.34a28.47 28.47 0 0 1-11.78 29.71 53.5 53.5 0 0 1-53.86 29.64A36.35 36.35 0 0 1 168.5 195c-4.02 0-7.88-.65-11.5-1.85v-12.54a56.03 56.03 0 0 0 31.8-45.74A12 12 0 0 0 199 123v-13a12 12 0 0 0-10-11.83V92a56 56 0 0 0-2.22-15.68l1.37 12.87-11.34-24-45.13-19.52-30.12 10.56-21.5 20.19-.04-2.6A55.93 55.93 0 0 0 77 92v6.17A12 12 0 0 0 67 110v13a12 12 0 0 0 10.2 11.87A56.03 56.03 0 0 0 109 180.6v10.94A36.36 36.36 0 0 1 93.5 195c-8.8 0-16.88-3.12-23.19-8.31a53.5 53.5 0 0 1-53.86-29.63 28.47 28.47 0 0 1-11.78-29.72A57.87 57.87 0 0 1 1 107a57.74 57.74 0 0 1 11.1-34.13 28.5 28.5 0 0 1 16-28.04 55.02 55.02 0 0 1 47.55-31.78 28.4 28.4 0 0 1 26.6-7.24A83.78 83.78 0 0 1 133 0a83.82 83.82 0 0 1 29.4 5.3 28.4 28.4 0 0 1 23.94 7.76 55.02 55.02 0 0 1 47.56 31.77A28.5 28.5 0 0 1 250 70.5Z" fill="${p(`${l.hair}`)}"/><path d="M188.37 98.97c.41-2.55.63-5.16.63-7.82C189 62.35 163.7 39 132.5 39S76 62.35 76 91.15c0 2.66.22 5.27.63 7.82 4.1-25.09 27.55-44.32 55.87-44.32 28.32 0 51.78 19.23 55.87 44.32Z" fill="#92D9FF"/>`,longButNotTooLong:(a,l)=>`<path d="M50 90.5c0 4.55 1.7 8.64 4.85 10.77.9.61 2.47.93 4.15 1.07V182a8 8 0 0 0 8 8h42v-9.39a56.03 56.03 0 0 1-31.8-45.74A12 12 0 0 1 67 123v-13c0-3.5 1.5-6.63 3.87-8.83 11.54-2.61 24.1-7.53 36.47-14.67 12.13-7 22.5-15.24 30.48-23.75a87.36 87.36 0 0 1-12.45 20.78c12.68-5.52 21.3-14.4 25.9-26.63.37.92.76 1.84 1.17 2.76 10.26 23.03 27.88 39.36 45.77 44.74.5 2.11.79 4.08.79 5.6v13a12 12 0 0 1-10.2 11.87A56.03 56.03 0 0 1 157 180.6V190h18a32 32 0 0 0 32-32v-54.12c0-.07 0-.17-.03-.28-.07-5.64-.28-18.87-.6-21.37A74.01 74.01 0 0 0 132.99 18c-36.08 0-66.14 25.83-73 60-5.52 0-10 5.6-10 12.5Z" fill="${p(`${l.hair}`)}"/><path d="M152.44 59.66c11.94 26.81 33.86 44.53 54.56 46.5V92A74 74 0 0 0 60.32 78H60c-5.52 0-10 5.6-10 12.5 0 6.48 3.95 11.81 9 12.44v.15l.95-.1H60a8.1 8.1 0 0 0 1.9-.22C75.7 101 91.68 95.54 107.34 86.5c12.13-7 22.5-15.24 30.48-23.75a87.36 87.36 0 0 1-12.45 20.78c12.68-5.52 21.3-14.4 25.9-26.63.37.92.76 1.84 1.17 2.76Z" fill="#fff" fill-opacity=".08"/>`,miaWallace:(a,l)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M69.03 76.21C81.97 43.13 95.65 26.6 110.06 26.6c.54 0 29.25-.24 48.05-.36C178.77 35.59 193 55.3 193 78.1V93h-82.94l-2.8-23.18L103.36 93H69V78.11c0-.63.01-1.27.03-1.9Z" fill="#000" fill-opacity=".16"/><path d="M40 145c-.09-18.98 30.32-97.2 41-110 7.92-9.5 27.7-15.45 52-15 24.3.45 44.86 3.81 53 14 12.32 15.43 40.09 92.02 40 111-.1 21.27-9.62 33.59-18.6 45.22A293.1 293.1 0 0 0 203 196c-10.28-2.66-27.85-5.18-46-6.68v-8.7A56 56 0 0 0 189 130V92c0-1.34-.05-2.68-.14-4h-76.8l-2.8-21.44L105.36 88H77.14c-.1 1.32-.14 2.66-.14 4v38a56 56 0 0 0 32 50.61v8.7c-18.15 1.5-35.72 4.03-46 6.69-1.42-1.93-2.9-3.84-4.39-5.78C49.62 178.6 40.1 166.27 40 145Z" fill="${p(`${l.hair}`)}"/>`,shavedSides:(a,l)=>`<path d="m175.83 55.92-.03.02c.76.88 1.49 1.78 2.19 2.7a55.74 55.74 0 0 1 11 33.36v5.5c0-15.77-6.69-29.98-17.4-39.93-11.58 3.77-49.58 14.27-77.63.42A54.35 54.35 0 0 0 77 97.5V92c0-12.5 4.1-24.04 11.01-33.35.71-.94 1.45-1.86 2.22-2.75l-.02-.02A55.88 55.88 0 0 1 133 36a55.88 55.88 0 0 1 42.82 19.92Z" fill="#000" fill-opacity=".16"/><path d="M92.54 53.29A55.81 55.81 0 0 0 77 91.99v6.17a11.97 11.97 0 0 0-6.49 3.34l.7-17.37a45.92 45.92 0 0 1 17.37-34.17c-2.2-3.84-1.45-10.33 7.8-13.1 5.07-1.5 7.57-5.08 10.24-8.88 3.5-5 7.27-10.37 17.48-11.92 9.87-1.5 13.23-.88 17.05-.18 3.13.57 6.58 1.2 14.2.76 9.85-.57 16.86-4 21.43-6.22 3.26-1.6 5.27-2.58 6.17-1.47 15.42 18.9 6.97 33.8-6.2 41.96A45.9 45.9 0 0 1 193 86v13.6c-1.22-.7-2.56-1.2-4-1.43V92c0-15.26-6.1-29.09-16-39.19-7.76 2.75-50.39 16.55-80.46.48ZM223.61 226.05c3.06 5.6 4.05 11.12 3.5 16.38A72.02 72.02 0 0 0 161 199h-4v-18.39a56.03 56.03 0 0 0 31.8-45.74c1.5-.23 2.93-.74 4.2-1.47v20.7c0 20.77 11.47 39.79 22.15 57.47 2.97 4.93 5.88 9.75 8.46 14.48ZM68.7 146.5l.66-16.35a12 12 0 0 0 7.85 4.72A56.03 56.03 0 0 0 109 180.6V199h-4c-11.2 0-21.8 2.56-31.25 7.12-2.99-18.29-4.3-38.68-5.05-59.62Z" fill="${p(`${l.hair}`)}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M90.88 52.36c33.22 19.3 83.37 0 83.37 0 14.53-7.77 25.08-23.32 8.7-43.4-2.17-2.66-10.7 6.72-27.6 7.7-16.9.97-13.27-3.31-31.25-.59-17.97 2.73-15.99 17.3-27.72 20.8-11.73 3.5-9.8 13-5.5 15.5Z" fill="#fff" fill-opacity=".2"/>`,straight02:(a,l)=>`<path d="M157 180.61V199h4a71.7 71.7 0 0 1 46 16.6V92a74 74 0 0 0-148 0v183.72A28 28 0 0 0 83 248v-45.58a71.95 71.95 0 0 1 22-3.42h4v-18.39a56.24 56.24 0 0 1-26-25.36V93.27a150 150 0 0 0 28.34-12.77c15.4-8.9 28.1-19.56 36.73-30.1 1.76 5.2 4.1 10.4 7.04 15.48 8.78 15.2 21.12 26.35 33.9 32.04v.25c.4.06.8.15 1.18.26.77.32 1.55.62 2.33.9A12 12 0 0 1 199 110v13a12 12 0 0 1-10.22 11.87A56.03 56.03 0 0 1 157 180.6Z" fill="${p(`${l.hair}`)}"/><path d="M157 199v-18.39a56.03 56.03 0 0 0 31.8-45.74A12 12 0 0 0 199 123v-13a12 12 0 0 0-6.5-10.66 44.57 44.57 0 0 0 14.5 2.8v113.47A71.7 71.7 0 0 0 161 199h-4ZM83 202.42v-47.17a56.24 56.24 0 0 0 26 25.36V199h-4c-7.67 0-15.07 1.2-22 3.42ZM189 97.92v.25c.4.06.8.15 1.18.26l-1.18-.51Z" fill="#000" fill-opacity=".27"/>`,straight01:(a,l)=>`<path d="M67 113c10.86-22.7 34.67-31.6 55.44-39.36 13.32-4.97 25.39-9.48 32-16.86 2.22 2.02 4.75 4.05 7.41 6.2C172.06 71.16 184.21 80.91 189 98v.17a12 12 0 0 1 9.81 9.72V86.04c0-1.3-.05-2.57-.15-3.84 4.54-17-3.1-37.78-12.66-47.2-9.48-8.82-22.3-12.32-30.95-8.48C143.45 8.98 109.9 13.24 90 28c-13.22 9.8-24.79 25.72-27.84 45.75A46.18 46.18 0 0 0 61 84.05v88.5c-.2 31.5-7.4 82.49-21 90.45 62.36 16.8 71.93-38.15 69-82v-.39a56.03 56.03 0 0 1-31.8-45.74A12 12 0 0 1 67 123v-10ZM157 180.61a56.03 56.03 0 0 0 31.8-45.74 12 12 0 0 0 10.01-9.76v1.36A100 100 0 0 0 209.78 172l26.95 52.71a37.79 37.79 0 0 1-3.94 40.76A72 72 0 0 0 161 199h-4v-18.39Z" fill="${p(`${l.hair}`)}"/><path d="M67 113c10.86-22.7 34.67-31.6 55.44-39.36 13.32-4.97 25.39-9.48 32-16.86 2.22 2.02 4.75 4.05 7.41 6.2 10.19 8.17 22.3 17.89 27.11 34.9-4.57-14.04-15.75-21.22-25.6-27.55-3.21-2.06-6.28-4.03-8.93-6.12-6.6 6.4-18.67 10.32-32 14.64C101.68 85.58 77.87 93.3 67 113Z" fill="#000" fill-opacity=".16"/>`,straightAndStrand:(a,l)=>`<path d="M133 18a74 74 0 0 0-74 74v96c0 8.56 1.45 16.78 4.12 24.42A71.67 71.67 0 0 1 105 199h4v-18.39a56.03 56.03 0 0 1-31.8-45.74A12 12 0 0 1 67 123v-13a12 12 0 0 1 .46-3.3c17.13-6.02 33.75-21.94 43.59-44.04.4-.92.8-1.84 1.18-2.76 4.58 12.23 13.21 21.11 25.89 26.63a87.36 87.36 0 0 1-12.45-20.78c7.98 8.5 18.35 16.74 30.48 23.75 14.33 8.27 28.91 13.56 41.87 15.75.63 1.45.98 3.06.98 4.75v13a12 12 0 0 1-10.2 11.87A56.03 56.03 0 0 1 157 180.6V199h4a71.67 71.67 0 0 1 41.88 13.42A73.9 73.9 0 0 0 207 188V92a74 74 0 0 0-74-74Z" fill="${p(`${l.hair}`)}"/><path d="M111.05 62.66C99.59 88.39 78.95 105.75 59 108.84v4c19.95-3.1 40.59-20.45 52.05-46.18.4-.92.8-1.84 1.18-2.76 4.58 12.23 13.21 21.11 25.89 26.63a78.16 78.16 0 0 1-4.62-6.26c-10.18-5.56-17.27-13.69-21.27-24.37a98.8 98.8 0 0 1-1.18 2.76ZM129.5 73.64a137.34 137.34 0 0 0 26.65 19.86c17.75 10.25 35.9 15.91 50.85 16.78v-4c-14.95-.87-33.1-6.54-50.85-16.78-12.13-7-22.5-15.24-30.48-23.75a98.3 98.3 0 0 0 3.83 7.89Z" fill="#000" fill-opacity=".16"/>`,dreads01:(a,l)=>`<g fill="${p(`${l.hair}`)}"><path d="M187.7 56.12c.9 3.25 2.17 11.95-.06 14.84-.75.96-5.84-1.74-7.97-2.92l-3.53-1.96c-14.92-8.32-19.74-11-45.9-10.62-28.11.4-47.37 13.58-48.46 14.93-.75.93-1.71 3.44-2.5 10.41-.25 2.2-.32 4.97-.4 7.71-.14 5.94-.3 11.77-2.25 11.76-2.44-.01-2.97-23.78-1.92-33.21.04-.36.1-.78.18-1.23.23-1.4.5-3.13.16-4.11-.16-.44-.54-.7-.94-.99-.62-.43-1.26-.88-1.08-2.03.21-1.31 1.1-1.43 1.97-1.56.57-.08 1.13-.16 1.5-.56 1.13-1.23.46-1.87-.31-2.6-.46-.43-.95-.9-1.12-1.53-.63-2.36 1.03-3.1 2.69-3.83l.38-.17c.69-.3 1.1-.42 1.42-.5.6-.15.85-.21 1.89-1.35-2.14-1.56-2.9-3.69.01-4.83.56-.22 1.52-.2 2.5-.2 1.2.02 2.4.03 2.94-.37.15-.11.24-.53.33-.9.06-.27.11-.5.18-.6 1.35-1.93 1.23-3.4 1.08-5.4l-.07-.92c-.13-2.04-.11-3.9 2.33-4.11 1-.08 1.9.4 2.77.86.54.29 1.08.58 1.64.73.87.23 1.1.43 1.32.43.19 0 .37-.15.96-.55 1.18-.82 1.3-2.05 1.43-3.3.11-1.08.22-2.18 1.04-3 1.58-1.6 2.8-.64 4 .3.64.5 1.28 1 1.96 1.1 2.55.36 3.06-1.06 3.62-2.59.36-1 .74-2.06 1.74-2.68 1.83-1.15 2.64-.05 3.43 1.01.5.68.98 1.33 1.7 1.39 1.01.08 2.52-1.1 3.85-2.14a11.6 11.6 0 0 1 2.1-1.44c2.27-.93 3.91.07 5.58 1.08 1.4.85 2.83 1.72 4.65 1.43l.83-.13c2.24-.37 3.11-.51 5.45.96a4.2 4.2 0 0 0 3.74.69c.6-.12 1.3-.25 2.26-.26 1.1 0 1.98.5 2.83.99.7.4 1.36.79 2.13.87.42.04.84-.16 1.26-.36.42-.2.84-.4 1.3-.38 1.83.11 2.69 1.5 3.55 2.88.67 1.08 1.34 2.15 2.46 2.66 1.62.72 3.44.24 5.17-.21.79-.2 1.55-.4 2.28-.5 3.96-.46 3.27 1.97 2.55 4.56a11.1 11.1 0 0 0-.6 3.26c1.15.27 2.3-.15 3.46-.57 1.1-.4 2.18-.8 3.27-.6 3.4.58 2.25 4.02 1.44 6.45l-.08.21c.64 0 1.54-.2 2.56-.42 2.86-.6 6.61-1.41 7.78 1.13.47 1.05 0 2.31-.44 3.54a7.17 7.17 0 0 0-.61 2.41c.02 1.53.7 2.9 1.4 4.27.45.91.9 1.82 1.17 2.78Z"/><path d="m186.36 73.6.47.33c1.76.99 3.15 10.9 3.22 14.69.04 2.34.08 11.25-2.4 10.48-.75-.23-1.9-4.95-2.06-7.72-.16-2.76-1.74-12.16-4.14-16.49-.13-.23-.32-.51-.53-.8-.65-.96-1.44-2.12-.92-2.76.72-.88 1.43-.57 2.26-.2l.44.18c.87.35 2.77 1.68 3.66 2.3Z"/></g>`,dreads02:(a,l)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M218.2 107.16a12.2 12.2 0 0 1-6.25-5.56 9.62 9.62 0 0 1 1.95-.13c2.27-.02 5.15-.04 4.62-2.87-.57-2.98-5.4-2.07-7.28-1.6.58-.36 1.34-.49 2.12-.62 1.49-.25 3-.51 3.31-2.33.53-3.18-3.29-3.08-5.08-2.4-.26-2.12 2-3.89 4.14-5.55 1.25-.97 2.45-1.9 3.08-2.85.13-.2.29-.38.43-.55.47-.53.86-.97.31-2.08-1.16-2.35-3.95.32-5.34 1.66l-.45.43c.88-1.63 3.32-8.4 2.95-10.13-.54-2.52-2.34-2.61-3.78-.56-.62.88-.94 2.65-1.23 4.26-.15.81-.29 1.58-.45 2.16-.87-.65-1.39-.7-1.7-.74-.43-.04-.49-.05-.55-1.45-.04-1.02.8-2.7 1.56-4.16.4-.8.79-1.54.97-2.09.08-.24.2-.51.3-.81.53-1.36 1.24-3.18.65-4.23-1.78-3.15-3.48 1.17-3.94 2.65-.5-2.14.5-3.97 1.53-5.88.6-1.13 1.24-2.3 1.57-3.55.54-2.05 1.97-7.58-.51-8.56-2.48-.98-2.51 2.12-2.53 4.66-.01.93-.02 1.79-.15 2.34l-.03.13c-.37 1.57-.92 3.97-2.1 4.71-.18.11-2.83.34-2.96.2-1.1-1.29.42-3.53 1.74-5.49.76-1.13 1.46-2.17 1.55-2.87.22-1.73-.44-2.82-2.06-2.92-.47-.03-1.1.36-1.61.7-.4.24-.73.45-.89.41-1.07-.23-.36-3.82.17-6.5.2-1.04.38-1.94.42-2.46.15-2-.1-7.17-3.48-4.79l.16-2.06c.15-1.95.3-3.86.57-5.83.05-.37.18-.73.3-1.08.32-.97.63-1.86-.67-2.69-2.16-1.36-3.36 1.5-3.85 3.17-.26.9-.27 1.93-.28 2.95-.04 2.29-.07 4.45-2.87 4.52-3.37.07-2.63-2.42-1.87-4.99.29-1 .59-2 .65-2.88.13-1.74-1.01-6.42-3.26-3.26-.53.73-.64 2.56-.74 4.25-.07 1.19-.14 2.3-.34 2.92-.56-.25-.37-1.4-.17-2.61.2-1.2.41-2.44-.06-2.95-1.5-1.64-2.82-.36-3.94.72-.41.4-.8.79-1.16.97l-.08-1.22c-.06-1.04-.13-2.08-.17-3.12-.03-.72.1-1.7.22-2.75.28-2.15.58-4.58-.34-5.6-2.33-2.59-3.82.43-4.5 2.53-.1.28-.18.57-.25.85-.45 1.56-.83 2.93-2.98 3.15.08-1.1-.28-2.7-.65-4.38-.54-2.43-1.12-5-.39-6.35.27-.5.67-.59 1.07-.68.42-.09.85-.18 1.1-.78.83-1.9-.51-2.71-1.98-2.77-4.17-.18-3.8 3.31-3.46 6.58.22 2.04.42 4-.5 4.9-.55-.5-.54-1.03-.52-1.6.01-.6.03-1.24-.55-1.99-1.22-1.6-3.17-1.46-4.92-.73 0-.3.06-.93.16-1.72.41-3.5 1.2-10.27-3.24-6.1-.82.77-1 1.86-1.18 2.93-.12.7-.23 1.37-.51 1.95-.7 1.45-2.4 3.6-3.34 4.78-.47-1.92.16-4.26.7-6.22l.12-.45c.12-.45.46-1.2.85-2.07.84-1.84 1.9-4.2 1.53-5.17-1.27-3.38-4.63.5-6.52 2.68-.45.51-.8.94-1.05 1.15-1.58 1.4-7.88 6.04-9.9 4.64-.32-.23-.36-.74-.4-1.3-.05-.65-.11-1.38-.62-1.83-.48-.4-2.48-.6-3.06-.54.36-1.5-.34-3.43-2.05-2.9-1.23.36-1.45 1.56-1.67 2.74-.16.88-.33 1.75-.91 2.25-1.5 1.29-3.17.3-4.84-.68-1.15-.68-2.3-1.36-3.4-1.3.07-.32.22-.76.4-1.28.84-2.44 2.22-6.45-1.8-4.87-1.25.49-2.13 3.35-2.45 4.54-.14.55-.24 1.02-.32 1.42-.39 1.82-.5 2.32-3.18 3.03.09-.63.09-1.3.1-1.98 0-1.25 0-2.53.55-3.54.14-.28.4-.63.7-1.03 1.16-1.53 2.81-3.71-.24-4.05-3.78-.4-4.26 4.68-4.59 8.17-.08.9-.16 1.7-.28 2.27-4.12-2.5-6.86.96-9.33 4.07l-.15.19c.45-1.42 1.56-15.56-2.96-11.24-.84.8-.53 1.84-.24 2.87.16.55.32 1.1.29 1.6-.08 1.29-.5 2.43-1 3.62a24.52 24.52 0 0 1-2.97 5.53c-.3.4-.53.73-.71.99-.32.46-.48.7-.69.74-.22.04-.48-.17-1.04-.61a58.7 58.7 0 0 0-.38-.3c-2.43-1.87-3.58-6.62-3.46-9.52 0-.35.05-.76.1-1.19.22-2.24.51-5.2-2.5-4.35-3.01.86-2.05 6.15-1.5 9.2l.21 1.26c.4 2.69.65 5.43.2 8.17-2.3-2.36-3.09.87-3.6 2.97-.16.63-.28 1.16-.42 1.4-.7 1.26-1.84 2.07-2.98 2.86-.46.33-.93.65-1.36 1-.42-1.47.28-2.83.93-4.1.59-1.15 1.14-2.23.84-3.27-1.1-3.87-4.1.93-5.11 2.55l-.2.32c-.24.37-.69 1.42-1.19 2.59-.8 1.86-1.73 4.04-2.17 4.34-1.03.69-7.6-2.53-8.28-3.14-.55-.51-.76-1.45-.97-2.38-.25-1.11-.5-2.22-1.34-2.61-4.72-2.2-1.93 5.73-1 7.37a24.3 24.3 0 0 1 2.94 14.5 6.4 6.4 0 0 1-2.46-2.07 6.28 6.28 0 0 1-.87-2.53c-.19-.96-.36-1.88-.94-2.46-3.3-3.28-3.68 2.88-3.4 4.8.32 2.35 1.2 3.66 2.2 5.13.51.76 1.06 1.57 1.57 2.6.94 1.9.37 4.07-.2 6.23-.25.97-.51 1.95-.63 2.9-3.43-3.3-18.2-.55-14.4 4.5 1.17 1.55 2.47.44 3.8-.7.93-.8 1.87-1.6 2.8-1.55 4.09.22 6.24 5.3 5.97 8.84-.5-1.9-2.42-3.76-3.75-1.44-.8 1.4.32 3.67 1.1 5.25l.28.57c-.9-.44-5.37-2.52-6.25-2.16-3.44 1.41 1.3 4.15 2.54 4.7 4.22 1.87 6.89 3.92 8.2 8.99-1.43-.46-1.85-1.05-2.3-1.7-.3-.43-.62-.88-1.25-1.34-.95-.7-1.4-.7-1.96-.73-.31 0-.66-.02-1.13-.14l-.07-.02c-2.36-.6-5.4-1.4-8.04-.3-1.97.82-5.3 3.31-5.9 5.65-.77 2.87.84 3.6 2.9 2.14a9.77 9.77 0 0 0 2.08-2.23c1.09-1.45 2.12-2.82 4.5-2.73a6.6 6.6 0 0 1 4.64 2.33c.44.53.8 1.19 1.14 1.85.3.57.6 1.15.98 1.64.28.38.75.82 1.23 1.27.73.68 1.49 1.4 1.73 1.99 1.3 3.3-.87 6.27-2.63 8.68l-.46.63c-.42-.55-3.47-1.76-4.1-1.88-2.95-.56-4.05.8-2.2 3.52.3.45.8.77 1.28 1.08.43.28.85.55 1.15.91.37.45.66 1.03.94 1.61.27.54.54 1.08.88 1.53.92 1.24 2 2.08 3.1 2.94.55.44 1.12.88 1.68 1.39-.33.21-.46.02-.6-.17-.12-.17-.25-.34-.5-.24-.2.07-.47.04-.75 0-.3-.04-.61-.08-.87 0-.47.16-.64.68-.79 1.15-.12.36-.23.7-.46.79-1.91.76-3.84-.58-5.7-1.86-1.34-.94-2.64-1.85-3.89-1.92-1.61-.08-2.97 1-2.2 3.03.44 1.13 2.04 1.85 3.25 2.4l.79.36c3.24 1.65 6.48 2.87 9.95 1.6a14.73 14.73 0 0 0 9.67 3.69c-2.01 1-4 2.23-4.7 4.72a12.3 12.3 0 0 1-.9-1.17c-1.41-1.95-3.52-4.88-4.74-1.3-1.04 3.1 3.73 6.87 5.93 8.27-2.56.75-4.68.9-7.28.6-.3-.03-.66-.14-1.04-.25-1.4-.43-3.06-.92-2.2 2 1.13 3.83 7.59 2.37 10.13 1.62-1.78 1.5-9.56 11.7-2.8 9.39.95-.33 1.53-1.34 2.13-2.4.77-1.35 1.58-2.77 3.28-2.98 2.48-.3 3.38 1.37 4.41 3.28.43.79.88 1.62 1.47 2.37.39.49 1.3 1.21 2.28 1.98 1.58 1.24 3.3 2.6 3.17 3.28-.1.46-.72.82-1.4 1.21-.77.44-1.6.92-1.9 1.62-.62 1.55-.34 2.75.54 4.08 1.17 1.78 3.09 2.4 4.92 3.01.58.2 1.14.38 1.67.6 3.17 1.29 4.31 2.86 5.73 6.21-2.5.12-9.62 7.36-5.26 8.65 1.12.33 1.35-.25 1.6-.91.12-.3.24-.6.45-.86l.55-1.02.27-.52c.46-1.2.97-1.27 1.52-.22.07-.02.47.08.9.18.42.1.88.22 1.05.23 1.19.07 2.1-.53 3.03-1.15.4-.26.8-.53 1.24-.75.31-.15.62-.25.93-.35.68-.22 1.33-.42 1.86-1.23-.09.13.56-2.51.57-2.54.13-.31.38-.45.63-.6.25-.13.51-.28.68-.63a55.8 55.8 0 0 1-15.5-34.47A12 12 0 0 1 69 123v-13a12 12 0 0 1 7.5-11.13c.53.38 1.27 0 1.5-.84-.46-1.5 3.3-27.85 13-34.87 3.62-2.44 23-2.62 42.31-2.6 19.1 0 38.11.18 41.69 2.6 9.7 7.02 13.46 33.37 13 34.87.23.84.97 1.22 1.5.84A12 12 0 0 1 197 110v13a12 12 0 0 1-8.17 11.38 55.7 55.7 0 0 1-11.07 29.28c.2.81.4 1.63.55 2.5.18 1.1.23 2.14.28 3.15.1 2.04.19 3.94 1.37 5.95.19.33.42.6.66.86.33.38.66.76.86 1.28.16.44.2 1.05.25 1.68.1 1.4.2 2.92 1.7 2.92 3.1 0 1.37-5.97.6-7.38-.3-.54-.57-1-.82-1.41-1.03-1.74-1.63-2.74-1.57-5.64 1.75 1.16 7.53 3.38 9.45 2.32 3.5-1.94-2.69-3.9-5.83-4.89a11.7 11.7 0 0 1-1.6-.56c.63-.63 1.3-1.14 1.97-1.66 1.13-.86 2.25-1.72 3.22-3.1.25-.34.49-.72.73-1.11 1.01-1.6 2.1-3.3 3.82-3.38.4-.02 1.04.3 1.77.65 1.46.7 3.24 1.56 3.94.21.74-1.4-.26-1.89-1.15-2.33-.29-.14-.57-.28-.77-.44-.55-.45-.95-.57-1.2-.65-.45-.13-.5-.14-.27-1.49 1.1 1.17 2.8.43 3.25-1.01.3-.92-.16-1.46-.56-1.95-.28-.34-.55-.66-.54-1.07 0 .4.84-5.11.7-4.93.85-1.12 3.81-.8 5.34-.63h.07c2.13.24 2.17.31 3.03 2.02l.22.42c.88 1.72 3.2 5.18 3.7.64.13-1.08-.86-3.4-1.44-4.34a5.12 5.12 0 0 0-1.6-1.33c-.58-.37-1.12-.71-1.31-1.1-.48-.94.08-2.47.68-4.12.59-1.61 1.22-3.33.96-4.73.3.12.73.7 1.23 1.38 1.29 1.75 3 4.07 3.96.22.33-1.27-1.01-3.25-2.27-5.12-1.48-2.2-2.86-4.25-1.24-4.76 2.29-.73 4.61 2.22 5.25 4.04.2.56.27 1.37.35 2.22.12 1.2.24 2.48.72 3.14 3.03 4.2 3.4-2.75 3.16-4.58-.56-4.02-1.99-6.98-5.63-8.5 1.14-1.42 0-2.58-.91-3.53l-.36-.37c.55-.6 2.22-.75 4-.91 3.13-.28 6.62-.6 5.2-3.42-.39-.78-1.53-1.1-2.5-1.36-.36-.1-.7-.19-.96-.3ZM59.5 138.8c0-.14-.13-.09-.36.1l.35-.1Z" fill="${p(`${l.hair}`)}"/>`,frizzle:(a,l)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M90.91 55.36h84.18c18.24-10.53 21.67-29.2 8.76-45.43-3.21-4.04-8.76 11.75-25.82 12.72-17.06.98-15.42-6.3-33.57-3.58-18.15 2.73-16.15 17.3-28 20.8-11.84 3.5-5.55 15.5-5.55 15.5Z" fill="${p(`${l.hair}`)}"/>`,shaggy:(a,l)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M88.18 37.86c5.14-3.84 11.22-7.12 17.56-8.38 6.45-1.28 10.36-1.6 16.7-.07 1.64.39 2.2.78 3.63-.15 1.2-.79 9.66-9.5 35.42-4.66 26.03 4.88 33.77 44.08 43.42 45.57 3.49.53 7.79-.39 7.92-2.53 3.96 6.03 5 14 3.33 21.07-1.45 6.09-4.5 11.8-10 15.14-4.72 2.87-11.25 4.12-16.71 3.59a22.36 22.36 0 0 1-7.03-1.77c-2.76-1.2-4.96-3.4-7.67-4.54a53.9 53.9 0 0 0 9.18 6.42c1.64.9 3.3 1.53 5.11 2.02 1.24.34 3.76 1.48 4.96 1.18-7.81 1.4-15.16.18-22.32-3.16a51.67 51.67 0 0 1-9.2-5.48c-2.83-2.13-6.09-4.3-8.3-7.1.93 1.2-.7-.6-.92-.81a74.07 74.07 0 0 1-4.72-5.29c-1.99-2.48-3.84-5.08-5.5-7.8-1.68-2.76-8.36-13.87-10.38-16.5a195.3 195.3 0 0 0 6.41 16.93c-4.71-1.47-9.28-5.54-12.3-9.34a29.46 29.46 0 0 1-6.1-14.66c-3.83 10.41-12.79 18.63-22.03 24.3 2-3.74 5.05-6.9 7.05-10.69-9.2 9.33-24.57 13.9-28.6 27.58-1.03-4.76-4.35-8.58-5.34-13.43-1.1-5.4-1.9-11.11-1.73-16.62.4-12.24 8.64-23.72 18.16-30.82Z" fill="${p(`${l.hair}`)}"/>`,shaggyMullet:(a,l)=>`<path d="M177.75 37.86c9.52 7.1 17.76 18.58 18.16 30.82.17 5.5-.62 11.23-1.73 16.62-.5 2.46-1.6 4.66-2.7 6.85-1.07 2.12-2.13 4.24-2.64 6.58-2.63-8.93-10.09-13.97-17.5-19-3.96-2.66-7.9-5.33-11.1-8.58 1.02 1.93 2.3 3.7 3.6 5.46 1.23 1.7 2.47 3.4 3.45 5.22-9.24-5.66-18.2-13.88-22.03-24.3a29.46 29.46 0 0 1-6.1 14.67c-3.02 3.8-7.59 7.87-12.3 9.34 2.43-5.5 4.5-11.21 6.4-16.92-1.78 2.31-7.21 11.29-9.6 15.23l-.77 1.26a73.9 73.9 0 0 1-10.47 13.35c-.5.53-1.42 1.52-.67.54-1.85 2.35-4.45 4.26-6.9 6.07l-1.4 1.04a51.67 51.67 0 0 1-9.2 5.48c-7.1 3.31-14.38 4.54-22.11 3.2.9.1 2.35-.4 3.53-.82a20 20 0 0 1 1.22-.4c1.8-.5 3.47-1.12 5.11-2.02a53.85 53.85 0 0 0 9.18-6.42c-1.37.58-2.6 1.42-3.84 2.27-1.23.83-2.46 1.67-3.83 2.27-2.28 1-4.54 1.53-7.03 1.77-5.46.53-12-.72-16.72-3.6-5.5-3.32-8.54-9.04-9.99-15.13-1.68-7.06-.63-15.04 3.33-21.07.13 2.14 4.43 3.06 7.92 2.53 3.77-.59 6.95-6.52 10.9-13.93 6.19-11.55 14.28-26.67 29.52-30.64 19.96-5.2 34.21 3.87 35.42 4.66 1.22.78 1.8.63 2.93.32l.68-.17c6.35-1.52 13.26-2.2 19.7-.92 6.35 1.26 12.43 4.54 17.57 8.38ZM71.93 110.75l.2.04a1.6 1.6 0 0 1-.2-.04ZM79 156.2c.8-1.53 1.57-3.06 2.32-4.6A56.2 56.2 0 0 0 109 180.6v9.01a54.4 54.4 0 0 1-7.73 1.97c-9 1.62-34.32-3.53-45.44-11.98-.85-.65-.42-1.92.67-2 11.66-.8 17.63-12.13 22.4-21.2l.1-.2ZM157 183.05v-2.44c6.95-3.3 13.11-8 18.13-13.71.71 2.24 1.75 4.33 3.43 5.79 1.32 1.14 3.48 1.12 5.34 1.1l1.2.01c1.67.05 3.34.06 5.02-.02.83-.03 1.2 1.02.53 1.5a39.2 39.2 0 0 1-3.64 2.07 29.3 29.3 0 0 1-7.98 2.74c-1.92.34-3.82.4-5.66.18a9.84 9.84 0 0 0 1.7 1.94c1.41 1.22 3.72 1.2 5.7 1.19h1.28c1.79.05 3.58.06 5.36-.02.9-.04 1.3 1.09.57 1.6a41.97 41.97 0 0 1-3.88 2.22 31.24 31.24 0 0 1-8.53 2.92c-5.5.97-10.86-.18-15.19-3.7a24.9 24.9 0 0 1-3.38-3.37Z" fill="${p(`${l.hair}`)}"/><path d="M81.32 151.6c-.75 1.54-1.51 3.07-2.31 4.6l-.1.18c-4.77 9.08-10.74 20.42-22.4 21.22-1.09.07-1.52 1.34-.67 1.99 11.12 8.45 36.43 13.6 45.44 11.98a54.4 54.4 0 0 0 7.73-1.96v-8.99a56.2 56.2 0 0 1-27.68-29ZM157 180.61v2.44a24.9 24.9 0 0 0 3.38 3.36c4.33 3.53 9.7 4.68 15.2 3.71a31.24 31.24 0 0 0 8.51-2.92 41.97 41.97 0 0 0 3.89-2.22c.72-.51.32-1.64-.57-1.6-1.78.08-3.57.07-5.35.02h-1.29c-1.98.01-4.29.03-5.7-1.2a9.84 9.84 0 0 1-1.7-1.93c1.84.22 3.74.16 5.66-.18a29.3 29.3 0 0 0 7.98-2.73 39.2 39.2 0 0 0 3.64-2.08c.68-.48.3-1.53-.53-1.5a69.9 69.9 0 0 1-5.02.02h-1.2c-1.86.01-4.02.03-5.34-1.11-1.69-1.46-2.72-3.55-3.43-5.8A56.18 56.18 0 0 1 157 180.62Z" fill="#000" fill-opacity=".16"/>`,shortCurly:(a,l)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M193.76 70.77a62.92 62.92 0 0 0-1.51-9.86 51.78 51.78 0 0 0-2.5-7.49c-.6-1.48-2.02-3.52-2.19-5.13-.16-1.57 1.07-3.32 1.33-5.16.24-1.79.2-3.66-.17-5.44-.83-4.03-3.6-7.77-7.85-8.82-.95-.23-2.97.06-3.64-.5-.77-.63-1.3-2.8-2-3.67-2-2.47-5.1-4.07-8.37-3.51-2.41.4-1.03.9-2.84-.51-1-.8-1.75-2-2.73-2.85a24.7 24.7 0 0 0-4.9-3.28 50.82 50.82 0 0 0-14.84-4.91c-9.28-1.52-19.2-.2-28.2 2.22a74.58 74.58 0 0 0-13.14 4.74c-1.78.87-2.81 1.58-4.67 1.81-2.93.36-5.4.34-8.18 1.58-8.54 3.82-12.39 12.69-9.06 21.17.66 1.71 1.57 3.21 2.82 4.59 1.52 1.68 2.07 1.35.76 3.28a52.78 52.78 0 0 0-4.96 9.17c-3.53 8.4-4.12 17.87-3.89 26.83.08 3.13.22 6.3.71 9.42.22 1.34.28 3.87 1.29 4.87.5.5 1.24.78 1.96.58 1.71-.47 1.13-1.73 1.17-2.9.2-5.88-.08-11.08 1.32-16.9a44.4 44.4 0 0 1 5-12.03 72.07 72.07 0 0 1 9.8-13.35c.92-.99 1.12-1.4 2.35-1.48.93-.05 2.3.59 3.2.8 2 .5 4 .98 6.03 1.3 3.74.6 7.45.65 11.22.53 7.43-.23 14.88-.75 22.09-2.62 4.78-1.24 9.02-3.47 13.6-5.1.08-.04 1.23-.85 1.43-.82.28.04 1.97 1.82 2.26 2.05 2.23 1.74 4.67 2.48 7.07 3.83 2.97 1.66.1-.72 1.73 1.36.48.6.72 1.72 1.1 2.4 1.22 2.2 2.9 4.1 4.93 5.63 1.96 1.47 4.9 2.18 5.9 4.1.76 1.47 1.02 3.48 1.64 5.06 1.63 4.13 3.78 7.99 5.93 11.88 1.73 3.14 3.62 5.89 3.81 9.47.07 1.25-1.12 8.74 1.78 6.46.43-.34 1.35-4.15 1.54-4.8.77-2.63 1.05-5.38 1.4-8.09.69-5.38.92-10.5.46-15.91Z" fill="${p(`${l.hair}`)}"/>`,shortFlat:(a,l)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M180.15 39.92c-2.76-2.82-5.96-5.21-9.08-7.61-.69-.53-1.39-1.05-2.06-1.6-.15-.12-1.72-1.24-1.9-1.66-.45-.99-.19-.22-.12-1.4.08-1.5 3.13-5.73.85-6.7-1-.43-2.8.7-3.75 1.08a59.56 59.56 0 0 1-5.73 1.9c.93-1.85 2.7-5.57-.63-4.58-2.6.78-5.03 2.77-7.64 3.7.86-1.4 4.32-5.8 1.2-6.05-.98-.07-3.8 1.75-4.86 2.14a55.81 55.81 0 0 1-9.63 2.51c-11.2 2.02-24.3 1.45-34.65 6.54-8 3.93-15.88 10.03-20.5 17.8-4.44 7.48-6.1 15.67-7.03 24.25-.69 6.3-.74 12.8-.42 19.12.1 2.07.34 11.61 3.34 8.72 1.5-1.44 1.49-7.25 1.87-9.22.75-3.91 1.47-7.85 2.72-11.64 2.2-6.68 4.81-13.8 10.3-18.4 3.53-2.94 6.01-6.93 9.39-9.9 1.51-1.35.36-1.2 2.8-1.03 1.63.12 3.28.16 4.92.2 3.8.1 7.6.08 11.4.1 7.64 0 15.25.12 22.89-.28 3.4-.18 6.8-.28 10.18-.6 1.9-.17 5.25-1.38 6.8-.45 1.43.84 2.91 3.61 3.94 4.75 2.41 2.67 5.3 4.72 8.12 6.92 5.9 4.57 8.87 10.33 10.66 17.48 1.79 7.13 1.29 13.75 3.5 20.76.38 1.24 1.4 3.36 2.67 1.46.24-.36.18-2.3.18-3.42 0-4.52 1.14-7.91 1.13-12.46-.06-13.83-.5-31.87-10.85-42.44Z" fill="${p(`${l.hair}`)}"/>`,shortRound:(a,l)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M167.3 35c-20.18-11.7-40.17-9.78-55.26-5.97-15.1 3.8-24.02 14.62-31.68 30.62a67.68 67.68 0 0 0-6.34 25.83c-.13 3.41.33 6.94 1.25 10.22.33 1.2 2.15 5.39 2.65 2 .17-1.12-.44-2.67-.5-3.86-.08-1.57 0-3.16.11-4.73.2-2.92.73-5.8 1.65-8.59 1.33-3.98 3.02-8.3 5.6-11.67 6.4-8.33 17.49-8.8 26.29-13.39-.77 1.4-3.7 3.68-2.7 5.27.71 1.1 3.38.76 4.65.72 3.35-.09 6.72-.67 10.02-1.14a71.5 71.5 0 0 0 15-4.1c4.02-1.5 8.61-2.88 11.63-6.07a68.67 68.67 0 0 0 17.4 13c5.62 2.88 14.68 4.32 18.11 10.16 4.07 6.91 2.2 15.4 3.44 22.9.47 2.85 1.54 2.79 2.13.24 1-4.33 1.47-8.83 1.15-13.28-.72-10.05-4.4-36.45-24.6-48.15Z" fill="${p(`${l.hair}`)}"/>`,shortWaved:(a,l)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M183.68 38.95c5.4-4.95 6.7-14.99 3.64-21.5-3.77-8-11.42-9-18.75-5.48-6.9 3.31-13.06 4.42-20.62 2.81-7.26-1.54-14.14-4.26-21.65-4.7-12.32-.74-24.3 3.83-32.7 13.05a35.75 35.75 0 0 0-4.11 5.8c-.98 1.63-2.08 3.38-2.5 5.26-.2.9.18 3.1-.27 3.83-.48.8-2.3 1.52-3.07 2.1a25.02 25.02 0 0 0-4.18 4.05c-2.66 3.22-4.13 6.59-5.37 10.57-4.1 13.25-4.45 29 .86 42 .7 1.74 2.9 5.36 4.18 1.64.26-.73-.33-3.19-.33-3.93 0-2.72 1.5-20.73 8.05-30.82 2.13-3.28 11.97-15.58 13.98-15.68 1.07 1.7 11.88 12.51 39.94 11.24 12.66-.58 22.4-6.27 24.74-8.73 1.03 5.53 13 13.81 14.82 17.22 5.26 9.85 6.43 30.3 8.44 30.27 2.01-.04 3.45-5.24 3.87-6.23 3.07-7.38 3.6-16.64 3.26-24.56-.42-10.2-4.63-21.23-12.23-28.22Z" fill="${p(`${l.hair}`)}"/>`,sides:(a,l)=>`<path d="M70 97c0 4 .92 5.07 6 5 3.25-.05 3.44-6 3.65-12.59.14-4.37.29-9.03 1.35-12.41.62-4.43-1.82-3.17-3-1-3.96 4.78-8 15.34-8 21ZM196 97c0 4-.92 5.07-6 5-3.25-.05-3.44-6-3.65-12.59-.14-4.37-.29-9.03-1.35-12.41-.62-4.43 1.82-3.17 3-1 3.96 4.78 8 15.34 8 21Z" fill="${p(`${l.hair}`)}"/>`,theCaesar:(a,l)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M76 98c.35 1.49 1.67 1.22 2 0-.46-1.55 3.3-28.75 13-36 3.62-2.52 23-4.77 42.31-4.75 19.1 0 38.11 2.26 41.69 4.75 9.7 7.25 13.46 34.45 13 36 .33 1.22 1.65 1.49 2 0 .72-10.3 0-63.73-57-63-57 .73-57.72 52.7-57 63Z" fill="${p(`${l.hair}`)}"/>`,theCaesarAndSidePart:(a,l)=>`<path d="M78 98c-.33 1.22-1.65 1.49-2 0-.72-10.3 0-62.27 57-63 57-.73 57.72 52.7 57 63-.35 1.49-1.67 1.22-2 0 .46-1.55-3.3-28.75-13-36-1.76-1.22-7.25-2.39-14.64-3.26L164 50l-6.98 8.38c-7.03-.7-15.36-1.13-23.7-1.13C114 57.23 94.61 59.48 91 62c-9.7 7.25-13.46 34.45-13 36Z" fill="${p(`${l.hair}`)}"/>`,bigHair:(a,l)=>`<path d="M44.83 105.6c-.39-1.61-.77-3.24-1.13-4.92-1.95-9.23-2.95-20.22 2.89-39.67-6.9 22.99-4.25 34.15-1.76 44.58 1.23 5.2 2.43 10.2 2.37 16.4a15.44 15.44 0 0 0 0 0c.06-6.2-1.14-11.21-2.37-16.4ZM218.38 114.23c-.13.4-.16.8-.18 1.23l.18-1.23ZM218.05 116.81c-.11 1.09-.2 2.2-.23 3.35-29.04-10.76-54.94-29.62-70.32-51.55-12.1 15.62-31.96 23.04-51.63 30.4-17.38 6.5-34.62 12.94-46.2 24.94l1.09-1.5c11-14.6 28.76-21.88 46.7-29.24 18.82-7.71 37.82-15.5 49.39-31.9 15.4 24.1 41.81 44.65 71.16 55.63l.04-.12Z" fill="#000" fill-opacity=".16"/><path d="M32 280h1v-9a72 72 0 0 1 72-72h4v-18.39a56.03 56.03 0 0 1-31.8-45.74A12 12 0 0 1 67 123v-13c0-.8.08-1.57.22-2.32 9.12-5.82 19.65-10.13 30.24-14.48 18.81-7.71 37.82-15.5 49.39-31.9C158.8 80 177.4 96.6 198.87 108.2c.08.59.13 1.19.13 1.8v13a12 12 0 0 1-10.2 11.87A56.03 56.03 0 0 1 157 180.6V199h4a72 72 0 0 1 72 72v9c24.41-13.94 15.86-33.21 6.28-48.46a303.17 303.17 0 0 0-4.07-6.27c-3.48-5.25-6.45-9.74-7.2-12.97-.1-.46-.17-.9-.18-1.3-.14-4.62 3.14-7.84 7.16-11.78 6.22-6.08 14.18-13.89 14.01-31.22-.51-15.83-9.8-22.25-18.1-28-6.93-4.78-13.17-9.1-13.1-18-.01-1.82.08-3.54.25-5.19.11-.4.13-.83.15-1.25v-.1c.45-3.44 1.2-6.62 1.98-9.87 2.55-10.72 5.3-22.23-2.38-46.59-2.9-9.12-6.97-16.5-12.1-22.46-14.12-16.42-36.35-22.04-64.9-23.29-2.55-.11-5.15-.19-7.8-.23V13h-1c-43.08.77-73.16 9.54-84.8 46-7.67 24.36-4.93 35.87-2.37 46.6 1.23 5.19 2.43 10.2 2.37 16.4.03 3.75-1.06 6.7-2.85 9.2-2.46 3.43-6.23 6.04-10.24 8.8-8.3 5.75-17.6 12.17-18.1 28-.17 17.33 7.8 25.14 14.01 31.22 4.03 3.94 7.32 7.16 7.17 11.78-.08 3.26-3.4 8.27-7.38 14.27-10.54 15.9-25.7 38.8 2.2 54.73Z" fill="${p(`${l.hair}`)}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M50.58 122.45c22.54-29.92 73.49-29.13 96.09-61.15 15.4 24.1 41.82 44.65 71.16 55.63.3-.86.08-1.85.37-2.7 2.15-14.14 9.14-24.37-.58-55.23-11.63-36.46-41.71-45.23-84.8-45.98l-1-.02c-43.08.77-73.16 9.54-84.8 46-11.38 36.16.17 44 0 63 .04 3.75-1.05 6.7-2.85 9.2.19.4 4.16-5.76 6.41-8.75Z" fill="#fff" fill-opacity=".2"/>`},_={beardLight:(a,l)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M101.43 98.17c-2.52 2.3-5.2 3.32-8.58 2.6-.58-.12-2.95-4.54-8.85-4.54-5.9 0-8.27 4.42-8.85 4.54-3.39.72-6.07-.3-8.58-2.6-4.72-4.31-8.65-10.26-6.3-16.75 1.24-3.38 3.24-7.1 6.88-8.17 3.89-1.15 9.35 0 13.26-.8A8.6 8.6 0 0 0 84 71a8.6 8.6 0 0 0 3.58 1.46c3.92.78 9.38-.36 13.27.79 3.64 1.07 5.64 4.79 6.87 8.17 2.36 6.49-1.57 12.44-6.3 16.75ZM140.08 26c-3.4 8.4-2.1 18.86-2.72 27.68-.52 7.16-2.02 17.9-8.39 22.53-3.25 2.37-9.18 6.35-13.43 5.24-2.93-.76-3.24-9.16-7.09-12.3a22.42 22.42 0 0 0-15.3-4.9c-2.37.11-7.17.09-9.15 1.91-1.98-1.82-6.78-1.8-9.15-1.9a22.42 22.42 0 0 0-15.3 4.89c-3.85 3.14-4.16 11.54-7.1 12.3-4.24 1.1-10.17-2.87-13.42-5.24-6.37-4.62-7.87-15.37-8.39-22.53-.63-8.82.69-19.28-2.72-27.68-1.66 0-.57 16.13-.57 16.13v20.36c.04 15.28 9.59 38.16 30.76 46.9C63.29 111.53 75 115 84 115c8.98.01 20.71-3.13 25.9-5.27 21.16-8.73 30.71-31.95 30.75-47.23V42.13s1.1-16.13-.57-16.13Z" fill="${p(`${l.facialHair}`)}"/>`,beardMajestic:(a,l)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M65.18 77.74c2.18-1.64 15.23-2.26 17.58-3.65.73-.43 1.3-.87 1.74-1.31.44.44 1 .88 1.74 1.3 2.35 1.4 15.4 2.02 17.58 3.66 2.21 1.65 3.82 5.44 3.65 8.41-.22 3.56-4.1 12.05-13.8 13.03a12.3 12.3 0 0 0-9.17-3.87 12.3 12.3 0 0 0-9.17 3.87c-9.7-.98-13.58-9.47-13.8-13.03-.17-2.97 1.44-6.76 3.65-8.41Zm.67 17.16h.01-.01ZM144.86 56c-.39-5.97-1.58-11.85-2.63-17.71-.28-1.58-1.8-12.29-2.5-12.29-.23 9.1-1.03 18.08-2.06 27.14-.3 2.7-.63 5.42-.84 8.13-.18 2.2.13 4.85-.4 6.98-.68 2.7-4.08 5.23-6.73 6.16-6.6 2.33-12.1-7.3-17.74-10.12-7.32-3.66-19.9-4.53-27.38.24-7.64-4.77-20.22-3.9-27.54-.24C51.4 67.11 45.9 76.74 39.3 74.41c-2.65-.93-6.05-3.46-6.73-6.16-.53-2.13-.22-4.78-.4-6.98-.2-2.71-.53-5.42-.84-8.13A308.31 308.31 0 0 1 29.27 26c-.7 0-2.22 10.7-2.5 12.29-1.05 5.86-2.24 11.74-2.63 17.7-.4 6.11.07 12.18 1.33 18.17.6 2.87 1.3 5.72 2.05 8.54.83 3.15-.32 9.27.05 12.5.7 6.1 3.58 18 6.81 23.25 1.56 2.54 3.4 4.12 5.44 6.17 1.96 1.97 2.78 5.02 4.9 7.12 3.96 3.9 9.73 6.23 15.65 6.8 5.3 4.51 14.14 7.46 24.13 7.46 10 0 18.82-2.95 24.14-7.46 5.91-.57 11.68-2.9 15.63-6.8 2.13-2.1 2.95-5.15 4.91-7.12 2.05-2.05 3.88-3.63 5.44-6.17 3.23-5.25 6.1-17.15 6.8-23.26.38-3.22-.77-9.34.06-12.49.75-2.82 1.45-5.67 2.05-8.54 1.25-6 1.73-12.06 1.33-18.17Z" fill="${p(`${l.facialHair}`)}"/>`,beardMedium:(a,l)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M84.5 93.84c-11.5.38-16.64 5.88-20.5.29-2.91-4.2-1.7-11.26 1.01-15.23 3.86-5.65 9.1-2.92 14.95-3.56 1.6-.18 3.2-.62 4.54-1.34 1.36.72 2.95 1.16 4.55 1.34 5.85.64 11.09-2.09 14.94 3.56 2.72 3.97 3.93 11.03 1.03 15.23-3.87 5.6-9-.67-20.52-.29ZM140.4 26c-3.43 14.07-5 28.43-7.5 42.67-.5 2.97-1.07 5.93-1.68 8.88-.12.62-.25 2.92-.86 3.21-1.85.89-5.62-3.81-6.63-4.87-2.53-2.67-5.05-5.36-8.13-7.45a43.7 43.7 0 0 0-21.13-7.32c-3.18-.25-7.47.18-10.47 2-3-1.82-7.3-2.25-10.47-2-7.6.6-14.9 3.1-21.13 7.32-3.09 2.09-5.6 4.78-8.13 7.45-1 1.06-4.78 5.76-6.63 4.87-.61-.29-.74-2.6-.86-3.21-.6-2.95-1.17-5.91-1.7-8.88-2.47-14.24-4.05-28.6-7.47-42.67-1 0-1.87 18.75-1.98 20.5-.46 7.09-.98 14.03-.3 21.13 1.16 12.24 2.37 27.6 11.7 36.96 8.44 8.45 20.68 10.22 31.24 15.55 1.36.69 3.16 1.54 5.1 2.23 2.06 1.56 6.12 2.63 10.8 2.63 4.91 0 9.15-1.17 11.08-2.86 1.7-.65 3.27-1.39 4.48-2 10.56-5.33 22.8-7.1 31.24-15.55 9.33-9.36 10.54-24.72 11.7-36.96.68-7.1.16-14.04-.3-21.14-.1-1.74-.98-20.5-1.98-20.5Z" fill="${p(`${l.facialHair}`)}"/>`,moustacheFancy:(a,l)=>`<path d="M57.55 69.68a31.8 31.8 0 0 1 4.84-2.55C67.58 65.15 77.2 65.71 84 69.3c6.8-3.59 16.42-4.15 21.61-2.17 1.64.63 3.22 1.57 4.84 2.55 4.13 2.47 8.55 5.12 14.91 3.15.37-.12.73.22.62.58-1.37 4.5-9 7.6-11.6 7.7-6.2.24-11.75-2.26-17.13-4.69-4.44-2-8.77-3.96-13.25-4.26-4.48.3-8.8 2.26-13.25 4.26-5.38 2.43-10.92 4.93-17.13 4.69-2.6-.1-10.23-3.2-11.6-7.7-.11-.36.25-.7.62-.58 6.36 1.97 10.78-.68 14.9-3.15Z" fill="${p(`${l.facialHair}`)}"/>`,moustacheMagnum:(a,l)=>`<path d="M84 66.94c-2.5-3.34-12.27-4.75-19.28-3.48-9.65 1.76-13.74 12.3-12.5 14.22.77 1.2 2.48.8 4.26.38.8-.2 1.64-.38 2.4-.43 1.48-.09 3.34.22 5.44.57 4.98.82 11.37 1.88 17.63-1.51A6.04 6.04 0 0 0 84 74.84a6.04 6.04 0 0 0 2.05 1.85c6.25 3.39 12.64 2.33 17.62 1.5 2.1-.34 3.96-.65 5.45-.56.76.05 1.59.24 2.4.43 1.78.41 3.49.81 4.26-.38 1.24-1.91-2.85-12.46-12.5-14.22-7.02-1.27-16.78.14-19.28 3.48Z" fill="${p(`${l.facialHair}`)}"/>`},O={kurt:(a,l)=>`<path d="M71 58.11c-11.04 0-12.63-9.08-35.33-10.37C13 46.72 5.82 53.44 5.77 58.11c.04 4.3-1.12 15.45 13.6 28.52 14.77 15.51 29.9 10.25 35.32 5.18 5.45-2.34 11.65-23.35 16.3-23.33 4.67.02 10.87 21 16.32 23.33 5.42 5.07 20.55 10.33 35.33-5.18 14.71-13.07 13.55-24.23 13.58-28.52-.03-4.66-7.2-11.4-29.9-10.37C83.63 49.03 82.05 58.11 71 58.11Z" fill="#000" fill-opacity=".1"/><path d="M71 56.11c-11.04 0-12.63-9.08-35.33-10.37C13 44.72 5.82 51.44 5.77 56.11c.04 4.3-1.12 15.45 13.6 28.52 14.77 15.51 29.9 10.25 35.32 5.18 5.45-2.34 11.65-23.35 16.3-23.33 4.67.02 10.87 21 16.32 23.33 5.42 5.07 20.55 10.33 35.33-5.18 14.71-13.07 13.55-24.23 13.58-28.52-.03-4.66-7.2-11.4-29.9-10.37C83.63 47.03 82.05 56.11 71 56.11Z" fill="${p(`${l.accessories}`)}"/><path d="M32.95 50.93c14.27-.29 27.56 7.9 27.18 15.55-.22 5.05-2.93 22.83-19.02 23.33-16.1.5-24.81-17.79-24.46-25.92.2-3.51 2.05-12.67 16.3-12.96ZM109.05 50.93c-14.27-.29-27.56 7.9-27.18 15.55.22 5.05 2.93 22.83 19.02 23.33 16.1.5 24.81-17.79 24.46-25.92-.2-3.51-2.05-12.67-16.3-12.96Z" fill="#2F383B"/>`,prescription01:(a,l)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M111.71 53.49c4.67.16 8 .88 10.55 4.52 3.01.15 6.25.37 8.98 1.63 3.39 1.56 3.9 5.1-.36 5.59-1.86.2-3.72-.12-5.55-.45l-.19-.03-.33-.06c1.1 9.46-6.21 20.87-14.23 24.35C99.6 93.8 87.34 88.53 81.53 79c-2.62-4.3-4.14-10.51-4.46-15.86-.42-.2-.83-.44-1.23-.67-.38-.22-.76-.44-1.12-.61-2-.98-5.34-1.1-7.5 0-.35.17-.7.37-1.05.58-.42.25-.86.5-1.3.72C64.53 68.5 63.01 74.7 60.4 79c-5.8 9.53-18.07 14.8-29.05 10.04-8.02-3.48-15.33-14.89-14.23-24.35l-.33.06-.2.03c-1.83.33-3.7.66-5.55.45-4.27-.5-3.74-4.03-.36-5.6 2.72-1.25 5.96-1.47 8.97-1.62 2.55-3.63 5.88-4.36 10.55-4.52l23.29-.46c5.19-.14 9.72 0 11.03 4.6a18.7 18.7 0 0 1 6.35-1.25c1.86 0 4.35.45 6.5 1.28 1.3-4.64 5.83-4.77 11.03-4.63l23.3.46Zm-24.03 6.78c-2.37.03-3.5.42-3.9 2.9-.4 2.5 0 5.31.46 7.78.73 3.77 1.92 7.46 4.71 10.22a16.24 16.24 0 0 0 8.32 4.34c.11.03.54.1.96.16.63.1 1.23.18.71.13l-.1-.01h-.06a47.08 47.08 0 0 1 .16 0c3.73.4 7.72.32 10.82-2.04 3.53-2.7 5.95-6.95 7.01-11.2.63-2.48 1.93-8.42-.46-10.4-2.73-2.28-28.63-1.88-28.63-1.88Zm-33.43 0c2.37.03 3.5.42 3.9 2.9.4 2.5 0 5.32-.46 7.78-.73 3.77-1.92 7.46-4.71 10.22a16.23 16.23 0 0 1-8.32 4.35l-.96.15c-.64.1-1.26.19-.68.13-3.73.4-7.74.32-10.85-2.05-3.53-2.69-5.95-6.95-7.01-11.2-.63-2.48-1.93-8.42.46-10.4 2.73-2.28 28.63-1.87 28.63-1.87Zm-10.93 25.5Z" fill="#000" fill-opacity=".1"/><path d="M111.71 51.49c4.67.16 8 .88 10.55 4.52 3.01.15 6.25.37 8.98 1.63 3.39 1.56 3.9 5.1-.36 5.59-1.86.2-3.72-.12-5.55-.45l-.19-.03-.33-.06c1.1 9.46-6.21 20.87-14.23 24.35C99.6 91.8 87.34 86.53 81.53 77c-2.62-4.3-4.14-10.51-4.46-15.86-.42-.2-.83-.44-1.23-.67-.38-.22-.76-.44-1.12-.61-2-.98-5.34-1.1-7.5 0-.35.17-.7.37-1.05.58-.42.25-.86.5-1.3.72C64.53 66.5 63.01 72.7 60.4 77c-5.8 9.53-18.07 14.8-29.05 10.04-8.02-3.48-15.33-14.89-14.23-24.35-.11 0-.22.03-.33.05l-.2.03c-1.83.33-3.7.66-5.55.45-4.27-.5-3.74-4.03-.36-5.6 2.72-1.25 5.96-1.47 8.97-1.62 2.55-3.63 5.88-4.36 10.55-4.52l23.29-.46c5.19-.14 9.72 0 11.03 4.6a18.7 18.7 0 0 1 6.35-1.25c1.86 0 4.35.45 6.5 1.28 1.3-4.64 5.83-4.77 11.03-4.63l23.3.46Zm-24.03 6.78c-2.37.03-3.5.42-3.9 2.9-.4 2.5 0 5.31.46 7.78.73 3.77 1.92 7.46 4.71 10.22a16.24 16.24 0 0 0 8.32 4.34c.11.03.54.1.96.16.63.1 1.23.18.71.13l-.1-.01h-.06a47.08 47.08 0 0 1 .16 0c3.73.4 7.72.32 10.82-2.04 3.53-2.7 5.95-6.95 7.01-11.2.63-2.48 1.93-8.42-.46-10.4-2.73-2.28-28.63-1.88-28.63-1.88Zm-33.43 0c2.37.03 3.5.42 3.9 2.9.4 2.5 0 5.32-.46 7.78-.73 3.77-1.92 7.46-4.71 10.22a16.23 16.23 0 0 1-8.32 4.35l-.96.15c-.64.1-1.26.19-.68.13-3.73.4-7.74.32-10.85-2.05-3.53-2.69-5.95-6.95-7.01-11.2-.63-2.48-1.93-8.42.46-10.4 2.73-2.28 28.63-1.87 28.63-1.87Zm-10.93 25.5Z" fill="${p(`${l.accessories}`)}"/></g>`,prescription02:(a,l)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M38.5 52c-21.3 0-28.85 5.1-29.55 5.77A2.92 2.92 0 0 0 6 60.66v2.88c0 1.6 1.32 2.89 2.95 2.89 0 0 5.91 0 5.91 2.88 0 .44.07.65.19.68-.04.82-.05 1.66-.05 2.5C15 85.34 23.31 93 37.24 93H40c14.72 0 25-8.43 25-20.5 0-1.5-.04-3-.17-4.46l1.58-.77c.58-.29 1.21-.5 1.9-.64 1.85-.38 3.95-.22 5.99.28.73.18 1.26.35 1.5.45l1.38.55c-.14 1.5-.18 3.04-.18 4.6C77 85.34 85.31 93 99.24 93H102c14.72 0 25-8.43 25-20.5 0-1.54-.04-3.07-.18-4.56 1.74-1.51 6.22-1.51 6.22-1.51a2.92 2.92 0 0 0 2.96-2.89v-2.88c0-1.6-1.32-2.89-2.96-2.89-.69-.67-8.25-5.77-29.54-5.77H100.53c-1.8 0-3.44.07-4.97.2-9.54.54-14.68 2.15-19.92 4.7a17 17 0 0 1-4.56.87 17.01 17.01 0 0 1-4.81-.91l-.42-.2v-.01c-4.94-2.42-8.43-4.13-20.78-4.55a61.2 61.2 0 0 0-3.6-.1H38.5ZM19 73.5C19 64.84 19 58 38.39 58h3.22C61 58 61 64.84 61 73.5 61 82.63 52.36 89 40 89h-3.03C22.12 89 19 80.57 19 73.5Zm62 0c0-8.66 0-15.5 19.39-15.5h3.22C123 58 123 64.84 123 73.5c0 9.13-8.64 15.5-21 15.5h-3.03C84.12 89 81 80.57 81 73.5Z" fill="#000" fill-opacity=".1"/><path d="M38.5 50c-21.3 0-28.85 5.1-29.55 5.77A2.92 2.92 0 0 0 6 58.66v2.88c0 1.6 1.32 2.89 2.95 2.89 0 0 5.91 0 5.91 2.88 0 .44.07.65.19.68-.04.82-.05 1.66-.05 2.5C15 83.34 23.31 91 37.24 91H40c14.72 0 25-8.43 25-20.5 0-1.5-.04-3-.17-4.46l1.58-.77c.58-.29 1.21-.5 1.9-.64 1.85-.38 3.95-.22 5.99.28.73.18 1.26.35 1.5.45l1.38.55c-.14 1.5-.18 3.04-.18 4.6C77 83.34 85.31 91 99.24 91H102c14.72 0 25-8.43 25-20.5 0-1.54-.04-3.07-.18-4.56 1.74-1.51 6.22-1.51 6.22-1.51a2.92 2.92 0 0 0 2.96-2.89v-2.88c0-1.6-1.32-2.89-2.96-2.89-.69-.67-8.25-5.77-29.54-5.77H100.53c-1.8 0-3.44.07-4.97.2-9.54.54-14.68 2.15-19.92 4.7a17 17 0 0 1-4.56.87 17.01 17.01 0 0 1-4.81-.91l-.42-.2v-.01c-4.94-2.42-8.43-4.13-20.78-4.55a61.2 61.2 0 0 0-3.6-.1H38.5ZM19 71.5C19 62.84 19 56 38.39 56h3.22C61 56 61 62.84 61 71.5 61 80.63 52.36 87 40 87h-3.03C22.12 87 19 78.57 19 71.5Zm62 0c0-8.66 0-15.5 19.39-15.5h3.22C123 56 123 62.84 123 71.5c0 9.13-8.64 15.5-21 15.5h-3.03C84.12 87 81 78.57 81 71.5Z" fill="${p(`${l.accessories}`)}"/></g>`,round:(a,l)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M40 96a24 24 0 0 1-22.96-31H10.5a2.5 2.5 0 0 1 0-5h8c.23 0 .45.03.66.09a24 24 0 0 1 42.26 1.06A11.36 11.36 0 0 1 70.86 56c4.01 0 7.55 2.14 9.6 5.4a24 24 0 0 1 42.38-1.31c.2-.06.43-.1.66-.1h8a2.5 2.5 0 1 1 0 5h-6.54a24 24 0 1 1-46.6 2.83c-.08-4.37-3.45-7.83-7.5-7.83-3.73 0-6.89 2.94-7.42 6.83A24 24 0 0 1 40 96Zm0-4a20 20 0 1 0 0-40 20 20 0 0 0 0 40Zm82-20a20 20 0 1 1-40 0 20 20 0 0 1 40 0Z" fill="#000" fill-opacity=".1"/><path d="M40 94a24 24 0 0 1-22.96-31H10.5a2.5 2.5 0 0 1 0-5h8c.23 0 .45.03.66.09a24 24 0 0 1 42.26 1.06A11.36 11.36 0 0 1 70.86 54c4.01 0 7.55 2.14 9.6 5.4a24 24 0 0 1 42.38-1.31c.2-.06.43-.1.66-.1h8a2.5 2.5 0 1 1 0 5h-6.54a24 24 0 1 1-46.6 2.84c-.08-4.37-3.45-7.83-7.5-7.83-3.73 0-6.89 2.94-7.42 6.83A24 24 0 0 1 40 94Zm0-4a20 20 0 1 0 0-40 20 20 0 0 0 0 40Zm82-20a20 20 0 1 1-40 0 20 20 0 0 1 40 0Z" fill="${p(`${l.accessories}`)}"/></g>`,sunglasses:(a,l)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M111.71 53.49c4.67.16 8 .88 10.55 4.52 3.01.15 6.25.37 8.98 1.63 3.39 1.56 3.9 5.1-.36 5.59-1.86.2-3.72-.12-5.55-.45l-.19-.03-.33-.06c1.1 9.46-6.21 20.87-14.23 24.35C99.6 93.8 87.34 88.53 81.53 79c-2.62-4.3-4.14-10.51-4.46-15.86-.42-.2-.83-.44-1.23-.67-.38-.22-.76-.44-1.12-.61-2-.98-5.34-1.1-7.5 0-.35.17-.7.37-1.05.58-.42.25-.86.5-1.3.72C64.53 68.5 63.01 74.7 60.4 79c-5.8 9.53-18.07 14.8-29.05 10.04-8.02-3.48-15.33-14.89-14.23-24.35l-.33.06-.2.03c-1.83.33-3.7.66-5.55.45-4.27-.5-3.74-4.03-.36-5.6 2.72-1.25 5.96-1.47 8.97-1.62 2.55-3.63 5.88-4.36 10.55-4.52l23.29-.46c5.19-.14 9.72 0 11.03 4.6a18.7 18.7 0 0 1 6.35-1.25c1.86 0 4.35.45 6.5 1.28 1.3-4.64 5.83-4.77 11.03-4.63l23.3.46Zm-24.03 6.78c-2.37.03-3.5.42-3.9 2.9-.4 2.5 0 5.31.46 7.78.73 3.77 1.92 7.46 4.71 10.22a16.24 16.24 0 0 0 8.32 4.34c.11.03.54.1.96.16.63.1 1.23.18.71.13 3.73.4 7.72.3 10.82-2.05 3.53-2.7 5.95-6.95 7.01-11.2.63-2.48 1.93-8.42-.46-10.4-2.73-2.28-28.63-1.88-28.63-1.88Zm-33.43 0c2.37.03 3.5.42 3.9 2.9.4 2.5 0 5.32-.46 7.78-.73 3.77-1.92 7.46-4.71 10.22a16.23 16.23 0 0 1-9.28 4.5c-.64.1-1.26.19-.68.13-3.73.4-7.74.32-10.85-2.05-3.53-2.69-5.95-6.95-7.01-11.2-.63-2.48-1.93-8.42.46-10.4 2.73-2.28 28.63-1.87 28.63-1.87Zm-10.93 25.5Z" fill="#000" fill-opacity=".1"/><path d="M55.01 57.28c2.51.02 3.7.45 4.13 3.11.43 2.7 0 5.74-.5 8.4-.75 4.06-2.02 8.04-4.98 11a17.16 17.16 0 0 1-8.8 4.69c-.33.07-3.15.47-1.42.27-4.04.47-8.43.45-11.8-2.17-3.74-2.9-6.3-7.5-7.43-12.07-.66-2.66-2.04-9.06.49-11.2C27.6 56.85 55 57.28 55 57.28Z" fill="#000" fill-opacity=".7"/><path d="M55.01 57.28c2.51.02 3.7.45 4.13 3.11.43 2.7 0 5.74-.5 8.4-.75 4.06-2.02 8.04-4.98 11a17.16 17.16 0 0 1-8.8 4.69c-.33.07-3.15.47-1.42.27-4.04.47-8.43.45-11.8-2.17-3.74-2.9-6.3-7.5-7.43-12.07-.66-2.66-2.04-9.06.49-11.2C27.6 56.85 55 57.28 55 57.28Z" fill="url(#accessoriesSunglasses-a)" style="mix-blend-mode:screen"/><path d="M86.92 57.27c-2.51.03-3.7.45-4.13 3.12-.43 2.7 0 5.73.5 8.4.75 4.06 2.02 8.03 4.98 11a17.17 17.17 0 0 0 8.8 4.69c.33.07 3.15.47 1.42.26 4.04.47 8.43.45 11.8-2.16 3.74-2.9 6.3-7.5 7.43-12.07.66-2.67 2.04-9.07-.49-11.2-2.9-2.46-30.31-2.03-30.31-2.03Z" fill="#000" fill-opacity=".7"/><path d="M86.92 57.27c-2.51.03-3.7.45-4.13 3.12-.43 2.7 0 5.73.5 8.4.75 4.06 2.02 8.03 4.98 11a17.17 17.17 0 0 0 8.8 4.69c.33.07 3.15.47 1.42.26 4.04.47 8.43.45 11.8-2.16 3.74-2.9 6.3-7.5 7.43-12.07.66-2.67 2.04-9.07-.49-11.2-2.9-2.46-30.31-2.03-30.31-2.03Z" fill="url(#accessoriesSunglasses-b)" style="mix-blend-mode:screen"/><path d="M111.71 51.49c4.67.16 8 .88 10.55 4.52 3.01.15 6.25.37 8.98 1.63 3.39 1.56 3.9 5.1-.36 5.59-1.86.2-3.72-.12-5.55-.45l-.19-.03-.33-.06c1.1 9.46-6.21 20.87-14.23 24.35C99.6 91.8 87.34 86.53 81.53 77c-2.62-4.3-4.14-10.51-4.46-15.86-.42-.2-.83-.44-1.23-.67-.38-.22-.76-.44-1.12-.61-2-.98-5.34-1.1-7.5 0-.35.17-.7.37-1.05.58-.42.25-.86.5-1.3.72C64.53 66.5 63.01 72.7 60.4 77c-5.8 9.53-18.07 14.8-29.05 10.04-8.02-3.48-15.33-14.89-14.23-24.35-.11 0-.22.03-.33.05l-.2.03c-1.83.33-3.7.66-5.55.45-4.27-.5-3.74-4.03-.36-5.6 2.72-1.25 5.96-1.47 8.97-1.62 2.55-3.63 5.88-4.36 10.55-4.52l23.29-.46c5.19-.14 9.72 0 11.03 4.6a18.7 18.7 0 0 1 6.35-1.25c1.86 0 4.35.45 6.5 1.28 1.3-4.64 5.83-4.77 11.03-4.63l23.3.46Zm-24.03 6.78c-2.37.03-3.5.42-3.9 2.9-.4 2.5 0 5.31.46 7.78.73 3.77 1.92 7.46 4.71 10.22a16.24 16.24 0 0 0 8.32 4.34c.11.03.54.1.96.16.63.1 1.23.18.71.13 3.73.4 7.72.3 10.82-2.05 3.53-2.7 5.95-6.95 7.01-11.2.63-2.48 1.93-8.42-.46-10.4-2.73-2.28-28.63-1.88-28.63-1.88Zm-33.43 0c2.37.03 3.5.42 3.9 2.9.4 2.5 0 5.32-.46 7.78-.73 3.77-1.92 7.46-4.71 10.22a16.23 16.23 0 0 1-9.28 4.5c-.64.1-1.26.19-.68.13-3.73.4-7.74.32-10.85-2.05-3.53-2.69-5.95-6.95-7.01-11.2-.63-2.48-1.93-8.42.46-10.4 2.73-2.28 28.63-1.87 28.63-1.87Zm-10.93 25.5Z" fill="${p(`${l.accessories}`)}"/></g><defs><linearGradient id="accessoriesSunglasses-a" x1="28.56" y1="57.25" x2="28.56" y2="76.8" gradientUnits="userSpaceOnUse"><stop stop-color="#fff" stop-opacity=".5"/><stop offset="1" stop-opacity=".5"/></linearGradient><linearGradient id="accessoriesSunglasses-b" x1="82.61" y1="57.25" x2="82.61" y2="84.98" gradientUnits="userSpaceOnUse"><stop stop-color="#fff" stop-opacity=".5"/><stop offset=".71" stop-opacity=".5"/></linearGradient></defs>`,wayfarers:(a,l)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M39.25 52c-21.13 0-28.63 5.17-29.32 5.86A2.93 2.93 0 0 0 7 60.79v2.92a2.93 2.93 0 0 0 2.93 2.93s5.87 0 5.87 2.93c0 .2 0 .34.03.45-.03.82-.04 1.65-.04 2.48C15.78 85.34 24.07 93 37.96 93h2.75c14.68 0 24.93-8.43 24.93-20.5 0-1.44-.04-2.88-.16-4.28l1.45-.73c.57-.28 1.2-.5 1.87-.64 1.85-.39 3.93-.23 5.95.28.73.18 1.25.36 1.5.46l1.25.5a50.58 50.58 0 0 0-.16 4.4c0 12.84 8.29 20.5 22.17 20.5h2.75c14.68 0 24.93-8.43 24.93-20.5 0-.83 0-1.66-.04-2.48.02-.11.03-.26.03-.45 0-2.93 5.87-2.93 5.87-2.93 1.62 0 2.93-1.3 2.93-2.93V60.8a2.93 2.93 0 0 0-2.93-2.93c-.69-.69-8.2-5.86-29.32-5.86h-2.93c-1.83 0-3.52.07-5.08.21-9.38.56-14.46 2.19-19.63 4.76-.54.2-2.38.79-4.53.88a16.56 16.56 0 0 1-4.77-.92l-.42-.2v-.01c-4.9-2.45-8.36-4.18-20.55-4.61-1.15-.07-2.37-.1-3.66-.1h-2.93Zm-1.12 5.86h1.12c2.44 0 4.59.03 6.48.1 14.05.84 14.05 6.95 14.05 14.54 0 8.62-7.84 14.64-19.06 14.64h-2.75c-13.5 0-16.32-7.96-16.32-14.64 0-8 0-14.37 16.48-14.64Zm26.11 4.36.1.03-.07.03-.03-.06Zm14.52 0-.07.03.04.02c0-.02 0-.03.02-.05Zm16.7-4.12a125.22 125.22 0 0 1 9.4-.24c16.49.27 16.49 6.63 16.49 14.64 0 8.62-7.84 14.64-19.07 14.64h-2.75c-13.48 0-16.31-7.96-16.31-14.64 0-7.25 0-13.15 12.24-14.4Z" fill="#000" fill-opacity=".1"/><path d="M40.72 88.07c13.74 0 22-7.87 22-17.57s-1.3-17.57-20.54-17.57h-2.93c-19.25 0-20.53 7.86-20.53 17.57 0 9.7 5.5 17.57 19.25 17.57h2.75Z" fill="#000" fill-opacity=".7"/><path d="M40.72 88.07c13.74 0 22-7.87 22-17.57s-1.3-17.57-20.54-17.57h-2.93c-19.25 0-20.53 7.86-20.53 17.57 0 9.7 5.5 17.57 19.25 17.57h2.75Z" fill="url(#accessoriesWayfarers-a)" style="mix-blend-mode:screen"/><path d="M102.28 88.07c13.75 0 22-7.87 22-17.57S123 52.93 103.75 52.93h-2.93c-19.25 0-20.53 7.86-20.53 17.57 0 9.7 5.5 17.57 19.24 17.57h2.75Z" fill="#000" fill-opacity=".7"/><path d="M102.28 88.07c13.75 0 22-7.87 22-17.57S123 52.93 103.75 52.93h-2.93c-19.25 0-20.53 7.86-20.53 17.57 0 9.7 5.5 17.57 19.24 17.57h2.75Z" fill="url(#accessoriesWayfarers-b)" style="mix-blend-mode:screen"/><path fill-rule="evenodd" clip-rule="evenodd" d="M39.25 50c-21.13 0-28.63 5.17-29.32 5.86A2.93 2.93 0 0 0 7 58.79v2.92a2.93 2.93 0 0 0 2.93 2.93s5.87 0 5.87 2.93c0 .2 0 .34.03.45-.03.82-.04 1.65-.04 2.48C15.78 83.34 24.07 91 37.96 91h2.75c14.68 0 24.93-8.43 24.93-20.5 0-1.44-.04-2.88-.16-4.28l1.45-.73c.57-.28 1.2-.5 1.87-.64 1.85-.39 3.93-.23 5.95.28.73.18 1.25.36 1.5.46l1.25.5a50.58 50.58 0 0 0-.16 4.4c0 12.84 8.29 20.5 22.17 20.5h2.75c14.68 0 24.93-8.43 24.93-20.5 0-.83 0-1.66-.04-2.48.02-.11.03-.26.03-.45 0-2.93 5.87-2.93 5.87-2.93 1.62 0 2.93-1.3 2.93-2.93V58.8a2.93 2.93 0 0 0-2.93-2.93c-.69-.69-8.2-5.86-29.32-5.86h-2.93c-1.83 0-3.52.07-5.08.21-9.38.56-14.46 2.19-19.63 4.76-.54.2-2.38.79-4.53.88a16.56 16.56 0 0 1-4.77-.92l-.42-.2v-.01c-4.9-2.45-8.36-4.18-20.55-4.61-1.15-.07-2.37-.1-3.66-.1h-2.93Zm-1.12 5.86h1.12c2.44 0 4.59.03 6.48.1 14.05.84 14.05 6.95 14.05 14.54 0 8.62-7.84 14.64-19.06 14.64h-2.75c-13.5 0-16.32-7.96-16.32-14.64 0-8 0-14.37 16.48-14.64Zm26.11 4.36.1.03-.07.03-.03-.06Zm14.52 0-.07.03.04.02c0-.02 0-.03.02-.05Zm16.7-4.12a125.22 125.22 0 0 1 9.4-.24c16.49.27 16.49 6.63 16.49 14.64 0 8.62-7.84 14.64-19.07 14.64h-2.75c-13.48 0-16.31-7.96-16.31-14.64 0-7.25 0-13.15 12.24-14.4Z" fill="${p(`${l.accessories}`)}"/><defs><linearGradient id="accessoriesWayfarers-a" x1="80.29" y1="52.93" x2="80.29" y2="88.07" gradientUnits="userSpaceOnUse"><stop stop-color="#fff" stop-opacity=".5"/><stop offset=".71" stop-opacity=".5"/></linearGradient><linearGradient id="accessoriesWayfarers-b" x1="80.29" y1="52.93" x2="80.29" y2="88.07" gradientUnits="userSpaceOnUse"><stop stop-color="#fff" stop-opacity=".5"/><stop offset=".71" stop-opacity=".5"/></linearGradient></defs>`,eyepatch:(a,l)=>'<path fill-rule="evenodd" clip-rule="evenodd" d="M94.4 4.78c-3.08-3.09-6.28 3.86-7.78 5.65-3.6 4.32-7.08 8.75-10.75 13.02-7.25 8.43-14.43 16.92-21.64 25.4-1.09 1.28-.96 1.41-2.4 1.54-.94.08-2.27-.4-3.26-.46-2.75-.16-5.46.3-8.13.9-5.35 1.17-11.01 3.1-15.65 6.07-1.22.78-2 1.7-3.32 1.94-1.15.21-2.68-.21-3.85-.32-2.08-.2-5.08-1.05-7.12-.6-2.6.55-3.58 3.7-.94 5.08 2.01 1.06 6.01.48 8.26.64 2.58.2 1.8.06 1.43 2.52-.53 3.54.35 7.49 1.84 10.72 3.46 7.5 13.03 15.46 21.77 14.72 7.28-.6 13.67-7.19 16.66-13.5a30.75 30.75 0 0 0 2.73-10.47c.19-2.27.08-4.67-.57-6.87a16.5 16.5 0 0 0-1.37-3.2c-.44-.79-2.4-2.64-2.52-3.44-.23-1.56 4.18-5.73 5.03-6.78 3.97-4.91 7.96-9.8 11.9-14.75 3.88-4.87 7.79-9.73 11.77-14.51 1.8-2.17 10.83-10.37 7.9-13.3" fill="#28354B"/>'},U=Object.defineProperty({__proto__:null,accessories:O,base:B,clothing:D,clothingGraphic:{bat:(a,l)=>'<path fill-rule="evenodd" clip-rule="evenodd" d="M87.69 13.4c-1.4-6.43-6.21-10.15-12.5-11.58-2.53-.58-10.92-2.4-9.61 2.4.6 2.18.26 3.97-1.55 5.77-1.77 1.76-5.24 2.2-6.96-.01-1.47-1.9.43-4.72-.72-6.57-.44-.71-1.21-1.08-2.03-.73-1.14.5-.53 1.56-1.07 2.32-.85 1.2-1.24.83-2-.37-.49-.76-.02-1.58-1.26-1.9-1.43-.37-1.9.83-2.03 1.92-.08.69.32 1.8.34 2.5.03 1.35-.1 3.31-.73 4.52-1.12 2.14-2.7 1.45-4.38.1-1.98-1.6-2.56-3.39-2.18-5.82.46-2.92.3-5.71-3.28-3.89-5.02 2.57-9.68 7.14-12.59 11.92-2.44 4.02-4.36 8.9-2.2 13.48 2.21 4.67 5.86 8.69 10.97 9.88 1.32.3 5.09 1.81 6.34.55 1.95-1.96-2.54-3.78-3.43-4.97-1.26-1.7-2.34-4.92-.96-6.83 1.76-2.43 3.6-1.08 5.05.64 1.13 1.35 2.75 4.82 4.5 2.02 1.21-1.93 1.1-5.1 4.4-3.72 4.73 1.98 4.87 11.12 5.71 15.3.37 1.82 2.04 4.06 3.47 1.52.8-1.4.37-4.42.22-5.86-.3-2.99-1.08-5.92-.1-8.88.55-1.71 2-4.16 4.12-2.84 1.73 1.06 1 5.81 3.35 5.8 2.07 0 1.5-3.79 2.6-5.04 1.69-1.9 4.92-1 5.92 1.25 1.33 3.03-2.2 5.13-2.05 7.79.16 2.59 3.5 1.58 4.9.92 2.87-1.35 5.11-3.85 6.67-6.57 2.4-4.2 4.13-10.22 3.08-15.03" fill="#fff"/>',bear:(a,l)=>'<path fill-rule="evenodd" clip-rule="evenodd" d="M76.74 17.44a16.78 16.78 0 0 1 2.15 7.86v.22c-.1 10.22-13.6 16.85-22.48 17.35-.63.03-1.26.05-1.89.05h-.01c-10.08 0-19.56-4.55-22.54-14.85a13.8 13.8 0 0 1-.52-3.81c0-3.36 1.12-6.83 3.15-9.4.24-.3.54-.6.83-.88.37-.36.74-.72 1-1.1.47-.71.64-.7.67-.75.02-.04-.09-.15-.18-.98-.06-.5-.22-.93-.38-1.37-.22-.58-.43-1.17-.41-1.88.05-2.4 1.76-5.08 4.05-5.95a5.95 5.95 0 0 1 3.96.08c.6.2 1.18.67 1.75 1.13.58.46 1.13.9 1.64 1.04.97.24 2.83-.14 4.47-.47.96-.2 1.84-.38 2.44-.41a34 34 0 0 1 4.2-.03c.27.01.72.11 1.2.23.84.19 1.8.4 2.23.27.45-.13.92-.5 1.4-.9.48-.4.98-.81 1.5-1a8.6 8.6 0 0 1 3.2-.45c2.34.13 5 1.18 6 3.42.8 1.8.24 3.3-.34 4.87-.2.53-.4 1.06-.55 1.62-.2.7-.31.85-.3.96.03.11.2.2.55.82.07.13.34.44.6.74l.42.48c.8.97 1.57 1.99 2.19 3.08ZM58.3 36.97c3.07 2.96 6.67-1.57 7.15-4.38.84-10.07-15.07-8.75-19.23-3-2.1 2.89-.61 6.8 2.58 8.2 1.4.61 2.58.9 3.58-.05.8-.76 1.03-3.52.5-4.27-.29-.39-.67-.5-1.05-.6-.55-.16-1.1-.32-1.35-1.3-.57-2.16 1.8-2.5 3.3-2.61l.97-.1c1.69-.2 4.05-.48 5.03.5 1.3 1.33.26 2.35-.83 3.42-1.21 1.18-2.47 2.42-.65 4.18Zm-9.58-20.46c-.59-.98-1.75-1.22-2.73-.78-1.82.83-.96 3.52.75 3.75 1.62.21 2.78-1.6 1.98-2.96Zm15.23.88c-.86 3-5.64-.38-2.94-2.3 1.55-1.09 3.45.5 2.94 2.3Z" fill="#fff"/>',cumbia:(a,l)=>'<path d="M10.27 30.13c3.28-.56 5.73-3.55 5.18-6.79-.46-2.72-1.74-.34-2.97.86-1.34 1.3-2.45 2.57-4.54 2.05-3.6-.9-4.86-5.4-3.84-8.48a5.94 5.94 0 0 1 3.48-3.7c1.85-.74 3.2.1 4.75 1.1.28.19 1.73 1.37 2 1.25.45-.21.1-2.43.04-2.73a4.8 4.8 0 0 0-2.62-3.24c-3.34-1.64-7.52.48-9.64 3.05-4.88 5.9-.91 18.17 8.17 16.62ZM20.28 11.04Zm-1.6 12.86c.51 3.48 2.99 6.5 6.96 6.36 4.28-.16 6.06-4.1 7-7.49.97-3.4 2.06-7.68.67-11.09-.42-1.03-.68-2.38-1.71-1.53-1.26 1.03-1.41 4.04-1.52 5.44-.2 2.65-.78 9.97-4.1 10.95-4.18 1.22-4.05-5.85-4-7.98.03-1.9.24-3.73-.35-5.58-.31-.99-.59-2.44-1.53-1.64-1.29 1.11-1.45 3.83-1.54 5.33-.14 2.4-.21 4.84.13 7.23ZM37.78 26.75c.2.4.63 1.4 1.02 1.67.95.67-.05.71.8-.05.82-.73 1.13-2.72 1.26-3.67.38-2.96-.12-6.11-.09-9.1 1.02 2.22 1.58 4.59 2.39 6.88.55 1.58 1.4 4.8 3.65 4.75 2.45-.05 2.58-3.14 2.9-4.82.47-2.37.97-4.72 1.68-7.04.1 3.91-1.43 11 2.1 13.92.02.02 1.44-4.15 1.47-4.4.23-1.7.09-3.45.11-5.15.05-3.6.72-8-.3-11.5-.33-1.14-.97-2.27-2.4-2.24-1.83.04-2.24 1.99-2.7 3.3a114.02 114.02 0 0 0-3.36 10.94c-.55-1.68-5.34-16.42-8.8-10.9-.55.89-.3 2.22-.33 3.2-.04 1.87-.15 3.75-.2 5.63-.06 2.84-.4 5.9.81 8.58ZM62.02 13.71c.72-.14 5.74-1.73 5.52-.14-.22 1.68-4.63 3.31-5.81 3.88 0-1.2-.24-2.44-.65-3.57l.94-.17Zm5.72-.64c-.03-.04 0 0 0 0Zm.12 8.34c2.27 1.22 1.29 3.42-.43 4.6-.65.47-6.53 1.82-6.51 1.68.18-1.69-.26-5.01 1-6.01 1.3-1.04 4.5-.81 5.94-.26Zm.06-8s.01.03 0 0Zm-9.98 16.85c.23.55.86 1.91 1.57 1.94.86.04.8-1.04.93-1.7 3.44 1.72 8.5-.05 10.9-3.03a6.15 6.15 0 0 0-2.57-9.75c2.1-1.69 4.02-5.4 1.25-7.49a7.68 7.68 0 0 0-8.12-.3c-2.74 1.72-3.85 5.83-4.1 9-.25 3.39-1.15 8.13.14 11.33ZM76.05 21.87c.07 2.07-.15 4.29.33 6.3.17.72.44 1.52.76 2.17.61 1.21.31 1.05 1.03.36 2.18-2.08 1.21-8.58 1.16-11.25-.04-2.08.06-4.28-.51-6.28-.16-.56-1.12-3.35-1.66-3.29-.81.1-1.37 3.93-1.42 4.7-.15 2.4.23 4.9.31 7.3ZM94.75 22.43c-1.58-.14-3.62.07-5.12.56.7-1.92 1.48-4.06 2.24-5.8.47-1.08.97-2.16 1.5-3.23 1.27 2.68 1.98 5.82 2.82 8.66-.47-.08-.96-.15-1.44-.19Zm5.44.72c-.73-2.77-1.58-5.53-2.43-8.27-.54-1.75-1.13-3.92-2.6-5.17-4.16-3.56-6.52 5.85-7.55 8.23-.98 2.3-2.21 4.63-2.85 7.05a9.48 9.48 0 0 0-.24 3.64c.2 1.52 0 1.74 1.3.91 1-.63 1.4-1.79 2.22-2.56.14-.14.22-.68.4-.76.18-.1 1.5.25 1.8.27 2.18.16 4.72-.2 6.72-1.04.2.84 1.63 5.96 2.98 5.77.6-.08.96-3.06 1-3.54.08-1.55-.36-3.05-.75-4.54ZM109.3 9.43c-.26-1.2-.81-3.29-1.84-2.11-1.4 1.6-1.1 5.17-1.11 7.18-.02 1.45-1.55 12.06.56 11.88-.1 0 .84-1.67.98-1.92a12.37 12.37 0 0 0 1.32-4.72c.37-3.24.79-7.12.1-10.3ZM108.16 30.3c-2.23-2.73-6.3.66-5.04 3.38 1.73 3.7 7.33-.57 5.04-3.38ZM94.9 34.54c-2.9-.73-6.3-.24-9.25-.15-3.08.1-6.16.27-9.24.36-6.57.2-13.13.1-19.7.04-12.44-.1-24.92.69-37.37.17-2.67-.12-5.54-.72-8.2-.21-.72.14-3 .54-3.32 1.26-.34.76 1.4 1.56 2.33 1.96 2.42 1.04 5.33.86 7.9.96 2.93.12 5.89.06 8.82-.01 12.07-.3 24.09-1.34 36.18-1.17 6.97.1 13.93.04 20.9 0 3.33-.01 7 .53 10.28-.06.55-.1 3.76-.85 3.8-1.83.03-.46-2.8-1.23-3.12-1.32Z" fill-rule="evenodd" clip-rule="evenodd" fill="#fff"/>',deer:(a,l)=>'<path fill-rule="evenodd" clip-rule="evenodd" d="M71.76 15.26c1.6-.18 4.79-.55 5.2.98.3 1.09-1.16 2.07-2.26 2.8-.34.24-.64.44-.85.61l-.16.14a25.73 25.73 0 0 1-4.66 3.41 12.85 12.85 0 0 1-2.93 1.08c-.28.07-.43.11-.55.2-.15.11-.23.3-.43.74l-.03.08c-.45 1-.73 2.18-1 3.36-.23 1.02-.47 2.04-.81 2.95-1.7 4.46-5.77 14.8-12.27 10.26-1.7-1.2-2.78-3.3-3.75-5.24-.2-.41-.4-.81-.61-1.2a43.46 43.46 0 0 1-3.38-8.24c-.1-.37-.16-.66-.2-.92-.14-.68-.2-1.04-.93-1.5-.37-.23-.9-.36-1.4-.49-.36-.09-.7-.17-.99-.29a17.05 17.05 0 0 1-4.08-2.44c-1.24-.97-6.11-4.95-2.14-5.7 1.8-.33 4.16-.2 6-.11h.07c2.03.1 4.07.57 5.88 1.54h.01c.9.48 1.22.66 1.54.65.2 0 .38-.08.68-.18.24-.1.55-.2.98-.33-3.32-1.12-6.65-3-8.89-5.78-1.2-1.5-4-7.65-1.9-9.06 1.8-1.2 2.42 2 2.88 4.4.2.97.36 1.81.56 2.17 1.24 2.13 3.28 3.23 5.32 4.33.58.32 1.16.63 1.72.96a12.47 12.47 0 0 1-3.67-5.86l-.08-.3c-.31-1.14-.9-3.28-.44-4.19.52-1.04 1.76-1.1 2.45-.22.41.53.48 1.52.54 2.4a8.63 8.63 0 0 0 2.11 5.23 11.17 11.17 0 0 0 5.68 3.73c5.12 1.26 6.91-4.1 7.6-8.25.04-.24.06-.52.08-.81.05-.93.11-2 .97-2.36 1.37-.6 1.9.74 1.94 1.78.09 2.31-1.06 5.85-2.17 7.84 2.8-1.73 5-4.48 5.9-7.69.1-.37.15-.9.2-1.46.1-1.2.22-2.58.98-3.04 1.54-.92 2.02.92 1.97 2.02-.32 6.52-5.3 12.44-11.49 14.07l.55.28c.95.5.98.53 2.3-.25.9-.53 1.86-.93 2.84-1.24 1.47-.45 3.05-.68 4.58-.81l.54-.06Zm-12.9 9.36c-.07 3.27-3.24 3.04-2.82.1.32-2.32 3.68-2.24 2.82-.1Zm-1.93 9.02c-.5 1.56-4.33 2.12-3.9-.17.37-1.95 4.56-2.03 3.9.17ZM51.7 27c-2.82 0-1.9-4.87 1-3.86 2.27.8 1.33 3.86-1 3.86Z" fill="#fff"/>',diamond:(a,l)=>'<path d="M63.78 29.74a320.2 320.2 0 0 1-7.34 7.82c1-3.56 1.74-7.58 3.2-10.96.43-.96.1-1.08.94-1.5.6-.3 2.07.05 2.8.07 1.56.04 3.15.19 4.7-.05-1.45 1.52-2.9 3.05-4.3 4.62ZM48.52 33.8c-2.7-3.28-5.39-6.57-8.66-9.32 1.29.14 2.7-.04 3.96.2 1.94.4 1.83 1 2.82 2.97a99.3 99.3 0 0 1 4.05 8.82c-.71-.9-1.45-1.79-2.17-2.67Zm-9.1-12.53c.96-1.58 1.14-2.98 2.92-3.78 2.06-.94 5.3-.74 7.49-.92-1.37 1.52-3.04 3.1-3.6 5.12a9.54 9.54 0 0 0-3.68-4.17c-.21-.1 1.16 4.55 1.34 4.87-1.72-.1-3.52-.4-5.22-.09l.75-1.03Zm16.4-5.01c1.6.03 3.17.16 4.74.42-1.26 1.67-1.64 3.63-2.1 5.63-.47-2.26-2.2-4.36-3.73-6.05h1.1Zm-3.5 1.07c.24-.16 4.46 5.09 5.07 5.56-3.31 0-6.62-.17-9.92-.32 1.9-1.48 3.02-3.68 4.86-5.24Zm2.7 17.1c-.4 1.35-.78 2.7-1.22 4.05-1.56-4.74-3.86-9.2-6.01-13.68 3.34.09 6.68.21 10.02.26-.82 3.16-1.87 6.24-2.8 9.37Zm7.22-17.46a36.24 36.24 0 0 1 3.87 4.44l1.26 1.65c-2.23-.23-4.54-.13-6.78-.15.5-2.06 1.1-4.01.58-6.13l1.07.19Zm7.65 5.61c-2.16-2.67-4.37-7.26-7.86-8.07-3.48-.8-7.55-.45-11.08-.22-3.07.2-8.08-.2-10.8 1.59-1.39.92-2.42 3-2.9 4.55-.44 1.4.27 2.28-1.25 2.28-.1 0 2.5 3.68 2.81 3.97a78.06 78.06 0 0 1 6.46 6.6c2.83 3.37 5.4 8.33 9.14 9.73-.68-.34 2.8-2.97 3.21-3.42 2.12-2.29 4.25-4.55 6.38-6.83 1.94-2.07 4.05-4.03 5.93-6.15 1.43-1.62 1.44-2.17-.04-4.02ZM36 14c.04.01-.9-2.05-.83-1.92a6.35 6.35 0 0 0-1.73-1.73C32.7 9.85 29.13 9.25 29 9c1.5 2.65 4.17 4.13 7 5ZM51.36 9.2c.17.65.43 1.25.79 1.8.07.08.86-4.18.85-4.55C52.99 5.83 52.6 2 51.8 2c-1.33 0-.67 6.47-.45 7.2ZM77.97 7c-3 0-9.68 5.85-8.9 9a3.35 3.35 0 0 0 .4-.33c1.27-1.02 2.72-2.02 4-3.2.9-.85 1.98-1.61 2.8-2.54.1-.1 2-2.93 1.7-2.93Z" fill-rule="evenodd" clip-rule="evenodd" fill="#fff"/>',hola:(a,l)=>'<g fill="#fff"><path d="M63.84 17c-.29.65-.56 1.3-.82 1.95L63 19l2-.16A18.7 18.7 0 0 0 63.84 17ZM53.22 17.3c.2-.06.42-.13.7-.3.15.42.26 3.29-1.35 2.98-.92-.18-.5-1.77-.25-2.1.34-.41.59-.49.9-.58Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M74.64 16.95C73.46 11.68 70.6 7.97 66.18 5c-3.35-2.25-6.5-2.23-10.46-1.75-3.25.4-6.35 1.3-9.2 2.94-5.04 2.89-7.92 6.74-8.6 12.54-.28 2.33-.33 5.1.5 7.32.48 1.3 1.34 2.34 2.25 3.36.15.17.5.47.86.79.6.52 1.26 1.1 1.28 1.29.12.86-2.2 3.4-2.89 4.15-.05.06-.1.1-.12.14-.23.25-.73.6-1.3.99-1.02.7-2.25 1.55-2.43 2.2-.83 2.93 5.83 1.89 7.45 1.63 1.55-.24 3.11-.54 4.62-.98.7-.2 1.4-.44 2.07-.72.56-.23 1.17-.7 1.78-1.16.7-.52 1.38-1.03 1.97-1.2a5.9 5.9 0 0 1 2.1.02c.6.07 1.2.14 1.7.09 1.5-.15 3.03-.45 4.5-.87a19 19 0 0 0 7.05-3.84c4.42-3.76 6.6-9.24 5.33-15Zm-5.13 6.99c-.62.16-1.36-1.24-1.08-1.72.77-1.34 2.16 1.42 1.08 1.72Zm-2.22-9.38c-.27 1.1.12 2.95.4 4.05.07.36.42.47.73.43.55-.08.45-.56.36-.97-.03-.16-.06-.3-.06-.4.04-.75.11-2.64-.17-3.32-.51-1.26-.97-1.02-1.27.21Zm-.65 8.33c-.58.34-.86-.29-1.05-.74-.06-.13-.1-.24-.16-.32a1.39 1.39 0 0 1-.29-.72c-.01-.18-.02-.22-.58-.39-1.77-.52-1.8.7-1.84 1.94-.02.72-.04 1.45-.4 1.84-1.78 1.91-.58-3.68-.37-4.68l.03-.1.12-.7c.34-1.96 1.02-5.86 2.67-3.11.49.8 2.7 6.49 1.87 6.98Zm-10.37-.95c.6.6 3.7.22 4.02-.34.68-1.18-1.85-.85-2.78-.73l-.29.03c.04-.75.13-1.5.21-2.27.12-1.05.24-2.1.23-3.15v-.17c.02-.62.06-1.94-.96-1.21-.34.25-.33 1.19-.33 1.82v.46c-.02.23-.08.6-.15 1.02-.24 1.51-.61 3.87.04 4.54Zm-.77-2.78c-1.43 5.73-6.98 2.64-4.5-1.71.46-.8.83-.98 1.41-1.26.22-.1.46-.22.75-.4.05-.03.06-.14.06-.28 0-.27.02-.65.43-.64 1.76.03 2.18 2.93 1.85 4.28Zm-7 .83c-.04.87-.14 3.3.97 3 .76-.21.54-9.98-.33-9.98-.92 0-.75 1.78-.6 3.33.1 1 .19 1.91-.04 2.17-.1.12-.51.1-.84.06a2.1 2.1 0 0 0-.4 0c-1.15.2-1.9.08-2.25-.61-.1-.2-.1-.7-.1-1.29-.01-1.33-.02-2.96-1.15-1.5l.03 2.2c.34.72.21 1.16-.38 1.32-.02.3.16.58.28.77.07.1.12.19.12.24.02.14 0 .38-.01.66-.08 1.26-.2 3.54.92 3.4.71-.08.49-2.28.37-3.42l-.05-.6.91.03c.86.04 1.73.08 2.56-.03V20Z"/></g>',pizza:(a,l)=>'<g fill-rule="evenodd" clip-rule="evenodd" fill="#fff"><path d="M65.93 25.4c-4.08 1.37-8.55 3.31-10.9 7.06-1.85 2.95-1.97-.45-4.55.6-2.5 1.02-1.82 5.22-2.73 7.3-.71-1.2-1.05-2.52-1.94-3.6a6.6 6.6 0 0 0 1.81-1.73c.16-.32-4.79.35-5.07.43-1.41.4-2.74.77-4.09 1.43a78.83 78.83 0 0 0 1.96-2.99c.21-.68.58-.68 1.11 0 .75.03 1.18.35 1.96.17 2.92-.66 3.85-6.22.25-5.98a93.38 93.38 0 0 0 4.26-8.8c.5 4.28 6.08 2.8 7.72.52 2.14-3-.6-8.66-4.49-8.11.58-1.38 1.17-2.77 1.65-4.18 1.1 1.6 3 2.39 4.54 3.45a18.2 18.2 0 0 1 4.16 4.01c2.4 3.14 3.8 7 6.22 10.05-.64.04-1.26.16-1.87.36Zm9-4.4c-.62-5.75-5.14-11.6-9.43-15.17-2.55-2.13-10.24-7.39-13.3-3.34 2.46 1.07 5.2 1.33 7.64 2.49 3.32 1.57 5.92 4.16 8.17 7.05 3.14 4.05 7.97 12.28.48 14.39.5-.34.8-.71 1.21-1.31-1-.23-.6-1.88-.95-2.95-.41-1.25-1.21-2.47-1.89-3.59a56.62 56.62 0 0 0-3.5-5.17A23.46 23.46 0 0 0 57.4 8c-.9-.58-1.77-1.1-2.81-1.4-1.35-.4-.91.08-1.28-1.15-.23-.78-.02-1.77-.25-2.6-1.97 1.66-2.6 4.06-3.5 6.39-1.01 2.68-2.12 5.33-3.2 8-2.63 6.53-6.02 12.39-9.88 18.24-.67 1.02-2.17 2.95-1.1 4.17.97 1.1 2.34.3 3.4-.13 1.43-.6 3.38-2.17 4.93-1.35 2 1.05 1.05 4.98 4.21 4.83 3.12-.16 2.53-5.28 3.53-7.32 2.31 1.68 4.18.64 5.58-1.61 1.63-2.61 3.77-3.66 6.51-4.94 1.12-.52 3.04-1.94 4.2-2.12.97-.13 1.9.9 3.19.85 3.1-.11 4.39-4.25 4.02-6.85Z"/><path d="M53.54 23.83c-2.43-.44-5.8-.07-6.03 3.16-.14 1.97 1.4 3.85 3.08 4.66 5.12 2.5 9.1-6.69 2.95-7.82ZM63.34 20.16c-.65-.7-1.7-1.24-2.68-1 .31-.2.57-.6.87-.83-3.16-2.29-5.14 3.47-3.35 5.74 2.72 3.44 8.04-.76 5.16-3.91Z"/></g>',resist:(a,l)=>'<path d="M105.56 30.07c-3.08-.66-5.19 3.54-1.9 4.79 2.8 1.07 4.84-4.15 1.9-4.79ZM104.2 27c3.65 0 2.3-5.98 2.31-7.97.02-2.13 1.55-8.6-.89-9.73-4.21-1.97-3.06 6.33-3.03 7.97.03 1.82.16 3.72-.23 5.5-.35 1.59-1.13 4.23 1.83 4.23ZM99.06 10.97c-1.08-.62-2.8-.32-3.99-.37-1.35-.06-2.69-.2-4.03-.3-2.18-.15-4.96-.56-7.12-.06-1.23.28-2.34 1.22-1.76 2.6.62 1.5 2.3 1.11 3.58 1.04.58-.04 2.03-.3 2.6-.1 1 .36.58-.1.8 1.08.35 1.8.14 4 .13 5.83-.03 3.18-.04 6.37-.1 9.54-.03 1.23-.45 2.63.75 3.45 1 .68 2.22.22 2.74-.8.5-1 .02-3.06-.03-4.2-.07-1.34-.14-2.67-.1-4.02.1-3.58.28-7.16.37-10.75.94.05 1.92.02 2.85.15.69.1 1.67.53 2.33.5 1.9-.1 2.69-2.59.98-3.59ZM70.72 17.81c-.08-.64-.01-.05 0 0Zm-.03-.27s0 .02 0 0Zm1.43-3.11c3.41-3.98 4.58 4.34 7.24 4 4.26-.57-.94-6.96-2.67-7.78-3.51-1.68-6.6.08-8.27 3.26-2.1 4-.77 6.71 3.26 8.45 1.47.63 7.03 2.52 5.53 4.96-.76 1.22-3.53 1.32-4.7 1.08-2.35-.48-1.98-2.08-3.13-3.57-1.03-1.34-3.03-.95-3.34.78-.25 1.36 1.17 3.42 2.11 4.38 2.24 2.26 6.04 2.44 8.89 1.4 4.39-1.57 4.92-5.7 1.8-8.9-1.74-1.8-3.93-2.35-6.1-3.42-2.65-1.3-2.16-2.4-.61-4.65ZM61.75 29.57c-.56-4.83-.7-9.72-.78-14.57-.03-1.55.7-5.2-1.45-5.86-2.92-.89-2.53 2.7-2.47 4.16.2 4.92.84 9.8 1.07 14.7.07 1.56-.43 4.57 1.83 4.95 2.75.45 2-2.09 1.8-3.38ZM52.47 13.68a6.74 6.74 0 0 0-10.09-.76c-2.07 2.06-3.38 6.92-1.41 9.4 2.12 2.7 7.35.34 8.72 3.39 1.68 3.74-2.73 5.15-5.07 2.66-.85-.9-.66-2.45-1.9-3-1.77-.8-2.87.92-2.52 2.35.85 3.5 4.65 5.4 8.1 5.27 3.77-.12 5.4-2.97 5.16-6.4-.33-4.74-3.98-5.48-7.99-6-1.7-.22-1.92-.2-1.81-1.95.13-2.12 1.37-4.57 3.99-4.07 2.1.4 2.3 3.57 4.45 3.72 3.5.24 1.26-3.43.37-4.62ZM34.72 29.44c-1.34.32-2.96.1-4.33.07-1.05-.02-4.57.43-5.26-.3-.76-.8-.5-3.24-.54-4.28-.05-1.45-.4-1.67.87-2 .75-.2 1.9-.1 2.68-.13 1.52-.07 3.47.2 4.93-.09 1.37-.28 2.5-1.75 1.25-3-.88-.9-2.54-.42-3.63-.4-2.03.06-4.07.05-6.1.08 0-1.57-.06-3.14.07-4.7 2.84.12 5.8.86 8.66.73 1.44-.07 3.04-1 2.3-2.73-.62-1.5-2.52-1.3-3.84-1.35-1.66-.07-3.32-.11-4.97-.17-1.22-.04-3-.44-4.16.1-2.36 1.14-1.55 5.02-1.48 7.12.08 2.67.08 5.27.17 7.96.09 2.43-.03 5.64 2.86 6.32 2.89.69 6.24.03 9.19.18 1.2.05 2.86.4 3.45-1 .57-1.35-.73-2.77-2.14-2.42ZM11.41 14.88c2.32.5 2.94 3.01 3.02 5.15.05 1.46.18 1.37-1 1.74-1.2.37-2.92.17-4.14.12-2.54-.11-2.24-.28-2.29-2.95 0-.62-.47-3.5-.1-3.91.47-.53 3.83-.2 4.51-.15Zm5.08 14.84a51.7 51.7 0 0 0-4.05-4.29c2.16-.06 4.5-.47 5.27-2.82.65-1.98.09-5-.67-6.87a7.05 7.05 0 0 0-5.63-4.48c-1.8-.25-6.28-.67-7.62.71-1.46 1.51-.45 5.65-.36 7.5.16 3.27.05 6.52-.15 9.79-.07 1.05-.59 2.78-.05 3.73a1.98 1.98 0 0 0 2.97.54c.99-.85.53-1.88.47-2.96-.1-1.68.08-3.4.18-5.08 1.6 1.3 3.25 2.59 4.76 4.02 1.49 1.41 2.56 3.2 3.99 4.62 1 1.01 2.82 1.43 3.33-.45.44-1.6-1.57-2.95-2.45-3.97Z" fill-rule="evenodd" clip-rule="evenodd" fill="#fff"/>',skull:(a,l)=>'<path fill-rule="evenodd" clip-rule="evenodd" d="M65.28 19.93c-.3 2.78-5.7 4.27-7.67 2.45-.91-.84-.93-2.58-1.13-3.7a48.65 48.65 0 0 1-.75-6.43c-.06-1.32-.4-2.38 1.04-2.58.89-.12 1.8.47 2.52.93 2.44 1.58 6.32 6.14 5.98 9.33Zm-12.4-5.85c.29 2.82 1.32 7.73-.93 10.1-2.02 2.12-6.16.02-6.79-2.47-.77-3.1 2.28-6.78 4.15-8.87.58-.64 1.85-2.41 2.84-1.82.39.23.7 2.61.74 3.06Zm1.44 11.03c.65-1.53 6.91 3.01 3.95 5.18-.48.35-4.16 1.46-4.86.94-1.48-1.1.43-4.97.91-6.12Zm19-7.58C72.89 2.05 53.08-2.31 42.49 6.5 38.43 9.88 36.1 14 36 19.28c-.1 4.47.62 8.7 4.03 11.77 1.48 1.33 2.46 2.15 3.25 3.97.82 1.9 1.2 4.33 2.74 5.83.85.83 2.09 1.5 3.26.96 2.17-.98 1.47-3.98 2.13-5.65 2.04 4.97 7.21 6.55 8.15.25 1.03 1.82 3.72 4.2 5.7 2.2.81-.8.93-2.14 1.07-3.22.25-1.9-.18-2.66 1.36-3.97 4.03-3.45 5.77-8.67 5.63-13.9Z" fill="#fff"/>',skullOutline:(a,l)=>'<g fill-rule="evenodd" clip-rule="evenodd" fill="#fff"><path d="M72.34 18.04a8.66 8.66 0 0 1-1 2.99c-.71 1.21-2.02 1.7-2.78 2.82-1.19 1.75.4 4.27-.78 5.83-1.27 1.68-4.14.67-5.26 2.9-1.18 2.35.53 5.49-.95 7.83-1.47-.37-1.92-5.9-4.19-2.37-1.45 2.25-.47 3.47-2.64.23-.76-1.12-1.62-2.13-3.1-1.39-1.04.52-1.26 2.84-2.21 3.09-2.33.6-2.42-5.62-3.21-6.8a2.8 2.8 0 0 0-1.62-1.28c-.67-.2-1.87.22-2.43-.1-1.04-.59-1.18-2.55-1.22-3.6-.07-1.93.58-3.91.04-5.83-.45-1.61-1.89-2.6-2.36-4.18C36.1 9.64 47.68 4.89 54.3 4.63c7.74-.3 19.04 4.22 18.04 13.4Zm1.83-5.32c-1.45-3.44-4.65-6.17-7.91-8-1.59-.9-3.3-1.56-5.09-1.95-1.64-.36-3.55-.12-5.12-.58C54.73 1.81 53.9.95 52.35 1c-2.11.07-4.31 1.17-6.16 2.09-3.66 1.8-6.77 4.15-8.73 7.74-2.1 3.86-1.9 7.36.35 10.95 2.15 3.44-.97 8.27 2.17 11.53 1.32 1.37 2.62.37 3.87 1.03.96.5.92 3.46 1.19 4.33 1.2 3.9 5.51 5.4 7.5 1.2.94 2.34 4.66 4.75 6.39 1.68 1.08 1.4 2.95 2 4.38.8 1.35-1.14 1.5-3.76 1.56-5.35.06-1.24-.5-2.77.46-3.66 1.04-.98 3.2-.57 4.37-1.84 1.34-1.45.78-3.14.89-4.87.1-1.75.41-1.3 1.7-2.56 2.9-2.81 3.38-7.8 1.88-11.35Z"/><path d="M50.42 29.12c2.02-1.82 1.6-7.4 1.42-9.96-.31-4.86-3.35-3.4-5.2-.38-1.4 2.3-4.77 6-3.26 8.88 1.2 2.3 5.18 3.13 7.04 1.46ZM63.8 20.27c-1.04-1.92-1.43-2.2-2.66-3.78-.8-1.01-1.9-2.8-3.4-2.44-2.59.62-1.53 6.6-1.5 8.4.02 1.36-.28 2.76.85 3.73 1.15.98 3.05.9 4.44.69 4.26-.64 4.06-3.26 2.26-6.6ZM55.24 32.83c-.28-.04.08-.36.12-.59.19.62.33.65-.12.59Zm1.04-4.31c-2.61-2.77-7.57 6.4-4.08 7.43.8.23 1.4-.37 2.16-.47 1.1-.16 2.02.48 2.97-.53 1.5-1.58.2-5.1-1.05-6.43Z"/></g>'},eyebrows:{angryNatural:(a,l)=>'<path d="M44.1 17.12ZM19.27 5.01a7.16 7.16 0 0 0-6.42 2.43c-.6.73-1.56 2.48-1.51 3.42.02.35.22.37 1.12.59 1.65.39 4.5-1.12 6.36-.98 2.58.2 5.04 1.4 7.28 2.68 3.84 2.2 8.35 6.84 13.1 6.6.35-.02 5.41-1.74 4.4-2.72-.31-.49-3.03-1.13-3.5-1.36-2.17-1.09-4.37-2.45-6.44-3.72C29.14 9.18 24.72 5.6 19.28 5ZM68.03 17.12ZM92.91 5.01c2.36-.27 4.85.5 6.42 2.43.6.73 1.56 2.48 1.51 3.42-.02.35-.22.37-1.12.59-1.65.39-4.5-1.12-6.36-.98-2.58.2-5.04 1.4-7.28 2.68-3.84 2.2-8.35 6.84-13.1 6.6-.35-.02-5.41-1.74-4.4-2.72.31-.49 3.03-1.13 3.5-1.36 2.17-1.09 4.36-2.45 6.44-3.72C83.05 9.18 87.46 5.6 92.91 5Z" fill-rule="evenodd" clip-rule="evenodd" fill="#000" fill-opacity=".6"/>',defaultNatural:(a,l)=>'<path d="M26.55 6.15c-5.8.27-15.2 4.49-14.96 10.34.01.18.3.27.43.12 2.76-2.96 22.32-5.95 29.2-4.36.64.14 1.12-.48.72-.93-3.43-3.85-10.2-5.43-15.4-5.18ZM86.45 6.15c5.8.27 15.2 4.49 14.96 10.34-.01.18-.3.27-.43.12-2.76-2.96-22.32-5.95-29.2-4.36-.64.14-1.12-.48-.72-.93 3.43-3.85 10.2-5.43 15.4-5.18Z" fill-rule="evenodd" clip-rule="evenodd" fill="#000" fill-opacity=".6"/>',flatNatural:(a,l)=>'<path d="M38.66 11.1c-5 .35-9.92.08-14.92-.13-3.83-.16-7.72-.68-11.37 1.01-.7.32-4.53 2.28-4.44 3.35.07.85 3.93 2.2 4.63 2.44 3.67 1.29 7.18.9 10.95.66 4.64-.27 9.25-.07 13.87-.2 3.12-.1 7.92-.63 9.46-4.4.46-1.14.1-3.42-.36-4.66-.19-.5-.72-.69-1.13-.4a15.04 15.04 0 0 1-6.68 2.32ZM73.34 11.1c5 .35 9.92.08 14.92-.13 3.83-.16 7.72-.68 11.37 1.01.7.32 4.53 2.28 4.44 3.35-.07.85-3.93 2.2-4.63 2.44-3.67 1.29-7.18.9-10.95.66-4.63-.27-9.24-.07-13.86-.2-3.12-.1-7.92-.63-9.46-4.4-.46-1.14-.1-3.42.36-4.66.18-.5.72-.69 1.13-.4a15.04 15.04 0 0 0 6.68 2.32Z" fill-rule="evenodd" clip-rule="evenodd" fill="#000" fill-opacity=".6"/>',frownNatural:(a,l)=>'<path d="M36.37 6.88c-1.97 2.9-5.55 4.64-8.74 5.68-3.94 1.29-18.55 3.38-15.11 11.35.05.12.22.12.27 0 1.15-2.65 17.47-5.12 18.97-5.7 4.45-1.71 8.4-5.5 9.17-10.55.35-2.31-.64-6.05-1.55-7.55-.11-.18-.37-.13-.43.07-.36 1.33-1.41 4.97-2.58 6.7ZM75.63 6.88c1.97 2.9 5.55 4.64 8.74 5.68 3.94 1.29 18.55 3.38 15.11 11.35a.15.15 0 0 1-.27 0c-1.15-2.65-17.47-5.12-18.97-5.7-4.45-1.71-8.4-5.5-9.17-10.55-.35-2.31.64-6.05 1.55-7.55.11-.18.37-.13.43.07.36 1.33 1.41 4.97 2.58 6.7Z" fill-rule="evenodd" clip-rule="evenodd" fill="#000" fill-opacity=".6"/>',raisedExcitedNatural:(a,l)=>'<path d="m22.77 1.58.9-.4C28.93-.91 36.88-.03 41.73 2.3c.57.27.18 1.15-.4 1.1-14.92-1.14-24.96 8.15-28.37 14.45-.1.18-.41.2-.49.03-2.3-5.32 4.45-13.98 10.3-16.3ZM89.23 1.58l-.9-.4C83.07-.91 75.12-.03 70.27 2.3c-.57.27-.18 1.15.4 1.1 14.92-1.14 24.96 8.15 28.37 14.45.1.18.41.2.49.03 2.3-5.32-4.45-13.98-10.3-16.3Z" fill-rule="evenodd" clip-rule="evenodd" fill="#000" fill-opacity=".6"/>',sadConcernedNatural:(a,l)=>'<path d="m31.23 20.42-.9.4c-5.25 2.09-13.2 1.21-18.05-1.12-.57-.27-.18-1.15.4-1.1 14.92 1.14 24.96-8.15 28.37-14.45.1-.18.41-.2.49-.03 2.3 5.32-4.45 13.98-10.3 16.3ZM80.77 20.42l.9.4c5.25 2.09 13.2 1.21 18.05-1.12.57-.27.18-1.15-.4-1.1-14.92 1.14-24.96-8.15-28.37-14.45-.1-.18-.41-.2-.49-.03-2.3 5.32 4.45 13.98 10.3 16.3Z" fill-rule="evenodd" clip-rule="evenodd" fill="#000" fill-opacity=".6"/>',unibrowNatural:(a,l)=>'<g fill-rule="evenodd" clip-rule="evenodd" fill="#DADADA"><path d="M57 12.82ZM96.12 7.6c1.46.56 9.19 6.43 7.86 9.16a.8.8 0 0 1-1.29.22 10.63 10.63 0 0 0-1.7-1.19c-5.1-2.84-11.3-1.93-16.73-.91-6.12 1.14-12.11 3.48-18.39 2.67-2.04-.26-6.08-1.22-7.63-2.96-.47-.53-.06-1.38.64-1.43 1.44-.11 2.86-.86 4.33-1.28 3.65-1.03 7.4-1.56 11.11-2.29 6.62-1.3 15.17-4.53 21.8-2Z"/><path d="M58.76 12.76c-1.17.04-2.8 3.56-.56 3.68 2.23.11 1.73-3.72.56-3.68ZM55 12.8c0-.01 0-.01 0 0ZM15.88 7.56c-1.46.56-9.19 6.43-7.86 9.16.24.5.89.6 1.29.22.55-.52 1.58-1.11 1.71-1.18 5.1-2.84 11.3-1.93 16.73-.91 6.12 1.14 12.11 3.48 18.39 2.67 2.04-.26 6.08-1.22 7.63-2.96.47-.53.06-1.38-.64-1.43-1.44-.11-2.86-.86-4.33-1.28-3.65-1.03-7.4-1.56-11.11-2.29-6.62-1.3-15.17-4.53-21.8-2Z"/><path d="M54.97 11.79c1.17.04 2.77 4.5.53 4.67-2.24.18-1.7-4.71-.53-4.67Z"/></g>',upDownNatural:(a,l)=>'<path d="m22.77 1.58.9-.4C28.93-.91 36.88-.03 41.73 2.3c.57.27.18 1.15-.4 1.1-14.92-1.14-24.96 8.15-28.37 14.45-.1.18-.41.2-.49.03-2.3-5.32 4.45-13.98 10.3-16.3ZM87 12.07c5.75.77 14.74 5.8 13.99 11.6-.03.2-.31.26-.44.1-2.49-3.2-21.71-7.87-28.71-6.9-.64.1-1.07-.57-.63-.98 3.75-3.54 10.62-4.52 15.78-3.82Z" fill-rule="evenodd" clip-rule="evenodd" fill="#000" fill-opacity=".6"/>',angry:(a,l)=>'<path d="M15.61 15.18c4.24-5.76 6.88-5.48 13.31-.62l.67.5C34.41 18.73 36.7 20 40 20a2 2 0 1 0 0-4c-2.07 0-3.9-1.02-7.99-4.12l-.68-.52C27.57 8.53 25.37 7.3 22.63 7c-3.68-.4-7.05 1.48-10.24 5.83a2 2 0 1 0 3.22 2.36ZM96.39 15.18c-4.24-5.76-6.88-5.48-13.31-.62l-.67.5C77.58 18.73 75.29 20 72 20a2 2 0 1 1 0-4c2.07 0 3.9-1.02 7.99-4.12l.68-.52c3.76-2.83 5.96-4.07 8.7-4.37 3.68-.4 7.05 1.48 10.24 5.83a2 2 0 1 1-3.22 2.36Z" fill="#000" fill-opacity=".6"/>',default:(a,l)=>'<path d="M15.63 17.16c3.92-5.51 14.65-8.6 23.9-6.33a2 2 0 1 0 .95-3.88c-10.74-2.64-23.17.94-28.11 7.9a2 2 0 0 0 3.26 2.3ZM96.37 17.16c-3.91-5.51-14.65-8.6-23.9-6.33a2 2 0 1 1-.95-3.88c10.74-2.64 23.17.94 28.11 7.9a2 2 0 0 1-3.26 2.3Z" fill="#000" fill-opacity=".6"/>',raisedExcited:(a,l)=>'<path d="M15.98 17.13C17.48 7.6 30.06 1.1 39.16 5.3a2 2 0 1 0 1.68-3.63c-11.5-5.3-26.9 2.66-28.82 14.84a2 2 0 0 0 3.96.63ZM96.02 17.13C94.52 7.6 81.94 1.1 72.84 5.3a2 2 0 1 1-1.68-3.63c11.5-5.3 26.9 2.66 28.82 14.84a2 2 0 0 1-3.96.63Z" fill="#000" fill-opacity=".6"/>',sadConcerned:(a,l)=>'<path d="M38.03 5.6c-1.48 8.38-14.1 14.17-23.24 10.42a2.04 2.04 0 0 0-2.64 1c-.43.97.04 2.1 1.05 2.5 11.45 4.7 26.84-2.37 28.76-13.3a1.92 1.92 0 0 0-1.64-2.2 2 2 0 0 0-2.3 1.57ZM73.97 5.6c1.48 8.38 14.1 14.17 23.24 10.42 1.02-.41 2.2.03 2.63 1 .43.97-.04 2.1-1.05 2.5-11.44 4.7-26.84-2.37-28.76-13.3a1.92 1.92 0 0 1 1.64-2.2 2 2 0 0 1 2.3 1.57Z" fill="#000" fill-opacity=".6"/>',upDown:(a,l)=>'<path d="M15.6 14.16c4.49-6.32 14-9.5 23.75-6.36a2 2 0 1 0 1.23-3.81c-11.41-3.68-22.74.1-28.25 7.85a2 2 0 1 0 3.26 2.32ZM96.38 21.16c-3.92-5.51-14.65-8.6-23.9-6.33a2 2 0 0 1-.95-3.88c10.74-2.64 23.17.94 28.1 7.9a2 2 0 1 1-3.25 2.3Z" fill="#000" fill-opacity=".6"/>'},eyes:{closed:(a,l)=>'<path d="M16.16 27.55c1.85 3.8 6 6.45 10.84 6.45 4.81 0 8.96-2.63 10.82-6.4.55-1.13-.24-2.05-1.03-1.37a15.05 15.05 0 0 1-9.8 3.43c-3.73 0-7.12-1.24-9.55-3.23-.9-.73-1.82.01-1.28 1.12ZM74.16 27.55c1.85 3.8 6 6.45 10.84 6.45 4.81 0 8.96-2.63 10.82-6.4.55-1.13-.24-2.05-1.03-1.37a15.05 15.05 0 0 1-9.8 3.43c-3.74 0-7.13-1.24-9.56-3.23-.9-.73-1.82.01-1.28 1.12Z" fill-rule="evenodd" clip-rule="evenodd" fill="#000" fill-opacity=".6"/>',cry:(a,l)=>'<path d="M25 27s-6 7.27-6 11.27a6 6 0 1 0 12 0c0-4-6-11.27-6-11.27Z" fill="#92D9FF"/><path d="M36 22a6 6 0 1 1-12 0 6 6 0 0 1 12 0ZM88 22a6 6 0 1 1-12 0 6 6 0 0 1 12 0Z" fill="#000" fill-opacity=".6"/>',default:(a,l)=>'<path d="M36 22a6 6 0 1 1-12 0 6 6 0 0 1 12 0ZM88 22a6 6 0 1 1-12 0 6 6 0 0 1 12 0Z" fill="#000" fill-opacity=".6"/>',eyeRoll:(a,l)=>'<path d="M44 22a14 14 0 1 1-28 0 14 14 0 0 1 28 0ZM96 22a14 14 0 1 1-28 0 14 14 0 0 1 28 0Z" fill="#fff"/><path d="M36 14a6 6 0 1 1-12 0 6 6 0 0 1 12 0ZM88 14a6 6 0 1 1-12 0 6 6 0 0 1 12 0Z" fill="#000" fill-opacity=".7"/>',happy:(a,l)=>'<path d="M16.16 22.45c1.85-3.8 6-6.45 10.84-6.45 4.81 0 8.96 2.63 10.82 6.4.55 1.13-.24 2.05-1.03 1.37a15.05 15.05 0 0 0-9.8-3.43c-3.73 0-7.12 1.24-9.55 3.23-.9.73-1.82-.01-1.28-1.12ZM74.16 22.45c1.85-3.8 6-6.45 10.84-6.45 4.81 0 8.96 2.63 10.82 6.4.55 1.13-.24 2.05-1.03 1.37a15.05 15.05 0 0 0-9.8-3.43c-3.74 0-7.13 1.24-9.56 3.23-.9.73-1.82-.01-1.28-1.12Z" fill-rule="evenodd" clip-rule="evenodd" fill="#000" fill-opacity=".6"/>',hearts:(a,l)=>'<path d="M35.96 10c-2.55 0-5.08 1.98-6.46 3.82-1.39-1.84-3.9-3.82-6.46-3.82-5.49 0-9.04 3.33-9.04 7.64 0 5.73 4.41 9.13 9.04 12.74 1.66 1.23 4.78 4.4 5.17 5.1.38.68 2.1.7 2.58 0 .48-.73 3.51-3.87 5.17-5.1 4.63-3.6 9.04-7 9.04-12.74 0-4.3-3.55-7.64-9.04-7.64ZM88.96 10c-2.55 0-5.08 1.98-6.46 3.82-1.39-1.84-3.9-3.82-6.46-3.82-5.49 0-9.04 3.33-9.04 7.64 0 5.73 4.41 9.13 9.04 12.74 1.65 1.23 4.78 4.4 5.17 5.1.38.68 2.1.7 2.58 0 .48-.73 3.51-3.87 5.17-5.1 4.63-3.6 9.04-7 9.04-12.74 0-4.3-3.55-7.64-9.04-7.64Z" fill="#FF5353" fill-opacity=".8"/>',side:(a,l)=>'<path d="M27 16c-4.84 0-9 2.65-10.84 6.45-.54 1.1.39 1.85 1.28 1.12a15.13 15.13 0 0 1 9.8-3.22 6 6 0 1 0 10.7 2.8 2 2 0 0 0-.12-.74l-.15-.38a6 6 0 0 0-1.64-2.48C33.9 17.32 30.5 16 27 16ZM85 16c-4.84 0-9 2.65-10.84 6.45-.54 1.1.39 1.85 1.28 1.12a15.13 15.13 0 0 1 9.8-3.22 6 6 0 1 0 10.7 2.8 2 2 0 0 0-.12-.74l-.15-.38a6 6 0 0 0-1.64-2.48C91.9 17.32 88.5 16 85 16Z" fill="#000" fill-opacity=".6"/>',squint:(a,l)=>'<path d="M44 20.73c0 4.26-6.27 7.72-14 7.72S16 25 16 20.73C16 16.46 22.27 13 30 13s14 3.46 14 7.73ZM96 20.73c0 4.26-6.27 7.72-14 7.72S68 25 68 20.73C68 16.46 74.27 13 82 13s14 3.46 14 7.73Z" fill="#fff"/><path d="M32.82 28.3a25.15 25.15 0 0 1-5.64 0 6 6 0 1 1 5.64 0ZM84.82 28.3a25.15 25.15 0 0 1-5.64 0 6 6 0 1 1 5.64 0Z" fill="#000" fill-opacity=".7"/>',surprised:(a,l)=>'<path d="M44 22a14 14 0 1 1-28 0 14 14 0 0 1 28 0ZM96 22a14 14 0 1 1-28 0 14 14 0 0 1 28 0Z" fill="#fff"/><path d="M36 22a6 6 0 1 1-12 0 6 6 0 0 1 12 0ZM88 22a6 6 0 1 1-12 0 6 6 0 0 1 12 0Z" fill="#000" fill-opacity=".7"/>',winkWacky:(a,l)=>'<circle cx="82" cy="22" r="12" fill="#fff"/><circle cx="82" cy="22" r="6" fill="#000" fill-opacity=".7"/><path fill-rule="evenodd" clip-rule="evenodd" d="M16.16 25.45c1.85-3.8 6-6.45 10.84-6.45 4.81 0 8.96 2.63 10.82 6.4.55 1.13-.24 2.05-1.03 1.37a15.05 15.05 0 0 0-9.8-3.43c-3.73 0-7.12 1.24-9.55 3.23-.9.73-1.82-.01-1.28-1.12Z" fill="#000" fill-opacity=".6"/>',wink:(a,l)=>'<g fill="#000" fill-opacity=".6"><path d="M36 22a6 6 0 1 1-12 0 6 6 0 0 1 12 0Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M70.6 24.96c1.59-3.92 5.55-6.86 10.37-7.2 4.8-.33 9.12 2 11.24 5.64.63 1.09-.1 2.06-.93 1.43-2.6-1.93-6.15-3-10-2.73A15.13 15.13 0 0 0 71.95 26c-.84.78-1.81.1-1.35-1.04Z"/></g>',xDizzy:(a,l)=>'<path d="M34.5 30.7 29 25.2l-5.5 5.5c-.4.4-1.1.4-1.6 0l-1.6-1.6c-.4-.4-.4-1.1 0-1.6l5.5-5.5-5.5-5.5c-.4-.5-.4-1.2 0-1.6l1.6-1.6c.4-.4 1.1-.4 1.6 0l5.5 5.5 5.5-5.5c.4-.4 1.1-.4 1.6 0l1.6 1.6c.4.4.4 1.1 0 1.6L32.2 22l5.5 5.5c.4.4.4 1.1 0 1.6l-1.6 1.6c-.4.4-1.1.4-1.6 0ZM88.5 30.7 83 25.2l-5.5 5.5c-.4.4-1.1.4-1.6 0l-1.6-1.6c-.4-.4-.4-1.1 0-1.6l5.5-5.5-5.5-5.5c-.4-.5-.4-1.2 0-1.6l1.6-1.6c.4-.4 1.1-.4 1.6 0l5.5 5.5 5.5-5.5c.4-.4 1.1-.4 1.6 0l1.6 1.6c.4.4.4 1.1 0 1.6L86.2 22l5.5 5.5c.4.4.4 1.1 0 1.6l-1.6 1.6c-.4.4-1.1.4-1.6 0Z" fill="#000" fill-opacity=".6"/>'},facialHair:_,mouth:{concerned:(a,l)=>'<path fill-rule="evenodd" clip-rule="evenodd" d="M35.12 29.87a19 19 0 0 1 37.77.09c.08.77-.77 2.04-1.85 2.04H37.1C36 32 35 30.82 35.12 29.87Z" fill="#000" fill-opacity=".7"/><path d="M69.59 32H38.4a11 11 0 0 1 15.6-6.8A11 11 0 0 1 69.59 32Z" fill="#FF4F6D"/><path d="M66.57 17.75A5 5 0 0 1 65 18H44c-.8 0-1.57-.2-2.24-.53A18.92 18.92 0 0 1 54 13c4.82 0 9.22 1.8 12.57 4.75Z" fill="#fff"/>',default:(a,l)=>'<path fill-rule="evenodd" clip-rule="evenodd" d="M40 15a14 14 0 1 0 28 0" fill="#000" fill-opacity=".7"/>',disbelief:(a,l)=>'<path fill-rule="evenodd" clip-rule="evenodd" d="M40 29a14 14 0 1 1 28 0" fill="#000" fill-opacity=".7"/>',eating:(a,l)=>'<path d="M28 26.24c1.36.5 2.84.76 4.4.76 5.31 0 9.81-3.15 11.29-7.49 2.47 2.17 6.17 3.54 10.31 3.54 4.14 0 7.84-1.37 10.31-3.53 1.48 4.35 5.98 7.5 11.3 7.5 1.55 0 3.03-.27 4.4-.76h-.19c-6.33 0-11.8-4.9-11.8-10.56 0-4.18 2.32-7.72 5.69-9.68-5.5.8-9.73 5-9.9 10.1a17.61 17.61 0 0 1-9.8 2.8c-3.8 0-7.25-1.06-9.8-2.8-.18-5.1-4.4-9.3-9.9-10.1a11.18 11.18 0 0 1 5.68 9.68c0 5.66-5.47 10.57-11.8 10.57H28Z" fill="#000" fill-opacity=".6" opacity=".6"/><path d="M17 24a9 9 0 1 0 0-18 9 9 0 0 0 0 18ZM91 24a9 9 0 1 0 0-18 9 9 0 0 0 0 18Z" fill="#FF4646" fill-opacity=".2"/>',grimace:(a,l)=>'<rect x="22" y="7" width="64" height="26" rx="13" fill="#000" fill-opacity=".6"/><rect x="24" y="9" width="60" height="22" rx="11" fill="#fff"/><path d="M24.18 18H32V9.41A11 11 0 0 1 35 9h1v9h9V9h4v9h9V9h4v9h9V9h2c.68 0 1.35.06 2 .18V18h8.82l.05.28v3.44l-.05.28H75v8.82c-.65.12-1.32.18-2 .18h-2v-9h-9v9h-4v-9h-9v9h-4v-9h-9v9h-1a11 11 0 0 1-3-.41V22h-7.82a11.06 11.06 0 0 1 0-4Z" fill="#E6E6E6"/>',sad:(a,l)=>'<path fill-rule="evenodd" clip-rule="evenodd" d="M40.06 27.72C40.7 20.7 46.7 16 54 16c7.34 0 13.36 4.75 13.95 11.85.03.38-.87.67-1.32.45-5.54-2.77-9.75-4.16-12.63-4.16-2.84 0-7 1.36-12.45 4.07-.5.25-1.53-.07-1.5-.49Z" fill="#000" fill-opacity=".7"/>',screamOpen:(a,l)=>'<path fill-rule="evenodd" clip-rule="evenodd" d="M34 38.86C35.14 24.88 38.24 13.01 54 13c15.76 0 18.92 11.94 20 26 .08 1.12-.83 2-1.96 2-6.69 0-9.37-2-18.05-2-8.7 0-13.24 2-17.9 2-1.15 0-2.2-.74-2.1-2.14Z" fill="#000" fill-opacity=".7"/><path d="M67.02 17.57c-.61.28-1.3.43-2.02.43H44c-.98 0-1.9-.28-2.67-.77C44.23 14.57 48.28 13 54 13c5.95 0 10.1 1.7 13.02 4.57Z" fill="#fff"/><path d="M69.8 40.92a44.2 44.2 0 0 1-5.54-.82c-2.73-.53-5.65-1.1-10.27-1.1-5.02 0-8.66.66-11.74 1.23-1.45.26-2.77.5-4.06.65A11 11 0 0 1 54 33.2a11 11 0 0 1 15.8 7.72Z" fill="#FF4F6D"/>',serious:(a,l)=>'<rect x="42" y="18" width="24" height="6" rx="3" fill="#000" fill-opacity=".7"/>',smile:(a,l)=>'<path fill-rule="evenodd" clip-rule="evenodd" d="M35.12 15.13a19 19 0 0 0 37.77-.09c.08-.77-.77-2.04-1.85-2.04H37.1C36 13 35 14.18 35.12 15.13Z" fill="#000" fill-opacity=".7"/><path d="M70 13H39a5 5 0 0 0 5 5h21a5 5 0 0 0 5-5Z" fill="#fff"/><path d="M66.7 27.14A10.96 10.96 0 0 0 54 25.2a10.95 10.95 0 0 0-12.7 1.94A18.93 18.93 0 0 0 54 32c4.88 0 9.33-1.84 12.7-4.86Z" fill="#FF4F6D"/>',tongue:(a,l)=>'<path fill-rule="evenodd" clip-rule="evenodd" d="M29 15.6C30.41 25.24 41.06 33 54 33c12.97 0 23.65-7.82 25-18.26.1-.4-.22-1.74-2.17-1.74H31.17c-1.79 0-2.3 1.24-2.17 2.6Z" fill="#000" fill-opacity=".7"/><path d="M70 13H39a5 5 0 0 0 5 5h21a5 5 0 0 0 5-5Z" fill="#fff"/><path d="M43 23.5a1.88 1.88 0 0 0 0 .13v8.87a11.5 11.5 0 1 0 23 0v-8.87a1.62 1.62 0 0 0 0-.13c0-1.93-2.91-3.5-6.5-3.5-2.01 0-3.8.5-5 1.26a9.45 9.45 0 0 0-5-1.26c-3.59 0-6.5 1.57-6.5 3.5Z" fill="#FF4F6D"/>',twinkle:(a,l)=>'<path d="M40 16c0 5.37 6.16 9 14 9s14-3.63 14-9c0-1.1-.95-2-2-2-1.3 0-1.87.9-2 2-1.24 2.94-4.32 4.72-10 5-5.68-.28-8.76-2.06-10-5-.13-1.1-.7-2-2-2-1.05 0-2 .9-2 2Z" fill="#000" fill-opacity=".6"/>',vomit:(a,l)=>'<path fill-rule="evenodd" clip-rule="evenodd" d="M34 30.4C35.14 19.9 38.24 11 54 11c15.76 0 18.92 8.96 20 19.5.08.84-.83 1.5-1.96 1.5-6.69 0-9.37-1.5-18.05-1.5-8.7 0-13.24 1.5-17.9 1.5-1.15 0-2.2-.55-2.1-1.6Z" fill="#000" fill-opacity=".7"/><path d="M67.86 15.1c-.8.57-1.8.9-2.86.9H44c-1.3 0-2.49-.5-3.38-1.31C43.56 12.38 47.8 11 54 11c6.54 0 10.9 1.54 13.86 4.1Z" fill="#fff"/><path d="M42 25a6 6 0 0 0-6 6v7a6 6 0 0 0 12 0v-2h.08a6 6 0 0 1 11.84 0H60a6 6 0 0 0 12 0v-5a6 6 0 0 0-6-6H42Z" fill="#7BB24B"/><path d="M72 31a6 6 0 0 0-6-6H42a6 6 0 0 0-6 6v6a6 6 0 0 0 12 0v-2h.08a6 6 0 0 1 11.84 0H60a6 6 0 0 0 12 0v-4Z" fill="#88C553"/>'},nose:{default:(a,l)=>'<path fill-rule="evenodd" clip-rule="evenodd" d="M16 8c0 4.42 5.37 8 12 8s12-3.58 12-8" fill="#000" fill-opacity=".16"/>'},style:E,top:j},Symbol.toStringTag,{value:"Module"});function P({prng:a,group:l,values:c=[]}){const i=U,t=a.pick(c);return t&&i[l][t]?{name:t,value:i[l][t]}:void 0}function z(a){return"transparent"===a?a:`#${a}`}const T=Object.defineProperty({__proto__:null,create:({prng:a,options:l})=>{var c,i;const t=function({prng:a,options:l}){const c=P({prng:a,group:"style",values:l.style}),i=P({prng:a,group:"base",values:l.base}),t=P({prng:a,group:"clothing",values:l.clothing}),e=P({prng:a,group:"mouth",values:l.mouth}),r=P({prng:a,group:"nose",values:l.nose}),h=P({prng:a,group:"eyes",values:l.eyes}),d=P({prng:a,group:"eyebrows",values:l.eyebrows}),n=P({prng:a,group:"top",values:l.top}),o=P({prng:a,group:"facialHair",values:l.facialHair}),f=P({prng:a,group:"accessories",values:l.accessories}),p=P({prng:a,group:"clothingGraphic",values:l.clothingGraphic});return{style:c,base:i,clothing:t,mouth:e,nose:r,eyes:h,eyebrows:d,top:a.bool(l.topProbability)?n:void 0,facialHair:a.bool(l.facialHairProbability)?o:void 0,accessories:a.bool(l.accessoriesProbability)?f:void 0,clothingGraphic:p}}({prng:a,options:l}),e=function({prng:a,options:l}){var c,i,t,e,r,h,d;return{accessories:z(a.pick(null!==(c=l.accessoriesColor)&&void 0!==c?c:[],"transparent")),clothes:z(a.pick(null!==(i=l.clothesColor)&&void 0!==i?i:[],"transparent")),hat:z(a.pick(null!==(t=l.hatColor)&&void 0!==t?t:[],"transparent")),hair:z(a.pick(null!==(e=l.hairColor)&&void 0!==e?e:[],"transparent")),skin:z(a.pick(null!==(r=l.skinColor)&&void 0!==r?r:[],"transparent")),facialHair:z(a.pick(null!==(h=l.facialHairColor)&&void 0!==h?h:[],"transparent")),background:z(a.pick(null!==(d=l.backgroundColor)&&void 0!==d?d:[],"transparent"))}}({prng:a,options:l});return function({prng:a,options:l,components:c,colors:i}){var t,e,r;"circle"===(null===(t=c.style)||void 0===t?void 0:t.name)&&(l.backgroundColor=[]),"circle"!==(null===(e=c.style)||void 0===e?void 0:e.name)&&l.backgroundColor&&1===l.backgroundColor.length&&"65c9ff"===l.backgroundColor[0]&&(l.backgroundColor=[]),100!==l.facialHairProbability&&"hijab"===(null===(r=c.top)||void 0===r?void 0:r.name)&&(l.facialHair=void 0)}({prng:a,options:l,components:t,colors:e}),{attributes:{viewBox:"0 0 280 280",fill:"none","shape-rendering":"auto"},body:`<g transform="translate(8)">${null!==(i=null===(c=t.style)||void 0===c?void 0:c.value(t,e))&&void 0!==i?i:""}</g>`,extra:()=>({...Object.entries(t).reduce(((a,[l,c])=>(a[l]=null==c?void 0:c.name,a)),{}),...Object.entries(e).reduce(((a,[l,c])=>(a[`${l}Color`]=c,a)),{})})}},meta:{title:"Avataaars",creator:"Pablo Stanley",source:"https://avataaars.com/",homepage:"https://twitter.com/pablostanley",license:{name:"Free for personal and commercial use",url:"https://avataaars.com/"}},schema:{$schema:"http://json-schema.org/draft-07/schema#",properties:{accessories:{type:"array",items:{type:"string",enum:["kurt","prescription01","prescription02","round","sunglasses","wayfarers","eyepatch"]},default:["kurt","prescription01","prescription02","round","sunglasses","wayfarers","eyepatch"]},accessoriesColor:{type:"array",items:{type:"string",pattern:"^(transparent|[a-fA-F0-9]{6})$"},default:["262e33","65c9ff","5199e4","25557c","e6e6e6","929598","3c4f5c","b1e2ff","a7ffc4","ffdeb5","ffafb9","ffffb1","ff488e","ff5c5c","ffffff"]},accessoriesProbability:{type:"integer",minimum:0,maximum:100,default:10},backgroundColor:{type:"array",items:{type:"string",pattern:"^(transparent|[a-fA-F0-9]{6})$"},default:["65c9ff"]},base:{type:"array",items:{type:"string",enum:["default"]},default:["default"]},clothesColor:{type:"array",items:{type:"string",pattern:"^(transparent|[a-fA-F0-9]{6})$"},default:["262e33","65c9ff","5199e4","25557c","e6e6e6","929598","3c4f5c","b1e2ff","a7ffc4","ffafb9","ffffb1","ff488e","ff5c5c","ffffff"]},clothing:{type:"array",items:{type:"string",enum:["blazerAndShirt","blazerAndSweater","collarAndSweater","graphicShirt","hoodie","overall","shirtCrewNeck","shirtScoopNeck","shirtVNeck"]},default:["blazerAndShirt","blazerAndSweater","collarAndSweater","graphicShirt","hoodie","overall","shirtCrewNeck","shirtScoopNeck","shirtVNeck"]},clothingGraphic:{type:"array",items:{type:"string",enum:["bat","bear","cumbia","deer","diamond","hola","pizza","resist","skull","skullOutline"]},default:["bat","bear","cumbia","deer","diamond","hola","pizza","resist","skull","skullOutline"]},eyebrows:{type:"array",items:{type:"string",enum:["angryNatural","defaultNatural","flatNatural","frownNatural","raisedExcitedNatural","sadConcernedNatural","unibrowNatural","upDownNatural","angry","default","raisedExcited","sadConcerned","upDown"]},default:["angryNatural","defaultNatural","flatNatural","frownNatural","raisedExcitedNatural","sadConcernedNatural","unibrowNatural","upDownNatural","angry","default","raisedExcited","sadConcerned","upDown"]},eyes:{type:"array",items:{type:"string",enum:["closed","cry","default","eyeRoll","happy","hearts","side","squint","surprised","winkWacky","wink","xDizzy"]},default:["closed","cry","default","eyeRoll","happy","hearts","side","squint","surprised","winkWacky","wink","xDizzy"]},facialHair:{type:"array",items:{type:"string",enum:["beardLight","beardMajestic","beardMedium","moustacheFancy","moustacheMagnum"]},default:["beardLight","beardMajestic","beardMedium","moustacheFancy","moustacheMagnum"]},facialHairColor:{type:"array",items:{type:"string",pattern:"^(transparent|[a-fA-F0-9]{6})$"},default:["a55728","2c1b18","b58143","d6b370","724133","4a312c","f59797","ecdcbf","c93305","e8e1e1"]},facialHairProbability:{type:"integer",minimum:0,maximum:100,default:10},hairColor:{type:"array",items:{type:"string",pattern:"^(transparent|[a-fA-F0-9]{6})$"},default:["a55728","2c1b18","b58143","d6b370","724133","4a312c","f59797","ecdcbf","c93305","e8e1e1"]},hatColor:{type:"array",items:{type:"string",pattern:"^(transparent|[a-fA-F0-9]{6})$"},default:["262e33","65c9ff","5199e4","25557c","e6e6e6","929598","3c4f5c","b1e2ff","a7ffc4","ffdeb5","ffafb9","ffffb1","ff488e","ff5c5c","ffffff"]},mouth:{type:"array",items:{type:"string",enum:["concerned","default","disbelief","eating","grimace","sad","screamOpen","serious","smile","tongue","twinkle","vomit"]},default:["concerned","default","disbelief","eating","grimace","sad","screamOpen","serious","smile","tongue","twinkle","vomit"]},nose:{type:"array",items:{type:"string",enum:["default"]},default:["default"]},skinColor:{type:"array",items:{type:"string",pattern:"^(transparent|[a-fA-F0-9]{6})$"},default:["614335","d08b5b","ae5d29","edb98a","ffdbb4","fd9841","f8d25c"]},style:{type:"array",items:{type:"string",enum:["circle","default"]},default:["default"]},top:{type:"array",items:{type:"string",enum:["hat","hijab","turban","winterHat1","winterHat02","winterHat03","winterHat04","bob","bun","curly","curvy","dreads","frida","fro","froBand","longButNotTooLong","miaWallace","shavedSides","straight02","straight01","straightAndStrand","dreads01","dreads02","frizzle","shaggy","shaggyMullet","shortCurly","shortFlat","shortRound","shortWaved","sides","theCaesar","theCaesarAndSidePart","bigHair"]},default:["hat","hijab","turban","winterHat1","winterHat02","winterHat03","winterHat04","bob","bun","curly","curvy","dreads","frida","fro","froBand","longButNotTooLong","miaWallace","shavedSides","straight02","straight01","straightAndStrand","dreads01","dreads02","frizzle","shaggy","shaggyMullet","shortCurly","shortFlat","shortRound","shortWaved","sides","theCaesar","theCaesarAndSidePart","bigHair"]},topProbability:{type:"integer",minimum:0,maximum:100,default:100}}}},Symbol.toStringTag,{value:"Module"}),q={long20:(a,l)=>`<path d="M457 309c-2.8-64.3-16.5-214.8-174-219.6-173.7 0-167.4 164.2-176.7 219.7-8.1 49.1-34.5 84.3 0 177.5 20.4 54.8 97 103.2 176.6 103.1 75.7 0 154.6-46 174-88.7 40-87.7 2.8-127.6 0-192Z" fill="${p(`${l.hair}`)}"/>`,long19:(a,l)=>`<path d="M76.7 282.7C90.2 142.2 192 71.9 284.7 76.3 427 83 480 203 486.3 282.7c5.4 68.2 63.2 138 23.9 205-64.6 109.4-382.2 92.5-442 21.5-59.7-70.8-.8-129.6 8.6-226.5Z" fill="${p(`${l.hair}`)}"/>`,long18:(a,l)=>`<path d="M288 73.1h-10.2c-101.3 0-183.4 94-183.4 210.1V431c0 116 82.1 210.1 183.4 210.1H288c101.3 0 183.4-94 183.4-210V283.1c0-116-82-210-183.4-210Z" fill="${p(`${l.hair}`)}"/>`,long17:(a,l)=>`<g fill="${p(`${l.hair}`)}"><path d="M287.2 87H277C175.7 87 93.6 181 93.6 297S175.7 426.4 277 426.4h10.2c101.3 0 183.4-13.3 183.4-129.4 0-116-82.1-210-183.4-210Z"/><path d="M131.1 74.4c66.4-6.4 94 60 99.5 94 10.3 21.5 24.8 105 0 267C199.6 638 6.6 550 26.6 539s56.5-84.5 19-205.5 2.5-251 85.5-259Z"/></g>`,long16:(a,l)=>`<g fill="${p(`${l.hair}`)}"><path d="M287.2 100H277c-101.3 0-183.4 94-183.4 210 0 116.1 82.1 129.5 183.4 129.5h10.2c101.3 0 183.4-13.4 183.4-129.4S388.5 100 287.2 100Z"/><path d="M116.6 74.4c66.4-6.4 94 60 99.5 94 10.3 21.5 24.8 105 0 267C185 638-8 550 12 539s56.5-84.5 19-205.5 2.5-251 85.5-259ZM448.8 74.4c-66.4-6.4-94 60-99.5 94-10.3 21.5-24.8 105 0 267 31 202.5 224 114.5 204 103.5s-56.5-84.5-19-205.5-2.5-251-85.5-259Z"/></g>`,long15:(a,l)=>`<g fill="${p(`${l.hair}`)}"><path d="M478.7 297.5C475.7 228 460.3 65.2 283.8 60 89.3 60 96.4 237.5 86 297.5 77 350.7 52.4 342.2 91.1 443c22.8 59.3 103.5 14.1 192.7 14 84.8 0 167.5 24.1 195-34 27.3-58.1 3-55.9 0-125.5Z"/><path d="M51.6 409.5c-4-36 20-62.3 32.5-71L470.7 317c4.8.5 20.8 22.6 33 65.4 22.3 79-8 91.5 0 106.1 6.2 11.7 36.5 5 51 0-3 9.6-17.5 31-51 40.1-33.7 9.1-76-17.5-93-32-2.8 3.1-4.3 14.7 12.3 36.3 16.6 21.7 6.9 53.1 0 66.1.7-7-6.6-24.3-42-36.8-34.3-12.2-46.8-35.4-54.2-54.4-.7 2-4 7.2-5.2 31-1.8 33.9-50 45.2-74 46.7 8-8.7 22.1-32.2 14-56.9-8-24.7-16.7-31.6-20.1-32-9 7-26 28.2-22.4 58.5 3.6 30.4-38.5 36.1-60 35.2 4.7-1.6 14-8.7 14-24.3 0-19.5-16.7-8.7-39.1-33-12.2-13.3-11.3-30.4-7.1-43.7-8.4 11-25 23.1-55.1 28-46.2 7.3-60.7-20.8-62.2-35.8 5.4 2.9 20.3 7 36.4 0 20.2-8.7 10.7-27 5.6-72Z"/></g>`,long14:(a,l)=>`<g fill="${p(`${l.hair}`)}"><path d="M288.2 88.3H278C176.7 88.3 94.6 151 94.6 228.1v98.4c0 77.2 82.1 139.8 183.4 139.8h10.2c101.3 0 183.4-62.6 183.4-139.8v-98.4c0-77.2-82.1-139.8-183.4-139.8Z"/><path d="M127.1 76.8c50-43.7 238-81 278 48 38 14.5-104 177.3-104 278 0 107.5-93 181.4-210 147-65.3-19.1-74.5-95.1-57.5-147 17.5-53.3 30-45 7.5-143-9.2-40 38-84.4 63-113.5-13-41.5 11-59 23-69.5Z"/></g>`,long13:(a,l)=>`<path d="M282.6 50c63-24.5 58.5 20.5 85 40.5 8.3-5 42-8 55 0 35.5 22 10 39.3 43.5 63 44.5 31.5 19.5 47.1 17 74.1-2.5 27 19.7 33 34 49 22.5 25.5 16.5 70 0 85.5s12.5 13 10 70-42 41.5-61 55.5-.5 33-43.5 48-32.5-8.5-92-9.5c-37-.6-39.5 35-92 21.5-27.1-7-29-44.6-63.5-21.5-48.5 32.5-104-8.1-100-45.1s-33.3-22.3-39.5-48.9C21.8 373.6 60.9 364 54 344.6c-9-25.5-19.5-37.5-8-77.5 12.8-44.6 48-36 35-68s8.5-51.6 30-65.6c21.5-14 40-9.5 35-27.5s11.8-56 50.5-56c37.5 0 42 17.1 86 0Z" fill="${p(`${l.hair}`)}"/>`,long12:(a,l)=>`<g fill="${p(`${l.hair}`)}"><path d="M76.6 230.4C90 111 191.9 51.4 284.6 55.2c142.2 5.7 195.1 107.5 201.5 175.2 5.4 58 63.2 117.2 23.9 174-64.6 93-259.2 81.5-333.9 41.1-76-41.1-108.9-132.9-99.5-215.1Z"/><path d="M516.6 454c28.3-77-7.2-159.8-35.7-198.5-15.1-21.7-73.5 114-181 149.5-107.3 35.6-105.3 128.6-33.8 155.5C337.6 587.4 488.4 531 516.6 454Z"/></g>`,long11:(a,l)=>`<g fill="${p(`${l.hair}`)}"><path d="M75.1 204.2c-7-30.3 21.3-27.4 61.7-65.4 40.4-38 87.4-58.9 169-57.6 81.8 1.2 135.8 55.2 147.7 66 36.2 47.6 10.8 40.6 37.7 57 33.6 20.4 42.6 51.1 16.2 81.8-26.3 30.7-5 15.3 28.7 45s-10.8 56.9-21 82.4c-10.3 25.6 27.5 11.8 27.5 63.6 0 19.5-25 39-79 53-62.9 16.3-176.5 31.5-326.8 0-21.8-4.6-64.8-23.5-83.7-40-19-16.5-24.6-66.9 12-94.5 36.6-27.6 15.6-39-5-64.5-20.4-25.6-11-52.6 25.5-77.2 36.6-24.5-1.7-11.8-10.5-49.6Z"/><ellipse cx="294.1" cy="463.5" rx="250.5" ry="123.5"/></g>`,long10:(a,l)=>`<path d="M506 402.8c39.6-108.3-13.3-145.4-46.7-202.2-33.3-56.8-86.9-77.8-95.3-62.3-18.5-37.2-46.3-47.2-95.7-47.2-60.8 0-136 35-149 81-17.2 61-33 68-57.3 111.5-16.2 29-22.2 92 0 130.5 33.8 58.7 101.3 109 222.4 109 71.8 0 189.7-33 221.6-120.3Z" fill="${p(`${l.hair}`)}"/>`,long09:(a,l)=>`<path d="M288 73.1h-10.2c-101.3 0-183.4 94-183.4 210.1v222.3h377V283.2c0-116-82-210-183.4-210Z" fill="${p(`${l.hair}`)}"/>`,long08:(a,l)=>`<path d="M287.2 73H277C175.7 73 93.6 167 93.6 283v141l377 81.4V283C470.6 167 388.5 73 287.2 73Z" fill="${p(`${l.hair}`)}"/>`,long07:(a,l)=>`<g fill="${p(`${l.hair}`)}"><path d="M288 73.1h-10.2c-101.3 0-183.4 94-183.4 210.1V466h377V283.2c0-116-82-210-183.4-210Z"/><circle cx="182.1" cy="466.5" r="87.5"/><circle cx="282.1" cy="466.5" r="87.5"/><circle cx="384.1" cy="466.5" r="87.5"/></g>`,long06:(a,l)=>`<g fill="${p(`${l.hair}`)}"><path d="M287.2 74H277C175.7 74 93.6 152.1 93.6 248.5S175.7 423 277 423h10.2c101.3 0 183.4-78.1 183.4-174.5S388.5 74 287.2 74Z"/><circle cx="282.1" cy="74.5" r="73.5"/></g>`,long05:(a,l)=>`<g fill="${p(`${l.hair}`)}"><path d="M462.3 352C506 292.5 488.8 80 287 80 85 80 56.3 277.5 110.8 352c9.6 18 52.9 88 176.2 88 79.6 0 131.6-28.5 175.3-88Z"/><circle cx="146.6" cy="103" r="77"/><circle cx="411.6" cy="103" r="77"/></g>`,long04:(a,l)=>`<g fill="${p(`${l.hair}`)}"><path d="M78.2 230.7c13.5-123 115.4-184.4 208.3-180.5C428.7 56 481.7 161 488 230.7c5.4 59.7 63.3 120.8 23.8 179.3-23.5 34.9-57.4 4.4-127.4 8-2.5 45-188.5 46-196.5-6-73.8-7.7-108 24.8-118.4 17-70-53-.8-113.5 8.6-198.3Z"/><path d="M102.8 500c-32.5-21-70-73-63.5-127.9 7-37.2 164.8 28 158.8 61.8-4.7 27 22.4 59.4 36.5 72.3-4-.3-15.7-3.2-30.5-12.3-14.7-9.1-32-22.6-35-27.2a74.4 74.4 0 0 0 35 51.3 190 190 0 0 1-47.9-18c-18.5-10-27.8-32.7-29.5-42.5-.6 3.8-.6 19.4 4 30.7 8 19.3 14 24.5 29.5 36.8-8.3-3.5-31.5-8.1-57.4-25ZM466.6 495c32.5-21.2 59-62.5 59-123.2-7-37.4-160.5 22.9-154.5 56.7 4.8 27.1-22.3 59.7-36.5 72.6 4-.3 15.7-3.2 30.5-12.3 14.8-9.2 32.2-22.7 35-27.3a74.6 74.6 0 0 1-35 51.4 190 190 0 0 0 48-18c18.5-10 27.8-32.8 29.5-42.6a72 72 0 0 1-4 30.8c-8 19.3-14 24.6-29.5 36.9 8.3-3.5 31.5-8.2 57.5-25Z"/></g>`,long03:(a,l)=>`<g fill="${p(`${l.hair}`)}"><path d="M78.2 224.1c13.5-116.4 115.4-174.6 208.3-171 142.2 5.6 195.2 105 201.6 171 5.4 56.6 63.3 114.4 23.8 169.8-64.5 90.7-415.8 36.9-442.3 17.9-70-50.2-.8-107.4 8.6-187.7Z"/><path d="M290.1 418.8c16.4-31-7-44-10.4-46.5-27.3-13-86-6-98.5 5.9-3.7 3.5-18 55-11.6 69 4.7 10 24.6 19 33.7 24.8-10.4-1.4-26.6-2-22 21.2 6 29.5 22.5 13.6 11.2 35.7-3.3 6.7-11.2 18.2-3.5 23.9 11.6 3.6 19.3 4 32.5 1 28-6.3 45.6-15.8 37.3-37.5-2.3-6-12-6-3.3-11 22.2-12.5 25.3-45.6 10.5-47.2-7.8-.8 7.8-8.3 24.1-39.3ZM139.7 409.9c28.2-17 14.7-42 13-46.2-16.7-27.6-69-56.4-85-53.6-4.8.9-41 36.8-42.1 52.6-.9 11.5 11.6 31 16.5 41.4-8.1-7.4-21.3-17.5-28.3 5.3-9 29 12.3 25-7.5 37.4-6 3.7-18 9-14.2 18.4 8 10 14.4 15 26.8 20.2 26.3 11.3 45.5 13.5 48.7-10.2 1-6.4-7.2-12.2 2.4-11.3 24.5 2.4 42.7-24.3 31-34.4-6.1-5.4 10.4-2.6 38.7-19.6Z"/><path d="M88.6 363c-8.5-35.3 16.9-39.8 20.7-41.1 29.3-3.4 84 23 93.2 38.7 2.8 4.6 4.6 59-4.8 70.1-6.8 8.2-28 10-38.1 12.5 10.3 2.2 26 7.1 16 27.8-12.4 26.3-24.5 5.6-19 30.5 1.8 7.6 6.7 21.3-2 24.2-12-.5-19.5-2.8-31.5-10C97.7 500.1 83 485.1 96 467c3.5-4.9 12.8-1.7 5.6-9.3-18.4-19.5-13.7-52.4.9-49 7.7 2-5.5-10.6-14-45.8ZM268.7 419.5c-17.9-29.7 4.7-44.4 8-47.1 26.7-15 85.5-12.5 98.6-1.5 3.9 3.3 20.8 53.7 15.1 68-4.1 10.5-23.5 20.8-32.3 27.3 10.3-2.1 26.4-4 23 19.6-4.5 29.8-21.7 15.2-9.4 36.4 3.7 6.4 12.2 17.4 4.8 23.6a54.7 54.7 0 0 1-32.5 3.4c-28.2-4.2-46.3-12.4-39-34.7 2-6 11.6-6.9 2.7-11.1-22.8-11-27.6-43.8-13-46.4 7.8-1.4-8.1-7.8-26-37.5ZM435 399.2c-28.7-14.7-16.5-41-15-45.3 15.3-29 65.7-62.3 81.8-60.8 4.8.5 42.3 33.6 44.2 49.4 1.4 11.5-10 32-14.5 43 7.7-8.1 20.3-19.3 28.3 3 10.2 28.3-11 26.1 9.1 37 6.1 3.2 18.2 7.5 15 17.3a62.2 62.2 0 0 1-25.7 22.5c-25.6 13.5-44.5 17.3-48.7-6.2-1.2-6.5 6.5-13-2.9-11.2-24.1 4.4-43.4-21-32.3-32.1 5.8-5.9-10.5-1.8-39.2-16.6Z"/><path d="M360.6 414c-25.5-20.1-8.8-43.5-6.5-47.5 20.4-25.6 76-48.5 91.6-43.9 4.6 1.4 35.4 41.1 34.4 57-.8 11.5-15.8 29.5-22.1 39.4 9-6.5 23.5-15 27.2 8.3 4.8 29.8-15.6 23.6 2.2 38 5.4 4.5 16.5 11 11.5 20a61.4 61.4 0 0 1-29.3 17.2c-27.6 8.2-47 8.4-46.8-15.6 0-6.5 8.8-11.3-.8-11.5-24.5-.3-38.8-29-25.8-37.7 6.8-4.6-10-3.7-35.6-23.8Z"/><path d="M299.6 430c-25.5-20.1-8.8-43.5-6.5-47.5 20.4-25.6 76-48.5 91.6-43.9 4.6 1.4 35.4 41.1 34.4 57-.8 11.5-15.8 29.5-22.1 39.4 9-6.5 23.5-15 27.2 8.3 4.8 29.8-15.6 23.6 2.2 38 5.4 4.5 16.5 11 11.5 20a61.4 61.4 0 0 1-29.3 17.2c-27.6 8.2-47 8.4-46.8-15.6 0-6.5 8.8-11.3-.8-11.5-24.5-.3-38.8-29-25.8-37.7 6.8-4.6-10-3.7-35.6-23.8Z"/><path d="M189.6 438c-25.5-20.1-8.8-43.5-6.5-47.5 20.4-25.6 76-48.5 91.6-43.9 4.6 1.4 35.4 41.1 34.4 57-.8 11.5-15.8 29.5-22.1 39.4 9-6.5 23.5-15 27.2 8.3 4.8 29.8-15.6 23.6 2.2 38 5.4 4.5 16.5 11 11.5 20a61.4 61.4 0 0 1-29.3 17.2c-27.6 8.2-47 8.4-46.8-15.6 0-6.5 8.8-11.3-.8-11.5-24.5-.3-38.8-29-25.8-37.7 6.8-4.6-10-3.7-35.6-23.8Z"/><path d="M72.6 414c-25.5-20.1-8.8-43.5-6.5-47.5 20.4-25.6 76-48.5 91.6-43.9 4.6 1.4 35.4 41.1 34.4 57-.8 11.5-15.8 29.5-22.1 39.4 9-6.5 23.5-15 27.2 8.3 4.8 29.8-15.6 23.6 2.2 38 5.4 4.5 16.5 11 11.5 20a61.4 61.4 0 0 1-29.3 17.2c-27.6 8.2-47 8.4-46.8-15.6 0-6.5 8.8-11.3-.8-11.5-24.5-.3-38.8-29-25.8-37.7 6.8-4.6-10-3.7-35.6-23.8Z"/></g>`,long02:(a,l)=>`<g fill="${p(`${l.hair}`)}"><path d="M78.7 224.1c13.7-116.4 116.8-174.6 210.8-171 144 5.6 197.7 105 204 171 5.6 56.6 64.2 114.4 24.3 169.8-65.4 90.7-421 36.9-447.8 17.9-71-50.2-.8-107.4 8.7-187.7Z"/><path d="M63.4 400.5a127.3 127.3 0 0 0 39-46.5c28.6-62.2-36.7-75.8-47.5-48.7a328 328 0 0 1-19.4 38.4C25.4 362 15.8 369.7-15 371c12 16 41.6 54.4 78.4 29.5ZM506.8 400.5a127.3 127.3 0 0 1-39-46.5c-28.6-62.2 36.7-75.8 47.5-48.7 2.5 6.2 6.7 15.6 19.4 38.4 10.1 18.3 19.7 26 50.5 27.3-12 16-41.6 54.4-78.4 29.5Z"/><path d="M513.7 359.5c-25.4-7.2-46.2-26-51.7-31.8-46.8-50 7.3-108.5 26.1-86.2 4.3 5 14.8 37.7 34 55.3 15.5 14.1 27 18.6 56.6 10-6.3 18.9-22.3 64.7-65 52.7ZM57.1 359.5c25.4-7.2 46.2-26 51.7-31.8 46.8-50-13-108-31.7-85.7-4.3 5-9.3 37.2-28.5 54.8-15.4 14.1-26.9 18.6-56.5 10 6.3 18.9 22.3 64.7 65 52.7ZM409.4 455.3a127.3 127.3 0 0 1-11.3-59.6c5.5-68.2 69.1-48 65.3-19.2a328 328 0 0 0-2 43c0 20.9 4.4 32.4 30.7 48.5-18.2 8-62.9 27-82.7-12.7ZM168.5 455.3a127.3 127.3 0 0 0 11.2-59.6c-5.5-68.2-69-48-65.2-19.2.8 6.6 1.8 17 2 43 0 20.9-4.5 32.4-30.8 48.5 18.2 8 63 27 82.8-12.7ZM287.7 489.4c13.8-27.7 14-60.7 13.2-70C294.4 339 199 356 203.6 390c1 7.8 16.4 20.3 16.5 51 .1 24.5 1.2 44.3-29.7 63.4 21.4 9.4 74 31.8 97.3-15Z"/><path d="M102.5 438c17.3-19.8 24.4-47 25.8-54.9 11.6-67.5-55-63.8-58.4-34.8a328 328 0 0 1-8.9 42c-5 20.3-12.3 30.3-41.8 39.4 15.6 12.4 54.2 41.9 83.3 8.4ZM467.7 438a127.3 127.3 0 0 1-25.8-54.9c-11.6-67.5 55-63.8 58.5-34.8a328 328 0 0 0 8.8 42c5 20.3 12.3 30.3 41.8 39.4-15.6 12.4-54.2 41.9-83.3 8.4ZM356.8 469c-5.3-25.8 1.8-53 4.5-60.6 22.8-64.5 79-28.7 68-1.8-2.6 6.2-6.2 16-13 41-5.4 20.2-4 32.5 17.2 54.9-19.7 3-67.7 10-76.7-33.6ZM221 469c5.4-25.8-1.7-53-4.4-60.6-22.9-64.5-79.2-28.7-68-1.8a328 328 0 0 1 13 41c5.4 20.2 4 32.5-17.3 54.9 19.7 3 67.7 10 76.7-33.6Z"/><path d="M288.9 486.4c-10.3-29.2-6.4-62-4.5-71.2 16.4-79 87.7-46 79-13-2 7.7 4 15.4 0 45.8-3.1 24.3-8.1 42.6 20.2 65.3-22.4 6.7-77.3 22.3-94.7-27Z"/></g>`,long01:(a,l)=>`<path d="M42.3 359.7c7.7 52.3 73.5 107.6 170.4 85.4 30.6-18.3 99.5-17 139-9.2 39.5 7.9 85.6 33 157-14s41-161-27-212.5C437 175.7 410.4 93 289.7 93c-112.5 0-144.1 75.9-190.3 116.3a166.3 166.3 0 0 0-57 150.3Z" fill="${p(`${l.hair}`)}"/>`,short20:(a,l)=>`<path d="M253.3 156.2c76.7-3 104.7 35 110.6 55.5 47.1 0 81.2 35 87 81.8 4.8 37.4-7.2 56.5-23.7 77.4a53.4 53.4 0 0 1-30.7 18.8c-16.6 5-18 6.3-57 6.3h-67.6c-51.6 0-71.7-7-95.3-17.4-26.6-11.7-76.6-32.1-76.6-106 0-59.2 76.7-113.5 153.3-116.4Z" fill="${p(`${l.hair}`)}"/>`,short19:(a,l)=>`<path d="m37 283 89.6 81h308.5l83.9-67.5-101.8-33.1 18-151.8-108.9 64L272.8 75l-64.3 94.5-116-52.7 34.1 134.8L37 283Z" fill="${p(`${l.hair}`)}"/>`,short18:(a,l)=>`<path d="M41.6 296.4c-5.7 42.1 30.8 58.1 63.3 60-7.7 18.8 9.6 62 47.2 69.8 37.7 7.7 66.2-26.5 75.8-44.5 2.5 16.2 19.2 51 65.5 60.1 46.4 9.1 59.8-61.6 62.1-85.5 29 21 69 49.2 115.5 25.4 26.5-13.6 14-58.3 0-71 16.1-9.8 46.7-37.5 40-69.7-6.5-32.2-52.3-38.3-74.4-37.3 15.3-13 40-45.6 16.6-71.5-23.5-26-59.9-10.9-75.1 0 4.8-16.9 1.8-50.2-45.9-63.2-27.7-7.5-68 19.9-71.9 36.1-10.8-17-41.6-44.5-74.7-32.5-33 12-38.6 45.4-33.3 66.2-13.1-4-47.4-6.6-68.2 23.7-21 30.3 6.1 65.3 20.8 78.5-17.6 2-58.7 21.8-63.3 55.4Z" fill="${p(`${l.hair}`)}"/>`,short17:(a,l)=>`<path d="M363 148H189a89 89 0 0 0-89 89v147a89 89 0 0 0 89 89h174a89 89 0 0 0 89-89V237a89 89 0 0 0-89-89Z" fill="${p(`${l.hair}`)}"/>`,short16:(a,l)=>`<path d="M131.5 150.4c-30.2 28.5-103.6 121.5 0 245.1 27.7 33 248.2 11.2 271 0C492.8 351 436 132.7 262.8 163c-80.6 14-93-48.6-131.3-12.5Z" fill="${p(`${l.hair}`)}"/>`,short15:(a,l)=>`<path d="M131 137c-35 8.5-14 205 3.3 255.6 41.2 51.3 261.2 38.3 281 5.7 13.3-21.7 46.4-257.1 3.2-264.5-87-14.9-252.6-5.4-287.6 3.1Z" fill="${p(`${l.hair}`)}"/>`,short14:(a,l)=>`<path d="M293 197h-35a138 138 0 0 0 0 276h35a138 138 0 0 0 0-276Z" fill="${p(`${l.hair}`)}"/>`,short13:(a,l)=>`<path d="M431 317.5v-8a155.5 155.5 0 0 0-311 0v8a155.5 155.5 0 0 0 311 0Z" fill="${p(`${l.hair}`)}"/>`,short12:(a,l)=>`<g fill="${p(`${l.hair}`)}"><path d="M431 317.5v-8a155.5 155.5 0 0 0-311 0v8a155.5 155.5 0 0 0 311 0Z"/><path d="M114.2 293.4c-15.2 52.4 6.4 90.2 19 102.5 40.5 90.5 233.5 67.5 293 0 47.6-54-19.8-207.2-59.5-277L332 161.4c-16.5-14.2-46.5-53.4-55-53.4-8.7 0-29.6 33.2-47.8 53.4-10.5-17.7-33-51-39.5-42.5-8 10.5-56.5 109-75.5 174.5Z"/></g>`,short11:(a,l)=>`<g fill="${p(`${l.hair}`)}"><path d="M431 317.5v-8a155.5 155.5 0 0 0-311 0v8a155.5 155.5 0 0 0 311 0Z"/><path d="M94.5 288.5c4.6 30.3 15.8 96.2 45.5 133 47.3 72.2 259.1 111.6 289.2-23.2C468 224.5 449.7 138 334 138c-96 0-140.2 19.5-156.5 51.5-38-28-91.5 43.5-83 99Z"/></g>`,short10:(a,l)=>`<g fill="${p(`${l.hair}`)}"><path d="M431 317.5v-8a155.5 155.5 0 0 0-311 0v8a155.5 155.5 0 0 0 311 0Z"/><path d="M130.5 297.5c20.8 4.8 31 13.3 33.5 17 3.8 22.7 9.2 63 0 43S86.8 326.2 54 323c16.8-10.5 55.7-30.3 76.5-25.5Z"/><path d="M154.4 230.3c11.4 18 12.7 31.3 12 35.6-13.3 18.9-37.7 51.4-30.3 30.7 7.5-20.7-33-76.5-54-101.8 19.3 4.3 60.8 17.5 72.3 35.5ZM210 170.8c-1.7 21.3-8.6 32.6-11.9 35.6-21.8 7.2-60.9 18.5-42.5 6.4 18.4-12 19.6-81 17.9-114 12.8 15.2 38.2 50.7 36.5 72ZM290.8 148.8c-13.7 16.4-26 21.6-30.3 22.2-22-6.8-60.4-20.2-38.4-19.4 22 .8 62.8-54.7 80.4-82.6 1.8 19.8 2 63.4-11.7 79.8Z"/><path d="M358 207c-35.2 8-57 2.6-63.5-1.1-22.6-31.7-60.5-89.1-31.8-65.5 28.8 23.7 140.6-9.2 193-28.7-18 28.5-62.5 87.3-97.7 95.3Z"/><path d="M414 266.5c-19.6-8.4-28.1-18.6-30-22.6.3-23 2.1-63.6 7.7-42.3 5.5 21.3 70.4 44.4 102.1 53.3-18.4 7.4-60.1 20-79.8 11.6Z"/><path d="M403.7 339.5c-11.2-18.1-12.4-31.4-11.5-35.7 13.3-18.8 38.1-51 30.4-30.4-7.7 20.6 32.3 76.8 53.2 102.3-19.3-4.5-60.8-18-72-36.2ZM139.7 357.1c6.4-20.3 15.8-29.8 19.6-32 23-2 63.6-4 42.9 3.5-20.7 7.6-37.5 74.4-43.3 106.9-9.1-17.7-25.7-58-19.2-78.4ZM109.3 302.2c18.2 11.1 31.5 12.1 35.9 11.2 18.5-13.5 50.5-38.7 30-30.8-20.6 8-77.2-31.4-102.9-52 4.7 19.2 18.8 60.5 37 71.6ZM136 218.8c5.2 20.7 14 30.7 17.6 33.2 22.8 3.3 63.2 7.9 43-1-20.1-8.7-32.8-76.4-36.7-109.2-10.1 17-29.1 56.3-24 77ZM202.2 150.5c-8.3 19.7-7.3 33-5.8 37.1 16.2 16.4 45.8 44.3 35 25.2-11-19.2 19.6-81 36.2-109.5-18.4 7.6-57.2 27.5-65.4 47.2ZM307.7 127.5c-18 11.3-25 22.7-26.1 27 3.7 22.6 11.7 62.5 13.9 40.6 2.2-21.9 62.8-54.6 92.9-68.3-19.4-4.5-62.5-10.6-80.7.7ZM394.3 179.7c-21.3-2-33.7 2.9-37.2 5.6-10.8 20.3-28.6 56.9-13.6 40.8 15-16 83.1-5.4 115.3 2-12.7-15.3-43.3-46.4-64.5-48.4Z"/><path d="M435.7 265.6c-16-14.1-28.8-17.4-33.3-17.3-20.6 10-56.6 29.1-35 25 21.7-4.2 70.4 44.5 92.1 69.4-1.2-19.8-7.7-63-23.8-77ZM418.8 359.6c-5-20.8-13.7-30.9-17.3-33.3-22.8-3.6-63.1-8.6-43 .4 20 9 32.1 76.9 35.6 109.7 10.4-17 29.7-56 24.7-76.8ZM155.6 354.6c12.6-17.2 14.6-30.4 14.1-34.8-12-19.6-34.4-53.5-28.2-32.4 6.2 21.1-37.6 74.3-60.3 98.3 19.6-3.1 62-13.8 74.4-31Z"/></g>`,short09:(a,l)=>`<path d="M280.6 154h-10.2C169.1 154 87 248 87 364v222.4h377V364C464 248 381.9 154 280.6 154Z" fill="${p(`${l.hair}`)}"/>`,short08:(a,l)=>`<path d="M431 346v-8c0-35.3-11.7-76.1-31.5-112-28.4-51.6-73.4-93-124-93-53.2 0-100.2 45.8-128.2 101A238.8 238.8 0 0 0 120 338v8a155.5 155.5 0 0 0 311 0Z" fill="${p(`${l.hair}`)}"/>`,short07:(a,l)=>`<path d="M476.4 267.7c-14.4-21.3 9.1-32.6 0-76.2-9.2-43.6-47-23.2-65.4-43.6-18.5-20.4-18.8-38.6-47.8-47-50.7-14.8-83 24.5-127.5 0s-95 12.8-103 47c-5.5 24-9.5 43.3-43.5 68.8-39.6 29.7-37.5 91.5-9.5 125.5s19.5 49 18.5 81 29.5 65 75 53.5 46.5 26.4 96.5 39.7c54 14.3 41-21.5 93.5-22.5s63.5-31 73-60.5 4-39 31-69 36-57.2 9.2-96.7Z" fill="${p(`${l.hair}`)}"/>`,short06:(a,l)=>`<g fill="${p(`${l.hair}`)}"><path d="M443.4 284.6c-12.6-18.5 8-28.4 0-66.3-8-38-40.8-20.2-57-38-16-17.8-16.3-33.5-41.5-40.9-44.2-12.9-72.2 21.3-111 0-38.7-21.3-82.7 11.1-89.6 41-4.8 20.8-8.3 37.6-38 59.8C72 266 73.9 319.8 98.2 349.4c24.4 29.6 17 42.7 16.1 70.5-.8 27.9 25.7 56.6 65.3 46.6 39.6-10 40.5 23 84 34.5 47 12.5 35.7-18.7 81.4-19.6 45.7-.8 55.3-27 63.6-52.6 8.2-25.7 3.4-34 27-60 23.4-26.2 31.2-49.8 7.9-84.2Z"/><path d="M94.6 244.4a48.3 48.3 0 0 1 46.2-9.5l148.5 181.3c1.5 2.6-3.6 18.3-20.2 39.5-30.6 39.1-47.5 28.8-51.8 37.8-3.5 7.3 10.7 19.6 18.2 25-5.7 1.9-21.3 2.5-37.8-10.7-16.4-13.2-18.5-43.4-17.6-56.8-2.5-.3-8.6 3.1-13.3 19-4.6 15.8-23.4 22.2-32.3 23.5 3.7-2.1 9.5-11.9 3-33.7-6.3-21 .6-35.4 7.2-45.8-1.2.3-4.8.6-17 8.5-17.1 11.2-39.9-8.4-49.1-19.5 7 .8 23.6-.7 32.8-13.5 9.1-12.7 9.4-19.4 8.4-21.2a40 40 0 0 0-36.6 9.9c-13.5 12.6-31.4-6-38.6-16.7 2.5 1.7 9.3 3.7 17-1.9 9.4-7-1.9-11.3 2-31 2.2-10.6 10.9-16.3 18.8-19-8.3-.1-20.2-4-33.3-17-20-19.9-11.5-37-4.7-43 .5 3.6 3.9 12.3 13 17.7 11.4 6.8 17-4.4 37.2-23Z"/><path d="M328.9 133.5a48.3 48.3 0 0 1 5.1 46.9L140 311.6c-2.7 1.2-17.9-5.3-37.4-23.7-36.2-34.1-24.4-50-33-55.2-6.9-4-20.5 8.9-26.5 15.9-1.4-6-.6-21.5 14-36.7 14.7-15.1 45-14.5 58.3-12.2.5-2.5-2.3-9-17.7-15-15.3-6.1-20-25.5-20.5-34.4 1.8 4 11 10.6 33.3 6.1a51.6 51.6 0 0 1 45 11.4c-.2-1.2-.2-5-7-17.7-9.5-18.1 12-39 24-47.2-1.5 7-1.5 23.6 10.4 34 11.9 10.2 18.5 11 20.4 10.2a40 40 0 0 0-6.5-37.3c-11.3-14.6 8.8-30.7 20.2-36.9-2 2.3-4.6 9 .3 17 6 10.2 11.4-.7 30.6 5 10.4 3.1 15.3 12.3 17.2 20.5 1-8.3 5.8-19.8 20-31.6 21.7-18.2 38-8 43.4-.8-3.7.2-12.7 2.7-19 11.3-7.7 10.8 3 17.4 19.5 39.2Z"/><path d="M452.9 363.5a48.3 48.3 0 0 1-47 5.5L273.7 175.6c-1.3-2.7 5.1-17.9 23.5-37.5 33.8-36.4 49.8-24.7 54.9-33.3 4-7-9-20.5-16-26.4 5.9-1.5 21.4-.7 36.7 13.8 15.2 14.6 14.8 44.8 12.6 58.2 2.5.4 9-2.4 15-17.8s25.2-20.2 34.1-20.7c-3.9 1.8-10.5 11-5.9 33.3a51.6 51.6 0 0 1-11 45c1.2-.2 4.8-.1 17.6-7 18-9.7 39 11.8 47.3 23.7-7-1.5-23.6-1.4-33.8 10.6-10.2 11.9-11 18.6-10.2 20.4a40 40 0 0 0 37.3-6.7c14.5-11.4 30.7 8.6 37 20-2.3-2-9-4.5-17 .3-10 6.2.8 11.5-4.8 30.7-3 10.4-12.2 15.3-20.3 17.3 8.3 1 19.8 5.7 31.7 19.8 18.3 21.6 8.3 38 1 43.4a27.1 27.1 0 0 0-11.4-18.9c-10.8-7.7-17.4 3-39 19.7Z"/><path d="M232.2 481.7a48.3 48.3 0 0 1-12.6-45.5l170.8-160.5c2.5-1.6 18.5 2.4 40.7 17.5 41.2 27.9 32 45.4 41.3 49.2 7.5 3 18.9-12 23.7-19.9 2.3 5.6 4 21.1-8 38.4-12.1 17.3-42.1 21.5-55.6 21.4-.1 2.5 3.7 8.4 19.8 12 16.1 3.6 23.9 22 25.7 30.6-2.4-3.5-12.5-8.6-33.8-.7a51.6 51.6 0 0 1-46.2-4c.4 1.1 1 4.8 9.7 16.4 12.3 16.3-5.7 40.3-16.2 50.3.4-7.1-2.3-23.5-15.6-31.8-13.4-8.3-20.1-8-21.8-7a40 40 0 0 0 12.4 35.9c13.4 12.6-3.8 31.7-14.1 39.6 1.5-2.6 3-9.5-3-16.7-7.6-9-11.2 2.5-31 0-10.8-1.5-17-9.7-20.3-17.5.4 8.3-2.6 20.4-14.6 34.4-18.6 21.3-36.2 14-42.8 7.6 3.7-.8 12.1-4.7 17-14.2 5.9-11.8-5.7-16.6-25.5-35.5Z"/></g>`,short05:(a,l)=>`<path d="M84 356.5c11.3 73.5 27.3 93.7 57 130.5 47.3 72.2 222.5 105.7 289.2-15.2C539 274.5 400.2 142 284.5 142c-96 0-109.6 36-126 68-57-12.5-83 91-74.5 146.5Z" fill="${p(`${l.hair}`)}"/>`,short04:(a,l)=>`<g fill="${p(`${l.hair}`)}"><path d="M83.6 337.2c11.2 73.5 27.2 93.7 57 130.5 47.2 72.2 222.4 105.8 289-15.2 109-197.3-24.8-183.3-140.6-183.3-96 0-132.1-32-148.4 0-38-28-65.5 12.5-57 68Z"/><path d="M99.9 245c-8.8 46.2-3.7 65.5 0 69.4 47 69.5 273.3 129.3 336.2 17.4 50.4-89.6-6.7-176.2-41.5-208.4 2 2.6 7.6 12.4 4.7 29.6a34.7 34.7 0 0 1-13.5 23.8c1.3-11.8 6.1-40.5-3-59.8-11.6-24.5-23.8-33.3-36.5-39.3 6 18.7 8.2 27.7 6.5 39.3-1.7 11.5-12.1 31.7-20.1 36 3.8-14.5 4.8-36-2.2-55.5-11.3-31.4-31.5-46.1-44.8-50.6 1 2.7 6 24.3 4.3 43-2.6 29.6-13.5 39.6-17.5 44.6 4-9.5 6-25 4-43-3.5-31.2-34.1-52.4-43.6-57.5 1.5 6.6 2.1 37-4 63.7C223 123.4 211 137 198 153c3.5-9.5 2-24-4-41-5.1-14.6-10.9-17.3-15.2-22 .2 7-2.2 27.5-13 52.7-13.5 31.5-18.5 56.6-18.5 43v-43A254.4 254.4 0 0 0 100 244.9Z"/></g>`,short03:(a,l)=>`<path d="m275.5 51 40.3 49 57.5-26.7 15 61.6 63.5 1-13.2 62 56.7 28.4-38.7 50.2 38.7 50.2-56.7 28.4 13.2 62-63.4 1-15 61.6-57.6-26.7-40.3 49-40.3-49-57.5 26.7-15-61.6-63.5-1 13.2-62-56.7-28.4 38.7-50.2-38.7-50.2 56.7-28.4-13.2-62 63.4-1 15-61.6 57.6 26.7 40.3-49Z" fill="${p(`${l.hair}`)}"/>`,short02:(a,l)=>`<path d="M73 341.5c-51 49 19.3 74.7 49 109 21 29.9 84.5 36.5 127 20 52 13.1 48.5 44.3 104.5 16.5 90 5 76.7-55.4 98.7-67.5 30.8-17 62.8-56 30.8-89 0-41-1.5-79.4-30.8-106.3-13-59.4-24-77.1-82.5-77.1-39-33.8-66.5-3.7-90.5-25-69.6-61.7-118.9 35.4-135.2 65.3-22.5-15.5-61.3 18.2-55.3 61-43 26.6 2.9 75.2-15.7 93.1Z" fill="${p(`${l.hair}`)}"/>`,short01:(a,l)=>`<g fill="${p(`${l.hair}`)}"><path d="M73 341.5c-51 49 15.7 94 55 94 0 35 78.5 51.5 121 35 14.5 26 48.5 44.3 104.5 16.5 90 5 76.7-55.4 98.7-67.5 30.8-17 62.8-56 30.8-89 0-41-1.5-79.4-30.8-106.3 11.8-40.2-18.7-80.7-77.2-80.7-39-33.8-62.2-10-93-19-92.5-27-119.2 19.2-135.5 49-22.5-15.4-73 20.1-67 63-43 26.6 12 87.1-6.5 105Z"/><path d="M149 129.5c20 9.2 28.2 35.3 30.5 46l-45.5 37c3.2-10.2.5-37.3-3.5-56.5-4-19.2-30.3-25.8-49.5-26.5a84.6 84.6 0 0 1 68 0ZM313 93c-20.6 8-30.4 33.6-33.4 44l43 39.9c-2.5-10.4 2-37.3 7.1-56.2 5.2-18.9 32-23.8 51.1-23.3a84.6 84.6 0 0 0-67.9-4.3ZM501.3 247.8c-16.5-14.6-43.7-11.5-54.4-9.4L431.3 295c8-7 34-15.5 53.1-19.6 19.2-4 35.9 17.4 44.2 34.7a84.6 84.6 0 0 0-27.3-62.3ZM49 321.7c16.4 14.6 43.6 11.5 54.3 9.4l15.6-56.6c-8 7-34 15.5-53.1 19.6-19.2 4-35.9-17.4-44.2-34.7A84.6 84.6 0 0 0 49 321.7ZM173 494.8c20.8-7 31.5-32.3 35-42.6l-41.6-41.5c2.1 10.5-3.3 37.2-9.2 56-6 18.6-32.8 22.5-52 21.3 12 6.5 38 17 67.7 6.8ZM456.4 440.4c-21.7-3.9-36.2-27.1-41.1-36.9l34.7-47.2c-.5 10.6 9 36.2 17.6 53.8 8.7 17.6 35.9 17.4 54.6 13.2a84.6 84.6 0 0 1-65.9 17.1Z"/></g>`},G={variant10:(a,l)=>`<ellipse cx="190" cy="198.5" rx="132" ry="152.5" fill="${p(`${l.skin}`)}"/><path d="M322 192.4c-2.6 81.6-60.7 146.8-132 146.8-71.2 0-129.3-65.2-132-146.8v5.9c0 84.2 59.1 152.6 132 152.6 73 0 132.1-68.4 132.1-152.6v-5.9Z" fill="#000" fill-opacity=".2"/>`,variant09:(a,l)=>`<path d="M190.5 37C120.6 37 64 102.1 64 182.5a170.3 170.3 0 0 0 0 3C64 265.8 120.6 361 190.5 361S317 265.8 317 185.5a182.4 182.4 0 0 0 0-3C317 102 260.4 37 190.5 37Z" fill="${p(`${l.skin}`)}"/><path d="M64 181.5v4C64 265.8 120.6 361 190.5 361S317 265.8 317 185.5v-4C315 261 259.2 353 190.5 353S65.9 261 64 181.5Z" fill="#000" fill-opacity=".2"/>`,variant08:(a,l)=>`<circle cx="189.5" cy="199.5" r="133.5" fill="${p(`${l.skin}`)}"/><path d="M323.3 192.3a133.8 133.8 0 0 1-267.1 0 133.7 133.7 0 1 0 267.1 0Z" fill="#000" fill-opacity=".2"/>`,variant07:(a,l)=>`<path d="M325 213v-1.6C325 139.8 264.6 55 190 55S55 139.8 55 211.4a128.6 128.6 0 0 0 0 3.2c0 71.5 60.4 129.5 135 129.5s135-58 135-129.5V213Z" fill="${p(`${l.skin}`)}"/><path d="M324.6 204.8c-5.1 67-63.4 119.8-134.6 119.8-71.2 0-129.5-52.8-134.6-119.8-.3 3.3-.4 6.6-.4 9.8 0 71.5 60.4 129.5 135 129.5s135-58 135-129.5c0-3.2-.1-6.5-.4-9.8Z" fill="#000" fill-opacity=".2"/>`,variant06:(a,l)=>`<path d="M191 39c103.2 3 112.2 97.8 114 138.3.5 12.7 3.3 23.8 6 34.9 3.3 13 6.5 26 6 41 .5 14.7-2.3 31.1-12 51.8-12.8 27-64.4 56-114 56-52.2 0-102.3-30.5-115.6-65.1A142.3 142.3 0 0 1 64 239.5c-.6-16.8 3-29.7 6.5-42.3 1.8-6.5 3.6-13 4.8-20 .7-4.1 1.3-9.3 2-15.3C82 119 91 39 191 39Z" fill="${p(`${l.skin}`)}"/><path d="M64.5 233c-1.6 16.1.3 35.5 10.9 62.9C88.7 330.5 138.8 361 191 361c49.6 0 101.2-29 114-56a105.2 105.2 0 0 0 11.3-60.2 118.6 118.6 0 0 1-11.5 38.6c-12.8 27-64.4 56-114 56-52.1 0-102.3-30.6-115.6-65.1A164.3 164.3 0 0 1 64.5 233Z" fill="#000" fill-opacity=".2"/>`,variant05:(a,l)=>`<path d="M69 111.3C69 95 82 82 98.3 82h185.4C300 82 313 95 313 111.3v241.4c0 16.2-13 29.3-29.3 29.3H98.3C82 382 69 369 69 352.7V111.3Z" fill="${p(`${l.skin}`)}"/><path d="M69 330.8v22c0 16.1 13 29.2 29.3 29.2h185.4c16.2 0 29.3-13 29.3-29.3v-22c0 16.2-13 29.3-29.3 29.3H98.3C82 360 69 347 69 330.8Z" fill="#000" fill-opacity=".2"/>`,variant04:(a,l)=>`<circle cx="190.2" cy="167.2" r="121.2" fill="${p(`${l.skin}`)}"/><path fill="${p(`${l.skin}`)}" d="M69 164.5h242.4v191.2H69z"/><path d="M69 336h242v20H69v-20Z" fill="#000" fill-opacity=".2"/>`,variant03:(a,l)=>`<path d="M309 148H71v124h.3v1.3c0 29.8 53.3 77.4 119 77.4 65.8 0 119.1-47.6 119.1-77.4 0-1.6-.1-3.1-.4-4.7V148Z" fill="${p(`${l.skin}`)}"/><path d="M71.2 253.6v.9-.9ZM71.2 254.5v18.8c0 29.8 53.4 77.4 119.1 77.4 65.8 0 119.1-47.6 119.1-77.4v-19.7.9c0 29.9-53.3 77.4-119 77.4-65.8 0-119.1-47.5-119.2-77.4Z" fill="#000" fill-opacity=".2"/><path d="M309 152.5c0 55.9-54.2 101.8-120 101.8-65.7 0-119-45.3-119-101.2C70 97.3 123.3 52 189 52c65.8 0 120 44.6 120 100.5Z" fill="${p(`${l.skin}`)}"/>`,variant02:(a,l)=>`<path d="M293.1 88.7C258 38.7 171.6 25.4 120.3 58 69 91 57.5 145.2 65 204.8c3.1 24.1 7 43 9 63.5 6.6 63.2 93 94.7 118.6 94.7 40.4 0 108.3-44.3 116.8-94.7 7.7-46 7-42.4 7.5-63.5.6-21 11.3-66.1-23.9-116.1Z" fill="${p(`${l.skin}`)}"/><path d="M76.2 279.7c22.6 47.6 92.6 71.3 115.6 71.3 39 0 102.8-38.9 118-85.2l-.5 2.8C301 319 233 363.5 192.6 363.5c-24 0-101.7-27.9-116.4-83.8Z" fill="#000" fill-opacity=".2"/>`,variant01:(a,l)=>`<path d="M310 123.1H72.8v167.3c0 31 53 80.6 118.6 80.6 65.5 0 118.6-49.5 118.6-80.6V123Z" fill="${p(`${l.skin}`)}"/><path d="M72.8 269.9v.8-.8ZM72.8 270.9v19.5c0 31 53 80.6 118.6 80.6 65.5 0 118.6-49.5 118.6-80.6v-20.5.9c0 31.1-53.1 80.6-118.6 80.6C126 351.4 72.9 302 72.8 271Z" fill="#000" fill-opacity=".2"/><ellipse cx="190.5" cy="129" rx="119.5" ry="105" fill="${p(`${l.skin}`)}"/>`},R={variant08:(a,l)=>`<path d="M70.9 16A40.4 40.4 0 0 0 31 47.3V109c24.3-3.3 67.7-24.5 74-45 6.2-20.6-1-48-34.1-48Z" fill="${p(`${l.skin}`)}"/><path d="M69.3 27.7c-19 0-27 15-28.6 22.5v44.1c17.5-2.3 48.5-17.5 53-32.2 4.5-14.7-.7-34.4-24.4-34.4Z" fill="#000" fill-opacity=".2"/><path d="M52.4 62.7c0-11.3-7.8-15-11.7-15.4v33.3a18.5 18.5 0 0 0 11.7-18Z" fill="${p(`${l.skin}`)}"/>`,variant07:(a,l)=>`<rect x="30" y="23" width="80" height="80" rx="21.3" fill="${p(`${l.skin}`)}"/><rect x="38.9" y="31.9" width="42.6" height="62.2" rx="12.4" fill="#000" fill-opacity=".2"/><rect x="30" y="46.1" width="17.8" height="35.5" rx="8.9" fill="${p(`${l.skin}`)}"/>`,variant06:(a,l)=>`<rect x="27" y="21" width="80" height="80" rx="21.3" fill="${p(`${l.skin}`)}"/><rect x="35.9" y="29.9" width="62.2" height="62.2" rx="12.4" fill="#000" fill-opacity=".2"/><rect x="28.8" y="44.1" width="17.8" height="35.5" rx="5.3" fill="${p(`${l.skin}`)}"/>`,variant05:(a,l)=>`<path d="M24 43.3C24 31.5 33.5 22 45.3 22h37.2c11.8 0 21.4 9.5 21.4 21.3v37.3c0 11.8-9.6 21.4-21.4 21.4H45.3A21.3 21.3 0 0 1 24 80.6V43.3Z" fill="${p(`${l.skin}`)}"/><path d="M32.9 62A31 31 0 1 1 95 62a31 31 0 1 1-62.1 0Z" fill="#000" fill-opacity=".2"/>`,variant04:(a,l)=>`<rect x="23" y="20" width="88" height="88.1" rx="44" fill="${p(`${l.skin}`)}"/><path d="M47.6 57.5c2.5-6 18-32 34.5-17.2 12.7 11.3-15 33.2-16.5 22.2C64 51.5 99 52 89 78.5 84.8 90 62 91 47.6 77" stroke="#000" stroke-opacity=".2" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>`,variant03:(a,l)=>`<rect x="22" y="19" width="88.1" height="88.1" rx="44.1" fill="${p(`${l.skin}`)}"/><path d="m79 38.5-39 29L83.5 87" stroke="#000" stroke-opacity=".2" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>`,variant02:(a,l)=>`<rect x="21" y="21" width="88.1" height="88.1" rx="44.1" fill="${p(`${l.skin}`)}"/><path d="M87 43 42.5 84.5" stroke="#000" stroke-opacity=".2" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>`,variant01:(a,l)=>`<rect x="20" y="22" width="88" height="88.1" rx="44" fill="${p(`${l.skin}`)}"/><rect x="29.8" y="31.8" width="68.4" height="68.5" rx="34.2" fill="#000" fill-opacity=".2"/><rect x="23.9" y="49.4" width="37.2" height="37.2" rx="18.6" fill="${p(`${l.skin}`)}"/>`},N={variant07:(a,l)=>`<path d="M52 8H11v96h41V8Z" fill="${p(`${l.hair}`)}"/>`,variant06:(a,l)=>`<path d="M26 0h-3A19 19 0 0 0 4 19v52a19 19 0 0 0 19 19h3a19 19 0 0 0 19-19V19A19 19 0 0 0 26 0Z" fill="${p(`${l.hair}`)}"/>`,variant05:(a,l)=>`<path d="M10 94V8h32l-3.7 76.9L10 94Z" fill="${p(`${l.hair}`)}"/>`,variant04:(a,l)=>`<path d="M11 103V7.5h40L11 103Z" fill="${p(`${l.hair}`)}"/>`,variant03:(a,l)=>`<path d="M43.1 45C43 31.8 41.5 1 25.6 0 8 0 8.6 33.7 7.8 45c-.9 10-3.5 17.3 0 36.4C9.8 92.6 17.5 94 25.6 94c7.6 0 15.6-.9 17.5-9.6 4-18 .3-26.2 0-39.4Z" fill="${p(`${l.hair}`)}"/>`,variant02:(a,l)=>`<path d="M18 31.8C17.3 12.2 15 2.3 32 0c19.6 3.6 14 22.6 12 31.8-2.2 9.3 9.5 19 7.4 39.4-2 20.4-25 30-36 12.8-14-22 3.5-32.6 2.7-52.2Z" fill="${p(`${l.hair}`)}"/>`,variant01:(a,l)=>`<path d="M32.5 87.5C8.1 87.5 2.5 32.5 5 4h27.5c-6.2 16-3.2 29.8-1.5 47 2 20 21.3 5.1 25.4-2.7.5 15.6-12 39.2-23.9 39.2Z" fill="${p(`${l.hair}`)}"/>`},I={variant12:(a,l)=>`<path d="M374 130c6.5 15.9 11.5 34.5 11.5 70-11 0-73.7 6-114.5-10s-46.9-28.5-60-48c-13 27-37 38-73.5 48s-83.3 7.5-99.5 10c0-23.1 2-46 10.9-67.4A176 176 0 0 1 211 24a175 175 0 0 1 124 51.5c16.4 16.4 30.2 33.1 39 54.5Z" fill="${p(`${l.hair}`)}"/>`,variant11:(a,l)=>`<path d="M374 133c6.5 15.9 11.5 34.5 11.5 70-11 0-38.5 11-92.5-18-54.8-29.5-68.9-59.5-82-79-13 27-37 51.3-72.5 73.5C103 201.7 54.2 200.5 38 203c0-23.1 2-46 10.9-67.4A176 176 0 0 1 211 27a175 175 0 0 1 124 51.5c16.4 16.4 30.2 33.1 39 54.5Z" fill="${p(`${l.hair}`)}"/>`,variant10:(a,l)=>`<g fill="${p(`${l.hair}`)}"><path d="M374 133c6.5 15.9 11.5 34.5 11.5 70-11 0-38.5 11-92.5-18-54.8-29.5-68.9-59.5-82-79-13 27-37 51.3-72.5 73.5C103 201.7 54.2 200.5 38 203c0-23.1 2-46 10.9-67.4A176 176 0 0 1 211 27a175 175 0 0 1 124 51.5c16.4 16.4 30.2 33.1 39 54.5Z"/><path d="M210 148c10.4-22.4 12-39.5 12-47.5-4.5-25-20.5-14-22-7.5s.5 17-1.5 43c-1.6 20.8-22.3 46-34 54a90.6 90.6 0 0 0 45.5-42Z"/></g>`,variant09:(a,l)=>`<g fill="${p(`${l.hair}`)}"><path d="M374 131c6.5 15.9 11.5 34.5 11.5 70-11 0-38.5 11-92.5-18-54.8-29.5-68.9-59.5-82-79-13 27-37 51.3-72.5 73.5C103 199.7 54.2 198.5 38 201c0-23.1 2-46 10.9-67.4A176 176 0 0 1 211 25a175 175 0 0 1 124 51.5c16.4 16.4 30.2 33.1 39 54.5Z"/><circle cx="149.5" cy="159.5" r="38.5"/><path d="M251 159.5a38.5 38.5 0 1 1-77 0c0-21.3 17.2-64 38.5-64s38.5 42.7 38.5 64Z"/><circle cx="274.5" cy="159.5" r="38.5"/></g>`,variant08:(a,l)=>`<path d="M143.3 136.7c-3.5-17 23.9-29.6 38.9-33.1 15-3.6 17.8-3.6 37.4-3.6 19.6 0 63.8 6.8 62.4 30.3-1.2 18.8-21.9 18.3-32.1 15.7 4.9 8 13.2 25.9 7.5 33.8-5.7 8-18.8 1.2-24.6-3.2-.5 5.5-5.2 18-20 24.3C198 207 194 185.7 194 174c-6.6 2.3-21.9 4.6-29.6-4.2-7.7-8.9 3.3-19.6 9.7-24-8.2 3.5-28 3.9-30.7-9.2Z" fill="${p(`${l.hair}`)}"/><path d="M374 131c6.5 15.9 11.5 34.5 11.5 70-11 0-38.5 11-92.5-18-54.8-29.5-68.9-59.5-82-79-13 27-37 51.3-72.5 73.5C103 199.7 54.2 198.5 38 201c0-23.1 2-46 10.9-67.4A176 176 0 0 1 211 25a175 175 0 0 1 124 51.5c16.4 16.4 30.2 33.1 39 54.5Z" fill="${p(`${l.hair}`)}"/>`,variant07:(a,l)=>`<g fill="${p(`${l.hair}`)}"><path d="m292.5 119.2-39-41.2h-95l-36 49.3L164 115l-5.5 73.7L192 165l16.5 36.9 22.5-36.9 33 21.6-10.5-67.5h39Z"/><path d="M374 130c6.5 15.9 11.5 34.5 11.5 70-11 0-38.5 11-92.5-18-54.8-29.5-68.9-59.5-82-79-13 27-37 51.3-72.5 73.5-35.5 22.2-83.8 22.5-100 25 0-23.1 1.5-47.5 10.4-68.9A176 176 0 0 1 211 24a175 175 0 0 1 124 51.5c16.4 16.4 30.2 33.1 39 54.5Z"/></g>`,variant06:(a,l)=>`<path d="M375 133c6.5 15.9 11.5 34.5 11.5 70-11 0-47.9-4.6-107.3-23-59.5-18.4-101.6-50-114.7-69.5.3 6 0 34-19.7 55A124.2 124.2 0 0 1 39 203c0-23.1 2-46 10.9-67.4A176 176 0 0 1 212 27a175 175 0 0 1 124 51.5c16.4 16.4 30.2 33.1 39 54.5Z" fill="${p(`${l.hair}`)}"/>`,variant05:(a,l)=>`<path d="M384.9 132.5a185.5 185.5 0 0 1 14.1 71H151.5l-24-47-24 47H28a185.5 185.5 0 0 1 356.9-71Z" fill="${p(`${l.hair}`)}"/>`,variant04:(a,l)=>`<g fill="${p(`${l.hair}`)}"><path d="M276 196.5a63.5 63.5 0 0 0-18.6-45c-5.9-5.8-12.9-61-20.6-64.2a63.5 63.5 0 0 0-48.6 0c-7.7 3.2-14.7 58.4-20.6 64.3a63.5 63.5 0 0 0-18.6 44.9h127Z"/><path d="M374 132c6.5 15.9 11.5 34.5 11.5 70-11 0-38.5 11-92.5-18-54.8-29.5-68.9-59.5-82-79-13 27-37 51.3-72.5 73.5C103 200.7 54.2 199.5 38 202c0-23.1 2-46 10.9-67.4A176 176 0 0 1 211 26a175 175 0 0 1 124 51.5c16.4 16.4 30.2 33.1 39 54.5Z"/></g>`,variant03:(a,l)=>`<g fill="${p(`${l.hair}`)}"><path d="M132 85.2c2.7-21 39-24.4 57.5-22.6 18.5 1.8 21.7 3 44 10.7 22.4 7.8 70.2 33 59.3 59.4-8.7 21.2-32.1 12.4-42.8 5.3 2.5 11 5 34.9-4.8 41.8-9.6 6.9-21.8-6-26.8-13.4-2.6 6-12.9 18.5-32.3 19.8-19.4 1.4-15.4-24.8-11-38-8.5-.1-26.8-3.5-32-16.7-5.4-13.2 11.3-21.2 20.3-23.5-10.7.7-33.4-6.7-31.3-22.8Z"/><path d="M375 131c6.5 15.9 11.5 34.5 11.5 70-11 0-38.5 11-92.5-18-54.8-29.5-68.9-59.5-82-79-13 27-37 51.3-72.5 73.5C104 199.7 55.2 198.5 39 201c0-23.1 2-46 10.9-67.4A176 176 0 0 1 212 25a175 175 0 0 1 124 51.5c16.4 16.4 30.2 33.1 39 54.5Z"/></g>`,variant02:(a,l)=>`<g fill="${p(`${l.hair}`)}"><path d="M374 131c6.5 15.9 11.5 34.5 11.5 70-11 0-38.5 11-92.5-18-54.8-29.5-68.9-59.5-82-79-13 27-37 51.3-72.5 73.5C103 199.7 54.2 198.5 38 201c0-23.1 2-46 10.9-67.4A176 176 0 0 1 211 25a175 175 0 0 1 124 51.5c16.4 16.4 30.2 33.1 39 54.5Z"/><path d="M302 77c-11.6-28.6-41.2-46.3-87-39.6-30.2 3.7-48.3 24.3-67.4 39.6-19.2 15.3-44.3 49.6-24.2 83.5 20.1 33.8 163.5 72.5 212.8 6.7 26.6-35.6-22.6-61.6-34.2-90.2Z"/></g>`,variant01:(a,l)=>`<path d="M399 203.5a185.5 185.5 0 0 0-371 0h371Z" fill="${p(`${l.hair}`)}"/>`},W=Object.defineProperty({__proto__:null,cheek:{variant06:(a,l)=>'<g fill="#F88888"><rect x="21" y="16" width="43.4" height="43.4" rx="21.7"/><rect x="194" y="16" width="43.4" height="43.4" rx="21.7"/></g>',variant05:(a,l)=>'<g fill="#FFC6C6"><rect x="21" y="16" width="43.4" height="43.4" rx="21.7"/><rect x="194" y="16" width="43.4" height="43.4" rx="21.7"/></g>',variant04:(a,l)=>'<g fill="#F88888"><rect x="11" y="16" width="56.3" height="43.4" rx="21.7"/><rect x="191" y="16" width="56.3" height="43.4" rx="21.7"/></g>',variant03:(a,l)=>'<g fill="#FFC6C6"><rect x="11" y="16" width="56.3" height="43.4" rx="21.7"/><rect x="191" y="16" width="56.3" height="43.4" rx="21.7"/></g>',variant02:(a,l)=>'<g fill="#000" fill-opacity=".4"><rect x="33" y="38.5" width="12.9" height="12.9" rx="6.4"/><rect x="57.1" y="24" width="12.9" height="14.5" rx="6.4"/><rect x="76.4" y="38.5" width="12.9" height="12.9" rx="6.4"/><rect x="166.4" y="38.5" width="12.9" height="12.9" rx="6.4"/><rect x="190.5" y="24" width="12.9" height="14.5" rx="6.4"/><rect x="209.8" y="38.5" width="12.9" height="12.9" rx="6.4"/></g>',variant01:(a,l)=>'<g fill="#000" fill-opacity=".2"><rect x="33" y="38.5" width="12.9" height="12.9" rx="6.4"/><rect x="57.1" y="24" width="12.9" height="14.5" rx="6.4"/><rect x="76.4" y="38.5" width="12.9" height="12.9" rx="6.4"/><rect x="166.4" y="38.5" width="12.9" height="12.9" rx="6.4"/><rect x="190.5" y="24" width="12.9" height="14.5" rx="6.4"/><rect x="209.8" y="38.5" width="12.9" height="12.9" rx="6.4"/></g>'},ear:R,eyes:{variant32:(a,l)=>'<g stroke="#000" stroke-linecap="round"><path d="M68 60.1c4.3-3.3 11-10 23.8-10.1a30 30 0 0 1 21.8 10.1" stroke-width="8.3"/><path d="M68 97.1c4.3-3.3 11-10 23.8-10.1a30 30 0 0 1 21.8 10.1" stroke-width="4.1"/><path d="M177 60.1c4.3-3.3 11-10 23.8-10.1a30 30 0 0 1 21.8 10.1" stroke-width="8.3"/><path d="M177 97.1c4.3-3.3 11-10 23.8-10.1a30 30 0 0 1 21.8 10.1" stroke-width="4.1"/></g>',variant31:(a,l)=>'<g stroke="#000" stroke-linecap="round"><path d="M222 49c-4.2 3.4-10.8 10.1-23.7 10.1a30 30 0 0 1-21.8-10" stroke-width="8.3"/><path d="M222 89c-4.2 3.4-10.8 10.1-23.7 10.1a30 30 0 0 1-21.8-10" stroke-width="4.1"/><path d="M110.6 49c-4.3 3.4-11 10.1-23.8 10.1A30 30 0 0 1 65 49" stroke-width="8.3"/><path d="M110.6 89c-4.3 3.4-11 10.1-23.8 10.1a30 30 0 0 1-21.8-10" stroke-width="4.1"/></g>',variant30:(a,l)=>'<g fill="#161616"><path d="M206.1 81.6a11.6 11.6 0 1 1-23.1 0 11.6 11.6 0 0 1 23.1 0Z"/><circle cx="93.6" cy="81.6" r="11.6"/></g>',variant29:(a,l)=>'<circle cx="196.2" cy="81.6" r="11.6" fill="#161616"/><circle cx="96.2" cy="81.6" r="11.6" fill="#161616"/><path d="M180 70c.9 2.5 4 7.8 9.2 9.2M80 70c.9 2.5 4 7.8 9.2 9.2" stroke="#000" stroke-width="4.6" stroke-linecap="round" stroke-linejoin="round"/>',variant28:(a,l)=>'<path d="M187 76a7 7 0 1 1 13.9 0v13.8a7 7 0 1 1-13.9 0V75.9ZM88 76a7 7 0 1 1 13.9 0v13.8a7 7 0 0 1-13.9 0V75.9Z" fill="#000"/>',variant27:(a,l)=>'<path d="M92.4 79.9a7 7 0 1 1 13.9 0v13.8a7 7 0 1 1-13.9 0V80ZM190.4 79.9a7 7 0 0 1 13.9 0v13.8a7 7 0 1 1-13.9 0V80Z" fill="#000"/><path d="M83.2 66c-.8 3 .4 10.2 11.5 13.9M181.2 66c-.8 3 .4 10.2 11.5 13.9" stroke="#000" stroke-width="4.6" stroke-linecap="round" stroke-linejoin="round"/>',variant26:(a,l)=>'<path d="M178.4 52.7c3.7-2.9 9.4-8.7 20.6-8.7a26 26 0 0 1 18.8 8.7M67.4 52.7C71 49.8 76.8 44 87.9 44a26 26 0 0 1 18.9 8.7" stroke="#000" stroke-width="3.7" stroke-linecap="round"/><circle cx="88.4" cy="90.8" r="28.4" fill="#fff"/><circle cx="198.7" cy="90.8" r="28.4" fill="#fff"/><circle cx="88.4" cy="90.8" r="15.3" fill="#000"/><circle cx="198.7" cy="90.8" r="15.3" fill="#000"/>',variant25:(a,l)=>'<path d="M75 75a23.9 23.9 0 1 0 40.7 22.7L75.2 75ZM211.1 75a23.9 23.9 0 1 1-40.7 22.7L211 75Z" fill="#fff"/><path d="M74.5 52.5c7.5 5 40 26 49 31.5M213 53c-7.5 5-40 26-49 31.5" stroke="#000" stroke-width="3.7" stroke-linecap="round"/><path d="M75 53c7.5 5 40 26 49 31.5M213.5 53.5c-7.5 5-40 26-49 31.5" stroke="#000" stroke-width="3.7" stroke-linecap="round"/>',variant24:(a,l)=>'<path d="M178.4 52.7c3.7-2.9 9.4-8.7 20.6-8.7a26 26 0 0 1 18.8 8.7M67.4 52.7C71 49.8 76.8 44 87.9 44a26 26 0 0 1 18.9 8.7" stroke="#000" stroke-width="3.7" stroke-linecap="round"/><circle cx="88.4" cy="90.8" r="28.4" fill="#fff"/><circle cx="198.7" cy="90.8" r="28.4" fill="#fff"/><circle cx="88.4" cy="90.8" r="15.3" fill="#757575"/><circle cx="198.7" cy="90.8" r="15.3" fill="#757575"/>',variant23:(a,l)=>'<path d="M51 66.6c6.9-2.2 17.4-6.6 38-6.6 17.6 0 32.3 4.9 35 6.6M164 66.6c6.9-2.2 17.4-6.6 38-6.6 17.6 0 32.3 4.9 35 6.6" stroke="#000" stroke-width="3.7" stroke-linecap="round"/><path d="M120.6 94.8s-24 11.6-35.4 11.6c-11.4 0-30.9-11.6-30.9-11.6s21.8-11.6 33.2-11.6c11.3 0 33.1 11.6 33.1 11.6ZM233.6 94.8s-24 11.6-35.4 11.6c-11.4 0-30.9-11.6-30.9-11.6s21.8-11.6 33.2-11.6c11.3 0 33.1 11.6 33.1 11.6Z" fill="#fff"/><circle cx="89.1" cy="94.8" r="11.6" fill="#000"/><circle cx="198.8" cy="94.8" r="11.6" fill="#000"/>',variant22:(a,l)=>'<path d="M78.2 51.4c3.1-2.5 8-7.4 17.3-7.4 8 0 14.6 5.4 15.8 7.4M179.2 51.4c3-2.5 7.9-7.4 17.2-7.4 8 0 14.7 5.4 15.9 7.4" stroke="#000" stroke-width="3.7" stroke-linecap="round"/><rect x="72" y="64.7" width="43.3" height="52.9" rx="14.4" fill="#fff"/><rect x="173" y="64.7" width="43.3" height="52.9" rx="14.4" fill="#fff"/><path d="M184 76.7a12 12 0 0 1 12.2-12l10 .1a12 12 0 0 1 11.8 12V106a12 12 0 0 1-12 12h-10a12 12 0 0 1-12-12V76.7ZM83 76.7a12 12 0 0 1 12.2-12l10 .1a12 12 0 0 1 11.8 12V106a12 12 0 0 1-12 12H95a12 12 0 0 1-12-12V76.7Z" fill="#757575"/><rect x="90.6" y="76.2" width="18.6" height="29" rx="9.3" fill="#000"/><rect x="191.6" y="76.2" width="18.6" height="29" rx="9.3" fill="#000"/>',variant21:(a,l)=>'<path d="M75 52.4c3.6-2.8 9-8.4 19.7-8.4 9 0 16.7 6.2 18 8.4M179.6 52.4c3.5-2.8 9-8.4 19.7-8.4 9 0 16.7 6.2 18 8.4" stroke="#000" stroke-width="4.2" stroke-linecap="round"/><rect x="72" y="60.4" width="49.4" height="60.4" rx="16.5" fill="#fff"/><rect x="173.6" y="60.4" width="49.4" height="60.4" rx="16.5" fill="#fff"/><rect x="81.4" y="68.8" width="30.2" height="46.7" rx="15.1" fill="#757575"/><rect x="182.9" y="68.8" width="30.2" height="46.7" rx="15.1" fill="#757575"/><rect x="88.5" y="78.4" width="16.5" height="26" rx="8.3" fill="#000"/><rect x="190" y="78.4" width="16.5" height="26" rx="8.3" fill="#000"/>',variant20:(a,l)=>'<path d="M76 52.4c3.6-2.8 9-8.4 19.8-8.4a25 25 0 0 1 18 8.4M180 52.4c3.6-2.8 9-8.4 19.8-8.4a25 25 0 0 1 18 8.4" stroke="#000" stroke-width="3.7" stroke-linecap="round"/><rect x="71" y="61.5" width="49.6" height="60.6" rx="14.4" fill="#fff"/><rect x="173" y="61.5" width="49.6" height="60.6" rx="14.4" fill="#fff"/><rect x="82" y="69.7" width="30.3" height="46.9" rx="9.6" fill="#000"/><rect x="181.3" y="69.7" width="30.3" height="46.9" rx="9.6" fill="#000"/>',variant19:(a,l)=>'<path d="M76 52.4c3.6-2.8 9-8.4 19.8-8.4a25 25 0 0 1 18 8.4M180 52.4c3.6-2.8 9-8.4 19.8-8.4a25 25 0 0 1 18 8.4" stroke="#000" stroke-width="3.7" stroke-linecap="round"/><rect x="71" y="61.5" width="49.6" height="60.6" rx="14.4" fill="#fff"/><rect x="173" y="61.5" width="49.6" height="60.6" rx="14.4" fill="#fff"/><rect x="82" y="69.7" width="30.3" height="46.9" rx="9.6" fill="#757575"/><rect x="181.3" y="69.7" width="30.3" height="46.9" rx="9.6" fill="#757575"/>',variant18:(a,l)=>'<path d="M120.9 100.5s-24.3 11.7-35.7 11.7c-11.5 0-31.2-11.7-31.2-11.7s22-11.7 33.5-11.7c11.4 0 33.4 11.7 33.4 11.7ZM235.3 100.5s-24.3 11.7-35.7 11.7c-11.5 0-31.2-11.7-31.2-11.7s22-11.7 33.5-11.7c11.4 0 33.4 11.7 33.4 11.7Z" fill="#fff"/><circle cx="89.1" cy="100.5" r="11.7" fill="#000"/><circle cx="200.2" cy="100.5" r="11.7" fill="#000"/><path fill="#403E3E" d="M49 52h76.9v20.1H49zM161.4 52h76.9v20.1h-76.9z"/>',variant17:(a,l)=>'<path d="M74 93.1h40.4v11H74zM74 60h40.4v11H74zM173.3 93.1h40.4v11h-40.4zM173.3 60h40.4v11h-40.4z" fill="#000"/>',variant16:(a,l)=>'<path d="M74 81.1h40.4v36.8H74zM74 48h40.4v11H74zM173.3 81.1h40.4v36.8h-40.4zM173.3 48h40.4v11h-40.4z" fill="#000"/>',variant15:(a,l)=>'<ellipse cx="92.3" cy="93.8" rx="19.7" ry="32.2" fill="#fff"/><ellipse cx="195.9" cy="93.8" rx="18.7" ry="32.2" fill="#fff"/><ellipse cx="96.5" cy="93.8" rx="15.6" ry="25.9" fill="#000"/><ellipse cx="191.8" cy="92.8" rx="14.5" ry="24.9" fill="#000"/><path d="M63 48.3c2-1.4 13-8.3 29-8.3s31 6.9 29 8.3c0 16-3 0-28.1 0-27 0-30 16-30 0ZM167 48.3c2-1.4 13-8.3 29-8.3s31 6.9 29 8.3c0 16-3 0-28.1 0-27 0-29.9 16-29.9 0Z" fill="#000"/>',variant14:(a,l)=>'<ellipse cx="93.3" cy="94.7" rx="20.8" ry="33.9" fill="#fff"/><ellipse cx="192.1" cy="94.7" rx="20.8" ry="33.9" fill="#fff"/><ellipse cx="93.3" cy="94.7" rx="16.4" ry="27.4" fill="#000"/><ellipse cx="192.1" cy="94.7" rx="16.4" ry="27.4" fill="#000"/><path d="M64 44.4A54 54 0 0 1 93.4 36c16.3 0 31.4 7 29.4 8.4 0 16.2-3 0-28.5 0-27.4 0-30.3 16.2-30.3 0ZM166 44.4a54 54 0 0 1 29.4-8.4c16.3 0 31.4 7 29.4 8.4 0 16.2-3 0-28.5 0-27.4 0-30.3 16.2-30.3 0Z" fill="#000"/>',variant13:(a,l)=>'<path d="M58.7 45.3A60 60 0 0 1 91.4 36c18 0 34.8 7.8 32.6 9.3 0 18-3.3 0-31.6 0-30.5 0-33.7 18-33.7 0ZM165.7 45.3a60 60 0 0 1 32.7-9.3c18 0 34.8 7.8 32.6 9.3 0 18-3.3 0-31.6 0-30.5 0-33.7 18-33.7 0Z" fill="#000"/><path d="M87.3 69.1a4.1 4.1 0 0 1 7.8 0l3.3 10a4.1 4.1 0 0 0 4 3h10.5c4 0 5.7 5 2.4 7.4l-8.5 6.2c-1.5 1-2 3-1.5 4.6l3.2 10c1.3 3.9-3 7-6.3 4.7l-8.6-6.2c-1.4-1-3.4-1-4.8 0l-8.6 6.2a4.1 4.1 0 0 1-6.3-4.6l3.2-10c.6-1.8 0-3.6-1.5-4.7l-8.5-6.2a4.1 4.1 0 0 1 2.4-7.5h10.6c1.8 0 3.4-1.1 4-2.8l3.2-10ZM194.8 69.1a4.1 4.1 0 0 1 8 0l3.2 10a4.1 4.1 0 0 0 4 3h10.5c4 0 5.7 5 2.4 7.4l-8.5 6.2c-1.5 1-2 3-1.5 4.6l3.2 10c1.3 3.9-3.1 7-6.3 4.7l-8.6-6.2c-1.4-1-3.4-1-4.9 0l-8.5 6.2a4.1 4.1 0 0 1-6.4-4.6l3.3-10c.6-1.8 0-3.6-1.5-4.7l-8.5-6.2A4.1 4.1 0 0 1 177 82h10.5c1.8 0 3.4-1.1 4-2.8l3.2-10Z" fill="#FFEBB7"/>',variant12:(a,l)=>'<g stroke="#000" stroke-linecap="round"><path d="M106 43c-3.6 2.9-9.3 8.7-20.3 8.7-9.4 0-17.3-6.4-18.7-8.7M184.9 43c3.7 2.9 9.3 8.7 20.4 8.7 9.4 0 17.3-6.4 18.7-8.7" stroke-width="7"/><path d="m73 74 35.5 15.5L73 110M220.5 74 185 89.5l35.5 20.5" stroke-width="4" stroke-linejoin="round"/></g>',variant11:(a,l)=>'<g stroke="#000" stroke-linecap="round"><path d="M184.9 51.7c3.7-3 9.3-8.7 20.4-8.7 9.4 0 17.3 6.4 18.7 8.7M106 51.7c-3.6-3-9.3-8.7-20.3-8.7-9.4 0-17.3 6.4-18.7 8.7" stroke-width="7"/><path d="m73 74 35.5 15.5L73 110M220.5 74 185 89.5l35.5 20.5" stroke-width="4" stroke-linejoin="round"/></g>',variant10:(a,l)=>'<path d="M55.3 43.2A59.1 59.1 0 0 1 87.4 34c17.8 0 34.4 7.7 32.2 9.2 0 17.8-3.3 0-31.2 0-30 0-33.1 17.8-33.1 0ZM169.3 43.2a59.1 59.1 0 0 1 32.1-9.2c17.8 0 34.4 7.7 32.2 9.2 0 17.8-3.3 0-31.2 0-30 0-33.1 17.8-33.1 0Z" fill="#000"/><path d="m87.2 56.6 8.1 25h26.3l-21.2 15.5 8 25-21.2-15.4L66 122l8.2-25-21.3-15.4H79l8.1-25ZM201 56.6l8.1 25h26.3l-21.3 15.5 8.2 25-21.3-15.4-21.3 15.4 8.1-25-21.2-15.4h26.3l8-25Z" fill="#FFEBB7"/>',variant09:(a,l)=>'<path d="M56 44.4A60.5 60.5 0 0 1 89 35c18.2 0 35.1 7.8 33 9.4 0 18.2-3.5 0-32 0-30.8 0-34 18.2-34 0ZM166.9 44.4a60.5 60.5 0 0 1 33-9.4c18.1 0 35 7.8 32.9 9.4 0 18.2-3.4 0-32 0-30.7 0-34 18.2-34 0Z" fill="#000"/><ellipse cx="88" cy="97.5" rx="29" ry="17.5" fill="#fff"/><path d="M81.2 114.5a18 18 0 0 0-1.9-33.7C67.5 83 59 89.7 59 97.5c0 8.2 9.5 15.2 22.2 17Z" fill="#000"/><ellipse cx="198" cy="97.5" rx="29" ry="17.5" fill="#fff"/><path d="M191.2 114.5a18 18 0 0 0-1.9-33.7C177.5 83 169 89.7 169 97.5c0 8.2 9.5 15.2 22.2 17Z" fill="#000"/>',variant08:(a,l)=>'<ellipse cx="29" cy="17.5" rx="29" ry="17.5" transform="matrix(-1 0 0 1 117 80)" fill="#fff"/><path d="M94.8 114.5a18 18 0 0 1 1.9-33.7C108.5 83 117 89.7 117 97.5c0 8.2-9.5 15.2-22.2 17Z" fill="#000"/><path d="M57 43.4A60.5 60.5 0 0 1 90 34c18.2 0 35.1 7.8 33 9.4 0 18.2-3.5 0-32 0-30.8 0-34 18.2-34 0ZM167.9 43.4a60.5 60.5 0 0 1 33-9.4c18.1 0 35 7.8 32.9 9.4 0 18.2-3.4 0-32 0-30.7 0-34 18.2-34 0Z" fill="#000"/><ellipse cx="29" cy="17.5" rx="29" ry="17.5" transform="matrix(-1 0 0 1 227 80)" fill="#fff"/><path d="M204.8 114.5a18 18 0 0 1 1.9-33.7C218.5 83 227 89.7 227 97.5c0 8.2-9.5 15.2-22.2 17Z" fill="#000"/>',variant07:(a,l)=>'<path d="M183.1 52.7c3.7-3 9.4-8.7 20.4-8.7 9.4 0 17.3 6.4 18.7 8.7M104.3 52.7C100.6 49.7 95 44 84 44c-9.4 0-17.2 6.4-18.7 8.7" stroke="#000" stroke-width="3.7" stroke-linecap="round"/><circle cx="87.2" cy="92" r="28.2" fill="#fff"/><circle cx="200.8" cy="92" r="28.2" fill="#fff"/><circle cx="87.2" cy="92" r="15.2" fill="#000"/><circle cx="200.8" cy="92" r="15.2" fill="#000"/><path d="M228.3 86.6h-56a28.2 28.2 0 0 1 56 0ZM115 86.6H59a28.2 28.2 0 0 1 56 0Z" fill="#CD9166"/>',variant06:(a,l)=>'<path d="M183.1 52.7c3.7-3 9.4-8.7 20.4-8.7 9.4 0 17.3 6.4 18.7 8.7M104.3 52.7C100.6 49.7 95 44 84 44c-9.3 0-17.2 6.4-18.7 8.7" stroke="#000" stroke-width="3.7" stroke-linecap="round"/><circle cx="87.2" cy="92" r="28.2" fill="#fff"/><circle cx="200.8" cy="92" r="28.2" fill="#fff"/><circle cx="87.2" cy="92" r="15.2" fill="#757575"/><circle cx="200.8" cy="92" r="15.2" fill="#757575"/><path d="M228.3 86.6h-56a28.2 28.2 0 0 1 56 0ZM115 86.6H59a28.2 28.2 0 0 1 56 0Z" fill="#CD9166"/>',variant05:(a,l)=>'<circle cx="199" cy="93.3" r="11.6" fill="#161616"/><circle cx="91" cy="93.3" r="11.6" fill="#161616"/><path d="M175 68.2c4.4-3 11-9.2 24.1-9.2 11.1 0 20.4 6.8 22.1 9.2M67 68.2c4.4-3 11-9.2 24.1-9.2 11.1 0 20.4 6.8 22.1 9.2" stroke="#000" stroke-width="9.2" stroke-linecap="round"/>',variant04:(a,l)=>'<circle cx="202.2" cy="92.6" r="11.6" fill="#161616"/><circle cx="89.2" cy="92.6" r="11.6" fill="#161616"/><path d="M177 68.2c4.4-3 11-9.2 24.1-9.2 11.1 0 20.4 6.8 22.1 9.2M64 68.2c4.4-3 11-9.2 24.1-9.2 11.1 0 20.4 6.8 22.1 9.2" stroke="#000" stroke-width="4.6" stroke-linecap="round"/><path d="M186 81c.9 2.5 4 7.8 9.2 9.2M73 81c.9 2.5 4 7.8 9.2 9.2" stroke="#000" stroke-width="4.6" stroke-linecap="round" stroke-linejoin="round"/>',variant03:(a,l)=>'<path d="M171.2 63.2c4.3-3 11-9.2 24.1-9.2 11.1 0 20.4 6.8 22.1 9.2M71 63.2c4.4-3 11-9.2 24.1-9.2 11.1 0 20.4 6.8 22.1 9.2" stroke="#000" stroke-width="9.2" stroke-linecap="round"/><path d="M187.7 89.4a7 7 0 0 1 13.9 0v14a7 7 0 1 1-13.9 0v-14ZM87.5 89.4a7 7 0 1 1 13.9 0v14a7 7 0 0 1-13.9 0v-14Z" fill="#000"/>',variant02:(a,l)=>'<path d="M71 65.2c4-3 10-9.2 21.7-9.2 10 0 18.4 6.8 19.9 9.2M171 65.2c4-3 10-9.2 21.7-9.2 10 0 18.4 6.8 19.9 9.2" stroke="#000" stroke-width="4.6" stroke-linecap="round"/><path d="M88.7 90a7 7 0 1 1 13.9 0v14a7 7 0 0 1-13.9 0V90ZM188.7 90a7 7 0 1 1 13.9 0v14a7 7 0 1 1-13.9 0V90Z" fill="#000"/><path d="M79.5 76.2c-.8 3.1.4 10.2 11.5 13.9M179.5 76.2c-.8 3.1.4 10.2 11.5 13.9" stroke="#000" stroke-width="4.6" stroke-linecap="round" stroke-linejoin="round"/>',variant01:(a,l)=>'<path d="M76 75.5a23.9 23.9 0 1 0 40.7 22.7L76.2 75.6ZM212.1 75.5a23.9 23.9 0 1 1-40.7 22.7L212 75.6Z" fill="#fff"/><path d="M74.5 52.5c7.5 5 40 26 49 31.5M213 53c-7.5 5-40 26-49 31.5" stroke="#000" stroke-width="3.7" stroke-linecap="round"/><path d="M86.1 81.2a12.8 12.8 0 1 0 20.6 11.5L86.1 81.2ZM202 81.2a12.8 12.8 0 1 1-20.5 11.5L202 81.2Z" fill="#000"/>'},face:G,frontHair:I,hair:q,mouth:{variant0708:(a,l)=>'<path fill-rule="evenodd" clip-rule="evenodd" d="M-1.7 8c1.5-.2 2.9.9 3 2.4.8 5.2 8.4 18.8 37.2 20.2a2.7 2.7 0 1 1-.2 5.4C7.9 34.5-3 19.7-4 11c-.2-1.4.9-2.8 2.3-3Z" fill="#000"/>',variant0707:(a,l)=>'<path fill-rule="evenodd" clip-rule="evenodd" d="M16.8 33.3a2.5 2.5 0 0 1 3.5-.7c4.1 2.7 18.5 5.6 37-14a2.5 2.5 0 0 1 3.7 3.5C41.4 42.8 24.4 41.3 17.5 36.9a2.5 2.5 0 0 1-.7-3.6Z" fill="#000"/>',variant0706:(a,l)=>'<path fill-rule="evenodd" clip-rule="evenodd" d="M20 47.5c0-1.4 1.2-2.6 2.6-2.6 3.2-.1 8-.7 12-2 2-.8 3.5-1.6 4.5-2.5 1-.8 1.4-1.7 1.4-2.6 0-.8-.4-1.7-1.4-2.5-1-1-2.6-1.8-4.6-2.4-3.9-1.4-8.7-2-12-2a2.5 2.5 0 0 1 .1-5.1c3.2 0 8-.6 12-2 2-.6 3.5-1.4 4.5-2.3 1-1 1.4-1.8 1.4-2.8 0-1-.4-1.8-1.4-2.7-1-.9-2.6-1.7-4.5-2.4a42 42 0 0 0-12-1.9 2.5 2.5 0 0 1 0-5c3.6 0 9 .6 13.6 2.1 2.3.8 4.6 1.9 6.3 3.5 1.8 1.5 3 3.7 3 6.4 0 2.8-1.2 5-3 6.5a17.4 17.4 0 0 1-5.4 3.2c2 .7 3.9 1.7 5.4 3 1.7 1.6 3 3.7 3 6.4 0 2.8-1.3 4.9-3 6.4-1.8 1.6-4 2.7-6.3 3.4-4.6 1.6-10 2.2-13.5 2.3-1.4 0-2.6-1-2.6-2.4Z" fill="#000"/>',variant0705:(a,l)=>'<path fill-rule="evenodd" clip-rule="evenodd" d="M-1.5 27.9-6 31.4a3.2 3.2 0 1 1-3.7-5.2l4-3.1 2.3-1.9c2.3-1.7 4.8-3.6 7.8-5.2a52 52 0 0 1 25.8-5.7 52.5 52.5 0 0 1 38.2 16.5 3.2 3.2 0 1 1-4.8 4 46.3 46.3 0 0 0-33.4-14c-11 0-17.7 2-22.8 4.8a48 48 0 0 0-6.9 4.6l-2 1.7Z" fill="#000"/>',variant0704:(a,l)=>'<path d="M-2.4 23.5a57 57 0 0 1 31-8.9c17 0 33 7.4 31 8.9 0 17-2-3.6-29-3.6-28.9 0-33 20.7-33 3.6Z" fill="#000"/>',variant0703:(a,l)=>'<path fill-rule="evenodd" clip-rule="evenodd" d="M-13.2 18c1.4 0 2.6 1 2.7 2.4.2 3 1.3 7.6 4.1 11.4a16 16 0 0 0 13.7 6.6c6.8 0 11-3 13.7-6.6 2.8-3.8 4-8.4 4.1-11.4a2.5 2.5 0 0 1 5.1 0c.1 3 1.2 7.6 3.9 11.4 2.6 3.6 7 6.6 14 6.6s11.3-3 14-6.6c2.7-3.8 3.7-8.3 3.8-11.3a2.5 2.5 0 0 1 5 .1c0 3.8-1.3 9.4-4.7 14.2A21.3 21.3 0 0 1 48 43.5a21.3 21.3 0 0 1-20.5-12.8c-.7 1.4-1.5 2.8-2.5 4a21.2 21.2 0 0 1-17.8 8.8c-8.5 0-14.2-3.9-17.8-8.7a27.7 27.7 0 0 1-5-14.1c-.2-1.4.9-2.6 2.3-2.7Z" fill="#000"/>',variant0702:(a,l)=>'<path fill-rule="evenodd" clip-rule="evenodd" d="M59.2 13 63.7 9a3.2 3.2 0 0 1 4 5l-4.1 3.5-2.3 2a49 49 0 0 1-33.7 11.8 51 51 0 0 1-38.3-17.8 3.2 3.2 0 0 1 5-4c4 5 16.3 15.4 33.3 15.4 11 0 17.7-2.3 22.7-5.2a48 48 0 0 0 9-6.9Z" fill="#000"/>',variant0701:(a,l)=>'<path d="M59.7 22.8a57 57 0 0 1-31 8.8c-17 0-33-7.3-31-8.8 0-17.1 3.2 0 30 0 29 0 32-17.1 32 0Z" fill="#000"/>',variant0405:(a,l)=>'<path d="M59.2 32c0 17.1-13.8 4.1-31 4.1-17 0-31 13-31-4a31 31 0 1 1 62 0Z" fill="#DE8383"/>',variant0605:(a,l)=>'<path d="M-24 21.8a17 17 0 0 1 17-17h65.7a17 17 0 0 1 0 34H-7a17 17 0 0 1-17-17Z" fill="#DE8383"/>',variant0604:(a,l)=>'<path d="M-22.5 25a17 17 0 0 1 17-16.9h65.6a17 17 0 0 1 0 34H-5.5a17 17 0 0 1-17-17Z" fill="#F9F9F9"/>',variant0603:(a,l)=>'<path d="M-24 22.9a17 17 0 0 1 17-17h65.7a17 17 0 0 1 0 34H-7a17 17 0 0 1-17-17Z" fill="#DE8383"/><path fill-rule="evenodd" clip-rule="evenodd" d="M73.9 14.7c-3 5.4-8.7 9-15.3 9H-6.2c-6.6 0-12.3-3.6-15.3-9 3-5.3 8.7-9 15.3-9h64.8c6.6 0 12.3 3.7 15.3 9Z" fill="#F9F9F9"/>',variant0602:(a,l)=>'<path d="M-24 27.7a17 17 0 0 1 17-17h65.7a17 17 0 0 1 0 34H-7a17 17 0 0 1-17-17Z" fill="#DE8383"/><path fill-rule="evenodd" clip-rule="evenodd" d="M75.6 26h-99.5A17 17 0 0 1-7 9.7h65.6a17 17 0 0 1 17 16.3Z" fill="#F9F9F9"/>',variant0601:(a,l)=>'<path d="M-24 25.4a17 17 0 0 1 17-17h65.7a17 17 0 1 1 0 34H-7a17 17 0 0 1-17-17Z" fill="#DE8383"/><path fill-rule="evenodd" clip-rule="evenodd" d="M71.8 35c-2.6 4.2-7.2 7-12.5 7H-8.4c-5.2 0-9.9-2.8-12.4-7 2.5-4.3 7.2-7.1 12.4-7.1h67.7c5.3 0 10 2.8 12.5 7Z" fill="#C06E6E"/><path fill-rule="evenodd" clip-rule="evenodd" d="M75.6 23.7h-99.5A17 17 0 0 1-7 7.4h65.6a17 17 0 0 1 17 16.3Z" fill="#F9F9F9"/>',variant0505:(a,l)=>'<path d="M82.7 33.4c0 16.9-24.2 4-54.2 4-30 0-54.2 12.9-54.2-4S-1.4 3 28.5 3c30 0 54.2 13.6 54.2 30.5Z" fill="#DE8383"/>',variant0504:(a,l)=>'<path d="M84 36.8c0 16.9-24.2 4-54.2 4-29.9 0-54.2 12.9-54.2-4 0-17 24.3-30.6 54.2-30.6 30 0 54.3 13.7 54.3 30.6Z" fill="#F9F9F9"/>',variant0503:(a,l)=>'<path d="M82 34.6c0 16.9-24.2 4-54.2 4-29.9 0-54.2 12.9-54.2-4C-26.4 17.6-2 4 27.8 4c30 0 54.3 13.7 54.3 30.6Z" fill="#DE8383"/><path fill-rule="evenodd" clip-rule="evenodd" d="M69.2 15.1c-9.8 3.2-24.8 5.3-41.7 5.3-16.5 0-31.2-2-41-5.1A71 71 0 0 1 28 3.5C44.7 3.5 59.6 8 69.2 15Z" fill="#F9F9F9"/>',variant0502:(a,l)=>'<path d="M81 37.1c0 17-24.2 4.1-54.2 4.1-29.9 0-54.2 12.8-54.2-4 0-17 24.3-30.6 54.2-30.6 30 0 54.3 13.7 54.3 30.5Z" fill="#DE8383"/><path fill-rule="evenodd" clip-rule="evenodd" d="M74.2 22.2h-94.7c9.3-9.3 27-15.6 47.3-15.6 20.4 0 38 6.3 47.4 15.6Z" fill="#F9F9F9"/>',variant0501:(a,l)=>'<path d="M81.8 35.3c0 17-24.3 4-54.2 4-30 0-54.3 13-54.3-4 0-16.9 24.3-30.5 54.3-30.5 30 0 54.2 13.6 54.2 30.5Z" fill="#DE8383"/><path fill-rule="evenodd" clip-rule="evenodd" d="M-23.6 42.4C-16.2 30.6 4 22 27.6 22c23.6 0 43.7 8.6 51.1 20.4-4.2 2.8-12.3 1.5-22.8-.2a178 178 0 0 0-28.3-2.8A178 178 0 0 0-.8 42.2c-10.5 1.7-18.6 3-22.8.2Z" fill="#C06E6E"/><path fill-rule="evenodd" clip-rule="evenodd" d="M74.7 20.3h-94.3c9.3-9.3 27-15.5 47.2-15.5 20.2 0 37.8 6.2 47.1 15.5Z" fill="#F9F9F9"/>',variant0404:(a,l)=>'<path d="M58.4 36.8c0 17.1-13.9 4.2-31 4.2s-31 13-31-4.2a31 31 0 1 1 62 0Z" fill="#F9F9F9"/>',variant0403:(a,l)=>'<path d="M58.4 34.6c0 17.2-13.9 4.2-31 4.2s-31 13-31-4.2a31 31 0 0 1 62 0Z" fill="#DE8383"/><path fill-rule="evenodd" clip-rule="evenodd" d="M51.5 14.8a49 49 0 0 1-24.3 5.6c-9.5 0-18-2-23.7-5.2a31 31 0 0 1 48-.4Z" fill="#F9F9F9"/>',variant0402:(a,l)=>'<path d="M58.4 39.3c0 17.1-13.9 4.2-31 4.2s-31 13-31-4.2a31 31 0 0 1 62 0Z" fill="#DE8383"/><path fill-rule="evenodd" clip-rule="evenodd" d="M52.7 22.6h-51A29.8 29.8 0 0 1 27.4 8C38 8 47.5 13.9 52.7 22.6Z" fill="#F9F9F9"/>',variant0401:(a,l)=>'<path d="M59.8 40.1c0 17.1-13.9 4.2-31 4.2s-31 13-31-4.2a31 31 0 0 1 62 0Z" fill="#DE8383"/><path fill-rule="evenodd" clip-rule="evenodd" d="M1.4 47.3a30.4 30.4 0 0 1 28.3-19.7c12.8 0 23.8 8.2 28.3 19.7-2.5 2.3-6.9 1-12.5-.6-4.6-1.3-10-2.8-15.8-2.8-5.8 0-11.3 1.5-15.9 2.8-5.6 1.6-10 3-12.4.6Z" fill="#C06E6E"/><path fill-rule="evenodd" clip-rule="evenodd" d="M54 22H4.5A29.5 29.5 0 0 1 29.3 8.2c10.2 0 19.2 5.5 24.6 13.8Z" fill="#F9F9F9"/>',variant0305:(a,l)=>'<path d="M59.7 18.5a31 31 0 1 1-62 0c0-17.2 4.1-15 31-15 24.8 0 31-2.2 31 15Z" fill="#DE8383"/>',variant0304:(a,l)=>'<path d="M60.9 25c0 17-14.8 30.6-33 30.6C9.5 55.6-5.3 42-5.3 25.1c0-16.9 4.4-14.9 33-14.9 26.5 0 33-2 33 14.9Z" fill="#F9F9F9"/>',variant0303:(a,l)=>'<path d="M60.7 22.9c0 16.9-14.8 30.5-33 30.5C9.2 53.4-5.6 39.8-5.6 23S-1 8 27.6 8c34 0 33-2 33 14.8Z" fill="#DE8383"/><path fill-rule="evenodd" clip-rule="evenodd" d="M55.1 8.7c-5 4.8-15.3 9-27.2 9A42 42 0 0 1 1 9.3C4 7.9 9.8 8 21.5 8a2115 2115 0 0 0 14.8 0c9.4 0 15.3 0 18.8.7Z" fill="#F9F9F9"/>',variant0302:(a,l)=>'<path d="M59 18.4A31 31 0 0 1 27.6 49 31 31 0 0 1-4 18.4c0-17 4.2-14.9 31.5-14.9 25 0 31.4-2 31.4 14.9Z" fill="#DE8383"/><path fill-rule="evenodd" clip-rule="evenodd" d="M58.8 19.7H-3.7v-1.2C-3.8 2.6-.5 2.7 19.5 2.8a829.2 829.2 0 0 0 15.2 0c19-.1 24-.2 24 15.7v1.2Z" fill="#F9F9F9"/>',variant0301:(a,l)=>'<path d="M59 19.1a31 31 0 0 1-31.5 30.6A31 31 0 0 1-3.9 19.1c0-17 4.2-14.9 31.4-14.9 25.2 0 31.5-2 31.5 15Z" fill="#DE8383"/><path fill-rule="evenodd" clip-rule="evenodd" d="M58.8 17.7H-4c.2-14.1 4.1-14 23.5-14l8 .1h7.2c18.4-.2 23.7-.2 24 14Z" fill="#F9F9F9"/><path fill-rule="evenodd" clip-rule="evenodd" d="M53.8 35.7A31.7 31.7 0 0 1 27.7 49c-11 0-20.8-5.5-26.4-13.8a42.7 42.7 0 0 1 26-7.6 42 42 0 0 1 26.5 8Z" fill="#C06E6E"/>',variant0205:(a,l)=>'<path d="M59.7 22.3a31 31 0 0 1-62 0c0-17 13.9-4 31-4 17 0 31-13 31 4Z" fill="#DE8383"/>',variant0204:(a,l)=>'<path d="M59 15.6a31 31 0 1 1-62 0c0-17.1 13.8-4.1 31-4.1 17 0 31-13 31 4Z" fill="#F9F9F9"/>',variant0203:(a,l)=>'<path d="M59 15a31 31 0 0 1-62 0C-3-2 10.8 11 28 11c17 0 31-13 31 4.1Z" fill="#DE8383"/><path fill-rule="evenodd" clip-rule="evenodd" d="M56.3 7A31 31 0 0 1-.3 7c2.5-1.7 6.8-.5 12.1 1 4.7 1.3 10.3 2.9 16.2 2.9 6 0 11.5-1.6 16.2-3 5.3-1.4 9.5-2.6 12-1Z" fill="#F9F9F9"/>',variant0202:(a,l)=>'<path d="M59 19.4a31 31 0 1 1-62 0c0-17.2 13.8-4.2 31-4.2 17 0 31-13 31 4.2Z" fill="#DE8383"/><path fill-rule="evenodd" clip-rule="evenodd" d="M57.5 28.6H-1.7c-.9-3-1.3-6-1.3-9.2 0-11.2 5.9-9.6 14.8-7a59.5 59.5 0 0 0 16.1 2.8c6 0 11.5-1.5 16.2-2.9 9-2.5 14.8-4.1 14.8 7a31 31 0 0 1-1.4 9.3Z" fill="#F9F9F9"/>',variant0201:(a,l)=>'<path d="M58.2 16.4a30.6 30.6 0 0 1-61.2 0c0-17 13.7-4.1 30.6-4.1 17 0 30.6-12.8 30.6 4Z" fill="#DE8383"/><path fill-rule="evenodd" clip-rule="evenodd" d="M56.8 25.4H-1.7c-1-3-2.2-6-2.2-9.3 0-11.1 6-9.5 15-7A61.6 61.6 0 0 0 27.6 12c6 0 11.6-1.6 16.4-2.9 9-2.5 14.3-3.4 14.3 7.7 0 3.2-.5 5.6-1.5 8.6Z" fill="#F9F9F9"/><path fill-rule="evenodd" clip-rule="evenodd" d="M50.4 36a29 29 0 0 1-23 11.5 29 29 0 0 1-22.6-11c4.1-5 12.9-8.4 23-8.4 9.8 0 18.3 3.2 22.6 8Z" fill="#C06E6E"/>',variant0105:(a,l)=>'<path d="M59.5 28.2a31 31 0 1 1-62 0 31 31 0 0 1 62 0Z" fill="#DE8383"/>',variant0104:(a,l)=>'<path d="M59.5 27.6a31 31 0 1 1-62 0 31 31 0 0 1 62 0Z" fill="#F9F9F9"/>',variant0103:(a,l)=>'<path d="M59.5 28.4a31 31 0 1 1-62 0 31 31 0 0 1 62 0Z" fill="#DE8383"/><path d="M55.4 13H1.6C5.2 6.1 14.2-3 29-3c14.8 0 23.4 9.6 26.4 16Z" fill="#F9F9F9"/>',variant0102:(a,l)=>'<g fill="#DE8383"><path d="M59.8 28.1a31 31 0 1 1-62 0 31 31 0 0 1 62 0Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M57 19.5H.7A31.1 31.1 0 0 1 29 1.3c12.5 0 23.2 7.5 28 18.2Z"/></g><path fill-rule="evenodd" clip-rule="evenodd" d="M57 15.1H.7A31.1 31.1 0 0 1 29-3c12.5 0 23.2 7.5 28 18.2Z" fill="#F9F9F9"/>',variant0101:(a,l)=>'<path d="M59.8 28.9a31 31 0 1 1-62 0 31 31 0 0 1 62 0Z" fill="#DE8383"/><path fill-rule="evenodd" clip-rule="evenodd" d="M5.6 49.5a31 31 0 0 1 47.9-2 31 31 0 0 1-47.9 2Z" fill="#C06E6E"/><path fill-rule="evenodd" clip-rule="evenodd" d="M57.4 16.4H.4a31 31 0 0 1 57 0Z" fill="#F9F9F9"/>'},nose:{variant12:(a,l)=>'<path d="M22.6 34.4a17 17 0 1 0 32.6 0 16.9 16.9 0 0 1-32.6 0Z" fill="#000" fill-opacity=".2"/>',variant11:(a,l)=>'<path d="M5.6 34.4a17 17 0 0 0 16.3 21.4h33.7A16.9 16.9 0 0 0 72 34.4C70 41.6 63.4 47 55.6 47H22c-7.8 0-14.4-5.3-16.3-12.5Z" fill="#000" fill-opacity=".2"/>',variant10:(a,l)=>'<path d="M18.6 38.3A10 10 0 0 0 29 45a10 10 0 0 0 19.4 0h.9a10 10 0 0 0 9.5-6.7 10 10 0 0 1-10.4 13.4 10 10 0 0 1-19.4 0H28a10 10 0 0 1-9.5-13.4Z" fill="#000" fill-opacity=".2"/>',variant09:(a,l)=>'<path d="M16.6 46.2A11.3 11.3 0 0 0 28.3 61 11.3 11.3 0 0 0 50 61h1a11.3 11.3 0 0 0 10.7-15A11.3 11.3 0 0 1 50 53.9a11.3 11.3 0 0 1-21.8 0h-1c-5 0-9.2-3.1-10.7-7.6Z" fill="#000" fill-opacity=".2"/>',variant08:(a,l)=>'<g fill="#000" fill-opacity=".2"><rect x="25.9" y="51.5" width="11.7" height="8.9" rx="4.4" transform="rotate(-90 25.9 51.5)"/><rect x="43.7" y="51.5" width="11.7" height="8.9" rx="4.4" transform="rotate(-90 43.7 51.5)"/><path d="M61.2 41.4c.2-.8.2-1.7.2-2.5C61.4 29.6 54 22 44.5 22H34a16.9 16.9 0 0 0-16.7 19.4A16.9 16.9 0 0 1 33.9 27h10.6C53 27 60 33.2 61.2 41.4Z"/></g>',variant07:(a,l)=>'<path d="M17.2 34.5a17 17 0 0 0-.2 2.4v3.3C17 49.5 24.6 57 33.9 57H44C53.4 57 61 49.5 61 40V37c0-.8 0-1.6-.2-2.4a16.9 16.9 0 0 1-16.7 14.4H34c-8.5 0-15.6-6.2-16.7-14.4Z" fill="#000" fill-opacity=".2"/>',variant06:(a,l)=>'<path d="M37 14v27c-3.7.7-11 4-11 10.5 0 8.2 7.3 10.5 11 11.7" stroke="#000" stroke-opacity=".5" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>',variant05:(a,l)=>'<path d="M39 28c-3.7.8-11 4-11 10.5 0 8.2 7.3 10.6 11 11.7" stroke="#000" stroke-opacity=".5" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>',variant04:(a,l)=>'<path d="M37.8 22c-7.1 9.5-20.2 29-16 31 4.3 2 18.6 2.5 25.3 2.5" stroke="#000" stroke-opacity=".5" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>',variant03:(a,l)=>'<path d="M33.4 22c-7.1 9.5-12 31.5-7.8 33.5 4.2 2.1 10.4 0 17 0" stroke="#000" stroke-opacity=".5" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>',variant02:(a,l)=>'<path d="M42.4 22c-.7 5.4-3 16.3-7.1 17-5 1-11-8-13.1-2-2 6 12 21.2 22.2 18.2" stroke="#000" stroke-opacity=".5" stroke-width="3.7" stroke-linecap="round" stroke-linejoin="round"/>',variant01:(a,l)=>'<path d="m24.6 39.3-.2 2.6a14.7 14.7 0 1 0 29-.4l-.1-2a14.7 14.7 0 0 1-28.7-.2Z" fill="#000" fill-opacity=".2"/>'},sideburn:N},Symbol.toStringTag,{value:"Module"});function X({prng:a,group:l,values:c=[]}){const i=W,t=a.pick(c);return t&&i[l][t]?{name:t,value:i[l][t]}:void 0}function Y(a){return"transparent"===a?a:`#${a}`}const J=Object.defineProperty({__proto__:null,create:({prng:a,options:l})=>{var c,i,t,e,r,h,d,n,o,f,p,s,v,Z,M,u,m,g,y,$,A,b;const k=function({prng:a,options:l}){const c=X({prng:a,group:"hair",values:l.hair}),i=X({prng:a,group:"face",values:l.face}),t=X({prng:a,group:"mouth",values:l.mouth}),e=X({prng:a,group:"ear",values:l.ear}),r=X({prng:a,group:"eyes",values:l.eyes}),h=X({prng:a,group:"cheek",values:l.cheek}),d=X({prng:a,group:"nose",values:l.nose}),n=X({prng:a,group:"sideburn",values:l.sideburn}),o=X({prng:a,group:"frontHair",values:l.frontHair});return{hair:c,face:i,mouth:t,ear:e,eyes:r,cheek:a.bool(l.cheekProbability)?h:void 0,nose:d,sideburn:n,frontHair:o}}({prng:a,options:l}),C=function({prng:a,options:l}){var c,i;return{hair:Y(a.pick(null!==(c=l.hairColor)&&void 0!==c?c:[],"transparent")),skin:Y(a.pick(null!==(i=l.skinColor)&&void 0!==i?i:[],"transparent"))}}({prng:a,options:l});return{attributes:{viewBox:"0 0 440 440",fill:"none","shape-rendering":"auto"},body:`<g transform="matrix(.71048 0 0 .71048 24 2)">${null!==(i=null===(c=k.hair)||void 0===c?void 0:c.value(k,C))&&void 0!==i?i:""}</g><g transform="translate(81.7 150.7) scale(.71856)">${null!==(e=null===(t=k.face)||void 0===t?void 0:t.value(k,C))&&void 0!==e?e:""}</g><g transform="translate(199.5 333.4) scale(.71856)">${null!==(h=null===(r=k.mouth)||void 0===r?void 0:r.value(k,C))&&void 0!==h?h:""}</g><g transform="translate(280.7 235.4) scale(.71856)">${null!==(n=null===(d=k.ear)||void 0===d?void 0:d.value(k,C))&&void 0!==n?n:""}</g><g transform="matrix(-.71856 0 0 .71856 161.5 235.4)">${null!==(f=null===(o=k.ear)||void 0===o?void 0:o.value(k,C))&&void 0!==f?f:""}</g><g transform="translate(114.8 215.5) scale(.71856)">${null!==(s=null===(p=k.eyes)||void 0===p?void 0:p.value(k,C))&&void 0!==s?s:""}</g><g transform="translate(127.7 288.7) scale(.71856)">${null!==(Z=null===(v=k.cheek)||void 0===v?void 0:v.value(k,C))&&void 0!==Z?Z:""}</g><g transform="translate(193 279.4) scale(.71856)">${null!==(u=null===(M=k.nose)||void 0===M?void 0:M.value(k,C))&&void 0!==u?u:""}</g><g transform="matrix(.52237 0 0 .52237 122.9 244.8)">${null!==(g=null===(m=k.sideburn)||void 0===m?void 0:m.value(k,C))&&void 0!==g?g:""}</g><g transform="matrix(-.52237 0 0 .52237 315.7 244.8)">${null!==($=null===(y=k.sideburn)||void 0===y?void 0:y.value(k,C))&&void 0!==$?$:""}</g><g transform="matrix(.52237 0 0 .52237 108.7 145.6)">${null!==(b=null===(A=k.frontHair)||void 0===A?void 0:A.value(k,C))&&void 0!==b?b:""}</g>`,extra:()=>({...Object.entries(k).reduce(((a,[l,c])=>(a[l]=null==c?void 0:c.name,a)),{}),...Object.entries(C).reduce(((a,[l,c])=>(a[`${l}Color`]=c,a)),{})})}},meta:{title:"Face Generator",creator:"The Visual Team",source:"https://www.figma.com/community/file/986078800058673824",homepage:"https://thevisual.team/",license:{name:"CC BY 4.0",url:"https://creativecommons.org/licenses/by/4.0/"}},schema:{$schema:"http://json-schema.org/draft-07/schema#",properties:{cheek:{type:"array",items:{type:"string",enum:["variant06","variant05","variant04","variant03","variant02","variant01"]},default:["variant06","variant05","variant04","variant03","variant02","variant01"]},cheekProbability:{type:"integer",minimum:0,maximum:100,default:50},ear:{type:"array",items:{type:"string",enum:["variant08","variant07","variant06","variant05","variant04","variant03","variant02","variant01"]},default:["variant08","variant07","variant06","variant05","variant04","variant03","variant02","variant01"]},eyes:{type:"array",items:{type:"string",enum:["variant32","variant31","variant30","variant29","variant28","variant27","variant26","variant25","variant24","variant23","variant22","variant21","variant20","variant19","variant18","variant17","variant16","variant15","variant14","variant13","variant12","variant11","variant10","variant09","variant08","variant07","variant06","variant05","variant04","variant03","variant02","variant01"]},default:["variant32","variant31","variant30","variant29","variant28","variant27","variant26","variant25","variant24","variant23","variant22","variant21","variant20","variant19","variant18","variant17","variant16","variant15","variant14","variant13","variant12","variant11","variant10","variant09","variant08","variant07","variant06","variant05","variant04","variant03","variant02","variant01"]},face:{type:"array",items:{type:"string",enum:["variant10","variant09","variant08","variant07","variant06","variant05","variant04","variant03","variant02","variant01"]},default:["variant10","variant09","variant08","variant07","variant06","variant05","variant04","variant03","variant02","variant01"]},frontHair:{type:"array",items:{type:"string",enum:["variant12","variant11","variant10","variant09","variant08","variant07","variant06","variant05","variant04","variant03","variant02","variant01"]},default:["variant12","variant11","variant10","variant09","variant08","variant07","variant06","variant05","variant04","variant03","variant02","variant01"]},hair:{type:"array",items:{type:"string",enum:["long20","long19","long18","long17","long16","long15","long14","long13","long12","long11","long10","long09","long08","long07","long06","long05","long04","long03","long02","long01","short20","short19","short18","short17","short16","short15","short14","short13","short12","short11","short10","short09","short08","short07","short06","short05","short04","short03","short02","short01"]},default:["long20","long19","long18","long17","long16","long15","long14","long13","long12","long11","long10","long09","long08","long07","long06","long05","long04","long03","long02","long01","short20","short19","short18","short17","short16","short15","short14","short13","short12","short11","short10","short09","short08","short07","short06","short05","short04","short03","short02","short01"]},hairColor:{type:"array",items:{type:"string",pattern:"^(transparent|[a-fA-F0-9]{6})$"},default:["2c1b18","e8e1e1","ecdcbf","d6b370","f59797","b58143","a55728","724133","4a312c","c93305"]},mouth:{type:"array",items:{type:"string",enum:["variant0708","variant0707","variant0706","variant0705","variant0704","variant0703","variant0702","variant0701","variant0405","variant0605","variant0604","variant0603","variant0602","variant0601","variant0505","variant0504","variant0503","variant0502","variant0501","variant0404","variant0403","variant0402","variant0401","variant0305","variant0304","variant0303","variant0302","variant0301","variant0205","variant0204","variant0203","variant0202","variant0201","variant0105","variant0104","variant0103","variant0102","variant0101"]},default:["variant0708","variant0707","variant0706","variant0705","variant0704","variant0703","variant0702","variant0701","variant0405","variant0605","variant0604","variant0603","variant0602","variant0601","variant0505","variant0504","variant0503","variant0502","variant0501","variant0404","variant0403","variant0402","variant0401","variant0305","variant0304","variant0303","variant0302","variant0301","variant0205","variant0204","variant0203","variant0202","variant0201","variant0105","variant0104","variant0103","variant0102","variant0101"]},nose:{type:"array",items:{type:"string",enum:["variant12","variant11","variant10","variant09","variant08","variant07","variant06","variant05","variant04","variant03","variant02","variant01"]},default:["variant12","variant11","variant10","variant09","variant08","variant07","variant06","variant05","variant04","variant03","variant02","variant01"]},sideburn:{type:"array",items:{type:"string",enum:["variant07","variant06","variant05","variant04","variant03","variant02","variant01"]},default:["variant07","variant06","variant05","variant04","variant03","variant02","variant01"]},skinColor:{type:"array",items:{type:"string",pattern:"^(transparent|[a-fA-F0-9]{6})$"},default:["f8b788","da9969","c07f50","a66637","89532c"]}}}},Symbol.toStringTag,{value:"Module"}),K={base:(a,l)=>`<path d="M264 38.6s131.4 20.6 121.4 208.1c0 .7 15.2 10.9 16.4 12a77.1 77.1 0 0 1 23.4 36.3c13.9 51.3-35.7 104.2-75.8 118.2a155 155 0 0 1-46.7 8.3c-103.1 3-239.7-62.7-246.7-191a202.7 202.7 0 0 1 15.1-83.9c0 .1 57.4-142.5 192.9-108Z" fill="${p(`${l.skin}`)}"/><path d="M388.7 248.7a57 57 0 0 0-3.2 10.5 40 40 0 0 0 8.5 30.4 42.3 42.3 0 0 0 33 15.7c-3.2-31.7-29-50.7-38.3-56.6ZM203.5 332c24.4-5.2 39.6-31 33.9-57.5-5.7-26.5-30.2-43.7-54.6-38.5-24.4 5.3-39.5 31-33.8 57.6 5.7 26.5 30.1 43.7 54.5 38.5Z" fill="#DC2400" style="mix-blend-mode:multiply" opacity=".1"/><path opacity=".1" d="M323 257.9s20.9-19.9 37-1.2Z" fill="#000"/><path d="M128.7 356.9C59.3 391.7-3.7 304.4 16.5 255.3c12.9-31.4 50.4-33.8 72.1-5.2a185 185 0 0 1 29.1 59.1" fill="${p(`${l.skin}`)}"/><path opacity=".1" d="M71.5 279c9 9 16.1 22.5 25 30-1.7-12.5-4.3-26-10.4-37.3-6.2-11.6-17.5-21-29-20.3-14.2 1-25.9 17.6-27.4 32.6 1-9 19-15 25.9-14.2 10.8 20.4 15 60.6 15 60.6 9-22.7 5.4-40.7 1-51.5Z" fill="#000"/>`},Q={shortHair:(a,l)=>`<path d="M412.7 124.7c20.2-6 26.5 20 27.4 37.2v3.3c.3 20.2-6.6 42.2-24.4 51.4a77.6 77.6 0 0 1-8-8.4c-7.5-7-15.5-13.2-24-18.6a142.1 142.1 0 0 0-86.2-22.6c-36.2 2.3-75.8 11.9-103 36.8-26.9 24.5-43.4 66.5-42.5 106.7l.2 4.8c.6 9.9 1.7 28.9-2.2 31.7l-.6.3-2.4 1.8c-3 2.3-6.6-3.8-11.3-12.1-5.6-10-13-23-23.7-28.5A41 41 0 0 0 63 319c-2-9.4-3-16-3.5-21.6v.1a1419.8 1419.8 0 0 0-.3-8v.6-5.6a224.7 224.7 0 0 1 1.6-27.5c3.8-38 15.1-75.6 37.1-105.9 22.4-30.8 56.8-52.3 90.9-65a172.6 172.6 0 0 1 116-4c23.2 7.6 44.5 20.8 64.4 36.2 1.4-1.8 3-3.5 4.9-4.8 8.3-5.8 21-2.1 25.7 7.3 1.6 3.4 3 6.8 4 10.3 2.3-3 5.4-5.3 9-6.4Z" fill="${p(`${l.hair}`)}"/><path d="M304.7 82c23.3 7.7 44.6 21 64.5 36.3 1-1.4 2.3-2.7 3.7-3.8-2.8 3.1-5 7.1-6.7 11-8-6.8-18.2-10.6-28.3-7.5-9.7 3-16.6 11.2-20.7 20.9-23.2-14-48-19.3-76.4-13.9-34 6.4-63.8 30-83.6 60.4-26.6 41-27 118.3-6.9 161.2L147 349c-6.8 5-15.5-30.6-35-40.6A41 41 0 0 0 63 319c-3.9-17.5-3.9-25.5-3.9-34.5 0-10.9.6-16.4 1.6-27v-.5C64.7 219 76 181.4 98 151c22.4-30.8 56.8-52.3 90.9-65a172.6 172.6 0 0 1 116-4Z" fill="#000" fill-opacity=".1"/>`,mohawk:(a,l)=>`<path d="M440 102.8c-74-50.6-244.4-113.6-334 40l28.2 32c-17 22.4-25.2 41.9-25.7 43.2-8.8 22-12 46.3-12.6 70.6-.1 4.6 0 9.2.2 13.8 38.1 6.5 56.1 47.3 60.4 67 0 0 11.3.6 14-1.6 14-7.3 38.9-37.4 26.5-99-6-28-2-50.3 47-85 20.6-14.5 46.3-19.2 70.3-18.7a1221.6 1221.6 0 0 0 10 .5c29.2 2.3 54.4 11.5 62.7 18.2 12.8 10.4 19 14.4 20.4 15-5.6-12.6-12-23.5-19-32.8 7.8-19 21.9-44.5 40.7-57.4 3.5-2.4 7.1-4.4 10.9-5.8Z" fill="${p(`${l.hair}`)}"/><path d="M106 142.8c89.6-153.6 260-90.6 334-40-20-13.7-115.5-40.5-159-18.5l.4.7c-83-18-151.1 30.5-175.4 57.8Z" fill="#fff" fill-opacity=".2"/><path d="M440 102.8c-30.4 11.2-51 58-57 78-28.5-14-47-15-77-16 4-32.8-17.7-67.8-25-80.5 43.5-22 139 4.8 159 18.5Z" fill="#000" fill-opacity=".1"/><path d="M306.2 163.2c-.8-12-40.7-41.1-81.2-36.4-54.1 6.4-86.5 45-89 50l-1.8-2c-17 22.4-25.2 41.9-25.7 43.2-8.8 22-12 46.3-12.6 70.6-.1 4.6 0 9.2.2 13.8 38.1 6.5 56.1 47.3 60.4 67 0 0 11.3.6 14-1.6 14-7.3 38.9-37.4 26.5-99-6-28-2-50.3 47-85 20.6-14.5 46.3-19.2 70.3-18.7l-8.3-.3.2-1.6ZM324.3 165.6c29.2 2.3 54.4 11.5 62.7 18.2 12.8 10.4 19 14.4 20.4 15-5.6-12.6-12-23.5-19-32.8-2.4 5.6-4.2 10.7-5.4 14.7v.1a138.1 138.1 0 0 0-58.7-15.2Z" fill="#fff" fill-opacity=".7"/>`,wavyBob:(a,l)=>`<g fill="${p(`${l.hair}`)}"><path fill-rule="evenodd" clip-rule="evenodd" d="m341.7 168 .9 1 .8-.8c20.8 3.8 37.4 10.5 44 15.8a155.5 155.5 0 0 0 20.3 15 249.4 249.4 0 0 1 15.9 55c4 24.8 3 53.7 2 65 1.5 1.2 3.1 2.3 4.9 3.5 5 3.5 10.7 7.5 18 14.5a60.6 60.6 0 0 0 6.6-47.5c-1.4-6.4-4-12.9-7.1-20.6-6.5-15.7-15-36.9-19.4-74.4-4-33.8-32-84.5-64-95.5-25.6-8.8-45.7-3.7-51 0-55-46-140-14-163 0-10.8 6.5-19.5 16-28.7 26.1A162.6 162.6 0 0 1 84.6 158c-29 17-35 60-29 89s9 53-6 72-23 47-6 80c13.6 26.4 9.6 49 6 57 17.4 16 55.3 29 92.5 38.4 1.8.5 2.3-4.7 2.7-10 .5-5.1 1-10.3 2.8-9.9l1.6 2.3.7 3.6c1.3 6.6 3.3 16.9 15.2 19.5 38.7 8.6 71.5 13.1 71.5 13.1 13.1-22.4-2.3-53.5-16.1-81.2-7.2-14.4-13.9-27.9-16-38.8-3.3-18.1 3.5-31.1 12.3-47.7a201.6 201.6 0 0 0 19.8-48.3c4.5-18.2 3.3-33 2.1-47.3-1.7-21.2-3.4-41.5 13.6-70.7 27.5-15.4 61.8-15.8 89.4-11Zm63.5 25.5Z"/><path d="M442 448c1.2 5.8 2.9 19.2 0 26-7.4 1.3-24.7 3.6-34 2 6.4-3.8 22-14.8 34-28Z"/></g><path d="M343.4 168.2c20.8 3.8 37.4 10.5 44 15.8a155.5 155.5 0 0 0 20.3 15 163.4 163.4 0 0 0-5.5-11.4C391.2 167 376 152 356.1 158a22 22 0 0 0-8.1 6l-4.6 4.2ZM258.6 169c29.8-44 67.2-19.6 83-1-27.5-4.8-61.8-4.4-89.3 11 1.8-3.2 4-6.6 6.3-10Z" fill="#000" fill-opacity=".3"/><path d="M216.6 172c23.2-40 72.3-46.7 94-45-117-12-128 68-128 99 0 24.8 3 39-5 53a72.3 72.3 0 0 0-13 79c-5-26 5-45 27-70s-4-66 25-116ZM182.6 444c-14.4-14.4-18-28-18-33 46.4 24 37.3 61.3 27 77 3-8.7 5.4-29.6-9-44ZM112.6 279c8.8-20 7-43.7 5-53 0 30-19 62-40 100-16.8 30.4 7 66 21 80 3-16-10-28-11-57s14-45 25-70ZM443.6 333c5.2-16.4 1.5-39.5-1-49 0 16.4-3 36.2-4.5 44l5.5 5Z" fill="#000" fill-opacity=".2"/>`,bowlCutHair:(a,l)=>`<path d="M423 224.5c-25-104-115.5-123-152.5-121.5C106.1 105 69.7 238.2 72 310.5c1-2 3-3.5 3-3.5 13-7 20.5-5 23-5 43.5 2 58.8 53.5 56 75.5 7.9 7.4 18.7.2 23.3-2.9l.2-.1c3.6-2.4 0-13.5 0-20-9-42-7-102-4.5-102 2 0 29.5-2.3 40.5-4-.8-10.4-3.7-40.3 0-45.5-3.2 5.2 10.2 36.8 11.5 43 49.5 5 150.5-13 153.5-14.5 2.4-1.2-1-27.8-3-41 7.6 7.2 13.8 31.7 15 41 9.6-.8 25.7-5 32.5-7Z" fill="${p(`${l.hair}`)}"/><path d="M283 119c23.3 1.7 77.4 16.2 107 61-11.7-24.3-49.4-70.6-107-61ZM331 167c7 9 21.2 33.6 22 60 5-10.7 7.6-37.6-22-60ZM132 251c4.8-53.6 40-93 57-106-64 20.8-78 89.3-77 121 .8-40 23.7-74 35-86-10.4 18.4-14.3 55-15 71Z" fill="#000" fill-opacity=".2"/>`,curlyBob:(a,l)=>`<path d="M366.8 170.9c-8 7.2-16.8 17.6-26.5 29.1-16.3 19.3-35.3 41.8-57.3 57.3a227.2 227.2 0 0 1-86.5 35.3 86.4 86.4 0 0 0-16.4 32c-3.2 9.9-5.5 17-13 17.4-9-20.6-25.4-54.2-71.1-39-38.5 12.8-40.4 56.3-28 78.5 7 12.4 35.3 40 81 34l29.5 25.5c-2.9 5.4-8.2 13.1-25.8 20.7-21.9 9.5-123.8 1-133.3-60.8-23.8-20.6-61.1-78.2-20-143.6 12.6-20 30.3-34.4 51.3-43.7-.2-8.2-.2-17.7.1-28.6 2-60 58.1-108.4 102-118.9 42.7-10.2 132.8-6.8 169.8 26.2C443 47.5 473.8 193.9 469.5 249.5c22.4 44 7 106.7-1 131.5-4-33.6-31.3-56-44-61.5 5.6-30.4-5-82-11-104a139 139 0 0 0-46.7-44.6Z" fill="${p(`${l.hair}`)}"/>`,straightHair:(a,l)=>`<path d="M351 167c-32.5 45-106 137.5-207 170.5a44.3 44.3 0 0 0-41-23.5c-27.5.5-37.5 20.5-37.5 20.5s-32 53.5 42 87.5c20.5 4 27 4 43.5-3 11.2 8.7 46.6 38.2 59 43-3.2 16.8-8.8 58.8-1.2 78-14.5 1.3-49.8 8.7-77.8-6.5-2.8-17.1-5.3-39.5-.9-48-5.3 8.5-14.8 28.2-14.8 39.5-16-5.5-51.6-20.8-66-38C27 382 19 127.5 245 106c19.8-2.3 70.4-.3 104 22.5C391 157 412 195 420 233c-17.2-8-55-32.4-69-66ZM433.5 525c-6.8-9.6-2.8-53.2 0-68-28 23.5-44.5 35-102 36.5 10 15 49 20.5 53.5 22.5l8-5.5v8a215 215 0 0 0 40.5 6.5Z" fill="${p(`${l.hair}`)}"/><path d="M312.6 153.6c18-1.6 26.3 8.2 26.3 8.2-13.9 1.6-42.8 23.7-42.9 23.7 20.7-2.8 46.7-9.8 46.7-9.8-.3 2.3-1.9 5.2-4 8.4 5.2-6.2 9.5-12 12.3-17.1a94.4 94.4 0 0 0 12.7 21.3 58.6 58.6 0 0 0-5.6-17.9s13.6 7 15.4 12.7c0 0-4.5-18-18.4-32 0 0 8.7-1.5 15.8 3.4 0 0-11.3-16.8-26-25.8h3.3l-1.7-1.2c-13-8.9-28.3-14.4-43.2-17.8-9.2 2.9-15.5 10.8-15.5 10.8 12.4-2 32 6.6 32 6.6-18.5-2-41.8 14.3-41.8 14.3a64.2 64.2 0 0 1 55.7 6.1c-8.3-.8-21 6.1-21 6.1Z" fill="#000" fill-opacity=".2"/><path d="M281 211c-14 17.7-59.6 60.6-130 91 22.3-14 79.6-51.8 130-91ZM95 302c40.8-86.4 123.7-135.3 160-149-93.6 16-156 108.3-175.5 152.5 3.6-1.6 11.8-3 15.5-3.5ZM74 406.5c2 2.5 7.8 6.4 11 8-1.3 22-3.2 64.5-2.2 83.3-2-18.9-4.5-50.8-3.8-68.3-3.7 13.3-9.9 17.8-5.5 73-4.7-35.7-11.9-74.4.5-96ZM408.5 476.5c2.8-1.2 7.5-4.5 9.5-6-3.6 6-2.2 36.2-1 50.5-2.4-2-4-9.5-4.5-13-1.6 5.2-4.7 5.5-4 13-4.4-10-.5-28.5 0-44.5ZM183.5 468.5c-4.8 43.6-2.5 55.5 1.5 74h-20c-7.2-35.2 11.2-52 18.5-74Z" fill="#000" fill-opacity=".2"/>`,braids:(a,l)=>`<path d="M144 337.5C245 304.5 318.5 212 351 167c14 33.6 51.8 58 69 66-8-38-29-76-71-104.5-33.6-22.8-84.2-24.8-104-22.5C19 127.5 27 382 49.3 487c28 20 99 58.6 159.5 53-7.6-19.2-2-61.2 1.2-78-12.4-4.8-47.8-34.3-59-43-16.5 7-23 7-43.5 3-74-34-42-87.5-42-87.5s10-20 37.5-20.5c22-.4 34.2 11.8 41 23.5ZM433.5 525c-6.8-9.6-2.8-53.2 0-68-28 23.5-44.5 35-102 36.5C350 504 396.3 525 433.5 525Z" fill="#220F01"/><path fill-rule="evenodd" clip-rule="evenodd" d="M257.7 116c-18 19.4-49 50-84.4 79-34.5 28.1-74.1 55.6-110 69-1.4 1.4-4 4.9-7.1 12.4a177 177 0 0 0-10 41.1c-5.4 37.7-7 73.8 3.3 160.5.8 6.9-4.5 10.8-12.5 9-6.5-1.5-10.7-7.1-11.5-14-10.5-88-9.9-118.5-4.1-159 2.9-20.3 7-35.7 11.7-47.1 4.4-11 10-19.7 17-24.3l1.2-.8 1.5-.6c32.3-11.6 70-37.3 104.7-65.6 30-24.5 56.7-50.2 74.5-68.8 1.7-1.8 14-5.3 28.7-1.8.8 3.8-.2 8-3 11Zm-52.3.3c-24.6 24.7-80.7 79-136.2 102.7-2.4 1 12.5-1.7-2.2 1a99.2 99.2 0 0 1 18.9-38c31.3-18 54.7-40.3 78-61 8.6-3.8 29.6-11.3 44.7-10.5-.5 2.1-1.6 4.1-3.2 5.8ZM91.3 293.8c113-60.3 193.2-147.3 216.2-183.3-7.6-6.4-21.5-6.2-27.5-4.7-20.5 32-91.6 108.4-202.8 167.1l-.7.4-.7.5a22.7 22.7 0 0 0-7 9.1c-1.5 3.2-2.8 7-4 11.4-2.3 9-4.3 21.6-5.8 38.8-3 34.4-4.4 76 0 157.4.4 6.9 8.5 12.5 12.5 14h.1c2 0 11.4 0 12.4-5-2-37.6-2.4-67.3-2.5-93.5l-2-2c-5.7-4.8-20-17.3-20.5-44.5 2.5-21.2 8-27.9 10.2-30.4l.8-1.1c10-10 15.9-10.5 15.9-10.5 1-7.2 2-12.8 3.2-17 .8-3.2 1.6-5.4 2.2-6.7Zm33 181.6c.2 7.3.2 13.3.2 18.6.1 10.9.2 18.5 1 27.5.6 6.9-7 7-11 7-5-1-12.4-4.6-13-11.5v-.7l-.2-1.4c-1.1-12.3-1.6-17.1-2-39a387 387 0 0 1 2.3-56.9c3.4 2 13 5.5 24.4 5.5-1.7 13.5-2 32.2-1.7 51ZM106.2 300C217.2 241.3 298.4 146.2 319 114c6.2.8 19.8 4.1 25 11-23.1 36.1-106 132-220.5 192.5-.8.4-2.7-.3-5-1.1-2-.7-4.3-1.5-6.5-1.9-4-.7-11-.5-11-.5-3.2-6.1-1-10.8 5.2-14Zm246.1-125.4C323.1 214.7 247 297.5 150 337c-5.5 2.9-5.8 2.3-8-2.3l-1-1.7a20 20 0 0 0-4.1-5c-2.3-2.3-3.6-3.5.3-5.6C247.9 264 318.2 182.2 339 149.8c1.7-2.8 4.4-4.6 7.4-5.4a12.5 12.5 0 0 1 16.7 3.2 319.4 319.4 0 0 0 45 48.4c4.4 10.1 13.3 32 13.3 38.4a152.6 152.6 0 0 1-45.9-30.9c-5.7-5.7-11.1-13-16-19.6-2.6-3.5-5-6.8-7.2-9.4ZM161.6 474.3a607.1 607.1 0 0 1 .9-46.3l-11.5-9a94.2 94.2 0 0 1-13.5 4.5l-.4 7.2v4.4a759.8 759.8 0 0 0 2.4 95.2v1.7c.5 6.9 13 10 13 10s11-.5 11.5-4c-1.4-18-1.9-36.5-2.4-63.8Zm16 .4.3 24c0 13.7.1 24 1.1 36.3.5 6.9 7.6 10 14.5 9.5s11.5-1.6 11-8.5c-4.5-21.7-4.2-29-3.4-48.8l.4-10.2c0-2.9.2-6.6.5-10.3.3-3.2.5-6.3.5-8.7-3.5-2-18-12.5-25-18a679 679 0 0 0 0 32.2l.1 2.5Zm247-10.2c5.2-4.3 9.6-8.6 9.4-7.5l-.6 3.9c-1.2 8.4-3 21.2-3.4 32.3a93 93 0 0 0 4 30.8c.9 2.5-7 2-13.5 2-7 0-13.5-2.5-14-4-3.6-10.6-1.9-16-1.5-29.5l.8-15s10.2-6 18.7-13ZM399 481c0-.5-5 2.5-13.5 5-9 3-14 3.5-14 3.5 0 5.7-.2 3-.7 12.5v10.5c3.3 6 6.2 5.6 13.2 7 7 .7 13 1.5 12.5-2.5s-1.1-5.4-.7-13.7c.4-7.6 3.2-17.6 3.2-22.3Z" fill="${p(`${l.hair}`)}"/><path d="m176.2 116.3-7 2.5c.1 1.7.3 3.3.7 4.9l-8.4-.6-3.8 3.4-3.3 3a174.3 174.3 0 0 0 26.2 1.3h10.1a791 791 0 0 0 6.3-6.2l-.6-1.9a34 34 0 0 1-9.8 1.2h-5.9l-3.6-.1c-.6-2.2-1-4.7-.9-7.5ZM156.8 161.3l-.2-.5a34 34 0 0 1-9.7 1.1h-9.5a32.5 32.5 0 0 1-.4-13.9l.7-4-8 6.8c-.4 3.6-.3 7.4.4 11-4.3-.2-9-.6-13-1l-8.2 6a197.7 197.7 0 0 0 32 2l6 .1h.6c3.2-2.5 6.3-5 9.3-7.6ZM115 193c-2 .6-4.7.9-7.7 1l-6 .3-3.6.1a27 27 0 0 1-1.2-12.2c.3-3 .9-5.7 1.5-8l-8.2 5-.2 2.3c-.4 4.2-.4 9 .8 13.3-4.3 0-9.3 0-13.8-.2a107 107 0 0 0-3.6 6.9 249.6 249.6 0 0 0 28.6-.2h.8L115 193ZM99.3 217.7c3.4-2 6.8-4.2 10.2-6.5a43.9 43.9 0 0 0-4.2 11.3 24 24 0 0 0-.2 11.4l3.7.4 6 .4 4.2.2-10.2 6.4h-.6c-2-.3-4-.4-5.8-.5-8.3-.6-24.5-4.1-32.3-5.8l-1.5-.4c3.3-1.5 6.7-3.2 10-5 6.1 1.3 13.4 2.8 19.2 3.6a34.1 34.1 0 0 1 1.5-15.5ZM37.7 257.2c1.6-2.8 3.2-5.4 5-7.7.7 2.8 1.8 6.2 3.3 9.7 2 4.3 4.5 8 7.2 10l3-2h.1l5-3.1a37 37 0 0 0 7.6-6.2l3.1 2.6-8.8 3.5a38 38 0 0 0-6.6 11.3l-1.5 1a307 307 0 0 1-29.7 15.5l2.2-8.8c6-2.9 13.8-6.7 19.4-10-3.2-3-5.6-7-7.3-11-.8-1.6-1.4-3.2-2-4.8ZM18.4 340l1-10.2c1.5 2.4 4.3 6 7.8 9.4a27 27 0 0 0 10.5 6.5l2-3h.1a222.2 222.2 0 0 0 4-5.6c-.5 4.4-.9 9-1.2 13.7l-.4.7a342.3 342.3 0 0 1-23.7 28l-1-1c-.2-2.8-.2-5.5-.2-8 4.6-5.1 11.5-13 16.1-18.9-4-1.6-7.9-4.5-11-7.3a59 59 0 0 1-4-4.2ZM19.1 410.6l-.7-10.3 2.8 2.9a27 27 0 0 0 10.5 6.5l2-3h.1l3.4-4.8a37 37 0 0 0 4.7-8.7l.4.1c0 4 .3 8.3.5 12.7l-3.3 4.8-3.3 4.7c-3.2 4.8-9.6 12.2-15 18.4l-1-9.6c2.6-3 5.2-6 7.2-8.7-3-1.2-5.8-3-8.3-5ZM25.4 472.3l-1.2-10.1 1 1a27 27 0 0 0 10.5 6.5l2-3h.1l3.4-4.8a37 37 0 0 0 4.7-8.7l.9.3 1.1 10.9-.9 1.4-3.5 5-3.3 4.7c-1.8 2.6-4.5 6.1-7.5 9.7-2-1.3-3.7-3-4.9-5.1l3.6-4.5c-2-.8-4.1-2-6-3.3ZM62 497.5l6.4-7.9c-3.6-1.4-7-3.8-9.8-6.3l-.5-10.5c1.2 1.4 2.6 3 4.1 4.4a27 27 0 0 0 10.5 6.5l2-3h.1l3.4-4.8c2-3 3.5-5.5 4.4-7.8l.5 13-2.6 3.7-3.3 4.7c-2.3 3.4-6 8-10 12.7a24.4 24.4 0 0 1-5.2-4.7ZM100.1 500.3c-.2-3.6-.4-7.6-.5-13 1.3 2.5 3.8 6.2 6.8 9.5a27 27 0 0 0 9.9 7.4l2.3-2.7a222.3 222.3 0 0 0 6-7.3v11l-.6.7c-1.3 1.6-2.6 3-3.7 4.5-2.7 3.4-8.4 9-14.2 14.3a11.7 11.7 0 0 1-4.2-5.7c3.6-3.3 7-6.6 9.5-9.2a37.3 37.3 0 0 1-11.3-9.5ZM138.9 524.2c3.9-3.3 7.7-6.7 10.5-9.6a37.5 37.5 0 0 1-11.7-8.8L137 494c1.6 2.4 4 5.3 6.7 8a27 27 0 0 0 10.2 7l2.2-3a219.5 219.5 0 0 0 6-8.2c0 4 .1 7.9.3 11.6l-.7.8-3.4 4.7a106 106 0 0 1-18.8 18l-.1-.9-.1-1.7-.5-6ZM161.7 443l-.2 12c-1 1.4-2 2.6-2.8 3.9-3 4.2-9.4 10-15.2 14.9a723 723 0 0 1-6 5l-.8.7a1471.6 1471.6 0 0 1-.1-9l2.4-2c4-3.4 7.9-7 10.7-9.9a37.5 37.5 0 0 1-13.1-10.3c0-3.9.2-7.6.3-11.2 1.5 2.4 4.1 5.9 7.2 9a27 27 0 0 0 10.3 6.8l2.2-3a219.5 219.5 0 0 0 5.1-7ZM100.4 430c1.3 2.5 3.8 6.3 7 9.8a27 27 0 0 0 9.9 7.4l2.3-2.7 3.8-4.6 1.4-1.8-.4 11.6-3.1 3.7a205.9 205.9 0 0 1-22 21.4l-.1-9.4h.1c4.9-4.5 9.7-9.1 13.2-12.6a37.3 37.3 0 0 1-12.9-11.3l.8-11.6ZM81.3 405.8l.2.2v12.3l-1 1.5-3.3 4.7a285.2 285.2 0 0 1-20.1 24l-.3-10c4-4.5 8.3-9.7 11.6-13.9a37.2 37.2 0 0 1-12.1-8.5l-.1-10.7a53 53 0 0 0 6 6.8 27 27 0 0 0 10.5 6.5l2-3h.1a222.2 222.2 0 0 0 6.5-10ZM148.3 303.6l-4.6.2c-2.1 0-4 .2-5.9.3-5 .3-15-.4-24.2-1.2l-10.5-1a18 18 0 0 1 3-2l7.6-4h.5c6.6.6 13.2 1.1 18.1 1.2-1-3.6-1.2-7.7-1-11.4l7.6-4.6-.4 3.6a27 27 0 0 0 1.2 12.3l3.6-.2 6-.3c3.9-.2 7.2-.7 9.7-1.6l.6 1.8-11.3 6.9ZM191.8 289.8l7.7-5.2a53 53 0 0 0-.9 8.5c0 4.7.6 9 2 12.2l3.7-.4 6-.7 3.5-.6-14.6 9c-5 .6-15 .6-24 .5a1061 1061 0 0 1-15.8-.4l-4.3-.1a610 610 0 0 0 11.4-6.7 918 918 0 0 0 26.9 0 37.3 37.3 0 0 1-1.6-16ZM256.6 272.8l-1.7.2-5.8.6c-5 .6-12.8.7-19.9.5-4.9 0-9.6-.2-13-.4h-1.4l8.9-6.7a502.9 502.9 0 0 0 19.5 0 37.3 37.3 0 0 1-1.6-14.2l7.8-6.5a53 53 0 0 0-.8 8c-.2 4.6.4 9 1.9 12l3.6-.3 6-.6c2.6-.3 5-.8 7-1.3-3.4 3-7 5.8-10.5 8.7ZM314 220l-8.9 9-4.9.7-5.7.7c-8.4 1.3-22.3 2-29.3 2l7.8-7.2c5-.2 10.7-.6 15.5-1.1a36 36 0 0 1-2-12l7.5-7.6-.5 6.6c0 4.7.6 9 2.2 12 1.2 0 2.4-.2 3.7-.4l5.9-.7c3.4-.5 6.4-1.1 8.6-2ZM345.4 183.7l-6.2 7.7-3.6.2-5.8.5c-7.8.7-18 .5-24.4.2l6-6.8h13a41.5 41.5 0 0 1-1.4-13.8c3.2-4 6.1-7.9 8.7-11.4a63 63 0 0 0-1.7 10.9c-.3 5.2 0 10.1 1.6 13.7l3.5-.2 6-.5 4.3-.5ZM365.1 191.4l-4.9-6.6c3.7-.5 8.8-.7 14-.3 4.7.4 10 1.3 14.4 3.4l1.4-8.8a299 299 0 0 0 6.1 6.2 122.1 122.1 0 0 1-3 14.6l-1.3 6c-.8 3.1-1.7 6.4-3 9.2-2-1.5-3.9-3-5.7-4.6.7-1.8 1.3-4 1.9-6.3l1.3-5.8.7-3.5c-3.3-2-8.1-3-13.3-3.4-3-.3-6-.3-8.6-.1ZM419.7 233.6c-6-2.7-11.9-5.8-17.6-9.3l2 .3 6 .8 3.6.4c1.4-2.7 2.1-6.5 2.2-10.6 2.9 7.6 5.3 15 5.5 18.6l-1.7-.2ZM211.6 260.5l-10.5 7.9-5.1.2c-2 0-4 0-5.8.2-5 .2-12.9-.3-20-1-3.3-.2-6.7-.6-9.5-.9l8.8-6.1a392.6 392.6 0 0 0 15.2 1c-1-3.7-1-7.8-.8-11.5l8-6a52 52 0 0 0-1 5 27 27 0 0 0 1.2 12.4l3.6-.1 6-.3c3.9-.2 7.2-.6 9.7-1.4l.2.6ZM259.7 220l-9.1 8.2h-.2l-6.1.3-5.8.4c-7.8.6-20.3.4-27.7 0l8-6.7h14.1c-1-3.7-1.3-7.8-1-11.5a717 717 0 0 0 7.9-7.3l-1 6c-.3 4.8 0 9.2 1.4 12.3 1.2 0 2.5 0 3.7-.2l6-.3c3.8-.3 7.2-.8 9.6-1.7l.2.4ZM294.5 185.6a681 681 0 0 1-7.2 7.5h-10.9a191 191 0 0 1-24.3-1.4l6.4-6.4c4 .4 8.7.7 13 .8-1-4.4-1-9.2-.5-13.7a654 654 0 0 0 9.2-9.9c-.8 2.8-1.6 6.2-2.1 9.8-.7 5.2-.7 10.1.6 13.8h9.5c2.3 0 4.4-.2 6.3-.5ZM331.4 142.7l-6 7.7H312c-6.3.3-14.2-.3-20.3-1l5.5-6.5c3.2.3 6.5.5 9.7.6-.8-3.9-.9-8-.5-12 4-5.2 7.4-9.9 10-13.8-1 3-2.2 7.3-2.8 12-.7 5.1-.6 10 .6 13.8h9.5c2.9-.1 5.4-.3 7.6-.8ZM274.7 113.4c-.8 2.7-1.7 6-2.2 9.6-.8 5.2-.8 10.1.4 13.8h3.5a204.8 204.8 0 0 0 11.4-.1c-2 2.3-4 4.8-6.2 7.2h-11c-6.3 0-14-.7-20.2-1.4l5.8-6.4 9.4.7c-.7-3.6-.8-7.4-.5-11 3.7-4.5 7-8.7 9.6-12.4ZM230.9 108c-.5 1.9-1 3.9-1.2 6-.8 5.1-.8 10 .3 13.8h9.6c2.7 0 5.2 0 7.3-.5l-7.4 7.6h-6l-5.8-.1c-7 0-15.9-.8-22.3-1.6l6.6-6.3c3.5.4 7.2.7 10.8.8-.8-3.5-.8-7.3-.5-11l8.6-8.7ZM182.6 154.1l8.4-7.5a62 62 0 0 0-1 5.4c-.8 5.2-.9 10.2.3 13.8h3.6c2 .1 4 .2 6 .1 2.9 0 5.5-.2 7.7-.6L199 173l-5.3-.1H188c-8 0-18.5-1-25-2l7.4-6.1c4 .4 8.5.8 12.7 1a39 39 0 0 1-.5-11.7ZM142.3 187.6l7.8-6.1-.7 4.7a27 27 0 0 0 1.2 12.3l3.7-.2 6-.2c3.8-.3 7.2-.7 9.6-1.6l.3 1-9.6 7.6-6 .2c-2 0-4 .2-5.8.3-8.8.5-23.6 0-30.3-.5l9.2-6.5c5 .2 10.7.3 15.6.2-1-3.6-1.2-7.5-1-11.2ZM229.4 163.8l9.5-9.3a63 63 0 0 0-2.6 10.7c-.8 5.1-.8 10 .4 13.8h3.5a204.8 204.8 0 0 0 7.8 0l-7.3 7h-6.3c-9 0-20.8-1.3-26.9-2.2l7-6.1c4.5.5 10 1 15 1.2-1-4.8-.8-10-.1-14.8v-.3ZM190 198.6l8.7-7.3c-.9 2.7-1.7 6.5-2.1 10.5a27 27 0 0 0 1.1 12.3l3.7-.2a221.8 221.8 0 0 0 8.3-.4l-9.1 7.5c-1.6 0-3.2 0-4.7.2-9.7.6-26.7-.1-32-.6l.1-2 6.2-4.6c5.7.3 13.7.5 20.3.4a37 37 0 0 1-.6-15.8ZM142.3 233.8l8.7-6 .5.3a47.5 47.5 0 0 0-3.4 13 27 27 0 0 0 1 12.2h3.6l5-.1-10.7 7.2c-5 .2-12.8-.4-19.8-1.1l-12.9-1.5-3.3-.4.4-3.8 4.4-2.7a664.2 664.2 0 0 0 26 2.5c-1.2-4.3-1-9-.6-13.2.2-2.2.6-4.3 1.1-6.4ZM89.8 266.1l7.2-4 1.3.5c-1.1 2.5-2.6 7.6-3.2 13a27 27 0 0 0 1 12.3h3.7l2.5-.2-11 6-.6 1.4c-7.4 0-18.2-.8-25.7-1.5l2.1-6.8c6.7.5 15.3 1.2 21.7 1.3-1-4.3-1-9-.6-13.2a60 60 0 0 1 1.6-8.8ZM60.4 319.7a53 53 0 0 0 9 9.1l-.2.3c-.8 1-2.2 2.6-3.7 5.5a47.8 47.8 0 0 1-6.1-5.4l1-9.5ZM56.9 366l.4-9.7 2.5-2.8a127 127 0 0 0-.8 6l.2 5-1.7 2-.6-.6ZM48.5 469.7l.3 2.4-1.1-2 .8-.4ZM177.6 469.6v5.1l.1 6.2 1.2 1.1c2.9 3 6.5 5.8 10.5 7.6-3 3-6.8 6.5-10.8 9.9l-.7.6v9l5.3-4.3a106 106 0 0 0 18-18.7 1682.4 1682.4 0 0 0 .4-12.4 75.6 75.6 0 0 1-5.4 7.3l-2.2 3a27 27 0 0 1-10.2-7 52.7 52.7 0 0 1-6.2-7.4ZM409.6 475.2A222 222 0 0 0 417 486l2.2 3a27 27 0 0 0 11.7-8.4l-.8 10.2c-2 1.5-4 2.8-6.2 3.8 1.7 1.8 3.9 3.8 6.2 5.9.1 3.6.4 7 .9 10l-1-.7a106 106 0 0 1-18.6-19.6l-3.6-4.9-2.3-3.3.3-4.5 3.8-2.3ZM398.5 485.7l-.9 4.8c-.6 3.2-1.2 6.6-1.6 9.9l-.6.6c-3 3-6.6 5.8-10.5 7.6 2.9 3 6.7 6.5 10.7 9.9.2 0 .3.2.5.4-1.3 1.5-5 1.3-9.6 1a78.3 78.3 0 0 1-14-15.7l-1.7-2v-.2l.5-7.3c.1-1.2.2-1.9.2-4a61.6 61.6 0 0 0 6.5 9.3l2.2 3a27 27 0 0 0 10.3-7c3.8-3.7 6.7-8 8-10.3Z" fill="#000" fill-opacity=".5"/>`,shavedHead:(a,l)=>`<path d="M94.2 287.6c-.2 4.6-.1 9.2.1 13.8 38.5 6.4 56.7 47.2 61 66.8 0 0 11.4.6 14-1.5 14.3-7.4 39.5-37.5 27.1-99.1-6-28-1.9-50.4 47.8-85.2 49.6-34.9 128.5-13.3 144.6-.4 13 10.4 14.3 12 18.2 14.5-34.4-77.5-101.9-87.7-101.9-87.7-136.9-34.2-195.3 108.6-195.3 108.6-9 22-15 45.8-15.6 70.2Z" fill="${p(`${l.hair}`)}"/>`,bunHair:(a,l)=>`<path d="M179.3 164.8c-43.7 0-79.1-38.4-79.1-85.9 0-47.4 35.4-85.9 79-85.9 43.7 0 79.1 38.5 79.1 86 0 47.4-35.4 85.8-79 85.8Z" fill="${p(`${l.hair}`)}"/><path d="M179.3 164.8c-43.7 0-79.1-38.4-79.1-85.9 0-8 1-15.6 2.8-22.9 12.7 9.5 61 22.8 152.5 0a93 93 0 0 1 2.8 23c0 47.4-35.4 85.8-79 85.8Z" fill="#000" fill-opacity=".2"/><path d="M137 305c4.6-46.4 79-85.4 79-85.4a66.5 66.5 0 0 1-8.5 20.3c-1.5 2.4 0 5.5 2.6 5.7 70 5.5 160.2-70.1 160.2-70.1 19 24.5 41 58.5 52.2 69.9 1.6 1.6 4.2.3 4.1-2.1C422.4 83 268 51.2 163.4 86.4 67.7 118.7-12 243.7 54.4 335c3.7-11.7 17.7-34.3 44-31.5 4.4 1 16 6 27.6 18 1.7 1.9 16 7 11-16.5Z" fill="${p(`${l.hair}`)}"/><path opacity=".1" d="M356 157.1s-8.3-9.8-26.3-8.2c0 0 12.7-7 21-6 0 0-22.6-16.8-55.6-6.2 0 0 23.3-16.4 41.7-14.3 0 0-19.6-8.6-32-6.6 0 0 9.8-12.2 22.6-11.8 0 0-10.2-18-26-23.7 0 0 31.6 9 40 15.5 18.3 7.8 35.3 30.7 35.3 30.7-5.7-3.3-14.7-2.5-14.7-2.5 14.7 9 26 25.8 26 25.8-7.2-5-15.8-3.3-15.8-3.3a76.7 76.7 0 0 1 18.4 31.9c-1.9-5.8-15.4-12.7-15.4-12.7a71.7 71.7 0 0 1 6.4 24.5l-11.3-14.7s-23 19.2-29 21.7c0 0 17.3-18 18.4-26.2 0 0-26 7-46.6 9.8 0 0 29-22 42.9-23.7Z" fill="#000"/>`,froBun:(a,l)=>`<path d="M119 .1v-.6a37.5 37.5 0 0 1 70.5-17.8 37.4 37.4 0 0 1 66 29.5 37.5 37.5 0 0 1 .6 74.5c-3.2 44.3-37.3 79.1-78.8 79.1a77 77 0 0 1-62.8-33.7A37.6 37.6 0 0 1 69 94.6c0-12 5.6-22.6 14.3-29.5A37.4 37.4 0 0 1 119 .1Z" fill="${p(`${l.hair}`)}"/><path d="M119 .1v-.6a37.5 37.5 0 0 1 70.5-17.8 37.4 37.4 0 0 1 66 29.5 37.5 37.5 0 0 1 .6 74.5c-3.2 44.3-37.3 79.1-78.8 79.1a77 77 0 0 1-62.8-33.7A37.6 37.6 0 0 1 69 94.6c0-12 5.6-22.6 14.3-29.5A37.4 37.4 0 0 1 119 .1Z" fill="#fff" fill-opacity=".1"/><g fill="#000" fill-opacity=".3"><path d="M119.5.5c5 1 16.3 5.2 21.5 14-4.7-10-11-28.2-10.3-42.2a37.4 37.4 0 0 0-11.7 26l.5 2.2ZM73.9 17c5.6 14 22 38.1 51.1 38.5-3.7 4.2-9.9 14.7-5.5 23.5C125 90 194 92.5 216 93c20 .5 59-32.6 69-61.5a37.5 37.5 0 0 1-28.8 54.2c-.5 6.1-1.6 12-3.1 17.7-32.3 12.4-86.3 29-127 41a84 84 0 0 1-11.6-13.2A37.6 37.6 0 0 1 69 94.5c0-12 5.6-22.6 14.3-29.5A37.4 37.4 0 0 1 74 17Z"/><path d="M269.3 15.5A32.1 32.1 0 0 1 242 32a102.7 102.7 0 0 0 13.6-20.8c4.9.5 9.5 2 13.7 4.3ZM230-30.2c-16 3.6-31.2 17.6-37.5 25.2a44.8 44.8 0 0 0-2.4-14 37.4 37.4 0 0 1 40-11.2Z"/></g><path d="M313.4 158c6.2-8.4 8.3-12.5 15-12.5 6.7 0 13.8 10.9 21.7 12.5 9.8 2 18-3 25.8-2 7.8 1 4.7 6 9.8 17.5 5.2 11.5 14 15 16.6 18.5 2.6 3.5 0 10.5 2 15.5 2.1 5 8.3 7 9.9 11.5 1.5 4.5-1.6 6 1.5 12.5 2.5 5.2 7.2 9.8 9.3 11.5l-12.4-46a104.6 104.6 0 0 0-84.2-67C220.9 100 130 213 98 273.5l23 44.5c6-1.8 14.4-5.5 21.4-13.5 8.8-10 5.7-34 8.8-44 3.1-10 8.3-15 25.8-22.5 17.6-7.5 16.6-21.5 25.4-32.5 8.7-11 27.8-5 36.1-12s1-17 12.4-26 28.4-4.5 37.7 0c9.3 4.5 17 1 24.8-9.5Z" fill="#351700" style="mix-blend-mode:multiply" opacity=".3"/><path d="M161.4 86.4C65.7 118.7 21.5 226.5 54.4 335c3.7-11.7 15.7-34.3 42-31.5 4.4 1 16 6 27.6 18 37.4-195 193.5-192.5 239-174 44.4 18 55 88 57.5 97.9 1.6 1.6 4.2.3 4.1-2.1C420.4 83 266 51.2 161.4 86.4Z" fill="${p(`${l.hair}`)}"/><g fill="#000" fill-opacity=".1"><path d="M232 81c21.3 9 67.8 31.4 83 49-7.7-16.3-35-49-83-49ZM208 91c4.3 15.3 15.2 48.4 24 58 .7-10.2-3.2-36-24-58ZM174.5 95c-1.5 16.7-.7 55.5 14.5 77.5A55.8 55.8 0 0 1 174.5 95ZM137 233.5a140.8 140.8 0 0 1 11.5-126C94.9 174.3 111.8 235.7 127 258c-8-12.8-8.3-38-7.5-49 .4 11.6 11.8 21.2 17.5 24.5Z"/><path d="M115.5 130c-17.2 28.8-44.6 98.9-17 148.5-17.8-20-39.4-77.7 17-148.5ZM290 87c20.2 6 65.1 25.3 83.5 54.5A111.7 111.7 0 0 0 290 87Z"/></g>`,bangs:(a,l)=>`<path d="M274 104c88.8 2.4 132.5 65.5 141 98.5-55-8.7-191.5-34.5-210 15.5-41 111-15 243 0 297-55.2 4-123.7-15.7-151-26-5.5-6.5-1.7 19-10-104-14-208 102-250.5 140-267.5 30.4-13.6 73-16.2 90-13.5ZM438.5 486.5c-2.8-5.2-2.8-23.5-2.5-32a157 157 0 0 1-60.5 35c19.2 2.4 50-1 63-3Z" fill="${p(`${l.hair}`)}"/><path d="M276.5 153.8c14.2-11.3 26.5-7.6 26.5-7.6-7.4 6.3-15.6 24.7-19.9 35.4l6.1-.4c12.8-12.3 24.6-25.4 24.6-25.4 2.3 4.8 1.1 16.8 0 24.6h2.3c4-10.3 9-26.6 9-26.6l17.4 6.1s-9.2-12-18.7-17c0 0 15.1-1.6 19.8 2.2 0 0-13.6-12.6-32.8-16.6 0 0 6.3-6.1 15-6 0 0-18.6-7.8-35.8-7.3 0 0 7-5.6 13.6-6 0 0-6.5-2.3-15.4-4.3-4.6-.5-9.3-.8-14.2-.9-5.5-.9-13.7-1.2-23.3-.7-13.3 1.6-35.3 8.5-35.3 8.5 16.3-3.9 34.6 5.6 34.6 5.6-10.9 6.7-12.4 22.3-12.4 22.3 9.3-8.5 30.4-12 30.4-12-16.6 8.3-27.1 34.8-27.1 34.8 21.8-27 49.9-25.4 49.9-25.4-7.4 3.9-14.3 16.7-14.3 16.7Z" fill="#000" fill-opacity=".2"/><path d="M286.8 271c74.1 1 126.3-9.9 143.2-15.5-2.4-38.2-27.9-112.2-115-114.5-87.1-2.3-133.4 74.4-145 114.5 25 13.5 80.4 14.7 105.3 15.4l7.2-32.3 4.3 32.3Z" fill="${p(`${l.hair}`)}"/><path d="M193 172c-20 58.3-51.4 204-17 320-27.7-64.3-63-218.4 17-320ZM108 302c0-57.6 40-121.3 60-146-104.8 48-96.3 176.7-79 235-15.2-88.8 10.3-146.3 25-164-8 24.8-7.3 60.3-6 75ZM347 164c17.3 8.7 52.4 37.2 54 82 3.3-24.7-2.8-75.6-54-82ZM284 172c-6 10.3-17.8 36.8-17 60a50 50 0 0 1 17-60Z" fill="#000" fill-opacity=".2"/>`,halfShavedHead:(a,l)=>`<path d="M347 169c8 36.8 49.7 54.3 69.5 58.5 6.8 23.6 8.5 71.8 8.5 92.5a83.8 83.8 0 0 1 33.5 31.5 47.4 47.4 0 0 1 1-28c1-4.4 2.4-9.4 3.5-16 3.1-18.7-16.3-42.8-26.6-55.7-1.3-1.6-2.5-3-3.4-4.3-4.1-5.4-2.8-17-1.4-29.9 1.6-13.5 3.3-28.4-1.1-38.6-8.5-20-36-37.5-50.5-39-6-.6-9.4-4.4-14.3-9.7-7-7.7-17.2-18.8-42.2-28.8a97.5 97.5 0 0 0-78 3.7c-97.4 8.3-133 108-135 113.1v.2a203.1 203.1 0 0 0-14.4 84c38.1 6.6 56.1 47.4 60.4 67 0 0 11.3.7 14-1.5 14-7.3 38.9-37.4 26.5-99-6-28-2-50.3 47-85 30.4-21.5 72-21.3 103-15ZM453 432c4-7.3 12.8-26.3 14-41.5a63 63 0 0 1 18.5 34.5 50 50 0 0 1-7.5 27.6c-3.3 6.5-6.1 12.2-5 16.9 2 8.4 6.5 13.8 8.5 15.5-13.7 6.2-50.1 15-80.5-5 10-5 35-22.4 52-48Z" fill="${p(`${l.hair}`)}"/><path d="M347 169c-8.5-19.5-41-59.4-103-63l1.5-.8c-97.4 8.3-133 108-135 113.1v.2a203.1 203.1 0 0 0-14.4 84c38.1 6.6 56.1 47.4 60.4 67 0 0 11.3.7 14-1.5 14-7.3 38.9-37.4 26.5-99-6-28-2-50.3 47-85 30.4-21.5 72-21.3 103-15Z" fill="#000" fill-opacity=".3"/><path d="M447 336.4c-2-4.7-1-8.9.3-13.8.7-2.8 1.4-5.7 1.7-9.1.8-8.8-2-20-3.5-24.5 0 4.8-.5 16.5-2.5 24.5a37.2 37.2 0 0 1-6.8 13.5c4 3 7.7 6.3 10.7 9.4ZM470.5 488.8l1.5-1.8c-12.5-18.5-5.5-36.5 0-48.5a26 26 0 0 0 0-22c0 12.6-3.3 16.9-7.9 22.6a52.1 52.1 0 0 0-12.8 35.8c0 4.6 0 7.2-2.3 6.1-4-2-5.7-6.8-6-9a53 53 0 0 0 .6 20.4c10.2 0 19.5-1.5 27-3.6ZM377 194.5a80.9 80.9 0 0 1-23-33c3.5 6.5 16 22.3 38 33s30.2 22.8 31.5 27.5c-4.7-8.4-14.4-12.3-24.8-16.4-7.4-3-15.2-6-21.7-11.1Z" style="mix-blend-mode:multiply" fill="#000" fill-opacity=".2"/>`,curlyShortHair:(a,l)=>`<path d="M379.9 210a45.2 45.2 0 0 0 36.3 13.3c5 17.3 8.5 37 9.6 59.9a44.5 44.5 0 0 0 15-70.1 47.7 47.7 0 0 0 17.2-36.8 47 47 0 0 0-37.6-46.5 51.4 51.4 0 0 0-50.3-58.2c-7.6 0-14.8 1.7-21.3 4.8A50.7 50.7 0 0 0 302 44c-17.6 0-33 9.2-42.1 23.2A50.4 50.4 0 0 0 229 56.7c-21 0-39 12.9-46.9 31.2-6.3-3-13.4-4.6-20.8-4.6a51.3 51.3 0 0 0-50.6 51.1A52.4 52.4 0 0 0 76 220.8a52.3 52.3 0 0 0 35.2 89.8c1.9 0 3.7 0 5.6-.3 24.1 14.5 36.3 43.6 39.7 59.3 0 0 11.3.6 14-1.5 11-5.8 29-25.9 29.8-64.5a52.3 52.3 0 0 0 13.4-53.3 51.6 51.6 0 0 0 34-31.1A50.3 50.3 0 0 0 309 203a46.3 46.3 0 0 0 70.9 7Z" fill="${p(`${l.hair}`)}"/>`},aa=Object.defineProperty({__proto__:null,accessories:{catEars:(a,l)=>'<path d="M192.2 102.9c11.2-17.1 55.8 14.7 77.3 33-29.2-1.8-45.2 37.3-50.4 56.4-9.2 9-24.5 10.7-30.7 10.7-3.4-26.3-7.3-83 3.8-100.1Z" fill="#A09B9B"/><path d="m185.5 171.4-.3-7 11.6 4-11.3 3ZM186.4 184.1l1.4 14c7.3-2.7 15.8-5.4 19.4-6.6l-20.8-7.4Z" fill="#C4C4C4"/><path d="M269.5 136c-28.5 9.7-45.5 41.2-50.4 55.7-22.3-27.9-33.6-76.6-22-89.1 9.3-10 52.1 18 72.4 33.3Z" fill="#FEB3A4"/><path d="M219.7 190c5.6-15 22.3-44.7 49.8-54l-6-4.4c-7.5-2.6-17.9-5-30-5.1-20.3-.4-18 40.5-13.8 63.6Z" fill="#FFE7E2"/><path d="M387.8 153.9c5.2 2 9.8 5.3 13 10.7 1-19.4 0-57.3-13.3-57.7-8-.3-21.3 7.7-33.3 16.7a164.3 164.3 0 0 1 33.6 30.3Z" fill="#A09B9B"/><path d="M401 171.8c0-18-2.6-60.3-11.4-62.2-7-1.5-18 7.6-26.6 20.4 14 10.9 27.3 25 38 41.8Z" fill="#FEB3A4"/><path d="M401 171.8c0-4.2-.2-9.5-.6-15.3-2-4.6-4.6-9.8-8-15.2-4.6-7.1-11.9-6.5-19.3-2.8a167.8 167.8 0 0 1 27.9 33.3Z" fill="#FFE7E2"/>',glasses:(a,l)=>'<g fill-rule="evenodd" clip-rule="evenodd"><path d="m479 283.3-49-1.8-.5-10.5 49.8 2.3-.2 10Z" fill="#896307"/><path d="M304 220.7c-27.2 4.3-46 32.2-41.2 63 4.9 30.9 31.4 51.6 58.6 47.3 27.2-4.3 46.1-32.2 41.3-63-4.9-30.8-31.4-51.6-58.6-47.3ZM252.2 273c.5-30.6 20.9-57.4 50.3-62 33.3-5.3 64.4 20 70 55.6l3.3-1.2a27 27 0 0 1 13-.7c.6-12.5 4.2-24 10.2-33a40.6 40.6 0 0 1 31.5-19.8 42 42 0 0 1 34 16.3 70.9 70.9 0 0 1 15.8 40.8 69 69 0 0 1-10 42.3 40.6 40.6 0 0 1-31.6 19.7 42 42 0 0 1-34-16.2A70.6 70.6 0 0 1 389 275c-3.4-1.4-7-1.2-10.4-.2-2.1.6-4 1.5-5.3 2.2.3 31.3-20.3 59-50.3 63.8-33.4 5.2-64.4-20.1-70-55.6a73 73 0 0 1-.3-2.2l-86.4-14a102.2 102.2 0 0 0-44.4 2.6c-12 4-18.3 18.8-18.5 28l-9.9-.2c.3-15.3 11.4-32.6 25.3-37.3 13.8-4.6 31.7-5.3 48.8-3v.1l84.6 13.6Zm155-35.8a59 59 0 0 0-8.4 36c1 14.1 6.1 26.5 13.4 35 7.3 8.7 16.6 13.3 26 12.8 9.3-.5 17.8-6 23.8-15.2a59 59 0 0 0 8.4-36.1c-1-14.1-6-26.5-13.4-35-7.3-8.6-16.5-13.3-26-12.8-9.3.5-17.7 6-23.8 15.3Z" fill="#C5900F"/></g>',sailormoonCrown:(a,l)=>'<path d="M148 160c101.9-11.2 203 37.8 229.5 60.5 9.6-11.2 25.4-24.7 36.4-26 2.6 6 7 21 8.1 24.5-16 0-33.5 19.8-42.1 33.5-66.9-58-160.1-58-254.9-58a95.8 95.8 0 0 1 23-34.5Z" fill="#FFC00C"/><path d="M283.7 205.8c-6-1.4-12.2-2.6-18.3-3.6l22.4-25.5c5.4 1.7 10.7 3.5 15.8 5.4l-19.9 23.7ZM330.5 221.5a224 224 0 0 0-5.4-2.4l15.7-21.2 5.2 2.7-15.5 20.9ZM349.6 231.4c-3.7-2.2-7.4-4.2-11-6l14.6-21c3.4 2 6.6 3.8 9.4 5.6l-13 21.4ZM414.2 220.4a54.5 54.5 0 0 0-19 13l19.2-37.7c1.6 4 3.7 10.7 5.3 16l-5.5 8.7Z" fill="#FFD45B"/><ellipse cx="378.2" cy="232.5" rx="8.8" ry="13.5" fill="#FF3C15"/><path d="M378.2 246c4.8 0 8.8-6 8.8-13.5 0-.8 0-1.7-.2-2.5a26.2 26.2 0 0 1-14.1 13c1.5 2 3.4 3 5.5 3Z" fill="#CB1414"/><path d="M374.5 230.5c1.5.6 3.4-1 4.3-3.7.8-2.5.2-5-1.3-5.6-1.6-.5-3.5 1.1-4.3 3.7-.8 2.5-.3 5 1.3 5.6Z" fill="#FF7256"/>',clownNose:(a,l)=>'<ellipse cx="387" cy="328.5" rx="29" ry="28.5" fill="#FF3C15"/><path d="M415.6 332.6a31.6 31.6 0 0 1-25.6 13.9 42.6 42.6 0 0 1-30.4-12.5 28.4 28.4 0 0 0 56-1.4Z" fill="#DD2400"/><path d="M375.6 324.3c5 1.2 11.2-2.3 13.9-7.7 2.6-5.4.8-10.7-4.2-11.8-5-1.1-11.1 2.3-13.8 7.7-2.7 5.4-.8 10.7 4.1 11.8Z" fill="#FF7256"/>',sleepMask:(a,l)=>'<path d="M99 260c6.5 0 97-2.3 127-7l27.5 58c-40.8 9.6-94.3 9.7-116 8.5A59.3 59.3 0 0 0 88 299c.4-8.8 4.5-39 11-39Z" fill="#5E0E56"/><path d="M438.3 234c-65.2-64.1-159.5-37.2-199.4-6.7a50.2 50.2 0 0 0-19.9 29.2c-4 16.1-2.6 45.3 29.8 65.1 32.4 19.8 72.7 6.3 82 0 9.5-6.2 27-20.8 51-19.8 19.3.9 34.5 10.1 39.8 14.6 9.7 3.9 27.4-1.8 27.4-36 0-34.1-6.5-43.5-10.7-46.3Z" fill="#9A3E91"/><path fill-rule="evenodd" clip-rule="evenodd" d="M328.8 270.3a32.6 32.6 0 0 0 3.8-19.2l-5 .6c.6 4.5-.1 12-4.4 18.2-3.5 5-9.4 9.4-19.3 11a38.7 38.7 0 0 1-24.6-3.5 31.7 31.7 0 0 1-13.3-12.7l-4.5 2.2c2 4 6.3 9.3 12.8 13.4l-8.8 11 4 3.2 9.3-11.8c6.2 3 14 4.5 23.4 3.5l2.3 15 5-.7-2.4-15.1c8.8-2 14.8-6 18.9-11l9.4 4.7 2.2-4.4-8.8-4.4ZM429.3 276.5c4.7-3.5 7.5-8.4 8.8-12l-4.7-1.6a22 22 0 0 1-8.8 10.9 17.9 17.9 0 0 1-15.3 1.3c-6.8-2.1-11.1-6-13.8-10-3-4.9-4-10-4-13h-5c0 3.3.8 8.3 3.4 13.3l-8.8 4.5 2.3 4.5 9.3-4.8c2.9 3.8 7 7.2 12.8 9.4l-3.5 10.8 4.8 1.5 3.4-10.8c5.8 1.3 10.8.6 14.9-1.3l4 5.7 4-2.9-3.8-5.5Z" fill="#F9ACF1"/>',sunglasses:(a,l)=>'<path d="M258.8 292.1c3.7 15.9 11.2 30.3 24.3 35.3 29 11 71 3 77-3.5a67 67 0 0 0 7.7-20.4c17-9.6 31.8-4.4 36.7-1 1.3 7.7 2.6 14 3.7 15.8 3 5.6 24.3 12.5 39 3 14.8-9.5 15.3-67 12.5-73-3.4-7.3-55.7-3.8-57.9 10-1.5 4.2-.7 17.2.8 30-8-2.6-19.1-3.7-31.4.5 3-14.8 4.3-29.6 1.4-34.4-5.1-17.4-111.6-24.9-114-11.5-2.5 7-3.7 21.6-2 36.9-43.5-5.6-115.2-14.6-131-16.3a47 47 0 0 0-25.8 6.2c-4.7 2.7-9.1 6.5-12.1 11.9-3.1 5.4-4.5 12-3.7 19.6l12-1.4c-.7-5.3.4-9.3 2-12.3 1.8-3 4.5-5.5 7.8-7.4 6.8-4 15-5 18.6-4.6 16 1.7 91.2 11.1 134.4 16.6Z" fill="#595757" style="mix-blend-mode:multiply"/><path opacity=".2" d="M327 238.4c-10.7-1.4-22-2.2-32.2-2.3l-40.1 55.5 4.1.5c1.9 8 4.7 15.5 8.7 21.8l59.5-75.5ZM361.6 246.2a122 122 0 0 0-21.5-5.7L274.4 322c2.6 2.2 5.5 4 8.7 5.3 2.4.9 4.8 1.6 7.3 2.3l71.2-83.5ZM460.4 279.7c1-13 .7-25.2-.3-29.8l-53 65.7 1 2.7c1.5 2.6 6.8 5.4 13.5 6.8l38.8-45.4Z" fill="#fff"/>',faceMask:(a,l)=>'<path fill-rule="evenodd" clip-rule="evenodd" d="M158.8 304a359.4 359.4 0 0 1 59.6 32l-2.8 4c-13.9-9.2-36.4-22.2-58.6-31.3-11.2-4.5-22.1-8-32-9.5a40 40 0 0 0-23.9 2l-2.2-4.4a44.7 44.7 0 0 1 27-2.5c10.2 1.6 21.6 5.2 33 9.8Zm57 122.4 9.1-2.3 1.2 4.8-8.5 2.2c-7.4 2-14 3.7-20.7 4.3-9.5.8-19.3-.7-32.4-6.6l2-4.6c12.5 5.7 21.5 7 30 6.2 6.2-.5 12.2-2.1 19.4-4Z" fill="#fff"/><path d="M386.5 311A664.6 664.6 0 0 0 217 334.5c14 24 19 59.5 5 95.5 45.9 26 153.8 66.6 218.3 21a123.2 123.2 0 0 0 31.2-57c9.6-39.6-23-68.8-40.5-78.5-9.6-1.6-28.5-4.4-44.5-4.5Z" fill="#F7F7F7"/><path d="M211.5 338.5c2.4-4 13-7.2 19-7.5 3 3 9.2 17.1 10 49.5 1 40.5-7 52-8 54.5-.7 1.9-14-5-17-6.5s-3-4.5 0-11c6.5-14 3-54.5 0-63.5-2.4-7.2-3-12.8-4-15.5Z" fill="#EDEDED"/><path d="M409 344c-35.2-4.8-106 18-137 30 114.4-28.8 181.7-12 201 0-6.7-8-28.8-25.2-64-30ZM312 403c26 12.3 91.4 31.2 145 8-25 20-89 46.4-145-8Z" fill="#EDEDED"/>',mustache:(a,l)=>'<path d="M393.5 329.7c9-5.2 30.7-14.3 45.7-9 8.7 3 14.9 9.9 20.3 16 6 6.5 11 12 17.3 10.7.3 0 .6.4.3.6-5.7 4.7-26 20-39.4 20.6-16.3.9-24.2-7-36.4-19l-3.8-3.7c-3.8 10.2-18 23.7-50.4 40-59 29.5-97.7-3-116.3-25-.3-.3.3-.8.6-.7 7.2 4.2 15.3.5 35.8-9 9.4-4.3 17.8-8.7 25.6-12.8 19.3-10.2 35.1-18.5 53-18.7a124.6 124.6 0 0 1 47.7 10Z" fill="#71472D"/><path d="M339.6 337.5c11-4.8 32.6-1 42 1.4-33-1-42.4 11.1-68.8 25.3a53.7 53.7 0 0 1-49.6 1c27.8 8.8 62.7-21.6 76.4-27.7ZM366.6 355.4c-8.3 7.6-28.2 22.8-42.3 23.2 10.5-7.9 33.5-23.5 42.3-23.2ZM411.3 332.8c4.6-2.2 15.8-5.1 24 .8 9.3 6.5 16.5 12.3 21.2 12.4-4.9.4-14-.2-21.4-5.4a48.2 48.2 0 0 0-23.8-7.8Z" fill="#5E351B"/>'},eyes:{cheery:(a,l)=>'<path d="M300.3 309.2c8.9-.2 17.7 3 25.5 7.7a24 24 0 0 0 5.2-21.5c-2.4-12-11.8-20-20.9-18-9 2-14.4 13.5-11.9 25.5.5 2.3 1.2 4.3 2.1 6.3ZM416.1 310.6c1.3-2.9 2-6.4 2-10.2-.2-9.5-5.3-17.2-11.4-17.2-6.1 0-11 7.8-10.8 17.4.1 5.2 1.8 9.9 4.2 13 5-2 10.5-3 16-3Z" fill="#2A1200"/><path d="M333.5 238.7a43.9 43.9 0 0 0-38.2 13.2c-3.2 3.4-4 9.3-.7 13 3 3.6 8.6 4.6 12 1l3.2-3c.4-.3 1.3-.8 1.6-1.2l.5-.4a37.7 37.7 0 0 1 6-3c.5 0 1.2-.4 1.7-.5a35.6 35.6 0 0 1 6.3-1.2h2l4.3.5c4.4.7 9-3.6 9.2-8.4.1-5.3-3.2-9.3-8-10ZM425.4 254.4a31.4 31.4 0 0 0-20.2-12.6c-2.1-.4-4.6.4-6.3 1.8a9.5 9.5 0 0 0-3.1 6.2c-.1 2.4.3 5 1.8 6.8a9 9 0 0 0 5.7 3.5l1.2.3c1 .4 2.1.8 3.2 1.4 1.2.8 2.3 1.7 3.3 2.7l1 1.3a8.8 8.8 0 0 0 5.8 3.5c2 .2 4.6-.4 6.2-2 1.7-1.5 3-3.6 3.2-6 .1-2.5-.4-5-1.8-7Z" fill="#71472D"/>',normal:(a,l)=>'<path d="M331.2 300.5c0 11.9-6.2 21.5-19.1 19.5-9.3-2.5-15.5-9-15.5-21.5 0-13 7.7-21.5 15.5-21.5 10.6 0 19.1 11.6 19 23.5ZM419 300.3c0 8-3.6 16.5-12.8 15.5-7.8-.8-9.7-11-9.7-16 0-8.7 4.4-17 10.8-17 6.8 0 11.7 9.5 11.7 17.5Z" fill="#2A1200"/><path d="M337 244.2a43.9 43.9 0 0 0-40.5 1.4c-4 2.3-6.6 7.7-4.5 12.3 1.9 4.2 7 6.9 11.2 4.5 1.3-.8 2.6-1.4 4-2 .4-.2 1.5-.4 1.9-.7l.6-.2a37.5 37.5 0 0 1 6.5-1.1h1.9a34.2 34.2 0 0 1 6.3.8l2 .6c1.3.4 2.6 1 4 1.6 4 2 9.6-.8 11.1-5.3 1.7-5-.3-9.8-4.6-11.9ZM423.5 248.5c-7.4-4-16-5-23.6-2.7-2 .6-4 2.4-4.8 4.4-1 2-1 4.8-.2 7a10 10 0 0 0 4.6 5.3 9 9 0 0 0 6.6.7l1.1-.3h3.6c1.4.1 2.8.5 4.2 1l1.4.6c2 1.1 4.6 1.4 6.7.7 2-.6 4-2.3 4.8-4.4.8-2 1.1-4.6.2-6.9-1-2.3-2.4-4.2-4.6-5.4Z" fill="#71472D"/>',confused:(a,l)=>'<path d="M330.2 300.5c0 11.9-6.2 21.5-19.1 19.5-9.3-2.5-15.5-9-15.5-21.5 0-13 7.7-21.5 15.5-21.5 10.6 0 19.1 11.6 19 23.5ZM396.4 293c5.6.3 13.4-.3 18.7-3.9 1.8 3.3 3 7.4 3 11.2-.1 8-3.7 16.5-13 15.5-7.7-.8-9.6-11-9.6-16 0-2.4.3-4.7.9-6.8Z" fill="#2A1200"/><path d="M332 238.1a43.9 43.9 0 0 0-37.7 14.6c-3 3.4-3.8 9.4-.3 13 3.2 3.4 8.8 4.3 12 .6 1-1.1 2-2.2 3.1-3.1l1.6-1.3.5-.4a37.7 37.7 0 0 1 5.8-3.2l1.8-.6a34.5 34.5 0 0 1 5.8-1.3h.5l2-.1 4.3.3c4.4.6 8.8-4 8.8-8.7 0-5.3-3.4-9.2-8.2-9.8ZM419.5 276c-7.4 4.1-16 5-23.6 2.8-2-.6-4-2.4-4.9-4.4-.8-2-1-4.8-.2-7a10 10 0 0 1 4.6-5.3 9 9 0 0 1 6.7-.7l1 .3h3.6c1.4-.1 2.8-.5 4.2-1l1.5-.6c2-1.1 4.6-1.4 6.6-.7 2 .6 4 2.3 4.9 4.4.8 2 1 4.6.2 6.9-1 2.3-2.5 4.2-4.6 5.4Z" fill="#71472D"/>',starstruck:(a,l)=>'<path d="M343 294.4c0 14.8-9.4 26.8-28.7 24.3-14-3-21.3-8.8-21.3-24.3 0-16.2 7.8-27 21.4-29.2 20.9-3.3 28.6 14.4 28.5 29.2ZM419.2 290.9c0 11.8-4.9 24.4-17.2 23-10.3-1.3-13-16.3-13-23.7 0-13 6-25.1 14.5-25.2 9.2 0 15.7 14.1 15.7 25.9Z" fill="#2A1200"/><path d="M402.2 274c.2-1 1.6-1.1 1.9-.1l2.6 8.8c.2.5.6.8 1 .7l5.1-.8c.8 0 1.4.8 1 1.5l-4.2 7.1a1 1 0 0 0-.1.8l2.6 8.8c.2 1-1 1.8-1.7 1l-3.7-3.7a1 1 0 0 0-1.4.1l-5.7 7c-.6.7-1.8.3-1.7-.7l.7-10.3c0-.3 0-.5-.2-.7l-5.6-5.7c-.6-.5-.2-1.6.6-1.7l5.2-.8c.4 0 .7-.3.8-.8l2.8-10.5ZM318 272.7a1 1 0 0 1 1.9 0l4.7 11.5c.2.4.6.7 1 .6l9.7-1.2a1 1 0 0 1 .9 1.6l-7.2 8.2a1 1 0 0 0-.2 1l4.5 10.9a1 1 0 0 1-1.5 1.2l-8.4-5.7a1 1 0 0 0-1.2.1l-11.5 9.7a1 1 0 0 1-1.7-1l1.7-12.3a1 1 0 0 0-.4-1l-9-6a1 1 0 0 1 .4-1.8l9.8-1.3c.4 0 .7-.3.8-.6l5.7-14Z" fill="#fff"/><path d="M331.2 233.5c-13.3-4-28.5-.7-39.6 8.3-3.6 3-5.2 8.7-2.4 12.9 2.6 3.8 8 5.6 11.8 2.5 1.2-1 2.3-1.8 3.6-2.6l1.8-1 .5-.3a37.3 37.3 0 0 1 6.3-2.3l1.8-.3a33.9 33.9 0 0 1 6.4-.3c.7 0 1.3.2 2 .3 1.4.2 2.8.6 4.2 1 4.3 1.2 9.4-2.5 10.1-7.2.8-5.2-2-9.6-6.5-11ZM422.7 243.7c-6.5-5.4-14.6-8-22.6-7.4a8.1 8.1 0 0 0-5.6 3.3 9.5 9.5 0 0 0-1.6 6.8 10 10 0 0 0 3.4 6.2 9 9 0 0 0 6.4 2h1.1c1.2 0 2.3.3 3.5.6 1.3.4 2.6 1 4 1.8l1.2 1a8.8 8.8 0 0 0 6.4 2c2-.2 4.4-1.5 5.6-3.3 1.2-2 2-4.4 1.6-6.8-.5-2.4-1.5-4.6-3.4-6.2Z" fill="#71472D"/>',winking:(a,l)=>'<path d="M340.9 308.9a48 48 0 0 0-43.1-6.7c-.2 0-.4-.2-.2-.4 21.5-24.5 37.8-6.1 43.6 6.8 0 .2-.2.4-.3.3ZM419 300.3c0 8-3.6 16.5-12.8 15.5-7.8-.8-9.7-11-9.7-16 0-8.7 4.4-17 10.8-17 6.8 0 11.7 9.5 11.7 17.5Z" fill="#2A1200"/><path d="M333.5 238.7a43.9 43.9 0 0 0-38.2 13.2c-3.2 3.4-4 9.3-.7 13 3 3.6 8.6 4.6 12 1l3.2-3c.4-.3 1.3-.8 1.6-1.2l.5-.4a37.7 37.7 0 0 1 6-3c.5 0 1.2-.4 1.7-.5a35.6 35.6 0 0 1 6.3-1.2h2l4.3.5c4.4.7 9-3.6 9.2-8.4.1-5.3-3.2-9.3-8-10ZM425.4 254.4a31.4 31.4 0 0 0-20.2-12.6c-2.1-.4-4.6.4-6.3 1.8a9.5 9.5 0 0 0-3.1 6.2c-.1 2.4.3 5 1.8 6.8a9 9 0 0 0 5.7 3.5l1.2.3c1 .4 2.1.8 3.2 1.4 1.2.8 2.3 1.7 3.3 2.7l1 1.3a8.8 8.8 0 0 0 5.8 3.5c2 .2 4.6-.4 6.2-2 1.7-1.5 3-3.6 3.2-6 .1-2.5-.4-5-1.8-7Z" fill="#71472D"/>',sleepy:(a,l)=>'<path d="M340.9 289.1a48 48 0 0 1-43.1 6.7c-.2 0-.4.2-.2.4 21.5 24.5 37.8 6.1 43.6-6.8 0-.2-.2-.4-.3-.3ZM396 296a17.9 17.9 0 0 0 21.7 4.6c.2-.1.4.1.3.3-11.5 18.9-19.5 5.3-22.4-4.6 0-.2.2-.4.4-.2Z" fill="#2A1200"/><path d="M337 244.2a43.9 43.9 0 0 0-40.5 1.4c-4 2.3-6.6 7.7-4.5 12.3 1.9 4.2 7 6.9 11.2 4.5 1.3-.8 2.6-1.4 4-2 .4-.2 1.5-.4 1.9-.7l.6-.2a37.5 37.5 0 0 1 6.5-1.1h1.9a34.2 34.2 0 0 1 6.3.8l2 .6c1.3.4 2.6 1 4 1.6 4 2 9.6-.8 11.1-5.3 1.7-5-.3-9.8-4.6-11.9ZM423.5 248.5c-7.4-4-16-5-23.6-2.7-2 .6-4 2.4-4.8 4.4-1 2-1 4.8-.2 7a10 10 0 0 0 4.6 5.3 9 9 0 0 0 6.6.7l1.1-.3h3.6c1.4.1 2.8.5 4.2 1l1.4.6c2 1.1 4.6 1.4 6.7.7 2-.6 4-2.3 4.8-4.4.8-2 1.1-4.6.2-6.9-1-2.3-2.4-4.2-4.6-5.4Z" fill="#71472D"/>',sad:(a,l)=>'<path d="M401.9 284.8c3.9 1.8 9.3 3.9 14.5 5.1 1.6 3.1 2.5 6.9 2.5 10.3 0 8-3.6 16.5-13 15.5-7.7-.8-9.7-11-9.7-16 0-6 2.2-12 5.7-15ZM296.2 292.5c-.4 2-.6 4-.6 6 0 12.5 6.2 19 15.5 21.5 13 2 19.3-7.7 19.3-19.5 0-7-2.9-13.8-7.4-18.2a55.3 55.3 0 0 1-26.8 10.2Z" fill="#2A1200"/><path d="M324.8 237.7a43.9 43.9 0 0 0-32.3 24.2c-2 4.2-1.1 10 3.2 12.7 4 2.4 9.6 1.7 11.8-2.7.6-1.4 1.3-2.6 2-3.9.3-.4 1.1-1.2 1.3-1.7l.4-.4a37.4 37.4 0 0 1 4.7-4.7c.5-.3 1-.8 1.5-1a34.2 34.2 0 0 1 5.7-3 36.2 36.2 0 0 1 6.1-1.5c4.4-.7 7.5-6.2 6.2-10.8-1.5-5-5.8-7.9-10.6-7.2ZM425.2 260.4c-3.1-7.8-9.1-14-16.4-17.1-2-1-4.6-.7-6.6.2-1.9 1-3.8 3-4.5 5.2a10 10 0 0 0 0 7 9 9 0 0 0 4.7 4.9l1 .5c1 .6 2 1.4 2.9 2.2 1 1 1.8 2.2 2.5 3.4l.7 1.5c.9 2.1 2.7 4 4.7 4.8 2 .8 4.6.8 6.5-.3 2-1 3.8-2.9 4.6-5.2.7-2.3.8-4.8 0-7Z" fill="#71472D"/>',angry:(a,l)=>'<path d="M397 294.3a80.4 80.4 0 0 0 16.9-8.1c3.1 3.5 5 9 5 14 0 8-3.6 16.6-12.8 15.6-7.7-.8-9.7-11-9.7-16 0-1.9.2-3.8.6-5.5ZM301.2 283.1c-2.8 3.8-4.6 9-4.6 15.4 0 12.5 6.1 19 15.4 21.5 13 2 19.1-7.6 19.1-19.5a26 26 0 0 0-.8-6.4 49 49 0 0 1-29-11Z" fill="#2A1200"/><path d="M332 270.3a43.9 43.9 0 0 1-38.3-12.6c-3.3-3.3-4.2-9.2-1-13 3-3.6 8.6-4.7 12-1.2l3.3 3c.3.3 1.3.8 1.6 1.2l.6.3a37.7 37.7 0 0 0 6 3c.5 0 1.2.3 1.7.5a34.8 34.8 0 0 0 6.3 1h2c1.5-.2 2.9-.3 4.3-.6 4.4-.8 9 3.5 9.3 8.3.2 5.2-3 9.3-7.7 10.1ZM421.7 261.4c-6 6-13.8 9.5-21.8 9.7a8.1 8.1 0 0 1-6-2.8 9.5 9.5 0 0 1-2.1-6.5 10 10 0 0 1 2.7-6.5 9 9 0 0 1 6.2-2.7h1.1l3.4-1c1.3-.6 2.5-1.4 3.7-2.2l1.2-1.1c1.6-1.7 4-2.7 6.1-2.7 2.1 0 4.6 1 6 2.8 1.4 1.8 2.4 4 2.2 6.5-.2 2.5-1 4.8-2.7 6.5Z" fill="#71472D"/>'},face:K,hair:Q,mouth:{openedSmile:(a,l)=>'<path d="M393.3 367c3 1.7 24.1-24.8 38.2-16.7 4.7 2.7 8.3 7.3 11 12.3 6 11 8 24.4 5.7 36.8a67 67 0 0 1-29 41.2c-37.4 25.5-67 20.7-106.8 6-31.4-11.7-74-35.6-65.2-78.7 15.6-76 146.1-1 146.1-1Z" fill="#873C41"/><path d="M285.3 362c10.2 6.4 22.5 7 33.6 4.5 2.1-.5 3.8 1.3 4.3 3.4 5.4 21 36 32 51.5 18.5 1.2-1 3.3-1.3 4.5-.1 8.3 7.8 21.6 10 31.4 4.6 13.8-7.5 13.7-28.6 10-43.3-12.2 3.7-25 18.7-27.3 17.3 0 0-80.1-46-122.3-29.4a31 31 0 0 0 14.3 24.6Z" fill="#fff"/><path d="M400.3 443.8c-22-20.1-48.9-31.4-76.2-39.3-23.4-6.9-49.7-11.3-73.4-4.5 11 23.5 39.2 38.2 61.7 46.6 34.8 12.9 61.8 18.2 93 2.2-1.7-1.7-3.3-3.4-5.1-5Z" fill="#EE7E8B"/>',unimpressed:(a,l)=>'<path fill-rule="evenodd" clip-rule="evenodd" d="M317 384a4 4 0 0 1 4-4h92a4 4 0 0 1 0 8h-92a4 4 0 0 1-4-4Z" fill="#592125"/>',gapSmile:(a,l)=>'<path d="M393.3 367c3 1.7 24.1-24.8 38.2-16.7 4.7 2.7 8.3 7.3 11 12.3 6 11 8 24.4 5.7 36.8a67 67 0 0 1-29 41.2c-37.4 25.5-67 20.7-106.8 6-31.4-11.7-74-35.6-65.2-78.7 15.6-76 146.1-1 146.1-1Z" fill="#873C41"/><path d="M318.9 366.5a44.8 44.8 0 0 1-33.6-4.4 31 31 0 0 1-14.3-24.6c26.3-10.3 67.3 3.6 94.5 15.6l-13 38.9c-12.8-2.1-26-9.4-29.3-22.1-.5-2-2.2-3.9-4.3-3.4ZM420.5 349.6c3.8 14.7-5.7 34.9-19.5 42.4-14 8.7-31.3 7-37.5 1.8l11.2-36.5c11.3 5.4 18.6 9.6 18.6 9.6 2.3 1.4 15-13.6 27.2-17.3Z" fill="#fff"/><path d="M400.3 443.8c-22-20.1-48.9-31.4-76.2-39.3-23.4-6.9-49.7-11.3-73.4-4.5 11 23.5 39.2 38.2 61.7 46.6 34.8 12.9 61.8 18.2 93 2.2-1.7-1.7-3.3-3.4-5.1-5Z" fill="#EE7E8B"/>',openSad:(a,l)=>'<path d="M311.4 362.3C339 346 362.6 345 379.3 344c33.3-2 61.1 8.8 68.5 42.7 6.8 31.2-16.9 49.4-27.8 49-11-.3-13.3-12.2-39.3-12.8-26-.6-63.4 42.9-85.5 26.6-22.2-16.4-18.4-66.6 16.2-87Z" fill="#873C41"/><path d="M433.3 430.2a22.8 22.8 0 0 1-13.1 5.3c-4.3-.1-7.3-2-10.9-4.4-5.5-3.6-12.6-8.1-28.5-8.5-11-.2-24.1 7.4-37.2 15.1-17.8 10.4-35.6 20.9-48.4 11.5-11.7-8.6-16.1-26.4-12.8-44.4 20-6 42.3-5.6 62.8-3.3 29.5 3.3 59.2 10 85.4 26.8a84 84 0 0 1 2.7 1.9Z" fill="#EE7E8B"/><path d="M333.4 368.5a46.8 46.8 0 0 1-37.9 7.5c4.3-5.3 9.6-10 15.9-13.7a136.3 136.3 0 0 1 68-18.4c21.6-1.4 40.8 2.7 53.8 14.9l-.6.7a29 29 0 0 1-32.3 7.3c-1.6-.7-3.6.4-4.4 1.9-9.8 18.9-43.8 19.8-57 1.4-1.3-1.7-3.6-2.8-5.5-1.6Z" fill="#fff"/>',teethSmile:(a,l)=>'<path d="M385.3 380.4c9.4.2 18.3-2.5 26-10.5 4-4.2 8.2-6.5 14-3 13.9 8.7 17.1 30.2 13.4 44.6a63.3 63.3 0 0 1-30.7 36.8c-38.2 22.4-67.6 17.4-106.8 3-30.8-11.2-72.5-33.9-62-72.9 13.2-48.3 69.6-25 101.4-12 13.5 5.5 29.6 13.5 44.7 14Z" fill="#fff"/><path d="m347 463.2-6-.8 22.7-86.7 5.7 1.9-22.3 85.6ZM426.9 433a68.7 68.7 0 0 1-5.1 5.3l-13-66 2.6-2.4c.8-.9 1.7-1.7 2.6-2.4l12.9 65.6ZM296.8 351.4 264.4 433a98.1 98.1 0 0 1-5-3.7l31.4-79 6 1.1Z" fill="#D1D3D4"/>',awkwardSmile:(a,l)=>'<path d="M351.7 357.8c35.7 2.3 57.8 0 65 0 30-4.5 42.7 48.4 5 76.2-11.2 8.3-16.7 7-40.7 7-24 0-50 9-64.5 4.9-41.1-11.6-48.3-41.4-44.7-57.8 5-22.1 15.2-34.4 80-30.3Z" fill="#fff"/><path d="m370.1 441.5-6 .7 3.3-83.6 6 .1-3.3 82.8ZM434.1 421.9c-1.5 2-3.2 4-5.1 5.9l-11-70.2c2-.2 4 0 6 .3l10.1 64ZM306.8 358.3 294.2 436c-2-1.3-3.8-2.6-5.4-4l11.7-72.5c2-.5 4-.8 6.3-1.2Z" fill="#D1D3D4"/>',braces:(a,l)=>'<path d="M393.3 367c3 1.7 24.1-24.8 38.2-16.7 4.7 2.7 8.3 7.3 11 12.3 6 11 8 24.4 5.7 36.8a67 67 0 0 1-29 41.2c-37.4 25.5-67 20.7-106.8 6-31.4-11.7-74-35.6-65.2-78.7 15.6-76 146.1-1 146.1-1Z" fill="#873C41"/><path d="M285.3 362c10.2 6.4 22.5 7 33.6 4.5 2.1-.5 3.8 1.3 4.3 3.4 5.4 21 36 32 51.5 18.5 1.2-1 3.3-1.3 4.5-.1 8.3 7.8 21.6 10 31.4 4.6 13.8-7.5 13.7-28.6 10-43.3-12.2 3.7-25 18.7-27.3 17.3 0 0-80.1-46-122.3-29.4a31 31 0 0 0 14.3 24.6Z" fill="#fff"/><path d="M400.3 443.8c-22-20.1-48.9-31.4-76.2-39.3-23.4-6.9-49.7-11.3-73.4-4.5 11 23.5 39.2 38.2 61.7 46.6 34.8 12.9 61.8 18.2 93 2.2-1.7-1.7-3.3-3.4-5.1-5Z" fill="#EE7E8B"/><path d="m279.6 335 7 4a605 605 0 0 0 14.1 7.2c15.4 7.7 39.2 15.9 51.6 20.1l2.2.8c14.5 5 32.2 10.4 51.5 10.4a30.8 30.8 0 0 0 14.8-4.3 1.5 1.5 0 0 1 1.4 2.6 33.9 33.9 0 0 1-16.2 4.7c-19.8 0-38-5.6-52.5-10.6l-2.2-.7a486.5 486.5 0 0 1-53-21h-.1c-3.8-1.8-8.6-4.2-13-6.6-3.7-2-7-3.9-9.7-5.6l4.1-1Z" fill="#C4C4C4"/><rect x="399.7" y="372" width="12" height="12" rx="2" transform="rotate(3.2 399.7 372)" fill="#A09E9E"/><rect x="349.1" y="361" width="12" height="12" rx="2" transform="rotate(15 349.1 361)" fill="#A09E9E"/><rect x="297.3" y="340" width="12" height="12" rx="2" transform="rotate(26.4 297.3 340)" fill="#A09E9E"/>',kawaii:(a,l)=>'<path fill-rule="evenodd" clip-rule="evenodd" d="M386.9 358c1 0 2 .4 2.9 1.1 4.2 4 11.4 9.2 19.5 11.7 7.9 2.5 16 2.2 23-3.8a4 4 0 1 1 5.3 6 31 31 0 0 1-30.7 5.5 59.7 59.7 0 0 1-19.6-11 84.3 84.3 0 0 1-101.3 16 4 4 0 0 1 4-7 76.3 76.3 0 0 0 94-17.2 4 4 0 0 1 2.9-1.3Z" fill="#592125"/>'}},Symbol.toStringTag,{value:"Module"});function la({prng:a,group:l,values:c=[]}){const i=aa,t=a.pick(c);return t&&i[l][t]?{name:t,value:i[l][t]}:void 0}function ca(a){return"transparent"===a?a:`#${a}`}const ia=Object.defineProperty({__proto__:null,create:({prng:a,options:l})=>{var c,i,t,e,r,h,d,n,o,f;const p=function({prng:a,options:l}){const c=la({prng:a,group:"face",values:l.face}),i=la({prng:a,group:"mouth",values:l.mouth}),t=la({prng:a,group:"eyes",values:l.eyes}),e=la({prng:a,group:"hair",values:l.hair}),r=la({prng:a,group:"accessories",values:l.accessories});return{face:c,mouth:i,eyes:t,hair:e,accessories:a.bool(l.accessoriesProbability)?r:void 0}}({prng:a,options:l}),s=function({prng:a,options:l}){var c,i;return{skin:ca(a.pick(null!==(c=l.skinColor)&&void 0!==c?c:[],"transparent")),hair:ca(a.pick(null!==(i=l.hairColor)&&void 0!==i?i:[],"transparent"))}}({prng:a,options:l});return{attributes:{viewBox:"0 0 480 480",fill:"none","shape-rendering":"auto"},body:`<g transform="matrix(.85775 0 0 .85427 52 47)">${null!==(i=null===(c=p.face)||void 0===c?void 0:c.value(p,s))&&void 0!==i?i:""}</g><g transform="matrix(.85472 0 0 .855 19 -17)">${null!==(e=null===(t=p.mouth)||void 0===t?void 0:t.value(p,s))&&void 0!==e?e:""}</g><g transform="matrix(.85472 0 0 .855 19 -17)">${null!==(h=null===(r=p.eyes)||void 0===r?void 0:r.value(p,s))&&void 0!==h?h:""}</g><g transform="matrix(.85472 0 0 .85667 18 -15)">${null!==(n=null===(d=p.hair)||void 0===d?void 0:d.value(p,s))&&void 0!==n?n:""}</g><g transform="matrix(.85472 0 0 .85667 14 -12)">${null!==(f=null===(o=p.accessories)||void 0===o?void 0:o.value(p,s))&&void 0!==f?f:""}</g>`,extra:()=>({...Object.entries(p).reduce(((a,[l,c])=>(a[l]=null==c?void 0:c.name,a)),{}),...Object.entries(s).reduce(((a,[l,c])=>(a[`${l}Color`]=c,a)),{})})}},meta:{title:"Custom Avatar",creator:"Ashley Seo",source:"https://www.figma.com/community/file/881358461963645496",homepage:"http://www.ashleyseo.com/",license:{name:"CC BY 4.0",url:"https://creativecommons.org/licenses/by/4.0/"}},schema:{$schema:"http://json-schema.org/draft-07/schema#",properties:{accessories:{type:"array",items:{type:"string",enum:["catEars","glasses","sailormoonCrown","clownNose","sleepMask","sunglasses","faceMask","mustache"]},default:["catEars","glasses","sailormoonCrown","clownNose","sleepMask","sunglasses","faceMask","mustache"]},accessoriesProbability:{type:"integer",minimum:0,maximum:100,default:50},eyes:{type:"array",items:{type:"string",enum:["cheery","normal","confused","starstruck","winking","sleepy","sad","angry"]},default:["cheery","normal","confused","starstruck","winking","sleepy","sad","angry"]},face:{type:"array",items:{type:"string",enum:["base"]},default:["base"]},hair:{type:"array",items:{type:"string",enum:["shortHair","mohawk","wavyBob","bowlCutHair","curlyBob","straightHair","braids","shavedHead","bunHair","froBun","bangs","halfShavedHead","curlyShortHair"]},default:["shortHair","mohawk","wavyBob","bowlCutHair","curlyBob","straightHair","braids","shavedHead","bunHair","froBun","bangs","halfShavedHead","curlyShortHair"]},hairColor:{type:"array",items:{type:"string",pattern:"^(transparent|[a-fA-F0-9]{6})$"},default:["220f00","3a1a00","71472d","e2ba87","605de4","238d80","d56c0c","e9b729"]},mouth:{type:"array",items:{type:"string",enum:["openedSmile","unimpressed","gapSmile","openSad","teethSmile","awkwardSmile","braces","kawaii"]},default:["openedSmile","unimpressed","gapSmile","openSad","teethSmile","awkwardSmile","braces","kawaii"]},skinColor:{type:"array",items:{type:"string",pattern:"^(transparent|[a-fA-F0-9]{6})$"},default:["ffe4c0","f5d7b1","efcc9f","e2ba87","c99c62","a47539","8c5a2b","643d19"]}}}},Symbol.toStringTag,{value:"Module"}),ta={antenna01:(a,l)=>`<mask id="sidesAntenna01-a" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="6" y="11" width="156" height="51"><g fill="#fff"><rect x="6" y="31" width="36" height="14" rx="4"/><rect x="18" y="14" width="36" height="48" rx="4"/><rect x="126" y="28" width="36" height="24" rx="4"/><path d="M11 11h2v20h-2z"/></g></mask><g mask="url(#sidesAntenna01-a)"><path d="M0 0h180v76H0V0Z" fill="${p(`${l.base}`)}"/><path fill="#fff" fill-opacity=".3" d="M0 0h180v76H0z"/><path fill="#000" fill-opacity=".1" d="M0 38h180v38H0z"/></g><path fill="#fff" fill-opacity=".4" d="M11 11h2v20h-2z"/><circle cx="12" cy="8" r="4" fill="#FFEA8F"/><circle cx="13" cy="7" r="2" fill="#fff"/>`,antenna02:(a,l)=>`<mask id="sidesAntenna02-a" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="10" y="9" width="160" height="51"><g fill="#fff"><rect x="10" y="28" width="36" height="32" rx="4"/><path d="M160 9h2v20h-2z"/><rect x="134" y="28" width="36" height="32" rx="4"/></g></mask><g mask="url(#sidesAntenna02-a)"><path d="M0 0h180v76H0V0Z" fill="${p(`${l.base}`)}"/><path d="M0 0h180v76H0V0Z" fill="#fff" fill-opacity=".3"/><path fill="#000" fill-opacity=".1" d="M0 38h180v38H0z"/></g><path fill="#fff" fill-opacity=".4" d="M160 8h2v20h-2z"/><circle cx="161" cy="5" r="4" fill="#E1E6E8"/><circle cx="162" cy="4" r="2" fill="#fff"/>`,cables01:(a,l)=>`<path d="M38 12c-2.95 11.7-19.9 6.67-23.37 18-3.46 11.35 8.03 20 17.53 20" stroke="#2A3544" stroke-width="6" opacity=".9"/><path d="M150 55c8.4 3.49 20.1-7.6 16-16.5-4.1-8.9-16-6.7-16-19.3" stroke="#2A3544" stroke-width="4" opacity=".9"/><mask id="sidesCables01-a" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="21" y="6" width="138" height="58"><g fill="#fff"><rect x="21" y="35" width="16" height="22" rx="2"/><rect x="136" y="42" width="23" height="22" rx="2"/><rect x="136" y="6" width="23" height="18" rx="2"/></g></mask><g mask="url(#sidesCables01-a)"><path d="M0 0h180v76H0V0Z" fill="${p(`${l.base}`)}"/><path d="M0 0h180v76H0V0Z" fill="#fff" fill-opacity=".3"/></g>`,cables02:(a,l)=>`<g opacity=".9" stroke="#2A3544"><ellipse cx="32.5" cy="23" rx="16.5" ry="18" stroke-width="6"/><path d="M29.51 36.76c-7.4 4.29-17 1.55-21.42-6.1" stroke-width="4"/><ellipse cx="28.5" cy="52.5" rx="16.5" ry="14.5" stroke-width="4"/></g><g opacity=".9" stroke="#2A3544"><path d="M168.6 60.42c-4.27-7.41-13.95-9.84-21.6-5.42" stroke-width="4"/><ellipse cx="148.5" cy="22.5" rx="16.5" ry="15.5" stroke-width="6"/></g><mask id="sidesCables02-a" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="21" y="0" width="138" height="72"><g fill="#fff"><rect x="21" y="27" width="16" height="22" rx="2"/><rect x="22" y="60" width="16" height="12" rx="2"/><rect x="143" y="42" width="16" height="22" rx="2"/><rect x="143" width="16" height="22" rx="2"/></g></mask><g mask="url(#sidesCables02-a)"><path d="M0 0h180v76H0V0Z" fill="${p(`${l.base}`)}"/><path d="M0 0h180v76H0V0Z" fill="#fff" fill-opacity=".3"/></g>`,round:(a,l)=>`<mask id="sidesRound-a" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="12" y="16" width="156" height="45"><g fill="#fff"><ellipse cx="150" cy="38.5" rx="18" ry="22.5"/><ellipse cx="18" cy="22.5" rx="18" ry="22.5" transform="matrix(-1 0 0 1 48 16)"/></g></mask><g mask="url(#sidesRound-a)"><path d="M0 0h180v76H0V0Z" fill="${p(`${l.base}`)}"/><path d="M0 0h180v76H0V0Z" fill="#fff" fill-opacity=".3"/><path fill="#000" fill-opacity=".2" d="M20 0h140v76H20z"/></g>`,square:(a,l)=>`<mask id="sidesSquare-a" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="14" y="16" width="152" height="44"><g fill="#fff"><rect x="14" y="16" width="36" height="44" rx="9"/><rect x="130" y="16" width="36" height="44" rx="9"/></g></mask><g mask="url(#sidesSquare-a)"><path d="M0 0h180v76H0V0Z" fill="${p(`${l.base}`)}"/><path d="M0 0h180v76H0V0Z" fill="#fff" fill-opacity=".3"/><path fill="#000" fill-opacity=".1" d="M0 38h180v38H0z"/></g>`,squareAssymetric:(a,l)=>`<mask id="sidesSquareAssymetric-a" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="10" y="8" width="165" height="60"><g fill="#fff"><rect x="10" y="31" width="36" height="30" rx="4"/><rect x="20" y="15" width="26" height="30" rx="4"/><rect x="139" y="23" width="36" height="30" rx="4"/><rect x="134" y="8" width="36" height="60" rx="4"/></g></mask><g mask="url(#sidesSquareAssymetric-a)"><path d="M0 0h180v76H0V0Z" fill="${p(`${l.base}`)}"/><path d="M0 0h180v76H0V0Z" fill="#fff" fill-opacity=".3"/><path fill="#000" fill-opacity=".1" d="M0 47h180v29H0z"/><circle cx="161" cy="20" r="5" fill="#fff" fill-opacity=".6"/><circle cx="161" cy="36" r="5" fill="#fff" fill-opacity=".6"/></g>`},ea={antenna:(a,l)=>`<mask id="topAntenna-a" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="38" y="5" width="24" height="47"><path d="M38 38c0-1.1.9-2 2-2h20a2 2 0 0 1 2 2v14H38V38ZM48 5h4v31h-4z" fill="#fff"/></mask><g mask="url(#topAntenna-a)"><path d="M0 0h100v52H0V0Z" fill="${p(`${l.base}`)}"/><path d="M0 3h100v52H0V3Z" fill="#fff" fill-opacity=".3"/><path fill="#fff" fill-opacity=".2" d="M38 36h24v16H38z"/></g><circle cx="50" cy="8" r="8" fill="#FFE65C"/><circle cx="53" cy="5" r="3" fill="#fff"/>`,antennaCrooked:(a,l)=>`<mask id="topAntennaCrooked-a" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="38" y="12" width="24" height="40"><g fill="#fff"><path d="M55.54 34.39 51 45h-3.74l4.92-10.44-6.05-10.43 3.22-11.84 2.9.8-2.9 10.62 6.2 10.68Z"/><path d="M38 39h24v13H38z"/></g></mask><g mask="url(#topAntennaCrooked-a)"><path d="M0 0h100v52H0V0Z" fill="${p(`${l.base}`)}"/><path d="M0 6h100v52H0V6Z" fill="#fff" fill-opacity=".3"/><path fill="#fff" fill-opacity=".2" d="M38 39h24v13H38z"/></g><circle cx="50" cy="8" r="8" fill="#FFE65C"/><circle cx="53" cy="5" r="3" fill="#fff"/>`,bulb01:(a,l)=>`<mask id="topBulb01-a" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="22" y="0" width="56" height="52"><g fill="#fff"><path fill-rule="evenodd" clip-rule="evenodd" d="M32 16A16 16 0 0 1 48 0h4a16 16 0 0 1 16 16v16a8 8 0 0 1-8 8H40a8 8 0 0 1-8-8V16Z"/><rect x="22" y="40" width="56" height="12" rx="1"/></g></mask><g mask="url(#topBulb01-a)"><path d="M0 0h100v52H0V0Z" fill="${p(`${l.base}`)}"/><path d="M0 0h100v52H0V0Z" fill="#fff" fill-opacity=".3"/><path fill="#fff" fill-opacity=".4" d="M20-3h60v43H20z"/><path d="M49 3.5c4.93 0 9.37 2.13 12.44 5.52" stroke="#fff" stroke-width="2" stroke-linecap="round"/><path d="m49.83 26-9-9L38 19.83l10 10V40h4V29.97l10.14-10.14L59.31 17l-9 9h-.48Z" fill="#fff" fill-opacity=".8"/></g>`,glowingBulb01:(a,l)=>'<g filter="url(#topGlowingBulb01-a)"><path fill-rule="evenodd" clip-rule="evenodd" d="M32 24A16 16 0 0 1 48 8h4a16 16 0 0 1 16 16v8a8 8 0 0 1-8 8H40a8 8 0 0 1-8-8v-8Z" fill="#fff" fill-opacity=".3"/></g><path d="M49 11.5c4.93 0 9.37 2.13 12.44 5.52" stroke="#fff" stroke-width="2" stroke-linecap="round"/><path d="m49.83 29-9-9L38 22.83l10 10V40h4v-7.03l10.14-10.14L59.31 20l-9 9h-.48Z" fill="#fff" fill-opacity=".8"/><rect x="22" y="40" width="56" height="12" rx="1" fill="#48494B"/><defs><filter id="topGlowingBulb01-a" x="24" y="0" width="52" height="48" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset/><feGaussianBlur stdDeviation="4"/><feColorMatrix values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0"/><feBlend in2="BackgroundImageFix" result="effect1_dropShadow_617_621"/><feBlend in="SourceGraphic" in2="effect1_dropShadow_617_621" result="shape"/><feColorMatrix in="SourceAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset/><feGaussianBlur stdDeviation="2"/><feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/><feColorMatrix values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0"/><feBlend in2="shape" result="effect2_innerShadow_617_621"/></filter></defs>',glowingBulb02:(a,l)=>'<g filter="url(#topGlowingBulb02-a)"><path fill-rule="evenodd" clip-rule="evenodd" d="M30 33a20 20 0 1 1 40 0v11H30V33Z" fill="#fff" fill-opacity=".3"/></g><ellipse cx="50" cy="30" rx="4" ry="6" fill="#fff" fill-opacity=".6"/><path d="M50 15.5c4.93 0 9.37 2.13 12.44 5.52m2.43 3.5c.7 1.3 1.21 2.73 1.53 4.23" stroke="#fff" stroke-width="2" stroke-linecap="round"/><rect x="20" y="36" width="60" height="16" rx="1" fill="#48494B"/><defs><filter id="topGlowingBulb02-a" x="22" y="5" width="56" height="47" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset/><feGaussianBlur stdDeviation="4"/><feColorMatrix values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0"/><feBlend in2="BackgroundImageFix" result="effect1_dropShadow_617_633"/><feBlend in="SourceGraphic" in2="effect1_dropShadow_617_633" result="shape"/><feColorMatrix in="SourceAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset/><feGaussianBlur stdDeviation="2"/><feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/><feColorMatrix values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0"/><feBlend in2="shape" result="effect2_innerShadow_617_633"/></filter></defs>',horns:(a,l)=>`<mask id="topHorns-a" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="8" y="12" width="84" height="40"><g fill="#fff"><path d="M8 40h26v12H8z"/><path transform="matrix(-1 0 0 1 92 40)" d="M0 0h26v12H0z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M16.52 13.74c0 7.84 5.39 20.71 13.72 27.04H11.36S7.84 22.66 13.43 14.1c.9-1.38 3.1-1.42 3.1-.36ZM84 14c.66 7.04-5.77 20.62-14 27h19s3.14-18.26-2-27c-1-1.7-3.14-1.45-3 0Z"/></g></mask><g mask="url(#topHorns-a)"><path d="M0 0h100v52H0V0Z" fill="${p(`${l.base}`)}"/><path d="M0 0h100v52H0V0Z" fill="#fff" fill-opacity=".3"/><path fill="#000" fill-opacity=".4" d="M0 40h100v12H0z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M15.46 13h16.1v27H20.83c-7.45-7.85-5.36-27-5.36-27ZM84.82 13h7.75v27H81.82c5.75-7.8 3-27 3-27Z" fill="#fff" fill-opacity=".4"/></g>`,lights:(a,l)=>`<mask id="topLights-a" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="10" y="22" width="80" height="30"><g fill="#fff"><path d="M10 42c0-1.1.9-2 2-2h76a2 2 0 0 1 2 2v10H10V42Z"/><path d="M18 27a5 5 0 0 1 5-5h6a5 5 0 0 1 5 5v25H18V27ZM42 27a5 5 0 0 1 5-5h6a5 5 0 0 1 5 5v25H42V27ZM66 27a5 5 0 0 1 5-5h6a5 5 0 0 1 5 5v25H66V27Z"/></g></mask><g mask="url(#topLights-a)"><path d="M0 0h100v52H0V0Z" fill="${p(`${l.base}`)}"/><path d="M0 0h100v52H0V0Z" fill="#fff" fill-opacity=".3"/><path fill="#fff" fill-opacity=".6" d="M0 0h100v40H0z"/><rect x="24" y="28" width="4" height="8" rx="2" fill="#fff" fill-opacity=".6"/><rect x="48" y="28" width="4" height="8" rx="2" fill="#fff" fill-opacity=".6"/><rect x="72" y="28" width="4" height="8" rx="2" fill="#fff" fill-opacity=".6"/></g>`,pyramid:(a,l)=>`<mask id="topPyramid-a" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="18" y="8" width="64" height="44"><path fill-rule="evenodd" clip-rule="evenodd" d="m50 8 32 44H18L50 8Z" fill="#fff"/></mask><g mask="url(#topPyramid-a)"><path d="M0 0h100v52H0V0Z" fill="${p(`${l.base}`)}"/><path d="M0 0h100v52H0V0Z" fill="#fff" fill-opacity=".3"/><path fill="#fff" fill-opacity=".8" d="M50 4h30v48H50z"/></g>`,radar:(a,l)=>'<mask id="topRadar-a" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="37" y="0" width="36" height="53"><g fill="#fff"><path fill-rule="evenodd" clip-rule="evenodd" d="M43.8.11A20 20 0 1 0 72.08 28.4"/><circle cx="67.13" cy="5.06" r="4" transform="rotate(45 67.13 5.06)"/><path transform="rotate(45 64.3 6.48)" d="M64.31 6.48h2v26h-2z"/><path d="M47.94 28.11h4v24h-4z"/></g></mask><g mask="url(#topRadar-a)"><path d="M0 0h100v52H0V0Z" fill="#90A4AE"/><path d="M0 0h100v52H0V0Z" fill="#fff" fill-opacity=".3"/><path fill-rule="evenodd" clip-rule="evenodd" d="M43.8.11A20 20 0 1 0 72.08 28.4" fill="#fff" fill-opacity=".2"/><circle cx="67.13" cy="7.41" r="5.66" transform="rotate(45 67.13 7.4)" fill="#fff" fill-opacity=".8"/></g>'},ra={round01:(a,l)=>{var c,i;return`<mask id="faceRound01-a" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="0" y="0" width="130" height="120"><path fill-rule="evenodd" clip-rule="evenodd" d="M66 0c58.35 0 64 40.69 64 78 0 33.31-25.47 42-64 42-37.46 0-66-8.69-66-42C0 40.69 7.65 0 66 0Z" fill="#fff"/></mask><g mask="url(#faceRound01-a)"><path d="M-4-2h138v124H-4V-2Z" fill="${p(`${l.base}`)}"/><g transform="translate(-1 -1)">${null!==(i=null===(c=a.texture)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}</g></g>`},round02:(a,l)=>{var c,i;return`<mask id="faceRound02-a" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="0" y="0" width="130" height="120"><path fill-rule="evenodd" clip-rule="evenodd" d="M0 31v-1c.18-.48.4-1.5 1-3 .83-3.06 2.78-6.56 6-10C16.7 6.6 35.17 0 65 0s48.3 6.6 58 17c3.22 3.44 5.17 6.94 6 10 .6 1.5.82 2.52 1 3v40c0-.1-.03.5 0 1a53.93 53.93 0 0 1-1 6c-1.19 6-3.4 11.91-7 17-9.72 16.34-27.74 26-57 26s-47.28-9.66-57-26C4.4 88.91 2.2 83 1 77a53.95 53.95 0 0 1-1-6c.03-.45 0-1.32 0-1V31Z" fill="#fff"/></mask><g mask="url(#faceRound02-a)"><path d="M-4-2h138v124H-4V-2Z" fill="${p(`${l.base}`)}"/><g transform="translate(-1 -1)">${null!==(i=null===(c=a.texture)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}</g></g>`},square01:(a,l)=>{var c,i;return`<mask id="faceSquare01-a" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="0" y="0" width="130" height="120"><rect width="130" height="120" rx="18" fill="#fff"/></mask><g mask="url(#faceSquare01-a)"><path d="M-2-2h134v124H-2V-2Z" fill="${p(`${l.base}`)}"/><g transform="translate(-1 -1)">${null!==(i=null===(c=a.texture)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}</g></g>`},square02:(a,l)=>{var c,i;return`<mask id="faceSquare02-a" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="0" y="0" width="130" height="120"><path d="M0 12A12 12 0 0 1 12 0h106a12 12 0 0 1 12 12v70a38 38 0 0 1-38 38H38A38 38 0 0 1 0 82V12Z" fill="#fff"/></mask><g mask="url(#faceSquare02-a)"><path d="M-2-2h134v124H-2V-2Z" fill="${p(`${l.base}`)}"/><g transform="translate(-1 -1)">${null!==(i=null===(c=a.texture)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}</g></g>`},square03:(a,l)=>{var c,i;return`<mask id="faceSquare03-a" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="0" y="0" width="130" height="120"><path fill-rule="evenodd" clip-rule="evenodd" d="M0 18A18 18 0 0 1 18 0h94a18 18 0 0 1 18 18v27.15a40 40 0 0 1-2.28 13.31L110.24 108a18 18 0 0 1-16.98 12H36.74a18 18 0 0 1-16.98-12L2.28 58.45A40 40 0 0 1 0 45.15V18Z" fill="#fff"/></mask><g mask="url(#faceSquare03-a)"><path d="M-2-2h134v124H-2V-2Z" fill="${p(`${l.base}`)}"/><g transform="translate(-1 -1)">${null!==(i=null===(c=a.texture)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}</g></g>`},square04:(a,l)=>{var c,i;return`<mask id="faceSquare04-a" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="0" y="0" width="130" height="120"><path fill-rule="evenodd" clip-rule="evenodd" d="M0 102V68.85a40 40 0 0 1 2.28-13.31L19.76 12A18 18 0 0 1 36.74 0h56.52a18 18 0 0 1 16.98 12l17.48 43.54A40 40 0 0 1 130 68.85V102a18 18 0 0 1-18 18H18a18 18 0 0 1-18-18Z" fill="#fff"/></mask><g mask="url(#faceSquare04-a)"><path d="M-2-2h134v124H-2V-2Z" fill="${p(`${l.base}`)}"/><g transform="translate(-1 -1)">${null!==(i=null===(c=a.texture)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}</g></g>`}},ha=Object.defineProperty({__proto__:null,eyes:{bulging:(a,l)=>'<circle cx="28" cy="24" r="18" fill="#000" fill-opacity=".2"/><circle cx="74" cy="24" r="18" fill="#000" fill-opacity=".2"/><circle cx="28" cy="24" r="15" fill="#F1EEDA"/><circle cx="74" cy="24" r="15" fill="#F1EEDA"/><rect x="26" y="15" width="10" height="10" rx="2" fill="#000" fill-opacity=".8"/><rect x="74" y="15" width="10" height="10" rx="2" fill="#000" fill-opacity=".8"/>',dizzy:(a,l)=>'<path d="m25 27.2 5.5 5.5c.5.4 1.2.4 1.6 0l1.6-1.6c.4-.5.4-1.2 0-1.6L28.2 24l5.5-5.5c.4-.5.4-1.2 0-1.6l-1.6-1.6c-.5-.4-1.2-.4-1.6 0L25 20.8l-5.5-5.5c-.5-.4-1.2-.4-1.6 0l-1.6 1.6c-.4.4-.4 1.1 0 1.6l5.5 5.5-5.5 5.5c-.4.5-.4 1.2 0 1.6l1.6 1.6c.5.4 1.2.4 1.6 0l5.5-5.5ZM79 27.2l5.5 5.5c.5.4 1.2.4 1.6 0l1.6-1.6c.4-.5.4-1.2 0-1.6L82.2 24l5.5-5.5c.4-.5.4-1.2 0-1.6l-1.6-1.6c-.5-.4-1.2-.4-1.6 0L79 20.8l-5.5-5.5c-.5-.4-1.2-.4-1.6 0l-1.6 1.6c-.4.4-.4 1.1 0 1.6l5.5 5.5-5.5 5.5c-.4.5-.4 1.2 0 1.6l1.6 1.6c.5.4 1.2.4 1.6 0l5.5-5.5Z" fill="#000" fill-opacity=".8"/>',eva:(a,l)=>'<g fill-rule="evenodd" clip-rule="evenodd"><path d="M53 0c34.75 0 49 17.47 49 31 0 13.53-19.59 17-49 17-29.05 0-51-3.47-51-17S17.11 0 53 0Z" fill="#000" fill-opacity=".8"/><path d="M28.82 34.65c-6.53-1.35-11.24-6.34-10.52-11.14.72-4.79 6.6-7.58 13.12-6.23 6.53 1.36 11.24 6.35 10.52 11.15-.72 4.8-6.6 7.59-13.12 6.23ZM75.42 34.65c-6.52 1.36-12.4-1.43-13.12-6.23-.72-4.8 4-9.8 10.52-11.15 6.52-1.35 12.4 1.44 13.12 6.24.72 4.81-4 9.8-10.52 11.15Z" fill="#25A6F5"/></g>',frame1:(a,l)=>'<rect y="4" width="104" height="42" rx="4" fill="#000" fill-opacity=".8"/><rect x="28" y="25" width="10" height="11" rx="2" fill="#8BDDFF"/><rect x="66" y="25" width="10" height="11" rx="2" fill="#8BDDFF"/><path fill-rule="evenodd" clip-rule="evenodd" d="M21 4h8L12 46H4L21 4Z" fill="#fff" fill-opacity=".4"/>',frame2:(a,l)=>'<rect x="8" y="10" width="88" height="36" rx="4" fill="#000" fill-opacity=".8"/><rect x="28" y="21" width="10" height="17" rx="2" fill="#5EF2B8"/><rect x="66" y="21" width="10" height="17" rx="2" fill="#5EF2B8"/><path fill-rule="evenodd" clip-rule="evenodd" d="M83 10h5L76 46h-5l12-36Z" fill="#fff" fill-opacity=".4"/>',glow:(a,l)=>'<g fill="#fff"><circle cx="21" cy="30" r="15" fill-opacity=".1"/><circle cx="83" cy="30" r="15" fill-opacity=".1"/><circle cx="21" cy="30" r="12" fill-opacity=".1"/><circle cx="83" cy="30" r="12" fill-opacity=".1"/><circle cx="21" cy="30" r="6" fill-opacity=".8"/><circle cx="83" cy="30" r="6" fill-opacity=".8"/><circle cx="21" cy="30" r="3" fill-opacity=".8"/><circle cx="83" cy="30" r="3" fill-opacity=".8"/></g>',happy:(a,l)=>'<path d="m18 19 12-2M20 31c0-3.31 2.9-6 7-6 3.1 0 6 2.69 6 6M86 20l-12-3M84 31c0-3.31-2.9-6-6-6-4.1 0-7 2.69-7 6" stroke="#000" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>',hearts:(a,l)=>'<path d="M29.27 9.68c-2.55.13-4.96 2.24-6.25 4.15-1.48-1.76-4.1-3.6-6.65-3.47-5.48.28-8.85 3.8-8.63 8.1.3 5.72 4.88 8.89 9.7 12.24 1.71 1.15 5 4.15 5.42 4.82.42.67 2.14.6 2.58-.13a37.8 37.8 0 0 1 4.9-5.36c4.43-3.84 8.66-7.47 8.36-13.2-.23-4.3-3.95-7.44-9.43-7.15ZM87.63 10.36c-2.55-.14-5.17 1.7-6.65 3.47-1.3-1.9-3.7-4.02-6.25-4.15-5.48-.29-9.2 2.86-9.43 7.16-.3 5.72 3.93 9.35 8.36 13.19 1.6 1.32 4.55 4.64 4.9 5.36.35.7 2.06.82 2.58.13.51-.7 3.7-3.67 5.42-4.82 4.81-3.35 9.4-6.52 9.7-12.24.22-4.3-3.15-7.82-8.63-8.1Z" fill="#FF5353" fill-opacity=".8"/>',robocop:(a,l)=>'<rect x="7" y="16" width="91" height="16" rx="4" fill="#000" fill-opacity=".8"/><mask id="eyesRobocop-a" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="7" y="16" width="91" height="16"><rect x="7" y="16" width="91" height="16" rx="4" fill="#fff"/></mask><g mask="url(#eyesRobocop-a)" fill-rule="evenodd" clip-rule="evenodd" fill="#fff" fill-opacity=".8"><path d="M76 7h18L82 37H64L76 7ZM52 7h9L49 37h-9L52 7Z"/></g>',round:(a,l)=>'<g fill="#fff"><circle cx="24" cy="30" r="6"/><circle cx="80" cy="30" r="6"/></g>',roundFrame01:(a,l)=>'<rect y="12" width="104" height="32" rx="16" fill="#000" fill-opacity=".8"/><rect x="24" y="22" width="10" height="12" rx="2" fill="#F4F4F4"/><rect x="70" y="22" width="10" height="12" rx="2" fill="#F4F4F4"/>',roundFrame02:(a,l)=>'<rect y="11" width="104" height="34" rx="17" fill="#000" fill-opacity=".8"/><circle cx="29" cy="28" r="13" fill="#F1EEDA"/><circle cx="75" cy="28" r="13" fill="#F1EEDA"/><rect x="24" y="23" width="10" height="10" rx="2" fill="#000" fill-opacity=".8"/><rect x="70" y="23" width="10" height="10" rx="2" fill="#000" fill-opacity=".8"/>',sensor:(a,l)=>'<path d="M28 44a20 20 0 0 0 19.9-18h41.52a5 5 0 1 0 0-4H47.9A20 20 0 1 0 28 44Z" fill="#000" fill-opacity=".2"/><circle cx="94" cy="24" r="2" fill="#fff"/><circle cx="28" cy="24" r="16" fill="#000" fill-opacity=".6"/><circle cx="34" cy="16" r="3" fill="#fff"/>',shade01:(a,l)=>'<path d="M96 2H8c-4.5 0-8 3.5-8 8.03V28c0 4.5 3.5 8 8 8h13c8 0 11 8 18 8h27c7 0 9-8 17-8h13c4.5 0 8-3.5 8-8V10c0-4.5-3.5-8-8-8Z" fill="#000" fill-opacity=".8"/><path d="M87 14H17c-3.5 0-5 3-5 5v2c0 2 1.5 5 5 5h12c6 0 11.62 8 17 8h14c5.38 0 9-8 15-8h12c3.5 0 5-3 5-5v-2c0-2-1.5-5-5-5Z" fill="#FF3D3D"/><path d="M22.44 36.09 37.26 2h11L31.4 40.78l-.76-.58c-2.38-1.82-4.83-3.69-8.2-4.11ZM11.48 36 26.26 2h4L15.48 36h-4Z" fill="#fff" fill-opacity=".2"/>'},face:ra,mouth:{bite:(a,l)=>'<rect x="4" y="5" width="68" height="22" rx="5" fill="#000" fill-opacity=".2"/><rect x="8" y="9" width="60" height="14" rx="2" fill="#000" fill-opacity=".6"/><path fill-rule="evenodd" clip-rule="evenodd" d="m20 17 6-8H14l6 8ZM32 17l6-8H26l6 8ZM44 17l6-8H38l6 8ZM56 17l6-8H50l6 8Z" fill="#E1E6E8"/>',diagram:(a,l)=>'<rect x="4" y="4" width="68" height="24" rx="5" fill="#000" fill-opacity=".2"/><rect x="8" y="8" width="60" height="16" rx="2" fill="#000" fill-opacity=".8"/><path d="M9 17h11l2-4 3 7 4-8 2 9 3-11 3 10 3-3h15l3-4 2 7 3-3h4" stroke="#4EFAC9" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>',grill01:(a,l)=>'<g fill="#000" fill-opacity=".6"><rect x="12" y="12" width="4" height="8" rx="2"/><rect x="36" y="12" width="4" height="8" rx="2"/><rect x="24" y="12" width="4" height="8" rx="2"/><rect x="48" y="12" width="4" height="8" rx="2"/><rect x="60" y="12" width="4" height="8" rx="2"/></g>',grill02:(a,l)=>'<g fill="#000" fill-opacity=".6"><rect x="28" y="10" width="6" height="14" rx="2"/><rect x="14" y="10" width="6" height="14" rx="2"/><rect x="42" y="10" width="6" height="14" rx="2"/><rect x="56" y="10" width="6" height="14" rx="2"/></g>',grill03:(a,l)=>'<rect x="4" y="5" width="68" height="22" rx="5" fill="#000" fill-opacity=".2"/><rect x="8" y="9" width="60" height="14" rx="2" fill="#fff"/><path fill="#000" fill-opacity=".1" d="M18 9h4v14h-4zM42 9h4v14h-4zM30 9h4v14h-4zM54 9h4v14h-4z"/>',smile01:(a,l)=>'<path d="M27.05 8.44a2 2 0 1 1 3.9-.88C31.72 10.96 34.4 13 38 13c3.6 0 6.28-2.04 7.05-5.44a2 2 0 1 1 3.9.88C47.75 13.7 43.43 17 38 17s-9.76-3.3-10.95-8.56Z" fill="#000" fill-opacity=".6"/>',smile02:(a,l)=>'<path fill-rule="evenodd" clip-rule="evenodd" d="M18 10.22C18 21.78 24.47 28 38 28c13.52 0 20-6.34 20-17.78C58 9.5 57.17 8 55 8H21c-2.05 0-3 1.38-3 2.22Z" fill="#000" fill-opacity=".8"/><mask id="mouthSmile02-a" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="18" y="8" width="40" height="20"><path fill-rule="evenodd" clip-rule="evenodd" d="M18 10.22C18 21.78 24.47 28 38 28c13.52 0 20-6.34 20-17.78C58 9.5 57.17 8 55 8H21c-2.05 0-3 1.38-3 2.22Z" fill="#fff"/></mask><g mask="url(#mouthSmile02-a)"><rect x="30" y="2" width="16" height="14" rx="2" fill="#fff"/></g>',square01:(a,l)=>'<rect x="24" y="6" width="27" height="8" rx="4" fill="#000" fill-opacity=".8"/>',square02:(a,l)=>'<rect x="16" y="8" width="44" height="4" rx="2" fill="#000" fill-opacity=".8"/>'},sides:ta,texture:{camo01:(a,l)=>'<g fill="#000" fill-opacity=".2"><path d="M117.94-4a6.08 6.08 0 0 0 2.52-.99l.77-.12c2.72-.42 9.94-1.53 11.25-.4.85.75.47 3.39.2 5.28-.11.72-.2 1.34-.2 1.7-1.33.06-2.34-1.4-3.32-2.83-1.46-2.12-2.88-4.17-5.2-1.06-1.1 1.46-.85 3.3-.6 5.18.28 1.98.55 3.99-.74 5.62-1.54 1.93-4 2.2-6.42 2.47-2.56.28-5.1.56-6.48 2.8-.4.66-.5 1.8-.62 3.05-.2 2.15-.43 4.58-2.25 5.14-3.12.97-3.32-1.69-3.5-4-.09-1.25-.18-2.4-.7-2.84-5.7-4.7-6.23 4.37-6.35 6.43v.03c-.03.43.05.78.12 1.1.13.57.23 1.05-.33 1.73-.3.36-.7.3-1.12.23-.43-.06-.89-.13-1.27.23-1.5 1.4-1.54 1.54-1.88 3.11l-.09.37c-.11.53-.19.99-.25 1.4-.14.94-.26 1.67-.84 2.64-.27.45-.63.89-1 1.33-1.2 1.46-2.39 2.9-.14 4.69-.61 0-6 1.46-6.35 1.64-.52.27-1.12.98-1.66 1.61a4.5 4.5 0 0 1-1.18 1.15c-3.2 1.1-2.97-1.28-2.74-3.74.14-1.48.28-2.98-.32-3.77 8.28-.27 13.26-8.21 13.75-14.38a5 5 0 0 0-.65-2.5c-.28-.62-.54-1.2-.55-1.8-.02-.83.25-1.4.52-1.97.22-.47.44-.93.5-1.54.23-2.64-.85-3.61-2.27-4.89-.7-.64-1.5-1.35-2.26-2.4-2.5-3.45-1.2-3.99 2.6-3.36 2.17.36 4.26 1 6.36 1.63 2.56.78 5.12 1.56 7.84 1.83 3.48.34 6.71.18 8.36-2.66.95-1.63 1.37-6.13-1.8-6.48.8-.13 1.44-.38 2.1-.64a9.32 9.32 0 0 1 3.02-.77c1 .4 2.06.64 3.16.74ZM123.7 79.87v.01ZM32.38 86.47c.1.04.21.04.34 0-.18.13-.46.02-.37 0h.03ZM32.37 86.46h-.02.02ZM131.44 126.49c-.34-.03-.33-.04 0-.06.07-.28.16-.57.26-.85.21-.67.4-1.26.03-1.4 1.13-.21.92 1.8.8 2.96-.03.28-.05.5-.05.64-1.06 0-1.18-.59-1.04-1.3Z"/><path d="M131.52 125.78v-.04c-.44.03-.44.04 0 .07v-.02ZM41.65-5.5c.39.07 1.5.18 1.87 0h-1.87ZM39.01 51.48c-1.06-.25-1.44-.92-1.73-1.42-.16-.28-.3-.5-.5-.58-2.83-1.05-3.29.92-3.77 3.98-.1.56-.11 1.03-.13 1.47-.05 1.08-.08 1.9-1.09 2.94-.58.6-1.52.91-2.45 1.22a8.8 8.8 0 0 0-1.87.78c-1.47.93-2.12 1.78-2.92 2.83-.32.4-.66.85-1.08 1.34-.96 1.11-2.36 2.19-3.82 3.3-3.9 2.98-8.2 6.25-5.32 11.4 3.1 5.55 4.32.87 5.27-2.75.36-1.39.68-2.62 1.05-3.05 4.67-5.47 5.68-.12 6.29 3.08.1.52.18.99.27 1.34 1.31 5.03 3.1 1.4 4.58-1.58.44-.9.86-1.74 1.22-2.28.44-.63.99-1.1 1.52-1.55a5.7 5.7 0 0 0 1.68-1.92c.24-.52.12-1.17 0-1.84-.2-1.1-.4-2.25.97-2.95 1.45-.73 3.12.16 4.6.96 1.13.6 2.15 1.16 2.9.9 2.33-.83.23-3.6-1.45-5.82-.78-1.02-1.46-1.93-1.59-2.47-.36-1.58.28-2.95.91-4.32.64-1.38 1.28-2.77.9-4.37-.66.1-1.23.4-1.8.72-.8.44-1.61.88-2.65.64ZM80.6 88.07ZM95.89 72.7c.38-2.66-1.73-4.02-3.9-5.43-.7-.45-1.39-.9-2.02-1.4-1.43-1.13-2.4-2.07-3.12-3.66a3.83 3.83 0 0 1-.17-1.2c-.04-.69-.08-1.4-.42-1.65-1.85-1.27-2.88-.4-4.13.66-.6.5-1.24 1.05-2.04 1.42-2.72 1.24-2.75 1.22-4.38.26-.33-.2-.72-.43-1.22-.7l-.71-.4c-1.5-.9-2.56-1.53-4.4 1.07-.73 1.04-.7 2.87-.66 4.77.07 3.18.14 6.57-3.42 6.77 1.57.69.86 2.74.14 4.83-.74 2.15-1.49 4.34.23 5.1 4.18 1.83 5.4-6.86 6.09-11.83.23-1.64.4-2.88.6-3.2 1.67-2.62 7.63-4.86 9.34-.98.31.7.08 1.44-.15 2.2-.22.73-.45 1.47-.2 2.2.37 1.03.97 1.41 1.67 1.86.38.23.78.49 1.19.87 2.9 2.71 2.79 2.88 1.34 5.18l-.86 1.4c-.3.54-.56 1.38-.83 2.31-.61 2.1-1.35 4.63-3.25 4.92 1.04-.01 2.13.24 3.2.5 2.06.47 4.08.94 5.61-.45 1.07-.97.89-2.72.71-4.4-.11-1.09-.22-2.15.03-2.93.44-1.42 1.63-2.6 2.81-3.77 1.34-1.34 2.68-2.66 2.92-4.32ZM18.9 104.45c.03.48.07 1.03.18 1.7.4 2.48 1.51 3.9 2.95 5.7v.01l.95 1.2c-4.37.08-7.8 4.62-3.04 7.18-1.93-1.03-3.39.12-4.58 1.07-1.49 1.19-2.55 2.03-3.57-2.27l-.28-1.1c-.23-.86-.48-1.84-.58-2.5-.21-1.44-.18-1.61-.01-2.4l.1-.47c.08-.47.26-.79.43-1.09.35-.63.63-1.15-.13-2.67-.4-.79-.88-1.4-1.34-1.99-.85-1.06-1.6-2.02-1.58-3.73 0-.48.21-.86.43-1.27.37-.68.78-1.45.38-2.92a12.4 12.4 0 0 0-1.08-2.46c-.5-.97-1.01-1.94-1.2-2.99 1.81.08 2.96 1.45 3.98 2.68.36.44.71.85 1.07 1.19.8.75 1.75 1.28 2.69 1.8.8.45 1.6.9 2.24 1.45 1.8 1.58 1.86 2.4 1.98 3.9ZM24.68 91.3c1.49.12 5.48-3.14 5.74-4.07-1.29.24-2.6-.36-3.88-.94-1.44-.66-2.84-1.3-4.14-.73-2.3 1 .15 5.56 2.28 5.74ZM83.04 92.92c-1.63.3-3.49.64-4.58 0-1.06-.62-3.16-3.28-.1-3.13.78.3 1.67.5 2.56.68 1.87.4 3.7.8 4.21 2.16-.57.02-1.3.15-2.09.3ZM62.6 68.99c-.84-.05-1.62-.2-2.34-.34-2.16-.41-3.75-.72-4.43 2.13 1.12-.05 2.23.25 3.23.5 2.11.56 3.68.97 3.53-2.3ZM91.57 105.44c-.72-.36-1.4-.7-1.93-.74.68-.1.8-.77.92-1.4.1-.52.2-1.02.61-1.16.17.05.36.1.58.14 1.76.41 4.88 1.14 4.11 2.82-.93 2.04-2.71 1.14-4.3.34Z"/><path d="M23.02 113.15c-.74.04-.24.2.07.24l-.07-.24ZM64.47 65.13c.83-.57.8-3.2-.45-3.31-1.75.39-.86 4.2.45 3.3ZM129.6 34.45c.03.59 2.6 3.1 2.88 3.08 0-.07.02-.26.06-.51.17-1.29.59-4.32-.85-3.64a5 5 0 0 0-.71.44c-.42.3-.85.6-1.38.63ZM21.62 127.86c-5.14 0-3.31-2.39-1.94-1.65.3.16.55.44.81.71.3.32.6.64.96.78.09.04.11.07.14.1 0 .03.02.04.03.06ZM-.7-.88c.01-.43-2.42-1.19-1-.21-.14-.1-.03-.05.17.03.3.13.83.34.83.18ZM123.37 43.75c-1.53-.42 2.62-.23 2.1.93-.42-.05-.79-.27-1.16-.49-.3-.17-.6-.35-.94-.44Z"/></g><path d="M38.12 26.75c.24-.76-.15-1.6-.53-2.44-.32-.7-.64-1.4-.61-2.05.02-.62.47-1.75.9-2.82a18.15 18.15 0 0 0 .84-2.47c.8-3.23 2.3-9.38 7.7-6.52-4.33-2.3-2.55-4.12-.56-6.15a12.3 12.3 0 0 0 2.06-2.51c.4-.74.72-1.08.91-1.27.11-.12.18-.19.19-.26 0-.1-.1-.22-.34-.5l-.4-.45c-.59-.7-4.78-1.65-5.78-1.63-3.82.09-7.98 3.7-9.9 6.62-1.03 1.56-.67 2.43-.33 3.26.2.5.4.98.3 1.6-.05.25-.02.5 0 .74.09.73.16 1.35-2.01 1.47-2.7.15-7.77-4.33-7.8-6.53 0-.73.78-1.56 1.57-2.4 1.4-1.46 2.79-2.94-.21-3.87-2.24-.7-9.03 3.8-9.45 5.5-.26 1.06.5 2.2 1.15 3.2 1.06 1.6 1.88 2.84-2.02 2.81 0-.02 3.63 2.29 4 2.77.85 1.09 1.17 1.88 1.45 2.56.47 1.17.81 2 3.44 3.44 1.1.6 2.28 1.12 3.45 1.64 1.58.69 3.16 1.39 4.56 2.28.76.49 1.4 1.07 2.03 1.63 1.48 1.32 2.86 2.57 5.4 2.34ZM127.37 3.5c-1.41.74-.6 1.4.37 2.18.98.79 2.12 1.7 1.37 2.97-.47.81-1.6.99-2.76 1.16-1.17.18-2.37.37-2.95 1.22-.84 1.23-.5 2.1-.18 2.94.39.98.76 1.93-.78 3.38-1.08 1.01-2.1 1.34-2.98 1.62-1.31.42-2.33.75-2.8 3.09-.74 3.58 1.1 5.97 2.84 8.24 1.97 2.58 3.85 5.02 1.78 8.9l-.34.62c-1.09 1.9-3 5.22.62 6.34 2.63.81 2.48-.12 2.31-1.08-.12-.73-.25-1.48.8-1.52-.21-.6 2.98.1 2.58.98.84.09 1.25.54 1.65.98.57.63 1.12 1.24 2.9.7 1.76-.55 2.05-2.2 2.28-3.55l.02-.1c.35-2.04-.6-3.8-1.5-5.5-.75-1.41-1.47-2.78-1.42-4.22v-.54c-.01-.36-.02-.65.16-1.13a2.74 2.74 0 0 1 2-.48c1.16.24 1.48-.2.97-1.3 1-1.93.62-5.18.29-8.05-.15-1.3-.3-2.51-.3-3.5 0-.67.13-1.8.27-3.13.36-3.47.87-8.26-.26-9.68-.66-.83-5.81-2.13-6.94-1.54ZM129.58 52.35c-2.97-.76-2.61 1.57-2.33 3.35.08.52.15 1 .13 1.33-.14 2.96-.48 3.68-4.15 4.16-.88.12-1.72-.1-2.55-.3-1.4-.36-2.76-.7-4.23.55-.83.7-.8 1.57-.76 2.44.02.43.04.85-.04 1.26-.14.7-.68 1.78-1.25 2.93-1.05 2.11-2.22 4.48-1.26 5.11.65.44 2.53-.06 4.66-.62 3.68-.96 8.12-2.13 8.4.86.18 1.78-2.15 2.05-4.37 2.3-1.44.17-2.83.34-3.45.9-.19.17-.55 1.43-.91 2.68-.4 1.4-.81 2.8-.96 2.67.65.54 1.69-.2 2.91-1.07 1.8-1.28 4.02-2.86 6.04-1.12-2.49-4.76 4.86-4.08 7.99-3.8.34.04.63.07.86.08V60.21c-3.56.93-3.33-1.08-3.07-3.31.22-1.92.45-4-1.66-4.55ZM131.51 120.55c.9.05 1.81.1 2.8.1 0 .8-.74 1.17-1.48 1.53-.64.31-1.29.63-1.46 1.24-.48 1.73.58 2.33 1.56 2.88.71.4 1.38.77 1.38 1.52-.84 0-1.78.04-2.76.09-2.07.09-4.3.18-6.04-.09h-2.93l-.25-1.14-.43-.2c-1.22-.57-3.28-1.53-4.19-2.16-4.51-3.15-.46-6.42 3.78-7.72-2.92.9 1.1 3.79 2.51 4.18 1.1.3 1.74.15 2.5-.03.44-.1.94-.22 1.58-.26 1.2-.06 2.31 0 3.43.06ZM13.29 31.85c-.62-.31-1.29-.12-1.96.08-.78.22-1.56.45-2.29-.09-.39-.29-.26-.87-.13-1.41.1-.44.2-.85 0-1.05-2-1.94-2.12-1.47-2.46-.15-.15.59-.34 1.35-.77 2.14-.86 1.58-1.96 1.95-3.06 2.31-1.3.44-2.6.86-3.45 3.34-1.84 5.28-5.2 3.61-6.4-1-.2-.72-.77-1.78-1.4-2.98-1.6-2.98-3.62-6.77-1.23-7.9-1.66.79-3.61 1.13-5.57 1.48-2.27.4-4.54.8-6.34 1.9-1.92 1.15-1.91 1.41-1.88 2.74a131.99 131.99 0 0 0 .07 5.55l.04 1.51c.04 1.5.67 2.78 1.33 4.1.38.76.77 1.55 1.05 2.4.58 1.78.82 3.66 1.05 5.53.16 1.24.32 2.48.57 3.68l.17.75c.51 2.35 1 4.58-.37 6.85-.19.3-.65.66-1.14 1.04-.88.67-1.87 1.42-1.64 2.14.34 1.05 2.04-.49 2.92-1.28l.43-.38c.79-.6.83-1.17.86-1.64.04-.57.07-.97 1.4-1.01 1.8-.06 3.65 1.93 4.74 3.1l.32.35c.6.64 1.17 1.43 1.76 2.25 1.52 2.14 3.2 4.48 6.06 4.83 8.88 1.1 10.66-9.15 7.36-13.8a21.83 21.83 0 0 0-2.63-2.84c-1.67-1.6-3.39-3.25-3.85-5.15-.76-3.13 1.93-5.67 5.62-3.87 1.76.86 2.32 2.35 2.9 3.85.48 1.28.96 2.57 2.2 3.48 2.6 1.93 2.84 1.38 3.27.4.23-.52.52-1.16 1.25-1.6 2.1-1.29 5.75-2.35 6.25.86.18 1.13-.76 2.09-1.71 3.07-1.14 1.16-2.3 2.35-1.63 3.88 1.29 2.95 2.46 1.35 3.46-.01.2-.3.41-.57.61-.8 2.79-3.15 5.56-6.44 4.73-10.59-.53-2.65-2.38-4.54-4.27-6.47a32.36 32.36 0 0 1-2.47-2.72c-.45-.58-.88-1.64-1.33-2.77-.7-1.73-1.45-3.61-2.44-4.1ZM62.98 102.48c-.03 1.26-.05 2.5.5 3.73 1.29 2.79 2 4.45.22 7.05-.48.7-.98 1.22-1.46 1.72a7.8 7.8 0 0 0-2.1 3.14c-.15.47-.27.9-.38 1.3-.39 1.46-.68 2.53-2.7 3.5-4.64 2.25-8.11.2-11.17-2.37l-.69-.58c-1.54-1.28-2.59-2.15-3.53-3.9a2.45 2.45 0 0 1-.22-1.54c.07-.74.13-1.36-1.28-2.02-1.37-.64-2.7-.4-4.05-.15-1.68.3-3.38.61-5.15-.8-4.02-3.22-3-9.5.72-12.22 1.04-.77 2-1.22 2.8-1.6 1.85-.87 2.81-1.33 1.96-4.33a4.63 4.63 0 0 1-1.56-2.2 3.8 3.8 0 0 1 .5-2.08c-.1-.46.05-.9.19-1.3.28-.83.49-1.45-1.73-1.46.62-.45.8-1.45.97-2.48.27-1.52.55-3.13 2.25-3.3 2.92-.28 3.24 2.71 3.49 4.96.08.73.15 1.39.3 1.82 1.18 3.4 2.57 4.57 6.35 3.22.98-.35 5.57-2.81 5.93-3.35-1.65 2.5 1.72 4.87 4.24 6.64.62.43 1.2.83 1.62 1.19l.53.42a10.7 10.7 0 0 1 2.71 2.8c.8 1.4.77 2.8.74 4.2ZM104.42 120.99c-1.44-.16-6.73-2.2-6.09-3.91 1.63-4.33 10.12.56 13.06 2.25l.53.3c-1.12.06-2.2.38-3.27.7-1.4.4-2.78.82-4.23.66Z" fill="#000" fill-opacity=".4"/><g fill="#fff" fill-opacity=".2"><path d="M19.25-3.59c.2 1.51 3.16 3.8 5.07 2.44 1.22.44-.59-2.79-.89-3.09-1.59-1.58-4.59-2.32-4.18.65ZM52.27-1.64c-.74-.18-1.44-.34-2.03-.55-.54-.19-.57-2.24-.35-2.65.44-.8 1.95-.7 3.33-.63.4.03.8.05 1.15.05h13.3c-1.86.74.15 1.5 1.1 1.7.78-.22 6.37 3.92 6.21 5.65-.08.94-.75 1.63-1.43 2.33-.8.85-1.65 1.72-1.54 3.08.08.82.88 2.18 1.78 3.7 2.25 3.8 5.1 8.61-1.44 8.74-3.05.06-2.98-1.38-2.89-3.06.06-1.11.13-2.34-.72-3.3a6.06 6.06 0 0 0-2.07-1.28c-1.01-.46-2.03-.92-2.44-1.8-.2-.44-.05-1.37.12-2.38.41-2.5.9-5.45-3.81-2.21-.48.33-.77.97-1.07 1.61-.57 1.24-1.14 2.48-3.01 1.5-1.63-.84-.73-2.5.17-4.18.69-1.27 1.38-2.54.96-3.46-.8-1.8-3.2-2.37-5.31-2.86ZM132.7 85.8c-2.76.72-4.35-1.84-5.62-3.89-.87-1.4-1.59-2.56-2.43-2.3-2.23-1.92-4.4-.16-6.18 1.3-.67.55-1.3 1.06-1.84 1.3.1.08-4.98-1.12-3.95-1.32-6.82-2.32-6.9 2.9-6.97 7.43-.03 1.96-.06 3.8-.63 4.85-1.02 1.9-2.46 2.63-4.81 3.45-.83.3-1.74.46-2.65.63-1.9.35-3.79.7-4.86 2.17-.2.27-.39 1.13-.52 1.74-.08.35-.14.62-.17.62.6.16 4.88 1.51 5.32 1.88.4.33.5.92.6 1.46.08.46.16.88.4 1.08.7.59 1.38 1 2.04 1.38 1.12.66 2.15 1.26 2.96 2.6.35.57.53 1.24.7 1.9.43 1.59.85 3.14 3.64 3.2 2.27.04 3.61-1.72 4.31-3.23.32-.68.23-2.56.14-4.68-.23-5.18-.52-11.76 4.75-5.66.52.6.72 1 .88 1.34.28.57.46.95 1.87 1.74.58.32 1.16.34 1.72.35.81.02 1.58.04 2.27 1 .7 1 .36 1.94.15 2.5-.24.64-.3.8 1.55-.04 4.29-1.93 4.45-6.24 4.6-9.86.02-.72.05-1.4.1-2.05.21-2.25.7-3.59 1.64-5.58l.42-.7c1.03-1.65 3.32-5.32.58-4.6ZM48.2 122.55c-.78-1.1-1.78-1.81-2.83-2.58-.48-.35-.97-.7-1.46-1.1-.28-.24-.6-.44-.91-.64-.63-.4-1.26-.8-1.59-1.42-.27-.5-.17-1.18-.07-1.85.1-.78.22-1.55-.23-2.05-1.27-1.42-2.98-1.08-4.79-.73-2.4.48-4.96.99-6.8-2.63-1.32-2.59-1.96-6.32-.25-8.84.73-1.06 2.32-1.8 3.89-2.5 1.94-.9 3.85-1.78 3.98-3.24.07-.85-.57-1.46-1.23-2.1-.58-.55-1.18-1.12-1.34-1.9-.13-.64.21-1.41.54-2.15.64-1.43 1.22-2.72-1.91-2.65.05.02 0 .04-.04.06a.67.67 0 0 0-.04.02c-.04-.02-.4.12-.81.3-.54.23-1.2.5-1.45.52 0 0-.14.12-.35.34-.96.97-3.65 3.7-5.01 3.57-2.7-.24-3.74-5.44-2.3-5.71a3.69 3.69 0 0 1-1.55-.77c-.85-.6-1.74-1.23-3.58-.68-1.44.43-1.8 1.05-2.27 1.86-.16.26-.33.55-.55.86-.69.97-1.08 1.62-1.33 2.03-.26.43-.36.61-.5.64-.11.03-.24-.03-.45-.14-.4-.19-1.12-.53-2.61-.78l-.06.3c-.2 1.16-.28 1.62-.13 1.97.1.22.3.4.63.7.25.24.6.55 1.02 1 .55.6 1.18 1.13 1.81 1.67.45.39.9.77 1.32 1.17.52.5 5.35 5.5 4.35 5.73.97.18 1.07 2.48 1.16 4.7.07 1.54.13 3.04.5 3.73.35.7.93 1.28 1.5 1.88.47.47.93.95 1.28 1.48.94 1.42 1.09 3.08 1.23 4.77.15 1.61.29 3.25 1.14 4.72.22.38.58.7.94 1.01.35.3.69.6.9.95.14.24.39.45.63.66l.39.36c.74.8.82 1.22.88 1.48.01.08.03.14.06.2.12.21.5.28 2.28.62h.03c3.28.62 12.62.33 15.2-1.77.36-.3.74-1.11 1.03-1.73.2-.4.34-.73.42-.74a1.4 1.4 0 0 1-.64-.55c0-.02-.02-.03-.03-.05ZM79.18 120.45c-.9-.1-1.55-.38-2.19-.66a5.57 5.57 0 0 0-3.16-.62c-1.2.12-2.12.7-3.04 1.26-.53.33-1.07.66-1.67.9-1.45.6-3.96.86-6.7 1.14-5.5.57-11.92 1.23-12.49 4.92.93 0 2.35.1 4 .2 5.07.3 12.3.75 13.99-.83.86-.81.74-1.5.64-2.07-.14-.83-.25-1.44 2.63-1.9.94-.15 1.63.1 2.32.33 1.05.37 2.1.73 4.02-.31.27-.15 3.76-2.13 1.64-2.37ZM77.4 100.15c4.94-5.13 6.28 2.22 6.28 5.26 0 3.48-6 6.05-7.87 2.3-.62-1.24.37-6.3 1.59-7.56ZM133 1.74a9.56 9.56 0 0 1-1.94-2.4c-1-1.52-2.09-3.15-3.48-3.32-3.76-.47-3.33 3.97-2.97 7.59.19 1.88.35 3.55-.12 4.17.06 0 .28.14.61.34 1.59.99 5.53 3.43 3.55-1.06-.18-.4-.88-.72-1.58-1.05-1.28-.6-2.56-1.2-.54-2.26 1.29-.67 2.72 0 4.1.66.98.46 1.94.9 2.8.87l.03-.76c.07-1.02.15-2.35-.46-2.78ZM131.77 44.91c.4-.53.76-1.04 1.08-1.22.19-.12.83 16.67.15 16.46-3.3 1.97-2.89-2.4-2.63-5.1.1-.98.16-1.73.03-1.9-.47-.64-1.46-.88-2.45-1.11-1.36-.33-2.73-.66-2.77-2.05-.02-.59 2.1-2.22 2.63-2.58.2-.13.21-.35.22-.58.02-.24.03-.5.27-.65.14-.1.48 0 .87.1.5.14 1.07.3 1.35.08.42-.32.85-.9 1.25-1.45Z"/><path d="M95.36 58c-.5-.86-1-1.72-2.15-2.23-3.03-1.34-3.09-1.96-3.19-3.02-.06-.63-.13-1.4-.84-2.57-1.72-2.82-6.06-2.63-9.5-2.47-.7.03-1.36.06-1.95.06-.77 0-1.32-.03-1.75-.06-1.36-.08-1.5-.1-3.27 1.42-.71.62-1.42 1.34-2.14 2.09-.82.83-1.65 1.69-2.55 2.44-1.94 1.62-6.42 5.7-3.14 7.97-1.6.35-1.1 3.07.01 3.67-.13.05-1.51 3.29-1.44 3.47-.73-.05-1.42-.23-2.08-.4-1.48-.38-2.83-.73-4.14.54-1.11 1.08-.75 2.66-.39 4.24.31 1.33.62 2.66.04 3.7-1.61 2.93-6.9 3.21-9.69 1.46-1.9-1.2-6.26-5.08-7.47-6.87-2.06-3.06-1.24-5.8 3.08-5.68 1.06.02 1.8.47 2.36.8.82.48 1.18.69 1.38-1.18.08-.82-.8-1.87-1.51-2.72-.27-.32-.52-.62-.68-.86l-.33-.5c-1.85-2.74-2.6-3.85-1.2-7.19l.2-.48c1-2.38 1.34-3.2.4-5.92-1.1-3.13-1.4-4.45-1.14-7.76 0-.15.03-.32.05-.51.17-1.38.45-3.65-1.94-4 .36-.53 1.73-4.44 1.4-4.8 2.04.23 2.36-.14 2.97-.84.38-.43.88-1 1.99-1.62.77-.43 1.75-.54 2.75-.64 1.38-.15 2.8-.3 3.68-1.35.81-.95.85-2.49.88-4 .02-1.11.05-2.21.38-3.05.61-1.55 1.43-3.46 3.5-4.15 5-1.67 4.6 2.62 4.33 5.63-.05.51-.1 1-.1 1.4-.17 5.12-.25 10.56.75 15.5 1.02 5.02 1.87 3.1 3.02.5.22-.5.45-1.03.7-1.53a7.55 7.55 0 0 1 1.87-2.2c.66-.6 1.32-1.2 1.75-1.99.32-.6.3-1.21.27-1.8-.04-.84-.08-1.62.82-2.26.67-.48 1.47-.32 2.2-.17.6.12 1.15.23 1.55-.04.77-.51.88-1.96 1-3.46.17-2.13.35-4.36 2.45-4.1 2.06.23 2.25 2.33 2.41 4.09.11 1.24.21 2.32.95 2.46l-1.38.33c-3.21.74-7.77 1.8-1.48 3.92-1.93.18-1.37 2.48-1.1 3.54 0 .08.03.15.04.21.06.3.42.56.8.8.37.27.76.54.81.87.13.73-.07 1.1-.27 1.46-.14.26-.29.52-.3.93-.02.53-.08 1.04-.13 1.5-.2 2-.32 3.04 3 1.42.92-.46 1.14-1.1 1.3-1.58.24-.69.39-1.11 2.26-.44.07.19.23.3.5.34.28-.08.73.23 1.26.59.82.55 1.82 1.22 2.69.86 1.72-.71 1.07-1.93.48-3.03a5 5 0 0 1-.5-1.14c-.58-2.61-.2-2.79.63-3.18a4.8 4.8 0 0 0 2.33-2.14c.74-1.2.26-2.42-.18-3.55-.6-1.49-1.14-2.85 1.26-3.91 6.1-2.7 7.06 3.57 6.3 6.56l-.1.35c-.83 3.24-1.46 5.65.13 9 1.08 2.29 2.86 3.64 4.77 5.1.96.72 1.95 1.48 2.9 2.4 3.59 3.42 3.88 7.5-.21 10.8-3.28 2.62-7.68 3.4-11.1.65-.57-.46-.92-1.06-1.27-1.66ZM89.12 88.84c-4.72-.62-6.35-.74-9.92.14.23.23.24.4.04.5.6.23 1.51.39 2.5.55 1.75.3 3.7.64 4.43 1.5.18.2.03 1.03-.1 1.78-.12.66-.23 1.26-.1 1.34-.1-.06 4.21-5.26 4.88-5.76-.58.02-1.15 0-1.73-.05ZM7.23 102.28l.36.2c.5.18 1.02.26 1.58.24-.26 1.4-2.3 4-4.55 3.57-2.66-.5-1.64-1.68-.56-2.92.59-.68 1.2-1.37 1.24-2 0-.16 1.28.55 1.92.9ZM6.12 95.63c.4.56 1.08.99 1.74 1.4.3.18.59.36.84.55.37-.54.01-1.6-.34-2.66-.3-.87-.58-1.73-.44-2.27-1.71-.06-2.55 1.94-1.8 2.98ZM37.15-5.3c-1.63.91-7.34 4.14-7.66.8l-.07-.92h7.93l-.2.11Z"/></g>',camo02:(a,l)=>'<g fill="#fff" fill-opacity=".2"><path d="M-29.7 126.12c-2.62.41-9.54 1.51-10.8.4-.82-.74-.45-3.34-.18-5.2.1-.72.18-1.32.18-1.68 1.28-.06 2.24 1.38 3.19 2.8 1.4 2.08 2.75 4.1 5 1.03 1.04-1.44.8-3.25.55-5.1-.26-1.95-.52-3.93.72-5.53 1.48-1.9 3.83-2.17 6.16-2.44 2.47-.27 4.9-.55 6.23-2.77.38-.64.48-1.77.6-3 .19-2.11.4-4.5 2.15-5.06 3-.95 3.19 1.67 3.35 3.95.1 1.23.18 2.36.68 2.8 5.46 4.63 5.98-4.3 6.1-6.34v-.03c.02-.42-.05-.76-.12-1.08-.12-.57-.22-1.04.32-1.71.28-.35.67-.3 1.08-.23.4.07.84.14 1.21-.22 1.45-1.39 1.48-1.52 1.8-3.06l.04-.17.05-.2c.11-.52.18-.97.24-1.38A6.4 6.4 0 0 1 .61 88c1.15-1.44 2.3-2.87.14-4.63.6 0 5.76-1.43 6.1-1.62.5-.27 1.07-.96 1.59-1.58.45-.55.85-1.04 1.12-1.14 3.07-1.09 2.85 1.27 2.63 3.69-.14 1.45-.27 2.94.3 3.71-7.95.27-12.73 8.1-13.2 14.16-.07.93.29 1.73.62 2.48.27.6.53 1.17.54 1.76a4.1 4.1 0 0 1-.5 1.95c-.21.46-.42.91-.48 1.52-.23 2.6.81 3.55 2.17 4.8.69.64 1.45 1.34 2.17 2.37 2.4 3.4 1.15 3.93-2.49 3.32-2.09-.36-4.1-.98-6.1-1.61a38.06 38.06 0 0 0-7.53-1.8c-3.34-.34-6.44-.18-8.02 2.61-.92 1.62-1.32 6.05 1.72 6.4-.76.11-1.38.37-2.02.62-.83.34-1.69.68-2.9.76-.96-.39-1.97-.63-3.03-.73-.9.14-1.7.47-2.42.96l-.74.12ZM150.24 57.01c.47.27 1.37.22 2.35.17 1.06-.06 2.2-.12 2.96.21.4.18.8.64 1.2 1.1.37.42.74.85 1.12 1.06.86.5 1.78.67 2.7.84.71.13 1.42.26 2.1.53 2.8 1.14 4.88 3.6 3.26 6.47-.44.8-1.47 1.33-2.5 1.87-1.3.7-2.6 1.38-2.6 2.59 0 4.48 7.78-2.91 8.48-4.5.2-.44.27-.95.34-1.47.1-.72.2-1.46.64-2.03a6.98 6.98 0 0 1 1.96-1.3c.48-.25.87-.46.94-.58 1.3-2.1.75-7.26.32-11.22-.17-1.6-.32-3-.32-3.94-2.2.01-3.19 2.7-4.19 5.38-1.44 3.9-2.89 7.8-8.04 3.5-1.37-1.15-5.3-8.12-5.3-9.42 0-1.18.6-1.84 1.25-2.55.31-.34.63-.68.9-1.1l.75-1.14c.82-1.22 1.01-1.5 1.23-3.82.17-1.88.38-2.17.93-2.91.22-.3.5-.7.87-1.3.17-.3.5-.56.8-.82.7-.6 1.4-1.18.36-2.07-2.6-2.23-8.24 3.55-9.22 4.7-2.78 3.29-6.55 7.77-6.22 11.93.08.94 2.09 9.32 2.92 9.81ZM116.75 116.14c-.33.4-.66.78-.62 1.29.12 1.79.13 1.78.35 1.67.17-.08.46-.22 1.02.3.16.15.63.36 1.2.62 1.33.6 3.16 1.42 2.6 2.12-.28.36-1.04.4-1.85.42-.8.04-1.65.08-2.1.44-.35.28-.56.83-.76 1.32-.16.4-.3.78-.5.92-1.56 1.17-2.17 1.27-5.48 1.27 2.2-.62-3.45-4.51-4.02-3.27.53-1.16-.17-2.38-.85-3.54-.4-.68-.78-1.34-.89-1.96-.14-.8-.11-1.59-.09-2.36.06-1.75.1-3.41-1.76-4.88.63-.08.99-.53 1.34-.97.38-.47.75-.94 1.45-.96.87 2.37 2.9 2.54 5.03 2.71.98.08 1.99.17 2.92.46.3.1.57.17.84.24 1.05.28 1.9.5 2.52 1.58.74 1.28.18 1.95-.35 2.58ZM173.2-4.11c0-1.08-1.99-.92-3.45-.8-.4.02-.76.05-1.03.05.63.25 1 .42 1.24.54.2.1.32.15.45.2.26.06.53.06 1.34.04l1.44-.03ZM-39.75-2.61c-.2.65-.4 1.23-.03 1.36-1.09.22-.88-1.77-.77-2.9.03-.28.05-.5.05-.63 1.44 0 1.07 1.16.75 2.17ZM117.76-4.86h-3.58c.3.14.62.32.94.5 1.33.74 2.63 1.46 2.64-.5ZM172.3 4.14c.43-.08.7-.05.85-.03.09.02.14.03.16 0 .04-.03.03-.1 0-.3-.04-.3-.12-.85-.12-1.87-1.02.02-2.63 2.18-.9 2.2h.01ZM44.89 126.51h1.79c-.37-.08-1.44-.18-1.8 0ZM44.95 71.71c.63-.08 1.17-.4 1.72-.7.78-.43 1.55-.86 2.54-.62 1.02.25 1.4.9 1.67 1.4.15.27.28.5.47.57 2.72 1.03 3.16-.9 3.63-3.93.08-.54.1-1.01.12-1.44.04-1.06.08-1.87 1.04-2.9.55-.59 1.45-.9 2.34-1.2.65-.22 1.3-.45 1.8-.77a9.8 9.8 0 0 0 2.8-2.78c.3-.4.63-.85 1.04-1.33.92-1.1 2.27-2.15 3.66-3.24 3.76-2.94 7.88-6.16 5.11-11.24-2.97-5.46-4.15-.85-5.06 2.71-.34 1.37-.65 2.58-1 3-4.48 5.4-5.45.13-6.04-3.03-.1-.51-.18-.97-.26-1.32-1.26-4.95-2.98-1.38-4.4 1.56-.42.89-.82 1.72-1.17 2.24a7.8 7.8 0 0 1-1.46 1.53 5.57 5.57 0 0 0-1.6 1.9c-.24.5-.12 1.15 0 1.8.18 1.1.38 2.23-.94 2.9-1.4.75-3-.14-4.42-.92-1.08-.6-2.06-1.14-2.77-.88-2.25.8-.23 3.54 1.39 5.73.74 1 1.4 1.9 1.52 2.43.34 1.55-.27 2.9-.88 4.25-.61 1.36-1.23 2.73-.85 4.3ZM9.52 34.33H9.3h.23ZM.12 41.5c-.43 1.4-1.57 2.56-2.7 3.72-1.29 1.32-2.57 2.62-2.8 4.25-.36 2.63 1.66 3.97 3.75 5.35.66.44 1.33.89 1.93 1.38a9.29 9.29 0 0 1 3 3.61c.12.27.14.72.16 1.18.04.68.07 1.39.4 1.62 1.78 1.26 2.77.4 3.96-.64a8.62 8.62 0 0 1 1.96-1.4c2.61-1.23 2.65-1.2 4.21-.26.32.2.7.42 1.17.68l.68.41c1.44.88 2.46 1.5 4.22-1.06.7-1.02.67-2.83.63-4.7-.06-3.14-.13-6.47 3.3-6.66-1.52-.68-.85-2.7-.16-4.77.71-2.1 1.43-4.26-.22-5-4-1.81-5.17 6.75-5.84 11.65-.22 1.61-.38 2.83-.58 3.14-1.6 2.6-7.32 4.8-8.96.97-.3-.68-.08-1.41.14-2.16.22-.72.43-1.46.2-2.16-.36-1.03-.94-1.4-1.61-1.84a7.11 7.11 0 0 1-1.14-.86c-2.78-2.67-2.68-2.84-1.29-5.1l.83-1.38c.3-.53.53-1.37.8-2.28.58-2.08 1.29-4.56 3.12-4.84-1 0-2.04-.24-3.08-.5-1.97-.46-3.9-.93-5.37.44-1.03.96-.85 2.69-.68 4.33.1 1.08.2 2.13-.03 2.9ZM65.5 10.9l-.9-1.2c4.2-.06 7.5-4.53 2.91-7.06 1.87 1.02 3.27-.12 4.4-1.04 1.44-1.17 2.46-2 3.44 2.24l.27 1.07c.22.86.46 1.82.56 2.48.2 1.4.16 1.57 0 2.35l-.09.46c-.08.46-.25.78-.4 1.07-.35.63-.62 1.14.1 2.63.39.78.85 1.38 1.3 1.96.8 1.05 1.54 2 1.51 3.68 0 .47-.2.84-.4 1.25a3.46 3.46 0 0 0-.38 2.87c.23.84.63 1.63 1.04 2.43.49.95.98 1.9 1.15 2.94-1.73-.07-2.83-1.43-3.82-2.64-.35-.43-.68-.84-1.02-1.17-.76-.74-1.69-1.26-2.58-1.77-.78-.45-1.54-.88-2.16-1.43-1.72-1.56-1.78-2.36-1.9-3.84-.03-.47-.07-1-.17-1.67-.38-2.44-1.46-3.83-2.84-5.62ZM65.15 36.8c2.2-.98-.14-5.47-2.18-5.64-1.43-.13-5.26 3.09-5.5 4 1.22-.23 2.48.36 3.71.93 1.38.65 2.73 1.27 3.97.72ZM11.35 29.55c1.01.62 3.03 3.24.1 3.1-.75-.3-1.61-.5-2.46-.68-1.8-.4-3.54-.79-4.05-2.13.56-.01 1.26-.15 2.01-.29 1.57-.3 3.35-.63 4.4 0ZM33.07 51.36c-1.07.05-2.14-.24-3.1-.5-2.03-.54-3.54-.95-3.39 2.27.8.05 1.55.2 2.24.33 2.07.41 3.6.71 4.25-2.1ZM-.27 19.32c-.1.52-.18 1.02-.58 1.15a30.5 30.5 0 0 0-.56-.14c-1.69-.4-4.68-1.12-3.95-2.77.9-2 2.61-1.12 4.13-.34.69.36 1.33.7 1.85.73-.66.1-.78.76-.89 1.37ZM91.3 46.57a6.25 6.25 0 0 1 .02-3.58c-2.2.01-2.03 3.55-.02 3.58Z"/><path d="m64.5 9.39.06.24c.71-.04.23-.2-.07-.24ZM100.06 44.32c.47.67.52 1.66.58 2.66.09 1.51.17 3.07 1.68 3.62 1.52.56 2.3-.7 3.12-2.06.7-1.15 1.44-2.36 2.7-2.6.84-.18 1.7.24 2.58.66.82.4 1.66.8 2.53.74 2.5-.16 6.46-2.7 6.26-4.97a6.74 6.74 0 0 1-2.82-.24c-.74-.17-1.46-.35-2.3-.3-.86.05-1.7.3-2.52.55-.77.23-1.53.46-2.24.5-3.26.17-3.24-.2-3.16-1.36.03-.52.08-1.2-.15-2.06a12.3 12.3 0 0 1-.18-.78c-.12-.56-.16-.8-.75-1.63-.26-.37-.74-.65-1.24-.94-.6-.35-1.22-.71-1.47-1.25-.1-.21 0-.92.12-1.74.2-1.42.43-3.19-.18-3.31-.8 1.18-2.06 2.1-3.31 3.01-1.56 1.14-3.12 2.29-3.82 3.94-1.22 2.86.3 3.98 2.07 5.28.87.64 1.8 1.33 2.49 2.28ZM25.21 60.2c1.68-.4.82-4.15-.44-3.26-.8.56-.77 3.14.44 3.25ZM55.6 35.91ZM-39.74 88.2c.24-.1.46-.27.68-.43.4-.29.82-.59 1.32-.62-.02-.57-2.5-3.04-2.76-3.03l-.06.5c-.16 1.27-.56 4.26.82 3.59ZM66.99-3.94c-.29-.31-.57-.63-.92-.76-.09-.04-.1-.08-.13-.11a.26.26 0 0 0-.04-.05c4.93 0 3.18 2.35 1.87 1.62-.29-.15-.54-.43-.78-.7ZM88.29 122.17c.14.1.03.05-.16-.03-.3-.13-.8-.34-.8-.19-.01.43 2.33 1.18.96.22ZM-32.66 77.55c.3.18.58.35.9.44 1.47.41-2.51.23-2.02-.92.41.06.77.27 1.12.48Z"/></g><path d="M146.72 95.46c-.16.3-.3.57-.35.7 2.15.2 2.73 13.63-4.7 10.83-.65-.25-1-1.85-1.4-3.64-.8-3.58-1.76-7.9-5.6-3.63-1.26 1.4-.54 3.23.18 5.05.83 2.1 1.65 4.18-.53 5.6-3.24 2.1-4.6-.3-5.97-2.75-1.03-1.81-2.06-3.65-3.9-3.67 3.2 2.08 3.08 8.06 2.99 12.56-.03 1.64-.06 3.09.08 4.08a3.87 3.87 0 0 0 1.87-.63 3.42 3.42 0 0 1 1.93-.6c1.2.08 2 .62 2.82 1.17.37.25.73.5 1.13.7.31.16.68.43 1.08.71 1.2.86 2.73 1.95 4.1 1.34.42-.2.5-.97.57-1.83.1-1.05.2-2.22.97-2.6 1.55-.73 1.53.95 1.51 2.6-.01 1.05-.03 2.09.35 2.51 1.36 1.54 7.6 1.89 9.7 1.9.05-.89-.06-1.55-.14-2.06-.18-1.09-.25-1.56 1.41-2.24 2.63-1.06 7.26 1.84 8.77 3.05.32.26.4.77.48 1.23.06.4.12.76.3.88.65.41 6.09.27 6.46.2 2.22-.47 3.63-1.9 3.03-4.86-.48-2.38-2.85-3.47-5.25-4.57-2.57-1.2-5.18-2.39-5.54-5.2-.09-.66.27-1.47.61-2.27.27-.62.54-1.24.58-1.76.07-.8-.1-1.63-.27-2.45-.22-1.07-.44-2.13-.15-3.15.18-.62 3.65-4.84 4.01-4.96h.03-.03c-.6-.01-1.13-.23-1.65-.45a4.27 4.27 0 0 0-1.77-.45c-.1-.02-.42.6-.77 1.31-.46.91-1 1.99-1.28 2.07-3.05.9-2.28-1.25-1.72-2.8.16-.46.3-.86.33-1.12.1-1.1-.09-2.15-.28-3.2-.14-.73-.28-1.47-.31-2.22-.03-.56.1-1.07.23-1.58.17-.7.35-1.39.1-2.2-.05-.16-.68-.01-1.28.12-.53.13-1.03.25-1.04.12-.11-.71.15-1.83.41-2.95.65-2.73 1.3-5.48-3.47-2.33-2.43 1.61-3.42 3.92-4.43 6.27-.86 2.02-1.74 4.07-3.56 5.72.09.02-.32.8-.64 1.44ZM-35.67 117.64c1.35-.73.57-1.37-.36-2.15-.94-.77-2.03-1.67-1.31-2.92.46-.8 1.54-.97 2.65-1.15 1.14-.17 2.3-.36 2.85-1.2.8-1.2.48-2.06.17-2.9-.37-.96-.73-1.9.75-3.32 1.04-1 2.01-1.32 2.86-1.6 1.26-.41 2.23-.73 2.7-3.04.7-3.53-1.06-5.88-2.74-8.12-1.9-2.54-3.7-4.94-1.71-8.77l.32-.6c1.05-1.87 2.87-5.15-.6-6.25-2.52-.8-2.37.12-2.21 1.07.11.71.24 1.45-.78 1.49.21.58-2.85-.1-2.47-.96-.8-.1-1.2-.54-1.58-.97-.55-.63-1.08-1.22-2.78-.68-1.7.53-1.97 2.16-2.2 3.49l-.01.1c-.34 2 .56 3.74 1.43 5.41.72 1.4 1.42 2.74 1.37 4.16v.53c.01.36.02.64-.16 1.12-.56.4-1.2.56-1.92.46-1.1-.23-1.41.2-.92 1.3-.97 1.89-.6 5.1-.29 7.92.15 1.27.29 2.47.29 3.44 0 .67-.12 1.78-.25 3.09-.35 3.41-.84 8.14.25 9.54.63.81 5.57 2.1 6.66 1.5ZM-35.55 66.22c.26 1.76.6 4.05-2.25 3.3-2.03-.53-1.8-2.59-1.59-4.48.25-2.2.47-4.18-2.94-3.26V46.16l.81.08c3.02.28 10.07.94 7.68-3.74 1.94 1.71 4.07.16 5.8-1.1 1.17-.86 2.17-1.59 2.8-1.05-.15-.13-.54 1.24-.92 2.62-.35 1.23-.7 2.47-.88 2.64-.6.56-1.93.72-3.32.88-2.13.26-4.37.53-4.2 2.27.28 2.95 4.55 1.8 8.07.85 2.06-.55 3.86-1.04 4.49-.61.9.63-.22 2.95-1.22 5.04-.55 1.13-1.07 2.2-1.2 2.88-.08.4-.06.82-.04 1.24.03.86.07 1.71-.73 2.4-1.41 1.24-2.72.9-4.06.55-.8-.2-1.6-.41-2.45-.3-3.52.48-3.85 1.19-3.99 4.1-.01.33.06.8.14 1.3ZM-39.65 2.34c1.08.06 2.14.12 3.3.05.61-.03 1.08-.15 1.52-.25.72-.18 1.34-.33 2.4-.03 1.35.39 5.2 3.24 2.4 4.12 4.07-1.28 7.96-4.5 3.63-7.6a35.47 35.47 0 0 0-4.02-2.13l-.41-.2-.25-1.13h-2.81c-1.67-.26-3.81-.17-5.8-.08-.94.04-1.84.08-2.64.08 0 .75.63 1.11 1.31 1.5.94.54 1.97 1.13 1.5 2.84-.16.62-.78.93-1.4 1.23-.7.36-1.41.71-1.41 1.52.94-.01 1.81.04 2.68.09ZM75.74 89.64c-.64.2-1.28.38-1.88.08-.95-.49-1.67-2.34-2.34-4.05-.44-1.1-.84-2.15-1.28-2.72a31.61 31.61 0 0 0-2.37-2.68c-1.8-1.9-3.6-3.76-4.1-6.38-.8-4.08 1.87-7.33 4.54-10.44.2-.21.39-.49.6-.77.95-1.35 2.07-2.92 3.32-.01.64 1.5-.47 2.67-1.56 3.82-.92.96-1.82 1.91-1.65 3.02.49 3.17 3.98 2.13 6 .86.7-.44.98-1.07 1.2-1.58.42-.96.65-1.5 3.15.4 1.18.9 1.65 2.16 2.12 3.42.53 1.48 1.08 2.95 2.76 3.8 3.54 1.77 6.12-.73 5.4-3.82-.45-1.86-2.1-3.5-3.7-5.07a21.31 21.31 0 0 1-2.52-2.78c-3.18-4.59-1.47-14.68 7.06-13.6 2.76.35 4.36 2.65 5.82 4.76.57.8 1.1 1.59 1.69 2.21l.31.34c1.06 1.16 2.83 3.12 4.57 3.06 1.26-.04 1.3-.43 1.33-1 .03-.45.08-1.03.83-1.61l.41-.37c.85-.78 2.48-2.3 2.8-1.27.23.71-.72 1.46-1.56 2.12-.48.37-.92.72-1.1 1.02-1.32 2.24-.85 4.43-.35 6.75l.15.73c.25 1.2.4 2.4.55 3.63.23 1.84.45 3.7 1.01 5.45.27.84.64 1.61 1.01 2.37.63 1.29 1.24 2.55 1.27 4.03l.04 1.49c.03 1.55.08 3.21.06 4.59v.88c.04 1.3.05 1.57-1.79 2.7-1.73 1.07-3.91 1.47-6.1 1.87-1.87.34-3.75.68-5.34 1.45 2.3-1.11.35-4.84-1.18-7.78a17.3 17.3 0 0 1-1.34-2.93c-1.16-4.55-4.38-6.19-6.15-.98-.82 2.43-2.06 2.85-3.31 3.28-1.06.36-2.11.72-2.94 2.28-.4.78-.6 1.53-.74 2.11-.32 1.3-.44 1.76-2.36-.15-.2-.2-.1-.6 0-1.03.1-.54.24-1.11-.14-1.4-.7-.53-1.45-.3-2.2-.08ZM25.66 16.46c.54 1.21.52 2.44.5 3.67-.03 1.38-.06 2.76.7 4.13.61 1.1 1.61 1.93 2.6 2.76l.51.42c.41.35.96.74 1.55 1.17 2.42 1.75 5.66 4.08 4.08 6.54.34-.53 4.75-2.96 5.7-3.3 3.63-1.33 4.96-.18 6.09 3.17.14.43.21 1.07.29 1.8.23 2.2.55 5.15 3.35 4.88 1.63-.16 1.9-1.75 2.16-3.24.17-1.03.34-2 .93-2.45-2.13-.01-1.93-.62-1.66-1.43.13-.4.28-.84.18-1.29.36-.65.52-1.33.48-2.05a4.56 4.56 0 0 0-1.5-2.17c-.82-2.95.11-3.4 1.89-4.26.76-.37 1.68-.82 2.69-1.58 3.57-2.68 4.55-8.87.69-12.03-1.7-1.4-3.33-1.1-4.95-.8-1.3.25-2.58.49-3.89-.14-1.35-.65-1.3-1.27-1.23-1.99.05-.45.1-.95-.2-1.51-.91-1.73-1.92-2.59-3.4-3.85l-.66-.56C39.63-.19 36.29-2.2 31.83 0c-1.94.96-2.21 2.02-2.59 3.45-.1.4-.21.82-.37 1.28-.5 1.5-1.24 2.28-2 3.1-.47.49-.95 1-1.41 1.69-1.7 2.56-1.03 4.2.2 6.94ZM50.53 97.14c-.37-.83-.74-1.65-.51-2.4 2.43-.23 3.76 1 5.17 2.3.6.56 1.22 1.13 1.95 1.6 1.34.89 2.86 1.58 4.37 2.26 1.13.52 2.26 1.03 3.32 1.62 2.52 1.41 2.85 2.23 3.3 3.39.27.67.58 1.45 1.39 2.52.36.47 3.83 2.75 3.85 2.73-3.75-.03-2.96 1.2-1.95 2.76.63.99 1.36 2.11 1.1 3.15-.4 1.69-6.91 6.12-9.06 5.43-2.88-.92-1.54-2.37-.2-3.82.75-.82 1.5-1.64 1.5-2.36-.02-2.16-4.89-6.58-7.49-6.43-2.08.11-2.01.72-1.93 1.45.02.23.05.48 0 .73-.1.6.1 1.08.29 1.57.33.82.67 1.68-.32 3.22-1.85 2.87-5.83 6.43-9.5 6.52-.96.02-5-.91-5.56-1.6-.15-.2-.27-.34-.37-.45-.24-.28-.34-.4-.33-.5 0-.07.07-.14.18-.25.18-.2.49-.52.87-1.25.47-.88 1.24-1.7 1.98-2.47 1.9-2 3.62-3.8-.54-6.07 5.2 2.82 6.64-3.24 7.4-6.42l.1-.47c.13-.5.4-1.22.7-1.96.41-1.05.84-2.16.87-2.78.03-.65-.28-1.33-.59-2.02ZM-7.8 5.76c.62-1.68-4.45-3.7-5.84-3.85-1.4-.15-2.72.25-4.06.66-1.03.31-2.07.62-3.13.68l.5.3C-17.51 5.2-9.36 10.02-7.8 5.76ZM127.24 37.29c-2.09-1.27-10.33-4.32-11.54-1.56-.16.37-1.55-1.53-1.65-1.74-.7-1.55 0-3 .7-4.43a24 24 0 0 0 .44-.93c.2-.48.44-.93.68-1.38.58-1.11 1.15-2.2 1.22-3.49.04-.87-.33-1.75-.69-2.61-.38-.92-.75-1.82-.62-2.68.29-1.82 1.1-2.1 2.2-2.5.57-.19 1.21-.42 1.9-.9 1.67-1.13 1.8-1.67 2.09-2.77.09-.36.2-.78.38-1.3.29-.83.47-1.95.66-3.11.3-1.8.62-3.71 1.36-4.86.92-1.4 1.49-1.38 2.45-1.32a7.1 7.1 0 0 0 1.86-.08 10 10 0 0 0 1.94-.7c1.15-.51 2.38-1.05 3.28-.86.37.07.84.67 1.4 1.38.73.9 1.6 2 2.55 2.38.82.34 1.82.26 2.8.2.9-.07 1.8-.14 2.45.15 1.26.56 1.52 1.27 1.83 2.1.2.53.42 1.12.96 1.77.44.53.94.91 1.42 1.29a5.74 5.74 0 0 1 1.95 2.16c.3.65.28 1.25.26 1.8-.05.98-.08 1.78 1.85 2.37l-.19.19c-1.9 1.94-8.68 8.87-11.31 8.51-2-.27-1.93-1.88-1.85-3.4l.02-.85c0-.67.04-1.34.08-2.02.15-2.15.28-4.29-1.12-6.25-1.96-2.73-4.45-3.42-6.23-.42a5.04 5.04 0 0 0-.56 2.08c-.1.9-.2 1.8-.91 2.6-.63.72-1.36 1.01-2.1 1.32-.47.19-.96.38-1.42.7-3.4 2.22-6.44 5.64-5.11 9.76.94 2.93 2.6 2.98 4.49 3.05 1.36.04 2.84.09 4.27 1.2.73.57.94 1.13 1.16 1.68.28.72.54 1.4 1.95 2 1.2.5 2.63.45 4.05.4 1.09-.04 2.17-.08 3.15.13-.91.52-3.35 4.7-2.85 4.36-3.56 2.98-5.53.76-7.4-1.35-.73-.83-1.44-1.63-2.23-2.1Z" fill="#000" fill-opacity=".2"/><g fill="#000" fill-opacity=".1"><path d="M109.88 125c-.42-1.6-4.19-2.3-5.67-1.5-4.74 2.55 6.75 5.59 5.67 1.5ZM68.14 124.62c-.2-1.48-3.03-3.74-4.87-2.4-1.17-.44.56 2.75.85 3.04 1.53 1.56 4.41 2.3 4.02-.64ZM38.4 123.25c-.57-.2-1.24-.37-1.95-.54-2.03-.49-4.33-1.05-5.1-2.82-.4-.9.26-2.16.92-3.41.86-1.65 1.73-3.29.17-4.12-1.8-.96-2.35.26-2.9 1.48-.28.63-.56 1.26-1.02 1.59-4.52 3.19-4.05.28-3.66-2.18.16-1 .3-1.92.11-2.34-.39-.88-1.36-1.33-2.34-1.78-.76-.35-1.51-.7-1.98-1.26-.82-.95-.75-2.15-.7-3.26.09-1.65.16-3.06-2.77-3-6.28.12-3.54 4.87-1.38 8.61.86 1.5 1.63 2.83 1.7 3.64.1 1.34-.7 2.2-1.48 3.03-.65.7-1.3 1.37-1.37 2.3-.15 1.7 5.21 5.78 5.96 5.56.91.2 2.84.95 1.06 1.68h12.76c.33 0 .71.02 1.1.04 1.33.09 2.78.17 3.2-.61.21-.4.18-2.43-.34-2.61ZM128.02 117.12c-.42 2.86-.83 5.6 3.2 7.24 2.48 1.01-2.12 2.56-3.9 2.07-2.48-.69-3.08-1.86-3.46-4.18-.08-.5 0-1.05.08-1.61.22-1.52.44-3.04-2.53-3.18-2.4-.12-2.53.8-2.24 2.62 0 .05-3.92-.42-3.95-.44-.98-1.12-.4-1.58.2-2.04.33-.26.66-.52.71-.9.23-1.6.34-4.56-2.51-5.45-1.19-.37-2.27-.1-3.33.18-1.36.35-2.69.69-4.15-.4-.52-.39-.81-2.33-1.01-3.68-.12-.75-.2-1.32-.28-1.34.36-.54-1-1.2-2.34-1.85-.97-.48-1.92-.94-2.16-1.34-1.48-2.46 1.52-2.95 4.24-3.4.98-.16 1.94-.31 2.61-.55 1.05-.38 1.8-.71 2.4-.98 1.82-.81 2.1-.93 4.79.65.76.45 1.58 1.07 2.4 1.68.63.47 1.26.94 1.84 1.32-.73.15 3.81 1.89 3.44 1.7.82.4 1.34.6 1.7.73.31.1.5.17.65.3.25.18.39.5.76 1.36l.3.67.25.58c.74 1.65 1.8 4.03 2.31 5.68.46 1.45.22 3.03 0 4.57ZM-40.75 36.57c2.64-.71 4.17 1.8 5.4 3.83.82 1.38 1.52 2.52 2.33 2.26 2.14 1.9 4.2.16 5.92-1.27a9.27 9.27 0 0 1 1.78-1.3c-.11-.06 4.77 1.12 3.78 1.32 6.55 2.28 6.63-2.85 6.7-7.32.02-1.93.05-3.74.6-4.78.98-1.87 2.36-2.59 4.62-3.4.8-.29 1.67-.45 2.54-.62 1.82-.34 3.63-.68 4.66-2.13.19-.27.38-1.12.5-1.72.08-.35.14-.61.17-.62-.58-.15-4.68-1.48-5.1-1.84-.4-.33-.5-.91-.59-1.44-.08-.45-.15-.86-.38-1.07a13.4 13.4 0 0 0-1.96-1.35c-1.07-.65-2.06-1.25-2.84-2.57-.34-.56-.5-1.22-.67-1.86-.41-1.58-.81-3.11-3.5-3.17-2.17-.04-3.46 1.7-4.14 3.18-.3.67-.22 2.52-.13 4.61.22 5.1.5 11.58-4.56 5.58a5.4 5.4 0 0 1-.84-1.33c-.27-.55-.45-.93-1.8-1.7a3.27 3.27 0 0 0-1.65-.35c-.78-.02-1.52-.04-2.18-.99-.68-.98-.34-1.91-.14-2.47.23-.62.28-.77-1.49.05-4.11 1.9-4.27 6.15-4.4 9.71-.03.7-.06 1.39-.12 2.02a14.87 14.87 0 0 1-1.96 6.18c-.99 1.63-3.19 5.25-.55 4.55ZM40.36.37c.74 1.07 1.7 1.79 2.7 2.54.47.34.94.7 1.4 1.1.28.22.58.42.89.62.6.39 1.2.78 1.52 1.4.26.49.16 1.15.07 1.82-.1.76-.21 1.52.22 2.02 1.21 1.4 2.86 1.06 4.6.71 2.3-.47 4.76-.97 6.52 2.6 1.27 2.55 1.89 6.22.24 8.7-.7 1.05-2.23 1.77-3.73 2.47-1.88.89-3.7 1.75-3.83 3.19-.07.83.55 1.44 1.18 2.06.56.55 1.13 1.11 1.28 1.87.13.64-.2 1.4-.52 2.12-.6 1.42-1.16 2.69 1.84 2.61-.05-.02 0-.04.04-.05l.03-.02a4 4 0 0 0 .79-.3c.52-.22 1.16-.5 1.4-.5l.33-.34c.92-.96 3.5-3.65 4.81-3.52 2.58.23 3.58 5.36 2.2 5.62.58.1 1.03.43 1.49.76.81.59 1.67 1.21 3.43.67 1.39-.43 1.73-1.03 2.18-1.83.15-.27.31-.56.53-.86.66-.95 1.03-1.6 1.27-2 .25-.42.36-.6.5-.63.1-.03.21.03.42.14a8.2 8.2 0 0 0 2.5.77l.06-.3c.2-1.15.27-1.6.12-1.94-.1-.22-.29-.4-.6-.69-.24-.23-.57-.54-.98-1-.53-.57-1.14-1.1-1.74-1.63-.43-.38-.86-.76-1.27-1.15-.5-.5-5.13-5.41-4.17-5.65-.93-.17-1.02-2.44-1.11-4.62-.07-1.52-.13-3-.47-3.68-.35-.68-.9-1.27-1.45-1.85-.45-.47-.9-.94-1.23-1.46-.9-1.4-1.04-3.03-1.18-4.7-.14-1.59-.28-3.2-1.1-4.65-.2-.37-.55-.69-.9-1-.33-.3-.66-.59-.86-.93-.13-.23-.37-.45-.6-.65a5.04 5.04 0 0 1-.38-.36c-.7-.78-.78-1.2-.83-1.45a.7.7 0 0 0-.06-.2c-.12-.2-.48-.28-2.2-.6v-.01c-3.15-.61-12.12-.32-14.6 1.74-.35.3-.71 1.1-.99 1.7-.18.4-.32.72-.4.74.37.18.49.36.61.54l.04.05ZM168.56 110.33c-.52 2.23 1.1 4.08 3.18 5.07 1.07.51.98 1.45.87 2.57-.04.37-.08.75-.08 1.15-2.47-.01-7.4-2.84-8.96-4.83-1.63-2.09-1.13-3.1-.36-4.64.24-.46.49-.97.71-1.57.44-1.16.6-2.33.76-3.41.4-2.81.7-4.97 5.53-4.54 0 .55-.33.87-.67 1.22-.45.46-.93.95-.72 2.06.13.7.62 1.09 1.11 1.47.7.55 1.38 1.09 1.02 2.51-.14.55-.64.97-1.16 1.4-.53.46-1.08.92-1.22 1.54ZM10.62 2.44c.85.1 1.48.38 2.1.65.85.38 1.67.75 3.02.6 1.15-.11 2.03-.67 2.92-1.23.51-.33 1.03-.66 1.6-.9 1.4-.58 3.8-.84 6.43-1.12C31.97-.1 38.13-.76 38.68-4.4c-.9 0-2.25-.09-3.83-.19-4.88-.3-11.82-.74-13.43.82-.83.8-.72 1.47-.62 2.04.14.8.24 1.4-2.53 1.86-.9.15-1.56-.09-2.22-.32-1-.37-2-.72-3.86.3-.27.15-3.62 2.1-1.58 2.34ZM162.37 32.42c.58-1.44 1.49-3.74 2.94-3.83.52.44 1.18 1.41 1.77 2.28.5.74.96 1.4 1.22 1.6 1.21.88 1.55.84 2.5.73.42-.04.96-.1 1.73-.1 0 2.23-.61 3.37-1.32 4.68-.46.86-.97 1.8-1.36 3.18-.04.14-.08.41-.12.76-.2 1.7-.63 5.14-3.16 3.16-.62-.49-.64-1.98-.66-3.73-.04-3.23-.1-7.36-3.93-7.81.11-.2.24-.53.4-.92ZM102.33-.92c0 3 1.28 10.24 6.03 5.19 1.17-1.24 2.12-6.23 1.52-7.46-1.78-3.67-7.55-1.14-7.55 2.28ZM-39.18 121.74c-.62-.97-1.22-1.9-1.86-2.36-.59-.43-.5-1.74-.45-2.75.02-.27.04-.53.04-.74.82-.04 1.74.4 2.68.86 1.33.64 2.7 1.31 3.94.64 1.94-1.04.71-1.63-.52-2.22-.67-.32-1.34-.64-1.51-1.04-1.9-4.42 1.88-2.01 3.4-1.04.32.2.54.34.59.34-.46.6-.3 2.25-.12 4.1.34 3.57.76 7.94-2.85 7.48-1.33-.17-2.37-1.77-3.34-3.27ZM-39.86 76.85c.39-.54.8-1.12 1.2-1.43.27-.2.82-.06 1.3.07.37.1.7.2.83.1.23-.15.24-.4.26-.63 0-.23.02-.45.2-.58.52-.35 2.56-1.95 2.54-2.53-.04-1.38-1.35-1.7-2.67-2.02-.95-.23-1.9-.46-2.35-1.1-.12-.16-.05-.9.04-1.86.24-2.67.64-6.97-2.53-5.03-.65-.21-.04 16.33.15 16.21.3-.18.65-.68 1.03-1.2ZM140.32 121.53c.32-2.06.62-4 3.36-3.26.21.05-.09.84-.45 1.8-.55 1.43-1.23 3.23-.5 3.4-.34.06-.38.48-.41.88-.02.2-.03.39-.09.52-.7 1.7-.86 1.7-2.44 1.61-.45-.02-1.01-.05-1.73-.05.1-.05-.5-.82-.65-.94 2.3-.06 2.61-2.07 2.9-3.97ZM137.39 125.49h.02c-.02-.02-.03-.03-.02 0ZM126.5-1.19a7.7 7.7 0 0 0-.07-2.35 11 11 0 0 0-.45-.86h.36c2-.02 7.66-.07 4.51 2.37-.97.76-3.05.86-4.34.84ZM139.1-3.8s3.3 1.83 3.43 1.4c.65-2.3-1.46-2.17-3.33-2.05-.4.02-.8.05-1.14.05.42.09.76.29 1.03.6Z"/><path d="M-4.91 63.96c.48.84.96 1.69 2.06 2.19C.05 67.47.1 68.09.2 69.13c.07.62.14 1.38.82 2.52 1.65 2.79 5.81 2.6 9.11 2.44.68-.03 1.31-.06 1.88-.06.74 0 1.26.03 1.68.06 1.3.08 1.44.1 3.13-1.4.7-.6 1.37-1.32 2.06-2.05.78-.83 1.59-1.67 2.45-2.41 1.86-1.6 6.16-5.62 3.02-7.85 1.53-.35 1.06-3.02-.02-3.61.13-.05 1.46-3.25 1.39-3.42.7.04 1.36.22 2 .39 1.41.37 2.71.72 3.96-.53 1.08-1.07.73-2.62.38-4.18-.3-1.3-.6-2.62-.04-3.64 1.55-2.89 6.63-3.17 9.3-1.44 1.82 1.19 6 5 7.16 6.77 1.98 3.02 1.2 5.71-2.95 5.6-1-.02-1.73-.46-2.26-.78-.79-.48-1.13-.69-1.32 1.15-.08.8.76 1.85 1.45 2.69a11.22 11.22 0 0 1 .97 1.33c1.77 2.7 2.49 3.8 1.15 7.08-.06.17-.13.33-.2.48-.95 2.34-1.28 3.15-.37 5.83 1.05 3.08 1.34 4.39 1.09 7.64l-.06.51c-.16 1.36-.42 3.6 1.87 3.93-.35.53-1.66 4.38-1.34 4.75-1.96-.24-2.27.13-2.85.8-.37.44-.85 1-1.91 1.61-.75.42-1.69.53-2.64.63-1.33.15-2.68.3-3.54 1.33-.78.93-.8 2.45-.84 3.94a9.36 9.36 0 0 1-.37 3c-.58 1.53-1.37 3.41-3.36 4.1-4.8 1.64-4.42-2.59-4.15-5.55.04-.5.09-.98.1-1.38.16-5.04.23-10.4-.73-15.26-.98-4.94-1.8-3.05-2.9-.5-.2.5-.43 1.02-.67 1.51a7.4 7.4 0 0 1-1.79 2.16 7.71 7.71 0 0 0-1.68 1.97c-.31.59-.28 1.2-.26 1.78.04.82.08 1.6-.78 2.22-.65.48-1.41.32-2.11.17-.58-.12-1.11-.23-1.5.03-.73.51-.84 1.94-.96 3.41-.16 2.1-.33 4.3-2.35 4.05-1.98-.24-2.16-2.3-2.31-4.03-.11-1.23-.2-2.29-.9-2.42.37-.1.82-.22 1.3-.33 3.1-.74 7.47-1.78 1.43-3.86 1.85-.18 1.31-2.45 1.07-3.5l-.05-.2c-.07-.3-.42-.55-.77-.8-.36-.25-.73-.52-.79-.84-.12-.72.07-1.08.26-1.44.14-.26.28-.52.3-.91.01-.53.07-1.03.11-1.48.2-1.98.3-3-2.86-1.4-.9.45-1.1 1.07-1.27 1.56-.22.67-.36 1.09-2.16.43-.06-.2-.22-.3-.48-.34-.27.08-.7-.22-1.21-.58-.78-.54-1.74-1.2-2.58-.85-1.66.7-1.03 1.9-.47 2.98.21.4.42.8.49 1.13.55 2.58.2 2.75-.6 3.13-.58.28-1.38.66-2.24 2.1-.71 1.2-.26 2.4.17 3.5.57 1.48 1.09 2.83-1.21 3.87-5.86 2.66-6.78-3.52-6.04-6.46l.08-.34c.8-3.2 1.4-5.58-.11-8.87-1.04-2.26-2.75-3.59-4.58-5.02a31.58 31.58 0 0 1-2.8-2.36c-3.43-3.38-3.7-7.4.22-10.64 3.14-2.6 7.36-3.36 10.65-.65.54.45.88 1.04 1.22 1.63ZM86.86 16.93c.45.21 1.04 1 1.64 1.81.56.75 1.14 1.52 1.63 1.89.6.45 1.26.79 1.9 1.12 1.04.56 2.06 1.1 2.8 2.08 3.04 4.1.8 6.84-1.88 10.1l-.1.11c-2.9 3.54-4.47 14.02-1.33 17.42.5.54 1.28.95 2.1 1.38.9.47 1.85.97 2.5 1.68.39.42.63.92.88 1.42.23.46.46.93.8 1.33 1.22 1.44 4.02 4.31 6.14 4.43.44-2.45 1.27-3.31 3.72-4.66 3.3 1.12 4.88-6.03 4.72-6.91-.32-1.77-1.37-4.19-3.9-4.25-2.3-.06-2.76 1.15-3.21 2.36-.3.78-.58 1.56-1.37 2-2.46 1.36-2.85.26-3.46-1.48a29 29 0 0 0-.32-.88c-.24-.6-.33-1.11-.42-1.58a3.98 3.98 0 0 0-1.1-2.37 5.33 5.33 0 0 0-1.8-1.06c-.85-.36-1.7-.73-2.14-1.46-2.07-3.5 1.1-6 3.99-8.28 1.3-1.02 2.53-2 3.22-3-.17-.06 6.45-2 7.03-2.1.38-.07.87-.13 1.39-.19 2.34-.27 5.48-.63 3.8-2.41-.62-.68-1.64-.9-2.7-1.11-1.22-.26-2.5-.53-3.3-1.53-1.03-1.27-.77-2.71-.5-4.13.2-1.14.4-2.26-.08-3.27-1.42.03-2.77.55-4.1 1.06-2.34.9-4.62 1.79-7.15-.15-1.72-1.33-1.57-3.06-1.41-4.78.12-1.39.25-2.77-.6-3.93-.39-.54-.53-.8-.6-.92-.02-.06-.03-.08-.05-.09l-.03.02c-.08.05-.3.2-1.34-.01-3.03-.65-3.15-.21-3.45.88-.1.35-.2.78-.44 1.25-.47.93-2.52 7.7-1.48 8.2ZM10.6 33.44c-3.42.87-5 .75-9.52.13-.56-.05-1.1-.07-1.66-.05.64-.48 4.78-5.6 4.68-5.67.13.08.02.67-.1 1.32-.12.74-.26 1.56-.1 1.77.7.84 2.58 1.16 4.26 1.46.95.16 1.83.32 2.4.55-.2.1-.18.27.04.5ZM79.33 20.15c.03 0 .16.08.35.19.61.35 1.83 1.05 1.84.89.04-.62.63-1.3 1.19-1.97 1.04-1.22 2.02-2.37-.54-2.88-2.15-.42-4.12 2.14-4.37 3.53.54-.03 1.05.05 1.53.24ZM118.27 70.9a24.6 24.6 0 0 0-2.77-2.67c-2.59-1.07 2.46-6.6 4.3-8.62l.51-.57c.58-.67 1.67-2.92 2.66-4.95.92-1.92 1.76-3.64 1.98-3.66.62-.06 2.05 9.72 2.81 14.88.22 1.49.38 2.6.45 2.97l.1.51c.44 2.3.93 4.86-.84 6.78-1.56 1.69-5.46 3.05-7.56 1.36-1.1-.88-1.12-2.12-1.13-3.35a5.16 5.16 0 0 0-.5-2.67ZM159.65 16.33c.22.93 1.78 3.29 2.94 3.32.06-.43.78-1.77 1.51-3.12.8-1.5 1.61-3 1.5-3.22-1.15-2.31-6.57.33-5.95 3.02ZM79.07 25.5c.63.42 1.3.84 1.67 1.38.72 1.03-.08 3-1.72 2.95.13-.54-.15-1.39-.43-2.25-.34-1.03-.68-2.08-.33-2.61l.8.54ZM136.95 74.33c.54 1.43 1.05 2.8 1.32 3.25.4.66.87 1.3 1.34 1.96.74 1.03 1.5 2.06 1.98 3.16 1.2 2.68.71 4.72.2 6.84-.36 1.54-.73 3.11-.47 5 .68 4.82 4.12 2.8 5.67-.43-1.37-.18 1.95-6.67 3.6-8.01.3-.26.76-.7 1.3-1.23 2.12-2.07 5.63-5.5 7.4-4.22 1.62 1.17.7 2.52-.2 3.86-.63.94-1.26 1.87-1 2.72.04.18.62.01 1.06-.12.3-.09.53-.16.55-.11.01.03.11.05.26.07.32.06.86.15 1 .62.1.32-.07.7-.23 1.06-.14.3-.27.6-.22.84.36 1.7.13 3.27-.1 4.9-.13.93-.27 1.88-.3 2.89-.2 5.7 1.44 2.6 2.6.4.44-.83.8-1.53 1-1.6-2.04-1.62-1.4-7.4 1.75-8.04 1.3-.26 2.33.32 3.29.87 1.22.7 2.33 1.33 3.77.05.56-.49.1-7.65-.2-7.9-.47-.4-1.5-.53-2.45-.66a9.14 9.14 0 0 1-1.5-.27c-1.31-.44-6.6-2.23-2.77-3 .9-.18 1.86.33 2.81.84 1.09.57 2.17 1.14 3.17.73 1.94-.8 1.43-8.67 1.11-13.53-.1-1.35-.17-2.47-.17-3.14-2 .05-3.64 2.87-4.19 4.25-1.56 3.92-2.2 5.05-7.02 7.43a57.6 57.6 0 0 0-3.55 1.73l-.02.01c-.3.18-.76.17-1.2.16-.47 0-.9-.02-1.1.2-.25.28-.1.92.08 1.63.24.96.5 2.06-.09 2.7-2.03 2.16-3.39.77-4.94-.83l-.62-.62-.8-.76c-1.02-.95-2.35-2.2-2.83-3.06-1.66-2.96.06-3.47 2.02-4.05 1.55-.46 3.26-.96 3.52-2.78.18-1.32-1.54-2.18-3.3-3.05-.94-.48-1.9-.96-2.56-1.51-.45-.38-.77-.85-1.09-1.32-.56-.81-1.12-1.63-2.37-1.98-4.87-1.36-11.02 8.46-7.25 10.07.28.12 1.02 2.09 1.72 3.96ZM58.31 125.53c-.3-3.3-5.79-.12-7.35.79l-.2.1h7.62l-.07-.9ZM117.73 125.89c.52-.17 2.31-2.67 2.55-3.2a2.8 2.8 0 0 0-.15.73c-.12 1-.3 2.42-2.4 2.47Z"/></g>',circuits:(a,l)=>'<path d="M15 0h-4v18h4V0ZM23 0h-4v34h53.42a5 5 0 1 0 0-4H23V0Z" fill="#000" fill-opacity=".1"/><path d="M122 34.58a5 5 0 1 0-4 0V64h23v-4h-19V34.58Z" fill="#fff" fill-opacity=".2"/><path d="M114 46h-4v26h31v-4h-27V46ZM27 103.58a5 5 0 1 1 4 0V133H8v-4h19v-25.42Z" fill="#000" fill-opacity=".2"/>',dirty01:(a,l)=>'<g fill-rule="evenodd" clip-rule="evenodd" fill="#000"><path d="M-9.12 122.1c4.36-30.7 13.06-4.57 33.99-9.98 9.24-2.39 1.77-12.82 8.67-17.35 5.82-3.82 13.76-.74 20.43-3.21 9.63-3.57 9.5-10.82 18.48-11.9 8.48-1.03 17.37 2.34 25.93 1.08 16.15-2.4 9.53-34.03 21.64-39.61 12.1-5.6 32.05 4.06 34.66 19.87 2.54 15.42-14.46 72.78-14.46 72.78H-9.12" fill-opacity=".2"/><path d="M35.93 122c37.67 0 41.6-14.75 60.14-21.5 18.53-6.76 34.78 10.71 41-6.27 6.24-16.98 6.2 35.95 6.2 35.95H35.94V122Z" fill-opacity=".1"/><path d="M-2 4.87C9.73 3.75 5.96 16.8 10.6 16.8c1.85 0 4.03-8.46 7.38-8.46 2.46 0 2 5.5 7.32 4.91 5-.54 4.08-4 6.6-4 5.45 0 3.39 20.2 7.74 20.2 4.36 0 5.73-14.8 7.65-20.64 2.43-7.4 16.97-11.56 6.6-14.5H-2.29" fill-opacity=".4"/></g>',dirty02:(a,l)=>'<g fill-rule="evenodd" clip-rule="evenodd" fill="#000"><path d="M100 124.65c-3.19-17.34-9.55-2.58-24.85-5.63-6.76-1.35-1.3-7.25-6.34-9.8-4.26-2.17-10.06-.43-14.94-1.82-7.04-2.02-6.95-6.12-13.5-6.73-6.2-.58-12.7 1.33-18.97.61C9.6 99.93 14.44 82.06 5.58 78.9c-8.85-3.15-23.43 2.3-25.34 11.23-1.86 8.71 10.57 41.12 10.57 41.12h109.2" fill-opacity=".2"/><path d="M136 116.77c-51.24 0-56.58-25.8-81.8-37.61C29 67.34 6.9 97.9-1.56 68.2c-8.48-29.7-8.43 62.86-8.43 62.86h146v-14.3Z" fill-opacity=".1"/><path d="M141.57 3.18c-11.93-.98-5.03 10.8-9.74 10.8-6.97 0-2.1-7.97-10.58-7.78-2.22.06-4.95 1.94-5.11 4.5-.37 5.52 3.71 15.03-1.84 15.3-5.18.25-1.1-9.64-1.65-16.24-.3-3.77-4.18-6.75-6.97-6.75-7.57 0-1.68 15.7-7.13 15.7s-1.2-9.05-5.08-13.84C88.97-.7 74.17-3.44 84.72-6h57.15" fill-opacity=".4"/></g>',dots:(a,l)=>'<g fill="#000"><path d="M27.3 65.2a2.1 2.1 0 1 0 0-4.2 2.1 2.1 0 0 0 0 4.2ZM35.7 69.41a2.1 2.1 0 1 1-4.2 0 2.1 2.1 0 0 1 4.2 0ZM35.7 82.03a2.1 2.1 0 1 1-4.2 0 2.1 2.1 0 0 1 4.2 0ZM35.7 94.66a2.1 2.1 0 1 1-4.2 0 2.1 2.1 0 0 1 4.2 0ZM34.1 109.2a2.1 2.1 0 1 0 0-4.2 2.1 2.1 0 0 0 0 4.2ZM49.2 107.1a2.1 2.1 0 1 1-4.2 0 2.1 2.1 0 0 1 4.2 0ZM27.3 90.45a2.1 2.1 0 1 0 0-4.2 2.1 2.1 0 0 0 0 4.2ZM29.2 101.1a2.1 2.1 0 1 1-4.2 0 2.1 2.1 0 0 1 4.2 0ZM51.1 103.2a2.1 2.1 0 1 0 0-4.2 2.1 2.1 0 0 0 0 4.2ZM42 88.34a2.1 2.1 0 1 1-4.2 0 2.1 2.1 0 0 1 4.2 0ZM39.9 103.07a2.1 2.1 0 1 0 0-4.2 2.1 2.1 0 0 0 0 4.2ZM29.4 75.72a2.1 2.1 0 1 1-4.2 0 2.1 2.1 0 0 1 4.2 0ZM39.9 77.83a2.1 2.1 0 1 0 0-4.2 2.1 2.1 0 0 0 0 4.2ZM10.5 94.66a2.1 2.1 0 1 1-4.2 0 2.1 2.1 0 0 1 4.2 0ZM8.4 84.14a2.1 2.1 0 1 0 0-4.2 2.1 2.1 0 0 0 0 4.2ZM10.5 107.28a2.1 2.1 0 1 1-4.2 0 2.1 2.1 0 0 1 4.2 0ZM2.1 90.45a2.1 2.1 0 1 0 0-4.2 2.1 2.1 0 0 0 0 4.2ZM4.2 100.97a2.1 2.1 0 1 1-4.2 0 2.1 2.1 0 0 1 4.2 0ZM14.7 90.45a2.1 2.1 0 1 0 0-4.2 2.1 2.1 0 0 0 0 4.2ZM16.8 100.97a2.1 2.1 0 1 1-4.2 0 2.1 2.1 0 0 1 4.2 0ZM8.4 71.52a2.1 2.1 0 1 0 0-4.2 2.1 2.1 0 0 0 0 4.2ZM4.2 75.72a2.1 2.1 0 1 1-4.2 0 2.1 2.1 0 0 1 4.2 0ZM14.7 65.2a2.1 2.1 0 1 0 0-4.2 2.1 2.1 0 0 0 0 4.2ZM16.8 75.72a2.1 2.1 0 1 1-4.2 0 2.1 2.1 0 0 1 4.2 0ZM21 96.76a2.1 2.1 0 1 0 0-4.2 2.1 2.1 0 0 0 0 4.2ZM23.1 82.03a2.1 2.1 0 1 1-4.2 0 2.1 2.1 0 0 1 4.2 0ZM21 109.38a2.1 2.1 0 1 0 0-4.2 2.1 2.1 0 0 0 0 4.2ZM35.7 119.9a2.1 2.1 0 1 1-4.2 0 2.1 2.1 0 0 1 4.2 0ZM27.3 115.69a2.1 2.1 0 1 0 0-4.2 2.1 2.1 0 0 0 0 4.2ZM42 113.59a2.1 2.1 0 1 1-4.2 0 2.1 2.1 0 0 1 4.2 0ZM8.4 122a2.1 2.1 0 1 0 0-4.2 2.1 2.1 0 0 0 0 4.2ZM4.2 113.59a2.1 2.1 0 1 1-4.2 0 2.1 2.1 0 0 1 4.2 0ZM14.7 115.69a2.1 2.1 0 1 0 0-4.2 2.1 2.1 0 0 0 0 4.2ZM23.1 119.9a2.1 2.1 0 1 1-4.2 0 2.1 2.1 0 0 1 4.2 0ZM21 71.52a2.1 2.1 0 1 0 0-4.2 2.1 2.1 0 0 0 0 4.2Z" fill-opacity=".2"/><path d="M117.3 4.2a2.1 2.1 0 1 0 0-4.2 2.1 2.1 0 0 0 0 4.2ZM125.7 8.41a2.1 2.1 0 1 1-4.2 0 2.1 2.1 0 0 1 4.2 0ZM125.7 21.03a2.1 2.1 0 1 1-4.2 0 2.1 2.1 0 0 1 4.2 0ZM125.7 33.66a2.1 2.1 0 1 1-4.2 0 2.1 2.1 0 0 1 4.2 0ZM123.6 48.38a2.1 2.1 0 1 0 0-4.2 2.1 2.1 0 0 0 0 4.2ZM119.4 27.34a2.1 2.1 0 1 1-4.2 0 2.1 2.1 0 0 1 4.2 0ZM117.3 42.07a2.1 2.1 0 1 0 0-4.2 2.1 2.1 0 0 0 0 4.2ZM132 27.34a2.1 2.1 0 1 1-4.2 0 2.1 2.1 0 0 1 4.2 0ZM129.9 42.07a2.1 2.1 0 1 0 0-4.2 2.1 2.1 0 0 0 0 4.2ZM119.4 14.72a2.1 2.1 0 1 1-4.2 0 2.1 2.1 0 0 1 4.2 0ZM129.9 16.83a2.1 2.1 0 1 0 0-4.2 2.1 2.1 0 0 0 0 4.2ZM100.5 33.66a2.1 2.1 0 1 1-4.2 0 2.1 2.1 0 0 1 4.2 0ZM98.4 23.14a2.1 2.1 0 1 0 0-4.2 2.1 2.1 0 0 0 0 4.2ZM100.5 46.28a2.1 2.1 0 1 1-4.2 0 2.1 2.1 0 0 1 4.2 0ZM92.1 29.45a2.1 2.1 0 1 0 0-4.2 2.1 2.1 0 0 0 0 4.2ZM106.8 27.34a2.1 2.1 0 1 1-4.2 0 2.1 2.1 0 0 1 4.2 0ZM104.7 42.07a2.1 2.1 0 1 0 0-4.2 2.1 2.1 0 0 0 0 4.2ZM100.5 8.41a2.1 2.1 0 1 1-4.2 0 2.1 2.1 0 0 1 4.2 0ZM92.1 16.83a2.1 2.1 0 1 0 0-4.2 2.1 2.1 0 0 0 0 4.2ZM106.8 2.1a2.1 2.1 0 1 1-4.2 0 2.1 2.1 0 0 1 4.2 0ZM104.7 16.83a2.1 2.1 0 1 0 0-4.2 2.1 2.1 0 0 0 0 4.2ZM113.1 33.66a2.1 2.1 0 1 1-4.2 0 2.1 2.1 0 0 1 4.2 0ZM111 23.14a2.1 2.1 0 1 0 0-4.2 2.1 2.1 0 0 0 0 4.2ZM113.1 46.28a2.1 2.1 0 1 1-4.2 0 2.1 2.1 0 0 1 4.2 0ZM123.6 61a2.1 2.1 0 1 0 0-4.2 2.1 2.1 0 0 0 0 4.2ZM132 52.59a2.1 2.1 0 1 1-4.2 0 2.1 2.1 0 0 1 4.2 0ZM104.7 54.69a2.1 2.1 0 1 0 0-4.2 2.1 2.1 0 0 0 0 4.2ZM113.1 58.9a2.1 2.1 0 1 1-4.2 0 2.1 2.1 0 0 1 4.2 0ZM111 10.52a2.1 2.1 0 1 0 0-4.2 2.1 2.1 0 0 0 0 4.2Z" fill-opacity=".1"/></g>',grunge01:(a,l)=>'<path d="M69.1 77c-.08.01-.09.02-.1.11.09-.01.1-.02.1-.1ZM81.25 107.1l.13-.1c1.9 0-1.25.19-.13.1ZM86 85.11c.09-.01.1-.02.1-.1-.08 0-.09.01-.1.1ZM15 92c.01.09.02.1.1.11 0-.09-.01-.1-.1-.1Z" fill="#000" fill-opacity=".4"/>',grunge02:(a,l)=>'<path d="M29.47 34.03c-.1 0-.19-.06-.26-.12-.08-.07-.14-.12-.13.14.01.5.67-.05.4-.02ZM9.33 48.92s.2-.56.03-.74c-.17.17-.18.42-.03.74ZM7.5 52c.06 0 .57-.28.48-.43-.12-.18-.49.34-.49.42ZM22.9 59.14c-.13-.11-.53-.45-.28-.5.14-.03.5.36.32.54v-.01h-.01l-.03-.03ZM26.33 108.46c.13-.02.66-.36.34-.45-.21-.04-.6.5-.34.46ZM52.63 96.34c-.05.05-.2.09-.34.12-.15.04-.26.07-.16.1.19.06.84.16.5-.22ZM4.76 43.63ZM5.1 71.63l.06-.1c1.02 0-.68.19-.07.1ZM80.53 109.92c.09-.02.1-.02.1-.11-.07.01-.08.02-.1.1ZM29.17 117.78c.08-.02.09-.03.1-.11-.08.01-.09.02-.1.1ZM9.01 49.75c.08-.02.09-.03.1-.12-.08.02-.09.03-.1.12ZM65.84 48.74c.02.09.03.1.1.1 0-.08-.01-.09-.1-.1ZM107.28 76.91c-.08.02-.09.03-.1.12.08-.02.09-.03.1-.12Z" fill="#000" fill-opacity=".2"/>'},top:ea},Symbol.toStringTag,{value:"Module"});function da({prng:a,group:l,values:c=[]}){const i=ha,t=a.pick(c);return t&&i[l][t]?{name:t,value:i[l][t]}:void 0}const na=Object.defineProperty({__proto__:null,create:({prng:a,options:l})=>{var c,i,t,e,r,h,d,n,o,f;const p=function({prng:a,options:l}){const c=da({prng:a,group:"sides",values:l.sides}),i=da({prng:a,group:"top",values:l.top}),t=da({prng:a,group:"face",values:l.face}),e=da({prng:a,group:"mouth",values:l.mouth}),r=da({prng:a,group:"eyes",values:l.eyes}),h=da({prng:a,group:"texture",values:l.texture});return{sides:a.bool(l.sidesProbability)?c:void 0,top:a.bool(l.topProbability)?i:void 0,face:t,mouth:a.bool(l.mouthProbability)?e:void 0,eyes:r,texture:a.bool(l.textureProbability)?h:void 0}}({prng:a,options:l}),s=function({prng:a,options:l}){var c,i;return{base:(i=a.pick(null!==(c=l.baseColor)&&void 0!==c?c:[],"transparent"),"transparent"===i?i:`#${i}`)}}({prng:a,options:l});return{attributes:{viewBox:"0 0 180 180",fill:"none","shape-rendering":"auto"},body:`<g transform="translate(0 66)">${null!==(i=null===(c=p.sides)||void 0===c?void 0:c.value(p,s))&&void 0!==i?i:""}</g><g transform="translate(41)">${null!==(e=null===(t=p.top)||void 0===t?void 0:t.value(p,s))&&void 0!==e?e:""}</g><g transform="translate(25 44)">${null!==(h=null===(r=p.face)||void 0===r?void 0:r.value(p,s))&&void 0!==h?h:""}</g><g transform="translate(52 124)">${null!==(n=null===(d=p.mouth)||void 0===d?void 0:d.value(p,s))&&void 0!==n?n:""}</g><g transform="translate(38 76)">${null!==(f=null===(o=p.eyes)||void 0===o?void 0:o.value(p,s))&&void 0!==f?f:""}</g>`,extra:()=>({...Object.entries(p).reduce(((a,[l,c])=>(a[l]=null==c?void 0:c.name,a)),{}),...Object.entries(s).reduce(((a,[l,c])=>(a[`${l}Color`]=c,a)),{})})}},meta:{title:"Bottts",creator:"Pablo Stanley",source:"https://bottts.com/",homepage:"https://twitter.com/pablostanley",license:{name:"Free for personal and commercial use",url:"https://bottts.com/"}},schema:{$schema:"http://json-schema.org/draft-07/schema#",properties:{baseColor:{type:"array",items:{type:"string",pattern:"^(transparent|[a-fA-F0-9]{6})$"},default:["ffb300","1e88e5","546e7a","6d4c41","00acc1","f4511e","5e35b1","43a047","757575","3949ab","039be5","7cb342","c0ca33","fb8c00","d81b60","8e24aa","e53935","00897b","fdd835"]},eyes:{type:"array",items:{type:"string",enum:["bulging","dizzy","eva","frame1","frame2","glow","happy","hearts","robocop","round","roundFrame01","roundFrame02","sensor","shade01"]},default:["bulging","dizzy","eva","frame1","frame2","glow","happy","hearts","robocop","round","roundFrame01","roundFrame02","sensor","shade01"]},face:{type:"array",items:{type:"string",enum:["round01","round02","square01","square02","square03","square04"]},default:["round01","round02","square01","square02","square03","square04"]},mouth:{type:"array",items:{type:"string",enum:["bite","diagram","grill01","grill02","grill03","smile01","smile02","square01","square02"]},default:["bite","diagram","grill01","grill02","grill03","smile01","smile02","square01","square02"]},mouthProbability:{type:"integer",minimum:0,maximum:100,default:100},sides:{type:"array",items:{type:"string",enum:["antenna01","antenna02","cables01","cables02","round","square","squareAssymetric"]},default:["antenna01","antenna02","cables01","cables02","round","square","squareAssymetric"]},sidesProbability:{type:"integer",minimum:0,maximum:100,default:100},texture:{type:"array",items:{type:"string",enum:["camo01","camo02","circuits","dirty01","dirty02","dots","grunge01","grunge02"]},default:["camo01","camo02","circuits","dirty01","dirty02","dots","grunge01","grunge02"]},textureProbability:{type:"integer",minimum:0,maximum:100,default:50},top:{type:"array",items:{type:"string",enum:["antenna","antennaCrooked","bulb01","glowingBulb01","glowingBulb02","horns","lights","pyramid","radar"]},default:["antenna","antennaCrooked","bulb01","glowingBulb01","glowingBulb02","horns","lights","pyramid","radar"]},topProbability:{type:"integer",minimum:0,maximum:100,default:100}}}},Symbol.toStringTag,{value:"Module"}),oa=Object.defineProperty({__proto__:null,eyes:{sad:(a,l)=>'<path d="M74.38 30a13 13 0 0 0 13-13v-.66C87.38 5.9 75.83-.87 68.45.1c-6.54.84-7.07 5.02-7.07 11.24V17a13.01 13.01 0 0 0 13 13Z" fill="#000"/><path d="M70.2 9.67a2.29 2.29 0 1 0 0-4.58 2.29 2.29 0 0 0 0 4.58Z" fill="#fff"/><path opacity=".1" d="M74.44 18.48a5.32 5.32 0 1 0 0-10.64 5.32 5.32 0 0 0 0 10.64Z" fill="#fff"/><path d="M13.37 30a13.01 13.01 0 0 1-13-13v-.66C.38 5.9 11.93-.87 19.32.1c6.56.84 7.07 5.02 7.07 11.24V17a13 13 0 0 1-13 13Z" fill="#000"/><path d="M9.22 9.67a2.29 2.29 0 1 0 0-4.58 2.29 2.29 0 0 0 0 4.58Z" fill="#fff"/><path opacity=".1" d="M13.46 18.48a5.32 5.32 0 1 0 0-10.64 5.32 5.32 0 0 0 0 10.64Z" fill="#fff"/>',tearDrop:(a,l)=>'<path d="M74.38 30.06a13 13 0 0 0 13-13v-.66C87.38 5.95 75.83-.82 68.45.15c-6.54.83-7.07 5.02-7.07 11.24v5.67a13.01 13.01 0 0 0 13 13Z" fill="#000"/><path d="M70.2 9.73a2.29 2.29 0 1 0 0-4.58 2.29 2.29 0 0 0 0 4.58Z" fill="#fff"/><path opacity=".1" d="M74.44 18.54a5.32 5.32 0 1 0 0-10.65 5.32 5.32 0 0 0 0 10.65Z" fill="#fff"/><path d="M13.37 30.06a13.01 13.01 0 0 1-13-13v-.66C.38 5.95 11.93-.82 19.32.15c6.56.83 7.07 5.02 7.07 11.24v5.67a13 13 0 0 1-13 13Z" fill="#000"/><path d="M9.22 9.73a2.29 2.29 0 1 0 0-4.58 2.29 2.29 0 0 0 0 4.58Z" fill="#fff"/><path opacity=".1" d="M13.46 18.54a5.32 5.32 0 1 0 0-10.65 5.32 5.32 0 0 0 0 10.65Z" fill="#fff"/><path d="M89.38 45.6a6.27 6.27 0 0 1-1.85 4.54 6.56 6.56 0 0 1-9.2.1 6.32 6.32 0 0 1-1.95-4.48c0-5.1 4.1-7.53 6.3-15.7 1.98 7.96 6.64 9.9 6.7 15.55Z" fill="#4ABCF4"/>',pissed:(a,l)=>'<path d="M74.46 30.06a13 13 0 0 1-13-13v-.66C61.46 5.95 73.01-.82 80.39.15c6.54.83 7.07 5.02 7.07 11.24v5.67a13.01 13.01 0 0 1-13 13Z" fill="#000"/><path d="M70.28 9.73a2.29 2.29 0 1 0 0-4.58 2.29 2.29 0 0 0 0 4.58Z" fill="#fff"/><path opacity=".1" d="M74.52 18.54a5.32 5.32 0 1 0 0-10.65 5.32 5.32 0 0 0 0 10.65Z" fill="#fff"/><path d="M13.47 30.06a13.01 13.01 0 0 0 12.99-13v-.66C26.46 5.95 14.92-.82 7.53.15.97.98.46 5.17.46 11.39v5.67a13 13 0 0 0 13 13Z" fill="#000"/><path d="M9.3 9.73a2.29 2.29 0 1 0 0-4.58 2.29 2.29 0 0 0 0 4.58Z" fill="#fff"/><path opacity=".1" d="M13.54 18.54a5.32 5.32 0 1 0 0-10.65 5.32 5.32 0 0 0 0 10.65Z" fill="#fff"/>',cute:(a,l)=>'<path d="M78.36 25.92h-6.6c-9.72 0-9.72.07-9.72-9.73v-3.3A13.04 13.04 0 0 1 75.06-.13 13.04 13.04 0 0 1 88.1 12.9v3.38c-.03 9.72-.03 9.65-9.73 9.65Z" fill="#000"/><path d="M70.69 9.52a2.28 2.28 0 1 0 0-4.57 2.28 2.28 0 0 0 0 4.57Z" fill="#fff"/><path opacity=".1" d="M74.92 18.31a5.31 5.31 0 1 0 0-10.62 5.31 5.31 0 0 0 0 10.62Z" fill="#fff"/><path d="M17.36 25.92h-6.6c-9.72 0-9.72.07-9.72-9.73v-3.3A13.04 13.04 0 0 1 14.06-.13 13.04 13.04 0 0 1 27.1 12.9v3.38c-.03 9.72-.03 9.65-9.73 9.65Z" fill="#000"/><path d="M9.8 9.53a2.29 2.29 0 1 0 0-4.57 2.29 2.29 0 0 0 0 4.57Z" fill="#fff"/><path opacity=".1" d="M14.03 18.35a5.32 5.32 0 1 0 0-10.65 5.32 5.32 0 0 0 0 10.65Z" fill="#fff"/>',wink:(a,l)=>'<path d="M16.41 26.96H9.82c-9.7 0-9.7.08-9.7-9.7v-4.09A12.2 12.2 0 0 1 12.32.97h1.6a12.2 12.2 0 0 1 12.2 12.2v4.16c-.03 9.7-.03 9.63-9.7 9.63Z" fill="#000"/><path d="M8.87 10.5a2.29 2.29 0 1 0 0-4.58 2.29 2.29 0 0 0 0 4.58Z" fill="#fff"/><path opacity=".1" d="M13.11 19.31a5.32 5.32 0 1 0 0-10.64 5.32 5.32 0 0 0 0 10.64Z" fill="#fff"/><path d="M62.7 19.96a1.68 1.68 0 0 1-1.5-.93 1.75 1.75 0 0 1-.12-1.32 13.54 13.54 0 0 1 4.85-7.09A13.1 13.1 0 0 1 74 7.97c2.9-.03 5.73.9 8.06 2.66a13.63 13.63 0 0 1 4.87 7.08c.13.44.08.92-.13 1.32a1.72 1.72 0 0 1-2.3.73 1.69 1.69 0 0 1-.83-1.03c-.63-2.13-1.91-4-3.66-5.32a9.92 9.92 0 0 0-6.07-2c-2.17 0-4.28.7-6.02 2.02a10.26 10.26 0 0 0-3.64 5.3c-.1.35-.32.66-.6.88a1.7 1.7 0 0 1-.98.35Z" fill="#000"/>',wink2:(a,l)=>'<path d="M77.41 26.02h-6.59c-9.7 0-9.7.07-9.7-9.7v-4.09A12.2 12.2 0 0 1 73.32.03h1.6a12.2 12.2 0 0 1 12.2 12.2v4.16c-.03 9.7-.03 9.63-9.7 9.63Z" fill="#000"/><path d="M69.87 9.56a2.29 2.29 0 1 0 0-4.58 2.29 2.29 0 0 0 0 4.58Z" fill="#fff"/><path opacity=".1" d="M74.11 18.37a5.32 5.32 0 1 0 0-10.65 5.32 5.32 0 0 0 0 10.65Z" fill="#fff"/><path d="M1.82 19.02c-.17 0-.34-.03-.5-.09a1.68 1.68 0 0 1-1-.84 1.75 1.75 0 0 1-.13-1.32 13.54 13.54 0 0 1 4.86-7.1 13.1 13.1 0 0 1 8.07-2.65c2.9-.02 5.73.91 8.06 2.67a13.63 13.63 0 0 1 4.86 7.08c.13.44.09.91-.12 1.32a1.72 1.72 0 0 1-2.3.73 1.69 1.69 0 0 1-.84-1.03c-.62-2.13-1.9-4-3.66-5.32a9.92 9.92 0 0 0-6.06-2c-2.17-.01-4.28.7-6.02 2.02a10.26 10.26 0 0 0-3.64 5.3c-.1.35-.32.65-.6.87a1.7 1.7 0 0 1-.98.36Z" fill="#000"/>',plain:(a,l)=>'<path d="M87 13.04C87 5.84 81.18 0 74 0S61 5.84 61 13.04v3.92C61 24.16 66.82 30 74 30s13-5.84 13-13.04v-3.92Z" fill="#000"/><path d="M69.79 9.53a2.29 2.29 0 1 0 0-4.57 2.29 2.29 0 0 0 0 4.57Z" fill="#fff"/><path opacity=".1" d="M74.02 18.35a5.32 5.32 0 1 0 0-10.65 5.32 5.32 0 0 0 0 10.65Z" fill="#fff"/><path d="M26 13.04C26 5.84 20.18 0 13 0S0 5.84 0 13.04v3.92C0 24.16 5.82 30 13 30s13-5.84 13-13.04v-3.92Z" fill="#000"/><path d="M8.79 9.53a2.29 2.29 0 1 0 0-4.57 2.29 2.29 0 0 0 0 4.57Z" fill="#fff"/><path opacity=".1" d="M13.02 18.35a5.32 5.32 0 1 0 0-10.65 5.32 5.32 0 0 0 0 10.65Z" fill="#fff"/>',glasses:(a,l)=>'<path d="M87.22 13.98c0-7.2-5.82-13.04-13-13.04s-13 5.84-13 13.04v3.92c0 7.2 5.82 13.04 13 13.04s13-5.83 13-13.04v-3.92Z" fill="#000"/><path d="M70 10.48a2.29 2.29 0 1 0 0-4.58 2.29 2.29 0 0 0 0 4.58Z" fill="#fff"/><path opacity=".1" d="M74.24 19.3a5.32 5.32 0 1 0 0-10.66 5.32 5.32 0 0 0 0 10.65Z" fill="#fff"/><path d="M26.22 13.98c0-7.2-5.82-13.04-13-13.04s-13 5.84-13 13.04v3.92c0 7.2 5.82 13.04 13 13.04s13-5.83 13-13.04v-3.92Z" fill="#000"/><path d="M9 10.48A2.29 2.29 0 1 0 9 5.9a2.29 2.29 0 0 0 0 4.58Z" fill="#fff"/><path opacity=".1" d="M13.24 19.3a5.32 5.32 0 1 0 0-10.66 5.32 5.32 0 0 0 0 10.65Z" fill="#fff"/><path d="M84.33-5.7H65.45C58.63-5.7 53.1-.2 53.1 6.6v18.8c0 6.79 5.52 12.3 12.34 12.3h18.88c6.81 0 12.34-5.51 12.34-12.3V6.6c0-6.8-5.53-12.3-12.34-12.3Z" fill="url(#eyesGlasses-a)"/><path d="M21.3-5.7H2.42C-4.4-5.7-9.92-.2-9.92 6.6v18.8c0 6.79 5.52 12.3 12.34 12.3H21.3c6.81 0 12.34-5.51 12.34-12.3V6.6c0-6.8-5.53-12.3-12.34-12.3Z" fill="url(#eyesGlasses-b)"/><g fill="#000"><path d="M21.06 40.12H2.18A14.83 14.83 0 0 1-8.2 35.81a14.71 14.71 0 0 1-4.33-10.34V6.6c.02-3.87 1.58-7.59 4.34-10.34A14.85 14.85 0 0 1 2.18-8.06h18.88c3.92.02 7.66 1.58 10.42 4.35 2.76 2.76 4.31 6.5 4.31 10.4v18.7A14.62 14.62 0 0 1 26.71 39c-1.79.74-3.7 1.12-5.65 1.12ZM2.18-3.26A9.96 9.96 0 0 0-7 2.83a9.85 9.85 0 0 0-.76 3.78v18.8a9.85 9.85 0 0 0 9.9 9.86h18.92a9.93 9.93 0 0 0 9.9-9.86V6.6a9.87 9.87 0 0 0-9.9-9.86H2.18ZM84.33 40.12H65.46a14.83 14.83 0 0 1-10.39-4.31 14.71 14.71 0 0 1-4.33-10.34V6.6c.02-3.87 1.58-7.59 4.34-10.34a14.85 14.85 0 0 1 10.38-4.32h18.87c3.9.03 7.65 1.59 10.41 4.35s4.31 6.5 4.32 10.4v18.7c0 3.9-1.56 7.64-4.32 10.4a14.83 14.83 0 0 1-10.41 4.33ZM65.46-3.26a9.93 9.93 0 0 0-9.9 9.87v18.8a9.85 9.85 0 0 0 9.9 9.86h18.87a9.93 9.93 0 0 0 9.9-9.86V6.6a9.85 9.85 0 0 0-9.9-9.86H65.46Z"/><path d="M53.1 10.64H33.4v4.89h19.7v-4.89Z"/></g><defs><linearGradient id="eyesGlasses-a" x1="2332.67" y1="1561.82" x2="3621.21" y2="1561.82" gradientUnits="userSpaceOnUse"><stop stop-color="#fff" stop-opacity=".3"/><stop offset=".5" stop-color="#969696" stop-opacity=".2"/><stop offset="1" stop-color="#fff" stop-opacity=".3"/></linearGradient><linearGradient id="eyesGlasses-b" x1="2269.64" y1="1561.82" x2="3558.18" y2="1561.82" gradientUnits="userSpaceOnUse"><stop stop-color="#fff" stop-opacity=".3"/><stop offset=".5" stop-color="#969696" stop-opacity=".2"/><stop offset="1" stop-color="#fff" stop-opacity=".3"/></linearGradient></defs>',closed:(a,l)=>'<path d="M63.16 19.11a1.68 1.68 0 0 1-1.5-.93 1.75 1.75 0 0 1-.12-1.32 13.54 13.54 0 0 1 4.85-7.1 13.1 13.1 0 0 1 8.07-2.65v.01c2.9-.01 5.73.92 8.06 2.68a13.63 13.63 0 0 1 4.87 7.08c.13.44.08.91-.13 1.32a1.72 1.72 0 0 1-2.3.73 1.69 1.69 0 0 1-.83-1.03c-.63-2.13-1.91-4-3.66-5.32a9.92 9.92 0 0 0-6.07-2c-2.17 0-4.28.7-6.02 2.02a10.26 10.26 0 0 0-3.64 5.3c-.1.35-.32.65-.6.87a1.7 1.7 0 0 1-.98.36ZM2.17 19.11a1.4 1.4 0 0 1-.5-.08 1.68 1.68 0 0 1-1.01-.85 1.75 1.75 0 0 1-.12-1.32 13.57 13.57 0 0 1 4.85-7.1 13.12 13.12 0 0 1 8.07-2.65v.01c2.9-.02 5.73.92 8.06 2.67a13.6 13.6 0 0 1 4.86 7.09 1.75 1.75 0 0 1-.53 1.85c-.18.14-.38.25-.6.32-.42.13-.9.09-1.3-.12-.4-.22-.7-.59-.83-1.03-.62-2.13-1.9-4-3.65-5.31a9.92 9.92 0 0 0-6.06-2.01 9.92 9.92 0 0 0-6.03 2.02 10.26 10.26 0 0 0-3.64 5.3c-.1.35-.31.65-.6.87-.27.22-.61.35-.97.36Z" fill="#000"/>',love:(a,l)=>'<g fill-rule="evenodd" clip-rule="evenodd"><path d="M19.16 32.01C11.5 28.4-2.17 22.5-5.14 12.06a10.8 10.8 0 0 1-.36-1.46C-7.32.33 3.58-6.92 13.46.1 19.24-8.3 29.2-7.43 33.28-.83a12.1 12.1 0 0 1 1.6 4.25c2 11.3-9.5 22.27-15.72 28.6Z" fill="#CE0F0F"/><path opacity=".2" d="M17.73 28.61C10.96 25.4-.53 20.41-5.13 12.06a10.8 10.8 0 0 1-.37-1.46C-7.32.33 3.58-6.92 13.46.1 19.24-8.3 29.2-7.43 33.28-.83c0 .27.13.55.18.83 1.96 11.33-9.5 22.23-15.73 28.62Z" fill="#fff"/><path opacity=".4" d="M-3.74 9.01C-3.18 4.7 5.96-.95 9.74.12 2.38-1.9-2.71 1.58-3.74 9.02Z" fill="#fff"/><path d="M70.07 32.01c7.66-3.62 21.33-9.52 24.29-19.95.15-.48.28-.97.36-1.46C96.54.33 85.65-6.92 75.76.1 69.98-8.3 60.04-7.43 55.95-.83a12.1 12.1 0 0 0-1.6 4.25c-2.03 11.3 9.5 22.27 15.72 28.6Z" fill="#CE0F0F"/><path opacity=".2" d="M71.5 28.61c6.77-3.21 18.25-8.2 22.86-16.55.15-.48.28-.97.36-1.46C96.54.33 85.65-6.92 75.76.1 69.98-8.3 60.04-7.43 55.94-.83c0 .27-.13.55-.17.83-2.03 11.33 9.5 22.23 15.72 28.62Z" fill="#fff"/><path opacity=".4" d="M92.95 9.01C92.41 4.7 83.25-.95 79.47.12 86.85-1.9 92 1.58 92.95 9.02Z" fill="#fff"/></g>',stars:(a,l)=>'<g fill-rule="evenodd" clip-rule="evenodd"><path d="m7.3-9.5 1.82-1.6L19.18 3.35l17.5-1.54-7.85 15.71 9.31 14.07-1.8 1.58-17.32-2.23L5.76 42.48 2.82 24.74l-15.06-9.03 1.82-1.58 13.77-6.5L7.3-9.52Z" fill="#2B8DD6"/><path d="M9.11-11.1 21.63 1.24 39.13-.3 31.27 15.4l6.86 16.17-17.36-2.61L7.52 40.5 4.64 23.16l-15.06-9.04 15.59-8.1L9.1-11.08Z" fill="#70CDF2"/><path opacity=".4" d="M10.27-8 20.64 3.03 35.35 1.2 18.37 5.67l-8.9-9.8.8-3.87Z" fill="#fff"/><path d="m83.18-9.5-1.8-1.6L71.3 3.35 53.8 1.8l7.85 15.71-9.31 14.07 1.82 1.58 17.32-2.23 13.24 11.55 2.94-17.74 15.06-9.03-1.8-1.58-13.8-6.5-3.94-17.13Z" fill="#2B8DD6"/><path d="M81.38-11.1 68.87 1.24 51.36-.3l7.86 15.72-6.88 16.17 17.38-2.61L82.96 40.5l2.9-17.34 15.06-9.04-15.6-8.1-3.94-17.11Z" fill="#70CDF2"/><path opacity=".4" d="M80.2-8 69.85 3.03 55.14 1.2l16.99 4.47L81-4.13 80.21-8Z" fill="#fff"/></g>',shades:(a,l)=>'<path fill-rule="evenodd" clip-rule="evenodd" d="M-10.24 2.64c-4.65 4.43-2.22 27.02 7.48 32.71 3.24 1.9 15.66 3.74 21.17 1.63 10.32-3.94 16.86-18.34 16.86-25.23 0-5.08-9.94-10.86-18.17-11.8C9.1-1-6-1.39-10.24 2.64Z" fill="url(#eyesShades-a)"/><path fill-rule="evenodd" clip-rule="evenodd" d="M98.51 2.64c4.66 4.43 2.24 27.02-7.47 32.71-3.23 1.9-15.66 3.74-21.18 1.63C59.55 33.04 53 18.7 53 11.75 53 6.67 62.95.89 71.18-.05c7.97-.95 23.1-1.33 27.33 2.7Z" fill="url(#eyesShades-b)"/><path d="M109.83-2.7a.62.62 0 0 0-.48-.5c-8.12-1.39-30.47-2.95-42.45-.7A33.37 33.37 0 0 0 56.73-.04l-2.37 1.21A20.61 20.61 0 0 1 44.15 3.5c-3.55.12-7.08-.68-10.23-2.32l-2.37-1.2a33.23 33.23 0 0 0-10.17-3.89C9.4-6.1-12.93-4.59-21.07-3.2a.57.57 0 0 0-.47.5 33.81 33.81 0 0 0 0 9.3.6.6 0 0 0 .44.47s2.95.83 4.01 9.09c.84 6.53 4.21 22.03 17.7 24.5 3.63.6 7.3.92 11 .92 1.62.02 3.24-.07 4.85-.28 14.98-2.18 19.62-15.62 21.86-22.13.3-.86.55-1.58.78-2.16 1.48-3.55 2.64-3.93 5.06-3.93 1.9 0 3.58.3 5.05 3.93.22.58.49 1.32.78 2.16 2.23 6.46 6.89 19.9 21.84 22.13 5.3.5 10.62.28 15.85-.65 13.5-2.46 16.89-17.96 17.68-24.5 1.04-8.25 3.97-9.07 3.98-9.08a.6.6 0 0 0 .47-.47c.44-3.08.45-6.21.03-9.3Zm-9.87 18.58c-.77 6.71-3.66 15.7-9.21 18.96-3.08 1.81-15.26 3.66-20.64 1.6-10.25-3.92-16.52-18.2-16.52-24.7 0-4.42 9.08-10.22 17.69-11.22C74.88.1 78.48-.1 82.1-.1c6.8 0 13.54.8 16.03 3.17 1.78 1.71 2.52 6.86 1.83 12.8Zm-65.27-4.13c0 6.49-6.25 20.77-16.48 24.68-5.42 2.07-17.59.22-20.62-1.6-5.56-3.25-8.43-12.24-9.22-18.95-.69-5.9 0-11.1 1.86-12.8C-7.28.7-.54-.1 6.26-.1c3.61 0 7.22.2 10.81.62 8.55 1 17.62 6.77 17.62 11.23Z" fill="#000"/><defs><linearGradient id="eyesShades-a" x1="11.37" y1="37.92" x2="11.37" y2="-.68" gradientUnits="userSpaceOnUse"><stop offset=".32" stop-color="#121212"/><stop offset="1" stop-color="#474747"/></linearGradient><linearGradient id="eyesShades-b" x1="76.91" y1="-.68" x2="76.91" y2="37.92" gradientUnits="userSpaceOnUse"><stop stop-color="#474747"/><stop offset=".68" stop-color="#121212"/></linearGradient></defs>',closed2:(a,l)=>'<path d="M75.84 21.11c-2.9.04-5.72-.89-8.04-2.63a13.47 13.47 0 0 1-4.85-7.03 1.75 1.75 0 0 1 1.1-2.26 1.68 1.68 0 0 1 1.86.61c.14.2.24.4.3.64.6 2.11 1.87 3.97 3.61 5.28a9.84 9.84 0 0 0 6.04 1.98c2.17.01 4.29-.68 6.03-2a10.17 10.17 0 0 0 3.65-5.26c.15-.42.46-.75.85-.95a1.68 1.68 0 0 1 2.23.7c.21.38.27.83.17 1.26a13.48 13.48 0 0 1-4.87 7.04 13.17 13.17 0 0 1-8.08 2.62ZM13.84 21.11c-2.9.03-5.73-.9-8.06-2.65a13.54 13.54 0 0 1-4.85-7.05 1.78 1.78 0 0 1 .51-1.88 1.67 1.67 0 0 1 2.4.22c.15.17.25.38.32.6.62 2.1 1.9 3.96 3.64 5.28a9.93 9.93 0 0 0 6.02 2c2.18.03 4.3-.67 6.06-1.99a10.21 10.21 0 0 0 3.66-5.3 1.68 1.68 0 0 1 3.08-.25c.21.4.27.85.17 1.27a13.57 13.57 0 0 1-4.86 7.1 13.19 13.19 0 0 1-8.1 2.65Z" fill="#000"/>',crying:(a,l)=>'<path d="M63 19.06c-.17 0-.34-.03-.5-.1a1.68 1.68 0 0 1-1-.84 1.75 1.75 0 0 1-.12-1.32 13.54 13.54 0 0 1 4.85-7.1 13.1 13.1 0 0 1 8.07-2.64c2.9-.03 5.73.9 8.06 2.66a13.63 13.63 0 0 1 4.87 7.08c.13.44.08.92-.13 1.32a1.72 1.72 0 0 1-2.3.73 1.69 1.69 0 0 1-.83-1.02c-.63-2.14-1.91-4-3.66-5.32a9.92 9.92 0 0 0-6.07-2c-2.17 0-4.28.7-6.02 2.02a10.26 10.26 0 0 0-3.64 5.3c-.1.35-.32.66-.6.88a1.7 1.7 0 0 1-.98.36ZM2.01 19.06a1.4 1.4 0 0 1-.5-.1 1.68 1.68 0 0 1-1-.83 1.75 1.75 0 0 1-.12-1.33 13.57 13.57 0 0 1 4.85-7.09 13.12 13.12 0 0 1 8.07-2.65c2.9-.03 5.73.9 8.06 2.66a13.6 13.6 0 0 1 4.86 7.08 1.75 1.75 0 0 1-.53 1.85c-.18.15-.38.25-.6.32-.42.14-.9.1-1.3-.12s-.7-.58-.83-1.02c-.62-2.13-1.9-4-3.66-5.32a9.92 9.92 0 0 0-6.05-2 9.92 9.92 0 0 0-6.03 2.02 10.26 10.26 0 0 0-3.64 5.3c-.1.35-.31.66-.6.88-.27.22-.61.34-.97.36Z" fill="#000"/><path d="M.67 39.59a6.63 6.63 0 0 1-8.3 4.4 6.64 6.64 0 0 1-3.56-8.69c1.75-4.82 6.4-5.63 11.24-12.46C-.96 30.9 2.6 34.32.67 39.59ZM86.43 39.59a6.34 6.34 0 1 0 11.86-4.4c-1.75-4.77-6.4-5.57-11.28-12.4 1.05 8.1-2.51 11.52-.58 16.79Z" fill="#4ABCF4"/>',sleepClose:(a,l)=>'<path d="M75.76 21.94c-2.9.04-5.72-.89-8.04-2.63a13.47 13.47 0 0 1-4.85-7.03 1.75 1.75 0 0 1 .49-1.92 1.7 1.7 0 0 1 2.76.9c.6 2.12 1.88 3.98 3.62 5.29a9.84 9.84 0 0 0 6.04 1.98c2.17.01 4.29-.68 6.03-2a10.17 10.17 0 0 0 3.65-5.26c.15-.42.46-.75.85-.95a1.68 1.68 0 0 1 2.24.7c.21.38.27.83.17 1.26a13.48 13.48 0 0 1-4.87 7.04 13.17 13.17 0 0 1-8.08 2.62ZM13.76 21.94c-2.9.03-5.73-.9-8.06-2.65a13.54 13.54 0 0 1-4.85-7.06 1.78 1.78 0 0 1 .51-1.88 1.67 1.67 0 0 1 2.4.22c.15.17.25.38.32.6.62 2.1 1.9 3.96 3.64 5.28a9.93 9.93 0 0 0 6.02 2c2.18.03 4.3-.67 6.06-1.99a10.22 10.22 0 0 0 3.66-5.3 1.68 1.68 0 0 1 3.08-.25c.21.4.27.85.17 1.27a13.57 13.57 0 0 1-4.87 7.1 13.19 13.19 0 0 1-8.08 2.65Z" fill="#000"/>'},mouth:{plain:(a,l)=>'<path d="M25 24c4.5 3.87 25.04 4.13 30 0H25Z" fill="#000" style="mix-blend-mode:soft-light" opacity=".4"/><path d="M64.43 18.86h-48.5a1.47 1.47 0 1 1 0-2.79h48.5a1.47 1.47 0 1 1 0 2.8Z" fill="#000"/>',lilSmile:(a,l)=>'<path d="M40.54 30h-.75c-9.7-.22-20.8-5.3-23.7-16.15a1.36 1.36 0 0 1 .44-1.55 1.41 1.41 0 0 1 2.26.86c2.55 9.46 12.42 13.89 21.06 14.08 8.24.16 19.04-3.84 22.46-14.57a1.47 1.47 0 0 1 1.65-.55A1.44 1.44 0 0 1 65 13.5C61.85 23.31 52.3 30 40.54 30Z" fill="#000"/>',sad:(a,l)=>'<path d="M40.54 12h-.75c-9.7.22-20.8 5.3-23.7 16.15a1.36 1.36 0 0 0 .44 1.55 1.41 1.41 0 0 0 2.26-.86c2.55-9.46 12.42-13.89 21.06-14.08 8.24-.16 19.04 3.84 22.46 14.57a1.47 1.47 0 0 0 1.65.55A1.44 1.44 0 0 0 65 28.5C61.85 18.69 52.3 12 40.54 12Z" fill="#000"/>',shy:(a,l)=>'<path d="M53.92 35a1.37 1.37 0 0 1-1.26-.83 15.26 15.26 0 0 1 15.67-22.03c3.71.52 7.1 2.39 9.53 5.26a1.48 1.48 0 0 1-1.15 2.09c-.3.04-.61-.02-.88-.17a12.52 12.52 0 0 0-16.54-2.35c-4.01 2.7-7.51 8.54-4.1 16.07a1.48 1.48 0 0 1-.76 1.83 1.3 1.3 0 0 1-.51.13Z" fill="#000"/>',cute:(a,l)=>'<path d="M75.08 12a1.37 1.37 0 0 1 1.26.83 15.26 15.26 0 0 1-15.67 22.03 15.2 15.2 0 0 1-9.53-5.26 1.48 1.48 0 0 1 1.15-2.09c.3-.04.61.02.88.17a12.52 12.52 0 0 0 16.54 2.35c4.01-2.7 7.51-8.54 4.1-16.07a1.48 1.48 0 0 1 .77-1.83c.16-.08.34-.12.51-.13Z" fill="#000"/>',wideSmile:(a,l)=>'<path d="M40.77 31C24.27 31 5.8 21.8 4 1.63A1.4 1.4 0 0 1 5.21.07a1.38 1.38 0 0 1 1.55 1.21c1.6 18.47 18.74 26.89 34 26.89 21.58 0 32.38-13.53 33.52-26.89A1.38 1.38 0 0 1 75.73 0 1.45 1.45 0 0 1 77 1.47C75.34 21.84 57.08 31 40.8 31h-.03Z" fill="#000"/>',shout:(a,l)=>'<path fill-rule="evenodd" clip-rule="evenodd" d="M6.03 37.05c0-48 70-48 70 0h-70Z" fill="#2B1607"/><path fill-rule="evenodd" clip-rule="evenodd" d="M17.12 11.74c11.86-13.39 34.95-13.28 48 0h-48Z" fill="#fff"/><path d="M7.02 29.8h67.96c.32 2.32.47 4.66.44 7h-69c0-2.35.2-4.7.6-7Z" fill="#fff"/><path d="M75.97 38H6.03A1.03 1.03 0 0 1 5 36.97C5 11.6 23.66 0 41 0c17.36 0 36 11.61 36 36.93A1.02 1.02 0 0 1 75.97 38Zm-68.9-2.06h67.8c-.22-10.34-3.87-19-10.58-25.13a34.44 34.44 0 0 0-23.34-8.7C24.89 2.12 7.58 12.72 7.07 35.94Z" fill="#000"/>',smileTeeth:(a,l)=>'<path fill-rule="evenodd" clip-rule="evenodd" d="M4 1c0 44 72 44 72 0-24.3 8.87-48.3 9.13-72 0Z" fill="#fff"/><path fill-rule="evenodd" clip-rule="evenodd" d="M11 21c14.35 15.8 43.35 16 58 .58A140.44 140.44 0 0 1 11 21Z" fill="#DDDBDB"/><path d="M40.04 35a40.08 40.08 0 0 1-25.36-8.46C7.08 20.37 3 11.54 3 1.07A1.07 1.07 0 0 1 3.45.2a1.08 1.08 0 0 1 .97-.12c22.91 8.8 46.85 8.8 71.12 0a1.05 1.05 0 0 1 1.46.99c0 10.47-4.02 19.3-11.68 25.47a40.14 40.14 0 0 1-25.28 8.45ZM5.18 2.58c.81 20.8 18.44 30.31 34.86 30.31 16.41 0 34.11-9.5 34.86-30.35-23.78 8.3-47.22 8.32-69.72.03Z" fill="#000"/><path d="M25 36c4.5 5.16 25.03 5.5 30 0a68.29 68.29 0 0 1-30 0Z" fill="#000" style="mix-blend-mode:soft-light" opacity=".4"/>',smileLol:(a,l)=>'<path fill-rule="evenodd" clip-rule="evenodd" d="M76 1v.49a35.13 35.13 0 0 1-.9 7.75 30.24 30.24 0 0 1-14.24 19.24C48.32 36 30.66 35.84 18.37 28A30.01 30.01 0 0 1 4.8 8.66 36.4 36.4 0 0 1 4 1c22.86 8.83 46.05 8.83 69.54.9L76 1Z" fill="#2B1607" stroke="#000" stroke-width="1.48" stroke-linecap="round" stroke-linejoin="round"/><path fill-rule="evenodd" clip-rule="evenodd" d="M76 1.48a33.97 33.97 0 0 1-.9 7.62C54.26 22.59 25.62 22.2 4.8 8.53 4.25 6.06 4 3.53 4 1c22.85 8.67 46.03 8.67 69.51.88l2.49-.4ZM62 28.49c-12.99 7.5-31.29 7.34-44-.49a134.2 134.2 0 0 0 44 .49Z" fill="#fff"/><path fill-rule="evenodd" clip-rule="evenodd" d="M76.57.19c.27.19.43.5.43.83 0 11.3-4.64 19.83-11.62 25.51C58.42 32.2 49.18 35 40 35c-9.19 0-18.42-2.8-25.38-8.47C7.64 20.85 3 12.33 3 1.03A1.03 1.03 0 0 1 4.38.06c23.45 9.02 47.14 8.78 71.25 0 .32-.12.66-.08.94.12ZM5.07 2.5C5.45 12.44 9.7 19.9 15.9 24.94c6.54 5.32 15.3 8.01 24.1 8.01s17.56-2.69 24.1-8c6.2-5.06 10.45-12.53 10.83-22.46C51.36 10.77 28.1 11 5.07 2.5Z" fill="#000"/><path d="M24.01 36.05c4.5 5.16 25.03 5.5 30 0a68.03 68.03 0 0 1-30 0Z" fill="#000" style="mix-blend-mode:soft-light" opacity=".4"/>',pissed:(a,l)=>'<path fill-rule="evenodd" clip-rule="evenodd" d="M21 29a19.88 19.88 0 0 1 39 0c-9.72-7.8-30.4-7.44-39 0Z" fill="#2B1607"/><path d="M20.58 29.54c-.1 0-.2-.03-.3-.09a.58.58 0 0 1-.24-.27.56.56 0 0 1-.02-.36c2.48-9.9 10.54-16.22 20.51-16.22 9.98 0 18.01 6.41 20.45 16.28.03.11.02.24-.02.35a.58.58 0 0 1-.23.27.62.62 0 0 1-.7 0c-9.4-7.44-30.24-7.44-39.1 0a.6.6 0 0 1-.35.04Zm19.74-6.8c7.07 0 14.22 1.6 19.11 4.77-1.15-3.98-3.62-7.5-7.03-10a19.88 19.88 0 0 0-11.83-3.82 19.94 19.94 0 0 0-11.82 3.8 19.02 19.02 0 0 0-7.06 9.97c4.58-3.14 11.6-4.71 18.63-4.71Z" fill="#000"/>',drip:(a,l)=>'<path fill-rule="evenodd" clip-rule="evenodd" d="M21 29a19.88 19.88 0 0 1 39 0c-9.72-7.8-30.4-7.44-39 0Z" fill="#2B1607"/><path d="M20.58 29.54c-.1 0-.2-.03-.3-.09a.58.58 0 0 1-.24-.27.56.56 0 0 1-.02-.36c2.48-9.9 10.54-16.22 20.51-16.22 9.98 0 18.01 6.41 20.45 16.28.03.11.02.24-.02.35a.58.58 0 0 1-.23.27.62.62 0 0 1-.7 0c-9.4-7.44-30.24-7.44-39.1 0a.6.6 0 0 1-.35.04Zm19.74-6.8c7.07 0 14.22 1.6 19.11 4.77-1.15-3.98-3.62-7.5-7.03-10a19.88 19.88 0 0 0-11.83-3.82 19.94 19.94 0 0 0-11.82 3.8 19.02 19.02 0 0 0-7.06 9.97c4.58-3.14 11.6-4.71 18.63-4.71Z" fill="#000"/><path d="M65 41.02a4.86 4.86 0 0 1-1.42 3.5 5.04 5.04 0 0 1-7.08.08 4.9 4.9 0 0 1-1.5-3.47c0-3.94 3.16-5.81 4.84-12.13 1.53 6.15 5.12 7.66 5.16 12.02Z" fill="#4ABCF4"/>',tongueOut:(a,l)=>'<path fill-rule="evenodd" clip-rule="evenodd" d="M4 4c10.24 32.68 61.73 31.31 72 0A167.66 167.66 0 0 1 4 4Z" fill="#2B1607"/><path d="M39.68 29h-.64c-17.41-.24-31.54-9.95-36-24.74a1.02 1.02 0 0 1 .2-.95.98.98 0 0 1 .91-.28 165.35 165.35 0 0 0 71.72 0 .91.91 0 0 1 .9.3 1.04 1.04 0 0 1 .19.97C71.93 19.37 57.36 29 39.68 29ZM5.33 5.3c4.73 13.13 17.76 21.54 33.7 21.77C55.6 27.3 69.29 18.8 74.56 5.3a167.24 167.24 0 0 1-69.22 0Z" fill="#000"/><g style="mix-blend-mode:soft-light" opacity=".4"><path d="M22.02 35.23c5.08 5.6 28.25 5.96 33.85 0a79.58 79.58 0 0 1-33.85 0Z" fill="#422715"/><path d="M22.02 35.23c5.08 5.6 28.25 5.96 33.85 0a79.58 79.58 0 0 1-33.85 0Z" stroke="#000" stroke-width="1.58" stroke-miterlimit="10"/></g><path fill-rule="evenodd" clip-rule="evenodd" d="M40.83 45H38.1c-2.67 0-5.24-1.06-7.13-2.94a10 10 0 0 1-2.96-7.1V19.54c0-1.9 2.8-3.94 4.88-3.46a29.03 29.03 0 0 0 13.26 0C48 15.7 51 17.62 51 19.53v15.44a9.98 9.98 0 0 1-6.28 9.29c-1.23.5-2.55.75-3.89.74Z" fill="url(#mouthTongueOut-a)"/><path fill-rule="evenodd" clip-rule="evenodd" d="M38.27 17c.95 3.75.33 13 1.13 13 .8 0 .53-9.01 1.37-13h-2.5Z" fill="#A00707"/><defs><linearGradient id="mouthTongueOut-a" x1="39.46" y1="45" x2="39.46" y2="16" gradientUnits="userSpaceOnUse"><stop stop-color="#EF0A0A"/><stop offset=".5" stop-color="#ED0A0A"/><stop offset=".67" stop-color="#E60A0A"/><stop offset=".8" stop-color="#DB0A0A"/><stop offset=".9" stop-color="#CA0A0A"/><stop offset=".99" stop-color="#B40A0A"/><stop offset="1" stop-color="#B10A0A"/></linearGradient></defs>',kissHeart:(a,l)=>'<path d="M40.3 36c-.35 0-.68-.15-.92-.4a1.43 1.43 0 0 1-.38-.98c0-.37.14-.72.38-.98s.57-.4.91-.4c3.77 0 5.99-1.38 6.1-3.75.1-2.73-2.52-6.05-6.22-6.43a1.26 1.26 0 0 1-.84-.49 1.5 1.5 0 0 1 .08-1.88c.23-.25.52-.4.84-.44 3.66-.25 6.11-3.25 6.04-5.82 0-2.3-2.3-3.67-5.96-3.67-.27-.1-.5-.28-.67-.53a1.53 1.53 0 0 1 0-1.71c.16-.25.4-.43.67-.53 6.17 0 8.45 3.28 8.55 6.35a8.98 8.98 0 0 1-1.23 4.26 8.22 8.22 0 0 1-3.06 3.02 8.91 8.91 0 0 1 3.18 3.3A9.7 9.7 0 0 1 49 29.48C48.84 32.7 46.48 36 40.3 36Z" fill="#000"/><g fill-rule="evenodd" clip-rule="evenodd"><path d="M107.8 10.27c-.09.5-.2.98-.36 1.46-2.88 10.4-16.3 16.3-23.8 19.9-6.09-6.32-17.4-17.25-15.4-28.6.25-1.51.78-2.96 1.58-4.25 3.97-6.6 13.73-7.44 19.41.96 9.68-6.95 20.37.34 18.57 10.53Z" fill="#CE0F0F"/><path opacity=".2" d="M107.8 10.27c-.09.5-.2.98-.36 1.46-4.52 8.33-15.82 13.3-22.4 16.5C78.87 21.98 67.61 11.1 69.6-.32c0-.29.12-.57.2-.85 3.96-6.58 13.73-7.43 19.4.97 9.7-7.01 20.39.28 18.6 10.47Z" fill="#fff"/></g>',sick:(a,l)=>'<path fill-rule="evenodd" clip-rule="evenodd" d="M20 28c8-13 29-13 37 0-13-6-24-6-37 0Z" fill="#1E120B"/><path d="M19.37 29a.37.37 0 0 1-.16-.04.4.4 0 0 1-.13-.1.44.44 0 0 1 0-.5C22.76 21.9 30.28 18 38.7 18h.15c8.29 0 15.45 3.9 19.07 10.32a.48.48 0 0 1 0 .52.4.4 0 0 1-.22.13.39.39 0 0 1-.25-.03c-13.42-7.1-24.4-7.1-37.92 0l-.16.06Zm19.17-6.29a39.78 39.78 0 0 1 17.96 4.72c-3.73-5.4-10.27-8.61-17.61-8.64h-.12c-7.56 0-14.37 3.26-18.17 8.64a40.03 40.03 0 0 1 17.94-4.72Z" fill="#000"/><path d="M104.7-9.65 57.64 28.27a32.88 32.88 0 0 0-5.27-2.3 36.9 36.9 0 0 0-5.28-1.56c-1.23-.26-2.48-.5-3.75-.66l53.53-43.12a3.13 3.13 0 0 1 4.4.48l3.92 4.83c.3.37.52.82.61 1.3a3.12 3.12 0 0 1-1.1 3.11Z" fill="#E2E0E0" stroke="#777" stroke-width=".39" stroke-miterlimit="10"/><path opacity=".66" d="M105.8-12.76c-.2.43-.5.8-.88 1.1L56.25 27.56l-.3-.13a32.88 32.88 0 0 0-3.58-1.47 37.79 37.79 0 0 0-5.28-1.55c-1.23-.26-2.48-.5-3.75-.66l53.53-43.12a3.13 3.13 0 0 1 4.4.48l3.92 4.83c.3.37.52.82.61 1.3Z" fill="#fff"/><path d="M96.55-11.11a1.46 1.46 0 0 0-2.08-.22L49.4 24.97c1.14.32 2.25.69 3.37 1.1L96.4-9.03a1.47 1.47 0 0 0 .14-2.08Z" fill="#CECCCC"/><path d="M83.9-.92a1.46 1.46 0 0 0-2.13-.24L49.4 24.97c1.14.32 2.25.69 3.37 1.1l30.9-24.94a1.47 1.47 0 0 0 .24-2.05Z" fill="#EF5656"/><path d="M75.58 3.45a.36.36 0 0 1-.28-.13l-.73-.91a.35.35 0 0 1 0-.49.37.37 0 0 1 .5 0l.73.9a.37.37 0 0 1 0 .5.3.3 0 0 1-.22.14ZM63.17 13.45a.37.37 0 0 1-.28-.13l-.73-.9a.37.37 0 0 1 .32-.55c.09 0 .17.03.24.09l.73.9a.35.35 0 0 1 0 .5.32.32 0 0 1-.28.1ZM51.04 23.28a.34.34 0 0 1-.28-.13l-.73-.91a.35.35 0 0 1 0-.5.37.37 0 0 1 .5 0l.71.9a.35.35 0 0 1 0 .5.34.34 0 0 1-.2.14ZM69.5 8.35a.3.3 0 0 1-.27-.13L67.77 6.4a.36.36 0 0 1 .55-.44l1.47 1.82a.35.35 0 0 1 0 .5.44.44 0 0 1-.3.07ZM56.9 18.54a.37.37 0 0 1-.29-.13l-1.46-1.82a.37.37 0 0 1 0-.5.35.35 0 0 1 .5 0l1.46 1.82a.37.37 0 0 1 0 .5.44.44 0 0 1-.22.13Z" fill="#000"/>',faceMask:(a,l)=>'<path fill-rule="evenodd" clip-rule="evenodd" d="M103.74-7.96V.67c-.16.12-.33.22-.5.3L87.07 9.47l-1.89 21.13c-.47 5.03-3.69 9.67-6.32 13.6L89.37 53a29.19 29.19 0 0 1-7.57 3.33l-7.9-6.68a27.93 27.93 0 0 1-15.79 6.56l-7.75.64c-7.43.63-14.9.63-22.33 0l-7.97-.67a28 28 0 0 1-14.9-5.88l-7.04 5.97a30.02 30.02 0 0 1-7.52-3.3l9.27-7.9C-3.22 40.97-6.7 36-7.2 30.57L-9.17 8.54l-14.15-7.5c-.22-.1-.43-.23-.61-.4v-8.62l19.75 9.9h88.26l19.66-9.87Z" fill="#000" style="mix-blend-mode:soft-light" opacity=".4"/><g fill="#ECF5F8"><path fill-rule="evenodd" clip-rule="evenodd" d="m58.05 53.27-7.77.65c-7.42.62-14.88.62-22.3 0L20 53.24a28.05 28.05 0 0 1-17.48-8.1 28.29 28.29 0 0 1-8.2-17.5L-8.24-1.02H86.3l-2.56 28.67a28.32 28.32 0 0 1-8.2 17.5 28.08 28.08 0 0 1-17.48 8.12Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M103.26-1.96 82.92 7.8l-3.19-6.66 24.08-12.06a.82.82 0 0 1 1.19.75l-.12 5.76a2.86 2.86 0 0 1-1.62 2.44ZM-23.26-1.96-2.92 7.8.27 1.15-23.81-10.9a.82.82 0 0 0-1.19.75l.12 5.76a2.86 2.86 0 0 0 1.62 2.44Z"/><path d="m74.16 37.33 17 14.37a.87.87 0 0 1 .11 1.22l-1.88 2.25a3.6 3.6 0 0 1-5.1.44L69.4 43.02l4.71-5.62.06-.07ZM10.25 43.07l-14.9 12.6a3.6 3.6 0 0 1-5.1-.45l-1.88-2.25a.87.87 0 0 1 .1-1.22L5.48 37.38l4.71 5.63.05.06Z"/></g><path fill-rule="evenodd" clip-rule="evenodd" d="M39.1 48.58c-3.34 0-6.72-.13-10.04-.41l-7.42-.62A22.24 22.24 0 0 1 7.8 41.1c-3.71-3.71-6-8.63-6.47-13.87L-.73 4.78h79.51l-2.02 22.46a22.41 22.41 0 0 1-6.48 13.89c-3.72 3.71-8.63 5.99-13.87 6.42l-7.22.62c-3.35.34-6.75.41-10.1.41Z" fill="#E1EFF5"/><path d="M4.68 10.04c10.38 9.16 57.66 9.76 69.09 0a333.93 333.93 0 0 1-69.09 0ZM6.44 22.82c9.85 9.15 54.73 9.76 65.57 0a301.86 301.86 0 0 1-65.56 0ZM9.37 35.59c8.95 9.15 49.84 9.76 59.71 0a250.49 250.49 0 0 1-59.71 0Z" style="mix-blend-mode:soft-light" opacity=".8" fill="#000"/>'}},Symbol.toStringTag,{value:"Module"});function fa({prng:a,group:l,values:c=[]}){const i=oa,t=a.pick(c);return t&&i[l][t]?{name:t,value:i[l][t]}:void 0}const pa=Object.defineProperty({__proto__:null,create:({prng:a,options:l})=>{var c,i,t,e;const r=function({prng:a,options:l}){return{mouth:fa({prng:a,group:"mouth",values:l.mouth}),eyes:fa({prng:a,group:"eyes",values:l.eyes})}}({prng:a,options:l}),h={};return{attributes:{viewBox:"0 0 200 200",fill:"none","shape-rendering":"auto"},body:`<g transform="matrix(1.5625 0 0 1.5625 37.5 110.94)">${null!==(i=null===(c=r.mouth)||void 0===c?void 0:c.value(r,h))&&void 0!==i?i:""}</g><g transform="matrix(1.5625 0 0 1.5625 31.25 59.38)">${null!==(e=null===(t=r.eyes)||void 0===t?void 0:t.value(r,h))&&void 0!==e?e:""}</g>`,extra:()=>({...Object.entries(r).reduce(((a,[l,c])=>(a[l]=null==c?void 0:c.name,a)),{}),...Object.entries(h).reduce(((a,[l,c])=>(a[`${l}Color`]=c,a)),{})})}},meta:{title:"Fun Emoji Set",creator:"Davis Uche",source:"https://www.figma.com/community/file/968125295144990435",homepage:"https://www.instagram.com/davedirect3/",license:{name:"CC BY 4.0",url:"https://creativecommons.org/licenses/by/4.0/"}},schema:{$schema:"http://json-schema.org/draft-07/schema#",properties:{backgroundColor:{type:"array",items:{type:"string",pattern:"^(transparent|[a-fA-F0-9]{6})$"},default:["fcbc34","d84be5","d9915b","f6d594","059ff2","71cf62"]},eyes:{type:"array",items:{type:"string",enum:["sad","tearDrop","pissed","cute","wink","wink2","plain","glasses","closed","love","stars","shades","closed2","crying","sleepClose"]},default:["sad","tearDrop","pissed","cute","wink","wink2","plain","glasses","closed","love","stars","shades","closed2","crying","sleepClose"]},mouth:{type:"array",items:{type:"string",enum:["plain","lilSmile","sad","shy","cute","wideSmile","shout","smileTeeth","smileLol","pissed","drip","tongueOut","kissHeart","sick","faceMask"]},default:["plain","lilSmile","sad","shy","cute","wideSmile","shout","smileTeeth","smileLol","pissed","drip","tongueOut","kissHeart","sick","faceMask"]}}}},Symbol.toStringTag,{value:"Module"}),sa=Object.defineProperty({__proto__:null,icon:{alarm:(a,l)=>'<g fill="#fff"><path d="M8.5 5.5a.5.5 0 1 0-1 0v3.362l-1.429 2.38a.5.5 0 0 0 .858.515l1.5-2.5A.5.5 0 0 0 8.5 9V5.5Z"/><path d="M6.5 0a.5.5 0 1 0 0 1H7v1.07a7 7 0 0 0-3.273 12.474l-.602.602a.5.5 0 0 0 .707.708l.746-.746A6.97 6.97 0 0 0 8 16a6.97 6.97 0 0 0 3.422-.892l.746.746a.5.5 0 1 0 .707-.708l-.601-.602A7.001 7.001 0 0 0 9 2.07V1h.5a.5.5 0 1 0 0-1h-3Zm1.038 3.018a6 6 0 1 1 .924 11.964 6 6 0 0 1-.924-11.964ZM0 3.5c0 .753.333 1.429.86 1.887A8.035 8.035 0 0 1 4.387 1.86 2.5 2.5 0 0 0 0 3.5ZM13.5 1c-.753 0-1.429.333-1.887.86a8.035 8.035 0 0 1 3.527 3.527A2.5 2.5 0 0 0 13.5 1Z"/></g>',archive:(a,l)=>'<path d="M0 2a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1v7.5a2.5 2.5 0 0 1-2.5 2.5h-9A2.5 2.5 0 0 1 1 12.5V5a1 1 0 0 1-1-1V2Zm2 3v7.5A1.5 1.5 0 0 0 3.5 14h9a1.5 1.5 0 0 0 1.5-1.5V5H2Zm13-3H1v2h14V2ZM5 7.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5Z" fill="#fff"/>',award:(a,l)=>'<g fill="#fff"><path d="M9.669.864 8 0 6.331.864l-1.858.282-.842 1.68-1.337 1.32L2.6 6l-.306 1.854 1.337 1.32.842 1.68 1.858.282L8 12l1.669-.864 1.858-.282.842-1.68 1.337-1.32L13.4 6l.306-1.854-1.337-1.32-.842-1.68L9.669.864Zm1.196 1.193.684 1.365 1.086 1.072L12.387 6l.248 1.506-1.086 1.072-.684 1.365-1.51.229L8 10.874l-1.355-.702-1.51-.229-.684-1.365-1.086-1.072L3.614 6l-.25-1.506 1.087-1.072.684-1.365 1.51-.229L8 1.126l1.356.702 1.509.229Z"/><path d="M4 11.794V16l4-1 4 1v-4.206l-2.018.306L8 13.126 6.018 12.1 4 11.794Z"/></g>',bag:(a,l)=>'<path d="M8 1a2.5 2.5 0 0 1 2.5 2.5V4h-5v-.5A2.5 2.5 0 0 1 8 1Zm3.5 3v-.5a3.5 3.5 0 1 0-7 0V4H1v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V4h-3.5ZM2 5h12v9a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V5Z" fill="#fff"/>',bandaid:(a,l)=>'<g fill="#fff"><path d="M14.121 1.879a3 3 0 0 0-4.242 0L8.733 3.026l4.261 4.26 1.127-1.165a3 3 0 0 0 0-4.242ZM12.293 8 8.027 3.734 3.738 8.031 8 12.293 12.293 8Zm-5.006 4.994L3.03 8.737 1.879 9.88a3 3 0 0 0 4.241 4.24l.006-.006 1.16-1.121.001.001ZM2.679 7.676l6.492-6.504a4 4 0 0 1 5.66 5.653l-1.477 1.529-5.006 5.006-1.523 1.472a4 4 0 0 1-5.653-5.66l.001-.002 1.505-1.492.001-.002Z"/><path d="M5.56 7.646a.5.5 0 1 1-.706.708.5.5 0 1 1 .707-.708H5.56Zm1.415-1.414a.5.5 0 1 1-.694.719.5.5 0 0 1 .694-.719ZM8.39 4.818a.5.5 0 0 1-.708.707.5.5 0 0 1 .707-.707h.001Zm0 5.657a.5.5 0 0 1-.708.707.5.5 0 0 1 .707-.707h.001ZM9.803 9.06a.5.5 0 1 1-.707.708.5.5 0 0 1 .707-.707V9.06Zm1.414-1.414a.5.5 0 1 1-.815.546.503.503 0 0 1 .109-.546.5.5 0 0 1 .707 0h-.001ZM6.975 9.06a.5.5 0 1 1-.707.708.5.5 0 0 1 .707-.707V9.06ZM8.39 7.646a.5.5 0 1 1-.001 0h.001Zm1.413-1.414a.5.5 0 1 1-.694.719.5.5 0 0 1 .694-.719Z"/></g>',bank:(a,l)=>'<path d="M8 .95 14.61 4h.89a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.5.5H15v7a.5.5 0 0 1 .485.379l.5 2A.5.5 0 0 1 15.5 17H.5a.499.499 0 0 1-.485-.621l.5-2A.5.5 0 0 1 1 14V7H.5a.5.5 0 0 1-.5-.5v-2A.5.5 0 0 1 .5 4h.89L8 .95ZM3.776 4h8.447L8 2.05 3.776 4ZM2 7v7h1V7H2Zm2 0v7h2.5V7H4Zm3.5 0v7h1V7h-1Zm2 0v7H12V7H9.5ZM13 7v7h1V7h-1Zm2-1V5H1v1h14Zm-.39 9H1.39l-.25 1h13.72l-.25-1Z" fill="#fff"/>',basket:(a,l)=>'<path d="M5.757 1.071a.5.5 0 0 1 .172.686L3.383 6h9.234L10.07 1.757a.5.5 0 1 1 .858-.514L13.783 6H15a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1v4.5a2.5 2.5 0 0 1-2.5 2.5h-9A2.5 2.5 0 0 1 1 13.5V9a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h1.217L5.07 1.243a.5.5 0 0 1 .686-.172h.001ZM2 9v4.5A1.5 1.5 0 0 0 3.5 15h9a1.5 1.5 0 0 0 1.5-1.5V9H2ZM1 7v1h14V7H1Zm3 3a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-1 0v-3A.5.5 0 0 1 4 10Zm2 0a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-1 0v-3A.5.5 0 0 1 6 10Zm2 0a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-1 0v-3A.5.5 0 0 1 8 10Zm2 0a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-1 0v-3a.5.5 0 0 1 .5-.5Zm2 0a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-1 0v-3a.5.5 0 0 1 .5-.5Z" fill="#fff"/>',basket2:(a,l)=>'<g fill="#fff"><path d="M4 10a1 1 0 0 1 2 0v2a1 1 0 1 1-2 0v-2Zm3 0a1 1 0 0 1 2 0v2a1 1 0 1 1-2 0v-2Zm3 0a1 1 0 0 1 2 0v2a1 1 0 0 1-2 0v-2Z"/><path d="M5.757 1.071a.5.5 0 0 1 .172.686L3.383 6h9.234L10.07 1.757a.5.5 0 1 1 .858-.514L13.783 6H15.5a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-.623l-1.844 6.456a.75.75 0 0 1-.722.544H3.69a.75.75 0 0 1-.722-.544L1.123 8H.5a.5.5 0 0 1-.5-.5v-1A.5.5 0 0 1 .5 6h1.717L5.07 1.243a.5.5 0 0 1 .686-.172h.001ZM2.163 8l1.714 6h8.246l1.714-6H2.163Z"/></g>',basket3:(a,l)=>'<path d="M5.757 1.071a.5.5 0 0 1 .172.686L3.383 6h9.234L10.07 1.757a.5.5 0 1 1 .858-.514L13.783 6H15.5a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5H.5a.5.5 0 0 1-.5-.5v-1A.5.5 0 0 1 .5 6h1.717L5.07 1.243a.5.5 0 0 1 .686-.172h.001ZM3.394 15l-1.48-6h-.97l1.525 6.426a.75.75 0 0 0 .729.574h9.606a.75.75 0 0 0 .73-.574L15.056 9h-.972l-1.479 6H3.394Z" fill="#fff"/>',bell:(a,l)=>'<path d="M8 16a2 2 0 0 0 2-2H6a2 2 0 0 0 2 2ZM8 1.918l-.797.161A4.002 4.002 0 0 0 4 6c0 .628-.134 2.197-.459 3.742-.16.767-.376 1.566-.663 2.258h10.244c-.287-.692-.502-1.49-.663-2.258C12.134 8.197 12 6.628 12 6a4.002 4.002 0 0 0-3.203-3.92L8 1.917v.001ZM14.22 12c.223.447.481.801.78 1H1c.299-.199.557-.553.78-1C2.68 10.2 3 6.88 3 6c0-2.42 1.72-4.44 4.005-4.901a1 1 0 1 1 1.99 0A5.002 5.002 0 0 1 13 6c0 .88.32 4.2 1.22 6Z" fill="#fff"/>',bicycle:(a,l)=>'<path d="M4 4.5a.5.5 0 0 1 .5-.5H6a.5.5 0 1 1 0 1v.5h4.14l.386-1.158A.5.5 0 0 1 11 4h1a.5.5 0 0 1 0 1h-.64l-.311.935.807 1.29a3 3 0 1 1-.848.53l-.508-.812-2.076 3.322A.5.5 0 0 1 8 10.5H5.959a3 3 0 1 1-1.815-3.274L5 5.856V5h-.5a.5.5 0 0 1-.5-.5Zm1.5 2.443-.508.814c.5.444.85 1.054.967 1.743h1.139L5.5 6.943ZM8 9.057 9.598 6.5H6.402L8 9.057ZM4.937 9.5a1.997 1.997 0 0 0-.487-.877l-.548.877h1.035ZM3.603 8.092A2 2 0 1 0 4.937 10.5H3a.5.5 0 0 1-.424-.765l1.027-1.643Zm7.947.53a2 2 0 1 0 .848-.53l1.026 1.643a.5.5 0 1 1-.848.53L11.55 8.623v-.001Z" fill="#fff"/>',binoculars:(a,l)=>'<path d="M3 2.5A1.5 1.5 0 0 1 4.5 1h1A1.5 1.5 0 0 1 7 2.5V5h2V2.5A1.5 1.5 0 0 1 10.5 1h1A1.5 1.5 0 0 1 13 2.5v2.382a.5.5 0 0 0 .276.447l.895.447A1.5 1.5 0 0 1 15 7.118V14.5a1.5 1.5 0 0 1-1.5 1.5h-3A1.5 1.5 0 0 1 9 14.5v-3a.5.5 0 0 1 .146-.354l.854-.853V9.5a.5.5 0 0 0-.5-.5h-3a.5.5 0 0 0-.5.5v.793l.854.853A.5.5 0 0 1 7 11.5v3A1.5 1.5 0 0 1 5.5 16h-3A1.5 1.5 0 0 1 1 14.5V7.118a1.5 1.5 0 0 1 .83-1.342l.894-.447A.5.5 0 0 0 3 4.882V2.5ZM4.5 2a.5.5 0 0 0-.5.5V3h2v-.5a.5.5 0 0 0-.5-.5h-1ZM6 4H4v.882a1.5 1.5 0 0 1-.83 1.342l-.894.447A.5.5 0 0 0 2 7.118V13h4v-1.293l-.854-.853A.5.5 0 0 1 5 10.5v-1A1.5 1.5 0 0 1 6.5 8h3A1.5 1.5 0 0 1 11 9.5v1a.5.5 0 0 1-.146.354l-.854.853V13h4V7.118a.5.5 0 0 0-.276-.447l-.895-.447A1.5 1.5 0 0 1 12 4.882V4h-2v1.5a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5V4Zm4-1h2v-.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5V3Zm4 11h-4v.5a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5V14Zm-8 0H2v.5a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5V14Z" fill="#fff"/>',book:(a,l)=>'<path d="M1 2.828c.885-.37 2.154-.769 3.388-.893 1.33-.134 2.458.063 3.112.752v9.746c-.935-.53-2.12-.603-3.213-.493-1.18.12-2.37.461-3.287.811V2.828Zm7.5-.141c.654-.689 1.782-.886 3.112-.752 1.234.124 2.503.523 3.388.893v9.923c-.918-.35-2.107-.692-3.287-.81-1.094-.111-2.278-.039-3.213.492V2.687ZM8 1.783C7.015.936 5.587.81 4.287.94c-1.514.153-3.042.672-3.994 1.105A.5.5 0 0 0 0 2.5v11a.5.5 0 0 0 .707.455c.882-.4 2.303-.881 3.68-1.02 1.409-.142 2.59.087 3.223.877a.5.5 0 0 0 .78 0c.633-.79 1.814-1.019 3.222-.877 1.378.139 2.8.62 3.681 1.02A.501.501 0 0 0 16 13.5v-11a.5.5 0 0 0-.293-.455c-.952-.433-2.48-.952-3.994-1.105C10.413.809 8.985.936 8 1.783Z" fill="#fff"/>',bookshelf:(a,l)=>'<path d="M2.5 0a.5.5 0 0 1 .5.5V2h10V.5a.5.5 0 0 1 1 0v15a.5.5 0 0 1-1 0V15H3v.5a.5.5 0 0 1-1 0V.5a.5.5 0 0 1 .5-.5ZM3 14h10v-3H3v3Zm0-4h10V7H3v3Zm0-4h10V3H3v3Z" fill="#fff"/>',boombox:(a,l)=>'<g fill="#fff"><path d="M2.5 5a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1Zm2 0a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1Zm7.5-.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Zm1.5.5a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1Zm-7-1a.5.5 0 1 0 0 1h3a.5.5 0 1 0 0-1h-3Zm5.5 6.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Z"/><path d="M11.5 13a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Zm0-1a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3ZM5 10.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Z"/><path d="M7 10.5a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Zm-1 0a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0Z"/><path d="M14 0a.5.5 0 0 1 .5.5V2h.5a1 1 0 0 1 1 1v11a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1h12.5V.5A.5.5 0 0 1 14 0ZM1 3v3h14V3H1Zm14 4H1v7h14V7Z"/></g>',boxSeam:(a,l)=>'<path d="M8.186 1.113a.5.5 0 0 0-.372 0L1.846 3.5l2.404.961L10.404 2l-2.218-.887Zm3.564 1.426L5.596 5 8 5.961 14.154 3.5l-2.404-.961Zm3.25 1.7-6.5 2.6v7.922l6.5-2.6V4.239ZM7.5 14.762V6.838L1 4.239v7.923l6.5 2.6ZM7.443.184a1.5 1.5 0 0 1 1.114 0l7.129 2.852A.5.5 0 0 1 16 3.5v8.662a1 1 0 0 1-.629.928l-7.185 2.874a.5.5 0 0 1-.372 0L.63 13.09a1 1 0 0 1-.63-.928V3.5a.5.5 0 0 1 .314-.464L7.443.184Z" fill="#fff"/>',box:(a,l)=>'<path d="M8.186 1.113a.5.5 0 0 0-.372 0L1.846 3.5 8 5.961 14.154 3.5 8.186 1.113ZM15 4.239l-6.5 2.6v7.922l6.5-2.6V4.239ZM7.5 14.762V6.838L1 4.239v7.923l6.5 2.6ZM7.443.184a1.5 1.5 0 0 1 1.114 0l7.129 2.852A.5.5 0 0 1 16 3.5v8.662a1 1 0 0 1-.629.928l-7.185 2.874a.5.5 0 0 1-.372 0L.63 13.09a1 1 0 0 1-.63-.928V3.5a.5.5 0 0 1 .314-.464L7.443.184Z" fill="#fff"/>',boxes:(a,l)=>'<path d="M7.752.066a.5.5 0 0 1 .496 0l3.75 2.143a.5.5 0 0 1 .252.434v3.995l3.498 2A.5.5 0 0 1 16 9.07v4.286a.5.5 0 0 1-.252.434l-3.75 2.143a.5.5 0 0 1-.496 0l-3.502-2-3.502 2.001a.5.5 0 0 1-.496 0l-3.75-2.143A.5.5 0 0 1 0 13.357V9.071a.5.5 0 0 1 .252-.434L3.75 6.638V2.643a.5.5 0 0 1 .252-.434L7.752.066ZM4.25 7.504 1.508 9.071l2.742 1.567 2.742-1.567L4.25 7.504ZM7.5 9.933l-2.75 1.571v3.134l2.75-1.571V9.933Zm1 3.134 2.75 1.571v-3.134L8.5 9.933v3.134Zm.508-3.996 2.742 1.567 2.742-1.567-2.742-1.567-2.742 1.567Zm2.242-2.433V3.504L8.5 5.076V8.21l2.75-1.572ZM7.5 8.21V5.076L4.75 3.504v3.134L7.5 8.21ZM5.258 2.643 8 4.21l2.742-1.567L8 1.076 5.258 2.643ZM15 9.933l-2.75 1.571v3.134L15 13.067V9.933ZM3.75 14.638v-3.134L1 9.933v3.134l2.75 1.571Z" fill="#fff"/>',bricks:(a,l)=>'<path d="M0 .5A.5.5 0 0 1 .5 0h15a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5H14v2h1.5a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5H14v2h1.5a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5H.5a.5.5 0 0 1-.5-.5v-3a.5.5 0 0 1 .5-.5H2v-2H.5a.5.5 0 0 1-.5-.5v-3A.5.5 0 0 1 .5 6H2V4H.5a.5.5 0 0 1-.5-.5v-3ZM3 4v2h4.5V4H3Zm5.5 0v2H13V4H8.5ZM3 10v2h4.5v-2H3Zm5.5 0v2H13v-2H8.5ZM1 1v2h3.5V1H1Zm4.5 0v2h5V1h-5Zm6 0v2H15V1h-3.5ZM1 7v2h3.5V7H1Zm4.5 0v2h5V7h-5Zm6 0v2H15V7h-3.5ZM1 13v2h3.5v-2H1Zm4.5 0v2h5v-2h-5Zm6 0v2H15v-2h-3.5Z" fill="#fff"/>',briefcase:(a,l)=>'<path d="M6.5 1A1.5 1.5 0 0 0 5 2.5V3H1.5A1.5 1.5 0 0 0 0 4.5v8A1.5 1.5 0 0 0 1.5 14h13a1.5 1.5 0 0 0 1.5-1.5v-8A1.5 1.5 0 0 0 14.5 3H11v-.5A1.5 1.5 0 0 0 9.5 1h-3Zm0 1h3a.5.5 0 0 1 .5.5V3H6v-.5a.5.5 0 0 1 .5-.5Zm1.886 6.914L15 7.151V12.5a.5.5 0 0 1-.5.5h-13a.5.5 0 0 1-.5-.5V7.15l6.614 1.764a1.5 1.5 0 0 0 .772 0ZM1.5 4h13a.5.5 0 0 1 .5.5v1.616L8.129 7.948a.5.5 0 0 1-.258 0L1 6.116V4.5a.5.5 0 0 1 .5-.5Z" fill="#fff"/>',brightnessHigh:(a,l)=>'<path d="M8 11a3 3 0 1 1 0-6 3 3 0 0 1 0 6Zm0 1a4 4 0 1 0 0-8 4 4 0 0 0 0 8ZM8 0a.5.5 0 0 1 .5.5v2a.5.5 0 1 1-1 0v-2A.5.5 0 0 1 8 0Zm0 13a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 13Zm8-5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2a.5.5 0 0 1 .5.5ZM3 8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2A.5.5 0 0 1 3 8Zm10.657-5.657a.5.5 0 0 1 0 .707l-1.414 1.415a.5.5 0 0 1-.707-.708l1.414-1.414a.5.5 0 0 1 .707 0Zm-9.193 9.193a.5.5 0 0 1 0 .707L3.05 13.657a.5.5 0 0 1-.707-.707l1.414-1.414a.5.5 0 0 1 .707 0Zm9.193 2.121a.5.5 0 0 1-.707 0l-1.414-1.414a.5.5 0 0 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .707ZM4.464 4.465a.5.5 0 0 1-.707 0L2.343 3.05a.5.5 0 1 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .708Z" fill="#fff"/>',brush:(a,l)=>'<path d="M15.825.12a.5.5 0 0 1 .132.584c-1.53 3.43-4.743 8.17-7.095 10.64a6.066 6.066 0 0 1-2.373 1.534c-.018.227-.06.538-.16.868-.201.659-.667 1.479-1.708 1.74a8.117 8.117 0 0 1-3.078.132 3.663 3.663 0 0 1-.562-.135 1.383 1.383 0 0 1-.466-.247.714.714 0 0 1-.204-.288.622.622 0 0 1 .004-.443c.095-.245.316-.38.461-.452.394-.197.625-.453.867-.826.095-.144.184-.297.287-.472l.117-.198c.151-.255.326-.54.546-.848.528-.739 1.201-.925 1.746-.896.126.007.243.025.348.048.062-.172.142-.38.238-.608.261-.619.658-1.419 1.187-2.069 2.176-2.67 6.18-6.206 9.117-8.104a.5.5 0 0 1 .596.04ZM4.705 11.912a1.23 1.23 0 0 0-.419-.1c-.246-.013-.573.05-.879.479-.197.275-.355.532-.5.777l-.105.177c-.106.181-.213.362-.32.528a3.39 3.39 0 0 1-.76.861c.69.112 1.736.111 2.657-.12.559-.139.843-.569.993-1.06.072-.244.115-.496.126-.75l-.793-.792Zm1.44.026c.12-.04.277-.1.458-.183a5.069 5.069 0 0 0 1.535-1.1c1.9-1.996 4.412-5.57 6.052-8.631-2.59 1.927-5.566 4.66-7.302 6.792-.442.543-.795 1.243-1.042 1.826-.121.288-.214.54-.275.72v.001l.575.575h-.001Zm-4.973 3.04.007-.005a.031.031 0 0 1-.007.004v.001Zm3.582-3.043.002.001h-.002v-.001Z" fill="#fff"/>',bucket:(a,l)=>'<path d="M2.522 5H2a.5.5 0 0 0-.494.574l1.372 9.149A1.5 1.5 0 0 0 4.36 16h7.278a1.5 1.5 0 0 0 1.483-1.277l1.373-9.149A.501.501 0 0 0 14 5h-.522A5.5 5.5 0 0 0 2.522 5Zm1.005 0a4.5 4.5 0 0 1 8.945 0H3.527Zm9.892 1-1.286 8.574a.5.5 0 0 1-.494.426H4.36a.5.5 0 0 1-.494-.426L2.58 6H13.419Z" fill="#fff"/>',bug:(a,l)=>'<path d="M4.355.522a.5.5 0 0 1 .623.333l.291.956A4.979 4.979 0 0 1 8 1c1.007 0 1.946.298 2.731.811l.29-.956a.501.501 0 1 1 .957.29l-.41 1.352A4.985 4.985 0 0 1 13 6h.5a.5.5 0 0 0 .5-.5V5a.5.5 0 0 1 1 0v.5A1.5 1.5 0 0 1 13.5 7H13v1h1.5a.5.5 0 0 1 0 1H13v1h.5a1.5 1.5 0 0 1 1.5 1.5v.5a.5.5 0 0 1-1 0v-.5a.5.5 0 0 0-.5-.5H13a5 5 0 1 1-10 0h-.5a.5.5 0 0 0-.5.5v.5a.5.5 0 0 1-1 0v-.5A1.5 1.5 0 0 1 2.5 10H3V9H1.5a.5.5 0 1 1 0-1H3V7h-.5A1.5 1.5 0 0 1 1 5.5V5a.5.5 0 1 1 1 0v.5a.5.5 0 0 0 .5.5H3c0-1.364.547-2.601 1.432-3.503l-.41-1.352a.5.5 0 0 1 .333-.623ZM4 7v4a4 4 0 0 0 3.5 3.97V7H4Zm4.5 0v7.97A4 4 0 0 0 12 11V7H8.5ZM12 6a3.99 3.99 0 0 0-1.334-2.982A3.983 3.983 0 0 0 8 2a3.983 3.983 0 0 0-2.667 1.018A3.99 3.99 0 0 0 4 6h8Z" fill="#fff"/>',building:(a,l)=>'<g fill="#fff"><path fill-rule="evenodd" clip-rule="evenodd" d="M14.763.075A.5.5 0 0 1 15 .5v15a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5V14h-1v1.5a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5V10a.5.5 0 0 1 .342-.474L6 7.64V4.5a.5.5 0 0 1 .276-.447l8-4a.5.5 0 0 1 .487.022ZM6 8.694 1 10.36V15h5V8.694ZM7 15h2v-1.5a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 .5.5V15h2V1.309l-7 3.5V15Z"/><path d="M2 11h1v1H2v-1Zm2 0h1v1H4v-1Zm-2 2h1v1H2v-1Zm2 0h1v1H4v-1Zm4-4h1v1H8V9Zm2 0h1v1h-1V9Zm-2 2h1v1H8v-1Zm2 0h1v1h-1v-1Zm2-2h1v1h-1V9Zm0 2h1v1h-1v-1ZM8 7h1v1H8V7Zm2 0h1v1h-1V7Zm2 0h1v1h-1V7ZM8 5h1v1H8V5Zm2 0h1v1h-1V5Zm2 0h1v1h-1V5Zm0-2h1v1h-1V3Z"/></g>',calculator:(a,l)=>'<g fill="#fff"><path d="M12 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h8ZM4 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H4Z"/><path d="M4 2.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.5.5h-7a.5.5 0 0 1-.5-.5v-2Zm0 4a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1Zm0 3a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1Zm0 3a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1Zm3-6a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1Zm0 3a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1Zm0 3a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1Zm3-6a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1Zm0 3a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-4Z"/></g>',cameraReels:(a,l)=>'<g fill="#fff"><path d="M6 3a3 3 0 1 1-6 0 3 3 0 0 1 6 0ZM1 3a2 2 0 1 0 4 0 2 2 0 0 0-4 0Z"/><path d="M9 6h.5a2 2 0 0 1 1.983 1.738l3.11-1.382A1 1 0 0 1 16 7.269v7.462a1 1 0 0 1-1.406.913l-3.111-1.382A2 2 0 0 1 9.5 16H2a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h7Zm6 8.73V7.27l-3.5 1.555v4.35l3.5 1.556v-.001ZM1 8v6a1 1 0 0 0 1 1h7.5a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1H2a1 1 0 0 0-1 1Z"/><path d="M9 6a3 3 0 1 0 0-6 3 3 0 0 0 0 6ZM7 3a2 2 0 1 1 4 0 2 2 0 0 1-4 0Z"/></g>',camera:(a,l)=>'<g fill="#fff"><path d="M15 12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h1.172a3 3 0 0 0 2.12-.879l.83-.828A1 1 0 0 1 6.827 3h2.344a1 1 0 0 1 .707.293l.828.828A3 3 0 0 0 12.828 5H14a1 1 0 0 1 1 1v6ZM2 4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-1.172a2 2 0 0 1-1.414-.586l-.828-.828A2 2 0 0 0 9.172 2H6.828a2 2 0 0 0-1.414.586l-.828.828A2 2 0 0 1 3.172 4H2Z"/><path d="M8 11a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5Zm0 1a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7ZM3 6.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Z"/></g>',cart2:(a,l)=>'<path d="M0 2.5A.5.5 0 0 1 .5 2H2a.5.5 0 0 1 .485.379L2.89 4H14.5a.5.5 0 0 1 .485.621l-1.5 6A.5.5 0 0 1 13 11H4a.5.5 0 0 1-.485-.379L1.61 3H.5a.5.5 0 0 1-.5-.5ZM3.14 5l1.25 5h8.22l1.25-5H3.14ZM5 13a1 1 0 1 0 0 2 1 1 0 0 0 0-2Zm-2 1a2 2 0 1 1 4 0 2 2 0 0 1-4 0Zm9-1a1 1 0 1 0 0 2 1 1 0 0 0 0-2Zm-2 1a2 2 0 1 1 4 0 2 2 0 0 1-4 0Z" fill="#fff"/>',cashCoin:(a,l)=>'<g fill="#fff"><path fill-rule="evenodd" clip-rule="evenodd" d="M11 15a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm5-4a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z"/><path d="M9.438 11.944c.047.596.518 1.06 1.363 1.116v.44h.375v-.443c.875-.061 1.386-.529 1.386-1.207 0-.618-.39-.936-1.09-1.1l-.296-.07v-1.2c.376.043.614.248.671.532h.658c-.047-.575-.54-1.024-1.329-1.073V8.5h-.375v.45c-.747.073-1.255.522-1.255 1.158 0 .562.378.92 1.007 1.066l.248.061v1.272c-.384-.058-.639-.27-.696-.563h-.668.001Zm1.36-1.354c-.369-.085-.569-.26-.569-.522 0-.294.216-.514.572-.578v1.1h-.003Zm.432.746c.449.104.655.272.655.569 0 .339-.257.571-.709.614v-1.195l.054.012Z"/><path d="M1 0a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h4.083c.058-.344.145-.678.258-1H3a2 2 0 0 0-2-2V3a2 2 0 0 0 2-2h10a2 2 0 0 0 2 2v3.528c.38.34.717.728 1 1.154V1a1 1 0 0 0-1-1H1Z"/><path d="M9.998 5.083 10 5a2 2 0 1 0-3.132 1.65 5.982 5.982 0 0 1 3.13-1.567Z"/></g>',clock:(a,l)=>'<g fill="#fff"><path d="M8 3.5a.5.5 0 1 0-1 0V9a.5.5 0 0 0 .252.434l3.5 2a.5.5 0 0 0 .496-.868L8 8.71V3.5Z"/><path d="M8 16A8 8 0 1 0 8-.001 8 8 0 0 0 8 16Zm7-8A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z"/></g>',cloudDrizzle:(a,l)=>'<path d="M4.158 12.025a.5.5 0 0 1 .316.633l-.5 1.5a.5.5 0 0 1-.948-.316l.5-1.5a.5.5 0 0 1 .632-.317Zm6 0a.5.5 0 0 1 .316.633l-.5 1.5a.5.5 0 0 1-.948-.316l.5-1.5a.5.5 0 0 1 .632-.317Zm-3.5 1.5a.5.5 0 0 1 .316.633l-.5 1.5a.5.5 0 0 1-.948-.316l.5-1.5a.5.5 0 0 1 .632-.317Zm6 0a.5.5 0 0 1 .316.633l-.5 1.5a.499.499 0 1 1-.948-.316l.5-1.5a.5.5 0 0 1 .632-.317Zm.747-8.498a5.001 5.001 0 0 0-9.499-1.004A3.5 3.5 0 1 0 3.5 11H13a3 3 0 0 0 .405-5.973ZM8.5 2a4 4 0 0 1 3.976 3.555.5.5 0 0 0 .5.445H13a2 2 0 0 1 0 4H3.5a2.5 2.5 0 1 1 .605-4.926.5.5 0 0 0 .596-.329A4.002 4.002 0 0 1 8.5 2Z" fill="#fff"/>',cloudMoon:(a,l)=>'<g fill="#fff"><path d="M7 8a3.5 3.5 0 0 1 3.5 3.555.501.501 0 0 0 .625.492A1.503 1.503 0 0 1 13 13.5a1.5 1.5 0 0 1-1.5 1.5H3a2 2 0 1 1 .1-3.998.5.5 0 0 0 .509-.375A3.502 3.502 0 0 1 7 8Zm4.473 3a4.5 4.5 0 0 0-8.72-.99A3 3 0 0 0 3 16h8.5a2.5 2.5 0 0 0 0-5h-.027Z"/><path d="M11.286 1.778a.5.5 0 0 0-.565-.755 4.595 4.595 0 0 0-3.18 5.003 5.46 5.46 0 0 1 1.055.209A3.603 3.603 0 0 1 9.83 2.617a4.593 4.593 0 0 0 4.31 5.744 3.576 3.576 0 0 1-2.241.634c.162.317.295.652.394 1a4.59 4.59 0 0 0 3.624-2.04.5.5 0 0 0-.565-.755 3.593 3.593 0 0 1-4.065-5.422h-.001Z"/></g>',cloudSnow:(a,l)=>'<path d="M13.405 4.277a5.001 5.001 0 0 0-9.499-1.004A3.5 3.5 0 1 0 3.5 10.25H13a3 3 0 0 0 .405-5.973ZM8.5 1.25a4 4 0 0 1 3.976 3.555.5.5 0 0 0 .5.445H13a2 2 0 0 1-.001 4H3.5a2.5 2.5 0 1 1 .605-4.926.5.5 0 0 0 .596-.329A4.002 4.002 0 0 1 8.5 1.25ZM2.625 11.5a.25.25 0 0 1 .25.25v.57l.501-.287a.25.25 0 0 1 .248.434l-.495.283.495.283a.25.25 0 0 1-.248.434l-.501-.286v.569a.25.25 0 0 1-.5 0v-.57l-.501.287a.25.25 0 0 1-.248-.434l.495-.283-.495-.283a.25.25 0 0 1 .248-.434l.501.286v-.569a.25.25 0 0 1 .25-.25Zm2.75 2a.25.25 0 0 1 .25.25v.57l.501-.287a.25.25 0 0 1 .248.434l-.495.283.495.283a.25.25 0 0 1-.248.434l-.501-.286v.569a.25.25 0 0 1-.5 0v-.57l-.501.287a.25.25 0 0 1-.248-.434l.495-.283-.495-.283a.25.25 0 0 1 .248-.434l.501.286v-.569a.25.25 0 0 1 .25-.25Zm5.5 0a.25.25 0 0 1 .25.25v.57l.501-.287a.25.25 0 0 1 .248.434l-.495.283.495.283a.25.25 0 0 1-.248.434l-.501-.286v.569a.25.25 0 1 1-.5 0v-.57l-.501.287a.25.25 0 0 1-.248-.434l.495-.283-.495-.283a.25.25 0 0 1 .248-.434l.501.286v-.569a.25.25 0 0 1 .25-.25Zm-2.75-2a.25.25 0 0 1 .25.25v.57l.501-.287a.25.25 0 0 1 .248.434l-.495.283.495.283a.25.25 0 0 1-.248.434l-.501-.286v.569a.25.25 0 0 1-.5 0v-.57l-.501.287a.25.25 0 0 1-.248-.434l.495-.283-.495-.283a.25.25 0 0 1 .248-.434l.501.286v-.569a.25.25 0 0 1 .25-.25Zm5.5 0a.25.25 0 0 1 .25.25v.57l.501-.287a.25.25 0 0 1 .248.434l-.495.283.495.283a.25.25 0 0 1-.248.434l-.501-.286v.569a.25.25 0 1 1-.5 0v-.57l-.501.287a.25.25 0 0 1-.248-.434l.495-.283-.495-.283a.25.25 0 0 1 .248-.434l.501.286v-.569a.25.25 0 0 1 .25-.25Z" fill="#fff"/>',cloud:(a,l)=>'<path d="M4.406 3.342A5.53 5.53 0 0 1 8 2c2.69 0 4.923 2 5.166 4.579C14.758 6.804 16 8.137 16 9.773 16 11.569 14.502 13 12.687 13H3.781C1.708 13 0 11.366 0 9.318c0-1.763 1.266-3.223 2.942-3.593.143-.863.698-1.723 1.464-2.383Zm.653.757c-.757.653-1.153 1.44-1.153 2.056v.448l-.445.049C2.064 6.805 1 7.952 1 9.318 1 10.785 2.23 12 3.781 12h8.906C13.98 12 15 10.988 15 9.773c0-1.216-1.02-2.228-2.313-2.228h-.5v-.5C12.188 4.825 10.328 3 8 3a4.53 4.53 0 0 0-2.941 1.1v-.001Z" fill="#fff"/>',clouds:(a,l)=>'<g fill="#fff"><path d="M16 7.5a2.5 2.5 0 0 1-1.456 2.272 3.513 3.513 0 0 0-.65-.824 1.5 1.5 0 1 0-.789-2.896.5.5 0 0 1-.627-.421 3 3 0 0 0-5.22-1.625c-.427-.02-.855.01-1.276.088a4.002 4.002 0 0 1 7.392.91A2.5 2.5 0 0 1 16 7.5Z"/><path d="M7 5a4.5 4.5 0 0 1 4.473 4h.027a2.5 2.5 0 0 1 0 5H3a3 3 0 0 1-.247-5.99A4.502 4.502 0 0 1 7 5Zm3.5 4.5a3.5 3.5 0 0 0-6.89-.873.5.5 0 0 1-.51.375A2 2 0 1 0 3 13h8.5a1.5 1.5 0 1 0-.376-2.953.5.5 0 0 1-.624-.492V9.5Z"/></g>',coin:(a,l)=>'<g fill="#fff"><path d="M5.5 9.511c.076.954.83 1.697 2.182 1.785V12h.6v-.709c1.4-.098 2.218-.846 2.218-1.932 0-.987-.626-1.496-1.745-1.76l-.473-.112V5.57c.6.068.982.396 1.074.85h1.052c-.076-.919-.864-1.638-2.126-1.716V4h-.6v.719c-1.195.117-2.01.836-2.01 1.853 0 .9.606 1.472 1.613 1.707l.397.098v2.034c-.615-.093-1.022-.43-1.114-.9H5.5Zm2.177-2.166c-.59-.137-.91-.416-.91-.836 0-.47.345-.822.915-.925v1.76h-.005v.001Zm.692 1.193c.717.166 1.048.435 1.048.91 0 .542-.412.914-1.135.982V8.518l.087.02Z"/><path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14Zm0 1A8 8 0 1 0 8-.001 8 8 0 0 0 8 16Z"/><path d="M8 13.5a5.5 5.5 0 1 1 0-11 5.5 5.5 0 0 1 0 11Zm0 .5A6 6 0 1 0 8 1.999 6 6 0 0 0 8 14Z"/></g>',compass:(a,l)=>'<g fill="#fff"><path d="M8 16.016a7.5 7.5 0 0 0 1.962-14.74A1 1 0 0 0 9 0H7a1 1 0 0 0-.962 1.276A7.5 7.5 0 0 0 8 16.016Zm6.5-7.5a6.5 6.5 0 1 1-13 0 6.5 6.5 0 0 1 13 0Z"/><path d="m6.94 7.44 4.95-2.83-2.83 4.95-4.949 2.83 2.828-4.95h.001Z"/></g>',controller:(a,l)=>'<g fill="#fff"><path d="M11.5 6.027a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Zm-1.5 1.5a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1Zm2.5-.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Zm-1.5 1.5a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1Zm-6.5-3h1v1h1v1h-1v1h-1v-1h-1v-1h1v-1Z"/><path d="M3.051 3.26a.5.5 0 0 1 .354-.613l1.932-.518a.5.5 0 0 1 .62.39c.655-.079 1.35-.117 2.043-.117.72 0 1.443.041 2.12.126a.501.501 0 0 1 .622-.399l1.932.518a.5.5 0 0 1 .306.729c.14.09.266.19.373.297.408.408.78 1.05 1.095 1.772.32.733.599 1.591.805 2.466.206.875.34 1.78.364 2.606.024.816-.059 1.602-.328 2.21a1.42 1.42 0 0 1-1.445.83c-.636-.067-1.115-.394-1.513-.773-.245-.232-.496-.526-.739-.808-.126-.148-.25-.292-.368-.423-.728-.804-1.597-1.527-3.224-1.527-1.627 0-2.496.723-3.224 1.527-.119.131-.242.275-.368.423-.243.282-.494.575-.739.808-.398.38-.877.706-1.513.773a1.42 1.42 0 0 1-1.445-.83c-.27-.608-.352-1.395-.329-2.21.024-.826.16-1.73.365-2.606.206-.875.486-1.733.805-2.466.315-.722.687-1.364 1.094-1.772.13-.128.276-.24.433-.335a.504.504 0 0 1-.028-.079v.001Zm2.036.412c-.877.185-1.469.443-1.733.708-.276.276-.587.783-.885 1.465-.316.742-.566 1.51-.748 2.295a12.35 12.35 0 0 0-.339 2.406c-.022.755.062 1.368.243 1.776a.42.42 0 0 0 .426.24c.327-.034.61-.199.929-.502.212-.202.4-.423.615-.674.133-.156.276-.323.44-.504C4.861 9.969 5.978 9.027 8 9.027s3.139.942 3.965 1.855c.164.181.307.348.44.504.214.251.403.472.615.674.318.303.601.468.929.503a.42.42 0 0 0 .426-.241c.18-.408.265-1.02.243-1.776a12.355 12.355 0 0 0-.339-2.406 13.755 13.755 0 0 0-.748-2.295c-.298-.682-.61-1.19-.885-1.465-.264-.265-.856-.523-1.733-.708-.85-.179-1.877-.27-2.913-.27-1.036 0-2.063.091-2.913.27Z"/></g>',cupStraw:(a,l)=>'<path d="M13.902.334a.499.499 0 0 1-.28.65l-2.254.902-.4 1.927c.376.095.715.215.972.367.228.135.56.396.56.82 0 .046-.004.09-.011.132l-.962 9.068a1.28 1.28 0 0 1-.524.93c-.488.34-1.494.87-3.01.87-1.516 0-2.522-.53-3.01-.87a1.28 1.28 0 0 1-.524-.93L3.51 5.132A.78.78 0 0 1 3.5 5c0-.424.332-.685.56-.82.262-.154.607-.276.99-.372C5.824 3.614 6.867 3.5 8 3.5c.712 0 1.389.045 1.985.127l.464-2.215a.5.5 0 0 1 .303-.356l2.5-1a.5.5 0 0 1 .65.278ZM9.768 4.607A13.992 13.992 0 0 0 8 4.5c-1.076 0-2.033.11-2.707.278-.223.051-.44.126-.648.222.146.073.362.15.648.222C5.967 5.39 6.924 5.5 8 5.5c.571 0 1.109-.03 1.588-.085l.18-.808Zm.292 1.756C9.445 6.45 8.742 6.5 8 6.5c-1.133 0-2.176-.114-2.95-.308a5.51 5.51 0 0 1-.435-.127l.838 8.03c.013.121.06.186.102.215.357.249 1.168.69 2.438.69 1.27 0 2.081-.441 2.438-.69.042-.029.09-.094.102-.215l.852-8.03c-.143.048-.288.09-.435.127-.294.072-.59.129-.89.17v.001ZM4.467 4.884s.003.002.005.006l-.005-.006Zm7.066 0-.005.006c.002-.004.005-.006.005-.006ZM11.354 5a3.175 3.175 0 0 0-.604-.21l-.099.445.055-.013c.286-.072.502-.149.648-.222Z" fill="#fff"/>',cup:(a,l)=>'<path d="M1 2a1 1 0 0 1 1-1h11a1 1 0 0 1 1 1v1h.5A1.5 1.5 0 0 1 16 4.5v7a1.5 1.5 0 0 1-1.5 1.5h-.55a2.5 2.5 0 0 1-2.45 2h-8A2.5 2.5 0 0 1 1 12.5V2Zm13 10h.5a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.5-.5H14v8ZM13 2H2v10.5A1.5 1.5 0 0 0 3.5 14h8a1.5 1.5 0 0 0 1.5-1.5V2Z" fill="#fff"/>',dice5:(a,l)=>'<g fill="#fff"><path d="M13 1a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h10ZM3 0a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V3a3 3 0 0 0-3-3H3Z"/><path d="M5.5 4a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm8 0a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 8a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm-8 0a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm4-4a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z"/></g>',disc:(a,l)=>'<g fill="#fff"><path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14Zm0 1A8 8 0 1 0 8-.001 8 8 0 0 0 8 16Z"/><path d="M10 8a2 2 0 1 1-4 0 2 2 0 0 1 4 0ZM8 4a4 4 0 0 0-4 4 .5.5 0 1 1-1 0 5 5 0 0 1 5-5 .5.5 0 1 1 0 1Zm4.5 3.5a.5.5 0 0 1 .5.5 5 5 0 0 1-5 5 .5.5 0 0 1 0-1 4 4 0 0 0 4-4 .5.5 0 0 1 .5-.5Z"/></g>',display:(a,l)=>'<path d="M0 4s0-2 2-2h12s2 0 2 2v6s0 2-2 2h-4c0 .667.083 1.167.25 1.5H11a.5.5 0 0 1 0 1H5a.5.5 0 0 1 0-1h.75c.167-.333.25-.833.25-1.5H2s-2 0-2-2V4Zm1.398-.855a.758.758 0 0 0-.254.302A1.46 1.46 0 0 0 1 4.01V10c0 .325.078.502.145.602.07.105.17.188.302.254.169.082.351.13.538.143L2.01 11H14c.325 0 .502-.078.602-.145a.759.759 0 0 0 .254-.302c.082-.169.13-.351.143-.538L15 9.99V4c0-.325-.078-.502-.145-.602a.756.756 0 0 0-.302-.254A1.46 1.46 0 0 0 13.99 3H2c-.325 0-.502.078-.602.145Z" fill="#fff"/>',doorClosed:(a,l)=>'<g fill="#fff"><path d="M3 2a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v13h1.5a.5.5 0 0 1 0 1h-13a.5.5 0 0 1 0-1H3V2Zm1 13h8V2H4v13Z"/><path d="M9 9a1 1 0 1 0 2 0 1 1 0 0 0-2 0Z"/></g>',doorOpen:(a,l)=>'<g fill="#fff"><path d="M8.5 10c-.276 0-.5-.448-.5-1s.224-1 .5-1 .5.448.5 1-.224 1-.5 1Z"/><path d="M10.828.122A.5.5 0 0 1 11 .5V1h.5A1.5 1.5 0 0 1 13 2.5V15h1.5a.5.5 0 0 1 0 1h-13a.5.5 0 0 1 0-1H3V1.5a.5.5 0 0 1 .43-.495l7-1a.5.5 0 0 1 .398.117ZM11.5 2H11v13h1V2.5a.5.5 0 0 0-.5-.5ZM4 1.934V15h6V1.077l-6 .857Z"/></g>',dpad:(a,l)=>'<g fill="#fff"><path d="m7.788 2.34-.799 1.278A.25.25 0 0 0 7.201 4h1.598a.25.25 0 0 0 .212-.382L8.212 2.34a.25.25 0 0 0-.424 0v.001Zm0 11.32-.799-1.277A.25.25 0 0 1 7.201 12h1.598a.25.25 0 0 1 .212.383l-.799 1.278a.25.25 0 0 1-.424 0ZM3.617 9.01 2.34 8.213a.25.25 0 0 1 0-.424l1.278-.799A.25.25 0 0 1 4 7.201v1.6a.25.25 0 0 1-.383.211V9.01Zm10.043-.798-1.277.8A.25.25 0 0 1 12 8.798V7.2a.25.25 0 0 1 .383-.212l1.278.8a.25.25 0 0 1 0 .423l-.001.001Z"/><path d="M6.5 0A1.5 1.5 0 0 0 5 1.5v3a.5.5 0 0 1-.5.5h-3A1.5 1.5 0 0 0 0 6.5v3A1.5 1.5 0 0 0 1.5 11h3a.5.5 0 0 1 .5.5v3A1.5 1.5 0 0 0 6.5 16h3a1.5 1.5 0 0 0 1.5-1.5v-3a.5.5 0 0 1 .5-.5h3A1.5 1.5 0 0 0 16 9.5v-3A1.5 1.5 0 0 0 14.5 5h-3a.5.5 0 0 1-.5-.5v-3A1.5 1.5 0 0 0 9.5 0h-3ZM6 1.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v3A1.5 1.5 0 0 0 11.5 6h3a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5h-3a1.5 1.5 0 0 0-1.5 1.5v3a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-3A1.5 1.5 0 0 0 4.5 10h-3a.5.5 0 0 1-.5-.5v-3a.5.5 0 0 1 .5-.5h3A1.5 1.5 0 0 0 6 4.5v-3Z"/></g>',droplet:(a,l)=>'<g fill-rule="evenodd" clip-rule="evenodd" fill="#fff"><path d="M7.21.8C7.69.295 8 0 8 0c.109.363.234.708.371 1.038.812 1.946 2.073 3.35 3.197 4.6C12.878 7.096 14 8.345 14 10a6 6 0 1 1-12 0C2 6.668 5.58 2.517 7.21.8Zm.413 1.021A31.249 31.249 0 0 0 5.794 3.99c-.726.95-1.436 2.008-1.96 3.07C3.304 8.133 3 9.138 3 10a5 5 0 1 0 10 0c0-1.201-.796-2.157-2.181-3.7l-.03-.032C9.75 5.11 8.5 3.72 7.623 1.82v.001Z"/><path d="M4.553 7.776c.82-1.641 1.717-2.753 2.093-3.13l.708.708c-.29.29-1.128 1.311-1.907 2.87l-.894-.448Z"/></g>',easel:(a,l)=>'<path d="M8 0a.5.5 0 0 1 .473.337L9.046 2H14a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1h-1.85l1.323 3.837a.5.5 0 1 1-.946.326L11.092 11H8.5v3a.5.5 0 0 1-1 0v-3H4.908l-1.435 4.163a.5.5 0 0 1-.946-.326L3.85 11H2a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1h4.954L7.527.337A.5.5 0 0 1 8 0ZM2 3v7h12V3H2Z" fill="#fff"/>',eggFried:(a,l)=>'<g fill="#fff"><path d="M8 11a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z"/><path d="M13.997 5.17a5 5 0 0 0-8.101-4.09A5 5 0 0 0 1.28 9.342a5 5 0 0 0 8.336 5.109 3.5 3.5 0 0 0 5.201-4.065 3.002 3.002 0 0 0-.822-5.216h.002Zm-1-.034a1 1 0 0 0 .668.977 2.001 2.001 0 0 1 .547 3.478 1 1 0 0 0-.341 1.113 2.5 2.5 0 0 1-3.715 2.905 1 1 0 0 0-1.262.152 4 4 0 0 1-6.67-4.087 1 1 0 0 0-.2-1 4 4 0 0 1 3.693-6.61 1 1 0 0 0 .8-.2 4 4 0 0 1 6.48 3.273v-.001Z"/></g>',egg:(a,l)=>'<path d="M8 15a5 5 0 0 1-5-5c0-1.956.69-4.286 1.742-6.12.524-.913 1.112-1.658 1.704-2.164C7.044 1.206 7.572 1 8 1c.428 0 .956.206 1.554.716.592.506 1.18 1.251 1.704 2.164C12.31 5.714 13 8.044 13 10a5 5 0 0 1-5 5Zm0 1a6 6 0 0 0 6-6c0-4.314-3-10-6-10S2 5.686 2 10a6 6 0 0 0 6 6Z" fill="#fff"/>',emojiHeartEyes:(a,l)=>'<g fill="#fff"><path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14Zm0 1A8 8 0 1 0 8-.001 8 8 0 0 0 8 16Z"/><path d="M11.315 10.014a.5.5 0 0 1 .548.736 4.499 4.499 0 0 1-7.796 0 .5.5 0 0 1 .548-.736h.005l.017.005.067.015.252.055c.215.046.515.108.857.169.693.124 1.522.242 2.152.242.63 0 1.46-.118 2.152-.242.371-.067.741-.141 1.109-.224l.067-.015.017-.004.005-.002v.001ZM4.756 4.566c.763-1.424 4.02-.12.952 3.434-4.496-1.596-2.35-4.298-.952-3.434Zm6.488 0c1.398-.864 3.544 1.838-.952 3.434-3.067-3.554.19-4.858.952-3.434Z"/></g>',emojiLaughing:(a,l)=>'<g fill="#fff"><path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14Zm0 1A8 8 0 1 0 8-.001 8 8 0 0 0 8 16Z"/><path d="M12.331 9.5a1 1 0 0 1 0 1 4.999 4.999 0 0 1-8.661 0A1 1 0 0 1 4.535 9h6.93a1 1 0 0 1 .866.5ZM7 6.5c0 .828-.448 0-1 0s-1 .828-1 0S5.448 5 6 5s1 .672 1 1.5Zm4 0c0 .828-.448 0-1 0s-1 .828-1 0S9.448 5 10 5s1 .672 1 1.5Z"/></g>',emojiSmileUpsideDown:(a,l)=>'<g fill="#fff"><path d="M8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1Zm0-1a8 8 0 1 1 0 16A8 8 0 0 1 8 0Z"/><path d="M4.285 6.433a.5.5 0 0 0 .683-.183A3.498 3.498 0 0 1 8 4.5c1.295 0 2.426.703 3.032 1.75a.5.5 0 0 0 .866-.5A4.499 4.499 0 0 0 5.75 4.103 4.5 4.5 0 0 0 4.102 5.75a.5.5 0 0 0 .183.683ZM7 9.5C7 8.672 6.552 8 6 8s-1 .672-1 1.5.448 1.5 1 1.5 1-.672 1-1.5Zm4 0c0-.828-.448-1.5-1-1.5s-1 .672-1 1.5.448 1.5 1 1.5 1-.672 1-1.5Z"/></g>',emojiSmile:(a,l)=>'<g fill="#fff"><path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14Zm0 1A8 8 0 1 0 8-.001 8 8 0 0 0 8 16Z"/><path d="M4.285 9.567a.5.5 0 0 1 .683.183 3.498 3.498 0 0 0 4.783 1.282c.532-.308.974-.75 1.281-1.282a.5.5 0 1 1 .866.5 4.498 4.498 0 0 1-6.149 1.648 4.498 4.498 0 0 1-1.647-1.648.5.5 0 0 1 .183-.683ZM7 6.5C7 7.328 6.552 8 6 8s-1-.672-1-1.5S5.448 5 6 5s1 .672 1 1.5Zm4 0c0 .828-.448 1.5-1 1.5s-1-.672-1-1.5S9.448 5 10 5s1 .672 1 1.5Z"/></g>',emojiSunglasses:(a,l)=>'<g fill="#fff"><path d="M4.968 9.75a.5.5 0 1 0-.866.5 4.498 4.498 0 0 0 6.149 1.647 4.499 4.499 0 0 0 1.647-1.647.5.5 0 1 0-.866-.5 3.498 3.498 0 0 1-4.783 1.282A3.498 3.498 0 0 1 4.968 9.75ZM7 5.116V5a1 1 0 0 0-1-1H3.28a1 1 0 0 0-.97 1.243l.311 1.242A2 2 0 0 0 4.561 8H5a2 2 0 0 0 1.994-1.839A2.99 2.99 0 0 1 8 6c.393 0 .74.064 1.006.161A2 2 0 0 0 11 8h.438a2 2 0 0 0 1.94-1.515l.311-1.242A1 1 0 0 0 12.72 4H10a1 1 0 0 0-1 1v.116A4.22 4.22 0 0 0 8 5c-.35 0-.69.04-1 .116Z"/><path d="M16 8A8 8 0 1 1-.001 8 8 8 0 0 1 16 8Zm-1 0A7 7 0 1 0 1 8a7 7 0 0 0 14 0Z"/></g>',emojiWink:(a,l)=>'<g fill="#fff"><path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14Zm0 1A8 8 0 1 0 8-.001 8 8 0 0 0 8 16Z"/><path d="M4.285 9.567a.5.5 0 0 1 .683.183 3.498 3.498 0 0 0 4.783 1.282c.532-.308.974-.75 1.281-1.282a.5.5 0 1 1 .866.5 4.498 4.498 0 0 1-6.149 1.648 4.498 4.498 0 0 1-1.647-1.648.5.5 0 0 1 .183-.683ZM7 6.5C7 7.328 6.552 8 6 8s-1-.672-1-1.5S5.448 5 6 5s1 .672 1 1.5Zm1.757-.437a.5.5 0 0 1 .68.194.934.934 0 0 0 .813.493c.339 0 .645-.19.813-.493a.5.5 0 1 1 .874.486A1.934 1.934 0 0 1 10.25 7.75c-.73 0-1.356-.412-1.687-1.007a.5.5 0 0 1 .194-.68Z"/></g>',envelope:(a,l)=>'<path d="M0 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V4Zm2-1a1 1 0 0 0-1 1v.217l7 4.2 7-4.2V4a1 1 0 0 0-1-1H2Zm13 2.383-4.708 2.825L15 11.105V5.383Zm-.034 6.876-5.64-3.471L8 9.583l-1.326-.795-5.64 3.47A1 1 0 0 0 2 13h12a1 1 0 0 0 .966-.741ZM1 11.105l4.708-2.897L1 5.383v5.722Z" fill="#fff"/>',eyeglasses:(a,l)=>'<path d="M4 6a2 2 0 1 1 0 4 2 2 0 0 1 0-4Zm2.625.547a3 3 0 0 0-5.584.953H.5a.5.5 0 1 0 0 1h.541A3 3 0 0 0 7 8a1 1 0 0 1 2 0 3 3 0 0 0 5.959.5h.541a.5.5 0 0 0 0-1h-.541a3 3 0 0 0-5.584-.953A1.993 1.993 0 0 0 8 6c-.532 0-1.016.208-1.375.547ZM14 8a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z" fill="#fff"/>',flag:(a,l)=>'<path d="M14.778.085A.5.5 0 0 1 15 .5V8a.5.5 0 0 1-.314.464L14.5 8l.186.464-.003.001-.006.003-.023.009a22.523 22.523 0 0 1-1.444.5c-.816.252-1.879.523-2.71.523-.847 0-1.548-.28-2.158-.525l-.028-.01C7.68 8.71 7.14 8.5 6.5 8.5c-.7 0-1.638.23-2.437.477-.358.111-.712.233-1.063.365V15.5a.5.5 0 0 1-1 0V.5a.5.5 0 0 1 1 0v.282c.226-.079.496-.17.79-.26C4.606.272 5.67 0 6.5 0c.84 0 1.524.277 2.121.519l.043.018C9.286.788 9.828 1 10.5 1c.7 0 1.638-.23 2.437-.477.455-.142.905-.301 1.349-.476l.019-.007.004-.002h.001l.468.047ZM14 1.221c-.22.078-.48.167-.766.255-.81.252-1.872.523-2.734.523-.886 0-1.592-.286-2.203-.534l-.008-.003C7.662 1.21 7.139 1 6.5 1c-.669 0-1.606.229-2.415.478-.365.113-.727.235-1.085.367v6.433c.22-.078.48-.167.766-.255C4.576 7.77 5.638 7.5 6.5 7.5c.847 0 1.548.28 2.158.525l.028.01C9.32 8.29 9.86 8.5 10.5 8.5c.668 0 1.606-.229 2.415-.478.365-.113.727-.235 1.085-.367V1.221Z" fill="#fff"/>',flower1:(a,l)=>'<path d="M6.174 1.184a2 2 0 0 1 3.652 0A2 2 0 0 1 12.99 3.01a2 2 0 0 1 1.826 3.164 2 2 0 0 1 0 3.652 2 2 0 0 1-1.826 3.164 2 2 0 0 1-3.164 1.826 2 2 0 0 1-3.652 0A2 2 0 0 1 3.01 12.99a2 2 0 0 1-1.826-3.164 2 2 0 0 1 0-3.652A2 2 0 0 1 3.01 3.01a2 2 0 0 1 3.164-1.826ZM8 1a1 1 0 0 0-.998 1.03l.01.091c.012.077.029.176.054.296.049.241.122.542.213.887.182.688.428 1.513.676 2.314L8 5.762l.045-.144c.248-.8.494-1.626.676-2.314.091-.345.164-.646.213-.887.026-.128.048-.257.064-.386L9 2a1 1 0 0 0-1-1ZM2 9l.03-.002.091-.01c.1-.015.198-.033.296-.054.241-.049.542-.122.887-.213.776-.21 1.547-.435 2.314-.676L5.762 8l-.144-.045a60.574 60.574 0 0 0-2.314-.676c-.294-.08-.59-.15-.887-.213a4.992 4.992 0 0 0-.386-.064L2 7a1 1 0 0 0 0 2Zm7 5-.002-.03a4.99 4.99 0 0 0-.064-.386 16.363 16.363 0 0 0-.213-.888 60.505 60.505 0 0 0-.676-2.314L8 10.238l-.045.144c-.248.8-.494 1.626-.676 2.314-.091.345-.164.646-.213.887a4.99 4.99 0 0 0-.064.386L7 14a1 1 0 0 0 2 0Zm-5.696-2.134.025-.017c.104-.079.205-.162.303-.248.184-.164.408-.377.661-.629.567-.57 1.123-1.15 1.667-1.742l.103-.111-.147.033c-.785.175-1.566.366-2.343.572-.344.093-.64.18-.874.258a5.026 5.026 0 0 0-.367.138l-.027.014a1 1 0 1 0 1 1.732h-.001ZM4.5 14.062a1 1 0 0 0 1.366-.366l.014-.027c.01-.02.021-.048.036-.084a5.09 5.09 0 0 0 .102-.283c.078-.233.165-.53.258-.874.206-.777.397-1.558.572-2.343l.033-.147-.11.102a60.75 60.75 0 0 0-1.743 1.667 17 17 0 0 0-.629.66c-.087.098-.17.2-.248.304l-.017.025a1 1 0 0 0 .366 1.366Zm9.196-8.196a1 1 0 0 0-1-1.732l-.025.017a4.964 4.964 0 0 0-.303.248c-.226.204-.446.413-.661.629-.567.57-1.123 1.15-1.667 1.742l-.102.111.147-.033a60.594 60.594 0 0 0 2.342-.572c.345-.093.642-.18.875-.258a4.995 4.995 0 0 0 .394-.152ZM11.5 1.938a1 1 0 0 0-1.366.366l-.014.027c-.01.02-.021.048-.036.084a5.07 5.07 0 0 0-.102.283c-.078.233-.165.53-.258.875a60.621 60.621 0 0 0-.572 2.342l-.033.147.11-.102c.592-.544 1.173-1.1 1.743-1.667.252-.253.465-.477.629-.66.087-.098.17-.2.248-.304l.017-.025a1 1 0 0 0-.366-1.366ZM14 9a1 1 0 1 0 0-2l-.03.002a4.99 4.99 0 0 0-.386.064c-.242.049-.543.122-.888.213-.688.182-1.513.428-2.314.676L10.238 8l.144.045c.8.248 1.626.494 2.314.676.345.091.646.164.887.213.128.026.256.048.386.064L14 9ZM1.938 4.5a1 1 0 0 0 .393 1.38l.084.035c.072.03.166.064.283.103.233.078.53.165.874.258.777.206 1.558.397 2.343.572l.147.033-.103-.111a60.573 60.573 0 0 0-1.666-1.742 16.708 16.708 0 0 0-.66-.629c-.098-.087-.2-.17-.304-.248l-.025-.017a1 1 0 0 0-1.366.366Zm2.196-1.196.017.025a5 5 0 0 0 .248.303c.164.184.377.408.629.661.57.567 1.15 1.123 1.742 1.667l.111.102-.033-.147a60.603 60.603 0 0 0-.572-2.342c-.093-.345-.18-.642-.258-.875a5.003 5.003 0 0 0-.138-.367l-.014-.027a1 1 0 1 0-1.732 1Zm9.928 8.196a1 1 0 0 0-.366-1.366l-.027-.014a4.973 4.973 0 0 0-.367-.138c-.233-.078-.53-.165-.875-.258a60.612 60.612 0 0 0-2.342-.572l-.147-.033.102.111a60.84 60.84 0 0 0 1.667 1.742c.253.252.477.465.66.629.098.087.2.17.304.248l.025.017a1 1 0 0 0 1.366-.366Zm-3.928 2.196a1 1 0 0 0 1.732-1l-.017-.025a5.035 5.035 0 0 0-.248-.303 16.631 16.631 0 0 0-.629-.661A60.368 60.368 0 0 0 9.23 10.04l-.111-.102.033.147c.175.784.366 1.565.572 2.342.093.345.18.642.258.875a5 5 0 0 0 .152.394ZM8 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z" fill="#fff"/>',flower2:(a,l)=>'<path d="M8 16a4 4 0 0 0 4-4 4 4 0 1 0 0-8 4 4 0 1 0-8 0 4 4 0 0 0 0 8 4 4 0 0 0 4 4Zm3-12c0 .073-.01.155-.03.247-.544.241-1.091.638-1.598 1.084a3.001 3.001 0 0 0-2.744 0c-.507-.446-1.054-.843-1.597-1.084-.02-.08-.03-.164-.031-.247a3 3 0 1 1 6 0Zm-.812 6.052A2.99 2.99 0 0 0 11 8a2.99 2.99 0 0 0-.812-2.052c.215-.18.432-.346.647-.487C11.34 5.131 11.732 5 12 5a3 3 0 0 1 0 6c-.268 0-.66-.13-1.165-.461a6.824 6.824 0 0 1-.647-.487Zm-3.56.617a3 3 0 0 0 2.744 0c.507.446 1.054.842 1.598 1.084.02.091.03.174.03.247a3 3 0 0 1-6 0c0-.073.01-.155.03-.247.544-.242 1.091-.638 1.598-1.084Zm-.816-4.721A2.99 2.99 0 0 0 5 8c0 .794.308 1.516.812 2.052a6.83 6.83 0 0 1-.647.487C4.66 10.869 4.268 11 4 11a3 3 0 0 1 0-6c.268 0 .66.13 1.165.461.215.141.432.306.647.487ZM8 9a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z" fill="#fff"/>',flower3:(a,l)=>'<path d="M11.424 8c.437-.052.811-.136 1.04-.268a2 2 0 0 0-2-3.464c-.229.132-.489.414-.752.767C9.886 4.63 10 4.264 10 4a2 2 0 0 0-4 0c0 .264.114.63.288 1.035-.263-.353-.523-.635-.752-.767a2 2 0 0 0-2 3.464c.229.132.603.216 1.04.268-.437.052-.811.136-1.04.268a2 2 0 1 0 2 3.464c.229-.132.489-.414.752-.767C6.114 11.37 6 11.736 6 12a2 2 0 0 0 4 0c0-.264-.114-.63-.288-1.035.263.353.523.635.752.767a1.999 1.999 0 1 0 2-3.464c-.229-.132-.603-.216-1.04-.268ZM9 4c-.01.07-.025.138-.045.205-.039.132-.1.295-.183.484-.19.419-.403.827-.637 1.223L8 6.142a21.77 21.77 0 0 1-.135-.23 12.88 12.88 0 0 1-.637-1.223 4.215 4.215 0 0 1-.183-.484A1.473 1.473 0 0 1 7 4a1 1 0 0 1 2 0ZM3.67 5.5a1 1 0 0 1 1.366-.366c.055.044.107.091.156.142.094.1.204.233.326.4.245.333.502.747.742 1.163l.13.232-.265.002c-.46.005-.92-.015-1.379-.06a4.215 4.215 0 0 1-.51-.083 1.47 1.47 0 0 1-.2-.064A1 1 0 0 1 3.67 5.5Zm1.366 5.366a1 1 0 0 1-1-1.732c.001 0 .016-.008.047-.02.037-.013.087-.028.153-.044.134-.032.305-.06.51-.083.458-.045.919-.065 1.379-.06.09 0 .178 0 .266.002l-.131.232c-.24.416-.497.83-.742 1.163-.1.14-.21.274-.327.4-.048.05-.1.098-.155.142ZM9 12a1 1 0 1 1-2 0c.01-.07.025-.139.045-.206.039-.131.1-.294.183-.483.166-.378.396-.808.637-1.223L8 9.858l.135.23c.241.415.47.845.637 1.223.083.19.144.352.183.484.02.067.035.136.045.205Zm3.33-6.5a1 1 0 0 1-.366 1.366 1.479 1.479 0 0 1-.2.064c-.134.032-.305.06-.51.083-.412.045-.898.061-1.379.06-.09 0-.178 0-.266-.002l.131-.232c.24-.416.497-.83.742-1.163.1-.14.21-.274.327-.4.046-.05.085-.086.114-.11.026-.022.04-.03.041-.032a1 1 0 0 1 1.366.366Zm-1.366 5.366a1.489 1.489 0 0 1-.155-.141 4.205 4.205 0 0 1-.327-.4 12.88 12.88 0 0 1-.872-1.397l.265-.002c.48-.001.967.015 1.379.06.205.023.376.051.51.083.066.016.116.031.153.044l.048.02a1 1 0 1 1-1 1.732l-.001.001ZM8 9a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z" fill="#fff"/>',gem:(a,l)=>'<path d="M3.1.7a.5.5 0 0 1 .4-.2h9a.5.5 0 0 1 .4.2l2.976 3.974c.149.185.156.45.01.644L8.4 15.3a.5.5 0 0 1-.8 0L.1 5.3a.5.5 0 0 1 0-.6l3-4Zm11.386 3.785-1.806-2.41-.776 2.413 2.582-.003Zm-3.633.004.961-2.989H4.186l.963 2.995 5.704-.006ZM5.47 5.495 8 13.366l2.532-7.876-5.062.005Zm-1.371-.999-.78-2.422-1.818 2.425 2.598-.003ZM1.499 5.5l5.113 6.817-2.192-6.82L1.5 5.5h-.001Zm7.889 6.817 5.123-6.83-2.928.002-2.195 6.828Z" fill="#fff"/>',gift:(a,l)=>'<path d="M3 2.5a2.5 2.5 0 1 1 5 0 2.5 2.5 0 1 1 5 0v.006c0 .07 0 .27-.038.494H15a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1v7.5a1.5 1.5 0 0 1-1.5 1.5h-11A1.5 1.5 0 0 1 1 14.5V7a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h2.038A2.969 2.969 0 0 1 3 2.506V2.5Zm1.068.5H7v-.5a1.5 1.5 0 0 0-3 0c0 .085.002.274.045.43a.521.521 0 0 0 .023.07ZM9 3h2.932a.556.556 0 0 0 .023-.07c.043-.156.045-.345.045-.43a1.5 1.5 0 1 0-3 0V3ZM1 4v2h6V4H1Zm8 0v2h6V4H9Zm5 3H9v8h4.5a.5.5 0 0 0 .5-.5V7Zm-7 8V7H2v7.5a.5.5 0 0 0 .5.5H7Z" fill="#fff"/>',globe:(a,l)=>'<path d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm7.5-6.923c-.67.204-1.335.82-1.887 1.855A7.97 7.97 0 0 0 5.145 4H7.5V1.077ZM4.09 4c.167-.531.38-1.046.64-1.539a6.7 6.7 0 0 1 .597-.933A7.025 7.025 0 0 0 2.255 4H4.09Zm-.582 3.5c.03-.877.138-1.718.312-2.5H1.674a6.958 6.958 0 0 0-.656 2.5h2.49ZM4.847 5a12.5 12.5 0 0 0-.338 2.5H7.5V5H4.847ZM8.5 5v2.5h2.99c-.028-.843-.14-1.68-.337-2.5H8.5ZM4.51 8.5c.028.843.14 1.68.337 2.5H7.5V8.5H4.51Zm3.99 0V11h2.653c.187-.765.306-1.608.338-2.5H8.5ZM5.145 12c.138.386.295.744.468 1.068.552 1.035 1.218 1.65 1.887 1.855V12H5.145Zm.182 2.472a6.694 6.694 0 0 1-.597-.933A9.267 9.267 0 0 1 4.09 12H2.255a7.024 7.024 0 0 0 3.072 2.472ZM3.82 11a13.651 13.651 0 0 1-.312-2.5h-2.49c.062.89.291 1.733.656 2.5H3.82Zm6.853 3.472A7.025 7.025 0 0 0 13.745 12H11.91a9.27 9.27 0 0 1-.64 1.539 6.688 6.688 0 0 1-.597.933ZM8.5 12v2.923c.67-.204 1.335-.82 1.887-1.855.173-.324.33-.682.468-1.068H8.5Zm3.68-1h2.146c.365-.767.594-1.61.656-2.5h-2.49a13.653 13.653 0 0 1-.312 2.5Zm2.802-3.5a6.957 6.957 0 0 0-.656-2.5H12.18c.174.782.282 1.623.312 2.5h2.49ZM11.27 2.461c.247.464.462.98.64 1.539h1.835a7.024 7.024 0 0 0-3.072-2.472c.218.284.418.598.597.933ZM10.855 4a7.964 7.964 0 0 0-.468-1.068C9.835 1.897 9.17 1.282 8.5 1.077V4h2.355Z" fill="#fff"/>',globe2:(a,l)=>'<path d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm7.5-6.923c-.67.204-1.335.82-1.887 1.855-.143.268-.276.56-.395.872.705.157 1.472.257 2.282.287V1.077ZM4.249 3.539c.142-.384.304-.744.481-1.078a6.7 6.7 0 0 1 .597-.933A7.01 7.01 0 0 0 3.051 3.05c.362.184.763.349 1.198.49v-.001ZM3.509 7.5c.036-1.07.188-2.087.436-3.008a9.124 9.124 0 0 1-1.565-.667A6.964 6.964 0 0 0 1.018 7.5h2.491Zm1.4-2.741c-.236.896-.37 1.815-.4 2.741H7.5V5.091c-.91-.03-1.783-.145-2.591-.332ZM8.5 5.09V7.5h2.99a12.342 12.342 0 0 0-.399-2.741c-.808.187-1.681.301-2.591.332V5.09ZM4.51 8.5c.035.987.176 1.914.399 2.741A13.613 13.613 0 0 1 7.5 10.91V8.5H4.51Zm3.99 0v2.409c.91.03 1.783.145 2.591.332.223-.827.364-1.754.4-2.741H8.5Zm-3.282 3.696c.12.312.252.604.395.872.552 1.035 1.218 1.65 1.887 1.855V11.91c-.81.03-1.577.13-2.282.287v-.001Zm.11 2.276a6.693 6.693 0 0 1-.598-.933 8.854 8.854 0 0 1-.481-1.079 8.376 8.376 0 0 0-1.198.49 7.01 7.01 0 0 0 2.276 1.522h.001Zm-1.383-2.964A13.36 13.36 0 0 1 3.508 8.5h-2.49a6.963 6.963 0 0 0 1.362 3.675c.47-.258.995-.482 1.565-.667Zm6.728 2.964a7.008 7.008 0 0 0 2.275-1.521 8.38 8.38 0 0 0-1.197-.49c-.136.37-.297.73-.481 1.078a6.688 6.688 0 0 1-.597.933ZM8.5 11.909v3.014c.67-.204 1.335-.82 1.887-1.855.143-.268.276-.56.395-.872A12.63 12.63 0 0 0 8.5 11.91v-.001Zm3.555-.401c.57.185 1.095.409 1.565.667A6.963 6.963 0 0 0 14.982 8.5h-2.49a13.364 13.364 0 0 1-.437 3.008ZM14.982 7.5a6.963 6.963 0 0 0-1.362-3.675c-.47.258-.995.482-1.565.667.248.92.4 1.938.437 3.008h2.49ZM11.27 2.461c.177.334.339.694.482 1.078.41-.132.81-.296 1.196-.49a7.01 7.01 0 0 0-2.275-1.52c.218.283.418.597.597.932Zm-.488 1.343a7.76 7.76 0 0 0-.395-.872C9.835 1.897 9.17 1.282 8.5 1.077V4.09c.81-.03 1.577-.13 2.282-.287v.001Z" fill="#fff"/>',handThumbsUp:(a,l)=>'<path d="M8.864.046C7.908-.193 7.02.53 6.956 1.466c-.072 1.051-.23 2.016-.428 2.59-.125.36-.479 1.013-1.04 1.64-.557.622-1.282 1.177-2.131 1.41C2.685 7.287 2 7.87 2 8.72v4.001c0 .845.682 1.464 1.448 1.545 1.07.114 1.564.415 2.068.723l.048.03c.272.165.578.348.97.484.397.136.861.217 1.466.217h3.5c.937 0 1.599-.477 1.934-1.064a1.86 1.86 0 0 0 .254-.912c0-.152-.023-.312-.077-.464.201-.263.38-.578.488-.9.11-.33.172-.763.004-1.15.069-.13.12-.269.159-.403.077-.27.113-.568.113-.857 0-.288-.036-.585-.113-.856a2.148 2.148 0 0 0-.138-.362 1.9 1.9 0 0 0 .234-1.734c-.206-.592-.682-1.1-1.2-1.272-.847-.282-1.803-.276-2.516-.21a9.85 9.85 0 0 0-.443.05 9.365 9.365 0 0 0-.062-4.51A1.38 1.38 0 0 0 9.125.111L8.864.046ZM11.5 14.721H8c-.51 0-.863-.069-1.14-.164-.281-.097-.506-.228-.776-.393l-.04-.024c-.555-.339-1.198-.73-2.49-.868-.333-.036-.554-.29-.554-.55V8.72c0-.254.226-.543.62-.65 1.095-.3 1.977-.996 2.614-1.708.635-.71 1.064-1.475 1.238-1.978.243-.7.407-1.768.482-2.85.025-.362.36-.594.667-.518l.262.066c.16.04.258.143.288.255a8.34 8.34 0 0 1-.145 4.725.5.5 0 0 0 .595.644h.003l.014-.004.058-.014a8.911 8.911 0 0 1 1.036-.157c.663-.06 1.457-.054 2.11.164.175.058.45.3.57.65.107.308.087.67-.266 1.022l-.353.353.353.354c.043.043.105.141.154.315.048.167.075.37.075.581 0 .212-.027.414-.075.582-.05.174-.111.272-.154.315l-.353.353.353.354c.047.047.109.177.005.488-.108.302-.28.576-.505.805l-.353.353.353.354c.006.005.041.05.041.17a.866.866 0 0 1-.121.416c-.165.288-.503.56-1.066.56v.001Z" fill="#fff"/>',handbag:(a,l)=>'<path d="M8 1a2 2 0 0 1 2 2v2H6V3a2 2 0 0 1 2-2Zm3 4V3a3 3 0 0 0-6 0v2H3.36a1.5 1.5 0 0 0-1.483 1.277L.85 13.13A2.5 2.5 0 0 0 3.322 16h9.355a2.5 2.5 0 0 0 2.473-2.87l-1.028-6.853A1.5 1.5 0 0 0 12.64 5H11Zm-1 1v1.5a.5.5 0 0 0 1 0V6h1.639a.5.5 0 0 1 .494.426l1.028 6.851A1.5 1.5 0 0 1 12.678 15H3.322a1.5 1.5 0 0 1-1.483-1.723l1.028-6.851A.5.5 0 0 1 3.36 6H5v1.5a.5.5 0 1 0 1 0V6h4Z" fill="#fff"/>',hdd:(a,l)=>'<g fill="#fff"><path d="M4.5 11a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1ZM3 10.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Z"/><path d="M16 11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V9.51c0-.418.105-.83.305-1.197l2.472-4.531A1.5 1.5 0 0 1 4.094 3h7.812a1.5 1.5 0 0 1 1.317.782l2.472 4.53c.2.368.305.78.305 1.198V11ZM3.655 4.26 1.592 8.043C1.724 8.014 1.86 8 2 8h12c.14 0 .276.014.408.042L12.345 4.26a.5.5 0 0 0-.439-.26H4.094a.5.5 0 0 0-.44.26h.001ZM1 10v1a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-1a1 1 0 0 0-1-1H2a1 1 0 0 0-1 1Z"/></g>',heart:(a,l)=>'<path d="m8 2.748-.717-.737C5.6.281 2.514.878 1.4 3.053c-.523 1.023-.641 2.5.314 4.385.92 1.815 2.834 3.989 6.286 6.357 3.452-2.368 5.365-4.542 6.286-6.357.955-1.886.838-3.362.314-4.385C13.486.878 10.4.28 8.717 2.01L8 2.748ZM8 15C-7.333 4.868 3.279-3.04 7.824 1.143c.06.055.119.112.176.171.056-.059.115-.116.176-.17C12.72-3.042 23.333 4.867 8 15Z" fill="#fff"/>',hourglassSplit:(a,l)=>'<path d="M2.5 15a.5.5 0 0 1 0-1h1v-1a4.5 4.5 0 0 1 2.557-4.06c.29-.139.443-.377.443-.59v-.7c0-.213-.154-.451-.443-.59A4.5 4.5 0 0 1 3.5 3V2h-1a.5.5 0 1 1 0-1h11a.5.5 0 0 1 0 1h-1v1a4.5 4.5 0 0 1-2.557 4.06c-.29.139-.443.377-.443.59v.7c0 .213.154.451.443.59A4.5 4.5 0 0 1 12.5 13v1h1a.5.5 0 0 1 0 1h-11Zm2-13v1c0 .537.12 1.045.337 1.5h6.326c.216-.455.337-.963.337-1.5V2h-7Zm3 6.35c0 .701-.478 1.236-1.011 1.492A3.5 3.5 0 0 0 4.5 13s.866-1.299 3-1.48V8.35Zm1 0v3.17c2.134.181 3 1.48 3 1.48a3.5 3.5 0 0 0-1.989-3.158C8.978 9.586 8.5 9.052 8.5 8.351V8.35Z" fill="#fff"/>',hourglass:(a,l)=>'<path d="M2 1.5a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-1v1a4.5 4.5 0 0 1-2.557 4.06c-.29.139-.443.377-.443.59v.7c0 .213.154.451.443.59A4.5 4.5 0 0 1 12.5 13v1h1a.5.5 0 0 1 0 1h-11a.5.5 0 0 1 0-1h1v-1a4.5 4.5 0 0 1 2.557-4.06c.29-.139.443-.377.443-.59v-.7c0-.213-.154-.451-.443-.59A4.5 4.5 0 0 1 3.5 3V2h-1a.5.5 0 0 1-.5-.5Zm2.5.5v1a3.5 3.5 0 0 0 1.989 3.158c.533.256 1.011.791 1.011 1.491v.702c0 .7-.478 1.235-1.011 1.491A3.5 3.5 0 0 0 4.5 13v1h7v-1a3.5 3.5 0 0 0-1.989-3.158C8.978 9.586 8.5 9.052 8.5 8.351v-.702c0-.7.478-1.235 1.011-1.491A3.5 3.5 0 0 0 11.5 3V2h-7Z" fill="#fff"/>',houseDoor:(a,l)=>'<path d="M8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4.5a.5.5 0 0 0 .5-.5v-4h2v4a.5.5 0 0 0 .5.5H14a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146ZM2.5 14V7.707l5.5-5.5 5.5 5.5V14H10v-4a.5.5 0 0 0-.5-.5h-3a.5.5 0 0 0-.5.5v4H2.5Z" fill="#fff"/>',house:(a,l)=>'<g fill-rule="evenodd" clip-rule="evenodd" fill="#fff"><path d="M2 13.5V7h1v6.5a.5.5 0 0 0 .5.5h9a.5.5 0 0 0 .5-.5V7h1v6.5a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 2 13.5Zm11-11V6l-2-2V2.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5Z"/><path d="M7.293 1.5a1 1 0 0 1 1.414 0l6.647 6.646a.5.5 0 0 1-.708.708L8 2.207 1.354 8.854a.5.5 0 0 1-.708-.708L7.293 1.5Z"/></g>',inbox:(a,l)=>'<path d="M4.98 4a.5.5 0 0 0-.39.188L1.54 8H6a.5.5 0 0 1 .5.5 1.5 1.5 0 1 0 3 0A.5.5 0 0 1 10 8h4.46l-3.05-3.812A.5.5 0 0 0 11.02 4H4.98Zm9.954 5H10.45a2.5 2.5 0 0 1-4.9 0H1.066l.32 2.562a.5.5 0 0 0 .497.438h12.234a.5.5 0 0 0 .496-.438L14.933 9h.001ZM3.809 3.563A1.5 1.5 0 0 1 4.981 3h6.038a1.5 1.5 0 0 1 1.172.563l3.7 4.625a.499.499 0 0 1 .105.374l-.39 3.124A1.5 1.5 0 0 1 14.117 13H1.883a1.5 1.5 0 0 1-1.489-1.314l-.39-3.124a.5.5 0 0 1 .106-.374l3.7-4.625h-.001Z" fill="#fff"/>',inboxes:(a,l)=>'<path d="M4.98 1a.5.5 0 0 0-.39.188L1.54 5H6a.5.5 0 0 1 .5.5 1.5 1.5 0 1 0 3 0A.5.5 0 0 1 10 5h4.46l-3.05-3.812A.5.5 0 0 0 11.02 1H4.98Zm9.954 5H10.45a2.5 2.5 0 0 1-4.9 0H1.066l.32 2.562A.5.5 0 0 0 1.884 9h12.234a.5.5 0 0 0 .496-.438L14.933 6h.001ZM3.809.563A1.5 1.5 0 0 1 4.981 0h6.038a1.5 1.5 0 0 1 1.172.563l3.7 4.625a.499.499 0 0 1 .105.374l-.39 3.124A1.5 1.5 0 0 1 14.117 10H1.883A1.5 1.5 0 0 1 .394 8.686l-.39-3.124a.5.5 0 0 1 .106-.374L3.81.563h-.001ZM.125 11.17A.5.5 0 0 1 .5 11H6a.5.5 0 0 1 .5.5 1.5 1.5 0 0 0 3 0 .5.5 0 0 1 .5-.5h5.5a.5.5 0 0 1 .496.562l-.39 3.124A1.5 1.5 0 0 1 14.117 16H1.883a1.5 1.5 0 0 1-1.489-1.314l-.39-3.124a.5.5 0 0 1 .121-.393v.001Zm.941.83.32 2.562a.5.5 0 0 0 .497.438h12.234a.5.5 0 0 0 .496-.438l.32-2.562H10.45a2.5 2.5 0 0 1-4.9 0H1.066Z" fill="#fff"/>',key:(a,l)=>'<g fill="#fff"><path d="M0 8a4 4 0 0 1 7.465-2H14a.5.5 0 0 1 .354.146l1.5 1.5a.5.5 0 0 1 0 .708l-1.5 1.5a.499.499 0 0 1-.708 0L13 9.207l-.646.647a.499.499 0 0 1-.708 0L11 9.207l-.646.647a.499.499 0 0 1-.708 0L9 9.207l-.646.647A.5.5 0 0 1 8 10h-.535A4 4 0 0 1 0 8Zm4-3a3 3 0 1 0 2.712 4.285A.5.5 0 0 1 7.163 9h.63l.853-.854a.5.5 0 0 1 .708 0l.646.647.646-.647a.5.5 0 0 1 .708 0l.646.647.646-.647a.5.5 0 0 1 .708 0l.646.647.793-.793-1-1h-6.63a.5.5 0 0 1-.451-.285A3 3 0 0 0 4 5Z"/><path d="M4 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"/></g>',keyboard:(a,l)=>'<g fill="#fff"><path d="M14 5a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h12ZM2 4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2H2Z"/><path d="M13 10.25a.25.25 0 0 1 .25-.25h.5a.25.25 0 0 1 .25.25v.5a.25.25 0 0 1-.25.25h-.5a.25.25 0 0 1-.25-.25v-.5Zm0-2a.25.25 0 0 1 .25-.25h.5a.25.25 0 0 1 .25.25v.5a.25.25 0 0 1-.25.25h-.5a.25.25 0 0 1-.25-.25v-.5Zm-5 0A.25.25 0 0 1 8.25 8h.5a.25.25 0 0 1 .25.25v.5a.25.25 0 0 1-.25.25h-.5A.25.25 0 0 1 8 8.75v-.5Zm2 0a.25.25 0 0 1 .25-.25h1.5a.25.25 0 0 1 .25.25v.5a.25.25 0 0 1-.25.25h-1.5a.25.25 0 0 1-.25-.25v-.5Zm1 2a.25.25 0 0 1 .25-.25h.5a.25.25 0 0 1 .25.25v.5a.25.25 0 0 1-.25.25h-.5a.25.25 0 0 1-.25-.25v-.5Zm-5-2A.25.25 0 0 1 6.25 8h.5a.25.25 0 0 1 .25.25v.5a.25.25 0 0 1-.25.25h-.5A.25.25 0 0 1 6 8.75v-.5Zm-2 0A.25.25 0 0 1 4.25 8h.5a.25.25 0 0 1 .25.25v.5a.25.25 0 0 1-.25.25h-.5A.25.25 0 0 1 4 8.75v-.5Zm-2 0A.25.25 0 0 1 2.25 8h.5a.25.25 0 0 1 .25.25v.5a.25.25 0 0 1-.25.25h-.5A.25.25 0 0 1 2 8.75v-.5Zm11-2a.25.25 0 0 1 .25-.25h.5a.25.25 0 0 1 .25.25v.5a.25.25 0 0 1-.25.25h-.5a.25.25 0 0 1-.25-.25v-.5Zm-2 0a.25.25 0 0 1 .25-.25h.5a.25.25 0 0 1 .25.25v.5a.25.25 0 0 1-.25.25h-.5a.25.25 0 0 1-.25-.25v-.5Zm-2 0A.25.25 0 0 1 9.25 6h.5a.25.25 0 0 1 .25.25v.5a.25.25 0 0 1-.25.25h-.5A.25.25 0 0 1 9 6.75v-.5Zm-2 0A.25.25 0 0 1 7.25 6h.5a.25.25 0 0 1 .25.25v.5a.25.25 0 0 1-.25.25h-.5A.25.25 0 0 1 7 6.75v-.5Zm-2 0A.25.25 0 0 1 5.25 6h.5a.25.25 0 0 1 .25.25v.5a.25.25 0 0 1-.25.25h-.5A.25.25 0 0 1 5 6.75v-.5Zm-3 0A.25.25 0 0 1 2.25 6h1.5a.25.25 0 0 1 .25.25v.5a.25.25 0 0 1-.25.25h-1.5A.25.25 0 0 1 2 6.75v-.5Zm0 4a.25.25 0 0 1 .25-.25h.5a.25.25 0 0 1 .25.25v.5a.25.25 0 0 1-.25.25h-.5a.25.25 0 0 1-.25-.25v-.5Zm2 0a.25.25 0 0 1 .25-.25h5.5a.25.25 0 0 1 .25.25v.5a.25.25 0 0 1-.25.25h-5.5a.25.25 0 0 1-.25-.25v-.5Z"/></g>',ladder:(a,l)=>'<path d="M4.5 1a.5.5 0 0 1 .5.5V2h6v-.5a.5.5 0 0 1 1 0v14a.5.5 0 0 1-1 0V15H5v.5a.5.5 0 0 1-1 0v-14a.5.5 0 0 1 .5-.5ZM5 14h6v-2H5v2Zm0-3h6V9H5v2Zm0-3h6V6H5v2Zm0-3h6V3H5v2Z" fill="#fff"/>',lamp:(a,l)=>'<g fill="#fff"><path fill-rule="evenodd" clip-rule="evenodd" d="M5.04.303A.5.5 0 0 1 5.5 0h5c.2 0 .38.12.46.303l3 7a.499.499 0 0 1-.363.687h-.002c-.15.03-.3.056-.45.081a32.731 32.731 0 0 1-4.645.425V13.5a.5.5 0 0 1-1 0V8.495a32.753 32.753 0 0 1-4.645-.425c-.15-.025-.3-.05-.45-.08h-.003a.5.5 0 0 1-.362-.688l3-7v.001ZM3.21 7.116c1.584.25 3.186.38 4.79.384a31.27 31.27 0 0 0 4.791-.384L10.171 1H5.83L3.209 7.116h.001Z"/><path d="M6.493 12.574a.5.5 0 0 1-.411.575c-.712.118-1.28.295-1.655.493a1.32 1.32 0 0 0-.37.265.3.3 0 0 0-.052.075l-.001.004-.004.01V14l.002.008c.004.012.01.023.016.033.04.058.089.109.145.15.165.13.435.27.813.395.751.25 1.82.414 3.024.414s2.273-.163 3.024-.414c.378-.126.648-.265.813-.395a.617.617 0 0 0 .146-.15.147.147 0 0 0 .015-.033L12 14v-.004a.302.302 0 0 0-.057-.09 1.319 1.319 0 0 0-.37-.264c-.376-.198-.943-.375-1.655-.493a.5.5 0 1 1 .164-.986c.77.127 1.452.328 1.957.594C12.5 13 13 13.4 13 14c0 .426-.26.752-.544.977-.29.228-.68.413-1.116.558-.878.293-2.059.465-3.34.465-1.281 0-2.462-.172-3.34-.465-.436-.145-.826-.33-1.116-.558C3.26 14.752 3 14.426 3 14c0-.599.5-1 .961-1.243.505-.266 1.187-.467 1.957-.594a.5.5 0 0 1 .575.411Z"/></g>',laptop:(a,l)=>'<path d="M13.5 3a.5.5 0 0 1 .5.5V11H2V3.5a.5.5 0 0 1 .5-.5h11Zm-11-1A1.5 1.5 0 0 0 1 3.5V12h14V3.5A1.5 1.5 0 0 0 13.5 2h-11ZM0 12.5h16a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 0 12.5Z" fill="#fff"/>',lightbulb:(a,l)=>'<path d="M2 6a6 6 0 1 1 10.174 4.31c-.203.196-.359.4-.453.619l-.762 1.769A.5.5 0 0 1 10.5 13a.5.5 0 0 1 0 1 .5.5 0 0 1 0 1l-.224.447a1 1 0 0 1-.894.553H6.618a1 1 0 0 1-.894-.553L5.5 15a.5.5 0 1 1 0-1 .5.5 0 1 1 0-1 .5.5 0 0 1-.46-.302l-.761-1.77a1.965 1.965 0 0 0-.453-.618A5.983 5.983 0 0 1 2 6Zm6-5a5 5 0 0 0-3.479 8.592c.263.254.514.564.676.94L5.83 12h4.342l.632-1.467c.162-.377.413-.687.676-.941A5 5 0 0 0 8 1Z" fill="#fff"/>',lightningCharge:(a,l)=>'<path d="M11.251.068a.5.5 0 0 1 .227.58L9.677 6.5H13a.5.5 0 0 1 .364.843l-8 8.5a.5.5 0 0 1-.842-.49L6.323 9.5H3a.5.5 0 0 1-.364-.843l8-8.5a.5.5 0 0 1 .615-.09v.001ZM4.157 8.5H7a.5.5 0 0 1 .478.647L6.11 13.59l5.732-6.09H9a.5.5 0 0 1-.478-.647L9.89 2.41 4.157 8.5Z" fill="#fff"/>',lightning:(a,l)=>'<path d="M5.52.359A.5.5 0 0 1 6 0h4a.5.5 0 0 1 .474.658L8.694 6H12.5a.5.5 0 0 1 .395.807l-7 9a.5.5 0 0 1-.873-.454L6.823 9.5H3.5a.5.5 0 0 1-.48-.641l2.5-8.5ZM6.374 1 4.168 8.5H7.5a.5.5 0 0 1 .478.647L6.78 13.04 11.478 7H8a.5.5 0 0 1-.474-.658L9.306 1H6.374Z" fill="#fff"/>',lock:(a,l)=>'<path d="M8 1a2 2 0 0 1 2 2v4H6V3a2 2 0 0 1 2-2Zm3 6V3a3 3 0 0 0-6 0v4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2ZM5 8h6a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1Z" fill="#fff"/>',magic:(a,l)=>'<path d="M9.5 2.672a.5.5 0 0 0 1 0V.843a.5.5 0 0 0-1 0v1.829Zm4.5.035A.5.5 0 0 0 13.293 2L12 3.293a.5.5 0 1 0 .707.707L14 2.707ZM7.293 4A.5.5 0 1 0 8 3.293L6.707 2A.5.5 0 0 0 6 2.707L7.293 4Zm-.621 2.5a.5.5 0 1 0 0-1H4.843a.5.5 0 0 0 0 1h1.829Zm8.485 0a.5.5 0 0 0 0-1h-1.829a.5.5 0 0 0 0 1h1.829ZM13.293 10A.5.5 0 1 0 14 9.293L12.707 8a.5.5 0 1 0-.707.707L13.293 10ZM9.5 11.157a.5.5 0 0 0 1 0V9.328a.5.5 0 0 0-1 0v1.829Zm1.854-5.097a.5.5 0 0 0 0-.706l-.708-.708a.5.5 0 0 0-.707 0L8.646 5.94a.5.5 0 0 0 0 .707l.708.708a.5.5 0 0 0 .707 0l1.293-1.293V6.06Zm-3 3a.5.5 0 0 0 0-.706l-.708-.708a.5.5 0 0 0-.707 0L.646 13.94a.5.5 0 0 0 0 .707l.708.708a.5.5 0 0 0 .707 0L8.354 9.06Z" fill="#fff"/>',mailbox:(a,l)=>'<g fill="#fff"><path d="M4 4a3 3 0 0 0-3 3v6h6V7a3 3 0 0 0-3-3Zm0-1h8a4 4 0 0 1 4 4v6a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1V7a4 4 0 0 1 4-4Zm2.646 1A3.99 3.99 0 0 1 8 7v6h7V7a3 3 0 0 0-3-3H6.646Z"/><path d="M11.793 8.5H9v-1h5a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.354-.146l-.853-.854ZM5 7c0 .552-.448 0-1 0s-1 .552-1 0a1 1 0 0 1 2 0Z"/></g>',map:(a,l)=>'<path fill-rule="evenodd" clip-rule="evenodd" d="M15.817.113A.499.499 0 0 1 16 .5v14a.5.5 0 0 1-.402.49l-5 1a.505.505 0 0 1-.196 0L5.5 15.01l-4.902.98A.5.5 0 0 1 0 15.5v-14a.5.5 0 0 1 .402-.49l5-1a.5.5 0 0 1 .196 0L10.5.99l4.902-.98a.5.5 0 0 1 .415.103ZM10 1.91l-4-.8v12.98l4 .8V1.91Zm1 12.98 4-.8V1.11l-4 .8v12.98Zm-6-.8V1.11l-4 .8v12.98l4-.8Z" fill="#fff"/>',megaphone:(a,l)=>'<path d="M13 2.5a1.5 1.5 0 1 1 3 0v11a1.5 1.5 0 1 1-3 0v-.214c-2.162-1.241-4.49-1.843-6.912-2.083l.405 2.712A1 1 0 0 1 5.51 15.1h-.548a1 1 0 0 1-.916-.599l-1.85-3.49a68.03 68.03 0 0 0-.202-.003A2.014 2.014 0 0 1 0 9V7a2.02 2.02 0 0 1 1.992-2.013 74.66 74.66 0 0 0 2.483-.075c3.043-.154 6.148-.849 8.525-2.199V2.5Zm1 0v11a.5.5 0 0 0 1 0v-11a.5.5 0 0 0-1 0Zm-1 1.35c-2.344 1.205-5.209 1.842-8 2.033v4.233c.18.01.359.022.537.036 2.568.189 5.093.744 7.463 1.993V3.85Zm-9 6.215v-4.13c-.664.024-1.328.042-1.992.052A1.02 1.02 0 0 0 1 7v2c0 .55.448 1.002 1.006 1.009.665.008 1.33.026 1.994.056Zm-.657.975 1.609 3.037.01.024h.548l-.002-.014-.443-2.966a68.248 68.248 0 0 0-1.722-.082v.001Z" fill="#fff"/>',minecartLoaded:(a,l)=>'<g fill="#fff"><path d="M4 15a1 1 0 1 1 0-2 1 1 0 0 1 0 2Zm0 1a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm8-1a1 1 0 1 1 0-2 1 1 0 0 1 0 2Zm0 1a2 2 0 1 0 0-4 2 2 0 0 0 0 4ZM.115 3.18A.5.5 0 0 1 .5 3h15a.5.5 0 0 1 .491.592l-1.5 8A.5.5 0 0 1 14 12H2a.5.5 0 0 1-.491-.408l-1.5-8a.5.5 0 0 1 .106-.411V3.18Zm.987.82 1.313 7h11.17l1.313-7H1.102Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M6 1a2.498 2.498 0 0 1 4 0c.818 0 1.545.394 2 1 .67 0 1.552.57 2 1h-2c-.314 0-.611-.15-.8-.4-.274-.365-.71-.6-1.2-.6-.314 0-.611-.15-.8-.4a1.497 1.497 0 0 0-2.4 0c-.189.25-.486.4-.8.4-.507 0-.955.251-1.228.638-.09.13-.194.25-.308.362H3c.13-.147.401-.432.562-.545a1.63 1.63 0 0 0 .393-.393A2.498 2.498 0 0 1 6 1Z"/></g>',minecart:(a,l)=>'<path d="M4 15a1 1 0 1 1 0-2 1 1 0 0 1 0 2Zm0 1a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm8-1a1 1 0 1 1 0-2 1 1 0 0 1 0 2Zm0 1a2 2 0 1 0 0-4 2 2 0 0 0 0 4ZM.115 3.18A.5.5 0 0 1 .5 3h15a.5.5 0 0 1 .491.592l-1.5 8A.5.5 0 0 1 14 12H2a.5.5 0 0 1-.491-.408l-1.5-8a.5.5 0 0 1 .106-.411V3.18Zm.987.82 1.313 7h11.17l1.313-7H1.102Z" fill="#fff"/>',moonStars:(a,l)=>'<g fill="#fff"><path d="M6 .278a.768.768 0 0 1 .08.858 7.208 7.208 0 0 0-.878 3.46c0 4.021 3.278 7.277 7.318 7.277.527 0 1.04-.055 1.533-.16a.786.786 0 0 1 .81.316.733.733 0 0 1-.031.893A8.348 8.348 0 0 1 8.344 16C3.734 16 0 12.286 0 7.71 0 4.266 2.114 1.312 5.124.06A.752.752 0 0 1 6 .278ZM4.858 1.311A7.269 7.269 0 0 0 1.025 7.71c0 4.02 3.279 7.276 7.319 7.276a7.318 7.318 0 0 0 5.205-2.162c-.337.042-.68.063-1.029.063-4.61 0-8.343-3.714-8.343-8.29 0-1.167.242-2.278.681-3.286Z"/><path d="M10.794 3.148a.217.217 0 0 1 .412 0l.387 1.162c.173.518.579.924 1.097 1.097l1.162.387a.217.217 0 0 1 0 .412l-1.162.387a1.734 1.734 0 0 0-1.097 1.097l-.387 1.162a.217.217 0 0 1-.412 0l-.387-1.162A1.734 1.734 0 0 0 9.31 6.593l-1.162-.387a.217.217 0 0 1 0-.412l1.162-.387a1.734 1.734 0 0 0 1.097-1.097l.387-1.162ZM13.863.099a.145.145 0 0 1 .274 0l.258.774c.115.346.386.617.732.732l.774.258a.144.144 0 0 1 .07.221.144.144 0 0 1-.07.053l-.774.258a1.156 1.156 0 0 0-.732.732l-.258.774a.145.145 0 0 1-.221.07.145.145 0 0 1-.053-.07l-.258-.774a1.155 1.155 0 0 0-.732-.732l-.774-.258a.144.144 0 0 1-.07-.221.144.144 0 0 1 .07-.053l.774-.258c.346-.115.617-.386.732-.732L13.863.1V.099Z"/></g>',moon:(a,l)=>'<path d="M6 .278a.768.768 0 0 1 .08.858 7.208 7.208 0 0 0-.878 3.46c0 4.021 3.278 7.277 7.318 7.277.527 0 1.04-.055 1.533-.16a.786.786 0 0 1 .81.316.733.733 0 0 1-.031.893A8.348 8.348 0 0 1 8.344 16C3.734 16 0 12.286 0 7.71 0 4.266 2.114 1.312 5.124.06A.752.752 0 0 1 6 .278ZM4.858 1.311A7.269 7.269 0 0 0 1.025 7.71c0 4.02 3.279 7.276 7.319 7.276a7.318 7.318 0 0 0 5.205-2.162c-.337.042-.68.063-1.029.063-4.61 0-8.343-3.714-8.343-8.29 0-1.167.242-2.278.681-3.286Z" fill="#fff"/>',mortarboard:(a,l)=>'<g fill="#fff"><path d="M8.211 2.047a.5.5 0 0 0-.422 0l-7.5 3.5a.5.5 0 0 0 .025.917l7.5 3a.5.5 0 0 0 .372 0L14 7.14V13a1 1 0 0 0-1 1v2h3v-2a1 1 0 0 0-1-1V6.739l.686-.275a.5.5 0 0 0 .025-.917l-7.5-3.5ZM8 8.46 1.758 5.965 8 3.052l6.242 2.913L8 8.46Z"/><path d="M4.176 9.032a.5.5 0 0 0-.656.327l-.5 1.7a.5.5 0 0 0 .294.605l4.5 1.8a.5.5 0 0 0 .372 0l4.5-1.8a.5.5 0 0 0 .294-.605l-.5-1.7a.5.5 0 0 0-.656-.327L8 10.466 4.176 9.032Zm-.068 1.873.22-.748 3.496 1.311a.5.5 0 0 0 .352 0l3.496-1.31.22.747L8 12.46l-3.892-1.556v.001Z"/></g>',mouse:(a,l)=>'<path d="M8 3a.5.5 0 0 1 .5.5v2a.5.5 0 1 1-1 0v-2A.5.5 0 0 1 8 3Zm4 8a4 4 0 1 1-8 0V5a4 4 0 0 1 8 0v6ZM8 0a5 5 0 0 0-5 5v6a5 5 0 1 0 10 0V5a5 5 0 0 0-5-5Z" fill="#fff"/>',mouse2:(a,l)=>'<path d="M3 5.188C3 2.341 5.22 0 8 0s5 2.342 5 5.188v5.625C13 13.658 10.78 16 8 16s-5-2.342-5-5.188V5.188Zm4.5-4.155C5.541 1.289 4 3.035 4 5.188V5.5h3.5V1.033Zm1 0V5.5H12v-.313c0-2.152-1.541-3.898-3.5-4.154ZM12 6.5H4v4.313C4 13.145 5.81 15 8 15s4-1.855 4-4.188V6.5Z" fill="#fff"/>',newspaper:(a,l)=>'<g fill="#fff"><path d="M0 2.5A1.5 1.5 0 0 1 1.5 1h11A1.5 1.5 0 0 1 14 2.5v10.528c0 .3-.05.654-.238.972h.738a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 1 1 0v9a1.5 1.5 0 0 1-1.5 1.5H1.497A1.497 1.497 0 0 1 0 13.5v-11ZM12 14c.37 0 .654-.211.853-.441.092-.106.147-.279.147-.531V2.5a.5.5 0 0 0-.5-.5h-11a.5.5 0 0 0-.5.5v11c0 .278.223.5.497.5H12Z"/><path d="M2 3h10v2H2V3Zm0 3h4v3H2V6Zm0 4h4v1H2v-1Zm0 2h4v1H2v-1Zm5-6h2v1H7V6Zm3 0h2v1h-2V6ZM7 8h2v1H7V8Zm3 0h2v1h-2V8Zm-3 2h2v1H7v-1Zm3 0h2v1h-2v-1Zm-3 2h2v1H7v-1Zm3 0h2v1h-2v-1Z"/></g>',paintBucket:(a,l)=>'<path d="M6.192 2.78c-.458-.677-.927-1.248-1.35-1.643-.21-.206-.45-.38-.71-.515-.217-.104-.56-.205-.882-.02-.367.213-.427.63-.43.896-.003.304.064.664.173 1.044.196.687.556 1.528 1.035 2.402L.752 8.22c-.277.277-.269.656-.218.918.055.283.187.593.36.903.348.627.92 1.361 1.626 2.068.707.707 1.441 1.278 2.068 1.626.31.173.62.305.903.36.262.05.64.06.918-.218l5.615-5.615c.118.257.092.512.05.94-.03.291-.068.664-.073 1.175v.123h.003a1 1 0 0 0 1.993 0H14v-.057c0-.039 0-.078-.004-.117-.055-1.25-.7-2.738-1.86-3.494a4.314 4.314 0 0 0-.211-.434c-.349-.626-.92-1.36-1.627-2.067-.707-.707-1.441-1.279-2.068-1.627-.31-.172-.62-.304-.903-.36-.262-.05-.64-.058-.918.22l-.217.215v.001ZM4.16 1.867c.381.356.844.922 1.311 1.632l-.704.705c-.382-.727-.66-1.402-.813-1.938a3.283 3.283 0 0 1-.131-.673c.091.061.204.15.337.274Zm.394 3.965c.54.852 1.107 1.567 1.607 2.033a.5.5 0 1 0 .682-.732c-.453-.422-1.017-1.136-1.564-2.027l1.088-1.088c.054.12.115.243.183.365.349.627.92 1.361 1.627 2.068.706.707 1.44 1.278 2.068 1.626.122.068.244.13.365.183l-4.861 4.862a.577.577 0 0 1-.068-.01c-.137-.027-.342-.104-.608-.252-.524-.292-1.186-.8-1.846-1.46-.66-.66-1.168-1.32-1.46-1.846-.147-.265-.225-.47-.251-.607a.574.574 0 0 1-.01-.068l3.048-3.047Zm2.87-1.935a2.44 2.44 0 0 1-.241-.56c.135.032.324.11.562.24.524.292 1.186.8 1.846 1.46.45.45.83.901 1.118 1.31a3.497 3.497 0 0 0-1.066.091c-.264-.22-.517-.451-.76-.694-.66-.66-1.167-1.322-1.458-1.847h-.001Z" fill="#fff"/>',palette:(a,l)=>'<g fill="#fff"><path d="M8 5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm4 3a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM5.5 7a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm.5 6a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"/><path d="M16 8c0 3.15-1.866 2.585-3.567 2.07C11.42 9.763 10.465 9.473 10 10c-.603.683-.475 1.819-.351 2.92C9.826 14.495 9.996 16 8 16a8 8 0 1 1 8-8Zm-8 7c.611 0 .654-.171.655-.176.078-.146.124-.464.07-1.119-.014-.168-.037-.37-.061-.591-.052-.464-.112-1.005-.118-1.462-.01-.707.083-1.61.704-2.314.369-.417.845-.578 1.272-.618.404-.038.812.026 1.16.104.343.077.702.186 1.025.284l.028.008c.346.105.658.199.953.266.653.148.904.083.991.024C14.717 9.38 15 9.161 15 8a7 7 0 1 0-7 7Z"/></g>',palette2:(a,l)=>'<path d="M0 .5A.5.5 0 0 1 .5 0h5a.5.5 0 0 1 .5.5v5.277l4.147-4.131a.5.5 0 0 1 .707 0l3.535 3.536a.5.5 0 0 1 0 .708L10.261 10H15.5a.5.5 0 0 1 .5.5v5a.5.5 0 0 1-.5.5H3a2.99 2.99 0 0 1-2.121-.879A2.99 2.99 0 0 1 0 13.044V.5Zm6 12.334 7.328-7.3-2.829-2.828L6 7.188v5.647-.001ZM4.5 13a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0ZM15 15v-4H9.258l-4.015 4H15ZM0 .5v12.495V.5Z" fill="#fff"/>',paperclip:(a,l)=>'<path d="M4.5 3a2.5 2.5 0 1 1 5 0v9a1.5 1.5 0 0 1-3 0V5a.5.5 0 1 1 1 0v7a.5.5 0 0 0 1 0V3a1.5 1.5 0 0 0-3 0v9a2.5 2.5 0 0 0 5 0V5a.5.5 0 0 1 1 0v7a3.5 3.5 0 1 1-7 0V3Z" fill="#fff"/>',pen:(a,l)=>'<path d="m13.498.795.149-.149a1.207 1.207 0 1 1 1.707 1.708l-.149.148a1.5 1.5 0 0 1-.059 2.06L4.854 14.853a.5.5 0 0 1-.233.131l-4 1a.499.499 0 0 1-.606-.606l1-4a.5.5 0 0 1 .131-.232l9.642-9.642a.5.5 0 0 0-.642.056L6.854 4.854a.5.5 0 0 1-.708-.708L9.44.854A1.5 1.5 0 0 1 11.5.796a1.5 1.5 0 0 1 1.998 0Zm-.644.766a.5.5 0 0 0-.707 0L1.95 11.756l-.764 3.057 3.057-.764L14.44 3.854a.5.5 0 0 0 0-.708l-1.585-1.585h-.001Z" fill="#fff"/>',pencil:(a,l)=>'<path d="M12.146.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1 0 .708l-10 10a.499.499 0 0 1-.168.11l-5 2a.5.5 0 0 1-.65-.65l2-5a.5.5 0 0 1 .11-.168l10-10ZM11.207 2.5 13.5 4.793 14.793 3.5 12.5 1.207 11.207 2.5Zm1.586 3L10.5 3.207 4 9.707V10h.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.5h.293l6.5-6.5Zm-9.761 5.175-.106.106-1.528 3.82 3.821-1.527.106-.106A.5.5 0 0 1 5 12.5V12h-.5a.5.5 0 0 1-.5-.5V11h-.5a.5.5 0 0 1-.468-.325Z" fill="#fff"/>',phone:(a,l)=>'<g fill="#fff"><path d="M11 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h6ZM5 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H5Z"/><path d="M8 14a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"/></g>',piggyBank:(a,l)=>'<g fill="#fff"><path d="M5 6.25a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Zm1.138-1.496A6.613 6.613 0 0 1 7.964 4.5c.666 0 1.303.097 1.893.273a.5.5 0 0 0 .286-.958A7.602 7.602 0 0 0 7.964 3.5c-.734 0-1.441.103-2.102.292a.5.5 0 0 0 .276.962Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M7.964 1.527c-2.977 0-5.571 1.704-6.32 4.125h-.55A1 1 0 0 0 .11 6.824l.254 1.46a1.5 1.5 0 0 0 1.478 1.243h.263c.3.513.688.978 1.145 1.382l-.729 2.477a.5.5 0 0 0 .48.641h2a.5.5 0 0 0 .471-.332l.482-1.35c.635.172 1.31.266 2.011.266.707 0 1.388-.095 2.028-.272l.543 1.372a.5.5 0 0 0 .465.316h2a.5.5 0 0 0 .478-.645l-.761-2.506C13.81 9.896 14.5 8.56 14.5 7.07c0-.145-.007-.29-.02-.43.261-.11.508-.267.705-.445.315.306.815.306.815-.417 0 .223-.5.223-.461-.026a.95.95 0 0 0 .09-.255.7.7 0 0 0-.202-.645.58.58 0 0 0-.707-.098.735.735 0 0 0-.375.562c-.024.243.082.48.32.654a2.11 2.11 0 0 1-.259.153c-.534-2.664-3.284-4.595-6.442-4.595ZM2.516 6.26c.455-2.066 2.667-3.733 5.448-3.733 3.146 0 5.536 2.114 5.536 4.542 0 1.254-.624 2.41-1.67 3.248a.5.5 0 0 0-.165.535l.66 2.175h-.985l-.59-1.487a.5.5 0 0 0-.629-.288c-.661.23-1.39.36-2.157.36a6.559 6.559 0 0 1-2.157-.36.5.5 0 0 0-.635.304l-.525 1.471h-.979l.633-2.15a.5.5 0 0 0-.17-.534 4.65 4.65 0 0 1-1.284-1.54.5.5 0 0 0-.446-.276h-.56a.5.5 0 0 1-.492-.414l-.254-1.46h.933a.5.5 0 0 0 .488-.393Zm12.621-.857a.565.565 0 0 1-.098.21.701.701 0 0 1-.044-.025c-.146-.09-.157-.175-.152-.223a.236.236 0 0 1 .117-.173c.049-.027.08-.02.113.012a.201.201 0 0 1 .064.2Z"/></g>',pinAngle:(a,l)=>'<path d="M9.828.722a.5.5 0 0 1 .354.146l4.95 4.95a.5.5 0 0 1 0 .707c-.48.48-1.072.588-1.503.588-.177 0-.335-.018-.46-.04l-3.134 3.135c.082.332.136.671.16 1.013.046.702-.032 1.687-.72 2.375a.5.5 0 0 1-.707 0l-2.829-2.828-3.182 3.182c-.195.195-1.219.902-1.414.707-.195-.195.512-1.22.707-1.414l3.182-3.182-2.828-2.83a.5.5 0 0 1 0-.706c.688-.688 1.673-.767 2.375-.72.342.024.68.077 1.013.16l3.134-3.133a2.772 2.772 0 0 1-.04-.461c0-.43.108-1.022.589-1.503a.5.5 0 0 1 .353-.146Zm.122 2.112v-.002.002Zm0-.002v.002a.5.5 0 0 1-.122.51L6.293 6.878a.5.5 0 0 1-.511.12H5.78l-.014-.004a4.923 4.923 0 0 0-1.053-.192c-.422-.028-.836.008-1.175.15l5.51 5.509c.141-.34.177-.753.149-1.175a4.925 4.925 0 0 0-.192-1.054l-.004-.013v-.001a.5.5 0 0 1 .12-.512l3.536-3.535a.5.5 0 0 1 .532-.115l.096.022c.087.017.208.034.344.034.114 0 .23-.011.343-.04L9.927 2.028c-.029.113-.04.23-.04.343 0 .155.021.31.062.46h.001Z" fill="#fff"/>',plug:(a,l)=>'<path d="M6 0a.5.5 0 0 1 .5.5V3h3V.5a.5.5 0 0 1 1 0V3h1a.5.5 0 0 1 .5.5v3A3.5 3.5 0 0 1 8.5 10c-.002.434-.01.845-.04 1.22-.041.514-.126 1.003-.317 1.424a2.083 2.083 0 0 1-.97 1.028C6.725 13.9 6.169 14 5.5 14c-.998 0-1.61.33-1.974.718A1.922 1.922 0 0 0 3 16H2c0-.616.232-1.367.797-1.968C3.374 13.42 4.261 13 5.5 13c.581 0 .962-.088 1.218-.219.241-.123.4-.3.514-.55.121-.266.193-.621.23-1.09.027-.34.035-.718.037-1.141A3.5 3.5 0 0 1 4 6.5v-3a.5.5 0 0 1 .5-.5h1V.5A.5.5 0 0 1 6 0ZM5 4v2.5A2.5 2.5 0 0 0 7.5 9h1A2.5 2.5 0 0 0 11 6.5V4H5Z" fill="#fff"/>',printer:(a,l)=>'<g fill="#fff"><path d="M2.5 8a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1Z"/><path d="M5 1a2 2 0 0 0-2 2v2H2a2 2 0 0 0-2 2v3a2 2 0 0 0 2 2h1v1a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2v-1h1a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-1V3a2 2 0 0 0-2-2H5ZM4 3a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v2H4V3Zm1 5a2 2 0 0 0-2 2v1H2a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1h-1v-1a2 2 0 0 0-2-2H5Zm7 2v3a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-3a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1Z"/></g>',projector:(a,l)=>'<g fill="#fff"><path d="M14 7.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0ZM2.5 6a.5.5 0 1 0 0 1h4a.5.5 0 1 0 0-1h-4Zm0 2a.5.5 0 1 0 0 1h4a.5.5 0 1 0 0-1h-4Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M0 6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2 1 1 0 0 1-1 1h-1a1 1 0 0 1-1-1H5a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1 2 2 0 0 1-2-2V6Zm2-1h12a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1Z"/></g>',puzzle:(a,l)=>'<path d="M3.112 3.645A1.5 1.5 0 0 1 4.605 2H7a.5.5 0 0 1 .5.5v.382c0 .696-.497 1.182-.872 1.469a.459.459 0 0 0-.115.118.113.113 0 0 0-.012.025L6.5 4.5v.003l.003.01c.004.01.014.028.036.053a.86.86 0 0 0 .27.194C7.09 4.9 7.51 5 8 5c.492 0 .912-.1 1.19-.24a.86.86 0 0 0 .271-.194.213.213 0 0 0 .039-.063v-.009a.112.112 0 0 0-.012-.025.459.459 0 0 0-.115-.118c-.375-.287-.872-.773-.872-1.469V2.5A.5.5 0 0 1 9 2h2.395a1.5 1.5 0 0 1 1.493 1.645L12.645 6.5h.237c.195 0 .42-.147.675-.48.21-.274.528-.52.943-.52.568 0 .947.447 1.154.862C15.877 6.807 16 7.387 16 8s-.123 1.193-.346 1.638c-.207.415-.586.862-1.154.862-.415 0-.733-.246-.943-.52-.255-.333-.48-.48-.675-.48h-.237l.243 2.855A1.5 1.5 0 0 1 11.395 14H9a.5.5 0 0 1-.5-.5v-.382c0-.696.497-1.182.872-1.469a.46.46 0 0 0 .115-.118.113.113 0 0 0 .012-.025L9.5 11.5v-.003a.214.214 0 0 0-.039-.064.86.86 0 0 0-.27-.193C8.91 11.1 8.49 11 8 11c-.491 0-.912.1-1.19.24a.86.86 0 0 0-.271.194.215.215 0 0 0-.039.063v.003l.001.006a.113.113 0 0 0 .012.025c.016.027.05.068.115.118.375.287.872.773.872 1.469v.382a.5.5 0 0 1-.5.5H4.605a1.5 1.5 0 0 1-1.493-1.645L3.356 9.5h-.238c-.195 0-.42.147-.675.48-.21.274-.528.52-.943.52-.568 0-.947-.447-1.154-.862C.123 9.193 0 8.613 0 8s.123-1.193.346-1.638C.553 5.947.932 5.5 1.5 5.5c.415 0 .733.246.943.52.255.333.48.48.675.48h.238l-.244-2.855ZM4.605 3a.5.5 0 0 0-.498.55l.001.007.29 3.4A.5.5 0 0 1 3.9 7.5h-.782c-.696 0-1.182-.497-1.469-.872a.459.459 0 0 0-.118-.115.112.112 0 0 0-.025-.012L1.5 6.5h-.003a.213.213 0 0 0-.064.039.86.86 0 0 0-.193.27C1.1 7.09 1 7.51 1 8c0 .491.1.912.24 1.19.07.14.14.225.194.271.019.017.04.03.063.039H1.5l.006-.001a.112.112 0 0 0 .025-.012.459.459 0 0 0 .118-.115c.287-.375.773-.872 1.469-.872H3.9a.5.5 0 0 1 .498.542l-.29 3.408a.5.5 0 0 0 .497.55h1.878c-.048-.166-.195-.352-.463-.557-.274-.21-.52-.528-.52-.943 0-.568.447-.947.862-1.154C6.807 10.123 7.387 10 8 10s1.193.123 1.638.346c.415.207.862.586.862 1.154 0 .415-.246.733-.52.943-.268.205-.415.39-.463.557h1.878a.5.5 0 0 0 .498-.55l-.001-.007-.29-3.4A.5.5 0 0 1 12.1 8.5h.782c.696 0 1.182.497 1.469.872.05.065.091.099.118.115.013.008.021.01.025.012a.02.02 0 0 0 .006.001h.003a.214.214 0 0 0 .064-.039.86.86 0 0 0 .193-.27c.14-.28.24-.7.24-1.191 0-.492-.1-.912-.24-1.19a.86.86 0 0 0-.194-.271.215.215 0 0 0-.063-.039H14.5l-.006.001a.113.113 0 0 0-.025.012.46.46 0 0 0-.118.115c-.287.375-.773.872-1.469.872H12.1a.5.5 0 0 1-.498-.543l.29-3.407a.5.5 0 0 0-.497-.55H9.517c.048.166.195.352.463.557.274.21.52.528.52.943 0 .568-.447.947-.862 1.154C9.193 5.877 8.613 6 8 6s-1.193-.123-1.638-.346C5.947 5.447 5.5 5.068 5.5 4.5c0-.415.246-.733.52-.943.268-.205.415-.39.463-.557H4.605Z" fill="#fff"/>',router:(a,l)=>'<g fill="#fff"><path d="M5.525 3.025a3.5 3.5 0 0 1 4.95 0 .5.5 0 1 0 .707-.707 4.5 4.5 0 0 0-6.364 0 .5.5 0 0 0 .707.707Z"/><path d="M6.94 4.44a1.5 1.5 0 0 1 2.12 0 .5.5 0 0 0 .708-.708 2.5 2.5 0 0 0-3.536 0 .5.5 0 0 0 .707.707l.001.001ZM2.5 11a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1Zm4.5-.5a.5.5 0 1 0 1 0 .5.5 0 0 0-1 0Zm2.5.5a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1Zm1.5-.5a.5.5 0 1 0 1 0 .5.5 0 0 0-1 0Zm2 0a.5.5 0 1 0 1 0 .5.5 0 0 0-1 0Z"/><path d="M2.974 2.342a.5.5 0 1 0-.948.316L3.806 8H1.5A1.5 1.5 0 0 0 0 9.5v2A1.5 1.5 0 0 0 1.5 13H2a.5.5 0 0 0 .5.5h2A.5.5 0 0 0 5 13h6a.5.5 0 0 0 .5.5h2a.5.5 0 0 0 .5-.5h.5a1.5 1.5 0 0 0 1.5-1.5v-2A1.5 1.5 0 0 0 14.5 8h-2.306l1.78-5.342a.499.499 0 0 0-.7-.619.5.5 0 0 0-.248.303L11.14 8H4.86L2.974 2.342ZM14.5 9a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.5.5h-13a.5.5 0 0 1-.5-.5v-2a.5.5 0 0 1 .5-.5h13Z"/><path d="M8.5 5.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Z"/></g>',scissors:(a,l)=>'<path d="M3.5 3.5c-.614-.884-.074-1.962.858-2.5L8 7.226 11.642 1c.932.538 1.472 1.616.858 2.5L8.81 8.61l1.556 2.661a2.5 2.5 0 1 1-.794.637L8 9.73l-1.572 2.177a2.5 2.5 0 1 1-.794-.637L7.19 8.61 3.5 3.5Zm2.5 10a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0Zm7 0a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0Z" fill="#fff"/>',sdCard:(a,l)=>'<g fill="#fff"><path d="M6.25 3.5a.75.75 0 0 0-1.5 0v2a.75.75 0 0 0 1.5 0v-2Zm2 0a.75.75 0 0 0-1.5 0v2a.75.75 0 0 0 1.5 0v-2Zm2 0a.75.75 0 1 0-1.5 0v2a.75.75 0 0 0 1.5 0v-2Zm2 0a.75.75 0 1 0-1.5 0v2a.75.75 0 1 0 1.5 0v-2Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M5.914 0H12.5A1.5 1.5 0 0 1 14 1.5v13a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 2 14.5V3.914c0-.398.158-.78.44-1.06L4.853.439A1.5 1.5 0 0 1 5.914 0ZM13 1.5a.5.5 0 0 0-.5-.5H5.914a.5.5 0 0 0-.353.146L3.146 3.561A.5.5 0 0 0 3 3.914V14.5a.5.5 0 0 0 .5.5h9a.5.5 0 0 0 .5-.5v-13Z"/></g>',search:(a,l)=>'<path d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.012 1.012 0 0 0-.115-.1v.001ZM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0Z" fill="#fff"/>',send:(a,l)=>'<path d="M15.854.146a.5.5 0 0 1 .11.54l-5.819 14.547a.75.75 0 0 1-1.329.124l-3.178-4.995L.643 7.184a.75.75 0 0 1 .124-1.33L15.314.037a.5.5 0 0 1 .54.11V.146ZM6.636 10.07l2.761 4.338L14.13 2.576 6.636 10.07Zm6.787-8.201L1.591 6.602l4.339 2.76 7.494-7.493h-.001Z" fill="#fff"/>',shopWindow:(a,l)=>'<path d="M2.97 1.35A1 1 0 0 1 3.73 1h8.54a1 1 0 0 1 .76.35l2.609 3.044A1.5 1.5 0 0 1 16 5.37v.255a2.374 2.374 0 0 1-4.25 1.458 2.371 2.371 0 0 1-2.919.676A2.37 2.37 0 0 1 8 7.083a2.37 2.37 0 0 1-2.919.676 2.37 2.37 0 0 1-.831-.676A2.375 2.375 0 0 1 0 5.625V5.37a1.5 1.5 0 0 1 .361-.976l2.61-3.045-.001.001Zm1.78 4.275a1.375 1.375 0 0 0 2.75 0 .5.5 0 1 1 1 0 1.375 1.375 0 0 0 2.75 0 .5.5 0 0 1 1 0 1.375 1.375 0 0 0 2.75 0V5.37a.5.5 0 0 0-.12-.325L12.27 2H3.73L1.12 5.045A.5.5 0 0 0 1 5.37v.255a1.375 1.375 0 0 0 2.75 0 .5.5 0 1 1 1 0ZM1.5 8.5A.5.5 0 0 1 2 9v6h12V9a.5.5 0 0 1 1 0v6h.5a.5.5 0 0 1 0 1H.5a.5.5 0 0 1 0-1H1V9a.5.5 0 0 1 .5-.5Zm2 .5a.5.5 0 0 1 .5.5V13h8V9.5a.5.5 0 0 1 1 0V13a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V9.5a.5.5 0 0 1 .5-.5Z" fill="#fff"/>',shop:(a,l)=>'<path d="M2.97 1.35A1 1 0 0 1 3.73 1h8.54a1 1 0 0 1 .76.35l2.609 3.044A1.5 1.5 0 0 1 16 5.37v.255a2.374 2.374 0 0 1-4.25 1.458 2.371 2.371 0 0 1-2.919.676A2.37 2.37 0 0 1 8 7.083a2.37 2.37 0 0 1-2.919.676 2.37 2.37 0 0 1-.831-.676A2.375 2.375 0 0 1 0 5.625V5.37a1.5 1.5 0 0 1 .361-.976l2.61-3.045-.001.001Zm1.78 4.275a1.375 1.375 0 0 0 2.75 0 .5.5 0 1 1 1 0 1.375 1.375 0 0 0 2.75 0 .5.5 0 0 1 1 0 1.375 1.375 0 0 0 2.75 0V5.37a.5.5 0 0 0-.12-.325L12.27 2H3.73L1.12 5.045A.5.5 0 0 0 1 5.37v.255a1.375 1.375 0 0 0 2.75 0 .5.5 0 1 1 1 0ZM1.5 8.5A.5.5 0 0 1 2 9v6h1v-5a1 1 0 0 1 1-1h3a1 1 0 0 1 1 1v5h6V9a.5.5 0 0 1 1 0v6h.5a.5.5 0 0 1 0 1H.5a.5.5 0 0 1 0-1H1V9a.5.5 0 0 1 .5-.5ZM4 15h3v-5H4v5Zm5-5a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1v-3Zm3 0h-2v3h2v-3Z" fill="#fff"/>',signpost2:(a,l)=>'<path d="M7 1.414V2H2a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h5v1H2.5a1 1 0 0 0-.8.4L.725 8.7a.5.5 0 0 0 0 .6l.975 1.3a1 1 0 0 0 .8.4H7v5h2v-5h5a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1H9V6h4.5a1 1 0 0 0 .8-.4l.975-1.3a.5.5 0 0 0 0-.6L14.3 2.4a1 1 0 0 0-.8-.4H9v-.586a1 1 0 0 0-2 0ZM13.5 3l.75 1-.75 1H2V3h11.5Zm.5 5v2H2.5l-.75-1 .75-1H14Z" fill="#fff"/>',signpostSplit:(a,l)=>'<path d="M7 7V1.414a1 1 0 0 1 2 0V2h5a1 1 0 0 1 .8.4l.975 1.3a.5.5 0 0 1 0 .6L14.8 5.6a1 1 0 0 1-.8.4H9v10H7v-5H2a1 1 0 0 1-.8-.4L.225 9.3a.5.5 0 0 1 0-.6L1.2 7.4A1 1 0 0 1 2 7h5Zm1 3V8H2l-.75 1L2 10h6Zm0-5h6l.75-1L14 3H8v2Z" fill="#fff"/>',signpost:(a,l)=>'<path d="M7 1.414V4H2a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h5v6h2v-6h3.532a1.001 1.001 0 0 0 .768-.36l1.933-2.32a.5.5 0 0 0 0-.64L13.3 4.36a1 1 0 0 0-.768-.36H9V1.414a1 1 0 0 0-2 0ZM12.532 5l1.666 2-1.666 2H2V5h10.532Z" fill="#fff"/>',smartwatch:(a,l)=>'<g fill="#fff"><path d="M9 5a.5.5 0 1 0-1 0v3H6a.5.5 0 1 0 0 1h2.5a.5.5 0 0 0 .5-.5V5Z"/><path d="M4 1.667v.383A2.5 2.5 0 0 0 2 4.5v7a2.5 2.5 0 0 0 2 2.45v.383C4 15.253 4.746 16 5.667 16h4.666c.92 0 1.667-.746 1.667-1.667v-.383a2.5 2.5 0 0 0 2-2.45V8h.5a.5.5 0 0 0 .5-.5v-2a.5.5 0 0 0-.5-.5H14v-.5a2.5 2.5 0 0 0-2-2.45v-.383C12 .747 11.254 0 10.333 0H5.667C4.747 0 4 .746 4 1.667ZM4.5 3h7A1.5 1.5 0 0 1 13 4.5v7a1.5 1.5 0 0 1-1.5 1.5h-7A1.5 1.5 0 0 1 3 11.5v-7A1.5 1.5 0 0 1 4.5 3Z"/></g>',snow:(a,l)=>'<path d="M8 16a.5.5 0 0 1-.5-.5v-1.293l-.646.647a.5.5 0 1 1-.707-.708L7.5 12.793V8.866l-3.4 1.963-.496 1.85a.5.5 0 1 1-.966-.26l.237-.882-1.12.646a.5.5 0 0 1-.5-.866l1.12-.646-.884-.237a.501.501 0 0 1 .26-.966l1.848.495L7 8 3.6 6.037l-1.85.495a.5.5 0 0 1-.258-.966l.883-.237-1.12-.646a.5.5 0 1 1 .5-.866l1.12.646-.237-.883a.5.5 0 1 1 .966-.258l.495 1.849L7.5 7.134V3.207L6.147 1.854a.5.5 0 1 1 .707-.708l.646.647V.5a.5.5 0 0 1 1 0v1.293l.647-.647a.5.5 0 0 1 .707.708L8.5 3.207v3.927l3.4-1.963.496-1.85a.5.5 0 1 1 .966.26l-.236.882 1.12-.646a.5.5 0 0 1 .5.866l-1.12.646.883.237a.5.5 0 1 1-.26.966l-1.848-.495L9 8l3.4 1.963 1.849-.495a.5.5 0 0 1 .259.966l-.883.237 1.12.646a.5.5 0 0 1-.5.866l-1.12-.646.236.883a.5.5 0 1 1-.966.258l-.495-1.849-3.4-1.963v3.927l1.353 1.353a.5.5 0 0 1-.707.708l-.647-.647V15.5a.5.5 0 0 1-.5.5H8Z" fill="#fff"/>',snow2:(a,l)=>'<path d="M8 16a.5.5 0 0 1-.5-.5v-1.293l-.646.647a.5.5 0 1 1-.707-.708L7.5 12.793v-1.086l-.646.647a.5.5 0 0 1-.707-.708L7.5 10.293V8.866l-1.236.713-.495 1.85a.5.5 0 1 1-.966-.26l.237-.882-.94.542-.496 1.85a.5.5 0 1 1-.966-.26l.237-.882-1.12.646a.5.5 0 0 1-.5-.866l1.12-.646-.884-.237a.501.501 0 0 1 .26-.966l1.848.495.94-.542-.882-.237a.5.5 0 1 1 .258-.966l1.85.495L7 8l-1.236-.713-1.849.495a.5.5 0 1 1-.258-.966l.883-.237-.94-.542-1.85.495a.5.5 0 0 1-.258-.966l.883-.237-1.12-.646a.5.5 0 1 1 .5-.866l1.12.646-.237-.883a.5.5 0 0 1 .966-.258l.495 1.849.94.542-.236-.883a.5.5 0 0 1 .966-.258l.495 1.849 1.236.713V5.707L6.147 4.354a.5.5 0 1 1 .707-.708l.646.647V3.207L6.147 1.854a.5.5 0 1 1 .707-.708l.646.647V.5a.5.5 0 0 1 1 0v1.293l.647-.647a.5.5 0 0 1 .707.708L8.5 3.207v1.086l.647-.647a.5.5 0 0 1 .707.708L8.5 5.707v1.427l1.236-.713.495-1.85a.501.501 0 0 1 .966.26l-.236.882.94-.542.495-1.85a.5.5 0 1 1 .966.26l-.236.882 1.12-.646a.5.5 0 0 1 .5.866l-1.12.646.883.237a.5.5 0 1 1-.26.966l-1.848-.495-.94.542.883.237a.5.5 0 1 1-.26.966l-1.848-.495L9 8l1.236.713 1.849-.495a.5.5 0 0 1 .259.966l-.883.237.94.542 1.849-.495a.5.5 0 0 1 .259.966l-.883.237 1.12.646a.5.5 0 0 1-.5.866l-1.12-.646.236.883a.5.5 0 1 1-.966.258l-.495-1.849-.94-.542.236.883a.5.5 0 0 1-.966.258L9.736 9.58 8.5 8.866v1.427l1.354 1.353a.5.5 0 0 1-.707.708l-.647-.647v1.086l1.354 1.353a.5.5 0 0 1-.707.708l-.647-.647V15.5a.5.5 0 0 1-.5.5Z" fill="#fff"/>',snow3:(a,l)=>'<g fill="#fff"><path d="M8 7.5a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1Z"/><path d="M8 16a.5.5 0 0 1-.5-.5v-1.293l-.646.647a.5.5 0 1 1-.707-.708L7.5 12.793v-1.51l-2.053-1.232-1.348.778-.495 1.85a.5.5 0 1 1-.966-.26l.237-.882-1.12.646a.5.5 0 0 1-.5-.866l1.12-.646-.883-.237a.5.5 0 1 1 .258-.966l1.85.495L5 9.155v-2.31l-1.4-.808-1.85.495a.5.5 0 1 1-.259-.966l.884-.237-1.12-.646a.5.5 0 0 1 .5-.866l1.12.646-.237-.883a.5.5 0 1 1 .966-.258l.495 1.849 1.348.778L7.5 4.717v-1.51L6.147 1.854a.5.5 0 1 1 .707-.708l.646.647V.5a.5.5 0 0 1 1 0v1.293l.647-.647a.5.5 0 0 1 .707.708L8.5 3.207v1.51l2.053 1.232 1.348-.778.495-1.85a.5.5 0 1 1 .966.26l-.236.882 1.12-.646a.5.5 0 0 1 .5.866l-1.12.646.883.237a.5.5 0 1 1-.26.966l-1.848-.495-1.4.808v2.31l1.4.808 1.849-.495a.5.5 0 0 1 .259.966l-.883.237 1.12.646a.5.5 0 0 1-.5.866l-1.12-.646.236.883a.5.5 0 1 1-.966.258l-.495-1.849-1.348-.778L8.5 11.283v1.51l1.354 1.353a.5.5 0 0 1-.707.708l-.647-.647V15.5a.5.5 0 0 1-.5.5Zm2-6.783V6.783l-2-1.2-2 1.2v2.434l2 1.2 2-1.2Z"/></g>',speaker:(a,l)=>'<g fill="#fff"><path d="M12 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h8ZM4 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H4Z"/><path d="M8 4.75a.75.75 0 1 1 0-1.5.75.75 0 0 1 0 1.5ZM8 6a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 3a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Zm-3.5 1.5a3.5 3.5 0 1 1 7 0 3.5 3.5 0 0 1-7 0Z"/></g>',star:(a,l)=>'<path d="M2.866 14.85c-.078.444.36.791.746.593l4.39-2.256 4.389 2.256c.386.198.824-.149.746-.592l-.83-4.73 3.522-3.356c.33-.314.16-.888-.282-.95l-4.898-.696L8.465.792a.513.513 0 0 0-.927 0L5.354 5.12l-4.898.696c-.441.062-.612.636-.283.95l3.523 3.356-.83 4.73v-.002Zm4.905-2.767-3.686 1.894.694-3.957a.565.565 0 0 0-.163-.505L1.71 6.745l4.052-.576a.525.525 0 0 0 .393-.288L8 2.223l1.847 3.658a.525.525 0 0 0 .393.288l4.052.575-2.906 2.77a.565.565 0 0 0-.163.506l.694 3.957-3.686-1.894a.502.502 0 0 0-.461 0h.001Z" fill="#fff"/>',stoplights:(a,l)=>'<g fill="#fff"><path d="M8 5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm0 4a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm1.5 2.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z"/><path d="M4 2a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2h2c-.167.5-.8 1.6-2 2v2h2c-.167.5-.8 1.6-2 2v2h2c-.167.5-.8 1.6-2 2v1a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-1c-1.2-.4-1.833-1.5-2-2h2V8c-1.2-.4-1.833-1.5-2-2h2V4c-1.2-.4-1.833-1.5-2-2h2Zm2-1a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h4a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H6Z"/></g>',stopwatch:(a,l)=>'<g fill="#fff"><path d="M8.5 5.6a.5.5 0 0 0-1 0v2.9h-3a.5.5 0 1 0 0 1H8a.5.5 0 0 0 .5-.5V5.6Z"/><path d="M6.5 1A.5.5 0 0 1 7 .5h2a.5.5 0 1 1 0 1v.57c1.36.196 2.594.78 3.584 1.64a.486.486 0 0 1 .012-.013l.354-.354-.354-.353a.5.5 0 1 1 .707-.708l1.414 1.415a.5.5 0 1 1-.707.707l-.353-.354-.354.354a.586.586 0 0 1-.013.012A7 7 0 1 1 7 2.071V1.5a.5.5 0 0 1-.5-.5ZM8 3a6 6 0 1 0 .001 12A6 6 0 0 0 8 3Z"/></g>',sun:(a,l)=>'<path d="M8 11a3 3 0 1 1 0-6 3 3 0 0 1 0 6Zm0 1a4 4 0 1 0 0-8 4 4 0 0 0 0 8ZM8 0a.5.5 0 0 1 .5.5v2a.5.5 0 1 1-1 0v-2A.5.5 0 0 1 8 0Zm0 13a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 13Zm8-5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2a.5.5 0 0 1 .5.5ZM3 8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2A.5.5 0 0 1 3 8Zm10.657-5.657a.5.5 0 0 1 0 .707l-1.414 1.415a.5.5 0 0 1-.707-.708l1.414-1.414a.5.5 0 0 1 .707 0Zm-9.193 9.193a.5.5 0 0 1 0 .707L3.05 13.657a.5.5 0 0 1-.707-.707l1.414-1.414a.5.5 0 0 1 .707 0Zm9.193 2.121a.5.5 0 0 1-.707 0l-1.414-1.414a.5.5 0 0 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .707ZM4.464 4.465a.5.5 0 0 1-.707 0L2.343 3.05a.5.5 0 1 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .708Z" fill="#fff"/>',tablet:(a,l)=>'<g fill="#fff"><path d="M12 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h8ZM4 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H4Z"/><path d="M8 14a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"/></g>',thermometer:(a,l)=>'<g fill="#fff"><path d="M8 14a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"/><path d="M8 0a2.5 2.5 0 0 0-2.5 2.5v7.55a3.5 3.5 0 1 0 5 0V2.5A2.5 2.5 0 0 0 8 0ZM6.5 2.5a1.5 1.5 0 0 1 3 0v7.987l.167.15a2.5 2.5 0 1 1-3.333 0l.166-.15V2.5Z"/></g>',ticketPerforated:(a,l)=>'<g fill="#fff"><path d="M4 4.85v.9h1v-.9H4Zm7 0v.9h1v-.9h-1Zm-7 1.8v.9h1v-.9H4Zm7 0v.9h1v-.9h-1Zm-7 1.8v.9h1v-.9H4Zm7 0v.9h1v-.9h-1Zm-7 1.8v.9h1v-.9H4Zm7 0v.9h1v-.9h-1Z"/><path d="M1.5 3A1.5 1.5 0 0 0 0 4.5V6a.5.5 0 0 0 .5.5 1.5 1.5 0 0 1 0 3 .5.5 0 0 0-.5.5v1.5A1.5 1.5 0 0 0 1.5 13h13a1.5 1.5 0 0 0 1.5-1.5V10a.5.5 0 0 0-.5-.5 1.5 1.5 0 0 1 0-3A.5.5 0 0 0 16 6V4.5A1.5 1.5 0 0 0 14.5 3h-13ZM1 4.5a.5.5 0 0 1 .5-.5h13a.5.5 0 0 1 .5.5v1.05a2.5 2.5 0 0 0 0 4.9v1.05a.5.5 0 0 1-.5.5h-13a.5.5 0 0 1-.5-.5v-1.05a2.5 2.5 0 0 0 0-4.9V4.5Z"/></g>',tornado:(a,l)=>'<path d="M1.125 2.45A.892.892 0 0 1 1 2c0-.26.116-.474.258-.634a1.9 1.9 0 0 1 .513-.389c.387-.21.913-.385 1.52-.525C4.514.17 6.18 0 8 0c1.821 0 3.486.17 4.709.452.607.14 1.133.314 1.52.525.193.106.374.233.513.389.141.16.258.374.258.634 0 1.011-.35 1.612-.634 2.102-.04.07-.08.137-.116.203a2.55 2.55 0 0 0-.313.809 2.938 2.938 0 0 0-.011.891.5.5 0 0 1 .428.849c-.06.06-.133.126-.215.195.204 1.116.088 1.99-.3 2.711-.453.84-1.231 1.383-2.02 1.856-.204.123-.412.243-.62.364-1.444.832-2.928 1.689-3.735 3.706a.5.5 0 0 1-.748.226l-.001-.001-.002-.001-.004-.003-.01-.008c-.05-.036-.1-.074-.147-.115a4.095 4.095 0 0 1-1.179-1.656 3.786 3.786 0 0 1-.247-1.296A.498.498 0 0 1 5 12.5v-.018a.728.728 0 0 1 .196-.465c.09-.489.272-1.014.573-1.574a.5.5 0 0 1 .073-.918c.2-.068.407-.116.617-.144l.15-.193c.285-.356.404-.639.437-.861a.948.948 0 0 0-.122-.619c-.249-.455-.815-.903-1.613-1.43-.193-.127-.398-.258-.609-.394l-.119-.076c-.42-.09-.833-.201-1.241-.334a.5.5 0 0 1-.285-.707l-.23-.18C2.117 4.01 1.463 3.32 1.125 2.45Zm1.973 1.051c.113.104.233.207.358.308.472.381.99.722 1.515 1.06 1.54.317 3.632.5 5.43.14a.5.5 0 1 1 .197.981c-1.216.244-2.537.26-3.759.157.399.326.744.682.963 1.081.203.373.302.79.233 1.247-.05.33-.182.657-.39.985.075.017.148.035.22.053l.006.002c.481.12.863.213 1.47.01a.5.5 0 1 1 .317.95c-.888.295-1.505.141-2.023.012l-.006-.002c-.21-.059-.426-.1-.644-.123-.37.55-.598 1.05-.726 1.497.142.045.296.11.465.194a.499.499 0 1 1-.448.894 3.107 3.107 0 0 0-.148-.07c.012.345.084.643.18.895.14.369.342.666.528.886.992-1.903 2.583-2.814 3.885-3.56.203-.116.399-.228.584-.34.775-.464 1.34-.89 1.653-1.472.212-.393.33-.9.26-1.617A6.74 6.74 0 0 1 10 8.5a.5.5 0 1 1 0-1 5.76 5.76 0 0 0 3.017-.872.514.514 0 0 1-.007-.03c-.135-.673-.14-1.207-.056-1.665.084-.46.253-.81.421-1.113l.131-.23c.065-.112.126-.22.182-.327-.29.107-.62.202-.98.285C11.487 3.83 9.822 4 8 4c-1.821 0-3.486-.17-4.709-.452a5.443 5.443 0 0 1-.193-.047ZM13.964 2a1.12 1.12 0 0 0-.214-.145c-.272-.148-.697-.297-1.266-.428C11.354 1.166 9.769 1 8 1c-1.769 0-3.354.166-4.484.427-.569.13-.994.28-1.266.428A1.12 1.12 0 0 0 2.036 2c.04.038.109.087.214.145.272.148.697.297 1.266.428C4.646 2.834 6.231 3 8 3c1.769 0 3.354-.166 4.484-.427.569-.13.994-.28 1.266-.428A1.12 1.12 0 0 0 13.964 2Z" fill="#fff"/>',trash:(a,l)=>'<g fill="#fff"><path d="M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5Zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5Zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1ZM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118ZM2.5 3V2h11v1h-11Z"/></g>',trash2:(a,l)=>'<path d="M14 3a.703.703 0 0 1-.037.225l-1.684 10.104A2 2 0 0 1 10.305 15H5.694a2 2 0 0 1-1.973-1.671L2.037 3.225A.703.703 0 0 1 2 3c0-1.105 2.686-2 6-2s6 .895 6 2ZM3.215 4.207l1.493 8.957a1 1 0 0 0 .986.836h4.612a1 1 0 0 0 .986-.836l1.493-8.957C11.69 4.689 9.954 5 8 5c-1.954 0-3.69-.311-4.785-.793Z" fill="#fff"/>',tree:(a,l)=>'<path d="M8.416.223a.5.5 0 0 0-.832 0l-3 4.5A.5.5 0 0 0 5 5.5h.098L3.076 8.735A.5.5 0 0 0 3.5 9.5h.191l-1.638 3.276a.5.5 0 0 0 .447.724H7V16h2v-2.5h4.5a.5.5 0 0 0 .447-.724L12.31 9.5h.191a.5.5 0 0 0 .424-.765L10.902 5.5H11a.5.5 0 0 0 .416-.777l-3-4.5ZM6.437 4.758A.5.5 0 0 0 6 4.5h-.066L8 1.401l2.066 3.1H10a.5.5 0 0 0-.424.764L11.598 8.5H11.5a.5.5 0 0 0-.447.724L12.69 12.5H3.309l1.638-3.276A.5.5 0 0 0 4.5 8.5h-.098l2.022-3.235a.5.5 0 0 0 .013-.507Z" fill="#fff"/>',trophy:(a,l)=>'<path d="M2.5.5A.5.5 0 0 1 3 0h10a.5.5 0 0 1 .5.5c0 .538-.012 1.05-.034 1.536a3 3 0 1 1-1.133 5.89c-.79 1.865-1.878 2.777-2.833 3.011v2.173l1.425.356c.194.048.377.135.537.255L13.3 15.1a.5.5 0 0 1-.3.9H3a.5.5 0 0 1-.3-.9l1.838-1.379c.16-.12.343-.207.537-.255L6.5 13.11v-2.173c-.955-.234-2.043-1.146-2.833-3.012a3 3 0 1 1-1.132-5.89A33.083 33.083 0 0 1 2.5.5Zm.099 2.54a2 2 0 0 0 .72 3.935c-.333-1.05-.588-2.346-.72-3.935Zm10.083 3.935a2 2 0 0 0 .72-3.935c-.133 1.59-.388 2.885-.72 3.935ZM3.504 1c.007.517.026 1.006.056 1.469.13 2.028.457 3.546.87 4.667C5.294 9.48 6.484 10 7 10a.5.5 0 0 1 .5.5v2.61a1 1 0 0 1-.757.97l-1.426.356a.5.5 0 0 0-.179.085L4.5 15h7l-.638-.479a.5.5 0 0 0-.18-.085l-1.425-.356a1 1 0 0 1-.757-.97V10.5A.5.5 0 0 1 9 10c.516 0 1.706-.52 2.57-2.864.413-1.12.74-2.64.87-4.667.03-.463.049-.952.056-1.469H3.504Z" fill="#fff"/>',truckFlatbed:(a,l)=>'<path d="M11.5 4a.5.5 0 0 1 .5.5V5h1.02a1.5 1.5 0 0 1 1.17.563l1.481 1.85a1.5 1.5 0 0 1 .329.938V10.5a1.5 1.5 0 0 1-1.5 1.5H14a2 2 0 0 1-4 0H5a2 2 0 0 1-4 0 1 1 0 0 1-1-1v-1h11V4.5a.5.5 0 0 1 .5-.5ZM3 11a1 1 0 1 0 0 2 1 1 0 0 0 0-2Zm9 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2Zm1.732 0h.768a.5.5 0 0 0 .5-.5V8.35a.5.5 0 0 0-.11-.312l-1.48-1.85A.5.5 0 0 0 13.02 6H12v4a2 2 0 0 1 1.732 1Z" fill="#fff"/>',truck:(a,l)=>'<path d="M0 3.5A1.5 1.5 0 0 1 1.5 2h9A1.5 1.5 0 0 1 12 3.5V5h1.02a1.5 1.5 0 0 1 1.17.563l1.481 1.85a1.5 1.5 0 0 1 .329.938V10.5a1.5 1.5 0 0 1-1.5 1.5H14a2 2 0 0 1-4 0H5a2 2 0 1 1-3.998-.085A1.5 1.5 0 0 1 0 10.5v-7Zm1.294 7.456A1.998 1.998 0 0 1 4.732 11h5.536a2.01 2.01 0 0 1 .732-.732V3.5a.5.5 0 0 0-.5-.5h-9a.5.5 0 0 0-.5.5v7a.5.5 0 0 0 .294.456ZM12 10a2 2 0 0 1 1.732 1h.768a.5.5 0 0 0 .5-.5V8.35a.5.5 0 0 0-.11-.312l-1.48-1.85A.5.5 0 0 0 13.02 6H12v4Zm-9 1a1 1 0 1 0 0 2 1 1 0 0 0 0-2Zm9 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2Z" fill="#fff"/>',tsunami:(a,l)=>'<path d="M.036 12.314a.5.5 0 0 1 .65-.278l1.757.703a1.5 1.5 0 0 0 1.114 0l1.014-.406a2.5 2.5 0 0 1 1.857 0l1.015.406a1.5 1.5 0 0 0 1.114 0l1.014-.406a2.5 2.5 0 0 1 1.857 0l1.015.406a1.5 1.5 0 0 0 1.114 0l1.757-.703a.5.5 0 1 1 .372.928l-1.758.703a2.5 2.5 0 0 1-1.857 0l-1.014-.406a1.5 1.5 0 0 0-1.114 0l-1.015.406a2.5 2.5 0 0 1-1.857 0l-1.014-.406a1.5 1.5 0 0 0-1.114 0l-1.015.406a2.5 2.5 0 0 1-1.857 0l-1.757-.703a.5.5 0 0 1-.278-.65Zm0 2a.5.5 0 0 1 .65-.278l1.757.703a1.5 1.5 0 0 0 1.114 0l1.014-.406a2.5 2.5 0 0 1 1.857 0l1.015.406a1.5 1.5 0 0 0 1.114 0l1.014-.406a2.5 2.5 0 0 1 1.857 0l1.015.406a1.5 1.5 0 0 0 1.114 0l1.757-.703a.5.5 0 1 1 .372.928l-1.758.703a2.5 2.5 0 0 1-1.857 0l-1.014-.406a1.5 1.5 0 0 0-1.114 0l-1.015.406a2.5 2.5 0 0 1-1.857 0l-1.014-.406a1.5 1.5 0 0 0-1.114 0l-1.015.406a2.5 2.5 0 0 1-1.857 0l-1.757-.703a.5.5 0 0 1-.278-.65ZM2.662 8.08c-.456 1.063-.994 2.098-1.842 2.804a.5.5 0 0 1-.64-.768c.652-.544 1.114-1.384 1.564-2.43.14-.328.281-.68.427-1.044.302-.754.624-1.559 1.01-2.308C3.763 3.2 4.528 2.105 5.7 1.299 6.877.49 8.418 0 10.5 0c1.463 0 2.511.4 3.179 1.058.67.66.893 1.518.819 2.302-.074.771-.441 1.516-1.02 1.965a1.878 1.878 0 0 1-1.904.27c-.65.642-.907 1.679-.71 2.614C11.076 9.215 11.784 10 13 10h2.5a.5.5 0 0 1 0 1H13c-1.784 0-2.826-1.215-3.114-2.585-.232-1.1.005-2.373.758-3.284L10.5 5.06l-.777.388a.5.5 0 0 1-.447 0l-1-.5a.5.5 0 0 1 .447-.894l.777.388.776-.388a.5.5 0 0 1 .447 0l1 .5a.488.488 0 0 1 .034.018c.44.264.81.195 1.108-.036.328-.255.586-.729.637-1.27.05-.529-.1-1.076-.525-1.495-.426-.42-1.19-.77-2.477-.77-1.918 0-3.252.448-4.232 1.123C5.283 2.8 4.61 3.738 4.07 4.79c-.365.71-.655 1.433-.945 2.16-.15.376-.301.753-.463 1.13Z" fill="#fff"/>',umbrella:(a,l)=>'<path d="M8 0a.5.5 0 0 1 .5.5v.514C12.625 1.238 16 4.22 16 8c0 0 0 .5-.5.5-.149 0-.352-.145-.352-.145l-.004-.004-.025-.023a3.485 3.485 0 0 0-.555-.394A3.166 3.166 0 0 0 13 7.5c-.638 0-1.178.213-1.564.434a3.485 3.485 0 0 0-.555.394l-.025.023-.003.003s-.204.146-.353.146-.352-.145-.352-.145l-.004-.004-.025-.023a3.484 3.484 0 0 0-.555-.394 3.3 3.3 0 0 0-1.064-.39V13.5H8h.5v.039l-.005.083a2.958 2.958 0 0 1-.298 1.102 2.257 2.257 0 0 1-.763.88C7.06 15.851 6.587 16 6 16s-1.061-.148-1.434-.396a2.255 2.255 0 0 1-.763-.88 2.958 2.958 0 0 1-.302-1.185v-.025l-.001-.009v-.003s0-.002.5-.002h-.5V13a.5.5 0 0 1 1 0v.506l.003.044c.018.252.084.499.195.726.095.191.23.367.423.495.19.127.466.229.879.229s.689-.102.879-.229c.193-.128.328-.304.424-.495.118-.24.185-.503.197-.77V7.544a3.3 3.3 0 0 0-1.064.39 3.482 3.482 0 0 0-.58.417l-.004.004S5.65 8.5 5.5 8.5c-.149 0-.352-.145-.352-.145l-.004-.004a3.482 3.482 0 0 0-.58-.417A3.166 3.166 0 0 0 3 7.5c-.638 0-1.177.213-1.564.434a3.482 3.482 0 0 0-.58.417l-.004.004S.65 8.5.5 8.5C0 8.5 0 8 0 8c0-3.78 3.375-6.762 7.5-6.986V.5A.5.5 0 0 1 8 0ZM6.577 2.123c-2.833.5-4.99 2.458-5.474 4.854A4.124 4.124 0 0 1 3 6.5c.806 0 1.48.25 1.962.511.017-.797.133-1.59.344-2.358.242-.868.64-1.765 1.271-2.53Zm-.615 4.93A4.16 4.16 0 0 1 8 6.5a4.16 4.16 0 0 1 2.038.553 8.69 8.69 0 0 0-.307-2.13C9.434 3.858 8.898 2.83 8 2.117c-.898.712-1.434 1.74-1.731 2.804a8.687 8.687 0 0 0-.307 2.131v.001Zm3.46-4.93c.631.765 1.03 1.662 1.272 2.53.233.833.328 1.66.344 2.358A4.14 4.14 0 0 1 13 6.5c.77 0 1.42.23 1.897.477-.484-2.396-2.641-4.355-5.474-4.854h-.001Z" fill="#fff"/>',wallet:(a,l)=>'<path d="M0 3a2 2 0 0 1 2-2h13.5a.5.5 0 0 1 0 1H15v2a1 1 0 0 1 1 1v8.5a1.5 1.5 0 0 1-1.5 1.5h-12A2.5 2.5 0 0 1 0 12.5V3Zm1 1.732V12.5A1.5 1.5 0 0 0 2.5 14h12a.5.5 0 0 0 .5-.5V5H2a1.99 1.99 0 0 1-1-.268ZM1 3a1 1 0 0 0 1 1h12V2H2a1 1 0 0 0-1 1Z" fill="#fff"/>',wallet2:(a,l)=>'<path d="M12.136.326A1.5 1.5 0 0 1 14 1.78V3h.5A1.5 1.5 0 0 1 16 4.5v9a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 0 13.5v-9a1.5 1.5 0 0 1 1.432-1.499L12.136.326ZM5.562 3H13V1.78a.5.5 0 0 0-.621-.484L5.562 3ZM1.5 4a.5.5 0 0 0-.5.5v9a.5.5 0 0 0 .5.5h13a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5h-13Z" fill="#fff"/>',watch:(a,l)=>'<g fill="#fff"><path d="M8.5 5a.5.5 0 1 0-1 0v2.5H6a.5.5 0 1 0 0 1h2a.5.5 0 0 0 .5-.5V5Z"/><path d="M5.667 16C4.747 16 4 15.254 4 14.333v-1.86A5.985 5.985 0 0 1 2 8c0-1.777.772-3.374 2-4.472V1.667C4 .747 4.746 0 5.667 0h4.666C11.253 0 12 .746 12 1.667v1.86a5.99 5.99 0 0 1 1.918 3.48.502.502 0 0 1 .582.493v1a.5.5 0 0 1-.582.493A5.99 5.99 0 0 1 12 12.473v1.86c0 .92-.746 1.667-1.667 1.667H5.667ZM13 8A5 5 0 1 0 3 8a5 5 0 0 0 10 0Z"/></g>',webcam:(a,l)=>'<g fill="#fff"><path d="M0 6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H9.269c.144.162.33.324.531.475.287.214.59.404.907.57l.014.006.003.002A.5.5 0 0 1 10.5 13h-5a.5.5 0 0 1-.224-.947l.003-.002.014-.007a6.744 6.744 0 0 0 .907-.569c.2-.15.387-.313.531-.475H2a2 2 0 0 1-2-2V6Zm2-1a1 1 0 0 0-1 1v3a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H2Z"/><path d="M8 6.5a1 1 0 1 0 0 2 1 1 0 0 0 0-2Zm-2 1a2 2 0 1 1 4 0 2 2 0 0 1-4 0Zm7 0a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Z"/></g>'}},Symbol.toStringTag,{value:"Module"});function va({prng:a,options:l}){const c=function({prng:a,group:l,values:c=[]}){const i=sa,t=a.pick(c);return t&&i[l][t]?{name:t,value:i[l][t]}:void 0}({prng:a,group:"icon",values:l.icon});return{icon:c}}const Za=Object.defineProperty({__proto__:null,create:({prng:a,options:l})=>{var c,i;const t=va({prng:a,options:l}),e={};return{attributes:{viewBox:"0 0 24 24",fill:"none","shape-rendering":"auto"},body:`<g transform="translate(4 4)">${null!==(i=null===(c=t.icon)||void 0===c?void 0:c.value(t,e))&&void 0!==i?i:""}</g>`,extra:()=>({...Object.entries(t).reduce(((a,[l,c])=>(a[l]=null==c?void 0:c.name,a)),{}),...Object.entries(e).reduce(((a,[l,c])=>(a[`${l}Color`]=c,a)),{})})}},meta:{title:"Bootstrap Icons",creator:"The Bootstrap Authors",source:"https://github.com/twbs/icons",homepage:"https://getbootstrap.com/",license:{name:"MIT",url:"https://github.com/twbs/icons/blob/main/LICENSE"}},schema:{$schema:"http://json-schema.org/draft-07/schema#",properties:{backgroundColor:{type:"array",items:{type:"string",pattern:"^(transparent|[a-fA-F0-9]{6})$"},default:["ffe082","90caf9","80deea","ffab91","b39ddb","a5d6a7","9fa8da","81d4fa","c5e1a5","e6ee9c","ffcc80","f48fb1","ce93d8","ef9a9a","80cbc4"]},icon:{type:"array",items:{type:"string",enum:["alarm","archive","award","bag","bandaid","bank","basket","basket2","basket3","bell","bicycle","binoculars","book","bookshelf","boombox","boxSeam","box","boxes","bricks","briefcase","brightnessHigh","brush","bucket","bug","building","calculator","cameraReels","camera","cart2","cashCoin","clock","cloudDrizzle","cloudMoon","cloudSnow","cloud","clouds","coin","compass","controller","cupStraw","cup","dice5","disc","display","doorClosed","doorOpen","dpad","droplet","easel","eggFried","egg","emojiHeartEyes","emojiLaughing","emojiSmileUpsideDown","emojiSmile","emojiSunglasses","emojiWink","envelope","eyeglasses","flag","flower1","flower2","flower3","gem","gift","globe","globe2","handThumbsUp","handbag","hdd","heart","hourglassSplit","hourglass","houseDoor","house","inbox","inboxes","key","keyboard","ladder","lamp","laptop","lightbulb","lightningCharge","lightning","lock","magic","mailbox","map","megaphone","minecartLoaded","minecart","moonStars","moon","mortarboard","mouse","mouse2","newspaper","paintBucket","palette","palette2","paperclip","pen","pencil","phone","piggyBank","pinAngle","plug","printer","projector","puzzle","router","scissors","sdCard","search","send","shopWindow","shop","signpost2","signpostSplit","signpost","smartwatch","snow","snow2","snow3","speaker","star","stoplights","stopwatch","sun","tablet","thermometer","ticketPerforated","tornado","trash","trash2","tree","trophy","truckFlatbed","truck","tsunami","umbrella","wallet","wallet2","watch","webcam"]},default:["alarm","archive","award","bag","bandaid","bank","basket","basket2","basket3","bell","bicycle","binoculars","book","bookshelf","boombox","boxSeam","box","boxes","bricks","briefcase","brightnessHigh","brush","bucket","bug","building","calculator","cameraReels","camera","cart2","cashCoin","clock","cloudDrizzle","cloudMoon","cloudSnow","cloud","clouds","coin","compass","controller","cupStraw","cup","dice5","disc","display","doorClosed","doorOpen","dpad","droplet","easel","eggFried","egg","emojiHeartEyes","emojiLaughing","emojiSmileUpsideDown","emojiSmile","emojiSunglasses","emojiWink","envelope","eyeglasses","flag","flower1","flower2","flower3","gem","gift","globe","globe2","handThumbsUp","handbag","hdd","heart","hourglassSplit","hourglass","houseDoor","house","inbox","inboxes","key","keyboard","ladder","lamp","laptop","lightbulb","lightningCharge","lightning","lock","magic","mailbox","map","megaphone","minecartLoaded","minecart","moonStars","moon","mortarboard","mouse","mouse2","newspaper","paintBucket","palette","palette2","paperclip","pen","pencil","phone","piggyBank","pinAngle","plug","printer","projector","puzzle","router","scissors","sdCard","search","send","shopWindow","shop","signpost2","signpostSplit","signpost","smartwatch","snow","snow2","snow3","speaker","star","stoplights","stopwatch","sun","tablet","thermometer","ticketPerforated","tornado","trash","trash2","tree","trophy","truckFlatbed","truck","tsunami","umbrella","wallet","wallet2","watch","webcam"]}}}},Symbol.toStringTag,{value:"Module"}),Ma={variant48:(a,l)=>{var c,i;return`<path d="m614 167 8 5c1 1 2 2 1 4l-6 3-32 14c-14 7-28 16-40 26l18-1c32 0 63 10 90 26 22 14 41 32 53 55 11 20 16 43 14 65l1 5a163 163 0 0 1 17 63c0 13-3 27-9 39-4 9-9 18-16 25-8 6-16 13-26 14-3 0-8-1-9-4-2-2-1-6-1-9l11-56c-8 9-17 17-28 23-4 3-8 3-12 3l-1-5c1-11 0-22-1-33-5-28-14-57-32-79l3 30c0 20-4 41-12 59-6 15-15 29-27 39-3 2-6 4-10 4-2 0-4-1-3-3 3-16 4-32 4-49-10 21-28 36-47 46-6 3-12 6-19 2v-9a293 293 0 0 0 8-79c-8 15-19 29-31 41-13 12-27 23-42 32-9 5-20 11-31 11-5 0-9-1-13-3v-1l3-16c2-12 3-25 2-37l-5 20c-4 10-9 19-16 27l-8 5c-2 0-3 0-3-2l6-12c7-14 11-28 12-44a327 327 0 0 1-39 62l-5 6-1 18-1 17c14 18 24 39 31 61a203 203 0 0 1-12 121c5 16 5 34 0 50-8 23-23 43-41 59-14 12-30 23-47 29-10 4-22 7-33 5-4 0-6-2-9-4 2-3 4-6 4-10 2-6 1-13 0-19-2-13-7-25-14-36l-18-27c-5-9-10-18-12-28l-1-22-4 15c-3 12-3 25-1 37 1 7 4 14 8 20l8 10c-3 1-6-1-9-3-7-4-12-10-15-17a91 91 0 0 1 13-92c8-11 19-19 31-24l17-4c10-3 20-4 31-3-24-28-43-61-55-96a247 247 0 0 1 14-191 226 226 0 0 1 124-106c22-9 45-16 68-19 15-2 32-3 46 1a155 155 0 0 1 115-57c12-1 25 0 36 3ZM664 622c7-1 15 2 21 6 7 5 12 12 17 19l10 18c9 16 15 34 16 53 0 18-4 37-14 52-8 9-16 18-27 23l11 13c2 1 4 4 3 6 0 2-3 2-5 3-13 3-26-1-37-7-14-6-26-17-33-31l10 24c2 4 5 7 4 12-2 0-4 0-6-2-7-4-12-11-16-17-6-10-10-21-12-32-3-16-1-33 3-48l4-17c6-21 15-41 28-58 5-8 13-16 23-17Z" fill="${p(`${l.hair}`)}"/>${null!==(i=null===(c=a.head)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}<path d="M593 164c7 0 15 1 22 4l9 5c-1 4-4 4-6 6l-33 14c-14 7-28 16-40 26a169 169 0 0 1 139 50 123 123 0 0 1 29 130c-9 26-28 50-52 65-4 3-8 3-13 3l-1-2c2-15 0-29-3-44-4-26-14-50-30-71 4 21 4 43-1 64-4 20-13 42-28 57-4 4-9 9-14 10-2 0-6 1-6-1l2-16c2-11 2-22 2-34a99 99 0 0 1-57 50l-9-2c-1-4 0-8 1-13a309 309 0 0 0 7-75c-10 20-26 37-43 52-11 9-23 18-36 24-8 4-16 8-25 8-5 0-9-1-13-3a168 168 0 0 0 5-55c-1 7-3 15-6 22-3 9-8 17-14 25l-8 6c-2 0-3 1-4-1 1-5 4-9 6-13 7-14 11-29 12-44a273 273 0 0 1-42 67c-2 1-2 3-2 4l-3 42v46c0 4 1 9-1 12-2 2-5 2-8 3-9 2-17-1-25-4s-15-8-21-15c-6-6-11-13-15-21l-7-6a138 138 0 0 1-51-111c0-27 8-53 19-77a254 254 0 0 1 181-131c17-2 36-3 53 1l16-17a151 151 0 0 1 114-40Z" fill="${p(`${l.hair}`)}"/>`},variant47:(a,l)=>{var c,i;return`<path d="M466 220h27a276 276 0 0 1 178 82c2 2 5 4 6 7s1 6-1 8c-4 4-10 5-15 6-25 3-50 4-75 5h-78l-39-1-27-1c-23-1-45-3-66-6 3 20 0 40-7 59a161 161 0 0 1-40 65l-14 10 5 39v27l10 7c-4 2-10 0-14 0 5 4 9 9 12 14l7 10-5-1c-7-3-15-4-22-6l-19-7c0 4-1 8-5 10-3 3-7 1-11 0l-4 5c-4 2-5 5-9 5s-7-4-9-8l-10-19a248 248 0 0 1 1-149 229 229 0 0 1 73-105c42-35 96-54 151-56Z" fill="${p(`${l.hair}`)}"/><path d="M304 548c6 1 12 4 17 7 3 2 6 4 7 8l-15-5c-5-2-11-2-16-5l1-3c1-2 4-2 6-2Z" fill="${p(`${l.hair}`)}"/>${null!==(i=null===(c=a.head)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}<path d="M466 220h17a310 310 0 0 1 148 49c16 11 32 24 45 38 2 2 3 6 1 9s-6 5-9 6c-8 2-17 2-26 3l-23 2-30 1h-87l-37-1c-30-1-60-3-89-7 2 16 1 33-4 49a158 158 0 0 1-43 75l-14 10 5 39v27l10 7c-4 2-9 0-14 0 4 4 9 8 12 13l7 12-6-2-18-6-25-8-27-8c-4-2-7-6-10-9h-6c-4-1-6-4-7-8a237 237 0 0 1 51-208c25-29 57-52 92-65 28-11 57-17 87-18ZM309 550c7 0 14 2 20 6 6 3 12 6 15 12-4 0-8 0-11-2l-23-10-5-3c0-3 2-3 4-3ZM316 567h6c10 2 17 7 25 12 3 2 7 5 9 9-4 2-9 2-13 0-9-3-17-6-24-12l-4-3c-1-2 0-4 1-6Z" fill="${p(`${l.hair}`)}"/>`},variant46:(a,l)=>{var c,i;return`<path fill-rule="evenodd" clip-rule="evenodd" d="M432 130a43 43 0 0 0-30-7c-2 1-5 1-6 3l5 1 11 3c7 3 13 9 17 16 9 10 14 23 17 36l-10-10a125 125 0 0 0-83-27l-14 2-10 2c-11 2-21 8-30 14-26 20-50 44-67 73-7 13-13 26-14 41-1 10 1 19 5 28 4 10 12 17 21 21a210 210 0 0 0-36 109 341 341 0 0 0 67 223c10 13 22 26 36 36-14 6-27 16-34 29-2 6-3 11-1 17l1 2h1l3-3 8-8c11-8 25-11 38-11 7-1 13 0 20 1h2l9 2 7 2 7 1h5c5 1 11 1 17-1l1-7c-7-26-22-47-40-67l-11-11c-10-10-20-20-29-32-6-7-11-16-16-25l-3-6c7 4 14 7 21 8 6 1 14 1 19-3 2-2 2-6 2-9v-1a2119 2119 0 0 0 0-47 884 884 0 0 1 5-47 359 359 0 0 0 42-66c-1 15-6 31-13 45l-2 2-3 10c3 2 6-1 8-3 9-9 16-21 20-33l2-7 2-7v21l-4 24-1 2v5c5 2 9 4 14 3 11-1 21-6 30-11a224 224 0 0 0 73-73 415 415 0 0 1-7 75l-2 11c0 2 2 3 3 3h2c3 2 6 1 9-1h1c6-2 12-6 17-10 15-9 27-22 35-37 0 16-1 31-4 47 0 2 0 4 2 4 5 0 9-2 13-5 15-14 25-33 31-52 7-25 7-50 3-75 8 9 14 21 19 32a203 203 0 0 1 14 81c0 1 0 4 2 4 8 0 13-3 19-7l1-2 20-17 1 6 5 21c2 4 3 8 7 11 2 1 5 0 7-1 10-7 18-18 23-30 7-17 8-36 4-53-2-11-6-23-12-32l-1-3-2-6c-1-13-3-27-8-39-10-28-30-51-54-67a179 179 0 0 0-114-29 203 203 0 0 1 57-33l17-8h1c1-1 4-2 4-4-7-8-19-9-28-10-25-2-51 1-74 11-21 10-41 25-57 43 4-17 3-35-3-52-6-15-16-28-30-36ZM253 250c4-18 11-35 21-50l-13 15c-9 12-16 25-22 38-4 10-6 22-4 33 1 7 3 14 8 19l12 7 8-10c-5-6-9-12-11-20-3-11-2-21 1-32Z" fill="${p(`${l.hair}`)}"/>${null!==(i=null===(c=a.head)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}<path d="M593 164c7 0 15 1 22 4l9 5c-1 4-4 4-6 6l-33 14c-14 7-28 16-40 26a169 169 0 0 1 139 50 123 123 0 0 1 29 130c-9 26-28 50-52 65-4 3-8 3-13 3l-1-2c2-15 0-29-3-44-4-26-14-50-30-71 4 21 4 43-1 64-4 20-13 42-28 57-4 4-9 9-14 10-2 0-6 1-6-1l2-16c2-11 2-22 2-34a99 99 0 0 1-57 50l-9-2c-1-4 0-8 1-13a309 309 0 0 0 7-75c-10 20-26 37-43 52-11 9-23 18-36 24-8 4-16 8-25 8-5 0-9-1-13-3a168 168 0 0 0 5-55c-1 7-3 15-6 22-3 9-8 17-14 25l-8 6c-2 0-3 1-4-1 1-5 4-9 6-13 7-14 11-29 12-44a273 273 0 0 1-42 67c-2 1-2 3-2 4l-3 42v46c0 4 1 9-1 12-2 2-5 2-8 3-9 2-17-1-25-4s-15-8-21-15c-6-6-11-13-15-21l-7-6a138 138 0 0 1-51-111c0-27 8-53 19-77a254 254 0 0 1 181-131c17-2 36-3 53 1l16-17a151 151 0 0 1 114-40Z" fill="${p(`${l.hair}`)}"/>`},variant45:(a,l)=>{var c,i;return`<path fill-rule="evenodd" clip-rule="evenodd" d="M348 80h-9c-7-1-13-1-20 1-23 5-43 20-56 40-10 13-16 29-18 46l-1 1c-11 5-22 13-29 22a70 70 0 0 0-17 41c-1 14 3 28 11 40 6 10 15 19 26 25l-1 2c-10 7-18 14-26 23-19 21-33 47-43 74a275 275 0 0 0-12 118c4 19 10 38 21 55a182 182 0 0 0 78 67 435 435 0 0 0 141 234v1l10 6c2 0 3 1 4-1v-3l-1-1-9-18-5-8c-10-20-20-39-28-59-11-25-18-51-23-77a998 998 0 0 1-12-112c-2-16-1-32-1-48a2087 2087 0 0 0 3-10l1-1c8-6 14-13 21-20l1-1 10-11-8 35-1 3a394 394 0 0 1-15 49c0 3 2 5 4 6 3 3 8 3 12 3 9 0 18-2 27-4 12-3 24-8 34-16 15-9 27-22 38-35l-1 3a266 266 0 0 1-19 45c-2 4-5 9-6 14 0 2 2 3 3 3 3 1 7 0 11-2h1c16-6 29-16 42-27a252 252 0 0 0 53-68c14-24 26-50 32-78l1-3 1-3a231 231 0 0 1-11 96 215 215 0 0 1-49 87l-4 4-1 3c3 1 6-1 8-2l1-1c18-12 33-30 44-49a276 276 0 0 0 38-127c1-20 0-40-2-60s-6-41-16-59l2 1a340 340 0 0 1 58 58l3 3c-4 28-6 56-4 84l1 12c2 21 4 43 8 64 2 12 6 24 11 36l4 9 9 23 18 48a351 351 0 0 1 14 128 145 145 0 0 1-8 50l2 1c8-5 15-12 21-19a263 263 0 0 0 31-161c-5-45-15-88-26-131v-5c19-30 30-66 27-102-1-11-4-21-7-31 7 12 12 24 17 36l6 29a158 158 0 0 1-4 57l-2 11h4c5-3 8-10 10-15 6-14 8-30 9-45 2-21-5-42-14-61-9-20-20-40-34-57l-1-1c13 8 26 17 36 29a192 192 0 0 1 23 29c3 0 1-5 0-6a128 128 0 0 0-42-57c-13-10-28-18-43-24l-1-1-4-2-10-17c-19-24-44-43-71-58a298 298 0 0 0-124-36l18-8c14-8 26-19 35-32 5-7 9-16 7-25 0-2-2-5-4-3l-4 5-2 4c-9 13-22 22-35 31l1-3 1-1c5-11 8-23 5-35-3-10-7-20-16-26-8-7-19-8-29-7l-3 1h-4a89 89 0 0 0-57-17c-22 1-43 12-58 28l-3 1-1-1c-12-3-25-2-36 2a85 85 0 0 0-35 27l6-12 1-2a105 105 0 0 1 64-43l8-1h4c1-1-1-2-2-2l-1-1-12-2Zm151 40c-5-4-11-5-17-5l1 3 1 2c5 9 6 21 5 31a91 91 0 0 1-11 35l-2 3 16-3v-1l5-4 1-2c9-11 15-25 12-39-1-7-5-15-11-20Zm-253 65c-11 9-20 21-26 34-4 10-6 21-4 32-3-11-4-22 0-32 6-15 17-25 30-34Zm-45 171 2-5-1 2a239 239 0 0 0-30 174 136 136 0 0 0 36 59c6 7 13 13 20 18l-5-5-1-3c-20-26-32-58-38-91a273 273 0 0 1 17-149Z" fill="${p(`${l.hair}`)}"/>${null!==(i=null===(c=a.head)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}<path d="M559 212c40 10 78 29 108 56 14 11 26 25 36 40l5 8c10 9 19 19 27 29a236 236 0 0 1 49 97c1 8 2 15 1 23-1 15-3 30-9 44-2 5-5 12-10 15h-4l2-9a154 154 0 0 0 1-76c-4-17-11-33-20-48l4 12c5 21 5 45-1 67-4 20-13 38-24 56-5 5-9 12-15 16-3 2-6 1-9 2-2-2-1-4-1-6l-1-20c-2-35-14-69-31-100a318 318 0 0 0-77-88l-9-7a244 244 0 0 1 17 68c1 17 2 34 1 51-2 30-6 59-17 87-6 15-13 28-21 42-11 18-26 35-43 47-3 1-7 4-10 3l1-3 17-19c22-26 34-60 42-93 6-25 7-50 4-75l-1 6a376 376 0 0 1-44 99 227 227 0 0 1-77 71l-14 5c-2 1-6 1-7-2 1-6 5-12 7-18a267 267 0 0 0 19-45c-13 16-28 31-46 41-16 9-35 14-53 14-5 0-11-1-14-5-3-2-1-6 0-10l10-32c5-16 9-32 12-49l-16 18-19 17-1 23a756 756 0 0 0 32 212c11 30 26 57 41 85l6 12c1 2-1 4-3 3a335 335 0 0 1-61-55 433 433 0 0 1-97-326l-2-4a181 181 0 0 1-13-130c10-32 27-60 50-83 27-27 61-47 97-60 58-20 122-22 181-6Z" fill="${p(`${l.hair}`)}"/>`},variant44:(a,l)=>{var c,i;return`<path d="M458 198c21-1 43 5 61 15l17 11c8-5 17-7 27-7 15 0 30 5 43 14 11 9 20 22 25 35 5-1 10-3 15-2 8 1 17 5 24 10 8 6 15 14 18 23 2 8 2 16 0 23 5 0 10 0 14 3 7 3 10 9 12 16 3 12 1 23-1 35-2 8-4 16-9 23-5 6-12 11-20 12-3 0-6 0-9-2-5-2-9-1-13-5-6-5-7-13-6-21 1-16 5-33 15-45l-10-2c-4-3-7-7-9-11-7-11-13-24-17-37 0 10-2 19-8 27-3 4-8 7-13 6-3 0-5-4-6-6l-11-16c-7-7-14-14-23-20 4 11 5 24 2 35-1 4-4 9-8 11-3 1-5-2-7-4-8-6-14-14-21-20l-14-9c-18-10-36-16-56-20l-20-4c9 8 17 17 21 28 1 5 3 11 1 16-2 2-5 3-8 3l-16-3a214 214 0 0 0-105 1c9 2 17 4 25 8 7 4 15 9 19 16 1 2 3 6 1 8-6 5-15 7-23 9l-27 9c-15 7-30 17-44 27 11-2 22-3 33-2s23 3 30 12c1 4-3 6-5 8-17 12-37 23-52 38l-19 22 15-1c9 0 19 2 27 7 3 2 8 6 8 10-3 8-10 14-17 19-11 7-21 14-33 19 0 6 0 13-2 19-4 9-8 17-16 22-3 3-8 3-12 2-5-2-9-7-11-11-7-11-10-26-7-40 0-5 3-10 5-15l-4-6c-8-15-11-33-7-50 3-11 9-21 17-28-5-13-8-26-5-40 2-15 8-30 19-41 7-7 16-12 26-15-1-6-2-11-1-16 1-14 8-26 18-36 7-8 17-14 27-19 20-10 44-10 65-6 5-11 12-20 21-27 13-10 28-15 44-15ZM310 619c10 2 18 8 24 16 5 9 9 18 12 28 5 3 11 6 15 11s6 11 7 17c2 7 4 14 4 21-1 8-4 16-11 21-4 4-9 5-14 4-7-2-13-7-18-13-4 6-9 11-16 12-9 3-18-1-24-6-10-7-16-19-19-31l-3-28 2-22c2-7 6-13 11-18 4-5 9-8 14-11 5-2 11-2 16-1Z" fill="${p(`${l.hair}`)}"/>${null!==(i=null===(c=a.head)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}<path d="M484 200c21 4 41 14 57 28 8-7 18-10 29-10a75 75 0 0 1 63 53c5-5 13-5 19-4 18 3 32 17 37 34 1 7 1 14-1 20-3 6-8 11-14 14-5 1-11 0-16-3l-7-9c-7-12-12-24-16-37 0 6 0 12-3 18-2 6-5 11-10 14-3 2-7 2-10 0l-5-6-10-15c-7-7-14-14-23-20 3 11 5 22 2 33-1 4-2 8-5 11l-6 2-21-20c-11-10-24-16-37-22-15-6-31-11-47-13l-10-2c9 8 17 16 20 27 2 5 4 12 2 17-2 2-5 3-8 3l-15-3a218 218 0 0 0-106 1c11 2 20 5 29 11 6 3 12 7 15 13 1 2 3 6 1 8-6 5-15 7-23 9l-27 9c-15 7-30 17-44 27 11-2 22-3 33-2s23 3 30 12c1 4-3 7-5 9-16 10-34 20-48 33-9 8-16 17-23 26 11-2 22-2 33 2 6 2 12 5 15 10 2 2 2 4 1 7-5 10-15 16-25 21-10 7-21 13-33 17-5 2-11 3-16 3-4 0-8-3-10-6-7-5-10-14-8-22 1-5 4-9 7-13-11-8-18-21-18-35 0-9 2-18 7-25 5-9 12-15 20-21-4-5-6-10-8-17-3-10-4-22-1-32 3-13 12-24 23-30 10-7 21-11 33-13v-8c-3-6-3-13-2-20 1-12 8-23 18-31 13-10 29-14 45-15 14-1 29 0 42 4l7-16c6-11 16-20 28-24 14-5 30-5 45-2Z" fill="${p(`${l.hair}`)}"/>`},variant43:(a,l)=>{var c,i;return`${null!==(i=null===(c=a.head)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}<path d="M593 164c7 0 15 1 22 4l9 5c-1 4-4 4-6 6l-33 14c-14 7-28 16-40 26a169 169 0 0 1 139 50 123 123 0 0 1 29 130c-9 26-28 50-52 65-4 3-8 3-13 3l-1-2c2-15 0-29-3-44-4-26-14-50-30-71 4 21 4 43-1 64-4 20-13 42-28 57-4 4-9 9-14 10-2 0-6 1-6-1l2-16c2-11 2-22 2-34a99 99 0 0 1-57 50l-9-2c-1-4 0-8 1-13a309 309 0 0 0 7-75c-10 20-26 37-43 52-11 9-23 18-36 24-8 4-16 8-25 8-5 0-9-1-13-3a168 168 0 0 0 5-55c-1 7-3 15-6 22-3 9-8 17-14 25l-8 6c-2 0-3 1-4-1 1-5 4-9 6-13 7-14 11-29 12-44a273 273 0 0 1-42 67c-2 1-2 3-2 4l-3 42v46c0 4 1 9-1 12-2 2-5 2-8 3-9 2-17-1-25-4s-15-8-21-15c-6-6-11-13-15-21l-7-6a138 138 0 0 1-51-111c0-27 8-53 19-77a254 254 0 0 1 181-131c17-2 36-3 53 1l16-17a151 151 0 0 1 114-40Z" fill="${p(`${l.hair}`)}"/>`},variant42:(a,l)=>{var c,i;return`<path fill-rule="evenodd" clip-rule="evenodd" d="m503 157 1-3c-3-2-7-1-10 0-10 4-18 13-23 22s-9 19-10 30v13l1 2c-6-14-16-26-28-36-17-12-36-22-56-25-24-5-48-4-71 4-20 8-38 19-51 36-12 19-19 41-25 62-6 23-15 45-27 66-5 11-13 20-20 29l-30 35-24 26a289 289 0 0 0-63 135c-3 19-2 38 5 56 6 17 18 33 33 44 11 8 23 14 35 20l8 4c2 12 0 25-7 35-9 14-25 22-41 26-2 1-4 0-5-1l-4-1c-2 1-2 4-2 6 2 4 6 8 10 10 7 4 16 5 24 5l26-4c0 12 4 24 12 34 6 6 13 10 20 14a76 76 0 0 0 31 8c2 0 5 0 5-2v-9l-1-2-2-20c10 11 23 19 37 23 12 3 25 5 38 5 12 1 24 0 35-6 4-2 8-4 10-7l-5-15-3-21a63 63 0 0 0 68 30c17-4 30-12 43-22a32 32 0 0 1-6 11l-1 3c6 0 11-3 15-7 4-5 6-12 8-18 1-9-1-19-3-28l-8-19-19-40a1593 1593 0 0 1-31-68 508 508 0 0 1-23-110c-1-11-2-22-5-33v-1l1-5 20-37c-1 15-5 30-12 44l-2 3c-2 4-4 7-4 12 4-1 6-1 8-4 9-9 16-20 20-32l4-17v-1a199 199 0 0 1-3 45l-2 9c3 2 7 4 11 4 10 0 21-4 29-9a215 215 0 0 0 77-75c0 22-1 45-5 67l-2 8-2 11c0 2 2 3 3 3h2c5 2 11-1 15-3h1c19-11 37-26 46-46 0 13 0 25-2 37l-1 6-1 7c0 2 2 2 3 2h1c4 0 8-4 12-6 10-10 17-21 23-33 6-14 10-28 12-43 2-17 1-34-2-50 17 21 26 47 31 74 2 14 3 27 2 41l1 2c4 0 8 0 12-2 10-6 19-14 27-23 0 14-1 29-4 43l-2 6c-1 5-2 9-1 14 9 2 19-3 26-9 8-7 16-14 21-24 9-14 14-30 14-46a196 196 0 0 0 1 13c0 11-2 23-4 34l-3 8-2 4c5-2 8-5 10-9 6-8 8-19 9-29 4-27-5-56-20-79l-1-1c-4-6-8-12-10-19a131 131 0 0 0-64-102 178 178 0 0 0-111-27h-1a205 205 0 0 1 58-33l13-6h1l7-5-2-2c-3-3-6-5-10-6a154 154 0 0 0-78 4c-18 6-35 16-50 28 3-15 10-29 19-42ZM105 612c-15-16-25-36-27-58-2 17-1 34 4 50 5 15 15 27 27 36l26 15 6 3-14-23-12-12-10-11Z" fill="${p(`${l.hair}`)}"/>${null!==(i=null===(c=a.head)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}<path d="M593 164c7 0 15 1 22 4l9 5c-1 4-4 4-6 6l-33 14c-14 7-28 16-40 26a169 169 0 0 1 139 50 123 123 0 0 1 29 130c-9 26-28 50-52 65-4 3-8 3-13 3l-1-2c2-15 0-29-3-44-4-26-14-50-30-71 4 21 4 43-1 64-4 20-13 42-28 57-4 4-9 9-14 10-2 0-6 1-6-1l2-16c2-11 2-22 2-34a99 99 0 0 1-57 50l-9-2c-1-4 0-8 1-13a309 309 0 0 0 7-75c-10 20-26 37-43 52-11 9-23 18-36 24-8 4-16 8-25 8-5 0-9-1-13-3a168 168 0 0 0 5-55c-1 7-3 15-6 22-3 9-8 17-14 25l-8 6c-2 0-3 1-4-1 1-5 4-9 6-13 7-14 11-29 12-44a273 273 0 0 1-42 67c-2 1-2 3-2 4l-3 42v46c0 4 1 9-1 12-2 2-5 2-8 3-9 2-17-1-25-4s-15-8-21-15c-6-6-11-13-15-21l-7-6a138 138 0 0 1-51-111c0-27 8-53 19-77a254 254 0 0 1 181-131c17-2 36-3 53 1l16-17a151 151 0 0 1 114-40Z" fill="${p(`${l.hair}`)}"/>`},variant41:(a,l)=>{var c,i;return`<path fill-rule="evenodd" clip-rule="evenodd" d="m387 120-1 4-1 1-6 21-3 27v-1c6-8 13-15 21-21 9-6 20-11 30-12 6-1 13-1 17 3l3 1 6 2-1 1c-12 1-23 8-32 15a77 77 0 0 0-27 52l1 1a303 303 0 0 1 238 28 226 226 0 0 1 74 71l1 3 28 29a243 243 0 0 1 46 83c6 18 5 37 2 56-2 10-4 20-8 29-2 4-5 9-9 11h-4l2-9v-2c5-21 7-44 3-65-4-20-12-39-22-57 3 9 6 18 7 28 2 20 0 41-6 61-5 16-13 31-22 45l1 19c1 10 1 21 3 31 4 24 12 48 19 71l1 3 1 2a241 241 0 0 1 12 102c-2 9-6 21-14 26h-1v-1c2-6 3-12 3-19v-1c1-14 1-27-1-41l-11-48-1-4v-2c-1-1-1 1-1 1 3 18 4 40 5 59 1 22 1 44-5 65-3 11-8 22-14 32-5 8-12 16-19 23-5 4-11 8-18 9l-2 1-3 1h-1l-3-1 1-1 1-2 2-7 1-4c5-15 7-30 9-46l1-9a370 370 0 0 0-15-121l-4-13-1-1v-8l-1-4-1-2-13-35c-12-38-18-77-18-116v-14a588 588 0 0 1 7-85c-18-23-38-44-62-61l-1-1c7 12 10 27 13 40s4 26 5 39a313 313 0 0 1-9 104c-6 20-14 38-24 56a157 157 0 0 1-50 57c-2 1-5 3-8 2l1-2 4-6 15-17a218 218 0 0 0 37-78l4-16a221 221 0 0 0 4-72l-1 4-1 3a298 298 0 0 1-85 146 148 148 0 0 1-43 28l-10 2c-2-1-4-2-4-4l7-15v-2c8-14 14-29 19-44v-1c-15 17-32 34-53 44-13 7-27 10-42 11-6 0-11 0-16-2l1 9 1 5c5 28 12 55 19 82l2 8 7 26a901 901 0 0 1 15 56c1 5 2 10 1 14-2 8-5 15-10 22l17 32a2072 2072 0 0 1 8 14l2 5c1 2-1 4-3 3-5-1-9-5-13-8l-2-1-26-23c-1-2-2-1-2 0h-1c-12 9-29 15-44 13-12-2-23-8-30-18l-4-1-8-2c-10-4-18-14-23-24h-1l2 21 3 12 3 9c1 3 1 6-2 8l-4 1-2-1c-9 1-18-3-25-9a130 130 0 0 1-41-57c-7-20-10-41-9-62l-5 25-1 6v2c-2 13-4 25-3 38a115 115 0 0 0 5 30v3l-2-2-1-1c-8-12-12-26-12-40-2-18-1-36 2-54 3-19 9-38 14-57l1-5c6-21 11-40 10-62-1-23-4-45-7-68l-4-28-1-1-1-3-10-11c-15-16-23-36-28-58a221 221 0 0 1-2-63l2-15a300 300 0 0 1 77-157 127 127 0 0 1 105-39c15 1 31 4 44 11l2 1 3 1v-3c-2-8-1-16 0-24a68 68 0 0 1 18-35c2-2 3-4 6-5Zm-140 83v1c-22 21-38 48-50 75-18 42-28 87-30 133-1 28-1 56 2 84-18-23-25-53-25-82a294 294 0 0 1 35-135c12-23 28-44 47-61l21-15Zm107 345c4-14 8-28 10-42l-15 16-7 8c-2 13-2 26-1 39v5l1 12v-1c5-12 9-24 12-37Z" fill="${p(`${l.hair}`)}"/>${null!==(i=null===(c=a.head)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}<path d="M559 212c40 10 78 29 108 56 14 11 26 25 36 40l5 8c10 9 19 19 27 29a236 236 0 0 1 49 97c1 8 2 15 1 23-1 15-3 30-9 44-2 5-5 12-10 15h-4l2-9a154 154 0 0 0 1-76c-4-17-11-33-20-48l4 12c5 21 5 45-1 67-4 20-13 38-24 56-5 5-9 12-15 16-3 2-6 1-9 2-2-2-1-4-1-6l-1-20c-2-35-14-69-31-100a318 318 0 0 0-77-88l-9-7a244 244 0 0 1 17 68c1 17 2 34 1 51-2 30-6 59-17 87-6 15-13 28-21 42-11 18-26 35-43 47-3 1-7 4-10 3l1-3 17-19c22-26 34-60 42-93 6-25 7-50 4-75l-1 6a376 376 0 0 1-44 99 227 227 0 0 1-77 71l-14 5c-2 1-6 1-7-2 1-6 5-12 7-18a267 267 0 0 0 19-45c-13 16-28 31-46 41-16 9-35 14-53 14-5 0-11-1-14-5-3-2-1-6 0-10l10-32c5-16 9-32 12-49l-16 18-19 17-1 23a756 756 0 0 0 32 212c11 30 26 57 41 85l6 12c1 2-1 4-3 3a335 335 0 0 1-61-55 433 433 0 0 1-97-326l-2-4a181 181 0 0 1-13-130c10-32 27-60 50-83 27-27 61-47 97-60 58-20 122-22 181-6Z" fill="${p(`${l.hair}`)}"/>`},variant40:(a,l)=>{var c,i;return`<path d="M602 226c34 16 66 38 90 67l14 20c1 3 3 4 5 6 17 16 32 33 44 54 12 18 22 39 27 60 5 17 3 36 1 53l-7 25c-2 4-5 10-9 13-2 1-5 2-5-1l2-9a148 148 0 0 0 1-76c-4-17-12-32-20-47l4 12c8 31 3 66-10 96v2l20 33a286 286 0 0 1 40 126c2 20 2 40 0 60a205 205 0 0 1-23 71c-1 2-4 6-7 6l-2-3 3-12v-14c-1-16-5-32-11-47-2 16-6 32-10 48-6 22-14 44-24 66-10 19-22 38-37 53-18 19-41 33-65 39-15 4-31 5-46 4-10 0-19-2-27-7l-57-14-60-9c-23-2-45 0-67-1-8 0-16 0-23-2h-5c-3 0-5-2-8-4-19-10-36-24-51-40-21-22-37-47-51-73a459 459 0 0 1-46-168l-4 33c-2 36 3 72 14 107a632 632 0 0 0 46 107l5 10h-1c-3-1-6-5-9-7a290 290 0 0 1-58-103 355 355 0 0 1-16-157c3-29 9-58 19-85l4-11c1-18 4-35 7-53 9-43 23-86 47-123 9-14 19-28 31-40l15-13a291 291 0 0 1 160-74c54-7 110 1 160 22Z" fill="${p(`${l.hair}`)}"/>${null!==(i=null===(c=a.head)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}<path d="M559 212c40 10 78 29 108 56 14 11 26 25 36 40l5 8c10 9 19 19 27 29a236 236 0 0 1 49 97c1 8 2 15 1 23-1 15-3 30-9 44-2 5-5 12-10 15h-4l2-9a154 154 0 0 0 1-76c-4-17-11-33-20-48l4 12c5 21 5 45-1 67-4 20-13 38-24 56-5 5-9 12-15 16-3 2-6 1-9 2-2-2-1-4-1-6l-1-20c-2-35-14-69-31-100a318 318 0 0 0-77-88l-9-7a244 244 0 0 1 17 68c1 17 2 34 1 51-2 30-6 59-17 87-6 15-13 28-21 42-11 18-26 35-43 47-3 1-7 4-10 3l1-3 17-19c22-26 34-60 42-93 6-25 7-50 4-75l-1 6a376 376 0 0 1-44 99 227 227 0 0 1-77 71l-14 5c-2 1-6 1-7-2 1-6 5-12 7-18a267 267 0 0 0 19-45c-13 16-28 31-46 41-16 9-35 14-53 14-5 0-11-1-14-5-3-2-1-6 0-10l10-32c5-16 9-32 12-49l-16 18-19 17-1 23a756 756 0 0 0 32 212c11 30 26 57 41 85l6 12c1 2-1 4-3 3a335 335 0 0 1-61-55 433 433 0 0 1-97-326l-2-4a181 181 0 0 1-13-130c10-32 27-60 50-83 27-27 61-47 97-60 58-20 122-22 181-6Z" fill="${p(`${l.hair}`)}"/>`},variant39:(a,l)=>{var c,i;return`<path d="M501 141c6-1 11 0 17 1 7 2 12 7 18 11 6 6 9 13 10 21 2-6 3-13 7-18 4-4 9-6 14-7 6-2 13-3 20-3 7 1 14 2 19 6 4 4 5 9 6 14l4 22c5-6 10-13 16-18 6-6 15-8 23-8 9 0 15 3 23 7 6 3 12 11 11 18 0 6-2 11-3 17 4-2 8-3 12-2 7 1 13 5 16 11 4 14 1 29-5 42 7-1 14 0 20 3 5 2 9 6 11 11 1 6-1 12-5 16-5 8-12 15-20 21 3 3 7 6 9 11s2 12-3 16c-3 4-8 5-12 6-13 4-26 6-39 4s-25-7-36-13l-5-6c-17 3-36 3-54 4-23 1-45 0-68-1l-51-4-43-4c-3 0-5 2-8 3-13 7-26 12-38 21l-14 13c-2 5-1 10 0 14 1 7 3 14 0 20l-11 13c-9 13-16 28-18 43-2 20 0 39 2 58 1 5-1 10-2 15l-7 8c4-1 9-3 12 1 0 4-5 7-8 9l10-2 6 2c-1 7-7 9-12 13 3 3 5 4 3 8-5 6-11 10-18 13l-7 2c-2-1-2-4-3-6l-22 6c-3 1-7 2-10 1l-5-6a203 203 0 0 1-27-123c1-23 6-46 14-68l-7-8c-4-5-5-12-7-17-3-9-4-18-1-27 2-6 6-11 11-16-3-3-7-6-9-10-3-7-2-14-2-21 1-6 3-13 8-17 5-3 11-2 17-2-3-6-7-13-5-20 1-6 6-12 10-16 6-7 14-12 24-11 9 0 17 5 25 8l-3-15c0-9 2-17 7-24 5-6 12-9 20-11 15-5 33 6 38 21 1-14 10-30 24-35 5-2 10-2 15-1 2-4 5-7 8-9 9-4 19-4 28-3 5 1 9 3 13 6 7 4 10 14 15 20 1-7 2-14 6-20 3-6 10-8 16-8Z" fill="${p(`${l.hair}`)}"/>${null!==(i=null===(c=a.head)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}<path d="M502 141c9 0 18 0 25 6 6 4 12 8 15 14l4 13c2-6 3-14 8-19 5-4 11-6 17-7 8-2 17-2 25-1 5 1 9 4 12 8 3 3 4 8 4 12l4 21 13-16c10-10 27-13 40-7 5 2 10 4 14 8s7 8 6 14c0 6-2 11-3 17 4-2 8-3 12-2 7 1 13 5 16 11 4 14 1 29-5 42 7-1 14 0 20 3 5 2 9 6 11 11 1 6-1 12-5 16-5 8-12 15-20 21 4 4 8 8 10 14 1 6-1 12-6 15-7 5-17 6-25 7-3 0-8 1-9-3 0-2 2-3 4-4-4-4-8-7-10-11l-5-8 1-6-7-1-20 10c-23 8-48 8-71 9-33 1-66 0-99-3l-65-6c-3 0-5 2-8 3-13 7-26 12-38 21l-14 13c-2 5-1 10 0 14 1 7 3 13 1 20l-6 6c-5 4-8 9-11 15-6 9-10 19-12 30-4 20-1 43 1 63 1 5-1 10-2 15l-7 8c4-1 9-3 12 1 0 4-5 7-8 9l10-2 6 2c-1 7-7 9-12 13l3 4c1 2 0 4-1 5-5 6-11 10-18 13-2 1-5 2-7 0s-1-5-1-7c-2 0-4 1-6-1-2-4 1-8 3-11h-6v-5l5-7c-5 2-9 3-14 1l-34-22c-2-1-5-2-6-5l-4-11a259 259 0 0 1 11-127l-7-8c-4-5-5-12-7-18-3-9-5-17-1-26 2-7 6-11 11-16-4-3-7-7-9-12-3-6-2-14-2-20 1-6 3-13 8-16s11-2 17-2c-3-6-6-12-5-19 0-6 5-12 9-16 6-8 15-13 25-12 9 0 17 5 25 8-2-5-4-10-3-15 0-9 2-17 7-24 6-8 17-12 27-12 13 0 26 9 31 22 1-15 10-30 24-35 5-2 10-2 15-1 2-4 5-7 8-9 9-4 19-4 28-3 5 1 9 3 13 6 7 4 10 14 15 20 1-7 2-14 6-20s10-8 17-8Z" fill="${p(`${l.hair}`)}"/>`},variant38:(a,l)=>{var c,i;return`<path fill-rule="evenodd" clip-rule="evenodd" d="M421 119c11 6 21 13 28 23 10 11 17 23 19 38 2 13 0 27-5 39 16-6 34-9 51-10 35-1 70 5 102 17 26 10 49 25 66 48 11 13 17 29 21 46 1 7 2 15 1 22l-1 7c0 3 0 7-2 10-4 13-15 23-27 27-3 1-7 2-10 0-2-1-2-4-3-6l-1-2-9-23-10-34-3-11-10-1a441 441 0 0 1-21-1c-3 0-5-2-8-4l-9-7-3-2-5 12c-3 2-6 2-9 1l-17-4c-27-4-54-5-81-3a633 633 0 0 0-75 8 615 615 0 0 0-19-6l1 9 2 18c-1 4-1 7-3 10l-7 14-14 28c-7 17-12 34-16 52-1 3-2 5-4 6a74 74 0 0 1-12 2c5 9 5 19 5 29-1 12-2 26-9 37 8 10 10 23 11 36 0 18-1 35-8 52-2 4-5 9-9 11h-5l-2-10-1-5c-2-14-9-28-20-38 7 25 18 49 32 72 10 18 21 34 33 51l5 8 4 5 11 16 2 4 4 6c0 5-5 10-9 12-3 0-7-2-10-4l-7-6a67 67 0 0 1-7-4l-6-3c-6-2-12-1-18 1-7 2-13 6-18 10h-2c-6 5-11 11-15 19-1 2-3 2-4 0-4-3-3-9-2-14 3-7 8-14 13-20 7-7 17-11 26-14-35-34-59-79-74-125a393 393 0 0 1-20-138v-5c2-21 5-42 12-63l6-17 4-8c-12-2-24-9-31-19s-10-22-9-34a148 148 0 0 1 55-99c15-21 35-38 59-49 19-9 41-13 62-10a73 73 0 0 1 61 64l1 8a215 215 0 0 0 1 5c1-6 2-13 1-19-2-12-8-22-15-32-10-12-20-22-33-30-5-4-12-6-18-8l-6-2 5-2c14-2 27 2 38 9Zm136 108c31 3 62 13 88 30a111 111 0 0 1 44 51c-8-10-16-20-26-29a196 196 0 0 0-58-35c-15-7-32-13-48-17Zm-318 21c-6 13-12 28-12 42 0 11 6 22 15 28l13 7 3-6a78 78 0 0 1-19-40c-2-10-1-21 0-31Z" fill="${p(`${l.hair}`)}"/>${null!==(i=null===(c=a.head)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}<path d="M508 220a271 271 0 0 1 97 24c14 7 29 14 42 23 8 5 16 11 22 18l22 25c-9 4-18 3-27 2-17-2-34-4-51-3l-8-1-7-5-12-8c0 4-1 7-3 11-2 2-4 3-7 3-4-1-7-3-11-3a470 470 0 0 0-155 3h-11l-18-6c1 9 4 18 3 26-1 4-1 8-3 11-7 14-15 27-21 42-7 17-13 35-17 53 0 2-1 4-3 5l-12 2c5 9 6 20 5 30-1 12-3 26-9 36 7 9 10 21 10 33 1 19 0 37-7 55-2 4-5 9-10 11-1 1-4 1-4-1-2-4-2-9-3-13-2-15-9-29-20-40-8-7-17-14-26-19-6-2-11-4-16-8l-6-8c-12-32-16-67-12-101a285 285 0 0 1 37-113c10-16 22-30 35-43 10-9 20-17 31-23l14-5 32-11 19-2h43c23 0 44-2 67 0Z" fill="${p(`${l.hair}`)}"/>`},variant37:(a,l)=>{var c,i;return`<path fill-rule="evenodd" clip-rule="evenodd" d="m448 193 15 2 9 2c9 1 17 3 25 7 8-4 18-6 27-7a148 148 0 0 1 77 14 125 125 0 0 1 45 33l19 4c11 4 22 9 32 16 10 9 18 20 24 32l6 17 1 4v2a232 232 0 0 0 34 70c7 10 14 21 19 32 6 12 11 25 9 39-1 13-6 25-16 34l-3 15c-4 11-10 23-20 31 3 6 6 12 7 19 2 15 0 31-7 45-2 3-4 4-7 5l-1-8-1-5c-2-14-11-27-21-37a47 47 0 0 1-9 45c-7 9-18 16-28 22-5 2-10 4-15 2l-2-3c-1-2-3-3-3-5-2-7-2-15-2-23v-6c0-16 2-31 4-47-10-4-18-12-24-21-9-12-12-26-13-41-2-30 6-60 25-84l-6-5-4-4c-18-15-26-35-32-57-3-12-4-26 0-37-4 0-9-1-10-5-1-7 3-14 7-19l-13 7-5 2-10 6c-6 3-12 7-19 9-2 1-4-1-6-2l-5-3c-13-9-26-17-40-23 3 4 6 9 6 14-1 3-1 6-4 7l-13-1-5-1h-28c-8 19-12 38-16 58a532 532 0 0 1-29 91c-8 17-19 32-32 46-8 8-16 14-25 20 18 11 30 28 39 46 17 33 29 68 31 105 1 19-3 38-11 55-5 13-16 24-29 30-8 4-18 5-27 5-8-1-15-4-21-8a76 76 0 0 0-40 7l-1 1c-4 3-8 5-11 10-5 6-8 13-10 21v1c0 2 0 3-2 3-3-5-4-11-4-17 0-9 5-17 9-25l12-11c-5-2-10-5-14-9a69 69 0 0 1-22-38c-5 1-10 2-15 1-16-1-31-8-42-19-6-6-12-14-16-22l-3-3-2-1-14-17c-9-15-14-33-13-51s6-36 16-51l11-11c-7-13-12-28-12-43v-12a101 101 0 0 1 27-123c10-9 22-17 35-18 14-22 30-43 49-60a235 235 0 0 1 96-49c22-6 44-7 67-5Zm224 72c13 7 25 16 32 29 5 11 7 22 10 33l5 20a175 175 0 0 0 27 50c8 12 16 24 22 36 4 10 6 21 4 32l-7-22c-6-15-14-27-22-41l-1-2-9-12-1-1-6-10-7-10-1-6-1-2a168 168 0 0 0-45-94Zm-224 46 10-25c-14 1-27 3-41 6-8 15-15 29-20 46-6 23-7 47-9 70v6c-1 18-3 36-8 53a201 201 0 0 0 47-86l10-32 10-36 1-2Zm-218 7-11 29v1l-1 3c-18 18-31 44-38 69a90 90 0 0 1 27-86c7-6 15-12 23-16Zm-52 220c3-10 8-19 15-27l-9 9a88 88 0 0 0-6 84l-3-27c-1-13-1-26 3-39Z" fill="${p(`${l.hair}`)}"/>${null!==(i=null===(c=a.head)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}<path fill-rule="evenodd" clip-rule="evenodd" d="M468 196a218 218 0 0 0-234 122 323 323 0 0 0-25 186l4 19c1 3 3 6 5 6l4 1h1c5 6 12 10 20 12 12 4 26 4 38 2-3 16 1 34 7 49 5 12 13 25 23 34a67 67 0 0 0 51 14c5-1 9-4 13-8v-1l2-5h-3c-3 0-5 0-8-2-11-6-19-17-25-28-10-20-15-43-15-65 13-6 24-16 33-27l7-5 4-2c9-6 17-14 25-22 17-20 30-43 39-67a443 443 0 0 0 16-63c4-20 8-41 17-60a185 185 0 0 1 34 1l12 1c3-1 4-4 4-7 0-5-3-10-6-14a272 272 0 0 1 45 26c2 2 5 3 7 2a172 172 0 0 0 26-13l6-4 14-7c-3 5-7 12-7 18 0 3 3 5 6 5 11 1 21-1 32-4l4-1c4-1 8 2 11 4 9 9 15 22 16 34a118 118 0 0 1 0 35l-1 11-1 15-2 37c2 16 8 32 20 43 9 9 22 12 34 9 6-2 12-6 16-10 5-4 7-9 7-16l-11 4-14 4v-8c4-3 8-7 10-11l-2-9-1-7-3-23-3-25-1-7c-2-14-4-27-9-41a162 162 0 0 0-42-68c-6-4-11-7-18-9a136 136 0 0 0-39-36c-17-8-34-14-52-17-15-2-32-3-46 1l-16 5c-9-4-19-6-29-8Zm-20 115c3-8 5-17 10-25-14 1-27 3-41 6-7 13-14 27-18 41a232 232 0 0 0-10 71c-2 21-3 43-9 63 19-20 34-45 42-71 6-15 10-30 14-46 4-13 7-26 12-38v-1Z" fill="${p(`${l.hair}`)}"/>`},variant36:(a,l)=>{var c,i;return`<path d="M269 153c13-1 27 1 40 4 17 5 34 11 50 20a91 91 0 0 1 44 43h41l47-1a284 284 0 0 1 150 43l22 16 22 24a58 58 0 0 1 8 67c-2 4-7 6-11 3s-6-8-9-13l-16-26-10-23-35-1c-4 0-8-1-11-4l-14-10c-1 4-3 9-6 12-3 4-9 0-13-1-22-4-44-6-67-6-24 0-47 3-71 6l-23 4-8-2-18-5 3 17-1 14c0 4-3 8-5 12l-19 37c-6 17-12 34-16 52 0 2-1 4-3 5l-12 2c5 9 6 20 5 30-1 12-3 25-9 36 7 9 9 20 10 32 2 19 0 38-7 55-2 5-5 10-10 12-1 1-4 1-4-1-2-3-2-7-2-11l-3-13-18-1c-8-2-16-7-21-14l-9-10a233 233 0 0 1-28-159c6-39 21-76 44-107a330 330 0 0 0-87 53c-6-6-8-14-8-22 1-19 9-36 21-51-19 10-35 22-51 35-3 2-5 5-9 5l-7-10c-3-11 1-24 7-33 9-16 25-29 39-40 4-4 10-8 13-13 1-2 0-6-2-7l-9-3c-2-1-2-3 0-5 12-13 29-17 45-22 30-7 61-9 91-3-17-7-34-13-52-16h-11l1-2c3-3 8-4 12-4Z" fill="${p(`${l.hair}`)}"/>${null!==(i=null===(c=a.head)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}<path d="M508 220a271 271 0 0 1 97 24c14 7 29 14 42 23 8 5 16 11 22 18l22 25c-9 4-18 3-27 2-17-2-34-4-51-3l-8-1-7-5-12-8c0 4-1 7-3 11-2 2-4 3-7 3-4-1-7-3-11-3a470 470 0 0 0-155 3h-11l-18-6c1 9 4 18 3 26-1 4-1 8-3 11-7 14-15 27-21 42-7 17-13 35-17 53 0 2-1 4-3 5l-12 2c5 9 6 20 5 30-1 12-3 26-9 36 7 9 10 21 10 33 1 19 0 37-7 55-2 4-5 9-10 11-1 1-4 1-4-1-2-4-2-9-3-13-2-15-9-29-20-40-8-7-17-14-26-19-6-2-11-4-16-8l-6-8c-12-32-16-67-12-101a285 285 0 0 1 37-113c10-16 22-30 35-43 10-9 20-17 31-23l14-5 32-11 19-2h43c23 0 44-2 67 0Z" fill="${p(`${l.hair}`)}"/>`},variant35:(a,l)=>{var c,i;return`<path fill-rule="evenodd" clip-rule="evenodd" d="M412 193c18-2 36 0 54 3h1c10 2 21 4 30 8 11-5 23-8 35-8a167 167 0 0 1 78 19 134 134 0 0 1 36 30v1l6 2 3 1c8 2 16 6 23 10 18 12 34 28 50 44 13 15 26 31 32 51 6 21 4 43 0 64l16 17a192 192 0 0 1 39 50c8 16 11 34 11 51s-5 34-14 49l-11 15-17 25c-6 14-5 28-3 42l1 9 1 13a533 533 0 0 0 17 41c6 18 8 36 1 54-6 13-16 22-27 30a323 323 0 0 1-48 25c-17 9-33 21-48 34a151 151 0 0 1-17 27l-5 4c-7 12-15 22-27 28-16 8-32 8-49 9-11 0-21-1-32-4-16-3-32-11-48-18-14-6-28-13-42-17-11-3-22-5-33-1-7 2-13 7-18 12l-9 7c-7 5-14 8-22 9-15 1-31-2-46-6-13-3-26-6-38-13l-9-5-11-7c-4-1-9 0-13 1l-21 9-11 5c-12 5-24 9-37 12a59 59 0 0 1-65-38c-4-11-4-22-1-33 1-9 5-17 9-26 4-8 8-16 10-25 1-6 0-13-3-19l-13-12c-5-4-10-7-14-12-6-10-8-21-7-32 0-17 4-35 12-51 5-10 13-17 20-26a167 167 0 0 0 23-31c-1-7-3-14-6-20a507 507 0 0 0-25-51c-7-16-7-34-4-52 3-15 8-30 15-43a443 443 0 0 1 44-71l16-22 2-3 4-8a227 227 0 0 1 110-129c29-16 62-26 95-28Zm310 127c9 10 18 22 22 36 5 14 5 29 4 44l-2-3a124 124 0 0 1-13-40c-2-13-6-25-11-37ZM145 477h-1c-3 13-6 26-6 40 0 9 3 19 7 27l10 20 15 30c2-19-2-38-11-55l-5-8c-3-7-7-14-9-22-3-10-2-22 0-32Zm639 247c3 8 6 16 7 24 2 11 1 22-4 31-4 11-14 18-23 24l-19 11a319 319 0 0 0-58 39c3-7 6-15 11-22s11-13 18-18l13-8 12-7c10-7 19-16 26-27 5-7 10-15 13-23l4-24Zm-639 46-4-1c6 6 11 13 13 22 2 11-1 21-5 32l-5 11c-5 10-9 19-9 30-3 24 19 48 43 48-10-2-20-7-27-14-7-8-10-19-10-30 2-12 7-22 12-33v-2l4-6c4-10 9-20 10-30 1-7 0-14-5-19-3-3-7-4-11-6l-6-2Z" fill="${p(`${l.hair}`)}"/>${null!==(i=null===(c=a.head)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}<path fill-rule="evenodd" clip-rule="evenodd" d="M468 196a218 218 0 0 0-234 122 323 323 0 0 0-25 186l4 19c1 3 3 6 5 6l4 1h1c5 6 12 10 20 12 12 4 26 4 38 2-3 16 1 34 7 49 5 12 13 25 23 34a67 67 0 0 0 51 14c5-1 9-4 13-8v-1l2-5h-3c-3 0-5 0-8-2-11-6-19-17-25-28-10-20-15-43-15-65 13-6 24-16 33-27l7-5 4-2c9-6 17-14 25-22 17-20 30-43 39-67a443 443 0 0 0 16-63c4-20 8-41 17-60a185 185 0 0 1 34 1l12 1c3-1 4-4 4-7 0-5-3-10-6-14a272 272 0 0 1 45 26c2 2 5 3 7 2a172 172 0 0 0 26-13l6-4 14-7c-3 5-7 12-7 18 0 3 3 5 6 5 11 1 21-1 32-4l4-1c4-1 8 2 11 4 9 9 15 22 16 34a118 118 0 0 1 0 35l-1 11-1 15-2 37c2 16 8 32 20 43 9 9 22 12 34 9 6-2 12-6 16-10 5-4 7-9 7-16l-11 4-14 4v-8c4-3 8-7 10-11l-2-9-1-7-3-23-3-25-1-7c-2-14-4-27-9-41a162 162 0 0 0-42-68c-6-4-11-7-18-9a136 136 0 0 0-39-36c-17-8-34-14-52-17-15-2-32-3-46 1l-16 5c-9-4-19-6-29-8Zm-20 115c3-8 5-17 10-25-14 1-27 3-41 6-7 13-14 27-18 41a232 232 0 0 0-10 71c-2 21-3 43-9 63 19-20 34-45 42-71 6-15 10-30 14-46 4-13 7-26 12-38v-1Z" fill="${p(`${l.hair}`)}"/>`},variant34:(a,l)=>{var c,i;return`${null!==(i=null===(c=a.head)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}<path d="M614 163c10 5 13 18 9 28-5 13-15 23-26 32-10 8-21 16-32 22-10 7-21 13-32 18-4 2-9 5-14 5-3 0-6-3-7-6l-2-8a146 146 0 0 1-8-58c0-6 2-13 6-17 3-4 9-4 13-1l5 10c3 10 2 23 3 33l14-19a148 148 0 0 1 48-40c8-3 16-4 23 1Z" fill="${p(`${l.hair}`)}"/>`},variant33:(a,l)=>{var c,i;return`<path d="M366 180c12 1 23 4 33 10 13 6 25 17 31 30 27 0 54-2 81 0a287 287 0 0 1 136 46c8 6 16 12 22 19 5 5 11 10 15 16 6 8 11 16 15 26 8 17 12 36 9 55-2 11-6 22-13 30-3 4-9 5-12 1-7-8-13-19-19-28-14-26-27-51-42-76l-16-1c-3 0-5-2-8-5l-11-8c-1 4-2 8-5 11-1 2-4 3-6 3-4-1-7-3-11-3a344 344 0 0 0-103-4 550 550 0 0 0-63 7l-18-6c1 8 4 17 3 26-1 4 0 7-2 10l-13 23-11 24c-6 16-11 32-14 48-1 2-2 5-4 6l-12 2c5 8 5 18 5 28-1 13-2 27-9 38 7 10 10 21 10 33 2 19 0 39-8 56l-7 10c2 23 6 47 13 70 7 24 17 48 27 71l17 36c1 3 3 7 1 10-2 6-6 10-11 14-7 5-15 8-24 10-13 3-27 2-38-5-8-4-15-10-20-18a180 180 0 0 0 18 49c-10 1-20-1-29-6a76 76 0 0 1-33-38c-8-19-12-39-15-59-12 23-32 43-55 55-7 3-14 5-21 1l2-7c7-10 15-21 21-32 10-17 18-36 20-55 2-13 2-27 1-40l-5-45-8-77-4-50a685 685 0 0 1 6-124 264 264 0 0 1 85-156c16-13 35-22 54-28 15-4 30-5 45-3Z" fill="${p(`${l.hair}`)}"/>${null!==(i=null===(c=a.head)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}<path d="M508 220a271 271 0 0 1 97 24c14 7 29 14 42 23 8 5 16 11 22 18l22 25c-9 4-18 3-27 2-17-2-34-4-51-3l-8-1-7-5-12-8c0 4-1 7-3 11-2 2-4 3-7 3-4-1-7-3-11-3a470 470 0 0 0-155 3h-11l-18-6c1 9 4 18 3 26-1 4-1 8-3 11-7 14-15 27-21 42-7 17-13 35-17 53 0 2-1 4-3 5l-12 2c5 9 6 20 5 30-1 12-3 26-9 36 7 9 10 21 10 33 1 19 0 37-7 55-2 4-5 9-10 11-1 1-4 1-4-1-2-4-2-9-3-13-2-15-9-29-20-40-8-7-17-14-26-19-6-2-11-4-16-8l-6-8c-12-32-16-67-12-101a285 285 0 0 1 37-113c10-16 22-30 35-43 10-9 20-17 31-23l14-5 32-11 19-2h43c23 0 44-2 67 0Z" fill="${p(`${l.hair}`)}"/>`},variant32:(a,l)=>{var c,i;return`<path fill-rule="evenodd" clip-rule="evenodd" d="M466 196h1c10 2 21 4 30 8 11-5 22-8 34-8 21 0 42 3 62 11l21 11a994 994 0 0 0 22 12h1c10 6 18 13 26 21a202 202 0 0 1 56 117l1 2c0 2 0 3 2 4 16 13 26 32 32 52 4 14 2 30-3 44-6 17-16 32-29 44l-1 2 9 9c7 4 12 10 18 15 17 19 31 42 36 67 3 13 3 27 0 41-5 18-17 33-31 43-8 6-16 10-24 14 3 4 6 9 7 13 4 12 3 25-2 36s-13 19-22 26l-20 11c-4 1-9 2-13-1-2-1-2-3-1-5v-1l3-17c-13 16-30 28-49 35a138 138 0 0 1-57 6l-11-1c-9 0-16-2-24-4l-9-2a552 552 0 0 0-158-14l-4 2-2 2c-21 17-48 24-74 26-11 1-21 0-32-1-18-2-37-7-52-17l-2-1-4-2c-12-1-24-6-34-13-9-6-16-16-20-26-6-12-9-24-8-37 1-18 9-36 22-48-4-5-9-9-12-15-13-18-20-41-23-64-1-15 0-31 3-46a153 153 0 0 1 67-91c-9 3-17 9-25 14-13 9-25 21-34 34-6 8-11 16-14 26l-2 3-2 6c-2-1-2-3-2-5-1-6 0-12 2-17 5-22 18-41 35-56 14-13 31-22 49-27l1-1a265 265 0 0 1 49-148 217 217 0 0 1 211-89Zm293 388c5 9 9 20 11 31 2 10 1 21-2 31-5 14-15 27-27 36 13-18 20-40 21-62 1-12 0-24-2-36h-1ZM190 689c-7-2-14-7-20-11a77 77 0 0 0-15 49c2 21 14 42 33 52-9-13-15-27-15-43-1-12 2-25 8-36l7-9 2-2Z" fill="${p(`${l.hair}`)}"/>${null!==(i=null===(c=a.head)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}<path fill-rule="evenodd" clip-rule="evenodd" d="M468 196a218 218 0 0 0-234 122 323 323 0 0 0-25 186l4 19c1 3 3 6 5 6l4 1h1c5 6 12 10 20 12 12 4 26 4 38 2-3 16 1 34 7 49 5 12 13 25 23 34a67 67 0 0 0 51 14c5-1 9-4 13-8v-1l2-5h-3c-3 0-5 0-8-2-11-6-19-17-25-28-10-20-15-43-15-65 13-6 24-16 33-27l7-5 4-2c9-6 17-14 25-22 17-20 30-43 39-67a443 443 0 0 0 16-63c4-20 8-41 17-60a185 185 0 0 1 34 1l12 1c3-1 4-4 4-7 0-5-3-10-6-14a272 272 0 0 1 45 26c2 2 5 3 7 2a172 172 0 0 0 26-13l6-4 14-7c-3 5-7 12-7 18 0 3 3 5 6 5 11 1 21-1 32-4l4-1c4-1 8 2 11 4 9 9 15 22 16 34a118 118 0 0 1 0 35l-1 11-1 15-2 37c2 16 8 32 20 43 9 9 22 12 34 9 6-2 12-6 16-10 5-4 7-9 7-16l-11 4-14 4v-8c4-3 8-7 10-11l-2-9-1-7-3-23-3-25-1-7c-2-14-4-27-9-41a162 162 0 0 0-42-68c-6-4-11-7-18-9a136 136 0 0 0-39-36c-17-8-34-14-52-17-15-2-32-3-46 1l-16 5c-9-4-19-6-29-8Zm-20 115c3-8 5-17 10-25-14 1-27 3-41 6-7 13-14 27-18 41a232 232 0 0 0-10 71c-2 21-3 43-9 63 19-20 34-45 42-71 6-15 10-30 14-46 4-13 7-26 12-38v-1Z" fill="${p(`${l.hair}`)}"/>`},variant31:(a,l)=>{var c,i;return`<path fill-rule="evenodd" clip-rule="evenodd" d="M466 143c-6-10-15-19-28-20l4 6 2 4 7 13 2 2c5 12 8 24 9 37 0 7-2 13-4 20-3-17-12-30-22-42a97 97 0 0 0-38-24 106 106 0 0 0-62-5c-8 1-15 5-23 9-7 4-13 10-19 15a143 143 0 0 0-33 51c-6 15-13 30-22 44-7 12-17 23-27 32l-28 19a715 715 0 0 0-48 33c-23 20-40 47-49 77-4 15-7 31-5 46 2 8 4 15 8 22v8c-4 19-5 39 1 58a166 166 0 0 0 33 61l14 19c6 10 11 21 12 33 0 9-3 17-10 23a39 39 0 0 1-40 7l-5-3-4-2-1 2c-1 1-2 3-1 5l7 13c6 8 13 14 22 18 7 4 15 5 23 3 5-1 9-3 13-6 0 10 3 20 6 29 4 11 10 22 19 30 8 8 18 12 28 15 9 3 18 3 27 1 2-1 2-2 2-4l-3-7-1-2-8-20c18 13 39 19 61 21 14 1 29-1 42-6 3-1 7-3 8-6 2-3 0-6-1-9l-4-15-1-3c9 6 18 10 29 10 12 0 25-5 32-15l3-1a541 541 0 0 0-31-129 322 322 0 0 0-25-52l-2-6c0-15-2-32-11-44 7-11 8-25 9-37 0-10 0-20-5-29l4-1 8-1c2-1 3-4 4-6a350 350 0 0 1 30-80l7-14c2-3 2-6 3-10v-4l-2-14-1-9 20 6h10a532 532 0 0 1 153-4l7 2 5 2c2 0 5-1 6-3 3-3 4-7 5-11l3 2 9 7 7 4a62 62 0 0 0 14 1l16 16 1 1a403 403 0 0 1 54 79c4 3 9 1 11-3 7-16 8-34 5-51a126 126 0 0 0-38-66c-6-7-14-13-22-19l-42-22c-21-9-43-16-65-20-25-5-50-5-76-4 11-11 14-26 14-41 0-13-5-25-12-36ZM208 321c12-14 24-28 33-45l-16 17c-10 9-21 15-32 22l-11 7-3 1c-13 8-27 17-38 27-22 19-37 45-44 73-3 15-5 31-1 46 6-18 15-36 25-52 13-20 29-39 46-56l19-19 22-21Z" fill="${p(`${l.hair}`)}"/>${null!==(i=null===(c=a.head)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}<path d="M508 220a271 271 0 0 1 97 24c14 7 29 14 42 23 8 5 16 11 22 18l22 25c-9 4-18 3-27 2-17-2-34-4-51-3l-8-1-7-5-12-8c0 4-1 7-3 11-2 2-4 3-7 3-4-1-7-3-11-3a470 470 0 0 0-155 3h-11l-18-6c1 9 4 18 3 26-1 4-1 8-3 11-7 14-15 27-21 42-7 17-13 35-17 53 0 2-1 4-3 5l-12 2c5 9 6 20 5 30-1 12-3 26-9 36 7 9 10 21 10 33 1 19 0 37-7 55-2 4-5 9-10 11-1 1-4 1-4-1-2-4-2-9-3-13-2-15-9-29-20-40-8-7-17-14-26-19-6-2-11-4-16-8l-6-8c-12-32-16-67-12-101a285 285 0 0 1 37-113c10-16 22-30 35-43 10-9 20-17 31-23l14-5 32-11 19-2h43c23 0 44-2 67 0Z" fill="${p(`${l.hair}`)}"/>`},variant30:(a,l)=>{var c,i;return`<path d="M665 172c3 4 4 10 4 15 1 19-5 36-15 52l12-3c14-3 29-2 43 2 10 3 22 9 28 18 2 3 5 7 4 11h-3c-4-4-9-8-15-10-12-6-25-8-38-8-9 0-19 1-28 4l6 2c14 6 26 15 36 25 14 13 26 30 30 48 4 14 2 27-2 40l5 13a253 253 0 0 1 9 103l-2 10c8 0 15 0 22 4a43 43 0 0 1 21 41l-1 2-2-3c-4-8-9-16-16-22-6-4-12-6-19-6 13 13 19 31 19 49 0 10-1 20-6 29-1 2-2 6-6 5l-1-5c0-9 0-17-3-25-3-11-10-20-20-26-1-1-2-2-3 0l-14 19c-6 5-10 12-15 18l-2 3 5 23a201 201 0 0 1-4 72c-6 15-16 28-27 40 5 9 9 18 10 29 0 11 1 23-1 34-3 9-8 17-16 22 5 7 8 15 10 23 1 6 2 13 0 20 0 2-1 4-4 4-2 1-3-1-3-2l-7-22c2 6 1 13 1 19-2 13-6 26-14 37-3 5-7 9-12 11-3 1-6-1-8-3-5-4-9-10-13-15-6-9-13-19-14-31v-14c-8-1-15-5-20-12-6-7-11-14-12-24-2-21 5-41 17-57 3-5 7-9 12-12l-10-9a97 97 0 0 1-25-50c-2-17 1-36 7-52s14-31 23-45l8-10c-5-7-7-16-9-25l-3-18v-29c0-13 0-27 5-39-3 1-6 2-9 1-2 0-2-1-1-2l9-21 4-20c1-27-5-54-14-80v16c-1 18-6 37-15 53-5 9-11 17-19 24-11 9-24 17-38 20-3 1-8 2-10-2 10-7 20-12 29-20 7-7 13-14 18-22 5-9 10-18 12-28 3-10 5-21 5-32-3 12-7 23-13 34-12 22-29 43-49 59-8 7-18 13-28 18-6 2-14 6-21 5-2 0-5 0-5-3l4-17c4-16 7-32 7-49a166 166 0 0 1-47 58c-18 14-37 26-58 34-4 14-5 29-6 43 7 4 12 10 17 16 15 19 24 42 27 65 2 15-1 29-5 43a220 220 0 0 1-16 37c15 4 28 17 32 32 4 14 3 29-2 42-6 18-18 31-33 42 10 8 13 21 15 33 3 12 3 25 1 38-1 7-3 15-8 20-1 2-2 4-5 4-6 1-12-3-18-5-13-7-23-17-30-30 3 9 8 16 13 24 4 5 9 10 15 14 1 1 0 3-1 4-4 1-8 0-12-1-8-2-16-7-21-14-6-7-10-17-13-26-4-18-2-38 6-55-9 1-17 2-26-1-9-2-16-8-20-16a75 75 0 0 1-7-57c-3 3-5 6-6 10-7 13-8 28-4 43 0 2 2 5-1 5-2 0-4-2-5-4-6-9-9-20-9-31 0-15 6-29 17-39l3-4c-11-1-22-4-31-12a70 70 0 0 1-22-37c-5-20-5-41-3-60 3-28 13-55 30-78v-1c-8-8-13-17-17-27-7-19-8-38-5-58 4-30 18-59 36-83l16-22c15-20 34-36 55-49 25-17 54-29 83-38a376 376 0 0 1 199-1l4 1c11-4 21-10 30-18 10-8 18-20 26-30 3-5 6-11 10-15 2-1 5-3 6 0Z" fill="${p(`${l.hair}`)}"/>${null!==(i=null===(c=a.head)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}<path d="M664 170c4 3 5 10 5 15 1 19-5 38-15 54l19-4c15-2 31 1 45 7 9 4 19 10 22 20 1 2 2 6-1 5-8-5-15-11-23-14-19-6-40-5-59 0l17 8c18 10 34 25 45 43 8 13 13 27 12 42 0 16-7 31-16 44a150 150 0 0 1-60 48h-6l10-11c5-5 8-10 11-16 5-10 5-21 4-32-3-22-12-43-25-60l-7-9 5 23c1 20-2 42-10 61-7 14-18 27-30 38-7 5-15 10-24 11-1 1-5 0-5-2l8-14c5-11 6-23 6-35 0-25-6-49-14-72v16c-1 18-6 37-15 53-5 9-12 17-20 24-10 10-23 17-37 20-3 1-8 2-10-2l17-11c11-8 21-17 29-29 6-11 12-22 15-35l3-27c-3 12-7 23-13 34-12 21-27 40-45 56-10 8-20 16-32 21-7 3-14 6-21 5-2 0-5-1-5-3l1-7c6-19 10-39 10-59-8 16-18 31-31 44-21 21-46 37-74 48-2 5-2 11-3 16-3 23-4 47 0 69s14 43 29 60l2 3c-3 0-6-2-8-4a96 96 0 0 1-34-48l2 39v9c0 2-2 3-3 2l-5-5a109 109 0 0 1-58-71l-2-4c-17-15-31-33-40-53-12-24-17-52-14-79 4-27 15-52 31-74 22-30 51-52 84-69a351 351 0 0 1 256-25l6 1c11-4 21-10 30-17 13-11 23-27 32-41 3-3 4-7 9-7ZM328 777v2c4 0 7-1 10 1l12 1c9 2 17 8 22 16 4 8 6 17 7 25 3 12 3 24 2 36-2 7-4 15-9 21-1 2-2 4-4 4-4 1-8 0-11-2a74 74 0 0 1-38-33c2 7 6 13 10 19 4 7 10 13 16 17 1 1 3 2 2 4-1 3-6 3-9 2-11-2-21-8-27-18a81 81 0 0 1-6-77l9-14 4-1c3-1 7-4 10-3ZM654 792c6 3 10 11 12 17 4 8 6 18 5 27 0 3-1 6-3 8-2 1-5 0-5-2l-6-22v19c-2 14-6 27-14 38-3 4-6 8-11 10h-3c-5-1-8-5-11-8l-13-19c-4-6-8-13-9-21s1-16 2-24c4 0 8-1 11-3l13-4c7-2 13-6 19-9l13-7Z" fill="${p(`${l.hair}`)}"/>`},variant29:(a,l)=>{var c,i;return`<path fill-rule="evenodd" clip-rule="evenodd" d="M435 191a208 208 0 0 1 62 13c9-4 18-6 28-7a151 151 0 0 1 110 37l6 4c10 3 19 7 28 12h1l7 4c13 7 26 13 36 23a105 105 0 0 1 33 93c-2 12-7 23-13 33l1 2c8 17 16 33 18 51 1 10 1 19-2 28a55 55 0 0 1-24 27l-4 3c15 2 30 10 41 21 4 5 9 11 10 17 1 3 1 6-1 8-2 1-2 0-3-1v-1c-1-4-5-7-8-10h-1c-5-5-12-9-18-11 8 7 14 15 18 24 5 13 4 27 0 40-3 8-7 15-15 19l-2 1c-2 2-4 3-6 0v-10c1-15-3-30-13-41-9-11-22-17-35-21l-6-3-7-3c-2 0-4-1-5-4 0-5 3-10 7-13 7-6 16-10 25-10l1-4 1-1c-1-6 0-12 1-19v-2h-1c-3 1-6 1-9-1-6-2-11-6-15-11l-13-23-4-8-5-10-6-21-3-6-1-1-7-19v-1l-6-18-5-20-2-5-15-36-6-9-6-11c-1-7 3-13 7-19a333 333 0 0 1-28 15c-6 3-12 7-19 9-2 1-4-1-6-2l-5-3c-13-9-26-17-40-23 3 4 6 9 6 14-1 3-1 6-4 7l-13-1h-4c-10-2-19-2-29-1-9 19-13 40-17 60l-2 11c-4 18-9 35-15 52-8 24-21 47-38 66a132 132 0 0 1-30 25l-5 4c-9 12-21 21-34 28a123 123 0 0 0 23 77c5 7 11 14 20 17l4 1h4l-2 5v1c-4 4-8 6-13 8a71 71 0 0 1-53-17l-2-1-1 6-5 22-1 7v4c-1 24 0 48 4 72l1 5c1 8 2 16 5 23l1 4c-4-2-6-7-9-10l-7-18 1 13c2 15 3 29 1 43-1 7-2 14-5 20-1 4-4 5-8 5-8 1-16-1-23-4-12-5-23-10-33-18v1l-2 3c-1 3-5 3-8 3-5-3-9-8-13-13-17-23-27-51-24-80 3-23 9-48 23-67-15 12-27 28-34 46a158 158 0 0 0-8 95l2 5-3-2c-5-3-8-9-11-14-4-12-5-26-5-38a131 131 0 0 1 85-123l4-3c-9 0-17-4-24-10a94 94 0 0 1-26-40c-9-24-10-50-8-75a402 402 0 0 1 51-160c13-27 31-52 53-73 25-24 55-42 88-52 22-7 44-10 67-9Zm240 76c13 7 25 13 35 25 15 15 23 35 25 56 1 15-2 30-8 44l-2-3-4-8-3-14-6-33a166 166 0 0 0-40-69l3 2Zm-224 34 7-15c-14 1-27 3-41 6-8 14-15 30-20 46-5 19-7 38-8 58v7c-1 21-3 44-9 64 19-20 34-45 42-71 6-15 10-31 14-46 5-16 9-33 15-49ZM204 406h-1a303 303 0 0 0 14 146c6 18 14 36 23 53-8-1-16-7-22-12a98 98 0 0 1-27-53c-5-27-4-56 0-83 3-17 7-35 12-51h1Zm474 268c-6-6-14-8-22-7-9 1-17 4-24 10l-13 18-4 6-3 5c-6 8-10 17-13 26-5 11-7 22-5 34 2 13 10 25 20 34 3 4 8 8 13 8 13-4 24-14 33-24 6-7 11-15 15-24l1 8 2 8c1 2 2 5 5 5 2 0 4-2 5-4l1-1c8-13 12-29 12-44 0-13-4-26-11-37l-4-9-8-12Z" fill="${p(`${l.hair}`)}"/>${null!==(i=null===(c=a.head)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}<path fill-rule="evenodd" clip-rule="evenodd" d="M468 196a218 218 0 0 0-234 122 323 323 0 0 0-25 186l4 19c1 3 3 6 5 6l4 1h1c5 6 12 10 20 12 12 4 26 4 38 2-3 16 1 34 7 49 5 12 13 25 23 34a67 67 0 0 0 51 14c5-1 9-4 13-8v-1l2-5h-3c-3 0-5 0-8-2-11-6-19-17-25-28-10-20-15-43-15-65 13-6 24-16 33-27l7-5 4-2c9-6 17-14 25-22 17-20 30-43 39-67a443 443 0 0 0 16-63c4-20 8-41 17-60a185 185 0 0 1 34 1l12 1c3-1 4-4 4-7 0-5-3-10-6-14a272 272 0 0 1 45 26c2 2 5 3 7 2a172 172 0 0 0 26-13l6-4 14-7c-3 5-7 12-7 18 0 3 3 5 6 5 11 1 21-1 32-4l4-1c4-1 8 2 11 4 9 9 15 22 16 34a118 118 0 0 1 0 35l-1 11-1 15-2 37c2 16 8 32 20 43 9 9 22 12 34 9 6-2 12-6 16-10 5-4 7-9 7-16l-11 4-14 4v-8c4-3 8-7 10-11l-2-9-1-7-3-23-3-25-1-7c-2-14-4-27-9-41a162 162 0 0 0-42-68c-6-4-11-7-18-9a136 136 0 0 0-39-36c-17-8-34-14-52-17-15-2-32-3-46 1l-16 5c-9-4-19-6-29-8Zm-20 115c3-8 5-17 10-25-14 1-27 3-41 6-7 13-14 27-18 41a232 232 0 0 0-10 71c-2 21-3 43-9 63 19-20 34-45 42-71 6-15 10-30 14-46 4-13 7-26 12-38v-1Z" fill="${p(`${l.hair}`)}"/>`},variant28:(a,l)=>{var c,i;return`<path d="M506 219c30 6 60 19 84 38 7 5 15 11 20 18 1 3 3 5 3 8-1 3-5 2-7 1l-18-13c-19-16-41-28-65-35 12 6 24 15 29 27 1 2 3 6 0 7l-11-4a280 280 0 0 0-76-19c8 3 15 6 22 11 2 1 4 2 4 4h-17c-20-1-41-1-61 2-15 2-29 6-43 12l-7 4-18 13c-7 5-12 12-16 19-4 9-7 18-5 28l4 22-1 4c-16 14-27 32-35 52-4 11-6 22-7 33 0 10 0 20 2 30l8 32 7 22 2 8-6 6-15 18c-2 2-3 5-6 5-3 1-7 1-8-2a266 266 0 0 1-40-107c-2-13-4-26-4-39a193 193 0 0 1 49-131c13-16 29-29 47-40a253 253 0 0 1 185-34Z" fill="${p(`${l.hair}`)}"/>${null!==(i=null===(c=a.head)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}<path d="M463 214c36 1 71 9 103 27 14 7 27 16 38 27 3 4 7 7 8 12 1 2 1 4-1 5a319 319 0 0 0-56-24c1 4 3 8 0 12l-26-8-44-9c2 2 5 3 6 6-10 1-20 0-30-1-31-1-61 3-90 14l-4 3-12 7c-6 4-11 8-15 13-8 8-14 19-16 31-2 8 0 17 2 25l2 10-6 6a142 142 0 0 0-33 56c-4 13-4 28-4 42 1 17 6 33 11 49l8 26-1 1-11-4c-10-5-20-10-29-17-6-4-13-10-13-18l5 3c-24-34-34-76-28-117 5-34 20-66 42-93 22-26 49-46 80-60 35-17 75-24 114-24Z" fill="${p(`${l.hair}`)}"/>`},variant27:(a,l)=>{var c,i;return`<path d="M397 64c6 5 11 12 15 19 11 18 21 37 28 56 6 13 9 28 11 42l5-6a179 179 0 0 1 85-62 331 331 0 0 1 87-18c6 0 11-1 17 1l6 3c2 1 1 2 0 3l-6 9-17 16-25 34-22 37a201 201 0 0 1 134 37l5 8c1 1 3 2 3 4-1 2-4 2-6 2-6 1-13 1-19 3-14 4-28 10-40 17 13-3 26-5 39-1 2 1 6 2 6 4-1 2-3 2-5 2l-13 2a266 266 0 0 0-81 34c-11 7-19 16-28 24l-5 6c-3 1-5 0-7-2l-19-16a351 351 0 0 0-107-57l-25-9-4 1c-18 7-34 16-50 27-15 11-29 23-41 37-8 9-15 20-23 28l-17 7c-7 4-15 7-23 9-7 3-15 6-22 6-3 0-8 0-8-4-1-5 2-10 5-14 8-12 18-21 31-27-12-12-23-25-36-36l-13-13c0-3 3-5 4-7 13-9 29-15 45-17 14-2 28 0 42 2-6-7-11-16-16-24l-22-34c-10-12-22-24-30-37l-3-9c1-2 4-2 6-2 27-2 55 4 80 14 13 6 24 15 35 25a813 813 0 0 1 26-84l7-27 5-11c1-2 4-3 6-2Z" fill="${p(`${l.hair}`)}"/>${null!==(i=null===(c=a.head)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}<path d="M398 64a390 390 0 0 1 43 76c5 14 8 28 10 42 17-25 40-45 67-59a275 275 0 0 1 120-28c5 0 11 1 14 5-1 4-4 7-7 10a472 472 0 0 0-64 88c30-3 60 2 89 13 15 6 32 12 44 23 4 4 7 9 9 13-3 2-7 2-11 3-9 0-18 3-27 6l-28 13c12-3 24-5 37-2 3 1 7 1 9 5-4 3-10 3-15 4a213 213 0 0 0-116 63c-2 3-5 1-8 0-7-5-13-12-19-18a354 354 0 0 0-106-57l-33-9-27-7h-8c-12 2-24 8-34 14-20 11-35 29-47 48l-12 20-13 31c-9 4-19 8-28 10-4 1-7 0-10-1v-6l8-12c7-10 17-18 27-26-7-5-13-12-19-18-8-8-15-17-24-24l-7-7c0-3 3-5 4-7 13-10 30-15 46-17 13-2 28 0 41 3a390 390 0 0 0-38-58c-10-13-23-26-31-40-1-2-3-6-1-9h5c27-2 55 4 80 14 13 6 24 15 35 25a833 833 0 0 1 26-82l7-29 5-12c2-2 5-2 7-1Z" fill="${p(`${l.hair}`)}"/>`},variant26:(a,l)=>{var c,i;return`<path d="M580 141c9 1 19 4 27 9 7 5 15 9 21 15l19 15c6 6 10 14 13 21s5 14 4 22c-1 5-3 9-6 13-6 9-11 18-19 26 14 8 28 17 39 29 14 18 24 39 26 62 1 11 0 23-3 34-2 6-10 8-15 4-4-2-5-6-7-10s-5-7-6-11c-8-15-17-30-24-46l-7-14-24-1-12-1-8-5-11-8c-1 4-2 8-5 11-1 3-4 3-7 2l-13-3-45-5c-28-1-57 2-86 6l-24 4-9-2-17-5c1 7 3 15 3 23-1 5 0 10-3 14-7 14-15 27-21 42-7 17-13 35-17 53 0 2-1 4-3 5l-12 2c5 9 5 19 5 29-1 12-2 26-9 37 7 9 10 21 10 33 1 18 0 37-7 54-2 5-5 10-10 12-1 1-4 2-4-1-2-5-2-11-3-16l-16-6-28-10-10-4c-3-2-5-6-7-9-10-20-17-41-21-63a296 296 0 0 1 17-150c-14 1-29 1-41-5-9-5-16-13-21-21-4-8-7-16-9-25v-21c2-13 7-26 12-39l13-24c3-5 6-11 10-15 7-9 17-16 26-22 14-9 28-17 43-23 13-6 28-9 42-6 10 2 19 6 27 9 9 4 17 10 23 17 7 7 11 17 9 27l-7 22c11-2 23-3 35-2h19l51-1c-1-9 1-19 3-28 3-10 9-19 17-25 23-18 54-26 83-25Z" fill="${p(`${l.hair}`)}"/>${null!==(i=null===(c=a.head)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}<path d="M508 220a271 271 0 0 1 97 24c14 7 29 14 42 23 8 5 16 11 22 18l22 25c-9 4-18 3-27 2-17-2-34-4-51-3l-8-1-7-5-12-8c0 4-1 7-3 11-2 2-4 3-7 3-4-1-7-3-11-3a470 470 0 0 0-155 3h-11l-18-6c1 9 4 18 3 26-1 4-1 8-3 11-7 14-15 27-21 42-7 17-13 35-17 53 0 2-1 4-3 5l-12 2c5 9 6 20 5 30-1 12-3 26-9 36 7 9 10 21 10 33 1 19 0 37-7 55-2 4-5 9-10 11-1 1-4 1-4-1-2-4-2-9-3-13-2-15-9-29-20-40-8-7-17-14-26-19-6-2-11-4-16-8l-6-8c-12-32-16-67-12-101a285 285 0 0 1 37-113c10-16 22-30 35-43 10-9 20-17 31-23l14-5 32-11 19-2h43c23 0 44-2 67 0Z" fill="${p(`${l.hair}`)}"/>`},variant25:(a,l)=>{var c,i;return`${null!==(i=null===(c=a.head)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}<path d="M365 270c2 2 4 4 4 7 0 7-6 12-8 18 0 4 0 8 2 11 5 10 13 15 19 23 3 2 4 7 1 10l-13 8-6 10c-6 12-10 26-12 39l-2 14c-2 4-4 7-8 10-8 4-14 10-20 16-5 7-10 14-13 23-3 11-1 25 2 37 2 0 6 0 8 3-4 7-13 11-21 15 6-1 11-3 17-1 1 1 4 1 3 3-3 6-10 9-16 13-8 3-16 3-24 1l-15-4c-2-1-5-1-7-3-11-11-19-24-24-39a168 168 0 0 1-1-97c9-31 25-59 47-82 12-12 26-22 41-29s30-10 46-6ZM333 526c0 2-2 4-4 5-5 6-14 8-22 9-3 1-8 1-11-1 1-4 5-7 8-9 9-5 19-8 29-4Z" fill="${p(`${l.hair}`)}"/>`},variant24:(a,l)=>{var c,i;return`<path d="M498 134c4 0 8 0 12 2 3 1 4 5 3 8-1 2-4 4-7 5l-8 9a98 98 0 0 1 62 1c14 5 28 12 40 21 10 7 20 15 31 21 14 8 30 14 46 17l40 8c19 3 37 8 54 17 15 7 30 16 40 29 7 10 9 22 5 34-5 11-15 19-22 29-2 4-6 9-6 13 1 5 6 9 9 12l34 19c8 5 15 11 20 19 6 7 9 16 8 25 0 6-2 13-5 18-3 7-10 12-16 17l-21 22c-6 8-11 20-7 30 2 5 4 11 10 13l21 10c23 15 38 43 38 71 0 19-7 37-20 51a62 62 0 0 1-47 18c-4-1-8-1-12 1-6 2-9 9-9 16 2 14 8 27 11 41 2 10 2 21-1 32-3 8-7 16-13 22-7 6-16 10-26 10-11 0-21-5-32-8a58 58 0 0 0-51 15c0 8 4 16 12 20 3 2 6 1 10 1 2 0 3 3 3 5-1 5-3 10-6 14a104 104 0 0 1-54 30l-15 1c-9 1-19 0-29-1-24-2-49-6-74-7-12 0-25 3-37 4l-17 4-29 4a264 264 0 0 1-103-15c-9-4-17-8-23-15-8-7-12-18-12-28l4-24c1-4 1-10-2-13-4-5-10-9-16-10-8-2-17-3-23-8-7-4-9-12-9-19-1-12 4-23 10-34l20-31 4-12 5-40c-9-5-19-10-27-17-6-4-10-9-14-15a72 72 0 0 1-15-44c-1-7 1-15-2-22-2-8-8-12-12-19l-15-20c-6-10-10-22-13-33-7-26-8-54 0-79 7-21 19-40 35-55l34-28 11-14c5-10 8-20 15-29 8-14 23-24 38-29 7-2 15-4 22-3 8 2 15 4 22 8a150 150 0 0 1 80-87c13-5 27-9 41-8Z" fill="${p(`${l.hair}`)}"/>${null!==(i=null===(c=a.head)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}<path d="M507 135c3 0 6 2 7 6 0 4-4 6-6 8-4 2-7 5-10 9a99 99 0 0 1 60 1c15 5 29 12 42 21 10 7 21 15 32 21 8 5 17 9 26 12 18 6 36 8 55 12a226 226 0 0 1 82 32c8 6 15 13 19 22 5 9 5 21 0 30-5 10-14 17-20 26-2 4-6 9-6 13 1 5 5 8 8 11 15 11 34 17 47 30 10 8 17 20 16 33 0 8-3 17-8 23-5 7-12 13-18 19-8 7-16 15-21 24-3 7-5 17-1 24 3 8 12 13 19 16 5 2 10 4 14 8 1 3 1 7-1 10-5 6-13 11-21 13-16 5-33 4-49-1-13-3-24-8-34-16-9-6-16-15-21-25-10-16-13-35-14-54v-33l-1-6c-6-5-13-9-21-10-11-2-22-3-33-8-7-3-12-9-16-15s-5-13-7-20l-6-17c-1-4-5-8-10-11-4-3-10-2-14-1-7 3-14 5-22 5-15 0-31-2-45-10-8-5-14-13-17-22-4-7-4-14-6-22-6 8-12 17-21 23 5 17 2 35-7 50-7 13-17 24-28 34l-31 22c-18 13-36 24-50 41-6 9-13 20-13 31 0 6 4 9 6 14 4 7 6 17 5 25-3 11-12 20-16 30-3 9-5 19-2 28 2 8 7 15 14 19l13 5h11c3 0 4 3 3 5l-5 8-17 7c-9 3-19 4-29 4-8 0-17-2-25-4-9-3-18-8-27-13-7-4-15-9-21-15a76 76 0 0 1-24-60c0-6 0-11-2-17-2-8-8-12-12-19l-14-19a153 153 0 0 1-15-108 129 129 0 0 1 41-65l29-23c5-4 8-9 11-15 6-9 9-19 15-28 8-14 23-24 39-29 6-2 14-4 21-3 8 2 15 4 22 8a149 149 0 0 1 74-84c6-3 12-6 18-7 12-4 25-5 38-3Z" fill="${p(`${l.hair}`)}"/>`},variant23:(a,l)=>{var c,i;return`<path fill-rule="evenodd" clip-rule="evenodd" d="M558 223a340 340 0 0 0-141 0h-5c-23-1-46 3-67 12-23 10-42 25-59 43-27 30-47 67-61 104a538 538 0 0 0-26 96c-13 34-24 68-33 103-7 27-12 55-12 82 0 19 2 37 8 55 6 16 15 32 29 42l5 3 3 2v1c5 24 9 47 16 71l1 4 4 14c1 2 4 1 5-1l1-7-1-3a822 822 0 0 1-2-69c3 16 9 32 17 47l15 19a38 38 0 0 0 17 12c2 0 4 1 6-1l-1-9-1-6 2 1c12 8 25 15 40 17h20c7 0 13-3 20-5 26-5 53-8 79-11a417 417 0 0 1 125 4h1c8 7 17 10 28 12 16 3 33 3 49 0 4-1 10-2 14 0l2 1c2 1 3 3 6 2 5-1 9-7 12-11 6-10 10-22 13-33v-1l2 9c2 6 3 13 3 19v17c5 0 8-2 11-5 5-4 8-10 10-16 3-13 5-25 6-38a841 841 0 0 0 0-45l2 8c3 17 6 34 4 51l-8 26-1 3-2 4c3 0 5-3 7-4 6-7 9-16 11-25 3-8 4-17 3-26 0-20-3-38-7-58v-1l-1-5c-3-16-6-32-6-48l2-16 1-10v-1l8 21 2 7c1 1 3 2 5 1l2-7 1-2c5-17 7-34 8-51a224 224 0 0 0-5-47c4 17 6 34 7 51v1c0 16 0 31-2 46l3-2v-2c6-11 8-24 8-36 1-14 1-29-1-43l-8-36-2-8a463 463 0 0 1-13-120l-1-27-3-1-1-25 1-6 1-2c1-4 6-7 10-5 4 3 4 7 4 11v17a2790 2790 0 0 1 3 54c4-5 7-12 9-18 6-18 6-38 4-56-2-14-7-27-15-38-9-14-22-26-35-37-16-14-35-26-55-35l-2-1-7-4 12 4 3 1c18 6 38 13 54 23 11 7 19 16 28 25l4 6 2 2h1c0-7-4-14-8-19-5-8-12-15-20-20-12-10-27-16-41-22-33-13-68-20-102-25l-11-2-14-2ZM191 541v-1c-11 38-22 76-24 115-1 22 2 44 9 65 5 12 12 24 22 33a906 906 0 0 1-9-193l1-9 1-10Z" fill="${p(`${l.hair}`)}"/>${null!==(i=null===(c=a.head)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}<path d="M492 216c35 0 70 7 103 17 23 6 45 14 66 24 23 12 45 25 63 44 15 13 27 28 35 46 3 8 5 17 6 26 1 13 0 26-2 39-2 10-6 22-13 30l-2-6c0-20-5-40-12-59 1 19-3 40-15 55-4 4-8 5-12 7s-9 2-13 2c-7-1-15-4-22-7-2-2-5-3-6-6-4-13-5-27-9-40l-6-17c-2 10-4 19-8 28-3 11-8 21-15 30l-8 7-3-14-4-17c-5-21-14-42-26-61v29c-2 16-3 31-10 45-3 7-4 14-10 18-8 4-18 5-27 5-13 0-28 2-41-1-6-2-8-7-11-12l-14-31-11-20c-2 22-2 43-1 64-1 2 0 4-2 5-1 2-3 1-5 0-9-4-16-11-23-18-9-12-19-24-25-37l2 17c3 12 7 24 12 35l2 8-5-2c-7-5-12-12-17-19-7-12-11-27-12-41-5 19-7 39-8 59l-2 10c-1 3-3 4-6 5l-33 5h-11a670 670 0 0 0 13 152l15 61c1 3 0 5-2 7-15-8-26-23-36-38v63l-3 6a245 245 0 0 1-64-94l-6-16a397 397 0 0 1-27-151c1-40 9-80 26-116a217 217 0 0 1 76-91l31-17c11-4 22-9 34-10 10-1 21-3 31 0 4 1 8-1 12-2 20-4 41-6 61-6Z" fill="${p(`${l.hair}`)}"/>`},variant22:(a,l)=>{var c,i;return`<path d="M534 142c7-1 14-1 21 1s14 6 18 12c7 8 9 18 9 28l31-16c20-9 43-15 65-14 12 1 24 4 34 11 9 6 16 17 16 28 0 8-4 16-8 23-9 15-22 28-36 38 8 6 14 15 14 26 1 7-2 13-5 19 8 14 16 29 18 45 2 12-2 24-8 35-6 10-15 18-26 21-2 0-3-2-4-4l-4-18c-4-19-9-37-15-56-9 1-17 1-26-1-8-2-16-4-23-9a85 85 0 0 1-62 30c-14 0-29-7-41-15-10-7-19-14-23-26l-25 14-41 17-33 14c-10 4-19 10-27 18-6 6-11 13-14 21l-1 13c-3 8-7 13-11 20-8 10-13 23-15 36-3 16-2 34 2 50 2 11 6 21 7 32 4 3 9 6 12 10l-17-1-13-3-2 2c9 3 19 5 27 11 3 3 6 5 8 9-8 0-15 0-22-2-9-2-17-4-25-8-4 2-8 7-13 7-6-2-10-8-14-12-5-4-9-10-12-15l-7-14-10-26a220 220 0 0 1 5-119c7-22 15-44 27-64 15-24 38-44 63-57 12-6 25-12 39-14 1-12 7-24 17-32a74 74 0 0 1 81-4c4-15 12-27 23-37 12-13 29-22 46-24Z" fill="${p(`${l.hair}`)}"/>${null!==(i=null===(c=a.head)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}<path d="M534 142c7-1 14-1 21 1s14 6 18 12c7 8 9 18 9 28l31-16c20-9 42-14 64-14 12 1 25 4 35 11 9 6 16 17 16 28 0 8-4 16-8 23-9 15-22 28-36 38 9 7 15 18 14 30-1 8-6 17-11 23-7 8-17 12-27 14a76 76 0 0 1-55-9c-7 9-15 16-25 21-13 7-27 11-42 9-17-3-32-11-45-22-6-5-11-11-14-19l-23 13-44 19c-15 5-30 11-43 19-12 7-24 18-29 31-3 6 0 13-3 18-3 7-7 11-11 17-6 10-11 22-14 33-3 18-2 36 2 53 2 11 6 21 7 32 4 3 9 6 12 10-11 0-21-2-31-4a206 206 0 0 1-53-16c-3 0-4-3-6-5l-9-24c-6-21-6-42-6-64a265 265 0 0 1 37-122c15-24 38-44 63-57 12-6 25-12 39-14 1-13 7-24 18-32 12-10 28-14 43-14 13-1 25 4 37 10 3-14 11-26 21-35 12-14 30-24 48-26ZM289 541c9 1 18 4 27 7 6 2 13 6 18 11l2 4c-9 1-18-1-26-3s-17-5-24-10c-2-1-5-3-4-6s4-3 7-3Z" fill="${p(`${l.hair}`)}"/>`},variant21:(a,l)=>{var c,i;return`<path fill-rule="evenodd" clip-rule="evenodd" d="m555 134-4-1-18 3a266 266 0 0 0-97 46c-12 8-23 18-32 29a121 121 0 0 0-43-36l-17-9-7-2c-2 0-4 3-5 5 0 3 2 7 4 10l4 6 8 13 12 17 11 15a248 248 0 0 0-21 9l-14 7-10 5c-10 4-20 10-29 15l-4 2-19 12-3 3c-10 7-20 13-28 22-10 10-19 21-25 34a203 203 0 0 0-21 76l-1 6-4 38v75c0 10 1 20-1 29l-8 53c-6 31-11 62-13 94a185 185 0 0 0 38 138l11 8-3-6-4-5-8-18-2-3a291 291 0 0 1-16-51 206 206 0 0 0 52 79c9 8 19 15 31 18 4 0 7 0 9-3v-8l-1-7-2-9c14 11 29 18 46 21 10 3 21 2 31 0l14-1 8-1 49-4a1209 1209 0 0 1 118-8c15 1 30 4 45 7h10l6-1c13-2 25-5 38-9a179 179 0 0 0 46-25 164 164 0 0 1-19 44l-3 5c6 2 11 4 16 3 14-2 25-10 36-18l6-3 5-2a134 134 0 0 0 59-55c12-22 20-48 21-74 0-23-3-45-10-67l-14-37-3-9a2009 2009 0 0 1-20-53 455 455 0 0 1-21-75v-1c3-16 5-33 5-50-1-16-6-31-12-46a276 276 0 0 1 42 92 241 241 0 0 1 3 74c0 5-1 11 2 15l4-5 4-9 2-7c11-25 15-54 13-82-2-35-14-70-33-100-20-34-47-62-78-86a353 353 0 0 0-215-71l21-22v-1a140 140 0 0 1 41-34l13-7 6-6-2-1Zm215 484-6-14 1 4c3 20 7 40 8 61 2 27 2 54-2 80-3 21-8 43-19 62-5 10-12 19-19 28a174 174 0 0 0 61-120c0-18-2-36-7-54l-17-47Z" fill="${p(`${l.hair}`)}"/>${null!==(i=null===(c=a.head)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}<path fill-rule="evenodd" clip-rule="evenodd" d="m550 141 7-6c-5-3-10-2-15-1h-2c-25 6-49 14-71 26-25 14-47 30-65 51a119 119 0 0 0-40-34 390 390 0 0 1-22-12h-8c-2 2-2 5-1 7a36 36 0 0 0 5 11 707 707 0 0 1 22 31l11 17h-2l-17 8-6 3-12 6-19 10-11 6-23 13-1 1-25 17c-10 8-19 18-26 28-8 13-10 27-13 41l-1 4-6 45-3 33-1 20-2 32-1 21c0 15-2 30-3 44a4695 4695 0 0 0-3 44c0 27 1 54 6 81 3 15 9 30 16 44a115 115 0 0 0 28 39l6 5 7-7 24-37a296 296 0 0 0 61 80 255 255 0 0 0 44 30c3 1 6 3 9 2 2 0 2-2 2-4l-6-6-6-6a305 305 0 0 1-38-105 557 557 0 0 1-7-148c8 30 20 59 36 85l2 3 16 25 1 1c3 4 5 7 9 9l-2-9-1-4a452 452 0 0 1-14-208 366 366 0 0 0 134-130c11-15 21-30 30-46l6 4c4 24 2 47-1 70v8c-3 20-8 39-17 57l-1 3-3 5c2 1 3 2 5 1 4-1 6-4 9-7l16-31c11-29 13-60 12-90a406 406 0 0 1 71 83 273 273 0 0 1 25 68 257 257 0 0 1-3 134c-1 3-2 6-1 9 5 0 9-3 12-6 6-6 11-14 16-21l1-1a204 204 0 0 0 33-75 582 582 0 0 0 10-84c-1-16-5-30-11-45a287 287 0 0 1 44 110c2 15 3 31 2 46v6l-1 11v2c0 3 0 5 3 7l3-7 4-7 2-6c11-26 15-56 13-85-3-37-16-73-36-103-20-31-46-58-75-80a357 357 0 0 0-215-72l5-5 25-28a122 122 0 0 1 32-24l12-7ZM438 385c16-23 32-47 45-72l-6 6-17 16a234 234 0 0 0-63 104c15-16 29-35 41-54Z" fill="${p(`${l.hair}`)}"/>`},variant20:(a,l)=>{var c,i;return`<path d="M533 126c2 2 0 5-1 7-6 16-19 26-34 35-17 12-37 19-57 25l7-1c23-4 47-7 70-14 22-7 43-17 63-27 6-3 11-7 17-9 4-2 8 1 9 5 2 6 0 13-2 19-4 13-11 24-20 33l31 10c28 12 53 28 80 40 13 6 27 13 41 16 11 3 22 4 34 4l16-1c2 1 4 1 4 3 1 5-1 11-3 16-4 10-10 19-17 28-9 13-21 24-35 32 6 9 11 17 19 24 10 11 23 19 37 24l5 2c1 2 0 3-1 4-2 4-6 6-10 8-8 2-16 4-24 4 4 16 4 33-3 48l-8 13c3 14 8 27 17 39 4 6 10 11 15 16l4 4c-2 3-2 6-5 8-5 7-13 11-21 14 15 15 24 35 28 55 2 11 2 24-3 34-1 3-4 7-7 7-1 0-2-1-1-2l1-9c1-8-1-16-3-24-2-11-6-21-12-31l-6-9c5 16 6 32 3 48a84 84 0 0 1-46 66c5 8 12 16 22 20 6 3 13 5 20 6l6 1c2 3-3 5-4 7-5 7-12 12-19 17-14 8-29 12-45 14l14 2c11 1 21-1 31-5 2 0 5-2 6 0s-2 6-4 7c-9 9-22 13-35 14s-27-3-38-10c-3 6-8 11-12 16-7 7-14 13-23 18-14 7-30 11-45 9-9-1-19-4-27-10l-5-7c-14-7-29-15-44-20a149 149 0 0 0-94-2 359 359 0 0 0-66 25c-13 9-28 14-44 15-9 1-19 1-28-4 0-1-3-3-1-3a103 103 0 0 0 58-17c-13 4-26 6-39 6s-27-2-38-10c-3-3-8-6-9-10l15-6 21-9-15-3a99 99 0 0 1-47-35l-4-8c-1 4-2 7-5 10h-3c-8-2-13-8-17-15-6-11-11-23-14-35-3-13-4-27 0-41-7 2-15 2-22 1-9-1-19-4-25-12-2-4-5-8-6-13l1-1 1 1 9 6c6 3 12 3 18 2a69 69 0 0 1-32-59c0-5 1-10 3-14 2-3 7-4 9-1l7 8c5 4 11 8 18 7 5 0 11-1 15-4 5-3 9-8 11-13 3-9 5-17 5-26l-3-42-2-25c0-15-3-29-2-44 0-12 2-24 5-36 2-9 6-17 11-25l17-23c-11-1-23 0-34 3l-19 4c3-12 12-19 21-25l21-11c12-6 26-7 39-4-7-14-6-29-3-44 4-16 12-31 25-42 3-3 9-7 14-6l4-1c1 2-2 5-3 8-3 8-6 17-7 26-2 13-2 27 3 39l3 6 4-9 7-10c6-13 17-22 29-30 15-10 31-18 48-24 14-5 29-7 43-11 13-3 26-8 38-13a280 280 0 0 0 66-34c5-2 9-6 13-10Z" fill="${p(`${l.hair}`)}"/>${null!==(i=null===(c=a.head)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}<path d="M604 142c4 3 4 10 3 15-3 16-11 31-22 42 24 6 46 16 68 28l37 19c14 7 29 15 45 19 10 3 21 4 31 4l18-1 7 1v11c-2 7-6 14-10 21-11 18-25 34-43 45l-12 6c13 10 28 21 36 36 2 3 5 8 3 12-4 4-11 5-16 6-10 1-21 2-31 1-18-2-35-5-52-9-26-6-51-14-73-28l10 17c1 2 3 6 0 8-4 3-9 5-14 5a176 176 0 0 1-160-53c-2 11-5 23-9 34-2 6-5 13-10 18l-6 5-14-10c-7-7-12-15-16-24-7 15-17 27-28 40l-23 24-14 13-2 2-6 42c-1 20-1 40 1 60 0 3 1 8-2 10-2 2-5 1-7 0l-17-6c-13-7-25-17-35-28a241 241 0 0 1-34-74 165 165 0 0 1 52-162c-7-5-11-11-13-19a81 81 0 0 1 25-77c4-3 9-7 14-6l5-1-5 13c-6 15-9 31-6 48 1 6 3 13 6 18l5-11c6-7 14-14 22-19 21-14 44-23 67-31 22-7 45-11 68-14 24-4 49-7 72-14 20-7 40-16 60-26 6-3 11-7 17-9 2-2 5-3 8-1Z" fill="${p(`${l.hair}`)}"/>`},variant19:(a,l)=>{var c,i;return`<path d="M530 219a446 446 0 0 1 133 39c20 11 40 23 57 39 10 9 19 18 27 29 9 12 15 26 17 41 2 18 2 37-4 55-2 7-5 14-10 20l-2-5c0-21-4-41-12-60l-1 19v23c0 15 2 31 5 46l13 70 12 75c3 24 5 46-1 69-3 12-7 23-14 33-3 6-7 10-11 15l-6 2 1-12c2-16 1-31 0-46l-7 12c-7 11-15 20-24 28-11 9-22 17-35 22l-17 4c-19 5-39 4-59 0-36-7-71-17-107-24l-32-4h-39l-42 3c-7 8-16 11-26 14-12 2-25 1-36-4-17-6-30-17-41-31l7 16c2 2 5 6 4 9-1 2-3 2-5 3-7 3-15 1-21-2-16-7-29-19-39-32a214 214 0 0 1-40-115l-1 27c0 16 3 32 8 47 4 11 9 20 12 31l-4-2-7-12c-12-21-17-48-17-72 0-33 10-65 21-96l19-61 11-44c4-15 9-29 15-43a196 196 0 0 1 98-103c11-5 21-10 33-13 14-4 28-6 43-6 5-1 9 0 13 1 5 1 10-2 14-2 32-7 65-7 97-3Z" fill="${p(`${l.hair}`)}"/>${null!==(i=null===(c=a.head)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}<path d="M492 216c35 0 70 7 103 17 23 6 45 14 66 24 23 12 45 25 63 44 15 13 27 28 35 46 3 8 5 17 6 26 1 13 0 26-2 39-2 10-6 22-13 30l-2-6c0-20-5-40-12-59 1 19-3 40-15 55-4 4-8 5-12 7s-9 2-13 2c-7-1-15-4-22-7-2-2-5-3-6-6-4-13-5-27-9-40l-6-17c-2 10-4 19-8 28-3 11-8 21-15 30l-8 7-3-14-4-17c-5-21-14-42-26-61v29c-2 16-3 31-10 45-3 7-4 14-10 18-8 4-18 5-27 5-13 0-28 2-41-1-6-2-8-7-11-12l-14-31-11-20c-2 22-2 43-1 64-1 2 0 4-2 5-1 2-3 1-5 0-9-4-16-11-23-18-9-12-19-24-25-37l2 17c3 12 7 24 12 35l2 8-5-2c-7-5-12-12-17-19-7-12-11-27-12-41-5 19-7 39-8 59l-2 10c-1 3-3 4-6 5l-33 5h-11a670 670 0 0 0 13 152l15 61c1 3 0 5-2 7-15-8-26-23-36-38v63l-3 6a245 245 0 0 1-64-94l-6-16a397 397 0 0 1-27-151c1-40 9-80 26-116a217 217 0 0 1 76-91l31-17c11-4 22-9 34-10 10-1 21-3 31 0 4 1 8-1 12-2 20-4 41-6 61-6Z" fill="${p(`${l.hair}`)}"/>`},variant18:(a,l)=>{var c,i;return`<path fill-rule="evenodd" clip-rule="evenodd" d="m489 157-8-1h-7l-9 1a154 154 0 0 0-65 27 127 127 0 0 0-43 55c-6-4-12-4-19-5l-4-1c-12-1-25 2-35 8l-17 16-17 25-17 26-18 20c-13 14-24 28-33 45a100 100 0 0 0-12 57v14c0 9-2 17-6 25-5 7-10 15-16 21-15 18-26 39-29 62-1 11 0 22 3 33 2 7 5 15 10 21a51 51 0 0 0 27 15c3 1 5 1 7 3 6 6 13 10 20 13-4 8-8 15-10 24a113 113 0 0 0 0 78c1 4 4 8 8 12l-2-5-2-8-1-16v-1l1-21 2-14 2-9-1 7c0 8-1 15 1 24 1 11 7 22 15 31 10 12 24 21 39 26 10 4 22 6 32 3-3-3-4-8-5-12l-1-1c-3-14 0-29 4-43 5 13 14 25 24 36 7 9 16 18 27 21 9 3 19 4 28 2h19a1567 1567 0 0 0 61-3c32-1 64 1 95 6l23 4a507 507 0 0 0 26 5c5 1 10 3 15 2l9 1h7c20 2 41-4 59-11 12-5 24-11 34-20 8-6 15-13 18-23l3 3 11 13 2 4 1 4c1 1 4 2 6 1l3-2 10-10c6-10 9-21 8-32l1 2c3 4 6 9 8 15l1 2 3 6c2-7 3-13 2-20-2-16-12-31-25-40a232 232 0 0 0 55-28 46 46 0 0 0 13-16l3-6c3-2 5-4 6-8l-6 2-7 3a29 29 0 0 1-34-18c-3-9-2-18 1-26 4-10 10-19 18-26l12-12c11-10 21-20 30-33 8-11 13-25 13-39a346 346 0 0 1-3-16c6 7 11 15 11 25s-5 20-10 28l-16 22-5 5-6 7c5-1 9-3 13-6h1c14-9 25-23 32-38 4-8 6-17 5-26-2-11-8-22-16-30-12-14-27-25-43-34l-30-15c-8-4-16-8-22-14-6-5-12-12-15-19l-7-16c-3-7-4-14-4-21l-3-13c-1-9-5-17-10-24-6-8-14-13-23-18l-36-19c13-1 28 1 41 6l16 10 1 1 4 1c1-6-4-13-9-16-10-10-25-14-38-16-14-2-27 0-40 4 10-16 16-35 15-54v-1c0-5-1-11-6-15l-2 7-5 12c-7 17-18 31-33 42l-18-6-9-2-13-4c-7-2-13-6-20-9l-2-1-11-7-11-6c-8-5-17-9-27-12-15-3-31-4-46 0l-20 8c9-8 20-16 31-22a55 55 0 0 1 12-4l4-3 1-1-1-1-4-3ZM161 523l2-9c-8 12-14 25-15 40-1 14 3 28 13 39a134 134 0 0 1 0-70Z" fill="${p(`${l.hair}`)}"/>${null!==(i=null===(c=a.head)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}<path d="m663 170 4 3c2 5 2 11 2 16 0 18-6 35-15 50 13-4 26-6 40-4 13 2 28 6 38 16 5 4 10 10 9 16l-6-3c-7-5-14-9-22-11-19-6-38-5-56 0l17 8c23 13 42 32 52 56 5 13 7 26 4 39s-9 26-17 36a151 151 0 0 1-51 42c-4 3-9 5-14 5l10-12c9-7 15-18 16-29 2-13 0-26-4-38-5-19-15-35-28-50 8 27 6 56-4 81-6 14-15 26-26 36-7 7-16 13-26 16-3 0-6 1-8-1l7-13c4-9 6-18 6-27 2-22-2-44-8-65l-5-18c1 20-1 39-8 57a94 94 0 0 1-61 56c-4 1-9 3-13-1 6-4 12-7 17-12 9-6 17-13 24-21l11-18c8-16 12-34 12-52-2 12-7 23-12 34-11 19-24 36-40 51-14 14-30 25-49 31-4 1-8 2-11 1l-4-2c0-7 3-13 4-19 4-16 7-32 7-48a181 181 0 0 1-56 65c-16 11-32 20-50 27a253 253 0 0 0-1 89c4 20 14 39 27 54l4 5c-6 0-9-4-13-7a97 97 0 0 1-30-46l2 37c0 5 1 10-1 15l-4-3-11-7c-10-7-19-14-27-23-11-12-19-27-23-43l-3-6c-14-13-27-28-36-45-10-19-16-39-17-60-2-32 7-63 24-90 19-31 48-55 79-73a354 354 0 0 1 280-28c3 1 6 4 10 2a102 102 0 0 0 52-63l2-6Z" fill="${p(`${l.hair}`)}"/>`},variant17:(a,l)=>{var c,i;return`<path fill-rule="evenodd" clip-rule="evenodd" d="M512 165c2-3 2-7-1-8l-7 1-2 1-22 11c-27 16-50 39-67 64l-4 3h-2c-12 4-24 8-36 10l-6 1c-7 1-15 2-22 5-20 7-39 18-54 33l-8 9-14 13c-16 18-29 38-41 59a356 356 0 0 0-40 155c0 18-1 37 1 55 2 21 6 43 15 63a150 150 0 0 0 53 62l6 4 10 9c-3 12-6 24-14 34a69 69 0 0 1-37 23c-9 3-18 5-27 4 0 2 3 4 5 5 11 5 21 4 32 1l-30 16-4 1-17 6h-1l-3 3c-1 2 0 4 1 6l11 10c10 6 20 12 31 15 20 8 42 9 63 4 12-2 22-8 32-15 3 9 12 13 21 13l8-1 13-2 31-7 50-11 32-3h42c18 0 36 3 54 8l11 4c7 3 14 6 23 7 17 2 34-3 49-10 5-2 8-4 11-9a131 131 0 0 0 76-15c2-1 4-4 2-6l-4-4-2-1a168 168 0 0 1-54-71c-4-11-8-24-6-36 0-5 2-9 6-12l7-2h1l-3-60c28-27 51-60 62-99l-1 12a112 112 0 0 1-36 67c-2 2-4 4-7 4 0 3 2 5 4 6 6 1 12-2 16-5 14-9 26-22 32-38 8-20 11-43 11-64 0-25-3-50-8-74-3-12-5-23-9-34v-7c5-19 4-40-2-59-7-25-22-46-42-62-10-9-22-16-35-22a183 183 0 0 0-82-15l6-3 10-4c14-5 29-8 44-9a118 118 0 0 1 32 2l4 1 8 1v-2c0-2-1-5-3-6l-16-10c-13-5-25-9-38-12-24-6-50-4-74 0-21 3-41 10-60 18l-8 4-10 5 14-23 13-14 3-1 3-2ZM208 482l1-9-3 13a382 382 0 0 0-2 114 160 160 0 0 0 39 78 304 304 0 0 1-36-189l1-7Z" fill="${p(`${l.hair}`)}"/>${null!==(i=null===(c=a.head)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}<path d="M631 178a213 213 0 0 1 54 22c3 2 3 5 4 8l-13-2c-10-1-20-3-30-2-22 1-43 6-62 16 16 0 31 0 47 4 29 6 56 18 77 39 17 16 30 36 36 59 5 19 6 39 1 59a127 127 0 0 1-73 84l-20 9-5-2c1-10 4-18 6-27l2-24c0-11-2-22-4-33l-9 20c-9 17-24 32-41 41-12 8-27 13-41 17-18 5-37 7-56 9h-19c-3 0-3-2-5-4l7-10c5-9 11-18 15-28l7-25c4-14 5-28 5-43a299 299 0 0 1-108 125c-12 8-26 13-39 18-6 2-11 4-17 1l2-13 4-30c-7 15-13 32-16 49-5 28-1 55 5 83l2 15c-8 2-16 1-24-2-26-10-49-32-59-59 0-4-4-4-6-6-10-5-18-14-23-23-9-14-15-31-17-48a204 204 0 0 1 30-136c11-20 25-37 41-53a146 146 0 0 1 75-38 432 432 0 0 0 57-16c27-10 51-24 77-36a229 229 0 0 1 133-18Z" fill="${p(`${l.hair}`)}"/>`},variant16:(a,l)=>{var c,i;return`<path fill-rule="evenodd" clip-rule="evenodd" d="M629 155c-11-6-24-9-37-9-17 1-34 4-50 11-19 9-38 22-49 40-5 7-10 16-9 25a91 91 0 0 0-47-16c-28-3-56 4-81 14a286 286 0 0 0-162 190l-2 3a342 342 0 0 0-41 198 370 370 0 0 0 51 158 3136 3136 0 0 0 19 111c2 3 3 7 7 8l6 1 6-3c8-9 14-19 20-30 5 7 11 13 20 16 11 3 24 3 35-1h6l2-1c12 0 24-2 35-4a761 761 0 0 1 52-8l17-2 39-6a598 598 0 0 1 94 1l4 1c11 1 21 2 31 5l6 2 16 5c8 4 16 6 25 5 18-1 35-7 50-17 7-4 13-10 13-19l5 4c9 7 19 14 29 16h11l-3-10-1-4c-12-27-19-58-19-88a851 851 0 0 1 9-113l5-52 2-24a620 620 0 0 0 2-121l-3-23-2-15v-3l-2-18-1-9 1-5a151 151 0 0 0-62-125 180 180 0 0 0-74-32l12-1c24 1 48 5 70 14a106 106 0 0 1 57 53l5 16 1 4 2-2c1-14-3-28-10-40-8-12-17-23-28-31-20-16-46-24-71-27-25-4-52-4-76 4l-27 11-14 7c5-12 14-22 24-31 8-6 17-12 26-15a109 109 0 0 1 57-5l6 1c3-1 5-6 3-9l-6-3-4-2ZM188 463h-1a333 333 0 0 0-19 109 377 377 0 0 0 30 151l-3-28-2-13a1288 1288 0 0 1-8-169v-3l1-33v-5l2-9Z" fill="${p(`${l.hair}`)}"/>${null!==(i=null===(c=a.head)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}<path d="m618 150 17 7c2 2 5 4 5 7-1 3-4 6-7 5-10-3-21-3-32-2a95 95 0 0 0-80 57 127 127 0 0 1 100-9c19 6 37 15 54 26a153 153 0 0 1 62 138c-2 16-6 31-14 45-6 10-13 18-22 25s-18 11-27 16c-5 2-11 4-16 3l-4-1v-10c-1-13-4-27-7-40-6-22-14-43-24-64-8-14-16-30-28-41 10 21 15 45 13 69-1 19-6 37-12 55-7 17-16 34-29 48-6 6-14 12-22 13l6-12 7-27c2-13 4-26 4-39a158 158 0 0 1-59 78c-5 3-12 6-19 7-3 0-5-3-4-6l7-9c11-16 20-33 27-51 9-22 12-45 12-68a362 362 0 0 1-48 78c-15 15-31 27-50 37l-26 13c-4 1-8 3-11 0a783 783 0 0 0 13-72c1-18-1-36-4-54-1 8-4 16-8 23-9 18-23 34-38 48l-1 5c-2 14-3 29-2 43 1 15 4 28 8 42 2 8 6 15 9 23 1 2 2 4 1 7s-4 4-7 4a96 96 0 0 1-61-13c-3-2-5-5-10-5-28-1-56-13-75-34-13-16-20-36-23-56-3-29 2-57 12-84a281 281 0 0 1 149-155c26-10 55-17 83-14 16 1 34 6 47 16-1-9 3-17 8-24a128 128 0 0 1 78-49c15-3 33-4 48 1Z" fill="${p(`${l.hair}`)}"/>`},variant15:(a,l)=>{var c,i;return`<path fill-rule="evenodd" clip-rule="evenodd" d="M668 255a406 406 0 0 0-207-40c-18 2-36 4-53 11-20-2-39 2-58 9-11 4-21 8-31 14a206 206 0 0 0-79 85l-10 16-15 27c-8 18-14 35-18 54l-7 40-5 32a625 625 0 0 1-31 109l-6 19c-8 26-14 54-15 81-1 22 2 45 11 65 5 10 12 20 21 27 9 6 19 8 30 9l10 14 7 10 7 10c8 9 18 16 28 21h9c3-2 3-6 4-9v-24c15 16 36 29 59 31 12-1 25-2 37-5 2-1 4 0 6 1h2c11 6 24 10 37 9 3 0 6-1 8-3 1-2 1-3-1-5-6-3-10-7-15-12 32-8 65-13 98-11 26 1 52 6 77 12l18 3c9 3 17 5 26 5 21 1 42-6 60-17 19-11 36-24 50-41l-11 22-6 8a332 332 0 0 0-7 13c4 0 6-1 9-3l1-1c14-11 25-26 32-42l8-26c9 16 16 33 20 51l1 19a448 448 0 0 0 1 6c0 2 0 5 2 6h4c4-4 8-10 10-15a214 214 0 0 0 8-118l-1-11-5-29-3-19-5-24a766 766 0 0 1-6-38l-2-12v-2l-5-38v-3l-3-42 1-35v-8c2-16 4-34 0-49-2-10-6-19-11-28-4-9-9-18-17-24l-4-1 6 16 5 12c6 20 7 42 6 63l-4-11v-2l-19-53a1549 1549 0 0 0-42-99l-11-22-1-3c-1-2-2-5-5-5ZM197 532l2-20-4 17-1 3c-9 32-19 63-30 94v2c-10 28-17 57-19 87-2 18 0 38 6 55 4 10 10 21 19 28 6 5 13 7 21 9l-2-4a158 158 0 0 1-21-83c1-30 5-59 10-88l6-27 7-34 6-38v-1Z" fill="${p(`${l.hair}`)}"/>${null!==(i=null===(c=a.head)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}<path fill-rule="evenodd" clip-rule="evenodd" d="M669 255a406 406 0 0 0-196-41 247 247 0 0 0-66 12c-14-2-29 0-42 4-26 8-50 24-70 42-33 29-58 65-73 106-8 22-13 45-13 68 0 20 5 40 16 58a74 74 0 0 0 36 30l2 2a741 741 0 0 0-3 53c-2 26-2 53-1 79 2 29 5 60 14 89 5 17 12 34 22 49 14 22 34 39 57 51 15 8 32 15 49 14 3 0 7-1 9-3 1-3-2-4-4-6l-2-1c-14-10-22-24-30-39-14-29-25-60-29-92-4-39-4-79-3-118v-1l1-39 2-61c10-2 19-6 27-11 13-6 24-16 34-26a178 178 0 0 0 55-117l1-22v-3a968 968 0 0 0 150 92 515 515 0 0 0 130 40l3 1 5-1 15-16v-1l2-4c3-25 0-52-8-76-12-39-37-73-69-98v-1c-7-5-13-10-21-13ZM442 373l-6 11-1 4c-12 22-25 43-44 60l-23 16c-6 5-13 8-21 11l-1 6v11l4-2h2c10-4 19-10 27-17 14-11 27-24 37-40 11-15 18-33 23-51l1-3 2-6Z" fill="${p(`${l.hair}`)}"/>`},variant14:(a,l)=>{var c,i;return`<path fill-rule="evenodd" clip-rule="evenodd" d="M427 120c21 3 42 9 58 23 11 8 23 20 27 34 1-10 0-20-2-30-2-8-7-13-13-19 1-3 5-2 7-1 12 6 20 18 24 30 3 10 3 20 0 29-3 13-11 22-21 31a391 391 0 0 1 212 79l25 25c10 14 18 29 20 46 2 18 2 37-4 55-2 7-5 14-10 19l-3-1c7 22 10 45 13 67a1185 1185 0 0 1 6 77c-1 22-4 45-10 67-4 12-10 24-17 35l-5 4-1-7-6-31c-4 9-10 18-17 26-5 6-11 10-18 14l-3 3-9 6c-16 9-33 16-50 21a569 569 0 0 1-207 15v-1h-8c-19-3-38-8-55-15l-5-2-6-3c-6 6-11 12-15 19s-6 16-7 24c0 9 2 18 5 26v1l1 1c0 1 1 3-1 3-5-2-10-8-13-13-6-8-9-19-8-29 2-16 10-30 22-41l-11-7v1l-1 14-2 3-1 1-14-13c-18-19-33-41-43-65l-6-10-3-4a296 296 0 0 1-11-298c-8-11-11-25-11-39a115 115 0 0 1 63-106c6-4 14-6 21-7l1-1h4l4-7 2-4c11-17 28-31 47-39 17-7 36-8 55-6Zm-6 15c21 2 42 9 58 23 8 6 14 14 18 23a89 89 0 0 0-36-25c-17-7-36-11-54-12a118 118 0 0 0-51 6c19-12 42-17 65-15Zm316 243-1-1c0 8 0 16-2 24l2 6v2c5 10 9 20 11 31 2-3 1-6 1-10v-3a171 171 0 0 0-11-49Z" fill="${p(`${l.hair}`)}"/>${null!==(i=null===(c=a.head)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}<path d="M492 216c35 0 70 7 103 17 23 6 45 14 66 24 23 12 45 25 63 44 15 13 27 28 35 46 3 8 5 17 6 26 1 13 0 26-2 39-2 10-6 22-13 30l-2-6c0-20-5-40-12-59 1 19-3 40-15 55-4 4-8 5-12 7s-9 2-13 2c-7-1-15-4-22-7-2-2-5-3-6-6-4-13-5-27-9-40l-6-17c-2 10-4 19-8 28-3 11-8 21-15 30l-8 7-3-14-4-17c-5-21-14-42-26-61v29c-2 16-3 31-10 45-3 7-4 14-10 18-8 4-18 5-27 5-13 0-28 2-41-1-6-2-8-7-11-12l-14-31-11-20c-2 22-2 43-1 64-1 2 0 4-2 5-1 2-3 1-5 0-9-4-16-11-23-18-9-12-19-24-25-37l2 17c3 12 7 24 12 35l2 8-5-2c-7-5-12-12-17-19-7-12-11-27-12-41-5 19-7 39-8 59l-2 10c-1 3-3 4-6 5l-33 5h-11a670 670 0 0 0 13 152l15 61c1 3 0 5-2 7-15-8-26-23-36-38v63l-3 6a245 245 0 0 1-64-94l-6-16a397 397 0 0 1-27-151c1-40 9-80 26-116a217 217 0 0 1 76-91l31-17c11-4 22-9 34-10 10-1 21-3 31 0 4 1 8-1 12-2 20-4 41-6 61-6Z" fill="${p(`${l.hair}`)}"/>`},variant13:(a,l)=>{var c,i;return`<path d="M663 170c2 0 3 2 4 3 2 6 3 12 2 18 0 17-6 33-14 48l10-3a86 86 0 0 1 68 15c4 3 9 10 8 16l-3-1-12-8c-8-4-16-7-24-8-14-2-28-1-41 2 16 5 29 14 42 24a172 172 0 0 1 53 94c3 14 4 27 5 41 1 20-1 42-2 62 0 16 1 32 4 48 3 11 7 21 12 30 7 11 14 22 23 31 11 13 24 24 32 39 8 16 13 34 13 52 0 12-1 24-5 36-1 3-1 7-4 8-2 2-4 0-4-3 3-13 4-27 4-41-1-18-7-34-17-49s-26-25-39-39l11 24 7 14c12 21 18 43 21 67 1 13 1 26-2 38-2 9-6 18-10 26l-11 13c-2 2-4 2-5 5-2 2-4 3-7 2-2-2-2-4-1-6 3-9 1-19-2-28-2 13-7 25-14 35-9 13-19 25-32 33-7 6-15 11-23 14-7 2-14 4-21 1-2 0-5 1-6-2v-11c-15 8-30 16-46 19-9 3-18 4-27 3-12 0-23-2-34-7-4-2-9-2-13-3-26-5-52-6-78-6-38-1-75 2-113 6l-17 1-17 1c-29 2-57 0-84-9-14-4-26-11-37-20-2 5-1 9-2 14l-1 8c-3 3-7 3-10 2-8-2-13-7-19-12-9-6-16-15-20-25l-7-21c-4-18-2-36 0-54 2-15 4-30 8-44-9 22-15 47-17 71-2 23 2 46 10 68 1 2 3 5 1 7h-4c-3-1-4-5-6-7a176 176 0 0 1-11-78c2-25 9-49 17-73l17-42c10-26 18-51 26-77 2-8 2-16 2-24l3-47c2-16 4-33 9-49l5-20c5-23 15-45 29-64 20-28 47-49 76-66 47-25 100-38 152-41 44-1 90 4 131 19a105 105 0 0 0 55-66l2-4Z" fill="${p(`${l.hair}`)}"/>${null!==(i=null===(c=a.head)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}<path d="m663 170 4 3c2 5 2 11 2 16 0 18-6 35-15 50 13-4 26-6 40-4 13 2 28 6 38 16 5 4 10 10 9 16l-6-3c-7-5-14-9-22-11-19-6-38-5-56 0l17 8c23 13 42 32 52 56 5 13 7 26 4 39s-9 26-17 36a151 151 0 0 1-51 42c-4 3-9 5-14 5l10-12c9-7 15-18 16-29 2-13 0-26-4-38-5-19-15-35-28-50 8 27 6 56-4 81-6 14-15 26-26 36-7 7-16 13-26 16-3 0-6 1-8-1l7-13c4-9 6-18 6-27 2-22-2-44-7-65l-6-18c1 20-1 39-8 57a94 94 0 0 1-61 56c-4 1-9 3-13-1 6-4 12-7 17-12 9-6 17-13 24-21l11-18c8-16 12-34 12-52-2 12-7 23-12 34-11 19-24 36-40 51-14 14-30 25-49 31-4 1-7 2-11 1l-4-2c0-7 3-13 4-19 4-16 7-32 7-48a181 181 0 0 1-56 65c-16 11-32 20-50 27a253 253 0 0 0-1 89c4 20 14 39 27 54l4 5c-6 0-9-4-13-7a97 97 0 0 1-29-46c-1 12 0 24 1 37 0 5 1 10-1 15l-4-3-11-7c-10-7-19-14-27-23-11-12-19-27-23-43l-3-6c-14-13-27-28-36-45-10-19-16-39-17-60-2-32 7-63 24-90 19-31 48-55 79-73a354 354 0 0 1 280-28c3 1 6 4 10 2a102 102 0 0 0 52-63l2-6Z" fill="${p(`${l.hair}`)}"/>`},variant12:(a,l)=>{var c,i;return`${null!==(i=null===(c=a.head)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}<path d="M631 178a213 213 0 0 1 54 22c3 2 3 5 4 8l-13-2c-10-1-20-3-30-2-22 1-43 6-62 16 16 0 31 0 47 4 29 6 56 18 77 39 17 16 30 36 36 59 5 19 6 39 1 59a127 127 0 0 1-73 84l-20 9-5-2c1-10 4-18 6-27l2-24c0-11-2-22-4-33l-9 20c-9 17-24 32-41 41-12 8-27 13-41 17-18 5-37 7-56 9h-19c-3 0-3-2-5-4l7-10c5-9 11-18 15-28l7-25c4-14 5-28 5-43a299 299 0 0 1-108 125c-12 8-26 13-39 18-6 2-11 4-17 1l2-13 4-30c-7 15-13 32-16 49-5 28-1 55 5 83l2 15c-8 2-16 1-24-2-26-10-49-32-59-59 0-4-4-4-6-6-10-5-18-14-23-23-9-14-15-31-17-48a204 204 0 0 1 30-136c11-20 25-37 41-53a146 146 0 0 1 75-38 432 432 0 0 0 57-16c27-10 51-24 77-36a229 229 0 0 1 133-18Z" fill="${p(`${l.hair}`)}"/>`},variant11:(a,l)=>{var c,i;return`<path d="M586 147c15-1 29 1 42 8 4 2 8 2 11 5 2 3 1 7-2 9-3 1-6-1-9-2h-28a95 95 0 0 0-79 57c15-7 30-13 47-14 14-2 28-1 42 2 29 7 56 21 78 41 20 18 35 41 43 66l3 11c10 20 17 43 18 66 2 36-9 73-33 101-11 13-23 23-38 32l4 44 1 17a143 143 0 0 1-111 128c-17 4-35 6-52 5h-33c-23 1-47 7-69 15l-24 7c-11 3-23 1-34 3a79 79 0 0 1-57-22c-8 2-15 5-23 4s-16-4-20-11c3-1 6-2 9-5 5-5 6-12 5-19-1-16-7-29-14-43l-17-36-14-30-23-52a211 211 0 0 1-3-160 282 282 0 0 1 148-154c26-10 55-17 83-14 16 1 34 6 47 16-1-9 4-18 9-26 12-18 33-32 53-40 13-6 26-8 40-9Z" fill="${p(`${l.hair}`)}"/>${null!==(i=null===(c=a.head)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}<path d="m618 150 17 7c2 2 5 4 5 7-1 3-4 6-7 5-10-3-21-3-32-2a95 95 0 0 0-80 57 127 127 0 0 1 100-9c19 6 37 15 54 26a153 153 0 0 1 62 138c-2 16-6 31-14 45-6 10-13 18-22 25s-18 11-27 16c-5 2-11 4-16 3l-4-1v-10c-1-13-4-27-7-40-6-22-14-43-24-64-8-14-16-30-28-41 10 21 15 45 13 69-1 19-6 37-12 55-7 17-16 34-29 48-6 6-14 12-22 13l6-12 7-27c2-13 4-26 4-39a158 158 0 0 1-59 78c-5 3-12 6-19 7-3 0-5-3-4-6l7-9c11-16 20-33 27-51 9-22 12-45 12-68a362 362 0 0 1-48 78c-15 15-31 27-50 37l-26 13c-4 1-8 3-11 0a783 783 0 0 0 13-72c1-18-1-36-4-54-1 8-4 16-8 23-9 18-23 34-38 48l-1 5c-2 14-3 29-2 43 1 15 4 28 8 42 2 8 6 15 9 23 1 2 2 4 1 7s-4 4-7 4a96 96 0 0 1-61-13c-3-2-5-5-10-5-28-1-56-13-75-34-13-16-20-36-23-56-3-29 2-57 12-84a281 281 0 0 1 149-155c26-10 55-17 83-14 16 1 34 6 47 16-1-9 3-17 8-24a128 128 0 0 1 78-49c15-3 33-4 48 1Z" fill="${p(`${l.hair}`)}"/>`},variant10:(a,l)=>{var c,i;return`<path d="M663 170c1 0 3 1 3 3 3 4 3 10 3 15 1 18-5 36-15 51 13-4 26-6 40-4 13 2 28 6 38 16 5 3 10 10 9 16l-6-2c-7-6-14-10-23-13-18-5-37-4-55 1 11 4 22 10 31 17 17 13 31 30 39 50 5 13 6 27 2 40l-2 7 3 9a244 244 0 0 1-2 120c-6 22-13 44-22 64-10 24-21 47-29 73-6 16-9 33-9 51l2 12 5 24a59 59 0 0 0 27 32c7 5 15 7 23 9 11 3 23 4 34 1 4-1 7-3 12-3-7 7-16 10-24 13-19 4-37-1-54-8l16 19c7 7 14 14 22 19l6 4-3 1c-2 7-9 10-15 13-8 2-16 2-24 2-10-1-21-3-31-6-8-3-14-8-20-14-7 13-19 24-33 30-7 4-15 7-23 4h-13c-13 0-25-2-38-3-21-1-42-5-62-7-21-2-43-2-64-2-23 1-45 4-66 12l-9 4c-14 7-29 13-45 13-16 1-33-2-46-12-3-2-7-5-8-9-1-3 2-6 4-8 9-7 17-15 23-24a91 91 0 0 1-80 15c-6-3-14-6-18-12-3-2-4-5-2-9 8 8 20 11 31 11l22-2c-12-2-23-5-33-12-10-6-20-16-26-27-2-5-4-13-1-18 2-2 3-2 5-2 3 6 6 11 12 15 6 3 13 3 19 0 9-3 16-12 21-20a141 141 0 0 0 20-70c1-11 0-23-1-34-3-31-11-63-17-94a362 362 0 0 1-7-95 210 210 0 0 1 31-107c21-34 52-60 87-79 45-23 96-36 147-38 44-2 90 3 132 18 23-11 42-31 52-54l5-16Z" fill="${p(`${l.hair}`)}"/>${null!==(i=null===(c=a.head)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}<path d="m663 170 4 3c2 5 2 11 2 16 0 18-6 35-15 50 13-4 26-6 40-4 13 2 28 6 38 16 5 4 10 10 9 16l-6-3c-7-5-14-9-22-11-19-6-38-5-56 0l17 8c23 13 42 32 52 56 5 13 7 26 4 39s-9 26-17 36a151 151 0 0 1-51 42c-4 3-9 5-14 5l10-12c9-7 15-18 16-29 2-13 0-26-4-38-5-19-15-35-28-50 8 27 6 56-4 81-6 14-15 26-26 36-7 7-16 13-26 16-3 0-6 1-8-1l7-13c4-9 6-18 6-27 2-22-2-44-7-65l-6-18c1 20-1 39-8 57a94 94 0 0 1-61 56c-4 1-9 3-13-1 6-4 12-7 17-12 9-6 17-13 24-21l11-18c8-16 12-34 12-52-2 12-7 23-12 34-11 19-24 36-40 51-14 14-30 25-49 31-4 1-7 2-11 1l-4-2c0-7 3-13 4-19 4-16 7-32 7-48a181 181 0 0 1-56 65c-16 11-32 20-50 27a253 253 0 0 0-1 89c4 20 14 39 27 54l4 5c-6 0-9-4-13-7a97 97 0 0 1-29-46c-1 12 0 24 1 37 0 5 1 10-1 15l-4-3-11-7c-10-7-19-14-27-23-11-12-19-27-23-43l-3-6c-14-13-27-28-36-45-10-19-16-39-17-60-2-32 7-63 24-90 19-31 48-55 79-73a354 354 0 0 1 280-28c3 1 6 4 10 2a102 102 0 0 0 52-63l2-6Z" fill="${p(`${l.hair}`)}"/>`},variant09:(a,l)=>{var c,i;return`<path d="M441 200c18 0 35 3 52 8 8 2 15 4 22 9 13-12 32-14 48-10 10 2 18 7 25 13 8 7 18 13 22 23 11-1 23-1 33 3 9 5 17 13 24 21 5 8 9 17 8 27l21 3h11c2 1 4 3 4 6 0 6-1 13-3 19-5 14-14 25-26 34-16 12-36 18-56 20-25 3-51 2-75-5l12 20c2 2 3 5 0 7-1 2-3 2-5 2l-30-6c-23-8-45-18-67-30-12-7-23-12-33-22 0 6-1 12-3 17-1 3-4 5-6 3-4-3-9-5-12-9a98 98 0 0 0-44-22c3 3 6 5 7 9l-13 10-20 11c-7 4-13 8-19 14l-7 8c-1 5-2 11-1 16 1 12 5 22 9 33 0 4 2 7-1 10l-7 10c-4 5-7 10-8 16-3 13 0 28 3 41l10 36 3 9c7 4 16 9 19 17-9 0-16-3-24-6 9 6 19 13 25 22 3 3 5 6 6 10l-13-5c-9-4-16-10-24-15l-7-2-29-5-17-5-8-9c-5-4-8-9-10-15-4-9-9-19-10-30l-4-23a332 332 0 0 1 9-104c3-13 9-24 14-36 7-16 17-31 30-44l15-10c0-9 4-16 10-22 9-10 21-19 34-24 12-5 25-9 39-9 4-12 12-22 22-28 14-9 29-11 45-11Z" fill="${p(`${l.hair}`)}"/><path d="M313 585c5 1 9 5 12 8 4 3 8 8 10 13-5-2-10-6-14-9-4-2-8-4-10-8-2-2 0-4 2-4Z" fill="${p(`${l.hair}`)}"/>${null!==(i=null===(c=a.head)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}<path d="M449 200a185 185 0 0 1 66 17c12-11 28-13 43-11 11 2 21 7 29 13 8 7 18 14 23 24 10-1 22-1 32 3 8 4 14 10 20 17 5 5 10 12 12 19l1 12 17 3 12-1c4 0 6 4 6 7 1 6-1 12-2 18-5 15-15 27-27 36-16 11-36 17-55 19-25 3-51 2-76-5l10 15c1 3 4 5 4 8 1 3-2 6-5 6-8 0-16-2-23-4-13-3-25-8-38-13l-52-27c-7-4-13-8-19-14 0 6 0 11-2 16-1 3-3 6-6 4l-15-10a97 97 0 0 0-41-21l7 9c-6 7-14 10-22 15l-26 16c-4 3-9 7-11 12s-2 12-1 17c1 11 4 21 8 32 1 3 2 7 0 10l-8 10c-3 5-6 9-8 15v22c2 15 6 30 10 45l7 20c7 4 15 8 19 16-9 1-16-2-24-5l20 16c4 5 9 10 11 16-12-4-22-10-32-17-7-4-15-8-18-16l2-3c2-2 4-1 6-2-5-2-8-6-12-9-9-5-18-11-28-15-8-3-17-6-25-11-3-2-6-4-8-8-4-8-6-16-7-24a324 324 0 0 1 10-112c3-11 8-21 12-31 8-17 18-33 31-46l15-9c-1-9 4-16 10-23 9-10 21-18 33-23 13-5 26-9 39-9 2-7 6-12 10-17 7-9 18-15 29-18 12-4 25-4 37-4ZM311 585c3 0 6 2 8 3 6 5 13 11 16 18l-15-9-10-7c-1-2 0-4 1-5Z" fill="${p(`${l.hair}`)}"/>`},variant08:(a,l)=>{var c,i;return`<path d="m723 184 8 9c10 13 17 29 21 45 5 23 6 46-3 69-6 15-16 28-29 38 2 9 3 19 3 28 0 20-6 38-14 56l-8 11c-3 3-8 3-10-1-7-8-10-18-13-28l-8-38c-24 8-50 9-75 6l-45-8c-30-6-61-12-92-14-30-3-61-1-91 5-3 0-4 2-6 3-10 6-19 15-24 26-4 7-4 15-3 23l2 12-10 15c-5 8-7 18-8 27l1 36c1 18-1 37-8 53l-2 5h-4l-9-8-19 7c-5 2-10 3-16 3-3 0-5-2-7-4-6-7-11-15-15-23a221 221 0 0 1-19-91c0-33 5-66 15-97 9-24 24-46 45-60 10-6 20-10 31-12 1-6 2-12 5-17 6-13 17-22 29-30 33-23 74-34 114-35 22 0 44 3 66 8l53 10c23 5 46 10 70 11 12 0 25 0 37-5 9-3 16-7 20-15 4-5 4-12 7-17 2-3 7-5 11-3Z" fill="${p(`${l.hair}`)}"/>${null!==(i=null===(c=a.head)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}<path d="M720 183c3 1 6 3 8 6a132 132 0 0 1 27 65c3 23-1 47-14 67-6 11-15 20-25 28-15 11-32 20-50 26-23 6-47 7-71 4l-43-8c-30-6-60-11-90-14-32-3-64-1-96 5-2 0-3 2-5 3-10 6-19 15-24 25-4 7-4 16-3 24l2 12-11 15c-6 12-7 25-7 38l2 31c0 16-3 32-9 47l-2 5h-4l-13-11c-10-6-19-11-30-15-7-4-13-7-19-13-7-6-12-15-15-24-6-15-7-29-7-45v-25c1-19 3-39 8-57 4-15 8-30 15-44 10-17 23-31 40-41 8-5 18-8 27-10 1-6 2-12 5-17 6-13 17-22 29-30 33-23 74-34 114-35 22 0 44 3 65 7l56 12c26 5 53 10 79 10 12-1 24-2 35-8 5-4 10-8 13-14 2-5 2-10 5-14 1-3 5-5 8-5Z" fill="${p(`${l.hair}`)}"/>`},variant07:(a,l)=>{var c,i;return`${null!==(i=null===(c=a.head)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}<path d="M433 202h40c49 2 97 11 144 22 28 7 54 16 79 30 13 8 27 18 37 30 12 13 20 29 23 46 4 21 4 43-3 64-5 15-14 30-27 40-18 15-41 25-64 26-2 1-4 0-4-3l8-16a97 97 0 0 1-38 23c-4 1-10 2-14 0v-5c0-15-1-29-5-43-3-16-11-29-18-43 2 15 1 31-2 46-3 14-9 26-19 36-2 4-7 5-11 3l-2-7c-2-11-7-21-12-31-9-20-22-37-37-53a250 250 0 0 0-76-52 380 380 0 0 1-10 104c-4 14-10 28-19 40-3 4-7 10-12 12h-7c1-12 1-24-1-36-2-11-5-23-10-33-3 18-13 33-25 47-9 8-18 16-29 22v68l1 30c0 3-3 8-6 9-5-1-9-3-13-6-12-8-23-17-33-28a181 181 0 0 1-46-135 223 223 0 0 1 148-193c20-8 41-13 63-14Z" fill="${p(`${l.hair}`)}"/>`},variant06:(a,l)=>{var c,i;return`<path d="M663 169c3 1 4 4 5 6l1 15c0 17-6 34-15 49 12-4 25-6 38-5 14 2 29 6 40 15 4 5 10 11 9 18l-4-2-17-10c-10-5-22-6-34-7-10 1-20 2-29 5 6 1 11 4 17 7 23 14 44 35 53 61 5 13 6 27 2 41-1 1-2 3-1 5 7 19 9 39 8 59-1 17-5 34-13 49-4 9-11 17-18 23-5 4-12 7-19 5-7-3-12-10-15-18-4-8-4-18-4-27 1-10 2-20 5-29-7 4-15 9-23 9l8-9c6-6 11-13 15-21 3-11 3-22 2-32-4-25-15-48-32-66a128 128 0 0 1-4 80c-5 13-14 25-25 35-7 8-18 16-29 18-2 0-6 0-6-2 3-7 8-14 10-22 4-12 4-25 3-38-1-18-4-35-9-51l-4-11v17c-1 16-5 32-11 47a97 97 0 0 1-58 49c-4 1-9 3-13-1l11-7c8-6 16-11 23-18s12-16 17-24c8-17 13-35 13-54-2 11-7 22-11 32-9 17-21 33-35 47-14 15-31 28-50 35-5 2-11 4-17 3l-3-3c0-7 3-13 5-19 3-16 6-32 6-48a170 170 0 0 1-59 67c-14 11-30 19-47 25-4 24-6 48-4 72 3 26 12 51 30 71 1 2 3 3 3 6-5-1-8-4-11-7a97 97 0 0 1-30-47c-1 16 1 31 1 47l-1 5c-9 1-18-3-26-7l-29-16c-12-10-24-23-31-38-8-17-17-34-23-52-11-32-17-65-12-99 4-26 13-51 28-72 20-26 45-48 74-64a351 351 0 0 1 288-27c22-10 41-29 51-51l6-19Z" fill="${p(`${l.hair}`)}"/>${null!==(i=null===(c=a.head)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}<path d="m663 170 4 3c2 5 2 11 2 16 0 18-6 35-15 50 13-4 26-6 40-4 13 2 28 6 38 16 5 4 10 10 9 16l-6-3c-7-5-14-9-22-11-19-6-38-5-56 0l17 8c23 13 42 32 52 56 5 13 7 26 4 39s-9 26-17 36a151 151 0 0 1-51 42c-4 3-9 5-14 5l10-12c9-7 15-18 16-29 2-13 0-26-4-38-5-19-15-35-28-50 8 27 6 56-4 81-6 14-15 26-26 36-7 7-16 13-26 16-3 0-6 1-8-1l7-13c4-9 6-18 6-27 2-22-2-44-7-65l-6-18c1 20-1 39-8 57a94 94 0 0 1-61 56c-4 1-9 3-13-1 6-4 12-7 17-12 9-6 17-13 24-21l11-18c8-16 12-34 12-52-2 12-7 23-12 34-11 19-24 36-40 51-14 14-30 25-49 31-4 1-7 2-11 1l-4-2c0-7 3-13 4-19 4-16 7-32 7-48a181 181 0 0 1-56 65c-16 11-32 20-50 27a253 253 0 0 0-1 89c4 20 14 39 27 54l4 5c-6 0-9-4-13-7a97 97 0 0 1-29-46c-1 12 0 24 1 37 0 5 1 10-1 15l-4-3-11-7c-10-7-19-14-27-23-11-12-19-27-23-43l-3-6c-14-13-27-28-36-45-10-19-16-39-17-60-2-32 7-63 24-90 19-31 48-55 79-73a354 354 0 0 1 280-28c3 1 6 4 10 2a102 102 0 0 0 52-63l2-6Z" fill="${p(`${l.hair}`)}"/>`},variant05:(a,l)=>{var c,i;return`<path d="M612 96c15-1 29 1 42 9 11 7 20 18 23 31 3 14 1 27-3 40-4 11-8 22-15 32l26-4c20-1 40 1 58 11 21 12 42 30 51 52 6 14 7 30 1 44s-17 26-30 35c4 12 5 25 2 38-3 14-8 30-19 41a93 93 0 0 1-52 22c-7 1-16 2-23 1-11-2-21-5-29-13l-17-22-6-21c-13-2-24-8-35-15a54 54 0 0 1-39 21c-13 0-26-5-37-10-15-8-28-19-40-31l-9 15c-16 26-39 47-66 60-19 10-39 15-60 13 6 11 7 24 6 36-1 10-6 19-14 26-6 5-14 7-21 9-2 8-5 16-10 23-8 10-21 16-34 17-12 0-23-4-33-10-12-9-22-22-26-36-2-10-2-20 1-29-15-1-30-6-40-17-6-6-10-14-13-22-4-15-2-30 2-45 9-27 28-51 52-67 9-6 18-11 29-14-6-8-10-17-8-27 1-14 10-26 20-35 13-13 30-20 48-23 14-3 30-3 43 2 0-6 1-10 3-16 4-13 12-25 21-36 15-17 32-32 52-42 5-3 10-5 16-6 10-2 22 0 31 6 6 5 11 12 14 19a194 194 0 0 1 138-62ZM323 618c15 5 25 20 27 35 1 8-2 16-7 23 6 0 12 2 17 6 5 5 8 13 9 20s-2 15-7 20c2 3 3 6 1 9-5 5-13 7-20 4-9-3-16-11-20-20-10 4-20 4-31 4l-14-4c-7-3-13-10-16-17-4-10-6-21-4-32 2-14 9-27 20-37 11-11 30-17 45-11Z" fill="${p(`${l.hair}`)}"/>${null!==(i=null===(c=a.head)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}<path d="M612 96c15-1 31 2 44 10 10 7 18 18 21 31 3 14 1 27-3 40-4 11-9 21-15 31 12-2 25-4 37-4s23 1 34 5c12 4 24 12 34 20 12 10 23 23 30 37 5 12 7 26 3 39s-12 25-22 34c-12 10-25 18-40 23-24 9-50 12-76 10-2 6-5 11-10 15-6 6-16 7-24 6-14-2-27-8-39-16a54 54 0 0 1-39 21c-13 0-26-5-37-10-15-8-28-19-40-31l-9 15c-16 26-39 47-66 60-19 10-39 15-60 13 6 11 7 24 6 36-1 11-6 20-14 27-6 4-14 7-21 8-2 11-7 20-15 28-8 7-19 12-30 12-10 0-19-3-28-7-14-9-25-23-30-39-2-10-2-20 1-29-15-1-30-6-40-17-7-7-11-15-13-24-4-14-2-29 2-43 9-27 28-51 52-67 9-6 18-11 29-14-5-6-8-13-9-21 0-9 3-18 8-26 6-9 14-17 23-23a102 102 0 0 1 81-13c0-5 0-9 2-14 3-9 8-18 13-27a162 162 0 0 1 65-55c10-5 21-7 32-3 11 3 20 13 25 24 12-13 26-24 41-34a199 199 0 0 1 97-28Z" fill="${p(`${l.hair}`)}"/>`},variant04:(a,l)=>{var c,i;return`${null!==(i=null===(c=a.head)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}<path d="M604 142c4 3 4 10 3 15-3 16-11 31-22 42 24 6 46 16 68 28l37 19c14 7 29 15 45 19 10 3 21 4 31 4l18-1 7 1v11c-2 7-6 14-10 21-11 18-25 34-43 45l-12 6c13 10 28 21 36 36 2 3 5 8 3 12-4 4-11 5-16 6-10 1-21 2-31 1-18-2-35-5-52-9-26-6-51-14-73-28l10 17c1 2 3 6 0 8-4 3-9 5-14 5a176 176 0 0 1-160-53c-2 11-5 23-9 34-2 6-5 13-10 18l-6 5-14-10c-7-7-12-15-16-24-7 15-17 27-28 40l-23 24-14 13-2 2-6 42c-1 20-1 40 1 60 0 3 1 8-2 10-2 2-5 1-7 0l-17-6c-13-7-25-17-35-28a241 241 0 0 1-34-74 165 165 0 0 1 52-162c-7-5-11-11-13-19a81 81 0 0 1 25-77c4-3 9-7 14-6l5-1-5 13c-6 15-9 31-6 48 1 6 3 13 6 18l5-11c6-7 14-14 22-19 21-14 44-23 67-31 22-7 45-11 68-14 24-4 49-7 72-14 20-7 40-16 60-26 6-3 11-7 17-9 2-2 5-3 8-1Z" fill="${p(`${l.hair}`)}"/>`},variant03:(a,l)=>{var c,i;return`<path d="M632 187c17 9 33 22 41 40 9 17 10 35 7 53 15 14 22 34 24 54 1 9 2 20-2 30-1 3-3 8-7 11l-4 1-10-8c-9-12-16-24-23-37-7 10-17 19-28 24l-6-3c-9-5-14-17-23-21l-5 18c-1 3-3 6-6 6-6-1-12-3-17-6-22-10-45-20-69-27 2 6 3 12 1 18 0 2-2 4-4 6h-14a188 188 0 0 0-69 0c-6 1-12 5-19 7l-48 20-12 26c-5 12-9 25-12 37-1 3-2 7-1 10 2 4 7 5 9 9v5c-4 10-6 22-7 33-3 16-3 33-3 49v21c0 3-3 6-7 6-4 1-8 0-12-2l19 14c3 2 5 4 5 8-1 2-4 3-6 4 3 1 5 2 6 5 2 3 1 6-2 8-5 3-12 1-16-2-2-3-5-7-5-11 1-2 3-2 5-3-6-3-10-7-15-11-11-9-25-15-37-22l-11-7-4-7a322 322 0 0 1-24-121c1-20 5-41 11-61 5-13 11-26 20-36 7-10 16-18 28-22-3-10-4-20 0-29 4-15 15-27 29-35 18-10 37-16 57-20 27-5 56-8 83-12 26-4 52-11 78-18 19-5 38-10 58-11 16 0 32 2 47 9Z" fill="${p(`${l.hair}`)}"/>${null!==(i=null===(c=a.head)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}<path d="M617 181c12 4 24 10 34 18 12 10 22 23 27 38a105 105 0 0 1-16 90c-8 11-19 22-32 28-8-2-12-7-17-13-3-4-7-9-12-11l-4 16c-1 2-2 6-5 7-2 3-7 0-10-1l-36-16-42-15c2 6 2 12 1 18 0 2-2 4-4 6h-14c-14-3-29-4-43-3-23 1-46 8-69 13l-18 1-11 27c-8 17-14 34-19 52-1 3-2 7-1 10 2 4 7 5 9 8v5c-4 10-6 21-7 32-3 18-3 36-3 55v17c0 3-4 6-7 6-4 1-8 0-12-2l20 14c2 2 4 5 4 8-1 2-4 3-6 4 3 1 7 3 7 7s-3 6-6 7c-7 2-16-4-18-12 0-3 1-5 5-5-8-4-14-10-18-17-3-4-5-9-5-14 1-2 4 0 6 0-7-6-14-13-19-20-1-3-4-3-6-3l-24-6c-2-1-6-1-7-4l-5-17-8-43a370 370 0 0 1-1-71l7-31a118 118 0 0 1 49-59c-4-10-5-19-2-29 4-15 14-27 28-35 17-11 37-17 57-21 28-6 57-9 85-13 26-4 51-10 76-17l36-9c19-3 37-4 56 0Z" fill="${p(`${l.hair}`)}"/>`},variant02:(a,l)=>{var c,i;return`<path d="m405 197-2 7-4 12c17-4 33-6 50-7 20-1 41 0 62 3 18 2 36 7 54 11l57 17c15 4 30 8 46 10 4 1 7 1 10 4l-3 4c-2 3-5 3-8 5 10 7 19 15 27 23l16 20c3 4 6 9 7 14v5l-13 7c4 12 8 24 8 37 0 10 1 21-3 31-1 3-1 6-4 7-4 1-7-2-9-5a328 328 0 0 1-42-64l-14-3 6 10c1 1 3 3 2 5-1 3-4 3-7 4-14 3-30 1-44-2-22-6-43-14-64-23l-24-13c-5-1-9-4-13-6-3-1-6-2-7-5l6-7-2-3c-3-1-7 1-11 1-6 0-12 1-17 3l2-12c0-2-3-4-4-2-4 2-6 5-9 8l-10 12-3 1-24-6-8 1c-2 1-2 3 0 4 3 4 6 7 8 12 0 9-5 17-10 24-9 11-19 21-31 29l-21 14c-4 2-6 5-6 8l-1 29c0 3 0 6-2 9-15 15-28 32-34 53-4 15-3 29-2 44v21l-1 9c-1 4-4 7-8 8-10 3-20 8-32 8-5 0-7 4-12 2s-6-7-8-11c-21-46-31-96-27-147 2-29 9-58 22-84 11-23 26-44 45-61a194 194 0 0 1 57-34l5-2a176 176 0 0 1 48-40c2-1 5-1 6 1Z" fill="${p(`${l.hair}`)}"/>${null!==(i=null===(c=a.head)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}<path d="M404 197c2 2 0 5-1 7l-4 12a338 338 0 0 1 135 0c28 6 55 14 82 22 17 5 33 9 51 12 4 0 8 1 11 4l-4 5-7 4c15 11 30 24 41 39 4 6 8 12 10 19 1 3-1 4-3 6l-18 7c-18 7-38 5-57 1 2 4 3 7 6 9 1 2 3 3 2 6s-5 3-7 4c-14 3-30 1-44-2-22-6-44-14-65-24l-39-19-5-4 7-7-2-3-15 1-14 3 3-12c1-2-1-3-3-3l-5 4-13 13-3 5-5-1c-8-3-17-5-25-5-3 0-6 1-5 4 3 5 7 7 9 13 0 8-5 17-10 24-9 11-19 21-30 29l-22 14c-4 2-6 4-6 8l-1 30c0 3 0 7-3 9-14 14-27 32-32 51-4 14-4 27-3 41v27c-1 2-1 6-4 7l-7-2-19-7a85 85 0 0 1-38-40c-6-13-10-26-13-40a228 228 0 0 1 3-104 178 178 0 0 1 72-102c13-10 28-19 44-24l4-3a162 162 0 0 1 46-39c3-1 5-1 6 1Z" fill="${p(`${l.hair}`)}"/>`},variant01:(a,l)=>{var c,i;return`${null!==(i=null===(c=a.head)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}<path d="M473 221a404 404 0 0 1 84 9c11 3 21 5 31 9l35 13c10 3 19 9 29 13l16 6 29 6c5 2 9 5 11 10 3 6 2 12 0 18l10 5c5 5 7 12 5 19-2 4-6 7-10 9a99 99 0 0 1-69 8l-44-10-62-17a239 239 0 0 0-163 3l-4 14c-4 16-7 32-8 48v17l-1 8c-3 7-9 14-13 21-12 18-23 37-32 56l-2 14v39c0 5 2 9-1 13-15-2-30-6-46-10-2 0-5 0-7-2l-7-9c-4-3-5-9-7-14-7-21-9-45-9-68 0-28 5-55 10-82 4-15 10-29 17-42 10-20 24-37 40-52 16-16 35-27 56-35a298 298 0 0 1 112-17ZM288 552c10 0 20 3 29 5 4 1 9 3 12 6 3 2 2 6-1 7-9 3-16 0-24-2-6-2-14-4-20-8-2-1-5-4-3-6s5-2 7-2ZM725 669c1 2 1 3-1 5l1-5Z" fill="${p(`${l.hair}`)}"/>`}},ua={flowers:(a,l)=>`<path d="M357 396c9-2 18 4 20 12 1 5 1 12-1 17-3 7-11 10-18 9-9 0-16-9-16-18 0-4 2-7 3-11 3-4 8-8 12-9Z" fill="${p(`${l.hairAccessories}`)}"/><path d="M358 405c7-2 12 3 13 9 2 8-5 15-13 14-7-2-11-10-8-17 2-3 5-5 8-6Z" fill="#fff"/><path fill-rule="evenodd" clip-rule="evenodd" d="M326 398c-2-4-5-7-9-9-5-1-10 1-14 3-4 1-7 4-9 7-11-4-23 0-30 10-3-4-6-7-10-9-3-1-6 0-9 1l-4 1c-6 1-12 3-16 9-4 7-4 16 0 23 2 5 6 8 11 10-7 1-13 5-17 11l-2-1-9-3c-6 0-12 2-17 6-4 4-8 8-10 13-2 7-1 13 1 20-9 8-13 21-6 32 4 7 10 9 17 11 5 1 11 1 16-1 2 6 6 12 11 15 6 3 14 4 21 1 5-1 10-3 13-8 3-3 3-8 4-12 5-2 9-3 13-7 5-4 9-10 10-16s0-12-2-17c-3-6-9-10-15-12 1-5 2-9 1-14l6 2c2 6 4 11 8 15 7 5 15 7 23 6 6 0 11-4 14-9 2-3 3-7 3-11h1c7 1 14 1 19-4 7-6 9-18 6-27-3-8-9-11-17-14 2-7 2-15-2-22Zm-70 51 2-10-10 6 8 4Z" fill="${p(`${l.hairAccessories}`)}"/><path d="M236 409c3-2 7-2 10-2 7 2 12 9 11 16 0 6-3 11-8 14-9 5-22-2-22-13 0-6 4-13 9-15ZM309 398c5 0 10 3 12 8 4 6 3 14 1 22 6 2 10 6 12 12 3 5 1 12-3 16-5 4-11 5-17 4-2 7-7 13-14 16-5 1-11 0-15-4-5-4-7-10-8-16-4-1-7-1-10-4-5-4-5-12-2-17l8-6c-3-4-5-10-4-15s4-9 9-10c6-1 11 1 16 5 4-6 8-11 15-11ZM257 460c2 8 0 16-3 23 5 0 9 1 13 4 5 4 7 9 7 15 1 5-1 10-6 13-5 4-12 5-18 5 1 5 2 10-1 14-5 7-15 8-22 5-6-3-10-9-12-16-6 2-13 3-19 2-5-1-9-4-11-8-4-5-4-12 0-17l10-7c-4-7-7-17-4-25 1-5 6-9 12-8 6 0 12 3 17 7 3-7 8-14 16-16 8-3 18 0 21 9Z" fill="#fff"/>`},ma={variant04:(a,l)=>{var c,i,t,e,r,h,d,n,o,f,s,v,Z,M,u,m;return`<path d="M495 231a231 231 0 0 1 219 204c1 10 2 21 0 30-1 4-1 7-4 8-3-10-3-19-4-29a220 220 0 0 0-239-205c-42 4-83 19-117 44l-17 13a221 221 0 0 0-78 164c0 23 7 43 15 64h17c3 1 4 4 2 6l-6 2c-15 1-31 7-42 17-8 9-14 19-16 31-3 15 0 32 8 45 9 15 24 27 40 33 14 5 29 7 43 5 4-1 8-2 11 0v3c-5 5-11 6-18 7-16 3-33-1-47-8a86 86 0 0 1-47-58c-4-18-1-37 9-53 8-12 20-21 34-26-7-14-10-28-12-43-2-18-2-35 0-53 1-13 4-25 8-38a227 227 0 0 1 99-122c41-28 92-43 142-41Z" fill="#000"/><path d="M535 244a220 220 0 0 1 171 200c1 10 1 19 4 29l-2 18v22c-3 4-4 9-4 14-2 8-2 15-2 23v65c0 21-3 42-11 61-4 13-10 24-18 35-10 12-21 22-34 31-11 9-24 17-37 24l-22 14-12 8 9-2c-3 11-3 24-4 36 0 8 1 16 7 22a235 235 0 0 0 81 45c6 7 11 16 13 25 1 9 0 18-4 27-6 10-14 18-23 24-13 10-28 17-43 22a417 417 0 0 1-217 11c-16-3-33-9-48-17-10-5-21-12-28-21-6-6-10-14-11-22-2-10 0-21 5-30 21-13 39-32 49-54 5-11 7-22 8-34 1-16 0-32-1-47-2-20-3-41-8-61 11 12 23 24 37 32 17 11 36 20 55 26 20 7 41 13 63 18l25 3c3 0 6 0 8-2 2-1 1-2 2-3l-17-2c-29-7-58-16-87-27-18-7-36-15-53-27-18-13-33-30-47-47l-11-16-1-1v-3c-3-2-7-1-11 0-14 2-29 0-43-5-16-6-31-18-40-33-8-13-11-30-8-45 2-12 8-22 16-31 11-10 27-16 42-17l6-2c2-2 1-5-2-6h-17c-8-21-15-41-15-64-1-14 2-27 5-41a221 221 0 0 1 73-123l17-13a230 230 0 0 1 185-39Z" fill="${p(`${l.skin}`)}"/><path d="M708 513c3 3 2 7 3 12v29c0 26 2 54 0 80-3 31-14 63-36 86-25 28-57 51-93 64l2 7v35c1 6 4 10 8 14l26 19 32 20 24 12c2 0 3 1 5 3l-19-5c-19-6-37-14-54-25-9-5-19-12-26-20-6-6-7-14-7-22 1-12 1-25 4-36l-9 2 12-8 22-14c13-7 26-15 37-24 13-9 24-19 34-31a178 178 0 0 0 29-96v-65c0-8 0-15 2-23 0-5 1-10 4-14ZM278 574c5 5 4 14 0 19l-3 7c1 3 5 5 7 6 6 3 12 7 19 9 0 4-3 5-7 5-6-1-13-3-18-6-7-3-13-8-13-16 0-6 5-9 6-14 2-4 0-7-1-11 4-1 7-2 10 1ZM328 667l11 16c14 17 29 34 47 47 17 12 35 20 53 27a714 714 0 0 0 104 29c-1 1 0 2-2 3-2 2-5 2-8 2l-25-3a478 478 0 0 1-118-44c-14-8-26-20-37-32 5 20 6 41 8 61 1 15 2 31 1 47-1 12-3 23-8 34-10 22-28 41-49 54l-14 8c2-4 6-6 9-9 13-11 24-25 34-39 6-10 12-21 14-33 4-19 3-39 3-58l-3-59 2-10c-10-11-19-26-22-41Z" fill="#000"/>${null!==(i=null===(c=a.eyes)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}${null!==(e=null===(t=a.eyebrows)||void 0===t?void 0:t.value(a,l))&&void 0!==e?e:""}${null!==(h=null===(r=a.earrings)||void 0===r?void 0:r.value(a,l))&&void 0!==h?h:""}${null!==(n=null===(d=a.freckles)||void 0===d?void 0:d.value(a,l))&&void 0!==n?n:""}${null!==(f=null===(o=a.nose)||void 0===o?void 0:o.value(a,l))&&void 0!==f?f:""}${null!==(v=null===(s=a.beard)||void 0===s?void 0:s.value(a,l))&&void 0!==v?v:""}${null!==(M=null===(Z=a.mouth)||void 0===Z?void 0:Z.value(a,l))&&void 0!==M?M:""}${null!==(m=null===(u=a.glasses)||void 0===u?void 0:u.value(a,l))&&void 0!==m?m:""}`},variant03:(a,l)=>{var c,i,t,e,r,h,d,n,o,f,s,v,Z,M,u,m;return`<path d="M495 234c28 1 56 6 84 15a201 201 0 0 1 100 65c19 25 31 55 35 86a361 361 0 0 1 2 101l-5 34-4 20c-1 2-1 2-3 2-2-4-2-8-2-12-1-15 1-29 2-44 1-24 3-48 1-72l-6-45c-7-28-20-54-40-75-18-18-40-33-63-43-22-9-44-15-67-19-18-3-36-4-54-4a277 277 0 0 0-128 29c-13 9-25 20-35 32a276 276 0 0 0-55 139c-1 24 0 47 8 70l7 15 12 1 1 3c-3 2-7 2-11 3-10 2-20 6-29 12-7 5-14 11-18 19-5 10-3 22-1 33 5 19 17 37 33 49 11 9 25 14 39 16 10 2 20 0 30-1 5 4 8 12 11 17l18 27a136 136 0 0 0 66 50c22 9 45 14 68 19l41 8 17 5v4h-12a535 535 0 0 1-67-8 255 255 0 0 1-84-33c-11-7-21-16-29-27a214 214 0 0 1-16 123c-15 27-40 48-70 57-3 1-7 2-10 1-2 0-2-1-2-3 1-3 4-5 6-6 12-8 26-14 38-23 13-11 24-23 31-38 6-15 10-32 12-49 2-13 3-26 2-40l-4-38-18-36-19 4a88 88 0 0 1-75-38 93 93 0 0 1-20-58c0-9 3-18 8-25s12-13 19-17c5-4 12-6 18-8l-9-24c-5-22-5-45-2-67a292 292 0 0 1 63-149c9-10 18-19 29-26 7-4 14-5 20-9 43-19 90-25 137-22Z" fill="#000"/><path d="M475 243a276 276 0 0 1 121 23c23 10 45 25 63 43 20 21 33 47 40 75l6 45c2 24 0 48-1 72-1 15-3 29-2 44 0 4 0 8 2 12l-1 20c-2 5-2 10-2 16-2 24-2 49-6 74-1 12-3 25-8 36-3 9-8 17-15 24-12 13-27 24-43 33-19 11-39 16-58 24-5 2-10 4-13 8 8 1 15 0 23-2-5 12-6 24-6 36 0 5-1 11 1 16 3 5 8 9 13 12l35 13c22 8 43 18 65 27 2 4 5 7 6 12 6 11 7 23 3 35-5 13-15 24-27 31-16 11-36 19-55 24a494 494 0 0 1-235-7c-20-7-40-14-58-24-14-8-29-18-40-31-6-8-11-19-12-29a122 122 0 0 0 86-107c4-24 4-49 0-73 8 11 18 20 29 27l27 14a331 331 0 0 0 124 27h12v-4l-17-5-41-8c-23-5-46-10-68-19-13-6-27-13-39-21-10-9-19-18-27-29l-18-27c-3-5-6-13-11-17-10 1-20 3-30 1-14-2-28-7-39-16a94 94 0 0 1-33-49c-2-11-4-23 1-33 4-8 11-14 18-19 9-6 19-10 29-12 4-1 8-1 11-3l-1-3-12-1-7-15c-8-23-9-46-7-70a276 276 0 0 1 54-139c10-12 22-23 35-32a277 277 0 0 1 128-30Z" fill="${p(`${l.skin}`)}"/><path d="M260 571c4 0 7 0 11 2 5 1 11 4 14 8 2 3 2 7 0 10-5 6-12 10-16 16 6 4 14 6 21 9 4 1 8 3 11 6l1 3-8-2-24-7c-4-1-8-3-9-7-1-3 1-7 3-10l15-13c-4-7-15-8-19-15ZM703 577l2 3 2 16a483 483 0 0 1-2 89c-2 11-5 23-10 33a198 198 0 0 1-106 71c-1 14-3 31-2 47l5 5c8 6 18 9 27 12a451 451 0 0 1 68 28c7 4 13 9 18 15-5 1-10-1-16-2-22-9-43-19-65-27l-35-13c-5-3-10-7-13-12-2-5-1-11-1-16 0-12 1-24 6-36-8 2-15 3-23 2 3-4 8-6 13-8 19-8 39-13 58-24 16-9 31-20 43-33 7-7 12-15 15-24 5-11 7-24 8-36 4-25 4-50 6-74 0-6 0-11 2-16Z" fill="#000"/>${null!==(i=null===(c=a.eyes)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}${null!==(e=null===(t=a.eyebrows)||void 0===t?void 0:t.value(a,l))&&void 0!==e?e:""}${null!==(h=null===(r=a.earrings)||void 0===r?void 0:r.value(a,l))&&void 0!==h?h:""}${null!==(n=null===(d=a.freckles)||void 0===d?void 0:d.value(a,l))&&void 0!==n?n:""}${null!==(f=null===(o=a.nose)||void 0===o?void 0:o.value(a,l))&&void 0!==f?f:""}${null!==(v=null===(s=a.beard)||void 0===s?void 0:s.value(a,l))&&void 0!==v?v:""}${null!==(M=null===(Z=a.mouth)||void 0===Z?void 0:Z.value(a,l))&&void 0!==M?M:""}${null!==(m=null===(u=a.glasses)||void 0===u?void 0:u.value(a,l))&&void 0!==m?m:""}`},variant02:(a,l)=>{var c,i,t,e,r,h,d,n,o,f,s,v,Z,M,u,m;return`<path d="M486 236c57-2 115 18 159 56a209 209 0 0 1 73 190c-1 4-1 8-4 12l-1-3v-33a215 215 0 0 0-172-206 235 235 0 0 0-270 153c-12 37-14 78-6 116 6-2 12-2 17-2 2 1 5 1 6 3s0 3-1 4l-12 4c-14 3-27 8-37 18a63 63 0 0 0-22 45c0 12 3 24 8 35 8 13 19 24 33 31 18 10 41 13 62 7 2-1 4-2 6-1s3 4 4 6l15 30a215 215 0 0 0 72 63c28 15 59 21 90 26 3 1 8 1 10 4 1 2 0 3-2 4l-11 1a231 231 0 0 1-147-62c5 18 8 36 8 54 0 12-2 23-6 34-5 10-11 18-19 26a196 196 0 0 1-60 43c-1-1 1-2 2-3l17-14c13-12 25-23 35-38a93 93 0 0 0 17-65l-4-39-2-10-12-17c-5-10-11-20-13-31a93 93 0 0 1-96-31 81 81 0 0 1-19-51c0-12 3-23 8-34 9-16 23-29 40-36-8-31-8-62-3-93 8-40 26-77 51-108 45-54 115-87 186-88Z" fill="#000"/><path d="M541 252a214 214 0 0 1 172 206v33c-1 5-2 10-1 15-2 2-3 3-3 5-3 18-1 37 1 55 4 29 6 59 2 88-3 28-13 56-30 79-16 21-38 34-62 43-15 6-30 9-45 13-11 2-22 4-32 8 1 2 4 1 6 2 12 1 24-1 36-2-5 8-8 17-9 26-2 10 2 19 9 26 6 7 15 11 24 14 5 2 11 3 17 3 7 9 13 18 14 30 2 12-1 24-8 34-9 14-22 23-37 30-18 9-38 15-57 18a352 352 0 0 1-192-23c-18-10-38-23-48-42-4-7-8-16-6-24 18-10 33-23 47-38 8-8 14-16 19-26 4-11 6-22 6-34 0-18-3-36-8-54a235 235 0 0 0 147 62l11-1c2-1 3-2 2-4-2-3-7-3-10-4-31-5-62-11-90-26-18-10-36-22-50-37-8-8-16-17-22-26l-15-30c-1-2-2-5-4-6s-4 0-6 1a82 82 0 0 1-95-38c-5-11-8-23-8-35 1-17 9-34 22-45 10-10 23-15 37-18l12-4c1-1 2-2 1-4s-4-2-6-3c-5 0-11 0-17 2-8-38-6-79 6-116a236 236 0 0 1 270-153Z" fill="${p(`${l.skin}`)}"/><path d="m712 506 3 3 1 13 3 45c3 20 5 40 5 60 0 16-1 32-5 47-6 28-20 56-40 76a174 174 0 0 1-88 46c-1 9-4 16-4 25-1 6 2 10 5 15 8 8 18 14 28 19l18 9c-3 3-8 1-12 2-6 0-12-1-17-3-9-3-18-7-24-14-7-7-11-16-9-26 1-9 4-18 9-26-12 1-24 3-36 2-2-1-5 0-6-2 10-4 21-6 32-8 15-4 30-7 45-13 24-9 46-22 62-43 17-23 27-51 30-79 4-29 2-59-2-88-2-18-4-37-1-55 0-2 1-3 3-5ZM262 566c6 0 12 1 15 6 2 3 2 7 1 10-3 8-9 14-11 22-1 4 0 7 3 9 7 5 16 7 24 10l-2 2h-11c-6-1-12-2-17-5-5-4-9-11-7-18 2-9 9-15 12-23-7-4-14-2-20-8 3-4 8-6 13-5Z" fill="#000"/>${null!==(i=null===(c=a.eyes)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}${null!==(e=null===(t=a.eyebrows)||void 0===t?void 0:t.value(a,l))&&void 0!==e?e:""}${null!==(h=null===(r=a.earrings)||void 0===r?void 0:r.value(a,l))&&void 0!==h?h:""}${null!==(n=null===(d=a.freckles)||void 0===d?void 0:d.value(a,l))&&void 0!==n?n:""}${null!==(f=null===(o=a.nose)||void 0===o?void 0:o.value(a,l))&&void 0!==f?f:""}${null!==(v=null===(s=a.beard)||void 0===s?void 0:s.value(a,l))&&void 0!==v?v:""}${null!==(M=null===(Z=a.mouth)||void 0===Z?void 0:Z.value(a,l))&&void 0!==M?M:""}${null!==(m=null===(u=a.glasses)||void 0===u?void 0:u.value(a,l))&&void 0!==m?m:""}`},variant01:(a,l)=>{var c,i,t,e,r,h,d,n,o,f,s,v,Z,M,u,m;return`<path d="M528 244c41 6 80 22 113 47 28 21 50 49 65 81 13 28 20 60 19 91-1 15-3 30-8 44h-2l1-21c1-30-2-59-13-87-10-30-28-57-50-79-42-40-98-62-156-63a243 243 0 0 0-196 94 207 207 0 0 0-40 139l2 25c8 0 19 0 25 7l-3 3-17 1c-12 1-24 5-33 13a64 64 0 0 0-17 39c-5 32 12 65 39 83 16 10 36 15 55 9 4-2 9-5 14-3 3 1 4 4 5 7a251 251 0 0 0 90 100c8 7 18 13 28 18 18 8 38 14 57 19l32 8c5 1 9 1 13 3l-4 1c-25 2-48-3-72-10-12-3-23-7-34-12a306 306 0 0 1-84-63l2 28c1 17 0 35-6 52-4 12-11 24-19 34-10 10-22 19-34 26-10 7-21 14-32 18l-16 5 9-9 31-20 22-17a95 95 0 0 0 32-56c2-14 2-28 2-43v-27c-10-14-22-29-27-46-17 8-38 7-55-1-17-7-32-19-43-33-12-17-19-36-21-56s2-40 15-56c9-10 22-18 35-21-4-14-6-29-6-44a234 234 0 0 1 83-173 249 249 0 0 1 199-55Z" fill="#000"/><path d="M653 320c22 22 40 49 50 79 11 28 14 57 13 87l-1 21-5 15-2 13 2 56c0 21 1 42-1 63l-3 47c-2 16-7 31-14 45-11 18-26 33-44 44-13 8-27 12-41 16l-38 11-17 3c0 1 1 2 3 2 8 5 17 5 26 4-3 7-4 14-2 22 3 7 11 11 17 14 12 6 24 7 36 9 7 6 14 14 16 24 2 8 2 16-2 23-5 10-14 18-24 23-13 8-27 14-42 18a468 468 0 0 1-222-1c-17-4-33-9-48-17-12-6-23-13-32-22-5-7-9-14-10-23 11-4 22-11 32-18 12-7 24-16 34-26 8-10 15-22 19-34 6-17 7-35 6-52l-2-28 22 23c19 15 40 30 62 40 11 5 22 9 34 12 24 7 47 12 72 10l4-1c-4-2-8-2-13-3l-32-8c-19-5-39-11-57-19l-29-17c-11-9-23-17-33-27a251 251 0 0 1-56-74c-1-3-2-6-5-7-5-2-10 1-14 3-19 6-39 1-55-9a88 88 0 0 1-39-83c1-14 7-28 17-39 9-8 21-12 33-13l17-1 3-3c-6-7-17-7-25-7l-2-25a207 207 0 0 1 40-139 243 243 0 0 1 196-94c58 1 114 23 156 63Z" fill="${p(`${l.skin}`)}"/><path d="M710 522c3 0 3 4 4 6 3 11 4 23 5 34l2 21c1 22 2 43 1 65-1 21-1 44-5 65a136 136 0 0 1-80 99c-15 7-31 11-48 13v15c1 3 3 4 5 6 12 6 23 8 36 11 12 3 24 5 36 11-3 3-7 4-11 4-7 1-15-1-23-1-12-2-24-3-36-9-6-3-14-7-17-14-2-8-1-15 2-22-9 1-18 1-26-4-2 0-3-1-3-2l17-3 38-11c14-4 28-8 41-16 18-11 33-26 44-44 7-14 12-29 14-45l3-47c2-21 1-42 1-63l-2-56 2-13ZM252 549c8 0 17 1 23 7 5 4 10 9 12 15 1 3 0 6-2 8l-13 8c-7 6-7 19 0 25 6 5 14 8 21 11 2 0 5 1 6 3-1 2-3 3-5 3-10 0-20-3-28-9-5-3-8-8-9-13-2-8-2-17 4-24 4-6 11-9 18-12-4-5-7-11-14-13-7-3-15-3-22-5l9-4Z" fill="#000"/>${null!==(i=null===(c=a.eyes)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}${null!==(e=null===(t=a.eyebrows)||void 0===t?void 0:t.value(a,l))&&void 0!==e?e:""}${null!==(h=null===(r=a.earrings)||void 0===r?void 0:r.value(a,l))&&void 0!==h?h:""}${null!==(n=null===(d=a.freckles)||void 0===d?void 0:d.value(a,l))&&void 0!==n?n:""}${null!==(f=null===(o=a.nose)||void 0===o?void 0:o.value(a,l))&&void 0!==f?f:""}${null!==(v=null===(s=a.beard)||void 0===s?void 0:s.value(a,l))&&void 0!==v?v:""}${null!==(M=null===(Z=a.mouth)||void 0===Z?void 0:Z.value(a,l))&&void 0!==M?M:""}${null!==(m=null===(u=a.glasses)||void 0===u?void 0:u.value(a,l))&&void 0!==m?m:""}`}},ga={variant24:(a,l)=>`<path d="M679 466c8 3 13 11 15 19 1 5 2 11 1 17 0 3-1 7-4 9-4 2-8 1-10-3-3-4-2-10-3-15s-4-11-9-13c-8-2-13 1-19 5 4 8 4 16 3 24 0 8-1 15-4 23l-4 9c-1 4-4 7-8 8s-8-2-10-5c-3-4-5-9-5-14-2 4-3 9-6 12-3-2-3-7-4-10 0-13 6-27 13-38s17-22 29-27c8-4 17-5 25-1ZM482 474c18 8 33 24 39 44 2 6 4 13 2 19-1 2-2 3-4 2-3-3-5-8-7-12-8-14-18-28-33-36-10-6-22-8-34-5l5 10c3 6 3 12 3 18 0 8-1 15-3 23-2 6-6 12-10 17-3 3-6 5-10 5-5 0-9-2-12-6-5-8-6-18-6-27 0-7 2-14 4-21l-6 8c-3 4-10 4-13 0-3-3-3-8-1-12 8-12 19-22 32-28 17-7 37-7 54 1Z" fill="${p(`${l.eyes}`)}"/>`,variant23:(a,l)=>`<path d="M665 473c7-1 15-1 22 3 6 4 10 9 11 16l17 3c-4 4-11 6-17 6-5 0-11-1-15-4l-10-8c-6-3-11-2-17 0 3 3 6 6 7 10 4 12 3 25-2 36l10-5c1 6-1 10-5 13-8 9-21 10-33 10-4-1-10-3-12-7-3-4-1-8-3-12s-1-9 0-13a70 70 0 0 1 47-48ZM457 484c27 1 52 18 64 42 2 2 3 6 1 9-3 0-5-4-7-6-6-10-14-18-23-24-10-6-21-8-32-8 6 10 9 22 8 33-1 9-5 19-12 25l9 4c-6 3-12 3-18 2-11-3-21-8-30-15-9-6-16-15-19-25-14 0-29-2-43-8 3-2 5-2 8-2l28-4c4-1 8-1 11-4 15-13 35-20 55-19Z" fill="${p(`${l.eyes}`)}"/>`,variant22:(a,l)=>`<path d="M685 500c2 0 5 0 6 2s-1 4-3 5l-19 10 11-1c4-1 7 0 10 3s3 7 1 10c-1 3-4 5-8 5-16 0-32 3-47 7-4 2-7 2-11 0-4-3-5-9-2-13 3-3 7-3 11-6 12-7 25-11 37-17l14-5ZM428 501c20 1 38 8 57 14l30 11c6 1 11 1 15 6 3 5 0 11-5 12-8 2-18-1-27-2-27-2-53-9-79-13-8-1-16-1-23-5-1-1-4-2-3-4 2-4 6-7 10-9 7-2 15 0 22 1 12 1 23 4 34 6l-25-8-15-4v-4l9-1Z" fill="${p(`${l.eyes}`)}"/>`,variant21:(a,l)=>`<path d="M683 467c8 6 11 15 12 25 1 5 1 12-2 16-2 5-10 5-12 0-3-4-2-10-3-14-1-5-3-11-7-14-4-2-8-1-11 0 9 13 9 30 4 45-2 6-5 12-9 17-4 3-8 6-12 7-4 2-10 1-14-2-5-5-7-11-7-17-1 4-2 9-6 12-2-2-3-3-3-6-1-7 0-14 2-20 4-14 11-26 20-36 7-7 15-13 25-16 8-2 16-1 23 3ZM479 473c18 7 33 21 40 40 3 7 5 15 4 22 0 2-1 5-3 4-3-2-5-6-6-9-5-9-10-17-17-25-8-9-18-16-29-19 6 10 8 22 8 34-1 11-5 22-12 30-5 6-12 11-20 10-6 0-11-1-15-5-9-7-13-17-15-28-1-8 0-15 2-22l-7 8c-3 4-10 4-13 0s-2-9 1-12c9-15 24-27 41-31 13-3 28-2 41 3Z" fill="${p(`${l.eyes}`)}"/>`,variant20:(a,l)=>`<path d="M490 492c7 3 13 8 19 13 6 6 12 13 13 22 0 2 1 5-2 6l-4-8c2 9-3 20-12 24-6 3-13 4-19 3-9-1-17-6-23-13-4-6-6-14-4-21 1-8 5-15 11-19a90 90 0 0 0-55 14c-5 3-10 7-13 12-2 3-5 5-9 5-6 0-10-7-8-12l8-11c12-10 26-18 41-22 19-6 40-2 57 7ZM681 484c6 2 14 4 17 9 4 6 1 13-6 14 2 8 2 17-3 24-7 9-23 11-31 3-5-6-9-14-8-22 1-4 3-7 6-11-12 3-21 11-28 20-4 5-6 10-9 16l-5 1 1-6a90 90 0 0 1 39-43c8-5 17-7 27-5Z" fill="${p(`${l.eyes}`)}"/>`,variant19:(a,l)=>`<path d="M623 498c2-1 5 2 6 3 8 8 19 13 30 13 5 0 11-1 16-3 2-2 4-5 7-6s7 0 9 2c4 3 4 10 0 13-5 7-14 10-22 11-10 1-21-2-30-8-8-4-14-10-17-18-1-3-2-6 1-7ZM530 500l3-1c3 2 1 5 0 7a97 97 0 0 1-50 38c-24 8-52 4-72-12-2-3-4-6-3-10s4-7 8-7c3 0 6 2 8 4 8 5 16 9 25 10 12 2 23 0 34-3 13-4 25-12 36-20 4-2 7-5 11-6Z" fill="${p(`${l.eyes}`)}"/>`,variant18:(a,l)=>`<path d="M455 468c14 0 27 5 38 13 15 10 26 25 30 43v14c-1 1-2 2-4 1-3-3-5-8-7-12-8-14-18-28-32-36-10-6-22-8-33-6 7 12 11 26 11 40 0 9-4 16-8 24-2 2-5 1-7 1-7 0-13-2-20-4-3-2-8-4-10-8l-1-14 4-19-6 8c-3 4-10 4-13 0-3-3-3-8-1-12 6-8 13-16 22-22 11-8 24-11 37-11ZM684 488c2 1 3 3 0 4l-15 8c5 0 10-1 15 2 3 1 6 5 6 9-4 4-9 7-15 7-15 0-30 3-44 10-3 1-8 2-11-1-4-3-4-9-2-12 2-4 5-6 8-8l45-17c4-1 9-3 13-2Z" fill="${p(`${l.eyes}`)}"/>`,variant17:(a,l)=>`<path d="M668 488c8 0 16 4 22 10 2 3 5 8 4 12 0 3-4 5-4 8-2 8-9 14-16 18-4 2-11 2-14-2-3-3-3-8-4-12 0-8 3-17 6-24-4 0-8 2-11 5-11 6-19 17-24 28-2 3-3 8-6 10-1 1-3 1-4-1v-9c4-13 12-25 22-34 9-6 19-9 29-9ZM444 498c20-1 43 2 60 13 9 5 17 13 20 23 2 4 0 7-2 11-2 3-7 5-11 7-12 3-24 1-36-1-5-1-11-2-14-6-4-5-3-11-1-17 1-7 3-14 9-20h-23c-17 2-33 9-47 20-2 2-5 4-8 3-5 0-8-5-7-9s4-6 7-8c16-10 35-14 53-16Z" fill="${p(`${l.eyes}`)}"/>`,variant16:(a,l)=>`<path d="M473 484c4-2 10-1 13 3 5 4 8 11 8 17 2 10 0 21-4 30-3 6-6 12-13 14-6 2-14-1-17-7-5-6-6-15-6-22 1-8 2-16 6-24 3-5 7-9 13-11ZM643 491c4-2 9-2 13 2 5 4 7 12 7 18 1 9-1 18-5 25-2 5-6 8-11 10-5 1-11-1-14-5-3-3-5-7-6-12-1-9 1-18 4-26 3-5 6-10 12-12Z" fill="${p(`${l.eyes}`)}"/>`,variant15:(a,l)=>`<path d="M681 473c6 2 13 7 15 14 2 4 1 9-3 12-5 2-10 0-12-4-3-3-7-7-12-8-4-1-9 0-13 2l4 5c4 6 5 14 5 21s-2 14-4 20c3-1 6-4 10-4 0 4 0 7-2 10-5 6-13 10-21 11s-17 2-24-3c-5-3-5-8-5-13l-2-6c0-10 4-19 9-27 7-11 17-20 29-26 8-4 17-6 26-4ZM473 519c14 2 28 6 42 11 3 1 6 1 8 4 4 3 4 9 0 12-3 2-7 2-11 2h-45c-13 0-28 1-41-1l-7-3-14 2c-2 0-5 0-6-2-3-2-2-6 0-8s6-3 9-4c9-2 18-4 27-4l9-1-16-1c-6-1-13 0-19-2-2 0-3-1-3-3s2-2 3-3l15-2c16-1 33 0 49 3Z" fill="${p(`${l.eyes}`)}"/>`,variant14:(a,l)=>`<path d="M686 474c5 2 10 7 12 12 3 8 3 17 1 25-1 4-4 8-9 8s-9-5-8-10c0-8 3-15 1-23l-5-4c-6 0-12 3-17 5 2 3 4 5 4 8 2 7 1 14 0 21-1 8-4 14-9 20-3 2-7 6-11 7-5 1-10-1-12-5-4-5-4-11-3-16l-6 8c-1 2-2 3-4 3-1-2 0-6 1-8a95 95 0 0 1 44-49c6-3 14-4 21-2ZM470 481c18 6 35 17 46 33 3 4 6 9 7 14 1 3 1 5-1 6-3 1-6-3-8-5-3 6-2 13-6 18-3 4-7 8-11 10-6 3-13 3-19 1s-10-8-14-13c-5-10-5-20-4-30 1-8 4-15 9-21-14-5-29-8-42-2-10 4-16 11-19 21-1 5 0 11-3 15-3 3-9 3-12 0s-4-7-3-11c1-12 7-22 16-30 6-4 12-7 19-9 15-4 31-3 45 3Z" fill="${p(`${l.eyes}`)}"/>`,variant13:(a,l)=>`<path d="M642 509c6-1 10 2 13 7 3 7 3 17-1 24-3 5-10 8-16 5-5-3-6-8-7-13-1-4 0-10 2-14s5-8 9-9ZM494 514c6-3 11-1 15 3 5 6 6 15 2 22-2 5-8 11-14 11-5 0-9-4-12-8-3-7-2-14 1-21 2-3 5-6 8-7Z" fill="${p(`${l.eyes}`)}"/>`,variant12:(a,l)=>`<path d="M479 474c8 3 15 6 19 13h-5c-13-2-25-8-38-9-11-2-22-2-33 0 1-4 6-6 10-7 15-4 32-3 47 3ZM675 476l1 1-18 2c-9 1-17 5-26 8l-6 3c0-3 3-5 5-7l15-8c9-4 19-3 29 1ZM680 485c6 1 12 3 16 8 3 3 5 9 2 13s-8 5-12 2c-3-3-3-6-3-9-8-5-16-4-25-1 2 2 5 3 6 6 4 5 4 11 2 17-5 8-15 14-25 13-7-2-12-8-13-15l-8 10-4 5c-3-3-2-6-1-10 5-12 15-21 26-28 11-8 25-13 39-11ZM446 488c24 2 47 11 66 26 4 3 9 8 10 13 1 3-1 6-4 6l-6-5c-3-4-8-6-12-9 1 8 0 15-5 20-3 5-8 7-13 7-8 1-16-2-22-8-9-10-8-26 1-36-10-2-19-3-28-2-6 1-12 4-16 8-2 2-1 4-2 6-1 4-5 7-9 6-4 0-8-3-9-7-1-5 1-11 5-14 5-5 13-7 19-9 9-1 17-3 25-2Z" fill="${p(`${l.eyes}`)}"/>`,variant11:(a,l)=>`<path d="m661 483 13 7 10 10c5 3 11 2 17 2-3 6-10 6-16 6-11 1-20-4-30-4l6 5c4 4 5 11 5 16-1 4-2 8-5 11-6 9-21 10-27 1-5-6-5-13-1-20-6 6-11 11-15 18-2 1-5 5-7 2-2-4 0-9 2-14 3-7 7-15 13-21 7-7 14-13 24-15l-4-2c4-3 10-3 15-2ZM453 487l-6 5c-6 3-11 7-15 11 8-3 15-6 23-7 13-3 26-1 37 5 9 3 16 8 22 15 5 6 9 13 9 21 0 2-1 4-4 4l-7-7-9-6c0 5-2 11-5 15-4 8-13 12-22 10-9-1-16-9-17-18-2-8 1-16 6-22-13 0-22 5-32 11-10 5-20 5-31 4-5 0-9-1-13-3l-2-2c7-1 15-2 21-5l5-4c6-16 24-26 40-27Z" fill="${p(`${l.eyes}`)}"/>`,variant10:(a,l)=>`<path d="M681 473c6 2 12 7 15 13 2 3 2 6 0 9-2 4-8 6-12 3-4-2-6-6-9-9-7-3-13-2-19 0 3 3 6 6 7 10 4 12 3 25-2 36l10-5c0 4 0 7-2 11-5 6-13 10-20 11-9 1-17 2-25-2-4-3-5-7-5-11l-2-10c0-7 3-13 6-19 7-14 18-26 31-33 8-4 18-6 27-4ZM456 484c27 1 53 17 65 41 2 3 3 6 1 10-3-1-4-3-6-6-6-9-13-17-22-23-10-6-22-9-34-9 6 10 9 21 8 32-1 9-4 19-12 26 4 1 7 2 9 4-6 3-13 3-20 1-9-2-17-6-25-11-8-6-16-13-20-23l-4-8c-2-4-1-8 2-11l10-9c14-10 31-15 48-14Z" fill="${p(`${l.eyes}`)}"/>`,variant09:(a,l)=>`<path d="M670 463c7 1 14 4 18 10 6 7 7 15 8 24 0 4-1 9-3 12-3 4-9 4-12 0-2-3-2-8-3-12 0-7-3-15-10-18 10 15 11 33 7 50-2 9-6 16-13 22-4 4-11 6-17 4-6-1-10-6-13-11-4-8-6-16-6-25l-5 14c-1 3-2 6-5 9-3-3-3-6-4-10a83 83 0 0 1 34-61c7-5 15-8 24-8ZM455 468c14 0 29 5 40 14 14 10 24 25 28 42v14c-1 1-2 2-4 1a163 163 0 0 0-17-27c1 14-2 28-11 39-6 8-15 14-26 15-11 0-21-7-27-16-8-12-9-27-6-41 2-9 7-17 13-23l-13 5c-6 5-13 9-18 16l-5 6c-3 4-9 4-12 0-3-3-3-8-1-12 6-8 13-16 22-22 11-8 24-11 37-11Z" fill="${p(`${l.eyes}`)}"/><path d="M659 498c1 7-1 13-3 20l-5 9c-1 2-4 2-5 1l-4-7c-3-6-5-13-4-19 0-3 2-4 5-4 3 1 4 3 5 5 1-2 2-6 4-7 2-2 6-1 7 2ZM475 500c4 0 6 3 7 6 1 8-2 14-4 22 0 4-2 8-6 11-2 1-4 0-5-2l-10-15-3-8c-1-4-1-8 2-12 2-2 5-2 8 0l5 6c1-4 2-7 6-8Z" fill="#fff"/>`,variant08:(a,l)=>`<path d="M683 485c4 0 8 0 10 3 4 3 4 10-1 13-3 2-6 2-10 2l-18 4c0 7-1 15-4 22-2 5-6 9-10 12-6 3-13 1-17-4l-3-8c-3 3-5 6-9 8-3 1-4 0-4-3 1-6 4-11 8-15a91 91 0 0 1 42-32l16-2ZM441 499c11 0 21 2 31 4 14 4 28 8 40 18 3 3 8 6 9 10 0 2 0 3-2 3l-11-5c-10-5-22-8-34-10-2 9-4 18-10 26-4 4-9 6-15 6-8-1-16-5-21-11-5-7-6-14-7-23l-14 4c-3 1-6 2-9 1-5-1-7-6-6-11 1-4 5-6 9-7 12-5 27-6 40-5Z" fill="${p(`${l.eyes}`)}"/>`,variant07:(a,l)=>`<g fill="${p(`${l.eyes}`)}"><path d="M446 479c15-2 30 2 43 10 14 7 23 20 29 34 1 4 3 9 0 13-5-4-8-9-11-14-6-8-14-17-23-22-11-7-25-11-38-9-14 1-27 9-38 18l-12 11c-4-4-2-10 1-14 11-17 30-26 49-27ZM676 480c6 2 10 6 13 11 3 8 2 17-1 25-1 3-4 6-8 5s-5-5-4-9c0-6 2-14-2-18-2-3-7-4-10-4-8-1-17 3-24 7-12 7-21 17-28 28-1 2-2 6-4 6-3-2-1-8 0-11 4-13 14-24 26-31 6-5 13-8 21-10 7-2 14-2 21 1Z"/><path d="M644 506c6 0 10 5 12 11 2 9 0 17-4 25l30-10c-5 9-16 14-24 17-10 4-21 8-32 8-5 0-10 0-13-4 3-5 7-4 12-6-3-6-3-12-2-19 0-6 2-12 7-16 4-4 8-7 14-6ZM484 515c4-1 8 1 11 4 4 4 6 8 7 13 3 7 1 15 1 22h13c2 0 3 2 2 4-1 3-4 4-6 5-11 3-23 3-34 3-17 0-34-3-49-10-5-2-10-4-14-8l11 3c12 3 25 4 37 5-2-9-3-20 2-28 3-7 11-12 19-13Z"/></g>`,variant06:(a,l)=>`<path d="M681 473c6 2 11 6 14 12 2 2 3 6 2 9-2 4-7 6-11 5-5-1-6-6-11-9-6-4-12-4-19-2 3 2 6 4 7 8 4 7 4 17 2 25-2 6-5 12-11 15-6 2-13 0-16-5-5-6-6-15-5-23l-11 20c-1 3-1 6-4 8-2-7 0-13 2-19 6-17 19-31 34-40 8-4 18-6 27-4ZM445 484c31-4 63 14 76 42 2 2 3 6 1 9-3-1-5-4-7-7-5-8-11-14-19-20 1 5 2 10 1 16-1 8-5 17-12 21-6 4-13 3-18 0-7-5-10-12-11-20-1-9 1-20 7-28-19 2-37 8-52 20l-7 4c-4 1-7-1-8-4-2-3-1-8 2-10 13-13 29-21 47-23Z" fill="${p(`${l.eyes}`)}"/>`,variant05:(a,l)=>`<path d="M684 485c6 2 11 7 13 13s1 13-2 18c-4 8-12 14-20 18-11 7-24 10-37 8-6 0-12-2-17-6-3-3-6-7-5-12v-3c-1-6 2-13 6-17 8-11 21-18 34-20 9-2 19-2 28 1ZM490 495c7 3 14 7 20 12l5 6c2 1 5 2 6 5 6 7 5 18-2 24-5 5-12 8-19 9-17 4-34 3-50 0-11-3-22-7-32-13-6-4-11-8-13-14-2-5-2-11 1-15 3-6 10-10 16-13 22-8 46-10 68-1Z" fill="${p(`${l.eyes}`)}"/><path d="M669 490c5 0 11 1 15 4 3 2 5 5 6 9 0 6-4 11-8 15-7 8-18 12-29 15 3-8 3-17 0-25-2-5-4-9-9-12 8-4 16-6 25-6ZM459 499c13 0 27 4 39 9 6 3 11 6 15 11l-1 12c-1 5-6 7-10 8-18 6-36 4-54 0 3-5 5-10 6-16 0-8-3-17-10-22l15-2Z" fill="#fff"/>`,variant04:(a,l)=>`<path d="M669 473c8-1 16 1 22 6 3 3 6 7 6 11 1 5-4 10-9 10-4-1-6-3-8-6l-10-7c9 16 4 38-10 49-7 6-18 8-25 1-6-5-8-12-8-20-2 5-5 9-6 14-1 2-1 4-3 4-2-5-1-11 1-17 6-16 17-30 32-38 5-4 11-6 18-7ZM457 484c27 1 53 18 64 42 2 2 4 6 1 9-3 0-5-4-7-6-4-8-10-14-17-19 2 11 2 21-4 31-5 8-16 13-25 12-7-2-14-5-19-11-6-6-8-16-8-24 0-7 3-13 6-18-14 3-28 9-39 18-3 1-5 3-8 3-4-1-6-4-6-8 0-3 2-6 4-8 8-6 16-12 26-16s21-6 32-5Z" fill="${p(`${l.eyes}`)}"/>`,variant03:(a,l)=>`<path d="M681 495c3 0 7 0 10 2 2 1 2 2 1 4l-9 3-24 5c-1 6-1 13-4 19-2 5-6 9-11 9s-9-3-11-7c-3-5-5-11-6-18-4 0-9 1-12-1-1-3 3-4 5-4 12-5 26-7 39-9 7-2 15-2 22-3ZM496 502c5 0 11 0 16 3l3 3c-7 2-13 4-20 4-2 9-4 17-9 25-2 3-5 6-9 5-5-1-10-4-13-9-4-5-8-11-8-18l-56 2c-2-1-6 0-6-3 3-3 8-3 12-4l33-4c19-2 38-4 57-4Z" fill="${p(`${l.eyes}`)}"/><path d="m650 510-6 17c-4-4-6-10-9-15l15-2ZM484 513l-6 18-4-2c-5-4-8-10-12-15l18-1h4Z" fill="#fff"/>`,variant02:(a,l)=>`<g fill="${p(`${l.eyes}`)}"><path d="M669 473c8-1 16 1 22 6 3 3 6 7 6 12s-5 9-10 8c-6-1-7-6-11-9-3-2-6-3-10-3 7 10 7 23 3 34-2 9-8 16-16 19-7 3-14 0-18-5-5-5-7-13-7-20l-7 15c-1 2 0 4-3 5-2-6-1-11 1-17 6-16 17-30 32-38 5-4 11-6 18-7ZM457 484c26 1 51 17 63 40 2 2 4 6 3 9 0 2-1 2-3 1-3-2-4-5-6-8l-12-13c2 11 0 23-7 32-6 7-16 11-25 10-13-2-25-13-27-26-3-10 0-21 6-30-14 3-27 9-39 18-2 1-2 4-1 6l8 11c11 10 24 17 37 21l11 4c-5 3-12 3-18 2-13-3-25-10-34-19-6-5-11-12-14-19-1-4-4-6-4-10 0-5 5-9 9-12 15-12 34-18 53-17Z"/><path d="M670 530c2 4 0 9-2 12-5 5-12 9-19 10-8 1-17 2-25-2-1-1-4-3-2-5h7c11 1 22-3 31-8l10-7Z"/></g>`,variant01:(a,l)=>`<path d="m693 510-2 7c-3 5-6 9-11 12s-11 4-17 5l-18 2c-5 0-8 3-10 6l-7 7c-2 1-5-1-4-3 1-8 7-14 11-20 3-3 7-7 12-7l30-5c5-1 10-4 16-4ZM388 514c12-1 21 3 32 4 15 2 30 4 45 4l24 2c8 1 17 0 24 4s12 10 16 16c1 2 2 4 0 7-1 1-3 0-4-1-4-2-7-6-11-7l-12-1-28-1-22-1c-10-1-20-1-30-5-7-2-12-6-19-9l-12-9c-2-1-3-1-3-3Z" fill="${p(`${l.eyes}`)}"/>`},ya={variant13:(a,l)=>`<path d="m688 421 1 2-13 14c-7 6-14 10-22 14l-26 19-13 6-9 1-10 20-1 1-1-1c-2-5 0-13 1-19 2-6 2-12 8-16 3-3 7-3 10-5l31-20c8-6 16-11 25-13l19-3ZM371 430c9 0 19 0 28 2 9 1 17 4 26 6 5 2 10 1 15 2 8 0 15-1 23 2 8 2 16 3 23 6 12 3 24 5 35 11 0-2 0-4 2-6 2-1 5 0 6 2 5 7 8 17 11 25 1 4-2 9-6 9-5 1-8-4-12-6-5-2-7-7-12-9l-30-9-19-5-15-3-15-4-24-9-30-9-6-5Z" fill="${p(`${l.eyebrows}`)}"/>`,variant12:(a,l)=>`<path d="M658 387c7 1 14 2 20 5l6 5c-8 5-18 8-28 8h-17l-16 2c-6 1-10 7-13 12-6 11-8 25-10 37-4-3-3-8-3-12 0-14 2-29 10-41 4-6 10-13 17-14 11-3 23-3 34-2ZM533 426c6-1 12 0 17 3 2 0 2 1 2 3l-8 8c-3 3-8 4-12 6l-18 3-47 3c-14 1-28 1-41 4-14 4-26 10-37 18l-9 8c-1-2-1-4 1-6 3-6 9-12 14-17 16-12 35-19 55-22l69-7c5 0 9-3 14-4Z" fill="${p(`${l.eyebrows}`)}"/>`,variant11:(a,l)=>`<path d="M496 375c10 1 20 4 27 11 3 3 5 7 6 11-11-5-22-6-33-6-6 1-12 4-17 7-23 12-43 29-66 41l-20 14-11 11c-1-5 1-10 2-14 4-10 11-17 19-24l24-17c13-9 27-19 41-26 9-4 18-8 28-8ZM701 411c-6 3-11 3-17 4-5 1-10 3-14 6-9 7-17 15-24 24-9 10-17 18-29 24l-7 2c-2 1-4 0-6 2-4 5-4 13-9 17-2 0-2-2-2-3v-13c1-5 3-12 7-16s9-4 13-8l15-10 23-18c6-5 13-10 20-13 10-3 21-3 30 2Z" fill="${p(`${l.eyebrows}`)}"/>`,variant10:(a,l)=>`<path d="M524 402c7 3 12 9 15 16 4 6 6 12 4 19-1 2-2 5-4 3-3-2-5-6-6-9l-14 2-26 3-39 4c-12 1-24 0-36-1-3 0-7-1-9-3-3-2-2-7 1-8 9-3 20-2 30-4 7-1 14-4 20-6 9-3 17-7 26-9l20-5c5-1 12-4 18-2ZM631 404c11 0 19 6 30 8 6 2 14 1 20 5 2 1 3 4 2 7-2 2-5 2-8 2l-14 1-25 6-23 2-5 18-3 3-2-5c-1-10 0-21 5-30 2-4 4-9 8-12 4-4 10-6 15-5Z" fill="${p(`${l.eyebrows}`)}"/>`,variant09:(a,l)=>`<path d="M503 394c7 0 14 2 19 6 4 2 7 4 8 8 1 2 0 5-2 6-5 1-10-2-14-3l-9-1c-13-1-26 1-39 4a169 169 0 0 0-60 31c-4 2-9 5-14 4-3 0-3-4-2-7 1-6 7-11 12-16 10-9 23-15 35-20 20-9 44-14 66-12ZM659 396c7-2 14-1 20 3 4 3 8 6 9 11 1 3 1 6-2 7s-7 1-10-1c-5-3-9-6-15-6-5 0-10 1-14 3-8 4-16 11-20 19l-6 9h-3v-6c2-8 7-16 13-22 7-8 17-15 28-17Z" fill="${p(`${l.eyebrows}`)}"/>`,variant08:(a,l)=>`<path d="M492 386c7 0 13 0 19 2 8 2 15 5 18 13 4 7 4 14 2 22-1 4-4 7-9 8-8 3-17 1-26-1-7-1-15-3-22-6-6-3-12-8-13-14-2-6 2-13 7-16 7-6 16-7 24-8ZM658 388c5 1 9 4 11 9 2 3 1 8 0 11-1 4-5 8-8 10-5 5-11 6-18 8-5 1-12 3-18 1-2-1-6-4-7-7-3-11 3-25 14-30 8-4 17-4 26-2Z" fill="${p(`${l.eyebrows}`)}"/>`,variant07:(a,l)=>`<path d="M479 386c16 1 33 7 46 17 3 3 7 5 8 9 1 2-1 5-3 4-8-1-15-5-23-7-7-3-15-5-23-5-7-1-15 0-22 1-15 2-30 9-43 16l-21 9-1-1c1-4 3-9 6-12 6-10 17-16 27-21 15-7 32-11 49-10ZM673 390c5 2 11 5 15 10 4 4 5 9 4 15l-23-7c-7-2-13-1-20-2-7 0-15 1-21 5l-13 8h-3c-1-3 0-6 2-8 5-9 13-15 22-18 12-4 24-6 37-3Z" fill="${p(`${l.eyebrows}`)}"/>`,variant06:(a,l)=>`<path d="M494 368c5 0 9 3 11 7 8 8 15 18 20 28 2 5 4 10 3 15-1 2-2 4-4 3l-5-6c-4-8-10-15-16-22 0 4 1 10-1 13-1 4-4 6-8 6-5 0-10-4-14-7l-13-5c-2 1-4 3-6 2l-11-2-20-2-18 2c3-4 8-6 13-8 10-5 21-5 32-4 3 1 6-2 10-1 10 0 17 4 25 10l-4-19c-1-4 1-9 6-10ZM637 383c3 1 5 2 5 5 0 4-3 8-5 13 4-2 7-5 11-5 3 1 4 3 6 6 5-2 12-4 18-2 3 1 4 3 5 5-3 3-6 5-10 6-5 2-11 4-16 4-3 0-5-2-7-3l-10 6c-3 0-6-1-7-4l-1-8-8 15-4 6c-2 0-3 0-4-2-2-3 1-8 2-11 3-8 8-16 14-23 3-3 6-7 11-8Z" fill="${p(`${l.eyebrows}`)}"/>`,variant05:(a,l)=>`<path d="M467 377c15 1 32 5 44 15 4 3 8 7 9 11 1 3 1 5-2 6-3 0-6-3-8-5-11-8-24-13-38-13-8 0-15 2-23 4-15 3-29 11-38 23-3 3-5 7-10 8s-10-3-10-8c-1-4 2-8 4-11 12-15 30-25 49-29 7-2 15-2 23-1ZM672 387c5 2 10 7 13 11 3 3 5 7 5 11 0 6-6 10-12 8-5-2-6-7-10-11-4-3-9-7-13-8-12-4-24 1-32 9l-9 9c0-7 4-13 9-17 12-13 32-18 49-12Z" fill="${p(`${l.eyebrows}`)}"/>`,variant04:(a,l)=>`<g fill="${p(`${l.eyebrows}`)}"><path d="M675 381c5 0 8 4 9 8-11 3-23 8-34 13l-16 8c-7 4-14 7-22 9-5 1-9 0-13 3l-7 8c-3 3-4 7-6 12-1-1-3-2-3-4-2-5 0-11 2-16 2-6 3-12 8-17 3-4 5-8 9-10 4-3 10-4 14 0l1 6 25-14c11-4 21-8 33-6ZM481 383c14 2 32 1 44 7 9 4 13 11 18 19l-1 4c-4 3-9 4-14 2-4-2-6-6-9-8-2-2-5-2-8-3l-25-2c-12-1-24-6-36-7l-27-5-5-2c9-3 19-4 29-5 11 0 23-2 34 0Z"/><path d="M540 387c6-2 12-2 16 2 6 3 9 9 11 15 0-4 2-9 5-12 6 3 11 9 13 15 1 5 2 10 0 15s-9 8-13 5c-4-4-4-12-5-18-1 4-2 8-5 10s-7 1-9-2l-5-12-7-15-1-3Z"/></g>`,variant03:(a,l)=>`<path d="M480 404c10 1 19 0 29 3 9 3 18 10 22 19 4 6 2 16-6 19-6 4-15 3-23 2-20-3-40-9-60-14l-20-4-10-2-4-4c2-4 6-6 10-7l20-7 18-3 24-2ZM656 410c8 1 15 4 22 7l9 4c2 2 3 6 1 8l-10 4c-17 4-33 11-51 12l-9 1c-3 0-6-2-8-4-3-2-4-5-4-9 0-7 2-15 8-20 4-3 11-4 16-5 8 0 17 0 26 2Z" fill="${p(`${l.eyebrows}`)}"/>`,variant02:(a,l)=>`<path d="M505 385c8 1 16 2 23 6 5 4 8 9 10 14l-2 2c-2 1-4-1-6-2-9-6-21-7-32-7-9 0-18 2-27 6-8 3-17 5-24 9l-19 7c-13 5-27 5-40 10-7 3-12 9-18 13l-9 9c1-8 5-16 10-22l13-13c7-6 17-9 26-11 10-2 19-6 29-9l19-5c8-2 15-5 23-6l24-1ZM671 399c7 1 14 4 22 4v3c-7 6-15 9-24 10-12 2-26-1-37 3l-5 3c-9 10-14 22-20 34-2-7 3-15 5-22s7-12 9-19c4-9 14-16 24-16h26Z" fill="${p(`${l.eyebrows}`)}"/>`,variant01:(a,l)=>`<path d="M533 358c6 2 9 8 10 14 0 8-3 16-7 22-3 3-7 4-10 1-4-3-2-10-2-15l-13 10c-6 4-13 7-20 9-9 4-19 5-30 8l-25 8c-8 3-15 8-22 12l-25 17c-5 3-8 7-11 12-2-4-1-8 1-11a401 401 0 0 1 35-29c16-13 36-21 55-28l28-11c8-4 14-11 21-16 5-2 10-4 15-3ZM626 376l6 7c17 7 33 7 49 16 4 2 7 6 9 10s1 8-2 12l-16-6c-12-6-24-7-36-11-7-3-14-4-19-10-4 8-4 17-8 26-1 1-1 4-4 3l-1-8 2-11c1-8 4-16 7-23 2-6 8-8 13-5Z" fill="${p(`${l.eyebrows}`)}"/>`},$a={variant01:(a,l)=>`<path d="M216 569c5 0 10-1 14 2 3 2 5 5 4 9-2 4-6 7-11 7h-16c-5-1-9-3-11-7-1-4 2-7 5-9 5-2 10-1 15-2ZM229 592c3 1 7 3 7 7 0 3-1 6-4 7-5 4-11 4-17 6-5 1-10 2-14-1s-3-9 0-12c4-4 8-4 13-5s10-3 15-2ZM301 644h8c3 1 6 4 6 8 0 5-4 9-9 10-5 2-9-2-11-6-1-5 1-11 6-12Z" fill="${p(`${l.earrings}`)}"/>`,variant02:(a,l)=>`<path d="M293 643c3-2 7-1 9 1 3 2 4 6 3 10-2 4-7 7-12 5-3-1-5-5-4-8 0-4 1-7 4-8Z" fill="${p(`${l.earrings}`)}"/>`,variant03:(a,l)=>`<path d="M296 658c3 2 5 6 5 9 2 8 1 17 0 25-2 6-3 14-9 17-6 2-11-1-13-6-3-8-1-18 0-26 1-5 2-12 5-16s8-5 12-3Z" fill="${p(`${l.earrings}`)}"/>`},Aa={variant01:(a,l)=>`<path d="M676 575c3-2 7 0 7 4 0 3-3 4-6 4-3-1-4-6-1-8ZM366 583c2-1 5 0 7 1 2 3 2 7 0 10-3 2-6 2-9 0-3-3-2-9 2-11ZM624 584c1-1 4-1 5 1 0 2 0 4-2 4-3 1-5-3-3-5ZM649 584c5-2 10 3 8 7s-7 6-10 3-2-8 2-10ZM475 586c2-1 6 1 5 3 1 2-1 4-4 4-3-1-3-5-1-7ZM691 587c3-2 7 0 7 3 1 3-3 5-6 4-2-1-2-5-1-7ZM412 587c5 0 8 6 6 10-1 2-4 3-6 4-2-1-5-2-6-4-2-4 2-10 6-10ZM339 595c4-1 7 1 7 5-1 4-5 5-8 3-2-2-2-6 1-8ZM670 600c4-2 8 1 8 5s-5 7-8 4c-3-2-3-7 0-9ZM450 604c3 0 3 2 5 4l-2 3c-3 3-7 1-8-2 0-3 2-6 5-5ZM384 617c4 0 7 2 8 6 0 4-3 8-7 8-3 0-6-2-7-5-1-4 2-9 6-9Z" fill="${p(`${l.freckles}`)}"/>`},ba={variant01:(a,l)=>`<path d="M597 505h1l3 15 3 26 8 13 6 12c2 5 2 10 5 14 3 5 5 10 5 16 0 9-6 17-14 20l-19 8c-5 3-9 5-15 5-5 0-11 0-13-5-2-2 0-4 2-5l12-3 16-5 13-5c6-2 9-8 7-14l-5-8-7-17-7-19c-4-8-6-17-5-26 0-7 1-15 4-22Z" fill="${p(`${l.nose}`)}"/>`,variant02:(a,l)=>`<path d="M603 613v1c-4 8-11 15-20 18-3 1-7 1-9-1v-4c7-5 16-9 24-12l5-2Z" fill="${p(`${l.nose}`)}"/>`,variant03:(a,l)=>`<path d="M607 606c0 3-2 6-4 9-4 6-11 10-18 12-5 1-9-2-13 0-4 0-8 1-12-1-2-1-2-4 0-6 3-4 8-7 12-7 4-1 7-1 10 2l1 7c5-2 7-5 11-8l13-8Z" fill="${p(`${l.nose}`)}"/>`,variant04:(a,l)=>`<path d="M594 572a37 37 0 0 1 19 29c0 9-5 18-13 22l-17 7c-4 1-6 2-9 0-2-3-1-4 1-6 6-5 15-7 21-12 3-2 5-5 5-9 0-10-5-17-7-26v-5Z" fill="${p(`${l.nose}`)}"/>`,variant05:(a,l)=>`<path d="m591 528 2 2 7 22c4 8 10 15 15 23 4 6 6 13 5 20-1 6-4 12-9 16-7 7-16 12-25 16-5 3-11 4-17 2l5-4c11-9 25-14 36-24 2-2 4-6 4-9-1-7-5-11-8-16-5-9-10-16-13-25-2-7-4-16-2-23Z" fill="${p(`${l.nose}`)}"/>`,variant06:(a,l)=>`<path d="M609 602c1 9-4 16-9 23-4 3-9 6-15 6s-13-3-19-5c-4-2-8-3-11-6l5-4c9-1 17 3 25 4 4 0 7-3 9-6 5-5 9-10 15-12Z" fill="${p(`${l.nose}`)}"/>`},ka={variant01:(a,l)=>`<path d="M719 585c9 0 17 4 22 11a29 29 0 0 1-6 41c8 2 16 7 22 13 9 11 16 26 15 41-1 8-4 15-8 21-8 13-21 22-35 28l8 9c3 7 4 14 4 22-1 12-6 24-15 33a62 62 0 0 1-38 17c-10 1-21 1-31-2-1 7-3 15-6 22a58 58 0 0 1-70 26c-12-5-22-14-28-24-15 9-31 12-48 12-14 1-31 0-43-7-8-3-13-9-18-15-3-3-5-6-6-11-11 9-26 11-39 9-10-3-19-8-24-17-5-6-6-15-6-23h-14c-8-1-16-5-23-10-11-10-20-23-26-37-2-6-4-12-4-19 0-11 4-22 11-31-3-7-4-14-2-21 3-12 12-22 22-28 9-6 20-8 31-7 2-6 5-10 10-14 11-10 25-16 40-16 10 0 19 1 27 5 4-6 9-9 15-11 11-5 23-4 34 1 19 7 34 18 52 25 5 4 12 3 19 4s14 0 21-1c3-1 7-1 9-3l19-10 20-15c8-5 18-10 28-9 4 1 7 3 9 6a92 92 0 0 1 52-15Z" fill="${p(`${l.hair}`)}"/>`,variant02:(a,l)=>`<path d="M714 580a143 143 0 0 1 12 75l15-2c4-1 7 1 7 5l-3 6-25 26 21 2c11-1 22-1 33 1 3 0 6 1 9 4 2 3 2 7-1 10-2 5-7 8-11 11-11 7-23 13-34 21 7 4 15 6 23 8 3 1 6 2 8 5 3 3 2 8 0 12l-14 10c-10 6-21 11-32 15-9 3-19 4-28 6 2 5 5 10 9 14l13 11c2 4 3 9 0 13-3 2-5 3-9 3a300 300 0 0 1-91-3l-22-4c-1 5 0 11-4 14-3 3-7 4-11 3-10 0-20-3-29-5l-50-12c-4-1-10-3-14-1s-5 8-5 12c-1 4-4 7-8 8s-9-1-13-3c-8-4-16-9-23-15l-23-21c-9-9-18-19-28-26l-4 6h-8l-8-9c-7-10-12-21-18-32-5-8-8-18-11-27l-4-7-10-1c-4-2-6-7-6-11 0-11 2-22 6-33-4-1-6-4-8-8-2-2-3-4-3-7-1-5 0-9 1-14l-3 2c-4-2-5-9-5-13 1-14 5-29 11-42 1-2 2-5 4-6 1-2 3-2 4 0 2 1 2 5 2 7l-4 21 9-15c2-1 5-3 7-1l-1 7-6 24c3-5 5-10 9-13 2-2 5-1 5 1 1 4 0 9-1 13l4-6c6-6 11-13 18-17l10-2c10 0 21 2 31 4 12 2 23 6 36 7l-10-6c-2-3-1-8 3-9 6-3 14-1 20 0l34 6 38 14c15 6 29 13 43 21 15-6 31-10 45-18l25-11c3-2 7-3 10 0 2 2 1 4 1 7l21-17 19-15c5-6 15-7 22-3Z" fill="${p(`${l.hair}`)}"/>`},Ca={happy01:(a,l)=>`<path d="m636 651-7 7c-7 8-14 16-23 23-8 7-17 13-27 16-11 4-23 4-35 3-16-2-31-5-45-12l-12-7c-1-2-1-4 1-5s6 0 8 1c12 4 24 8 37 9 17 2 34 2 50-3 8-2 15-6 21-10l24-17 8-5Z" fill="${p(`${l.mouth}`)}"/>`,happy02:(a,l)=>`<path d="M476 660c3 0 5 2 7 4l13 7c11 5 23 8 34 11 15 5 30 6 45 6 12 1 23 2 34 1l4 2c-18 9-41 11-61 10-23-1-46-8-66-18-6-4-13-8-14-16-1-3 1-7 4-7Z" fill="${p(`${l.mouth}`)}"/>`,happy03:(a,l)=>`<path d="m636 651-7 8-17 16c-9 10-19 18-32 22-18 6-38 4-57 0-10-3-21-7-31-13l-6-5c0-3 2-4 4-4l17 5 33-4c13-2 27-3 39 0l5-1 19-8c4-2 8-3 13-3 6-4 13-10 20-13Z" fill="${p(`${l.mouth}`)}"/>`,happy04:(a,l)=>`<path d="M632 656c-5 5-12 9-18 13-11 8-23 15-36 20-3 1-6 3-10 3l-17-2h-23l-23-2c-6 0-11-4-15-9l-13 1c-3-1-6-4-4-7s7-5 10-7c5-1 11-2 16 1 3 2 4 6 6 8l5 1c15 1 31 1 46 4 5 1 10 4 15 2 5-1 10-4 14-6 13-6 25-13 38-18 3-1 6-3 9-2Z" fill="${p(`${l.mouth}`)}"/>`,happy05:(a,l)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M654 667c2-4 0-9-4-10-8-2-16-1-24-1l-57 6a445 445 0 0 1-56 5l-21 1a255 255 0 0 1-34-1c-4-1-8-1-12 1h1c0 2 1 3 3 3 8 3 16 4 25 5 1 4 3 7 7 9l11 7a503 503 0 0 1 5 3l23 10a175 175 0 0 0 31 8c7 2 14 3 22 2l21-5c6-2 12-5 17-9a129 129 0 0 0 26-23l8-8c3 0 6 0 8-3Zm-30 9 8-9a207 207 0 0 0-78 4l-4 1c-22 3-45 6-67 5l5 2 20 8c17 8 35 13 53 17 15 2 30-2 43-8 8-5 14-12 20-20Z" fill="${p(`${l.mouth}`)}"/>`,happy06:(a,l)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="m634 683-9-3c-25-6-52-7-78-6l-13 1a774 774 0 0 1-85 0l-7-1c-2 2 1 4 2 5h1c2 2 4 3 7 3l4 2a147 147 0 0 0 69 28c15 2 31 3 47 2 7 0 15-1 22-4a68 68 0 0 0 24-19l3-3h3c4 0 8 1 12-1 0-2-1-2-2-3v-1Zm-31 3-14-2c-22-2-43 0-65 1h-4l-43 1 11 5 12 5c13 6 27 7 41 9h32c7 0 14-1 21-5l15-11 2-2-8-1Z" fill="${p(`${l.mouth}`)}"/>`,happy07:(a,l)=>`<path d="M516 651c18 5 31 16 48 21 7 3 14 4 21 2 11-2 21-8 32-10 8-1 17 1 22 7 5 5 7 12 7 19 0 8-4 16-9 23a84 84 0 0 1-53 26l-26-1c-14-2-27-6-40-13-6-4-13-9-17-15l13 7c16 8 33 14 51 15 8 0 17 0 25-2 10-2 19-6 27-12 6-4 11-8 15-14s6-15 3-22c-2-5-6-8-11-8-7-1-14 2-20 5l6 5c5 9 8 21 6 31-5-7-11-15-14-24-2-3-2-7-1-11-10 4-20 7-31 5l-1 11-5 25c-3-5-3-9-3-14 0-8 0-16 2-24-11-3-21-8-31-14-6 13-15 24-20 36-3-5-1-11 1-16 3-9 7-17 13-23-7-3-14-6-21-7s-14 2-18 7c-6 6-7 15-4 23 2 5 6 8 9 12-5 1-9-2-12-5-6-7-9-17-6-26 2-9 10-17 20-20 7-2 15-1 22 1Z" fill="${p(`${l.mouth}`)}"/>`,happy08:(a,l)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M603 664c-2-2-4-1-6-1a400 400 0 0 0-58 26l-5 4-1 4 4 5 4 5c6 5 13 11 21 14 5 2 12 3 16-1 5-3 8-9 10-14a375 375 0 0 0 15-36v-6Zm-14 21 4-12-51 23 12 9 10 8c3 2 8 4 11 1l6-9 1-2 7-18Z" fill="${p(`${l.mouth}`)}"/>`,happy18:(a,l)=>`<path d="M608 667c2 0 4 0 5 2l-1 15c5-1 10-4 16-2 0 4-4 7-7 9l-35 12c-17 4-34 7-51 8-7 1-15-1-22-3-2-1-4-1-4-4 4-2 9 0 12-1 2-5 7-7 11-10l31-19c3-1 7-4 10-4 4-1 7 4 11 4 8-2 16-7 24-7ZM607 712c1 4 1 8-1 11-2 5-7 9-12 11-6 2-12 3-18 2-2 0-6-2-6-5 1-2 5-2 7-3 8-4 18-7 25-13 2-1 3-3 5-3Z" fill="${p(`${l.mouth}`)}"/>`,happy09:(a,l)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="m463 648-14-4h-1c-2-1-5-1-6 1-1 1 0 3 1 3l6 3 2 1a257 257 0 0 0 73 24c0 7 2 14 7 20 5 7 12 13 21 16 10 4 21 3 31-1s18-12 22-22c2-4 2-9 2-13l18-6v-1l2-2a1497 1497 0 0 0-29 0 324 324 0 0 1-86-4l-39-11-2-1-8-3Zm69 29c1 10 9 18 18 23 12 9 32 5 40-8 3-4 4-9 5-14v-1l-26 2 1 1c0 3 1 5-1 8s-6 3-7 0c-2-3-2-6-1-9a1036 1036 0 0 0-25-2h-4Z" fill="${p(`${l.mouth}`)}"/>`,happy10:(a,l)=>`<path d="M513 669c0 7-5 15-8 21 23-1 45 2 67-2 20-3 37-11 56-14 4 0 10-2 14 2-3 5-8 6-13 8-9 5-19 7-29 11-10 2-19 5-29 6-16 2-32 0-48-1l-21-4-10 23c-1 2-4 3-6 1v-8c3-12 10-24 16-35l7-11c3-1 5 0 4 3Z" fill="${p(`${l.mouth}`)}"/>`,happy11:(a,l)=>`<path d="M497 679c8 3 15 5 22 9 4 1 7 3 11 3l13-2c5-1 10-1 14 3 7 5 8 17 2 23s-16 7-24 9c-6 1-13 1-19-2-4-1-6-3-8-6l5-4c6-2 13 1 19 0l15-3 5-4c0-2-1-5-4-5-7-1-13 4-20 3-9-1-16-7-25-10-4-2-9-5-14-5-4 0-6 3-7 6-2 4-3 9-1 13-2 3-5 1-7-1-4-8-1-19 6-25 5-3 12-3 17-2Z" fill="${p(`${l.mouth}`)}"/>`,happy12:(a,l)=>`<path d="M465 666c10-1 20 1 30 2 16 1 31 5 47 6h25l23-2c11-2 22-4 33-3 6 0 12 2 16 6 4 3 7 9 6 14-1 7-6 13-11 18l-24 13c-10 3-19 6-29 4-4-1-6-3-8-6 8-4 16-3 24-5 12-3 24-8 33-16 3-2 6-6 7-10s-2-6-5-8c-6-2-13-2-19-1-16 2-32 6-48 7l-28-1c-14-1-28-5-42-7l-27-2c-2 0-4-1-6 1-1 3 0 8 2 11 5 6 12 9 19 13l19 8c3 1 7 2 8 5 2 7 1 14 4 21 1 2 3 4 6 5 6-5 4-11 8-17 2-4 4-8 9-8 9-1 18 1 27 2 2 1 4 1 5 3 0 3-3 3-5 3-8 1-18-2-26-2-3-1-3 2-5 3-3 6-2 12-6 16-1 3-5 5-8 5-4-1-8-4-10-7-4-6-4-14-5-21-7-1-14-2-20-5l-17-8c-6-4-10-10-12-16v-14c2-4 6-6 10-7Z" fill="${p(`${l.mouth}`)}"/>`,happy13:(a,l)=>`<path d="M607 684c3 2 2 6 1 9-2 8-4 15-9 22-5 5-10 10-17 12-10 4-22 2-31-3-4-2-9-5-11-9-1-1-2-3-1-4 2-2 5-3 8-3 9 1 18 6 27 7 7 1 13-3 17-8 5-6 8-15 12-22 1-2 2-2 4-1Z" fill="${p(`${l.mouth}`)}"/>`,happy14:(a,l)=>`<path d="M478 678c3-1 5 0 5 2 0 3-3 6-6 7-3-3-2-7 1-9ZM503 690l36 7 30 2c7 1 13 0 19 2-1 2-3 3-6 4a158 158 0 0 1-74-6c-3-1-7-3-8-6-1-2 1-4 3-3Z" fill="${p(`${l.mouth}`)}"/>`,happy17:(a,l)=>`<path d="M597 674h33c4 0 8-1 11 2s4 7 2 10c-3 7-10 12-13 18l1 5c1 4 1 9-2 12-4 5-11 7-18 8l12-11v-5c-2-3-5-4-6-8-1-7 3-12 7-17-7 0-13 0-19-2-3-2-8-4-10-7-1-2 0-4 2-5Z" fill="${p(`${l.mouth}`)}"/>`,happy15:(a,l)=>`<path d="M655 663c3 1 4 2 5 5 2 6 1 14-5 18-5 5-13 9-16 15-2 5-6 8-11 10-7 5-15 9-24 8-10-1-17-6-26-8l-33-4-9-1c-4 1-8 2-13 1-5 0-9-2-13-3-10-2-16 5-26 3-5-1-9-6-10-12 0-7 2-12 5-18-5 0-8 3-12 6-1-3 1-5 2-8 3-4 8-6 13-7h8c3 2 3 6 2 9-2 6-6 12-5 18 1 3 5 3 8 2 5-1 11-2 16-1l10 2c6 1 13-3 19-2l22 3 23 5c7 3 13 7 21 6 6-1 12-6 16-10 4-3 5-7 8-11l15-10 5-4 4-9 1-3Z" fill="${p(`${l.mouth}`)}"/>`,happy16:(a,l)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M438 634c-4 6-11 11-19 13 0-4 3-7 6-9 4-3 8-5 13-4Zm14 12 32 5 24 6c15 4 29 8 44 10 10 1 20 0 29-1 12-2 23-4 36-1 6 2 11 6 15 11 3 5 4 10 2 16s-7 13-13 17c-7 5-15 6-24 7l-30 3-29-2-21-5-10-3-12-3-14-4-23-8-17-10c-7-5-10-15-8-23 2-9 10-15 19-15Zm4 9-9 1c-4 1-7 4-8 8 0 3 2 6 3 8v1l8 8 4 2c0-9 0-19 4-27l-2-1Zm9 2a703 703 0 0 1 40 10c-2 11-5 22-4 33l-22-6-14-5-4-2 4-17v-13Zm87 20c-14-1-27-5-41-8a46 46 0 0 1-1 18c-1 5-2 10-5 14l9 2 13 4 17 3 5 1c-3-10 0-21 2-30l1-4Zm54-5c4 0 8 0 12 2 3 1 6 5 8 8 1 2 2 5 1 8-3 5-7 10-12 13s-10 4-16 5l-2 1 7-18 2-19Zm-13 25 5-25-15 3-23 2c0 10-2 19-5 29l-2 5a135 135 0 0 0 35-1l4-1 1-12Z" fill="${p(`${l.mouth}`)}"/>`,sad01:(a,l)=>`<path d="M599 665c5 0 10 3 13 7 3 6 4 13 5 20 1 11-1 23-6 33-5 9-13 13-22 15-11 3-23 3-34 3-4 0-9-1-13-3 7-3 13-3 20-4l21-3c6-1 14-4 18-9s6-12 7-19l-4 6c-4 3-9 3-14 4l-26 4c-7 1-15 3-23 0l-11 23c-3 1-3-2-3-4 0-7 3-14 6-20 7-17 21-32 36-42 9-6 19-11 30-11Z" fill="${p(`${l.mouth}`)}"/>`,sad02:(a,l)=>`<path d="M619 659c1 3-1 7-2 9-5 9-14 13-21 21 0 4-2 7-3 11-3 9-6 17-13 23-3 2-7 2-11 1-3 0-6-2-7-5-1-5 0-9 3-13 6-12 16-19 26-27 8-6 15-10 21-17 2-1 4-4 7-3Z" fill="${p(`${l.mouth}`)}"/>`,sad03:(a,l)=>`<path d="M587 747c7-1 14 0 20 2-3 3-9 4-13 5l-43 11c-2 1-5 2-6 0-1-3 1-5 3-6 5-4 12-7 19-8l20-4Z" fill="${p(`${l.mouth}`)}"/>`,sad04:(a,l)=>`<path d="M621 668c2-1 4 1 5 3 2 5 1 11 1 16-1 4-2 8-5 11-1 2-3 2-5 3l-2-7 4-20-30 6c-4 0-9 2-13 4-11 6-20 16-29 23-2 2-5 5-9 6-3 0-5-2-4-5 0-4 4-8 6-11 9-9 20-19 32-23 10-3 18 1 27-2l22-4Z" fill="${p(`${l.mouth}`)}"/>`,sad05:(a,l)=>`<path d="M649 656c8 0 17 1 25 3 3 1 7 2 8 6 1 3-2 6-5 6-6 0-11-2-17-3-11-2-24 0-35 1l-45 4h-26c-19 1-38 2-56 7l-10 4c-4 4-8 8-14 11h-5c-2-1-3-4-2-6 2-6 6-11 11-15 5-3 10-4 16-5l25-2c14-1 27-3 41-3l34-3c19-2 36-5 55-5Z" fill="${p(`${l.mouth}`)}"/>`,sad06:(a,l)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="m527 664 16 4 6 1a258 258 0 0 0 69 8c8 0 17 2 24 6 4 2 5 4 5 8l-6-2c-9-2-17-2-26-2h-8c1 6 0 11-2 16h3l12 1c2 0 4 1 5 3 0 3-2 3-4 4h-23a2932 2932 0 0 0-86-1l-2 1-1 1-3-2-27-2a3065 3065 0 0 0-8 0c-3-1-7-1-10-3l14-1h29c0-9-1-21 2-30-9 1-19 2-28 5-8 3-15 7-20 14l-4 4c-1 2-2 5-4 6l-2-1c0-4 0-10 2-14l11-11c10-7 24-10 36-12 10-1 20-2 30-1Zm-16 10a104 104 0 0 1 28 4l16 4v21l-18 1h-23v-3c1-9 2-19-3-27Zm89 13c-13 0-25-1-37-4 1 7 1 14-1 20h39c-2-5-2-11-1-16Z" fill="${p(`${l.mouth}`)}"/>`,sad07:(a,l)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M661 646c3 3 6 8 7 12 3 5 4 11 3 17l-4-5-1-2-10-15-1-1v-1c-1-2-2-3-1-5 2-2 4-1 7 0Zm-30 25a40 40 0 0 1 29 13c3 4 7 7 8 10 2 4 2 8-2 10-5 4-13 5-20 5a5207 5207 0 0 1-42 1l-28 3-18 1-10 2-19 1c1-3 2-4 5-5l5-6 4-3c7-7 17-12 26-17l2-1c10-5 21-9 31-11 10-3 19-4 29-3Zm-6 29c-1-7 1-14 4-20-11-1-22 0-32 3l-1 11-1 7 30-1Zm11-19 1 1 4 1c6 2 11 7 15 12l3 3c-6 2-12 2-19 2h-10c4-6 6-12 6-19Zm-48 20c-1-5 0-10 1-15a254 254 0 0 0-43 21c10-3 21-4 31-5l11-1Z" fill="${p(`${l.mouth}`)}"/>`,sad08:(a,l)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M622 659c1-4-5-4-7-4-15 0-30 3-45 7a441 441 0 0 0-84 36c-6 3-11 7-15 13l-2 4 5-1c5-5 12-8 18-12 0 7 0 14 4 20 3 6 9 10 15 11 9 1 19-3 26-9 11-8 18-20 24-32 3-6 3-11 3-17 16-6 33-9 49-12h1c3 0 6-1 8-4Zm-84 48c6-8 11-18 14-29l-27 10c0 7-4 14-7 21l-1-6v-1l2-12-23 10v1c2 6 4 14 9 18 4 5 10 5 16 3 7-3 13-9 17-15Z" fill="${p(`${l.mouth}`)}"/>`,sad09:(a,l)=>`<path d="M667 657c2 0 4 0 5 2 2 2 1 5-1 6l-16 4c-21 3-42 7-64 9-6 0-12 2-17 0l15-5 62-13 16-3Z" fill="${p(`${l.mouth}`)}"/>`},xa={variant01:(a,l)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M482 429c13 2 26 7 37 15 3-2 7-2 10 0a94 94 0 0 1 39 90c9-6 20-8 30-5-1-34 16-68 44-87 11-7 25-12 39-12 9 0 19 2 27 7l4 1 5 1c10 7 18 16 23 26 8 16 10 33 8 51-3 29-20 57-45 72-14 8-31 13-47 11-13-2-25-8-35-17-9-8-15-19-19-31-1-4-6-7-9-9-9-3-18 0-26 5l-5 7c-7 19-21 36-39 47a99 99 0 0 1-57 14c-31-1-60-18-76-45a92 92 0 0 1 30-127c18-11 41-16 62-14Zm35 19 1 4c0 2 2 3 4 5 12 8 22 19 27 33a81 81 0 0 1-56 111c-26 6-55-1-75-19a82 82 0 0 1-23-90c9-25 32-45 59-51 21-5 43-2 63 6v1Zm190-1c-1-1-1-2-3-2-8-4-17-5-26-4-15 2-29 9-40 20a88 88 0 0 0-26 77c2 13 9 26 19 36 9 7 19 11 30 12 14 1 27-4 39-11 25-18 40-52 35-82a63 63 0 0 0-23-41l-4-3-1-2Z" fill="${p(`${l.glasses}`)}"/>`,variant02:(a,l)=>`<path d="M690 460h30c9 1 17 1 26 4 3 1 5 4 4 8-4 5-10 6-16 7v29c-2 14-3 29-8 43-4 11-15 19-25 23-8 3-17 5-25 6-11 1-22-1-33-2-6-1-12-1-17-4-6-4-12-10-15-17-2-6-5-12-6-19-1-10-2-21 0-31-12-2-24-4-36-1l-4 5-1 11c-1 12-2 25-6 36-3 9-9 16-16 22l-15 8c-24 7-48 12-73 11-16-1-33-4-47-12-13-7-25-18-32-31l-4-13-1-23v-21c-7-1-13 0-19-4-3-2-4-7-1-10 3-4 9-5 14-7 15-6 29-8 45-11l19-2c18-2 36-3 54-2 19 0 37 1 56 4 8 1 15 5 22 9l10 11 24 3 12 1 2-9 7-8c9-5 19-7 28-10l47-4Z" fill="${p(`${l.glasses}`)}"/><path d="M707 480c6 2 13 8 13 15 1 4-3 8-7 8-6-1-9-7-12-11-2-2-4-2-4-5 0-5 6-8 10-7ZM524 487c8 1 15 5 20 11 3 4 4 10 2 14s-7 6-12 4c-3-2-4-5-6-8-2-2-4-3-7-3l-12-5c-2-2-2-5 0-7 3-5 9-7 15-6Z" fill="#fff"/>`,variant03:(a,l)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M485 464c18 2 36 4 53 10a1666 1666 0 0 0 38 10c5 1 10 2 15 1a176 176 0 0 1 15-1l8-4 3-2a163 163 0 0 1 85-11l15 2c5 0 9 2 13 3 4 2 7 3 11 3 3 1 6 2 7 4 2 3 0 6-3 7l-9 2h-3c2 18-3 38-11 55-6 11-14 21-25 27-9 6-22 9-33 10-11 0-24-2-34-7-9-4-17-13-21-22a63 63 0 0 1-6-36l3-21-7 1c-7 1-14 2-21 0l-9-1h-4v21c-4 18-13 35-25 49-6 6-13 12-21 16-12 6-25 11-39 14a94 94 0 0 1-75-16c-9-7-18-16-25-27s-10-24-11-37c0-7 1-15 3-22a123 123 0 0 0-11 5h-4c-1-2 0-4 2-5 5-6 13-9 20-12l4-1 28-10a278 278 0 0 1 74-5Zm-57 16h33a553 553 0 0 1 86 13c1 12 0 26-3 38-5 14-15 28-29 36l-22 11c-10 3-21 4-31 5-8 0-17-2-25-5l-22-10c-9-7-17-14-23-23-7-12-10-26-9-39l2-13v-6h1a129 129 0 0 1 36-7h6Zm269 4-21-3a157 157 0 0 0-56 12c-2 6-3 12-3 19-1 9-1 20 2 29 4 8 10 16 18 20 8 3 17 4 25 4 11 0 22-2 30-9 10-8 16-20 19-32 4-12 4-25 5-37l-19-3Z" fill="${p(`${l.glasses}`)}"/>`,variant04:(a,l)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M720 460c9 0 17 1 26 4 3 1 5 4 4 8l-4 3-3 3-9 4v21l-2 19-1 6c-1 7-2 14-5 21-3 10-10 17-19 22-5 3-10 5-16 6l-4 1c-12 3-25 2-37 1l-15-2c-7-1-14-6-18-12-5-4-6-9-9-15v-1c-3-7-3-15-4-23v-4a74 74 0 0 1 1-16c-8-4-17-3-25-2h-3l-12 5a169 169 0 0 1-8 52c-3 6-7 11-12 16l-1 1c-6 7-15 11-23 14a256 256 0 0 1-89 9l-27-6a53 53 0 0 1-22-17 99 99 0 0 1-18-50c-1-11-2-21-1-32-6-1-11-2-15-6 0-3 2-5 3-7l11-4 2-2c14-5 28-7 42-10l21-2 10-1c16-1 31-2 47-1h10l24 2h3c10 1 20 2 28 6l10 6 6 5 4 5 12 2h5l7 1 12 1 1-5c1-3 2-6 5-9a57 57 0 0 1 26-11l21-4a302 302 0 0 0 18-1l38-2 5 1Zm-20 12h23c-2 9-3 18-3 28l-2 19c0 8-1 17-4 25-1 6-3 11-8 15-7 6-15 8-23 11-11 1-22 1-32-1l-4-1c-6-1-13-3-16-7-5-6-7-14-9-21v-2c-2-14 0-29 2-43l1-8 9-3 8-2c7-3 13-5 20-5 13-3 25-5 38-5Zm-148 18c-3-5-7-7-12-8a554 554 0 0 0-130-1l-27 4-1 10v14c0 12 1 24 4 36 2 6 5 12 9 17l1 3 9 12c5 4 12 7 18 9a153 153 0 0 0 62 0l26-7c7-2 15-5 20-11 5-5 9-13 11-20l3-21 2-13 1-6c1-6 1-12 4-18Z" fill="${p(`${l.glasses}`)}"/>`,variant05:(a,l)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M686 525h37a1149 1149 0 0 0 13 1c7 0 13 1 17 6 3 3 3 7 0 9-4 4-10 4-16 3 2 11 1 21-5 31-4 6-10 9-17 12-14 7-30 11-45 12-9 1-17 0-24-2-7-1-15-3-21-7a35 35 0 0 1-14-24l-2-4-11-2h-1a81 81 0 0 0-23 1h-4l-15 2-2 3-2 4-1 4v3c-2 10-8 18-16 23-9 6-21 9-32 11a183 183 0 0 1-83-10c-6-4-12-8-15-15-4-8-4-17-2-25h-4l-9-1c-3-1-4-3-3-6 2-4 8-6 12-8 6-2 12-4 19-4l55-7c24-3 48-3 72 1l9 4 7 3h3l9 2 23-1 4-1c3 1 5-2 8-4l5-4c7-3 15-4 22-5l6-1 32-3 14-1Zm38 18v8c0 4 0 10-2 14-1 4-4 6-7 8-13 6-27 10-42 12-11 2-22 0-33-3-9-2-16-9-18-18-2-4-2-9-2-13v-3a1133 1133 0 0 0 37-2l17-2a258 258 0 0 1 40-1h10Zm-197 8h-10c-13-1-27 0-40 1l-19 2a1435 1435 0 0 1-41 5l1 8 1 11c1 6 6 8 10 11a86 86 0 0 0 29 8c21 3 41 4 61-3 8-3 15-7 19-14 4-9 4-20 3-29h-14Z" fill="${p(`${l.glasses}`)}"/>`},Ha=Object.defineProperty({__proto__:null,beard:ka,earrings:$a,eyebrows:ya,eyes:ga,freckles:Aa,glasses:xa,hair:Ma,hairAccessories:ua,head:ma,mouth:Ca,nose:ba},Symbol.toStringTag,{value:"Module"});function Va({prng:a,group:l,values:c=[]}){const i=Ha,t=a.pick(c);return t&&i[l][t]?{name:t,value:i[l][t]}:void 0}function wa(a){return"transparent"===a?a:`#${a}`}const La=Object.defineProperty({__proto__:null,create:({prng:a,options:l})=>{var c,i,t,e;const r=function({prng:a,options:l}){const c=Va({prng:a,group:"hair",values:l.hair}),i=Va({prng:a,group:"hairAccessories",values:l.hairAccessories}),t=Va({prng:a,group:"head",values:l.head}),e=Va({prng:a,group:"eyes",values:l.eyes}),r=Va({prng:a,group:"eyebrows",values:l.eyebrows}),h=Va({prng:a,group:"earrings",values:l.earrings}),d=Va({prng:a,group:"freckles",values:l.freckles}),n=Va({prng:a,group:"nose",values:l.nose}),o=Va({prng:a,group:"beard",values:l.beard}),f=Va({prng:a,group:"mouth",values:l.mouth}),p=Va({prng:a,group:"glasses",values:l.glasses});return{hair:c,hairAccessories:a.bool(l.hairAccessoriesProbability)?i:void 0,head:t,eyes:e,eyebrows:r,earrings:a.bool(l.earringsProbability)?h:void 0,freckles:a.bool(l.frecklesProbability)?d:void 0,nose:n,beard:a.bool(l.beardProbability)?o:void 0,mouth:f,glasses:a.bool(l.glassesProbability)?p:void 0}}({prng:a,options:l}),h=function({prng:a,options:l}){var c,i,t,e,r,h,d,n,o,f;return{hair:wa(a.pick(null!==(c=l.hairColor)&&void 0!==c?c:[],"transparent")),skin:wa(a.pick(null!==(i=l.skinColor)&&void 0!==i?i:[],"transparent")),earrings:wa(a.pick(null!==(t=l.earringsColor)&&void 0!==t?t:[],"transparent")),eyebrows:wa(a.pick(null!==(e=l.eyebrowsColor)&&void 0!==e?e:[],"transparent")),eyes:wa(a.pick(null!==(r=l.eyesColor)&&void 0!==r?r:[],"transparent")),freckles:wa(a.pick(null!==(h=l.frecklesColor)&&void 0!==h?h:[],"transparent")),glasses:wa(a.pick(null!==(d=l.glassesColor)&&void 0!==d?d:[],"transparent")),mouth:wa(a.pick(null!==(n=l.mouthColor)&&void 0!==n?n:[],"transparent")),nose:wa(a.pick(null!==(o=l.noseColor)&&void 0!==o?o:[],"transparent")),hairAccessories:wa(a.pick(null!==(f=l.hairAccessoriesColor)&&void 0!==f?f:[],"transparent"))}}({prng:a,options:l});return function({prng:a,options:l,components:c,colors:i}){c.beard&&i.hair===i.mouth&&(i.mouth="#ffffff")}({prng:a,options:l,components:r,colors:h}),{attributes:{viewBox:"0 0 980 980",fill:"none","shape-rendering":"auto"},body:`<g transform="translate(10 -60)">${null!==(i=null===(c=r.hair)||void 0===c?void 0:c.value(r,h))&&void 0!==i?i:""}</g><g transform="translate(10 -60)">${null!==(e=null===(t=r.hairAccessories)||void 0===t?void 0:t.value(r,h))&&void 0!==e?e:""}</g>`,extra:()=>({...Object.entries(r).reduce(((a,[l,c])=>(a[l]=null==c?void 0:c.name,a)),{}),...Object.entries(h).reduce(((a,[l,c])=>(a[`${l}Color`]=c,a)),{})})}},meta:{title:"Lorelei",creator:"Lisa Wischofsky",source:"https://www.figma.com/community/file/1198749693280469639",homepage:"https://www.instagram.com/lischi_art/",license:{name:"CC0 1.0",url:"https://creativecommons.org/publicdomain/zero/1.0/"}},schema:{$schema:"http://json-schema.org/draft-07/schema#",properties:{beard:{type:"array",items:{type:"string",enum:["variant01","variant02"]},default:["variant01","variant02"]},beardProbability:{type:"integer",minimum:0,maximum:100,default:5},earrings:{type:"array",items:{type:"string",enum:["variant01","variant02","variant03"]},default:["variant01","variant02","variant03"]},earringsColor:{type:"array",items:{type:"string",pattern:"^(transparent|[a-fA-F0-9]{6})$"},default:["000000"]},earringsProbability:{type:"integer",minimum:0,maximum:100,default:10},eyebrows:{type:"array",items:{type:"string",enum:["variant13","variant12","variant11","variant10","variant09","variant08","variant07","variant06","variant05","variant04","variant03","variant02","variant01"]},default:["variant13","variant12","variant11","variant10","variant09","variant08","variant07","variant06","variant05","variant04","variant03","variant02","variant01"]},eyebrowsColor:{type:"array",items:{type:"string",pattern:"^(transparent|[a-fA-F0-9]{6})$"},default:["000000"]},eyes:{type:"array",items:{type:"string",enum:["variant24","variant23","variant22","variant21","variant20","variant19","variant18","variant17","variant16","variant15","variant14","variant13","variant12","variant11","variant10","variant09","variant08","variant07","variant06","variant05","variant04","variant03","variant02","variant01"]},default:["variant24","variant23","variant22","variant21","variant20","variant19","variant18","variant17","variant16","variant15","variant14","variant13","variant12","variant11","variant10","variant09","variant08","variant07","variant06","variant05","variant04","variant03","variant02","variant01"]},eyesColor:{type:"array",items:{type:"string",pattern:"^(transparent|[a-fA-F0-9]{6})$"},default:["000000"]},freckles:{type:"array",items:{type:"string",enum:["variant01"]},default:["variant01"]},frecklesColor:{type:"array",items:{type:"string",pattern:"^(transparent|[a-fA-F0-9]{6})$"},default:["000000"]},frecklesProbability:{type:"integer",minimum:0,maximum:100,default:5},glasses:{type:"array",items:{type:"string",enum:["variant01","variant02","variant03","variant04","variant05"]},default:["variant01","variant02","variant03","variant04","variant05"]},glassesColor:{type:"array",items:{type:"string",pattern:"^(transparent|[a-fA-F0-9]{6})$"},default:["000000"]},glassesProbability:{type:"integer",minimum:0,maximum:100,default:10},hair:{type:"array",items:{type:"string",enum:["variant48","variant47","variant46","variant45","variant44","variant43","variant42","variant41","variant40","variant39","variant38","variant37","variant36","variant35","variant34","variant33","variant32","variant31","variant30","variant29","variant28","variant27","variant26","variant25","variant24","variant23","variant22","variant21","variant20","variant19","variant18","variant17","variant16","variant15","variant14","variant13","variant12","variant11","variant10","variant09","variant08","variant07","variant06","variant05","variant04","variant03","variant02","variant01"]},default:["variant48","variant47","variant46","variant45","variant44","variant43","variant42","variant41","variant40","variant39","variant38","variant37","variant36","variant35","variant34","variant33","variant32","variant31","variant30","variant29","variant28","variant27","variant26","variant25","variant24","variant23","variant22","variant21","variant20","variant19","variant18","variant17","variant16","variant15","variant14","variant13","variant12","variant11","variant10","variant09","variant08","variant07","variant06","variant05","variant04","variant03","variant02","variant01"]},hairAccessories:{type:"array",items:{type:"string",enum:["flowers"]},default:["flowers"]},hairAccessoriesColor:{type:"array",items:{type:"string",pattern:"^(transparent|[a-fA-F0-9]{6})$"},default:["000000"]},hairAccessoriesProbability:{type:"integer",minimum:0,maximum:100,default:5},hairColor:{type:"array",items:{type:"string",pattern:"^(transparent|[a-fA-F0-9]{6})$"},default:["000000"]},head:{type:"array",items:{type:"string",enum:["variant04","variant03","variant02","variant01"]},default:["variant04","variant03","variant02","variant01"]},mouth:{type:"array",items:{type:"string",enum:["happy01","happy02","happy03","happy04","happy05","happy06","happy07","happy08","happy18","happy09","happy10","happy11","happy12","happy13","happy14","happy17","happy15","happy16","sad01","sad02","sad03","sad04","sad05","sad06","sad07","sad08","sad09"]},default:["happy01","happy02","happy03","happy04","happy05","happy06","happy07","happy08","happy18","happy09","happy10","happy11","happy12","happy13","happy14","happy17","happy15","happy16","sad01","sad02","sad03","sad04","sad05","sad06","sad07","sad08","sad09"]},mouthColor:{type:"array",items:{type:"string",pattern:"^(transparent|[a-fA-F0-9]{6})$"},default:["000000"]},nose:{type:"array",items:{type:"string",enum:["variant01","variant02","variant03","variant04","variant05","variant06"]},default:["variant01","variant02","variant03","variant04","variant05","variant06"]},noseColor:{type:"array",items:{type:"string",pattern:"^(transparent|[a-fA-F0-9]{6})$"},default:["000000"]},skinColor:{type:"array",items:{type:"string",pattern:"^(transparent|[a-fA-F0-9]{6})$"},default:["ffffff"]}}}},Symbol.toStringTag,{value:"Module"}),Fa={standard:(a,l)=>{var c,i;return`<path d="M154 319.5c-14.4-20-25.67-58.67-27-78L58.5 212 30 319.5h124Z" fill="${p(`${l.base}`)}" stroke="#000" stroke-width="4"/><path d="M130.37 263.69c-2.1.2-4.22.31-6.37.31-30.78 0-56.05-21.57-58.76-49.1L127 241.5c.38 5.48 1.55 13.32 3.37 22.19Z" fill="#000" style="mix-blend-mode:multiply"/><path d="M181.94 151.37v.01l.1.4.14.65A75.72 75.72 0 0 1 34.93 187.7l-.2-.74L18 117.13l-.06-.29A75.72 75.72 0 0 1 165.2 81.55l.05.21.02.08.05.2.05.2v.01l16.4 68.44.08.34.08.34Z" fill="${p(`${l.base}`)}" stroke="#000" stroke-width="4"/><g transform="translate(34 102.3)">${null!==(i=null===(c=a.facialHair)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}</g>`}},Sa={surprised:(a,l)=>`<path d="M36.37 56.66c12.1-2.2 18.75-15.38 16.42-28.23C50.47 15.6 39.63 5.57 27.52 7.76 15.4 9.95 8.77 23.13 11.09 35.98c2.33 12.85 13.17 22.87 25.28 20.68Z" fill="${p(`${l.mouth}`)}"/><path d="M17.14 42.66c2.78-5.21 8.14-9.25 14.8-10.45 6.66-1.2 13.1.7 17.53 4.6-1.09 8.3-6.37 15-13.74 16.33-7.37 1.33-14.67-3.1-18.6-10.47Z" fill="#FC909F"/>`,laughing:(a,l)=>`<path d="M64.73 25.7a36 36 0 0 0 1.18-12.54 4.98 4.98 0 0 0-6.8-4.2c-4.26 1.67-18.03 6.88-27.62 8.2-10.52 1.44-26.66-.32-31.44-.91a4.98 4.98 0 0 0-5.53 5.74 36 36 0 0 0 70.21 3.7Z" fill="${p(`${l.mouth}`)}"/><path d="M51.83 39.55a32 32 0 0 1-37.2 4.62 21.5 21.5 0 0 1 37.2-4.62Z" fill="#FC909F"/>`,nervous:(a,l)=>`<path d="M68.42 31.57 67.4 17a8.06 8.06 0 0 0-9.74-7.3c-6.95 1.49-20.1 4.1-29.54 4.76-9.43.66-22.82-.1-29.9-.6a8.06 8.06 0 0 0-8.63 8.58L-9.4 37a8.06 8.06 0 0 0 9.73 7.3c6.95-1.48 20.1-4.1 29.54-4.76 9.44-.66 22.82.1 29.91.61a8.06 8.06 0 0 0 8.63-8.58Z" fill="${p(`${l.mouth}`)}"/><path d="m-.25 17.97 1.6 6.07a6 6 0 0 0 6.22 4.46 6 6 0 0 0-5.54 5.28l-.74 6.23c7.28-1.52 19.34-3.83 28.3-4.46 8.98-.63 21.24-.02 28.66.48l-1.6-6.07a6 6 0 0 0-6.21-4.46 6 6 0 0 0 5.54-5.28l.73-6.24c-7.27 1.53-19.33 3.84-28.3 4.47-8.97.62-21.23.01-28.65-.48Z" fill="#fff"/>`,smile:(a,l)=>`<path d="M-.5 17.5c2.5 17 31 25 57 5.5" stroke="${p(`${l.mouth}`)}" stroke-width="4"/>`,sad:(a,l)=>`<path d="M13 46c1.72-7.96 8.07-24.77 19.77-28.35 11.7-3.58 17.7 8.46 19.23 14.92" stroke="${p(`${l.mouth}`)}" stroke-width="4"/>`,pucker:(a,l)=>`<path d="M26 16.7c4.17-2.34 21-5.3 21 1.5 0 8.5-11.5 8-11.5 8s13.04-3.16 10.5 6c-2.5 9-9.5 5.5-11.5 4.5" stroke="${p(`${l.mouth}`)}" stroke-width="4"/>`,frown:(a,l)=>`<path d="M-5 41c3.21-7.96 15.1-24.77 37-28.35 21.9-3.58 33.13 8.46 36 14.92" stroke="${p(`${l.mouth}`)}" stroke-width="4"/>`,smirk:(a,l)=>`<path d="M10 24.16c4.94 6.45 12.43 13.6 23.98 11.96 11.55-1.62 16.68-9.6 15.17-16.04" stroke="${p(`${l.mouth}`)}" stroke-width="4"/>`},Ea={up:(a,l)=>`<path d="M99 10.21c5.67-2.66 19-5.1 27 6.5M23.58 35.52c2.07-5.9 9.68-17.12 23.56-14.7" stroke="${p(`${l.eyebrows}`)}" stroke-width="4" stroke-linecap="round"/>`,down:(a,l)=>`<path d="M27 26.5c6.17 2.5 21.1 3 31.5-15M94 4c5.17 5.33 18.1 12.8 28.5 0" stroke="${p(`${l.eyebrows}`)}" stroke-width="4" stroke-linecap="round"/>`,eyelashesUp:(a,l)=>`<path d="M99 10.21c5.67-2.66 19-5.1 27 6.5M23.58 35.52c2.07-5.9 9.68-17.12 23.56-14.7M26.07 29.46l-6.14-5.43M122.96 11.16l6.15-5.43M32.52 23.81l-4.04-7.13M115.51 7.51l4.05-7.13M40.6 20.2l-2.2-7.9M106.44 6.9l2.2-7.9" stroke="${p(`${l.eyebrows}`)}" stroke-width="4" stroke-linecap="round"/>`,eyelashesDown:(a,l)=>`<path d="M27 26.5c6.17 2.5 21.1 3 31.5-15M94 4c5.17 5.33 18.1 12.8 28.5 0M37.15 26.46 31 21.03M116.22 9.44l1.78-8M45.6 22.81l-4.05-7.13M108.14 9.02l.94-8.15M52.67 17.2l-2.2-7.9M100 8.03l-.78-8.16" stroke="${p(`${l.eyebrows}`)}" stroke-width="4" stroke-linecap="round"/>`},Ba={fonze:(a,l)=>`<path d="M210.18 49.4c-1.27 6.05-4.6 11.32-9.43 15.9 9.4 34.06 9.6 53.87 4.38 57.65l-14.8-49.99C158.4 91.7 98.65 94.9 83.69 94.9c-1.55.17-3.02.4-4.43.67-14.65 9-2.6 52.12 11.75 70.43l-11 2c-5.14-24.97-17.41-22.92-26.61-21.38l-.32.05c2.2 13.63 6.72 27.74 10.45 39.32.95 2.99 1.86 5.8 2.66 8.4-.79.1-1.48.3-2.12.47-5.5 1.53-7.41 2.06-33.38-61.97-6.47-15.95-6.03-30.16-.97-42.62-4.78-4.8-14.37-7.14-19.71-7.78 10.44-6.12 20.58-4.87 25.54-3.1.5-.75 1.02-1.49 1.56-2.22-.97-4.41-7.96-9.46-12.11-11.82 8.55-4.3 18.6-2.03 22.98-.2C67.63 47.13 97.03 35.05 122 29 170.81 17.17 189.5.5 189.5.5c20.68 8.5 25.62 25.22 20.68 48.9Z" fill="${p(`${l.hair}`)}" stroke="#000" stroke-width="4"/>`,mrT:(a,l)=>`<g fill="${p(`${l.hair}`)}"><path opacity=".1" d="M187.99 77.18c-8-6.4-21.84-7-27.5-6.5l-8-26.5c13.6 3.2 32 24 35.5 33Z"/><path d="M85.8 11.76S91.52 7.8 115.74 1.7c24.21-6.1 33.04-3.72 33.04-3.72l11.8 72.84s-8.05-.18-28.04 4.19c-20 4.38-29.56 9.67-29.56 9.67l-17.2-72.9Z"/><path d="M48.99 86.68c-6.8-41.6 23.33-68.17 37-75.5l16.98 73.5c-19.2-39.6-45.33-15.17-54 2Z"/><path opacity=".1" d="M67.49 130.68c-7.2-27.2 22-41.84 35.5-46-7-16.34-23-31-42.5-13-18 30.5-11 54-5.5 72l12.5-13Z"/></g>`,dougFunny:(a,l)=>`<path d="M140 56c14.67-.67 40.4-8.8 26-36M114 54c14.67-.67 40.4-8.8 26-36M78 65c14.67-.67 40.4-8.8 26-36" stroke="${p(`${l.hair}`)}" stroke-width="4"/>`,mrClean:(a,l)=>'<ellipse cx="147.85" cy="58.18" rx="6.86" ry="18.44" transform="rotate(117 147.85 58.18)" fill="#FCFDFF"/>',dannyPhantom:(a,l)=>`<path d="M123.79 17.49H123.94a96.78 96.78 0 0 1 62.07 24.36c14.06 12.4 22.45 26.87 25.19 36.73-4.06 2.32-11.01 4.31-19.88 5.95-9.68 1.78-21.3 3.08-33.15 4.01-23.7 1.86-48.2 2.2-59.63 1.96l-6.07-.13 4.8 3.71c2.5 1.93 5.83 3.28 9.34 4.22 3.55.95 7.42 1.54 11.14 1.87 3.82.34 7.55.42 10.64.34-10.59 8.16-24.06 14.44-37.35 19.09a225.88 225.88 0 0 1-39.83 9.92l-2.15.32.5 2.11c3.34 14.43 9.5 39.65 13.62 56.57 1.83 7.5 3.26 13.38 3.87 15.94 1.09 4.56 4.5 11.05 8.4 17.03 3.6 5.52 7.78 10.89 11.32 14.2l-7.84 31.81H49.37c8.34-12.71 10.1-27.4 8.4-42.98-1.84-16.87-7.76-35-14-53.17l-1.85-5.36c-5.69-16.46-11.36-32.88-14.43-48.6-3.4-17.44-3.56-33.75 2.83-48.09 10.34-23.21 28.66-36.7 47-44.12 18.37-7.45 36.61-8.76 46.46-7.71Z" fill="${p(`${l.hair}`)}" stroke="#000" stroke-width="4"/>`,full:(a,l)=>`<path d="m-13.4 312.86-.62-1.64c-.56-1.55-1.35-3.84-2.23-6.74a163.21 163.21 0 0 1-5.28-23.98c-2.81-19.77-2.8-45.8 8.4-71.12 1.8-4.09 4.07-8.3 6.52-12.85 9.47-17.6 21.77-40.46 21.77-82.45 0-30.59 14.84-56.35 36.7-74.51 21.88-18.18 50.7-28.66 78.38-28.66 15.13 0 27.3 1.73 37.07 7.64 9.72 5.87 17.37 16.05 23.05 33.58a3.47 3.47 0 0 0 4.36 2.27c11.31-3.67 28.47.04 42.95 9.5 14.42 9.4 25.62 24.15 25.62 41.91 0 15.43-2.64 25.85-5.22 36-3.12 12.3-6.13 24.16-4 43.5.7 6.45 2.15 11.03 4.16 14.82 1.98 3.73 4.48 6.62 7.12 9.66l.05.07c6.28 7.25 9.13 13.22 10.06 18.47.92 5.23-.05 9.98-1.84 14.9-.9 2.48-2 4.97-3.15 7.59l-.1.22c-1.12 2.53-2.3 5.19-3.35 7.98-2.18 5.77-3.89 12.2-3.72 19.83.15 6.48 1.3 10.91 3.01 14.27 1.7 3.32 3.89 5.44 5.8 7.3l.05.05c1.74 1.68 3.2 3.1 4.27 5.1.96 1.78 1.67 4.13 1.79 7.66a172.14 172.14 0 0 1-87.4 23.9 110.86 110.86 0 0 1-7.28-.28c-6.15-9.4-11.75-24.88-16.1-40.8-4.21-15.46-7.18-31.08-8.3-41.4 37.08-10.72 60.32-48.98 54.73-88.46l-.01-.12a5.97 5.97 0 0 0-.08-.47 76.68 76.68 0 0 0-.43-2.25 486.97 486.97 0 0 0-6.53-28.2 276.64 276.64 0 0 0-7.45-24.2c-2.76-7.5-5.83-14.15-9.1-18.24l-.3-.37-.44-.2c-1.93-.83-3.94-1.77-6.03-2.74-9.93-4.62-21.84-10.17-37.26-10.78-18.78-.74-42.56 5.78-74.7 29.09l-2.02 1.46 1.95 1.57c15.92 12.83 19.37 29.86 18.63 44.3a89.2 89.2 0 0 1-5.24 25.1c-1.16-1.69-1.9-3.82-2.45-6.33a85.19 85.19 0 0 1-.96-5.45l-.05-.3c-.3-2-.63-4.08-1.1-6.09-.96-4.01-2.57-8.02-6.14-10.86-3.58-2.84-8.8-4.25-16.4-3.83l-2.22.13.46 2.18 11.36 53.31.02.08.03.09a79.8 79.8 0 0 0 19.91 32.81 65.49 65.49 0 0 1 1.54 2.68c1.01 1.82 2.37 4.38 3.76 7.33 2.82 5.94 5.66 13.24 6.2 19.2.57 6.05-.96 13.86-2.7 20.31a129.63 129.63 0 0 1-2.84 9.14c-5.03-2.4-9.53-2.23-13.38.01-4.16 2.43-7.21 7.06-9.48 12.22-4.15 9.42-6.14 21.64-7.06 29.22A601.65 601.65 0 0 1 6.2 320.1 353.85 353.85 0 0 1-9 314.64a190.8 190.8 0 0 1-4.4-1.77Z" fill="${p(`${l.hair}`)}" stroke="#000" stroke-width="3.82"/>`,turban:(a,l)=>`<g stroke="#000" stroke-width="4"><path d="M222.73 100.8c0-66.1-36.46-110.8-80.87-110.8C84.96-10 27 11.34 27 112.25c0 24.97 10.66 43.58 25.56 57.29a42.88 42.88 0 0 1-3.5-4.92c-2.88-26.98 29.17-47.7 60.54-67.96 16.65-10.75 33.11-21.39 44.05-32.76 9.6 5.43 37.79 28.2 43.16 37.42 2.88 4.94 7.51 21.87 10.67 41.63 10.34-12.42 15.25-24.84 15.25-42.16Z" fill="${p(`${l.hair}`)}"/><path d="M154.26 63.25c13.18-11.95 32.89-39.21 31.62-56.92"/></g>`,pixie:(a,l)=>`<g stroke="#000"><path d="m105.84 88.82 1.88.3v.08l-.04.16-.12.52c-.12.45-.3 1.09-.6 1.9a41.7 41.7 0 0 1-3.4 6.92c-3.17 5.32-8.7 12.66-18.31 21.6 29.97.74 55-8.92 72.82-19.04a156.35 156.35 0 0 0 21.71-14.87 118.43 118.43 0 0 0 7.5-6.7l.1-.1.01-.01 2.29-2.38.93 3.16-1.84.54 1.84-.54v.05l.05.13.15.52a817.06 817.06 0 0 1 2.69 9.28c1.75 6.14 4.14 14.58 6.66 23.77 5.03 18.35 10.6 39.81 12.7 51.97 3.49 20.32-1.91 35.74-5.1 44.87-.63 1.77-1.17 3.3-1.54 4.6.06.04.12.1.22.16.6.42 1.65.91 3.18 1.4 3.02.96 7.32 1.74 11.92 2.19 4.6.44 9.38.53 13.34.14 1.98-.2 3.7-.5 5.08-.92a6.85 6.85 0 0 0 2.58-1.27c.02-.08.03-.29-.02-.68-.1-.78-.4-1.87-.93-3.32-.8-2.15-1.97-4.8-3.35-7.88l-1.46-3.3c-3.93-8.94-8.65-20.56-9.68-32.4-1.15-13.16 1.45-24.42 3.79-34.54l.11-.48c2.39-10.34 4.38-19.32 2.34-28.42-3.1-13.8-7.32-25.3-13.8-33.57-6.42-8.17-15.13-13.27-27.5-14.21l-1.28-.1-.4-1.22c-5.7-17.57-13.38-29.05-23.18-36.17-9.8-7.12-21.96-10.05-36.94-10.05-27.7 0-57.5 10.52-79.88 28.72-22.35 18.18-37.14 43.9-35.2 74.33 2.13 33.6-.3 59.06-5.8 77.72-5 17-12.59 28.46-21.68 35.14 1.19.61 2.78 1.39 4.77 2.27 5.02 2.24 12.59 5.2 22.67 8.03 19.34 5.43 47.95 10.38 85.71 8.89-8.32-7.15-16.72-15.83-23.37-25-7.63-10.53-13.14-21.94-13.3-32.58-.19-12.62.67-45.67.93-52.5.62-15.9 10.82-28.15 20.54-36.3a96.6 96.6 0 0 1 18.96-12.34l.2-.1.13-.06.1-.05h.02v-.01l.8 1.74Zm0 0 1.88.3.56-3.5-3.23 1.46.79 1.74Zm100.23 126.57.03.04-.03-.04Z" fill="${p(`${l.hair}`)}" stroke-width="3.82"/><path d="M191 58c.5 4.5-.3 13.5-1.5 19.5" stroke-width="4"/></g>`},Da={eyes:(a,l)=>{var c,i;return`<g fill="${p(`${l.eyes}`)}"><ellipse cx="16.53" cy="29.4" rx="9" ry="13.5" transform="rotate(-6.78 16.53 29.4)"/><ellipse cx="80.53" cy="19.4" rx="9" ry="13.5" transform="rotate(-6.28 80.53 19.4)"/></g><g transform="translate(-40 -8)">${null!==(i=null===(c=a.glasses)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}</g>`},round:(a,l)=>{var c,i;return`<g fill="${p(`${l.eyes}`)}"><ellipse cx="16.12" cy="28.93" rx="9" ry="10" transform="rotate(-6.78 16.12 28.93)"/><ellipse cx="80.15" cy="18.92" rx="9" ry="10" transform="rotate(-6.28 80.15 18.92)"/></g><g transform="translate(-40 -8)">${null!==(i=null===(c=a.glasses)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}</g>`},eyesShadow:(a,l)=>{var c,i;return`<circle cx="15.24" cy="20.24" r="12" transform="rotate(-6.28 15.24 20.24)" fill="${p(`${l.eyeShadow}`)}"/><ellipse cx="16.53" cy="29.4" rx="9" ry="13.5" transform="rotate(-6.78 16.53 29.4)" fill="${p(`${l.eyes}`)}"/><circle cx="79.02" cy="11.61" r="12" transform="rotate(-6.28 79.02 11.61)" fill="${p(`${l.eyeShadow}`)}"/><ellipse cx="80.53" cy="19.4" rx="9" ry="13.5" transform="rotate(-6.28 80.53 19.4)" fill="${p(`${l.eyes}`)}"/><g transform="translate(-40 -8)">${null!==(i=null===(c=a.glasses)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}</g>`},smiling:(a,l)=>{var c,i;return`<path d="M5.29 34.07c.11.82 1.14 1 1.72.41 2.46-2.52 6.25-4.36 10.65-4.89 2.6-.3 5.1-.12 7.32.48.75.2 1.5-.44 1.23-1.17A10.84 10.84 0 0 0 5.3 34.07ZM69.38 24.07c.12.82 1.15 1 1.73.41 2.44-2.48 6.19-4.3 10.54-4.83 2.56-.3 5.03-.12 7.23.47.75.2 1.5-.44 1.23-1.17a10.74 10.74 0 0 0-20.73 5.12Z" fill="${p(`${l.eyes}`)}"/><g transform="translate(-40 -8)">${null!==(i=null===(c=a.glasses)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}</g>`},smilingShadow:(a,l)=>{var c,i;return`<path d="M26.47 24.36c1.86 6.36-5.04 1.48-11.4 3.33-6.36 1.86-9.78 9.76-11.64 3.4a12 12 0 0 1 23.04-6.73ZM90.26 15.17c1.64 6.42-4.7 1.52-11.11 3.15-6.43 1.64-10.51 9.19-12.15 2.77a12 12 0 1 1 23.26-5.92Z" fill="${p(`${l.eyeShadow}`)}"/><path d="M5.29 34.07c.11.82 1.14 1 1.72.41 2.46-2.52 6.25-4.36 10.65-4.89 2.6-.3 5.1-.12 7.32.48.75.2 1.5-.44 1.23-1.17A10.84 10.84 0 0 0 5.3 34.07ZM69.38 24.07c.12.82 1.15 1 1.73.41 2.44-2.48 6.19-4.3 10.54-4.83 2.56-.3 5.03-.12 7.23.47.75.2 1.5-.44 1.23-1.17a10.74 10.74 0 0 0-20.73 5.12Z" fill="${p(`${l.eyes}`)}"/><g transform="translate(-40 -8)">${null!==(i=null===(c=a.glasses)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}</g>`}},ja={attached:(a,l)=>{var c,i;return`<path d="M30.5 6.18A23.78 23.78 0 0 0 23.08 5c-10.5 0-19 6.5-18 18.5 1.04 12.5 8.5 17 19 17A19.6 19.6 0 0 0 31 39.23" stroke="#000" stroke-width="8"/><path d="M31.5 39.04a19.38 19.38 0 0 1-7.42 1.46c-10.5 0-17.96-4.5-19-17-1-12 7.5-18.5 18-18.5 3.14 0 6.19.6 8.92 1.73l-.5 32.3Z" fill="${p(`${l.base}`)}"/><path d="M27.5 13.5c-4-1.83-12.8-2.8-16 8" stroke="#000" stroke-width="4"/><path d="M17 14c2.17 1.83 6.3 7.5 5.5 15.5" stroke="#000" stroke-width="4"/><g transform="translate(3 35)">${null!==(i=null===(c=a.earrings)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}</g>`},detached:(a,l)=>{var c,i;return`<path d="M37 8.25V7.13l-.95-.59A24.91 24.91 0 0 0 23.08 3C17.44 3 12.16 4.75 8.4 8.3c-3.8 3.58-5.86 8.83-5.31 15.37.52 6.37 2.66 11.06 6.2 14.17-.29 1-.37 2.08-.24 3.21a8.98 8.98 0 0 0 4.6 7.08C16.09 49.5 19.2 50 22.52 50c5.48 0 10.29-2.95 13.95-6.89l.53-.57V8.25Z" stroke="#000" stroke-width="4"/><path d="M42.97 23.98c.07-.65.1-1.3.1-1.98 0-10.22-9.5-17-20-17C12.6 5 4.09 11.5 5.09 23.5c.56 6.68 2.95 11.07 6.65 13.72a5.7 5.7 0 0 0-.68 3.6C11.68 46.1 16.19 48 22.52 48c11.1 0 19.9-14.05 20.45-24.02Z" fill="${p(`${l.base}`)}"/><path d="M27.5 13.5c-4-1.83-12.8-2.8-16 8" stroke="#000" stroke-width="4"/><path d="M17 14c2.17 1.83 6.3 7.5 5.5 15.5" stroke="#000" stroke-width="4"/><g transform="translate(3 42)">${null!==(i=null===(c=a.earrings)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}</g>`}},_a={open:(a,l)=>`<path d="M260.37 90.86H-12.54l.1-.2C-7.89 81.38.5 64.31 11.4 49.03c6.2-8.67 13.13-16.65 20.54-22.27 7.41-5.61 15.12-8.73 22.95-8.04 15.06 1.31 28.46 9.56 41.93 17.83l3.83 2.35c14.48 8.82 29.35 17.02 45.72 13.43 5.53-1.2 9.26-3.8 11.6-7.16 2.32-3.3 3.15-7.15 3.3-10.66.14-3.52-.4-6.85-.96-9.26a39.89 39.89 0 0 0-.75-2.78c3.63-3.64 7.47-5.77 11.43-6.73 4.3-1.03 8.89-.73 13.72.7 9.73 2.87 20.14 10.25 30.3 19.73 18.61 17.37 35.69 41.14 45.36 54.68Z" fill="${p(`${l.shirt}`)}" stroke="#000" stroke-width="4.27"/>`,crew:(a,l)=>`<g stroke="#000" stroke-width="4"><path d="M260.7 91H-12.64C3.67 61.66 26.86 42.98 64.44 34.4c16.02-3.65 34.67-5.47 56.56-5.47 9.46 0 16.81 1.44 23.8 3.35 2.58.7 5.18 1.5 7.84 2.3 4.4 1.34 8.97 2.72 13.91 3.86l.14.03.15.01c46.12 3.8 73.78 24.3 93.85 52.5Z" fill="${p(`${l.shirt}`)}"/><path d="m52.93 36.58 9.15-19.6a1 1 0 0 1 1.25-.51c37.93 13.42 72.43 12.48 104.4 3.57a1 1 0 0 1 1.09.38l13.93 19.05a.98.98 0 0 1-.42 1.5c-33.6 13.2-96.67 10.95-128.91-3.07a.98.98 0 0 1-.49-1.32Z" fill="${p(`${l.shirt}`)}"/><path opacity=".75" d="m52.93 36.58 9.15-19.6a1 1 0 0 1 1.25-.51c37.93 13.42 72.43 12.48 104.4 3.57a1 1 0 0 1 1.09.38l13.93 19.05a.98.98 0 0 1-.42 1.5c-33.6 13.2-96.67 10.95-128.91-3.07a.98.98 0 0 1-.49-1.32Z" fill="#fff"/></g>`,collared:(a,l)=>`<g stroke="#000" stroke-width="4"><path d="M126.77 67.58 128 66l-1.23 1.58 1.72 1.34 1.19-1.83v-.02l.05-.06.04-.05a28.57 28.57 0 0 1 .8-1.18 112.35 112.35 0 0 1 11.5-14.05c3.67-3.78 7.83-7.4 12.13-9.93 4.31-2.53 8.58-3.84 12.53-3.3C209.17 44.2 240.4 63 260.67 91h-273.3c16.3-29.34 39.49-48.02 77.07-56.59 1.6-.36 3.78-.25 6.5.38 2.7.63 5.77 1.73 9.09 3.19 6.62 2.9 14.02 7.16 20.97 11.56a355.78 355.78 0 0 1 25.24 17.63l.4.3.1.08.02.02h.01Z" fill="${p(`${l.shirt}`)}"/><path d="m52.61 37.08 5.17-19.23c.2-.78 1.22-1 1.76-.4C74.4 33.7 93.16 33.08 99.4 32.33c.84-.1 1.5.82 1.1 1.58L87.34 58.86c-.2.38-.62.6-1.04.5-3.95-.82-23.62-5.63-33.57-21.5a1 1 0 0 1-.12-.78ZM183.2 36.98 171.61 17.5c-.4-.66-1.37-.65-1.79 0-5.73 8.83-15.63 12.9-19.09 14.1-.62.22-.9.96-.57 1.53l13.5 22.81c.2.34.59.53.97.42 2.13-.61 9.46-3.67 18.54-18.34a1 1 0 0 0 .01-1.04Z" fill="${p(`${l.shirt}`)}"/><path d="m52.61 37.08 5.17-19.23c.2-.78 1.22-1 1.76-.4C74.4 33.7 93.16 33.08 99.4 32.33c.84-.1 1.5.82 1.1 1.58L87.34 58.86c-.2.38-.62.6-1.04.5-3.95-.82-23.62-5.63-33.57-21.5a1 1 0 0 1-.12-.78ZM183.2 36.98 171.61 17.5c-.4-.66-1.37-.65-1.79 0-5.73 8.83-15.63 12.9-19.09 14.1-.62.22-.9.96-.57 1.53l13.5 22.81c.2.34.59.53.97.42 2.13-.61 9.46-3.67 18.54-18.34a1 1 0 0 0 .01-1.04Z" fill="#fff" fill-opacity=".75"/><path d="m109.5 54.5-9-21.5-7 15 16 6.5ZM141 53.5l9-21.5 7 15-16 6.5ZM70.5 14l-12 3 10 6.5 2-9.5ZM160 14l11 3-7 6.5-4-9.5Z" fill="#000" stroke-linejoin="round"/></g>`},Oa={hoop:(a,l)=>`<path d="M24 0A24 24 0 1 1 0 24c0-6.4 3.5-11.5 6.57-16.5L7.5 6" stroke="${p(`${l.earring}`)}" stroke-width="4"/>`,stud:(a,l)=>`<circle cx="25" cy="2" r="4" fill="${p(`${l.earring}`)}"/><circle cx="26" cy="1" r="1" fill="#fff"/>`},Ua={round:(a,l)=>`<g stroke="${p(`${l.glasses}`)}" stroke-width="4"><circle cx="122.5" cy="28" r="26"/><circle cx="55.5" cy="37" r="26"/><path d="M97.5 35a8 8 0 0 0-16 0M30 39 0 44.5"/></g>`,square:(a,l)=>`<g stroke="${p(`${l.glasses}`)}" stroke-width="4"><path d="M34.5 42.5 0 49.12" stroke-linecap="round"/><path d="M35.47 18.53 74.2 13.1a6 6 0 0 1 6.77 5.1l5.57 39.62a6 6 0 0 1-5.1 6.78l-34.48 4.84a6 6 0 0 1-6.65-4.48l-9.81-39.01a6 6 0 0 1 4.98-7.4ZM145.92 3.22 107.2 8.66a6 6 0 0 0-5.1 6.78l5.56 39.6a6 6 0 0 0 6.78 5.11l34.47-4.84a6 6 0 0 0 5.16-6.14l-1.32-40.2a6 6 0 0 0-6.83-5.75ZM83.5 37.12l22-3.5"/></g>`},Pa={beard:(a,l)=>`<path d="M146.13 49.15A73.74 73.74 0 0 1 27.69 123.4C10.5 107.5 6.5 56 2.7 31.65c14 31.5 49.62 33.94 83.5 28 28.5-5 51.3-6 51.3-45 1.88 2.62 6.97 27.59 8.63 34.5Z" fill="${p(`${l.facialHair}`)}"/>`,scruff:(a,l)=>`<g fill="${p(`${l.facialHair}`)}"><path d="M31 109a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM83 116a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM79 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM99 121a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM100 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM120 116a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM130 102a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM21 88a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM54 104a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM51 124a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM69 128a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM103 102a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM117 106a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM109 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM123 92a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM30 94a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM54 94a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM54 76a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM58 130a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM85 130a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM96 130a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM113 94a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM113 76a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM133 89a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM33 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM43 116a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM39 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM79 103a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM91 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM77 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM100 84a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM100 66a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM124 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM131 71a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM42 90a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM42 101a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM63 86a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM63 68a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM75 82a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM87 76a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM100 76a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"/><path d="M113 76a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM139 76a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM61 116a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM72 110a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM68 102a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM92 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM43 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM80 91a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM80 73a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM115 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM115 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM122 71a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM137 62a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"/><path d="M31 109a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM83 116a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM79 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM99 121a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM100 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM120 116a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM130 102a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM21 88a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM54 104a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM51 124a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM69 128a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM103 102a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM117 106a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM109 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM123 92a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM30 94a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM54 94a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM54 76a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM58 130a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM85 130a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM96 130a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM113 94a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM113 76a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM133 89a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM33 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM43 116a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM39 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM79 103a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM91 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM77 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM100 84a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM100 66a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM124 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM131 71a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM42 90a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM42 101a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM63 86a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM63 68a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM75 82a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM87 76a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM100 76a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z" stroke="#000"/><path d="M113 76a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM139 76a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM61 116a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM72 110a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM68 102a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM92 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM43 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM80 91a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM80 73a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM115 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM115 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM122 71a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM137 62a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z" stroke="#000"/></g>`},za=Object.defineProperty({__proto__:null,base:Fa,earrings:Oa,ears:ja,eyebrows:Ea,eyes:Da,facialHair:Pa,glasses:Ua,hair:Ba,mouth:Sa,nose:{curve:(a,l)=>'<path d="M16.5 7c-.33 3.83 0 12.2 4 15 5 3.5-.5 12-10.5 10" stroke="#000" stroke-width="4"/>',pointed:(a,l)=>'<path d="M16.5 3c0 14 7 25 7 25S20 34 10 32" stroke="#000" stroke-width="4"/>',tound:(a,l)=>'<path d="M12.3 12.34c5.45-1.24 14.38.62 12.42 10.54-1.74 8.82-11.1 9.3-13.72 6.82" stroke="#000" stroke-width="4"/>'},shirt:_a},Symbol.toStringTag,{value:"Module"});function Ta({prng:a,group:l,values:c=[]}){const i=za,t=a.pick(c);return t&&i[l][t]?{name:t,value:i[l][t]}:void 0}function qa(a){return"transparent"===a?a:`#${a}`}const Ga=Object.defineProperty({__proto__:null,create:({prng:a,options:l})=>{var c,i,t,e,r,h,d,n,o,f,p,s,v,Z,M,u;!function({prng:a,options:l}){var c;l.baseColor=l.baseColor&&l.baseColor.length>0?[a.pick(l.baseColor,"transparent")]:[];for(const i of["eyebrows","hair","eyes","nose","ears","shirt","earrings","glasses","facialHair"]){const a=null!==(c=l[`${i}Color`])&&void 0!==c?c:[],t=a.indexOf(l.baseColor[0]);a.length>1&&t>-1&&a.splice(t,1)}}({prng:a,options:l});const m=function({prng:a,options:l}){const c=Ta({prng:a,group:"base",values:l.base}),i=Ta({prng:a,group:"mouth",values:l.mouth}),t=Ta({prng:a,group:"eyebrows",values:l.eyebrows}),e=Ta({prng:a,group:"hair",values:l.hair}),r=Ta({prng:a,group:"eyes",values:l.eyes}),h=Ta({prng:a,group:"nose",values:l.nose}),d=Ta({prng:a,group:"ears",values:l.ears}),n=Ta({prng:a,group:"shirt",values:l.shirt}),o=Ta({prng:a,group:"earrings",values:l.earrings}),f=Ta({prng:a,group:"glasses",values:l.glasses}),p=Ta({prng:a,group:"facialHair",values:l.facialHair});return{base:c,mouth:i,eyebrows:t,hair:a.bool(l.hairProbability)?e:void 0,eyes:r,nose:h,ears:d,shirt:n,earrings:a.bool(l.earringsProbability)?o:void 0,glasses:a.bool(l.glassesProbability)?f:void 0,facialHair:a.bool(l.facialHairProbability)?p:void 0}}({prng:a,options:l}),g=function({prng:a,options:l}){var c,i,t,e,r,h,d,n,o,f;return{base:qa(a.pick(null!==(c=l.baseColor)&&void 0!==c?c:[],"transparent")),earring:qa(a.pick(null!==(i=l.earringColor)&&void 0!==i?i:[],"transparent")),eyeShadow:qa(a.pick(null!==(t=l.eyeShadowColor)&&void 0!==t?t:[],"transparent")),eyebrows:qa(a.pick(null!==(e=l.eyebrowsColor)&&void 0!==e?e:[],"transparent")),facialHair:qa(a.pick(null!==(r=l.facialHairColor)&&void 0!==r?r:[],"transparent")),glasses:qa(a.pick(null!==(h=l.glassesColor)&&void 0!==h?h:[],"transparent")),hair:qa(a.pick(null!==(d=l.hairColor)&&void 0!==d?d:[],"transparent")),mouth:qa(a.pick(null!==(n=l.mouthColor)&&void 0!==n?n:[],"transparent")),shirt:qa(a.pick(null!==(o=l.shirtColor)&&void 0!==o?o:[],"transparent")),eyes:qa(a.pick(null!==(f=l.eyesColor)&&void 0!==f?f:[],"transparent"))}}({prng:a,options:l});return function({prng:a,options:l,components:c,colors:i}){var t;"beard"===(null===(t=c.facialHair)||void 0===t?void 0:t.name)&&i.facialHair===i.mouth&&(i.mouth="#ffffff33")}({prng:a,options:l,components:m,colors:g}),{attributes:{viewBox:"0 0 360 360",fill:"none","shape-rendering":"auto"},body:`<g transform="translate(80 23)">${null!==(i=null===(c=m.base)||void 0===c?void 0:c.value(m,g))&&void 0!==i?i:""}</g><g transform="translate(170 183)">${null!==(e=null===(t=m.mouth)||void 0===t?void 0:t.value(m,g))&&void 0!==e?e:""}</g><g transform="translate(110 102)">${null!==(h=null===(r=m.eyebrows)||void 0===r?void 0:r.value(m,g))&&void 0!==h?h:""}</g><g transform="translate(49 11)">${null!==(n=null===(d=m.hair)||void 0===d?void 0:d.value(m,g))&&void 0!==n?n:""}</g><g transform="translate(142 119)">${null!==(f=null===(o=m.eyes)||void 0===o?void 0:o.value(m,g))&&void 0!==f?f:""}</g><g transform="rotate(-8 1149.44 -1186.92)">${null!==(s=null===(p=m.nose)||void 0===p?void 0:p.value(m,g))&&void 0!==s?s:""}</g><g transform="translate(84 154)">${null!==(Z=null===(v=m.ears)||void 0===v?void 0:v.value(m,g))&&void 0!==Z?Z:""}</g><g transform="translate(53 272)">${null!==(u=null===(M=m.shirt)||void 0===M?void 0:M.value(m,g))&&void 0!==u?u:""}</g>`,extra:()=>({...Object.entries(m).reduce(((a,[l,c])=>(a[l]=null==c?void 0:c.name,a)),{}),...Object.entries(g).reduce(((a,[l,c])=>(a[`${l}Color`]=c,a)),{})})}},meta:{title:"Avatar Illustration System",creator:"Micah Lanier",source:"https://www.figma.com/community/file/829741575478342595",homepage:"https://dribbble.com/micahlanier",license:{name:"CC BY 4.0",url:"https://creativecommons.org/licenses/by/4.0/"}},schema:{$schema:"http://json-schema.org/draft-07/schema#",properties:{base:{type:"array",items:{type:"string",enum:["standard"]},default:["standard"]},baseColor:{type:"array",items:{type:"string",pattern:"^(transparent|[a-fA-F0-9]{6})$"},default:["f9c9b6","ac6651","77311d"]},earringColor:{type:"array",items:{type:"string",pattern:"^(transparent|[a-fA-F0-9]{6})$"},default:["f9c9b6","d2eff3","000000","e0ddff","f4d150","ac6651","9287ff","ffeba4","fc909f","ffedef","6bd9e9","77311d","ffffff"]},earrings:{type:"array",items:{type:"string",enum:["hoop","stud"]},default:["hoop","stud"]},earringsProbability:{type:"integer",minimum:0,maximum:100,default:30},ears:{type:"array",items:{type:"string",enum:["attached","detached"]},default:["attached","detached"]},eyeShadowColor:{type:"array",items:{type:"string",pattern:"^(transparent|[a-fA-F0-9]{6})$"},default:["d2eff3","e0ddff","ffeba4","ffedef","ffffff"]},eyebrows:{type:"array",items:{type:"string",enum:["up","down","eyelashesUp","eyelashesDown"]},default:["up","down","eyelashesUp","eyelashesDown"]},eyebrowsColor:{type:"array",items:{type:"string",pattern:"^(transparent|[a-fA-F0-9]{6})$"},default:["000000"]},eyes:{type:"array",items:{type:"string",enum:["eyes","round","eyesShadow","smiling","smilingShadow"]},default:["eyes","round","eyesShadow","smiling","smilingShadow"]},eyesColor:{type:"array",items:{type:"string",pattern:"^(transparent|[a-fA-F0-9]{6})$"},default:["000000"]},facialHair:{type:"array",items:{type:"string",enum:["beard","scruff"]},default:["beard","scruff"]},facialHairColor:{type:"array",items:{type:"string",pattern:"^(transparent|[a-fA-F0-9]{6})$"},default:["000000"]},facialHairProbability:{type:"integer",minimum:0,maximum:100,default:10},glasses:{type:"array",items:{type:"string",enum:["round","square"]},default:["round","square"]},glassesColor:{type:"array",items:{type:"string",pattern:"^(transparent|[a-fA-F0-9]{6})$"},default:["f9c9b6","d2eff3","000000","e0ddff","f4d150","ac6651","9287ff","ffeba4","fc909f","ffedef","6bd9e9","77311d","ffffff"]},glassesProbability:{type:"integer",minimum:0,maximum:100,default:30},hair:{type:"array",items:{type:"string",enum:["fonze","mrT","dougFunny","mrClean","dannyPhantom","full","turban","pixie"]},default:["fonze","mrT","dougFunny","mrClean","dannyPhantom","full","turban","pixie"]},hairColor:{type:"array",items:{type:"string",pattern:"^(transparent|[a-fA-F0-9]{6})$"},default:["f9c9b6","d2eff3","000000","e0ddff","f4d150","ac6651","9287ff","ffeba4","fc909f","ffedef","6bd9e9","77311d","ffffff"]},hairProbability:{type:"integer",minimum:0,maximum:100,default:100},mouth:{type:"array",items:{type:"string",enum:["surprised","laughing","nervous","smile","sad","pucker","frown","smirk"]},default:["surprised","laughing","nervous","smile","sad","pucker","frown","smirk"]},mouthColor:{type:"array",items:{type:"string",pattern:"^(transparent|[a-fA-F0-9]{6})$"},default:["000000"]},nose:{type:"array",items:{type:"string",enum:["curve","pointed","tound"]},default:["curve","pointed","tound"]},shirt:{type:"array",items:{type:"string",enum:["open","crew","collared"]},default:["open","crew","collared"]},shirtColor:{type:"array",items:{type:"string",pattern:"^(transparent|[a-fA-F0-9]{6})$"},default:["f9c9b6","d2eff3","000000","e0ddff","f4d150","ac6651","9287ff","ffeba4","fc909f","ffedef","6bd9e9","77311d","ffffff"]}}}},Symbol.toStringTag,{value:"Module"}),Ra={normal:(a,l)=>`<path d="M45.89 36.1c0 8.5-1.26 18.86-10.89 19.82v9.95S31.36 68 26.5 68c-4.86 0-8.5-3.48-8.5-3.48V42a5 5 0 0 1-1.3-9.83C15.36 22.64 17.5 13 32 13c14.59 0 14.24 11.08 13.96 19.81-.04 1.15-.07 2.25-.07 3.29Z" fill="${p(`${l.skin}`)}"/><path d="M35 55.92c-.48.05-.98.07-1.5.07-8.88 0-13.9-7.15-15.5-14.6v23.13S21.64 68 26.5 68c4.86 0 8.5-2.13 8.5-2.13v-9.95Z" fill="#000" fill-opacity=".07"/><path d="M34.63 55.95c-.37.03-.74.04-1.13.04-6.53 0-10.97-3.86-13.5-8.87V48.24c0 5.38 2.61 9.75 8.28 9.75h1.35c3.34.03 4.59.04 5-2.04ZM16.7 32.17A5 5 0 0 0 18.14 42c-.48-1.98-.71-3.99-.71-5.9a46.7 46.7 0 0 1-.73-3.93Z" fill="#000" fill-opacity=".07"/><rect x="36" y="41" width="3" height="2" rx="1" fill="#000" fill-opacity=".07"/>`,wide:(a,l)=>`<path d="M46.07 40.4c.47 7.5.94 15-11.07 15.56v9.91S31.36 68 26.5 68c-4.86 0-8.5-3.48-8.5-3.48V45.1c-.2-1.02-.33-2.06-.41-3.12a5 5 0 0 1-.9-9.8C15.37 22.63 17.52 13 32 13c14.59 0 14.24 11.08 13.96 19.81-.04 1.15-.07 2.25-.07 3.29 0 1.4.09 2.86.18 4.3Z" fill="${p(`${l.skin}`)}"/><path d="M17.59 41.98c-.16-1.97-.16-3.97-.16-5.88a46.7 46.7 0 0 1-.73-3.93 5 5 0 0 0 .89 9.81ZM18 45.1v19.42S21.64 68 26.5 68c4.86 0 8.5-2.13 8.5-2.13v-9.91c-.48.02-.98.03-1.5.03-10.79 0-14.34-4.95-15.5-10.9Z" fill="#000" fill-opacity=".07"/><path d="M34.93 55.96c-.46.02-.93.03-1.43.03-7.25 0-11.23-2.23-13.41-5.5.5 4.82 3.16 8.5 8.3 8.5h1.36c3.8.03 4.92.04 5.18-3.03Z" fill="#000" fill-opacity=".07"/><rect x="36" y="41" width="3" height="2" rx="1" fill="#000" fill-opacity=".07"/>`,thin:(a,l)=>`<path d="M45.89 36.1c0 8.92-3.9 18.9-10.39 20.4l-.5-.06v9.43S31.36 68 26.5 68c-4.86 0-8.5-3.48-8.5-3.48V42a5 5 0 0 1-1.3-9.83C15.36 22.64 17.5 13 32 13c14.59 0 14.24 11.08 13.96 19.81-.04 1.15-.07 2.25-.07 3.29Z" fill="${p(`${l.skin}`)}"/><path d="M18 42v22.52S21.64 68 26.5 68c4.86 0 8.5-2.13 8.5-2.13v-9.43c-7.26-1.02-13.9-7.5-16.45-14.47-.18.02-.37.03-.55.03Z" fill="#000" fill-opacity=".07"/><path d="M16.7 32.17a5 5 0 0 0 1.85 9.8 17.14 17.14 0 0 1-1.12-5.87 46.7 46.7 0 0 1-.73-3.93ZM34.7 56.4c-6.75-1.1-12.9-6.87-15.7-13.3v.4c0 5.65 6.27 14.47 9.38 15.49 2.57.83 5.4.65 6.32-2.6Z" fill="#000" fill-opacity=".07"/><rect x="36" y="41" width="3" height="2" rx="1" fill="#000" fill-opacity=".07"/>`},Na={tShirt:(a,l)=>`<rect x="7" y="60" width="40" height="23" rx="9" fill="${p(`${l.body}`)}"/>`,golf:(a,l)=>`<rect x="7" y="60" width="40" height="23" rx="9" fill="${p(`${l.body}`)}"/><path d="M17 58h19v3s-5 1-9.5 1-9.5-1-9.5-1v-3Z" fill="${p(`${l.body}`)}"/><path d="M17 58h19v2s-3 1.5-9.5 1.5S17 60 17 60v-2Z" fill="#000" fill-opacity=".2"/><path d="M16.5 59c0-1.1.9-2 2-2h16a2 2 0 0 1 2 2s-5 1-10 1-10-1-10-1Z" fill="${p(`${l.body}`)}"/>`},Ia={balndess:(a,l)=>`<g fill="${p(`${l.hair}`)}"><rect x="14" y="26" width="9" height="2" rx="1"/><rect x="14" y="33" width="7" height="2" rx="1"/><rect x="12" y="29" width="13" height="3" rx="1.5"/></g>`,slaughter:(a,l)=>`<path d="M24 25c0 .53-.1 1.04-.3 1.5A3.99 3.99 0 0 1 20 32a4 4 0 0 1-8 0c0-1.05.07-2.78.37-4.32a4 4 0 0 1 4.8-5.5A3.99 3.99 0 0 1 24 25ZM45.85 33.9a4 4 0 0 0 2.78-5.4 3.99 3.99 0 0 0-3.13-5.46c.6 3.14.48 6.61.38 9.78 0 .36-.02.72-.03 1.07Z" fill="${p(`${l.hair}`)}"/>`,ponyTail:(a,l)=>`<path d="M0 10c8-8 13 3 13 3l-2 8s-2 2.5 0 10-2.5 11.5-2.5 11.5S5 45 2 43s-3.4-3.92-3-7.5c.5-4.5 2-3 2-7.5s-9-10-1-18Z" fill="${p(`${l.hair}`)}"/><path d="m13.03 13.18 5.5 2.38-3.56 8.26-5.51-2.38S8.5 19.5 10 16.5c1.5-3 3.03-3.32 3.03-3.32Z" fill="#FF6C98"/><path d="m18 41-1.32-8.82A5 5 0 0 0 18 42v8.3c-1.55-1.37-2.93-3-4.08-4.83-1.7-2.7-2.9-5.8-3.48-9.1-.6-3.28-.58-6.68.04-9.96a25.57 25.57 0 0 1 3.55-9.05 21.32 21.32 0 0 1 6.43-6.5A17.85 17.85 0 0 1 31 8c2.5 0 4.97.45 7.27 1.33 2.3.88 4.4 2.17 6.16 3.8a17.48 17.48 0 0 1 4.12 5.67c.75 1.66 1.21 3.42 1.38 5.2H50v4.29s-.33.15-1 .36v8.5s0 1.4-1.5 2.45c-.52.36-1.22.64-1.9.85.19-1.45.29-2.91.29-4.35 0-1.04.03-2.14.07-3.29.04-1.11.07-2.27.08-3.44-1.85.34-4.37.63-7.58.63C30.62 30 26 28.29 26 28.29v-1A26.13 26.13 0 0 0 24 31c-.75 1.75-.75 3.54-.75 5.05 0 1.5 0 2.73-.75 3.34-1.5 1.2-4.5 1.6-4.5 1.6Z" fill="${p(`${l.hair}`)}"/>`,long:(a,l)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M48 25a18 18 0 0 0-36-.5V65h11V34.6a65.12 65.12 0 0 0 12.2-3.76 53.45 53.45 0 0 0 10.68-5.64c.24 2.53.15 5.16.08 7.61-.04 1.15-.08 2.25-.08 3.29 0 .4 0 .82-.02 1.23.23-.07.45-.15.64-.24 1.5-.69 1.5-1.6 1.5-1.6V25Zm-33 8a4.98 4.98 0 0 0 0 8v-8Z" fill="${p(`${l.hair}`)}"/>`,curly:(a,l)=>`<g fill="${p(`${l.hair}`)}"><path d="M45.97 32.48a4 4 0 0 0 1.78-4.88 4 4 0 0 0-2.97-7.41c1.42 3.67 1.31 8.22 1.19 12.3Z"/><path d="M36.3 22.76a4.98 4.98 0 0 1-6.36.2 6.98 6.98 0 0 1-6.99 1.74c-.26.28-.56.53-.89.73a3.98 3.98 0 0 1-1.35 6.19c.2.24.3.55.3.88a1.5 1.5 0 0 1-1.53 1.5 4 4 0 0 1-7.3-3.17 3.99 3.99 0 0 1 0-5.66 4 4 0 0 1 .74-3.71 7 7 0 0 1 4.1-10.17V11a4 4 0 0 1 5.94-3.5 7 7 0 0 1 9.8-2.42 6.48 6.48 0 0 1 10.78 1.95 4 4 0 0 1 3.43 4.58 7.33 7.33 0 0 1 3.05 5.9c0 4.14-3.58 7.5-8 7.5a8.25 8.25 0 0 1-5.7-2.24Z"/></g>`,stylish:(a,l)=>`<path d="M20.67 28.22v6.02c0 .76-.67 1.76-1.17 2.26-.5.5-2 1.5-2.85 1.5-.85 0-3.54-.45-4.83-2.26-1.28-1.8-.89-11.32 0-13.54.9-2.21 4.19-6.88 8.85-10.45a26.26 26.26 0 0 1 12.88-5.34C58.48 3.4 49.22 20.99 46 25.5c-5.5-2-9.5-2.5-16.72-1.53-7.21.99-8.01 1.99-8.6 4.24Z" fill="${p(`${l.hair}`)}"/>`,elvis:(a,l)=>`<path d="M22 28c-.63 3 1 6.98 1 7.74 0 .77-3.93 3.03-5 3.76-1.07.73-1.5-7-1.5-7-3 0-3.5 5.5-3.5 5.5s-2.25-.74-3-4.5c-.51-2.54.3-8.09.5-9.5.5-3.5 1-11.5 7.5-15.5s23-4 27-3C54.9 7.97 56.22 21.5 53 26c-5 5.5-19-1-23.5-1s-6.87 0-7.5 3Z" fill="${p(`${l.hair}`)}"/>`,classic02:(a,l)=>`<path d="M28.12 27.47C35.92 28.6 49.6 30.6 51 18 52 9 38.5-1.5 24 8c-9.1 1.35-11.39 8.28-11.9 14.26a3.99 3.99 0 0 0-.8 4.24 3.99 3.99 0 0 0 .87 4.33A4 4 0 1 0 20 32a4 4 0 0 0 3.87-5H24c.95 0 2.4.21 4.12.47Z" fill="${p(`${l.hair}`)}"/>`,classic01:(a,l)=>`<path d="M29.7 26.2c5.6 1.87 13.39 4.45 21.53-3.7 4-4-14-21-28.5-11.5-11.33 1.68-10.68 8.47-10.18 13.71.1 1 .18 1.95.18 2.8 0 .52.07.92.2 1.2-.16 1.24-.2 2.48-.2 3.3a4 4 0 1 0 8 0A4 4 0 0 0 24.61 27h.12a4 4 0 0 0 3.06-1.41c.6.18 1.24.4 1.9.61Z" fill="${p(`${l.hair}`)}"/>`},Wa={normal:(a,l)=>{var c,i;return`<g fill="${p(`${l.hair}`)}"><rect x="30" y="36" width="3" height="4" rx="1.5"/><rect x="40" y="36" width="3" height="4" rx="1.5"/></g>${null!==(i=null===(c=a.blushes)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}`},confident:(a,l)=>{var c,i;return`${null!==(i=null===(c=a.blushes)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}<path d="M43 37.5a1.5 1.5 0 0 1-3 0v-1.23c0-.15.12-.27.27-.27h2.46c.15 0 .27.12.27.27v1.23ZM33 37.5a1.5 1.5 0 0 1-3 0v-1.23c0-.15.12-.27.27-.27h2.46c.15 0 .27.12.27.27v1.23Z" fill="${p(`${l.hair}`)}"/><path stroke="${p(`${l.hair}`)}" stroke-linecap="round" d="M29.5 36.5h4M39.5 36.5h4"/>`},happy:(a,l)=>{var c,i;return`${null!==(i=null===(c=a.blushes)||void 0===c?void 0:c.value(a,l))&&void 0!==i?i:""}<path d="M30 37.5a1.5 1.5 0 0 1 3 0v1.23c0 .15-.12.27-.27.27h-2.46a.27.27 0 0 1-.27-.27V37.5ZM40 37.5a1.5 1.5 0 0 1 3 0v1.23c0 .15-.12.27-.27.27h-2.46a.27.27 0 0 1-.27-.27V37.5Z" fill="#1B0B47"/>`}},Xa={pencilThinBeard:(a,l)=>`<path d="M26.5 45s4.5-.5 11-2v2c-1.5.67-5.5 1.6-7.5 2-2.5.5-3.5-2-3.5-2ZM48 44.76S44 44 38 43v2c1.43.59 4.6 1.15 6.5 1.5 2.38.44 3.5-1.74 3.5-1.74ZM33.31 55.24a1 1 0 0 1 .97-1.24h3.44a1 1 0 0 1 .97 1.24l-.25 1a1 1 0 0 1-.97.76h-2.94a1 1 0 0 1-.97-.76l-.25-1Z" fill="${p(`${l.hair}`)}"/>`,pencilThin:(a,l)=>`<path d="M37.5 43c-6.5 1.5-11 2-11 2s1 2.5 3.5 2c2-.4 6-1.33 7.5-2v-2ZM38 43c6 1 10 1.76 10 1.76s-1.12 2.18-3.5 1.74l-.32-.06c-1.92-.35-4.83-.89-6.18-1.44v-2Z" fill="${p(`${l.hair}`)}"/>`,horshoe:(a,l)=>`<path d="M27 46a3 3 0 0 1 3-3h11a3 3 0 0 1 3 3v11a4 4 0 0 1-4-4v-7h-9v7a4 4 0 0 1-4 4V46Z" fill="${p(`${l.hair}`)}"/>`,freddy:(a,l)=>`<path d="M28 46a3 3 0 0 1 3-3h9a3 3 0 0 1 3 3H28Z" fill="${p(`${l.hair}`)}"/>`},Ya=Object.defineProperty({__proto__:null,blushes:{default:(a,l)=>'<g fill="#FF859B"><rect x="24" y="39" width="5" height="3" rx="1.5"/><rect x="43" y="39" width="4" height="3" rx="1.5"/></g>'},body:Na,eyes:Wa,glasses:{normal:(a,l)=>'<g stroke="#000" stroke-width="2"><circle cx="30.27" cy="36.27" r="4.27"/><circle cx="44.27" cy="36.27" r="4.27"/><path d="m33.99 35.11 7-.1"/></g>'},hair:Ia,head:Ra,mouth:{default:(a,l)=>'<path d="M27.93 46a1 1 0 0 1 1-1h9.14a1 1 0 0 1 1 1 5 5 0 0 1-5 5h-1.14a5 5 0 0 1-5-5Z" fill="#66253C"/><path d="M35.76 50.7a5 5 0 0 1-1.69.3h-1.14a5 5 0 0 1-5-4.8c.77-.29 1.9-.25 3.02-.22L32 46c2.21 0 4 1.57 4 3.5 0 .42-.09.83-.24 1.2Z" fill="#B03E67"/><path d="M29 45h10v1a1 1 0 0 1-1 1h-8a1 1 0 0 1-1-1v-1Z" fill="#fff"/>',missingTooth:(a,l)=>'<path d="M27.93 46a1 1 0 0 1 1-1h9.14a1 1 0 0 1 1 1 5 5 0 0 1-5 5h-1.14a5 5 0 0 1-5-5Z" fill="#66253C"/><path d="M35.76 50.7a5 5 0 0 1-1.69.3h-1.14a5 5 0 0 1-5-4.8c.77-.29 1.9-.25 3.02-.22L32 46c2.21 0 4 1.57 4 3.5 0 .42-.09.83-.24 1.2Z" fill="#B03E67"/><path d="M29 45h10v1a1 1 0 0 1-1 1h-8a1 1 0 0 1-1-1v-1Z" fill="#fff"/><path d="M31 45.3c0-.17.13-.3.3-.3h1.4c.17 0 .3.13.3.3v2.4a.3.3 0 0 1-.3.3h-1.4a.3.3 0 0 1-.3-.3v-2.4Z" fill="#B03E67"/>'},mustache:Xa},Symbol.toStringTag,{value:"Module"});function Ja({prng:a,group:l,values:c=[]}){const i=Ya,t=a.pick(c);return t&&i[l][t]?{name:t,value:i[l][t]}:void 0}function Ka(a){return"transparent"===a?a:`#${a}`}const Qa=Object.defineProperty({__proto__:null,create:({prng:a,options:l})=>{var c,i,t,e,r,h,d,n,o,f,p,s,v,Z;const M=function({prng:a,options:l}){const c=Ja({prng:a,group:"head",values:l.head}),i=Ja({prng:a,group:"body",values:l.body}),t=Ja({prng:a,group:"hair",values:l.hair}),e=Ja({prng:a,group:"mouth",values:l.mouth}),r=Ja({prng:a,group:"eyes",values:l.eyes}),h=Ja({prng:a,group:"glasses",values:l.glasses}),d=Ja({prng:a,group:"mustache",values:l.mustache}),n=Ja({prng:a,group:"blushes",values:l.blushes});return{head:c,body:i,hair:t,mouth:e,eyes:r,glasses:a.bool(l.glassesProbability)?h:void 0,mustache:a.bool(l.mustacheProbability)?d:void 0,blushes:a.bool(l.blushesProbability)?n:void 0}}({prng:a,options:l}),u=function({prng:a,options:l}){var c,i,t;return{skin:Ka(a.pick(null!==(c=l.skinColor)&&void 0!==c?c:[],"transparent")),hair:Ka(a.pick(null!==(i=l.hairColor)&&void 0!==i?i:[],"transparent")),body:Ka(a.pick(null!==(t=l.bodyColor)&&void 0!==t?t:[],"transparent"))}}({prng:a,options:l});return{attributes:{viewBox:"0 0 64 64",fill:"none","shape-rendering":"auto"},body:`${null!==(i=null===(c=M.head)||void 0===c?void 0:c.value(M,u))&&void 0!==i?i:""}${null!==(e=null===(t=M.body)||void 0===t?void 0:t.value(M,u))&&void 0!==e?e:""}${null!==(h=null===(r=M.hair)||void 0===r?void 0:r.value(M,u))&&void 0!==h?h:""}<g transform="translate(1)">${null!==(n=null===(d=M.mouth)||void 0===d?void 0:d.value(M,u))&&void 0!==n?n:""}</g><g transform="translate(0 -1)">${null!==(f=null===(o=M.eyes)||void 0===o?void 0:o.value(M,u))&&void 0!==f?f:""}</g>${null!==(s=null===(p=M.glasses)||void 0===p?void 0:p.value(M,u))&&void 0!==s?s:""}${null!==(Z=null===(v=M.mustache)||void 0===v?void 0:v.value(M,u))&&void 0!==Z?Z:""}`,extra:()=>({...Object.entries(M).reduce(((a,[l,c])=>(a[l]=null==c?void 0:c.name,a)),{}),...Object.entries(u).reduce(((a,[l,c])=>(a[`${l}Color`]=c,a)),{})})}},meta:{title:"Miniavs - Free Avatar Creator",creator:"Webpixels",source:"https://www.figma.com/community/file/923211396597067458",homepage:"https://webpixels.io/",license:{name:"CC BY 4.0",url:"https://creativecommons.org/licenses/by/4.0/"}},schema:{$schema:"http://json-schema.org/draft-07/schema#",properties:{blushes:{type:"array",items:{type:"string",enum:["default"]},default:["default"]},blushesProbability:{type:"integer",minimum:0,maximum:100,default:50},body:{type:"array",items:{type:"string",enum:["tShirt","golf"]},default:["tShirt","golf"]},bodyColor:{type:"array",items:{type:"string",pattern:"^(transparent|[a-fA-F0-9]{6})$"},default:["e05a33","3633e0","ff4dd8"]},eyes:{type:"array",items:{type:"string",enum:["normal","confident","happy"]},default:["normal","confident","happy"]},glasses:{type:"array",items:{type:"string",enum:["normal"]},default:["normal"]},glassesProbability:{type:"integer",minimum:0,maximum:100,default:20},hair:{type:"array",items:{type:"string",enum:["balndess","slaughter","ponyTail","long","curly","stylish","elvis","classic02","classic01"]},default:["balndess","slaughter","ponyTail","long","curly","stylish","elvis","classic02","classic01"]},hairColor:{type:"array",items:{type:"string",pattern:"^(transparent|[a-fA-F0-9]{6})$"},default:["47280b","1b0b47","ad3a20"]},head:{type:"array",items:{type:"string",enum:["normal","wide","thin"]},default:["normal","wide","thin"]},mouth:{type:"array",items:{type:"string",enum:["default","missingTooth"]},default:["default","missingTooth"]},mustache:{type:"array",items:{type:"string",enum:["pencilThinBeard","pencilThin","horshoe","freddy"]},default:["pencilThinBeard","pencilThin","horshoe","freddy"]},mustacheProbability:{type:"integer",minimum:0,maximum:100,default:20},skinColor:{type:"array",items:{type:"string",pattern:"^(transparent|[a-fA-F0-9]{6})$"},default:["ffcb7e","f5d0c5","836055"]}}}},Symbol.toStringTag,{value:"Module"}),al={long:(a,l)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M44 26c-1.8-2-3.13-4.5-3.97-7.47-1.87 2.28-4.55 3.6-8.03 3.97-5.83.61-10.82-.33-14.95-2.82A13.96 13.96 0 0 0 16 25v1.03c-.73.08-1.42.34-2 .73V25.5C14 16.39 21.16 9 30 9s16 7.39 16 16.5v1.26a4.47 4.47 0 0 0-2-.73V26Zm2 8.24v6.6c0 7.32-4.61 13.52-11 15.68V44.08A14.04 14.04 0 0 0 43.42 35h.08c.93 0 1.78-.28 2.5-.76Zm-32 6.6c0 7.37 4.68 13.6 11.13 15.73a1073 1073 0 0 0-.13-7.02v-5.47A14.04 14.04 0 0 1 16.58 35h-.08c-.93 0-1.79-.28-2.5-.76v6.6Z" fill="${p(`${l.hair}`)}"/><path d="M40.03 18.53A18.47 18.47 0 0 0 44 26v.03c.73.08 1.42.34 2 .73V25.5C46 16.39 38.84 9 30 9s-16 7.39-16 16.5v1.26c.58-.4 1.27-.65 2-.73V25c0-1.88.37-3.68 1.05-5.32 4.13 2.5 9.12 3.43 14.95 2.82 3.48-.37 6.16-1.7 8.03-3.97Z" fill="#fff" style="mix-blend-mode:overlay" opacity=".26"/>`,sideShave:(a,l)=>`<path d="M35 11.92A14 14 0 0 1 44 25v1s-1.33-3.1-3.16-4.93c-1.84-1.82-3.34-.7-4.53-2.52-1.2-1.83-1.31-6.63-1.31-6.63Z" fill="${p(`${l.hair}`)}" opacity=".3"/><path d="M30.65 23.09c-1.6 1.26-4.4 1.88-7.24 2.5-4.62 1.02-9.4 2.07-9.4 5.98V25.5C14 16.39 21.16 9 30 9c4.84 0 5.68 2.65 5.46 6.23-.2 3-.62 4.55-4.8 7.86ZM25 47a9.4 9.4 0 0 1-9.44 9.53L7.5 56.5s4-8.23 5-11.11l.06-.2c-.84.51-1.84.81-2.92.81H8.5s4.1-3.74 5.35-9.69c.1-1.23.15-2.07.15-2.07a4.48 4.48 0 0 0 2.58.76A14.04 14.04 0 0 0 25 44.08V47Z" fill="${p(`${l.hair}`)}"/>`,shortCombover:(a,l)=>`<path d="M40.26 12.63a7.93 7.93 0 0 1 4.6 8.35L44 27c-2.83-1.7-4.7-5.55-5.6-11.56a9.24 9.24 0 0 1-5.7 2.77c-1.82.2-3.39.29-4.7.29-3 0-5.67-.5-8-1.5 0 3.67-1.33 7.17-4 10.5l-.92-8.53A9 9 0 0 1 24.03 9H41c0 1.28-.26 2.51-.74 3.63Z" fill="${p(`${l.hair}`)}"/><path d="M40.26 12.63c.48-1.12.74-2.35.74-3.63H24.03a9 9 0 0 0-8.95 9.97L16 27.5c2.67-3.33 4-6.83 4-10.5 2.33 1 5 1.5 8 1.5 1.31 0 2.88-.1 4.7-.29a9.24 9.24 0 0 0 7.56-5.58ZM44.88 20.84a7.91 7.91 0 0 0-2.42-6.73 9.29 9.29 0 0 1-3.45 4.5c1.04 4.22 2.7 7.01 5 8.39l.85-6.02.02-.14Z" style="mix-blend-mode:overlay" opacity=".26" fill="#fff"/>`,curlyHighTop:(a,l)=>`<path d="M31.8 7a2 2 0 0 1 3.8 0h.57a2 2 0 0 1 3.83.67l.22.1a2 2 0 0 1 3.13 2.3l.15.17a2 2 0 0 1 1.77 3.41c.05.16.09.31.12.47a2 2 0 0 1 .02 3.75l-.05.32a2 2 0 0 1-.02 3.63 2 2 0 0 1 .16.85 1.8 1.8 0 0 1-1.22 2.92L44 27.5c-.44-.66-.84-1.48-1.2-2.46a1.8 1.8 0 0 1-.45-.8 2 2 0 0 1-.56-2.68l-.02-.1a2 2 0 0 1-.96-2.94 2 2 0 0 1-2.44-.32 2 2 0 0 1-3.72.06l-.31.03a2 2 0 0 1-3.58.2h-.23a2 2 0 0 1-3.52-.1l-.4-.03a2 2 0 0 1-3.68-.17 2 2 0 0 1-3.04-.22l-.03.16a2 2 0 0 1-.7 3.35 2 2 0 0 1-1.4 3.1c-.5.97-1.09 1.94-1.76 2.9l-.19-1.92a1.8 1.8 0 0 1-.34-3.47V22a2 2 0 0 1-.39-3.9l-.01-.14a2 2 0 0 1 .07-3.92c0-.06.02-.12.04-.17a2 2 0 0 1 1.46-3.63A2 2 0 0 1 19.7 7.9v-.1a2 2 0 0 1 3.84-.8h.05a2 2 0 0 1 3.82 0h.18a2 2 0 0 1 3.82 0h.38Z" fill="${p(`${l.hair}`)}"/><mask id="hairCurlyHighTop-a" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="13" y="5" width="34" height="23"><path d="M31.8 7a2 2 0 0 1 3.8 0h.57a2 2 0 0 1 3.83.67l.22.1a2 2 0 0 1 3.13 2.3l.15.17a2 2 0 0 1 1.77 3.41c.05.16.09.31.12.47a2 2 0 0 1 .02 3.75l-.05.32a2 2 0 0 1-.02 3.63 2 2 0 0 1 .16.85 1.8 1.8 0 0 1-1.22 2.92L44 27.5c-.44-.66-.84-1.48-1.2-2.46a1.8 1.8 0 0 1-.45-.8 2 2 0 0 1-.56-2.68l-.02-.1a2 2 0 0 1-.96-2.94 2 2 0 0 1-2.44-.32 2 2 0 0 1-3.72.06l-.31.03a2 2 0 0 1-3.58.2h-.23a2 2 0 0 1-3.52-.1l-.4-.03a2 2 0 0 1-3.68-.17 2 2 0 0 1-3.04-.22l-.03.16a2 2 0 0 1-.7 3.35 2 2 0 0 1-1.4 3.1c-.5.97-1.09 1.94-1.76 2.9l-.19-1.92a1.8 1.8 0 0 1-.34-3.47V22a2 2 0 0 1-.39-3.9l-.01-.14a2 2 0 0 1 .07-3.92c0-.06.02-.12.04-.17a2 2 0 0 1 1.46-3.63A2 2 0 0 1 19.7 7.9v-.1a2 2 0 0 1 3.84-.8h.05a2 2 0 0 1 3.82 0h.18a2 2 0 0 1 3.82 0h.38Z" fill="#fff"/></mask><g mask="url(#hairCurlyHighTop-a)"><path fill="#fff" d="M13 5h34v23H13z" style="mix-blend-mode:overlay" opacity=".26"/></g>`,bobCut:(a,l)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M44 26a17.63 17.63 0 0 1-3.35-5.6A32.92 32.92 0 0 1 30 22.04c-4.85 0-9.14-.83-12.9-2.5A13.95 13.95 0 0 0 16 25v1.03c-.73.08-1.42.34-2 .73v-1.38C14 16.33 21.16 9 30 9s16 7.33 16 16.38v1.38a4.47 4.47 0 0 0-2-.73V26Zm-9 20.06v-1.98A14.04 14.04 0 0 0 43.42 35h.08c.93 0 1.78-.28 2.5-.76v6.38c0 .47-.02.95-.06 1.41A34.63 34.63 0 0 1 35 46.06Zm-20.94-4.03A34.63 34.63 0 0 0 25 46.06v-1.98A14.04 14.04 0 0 1 16.58 35h-.08c-.93 0-1.79-.28-2.5-.76v6.38c0 .47.02.95.06 1.41Z" fill="${p(`${l.hair}`)}"/><path d="M30 9c-8.84 0-16 7.33-16 16.38v1.38c.58-.4 1.27-.65 2-.73V25c0-1.94.4-3.8 1.1-5.47a31.35 31.35 0 0 0 12.9 2.5c3.9 0 7.46-.54 10.65-1.62A17.63 17.63 0 0 0 44 26v.03c.73.08 1.42.34 2 .73v-1.38C46 16.33 38.84 9 30 9Z" fill="#fff" style="mix-blend-mode:overlay" opacity=".26"/>`,curly:(a,l)=>`<path d="m44 26-.02-.02-.3.02a2 2 0 0 1-1.8-2.88 2 2 0 0 1-2.73-2.1 2 2 0 0 1-3.3.56h-.02a1.99 1.99 0 0 1-2 2.05 2 2 0 0 1-1.75-1.04 2 2 0 0 1-3.92.33 2 2 0 0 1-3.87-.6c-.04 0-.09 0-.13-.02a2 2 0 0 1-3.67-.98c-.3-.1-.57-.2-.85-.32.02.09.02.17.02.26a2 2 0 0 1-2.74 1.86A2 2 0 0 1 16 25.8v.23a4.5 4.5 0 0 0 .58 8.97A14.04 14.04 0 0 0 25 44.08v3.06c-.25-.2-.47-.42-.65-.68-.49-.13-.96-.29-1.43-.46a3.46 3.46 0 0 1-4.54-2.3 20.9 20.9 0 0 1-.98-.7 3.46 3.46 0 0 1-3.83-3.8c-.17-.21-.34-.43-.5-.66a3.46 3.46 0 0 1-2.66-5.07l-.14-.39a3.47 3.47 0 0 1-1.08-5.96v-.01a3.47 3.47 0 0 1 .47-6.2 3.47 3.47 0 0 1 2.28-5.79 3.47 3.47 0 0 1 3.87-4.86 3.47 3.47 0 0 1 5.15-3.5 3.47 3.47 0 0 1 5.94-1.83 3.47 3.47 0 0 1 6.22 0 3.47 3.47 0 0 1 5.94 1.83 3.47 3.47 0 0 1 5.14 3.5 3.47 3.47 0 0 1 3.87 4.86 3.47 3.47 0 0 1 2.28 5.8 3.47 3.47 0 0 1 .47 6.19 3.47 3.47 0 0 1-1.08 5.97l-.14.4a3.47 3.47 0 0 1-2.66 5.06c-.16.23-.33.45-.5.66A3.46 3.46 0 0 1 42.6 43l-.98.7a3.46 3.46 0 0 1-4.54 2.3c-.47.17-.94.33-1.43.46-.18.26-.4.49-.65.68v-3.06A14.04 14.04 0 0 0 43.42 35h.08a4.5 4.5 0 0 0 .5-8.97V26Z" fill="${p(`${l.hair}`)}"/><mask id="hairCurly-a" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="7" y="3" width="46" height="45"><path d="m44 26-.02-.02-.3.02a2 2 0 0 1-1.8-2.88 2 2 0 0 1-2.73-2.1 2 2 0 0 1-3.3.56h-.02a1.99 1.99 0 0 1-2 2.05 2 2 0 0 1-1.75-1.04 2 2 0 0 1-3.92.33 2 2 0 0 1-3.87-.6c-.04 0-.09 0-.13-.02a2 2 0 0 1-3.67-.98c-.3-.1-.57-.2-.85-.32.02.09.02.17.02.26a2 2 0 0 1-2.74 1.86A2 2 0 0 1 16 25.8v.23a4.5 4.5 0 0 0 .58 8.97A14.04 14.04 0 0 0 25 44.08v3.06c-.25-.2-.47-.42-.65-.68-.49-.13-.96-.29-1.43-.46a3.46 3.46 0 0 1-4.54-2.3 20.9 20.9 0 0 1-.98-.7 3.46 3.46 0 0 1-3.83-3.8c-.17-.21-.34-.43-.5-.66a3.46 3.46 0 0 1-2.66-5.07l-.14-.39a3.47 3.47 0 0 1-1.08-5.96v-.01a3.47 3.47 0 0 1 .47-6.2 3.47 3.47 0 0 1 2.28-5.79 3.47 3.47 0 0 1 3.87-4.86 3.47 3.47 0 0 1 5.15-3.5 3.47 3.47 0 0 1 5.94-1.83 3.47 3.47 0 0 1 6.22 0 3.47 3.47 0 0 1 5.94 1.83 3.47 3.47 0 0 1 5.14 3.5 3.47 3.47 0 0 1 3.87 4.86 3.47 3.47 0 0 1 2.28 5.8 3.47 3.47 0 0 1 .47 6.19 3.47 3.47 0 0 1-1.08 5.97l-.14.4a3.47 3.47 0 0 1-2.66 5.06c-.16.23-.33.45-.5.66A3.46 3.46 0 0 1 42.6 43l-.98.7a3.46 3.46 0 0 1-4.54 2.3c-.47.17-.94.33-1.43.46-.18.26-.4.49-.65.68v-3.06A14.04 14.04 0 0 0 43.42 35h.08a4.5 4.5 0 0 0 .5-8.97V26Z" fill="#fff"/></mask><g mask="url(#hairCurly-a)"><path fill="#fff" d="M7 3h46v44H7z" style="mix-blend-mode:overlay" opacity=".26"/></g>`,pigtails:(a,l)=>`<path d="M39 11.84A5 5 0 0 1 44.04 7a4.99 4.99 0 0 1 5.03 5.18c.02 3.2.7 7.08 1.93 9.82a20.56 20.56 0 0 1-6.22-2.9A16.67 16.67 0 0 1 46 25.38v1.38a4.47 4.47 0 0 0-2-.73V26c-1.8-2-3.13-4.5-3.97-7.47-1.87 2.28-4.55 3.6-8.03 3.97-5.83.61-10.82-.33-14.95-2.82A13.96 13.96 0 0 0 16 25v1.03c-.73.08-1.42.34-2 .73v-1.38c0-2.22.43-4.35 1.22-6.28A20.56 20.56 0 0 1 9 22a26.57 26.57 0 0 0 1.92-10.06A4.99 4.99 0 0 1 15.96 7 5 5 0 0 1 21 11.84a15.67 15.67 0 0 1 18 0Z" fill="${p(`${l.hair}`)}"/><path d="M39.01 11.58c4.2 2.96 7 8.19 7 14.13v1.05a4.47 4.47 0 0 0-2-.73V26c-1.82-2-3.14-4.5-3.98-7.47-1.87 2.28-4.55 3.6-8.03 3.97-5.83.61-10.82-.33-14.95-2.82A13.96 13.96 0 0 0 16 25v1.03c-.73.08-1.42.34-2 .73V25.7c0-5.94 2.79-11.17 6.99-14.13v.26a15.67 15.67 0 0 1 18 0l.01-.26Z" fill="#fff" style="mix-blend-mode:overlay" opacity=".26"/><path fill-rule="evenodd" clip-rule="evenodd" d="M21 9a5 5 0 0 0-4.39 7.4 16.14 16.14 0 0 1 7.55-6.27A4.98 4.98 0 0 0 21 9Zm23 5a5 5 0 0 0-8.16-3.87 16.14 16.14 0 0 1 7.55 6.27c.39-.7.6-1.53.6-2.4Z" fill="#F55D81"/>`,curlyBun:(a,l)=>`<path d="M30 2.5a2 2 0 0 0-1.8 1.11 2 2 0 0 0-3.42 1.06 2 2 0 0 0-2.96 2.02 2 2 0 0 0-2.23 2.8 2 2 0 0 0-1.31 3.33A2 2 0 0 0 18 16.4a2 2 0 0 0-.55 2.38 14 14 0 0 1 25.08 0A2 2 0 0 0 42 16.4a2 2 0 0 0-.27-3.58 2 2 0 0 0-1.3-3.33 2 2 0 0 0-2.24-2.8 2 2 0 0 0-2.96-2.02 2 2 0 0 0-3.43-1.06A2 2 0 0 0 30 2.51Z" fill="${p(`${l.hair}`)}"/><path d="M43.93 23.63A14 14 0 0 0 31 15h-2a14 14 0 0 0-12.93 8.63 14 14 0 0 1 27.86 0Z" fill="#F55D81"/>`,buzzcut:(a,l)=>`<path d="M44 25v3c-1.33-1.67-2.67-4.67-4-9-2.66 1.33-6 2-10 2s-7.34-.67-10-2c-1.33 3.67-2.67 6.33-4 8v-2a14 14 0 1 1 28 0Z" style="mix-blend-mode:multiply" opacity=".2" fill="${p(`${l.hair}`)}"/>`,bobBangs:(a,l)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M44 26c-2.18-2.42-3.65-5.54-4.42-9.36a19.6 19.6 0 0 1-9.08 7.86c-4.67 2-9.5 2.33-14.5 1v.53c-.73.08-1.42.34-2 .73V25.5C14 16.39 21.16 9 30 9s16 7.39 16 16.5v1.26a4.47 4.47 0 0 0-2-.73V26Zm-9 21.31v-3.23A14.04 14.04 0 0 0 43.42 35h.08c.93 0 1.78-.28 2.5-.76V45a38.74 38.74 0 0 1-11 2.31ZM14 45a38.74 38.74 0 0 0 11 2.31v-3.23A14.04 14.04 0 0 1 16.58 35h-.08c-.93 0-1.79-.28-2.5-.76V45Z" fill="${p(`${l.hair}`)}"/><path d="M30 9c-8.84 0-16 7.39-16 16.5v1.26c.58-.4 1.27-.65 2-.73v-.53c5 1.33 9.83 1 14.5-1a19.6 19.6 0 0 0 9.08-7.86c.77 3.82 2.24 6.94 4.42 9.36v.03c.73.08 1.42.34 2 .73V25.5C46 16.39 38.84 9 30 9Z" fill="#fff" style="mix-blend-mode:overlay" opacity=".26"/>`,bald:(a,l)=>'<path d="M26.75 15a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5ZM19.38 21.77c.37.19.82.04 1-.33a15.05 15.05 0 0 1 2-3.06c.76-.88 1.63-1.62 2.63-2.2a.75.75 0 0 0-.75-1.3 11.86 11.86 0 0 0-3 2.52c-.85.99-1.58 2.11-2.2 3.37a.75.75 0 0 0 .33 1Z" style="mix-blend-mode:overlay" opacity=".2" fill="#fff"/>',balding:(a,l)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="m16.97 25.55 2.7-8.55H18a3 3 0 0 0-2.98 3.31l.65 6.2c.6 0 1.12-.39 1.3-.95ZM41.34 17h-1.67l2.7 8.55c.18.56.7.95 1.3.95l.65-6.19a3 3 0 0 0-2.98-3.3Z" fill="${p(`${l.hair}`)}"/><path d="M26.75 15a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5ZM19.38 21.77c.37.19.82.04 1-.33a15.05 15.05 0 0 1 2-3.06c.76-.88 1.63-1.62 2.63-2.2a.75.75 0 0 0-.75-1.3 11.86 11.86 0 0 0-3 2.52c-.85.99-1.58 2.11-2.2 3.37a.75.75 0 0 0 .33 1Z" style="mix-blend-mode:overlay" opacity=".2" fill="#fff"/>`,cap:(a,l)=>'<path opacity=".2" d="M30 17c3.88 0 7.55-.37 11 4.22l-1.9 6.5c-.61 1.22-1.64 1.55-2.46.79-2.1-1.92-4.3-2.88-6.64-2.88-2.33 0-4.55.96-6.64 2.89-.82.76-1.85.43-2.46-.8L19 21.22c3.45-4.6 7.12-4.22 11-4.22Z" fill="#000"/><path d="M27.3 11.2a3 3 0 0 1 5.4 0c6.1.96 10.82 5.24 11.3 12.72a27.7 27.7 0 0 0-3.96-1.3l-.94.6a2 2 0 0 1-2.46.46 13.86 13.86 0 0 0-13.28 0 2 2 0 0 1-2.46-.46l-.94-.6c-1.4.35-2.72.78-3.96 1.3.48-7.48 5.2-11.76 11.3-12.71Z" fill="#F29C65"/><path d="M19.96 22.62c-1.4.35-2.72.78-3.96 1.3C16.55 15.37 22.63 11 30 11s13.45 4.37 14 12.92a27.7 27.7 0 0 0-3.96-1.3L41 22c-3.45-2.67-7.12-4-11-4s-7.55 1.33-11 4l.96.62Z" fill="#000" style="mix-blend-mode:overlay" opacity=".28"/><path d="m39.45 23-.35.22a2 2 0 0 1-2.46.46 13.86 13.86 0 0 0-13.28 0 2 2 0 0 1-2.46-.46l-.35-.23c.87.07 2.19-.47 2.81-.81a13.86 13.86 0 0 1 13.28 0c.62.34 1.94.88 2.8.81Z" fill="#fff" style="mix-blend-mode:lighten" opacity=".2"/>',bunUndercut:(a,l)=>`<circle cx="30" cy="12" r="4" fill="#5A45FF"/><path fill-rule="evenodd" clip-rule="evenodd" d="m33.72 12.84-.05 7.66c3.72-.75 5.83-1.25 6.33-1.5 1.33 4.33 2.67 7.33 4 9v-3a14 14 0 0 0-7.06-12.16c0-.02-1.08-.02-3.22 0ZM20 19c.5.25 2.6.75 6.33 1.5v-7.66h-3.27A14 14 0 0 0 16 25v3c1.33-1.67 2.67-4.67 4-9Z" fill="${p(`${l.hair}`)}" opacity=".3"/><path fill-rule="evenodd" clip-rule="evenodd" d="M30 6c-2.1 0-3.81 2.01-3.99 4.57-.72.41-1.44.94-2.14 1.58a3 3 0 0 0-.96 1.93l-.21 2.2a3.87 3.87 0 0 0 3.02 4.14c1.73.39 3.16.58 4.29.58 1.12 0 2.5-.18 4.17-.55a4 4 0 0 0 3.13-4.09l-.1-2.17a3 3 0 0 0-1.04-2.14 12.1 12.1 0 0 0-2.18-1.5C33.8 7.98 32.08 6 30 6Zm0 3.5a8 8 0 0 0-3.67.9 4 4 0 0 1 7.33-.03A8.25 8.25 0 0 0 30 9.5Z" fill="${p(`${l.hair}`)}"/><path d="M26.02 10.56C26.19 8 27.9 6 30 6c2.07 0 3.77 1.96 3.98 4.47a11 11 0 0 0-.36-.17 4 4 0 0 0-7.28.09l-.32.17Z" fill="#000" style="mix-blend-mode:overlay" opacity=".22"/>`,fade:(a,l)=>`<mask id="hairFade-b" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="16" y="12" width="28" height="15"><path fill-rule="evenodd" clip-rule="evenodd" d="M16 27v-2a14 14 0 0 1 7.5-12.4v.14c.09 1.68.16 3.3-.4 4.53-.7 1.57-1.78 2.45-2.72 3.21l-.62.52c-.7.61-2.44 2.49-3.76 6Zm28 0v-2a14 14 0 0 0-7.5-12.4v.14c-.09 1.68-.16 3.3.4 4.53.7 1.57 1.78 2.45 2.72 3.21l.62.52c.7.61 2.44 2.49 3.76 6Z" fill="url(#hairFade-a)"/></mask><g mask="url(#hairFade-b)"><path fill-rule="evenodd" clip-rule="evenodd" d="m16 27-.2-14.4h7.7l.06 14.4H16Zm20.72 0H44l-.07-14.4H36.5l.22 14.4Z" fill="${p(`${l.hair}`)}"/></g><path d="M22.3 17.95c0-3.6 2.72-6.63 6.3-7L38 10a6.84 6.84 0 0 1-6.49 9h-8.15c-.58 0-1.05-.47-1.05-1.05Z" fill="${p(`${l.hair}`)}"/><defs><linearGradient id="hairFade-a" x1="16" y1="12.6" x2="16" y2="27" gradientUnits="userSpaceOnUse"><stop/><stop offset="1" stop-opacity=".01"/></linearGradient></defs>`,beanie:(a,l)=>'<path d="M17 19.8a14 14 0 0 1 26 0l.24.2a1 1 0 0 1 .34.54l.62 2.64a.5.5 0 0 1-.77.52C38.99 20.57 34.5 19 30 19S21 20.57 16.58 23.7a.5.5 0 0 1-.77-.52l.62-2.64a1 1 0 0 1 .34-.55l.24-.19Z" fill="#E15C66"/><path d="M30 15c6.45 0 12.01 4.04 13.25 5 .16.14.28.32.33.53l.62 2.6c.1.46-.44.83-.83.57C41.06 22.18 35.57 19 30 19c-5.57 0-11.05 3.18-13.36 4.7-.4.26-.93-.1-.82-.56l.6-2.6c.05-.21.17-.4.34-.53 1.23-.96 6.8-5 13.24-5Z" fill="#000" style="mix-blend-mode:overlay" opacity=".26"/>',straightBun:(a,l)=>`<path d="M20.2 15a10 10 0 1 1 19.6 0c-2.53-2.47-5.98-4-9.8-4-3.82 0-7.27 1.53-9.8 4Z" fill="${p(`${l.hair}`)}"/><path d="M43.93 23.63A14 14 0 0 0 31 15h-2a14 14 0 0 0-12.93 8.63 14 14 0 0 1 27.86 0Z" fill="#F55D81"/>`,extraLong:(a,l)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M44 26c-1.8-2-3.13-4.5-3.97-7.47-1.87 2.28-4.55 3.6-8.03 3.97-5.83.61-10.82-.33-14.95-2.82A13.96 13.96 0 0 0 16 25v1.03c-.73.08-1.42.34-2 .73V25.5C14 16.39 21.16 9 30 9s16 7.39 16 16.5v1.26a4.47 4.47 0 0 0-2-.73V26Zm2 8.24v22.28H35V44.08A14.04 14.04 0 0 0 43.42 35h.08c.93 0 1.78-.28 2.5-.76ZM14 56.57h11.13L25 49.55v-5.47A14.04 14.04 0 0 1 16.58 35h-.08c-.93 0-1.79-.28-2.5-.76v22.33Z" fill="${p(`${l.hair}`)}"/><path d="M40.03 18.53A18.47 18.47 0 0 0 44 26v.03c.73.08 1.42.34 2 .73V25.5C46 16.39 38.84 9 30 9s-16 7.39-16 16.5v1.26c.58-.4 1.27-.65 2-.73V25c0-1.88.37-3.68 1.05-5.32 4.13 2.5 9.12 3.43 14.95 2.82 3.48-.37 6.16-1.7 8.03-3.97Z" fill="#fff" style="mix-blend-mode:overlay" opacity=".26"/>`,shortComboverChops:(a,l)=>`<path d="m15.79 25.56-.71-6.6A9 9 0 0 1 24.03 9H41c0 1.28-.26 2.51-.74 3.63a7.93 7.93 0 0 1 4.6 8.35L44 27v4.22a14 14 0 0 1-.48 3.42l-2.52.54A1 1 0 0 1 39.8 34l1.9-9.12c-1.57-2.09-2.68-5.24-3.31-9.44a9.24 9.24 0 0 1-5.7 2.77c-1.82.2-3.39.29-4.7.29-3 0-5.67-.5-8-1.5 0 2.6-.67 5.1-2 7.52L19.98 34a1 1 0 0 1-1.2 1.18l-2.51-.54a14 14 0 0 1-.48-3.42v-5.66Z" fill="${p(`${l.hair}`)}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M19.98 34 18 24.52c1.33-2.42 2-4.93 2-7.52 2.33 1 5 1.5 8 1.5 1.31 0 2.88-.1 4.7-.29A9.24 9.24 0 0 0 41 9H24.03a9 9 0 0 0-8.95 9.97l.7 6.59v5.66a14 14 0 0 0 .49 3.42l2.52.54A1 1 0 0 0 19.98 34ZM44 31.22V27l.86-6.02.02-.14a7.91 7.91 0 0 0-2.42-6.73 9.29 9.29 0 0 1-3.45 4.5 17.22 17.22 0 0 0 2.7 6.27L39.8 34A1 1 0 0 0 41 35.18l2.52-.54a14 14 0 0 0 .48-3.42Z" fill="#fff" style="mix-blend-mode:overlay" opacity=".26"/>`,mohawk:(a,l)=>`<path d="M30.03 8a6.51 6.51 0 0 1 4.85 2.05c.56.54.96 1.32 1.1 2.14l.67 4.16c.35 1.94-.7 3.67-2.53 4.09-1.62.37-3 .55-4.12.55-1.13 0-2.55-.2-4.24-.58-1.84-.42-2.84-2.2-2.38-4.14l.79-4.2c.16-.74.53-1.43 1.03-1.93C25.83 9.5 27.3 8 30.03 8Z" fill="${p(`${l.hair}`)}"/><path d="M34.88 10.05c.56.54.96 1.32 1.1 2.14l.67 4.16c.35 1.94-.7 3.67-2.53 4.09-1.62.37-3 .55-4.12.55-1.13 0-2.55-.2-4.24-.58-1.84-.42-2.84-2.2-2.38-4.14l.79-4.2c.16-.74.53-1.43 1.03-1.93.26-.27.67-.69 1.25-1.08-.31.48-1.45.98-1.45 2.43V15a3.06 3.06 0 0 0 2.02 3.51c1.18.34 2.18.5 2.98.5.79 0 1.76-.16 2.9-.47 1.28-.35 2.35-1.89 2.1-3.53v-3c0-1.5-1.1-2.54-1.5-3l-.14-.14c.73.42 1.22.9 1.52 1.2Z" fill="#fff" style="mix-blend-mode:overlay" opacity=".26"/>`},ll={squared:(a,l)=>`<path d="M16 5v3a5 5 0 0 0 10 0V5l6.65 2.05a9 9 0 0 1 6.35 8.6V20H3v-4.35a9 9 0 0 1 6.35-8.6L16 5Z" fill="${p(`${l.clothing}`)}"/>`,rounded:(a,l)=>`<path d="M16 7v.47a5 5 0 1 0 10 0V7c7.06 1.52 12.93 6.74 16 13H0C3.07 13.74 8.94 8.52 16 7Z" fill="${p(`${l.clothing}`)}"/>`,small:(a,l)=>`<path d="M32 20H10v-8a11 11 0 0 1 6-9.8V4a5 5 0 0 0 10 0V2.2a11 11 0 0 1 6 9.8v8Z" fill="${p(`${l.clothing}`)}"/><mask id="bodySmall-a" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="10" y="2" width="22" height="18"><path d="M32 20H10v-8a11 11 0 0 1 6-9.8V4a5 5 0 0 0 10 0V2.2a11 11 0 0 1 6 9.8v8Z" fill="#fff"/></mask><g mask="url(#bodySmall-a)"><path opacity=".14" d="M20.62 8.25 22 8l1.2.5L10 15l10.62-6.75Z" fill="#000"/><path d="M21 1h11v47H10V15l13.34-6.58L21 1Z" fill="#fff" style="mix-blend-mode:overlay" opacity=".26"/></g>`,checkered:(a,l)=>`<path d="M16 5v3a5 5 0 0 0 10 0V5l6.65 2.05a9 9 0 0 1 6.35 8.6V20H3v-4.35a9 9 0 0 1 6.35-8.6L16 5Z" fill="${p(`${l.clothing}`)}"/><path d="m11 6.54-1.65.5A9 9 0 0 0 7 8.17V20h4V6.54ZM15 20h4v-5.29a7.02 7.02 0 0 1-4-3.1V20ZM23 20h4v-8.4a7.02 7.02 0 0 1-4 3.11v5.3ZM31 20h4V8.16a9 9 0 0 0-2.35-1.12L31 6.55V20Z" style="mix-blend-mode:overlay" opacity=".4" fill="#000"/><path d="M3.4 13a9.01 9.01 0 0 1 2.53-4h8.14a6.98 6.98 0 0 0 2.03 4H3.4ZM39 17v3H3v-3h36ZM36.07 9a9.01 9.01 0 0 1 2.53 4H25.9a6.98 6.98 0 0 0 2.03-4h8.14Z" style="mix-blend-mode:lighten" opacity=".17" fill="#fff"/>`},cl={beardMustache:(a,l)=>`<path d="m12.47 9.46 2.43-.83A2.5 2.5 0 0 1 18 10a2.5 2.5 0 0 1 3.1-1.37l2.43.83A18.65 18.65 0 0 0 32 2.7V9A14 14 0 1 1 4 9V2.7c2.05 2.94 5 5.43 8.47 6.76Z" fill="${p(`${l.hair}`)}"/><mask id="facialHairBeardMustache-a" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="4" y="2" width="28" height="21"><path d="m12.47 9.46 2.43-.83A2.5 2.5 0 0 1 18 10a2.5 2.5 0 0 1 3.1-1.37l2.43.83A18.65 18.65 0 0 0 32 2.7V9A14 14 0 1 1 4 9V2.7c2.05 2.94 5 5.43 8.47 6.76Z" fill="#fff"/></mask><g mask="url(#facialHairBeardMustache-a)"><path d="M32 9V2.7c-2.05 2.94-5 5.43-8.47 6.76l2.8.96a1 1 0 0 1-.07 1.91l-5.08 1.3A2.71 2.71 0 0 1 18 12.05a2.72 2.72 0 0 1-3.18 1.58l-5.08-1.3a1 1 0 0 1-.08-1.91l2.81-.96A18.65 18.65 0 0 1 4 2.7V9a14 14 0 1 0 28 0Z" fill="#fff" style="mix-blend-mode:overlay" opacity=".26"/><path d="M22 13.42v.08a3 3 0 0 1-3 3h-2a3 3 0 0 1-3-3.08l.82.21A2.71 2.71 0 0 0 18 12.05a2.72 2.72 0 0 0 3.18 1.58l.82-.2Z" fill="#FFFEFD"/></g>`,pyramid:(a,l)=>`<path d="M18.02 12.05a2.72 2.72 0 0 1-3.19 1.59l-5.08-1.3a1 1 0 0 1-.07-1.92l5.23-1.79a2.5 2.5 0 0 1 3.1 1.37 2.5 2.5 0 0 1 3.11-1.37l5.24 1.8a1 1 0 0 1-.08 1.9l-5.08 1.3a2.72 2.72 0 0 1-3.18-1.58Z" fill="${p(`${l.hair}`)}"/>`,walrus:(a,l)=>`<path d="M10 14a5 5 0 0 1 5-5h6a5 5 0 0 1 5 5H10Z" fill="${p(`${l.hair}`)}"/>`,goatee:(a,l)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M13.61 10.67a3.61 3.61 0 0 0-2.6 3.57v4.67c0 1 .48 1.93 1.37 2.4 1.39.72 3.63 1.7 5.78 1.7 2.14 0 4.26-.96 5.56-1.7A2.62 2.62 0 0 0 25 18.99v-4.74a3.61 3.61 0 0 0-2.61-3.57 18.05 18.05 0 0 0-4.4-.67c-1.45 0-3.07.33-4.39.67Zm.3 1.41c-.8.22-1.32.97-1.32 1.8v2.67c0 1.07.56 2.06 1.54 2.48 1.08.46 2.59.97 3.97.97 1.39 0 2.85-.5 3.9-.97.96-.42 1.5-1.4 1.5-2.44v-2.7c0-.83-.52-1.58-1.33-1.8a16.72 16.72 0 0 0-4.17-.63c-1.51 0-3.05.33-4.1.62Z" fill="${p(`${l.hair}`)}"/>`,shadow:(a,l)=>`<path opacity=".2" d="M32 3v4A14 14 0 1 1 4 7V2.7c2.05 2.94 4.53 6.97 8 8.3 2-1 4-1.5 6-1.5s4 .5 6 1.5c3.47-1.33 5.95-5.36 8-8.3V3Z" fill="${p(`${l.hair}`)}"/>`,soulPatch:(a,l)=>`<path d="M16 17.5h4l-.68 2.05a1.39 1.39 0 0 1-2.63 0l-.7-2.05Z" fill="${p(`${l.hair}`)}"/>`},il=Object.defineProperty({__proto__:null,body:ll,eyes:{open:(a,l)=>'<path fill-rule="evenodd" clip-rule="evenodd" d="M4 4.5a1.5 1.5 0 1 0 3 0 1.5 1.5 0 0 0-3 0Zm13 0a1.5 1.5 0 1 0 3 0 1.5 1.5 0 0 0-3 0Z" fill="#1B0640"/>',sleep:(a,l)=>'<path d="M3.63 4A1 1 0 0 0 4 5.37 4.5 4.5 0 0 0 6.25 6a4.5 4.5 0 0 0 2.25-.63 1 1 0 0 0-1-1.74c-.43.25-.85.37-1.25.37S5.43 3.88 5 3.63A1 1 0 0 0 3.63 4ZM15.63 4A1 1 0 0 0 16 5.37a4.5 4.5 0 0 0 2.25.63 4.5 4.5 0 0 0 2.25-.63 1 1 0 0 0-1-1.74 2.5 2.5 0 0 1-1.25.37c-.4 0-.82-.12-1.25-.37a1 1 0 0 0-1.37.37Z" fill="#1B0640"/>',wink:(a,l)=>'<path d="M4 4.5a1.5 1.5 0 1 0 3 0 1.5 1.5 0 0 0-3 0ZM21.24 3.9a.75.75 0 0 0-.83-.64l-4 .5a.75.75 0 0 0 .18 1.48l4-.5c.41-.05.7-.42.65-.83Z" fill="#1B0640"/>',glasses:(a,l)=>'<path d="M6 6a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM18 6a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z" fill="#1B0640"/><path d="M9 2H3v6h6V2ZM21 2h-6v6h6V2Z" opacity=".3" fill="#fff"/><path fill-rule="evenodd" clip-rule="evenodd" d="M11 1.05h2c.65 0 1.21-.2 1.84-.42C15.66.33 16.6 0 18 0c1.67 0 3.33.35 5 1.05l1 .53v1.58l-1 .52v3.16A3.08 3.08 0 0 1 20 10h-4c-1.66 0-3-1.41-3-3.16V3.16h-2v3.68A3.08 3.08 0 0 1 8 10H4c-1.66 0-3-1.41-3-3.16V3.68l-1-.52V1.58l1-.53A12.8 12.8 0 0 1 6 0c1.4 0 2.34.33 3.16.63.63.22 1.19.42 1.84.42ZM8.24 2.52A6.1 6.1 0 0 0 6 2.11c-1 0-2 .14-3 .44v4.3c0 .57.45 1.04 1 1.04h4c.55 0 1-.47 1-1.05V2.8l-.76-.27ZM15 2.8l.76-.27A6.1 6.1 0 0 1 18 2.11c1 0 2 .14 3 .44v4.3c0 .57-.45 1.04-1 1.04h-4c-.55 0-1-.47-1-1.05V2.8Z" fill="#1B0640"/>',happy:(a,l)=>'<path d="M3.76 6.21c.4.13.82-.08.95-.47.23-.7.62-1 1.3-1 .66 0 1.05.3 1.28 1a.75.75 0 1 0 1.42-.48c-.43-1.3-1.38-2.01-2.7-2.01-1.34 0-2.29.71-2.72 2.01-.13.4.08.82.47.95ZM15.76 6.21c.4.13.82-.08.95-.47.23-.7.62-1 1.29-1s1.06.3 1.29 1a.75.75 0 1 0 1.42-.48c-.43-1.3-1.38-2.01-2.71-2.01s-2.28.71-2.71 2.01c-.13.4.08.82.47.95Z" fill="#1B0640"/>',sunglasses:(a,l)=>'<g fill="#1B0640"><path d="M6 6a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM18 6a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"/><path d="M9 2H3v6h6V2ZM21 2h-6v6h6V2Z" opacity=".8"/><path fill-rule="evenodd" clip-rule="evenodd" d="M13 1.05c.65 0 1.21-.2 1.84-.42C15.66.33 16.6 0 18 0c1.67 0 3.33.35 5 1.05l1 .53v1.58l-1 .52v3.16A3.08 3.08 0 0 1 20 10h-4c-1.66 0-3-1.41-3-3.16V3.16h-2v3.68A3.08 3.08 0 0 1 8 10H4c-1.66 0-3-1.41-3-3.16V3.68l-1-.52V1.58l1-.53A12.8 12.8 0 0 1 6 0c1.4 0 2.34.33 3.16.63.63.22 1.19.42 1.84.42h2ZM8.24 2.52A6.1 6.1 0 0 0 6 2.11c-1 0-2 .14-3 .44v4.3c0 .57.45 1.04 1 1.04h4c.55 0 1-.47 1-1.05V2.8l-.76-.27ZM15 2.8l.76-.27A6.1 6.1 0 0 1 18 2.11c1 0 2 .14 3 .44v4.3c0 .57-.45 1.04-1 1.04h-4c-.55 0-1-.47-1-1.05V2.8Z"/></g>'},facialHair:cl,hair:al,mouth:{smile:(a,l)=>'<path d="M5 5.87a1 1 0 1 1 1-1.74A6 6 0 0 0 9 5a6 6 0 0 0 3-.87 1 1 0 1 1 1 1.74A8 8 0 0 1 9 7a8 8 0 0 1-4-1.13Z" fill="#1B0640"/>',frown:(a,l)=>'<path d="M5 4.13a1 1 0 1 0 1 1.74A6 6 0 0 1 9 5a6 6 0 0 1 3 .87 1 1 0 1 0 1-1.74A8 8 0 0 0 9 3a8 8 0 0 0-4 1.13Z" fill="#1B0640"/>',surprise:(a,l)=>'<ellipse cx="9" cy="5" rx="2" ry="2.5" fill="#1B0640"/>',pacifier:(a,l)=>'<path fill-rule="evenodd" clip-rule="evenodd" d="M9 2c-.76 0-1.51-.14-2.27-.41A2.03 2.03 0 0 0 4 3.5c0 1.4.82 2.6 2 3.17a3 3 0 0 0 6 0 3.5 3.5 0 0 0 2-3.17 2.03 2.03 0 0 0-2.73-1.91C10.51 1.86 9.76 2 9 2ZM7.59 7h2.82A1.5 1.5 0 0 1 7.6 7Z" fill="#456DFF"/><path fill-rule="evenodd" clip-rule="evenodd" d="M12 6.5v.17a3.5 3.5 0 0 0 2-3.17 2.03 2.03 0 0 0-2.73-1.91 6.61 6.61 0 0 1-4.54 0A2.03 2.03 0 0 0 4 3.5c0 1.4.82 2.6 2 3.17V6.5a3 3 0 1 1 6 0ZM7.59 7h2.82A1.5 1.5 0 1 0 7.6 7Z" fill="#fff" fill-opacity=".3" style="mix-blend-mode:lighten"/><circle cx="9" cy="4.5" r="1.5" fill="#fff"/>',bigSmile:(a,l)=>'<path d="M6 3h6v1a3 3 0 0 1-6 0V3Z" fill="#fff"/>',smirk:(a,l)=>'<path d="M7.32 5.73a.75.75 0 0 1 .36-1.46c2.44.61 4.17.32 5.29-.8a.75.75 0 1 1 1.06 1.06c-1.54 1.54-3.81 1.92-6.71 1.2Z" fill="#1B0640"/>',lips:(a,l)=>'<path d="M5 5h8s-1 2.5-4 2.5S5 5 5 5Z" fill="#DC5C7A"/><path d="M5.39 4.22A2.1 2.1 0 0 1 9 4a2.1 2.1 0 0 1 3.61.22l.4.78H4.99l.39-.78Z" fill="#F57B98"/>'},nose:{mediumRound:(a,l)=>'<path d="M4.25 5a.75.75 0 0 1 1.5 0c0 .84.91 1.75 2.25 1.75 1.34 0 2.25-.91 2.25-1.75a.75.75 0 0 1 1.5 0c0 1.66-1.59 3.25-3.75 3.25S4.25 6.66 4.25 5Z" fill="#000" style="mix-blend-mode:overlay" opacity=".36"/>',smallRound:(a,l)=>'<path d="M5.29 6.24a.75.75 0 1 1 1.42-.48c.23.7.62 1 1.3 1 .66 0 1.05-.3 1.28-1a.75.75 0 1 1 1.42.48c-.42 1.3-1.37 2.01-2.7 2.01S5.72 7.54 5.3 6.24Z" fill="#000" style="mix-blend-mode:overlay" opacity=".36"/>',wrinkles:(a,l)=>'<path opacity=".12" fill-rule="evenodd" clip-rule="evenodd" d="M11.72 5.3c.21.73.27 1.38.2 1.95a20.24 20.24 0 0 1 2.12 4.41.5.5 0 1 0 .94-.32 21.23 21.23 0 0 0-3.4-6.3c.07.07.11.16.14.25Zm-7.44 0a.75.75 0 0 1 .11-.24 28.75 28.75 0 0 0-2.07 3.22c-.48.89-.9 1.9-1.3 3.06a.5.5 0 0 0 .94.32 20.24 20.24 0 0 1 2.12-4.4 4.77 4.77 0 0 1 .19-1.97Z" fill="#000"/><path d="M5.2 4.78a.75.75 0 0 0-.92.51c-.21.75-.27 1.4-.2 1.97.23 1.6 1.6 2.49 3.92 2.49 2.33 0 3.7-.89 3.92-2.5.07-.57.01-1.22-.2-1.96a.75.75 0 1 0-1.44.42c.52 1.83-.09 2.54-2.28 2.54-2.2 0-2.8-.71-2.28-2.54a.75.75 0 0 0-.51-.93Z" fill="#000" style="mix-blend-mode:overlay" opacity=".36"/>'}},Symbol.toStringTag,{value:"Module"});function tl({prng:a,group:l,values:c=[]}){const i=il,t=a.pick(c);return t&&i[l][t]?{name:t,value:i[l][t]}:void 0}function el(a){return"transparent"===a?a:`#${a}`}const rl=Object.defineProperty({__proto__:null,create:({prng:a,options:l})=>{var c,i,t,e,r,h,d,n,o,f,s,v;const Z=function({prng:a,options:l}){const c=tl({prng:a,group:"eyes",values:l.eyes}),i=tl({prng:a,group:"hair",values:l.hair}),t=tl({prng:a,group:"body",values:l.body}),e=tl({prng:a,group:"mouth",values:l.mouth}),r=tl({prng:a,group:"nose",values:l.nose}),h=tl({prng:a,group:"facialHair",values:l.facialHair});return{eyes:c,hair:i,body:t,mouth:e,nose:r,facialHair:a.bool(l.facialHairProbability)?h:void 0}}({prng:a,options:l}),M=function({prng:a,options:l}){var c,i,t;return{hair:el(a.pick(null!==(c=l.hairColor)&&void 0!==c?c:[],"transparent")),clothing:el(a.pick(null!==(i=l.clothingColor)&&void 0!==i?i:[],"transparent")),skin:el(a.pick(null!==(t=l.skinColor)&&void 0!==t?t:[],"transparent"))}}({prng:a,options:l});return{attributes:{viewBox:"0 0 64 64",fill:"none","shape-rendering":"auto"},body:`<path d="M37 46.08V52a5 5 0 0 1-10 0v-5.92A14.04 14.04 0 0 1 18.58 37h-.08a4.5 4.5 0 0 1-.5-8.97V27a14 14 0 1 1 28 0v1.03a4.5 4.5 0 0 1-.58 8.97A14.04 14.04 0 0 1 37 46.08Z" fill="${p(`${M.skin}`)}"/><mask id="personas-a" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="14" y="13" width="36" height="44"><path d="M37 46.08V52a5 5 0 0 1-10 0v-5.92A14.04 14.04 0 0 1 18.58 37h-.08a4.5 4.5 0 0 1-.5-8.97V27a14 14 0 1 1 28 0v1.03a4.5 4.5 0 0 1-.58 8.97A14.04 14.04 0 0 1 37 46.08Z" fill="#fff"/></mask><g mask="url(#personas-a)"><path d="M32 13a14 14 0 0 1 14 14v6a14 14 0 1 1-28 0v-6a14 14 0 0 1 14-14Z" fill="#fff" style="mix-blend-mode:overlay" opacity=".36"/></g><g transform="translate(20 24)">${null!==(i=null===(c=Z.eyes)||void 0===c?void 0:c.value(Z,M))&&void 0!==i?i:""}</g><g transform="translate(2 2)">${null!==(e=null===(t=Z.hair)||void 0===t?void 0:t.value(Z,M))&&void 0!==e?e:""}</g><g transform="translate(11 44)">${null!==(h=null===(r=Z.body)||void 0===r?void 0:r.value(Z,M))&&void 0!==h?h:""}</g><g transform="translate(23 36)">${null!==(n=null===(d=Z.mouth)||void 0===d?void 0:d.value(Z,M))&&void 0!==n?n:""}</g><g transform="translate(24 28)">${null!==(f=null===(o=Z.nose)||void 0===o?void 0:o.value(Z,M))&&void 0!==f?f:""}</g><g transform="translate(14 26)">${null!==(v=null===(s=Z.facialHair)||void 0===s?void 0:s.value(Z,M))&&void 0!==v?v:""}</g>`,extra:()=>({...Object.entries(Z).reduce(((a,[l,c])=>(a[l]=null==c?void 0:c.name,a)),{}),...Object.entries(M).reduce(((a,[l,c])=>(a[`${l}Color`]=c,a)),{})})}},meta:{title:"Personas by Draftbit",creator:"Draftbit - draftbit.com",source:"https://personas.draftbit.com/",homepage:"https://draftbit.com/",license:{name:"CC BY 4.0",url:"https://creativecommons.org/licenses/by/4.0/"}},schema:{$schema:"http://json-schema.org/draft-07/schema#",properties:{body:{type:"array",items:{type:"string",enum:["squared","rounded","small","checkered"]},default:["squared","rounded","small","checkered"]},clothingColor:{type:"array",items:{type:"string",pattern:"^(transparent|[a-fA-F0-9]{6})$"},default:["456dff","54d7c7","7555ca","6dbb58","e24553","f3b63a","f55d81"]},eyes:{type:"array",items:{type:"string",enum:["open","sleep","wink","glasses","happy","sunglasses"]},default:["open","sleep","wink","glasses","happy","sunglasses"]},facialHair:{type:"array",items:{type:"string",enum:["beardMustache","pyramid","walrus","goatee","shadow","soulPatch"]},default:["beardMustache","pyramid","walrus","goatee","shadow","soulPatch"]},facialHairProbability:{type:"integer",minimum:0,maximum:100,default:10},hair:{type:"array",items:{type:"string",enum:["long","sideShave","shortCombover","curlyHighTop","bobCut","curly","pigtails","curlyBun","buzzcut","bobBangs","bald","balding","cap","bunUndercut","fade","beanie","straightBun","extraLong","shortComboverChops","mohawk"]},default:["long","sideShave","shortCombover","curlyHighTop","bobCut","curly","pigtails","curlyBun","buzzcut","bobBangs","bald","balding","cap","bunUndercut","fade","beanie","straightBun","extraLong","shortComboverChops","mohawk"]},hairColor:{type:"array",items:{type:"string",pattern:"^(transparent|[a-fA-F0-9]{6})$"},default:["362c47","6c4545","e15c66","e16381","f27d65","f29c65","dee1f5"]},mouth:{type:"array",items:{type:"string",enum:["smile","frown","surprise","pacifier","bigSmile","smirk","lips"]},default:["smile","frown","surprise","pacifier","bigSmile","smirk","lips"]},nose:{type:"array",items:{type:"string",enum:["mediumRound","smallRound","wrinkles"]},default:["mediumRound","smallRound","wrinkles"]},skinColor:{type:"array",items:{type:"string",pattern:"^(transparent|[a-fA-F0-9]{6})$"},default:["eeb4a4","e7a391","e5a07e","d78774","b16a5b","92594b","623d36"]}}}},Symbol.toStringTag,{value:"Module"}),hl={class:"h-[80px] w-[80px] relative"},dl=c({__name:"avatar",props:{url:String},emits:["update"],setup(c,{emit:p}){const s={adventurer:S,avataaars:T,bigEars:J,bigSmile:ia,bottts:na,funEmoji:pa,icons:Za,lorelei:La,micah:Ga,miniavs:Qa,personas:rl},v=c,Z=i(v.url),M=p,u=async()=>{const a=Object.keys(s),c=a[Math.floor(Math.random()*a.length)],i=x(s[c],{seed:l()});Z.value=await i.toDataUri(),M("update",Z.value)};return v.url||u(),t((()=>v.url),(a=>{v.url?Z.value=a:u()})),(l,c)=>{const i=o,t=f;return e(),r("div",hl,[h(i,{image:Z.value,size:"80px"},null,8,["image"]),h(t,{shape:"circle",variant:"dashed",onClick:u,class:"absolute bottom-0 right-[-15px] z-50"},{default:d((()=>[h(n(a),{slot:"icon"})])),_:1})])}}});export{dl as _}; diff --git a/.output/public/assets/changelog-C0lttjqx.js b/.output/public/assets/changelog-C0lttjqx.js new file mode 100644 index 0000000000000000000000000000000000000000..a9a6c65d6a1a08d629a40959ee418d8ae52fcd31 --- /dev/null +++ b/.output/public/assets/changelog-C0lttjqx.js @@ -0,0 +1 @@ +import{F as e}from"./FrameContent-D2QyFMUH.js";import{d as o,o as a,f as t}from"./main-DzSNOqOC.js";import"./debounce-DjqSSMbT.js";const s=o({__name:"changelog",setup:o=>(o,s)=>(a(),t(e,{frameSrc:"http://www.openseed.top/changelog"}))});export{s as default}; diff --git a/.output/public/assets/chat-ApKQQRkt.js b/.output/public/assets/chat-ApKQQRkt.js new file mode 100644 index 0000000000000000000000000000000000000000..65962ace5c7108277e4b5e4189909e4b55f508c4 --- /dev/null +++ b/.output/public/assets/chat-ApKQQRkt.js @@ -0,0 +1,46 @@ +import{d as e,b as t,H as a,I as l,J as n,K as o,p as r,L as i,N as c,O as s,P as u,Q as d,j as v,S as p,T as f,U as m,F as h,V as g,W as y,X as b,Y as _,Z as w,$ as x,a0 as O,w as C,a1 as j,a2 as k,a3 as z,a4 as S,a5 as P,a6 as E,a7 as M,a8 as I,l as V,h as D,k as T,m as A,u as B,o as L,c as F,f as R,q as N,e as H,t as U,s as W,B as K,z as $,a9 as q,y as J,r as G,x as Y,M as Q,G as X,aa as Z,A as ee,ab as te,ac as ae,ad as le,v as ne,ae as oe,n as re,i as ie,af as ce,ag as se,ah as ue,ai as de,aj as ve,C as pe,E as fe,ak as me,R as he,al as ge}from"./main-DzSNOqOC.js";import{c as ye,_ as be}from"./ChatInput.vue_vue_type_style_index_0_lang-D4A8Ko3p.js";import{_ as _e}from"./avatar.vue_vue_type_script_setup_true_lang-B0fdXq3h.js";import{u as we}from"./app-_ksMLlTy.js";import{v as xe}from"./v4-_R2nDvl_.js";import{I as Oe}from"./index-pjvKxr27.js";import{F as Ce,a as je}from"./index-DmTGWjjO.js";import{T as ke}from"./index-Kxldlx3l.js";import{S as ze,g as Se}from"./lyihub-muI8ujdR.js";import{O as Pe,S as Ee,T as Me}from"./form-model-CXHJGOsj.js";import{S as Ie}from"./index-DyrTSsVD.js";import{a as Ve}from"./index-C2aHaTIl.js";import{g as De,D as Te}from"./index-DmWclHlm.js";import{g as Ae,s as Be,c as Le,f as Fe}from"./fetch-C6zEckB6.js";import{s as Re,e as Ne,_ as He,A as Ue,a as We,b as Ke,D as $e}from"./CodeBlocks.vue_vue_type_style_index_0_lang-CexE7E14.js";import{r as qe}from"./refresh-BD1L4aGQ.js";import{_ as Je}from"./index-BuIb9tIA.js";import{c as Ge}from"./copy-CaDk54_k.js";import{L as Ye}from"./index-CjKlnN2e.js";import{u as Qe,e as Xe}from"./useVirtualScrollNew-1P66tHNg.js";import{e as Ze}from"./ellipsis-DKSeG7Zz.js";import"./debounce-DjqSSMbT.js";import"./dep-916b902f-BLs2dxx4.js";function et(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,l)}return a}function tt(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?et(Object(a),!0).forEach((function(t){n(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):et(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var at={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 25",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M11.41.06l3.72 6.17 7.02 1.63-4.73 5.44.62 7.18-6.63-2.81-6.63 2.8.62-7.17L.68 7.86 7.7 6.23 11.4.06zm0 3.88L8.97 7.99l-4.6 1.07 3.1 3.57-.41 4.71 4.35-1.84 4.36 1.84-.41-4.71 3.1-3.57-4.61-1.07-2.44-4.05zM20.86 14l2.48 2.48-1.42 1.41-2.47-2.47L20.86 14zm-8.3 6.12l2.48 2.47-1.41 1.42-2.48-2.48 1.42-1.41zm6.58 0l2.48 2.47-1.41 1.42-2.48-2.48 1.41-1.41z"}}]},lt=e({name:"Animation1Icon",props:{size:{type:String},onClick:{type:Function}},setup(e,n){var{attrs:o}=n,r=t((()=>e.size)),{className:i,style:c}=a(r),s=t((()=>["t-icon","t-icon-animation-1",i.value])),u=t((()=>tt(tt({},c.value),o.style))),d=t((()=>({class:s.value,style:u.value,onClick:t=>{var a;return null===(a=e.onClick)||void 0===a?void 0:a.call(e,{e:t})}})));return()=>l(at,d.value)}});function nt(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,l)}return a}function ot(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?nt(Object(a),!0).forEach((function(t){n(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):nt(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var rt={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M14.03 1.89l9.66 9.66-8.35 8.34-.27.27H20v2H6.75l-6.5-6.5L14.03 1.9zm.32 16.16l6.51-6.5-6.83-6.83-6.83 6.83 6.83 6.82.32-.32zm-8.56-5.1l-2.7 2.72 4.49 4.5h4.68l.36-.38-6.83-6.83z"}}]},it=e({name:"ClearFormattingIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,n){var{attrs:o}=n,r=t((()=>e.size)),{className:i,style:c}=a(r),s=t((()=>["t-icon","t-icon-clear-formatting",i.value])),u=t((()=>ot(ot({},c.value),o.style))),d=t((()=>({class:s.value,style:u.value,onClick:t=>{var a;return null===(a=e.onClick)||void 0===a?void 0:a.call(e,{e:t})}})));return()=>l(rt,d.value)}});function ct(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,l)}return a}function st(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?ct(Object(a),!0).forEach((function(t){n(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):ct(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var ut={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M9 1h6v8.5h6V23H3V9.5h6V1zm2 2v8.5H5V14h14v-2.5h-6V3h-2zm8 13H5v5h9v-3h2v3h3v-5z"}}]},dt=e({name:"ClearIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,n){var{attrs:o}=n,r=t((()=>e.size)),{className:i,style:c}=a(r),s=t((()=>["t-icon","t-icon-clear",i.value])),u=t((()=>st(st({},c.value),o.style))),d=t((()=>({class:s.value,style:u.value,onClick:t=>{var a;return null===(a=e.onClick)||void 0===a?void 0:a.call(e,{e:t})}})));return()=>l(ut,d.value)}});function vt(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,l)}return a}function pt(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?vt(Object(a),!0).forEach((function(t){n(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):vt(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var ft={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M20.41 5l-4.5 4.5H20v2h-7.5V4h2v4.09l4.5-4.5L20.41 5zM4 12.5h7.5V20h-2v-4.09L5 20.41 3.59 19l4.5-4.5H4v-2z"}}]},mt=e({name:"FullscreenExitIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,n){var{attrs:o}=n,r=t((()=>e.size)),{className:i,style:c}=a(r),s=t((()=>["t-icon","t-icon-fullscreen-exit",i.value])),u=t((()=>pt(pt({},c.value),o.style))),d=t((()=>({class:s.value,style:u.value,onClick:t=>{var a;return null===(a=e.onClick)||void 0===a?void 0:a.call(e,{e:t})}})));return()=>l(ft,d.value)}});function ht(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,l)}return a}function gt(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?ht(Object(a),!0).forEach((function(t){n(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):ht(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var yt={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M12 4.5h7.5V12h-2V7.91L7.91 17.5H12v2H4.5V12h2v4.09l9.59-9.59H12v-2z"}}]},bt=e({name:"FullscreenIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,n){var{attrs:o}=n,r=t((()=>e.size)),{className:i,style:c}=a(r),s=t((()=>["t-icon","t-icon-fullscreen",i.value])),u=t((()=>gt(gt({},c.value),o.style))),d=t((()=>({class:s.value,style:u.value,onClick:t=>{var a;return null===(a=e.onClick)||void 0===a?void 0:a.call(e,{e:t})}})));return()=>l(yt,d.value)}});function _t(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,l)}return a}function wt(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?_t(Object(a),!0).forEach((function(t){n(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):_t(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var xt={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M3.05 11a9 9 0 016.28-7.6 16.9 16.9 0 00-2.3 7.6H3.05zM11 1.05a11 11 0 000 21.9l.01.01.43.03a12.48 12.48 0 001.14 0l.43-.03a11 11 0 000-21.91v-.01L12.57 1a11.16 11.16 0 00-1.14 0l-.43.03zM12 3c1.7 2.26 2.77 5 2.97 8H9.03c.2-3 1.27-5.74 2.97-8zM7.03 13a16.9 16.9 0 002.3 7.6A9 9 0 013.05 13h3.98zM12 21c-1.7-2.26-2.77-5-2.97-8h5.94c-.2 3-1.27 5.74-2.97 8zm2.67-.4a16.9 16.9 0 002.3-7.6h3.98a9 9 0 01-6.28 7.6zm2.3-9.6a16.9 16.9 0 00-2.3-7.6 9 9 0 016.28 7.6h-3.98z"}}]},Ot=e({name:"InternetIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,n){var{attrs:o}=n,r=t((()=>e.size)),{className:i,style:c}=a(r),s=t((()=>["t-icon","t-icon-internet",i.value])),u=t((()=>wt(wt({},c.value),o.style))),d=t((()=>({class:s.value,style:u.value,onClick:t=>{var a;return null===(a=e.onClick)||void 0===a?void 0:a.call(e,{e:t})}})));return()=>l(xt,d.value)}});function Ct(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,l)}return a}function jt(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Ct(Object(a),!0).forEach((function(t){n(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Ct(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var kt={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M2 2h20v20H2V2zm2 2v16h7V4H4zm9 0v7h7V4h-7zm7 9h-7v7h7v-7z"}}]},zt=e({name:"ModuleIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,n){var{attrs:o}=n,r=t((()=>e.size)),{className:i,style:c}=a(r),s=t((()=>["t-icon","t-icon-module",i.value])),u=t((()=>jt(jt({},c.value),o.style))),d=t((()=>({class:s.value,style:u.value,onClick:t=>{var a;return null===(a=e.onClick)||void 0===a?void 0:a.call(e,{e:t})}})));return()=>l(kt,d.value)}});function St(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,l)}return a}function Pt(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?St(Object(a),!0).forEach((function(t){n(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):St(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var Et={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M20.93 14A7 7 0 0114 20H5.5v-2H14a5 5 0 100-10H6.91l2.5 2.5L8 11.91 3.09 7 8 2.09 9.41 3.5 6.91 6H14a7 7 0 017 7v1h-.07z"}}]},Mt=e({name:"RollbackIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,n){var{attrs:o}=n,r=t((()=>e.size)),{className:i,style:c}=a(r),s=t((()=>["t-icon","t-icon-rollback",i.value])),u=t((()=>Pt(Pt({},c.value),o.style))),d=t((()=>({class:s.value,style:u.value,onClick:t=>{var a;return null===(a=e.onClick)||void 0===a?void 0:a.call(e,{e:t})}})));return()=>l(Et,d.value)}});function It(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,l)}return a}function Vt(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?It(Object(a),!0).forEach((function(t){n(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):It(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var Dt={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M12 1a11 11 0 100 22 11 11 0 000-22zm4 7v8H8V8h8z"}}]},Tt=e({name:"StopCircleFilledIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,n){var{attrs:o}=n,r=t((()=>e.size)),{className:i,style:c}=a(r),s=t((()=>["t-icon","t-icon-stop-circle-filled",i.value])),u=t((()=>Vt(Vt({},c.value),o.style))),d=t((()=>({class:s.value,style:u.value,onClick:t=>{var a;return null===(a=e.onClick)||void 0===a?void 0:a.call(e,{e:t})}})));return()=>l(Dt,d.value)}});function At(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,l)}return a}function Bt(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?At(Object(a),!0).forEach((function(t){n(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):At(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var Lt={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M12 3a2 2 0 100 4 2 2 0 000-4zm-1 5.87a4 4 0 112 0V11h4a3 3 0 013 3v1.13a4 4 0 11-2 0V14a1 1 0 00-1-1H7a1 1 0 00-1 1v1.13a4 4 0 11-2 0V14a3 3 0 013-3h4V8.87zM19 17zM5 17a2 2 0 100 4 2 2 0 000-4z"}}]},Ft=e({name:"TreeRoundDotIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,n){var{attrs:o}=n,r=t((()=>e.size)),{className:i,style:c}=a(r),s=t((()=>["t-icon","t-icon-tree-round-dot",i.value])),u=t((()=>Bt(Bt({},c.value),o.style))),d=t((()=>({class:s.value,style:u.value,onClick:t=>{var a;return null===(a=e.onClick)||void 0===a?void 0:a.call(e,{e:t})}})));return()=>l(Lt,d.value)}}),Rt=e({name:"TListItem",props:{action:{type:[String,Function]},content:{type:[String,Function]},default:{type:[String,Function]}},setup:function(){var e=o("list-item"),t=i();return function(){var a=t("content"),l=t("default"),n=t("action");return r("li",{class:e.value},[r("div",{class:"".concat(e.value,"-main")},[l||a,n&&r("li",{class:"".concat(e.value,"__action")},[n])])])}}}),Nt={asyncLoading:{type:[String,Function]},footer:{type:[String,Function]},header:{type:[String,Function]},layout:{type:String,default:"horizontal",validator:function(e){return!e||["horizontal","vertical"].includes(e)}},scroll:{type:Object},size:{type:String,default:"medium",validator:function(e){return!e||["small","medium","large"].includes(e)}},split:Boolean,stripe:Boolean,onLoadMore:Function,onScroll:Function},Ht="load-more"; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function Ut(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,l)}return a}function Wt(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Ut(Object(a),!0).forEach((function(t){s(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Ut(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Kt(e,t){var a="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!a){if(Array.isArray(e)||(a=function(e,t){if(e){if("string"==typeof e)return $t(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?$t(e,t):void 0}}(e))||t){a&&(e=a);var l=0,n=function(){};return{s:n,n:function(){return l>=e.length?{done:!0}:{done:!1,value:e[l++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,r=!0,i=!1;return{s:function(){a=a.call(e)},n:function(){var e=a.next();return r=e.done,e},e:function(e){i=!0,o=e},f:function(){try{r||null==a.return||a.return()}finally{if(i)throw o}}}}function $t(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,l=Array(t);a<t;a++)l[a]=e[a];return l} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function qt(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,l)}return a}function Jt(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?qt(Object(a),!0).forEach((function(t){s(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):qt(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function Gt(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,l)}return a}var Yt=e({name:"TList",props:function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Gt(Object(a),!0).forEach((function(t){s(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Gt(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}({},Nt),setup:function(e){var a,l=v(),n=p("list").globalConfig,b=o("list"),_=f().SIZE,w=i(),x=(a=u(),{listItems:t((function(){var e=[],t=a("ListItem");if(c(t)){var l,n=Kt(t);try{for(n.s();!(l=n.n()).done;){var o=l.value;e.push(Wt(Wt({},o.props),{},{slots:o.children}))}}catch(r){n.e(r)}finally{n.f()}}return e}))}).listItems,O=function(e,a,l){var n=t((function(){return{data:l.value,scroll:e}})),o=Qe(a,n),r=t((function(){return o.isVirtualScroll.value})),i=-1,c=t((function(){return{position:"absolute",width:"1px",height:"1px",transition:"transform 0.2s",transform:"translate(0, ".concat(o.scrollHeight.value,"px)"),"-ms-transform":"translate(0, ".concat(o.scrollHeight.value,"px)"),"-moz-transform":"translate(0, ".concat(o.scrollHeight.value,"px)"),"-webkit-transform":"translate(0, ".concat(o.scrollHeight.value,"px)")}})),s=t((function(){return{transform:"translate(0, ".concat(o.translateY.value,"px)"),"-ms-transform":"translate(0, ".concat(o.translateY.value,"px)"),"-moz-transform":"translate(0, ".concat(o.translateY.value,"px)"),"-webkit-transform":"translate(0, ".concat(o.translateY.value,"px)")}}));return{virtualConfig:o,cursorStyle:c,listStyle:s,isVirtualScroll:r,onInnerVirtualScroll:function(e){var t=(e.target||e.srcElement).scrollTop;i!==t?o.isVirtualScroll.value&&o.handleScroll():i=-1,i=t},scrollToElement:function(e){var t=e.index,a=e.key,n=0===t||null!=t?t:Number(a);n||0===n?n<0||n>=l.value.length?d.error("List","".concat(n," does not exist in data, check `index` or `key` please.")):o.scrollToElement(Jt(Jt({},e),{},{index:n-1})):d.error("List","scrollTo: `index` or `key` must exist.")}}}(e.scroll,l,x),C=O.virtualConfig,j=O.cursorStyle,k=O.listStyle,z=O.isVirtualScroll,S=O.onInnerVirtualScroll,P=O.scrollToElement,E=t((function(){return["".concat(b.value),_.value[e.size],s(s(s({},"".concat(b.value,"--split"),e.split),"".concat(b.value,"--stripe"),e.stripe),"".concat(b.value,"--vertical-action"),"vertical"===e.layout)]})),M=t((function(){return m(e.asyncLoading)&&["loading","load-more"].includes(e.asyncLoading)?"".concat(b.value,"__load ").concat(b.value,"__load--").concat(e.asyncLoading):"".concat(b.value,"__load")}));return{COMPONENT_NAME:b,listClass:E,loadingClass:M,renderLoading:function(){if(e.asyncLoading&&m(e.asyncLoading)){if("loading"===e.asyncLoading)return r("div",null,[r(y,null,null),r("span",null,[n.value.loadingText])]);if(e.asyncLoading===Ht)return r("span",null,[n.value.loadingMoreText])}return w("asyncLoading")},renderContent:function(){var e=w("header"),t=w("footer"),a=C.isVirtualScroll.value;return r(h,null,[e?r("div",{class:"".concat(b.value,"__header")},[e]):null,a?r(h,null,[r("div",{style:j.value},null),r("ul",{class:"".concat(b.value,"__inner"),style:k.value},[C.visibleData.value.map((function(e){return r(h,null,[r(Rt,g(e,"slots"),e.slots)])}))])]):r("ul",{class:"".concat(b.value,"__inner")},[w("default")]),t?r("div",{class:"".concat(b.value,"__footer")},[t]):null])},handleScroll:function(t){var a,l=t.target,n=l.scrollTop,o=l.scrollHeight,r=l.clientHeight;z.value&&S(t),null===(a=e.onScroll)||void 0===a||a.call(e,{e:t,scrollTop:n,scrollBottom:o-r-n})},handleLoadMore:function(t){var a;m(e.asyncLoading)&&e.asyncLoading!==Ht||null===(a=e.onLoadMore)||void 0===a||a.call(e,{e:t})},listRef:l,isVirtualScroll:z,scrollTo:P}},render:function(){var e=this.renderContent();return e=[e,r("div",{class:this.loadingClass,onClick:this.handleLoadMore},[this.renderLoading()])],r("div",{class:this.listClass,onScroll:this.handleScroll,ref:"listRef",style:this.isVirtualScroll?"position:relative":void 0},[e])}}),Qt=e({name:"TListItemMeta",props:{avatar:{type:[String,Function]},description:{type:[String,Function]},image:{type:[String,Function]},title:{type:[String,Function]}},setup:function(e,t){var a=o("list-item__meta"),l=b(),n=i(),c=function(){e.avatar||t.slots.avatar;var n=l("avatar","image");if(n)return m(n)?r("div",{class:"".concat(a.value,"-avatar")},[r("img",{src:n},null)]):r("div",{class:"".concat(a.value,"-avatar")},[n])};return function(){var e=n("title"),t=n("description"),l=[c(),r("div",{class:"".concat(a.value,"-content")},[e&&r("h3",{class:"".concat(a.value,"-title")},[e]),t&&r("p",{class:"".concat(a.value,"-description")},[t])])];return r("div",{class:a.value},[l])}}}),Xt=_(Yt),Zt=_(Rt); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */_(Qt); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +var ea={attach:{type:[String,Function]},body:{type:[String,Function]},cancelBtn:{type:[String,Object,Function]},closeBtn:{type:[String,Boolean,Function]},closeOnEscKeydown:{type:Boolean,default:void 0},closeOnOverlayClick:{type:Boolean,default:void 0},confirmBtn:{type:[String,Object,Function]},default:{type:[String,Function]},destroyOnClose:Boolean,footer:{type:[Boolean,Function],default:!0},header:{type:[String,Boolean,Function],default:!0},mode:{type:String,default:"overlay",validator:function(e){return!e||["overlay","push"].includes(e)}},placement:{type:String,default:"right",validator:function(e){return!e||["left","right","top","bottom"].includes(e)}},preventScrollThrough:{type:Boolean,default:!0},showInAttachedElement:Boolean,showOverlay:{type:Boolean,default:!0},size:{type:String,default:void 0},sizeDraggable:{type:[Boolean,Object],default:!1},visible:Boolean,zIndex:{type:Number},onBeforeClose:Function,onBeforeOpen:Function,onCancel:Function,onClose:Function,onCloseBtnClick:Function,onConfirm:Function,onEscKeydown:Function,onOverlayClick:Function,onSizeDragEnd:Function}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function ta(e,t,a){return Math.min(Math.max(e,t),a)} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +var aa=function(e){var a=v(!1),l=v(null),n=function(){document.removeEventListener("mouseup",n,!0),document.removeEventListener("mousemove",o,!0),a.value=!1},o=function(t){var n,o,r,i=t.x,c=t.y,s=document.documentElement.clientHeight,u=document.documentElement.clientWidth,d="left"===e.placement||"right"===e.placement?u:s,v=("left"===e.placement||e.placement,8),p=(o=e.sizeDraggable,r={max:d,min:v},"boolean"==typeof o?{allowSizeDraggable:o,max:r.max,min:r.min}:{allowSizeDraggable:!0,max:o.max,min:o.min}),f=p.max,m=p.min;if(p.allowSizeDraggable&&a.value){var h=function(e,t){var a,l=t.x,n=t.y,o=t.max,r=t.min,i=t.maxWidth,c=t.maxHeight;switch(e){case"right":a=ta(i-l,r,o);break;case"left":a=ta(l,r,o);break;case"top":a=ta(n,r,o);break;case"bottom":a=ta(c-n,r,o);break;default:return a}return a}(e.placement,{x:i,y:c,maxWidth:u,maxHeight:s,max:f,min:m});void 0!==h&&(l.value="".concat(h,"px"),null===(n=e.onSizeDragEnd)||void 0===n||n.call(e,{e:t,size:h}))}},r=t((function(){var t=["right","left"].includes(e.placement);return s(s(s(s({zIndex:1,position:"absolute",background:"transparent"},{left:"right",right:"left",top:"bottom",bottom:"top"}[e.placement],0),"width",t?"16px":"100%"),"height",t?"100%":"16px"),"cursor",t?"col-resize":"row-resize")}));return{draggedSizeValue:l,enableDrag:function(){document.addEventListener("mouseup",n,!0),document.addEventListener("mousemove",o,!0),a.value=!0},draggableLineStyles:r}},la=1,na=_(e({name:"TDrawer",inheritAttrs:!1,props:ea,emits:["update:visible"],setup:function(e,a){var l=v(!1),n=v(!1),c=v(),u=v(),d=p("drawer").globalConfig,f=w({CloseIcon:x}).CloseIcon,m=i(),h=b(),g=o("drawer"),y=aa(e),_=y.draggedSizeValue,V=y.enableDrag,D=y.draggableLineStyles,T=O((function(){return e.attach})),A=I({confirmBtnAction:function(t){var a;null===(a=e.onConfirm)||void 0===a||a.call(e,{e:t})},cancelBtnAction:function(t){var a;null===(a=e.onCancel)||void 0===a||a.call(e,{e:t}),Q({trigger:"cancel",e:t})}}),B=A.getConfirmBtn,L=A.getCancelBtn,F=v(null),R=t((function(){return[g.value,"".concat(g.value,"--").concat(e.placement),s(s(s({},"".concat(g.value,"--open"),n.value),"".concat(g.value,"--attach"),e.showInAttachedElement),"".concat(g.value,"--without-mask"),!e.showOverlay)]})),N=t((function(){var t;if(_.value)return _.value;var a=null!==(t=e.size)&&void 0!==t?t:d.value.size,l=isNaN(Number(a))?a:"".concat(a,"px");return{small:"300px",medium:"500px",large:"760px"}[a]||l})),H=t((function(){return{transform:n.value?"translateX(0)":void 0,width:["left","right"].includes(e.placement)?N.value:"",height:["top","bottom"].includes(e.placement)?N.value:""}})),U=t((function(){return["".concat(g.value,"__content-wrapper"),"".concat(g.value,"__content-wrapper--").concat(e.placement)]})),W=t((function(){return F.value&&F.value.parentNode})),K=t((function(){return[e.mode,e.placement].join()})),$=t((function(){return{display:"flex",justifyContent:"right"===e.placement?"flex-start":"flex-end"}})),q=function(t){var a,l;(null!==(a=e.closeOnEscKeydown)&&void 0!==a?a:d.value.closeOnEscKeydown)&&"Escape"===t.key&&n.value&&(null===(l=e.onEscKeydown)||void 0===l||l.call(e,{e:t}),Q({trigger:"esc",e:t}))},J=function(){clearTimeout(u.value),u.value=setTimeout((function(){var e,t;null===(e=c.value)||void 0===e||null===(e=e.parentNode)||void 0===e||null===(t=e.removeChild)||void 0===t||t.call(e,c.value)}),150)};C(K,(function(){"push"===e.mode&&M((function(){W.value&&(W.value.style.cssText="transition: margin 300ms cubic-bezier(0.7, 0.3, 0.1, 1) 0s;")}))}),{immediate:!0}),C((function(){return e.visible}),(function(t){var a,o;j||(t?!e.showInAttachedElement&&e.preventScrollThrough&&c.value&&document.head.appendChild(c.value):J(),t?null===(a=e.onBeforeOpen)||void 0===a||a.call(e):null===(o=e.onBeforeClose)||void 0===o||o.call(e),e.destroyOnClose?t?(l.value=!1,setTimeout((function(){n.value=!0}))):(n.value=!1,setTimeout((function(){l.value=!0}),200)):!0===l.value&&t?(l.value=!1,setTimeout((function(){n.value=!0}))):n.value=t)}),{immediate:!0});var G=function(t){var a;null===(a=e.onCloseBtnClick)||void 0===a||a.call(e,{e:t}),Q({trigger:"close-btn",e:t})},Y=function(t){var a,l;null===(a=e.onOverlayClick)||void 0===a||a.call(e,{e:t}),(null!==(l=e.closeOnOverlayClick)&&void 0!==l?l:d.value.closeOnOverlayClick)&&Q({trigger:"overlay",e:t})},Q=function(t){var l;null===(l=e.onClose)||void 0===l||l.call(e,t),a.emit("update:visible",!1)};return k((function(){!function(){if(W.value&&"push"===e.mode&&W.value){var t={left:"margin: 0 0 0 ".concat(N.value),right:"margin: 0 0 0 -".concat(N.value),top:"margin: ".concat(N.value," 0 0 0"),bottom:"margin: -".concat(N.value," 0 0 0")}[e.placement];n.value?W.value.style.cssText+=t:W.value.style.cssText=W.value.style.cssText.replace(/margin:.+;/,"")}}()})),z((function(){var t=window.innerWidth>document.documentElement.clientWidth?De():0;c.value=document.createElement("style"),c.value.dataset.id="td_drawer_".concat(+new Date,"_").concat(la+=1),c.value.innerHTML="\n html body {\n overflow-y: hidden;\n transition: margin 300ms cubic-bezier(0.7, 0.3, 0.1, 1) 0s;\n ".concat("push"===e.mode?"":"width: calc(100% - ".concat(t,"px);"),"\n }\n "),n.value&&!e.showInAttachedElement&&e.preventScrollThrough&&document.head.appendChild(c.value),window.addEventListener("keydown",q)})),S((function(){J(),window.removeEventListener("keydown",q)})),function(){if(!l.value){var t,n,o=h("body","default"),i=m("header"),c=(t=B({confirmBtn:e.confirmBtn,globalConfirm:d.value.confirm,className:"".concat(g.value,"__confirm")}),n=L({cancelBtn:e.cancelBtn,globalCancel:d.value.cancel,className:"".concat(g.value,"__cancel")}),r("div",{style:$.value},["right"===e.placement?t:null,n,"right"!==e.placement?t:null]));return r(E,{disabled:!e.attach||!T.value,to:T.value},{default:function(){return[r("div",P({ref:F,class:R.value,style:{zIndex:e.zIndex},onKeydown:q,tabindex:0},a.attrs),[e.showOverlay&&r("div",{class:"".concat(g.value,"__mask"),onClick:Y},null),r("div",{class:U.value,style:H.value},[i&&r("div",{class:"".concat(g.value,"__header")},[i]),e.closeBtn&&r("div",{class:"".concat(g.value,"__close-btn"),onClick:G},[m("closeBtn",r(f,null,null))]),r("div",{class:["".concat(g.value,"__body"),"narrow-scrollbar"]},[o]),e.footer&&r("div",{class:"".concat(g.value,"__footer")},[m("footer",c)]),e.sizeDraggable&&r("div",{style:D.value,onMousedown:V},null)])])]}})}}}})); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */const oa={class:"flex flex-col items-center justify-center mb-[var(--td-comp-margin-xxl)] gap-3"},ra={class:"text-lg font-bold"},ia={class:"flex"},ca={class:"flex flex-row justify-between gap-3 w-full"},sa=e({__name:"ConversationDrawer",setup(e){const a=V(),l=t({get:()=>a.showEditorDrawer,set(e){a.showEditorDrawer=e}}),n=()=>{a.showEditorDrawer=!1},o=v(null),i=D(),c=()=>{const e=a.find(i.query.id);s.value=e.models.reduce(((e,t)=>(e[t.modelId]=t.showing,e)),{}),o.value={id:e.id,name:e.name,content:e.content,avatar:e.avatar,models:e.models.map((e=>e.modelId)),agentId:e.agentId,saveToAgent:!1,maxContextSize:e.maxContextSize,aspectRatio:e.aspectRatio}},s=v({});C((()=>{var e;return null==(e=o.value)?void 0:e.models}),(e=>{const t=Object.keys(s.value);t.forEach((t=>{e.includes(t)||delete s.value[t]})),e.forEach((e=>{t.includes(e)||(s.value[e]=!1)}))}));const u=t((()=>{if(!o.value)return!1;return Object.values(s.value).filter((e=>e)).length>=we}));C((()=>a.showEditorDrawer),(e=>{e&&c()})),T();const d=t((()=>A.availableModels.value.map((e=>({value:e.id,label:A.getModelItemTitle(e),...e}))))),p=B(),f=t((()=>{let e=p.find(o.value.agentId);return e=e||p.defaultAgent,e})),m=e=>{o.value.avatar=e},g=()=>{const e=a.find(o.value.id);e.name=o.value.name,e.content=o.value.content,e.avatar=o.value.avatar,e.agentId=o.value.agentId,e.maxContextSize=o.value.maxContextSize,e.aspectRatio=o.value.aspectRatio;const t=[];e.models.forEach((e=>{o.value.models.includes(e.modelId)&&(e.showing=s.value[e.modelId],t.push(e))})),o.value.models.forEach((a=>{e.models.some((e=>e.modelId===a))||t.push({modelId:a,chats:[],startContext:0,apiAgentId:"",apiConversationId:"",apiNote:"",showing:s.value[a],status:{responseWating:!1,chating:!1,stop:!1}})})),e.models=t,o.value.saveToAgent&&(f.value.content=o.value.content),c(),Q.success(K("pages.conversation.save_conversation_success"))},y=v(!1),b=v(""),_=()=>{if(""===b.value.trim())return void Q.warning(K("pages.conversation.enter_agent_name"));const e=xe();p.add({id:e,name:b.value,status:!0,content:o.value.content,avatar:o.value.avatar,onboarding:"",isDefault:!1});const t=a.find(o.value.id);o.value.agentId=e,t.agentId=e,y.value=!1,Q.success(K("pages.conversation.create_agent_success"))},w=()=>{o.value.content=f.value.content},x=()=>{o.value.saveToAgent=!o.value.saveToAgent};return z((()=>{a.showEditorDrawer=!1})),(e,t)=>{const a=Oe,i=Ce,c=X,v=Z,p=ke,O=ze,C=Pe,j=Ee,k=Ie,z=Me,S=ee,P=Ve,E=je,M=na,I=Te;return L(),F(h,null,[o.value?(L(),R(M,{key:0,visible:l.value,"onUpdate:visible":t[7]||(t[7]=e=>l.value=e),size:"408px",footer:!1,header:W(K)("pages.conversation.current_conversation"),"close-btn":!0,class:"",onCloseBtnClick:n},{default:N((()=>[r(E,{ref:"form",data:o.value,"label-width":100,"label-align":"top"},{default:N((()=>[H("div",oa,[r(_e,{ref:"avatarRef",url:o.value.avatar,onUpdate:m},null,8,["url"]),H("h1",ra,U(W(K)("pages.conversation.agent"))+": "+U(f.value.name),1)]),r(i,{label:W(K)("pages.conversation.conversation_name"),name:"name"},{default:N((()=>[r(a,{modelValue:o.value.name,"onUpdate:modelValue":t[0]||(t[0]=e=>o.value.name=e)},null,8,["modelValue"])])),_:1},8,["label"]),r(i,{label:W(K)("pages.conversation.conversation_description"),name:"content",class:"relative"},{default:N((()=>[r(v,{content:W(K)("pages.conversation.rollback_from_agent")},{default:N((()=>[r(c,{shape:"circle",variant:"text",class:"absolute z-50 right-0 top-[-32px]",onClick:w},{default:N((()=>[r(W(Mt),{slot:"icon"})])),_:1})])),_:1},8,["content"]),r(p,{modelValue:o.value.content,"onUpdate:modelValue":t[1]||(t[1]=e=>o.value.content=e),autosize:{minRows:5,maxRows:10},name:"content"},null,8,["modelValue"])])),_:1},8,["label"]),r(i,{label:W(K)("pages.conversation.context_rounds"),name:"maxContextSize"},{default:N((()=>[r(O,{modelValue:o.value.maxContextSize,"onUpdate:modelValue":t[2]||(t[2]=e=>o.value.maxContextSize=e),inputNumberProps:"",showStep:"",min:0,max:30},null,8,["modelValue"])])),_:1},8,["label"]),r(i,{label:"图片宽高比",name:"aspectRatio"},{default:N((()=>[r(j,{modelValue:o.value.aspectRatio,"onUpdate:modelValue":t[3]||(t[3]=e=>o.value.aspectRatio=e)},{default:N((()=>[r(C,{value:"IMAGE_ASPECT_RATIO_SQUARE",label:"方形 (1:1)"}),r(C,{value:"IMAGE_ASPECT_RATIO_PORTRAIT",label:"竖屏 (9:16)"}),r(C,{value:"IMAGE_ASPECT_RATIO_LANDSCAPE",label:"横屏 (16:9)"}),r(C,{value:"IMAGE_ASPECT_RATIO_PORTRAIT_THREE_FOUR",label:"竖屏 (3:4)"}),r(C,{value:"IMAGE_ASPECT_RATIO_LANDSCAPE_FOUR_THREE",label:"横屏 (4:3)"})])),_:1},8,["modelValue"])])),_:1}),r(i,{label:W(K)("pages.conversation.model"),name:"models"},{default:N((()=>[r(j,{modelValue:o.value.models,"onUpdate:modelValue":t[5]||(t[5]=e=>o.value.models=e),multiple:""},{valueDisplay:N((({value:e,onClose:a})=>[(L(!0),F(h,null,$(e,((e,l)=>(L(),R(z,{key:l,closable:!0,"on-close":({e:e})=>{e.stopPropagation(),a(l)}},{default:N((()=>[r(k,{disabled:u.value&&!s.value[e.value],onClick:t[4]||(t[4]=q((()=>{}),["stop"])),class:"mr-1",size:"small",modelValue:s.value[e.value],"onUpdate:modelValue":t=>s.value[e.value]=t},null,8,["disabled","modelValue","onUpdate:modelValue"]),J(" "+U(e.label),1)])),_:2},1032,["on-close"])))),128))])),default:N((()=>[(L(!0),F(h,null,$(d.value,(e=>(L(),R(C,{key:e.value,value:e.value,label:e.label},{default:N((()=>[H("div",ia,[r(S,{size:"20px",class:"mr-1"},{icon:N((()=>[(L(),R(G(W(A).icons[e.type])))])),_:2},1024),J(" "+U(e.label),1)])])),_:2},1032,["value","label"])))),128))])),_:1},8,["modelValue"])])),_:1},8,["label"]),r(i,null,{default:N((()=>[H("div",ca,[f.value.isDefault?Y("",!0):(L(),R(P,{key:0,onChange:x},{default:N((()=>[J(U(W(K)("pages.conversation.save_to_agent")),1)])),_:1})),r(c,{theme:"primary",type:"submit",onClick:g,class:"flex-1"},{default:N((()=>[J(U(W(K)("pages.conversation.save_conversation")),1)])),_:1})])])),_:1}),r(i,null,{default:N((()=>[r(c,{theme:"primary",type:"submit",onClick:t[6]||(t[6]=e=>y.value=!0),class:"w-full"},{default:N((()=>[J(U(W(K)("pages.conversation.save_as_new_agent")),1)])),_:1})])),_:1})])),_:1},8,["data"])])),_:1},8,["visible","header"])):Y("",!0),r(I,{visible:y.value,"onUpdate:visible":t[9]||(t[9]=e=>y.value=e),header:W(K)("pages.conversation.create_new_agent"),"on-confirm":_},{default:N((()=>[r(E,{ref:"form","label-width":100},{default:N((()=>[r(i,{label:W(K)("pages.conversation.agent_name"),name:"name"},{default:N((()=>[r(a,{modelValue:b.value,"onUpdate:modelValue":t[8]||(t[8]=e=>b.value=e)},null,8,["modelValue"])])),_:1},8,["label"])])),_:1},512)])),_:1},8,["visible","header"])],64)}}}),ua={class:"h-full flex flex-col chat-model-container relative"},da={class:"cursor-pointer handle p-2 bg-color-container rounded-t-lg shadow-2xl chat-model-header z-50"},va={class:"flex flex-wrap justify-between w-full overflow-x-hidden"},pa={class:"flex gap-1"},fa={class:"max-w-[120px]"},ma={class:"model-info flex flex-col gap-2"},ha={class:"max-h-44 overflow-auto no-scrollbar"},ga={class:"flex gap-1 flex-wrap"},ya={class:"flex flex-1 overflow-hidden bg-color-container rounded-b-lg shadow-md w-full"},ba={class:"flex-1 relative h-full overflow-hidden"},_a={key:0,class:"flex w-full justify-end items-start flex-row-reverse gap-2 chat-item"},wa=["data-index"],xa={class:"flex justify-between overflow-hidden h-[24px]"},Oa={class:"flex chat-item-tools gap-2"},Ca={class:"user-chat-content p-2 rounded-lg"},ja={class:"w-[24px] h-[24px]"},ka={key:1,class:"flex w-full flex-col gap-2 chat-item"},za={class:"flex justify-start align-middle items-center gap-2 h-[24px]"},Sa={class:"flex flex-row justify-between gap-5"},Pa={class:"flex flex-col w-full"},Ea=["data-index"],Ma={key:0,class:"loader"},Ia={key:2,class:"flex gap-5 overflow-x-auto scrollbar p-1"},Va=["onClick"],Da={class:"flex flex-row w-full"},Ta={class:"w-12 h-2"},Aa=["src"],Ba={class:"w-44"},La={class:"w-full text-ellipsis overflow-hidden text-nowrap"},Fa={class:"text-ellipsis overflow-hidden whitespace-nowrap"},Ra={class:"max-h-10 overflow-hidden mt-2"},Na={class:"h-[24px] mt-1 chat-item-tools"},Ha={class:"flex justify-end gap-2"},Ua={key:3,class:"flex justify-center w-full"},Wa=e({__name:"ChatColumn",props:{chatModel:{type:Object},conversation:{type:Object},fullScreenModelId:{type:String,default:""}},emits:["stop-chat","extend-model-visible","re-chat","change-size","api-setting-visible","fav-note-visible","clear-chat-context","clear-chat-history"],setup(e,{emit:a}){const l=te();D();const n=e,o=v(null),i=v(null);ae(),T();const c=t((()=>n.chatModel.chat.chats));const s=a,u=e=>{s("re-chat",e.model.id)},d=v(-1),p=e=>{d.value=e},f=e=>{c.value[d.value].content.text=e,d.value=-1},m=()=>{d.value=-1},g=t((()=>A.getModelItemTitle(n.chatModel.model))),y=e=>{navigator.clipboard.writeText(e.content.text),Q.success(K("pages.note.noteCopySuccess"))},b=t((()=>{let e="",t="";if(n.chatModel.model.apiBase.startsWith("http"))e=n.chatModel.model.apiBase,t=n.chatModel.model.apiKey;else{let l=Ae(n.chatModel.model.apiBase||A.dict[n.chatModel.model.type].apiBase);l=l.replace("/app/","/api/"),l.includes("?")?l+="&":l+="?",l+=`model=${n.chatModel.model.id}`,l+="&",l+=`conversation=${n.conversation.id}`;const o=l.indexOf("?");e=l.substring(0,o)+"/v1/chat/completions",t="oa_"+(a=l.substring(o+1),btoa(a).split("").map((e=>{const t=e.charCodeAt(0);return String.fromCharCode(t+1)})).join(""))}var a;return{apiBase:e,apiKey:t}})),_=t((()=>n.chatModel.model.apiBase.startsWith("http")?"ApiBase":"LocalApi")),w=t((()=>n.chatModel.model.apiBase.startsWith("http")?"ApiKey":"LocalKey")),x=v(!1),O=v("");le((()=>{if(!c.value||0===c.value.length)return;const e=c.value[c.value.length-1];"assistant"===e.role&&(O.value=e.content.text)}));const C=()=>{x.value=!1};async function j(){await window.ipcRenderer.invoke("refresh-vercel-view")?Q.success("Refresh succeed"):Q.error("Refresh failed")}async function k(){await window.ipcRenderer.invoke("refresh-coze-com-view")?Q.success("Refresh succeed"):Q.error("Refresh failed")}async function z(){await window.ipcRenderer.invoke("refresh-coze-cn-view")?Q.success("Refresh succeed"):Q.error("Refresh failed")}async function S(){const e=A.dict["chatgpt.com"],t=await window.ipcRenderer.invoke("login-get-token",{url:e.tokenUrl,userAgent:"",script:"",show:!1,autoClose:!0});e.playground.apiKey=t.token,Q.success("Refresh succeed")}async function P(){const e=A.dict.magai,t=await window.ipcRenderer.invoke("login-get-token",{url:e.tokenUrl,userAgent:"",script:"",show:!1,autoClose:!0});e.playground.apiKey=t.token,Q.success("Refresh succeed")}return(t,a)=>{var n,v;const E=ee,M=ze,I=Ce,V=X,D=Ye,T=oe,B=Z,Q=Me,te=$e,ae=Zt,le=Xt;return L(),F("div",ua,[H("div",da,[H("div",va,[H("div",pa,[r(E,{size:"20px"},{icon:N((()=>[(L(),R(G(W(A).icons[e.chatModel.model.type])))])),_:1}),H("div",fa,[r(T,{placement:"bottom","cancel-btn":null,"confirm-btn":null},{content:N((()=>[H("div",ma,[a[19]||(a[19]=H("p",null,"Model Info",-1)),H("p",null,[H("span",null,U(t.$t("pages.setting.model.model_name")),1),J(U(e.chatModel.model.name),1)]),H("p",null,[H("span",null,U(t.$t("pages.setting.model.model_interface")),1),J(U(e.chatModel.model.type),1)]),H("p",null,[H("span",null,U(t.$t("pages.setting.model.model_address")),1),J(U(e.chatModel.model.apiBase),1)]),r(I,{label:W(K)("pages.conversation.temperature"),name:"temperature",labelAlign:"left",labelWidth:"64px"},{default:N((()=>[r(M,{modelValue:e.chatModel.model.temperature,"onUpdate:modelValue":a[0]||(a[0]=t=>e.chatModel.model.temperature=t),inputNumberProps:"",showStep:"",min:0,max:1,step:.1},null,8,["modelValue"])])),_:1},8,["label"]),r(I,{label:W(K)("pages.conversation.maxTokens"),name:"maxTokens",labelAlign:"left",labelWidth:"64px"},{default:N((()=>[r(M,{modelValue:e.chatModel.model.maxTokens,"onUpdate:modelValue":a[1]||(a[1]=t=>e.chatModel.model.maxTokens=t),inputNumberProps:"",showStep:"",min:1024,max:8192,step:128},null,8,["modelValue"])])),_:1},8,["label"]),r(I,{label:W(K)("pages.conversation.topP"),name:"topP",labelAlign:"left",labelWidth:"64px"},{default:N((()=>[r(M,{modelValue:e.chatModel.model.topP,"onUpdate:modelValue":a[2]||(a[2]=t=>e.chatModel.model.topP=t),inputNumberProps:"",showStep:"",min:0,max:1,step:.1},null,8,["modelValue"])])),_:1},8,["label"]),H("p",null,[H("span",null,U(_.value),1),J(U(b.value.apiBase),1)]),H("p",ha,[H("span",null,U(w.value),1),J(U(b.value.apiKey),1)]),H("p",null,[a[13]||(a[13]=H("span",null,"Model ",-1)),J(U(e.chatModel.model.apiModel),1)]),"vercel"===e.chatModel.model.type?(L(),R(V,{key:0,theme:"primary",onClick:j},{default:N((()=>a[14]||(a[14]=[J("refresh vercel.ai ")]))),_:1})):Y("",!0),"coze.com"===e.chatModel.model.type?(L(),R(V,{key:1,theme:"primary",onClick:k},{default:N((()=>a[15]||(a[15]=[J("refresh coze.com ")]))),_:1})):Y("",!0),"coze.cn"===e.chatModel.model.type?(L(),R(V,{key:2,theme:"primary",onClick:z},{default:N((()=>a[16]||(a[16]=[J("refresh coze.cn ")]))),_:1})):Y("",!0),"chatgpt.com"===e.chatModel.model.type?(L(),R(V,{key:3,theme:"primary",onClick:S},{default:N((()=>a[17]||(a[17]=[J("refresh chatgpt.com ")]))),_:1})):Y("",!0),"magai"===e.chatModel.model.type?(L(),R(V,{key:4,theme:"primary",onClick:P},{default:N((()=>a[18]||(a[18]=[J("refresh magai.co ")]))),_:1})):Y("",!0)])])),default:N((()=>[r(D,{theme:"primary",title:g.value,class:"block w-full whitespace-nowrap text-ellipsis overflow-hidden"},{default:N((()=>[J(U(g.value),1)])),_:1},8,["title"])])),_:1})])]),H("div",ga,[r(B,{content:W(K)("pages.conversation.maximize_minimize")},{default:N((()=>[r(V,{size:"small",shape:"circle",variant:"outline",onClick:a[3]||(a[3]=q((t=>{return a=e.chatModel,void s("change-size",a.model.id);var a}),["stop"]))},{default:N((()=>[e.chatModel.chat.modelId==e.fullScreenModelId?(L(),R(W(mt),{key:0,slot:"icon"})):(L(),R(W(bt),{key:1,slot:"icon"}))])),_:1})])),_:1},8,["content"]),r(B,{content:W(K)("pages.conversation.stop_answering")},{default:N((()=>[r(V,{size:"small",shape:"circle",variant:"outline",onClick:a[4]||(a[4]=q((t=>{return a=e.chatModel,void s("stop-chat",a.model.id);var a}),["stop"]))},{default:N((()=>[r(W(Tt),{slot:"icon"})])),_:1})])),_:1},8,["content"]),r(B,{content:W(K)("pages.conversation.regenerate_last_conversation")},{default:N((()=>[r(V,{size:"small",shape:"circle",variant:"outline",onClick:a[5]||(a[5]=q((t=>u(e.chatModel)),["stop"]))},{default:N((()=>[r(W(qe),{slot:"icon"})])),_:1})])),_:1},8,["content"]),r(T,{theme:"danger",content:W(K)("pages.conversation.confirm_delete_chat_history"),placement:"top",onConfirm:a[6]||(a[6]=t=>{return a=e.chatModel,void s("clear-chat-history",a.model.id);var a})},{default:N((()=>[r(B,{content:W(K)("pages.conversation.delete_chat_history")},{default:N((()=>[r(V,{size:"small",shape:"circle",variant:"outline"},{default:N((()=>[r(W(it),{slot:"icon"})])),_:1})])),_:1},8,["content"])])),_:1},8,["content"]),r(T,{theme:"warning",content:W(K)("pages.conversation.confirm_clear_context"),placement:"top",onConfirm:a[7]||(a[7]=t=>{return a=e.chatModel,void s("clear-chat-context",a.model.id);var a})},{default:N((()=>[r(B,{content:W(K)("pages.conversation.clear_context")},{default:N((()=>[r(V,{size:"small",shape:"circle",variant:"outline"},{default:N((()=>[r(W(dt),{slot:"icon"})])),_:1})])),_:1},8,["content"])])),_:1},8,["content"]),r(B,{content:W(K)("pages.conversation.inherit_other_model_conversation")},{default:N((()=>[r(V,{size:"small",shape:"circle",variant:"outline",onClick:a[8]||(a[8]=q((t=>{return a=e.chatModel,void s("extend-model-visible",a.model.id);var a}),["stop"]))},{default:N((()=>[r(W(Ft),{slot:"icon"})])),_:1})])),_:1},8,["content"]),r(B,{content:W(K)("pages.conversation.api_conversation_settings")},{default:N((()=>[r(V,{size:"small",shape:"circle",variant:"outline",onClick:a[9]||(a[9]=q((t=>{return a=e.chatModel,void s("api-setting-visible",a.model.id);var a}),["stop"]))},{default:N((()=>[r(W(zt),{slot:"icon"})])),_:1})])),_:1},8,["content"]),r(B,{content:W(K)("pages.conversation.toggle_artifacts")},{default:N((()=>[r(V,{size:"small",shape:"circle",variant:"outline",onClick:a[10]||(a[10]=q((e=>{x.value=!x.value}),["stop"]))},{default:N((()=>[r(W(Re),{slot:"icon"})])),_:1})])),_:1},8,["content"])])])]),H("div",ya,[H("div",ba,[r(le,{ref_key:"scrollable_chat",ref:o,"data-chat-id":e.chatModel.model.id,class:ne(["flex flex-col h-full overflow-y-auto chat-container-content scrollable-chat relative",{chating:e.chatModel.chat.status.chating}]),scroll:{type:"virtual"},onMouseupPassive:null==(n=i.value)?void 0:n.showToolbox,onMousedownPassive:null==(v=i.value)?void 0:v.hideToolbox},{default:N((()=>{var t;return[(L(!0),F(h,null,$(c.value,((t,n)=>(L(),R(ae,{key:n,class:"w-full"},{default:N((()=>["user"===t.role?(L(),F("div",_a,[H("div",{class:"flex flex-col gap-2 w-[calc(100%-24px-1rem)]","data-index":`${n}`},[H("div",xa,[J(U(W(l).name)+" ",1),H("div",Oa,[r(T,{theme:"danger",content:W(K)("pages.conversation.dialog_confirm_delete_record"),placement:"bottom",onConfirm:e=>(e=>{const t=c.value.findIndex((t=>t===e));-1!==t&&(c.value.splice(t,1),t<c.value.length&&"assistant"===c.value[t].role&&c.value.splice(t,1))})(t)},{default:N((()=>[r(B,{content:W(K)("pages.conversation.button_tooltip_delete"),placement:"bottom"},{default:N((()=>[r(V,{size:"small",shape:"circle",variant:"outline"},{default:N((()=>[r(W(Je),{slot:"icon"})])),_:1})])),_:1},8,["content"])])),_:2},1032,["content","onConfirm"]),r(B,{content:W(K)("pages.conversation.button_tooltip_editor"),placement:"bottom"},{default:N((()=>[r(V,{size:"small",shape:"circle",variant:"outline",onClick:e=>p(n)},{default:N((()=>[r(W(Ne),{slot:"icon"})])),_:2},1032,["onClick"])])),_:2},1032,["content"]),r(B,{content:W(K)("pages.conversation.button_tooltip_copy")},{default:N((()=>[r(V,{size:"small",shape:"circle",variant:"outline",onClick:e=>y(t)},{default:N((()=>[r(W(Ge),{slot:"icon"})])),_:2},1032,["onClick"])])),_:2},1032,["content"]),r(B,{content:W(K)("pages.conversation.button_tooltip_favourite"),placement:"bottom"},{default:N((()=>[r(V,{size:"small",shape:"circle",variant:"outline",onClick:a=>{return l=e.chatModel,void s("fav-note-visible",l,t);var l}},{default:N((()=>[r(W(lt),{slot:"icon"})])),_:2},1032,["onClick"])])),_:2},1032,["content"]),n===e.chatModel.chat.chats.length-2?(L(),R(B,{key:0,content:W(K)("pages.conversation.button_tooltip_refresh")},{default:N((()=>[r(V,{size:"small",shape:"circle",variant:"outline",onClick:a[11]||(a[11]=t=>u(e.chatModel))},{default:N((()=>[r(W(qe),{slot:"icon"})])),_:1})])),_:1},8,["content"])):Y("",!0)])]),H("div",Ca,[r(He,{content:t.content,isEditing:d.value===n,onSave:f,onCancel:m},null,8,["content","isEditing"])])],8,wa),H("div",ja,[r(E,{size:"24px",image:W(l).avatar},null,8,["image"])])])):"assistant"===t.role?(L(),F("div",ka,[H("div",za,[r(E,{size:"24px",image:e.conversation.avatar},null,8,["image"]),H("div",Sa,U(e.conversation.name),1)]),H("div",Pa,[H("div",{"data-index":`${n}`},[e.chatModel.chat.status.responseWating&&n===e.chatModel.chat.chats.length-1?(L(),F("span",Ma)):(L(),R(Ue,{key:1,content:t.content,isEditing:d.value===n,onSave:f,onCancel:m},null,8,["content","isEditing"])),t.content.webs&&t.content.webs.length>0?(L(),F("div",Ia,[(L(!0),F(h,null,$(t.content.webs,(e=>(L(),F("div",{class:"bg-color-page p-2 w-60 cursor-pointer",onClick:t=>{return a=e.url,void(window.ipcRenderer?window.ipcRenderer.send("open-url",a):window.open(a));var a}},[H("div",Da,[H("div",Ta,[H("img",{src:e.icon,alt:""},null,8,Aa)]),H("div",Ba,[H("div",La,U(e.title),1),H("div",Fa,U(e.url),1)])]),H("div",Ra,U(e.excerpt),1)],8,Va)))),256))])):Y("",!0)],8,Ea),H("div",Na,[H("div",Ha,[t.model?(L(),R(Q,{key:0,class:"max-w-60 model-tag"},{default:N((()=>[J(U(t.model),1)])),_:2},1024)):Y("",!0),r(B,{content:W(K)("pages.conversation.button_tooltip_editor"),placement:"bottom"},{default:N((()=>[r(V,{size:"small",variant:"outline",onClick:e=>p(n)},{default:N((()=>[r(W(Ne),{slot:"icon"})])),_:2},1032,["onClick"])])),_:2},1032,["content"]),r(B,{content:W(K)("pages.conversation.button_tooltip_copy")},{default:N((()=>[r(V,{size:"small",variant:"outline",onClick:e=>y(t)},{default:N((()=>[r(W(Ge),{slot:"icon"})])),_:2},1032,["onClick"])])),_:2},1032,["content"]),r(B,{content:W(K)("pages.conversation.toggle_artifacts")},{default:N((()=>[r(V,{size:"small",variant:"outline",onClick:e=>{var a;"assistant"===(a=t).role&&(O.value=a.content.text,x.value=!0)}},{default:N((()=>[r(W(Re),{slot:"icon"})])),_:2},1032,["onClick"])])),_:2},1032,["content"]),n===e.chatModel.chat.chats.length-1?(L(),R(B,{key:1,content:W(K)("pages.conversation.button_tooltip_refresh")},{default:N((()=>[r(V,{size:"small",variant:"outline",onClick:a[12]||(a[12]=t=>u(e.chatModel))},{default:N((()=>[r(W(qe),{slot:"icon"})])),_:1})])),_:1},8,["content"])):Y("",!0)])])])])):"verbose"===t.role?(L(),R(te,{key:2},{default:N((()=>[J(U(t.content.text),1)])),_:2},1024)):(L(),F("div",Ua,U(t.role)+" - "+U(t.content.text),1))])),_:2},1024)))),128)),r(We,{ref_key:"toolbar",ref:i,parent:null==(t=o.value)?void 0:t.listRef},null,8,["parent"])]})),_:1},8,["data-chat-id","class","onMouseupPassive","onMousedownPassive"]),a[20]||(a[20]=H("div",{class:"absolute z-50 bottom-0 w-full h-20 rounded-b-lg chat-model-footer pointer-events-none"},null,-1))]),x.value?(L(),F("div",{key:0,class:ne([e.chatModel.chat.modelId===e.fullScreenModelId?"w-1/2":"w-full","pr-4"])},[r(Ke,{content:O.value,closeBtn:C},null,8,["content"])],2)):Y("",!0)])])}}}),Ka={key:0,class:"flex flex-col items-center h-full relative"},$a={class:"w-full flex gap-2 absolute bottom-0 z-50"},qa={class:"rounded-lg px-1 bg-color-container bordered flex items-center align-middle"},Ja={class:"flex flex-col justify-center items-center w-full"},Ga={class:"flex flex-col gap-5 w-full overflow-hidden"},Ya={class:"max-h-96 no-scrollbar overflow-auto bordered p-2 shadow-sm"},Qa=e({name:"ListConversation",setup(e){const a=te(),l=re(),n=ae(),o=V(),i=D();ie();const c=v(null),s=v(null);let u=!1;const d=v([]),p=T(),f=ye(),m=v(!1),g=async e=>{if(e.content)try{d.value.forEach((t=>{if(""!==De.value&&De.value!==t.model.id)return;const a={text:e.content,files:[],images:[],webs:[]};e.files.forEach((e=>{e.type.startsWith("image")?a.images.push({...e,model:""}):a.files.push(e)})),t.chat.chats.push({role:"user",content:a,id:"",liked:!1,model:""}),t.chat.chats.push({role:"assistant",content:{text:"",files:[],images:[],webs:[]},id:"",liked:!1,model:""})})),ve.setPause(!0);const t=d.value.map(((e,t)=>{if((""===De.value||De.value===e.model.id)&&!0!==e.chat.status.chating)return e.chat.status.chating=!0,e.chat.status.stop=!1,e.chat.status.responseWating=!0,e})).filter((e=>e));if(0===t.length)return;await nt(0),lt();let a="";if(s.value.internet){const l=await Be(e.content);t.map((e=>{e.chat.chats[e.chat.chats.length-1].content.webs=l.map((e=>({title:e.title,icon:e.icon,excerpt:e.excerpt,url:e.url})))})),l.length>0&&(a=JSON.stringify(l.map((e=>({content:e.content,url:e.url})))))}const l=t.map(((e,t)=>new Promise(((l,n)=>{setTimeout((()=>{const t=Le(s.value,e,a);l(t)}),100*t)}))));await Promise.all(l)}finally{u=!1,ve.setPause(!1),o.$persist()}else Q.error(K("pages.conversation.question_cannot_be_empty"))},y=async()=>{try{if(""!==De.value)return void b(De.value);ve.setPause(!0);const e=d.value.map(((e,t)=>{if(0===e.chat.chats.length)return;if(!0===e.chat.status.chating)return;const a=e.chat.chats[e.chat.chats.length-1];if("assistant"==a.role)return a.content.text="",a.content.files=[],a.content.images=[],a.content.webs=[],a.model="",e.chat.status.chating=!0,e.chat.status.stop=!1,e.chat.status.responseWating=!0,e;Q.error(K("pages.conversation.please_start_question_again"))})).filter((e=>e));if(0===e.length)return;await nt(0),lt();let t="";if(s.value.internet){const a=e.find((e=>e.chat.chats.length>0));if(a){const l=a.chat.chats,n=l[l.length-2];if(n){const a=await Be(n.content.text);e.map((e=>{e.chat.chats[e.chat.chats.length-1].content.webs=a.map((e=>({title:e.title,icon:e.icon,excerpt:e.excerpt,url:e.url})))})),a.length>0&&(t=JSON.stringify(a.map((e=>({content:e.content,url:e.url})))))}}}const a=e.map(((e,a)=>new Promise(((l,n)=>{setTimeout((()=>{const a=Le(s.value,e,t);l(a)}),100*a)}))));await Promise.all(a)}finally{u=!1,ve.setPause(!1),o.$persist()}},b=async e=>{try{const t=d.value.find((t=>t.model.id===e));if(0===t.chat.chats.length)return;ve.setPause(!0);const a=t.chat.chats[t.chat.chats.length-1];if("assistant"!=a.role)return void Q.error(K("pages.conversation.please_start_question_again"));if(!0===t.chat.status.chating)return;a.content.text="",a.content.files=[],a.content.images=[],a.content.webs=[],a.model="",t.chat.status.chating=!0,t.chat.status.stop=!1,t.chat.status.responseWating=!0;let l="";if(lt(),s.value.internet){const e=await Be(t.chat.chats[t.chat.chats.length-2].content.text);a.content.webs=e.map((e=>({title:e.title,icon:e.icon,excerpt:e.excerpt,url:e.url}))),e.length>0&&(l=JSON.stringify(e.map((e=>({content:e.content,url:e.url})))))}await Le(s.value,t,l)}finally{u=!1,ve.setPause(!1),o.$persist()}},_=async()=>{""===De.value?(d.value.forEach((e=>{e.chat.chats.push({role:"verbose",content:{text:K("pages.conversation.context_cleared"),files:[],images:[],webs:[]},id:"",liked:!1,model:""}),e.chat.startContext=e.chat.chats.length})),Q.success(K("pages.conversation.context_cleared_success")),await nt(0)):z(De.value)},w=()=>{o.showEditorDrawer=!0},x=e=>{const t=d.value.find((t=>t.chat.modelId===e));t.chat.status.stop=!0,t.chat.status.responseWating=!1,t.chat.status.chating=!1},O=()=>{""===De.value?d.value.forEach((e=>{e.chat.status.stop=!0,e.chat.status.responseWating=!1,e.chat.status.chating=!1})):x(De.value)},j=()=>{s.value.internet=!s.value.internet},k=()=>{""===De.value?d.value.forEach((e=>{e.chat.chats=[],e.chat.startContext=0})):S(De.value)},z=e=>{const t=d.value.find((t=>t.chat.modelId===e)).chat;t.chats.push({role:"verbose",content:{text:K("pages.conversation.context_cleared"),files:[],images:[],webs:[]},id:"",liked:!1,model:""}),t.startContext=t.chats.length,Q.success(K("pages.conversation.context_cleared_success")),M((()=>{const t=document.querySelector(`[data-chat-id="${e}"]`);t&&t.scrollTo({top:t.scrollHeight,behavior:"smooth"})}))},S=e=>{const t=d.value.find((t=>t.chat.modelId===e)).chat;t.chats=[],t.startContext=0},P=v(!1),E=v(""),I=v(""),B=e=>{P.value=!0,I.value="",E.value=e},_e=async()=>{if(!I.value)return void(P.value=!1);const e=s.value.models.find((e=>e.modelId===I.value));if(E.value){const t=s.value.models.find((e=>e.modelId===E.value));t.chats=JSON.parse(JSON.stringify(e.chats)),t.startContext=0}else s.value.models.forEach((t=>{t.modelId!=I.value&&(t.chats=JSON.parse(JSON.stringify(e.chats)),t.startContext=0)}));P.value=!1,await nt(0)},we=v(!1),ke=v(""),ze=v(""),Pe=v("");let Ee="";const Me=e=>{we.value=!0,Ee=e;const t=s.value.models.find((e=>e.modelId===Ee));ze.value=t.apiConversationId,ke.value=t.apiAgentId,Pe.value=t.apiNote},Ie=()=>{var e,t,a;const l=s.value.models.find((e=>e.modelId===Ee));l.apiConversationId=null==(e=ze.value)?void 0:e.trim(),l.apiAgentId=null==(t=ke.value)?void 0:t.trim(),l.apiNote=null==(a=Pe.value)?void 0:a.trim(),we.value=!1};async function Ve(){const e=d.value.find((e=>e.chat.modelId===Ee));if("lyihub"===e.model.type){const t=await Se(e.model.apiKey);ze.value=t.id}else ze.value=xe()}const De=v(""),Ae=e=>{1!==d.value.length&&(""===De.value?De.value=e:De.value="")},Re=v(!1),Ne=v(""),He=n.list;let Ue=null,We=null;const Ke=async(e,t)=>{Re.value=!0,Ne.value="",Ue=e,We=t},$e=async()=>{var e=Ue.chat.chats;const t=e.findIndex((e=>e===We)),l=e[t].content.text;let o="";const r=t+1;r<e.length&&"assistant"===e[r].role&&(o=e[r].content.text);const i={id:xe(),title:l,time:(new Date).getTime(),conversationId:s.value.id,conversationName:s.value.name,conversationAvatar:s.value.avatar,chats:[{...e[t],content:{...e[t].content}},{...e[r],content:{...e[r].content}}],notes:[]};if(n.add(i),Q.success(K("pages.conversation.favorite_success")),a.assistModel){const e=K("pages.conversation.extract_core_conversation",{question:l,answer:o});await Fe(e,(e=>{i.title=e,i.title=i.title.replaceAll("###",""),i.title=i.title.trim(),n.update(i)}))}Re.value=!1},Je=async()=>{if(!Ne)return void(Re.value=!1);const e=He.find((e=>e.id==Ne.value));var t=Ue.chat.chats;const a=t.findIndex((e=>e===We)),l=a+1;e.chats.push({...t[a],content:{...t[a].content}}),e.chats.push({...t[l],content:{...t[l].content}}),n.update(e),Q.success(K("pages.conversation.favorite_success")),Re.value=!1},Ge=t((()=>re().isSidebarCompact)),Ye=t((()=>""!==De.value||1===d.value.length||Ge.value?12:2===d.value.length?6:3===d.value.length?4:4===d.value.length?3:5===d.value.length||6===d.value.length?4:7===d.value.length||8===d.value.length?3:12)),Qe=t((()=>""!==De.value||1===d.value.length||Ge.value||2===d.value.length||3===d.value.length||4===d.value.length?"h-[calc(100%-10px)]":5===d.value.length||6===d.value.length||7===d.value.length||8===d.value.length?"h-[calc(50%-10px)]":"h-[calc(100%-10px)]")),et=t((()=>{let e="h-[calc(100vh-56px-2*var(--td-comp-paddingTB-m))]";return l.showLayoutHeader&&l.showFooter&&(e="h-[calc(100vh-56px-var(--td-comp-size-xxl)-var(--td-comp-size-xxxl)-2*var(--td-comp-paddingTB-m))]"),l.showLayoutHeader&&!l.showFooter&&(e="h-[calc(100vh-56px-var(--td-comp-size-xxxl)-2*var(--td-comp-paddingTB-m))]"),!l.showLayoutHeader&&l.showFooter&&(e="h-[calc(100vh-56px-var(--td-comp-size-xxl)-2*var(--td-comp-paddingTB-m))]"),[e,{"chat-container-collapsed":Ge.value&&d.value.length>1&&!De.value}]})),tt=()=>{const e=d.value.map((e=>e.chat)),t=new Set(e),a=s.value.models.filter((e=>!t.has(e)));s.value.models=[...e,...a]},at=new Map,lt=async()=>{if(!c.value)return;u=!0,await M();const e=c.value.querySelectorAll(".chating");for(;u;)await new Promise((e=>setTimeout(e,200))),e.forEach((e=>{const t=e.getAttribute("data-chat-id");if(t){if(!at.has(t)){at.set(t,!0);const a=()=>{const a=e.scrollHeight-e.scrollTop-e.clientHeight;a>50?at.set(t,!1):a<10&&at.set(t,!0)};e.onscroll=a,e.addEventListener("scroll",a)}at.get(t)&&(null==e||e.scrollTo({top:e.scrollHeight,behavior:"instant"}))}}))};async function nt(e){if(await new Promise((t=>setTimeout(t,e))),!c.value)return;c.value.querySelectorAll(".scrollable-chat").forEach((e=>{null==e||e.scrollTo({top:e.scrollHeight,behavior:"instant"})}))}ce((()=>{ot()}));const ot=()=>{(()=>{if(!c.value)return;c.value.querySelectorAll("[data-chat-id]").forEach((e=>{const t=e.getAttribute("data-chat-id");if(t){const a=e.onscroll;a&&e.removeEventListener("scroll",a),at.delete(t)}}))})(),at.clear()};le((()=>{s.value&&(ot(),rt())}));const rt=()=>{d.value=s.value.models.map((e=>{const t=p.find(e.modelId);if(t&&e.showing)return{model:t,chat:e,id:e.modelId}})).filter(Boolean)};C((()=>i.query.id),(async e=>{var t;if("/conversation/chat"!==i.path)return s.value=null,void ot();let a=e,l=s.value;s.value=o.find(a),De.value="",rt();!i.query.isNew||!(null==(t=pe.data)?void 0:t.content)||0===s.value.models.length||s.value.models[0].chats.length>0?await nt(l?0:500):g(pe.data)}),{immediate:!0});const ct=t((()=>s.value.internet?{color:"green"}:{}));return(e,t)=>{const a=fe,l=X,n=Z,o=oe,i=se,u=ee,v=me,p=he,C=ge,M=Te,V=Oe,D=Ce,T=je;return s.value?(L(),F("div",Ka,[H("div",{class:ne(["w-full",et.value]),ref_key:"chatContainer",ref:c},[r(W(ue),{tag:"t-row",modelValue:d.value,"onUpdate:modelValue":t[0]||(t[0]=e=>d.value=e),handle:".handle","component-data":{align:"top",gutter:10},onEnd:tt,"item-key":"id",class:"h-full"},{item:N((({element:e})=>[(L(),R(a,{span:Ye.value,key:e.model.id,class:ne([Qe.value,{hidden:""!==De.value&&De.value!==e.model.id}])},{default:N((()=>[r(Wa,{"chat-model":e,conversation:s.value,"data-index":`${e.model.id}`,"full-screen-model-id":De.value,onStopChat:x,onExtendModelVisible:B,onReChat:b,onChangeSize:Ae,onApiSettingVisible:Me,onFavNoteVisible:Ke,onClearChatContext:z,onClearChatHistory:S},null,8,["chat-model","conversation","data-index","full-screen-model-id"])])),_:2},1032,["span","class"]))])),_:1},8,["modelValue"])],2),H("div",$a,[r(be,{class:"flex-1",onInput:g}),H("div",qa,[W(f)?(L(),R(i,{key:1,delay:0,modelValue:m.value,"onUpdate:modelValue":t[7]||(t[7]=e=>m.value=e),onOverlayClick:t[8]||(t[8]=e=>m.value=!1)},{content:N((()=>[H("div",Ja,[r(l,{size:"large",shape:"circle",variant:"text",onClick:j},{default:N((()=>[r(W(Ot),{slot:"icon",style:de(ct.value)},null,8,["style"])])),_:1}),r(l,{size:"large",shape:"circle",variant:"text",onClick:O},{default:N((()=>[r(W(Tt),{slot:"icon"})])),_:1}),r(l,{size:"large",shape:"circle",variant:"text",onClick:y},{default:N((()=>[r(W(qe),{slot:"icon"})])),_:1}),r(l,{size:"large",shape:"circle",variant:"text",onClick:t[2]||(t[2]=e=>B(""))},{default:N((()=>[r(W(Ft),{slot:"icon"})])),_:1}),r(o,{theme:"danger",content:W(K)("pages.conversation.confirm_delete_all_chat_records"),placement:"left",onConfirm:t[4]||(t[4]=()=>{k(),m.value=!1})},{default:N((()=>[r(l,{size:"large",shape:"circle",variant:"text",onClick:t[3]||(t[3]=q((()=>{}),["stop"]))},{default:N((()=>[r(W(it),{slot:"icon"})])),_:1})])),_:1},8,["content"]),r(o,{theme:"warning",content:W(K)("pages.conversation.confirm_clear_all_context"),placement:"left",onConfirm:t[6]||(t[6]=()=>{_(),m.value=!1})},{default:N((()=>[r(l,{size:"large",shape:"circle",variant:"text",onClick:t[5]||(t[5]=q((()=>{}),["stop"]))},{default:N((()=>[r(W(dt),{slot:"icon"})])),_:1})])),_:1},8,["content"]),r(l,{size:"large",shape:"circle",variant:"text",onClick:w},{default:N((()=>[r(W(Xe),{slot:"icon"})])),_:1})])])),default:N((()=>[r(l,{size:"large",shape:"circle",variant:"text"},{default:N((()=>[r(W(Ze),{slot:"icon"})])),_:1})])),_:1},8,["modelValue"])):(L(),F(h,{key:0},[r(n,{content:W(K)("pages.conversation.internet_search")},{default:N((()=>[r(l,{size:"large",shape:"circle",variant:"text",onClick:q(j,["stop"])},{default:N((()=>[r(W(Ot),{slot:"icon",style:de(ct.value)},null,8,["style"])])),_:1})])),_:1},8,["content"]),r(n,{content:W(K)("pages.conversation.stop_answering")},{default:N((()=>[r(l,{size:"large",shape:"circle",variant:"text",onClick:q(O,["stop"])},{default:N((()=>[r(W(Tt),{slot:"icon"})])),_:1})])),_:1},8,["content"]),r(n,{content:W(K)("pages.conversation.regenerate_last_conversation")},{default:N((()=>[r(l,{size:"large",shape:"circle",variant:"text",onClick:q(y,["stop"])},{default:N((()=>[r(W(qe),{slot:"icon"})])),_:1})])),_:1},8,["content"]),r(n,{content:W(K)("pages.conversation.inherit_other_model_conversation"),placement:"top"},{default:N((()=>[r(l,{size:"large",shape:"circle",variant:"text",onClick:t[1]||(t[1]=q((e=>B("")),["stop"]))},{default:N((()=>[r(W(Ft),{slot:"icon"})])),_:1})])),_:1},8,["content"]),r(o,{theme:"danger",content:W(K)("pages.conversation.confirm_delete_all_chat_records"),placement:"top",onConfirm:k},{default:N((()=>[r(n,{content:W(K)("pages.conversation.delete_all_chat_records"),placement:"top"},{default:N((()=>[r(l,{size:"large",shape:"circle",variant:"text"},{default:N((()=>[r(W(it),{slot:"icon"})])),_:1})])),_:1},8,["content"])])),_:1},8,["content"]),r(o,{theme:"warning",content:W(K)("pages.conversation.confirm_clear_all_context"),placement:"top",onConfirm:_},{default:N((()=>[r(n,{content:W(K)("pages.conversation.clear_all_context"),placement:"top"},{default:N((()=>[r(l,{size:"large",shape:"circle",variant:"text"},{default:N((()=>[r(W(dt),{slot:"icon"})])),_:1})])),_:1},8,["content"])])),_:1},8,["content"]),r(n,{content:W(K)("pages.conversation.edit_current_conversation"),placement:"top"},{default:N((()=>[r(l,{size:"large",shape:"circle",variant:"text",onClick:w},{default:N((()=>[r(W(Xe),{slot:"icon"})])),_:1})])),_:1},8,["content"])],64))])]),r(sa),r(M,{header:W(K)("pages.conversation.inherit_model_dialog"),visible:P.value,"onUpdate:visible":t[10]||(t[10]=e=>P.value=e),"on-confirm":_e,class:"extend-model"},{default:N((()=>[r(C,{class:"w-full",modelValue:I.value,"onUpdate:modelValue":t[9]||(t[9]=e=>I.value=e)},{default:N((()=>[r(p,{gutter:[16,16],class:"w-full"},{default:N((()=>[(L(!0),F(h,null,$(d.value,(e=>(L(),R(a,{span:12},{default:N((()=>[r(v,{value:e.model.id,disabled:E.value===e.model.id},{default:N((()=>[r(u,{size:"20px",class:"mr-1"},{icon:N((()=>[(L(),R(G(W(A).icons[e.model.type])))])),_:2},1024),J(" "+U(W(A).getModelItemTitle(e.model)),1)])),_:2},1032,["value","disabled"])])),_:2},1024)))),256))])),_:1})])),_:1},8,["modelValue"])])),_:1},8,["header","visible"]),r(M,{header:W(K)("pages.conversation.api_conversation_settings"),visible:we.value,"onUpdate:visible":t[14]||(t[14]=e=>we.value=e),"on-confirm":Ie},{default:N((()=>[r(T,{"label-align":"top"},{default:N((()=>[r(D,{label:W(K)("pages.conversation.api_agent"),name:"apiSettingAgent"},{default:N((()=>[r(V,{modelValue:ke.value,"onUpdate:modelValue":t[11]||(t[11]=e=>ke.value=e)},null,8,["modelValue"])])),_:1},8,["label"]),r(D,{label:W(K)("pages.conversation.api_conversation_id"),name:"apiSettingConversation"},{default:N((()=>[r(V,{modelValue:ze.value,"onUpdate:modelValue":t[12]||(t[12]=e=>ze.value=e)},null,8,["modelValue"]),r(l,{class:"ml-2",onClick:Ve},{default:N((()=>[J(U(W(K)("pages.conversation.api_conversation_id_random")),1)])),_:1})])),_:1},8,["label"]),r(D,{label:W(K)("pages.conversation.remarks"),name:"apiSettingNode"},{default:N((()=>[r(V,{modelValue:Pe.value,"onUpdate:modelValue":t[13]||(t[13]=e=>Pe.value=e)},null,8,["modelValue"])])),_:1},8,["label"])])),_:1})])),_:1},8,["header","visible"]),r(M,{header:W(K)("pages.conversation.button_tooltip_favourite"),visible:Re.value,"onUpdate:visible":t[16]||(t[16]=e=>Re.value=e),confirmBtn:null},{default:N((()=>[H("div",Ga,[H("div",Ya,[r(C,{modelValue:Ne.value,"onUpdate:modelValue":t[15]||(t[15]=e=>Ne.value=e)},{default:N((()=>[r(p,{gutter:[16,16]},{default:N((()=>[(L(!0),F(h,null,$(W(He),(e=>(L(),R(a,{span:12},{default:N((()=>[r(v,{value:e.id,class:"grid grid-flow-col auto-cols-max fav-radio fav-radio-dialog"},{default:N((()=>[J(U(e.title),1)])),_:2},1032,["value"])])),_:2},1024)))),256))])),_:1})])),_:1},8,["modelValue"])]),r(l,{onClick:Je,theme:"default",variant:"outline"},{default:N((()=>t[17]||(t[17]=[J("添加到笔记")]))),_:1}),r(l,{onClick:$e,theme:"default",variant:"outline"},{default:N((()=>t[18]||(t[18]=[J("创建新的笔记")]))),_:1})])])),_:1},8,["header","visible"])])):Y("",!0)}}});export{Qa as default}; diff --git a/.output/public/assets/content-bJk3y71L.js b/.output/public/assets/content-bJk3y71L.js new file mode 100644 index 0000000000000000000000000000000000000000..f74882ecdd00081b281fbd2bf79a6afbbd614df8 --- /dev/null +++ b/.output/public/assets/content-bJk3y71L.js @@ -0,0 +1,3 @@ +import{m as e,c as t,_ as l,e as n,A as a,s as o,b as s,a as i}from"./CodeBlocks.vue_vue_type_style_index_0_lang-CexE7E14.js";import{_ as r}from"./ChatInput.vue_vue_type_style_index_0_lang-D4A8Ko3p.js";import{d as c,b as u,H as v,I as d,J as p,j as f,w as m,o as g,c as x,e as h,x as y,p as _,q as b,s as w,$ as k,F as j,a7 as C,G as z,ab as T,ac as O,i as E,h as P,n as S,k as B,f as M,v as $,t as D,B as I,z as H,D as L,M as V,m as F,aa as R,ae as q,A as N}from"./main-DzSNOqOC.js";import{T as A}from"./index-Kxldlx3l.js";import{b as J}from"./fetch-C6zEckB6.js";import{c as U}from"./copy-CaDk54_k.js";import{_ as G}from"./index-BuIb9tIA.js";import{I as W}from"./index-pjvKxr27.js";import"./refresh-BD1L4aGQ.js";import"./v4-_R2nDvl_.js";import"./index-DmWclHlm.js";import"./debounce-DjqSSMbT.js";import"./index-CjKlnN2e.js";import"./dep-916b902f-BLs2dxx4.js";function K(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),l.push.apply(l,n)}return l}function Q(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?arguments[t]:{};t%2?K(Object(l),!0).forEach((function(t){p(e,t,l[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):K(Object(l)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(l,t))}))}return e}var X={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M15.75 2.95a2 2 0 012.83 0l2.47 2.47a2 2 0 010 2.83l-11.9 11.9-6.37 1.07 1.07-6.38 11.9-11.9zM15.52 6l2.47 2.48 1.65-1.64-2.48-2.48L15.52 6zm1.06 3.9l-2.47-2.48-8.39 8.38-.5 2.98 2.98-.5 8.38-8.39z"}}]},Y=c({name:"EditIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,t){var{attrs:l}=t,n=u((()=>e.size)),{className:a,style:o}=v(n),s=u((()=>["t-icon","t-icon-edit",a.value])),i=u((()=>Q(Q({},o.value),l.style))),r=u((()=>({class:s.value,style:i.value,onClick:t=>{var l;return null===(l=e.onClick)||void 0===l?void 0:l.call(e,{e:t})}})));return()=>d(X,r.value)}});const Z={key:0,class:"markdown-body"},ee=["innerHTML"],te={key:1},le={class:"flex justify-end mt-2 gap-5"},ne=c({__name:"NoteContent",props:{content:{type:String},isEditing:{type:Boolean,default:!1}},emits:["save","cancel"],setup(l,{emit:n}){const a=l,o=u((()=>e.render(a.content))),s=n,i=f(a.content),r=()=>{s("save",i.value)},c=()=>{i.value=a.content,s("cancel")},v=(e,t)=>{t.e.relatedTarget||c()},d=f(null);return m((()=>a.isEditing),(e=>{e&&(i.value=a.content,C((()=>{d.value.$el.querySelector("textarea").focus()})))})),(e,n)=>{const a=A,s=z;return g(),x(j,null,[l.isEditing?y("",!0):(g(),x("div",Z,[h("div",{innerHTML:o.value},null,8,ee)])),l.isEditing?(g(),x("div",te,[_(a,{ref_key:"textareaRef",ref:d,modelValue:i.value,"onUpdate:modelValue":n[0]||(n[0]=e=>i.value=e),autosize:{minRows:2,maxRows:20},onBlur:v},null,8,["modelValue"]),h("div",le,[_(s,{size:"large",shape:"circle",variant:"text",onClick:c},{default:b((()=>[_(w(k),{slot:"icon"})])),_:1}),_(s,{size:"large",shape:"circle",variant:"text",onClick:r},{default:b((()=>[_(w(t),{slot:"icon"})])),_:1})])])):y("",!0)],64)}}}),ae={class:"flex justify-between w-full"},oe={class:"flex-1"},se={key:0,class:"text-xl font-bold"},ie={class:"flex align-middle items-center gap-2"},re={class:"flex flex-1 overflow-hidden"},ce={class:"flex-1 relative h-full overflow-y-auto no-scrollbar flex flex-col gap-5"},ue={key:0,class:"flex w-full justify-end items-start gap-2 note-item"},ve={class:"flex justify-end overflow-hidden h-[24px]"},de={class:"bg-color-page bordered p-4 rounded-lg"},pe={class:"flex justify-end gap-2 note-item-tools"},fe={class:"w-[24px] h-[24px]"},me={key:1,class:"flex w-full justify-end items-start flex-row-reverse gap-2 note-item"},ge={class:"flex flex-col gap-2 w-[calc(100%-24px-1rem)]"},xe={class:"flex justify-between overflow-hidden h-[24px]"},he={class:"bg-color-page bordered p-4 rounded-lg"},ye={class:"flex justify-end gap-2 note-item-tools"},_e={class:"w-[24px] h-[24px]"},be={class:"flex w-full justify-end note-item items-start gap-2"},we={class:"flex justify-end overflow-hidden h-[24px]"},ke={class:"bg-color-page bordered p-4 rounded-lg"},je={key:0,class:"loader"},Ce={class:"flex justify-end gap-2 note-item-tools"},ze={class:"w-[24px] h-[24px]"},Te={key:0,class:"w-1/2"},Oe=c({__name:"content",setup(e){var c;const v=f(null),d=f(null),p=T(),k=O();E();const A=P(),K=f(),Q=S(),X=f(!1),Z=B();m((()=>A.query.id),(e=>{if("/note/content"!==A.path)return void(K.value=null);let t=e;K.value=k.find(t)}),{immediate:!0});const ee=u((()=>Q.showLayoutHeader&&Q.showFooter?"h-[calc(100vh-var(--td-comp-size-xxl)-var(--td-comp-size-xxxl)-2*var(--td-comp-paddingTB-m))]":Q.showLayoutHeader&&!Q.showFooter?"h-[calc(100vh-var(--td-comp-size-xxxl)-2*var(--td-comp-paddingTB-m))]":!Q.showLayoutHeader&&Q.showFooter?"h-[calc(100vh-var(--td-comp-size-xxl)-2*var(--td-comp-paddingTB-m))]":"h-[calc(100vh-2*var(--td-comp-paddingTB-m))]"));let te=null;const le=f(!1),Oe=async e=>{var t;if(e.content)if(e.content.startsWith("@")){const{name:t,content:l}=function(e){const t=e.indexOf("@");if(-1===t)return null;let l=e.indexOf(" ",t);const n=e.indexOf("(",t),a=e.indexOf(")",t);return-1!==n&&-1!==a&&a>n?l=e.indexOf(" ",a):-1===l&&(l=e.length),{name:e.substring(t+1,l).trim(),content:e.substring(l).trim()}}(e.content),n="ai"===t?Z.find(p.assistModel):Z.enableModels.find((e=>F.getModelItemTitle(e)===t));let a=l;K.value.notes.push(`# ${a}`);try{let e="";for(let t=0;t<K.value.chats.length;t++){const l=K.value.chats[t];"user"===l.role&&(e+=`<|im_start|>user\n${l.content}<|im_end|>\n`),"assistant"===l.role&&(e+=`<|im_start|>assistant\n${l.content}<|im_end|>\n`)}for(let t=0;t<K.value.notes.length;t++){e+=`<|im_start|>user\n${K.value.notes[t]}<|im_end|>`}e+=`<|im_start|>user\n${l}<|im_end|>`,te=setInterval(Ee,0),le.value=!0,await J(n,e,(e=>{le.value&&(le.value=!1),K.value.notes[K.value.notes.length-1]=`# ${a}\n`+e}))}finally{null!==te&&(clearInterval(te),te=null)}}else K.value.notes.push(e.content),t=0,C((()=>{setTimeout((()=>{var e;null==(e=v.value)||e.scrollTo({top:v.value.scrollHeight,behavior:"smooth"})}),t)}));else V.error(I("pages.note.noteEmptyError"))},Ee=async()=>{for(var e;null!==te;)await new Promise((e=>setTimeout(e,300))),null==(e=v.value)||e.scrollTo({top:v.value.scrollHeight,behavior:"instant"})},Pe=f(!1);let Se=f("");const Be=()=>{Pe.value=!1},Me=f(null),$e=f(null==(c=K.value)?void 0:c.title),De=(e,t)=>{t.e.relatedTarget||(X.value=!1)},Ie=()=>{K.value.title=$e.value,X.value=!1},He=()=>{var e;$e.value=null==(e=K.value)?void 0:e.title,X.value=!0,C((()=>{Me.value.$el.querySelector("input").focus()}))},Le=f(-1),Ve=e=>{Le.value=e},Fe=e=>{K.value.chats[Le.value].content.text=e,Le.value=-1},Re=()=>{Le.value=-1},qe=f(-1),Ne=e=>{K.value.notes[qe.value]=e,qe.value=-1},Ae=()=>{qe.value=-1},Je=()=>{navigator.clipboard.writeText(JSON.stringify(K.value)),V.success(I("pages.note.noteCopySuccess"))};return(e,c)=>{const u=W,f=z,m=R,k=q,C=N;return K.value?(g(),M(w(L),{key:0,class:$(["note-page overflow-hidden flex flex-col",[ee.value]]),"header-bordered":"",title:K.value.title,bordered:!1},{header:b((()=>[h("div",ae,[h("div",oe,[X.value?(g(),M(u,{key:1,ref_key:"inputTitleRef",ref:Me,type:"text",modelValue:$e.value,"onUpdate:modelValue":c[0]||(c[0]=e=>$e.value=e),onEnter:Ie,onBlur:De},null,8,["modelValue"])):(g(),x("h1",se,D(K.value.title),1))]),h("div",ie,[_(m,{content:w(I)("pages.note.noteRenameTooltip"),placement:"top"},{default:b((()=>[X.value?(g(),M(f,{key:1,size:"small",shape:"circle",variant:"text",onClick:Ie},{default:b((()=>[_(w(t),{slot:"icon"})])),_:1})):(g(),M(f,{key:0,size:"small",shape:"circle",variant:"text",onClick:He},{default:b((()=>[_(w(Y),{slot:"icon"})])),_:1}))])),_:1},8,["content"]),_(f,{size:"small",shape:"circle",variant:"text",onClick:Je},{default:b((()=>[_(w(U),{slot:"icon"})])),_:1})])])])),content:b((()=>[h("div",{ref_key:"scrollable_chat",ref:v,class:"h-full note-content flex flex-col gap-1 relative",onMouseupPassive:c[1]||(c[1]=//@ts-ignore +(...e)=>{var t,l;return(null==(t=d.value)?void 0:t.showToolbox)&&(null==(l=d.value)?void 0:l.showToolbox(...e))}),onMousedownPassive:c[2]||(c[2]=//@ts-ignore +(...e)=>{var t,l;return(null==(t=d.value)?void 0:t.hideToolbox)&&(null==(l=d.value)?void 0:l.hideToolbox(...e))})},[h("div",re,[h("div",ce,[(g(!0),x(j,null,H(K.value.chats,((e,t)=>(g(),x(j,null,["user"===e.role?(g(),x("div",ue,[h("div",{class:$(["flex flex-col gap-2",Le.value===t?"w-full":""])},[h("div",ve,D(w(p).name),1),h("div",de,[_(l,{content:e.content,isEditing:Le.value===t,onSave:Fe,onCancel:Re},null,8,["content","isEditing"])]),h("div",pe,[_(k,{theme:"danger",content:w(I)("pages.note.noteDeleteConfirm"),placement:"bottom",onConfirm:t=>(e=>{const t=K.value.chats.findIndex((t=>t===e));-1!==t&&K.value.chats.splice(t,2)})(e)},{default:b((()=>[_(m,{content:w(I)("pages.note.noteDeleteTooltip")},{default:b((()=>[_(f,{size:"small",variant:"outline"},{default:b((()=>[_(w(G),{slot:"icon"})])),_:1})])),_:1},8,["content"])])),_:2},1032,["content","onConfirm"]),_(m,{content:w(I)("pages.conversation.button_tooltip_editor"),placement:"bottom"},{default:b((()=>[_(f,{size:"small",variant:"outline",onClick:e=>Ve(t)},{default:b((()=>[_(w(n),{slot:"icon"})])),_:2},1032,["onClick"])])),_:2},1032,["content"])])],2),h("div",fe,[_(C,{size:"24px",image:w(p).avatar},null,8,["image"])])])):"assistant"===e.role?(g(),x("div",me,[h("div",ge,[h("div",xe,[h("div",null,D(K.value.conversationName),1)]),h("div",he,[_(a,{content:e.content,isEditing:Le.value===t,onSave:Fe,onCancel:Re},null,8,["content","isEditing"])]),h("div",ye,[_(m,{content:w(I)("pages.conversation.button_tooltip_editor"),placement:"bottom"},{default:b((()=>[_(f,{size:"small",variant:"outline",onClick:e=>Ve(t)},{default:b((()=>[_(w(n),{slot:"icon"})])),_:2},1032,["onClick"])])),_:2},1032,["content"]),_(m,{content:w(I)("pages.note.noteCopyTooltip")},{default:b((()=>[_(f,{size:"small",variant:"outline",onClick:t=>{return l=e,navigator.clipboard.writeText(l.content.text),void V.success(I("pages.note.noteCopySuccess"));var l}},{default:b((()=>[_(w(U),{slot:"icon"})])),_:2},1032,["onClick"])])),_:2},1032,["content"]),_(m,{content:w(I)("pages.conversation.toggle_artifacts")},{default:b((()=>[_(f,{size:"small",variant:"outline",onClick:t=>{var l;"assistant"===(l=e).role&&(Pe.value=!Pe.value,Pe.value&&(Se.value=l.content.text))}},{default:b((()=>[_(w(o),{slot:"icon"})])),_:2},1032,["onClick"])])),_:2},1032,["content"])])]),h("div",_e,[_(C,{size:"24px",image:K.value.conversationAvatar},null,8,["image"])])])):y("",!0)],64)))),256)),(g(!0),x(j,null,H(K.value.notes,((e,t)=>(g(),x("div",be,[h("div",{class:$(["flex flex-col gap-2 min-w-[300px]",qe.value===t?"w-full":""])},[h("div",we,D(w(p).name),1),h("div",ke,[le.value&&t===K.value.notes.length-1?(g(),x("span",je)):(g(),M(ne,{key:1,content:e,isEditing:qe.value===t,onSave:Ne,onCancel:Ae},null,8,["content","isEditing"]))]),h("div",Ce,[_(k,{theme:"danger",content:w(I)("pages.note.noteDeleteConfirm"),placement:"bottom",onConfirm:e=>(e=>{K.value.notes.splice(e,1)})(t)},{default:b((()=>[_(m,{content:w(I)("pages.note.noteDeleteTooltip")},{default:b((()=>[_(f,{size:"small",variant:"outline"},{default:b((()=>[_(w(G),{slot:"icon"})])),_:1})])),_:1},8,["content"])])),_:2},1032,["content","onConfirm"]),_(m,{content:w(I)("pages.conversation.button_tooltip_editor"),placement:"bottom"},{default:b((()=>[_(f,{size:"small",variant:"outline",onClick:e=>(e=>{qe.value=e})(t)},{default:b((()=>[_(w(n),{slot:"icon"})])),_:2},1032,["onClick"])])),_:2},1032,["content"])])],2),h("div",ze,[_(C,{size:"24px",image:w(p).avatar},null,8,["image"])])])))),256))]),Pe.value?(g(),x("div",Te,[_(s,{content:w(Se),closeBtn:Be},null,8,["content"])])):y("",!0)]),_(i,{ref_key:"toolbar",ref:d,parent:v.value},null,8,["parent"])],544)])),footer:b((()=>[_(r,{"show-upload":!1,"auto-complete-enabled":!0,placeholder:e.$t("pages.note.notePlaceholder"),onInput:Oe},null,8,["placeholder"])])),_:1},8,["class","title"])):y("",!0)}}});export{Oe as default}; diff --git a/.output/public/assets/copy-CaDk54_k.js b/.output/public/assets/copy-CaDk54_k.js new file mode 100644 index 0000000000000000000000000000000000000000..229a702314742afa4614697d2b332d8f238fe34f --- /dev/null +++ b/.output/public/assets/copy-CaDk54_k.js @@ -0,0 +1 @@ +import{d as e,b as t,H as r,I as n,J as o}from"./main-DzSNOqOC.js";function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var i={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M2 2h13v5.5h-2V4H4v9h3.5v2H2V2zm7 7h13v13H9V9zm2 2v9h9v-9h-9z"}}]},s=e({name:"CopyIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,o){var{attrs:c}=o,s=t((()=>e.size)),{className:l,style:p}=r(s),u=t((()=>["t-icon","t-icon-copy",l.value])),v=t((()=>a(a({},p.value),c.style))),y=t((()=>({class:u.value,style:v.value,onClick:t=>{var r;return null===(r=e.onClick)||void 0===r?void 0:r.call(e,{e:t})}})));return()=>n(i,y.value)}});export{s as c}; diff --git a/.output/public/assets/debounce-DjqSSMbT.js b/.output/public/assets/debounce-DjqSSMbT.js new file mode 100644 index 0000000000000000000000000000000000000000..350c9fd3c5738c5ff77369fb74629e7af64df632 --- /dev/null +++ b/.output/public/assets/debounce-DjqSSMbT.js @@ -0,0 +1 @@ +import{cy as t,cz as n,cA as r,cB as i,c1 as e}from"./main-DzSNOqOC.js";var u,o,a,f,c,v;const s=e(function(){if(v)return c;v=1;var e=i(),s=function(){if(o)return u;o=1;var n=t();return u=function(){return n.Date.now()}}(),m=function(){if(f)return a;f=1;var t=n(),e=i(),u=r(),o=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,v=/^0o[0-7]+$/i,s=parseInt;return a=function(n){if("number"==typeof n)return n;if(u(n))return NaN;if(e(n)){var r="function"==typeof n.valueOf?n.valueOf():n;n=e(r)?r+"":r}if("string"!=typeof n)return 0===n?n:+n;n=t(n);var i=c.test(n);return i||v.test(n)?s(n.slice(2),i?2:8):o.test(n)?NaN:+n}}(),d=Math.max,l=Math.min;return c=function(t,n,r){var i,u,o,a,f,c,v=0,p=!1,y=!1,T=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function x(n){var r=i,e=u;return i=u=void 0,v=n,a=t.apply(e,r)}function h(t){var r=t-c;return void 0===c||r>=n||r<0||y&&t-v>=o}function g(){var t=s();if(h(t))return N(t);f=setTimeout(g,function(t){var r=n-(t-c);return y?l(r,o-(t-v)):r}(t))}function N(t){return f=void 0,T&&i?x(t):(i=u=void 0,a)}function w(){var t=s(),r=h(t);if(i=arguments,u=this,c=t,r){if(void 0===f)return function(t){return v=t,f=setTimeout(g,n),p?x(t):a}(c);if(y)return clearTimeout(f),f=setTimeout(g,n),x(c)}return void 0===f&&(f=setTimeout(g,n)),a}return n=m(n)||0,e(r)&&(p=!!r.leading,o=(y="maxWait"in r)?d(m(r.maxWait)||0,n):o,T="trailing"in r?!!r.trailing:T),w.cancel=function(){void 0!==f&&clearTimeout(f),v=0,i=c=u=f=void 0},w.flush=function(){return void 0===f?a:N(s())},w}}());export{s as d}; diff --git a/.output/public/assets/delete-1-BqRz4NQH.js b/.output/public/assets/delete-1-BqRz4NQH.js new file mode 100644 index 0000000000000000000000000000000000000000..34d4eb60f9bad5f3c2d7f53643b0731a7aa5879c --- /dev/null +++ b/.output/public/assets/delete-1-BqRz4NQH.js @@ -0,0 +1 @@ +import{d as e,b as t,H as r,I as n,J as l}from"./main-DzSNOqOC.js";function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){l(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var c={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M7.5 1h9v3H22v2h-2.03l-.5 17H4.53l-.5-17H2V4h5.5V1zm2 3h5V3h-5v1zM6.03 6l.44 15h11.06l.44-15H6.03zm3.14 3.26L12 12.09l2.83-2.83 1.41 1.41-2.83 2.83 2.83 2.83-1.41 1.41L12 14.91l-2.83 2.83-1.41-1.41 2.83-2.83-2.83-2.83 1.41-1.41z"}}]},i=e({name:"Delete1Icon",props:{size:{type:String},onClick:{type:Function}},setup(e,l){var{attrs:o}=l,i=t((()=>e.size)),{className:s,style:p}=r(i),u=t((()=>["t-icon","t-icon-delete-1",s.value])),v=t((()=>a(a({},p.value),o.style))),O=t((()=>({class:u.value,style:v.value,onClick:t=>{var r;return null===(r=e.onClick)||void 0===r?void 0:r.call(e,{e:t})}})));return()=>n(c,O.value)}});export{i as d}; diff --git a/.output/public/assets/dep-916b902f-BLs2dxx4.js b/.output/public/assets/dep-916b902f-BLs2dxx4.js new file mode 100644 index 0000000000000000000000000000000000000000..6f20d5f2333d87c3f6ee4dc8add9e4f859406fc8 --- /dev/null +++ b/.output/public/assets/dep-916b902f-BLs2dxx4.js @@ -0,0 +1,6 @@ +import{cC as a,cD as s,cE as c,cF as r}from"./main-DzSNOqOC.js"; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function n(n){return a(n)||s(n)||c(n)||r()}export{n as _}; diff --git a/.output/public/assets/ellipsis-DKSeG7Zz.js b/.output/public/assets/ellipsis-DKSeG7Zz.js new file mode 100644 index 0000000000000000000000000000000000000000..7dba8cf553dac00bfcecc65b6809feab7553460d --- /dev/null +++ b/.output/public/assets/ellipsis-DKSeG7Zz.js @@ -0,0 +1 @@ +import{d as e,b as t,H as r,I as n,J as o}from"./main-DzSNOqOC.js";function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var l={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M3 10.5h3v3H3v-3zm7.5 0h3v3h-3v-3zm7.5 0h3v3h-3v-3z"}}]},a=e({name:"EllipsisIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,o){var{attrs:i}=o,a=t((()=>e.size)),{className:c,style:p}=r(a),u=t((()=>["t-icon","t-icon-ellipsis",c.value])),v=t((()=>s(s({},p.value),i.style))),O=t((()=>({class:u.value,style:v.value,onClick:t=>{var r;return null===(r=e.onClick)||void 0===r?void 0:r.call(e,{e:t})}})));return()=>n(l,O.value)}});export{a as e}; diff --git a/.output/public/assets/fetch-C6zEckB6.js b/.output/public/assets/fetch-C6zEckB6.js new file mode 100644 index 0000000000000000000000000000000000000000..8bbccec88d0821089725be7ca90f4c87eb5e2a8c --- /dev/null +++ b/.output/public/assets/fetch-C6zEckB6.js @@ -0,0 +1,390 @@ +var e=Object.defineProperty,t=(t,i,n)=>((t,i,n)=>i in t?e(t,i,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[i]=n)(t,"symbol"!=typeof i?i+"":i,n);import{ab as i,m as n,B as a,aN as r,aP as s,k as o}from"./main-DzSNOqOC.js";import{d as l}from"./debounce-DjqSSMbT.js";var c=Object.defineProperty,h=(e,t,i)=>((e,t,i)=>t in e?c(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i)(e,"symbol"!=typeof t?t+"":t,i);class d extends Error{constructor(e,t){super(e),h(this,"type"),h(this,"field"),h(this,"value"),h(this,"line"),this.name="ParseError",this.type=t.type,this.field=t.field,this.value=t.value,this.line=t.line}}function g(e){}function u(e){const{onEvent:t=g,onError:i=g,onRetry:n=g,onComment:a}=e;let r,s="",o=!0,l="",c="";function h(e){if(""===e)return l.length>0&&t({id:r,event:c||void 0, +// If the data buffer's last character is a U+000A LINE FEED (LF) character, +// then remove the last character from the data buffer. +data:l.endsWith("\n")?l.slice(0,-1):l}),r=void 0,l="",void(c="");if(e.startsWith(":"))return void(a&&a(e.slice(e.startsWith(": ")?2:1)));const i=e.indexOf(":");if(-1===i)u(e,"",e);else{const t=e.slice(0,i),n=" "===e[i+1]?2:1;u(t,e.slice(i+n),e)}}function u(e,t,a){switch(e){case"event":c=t;break;case"data":l=`${l}${t}\n`;break;case"id":r=t.includes("\0")?void 0:t;break;case"retry":/^\d+$/.test(t)?n(parseInt(t,10)):i(new d(`Invalid \`retry\` value: "${t}"`,{type:"invalid-retry",value:t,line:a}));break;default:i(new d(`Unknown field "${e.length>20?`${e.slice(0,20)}…`:e}"`,{type:"unknown-field",field:e,value:t,line:a}))}}return{feed:function(e){const t=o?e.replace(/^\xEF\xBB\xBF/,""):e,[i,n]=function(e){const t=[];let i="";const n=e.length;for(let a=0;a<n;a++){const n=e[a];"\r"===n&&"\n"===e[a+1]?(t.push(i),i="",a++):"\r"===n||"\n"===n?(t.push(i),i=""):i+=n}return[t,i]}(`${s}${t}`);for(const a of i)h(a);s=n,o=!1},reset:function(e={}){s&&e.consume&&h(s),r=void 0,l="",c="",s=""}}}class m extends TransformStream{constructor({onError:e,onRetry:t,onComment:i}={}){let n;super({start(a){n=u({onEvent:e=>{a.enqueue(e)},onError(t){"terminate"===e?a.error(t):"function"==typeof e&&e(t)},onRetry:t,onComment:i})},transform(e){n.feed(e)}})}}var p,f={exports:{}};var _,N,b,E={exports:{}};var y=function(){if(b)return N;b=1;var e=(p||(p=1,function(e){function t(e,t){if(t&&t.documentElement)e=t,t=arguments[2];else if(!e||!e.documentElement)throw new Error("First argument to Readability constructor should be a document object.");if(t=t||{},this._doc=e,this._docJSDOMParser=this._doc.firstChild.__JSDOMParser__,this._articleTitle=null,this._articleByline=null,this._articleDir=null,this._articleSiteName=null,this._attempts=[],this._debug=!!t.debug,this._maxElemsToParse=t.maxElemsToParse||this.DEFAULT_MAX_ELEMS_TO_PARSE,this._nbTopCandidates=t.nbTopCandidates||this.DEFAULT_N_TOP_CANDIDATES,this._charThreshold=t.charThreshold||this.DEFAULT_CHAR_THRESHOLD,this._classesToPreserve=this.CLASSES_TO_PRESERVE.concat(t.classesToPreserve||[]),this._keepClasses=!!t.keepClasses,this._serializer=t.serializer||function(e){return e.innerHTML},this._disableJSONLD=!!t.disableJSONLD,this._allowedVideoRegex=t.allowedVideoRegex||this.REGEXPS.videos,this._flags=this.FLAG_STRIP_UNLIKELYS|this.FLAG_WEIGHT_CLASSES|this.FLAG_CLEAN_CONDITIONALLY,this._debug){let e=function(e){if(e.nodeType==e.TEXT_NODE)return`${e.nodeName} ("${e.textContent}")`;let t=Array.from(e.attributes||[],(function(e){return`${e.name}="${e.value}"`})).join(" ");return`<${e.localName} ${t}>`};this.log=function(){if("undefined"!=typeof console)Array.from(arguments,(t=>t&&t.nodeType==this.ELEMENT_NODE?e(t):t)).unshift("Reader: (Readability)");else if("undefined"!=typeof dump){var t=Array.prototype.map.call(arguments,(function(t){return t&&t.nodeName?e(t):t})).join(" ");dump("Reader: (Readability) "+t+"\n")}}}else this.log=function(){}}t.prototype={FLAG_STRIP_UNLIKELYS:1,FLAG_WEIGHT_CLASSES:2,FLAG_CLEAN_CONDITIONALLY:4, +// https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeType +ELEMENT_NODE:1,TEXT_NODE:3, +// Max number of nodes supported by this parser. Default: 0 (no limit) +DEFAULT_MAX_ELEMS_TO_PARSE:0, +// The number of top candidates to consider when analysing how +// tight the competition is among candidates. +DEFAULT_N_TOP_CANDIDATES:5, +// Element tags to score by default. +DEFAULT_TAGS_TO_SCORE:"section,h2,h3,h4,h5,h6,p,td,pre".toUpperCase().split(","), +// The default number of chars an article must have in order to return a result +DEFAULT_CHAR_THRESHOLD:500, +// All of the regular expressions in use within readability. +// Defined up here so we don't instantiate them repeatedly in loops. +REGEXPS:{ +// NOTE: These two regular expressions are duplicated in +// Readability-readerable.js. Please keep both copies in sync. +unlikelyCandidates:/-ad-|ai2html|banner|breadcrumbs|combx|comment|community|cover-wrap|disqus|extra|footer|gdpr|header|legends|menu|related|remark|replies|rss|shoutbox|sidebar|skyscraper|social|sponsor|supplemental|ad-break|agegate|pagination|pager|popup|yom-remote/i,okMaybeItsACandidate:/and|article|body|column|content|main|shadow/i,positive:/article|body|content|entry|hentry|h-entry|main|page|pagination|post|text|blog|story/i,negative:/-ad-|hidden|^hid$| hid$| hid |^hid |banner|combx|comment|com-|contact|foot|footer|footnote|gdpr|masthead|media|meta|outbrain|promo|related|scroll|share|shoutbox|sidebar|skyscraper|sponsor|shopping|tags|tool|widget/i,extraneous:/print|archive|comment|discuss|e[\-]?mail|share|reply|all|login|sign|single|utility/i,byline:/byline|author|dateline|writtenby|p-author/i,replaceFonts:/<(\/?)font[^>]*>/gi,normalize:/\s{2,}/g,videos:/\/\/(www\.)?((dailymotion|youtube|youtube-nocookie|player\.vimeo|v\.qq)\.com|(archive|upload\.wikimedia)\.org|player\.twitch\.tv)/i,shareElements:/(\b|_)(share|sharedaddy)(\b|_)/i,nextLink:/(next|weiter|continue|>([^\|]|$)|»([^\|]|$))/i,prevLink:/(prev|earl|old|new|<|«)/i,tokenize:/\W+/g,whitespace:/^\s*$/,hasContent:/\S$/,hashUrl:/^#.+/,srcsetUrl:/(\S+)(\s+[\d.]+[xw])?(\s*(?:,|$))/g,b64DataUrl:/^data:\s*([^\s;,]+)\s*;\s*base64\s*,/i, +// Commas as used in Latin, Sindhi, Chinese and various other scripts. +// see: https://en.wikipedia.org/wiki/Comma#Comma_variants +commas:/\u002C|\u060C|\uFE50|\uFE10|\uFE11|\u2E41|\u2E34|\u2E32|\uFF0C/g, +// See: https://schema.org/Article +jsonLdArticleTypes:/^Article|AdvertiserContentArticle|NewsArticle|AnalysisNewsArticle|AskPublicNewsArticle|BackgroundNewsArticle|OpinionNewsArticle|ReportageNewsArticle|ReviewNewsArticle|Report|SatiricalArticle|ScholarlyArticle|MedicalScholarlyArticle|SocialMediaPosting|BlogPosting|LiveBlogPosting|DiscussionForumPosting|TechArticle|APIReference$/},UNLIKELY_ROLES:["menu","menubar","complementary","navigation","alert","alertdialog","dialog"],DIV_TO_P_ELEMS:new Set(["BLOCKQUOTE","DL","DIV","IMG","OL","P","PRE","TABLE","UL"]),ALTER_TO_DIV_EXCEPTIONS:["DIV","ARTICLE","SECTION","P"],PRESENTATIONAL_ATTRIBUTES:["align","background","bgcolor","border","cellpadding","cellspacing","frame","hspace","rules","style","valign","vspace"],DEPRECATED_SIZE_ATTRIBUTE_ELEMS:["TABLE","TH","TD","HR","PRE"], +// The commented out elements qualify as phrasing content but tend to be +// removed by readability when put into paragraphs, so we ignore them here. +PHRASING_ELEMS:[ +// "CANVAS", "IFRAME", "SVG", "VIDEO", +"ABBR","AUDIO","B","BDO","BR","BUTTON","CITE","CODE","DATA","DATALIST","DFN","EM","EMBED","I","IMG","INPUT","KBD","LABEL","MARK","MATH","METER","NOSCRIPT","OBJECT","OUTPUT","PROGRESS","Q","RUBY","SAMP","SCRIPT","SELECT","SMALL","SPAN","STRONG","SUB","SUP","TEXTAREA","TIME","VAR","WBR"], +// These are the classes that readability sets itself. +CLASSES_TO_PRESERVE:["page"], +// These are the list of HTML entities that need to be escaped. +HTML_ESCAPE_MAP:{lt:"<",gt:">",amp:"&",quot:'"',apos:"'"}, +/** + * Run any post-process modifications to article content as necessary. + * + * @param Element + * @return void + **/ +_postProcessContent:function(e){this._fixRelativeUris(e),this._simplifyNestedElements(e),this._keepClasses||this._cleanClasses(e)}, +/** + * Iterates over a NodeList, calls `filterFn` for each node and removes node + * if function returned `true`. + * + * If function is not passed, removes all the nodes in node list. + * + * @param NodeList nodeList The nodes to operate on + * @param Function filterFn the function to use as a filter + * @return void + */ +_removeNodes:function(e,t){if(this._docJSDOMParser&&e._isLiveNodeList)throw new Error("Do not pass live node lists to _removeNodes");for(var i=e.length-1;i>=0;i--){var n=e[i],a=n.parentNode;a&&(t&&!t.call(this,n,i,e)||a.removeChild(n))}}, +/** + * Iterates over a NodeList, and calls _setNodeTag for each node. + * + * @param NodeList nodeList The nodes to operate on + * @param String newTagName the new tag name to use + * @return void + */ +_replaceNodeTags:function(e,t){if(this._docJSDOMParser&&e._isLiveNodeList)throw new Error("Do not pass live node lists to _replaceNodeTags");for(const i of e)this._setNodeTag(i,t)}, +/** + * Iterate over a NodeList, which doesn't natively fully implement the Array + * interface. + * + * For convenience, the current object context is applied to the provided + * iterate function. + * + * @param NodeList nodeList The NodeList. + * @param Function fn The iterate function. + * @return void + */ +_forEachNode:function(e,t){Array.prototype.forEach.call(e,t,this)}, +/** + * Iterate over a NodeList, and return the first node that passes + * the supplied test function + * + * For convenience, the current object context is applied to the provided + * test function. + * + * @param NodeList nodeList The NodeList. + * @param Function fn The test function. + * @return void + */ +_findNode:function(e,t){return Array.prototype.find.call(e,t,this)}, +/** + * Iterate over a NodeList, return true if any of the provided iterate + * function calls returns true, false otherwise. + * + * For convenience, the current object context is applied to the + * provided iterate function. + * + * @param NodeList nodeList The NodeList. + * @param Function fn The iterate function. + * @return Boolean + */ +_someNode:function(e,t){return Array.prototype.some.call(e,t,this)}, +/** + * Iterate over a NodeList, return true if all of the provided iterate + * function calls return true, false otherwise. + * + * For convenience, the current object context is applied to the + * provided iterate function. + * + * @param NodeList nodeList The NodeList. + * @param Function fn The iterate function. + * @return Boolean + */ +_everyNode:function(e,t){return Array.prototype.every.call(e,t,this)}, +/** + * Concat all nodelists passed as arguments. + * + * @return ...NodeList + * @return Array + */ +_concatNodeLists:function(){var e=Array.prototype.slice,t=e.call(arguments).map((function(t){return e.call(t)}));return Array.prototype.concat.apply([],t)},_getAllNodesWithTag:function(e,t){return e.querySelectorAll?e.querySelectorAll(t.join(",")):[].concat.apply([],t.map((function(t){var i=e.getElementsByTagName(t);return Array.isArray(i)?i:Array.from(i)})))}, +/** + * Removes the class="" attribute from every element in the given + * subtree, except those that match CLASSES_TO_PRESERVE and + * the classesToPreserve array from the options object. + * + * @param Element + * @return void + */ +_cleanClasses:function(e){var t=this._classesToPreserve,i=(e.getAttribute("class")||"").split(/\s+/).filter((function(e){return-1!=t.indexOf(e)})).join(" ");for(i?e.setAttribute("class",i):e.removeAttribute("class"),e=e.firstElementChild;e;e=e.nextElementSibling)this._cleanClasses(e)}, +/** + * Converts each <a> and <img> uri in the given element to an absolute URI, + * ignoring #ref URIs. + * + * @param Element + * @return void + */ +_fixRelativeUris:function(e){var t=this._doc.baseURI,i=this._doc.documentURI;function n(e){if(t==i&&"#"==e.charAt(0))return e;try{return new URL(e,t).href}catch(n){}return e}var a=this._getAllNodesWithTag(e,["a"]);this._forEachNode(a,(function(e){var t=e.getAttribute("href");if(t)if(0===t.indexOf("javascript:"))if(1===e.childNodes.length&&e.childNodes[0].nodeType===this.TEXT_NODE){var i=this._doc.createTextNode(e.textContent);e.parentNode.replaceChild(i,e)}else{for(var a=this._doc.createElement("span");e.firstChild;)a.appendChild(e.firstChild);e.parentNode.replaceChild(a,e)}else e.setAttribute("href",n(t))}));var r=this._getAllNodesWithTag(e,["img","picture","figure","video","audio","source"]);this._forEachNode(r,(function(e){var t=e.getAttribute("src"),i=e.getAttribute("poster"),a=e.getAttribute("srcset");if(t&&e.setAttribute("src",n(t)),i&&e.setAttribute("poster",n(i)),a){var r=a.replace(this.REGEXPS.srcsetUrl,(function(e,t,i,a){return n(t)+(i||"")+a}));e.setAttribute("srcset",r)}}))},_simplifyNestedElements:function(e){for(var t=e;t;){if(t.parentNode&&["DIV","SECTION"].includes(t.tagName)&&(!t.id||!t.id.startsWith("readability"))){if(this._isElementWithoutContent(t)){t=this._removeAndGetNext(t);continue}if(this._hasSingleTagInsideElement(t,"DIV")||this._hasSingleTagInsideElement(t,"SECTION")){for(var i=t.children[0],n=0;n<t.attributes.length;n++)i.setAttribute(t.attributes[n].name,t.attributes[n].value);t.parentNode.replaceChild(i,t),t=i;continue}}t=this._getNextNode(t)}}, +/** + * Get the article title as an H1. + * + * @return string + **/ +_getArticleTitle:function(){var e=this._doc,t="",i="";try{"string"!=typeof(t=i=e.title.trim())&&(t=i=this._getInnerText(e.getElementsByTagName("title")[0]))}catch(c){}var n=!1;function a(e){return e.split(/\s+/).length}if(/ [\|\-\\\/>»] /.test(t))n=/ [\\\/>»] /.test(t),a(t=i.replace(/(.*)[\|\-\\\/>»] .*/gi,"$1"))<3&&(t=i.replace(/[^\|\-\\\/>»]*[\|\-\\\/>»](.*)/gi,"$1"));else if(-1!==t.indexOf(": ")){var r=this._concatNodeLists(e.getElementsByTagName("h1"),e.getElementsByTagName("h2")),s=t.trim();this._someNode(r,(function(e){return e.textContent.trim()===s}))||(a(t=i.substring(i.lastIndexOf(":")+1))<3?t=i.substring(i.indexOf(":")+1):a(i.substr(0,i.indexOf(":")))>5&&(t=i))}else if(t.length>150||t.length<15){var o=e.getElementsByTagName("h1");1===o.length&&(t=this._getInnerText(o[0]))}var l=a(t=t.trim().replace(this.REGEXPS.normalize," "));return l<=4&&(!n||l!=a(i.replace(/[\|\-\\\/>»]+/g,""))-1)&&(t=i),t}, +/** + * Prepare the HTML document for readability to scrape it. + * This includes things like stripping javascript, CSS, and handling terrible markup. + * + * @return void + **/ +_prepDocument:function(){var e=this._doc;this._removeNodes(this._getAllNodesWithTag(e,["style"])),e.body&&this._replaceBrs(e.body),this._replaceNodeTags(this._getAllNodesWithTag(e,["font"]),"SPAN")}, +/** + * Finds the next node, starting from the given node, and ignoring + * whitespace in between. If the given node is an element, the same node is + * returned. + */ +_nextNode:function(e){for(var t=e;t&&t.nodeType!=this.ELEMENT_NODE&&this.REGEXPS.whitespace.test(t.textContent);)t=t.nextSibling;return t}, +/** + * Replaces 2 or more successive <br> elements with a single <p>. + * Whitespace between <br> elements are ignored. For example: + * <div>foo<br>bar<br> <br><br>abc</div> + * will become: + * <div>foo<br>bar<p>abc</p></div> + */ +_replaceBrs:function(e){this._forEachNode(this._getAllNodesWithTag(e,["br"]),(function(e){for(var t=e.nextSibling,i=!1;(t=this._nextNode(t))&&"BR"==t.tagName;){i=!0;var n=t.nextSibling;t.parentNode.removeChild(t),t=n}if(i){var a=this._doc.createElement("p");for(e.parentNode.replaceChild(a,e),t=a.nextSibling;t;){if("BR"==t.tagName){var r=this._nextNode(t.nextSibling);if(r&&"BR"==r.tagName)break}if(!this._isPhrasingContent(t))break;var s=t.nextSibling;a.appendChild(t),t=s}for(;a.lastChild&&this._isWhitespace(a.lastChild);)a.removeChild(a.lastChild);"P"===a.parentNode.tagName&&this._setNodeTag(a.parentNode,"DIV")}}))},_setNodeTag:function(e,t){if(this.log("_setNodeTag",e,t),this._docJSDOMParser)return e.localName=t.toLowerCase(),e.tagName=t.toUpperCase(),e;for(var i=e.ownerDocument.createElement(t);e.firstChild;)i.appendChild(e.firstChild);e.parentNode.replaceChild(i,e),e.readability&&(i.readability=e.readability);for(var n=0;n<e.attributes.length;n++)try{i.setAttribute(e.attributes[n].name,e.attributes[n].value)}catch(a){}return i}, +/** + * Prepare the article node for display. Clean out any inline styles, + * iframes, forms, strip extraneous <p> tags, etc. + * + * @param Element + * @return void + **/ +_prepArticle:function(e){this._cleanStyles(e),this._markDataTables(e),this._fixLazyImages(e),this._cleanConditionally(e,"form"),this._cleanConditionally(e,"fieldset"),this._clean(e,"object"),this._clean(e,"embed"),this._clean(e,"footer"),this._clean(e,"link"),this._clean(e,"aside");var t=this.DEFAULT_CHAR_THRESHOLD;this._forEachNode(e.children,(function(e){this._cleanMatchedNodes(e,(function(e,i){return this.REGEXPS.shareElements.test(i)&&e.textContent.length<t}))})),this._clean(e,"iframe"),this._clean(e,"input"),this._clean(e,"textarea"),this._clean(e,"select"),this._clean(e,"button"),this._cleanHeaders(e),this._cleanConditionally(e,"table"),this._cleanConditionally(e,"ul"),this._cleanConditionally(e,"div"),this._replaceNodeTags(this._getAllNodesWithTag(e,["h1"]),"h2"),this._removeNodes(this._getAllNodesWithTag(e,["p"]),(function(e){return 0===e.getElementsByTagName("img").length+e.getElementsByTagName("embed").length+e.getElementsByTagName("object").length+e.getElementsByTagName("iframe").length&&!this._getInnerText(e,!1)})),this._forEachNode(this._getAllNodesWithTag(e,["br"]),(function(e){var t=this._nextNode(e.nextSibling);t&&"P"==t.tagName&&e.parentNode.removeChild(e)})),this._forEachNode(this._getAllNodesWithTag(e,["table"]),(function(e){var t=this._hasSingleTagInsideElement(e,"TBODY")?e.firstElementChild:e;if(this._hasSingleTagInsideElement(t,"TR")){var i=t.firstElementChild;if(this._hasSingleTagInsideElement(i,"TD")){var n=i.firstElementChild;n=this._setNodeTag(n,this._everyNode(n.childNodes,this._isPhrasingContent)?"P":"DIV"),e.parentNode.replaceChild(n,e)}}}))}, +/** + * Initialize a node with the readability object. Also checks the + * className/id for special names to add to its score. + * + * @param Element + * @return void + **/ +_initializeNode:function(e){switch(e.readability={contentScore:0},e.tagName){case"DIV":e.readability.contentScore+=5;break;case"PRE":case"TD":case"BLOCKQUOTE":e.readability.contentScore+=3;break;case"ADDRESS":case"OL":case"UL":case"DL":case"DD":case"DT":case"LI":case"FORM":e.readability.contentScore-=3;break;case"H1":case"H2":case"H3":case"H4":case"H5":case"H6":case"TH":e.readability.contentScore-=5}e.readability.contentScore+=this._getClassWeight(e)},_removeAndGetNext:function(e){var t=this._getNextNode(e,!0);return e.parentNode.removeChild(e),t}, +/** + * Traverse the DOM from node to node, starting at the node passed in. + * Pass true for the second parameter to indicate this node itself + * (and its kids) are going away, and we want the next node over. + * + * Calling this in a loop will traverse the DOM depth-first. + */ +_getNextNode:function(e,t){if(!t&&e.firstElementChild)return e.firstElementChild;if(e.nextElementSibling)return e.nextElementSibling;do{e=e.parentNode}while(e&&!e.nextElementSibling);return e&&e.nextElementSibling}, +// compares second text to first one +// 1 = same text, 0 = completely different text +// works the way that it splits both texts into words and then finds words that are unique in second text +// the result is given by the lower length of unique parts +_textSimilarity:function(e,t){var i=e.toLowerCase().split(this.REGEXPS.tokenize).filter(Boolean),n=t.toLowerCase().split(this.REGEXPS.tokenize).filter(Boolean);return i.length&&n.length?1-n.filter((e=>!i.includes(e))).join(" ").length/n.join(" ").length:0},_checkByline:function(e,t){if(this._articleByline)return!1;if(void 0!==e.getAttribute)var i=e.getAttribute("rel"),n=e.getAttribute("itemprop");return!(!("author"===i||n&&-1!==n.indexOf("author")||this.REGEXPS.byline.test(t))||!this._isValidByline(e.textContent)||(this._articleByline=e.textContent.trim(),0))},_getNodeAncestors:function(e,t){t=t||0;for(var i=0,n=[];e.parentNode&&(n.push(e.parentNode),!t||++i!==t);)e=e.parentNode;return n}, +/*** + * grabArticle - Using a variety of metrics (content score, classname, element types), find the content that is + * most likely to be the stuff a user wants to read. Then return it wrapped up in a div. + * + * @param page a document to run upon. Needs to be a full document, complete with body. + * @return Element + **/ +_grabArticle:function(e){this.log("**** grabArticle ****");var t=this._doc,i=null!==e;if(!(e=e||this._doc.body))return this.log("No body found in document. Abort."),null;for(var n=e.innerHTML;;){this.log("Starting grabArticle loop");var a=this._flagIsActive(this.FLAG_STRIP_UNLIKELYS),r=[],s=this._doc.documentElement;let X=!0;for(;s;){"HTML"===s.tagName&&(this._articleLang=s.getAttribute("lang"));var o=s.className+" "+s.id;if(this._isProbablyVisible(s))if("true"!=s.getAttribute("aria-modal")||"dialog"!=s.getAttribute("role"))if(this._checkByline(s,o))s=this._removeAndGetNext(s);else if(X&&this._headerDuplicatesTitle(s))this.log("Removing header: ",s.textContent.trim(),this._articleTitle.trim()),X=!1,s=this._removeAndGetNext(s);else{if(a){if(this.REGEXPS.unlikelyCandidates.test(o)&&!this.REGEXPS.okMaybeItsACandidate.test(o)&&!this._hasAncestorTag(s,"table")&&!this._hasAncestorTag(s,"code")&&"BODY"!==s.tagName&&"A"!==s.tagName){this.log("Removing unlikely candidate - "+o),s=this._removeAndGetNext(s);continue}if(this.UNLIKELY_ROLES.includes(s.getAttribute("role"))){this.log("Removing content with role "+s.getAttribute("role")+" - "+o),s=this._removeAndGetNext(s);continue}}if("DIV"!==s.tagName&&"SECTION"!==s.tagName&&"HEADER"!==s.tagName&&"H1"!==s.tagName&&"H2"!==s.tagName&&"H3"!==s.tagName&&"H4"!==s.tagName&&"H5"!==s.tagName&&"H6"!==s.tagName||!this._isElementWithoutContent(s)){if(-1!==this.DEFAULT_TAGS_TO_SCORE.indexOf(s.tagName)&&r.push(s),"DIV"===s.tagName){for(var l=null,c=s.firstChild;c;){var h=c.nextSibling;if(this._isPhrasingContent(c))null!==l?l.appendChild(c):this._isWhitespace(c)||(l=t.createElement("p"),s.replaceChild(l,c),l.appendChild(c));else if(null!==l){for(;l.lastChild&&this._isWhitespace(l.lastChild);)l.removeChild(l.lastChild);l=null}c=h}if(this._hasSingleTagInsideElement(s,"P")&&this._getLinkDensity(s)<.25){var d=s.children[0];s.parentNode.replaceChild(d,s),s=d,r.push(s)}else this._hasChildBlockElement(s)||(s=this._setNodeTag(s,"P"),r.push(s))}s=this._getNextNode(s)}else s=this._removeAndGetNext(s)}else s=this._removeAndGetNext(s);else this.log("Removing hidden node - "+o),s=this._removeAndGetNext(s)}var g=[];this._forEachNode(r,(function(e){if(e.parentNode&&void 0!==e.parentNode.tagName){var t=this._getInnerText(e);if(!(t.length<25)){var i=this._getNodeAncestors(e,5);if(0!==i.length){var n=0;n+=1,n+=t.split(this.REGEXPS.commas).length,n+=Math.min(Math.floor(t.length/100),3),this._forEachNode(i,(function(e,t){if(e.tagName&&e.parentNode&&void 0!==e.parentNode.tagName){if(void 0===e.readability&&(this._initializeNode(e),g.push(e)),0===t)var i=1;else i=1===t?2:3*t;e.readability.contentScore+=n/i}}))}}}}));for(var u=[],m=0,p=g.length;m<p;m+=1){var f=g[m],_=f.readability.contentScore*(1-this._getLinkDensity(f));f.readability.contentScore=_,this.log("Candidate:",f,"with score "+_);for(var N=0;N<this._nbTopCandidates;N++){var b=u[N];if(!b||_>b.readability.contentScore){u.splice(N,0,f),u.length>this._nbTopCandidates&&u.pop();break}}}var E,y=u[0]||null,v=!1;if(null===y||"BODY"===y.tagName){for(y=t.createElement("DIV"),v=!0;e.firstChild;)this.log("Moving child out:",e.firstChild),y.appendChild(e.firstChild);e.appendChild(y),this._initializeNode(y)}else if(y){for(var T=[],A=1;A<u.length;A++)u[A].readability.contentScore/y.readability.contentScore>=.75&&T.push(this._getNodeAncestors(u[A]));if(T.length>=3)for(E=y.parentNode;"BODY"!==E.tagName;){for(var S=0,C=0;C<T.length&&S<3;C++)S+=Number(T[C].includes(E));if(S>=3){y=E;break}E=E.parentNode}y.readability||this._initializeNode(y),E=y.parentNode;for(var x=y.readability.contentScore,L=x/3;"BODY"!==E.tagName;)if(E.readability){var w=E.readability.contentScore;if(w<L)break;if(w>x){y=E;break}x=E.readability.contentScore,E=E.parentNode}else E=E.parentNode;for(E=y.parentNode;"BODY"!=E.tagName&&1==E.children.length;)E=(y=E).parentNode;y.readability||this._initializeNode(y)}var I=t.createElement("DIV");i&&(I.id="readability-content");for(var R=Math.max(10,.2*y.readability.contentScore),D=(E=y.parentNode).children,O=0,P=D.length;O<P;O++){var k=D[O],B=!1;if(this.log("Looking at sibling node:",k,k.readability?"with score "+k.readability.contentScore:""),this.log("Sibling has score",k.readability?k.readability.contentScore:"Unknown"),k===y)B=!0;else{var M=0;if(k.className===y.className&&""!==y.className&&(M+=.2*y.readability.contentScore),k.readability&&k.readability.contentScore+M>=R)B=!0;else if("P"===k.nodeName){var G=this._getLinkDensity(k),U=this._getInnerText(k),H=U.length;(H>80&&G<.25||H<80&&H>0&&0===G&&-1!==U.search(/\.( |$)/))&&(B=!0)}}B&&(this.log("Appending node:",k),-1===this.ALTER_TO_DIV_EXCEPTIONS.indexOf(k.nodeName)&&(this.log("Altering sibling:",k,"to div."),k=this._setNodeTag(k,"DIV")),I.appendChild(k),D=E.children,O-=1,P-=1)}if(this._debug&&this.log("Article content pre-prep: "+I.innerHTML),this._prepArticle(I),this._debug&&this.log("Article content post-prep: "+I.innerHTML),v)y.id="readability-page-1",y.className="page";else{var W=t.createElement("DIV");for(W.id="readability-page-1",W.className="page";I.firstChild;)W.appendChild(I.firstChild);I.appendChild(W)}this._debug&&this.log("Article content after paging: "+I.innerHTML);var j=!0,$=this._getInnerText(I,!0).length;if($<this._charThreshold)if(j=!1,e.innerHTML=n,this._flagIsActive(this.FLAG_STRIP_UNLIKELYS))this._removeFlag(this.FLAG_STRIP_UNLIKELYS),this._attempts.push({articleContent:I,textLength:$});else if(this._flagIsActive(this.FLAG_WEIGHT_CLASSES))this._removeFlag(this.FLAG_WEIGHT_CLASSES),this._attempts.push({articleContent:I,textLength:$});else if(this._flagIsActive(this.FLAG_CLEAN_CONDITIONALLY))this._removeFlag(this.FLAG_CLEAN_CONDITIONALLY),this._attempts.push({articleContent:I,textLength:$});else{if(this._attempts.push({articleContent:I,textLength:$}),this._attempts.sort((function(e,t){return t.textLength-e.textLength})),!this._attempts[0].textLength)return null;I=this._attempts[0].articleContent,j=!0}if(j){var F=[E,y].concat(this._getNodeAncestors(E));return this._someNode(F,(function(e){if(!e.tagName)return!1;var t=e.getAttribute("dir");return!!t&&(this._articleDir=t,!0)})),I}}}, +/** + * Check whether the input string could be a byline. + * This verifies that the input is a string, and that the length + * is less than 100 chars. + * + * @param possibleByline {string} - a string to check whether its a byline. + * @return Boolean - whether the input string is a byline. + */ +_isValidByline:function(e){return("string"==typeof e||e instanceof String)&&(e=e.trim()).length>0&&e.length<100}, +/** + * Converts some of the common HTML entities in string to their corresponding characters. + * + * @param str {string} - a string to unescape. + * @return string without HTML entity. + */ +_unescapeHtmlEntities:function(e){if(!e)return e;var t=this.HTML_ESCAPE_MAP;return e.replace(/&(quot|amp|apos|lt|gt);/g,(function(e,i){return t[i]})).replace(/&#(?:x([0-9a-z]{1,4})|([0-9]{1,4}));/gi,(function(e,t,i){var n=parseInt(t||i,t?16:10);return String.fromCharCode(n)}))}, +/** + * Try to extract metadata from JSON-LD object. + * For now, only Schema.org objects of type Article or its subtypes are supported. + * @return Object with any metadata that could be extracted (possibly none) + */ +_getJSONLD:function(e){var t,i=this._getAllNodesWithTag(e,["script"]);return this._forEachNode(i,(function(e){if(!t&&"application/ld+json"===e.getAttribute("type"))try{var i=e.textContent.replace(/^\s*<!\[CDATA\[|\]\]>\s*$/g,""),n=JSON.parse(i);if(!n["@context"]||!n["@context"].match(/^https?\:\/\/schema\.org$/))return;if(!n["@type"]&&Array.isArray(n["@graph"])&&(n=n["@graph"].find((function(e){return(e["@type"]||"").match(this.REGEXPS.jsonLdArticleTypes)}))),!n||!n["@type"]||!n["@type"].match(this.REGEXPS.jsonLdArticleTypes))return;if(t={},"string"==typeof n.name&&"string"==typeof n.headline&&n.name!==n.headline){var a=this._getArticleTitle(),r=this._textSimilarity(n.name,a)>.75,s=this._textSimilarity(n.headline,a)>.75;t.title=s&&!r?n.headline:n.name}else"string"==typeof n.name?t.title=n.name.trim():"string"==typeof n.headline&&(t.title=n.headline.trim());return n.author&&("string"==typeof n.author.name?t.byline=n.author.name.trim():Array.isArray(n.author)&&n.author[0]&&"string"==typeof n.author[0].name&&(t.byline=n.author.filter((function(e){return e&&"string"==typeof e.name})).map((function(e){return e.name.trim()})).join(", "))),"string"==typeof n.description&&(t.excerpt=n.description.trim()),n.publisher&&"string"==typeof n.publisher.name&&(t.siteName=n.publisher.name.trim()),void("string"==typeof n.datePublished&&(t.datePublished=n.datePublished.trim()))}catch(o){this.log(o.message)}})),t||{}}, +/** + * Attempts to get excerpt and byline metadata for the article. + * + * @param {Object} jsonld — object containing any metadata that + * could be extracted from JSON-LD object. + * + * @return Object with optional "excerpt" and "byline" properties + */ +_getArticleMetadata:function(e){var t={},i={},n=this._doc.getElementsByTagName("meta"),a=/\s*(article|dc|dcterm|og|twitter)\s*:\s*(author|creator|description|published_time|title|site_name)\s*/gi,r=/^\s*(?:(dc|dcterm|og|twitter|weibo:(article|webpage))\s*[\.:]\s*)?(author|creator|description|title|site_name)\s*$/i;return this._forEachNode(n,(function(e){var t=e.getAttribute("name"),n=e.getAttribute("property"),s=e.getAttribute("content");if(s){var o=null,l=null;n&&(o=n.match(a))&&(l=o[0].toLowerCase().replace(/\s/g,""),i[l]=s.trim()),!o&&t&&r.test(t)&&(l=t,s&&(l=l.toLowerCase().replace(/\s/g,"").replace(/\./g,":"),i[l]=s.trim()))}})),t.title=e.title||i["dc:title"]||i["dcterm:title"]||i["og:title"]||i["weibo:article:title"]||i["weibo:webpage:title"]||i.title||i["twitter:title"],t.title||(t.title=this._getArticleTitle()),t.byline=e.byline||i["dc:creator"]||i["dcterm:creator"]||i.author,t.excerpt=e.excerpt||i["dc:description"]||i["dcterm:description"]||i["og:description"]||i["weibo:article:description"]||i["weibo:webpage:description"]||i.description||i["twitter:description"],t.siteName=e.siteName||i["og:site_name"],t.publishedTime=e.datePublished||i["article:published_time"]||null,t.title=this._unescapeHtmlEntities(t.title),t.byline=this._unescapeHtmlEntities(t.byline),t.excerpt=this._unescapeHtmlEntities(t.excerpt),t.siteName=this._unescapeHtmlEntities(t.siteName),t.publishedTime=this._unescapeHtmlEntities(t.publishedTime),t}, +/** + * Check if node is image, or if node contains exactly only one image + * whether as a direct child or as its descendants. + * + * @param Element + **/ +_isSingleImage:function(e){return"IMG"===e.tagName||1===e.children.length&&""===e.textContent.trim()&&this._isSingleImage(e.children[0])}, +/** + * Find all <noscript> that are located after <img> nodes, and which contain only one + * <img> element. Replace the first image with the image from inside the <noscript> tag, + * and remove the <noscript> tag. This improves the quality of the images we use on + * some sites (e.g. Medium). + * + * @param Element + **/ +_unwrapNoscriptImages:function(e){var t=Array.from(e.getElementsByTagName("img"));this._forEachNode(t,(function(e){for(var t=0;t<e.attributes.length;t++){var i=e.attributes[t];switch(i.name){case"src":case"srcset":case"data-src":case"data-srcset":return}if(/\.(jpg|jpeg|png|webp)/i.test(i.value))return}e.parentNode.removeChild(e)}));var i=Array.from(e.getElementsByTagName("noscript"));this._forEachNode(i,(function(t){var i=e.createElement("div");if(i.innerHTML=t.innerHTML,this._isSingleImage(i)){var n=t.previousElementSibling;if(n&&this._isSingleImage(n)){var a=n;"IMG"!==a.tagName&&(a=n.getElementsByTagName("img")[0]);for(var r=i.getElementsByTagName("img")[0],s=0;s<a.attributes.length;s++){var o=a.attributes[s];if(""!==o.value&&("src"===o.name||"srcset"===o.name||/\.(jpg|jpeg|png|webp)/i.test(o.value))){if(r.getAttribute(o.name)===o.value)continue;var l=o.name;r.hasAttribute(l)&&(l="data-old-"+l),r.setAttribute(l,o.value)}}t.parentNode.replaceChild(i.firstElementChild,n)}}}))}, +/** + * Removes script tags from the document. + * + * @param Element + **/ +_removeScripts:function(e){this._removeNodes(this._getAllNodesWithTag(e,["script","noscript"]))}, +/** + * Check if this node has only whitespace and a single element with given tag + * Returns false if the DIV node contains non-empty text nodes + * or if it contains no element with given tag or more than 1 element. + * + * @param Element + * @param string tag of child element + **/ +_hasSingleTagInsideElement:function(e,t){return 1==e.children.length&&e.children[0].tagName===t&&!this._someNode(e.childNodes,(function(e){return e.nodeType===this.TEXT_NODE&&this.REGEXPS.hasContent.test(e.textContent)}))},_isElementWithoutContent:function(e){return e.nodeType===this.ELEMENT_NODE&&0==e.textContent.trim().length&&(0==e.children.length||e.children.length==e.getElementsByTagName("br").length+e.getElementsByTagName("hr").length)}, +/** + * Determine whether element has any children block level elements. + * + * @param Element + */ +_hasChildBlockElement:function(e){return this._someNode(e.childNodes,(function(e){return this.DIV_TO_P_ELEMS.has(e.tagName)||this._hasChildBlockElement(e)}))}, +/*** + * Determine if a node qualifies as phrasing content. + * https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content + **/ +_isPhrasingContent:function(e){return e.nodeType===this.TEXT_NODE||-1!==this.PHRASING_ELEMS.indexOf(e.tagName)||("A"===e.tagName||"DEL"===e.tagName||"INS"===e.tagName)&&this._everyNode(e.childNodes,this._isPhrasingContent)},_isWhitespace:function(e){return e.nodeType===this.TEXT_NODE&&0===e.textContent.trim().length||e.nodeType===this.ELEMENT_NODE&&"BR"===e.tagName}, +/** + * Get the inner text of a node - cross browser compatibly. + * This also strips out any excess whitespace to be found. + * + * @param Element + * @param Boolean normalizeSpaces (default: true) + * @return string + **/ +_getInnerText:function(e,t){t=void 0===t||t;var i=e.textContent.trim();return t?i.replace(this.REGEXPS.normalize," "):i}, +/** + * Get the number of times a string s appears in the node e. + * + * @param Element + * @param string - what to split on. Default is "," + * @return number (integer) + **/ +_getCharCount:function(e,t){return t=t||",",this._getInnerText(e).split(t).length-1}, +/** + * Remove the style attribute on every e and under. + * TODO: Test if getElementsByTagName(*) is faster. + * + * @param Element + * @return void + **/ +_cleanStyles:function(e){if(e&&"svg"!==e.tagName.toLowerCase()){for(var t=0;t<this.PRESENTATIONAL_ATTRIBUTES.length;t++)e.removeAttribute(this.PRESENTATIONAL_ATTRIBUTES[t]);-1!==this.DEPRECATED_SIZE_ATTRIBUTE_ELEMS.indexOf(e.tagName)&&(e.removeAttribute("width"),e.removeAttribute("height"));for(var i=e.firstElementChild;null!==i;)this._cleanStyles(i),i=i.nextElementSibling}}, +/** + * Get the density of links as a percentage of the content + * This is the amount of text that is inside a link divided by the total text in the node. + * + * @param Element + * @return number (float) + **/ +_getLinkDensity:function(e){var t=this._getInnerText(e).length;if(0===t)return 0;var i=0;return this._forEachNode(e.getElementsByTagName("a"),(function(e){var t=e.getAttribute("href"),n=t&&this.REGEXPS.hashUrl.test(t)?.3:1;i+=this._getInnerText(e).length*n})),i/t}, +/** + * Get an elements class/id weight. Uses regular expressions to tell if this + * element looks good or bad. + * + * @param Element + * @return number (Integer) + **/ +_getClassWeight:function(e){if(!this._flagIsActive(this.FLAG_WEIGHT_CLASSES))return 0;var t=0;return"string"==typeof e.className&&""!==e.className&&(this.REGEXPS.negative.test(e.className)&&(t-=25),this.REGEXPS.positive.test(e.className)&&(t+=25)),"string"==typeof e.id&&""!==e.id&&(this.REGEXPS.negative.test(e.id)&&(t-=25),this.REGEXPS.positive.test(e.id)&&(t+=25)),t}, +/** + * Clean a node of all elements of type "tag". + * (Unless it's a youtube/vimeo video. People love movies.) + * + * @param Element + * @param string tag to clean + * @return void + **/ +_clean:function(e,t){var i=-1!==["object","embed","iframe"].indexOf(t);this._removeNodes(this._getAllNodesWithTag(e,[t]),(function(e){if(i){for(var t=0;t<e.attributes.length;t++)if(this._allowedVideoRegex.test(e.attributes[t].value))return!1;if("object"===e.tagName&&this._allowedVideoRegex.test(e.innerHTML))return!1}return!0}))}, +/** + * Check if a given node has one of its ancestor tag name matching the + * provided one. + * @param HTMLElement node + * @param String tagName + * @param Number maxDepth + * @param Function filterFn a filter to invoke to determine whether this node 'counts' + * @return Boolean + */ +_hasAncestorTag:function(e,t,i,n){i=i||3,t=t.toUpperCase();for(var a=0;e.parentNode;){if(i>0&&a>i)return!1;if(e.parentNode.tagName===t&&(!n||n(e.parentNode)))return!0;e=e.parentNode,a++}return!1}, +/** + * Return an object indicating how many rows and columns this table has. + */ +_getRowAndColumnCount:function(e){for(var t=0,i=0,n=e.getElementsByTagName("tr"),a=0;a<n.length;a++){var r=n[a].getAttribute("rowspan")||0;r&&(r=parseInt(r,10)),t+=r||1;for(var s=0,o=n[a].getElementsByTagName("td"),l=0;l<o.length;l++){var c=o[l].getAttribute("colspan")||0;c&&(c=parseInt(c,10)),s+=c||1}i=Math.max(i,s)}return{rows:t,columns:i}}, +/** + * Look for 'data' (as opposed to 'layout') tables, for which we use + * similar checks as + * https://searchfox.org/mozilla-central/rev/f82d5c549f046cb64ce5602bfd894b7ae807c8f8/accessible/generic/TableAccessible.cpp#19 + */ +_markDataTables:function(e){for(var t=e.getElementsByTagName("table"),i=0;i<t.length;i++){var n=t[i];if("presentation"!=n.getAttribute("role"))if("0"!=n.getAttribute("datatable"))if(n.getAttribute("summary"))n._readabilityDataTable=!0;else{var a=n.getElementsByTagName("caption")[0];if(a&&a.childNodes.length>0)n._readabilityDataTable=!0;else if(["col","colgroup","tfoot","thead","th"].some((function(e){return!!n.getElementsByTagName(e)[0]})))this.log("Data table because found data-y descendant"),n._readabilityDataTable=!0;else if(n.getElementsByTagName("table")[0])n._readabilityDataTable=!1;else{var r=this._getRowAndColumnCount(n);r.rows>=10||r.columns>4?n._readabilityDataTable=!0:n._readabilityDataTable=r.rows*r.columns>10}}else n._readabilityDataTable=!1;else n._readabilityDataTable=!1}}, +/* convert images and figures that have properties like data-src into images that can be loaded without JS */ +_fixLazyImages:function(e){this._forEachNode(this._getAllNodesWithTag(e,["img","picture","figure"]),(function(e){if(e.src&&this.REGEXPS.b64DataUrl.test(e.src)){if("image/svg+xml"===this.REGEXPS.b64DataUrl.exec(e.src)[1])return;for(var t=!1,i=0;i<e.attributes.length;i++){var n=e.attributes[i];if("src"!==n.name&&/\.(jpg|jpeg|png|webp)/i.test(n.value)){t=!0;break}}if(t){var a=e.src.search(/base64\s*/i)+7;e.src.length-a<133&&e.removeAttribute("src")}}if(!(e.src||e.srcset&&"null"!=e.srcset)||-1!==e.className.toLowerCase().indexOf("lazy"))for(var r=0;r<e.attributes.length;r++)if("src"!==(n=e.attributes[r]).name&&"srcset"!==n.name&&"alt"!==n.name){var s=null;if(/\.(jpg|jpeg|png|webp)\s+\d/.test(n.value)?s="srcset":/^\s*\S+\.(jpg|jpeg|png|webp)\S*\s*$/.test(n.value)&&(s="src"),s)if("IMG"===e.tagName||"PICTURE"===e.tagName)e.setAttribute(s,n.value);else if("FIGURE"===e.tagName&&!this._getAllNodesWithTag(e,["img","picture"]).length){var o=this._doc.createElement("img");o.setAttribute(s,n.value),e.appendChild(o)}}}))},_getTextDensity:function(e,t){var i=this._getInnerText(e,!0).length;if(0===i)return 0;var n=0,a=this._getAllNodesWithTag(e,t);return this._forEachNode(a,(e=>n+=this._getInnerText(e,!0).length)),n/i}, +/** + * Clean an element of all tags of type "tag" if they look fishy. + * "Fishy" is an algorithm based on content length, classnames, link density, number of images & embeds, etc. + * + * @return void + **/ +_cleanConditionally:function(e,t){this._flagIsActive(this.FLAG_CLEAN_CONDITIONALLY)&&this._removeNodes(this._getAllNodesWithTag(e,[t]),(function(e){var i=function(e){return e._readabilityDataTable},n="ul"===t||"ol"===t;if(!n){var a=0,r=this._getAllNodesWithTag(e,["ul","ol"]);this._forEachNode(r,(e=>a+=this._getInnerText(e).length)),n=a/this._getInnerText(e).length>.9}if("table"===t&&i(e))return!1;if(this._hasAncestorTag(e,"table",-1,i))return!1;if(this._hasAncestorTag(e,"code"))return!1;var s=this._getClassWeight(e);if(this.log("Cleaning Conditionally",e),s+0<0)return!0;if(this._getCharCount(e,",")<10){for(var o=e.getElementsByTagName("p").length,l=e.getElementsByTagName("img").length,c=e.getElementsByTagName("li").length-100,h=e.getElementsByTagName("input").length,d=this._getTextDensity(e,["h1","h2","h3","h4","h5","h6"]),g=0,u=this._getAllNodesWithTag(e,["object","embed","iframe"]),m=0;m<u.length;m++){for(var p=0;p<u[m].attributes.length;p++)if(this._allowedVideoRegex.test(u[m].attributes[p].value))return!1;if("object"===u[m].tagName&&this._allowedVideoRegex.test(u[m].innerHTML))return!1;g++}var f=this._getLinkDensity(e),_=this._getInnerText(e).length,N=l>1&&o/l<.5&&!this._hasAncestorTag(e,"figure")||!n&&c>o||h>Math.floor(o/3)||!n&&d<.9&&_<25&&(0===l||l>2)&&!this._hasAncestorTag(e,"figure")||!n&&s<25&&f>.2||s>=25&&f>.5||1===g&&_<75||g>1;if(n&&N){for(var b=0;b<e.children.length;b++)if(e.children[b].children.length>1)return N;if(l==e.getElementsByTagName("li").length)return!1}return N}return!1}))}, +/** + * Clean out elements that match the specified conditions + * + * @param Element + * @param Function determines whether a node should be removed + * @return void + **/ +_cleanMatchedNodes:function(e,t){for(var i=this._getNextNode(e,!0),n=this._getNextNode(e);n&&n!=i;)n=t.call(this,n,n.className+" "+n.id)?this._removeAndGetNext(n):this._getNextNode(n)}, +/** + * Clean out spurious headers from an Element. + * + * @param Element + * @return void + **/ +_cleanHeaders:function(e){let t=this._getAllNodesWithTag(e,["h1","h2"]);this._removeNodes(t,(function(e){let t=this._getClassWeight(e)<0;return t&&this.log("Removing header with low class weight:",e),t}))}, +/** + * Check if this node is an H1 or H2 element whose content is mostly + * the same as the article title. + * + * @param Element the node to check. + * @return boolean indicating whether this is a title-like header. + */ +_headerDuplicatesTitle:function(e){if("H1"!=e.tagName&&"H2"!=e.tagName)return!1;var t=this._getInnerText(e,!1);return this.log("Evaluating similarity of header:",t,this._articleTitle),this._textSimilarity(this._articleTitle,t)>.75},_flagIsActive:function(e){return(this._flags&e)>0},_removeFlag:function(e){this._flags=this._flags&~e},_isProbablyVisible:function(e){return(!e.style||"none"!=e.style.display)&&(!e.style||"hidden"!=e.style.visibility)&&!e.hasAttribute("hidden")&&(!e.hasAttribute("aria-hidden")||"true"!=e.getAttribute("aria-hidden")||e.className&&e.className.indexOf&&-1!==e.className.indexOf("fallback-image"))}, +/** + * Runs readability. + * + * Workflow: + * 1. Prep the document by removing script tags, css, etc. + * 2. Build readability's DOM tree. + * 3. Grab the article content from the current dom tree. + * 4. Replace the current DOM tree with the new one. + * 5. Read peacefully. + * + * @return void + **/ +parse:function(){if(this._maxElemsToParse>0){var e=this._doc.getElementsByTagName("*").length;if(e>this._maxElemsToParse)throw new Error("Aborting parsing document; "+e+" elements found")}this._unwrapNoscriptImages(this._doc);var t=this._disableJSONLD?{}:this._getJSONLD(this._doc);this._removeScripts(this._doc),this._prepDocument();var i=this._getArticleMetadata(t);this._articleTitle=i.title;var n=this._grabArticle();if(!n)return null;if(this.log("Grabbed: "+n.innerHTML),this._postProcessContent(n),!i.excerpt){var a=n.getElementsByTagName("p");a.length>0&&(i.excerpt=a[0].textContent.trim())}var r=n.textContent;return{title:this._articleTitle,byline:i.byline||this._articleByline,dir:this._articleDir,lang:this._articleLang,content:this._serializer(n),textContent:r,length:r.length,excerpt:i.excerpt,siteName:i.siteName||this._articleSiteName,publishedTime:i.publishedTime}}},e.exports=t}(f)),f.exports),t=(_||(_=1,function(){var e={ +// NOTE: These two regular expressions are duplicated in +// Readability.js. Please keep both copies in sync. +unlikelyCandidates:/-ad-|ai2html|banner|breadcrumbs|combx|comment|community|cover-wrap|disqus|extra|footer|gdpr|header|legends|menu|related|remark|replies|rss|shoutbox|sidebar|skyscraper|social|sponsor|supplemental|ad-break|agegate|pagination|pager|popup|yom-remote/i,okMaybeItsACandidate:/and|article|body|column|content|main|shadow/i};function t(e){return(!e.style||"none"!=e.style.display)&&!e.hasAttribute("hidden")&&(!e.hasAttribute("aria-hidden")||"true"!=e.getAttribute("aria-hidden")||e.className&&e.className.indexOf&&-1!==e.className.indexOf("fallback-image"))}E.exports=function(i,n={}){"function"==typeof n&&(n={visibilityChecker:n});var a={minScore:20,minContentLength:140,visibilityChecker:t};n=Object.assign(a,n);var r=i.querySelectorAll("p, pre, article"),s=i.querySelectorAll("div > br");if(s.length){var o=new Set(r);[].forEach.call(s,(function(e){o.add(e.parentNode)})),r=Array.from(o)}var l=0;return[].some.call(r,(function(t){if(!n.visibilityChecker(t))return!1;var i=t.className+" "+t.id;if(e.unlikelyCandidates.test(i)&&!e.okMaybeItsACandidate.test(i))return!1;if(t.matches("li p"))return!1;var a=t.textContent.trim().length;return!(a<n.minContentLength)&&(l+=Math.sqrt(a-n.minContentLength))>n.minScore}))}}()),E.exports);return N={Readability:e,isProbablyReaderable:t}}();const v=new class{constructor(){t(this,"worker"),this.worker=new Worker(new URL( +/* @vite-ignore */ +""+new URL("scraper.worker-C5ikRwpu.js",import.meta.url).href,import.meta.url),{type:"module"})}scrapeUrls(e,t=1e4){return new Promise(((i,n)=>{this.worker.onmessage=e=>{const t=e.data.map(this.extractContent).filter(Boolean);i(t)},this.worker.onerror=e=>{n(e)},this.worker.postMessage({urls:e,timeout:t})}))}extractContent({url:e,html:t}){if(t){const i=document.implementation.createHTMLDocument("");i.documentElement.innerHTML=t;const n=new y.Readability(i).parse();if(n){const t=i.querySelector('link[rel="icon"], link[rel="shortcut icon"]');let a=t.getAttribute("href");const r=new URL(e),s=r.protocol+"//"+r.hostname;let o="";return o=t&&a?a.startsWith("http://")||a.startsWith("https://")?a:a.startsWith("//")?r.protocol+a:a.startsWith("/")?s+a:new URL(a,e).href:`${s}/favicon.ico`,{url:e,icon:o,siteName:n.siteName||"",title:n.title||"",content:n.textContent||"",excerpt:!n.excerpt||n.excerpt.length>140?n.textContent.slice(0,140):n.excerpt}}}return null}};const T=window.fetch,A=async(e,t)=>{if(e.toString().includes("/local/")){const e=(null==t?void 0:t.headers)||{},i={};return Object.entries(e).forEach((([e,t])=>{i[e.toLowerCase()]=t})),void JSON.parse(null==t?void 0:t.body.toString())}return await T(e,t)};function S(e){return e.startsWith("/app/")?C()+e:e}function C(){const e=i().remoteHost;if(e&&e.startsWith("http"))return e;const t=window.location.origin;return window.isElectron||t.includes("localhost")?`http://localhost:${window.serverPort||3e3}`:t}async function x(e,t,i){var o,c;let h=e=>{};try{const d=t.chat.chats[t.chat.chats.length-1],g=l((e=>{d.content.text=e}),100,{maxWait:500});h=e=>{g(e)};const u=e=>{g.cancel(),d.content.text=e},m=e=>{g.cancel(),d.content.images=e},p=n.dict[t.model.type];if(!p)return void h(a("pages.setting.model.model_provider_not_exist"));const f=[];f.push({role:"system",content:{text:e.content,files:[],images:[],webs:[]},id:"",liked:!1,model:""});const _=t.chat.chats.slice(t.chat.startContext).filter((e=>"verbose"!==e.role)),N=2*Math.max(e.maxContextSize,1),b=Math.min(N,_.length);for(let e=_.length-b;e<_.length;e++){const t=_[e];f.push(t)}let E;f.pop(),E=p.onMessage?p.onMessage(e,t,f):f.map((e=>({role:e.role,content:{text:e.content.text,files:e.content.files,images:e.content.images}}))),t.model.prompt&&(E[E.length-1].content.text=`${t.model.prompt}\n${E[E.length-1].content.text}`),i&&(E[E.length-1].content.text=`\n 使用提供的网络搜索结果,对给定的查询写一个全面的回复。\n 如果提供的搜索结果涉及多个同名主题,请为每个主题分别写答案。\n \n 网络搜索json结果:\n """\n ${i}\n """\n\n 查询:\n """\n ${E[E.length-1].content.text}\n """ \n `);for(let e=0;e<E.length;e++){const t=E[e];let i=t.content.text;if((null==(o=t.content.files)?void 0:o.length)>0)for(let e=0;e<t.content.files.length;e++){const n=t.content.files[e];i+=`\n${n.name}\n${n.content||n.url}`}if((null==(c=t.content.images)?void 0:c.length)>0){const e=t.content.images.length,n=[{type:"text",text:i}];for(let i=0;i<e;i++){const e=t.content.images[i];n.push({type:"image_url",image_url:{url:e.content||e.url}})}t.content=n}else t.content=i}const y={model:t.model.apiModel,stream:t.model.stream||!1,temperature:t.model.temperature||r,max_tokens:t.model.maxTokens||s,messages:E},v={Accept:"*/*",Connection:"keep-alive","Accept-Encoding":"gzip, deflate, br","content-type":"application/json",Authorization:`Bearer ${L(t.model)}`};let T=S(t.model.apiBase||p.apiBase);(function(e){return e.includes("localhost")||e.includes("/app/")||e.includes("/openapi/")})(T)&&(y.meta={apiAgentId:t.chat.apiAgentId,apiConversationId:t.chat.apiConversationId,aspectRatio:e.aspectRatio,data:{}}),p.onChat&&await p.onChat(e,t,y,v);const C=await A(T,{method:"POST",headers:v,body:JSON.stringify(y)});if(!C.ok){const e=C.headers.get("content-type");if(e)if(null==e?void 0:e.includes("application/json")){const e=await C.json();h(JSON.stringify(e))}else{h(await C.text()||C.statusText)}else h(C.statusText);return}t.chat.status.responseWating=!1;let x="",I="";if(function(e){const t=e.headers.get("Content-Type");if(null==t?void 0:t.includes("text/event-stream"))return!0;return!1}(C)){const e=await w(C,h,(()=>t.chat.status.stop),u);x=e.id,I=e.model}else{if(!C.ok)return void(u&&u(await C.text()));const e=await C.json();"chat.images"==e.object?m&&m(e.choices):e.choices?u&&u(e.choices[0].message.content):u&&u(await C.text()),x=e.id,I=e.model}t.chat.chats[t.chat.chats.length-1].id=x,t.chat.chats[t.chat.chats.length-1].model=I||n.getModelItemModel(t.model)}catch(d){h(`${d.message}`)}finally{t.chat.status.chating=!1,t.chat.status.stop=!1,t.chat.status.responseWating=!1}}function L(e){if(e.keys&&e.keys.length>0){const t=e.keys.filter((e=>e.enabled));if(t.length>0)return t[Math.floor(Math.random()*t.length)].key}return e.apiKey}async function w(e,t,i=null,n=null){const a=e.body.pipeThrough(new TextDecoderStream).pipeThrough(new m).getReader();let r="",s="",o="",l=!1,c=!1;for(;;)try{const{value:e,done:d}=await a.read();if(d||i&&i()||"[DONE]"===e.data){n&&n(r);break}if(!e)continue;const g=JSON.parse(e.data);if(!g.choices||0===g.choices.length)continue;s=g.id,o=g.model;const u=g.choices[0].delta;var h=u.content||u.reasoning_content;if(!h)continue;if(h.includes("<think>")){c=!0;continue}if(h.includes("</think>")){c=!1;continue}c&&(u.type="thinking"),"thinking"==u.type||u.reasoning_content?l?h=h.replace(/\n/g,"\n> "):(l=!0,h="> "+h.replace(/\n/g,"\n> ")):l&&(r+="\n\n",l=!1),r+=h,t(r)}catch(d){throw d}return{id:s,model:o}}const I=async(e,t,n=null)=>{const a=i(),r=o().find(a.assistModel);await R(r,e,t,n)},R=async(e,t,i,s=null)=>{try{const o=n.dict[e.type];if(!o)return void i(a("pages.setting.model.model_provider_not_exist"));const l={model:e.apiModel,stream:!0,temperature:r,messages:[{role:"user",content:t}]},c=S(e.apiBase||o.apiBase),h=await A(c,{method:"POST",headers:{Accept:"*/*",Connection:"keep-alive","Accept-Encoding":"gzip, deflate, br","content-type":"application/json",Authorization:`Bearer ${L(e)}`},body:JSON.stringify(l)});if(!h.ok){const e=h.headers.get("content-type");if(e)if(null==e?void 0:e.includes("application/json")){const e=await h.json();i(JSON.stringify(e))}else{i(await h.text())}else i(h.statusText);return}await w(h,i,s)}catch(o){i(`${o.message}`)}},D=async e=>{try{let t=null;const i=C(),n=/(https?:\/\/[^\s]+)/g,a=e.match(n)||[];if(a.length>0)t={urls:a,keywords:[]};else{const i=(await P(`\n 你是一个专门用于提取搜索关键词的AI助手。你的任务是从用户的查询中提取最重要的关键词或短语,这些关键词将被用于执行网络搜索。。\n \n 请注意:\n 1. 提取3-10个最相关和重要的关键词或短语。\n 2. 关键词应该简洁明了,避免提取常见词或无意义词\n 3. 如果查询涉及时间范围,请包含相关的时间信息。\n 4. 如果查询中包含人名、地名、专有名词或技术术语,优先提取这些\n 5. 如果有网址,将网址作为一个关键词返回\n 6. 以JSON格式返回结果,包含两个字段:"urls"(数组)和"keywords"(数组),且不要包含任何其他文字。\n 用户查询: ${e}\n \n 请以下面的JSON格式返回结果:\n {\n "urls": [],\n "keywords": []\n }\n `,null)).match(/\{[\s\S]*\}/);if(i.length<=0)throw new Error("未找到关键词");t=JSON.parse(i[0])}if(t.keywords.length>0){const e=await A(`${i}/search?service=google&&results=10&&q=${encodeURIComponent(t.keywords.join(","))}`),n=await e.json();for(let i=0;i<n.length;i++){const e=n[i],a=O(e.link);if(a){t.urls.some((e=>O(e)===a))||t.urls.push(e.link)}}}performance.now();let r=t.urls;r=r.map((e=>i+"/crawler?url="+encodeURIComponent(e)));const s=await async function(e,t=1024,i=1e4){try{return(await v.scrapeUrls(e,i)).map((e=>({...e,content:e.content.slice(0,t)})))}catch(n){}return[]}(r,8192/r.length,2e3);performance.now();return s}catch(t){}return[]};function O(e){try{const t=new URL(e).hostname;return t.split(".").slice(-2).join(".")}catch(t){return null}}const P=async(e,t)=>{const n=i(),a=o().find(n.assistModel);return await k(a,e,t)},k=async(e,t,i)=>{const s=n.dict[e.type];if(!s)throw new Error(a("pages.setting.model.model_provider_not_exist"));const o={model:e.apiModel,stream:!1,temperature:r,messages:[{role:"user",content:t}]},l=S(e.apiBase||s.apiBase),c=await A(l,{method:"POST",headers:{Accept:"*/*",Connection:"keep-alive","Accept-Encoding":"gzip, deflate, br","content-type":"application/json",Authorization:`Bearer ${L(e)}`},body:JSON.stringify(o)});if(c.ok){const e=await c.json();return i&&i(e.choices[0].message.content),e.choices[0].message.content}throw new Error(c.statusText)};export{C as a,R as b,x as c,I as d,P as f,S as g,D as s}; diff --git a/.output/public/assets/flowchart-elk-definition-170a3958-BCmh1NNp.js b/.output/public/assets/flowchart-elk-definition-170a3958-BCmh1NNp.js new file mode 100644 index 0000000000000000000000000000000000000000..d9aea485554810bb9fee15bb9bb0e1a1d3197b79 --- /dev/null +++ b/.output/public/assets/flowchart-elk-definition-170a3958-BCmh1NNp.js @@ -0,0 +1,26 @@ +import{d as n,p as t,l as e,f as i,g as r,i as c,h as a,j as u,k as o,n as s,o as h,q as f,r as l,t as b,u as w,v as d}from"./CodeBlocks.vue_vue_type_style_index_0_lang-CexE7E14.js";import{ce as g,c1 as p}from"./main-DzSNOqOC.js";import{b as v}from"./ChatInput.vue_vue_type_style_index_0_lang-D4A8Ko3p.js";import"./fetch-C6zEckB6.js";import"./debounce-DjqSSMbT.js";import"./refresh-BD1L4aGQ.js";import"./copy-CaDk54_k.js";import"./v4-_R2nDvl_.js";import"./index-Kxldlx3l.js";import"./index-DmWclHlm.js";import"./index-BuIb9tIA.js";import"./index-CjKlnN2e.js";import"./dep-916b902f-BLs2dxx4.js";var m,y={exports:{}};var k=(m||(m=1,y.exports=function(){function n(t,e,i){function r(a,u){if(!e[a]){if(!t[a]){var o="function"==typeof v&&v;if(!u&&o)return o(a,!0);if(c)return c(a,!0);var s=new Error("Cannot find module '"+a+"'");throw s.code="MODULE_NOT_FOUND",s}var h=e[a]={exports:{}};t[a][0].call(h.exports,(function(n){return r(t[a][1][n]||n)}),h,h.exports,n,t,e,i)}return e[a].exports}for(var c="function"==typeof v&&v,a=0;a<i.length;a++)r(i[a]);return r}return n}()({1:[function(n,t,e){Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function n(n,t){for(var e=0;e<t.length;e++){var i=t[e];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}}return function(t,e,i){return e&&n(t.prototype,e),i&&n(t,i),t}}();function r(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}var c=function(){function n(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.defaultLayoutOptions,c=void 0===i?{}:i,u=e.algorithms,o=void 0===u?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:u,s=e.workerFactory,h=e.workerUrl;if(r(this,n),this.defaultLayoutOptions=c,this.initialized=!1,void 0===h&&void 0===s)throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var f=s;void 0!==h&&void 0===s&&(f=function(n){return new Worker(n)});var l=f(h);if("function"!=typeof l.postMessage)throw new TypeError("Created worker does not provide the required 'postMessage' function.");this.worker=new a(l),this.worker.postMessage({cmd:"register",algorithms:o}).then((function(n){return t.initialized=!0})).catch(console.err)}return i(n,[{key:"layout",value:function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=t.layoutOptions,i=void 0===e?this.defaultLayoutOptions:e,r=t.logging,c=void 0!==r&&r,a=t.measureExecutionTime,u=void 0!==a&&a;return n?this.worker.postMessage({cmd:"layout",graph:n,layoutOptions:i,options:{logging:c,measureExecutionTime:u}}):Promise.reject(new Error("Missing mandatory parameter 'graph'."))}},{key:"knownLayoutAlgorithms",value:function(){return this.worker.postMessage({cmd:"algorithms"})}},{key:"knownLayoutOptions",value:function(){return this.worker.postMessage({cmd:"options"})}},{key:"knownLayoutCategories",value:function(){return this.worker.postMessage({cmd:"categories"})}},{key:"terminateWorker",value:function(){this.worker.terminate()}}]),n}();e.default=c;var a=function(){function n(t){var e=this;if(r(this,n),void 0===t)throw new Error("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=t,this.worker.onmessage=function(n){setTimeout((function(){e.receive(e,n)}),0)}}return i(n,[{key:"postMessage",value:function(n){var t=this.id||0;this.id=t+1,n.id=t;var e=this;return new Promise((function(i,r){e.resolvers[t]=function(n,t){n?(e.convertGwtStyleError(n),r(n)):i(t)},e.worker.postMessage(n)}))}},{key:"receive",value:function(n,t){var e=t.data,i=n.resolvers[e.id];i&&(delete n.resolvers[e.id],e.error?i(e.error):i(null,e.data))}},{key:"terminate",value:function(){this.worker.terminate&&this.worker.terminate()}},{key:"convertGwtStyleError",value:function(n){if(n){var t=n.__java$exception;t&&(t.cause&&t.cause.backingJsObject&&(n.cause=t.cause.backingJsObject,this.convertGwtStyleError(n.cause)),delete n.__java$exception)}}}]),n}()},{}],2:[function(n,t,e){(function(n){(function(){var i;function r(){}function c(){}function a(){}function u(){}function o(){}function s(){}function h(){}function f(){}function l(){}function b(){}function w(){}function d(){}function g(){}function p(){}function v(){}function m(){}function y(){}function k(){}function j(){}function E(){}function T(){}function M(){}function S(){}function P(){}function C(){}function I(){}function O(){}function A(){}function $(){}function L(){}function N(){}function x(){}function D(){}function R(){}function _(){}function K(){}function F(){}function B(){}function H(){}function q(){}function G(){}function z(){}function U(){}function X(){}function W(){}function V(){}function Q(){}function J(){}function Y(){}function Z(){}function nn(){}function tn(){}function en(){}function rn(){}function cn(){}function an(){}function un(){}function on(){}function sn(){}function hn(){}function fn(){}function ln(){}function bn(){}function wn(){}function dn(){}function gn(){}function pn(){}function vn(){}function mn(){}function yn(){}function kn(){}function jn(){}function En(){}function Tn(){}function Mn(){}function Sn(){}function Pn(){}function Cn(){}function In(){}function On(){}function An(){}function $n(){}function Ln(){}function Nn(){}function xn(){}function Dn(){}function Rn(){}function _n(){}function Kn(){}function Fn(){}function Bn(){}function Hn(){}function qn(){}function Gn(){}function zn(){}function Un(){}function Xn(){}function Wn(){}function Vn(){}function Qn(){}function Jn(){}function Yn(){}function Zn(){}function nt(){}function tt(){}function et(){}function it(){}function rt(){}function ct(){}function at(){}function ut(){}function ot(){}function st(){}function ht(){}function ft(){}function lt(){}function bt(){}function wt(){}function dt(){}function gt(){}function pt(){}function vt(){}function mt(){}function yt(){}function kt(){}function jt(){}function Et(){}function Tt(){}function Mt(){}function St(){}function Pt(){}function Ct(){}function It(){}function Ot(){}function At(){}function $t(){}function Lt(){}function Nt(){}function xt(){}function Dt(){}function Rt(){}function _t(){}function Kt(){}function Ft(){}function Bt(){}function Ht(){}function qt(){}function Gt(){}function zt(){}function Ut(){}function Xt(){}function Wt(){}function Vt(){}function Qt(){}function Jt(){}function Yt(){}function Zt(){}function ne(){}function te(){}function ee(){}function ie(){}function re(){}function ce(){}function ae(){}function ue(){}function oe(){}function se(){}function he(){}function fe(){}function le(){}function be(){}function we(){}function de(){}function ge(){}function pe(){}function ve(){}function me(){}function ye(){}function ke(){}function je(){}function Ee(){}function Te(){}function Me(){}function Se(){}function Pe(){}function Ce(){}function Ie(){}function Oe(){}function Ae(){}function $e(){}function Le(){}function Ne(){}function xe(){}function De(){}function Re(){}function _e(){}function Ke(){}function Fe(){}function Be(){}function He(){}function qe(){}function Ge(){}function ze(){}function Ue(){}function Xe(){}function We(){}function Ve(){}function Qe(){}function Je(){}function Ye(){}function Ze(){}function ni(){}function ti(){}function ei(){}function ii(){}function ri(){}function ci(){}function ai(){}function ui(){}function oi(){}function si(){}function hi(){}function fi(){}function li(){}function bi(){}function wi(){}function di(){}function gi(){}function pi(){}function vi(){}function mi(){}function yi(){}function ki(){}function ji(){}function Ei(){}function Ti(){}function Mi(){}function Si(){}function Pi(){}function Ci(){}function Ii(){}function Oi(){}function Ai(){}function $i(){}function Li(){}function Ni(){}function xi(){}function Di(){}function Ri(){}function _i(){}function Ki(){}function Fi(){}function Bi(){}function Hi(){}function qi(){}function Gi(){}function zi(){}function Ui(){}function Xi(){}function Wi(){}function Vi(){}function Qi(){}function Ji(){}function Yi(){}function Zi(){}function nr(){}function tr(){}function er(){}function ir(){}function rr(){}function cr(){}function ar(){}function ur(){}function or(){}function sr(){}function hr(){}function fr(){}function lr(){}function br(){}function wr(){}function dr(){}function gr(){}function pr(){}function vr(){}function mr(){}function yr(){}function kr(){}function jr(){}function Er(){}function Tr(){}function Mr(){}function Sr(){}function Pr(){}function Cr(){}function Ir(){}function Or(){}function Ar(){}function $r(){}function Lr(){}function Nr(){}function xr(){}function Dr(){}function Rr(){}function _r(){}function Kr(){}function Fr(){}function Br(){}function Hr(){}function qr(){}function Gr(){}function zr(){}function Ur(){}function Xr(){}function Wr(){}function Vr(){}function Qr(){}function Jr(){}function Yr(){}function Zr(){}function nc(){}function tc(){}function ec(){}function ic(){}function rc(){}function cc(){}function ac(){}function uc(){}function oc(){}function sc(){}function hc(){}function fc(){}function lc(){}function bc(){}function wc(){}function dc(){}function gc(){}function pc(){}function vc(){}function mc(){}function yc(){}function kc(){}function jc(){}function Ec(){}function Tc(){}function Mc(){}function Sc(){}function Pc(){}function Cc(){}function Ic(){}function Oc(){}function Ac(){}function $c(){}function Lc(){}function Nc(){}function xc(){}function Dc(){}function Rc(){}function _c(){}function Kc(){}function Fc(){}function Bc(){}function Hc(){}function qc(){}function Gc(){}function zc(){}function Uc(){}function Xc(){}function Wc(){}function Vc(){}function Qc(){}function Jc(){}function Yc(){}function Zc(){}function na(){}function ta(){}function ea(){}function ia(){}function ra(){}function ca(){}function aa(){}function ua(){}function oa(){}function sa(){}function ha(){}function fa(){}function la(){}function ba(){}function wa(){}function da(){}function ga(){}function pa(){}function va(){}function ma(){}function ya(){}function ka(){}function ja(){}function Ea(){}function Ta(){}function Ma(){}function Sa(){}function Pa(){}function Ca(){}function Ia(){}function Oa(){}function Aa(){}function $a(){}function La(){}function Na(){}function xa(){}function Da(){}function Ra(){}function _a(){}function Ka(){}function Fa(){}function Ba(){}function Ha(){}function qa(){}function Ga(){}function za(){}function Ua(){}function Xa(){}function Wa(){}function Va(){}function Qa(){}function Ja(){}function Ya(){}function Za(){}function nu(){}function tu(){}function eu(){}function iu(){}function ru(){}function cu(){}function au(){}function uu(){}function ou(){}function su(){}function hu(){}function fu(){}function lu(){}function bu(){}function wu(){}function du(){}function gu(){}function pu(){}function vu(){}function mu(){}function yu(){}function ku(){}function ju(){}function Eu(){}function Tu(){}function Mu(){}function Su(){}function Pu(){}function Cu(){}function Iu(){}function Ou(){}function Au(){}function $u(){}function Lu(){}function Nu(){}function xu(){}function Du(){}function Ru(){}function _u(){}function Ku(){}function Fu(){}function Bu(){}function Hu(){}function qu(){}function Gu(){}function zu(){}function Uu(){}function Xu(){}function Wu(){}function Vu(){}function Qu(){}function Ju(){}function Yu(){}function Zu(){}function no(){}function to(){}function eo(){}function io(){}function ro(){}function co(){}function ao(){}function uo(){}function oo(){}function so(){}function ho(){}function fo(){}function lo(){}function bo(){}function wo(){}function go(){}function po(){}function vo(){}function mo(){}function yo(){}function ko(){}function jo(){}function Eo(){}function To(){}function Mo(){}function So(){}function Po(){}function Co(){}function Io(){}function Oo(){}function Ao(){}function $o(){}function Lo(){}function No(){}function xo(){}function Do(){}function Ro(){}function _o(){}function Ko(){}function Fo(){}function Bo(){}function Ho(){}function qo(){}function Go(){}function zo(){}function Uo(){}function Xo(){}function Wo(){}function Vo(){}function Qo(){}function Jo(){}function Yo(){}function Zo(){}function ns(){}function ts(){}function es(){}function is(){}function rs(){}function cs(){}function as(){}function us(){}function os(){}function ss(){}function hs(){}function fs(){}function ls(){}function bs(){}function ws(){}function ds(){}function gs(){}function ps(){}function vs(){}function ms(){}function ys(){}function ks(){}function js(){}function Es(){}function Ts(){}function Ms(){}function Ss(){}function Ps(){}function Cs(){}function Is(){}function Os(){}function As(){}function $s(){}function Ls(){}function Ns(){}function xs(){}function Ds(){}function Rs(){}function _s(){}function Ks(){}function Fs(){}function Bs(){}function Hs(){}function qs(){}function Gs(){}function zs(){}function Us(){}function Xs(){}function Ws(){}function Vs(){}function Qs(){}function Js(){}function Ys(){}function Zs(){}function nh(){}function th(){}function eh(){}function ih(){}function rh(){}function ch(){}function ah(){}function uh(){}function oh(){}function sh(){}function hh(){}function fh(){}function lh(){}function bh(){}function wh(){}function dh(){}function gh(){}function ph(){}function vh(){}function mh(){}function yh(){}function kh(){}function jh(){}function Eh(){}function Th(){}function Mh(){}function Sh(){}function Ph(){}function Ch(){}function Ih(){}function Oh(){}function Ah(){}function $h(){}function Lh(){}function Nh(){}function xh(){}function Dh(){}function Rh(){}function _h(){}function Kh(){ty()}function Fh(){Hsn()}function Bh(){kpn()}function Hh(){Rkn()}function qh(){ySn()}function Gh(){sRn()}function zh(){Dyn()}function Uh(){ekn()}function Xh(){kM()}function Wh(){pM()}function Vh(){BK()}function Qh(){jM()}function Jh(){Prn()}function Yh(){TM()}function Zh(){P6()}function nf(){Min()}function tf(){W8()}function ef(){RZ()}function rf(){qsn()}function cf(){RMn()}function af(){Sin()}function uf(){G2()}function of(){sWn()}function sf(){Hyn()}function hf(){_Z()}function ff(){FXn()}function lf(){xZ()}function bf(){Pin()}function wf(){Vun()}function df(){HZ()}function gf(){S9()}function pf(){MM()}function vf(){DAn()}function mf(){Gyn()}function yf(){_cn()}function kf(){EMn()}function jf(){fRn()}function Ef(){Kvn()}function Tf(){SAn()}function Mf(){xan()}function Sf(){FZ()}function Pf(){uKn()}function Cf(){OAn()}function If(){U$n()}function Of(){L9()}function Af(){TMn()}function $f(){uWn()}function Lf(){zsn()}function Nf(){gdn()}function xf(){BBn()}function Df(){cK()}function Rf(){lcn()}function _f(){sFn()}function Kf(n){mW(n)}function Ff(n){this.a=n}function Bf(n){this.a=n}function Hf(n){this.a=n}function qf(n){this.a=n}function Gf(n){this.a=n}function zf(n){this.a=n}function Uf(n){this.a=n}function Xf(n){this.a=n}function Wf(n){this.a=n}function Vf(n){this.a=n}function Qf(n){this.a=n}function Jf(n){this.a=n}function Yf(n){this.a=n}function Zf(n){this.a=n}function nl(n){this.a=n}function tl(n){this.a=n}function el(n){this.a=n}function il(n){this.a=n}function rl(n){this.a=n}function cl(n){this.a=n}function al(n){this.a=n}function ul(n){this.b=n}function ol(n){this.c=n}function sl(n){this.a=n}function hl(n){this.a=n}function fl(n){this.a=n}function ll(n){this.a=n}function bl(n){this.a=n}function wl(n){this.a=n}function dl(n){this.a=n}function gl(n){this.a=n}function pl(n){this.a=n}function vl(n){this.a=n}function ml(n){this.a=n}function yl(n){this.a=n}function kl(n){this.a=n}function jl(n){this.a=n}function El(n){this.a=n}function Tl(n){this.a=n}function Ml(n){this.a=n}function Sl(){this.a=[]}function Pl(n,t){n.a=t}function Cl(n,t){n.a=t}function Il(n,t){n.b=t}function Ol(n,t){n.b=t}function Al(n,t){n.b=t}function $l(n,t){n.j=t}function Ll(n,t){n.g=t}function Nl(n,t){n.i=t}function xl(n,t){n.c=t}function Dl(n,t){n.d=t}function Rl(n,t){n.d=t}function _l(n,t){n.c=t}function Kl(n,t){n.k=t}function Fl(n,t){n.c=t}function Bl(n,t){n.c=t}function Hl(n,t){n.a=t}function ql(n,t){n.a=t}function Gl(n,t){n.f=t}function zl(n,t){n.a=t}function Ul(n,t){n.b=t}function Xl(n,t){n.d=t}function Wl(n,t){n.i=t}function Vl(n,t){n.o=t}function Ql(n,t){n.r=t}function Jl(n,t){n.a=t}function Yl(n,t){n.b=t}function Zl(n,t){n.e=t}function nb(n,t){n.f=t}function tb(n,t){n.g=t}function eb(n,t){n.e=t}function ib(n,t){n.f=t}function rb(n,t){n.f=t}function cb(n,t){n.n=t}function ab(n,t){n.a=t}function ub(n,t){n.a=t}function ob(n,t){n.c=t}function sb(n,t){n.c=t}function hb(n,t){n.d=t}function fb(n,t){n.e=t}function lb(n,t){n.g=t}function bb(n,t){n.a=t}function wb(n,t){n.c=t}function db(n,t){n.d=t}function gb(n,t){n.e=t}function pb(n,t){n.f=t}function vb(n,t){n.j=t}function mb(n,t){n.a=t}function yb(n,t){n.b=t}function kb(n,t){n.a=t}function jb(n){n.b=n.a}function Eb(n){n.c=n.d.d}function Tb(n){this.d=n}function Mb(n){this.a=n}function Sb(n){this.a=n}function Pb(n){this.a=n}function Cb(n){this.a=n}function Ib(n){this.a=n}function Ob(n){this.a=n}function Ab(n){this.a=n}function $b(n){this.a=n}function Lb(n){this.a=n}function Nb(n){this.a=n}function xb(n){this.a=n}function Db(n){this.a=n}function Rb(n){this.a=n}function _b(n){this.a=n}function Kb(n){this.b=n}function Fb(n){this.b=n}function Bb(n){this.b=n}function Hb(n){this.a=n}function qb(n){this.a=n}function Gb(n){this.a=n}function zb(n){this.c=n}function Ub(n){this.c=n}function Xb(n){this.c=n}function Wb(n){this.a=n}function Vb(n){this.a=n}function Qb(n){this.a=n}function Jb(n){this.a=n}function Yb(n){this.a=n}function Zb(n){this.a=n}function nw(n){this.a=n}function tw(n){this.a=n}function ew(n){this.a=n}function iw(n){this.a=n}function rw(n){this.a=n}function cw(n){this.a=n}function aw(n){this.a=n}function uw(n){this.a=n}function ow(n){this.a=n}function sw(n){this.a=n}function hw(n){this.a=n}function fw(n){this.a=n}function lw(n){this.a=n}function bw(n){this.a=n}function ww(n){this.a=n}function dw(n){this.a=n}function gw(n){this.a=n}function pw(n){this.a=n}function vw(n){this.a=n}function mw(n){this.a=n}function yw(n){this.a=n}function kw(n){this.a=n}function jw(n){this.a=n}function Ew(n){this.a=n}function Tw(n){this.a=n}function Mw(n){this.a=n}function Sw(n){this.a=n}function Pw(n){this.a=n}function Cw(n){this.a=n}function Iw(n){this.a=n}function Ow(n){this.a=n}function Aw(n){this.a=n}function $w(n){this.a=n}function Lw(n){this.a=n}function Nw(n){this.a=n}function xw(n){this.a=n}function Dw(n){this.a=n}function Rw(n){this.a=n}function _w(n){this.a=n}function Kw(n){this.e=n}function Fw(n){this.a=n}function Bw(n){this.a=n}function Hw(n){this.a=n}function qw(n){this.a=n}function Gw(n){this.a=n}function zw(n){this.a=n}function Uw(n){this.a=n}function Xw(n){this.a=n}function Ww(n){this.a=n}function Vw(n){this.a=n}function Qw(n){this.a=n}function Jw(n){this.a=n}function Yw(n){this.a=n}function Zw(n){this.a=n}function nd(n){this.a=n}function td(n){this.a=n}function ed(n){this.a=n}function id(n){this.a=n}function rd(n){this.a=n}function cd(n){this.a=n}function ad(n){this.a=n}function ud(n){this.a=n}function od(n){this.a=n}function sd(n){this.a=n}function hd(n){this.a=n}function fd(n){this.a=n}function ld(n){this.a=n}function bd(n){this.a=n}function wd(n){this.a=n}function dd(n){this.a=n}function gd(n){this.a=n}function pd(n){this.a=n}function vd(n){this.a=n}function md(n){this.a=n}function yd(n){this.a=n}function kd(n){this.a=n}function jd(n){this.a=n}function Ed(n){this.a=n}function Td(n){this.a=n}function Md(n){this.a=n}function Sd(n){this.a=n}function Pd(n){this.a=n}function Cd(n){this.a=n}function Id(n){this.a=n}function Od(n){this.a=n}function Ad(n){this.a=n}function $d(n){this.a=n}function Ld(n){this.a=n}function Nd(n){this.a=n}function xd(n){this.a=n}function Dd(n){this.a=n}function Rd(n){this.a=n}function _d(n){this.a=n}function Kd(n){this.c=n}function Fd(n){this.b=n}function Bd(n){this.a=n}function Hd(n){this.a=n}function qd(n){this.a=n}function Gd(n){this.a=n}function zd(n){this.a=n}function Ud(n){this.a=n}function Xd(n){this.a=n}function Wd(n){this.a=n}function Vd(n){this.a=n}function Qd(n){this.a=n}function Jd(n){this.a=n}function Yd(n){this.a=n}function Zd(n){this.a=n}function ng(n){this.a=n}function tg(n){this.a=n}function eg(n){this.a=n}function ig(n){this.a=n}function rg(n){this.a=n}function cg(n){this.a=n}function ag(n){this.a=n}function ug(n){this.a=n}function og(n){this.a=n}function sg(n){this.a=n}function hg(n){this.a=n}function fg(n){this.a=n}function lg(n){this.a=n}function bg(n){this.a=n}function wg(n){this.a=n}function dg(n){this.a=n}function gg(n){this.a=n}function pg(n){this.a=n}function vg(n){this.a=n}function mg(n){this.a=n}function yg(n){this.a=n}function kg(n){this.a=n}function jg(n){this.a=n}function Eg(n){this.a=n}function Tg(n){this.a=n}function Mg(n){this.a=n}function Sg(n){this.a=n}function Pg(n){this.a=n}function Cg(n){this.a=n}function Ig(n){this.a=n}function Og(n){this.a=n}function Ag(n){this.a=n}function $g(n){this.a=n}function Lg(n){this.a=n}function Ng(n){this.a=n}function xg(n){this.a=n}function Dg(n){this.a=n}function Rg(n){this.a=n}function _g(n){this.a=n}function Kg(n){this.a=n}function Fg(n){this.a=n}function Bg(n){this.a=n}function Hg(n){this.a=n}function qg(n){this.a=n}function Gg(n){this.a=n}function zg(n){this.a=n}function Ug(n){this.a=n}function Xg(n){this.a=n}function Wg(n){this.a=n}function Vg(n){this.a=n}function Qg(n){this.a=n}function Jg(n){this.a=n}function Yg(n){this.a=n}function Zg(n){this.a=n}function np(n){this.a=n}function tp(n){this.a=n}function ep(n){this.a=n}function ip(n){this.a=n}function rp(n){this.a=n}function cp(n){this.b=n}function ap(n){this.f=n}function up(n){this.a=n}function op(n){this.a=n}function sp(n){this.a=n}function hp(n){this.a=n}function fp(n){this.a=n}function lp(n){this.a=n}function bp(n){this.a=n}function wp(n){this.a=n}function dp(n){this.a=n}function gp(n){this.a=n}function pp(n){this.a=n}function vp(n){this.b=n}function mp(n){this.c=n}function yp(n){this.e=n}function kp(n){this.a=n}function jp(n){this.a=n}function Ep(n){this.a=n}function Tp(n){this.a=n}function Mp(n){this.a=n}function Sp(n){this.d=n}function Pp(n){this.a=n}function Cp(n){this.a=n}function Ip(n){this.e=n}function Op(){this.a=0}function Ap(){NA(this)}function $p(){LA(this)}function Lp(){OU(this)}function Np(){lV(this)}function xp(){}function Dp(){this.c=O$t}function Rp(n,t){t.Wb(n)}function _p(n,t){n.b+=t}function Kp(n){n.b=new ak}function Fp(n){return n.e}function Bp(n){return n.a}function Hp(n){return n.a}function qp(n){return n.a}function Gp(n){return n.a}function zp(n){return n.a}function Up(){return null}function Xp(){return null}function Wp(){rE(),bXn()}function Vp(n){n.b.tf(n.e)}function Qp(n,t){n.b=t-n.b}function Jp(n,t){n.a=t-n.a}function Yp(n,t){t.ad(n.a)}function Zp(n,t){BCn(t,n)}function nv(n,t,e){n.Od(e,t)}function tv(n,t){n.e=t,t.b=n}function ev(n){uK(),this.a=n}function iv(n){uK(),this.a=n}function rv(n){uK(),this.a=n}function cv(n){UX(),this.a=n}function av(n){MJ(),ntt.be(n)}function uv(){wN.call(this)}function ov(){wN.call(this)}function sv(){uv.call(this)}function hv(){uv.call(this)}function fv(){uv.call(this)}function lv(){uv.call(this)}function bv(){uv.call(this)}function wv(){uv.call(this)}function dv(){uv.call(this)}function gv(){uv.call(this)}function pv(){uv.call(this)}function vv(){uv.call(this)}function mv(){uv.call(this)}function yv(){this.a=this}function kv(){this.Bb|=256}function jv(){this.b=new MO}function Ev(){Ev=O,new Lp}function Tv(){sv.call(this)}function Mv(n,t){n.length=t}function Sv(n,t){UB(n.a,t)}function Pv(n,t){GSn(n.c,t)}function Cv(n,t){jU(n.b,t)}function Iv(n,t){Pvn(n.a,t)}function Ov(n,t){Cln(n.a,t)}function Av(n,t){fan(n.e,t)}function $v(n){IOn(n.c,n.b)}function Lv(n,t){n.kc().Nb(t)}function Nv(n){this.a=wbn(n)}function xv(){this.a=new Lp}function Dv(){this.a=new Lp}function Rv(){this.a=new $p}function _v(){this.a=new $p}function Kv(){this.a=new $p}function Fv(){this.a=new kn}function Bv(){this.a=new m6}function Hv(){this.a=new bt}function qv(){this.a=new UT}function Gv(){this.a=new N0}function zv(){this.a=new iZ}function Uv(){this.a=new IR}function Xv(){this.a=new $p}function Wv(){this.a=new $p}function Vv(){this.a=new $p}function Qv(){this.a=new $p}function Jv(){this.d=new $p}function Yv(){this.a=new xv}function Zv(){this.a=new Lp}function nm(){this.b=new Lp}function tm(){this.b=new $p}function em(){this.e=new $p}function im(){this.d=new $p}function rm(){this.a=new cf}function cm(){$p.call(this)}function am(){Rv.call(this)}function um(){$R.call(this)}function om(){Wv.call(this)}function sm(){hm.call(this)}function hm(){xp.call(this)}function fm(){xp.call(this)}function lm(){fm.call(this)}function bm(){bJ.call(this)}function wm(){bJ.call(this)}function dm(){Um.call(this)}function gm(){Um.call(this)}function pm(){Um.call(this)}function vm(){Xm.call(this)}function mm(){VT.call(this)}function ym(){eo.call(this)}function km(){eo.call(this)}function jm(){Ym.call(this)}function Em(){Ym.call(this)}function Tm(){Lp.call(this)}function Mm(){Lp.call(this)}function Sm(){Lp.call(this)}function Pm(){xv.call(this)}function Cm(){yin.call(this)}function Im(){kv.call(this)}function Om(){CL.call(this)}function Am(){CL.call(this)}function $m(){Lp.call(this)}function Lm(){Lp.call(this)}function Nm(){Lp.call(this)}function xm(){yo.call(this)}function Dm(){yo.call(this)}function Rm(){xm.call(this)}function _m(){Dh.call(this)}function Km(n){btn.call(this,n)}function Fm(n){btn.call(this,n)}function Bm(n){Wf.call(this,n)}function Hm(n){ET.call(this,n)}function qm(n){Hm.call(this,n)}function Gm(n){ET.call(this,n)}function zm(){this.a=new VT}function Um(){this.a=new xv}function Xm(){this.a=new Lp}function Wm(){this.a=new $p}function Vm(){this.j=new $p}function Qm(){this.a=new Xa}function Jm(){this.a=new AE}function Ym(){this.a=new mo}function Zm(){Zm=O,Rnt=new Lk}function ny(){ny=O,Dnt=new $k}function ty(){ty=O,Cnt=new c}function ey(){ey=O,qnt=new iN}function iy(n){Hm.call(this,n)}function ry(n){Hm.call(this,n)}function cy(n){b4.call(this,n)}function ay(n){b4.call(this,n)}function uy(n){X_.call(this,n)}function oy(n){vSn.call(this,n)}function sy(n){ST.call(this,n)}function hy(n){CT.call(this,n)}function fy(n){CT.call(this,n)}function ly(n){CT.call(this,n)}function by(n){sz.call(this,n)}function wy(n){by.call(this,n)}function dy(){Ml.call(this,{})}function gy(n){SL(),this.a=n}function py(n){n.b=null,n.c=0}function vy(n,t){n.e=t,Sxn(n,t)}function my(n,t){n.a=t,rCn(n)}function yy(n,t,e){n.a[t.g]=e}function ky(n,t,e){ljn(e,n,t)}function jy(n,t){JR(t.i,n.n)}function Ey(n,t){usn(n).td(t)}function Ty(n,t){return n*n/t}function My(n,t){return n.g-t.g}function Sy(n){return new Tl(n)}function Py(n){return new HX(n)}function Cy(n){by.call(this,n)}function Iy(n){by.call(this,n)}function Oy(n){by.call(this,n)}function Ay(n){sz.call(this,n)}function $y(n){Rcn(),this.a=n}function Ly(n){rK(),this.a=n}function Ny(n){_G(),this.f=n}function xy(n){_G(),this.f=n}function Dy(n){by.call(this,n)}function Ry(n){by.call(this,n)}function _y(n){by.call(this,n)}function Ky(n){by.call(this,n)}function Fy(n){by.call(this,n)}function By(n){return mW(n),n}function Hy(n){return mW(n),n}function qy(n){return mW(n),n}function Gy(n){return mW(n),n}function zy(n){return mW(n),n}function Uy(n){return n.b==n.c}function Xy(n){return!!n&&n.b}function Wy(n){return!!n&&n.k}function Vy(n){return!!n&&n.j}function Qy(n){mW(n),this.a=n}function Jy(n){return Jon(n),n}function Yy(n){gU(n,n.length)}function Zy(n){by.call(this,n)}function nk(n){by.call(this,n)}function tk(n){by.call(this,n)}function ek(n){by.call(this,n)}function ik(n){by.call(this,n)}function rk(n){by.call(this,n)}function ck(n){JN.call(this,n,0)}function ak(){a1.call(this,12,3)}function uk(){uk=O,Znt=new j}function ok(){ok=O,Vnt=new r}function sk(){sk=O,ett=new g}function hk(){hk=O,ott=new v}function fk(){throw Fp(new dv)}function lk(){throw Fp(new dv)}function bk(){throw Fp(new dv)}function wk(){throw Fp(new dv)}function dk(){throw Fp(new dv)}function gk(){throw Fp(new dv)}function pk(){this.a=TD(vX(_Wn))}function vk(n){uK(),this.a=vX(n)}function mk(n,t){n.Td(t),t.Sd(n)}function yk(n,t){n.a.ec().Mc(t)}function kk(n,t,e){n.c.lf(t,e)}function jk(n){Iy.call(this,n)}function Ek(n){Ry.call(this,n)}function Tk(){Ib.call(this,"")}function Mk(){Ib.call(this,"")}function Sk(){Ib.call(this,"")}function Pk(){Ib.call(this,"")}function Ck(n){Iy.call(this,n)}function Ik(n){Fb.call(this,n)}function Ok(n){fN.call(this,n)}function Ak(n){Ik.call(this,n)}function $k(){Zf.call(this,null)}function Lk(){Zf.call(this,null)}function Nk(){Nk=O,MJ()}function xk(){xk=O,met=pEn()}function Dk(n){return n.a?n.b:0}function Rk(n){return n.a?n.b:0}function _k(n,t){return n.a-t.a}function Kk(n,t){return n.a-t.a}function Fk(n,t){return n.a-t.a}function Bk(n,t){return p7(n,t)}function Hk(n,t){return wZ(n,t)}function qk(n,t){return t in n.a}function Gk(n,t){return n.f=t,n}function zk(n,t){return n.b=t,n}function Uk(n,t){return n.c=t,n}function Xk(n,t){return n.g=t,n}function Wk(n,t){return n.a=t,n}function Vk(n,t){return n.f=t,n}function Qk(n,t){return n.k=t,n}function Jk(n,t){return n.a=t,n}function Yk(n,t){return n.e=t,n}function Zk(n,t){return n.e=t,n}function nj(n,t){return n.f=t,n}function tj(n,t){n.b=!0,n.d=t}function ej(n,t){n.b=new lA(t)}function ij(n,t,e){t.td(n.a[e])}function rj(n,t,e){t.we(n.a[e])}function cj(n,t){return n.b-t.b}function aj(n,t){return n.g-t.g}function uj(n,t){return n.s-t.s}function oj(n,t){return n?0:t-1}function sj(n,t){return n?0:t-1}function hj(n,t){return n?t-1:0}function fj(n,t){return t.Yf(n)}function lj(n,t){return n.b=t,n}function bj(n,t){return n.a=t,n}function wj(n,t){return n.c=t,n}function dj(n,t){return n.d=t,n}function gj(n,t){return n.e=t,n}function pj(n,t){return n.f=t,n}function vj(n,t){return n.a=t,n}function mj(n,t){return n.b=t,n}function yj(n,t){return n.c=t,n}function kj(n,t){return n.c=t,n}function jj(n,t){return n.b=t,n}function Ej(n,t){return n.d=t,n}function Tj(n,t){return n.e=t,n}function Mj(n,t){return n.f=t,n}function Sj(n,t){return n.g=t,n}function Pj(n,t){return n.a=t,n}function Cj(n,t){return n.i=t,n}function Ij(n,t){return n.j=t,n}function Oj(n,t){return n.k=t,n}function Aj(n,t){return n.j=t,n}function $j(n,t){RMn(),SZ(t,n)}function Lj(n,t,e){HG(n.a,t,e)}function Nj(n){KV.call(this,n)}function xj(n){KV.call(this,n)}function Dj(n){Y_.call(this,n)}function Rj(n){Bbn.call(this,n)}function _j(n){wtn.call(this,n)}function Kj(n){dQ.call(this,n)}function Fj(n){dQ.call(this,n)}function Bj(){C$.call(this,"")}function Hj(){this.a=0,this.b=0}function qj(){this.b=0,this.a=0}function Gj(n,t){n.b=0,$en(n,t)}function zj(n,t){n.c=t,n.b=!0}function Uj(n,t){return n.c._b(t)}function Xj(n){return n.e&&n.e()}function Wj(n){return n?n.d:null}function Vj(n,t){return wfn(n.b,t)}function Qj(n){return n?n.g:null}function Jj(n){return n?n.i:null}function Yj(n){return kD(n),n.o}function Zj(){Zj=O,bOt=zkn()}function nE(){nE=O,wOt=aTn()}function tE(){tE=O,JAt=Xkn()}function eE(){eE=O,lLt=Ukn()}function iE(){iE=O,bLt=tCn()}function rE(){rE=O,sAt=iin()}function cE(){throw Fp(new dv)}function aE(){throw Fp(new dv)}function uE(){throw Fp(new dv)}function oE(){throw Fp(new dv)}function sE(){throw Fp(new dv)}function hE(){throw Fp(new dv)}function fE(n){this.a=new zT(n)}function lE(n){hUn(),NXn(this,n)}function bE(n){this.a=new Uz(n)}function wE(n,t){for(;n.ye(t););}function dE(n,t){for(;n.sd(t););}function gE(n,t){return n.a+=t,n}function pE(n,t){return n.a+=t,n}function vE(n,t){return n.a+=t,n}function mE(n,t){return n.a+=t,n}function yE(n){return kW(n),n.a}function kE(n){return n.b!=n.d.c}function jE(n){return n.l|n.m<<22}function EE(n,t){return n.d[t.p]}function TE(n,t){return Txn(n,t)}function ME(n,t,e){n.splice(t,e)}function SE(n){n.c?$Dn(n):LDn(n)}function PE(n){this.a=0,this.b=n}function CE(){this.a=new SNn(tjt)}function IE(){this.b=new SNn(Byt)}function OE(){this.b=new SNn(UEt)}function AE(){this.b=new SNn(UEt)}function $E(){throw Fp(new dv)}function LE(){throw Fp(new dv)}function NE(){throw Fp(new dv)}function xE(){throw Fp(new dv)}function DE(){throw Fp(new dv)}function RE(){throw Fp(new dv)}function _E(){throw Fp(new dv)}function KE(){throw Fp(new dv)}function FE(){throw Fp(new dv)}function BE(){throw Fp(new dv)}function HE(){throw Fp(new vv)}function qE(){throw Fp(new vv)}function GE(n){this.a=new zE(n)}function zE(n){Hin(this,n,CEn())}function UE(n){return!n||dW(n)}function XE(n){return-1!=zLt[n]}function WE(){0!=itt&&(itt=0),ctt=-1}function VE(){null==MWn&&(MWn=[])}function QE(n,t){ZOn(WQ(n.a),t)}function JE(n,t){ZOn(WQ(n.a),t)}function YE(n,t){FL.call(this,n,t)}function ZE(n,t){YE.call(this,n,t)}function nT(n,t){this.b=n,this.c=t}function tT(n,t){this.b=n,this.a=t}function eT(n,t){this.a=n,this.b=t}function iT(n,t){this.a=n,this.b=t}function rT(n,t){this.a=n,this.b=t}function cT(n,t){this.a=n,this.b=t}function aT(n,t){this.a=n,this.b=t}function uT(n,t){this.a=n,this.b=t}function oT(n,t){this.a=n,this.b=t}function sT(n,t){this.a=n,this.b=t}function hT(n,t){this.b=n,this.a=t}function fT(n,t){this.b=n,this.a=t}function lT(n,t){this.b=n,this.a=t}function bT(n,t){this.b=n,this.a=t}function wT(n,t){this.f=n,this.g=t}function dT(n,t){this.e=n,this.d=t}function gT(n,t){this.g=n,this.i=t}function pT(n,t){this.a=n,this.b=t}function vT(n,t){this.a=n,this.f=t}function mT(n,t){this.b=n,this.c=t}function yT(n,t){this.a=n,this.b=t}function kT(n,t){this.a=n,this.b=t}function jT(n,t){this.a=n,this.b=t}function ET(n){rN(n.dc()),this.c=n}function TT(n){this.b=KB(vX(n),83)}function MT(n){this.a=KB(vX(n),83)}function ST(n){this.a=KB(vX(n),15)}function PT(n){this.a=KB(vX(n),15)}function CT(n){this.b=KB(vX(n),47)}function IT(){this.q=new i.Date}function OT(){OT=O,Ktt=new A}function AT(){AT=O,het=new P}function $T(n){return n.f.c+n.g.c}function LT(n,t){return n.b.Hc(t)}function NT(n,t){return n.b.Ic(t)}function xT(n,t){return n.b.Qc(t)}function DT(n,t){return n.b.Hc(t)}function RT(n,t){return n.c.uc(t)}function _T(n,t){return n.a._b(t)}function KT(n,t){return $fn(n.c,t)}function FT(n,t){return oU(n.b,t)}function BT(n,t){return n>t&&t<CVn}function HT(n,t){return n.Gc(t),n}function qT(n,t){return _rn(n,t),n}function GT(n){return zX(),n?utt:att}function zT(n){Yun.call(this,n,0)}function UT(){Uz.call(this,null)}function XT(){K8.call(this,null)}function WT(n){this.c=n,Inn(this)}function VT(){M$(this),vQ(this)}function QT(n,t){kW(n),n.a.Nb(t)}function JT(n,t){return n.Gc(t),n}function YT(n,t){return n.a.f=t,n}function ZT(n,t){return n.a.d=t,n}function nM(n,t){return n.a.g=t,n}function tM(n,t){return n.a.j=t,n}function eM(n,t){return n.a.a=t,n}function iM(n,t){return n.a.d=t,n}function rM(n,t){return n.a.e=t,n}function cM(n,t){return n.a.g=t,n}function aM(n,t){return n.a.f=t,n}function uM(n){return n.b=!1,n}function oM(){oM=O,Met=new SO}function sM(){sM=O,Set=new PO}function hM(){hM=O,Fet=new U}function fM(){fM=O,gut=new _t}function lM(){lM=O,ect=new Px}function bM(){bM=O,Zet=new hn}function wM(){wM=O,mut=new Kt}function dM(){dM=O,uit=new dn}function gM(){gM=O,Hat=new yt}function pM(){pM=O,_ut=new Hj}function vM(){vM=O,qat=new Pt}function mM(){mM=O,Xat=new NG}function yM(){yM=O,out=new Mt}function kM(){kM=O,Kut=new be}function jM(){jM=O,Yot=new Je}function EM(){EM=O,lst=new Lr}function TM(){TM=O,Wst=new rc}function MM(){MM=O,Ukt=new K2}function SM(){SM=O,zEt=new AM}function PM(){PM=O,WEt=new gD}function CM(){CM=O,HTt=new zW}function IM(){IM=O,Upt=new Wu}function OM(){Tin(),this.c=new ak}function AM(){wT.call(this,F1n,0)}function $M(n,t){Qgn(n.c.b,t.c,t)}function LM(n,t){Qgn(n.c.c,t.b,t)}function NM(n,t,e){pZ(n.d,t.f,e)}function xM(n,t,e,i){Qpn(n,i,t,e)}function DM(n,t,e,i){cNn(i,n,t,e)}function RM(n,t,e,i){aUn(i,n,t,e)}function _M(n,t){return n.a=t.g,n}function KM(n,t){return nkn(n.a,t)}function FM(n){return n.b?n.b:n.a}function BM(n){return(n.c+n.a)/2}function HM(){HM=O,hOt=new to}function qM(){qM=O,SOt=new ho}function GM(){GM=O,NAt=new Mm}function zM(){zM=O,qAt=new Sm}function UM(){UM=O,HAt=new $m}function XM(){XM=O,QAt=new Nm}function WM(){WM=O,A$t=new q$}function VM(){VM=O,$$t=new G$}function QM(){QM=O,tLt=new Ns}function JM(){JM=O,iLt=new xs}function YM(){YM=O,gAt=new Lp}function ZM(){ZM=O,U$t=new $p}function nS(){nS=O,jNt=new _h}function tS(n){i.clearTimeout(n)}function eS(n){this.a=KB(vX(n),224)}function iS(n){return KB(n,42).cd()}function rS(n){return n.b<n.d.gc()}function cS(n,t){return SG(n.a,t)}function aS(n,t){return Xhn(n,t)>0}function uS(n,t){return Xhn(n,t)<0}function oS(n,t){return n.a.get(t)}function sS(n,t){return t.split(n)}function hS(n,t){return oU(n.e,t)}function fS(n){return mW(n),!1}function lS(n){l1.call(this,n,21)}function bS(n,t){RY.call(this,n,t)}function wS(n,t){wT.call(this,n,t)}function dS(n,t){wT.call(this,n,t)}function gS(n){XX(),X_.call(this,n)}function pS(n,t){yG(n,n.length,t)}function vS(n,t){WU(n,n.length,t)}function mS(n,t,e){t.ud(n.a.Ge(e))}function yS(n,t,e){t.we(n.a.Fe(e))}function kS(n,t,e){t.td(n.a.Kb(e))}function jS(n,t,e){n.Mb(e)&&t.td(e)}function ES(n,t,e){n.splice(t,0,e)}function TS(n,t){return TN(n.e,t)}function MS(n,t){this.d=n,this.e=t}function SS(n,t){this.b=n,this.a=t}function PS(n,t){this.b=n,this.a=t}function CS(n,t){this.b=n,this.a=t}function IS(n,t){this.a=n,this.b=t}function OS(n,t){this.a=n,this.b=t}function AS(n,t){this.a=n,this.b=t}function $S(n,t){this.a=n,this.b=t}function LS(n,t){this.a=n,this.b=t}function NS(n,t){this.b=n,this.a=t}function xS(n,t){this.b=n,this.a=t}function DS(n,t){wT.call(this,n,t)}function RS(n,t){wT.call(this,n,t)}function _S(n,t){wT.call(this,n,t)}function KS(n,t){wT.call(this,n,t)}function FS(n,t){wT.call(this,n,t)}function BS(n,t){wT.call(this,n,t)}function HS(n,t){wT.call(this,n,t)}function qS(n,t){wT.call(this,n,t)}function GS(n,t){wT.call(this,n,t)}function zS(n,t){wT.call(this,n,t)}function US(n,t){wT.call(this,n,t)}function XS(n,t){wT.call(this,n,t)}function WS(n,t){wT.call(this,n,t)}function VS(n,t){wT.call(this,n,t)}function QS(n,t){wT.call(this,n,t)}function JS(n,t){wT.call(this,n,t)}function YS(n,t){wT.call(this,n,t)}function ZS(n,t){wT.call(this,n,t)}function nP(n,t){this.a=n,this.b=t}function tP(n,t){this.a=n,this.b=t}function eP(n,t){this.a=n,this.b=t}function iP(n,t){this.a=n,this.b=t}function rP(n,t){this.a=n,this.b=t}function cP(n,t){this.a=n,this.b=t}function aP(n,t){this.a=n,this.b=t}function uP(n,t){this.a=n,this.b=t}function oP(n,t){this.a=n,this.b=t}function sP(n,t){this.b=n,this.a=t}function hP(n,t){this.b=n,this.a=t}function fP(n,t){this.b=n,this.a=t}function lP(n,t){this.b=n,this.a=t}function bP(n,t){this.c=n,this.d=t}function wP(n,t){this.e=n,this.d=t}function dP(n,t){this.a=n,this.b=t}function gP(n,t){this.b=t,this.c=n}function pP(n,t){wT.call(this,n,t)}function vP(n,t){wT.call(this,n,t)}function mP(n,t){wT.call(this,n,t)}function yP(n,t){wT.call(this,n,t)}function kP(n,t){wT.call(this,n,t)}function jP(n,t){wT.call(this,n,t)}function EP(n,t){wT.call(this,n,t)}function TP(n,t){wT.call(this,n,t)}function MP(n,t){wT.call(this,n,t)}function SP(n,t){wT.call(this,n,t)}function PP(n,t){wT.call(this,n,t)}function CP(n,t){wT.call(this,n,t)}function IP(n,t){wT.call(this,n,t)}function OP(n,t){wT.call(this,n,t)}function AP(n,t){wT.call(this,n,t)}function $P(n,t){wT.call(this,n,t)}function LP(n,t){wT.call(this,n,t)}function NP(n,t){wT.call(this,n,t)}function xP(n,t){wT.call(this,n,t)}function DP(n,t){wT.call(this,n,t)}function RP(n,t){wT.call(this,n,t)}function _P(n,t){wT.call(this,n,t)}function KP(n,t){wT.call(this,n,t)}function FP(n,t){wT.call(this,n,t)}function BP(n,t){wT.call(this,n,t)}function HP(n,t){wT.call(this,n,t)}function qP(n,t){wT.call(this,n,t)}function GP(n,t){wT.call(this,n,t)}function zP(n,t){wT.call(this,n,t)}function UP(n,t){wT.call(this,n,t)}function XP(n,t){wT.call(this,n,t)}function WP(n,t){wT.call(this,n,t)}function VP(n,t){wT.call(this,n,t)}function QP(n,t){wT.call(this,n,t)}function JP(n,t){this.b=n,this.a=t}function YP(n,t){this.a=n,this.b=t}function ZP(n,t){this.a=n,this.b=t}function nC(n,t){this.a=n,this.b=t}function tC(n,t){this.a=n,this.b=t}function eC(n,t){wT.call(this,n,t)}function iC(n,t){wT.call(this,n,t)}function rC(n,t){this.b=n,this.d=t}function cC(n,t){wT.call(this,n,t)}function aC(n,t){wT.call(this,n,t)}function uC(n,t){this.a=n,this.b=t}function oC(n,t){this.a=n,this.b=t}function sC(n,t){wT.call(this,n,t)}function hC(n,t){wT.call(this,n,t)}function fC(n,t){wT.call(this,n,t)}function lC(n,t){wT.call(this,n,t)}function bC(n,t){wT.call(this,n,t)}function wC(n,t){wT.call(this,n,t)}function dC(n,t){wT.call(this,n,t)}function gC(n,t){wT.call(this,n,t)}function pC(n,t){wT.call(this,n,t)}function vC(n,t){wT.call(this,n,t)}function mC(n,t){wT.call(this,n,t)}function yC(n,t){wT.call(this,n,t)}function kC(n,t){wT.call(this,n,t)}function jC(n,t){wT.call(this,n,t)}function EC(n,t){wT.call(this,n,t)}function TC(n,t){wT.call(this,n,t)}function MC(n,t){return TN(n.c,t)}function SC(n,t){return TN(t.b,n)}function PC(n,t){return-n.b.Je(t)}function CC(n,t){return TN(n.g,t)}function IC(n,t){wT.call(this,n,t)}function OC(n,t){wT.call(this,n,t)}function AC(n,t){this.a=n,this.b=t}function $C(n,t){this.a=n,this.b=t}function LC(n,t){this.a=n,this.b=t}function NC(n,t){wT.call(this,n,t)}function xC(n,t){wT.call(this,n,t)}function DC(n,t){wT.call(this,n,t)}function RC(n,t){wT.call(this,n,t)}function _C(n,t){wT.call(this,n,t)}function KC(n,t){wT.call(this,n,t)}function FC(n,t){wT.call(this,n,t)}function BC(n,t){wT.call(this,n,t)}function HC(n,t){wT.call(this,n,t)}function qC(n,t){wT.call(this,n,t)}function GC(n,t){wT.call(this,n,t)}function zC(n,t){wT.call(this,n,t)}function UC(n,t){wT.call(this,n,t)}function XC(n,t){wT.call(this,n,t)}function WC(n,t){wT.call(this,n,t)}function VC(n,t){wT.call(this,n,t)}function QC(n,t){this.a=n,this.b=t}function JC(n,t){this.a=n,this.b=t}function YC(n,t){this.a=n,this.b=t}function ZC(n,t){this.a=n,this.b=t}function nI(n,t){this.a=n,this.b=t}function tI(n,t){this.a=n,this.b=t}function eI(n,t){this.a=n,this.b=t}function iI(n,t){wT.call(this,n,t)}function rI(n,t){this.a=n,this.b=t}function cI(n,t){this.a=n,this.b=t}function aI(n,t){this.a=n,this.b=t}function uI(n,t){this.a=n,this.b=t}function oI(n,t){this.a=n,this.b=t}function sI(n,t){this.a=n,this.b=t}function hI(n,t){this.b=n,this.a=t}function fI(n,t){this.b=n,this.a=t}function lI(n,t){this.b=n,this.a=t}function bI(n,t){this.b=n,this.a=t}function wI(n,t){this.a=n,this.b=t}function dI(n,t){this.a=n,this.b=t}function gI(n,t){QLn(n.a,KB(t,56))}function pI(n,t){g7(n.a,KB(t,11))}function vI(n,t){return oH(),t!=n}function mI(){return xk(),new met}function yI(){BZ(),this.b=new xv}function kI(){bxn(),this.a=new xv}function jI(){DZ(),DG.call(this)}function EI(n,t){wT.call(this,n,t)}function TI(n,t){this.a=n,this.b=t}function MI(n,t){this.a=n,this.b=t}function SI(n,t){this.a=n,this.b=t}function PI(n,t){this.a=n,this.b=t}function CI(n,t){this.a=n,this.b=t}function II(n,t){this.a=n,this.b=t}function OI(n,t){this.d=n,this.b=t}function AI(n,t){this.d=n,this.e=t}function $I(n,t){this.f=n,this.c=t}function LI(n,t){this.b=n,this.c=t}function NI(n,t){this.i=n,this.g=t}function xI(n,t){this.e=n,this.a=t}function DI(n,t){this.a=n,this.b=t}function RI(n,t){n.i=null,rrn(n,t)}function _I(n,t){n&&XW(cAt,n,t)}function KI(n,t){return edn(n.a,t)}function FI(n){return rdn(n.c,n.b)}function BI(n){return n?n.dd():null}function HI(n){return null==n?null:n}function qI(n){return typeof n===OWn}function GI(n){return typeof n===AWn}function zI(n){return typeof n===$Wn}function UI(n,t){return n.Hd().Xb(t)}function XI(n,t){return Wcn(n.Kc(),t)}function WI(n,t){return 0==Xhn(n,t)}function VI(n,t){return Xhn(n,t)>=0}function QI(n,t){return 0!=Xhn(n,t)}function JI(n){return""+(mW(n),n)}function YI(n,t){return n.substr(t)}function ZI(n){return qbn(n),n.d.gc()}function nO(n){return qOn(n,n.c),n}function tO(n){return QH(null==n),n}function eO(n,t){return n.a+=""+t,n}function iO(n,t){return n.a+=""+t,n}function rO(n,t){return n.a+=""+t,n}function cO(n,t){return n.a+=""+t,n}function aO(n,t){return n.a+=""+t,n}function uO(n,t){return n.a+=""+t,n}function oO(n,t){e5(n,t,n.a,n.a.a)}function sO(n,t){e5(n,t,n.c.b,n.c)}function hO(n,t,e){Djn(t,xPn(n,e))}function fO(n,t,e){Djn(t,xPn(n,e))}function lO(n,t){jnn(new IL(n),t)}function bO(n,t){n.q.setTime(y2(t))}function wO(n,t){qz.call(this,n,t)}function dO(n,t){qz.call(this,n,t)}function gO(n,t){qz.call(this,n,t)}function pO(n){OU(this),jcn(this,n)}function vO(n){return h1(n,0),null}function mO(n){return n.a=0,n.b=0,n}function yO(n,t){return n.a=t.g+1,n}function kO(n,t){return 2==n.j[t.p]}function jO(n){return uX(KB(n,79))}function EO(){EO=O,Irt=hhn(Zgn())}function TO(){TO=O,Jot=hhn(kNn())}function MO(){this.b=new zT(ntn(12))}function SO(){this.b=0,this.a=!1}function PO(){this.b=0,this.a=!1}function CO(n){this.a=n,Kh.call(this)}function IO(n){this.a=n,Kh.call(this)}function OO(n,t){tR.call(this,n,t)}function AO(n,t){ZR.call(this,n,t)}function $O(n,t){NI.call(this,n,t)}function LO(n,t){Ian.call(this,n,t)}function NO(n,t){WN.call(this,n,t)}function xO(n,t){YM(),XW(gAt,n,t)}function DO(n,t){return sx(n.a,0,t)}function RO(n,t){return n.a.a.a.cc(t)}function _O(n,t){return HI(n)===HI(t)}function KO(n,t){return Mln(n.a,t.a)}function FO(n,t){return k$(n.a,t.a)}function BO(n,t){return _U(n.a,t.a)}function HO(n,t){return n.indexOf(t)}function qO(n,t){return n==t?0:n?1:-1}function GO(n){return n<10?"0"+n:""+n}function zO(n){return vX(n),new CO(n)}function UO(n){return E$(n.l,n.m,n.h)}function XO(n){return SY((mW(n),n))}function WO(n){return SY((mW(n),n))}function VO(n,t){return k$(n.g,t.g)}function QO(n){return typeof n===AWn}function JO(n){return n==Jat||n==nut}function YO(n){return n==Jat||n==Yat}function ZO(n){return k7(n.b.b,n,0)}function nA(n){this.a=mI(),this.b=n}function tA(n){this.a=mI(),this.b=n}function eA(n,t){return UB(n.a,t),t}function iA(n,t){return UB(n.c,t),n}function rA(n,t){return Qcn(n.a,t),n}function cA(n,t){return HK(),t.a+=n}function aA(n,t){return HK(),t.a+=n}function uA(n,t){return HK(),t.c+=n}function oA(n,t){q9(n,0,n.length,t)}function sA(){nw.call(this,new g4)}function hA(){cG.call(this,0,0,0,0)}function fA(){GV.call(this,0,0,0,0)}function lA(n){this.a=n.a,this.b=n.b}function bA(n){return n==RPt||n==_Pt}function wA(n){return n==FPt||n==DPt}function dA(n){return n==svt||n==ovt}function gA(n){return n!=WCt&&n!=VCt}function pA(n){return n.Lg()&&n.Mg()}function vA(n){return pV(KB(n,118))}function mA(n){return Qcn(new K2,n)}function yA(n,t){return new Ian(t,n)}function kA(n,t){return new Ian(t,n)}function jA(n,t,e){yen(n,t),ken(n,e)}function EA(n,t,e){Ten(n,t),Een(n,e)}function TA(n,t,e){Men(n,t),Sen(n,e)}function MA(n,t,e){jen(n,t),Cen(n,e)}function SA(n,t,e){Pen(n,t),Ien(n,e)}function PA(n,t){Nsn(n,t),Len(n,n.D)}function CA(n){$I.call(this,n,!0)}function IA(n,t,e){$D.call(this,n,t,e)}function OA(n){CDn(),uan.call(this,n)}function AA(){wS.call(this,"Head",1)}function $A(){wS.call(this,"Tail",3)}function LA(n){n.c=L8(Int,FWn,1,0,5,1)}function NA(n){n.a=L8(Int,FWn,1,8,5,1)}function xA(n){Ctn(n.xf(),new Tw(n))}function DA(n){return null!=n?Yon(n):0}function RA(n,t){return Stn(t,UY(n))}function _A(n,t){return Stn(t,UY(n))}function KA(n,t){return n[n.length]=t}function FA(n,t){return n[n.length]=t}function BA(n){return _B(n.b.Kc(),n.a)}function HA(n,t){return Gin(MX(n.d),t)}function qA(n,t){return Gin(MX(n.g),t)}function GA(n,t){return Gin(MX(n.j),t)}function zA(n,t){tR.call(this,n.b,t)}function UA(n){cG.call(this,n,n,n,n)}function XA(n){return n.b&&XBn(n),n.a}function WA(n){return n.b&&XBn(n),n.c}function VA(n,t){Wet||(n.b=t)}function QA(n,t,e){return OX(n,t,e),e}function JA(n,t,e){OX(n.c[t.g],t.g,e)}function YA(n,t,e){KB(n.c,69).Xh(t,e)}function ZA(n,t,e){TA(e,e.i+n,e.j+t)}function n$(n,t){s9(r4(n.a),n1(t))}function t$(n,t){s9(F7(n.a),t1(t))}function e$(n){lWn(),Ip.call(this,n)}function i$(n){return null==n?0:Yon(n)}function r$(){r$=O,uyt=new Fbn(aCt)}function c$(){c$=O,new a$,new $p}function a$(){new Lp,new Lp,new Lp}function u$(){u$=O,Ev(),ttt=new Lp}function o$(){o$=O,i.Math.log(2)}function s$(){s$=O,qM(),N$t=SOt}function h$(){throw Fp(new Zy(jnt))}function f$(){throw Fp(new Zy(jnt))}function l$(){throw Fp(new Zy(Ent))}function b$(){throw Fp(new Zy(Ent))}function w$(n){this.a=n,WB.call(this,n)}function d$(n){this.a=n,TT.call(this,n)}function g$(n){this.a=n,TT.call(this,n)}function p$(n,t){vG(n.c,n.c.length,t)}function v$(n){return n.a<n.c.c.length}function m$(n){return n.a<n.c.a.length}function y$(n,t){return n.a?n.b:t.De()}function k$(n,t){return n<t?-1:n>t?1:0}function j$(n,t){return Xhn(n,t)>0?n:t}function E$(n,t,e){return{l:n,m:t,h:e}}function T$(n,t){null!=n.a&&pI(t,n.a)}function M$(n){n.a=new $,n.c=new $}function S$(n){this.b=n,this.a=new $p}function P$(n){this.b=new et,this.a=n}function C$(n){AR.call(this),this.a=n}function I$(){wS.call(this,"Range",2)}function O$(){Zkn(),this.a=new SNn(Gat)}function A$(n,t){vX(t),kV(n).Jc(new b)}function $$(n,t){return KZ(),t.n.b+=n}function L$(n,t,e){return XW(n.g,e,t)}function N$(n,t,e){return XW(n.k,e,t)}function x$(n,t){return XW(n.a,t.a,t)}function D$(n,t,e){return Pdn(t,e,n.c)}function R$(n){return new LC(n.c,n.d)}function _$(n){return new LC(n.c,n.d)}function K$(n){return new LC(n.a,n.b)}function F$(n,t){return ZGn(n.a,t,null)}function B$(n){TZ(n,null),EZ(n,null)}function H$(n){UZ(n,null),XZ(n,null)}function q$(){WN.call(this,null,null)}function G$(){VN.call(this,null,null)}function z$(n){this.a=n,Lp.call(this)}function U$(n){this.b=(TQ(),new zb(n))}function X$(n){n.j=L8(_tt,uVn,310,0,0,1)}function W$(n,t,e){n.c.Vc(t,KB(e,133))}function V$(n,t,e){n.c.ji(t,KB(e,133))}function Q$(n,t){uqn(n),n.Gc(KB(t,15))}function J$(n,t){return Kqn(n.c,n.b,t)}function Y$(n,t){return new dN(n.Kc(),t)}function Z$(n,t){return-1!=_un(n.Kc(),t)}function nL(n,t){return null!=n.a.Bc(t)}function tL(n){return n.Ob()?n.Pb():null}function eL(n){return Kdn(n,0,n.length)}function iL(n,t){return null!=n&&Wpn(n,t)}function rL(n,t){n.q.setHours(t),hBn(n,t)}function cL(n,t){n.c&&(xH(t),mY(t))}function aL(n,t,e){KB(n.Kb(e),164).Nb(t)}function uL(n,t,e){return FGn(n,t,e),e}function oL(n,t,e){n.a=1502^t,n.b=e^rJn}function sL(n,t,e){return n.a[t.g][e.g]}function hL(n,t){return n.a[t.c.p][t.p]}function fL(n,t){return n.e[t.c.p][t.p]}function lL(n,t){return n.c[t.c.p][t.p]}function bL(n,t){return n.j[t.p]=dLn(t)}function wL(n,t){return s6(n.f,t.tg())}function dL(n,t){return s6(n.b,t.tg())}function gL(n,t){return n.a<z_(t)?-1:1}function pL(n,t,e){return e?0!=t:t!=n-1}function vL(n,t,e){return n.a=t,n.b=e,n}function mL(n,t){return n.a*=t,n.b*=t,n}function yL(n,t,e){return OX(n.g,t,e),e}function kL(n,t,e,i){OX(n.a[t.g],e.g,i)}function jL(n,t){Rx(t,n.a.a.a,n.a.a.b)}function EL(n){n.a=KB(van(n.b.a,4),126)}function TL(n){n.a=KB(van(n.b.a,4),126)}function ML(n){CJ(n,t8n),FLn(n,PUn(n))}function SL(){SL=O,Tet=new gy(null)}function PL(){(PL=O)(),Oet=new z}function CL(){this.Bb|=256,this.Bb|=512}function IL(n){this.i=n,this.f=this.i.j}function OL(n,t,e){vH.call(this,n,t,e)}function AL(n,t,e){OL.call(this,n,t,e)}function $L(n,t,e){OL.call(this,n,t,e)}function LL(n,t,e){AL.call(this,n,t,e)}function NL(n,t,e){vH.call(this,n,t,e)}function xL(n,t,e){vH.call(this,n,t,e)}function DL(n,t,e){EH.call(this,n,t,e)}function RL(n,t,e){EH.call(this,n,t,e)}function _L(n,t,e){DL.call(this,n,t,e)}function KL(n,t,e){NL.call(this,n,t,e)}function FL(n,t){this.a=n,TT.call(this,t)}function BL(n,t){this.a=n,ck.call(this,t)}function HL(n,t){this.a=n,ck.call(this,t)}function qL(n,t){this.a=n,ck.call(this,t)}function GL(n){this.a=n,ol.call(this,n.d)}function zL(n){this.c=n,this.a=this.c.a}function UL(n,t){this.a=t,ck.call(this,n)}function XL(n,t){this.a=t,b4.call(this,n)}function WL(n,t){this.a=n,b4.call(this,t)}function VL(n,t){return lz(fz(n.c)).Xb(t)}function QL(n,t){return nbn(n,new Sk,t).a}function JL(n,t){return vX(t),new YL(n,t)}function YL(n,t){this.a=t,CT.call(this,n)}function ZL(n){this.b=n,this.a=this.b.a.e}function nN(n){n.b.Qb(),--n.d.f.d,OG(n.d)}function tN(n){Zf.call(this,KB(vX(n),35))}function eN(n){Zf.call(this,KB(vX(n),35))}function iN(){wT.call(this,"INSTANCE",0)}function rN(n){if(!n)throw Fp(new lv)}function cN(n){if(!n)throw Fp(new bv)}function aN(n){if(!n)throw Fp(new vv)}function uN(){uN=O,QM(),eLt=new _f}function oN(){oN=O,dtt=!1,gtt=!0}function sN(n){Ib.call(this,(mW(n),n))}function hN(n){Ib.call(this,(mW(n),n))}function fN(n){Fb.call(this,n),this.a=n}function lN(n){Bb.call(this,n),this.a=n}function bN(n){Ik.call(this,n),this.a=n}function wN(){X$(this),yQ(this),this._d()}function dN(n,t){this.a=t,CT.call(this,n)}function gN(n,t){return new DPn(n.a,n.b,t)}function pN(n,t){return n.lastIndexOf(t)}function vN(n,t,e){return n.indexOf(t,e)}function mN(n){return null==n?qWn:Kbn(n)}function yN(n){return null==n?null:n.name}function kN(n){return null!=n.a?n.a:null}function jN(n){return kE(n.a)?c1(n):null}function EN(n,t){return null!=OY(n.a,t)}function TN(n,t){return!!t&&n.b[t.g]==t}function MN(n){return n.$H||(n.$H=++iit)}function SN(n){return n.l+n.m*PQn+n.h*CQn}function PN(n,t){return UB(t.a,n.a),n.a}function CN(n,t){return UB(t.b,n.a),n.a}function IN(n,t){return UB(t.a,n.a),n.a}function ON(n){return Mx(null!=n.a),n.a}function AN(n){nw.call(this,new B8(n))}function $N(n,t){Tgn.call(this,n,t,null)}function LN(n){this.a=n,Kb.call(this,n)}function NN(){NN=O,Art=new tR(bYn,0)}function xN(n,t){return++n.b,UB(n.a,t)}function DN(n,t){return++n.b,v7(n.a,t)}function RN(n,t){return Mln(n.n.a,t.n.a)}function _N(n,t){return Mln(n.c.d,t.c.d)}function KN(n,t){return Mln(n.c.c,t.c.c)}function FN(n,t){return KB(o6(n.b,t),15)}function BN(n,t){return n.n.b=(mW(t),t)}function HN(n,t){return n.n.b=(mW(t),t)}function qN(n){return v$(n.a)||v$(n.b)}function GN(n,t,e){return d3(n,t,e,n.b)}function zN(n,t,e){return d3(n,t,e,n.c)}function UN(n,t,e){KB(N7(n,t),21).Fc(e)}function XN(n,t,e){Cln(n.a,e),Pvn(n.a,t)}function WN(n,t){WM(),this.a=n,this.b=t}function VN(n,t){VM(),this.b=n,this.c=t}function QN(n,t){_G(),this.f=t,this.d=n}function JN(n,t){l6(t,n),this.d=n,this.c=t}function YN(n){var t;t=n.a,n.a=n.b,n.b=t}function ZN(n){return HK(),!!n&&!n.dc()}function nx(n){return new o4(3,n)}function tx(n,t){return new f_(n,n.gc(),t)}function ex(n){return ey(),Snn((NZ(),znt),n)}function ix(n){this.d=n,IL.call(this,n)}function rx(n){this.c=n,IL.call(this,n)}function cx(n){this.c=n,ix.call(this,n)}function ax(){EM(),this.b=new vd(this)}function ux(n){return hin(n,IVn),new Q6(n)}function ox(n){return MJ(),parseInt(n)||-1}function sx(n,t,e){return n.substr(t,e-t)}function hx(n,t,e){return vN(n,VTn(t),e)}function fx(n){return XU(n.c,n.c.length)}function lx(n){return null!=n.f?n.f:""+n.g}function bx(n){return null!=n.f?n.f:""+n.g}function wx(n){return Mx(0!=n.b),n.a.a.c}function dx(n){return Mx(0!=n.b),n.c.b.c}function gx(n){iL(n,150)&&KB(n,150).Gh()}function px(n){return n.b=KB(pQ(n.a),42)}function vx(n){oM(),this.b=n,this.a=!0}function mx(n){sM(),this.b=n,this.a=!0}function yx(n){n.d=new Sx(n),n.e=new Lp}function kx(n){if(!n)throw Fp(new gv)}function jx(n){if(!n)throw Fp(new lv)}function Ex(n){if(!n)throw Fp(new bv)}function Tx(n){if(!n)throw Fp(new hv)}function Mx(n){if(!n)throw Fp(new vv)}function Sx(n){YB.call(this,n,null,null)}function Px(){wT.call(this,"POLYOMINO",0)}function Cx(n,t,e,i){uz.call(this,n,t,e,i)}function Ix(n,t){return RMn(),QIn(n,t.e,t)}function Ox(n,t,e){return IM(),e.qg(n,t)}function Ax(n,t){return!!n.q&&oU(n.q,t)}function $x(n,t){return n>0?t*t/n:t*t*100}function Lx(n,t){return n>0?t/(n*n):100*t}function Nx(n,t,e){return UB(t,awn(n,e))}function xx(n,t,e){L9(),n.Xe(t)&&e.td(n)}function Dx(n,t,e){n.Zc(t).Rb(e)}function Rx(n,t,e){return n.a+=t,n.b+=e,n}function _x(n,t,e){return n.a*=t,n.b*=e,n}function Kx(n,t,e){return n.a-=t,n.b-=e,n}function Fx(n,t){return n.a=t.a,n.b=t.b,n}function Bx(n){return n.a=-n.a,n.b=-n.b,n}function Hx(n){this.c=n,this.a=1,this.b=1}function qx(n){this.c=n,Men(n,0),Sen(n,0)}function Gx(n){VT.call(this),Yen(this,n)}function zx(n){xXn(),Kp(this),this.mf(n)}function Ux(n,t){WM(),WN.call(this,n,t)}function Xx(n,t){VM(),VN.call(this,n,t)}function Wx(n,t){VM(),VN.call(this,n,t)}function Vx(n,t){VM(),Xx.call(this,n,t)}function Qx(n,t,e){v9.call(this,n,t,e,2)}function Jx(n,t){s$(),iG.call(this,n,t)}function Yx(n,t){s$(),Jx.call(this,n,t)}function Zx(n,t){s$(),Jx.call(this,n,t)}function nD(n,t){s$(),Zx.call(this,n,t)}function tD(n,t){s$(),iG.call(this,n,t)}function eD(n,t){s$(),tD.call(this,n,t)}function iD(n,t){s$(),iG.call(this,n,t)}function rD(n,t){return n.c.Fc(KB(t,133))}function cD(n,t,e){return $Hn(_7(n,t),e)}function aD(n,t,e){return t.Qk(n.e,n.c,e)}function uD(n,t,e){return t.Rk(n.e,n.c,e)}function oD(n,t){return Zhn(n.e,KB(t,49))}function sD(n,t,e){uln(F7(n.a),t,t1(e))}function hD(n,t,e){uln(r4(n.a),t,n1(e))}function fD(n,t){t.$modCount=n.$modCount}function lD(){lD=O,Xkt=new cp("root")}function bD(){bD=O,wAt=new jm,new Em}function wD(){this.a=new dY,this.b=new dY}function dD(){yin.call(this),this.Bb|=KQn}function gD(){wT.call(this,"GROW_TREE",0)}function pD(n){return null==n?null:lUn(n)}function vD(n){return null==n?null:ASn(n)}function mD(n){return null==n?null:Kbn(n)}function yD(n){return null==n?null:Kbn(n)}function kD(n){null==n.o&&w$n(n)}function jD(n){return QH(null==n||qI(n)),n}function ED(n){return QH(null==n||GI(n)),n}function TD(n){return QH(null==n||zI(n)),n}function MD(n){this.q=new i.Date(y2(n))}function SD(n,t){this.c=n,dT.call(this,n,t)}function PD(n,t){this.a=n,SD.call(this,n,t)}function CD(n,t){this.d=n,Eb(this),this.b=t}function ID(n,t){K8.call(this,n),this.a=t}function OD(n,t){K8.call(this,n),this.a=t}function AD(n){Bwn.call(this,0,0),this.f=n}function $D(n,t,e){U6.call(this,n,t,e,null)}function LD(n,t,e){U6.call(this,n,t,e,null)}function ND(n,t,e){return n.ue(t,e)<=0?e:t}function xD(n,t,e){return n.ue(t,e)<=0?t:e}function DD(n,t){return KB(hnn(n.b,t),149)}function RD(n,t){return KB(hnn(n.c,t),229)}function _D(n){return KB(Lq(n.a,n.b),287)}function KD(n){return new LC(n.c,n.d+n.a)}function FD(n){return KZ(),dA(KB(n,197))}function BD(){BD=O,Ort=Yln((pdn(),RIt))}function HD(n,t){t.a?_xn(n,t):EN(n.a,t.b)}function qD(n,t){Wet||UB(n.a,t)}function GD(n,t){return pM(),lan(t.d.i,n)}function zD(n,t){return Prn(),new i_n(t,n)}function UD(n,t){return CJ(t,cYn),n.f=t,n}function XD(n,t,e){return e=jKn(n,t,3,e)}function WD(n,t,e){return e=jKn(n,t,6,e)}function VD(n,t,e){return e=jKn(n,t,9,e)}function QD(n,t,e){++n.j,n.Ki(),A8(n,t,e)}function JD(n,t,e){++n.j,n.Hi(t,n.oi(t,e))}function YD(n,t,e){n.Zc(t).Rb(e)}function ZD(n,t,e){return JBn(n.c,n.b,t,e)}function nR(n,t){return(t&NWn)%n.d.length}function tR(n,t){cp.call(this,n),this.a=t}function eR(n,t){mp.call(this,n),this.a=t}function iR(n,t){mp.call(this,n),this.a=t}function rR(n,t){this.c=n,wtn.call(this,t)}function cR(n,t){this.a=n,vp.call(this,t)}function aR(n,t){this.a=n,vp.call(this,t)}function uR(n){this.a=(hin(n,IVn),new Q6(n))}function oR(n){this.a=(hin(n,IVn),new Q6(n))}function sR(n){return!n.a&&(n.a=new w),n.a}function hR(n){return n>8?0:n+1}function fR(n,t){return oN(),n==t?0:n?1:-1}function lR(n,t,e){return pG(n,KB(t,22),e)}function bR(n,t,e){return n.apply(t,e)}function wR(n,t,e){return n.a+=Kdn(t,0,e),n}function dR(n,t){var e;return e=n.e,n.e=t,e}function gR(n,t){n[tJn].call(n,t)}function pR(n,t){n[tJn].call(n,t)}function vR(n,t){n.a.Vc(n.b,t),++n.b,n.c=-1}function mR(n){OU(n.e),n.d.b=n.d,n.d.a=n.d}function yR(n){n.b?yR(n.b):n.f.c.zc(n.e,n.d)}function kR(n,t,e){bM(),Pl(n,t.Ce(n.a,e))}function jR(n,t){return Wj(Edn(n.a,t,!0))}function ER(n,t){return Wj(Tdn(n.a,t,!0))}function TR(n,t){return Bk(new Array(t),n)}function MR(n){return String.fromCharCode(n)}function SR(n){return null==n?null:n.message}function PR(){this.a=new $p,this.b=new $p}function CR(){this.a=new bt,this.b=new jv}function IR(){this.b=new Hj,this.c=new $p}function OR(){this.d=new Hj,this.e=new Hj}function AR(){this.n=new Hj,this.o=new Hj}function $R(){this.n=new fm,this.i=new fA}function LR(){this.a=new Yh,this.b=new uc}function NR(){this.a=new $p,this.d=new $p}function xR(){this.b=new xv,this.a=new xv}function DR(){this.b=new Lp,this.a=new Lp}function RR(){this.b=new IE,this.a=new da}function _R(){$R.call(this),this.a=new Hj}function KR(n){Can.call(this,n,(J9(),$et))}function FR(n,t,e,i){cG.call(this,n,t,e,i)}function BR(n,t,e){null!=e&&Ain(t,Imn(n,e))}function HR(n,t,e){null!=e&&$in(t,Imn(n,e))}function qR(n,t,e){return e=jKn(n,t,11,e)}function GR(n,t){return n.a+=t.a,n.b+=t.b,n}function zR(n,t){return n.a-=t.a,n.b-=t.b,n}function UR(n,t){return n.n.a=(mW(t),t+10)}function XR(n,t){return n.n.a=(mW(t),t+10)}function WR(n,t){return t==n||Tjn(SLn(t),n)}function VR(n,t){return null==XW(n.a,t,"")}function QR(n,t){return pM(),!lan(t.d.i,n)}function JR(n,t){bA(n.f)?i$n(n,t):PTn(n,t)}function YR(n,t){return t.Hh(n.a)}function ZR(n,t){Iy.call(this,n9n+n+a8n+t)}function n_(n,t,e,i){nU.call(this,n,t,e,i)}function t_(n,t,e,i){nU.call(this,n,t,e,i)}function e_(n,t,e,i){t_.call(this,n,t,e,i)}function i_(n,t,e,i){tU.call(this,n,t,e,i)}function r_(n,t,e,i){tU.call(this,n,t,e,i)}function c_(n,t,e,i){tU.call(this,n,t,e,i)}function a_(n,t,e,i){r_.call(this,n,t,e,i)}function u_(n,t,e,i){r_.call(this,n,t,e,i)}function o_(n,t,e,i){c_.call(this,n,t,e,i)}function s_(n,t,e,i){u_.call(this,n,t,e,i)}function h_(n,t,e,i){Jz.call(this,n,t,e,i)}function f_(n,t,e){this.a=n,JN.call(this,t,e)}function l_(n,t,e){this.c=t,this.b=e,this.a=n}function b_(n,t,e){return n.d=KB(t.Kb(e),164)}function w_(n,t){return n.Aj().Nh().Kh(n,t)}function d_(n,t){return n.Aj().Nh().Ih(n,t)}function g_(n,t){return mW(n),HI(n)===HI(t)}function p_(n,t){return mW(n),HI(n)===HI(t)}function v_(n,t){return Wj(Edn(n.a,t,!1))}function m_(n,t){return Wj(Tdn(n.a,t,!1))}function y_(n,t){return n.b.sd(new OS(n,t))}function k_(n,t){return n.b.sd(new AS(n,t))}function j_(n,t){return n.b.sd(new $S(n,t))}function E_(n,t,e){return n.lastIndexOf(t,e)}function T_(n,t,e){return Mln(n[t.b],n[e.b])}function M_(n,t){return oon(t,(FXn(),xdt),n)}function S_(n,t){return k$(t.a.d.p,n.a.d.p)}function P_(n,t){return k$(n.a.d.p,t.a.d.p)}function C_(n,t){return Mln(n.c-n.s,t.c-t.s)}function I_(n){return n.c?k7(n.c.a,n,0):-1}function O_(n){return n<100?null:new _j(n)}function A_(n){return n==GCt||n==UCt||n==zCt}function $_(n,t){return iL(t,15)&&WDn(n.c,t)}function L_(n,t){Wet||t&&(n.d=t)}function N_(n,t){return!!hsn(n,t)}function x_(n,t){this.c=n,HU.call(this,n,t)}function D_(n){this.c=n,gO.call(this,fVn,0)}function R_(n,t){QB.call(this,n,n.length,t)}function __(n,t,e){return KB(n.c,69).lk(t,e)}function K_(n,t,e){return KB(n.c,69).mk(t,e)}function F_(n,t,e){return aD(n,KB(t,332),e)}function B_(n,t,e){return uD(n,KB(t,332),e)}function H_(n,t,e){return PEn(n,KB(t,332),e)}function q_(n,t,e){return WTn(n,KB(t,332),e)}function G_(n,t){return null==t?null:hfn(n.b,t)}function z_(n){return GI(n)?(mW(n),n):n.ke()}function U_(n){return!isNaN(n)&&!isFinite(n)}function X_(n){uK(),this.a=(TQ(),new Ik(n))}function W_(n){oH(),this.d=n,this.a=new Ap}function V_(n,t,e){this.a=n,this.b=t,this.c=e}function Q_(n,t,e){this.a=n,this.b=t,this.c=e}function J_(n,t,e){this.d=n,this.b=e,this.a=t}function Y_(n){M$(this),vQ(this),_rn(this,n)}function Z_(n){LA(this),ZB(this.c,0,n.Pc())}function nK(n){sW(n.a),q8(n.c,n.b),n.b=null}function tK(n){this.a=n,OT(),san(Date.now())}function eK(){eK=O,tit=new r,eit=new r}function iK(){iK=O,jet=new L,Eet=new N}function rK(){rK=O,fAt=L8(Int,FWn,1,0,5,1)}function cK(){cK=O,j$t=L8(Int,FWn,1,0,5,1)}function aK(){aK=O,E$t=L8(Int,FWn,1,0,5,1)}function uK(){uK=O,new ev((TQ(),TQ(),uet))}function oK(n){return J9(),Snn((Y9(),Ret),n)}function sK(n){return Bsn(),Snn((n8(),Jet),n)}function hK(n){return opn(),Snn((P4(),dit),n)}function fK(n){return xnn(),Snn((C4(),mit),n)}function lK(n){return ZDn(),Snn((Lan(),_it),n)}function bK(n){return Ntn(),Snn((J6(),Uit),n)}function wK(n){return Q9(),Snn((Y6(),Zit),n)}function dK(n){return H7(),Snn((Z6(),crt),n)}function gK(n){return bWn(),Snn((EO(),Irt),n)}function pK(n){return Nan(),Snn((n7(),Rrt),n)}function vK(n){return Fpn(),Snn((t7(),qrt),n)}function mK(n){return Bpn(),Snn((e7(),tct),n)}function yK(n){return lM(),Snn((W2(),rct),n)}function kK(n){return Dnn(),Snn((I4(),Rct),n)}function jK(n){return B7(),Snn((t8(),Aat),n)}function EK(n){return vMn(),Snn((znn(),Bat),n)}function TK(n){return Iun(),Snn((Z9(),eut),n)}function MK(n){return Kfn(),Snn((e8(),wut),n)}function SK(n,t){if(!n)throw Fp(new Ry(t))}function PK(n){return cSn(),Snn((oen(),Iut),n)}function CK(n){cG.call(this,n.d,n.c,n.a,n.b)}function IK(n){cG.call(this,n.d,n.c,n.a,n.b)}function OK(n,t,e){this.b=n,this.c=t,this.a=e}function AK(n,t,e){this.b=n,this.a=t,this.c=e}function $K(n,t,e){this.a=n,this.b=t,this.c=e}function LK(n,t,e){this.a=n,this.b=t,this.c=e}function NK(n,t,e){this.a=n,this.b=t,this.c=e}function xK(n,t,e){this.a=n,this.b=t,this.c=e}function DK(n,t,e){this.b=n,this.a=t,this.c=e}function RK(n,t,e){this.e=t,this.b=n,this.d=e}function _K(n,t,e){return bM(),n.a.Od(t,e),t}function KK(n){var t;return(t=new jn).e=n,t}function FK(n){var t;return(t=new Jv).b=n,t}function BK(){BK=O,Gut=new Ne,zut=new xe}function HK(){HK=O,bst=new vr,wst=new mr}function qK(n){return Pun(),Snn((r7(),ast),n)}function GK(n){return Cun(),Snn((a7(),kst),n)}function zK(n){return mDn(),Snn((Hcn(),Xst),n)}function UK(n){return OPn(),Snn((fen(),eht),n)}function XK(n){return X8(),Snn((x4(),aht),n)}function WK(n){return Cin(),Snn((i8(),fht),n)}function VK(n){return AEn(),Snn((Fnn(),Cst),n)}function QK(n){return Srn(),Snn((a8(),Rst),n)}function JK(n){return cin(),Snn((r8(),ght),n)}function YK(n){return Xvn(),Snn((_nn(),Eht),n)}function ZK(n){return Rnn(),Snn((A4(),Pht),n)}function nF(n){return Qun(),Snn((c8(),$ht),n)}function tF(n){return wSn(),Snn((den(),Fht),n)}function eF(n){return w7(),Snn(($4(),Ght),n)}function iF(n){return Kjn(),Snn((ben(),Yht),n)}function rF(n){return QMn(),Snn((len(),aft),n)}function cF(n){return fDn(),Snn((Xun(),vft),n)}function aF(n){return Dan(),Snn((o8(),Eft),n)}function uF(n){return q7(),Snn((u8(),Cft),n)}function oF(n){return q2(),Snn((D4(),$ft),n)}function sF(n){return jbn(),Snn((Bnn(),qlt),n)}function hF(n){return jTn(),Snn((wen(),evt),n)}function fF(n){return Ehn(),Snn((s8(),uvt),n)}function lF(n){return fvn(),Snn((u7(),bvt),n)}function bF(n){return rin(),Snn((l8(),Gvt),n)}function wF(n){return uNn(),Snn((Bcn(),Ovt),n)}function dF(n){return pon(),Snn((f8(),xvt),n)}function gF(n){return G7(),Snn((N4(),Kvt),n)}function pF(n){return Fcn(),Snn((h8(),Vvt),n)}function vF(n){return $vn(),Snn((Knn(),yvt),n)}function mF(n){return I6(),Snn((L4(),Zvt),n)}function yF(n){return Gsn(),Snn((w8(),rmt),n)}function kF(n){return bcn(),Snn((d8(),smt),n)}function jF(n){return Oun(),Snn((b8(),wmt),n)}function EF(n){return ain(),Snn((g8(),$mt),n)}function TF(n){return W4(),Snn((_4(),Hmt),n)}function MF(n){return wY(),Snn((K4(),tyt),n)}function SF(n){return aZ(),Snn((F4(),cyt),n)}function PF(n){return C6(),Snn((R4(),Myt),n)}function CF(n){return bY(),Snn((B4(),Nyt),n)}function IF(n){return qyn(),Snn((i7(),Fyt),n)}function OF(n){return NPn(),Snn((gen(),Qyt),n)}function AF(n){return uZ(),Snn((G4(),_kt),n)}function $F(n){return Mrn(),Snn((q4(),Jkt),n)}function LF(n){return K0(),Snn((H4(),Hkt),n)}function NF(n){return Sbn(),Snn((p8(),ejt),n)}function xF(n){return N9(),Snn((z4(),ajt),n)}function DF(n){return Fsn(),Snn((v8(),fjt),n)}function RF(n){return Cmn(),Snn((c7(),qjt),n)}function _F(n){return Kcn(),Snn((y8(),Wjt),n)}function KF(n){return Tbn(),Snn((m8(),nEt),n)}function FF(n){return VLn(),Snn((Gnn(),KEt),n)}function BF(n){return Mbn(),Snn((k8(),GEt),n)}function HF(n){return SM(),Snn((U2(),XEt),n)}function qF(n){return PM(),Snn((z2(),QEt),n)}function GF(n){return O6(),Snn((X4(),nTt),n)}function zF(n){return OSn(),Snn((Hnn(),uTt),n)}function UF(n){return CM(),Snn((X2(),GTt),n)}function XF(n){return Aun(),Snn((U4(),WTt),n)}function WF(n){return epn(),Snn((qnn(),fMt),n)}function VF(n){return MPn(),Snn((qcn(),kMt),n)}function QF(n){return lvn(),Snn((hen(),LMt),n)}function JF(n){return lEn(),Snn((sen(),ZMt),n)}function YF(n){return hWn(),Snn((TO(),Jot),n)}function ZF(n){return Trn(),Snn((O4(),qut),n)}function nB(n){return _fn(),Snn((Unn(),HPt),n)}function tB(n){return xtn(),Snn((E8(),XPt),n)}function eB(n){return Ebn(),Snn((h7(),ZPt),n)}function iB(n){return YTn(),Snn((ven(),uCt),n)}function rB(n){return cfn(),Snn((j8(),mCt),n)}function cB(n){return zyn(),Snn((s7(),MCt),n)}function aB(n){return YAn(),Snn(($an(),DCt),n)}function uB(n){return ipn(),Snn((Xnn(),qCt),n)}function oB(n){return WEn(),Snn((Ftn(),JCt),n)}function sB(n){return hIn(),Snn((pen(),cIt),n)}function hB(n){return pdn(),Snn((l7(),KIt),n)}function fB(n){return Y_n(),Snn((Wun(),QIt),n)}function lB(n){return mUn(),Snn((Wnn(),CIt),n)}function bB(n){return _wn(),Snn((f7(),eOt),n)}function wB(n){return Ksn(),Snn((o7(),sOt),n)}function dB(n){return oAn(),Snn((Gcn(),eAt),n)}function gB(n,t){return mW(n),n+(mW(t),t)}function pB(n,t){return OT(),s9(WQ(n.a),t)}function vB(n,t){return OT(),s9(WQ(n.a),t)}function mB(n,t){this.c=n,this.a=t,this.b=t-n}function yB(n,t,e){this.a=n,this.b=t,this.c=e}function kB(n,t,e){this.a=n,this.b=t,this.c=e}function jB(n,t,e){this.a=n,this.b=t,this.c=e}function EB(n,t,e){this.a=n,this.b=t,this.c=e}function TB(n,t,e){this.a=n,this.b=t,this.c=e}function MB(n,t,e){this.e=n,this.a=t,this.c=e}function SB(n,t,e){s$(),pY.call(this,n,t,e)}function PB(n,t,e){s$(),eW.call(this,n,t,e)}function CB(n,t,e){s$(),eW.call(this,n,t,e)}function IB(n,t,e){s$(),eW.call(this,n,t,e)}function OB(n,t,e){s$(),PB.call(this,n,t,e)}function AB(n,t,e){s$(),PB.call(this,n,t,e)}function $B(n,t,e){s$(),AB.call(this,n,t,e)}function LB(n,t,e){s$(),CB.call(this,n,t,e)}function NB(n,t,e){s$(),IB.call(this,n,t,e)}function xB(n,t){return vX(n),vX(t),new oT(n,t)}function DB(n,t){return vX(n),vX(t),new RH(n,t)}function RB(n,t){return vX(n),vX(t),new _H(n,t)}function _B(n,t){return vX(n),vX(t),new hT(n,t)}function KB(n,t){return QH(null==n||Wpn(n,t)),n}function FB(n){var t;return snn(t=new $p,n),t}function BB(n){var t;return snn(t=new xv,n),t}function HB(n){var t;return Brn(t=new qv,n),t}function qB(n){var t;return Brn(t=new VT,n),t}function GB(n){return!n.e&&(n.e=new $p),n.e}function zB(n){return!n.c&&(n.c=new Bo),n.c}function UB(n,t){return n.c[n.c.length]=t,!0}function XB(n,t){this.c=n,this.b=t,this.a=!1}function WB(n){this.d=n,Eb(this),this.b=ez(n.d)}function VB(){this.a=";,;",this.b="",this.c=""}function QB(n,t,e){Gz.call(this,t,e),this.a=n}function JB(n,t,e){this.b=n,wO.call(this,t,e)}function YB(n,t,e){this.c=n,MS.call(this,t,e)}function ZB(n,t,e){RCn(e,0,n,t,e.length,!1)}function nH(n,t,e,i,r){n.b=t,n.c=e,n.d=i,n.a=r}function tH(n,t){t&&(n.b=t,n.a=(kW(t),t.a))}function eH(n,t,e,i,r){n.d=t,n.c=e,n.a=i,n.b=r}function iH(n){var t,e;t=n.b,e=n.c,n.b=e,n.c=t}function rH(n){var t,e;e=n.d,t=n.a,n.d=t,n.a=e}function cH(n){return can(LU(QO(n)?Man(n):n))}function aH(n,t){return k$(aq(n.d),aq(t.d))}function uH(n,t){return t==(mUn(),SIt)?n.c:n.d}function oH(){oH=O,mUn(),xmt=SIt,Dmt=aIt}function sH(){this.b=Hy(ED(ppn((sRn(),rat))))}function hH(n){return bM(),L8(Int,FWn,1,n,5,1)}function fH(n){return new LC(n.c+n.b,n.d+n.a)}function lH(n,t){return TM(),k$(n.d.p,t.d.p)}function bH(n){return Mx(0!=n.b),Itn(n,n.a.a)}function wH(n){return Mx(0!=n.b),Itn(n,n.c.b)}function dH(n,t){if(!n)throw Fp(new Oy(t))}function gH(n,t){if(!n)throw Fp(new Ry(t))}function pH(n,t,e){bP.call(this,n,t),this.b=e}function vH(n,t,e){AI.call(this,n,t),this.c=e}function mH(n,t,e){ftn.call(this,t,e),this.d=n}function yH(n){aK(),yo.call(this),this.th(n)}function kH(n,t,e){this.a=n,$O.call(this,t,e)}function jH(n,t,e){this.a=n,$O.call(this,t,e)}function EH(n,t,e){AI.call(this,n,t),this.c=e}function TH(){x5(),aW.call(this,(UM(),HAt))}function MH(n){return null!=n&&!zbn(n,OAt,AAt)}function SH(n,t){return(Ufn(n)<<4|Ufn(t))&WVn}function PH(n,t){return YW(),qvn(n,t),new HW(n,t)}function CH(n,t){var e;n.n&&(e=t,UB(n.f,e))}function IH(n,t,e){etn(n,t,new HX(e))}function OH(n,t){var e;return e=n.c,Din(n,t),e}function AH(n,t){return n.g=t<0?-1:t,n}function $H(n,t){return qtn(n),n.a*=t,n.b*=t,n}function LH(n,t,e,i,r){n.c=t,n.d=e,n.b=i,n.a=r}function NH(n,t){return e5(n,t,n.c.b,n.c),!0}function xH(n){n.a.b=n.b,n.b.a=n.a,n.a=n.b=null}function DH(n){this.b=n,this.a=hz(this.b.a).Ed()}function RH(n,t){this.b=n,this.a=t,Kh.call(this)}function _H(n,t){this.a=n,this.b=t,Kh.call(this)}function KH(n,t){Gz.call(this,t,1040),this.a=n}function FH(n){return 0==n||isNaN(n)?n:n<0?-1:1}function BH(n){return EQ(),MMn(n)==QY(CMn(n))}function HH(n){return EQ(),CMn(n)==QY(MMn(n))}function qH(n,t){return Vjn(n,new bP(t.a,t.b))}function GH(n){return!f5(n)&&n.c.i.c==n.d.i.c}function zH(n){var t;return t=n.n,n.a.b+t.d+t.a}function UH(n){var t;return t=n.n,n.e.b+t.d+t.a}function XH(n){var t;return t=n.n,n.e.a+t.b+t.c}function WH(n){return lWn(),new aG(0,n)}function VH(n){return n.a?n.a:nQ(n)}function QH(n){if(!n)throw Fp(new Dy(null))}function JH(){JH=O,TQ(),rLt=new Hb(M7n)}function YH(){YH=O,new uvn((Zm(),Rnt),(ny(),Dnt))}function ZH(){ZH=O,Ptt=L8(Itt,uVn,19,256,0,1)}function nq(n,t,e,i){rwn.call(this,n,t,e,i,0,0)}function tq(n,t,e){return XW(n.b,KB(e.b,17),t)}function eq(n,t,e){return XW(n.b,KB(e.b,17),t)}function iq(n,t){return UB(n,new LC(t.a,t.b))}function rq(n,t){return n.c<t.c?-1:n.c==t.c?0:1}function cq(n){return n.e.c.length+n.g.c.length}function aq(n){return n.e.c.length-n.g.c.length}function uq(n){return n.b.c.length-n.e.c.length}function oq(n){return KZ(),(mUn(),fIt).Hc(n.j)}function sq(n){aK(),yH.call(this,n),this.a=-1}function hq(n,t){LI.call(this,n,t),this.a=this}function fq(n,t){var e;return(e=pX(n,t)).i=2,e}function lq(n,t){return++n.j,n.Ti(t)}function bq(n,t,e){return n.a=-1,UN(n,t.g,e),n}function wq(n,t,e){Dzn(n.a,n.b,n.c,KB(t,202),e)}function dq(n,t){Kin(n,null==t?null:(mW(t),t))}function gq(n,t){xin(n,null==t?null:(mW(t),t))}function pq(n,t){xin(n,null==t?null:(mW(t),t))}function vq(n,t,e){return new l_(bW(n).Ie(),e,t)}function mq(n,t,e,i,r,c){return Xjn(n,t,e,i,r,0,c)}function yq(){yq=O,ytt=L8(jtt,uVn,217,256,0,1)}function kq(){kq=O,Ott=L8(xtt,uVn,162,256,0,1)}function jq(){jq=O,Dtt=L8(Rtt,uVn,184,256,0,1)}function Eq(){Eq=O,Ett=L8(Ttt,uVn,172,128,0,1)}function Tq(){nH(this,!1,!1,!1,!1)}function Mq(n){UX(),this.a=(TQ(),new Hb(vX(n)))}function Sq(n){for(vX(n);n.Ob();)n.Pb(),n.Qb()}function Pq(n){n.a.cd(),KB(n.a.dd(),14).gc(),lk()}function Cq(n){this.c=n,this.b=this.c.d.vc().Kc()}function Iq(n){this.c=n,this.a=new WT(this.c.a)}function Oq(n){this.a=new zT(n.gc()),_rn(this,n)}function Aq(n){nw.call(this,new g4),_rn(this,n)}function $q(n,t){return n.a+=Kdn(t,0,t.length),n}function Lq(n,t){return h1(t,n.c.length),n.c[t]}function Nq(n,t){return h1(t,n.a.length),n.a[t]}function xq(n,t){bM(),K8.call(this,n),this.a=t}function Dq(n,t){return ygn(ebn(ygn(n.a).a,t.a))}function Rq(n,t){return mW(n),$cn(n,(mW(t),t))}function _q(n,t){return mW(t),$cn(t,(mW(n),n))}function Kq(n,t){return OX(t,0,Fq(t[0],ygn(1)))}function Fq(n,t){return Dq(KB(n,162),KB(t,162))}function Bq(n){return n.c-KB(Lq(n.a,n.b),287).b}function Hq(n){return n.q?n.q:(TQ(),TQ(),oet)}function qq(n){return n.e.Hd().gc()*n.c.Hd().gc()}function Gq(n,t,e){return k$(t.d[n.g],e.d[n.g])}function zq(n,t,e){return k$(n.d[t.p],n.d[e.p])}function Uq(n,t,e){return k$(n.d[t.p],n.d[e.p])}function Xq(n,t,e){return k$(n.d[t.p],n.d[e.p])}function Wq(n,t,e){return k$(n.d[t.p],n.d[e.p])}function Vq(n,t,e){return i.Math.min(e/n,1/t)}function Qq(n,t){return n?0:i.Math.max(0,t-1)}function Jq(n,t){var e;for(e=0;e<t;++e)n[e]=-1}function Yq(n){var t;return(t=cEn(n))?Yq(t):n}function Zq(n,t){return null==n.a&&lRn(n),n.a[t]}function nG(n){return n.c?n.c.f:n.e.b}function tG(n){return n.c?n.c.g:n.e.a}function eG(n){wtn.call(this,n.gc()),dX(this,n)}function iG(n,t){s$(),yp.call(this,t),this.a=n}function rG(n,t,e){this.a=n,OL.call(this,t,e,2)}function cG(n,t,e,i){eH(this,n,t,e,i)}function aG(n,t){lWn(),Ip.call(this,n),this.a=t}function uG(n){this.b=new VT,this.a=n,this.c=-1}function oG(){this.d=new LC(0,0),this.e=new xv}function sG(n){JN.call(this,0,0),this.a=n,this.b=0}function hG(n){this.a=n,this.c=new Lp,eon(this)}function fG(n){if(n.e.c!=n.b)throw Fp(new gv)}function lG(n){if(n.c.e!=n.a)throw Fp(new gv)}function bG(n){return QO(n)?0|n:jE(n)}function wG(n,t){return lWn(),new GU(n,t)}function dG(n,t){return null==n?null==t:p_(n,t)}function gG(n,t){return null==n?null==t:pgn(n,t)}function pG(n,t,e){return arn(n.a,t),kU(n,t.g,e)}function vG(n,t,e){thn(0,t,n.length),q9(n,0,t,e)}function mG(n,t,e){AZ(t,n.c.length),ES(n.c,t,e)}function yG(n,t,e){var i;for(i=0;i<t;++i)n[i]=e}function kG(n,t){var e;return Oon(e=Yln(n),t),e}function jG(n,t){return!n&&(n=[]),n[n.length]=t,n}function EG(n,t){return!(void 0===n.a.get(t))}function TG(n,t){return zin(new nn,new cw(n),t)}function MG(n){return null==n?Tet:new gy(mW(n))}function SG(n,t){return iL(t,22)&&TN(n,KB(t,22))}function PG(n,t){return iL(t,22)&&Otn(n,KB(t,22))}function CG(n){return F$n(n,26)*eJn+F$n(n,27)*iJn}function IG(n){return Array.isArray(n)&&n.im===I}function OG(n){n.b?OG(n.b):n.d.dc()&&n.f.c.Bc(n.e)}function AG(n,t){GR(n.c,t),n.b.c+=t.a,n.b.d+=t.b}function $G(n,t){AG(n,zR(new LC(t.a,t.b),n.c))}function LG(n,t){this.b=new VT,this.a=n,this.c=t}function NG(){this.b=new Ot,this.c=new hJ(this)}function xG(){this.d=new mn,this.e=new sJ(this)}function DG(){DZ(),this.f=new VT,this.e=new VT}function RG(){KZ(),this.k=new Lp,this.d=new xv}function _G(){_G=O,fOt=new zA((uWn(),rPt),0)}function KG(){KG=O,Bnt=new sG(L8(Int,FWn,1,0,5,1))}function FG(n,t,e){XAn(e,n,1),UB(t,new iP(e,n))}function BG(n,t,e){_kn(e,n,1),UB(t,new fP(e,n))}function HG(n,t,e){return jU(n,new LS(t.a,e.a))}function qG(n,t,e){return-k$(n.f[t.p],n.f[e.p])}function GG(n,t,e){var i;n&&((i=n.i).c=t,i.b=e)}function zG(n,t,e){var i;n&&((i=n.i).d=t,i.a=e)}function UG(n,t,e){return n.a=-1,UN(n,t.g+1,e),n}function XG(n,t,e){return e=jKn(n,KB(t,49),7,e)}function WG(n,t,e){return e=jKn(n,KB(t,49),3,e)}function VG(n,t,e){this.a=n,AL.call(this,t,e,22)}function QG(n,t,e){this.a=n,AL.call(this,t,e,14)}function JG(n,t,e,i){s$(),$0.call(this,n,t,e,i)}function YG(n,t,e,i){s$(),$0.call(this,n,t,e,i)}function ZG(n,t){t.Bb&o6n&&!n.a.o&&(n.a.o=t)}function nz(n){return null!=n&&NU(n)&&!(n.im===I)}function tz(n){return!Array.isArray(n)&&n.im===I}function ez(n){return iL(n,15)?KB(n,15).Yc():n.Kc()}function iz(n){return n.Qc(L8(Int,FWn,1,n.gc(),5,1))}function rz(n,t){return hgn(_7(n,t))?t.Qh():null}function cz(n){n?_mn(n,(OT(),Ktt)):OT()}function az(n){this.a=(KG(),Bnt),this.d=KB(vX(n),47)}function uz(n,t,e,i){this.a=n,U6.call(this,n,t,e,i)}function oz(n){nS(),this.a=0,this.b=n-1,this.c=1}function sz(n){X$(this),this.g=n,yQ(this),this._d()}function hz(n){return n.c?n.c:n.c=n.Id()}function fz(n){return n.d?n.d:n.d=n.Jd()}function lz(n){return n.c||(n.c=n.Dd())}function bz(n){return n.f||(n.f=n.Dc())}function wz(n){return n.i||(n.i=n.bc())}function dz(n){return lWn(),new gY(10,n,0)}function gz(n){return QO(n)?""+n:HDn(n)}function pz(n){if(n.e.j!=n.d)throw Fp(new gv)}function vz(n,t){return can(hSn(QO(n)?Man(n):n,t))}function mz(n,t){return can(yAn(QO(n)?Man(n):n,t))}function yz(n,t){return can(QSn(QO(n)?Man(n):n,t))}function kz(n,t){return fR((mW(n),n),(mW(t),t))}function jz(n,t){return Mln((mW(n),n),(mW(t),t))}function Ez(n,t){return vX(t),n.a.Ad(t)&&!n.b.Ad(t)}function Tz(n,t){return E$(n.l&t.l,n.m&t.m,n.h&t.h)}function Mz(n,t){return E$(n.l|t.l,n.m|t.m,n.h|t.h)}function Sz(n,t){return E$(n.l^t.l,n.m^t.m,n.h^t.h)}function Pz(n,t){return Ofn(n,(mW(t),new ew(t)))}function Cz(n,t){return Ofn(n,(mW(t),new iw(t)))}function Iz(n){return wcn(),0!=KB(n,11).e.c.length}function Oz(n){return wcn(),0!=KB(n,11).g.c.length}function Az(n,t){return Prn(),Mln(t.a.o.a,n.a.o.a)}function $z(n,t,e){return jUn(n,KB(t,11),KB(e,11))}function Lz(n){return n.e?N6(n.e):null}function Nz(n){n.d||(n.d=n.b.Kc(),n.c=n.b.gc())}function xz(n,t,e){n.a.Mb(e)&&(n.b=!0,t.td(e))}function Dz(n,t){if(n<0||n>=t)throw Fp(new Tv)}function Rz(n,t,e){return OX(t,0,Fq(t[0],e[0])),t}function _z(n,t,e){t.Ye(e,Hy(ED(xX(n.b,e)))*n.a)}function Kz(n,t,e){return yDn(),Ncn(n,t)&&Ncn(n,e)}function Fz(n){return hIn(),!n.Hc(nIt)&&!n.Hc(eIt)}function Bz(n){return new LC(n.c+n.b/2,n.d+n.a/2)}function Hz(n,t){return t.kh()?Zhn(n.b,KB(t,49)):t}function qz(n,t){this.e=n,this.d=64&t?t|oVn:t}function Gz(n,t){this.c=0,this.d=n,this.b=64|t|oVn}function zz(n){this.b=new Q6(11),this.a=(MQ(),n)}function Uz(n){this.b=null,this.a=(MQ(),n||fet)}function Xz(n){this.a=evn(n.a),this.b=new Z_(n.b)}function Wz(n){this.b=n,ix.call(this,n),EL(this)}function Vz(n){this.b=n,cx.call(this,n),TL(this)}function Qz(n,t,e){this.a=n,n_.call(this,t,e,5,6)}function Jz(n,t,e,i){this.b=n,OL.call(this,t,e,i)}function Yz(n,t,e,i,r){m9.call(this,n,t,e,i,r,-1)}function Zz(n,t,e,i,r){y9.call(this,n,t,e,i,r,-1)}function nU(n,t,e,i){OL.call(this,n,t,e),this.b=i}function tU(n,t,e,i){vH.call(this,n,t,e),this.b=i}function eU(n){$I.call(this,n,!1),this.a=!1}function iU(n,t){this.b=n,ol.call(this,n.b),this.a=t}function rU(n,t){UX(),yT.call(this,n,ufn(new Qy(t)))}function cU(n,t){return lWn(),new iW(n,t,0)}function aU(n,t){return lWn(),new iW(6,n,t)}function uU(n,t){return p_(n.substr(0,t.length),t)}function oU(n,t){return zI(t)?nJ(n,t):!!IJ(n.f,t)}function sU(n,t){for(mW(t);n.Ob();)t.td(n.Pb())}function hU(n,t,e){CDn(),this.e=n,this.d=t,this.a=e}function fU(n,t,e,i){var r;(r=n.i).i=t,r.a=e,r.b=i}function lU(n){var t;for(t=n;t.f;)t=t.f;return t}function bU(n){var t;return Mx(null!=(t=kon(n))),t}function wU(n){var t;return Mx(null!=(t=pln(n))),t}function dU(n,t){var e;return l6(t,e=n.a.gc()),e-t}function gU(n,t){var e;for(e=0;e<t;++e)n[e]=!1}function pU(n,t,e,i){var r;for(r=t;r<e;++r)n[r]=i}function vU(n,t,e,i){thn(t,e,n.length),pU(n,t,e,i)}function mU(n,t,e){Dz(e,n.a.c.length),i5(n.a,e,t)}function yU(n,t,e){this.c=n,this.a=t,TQ(),this.b=e}function kU(n,t,e){var i;return i=n.b[t],n.b[t]=e,i}function jU(n,t){return null==n.a.zc(t,n)}function EU(n){if(!n)throw Fp(new vv);return n.d}function TU(n,t){if(null==n)throw Fp(new Fy(t))}function MU(n,t){return!!t&&_rn(n,t)}function SU(n,t,e){return nhn(n,t.g,e),arn(n.c,t),n}function PU(n){return Ezn(n,(_fn(),RPt)),n.d=!0,n}function CU(n){return!n.j&&vb(n,__n(n.g,n.b)),n.j}function IU(n){Ex(-1!=n.b),u6(n.c,n.a=n.b),n.b=-1}function OU(n){n.f=new nA(n),n.g=new tA(n),aJ(n)}function AU(n){return new xq(null,BU(n,n.length))}function $U(n){return new az(new UL(n.a.length,n.a))}function LU(n){return E$(~n.l&TQn,~n.m&TQn,~n.h&MQn)}function NU(n){return typeof n===IWn||typeof n===LWn}function xU(n){return n==xQn?L7n:n==DQn?"-INF":""+n}function DU(n){return n==xQn?L7n:n==DQn?"-INF":""+n}function RU(n,t){return n>0?i.Math.log(n/t):-100}function _U(n,t){return Xhn(n,t)<0?-1:Xhn(n,t)>0?1:0}function KU(n,t,e){return THn(n,KB(t,46),KB(e,167))}function FU(n,t){return KB(lz(hz(n.a)).Xb(t),42).cd()}function BU(n,t){return dtn(t,n.length),new KH(n,t)}function HU(n,t){this.d=n,IL.call(this,n),this.e=t}function qU(n){this.d=(mW(n),n),this.a=0,this.c=fVn}function GU(n,t){Ip.call(this,1),this.a=n,this.b=t}function zU(n,t){return n.c?zU(n.c,t):UB(n.b,t),n}function UU(n,t,e){var i;return i=bnn(n,t),e4(n,t,e),i}function XU(n,t){return p7(n.slice(0,t),n)}function WU(n,t,e){var i;for(i=0;i<t;++i)OX(n,i,e)}function VU(n,t,e,i,r){for(;t<e;)i[r++]=sV(n,t++)}function QU(n,t){return Mln(n.c.c+n.c.b,t.c.c+t.c.b)}function JU(n,t){return null==Eon(n.a,t,(oN(),dtt))}function YU(n,t){e5(n.d,t,n.b.b,n.b),++n.a,n.c=null}function ZU(n,t){Q$(n,iL(t,153)?t:KB(t,1937).gl())}function nX(n,t){QT(OV(n.Oc(),new Jr),new Pd(t))}function tX(n,t,e,i,r){$En(n,KB(o6(t.k,e),15),e,i,r)}function eX(n){n.s=NaN,n.c=NaN,JOn(n,n.e),JOn(n,n.j)}function iX(n){n.a=null,n.e=null,OU(n.b),n.d=0,++n.c}function rX(n){return i.Math.abs(n.d.e-n.e.e)-n.a}function cX(n,t,e){return KB(n.c._c(t,KB(e,133)),42)}function aX(){return ey(),Mun(Hk(Unt,1),OVn,538,0,[qnt])}function uX(n){return EQ(),QY(MMn(n))==QY(CMn(n))}function oX(n){OR.call(this),this.a=n,UB(n.a,this)}function sX(n,t){this.d=Tln(n),this.c=t,this.a=.5*t}function hX(){g4.call(this),this.a=!0,this.b=!0}function fX(n){return(null==n.i&&BFn(n),n.i).length}function lX(n){return iL(n,99)&&!!(KB(n,18).Bb&o6n)}function bX(n,t){++n.j,uTn(n,n.i,t),qIn(n,KB(t,332))}function wX(n,t){return t=n.nk(null,t),OTn(n,null,t)}function dX(n,t){return n.hi()&&(t=YY(n,t)),n.Wh(t)}function gX(n,t,e){var i;return Wen(e,i=pX(n,t)),i}function pX(n,t){var e;return(e=new don).j=n,e.d=t,e}function vX(n){if(null==n)throw Fp(new wv);return n}function mX(n){return n.j||(n.j=new ll(n))}function yX(n){return n.f||(n.f=new GL(n))}function kX(n){return n.k||(n.k=new Vf(n))}function jX(n){return n.k||(n.k=new Vf(n))}function EX(n){return n.g||(n.g=new Wf(n))}function TX(n){return n.i||(n.i=new Yf(n))}function MX(n){return n.d||(n.d=new tl(n))}function SX(n){return vX(n),iL(n,475)?KB(n,475):Kbn(n)}function PX(n){return iL(n,607)?n:new fY(n)}function CX(n,t){return l2(t,n.c.b.c.gc()),new uT(n,t)}function IX(n,t,e){return lWn(),new j0(n,t,e)}function OX(n,t,e){return Tx(null==e||WKn(n,e)),n[t]=e}function AX(n,t){var e;return l2(t,e=n.a.gc()),e-1-t}function $X(n,t){return n.a+=String.fromCharCode(t),n}function LX(n,t){return n.a+=String.fromCharCode(t),n}function NX(n,t){for(mW(t);n.c<n.d;)n.ze(t,n.c++)}function xX(n,t){return zI(t)?TY(n,t):BI(IJ(n.f,t))}function DX(n,t){return EQ(),n==MMn(t)?CMn(t):MMn(t)}function RX(n,t){YX(n,new HX(null!=t.f?t.f:""+t.g))}function _X(n,t){YX(n,new HX(null!=t.f?t.f:""+t.g))}function KX(n){this.b=new $p,this.a=new $p,this.c=n}function FX(n){this.c=new Hj,this.a=new $p,this.b=n}function BX(n){OR.call(this),this.a=new Hj,this.c=n}function HX(n){if(null==n)throw Fp(new wv);this.a=n}function qX(n){Ev(),this.b=new $p,this.a=n,gGn(this,n)}function GX(n){this.c=n,this.a=new VT,this.b=new VT}function zX(){zX=O,att=new El(!1),utt=new El(!0)}function UX(){UX=O,uK(),_nt=new TJ((TQ(),TQ(),uet))}function XX(){XX=O,uK(),Xnt=new gS((TQ(),TQ(),set))}function WX(){WX=O,YAt=HIn(),wWn(),n$t&&xkn()}function VX(n,t){return Prn(),KB(aV(n,t.d),15).Fc(t)}function QX(n,t,e,i){return 0==e||(e-i)/e<n.e||t>=n.g}function JX(n,t,e){return $Rn(n,vrn(n,t,e))}function YX(n,t){var e;bnn(n,e=n.a.length),e4(n,e,t)}function ZX(n,t){console[n].call(console,t)}function nW(n,t){var e;++n.j,e=n.Vi(),n.Ii(n.oi(e,t))}function tW(n,t,e){KB(t.b,65),Ctn(t.a,new kB(n,e,t))}function eW(n,t,e){yp.call(this,t),this.a=n,this.b=e}function iW(n,t,e){Ip.call(this,n),this.a=t,this.b=e}function rW(n,t,e){this.a=n,mp.call(this,t),this.b=e}function cW(n,t,e){this.a=n,F2.call(this,8,t,null,e)}function aW(n){this.a=(mW(R9n),R9n),this.b=n,new $m}function uW(n){this.c=n,this.b=this.c.a,this.a=this.c.e}function oW(n){this.c=n,this.b=n.a.d.a,fD(n.a.e,this)}function sW(n){Ex(-1!=n.c),n.d.$c(n.c),n.b=n.c,n.c=-1}function hW(n){return i.Math.sqrt(n.a*n.a+n.b*n.b)}function fW(n,t){return Dz(t,n.a.c.length),Lq(n.a,t)}function lW(n,t){return HI(n)===HI(t)||null!=n&&$fn(n,t)}function bW(n){return 0>=n?new XT:Uin(n-1)}function wW(n){return!!ENt&&nJ(ENt,n)}function dW(n){return n?n.dc():!n.Kc().Ob()}function gW(n){return!n.a&&n.c?n.c.b:n.a}function pW(n){return!n.a&&(n.a=new OL(OOt,n,4)),n.a}function vW(n){return!n.d&&(n.d=new OL(UAt,n,1)),n.d}function mW(n){if(null==n)throw Fp(new wv);return n}function yW(n){n.c?n.c.He():(n.d=!0,WNn(n))}function kW(n){n.c?kW(n.c):(Wln(n),n.d=!0)}function jW(n){jV(n.a),n.b=L8(Int,FWn,1,n.b.length,5,1)}function EW(n,t){return k$(t.j.c.length,n.j.c.length)}function TW(n,t){n.c<0||n.b.b<n.c?sO(n.b,t):n.a._e(t)}function MW(n,t){var e;(e=n.Yg(t))>=0?n.Bh(e):iIn(n,t)}function SW(n){return n.c.i.c==n.d.i.c}function PW(n){if(4!=n.p)throw Fp(new bv);return n.e}function CW(n){if(3!=n.p)throw Fp(new bv);return n.e}function IW(n){if(6!=n.p)throw Fp(new bv);return n.f}function OW(n){if(6!=n.p)throw Fp(new bv);return n.k}function AW(n){if(3!=n.p)throw Fp(new bv);return n.j}function $W(n){if(4!=n.p)throw Fp(new bv);return n.j}function LW(n){return!n.b&&(n.b=new jp(new Lm)),n.b}function NW(n){return-2==n.c&&wb(n,cMn(n.g,n.b)),n.c}function xW(n,t){var e;return(e=pX("",n)).n=t,e.i=1,e}function DW(n,t){AG(KB(t.b,65),n),Ctn(t.a,new Iw(n))}function RW(n,t){s9((!n.a&&(n.a=new aR(n,n)),n.a),t)}function _W(n,t){this.b=n,HU.call(this,n,t),EL(this)}function KW(n,t){this.b=n,x_.call(this,n,t),TL(this)}function FW(n,t,e,i){gT.call(this,n,t),this.d=e,this.a=i}function BW(n,t,e,i){gT.call(this,n,e),this.a=t,this.f=i}function HW(n,t){U$.call(this,Xin(vX(n),vX(t))),this.a=t}function qW(){bMn.call(this,T7n,(eE(),lLt)),Uqn(this)}function GW(){bMn.call(this,X9n,(tE(),JAt)),CHn(this)}function zW(){wT.call(this,"DELAUNAY_TRIANGULATION",0)}function UW(n){return String.fromCharCode.apply(null,n)}function XW(n,t,e){return zI(t)?pZ(n,t,e):yCn(n.f,t,e)}function WW(n){return TQ(),n?n.ve():(MQ(),MQ(),wet)}function VW(n,t,e){return $un(),e.pg(n,KB(t.cd(),146))}function QW(n,t){return YH(),new uvn(new eN(n),new tN(t))}function JW(n){return hin(n,$Vn),Znn(ebn(ebn(5,n),n/10|0))}function YW(){YW=O,Knt=new oy(Mun(Hk(Fnt,1),mVn,42,0,[]))}function ZW(n){return!n.d&&(n.d=new Fb(n.c.Cc())),n.d}function nV(n){return!n.a&&(n.a=new Ak(n.c.vc())),n.a}function tV(n){return!n.b&&(n.b=new Ik(n.c.ec())),n.b}function eV(n,t){for(;t-- >0;)n=n<<1|(n<0?1:0);return n}function iV(n,t){return HI(n)===HI(t)||null!=n&&$fn(n,t)}function rV(n,t){return oN(),KB(t.b,19).a<n}function cV(n,t){return oN(),KB(t.a,19).a<n}function aV(n,t){return SG(n.a,t)?n.b[KB(t,22).g]:null}function uV(n,t,e,i){n.a=sx(n.a,0,t)+""+i+YI(n.a,e)}function oV(n,t){n.u.Hc((hIn(),nIt))&&MIn(n,t),q6(n,t)}function sV(n,t){return f1(t,n.length),n.charCodeAt(t)}function hV(){by.call(this,"There is no more element.")}function fV(n){this.d=n,this.a=this.d.b,this.b=this.d.c}function lV(n){n.b=!1,n.c=!1,n.d=!1,n.a=!1}function bV(n,t,e,i){return xcn(n,t,e,!1),Jfn(n,i),n}function wV(n){return n.j.c=L8(Int,FWn,1,0,5,1),n.a=-1,n}function dV(n){return!n.c&&(n.c=new o_(xOt,n,5,8)),n.c}function gV(n){return!n.b&&(n.b=new o_(xOt,n,4,7)),n.b}function pV(n){return!n.n&&(n.n=new nU(HOt,n,1,7)),n.n}function vV(n){return!n.c&&(n.c=new nU(GOt,n,9,9)),n.c}function mV(n){return n.e==S7n&&gb(n,jgn(n.g,n.b)),n.e}function yV(n){return n.f==S7n&&pb(n,dkn(n.g,n.b)),n.f}function kV(n){var t;return!(t=n.b)&&(n.b=t=new Qf(n)),t}function jV(n){var t;for(t=n.Kc();t.Ob();)t.Pb(),t.Qb()}function EV(n){if(qbn(n.d),n.d.d!=n.c)throw Fp(new gv)}function TV(n,t){this.b=n,this.c=t,this.a=new WT(this.b)}function MV(n,t,e){this.a=zVn,this.d=n,this.b=t,this.c=e}function SV(n,t){this.d=(mW(n),n),this.a=16449,this.c=t}function PV(n,t){Qln(n,Hy(xen(t,"x")),Hy(xen(t,"y")))}function CV(n,t){Qln(n,Hy(xen(t,"x")),Hy(xen(t,"y")))}function IV(n,t){return Wln(n),new xq(n,new W9(t,n.a))}function OV(n,t){return Wln(n),new xq(n,new E6(t,n.a))}function AV(n,t){return Wln(n),new ID(n,new k6(t,n.a))}function $V(n,t){return Wln(n),new OD(n,new j6(t,n.a))}function LV(n,t){return new dJ(KB(vX(n),62),KB(vX(t),62))}function NV(n,t){return yM(),Mln((mW(n),n),(mW(t),t))}function xV(){return lM(),Mun(Hk(Mct,1),OVn,481,0,[ect])}function DV(){return SM(),Mun(Hk(VEt,1),OVn,482,0,[zEt])}function RV(){return PM(),Mun(Hk(ZEt,1),OVn,551,0,[WEt])}function _V(){return CM(),Mun(Hk(XTt,1),OVn,530,0,[HTt])}function KV(n){this.a=new $p,this.e=L8(CNt,uVn,48,n,0,2)}function FV(n,t,e,i){this.a=n,this.e=t,this.d=e,this.c=i}function BV(n,t,e,i){this.a=n,this.c=t,this.b=e,this.d=i}function HV(n,t,e,i){this.c=n,this.b=t,this.a=e,this.d=i}function qV(n,t,e,i){this.c=n,this.b=t,this.d=e,this.a=i}function GV(n,t,e,i){this.c=n,this.d=t,this.b=e,this.a=i}function zV(n,t,e,i){this.a=n,this.d=t,this.c=e,this.b=i}function UV(n,t,e,i){wT.call(this,n,t),this.a=e,this.b=i}function XV(n,t,e,i){this.a=n,this.c=t,this.d=e,this.b=i}function WV(n,t,e){kHn(n.a,e),Yan(e),IAn(n.b,e),eqn(t,e)}function VV(n,t,e){var i;return i=OUn(n),t.Kh(e,i)}function QV(n,t){var e,i;return(e=n/t)>(i=SY(e))&&++i,i}function JV(n){var t;return ien(t=new Dp,n),t}function YV(n){var t;return NMn(t=new Dp,n),t}function ZV(n,t){return Dcn(t,xX(n.f,t)),null}function nQ(n){return Vin(n)||null}function tQ(n){return!n.b&&(n.b=new nU(DOt,n,12,3)),n.b}function eQ(n){return null!=n&<(mAt,n.toLowerCase())}function iQ(n,t){return Mln(tG(n)*nG(n),tG(t)*nG(t))}function rQ(n,t){return Mln(tG(n)*nG(n),tG(t)*nG(t))}function cQ(n,t){return Mln(n.d.c+n.d.b/2,t.d.c+t.d.b/2)}function aQ(n,t){return Mln(n.g.c+n.g.b/2,t.g.c+t.g.b/2)}function uQ(n,t,e){e.a?Sen(n,t.b-n.f/2):Men(n,t.a-n.g/2)}function oQ(n,t,e,i){this.a=n,this.b=t,this.c=e,this.d=i}function sQ(n,t,e,i){this.a=n,this.b=t,this.c=e,this.d=i}function hQ(n,t,e,i){this.e=n,this.a=t,this.c=e,this.d=i}function fQ(n,t,e,i){this.a=n,this.c=t,this.d=e,this.b=i}function lQ(n,t,e,i){s$(),n6.call(this,t,e,i),this.a=n}function bQ(n,t,e,i){s$(),n6.call(this,t,e,i),this.a=n}function wQ(n,t){this.a=n,CD.call(this,n,KB(n.d,15).Zc(t))}function dQ(n){this.f=n,this.c=this.f.e,n.f>0&&cjn(this)}function gQ(n,t,e,i){this.b=n,this.c=i,gO.call(this,t,e)}function pQ(n){return Mx(n.b<n.d.gc()),n.d.Xb(n.c=n.b++)}function vQ(n){n.a.a=n.c,n.c.b=n.a,n.a.b=n.c.a=null,n.b=0}function mQ(n,t){return n.b=t.b,n.c=t.c,n.d=t.d,n.a=t.a,n}function yQ(n){return n.n&&(n.e!==_Vn&&n._d(),n.j=null),n}function kQ(n){return QH(null==n||NU(n)&&!(n.im===I)),n}function jQ(n){this.b=new $p,wun(this.b,this.b),this.a=n}function EQ(){EQ=O,Tct=new $p,Ect=new Lp,jct=new $p}function TQ(){TQ=O,uet=new S,oet=new C,set=new M}function MQ(){MQ=O,fet=new R,bet=new R,wet=new _}function SQ(){SQ=O,oit=new gn,hit=new xG,sit=new pn}function PQ(){256==rit&&(tit=eit,eit=new r,rit=0),++rit}function CQ(n){return n.f||(n.f=new dT(n,n.c))}function IQ(n){return WIn(n)&&By(jD(JAn(n,(FXn(),bgt))))}function OQ(n,t){return QIn(n,KB(pMn(t,(FXn(),Ugt)),19),t)}function AQ(n,t){return jfn(n.j,t.s,t.c)+jfn(t.e,n.s,n.c)}function $Q(n,t){n.e&&!n.e.a&&(_p(n.e,t),$Q(n.e,t))}function LQ(n,t){n.d&&!n.d.a&&(_p(n.d,t),LQ(n.d,t))}function NQ(n,t){return-Mln(tG(n)*nG(n),tG(t)*nG(t))}function xQ(n){return KB(n.cd(),146).tg()+":"+Kbn(n.dd())}function DQ(n){var t;HK(),(t=KB(n.g,10)).n.a=n.d.c+t.d.b}function RQ(n,t,e){return EM(),Lbn(KB(xX(n.e,t),522),e)}function _Q(n,t){return Zon(n),Zon(t),My(KB(n,22),KB(t,22))}function KQ(n,t,e){n.i=0,n.e=0,t!=e&&zon(n,t,e)}function FQ(n,t,e){n.i=0,n.e=0,t!=e&&Uon(n,t,e)}function BQ(n,t,e){etn(n,t,new Tl(z_(e)))}function HQ(n,t,e,i,r,c){y9.call(this,n,t,e,i,r,c?-2:-1)}function qQ(n,t,e,i){AI.call(this,t,e),this.b=n,this.a=i}function GQ(n,t){new VT,this.a=new mm,this.b=n,this.c=t}function zQ(n,t){return KB(pMn(n,(oWn(),ilt)),15).Fc(t),t}function UQ(n,t){if(null==n)throw Fp(new Fy(t));return n}function XQ(n){return!n.q&&(n.q=new nU(XAt,n,11,10)),n.q}function WQ(n){return!n.s&&(n.s=new nU(RAt,n,21,17)),n.s}function VQ(n){return!n.a&&(n.a=new nU(qOt,n,10,11)),n.a}function QQ(n){return iL(n,14)?new Oq(KB(n,14)):BB(n.Kc())}function JQ(n){return new BL(n,n.e.Hd().gc()*n.c.Hd().gc())}function YQ(n){return new HL(n,n.e.Hd().gc()*n.c.Hd().gc())}function ZQ(n){return n&&n.hashCode?n.hashCode():MN(n)}function nJ(n,t){return null==t?!!IJ(n.f,null):EG(n.g,t)}function tJ(n){return vX(n),nmn(new az(JL(n.a.Kc(),new h)))}function eJ(n){return TQ(),iL(n,54)?new Ok(n):new fN(n)}function iJ(n,t,e){return!!n.f&&n.f.Ne(t,e)}function rJ(n,t){return n.a=sx(n.a,0,t)+""+YI(n.a,t+1),n}function cJ(n,t){var e;return(e=nL(n.a,t))&&(t.d=null),e}function aJ(n){var t,e;t=0|(e=n).$modCount,e.$modCount=t+1}function uJ(n){this.b=n,this.c=n,n.e=null,n.c=null,this.a=1}function oJ(n){this.b=n,this.a=new bE(KB(vX(new tt),62))}function sJ(n){this.c=n,this.b=new bE(KB(vX(new vn),62))}function hJ(n){this.c=n,this.b=new bE(KB(vX(new It),62))}function fJ(){this.a=new Wv,this.b=new om,this.d=new Dt}function lJ(){this.a=new mm,this.b=(hin(3,IVn),new Q6(3))}function bJ(){this.b=new xv,this.d=new VT,this.e=new am}function wJ(n){this.c=n.c,this.d=n.d,this.b=n.b,this.a=n.a}function dJ(n,t){qm.call(this,new Uz(n)),this.a=n,this.b=t}function gJ(){tSn(this,new xf),this.wb=(WX(),YAt),tE()}function pJ(n){CTn(n,"No crossing minimization",1),FSn(n)}function vJ(n){Nk(),i.setTimeout((function(){throw n}),0)}function mJ(n){return n.u||(M5(n),n.u=new cR(n,n)),n.u}function yJ(n){return KB(van(n,16),26)||n.zh()}function kJ(n,t){return iL(t,146)&&p_(n.b,KB(t,146).tg())}function jJ(n,t){return n.a?t.Wg().Kc():KB(t.Wg(),69).Zh()}function EJ(n){return n.k==(cSn(),Sut)&&Ax(n,(oWn(),qft))}function TJ(n){this.a=(TQ(),iL(n,54)?new Ok(n):new fN(n))}function MJ(){var n,t;MJ=O,t=!Ndn(),n=new d,ntt=t?new E:n}function SJ(n,t){var e;return e=Yj(n.gm),null==t?e:e+": "+t}function PJ(n,t){var e;return y4(e=n.b.Qc(t),n.b.gc()),e}function CJ(n,t){if(null==n)throw Fp(new Fy(t));return n}function IJ(n,t){return ohn(n,t,dZ(n,null==t?0:n.b.se(t)))}function OJ(n,t,e){return e>=0&&p_(n.substr(e,t.length),t)}function AJ(n,t,e,i,r,c,a){return new f4(n.e,t,e,i,r,c,a)}function $J(n,t,e,i,r,c){this.a=n,min.call(this,t,e,i,r,c)}function LJ(n,t,e,i,r,c){this.a=n,min.call(this,t,e,i,r,c)}function NJ(n,t){this.g=n,this.d=Mun(Hk(Cut,1),r1n,10,0,[t])}function xJ(n,t){this.e=n,this.a=Int,this.b=IRn(t),this.c=t}function DJ(n,t){$R.call(this),Ltn(this),this.a=n,this.c=t}function RJ(n,t,e,i){OX(n.c[t.g],e.g,i),OX(n.c[e.g],t.g,i)}function _J(n,t,e,i){OX(n.c[t.g],t.g,e),OX(n.b[t.g],t.g,i)}function KJ(){return I6(),Mun(Hk(imt,1),OVn,376,0,[Jvt,Qvt])}function FJ(){return w7(),Mun(Hk(Jht,1),OVn,479,0,[Hht,Bht])}function BJ(){return Rnn(),Mun(Hk(Aht,1),OVn,419,0,[Tht,Mht])}function HJ(){return X8(),Mun(Hk(hht,1),OVn,422,0,[iht,rht])}function qJ(){return q2(),Mun(Hk(Hlt,1),OVn,420,0,[Ift,Oft])}function GJ(){return G7(),Mun(Hk(qvt,1),OVn,421,0,[Dvt,Rvt])}function zJ(){return W4(),Mun(Hk(Xmt,1),OVn,523,0,[Fmt,Kmt])}function UJ(){return C6(),Mun(Hk(Lyt,1),OVn,520,0,[Eyt,jyt])}function XJ(){return wY(),Mun(Hk(ryt,1),OVn,516,0,[Zmt,Ymt])}function WJ(){return aZ(),Mun(Hk(Tyt,1),OVn,515,0,[eyt,iyt])}function VJ(){return bY(),Mun(Hk(Kyt,1),OVn,455,0,[Ayt,$yt])}function QJ(){return K0(),Mun(Hk(Qkt,1),OVn,425,0,[Fkt,Kkt])}function JJ(){return uZ(),Mun(Hk(Bkt,1),OVn,480,0,[xkt,Dkt])}function YJ(){return Mrn(),Mun(Hk(tjt,1),OVn,495,0,[Wkt,Vkt])}function ZJ(){return N9(),Mun(Hk(hjt,1),OVn,426,0,[ijt,rjt])}function nY(){return Aun(),Mun(Hk(VTt,1),OVn,429,0,[UTt,zTt])}function tY(){return O6(),Mun(Hk(aTt,1),OVn,430,0,[YEt,JEt])}function eY(){return opn(),Mun(Hk(vit,1),OVn,428,0,[bit,lit])}function iY(){return xnn(),Mun(Hk(Dit,1),OVn,427,0,[git,pit])}function rY(){return Dnn(),Mun(Hk(Oat,1),OVn,424,0,[Nct,xct])}function cY(){return Trn(),Mun(Hk(Uut,1),OVn,511,0,[But,Fut])}function aY(n,t,e,i){return e>=0?n.jh(t,e,i):n.Sg(null,e,i)}function uY(n){return 0==n.b.b?n.a.$e():bH(n.b)}function oY(n){if(5!=n.p)throw Fp(new bv);return bG(n.f)}function sY(n){if(5!=n.p)throw Fp(new bv);return bG(n.k)}function hY(n){return HI(n.a)===HI((lcn(),S$t))&&xqn(n),n.a}function fY(n){this.a=KB(vX(n),271),this.b=(TQ(),new bN(n))}function lY(n,t){Jl(this,new LC(n.a,n.b)),Yl(this,qB(t))}function bY(){bY=O,Ayt=new aC(iYn,0),$yt=new aC(rYn,1)}function wY(){wY=O,Zmt=new iC(rYn,0),Ymt=new iC(iYn,1)}function dY(){ry.call(this,new zT(ntn(12))),rN(!0),this.a=2}function gY(n,t,e){lWn(),Ip.call(this,n),this.b=t,this.a=e}function pY(n,t,e){s$(),yp.call(this,t),this.a=n,this.b=e}function vY(n){$R.call(this),Ltn(this),this.a=n,this.c=!0}function mY(n){var t;t=n.c.d.b,n.b=t,n.a=n.c.d,t.a=n.c.d.b=n}function yY(n){din(n.a),xA(n.a),Zbn(new Mw(n.a))}function kY(n,t){aRn(n,!0),Ctn(n.e.wf(),new OK(n,!0,t))}function jY(n,t){return i4(t),Ven(n,L8(CNt,oQn,25,t,15,1),t)}function EY(n,t){return EQ(),n==QY(MMn(t))||n==QY(CMn(t))}function TY(n,t){return null==t?BI(IJ(n.f,null)):oS(n.g,t)}function MY(n){return 0==n.b?null:(Mx(0!=n.b),Itn(n,n.a.a))}function SY(n){return 0|Math.max(Math.min(n,NWn),-2147483648)}function PY(n,t){var e=Jnt[n.charCodeAt(0)];return null==e?n:e}function CY(n,t){return UQ(n,"set1"),UQ(t,"set2"),new kT(n,t)}function IY(n,t){return GR(Bx(Ytn(n.f,t)),n.f.d)}function OY(n,t){var e;return VGn(n,t,e=new q),e.d}function AY(n,t,e,i){var r;r=new _R,t.a[e.g]=r,pG(n.b,i,r)}function $Y(n,t,e){var i;(i=n.Yg(t))>=0?n.sh(i,e):jLn(n,t,e)}function LY(n,t,e){oZ(),n&&XW(aAt,n,t),n&&XW(cAt,n,e)}function NY(n,t,e){this.i=new $p,this.b=n,this.g=t,this.a=e}function xY(n,t,e){this.c=new $p,this.e=n,this.f=t,this.b=e}function DY(n,t,e){this.a=new $p,this.e=n,this.f=t,this.c=e}function RY(n,t){X$(this),this.f=t,this.g=n,yQ(this),this._d()}function _Y(n,t){var e;e=n.q.getHours(),n.q.setDate(t),hBn(n,e)}function KY(n,t){var e;for(vX(t),e=n.a;e;e=e.c)t.Od(e.g,e.i)}function FY(n){var t;return Oon(t=new fE(ntn(n.length)),n),t}function BY(n){function t(){}return t.prototype=n||{},new t}function HY(n,t){return!!lun(n,t)&&(nin(n),!0)}function qY(n,t){if(null==t)throw Fp(new wv);return cgn(n,t)}function GY(n){if(n.qe())return null;var t=n.n;return TWn[t]}function zY(n){return n.Db>>16!=3?null:KB(n.Cb,33)}function UY(n){return n.Db>>16!=9?null:KB(n.Cb,33)}function XY(n){return n.Db>>16!=6?null:KB(n.Cb,79)}function WY(n){return n.Db>>16!=7?null:KB(n.Cb,235)}function VY(n){return n.Db>>16!=7?null:KB(n.Cb,160)}function QY(n){return n.Db>>16!=11?null:KB(n.Cb,33)}function JY(n,t){var e;return(e=n.Yg(t))>=0?n.lh(e):BIn(n,t)}function YY(n,t){var e;return aMn(e=new Aq(t),n),new Z_(e)}function ZY(n){var t;return t=n.d,t=n.si(n.f),s9(n,t),t.Ob()}function nZ(n,t){return n.b+=t.b,n.c+=t.c,n.d+=t.d,n.a+=t.a,n}function tZ(n,t){return i.Math.abs(n)<i.Math.abs(t)?n:t}function eZ(n){return!n.a&&(n.a=new nU(qOt,n,10,11)),n.a.i>0}function iZ(){this.a=new sA,this.e=new xv,this.g=0,this.i=0}function rZ(n){this.a=n,this.b=L8(Rmt,uVn,1944,n.e.length,0,2)}function cZ(n,t,e){var i;i=$on(n,t,e),n.b=new prn(i.c.length)}function aZ(){aZ=O,eyt=new eC(dYn,0),iyt=new eC("UP",1)}function uZ(){uZ=O,xkt=new fC(G3n,0),Dkt=new fC("FAN",1)}function oZ(){oZ=O,aAt=new Lp,cAt=new Lp,_I(vet,new wo)}function sZ(n){if(0!=n.p)throw Fp(new bv);return QI(n.f,0)}function hZ(n){if(0!=n.p)throw Fp(new bv);return QI(n.k,0)}function fZ(n){return n.Db>>16!=3?null:KB(n.Cb,147)}function lZ(n){return n.Db>>16!=6?null:KB(n.Cb,235)}function bZ(n){return n.Db>>16!=17?null:KB(n.Cb,26)}function wZ(n,t){var e=n.a=n.a||[];return e[t]||(e[t]=n.le(t))}function dZ(n,t){var e;return null==(e=n.a.get(t))?new Array:e}function gZ(n,t){var e;e=n.q.getHours(),n.q.setMonth(t),hBn(n,e)}function pZ(n,t,e){return null==t?yCn(n.f,null,e):cbn(n.g,t,e)}function vZ(n,t,e,i,r,c){return new $7(n.e,t,n.aj(),e,i,r,c)}function mZ(n,t,e){return n.a=sx(n.a,0,t)+""+e+YI(n.a,t),n}function yZ(n,t,e){return UB(n.a,(YW(),qvn(t,e),new gT(t,e))),n}function kZ(n){return aN(n.c),n.e=n.a=n.c,n.c=n.c.c,++n.d,n.a.f}function jZ(n){return aN(n.e),n.c=n.a=n.e,n.e=n.e.e,--n.d,n.a.f}function EZ(n,t){n.d&&v7(n.d.e,n),n.d=t,n.d&&UB(n.d.e,n)}function TZ(n,t){n.c&&v7(n.c.g,n),n.c=t,n.c&&UB(n.c.g,n)}function MZ(n,t){n.c&&v7(n.c.a,n),n.c=t,n.c&&UB(n.c.a,n)}function SZ(n,t){n.i&&v7(n.i.j,n),n.i=t,n.i&&UB(n.i.j,n)}function PZ(n,t,e){this.a=t,this.c=n,this.b=(vX(e),new Z_(e))}function CZ(n,t,e){this.a=t,this.c=n,this.b=(vX(e),new Z_(e))}function IZ(n,t){this.a=n,this.c=K$(this.a),this.b=new wJ(t)}function OZ(n){return Wln(n),IV(n,new gw(new xv))}function AZ(n,t){if(n<0||n>t)throw Fp(new Iy(yJn+n+kJn+t))}function $Z(n,t){return PG(n.a,t)?kU(n,KB(t,22).g,null):null}function LZ(n){return Thn(),oN(),0!=KB(n.a,81).d.e}function NZ(){NZ=O,znt=hhn((ey(),Mun(Hk(Unt,1),OVn,538,0,[qnt])))}function xZ(){xZ=O,dmt=UG(new K2,(vMn(),Kat),(hWn(),Bot))}function DZ(){DZ=O,gmt=UG(new K2,(vMn(),Kat),(hWn(),Bot))}function RZ(){RZ=O,vmt=UG(new K2,(vMn(),Kat),(hWn(),Bot))}function _Z(){_Z=O,qmt=bq(new K2,(vMn(),Kat),(hWn(),bot))}function KZ(){KZ=O,Wmt=bq(new K2,(vMn(),Kat),(hWn(),bot))}function FZ(){FZ=O,Jmt=bq(new K2,(vMn(),Kat),(hWn(),bot))}function BZ(){BZ=O,ayt=bq(new K2,(vMn(),Kat),(hWn(),bot))}function HZ(){HZ=O,qkt=UG(new K2,(qyn(),_yt),(NPn(),qyt))}function qZ(n,t,e,i){this.c=n,this.d=i,UZ(this,t),XZ(this,e)}function GZ(n){this.c=new VT,this.b=n.b,this.d=n.c,this.a=n.a}function zZ(n){this.a=i.Math.cos(n),this.b=i.Math.sin(n)}function UZ(n,t){n.a&&v7(n.a.k,n),n.a=t,n.a&&UB(n.a.k,n)}function XZ(n,t){n.b&&v7(n.b.f,n),n.b=t,n.b&&UB(n.b.f,n)}function WZ(n,t){tW(n,n.b,n.c),KB(n.b.b,65),t&&KB(t.b,65).b}function VZ(n,t){qln(n,t),iL(n.Cb,88)&&ICn(M5(KB(n.Cb,88)),2)}function QZ(n,t){iL(n.Cb,88)&&ICn(M5(KB(n.Cb,88)),4),$rn(n,t)}function JZ(n,t){iL(n.Cb,179)&&(KB(n.Cb,179).tb=null),$rn(n,t)}function YZ(n,t){return JM(),onn(t)?new hq(t,n):new LI(t,n)}function ZZ(n,t){null!=t.c&&YX(n,new HX(t.c))}function n1(n){var t;return tE(),ien(t=new Dp,n),t}function t1(n){var t;return tE(),ien(t=new Dp,n),t}function e1(n,t){var e;return e=new FX(n),t.c[t.c.length]=e,e}function i1(n,t){var e;return(e=KB(hfn(CQ(n.a),t),14))?e.gc():0}function r1(n){return Wln(n),MQ(),MQ(),vtn(n,bet)}function c1(n){for(var t;;)if(t=n.Pb(),!n.Ob())return t}function a1(n,t){Gm.call(this,new zT(ntn(n))),hin(t,aVn),this.a=t}function u1(n,t,e){Ffn(t,e,n.gc()),this.c=n,this.a=t,this.b=e-t}function o1(n,t,e){var i;Ffn(t,e,n.c.length),i=e-t,ME(n.c,t,i)}function s1(n,t){oL(n,bG(n0(mz(t,24),uJn)),bG(n0(t,uJn)))}function h1(n,t){if(n<0||n>=t)throw Fp(new Iy(yJn+n+kJn+t))}function f1(n,t){if(n<0||n>=t)throw Fp(new Ck(yJn+n+kJn+t))}function l1(n,t){this.b=(mW(n),n),this.a=t&RQn?t:64|t|oVn}function b1(n){NA(this),Mv(this.a,mon(i.Math.max(8,n))<<1)}function w1(n){return Ion(Mun(Hk(MMt,1),uVn,8,0,[n.i.n,n.n,n.a]))}function d1(){return Bsn(),Mun(Hk(Yet,1),OVn,132,0,[qet,Get,zet])}function g1(){return Ntn(),Mun(Hk(Xit,1),OVn,232,0,[Hit,qit,Git])}function p1(){return Q9(),Mun(Hk(nrt,1),OVn,461,0,[Vit,Wit,Qit])}function v1(){return H7(),Mun(Hk(Crt,1),OVn,462,0,[irt,ert,trt])}function m1(){return Kfn(),Mun(Hk(put,1),OVn,423,0,[lut,fut,hut])}function y1(){return B7(),Mun(Hk(Fat,1),OVn,379,0,[Cat,Pat,Iat])}function k1(){return Ehn(),Mun(Hk(lvt,1),OVn,378,0,[ivt,rvt,cvt])}function j1(){return Cin(),Mun(Hk(dht,1),OVn,314,0,[oht,uht,sht])}function E1(){return cin(),Mun(Hk(jht,1),OVn,337,0,[lht,wht,bht])}function T1(){return Qun(),Mun(Hk(Kht,1),OVn,450,0,[Iht,Cht,Oht])}function M1(){return Srn(),Mun(Hk(Ust,1),OVn,361,0,[xst,Nst,Lst])}function S1(){return q7(),Mun(Hk(Aft,1),OVn,303,0,[Mft,Sft,Tft])}function P1(){return Dan(),Mun(Hk(Pft,1),OVn,292,0,[yft,kft,mft])}function C1(){return rin(),Mun(Hk(Wvt,1),OVn,452,0,[Hvt,Fvt,Bvt])}function I1(){return pon(),Mun(Hk(_vt,1),OVn,339,0,[$vt,Avt,Lvt])}function O1(){return Fcn(),Mun(Hk(Yvt,1),OVn,375,0,[zvt,Uvt,Xvt])}function A1(){return Oun(),Mun(Hk(Tmt,1),OVn,377,0,[fmt,lmt,hmt])}function $1(){return Gsn(),Mun(Hk(omt,1),OVn,336,0,[nmt,tmt,emt])}function L1(){return bcn(),Mun(Hk(bmt,1),OVn,338,0,[umt,cmt,amt])}function N1(){return ain(),Mun(Hk(Lmt,1),OVn,454,0,[Cmt,Imt,Omt])}function x1(){return Sbn(),Mun(Hk(cjt,1),OVn,442,0,[njt,Ykt,Zkt])}function D1(){return Fsn(),Mun(Hk(Hjt,1),OVn,380,0,[ujt,ojt,sjt])}function R1(){return Tbn(),Mun(Hk($Et,1),OVn,381,0,[Jjt,Yjt,Qjt])}function _1(){return Kcn(),Mun(Hk(Vjt,1),OVn,293,0,[zjt,Ujt,Gjt])}function K1(){return Mbn(),Mun(Hk(UEt,1),OVn,437,0,[FEt,BEt,HEt])}function F1(){return cfn(),Mun(Hk(TCt,1),OVn,334,0,[gCt,dCt,pCt])}function B1(){return xtn(),Mun(Hk(YPt,1),OVn,272,0,[qPt,GPt,zPt])}function H1(n,t){return m$n(n,t,iL(t,99)&&!!(KB(t,18).Bb&KQn))}function q1(n,t,e){var i;return(i=iHn(n,t,!1)).b<=t&&i.a<=e}function G1(n,t,e){var i;(i=new ca).b=t,i.a=e,++t.b,UB(n.d,i)}function z1(n,t){var e;return jx(!!(e=(mW(n),n).g)),mW(t),e(t)}function U1(n,t){var e,i;return i=dU(n,t),e=n.a.Zc(i),new mT(n,e)}function X1(n){return n.Db>>16!=6?null:KB(iAn(n),235)}function W1(n){if(2!=n.p)throw Fp(new bv);return bG(n.f)&WVn}function V1(n){if(2!=n.p)throw Fp(new bv);return bG(n.k)&WVn}function Q1(n){return n.a==(x5(),Z$t)&&bb(n,nLn(n.g,n.b)),n.a}function J1(n){return n.d==(x5(),Z$t)&&db(n,$_n(n.g,n.b)),n.d}function Y1(n){return Mx(n.a<n.c.c.length),n.b=n.a++,n.c.c[n.b]}function Z1(n,t){n.b=n.b|t.b,n.c=n.c|t.c,n.d=n.d|t.d,n.a=n.a|t.a}function n0(n,t){return can(Tz(QO(n)?Man(n):n,QO(t)?Man(t):t))}function t0(n,t){return can(Mz(QO(n)?Man(n):n,QO(t)?Man(t):t))}function e0(n,t){return can(Sz(QO(n)?Man(n):n,QO(t)?Man(t):t))}function i0(n){return ebn(vz(san(F$n(n,32)),32),san(F$n(n,32)))}function r0(n){return vX(n),iL(n,14)?new Z_(KB(n,14)):FB(n.Kc())}function c0(n,t){return Nnn(),n.c==t.c?Mln(t.d,n.d):Mln(n.c,t.c)}function a0(n,t){return Nnn(),n.c==t.c?Mln(n.d,t.d):Mln(n.c,t.c)}function u0(n,t){return Nnn(),n.c==t.c?Mln(n.d,t.d):Mln(t.c,n.c)}function o0(n,t){return Nnn(),n.c==t.c?Mln(t.d,n.d):Mln(t.c,n.c)}function s0(n,t){var e;e=Hy(ED(n.a.We((uWn(),CPt)))),XUn(n,t,e)}function h0(n,t){var e;e=KB(xX(n.g,t),57),Ctn(t.d,new aP(n,e))}function f0(n,t){var e,i;return(e=ayn(n))<(i=ayn(t))?-1:e>i?1:0}function l0(n,t){var e;return e=T7(t),KB(xX(n.c,e),19).a}function b0(n,t){var e;for(e=n+"";e.length<t;)e="0"+e;return e}function w0(n){return null==n.c||0==n.c.length?"n_"+n.g:"n_"+n.c}function d0(n){return null==n.c||0==n.c.length?"n_"+n.b:"n_"+n.c}function g0(n,t){return n&&n.equals?n.equals(t):HI(n)===HI(t)}function p0(n,t){return 0==t?!!n.o&&0!=n.o.f:gpn(n,t)}function v0(n,t,e){var i;n.n&&t&&e&&(i=new Zu,UB(n.e,i))}function m0(n,t,e){var i;i=n.d[t.p],n.d[t.p]=n.d[e.p],n.d[e.p]=i}function y0(n,t,e){this.d=n,this.j=t,this.e=e,this.o=-1,this.p=3}function k0(n,t,e){this.d=n,this.k=t,this.f=e,this.o=-1,this.p=5}function j0(n,t,e){Ip.call(this,25),this.b=n,this.a=t,this.c=e}function E0(n){lWn(),Ip.call(this,n),this.c=!1,this.a=!1}function T0(n,t,e,i,r,c){Fen.call(this,n,t,e,i,r),c&&(this.o=-2)}function M0(n,t,e,i,r,c){Ben.call(this,n,t,e,i,r),c&&(this.o=-2)}function S0(n,t,e,i,r,c){Q5.call(this,n,t,e,i,r),c&&(this.o=-2)}function P0(n,t,e,i,r,c){Gen.call(this,n,t,e,i,r),c&&(this.o=-2)}function C0(n,t,e,i,r,c){J5.call(this,n,t,e,i,r),c&&(this.o=-2)}function I0(n,t,e,i,r,c){Hen.call(this,n,t,e,i,r),c&&(this.o=-2)}function O0(n,t,e,i,r,c){qen.call(this,n,t,e,i,r),c&&(this.o=-2)}function A0(n,t,e,i,r,c){Y5.call(this,n,t,e,i,r),c&&(this.o=-2)}function $0(n,t,e,i){yp.call(this,e),this.b=n,this.c=t,this.d=i}function L0(n,t){this.a=new $p,this.d=new $p,this.f=n,this.c=t}function N0(){this.c=new O$,this.a=new fJ,this.b=new nm,fM()}function x0(){$un(),this.b=new Lp,this.a=new Lp,this.c=new $p}function D0(n,t){this.g=n,this.d=(x5(),Z$t),this.a=Z$t,this.b=t}function R0(n,t){this.f=n,this.a=(x5(),Y$t),this.c=Y$t,this.b=t}function _0(n,t){!n.c&&(n.c=new kcn(n,0)),EHn(n.c,(Gqn(),OLt),t)}function K0(){K0=O,Fkt=new lC("DFS",0),Kkt=new lC("BFS",1)}function F0(n,t,e){var i;return!!(i=KB(n.Zb().xc(t),14))&&i.Hc(e)}function B0(n,t,e){var i;return!!(i=KB(n.Zb().xc(t),14))&&i.Mc(e)}function H0(n,t,e,i){return n.a+=""+sx(null==t?qWn:Kbn(t),e,i),n}function q0(n,t,e,i,r,c){return xcn(n,t,e,c),Qfn(n,i),Zfn(n,r),n}function G0(n){return Mx(n.b.b!=n.d.a),n.c=n.b=n.b.b,--n.a,n.c.c}function z0(n){for(;n.d>0&&0==n.a[--n.d];);0==n.a[n.d++]&&(n.e=0)}function U0(n){return n.a?0==n.e.length?n.a.a:n.a.a+""+n.e:n.c}function X0(n){return!(!n.a||0==F7(n.a.a).i||n.b&&Dvn(n.b))}function W0(n){return!(!n.u||0==r4(n.u.a).i||n.n&&xvn(n.n))}function V0(n){return vq(n.e.Hd().gc()*n.c.Hd().gc(),16,new qf(n))}function Q0(n,t){return _U(san(n.q.getTime()),san(t.q.getTime()))}function J0(n){return KB(Wgn(n,L8(vut,i1n,17,n.c.length,0,1)),474)}function Y0(n){return KB(Wgn(n,L8(Cut,r1n,10,n.c.length,0,1)),193)}function Z0(n){return KZ(),!(f5(n)||!f5(n)&&n.c.i.c==n.d.i.c)}function n2(n,t,e){vX(n),Lyn(new PZ(new Z_(n),t,e))}function t2(n,t,e){vX(n),Nyn(new CZ(new Z_(n),t,e))}function e2(n,t){var e;return e=1-t,n.a[e]=lrn(n.a[e],e),lrn(n,t)}function i2(n,t){var e;n.e=new Qm,p$(e=lDn(t),n.c),PDn(n,e,0)}function r2(n,t,e,i){var r;(r=new vu).a=t,r.b=e,r.c=i,NH(n.a,r)}function c2(n,t,e,i){var r;(r=new vu).a=t,r.b=e,r.c=i,NH(n.b,r)}function a2(n){var t,e;return e=Z_n(t=new hX,n),vzn(t),e}function u2(){var n,t;return n=new Dp,UB(U$t,t=n),t}function o2(n){return n.j.c=L8(Int,FWn,1,0,5,1),jV(n.c),wV(n.a),n}function s2(n){return EM(),iL(n.g,10)?KB(n.g,10):null}function h2(n){return!kV(n).dc()&&(A$(n,new m),!0)}function f2(n){if(!("stack"in n))try{throw n}catch(t){}return n}function l2(n,t){if(n<0||n>=t)throw Fp(new Iy(ACn(n,t)));return n}function b2(n,t,e){if(n<0||t<n||t>e)throw Fp(new Iy(aPn(n,t,e)))}function w2(n,t){if(jU(n.a,t),t.d)throw Fp(new by(PJn));t.d=n}function d2(n,t){if(t.$modCount!=n.$modCount)throw Fp(new gv)}function g2(n,t){return!!iL(t,42)&&Emn(n.a,KB(t,42))}function p2(n,t){return!!iL(t,42)&&Emn(n.a,KB(t,42))}function v2(n,t){return!!iL(t,42)&&Emn(n.a,KB(t,42))}function m2(n,t){return n.a<=n.b&&(t.ud(n.a++),!0)}function y2(n){var t;return QO(n)?-0==(t=n)?0:t:dnn(n)}function k2(n){var t;return kW(n),t=new F,wE(n.a,new ww(t)),t}function j2(n){var t;return kW(n),t=new K,wE(n.a,new bw(t)),t}function E2(n,t){this.a=n,Tb.call(this,n),AZ(t,n.gc()),this.b=t}function T2(n){this.e=n,this.b=this.e.a.entries(),this.a=new Array}function M2(n){return vq(n.e.Hd().gc()*n.c.Hd().gc(),273,new Hf(n))}function S2(n){return new Q6((hin(n,$Vn),Znn(ebn(ebn(5,n),n/10|0))))}function P2(n){return KB(Wgn(n,L8(Hut,c1n,11,n.c.length,0,1)),1943)}function C2(n,t,e){return e.f.c.length>0?KU(n.a,t,e):KU(n.b,t,e)}function I2(n,t,e){n.d&&v7(n.d.e,n),n.d=t,n.d&&mG(n.d.e,e,n)}function O2(n,t){gXn(t,n),rH(n.d),rH(KB(pMn(n,(FXn(),Igt)),207))}function A2(n,t){dXn(t,n),iH(n.d),iH(KB(pMn(n,(FXn(),Igt)),207))}function $2(n,t){var e,i;return i=null,(e=qY(n,t))&&(i=e.fe()),i}function L2(n,t){var e,i;return i=null,(e=bnn(n,t))&&(i=e.ie()),i}function N2(n,t){var e,i;return i=null,(e=qY(n,t))&&(i=e.ie()),i}function x2(n,t){var e,i;return i=null,(e=qY(n,t))&&(i=vPn(e)),i}function D2(n,t,e){var i;return i=Wdn(e),l_n(n.g,i,t),l_n(n.i,t,e),t}function R2(n,t,e){var i;i=Adn();try{return bR(n,t,e)}finally{v3(i)}}function _2(n){var t;t=n.Wg(),this.a=iL(t,69)?KB(t,69).Zh():t.Kc()}function K2(){Vm.call(this),this.j.c=L8(Int,FWn,1,0,5,1),this.a=-1}function F2(n,t,e,i){this.d=n,this.n=t,this.g=e,this.o=i,this.p=-1}function B2(n,t,e,i){this.e=i,this.d=null,this.c=n,this.a=t,this.b=e}function H2(n,t,e){this.d=new _d(this),this.e=n,this.i=t,this.f=e}function q2(){q2=O,Ift=new NP(nYn,0),Oft=new NP("TOP_LEFT",1)}function G2(){G2=O,jmt=QW(tln(1),tln(4)),kmt=QW(tln(1),tln(2))}function z2(){z2=O,QEt=hhn((PM(),Mun(Hk(ZEt,1),OVn,551,0,[WEt])))}function U2(){U2=O,XEt=hhn((SM(),Mun(Hk(VEt,1),OVn,482,0,[zEt])))}function X2(){X2=O,GTt=hhn((CM(),Mun(Hk(XTt,1),OVn,530,0,[HTt])))}function W2(){W2=O,rct=hhn((lM(),Mun(Hk(Mct,1),OVn,481,0,[ect])))}function V2(){return Nan(),Mun(Hk(Hrt,1),OVn,406,0,[xrt,$rt,Lrt,Nrt])}function Q2(){return J9(),Mun(Hk(_et,1),OVn,297,0,[$et,Let,Net,xet])}function J2(){return Bpn(),Mun(Hk(ict,1),OVn,394,0,[Jrt,Qrt,Yrt,Zrt])}function Y2(){return Fpn(),Mun(Hk(Grt,1),OVn,323,0,[Krt,_rt,Frt,Brt])}function Z2(){return Iun(),Mun(Hk(but,1),OVn,405,0,[Jat,nut,Yat,Zat])}function n3(){return Pun(),Mun(Hk(dst,1),OVn,360,0,[rst,est,ist,tst])}function t3(n,t,e,i){return iL(e,54)?new Cx(n,t,e,i):new uz(n,t,e,i)}function e3(){return Cun(),Mun(Hk(Pst,1),OVn,411,0,[gst,pst,vst,mst])}function i3(n){return n.j==(mUn(),TIt)&&TN(GOn(n),aIt)}function r3(n,t){var e;TZ(e=t.a,t.c.d),EZ(e,t.d.d),Jtn(e.a,n.n)}function c3(n,t){return KB(ON(Pz(KB(o6(n.k,t),15).Oc(),Wst)),113)}function a3(n,t){return KB(ON(Cz(KB(o6(n.k,t),15).Oc(),Wst)),113)}function u3(n){return new l1(Zrn(KB(n.a.dd(),14).gc(),n.a.cd()),16)}function o3(n){return iL(n,14)?KB(n,14).dc():!n.Kc().Ob()}function s3(n){return EM(),iL(n.g,145)?KB(n.g,145):null}function h3(n){if(n.e.g!=n.b)throw Fp(new gv);return!!n.c&&n.d>0}function f3(n){return Mx(n.b!=n.d.c),n.c=n.b,n.b=n.b.a,++n.a,n.c.c}function l3(n,t){mW(t),OX(n.a,n.c,t),n.c=n.c+1&n.a.length-1,lyn(n)}function b3(n,t){mW(t),n.b=n.b-1&n.a.length-1,OX(n.a,n.b,t),lyn(n)}function w3(n,t){var e;for(e=n.j.c.length;e<t;e++)UB(n.j,n.rg())}function d3(n,t,e,i){var r;return r=i[t.g][e.g],Hy(ED(pMn(n.a,r)))}function g3(n,t,e,i,r){this.i=n,this.a=t,this.e=e,this.j=i,this.f=r}function p3(n,t,e,i,r){this.a=n,this.e=t,this.f=e,this.b=i,this.g=r}function v3(n){n&&Pnn((uk(),Znt)),--itt,n&&-1!=ctt&&(tS(ctt),ctt=-1)}function m3(){return fvn(),Mun(Hk(mvt,1),OVn,197,0,[hvt,fvt,svt,ovt])}function y3(){return qyn(),Mun(Hk(Byt,1),OVn,393,0,[xyt,Dyt,Ryt,_yt])}function k3(){return Cmn(),Mun(Hk(Xjt,1),OVn,340,0,[Bjt,Kjt,Fjt,_jt])}function j3(){return pdn(),Mun(Hk(VIt,1),OVn,374,0,[DIt,RIt,xIt,NIt])}function E3(){return zyn(),Mun(Hk(xCt,1),OVn,285,0,[ECt,yCt,kCt,jCt])}function T3(){return Ebn(),Mun(Hk(aCt,1),OVn,218,0,[JPt,VPt,WPt,QPt])}function M3(){return _wn(),Mun(Hk(iOt,1),OVn,311,0,[nOt,JIt,ZIt,YIt])}function S3(){return Ksn(),Mun(Hk(lOt,1),OVn,396,0,[cOt,aOt,rOt,uOt])}function P3(n){return oZ(),oU(aAt,n)?KB(xX(aAt,n),331).ug():null}function C3(n,t,e){return t<0?BIn(n,e):KB(e,66).Nj().Sj(n,n.yh(),t)}function I3(n,t,e){var i;return i=Wdn(e),l_n(n.d,i,t),XW(n.e,t,e),t}function O3(n,t,e){var i;return i=Wdn(e),l_n(n.j,i,t),XW(n.k,t,e),t}function A3(n){var t;return Zj(),t=new io,n&&FLn(t,n),t}function $3(n){var t;return t=n.ri(n.i),n.i>0&&rHn(n.g,0,t,0,n.i),t}function L3(n,t){var e;return YM(),!(e=KB(xX(gAt,n),55))||e.wj(t)}function N3(n){if(1!=n.p)throw Fp(new bv);return bG(n.f)<<24>>24}function x3(n){if(1!=n.p)throw Fp(new bv);return bG(n.k)<<24>>24}function D3(n){if(7!=n.p)throw Fp(new bv);return bG(n.k)<<16>>16}function R3(n){if(7!=n.p)throw Fp(new bv);return bG(n.f)<<16>>16}function _3(n){var t;for(t=0;n.Ob();)n.Pb(),t=ebn(t,1);return Znn(t)}function K3(n,t){var e;return e=new Pk,n.xd(e),e.a+="..",t.yd(e),e.a}function F3(n,t,e){var i;i=KB(xX(n.g,e),57),UB(n.a.c,new eI(t,i))}function B3(n,t,e){return jz(ED(BI(IJ(n.f,t))),ED(BI(IJ(n.f,e))))}function H3(n,t,e){return GFn(n,t,e,iL(t,99)&&!!(KB(t,18).Bb&KQn))}function q3(n,t,e){return dBn(n,t,e,iL(t,99)&&!!(KB(t,18).Bb&KQn))}function G3(n,t,e){return L$n(n,t,e,iL(t,99)&&!!(KB(t,18).Bb&KQn))}function z3(n,t){return n==(cSn(),Sut)&&t==Sut?4:n==Sut||t==Sut?8:32}function U3(n,t){return HI(t)===HI(n)?"(this Map)":null==t?qWn:Kbn(t)}function X3(n,t){return KB(null==t?BI(IJ(n.f,null)):oS(n.g,t),281)}function W3(n,t,e){var i;return i=Wdn(e),XW(n.b,i,t),XW(n.c,t,e),t}function V3(n,t){var e;for(e=t;e;)Rx(n,e.i,e.j),e=QY(e);return n}function Q3(n,t){var e;return e=eJ(FB(new S7(n,t))),Sq(new S7(n,t)),e}function J3(n,t){var e;return JM(),jSn(e=KB(n,66).Mj(),t),e.Ok(t)}function Y3(n,t,e,i,r){UB(t,pCn(r,z$n(r,e,i))),GMn(n,r,t)}function Z3(n,t,e){n.i=0,n.e=0,t!=e&&(Uon(n,t,e),zon(n,t,e))}function n4(n,t){var e;e=n.q.getHours(),n.q.setFullYear(t+uQn),hBn(n,e)}function t4(n,t,e){if(e){var i=e.ee();n.a[t]=i(e)}else delete n.a[t]}function e4(n,t,e){if(e){var i=e.ee();e=i(e)}else e=void 0;n.a[t]=e}function i4(n){if(n<0)throw Fp(new Ky("Negative array size: "+n))}function r4(n){return n.n||(M5(n),n.n=new VG(n,UAt,n),mJ(n)),n.n}function c4(n){return Mx(n.a<n.c.a.length),n.b=n.a,Inn(n),n.c.b[n.b]}function a4(n){n.b!=n.c&&(n.a=L8(Int,FWn,1,8,5,1),n.b=0,n.c=0)}function u4(n){this.b=new Lp,this.c=new Lp,this.d=new Lp,this.a=n}function o4(n,t){lWn(),Ip.call(this,n),this.a=t,this.c=-1,this.b=-1}function s4(n,t,e,i){y0.call(this,1,e,i),this.c=n,this.b=t}function h4(n,t,e,i){k0.call(this,1,e,i),this.c=n,this.b=t}function f4(n,t,e,i,r,c,a){min.call(this,t,i,r,c,a),this.c=n,this.a=e}function l4(n,t,e){this.e=n,this.a=Int,this.b=IRn(t),this.c=t,this.d=e}function b4(n){this.e=n,this.c=this.e.a,this.b=this.e.g,this.d=this.e.i}function w4(n){this.c=n,this.a=KB(Pkn(n),148),this.b=this.a.Aj().Nh()}function d4(n){this.d=n,this.b=this.d.a.entries(),this.a=this.b.next()}function g4(){Lp.call(this),yx(this),this.d.b=this.d,this.d.a=this.d}function p4(n,t){OR.call(this),this.a=n,this.b=t,UB(this.a.b,this)}function v4(n,t){return tO(null!=t?TY(n,t):BI(IJ(n.f,t)))}function m4(n,t){return tO(null!=t?TY(n,t):BI(IJ(n.f,t)))}function y4(n,t){var e;for(e=0;e<t;++e)OX(n,e,new Gb(KB(n[e],42)))}function k4(n,t){var e;for(e=n.d-1;e>=0&&n.a[e]===t[e];e--);return e<0}function j4(n,t){var e;return qsn(),0!=(e=n.j.g-t.j.g)?e:0}function E4(n,t){return mW(t),null!=n.a?MG(t.Kb(n.a)):Tet}function T4(n){var t;return n?new Aq(n):(Brn(t=new sA,n),t)}function M4(n,t){return t.b.Kb(j7(n,t.c.Ee(),new vw(t)))}function S4(n){vTn(),oL(this,bG(n0(mz(n,24),uJn)),bG(n0(n,uJn)))}function P4(){P4=O,dit=hhn((opn(),Mun(Hk(vit,1),OVn,428,0,[bit,lit])))}function C4(){C4=O,mit=hhn((xnn(),Mun(Hk(Dit,1),OVn,427,0,[git,pit])))}function I4(){I4=O,Rct=hhn((Dnn(),Mun(Hk(Oat,1),OVn,424,0,[Nct,xct])))}function O4(){O4=O,qut=hhn((Trn(),Mun(Hk(Uut,1),OVn,511,0,[But,Fut])))}function A4(){A4=O,Pht=hhn((Rnn(),Mun(Hk(Aht,1),OVn,419,0,[Tht,Mht])))}function $4(){$4=O,Ght=hhn((w7(),Mun(Hk(Jht,1),OVn,479,0,[Hht,Bht])))}function L4(){L4=O,Zvt=hhn((I6(),Mun(Hk(imt,1),OVn,376,0,[Jvt,Qvt])))}function N4(){N4=O,Kvt=hhn((G7(),Mun(Hk(qvt,1),OVn,421,0,[Dvt,Rvt])))}function x4(){x4=O,aht=hhn((X8(),Mun(Hk(hht,1),OVn,422,0,[iht,rht])))}function D4(){D4=O,$ft=hhn((q2(),Mun(Hk(Hlt,1),OVn,420,0,[Ift,Oft])))}function R4(){R4=O,Myt=hhn((C6(),Mun(Hk(Lyt,1),OVn,520,0,[Eyt,jyt])))}function _4(){_4=O,Hmt=hhn((W4(),Mun(Hk(Xmt,1),OVn,523,0,[Fmt,Kmt])))}function K4(){K4=O,tyt=hhn((wY(),Mun(Hk(ryt,1),OVn,516,0,[Zmt,Ymt])))}function F4(){F4=O,cyt=hhn((aZ(),Mun(Hk(Tyt,1),OVn,515,0,[eyt,iyt])))}function B4(){B4=O,Nyt=hhn((bY(),Mun(Hk(Kyt,1),OVn,455,0,[Ayt,$yt])))}function H4(){H4=O,Hkt=hhn((K0(),Mun(Hk(Qkt,1),OVn,425,0,[Fkt,Kkt])))}function q4(){q4=O,Jkt=hhn((Mrn(),Mun(Hk(tjt,1),OVn,495,0,[Wkt,Vkt])))}function G4(){G4=O,_kt=hhn((uZ(),Mun(Hk(Bkt,1),OVn,480,0,[xkt,Dkt])))}function z4(){z4=O,ajt=hhn((N9(),Mun(Hk(hjt,1),OVn,426,0,[ijt,rjt])))}function U4(){U4=O,WTt=hhn((Aun(),Mun(Hk(VTt,1),OVn,429,0,[UTt,zTt])))}function X4(){X4=O,nTt=hhn((O6(),Mun(Hk(aTt,1),OVn,430,0,[YEt,JEt])))}function W4(){W4=O,Fmt=new QP("UPPER",0),Kmt=new QP("LOWER",1)}function V4(n,t){var e;BQ(e=new dy,"x",t.a),BQ(e,"y",t.b),YX(n,e)}function Q4(n,t){var e;BQ(e=new dy,"x",t.a),BQ(e,"y",t.b),YX(n,e)}function J4(n,t){var e,i;i=!1;do{i|=e=fon(n,t)}while(e);return i}function Y4(n,t){var e,i;for(e=t,i=0;e>0;)i+=n.a[e],e-=e&-e;return i}function Z4(n,t){var e;for(e=t;e;)Rx(n,-e.i,-e.j),e=QY(e);return n}function n5(n,t){var e,i;for(mW(t),i=n.Kc();i.Ob();)e=i.Pb(),t.td(e)}function t5(n,t){var e;return new gT(e=t.cd(),n.e.pc(e,KB(t.dd(),14)))}function e5(n,t,e,i){var r;(r=new $).c=t,r.b=e,r.a=i,i.b=e.a=r,++n.b}function i5(n,t,e){var i;return h1(t,n.c.length),i=n.c[t],n.c[t]=e,i}function r5(n,t,e){return KB(null==t?yCn(n.f,null,e):cbn(n.g,t,e),281)}function c5(n){return n.c&&n.d?d0(n.c)+"->"+d0(n.d):"e_"+MN(n)}function a5(n,t){return(Wln(n),yE(new xq(n,new W9(t,n.a)))).sd(Zet)}function u5(){return vMn(),Mun(Hk(Gat,1),OVn,356,0,[xat,Dat,Rat,_at,Kat])}function o5(){return mUn(),Mun(Hk(_It,1),VZn,61,0,[MIt,uIt,aIt,TIt,SIt])}function s5(n){return Nk(),function(){return R2(n,this,arguments)}}function h5(){return Date.now?Date.now():(new Date).getTime()}function f5(n){return!(!n.c||!n.d||!n.c.i||n.c.i!=n.d.i)}function l5(n){if(!n.c.Sb())throw Fp(new vv);return n.a=!0,n.c.Ub()}function b5(n){n.i=0,vS(n.b,null),vS(n.c,null),n.a=null,n.e=null,++n.g}function w5(n){bS.call(this,null==n?qWn:Kbn(n),iL(n,78)?KB(n,78):null)}function d5(n){nWn(),Kp(this),this.a=new VT,bsn(this,n),NH(this.a,n)}function g5(){LA(this),this.b=new LC(xQn,xQn),this.a=new LC(DQn,DQn)}function p5(n,t){this.c=0,this.b=t,dO.call(this,n,17493),this.a=this.c}function v5(n){m5(),Wet||(this.c=n,this.e=!0,this.a=new $p)}function m5(){m5=O,Wet=!0,Uet=!1,Xet=!1,Qet=!1,Vet=!1}function y5(n,t){return!!iL(t,149)&&p_(n.c,KB(t,149).c)}function k5(n,t){var e;return e=0,n&&(e+=n.f.a/2),t&&(e+=t.f.a/2),e}function j5(n,t){return KB(hnn(n.d,t),23)||KB(hnn(n.e,t),23)}function E5(n){this.b=n,IL.call(this,n),this.a=KB(van(this.b.a,4),126)}function T5(n){this.b=n,rx.call(this,n),this.a=KB(van(this.b.a,4),126)}function M5(n){return n.t||(n.t=new bp(n),uln(new Ly(n),0,n.t)),n.t}function S5(){return _fn(),Mun(Hk(UPt,1),OVn,103,0,[KPt,_Pt,RPt,DPt,FPt])}function P5(){return ipn(),Mun(Hk(QCt,1),OVn,249,0,[KCt,BCt,RCt,_Ct,FCt])}function C5(){return epn(),Mun(Hk(yMt,1),OVn,175,0,[oMt,uMt,cMt,sMt,aMt])}function I5(){return OSn(),Mun(Hk(qTt,1),OVn,316,0,[tTt,eTt,cTt,iTt,rTt])}function O5(){return $vn(),Mun(Hk(Ivt,1),OVn,315,0,[vvt,dvt,gvt,wvt,pvt])}function A5(){return Xvn(),Mun(Hk(Sht,1),OVn,335,0,[vht,pht,yht,kht,mht])}function $5(){return VLn(),Mun(Hk(qEt,1),OVn,355,0,[NEt,LEt,DEt,xEt,REt])}function L5(){return AEn(),Mun(Hk(Dst,1),OVn,363,0,[Est,Mst,Sst,Tst,jst])}function N5(){return jbn(),Mun(Hk(tvt,1),OVn,163,0,[Blt,Rlt,_lt,Klt,Flt])}function x5(){var n,t;x5=O,tE(),t=new kv,Y$t=t,n=new Cm,Z$t=n}function D5(n){var t;return n.c||iL(t=n.r,88)&&(n.c=KB(t,26)),n.c}function R5(n){return n.e=3,n.d=n.Yb(),2!=n.e&&(n.e=0,!0)}function _5(n){return E$(n&TQn,n>>22&TQn,n<0?MQn:0)}function K5(n){var t,e,i;for(e=0,i=(t=n).length;e<i;++e)yW(t[e])}function F5(n,t){var e,i;(e=KB(ffn(n.c,t),14))&&(i=e.gc(),e.$b(),n.d-=i)}function B5(n,t){var e;return!!(e=hsn(n,t.cd()))&&iV(e.e,t.dd())}function H5(n,t){return 0==t||0==n.e?n:t>0?kdn(n,t):Pxn(n,-t)}function q5(n,t){return 0==t||0==n.e?n:t>0?Pxn(n,t):kdn(n,-t)}function G5(n){if(bAn(n))return n.c=n.a,n.a.Pb();throw Fp(new vv)}function z5(n){var t,e;return t=n.c.i,e=n.d.i,t.k==(cSn(),Eut)&&e.k==Eut}function U5(n){var t;return Ban(t=new lJ,n),oon(t,(FXn(),ggt),null),t}function X5(n,t,e){var i;return(i=n.Yg(t))>=0?n._g(i,e,!0):iOn(n,t,e)}function W5(n,t,e,i){var r;for(r=0;r<Jit;r++)zG(n.a[t.g][r],e,i[t.g])}function V5(n,t,e,i){var r;for(r=0;r<Yit;r++)GG(n.a[r][t.g],e,i[t.g])}function Q5(n,t,e,i,r){y0.call(this,t,i,r),this.c=n,this.a=e}function J5(n,t,e,i,r){k0.call(this,t,i,r),this.c=n,this.a=e}function Y5(n,t,e,i,r){t6.call(this,t,i,r),this.c=n,this.a=e}function Z5(n,t,e,i,r){t6.call(this,t,i,r),this.c=n,this.b=e}function n6(n,t,e){yp.call(this,e),this.b=n,this.c=t,this.d=(Kwn(),H$t)}function t6(n,t,e){this.d=n,this.k=t?1:0,this.f=e?1:0,this.o=-1,this.p=0}function e6(n,t,e){var i;jcn(i=new z$(n.a),n.a.a),yCn(i.f,t,e),n.a.a=i}function i6(n,t){n.qi(n.i+1),yL(n,n.i,n.oi(n.i,t)),n.bi(n.i++,t),n.ci()}function r6(n){var t,e;++n.j,t=n.g,e=n.i,n.g=null,n.i=0,n.di(e,t),n.ci()}function c6(n){var t;return vX(n),Oon(t=new Q6(JW(n.length)),n),t}function a6(n){var t;return vX(n),QPn(t=n?new Z_(n):FB(n.Kc())),ufn(t)}function u6(n,t){var e;return h1(t,n.c.length),e=n.c[t],ME(n.c,t,1),e}function o6(n,t){var e;return!(e=KB(n.c.xc(t),14))&&(e=n.ic(t)),n.pc(t,e)}function s6(n,t){var e,i;return mW(n),e=n,mW(t),e==(i=t)?0:e<i?-1:1}function h6(n){var t;return t=n.e+n.f,isNaN(t)&&U_(n.d)?n.d:t}function f6(n,t){return n.a?aO(n.a,n.b):n.a=new hN(n.d),rO(n.a,t),n}function l6(n,t){if(n<0||n>t)throw Fp(new Iy(bCn(n,t,"index")));return n}function b6(n,t,e,i){var r;return gTn(r=L8(CNt,oQn,25,t,15,1),n,t,e,i),r}function w6(n,t){var e;e=n.q.getHours()+(t/60|0),n.q.setMinutes(t),hBn(n,e)}function d6(n,t){return i.Math.min(U8(t.a,n.d.d.c),U8(t.b,n.d.d.c))}function g6(n,t){return zI(t)?null==t?wAn(n.f,null):Han(n.g,t):wAn(n.f,t)}function p6(n){this.c=n,this.a=new Ub(this.c.a),this.b=new Ub(this.c.b)}function v6(){this.e=new $p,this.c=new $p,this.d=new $p,this.b=new $p}function m6(){this.g=new Kv,this.b=new Kv,this.a=new $p,this.k=new $p}function y6(n,t,e){this.a=n,this.c=t,this.d=e,UB(t.e,this),UB(e.b,this)}function k6(n,t){wO.call(this,t.rd(),-6&t.qd()),mW(n),this.a=n,this.b=t}function j6(n,t){dO.call(this,t.rd(),-6&t.qd()),mW(n),this.a=n,this.b=t}function E6(n,t){gO.call(this,t.rd(),-6&t.qd()),mW(n),this.a=n,this.b=t}function T6(n,t,e){this.a=n,this.b=t,this.c=e,UB(n.t,this),UB(t.i,this)}function M6(){this.b=new VT,this.a=new VT,this.b=new VT,this.a=new VT}function S6(){S6=O,jMt=new cp("org.eclipse.elk.labels.labelManager")}function P6(){P6=O,nst=new tR("separateLayerConnections",(Pun(),rst))}function C6(){C6=O,Eyt=new cC("REGULAR",0),jyt=new cC("CRITICAL",1)}function I6(){I6=O,Jvt=new zP("STACKED",0),Qvt=new zP("SEQUENCED",1)}function O6(){O6=O,YEt=new jC("FIXED",0),JEt=new jC("CENTER_NODE",1)}function A6(n,t){var e;return e=LGn(n,t),n.b=new prn(e.c.length),vqn(n,e)}function $6(n,t,e){return++n.e,--n.f,KB(n.d[t].$c(e),133).dd()}function L6(n){var t;return n.a||iL(t=n.r,148)&&(n.a=KB(t,148)),n.a}function N6(n){return n.a?n.e?N6(n.e):null:n}function x6(n,t){return n.p<t.p?1:n.p>t.p?-1:0}function D6(n,t){return mW(t),n.c<n.d&&(n.ze(t,n.c++),!0)}function R6(n,t){return!!oU(n.a,t)&&(g6(n.a,t),!0)}function _6(n){var t;return t=n.cd(),xB(KB(n.dd(),14).Nc(),new Xf(t))}function K6(n){var t;return t=KB(XU(n.b,n.b.length),9),new V_(n.a,t,n.c)}function F6(n){return Wln(n),new ID(n,new JB(n,n.a.e,4|n.a.d))}function B6(n){var t;for(kW(n),t=0;n.a.sd(new fn);)t=ebn(t,1);return t}function H6(n,t,e){var i,r;for(i=0,r=0;r<t.length;r++)i+=n.$f(t[r],i,e)}function q6(n,t){var e;n.C&&((e=KB(aV(n.b,t),124).n).d=n.C.d,e.a=n.C.a)}function G6(n,t,e){return l2(t,n.e.Hd().gc()),l2(e,n.c.Hd().gc()),n.a[t][e]}function z6(n,t){CDn(),this.e=n,this.d=1,this.a=Mun(Hk(CNt,1),oQn,25,15,[t])}function U6(n,t,e,i){this.f=n,this.e=t,this.d=e,this.b=i,this.c=i?i.d:null}function X6(n){var t,e,i,r;r=n.d,t=n.a,e=n.b,i=n.c,n.d=e,n.a=i,n.b=r,n.c=t}function W6(n,t,e,i){pFn(n,t,e,dBn(n,t,i,iL(t,99)&&!!(KB(t,18).Bb&KQn)))}function V6(n,t){CTn(t,"Label management",1),tO(pMn(n,(S6(),jMt))),FSn(t)}function Q6(n){LA(this),gH(n>=0,"Initial capacity must not be negative")}function J6(){J6=O,Uit=hhn((Ntn(),Mun(Hk(Xit,1),OVn,232,0,[Hit,qit,Git])))}function Y6(){Y6=O,Zit=hhn((Q9(),Mun(Hk(nrt,1),OVn,461,0,[Vit,Wit,Qit])))}function Z6(){Z6=O,crt=hhn((H7(),Mun(Hk(Crt,1),OVn,462,0,[irt,ert,trt])))}function n8(){n8=O,Jet=hhn((Bsn(),Mun(Hk(Yet,1),OVn,132,0,[qet,Get,zet])))}function t8(){t8=O,Aat=hhn((B7(),Mun(Hk(Fat,1),OVn,379,0,[Cat,Pat,Iat])))}function e8(){e8=O,wut=hhn((Kfn(),Mun(Hk(put,1),OVn,423,0,[lut,fut,hut])))}function i8(){i8=O,fht=hhn((Cin(),Mun(Hk(dht,1),OVn,314,0,[oht,uht,sht])))}function r8(){r8=O,ght=hhn((cin(),Mun(Hk(jht,1),OVn,337,0,[lht,wht,bht])))}function c8(){c8=O,$ht=hhn((Qun(),Mun(Hk(Kht,1),OVn,450,0,[Iht,Cht,Oht])))}function a8(){a8=O,Rst=hhn((Srn(),Mun(Hk(Ust,1),OVn,361,0,[xst,Nst,Lst])))}function u8(){u8=O,Cft=hhn((q7(),Mun(Hk(Aft,1),OVn,303,0,[Mft,Sft,Tft])))}function o8(){o8=O,Eft=hhn((Dan(),Mun(Hk(Pft,1),OVn,292,0,[yft,kft,mft])))}function s8(){s8=O,uvt=hhn((Ehn(),Mun(Hk(lvt,1),OVn,378,0,[ivt,rvt,cvt])))}function h8(){h8=O,Vvt=hhn((Fcn(),Mun(Hk(Yvt,1),OVn,375,0,[zvt,Uvt,Xvt])))}function f8(){f8=O,xvt=hhn((pon(),Mun(Hk(_vt,1),OVn,339,0,[$vt,Avt,Lvt])))}function l8(){l8=O,Gvt=hhn((rin(),Mun(Hk(Wvt,1),OVn,452,0,[Hvt,Fvt,Bvt])))}function b8(){b8=O,wmt=hhn((Oun(),Mun(Hk(Tmt,1),OVn,377,0,[fmt,lmt,hmt])))}function w8(){w8=O,rmt=hhn((Gsn(),Mun(Hk(omt,1),OVn,336,0,[nmt,tmt,emt])))}function d8(){d8=O,smt=hhn((bcn(),Mun(Hk(bmt,1),OVn,338,0,[umt,cmt,amt])))}function g8(){g8=O,$mt=hhn((ain(),Mun(Hk(Lmt,1),OVn,454,0,[Cmt,Imt,Omt])))}function p8(){p8=O,ejt=hhn((Sbn(),Mun(Hk(cjt,1),OVn,442,0,[njt,Ykt,Zkt])))}function v8(){v8=O,fjt=hhn((Fsn(),Mun(Hk(Hjt,1),OVn,380,0,[ujt,ojt,sjt])))}function m8(){m8=O,nEt=hhn((Tbn(),Mun(Hk($Et,1),OVn,381,0,[Jjt,Yjt,Qjt])))}function y8(){y8=O,Wjt=hhn((Kcn(),Mun(Hk(Vjt,1),OVn,293,0,[zjt,Ujt,Gjt])))}function k8(){k8=O,GEt=hhn((Mbn(),Mun(Hk(UEt,1),OVn,437,0,[FEt,BEt,HEt])))}function j8(){j8=O,mCt=hhn((cfn(),Mun(Hk(TCt,1),OVn,334,0,[gCt,dCt,pCt])))}function E8(){E8=O,XPt=hhn((xtn(),Mun(Hk(YPt,1),OVn,272,0,[qPt,GPt,zPt])))}function T8(){return WEn(),Mun(Hk(rIt,1),OVn,98,0,[VCt,WCt,XCt,GCt,UCt,zCt])}function M8(n,t){return!n.o&&(n.o=new v9((SXn(),EOt),tAt,n,0)),edn(n.o,t)}function S8(n){return!n.g&&(n.g=new oo),!n.g.d&&(n.g.d=new hp(n)),n.g.d}function P8(n){return!n.g&&(n.g=new oo),!n.g.a&&(n.g.a=new fp(n)),n.g.a}function C8(n){return!n.g&&(n.g=new oo),!n.g.b&&(n.g.b=new sp(n)),n.g.b}function I8(n){return!n.g&&(n.g=new oo),!n.g.c&&(n.g.c=new lp(n)),n.g.c}function O8(n,t,e){var i,r;for(r=new Ian(t,n),i=0;i<e;++i)ivn(r);return r}function A8(n,t,e){var i,r;if(null!=e)for(i=0;i<t;++i)r=e[i],n.fi(i,r)}function $8(n,t,e,i){var r;return IFn(r=L8(CNt,oQn,25,t+1,15,1),n,t,e,i),r}function L8(n,t,e,i,r,c){var a;return a=Kmn(r,i),10!=r&&Mun(Hk(n,c),t,e,r,a),a}function N8(n,t,e,i){return e&&(i=e.gh(t,Iwn(e.Tg(),n.c.Lj()),null,i)),i}function x8(n,t,e,i){return e&&(i=e.ih(t,Iwn(e.Tg(),n.c.Lj()),null,i)),i}function D8(n,t,e){KB(n.b,65),KB(n.b,65),KB(n.b,65),Ctn(n.a,new $K(e,t,n))}function R8(n,t,e){if(n<0||t>e||t<n)throw Fp(new Ck(pJn+n+mJn+t+oJn+e))}function _8(n){if(!n)throw Fp(new _y("Unable to add element to queue"))}function K8(n){n?(this.c=n,this.b=null):(this.c=null,this.b=new $p)}function F8(n,t){MS.call(this,n,t),this.a=L8(Det,mVn,436,2,0,1),this.b=!0}function B8(n){Yun.call(this,n,0),yx(this),this.d.b=this.d,this.d.a=this.d}function H8(n){var t;return 0==(t=n.b).b?null:KB(Npn(t,0),188).b}function q8(n,t){var e;return(e=new q).c=!0,e.d=t.dd(),VGn(n,t.cd(),e)}function G8(n,t){var e;e=n.q.getHours()+(t/3600|0),n.q.setSeconds(t),hBn(n,e)}function z8(n,t,e){var i;(i=n.b[e.c.p][e.p]).b+=t.b,i.c+=t.c,i.a+=t.a,++i.a}function U8(n,t){var e,r;return e=n.a-t.a,r=n.b-t.b,i.Math.sqrt(e*e+r*r)}function X8(){X8=O,iht=new kP("QUADRATIC",0),rht=new kP("SCANLINE",1)}function W8(){W8=O,pmt=UG(bq(new K2,(vMn(),xat),(hWn(),mot)),Kat,Bot)}function V8(){return lEn(),Mun(Hk(BPt,1),OVn,291,0,[JMt,QMt,VMt,XMt,UMt,WMt])}function Q8(){return lvn(),Mun(Hk(YMt,1),OVn,248,0,[SMt,IMt,OMt,AMt,PMt,CMt])}function J8(){return OPn(),Mun(Hk(cht,1),OVn,227,0,[Jst,Zst,Qst,Yst,nht,Vst])}function Y8(){return QMn(),Mun(Hk(pft,1),OVn,275,0,[ift,nft,rft,eft,tft,Zht])}function Z8(){return Kjn(),Mun(Hk(cft,1),OVn,274,0,[Wht,Xht,Qht,Uht,Vht,zht])}function n9(){return jTn(),Mun(Hk(avt,1),OVn,313,0,[Zpt,Jpt,Vpt,Qpt,nvt,Ypt])}function t9(){return wSn(),Mun(Hk(qht,1),OVn,276,0,[Nht,Lht,Dht,xht,_ht,Rht])}function e9(){return NPn(),Mun(Hk(Rkt,1),OVn,327,0,[Wyt,Gyt,Uyt,zyt,Xyt,qyt])}function i9(){return hIn(),Mun(Hk(PIt,1),OVn,273,0,[eIt,nIt,tIt,ZCt,YCt,iIt])}function r9(){return YTn(),Mun(Hk(vCt,1),OVn,312,0,[rCt,eCt,cCt,nCt,iCt,tCt])}function c9(){return cSn(),Mun(Hk(Out,1),OVn,267,0,[Sut,Mut,Eut,Put,Tut,jut])}function a9(n){Ex(!!n.c),d2(n.e,n),n.c.Qb(),n.c=null,n.b=bun(n),fD(n.e,n)}function u9(n){return d2(n.c.a.e,n),Mx(n.b!=n.c.a.d),n.a=n.b,n.b=n.b.a,n.a}function o9(n){var t;return n.a||-1==n.b||(t=n.c.Tg(),n.a=ttn(t,n.b)),n.a}function s9(n,t){return!(n.hi()&&n.Hc(t)||(n.Yh(t),0))}function h9(n,t){return CJ(t,"Horizontal alignment cannot be null"),n.b=t,n}function f9(n,t,e){var i;return lWn(),i=JUn(n,t),e&&i&&wW(n)&&(i=null),i}function l9(n,t,e){var i;for(i=n.Kc();i.Ob();)JRn(KB(i.Pb(),37),t,e)}function b9(n,t){var e;for(e=t.Kc();e.Ob();)O_n(n,KB(e.Pb(),37),0,0)}function w9(n,t,e){var r;n.d[t.g]=e,(r=n.g.c)[t.g]=i.Math.max(r[t.g],e+1)}function d9(n,t){var e,i,r;return r=n.r,i=n.d,(e=iHn(n,t,!0)).b!=r||e.a!=i}function g9(n,t){return hS(n.e,t)||Qgn(n.e,t,new tpn(t)),KB(hnn(n.e,t),113)}function p9(n,t,e,i){return mW(n),mW(t),mW(e),mW(i),new yU(n,t,new G)}function v9(n,t,e,i){this.rj(),this.a=t,this.b=n,this.c=new Jz(this,t,e,i)}function m9(n,t,e,i,r,c){F2.call(this,t,i,r,c),this.c=n,this.b=e}function y9(n,t,e,i,r,c){F2.call(this,t,i,r,c),this.c=n,this.a=e}function k9(n,t,e){var i,r;r=null,(i=qY(n,e))&&(r=vPn(i)),zgn(t,e,r)}function j9(n,t,e){var i,r;r=null,(i=qY(n,e))&&(r=vPn(i)),zgn(t,e,r)}function E9(n,t,e){var i;return(i=O$n(n.b,t))?$Hn(_7(n,i),e):null}function T9(n,t){var e;return(e=n.Yg(t))>=0?n._g(e,!0,!0):iOn(n,t,!0)}function M9(n,t){return Mln(Hy(ED(pMn(n,(oWn(),jlt)))),Hy(ED(pMn(t,jlt))))}function S9(){S9=O,Gkt=agn(agn(_M(new K2,(qyn(),Dyt)),(NPn(),Wyt)),Gyt)}function P9(n,t,e){var i;return i=$on(n,t,e),n.b=new prn(i.c.length),uDn(n,i)}function C9(n){if(n.b<=0)throw Fp(new vv);return--n.b,n.a-=n.c.c,tln(n.a)}function I9(n){var t;if(!n.a)throw Fp(new hV);return t=n.a,n.a=QY(n.a),t}function O9(n){for(;!n.a;)if(!j_(n.c,new dw(n)))return!1;return!0}function A9(n){return vX(n),iL(n,198)?KB(n,198):new al(n)}function $9(n){L9(),KB(n.We((uWn(),sPt)),174).Fc((hIn(),tIt)),n.Ye(oPt,null)}function L9(){L9=O,ZTt=new bu,tMt=new wu,nMt=gsn((uWn(),oPt),ZTt,BSt,tMt)}function N9(){N9=O,ijt=new dC("LEAF_NUMBER",0),rjt=new dC("NODE_SIZE",1)}function x9(n,t,e){n.a=t,n.c=e,n.b.a.$b(),vQ(n.d),n.e.a.c=L8(Int,FWn,1,0,5,1)}function D9(n){n.a=L8(CNt,oQn,25,n.b+1,15,1),n.c=L8(CNt,oQn,25,n.b,15,1),n.d=0}function R9(n,t){n.a.ue(t.d,n.b)>0&&(UB(n.c,new pH(t.c,t.d,n.d)),n.b=t.d)}function _9(n,t){if(null==n.g||t>=n.i)throw Fp(new AO(t,n.i));return n.g[t]}function K9(n,t,e){if(Lsn(n,e),null!=e&&!n.wj(e))throw Fp(new hv);return e}function F9(n){var t;if(n.Ek())for(t=n.i-1;t>=0;--t)Utn(n,t);return $3(n)}function B9(n){var t,e;if(!n.b)return null;for(e=n.b;t=e.a[0];)e=t;return e}function H9(n,t){var e;return i4(t),(e=p7(n.slice(0,t),n)).length=t,e}function q9(n,t,e,i){MQ(),i=i||fet,wCn(n.slice(t,e),n,t,e,-0,i)}function G9(n,t,e,i,r){return t<0?iOn(n,e,i):KB(e,66).Nj().Pj(n,n.yh(),t,i,r)}function z9(n){return iL(n,172)?""+KB(n,172).a:null==n?null:Kbn(n)}function U9(n){return iL(n,172)?""+KB(n,172).a:null==n?null:Kbn(n)}function X9(n,t){if(t.a)throw Fp(new by(PJn));jU(n.a,t),t.a=n,!n.j&&(n.j=t)}function W9(n,t){gO.call(this,t.rd(),-16449&t.qd()),mW(n),this.a=n,this.c=t}function V9(n,t){var e,i;return i=t/n.c.Hd().gc()|0,e=t%n.c.Hd().gc(),G6(n,i,e)}function Q9(){Q9=O,Vit=new HS(iYn,0),Wit=new HS(nYn,1),Qit=new HS(rYn,2)}function J9(){J9=O,$et=new wS("All",0),Let=new AA,Net=new I$,xet=new $A}function Y9(){Y9=O,Ret=hhn((J9(),Mun(Hk(_et,1),OVn,297,0,[$et,Let,Net,xet])))}function Z9(){Z9=O,eut=hhn((Iun(),Mun(Hk(but,1),OVn,405,0,[Jat,nut,Yat,Zat])))}function n7(){n7=O,Rrt=hhn((Nan(),Mun(Hk(Hrt,1),OVn,406,0,[xrt,$rt,Lrt,Nrt])))}function t7(){t7=O,qrt=hhn((Fpn(),Mun(Hk(Grt,1),OVn,323,0,[Krt,_rt,Frt,Brt])))}function e7(){e7=O,tct=hhn((Bpn(),Mun(Hk(ict,1),OVn,394,0,[Jrt,Qrt,Yrt,Zrt])))}function i7(){i7=O,Fyt=hhn((qyn(),Mun(Hk(Byt,1),OVn,393,0,[xyt,Dyt,Ryt,_yt])))}function r7(){r7=O,ast=hhn((Pun(),Mun(Hk(dst,1),OVn,360,0,[rst,est,ist,tst])))}function c7(){c7=O,qjt=hhn((Cmn(),Mun(Hk(Xjt,1),OVn,340,0,[Bjt,Kjt,Fjt,_jt])))}function a7(){a7=O,kst=hhn((Cun(),Mun(Hk(Pst,1),OVn,411,0,[gst,pst,vst,mst])))}function u7(){u7=O,bvt=hhn((fvn(),Mun(Hk(mvt,1),OVn,197,0,[hvt,fvt,svt,ovt])))}function o7(){o7=O,sOt=hhn((Ksn(),Mun(Hk(lOt,1),OVn,396,0,[cOt,aOt,rOt,uOt])))}function s7(){s7=O,MCt=hhn((zyn(),Mun(Hk(xCt,1),OVn,285,0,[ECt,yCt,kCt,jCt])))}function h7(){h7=O,ZPt=hhn((Ebn(),Mun(Hk(aCt,1),OVn,218,0,[JPt,VPt,WPt,QPt])))}function f7(){f7=O,eOt=hhn((_wn(),Mun(Hk(iOt,1),OVn,311,0,[nOt,JIt,ZIt,YIt])))}function l7(){l7=O,KIt=hhn((pdn(),Mun(Hk(VIt,1),OVn,374,0,[DIt,RIt,xIt,NIt])))}function b7(){b7=O,BBn(),KLt=xQn,_Lt=DQn,BLt=new $b(xQn),FLt=new $b(DQn)}function w7(){w7=O,Hht=new CP(WZn,0),Bht=new CP("IMPROVE_STRAIGHTNESS",1)}function d7(n,t){return oH(),UB(n,new eI(t,tln(t.e.c.length+t.g.c.length)))}function g7(n,t){return oH(),UB(n,new eI(t,tln(t.e.c.length+t.g.c.length)))}function p7(n,t){return 10!=gnn(t)&&Mun(Zon(t),t.hm,t.__elementTypeId$,gnn(t),n),n}function v7(n,t){var e;return-1!=(e=k7(n,t,0))&&(u6(n,e),!0)}function m7(n,t){var e;return(e=KB(g6(n.e,t),387))?(xH(e),e.e):null}function y7(n){var t;return QO(n)&&(t=0-n,!isNaN(t))?t:can(ron(n))}function k7(n,t,e){for(;e<n.c.length;++e)if(iV(t,n.c[e]))return e;return-1}function j7(n,t,e){var i;return kW(n),(i=new sn).a=t,n.a.Nb(new PS(i,e)),i.a}function E7(n){var t;return kW(n),t=L8($Nt,BQn,25,0,15,1),wE(n.a,new lw(t)),t}function T7(n){var t;return t=KB(Lq(n.j,0),11),KB(pMn(t,(oWn(),blt)),11)}function M7(n){var t;if(!Jin(n))throw Fp(new vv);return n.e=1,t=n.d,n.d=null,t}function S7(n,t){var e;this.f=n,this.b=t,e=KB(xX(n.b,t),283),this.c=e?e.b:null}function P7(){HK(),this.b=new Lp,this.f=new Lp,this.g=new Lp,this.e=new Lp}function C7(n,t){this.a=L8(Cut,r1n,10,n.a.c.length,0,1),Wgn(n.a,this.a),this.b=t}function I7(n){var t;for(t=n.p+1;t<n.c.a.c.length;++t)--KB(Lq(n.c.a,t),10).p}function O7(n){var t;null!=(t=n.Ai())&&-1!=n.d&&KB(t,92).Ng(n),n.i&&n.i.Fi()}function A7(n){X$(this),this.g=n?SJ(n,n.$d()):null,this.f=n,yQ(this),this._d()}function $7(n,t,e,i,r,c,a){min.call(this,t,i,r,c,a),this.c=n,this.b=e}function L7(n,t,e,i,r){return mW(n),mW(t),mW(e),mW(i),mW(r),new yU(n,t,i)}function N7(n,t){if(t<0)throw Fp(new Iy(Y4n+t));return w3(n,t+1),Lq(n.j,t)}function x7(n,t,e,i){if(!n)throw Fp(new Ry(ORn(t,Mun(Hk(Int,1),FWn,1,5,[e,i]))))}function D7(n,t){return iV(t,Lq(n.f,0))||iV(t,Lq(n.f,1))||iV(t,Lq(n.f,2))}function R7(n,t){A_(KB(KB(n.f,33).We((uWn(),cPt)),98))&&Wbn(vV(KB(n.f,33)),t)}function _7(n,t){var e,i;return!(i=(e=KB(t,675)).Oh())&&e.Rh(i=new xI(n,t)),i}function K7(n,t){var e,i;return!(i=(e=KB(t,677)).pk())&&e.tk(i=new D0(n,t)),i}function F7(n){return n.b||(n.b=new QG(n,UAt,n),!n.a&&(n.a=new aR(n,n))),n.b}function B7(){B7=O,Cat=new US("XY",0),Pat=new US("X",1),Iat=new US("Y",2)}function H7(){H7=O,irt=new qS("TOP",0),ert=new qS(nYn,1),trt=new qS(aYn,2)}function q7(){q7=O,Mft=new LP(WZn,0),Sft=new LP("TOP",1),Tft=new LP(aYn,2)}function G7(){G7=O,Dvt=new HP("INPUT_ORDER",0),Rvt=new HP("PORT_DEGREE",1)}function z7(){z7=O,ftt=E$(TQn,TQn,524287),ltt=E$(0,0,SQn),btt=_5(1),_5(2),wtt=_5(0)}function U7(n,t,e){n.a.c=L8(Int,FWn,1,0,5,1),zqn(n,t,e),0==n.a.c.length||sKn(n,t)}function X7(n){var t,e;return VU(n,0,e=n.length,t=L8(PNt,UVn,25,e,15,1),0),t}function W7(n){var t;return n.dh()||(t=fX(n.Tg())-n.Ah(),n.ph().bk(t)),n.Pg()}function V7(n){var t;return null==(t=nen(van(n,32)))&&(sgn(n),t=nen(van(n,32))),t}function Q7(n,t){var e;return(e=Iwn(n.d,t))>=0?Jpn(n,e,!0,!0):iOn(n,t,!0)}function J7(n,t){var e,i;return EM(),e=s3(n),i=s3(t),!!e&&!!i&&!Dpn(e.k,i.k)}function Y7(n,t){Men(n,null==t||U_((mW(t),t))||isNaN((mW(t),t))?0:(mW(t),t))}function Z7(n,t){Sen(n,null==t||U_((mW(t),t))||isNaN((mW(t),t))?0:(mW(t),t))}function nnn(n,t){Ten(n,null==t||U_((mW(t),t))||isNaN((mW(t),t))?0:(mW(t),t))}function tnn(n,t){Een(n,null==t||U_((mW(t),t))||isNaN((mW(t),t))?0:(mW(t),t))}function enn(n){(this.q?this.q:(TQ(),TQ(),oet)).Ac(n.q?n.q:(TQ(),TQ(),oet))}function inn(n,t){return iL(t,99)&&KB(t,18).Bb&KQn?new LO(t,n):new Ian(t,n)}function rnn(n,t){return iL(t,99)&&KB(t,18).Bb&KQn?new LO(t,n):new Ian(t,n)}function cnn(n,t){Xrt=new it,nct=t,KB((Urt=n).b,65),D8(Urt,Xrt,null),cqn(Urt)}function ann(n,t,e){var i;return i=n.g[t],yL(n,t,n.oi(t,e)),n.gi(t,e,i),n.ci(),i}function unn(n,t){var e;return(e=n.Xc(t))>=0&&(n.$c(e),!0)}function onn(n){var t;return n.d!=n.r&&(t=Pkn(n),n.e=!!t&&t.Cj()==k9n,n.d=t),n.e}function snn(n,t){var e;for(vX(n),vX(t),e=!1;t.Ob();)e|=n.Fc(t.Pb());return e}function hnn(n,t){var e;return(e=KB(xX(n.e,t),387))?(cL(n,e),e.e):null}function fnn(n){var t,e;return t=n/60|0,0==(e=n%60)?""+t:t+":"+e}function lnn(n,t){return Wln(n),new xq(n,new D_(new E6(t,n.a)))}function bnn(n,t){var e=n.a[t],i=(Jun(),stt)[typeof e];return i?i(e):mhn(typeof e)}function wnn(n){switch(n.g){case 0:return NWn;case 1:return-1;default:return 0}}function dnn(n){return Dkn(n,(z7(),wtt))<0?-SN(ron(n)):n.l+n.m*PQn+n.h*CQn}function gnn(n){return null==n.__elementTypeCategory$?10:n.__elementTypeCategory$}function pnn(n){var t;return null!=(t=0==n.b.c.length?null:Lq(n.b,0))&&orn(n,0),t}function vnn(n,t){for(;t[0]<n.length&&HO(" \t\r\n",VTn(sV(n,t[0])))>=0;)++t[0]}function mnn(n,t){this.e=t,this.a=Xan(n),this.a<54?this.f=y2(n):this.c=Ygn(n)}function ynn(n,t,e,i){lWn(),Ip.call(this,26),this.c=n,this.a=t,this.d=e,this.b=i}function knn(n,t,e){var i,r;for(i=10,r=0;r<e-1;r++)t<i&&(n.a+="0"),i*=10;n.a+=t}function jnn(n,t){var e;for(e=0;n.e!=n.i.gc();)wq(t,mpn(n),tln(e)),e!=NWn&&++e}function Enn(n,t){var e;for(++n.d,++n.c[t],e=t+1;e<n.a.length;)++n.a[e],e+=e&-e}function Tnn(n,t){var e,i,r;r=t.c.i,i=(e=KB(xX(n.f,r),57)).d.c-e.e.c,Vrn(t.a,i,0)}function Mnn(n){var t,e;return t=n+128,!(e=(yq(),ytt)[t])&&(e=ytt[t]=new Ob(n)),e}function Snn(n,t){var e;return mW(t),Lnn(!!(e=n[":"+t]),Mun(Hk(Int,1),FWn,1,5,[t])),e}function Pnn(n){var t,e;if(n.b){e=null;do{t=n.b,n.b=null,e=uPn(t,e)}while(n.b);n.b=e}}function Cnn(n){var t,e;if(n.a){e=null;do{t=n.a,n.a=null,e=uPn(t,e)}while(n.a);n.a=e}}function Inn(n){var t;for(++n.a,t=n.c.a.length;n.a<t;++n.a)if(n.c.b[n.a])return}function Onn(n,t){var e,i;for(e=(i=t.c)+1;e<=t.f;e++)n.a[e]>n.a[i]&&(i=e);return i}function Ann(n,t){var e;return 0==(e=Pbn(n.e.c,t.e.c))?Mln(n.e.d,t.e.d):e}function $nn(n,t){return 0==t.e||0==n.e?net:(OOn(),INn(n,t))}function Lnn(n,t){if(!n)throw Fp(new Ry(VNn("Enum constant undefined: %s",t)))}function Nnn(){Nnn=O,cut=new St,aut=new Tt,iut=new At,rut=new $t,uut=new Lt}function xnn(){xnn=O,git=new KS("BY_SIZE",0),pit=new KS("BY_SIZE_AND_SHAPE",1)}function Dnn(){Dnn=O,Nct=new zS("EADES",0),xct=new zS("FRUCHTERMAN_REINGOLD",1)}function Rnn(){Rnn=O,Tht=new MP("READING_DIRECTION",0),Mht=new MP("ROTATION",1)}function _nn(){_nn=O,Eht=hhn((Xvn(),Mun(Hk(Sht,1),OVn,335,0,[vht,pht,yht,kht,mht])))}function Knn(){Knn=O,yvt=hhn(($vn(),Mun(Hk(Ivt,1),OVn,315,0,[vvt,dvt,gvt,wvt,pvt])))}function Fnn(){Fnn=O,Cst=hhn((AEn(),Mun(Hk(Dst,1),OVn,363,0,[Est,Mst,Sst,Tst,jst])))}function Bnn(){Bnn=O,qlt=hhn((jbn(),Mun(Hk(tvt,1),OVn,163,0,[Blt,Rlt,_lt,Klt,Flt])))}function Hnn(){Hnn=O,uTt=hhn((OSn(),Mun(Hk(qTt,1),OVn,316,0,[tTt,eTt,cTt,iTt,rTt])))}function qnn(){qnn=O,fMt=hhn((epn(),Mun(Hk(yMt,1),OVn,175,0,[oMt,uMt,cMt,sMt,aMt])))}function Gnn(){Gnn=O,KEt=hhn((VLn(),Mun(Hk(qEt,1),OVn,355,0,[NEt,LEt,DEt,xEt,REt])))}function znn(){znn=O,Bat=hhn((vMn(),Mun(Hk(Gat,1),OVn,356,0,[xat,Dat,Rat,_at,Kat])))}function Unn(){Unn=O,HPt=hhn((_fn(),Mun(Hk(UPt,1),OVn,103,0,[KPt,_Pt,RPt,DPt,FPt])))}function Xnn(){Xnn=O,qCt=hhn((ipn(),Mun(Hk(QCt,1),OVn,249,0,[KCt,BCt,RCt,_Ct,FCt])))}function Wnn(){Wnn=O,CIt=hhn((mUn(),Mun(Hk(_It,1),VZn,61,0,[MIt,uIt,aIt,TIt,SIt])))}function Vnn(n,t){var e;return(e=KB(xX(n.a,t),134))||(e=new Zn,XW(n.a,t,e)),e}function Qnn(n){var t;return!!(t=KB(pMn(n,(oWn(),xft)),305))&&t.a==n}function Jnn(n){var t;return!!(t=KB(pMn(n,(oWn(),xft)),305))&&t.i==n}function Ynn(n,t){return mW(t),Nz(n),!!n.d.Ob()&&(t.td(n.d.Pb()),!0)}function Znn(n){return Xhn(n,NWn)>0?NWn:Xhn(n,RVn)<0?RVn:bG(n)}function ntn(n){return n<3?(hin(n,PVn),n+1):n<CVn?SY(n/.75+1):NWn}function ttn(n,t){var e;return null==n.i&&BFn(n),e=n.i,t>=0&&t<e.length?e[t]:null}function etn(n,t,e){var i;if(null==t)throw Fp(new wv);return i=qY(n,t),t4(n,t,e),i}function itn(n){return n.a>=-.01&&n.a<=sYn&&(n.a=0),n.b>=-.01&&n.b<=sYn&&(n.b=0),n}function rtn(n,t){return t==(iK(),iK(),Eet)?n.toLocaleLowerCase():n.toLowerCase()}function ctn(n){return(2&n.i?"interface ":1&n.i?"":"class ")+(kD(n),n.o)}function atn(n){var t;t=new Om,s9((!n.q&&(n.q=new nU(XAt,n,11,10)),n.q),t)}function utn(n,t){var e;return e=t>0?t-1:t,Oj(Aj(_en(AH(new zm,e),n.n),n.j),n.k)}function otn(n,t,e,i){n.j=-1,BOn(n,kPn(n,t,e),(JM(),KB(t,66).Mj().Ok(i)))}function stn(n){this.g=n,this.f=new $p,this.a=i.Math.min(this.g.c.c,this.g.d.c)}function htn(n){this.b=new $p,this.a=new $p,this.c=new $p,this.d=new $p,this.e=n}function ftn(n,t){this.a=new Lp,this.e=new Lp,this.b=(Ehn(),cvt),this.c=n,this.b=t}function ltn(n,t,e){$R.call(this),Ltn(this),this.a=n,this.c=e,this.b=t.d,this.f=t.e}function btn(n){this.d=n,this.c=n.c.vc().Kc(),this.b=null,this.a=null,this.e=(ey(),qnt)}function wtn(n){if(n<0)throw Fp(new Ry("Illegal Capacity: "+n));this.g=this.ri(n)}function dtn(n,t){if(0>n||n>t)throw Fp(new jk("fromIndex: 0, toIndex: "+n+oJn+t))}function gtn(n){var t;if(n.a==n.b.a)throw Fp(new vv);return t=n.a,n.c=t,n.a=n.a.e,t}function ptn(n){var t;Ex(!!n.c),t=n.c.a,Itn(n.d,n.c),n.b==n.c?n.b=t:--n.a,n.c=null}function vtn(n,t){var e;return Wln(n),e=new gQ(n,n.a.rd(),4|n.a.qd(),t),new xq(n,e)}function mtn(n,t){var e,i;return(e=KB(hfn(n.d,t),14))?(i=t,n.e.pc(i,e)):null}function ytn(n,t){var e;for(e=n.Kc();e.Ob();)oon(KB(e.Pb(),70),(oWn(),clt),t)}function ktn(n){var t;return(t=Hy(ED(pMn(n,(FXn(),rgt)))))<0&&oon(n,rgt,t=0),t}function jtn(n,t,e){var r;_kn(e,r=i.Math.max(0,n.b/2-.5),1),UB(t,new tP(e,r))}function Etn(n,t,e){return SY(FH(n.a.e[KB(t.a,10).p]-n.a.e[KB(e.a,10).p]))}function Ttn(n,t,e,i,r,c){var a;TZ(a=U5(i),r),EZ(a,c),QIn(n.a,i,new AK(a,t,e.f))}function Mtn(n,t){var e;if(!(e=$Nn(n.Tg(),t)))throw Fp(new Ry(e6n+t+c6n));return e}function Stn(n,t){var e;for(e=n;QY(e);)if((e=QY(e))==t)return!0;return!1}function Ptn(n,t){var e,i,r;for(i=t.a.cd(),e=KB(t.a.dd(),14).gc(),r=0;r<e;r++)n.td(i)}function Ctn(n,t){var e,i,r,c;for(mW(t),r=0,c=(i=n.c).length;r<c;++r)e=i[r],t.td(e)}function Itn(n,t){var e;return e=t.c,t.a.b=t.b,t.b.a=t.a,t.a=t.b=null,t.c=null,--n.b,e}function Otn(n,t){return!(!t||n.b[t.g]!=t||(OX(n.b,t.g,null),--n.c,0))}function Atn(n,t){return!!Jrn(n,t,bG(ibn(TVn,eV(bG(ibn(null==t?0:Yon(t),MVn)),15))))}function $tn(n,t){A_(KB(pMn(KB(n.e,10),(FXn(),npt)),98))&&(TQ(),p$(KB(n.e,10).j,t))}function Ltn(n){n.b=(Q9(),Wit),n.f=(H7(),ert),n.d=(hin(2,IVn),new Q6(2)),n.e=new Hj}function Ntn(){Ntn=O,Hit=new BS("BEGIN",0),qit=new BS(nYn,1),Git=new BS("END",2)}function xtn(){xtn=O,qPt=new RC(nYn,0),GPt=new RC("HEAD",1),zPt=new RC("TAIL",2)}function Dtn(){return oAn(),Mun(Hk(iAt,1),OVn,237,0,[nAt,JOt,YOt,QOt,ZOt,WOt,XOt,VOt])}function Rtn(){return MPn(),Mun(Hk(TMt,1),OVn,277,0,[mMt,lMt,gMt,vMt,bMt,wMt,dMt,pMt])}function _tn(){return mDn(),Mun(Hk(tht,1),OVn,270,0,[Kst,Hst,_st,zst,Bst,Fst,Gst,qst])}function Ktn(){return uNn(),Mun(Hk(Nvt,1),OVn,260,0,[Pvt,jvt,Mvt,Evt,Tvt,kvt,Svt,Cvt])}function Ftn(){Ftn=O,JCt=hhn((WEn(),Mun(Hk(rIt,1),OVn,98,0,[VCt,WCt,XCt,GCt,UCt,zCt])))}function Btn(){Btn=O,Yit=(Ntn(),Mun(Hk(Xit,1),OVn,232,0,[Hit,qit,Git])).length,Jit=Yit}function Htn(n){this.b=(vX(n),new Z_(n)),this.a=new $p,this.d=new $p,this.e=new Hj}function qtn(n){var t;return(t=i.Math.sqrt(n.a*n.a+n.b*n.b))>0&&(n.a/=t,n.b/=t),n}function Gtn(n){var t;return n.w?n.w:((t=X1(n))&&!t.kh()&&(n.w=t),t)}function ztn(n){var t;return null==n?null:XTn(t=KB(n,190),t.length)}function Utn(n,t){if(null==n.g||t>=n.i)throw Fp(new AO(t,n.i));return n.li(t,n.g[t])}function Xtn(n){var t,e;for(t=n.a.d.j,e=n.c.d.j;t!=e;)arn(n.b,t),t=Eln(t);arn(n.b,t)}function Wtn(n){var t;for(t=0;t<n.c.length;t++)(h1(t,n.c.length),KB(n.c[t],11)).p=t}function Vtn(n,t,e){var i,r,c;for(r=t[e],i=0;i<r.length;i++)c=r[i],n.e[c.c.p][c.p]=i}function Qtn(n,t){var e,i,r,c;for(r=0,c=(i=n.d).length;r<c;++r)e=i[r],hL(n.g,e).a=t}function Jtn(n,t){var e;for(e=upn(n,0);e.b!=e.d.c;)GR(KB(f3(e),8),t);return n}function Ytn(n,t){return zR(K$(KB(xX(n.g,t),8)),R$(KB(xX(n.f,t),460).b))}function Ztn(n){var t;return d2(n.e,n),Mx(n.b),n.c=n.a,t=KB(n.a.Pb(),42),n.b=bun(n),t}function nen(n){var t;return QH(null==n||Array.isArray(n)&&!((t=gnn(n))>=14&&t<=16)),n}function ten(n,t,e){var i=function(){return n.apply(i,arguments)};return t.apply(i,e),i}function een(n,t,e){var i,r;i=t;do{r=Hy(n.p[i.p])+e,n.p[i.p]=r,i=n.a[i.p]}while(i!=t)}function ien(n,t){var e,i;i=n.a,e=Wfn(n,t,null),i!=t&&!n.e&&(e=rzn(n,t,e)),e&&e.Fi()}function ren(n,t){return o$(),ein(DVn),i.Math.abs(n-t)<=DVn||n==t||isNaN(n)&&isNaN(t)}function cen(n,t){return o$(),ein(DVn),i.Math.abs(n-t)<=DVn||n==t||isNaN(n)&&isNaN(t)}function aen(n,t){return RMn(),k$(n.b.c.length-n.e.c.length,t.b.c.length-t.e.c.length)}function uen(n,t){return Jj(Qrn(n,t,bG(ibn(TVn,eV(bG(ibn(null==t?0:Yon(t),MVn)),15)))))}function oen(){oen=O,Iut=hhn((cSn(),Mun(Hk(Out,1),OVn,267,0,[Sut,Mut,Eut,Put,Tut,jut])))}function sen(){sen=O,ZMt=hhn((lEn(),Mun(Hk(BPt,1),OVn,291,0,[JMt,QMt,VMt,XMt,UMt,WMt])))}function hen(){hen=O,LMt=hhn((lvn(),Mun(Hk(YMt,1),OVn,248,0,[SMt,IMt,OMt,AMt,PMt,CMt])))}function fen(){fen=O,eht=hhn((OPn(),Mun(Hk(cht,1),OVn,227,0,[Jst,Zst,Qst,Yst,nht,Vst])))}function len(){len=O,aft=hhn((QMn(),Mun(Hk(pft,1),OVn,275,0,[ift,nft,rft,eft,tft,Zht])))}function ben(){ben=O,Yht=hhn((Kjn(),Mun(Hk(cft,1),OVn,274,0,[Wht,Xht,Qht,Uht,Vht,zht])))}function wen(){wen=O,evt=hhn((jTn(),Mun(Hk(avt,1),OVn,313,0,[Zpt,Jpt,Vpt,Qpt,nvt,Ypt])))}function den(){den=O,Fht=hhn((wSn(),Mun(Hk(qht,1),OVn,276,0,[Nht,Lht,Dht,xht,_ht,Rht])))}function gen(){gen=O,Qyt=hhn((NPn(),Mun(Hk(Rkt,1),OVn,327,0,[Wyt,Gyt,Uyt,zyt,Xyt,qyt])))}function pen(){pen=O,cIt=hhn((hIn(),Mun(Hk(PIt,1),OVn,273,0,[eIt,nIt,tIt,ZCt,YCt,iIt])))}function ven(){ven=O,uCt=hhn((YTn(),Mun(Hk(vCt,1),OVn,312,0,[rCt,eCt,cCt,nCt,iCt,tCt])))}function men(){return YAn(),Mun(Hk(HCt,1),OVn,93,0,[PCt,SCt,ICt,NCt,LCt,$Ct,OCt,ACt,CCt])}function yen(n,t){var e;e=n.a,n.a=t,4&n.Db&&!(1&n.Db)&&fan(n,new s4(n,0,e,n.a))}function ken(n,t){var e;e=n.b,n.b=t,4&n.Db&&!(1&n.Db)&&fan(n,new s4(n,1,e,n.b))}function jen(n,t){var e;e=n.b,n.b=t,4&n.Db&&!(1&n.Db)&&fan(n,new s4(n,3,e,n.b))}function Een(n,t){var e;e=n.f,n.f=t,4&n.Db&&!(1&n.Db)&&fan(n,new s4(n,3,e,n.f))}function Ten(n,t){var e;e=n.g,n.g=t,4&n.Db&&!(1&n.Db)&&fan(n,new s4(n,4,e,n.g))}function Men(n,t){var e;e=n.i,n.i=t,4&n.Db&&!(1&n.Db)&&fan(n,new s4(n,5,e,n.i))}function Sen(n,t){var e;e=n.j,n.j=t,4&n.Db&&!(1&n.Db)&&fan(n,new s4(n,6,e,n.j))}function Pen(n,t){var e;e=n.j,n.j=t,4&n.Db&&!(1&n.Db)&&fan(n,new s4(n,1,e,n.j))}function Cen(n,t){var e;e=n.c,n.c=t,4&n.Db&&!(1&n.Db)&&fan(n,new s4(n,4,e,n.c))}function Ien(n,t){var e;e=n.k,n.k=t,4&n.Db&&!(1&n.Db)&&fan(n,new s4(n,2,e,n.k))}function Oen(n,t){var e;e=n.d,n.d=t,4&n.Db&&!(1&n.Db)&&fan(n,new h4(n,2,e,n.d))}function Aen(n,t){var e;e=n.s,n.s=t,4&n.Db&&!(1&n.Db)&&fan(n,new h4(n,4,e,n.s))}function $en(n,t){var e;e=n.t,n.t=t,4&n.Db&&!(1&n.Db)&&fan(n,new h4(n,5,e,n.t))}function Len(n,t){var e;e=n.F,n.F=t,4&n.Db&&!(1&n.Db)&&fan(n,new Yz(n,1,5,e,t))}function Nen(n,t){var e;return(e=KB(xX((YM(),gAt),n),55))?e.xj(t):L8(Int,FWn,1,t,5,1)}function xen(n,t){var e;return t in n.a&&(e=qY(n,t).he())?e.a:null}function Den(n,t){var e,i;return Zj(),i=new uo,!!t&&PNn(i,t),Lin(e=i,n),e}function Ren(n,t,e){if(Lsn(n,e),!n.Bk()&&null!=e&&!n.wj(e))throw Fp(new hv);return e}function _en(n,t){return n.n=t,n.n?(n.f=new $p,n.e=new $p):(n.f=null,n.e=null),n}function Ken(n,t,e,i,r,c){var a;return Wen(e,a=pX(n,t)),a.i=r?8:0,a.f=i,a.e=r,a.g=c,a}function Fen(n,t,e,i,r){this.d=t,this.k=i,this.f=r,this.o=-1,this.p=1,this.c=n,this.a=e}function Ben(n,t,e,i,r){this.d=t,this.k=i,this.f=r,this.o=-1,this.p=2,this.c=n,this.a=e}function Hen(n,t,e,i,r){this.d=t,this.k=i,this.f=r,this.o=-1,this.p=6,this.c=n,this.a=e}function qen(n,t,e,i,r){this.d=t,this.k=i,this.f=r,this.o=-1,this.p=7,this.c=n,this.a=e}function Gen(n,t,e,i,r){this.d=t,this.j=i,this.e=r,this.o=-1,this.p=4,this.c=n,this.a=e}function zen(n,t){var e,i,r,c;for(r=0,c=(i=t).length;r<c;++r)e=i[r],X9(n.a,e);return n}function Uen(n){var t,e,i;for(e=0,i=(t=n).length;e<i;++e)vX(t[e]);return new IO(n)}function Xen(n){var t=/function(?:\s+([\w$]+))?\s*\(/.exec(n);return t&&t[1]||qVn}function Wen(n,t){if(n){t.n=n;var e=GY(t);e?e.gm=t:TWn[n]=[t]}}function Ven(n,t,e){var r;return r=n.length,RCn(n,0,t,0,i.Math.min(e,r),!0),t}function Qen(n,t,e){var i,r;for(r=t.Kc();r.Ob();)i=KB(r.Pb(),79),jU(n,KB(e.Kb(i),33))}function Jen(){VE();for(var n=MWn,t=0;t<arguments.length;t++)n.push(arguments[t])}function Yen(n,t){var e,i,r;for(i=0,r=(e=t).length;i<r;++i)e5(n,e[i],n.c.b,n.c)}function Zen(n,t){n.b=i.Math.max(n.b,t.d),n.e+=t.r+(0==n.a.c.length?0:n.c),UB(n.a,t)}function nin(n){Ex(n.c>=0),egn(n.d,n.c)<0&&(n.a=n.a-1&n.d.a.length-1,n.b=n.d.c),n.c=-1}function tin(n){return n.a<54?n.f<0?-1:n.f>0?1:0:(!n.c&&(n.c=vhn(n.f)),n.c).e}function ein(n){if(!(n>=0))throw Fp(new Ry("tolerance ("+n+") must be >= 0"));return n}function iin(){return iMt||msn(iMt=new CRn,Mun(Hk(Rit,1),FWn,130,0,[new $f])),iMt}function rin(){rin=O,Hvt=new qP(oYn,0),Fvt=new qP("INPUT",1),Bvt=new qP("OUTPUT",2)}function cin(){cin=O,lht=new EP("ARD",0),wht=new EP("MSD",1),bht=new EP("MANUAL",2)}function ain(){ain=O,Cmt=new VP("BARYCENTER",0),Imt=new VP(k1n,1),Omt=new VP(j1n,2)}function uin(n,t){var e;if(e=n.gc(),t<0||t>e)throw Fp(new ZR(t,e));return new x_(n,t)}function oin(n,t){var e;return iL(t,42)?n.c.Mc(t):(e=edn(n,t),Udn(n,t),e)}function sin(n,t,e){return Phn(n,t),$rn(n,e),Aen(n,0),$en(n,1),Yfn(n,!0),Vfn(n,!0),n}function hin(n,t){if(n<0)throw Fp(new Ry(t+" cannot be negative but was: "+n));return n}function fin(n,t){var e,i;for(e=0,i=n.gc();e<i;++e)if(iV(t,n.Xb(e)))return e;return-1}function lin(n){var t;for(t=n.c.Cc().Kc();t.Ob();)KB(t.Pb(),14).$b();n.c.$b(),n.d=0}function bin(n){var t,e,i,r;for(i=0,r=(e=n.a).length;i<r;++i)WU(t=e[i],t.length,null)}function win(n){var t,e;if(0==n)return 32;for(e=0,t=1;!(t&n);t<<=1)++e;return e}function din(n){var t;for(t=new Ub(nyn(n));t.a<t.c.c.length;)KB(Y1(t),680).Gf()}function gin(n){gM(),this.g=new Lp,this.f=new Lp,this.b=new Lp,this.c=new dY,this.i=n}function pin(){this.f=new Hj,this.d=new lm,this.c=new Hj,this.a=new $p,this.b=new $p}function vin(n,t,e,i){this.rj(),this.a=t,this.b=n,this.c=null,this.c=new h_(this,t,e,i)}function min(n,t,e,i,r){this.d=n,this.n=t,this.g=e,this.o=i,this.p=-1,r||(this.o=-2-i-1)}function yin(){CL.call(this),this.n=-1,this.g=null,this.i=null,this.j=null,this.Bb|=m6n}function kin(){return Y_n(),Mun(Hk(tOt,1),OVn,259,0,[HIt,GIt,BIt,zIt,UIt,WIt,XIt,qIt,FIt])}function jin(){return ZDn(),Mun(Hk(Kit,1),OVn,250,0,[xit,Oit,Ait,Iit,Lit,Nit,$it,Cit,Pit])}function Ein(){Ein=O,Ctt=Mun(Hk(CNt,1),oQn,25,15,[0,8,4,12,2,10,6,14,1,9,5,13,3,11,7,15])}function Tin(){Tin=O,mmt=bq(bq(bq(new K2,(vMn(),xat),(hWn(),iot)),Dat,Cot),Rat,Pot)}function Min(){Min=O,ymt=bq(bq(bq(new K2,(vMn(),xat),(hWn(),iot)),Dat,Cot),Rat,Pot)}function Sin(){Sin=O,Emt=bq(bq(bq(new K2,(vMn(),xat),(hWn(),iot)),Dat,Cot),Rat,Pot)}function Pin(){Pin=O,Smt=UG(bq(bq(new K2,(vMn(),Rat),(hWn(),Aot)),_at,kot),Kat,Oot)}function Cin(){Cin=O,oht=new jP("LAYER_SWEEP",0),uht=new jP(K1n,1),sht=new jP(WZn,2)}function Iin(n,t){var e,i;return e=n.c,(i=t.e[n.p])>0?KB(Lq(e.a,i-1),10):null}function Oin(n,t){var e;e=n.k,n.k=t,4&n.Db&&!(1&n.Db)&&fan(n,new Yz(n,1,2,e,n.k))}function Ain(n,t){var e;e=n.f,n.f=t,4&n.Db&&!(1&n.Db)&&fan(n,new Yz(n,1,8,e,n.f))}function $in(n,t){var e;e=n.i,n.i=t,4&n.Db&&!(1&n.Db)&&fan(n,new Yz(n,1,7,e,n.i))}function Lin(n,t){var e;e=n.a,n.a=t,4&n.Db&&!(1&n.Db)&&fan(n,new Yz(n,1,8,e,n.a))}function Nin(n,t){var e;e=n.b,n.b=t,4&n.Db&&!(1&n.Db)&&fan(n,new Yz(n,1,0,e,n.b))}function xin(n,t){var e;e=n.b,n.b=t,4&n.Db&&!(1&n.Db)&&fan(n,new Yz(n,1,0,e,n.b))}function Din(n,t){var e;e=n.c,n.c=t,4&n.Db&&!(1&n.Db)&&fan(n,new Yz(n,1,1,e,n.c))}function Rin(n,t){var e;e=n.c,n.c=t,4&n.Db&&!(1&n.Db)&&fan(n,new Yz(n,1,1,e,n.c))}function _in(n,t){var e;e=n.c,n.c=t,4&n.Db&&!(1&n.Db)&&fan(n,new Yz(n,1,4,e,n.c))}function Kin(n,t){var e;e=n.d,n.d=t,4&n.Db&&!(1&n.Db)&&fan(n,new Yz(n,1,1,e,n.d))}function Fin(n,t){var e;e=n.D,n.D=t,4&n.Db&&!(1&n.Db)&&fan(n,new Yz(n,1,2,e,n.D))}function Bin(n,t){n.r>0&&n.c<n.r&&(n.c+=t,n.i&&n.i.d>0&&0!=n.g&&Bin(n.i,t/n.r*n.i.d))}function Hin(n,t,e){var i;n.b=t,n.a=e,i=512&~n.a?new Dh:new _m,n.c=EDn(i,n.b,n.a)}function qin(n,t){return Oxn(n.e,t)?(JM(),onn(t)?new hq(t,n):new LI(t,n)):new DI(t,n)}function Gin(n,t){return Qj(Jrn(n.a,t,bG(ibn(TVn,eV(bG(ibn(null==t?0:Yon(t),MVn)),15)))))}function zin(n,t,e){return L7(n,new sw(t),new un,new hw(e),Mun(Hk(Yet,1),OVn,132,0,[]))}function Uin(n){return 0>n?new XT:new OD(null,new p5(n+1,n))}function Xin(n,t){var e;return TQ(),e=new zT(1),zI(n)?pZ(e,n,t):yCn(e.f,n,t),new zb(e)}function Win(n,t){var e,i;return(e=n.o+n.p)<(i=t.o+t.p)?-1:e==i?0:1}function Vin(n){var t;return iL(t=pMn(n,(oWn(),blt)),160)?pwn(KB(t,160)):null}function Qin(n){var t;return(n=i.Math.max(n,2))>(t=mon(n))?(t<<=1)>0?t:CVn:t}function Jin(n){switch(cN(3!=n.e),n.e){case 2:return!1;case 0:return!0}return R5(n)}function Yin(n,t){var e;return!!iL(t,8)&&(e=KB(t,8),n.a==e.a&&n.b==e.b)}function Zin(n,t,e){var i,r;return r=t>>5,i=31&t,n0(yz(n.n[e][r],bG(vz(i,1))),3)}function nrn(n,t){var e,i;for(i=t.vc().Kc();i.Ob();)gjn(n,(e=KB(i.Pb(),42)).cd(),e.dd())}function trn(n,t){var e;e=new it,KB(t.b,65),KB(t.b,65),KB(t.b,65),Ctn(t.a,new jB(n,e,t))}function ern(n,t){var e;e=n.b,n.b=t,4&n.Db&&!(1&n.Db)&&fan(n,new Yz(n,1,21,e,n.b))}function irn(n,t){var e;e=n.d,n.d=t,4&n.Db&&!(1&n.Db)&&fan(n,new Yz(n,1,11,e,n.d))}function rrn(n,t){var e;e=n.j,n.j=t,4&n.Db&&!(1&n.Db)&&fan(n,new Yz(n,1,13,e,n.j))}function crn(n,t,e){var i,r,c;for(c=n.a.length-1,r=n.b,i=0;i<e;r=r+1&c,++i)OX(t,i,n.a[r])}function arn(n,t){var e;return mW(t),e=t.g,!n.b[e]&&(OX(n.b,e,t),++n.c,!0)}function urn(n,t){var e;return!((e=null==t?-1:k7(n.b,t,0))<0||(orn(n,e),0))}function orn(n,t){var e;e=u6(n.b,n.b.c.length-1),t<n.b.c.length&&(i5(n.b,t,e),DCn(n,t))}function srn(n,t){0==(m5(),Wet?null:t.c).length&&qD(t,new X),pZ(n.a,Wet?null:t.c,t)}function hrn(n,t){CTn(t,"Hierarchical port constraint processing",1),fpn(n),VXn(n),FSn(t)}function frn(n,t){var e,i;for(i=t.Kc();i.Ob();)e=KB(i.Pb(),266),n.b=!0,jU(n.e,e),e.b=n}function lrn(n,t){var e,i;return e=1-t,i=n.a[e],n.a[e]=i.a[t],i.a[t]=n,n.b=!0,i.b=!1,i}function brn(n,t){var e,i;return e=KB(pMn(n,(FXn(),upt)),8),i=KB(pMn(t,upt),8),Mln(e.b,i.b)}function wrn(n){xG.call(this),this.b=Hy(ED(pMn(n,(FXn(),vpt)))),this.a=KB(pMn(n,Jdt),218)}function drn(n,t,e){H2.call(this,n,t,e),this.a=new Lp,this.b=new Lp,this.d=new Ud(this)}function grn(n){this.e=n,this.d=new fE(ntn(wz(this.e).gc())),this.c=this.e.a,this.b=this.e.c}function prn(n){this.b=n,this.a=L8(CNt,oQn,25,n+1,15,1),this.c=L8(CNt,oQn,25,n,15,1),this.d=0}function vrn(n,t,e){var i;return yxn(n,t,i=new $p,e,!0,!0),n.b=new prn(i.c.length),i}function mrn(n,t){var e;return(e=KB(xX(n.c,t),458))||((e=new im).c=t,XW(n.c,e.c,e)),e}function yrn(n,t){var e=n.a,i=0;for(var r in e)e.hasOwnProperty(r)&&(t[i++]=r);return t}function krn(n){return null==n.b?(VM(),VM(),$$t):n.Lk()?n.Kk():n.Jk()}function jrn(n){var t,e;for(e=new IL(n);e.e!=e.i.gc();)Men(t=KB(mpn(e),33),0),Sen(t,0)}function Ern(){Ern=O,uat=new cp(CZn),oat=new cp(IZn),aat=new cp(OZn),cat=new cp(AZn)}function Trn(){Trn=O,But=new JS("TO_INTERNAL_LTR",0),Fut=new JS("TO_INPUT_DIRECTION",1)}function Mrn(){Mrn=O,Wkt=new bC("P1_NODE_PLACEMENT",0),Vkt=new bC("P2_EDGE_ROUTING",1)}function Srn(){Srn=O,xst=new mP("START",0),Nst=new mP("MIDDLE",1),Lst=new mP("END",2)}function Prn(){Prn=O,Zot=new tR("edgelabelcenterednessanalysis.includelabel",(oN(),dtt))}function Crn(n,t){QT(IV(new xq(null,new l1(new Sb(n.b),1)),new QC(n,t)),new YC(n,t))}function Irn(){this.c=new PE(0),this.b=new PE(K3n),this.d=new PE(_3n),this.a=new PE(QYn)}function Orn(n){var t,e;for(e=n.c.a.ec().Kc();e.Ob();)Gl(t=KB(e.Pb(),214),new FMn(t.e))}function Arn(n){var t,e;for(e=n.c.a.ec().Kc();e.Ob();)ql(t=KB(e.Pb(),214),new Xz(t.f))}function $rn(n,t){var e;e=n.zb,n.zb=t,4&n.Db&&!(1&n.Db)&&fan(n,new Yz(n,1,1,e,n.zb))}function Lrn(n,t){var e;e=n.xb,n.xb=t,4&n.Db&&!(1&n.Db)&&fan(n,new Yz(n,1,3,e,n.xb))}function Nrn(n,t){var e;e=n.yb,n.yb=t,4&n.Db&&!(1&n.Db)&&fan(n,new Yz(n,1,2,e,n.yb))}function xrn(n,t){var e;(e=new Cm).n=t,s9((!n.s&&(n.s=new nU(RAt,n,21,17)),n.s),e)}function Drn(n,t){var e;(e=new dD).n=t,s9((!n.s&&(n.s=new nU(RAt,n,21,17)),n.s),e)}function Rrn(n,t){var e,i;for(q9(e=n.Pc(),0,e.length,t),i=0;i<e.length;i++)n._c(i,e[i])}function _rn(n,t){var e,i,r;for(mW(t),e=!1,r=t.Kc();r.Ob();)i=r.Pb(),e|=n.Fc(i);return e}function Krn(n){var t,e,i;for(t=0,i=n.Kc();i.Ob();)t=~~(t+=null!=(e=i.Pb())?Yon(e):0);return t}function Frn(n){var t;return 0==n?"UTC":(n<0?(n=-n,t="UTC+"):t="UTC-",t+fnn(n))}function Brn(n,t){var e;return iL(t,14)?(e=KB(t,14),n.Gc(e)):snn(n,KB(vX(t),20).Kc())}function Hrn(n,t,e){ftn.call(this,t,e),this.d=L8(Cut,r1n,10,n.a.c.length,0,1),Wgn(n.a,this.d)}function qrn(n){n.a=null,n.e=null,n.b.c=L8(Int,FWn,1,0,5,1),n.f.c=L8(Int,FWn,1,0,5,1),n.c=null}function Grn(n,t){t?null==n.B&&(n.B=n.D,n.D=null):null!=n.B&&(n.D=n.B,n.B=null)}function zrn(n,t){return Hy(ED(ON(Ofn(OV(new xq(null,new l1(n.c.b,16)),new Ld(n)),t))))}function Urn(n,t){return Hy(ED(ON(Ofn(OV(new xq(null,new l1(n.c.b,16)),new $d(n)),t))))}function Xrn(n,t){CTn(t,m1n,1),QT(lnn(new xq(null,new l1(n.b,16)),new Zt),new ne),FSn(t)}function Wrn(n,t){var e,i;return e=KB(JAn(n,(Gyn(),Ajt)),19),i=KB(JAn(t,Ajt),19),k$(e.a,i.a)}function Vrn(n,t,e){var i,r;for(r=upn(n,0);r.b!=r.d.c;)(i=KB(f3(r),8)).a+=t,i.b+=e;return n}function Qrn(n,t,e){var i;for(i=n.b[e&n.f];i;i=i.b)if(e==i.a&&lW(t,i.g))return i;return null}function Jrn(n,t,e){var i;for(i=n.c[e&n.f];i;i=i.d)if(e==i.f&&lW(t,i.i))return i;return null}function Yrn(n,t,e){var i,r,c;for(i=0,r=0;r<e;r++)c=t[r],n[r]=c<<1|i,i=c>>>31;0!=i&&(n[e]=i)}function Zrn(n,t){var e,i;for(TQ(),i=new $p,e=0;e<n;++e)i.c[i.c.length]=t;return new Ok(i)}function ncn(n){var t;return WI((t=j2(n)).a,0)?(oM(),oM(),Met):(oM(),new vx(t.b))}function tcn(n){var t;return WI((t=j2(n)).a,0)?(oM(),oM(),Met):(oM(),new vx(t.c))}function ecn(n){var t;return WI((t=k2(n)).a,0)?(sM(),sM(),Set):(sM(),new mx(t.b))}function icn(n){return n.b.c.i.k==(cSn(),Eut)?KB(pMn(n.b.c.i,(oWn(),blt)),11):n.b.c}function rcn(n){return n.b.d.i.k==(cSn(),Eut)?KB(pMn(n.b.d.i,(oWn(),blt)),11):n.b.d}function ccn(n,t,e,i,r,c,a,u,o,s,h,f,l){return fCn(n,t,e,i,r,c,a,u,o,s,h,f,l),Hln(n,!1),n}function acn(n,t,e,i,r,c,a){wT.call(this,n,t),this.d=e,this.e=i,this.c=r,this.b=c,this.a=c6(a)}function ucn(n,t){typeof window===IWn&&typeof window.$gwt===IWn&&(window.$gwt[n]=t)}function ocn(n,t){return Iun(),n==Jat&&t==nut||n==nut&&t==Jat||n==Zat&&t==Yat||n==Yat&&t==Zat}function scn(n,t){return Iun(),n==Jat&&t==Yat||n==Jat&&t==Zat||n==nut&&t==Zat||n==nut&&t==Yat}function hcn(n,t){return o$(),ein(sYn),i.Math.abs(0-t)<=sYn||0==t||isNaN(0)&&isNaN(t)?0:n/t}function fcn(){return fDn(),Mun(Hk(jft,1),OVn,256,0,[oft,hft,fft,lft,bft,wft,gft,uft,sft,dft])}function lcn(){lcn=O,T$t=new Pm,S$t=Mun(Hk(RAt,1),$9n,170,0,[]),M$t=Mun(Hk(XAt,1),L9n,59,0,[])}function bcn(){bcn=O,umt=new XP("NO",0),cmt=new XP("GREEDY",1),amt=new XP("LOOK_BACK",2)}function wcn(){wcn=O,Nut=new Ht,$ut=new Bt,Lut=new qt,Aut=new Gt,xut=new zt,Dut=new Ut}function dcn(n){var t,e;for(e=0,t=new Ub(n.b);t.a<t.c.c.length;)KB(Y1(t),29).p=e,++e}function gcn(n,t){var e;return OIn(new LC((e=RTn(n)).c,e.d),new LC(e.b,e.a),n.rf(),t,n.Hf())}function pcn(n,t){var e;return n.b?null:(e=utn(n,n.g),NH(n.a,e),e.i=n,n.d=t,e)}function vcn(n,t,e){CTn(e,"DFS Treeifying phase",1),ydn(n,t),ixn(n,t),n.a=null,n.b=null,FSn(e)}function mcn(n,t,e){this.g=n,this.d=t,this.e=e,this.a=new $p,GCn(this),TQ(),p$(this.a,null)}function ycn(n){this.i=n.gc(),this.i>0&&(this.g=this.ri(this.i+(this.i/8|0)+1),n.Qc(this.g))}function kcn(n,t){EH.call(this,z$t,n,t),this.b=this,this.a=rxn(n.Tg(),ttn(this.e.Tg(),this.c))}function jcn(n,t){var e,i;for(mW(t),i=t.vc().Kc();i.Ob();)e=KB(i.Pb(),42),n.zc(e.cd(),e.dd())}function Ecn(n,t,e){var i;for(i=e.Kc();i.Ob();)if(!H3(n,t,i.Pb()))return!1;return!0}function Tcn(n,t,e,i,r){var c;return e&&(c=Iwn(t.Tg(),n.c),r=e.gh(t,-1-(-1==c?i:c),null,r)),r}function Mcn(n,t,e,i,r){var c;return e&&(c=Iwn(t.Tg(),n.c),r=e.ih(t,-1-(-1==c?i:c),null,r)),r}function Scn(n){var t;if(-2==n.b){if(0==n.e)t=-1;else for(t=0;0==n.a[t];t++);n.b=t}return n.b}function Pcn(n){switch(n.g){case 2:return mUn(),SIt;case 4:return mUn(),aIt;default:return n}}function Ccn(n){switch(n.g){case 1:return mUn(),TIt;case 3:return mUn(),uIt;default:return n}}function Icn(n){var t,e,i;return n.j==(mUn(),uIt)&&(e=TN(t=GOn(n),aIt),(i=TN(t,SIt))||i&&e)}function Ocn(n){var t;return new V_(t=KB(n.e&&n.e(),9),KB(XU(t,t.length),9),t.length)}function Acn(n,t){CTn(t,m1n,1),Zbn(uM(new Mw((wM(),new FV(n,!1,!1,new Ft))))),FSn(t)}function $cn(n,t){return oN(),zI(n)?s6(n,TD(t)):GI(n)?jz(n,ED(t)):qI(n)?kz(n,jD(t)):n.wd(t)}function Lcn(n,t){t.q=n,n.d=i.Math.max(n.d,t.r),n.b+=t.d+(0==n.a.c.length?0:n.c),UB(n.a,t)}function Ncn(n,t){var e,i,r,c;return r=n.c,e=n.c+n.b,c=n.d,i=n.d+n.a,t.a>r&&t.a<e&&t.b>c&&t.b<i}function xcn(n,t,e,i){iL(n.Cb,179)&&(KB(n.Cb,179).tb=null),$rn(n,e),t&&RIn(n,t),i&&n.xk(!0)}function Dcn(n,t){var e;BQ(e=KB(t,183),"x",n.i),BQ(e,"y",n.j),BQ(e,S6n,n.g),BQ(e,M6n,n.f)}function Rcn(){Rcn=O,Pmt=agn(yO(bq(bq(new K2,(vMn(),Rat),(hWn(),Aot)),_at,kot),Kat),Oot)}function _cn(){_cn=O,Nmt=agn(yO(bq(bq(new K2,(vMn(),Rat),(hWn(),Aot)),_at,kot),Kat),Oot)}function Kcn(){Kcn=O,zjt=new vC(WZn,0),Ujt=new vC("POLAR_COORDINATE",1),Gjt=new vC("ID",2)}function Fcn(){Fcn=O,zvt=new GP("EQUALLY",0),Uvt=new GP(pYn,1),Xvt=new GP("NORTH_SOUTH",2)}function Bcn(){Bcn=O,Ovt=hhn((uNn(),Mun(Hk(Nvt,1),OVn,260,0,[Pvt,jvt,Mvt,Evt,Tvt,kvt,Svt,Cvt])))}function Hcn(){Hcn=O,Xst=hhn((mDn(),Mun(Hk(tht,1),OVn,270,0,[Kst,Hst,_st,zst,Bst,Fst,Gst,qst])))}function qcn(){qcn=O,kMt=hhn((MPn(),Mun(Hk(TMt,1),OVn,277,0,[mMt,lMt,gMt,vMt,bMt,wMt,dMt,pMt])))}function Gcn(){Gcn=O,eAt=hhn((oAn(),Mun(Hk(iAt,1),OVn,237,0,[nAt,JOt,YOt,QOt,ZOt,WOt,XOt,VOt])))}function zcn(){zcn=O,Wrt=new tR("debugSVG",(oN(),!1)),Vrt=new tR("overlapsExisted",!0)}function Ucn(n,t){return L7(new aw(n),new uw(t),new ow(t),new tn,Mun(Hk(Yet,1),OVn,132,0,[]))}function Xcn(){var n;return Bet||(Bet=new Dv,VA(n=new v5(""),(hM(),Fet)),srn(Bet,n)),Bet}function Wcn(n,t){for(vX(t);n.Ob();)if(!Wan(KB(n.Pb(),10)))return!1;return!0}function Vcn(n,t){var e;return!!(e=zRn(iin(),n))&&(Vpn(t,(uWn(),pPt),e),!0)}function Qcn(n,t){var e;for(e=0;e<t.j.c.length;e++)KB(N7(n,e),21).Gc(KB(N7(t,e),14));return n}function Jcn(n,t){var e,i;for(i=new Ub(t.b);i.a<i.c.c.length;)e=KB(Y1(i),29),n.a[e.p]=WMn(e)}function Ycn(n,t){var e,i;for(mW(t),i=n.vc().Kc();i.Ob();)e=KB(i.Pb(),42),t.Od(e.cd(),e.dd())}function Zcn(n,t){iL(t,83)?(KB(n.c,76).Xj(),nrn(n,KB(t,83))):KB(n.c,76).Wb(t)}function nan(n){return iL(n,152)?a6(KB(n,152)):iL(n,131)?KB(n,131).a:iL(n,54)?new sy(n):new ST(n)}function tan(n,t){return t<n.b.gc()?KB(n.b.Xb(t),10):t==n.b.gc()?n.a:KB(Lq(n.e,t-n.b.gc()-1),10)}function ean(n,t){n.a=ebn(n.a,1),n.c=i.Math.min(n.c,t),n.b=i.Math.max(n.b,t),n.d=ebn(n.d,t)}function ian(n,t){CTn(t,"Edge and layer constraint edge reversal",1),_zn(ARn(n)),FSn(t)}function ran(n){var t;null==n.d?(++n.e,n.f=0,efn(null)):(++n.e,t=n.d,n.d=null,n.f=0,efn(t))}function can(n){var t;return 0==(t=n.h)?n.l+n.m*PQn:t==MQn?n.l+n.m*PQn-CQn:n}function aan(n){return BD(),n.A.Hc((pdn(),NIt))&&!n.B.Hc((Y_n(),GIt))?Ywn(n):null}function uan(n){if(mW(n),0==n.length)throw Fp(new Ek("Zero length BigInteger"));t_n(this,n)}function oan(n){if(!n)throw Fp(new _y("no calls to next() since the last call to remove()"))}function san(n){return OQn<n&&n<CQn?n<0?i.Math.ceil(n):i.Math.floor(n):can(wNn(n))}function han(n,t){var e,i,r;for(e=n.c.Ee(),r=t.Kc();r.Ob();)i=r.Pb(),n.a.Od(e,i);return n.b.Kb(e)}function fan(n,t){var e,i,r;if(null!=(e=n.Jg())&&n.Mg())for(i=0,r=e.length;i<r;++i)e[i].ui(t)}function lan(n,t){var e,i;for(i=gW(e=n).e;i;){if((e=i)==t)return!0;i=gW(e).e}return!1}function ban(n,t,e){var i,r;return(i=n.a.f[t.p])<(r=n.a.f[e.p])?-1:i==r?0:1}function wan(n,t,e){var i,r;return r=KB(G_(n.d,t),19),i=KB(G_(n.b,e),19),r&&i?G6(n,r.a,i.a):null}function dan(n,t){var e,i;for(i=new IL(n);i.e!=i.i.gc();)TA(e=KB(mpn(i),33),e.i+t.b,e.j+t.d)}function gan(n,t){var e,i;for(i=new Ub(t);i.a<i.c.c.length;)e=KB(Y1(i),70),UB(n.d,e),DMn(n,e)}function pan(n,t){var e,i;i=new $p,e=t;do{i.c[i.c.length]=e,e=KB(xX(n.k,e),17)}while(e);return i}function van(n,t){var e;return n.Db&t?-1==(e=xmn(n,t))?n.Eb:nen(n.Eb)[e]:null}function man(n,t){var e;return(e=new Rf).G=t,!n.rb&&(n.rb=new Qz(n,KAt,n)),s9(n.rb,e),e}function yan(n,t){var e;return(e=new kv).G=t,!n.rb&&(n.rb=new Qz(n,KAt,n)),s9(n.rb,e),e}function kan(n,t){switch(t){case 1:return!!n.n&&0!=n.n.i;case 2:return null!=n.k}return p0(n,t)}function jan(n){switch(n.a.g){case 1:return new kI;case 3:return new oyn;default:return new Pf}}function Ean(n){var t;if(n.g>1||n.Ob())return++n.a,n.g=0,t=n.i,n.Ob(),t;throw Fp(new vv)}function Tan(n){var t;return r$(),cS(uyt,n)||((t=new ua).a=n,lR(uyt,n,t)),KB(aV(uyt,n),635)}function Man(n){var t,e,i;return e=0,(i=n)<0&&(i+=CQn,e=MQn),t=SY(i/PQn),E$(SY(i-t*PQn),t,e)}function San(n){var t,e,i;for(i=0,e=new WT(n.a);e.a<e.c.a.length;)t=c4(e),n.b.Hc(t)&&++i;return i}function Pan(n){var t,e,i;for(t=1,i=n.Kc();i.Ob();)t=~~(t=31*t+(null==(e=i.Pb())?0:Yon(e)));return t}function Can(n,t){var e;this.c=n,wmn(n,e=new $p,t,n.b,null,!1,null),this.a=new E2(e,0)}function Ian(n,t){this.b=n,this.e=t,this.d=t.j,this.f=(JM(),KB(n,66).Oj()),this.k=rxn(t.e.Tg(),n)}function Oan(n,t,e){this.b=(mW(n),n),this.d=(mW(t),t),this.e=(mW(e),e),this.c=this.d+""+this.e}function Aan(){this.a=KB(ppn((sRn(),Bct)),19).a,this.c=Hy(ED(ppn(iat))),this.b=Hy(ED(ppn(Zct)))}function $an(){$an=O,DCt=hhn((YAn(),Mun(Hk(HCt,1),OVn,93,0,[PCt,SCt,ICt,NCt,LCt,$Ct,OCt,ACt,CCt])))}function Lan(){Lan=O,_it=hhn((ZDn(),Mun(Hk(Kit,1),OVn,250,0,[xit,Oit,Ait,Iit,Lit,Nit,$it,Cit,Pit])))}function Nan(){Nan=O,xrt=new GS("UP",0),$rt=new GS(dYn,1),Lrt=new GS(iYn,2),Nrt=new GS(rYn,3)}function xan(){xan=O,uZ(),vkt=new OO(z3n,mkt=xkt),K0(),gkt=new OO(U3n,pkt=Fkt)}function Dan(){Dan=O,yft=new $P("ONE_SIDED",0),kft=new $P("TWO_SIDED",1),mft=new $P("OFF",2)}function Ran(n){n.r=new xv,n.w=new xv,n.t=new $p,n.i=new $p,n.d=new xv,n.a=new fA,n.c=new Lp}function _an(n){this.n=new $p,this.e=new VT,this.j=new VT,this.k=new $p,this.f=new $p,this.p=n}function Kan(n,t){n.c&&(Q_n(n,t,!0),QT(new xq(null,new l1(t,16)),new Bd(n))),Q_n(n,t,!1)}function Fan(n,t,e){return n==(ain(),Omt)?new Pc:0!=F$n(t,1)?new xj(e.length):new Nj(e.length)}function Ban(n,t){var e;return t?((e=t.Ve()).dc()||(n.q?jcn(n.q,e):n.q=new pO(e)),n):n}function Han(n,t){var e;return void 0===(e=n.a.get(t))?++n.d:(pR(n.a,t),--n.c,aJ(n.b)),e}function qan(n,t){var e;return 0==(e=t.p-n.p)?Mln(n.f.a*n.f.b,t.f.a*t.f.b):e}function Gan(n,t){var e,i;return(e=n.f.c.length)<(i=t.f.c.length)?-1:e==i?0:1}function zan(n){return 0!=n.b.c.length&&KB(Lq(n.b,0),70).a?KB(Lq(n.b,0),70).a:nQ(n)}function Uan(n){var t;if(n){if((t=n).dc())throw Fp(new vv);return t.Xb(t.gc()-1)}return c1(n.Kc())}function Xan(n){var t;return Xhn(n,0)<0&&(n=cH(n)),64-(0!=(t=bG(mz(n,32)))?JIn(t):JIn(bG(n))+32)}function Wan(n){var t;return t=KB(pMn(n,(oWn(),Wft)),61),n.k==(cSn(),Eut)&&(t==(mUn(),SIt)||t==aIt)}function Van(n,t,e){var i,r;(r=KB(pMn(n,(FXn(),ggt)),74))&&(Usn(i=new mm,0,r),Jtn(i,e),_rn(t,i))}function Qan(n,t,e){var i,r,c,a;i=(a=gW(n)).d,r=a.c,c=n.n,t&&(c.a=c.a-i.b-r.a),e&&(c.b=c.b-i.d-r.b)}function Jan(n,t){var e,i;return(e=n.j)!=(i=t.j)?e.g-i.g:n.p==t.p?0:e==(mUn(),uIt)?n.p-t.p:t.p-n.p}function Yan(n){var t,e;for(MUn(n),e=new Ub(n.d);e.a<e.c.c.length;)(t=KB(Y1(e),101)).i&&zSn(t)}function Zan(n,t,e,i,r){OX(n.c[t.g],e.g,i),OX(n.c[e.g],t.g,i),OX(n.b[t.g],e.g,r),OX(n.b[e.g],t.g,r)}function nun(n,t,e,i){KB(e.b,65),KB(e.b,65),KB(i.b,65),KB(i.b,65),KB(i.b,65),Ctn(i.a,new kB(n,t,i))}function tun(n,t){n.d==(_fn(),RPt)||n.d==FPt?KB(t.a,57).c.Fc(KB(t.b,57)):KB(t.b,57).c.Fc(KB(t.a,57))}function eun(n,t,e,i){return 1==e?(!n.n&&(n.n=new nU(HOt,n,1,7)),Rpn(n.n,t,i)):nSn(n,t,e,i)}function iun(n,t){var e;return $rn(e=new Ho,t),s9((!n.A&&(n.A=new $L(P$t,n,7)),n.A),e),e}function run(n,t,e){var i,r;return r=$2(t,I6n),djn((i=new rI(n,e)).a,i.b,r),r}function cun(n){var t;return n.a&&(1&n.Bb||!n.a.kh())||iL(t=Pkn(n),148)&&(n.a=KB(t,148)),n.a}function aun(n,t){var e,i;for(mW(t),i=t.Kc();i.Ob();)if(e=i.Pb(),!n.Hc(e))return!1;return!0}function uun(n,t){var e,i,r;return e=n.l+t.l,i=n.m+t.m+(e>>22),r=n.h+t.h+(i>>22),E$(e&TQn,i&TQn,r&MQn)}function oun(n,t){var e,i,r;return e=n.l-t.l,i=n.m-t.m+(e>>22),r=n.h-t.h+(i>>22),E$(e&TQn,i&TQn,r&MQn)}function sun(n){var t;return n<128?(!(t=(Eq(),Ett)[n])&&(t=Ett[n]=new Ab(n)),t):new Ab(n)}function hun(n){var t;return iL(n,78)?n:((t=n&&n.__java$exception)||av(t=new yhn(n)),t)}function fun(n){if(iL(n,186))return KB(n,118);if(n)return null;throw Fp(new Fy(n8n))}function lun(n,t){if(null==t)return!1;for(;n.a!=n.b;)if($fn(t,Rhn(n)))return!0;return!1}function bun(n){return!!n.a.Ob()||n.a==n.d&&(n.a=new T2(n.e.f),n.a.Ob())}function wun(n,t){var e;return 0!=(e=t.Pc()).length&&(ZB(n.c,n.c.length,e),!0)}function dun(n,t,e){var i,r;for(r=t.vc().Kc();r.Ob();)i=KB(r.Pb(),42),n.yc(i.cd(),i.dd(),e);return n}function gun(n,t){var e;for(e=new Ub(n.b);e.a<e.c.c.length;)oon(KB(Y1(e),70),(oWn(),clt),t)}function pun(n,t,e){var i,r;for(r=new Ub(n.b);r.a<r.c.c.length;)TA(i=KB(Y1(r),33),i.i+t,i.j+e)}function vun(n,t){if(!n)throw Fp(new Ry(ORn("value already present: %s",Mun(Hk(Int,1),FWn,1,5,[t]))))}function mun(n,t){return!(!n||!t||n==t)&&Rdn(n.d.c,t.d.c+t.d.b)&&Rdn(t.d.c,n.d.c+n.d.b)}function yun(){return m5(),Wet?new v5(null):_On(Xcn(),"com.google.common.base.Strings")}function kun(n,t){var e;return e=ux(t.a.gc()),QT(vtn(new xq(null,new l1(t,1)),n.i),new $C(n,e)),e}function jun(n){var t;return $rn(t=new Ho,"T"),s9((!n.d&&(n.d=new $L(P$t,n,11)),n.d),t),t}function Eun(n){var t,e,i,r;for(t=1,e=0,r=n.gc();e<r;++e)t=31*t+(null==(i=n.ki(e))?0:Yon(i));return t}function Tun(n,t,e,i){var r;return l2(t,n.e.Hd().gc()),l2(e,n.c.Hd().gc()),r=n.a[t][e],OX(n.a[t],e,i),r}function Mun(n,t,e,i,r){return r.gm=n,r.hm=t,r.im=I,r.__elementTypeId$=e,r.__elementTypeCategory$=i,r}function Sun(n,t,e,r,c){return yDn(),i.Math.min(qGn(n,t,e,r,c),qGn(e,r,n,t,Bx(new LC(c.a,c.b))))}function Pun(){Pun=O,rst=new ZS(WZn,0),est=new ZS(S1n,1),ist=new ZS(P1n,2),tst=new ZS("BOTH",3)}function Cun(){Cun=O,gst=new pP(nYn,0),pst=new pP(iYn,1),vst=new pP(rYn,2),mst=new pP("TOP",3)}function Iun(){Iun=O,Jat=new WS("Q1",0),nut=new WS("Q4",1),Yat=new WS("Q2",2),Zat=new WS("Q3",3)}function Oun(){Oun=O,fmt=new WP("OFF",0),lmt=new WP("SINGLE_EDGE",1),hmt=new WP("MULTI_EDGE",2)}function Aun(){Aun=O,UTt=new TC("MINIMUM_SPANNING_TREE",0),zTt=new TC("MAXIMUM_SPANNING_TREE",1)}function $un(){$un=O,JTt=new ou,QTt=new au}function Lun(n){var t,e;for(t=new VT,e=upn(n.d,0);e.b!=e.d.c;)NH(t,KB(f3(e),188).c);return t}function Nun(n){var t,e;for(e=new $p,t=n.Kc();t.Ob();)wun(e,lDn(KB(t.Pb(),33)));return e}function xun(n){var t;ZFn(n,!0),t=XVn,Ax(n,(FXn(),spt))&&(t+=KB(pMn(n,spt),19).a),oon(n,spt,tln(t))}function Dun(n,t,e){var i;OU(n.a),Ctn(e.i,new yg(n)),mgn(n,i=new S$(KB(xX(n.a,t.b),65)),t),e.f=i}function Run(n,t){var e,i;return e=n.c,(i=t.e[n.p])<e.a.c.length-1?KB(Lq(e.a,i+1),10):null}function _un(n,t){var e,i;for(UQ(t,"predicate"),i=0;n.Ob();i++)if(e=n.Pb(),t.Lb(e))return i;return-1}function Kun(n,t){var e,i;if(i=0,n<64&&n<=t)for(t=t<64?t:63,e=n;e<=t;e++)i=t0(i,vz(1,e));return i}function Fun(n){var t,e,i;for(TQ(),i=0,e=n.Kc();e.Ob();)i+=null!=(t=e.Pb())?Yon(t):0,i|=0;return i}function Bun(n){var t;return Zj(),t=new co,n&&s9((!n.a&&(n.a=new nU(ROt,n,6,6)),n.a),t),t}function Hun(n){var t;return(t=new p).a=n,t.b=von(n),t.c=L8(Wtt,uVn,2,2,6,1),t.c[0]=Frn(n),t.c[1]=Frn(n),t}function qun(n,t){if(0===t)return!n.o&&(n.o=new v9((SXn(),EOt),tAt,n,0)),void n.o.c.$b();pPn(n,t)}function Gun(n,t,e){switch(e.g){case 2:n.b=t;break;case 1:n.c=t;break;case 4:n.d=t;break;case 3:n.a=t}}function zun(n){switch(n.g){case 1:return kCt;case 2:return yCt;case 3:return jCt;default:return ECt}}function Uun(n){switch(KB(pMn(n,(FXn(),mgt)),163).g){case 2:case 4:return!0;default:return!1}}function Xun(){Xun=O,vft=hhn((fDn(),Mun(Hk(jft,1),OVn,256,0,[oft,hft,fft,lft,bft,wft,gft,uft,sft,dft])))}function Wun(){Wun=O,QIt=hhn((Y_n(),Mun(Hk(tOt,1),OVn,259,0,[HIt,GIt,BIt,zIt,UIt,WIt,XIt,qIt,FIt])))}function Vun(){Vun=O,zkt=bq(agn(agn(_M(bq(new K2,(qyn(),Dyt),(NPn(),Wyt)),Ryt),zyt),Uyt),_yt,Xyt)}function Qun(){Qun=O,Iht=new SP(WZn,0),Cht=new SP("INCOMING_ONLY",1),Oht=new SP("OUTGOING_ONLY",2)}function Jun(){Jun=O,stt={boolean:GT,number:Sy,string:Py,object:jCn,function:jCn,undefined:Up}}function Yun(n,t){gH(n>=0,"Negative initial capacity"),gH(t>=0,"Non-positive load factor"),OU(this)}function Zun(n,t,e){return!(n>=128)&&QI(n<64?n0(vz(1,n),e):n0(vz(1,n-64),t),0)}function non(n,t){return!(!n||!t||n==t)&&Pbn(n.b.c,t.b.c+t.b.b)<0&&Pbn(t.b.c,n.b.c+n.b.b)<0}function ton(n){var t,e,i;return e=n.n,i=n.o,t=n.d,new GV(e.a-t.b,e.b-t.d,i.a+(t.b+t.c),i.b+(t.d+t.a))}function eon(n){var t,e,i,r;for(i=0,r=(e=n.a).length;i<r;++i)Ton(n,t=e[i],(mUn(),TIt)),Ton(n,t,uIt)}function ion(n){var t,e;for(null==n.j&&(n.j=(MJ(),Pjn(ntt.ce(n)))),t=0,e=n.j.length;t<e;++t);}function ron(n){var t,e;return E$(t=1+~n.l&TQn,e=~n.m+(0==t?1:0)&TQn,~n.h+(0==t&&0==e?1:0)&MQn)}function con(n,t){return jFn(KB(KB(xX(n.g,t.a),46).a,65),KB(KB(xX(n.g,t.b),46).a,65))}function aon(n,t,e){var i;if(t>(i=n.gc()))throw Fp(new ZR(t,i));return n.hi()&&(e=YY(n,e)),n.Vh(t,e)}function uon(n,t,e){return null==e?(!n.q&&(n.q=new Lp),g6(n.q,t)):(!n.q&&(n.q=new Lp),XW(n.q,t,e)),n}function oon(n,t,e){return null==e?(!n.q&&(n.q=new Lp),g6(n.q,t)):(!n.q&&(n.q=new Lp),XW(n.q,t,e)),n}function son(n){var t,e;return Ban(e=new v6,n),oon(e,(Ern(),uat),n),nBn(n,e,t=new Lp),Tzn(n,e,t),e}function hon(n){var t,e,i;for(yDn(),e=L8(MMt,uVn,8,2,0,1),i=0,t=0;t<2;t++)i+=.5,e[t]=hmn(i,n);return e}function fon(n,t){var e,i,r;for(e=!1,i=n.a[t].length,r=0;r<i-1;r++)e|=Mdn(n,t,r,r+1);return e}function lon(n,t,e,i,r){var c,a;for(a=e;a<=r;a++)for(c=t;c<=i;c++)gmn(n,c,a)||_Rn(n,c,a,!0,!1)}function bon(n,t){this.b=n,$O.call(this,(KB(Utn(WQ((WX(),YAt).o),10),18),t.i),t.g),this.a=(lcn(),S$t)}function won(n,t){this.c=n,this.d=t,this.b=this.d/this.c.c.Hd().gc()|0,this.a=this.d%this.c.c.Hd().gc()}function don(){this.o=null,this.k=null,this.j=null,this.d=null,this.b=null,this.n=null,this.a=null}function gon(n,t,e){this.q=new i.Date,this.q.setFullYear(n+uQn,t,e),this.q.setHours(0,0,0,0),hBn(this,0)}function pon(){pon=O,$vt=new BP(WZn,0),Avt=new BP("NODES_AND_EDGES",1),Lvt=new BP("PREFER_EDGES",2)}function von(n){var t;return 0==n?"Etc/GMT":(n<0?(n=-n,t="Etc/GMT-"):t="Etc/GMT+",t+fnn(n))}function mon(n){var t;if(n<0)return RVn;if(0==n)return 0;for(t=CVn;!(t&n);t>>=1);return t}function yon(n){var t,e;return 32==(e=JIn(n.h))?32==(t=JIn(n.m))?JIn(n.l)+32:t+20-10:e-12}function kon(n){var t;return null==(t=n.a[n.b])?null:(OX(n.a,n.b,null),n.b=n.b+1&n.a.length-1,t)}function jon(n){var t,e;return t=n.t-n.k[n.o.p]*n.d+n.j[n.o.p]>n.f,e=n.u+n.e[n.o.p]*n.d>n.f*n.s*n.d,t||e}function Eon(n,t,e){var i,r;return i=new F8(t,e),r=new q,n.b=Uxn(n,n.b,i,r),r.b||++n.c,n.b.b=!1,r.d}function Ton(n,t,e){var i,r,c;for(c=0,r=Afn(t,e).Kc();r.Ob();)i=KB(r.Pb(),11),XW(n.c,i,tln(c++))}function Mon(n){var t,e;for(e=new Ub(n.a.b);e.a<e.c.c.length;)(t=KB(Y1(e),81)).g.c=-t.g.c-t.g.b;mNn(n)}function Son(n){var t,e;for(e=new Ub(n.a.b);e.a<e.c.c.length;)(t=KB(Y1(e),57)).d.c=-t.d.c-t.d.b;vNn(n)}function Pon(n){var t;return(!n.c||!(1&n.Bb)&&64&n.c.Db)&&iL(t=Pkn(n),88)&&(n.c=KB(t,26)),n.c}function Con(n){var t,e,i;t=1+~n.l&TQn,e=~n.m+(0==t?1:0)&TQn,i=~n.h+(0==t&&0==e?1:0)&MQn,n.l=t,n.m=e,n.h=i}function Ion(n){var t,e,i,r,c;for(t=new Hj,r=0,c=(i=n).length;r<c;++r)e=i[r],t.a+=e.a,t.b+=e.b;return t}function Oon(n,t){var e,i,r,c,a;for(TQ(),a=!1,r=0,c=(i=t).length;r<c;++r)e=i[r],a|=n.Fc(e);return a}function Aon(n){var t,e;for(yDn(),e=-17976931348623157e292,t=0;t<n.length;t++)n[t]>e&&(e=n[t]);return e}function $on(n,t,e){var i;return yxn(n,t,i=new $p,(mUn(),aIt),!0,!1),yxn(n,e,i,SIt,!1,!1),i}function Lon(n,t,e){var i,r;return r=$2(t,"labels"),zAn((i=new wI(n,e)).a,i.b,r),r}function Non(n,t,e,i){var r;return(r=p$n(n,t,e,i))||!(r=rln(n,e,i))||_qn(n,t,r)?r:null}function xon(n,t,e,i){var r;return(r=v$n(n,t,e,i))||!(r=cln(n,e,i))||_qn(n,t,r)?r:null}function Don(n,t){var e;for(e=0;e<n.a.a.length;e++)if(!KB(Nq(n.a,e),169).Lb(t))return!1;return!0}function Ron(n,t,e){if(vX(t),e.Ob())for(uO(t,SX(e.Pb()));e.Ob();)uO(t,n.a),uO(t,SX(e.Pb()));return t}function _on(n){var t,e,i;for(TQ(),i=1,e=n.Kc();e.Ob();)i=31*i+(null!=(t=e.Pb())?Yon(t):0),i|=0;return i}function Kon(n,t,e,i,r){var c;return c=yAn(n,t),e&&Con(c),r&&(n=Tmn(n,t),htt=i?ron(n):E$(n.l,n.m,n.h)),c}function Fon(n,t){var e;try{t.Vd()}catch(i){if(!iL(i=hun(i),78))throw Fp(i);e=i,n.c[n.c.length]=e}}function Bon(n,t,e){var i,r;return iL(t,144)&&e?(i=KB(t,144),r=e,n.a[i.b][r.b]+n.a[r.b][i.b]):0}function Hon(n,t){switch(t){case 7:return!!n.e&&0!=n.e.i;case 8:return!!n.d&&0!=n.d.i}return swn(n,t)}function qon(n,t){switch(t.g){case 0:iL(n.b,631)||(n.b=new Aan);break;case 1:iL(n.b,632)||(n.b=new sH)}}function Gon(n,t){for(;null!=n.g||n.c?null==n.g||0!=n.i&&KB(n.g[n.i-1],47).Ob():ZY(n);)gI(t,rLn(n))}function zon(n,t,e){n.g=IPn(n,t,(mUn(),aIt),n.b),n.d=IPn(n,e,aIt,n.b),0!=n.g.c&&0!=n.d.c&&qMn(n)}function Uon(n,t,e){n.g=IPn(n,t,(mUn(),SIt),n.j),n.d=IPn(n,e,SIt,n.j),0!=n.g.c&&0!=n.d.c&&qMn(n)}function Xon(n,t,e){return!yE(IV(new xq(null,new l1(n.c,16)),new rw(new JC(t,e)))).sd((bM(),Zet))}function Won(n){var t;return kW(n),t=new sn,n.a.sd(t)?(SL(),new gy(mW(t.a))):(SL(),SL(),Tet)}function Von(n){var t;return!(n.b<=0)&&((t=HO("MLydhHmsSDkK",VTn(sV(n.c,0))))>1||t>=0&&n.b<3)}function Qon(n){var t,e;for(t=new mm,e=upn(n,0);e.b!=e.d.c;)Dx(t,0,new lA(KB(f3(e),8)));return t}function Jon(n){var t;for(t=new Ub(n.a.b);t.a<t.c.c.length;)KB(Y1(t),81).f.$b();my(n.b,n),KNn(n)}function Yon(n){return zI(n)?gvn(n):GI(n)?XO(n):qI(n)?(mW(n),n?1231:1237):tz(n)?n.Hb():IG(n)?MN(n):ZQ(n)}function Zon(n){return zI(n)?Wtt:GI(n)?Mtt:qI(n)?mtt:tz(n)||IG(n)?n.gm:n.gm||Array.isArray(n)&&Hk(Ynt,1)||Ynt}function nsn(n){if(0===n.g)return new cu;throw Fp(new Ry($4n+(null!=n.f?n.f:""+n.g)))}function tsn(n){if(0===n.g)return new iu;throw Fp(new Ry($4n+(null!=n.f?n.f:""+n.g)))}function esn(n,t,e){if(0===t)return!n.o&&(n.o=new v9((SXn(),EOt),tAt,n,0)),void Zcn(n.o,e);vCn(n,t,e)}function isn(n,t,e){this.g=n,this.e=new Hj,this.f=new Hj,this.d=new VT,this.b=new VT,this.a=t,this.c=e}function rsn(n,t,e,i){this.b=new $p,this.n=new $p,this.i=i,this.j=e,this.s=n,this.t=t,this.r=0,this.d=0}function csn(n){this.e=n,this.d=new d4(this.e.g),this.a=this.d,this.b=bun(this),this.$modCount=n.$modCount}function asn(n){for(;!n.d||!n.d.Ob();){if(!n.b||Uy(n.b))return null;n.d=KB(bU(n.b),47)}return n.d}function usn(n){return UB(n.c,($un(),JTt)),cen(n.a,Hy(ED(ppn((xwn(),Xpt)))))?new qu:new Sg(n)}function osn(n){switch(n.g){case 1:return _3n;default:case 2:return 0;case 3:return QYn;case 4:return K3n}}function ssn(){var n;return lWn(),TNt||(n=nx(JUn("M",!0)),n=wG(JUn("M",!1),n),TNt=n)}function hsn(n,t){var e,i,r;for(r=n.b;r;){if(0==(e=n.a.ue(t,r.d)))return r;i=e<0?0:1,r=r.a[i]}return null}function fsn(n,t,e){var i,r;oN(),i=!!jO(e),(r=KB(t.xc(i),15))||(r=new $p,t.zc(i,r)),r.Fc(e)}function lsn(n,t){var e,i;return(e=KB(JAn(n,(U$n(),bEt)),19).a)==(i=KB(JAn(t,bEt),19).a)||e<i?-1:e>i?1:0}function bsn(n,t){return!!fNn(n,t)&&(QIn(n.b,KB(pMn(t,(oWn(),zft)),21),t),NH(n.a,t),!0)}function wsn(n){var t,e;(t=KB(pMn(n,(oWn(),klt)),10))&&(v7((e=t.c).a,t),0==e.a.c.length&&v7(gW(t).b,e))}function dsn(n){return Wet?L8(Het,bJn,572,0,0,1):KB(Wgn(n.a,L8(Het,bJn,572,n.a.c.length,0,1)),842)}function gsn(n,t,e,i){return YW(),new oy(Mun(Hk(Fnt,1),mVn,42,0,[(qvn(n,t),new gT(n,t)),(qvn(e,i),new gT(e,i))]))}function psn(n,t,e){var i;return sin(i=new Om,t,e),s9((!n.q&&(n.q=new nU(XAt,n,11,10)),n.q),i),i}function vsn(n){var t,e,i,r;for(e=(r=sS(IOt,n)).length,i=L8(Wtt,uVn,2,e,6,1),t=0;t<e;++t)i[t]=r[t];return i}function msn(n,t){var e,i,r,c,a;for(r=0,c=(i=t).length;r<c;++r)e=i[r],a=new GX(n),e.Qe(a),$Bn(a);OU(n.f)}function ysn(n,t){var e;return t===n||!!iL(t,224)&&(e=KB(t,224),$fn(n.Zb(),e.Zb()))}function ksn(n,t){var e;2*t+1>=n.b.c.length||(ksn(n,2*t+1),(e=2*t+2)<n.b.c.length&&ksn(n,e),DCn(n,t))}function jsn(n,t,e){var i,r;this.g=n,this.c=t,this.a=this,this.d=this,r=Qin(e),i=L8(Wnt,SVn,330,r,0,1),this.b=i}function Esn(n,t,e){var i;for(i=e-1;i>=0&&n[i]===t[i];i--);return i<0?0:uS(n0(n[i],GQn),n0(t[i],GQn))?-1:1}function Tsn(n,t){var e,i;for(i=upn(n,0);i.b!=i.d.c;)(e=KB(f3(i),214)).e.length>0&&(t.td(e),e.i&&dln(e))}function Msn(n,t){var e,i;return i=KB(van(n.a,4),126),e=L8(lAt,t9n,415,t,0,1),null!=i&&rHn(i,0,e,0,i.length),e}function Ssn(n,t){var e;return e=new eRn(!!(256&n.f),n.i,n.a,n.d,!!(16&n.f),n.j,n.g,t),null!=n.e||(e.c=n),e}function Psn(n,t){var e;for(e=n.Zb().Cc().Kc();e.Ob();)if(KB(e.Pb(),14).Hc(t))return!0;return!1}function Csn(n,t,e,i,r){var c,a;for(a=e;a<=r;a++)for(c=t;c<=i;c++)if(gmn(n,c,a))return!0;return!1}function Isn(n,t,e){var i,r,c,a;for(mW(e),a=!1,c=n.Zc(t),r=e.Kc();r.Ob();)i=r.Pb(),c.Rb(i),a=!0;return a}function Osn(n,t){var e;return n===t||!!iL(t,83)&&(e=KB(t,83),qSn(hz(n),e.vc()))}function Asn(n,t,e){var i,r;for(r=e.Kc();r.Ob();)if(i=KB(r.Pb(),42),n.re(t,i.dd()))return!0;return!1}function $sn(n,t,e){return n.d[t.p][e.p]||(tvn(n,t,e),n.d[t.p][e.p]=!0,n.d[e.p][t.p]=!0),n.a[t.p][e.p]}function Lsn(n,t){if(!n.ai()&&null==t)throw Fp(new Ry("The 'no null' constraint is violated"));return t}function Nsn(n,t){null==n.D&&null!=n.B&&(n.D=n.B,n.B=null),Fin(n,null==t?null:(mW(t),t)),n.C&&n.yk(null)}function xsn(n,t){return!(!n||n==t||!Ax(t,(oWn(),elt)))&&KB(pMn(t,(oWn(),elt)),10)!=n}function Dsn(n){switch(n.i){case 2:return!0;case 1:return!1;case-1:++n.c;default:return n.pl()}}function Rsn(n){switch(n.i){case-2:return!0;case-1:return!1;case 1:--n.c;default:return n.ql()}}function _sn(n){RY.call(this,"The given string does not match the expected format for individual spacings.",n)}function Ksn(){Ksn=O,cOt=new iI("ELK",0),aOt=new iI("JSON",1),rOt=new iI("DOT",2),uOt=new iI("SVG",3)}function Fsn(){Fsn=O,ujt=new gC(WZn,0),ojt=new gC("RADIAL_COMPACTION",1),sjt=new gC("WEDGE_COMPACTION",2)}function Bsn(){Bsn=O,qet=new dS("CONCURRENT",0),Get=new dS("IDENTITY_FINISH",1),zet=new dS("UNORDERED",2)}function Hsn(){Hsn=O,lM(),act=new OO(KYn,uct=ect),cct=new cp(FYn),oct=new cp(BYn),sct=new cp(HYn)}function qsn(){qsn=O,hst=new ji,fst=new Ei,sst=new Ti,ost=new Mi,mW(new Si),ust=new D}function Gsn(){Gsn=O,nmt=new UP("CONSERVATIVE",0),tmt=new UP("CONSERVATIVE_SOFT",1),emt=new UP("SLOPPY",2)}function zsn(){zsn=O,bCt=new UA(15),lCt=new zA((uWn(),zSt),bCt),wCt=wPt,oCt=rSt,sCt=DSt,fCt=KSt,hCt=_St}function Usn(n,t,e){var i,r;for(i=new VT,r=upn(e,0);r.b!=r.d.c;)NH(i,new lA(KB(f3(r),8)));Isn(n,t,i)}function Xsn(n){var t,e,i;for(t=0,i=L8(MMt,uVn,8,n.b,0,1),e=upn(n,0);e.b!=e.d.c;)i[t++]=KB(f3(e),8);return i}function Wsn(n){var t;return!n.a&&(n.a=new nU(zAt,n,9,5)),0!=(t=n.a).i?FM(KB(Utn(t,0),678)):null}function Vsn(n,t){var e;return e=ebn(n,t),uS(e0(n,t),0)|VI(e0(n,e),0)?e:ebn(fVn,e0(yz(e,63),1))}function Qsn(n,t){var e;e=null!=ppn((xwn(),Xpt))&&null!=t.wg()?Hy(ED(t.wg()))/Hy(ED(ppn(Xpt))):1,XW(n.b,t,e)}function Jsn(n,t){var e,i;return(e=KB(n.d.Bc(t),14))?((i=n.e.hc()).Gc(e),n.e.d-=e.gc(),e.$b(),i):null}function Ysn(n,t){var e,i;if(0!=(i=n.c[t]))for(n.c[t]=0,n.d-=i,e=t+1;e<n.a.length;)n.a[e]-=i,e+=e&-e}function Zsn(n){var t;if((t=n.a.c.length)>0)return Dz(t-1,n.a.c.length),u6(n.a,t-1);throw Fp(new pv)}function nhn(n,t,e){if(t<0)throw Fp(new Iy(Y4n+t));t<n.j.c.length?i5(n.j,t,e):(w3(n,t),UB(n.j,e))}function thn(n,t,e){if(n>t)throw Fp(new Ry(pJn+n+vJn+t));if(n<0||t>e)throw Fp(new jk(pJn+n+mJn+t+oJn+e))}function ehn(n){if(!(n.a&&8&n.a.i))throw Fp(new _y("Enumeration class expected for layout option "+n.f))}function ihn(n){var t;++n.j,0==n.i?n.g=null:n.i<n.g.length&&(t=n.g,n.g=n.ri(n.i),rHn(t,0,n.g,0,n.i))}function rhn(n,t){var e,i;for(e=n.a.length-1,n.c=n.c-1&e;t!=n.c;)i=t+1&e,OX(n.a,t,n.a[i]),t=i;OX(n.a,n.c,null)}function chn(n,t){var e,i;for(e=n.a.length-1;t!=n.b;)i=t-1&e,OX(n.a,t,n.a[i]),t=i;OX(n.a,n.b,null),n.b=n.b+1&e}function ahn(n,t,e){var i;return AZ(t,n.c.length),0!=(i=e.Pc()).length&&(ZB(n.c,t,i),!0)}function uhn(n){var t,e;if(null==n)return null;for(t=0,e=n.length;t<e;t++)if(!MH(n[t]))return n[t];return null}function ohn(n,t,e){var i,r,c,a;for(c=0,a=(r=e).length;c<a;++c)if(i=r[c],n.b.re(t,i.cd()))return i;return null}function shn(n){var t,e,i,r,c;for(c=1,i=0,r=(e=n).length;i<r;++i)c=31*c+(null!=(t=e[i])?Yon(t):0),c|=0;return c}function hhn(n){var t,e,i,r,c;for(t={},r=0,c=(i=n).length;r<c;++r)t[":"+(null!=(e=i[r]).f?e.f:""+e.g)]=e;return t}function fhn(n){var t;for(vX(n),SK(!0,"numberToAdvance must be nonnegative"),t=0;t<0&&bAn(n);t++)G5(n);return t}function lhn(n){var t,e,i;for(i=0,e=new az(JL(n.a.Kc(),new h));bAn(e);)(t=KB(G5(e),17)).c.i==t.d.i||++i;return i}function bhn(n,t){var e,i,r;for(e=n,r=0;;){if(e==t)return r;if(!(i=e.e))throw Fp(new lv);e=gW(i),++r}}function whn(n,t){var e,i,r;for(r=t-n.f,i=new Ub(n.d);i.a<i.c.c.length;)mdn(e=KB(Y1(i),443),e.e,e.f+r);n.f=t}function dhn(n,t,e){return i.Math.abs(t-n)<R3n||i.Math.abs(e-n)<R3n||(t-n>R3n?n-e>R3n:e-n>R3n)}function ghn(n,t){return n?t&&!n.j||iL(n,124)&&0==KB(n,124).a.b?0:n.Re():0}function phn(n,t){return n?t&&!n.k||iL(n,124)&&0==KB(n,124).a.a?0:n.Se():0}function vhn(n){return CDn(),n<0?-1!=n?new xpn(-1,-n):Vtt:n<=10?Jtt[SY(n)]:new xpn(1,n)}function mhn(n){throw Jun(),Fp(new wy("Unexpected typeof result '"+n+"'; please report this bug to the GWT team"))}function yhn(n){ok(),X$(this),yQ(this),this.e=n,Sxn(this,n),this.g=null==n?qWn:Kbn(n),this.a="",this.b=n,this.a=""}function khn(){this.a=new nu,this.f=new bg(this),this.b=new wg(this),this.i=new dg(this),this.e=new gg(this)}function jhn(){iy.call(this,new B8(ntn(16))),hin(2,aVn),this.b=2,this.a=new FW(null,null,0,null),tv(this.a,this.a)}function Ehn(){Ehn=O,ivt=new DP("DUMMY_NODE_OVER",0),rvt=new DP("DUMMY_NODE_UNDER",1),cvt=new DP("EQUAL",2)}function Thn(){Thn=O,zat=FY(Mun(Hk(UPt,1),OVn,103,0,[(_fn(),RPt),_Pt])),Uat=FY(Mun(Hk(UPt,1),OVn,103,0,[FPt,DPt]))}function Mhn(n){return(mUn(),vIt).Hc(n.j)?Hy(ED(pMn(n,(oWn(),Alt)))):Ion(Mun(Hk(MMt,1),uVn,8,0,[n.i.n,n.n,n.a])).b}function Shn(n){var t,e;for(t=n.b.a.a.ec().Kc();t.Ob();)e=new W$n(KB(t.Pb(),561),n.e,n.f),UB(n.g,e)}function Phn(n,t){var e,i;e=n.nk(t,null),i=null,t&&(tE(),ien(i=new Dp,n.r)),(e=FTn(n,i,e))&&e.Fi()}function Chn(n,t){var e,i;for(i=0!=F$n(n.d,1),e=!0;e;)e=!1,e=t.c.Tf(t.e,i),e|=NNn(n,t,i,!1),i=!i;Orn(n)}function Ihn(n,t){var e,i,r;return i=!1,e=t.q.d,t.d<n.b&&(r=bNn(t.q,n.b),t.q.d>r&&(rEn(t.q,r),i=e!=t.q.d)),i}function Ohn(n,t){var e,r,c,a,u;return a=t.i,u=t.j,r=a-(e=n.f).i,c=u-e.j,i.Math.sqrt(r*r+c*c)}function Ahn(n,t){var e;return(e=Vdn(n))||(xHn(),s9((e=new Sp(VPn(t))).Vk(),n)),e}function $hn(n,t){var e,i;return(e=KB(n.c.Bc(t),14))?((i=n.hc()).Gc(e),n.d-=e.gc(),e.$b(),n.mc(i)):n.jc()}function Lhn(n,t){var e;for(e=0;e<t.length;e++)if(n==(f1(e,t.length),t.charCodeAt(e)))return!0;return!1}function Nhn(n,t){var e;for(e=0;e<t.length;e++)if(n==(f1(e,t.length),t.charCodeAt(e)))return!0;return!1}function xhn(n){var t,e;if(null==n)return!1;for(t=0,e=n.length;t<e;t++)if(!MH(n[t]))return!1;return!0}function Dhn(n){var t;if(0!=n.c)return n.c;for(t=0;t<n.a.length;t++)n.c=33*n.c+(-1&n.a[t]);return n.c=n.c*n.e,n.c}function Rhn(n){var t;return Mx(n.a!=n.b),t=n.d.a[n.a],kx(n.b==n.d.c&&null!=t),n.c=n.a,n.a=n.a+1&n.d.a.length-1,t}function _hn(n){var t;if(!(n.c.c<0?n.a>=n.c.b:n.a<=n.c.b))throw Fp(new vv);return t=n.a,n.a+=n.c.c,++n.b,tln(t)}function Khn(n){var t;return t=new stn(n),t2(n.a,uut,new Qy(Mun(Hk(Qat,1),FWn,369,0,[t]))),t.d&&UB(t.f,t.d),t.f}function Fhn(n){var t;return Ban(t=new C$(n.a),n),oon(t,(oWn(),blt),n),t.o.a=n.g,t.o.b=n.f,t.n.a=n.i,t.n.b=n.j,t}function Bhn(n,t,e,i){var r,c;for(c=n.Kc();c.Ob();)(r=KB(c.Pb(),70)).n.a=t.a+(i.a-r.o.a)/2,r.n.b=t.b,t.b+=r.o.b+e}function Hhn(n,t,e){var i;for(i=t.a.a.ec().Kc();i.Ob();)if(iJ(n,KB(i.Pb(),57),e))return!0;return!1}function qhn(n){var t,e;for(e=new Ub(n.r);e.a<e.c.c.length;)if(t=KB(Y1(e),10),n.n[t.p]<=0)return t;return null}function Ghn(n){var t,e;for(e=new xv,t=new Ub(n);t.a<t.c.c.length;)_rn(e,bDn(KB(Y1(t),33)));return e}function zhn(n){var t;return t=mA(Smt),KB(pMn(n,(oWn(),Jft)),21).Hc((fDn(),bft))&&bq(t,(vMn(),Rat),(hWn(),Kot)),t}function Uhn(n,t,e){var i;i=new EOn(n,t),QIn(n.r,t.Hf(),i),e&&!Fz(n.u)&&(i.c=new vY(n.d),Ctn(t.wf(),new Sw(i)))}function Xhn(n,t){var e;return QO(n)&&QO(t)&&(e=n-t,!isNaN(e))?e:Dkn(QO(n)?Man(n):n,QO(t)?Man(t):t)}function Whn(n,t){return t<n.length&&(f1(t,n.length),63!=n.charCodeAt(t))&&(f1(t,n.length),35!=n.charCodeAt(t))}function Vhn(n,t,e,i){var r,c;n.a=t,c=i?0:1,n.f=(r=new JSn(n.c,n.a,e,c),new cRn(e,n.a,r,n.e,n.b,n.c==(ain(),Imt)))}function Qhn(n,t,e){var i,r;return r=n.a,n.a=t,4&n.Db&&!(1&n.Db)&&(i=new Yz(n,1,1,r,t),e?e.Ei(i):e=i),e}function Jhn(n,t,e){var i,r;return r=n.b,n.b=t,4&n.Db&&!(1&n.Db)&&(i=new Yz(n,1,3,r,t),e?e.Ei(i):e=i),e}function Yhn(n,t,e){var i,r;return r=n.f,n.f=t,4&n.Db&&!(1&n.Db)&&(i=new Yz(n,1,0,r,t),e?e.Ei(i):e=i),e}function Zhn(n,t){var e,i,r,c;return(c=mCn((i=t,(r=n?Vdn(n):null)&&r.Xk(),i)))==t&&(e=Vdn(n))&&e.Xk(),c}function nfn(n,t){var e,i,r;for(r=1,e=n,i=t>=0?t:-t;i>0;)i%2==0?(e*=e,i=i/2|0):(r*=e,i-=1);return t<0?1/r:r}function tfn(n,t){var e,i,r;for(r=1,e=n,i=t>=0?t:-t;i>0;)i%2==0?(e*=e,i=i/2|0):(r*=e,i-=1);return t<0?1/r:r}function efn(n){var t,e;if(null!=n)for(e=0;e<n.length;++e)(t=n[e])&&(KB(t.g,367),t.i)}function ifn(n){var t,e,r;for(r=0,e=new Ub(n.a);e.a<e.c.c.length;)t=KB(Y1(e),187),r=i.Math.max(r,t.g);return r}function rfn(n){var t,e,i;for(i=new Ub(n.b);i.a<i.c.c.length;)(t=(e=KB(Y1(i),214)).c.Rf()?e.f:e.a)&&lqn(t,e.j)}function cfn(){cfn=O,gCt=new FC("INHERIT",0),dCt=new FC("INCLUDE_CHILDREN",1),pCt=new FC("SEPARATE_CHILDREN",2)}function afn(n,t){switch(t){case 1:return!n.n&&(n.n=new nU(HOt,n,1,7)),void uqn(n.n);case 2:return void Oin(n,null)}qun(n,t)}function ufn(n){switch(n.gc()){case 0:return _nt;case 1:return new Mq(vX(n.Xb(0)));default:return new TJ(n)}}function ofn(n){switch(uK(),n.gc()){case 0:return XX(),Xnt;case 1:return new vk(n.Kc().Pb());default:return new gS(n)}}function sfn(n){switch(uK(),n.c){case 0:return XX(),Xnt;case 1:return new vk(QCn(new WT(n)));default:return new uy(n)}}function hfn(n,t){vX(n);try{return n.xc(t)}catch(e){if(iL(e=hun(e),205)||iL(e,173))return null;throw Fp(e)}}function ffn(n,t){vX(n);try{return n.Bc(t)}catch(e){if(iL(e=hun(e),205)||iL(e,173))return null;throw Fp(e)}}function lfn(n,t){vX(n);try{return n.Hc(t)}catch(e){if(iL(e=hun(e),205)||iL(e,173))return!1;throw Fp(e)}}function bfn(n,t){vX(n);try{return n.Mc(t)}catch(e){if(iL(e=hun(e),205)||iL(e,173))return!1;throw Fp(e)}}function wfn(n,t){vX(n);try{return n._b(t)}catch(e){if(iL(e=hun(e),205)||iL(e,173))return!1;throw Fp(e)}}function dfn(n,t){n.a.c.length>0&&bsn(KB(Lq(n.a,n.a.c.length-1),570),t)||UB(n.a,new d5(t))}function gfn(n){var t,e;HK(),t=n.d.c-n.e.c,Ctn((e=KB(n.g,145)).b,new yd(t)),Ctn(e.c,new kd(t)),n5(e.i,new jd(t))}function pfn(n){var t;return(t=new Sk).a+="VerticalSegment ",cO(t,n.e),t.a+=" ",aO(t,QL(new pk,new Ub(n.k))),t.a}function vfn(n){var t;return(t=KB(hnn(n.c.c,""),229))||(t=new GZ(yj(mj(new pu,""),"Other")),Qgn(n.c.c,"",t)),t}function mfn(n){var t;return 64&n.Db?M$n(n):((t=new sN(M$n(n))).a+=" (name: ",iO(t,n.zb),t.a+=")",t.a)}function yfn(n,t,e){var i,r;return r=n.sb,n.sb=t,4&n.Db&&!(1&n.Db)&&(i=new Yz(n,1,4,r,t),e?e.Ei(i):e=i),e}function kfn(n,t){var e,i;for(e=0,i=rbn(n,t).Kc();i.Ob();)e+=null!=pMn(KB(i.Pb(),11),(oWn(),klt))?1:0;return e}function jfn(n,t,e){var i,r,c;for(i=0,c=upn(n,0);c.b!=c.d.c&&!((r=Hy(ED(f3(c))))>e);)r>=t&&++i;return i}function Efn(n,t,e){var i;return i=new $7(n.e,3,13,null,t.c||(wWn(),s$t),cvn(n,t),!1),e?e.Ei(i):e=i,e}function Tfn(n,t,e){var i;return i=new $7(n.e,4,13,t.c||(wWn(),s$t),null,cvn(n,t),!1),e?e.Ei(i):e=i,e}function Mfn(n,t,e){var i,r;return r=n.r,n.r=t,4&n.Db&&!(1&n.Db)&&(i=new Yz(n,1,8,r,n.r),e?e.Ei(i):e=i),e}function Sfn(n,t){var e,i;return!(i=(e=KB(t,676)).vk())&&e.wk(i=iL(t,88)?new OI(n,KB(t,26)):new R0(n,KB(t,148))),i}function Pfn(n,t,e){var i;n.qi(n.i+1),i=n.oi(t,e),t!=n.i&&rHn(n.g,t,n.g,t+1,n.i-t),OX(n.g,t,i),++n.i,n.bi(t,e),n.ci()}function Cfn(n,t){var e;return t.a&&(e=t.a.a.length,n.a?aO(n.a,n.b):n.a=new hN(n.d),H0(n.a,t.a,t.d.length,e)),n}function Ifn(n,t){var e,i,r;if(t.vi(n.a),null!=(r=KB(van(n.a,8),1936)))for(e=0,i=r.length;e<i;++e)null.jm()}function Ofn(n,t){var e;return e=new sn,n.a.sd(e)?(SL(),new gy(mW(j7(n,e.a,t)))):(kW(n),SL(),SL(),Tet)}function Afn(n,t){switch(t.g){case 2:case 1:return rbn(n,t);case 3:case 4:return nan(rbn(n,t))}return TQ(),TQ(),uet}function $fn(n,t){return zI(n)?p_(n,t):GI(n)?g_(n,t):qI(n)?(mW(n),HI(n)===HI(t)):tz(n)?n.Fb(t):IG(n)?_O(n,t):g0(n,t)}function Lfn(n){return n?1&n.i?n==INt?mtt:n==CNt?Itt:n==LNt?Stt:n==$Nt?Mtt:n==ONt?xtt:n==NNt?Rtt:n==ANt?jtt:Ttt:n:null}function Nfn(n,t,e,i,r){0!=t&&0!=i&&(1==t?r[i]=bvn(r,e,i,n[0]):1==i?r[t]=bvn(r,n,t,e[0]):VOn(n,e,r,t,i))}function xfn(n,t){var e;0!=n.c.length&&(oA(e=KB(Wgn(n,L8(Cut,r1n,10,n.c.length,0,1)),193),new Oe),nOn(e,t))}function Dfn(n,t){var e;0!=n.c.length&&(oA(e=KB(Wgn(n,L8(Cut,r1n,10,n.c.length,0,1)),193),new Ae),nOn(e,t))}function Rfn(n,t,e,i){switch(t){case 1:return!n.n&&(n.n=new nU(HOt,n,1,7)),n.n;case 2:return n.k}return kyn(n,t,e,i)}function _fn(){_fn=O,KPt=new DC(oYn,0),_Pt=new DC(rYn,1),RPt=new DC(iYn,2),DPt=new DC(dYn,3),FPt=new DC("UP",4)}function Kfn(){Kfn=O,lut=new VS(WZn,0),fut=new VS("INSIDE_PORT_SIDE_GROUPS",1),hut=new VS("FORCE_MODEL_ORDER",2)}function Ffn(n,t,e){if(n<0||t>e)throw Fp(new Iy(pJn+n+mJn+t+", size: "+e));if(n>t)throw Fp(new Ry(pJn+n+vJn+t))}function Bfn(n,t,e){if(t<0)iIn(n,e);else{if(!e.Ij())throw Fp(new Ry(e6n+e.ne()+i6n));KB(e,66).Nj().Vj(n,n.yh(),t)}}function Hfn(n,t,e,i,r,c,a,u){var o;for(o=e;c<a;)o>=i||t<e&&u.ue(n[t],n[o])<=0?OX(r,c++,n[t++]):OX(r,c++,n[o++])}function qfn(n,t,e,i,r,c){this.e=new $p,this.f=(rin(),Hvt),UB(this.e,n),this.d=t,this.a=e,this.b=i,this.f=r,this.c=c}function Gfn(n,t){var e,i;for(i=new IL(n);i.e!=i.i.gc();)if(e=KB(mpn(i),26),HI(t)===HI(e))return!0;return!1}function zfn(n){var t,e,i,r;for(bWn(),i=0,r=(e=Zgn()).length;i<r;++i)if(-1!=k7((t=e[i]).a,n,0))return t;return Prt}function Ufn(n){return n>=65&&n<=70?n-65+10:n>=97&&n<=102?n-97+10:n>=48&&n<=57?n-48:0}function Xfn(n){var t;return 64&n.Db?M$n(n):((t=new sN(M$n(n))).a+=" (source: ",iO(t,n.d),t.a+=")",t.a)}function Wfn(n,t,e){var i,r;return r=n.a,n.a=t,4&n.Db&&!(1&n.Db)&&(i=new Yz(n,1,5,r,n.a),e?DEn(e,i):e=i),e}function Vfn(n,t){var e;e=!!(256&n.Bb),t?n.Bb|=256:n.Bb&=-257,4&n.Db&&!(1&n.Db)&&fan(n,new Z5(n,1,2,e,t))}function Qfn(n,t){var e;e=!!(256&n.Bb),t?n.Bb|=256:n.Bb&=-257,4&n.Db&&!(1&n.Db)&&fan(n,new Z5(n,1,8,e,t))}function Jfn(n,t){var e;e=!!(256&n.Bb),t?n.Bb|=256:n.Bb&=-257,4&n.Db&&!(1&n.Db)&&fan(n,new Z5(n,1,8,e,t))}function Yfn(n,t){var e;e=!!(512&n.Bb),t?n.Bb|=512:n.Bb&=-513,4&n.Db&&!(1&n.Db)&&fan(n,new Z5(n,1,3,e,t))}function Zfn(n,t){var e;e=!!(512&n.Bb),t?n.Bb|=512:n.Bb&=-513,4&n.Db&&!(1&n.Db)&&fan(n,new Z5(n,1,9,e,t))}function nln(n,t){var e;return-1==n.b&&n.a&&(e=n.a.Gj(),n.b=e?n.c.Xg(n.a.aj(),e):Iwn(n.c.Tg(),n.a)),n.c.Og(n.b,t)}function tln(n){var t,e;return n>-129&&n<128?(t=n+128,!(e=(ZH(),Ptt)[t])&&(e=Ptt[t]=new Lb(n)),e):new Lb(n)}function eln(n){var t,e;return n>-129&&n<128?(t=n+128,!(e=(jq(),Dtt)[t])&&(e=Dtt[t]=new xb(n)),e):new xb(n)}function iln(n){var t;return n.k==(cSn(),Eut)&&((t=KB(pMn(n,(oWn(),Wft)),61))==(mUn(),uIt)||t==TIt)}function rln(n,t,e){var i,r;return(r=O$n(n.b,t))&&(i=KB($Hn(_7(n,r),""),26))?p$n(n,i,t,e):null}function cln(n,t,e){var i,r;return(r=O$n(n.b,t))&&(i=KB($Hn(_7(n,r),""),26))?v$n(n,i,t,e):null}function aln(n,t){var e,i;for(i=new IL(n);i.e!=i.i.gc();)if(e=KB(mpn(i),138),HI(t)===HI(e))return!0;return!1}function uln(n,t,e){var i;if(t>(i=n.gc()))throw Fp(new ZR(t,i));if(n.hi()&&n.Hc(e))throw Fp(new Ry(r8n));n.Xh(t,e)}function oln(n,t){var e;if(null==(e=uen(n.i,t)))throw Fp(new nk("Node did not exist in input."));return Dcn(t,e),null}function sln(n,t){var e;if(iL(e=$Nn(n,t),322))return KB(e,34);throw Fp(new Ry(e6n+t+"' is not a valid attribute"))}function hln(n,t,e){var i,r;for(r=iL(t,99)&&KB(t,18).Bb&KQn?new LO(t,n):new Ian(t,n),i=0;i<e;++i)ivn(r);return r}function fln(n){var t,e,i;for(i=0,e=n.length,t=0;t<e;t++)32==n[t]||13==n[t]||10==n[t]||9==n[t]||(n[i++]=n[t]);return i}function lln(n){var t,e,i;for(t=new $p,i=new Ub(n.b);i.a<i.c.c.length;)e=KB(Y1(i),594),wun(t,KB(e.jf(),14));return t}function bln(n){var t,e;for(e=KB(pMn(n,(Bqn(),hkt)),15).Kc();e.Ob();)NH((t=KB(e.Pb(),188)).b.d,t),NH(t.c.b,t)}function wln(n){switch(KB(pMn(n,(oWn(),tlt)),303).g){case 1:oon(n,tlt,(q7(),Tft));break;case 2:oon(n,tlt,(q7(),Sft))}}function dln(n){var t;n.g&&(Lxn((t=n.c.Rf()?n.f:n.a).a,n.o,!0),Lxn(t.a,n.o,!1),oon(n.o,(FXn(),npt),(WEn(),GCt)))}function gln(n){var t;if(!n.a)throw Fp(new _y("Cannot offset an unassigned cut."));t=n.c-n.b,n.b+=t,LQ(n,t),$Q(n,t)}function pln(n){var t;return null==(t=n.a[n.c-1&n.a.length-1])?null:(n.c=n.c-1&n.a.length-1,OX(n.a,n.c,null),t)}function vln(n){var t,e;for(e=n.p.a.ec().Kc();e.Ob();)if((t=KB(e.Pb(),213)).f&&n.b[t.c]<-1e-10)return t;return null}function mln(n,t){switch(n.b.g){case 0:case 1:return t;case 2:case 3:return new GV(t.d,0,t.a,t.b);default:return null}}function yln(n){switch(n.g){case 2:return _Pt;case 1:return RPt;case 4:return DPt;case 3:return FPt;default:return KPt}}function kln(n){switch(n.g){case 1:return SIt;case 2:return uIt;case 3:return aIt;case 4:return TIt;default:return MIt}}function jln(n){switch(n.g){case 1:return TIt;case 2:return SIt;case 3:return uIt;case 4:return aIt;default:return MIt}}function Eln(n){switch(n.g){case 1:return aIt;case 2:return TIt;case 3:return SIt;case 4:return uIt;default:return MIt}}function Tln(n){switch(n){case 0:return new pm;case 1:return new dm;case 2:return new gm;default:throw Fp(new lv)}}function Mln(n,t){return n<t?-1:n>t?1:n==t?0==n?Mln(1/n,1/t):0:isNaN(n)?isNaN(t)?0:1:-1}function Sln(n,t){CTn(t,"Sort end labels",1),QT(IV(lnn(new xq(null,new l1(n.b,16)),new we),new de),new ge),FSn(t)}function Pln(n,t,e){var i,r;return n.ej()?(r=n.fj(),i=VIn(n,t,e),n.$i(n.Zi(7,tln(e),i,t,r)),i):VIn(n,t,e)}function Cln(n,t){var e,i,r;null==n.d?(++n.e,--n.f):(r=t.cd(),$6(n,i=((e=t.Sh())&NWn)%n.d.length,I$n(n,i,e,r)))}function Iln(n,t){var e;e=!!(n.Bb&m6n),t?n.Bb|=m6n:n.Bb&=-1025,4&n.Db&&!(1&n.Db)&&fan(n,new Z5(n,1,10,e,t))}function Oln(n,t){var e;e=!!(n.Bb&RQn),t?n.Bb|=RQn:n.Bb&=-4097,4&n.Db&&!(1&n.Db)&&fan(n,new Z5(n,1,12,e,t))}function Aln(n,t){var e;e=!!(n.Bb&j9n),t?n.Bb|=j9n:n.Bb&=-8193,4&n.Db&&!(1&n.Db)&&fan(n,new Z5(n,1,15,e,t))}function $ln(n,t){var e;e=!!(n.Bb&E9n),t?n.Bb|=E9n:n.Bb&=-2049,4&n.Db&&!(1&n.Db)&&fan(n,new Z5(n,1,11,e,t))}function Lln(n,t){var e;return 0!=(e=Mln(n.b.c,t.b.c))||0!=(e=Mln(n.a.a,t.a.a))?e:Mln(n.a.b,t.a.b)}function Nln(n,t){var e;if(null==(e=xX(n.k,t)))throw Fp(new nk("Port did not exist in input."));return Dcn(t,e),null}function xln(n){var t,e;for(e=H$n(Gtn(n)).Kc();e.Ob();)if($Kn(n,t=TD(e.Pb())))return v4((GM(),NAt),t);return null}function Dln(n,t){var e,i,r,c,a;for(a=rxn(n.e.Tg(),t),c=0,e=KB(n.g,119),r=0;r<n.i;++r)i=e[r],a.rl(i.ak())&&++c;return c}function Rln(n,t,e){var i,r;return i=KB(t.We(n.a),35),r=KB(e.We(n.a),35),null!=i&&null!=r?$cn(i,r):null!=i?-1:null!=r?1:0}function _ln(n,t,e){var i;if(n.c)hMn(n.c,t,e);else for(i=new Ub(n.b);i.a<i.c.c.length;)_ln(KB(Y1(i),157),t,e)}function Kln(n,t){var e,i;for(i=new Ub(t);i.a<i.c.c.length;)e=KB(Y1(i),46),v7(n.b.b,e.b),cJ(KB(e.a,189),KB(e.b,81))}function Fln(n){var t,e;for(e=LX(new Sk,91),t=!0;n.Ob();)t||(e.a+=_Wn),t=!1,cO(e,n.Pb());return(e.a+="]",e).a}function Bln(n,t){var e;e=!!(n.Bb&oVn),t?n.Bb|=oVn:n.Bb&=-16385,4&n.Db&&!(1&n.Db)&&fan(n,new Z5(n,1,16,e,t))}function Hln(n,t){var e;e=!!(n.Bb&o6n),t?n.Bb|=o6n:n.Bb&=-32769,4&n.Db&&!(1&n.Db)&&fan(n,new Z5(n,1,18,e,t))}function qln(n,t){var e;e=!!(n.Bb&o6n),t?n.Bb|=o6n:n.Bb&=-32769,4&n.Db&&!(1&n.Db)&&fan(n,new Z5(n,1,18,e,t))}function Gln(n,t){var e;e=!!(n.Bb&KQn),t?n.Bb|=KQn:n.Bb&=-65537,4&n.Db&&!(1&n.Db)&&fan(n,new Z5(n,1,20,e,t))}function zln(n){var t;return t=L8(PNt,UVn,25,2,15,1),n-=KQn,t[0]=(n>>10)+FQn&WVn,t[1]=56320+(1023&n)&WVn,Kdn(t,0,t.length)}function Uln(n){var t;return(t=KB(pMn(n,(FXn(),Gdt)),103))==(_fn(),KPt)?Hy(ED(pMn(n,kdt)))>=1?_Pt:DPt:t}function Xln(n){switch(KB(pMn(n,(FXn(),Jdt)),218).g){case 1:return new ic;case 3:return new oc;default:return new ec}}function Wln(n){if(n.c)Wln(n.c);else if(n.d)throw Fp(new _y("Stream already terminated, can't be modified or used"))}function Vln(n){var t;return 64&n.Db?M$n(n):((t=new sN(M$n(n))).a+=" (identifier: ",iO(t,n.k),t.a+=")",t.a)}function Qln(n,t,e){var i;return Zj(),yen(i=new ro,t),ken(i,e),n&&s9((!n.a&&(n.a=new OL($Ot,n,5)),n.a),i),i}function Jln(n,t,e,i){var r,c;return mW(i),mW(e),null==(c=null==(r=n.xc(t))?e:JT(KB(r,15),KB(e,14)))?n.Bc(t):n.zc(t,c),c}function Yln(n){var t,e,i,r;return arn(e=new V_(t=KB(Xj((r=(i=n.gm).f)==Gnt?i:r),9),KB(TR(t,t.length),9),0),n),e}function Zln(n,t,e){var i,r;for(r=n.a.ec().Kc();r.Ob();)if(i=KB(r.Pb(),10),aun(e,KB(Lq(t,i.p),14)))return i;return null}function nbn(n,t,e){try{Ron(n,t,e)}catch(i){throw iL(i=hun(i),597)?Fp(new w5(i)):Fp(i)}return t}function tbn(n,t){var e;return QO(n)&&QO(t)&&OQn<(e=n-t)&&e<CQn?e:can(oun(QO(n)?Man(n):n,QO(t)?Man(t):t))}function ebn(n,t){var e;return QO(n)&&QO(t)&&OQn<(e=n+t)&&e<CQn?e:can(uun(QO(n)?Man(n):n,QO(t)?Man(t):t))}function ibn(n,t){var e;return QO(n)&&QO(t)&&OQn<(e=n*t)&&e<CQn?e:can(sqn(QO(n)?Man(n):n,QO(t)?Man(t):t))}function rbn(n,t){var e;return n.i||nIn(n),(e=KB(aV(n.g,t),46))?new u1(n.j,KB(e.a,19).a,KB(e.b,19).a):(TQ(),TQ(),uet)}function cbn(n,t,e){var i;return i=n.a.get(t),n.a.set(t,void 0===e?null:e),void 0===i?(++n.c,aJ(n.b)):++n.d,i}function abn(n,t,e){n.n=mq(ONt,[uVn,_Qn],[364,25],14,[e,SY(i.Math.ceil(t/32))],2),n.o=t,n.p=e,n.j=t-1>>1,n.k=e-1>>1}function ubn(){var n,t,e;vTn(),e=Aet+++Date.now(),n=SY(i.Math.floor(e*cJn))&uJn,t=SY(e-n*aJn),this.a=1502^n,this.b=t^rJn}function obn(n){var t,e;for(t=new $p,e=new Ub(n.j);e.a<e.c.c.length;)UB(t,KB(Y1(e),11).b);return vX(t),new CO(t)}function sbn(n){var t,e;for(t=new $p,e=new Ub(n.j);e.a<e.c.c.length;)UB(t,KB(Y1(e),11).e);return vX(t),new CO(t)}function hbn(n){var t,e;for(t=new $p,e=new Ub(n.j);e.a<e.c.c.length;)UB(t,KB(Y1(e),11).g);return vX(t),new CO(t)}function fbn(n){var t,e;for(e=ZAn(Gtn(bZ(n))).Kc();e.Ob();)if($Kn(n,t=TD(e.Pb())))return m4((zM(),qAt),t);return null}function lbn(n){var t,e;for(t=0,e=n.length;t<e;t++)if(null==n[t])throw Fp(new Fy("at index "+t));return new Qy(n)}function bbn(n,t){var e;if(iL(e=$Nn(n.Tg(),t),99))return KB(e,18);throw Fp(new Ry(e6n+t+"' is not a valid reference"))}function wbn(n){var t;return(t=fSn(n))>34028234663852886e22?xQn:t<-34028234663852886e22?DQn:t}function dbn(n){return n=((n=((n-=n>>1&1431655765)>>2&858993459)+(858993459&n))>>4)+n&252645135,n+=n>>8,63&(n+=n>>16)}function gbn(n){var t,e,i;for(t=new oR(n.Hd().gc()),i=0,e=A9(n.Hd().Kc());e.Ob();)yZ(t,e.Pb(),tln(i++));return $Sn(t.a)}function pbn(n,t){var e,i,r;for(r=new Lp,i=t.vc().Kc();i.Ob();)XW(r,(e=KB(i.Pb(),42)).cd(),han(n,KB(e.dd(),15)));return r}function vbn(n,t){0==n.n.c.length&&UB(n.n,new xY(n.s,n.t,n.i)),UB(n.b,t),umn(KB(Lq(n.n,n.n.c.length-1),211),t),KFn(n,t)}function mbn(n){return n.c==n.b.b&&n.i==n.g.b||(n.a.c=L8(Int,FWn,1,0,5,1),wun(n.a,n.b),wun(n.a,n.g),n.c=n.b.b,n.i=n.g.b),n.a}function ybn(n,t){var e,i;for(i=0,e=KB(t.Kb(n),20).Kc();e.Ob();)By(jD(pMn(KB(e.Pb(),17),(oWn(),Slt))))||++i;return i}function kbn(n,t){var e,r;r=Hy(ED(ndn(s2(t),(FXn(),vpt)))),_kn(t,e=i.Math.max(0,r/2-.5),1),UB(n,new hP(t,e))}function jbn(){jbn=O,Blt=new KP(WZn,0),Rlt=new KP("FIRST",1),_lt=new KP(S1n,2),Klt=new KP("LAST",3),Flt=new KP(P1n,4)}function Ebn(){Ebn=O,JPt=new _C(oYn,0),VPt=new _C("POLYLINE",1),WPt=new _C("ORTHOGONAL",2),QPt=new _C("SPLINES",3)}function Tbn(){Tbn=O,Jjt=new mC("ASPECT_RATIO_DRIVEN",0),Yjt=new mC("MAX_SCALE_DRIVEN",1),Qjt=new mC("AREA_DRIVEN",2)}function Mbn(){Mbn=O,FEt=new kC("P1_STRUCTURE",0),BEt=new kC("P2_PROCESSING_ORDER",1),HEt=new kC("P3_EXECUTION",2)}function Sbn(){Sbn=O,njt=new wC("OVERLAP_REMOVAL",0),Ykt=new wC("COMPACTION",1),Zkt=new wC("GRAPH_SIZE_CALCULATION",2)}function Pbn(n,t){return o$(),ein(DVn),i.Math.abs(n-t)<=DVn||n==t||isNaN(n)&&isNaN(t)?0:n<t?-1:n>t?1:qO(isNaN(n),isNaN(t))}function Cbn(n,t){var e,i;for(e=upn(n,0);e.b!=e.d.c;){if((i=qy(ED(f3(e))))==t)return;if(i>t){G0(e);break}}YU(e,t)}function Ibn(n,t){var e,i,r,c,a;if(e=t.f,Qgn(n.c.d,e,t),null!=t.g)for(c=0,a=(r=t.g).length;c<a;++c)i=r[c],Qgn(n.c.e,i,t)}function Obn(n,t,e,i){var r,c,a;for(r=t+1;r<e;++r)for(c=r;c>t&&i.ue(n[c-1],n[c])>0;--c)a=n[c],OX(n,c,n[c-1]),OX(n,c-1,a)}function Abn(n,t,e,i){if(t<0)jLn(n,e,i);else{if(!e.Ij())throw Fp(new Ry(e6n+e.ne()+i6n));KB(e,66).Nj().Tj(n,n.yh(),t,i)}}function $bn(n,t){if(t==n.d)return n.e;if(t==n.e)return n.d;throw Fp(new Ry("Node "+t+" not part of edge "+n))}function Lbn(n,t){switch(t.g){case 2:return n.b;case 1:return n.c;case 4:return n.d;case 3:return n.a;default:return!1}}function Nbn(n,t){switch(t.g){case 2:return n.b;case 1:return n.c;case 4:return n.d;case 3:return n.a;default:return!1}}function xbn(n,t,e,i){switch(t){case 3:return n.f;case 4:return n.g;case 5:return n.i;case 6:return n.j}return Rfn(n,t,e,i)}function Dbn(n){return n.k==(cSn(),Sut)&&a5(new xq(null,new qU(new az(JL(hbn(n).a.Kc(),new h)))),new qr)}function Rbn(n){return null==n.e?n:(!n.c&&(n.c=new eRn(!!(256&n.f),n.i,n.a,n.d,!!(16&n.f),n.j,n.g,null)),n.c)}function _bn(n,t){return n.h==SQn&&0==n.m&&0==n.l?(t&&(htt=E$(0,0,0)),UO((z7(),btt))):(t&&(htt=E$(n.l,n.m,n.h)),E$(0,0,0))}function Kbn(n){return Array.isArray(n)&&n.im===I?Yj(Zon(n))+"@"+(Yon(n)>>>0).toString(16):n.toString()}function Fbn(n){var t;this.a=new V_(t=KB(n.e&&n.e(),9),KB(TR(t,t.length),9),0),this.b=L8(Int,FWn,1,this.a.a.length,5,1)}function Bbn(n){var t,e,i;for(this.a=new sA,i=new Ub(n);i.a<i.c.c.length;)e=KB(Y1(i),14),frn(t=new oG,e),jU(this.a,t)}function Hbn(n){var t,e;for(BD(),t=n.o.b,e=KB(KB(o6(n.r,(mUn(),TIt)),21),84).Kc();e.Ob();)KB(e.Pb(),111).e.b+=t}function qbn(n){var t;if(n.b){if(qbn(n.b),n.b.d!=n.c)throw Fp(new gv)}else n.d.dc()&&(t=KB(n.f.c.xc(n.e),14))&&(n.d=t)}function Gbn(n){var t;return null==n||(t=n.length)>0&&(f1(t-1,n.length),58==n.charCodeAt(t-1))&&!zbn(n,OAt,AAt)}function zbn(n,t,e){var i,r;for(i=0,r=n.length;i<r;i++)if(Zun((f1(i,n.length),n.charCodeAt(i)),t,e))return!0;return!1}function Ubn(n,t){var e,i;for(i=n.e.a.ec().Kc();i.Ob();)if(ZMn(t,(e=KB(i.Pb(),266)).d)||PCn(t,e.d))return!0;return!1}function Xbn(n,t){var e,i,r;for(r=(i=FRn(n,t))[i.length-1]/2,e=0;e<i.length;e++)if(i[e]>=r)return t.c+e;return t.c+t.b.gc()}function Wbn(n,t){var e,i,r,c;for(bD(),r=t,q9(i=F9(n),0,i.length,r),e=0;e<i.length;e++)e!=(c=wkn(n,i[e],e))&&Pln(n,e,c)}function Vbn(n,t){var e,i,r,c,a,u;for(i=0,e=0,a=0,u=(c=t).length;a<u;++a)(r=c[a])>0&&(i+=r,++e);return e>1&&(i+=n.d*(e-1)),i}function Qbn(n){var t,e,i;for((i=new Tk).a+="[",t=0,e=n.gc();t<e;)iO(i,mN(n.ki(t))),++t<e&&(i.a+=_Wn);return i.a+="]",i.a}function Jbn(n){var t,e,i;return i=ITn(n),!UE(n.c)&&(etn(i,"knownLayouters",e=new Sl),t=new ep(e),n5(n.c,t)),i}function Ybn(n,t){var e,i;for(mW(t),e=!1,i=new Ub(n);i.a<i.c.c.length;)vwn(t,Y1(i),!1)&&(IU(i),e=!0);return e}function Zbn(n){var t,e;for(e=Hy(ED(n.a.We((uWn(),CPt)))),t=new Ub(n.a.xf());t.a<t.c.c.length;)XUn(n,KB(Y1(t),680),e)}function nwn(n,t){var e,i;for(i=new Ub(t);i.a<i.c.c.length;)e=KB(Y1(i),46),UB(n.b.b,KB(e.b,81)),w2(KB(e.a,189),KB(e.b,81))}function twn(n,t,e){var i,r;for(i=(r=n.a.b).c.length;i<e;i++)mG(r,0,new FX(n.a));MZ(t,KB(Lq(r,r.c.length-e),29)),n.b[t.p]=e}function ewn(n,t,e){var i;!(i=e)&&(i=AH(new zm,0)),CTn(i,BZn,2),pvn(n.b,t,pcn(i,1)),Dqn(n,t,pcn(i,1)),BUn(t,pcn(i,1)),FSn(i)}function iwn(n,t,e,i,r){KZ(),GNn(rM(iM(eM(cM(new Fv,0),r.d.e-n),t),r.d)),GNn(rM(iM(eM(cM(new Fv,0),e-r.a.e),r.a),i))}function rwn(n,t,e,i,r,c){this.a=n,this.c=t,this.b=e,this.f=i,this.d=r,this.e=c,this.c>0&&this.b>0&&Vq(this.c,this.b,this.a)}function cwn(n){xwn(),this.c=c6(Mun(Hk(eMt,1),FWn,831,0,[Upt])),this.b=new Lp,this.a=n,XW(this.b,Xpt,1),Ctn(Wpt,new Mg(this))}function awn(n,t){var e;return n.d?oU(n.b,t)?KB(xX(n.b,t),51):(e=t.Kf(),XW(n.b,t,e),e):t.Kf()}function uwn(n,t){var e;return HI(n)===HI(t)||!!iL(t,91)&&(e=KB(t,91),n.e==e.e&&n.d==e.d&&k4(n,e.a))}function own(n){switch(mUn(),n.g){case 4:return uIt;case 1:return aIt;case 3:return TIt;case 2:return SIt;default:return MIt}}function swn(n,t){switch(t){case 3:return 0!=n.f;case 4:return 0!=n.g;case 5:return 0!=n.i;case 6:return 0!=n.j}return kan(n,t)}function hwn(n){switch(n.g){case 0:return new Ga;case 1:return new za;default:throw Fp(new Ry(i4n+(null!=n.f?n.f:""+n.g)))}}function fwn(n){switch(n.g){case 0:return new qa;case 1:return new Ua;default:throw Fp(new Ry(E1n+(null!=n.f?n.f:""+n.g)))}}function lwn(n){switch(n.g){case 0:return new Xm;case 1:return new vm;default:throw Fp(new Ry($4n+(null!=n.f?n.f:""+n.g)))}}function bwn(n){switch(n.g){case 1:return new Ra;case 2:return new wD;default:throw Fp(new Ry(i4n+(null!=n.f?n.f:""+n.g)))}}function wwn(n){var t,e;if(n.b)return n.b;for(e=Wet?null:n.d;e;){if(t=Wet?null:e.b)return t;e=Wet?null:e.d}return hM(),Fet}function dwn(n){var t,e;return 0==n.e?0:(t=n.d<<5,e=n.a[n.d-1],n.e<0&&Scn(n)==n.d-1&&(--e,e|=0),t-=JIn(e))}function gwn(n){var t,e,i;return n<Ztt.length?Ztt[n]:(t=31&n,(i=L8(CNt,oQn,25,1+(e=n>>5),15,1))[e]=1<<t,new hU(1,e+1,i))}function pwn(n){var t,e,i;return(e=n.zg())?iL(t=n.Ug(),160)&&null!=(i=pwn(KB(t,160)))?i+"."+e:e:null}function vwn(n,t,e){var i,r;for(r=n.Kc();r.Ob();)if(i=r.Pb(),HI(t)===HI(i)||null!=t&&$fn(t,i))return e&&r.Qb(),!0;return!1}function mwn(n,t,e){var i,r;if(++n.j,e.dc())return!1;for(r=e.Kc();r.Ob();)i=r.Pb(),n.Hi(t,n.oi(t,i)),++t;return!0}function ywn(n,t,e,i){var r,c;if((c=e-t)<3)for(;c<3;)n*=10,++c;else{for(r=1;c>3;)r*=10,--c;n=(n+(r>>1))/r|0}return i.i=n,!0}function kwn(n){return Thn(),oN(),!!(Nbn(KB(n.a,81).j,KB(n.b,103))||0!=KB(n.a,81).d.e&&Nbn(KB(n.a,81).j,KB(n.b,103)))}function jwn(n){L9(),KB(n.We((uWn(),BSt)),174).Hc((Y_n(),XIt))&&(KB(n.We(sPt),174).Fc((hIn(),iIt)),KB(n.We(BSt),174).Mc(XIt))}function Ewn(n,t){var e;if(t){for(e=0;e<n.i;++e)if(KB(n.g[e],366).Di(t))return!1;return s9(n,t)}return!1}function Twn(n){var t,e,i;for(t=new Sl,i=new Bb(n.b.Kc());i.b.Ob();)e=XSn(KB(i.b.Pb(),686)),UU(t,t.a.length,e);return t.a}function Mwn(n){var t;return!n.c&&(n.c=new Nn),p$(n.d,new Dn),V_n(n),t=hDn(n),QT(new xq(null,new l1(n.d,16)),new Pw(n)),t}function Swn(n){var t;return 64&n.Db?mfn(n):((t=new sN(mfn(n))).a+=" (instanceClassName: ",iO(t,n.D),t.a+=")",t.a)}function Pwn(n,t){var e,i;t&&(e=xen(t,"x"),jen(new Jg(n).a,(mW(e),e)),i=xen(t,"y"),Cen(new Yg(n).a,(mW(i),i)))}function Cwn(n,t){var e,i;t&&(e=xen(t,"x"),Pen(new Xg(n).a,(mW(e),e)),i=xen(t,"y"),Ien(new Vg(n).a,(mW(i),i)))}function Iwn(n,t){var e,i,r;if(null==n.i&&BFn(n),e=n.i,-1!=(i=t.aj()))for(r=e.length;i<r;++i)if(e[i]==t)return i;return-1}function Own(n){var t,e,i,r;for(e=KB(n.g,674),i=n.i-1;i>=0;--i)for(t=e[i],r=0;r<i;++r)if(gFn(n,t,e[r])){Ayn(n,i);break}}function Awn(n){var t=n.e;function e(n){return n&&0!=n.length?"\t"+n.join("\n\t"):""}return t&&(t.stack||e(n[GVn]))}function $wn(n){var t;switch(UX(),(t=n.Pc()).length){case 0:return _nt;case 1:return new Mq(vX(t[0]));default:return new TJ(lbn(t))}}function Lwn(n,t){switch(t.g){case 1:return DB(n.j,(wcn(),$ut));case 2:return DB(n.j,(wcn(),Nut));default:return TQ(),TQ(),uet}}function Nwn(n,t){switch(t){case 3:return void Een(n,0);case 4:return void Ten(n,0);case 5:return void Men(n,0);case 6:return void Sen(n,0)}afn(n,t)}function xwn(){xwn=O,IM(),FXn(),Xpt=Cpt,Wpt=c6(Mun(Hk(hMt,1),m3n,146,0,[ppt,vpt,ypt,kpt,Tpt,Mpt,Spt,Ppt,Opt,$pt,mpt,jpt,Ipt]))}function Dwn(n){var t,e;t=n.d==(OPn(),Qst),e=OEn(n),oon(n.a,(FXn(),mdt),t&&!e||!t&&e?(lvn(),OMt):(lvn(),IMt))}function Rwn(n,t){var e;return(e=KB(M4(n,p9(new H,new B,new rn,Mun(Hk(Yet,1),OVn,132,0,[(Bsn(),Get)]))),15)).Qc(hH(e.gc()))}function _wn(){_wn=O,nOt=new VC("SIMPLE",0),JIt=new VC("GROUP_DEC",1),ZIt=new VC("GROUP_MIXED",2),YIt=new VC("GROUP_INC",3)}function Kwn(){Kwn=O,H$t=new $o,x$t=new Lo,D$t=new No,R$t=new xo,_$t=new Do,K$t=new Ro,F$t=new _o,B$t=new Ko,q$t=new Fo}function Fwn(n,t,e){Btn(),um.call(this),this.a=mq(zit,[uVn,eYn],[595,212],0,[Yit,Jit],2),this.c=new fA,this.g=n,this.f=t,this.d=e}function Bwn(n,t){this.n=mq(ONt,[uVn,_Qn],[364,25],14,[t,SY(i.Math.ceil(n/32))],2),this.o=n,this.p=t,this.j=n-1>>1,this.k=t-1>>1}function Hwn(n,t){CTn(t,"End label post-processing",1),QT(IV(lnn(new xq(null,new l1(n.b,16)),new ae),new ue),new oe),FSn(t)}function qwn(n,t,e){var i;return i=Hy(n.p[t.i.p])+Hy(n.d[t.i.p])+t.n.b+t.a.b,Hy(n.p[e.i.p])+Hy(n.d[e.i.p])+e.n.b+e.a.b-i}function Gwn(n,t,e){var i,r;for(i=n0(e,GQn),r=0;0!=Xhn(i,0)&&r<t;r++)i=ebn(i,n0(n[r],GQn)),n[r]=bG(i),i=mz(i,32);return bG(i)}function zwn(n){var t,e,i,r;for(r=0,e=0,i=n.length;e<i;e++)f1(e,n.length),(t=n.charCodeAt(e))<64&&(r=t0(r,vz(1,t)));return r}function Uwn(n){var t;return null==n?null:new OA((t=_Bn(n,!0)).length>0&&(f1(0,t.length),43==t.charCodeAt(0))?t.substr(1):t)}function Xwn(n){var t;return null==n?null:new OA((t=_Bn(n,!0)).length>0&&(f1(0,t.length),43==t.charCodeAt(0))?t.substr(1):t)}function Wwn(n,t){return n.i>0&&(t.length<n.i&&(t=Nen(Zon(t).c,n.i)),rHn(n.g,0,t,0,n.i)),t.length>n.i&&OX(t,n.i,null),t}function Vwn(n,t,e){var i,r,c;return n.ej()?(i=n.i,c=n.fj(),Pfn(n,i,t),r=n.Zi(3,null,t,i,c),e?e.Ei(r):e=r):Pfn(n,n.i,t),e}function Qwn(n,t,e){var i,r;return i=new $7(n.e,4,10,iL(r=t.c,88)?KB(r,26):(wWn(),l$t),null,cvn(n,t),!1),e?e.Ei(i):e=i,e}function Jwn(n,t,e){var i,r;return i=new $7(n.e,3,10,null,iL(r=t.c,88)?KB(r,26):(wWn(),l$t),cvn(n,t),!1),e?e.Ei(i):e=i,e}function Ywn(n){var t;return BD(),t=new lA(KB(n.e.We((uWn(),KSt)),8)),n.B.Hc((Y_n(),HIt))&&(t.a<=0&&(t.a=20),t.b<=0&&(t.b=20)),t}function Zwn(n){return fvn(),(n.q?n.q:(TQ(),TQ(),oet))._b((FXn(),xgt))?KB(pMn(n,xgt),197):KB(pMn(gW(n),Dgt),197)}function ndn(n,t){var e,i;return i=null,Ax(n,(FXn(),Ept))&&(e=KB(pMn(n,Ept),94)).Xe(t)&&(i=e.We(t)),null==i&&(i=pMn(gW(n),t)),i}function tdn(n,t){var e,i,r;return!!iL(t,42)&&(i=(e=KB(t,42)).cd(),lW(r=hfn(n.Rc(),i),e.dd())&&(null!=r||n.Rc()._b(i)))}function edn(n,t){var e;return n.f>0&&(n.qj(),-1!=I$n(n,((e=null==t?0:Yon(t))&NWn)%n.d.length,e,t))}function idn(n,t){var e,i;return n.f>0&&(n.qj(),e=rOn(n,((i=null==t?0:Yon(t))&NWn)%n.d.length,i,t))?e.dd():null}function rdn(n,t){var e,i,r,c;for(c=rxn(n.e.Tg(),t),e=KB(n.g,119),r=0;r<n.i;++r)if(i=e[r],c.rl(i.ak()))return!1;return!0}function cdn(n){if(null==n.b){for(;n.a.Ob();)if(n.b=n.a.Pb(),!KB(n.b,49).Zg())return!0;return n.b=null,!1}return!0}function adn(n,t){n.mj();try{n.d.Vc(n.e++,t),n.f=n.d.j,n.g=-1}catch(e){throw iL(e=hun(e),73)?Fp(new gv):Fp(e)}}function udn(n,t){var e,i;return u$(),i=null,t==(e=sR((sk(),sk(),ett)))&&(i=KB(TY(ttt,n),615)),i||(i=new qX(n),t==e&&pZ(ttt,n,i)),i}function odn(n,t){var e,r;n.a=ebn(n.a,1),n.c=i.Math.min(n.c,t),n.b=i.Math.max(n.b,t),n.d+=t,e=t-n.f,r=n.e+e,n.f=r-n.e-e,n.e=r}function sdn(n,t){var e;n.c=t,n.a=dwn(t),n.a<54&&(n.f=(e=t.d>1?t0(vz(t.a[1],32),n0(t.a[0],GQn)):n0(t.a[0],GQn),y2(ibn(t.e,e))))}function hdn(n,t){var e;return QO(n)&&QO(t)&&OQn<(e=n%t)&&e<CQn?e:can((Iqn(QO(n)?Man(n):n,QO(t)?Man(t):t,!0),htt))}function fdn(n,t){var e;Nzn(t),(e=KB(pMn(n,(FXn(),Qdt)),276))&&oon(n,Qdt,Iyn(e)),YN(n.c),YN(n.f),X6(n.d),X6(KB(pMn(n,Igt),207))}function ldn(n){this.e=L8(CNt,oQn,25,n.length,15,1),this.c=L8(INt,JJn,25,n.length,16,1),this.b=L8(INt,JJn,25,n.length,16,1),this.f=0}function bdn(n){var t,e;for(n.j=L8($Nt,BQn,25,n.p.c.length,15,1),e=new Ub(n.p);e.a<e.c.c.length;)t=KB(Y1(e),10),n.j[t.p]=t.o.b/n.i}function wdn(n){var t;0!=n.c&&(1==(t=KB(Lq(n.a,n.b),287)).b?(++n.b,n.b<n.a.c.length&&jb(KB(Lq(n.a,n.b),287))):--t.b,--n.c)}function ddn(n){var t;t=n.a;do{(t=KB(G5(new az(JL(hbn(t).a.Kc(),new h))),17).d.i).k==(cSn(),Mut)&&UB(n.e,t)}while(t.k==(cSn(),Mut))}function gdn(){gdn=O,AIt=new UA(15),OIt=new zA((uWn(),zSt),AIt),LIt=new zA(APt,15),$It=new zA(gPt,tln(0)),IIt=new zA(iSt,bZn)}function pdn(){pdn=O,DIt=new XC("PORTS",0),RIt=new XC("PORT_LABELS",1),xIt=new XC("NODE_LABELS",2),NIt=new XC("MINIMUM_SIZE",3)}function vdn(n,t){var e,i;for(i=t.length,e=0;e<i;e+=2)Vxn(n,(f1(e,t.length),t.charCodeAt(e)),(f1(e+1,t.length),t.charCodeAt(e+1)))}function mdn(n,t,e){var i,r,c,a;for(c=t-n.e,a=e-n.f,r=new Ub(n.a);r.a<r.c.c.length;)jvn(i=KB(Y1(r),187),i.s+c,i.t+a);n.e=t,n.f=e}function ydn(n,t){var e,i,r;for(r=t.b.b,n.a=new VT,n.b=L8(CNt,oQn,25,r,15,1),e=0,i=upn(t.b,0);i.b!=i.d.c;)KB(f3(i),86).g=e++}function kdn(n,t){var e,i,r,c;return e=t>>5,t&=31,r=n.d+e+(0==t?0:1),LTn(i=L8(CNt,oQn,25,r,15,1),n.a,e,t),z0(c=new hU(n.e,r,i)),c}function jdn(n,t,e){var i,r;i=KB(TY(nNt,t),117),r=KB(TY(tNt,t),117),e?(pZ(nNt,n,i),pZ(tNt,n,r)):(pZ(tNt,n,i),pZ(nNt,n,r))}function Edn(n,t,e){var i,r,c;for(r=null,c=n.b;c;){if(i=n.a.ue(t,c.d),e&&0==i)return c;i>=0?c=c.a[1]:(r=c,c=c.a[0])}return r}function Tdn(n,t,e){var i,r,c;for(r=null,c=n.b;c;){if(i=n.a.ue(t,c.d),e&&0==i)return c;i<=0?c=c.a[0]:(r=c,c=c.a[1])}return r}function Mdn(n,t,e,i){var r,c,a;return r=!1,AGn(n.f,e,i)&&(Lgn(n.f,n.a[t][e],n.a[t][i]),a=(c=n.a[t])[i],c[i]=c[e],c[e]=a,r=!0),r}function Sdn(n,t,e,i,r){var c,a,u;for(a=r;t.b!=t.c;)c=KB(bU(t),10),u=KB(rbn(c,i).Xb(0),11),n.d[u.p]=a++,e.c[e.c.length]=u;return a}function Pdn(n,t,e){var r,c,a,u,o;return u=n.k,o=t.k,c=ED(ndn(n,r=e[u.g][o.g])),a=ED(ndn(t,r)),i.Math.max((mW(c),c),(mW(a),a))}function Cdn(n,t,e){var i,r,c,a;for(i=e/n.c.length,r=0,a=new Ub(n);a.a<a.c.c.length;)whn(c=KB(Y1(a),200),c.f+i*r),rjn(c,t,i),++r}function Idn(n,t,e){var i,r,c;for(r=KB(xX(n.b,e),177),i=0,c=new Ub(t.j);c.a<c.c.c.length;)r[KB(Y1(c),113).d.p]&&++i;return i}function Odn(n){var t,e;return null!=(t=KB(van(n.a,4),126))?(rHn(t,0,e=L8(lAt,t9n,415,t.length,0,1),0,t.length),e):fAt}function Adn(){var n;return 0!=itt&&(n=h5())-rtt>2e3&&(rtt=n,ctt=i.setTimeout(WE,10)),0==itt++&&(Cnn((uk(),Znt)),!0)}function $dn(n,t){var e;for(e=new az(JL(hbn(n).a.Kc(),new h));bAn(e);)if(KB(G5(e),17).d.i.c==t)return!1;return!0}function Ldn(n,t){var e;if(iL(t,245)){e=KB(t,245);try{return 0==n.vd(e)}catch(i){if(!iL(i=hun(i),205))throw Fp(i)}}return!1}function Ndn(){return Error.stackTraceLimit>0?(i.Error.stackTraceLimit=Error.stackTraceLimit=64,!0):"stack"in new Error}function xdn(n,t){return o$(),o$(),ein(DVn),(i.Math.abs(n-t)<=DVn||n==t||isNaN(n)&&isNaN(t)?0:n<t?-1:n>t?1:qO(isNaN(n),isNaN(t)))>0}function Ddn(n,t){return o$(),o$(),ein(DVn),(i.Math.abs(n-t)<=DVn||n==t||isNaN(n)&&isNaN(t)?0:n<t?-1:n>t?1:qO(isNaN(n),isNaN(t)))<0}function Rdn(n,t){return o$(),o$(),ein(DVn),(i.Math.abs(n-t)<=DVn||n==t||isNaN(n)&&isNaN(t)?0:n<t?-1:n>t?1:qO(isNaN(n),isNaN(t)))<=0}function _dn(n,t){for(var e=0;!t[e]||""==t[e];)e++;for(var i=t[e++];e<t.length;e++)t[e]&&""!=t[e]&&(i+=n+t[e]);return i}function Kdn(n,t,e){var r,c,a,u;for(R8(t,a=t+e,n.length),u="",c=t;c<a;)r=i.Math.min(c+1e4,a),u+=UW(n.slice(c,r)),c=r;return u}function Fdn(n){var t,e,i,r;if(null==n)return null;for(r=new $p,e=0,i=(t=vsn(n)).length;e<i;++e)UB(r,_Bn(t[e],!0));return r}function Bdn(n){var t,e,i,r;if(null==n)return null;for(r=new $p,e=0,i=(t=vsn(n)).length;e<i;++e)UB(r,_Bn(t[e],!0));return r}function Hdn(n){var t,e,i,r;if(null==n)return null;for(r=new $p,e=0,i=(t=vsn(n)).length;e<i;++e)UB(r,_Bn(t[e],!0));return r}function qdn(n,t){var e,i,r;if(n.c)Ten(n.c,t);else for(e=t-tG(n),r=new Ub(n.d);r.a<r.c.c.length;)qdn(i=KB(Y1(r),157),tG(i)+e)}function Gdn(n,t){var e,i,r;if(n.c)Een(n.c,t);else for(e=t-nG(n),r=new Ub(n.a);r.a<r.c.c.length;)Gdn(i=KB(Y1(r),157),nG(i)+e)}function zdn(n,t){var e,i,r;for(i=new Q6(t.gc()),e=t.Kc();e.Ob();)(r=Z_n(n,KB(e.Pb(),56)))&&(i.c[i.c.length]=r);return i}function Udn(n,t){var e,i;return n.qj(),(e=rOn(n,((i=null==t?0:Yon(t))&NWn)%n.d.length,i,t))?(oin(n,e),e.dd()):null}function Xdn(n){var t,e;for(e=cPn(n),t=null;2==n.c;)WXn(n),t||(lWn(),lWn(),ZHn(t=new e$(2),e),e=t),e.$l(cPn(n));return e}function Wdn(n){if(!(B6n in n.a))throw Fp(new nk("Every element must have an id."));return mIn(qY(n,B6n))}function Vdn(n){var t,e,i;if(!(i=n.Zg()))for(t=0,e=n.eh();e;e=e.eh()){if(++t>HQn)return e.fh();if((i=e.Zg())||e==n)break}return i}function Qdn(n){return oZ(),iL(n,156)?KB(xX(cAt,vet),288).vg(n):oU(cAt,Zon(n))?KB(xX(cAt,Zon(n)),288).vg(n):null}function Jdn(n){if(pgn(r5n,n))return oN(),gtt;if(pgn(c5n,n))return oN(),dtt;throw Fp(new Ry("Expecting true or false"))}function Ydn(n,t){if(t.c==n)return t.d;if(t.d==n)return t.c;throw Fp(new Ry("Input edge is not connected to the input port."))}function Zdn(n,t){return n.e>t.e?1:n.e<t.e?-1:n.d>t.d?n.e:n.d<t.d?-t.e:n.e*Esn(n.a,t.a,n.d)}function ngn(n){return n>=48&&n<48+i.Math.min(10,10)?n-48:n>=97&&n<97?n-97+10:n>=65&&n<65?n-65+10:-1}function tgn(n,t){var e;return HI(t)===HI(n)||!!iL(t,21)&&(e=KB(t,21)).gc()==n.gc()&&n.Ic(e)}function egn(n,t){var e,i,r;return i=n.a.length-1,e=t-n.b&i,r=n.c-t&i,kx(e<(n.c-n.b&i)),e>=r?(rhn(n,t),-1):(chn(n,t),1)}function ign(n,t){var e,i;for(f1(t,n.length),e=n.charCodeAt(t),i=t+1;i<n.length&&(f1(i,n.length),n.charCodeAt(i)==e);)++i;return i-t}function rgn(n){switch(n.g){case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:return!0;default:return!1}}function cgn(n,t){var e,i=n.a;t=String(t),i.hasOwnProperty(t)&&(e=i[t]);var r=(Jun(),stt)[typeof e];return r?r(e):mhn(typeof e)}function agn(n,t){if(n.a<0)throw Fp(new _y("Did not call before(...) or after(...) before calling add(...)."));return UN(n,n.a,t),n}function ugn(n,t,e,i){var r;0!=t.c.length&&(r=ELn(e,i),QT(vtn(new xq(null,new l1(cIn(t),1)),new ja),new zV(n,e,r,i)))}function ogn(n,t,e){var i;n.Db&t?null==e?UOn(n,t):-1==(i=xmn(n,t))?n.Eb=e:OX(nen(n.Eb),i,e):null!=e&&pxn(n,t,e)}function sgn(n){var t;return 32&n.Db||0!=(t=fX(KB(van(n,16),26)||n.zh())-fX(n.zh()))&&ogn(n,32,L8(Int,FWn,1,t,5,1)),n}function hgn(n){var t;return n.b||zj(n,!(t=YR(n.e,n.a))||!p_(c5n,idn((!t.b&&(t.b=new Qx((wWn(),v$t),G$t,t)),t.b),"qualified"))),n.c}function fgn(n,t,e){var i,r;return((r=(i=KB(Utn(F7(n.a),t),87)).c||(wWn(),s$t)).kh()?Zhn(n.b,KB(r,49)):r)==e?hFn(i):ien(i,e),r}function lgn(n,t){(t||null==console.groupCollapsed?null!=console.group?console.group:console.log:console.groupCollapsed).call(console,n)}function bgn(n,t,e,i){KB(e.b,65),KB(e.b,65),KB(i.b,65),KB(i.b,65).c.b,D8(i,t,n)}function wgn(n){var t,e;for(t=new Ub(n.g);t.a<t.c.c.length;)KB(Y1(t),562);qzn(e=new vxn(n.g,Hy(n.a),n.c)),n.g=e.b,n.d=e.a}function dgn(n,t,e){t.b=i.Math.max(t.b,-e.a),t.c=i.Math.max(t.c,e.a-n.a),t.d=i.Math.max(t.d,-e.b),t.a=i.Math.max(t.a,e.b-n.b)}function ggn(n,t){return n.e<t.e?-1:n.e>t.e?1:n.f<t.f?-1:n.f>t.f?1:Yon(n)-Yon(t)}function pgn(n,t){return mW(n),null!=t&&(!!p_(n,t)||n.length==t.length&&p_(n.toLowerCase(),t.toLowerCase()))}function vgn(n,t){var e,i,r,c;for(i=0,r=t.gc();i<r;++i)iL(e=t.il(i),99)&&KB(e,18).Bb&o6n&&null!=(c=t.jl(i))&&Z_n(n,KB(c,56))}function mgn(n,t,e){var i,r,c;for(c=new Ub(e.a);c.a<c.c.c.length;)r=KB(Y1(c),221),i=new S$(KB(xX(n.a,r.b),65)),UB(t.a,i),mgn(n,i,r)}function ygn(n){var t,e;return Xhn(n,-129)>0&&Xhn(n,128)<0?(t=bG(n)+128,!(e=(kq(),Ott)[t])&&(e=Ott[t]=new Nb(n)),e):new Nb(n)}function kgn(n,t){var e,i;return(e=t.Hh(n.a))&&null!=(i=TD(idn((!e.b&&(e.b=new Qx((wWn(),v$t),G$t,e)),e.b),Z6n)))?i:t.ne()}function jgn(n,t){var e,i;return(e=t.Hh(n.a))&&null!=(i=TD(idn((!e.b&&(e.b=new Qx((wWn(),v$t),G$t,e)),e.b),Z6n)))?i:t.ne()}function Egn(n,t){var e,i;for(BZ(),i=new az(JL(obn(n).a.Kc(),new h));bAn(i);)if((e=KB(G5(i),17)).d.i==t||e.c.i==t)return e;return null}function Tgn(n,t,e){this.c=n,this.f=new $p,this.e=new Hj,this.j=new Tq,this.n=new Tq,this.b=t,this.g=new GV(t.c,t.d,t.b,t.a),this.a=e}function Mgn(n){var t,e,i,r;for(this.a=new sA,this.d=new xv,this.e=0,i=0,r=(e=n).length;i<r;++i)t=e[i],!this.f&&(this.f=t),w2(this,t)}function Sgn(n){CDn(),0==n.length?(this.e=0,this.d=1,this.a=Mun(Hk(CNt,1),oQn,25,15,[0])):(this.e=1,this.d=n.length,this.a=n,z0(this))}function Pgn(n,t,e){um.call(this),this.a=L8(zit,eYn,212,(Ntn(),Mun(Hk(Xit,1),OVn,232,0,[Hit,qit,Git])).length,0,1),this.b=n,this.d=t,this.c=e}function Cgn(n){this.d=new $p,this.e=new g4,this.c=L8(CNt,oQn,25,(mUn(),Mun(Hk(_It,1),VZn,61,0,[MIt,uIt,aIt,TIt,SIt])).length,15,1),this.b=n}function Ign(n){var t,e,i,r;for(oon(r=KB(pMn(n,(oWn(),blt)),11),Alt,n.i.n.b),e=0,i=(t=J0(n.e)).length;e<i;++e)EZ(t[e],r)}function Ogn(n){var t,e,i,r;for(oon(t=KB(pMn(n,(oWn(),blt)),11),Alt,n.i.n.b),i=0,r=(e=J0(n.g)).length;i<r;++i)TZ(e[i],t)}function Agn(n){var t,e;return!!Ax(n.d.i,(FXn(),Ugt))&&(t=KB(pMn(n.c.i,Ugt),19),e=KB(pMn(n.d.i,Ugt),19),k$(t.a,e.a)>0)}function $gn(n){var t;HI(JAn(n,(uWn(),kSt)))===HI((cfn(),gCt))&&(QY(n)?(t=KB(JAn(QY(n),kSt),334),Vpn(n,kSt,t)):Vpn(n,kSt,pCt))}function Lgn(n,t,e){var i,r;sMn(n.e,t,e,(mUn(),SIt)),sMn(n.i,t,e,aIt),n.a&&(r=KB(pMn(t,(oWn(),blt)),11),i=KB(pMn(e,blt),11),m0(n.g,r,i))}function Ngn(n,t,e){var i,r,c;i=t.c.p,c=t.p,n.b[i][c]=new NJ(n,t),e&&(n.a[i][c]=new Kd(t),(r=KB(pMn(t,(oWn(),elt)),10))&&QIn(n.d,r,t))}function xgn(n,t){var e,i,r;if(UB(Tct,n),t.Fc(n),e=KB(xX(Ect,n),21))for(r=e.Kc();r.Ob();)i=KB(r.Pb(),33),-1!=k7(Tct,i,0)||xgn(i,t)}function Dgn(n,t,e){var i;(Uet?(wwn(n),1):Xet||Qet?(hM(),1):Vet&&(hM(),0))&&((i=new tK(t)).b=e,rSn(n,i))}function Rgn(n,t){var e;e=!n.A.Hc((pdn(),RIt))||n.q==(WEn(),zCt),n.u.Hc((hIn(),nIt))?e?$Un(n,t):rUn(n,t):n.u.Hc(eIt)&&(e?Izn(n,t):QUn(n,t))}function _gn(n,t){var e,i;++n.j,null!=t&&aOn(t,e=iL(i=n.a.Cb,97)?KB(i,97).Jg():null)?ogn(n.a,4,e):ogn(n.a,4,KB(t,126))}function Kgn(n,t,e){return new GV(i.Math.min(n.a,t.a)-e/2,i.Math.min(n.b,t.b)-e/2,i.Math.abs(n.a-t.a)+e,i.Math.abs(n.b-t.b)+e)}function Fgn(n,t){var e,i;return 0!=(e=k$(n.a.c.p,t.a.c.p))?e:0!=(i=k$(n.a.d.i.p,t.a.d.i.p))?i:k$(t.a.d.p,n.a.d.p)}function Bgn(n,t,e){var i,r,c,a;return(c=t.j)!=(a=e.j)?c.g-a.g:(i=n.f[t.p],r=n.f[e.p],0==i&&0==r?0:0==i?-1:0==r?1:Mln(i,r))}function Hgn(n,t,e){var i;if(!e[t.d])for(e[t.d]=!0,i=new Ub(mbn(t));i.a<i.c.c.length;)Hgn(n,$bn(KB(Y1(i),213),t),e)}function qgn(n,t,e){var i;switch(i=e[n.g][t],n.g){case 1:case 3:return new LC(0,i);case 2:case 4:return new LC(i,0);default:return null}}function Ggn(n,t,e){var i;i=KB(uY(t.f),209);try{i.Ze(n,e),TW(t.f,i)}catch(r){throw iL(r=hun(r),102),Fp(r)}}function zgn(n,t,e){var i,r,c,a;return i=null,(c=dGn(iin(),t))&&(r=null,null!=(a=Jqn(c,e))&&(r=n.Ye(c,a)),i=r),i}function Ugn(n,t,e,i){var r;return r=new $7(n.e,1,13,t.c||(wWn(),s$t),e.c||(wWn(),s$t),cvn(n,t),!1),i?i.Ei(r):i=r,i}function Xgn(n,t,e,i){var r;if(t>=(r=n.length))return r;for(t=t>0?t:0;t<r&&!Zun((f1(t,n.length),n.charCodeAt(t)),e,i);t++);return t}function Wgn(n,t){var e,i;for(i=n.c.length,t.length<i&&(t=Bk(new Array(i),t)),e=0;e<i;++e)OX(t,e,n.c[e]);return t.length>i&&OX(t,i,null),t}function Vgn(n,t){var e,i;for(i=n.a.length,t.length<i&&(t=Bk(new Array(i),t)),e=0;e<i;++e)OX(t,e,n.a[e]);return t.length>i&&OX(t,i,null),t}function Qgn(n,t,e){var i,r,c;return(r=KB(xX(n.e,t),387))?(c=dR(r,e),cL(n,r),c):(i=new YB(n,t,e),XW(n.e,t,i),mY(i),null)}function Jgn(n){var t;if(null==n)return null;if(null==(t=A$n(_Bn(n,!0))))throw Fp(new tk("Invalid hexBinary value: '"+n+"'"));return t}function Ygn(n){return CDn(),Xhn(n,0)<0?0!=Xhn(n,-1)?new gEn(-1,y7(n)):Vtt:Xhn(n,10)<=0?Jtt[bG(n)]:new gEn(1,n)}function Zgn(){return bWn(),Mun(Hk(Drt,1),OVn,159,0,[Mrt,Trt,Srt,grt,drt,prt,yrt,mrt,vrt,Ert,jrt,krt,brt,lrt,wrt,hrt,srt,frt,urt,art,ort,Prt])}function npn(n){var t;this.d=new $p,this.j=new Hj,this.g=new Hj,t=n.g.b,this.f=KB(pMn(gW(t),(FXn(),Gdt)),103),this.e=Hy(ED(wpn(t,Tpt)))}function tpn(n){this.b=new $p,this.e=new $p,this.d=n,this.a=!yE(IV(new xq(null,new qU(new p6(n.b))),new rw(new Gr))).sd((bM(),Zet))}function epn(){epn=O,oMt=new IC("PARENTS",0),uMt=new IC("NODES",1),cMt=new IC("EDGES",2),sMt=new IC("PORTS",3),aMt=new IC("LABELS",4)}function ipn(){ipn=O,KCt=new qC("DISTRIBUTED",0),BCt=new qC("JUSTIFIED",1),RCt=new qC("BEGIN",2),_Ct=new qC(nYn,3),FCt=new qC("END",4)}function rpn(n){switch(n.yi(null)){case 10:return 0;case 15:return 1;case 14:return 2;case 11:return 3;case 21:return 4}return-1}function cpn(n){switch(n.g){case 1:return _fn(),FPt;case 4:return _fn(),RPt;case 2:return _fn(),_Pt;case 3:return _fn(),DPt}return _fn(),KPt}function apn(n,t,e){var i;switch((i=e.q.getFullYear()-uQn+uQn)<0&&(i=-i),t){case 1:n.a+=i;break;case 2:knn(n,i%100,2);break;default:knn(n,i,t)}}function upn(n,t){var e,i;if(AZ(t,n.b),t>=n.b>>1)for(i=n.c,e=n.b;e>t;--e)i=i.b;else for(i=n.a.a,e=0;e<t;++e)i=i.a;return new J_(n,t,i)}function opn(){opn=O,bit=new _S("NUM_OF_EXTERNAL_SIDES_THAN_NUM_OF_EXTENSIONS_LAST",0),lit=new _S("CORNER_CASES_THAN_SINGLE_SIDE_LAST",1)}function spn(n){var t,e,i;for(p$(e=cCn(n),Kut),(i=n.d).c=L8(Int,FWn,1,0,5,1),t=new Ub(e);t.a<t.c.c.length;)wun(i,KB(Y1(t),456).b)}function hpn(n){var t,e;for(!n.o&&(n.o=new v9((SXn(),EOt),tAt,n,0)),t=(e=n.o).c.Kc();t.e!=t.i.gc();)KB(t.nj(),42).dd();return I8(e)}function fpn(n){var t;A_(KB(pMn(n,(FXn(),npt)),98))&&(sOn((h1(0,(t=n.b).c.length),KB(t.c[0],29))),sOn(KB(Lq(t,t.c.length-1),29)))}function lpn(n,t){var e,r,c,a;for(e=0,c=new Ub(t.a);c.a<c.c.c.length;)a=(r=KB(Y1(c),10)).o.a+r.d.c+r.d.b+n.j,e=i.Math.max(e,a);return e}function bpn(n){var t,e,i,r;for(r=0,e=0,i=n.length;e<i;e++)f1(e,n.length),(t=n.charCodeAt(e))>=64&&t<128&&(r=t0(r,vz(1,t-64)));return r}function wpn(n,t){var e,i;return i=null,Ax(n,(uWn(),SPt))&&(e=KB(pMn(n,SPt),94)).Xe(t)&&(i=e.We(t)),null==i&&gW(n)&&(i=pMn(gW(n),t)),i}function dpn(n,t){var e,i,r;(i=(r=t.d.i).k)!=(cSn(),Sut)&&i!=jut&&bAn(e=new az(JL(hbn(r).a.Kc(),new h)))&&XW(n.k,t,KB(G5(e),17))}function gpn(n,t){var e,i,r;return i=ttn(n.Tg(),t),(e=t-n.Ah())<0?(r=n.Yg(i))>=0?n.lh(r):BIn(n,i):e<0?BIn(n,i):KB(i,66).Nj().Sj(n,n.yh(),e)}function ppn(n){var t;if(iL(n.a,4)){if(null==(t=Qdn(n.a)))throw Fp(new _y(a5n+n.b+"'. "+e5n+(kD(hAt),hAt.k)+i5n));return t}return n.a}function vpn(n){var t;if(null==n)return null;if(null==(t=GUn(_Bn(n,!0))))throw Fp(new tk("Invalid base64Binary value: '"+n+"'"));return t}function mpn(n){var t;try{return t=n.i.Xb(n.e),n.mj(),n.g=n.e++,t}catch(e){throw iL(e=hun(e),73)?(n.mj(),Fp(new vv)):Fp(e)}}function ypn(n){var t;try{return t=n.c.ki(n.e),n.mj(),n.g=n.e++,t}catch(e){throw iL(e=hun(e),73)?(n.mj(),Fp(new vv)):Fp(e)}}function kpn(){kpn=O,uWn(),kct=jPt,dct=vSt,hct=iSt,gct=zSt,Rkn(),mct=Eit,vct=kit,yct=Mit,pct=yit,Hsn(),lct=act,fct=cct,bct=oct,wct=sct}function jpn(n){switch(yM(),this.c=new $p,this.d=n,n.g){case 0:case 2:this.a=WW(out),this.b=xQn;break;case 3:case 1:this.a=out,this.b=DQn}}function Epn(n,t,e){var i;if(n.c)Men(n.c,n.c.i+t),Sen(n.c,n.c.j+e);else for(i=new Ub(n.b);i.a<i.c.c.length;)Epn(KB(Y1(i),157),t,e)}function Tpn(n,t){var e,i;if(n.j.length!=t.j.length)return!1;for(e=0,i=n.j.length;e<i;e++)if(!p_(n.j[e],t.j[e]))return!1;return!0}function Mpn(n,t,e){var i;t.a.length>0&&(UB(n.b,new XB(t.a,e)),0<(i=t.a.length)?t.a=t.a.substr(0,0):0>i&&(t.a+=eL(L8(PNt,UVn,25,-i,15,1))))}function Spn(n,t){var e,i,r;for(e=n.o,r=KB(KB(o6(n.r,t),21),84).Kc();r.Ob();)(i=KB(r.Pb(),111)).e.a=byn(i,e.a),i.e.b=e.b*Hy(ED(i.b.We(Art)))}function Ppn(n,t){var e,i,r,c;return r=n.k,e=Hy(ED(pMn(n,(oWn(),jlt)))),c=t.k,i=Hy(ED(pMn(t,jlt))),c!=(cSn(),Eut)?-1:r!=Eut?1:e==i?0:e<i?-1:1}function Cpn(n,t){var e,i;return e=KB(KB(xX(n.g,t.a),46).a,65),i=KB(KB(xX(n.g,t.b),46).a,65),U8(t.a,t.b)-U8(t.a,R$(e.b))-U8(t.b,R$(i.b))}function Ipn(n,t){var e;return e=KB(pMn(n,(FXn(),ggt)),74),Z$(t,gut)?e?vQ(e):(e=new mm,oon(n,ggt,e)):e&&oon(n,ggt,null),e}function Opn(n){var t;return(t=new Sk).a+="n",n.k!=(cSn(),Sut)&&aO(aO((t.a+="(",t),bx(n.k).toLowerCase()),")"),aO((t.a+="_",t),wyn(n)),t.a}function Apn(n,t){CTn(t,"Self-Loop post-processing",1),QT(IV(IV(lnn(new xq(null,new l1(n.b,16)),new xi),new Di),new Ri),new _i),FSn(t)}function $pn(n,t,e,i){var r;return e>=0?n.hh(t,e,i):(n.eh()&&(i=(r=n.Vg())>=0?n.Qg(i):n.eh().ih(n,-1-r,null,i)),n.Sg(t,e,i))}function Lpn(n,t){switch(t){case 7:return!n.e&&(n.e=new o_(DOt,n,7,4)),void uqn(n.e);case 8:return!n.d&&(n.d=new o_(DOt,n,8,5)),void uqn(n.d)}Nwn(n,t)}function Npn(n,t){var e;e=n.Zc(t);try{return e.Pb()}catch(i){throw iL(i=hun(i),109)?Fp(new Iy("Can't get element "+t)):Fp(i)}}function xpn(n,t){this.e=n,t<zQn?(this.d=1,this.a=Mun(Hk(CNt,1),oQn,25,15,[0|t])):(this.d=2,this.a=Mun(Hk(CNt,1),oQn,25,15,[t%zQn|0,t/zQn|0]))}function Dpn(n,t){var e,i,r,c;for(TQ(),e=n,c=t,iL(n,21)&&!iL(t,21)&&(e=t,c=n),r=e.Kc();r.Ob();)if(i=r.Pb(),c.Hc(i))return!1;return!0}function Rpn(n,t,e){var i,r,c,a;return-1!=(i=n.Xc(t))&&(n.ej()?(c=n.fj(),a=Ayn(n,i),r=n.Zi(4,a,null,i,c),e?e.Ei(r):e=r):Ayn(n,i)),e}function _pn(n,t,e){var i,r,c,a;return-1!=(i=n.Xc(t))&&(n.ej()?(c=n.fj(),a=lq(n,i),r=n.Zi(4,a,null,i,c),e?e.Ei(r):e=r):lq(n,i)),e}function Kpn(n,t){var e;switch(e=KB(aV(n.b,t),124).n,t.g){case 1:n.t>=0&&(e.d=n.t);break;case 3:n.t>=0&&(e.a=n.t)}n.C&&(e.b=n.C.b,e.c=n.C.c)}function Fpn(){Fpn=O,Krt=new RS(pYn,0),_rt=new RS(vYn,1),Frt=new RS(mYn,2),Brt=new RS(yYn,3),Krt.a=!1,_rt.a=!0,Frt.a=!1,Brt.a=!0}function Bpn(){Bpn=O,Jrt=new DS(pYn,0),Qrt=new DS(vYn,1),Yrt=new DS(mYn,2),Zrt=new DS(yYn,3),Jrt.a=!1,Qrt.a=!0,Yrt.a=!1,Zrt.a=!0}function Hpn(n){var t;t=n.a;do{(t=KB(G5(new az(JL(sbn(t).a.Kc(),new h))),17).c.i).k==(cSn(),Mut)&&n.b.Fc(t)}while(t.k==(cSn(),Mut));n.b=nan(n.b)}function qpn(n){var t,e,i;for(i=n.c.a,n.p=(vX(i),new Z_(i)),e=new Ub(i);e.a<e.c.c.length;)(t=KB(Y1(e),10)).p=oCn(t).a;TQ(),p$(n.p,new Oc)}function Gpn(n){var t,e,i;if(e=0,0==(i=lDn(n)).c.length)return 1;for(t=new Ub(i);t.a<t.c.c.length;)e+=Gpn(KB(Y1(t),33));return e}function zpn(n,t){var e,i,r;for(r=0,i=KB(KB(o6(n.r,t),21),84).Kc();i.Ob();)r+=(e=KB(i.Pb(),111)).d.b+e.b.rf().a+e.d.c,i.Ob()&&(r+=n.w);return r}function Upn(n,t){var e,i,r;for(r=0,i=KB(KB(o6(n.r,t),21),84).Kc();i.Ob();)r+=(e=KB(i.Pb(),111)).d.d+e.b.rf().b+e.d.a,i.Ob()&&(r+=n.w);return r}function Xpn(n,t,e,i){if(t.a<i.a)return!0;if(t.a==i.a){if(t.b<i.b)return!0;if(t.b==i.b&&n.b>e.b)return!0}return!1}function Wpn(n,t){return zI(n)?!!CWn[t]:n.hm?!!n.hm[t]:GI(n)?!!PWn[t]:!!qI(n)&&!!SWn[t]}function Vpn(n,t,e){return null==e?(!n.o&&(n.o=new v9((SXn(),EOt),tAt,n,0)),Udn(n.o,t)):(!n.o&&(n.o=new v9((SXn(),EOt),tAt,n,0)),gjn(n.o,t,e)),n}function Qpn(n,t,e,i){var r;(r=zfn(t.Xe((uWn(),NSt))?KB(t.We(NSt),21):n.j))!=(bWn(),Prt)&&(e&&!rgn(r)||GSn($$n(n,r,i),t))}function Jpn(n,t,e,i){var r,c,a;return c=ttn(n.Tg(),t),(r=t-n.Ah())<0?(a=n.Yg(c))>=0?n._g(a,e,!0):iOn(n,c,e):KB(c,66).Nj().Pj(n,n.yh(),r,e,i)}function Ypn(n,t,e,i){var r,c;e.mh(t)&&(JM(),onn(t)?vgn(n,KB(e.ah(t),153)):(r=(c=t)?KB(i,49).xh(c):null)&&Rp(e.ah(t),r))}function Zpn(n){switch(n.g){case 1:return Nan(),xrt;case 3:return Nan(),$rt;case 2:return Nan(),Nrt;case 4:return Nan(),Lrt;default:return null}}function nvn(n){switch(typeof n){case $Wn:return gvn(n);case AWn:return SY(n);case OWn:return oN(),n?1231:1237;default:return null==n?0:MN(n)}}function tvn(n,t,e){if(n.e)switch(n.b){case 1:KQ(n.c,t,e);break;case 0:FQ(n.c,t,e)}else Z3(n.c,t,e);n.a[t.p][e.p]=n.c.i,n.a[e.p][t.p]=n.c.e}function evn(n){var t,e;if(null==n)return null;for(e=L8(Cut,uVn,193,n.length,0,2),t=0;t<e.length;t++)e[t]=KB(H9(n[t],n[t].length),193);return e}function ivn(n){var t;if(Dsn(n))return pz(n),n.Lk()&&(t=_In(n.e,n.b,n.c,n.a,n.j),n.j=t),n.g=n.a,++n.a,++n.c,n.i=0,n.j;throw Fp(new vv)}function rvn(n,t){var e,i,r,c;return(c=n.o)<(e=n.p)?c*=c:e*=e,i=c+e,(c=t.o)<(e=t.p)?c*=c:e*=e,i<(r=c+e)?-1:i==r?0:1}function cvn(n,t){var e,i;if((i=Uyn(n,t))>=0)return i;if(n.Fk())for(e=0;e<n.i;++e)if(HI(n.Gk(KB(n.g[e],56)))===HI(t))return e;return-1}function avn(n,t,e){var i,r;if(t>=(r=n.gc()))throw Fp(new ZR(t,r));if(n.hi()&&(i=n.Xc(e))>=0&&i!=t)throw Fp(new Ry(r8n));return n.mi(t,e)}function uvn(n,t){if(this.a=KB(vX(n),245),this.b=KB(vX(t),245),n.vd(t)>0||n==(ny(),Dnt)||t==(Zm(),Rnt))throw Fp(new Ry("Invalid range: "+K3(n,t)))}function ovn(n){var t,e;for(this.b=new $p,this.c=n,this.a=!1,e=new Ub(n.a);e.a<e.c.c.length;)t=KB(Y1(e),10),this.a=this.a|t.k==(cSn(),Sut)}function svn(n,t){var e,i,r;for(e=IN(new Bv,n),r=new Ub(t);r.a<r.c.c.length;)i=KB(Y1(r),121),GNn(rM(iM(cM(eM(new Fv,0),0),e),i));return e}function hvn(n,t,e){var i,r,c;for(r=new az(JL((t?sbn(n):hbn(n)).a.Kc(),new h));bAn(r);)i=KB(G5(r),17),(c=t?i.c.i:i.d.i).k==(cSn(),Tut)&&MZ(c,e)}function fvn(){fvn=O,hvt=new RP(WZn,0),fvt=new RP("PORT_POSITION",1),svt=new RP("NODE_SIZE_WHERE_SPACE_PERMITS",2),ovt=new RP("NODE_SIZE",3)}function lvn(){lvn=O,SMt=new NC("AUTOMATIC",0),IMt=new NC(iYn,1),OMt=new NC(rYn,2),AMt=new NC("TOP",3),PMt=new NC(aYn,4),CMt=new NC(nYn,5)}function bvn(n,t,e,i){var r,c;for(OOn(),r=0,c=0;c<e;c++)r=ebn(ibn(n0(t[c],GQn),n0(i,GQn)),n0(bG(r),GQn)),n[c]=bG(r),r=yz(r,32);return bG(r)}function wvn(n,t,e){var r,c;for(c=0,r=0;r<Jit;r++)c=i.Math.max(c,ghn(n.a[t.g][r],e));return t==(Ntn(),qit)&&n.b&&(c=i.Math.max(c,n.b.b)),c}function dvn(n,t){var e,i;if(jx(t>0),(t&-t)==t)return SY(t*F$n(n,31)*4.656612873077393e-10);do{i=(e=F$n(n,31))%t}while(e-i+(t-1)<0);return SY(i)}function gvn(n){var t,e,i;return eK(),null!=(i=eit[e=":"+n])?SY((mW(i),i)):(t=null==(i=tit[e])?QNn(n):SY((mW(i),i)),PQ(),eit[e]=t,t)}function pvn(n,t,e){CTn(e,"Compound graph preprocessor",1),n.a=new dY,$zn(n,t,null),HHn(n,t),ZLn(n),oon(t,(oWn(),Fft),n.a),n.a=null,OU(n.b),FSn(e)}function vvn(n,t,e){switch(e.g){case 1:n.a=t.a/2,n.b=0;break;case 2:n.a=t.a,n.b=t.b/2;break;case 3:n.a=t.a/2,n.b=t.b;break;case 4:n.a=0,n.b=t.b/2}}function mvn(n){var t,e,i;for(i=KB(o6(n.a,(AEn(),Mst)),15).Kc();i.Ob();)tX(n,e=KB(i.Pb(),101),(t=Fyn(e))[0],(Srn(),Lst),0),tX(n,e,t[1],xst,1)}function yvn(n){var t,e,i;for(i=KB(o6(n.a,(AEn(),Sst)),15).Kc();i.Ob();)tX(n,e=KB(i.Pb(),101),(t=Fyn(e))[0],(Srn(),Lst),0),tX(n,e,t[1],xst,1)}function kvn(n){switch(n.g){case 0:return null;case 1:return new Irn;case 2:return new Qm;default:throw Fp(new Ry(i4n+(null!=n.f?n.f:""+n.g)))}}function jvn(n,t,e){var i,r;for(pun(n,t-n.s,e-n.t),r=new Ub(n.n);r.a<r.c.c.length;)eb(i=KB(Y1(r),211),i.e+t-n.s),ib(i,i.f+e-n.t);n.s=t,n.t=e}function Evn(n){var t,e,i,r;for(e=0,i=new Ub(n.a);i.a<i.c.c.length;)KB(Y1(i),121).d=e++;return r=null,(t=lSn(n)).c.length>1&&(r=svn(n,t)),r}function Tvn(n){var t;return n.f&&n.f.kh()&&(t=KB(n.f,49),n.f=KB(Zhn(n,t),82),n.f!=t&&4&n.Db&&!(1&n.Db)&&fan(n,new Yz(n,9,8,t,n.f))),n.f}function Mvn(n){var t;return n.i&&n.i.kh()&&(t=KB(n.i,49),n.i=KB(Zhn(n,t),82),n.i!=t&&4&n.Db&&!(1&n.Db)&&fan(n,new Yz(n,9,7,t,n.i))),n.i}function Svn(n){var t;return n.b&&64&n.b.Db&&(t=n.b,n.b=KB(Zhn(n,t),18),n.b!=t&&4&n.Db&&!(1&n.Db)&&fan(n,new Yz(n,9,21,t,n.b))),n.b}function Pvn(n,t){var e,i,r;null==n.d?(++n.e,++n.f):(i=t.Sh(),sNn(n,n.f+1),r=(i&NWn)%n.d.length,!(e=n.d[r])&&(e=n.d[r]=n.uj()),e.Fc(t),++n.f)}function Cvn(n,t,e){var i;return!t.Kj()&&(-2!=t.Zj()?null==(i=t.zj())?null==e:$fn(i,e):t.Hj()==n.e.Tg()&&null==e)}function Ivn(){var n;hin(16,PVn),n=Qin(16),this.b=L8(Hnt,SVn,317,n,0,1),this.c=L8(Hnt,SVn,317,n,0,1),this.a=null,this.e=null,this.i=0,this.f=n-1,this.g=0}function Ovn(n){AR.call(this),this.k=(cSn(),Sut),this.j=(hin(6,IVn),new Q6(6)),this.b=(hin(2,IVn),new Q6(2)),this.d=new sm,this.f=new lm,this.a=n}function Avn(n){var t,e;n.c.length<=1||(bPn(n,KB((t=kDn(n,(mUn(),TIt))).a,19).a,KB(t.b,19).a),bPn(n,KB((e=kDn(n,SIt)).a,19).a,KB(e.b,19).a))}function $vn(){$vn=O,vvt=new _P("SIMPLE",0),dvt=new _P(K1n,1),gvt=new _P("LINEAR_SEGMENTS",2),wvt=new _P("BRANDES_KOEPF",3),pvt=new _P(y3n,4)}function Lvn(n,t,e){A_(KB(pMn(t,(FXn(),npt)),98))||(U7(n,t,NSn(t,e)),U7(n,t,NSn(t,(mUn(),TIt))),U7(n,t,NSn(t,uIt)),TQ(),p$(t.j,new Rd(n)))}function Nvn(n,t,e,i){var r;for(r=KB(o6(i?n.a:n.b,t),21).Kc();r.Ob();)if(RDn(n,e,KB(r.Pb(),33)))return!0;return!1}function xvn(n){var t,e;for(e=new IL(n);e.e!=e.i.gc();)if((t=KB(mpn(e),87)).e||0!=(!t.d&&(t.d=new OL(UAt,t,1)),t.d).i)return!0;return!1}function Dvn(n){var t,e;for(e=new IL(n);e.e!=e.i.gc();)if((t=KB(mpn(e),87)).e||0!=(!t.d&&(t.d=new OL(UAt,t,1)),t.d).i)return!0;return!1}function Rvn(n){var t,e;for(t=0,e=new Ub(n.c.a);e.a<e.c.c.length;)t+=_3(new az(JL(hbn(KB(Y1(e),10)).a.Kc(),new h)));return t/n.c.a.c.length}function _vn(n){var t,e;for(n.c||qqn(n),e=new mm,Y1(t=new Ub(n.a));t.a<t.c.c.length;)NH(e,KB(Y1(t),407).a);return Mx(0!=e.b),Itn(e,e.c.b),e}function Kvn(){Kvn=O,fRn(),BTt=xTt,KTt=new UA(8),new zA((uWn(),zSt),KTt),new zA(APt,8),FTt=LTt,RTt=ETt,_Tt=TTt,DTt=new zA(hSt,(oN(),!1))}function Fvn(n,t,e,i){switch(t){case 7:return!n.e&&(n.e=new o_(DOt,n,7,4)),n.e;case 8:return!n.d&&(n.d=new o_(DOt,n,8,5)),n.d}return xbn(n,t,e,i)}function Bvn(n){var t;return n.a&&n.a.kh()&&(t=KB(n.a,49),n.a=KB(Zhn(n,t),138),n.a!=t&&4&n.Db&&!(1&n.Db)&&fan(n,new Yz(n,9,5,t,n.a))),n.a}function Hvn(n){return n<48||n>102?-1:n<=57?n-48:n<65?-1:n<=70?n-65+10:n<97?-1:n-97+10}function qvn(n,t){if(null==n)throw Fp(new Fy("null key in entry: null="+t));if(null==t)throw Fp(new Fy("null value in entry: "+n+"=null"))}function Gvn(n,t){for(var e,i;n.Ob();){if(!t.Ob())return!1;if(e=n.Pb(),i=t.Pb(),!(HI(e)===HI(i)||null!=e&&$fn(e,i)))return!1}return!t.Ob()}function zvn(n,t){var e;return e=Mun(Hk($Nt,1),BQn,25,15,[ghn(n.a[0],t),ghn(n.a[1],t),ghn(n.a[2],t)]),n.d&&(e[0]=i.Math.max(e[0],e[2]),e[2]=e[0]),e}function Uvn(n,t){var e;return e=Mun(Hk($Nt,1),BQn,25,15,[phn(n.a[0],t),phn(n.a[1],t),phn(n.a[2],t)]),n.d&&(e[0]=i.Math.max(e[0],e[2]),e[2]=e[0]),e}function Xvn(){Xvn=O,vht=new TP("GREEDY",0),pht=new TP(F1n,1),yht=new TP(K1n,2),kht=new TP("MODEL_ORDER",3),mht=new TP("GREEDY_MODEL_ORDER",4)}function Wvn(n,t){var e,i,r;for(n.b[t.g]=1,i=upn(t.d,0);i.b!=i.d.c;)r=(e=KB(f3(i),188)).c,1==n.b[r.g]?NH(n.a,e):2==n.b[r.g]?n.b[r.g]=1:Wvn(n,r)}function Vvn(n,t){var e,i,r;for(r=new Q6(t.gc()),i=t.Kc();i.Ob();)(e=KB(i.Pb(),286)).c==e.f?oPn(n,e,e.c):ePn(n,e)||(r.c[r.c.length]=e);return r}function Qvn(n,t,e){var i,r,c,a;for(a=n.r+t,n.r+=t,n.d+=e,i=e/n.n.c.length,r=0,c=new Ub(n.n);c.a<c.c.c.length;)l$n(KB(Y1(c),211),a,i,r),++r}function Jvn(n){var t,e;for(py(n.b.a),n.a=L8(fit,FWn,57,n.c.c.a.b.c.length,0,1),t=0,e=new Ub(n.c.c.a.b);e.a<e.c.c.length;)KB(Y1(e),57).f=t++}function Yvn(n){var t,e;for(py(n.b.a),n.a=L8(Wat,FWn,81,n.c.a.a.b.c.length,0,1),t=0,e=new Ub(n.c.a.a.b);e.a<e.c.c.length;)KB(Y1(e),81).i=t++}function Zvn(n,t,e){CTn(e,"Shrinking tree compaction",1),By(jD(pMn(t,(zcn(),Wrt))))?(trn(n,t.f),cnn(t.f,t.c)):cnn(t.f,t.c),FSn(e)}function nmn(n){var t;if(t=fhn(n),!bAn(n))throw Fp(new Iy("position (0) must be less than the number of elements that remained ("+t+")"));return G5(n)}function tmn(n,t,e){try{return gmn(n,t+n.j,e+n.k)}catch(i){throw iL(i=hun(i),73)?Fp(new Iy(i.g+SYn+t+_Wn+e+").")):Fp(i)}}function emn(n,t,e){try{return pmn(n,t+n.j,e+n.k)}catch(i){throw iL(i=hun(i),73)?Fp(new Iy(i.g+SYn+t+_Wn+e+").")):Fp(i)}}function imn(n,t,e){try{return vmn(n,t+n.j,e+n.k)}catch(i){throw iL(i=hun(i),73)?Fp(new Iy(i.g+SYn+t+_Wn+e+").")):Fp(i)}}function rmn(n){switch(n.g){case 1:return mUn(),SIt;case 4:return mUn(),uIt;case 3:return mUn(),aIt;case 2:return mUn(),TIt;default:return mUn(),MIt}}function cmn(n,t,e){t.k==(cSn(),Sut)&&e.k==Mut&&(n.d=kfn(t,(mUn(),TIt)),n.b=kfn(t,uIt)),e.k==Sut&&t.k==Mut&&(n.d=kfn(e,(mUn(),uIt)),n.b=kfn(e,TIt))}function amn(n,t){var e,i;for(i=rbn(n,t).Kc();i.Ob();)if(null!=pMn(e=KB(i.Pb(),11),(oWn(),klt))||qN(new p6(e.b)))return!0;return!1}function umn(n,t){return Men(t,n.e+n.d+(0==n.c.c.length?0:n.b)),Sen(t,n.f),n.a=i.Math.max(n.a,t.f),n.d+=t.g+(0==n.c.c.length?0:n.b),UB(n.c,t),!0}function omn(n,t,e){var i,r,c,a;for(a=0,i=e/n.a.c.length,c=new Ub(n.a);c.a<c.c.c.length;)jvn(r=KB(Y1(c),187),r.s,r.t+a*i),Qvn(r,n.d-r.r+t,i),++a}function smn(n){var t,e,i;for(e=new Ub(n.b);e.a<e.c.c.length;)for(t=0,i=new Ub(KB(Y1(e),29).a);i.a<i.c.c.length;)KB(Y1(i),10).p=t++}function hmn(n,t){var e,i,r,c,a,u;for(r=t.length-1,a=0,u=0,i=0;i<=r;i++)c=t[i],e=dSn(r,i)*nfn(1-n,r-i)*nfn(n,i),a+=c.a*e,u+=c.b*e;return new LC(a,u)}function fmn(n,t){var e,i,r,c,a;for(e=t.gc(),n.qi(n.i+e),c=t.Kc(),a=n.i,n.i+=e,i=a;i<n.i;++i)r=c.Pb(),yL(n,i,n.oi(i,r)),n.bi(i,r),n.ci();return 0!=e}function lmn(n,t,e){var i,r,c;return n.ej()?(i=n.Vi(),c=n.fj(),++n.j,n.Hi(i,n.oi(i,t)),r=n.Zi(3,null,t,i,c),e?e.Ei(r):e=r):JD(n,n.Vi(),t),e}function bmn(n,t,e){var i,r,c;return(64&(c=iL(r=(i=KB(Utn(r4(n.a),t),87)).c,88)?KB(r,26):(wWn(),l$t)).Db?Zhn(n.b,c):c)==e?hFn(i):ien(i,e),c}function wmn(n,t,e,i,r,c,a,u){var o,s;i&&((o=i.a[0])&&wmn(n,t,e,o,r,c,a),Pyn(n,e,i.d,r,c,a)&&t.Fc(i),(s=i.a[1])&&wmn(n,t,e,s,r,c,a))}function dmn(n,t){var e;return n.a||(e=L8($Nt,BQn,25,0,15,1),wE(n.b.a,new fw(e)),e.sort(ten(T.prototype.te,T,[])),n.a=new R_(e,n.d)),D6(n.a,t)}function gmn(n,t,e){try{return WI(Zin(n,t,e),1)}catch(i){throw iL(i=hun(i),320)?Fp(new Iy(EYn+n.o+"*"+n.p+TYn+t+_Wn+e+MYn)):Fp(i)}}function pmn(n,t,e){try{return WI(Zin(n,t,e),0)}catch(i){throw iL(i=hun(i),320)?Fp(new Iy(EYn+n.o+"*"+n.p+TYn+t+_Wn+e+MYn)):Fp(i)}}function vmn(n,t,e){try{return WI(Zin(n,t,e),2)}catch(i){throw iL(i=hun(i),320)?Fp(new Iy(EYn+n.o+"*"+n.p+TYn+t+_Wn+e+MYn)):Fp(i)}}function mmn(n,t){if(-1==n.g)throw Fp(new bv);n.mj();try{n.d._c(n.g,t),n.f=n.d.j}catch(e){throw iL(e=hun(e),73)?Fp(new gv):Fp(e)}}function ymn(n,t,e){CTn(e,"Linear segments node placement",1),n.b=KB(pMn(t,(oWn(),Ilt)),304),XXn(n,t),gHn(n,t),WHn(n,t),oXn(n),n.a=null,n.b=null,FSn(e)}function kmn(n,t){var e,i,r,c;for(c=n.gc(),t.length<c&&(t=Bk(new Array(c),t)),r=t,i=n.Kc(),e=0;e<c;++e)OX(r,e,i.Pb());return t.length>c&&OX(t,c,null),t}function jmn(n,t){var e,i;if(i=n.gc(),null==t){for(e=0;e<i;e++)if(null==n.Xb(e))return e}else for(e=0;e<i;e++)if($fn(t,n.Xb(e)))return e;return-1}function Emn(n,t){var e,i,r;return e=t.cd(),r=t.dd(),i=n.xc(e),!(!(HI(r)===HI(i)||null!=r&&$fn(r,i))||null==i&&!n._b(e))}function Tmn(n,t){var e,i,r;return t<=22?(e=n.l&(1<<t)-1,i=r=0):t<=44?(e=n.l,i=n.m&(1<<t-22)-1,r=0):(e=n.l,i=n.m,r=n.h&(1<<t-44)-1),E$(e,i,r)}function Mmn(n,t){switch(t.g){case 1:return n.f.n.d+n.t;case 3:return n.f.n.a+n.t;case 2:return n.f.n.c+n.s;case 4:return n.f.n.b+n.s;default:return 0}}function Smn(n,t){var e,i;switch(i=t.c,e=t.a,n.b.g){case 0:e.d=n.e-i.a-i.d;break;case 1:e.d+=n.e;break;case 2:e.c=n.e-i.a-i.d;break;case 3:e.c=n.e+i.d}}function Pmn(n,t,e,i){var r,c;this.a=t,this.c=i,Ol(this,new LC(-(r=n.a).c,-r.d)),GR(this.b,e),c=i/2,t.a?Kx(this.b,0,c):Kx(this.b,c,0),UB(n.c,this)}function Cmn(){Cmn=O,Bjt=new pC(WZn,0),Kjt=new pC(B1n,1),Fjt=new pC("EDGE_LENGTH_BY_POSITION",2),_jt=new pC("CROSSING_MINIMIZATION_BY_POSITION",3)}function Imn(n,t){var e,i;if(e=KB(uen(n.g,t),33))return e;if(i=KB(uen(n.j,t),118))return i;throw Fp(new nk("Referenced shape does not exist: "+t))}function Omn(n,t){if(n.c==t)return n.d;if(n.d==t)return n.c;throw Fp(new Ry("Node 'one' must be either source or target of edge 'edge'."))}function Amn(n,t){if(n.c.i==t)return n.d.i;if(n.d.i==t)return n.c.i;throw Fp(new Ry("Node "+t+" is neither source nor target of edge "+n))}function $mn(n,t){var e;switch(t.g){case 2:case 4:e=n.a,n.c.d.n.b<e.d.n.b&&(e=n.c),fU(n,t,(Cun(),mst),e);break;case 1:case 3:fU(n,t,(Cun(),gst),null)}}function Lmn(n,t,e,i,r,c){var a,u,o,s,h;for(a=tjn(t,e,c),u=e==(mUn(),uIt)||e==SIt?-1:1,s=n[e.g],h=0;h<s.length;h++)(o=s[h])>0&&(o+=r),s[h]=a,a+=u*(o+i)}function Nmn(n){var t,e,i;for(i=n.f,n.n=L8($Nt,BQn,25,i,15,1),n.d=L8($Nt,BQn,25,i,15,1),t=0;t<i;t++)e=KB(Lq(n.c.b,t),29),n.n[t]=lpn(n,e),n.d[t]=XLn(n,e)}function xmn(n,t){var e,i,r;for(r=0,i=2;i<t;i<<=1)n.Db&i&&++r;if(0==r){for(e=t<<=1;e<=128;e<<=1)if(n.Db&e)return 0;return-1}return r}function Dmn(n,t){var e,i,r,c,a;for(a=rxn(n.e.Tg(),t),c=null,e=KB(n.g,119),r=0;r<n.i;++r)i=e[r],a.rl(i.ak())&&(!c&&(c=new go),s9(c,i));c&&rXn(n,c)}function Rmn(n){var t,e;if(!n)return null;if(n.dc())return"";for(e=new Tk,t=n.Kc();t.Ob();)iO(e,TD(t.Pb())),e.a+=" ";return DO(e,e.a.length-1)}function _mn(n,t,e){var i,r,c,a;for(ion(n),null==n.k&&(n.k=L8(Qnt,uVn,78,0,0,1)),r=0,c=(i=n.k).length;r<c;++r)_mn(i[r]);(a=n.f)&&_mn(a)}function Kmn(n,t){var e,i=new Array(t);switch(n){case 14:case 15:e=0;break;case 16:e=!1;break;default:return i}for(var r=0;r<t;++r)i[r]=e;return i}function Fmn(n){var t;for(t=new Ub(n.a.b);t.a<t.c.c.length;)KB(Y1(t),57).c.$b();Ctn(bA(n.d)?n.a.c:n.a.d,new Ew(n)),n.c.Me(n),Rxn(n)}function Bmn(n){var t,e,i;for(e=new Ub(n.e.c);e.a<e.c.c.length;){for(i=new Ub((t=KB(Y1(e),282)).b);i.a<i.c.c.length;)RBn(KB(Y1(i),447));KCn(t)}}function Hmn(n){var t,e,r,c,a;for(r=0,a=0,c=0,e=new Ub(n.a);e.a<e.c.c.length;)t=KB(Y1(e),187),a=i.Math.max(a,t.r),r+=t.d+(c>0?n.c:0),++c;n.b=r,n.d=a}function qmn(n,t){var e,r,c,a,u;for(r=0,c=0,e=0,u=new Ub(t);u.a<u.c.c.length;)a=KB(Y1(u),200),r=i.Math.max(r,a.e),c+=a.b+(e>0?n.g:0),++e;n.c=c,n.d=r}function Gmn(n,t){var e;return e=Mun(Hk($Nt,1),BQn,25,15,[wvn(n,(Ntn(),Hit),t),wvn(n,qit,t),wvn(n,Git,t)]),n.f&&(e[0]=i.Math.max(e[0],e[2]),e[2]=e[0]),e}function zmn(n,t,e){try{_Rn(n,t+n.j,e+n.k,!1,!0)}catch(i){throw iL(i=hun(i),73)?Fp(new Iy(i.g+SYn+t+_Wn+e+").")):Fp(i)}}function Umn(n,t,e){try{_Rn(n,t+n.j,e+n.k,!0,!1)}catch(i){throw iL(i=hun(i),73)?Fp(new Iy(i.g+SYn+t+_Wn+e+").")):Fp(i)}}function Xmn(n){var t;Ax(n,(FXn(),Ogt))&&((t=KB(pMn(n,Ogt),21)).Hc((YAn(),PCt))?(t.Mc(PCt),t.Fc(ICt)):t.Hc(ICt)&&(t.Mc(ICt),t.Fc(PCt)))}function Wmn(n){var t;Ax(n,(FXn(),Ogt))&&((t=KB(pMn(n,Ogt),21)).Hc((YAn(),NCt))?(t.Mc(NCt),t.Fc($Ct)):t.Hc($Ct)&&(t.Mc($Ct),t.Fc(NCt)))}function Vmn(n,t,e){CTn(e,"Self-Loop ordering",1),QT(OV(IV(IV(lnn(new xq(null,new l1(t.b,16)),new Ii),new Oi),new Ai),new $i),new fd(n)),FSn(e)}function Qmn(n,t,e,i){var r,c;for(r=t;r<n.c.length;r++){if(h1(r,n.c.length),c=KB(n.c[r],11),!e.Mb(c))return r;i.c[i.c.length]=c}return n.c.length}function Jmn(n,t,e,i){var r,c,a;return null==n.a&&bSn(n,t),a=t.b.j.c.length,c=e.d.p,(r=i.d.p-1)<0&&(r=a-1),c<=r?n.a[r]-n.a[c]:n.a[a-1]-n.a[c]+n.a[r]}function Ymn(n){var t,e;if(!n.b)for(n.b=S2(KB(n.f,33).Ag().i),e=new IL(KB(n.f,33).Ag());e.e!=e.i.gc();)t=KB(mpn(e),137),UB(n.b,new xy(t));return n.b}function Zmn(n){var t,e;if(!n.e)for(n.e=S2(vV(KB(n.f,33)).i),e=new IL(vV(KB(n.f,33)));e.e!=e.i.gc();)t=KB(mpn(e),118),UB(n.e,new ap(t));return n.e}function nyn(n){var t,e;if(!n.a)for(n.a=S2(VQ(KB(n.f,33)).i),e=new IL(VQ(KB(n.f,33)));e.e!=e.i.gc();)t=KB(mpn(e),33),UB(n.a,new QN(n,t));return n.a}function tyn(n){var t;if(!n.C&&(null!=n.D||null!=n.B))if(t=fzn(n))n.yk(t);else try{n.yk(null)}catch(e){if(!iL(e=hun(e),60))throw Fp(e)}return n.C}function eyn(n){switch(n.q.g){case 5:mjn(n,(mUn(),uIt)),mjn(n,TIt);break;case 4:iGn(n,(mUn(),uIt)),iGn(n,TIt);break;default:_Pn(n,(mUn(),uIt)),_Pn(n,TIt)}}function iyn(n){switch(n.q.g){case 5:yjn(n,(mUn(),aIt)),yjn(n,SIt);break;case 4:rGn(n,(mUn(),aIt)),rGn(n,SIt);break;default:KPn(n,(mUn(),aIt)),KPn(n,SIt)}}function ryn(n,t){var e,r,c;for(c=new Hj,r=n.Kc();r.Ob();)JRn(e=KB(r.Pb(),37),c.a,0),c.a+=e.f.a+t,c.b=i.Math.max(c.b,e.f.b);return c.b>0&&(c.b+=t),c}function cyn(n,t){var e,r,c;for(c=new Hj,r=n.Kc();r.Ob();)JRn(e=KB(r.Pb(),37),0,c.b),c.b+=e.f.b+t,c.a=i.Math.max(c.a,e.f.a);return c.a>0&&(c.a+=t),c}function ayn(n){var t,e,r;for(r=NWn,e=new Ub(n.a);e.a<e.c.c.length;)Ax(t=KB(Y1(e),10),(oWn(),llt))&&(r=i.Math.min(r,KB(pMn(t,llt),19).a));return r}function uyn(n,t){var e,i;if(0==t.length)return 0;for(e=JX(n.a,t[0],(mUn(),SIt)),e+=JX(n.a,t[t.length-1],aIt),i=0;i<t.length;i++)e+=BMn(n,i,t);return e}function oyn(){wxn(),this.c=new $p,this.i=new $p,this.e=new sA,this.f=new sA,this.g=new sA,this.j=new $p,this.a=new $p,this.b=new Lp,this.k=new Lp}function syn(n,t){var e;return n.Db>>16==6?n.Cb.ih(n,5,BOt,t):(e=Svn(KB(ttn(KB(van(n,16),26)||n.zh(),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function hyn(n){MJ();var t=n.e;if(t&&t.stack){var e=t.stack,i=t+"\n";return e.substring(0,i.length)==i&&(e=e.substring(i.length)),e.split("\n")}return[]}function fyn(n){var t;return Ein(),(t=Ctt)[n>>>28]|t[n>>24&15]<<4|t[n>>20&15]<<8|t[n>>16&15]<<12|t[n>>12&15]<<16|t[n>>8&15]<<20|t[n>>4&15]<<24|t[15&n]<<28}function lyn(n){var t,e,r;n.b==n.c&&(r=n.a.length,e=mon(i.Math.max(8,r))<<1,0!=n.b?(crn(n,t=TR(n.a,e),r),n.a=t,n.b=0):Mv(n.a,e),n.c=r)}function byn(n,t){var e;return(e=n.b).Xe((uWn(),rPt))?e.Hf()==(mUn(),SIt)?-e.rf().a-Hy(ED(e.We(rPt))):t+Hy(ED(e.We(rPt))):e.Hf()==(mUn(),SIt)?-e.rf().a:t}function wyn(n){var t;return 0!=n.b.c.length&&KB(Lq(n.b,0),70).a?KB(Lq(n.b,0),70).a:null!=(t=nQ(n))?t:""+(n.c?k7(n.c.a,n,0):-1)}function dyn(n){var t;return 0!=n.f.c.length&&KB(Lq(n.f,0),70).a?KB(Lq(n.f,0),70).a:null!=(t=nQ(n))?t:""+(n.i?k7(n.i.j,n,0):-1)}function gyn(n,t){var e,i;if(t<0||t>=n.gc())return null;for(e=t;e<n.gc();++e)if(i=KB(n.Xb(e),128),e==n.gc()-1||!i.o)return new eI(tln(e),i);return null}function pyn(n,t,e){var i,r,c,a;for(c=n.c,i=e?n:t,r=(e?t:n).p+1;r<i.p;++r)if((a=KB(Lq(c.a,r),10)).k!=(cSn(),jut)&&!Akn(a))return!1;return!0}function vyn(n){var t,e,r,c,a;for(a=0,c=DQn,r=0,e=new Ub(n.a);e.a<e.c.c.length;)a+=(t=KB(Y1(e),187)).r+(r>0?n.c:0),c=i.Math.max(c,t.d),++r;n.e=a,n.b=c}function myn(n){var t,e;if(!n.b)for(n.b=S2(KB(n.f,118).Ag().i),e=new IL(KB(n.f,118).Ag());e.e!=e.i.gc();)t=KB(mpn(e),137),UB(n.b,new xy(t));return n.b}function yyn(n,t){var e,i,r;if(t.dc())return bD(),bD(),wAt;for(e=new rR(n,t.gc()),r=new IL(n);r.e!=r.i.gc();)i=mpn(r),t.Hc(i)&&s9(e,i);return e}function kyn(n,t,e,i){return 0==t?i?(!n.o&&(n.o=new v9((SXn(),EOt),tAt,n,0)),n.o):(!n.o&&(n.o=new v9((SXn(),EOt),tAt,n,0)),I8(n.o)):Jpn(n,t,e,i)}function jyn(n){var t,e;if(n.rb)for(t=0,e=n.rb.i;t<e;++t)gx(Utn(n.rb,t));if(n.vb)for(t=0,e=n.vb.i;t<e;++t)gx(Utn(n.vb,t));rz((PPn(),Q$t),n),n.Bb|=1}function Eyn(n,t,e,i,r,c,a,u,o,s,h,f,l,b){return fCn(n,t,i,null,r,c,a,u,o,s,l,!0,b),qln(n,h),iL(n.Cb,88)&&ICn(M5(KB(n.Cb,88)),2),e&&ern(n,e),Gln(n,f),n}function Tyn(n){var t;if(null==n)return null;t=0;try{t=hKn(n,RVn,NWn)&WVn}catch(e){if(!iL(e=hun(e),127))throw Fp(e);t=X7(n)[0]}return sun(t)}function Myn(n){var t;if(null==n)return null;t=0;try{t=hKn(n,RVn,NWn)&WVn}catch(e){if(!iL(e=hun(e),127))throw Fp(e);t=X7(n)[0]}return sun(t)}function Syn(n,t){var e,i,r;return!((r=n.h-t.h)<0||(e=n.l-t.l,(r+=(i=n.m-t.m+(e>>22))>>22)<0||(n.l=e&TQn,n.m=i&TQn,n.h=r&MQn,0)))}function Pyn(n,t,e,i,r,c,a){var u,o;return!(t.Ae()&&(o=n.a.ue(e,i),o<0||0==o)||t.Be()&&(u=n.a.ue(e,c),u>0||0==u))}function Cyn(n,t){if(qsn(),0!=n.j.g-t.j.g)return 0;switch(n.j.g){case 2:return ybn(t,fst)-ybn(n,fst);case 4:return ybn(n,hst)-ybn(t,hst)}return 0}function Iyn(n){switch(n.g){case 0:return Lht;case 1:return Nht;case 2:return xht;case 3:return Dht;case 4:return Rht;case 5:return _ht;default:return null}}function Oyn(n,t,e){var i,r;return Phn(r=new Am,t),$rn(r,e),s9((!n.c&&(n.c=new nU(WAt,n,12,10)),n.c),r),Aen(i=r,0),$en(i,1),Yfn(i,!0),Vfn(i,!0),i}function Ayn(n,t){var e,i;if(t>=n.i)throw Fp(new AO(t,n.i));return++n.j,e=n.g[t],(i=n.i-t-1)>0&&rHn(n.g,t+1,n.g,t,i),OX(n.g,--n.i,null),n.fi(t,e),n.ci(),e}function $yn(n,t){var e;return n.Db>>16==17?n.Cb.ih(n,21,FAt,t):(e=Svn(KB(ttn(KB(van(n,16),26)||n.zh(),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function Lyn(n){var t,e,i;for(TQ(),p$(n.c,n.a),i=new Ub(n.c);i.a<i.c.c.length;)for(e=Y1(i),t=new Ub(n.b);t.a<t.c.c.length;)KB(Y1(t),679).Ke(e)}function Nyn(n){var t,e,i;for(TQ(),p$(n.c,n.a),i=new Ub(n.c);i.a<i.c.c.length;)for(e=Y1(i),t=new Ub(n.b);t.a<t.c.c.length;)KB(Y1(t),369).Ke(e)}function xyn(n){var t,e,i,r,c;for(r=NWn,c=null,i=new Ub(n.d);i.a<i.c.c.length;)(e=KB(Y1(i),213)).d.j^e.e.j&&(t=e.e.e-e.d.e-e.a)<r&&(r=t,c=e);return c}function Dyn(){Dyn=O,bat=new OO($Zn,(oN(),!1)),sat=new OO(LZn,100),B7(),hat=new OO(NZn,fat=Cat),lat=new OO(xZn,hZn),wat=new OO(DZn,tln(NWn))}function Ryn(n,t,e){var i,r,c,a,u,o;for(o=0,r=0,c=(i=n.a[t]).length;r<c;++r)for(u=Afn(i[r],e).Kc();u.Ob();)a=KB(u.Pb(),11),XW(n.f,a,tln(o++))}function _yn(n,t,e){var i,r;if(e)for(r=((i=new oz(e.a.length)).b-i.a)*i.c<0?(nS(),jNt):new zL(i);r.Ob();)QIn(n,t,mIn(bnn(e,KB(r.Pb(),19).a)))}function Kyn(n,t,e){var i,r;if(e)for(r=((i=new oz(e.a.length)).b-i.a)*i.c<0?(nS(),jNt):new zL(i);r.Ob();)QIn(n,t,mIn(bnn(e,KB(r.Pb(),19).a)))}function Fyn(n){var t;return RMn(),q9(t=KB(kmn(wz(n.k),L8(_It,VZn,61,2,0,1)),122),0,t.length,null),t[0]==(mUn(),uIt)&&t[1]==SIt&&(OX(t,0,SIt),OX(t,1,uIt)),t}function Byn(n,t,e){var i,r,c;return c=uDn(n,r=zNn(n,t,e)),D9(n.b),m0(n,t,e),TQ(),p$(r,new Xd(n)),i=uDn(n,r),D9(n.b),m0(n,e,t),new eI(tln(c),tln(i))}function Hyn(){Hyn=O,Gmt=bq(new K2,(vMn(),Kat),(hWn(),bot)),zmt=new tR("linearSegments.inputPrio",tln(0)),Umt=new tR("linearSegments.outputPrio",tln(0))}function qyn(){qyn=O,xyt=new sC("P1_TREEIFICATION",0),Dyt=new sC("P2_NODE_ORDERING",1),Ryt=new sC("P3_NODE_PLACEMENT",2),_yt=new sC("P4_EDGE_ROUTING",3)}function Gyn(){Gyn=O,uWn(),Ljt=wPt,Djt=APt,Sjt=DSt,Pjt=KSt,Cjt=BSt,Mjt=NSt,Ijt=GSt,$jt=sPt,DAn(),Ejt=ljt,Tjt=bjt,Ojt=djt,Ajt=pjt,Njt=vjt,xjt=mjt,Rjt=kjt}function zyn(){zyn=O,ECt=new BC("UNKNOWN",0),yCt=new BC("ABOVE",1),kCt=new BC("BELOW",2),jCt=new BC("INLINE",3),new tR("org.eclipse.elk.labelSide",ECt)}function Uyn(n,t){var e;if(n.ni()&&null!=t){for(e=0;e<n.i;++e)if($fn(t,n.g[e]))return e}else for(e=0;e<n.i;++e)if(HI(n.g[e])===HI(t))return e;return-1}function Xyn(n,t,e){var i,r;return t.c==(rin(),Bvt)&&e.c==Fvt?-1:t.c==Fvt&&e.c==Bvt?1:(i=bhn(t.a,n.a),r=bhn(e.a,n.a),t.c==Bvt?r-i:i-r)}function Wyn(n,t,e){if(e&&(t<0||t>e.a.c.length))throw Fp(new Ry("index must be >= 0 and <= layer node count"));n.c&&v7(n.c.a,n),n.c=e,e&&mG(e.a,t,n)}function Vyn(n,t){var e,i,r;for(i=new az(JL(obn(n).a.Kc(),new h));bAn(i);)return e=KB(G5(i),17),new Bf(vX((r=KB(t.Kb(e),10)).n.b+r.o.b/2));return ty(),ty(),Cnt}function Qyn(n,t){this.c=new Lp,this.a=n,this.b=t,this.d=KB(pMn(n,(oWn(),Ilt)),304),HI(pMn(n,(FXn(),Agt)))===HI((w7(),Bht))?this.e=new wm:this.e=new bm}function Jyn(n,t){var e,r,c;for(c=0,r=new Ub(n);r.a<r.c.c.length;)e=KB(Y1(r),33),c+=i.Math.pow(e.g*e.f-t,2);return i.Math.sqrt(c/(n.c.length-1))}function Yyn(n,t){var e,i;return i=null,n.Xe((uWn(),SPt))&&(e=KB(n.We(SPt),94)).Xe(t)&&(i=e.We(t)),null==i&&n.yf()&&(i=n.yf().We(t)),null==i&&(i=ppn(t)),i}function Zyn(n,t){var e,i;e=n.Zc(t);try{return i=e.Pb(),e.Qb(),i}catch(r){throw iL(r=hun(r),109)?Fp(new Iy("Can't remove element "+t)):Fp(r)}}function nkn(n,t){var e,i,r;if(0==(e=NBn(n,t,r=new gon((i=new IT).q.getFullYear()-uQn,i.q.getMonth(),i.q.getDate())))||e<t.length)throw Fp(new Ry(t));return r}function tkn(n,t){var e,i,r;for(mW(t),jx(t!=n),r=n.b.c.length,i=t.Kc();i.Ob();)e=i.Pb(),UB(n.b,mW(e));return r!=n.b.c.length&&(ksn(n,0),!0)}function ekn(){ekn=O,uWn(),mat=SSt,new zA(bSt,(oN(),!0)),jat=DSt,Eat=KSt,Tat=BSt,kat=NSt,Mat=GSt,Sat=sPt,Dyn(),vat=bat,gat=hat,pat=lat,yat=wat,dat=sat}function ikn(n,t){if(t==n.c)return n.d;if(t==n.d)return n.c;throw Fp(new Ry("'port' must be either the source port or target port of the edge."))}function rkn(n,t,e){var i,r;switch(r=n.o,i=n.d,t.g){case 1:return-i.d-e;case 3:return r.b+i.a+e;case 2:return r.a+i.c+e;case 4:return-i.b-e;default:return 0}}function ckn(n,t,e,i){var r,c,a;for(MZ(t,KB(i.Xb(0),29)),a=i.bd(1,i.gc()),c=KB(e.Kb(t),20).Kc();c.Ob();)ckn(n,(r=KB(c.Pb(),17)).c.i==t?r.d.i:r.c.i,e,a)}function akn(n){var t;return t=new Lp,Ax(n,(oWn(),Nlt))?KB(pMn(n,Nlt),83):(QT(IV(new xq(null,new l1(n.j,16)),new tr),new wd(t)),oon(n,Nlt,t),t)}function ukn(n,t){var e;return n.Db>>16==6?n.Cb.ih(n,6,DOt,t):(e=Svn(KB(ttn(KB(van(n,16),26)||(SXn(),vOt),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function okn(n,t){var e;return n.Db>>16==7?n.Cb.ih(n,1,LOt,t):(e=Svn(KB(ttn(KB(van(n,16),26)||(SXn(),yOt),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function skn(n,t){var e;return n.Db>>16==9?n.Cb.ih(n,9,qOt,t):(e=Svn(KB(ttn(KB(van(n,16),26)||(SXn(),jOt),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function hkn(n,t){var e;return n.Db>>16==5?n.Cb.ih(n,9,GAt,t):(e=Svn(KB(ttn(KB(van(n,16),26)||(wWn(),a$t),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function fkn(n,t){var e;return n.Db>>16==3?n.Cb.ih(n,0,_Ot,t):(e=Svn(KB(ttn(KB(van(n,16),26)||(wWn(),ZAt),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function lkn(n,t){var e;return n.Db>>16==7?n.Cb.ih(n,6,BOt,t):(e=Svn(KB(ttn(KB(van(n,16),26)||(wWn(),d$t),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function bkn(){this.a=new lo,this.g=new Ivn,this.j=new Ivn,this.b=new Lp,this.d=new Ivn,this.i=new Ivn,this.k=new Lp,this.c=new Lp,this.e=new Lp,this.f=new Lp}function wkn(n,t,e){var i,r,c;for(e<0&&(e=0),c=n.i,r=e;r<c;r++)if(i=Utn(n,r),null==t){if(null==i)return r}else if(HI(t)===HI(i)||$fn(t,i))return r;return-1}function dkn(n,t){var e,i;return(e=t.Hh(n.a))?(i=TD(idn((!e.b&&(e.b=new Qx((wWn(),v$t),G$t,e)),e.b),y7n)),p_(k7n,i)?rz(n,Gtn(t.Hj())):i):null}function gkn(n,t){var e,i;if(t){if(t==n)return!0;for(e=0,i=KB(t,49).eh();i&&i!=t;i=i.eh()){if(++e>HQn)return gkn(n,i);if(i==n)return!0}}return!1}function pkn(n){switch(NN(),n.q.g){case 5:gIn(n,(mUn(),uIt)),gIn(n,TIt);break;case 4:q$n(n,(mUn(),uIt)),q$n(n,TIt);break;default:gUn(n,(mUn(),uIt)),gUn(n,TIt)}}function vkn(n){switch(NN(),n.q.g){case 5:TOn(n,(mUn(),aIt)),TOn(n,SIt);break;case 4:Spn(n,(mUn(),aIt)),Spn(n,SIt);break;default:pUn(n,(mUn(),aIt)),pUn(n,SIt)}}function mkn(n){var t,e;(t=KB(pMn(n,(sRn(),Yct)),19))?(e=t.a,oon(n,(Ern(),oat),0==e?new ubn:new S4(e))):oon(n,(Ern(),oat),new S4(1))}function ykn(n,t){var e;switch(e=n.i,t.g){case 1:return-(n.n.b+n.o.b);case 2:return n.n.a-e.o.a;case 3:return n.n.b-e.o.b;case 4:return-(n.n.a+n.o.a)}return 0}function kkn(n,t){switch(n.g){case 0:return t==(jbn(),_lt)?est:ist;case 1:return t==(jbn(),_lt)?est:tst;case 2:return t==(jbn(),_lt)?tst:ist;default:return tst}}function jkn(n,t){var e,r,c;for(v7(n.a,t),n.e-=t.r+(0==n.a.c.length?0:n.c),c=Y3n,r=new Ub(n.a);r.a<r.c.c.length;)e=KB(Y1(r),187),c=i.Math.max(c,e.d);n.b=c}function Ekn(n,t){var e;return n.Db>>16==3?n.Cb.ih(n,12,qOt,t):(e=Svn(KB(ttn(KB(van(n,16),26)||(SXn(),pOt),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function Tkn(n,t){var e;return n.Db>>16==11?n.Cb.ih(n,10,qOt,t):(e=Svn(KB(ttn(KB(van(n,16),26)||(SXn(),kOt),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function Mkn(n,t){var e;return n.Db>>16==10?n.Cb.ih(n,11,FAt,t):(e=Svn(KB(ttn(KB(van(n,16),26)||(wWn(),b$t),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function Skn(n,t){var e;return n.Db>>16==10?n.Cb.ih(n,12,XAt,t):(e=Svn(KB(ttn(KB(van(n,16),26)||(wWn(),g$t),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function Pkn(n){var t;return 1&n.Bb||!n.r||!n.r.kh()||(t=KB(n.r,49),n.r=KB(Zhn(n,t),138),n.r!=t&&4&n.Db&&!(1&n.Db)&&fan(n,new Yz(n,9,8,t,n.r))),n.r}function Ckn(n,t,e){var r;return r=Mun(Hk($Nt,1),BQn,25,15,[tMn(n,(Ntn(),Hit),t,e),tMn(n,qit,t,e),tMn(n,Git,t,e)]),n.f&&(r[0]=i.Math.max(r[0],r[2]),r[2]=r[0]),r}function Ikn(n,t){var e,i,r;if(0!=(r=Vvn(n,t)).c.length)for(p$(r,new ti),e=r.c.length,i=0;i<e;i++)oPn(n,(h1(i,r.c.length),KB(r.c[i],286)),jDn(n,r,i))}function Okn(n){var t,e,i;for(i=KB(o6(n.a,(AEn(),jst)),15).Kc();i.Ob();)for(t=wz((e=KB(i.Pb(),101)).k).Kc();t.Ob();)tX(n,e,KB(t.Pb(),61),(Srn(),Nst),1)}function Akn(n){var t,e;if(n.k==(cSn(),Mut))for(e=new az(JL(obn(n).a.Kc(),new h));bAn(e);)if(!f5(t=KB(G5(e),17))&&n.c==Ijn(t,n).c)return!0;return!1}function $kn(n){var t,e;if(n.k==(cSn(),Mut))for(e=new az(JL(obn(n).a.Kc(),new h));bAn(e);)if(!f5(t=KB(G5(e),17))&&t.c.i.c==t.d.i.c)return!0;return!1}function Lkn(n,t){var e,i;for(CTn(t,"Dull edge routing",1),i=upn(n.b,0);i.b!=i.d.c;)for(e=upn(KB(f3(i),86).d,0);e.b!=e.d.c;)vQ(KB(f3(e),188).a)}function Nkn(n,t){var e,i,r;if(t)for(r=((e=new oz(t.a.length)).b-e.a)*e.c<0?(nS(),jNt):new zL(e);r.Ob();)(i=L2(t,KB(r.Pb(),19).a))&&C$n(n,i)}function xkn(){var n;for(ZM(),YXn((WX(),YAt)),RXn(YAt),jyn(YAt),wWn(),O$t=s$t,n=new Ub(U$t);n.a<n.c.c.length;)rzn(KB(Y1(n),241),s$t,null);return!0}function Dkn(n,t){var e,i,r,c,a,u;return(a=n.h>>19)!=(u=t.h>>19)?u-a:(i=n.h)!=(c=t.h)?i-c:(e=n.m)!=(r=t.m)?e-r:n.l-t.l}function Rkn(){Rkn=O,ZDn(),Mit=new OO(GJn,Sit=Lit),xnn(),Eit=new OO(zJn,Tit=pit),opn(),kit=new OO(UJn,jit=bit),yit=new OO(XJn,(oN(),!0))}function _kn(n,t,e){var i,r;i=t*e,iL(n.g,145)?(r=s3(n)).f.d?r.f.a||(n.d.a+=i+sYn):(n.d.d-=i+sYn,n.d.a+=i+sYn):iL(n.g,10)&&(n.d.d-=i,n.d.a+=2*i)}function Kkn(n,t,e){var r,c,a,u,o;for(c=n[e.g],o=new Ub(t.d);o.a<o.c.c.length;)(a=(u=KB(Y1(o),101)).i)&&a.i==e&&(c[r=u.d[e.g]]=i.Math.max(c[r],a.j.b))}function Fkn(n,t){var e,r,c,a,u;for(r=0,c=0,e=0,u=new Ub(t.d);u.a<u.c.c.length;)Hmn(a=KB(Y1(u),443)),r=i.Math.max(r,a.b),c+=a.d+(e>0?n.g:0),++e;t.b=r,t.e=c}function Bkn(n){var t,e,i;if(i=n.b,BT(n.i,i.length)){for(e=2*i.length,n.b=L8(Hnt,SVn,317,e,0,1),n.c=L8(Hnt,SVn,317,e,0,1),n.f=e-1,n.i=0,t=n.a;t;t=t.c)VCn(n,t,t);++n.g}}function Hkn(n,t,e,i){var r,c,a,u;for(r=0;r<t.o;r++)for(c=r-t.j+e,a=0;a<t.p;a++)u=a-t.k+i,gmn(t,r,a)?imn(n,c,u)||zmn(n,c,u):vmn(t,r,a)&&(tmn(n,c,u)||Umn(n,c,u))}function qkn(n,t,e){var i;(i=t.c.i).k==(cSn(),Mut)?(oon(n,(oWn(),olt),KB(pMn(i,olt),11)),oon(n,slt,KB(pMn(i,slt),11))):(oon(n,(oWn(),olt),t.c),oon(n,slt,e.d))}function Gkn(n,t,e){var r,c,a,u,o,s;return yDn(),u=t/2,a=e/2,o=1,s=1,(r=i.Math.abs(n.a))>u&&(o=u/r),(c=i.Math.abs(n.b))>a&&(s=a/c),mL(n,i.Math.min(o,s)),n}function zkn(){var n,t;BBn();try{if(t=KB(zjn((UM(),HAt),v6n),2014))return t}catch(e){if(!iL(e=hun(e),102))throw Fp(e);n=e,cz((c$(),n))}return new ao}function Ukn(){var n,t;b7();try{if(t=KB(zjn((UM(),HAt),T7n),2024))return t}catch(e){if(!iL(e=hun(e),102))throw Fp(e);n=e,cz((c$(),n))}return new Ds}function Xkn(){var n,t;BBn();try{if(t=KB(zjn((UM(),HAt),X9n),1941))return t}catch(e){if(!iL(e=hun(e),102))throw Fp(e);n=e,cz((c$(),n))}return new qo}function Wkn(n,t,e){var i,r;return r=n.e,n.e=t,4&n.Db&&!(1&n.Db)&&(i=new Yz(n,1,4,r,t),e?e.Ei(i):e=i),r!=t&&(e=rzn(n,t?mLn(n,t):n.a,e)),e}function Vkn(){IT.call(this),this.e=-1,this.a=!1,this.p=RVn,this.k=-1,this.c=-1,this.b=-1,this.g=!1,this.f=-1,this.j=-1,this.n=-1,this.i=-1,this.d=-1,this.o=RVn}function Qkn(n,t){var e,i,r;if(i=n.b.d.d,n.a||(i+=n.b.d.a),r=t.b.d.d,t.a||(r+=t.b.d.a),0==(e=Mln(i,r))){if(!n.a&&t.a)return-1;if(!t.a&&n.a)return 1}return e}function Jkn(n,t){var e,i,r;if(i=n.b.b.d,n.a||(i+=n.b.b.a),r=t.b.b.d,t.a||(r+=t.b.b.a),0==(e=Mln(i,r))){if(!n.a&&t.a)return-1;if(!t.a&&n.a)return 1}return e}function Ykn(n,t){var e,i,r;if(i=n.b.g.d,n.a||(i+=n.b.g.a),r=t.b.g.d,t.a||(r+=t.b.g.a),0==(e=Mln(i,r))){if(!n.a&&t.a)return-1;if(!t.a&&n.a)return 1}return e}function Zkn(){Zkn=O,$at=UG(bq(bq(bq(new K2,(vMn(),_at),(hWn(),vot)),_at,jot),Kat,Iot),Kat,aot),Nat=bq(bq(new K2,_at,Qut),_at,uot),Lat=UG(new K2,Kat,sot)}function njn(n){var t,e,i,r,c;for(t=KB(pMn(n,(oWn(),qft)),83),c=n.n,i=t.Cc().Kc();i.Ob();)(r=(e=KB(i.Pb(),306)).i).c+=c.a,r.d+=c.b,e.c?$Dn(e):LDn(e);oon(n,qft,null)}function tjn(n,t,e){var i,r;switch(i=(r=n.b).d,t.g){case 1:return-i.d-e;case 2:return r.o.a+i.c+e;case 3:return r.o.b+i.a+e;case 4:return-i.b-e;default:return-1}}function ejn(n){var t,e,i,r,c;if(i=0,r=JYn,n.b)for(t=0;t<360;t++)e=.017453292519943295*t,G_n(n,n.d,0,0,J3n,e),(c=n.b.ig(n.d))<r&&(i=e,r=c);G_n(n,n.d,0,0,J3n,i)}function ijn(n,t){var e,i,r,c;for(c=new Lp,t.e=null,t.f=null,i=new Ub(t.i);i.a<i.c.c.length;)e=KB(Y1(i),65),r=KB(xX(n.g,e.a),46),e.a=Bz(e.b),XW(c,e.a,r);n.g=c}function rjn(n,t,e){var i,r,c,a,u;for(r=(t-n.e)/n.d.c.length,c=0,u=new Ub(n.d);u.a<u.c.c.length;)a=KB(Y1(u),443),i=n.b-a.b+e,mdn(a,a.e+c*r,a.f),omn(a,r,i),++c}function cjn(n){var t;if(n.f.qj(),-1!=n.b){if(++n.b,t=n.f.d[n.a],n.b<t.i)return;++n.a}for(;n.a<n.f.d.length;++n.a)if((t=n.f.d[n.a])&&0!=t.i)return void(n.b=0);n.b=-1}function ajn(n,t){var e,i,r;for(e=OCn(n,0==(r=t.c.length)?"":(h1(0,t.c.length),TD(t.c[0]))),i=1;i<r&&e;++i)e=KB(e,49).oh((h1(i,t.c.length),TD(t.c[i])));return e}function ujn(n,t){var e,i;for(i=new Ub(t);i.a<i.c.c.length;)e=KB(Y1(i),10),n.c[e.c.p][e.p].a=CG(n.i),n.c[e.c.p][e.p].d=Hy(n.c[e.c.p][e.p].a),n.c[e.c.p][e.p].b=1}function ojn(n,t){var e,r,c;for(c=0,r=new Ub(n);r.a<r.c.c.length;)e=KB(Y1(r),157),c+=i.Math.pow(tG(e)*nG(e)-t,2);return i.Math.sqrt(c/(n.c.length-1))}function sjn(n,t,e,i){var r,c,a;return a=$Rn(n,c=BRn(n,t,e,i)),sMn(n,t,e,i),D9(n.b),TQ(),p$(c,new Wd(n)),r=$Rn(n,c),sMn(n,e,t,i),D9(n.b),new eI(tln(a),tln(r))}function hjn(n,t,e){var i;for(CTn(e,"Interactive node placement",1),n.a=KB(pMn(t,(oWn(),Ilt)),304),i=new Ub(t.b);i.a<i.c.c.length;)Yxn(n,KB(Y1(i),29));FSn(e)}function fjn(n,t){CTn(t,"General Compactor",1),t.n&&n&&v0(t,a2(n),(Ksn(),cOt)),bwn(KB(JAn(n,(Gyn(),Tjt)),380)).hg(n),t.n&&n&&v0(t,a2(n),(Ksn(),cOt))}function ljn(n,t,e){var i,r;for(SA(n,n.j+t,n.k+e),r=new IL((!n.a&&(n.a=new OL($Ot,n,5)),n.a));r.e!=r.i.gc();)jA(i=KB(mpn(r),469),i.a+t,i.b+e);MA(n,n.b+t,n.c+e)}function bjn(n,t,e,i){switch(e){case 7:return!n.e&&(n.e=new o_(DOt,n,7,4)),Vwn(n.e,t,i);case 8:return!n.d&&(n.d=new o_(DOt,n,8,5)),Vwn(n.d,t,i)}return _Tn(n,t,e,i)}function wjn(n,t,e,i){switch(e){case 7:return!n.e&&(n.e=new o_(DOt,n,7,4)),Rpn(n.e,t,i);case 8:return!n.d&&(n.d=new o_(DOt,n,8,5)),Rpn(n.d,t,i)}return eun(n,t,e,i)}function djn(n,t,e){var i,r,c;if(e)for(c=((i=new oz(e.a.length)).b-i.a)*i.c<0?(nS(),jNt):new zL(i);c.Ob();)(r=L2(e,KB(c.Pb(),19).a))&&fIn(n,r,t)}function gjn(n,t,e){var i,r,c;return n.qj(),c=null==t?0:Yon(t),n.f>0&&(r=rOn(n,(c&NWn)%n.d.length,c,t))?r.ed(e):(i=n.tj(c,t,e),n.c.Fc(i),null)}function pjn(n,t){var e,i,r,c;switch(Sfn(n,t)._k()){case 3:case 2:for(r=0,c=(e=VBn(t)).i;r<c;++r)if(5==NW(K7(n,i=KB(Utn(e,r),34))))return i}return null}function vjn(n){var t,e,i,r,c;if(BT(n.f,n.b.length))for(i=L8(Wnt,SVn,330,2*n.b.length,0,1),n.b=i,r=i.length-1,e=n.a;e!=n;e=e.Rd())t=(c=KB(e,330)).d&r,c.a=i[t],i[t]=c}function mjn(n,t){var e,r,c,a;for(a=0,c=KB(KB(o6(n.r,t),21),84).Kc();c.Ob();)r=KB(c.Pb(),111),a=i.Math.max(a,r.e.a+r.b.rf().a);(e=KB(aV(n.b,t),124)).n.b=0,e.a.a=a}function yjn(n,t){var e,r,c,a;for(e=0,a=KB(KB(o6(n.r,t),21),84).Kc();a.Ob();)c=KB(a.Pb(),111),e=i.Math.max(e,c.e.b+c.b.rf().b);(r=KB(aV(n.b,t),124)).n.d=0,r.a.b=e}function kjn(n){var t,e;return e=KB(pMn(n,(oWn(),Jft)),21),t=mA(gyt),e.Hc((fDn(),wft))&&Qcn(t,myt),e.Hc(gft)&&Qcn(t,kyt),e.Hc(uft)&&Qcn(t,pyt),e.Hc(sft)&&Qcn(t,vyt),t}function jjn(n,t){var e;CTn(t,"Delaunay triangulation",1),e=new $p,Ctn(n.i,new vg(e)),By(jD(pMn(n,(zcn(),Wrt)))),n.e?_rn(n.e,OXn(e)):n.e=OXn(e),FSn(t)}function Ejn(n){if(n<0)throw Fp(new Ry("The input must be positive"));return n<EMt.length?y2(EMt[n]):i.Math.sqrt(J3n*n)*(tfn(n,n)/nfn(2.718281828459045,n))}function Tjn(n,t){var e;if(n.ni()&&null!=t){for(e=0;e<n.i;++e)if($fn(t,n.g[e]))return!0}else for(e=0;e<n.i;++e)if(HI(n.g[e])===HI(t))return!0;return!1}function Mjn(n,t){if(null==t){for(;n.a.Ob();)if(null==KB(n.a.Pb(),42).dd())return!0}else for(;n.a.Ob();)if($fn(t,KB(n.a.Pb(),42).dd()))return!0;return!1}function Sjn(n,t){var e;return t===n||!!iL(t,664)&&(e=KB(t,1947),tgn(n.g||(n.g=new Jf(n)),e.g||(e.g=new Jf(e))))}function Pjn(n){var t,e,r;for(t="Sz",e="ez",r=i.Math.min(n.length,5)-1;r>=0;r--)if(p_(n[r].d,t)||p_(n[r].d,e)){n.length>=r+1&&n.splice(0,r+1);break}return n}function Cjn(n,t){var e;return QO(n)&&QO(t)&&OQn<(e=n/t)&&e<CQn?e<0?i.Math.ceil(e):i.Math.floor(e):can(Iqn(QO(n)?Man(n):n,QO(t)?Man(t):t,!1))}function Ijn(n,t){if(t==n.c.i)return n.d.i;if(t==n.d.i)return n.c.i;throw Fp(new Ry("'node' must either be the source node or target node of the edge."))}function Ojn(n){var t,e,i,r;if(r=KB(pMn(n,(oWn(),_ft)),37)){for(i=new Hj,t=gW(n.c.i);t!=r;)t=gW(e=t.e),Rx(GR(GR(i,e.n),t.c),t.d.b,t.d.d);return i}return _ut}function Ajn(n){var t;QT(lnn(new xq(null,new l1((t=KB(pMn(n,(oWn(),Clt)),403)).d,16)),new Ki),new ld(n)),QT(IV(new xq(null,new l1(t.d,16)),new Fi),new bd(n))}function $jn(n,t){var e,i;for(e=new az(JL((t?hbn(n):sbn(n)).a.Kc(),new h));bAn(e);)if((i=Ijn(KB(G5(e),17),n)).k==(cSn(),Mut)&&i.c!=n.c)return i;return null}function Ljn(n){var t,e,r;for(e=new Ub(n.p);e.a<e.c.c.length;)(t=KB(Y1(e),10)).k==(cSn(),Sut)&&(r=t.o.b,n.i=i.Math.min(n.i,r),n.g=i.Math.max(n.g,r))}function Njn(n,t,e){var i,r,c;for(c=new Ub(t);c.a<c.c.c.length;)i=KB(Y1(c),10),n.c[i.c.p][i.p].e=!1;for(r=new Ub(t);r.a<r.c.c.length;)Lzn(n,i=KB(Y1(r),10),e)}function xjn(n,t,e){var r,c;(r=jfn(t.j,e.s,e.c)+jfn(e.e,t.s,t.c))==(c=jfn(e.j,t.s,t.c)+jfn(t.e,e.s,e.c))?r>0&&(n.b+=2,n.a+=r):(n.b+=1,n.a+=i.Math.min(r,c))}function Djn(n,t){var e;if(e=!1,zI(t)&&(e=!0,YX(n,new HX(TD(t)))),e||iL(t,236)&&(e=!0,YX(n,new Tl(z_(KB(t,236))))),!e)throw Fp(new Ay(F6n))}function Rjn(n,t,e,i){var r,c,a;return r=new $7(n.e,1,10,iL(a=t.c,88)?KB(a,26):(wWn(),l$t),iL(c=e.c,88)?KB(c,26):(wWn(),l$t),cvn(n,t),!1),i?i.Ei(r):i=r,i}function _jn(n){var t,e;switch(KB(pMn(gW(n),(FXn(),dgt)),420).g){case 0:return t=n.n,e=n.o,new LC(t.a+e.a/2,t.b+e.b/2);case 1:return new lA(n.n);default:return null}}function Kjn(){Kjn=O,Wht=new IP(WZn,0),Xht=new IP("LEFTUP",1),Qht=new IP("RIGHTUP",2),Uht=new IP("LEFTDOWN",3),Vht=new IP("RIGHTDOWN",4),zht=new IP("BALANCED",5)}function Fjn(n,t,e){var i,r,c;if(0==(i=Mln(n.a[t.p],n.a[e.p]))){if(r=KB(pMn(t,(oWn(),ilt)),15),c=KB(pMn(e,ilt),15),r.Hc(e))return-1;if(c.Hc(t))return 1}return i}function Bjn(n){switch(n.g){case 1:return new Ka;case 2:return new Fa;case 3:return new _a;case 0:return null;default:throw Fp(new Ry(i4n+(null!=n.f?n.f:""+n.g)))}}function Hjn(n,t,e){switch(t){case 1:return!n.n&&(n.n=new nU(HOt,n,1,7)),uqn(n.n),!n.n&&(n.n=new nU(HOt,n,1,7)),void dX(n.n,KB(e,14));case 2:return void Oin(n,TD(e))}esn(n,t,e)}function qjn(n,t,e){switch(t){case 3:return void Een(n,Hy(ED(e)));case 4:return void Ten(n,Hy(ED(e)));case 5:return void Men(n,Hy(ED(e)));case 6:return void Sen(n,Hy(ED(e)))}Hjn(n,t,e)}function Gjn(n,t,e){var i,r;(i=FTn(r=new Am,t,null))&&i.Fi(),$rn(r,e),s9((!n.c&&(n.c=new nU(WAt,n,12,10)),n.c),r),Aen(r,0),$en(r,1),Yfn(r,!0),Vfn(r,!0)}function zjn(n,t){var e,i;return iL(e=oS(n.g,t),235)?((i=KB(e,235)).Qh(),i.Nh()):iL(e,498)?i=KB(e,1938).b:null}function Ujn(n,t,e,i){var r,c;return vX(t),vX(e),x7(!!(c=KB(G_(n.d,t),19)),"Row %s not in %s",t,n.e),x7(!!(r=KB(G_(n.b,e),19)),"Column %s not in %s",e,n.c),Tun(n,c.a,r.a,i)}function Xjn(n,t,e,i,r,c,a){var u,o,s,h,f;if(f=Kmn(u=(s=c==a-1)?i:0,h=r[c]),10!=i&&Mun(Hk(n,a-c),t[c],e[c],u,f),!s)for(++c,o=0;o<h;++o)f[o]=Xjn(n,t,e,i,r,c,a);return f}function Wjn(n){if(-1==n.g)throw Fp(new bv);n.mj();try{n.i.$c(n.g),n.f=n.i.j,n.g<n.e&&--n.e,n.g=-1}catch(t){throw iL(t=hun(t),73)?Fp(new gv):Fp(t)}}function Vjn(n,t){return n.b.a=i.Math.min(n.b.a,t.c),n.b.b=i.Math.min(n.b.b,t.d),n.a.a=i.Math.max(n.a.a,t.c),n.a.b=i.Math.max(n.a.b,t.d),n.c[n.c.length]=t,!0}function Qjn(n){var t,e,i;for(i=-1,e=0,t=new Ub(n);t.a<t.c.c.length;){if(KB(Y1(t),243).c==(rin(),Fvt)){i=0==e?0:e-1;break}e==n.c.length-1&&(i=e),e+=1}return i}function Jjn(n){var t,e,r,c;for(c=0,t=0,r=new Ub(n.c);r.a<r.c.c.length;)Men(e=KB(Y1(r),33),n.e+c),Sen(e,n.f),c+=e.g+n.b,t=i.Math.max(t,e.f+n.b);n.d=c-n.b,n.a=t-n.b}function Yjn(n){var t,e,i;for(e=new Ub(n.a.b);e.a<e.c.c.length;)i=(t=KB(Y1(e),57)).d.c,t.d.c=t.d.d,t.d.d=i,i=t.d.b,t.d.b=t.d.a,t.d.a=i,i=t.b.a,t.b.a=t.b.b,t.b.b=i;vNn(n)}function Zjn(n){var t,e,i;for(e=new Ub(n.a.b);e.a<e.c.c.length;)i=(t=KB(Y1(e),81)).g.c,t.g.c=t.g.d,t.g.d=i,i=t.g.b,t.g.b=t.g.a,t.g.a=i,i=t.e.a,t.e.a=t.e.b,t.e.b=i;mNn(n)}function nEn(n){var t,e,i,r,c;for(c=wz(n.k),mUn(),i=0,r=(e=Mun(Hk(_It,1),VZn,61,0,[MIt,uIt,aIt,TIt,SIt])).length;i<r;++i)if((t=e[i])!=MIt&&!c.Hc(t))return t;return null}function tEn(n,t){var e,i;return(i=KB(kN(Won(IV(new xq(null,new l1(t.j,16)),new bc))),11))&&(e=KB(Lq(i.e,0),17))?KB(pMn(e,(oWn(),llt)),19).a:wnn(n.b)}function eEn(n,t){var e,i,r;for(r=new Ub(t.a);r.a<r.c.c.length;)for(i=KB(Y1(r),10),Yy(n.d),e=new az(JL(hbn(i).a.Kc(),new h));bAn(e);)zOn(n,i,KB(G5(e),17).d.i)}function iEn(n,t){var e,i;for(v7(n.b,t),i=new Ub(n.n);i.a<i.c.c.length;)if(-1!=k7((e=KB(Y1(i),211)).c,t,0)){v7(e.c,t),Jjn(e),0==e.c.c.length&&v7(n.n,e);break}sHn(n)}function rEn(n,t){var e,r,c,a,u;for(u=n.f,c=0,a=0,r=new Ub(n.a);r.a<r.c.c.length;)jvn(e=KB(Y1(r),187),n.e,u),d9(e,t),a=i.Math.max(a,e.r),c=u+=e.d+n.c;n.d=a,n.b=c}function cEn(n){var t,e;return o3(e=lLn(n))?null:(vX(e),t=KB(nmn(new az(JL(e.a.Kc(),new h))),79),MTn(KB(Utn((!t.b&&(t.b=new o_(xOt,t,4,7)),t.b),0),82)))}function aEn(n){return n.o||(n.Lj()?n.o=new rW(n,n,null):n.rk()?n.o=new eR(n,null):1==NW(K7((PPn(),Q$t),n))?n.o=new w4(n):n.o=new iR(n,null)),n.o}function uEn(n,t,e,i){var r,c,a,u,o;e.mh(t)&&(r=(a=t)?KB(i,49).xh(a):null)&&(o=e.ah(t),(u=t.t)>1||-1==u?(c=KB(o,15),r.Wb(zdn(n,c))):r.Wb(Z_n(n,KB(o,56))))}function oEn(n,t,e,i){VE();var r=MWn;function c(){for(var n=0;n<r.length;n++)r[n]()}if(n)try{KNt(c)()}catch(a){n(t,a)}else KNt(c)()}function sEn(n){var t,e,i,r,c;for(i=new csn(new Mb(n.b).a);i.b;)t=KB((e=Ztn(i)).cd(),10),c=KB(KB(e.dd(),46).a,10),r=KB(KB(e.dd(),46).b,8),GR(mO(t.n),GR(K$(c.n),r))}function hEn(n){switch(KB(pMn(n.b,(FXn(),ngt)),375).g){case 1:QT(OV(lnn(new xq(null,new l1(n.d,16)),new Kr),new Fr),new Br);break;case 2:gRn(n);break;case 0:SCn(n)}}function fEn(n,t,e){CTn(e,"Straight Line Edge Routing",1),e.n&&t&&v0(e,a2(t),(Ksn(),cOt)),pHn(n,KB(JAn(t,(lD(),Xkt)),33)),e.n&&t&&v0(e,a2(t),(Ksn(),cOt))}function lEn(){lEn=O,JMt=new xC("V_TOP",0),QMt=new xC("V_CENTER",1),VMt=new xC("V_BOTTOM",2),XMt=new xC("H_LEFT",3),UMt=new xC("H_CENTER",4),WMt=new xC("H_RIGHT",5)}function bEn(n){var t;return 64&n.Db?Swn(n):((t=new sN(Swn(n))).a+=" (abstract: ",vE(t,!!(256&n.Bb)),t.a+=", interface: ",vE(t,!!(512&n.Bb)),t.a+=")",t.a)}function wEn(n,t,e,i){var r,c,a;return pA(n.e)&&(a=AJ(n,1,r=t.ak(),t.dd(),c=e.dd(),r.$j()?dBn(n,r,c,iL(r,99)&&!!(KB(r,18).Bb&KQn)):-1,!0),i?i.Ei(a):i=a),i}function dEn(n){var t;null==n.c&&(t=HI(n.b)===HI(Vnt)?null:n.b,n.d=null==t?qWn:nz(t)?yN(kQ(t)):zI(t)?BVn:Yj(Zon(t)),n.a=n.a+": "+(nz(t)?SR(kQ(t)):t+""),n.c="("+n.d+") "+n.a)}function gEn(n,t){this.e=n,WI(n0(t,-4294967296),0)?(this.d=1,this.a=Mun(Hk(CNt,1),oQn,25,15,[bG(t)])):(this.d=2,this.a=Mun(Hk(CNt,1),oQn,25,15,[bG(t),bG(mz(t,32))]))}function pEn(){function n(){try{ +return(new Map).entries().next().done}catch(n){return!1}}return typeof Map===LWn&&Map.prototype.entries&&n()?Map:fUn()}function vEn(n,t){var e,i,r;for(r=new E2(n.e,0),e=0;r.b<r.d.gc();){if((i=Hy((Mx(r.b<r.d.gc()),ED(r.d.Xb(r.c=r.b++))))-t)>N3n)return e;i>-1e-6&&++e}return e}function mEn(n,t){var e;t!=n.b?(e=null,n.b&&(e=aY(n.b,n,-4,e)),t&&(e=$pn(t,n,-4,e)),(e=Jhn(n,t,e))&&e.Fi()):4&n.Db&&!(1&n.Db)&&fan(n,new Yz(n,1,3,t,t))}function yEn(n,t){var e;t!=n.f?(e=null,n.f&&(e=aY(n.f,n,-1,e)),t&&(e=$pn(t,n,-1,e)),(e=Yhn(n,t,e))&&e.Fi()):4&n.Db&&!(1&n.Db)&&fan(n,new Yz(n,1,0,t,t))}function kEn(n){var t,e,i;if(null==n)return null;if((e=KB(n,15)).dc())return"";for(i=new Tk,t=e.Kc();t.Ob();)iO(i,(Gqn(),TD(t.Pb()))),i.a+=" ";return DO(i,i.a.length-1)}function jEn(n){var t,e,i;if(null==n)return null;if((e=KB(n,15)).dc())return"";for(i=new Tk,t=e.Kc();t.Ob();)iO(i,(Gqn(),TD(t.Pb()))),i.a+=" ";return DO(i,i.a.length-1)}function EEn(n,t,e){var i,r;return i=n.c[t.c.p][t.p],r=n.c[e.c.p][e.p],null!=i.a&&null!=r.a?jz(i.a,r.a):null!=i.a?-1:null!=r.a?1:0}function TEn(n,t){var e,i,r;if(t)for(r=((e=new oz(t.a.length)).b-e.a)*e.c<0?(nS(),jNt):new zL(e);r.Ob();)i=L2(t,KB(r.Pb(),19).a),CV(new Kg(n).a,i)}function MEn(n,t){var e,i,r;if(t)for(r=((e=new oz(t.a.length)).b-e.a)*e.c<0?(nS(),jNt):new zL(e);r.Ob();)i=L2(t,KB(r.Pb(),19).a),PV(new Og(n).a,i)}function SEn(n){if(null!=n&&n.length>0&&33==sV(n,n.length-1))try{return null==VPn(sx(n,0,n.length-1)).e}catch(t){if(!iL(t=hun(t),32))throw Fp(t)}return!1}function PEn(n,t,e){var i,r,c;return i=t.ak(),c=t.dd(),r=i.$j()?AJ(n,3,i,null,c,dBn(n,i,c,iL(i,99)&&!!(KB(i,18).Bb&KQn)),!0):AJ(n,1,i,i.zj(),c,-1,!0),e?e.Ei(r):e=r,e}function CEn(){var n,t,e;for(t=0,n=0;n<1;n++){if(0==(e=WOn((f1(n,1),"X".charCodeAt(n)))))throw Fp(new rk("Unknown Option: "+"X".substr(n)));t|=e}return t}function IEn(n,t,e){var i,r;switch(i=Uln(gW(t)),SZ(r=new SSn,t),e.g){case 1:BCn(r,jln(own(i)));break;case 2:BCn(r,own(i))}return oon(r,(FXn(),Zgt),ED(pMn(n,Zgt))),r}function OEn(n){var t,e;return t=KB(G5(new az(JL(sbn(n.a).a.Kc(),new h))),17),e=KB(G5(new az(JL(hbn(n.a).a.Kc(),new h))),17),By(jD(pMn(t,(oWn(),Slt))))||By(jD(pMn(e,Slt)))}function AEn(){AEn=O,Est=new vP("ONE_SIDE",0),Mst=new vP("TWO_SIDES_CORNER",1),Sst=new vP("TWO_SIDES_OPPOSING",2),Tst=new vP("THREE_SIDES",3),jst=new vP("FOUR_SIDES",4)}function $En(n,t,e,i,r){var c,a;c=KB(M4(IV(t.Oc(),new Zr),p9(new H,new B,new rn,Mun(Hk(Yet,1),OVn,132,0,[(Bsn(),Get)]))),15),a=KB(wan(n.b,e,i),15),0==r?a.Wc(0,c):a.Gc(c)}function LEn(n,t){var e,i,r;for(i=new Ub(t.a);i.a<i.c.c.length;)for(e=new az(JL(sbn(KB(Y1(i),10)).a.Kc(),new h));bAn(e);)r=KB(G5(e),17).c.i.p,n.n[r]=n.n[r]-1}function NEn(n,t){var e,i,r,c;for(r=new Ub(t.d);r.a<r.c.c.length;)for(i=KB(Y1(r),101),c=KB(xX(n.c,i),112).o,e=new WT(i.b);e.a<e.c.a.length;)w9(i,KB(c4(e),61),c)}function xEn(n){var t;for(t=new Ub(n.e.b);t.a<t.c.c.length;)ozn(n,KB(Y1(t),29));QT(IV(lnn(lnn(new xq(null,new l1(n.e.b,16)),new Xc),new Zc),new na),new og(n))}function DEn(n,t){return!!t&&!n.Di(t)&&(n.i?n.i.Ei(t):iL(t,143)?(n.i=KB(t,143),!0):(n.i=new po,n.i.Ei(t)))}function REn(n){if(n=_Bn(n,!0),p_(r5n,n)||p_("1",n))return oN(),gtt;if(p_(c5n,n)||p_("0",n))return oN(),dtt;throw Fp(new tk("Invalid boolean value: '"+n+"'"))}function _En(n,t,e){var i,r,c;for(r=n.vc().Kc();r.Ob();)if(c=(i=KB(r.Pb(),42)).cd(),HI(t)===HI(c)||null!=t&&$fn(t,c))return e&&(i=new MS(i.cd(),i.dd()),r.Qb()),i;return null}function KEn(n){var t,e,i;BD(),n.B.Hc((Y_n(),BIt))&&(i=n.f.i,t=new wJ(n.a.c),(e=new fm).b=t.c-i.c,e.d=t.d-i.d,e.c=i.c+i.b-(t.c+t.b),e.a=i.d+i.a-(t.d+t.a),n.e.Ff(e))}function FEn(n,t,e,r){var c,a,u;for(u=i.Math.min(e,UFn(KB(n.b,65),t,e,r)),a=new Ub(n.a);a.a<a.c.c.length;)(c=KB(Y1(a),221))!=t&&(u=i.Math.min(u,FEn(c,t,u,r)));return u}function BEn(n){var t,e,i;for(i=L8(Cut,uVn,193,n.b.c.length,0,2),e=new E2(n.b,0);e.b<e.d.gc();)Mx(e.b<e.d.gc()),t=KB(e.d.Xb(e.c=e.b++),29),i[e.b-1]=Y0(t.a);return i}function HEn(n,t,e,i,r){var c,a,u,o;for(a=Yk(Jk(FK(Zpn(e)),i),rkn(n,e,r)),o=NSn(n,e).Kc();o.Ob();)t[(u=KB(o.Pb(),11)).p]&&(c=t[u.p].i,UB(a.d,new LG(c,mln(a,c))));Mwn(a)}function qEn(n,t){this.f=new Lp,this.b=new Lp,this.j=new Lp,this.a=n,this.c=t,this.c>0&&Ryn(this,this.c-1,(mUn(),aIt)),this.c<this.a.length-1&&Ryn(this,this.c+1,(mUn(),SIt))}function GEn(n){n.length>0&&n[0].length>0&&(this.c=By(jD(pMn(gW(n[0][0]),(oWn(),rlt))))),this.a=L8(Mmt,uVn,2018,n.length,0,2),this.b=L8(Amt,uVn,2019,n.length,0,2),this.d=new jhn}function zEn(n){return 0!=n.c.length&&((h1(0,n.c.length),KB(n.c[0],17)).c.i.k==(cSn(),Mut)||a5(OV(new xq(null,new l1(n,16)),new _c),new Kc))}function UEn(n,t,e){return CTn(e,"Tree layout",1),o2(n.b),SU(n.b,(qyn(),xyt),xyt),SU(n.b,Dyt,Dyt),SU(n.b,Ryt,Ryt),SU(n.b,_yt,_yt),n.a=Oqn(n.b,t),hxn(n,t,pcn(e,1)),FSn(e),t}function XEn(n,t){var e,r,c,a,u,o;for(u=lDn(t),c=t.f,o=t.g,a=i.Math.sqrt(c*c+o*o),r=0,e=new Ub(u);e.a<e.c.c.length;)r+=XEn(n,KB(Y1(e),33));return i.Math.max(r,a)}function WEn(){WEn=O,VCt=new GC(oYn,0),WCt=new GC("FREE",1),XCt=new GC("FIXED_SIDE",2),GCt=new GC("FIXED_ORDER",3),UCt=new GC("FIXED_RATIO",4),zCt=new GC("FIXED_POS",5)}function VEn(n,t){var e,i,r;if(e=t.Hh(n.a))for(r=TD(idn((!e.b&&(e.b=new Qx((wWn(),v$t),G$t,e)),e.b),j7n)),i=1;i<(PPn(),J$t).length;++i)if(p_(J$t[i],r))return i;return 0}function QEn(n){var t,e,i,r;if(null==n)return qWn;for(r=new Oan(_Wn,"[","]"),e=0,i=(t=n).length;e<i;++e)f6(r,""+t[e]);return r.a?0==r.e.length?r.a.a:r.a.a+""+r.e:r.c}function JEn(n){var t,e,i,r;if(null==n)return qWn;for(r=new Oan(_Wn,"[","]"),e=0,i=(t=n).length;e<i;++e)f6(r,""+t[e]);return r.a?0==r.e.length?r.a.a:r.a.a+""+r.e:r.c}function YEn(n){var t,e,i;for(i=new Oan(_Wn,"{","}"),e=n.vc().Kc();e.Ob();)f6(i,U3(n,(t=KB(e.Pb(),42)).cd())+"="+U3(n,t.dd()));return i.a?0==i.e.length?i.a.a:i.a.a+""+i.e:i.c}function ZEn(n){for(var t,e,i,r;!Uy(n.o);)e=KB(bU(n.o),46),i=KB(e.a,121),r=$bn(t=KB(e.b,213),i),t.e==i?(xN(r.g,t),i.e=r.e+t.a):(xN(r.b,t),i.e=r.e-t.a),UB(n.e.a,i)}function nTn(n,t){var e,i,r;for(e=null,r=KB(t.Kb(n),20).Kc();r.Ob();)if(i=KB(r.Pb(),17),e){if((i.c.i==n?i.d.i:i.c.i)!=e)return!1}else e=i.c.i==n?i.d.i:i.c.i;return!0}function tTn(n,t){var e,i,r;for(i=new Ub(WLn(n,!1,t));i.a<i.c.c.length;)0==(e=KB(Y1(i),129)).d?(UZ(e,null),XZ(e,null)):(r=e.a,UZ(e,e.b),XZ(e,r))}function eTn(n){var t,e;return Qcn(t=new K2,Syt),(e=KB(pMn(n,(oWn(),Jft)),21)).Hc((fDn(),gft))&&Qcn(t,Oyt),e.Hc(uft)&&Qcn(t,Pyt),e.Hc(wft)&&Qcn(t,Iyt),e.Hc(sft)&&Qcn(t,Cyt),t}function iTn(n){var t,e,i,r;for(Tqn(n),e=new az(JL(obn(n).a.Kc(),new h));bAn(e);)r=(i=(t=KB(G5(e),17)).c.i==n)?t.d:t.c,i?EZ(t,null):TZ(t,null),oon(t,(oWn(),plt),r),cAn(n,r.i)}function rTn(n,t,e,i){var r,c;switch(r=e[(c=t.i).g][n.d[c.g]],c.g){case 1:r-=i+t.j.b,t.g.b=r;break;case 3:r+=i,t.g.b=r;break;case 4:r-=i+t.j.a,t.g.a=r;break;case 2:r+=i,t.g.a=r}}function cTn(n){var t,e;for(e=new IL((!n.a&&(n.a=new nU(qOt,n,10,11)),n.a));e.e!=e.i.gc();)if(!bAn(new az(JL(lLn(t=KB(mpn(e),33)).a.Kc(),new h))))return t;return null}function aTn(){var n;return zOt?KB(O$n((UM(),HAt),v6n),2016):(n=KB(iL(TY((UM(),HAt),v6n),555)?TY(HAt,v6n):new uAn,555),zOt=!0,RGn(n),yWn(n),jyn(n),pZ(HAt,v6n,n),n)}function uTn(n,t,e){var i,r;if(0==n.j)return e;if(r=KB(Ren(n,t,e),72),!(i=e.ak()).Ij()||!n.a.rl(i))throw Fp(new by("Invalid entry feature '"+i.Hj().zb+"."+i.ne()+"'"));return r}function oTn(n,t){var e,i,r,c,a,u,o;for(u=0,o=(a=n.a).length;u<o;++u)for(r=0,c=(i=a[u]).length;r<c;++r)if(e=i[r],HI(t)===HI(e)||null!=t&&$fn(t,e))return!0;return!1}function sTn(n){var t,e,i;return Xhn(n,0)>=0?(e=Cjn(n,IQn),i=hdn(n,IQn)):(e=Cjn(t=yz(n,1),5e8),i=ebn(vz(i=hdn(t,5e8),1),n0(n,1))),t0(vz(i,32),n0(e,GQn))}function hTn(n,t,e){var i;switch(Mx(0!=t.b),i=KB(Itn(t,t.a.a),8),e.g){case 0:i.b=0;break;case 2:i.b=n.f;break;case 3:i.a=0;break;default:i.a=n.g}return YU(upn(t,0),i),t}function fTn(n,t,e,i){var r,c,a,u,o;switch(o=n.b,u=qgn(a=(c=t.d).j,o.d[a.g],e),r=GR(K$(c.n),c.a),c.j.g){case 1:case 3:u.a+=r.a;break;case 2:case 4:u.b+=r.b}e5(i,u,i.c.b,i.c)}function lTn(n,t,e){var i,r,c,a;for(a=k7(n.e,t,0),(c=new em).b=e,i=new E2(n.e,a);i.b<i.d.gc();)Mx(i.b<i.d.gc()),(r=KB(i.d.Xb(i.c=i.b++),10)).p=e,UB(c.e,r),sW(i);return c}function bTn(n,t,e,i){var r,c,a,u,o;for(r=null,c=0,u=new Ub(t);u.a<u.c.c.length;)o=(a=KB(Y1(u),33)).i+a.g,n<a.j+a.f+i&&(r?e.i-o<e.i-c&&(r=a):r=a,c=r.i+r.g);return r?c+i:0}function wTn(n,t,e,i){var r,c,a,u,o;for(c=null,r=0,u=new Ub(t);u.a<u.c.c.length;)o=(a=KB(Y1(u),33)).j+a.f,n<a.i+a.g+i&&(c?e.j-o<e.j-r&&(c=a):c=a,r=c.j+c.f);return c?r+i:0}function dTn(n){var t,e,i;for(t=!1,i=n.b.c.length,e=0;e<i;e++)Von(KB(Lq(n.b,e),434))?!t&&e+1<i&&Von(KB(Lq(n.b,e+1),434))&&(t=!0,KB(Lq(n.b,e),434).a=!0):t=!1}function gTn(n,t,e,i,r){var c,a;for(c=0,a=0;a<r;a++)c=ebn(c,tbn(n0(t[a],GQn),n0(i[a],GQn))),n[a]=bG(c),c=mz(c,32);for(;a<e;a++)c=ebn(c,n0(t[a],GQn)),n[a]=bG(c),c=mz(c,32)}function pTn(n,t){var e,i;for(OOn(),CDn(),i=Qtt,e=n;t>1;t>>=1)1&t&&(i=$nn(i,e)),e=1==e.d?$nn(e,e):new Sgn(PKn(e.a,e.d,L8(CNt,oQn,25,e.d<<1,15,1)));return i=$nn(i,e)}function vTn(){var n,t,e,i;for(vTn=O,Cet=L8($Nt,BQn,25,25,15,1),Iet=L8($Nt,BQn,25,33,15,1),i=152587890625e-16,t=32;t>=0;t--)Iet[t]=i,i*=.5;for(e=1,n=24;n>=0;n--)Cet[n]=e,e*=.5}function mTn(n){var t,e;if(By(jD(JAn(n,(FXn(),lgt)))))for(e=new az(JL(bLn(n).a.Kc(),new h));bAn(e);)if(WIn(t=KB(G5(e),79))&&By(jD(JAn(t,bgt))))return!0;return!1}function yTn(n,t){var e,i,r;jU(n.f,t)&&(t.b=n,i=t.c,-1!=k7(n.j,i,0)||UB(n.j,i),r=t.d,-1!=k7(n.j,r,0)||UB(n.j,r),0!=(e=t.a.b).c.length&&(!n.i&&(n.i=new npn(n)),gan(n.i,e)))}function kTn(n){var t,e,i,r;return(e=(t=n.c.d).j)==(r=(i=n.d.d).j)?t.p<i.p?0:1:Eln(e)==r?0:kln(e)==r?1:TN(n.b.b,Eln(e))?0:1}function jTn(){jTn=O,Zpt=new xP(y3n,0),Jpt=new xP("LONGEST_PATH",1),Vpt=new xP("COFFMAN_GRAHAM",2),Qpt=new xP(K1n,3),nvt=new xP("STRETCH_WIDTH",4),Ypt=new xP("MIN_WIDTH",5)}function ETn(n){var t;this.d=new Lp,this.c=n.c,this.e=n.d,this.b=n.b,this.f=new uG(n.e),this.a=n.a,n.f?this.g=n.f:this.g=new V_(t=KB(Xj(iAt),9),KB(TR(t,t.length),9),0)}function TTn(n,t){var e,i,r,c;!(r=N2(i=n,"layoutOptions"))&&(r=N2(i,E6n)),r&&(e=null,(c=r)&&(e=new jT(c,yrn(c,L8(Wtt,uVn,2,0,6,1)))),e&&n5(e,new lI(c,t)))}function MTn(n){if(iL(n,239))return KB(n,33);if(iL(n,186))return UY(KB(n,118));throw Fp(n?new Zy("Only support nodes and ports."):new Fy(n8n))}function STn(n,t,e,i){return t>=0&&p_(n.substr(t,3),"GMT")||t>=0&&p_(n.substr(t,3),"UTC")?(e[0]=t+3,vKn(n,e,i)):vKn(n,e,i)}function PTn(n,t){var e,i,r,c,a;for(c=n.g.a,a=n.g.b,i=new Ub(n.d);i.a<i.c.c.length;)(r=(e=KB(Y1(i),70)).n).a=c,n.i==(mUn(),uIt)?r.b=a+n.j.b-e.o.b:r.b=a,GR(r,t),c+=e.o.a+n.e}function CTn(n,t,e){if(n.b)throw Fp(new _y("The task is already done."));return null==n.p&&(n.p=t,n.r=e,n.k&&(n.o=(OT(),ibn(san(Date.now()),XVn))),!0)}function ITn(n){var t;return t=new dy,null!=n.tg()&&IH(t,B6n,n.tg()),null!=n.ne()&&IH(t,Z6n,n.ne()),null!=n.sg()&&IH(t,"description",n.sg()),t}function OTn(n,t,e){var i,r,c;return c=n.q,n.q=t,4&n.Db&&!(1&n.Db)&&(r=new Yz(n,1,9,c,t),e?e.Ei(r):e=r),t?(i=t.c)!=n.r&&(e=n.nk(i,e)):n.r&&(e=n.nk(null,e)),e}function ATn(n,t,e){var i,r;for(e=$pn(t,n.e,-1-n.c,e),r=new Ep(new csn(new Mb(LW(n.a).a).a));r.a.b;)e=rzn(i=KB(Ztn(r.a).cd(),87),mLn(i,n.a),e);return e}function $Tn(n,t,e){var i,r;for(e=aY(t,n.e,-1-n.c,e),r=new Ep(new csn(new Mb(LW(n.a).a).a));r.a.b;)e=rzn(i=KB(Ztn(r.a).cd(),87),mLn(i,n.a),e);return e}function LTn(n,t,e,i){var r,c,a;if(0==i)rHn(t,0,n,e,n.length-e);else for(a=32-i,n[n.length-1]=0,c=n.length-1;c>e;c--)n[c]|=t[c-e-1]>>>a,n[c-1]=t[c-e-1]<<i;for(r=0;r<e;r++)n[r]=0}function NTn(n){var t,e,r,c,a;for(t=0,e=0,a=n.Kc();a.Ob();)r=KB(a.Pb(),111),t=i.Math.max(t,r.d.b),e=i.Math.max(e,r.d.c);for(c=n.Kc();c.Ob();)(r=KB(c.Pb(),111)).d.b=t,r.d.c=e}function xTn(n){var t,e,r,c,a;for(e=0,t=0,a=n.Kc();a.Ob();)r=KB(a.Pb(),111),e=i.Math.max(e,r.d.d),t=i.Math.max(t,r.d.a);for(c=n.Kc();c.Ob();)(r=KB(c.Pb(),111)).d.d=e,r.d.a=t}function DTn(n,t){var e,i,r,c;for(c=new $p,r=0,i=t.Kc();i.Ob();){for(e=tln(KB(i.Pb(),19).a+r);e.a<n.f&&!Zq(n,e.a);)e=tln(e.a+1),++r;if(e.a>=n.f)break;c.c[c.c.length]=e}return c}function RTn(n){var t,e,i,r;for(t=null,r=new Ub(n.wf());r.a<r.c.c.length;)e=new GV((i=KB(Y1(r),181)).qf().a,i.qf().b,i.rf().a,i.rf().b),t?SPn(t,e):t=e;return!t&&(t=new fA),t}function _Tn(n,t,e,i){return 1==e?(!n.n&&(n.n=new nU(HOt,n,1,7)),Vwn(n.n,t,i)):KB(ttn(KB(van(n,16),26)||n.zh(),e),66).Nj().Qj(n,sgn(n),e-fX(n.zh()),t,i)}function KTn(n,t,e){var i,r,c,a,u;for(i=e.gc(),n.qi(n.i+i),(u=n.i-t)>0&&rHn(n.g,t,n.g,t+i,u),a=e.Kc(),n.i+=i,r=0;r<i;++r)c=a.Pb(),yL(n,t,n.oi(t,c)),n.bi(t,c),n.ci(),++t;return 0!=i}function FTn(n,t,e){var i;return t!=n.q?(n.q&&(e=aY(n.q,n,-10,e)),t&&(e=$pn(t,n,-10,e)),e=OTn(n,t,e)):4&n.Db&&!(1&n.Db)&&(i=new Yz(n,1,9,t,t),e?e.Ei(i):e=i),e}function BTn(n,t,e,i){return SK(!(e&oVn),"flatMap does not support SUBSIZED characteristic"),SK(!(4&e),"flatMap does not support SORTED characteristic"),vX(n),vX(t),new B2(n,e,i,t)}function HTn(n,t){TU(t,"Cannot suppress a null exception."),gH(t!=n,"Exception can not suppress itself."),n.i||(null==n.k?n.k=Mun(Hk(Qnt,1),uVn,78,0,[t]):n.k[n.k.length]=t)}function qTn(n,t,e,i){var r,c,a,u,o,s;for(a=e.length,c=0,r=-1,s=rtn(n.substr(t),(iK(),jet)),u=0;u<a;++u)(o=e[u].length)>c&&uU(s,rtn(e[u],jet))&&(r=u,c=o);return r>=0&&(i[0]=t+c),r}function GTn(n,t){var e;if(0!=(e=VO(n.b.Hf(),t.b.Hf())))return e;switch(n.b.Hf().g){case 1:case 2:return k$(n.b.sf(),t.b.sf());case 3:case 4:return k$(t.b.sf(),n.b.sf())}return 0}function zTn(n){var t,e,i;for(i=n.e.c.length,n.a=mq(CNt,[uVn,oQn],[48,25],15,[i,i],2),e=new Ub(n.c);e.a<e.c.c.length;)t=KB(Y1(e),282),n.a[t.c.b][t.d.b]+=KB(pMn(t,(sRn(),Jct)),19).a}function UTn(n,t,e){CTn(e,"Grow Tree",1),n.b=t.f,By(jD(pMn(t,(zcn(),Wrt))))?(n.c=new it,WZ(n,null)):n.c=new it,n.a=!1,_Nn(n,t.f),oon(t,Vrt,(oN(),!!n.a)),FSn(e)}function XTn(n,t){var e,i,r,c,a;if(null==n)return null;for(a=L8(PNt,UVn,25,2*t,15,1),i=0,r=0;i<t;++i)e=n[i]>>4&15,c=15&n[i],a[r++]=COt[e],a[r++]=COt[c];return Kdn(a,0,a.length)}function WTn(n,t,e){var i,r,c;return i=t.ak(),c=t.dd(),r=i.$j()?AJ(n,4,i,c,null,dBn(n,i,c,iL(i,99)&&!!(KB(i,18).Bb&KQn)),!0):AJ(n,i.Kj()?2:1,i,c,i.zj(),-1,!0),e?e.Ei(r):e=r,e}function VTn(n){var t,e;return n>=KQn?(t=FQn+(n-KQn>>10&1023)&WVn,e=56320+(n-KQn&1023)&WVn,String.fromCharCode(t)+""+String.fromCharCode(e)):String.fromCharCode(n&WVn)}function QTn(n,t){var e,i,r,c;return BD(),(r=KB(KB(o6(n.r,t),21),84)).gc()>=2&&(i=KB(r.Kc().Pb(),111),e=n.u.Hc((hIn(),ZCt)),c=n.u.Hc(iIt),!i.a&&!e&&(2==r.gc()||c))}function JTn(n,t,e,i,r){var c,a,u;for(c=nDn(n,t,e,i,r),u=!1;!c;)k$n(n,r,!0),u=!0,c=nDn(n,t,e,i,r);u&&k$n(n,r,!1),0!=(a=Nun(r)).c.length&&(n.d&&n.d.lg(a),JTn(n,r,e,i,a))}function YTn(){YTn=O,rCt=new KC(WZn,0),eCt=new KC("DIRECTED",1),cCt=new KC("UNDIRECTED",2),nCt=new KC("ASSOCIATION",3),iCt=new KC("GENERALIZATION",4),tCt=new KC("DEPENDENCY",5)}function ZTn(n,t){var e;if(!UY(n))throw Fp(new _y(_5n));switch(e=UY(n),t.g){case 1:return-(n.j+n.f);case 2:return n.i-e.g;case 3:return n.j-e.f;case 4:return-(n.i+n.g)}return 0}function nMn(n,t){var e,i;for(mW(t),i=n.b.c.length,UB(n.b,t);i>0;){if(e=i,i=(i-1)/2|0,n.a.ue(Lq(n.b,i),t)<=0)return i5(n.b,e,t),!0;i5(n.b,e,Lq(n.b,i))}return i5(n.b,i,t),!0}function tMn(n,t,e,r){var c,a;if(c=0,e)c=phn(n.a[e.g][t.g],r);else for(a=0;a<Yit;a++)c=i.Math.max(c,phn(n.a[a][t.g],r));return t==(Ntn(),qit)&&n.b&&(c=i.Math.max(c,n.b.a)),c}function eMn(n,t){var e,i,r,c,a;return i=n.i,r=t.i,!(!i||!r)&&i.i==r.i&&i.i!=(mUn(),aIt)&&i.i!=(mUn(),SIt)&&(e=(c=i.g.a)+i.j.a,c<=(a=r.g.a)+r.j.a&&e>=a)}function iMn(n,t,e,i){var r;if(r=!1,zI(i)&&(r=!0,IH(t,e,TD(i))),r||qI(i)&&(r=!0,iMn(n,t,e,i)),r||iL(i,236)&&(r=!0,BQ(t,e,KB(i,236))),!r)throw Fp(new Ay(F6n))}function rMn(n,t){var e,i,r;if((e=t.Hh(n.a))&&null!=(r=idn((!e.b&&(e.b=new Qx((wWn(),v$t),G$t,e)),e.b),_9n)))for(i=1;i<(PPn(),W$t).length;++i)if(p_(W$t[i],r))return i;return 0}function cMn(n,t){var e,i,r;if((e=t.Hh(n.a))&&null!=(r=idn((!e.b&&(e.b=new Qx((wWn(),v$t),G$t,e)),e.b),_9n)))for(i=1;i<(PPn(),V$t).length;++i)if(p_(V$t[i],r))return i;return 0}function aMn(n,t){var e,i,r,c;if(mW(t),(c=n.a.gc())<t.gc())for(e=n.a.ec().Kc();e.Ob();)i=e.Pb(),t.Hc(i)&&e.Qb();else for(r=t.Kc();r.Ob();)i=r.Pb(),n.a.Bc(i);return c!=n.a.gc()}function uMn(n){var t,e;switch(e=K$(Ion(Mun(Hk(MMt,1),uVn,8,0,[n.i.n,n.n,n.a]))),t=n.i.d,n.j.g){case 1:e.b-=t.d;break;case 2:e.a+=t.c;break;case 3:e.b+=t.a;break;case 4:e.a-=t.b}return e}function oMn(n){var t;for(Prn(),t=KB(G5(new az(JL(sbn(n).a.Kc(),new h))),17).c.i;t.k==(cSn(),Mut);)oon(t,(oWn(),alt),(oN(),!0)),t=KB(G5(new az(JL(sbn(t).a.Kc(),new h))),17).c.i}function sMn(n,t,e,i){var r,c,a;for(a=Afn(t,i).Kc();a.Ob();)r=KB(a.Pb(),11),n.d[r.p]=n.d[r.p]+n.c[e.p];for(c=Afn(e,i).Kc();c.Ob();)r=KB(c.Pb(),11),n.d[r.p]=n.d[r.p]-n.c[t.p]}function hMn(n,t,e){var i,r;for(r=new IL((!n.a&&(n.a=new nU(qOt,n,10,11)),n.a));r.e!=r.i.gc();)TA(i=KB(mpn(r),33),i.i+t,i.j+e);n5((!n.b&&(n.b=new nU(DOt,n,12,3)),n.b),new ZC(t,e))}function fMn(n,t,e,i){var r,c;for(r=null==(c=t).d||n.a.ue(e.d,c.d)>0?1:0;c.a[r]!=e;)c=c.a[r],r=n.a.ue(e.d,c.d)>0?1:0;c.a[r]=i,i.b=e.b,i.a[0]=e.a[0],i.a[1]=e.a[1],e.a[0]=null,e.a[1]=null}function lMn(n){return hIn(),!(San(CY(kG(nIt,Mun(Hk(PIt,1),OVn,273,0,[eIt])),n))>1||San(CY(kG(ZCt,Mun(Hk(PIt,1),OVn,273,0,[YCt,iIt])),n))>1)}function bMn(n,t){iL(TY((UM(),HAt),n),498)?pZ(HAt,n,new CI(this,t)):pZ(HAt,n,this),tSn(this,t),t==(tE(),JAt)?(this.wb=KB(this,1939),KB(t,1941)):this.wb=(WX(),YAt)}function wMn(n){var t,e;if(null==n)return null;for(t=null,e=0;e<POt.length;++e)try{return KM(POt[e],n)}catch(i){if(!iL(i=hun(i),32))throw Fp(i);t=i}throw Fp(new A7(t))}function dMn(){dMn=O,det=Mun(Hk(Wtt,1),uVn,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),get=Mun(Hk(Wtt,1),uVn,2,6,["Jan","Feb","Mar","Apr",ZVn,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])}function gMn(n){var t,e,i;(t=p_(typeof t,wJn)?null:new ln)&&(hM(),ZX(e=(i=900)>=XVn?"error":i>=900?"warn":i>=800?"info":"log",n.a),n.b&&LNn(t,e,n.b,"Exception: ",!0))}function pMn(n,t){var e,i;return!n.q&&(n.q=new Lp),null!=(i=xX(n.q,t))?i:(iL(e=t.wg(),4)&&(null==e?(!n.q&&(n.q=new Lp),g6(n.q,t)):(!n.q&&(n.q=new Lp),XW(n.q,t,e))),e)}function vMn(){vMn=O,xat=new XS("P1_CYCLE_BREAKING",0),Dat=new XS("P2_LAYERING",1),Rat=new XS("P3_NODE_ORDERING",2),_at=new XS("P4_NODE_PLACEMENT",3),Kat=new XS("P5_EDGE_ROUTING",4)}function mMn(n,t){var e,i,r,c;for(i=(1==t?Uat:zat).a.ec().Kc();i.Ob();)for(e=KB(i.Pb(),103),c=KB(o6(n.f.c,e),21).Kc();c.Ob();)r=KB(c.Pb(),46),v7(n.b.b,r.b),v7(n.b.a,KB(r.b,81).d)}function yMn(n,t){var e;if(Nnn(),n.c==t.c){if(n.b==t.b||ocn(n.b,t.b)){if(e=JO(n.b)?1:-1,n.a&&!t.a)return e;if(!n.a&&t.a)return-e}return k$(n.b.g,t.b.g)}return Mln(n.c,t.c)}function kMn(n,t){var e;CTn(t,"Hierarchical port position processing",1),(e=n.b).c.length>0&&tKn((h1(0,e.c.length),KB(e.c[0],29)),n),e.c.length>1&&tKn(KB(Lq(e,e.c.length-1),29),n),FSn(t)}function jMn(n,t){var e,i;if($Mn(n,t))return!0;for(i=new Ub(t);i.a<i.c.c.length;){if(RDn(n,e=KB(Y1(i),33),cEn(e)))return!0;if(Ohn(n,e)-n.g<=n.a)return!0}return!1}function EMn(){EMn=O,fRn(),mTt=xTt,gTt=ATt,dTt=ITt,bTt=MTt,wTt=PTt,lTt=new UA(8),fTt=new zA((uWn(),zSt),lTt),pTt=new zA(APt,8),vTt=LTt,oTt=yTt,sTt=jTt,hTt=new zA(hSt,(oN(),!1))}function TMn(){TMn=O,qMt=new UA(15),HMt=new zA((uWn(),zSt),qMt),zMt=new zA(APt,15),GMt=new zA(dPt,tln(0)),RMt=ySt,KMt=DSt,BMt=BSt,NMt=new zA(iSt,s5n),_Mt=SSt,FMt=KSt,xMt=cSt,DMt=oSt}function MMn(n){if(1!=(!n.b&&(n.b=new o_(xOt,n,4,7)),n.b).i||1!=(!n.c&&(n.c=new o_(xOt,n,5,8)),n.c).i)throw Fp(new Ry(e8n));return MTn(KB(Utn((!n.b&&(n.b=new o_(xOt,n,4,7)),n.b),0),82))}function SMn(n){if(1!=(!n.b&&(n.b=new o_(xOt,n,4,7)),n.b).i||1!=(!n.c&&(n.c=new o_(xOt,n,5,8)),n.c).i)throw Fp(new Ry(e8n));return fun(KB(Utn((!n.b&&(n.b=new o_(xOt,n,4,7)),n.b),0),82))}function PMn(n){if(1!=(!n.b&&(n.b=new o_(xOt,n,4,7)),n.b).i||1!=(!n.c&&(n.c=new o_(xOt,n,5,8)),n.c).i)throw Fp(new Ry(e8n));return fun(KB(Utn((!n.c&&(n.c=new o_(xOt,n,5,8)),n.c),0),82))}function CMn(n){if(1!=(!n.b&&(n.b=new o_(xOt,n,4,7)),n.b).i||1!=(!n.c&&(n.c=new o_(xOt,n,5,8)),n.c).i)throw Fp(new Ry(e8n));return MTn(KB(Utn((!n.c&&(n.c=new o_(xOt,n,5,8)),n.c),0),82))}function IMn(n,t,e){var i,r,c;if(++n.j,t>=(r=n.Vi())||t<0)throw Fp(new Iy(c8n+t+a8n+r));if(e>=r||e<0)throw Fp(new Iy(u8n+e+a8n+r));return t!=e?(c=n.Ti(e),n.Hi(t,c),i=c):i=n.Oi(e),i}function OMn(n){var t,e,i;if(i=n,n)for(t=0,e=n.Ug();e;e=e.Ug()){if(++t>HQn)return OMn(e);if(i=e,e==n)throw Fp(new _y("There is a cycle in the containment hierarchy of "+n))}return i}function AMn(n){var t,e,i;for(i=new Oan(_Wn,"[","]"),e=n.Kc();e.Ob();)f6(i,HI(t=e.Pb())===HI(n)?"(this Collection)":null==t?qWn:Kbn(t));return i.a?0==i.e.length?i.a.a:i.a.a+""+i.e:i.c}function $Mn(n,t){var e,i;if(i=!1,t.gc()<2)return!1;for(e=0;e<t.gc();e++)e<t.gc()-1?i|=RDn(n,KB(t.Xb(e),33),KB(t.Xb(e+1),33)):i|=RDn(n,KB(t.Xb(e),33),KB(t.Xb(0),33));return i}function LMn(n,t){var e;t!=n.a?(e=null,n.a&&(e=KB(n.a,49).ih(n,4,BOt,e)),t&&(e=KB(t,49).gh(n,4,BOt,e)),(e=Qhn(n,t,e))&&e.Fi()):4&n.Db&&!(1&n.Db)&&fan(n,new Yz(n,1,1,t,t))}function NMn(n,t){var e;t!=n.e?(n.e&&R6(LW(n.e),n),t&&(!t.b&&(t.b=new jp(new Lm)),VR(t.b,n)),(e=Wkn(n,t,null))&&e.Fi()):4&n.Db&&!(1&n.Db)&&fan(n,new Yz(n,1,4,t,t))}function xMn(n){var t,e,i;for(e=n.length,i=0;i<e&&(f1(i,n.length),n.charCodeAt(i)<=32);)++i;for(t=e;t>i&&(f1(t-1,n.length),n.charCodeAt(t-1)<=32);)--t;return i>0||t<e?n.substr(i,t-i):n}function DMn(n,t){var e;e=t.o,bA(n.f)?(n.j.a=i.Math.max(n.j.a,e.a),n.j.b+=e.b,n.d.c.length>1&&(n.j.b+=n.e)):(n.j.a+=e.a,n.j.b=i.Math.max(n.j.b,e.b),n.d.c.length>1&&(n.j.a+=n.e))}function RMn(){RMn=O,Ost=Mun(Hk(_It,1),VZn,61,0,[(mUn(),uIt),aIt,TIt]),Ist=Mun(Hk(_It,1),VZn,61,0,[aIt,TIt,SIt]),Ast=Mun(Hk(_It,1),VZn,61,0,[TIt,SIt,uIt]),$st=Mun(Hk(_It,1),VZn,61,0,[SIt,uIt,aIt])}function _Mn(n,t,e,i){var r,c,a,u,o;if(c=n.c.d,a=n.d.d,c.j!=a.j)for(o=n.b,r=c.j,u=null;r!=a.j;)u=0==t?Eln(r):kln(r),NH(i,GR(qgn(r,o.d[r.g],e),qgn(u,o.d[u.g],e))),r=u}function KMn(n,t,e,i){var r,c,a,u,o;return u=KB((a=Byn(n.a,t,e)).a,19).a,c=KB(a.b,19).a,i&&(o=KB(pMn(t,(oWn(),klt)),10),r=KB(pMn(e,klt),10),o&&r&&(Z3(n.b,o,r),u+=n.b.i,c+=n.b.e)),u>c}function FMn(n){var t,e,i,r,c,a,u,o;for(this.a=evn(n),this.b=new $p,i=0,r=(e=n).length;i<r;++i)for(t=e[i],c=new $p,UB(this.b,c),u=0,o=(a=t).length;u<o;++u)UB(c,new Z_(a[u].j))}function BMn(n,t,e){var i,r,c;return c=0,i=e[t],t<e.length-1&&(r=e[t+1],n.b[t]?(c=fWn(n.d,i,r),c+=JX(n.a,i,(mUn(),aIt)),c+=JX(n.a,r,SIt)):c=P9(n.a,i,r)),n.c[t]&&(c+=A6(n.a,i)),c}function HMn(n,t,e,i,r){var c,a,u,o;for(o=null,u=new Ub(i);u.a<u.c.c.length;)if((a=KB(Y1(u),441))!=e&&-1!=k7(a.e,r,0)){o=a;break}TZ(c=U5(r),e.b),EZ(c,o.b),QIn(n.a,r,new AK(c,t,e.f))}function qMn(n){for(;0!=n.g.c&&0!=n.d.c;)_D(n.g).c>_D(n.d).c?(n.i+=n.g.c,wdn(n.d)):_D(n.d).c>_D(n.g).c?(n.e+=n.d.c,wdn(n.g)):(n.i+=Bq(n.g),n.e+=Bq(n.d),wdn(n.g),wdn(n.d))}function GMn(n,t,e){var i,r,c,a;for(c=t.q,a=t.r,new qZ((C6(),jyt),t,c,1),new qZ(jyt,c,a,1),r=new Ub(e);r.a<r.c.c.length;)(i=KB(Y1(r),112))!=c&&i!=t&&i!=a&&(wHn(n.a,i,t),wHn(n.a,i,a))}function zMn(n,t,e,r){n.a.d=i.Math.min(t,e),n.a.a=i.Math.max(t,r)-n.a.d,t<e?(n.b=.5*(t+e),n.g=D3n*n.b+.9*t,n.f=D3n*n.b+.9*e):(n.b=.5*(t+r),n.g=D3n*n.b+.9*r,n.f=D3n*n.b+.9*t)}function UMn(){function n(){ +return(new Date).getTime()}TWn={},!Array.isArray&&(Array.isArray=function(n){return"[object Array]"===Object.prototype.toString.call(n)}),!Date.now&&(Date.now=n)}function XMn(n,t){var e,i;i=KB(pMn(t,(FXn(),npt)),98),oon(t,(oWn(),vlt),i),(e=t.e)&&(QT(new xq(null,new l1(e.a,16)),new xw(n)),QT(lnn(new xq(null,new l1(e.b,16)),new mt),new Dw(n)))}function WMn(n){var t,e,r,c;if(wA(KB(pMn(n.b,(FXn(),Gdt)),103)))return 0;for(t=0,r=new Ub(n.a);r.a<r.c.c.length;)(e=KB(Y1(r),10)).k==(cSn(),Sut)&&(c=e.o.a,t=i.Math.max(t,c));return t}function VMn(n){switch(KB(pMn(n,(FXn(),mgt)),163).g){case 1:oon(n,mgt,(jbn(),Klt));break;case 2:oon(n,mgt,(jbn(),Flt));break;case 3:oon(n,mgt,(jbn(),Rlt));break;case 4:oon(n,mgt,(jbn(),_lt))}}function QMn(){QMn=O,ift=new OP(WZn,0),nft=new OP(iYn,1),rft=new OP(rYn,2),eft=new OP("LEFT_RIGHT_CONSTRAINT_LOCKING",3),tft=new OP("LEFT_RIGHT_CONNECTION_LOCKING",4),Zht=new OP(B1n,5)}function JMn(n,t,e){var r,c,a,u,o,s,h;o=e.a/2,a=e.b/2,s=1,h=1,(r=i.Math.abs(t.a-n.a))>o&&(s=o/r),(c=i.Math.abs(t.b-n.b))>a&&(h=a/c),u=i.Math.min(s,h),n.a+=u*(t.a-n.a),n.b+=u*(t.b-n.b)}function YMn(n,t,e,i,r){var c,a;for(a=!1,c=KB(Lq(e.b,0),33);oBn(n,t,c,i,r)&&(a=!0,iEn(e,c),0!=e.b.c.length);)c=KB(Lq(e.b,0),33);return 0==e.b.c.length&&jkn(e.j,e),a&&Hmn(t.q),a}function ZMn(n,t){var e,i,r,c;if(yDn(),t.b<2)return!1;for(i=e=KB(f3(c=upn(t,0)),8);c.b!=c.d.c;){if(iNn(n,i,r=KB(f3(c),8)))return!0;i=r}return!!iNn(n,i,e)}function nSn(n,t,e,i){return 0==e?(!n.o&&(n.o=new v9((SXn(),EOt),tAt,n,0)),K_(n.o,t,i)):KB(ttn(KB(van(n,16),26)||n.zh(),e),66).Nj().Rj(n,sgn(n),e-fX(n.zh()),t,i)}function tSn(n,t){var e;t!=n.sb?(e=null,n.sb&&(e=KB(n.sb,49).ih(n,1,KOt,e)),t&&(e=KB(t,49).gh(n,1,KOt,e)),(e=yfn(n,t,e))&&e.Fi()):4&n.Db&&!(1&n.Db)&&fan(n,new Yz(n,1,4,t,t))}function eSn(n,t){var e,i;if(!t)throw Fp(new nk("All edge sections need an end point."));e=xen(t,"x"),jen(new Dg(n).a,(mW(e),e)),i=xen(t,"y"),Cen(new Rg(n).a,(mW(i),i))}function iSn(n,t){var e,i;if(!t)throw Fp(new nk("All edge sections need a start point."));e=xen(t,"x"),Pen(new Lg(n).a,(mW(e),e)),i=xen(t,"y"),Ien(new Ng(n).a,(mW(i),i))}function rSn(n,t){var e,i,r,c,a;for(i=0,c=dsn(n).length;i<c;++i)gMn(t);for(a=!Wet&&n.e?Wet?null:n.d:null;a;){for(e=0,r=dsn(a).length;e<r;++e)gMn(t);a=!Wet&&a.e?Wet?null:a.d:null}}function cSn(){cSn=O,Sut=new QS("NORMAL",0),Mut=new QS("LONG_EDGE",1),Eut=new QS("EXTERNAL_PORT",2),Put=new QS("NORTH_SOUTH_PORT",3),Tut=new QS("LABEL",4),jut=new QS("BREAKING_POINT",5)}function aSn(n){var t,e,i,r;if(t=!1,Ax(n,(oWn(),qft)))for(e=KB(pMn(n,qft),83),r=new Ub(n.j);r.a<r.c.c.length;)Q$n(i=KB(Y1(r),11))&&(t||(tIn(gW(n)),t=!0),spn(KB(e.xc(i),306)))}function uSn(n,t,e){var i;CTn(e,"Self-Loop routing",1),i=Xln(t),tO(pMn(t,(S6(),jMt))),QT(OV(IV(IV(lnn(new xq(null,new l1(t.b,16)),new zi),new Ui),new Xi),new Wi),new nP(n,i)),FSn(e)}function oSn(n){var t,e,i;return i=ITn(n),null!=n.e&&IH(i,Y6n,n.e),!!n.k&&IH(i,"type",bx(n.k)),!UE(n.j)&&(e=new Sl,etn(i,$6n,e),t=new ip(e),n5(n.j,t)),i}function sSn(n){var t,e,i,r;for(r=LX((hin(n.gc(),"size"),new Pk),123),i=!0,e=hz(n).Kc();e.Ob();)t=KB(e.Pb(),42),i||(r.a+=_Wn),i=!1,cO(LX(cO(r,t.cd()),61),t.dd());return(r.a+="}",r).a}function hSn(n,t){var e,i,r;return(t&=63)<22?(e=n.l<<t,i=n.m<<t|n.l>>22-t,r=n.h<<t|n.m>>22-t):t<44?(e=0,i=n.l<<t-22,r=n.m<<t-22|n.l>>44-t):(e=0,i=0,r=n.l<<t-44),E$(e&TQn,i&TQn,r&MQn)}function fSn(n){if(null==vtt&&(vtt=new RegExp("^\\s*[+-]?(NaN|Infinity|((\\d+\\.?\\d*)|(\\.\\d+))([eE][+-]?\\d+)?[dDfF]?)\\s*$")),!vtt.test(n))throw Fp(new Ek(NQn+n+'"'));return parseFloat(n)}function lSn(n){var t,e,i,r;for(t=new $p,gU(e=L8(INt,JJn,25,n.a.c.length,16,1),e.length),r=new Ub(n.a);r.a<r.c.c.length;)e[(i=KB(Y1(r),121)).d]||(t.c[t.c.length]=i,Hgn(n,i,e));return t}function bSn(n,t){var e,i,r,c;for(c=t.b.j,n.a=L8(CNt,oQn,25,c.c.length,15,1),r=0,i=0;i<c.c.length;i++)h1(i,c.c.length),0==(e=KB(c.c[i],11)).e.c.length&&0==e.g.c.length?r+=1:r+=3,n.a[i]=r}function wSn(){wSn=O,Nht=new PP("ALWAYS_UP",0),Lht=new PP("ALWAYS_DOWN",1),Dht=new PP("DIRECTION_UP",2),xht=new PP("DIRECTION_DOWN",3),_ht=new PP("SMART_UP",4),Rht=new PP("SMART_DOWN",5)}function dSn(n,t){if(n<0||t<0)throw Fp(new Ry("k and n must be positive"));if(t>n)throw Fp(new Ry("k must be smaller than n"));return 0==t||t==n?1:0==n?0:Ejn(n)/(Ejn(t)*Ejn(n-t))}function gSn(n,t){var e,i,r,c;for(e=new CA(n);null!=e.g||e.c?null==e.g||0!=e.i&&KB(e.g[e.i-1],47).Ob():ZY(e);)if(iL(c=KB(rLn(e),56),160))for(i=KB(c,160),r=0;r<t.length;r++)t[r].og(i)}function pSn(n){var t;return 64&n.Db?Vln(n):((t=new sN(Vln(n))).a+=" (height: ",gE(t,n.f),t.a+=", width: ",gE(t,n.g),t.a+=", x: ",gE(t,n.i),t.a+=", y: ",gE(t,n.j),t.a+=")",t.a)}function vSn(n){var t,e,i,r,c,a;for(t=new g4,r=0,c=(i=n).length;r<c;++r)if(null!=Qgn(t,a=vX((e=i[r]).cd()),vX(e.dd())))throw Fp(new Ry("duplicate key: "+a));this.b=(TQ(),new zb(t))}function mSn(n){var t,e,i,r,c;if(null==n)return qWn;for(c=new Oan(_Wn,"[","]"),i=0,r=(e=n).length;i<r;++i)t=e[i],f6(c,String.fromCharCode(t));return c.a?0==c.e.length?c.a.a:c.a.a+""+c.e:c.c}function ySn(){ySn=O,Dnn(),Pct=new OO(aZn,Cct=xct),tln(1),Sct=new OO(uZn,tln(300)),tln(0),Act=new OO(oZn,tln(0)),$ct=new OO(sZn,hZn),Ict=new OO(fZn,5),Lct=xct,Oct=Nct}function kSn(n,t){var e,i,r,c;for(i=(1==t?Uat:zat).a.ec().Kc();i.Ob();)for(e=KB(i.Pb(),103),c=KB(o6(n.f.c,e),21).Kc();c.Ob();)r=KB(c.Pb(),46),UB(n.b.b,KB(r.b,81)),UB(n.b.a,KB(r.b,81).d)}function jSn(n,t){var e;if(null!=t&&!n.c.Yj().wj(t))throw e=iL(t,56)?KB(t,56).Tg().zb:Yj(Zon(t)),Fp(new Dy(e6n+n.c.ne()+"'s type '"+n.c.Yj().ne()+"' does not permit a value of type '"+e+"'"))}function ESn(n,t,e){var i,r;for(r=new E2(n.b,0);r.b<r.d.gc();)Mx(r.b<r.d.gc()),HI(pMn(i=KB(r.d.Xb(r.c=r.b++),70),(oWn(),glt)))===HI(t)&&(CPn(i.n,gW(n.c.i),e),sW(r),UB(t.b,i))}function TSn(n,t){if(t.a)switch(KB(pMn(t.b,(oWn(),vlt)),98).g){case 0:case 1:hEn(t);case 2:QT(new xq(null,new l1(t.d,16)),new Li),aAn(n.a,t)}else QT(new xq(null,new l1(t.d,16)),new Li)}function MSn(n){var t,e;return e=i.Math.sqrt((null==n.k&&(n.k=Urn(n,new Ec)),Hy(n.k)/(n.b*(null==n.g&&(n.g=zrn(n,new jc)),Hy(n.g))))),t=bG(san(i.Math.round(e))),t=i.Math.min(t,n.f)}function SSn(){wcn(),AR.call(this),this.j=(mUn(),MIt),this.a=new Hj,new sm,this.f=(hin(2,IVn),new Q6(2)),this.e=(hin(4,IVn),new Q6(4)),this.g=(hin(4,IVn),new Q6(4)),this.b=new oP(this.e,this.g)}function PSn(n,t){var e;return!By(jD(pMn(t,(oWn(),Slt))))&&(e=t.c.i,(n!=(jbn(),Rlt)||e.k!=(cSn(),Tut))&&KB(pMn(e,(FXn(),mgt)),163)!=_lt)}function CSn(n,t){var e;return!By(jD(pMn(t,(oWn(),Slt))))&&(e=t.d.i,(n!=(jbn(),Klt)||e.k!=(cSn(),Tut))&&KB(pMn(e,(FXn(),mgt)),163)!=Flt)}function ISn(n,t){var e,i,r,c,a,u,o;for(a=n.d,o=n.o,u=new GV(-a.b,-a.d,a.b+o.a+a.c,a.d+o.b+a.a),r=0,c=(i=t).length;r<c;++r)(e=i[r])&&SPn(u,e.i);a.b=-u.c,a.d=-u.d,a.c=u.b-a.b-o.a,a.a=u.a-a.d-o.b}function OSn(){OSn=O,tTt=new EC("CENTER_DISTANCE",0),eTt=new EC("CIRCLE_UNDERLAP",1),cTt=new EC("RECTANGLE_UNDERLAP",2),iTt=new EC("INVERTED_OVERLAP",3),rTt=new EC("MINIMUM_ROOT_DISTANCE",4)}function ASn(n){var t,e,i,r;if(DDn(),null==n)return null;for(i=n.length,t=L8(PNt,UVn,25,2*i,15,1),e=0;e<i;e++)(r=n[e])<0&&(r+=256),t[2*e]=WLt[r>>4],t[2*e+1]=WLt[15&r];return Kdn(t,0,t.length)}function $Sn(n){var t;switch(YW(),n.c.length){case 0:return Knt;case 1:return PH((t=KB(QCn(new Ub(n)),42)).cd(),t.dd());default:return new oy(KB(Wgn(n,L8(Fnt,mVn,42,n.c.length,0,1)),165))}}function LSn(n){var t,e,i,r,c;for(t=new Ap,e=new Ap,b3(t,n),b3(e,n);e.b!=e.c;)for(c=new Ub(KB(bU(e),37).a);c.a<c.c.c.length;)(r=KB(Y1(c),10)).e&&(b3(t,i=r.e),b3(e,i));return t}function NSn(n,t){switch(t.g){case 1:return DB(n.j,(wcn(),Lut));case 2:return DB(n.j,(wcn(),Aut));case 3:return DB(n.j,(wcn(),xut));case 4:return DB(n.j,(wcn(),Dut));default:return TQ(),TQ(),uet}}function xSn(n,t){var e,i,r;e=uH(t,n.e),i=KB(xX(n.g.f,e),19).a,r=n.a.c.length-1,0!=n.a.c.length&&KB(Lq(n.a,r),287).c==i?(++KB(Lq(n.a,r),287).a,++KB(Lq(n.a,r),287).b):UB(n.a,new Hx(i))}function DSn(n,t,e){var i,r;return 0!=(i=TRn(n,t,e))?i:Ax(t,(oWn(),llt))&&Ax(e,llt)?((r=k$(KB(pMn(t,llt),19).a,KB(pMn(e,llt),19).a))<0?c_n(n,t,e):r>0&&c_n(n,e,t),r):POn(n,t,e)}function RSn(n,t,e){var i,r,c,a;if(0!=t.b){for(i=new VT,a=upn(t,0);a.b!=a.d.c;)_rn(i,Lun(c=KB(f3(a),86))),(r=c.e).a=KB(pMn(c,(Bqn(),wkt)),19).a,r.b=KB(pMn(c,dkt),19).a;RSn(n,i,pcn(e,i.b/n.a|0))}}function _Sn(n,t){var e,i,r,c,a;if(n.e<=t)return n.g;if(q1(n,n.g,t))return n.g;for(c=n.r,i=n.g,a=n.r,r=(c-i)/2+i;i+1<c;)(e=iHn(n,r,!1)).b<=r&&e.a<=t?(a=r,c=r):i=r,r=(c-i)/2+i;return a}function KSn(n,t,e){CTn(e,"Recursive Graph Layout",oDn(n,t,!0)),gSn(t,Mun(Hk(YTt,1),FWn,527,0,[new Of])),M8(t,(uWn(),pPt))||gSn(t,Mun(Hk(YTt,1),FWn,527,0,[new gu])),hXn(n,t,null,e),FSn(e)}function FSn(n){var t;if(null==n.p)throw Fp(new _y("The task has not begun yet."));n.b||(n.k&&(OT(),t=ibn(san(Date.now()),XVn),n.q=1e-9*y2(tbn(t,n.o))),n.c<n.r&&Bin(n,n.r-n.c),n.b=!0)}function BSn(n){var t,e,i;for(NH(i=new mm,new LC(n.j,n.k)),e=new IL((!n.a&&(n.a=new OL($Ot,n,5)),n.a));e.e!=e.i.gc();)NH(i,new LC((t=KB(mpn(e),469)).a,t.b));return NH(i,new LC(n.b,n.c)),i}function HSn(n,t,e,i,r){var c,a,u,o;if(r)for(o=((c=new oz(r.a.length)).b-c.a)*c.c<0?(nS(),jNt):new zL(c);o.Ob();)u=L2(r,KB(o.Pb(),19).a),NKn((a=new oQ(n,t,e,i)).a,a.b,a.c,a.d,u)}function qSn(n,t){var e;if(HI(n)===HI(t))return!0;if(iL(t,21)){e=KB(t,21);try{return n.gc()==e.gc()&&n.Ic(e)}catch(i){if(iL(i=hun(i),173)||iL(i,205))return!1;throw Fp(i)}}return!1}function GSn(n,t){var e;UB(n.d,t),e=t.rf(),n.c?(n.e.a=i.Math.max(n.e.a,e.a),n.e.b+=e.b,n.d.c.length>1&&(n.e.b+=n.a)):(n.e.a+=e.a,n.e.b=i.Math.max(n.e.b,e.b),n.d.c.length>1&&(n.e.a+=n.a))}function zSn(n){var t,e,i,r;switch(t=(r=n.i).b,i=r.j,e=r.g,r.a.g){case 0:e.a=(n.g.b.o.a-i.a)/2;break;case 1:e.a=t.d.n.a+t.d.a.a;break;case 2:e.a=t.d.n.a+t.d.a.a-i.a;break;case 3:e.b=t.d.n.b+t.d.a.b}}function USn(n,t,e,i,r){if(i<t||r<e)throw Fp(new Ry("The highx must be bigger then lowx and the highy must be bigger then lowy"));return n.a<t?n.a=t:n.a>i&&(n.a=i),n.b<e?n.b=e:n.b>r&&(n.b=r),n}function XSn(n){if(iL(n,149))return ENn(KB(n,149));if(iL(n,229))return Jbn(KB(n,229));if(iL(n,23))return oSn(KB(n,23));throw Fp(new Ry(q6n+AMn(new Qy(Mun(Hk(Int,1),FWn,1,5,[n])))))}function WSn(n,t,e,i,r){var c,a,u;for(c=!0,a=0;a<i;a++)c&=0==e[a];if(0==r)rHn(e,i,n,0,t),a=t;else{for(u=32-r,c&=!(e[a]<<u),a=0;a<t-1;a++)n[a]=e[a+i]>>>r|e[a+i+1]<<u;n[a]=e[a+i]>>>r,++a}return c}function VSn(n,t,e,i){var r,c;if(t.k==(cSn(),Mut))for(c=new az(JL(sbn(t).a.Kc(),new h));bAn(c);)if((r=KB(G5(c),17)).c.i.k==Mut&&n.c.a[r.c.i.c.p]==i&&n.c.a[t.c.p]==e)return!0;return!1}function QSn(n,t){var e,i,r,c;return t&=63,e=n.h&MQn,t<22?(c=e>>>t,r=n.m>>t|e<<22-t,i=n.l>>t|n.m<<22-t):t<44?(c=0,r=e>>>t-22,i=n.m>>t-22|n.h<<44-t):(c=0,r=0,i=e>>>t-44),E$(i&TQn,r&TQn,c&MQn)}function JSn(n,t,e,i){var r;this.b=i,this.e=n==(ain(),Imt),r=t[e],this.d=mq(INt,[uVn,JJn],[177,25],16,[r.length,r.length],2),this.a=mq(CNt,[uVn,oQn],[48,25],15,[r.length,r.length],2),this.c=new qEn(t,e)}function YSn(n){var t,e,i;for(n.k=new a1((mUn(),Mun(Hk(_It,1),VZn,61,0,[MIt,uIt,aIt,TIt,SIt])).length,n.j.c.length),i=new Ub(n.j);i.a<i.c.c.length;)t=(e=KB(Y1(i),113)).d.j,QIn(n.k,t,e);n.e=tNn(wz(n.k))}function ZSn(n,t){var e,i,r;jU(n.d,t),e=new ka,XW(n.c,t,e),e.f=Mhn(t.c),e.a=Mhn(t.d),e.d=(wxn(),(r=t.c.i.k)==(cSn(),Sut)||r==jut),e.e=(i=t.d.i.k)==Sut||i==jut,e.b=t.c.j==(mUn(),SIt),e.c=t.d.j==aIt}function nPn(n){var t,e,i,r,c;for(c=NWn,r=NWn,i=new Ub(mbn(n));i.a<i.c.c.length;)t=(e=KB(Y1(i),213)).e.e-e.d.e,e.e==n&&t<r?r=t:t<c&&(c=t);return r==NWn&&(r=-1),c==NWn&&(c=-1),new eI(tln(r),tln(c))}function tPn(n,t){var e,r,c;return c=JYn,Bpn(),r=Jrt,c=i.Math.abs(n.b),(e=i.Math.abs(t.f-n.b))<c&&(c=e,r=Yrt),(e=i.Math.abs(n.a))<c&&(c=e,r=Zrt),(e=i.Math.abs(t.g-n.a))<c&&(c=e,r=Qrt),r}function ePn(n,t){var e,i,r;for(e=t.a.o.a,r=new Tb(new u1(gW(t.a).b,t.c,t.f+1));r.b<r.d.gc();)if(Mx(r.b<r.d.gc()),(i=KB(r.d.Xb(r.c=r.b++),29)).c.a>=e)return oPn(n,t,i.p),!0;return!1}function iPn(n){var t;return 64&n.Db?pSn(n):(t=new hN(J5n),!n.a||aO(aO((t.a+=' "',t),n.a),'"'),aO(mE(aO(mE(aO(mE(aO(mE((t.a+=" (",t),n.i),","),n.j)," | "),n.g),","),n.f),")"),t.a)}function rPn(n,t,e){var i,r,c,a,u;for(u=rxn(n.e.Tg(),t),r=KB(n.g,119),i=0,a=0;a<n.i;++a)if(c=r[a],u.rl(c.ak())){if(i==e)return sDn(n,a),JM(),KB(t,66).Oj()?c:c.dd();++i}throw Fp(new Iy(n9n+e+a8n+i))}function cPn(n){var t,e,i;if(2==(t=n.c)||7==t||1==t)return lWn(),lWn(),aNt;for(i=CXn(n),e=null;2!=(t=n.c)&&7!=t&&1!=t;)e||(lWn(),lWn(),ZHn(e=new e$(1),i),i=e),ZHn(e,CXn(n));return i}function aPn(n,t,e){return n<0||n>e?bCn(n,e,"start index"):t<0||t>e?bCn(t,e,"end index"):ORn("end index (%s) must not be less than start index (%s)",Mun(Hk(Int,1),FWn,1,5,[tln(t),tln(n)]))}function uPn(n,t){var e,i,r,c;for(i=0,r=n.length;i<r;i++){c=n[i];try{c[1]?c[0].jm()&&(t=jG(t,c)):c[0].jm()}catch(a){if(!iL(a=hun(a),78))throw Fp(a);e=a,Nk(),vJ(iL(e,477)?KB(e,477).ae():e)}}return t}function oPn(n,t,e){var r,c;for(e!=t.c+t.b.gc()&&lHn(t.a,tan(t,e-t.c)),c=t.a.c.p,n.a[c]=i.Math.max(n.a[c],t.a.o.a),r=KB(pMn(t.a,(oWn(),Mlt)),15).Kc();r.Ob();)oon(KB(r.Pb(),70),Zot,(oN(),!0))}function sPn(n,t){var e,r,c;c=BNn(t),oon(t,(oWn(),hlt),c),c&&(r=NWn,IJ(n.f,c)&&(r=KB(BI(IJ(n.f,c)),19).a),By(jD(pMn(e=KB(Lq(t.g,0),17),Slt)))||XW(n,c,tln(i.Math.min(KB(pMn(e,llt),19).a,r))))}function hPn(n,t,e){var i,r,c,a;for(t.p=-1,a=Lwn(t,(rin(),Bvt)).Kc();a.Ob();)for(r=new Ub(KB(a.Pb(),11).g);r.a<r.c.c.length;)t!=(c=(i=KB(Y1(r),17)).d.i)&&(c.p<0?e.Fc(i):c.p>0&&hPn(n,c,e));t.p=0}function fPn(n){var t;this.c=new VT,this.f=n.e,this.e=n.d,this.i=n.g,this.d=n.c,this.b=n.b,this.k=n.j,this.a=n.a,n.i?this.j=n.i:this.j=new V_(t=KB(Xj(yMt),9),KB(TR(t,t.length),9),0),this.g=n.f}function lPn(n){var t,e,i,r;for(t=LX(aO(new hN("Predicates."),"and"),40),e=!0,r=new Tb(n);r.b<r.d.gc();)Mx(r.b<r.d.gc()),i=r.d.Xb(r.c=r.b++),e||(t.a+=","),t.a+=""+i,e=!1;return(t.a+=")",t).a}function bPn(n,t,e){var i,r,c;if(!(e<=t+2))for(r=(e-t)/2|0,i=0;i<r;++i)h1(t+i,n.c.length),c=KB(n.c[t+i],11),i5(n,t+i,(h1(e-i-1,n.c.length),KB(n.c[e-i-1],11))),h1(e-i-1,n.c.length),n.c[e-i-1]=c}function wPn(n,t,e){var i,r,c,a,u,o,s;u=(c=n.d.p).e,o=c.r,n.g=new W_(o),i=(a=n.d.o.c.p)>0?u[a-1]:L8(Cut,r1n,10,0,0,1),r=u[a],s=a<u.length-1?u[a+1]:L8(Cut,r1n,10,0,0,1),t==e-1?cZ(n.g,r,s):cZ(n.g,i,r)}function dPn(n){var t;this.j=new $p,this.f=new xv,this.b=new V_(t=KB(Xj(_It),9),KB(TR(t,t.length),9),0),this.d=L8(CNt,oQn,25,(mUn(),Mun(Hk(_It,1),VZn,61,0,[MIt,uIt,aIt,TIt,SIt])).length,15,1),this.g=n}function gPn(n,t){var e,i,r;if(0!=t.c.length){for(e=jMn(n,t),r=!1;!e;)k$n(n,t,!0),r=!0,e=jMn(n,t);r&&k$n(n,t,!1),i=Nun(t),n.b&&n.b.lg(i),n.a=Ohn(n,(h1(0,t.c.length),KB(t.c[0],33))),gPn(n,i)}}function pPn(n,t){var e,i,r;if(i=ttn(n.Tg(),t),(e=t-n.Ah())<0){if(!i)throw Fp(new Ry(a6n+t+u6n));if(!i.Ij())throw Fp(new Ry(e6n+i.ne()+i6n));(r=n.Yg(i))>=0?n.Bh(r):iIn(n,i)}else Bfn(n,e,i)}function vPn(n){var t,e;if(e=null,t=!1,iL(n,204)&&(t=!0,e=KB(n,204).a),t||iL(n,258)&&(t=!0,e=""+KB(n,258).a),t||iL(n,483)&&(t=!0,e=""+KB(n,483).a),!t)throw Fp(new Ay(F6n));return e}function mPn(n,t){var e,i;if(n.f){for(;t.Ob();)if(iL(i=(e=KB(t.Pb(),72)).ak(),99)&&KB(i,18).Bb&o6n&&(!n.e||i.Gj()!=AOt||0!=i.aj())&&null!=e.dd())return t.Ub(),!0;return!1}return t.Ob()}function yPn(n,t){var e,i;if(n.f){for(;t.Sb();)if(iL(i=(e=KB(t.Ub(),72)).ak(),99)&&KB(i,18).Bb&o6n&&(!n.e||i.Gj()!=AOt||0!=i.aj())&&null!=e.dd())return t.Pb(),!0;return!1}return t.Sb()}function kPn(n,t,e){var i,r,c,a,u,o;for(o=rxn(n.e.Tg(),t),i=0,u=n.i,r=KB(n.g,119),a=0;a<n.i;++a)if(c=r[a],o.rl(c.ak())){if(e==i)return a;++i,u=a+1}if(e==i)return u;throw Fp(new Iy(n9n+e+a8n+i))}function jPn(n,t){var e,r,c;if(0==n.f.c.length)return null;for(c=new fA,e=new Ub(n.f);e.a<e.c.c.length;)r=KB(Y1(e),70).o,c.b=i.Math.max(c.b,r.a),c.a+=r.b;return c.a+=(n.f.c.length-1)*t,c}function EPn(n,t,e){var i,r,c;for(r=new az(JL(obn(e).a.Kc(),new h));bAn(r);)f5(i=KB(G5(r),17))||!f5(i)&&i.c.i.c==i.d.i.c||(c=qLn(n,i,e,new cm)).c.length>1&&(t.c[t.c.length]=c)}function TPn(n){var t,e,i;for(_rn(e=new VT,n.o),i=new am;0!=e.b;)UUn(n,t=KB(0==e.b?null:(Mx(0!=e.b),Itn(e,e.a.a)),508),!0)&&UB(i.a,t);for(;0!=i.a.c.length;)UUn(n,t=KB(Zsn(i),508),!1)}function MPn(){MPn=O,mMt=new OC(oYn,0),lMt=new OC("BOOLEAN",1),gMt=new OC("INT",2),vMt=new OC("STRING",3),bMt=new OC("DOUBLE",4),wMt=new OC("ENUM",5),dMt=new OC("ENUMSET",6),pMt=new OC("OBJECT",7)}function SPn(n,t){var e,r,c,a,u;r=i.Math.min(n.c,t.c),a=i.Math.min(n.d,t.d),(c=i.Math.max(n.c+n.b,t.c+t.b))<r&&(e=r,r=c,c=e),(u=i.Math.max(n.d+n.a,t.d+t.a))<a&&(e=a,a=u,u=e),LH(n,r,a,c-r,u-a)}function PPn(){PPn=O,V$t=Mun(Hk(Wtt,1),uVn,2,6,[l7n,b7n,w7n,d7n,g7n,p7n,Y6n]),W$t=Mun(Hk(Wtt,1),uVn,2,6,[l7n,"empty",b7n,D9n,"elementOnly"]),J$t=Mun(Hk(Wtt,1),uVn,2,6,[l7n,"preserve","replace",v7n]),Q$t=new TH}function CPn(n,t,e){var i,r,c;if(t!=e){i=t;do{GR(n,i.c),(r=i.e)&&(Rx(n,(c=i.d).b,c.d),GR(n,r.n),i=gW(r))}while(r);i=e;do{zR(n,i.c),(r=i.e)&&(Kx(n,(c=i.d).b,c.d),zR(n,r.n),i=gW(r))}while(r)}}function IPn(n,t,e,i){var r,c,a,u,o;if(i.f.c+i.g.c==0)for(u=0,o=(a=n.a[n.c]).length;u<o;++u)XW(i,c=a[u],new mcn(n,c,e));return(r=KB(BI(IJ(i.f,t)),663)).b=0,r.c=r.f,0==r.c||jb(KB(Lq(r.a,r.b),287)),r}function OPn(){OPn=O,Jst=new yP("MEDIAN_LAYER",0),Zst=new yP("TAIL_LAYER",1),Qst=new yP("HEAD_LAYER",2),Yst=new yP("SPACE_EFFICIENT_LAYER",3),nht=new yP("WIDEST_LAYER",4),Vst=new yP("CENTER_LAYER",5)}function APn(n){switch(n.g){case 0:case 1:case 2:return mUn(),uIt;case 3:case 4:case 5:return mUn(),TIt;case 6:case 7:case 8:return mUn(),SIt;case 9:case 10:case 11:return mUn(),aIt;default:return mUn(),MIt}}function $Pn(n,t){var e;return 0!=n.c.length&&(e=Zwn((h1(0,n.c.length),KB(n.c[0],17)).c.i),KZ(),e==(fvn(),svt)||e==ovt||a5(OV(new xq(null,new l1(n,16)),new Fc),new tg(t)))}function LPn(n,t,e){var i,r,c;if(!n.b[t.g]){for(n.b[t.g]=!0,!(i=e)&&(i=new M6),NH(i.b,t),c=n.a[t.g].Kc();c.Ob();)(r=KB(c.Pb(),188)).b!=t&&LPn(n,r.b,i),r.c!=t&&LPn(n,r.c,i),NH(i.a,r);return i}return null}function NPn(){NPn=O,Wyt=new hC("ROOT_PROC",0),Gyt=new hC("FAN_PROC",1),Uyt=new hC("NEIGHBORS_PROC",2),zyt=new hC("LEVEL_HEIGHT",3),Xyt=new hC("NODE_POSITION_PROC",4),qyt=new hC("DETREEIFYING_PROC",5)}function xPn(n,t){if(iL(t,239))return qA(n,KB(t,33));if(iL(t,186))return GA(n,KB(t,118));if(iL(t,439))return HA(n,KB(t,202));throw Fp(new Ry(q6n+AMn(new Qy(Mun(Hk(Int,1),FWn,1,5,[t])))))}function DPn(n,t,e){var i,r;if(this.f=n,l6(e,r=(i=KB(xX(n.b,t),283))?i.a:0),e>=(r/2|0))for(this.e=i?i.c:null,this.d=r;e++<r;)jZ(this);else for(this.c=i?i.b:null;e-- >0;)kZ(this);this.b=t,this.a=null}function RPn(n,t){var e,i;t.a?qNn(n,t):(!!(e=KB(m_(n.b,t.b),57))&&e==n.a[t.b.f]&&!!e.a&&e.a!=t.b.a&&e.c.Fc(t.b),!!(i=KB(v_(n.b,t.b),57))&&n.a[i.f]==t.b&&!!i.a&&i.a!=t.b.a&&t.b.c.Fc(i),EN(n.b,t.b))}function _Pn(n,t){var e,i;if(e=KB(aV(n.b,t),124),KB(KB(o6(n.r,t),21),84).dc())return e.n.b=0,void(e.n.c=0);e.n.b=n.C.b,e.n.c=n.C.c,n.A.Hc((pdn(),RIt))&&vRn(n,t),i=zpn(n,t),MDn(n,t)==(ipn(),KCt)&&(i+=2*n.w),e.a.a=i}function KPn(n,t){var e,i;if(e=KB(aV(n.b,t),124),KB(KB(o6(n.r,t),21),84).dc())return e.n.d=0,void(e.n.a=0);e.n.d=n.C.d,e.n.a=n.C.a,n.A.Hc((pdn(),RIt))&&mRn(n,t),i=Upn(n,t),MDn(n,t)==(ipn(),KCt)&&(i+=2*n.w),e.a.b=i}function FPn(n,t){var e,i,r,c;for(c=new $p,i=new Ub(t);i.a<i.c.c.length;)UB(c,new xS(e=KB(Y1(i),65),!0)),UB(c,new xS(e,!1));py((r=new oJ(n)).a.a),n2(c,n.b,new Qy(Mun(Hk(ait,1),FWn,679,0,[r])))}function BPn(n,t,e,i){var r,c,a,u,o,s,h,f,l,b,w;return u=n.a,f=n.b,o=t.a,l=t.b,s=e.a,b=e.b,new LC(((c=u*l-f*o)*(s-(h=i.a))-(a=s*(w=i.b)-b*h)*(u-o))/(r=(u-o)*(b-w)-(f-l)*(s-h)),(c*(b-w)-a*(f-l))/r)}function HPn(n,t){var e,i,r;if(!n.d[t.p]){for(n.d[t.p]=!0,n.a[t.p]=!0,i=new az(JL(hbn(t).a.Kc(),new h));bAn(i);)f5(e=KB(G5(i),17))||(r=e.d.i,n.a[r.p]?UB(n.b,e):HPn(n,r));n.a[t.p]=!1}}function qPn(n,t,e){var i;switch(i=0,KB(pMn(t,(FXn(),mgt)),163).g){case 2:i=2*-e+n.a,++n.a;break;case 1:i=-e;break;case 3:i=e;break;case 4:i=2*e+n.b,++n.b}return Ax(t,(oWn(),llt))&&(i+=KB(pMn(t,llt),19).a),i}function GPn(n,t,e){var i,r,c;for(e.zc(t,n),UB(n.n,t),c=n.p.eg(t),t.j==n.p.fg()?Cbn(n.e,c):Cbn(n.j,c),eX(n),r=$U(Uen(Mun(Hk(Lnt,1),FWn,20,0,[new Fw(t),new Hw(t)])));bAn(r);)i=KB(G5(r),11),e._b(i)||GPn(n,i,e)}function zPn(n){var t,e;return KB(JAn(n,(uWn(),DSt)),21).Hc((pdn(),NIt))?(e=KB(JAn(n,BSt),21),t=new lA(KB(JAn(n,KSt),8)),e.Hc((Y_n(),HIt))&&(t.a<=0&&(t.a=20),t.b<=0&&(t.b=20)),t):new Hj}function UPn(n){var t,e,i;if(!n.b){for(i=new Co,e=new rx(xBn(n));e.e!=e.i.gc();)(t=KB(ypn(e),18)).Bb&o6n&&s9(i,t);ihn(i),n.b=new $O((KB(Utn(WQ((WX(),YAt).o),8),18),i.i),i.g),M5(n).b&=-9}return n.b}function XPn(n,t){var e,i,r,c,a,u;a=KB(kmn(wz(t.k),L8(_It,VZn,61,2,0,1)),122),Jmn(n,u=t.g,e=a3(t,a[0]),i=c3(t,a[1]))<=Jmn(n,u,r=a3(t,a[1]),c=c3(t,a[0]))?(t.a=e,t.c=i):(t.a=r,t.c=c)}function WPn(n,t,e){var i,r,c;for(CTn(e,"Processor set neighbors",1),n.a=0==t.b.b?1:t.b.b,r=null,i=upn(t.b,0);!r&&i.b!=i.d.c;)By(jD(pMn(c=KB(f3(i),86),(Bqn(),bkt))))&&(r=c);r&&ADn(n,new fg(r),e),FSn(e)}function VPn(n){var t,e,i,r;return xHn(),t=-1==(i=HO(n,VTn(35)))?n:n.substr(0,i),e=-1==i?null:n.substr(i+1),(r=X3(yAt,t))?null!=e&&(r=Ssn(r,(mW(e),e))):(r=UXn(t),r5(yAt,t,r),null!=e&&(r=Ssn(r,e))),r}function QPn(n){var t,e,i,r,c,a,u;if(TQ(),iL(n,54))for(c=0,r=n.gc()-1;c<r;++c,--r)t=n.Xb(c),n._c(c,n.Xb(r)),n._c(r,t);else for(e=n.Yc(),a=n.Zc(n.gc());e.Tb()<a.Vb();)i=e.Pb(),u=a.Ub(),e.Wb(u),a.Wb(i)}function JPn(n,t){var e,i,r;CTn(t,"End label pre-processing",1),e=Hy(ED(pMn(n,(FXn(),ypt)))),i=Hy(ED(pMn(n,Tpt))),r=wA(KB(pMn(n,Gdt),103)),QT(lnn(new xq(null,new l1(n.b,16)),new he),new NK(e,i,r)),FSn(t)}function YPn(n,t){var e,i,r,c,a,u;for(u=0,b3(c=new Ap,t);c.b!=c.c;)for(u+=uyn((a=KB(bU(c),214)).d,a.e),r=new Ub(a.b);r.a<r.c.c.length;)i=KB(Y1(r),37),(e=KB(Lq(n.b,i.p),214)).s||(u+=YPn(n,e));return u}function ZPn(n,t,e){var r,c;Ran(this),t==(bY(),Ayt)?jU(this.r,n.c):jU(this.w,n.c),jU(e==Ayt?this.r:this.w,n.d),ZSn(this,n),zMn(this,r=Mhn(n.c),c=Mhn(n.d),c),this.o=(wxn(),i.Math.abs(r-c)<.2)}function nCn(n,t,e){var i,r,c,a,u;if(null!=(a=KB(van(n.a,8),1936)))for(r=0,c=a.length;r<c;++r)null.jm();i=e,1&n.a.Db||(u=new cW(n,e,t),i.ui(u)),iL(i,672)?KB(i,672).wi(n.a):i.ti()==n.a&&i.vi(null)}function tCn(){var n;return QLt?KB(O$n((UM(),HAt),T7n),1945):(uUn(),n=KB(iL(TY((UM(),HAt),T7n),586)?TY(HAt,T7n):new qW,586),QLt=!0,wXn(n),dWn(n),XW((XM(),QAt),n,new _s),jyn(n),pZ(HAt,T7n,n),n)}function eCn(n,t,e,i){var r;return(r=qTn(n,e,Mun(Hk(Wtt,1),uVn,2,6,[fQn,lQn,bQn,wQn,dQn,gQn,pQn]),t))<0&&(r=qTn(n,e,Mun(Hk(Wtt,1),uVn,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),t)),!(r<0||(i.d=r,0))}function iCn(n,t,e,i){var r;return(r=qTn(n,e,Mun(Hk(Wtt,1),uVn,2,6,[fQn,lQn,bQn,wQn,dQn,gQn,pQn]),t))<0&&(r=qTn(n,e,Mun(Hk(Wtt,1),uVn,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),t)),!(r<0||(i.d=r,0))}function rCn(n){var t,e,i;for(R$n(n),i=new $p,e=new Ub(n.a.a.b);e.a<e.c.c.length;)UB(i,new sP(t=KB(Y1(e),81),!0)),UB(i,new sP(t,!1));Yvn(n.c),t2(i,n.b,new Qy(Mun(Hk(Qat,1),FWn,369,0,[n.c]))),gAn(n)}function cCn(n){var t,e,i,r;for(e=new Lp,r=new Ub(n.d);r.a<r.c.c.length;)i=KB(Y1(r),181),t=KB(i.We((oWn(),Gft)),17),IJ(e.f,t)||XW(e,t,new jQ(t)),UB(KB(BI(IJ(e.f,t)),456).b,i);return new Z_(new Cb(e))}function aCn(n,t){var e,i,r,c,a;for(i=new b1(n.j.c.length),e=null,c=new Ub(n.j);c.a<c.c.c.length;)(r=KB(Y1(c),11)).j!=e&&(i.b==i.c||_$n(i,e,t),a4(i),e=r.j),(a=pAn(r))&&l3(i,a);i.b==i.c||_$n(i,e,t)}function uCn(n,t){var e,i;for(i=new E2(n.b,0);i.b<i.d.gc();)Mx(i.b<i.d.gc()),e=KB(i.d.Xb(i.c=i.b++),70),KB(pMn(e,(FXn(),Vdt)),272)==(xtn(),GPt)&&(sW(i),UB(t.b,e),Ax(e,(oWn(),Gft))||oon(e,Gft,n))}function oCn(n){var t,e,r;for(t=_3(new az(JL(hbn(n).a.Kc(),new h))),e=new az(JL(sbn(n).a.Kc(),new h));bAn(e);)r=_3(new az(JL(hbn(KB(G5(e),17).c.i).a.Kc(),new h))),t=i.Math.max(t,r);return tln(t)}function sCn(n,t,e){var i,r,c,a;for(CTn(e,"Processor arrange node",1),r=null,c=new VT,i=upn(t.b,0);!r&&i.b!=i.d.c;)By(jD(pMn(a=KB(f3(i),86),(Bqn(),bkt))))&&(r=a);e5(c,r,c.c.b,c.c),Vzn(n,c,pcn(e,1)),FSn(e)}function hCn(n,t,e){var i,r,c;i=KB(JAn(n,(uWn(),oSt)),21),r=0,c=0,t.a>e.a&&(i.Hc((lEn(),UMt))?r=(t.a-e.a)/2:i.Hc(WMt)&&(r=t.a-e.a)),t.b>e.b&&(i.Hc((lEn(),QMt))?c=(t.b-e.b)/2:i.Hc(VMt)&&(c=t.b-e.b)),hMn(n,r,c)}function fCn(n,t,e,i,r,c,a,u,o,s,h,f,l){iL(n.Cb,88)&&ICn(M5(KB(n.Cb,88)),4),$rn(n,e),n.f=a,Oln(n,u),$ln(n,o),Iln(n,s),Aln(n,h),Yfn(n,f),Bln(n,l),Vfn(n,!0),Aen(n,r),n.ok(c),Phn(n,t),null!=i&&(n.i=null,rrn(n,i))}function lCn(n){var t,e;if(n.f){for(;n.n>0;){if(iL(e=(t=KB(n.k.Xb(n.n-1),72)).ak(),99)&&KB(e,18).Bb&o6n&&(!n.e||e.Gj()!=AOt||0!=e.aj())&&null!=t.dd())return!0;--n.n}return!1}return n.n>0}function bCn(n,t,e){if(n<0)return ORn(KWn,Mun(Hk(Int,1),FWn,1,5,[e,tln(n)]));if(t<0)throw Fp(new Ry(BWn+t));return ORn("%s (%s) must not be greater than size (%s)",Mun(Hk(Int,1),FWn,1,5,[e,tln(n),tln(t)]))}function wCn(n,t,e,i,r,c){var a,u,o;if(i-e<7)Obn(t,e,i,c);else if(wCn(t,n,u=e+r,o=u+((a=i+r)-u>>1),0,c),wCn(t,n,o,a,0,c),c.ue(n[o-1],n[o])<=0)for(;e<i;)OX(t,e++,n[u++]);else Hfn(n,u,o,a,t,e,i,c)}function dCn(n,t){var e,i,r;for(r=new $p,i=new Ub(n.c.a.b);i.a<i.c.c.length;)e=KB(Y1(i),57),t.Lb(e)&&(UB(r,new CS(e,!0)),UB(r,new CS(e,!1)));Jvn(n.e),n2(r,n.d,new Qy(Mun(Hk(ait,1),FWn,679,0,[n.e])))}function gCn(n,t){var e,i,r,c,a,u,o;for(o=t.d,r=t.b.j,u=new Ub(o);u.a<u.c.c.length;)for(a=KB(Y1(u),101),c=L8(INt,JJn,25,r.c.length,16,1),XW(n.b,a,c),e=a.a.d.p-1,i=a.c.d.p;e!=i;)c[e=(e+1)%r.c.length]=!0}function pCn(n,t){for(n.r=new _an(n.p),Ql(n.r,n),_rn(n.r.j,n.j),vQ(n.j),NH(n.j,t),NH(n.r.e,t),eX(n),eX(n.r);0!=n.f.c.length;)H$(KB(Lq(n.f,0),129));for(;0!=n.k.c.length;)H$(KB(Lq(n.k,0),129));return n.r}function vCn(n,t,e){var i,r,c;if(r=ttn(n.Tg(),t),(i=t-n.Ah())<0){if(!r)throw Fp(new Ry(a6n+t+u6n));if(!r.Ij())throw Fp(new Ry(e6n+r.ne()+i6n));(c=n.Yg(r))>=0?n.sh(c,e):jLn(n,r,e)}else Abn(n,i,r,e)}function mCn(n){var t,e,i,r;if(e=KB(n,49).qh())try{if(i=null,(t=O$n((UM(),HAt),EKn(Rbn(e))))&&(r=t.rh())&&(i=r.Wk(zy(e.e))),i&&i!=n)return mCn(i)}catch(c){if(!iL(c=hun(c),60))throw Fp(c)}return n}function yCn(n,t,e){var i,r,c,a;if(a=null==t?0:n.b.se(t),0==(r=null==(i=n.a.get(a))?new Array:i).length)n.a.set(a,r);else if(c=ohn(n,t,r))return c.ed(e);return OX(r,r.length,new MS(t,e)),++n.c,aJ(n.b),null}function kCn(n,t){var e;return o2(n.a),SU(n.a,(Mrn(),Wkt),Wkt),SU(n.a,Vkt,Vkt),bq(e=new K2,Vkt,(Sbn(),njt)),HI(JAn(t,(Gyn(),Tjt)))!==HI((Fsn(),ujt))&&bq(e,Vkt,Ykt),bq(e,Vkt,Zkt),rA(n.a,e),Oqn(n.a,t)}function jCn(n){if(!n)return hk(),ott;var t=n.valueOf?n.valueOf():n;if(t!==n){var e=stt[typeof t];return e?e(t):mhn(typeof t)}return n instanceof Array||n instanceof i.Array?new jl(n):new Ml(n)}function ECn(n,t,e){var r,c,a;switch(a=n.o,(c=(r=KB(aV(n.p,e),244)).i).b=TIn(r),c.a=EIn(r),c.b=i.Math.max(c.b,a.a),c.b>a.a&&!t&&(c.b=a.a),c.c=-(c.b-a.a)/2,e.g){case 1:c.d=-c.a;break;case 3:c.d=a.b}RFn(r),HFn(r)}function TCn(n,t,e){var r,c,a;switch(a=n.o,(c=(r=KB(aV(n.p,e),244)).i).b=TIn(r),c.a=EIn(r),c.a=i.Math.max(c.a,a.b),c.a>a.b&&!t&&(c.a=a.b),c.d=-(c.a-a.b)/2,e.g){case 4:c.c=-c.b;break;case 2:c.c=a.a}RFn(r),HFn(r)}function MCn(n,t){var e,i,r,c,a;if(!t.dc())if(r=KB(t.Xb(0),128),1!=t.gc())for(e=1;e<t.gc();)!r.j&&r.o||(c=gyn(t,e))&&(i=KB(c.a,19).a,mxn(n,r,a=KB(c.b,128),e,i,t),e=i+1,r=a);else mxn(n,r,r,1,0,t)}function SCn(n){var t,e,i,r;for(p$(r=new Z_(n.d),new zr),mDn(),t=Mun(Hk(tht,1),OVn,270,0,[Kst,Hst,_st,zst,Bst,Fst,Gst,qst]),e=0,i=new Ub(r);i.a<i.c.c.length;)SOn(KB(Y1(i),101),t[e%t.length]),++e}function PCn(n,t){var e,i,r,c;if(yDn(),t.b<2)return!1;for(i=e=KB(f3(c=upn(t,0)),8);c.b!=c.d.c;){if(r=KB(f3(c),8),!Ncn(n,i)||!Ncn(n,r))return!1;i=r}return!(!Ncn(n,i)||!Ncn(n,e))}function CCn(n,t){var e,i,r,c,a;return e=xen(a=n,"x"),Y7(new Bg(t).a,e),i=xen(a,"y"),Z7(new Hg(t).a,i),r=xen(a,S6n),nnn(new qg(t).a,r),c=xen(a,M6n),tnn(new Gg(t).a,c),c}function ICn(n,t){bRn(n,t),1&n.b&&(n.a.a=null),2&n.b&&(n.a.f=null),4&n.b&&(n.a.g=null,n.a.i=null),16&n.b&&(n.a.d=null,n.a.e=null),8&n.b&&(n.a.b=null),32&n.b&&(n.a.j=null,n.a.c=null)}function OCn(n,t){var e,i;if(i=0,t.length>0)try{i=hKn(t,RVn,NWn)}catch(r){throw iL(r=hun(r),127)?Fp(new A7(r)):Fp(r)}return!n.a&&(n.a=new Tp(n)),i<(e=n.a).i&&i>=0?KB(Utn(e,i),56):null}function ACn(n,t){if(n<0)return ORn(KWn,Mun(Hk(Int,1),FWn,1,5,["index",tln(n)]));if(t<0)throw Fp(new Ry(BWn+t));return ORn("%s (%s) must be less than size (%s)",Mun(Hk(Int,1),FWn,1,5,["index",tln(n),tln(t)]))}function $Cn(n){var t,e,i,r,c;if(null==n)return qWn;for(c=new Oan(_Wn,"[","]"),i=0,r=(e=n).length;i<r;++i)t=e[i],c.a?aO(c.a,c.b):c.a=new hN(c.d),rO(c.a,""+t);return c.a?0==c.e.length?c.a.a:c.a.a+""+c.e:c.c}function LCn(n){var t,e,i,r,c;if(null==n)return qWn;for(c=new Oan(_Wn,"[","]"),i=0,r=(e=n).length;i<r;++i)t=e[i],c.a?aO(c.a,c.b):c.a=new hN(c.d),rO(c.a,""+t);return c.a?0==c.e.length?c.a.a:c.a.a+""+c.e:c.c}function NCn(n){var t,e,i,r,c;if(null==n)return qWn;for(c=new Oan(_Wn,"[","]"),i=0,r=(e=n).length;i<r;++i)t=e[i],c.a?aO(c.a,c.b):c.a=new hN(c.d),rO(c.a,""+t);return c.a?0==c.e.length?c.a.a:c.a.a+""+c.e:c.c}function xCn(n){var t,e,i,r,c;if(null==n)return qWn;for(c=new Oan(_Wn,"[","]"),i=0,r=(e=n).length;i<r;++i)t=e[i],c.a?aO(c.a,c.b):c.a=new hN(c.d),rO(c.a,""+t);return c.a?0==c.e.length?c.a.a:c.a.a+""+c.e:c.c}function DCn(n,t){var e,i,r,c,a,u;for(e=n.b.c.length,r=Lq(n.b,t);2*t+1<e&&(u=c=2*t+1,(a=c+1)<e&&n.a.ue(Lq(n.b,a),Lq(n.b,c))<0&&(u=a),i=u,!(n.a.ue(r,Lq(n.b,i))<0));)i5(n.b,t,Lq(n.b,i)),t=i;i5(n.b,t,r)}function RCn(n,t,e,r,c,a){var u,o,s,h,f;for(HI(n)===HI(e)&&(n=n.slice(t,t+c),t=0),s=e,o=t,h=t+c;o<h;)c=(u=i.Math.min(o+1e4,h))-o,(f=n.slice(o,u)).splice(0,0,r,a?c:0),Array.prototype.splice.apply(s,f),o=u,r+=c}function _Cn(n,t,e){var i,r;return i=e.d,r=e.e,n.g[i.d]<=n.i[t.d]&&n.i[t.d]<=n.i[i.d]&&n.g[r.d]<=n.i[t.d]&&n.i[t.d]<=n.i[r.d]?!(n.i[i.d]<n.i[r.d]):n.i[i.d]<n.i[r.d]}function KCn(n){var t,e,i,r,c,a,u;if((i=n.a.c.length)>0)for(a=n.c.d,r=mL(zR(new LC((u=n.d.d).a,u.b),a),1/(i+1)),c=new LC(a.a,a.b),e=new Ub(n.a);e.a<e.c.c.length;)(t=KB(Y1(e),559)).d.a=c.a,t.d.b=c.b,GR(c,r)}function FCn(n,t,e){var r,c,a,u,o,s;for(s=xQn,a=new Ub(HLn(n.b));a.a<a.c.c.length;)for(c=KB(Y1(a),168),o=new Ub(HLn(t.b));o.a<o.c.c.length;)u=KB(Y1(o),168),r=Sun(c.a,c.b,u.a,u.b,e),s=i.Math.min(s,r);return s}function BCn(n,t){if(!t)throw Fp(new wv);if(n.j=t,!n.d)switch(n.j.g){case 1:n.a.a=n.o.a/2,n.a.b=0;break;case 2:n.a.a=n.o.a,n.a.b=n.o.b/2;break;case 3:n.a.a=n.o.a/2,n.a.b=n.o.b;break;case 4:n.a.a=0,n.a.b=n.o.b/2}}function HCn(n,t){var e,r;return iL(t.g,10)&&KB(t.g,10).k==(cSn(),Eut)?xQn:s3(t)?i.Math.max(0,n.b/2-.5):(e=s2(t))?(r=Hy(ED(ndn(e,(FXn(),Cpt)))),i.Math.max(0,r/2-.5)):xQn}function qCn(n,t){var e,r;return iL(t.g,10)&&KB(t.g,10).k==(cSn(),Eut)?xQn:s3(t)?i.Math.max(0,n.b/2-.5):(e=s2(t))?(r=Hy(ED(ndn(e,(FXn(),Cpt)))),i.Math.max(0,r/2-.5)):xQn}function GCn(n){var t,e,i,r;for(r=Afn(n.d,n.e).Kc();r.Ob();)for(i=KB(r.Pb(),11),e=new Ub(n.e==(mUn(),SIt)?i.e:i.g);e.a<e.c.c.length;)f5(t=KB(Y1(e),17))||t.c.i.c==t.d.i.c||(xSn(n,t),++n.f,++n.c)}function zCn(n,t){var e,i;if(t.dc())return TQ(),TQ(),uet;for(UB(i=new $p,tln(RVn)),e=1;e<n.f;++e)null==n.a&&lRn(n),n.a[e]&&UB(i,tln(e));return 1==i.c.length?(TQ(),TQ(),uet):(UB(i,tln(NWn)),bBn(t,i))}function UCn(n,t){var e,i,r,c,a,u;e=ikn(t,u=t.c.i.k!=(cSn(),Sut)?t.d:t.c).i,r=KB(xX(n.k,u),121),i=n.i[e.p].a,I_(u.i)<(e.c?k7(e.c.a,e,0):-1)?(c=r,a=i):(c=i,a=r),GNn(rM(iM(cM(eM(new Fv,0),4),c),a))}function XCn(n,t,e){var i,r,c;if(e)for(r=((i=new oz(e.a.length)).b-i.a)*i.c<0?(nS(),jNt):new zL(i);r.Ob();)(c=Imn(n,mIn(bnn(e,KB(r.Pb(),19).a))))&&(!t.b&&(t.b=new o_(xOt,t,4,7)),s9(t.b,c))}function WCn(n,t,e){var i,r,c;if(e)for(r=((i=new oz(e.a.length)).b-i.a)*i.c<0?(nS(),jNt):new zL(i);r.Ob();)(c=Imn(n,mIn(bnn(e,KB(r.Pb(),19).a))))&&(!t.c&&(t.c=new o_(xOt,t,5,8)),s9(t.c,c))}function VCn(n,t,e){var i,r;i=t.a&n.f,t.b=n.b[i],n.b[i]=t,r=t.f&n.f,t.d=n.c[r],n.c[r]=t,e?(t.e=e.e,t.e?t.e.c=t:n.a=t,t.c=e.c,t.c?t.c.e=t:n.e=t):(t.e=n.e,t.c=null,n.e?n.e.c=t:n.a=t,n.e=t),++n.i,++n.g}function QCn(n){var t,e,i;if(t=n.Pb(),!n.Ob())return t;for(i=cO(aO(new Sk,"expected one element but was: <"),t),e=0;e<4&&n.Ob();e++)cO((i.a+=_Wn,i),n.Pb());throw n.Ob()&&(i.a+=", ..."),i.a+=">",Fp(new Ry(i.a))}function JCn(n,t){var e;t.d?t.d.b=t.b:n.a=t.b,t.b?t.b.d=t.d:n.e=t.d,t.e||t.c?(--(e=KB(xX(n.b,t.a),283)).a,t.e?t.e.c=t.c:e.b=t.c,t.c?t.c.e=t.e:e.c=t.e):((e=KB(g6(n.b,t.a),283)).a=0,++n.c),--n.d}function YCn(n){var t,e;return e=-n.a,t=Mun(Hk(PNt,1),UVn,25,15,[43,48,48,48,48]),e<0&&(t[0]=45,e=-e),t[1]=t[1]+((e/60|0)/10|0)&WVn,t[2]=t[2]+(e/60|0)%10&WVn,t[3]=t[3]+(e%60/10|0)&WVn,t[4]=t[4]+e%10&WVn,Kdn(t,0,t.length)}function ZCn(n,t,e){var i,r;for(i=t.d,r=e.d;i.a-r.a==0&&i.b-r.b==0;)i.a+=F$n(n,26)*eJn+F$n(n,27)*iJn-.5,i.b+=F$n(n,26)*eJn+F$n(n,27)*iJn-.5,r.a+=F$n(n,26)*eJn+F$n(n,27)*iJn-.5,r.b+=F$n(n,26)*eJn+F$n(n,27)*iJn-.5}function nIn(n){var t,e,i,r;for(n.g=new Fbn(KB(vX(_It),290)),i=0,mUn(),e=uIt,t=0;t<n.j.c.length;t++)(r=KB(Lq(n.j,t),11)).j!=e&&(i!=t&&pG(n.g,e,new eI(tln(i),tln(t))),e=r.j,i=t);pG(n.g,e,new eI(tln(i),tln(t)))}function tIn(n){var t,e,i,r,c;for(e=0,t=new Ub(n.b);t.a<t.c.c.length;)for(r=new Ub(KB(Y1(t),29).a);r.a<r.c.c.length;)for((i=KB(Y1(r),10)).p=e++,c=new Ub(i.j);c.a<c.c.c.length;)KB(Y1(c),11).p=e++}function eIn(n,t,e,i,r){var c,a,u,o;if(t)for(a=t.Kc();a.Ob();)for(o=iRn(KB(a.Pb(),10),(rin(),Bvt),e).Kc();o.Ob();)u=KB(o.Pb(),11),(c=KB(BI(IJ(r.f,u)),112))||(c=new _an(n.d),i.c[i.c.length]=c,GPn(c,u,r))}function iIn(n,t){var e,i,r;if(!(r=_qn((PPn(),Q$t),n.Tg(),t)))throw Fp(new Ry(e6n+t.ne()+i6n));JM(),KB(r,66).Oj()||(r=J1(K7(Q$t,r))),i=KB((e=n.Yg(r))>=0?n._g(e,!0,!0):iOn(n,r,!0),153),KB(i,215).ol(t)}function rIn(n){var t,e;return n>-0x800000000000&&n<0x800000000000?0==n?0:((t=n<0)&&(n=-n),e=SY(i.Math.floor(i.Math.log(n)/.6931471805599453)),(!t||n!=i.Math.pow(2,e))&&++e,e):Xan(san(n))}function cIn(n){var t,e,i,r,c,a,u;for(c=new sA,e=new Ub(n);e.a<e.c.c.length;)a=(t=KB(Y1(e),129)).a,u=t.b,c.a._b(a)||c.a._b(u)||(r=a,i=u,a.e.b+a.j.b>2&&u.e.b+u.j.b<=2&&(r=u,i=a),c.a.zc(r,c),r.q=i);return c}function aIn(n,t){var e,i,r;return Ban(i=new Ovn(n),t),oon(i,(oWn(),Xft),t),oon(i,(FXn(),npt),(WEn(),zCt)),oon(i,mdt,(lvn(),CMt)),Kl(i,(cSn(),Eut)),SZ(e=new SSn,i),BCn(e,(mUn(),SIt)),SZ(r=new SSn,i),BCn(r,aIt),i}function uIn(n){switch(n.g){case 0:return new $y((ain(),Cmt));case 1:return new bf;case 2:return new yf;default:throw Fp(new Ry("No implementation is available for the crossing minimizer "+(null!=n.f?n.f:""+n.g)))}}function oIn(n,t){var e,i,r,c;for(n.c[t.p]=!0,UB(n.a,t),c=new Ub(t.j);c.a<c.c.c.length;)for(e=new p6((r=KB(Y1(c),11)).b);v$(e.a)||v$(e.b);)i=Ydn(r,KB(v$(e.a)?Y1(e.a):Y1(e.b),17)).i,n.c[i.p]||oIn(n,i)}function sIn(n){var t,e,r,c,a,u,o;for(u=0,e=new IL((!n.a&&(n.a=new nU(qOt,n,10,11)),n.a));e.e!=e.i.gc();)o=(t=KB(mpn(e),33)).g,c=t.f,r=i.Math.sqrt(o*o+c*c),u=i.Math.max(r,u),a=sIn(t),u=i.Math.max(a,u);return u}function hIn(){hIn=O,eIt=new zC("OUTSIDE",0),nIt=new zC("INSIDE",1),tIt=new zC("NEXT_TO_PORT_IF_POSSIBLE",2),ZCt=new zC("ALWAYS_SAME_SIDE",3),YCt=new zC("ALWAYS_OTHER_SAME_SIDE",4),iIt=new zC("SPACE_EFFICIENT",5)}function fIn(n,t,e){var i,r,c,a;return Oin(i=D2(n,(Zj(),r=new ym,!!e&&YLn(r,e),r),t),x2(t,B6n)),TTn(t,i),a$n(t,i),CCn(t,i),c=$2(t,"ports"),MLn((a=new dI(n,i)).a,a.b,c),Lon(n,t,i),run(n,t,i),i}function lIn(n){var t,e;return e=-n.a,t=Mun(Hk(PNt,1),UVn,25,15,[43,48,48,58,48,48]),e<0&&(t[0]=45,e=-e),t[1]=t[1]+((e/60|0)/10|0)&WVn,t[2]=t[2]+(e/60|0)%10&WVn,t[4]=t[4]+(e%60/10|0)&WVn,t[5]=t[5]+e%10&WVn,Kdn(t,0,t.length)}function bIn(n){var t;return t=Mun(Hk(PNt,1),UVn,25,15,[71,77,84,45,48,48,58,48,48]),n<=0&&(t[3]=43,n=-n),t[4]=t[4]+((n/60|0)/10|0)&WVn,t[5]=t[5]+(n/60|0)%10&WVn,t[7]=t[7]+(n%60/10|0)&WVn,t[8]=t[8]+n%10&WVn,Kdn(t,0,t.length)}function wIn(n){var t,e,i,r,c;if(null==n)return qWn;for(c=new Oan(_Wn,"[","]"),i=0,r=(e=n).length;i<r;++i)t=e[i],c.a?aO(c.a,c.b):c.a=new hN(c.d),rO(c.a,""+gz(t));return c.a?0==c.e.length?c.a.a:c.a.a+""+c.e:c.c}function dIn(n,t){var e,r,c;for(c=NWn,r=new Ub(mbn(t));r.a<r.c.c.length;)(e=KB(Y1(r),213)).f&&!n.c[e.c]&&(n.c[e.c]=!0,c=i.Math.min(c,dIn(n,$bn(e,t))));return n.i[t.d]=n.j,n.g[t.d]=i.Math.min(c,n.j++),n.g[t.d]}function gIn(n,t){var e,i,r;for(r=KB(KB(o6(n.r,t),21),84).Kc();r.Ob();)(i=KB(r.Pb(),111)).e.b=(e=i.b).Xe((uWn(),rPt))?e.Hf()==(mUn(),uIt)?-e.rf().b-Hy(ED(e.We(rPt))):Hy(ED(e.We(rPt))):e.Hf()==(mUn(),uIt)?-e.rf().b:0}function pIn(n){var t,e,i,r,c,a,u;for(e=WA(n.e),c=mL(Kx(K$(XA(n.e)),n.d*n.a,n.c*n.b),-.5),t=e.a-c.a,r=e.b-c.b,u=0;u<n.c;u++){for(i=t,a=0;a<n.d;a++)Ubn(n.e,new GV(i,r,n.a,n.b))&&_Rn(n,a,u,!1,!0),i+=n.a;r+=n.b}}function vIn(n){var t,e,i;if(By(jD(JAn(n,(uWn(),TSt))))){for(i=new $p,e=new az(JL(bLn(n).a.Kc(),new h));bAn(e);)WIn(t=KB(G5(e),79))&&By(jD(JAn(t,MSt)))&&(i.c[i.c.length]=t);return i}return TQ(),TQ(),uet}function mIn(n){var t;if(t=!1,iL(n,204))return t=!0,KB(n,204).a;if(!t&&iL(n,258)&&KB(n,258).a%1==0)return t=!0,tln(WO(KB(n,258).a));throw Fp(new nk("Id must be a string or an integer: '"+n+"'."))}function yIn(n,t){var e,i,r,c,a,u;for(c=null,r=new eU((!n.a&&(n.a=new Tp(n)),n.a));fOn(r);)if(VBn(a=(e=KB(rLn(r),56)).Tg()),null!=(i=(u=a.o)&&e.mh(u)?d_(cun(u),e.ah(u)):null)&&p_(i,t)){c=e;break}return c}function kIn(n,t,e){var i,r,c,a,u;if(hin(e,"occurrences"),0==e)return(u=KB(hfn(CQ(n.a),t),14))?u.gc():0;if(!(a=KB(hfn(CQ(n.a),t),14)))return 0;if(e>=(c=a.gc()))a.$b();else for(r=a.Kc(),i=0;i<e;i++)r.Pb(),r.Qb();return c}function jIn(n,t,e){var i,r,c;return hin(e,"oldCount"),hin(0,"newCount"),((i=KB(hfn(CQ(n.a),t),14))?i.gc():0)==e&&(hin(0,"count"),(c=-((r=KB(hfn(CQ(n.a),t),14))?r.gc():0))>0?lk():c<0&&kIn(n,t,-c),!0)}function EIn(n){var t,e,i,r,c,a;if(a=0,0==n.b){for(t=0,r=0,c=(i=zvn(n,!0)).length;r<c;++r)(e=i[r])>0&&(a+=e,++t);t>1&&(a+=n.c*(t-1))}else a=Dk(ncn(AV(IV(AU(n.a),new Mn),new Sn)));return a>0?a+n.n.d+n.n.a:0}function TIn(n){var t,e,i,r,c,a;if(a=0,0==n.b)a=Dk(ncn(AV(IV(AU(n.a),new En),new Tn)));else{for(t=0,r=0,c=(i=Uvn(n,!0)).length;r<c;++r)(e=i[r])>0&&(a+=e,++t);t>1&&(a+=n.c*(t-1))}return a>0?a+n.n.b+n.n.c:0}function MIn(n,t){var e,r,c,a;for(e=(a=KB(aV(n.b,t),124)).a,c=KB(KB(o6(n.r,t),21),84).Kc();c.Ob();)(r=KB(c.Pb(),111)).c&&(e.a=i.Math.max(e.a,XH(r.c)));if(e.a>0)switch(t.g){case 2:a.n.c=n.s;break;case 4:a.n.b=n.s}}function SIn(n,t){var e,i,r;return 0==(e=KB(pMn(t,(sRn(),Jct)),19).a-KB(pMn(n,Jct),19).a)?(i=zR(K$(KB(pMn(n,(Ern(),cat)),8)),KB(pMn(n,aat),8)),r=zR(K$(KB(pMn(t,cat),8)),KB(pMn(t,aat),8)),Mln(i.a*i.b,r.a*r.b)):e}function PIn(n,t){var e,i,r;return 0==(e=KB(pMn(t,(SAn(),Okt)),19).a-KB(pMn(n,Okt),19).a)?(i=zR(K$(KB(pMn(n,(Bqn(),Jyt)),8)),KB(pMn(n,Yyt),8)),r=zR(K$(KB(pMn(t,Jyt),8)),KB(pMn(t,Yyt),8)),Mln(i.a*i.b,r.a*r.b)):e}function CIn(n){var t,e;return(e=new Sk).a+="e_",null!=(t=zan(n))&&(e.a+=""+t),n.c&&n.d&&(aO((e.a+=" ",e),dyn(n.c)),aO(cO((e.a+="[",e),n.c.i),"]"),aO((e.a+=n1n,e),dyn(n.d)),aO(cO((e.a+="[",e),n.d.i),"]")),e.a}function IIn(n){switch(n.g){case 0:return new df;case 1:return new gf;case 2:return new wf;case 3:return new pf;default:throw Fp(new Ry("No implementation is available for the layout phase "+(null!=n.f?n.f:""+n.g)))}}function OIn(n,t,e,r,c){var a;switch(a=0,c.g){case 1:a=i.Math.max(0,t.b+n.b-(e.b+r));break;case 3:a=i.Math.max(0,-n.b-r);break;case 2:a=i.Math.max(0,-n.a-r);break;case 4:a=i.Math.max(0,t.a+n.a-(e.a+r))}return a}function AIn(n,t,e){var i,r,c;if(e)for(c=((i=new oz(e.a.length)).b-i.a)*i.c<0?(nS(),jNt):new zL(i);c.Ob();)r=L2(e,KB(c.Pb(),19).a),A6n in r.a||$6n in r.a?u_n(n,r,t):kXn(n,r,t),ML(KB(xX(n.b,Wdn(r)),79))}function $In(n){var t,e;switch(n.b){case-1:return!0;case 0:return(e=n.t)>1||-1==e||(t=Pkn(n))&&(JM(),t.Cj()==k9n)?(n.b=-1,!0):(n.b=1,!1);default:return!1}}function LIn(n,t){var e,i,r,c,a;for(!t.s&&(t.s=new nU(RAt,t,21,17)),c=null,r=0,a=(i=t.s).i;r<a;++r)switch(NW(K7(n,e=KB(Utn(i,r),170)))){case 2:case 3:!c&&(c=new $p),c.c[c.c.length]=e}return c||(TQ(),TQ(),uet)}function NIn(n,t){var e,i,r,c;if(WXn(n),0!=n.c||123!=n.a)throw Fp(new rk(mWn((c$(),M8n))));if(c=112==t,i=n.d,(e=hx(n.i,125,i))<0)throw Fp(new rk(mWn((c$(),S8n))));return r=sx(n.i,i,e),n.d=e+1,f9(r,c,!(512&~n.e))}function xIn(n){var t;if((t=KB(pMn(n,(FXn(),Bdt)),314))==(Cin(),oht))throw Fp(new ik("The hierarchy aware processor "+t+" in child node "+n+" is only allowed if the root node specifies the same hierarchical processor."))}function DIn(n,t){var e,i,r,c;for(HK(),e=null,r=t.Kc();r.Ob();)(i=KB(r.Pb(),128)).o||(UB((c=new MBn(_$(i.a),fH(i.a),null,KB(i.d.a.ec().Kc().Pb(),17))).c,i.a),n.c[n.c.length]=c,e&&UB(e.d,c),e=c)}function RIn(n,t){var e,i,r;if(t)if(4&t.i)for(i="[]",e=t.c;;e=e.c){if(!(4&e.i)){Fin(n,r=Gy((kD(e),e.o+i))),Len(n,r);break}i+="[]"}else Fin(n,r=Gy((kD(t),t.o))),Len(n,r);else Fin(n,null),Len(n,null);n.yk(t)}function _In(n,t,e,i,r){var c,a,u,o;return HI(o=oD(n,KB(r,56)))!==HI(r)?(u=KB(n.g[e],72),yL(n,e,uTn(n,e,c=J3(t,o))),pA(n.e)&&(DEn(a=AJ(n,9,c.ak(),r,o,i,!1),new $7(n.e,9,n.c,u,c,i,!1)),O7(a)),o):r}function KIn(n,t,e){var i,r,c,a,u,o;for(i=KB(o6(n.c,t),15),r=KB(o6(n.c,e),15),c=i.Zc(i.gc()),a=r.Zc(r.gc());c.Sb()&&a.Sb();)if((u=KB(c.Ub(),19))!=(o=KB(a.Ub(),19)))return k$(u.a,o.a);return c.Ob()||a.Ob()?c.Ob()?1:-1:0}function FIn(n,t){var e,i;try{return z1(n.a,t)}catch(r){if(iL(r=hun(r),32)){try{if(i=hKn(t,RVn,NWn),e=Xj(n.a),i>=0&&i<e.length)return e[i]}catch(c){if(!iL(c=hun(c),127))throw Fp(c)}return null}throw Fp(r)}}function BIn(n,t){var e,i,r;if(r=_qn((PPn(),Q$t),n.Tg(),t))return JM(),KB(r,66).Oj()||(r=J1(K7(Q$t,r))),i=KB((e=n.Yg(r))>=0?n._g(e,!0,!0):iOn(n,r,!0),153),KB(i,215).ll(t);throw Fp(new Ry(e6n+t.ne()+c6n))}function HIn(){var n;return ZM(),X$t?KB(O$n((UM(),HAt),X9n),1939):(xO(Fnt,new Cs),YGn(),n=KB(iL(TY((UM(),HAt),X9n),547)?TY(HAt,X9n):new GW,547),X$t=!0,aWn(n),jWn(n),XW((XM(),QAt),n,new Go),pZ(HAt,X9n,n),n)}function qIn(n,t){var e,i,r,c;n.j=-1,pA(n.e)?(e=n.i,c=0!=n.i,i6(n,t),i=new $7(n.e,3,n.c,null,t,e,c),r=t.Qk(n.e,n.c,null),(r=PEn(n,t,r))?(r.Ei(i),r.Fi()):fan(n.e,i)):(i6(n,t),(r=t.Qk(n.e,n.c,null))&&r.Fi())}function GIn(n,t){var e,i,r;if(r=0,(i=t[0])>=n.length)return-1;for(f1(i,n.length),e=n.charCodeAt(i);e>=48&&e<=57&&(r=10*r+(e-48),!(++i>=n.length));)f1(i,n.length),e=n.charCodeAt(i);return i>t[0]?t[0]=i:r=-1,r}function zIn(n){var t,e,r,c,a;return e=c=KB(n.a,19).a,r=a=KB(n.b,19).a,t=i.Math.max(i.Math.abs(c),i.Math.abs(a)),c<=0&&c==a?(e=0,r=a-1):c==-t&&a!=t?(e=a,r=c,a>=0&&++e):(e=-a,r=c),new eI(tln(e),tln(r))}function UIn(n,t,e,i){var r,c,a,u,o,s;for(r=0;r<t.o;r++)for(c=r-t.j+e,a=0;a<t.p;a++)if(o=c,s=u=a-t.k+i,o+=n.j,s+=n.k,o>=0&&s>=0&&o<n.o&&s<n.p&&(!pmn(t,r,a)&&tmn(n,c,u)||gmn(t,r,a)&&!emn(n,c,u)))return!0;return!1}function XIn(n,t,e){var i,r,c,a;c=n.c,a=n.d,r=(Ion(Mun(Hk(MMt,1),uVn,8,0,[c.i.n,c.n,c.a])).b+Ion(Mun(Hk(MMt,1),uVn,8,0,[a.i.n,a.n,a.a])).b)/2,i=null,i=c.j==(mUn(),aIt)?new LC(t+c.i.c.c.a+e,r):new LC(t-e,r),Dx(n.a,0,i)}function WIn(n){var t,e,i;for(t=null,e=$U(Uen(Mun(Hk(Lnt,1),FWn,20,0,[(!n.b&&(n.b=new o_(xOt,n,4,7)),n.b),(!n.c&&(n.c=new o_(xOt,n,5,8)),n.c)])));bAn(e);)if(i=MTn(KB(G5(e),82)),t){if(t!=i)return!1}else t=i;return!0}function VIn(n,t,e){var i;if(++n.j,t>=n.i)throw Fp(new Iy(c8n+t+a8n+n.i));if(e>=n.i)throw Fp(new Iy(u8n+e+a8n+n.i));return i=n.g[e],t!=e&&(t<e?rHn(n.g,t,n.g,t+1,e-t):rHn(n.g,e+1,n.g,e,t-e),OX(n.g,t,i),n.ei(t,i,e),n.ci()),i}function QIn(n,t,e){var i;if(i=KB(n.c.xc(t),14))return!!i.Fc(e)&&(++n.d,!0);if((i=n.ic(t)).Fc(e))return++n.d,n.c.zc(t,i),!0;throw Fp(new w5("New Collection violated the Collection spec"))}function JIn(n){var t,e,i;return n<0?0:0==n?32:(e=16-(t=(i=-(n>>16))>>16&16),e+=t=(i=(n>>=t)-256)>>16&8,e+=t=(i=(n<<=t)-RQn)>>16&4,(e+=t=(i=(n<<=t)-oVn)>>16&2)+2-(t=(i=(n<<=t)>>14)&~(i>>1)))}function YIn(n){var t,e,i,r;for(EQ(),Tct=new $p,Ect=new Lp,jct=new $p,!n.a&&(n.a=new nU(qOt,n,10,11)),LUn(t=n.a),r=new IL(t);r.e!=r.i.gc();)i=KB(mpn(r),33),-1==k7(Tct,i,0)&&(e=new $p,UB(jct,e),xgn(i,e));return jct}function ZIn(n,t,e){var i,r,c,a;n.a=e.b.d,iL(t,352)?(n5(c=BSn(r=iDn(KB(t,79),!1,!1)),i=new $w(n)),XFn(c,r),null!=t.We((uWn(),CSt))&&n5(KB(t.We(CSt),74),i)):((a=KB(t,470)).Hg(a.Dg()+n.a.a),a.Ig(a.Eg()+n.a.b))}function nOn(n,t){var e,r,c,a,u,o,s,h;for(h=Hy(ED(pMn(t,(FXn(),$pt)))),s=n[0].n.a+n[0].o.a+n[0].d.c+h,o=1;o<n.length;o++)r=n[o].n,c=n[o].o,e=n[o].d,(a=r.a-e.b-s)<0&&(r.a-=a),(u=t.f).a=i.Math.max(u.a,r.a+c.a),s=r.a+c.a+e.c+h}function tOn(n,t){var e,i,r,c,a,u;return i=KB(KB(xX(n.g,t.a),46).a,65),r=KB(KB(xX(n.g,t.b),46).a,65),(e=YHn(c=i.b,a=r.b))>=0?e:(u=hW(zR(new LC(a.c+a.b/2,a.d+a.a/2),new LC(c.c+c.b/2,c.d+c.a/2))),-(VKn(c,a)-1)*u)}function eOn(n,t,e){var i;QT(new xq(null,(!e.a&&(e.a=new nU(ROt,e,6,6)),new l1(e.a,16))),new nI(n,t)),QT(new xq(null,(!e.n&&(e.n=new nU(HOt,e,1,7)),new l1(e.n,16))),new tI(n,t)),(i=KB(JAn(e,(uWn(),CSt)),74))&&Vrn(i,n,t)}function iOn(n,t,e){var i,r,c;if(c=_qn((PPn(),Q$t),n.Tg(),t))return JM(),KB(c,66).Oj()||(c=J1(K7(Q$t,c))),r=KB((i=n.Yg(c))>=0?n._g(i,!0,!0):iOn(n,c,!0),153),KB(r,215).hl(t,e);throw Fp(new Ry(e6n+t.ne()+c6n))}function rOn(n,t,e,i){var r,c,a,u,o;if(r=n.d[t])if(c=r.g,o=r.i,null!=i){for(u=0;u<o;++u)if((a=KB(c[u],133)).Sh()==e&&$fn(i,a.cd()))return a}else for(u=0;u<o;++u)if(HI((a=KB(c[u],133)).cd())===HI(i))return a;return null}function cOn(n,t){var e;if(t<0)throw Fp(new Cy("Negative exponent"));if(0==t)return Qtt;if(1==t||uwn(n,Qtt)||uwn(n,net))return n;if(!sAn(n,0)){for(e=1;!sAn(n,e);)++e;return $nn(gwn(e*t),cOn(q5(n,e),t))}return pTn(n,t)}function aOn(n,t){var e,i,r;if(HI(n)===HI(t))return!0;if(null==n||null==t)return!1;if(n.length!=t.length)return!1;for(e=0;e<n.length;++e)if(i=n[e],r=t[e],!(HI(i)===HI(r)||null!=i&&$fn(i,r)))return!1;return!0}function uOn(n){var t,e,i;for(mM(),this.b=Xat,this.c=(_fn(),KPt),this.f=(vM(),qat),this.a=n,Zk(this,new Ct),mNn(this),i=new Ub(n.b);i.a<i.c.c.length;)(e=KB(Y1(i),81)).d||(t=new Mgn(Mun(Hk(Wat,1),FWn,81,0,[e])),UB(n.a,t))}function oOn(n,t,e){var i,r,c,a,u,o;if(!n||0==n.c.length)return null;for(c=new DJ(t,!e),r=new Ub(n);r.a<r.c.c.length;)i=KB(Y1(r),70),GSn(c,(wM(),new Kw(i)));return(a=c.i).a=(o=c.n,c.e.b+o.d+o.a),a.b=(u=c.n,c.e.a+u.b+u.c),c}function sOn(n){var t,e,i,r,c,a,u;for(oA(u=Y0(n.a),new Pe),e=null,c=0,a=(r=u).length;c<a&&(i=r[c]).k==(cSn(),Eut);++c)(t=KB(pMn(i,(oWn(),Wft)),61))!=(mUn(),SIt)&&t!=aIt||(e&&KB(pMn(e,ilt),15).Fc(i),e=i)}function hOn(n,t,e){var i,r,c,a,u,o;h1(t,n.c.length),u=KB(n.c[t],329),u6(n,t),u.b/2>=e&&(i=t,c=(o=(u.c+u.a)/2)-e,u.c<=o-e&&mG(n,i++,new mB(u.c,c)),(a=o+e)<=u.a&&(r=new mB(a,u.a),AZ(i,n.c.length),ES(n.c,i,r)))}function fOn(n){var t;if(n.c||null!=n.g){if(null==n.g)return!0;if(0==n.i)return!1;t=KB(n.g[n.i-1],47)}else n.d=n.si(n.f),s9(n,n.d),t=n.d;return t==n.b&&null.km>=null.jm()?(rLn(n),fOn(n)):t.Ob()}function lOn(n,t,e){var i,r,c,a;if(!(a=e)&&(a=AH(new zm,0)),CTn(a,BZn,1),OGn(n.c,t),1==(c=xGn(n.a,t)).gc())XHn(KB(c.Xb(0),37),a);else for(r=1/c.gc(),i=c.Kc();i.Ob();)XHn(KB(i.Pb(),37),pcn(a,r));kk(n.a,c,t),_Dn(t),FSn(a)}function bOn(n){if(this.a=n,n.c.i.k==(cSn(),Eut))this.c=n.c,this.d=KB(pMn(n.c.i,(oWn(),Wft)),61);else{if(n.d.i.k!=Eut)throw Fp(new Ry("Edge "+n+" is not an external edge."));this.c=n.d,this.d=KB(pMn(n.d.i,(oWn(),Wft)),61)}}function wOn(n,t){var e,i,r;r=n.b,n.b=t,4&n.Db&&!(1&n.Db)&&fan(n,new Yz(n,1,3,r,n.b)),t?t!=n&&($rn(n,t.zb),Oen(n,t.d),_in(n,null==(e=null==(i=t.c)?t.zb:i)||p_(e,t.zb)?null:e)):($rn(n,null),Oen(n,0),_in(n,null))}function dOn(n){var t,e;if(n.f){for(;n.n<n.o;){if(iL(e=(t=KB(n.j?n.j.pi(n.n):n.k.Xb(n.n),72)).ak(),99)&&KB(e,18).Bb&o6n&&(!n.e||e.Gj()!=AOt||0!=e.aj())&&null!=t.dd())return!0;++n.n}return!1}return n.n<n.o}function gOn(n,t){var e;this.e=(UX(),vX(n),UX(),$wn(n)),this.c=(vX(t),$wn(t)),rN(this.e.Hd().dc()==this.c.Hd().dc()),this.d=gbn(this.e),this.b=gbn(this.c),e=mq(Int,[uVn,FWn],[5,1],5,[this.e.Hd().gc(),this.c.Hd().gc()],2),this.a=e,bin(this)}function pOn(n){return!Jnt&&(Jnt=WUn()),'"'+n.replace(/[\x00-\x1f\xad\u0600-\u0603\u06dd\u070f\u17b4\u17b5\u200b-\u200f\u2028-\u202e\u2060-\u2064\u206a-\u206f\ufeff\ufff9-\ufffb"\\]/g,(function(n){return PY(n)}))+'"'}function vOn(n){var t,e;for(SQ(),this.b=oit,this.c=hit,this.g=(dM(),uit),this.d=(_fn(),KPt),this.a=n,vNn(this),e=new Ub(n.b);e.a<e.c.c.length;)!(t=KB(Y1(e),57)).a&&PN(zen(new zv,Mun(Hk(fit,1),FWn,57,0,[t])),n),t.e=new wJ(t.d)}function mOn(n){var t,e,i,r,c;for(r=n.e.c.length,i=L8(xnt,YYn,15,r,0,1),c=new Ub(n.e);c.a<c.c.c.length;)i[KB(Y1(c),144).b]=new VT;for(e=new Ub(n.c);e.a<e.c.c.length;)i[(t=KB(Y1(e),282)).c.b].Fc(t),i[t.d.b].Fc(t);return i}function yOn(n){var t,e,i,r,c,a;for(a=ux(n.c.length),r=new Ub(n);r.a<r.c.c.length;){for(i=KB(Y1(r),10),c=new xv,e=new az(JL(hbn(i).a.Kc(),new h));bAn(e);)(t=KB(G5(e),17)).c.i==t.d.i||jU(c,t.d.i);a.c[a.c.length]=c}return a}function kOn(n,t){var e,i,r,c,a;if(t>=(a=null==(e=KB(van(n.a,4),126))?0:e.length))throw Fp(new ZR(t,a));return r=e[t],1==a?i=null:(rHn(e,0,i=L8(lAt,t9n,415,a-1,0,1),0,t),(c=a-t-1)>0&&rHn(e,t+1,i,t,c)),_gn(n,i),nCn(n,t,r),r}function jOn(){jOn=O,oLt=KB(Utn(WQ((iE(),bLt).qb),6),34),cLt=KB(Utn(WQ(bLt.qb),3),34),aLt=KB(Utn(WQ(bLt.qb),4),34),uLt=KB(Utn(WQ(bLt.qb),5),18),aEn(oLt),aEn(cLt),aEn(aLt),aEn(uLt),sLt=new Qy(Mun(Hk(RAt,1),$9n,170,0,[oLt,cLt]))}function EOn(n,t){var e;this.d=new hm,this.b=t,this.e=new lA(t.qf()),e=n.u.Hc((hIn(),tIt)),n.u.Hc(nIt)?n.D?this.a=e&&!t.If():this.a=!0:n.u.Hc(eIt)?this.a=!!e&&!(t.zf().Kc().Ob()||t.Bf().Kc().Ob()):this.a=!1}function TOn(n,t){var e,i,r,c;for(e=n.o.a,c=KB(KB(o6(n.r,t),21),84).Kc();c.Ob();)(r=KB(c.Pb(),111)).e.a=(i=r.b).Xe((uWn(),rPt))?i.Hf()==(mUn(),SIt)?-i.rf().a-Hy(ED(i.We(rPt))):e+Hy(ED(i.We(rPt))):i.Hf()==(mUn(),SIt)?-i.rf().a:e}function MOn(n,t){var e,i,r;e=KB(pMn(n,(FXn(),Gdt)),103),r=KB(JAn(t,cpt),61),(i=KB(pMn(n,npt),98))!=(WEn(),WCt)&&i!=VCt?r==(mUn(),MIt)&&(r=CFn(t,e))==MIt&&(r=own(e)):r=zHn(t)>0?own(e):jln(own(e)),Vpn(t,cpt,r)}function SOn(n,t){var e,i,r,c,a;for(a=n.j,t.a!=t.b&&p$(a,new Ur),r=a.c.length/2|0,i=0;i<r;i++)h1(i,a.c.length),(c=KB(a.c[i],113)).c&&BCn(c.d,t.a);for(e=r;e<a.c.length;e++)h1(e,a.c.length),(c=KB(a.c[e],113)).c&&BCn(c.d,t.b)}function POn(n,t,e){var i,r,c;return i=n.c[t.c.p][t.p],r=n.c[e.c.p][e.p],null!=i.a&&null!=r.a?((c=jz(i.a,r.a))<0?c_n(n,t,e):c>0&&c_n(n,e,t),c):null!=i.a?(c_n(n,t,e),-1):null!=r.a?(c_n(n,e,t),1):0}function COn(n,t){var e,i,r,c;n.ej()?(e=n.Vi(),c=n.fj(),++n.j,n.Hi(e,n.oi(e,t)),i=n.Zi(3,null,t,e,c),n.bj()&&(r=n.cj(t,null))?(r.Ei(i),r.Fi()):n.$i(i)):(nW(n,t),n.bj()&&(r=n.cj(t,null))&&r.Fi())}function IOn(n,t){var e,i,r,c,a;for(a=rxn(n.e.Tg(),t),r=new go,e=KB(n.g,119),c=n.i;--c>=0;)i=e[c],a.rl(i.ak())&&s9(r,i);!rXn(n,r)&&pA(n.e)&&Av(n,t.$j()?AJ(n,6,t,(TQ(),uet),null,-1,!1):AJ(n,t.Kj()?2:1,t,null,null,-1,!1))}function OOn(){var n,t;for(OOn=O,ret=L8(aet,uVn,91,32,0,1),cet=L8(aet,uVn,91,32,0,1),n=1,t=0;t<=18;t++)ret[t]=Ygn(n),cet[t]=Ygn(vz(n,t)),n=ibn(n,5);for(;t<cet.length;t++)ret[t]=$nn(ret[t-1],ret[1]),cet[t]=$nn(cet[t-1],(CDn(),Ytt))}function AOn(n,t){var e,i,r,c;return n.a==(QMn(),ift)||(r=t.a.c,e=t.a.c+t.a.b,!(t.j&&(c=(i=t.A).c.c.a-i.o.a/2,r-(i.n.a+i.o.a)>c)||t.q&&(c=(i=t.C).c.c.a-i.o.a/2,i.n.a-e>c)))}function $On(n,t){CTn(t,"Partition preprocessing",1),QT(KB(M4(IV(lnn(IV(new xq(null,new l1(n.a,16)),new vi),new mi),new yi),p9(new H,new B,new rn,Mun(Hk(Yet,1),OVn,132,0,[(Bsn(),Get)]))),15).Oc(),new ki),FSn(t)}function LOn(n){var t,e,i,r,c,a;for(BZ(),e=new g4,i=new Ub(n.e.b);i.a<i.c.c.length;)for(c=new Ub(KB(Y1(i),29).a);c.a<c.c.c.length;)r=KB(Y1(c),10),(t=KB(hnn(e,a=n.g[r.p]),15))||Qgn(e,a,t=new $p),t.Fc(r);return e}function NOn(n,t){var e,i,r,c,a;for(r=t.b.b,n.a=L8(xnt,YYn,15,r,0,1),n.b=L8(INt,JJn,25,r,16,1),a=upn(t.b,0);a.b!=a.d.c;)c=KB(f3(a),86),n.a[c.g]=new VT;for(i=upn(t.a,0);i.b!=i.d.c;)e=KB(f3(i),188),n.a[e.b.g].Fc(e),n.a[e.c.g].Fc(e)}function xOn(n){var t;return 64&n.Db?M$n(n):((t=new sN(M$n(n))).a+=" (startX: ",gE(t,n.j),t.a+=", startY: ",gE(t,n.k),t.a+=", endX: ",gE(t,n.b),t.a+=", endY: ",gE(t,n.c),t.a+=", identifier: ",iO(t,n.d),t.a+=")",t.a)}function DOn(n){var t;return 64&n.Db?mfn(n):((t=new sN(mfn(n))).a+=" (ordered: ",vE(t,!!(256&n.Bb)),t.a+=", unique: ",vE(t,!!(512&n.Bb)),t.a+=", lowerBound: ",pE(t,n.s),t.a+=", upperBound: ",pE(t,n.t),t.a+=")",t.a)}function ROn(n,t,e,i,r,c,a,u){var o;return iL(n.Cb,88)&&ICn(M5(KB(n.Cb,88)),4),$rn(n,e),n.f=i,Oln(n,r),$ln(n,c),Iln(n,a),Aln(n,!1),Yfn(n,!0),Bln(n,u),Vfn(n,!0),Aen(n,0),n.b=0,$en(n,1),(o=FTn(n,t,null))&&o.Fi(),Hln(n,!1),n}function _On(n,t){var e,r;return KB(TY(n.a,t),512)||(e=new v5(t),m5(),L_(e,_On(n,sx(r=Wet?null:e.c,0,i.Math.max(0,pN(r,VTn(46)))))),0==(Wet?null:e.c).length&&qD(e,new X),pZ(n.a,Wet?null:e.c,e),e)}function KOn(n,t){var e;n.b=t,n.g=new $p,e=QOn(n.b),n.e=e,n.f=e,n.c=By(jD(pMn(n.b,(Rkn(),yit)))),n.a=ED(pMn(n.b,(uWn(),iSt))),null==n.a&&(n.a=1),Hy(n.a)>1?n.e*=Hy(n.a):n.f/=Hy(n.a),Shn(n),wgn(n),jRn(n),oon(n.b,(kpn(),wct),n.g)}function FOn(n,t,e){var i,r,c,a,u;for(i=0,u=e,t||(i=e*(n.c.length-1),u*=-1),c=new Ub(n);c.a<c.c.c.length;){for(oon(r=KB(Y1(c),10),(FXn(),mdt),(lvn(),CMt)),r.o.a=i,a=NSn(r,(mUn(),aIt)).Kc();a.Ob();)KB(a.Pb(),11).n.a=i;i+=u}}function BOn(n,t,e){var i,r,c;n.ej()?(c=n.fj(),Pfn(n,t,e),i=n.Zi(3,null,e,t,c),n.bj()?(r=n.cj(e,null),n.ij()&&(r=n.jj(e,r)),r?(r.Ei(i),r.Fi()):n.$i(i)):n.$i(i)):(Pfn(n,t,e),n.bj()&&(r=n.cj(e,null))&&r.Fi())}function HOn(n,t,e){var i,r,c,a,u,o;return(u=n.Gk(e))!=e?(a=n.g[t],o=u,yL(n,t,n.oi(t,o)),c=a,n.gi(t,o,c),n.rk()&&(i=e,r=n.dj(i,null),!KB(u,49).eh()&&(r=n.cj(o,r)),r&&r.Fi()),pA(n.e)&&Av(n,n.Zi(9,e,u,t,!1)),u):e}function qOn(n,t){var e,i,r;for(e=new Ub(n.a.a);e.a<e.c.c.length;)KB(Y1(e),189).g=!0;for(r=new Ub(n.a.b);r.a<r.c.c.length;)(i=KB(Y1(r),81)).k=By(jD(n.e.Kb(new eI(i,t)))),i.d.g=i.d.g&By(jD(n.e.Kb(new eI(i,t))));return n}function GOn(n){var t,e,i,r,c;if(e=new V_(t=KB(Xj(_It),9),KB(TR(t,t.length),9),0),c=KB(pMn(n,(oWn(),klt)),10))for(r=new Ub(c.j);r.a<r.c.c.length;)HI(pMn(i=KB(Y1(r),11),blt))===HI(n)&&qN(new p6(i.b))&&arn(e,i.j);return e}function zOn(n,t,e){var i,r,c,a;if(!n.d[e.p]){for(i=new az(JL(hbn(e).a.Kc(),new h));bAn(i);){for(c=new az(JL(sbn(a=KB(G5(i),17).d.i).a.Kc(),new h));bAn(c);)(r=KB(G5(c),17)).c.i==t&&(n.a[r.p]=!0);zOn(n,t,a)}n.d[e.p]=!0}}function UOn(n,t){var e,i,r,c,a,u,o;if(1==(i=dbn(254&n.Db)))n.Eb=null;else if(c=nen(n.Eb),2==i)r=xmn(n,t),n.Eb=c[0==r?1:0];else{for(a=L8(Int,FWn,1,i-1,5,1),e=2,u=0,o=0;e<=128;e<<=1)e==t?++u:n.Db&e&&(a[o++]=c[u++]);n.Eb=a}n.Db&=~t}function XOn(n,t){var e,i,r,c,a;for(!t.s&&(t.s=new nU(RAt,t,21,17)),c=null,r=0,a=(i=t.s).i;r<a;++r)switch(NW(K7(n,e=KB(Utn(i,r),170)))){case 4:case 5:case 6:!c&&(c=new $p),c.c[c.c.length]=e}return c||(TQ(),TQ(),uet)}function WOn(n){var t;switch(t=0,n){case 105:t=2;break;case 109:t=8;break;case 115:t=4;break;case 120:t=16;break;case 117:t=32;break;case 119:t=64;break;case 70:t=256;break;case 72:t=128;break;case 88:t=512;break;case 44:t=m6n}return t}function VOn(n,t,e,i,r){var c,a,u,o;if(HI(n)!==HI(t)||i!=r)for(u=0;u<i;u++){for(a=0,c=n[u],o=0;o<r;o++)a=ebn(ebn(ibn(n0(c,GQn),n0(t[o],GQn)),n0(e[u+o],GQn)),n0(bG(a),GQn)),e[u+o]=bG(a),a=yz(a,32);e[u+r]=bG(a)}else PKn(n,i,e)}function QOn(n){var t,e,r,c,a,u,o,s,h,f,l;for(f=0,h=0,o=(c=n.a).a.gc(),r=c.a.ec().Kc();r.Ob();)(e=KB(r.Pb(),561)).b&&XBn(e),f+=(l=(t=e.a).a)+(u=t.b),h+=l*u;return s=i.Math.sqrt(400*o*h-4*h+f*f)+f,0==(a=2*(100*o-1))?s:s/a}function JOn(n,t){0!=t.b&&(isNaN(n.s)?n.s=Hy((Mx(0!=t.b),ED(t.a.a.c))):n.s=i.Math.min(n.s,Hy((Mx(0!=t.b),ED(t.a.a.c)))),isNaN(n.c)?n.c=Hy((Mx(0!=t.b),ED(t.c.b.c))):n.c=i.Math.max(n.c,Hy((Mx(0!=t.b),ED(t.c.b.c)))))}function YOn(n){var t,e,i;for(t=null,e=$U(Uen(Mun(Hk(Lnt,1),FWn,20,0,[(!n.b&&(n.b=new o_(xOt,n,4,7)),n.b),(!n.c&&(n.c=new o_(xOt,n,5,8)),n.c)])));bAn(e);)if(i=MTn(KB(G5(e),82)),t){if(t!=QY(i))return!0}else t=QY(i);return!1}function ZOn(n,t){var e,i,r,c;n.ej()?(e=n.i,c=n.fj(),i6(n,t),i=n.Zi(3,null,t,e,c),n.bj()?(r=n.cj(t,null),n.ij()&&(r=n.jj(t,r)),r?(r.Ei(i),r.Fi()):n.$i(i)):n.$i(i)):(i6(n,t),n.bj()&&(r=n.cj(t,null))&&r.Fi())}function nAn(n,t,e){var i,r,c;n.ej()?(c=n.fj(),++n.j,n.Hi(t,n.oi(t,e)),i=n.Zi(3,null,e,t,c),n.bj()&&(r=n.cj(e,null))?(r.Ei(i),r.Fi()):n.$i(i)):(++n.j,n.Hi(t,n.oi(t,e)),n.bj()&&(r=n.cj(e,null))&&r.Fi())}function tAn(n){var t,e,i,r;for(r=n.length,t=null,i=0;i<r;i++)f1(i,n.length),HO(".*+?{[()|\\^$",VTn(e=n.charCodeAt(i)))>=0?(t||(t=new Mk,i>0&&iO(t,n.substr(0,i))),t.a+="\\",$X(t,e&WVn)):t&&$X(t,e&WVn);return t?t.a:n}function eAn(n){var t;if(!n.a)throw Fp(new _y("IDataType class expected for layout option "+n.f));if(null==(t=P3(n.a)))throw Fp(new _y("Couldn't create new instance of property '"+n.f+"'. "+e5n+(kD(hAt),hAt.k)+i5n));return KB(t,414)}function iAn(n){var t,e,i,r,c;return(c=n.eh())&&c.kh()&&(r=Zhn(n,c))!=c?(e=n.Vg(),i=(t=n.Vg())>=0?n.Qg(null):n.eh().ih(n,-1-t,null,null),n.Rg(KB(r,49),e),i&&i.Fi(),n.Lg()&&n.Mg()&&e>-1&&fan(n,new Yz(n,9,e,c,r)),r):c}function rAn(n){var t,e,i,r,c,a,u;for(c=0,r=n.f.e,e=0;e<r.c.length;++e)for(h1(e,r.c.length),a=KB(r.c[e],144),i=e+1;i<r.c.length;++i)h1(i,r.c.length),u=KB(r.c[i],144),t=U8(a.d,u.d)-n.a[a.b][u.b],c+=n.i[a.b][u.b]*t*t;return c}function cAn(n,t){var e;if(!Ax(t,(FXn(),mgt))&&(e=kkn(KB(pMn(t,nst),360),KB(pMn(n,mgt),163)),oon(t,nst,e),!bAn(new az(JL(obn(t).a.Kc(),new h)))))switch(e.g){case 1:oon(t,mgt,(jbn(),Rlt));break;case 2:oon(t,mgt,(jbn(),Klt))}}function aAn(n,t){var e;pRn(n),n.a=(e=new ak,QT(new xq(null,new l1(t.d,16)),new Cd(e)),e),Exn(n,KB(pMn(t.b,(FXn(),tgt)),376)),mvn(n),CAn(n),Okn(n),yvn(n),yqn(n,t),QT(lnn(new xq(null,V0(TX(n.b).a)),new Wr),new Vr),t.a=!1,n.a=null}function uAn(){bMn.call(this,v6n,(Zj(),bOt)),this.p=null,this.a=null,this.f=null,this.n=null,this.g=null,this.c=null,this.i=null,this.j=null,this.d=null,this.b=null,this.e=null,this.k=null,this.o=null,this.s=null,this.q=!1,this.r=!1}function oAn(){oAn=O,nAt=new EI(H1n,0),JOt=new EI("INSIDE_SELF_LOOPS",1),YOt=new EI("MULTI_EDGES",2),QOt=new EI("EDGE_LABELS",3),ZOt=new EI("PORTS",4),WOt=new EI("COMPOUND",5),XOt=new EI("CLUSTERS",6),VOt=new EI("DISCONNECTED",7)}function sAn(n,t){var e,i,r;if(0==t)return!!(1&n.a[0]);if(t<0)throw Fp(new Cy("Negative bit address"));if((r=t>>5)>=n.d)return n.e<0;if(e=n.a[r],t=1<<(31&t),n.e<0){if(r<(i=Scn(n)))return!1;e=i==r?-e:~e}return!!(e&t)}function hAn(n,t,e,i){var r;KB(e.b,65),KB(e.b,65),KB(i.b,65),KB(i.b,65),$H(r=zR(K$(KB(e.b,65).c),KB(i.b,65).c),FCn(KB(e.b,65),KB(i.b,65),r)),KB(i.b,65),KB(i.b,65),KB(i.b,65).c.a,r.a,KB(i.b,65).c.b,r.b,KB(i.b,65),Ctn(i.a,new jB(n,t,i))}function fAn(n,t){var e,i,r,c,a,u,o;if(c=t.e)for(e=iAn(c),i=KB(n.g,674),a=0;a<n.i;++a)if(Bvn(o=i[a])==e&&(!o.d&&(o.d=new OL(UAt,o,1)),r=o.d,(u=KB(e.ah(w_n(c,c.Cb,c.Db>>16)),15).Xc(c))<r.i))return fAn(n,KB(Utn(r,u),87));return t}function lAn(n,t,e){var i,r=TWn,c=r[n],a=c instanceof Array?c[0]:null;c&&!a?EWn=c:(!(i=t&&t.prototype)&&(i=TWn[t]),(EWn=BY(i)).hm=e,!t&&(EWn.im=I),r[n]=EWn);for(var u=3;u<arguments.length;++u)arguments[u].prototype=EWn;a&&(EWn.gm=a)}function bAn(n){for(var t;!KB(vX(n.a),47).Ob();){if(n.d=asn(n),!n.d)return!1;if(n.a=KB(n.d.Pb(),47),iL(n.a,39)){if(t=KB(n.a,39),n.a=t.a,!n.b&&(n.b=new Ap),b3(n.b,n.d),t.b)for(;!Uy(t.b);)b3(n.b,KB(wU(t.b),47));n.d=t.d}}return!0}function wAn(n,t){var e,i,r,c,a;for(c=null==t?0:n.b.se(t),i=null==(e=n.a.get(c))?new Array:e,a=0;a<i.length;a++)if(r=i[a],n.b.re(t,r.cd()))return 1==i.length?(i.length=0,gR(n.a,c)):i.splice(a,1),--n.c,aJ(n.b),r.dd();return null}function dAn(n,t){var e,i,r,c;for(r=1,t.j=!0,c=null,i=new Ub(mbn(t));i.a<i.c.c.length;)e=KB(Y1(i),213),n.c[e.c]||(n.c[e.c]=!0,c=$bn(e,t),e.f?r+=dAn(n,c):c.j||e.a!=e.e.e-e.d.e||(e.f=!0,jU(n.p,e),r+=dAn(n,c)));return r}function gAn(n){var t,e,r;for(e=new Ub(n.a.a.b);e.a<e.c.c.length;)t=KB(Y1(e),81),mW(0),(r=0)>0&&((!bA(n.a.c)||!t.n.d)&&(!wA(n.a.c)||!t.n.b)&&(t.g.d+=i.Math.max(0,r/2-.5)),(!bA(n.a.c)||!t.n.a)&&(!wA(n.a.c)||!t.n.c)&&(t.g.a-=r-1))}function pAn(n){var t,e,r,c,a;if(a=DKn(n,c=new $p),t=KB(pMn(n,(oWn(),klt)),10))for(r=new Ub(t.j);r.a<r.c.c.length;)HI(pMn(e=KB(Y1(r),11),blt))===HI(n)&&(a=i.Math.max(a,DKn(e,c)));return 0==c.c.length||oon(n,flt,a),-1!=a?c:null}function vAn(n,t,e){var i,r,c,a,u,o;r=(i=(c=KB(Lq(t.e,0),17).c).i).k,u=(a=(o=KB(Lq(e.g,0),17).d).i).k,r==(cSn(),Mut)?oon(n,(oWn(),olt),KB(pMn(i,olt),11)):oon(n,(oWn(),olt),c),oon(n,(oWn(),slt),u==Mut?KB(pMn(a,slt),11):o)}function mAn(n,t){var e,i,r,c;for(e=(c=bG(ibn(TVn,eV(bG(ibn(null==t?0:Yon(t),MVn)),15))))&n.b.length-1,r=null,i=n.b[e];i;r=i,i=i.a)if(i.d==c&&lW(i.i,t))return r?r.a=i.a:n.b[e]=i.a,mk(i.c,i.f),tv(i.b,i.e),--n.f,++n.e,!0;return!1}function yAn(n,t){var e,i,r,c,a;return t&=63,(i=!!((e=n.h)&SQn))&&(e|=-1048576),t<22?(a=e>>t,c=n.m>>t|e<<22-t,r=n.l>>t|n.m<<22-t):t<44?(a=i?MQn:0,c=e>>t-22,r=n.m>>t-22|e<<44-t):(a=i?MQn:0,c=i?TQn:0,r=e>>t-44),E$(r&TQn,c&TQn,a&MQn)}function kAn(n){var t,e,r,c,a,u;for(this.c=new $p,this.d=n,r=xQn,c=xQn,t=DQn,e=DQn,u=upn(n,0);u.b!=u.d.c;)a=KB(f3(u),8),r=i.Math.min(r,a.a),c=i.Math.min(c,a.b),t=i.Math.max(t,a.a),e=i.Math.max(e,a.b);this.a=new GV(r,c,t-r,e-c)}function jAn(n,t){var e,i,r,c;for(i=new Ub(n.b);i.a<i.c.c.length;)for(c=new Ub(KB(Y1(i),29).a);c.a<c.c.c.length;)for((r=KB(Y1(c),10)).k==(cSn(),Tut)&&oFn(r,t),e=new az(JL(hbn(r).a.Kc(),new h));bAn(e);)gun(KB(G5(e),17),t)}function EAn(n){var t,e,i;this.c=n,i=KB(pMn(n,(FXn(),Gdt)),103),t=Hy(ED(pMn(n,kdt))),e=Hy(ED(pMn(n,Dpt))),i==(_fn(),RPt)||i==_Pt||i==KPt?this.b=t*e:this.b=1/(t*e),this.j=Hy(ED(pMn(n,Ipt))),this.e=Hy(ED(pMn(n,Cpt))),this.f=n.b.c.length}function TAn(n){var t,e;for(n.e=L8(CNt,oQn,25,n.p.c.length,15,1),n.k=L8(CNt,oQn,25,n.p.c.length,15,1),e=new Ub(n.p);e.a<e.c.c.length;)t=KB(Y1(e),10),n.e[t.p]=_3(new az(JL(sbn(t).a.Kc(),new h))),n.k[t.p]=_3(new az(JL(hbn(t).a.Kc(),new h)))}function MAn(n){var t,e,i,r,c;for(i=0,n.q=new $p,t=new xv,c=new Ub(n.p);c.a<c.c.c.length;){for((r=KB(Y1(c),10)).p=i,e=new az(JL(hbn(r).a.Kc(),new h));bAn(e);)jU(t,KB(G5(e),17).d.i);t.a.Bc(r),UB(n.q,new Oq(t)),t.a.$b(),++i}}function SAn(){SAn=O,Ckt=new UA(20),Pkt=new zA((uWn(),zSt),Ckt),Lkt=new zA(APt,20),ykt=new zA(iSt,bZn),Okt=new zA(dPt,tln(1)),$kt=new zA(mPt,(oN(),!0)),kkt=hSt,Ekt=DSt,Tkt=KSt,Mkt=BSt,jkt=NSt,Skt=GSt,Ikt=sPt,xan(),Nkt=vkt,Akt=gkt}function PAn(n,t){var e,i,r,c,a,u,o,s,h;if(n.a.f>0&&iL(t,42)&&(n.a.qj(),c=null==(o=(s=KB(t,42)).cd())?0:Yon(o),a=nR(n.a,c),e=n.a.d[a]))for(i=KB(e.g,367),h=e.i,u=0;u<h;++u)if((r=i[u]).Sh()==c&&r.Fb(s))return PAn(n,s),!0;return!1}function CAn(n){var t,e,i,r;for(r=KB(o6(n.a,(AEn(),Tst)),15).Kc();r.Ob();)tX(n,i=KB(r.Pb(),101),(e=(t=wz(i.k)).Hc((mUn(),uIt))?t.Hc(aIt)?t.Hc(TIt)?t.Hc(SIt)?null:Ost:$st:Ast:Ist)[0],(Srn(),Lst),0),tX(n,i,e[1],Nst,1),tX(n,i,e[2],xst,1)}function IAn(n,t){var e,i;Qxn(n,t,e=p_n(t)),tTn(n.a,KB(pMn(gW(t.b),(oWn(),Tlt)),230)),fKn(n),NEn(n,t),i=L8(CNt,oQn,25,t.b.j.c.length,15,1),uzn(n,t,(mUn(),uIt),i,e),uzn(n,t,aIt,i,e),uzn(n,t,TIt,i,e),uzn(n,t,SIt,i,e),n.a=null,n.c=null,n.b=null}function OAn(){OAn=O,Tbn(),aEt=new OO(k4n,uEt=Yjt),rEt=new OO(j4n,(oN(),!0)),tln(-1),tEt=new OO(E4n,tln(-1)),tln(-1),eEt=new OO(T4n,tln(-1)),cEt=new OO(M4n,!1),oEt=new OO(S4n,!0),iEt=new OO(P4n,!1),sEt=new OO(C4n,-1)}function AAn(n,t,e){switch(t){case 7:return!n.e&&(n.e=new o_(DOt,n,7,4)),uqn(n.e),!n.e&&(n.e=new o_(DOt,n,7,4)),void dX(n.e,KB(e,14));case 8:return!n.d&&(n.d=new o_(DOt,n,8,5)),uqn(n.d),!n.d&&(n.d=new o_(DOt,n,8,5)),void dX(n.d,KB(e,14))}qjn(n,t,e)}function $An(n,t){var e,i,r,c,a;if(HI(t)===HI(n))return!0;if(!iL(t,15))return!1;if(a=KB(t,15),n.gc()!=a.gc())return!1;for(c=a.Kc(),i=n.Kc();i.Ob();)if(e=i.Pb(),r=c.Pb(),!(HI(e)===HI(r)||null!=e&&$fn(e,r)))return!1;return!0}function LAn(n,t){var e,i,r,c;for((c=KB(M4(lnn(lnn(new xq(null,new l1(t.b,16)),new Re),new _e),p9(new H,new B,new rn,Mun(Hk(Yet,1),OVn,132,0,[(Bsn(),Get)]))),15)).Jc(new Ke),e=0,r=c.Kc();r.Ob();)-1==(i=KB(r.Pb(),11)).p&&_An(n,i,e++)}function NAn(n){switch(n.g){case 0:return new Sf;case 1:return new hf;case 2:return new sf;case 3:return new yI;case 4:return new RG;default:throw Fp(new Ry("No implementation is available for the node placer "+(null!=n.f?n.f:""+n.g)))}}function xAn(n){switch(n.g){case 0:return new DG;case 1:return new lf;case 2:return new tf;case 3:return new ef;case 4:return new jI;default:throw Fp(new Ry("No implementation is available for the cycle breaker "+(null!=n.f?n.f:""+n.g)))}}function DAn(){DAn=O,pjt=new OO(c4n,tln(0)),vjt=new OO(a4n,0),Fsn(),bjt=new OO(u4n,wjt=ujt),tln(0),ljt=new OO(o4n,tln(1)),Kcn(),mjt=new OO(s4n,yjt=zjt),N9(),kjt=new OO(h4n,jjt=rjt),Cmn(),djt=new OO(f4n,gjt=Bjt)}function RAn(n,t,e){var i;i=null,t&&(i=t.d),Vjn(n,new bP(t.n.a-i.b+e.a,t.n.b-i.d+e.b)),Vjn(n,new bP(t.n.a-i.b+e.a,t.n.b+t.o.b+i.a+e.b)),Vjn(n,new bP(t.n.a+t.o.a+i.c+e.a,t.n.b-i.d+e.b)),Vjn(n,new bP(t.n.a+t.o.a+i.c+e.a,t.n.b+t.o.b+i.a+e.b))}function _An(n,t,e){var i,r,c;for(t.p=e,c=$U(Uen(Mun(Hk(Lnt,1),FWn,20,0,[new Fw(t),new Hw(t)])));bAn(c);)-1==(i=KB(G5(c),11)).p&&_An(n,i,e);if(t.i.k==(cSn(),Mut))for(r=new Ub(t.i.j);r.a<r.c.c.length;)(i=KB(Y1(r),11))!=t&&-1==i.p&&_An(n,i,e)}function KAn(n){var t,e,r,c,a;if(c=KB(M4(OZ(r1(n)),p9(new H,new B,new rn,Mun(Hk(Yet,1),OVn,132,0,[(Bsn(),Get)]))),15),r=JYn,c.gc()>=2)for(t=ED((e=c.Kc()).Pb());e.Ob();)a=t,t=ED(e.Pb()),r=i.Math.min(r,(mW(t),t-(mW(a),a)));return r}function FAn(n,t){var e,i,r,c,a;e5(i=new VT,t,i.c.b,i.c);do{for(Mx(0!=i.b),e=KB(Itn(i,i.a.a),86),n.b[e.g]=1,c=upn(e.d,0);c.b!=c.d.c;)a=(r=KB(f3(c),188)).c,1==n.b[a.g]?NH(n.a,r):2==n.b[a.g]?n.b[a.g]=1:e5(i,a,i.c.b,i.c)}while(0!=i.b)}function BAn(n,t){var e,i,r;if(HI(t)===HI(vX(n)))return!0;if(!iL(t,15))return!1;if(i=KB(t,15),(r=n.gc())!=i.gc())return!1;if(iL(i,54)){for(e=0;e<r;e++)if(!lW(n.Xb(e),i.Xb(e)))return!1;return!0}return Gvn(n.Kc(),i.Kc())}function HAn(n,t){var e;if(0!=n.c.length){if(2==n.c.length)oFn((h1(0,n.c.length),KB(n.c[0],10)),(zyn(),yCt)),oFn((h1(1,n.c.length),KB(n.c[1],10)),kCt);else for(e=new Ub(n);e.a<e.c.c.length;)oFn(KB(Y1(e),10),t);n.c=L8(Int,FWn,1,0,5,1)}}function qAn(n){var t,e;if(2!=n.c.length)throw Fp(new _y("Order only allowed for two paths."));h1(0,n.c.length),t=KB(n.c[0],17),h1(1,n.c.length),e=KB(n.c[1],17),t.d.i!=e.c.i&&(n.c=L8(Int,FWn,1,0,5,1),n.c[n.c.length]=e,n.c[n.c.length]=t)}function GAn(n,t){var e,i,r,c,a;for(i=new g4,c=T4(new Qy(n.g)).a.ec().Kc();c.Ob();){if(!(r=KB(c.Pb(),10))){CH(t,"There are no classes in a balanced layout.");break}(e=KB(hnn(i,a=n.j[r.p]),15))||Qgn(i,a,e=new $p),e.Fc(r)}return i}function zAn(n,t,e){var i,r,c,a;if(e)for(r=((i=new oz(e.a.length)).b-i.a)*i.c<0?(nS(),jNt):new zL(i);r.Ob();)(c=L2(e,KB(r.Pb(),19).a))&&(a=Den(x2(c,C6n),t),XW(n.f,a,c),B6n in c.a&&Oin(a,x2(c,B6n)),TTn(c,a),CCn(c,a))}function UAn(n,t){var e,i,r;for(CTn(t,"Port side processing",1),r=new Ub(n.a);r.a<r.c.c.length;)iBn(KB(Y1(r),10));for(e=new Ub(n.b);e.a<e.c.c.length;)for(i=new Ub(KB(Y1(e),29).a);i.a<i.c.c.length;)iBn(KB(Y1(i),10));FSn(t)}function XAn(n,t,e){var i,r,c,a,u;if(!(r=n.f)&&(r=KB(n.a.a.ec().Kc().Pb(),57)),_kn(r,t,e),1!=n.a.a.gc())for(i=t*e,a=n.a.a.ec().Kc();a.Ob();)(c=KB(a.Pb(),57))!=r&&((u=s3(c)).f.d?(c.d.d+=i+sYn,c.d.a-=i+sYn):u.f.a&&(c.d.a-=i+sYn))}function WAn(n,t,e,r,c){var a,u,o,s,h,f,l,b,w;return u=e-n,o=r-t,s=(a=i.Math.atan2(u,o))+QYn,h=a-QYn,f=c*i.Math.sin(s)+n,b=c*i.Math.cos(s)+t,l=c*i.Math.sin(h)+n,w=c*i.Math.cos(h)+t,c6(Mun(Hk(MMt,1),uVn,8,0,[new LC(f,b),new LC(l,w)]))}function VAn(n,t,e,r){var c,a,u,o,s,h,f,l;c=e,a=f=t;do{a=n.a[a.p],l=n.g[a.p],o=Hy(n.p[l.p])+Hy(n.d[a.p])-a.d.d,(s=Iin(a,r))&&(h=n.g[s.p],u=Hy(n.p[h.p])+Hy(n.d[s.p])+s.o.b+s.d.a,c=i.Math.min(c,o-(u+D$(n.k,a,s))))}while(f!=a);return c}function QAn(n,t,e,r){var c,a,u,o,s,h,f,l;c=e,a=f=t;do{a=n.a[a.p],l=n.g[a.p],u=Hy(n.p[l.p])+Hy(n.d[a.p])+a.o.b+a.d.a,(s=Run(a,r))&&(h=n.g[s.p],o=Hy(n.p[h.p])+Hy(n.d[s.p])-s.d.d,c=i.Math.min(c,o-(u+D$(n.k,a,s))))}while(f!=a);return c}function JAn(n,t){var e,i;return!n.o&&(n.o=new v9((SXn(),EOt),tAt,n,0)),null!=(i=idn(n.o,t))?i:(iL(e=t.wg(),4)&&(null==e?(!n.o&&(n.o=new v9((SXn(),EOt),tAt,n,0)),Udn(n.o,t)):(!n.o&&(n.o=new v9((SXn(),EOt),tAt,n,0)),gjn(n.o,t,e))),e)}function YAn(){YAn=O,PCt=new HC("H_LEFT",0),SCt=new HC("H_CENTER",1),ICt=new HC("H_RIGHT",2),NCt=new HC("V_TOP",3),LCt=new HC("V_CENTER",4),$Ct=new HC("V_BOTTOM",5),OCt=new HC("INSIDE",6),ACt=new HC("OUTSIDE",7),CCt=new HC("H_PRIORITY",8)}function ZAn(n){var t,e,i,r,c,a,u;if((t=n.Hh(X9n))&&null!=(u=TD(idn((!t.b&&(t.b=new Qx((wWn(),v$t),G$t,t)),t.b),"settingDelegates")))){for(e=new $p,c=0,a=(r=m_n(u,"\\w+")).length;c<a;++c)i=r[c],e.c[e.c.length]=i;return e}return TQ(),TQ(),uet}function n$n(n,t){var e,i,r,c,a,u,o;if(!t.f)throw Fp(new Ry("The input edge is not a tree edge."));for(c=null,r=NWn,i=new Ub(n.d);i.a<i.c.c.length;)u=(e=KB(Y1(i),213)).d,o=e.e,_Cn(n,u,t)&&!_Cn(n,o,t)&&(a=o.e-u.e-e.a)<r&&(r=a,c=e);return c}function t$n(n){var t,e,i,r,c,a;if(!(n.f.e.c.length<=1)){t=0,r=rAn(n),e=xQn;do{for(t>0&&(r=e),a=new Ub(n.f.e);a.a<a.c.c.length;)By(jD(pMn(c=KB(Y1(a),144),(ekn(),vat))))||(i=JKn(n,c),GR(mO(c.d),i));e=rAn(n)}while(!QX(n,t++,r,e))}}function e$n(n,t){var e,i,r;for(CTn(t,"Layer constraint preprocessing",1),e=new $p,r=new E2(n.a,0);r.b<r.d.gc();)Mx(r.b<r.d.gc()),Uun(i=KB(r.d.Xb(r.c=r.b++),10))&&(iTn(i),e.c[e.c.length]=i,sW(r));0==e.c.length||oon(n,(oWn(),Yft),e),FSn(t)}function i$n(n,t){var e,i,r,c,a;for(c=n.g.a,a=n.g.b,i=new Ub(n.d);i.a<i.c.c.length;)r=(e=KB(Y1(i),70)).n,n.a==(Cun(),pst)||n.i==(mUn(),aIt)?r.a=c:n.a==vst||n.i==(mUn(),SIt)?r.a=c+n.j.a-e.o.a:r.a=c+(n.j.a-e.o.a)/2,r.b=a,GR(r,t),a+=e.o.b+n.e}function r$n(n,t,e){var i,r,c,a;for(CTn(e,"Processor set coordinates",1),n.a=0==t.b.b?1:t.b.b,c=null,i=upn(t.b,0);!c&&i.b!=i.d.c;)By(jD(pMn(a=KB(f3(i),86),(Bqn(),bkt))))&&(c=a,(r=a.e).a=KB(pMn(a,wkt),19).a,r.b=0);RSn(n,Lun(c),pcn(e,1)),FSn(e)}function c$n(n,t,e){var i,r,c;for(CTn(e,"Processor determine the height for each level",1),n.a=0==t.b.b?1:t.b.b,r=null,i=upn(t.b,0);!r&&i.b!=i.d.c;)By(jD(pMn(c=KB(f3(i),86),(Bqn(),bkt))))&&(r=c);r&&Jxn(n,c6(Mun(Hk(Vyt,1),ZYn,86,0,[r])),e),FSn(e)}function a$n(n,t){var e,i,r,c,a;(c=N2(n,"individualSpacings"))&&(!M8(t,(uWn(),SPt))&&(e=new Ju,Vpn(t,SPt,e)),r=KB(JAn(t,SPt),373),i=null,(a=c)&&(i=new jT(a,yrn(a,L8(Wtt,uVn,2,0,6,1)))),i&&n5(i,new bI(a,r)))}function u$n(n,t){var e,i,r,c,a,u;return c=null,(Q6n in(a=n).a||J6n in a.a||N6n in a.a)&&(u=Bun(t),i=N2(a,Q6n),Cwn(new Fg(u).a,i),r=N2(a,J6n),Pwn(new Qg(u).a,r),e=$2(a,N6n),MEn(new Zg(u).a,e),c=e),c}function o$n(n,t){var e,i,r;if(t===n)return!0;if(iL(t,543)){if(r=KB(t,835),n.a.d!=r.a.d||kV(n).gc()!=kV(r).gc())return!1;for(i=kV(r).Kc();i.Ob();)if(i1(n,(e=KB(i.Pb(),416)).a.cd())!=KB(e.a.dd(),14).gc())return!1;return!0}return!1}function s$n(n){var t,e,i,r;return t=i=KB(n.a,19).a,e=r=KB(n.b,19).a,0==i&&0==r?e-=1:-1==i&&r<=0?(t=0,e-=2):i<=0&&r>0?(t-=1,e-=1):i>=0&&r<0?(t+=1,e+=1):i>0&&r>=0?(t-=1,e+=1):(t+=1,e-=1),new eI(tln(t),tln(e))}function h$n(n,t){return n.c<t.c?-1:n.c>t.c?1:n.b<t.b?-1:n.b>t.b?1:n.a!=t.a?Yon(n.a)-Yon(t.a):n.d==(W4(),Fmt)&&t.d==Kmt?-1:n.d==Kmt&&t.d==Fmt?1:0}function f$n(n,t){var e,i,r,c,a;return a=(c=t.a).c.i==t.b?c.d:c.c,i=c.c.i==t.b?c.c:c.d,(r=qwn(n.a,a,i))>0&&r<JYn?(e=VAn(n.a,i.i,r,n.c),een(n.a,i.i,-e),e>0):r<0&&-r<JYn&&(e=QAn(n.a,i.i,-r,n.c),een(n.a,i.i,e),e>0)}function l$n(n,t,e,i){var r,c,a,u,o,s;for(r=(t-n.d)/n.c.c.length,c=0,n.a+=e,n.d=t,s=new Ub(n.c);s.a<s.c.c.length;)u=(o=KB(Y1(s),33)).g,a=o.f,Men(o,o.i+c*r),Sen(o,o.j+i*e),Ten(o,o.g+r),Een(o,n.a),++c,hCn(o,new LC(o.g,o.f),new LC(u,a))}function b$n(n){var t,e,i,r,c,a,u;if(null==n)return null;for(u=n.length,a=L8(ANt,g6n,25,r=(u+1)/2|0,15,1),u%2!=0&&(a[--r]=JDn((f1(u-1,n.length),n.charCodeAt(u-1)))),e=0,i=0;e<r;++e)t=JDn(sV(n,i++)),c=JDn(sV(n,i++)),a[e]=(t<<4|c)<<24>>24;return a}function w$n(n){if(n.pe()){var t=n.c;return t.qe()?n.o="["+t.n:t.pe()?n.o="["+t.ne():n.o="[L"+t.ne()+";",n.b=t.me()+"[]",void(n.k=t.oe()+"[]")}var e=n.j,i=n.d;i=i.split("/"),n.o=_dn(".",[e,_dn("$",i)]),n.b=_dn(".",[e,_dn(".",i)]),n.k=i[i.length-1]}function d$n(n,t){var e,i,r,c,a;for(a=null,c=new Ub(n.e.a);c.a<c.c.c.length;)if((r=KB(Y1(c),121)).b.a.c.length==r.g.a.c.length){for(i=r.e,a=nPn(r),e=r.e-KB(a.a,19).a+1;e<r.e+KB(a.b,19).a;e++)t[e]<t[i]&&(i=e);t[i]<t[r.e]&&(--t[r.e],++t[i],r.e=i)}}function g$n(n){var t,e,r,c,a,u,o;for(r=xQn,e=DQn,t=new Ub(n.e.b);t.a<t.c.c.length;)for(a=new Ub(KB(Y1(t),29).a);a.a<a.c.c.length;)c=KB(Y1(a),10),u=(o=Hy(n.p[c.p]))+Hy(n.b[n.g[c.p].p]),r=i.Math.min(r,o),e=i.Math.max(e,u);return e-r}function p$n(n,t,e,i){var r,c,a,u,o;for(u=0,o=(r=y_n(n,t)).gc();u<o;++u)if(p_(i,mV(K7(n,c=KB(r.Xb(u),170)))))if(a=yV(K7(n,c)),null==e){if(null==a)return c}else if(p_(e,a))return c;return null}function v$n(n,t,e,i){var r,c,a,u,o;for(u=0,o=(r=k_n(n,t)).gc();u<o;++u)if(p_(i,mV(K7(n,c=KB(r.Xb(u),170)))))if(a=yV(K7(n,c)),null==e){if(null==a)return c}else if(p_(e,a))return c;return null}function m$n(n,t,e){var i,r,c,a,u,o;if(a=new go,u=rxn(n.e.Tg(),t),i=KB(n.g,119),JM(),KB(t,66).Oj())for(c=0;c<n.i;++c)r=i[c],u.rl(r.ak())&&s9(a,r);else for(c=0;c<n.i;++c)r=i[c],u.rl(r.ak())&&(o=r.dd(),s9(a,e?_In(n,t,c,a.i,o):o));return $3(a)}function y$n(n,t){var e,i,r,c;for(e=new Fbn(cht),OPn(),r=0,c=(i=Mun(Hk(cht,1),OVn,227,0,[Jst,Zst,Qst,Yst,nht,Vst])).length;r<c;++r)lR(e,i[r],new $p);return QT(OV(IV(lnn(new xq(null,new l1(n.b,16)),new Ze),new ni),new od(t)),new sd(e)),e}function k$n(n,t,e){var r,c,a,u,o,s,h,f;for(a=t.Kc();a.Ob();)s=(c=KB(a.Pb(),33)).i+c.g/2,f=c.j+c.f/2,o=s-((u=n.f).i+u.g/2),h=f-(u.j+u.f/2),r=i.Math.sqrt(o*o+h*h),o*=n.e/r,h*=n.e/r,e?(s-=o,f-=h):(s+=o,f+=h),Men(c,s-c.g/2),Sen(c,f-c.f/2)}function j$n(n){var t,e,i;if(!n.c&&null!=n.b){for(t=n.b.length-4;t>=0;t-=2)for(e=0;e<=t;e+=2)(n.b[e]>n.b[e+2]||n.b[e]===n.b[e+2]&&n.b[e+1]>n.b[e+3])&&(i=n.b[e+2],n.b[e+2]=n.b[e],n.b[e]=i,i=n.b[e+3],n.b[e+3]=n.b[e+1],n.b[e+1]=i);n.c=!0}}function E$n(n,t){var e,i,r,c,a,u;for(c=(1==t?Uat:zat).a.ec().Kc();c.Ob();)for(r=KB(c.Pb(),103),u=KB(o6(n.f.c,r),21).Kc();u.Ob();)switch(a=KB(u.Pb(),46),i=KB(a.b,81),e=KB(a.a,189).c,r.g){case 2:case 1:i.g.d+=e;break;case 4:case 3:i.g.c+=e}}function T$n(n,t){var e,i,r,c,a,u,o,s,h;for(s=-1,h=0,u=0,o=(a=n).length;u<o;++u){for(c=a[u],e=new mH(-1==s?n[0]:n[s],t,(Ehn(),cvt)),i=0;i<c.length;i++)for(r=i+1;r<c.length;r++)Ax(c[i],(oWn(),llt))&&Ax(c[r],llt)&&sXn(e,c[i],c[r])>0&&++h;++s}return h}function M$n(n){var t;return(t=new hN(Yj(n.gm))).a+="@",aO(t,(Yon(n)>>>0).toString(16)),n.kh()?(t.a+=" (eProxyURI: ",cO(t,n.qh()),n.$g()&&(t.a+=" eClass: ",cO(t,n.$g())),t.a+=")"):n.$g()&&(t.a+=" (eClass: ",cO(t,n.$g()),t.a+=")"),t.a}function S$n(n){var t,e,i;if(n.e)throw Fp(new _y((kD(wit),IJn+wit.k+OJn)));for(n.d==(_fn(),KPt)&&jzn(n,RPt),e=new Ub(n.a.a);e.a<e.c.c.length;)(t=KB(Y1(e),307)).g=t.i;for(i=new Ub(n.a.b);i.a<i.c.c.length;)KB(Y1(i),57).i=DQn;return n.b.Le(n),n}function P$n(n,t){var e,i,r,c,a;if(t<2*n.b)throw Fp(new Ry("The knot vector must have at least two time the dimension elements."));for(n.f=1,r=0;r<n.b;r++)UB(n.e,0);for(e=a=t+1-2*n.b,c=1;c<a;c++)UB(n.e,c/e);if(n.d)for(i=0;i<n.b;i++)UB(n.e,1)}function C$n(n,t){var e,i,r,c,a;if(c=t,!(a=KB(Gin(MX(n.i),c),33)))throw Fp(new nk("Unable to find elk node for json object '"+x2(c,B6n)+"' Panic!"));i=$2(c,"edges"),AIn((e=new cI(n,a)).a,e.b,i),r=$2(c,I6n),Nkn(new $g(n).a,r)}function I$n(n,t,e,i){var r,c,a,u,o;if(null!=i){if(r=n.d[t])for(c=r.g,o=r.i,u=0;u<o;++u)if((a=KB(c[u],133)).Sh()==e&&$fn(i,a.cd()))return u}else if(r=n.d[t])for(c=r.g,o=r.i,u=0;u<o;++u)if(HI((a=KB(c[u],133)).cd())===HI(i))return u;return-1}function O$n(n,t){var e,i;return iL(e=null==t?BI(IJ(n.f,null)):oS(n.g,t),235)?((i=KB(e,235)).Qh(),i):iL(e,498)?((i=KB(e,1938).a)&&(null==i.yb||(null==t?yCn(n.f,null,i):cbn(n.g,t,i))),i):null}function A$n(n){var t,e,i,r,c,a,u;if(DDn(),null==n)return null;if((r=n.length)%2!=0)return null;for(t=X7(n),e=L8(ANt,g6n,25,c=r/2|0,15,1),i=0;i<c;i++){if(-1==(a=XLt[t[2*i]]))return null;if(-1==(u=XLt[t[2*i+1]]))return null;e[i]=(a<<4|u)<<24>>24}return e}function $$n(n,t,e){var i,r,c;if(!(r=KB(aV(n.i,t),306)))if(r=new ltn(n.d,t,e),pG(n.i,t,r),rgn(t))kL(n.a,t.c,t.b,r);else switch(c=APn(t),i=KB(aV(n.p,c),244),c.g){case 1:case 3:r.j=!0,yy(i,t.b,r);break;case 4:case 2:r.k=!0,yy(i,t.c,r)}return r}function L$n(n,t,e,i){var r,c,a,u,o,s;if(u=new go,o=rxn(n.e.Tg(),t),r=KB(n.g,119),JM(),KB(t,66).Oj())for(a=0;a<n.i;++a)c=r[a],o.rl(c.ak())&&s9(u,c);else for(a=0;a<n.i;++a)c=r[a],o.rl(c.ak())&&(s=c.dd(),s9(u,i?_In(n,t,a,u.i,s):s));return Wwn(u,e)}function N$n(n,t){var e,r,c,a,u,o;if((r=n.b[t.p])>=0)return r;for(c=1,a=new Ub(t.j);a.a<a.c.c.length;)for(e=new Ub(KB(Y1(a),11).g);e.a<e.c.c.length;)t!=(o=KB(Y1(e),17).d.i)&&(u=N$n(n,o),c=i.Math.max(c,u+1));return twn(n,t,c),c}function x$n(n,t,e){var i,r,c;for(i=1;i<n.c.length;i++){for(h1(i,n.c.length),c=KB(n.c[i],10),r=i;r>0&&t.ue((h1(r-1,n.c.length),KB(n.c[r-1],10)),c)>0;)i5(n,r,(h1(r-1,n.c.length),KB(n.c[r-1],10))),--r;h1(r,n.c.length),n.c[r]=c}e.a=new Lp,e.b=new Lp}function D$n(n,t,e){var i,r,c,a,u,o,s;for(s=new V_(i=KB(t.e&&t.e(),9),KB(TR(i,i.length),9),0),a=0,u=(c=m_n(e,"[\\[\\]\\s,]+")).length;a<u;++a)if(0!=xMn(r=c[a]).length){if(null==(o=FIn(n,r)))return null;arn(s,KB(o,22))}return s}function R$n(n){var t,e,r;for(e=new Ub(n.a.a.b);e.a<e.c.c.length;)t=KB(Y1(e),81),mW(0),(r=0)>0&&((!bA(n.a.c)||!t.n.d)&&(!wA(n.a.c)||!t.n.b)&&(t.g.d-=i.Math.max(0,r/2-.5)),(!bA(n.a.c)||!t.n.a)&&(!wA(n.a.c)||!t.n.c)&&(t.g.a+=i.Math.max(0,r-1)))}function _$n(n,t,e){var i;if(2==(n.c-n.b&n.a.length-1))t==(mUn(),uIt)||t==aIt?(ytn(KB(kon(n),15),(zyn(),yCt)),ytn(KB(kon(n),15),kCt)):(ytn(KB(kon(n),15),(zyn(),kCt)),ytn(KB(kon(n),15),yCt));else for(i=new fV(n);i.a!=i.b;)ytn(KB(Rhn(i),15),e)}function K$n(n,t){var e,i,r,c,a,u;for(a=new E2(i=FB(new up(n)),i.c.length),u=new E2(r=FB(new up(t)),r.c.length),c=null;a.b>0&&u.b>0&&(Mx(a.b>0),e=KB(a.a.Xb(a.c=--a.b),33),Mx(u.b>0),e==KB(u.a.Xb(u.c=--u.b),33));)c=e;return c}function F$n(n,t){var e,r,c,a;return c=n.a*rJn+1502*n.b,a=n.b*rJn+11,c+=e=i.Math.floor(a*cJn),a-=e*aJn,c%=aJn,n.a=c,n.b=a,t<=24?i.Math.floor(n.a*Cet[t]):((r=n.a*(1<<t-24)+i.Math.floor(n.b*Iet[t]))>=2147483648&&(r-=zQn),r)}function B$n(n,t,e){var i,r,c,a;l0(n,t)>l0(n,e)?(i=rbn(e,(mUn(),aIt)),n.d=i.dc()?0:cq(KB(i.Xb(0),11)),a=rbn(t,SIt),n.b=a.dc()?0:cq(KB(a.Xb(0),11))):(r=rbn(e,(mUn(),SIt)),n.d=r.dc()?0:cq(KB(r.Xb(0),11)),c=rbn(t,aIt),n.b=c.dc()?0:cq(KB(c.Xb(0),11)))}function H$n(n){var t,e,i,r,c,a,u;if(n&&(t=n.Hh(X9n))&&null!=(a=TD(idn((!t.b&&(t.b=new Qx((wWn(),v$t),G$t,t)),t.b),"conversionDelegates")))){for(u=new $p,r=0,c=(i=m_n(a,"\\w+")).length;r<c;++r)e=i[r],u.c[u.c.length]=e;return u}return TQ(),TQ(),uet}function q$n(n,t){var e,i,r,c;for(e=n.o.a,c=KB(KB(o6(n.r,t),21),84).Kc();c.Ob();)(r=KB(c.Pb(),111)).e.a=e*Hy(ED(r.b.We(Art))),r.e.b=(i=r.b).Xe((uWn(),rPt))?i.Hf()==(mUn(),uIt)?-i.rf().b-Hy(ED(i.We(rPt))):Hy(ED(i.We(rPt))):i.Hf()==(mUn(),uIt)?-i.rf().b:0}function G$n(n){var t,e,i,r,c,a,u,o;t=!0,r=null,c=null;n:for(o=new Ub(n.a);o.a<o.c.c.length;)for(i=new az(JL(sbn(u=KB(Y1(o),10)).a.Kc(),new h));bAn(i);){if(e=KB(G5(i),17),r&&r!=u){t=!1;break n}if(r=u,a=e.c.i,c&&c!=a){t=!1;break n}c=a}return t}function z$n(n,t,e){var i,r,c,a,u,o;for(c=-1,u=-1,a=0;a<t.c.length&&(h1(a,t.c.length),!((r=KB(t.c[a],329)).c>n.c));a++)r.a>=n.s&&(c<0&&(c=a),u=a);return o=(n.s+n.c)/2,c>=0&&(o=BM((h1(i=VRn(n,t,c,u),t.c.length),KB(t.c[i],329))),hOn(t,i,e)),o}function U$n(){U$n=O,hEt=new zA((uWn(),iSt),1.3),wEt=ySt,PEt=new UA(15),SEt=new zA(zSt,PEt),OEt=new zA(APt,15),fEt=oSt,yEt=DSt,kEt=KSt,jEt=BSt,mEt=NSt,EEt=GSt,CEt=sPt,OAn(),MEt=aEt,vEt=rEt,TEt=cEt,IEt=oEt,dEt=iEt,gEt=SSt,pEt=PSt,bEt=eEt,lEt=tEt,AEt=sEt}function X$n(n,t,e){var i,r,c,a,u;for(Kin(r=new jo,(mW(t),t)),!r.b&&(r.b=new Qx((wWn(),v$t),G$t,r)),u=r.b,a=1;a<e.length;a+=2)gjn(u,e[a-1],e[a]);for(!n.Ab&&(n.Ab=new nU(xAt,n,0,3)),i=n.Ab,c=0;c<0;++c)i=pW(KB(Utn(i,i.i-1),590));s9(i,r)}function W$n(n,t,e){var i,r,c;for(AD.call(this,new $p),this.a=t,this.b=e,this.e=n,n.b&&XBn(n),i=n.a,this.d=QV(i.a,this.a),this.c=QV(i.b,this.b),abn(this,this.d,this.c),pIn(this),c=this.e.e.a.ec().Kc();c.Ob();)(r=KB(c.Pb(),266)).c.c.length>0&&Lqn(this,r)}function V$n(n,t,e,i,r,c){var a,u,o;if(!r[t.b]){for(r[t.b]=!0,!(a=i)&&(a=new v6),UB(a.e,t),o=c[t.b].Kc();o.Ob();)(u=KB(o.Pb(),282)).d!=e&&u.c!=e&&(u.c!=t&&V$n(n,u.c,t,a,r,c),u.d!=t&&V$n(n,u.d,t,a,r,c),UB(a.c,u),wun(a.d,u.b));return a}return null}function Q$n(n){var t,e,i;for(t=0,e=new Ub(n.e);e.a<e.c.c.length;)a5(new xq(null,new l1(KB(Y1(e),17).b,16)),new pe)&&++t;for(i=new Ub(n.g);i.a<i.c.c.length;)a5(new xq(null,new l1(KB(Y1(i),17).b,16)),new ve)&&++t;return t>=2}function J$n(n,t){var e,i,r,c;for(CTn(t,"Self-Loop pre-processing",1),i=new Ub(n.a);i.a<i.c.c.length;)Dbn(e=KB(Y1(i),10))&&(c=new Cgn(e),oon(e,(oWn(),Clt),c),mKn(c),QT(OV(lnn(new xq(null,new l1((r=c).d,16)),new Hi),new qi),new Gi),txn(r));FSn(t)}function Y$n(n,t,e,i,r){var c,a,u,o,s;for(c=n.c.d.j,a=KB(Npn(e,0),8),s=1;s<e.b;s++)o=KB(Npn(e,s),8),e5(i,a,i.c.b,i.c),u=mL(GR(new lA(a),o),.5),GR(u,mL(new zZ(osn(c)),r)),e5(i,u,i.c.b,i.c),a=o,c=0==t?Eln(c):kln(c);NH(i,(Mx(0!=e.b),KB(e.c.b.c,8)))}function Z$n(n){return YAn(),!(San(CY(kG(OCt,Mun(Hk(HCt,1),OVn,93,0,[ACt])),n))>1||San(CY(kG(PCt,Mun(Hk(HCt,1),OVn,93,0,[SCt,ICt])),n))>1||San(CY(kG(NCt,Mun(Hk(HCt,1),OVn,93,0,[LCt,$Ct])),n))>1)}function nLn(n,t){var e,i,r;return(e=t.Hh(n.a))&&null!=(r=TD(idn((!e.b&&(e.b=new Qx((wWn(),v$t),G$t,e)),e.b),"affiliation")))?-1==(i=pN(r,VTn(35)))?cln(n,rz(n,Gtn(t.Hj())),r):0==i?cln(n,null,r.substr(1)):cln(n,r.substr(0,i),r.substr(i+1)):null}function tLn(n){var t,e;try{return null==n?qWn:Kbn(n)}catch(i){if(iL(i=hun(i),102))return t=i,e=Yj(Zon(n))+"@"+(OT(),(nvn(n)>>>0).toString(16)),Dgn(yun(),(hM(),"Exception during lenientFormat for "+e),t),"<"+e+" threw "+Yj(t.gm)+">";throw Fp(i)}}function eLn(n){switch(n.g){case 0:return new af;case 1:return new nf;case 2:return new OM;case 3:return new Ic;case 4:return new xR;case 5:return new uf;default:throw Fp(new Ry("No implementation is available for the layerer "+(null!=n.f?n.f:""+n.g)))}}function iLn(n,t,e){var i,r,c;for(c=new Ub(n.t);c.a<c.c.c.length;)(i=KB(Y1(c),268)).b.s<0&&i.c>0&&(i.b.n-=i.c,i.b.n<=0&&i.b.u>0&&NH(t,i.b));for(r=new Ub(n.i);r.a<r.c.c.length;)(i=KB(Y1(r),268)).a.s<0&&i.c>0&&(i.a.u-=i.c,i.a.u<=0&&i.a.n>0&&NH(e,i.a))}function rLn(n){var t,e,i;if(null==n.g&&(n.d=n.si(n.f),s9(n,n.d),n.c))return n.f;if(i=(t=KB(n.g[n.i-1],47)).Pb(),n.e=t,(e=n.si(i)).Ob())n.d=e,s9(n,e);else for(n.d=null;!t.Ob()&&(OX(n.g,--n.i,null),0!=n.i);)t=KB(n.g[n.i-1],47);return i}function cLn(n,t){var e,i,r,c,a,u;if(r=(i=t).ak(),Oxn(n.e,r)){if(r.hi()&&H3(n,r,i.dd()))return!1}else for(u=rxn(n.e.Tg(),r),e=KB(n.g,119),c=0;c<n.i;++c)if(a=e[c],u.rl(a.ak()))return!$fn(a,i)&&(KB(avn(n,c,t),72),!0);return s9(n,t)}function aLn(n,t,e,r){var c,a,u;for(Kl(c=new Ovn(n),(cSn(),Tut)),oon(c,(oWn(),blt),t),oon(c,Mlt,r),oon(c,(FXn(),npt),(WEn(),zCt)),oon(c,olt,t.c),oon(c,slt,t.d),qxn(t,c),u=i.Math.floor(e/2),a=new Ub(c.j);a.a<a.c.c.length;)KB(Y1(a),11).n.b=u;return c}function uLn(n,t){var e,i,r,c,a,u,o,s,h;for(o=ux(n.c-n.b&n.a.length-1),s=null,h=null,c=new fV(n);c.a!=c.b;)r=KB(Rhn(c),10),e=(u=KB(pMn(r,(oWn(),olt)),11))?u.i:null,i=(a=KB(pMn(r,slt),11))?a.i:null,s==e&&h==i||(HAn(o,t),s=e,h=i),o.c[o.c.length]=r;HAn(o,t)}function oLn(n){var t,e,r,c,a,u;for(t=0,e=new Ub(n.a);e.a<e.c.c.length;)for(c=new az(JL(hbn(KB(Y1(e),10)).a.Kc(),new h));bAn(c);)n==(r=KB(G5(c),17)).d.i.c&&r.c.j==(mUn(),SIt)&&(a=w1(r.c).b,u=w1(r.d).b,t=i.Math.max(t,i.Math.abs(u-a)));return t}function sLn(n,t,e){var i,r;CTn(e,"Remove overlaps",1),e.n&&t&&v0(e,a2(t),(Ksn(),cOt)),i=KB(JAn(t,(lD(),Xkt)),33),n.f=i,n.a=kvn(KB(JAn(t,(Gyn(),xjt)),293)),tb(n,(mW(r=ED(JAn(t,(uWn(),APt)))),r)),zzn(n,t,lDn(i),e),e.n&&t&&v0(e,a2(t),(Ksn(),cOt))}function hLn(n,t,e){switch(e.g){case 1:return new LC(t.a,i.Math.min(n.d.b,t.b));case 2:return new LC(i.Math.max(n.c.a,t.a),t.b);case 3:return new LC(t.a,i.Math.max(n.c.b,t.b));case 4:return new LC(i.Math.min(t.a,n.d.a),t.b)}return new LC(t.a,t.b)}function fLn(n,t,e,i){var r,c,a,u,o,s,h,f,l;for(f=i?(mUn(),SIt):(mUn(),aIt),r=!1,s=0,h=(o=t[e]).length;s<h;++s)A_(KB(pMn(u=o[s],(FXn(),npt)),98))||(a=u.e,(l=!rbn(u,f).dc()&&!!a)&&(c=BEn(a),n.b=new qEn(c,i?0:c.length-1)),r|=iKn(n,u,f,l));return r}function lLn(n){var t,e,i;for(UB(t=ux(1+(!n.c&&(n.c=new nU(GOt,n,9,9)),n.c).i),(!n.d&&(n.d=new o_(DOt,n,8,5)),n.d)),i=new IL((!n.c&&(n.c=new nU(GOt,n,9,9)),n.c));i.e!=i.i.gc();)UB(t,(!(e=KB(mpn(i),118)).d&&(e.d=new o_(DOt,e,8,5)),e.d));return vX(t),new CO(t)}function bLn(n){var t,e,i;for(UB(t=ux(1+(!n.c&&(n.c=new nU(GOt,n,9,9)),n.c).i),(!n.e&&(n.e=new o_(DOt,n,7,4)),n.e)),i=new IL((!n.c&&(n.c=new nU(GOt,n,9,9)),n.c));i.e!=i.i.gc();)UB(t,(!(e=KB(mpn(i),118)).e&&(e.e=new o_(DOt,e,7,4)),e.e));return vX(t),new CO(t)}function wLn(n){var t,e,i,r;if(null==n)return null;if(i=_Bn(n,!0),r=L7n.length,p_(i.substr(i.length-r,r),L7n))if(4==(e=i.length)){if(f1(0,i.length),43==(t=i.charCodeAt(0)))return KLt;if(45==t)return _Lt}else if(3==e)return KLt;return fSn(i)}function dLn(n){var t,e,i,r;for(t=0,e=0,r=new Ub(n.j);r.a<r.c.c.length;)if(t=bG(ebn(t,B6(IV(new xq(null,new l1((i=KB(Y1(r),11)).e,16)),new Jc)))),e=bG(ebn(e,B6(IV(new xq(null,new l1(i.g,16)),new Yc)))),t>1||e>1)return 2;return t+e==1?2:0}function gLn(n,t,e){var i,r,c,a;for(CTn(e,"ELK Force",1),By(jD(JAn(t,(sRn(),Uct))))||yY(new jw((HM(),new Ny(t)))),mkn(a=son(t)),qon(n,KB(pMn(a,Hct),424)),r=(c=FFn(n.a,a)).Kc();r.Ob();)i=KB(r.Pb(),231),M_n(n.b,i,pcn(e,1/c.gc()));TUn(a=HUn(c)),FSn(e)}function pLn(n,t){var e,i,r;if(CTn(t,"Breaking Point Processor",1),Czn(n),By(jD(pMn(n,(FXn(),Hpt))))){for(i=new Ub(n.b);i.a<i.c.c.length;)for(e=0,r=new Ub(KB(Y1(i),29).a);r.a<r.c.c.length;)KB(Y1(r),10).p=e++;aHn(n),Fxn(n,!0),Fxn(n,!1)}FSn(t)}function vLn(n,t,e){var i,r,c,a,u;for(a=n.c,c=(e.q?e.q:(TQ(),TQ(),oet)).vc().Kc();c.Ob();)r=KB(c.Pb(),42),!yE(IV(new xq(null,new l1(a,16)),new rw(new AC(t,r)))).sd((bM(),Zet))&&(iL(u=r.dd(),4)&&null!=(i=Qdn(u))&&(u=i),t.Ye(KB(r.cd(),146),u))}function mLn(n,t){var e,i,r,c;if(t){for(c=!(r=iL(n.Cb,88)||iL(n.Cb,99))&&iL(n.Cb,322),e=new IL((!t.a&&(t.a=new rG(t,UAt,t)),t.a));e.e!=e.i.gc();)if(i=hFn(KB(mpn(e),87)),r?iL(i,88):c?iL(i,148):i)return i;return r?(wWn(),l$t):(wWn(),s$t)}return null}function yLn(n,t){var e,i,r,c,a;for(CTn(t,"Constraints Postprocessor",1),c=0,r=new Ub(n.b);r.a<r.c.c.length;){for(a=0,i=new Ub(KB(Y1(r),29).a);i.a<i.c.c.length;)(e=KB(Y1(i),10)).k==(cSn(),Sut)&&(oon(e,(FXn(),ygt),tln(c)),oon(e,Kdt,tln(a)),++a);++c}FSn(t)}function kLn(n,t,e,i){var r,c,a,u,o,s;for(zR(u=new LC(e,i),KB(pMn(t,(Bqn(),Yyt)),8)),s=upn(t.b,0);s.b!=s.d.c;)GR((o=KB(f3(s),86)).e,u),NH(n.b,o);for(a=upn(t.a,0);a.b!=a.d.c;){for(r=upn((c=KB(f3(a),188)).a,0);r.b!=r.d.c;)GR(KB(f3(r),8),u);NH(n.a,c)}}function jLn(n,t,e){var i,r,c;if(!(c=_qn((PPn(),Q$t),n.Tg(),t)))throw Fp(new Ry(e6n+t.ne()+i6n));if(JM(),!KB(c,66).Oj()&&!(c=J1(K7(Q$t,c))))throw Fp(new Ry(e6n+t.ne()+i6n));r=KB((i=n.Yg(c))>=0?n._g(i,!0,!0):iOn(n,c,!0),153),KB(r,215).ml(t,e)}function ELn(n,t){var e,i,r,c,a;for(e=new $p,r=lnn(new xq(null,new l1(n,16)),new Ea),c=lnn(new xq(null,new l1(n,16)),new Ta),a=E7(F6(AV(TNn(Mun(Hk(nit,1),FWn,833,0,[r,c])),new Ma))),i=1;i<a.length;i++)a[i]-a[i-1]>=2*t&&UB(e,new mB(a[i-1]+t,a[i]-t));return e}function TLn(n,t,e){CTn(e,"Eades radial",1),e.n&&t&&v0(e,a2(t),(Ksn(),cOt)),n.d=KB(JAn(t,(lD(),Xkt)),33),n.c=Hy(ED(JAn(t,(Gyn(),Njt)))),n.e=kvn(KB(JAn(t,xjt),293)),n.a=hwn(KB(JAn(t,Rjt),426)),n.b=Bjn(KB(JAn(t,Ojt),340)),ejn(n),e.n&&t&&v0(e,a2(t),(Ksn(),cOt))}function MLn(n,t,e){var i,r,c,a,u;if(e)for(c=((i=new oz(e.a.length)).b-i.a)*i.c<0?(nS(),jNt):new zL(i);c.Ob();)(r=L2(e,KB(c.Pb(),19).a))&&(Oin(a=O3(n,(Zj(),u=new km,!!t&&KLn(u,t),u),r),x2(r,B6n)),TTn(r,a),CCn(r,a),Lon(n,r,a))}function SLn(n){var t,e,i,r;if(!n.j){if(r=new Io,null==(t=T$t).a.zc(n,t)){for(i=new IL(mJ(n));i.e!=i.i.gc();)dX(r,SLn(e=KB(mpn(i),26))),s9(r,e);t.a.Bc(n)}ihn(r),n.j=new $O((KB(Utn(WQ((WX(),YAt).o),11),18),r.i),r.g),M5(n).b&=-33}return n.j}function PLn(n){var t,e,i,r;if(null==n)return null;if(i=_Bn(n,!0),r=L7n.length,p_(i.substr(i.length-r,r),L7n))if(4==(e=i.length)){if(f1(0,i.length),43==(t=i.charCodeAt(0)))return BLt;if(45==t)return FLt}else if(3==e)return BLt;return new Nv(i)}function CLn(n){var t,e,i;return(e=n.l)&e-1||(i=n.m)&i-1||(t=n.h)&t-1||0==t&&0==i&&0==e?-1:0==t&&0==i&&0!=e?win(e):0==t&&0!=i&&0==e?win(i)+22:0!=t&&0==i&&0==e?win(t)+44:-1}function ILn(n,t){var e,i,r,c;for(CTn(t,"Edge joining",1),e=By(jD(pMn(n,(FXn(),Npt)))),i=new Ub(n.b);i.a<i.c.c.length;)for(c=new E2(KB(Y1(i),29).a,0);c.b<c.d.gc();)Mx(c.b<c.d.gc()),(r=KB(c.d.Xb(c.c=c.b++),10)).k==(cSn(),Mut)&&(eGn(r,e),sW(c));FSn(t)}function OLn(n,t,e){var i;if(o2(n.b),SU(n.b,(Mbn(),FEt),(CM(),HTt)),SU(n.b,BEt,t.g),SU(n.b,HEt,t.a),n.a=Oqn(n.b,t),CTn(e,"Compaction by shrinking a tree",n.a.c.length),t.i.c.length>1)for(i=new Ub(n.a);i.a<i.c.c.length;)KB(Y1(i),51).pf(t,pcn(e,1));FSn(e)}function ALn(n,t){var e,i,r,c,a;for(r=t.a&n.f,c=null,i=n.b[r];;i=i.b){if(i==t){c?c.b=t.b:n.b[r]=t.b;break}c=i}for(a=t.f&n.f,c=null,e=n.c[a];;e=e.d){if(e==t){c?c.d=t.d:n.c[a]=t.d;break}c=e}t.e?t.e.c=t.c:n.a=t.c,t.c?t.c.e=t.e:n.e=t.e,--n.i,++n.g}function $Ln(n){var t,e,r,c,a,u,o,s,h,f;for(e=n.o,t=n.p,u=NWn,c=RVn,o=NWn,a=RVn,h=0;h<e;++h)for(f=0;f<t;++f)gmn(n,h,f)&&(u=i.Math.min(u,h),c=i.Math.max(c,h),o=i.Math.min(o,f),a=i.Math.max(a,f));return s=c-u+1,r=a-o+1,new XV(tln(u),tln(o),tln(s),tln(r))}function LLn(n,t){var e,i,r,c;for(Mx((c=new E2(n,0)).b<c.d.gc()),e=KB(c.d.Xb(c.c=c.b++),140);c.b<c.d.gc();)Mx(c.b<c.d.gc()),r=new pH((i=KB(c.d.Xb(c.c=c.b++),140)).c,e.d,t),Mx(c.b>0),c.a.Xb(c.c=--c.b),vR(c,r),Mx(c.b<c.d.gc()),c.d.Xb(c.c=c.b++),r.a=!1,e=i}function NLn(n){var t,e,i,r,c;for(i=KB(pMn(n,(oWn(),Dft)),11),c=new Ub(n.j);c.a<c.c.c.length;){for(e=new Ub((r=KB(Y1(c),11)).g);e.a<e.c.c.length;)return EZ(KB(Y1(e),17),i),r;for(t=new Ub(r.e);t.a<t.c.c.length;)return TZ(KB(Y1(t),17),i),r}return null}function xLn(n,t,e){var r,c;Xhn(r=san(e.q.getTime()),0)<0?(c=XVn-bG(hdn(y7(r),XVn)))==XVn&&(c=0):c=bG(hdn(r,XVn)),1==t?LX(n,48+(c=i.Math.min((c+50)/100|0,9))&WVn):2==t?knn(n,c=i.Math.min((c+5)/10|0,99),2):(knn(n,c,3),t>3&&knn(n,0,t-3))}function DLn(n){var t,e,i,r;return HI(pMn(n,(FXn(),ugt)))===HI((cfn(),dCt))?!n.e&&HI(pMn(n,xdt))!==HI((Dan(),mft)):(i=KB(pMn(n,Ddt),292),r=By(jD(pMn(n,Fdt)))||HI(pMn(n,Bdt))===HI((Cin(),uht)),t=KB(pMn(n,Ndt),19).a,e=n.a.c.length,!r&&i!=(Dan(),mft)&&(0==t||t>e))}function RLn(n){var t,e;for(e=0;e<n.c.length&&!(uq((h1(e,n.c.length),KB(n.c[e],113)))>0);e++);if(e>0&&e<n.c.length-1)return e;for(t=0;t<n.c.length&&!(uq((h1(t,n.c.length),KB(n.c[t],113)))>0);t++);return t>0&&e<n.c.length-1?t:n.c.length/2|0}function _Ln(n,t){var e,i;if(t!=n.Cb||n.Db>>16!=6&&t){if(gkn(n,t))throw Fp(new Ry(l6n+xOn(n)));i=null,n.Cb&&(i=(e=n.Db>>16)>=0?ukn(n,i):n.Cb.ih(n,-1-e,null,i)),t&&(i=$pn(t,n,6,i)),(i=WD(n,t,i))&&i.Fi()}else 4&n.Db&&!(1&n.Db)&&fan(n,new Yz(n,1,6,t,t))}function KLn(n,t){var e,i;if(t!=n.Cb||n.Db>>16!=9&&t){if(gkn(n,t))throw Fp(new Ry(l6n+GRn(n)));i=null,n.Cb&&(i=(e=n.Db>>16)>=0?skn(n,i):n.Cb.ih(n,-1-e,null,i)),t&&(i=$pn(t,n,9,i)),(i=VD(n,t,i))&&i.Fi()}else 4&n.Db&&!(1&n.Db)&&fan(n,new Yz(n,1,9,t,t))}function FLn(n,t){var e,i;if(t!=n.Cb||n.Db>>16!=3&&t){if(gkn(n,t))throw Fp(new Ry(l6n+hHn(n)));i=null,n.Cb&&(i=(e=n.Db>>16)>=0?Ekn(n,i):n.Cb.ih(n,-1-e,null,i)),t&&(i=$pn(t,n,12,i)),(i=XD(n,t,i))&&i.Fi()}else 4&n.Db&&!(1&n.Db)&&fan(n,new Yz(n,1,3,t,t))}function BLn(n){var t,e,i,r,c;if(i=Pkn(n),null==(c=n.j)&&i)return n.$j()?null:i.zj();if(iL(i,148)){if((e=i.Aj())&&(r=e.Nh())!=n.i){if((t=KB(i,148)).Ej())try{n.g=r.Kh(t,c)}catch(a){if(!iL(a=hun(a),78))throw Fp(a);n.g=null}n.i=r}return n.g}return null}function HLn(n){var t;return UB(t=new $p,new LS(new LC(n.c,n.d),new LC(n.c+n.b,n.d))),UB(t,new LS(new LC(n.c,n.d),new LC(n.c,n.d+n.a))),UB(t,new LS(new LC(n.c+n.b,n.d+n.a),new LC(n.c+n.b,n.d))),UB(t,new LS(new LC(n.c+n.b,n.d+n.a),new LC(n.c,n.d+n.a))),t}function qLn(n,t,e,i){var r,c,a;if(a=Ijn(t,e),i.c[i.c.length]=t,-1==n.j[a.p]||2==n.j[a.p]||n.a[t.p])return i;for(n.j[a.p]=-1,c=new az(JL(obn(a).a.Kc(),new h));bAn(c);)if(!f5(r=KB(G5(c),17))&&(f5(r)||r.c.i.c!=r.d.i.c)&&r!=t)return qLn(n,r,a,i);return i}function GLn(n,t,e){var i,r;for(r=t.a.ec().Kc();r.Ob();)i=KB(r.Pb(),79),!KB(xX(n.b,i),266)&&(QY(MMn(i))==QY(CMn(i))?Zxn(n,i,e):MMn(i)==QY(CMn(i))?null==xX(n.c,i)&&null!=xX(n.b,CMn(i))&&ezn(n,i,e,!1):null==xX(n.d,i)&&null!=xX(n.b,MMn(i))&&ezn(n,i,e,!0))}function zLn(n,t){var e,i,r,c,a,u,o;for(r=n.Kc();r.Ob();)for(i=KB(r.Pb(),10),SZ(u=new SSn,i),BCn(u,(mUn(),aIt)),oon(u,(oWn(),ylt),(oN(),!0)),a=t.Kc();a.Ob();)c=KB(a.Pb(),10),SZ(o=new SSn,c),BCn(o,SIt),oon(o,ylt,!0),oon(e=new lJ,ylt,!0),TZ(e,u),EZ(e,o)}function ULn(n,t,e,i){var r,c,a,u;r=Idn(n,t,e),c=Idn(n,e,t),a=KB(xX(n.c,t),112),u=KB(xX(n.c,e),112),r<c?new qZ((C6(),Eyt),a,u,c-r):c<r?new qZ((C6(),Eyt),u,a,r-c):(0!=r||t.i&&e.i&&i[t.i.c][e.i.c])&&(new qZ((C6(),Eyt),a,u,0),new qZ(Eyt,u,a,0))}function XLn(n,t){var e,i,r,c,a,u;for(r=0,a=new Ub(t.a);a.a<a.c.c.length;)for(r+=(c=KB(Y1(a),10)).o.b+c.d.a+c.d.d+n.e,i=new az(JL(sbn(c).a.Kc(),new h));bAn(i);)(e=KB(G5(i),17)).c.i.k==(cSn(),Put)&&(r+=(u=KB(pMn(e.c.i,(oWn(),blt)),10)).o.b+u.d.a+u.d.d);return r}function WLn(n,t,e){var i,r,c,a,u,o,s;for(c=new $p,CBn(n,s=new VT,a=new VT,t),kzn(n,s,a,t,e),o=new Ub(n);o.a<o.c.c.length;)for(r=new Ub((u=KB(Y1(o),112)).k);r.a<r.c.c.length;)i=KB(Y1(r),129),(!t||i.c==(C6(),jyt))&&u.g>i.b.g&&(c.c[c.c.length]=i);return c}function VLn(){VLn=O,NEt=new yC("CANDIDATE_POSITION_LAST_PLACED_RIGHT",0),LEt=new yC("CANDIDATE_POSITION_LAST_PLACED_BELOW",1),DEt=new yC("CANDIDATE_POSITION_WHOLE_DRAWING_RIGHT",2),xEt=new yC("CANDIDATE_POSITION_WHOLE_DRAWING_BELOW",3),REt=new yC("WHOLE_DRAWING",4)}function QLn(n,t){if(iL(t,239))return oln(n,KB(t,33));if(iL(t,186))return Nln(n,KB(t,118));if(iL(t,354))return ZV(n,KB(t,137));if(iL(t,352))return QFn(n,KB(t,79));if(t)return null;throw Fp(new Ry(q6n+AMn(new Qy(Mun(Hk(Int,1),FWn,1,5,[t])))))}function JLn(n){var t,e,i,r,c,a,u;for(c=new VT,r=new Ub(n.d.a);r.a<r.c.c.length;)0==(i=KB(Y1(r),121)).b.a.c.length&&e5(c,i,c.c.b,c.c);if(c.b>1)for(t=IN((e=new Bv,++n.b,e),n.d),u=upn(c,0);u.b!=u.d.c;)a=KB(f3(u),121),GNn(rM(iM(cM(eM(new Fv,1),0),t),a))}function YLn(n,t){var e,i;if(t!=n.Cb||n.Db>>16!=11&&t){if(gkn(n,t))throw Fp(new Ry(l6n+qRn(n)));i=null,n.Cb&&(i=(e=n.Db>>16)>=0?Tkn(n,i):n.Cb.ih(n,-1-e,null,i)),t&&(i=$pn(t,n,10,i)),(i=qR(n,t,i))&&i.Fi()}else 4&n.Db&&!(1&n.Db)&&fan(n,new Yz(n,1,11,t,t))}function ZLn(n){var t,e,i,r;for(i=new csn(new Mb(n.b).a);i.b;)r=KB((e=Ztn(i)).cd(),11),oon(t=KB(e.dd(),10),(oWn(),blt),r),oon(r,klt,t),oon(r,nlt,(oN(),!0)),BCn(r,KB(pMn(t,Wft),61)),pMn(t,Wft),oon(r.i,(FXn(),npt),(WEn(),XCt)),KB(pMn(gW(r.i),Jft),21).Fc((fDn(),bft))}function nNn(n,t,e){var i,r,c;if(i=0,r=0,n.c)for(c=new Ub(n.d.i.j);c.a<c.c.c.length;)i+=KB(Y1(c),11).e.c.length;else i=1;if(n.d)for(c=new Ub(n.c.i.j);c.a<c.c.c.length;)r+=KB(Y1(c),11).g.c.length;else r=1;return(e+t)/2+.4*SY(FH(r-i))*(e-t)}function tNn(n){var t,e;if(AEn(),n.Hc((mUn(),MIt)))throw Fp(new Ry("Port sides must not contain UNDEFINED"));switch(n.gc()){case 1:return Est;case 2:return t=n.Hc(aIt)&&n.Hc(SIt),e=n.Hc(uIt)&&n.Hc(TIt),t||e?Sst:Mst;case 3:return Tst;case 4:return jst;default:return null}}function eNn(n,t,e){var i,r,c,a;for(CTn(e,"Breaking Point Removing",1),n.a=KB(pMn(t,(FXn(),Jdt)),218),r=new Ub(t.b);r.a<r.c.c.length;)for(a=new Ub(r0(KB(Y1(r),29).a));a.a<a.c.c.length;)Qnn(c=KB(Y1(a),10))&&!(i=KB(pMn(c,(oWn(),xft)),305)).d&&qUn(n,i);FSn(e)}function iNn(n,t,e){return yDn(),(!Ncn(n,t)||!Ncn(n,e))&&(pzn(new LC(n.c,n.d),new LC(n.c+n.b,n.d),t,e)||pzn(new LC(n.c+n.b,n.d),new LC(n.c+n.b,n.d+n.a),t,e)||pzn(new LC(n.c+n.b,n.d+n.a),new LC(n.c,n.d+n.a),t,e)||pzn(new LC(n.c,n.d+n.a),new LC(n.c,n.d),t,e))}function rNn(n,t){var e,i,r,c;if(!n.dc())for(e=0,i=n.gc();e<i;++e)if(null==(c=TD(n.Xb(e)))?null==t:p_(c.substr(0,3),"!##")?null!=t&&(r=t.length,!p_(c.substr(c.length-r,r),t)||c.length!=t.length+3)&&!p_(T7n,t):p_(c,M7n)&&!p_(T7n,t)||p_(c,t))return!0;return!1}function cNn(n,t,e,i){var r,c,a,u,o,s;for(a=n.j.c.length,o=L8(rrt,eYn,306,a,0,1),u=0;u<a;u++)(c=KB(Lq(n.j,u),11)).p=u,o[u]=oOn(pAn(c),e,i);for(XNn(n,o,e,t,i),s=new Lp,r=0;r<o.length;r++)o[r]&&XW(s,KB(Lq(n.j,r),11),o[r]);s.f.c+s.g.c!=0&&(oon(n,(oWn(),qft),s),ISn(n,o))}function aNn(n,t,e){var i,r;for(i=new Ub(n.a.b);i.a<i.c.c.length;)if((r=s2(KB(Y1(i),57)))&&r.k==(cSn(),Eut))switch(KB(pMn(r,(oWn(),Wft)),61).g){case 4:r.n.a=t.a;break;case 2:r.n.a=e.a-(r.o.a+r.d.c);break;case 1:r.n.b=t.b;break;case 3:r.n.b=e.b-(r.o.b+r.d.a)}}function uNn(){uNn=O,Pvt=new FP(WZn,0),jvt=new FP("NIKOLOV",1),Mvt=new FP("NIKOLOV_PIXEL",2),Evt=new FP("NIKOLOV_IMPROVED",3),Tvt=new FP("NIKOLOV_IMPROVED_PIXEL",4),kvt=new FP("DUMMYNODE_PERCENTAGE",5),Svt=new FP("NODECOUNT_PERCENTAGE",6),Cvt=new FP("NO_BOUNDARY",7)}function oNn(n,t,e){var i,r,c;if(!(r=KB(JAn(t,(TMn(),GMt)),19))&&(r=tln(0)),!(c=KB(JAn(e,GMt),19))&&(c=tln(0)),r.a>c.a)return-1;if(r.a<c.a)return 1;if(n.a){if(0!=(i=Mln(t.j,e.j)))return i;if(0!=(i=Mln(t.i,e.i)))return i}return Mln(t.g*t.f,e.g*e.f)}function sNn(n,t){var e,i,r,c,a,u,o,s,h,f;if(++n.e,t>(o=null==n.d?0:n.d.length)){for(h=n.d,n.d=L8(uAt,i9n,63,2*o+4,0,1),c=0;c<o;++c)if(s=h[c])for(i=s.g,f=s.i,u=0;u<f;++u)a=nR(n,(r=KB(i[u],133)).Sh()),!(e=n.d[a])&&(e=n.d[a]=n.uj()),e.Fc(r);return!0}return!1}function hNn(n,t,e){var i,r,c,a,u,o;if(c=(r=e).ak(),Oxn(n.e,c)){if(c.hi())for(i=KB(n.g,119),a=0;a<n.i;++a)if($fn(u=i[a],r)&&a!=t)throw Fp(new Ry(r8n))}else for(o=rxn(n.e.Tg(),c),i=KB(n.g,119),a=0;a<n.i;++a)if(u=i[a],o.rl(u.ak()))throw Fp(new Ry(P7n));uln(n,t,e)}function fNn(n,t){var e,i,r,c,a,u;for(e=KB(pMn(t,(oWn(),zft)),21),a=KB(o6((xXn(),sut),e),21),u=KB(o6(dut,e),21),c=a.Kc();c.Ob();)if(i=KB(c.Pb(),21),!KB(o6(n.b,i),15).dc())return!1;for(r=u.Kc();r.Ob();)if(i=KB(r.Pb(),21),!KB(o6(n.b,i),15).dc())return!1;return!0}function lNn(n,t){var e,i,r;for(CTn(t,"Partition postprocessing",1),e=new Ub(n.b);e.a<e.c.c.length;)for(i=new Ub(KB(Y1(e),29).a);i.a<i.c.c.length;)for(r=new Ub(KB(Y1(i),10).j);r.a<r.c.c.length;)By(jD(pMn(KB(Y1(r),11),(oWn(),ylt))))&&IU(r);FSn(t)}function bNn(n,t){var e,i,r,c,a,u,o;if(1==n.a.c.length)return _Sn(KB(Lq(n.a,0),187),t);for(r=ifn(n),a=0,u=n.d,i=r,o=n.d,c=(u-i)/2+i;i+1<u;){for(a=0,e=new Ub(n.a);e.a<e.c.c.length;)a+=iHn(KB(Y1(e),187),c,!1).a;a<t?(o=c,u=c):i=c,c=(u-i)/2+i}return o}function wNn(n){var t,e,i,r;return isNaN(n)?(z7(),wtt):n<-0x8000000000000000?(z7(),ltt):n>=0x8000000000000000?(z7(),ftt):(i=!1,n<0&&(i=!0,n=-n),e=0,n>=CQn&&(n-=(e=SY(n/CQn))*CQn),t=0,n>=PQn&&(n-=(t=SY(n/PQn))*PQn),r=E$(SY(n),t,e),i&&Con(r),r)}function dNn(n,t){var e,i,r,c;for(e=!t||!n.u.Hc((hIn(),nIt)),c=0,r=new Ub(n.e.Cf());r.a<r.c.c.length;){if((i=KB(Y1(r),838)).Hf()==(mUn(),MIt))throw Fp(new Ry("Label and node size calculator can only be used with ports that have port sides assigned."));i.vf(c++),Uhn(n,i,e)}}function gNn(n,t){var e,i,r,c;return(i=t.Hh(n.a))&&(!i.b&&(i.b=new Qx((wWn(),v$t),G$t,i)),null!=(e=TD(idn(i.b,Q9n)))&&iL(c=-1==(r=e.lastIndexOf("#"))?cD(n,t.Aj(),e):0==r?E9(n,null,e.substr(1)):E9(n,e.substr(0,r),e.substr(r+1)),148))?KB(c,148):null}function pNn(n,t){var e,i,r,c;return(e=t.Hh(n.a))&&(!e.b&&(e.b=new Qx((wWn(),v$t),G$t,e)),null!=(r=TD(idn(e.b,m7n)))&&iL(c=-1==(i=r.lastIndexOf("#"))?cD(n,t.Aj(),r):0==i?E9(n,null,r.substr(1)):E9(n,r.substr(0,i),r.substr(i+1)),148))?KB(c,148):null}function vNn(n){var t,e,i,r,c;for(e=new Ub(n.a.a);e.a<e.c.c.length;){for((t=KB(Y1(e),307)).j=null,c=t.a.a.ec().Kc();c.Ob();)mO((i=KB(c.Pb(),57)).b),(!t.j||i.d.c<t.j.d.c)&&(t.j=i);for(r=t.a.a.ec().Kc();r.Ob();)(i=KB(r.Pb(),57)).b.a=i.d.c-t.j.d.c,i.b.b=i.d.d-t.j.d.d}return n}function mNn(n){var t,e,i,r,c;for(e=new Ub(n.a.a);e.a<e.c.c.length;){for((t=KB(Y1(e),189)).f=null,c=t.a.a.ec().Kc();c.Ob();)mO((i=KB(c.Pb(),81)).e),(!t.f||i.g.c<t.f.g.c)&&(t.f=i);for(r=t.a.a.ec().Kc();r.Ob();)(i=KB(r.Pb(),81)).e.a=i.g.c-t.f.g.c,i.e.b=i.g.d-t.f.g.d}return n}function yNn(n){var t,e,r;return e=KB(n.a,19).a,r=KB(n.b,19).a,e<(t=i.Math.max(i.Math.abs(e),i.Math.abs(r)))&&r==-t?new eI(tln(e+1),tln(r)):e==t&&r<t?new eI(tln(e),tln(r+1)):e>=-t&&r==t?new eI(tln(e-1),tln(r)):new eI(tln(e),tln(r-1))}function kNn(){return hWn(),Mun(Hk(cst,1),OVn,77,0,[eot,Zut,iot,mot,_ot,Eot,Got,Cot,Dot,wot,$ot,Pot,Rot,hot,Uot,Xut,Aot,Fot,yot,Kot,Wot,Not,Wut,xot,Vot,Hot,Xot,kot,uot,jot,vot,zot,Jut,cot,Mot,Qut,Sot,got,fot,Iot,bot,not,Yut,pot,lot,Oot,qot,Vut,Lot,dot,Tot,oot,aot,Bot,rot,sot,tot])}function jNn(n,t,e){n.d=0,n.b=0,t.k==(cSn(),Put)&&e.k==Put&&KB(pMn(t,(oWn(),blt)),10)==KB(pMn(e,blt),10)&&(T7(t).j==(mUn(),uIt)?B$n(n,t,e):B$n(n,e,t)),t.k==Put&&e.k==Mut?T7(t).j==(mUn(),uIt)?n.d=1:n.b=1:e.k==Put&&t.k==Mut&&(T7(e).j==(mUn(),uIt)?n.b=1:n.d=1),cmn(n,t,e)}function ENn(n){var t,e,i,r,c;return c=ITn(n),null!=n.a&&IH(c,"category",n.a),!UE(new Sb(n.d))&&(etn(c,"knownOptions",i=new Sl),t=new np(i),n5(new Sb(n.d),t)),!UE(n.g)&&(etn(c,"supportedFeatures",r=new Sl),e=new tp(r),n5(n.g,e)),c}function TNn(n){var t,e,i,r,c,a,u,o;for(t=336,e=0,r=new uR(n.length),u=0,o=(a=n).length;u<o;++u)Wln(c=a[u]),kW(c),i=c.a,UB(r.a,vX(i)),t&=i.qd(),e=Vsn(e,i.rd());return KB(KB(zU(new xq(null,BTn(new l1((UX(),$wn(r.a)),16),new k,t,e)),new kl(n)),670),833)}function MNn(n,t){var e;n.d&&(t.c!=n.e.c||scn(n.e.b,t.b))&&(UB(n.f,n.d),n.a=n.d.c+n.d.b,n.d=null,n.e=null),YO(t.b)?n.c=t:n.b=t,(t.b==(Iun(),Jat)&&!t.a||t.b==Yat&&t.a||t.b==Zat&&t.a||t.b==nut&&!t.a)&&n.c&&n.b&&(e=new GV(n.a,n.c.d,t.c-n.a,n.b.d-n.c.d),n.d=e,n.e=t)}function SNn(n){var t;if(Vm.call(this),this.i=new lu,this.g=n,this.f=KB(n.e&&n.e(),9).length,0==this.f)throw Fp(new Ry("There must be at least one phase in the phase enumeration."));this.c=new V_(t=KB(Xj(this.g),9),KB(TR(t,t.length),9),0),this.a=new K2,this.b=new Lp}function PNn(n,t){var e,i;if(t!=n.Cb||n.Db>>16!=7&&t){if(gkn(n,t))throw Fp(new Ry(l6n+iPn(n)));i=null,n.Cb&&(i=(e=n.Db>>16)>=0?okn(n,i):n.Cb.ih(n,-1-e,null,i)),t&&(i=KB(t,49).gh(n,1,LOt,i)),(i=XG(n,t,i))&&i.Fi()}else 4&n.Db&&!(1&n.Db)&&fan(n,new Yz(n,1,7,t,t))}function CNn(n,t){var e,i;if(t!=n.Cb||n.Db>>16!=3&&t){if(gkn(n,t))throw Fp(new Ry(l6n+Xfn(n)));i=null,n.Cb&&(i=(e=n.Db>>16)>=0?fkn(n,i):n.Cb.ih(n,-1-e,null,i)),t&&(i=KB(t,49).gh(n,0,_Ot,i)),(i=WG(n,t,i))&&i.Fi()}else 4&n.Db&&!(1&n.Db)&&fan(n,new Yz(n,1,3,t,t))}function INn(n,t){var e,i,r,c,a,u,o,s,h;return OOn(),t.d>n.d&&(u=n,n=t,t=u),t.d<63?zxn(n,t):(s=q5(n,a=(-2&n.d)<<4),h=q5(t,a),i=cBn(n,H5(s,a)),r=cBn(t,H5(h,a)),o=INn(s,h),e=INn(i,r),c=H5(c=OHn(OHn(c=INn(cBn(s,i),cBn(r,h)),o),e),a),OHn(OHn(o=H5(o,a<<1),c),e))}function ONn(n,t,e){var i,r,c,a,u;for(a=Afn(n,e),u=L8(Cut,r1n,10,t.length,0,1),i=0,c=a.Kc();c.Ob();)By(jD(pMn(r=KB(c.Pb(),11),(oWn(),nlt))))&&(u[i++]=KB(pMn(r,klt),10));if(i<t.length)throw Fp(new _y("Expected "+t.length+" hierarchical ports, but found only "+i+"."));return u}function ANn(n,t){var e,i,r,c,a,u;if(!n.tb){for(!n.rb&&(n.rb=new Qz(n,KAt,n)),u=new zT((c=n.rb).i),r=new IL(c);r.e!=r.i.gc();)i=KB(mpn(r),138),(e=KB(null==(a=i.ne())?yCn(u.f,null,i):cbn(u.g,a,i),138))&&(null==a?yCn(u.f,null,e):cbn(u.g,a,e));n.tb=u}return KB(TY(n.tb,t),138)}function $Nn(n,t){var e,i,r,c,a;if((null==n.i&&BFn(n),n.i).length,!n.p){for(a=new zT(1+(3*n.g.i/2|0)),r=new rx(n.g);r.e!=r.i.gc();)i=KB(ypn(r),170),(e=KB(null==(c=i.ne())?yCn(a.f,null,i):cbn(a.g,c,i),170))&&(null==c?yCn(a.f,null,e):cbn(a.g,c,e));n.p=a}return KB(TY(n.p,t),170)}function LNn(n,t,e,i,r){var c,a,u,o;for(lgn(i+SJ(e,e.$d()),r),ZX(t,Awn(e)),(c=e.f)&&LNn(n,t,c,"Caused by: ",!1),null==e.k&&(e.k=L8(Qnt,uVn,78,0,0,1)),u=0,o=(a=e.k).length;u<o;++u)LNn(n,t,a[u],"Suppressed: ",!1);console.groupEnd}function NNn(n,t,e,i){var r,c,a,u;for(a=(u=t.e).length,c=t.q._f(u,e?0:a-1,e),c|=wRn(n,u[e?0:a-1],e,i),r=e?1:a-2;e?r<a:r>=0;r+=e?1:-1)c|=t.c.Sf(u,r,e,i&&!By(jD(pMn(t.j,(oWn(),Qft))))&&!By(jD(pMn(t.j,(oWn(),Plt))))),c|=t.q._f(u,r,e),c|=wRn(n,u[r],e,i);return jU(n.c,t),c}function xNn(n,t,e){var i,r,c,a,u,o,s,h;for(s=0,h=(o=P2(n.j)).length;s<h;++s){if(u=o[s],e==(rin(),Fvt)||e==Hvt)for(c=0,a=(r=J0(u.g)).length;c<a;++c)CSn(t,i=r[c])&&ZFn(i,!0);if(e==Bvt||e==Hvt)for(c=0,a=(r=J0(u.e)).length;c<a;++c)PSn(t,i=r[c])&&ZFn(i,!0)}}function DNn(n){var t,e;switch(t=null,e=null,nEn(n).g){case 1:mUn(),t=aIt,e=SIt;break;case 2:mUn(),t=TIt,e=uIt;break;case 3:mUn(),t=SIt,e=aIt;break;case 4:mUn(),t=uIt,e=TIt}Hl(n,KB(ON(Cz(KB(o6(n.k,t),15).Oc(),Wst)),113)),Bl(n,KB(ON(Pz(KB(o6(n.k,e),15).Oc(),Wst)),113))}function RNn(n){var t,e,i,r,c,a;if((r=KB(Lq(n.j,0),11)).e.c.length+r.g.c.length==0)n.n.a=0;else{for(a=0,i=$U(Uen(Mun(Hk(Lnt,1),FWn,20,0,[new Fw(r),new Hw(r)])));bAn(i);)a+=(e=KB(G5(i),11)).i.n.a+e.n.a+e.a.a;c=(t=KB(pMn(n,(FXn(),Ygt)),8))?t.a:0,n.n.a=a/(r.e.c.length+r.g.c.length)-c}}function _Nn(n,t){var e,i,r;for(i=new Ub(t.a);i.a<i.c.c.length;)e=KB(Y1(i),221),AG(KB(e.b,65),zR(K$(KB(t.b,65).c),KB(t.b,65).a)),(r=VKn(KB(t.b,65).b,KB(e.b,65).b))>1&&(n.a=!0),$G(KB(e.b,65),GR(K$(KB(t.b,65).c),mL(zR(K$(KB(e.b,65).a),KB(t.b,65).a),r))),WZ(n,t),_Nn(n,e)}function KNn(n){var t,e,i,r,c,a;for(r=new Ub(n.a.a);r.a<r.c.c.length;)(e=KB(Y1(r),189)).e=0,e.d.a.$b();for(i=new Ub(n.a.a);i.a<i.c.c.length;)for(t=(e=KB(Y1(i),189)).a.a.ec().Kc();t.Ob();)for(a=KB(t.Pb(),81).f.Kc();a.Ob();)(c=KB(a.Pb(),81)).d!=e&&(jU(e.d,c),++c.d.e)}function FNn(n){var t,e,i,r,c,a,u,o;for(e=0,t=o=n.j.c.length,r=2*o,u=new Ub(n.j);u.a<u.c.c.length;)switch((a=KB(Y1(u),11)).j.g){case 2:case 4:a.p=-1;break;case 1:case 3:i=a.e.c.length,c=a.g.c.length,a.p=i>0&&c>0?t++:i>0?e++:c>0?r++:e++}TQ(),p$(n.j,new bi)}function BNn(n){var t,e;e=null,t=KB(Lq(n.g,0),17);do{if(Ax(e=t.d.i,(oWn(),slt)))return KB(pMn(e,slt),11).i;if(e.k!=(cSn(),Sut)&&bAn(new az(JL(hbn(e).a.Kc(),new h))))t=KB(G5(new az(JL(hbn(e).a.Kc(),new h))),17);else if(e.k!=Sut)return null}while(e&&e.k!=(cSn(),Sut));return e}function HNn(n,t){var e,i,r,c,a,u,o,s,h;for(u=t.j,a=t.g,o=KB(Lq(u,u.c.length-1),113),h1(0,u.c.length),s=Jmn(n,a,o,h=KB(u.c[0],113)),c=1;c<u.c.length;c++)h1(c-1,u.c.length),e=KB(u.c[c-1],113),h1(c,u.c.length),(i=Jmn(n,a,e,r=KB(u.c[c],113)))>s&&(o=e,h=r,s=i);t.a=h,t.c=o}function qNn(n,t){var e;if(!JU(n.b,t.b))throw Fp(new _y("Invalid hitboxes for scanline constraint calculation."));(mun(t.b,KB(ER(n.b,t.b),57))||mun(t.b,KB(jR(n.b,t.b),57)))&&(OT(),t.b),n.a[t.b.f]=KB(m_(n.b,t.b),57),(e=KB(v_(n.b,t.b),57))&&(n.a[e.f]=t.b)}function GNn(n){if(!n.a.d||!n.a.e)throw Fp(new _y((kD(Fit),Fit.k+" must have a source and target "+(kD(Bit),Bit.k+" specified."))));if(n.a.d==n.a.e)throw Fp(new _y("Network simplex does not support self-loops: "+n.a+" "+n.a.d+" "+n.a.e));return xN(n.a.d.g,n.a),xN(n.a.e.b,n.a),n.a}function zNn(n,t,e){var i,r,c,a,u,o,s;for(s=new bE(new Qd(n)),u=0,o=(a=Mun(Hk(Hut,1),c1n,11,0,[t,e])).length;u<o;++u)for(c=a[u],Eon(s.a,c,(oN(),dtt)),r=new p6(c.b);v$(r.a)||v$(r.b);)(i=KB(v$(r.a)?Y1(r.a):Y1(r.b),17)).c==i.d||JU(s,c==i.c?i.d:i.c);return vX(s),new Z_(s)}function UNn(n,t,e){var i,r,c,a,u,o;if(i=0,0!=t.b&&0!=e.b){c=upn(t,0),a=upn(e,0),u=Hy(ED(f3(c))),o=Hy(ED(f3(a))),r=!0;do{if(u>o-n.b&&u<o+n.b)return-1;u>o-n.a&&u<o+n.a&&++i,u<=o&&c.b!=c.d.c?u=Hy(ED(f3(c))):o<=u&&a.b!=a.d.c?o=Hy(ED(f3(a))):r=!1}while(r)}return i}function XNn(n,t,e,i,r){var c,a,u,o;for(o=new V_(c=KB(Xj(_It),9),KB(TR(c,c.length),9),0),u=new Ub(n.j);u.a<u.c.c.length;)t[(a=KB(Y1(u),11)).p]&&(KUn(a,t[a.p],i),arn(o,a.j));r?(HEn(n,t,(mUn(),aIt),2*e,i),HEn(n,t,SIt,2*e,i)):(HEn(n,t,(mUn(),uIt),2*e,i),HEn(n,t,TIt,2*e,i))}function WNn(n){var t,e,i,r,c;if(c=new $p,Ctn(n.b,new mw(c)),n.b.c=L8(Int,FWn,1,0,5,1),0!=c.c.length){for(h1(0,c.c.length),t=KB(c.c[0],78),e=1,i=c.c.length;e<i;++e)h1(e,c.c.length),(r=KB(c.c[e],78))!=t&&HTn(t,r);if(iL(t,60))throw Fp(KB(t,60));if(iL(t,289))throw Fp(KB(t,289))}}function VNn(n,t){var e,i,r,c;for(n=null==n?qWn:(mW(n),n),e=new Pk,c=0,i=0;i<t.length&&-1!=(r=n.indexOf("%s",c));)aO(e,n.substr(c,r-c)),cO(e,t[i++]),c=r+2;if(aO(e,n.substr(c)),i<t.length){for(e.a+=" [",cO(e,t[i++]);i<t.length;)e.a+=_Wn,cO(e,t[i++]);e.a+="]"}return e.a}function QNn(n){var t,e,i,r;for(t=0,r=(i=n.length)-4,e=0;e<r;)f1(e+3,n.length),t=n.charCodeAt(e+3)+(f1(e+2,n.length),31*(n.charCodeAt(e+2)+(f1(e+1,n.length),31*(n.charCodeAt(e+1)+(f1(e,n.length),31*(n.charCodeAt(e)+31*t)))))),t|=0,e+=4;for(;e<i;)t=31*t+sV(n,e++);return t|=0}function JNn(n){var t;for(t=new az(JL(hbn(n).a.Kc(),new h));bAn(t);)if(KB(G5(t),17).d.i.k!=(cSn(),Tut))throw Fp(new ek(M1n+wyn(n)+"' has its layer constraint set to LAST, but has at least one outgoing edge that does not go to a LAST_SEPARATE node. That must not happen."))}function YNn(n,t,e,r){var c,a,u,o,s,f,l;for(o=0,s=new Ub(n.a);s.a<s.c.c.length;){for(u=0,a=new az(JL(sbn(KB(Y1(s),10)).a.Kc(),new h));bAn(a);)f=w1((c=KB(G5(a),17)).c).b,l=w1(c.d).b,u=i.Math.max(u,i.Math.abs(l-f));o=i.Math.max(o,u)}return r*i.Math.min(1,t/e)*o}function ZNn(n){var t;return t=new Mk,256&n&&(t.a+="F"),128&n&&(t.a+="H"),512&n&&(t.a+="X"),2&n&&(t.a+="i"),8&n&&(t.a+="m"),4&n&&(t.a+="s"),32&n&&(t.a+="u"),64&n&&(t.a+="w"),16&n&&(t.a+="x"),n&m6n&&(t.a+=","),Gy(t.a)}function nxn(n,t){var e,i,r;for(CTn(t,"Resize child graph to fit parent.",1),i=new Ub(n.b);i.a<i.c.c.length;)e=KB(Y1(i),29),wun(n.a,e.a),e.a.c=L8(Int,FWn,1,0,5,1);for(r=new Ub(n.a);r.a<r.c.c.length;)MZ(KB(Y1(r),10),null);n.b.c=L8(Int,FWn,1,0,5,1),Kxn(n),n.e&&TKn(n.e,n),FSn(t)}function txn(n){var t,e,i,r,c,a,u;if(r=(i=n.b).e,c=A_(KB(pMn(i,(FXn(),npt)),98)),e=!!r&&KB(pMn(r,(oWn(),Jft)),21).Hc((fDn(),hft)),!c&&!e)for(u=new Db(new Cb(n.e).a.vc().Kc());u.a.Ob();)t=KB(u.a.Pb(),42),(a=KB(t.dd(),113)).a&&(SZ(a.d,null),a.c=!0,n.a=!0)}function exn(n){var t,e,i,r,c,a,u,o,s,h,f,l;for(f=-1,l=0,s=0,h=(o=n).length;s<h;++s){for(a=0,u=(c=o[s]).length;a<u;++a)for(r=c[a],t=new dP(-1==f?n[0]:n[f],akn(r)),e=0;e<r.j.c.length;e++)for(i=e+1;i<r.j.c.length;i++)$z(t,KB(Lq(r.j,e),11),KB(Lq(r.j,i),11))>0&&++l;++f}return l}function ixn(n,t){var e,i,r,c,a;for(a=KB(pMn(t,(SAn(),Akt)),425),c=upn(t.b,0);c.b!=c.d.c;)if(r=KB(f3(c),86),0==n.b[r.g]){switch(a.g){case 0:Wvn(n,r);break;case 1:FAn(n,r)}n.b[r.g]=2}for(i=upn(n.a,0);i.b!=i.d.c;)vwn((e=KB(f3(i),188)).b.d,e,!0),vwn(e.c.b,e,!0);oon(t,(Bqn(),hkt),n.a)}function rxn(n,t){var e,i,r,c;return JM(),t?t==(Gqn(),xLt)||(t==pLt||t==dLt||t==gLt)&&n!=wLt?new iUn(n,t):((e=(i=KB(t,677)).pk())||(mV(K7((PPn(),Q$t),t)),e=i.pk()),!e.i&&(e.i=new Lp),!(r=KB(BI(IJ((c=e.i).f,n)),1942))&&XW(c,n,r=new iUn(n,t)),r):iLt}function cxn(n,t){var e,i,r,c,a,u,o,s;for(u=KB(pMn(n,(oWn(),blt)),11),o=Ion(Mun(Hk(MMt,1),uVn,8,0,[u.i.n,u.n,u.a])).a,s=n.i.n.b,r=0,c=(i=J0(n.e)).length;r<c;++r)EZ(e=i[r],u),sO(e.a,new LC(o,s)),t&&((a=KB(pMn(e,(FXn(),ggt)),74))||(a=new mm,oon(e,ggt,a)),NH(a,new LC(o,s)))}function axn(n,t){var e,i,r,c,a,u,o,s;for(i=KB(pMn(n,(oWn(),blt)),11),o=Ion(Mun(Hk(MMt,1),uVn,8,0,[i.i.n,i.n,i.a])).a,s=n.i.n.b,a=0,u=(c=J0(n.g)).length;a<u;++a)TZ(r=c[a],i),oO(r.a,new LC(o,s)),t&&((e=KB(pMn(r,(FXn(),ggt)),74))||(e=new mm,oon(r,ggt,e)),NH(e,new LC(o,s)))}function uxn(n,t){var e,i,r,c,a;for(n.b=new $p,n.d=KB(pMn(t,(oWn(),Tlt)),230),n.e=i0(n.d),c=new VT,r=c6(Mun(Hk(yut,1),QZn,37,0,[t])),a=0;a<r.c.length;)h1(a,r.c.length),(i=KB(r.c[a],37)).p=a++,wun(r,(e=new SGn(i,n.a,n.b)).b),UB(n.b,e),e.s&&YU(upn(c,0),e);return n.c=new xv,c}function oxn(n,t){var e,i,r,c,a,u;for(a=KB(KB(o6(n.r,t),21),84).Kc();a.Ob();)(e=(c=KB(a.Pb(),111)).c?XH(c.c):0)>0?c.a?e>(u=c.b.rf().a)&&(r=(e-u)/2,c.d.b=r,c.d.c=r):c.d.c=n.s+e:Fz(n.u)&&((i=RTn(c.b)).c<0&&(c.d.b=-i.c),i.c+i.b>c.b.rf().a&&(c.d.c=i.c+i.b-c.b.rf().a))}function sxn(n,t){var e,i;for(CTn(t,"Semi-Interactive Crossing Minimization Processor",1),e=!1,i=new Ub(n.b);i.a<i.c.c.length;)e|=null!=Ofn(vtn(IV(IV(new xq(null,new l1(KB(Y1(i),29).a,16)),new Qi),new Ji),new Yi),new Zi).a;e&&oon(n,(oWn(),rlt),(oN(),!0)),FSn(t)}function hxn(n,t,e){var i,r,c;if(!(r=e)&&(r=new zm),CTn(r,"Layout",n.a.c.length),By(jD(pMn(t,(SAn(),kkt)))))for(OT(),i=0;i<n.a.c.length;i++)i++,Yj(Zon(KB(Lq(n.a,i),51)));for(c=new Ub(n.a);c.a<c.c.c.length;)KB(Y1(c),51).pf(t,pcn(r,1));FSn(r)}function fxn(n){var t,e;if(t=KB(n.a,19).a,e=KB(n.b,19).a,t>=0){if(t==e)return new eI(tln(-t-1),tln(-t-1));if(t==-e)return new eI(tln(-t),tln(e+1))}return i.Math.abs(t)>i.Math.abs(e)?new eI(tln(-t),tln(t<0?e:e+1)):new eI(tln(t+1),tln(e))}function lxn(n){var t,e;e=KB(pMn(n,(FXn(),mgt)),163),t=KB(pMn(n,(oWn(),tlt)),303),e==(jbn(),_lt)?(oon(n,mgt,Blt),oon(n,tlt,(q7(),Sft))):e==Flt?(oon(n,mgt,Blt),oon(n,tlt,(q7(),Tft))):t==(q7(),Sft)?(oon(n,mgt,_lt),oon(n,tlt,Mft)):t==Tft&&(oon(n,mgt,Flt),oon(n,tlt,Mft))}function bxn(){bxn=O,yyt=new oa,gyt=bq(new K2,(vMn(),Rat),(hWn(),yot)),myt=UG(bq(new K2,Rat,Not),Kat,Lot),kyt=agn(agn(_M(UG(bq(new K2,xat,Got),Kat,qot),_at),Hot),zot),pyt=UG(bq(bq(bq(new K2,Dat,Eot),_at,Mot),_at,Sot),Kat,Tot),vyt=UG(bq(bq(new K2,_at,Sot),_at,cot),Kat,rot)}function wxn(){wxn=O,Syt=bq(UG(new K2,(vMn(),Kat),(hWn(),oot)),Rat,yot),Oyt=agn(agn(_M(UG(bq(new K2,xat,Got),Kat,qot),_at),Hot),zot),Pyt=UG(bq(bq(bq(new K2,Dat,Eot),_at,Mot),_at,Sot),Kat,Tot),Iyt=bq(bq(new K2,Rat,Not),Kat,Lot),Cyt=UG(bq(bq(new K2,_at,Sot),_at,cot),Kat,rot)}function dxn(n,t,e,i,r){var c,a;(f5(t)||t.c.i.c!=t.d.i.c)&&Yin(Ion(Mun(Hk(MMt,1),uVn,8,0,[r.i.n,r.n,r.a])),e)||f5(t)||(t.c==r?Dx(t.a,0,new lA(e)):NH(t.a,new lA(e)),i&&!_T(n.a,e)&&((a=KB(pMn(t,(FXn(),ggt)),74))||(a=new mm,oon(t,ggt,a)),e5(a,c=new lA(e),a.c.b,a.c),jU(n.a,c)))}function gxn(n){var t;for(t=new az(JL(sbn(n).a.Kc(),new h));bAn(t);)if(KB(G5(t),17).c.i.k!=(cSn(),Tut))throw Fp(new ek(M1n+wyn(n)+"' has its layer constraint set to FIRST, but has at least one incoming edge that does not come from a FIRST_SEPARATE node. That must not happen."))}function pxn(n,t,e){var i,r,c,a,u,o;if(0==(r=dbn(254&n.Db)))n.Eb=e;else{if(1==r)a=L8(Int,FWn,1,2,5,1),0==xmn(n,t)?(a[0]=e,a[1]=n.Eb):(a[0]=n.Eb,a[1]=e);else for(a=L8(Int,FWn,1,r+1,5,1),c=nen(n.Eb),i=2,u=0,o=0;i<=128;i<<=1)i==t?a[o++]=e:n.Db&i&&(a[o++]=c[u++]);n.Eb=a}n.Db|=t}function vxn(n,t,e){var r,c,a,u;for(this.b=new $p,c=0,r=0,u=new Ub(n);u.a<u.c.c.length;)a=KB(Y1(u),167),e&&DBn(a),UB(this.b,a),c+=a.o,r+=a.p;this.b.c.length>0&&(c+=(a=KB(Lq(this.b,0),167)).o,r+=a.p),c*=2,r*=2,t>1?c=SY(i.Math.ceil(c*t)):r=SY(i.Math.ceil(r/t)),this.a=new Bwn(c,r)}function mxn(n,t,e,r,c,a){var u,o,s,h,f,l,b,w,d,g;for(h=r,t.j&&t.o?(d=(b=KB(xX(n.f,t.A),57)).d.c+b.d.b,--h):d=t.a.c+t.a.b,f=c,e.q&&e.o?(s=(b=KB(xX(n.f,e.C),57)).d.c,++f):s=e.a.c,w=d+(o=(s-d)/i.Math.max(2,f-h)),l=h;l<f;++l)g=(u=KB(a.Xb(l),128)).a.b,u.a.c=w-g/2,w+=o}function yxn(n,t,e,i,r,c){var a,u,o,s,h,f;for(s=e.c.length,c&&(n.c=L8(CNt,oQn,25,t.length,15,1)),a=r?0:t.length-1;r?a<t.length:a>=0;a+=r?1:-1){for(u=t[a],o=i==(mUn(),aIt)?r?rbn(u,i):nan(rbn(u,i)):r?nan(rbn(u,i)):rbn(u,i),c&&(n.c[u.p]=o.gc()),f=o.Kc();f.Ob();)h=KB(f.Pb(),11),n.d[h.p]=s++;wun(e,o)}}function kxn(n,t,e){var i,r,c,a,u,o,s,h;for(c=Hy(ED(n.b.Kc().Pb())),s=Hy(ED(Uan(t.b))),i=mL(K$(n.a),s-e),r=mL(K$(t.a),e-c),mL(h=GR(i,r),1/(s-c)),this.a=h,this.b=new $p,u=!0,(a=n.b.Kc()).Pb();a.Ob();)o=Hy(ED(a.Pb())),u&&o-e>N3n&&(this.b.Fc(e),u=!1),this.b.Fc(o);u&&this.b.Fc(e)}function jxn(n){var t,e,i,r;if(o_n(n,n.n),n.d.c.length>0){for(Yy(n.c);dAn(n,KB(Y1(new Ub(n.e.a)),121))<n.e.a.c.length;){for(r=(t=xyn(n)).e.e-t.d.e-t.a,t.e.j&&(r=-r),i=new Ub(n.e.a);i.a<i.c.c.length;)(e=KB(Y1(i),121)).j&&(e.e+=r);Yy(n.c)}Yy(n.c),dIn(n,KB(Y1(new Ub(n.e.a)),121)),wGn(n)}}function Exn(n,t){var e,i,r,c,a;for(r=KB(o6(n.a,(AEn(),Est)),15).Kc();r.Ob();)switch(i=KB(r.Pb(),101),e=KB(Lq(i.j,0),113).d.j,p$(c=new Z_(i.j),new Yr),t.g){case 1:$En(n,c,e,(Srn(),Nst),1);break;case 0:$En(n,new u1(c,0,a=RLn(c)),e,(Srn(),Nst),0),$En(n,new u1(c,a,c.c.length),e,Nst,1)}}function Txn(n,t){var e,i;if($un(),e=j5(iin(),t.tg())){if(i=e.j,iL(n,239))return eZ(KB(n,33))?TN(i,(epn(),uMt))||TN(i,oMt):TN(i,(epn(),uMt));if(iL(n,352))return TN(i,(epn(),cMt));if(iL(n,186))return TN(i,(epn(),sMt));if(iL(n,354))return TN(i,(epn(),aMt))}return!0}function Mxn(n,t,e){var i,r,c,a,u,o;if(c=(r=e).ak(),Oxn(n.e,c)){if(c.hi())for(i=KB(n.g,119),a=0;a<n.i;++a)if($fn(u=i[a],r)&&a!=t)throw Fp(new Ry(r8n))}else for(o=rxn(n.e.Tg(),c),i=KB(n.g,119),a=0;a<n.i;++a)if(u=i[a],o.rl(u.ak())&&a!=t)throw Fp(new Ry(P7n));return KB(avn(n,t,e),72)}function Sxn(n,t){if(t instanceof Object)try{if(t.__java$exception=n,-1!=navigator.userAgent.toLowerCase().indexOf("msie")&&$doc.documentMode<9)return;var e=n;Object.defineProperties(t,{cause:{get:function(){var n=e.Zd();return n&&n.Xd()}},suppressed:{get:function(){return e.Yd()}}})}catch(i){}}function Pxn(n,t){var e,i,r,c,a;if(i=t>>5,t&=31,i>=n.d)return n.e<0?(CDn(),Vtt):(CDn(),net);if(c=n.d-i,WSn(r=L8(CNt,oQn,25,c+1,15,1),c,n.a,i,t),n.e<0){for(e=0;e<i&&0==n.a[e];e++);if(e<i||t>0&&n.a[e]<<32-t){for(e=0;e<c&&-1==r[e];e++)r[e]=0;e==c&&++c,++r[e]}}return z0(a=new hU(n.e,c,r)),a}function Cxn(n){var t,e,i,r;return e=new Ow(r=UY(n)),i=new Aw(r),wun(t=new $p,(!n.d&&(n.d=new o_(DOt,n,8,5)),n.d)),wun(t,(!n.e&&(n.e=new o_(DOt,n,7,4)),n.e)),KB(M4(OV(IV(new xq(null,new l1(t,16)),e),i),L7(new Q,new J,new cn,new an,Mun(Hk(Yet,1),OVn,132,0,[(Bsn(),zet),Get]))),21)}function Ixn(n,t,e,i){var r,c,a,u,o;if(JM(),u=KB(t,66).Oj(),Oxn(n.e,t)){if(t.hi()&&GFn(n,t,i,iL(t,99)&&!!(KB(t,18).Bb&KQn)))throw Fp(new Ry(r8n))}else for(o=rxn(n.e.Tg(),t),r=KB(n.g,119),a=0;a<n.i;++a)if(c=r[a],o.rl(c.ak()))throw Fp(new Ry(P7n));uln(n,kPn(n,t,e),u?KB(i,72):J3(t,i))}function Oxn(n,t){var e,i,r;return JM(),!!t.$j()||-2==t.Zj()&&(t==(jOn(),oLt)||t==cLt||t==aLt||t==uLt||!(Iwn(r=n.Tg(),t)>=0)&&(!(e=_qn((PPn(),Q$t),r,t))||((i=e.Zj())>1||-1==i)&&3!=NW(K7(Q$t,e))))}function Axn(n,t,e,i){var r,c,a,u,o;return u=MTn(KB(Utn((!t.b&&(t.b=new o_(xOt,t,4,7)),t.b),0),82)),o=MTn(KB(Utn((!t.c&&(t.c=new o_(xOt,t,5,8)),t.c),0),82)),QY(u)==QY(o)||Stn(o,u)?null:(a=zY(t))==e?i:(c=KB(xX(n.a,a),10))&&(r=c.e)?r:null}function $xn(n,t){var e;switch(CTn(t,"Label side selection ("+(e=KB(pMn(n,(FXn(),Qdt)),276))+")",1),e.g){case 0:jAn(n,(zyn(),yCt));break;case 1:jAn(n,(zyn(),kCt));break;case 2:uBn(n,(zyn(),yCt));break;case 3:uBn(n,(zyn(),kCt));break;case 4:cDn(n,(zyn(),yCt));break;case 5:cDn(n,(zyn(),kCt))}FSn(t)}function Lxn(n,t,e){var i,r,c,a,u;if((c=n[hj(e,n.length)])[0].k==(cSn(),Eut))for(r=sj(e,c.length),u=t.j,i=0;i<u.c.length;i++)h1(i,u.c.length),a=KB(u.c[i],11),(e?a.j==(mUn(),aIt):a.j==(mUn(),SIt))&&By(jD(pMn(a,(oWn(),nlt))))&&(i5(u,i,KB(pMn(c[r],(oWn(),blt)),11)),r+=e?1:-1)}function Nxn(n,t){var e,i,r,c,a;a=new $p,e=t;do{(c=KB(xX(n.b,e),128)).B=e.c,c.D=e.d,a.c[a.c.length]=c,e=KB(xX(n.k,e),17)}while(e);return h1(0,a.c.length),(i=KB(a.c[0],128)).j=!0,i.A=KB(i.d.a.ec().Kc().Pb(),17).c.i,(r=KB(Lq(a,a.c.length-1),128)).q=!0,r.C=KB(r.d.a.ec().Kc().Pb(),17).d.i,a}function xxn(n){if(null==n.g)switch(n.p){case 0:n.g=sZ(n)?(oN(),gtt):(oN(),dtt);break;case 1:n.g=Mnn(N3(n));break;case 2:n.g=sun(W1(n));break;case 3:n.g=CW(n);break;case 4:n.g=new $b(PW(n));break;case 6:n.g=ygn(IW(n));break;case 5:n.g=tln(oY(n));break;case 7:n.g=eln(R3(n))}return n.g}function Dxn(n){if(null==n.n)switch(n.p){case 0:n.n=hZ(n)?(oN(),gtt):(oN(),dtt);break;case 1:n.n=Mnn(x3(n));break;case 2:n.n=sun(V1(n));break;case 3:n.n=AW(n);break;case 4:n.n=new $b($W(n));break;case 6:n.n=ygn(OW(n));break;case 5:n.n=tln(sY(n));break;case 7:n.n=eln(D3(n))}return n.n}function Rxn(n){var t,e,i,r,c,a;for(r=new Ub(n.a.a);r.a<r.c.c.length;)(e=KB(Y1(r),307)).g=0,e.i=0,e.e.a.$b();for(i=new Ub(n.a.a);i.a<i.c.c.length;)for(t=(e=KB(Y1(i),307)).a.a.ec().Kc();t.Ob();)for(a=KB(t.Pb(),57).c.Kc();a.Ob();)(c=KB(a.Pb(),57)).a!=e&&(jU(e.e,c),++c.a.g,++c.a.i)}function _xn(n,t){var e,i,r;if(!JU(n.a,t.b))throw Fp(new _y("Invalid hitboxes for scanline overlap calculation."));for(r=!1,i=new _b(new KR(new LN(new Rb(n.a.a).a).b));rS(i.a.a);)if(e=KB(px(i.a).cd(),65),non(t.b,e))Lj(n.b.a,t.b,e),r=!0;else if(r)break}function Kxn(n){var t,e,r,c,a;c=KB(pMn(n,(FXn(),_gt)),21),a=KB(pMn(n,Bgt),21),t=new lA(e=new LC(n.f.a+n.d.b+n.d.c,n.f.b+n.d.d+n.d.a)),c.Hc((pdn(),NIt))&&(r=KB(pMn(n,Fgt),8),a.Hc((Y_n(),HIt))&&(r.a<=0&&(r.a=20),r.b<=0&&(r.b=20)),t.a=i.Math.max(e.a,r.a),t.b=i.Math.max(e.b,r.b)),zBn(n,e,t)}function Fxn(n,t){var e,i,r,c,a,u,o,s;r=t?new pc:new vc,c=!1;do{for(c=!1,a=(t?nan(n.b):n.b).Kc();a.Ob();)for(s=r0(KB(a.Pb(),29).a),t||new sy(s),o=new Ub(s);o.a<o.c.c.length;)u=KB(Y1(o),10),r.Mb(u)&&(i=u,e=KB(pMn(u,(oWn(),xft)),305),c=nRn(i,t?e.b:e.k,t,!1))}while(c)}function Bxn(n,t,e){var i,r,c,a;for(CTn(e,"Longest path layering",1),n.a=t,a=n.a.a,n.b=L8(CNt,oQn,25,a.c.length,15,1),i=0,c=new Ub(a);c.a<c.c.c.length;)KB(Y1(c),10).p=i,n.b[i]=-1,++i;for(r=new Ub(a);r.a<r.c.c.length;)N$n(n,KB(Y1(r),10));a.c=L8(Int,FWn,1,0,5,1),n.a=null,n.b=null,FSn(e)}function Hxn(n,t){var e,i,r;t.a?(JU(n.b,t.b),n.a[t.b.i]=KB(m_(n.b,t.b),81),(e=KB(v_(n.b,t.b),81))&&(n.a[e.i]=t.b)):(!!(i=KB(m_(n.b,t.b),81))&&i==n.a[t.b.i]&&!!i.d&&i.d!=t.b.d&&i.f.Fc(t.b),!!(r=KB(v_(n.b,t.b),81))&&n.a[r.i]==t.b&&!!r.d&&r.d!=t.b.d&&t.b.f.Fc(r),EN(n.b,t.b))}function qxn(n,t){var e,r,c,a,u,o;return a=n.d,(o=Hy(ED(pMn(n,(FXn(),rgt)))))<0&&oon(n,rgt,o=0),t.o.b=o,u=i.Math.floor(o/2),BCn(r=new SSn,(mUn(),SIt)),SZ(r,t),r.n.b=u,BCn(c=new SSn,aIt),SZ(c,t),c.n.b=u,EZ(n,r),Ban(e=new lJ,n),oon(e,ggt,null),TZ(e,c),EZ(e,a),yFn(t,n,e),uCn(n,e),e}function Gxn(n){var t,e;return e=KB(pMn(n,(oWn(),Jft)),21),t=new K2,e.Hc((fDn(),fft))&&(Qcn(t,fyt),Qcn(t,byt)),(e.Hc(bft)||By(jD(pMn(n,(FXn(),cgt)))))&&(Qcn(t,byt),e.Hc(wft)&&Qcn(t,wyt)),e.Hc(hft)&&Qcn(t,hyt),e.Hc(gft)&&Qcn(t,dyt),e.Hc(lft)&&Qcn(t,lyt),e.Hc(uft)&&Qcn(t,oyt),e.Hc(sft)&&Qcn(t,syt),t}function zxn(n,t){var e,i,r,c,a,u,o,s,h;return c=(e=n.d)+(i=t.d),a=n.e!=t.e?-1:1,2==c?(h=bG(o=ibn(n0(n.a[0],GQn),n0(t.a[0],GQn))),0==(s=bG(yz(o,32)))?new z6(a,h):new hU(a,2,Mun(Hk(CNt,1),oQn,25,15,[h,s]))):(Nfn(n.a,e,t.a,i,r=L8(CNt,oQn,25,c,15,1)),z0(u=new hU(a,c,r)),u)}function Uxn(n,t,e,i){var r,c;return t?0==(r=n.a.ue(e.d,t.d))?(i.d=dR(t,e.e),i.b=!0,t):(c=r<0?0:1,t.a[c]=Uxn(n,t.a[c],e,i),Xy(t.a[c])&&(Xy(t.a[1-c])?(t.b=!0,t.a[0].b=!1,t.a[1].b=!1):Xy(t.a[c].a[c])?t=lrn(t,1-c):Xy(t.a[c].a[1-c])&&(t=e2(t,1-c))),t):e}function Xxn(n,t,e){var r,c,a,u;c=n.i,r=n.n,V5(n,(Ntn(),Hit),c.c+r.b,e),V5(n,Git,c.c+c.b-r.c-e[2],e),u=c.b-r.b-r.c,e[0]>0&&(e[0]+=n.d,u-=e[0]),e[2]>0&&(e[2]+=n.d,u-=e[2]),a=i.Math.max(0,u),e[1]=i.Math.max(e[1],u),V5(n,qit,c.c+r.b+e[0]-(e[1]-u)/2,e),t==qit&&(n.c.b=a,n.c.c=c.c+r.b+(a-u)/2)}function Wxn(){this.c=L8($Nt,BQn,25,(mUn(),Mun(Hk(_It,1),VZn,61,0,[MIt,uIt,aIt,TIt,SIt])).length,15,1),this.b=L8($Nt,BQn,25,Mun(Hk(_It,1),VZn,61,0,[MIt,uIt,aIt,TIt,SIt]).length,15,1),this.a=L8($Nt,BQn,25,Mun(Hk(_It,1),VZn,61,0,[MIt,uIt,aIt,TIt,SIt]).length,15,1),pS(this.c,xQn),pS(this.b,DQn),pS(this.a,DQn)}function Vxn(n,t,e){var i,r,c,a;if(t<=e?(r=t,c=e):(r=e,c=t),i=0,null==n.b)n.b=L8(CNt,oQn,25,2,15,1),n.b[0]=r,n.b[1]=c,n.c=!0;else{if(i=n.b.length,n.b[i-1]+1==r)return void(n.b[i-1]=c);a=L8(CNt,oQn,25,i+2,15,1),rHn(n.b,0,a,0,i),n.b=a,n.b[i-1]>=r&&(n.c=!1,n.a=!1),n.b[i++]=r,n.b[i]=c,n.c||j$n(n)}}function Qxn(n,t,e){var i,r,c,a,u,o,s;for(s=t.d,n.a=new Q6(s.c.length),n.c=new Lp,u=new Ub(s);u.a<u.c.c.length;)a=KB(Y1(u),101),c=new _an(null),UB(n.a,c),XW(n.c,a,c);for(n.b=new Lp,gCn(n,t),i=0;i<s.c.length-1;i++)for(o=KB(Lq(t.d,i),101),r=i+1;r<s.c.length;r++)ULn(n,o,KB(Lq(t.d,r),101),e)}function Jxn(n,t,e){var i,r,c,a,u,o;if(!o3(t)){for(CTn(o=pcn(e,(iL(t,14)?KB(t,14).gc():_3(t.Kc()))/n.a|0),q3n,1),u=new Ia,a=0,c=t.Kc();c.Ob();)i=KB(c.Pb(),86),u=Uen(Mun(Hk(Lnt,1),FWn,20,0,[u,new fg(i)])),a<i.f.b&&(a=i.f.b);for(r=t.Kc();r.Ob();)oon(i=KB(r.Pb(),86),(Bqn(),ckt),a);FSn(o),Jxn(n,u,e)}}function Yxn(n,t){var e,r,c,a,u,o,s;for(e=DQn,cSn(),o=Sut,c=new Ub(t.a);c.a<c.c.c.length;)(a=(r=KB(Y1(c),10)).k)!=Sut&&(null==(u=ED(pMn(r,(oWn(),dlt))))?(e=i.Math.max(e,0),r.n.b=e+zN(n.a,a,o)):r.n.b=(mW(u),u)),s=zN(n.a,a,o),r.n.b<e+s+r.d.d&&(r.n.b=e+s+r.d.d),e=r.n.b+r.o.b+r.d.a,o=a}function Zxn(n,t,e){var i,r,c;for(Ban(c=new kAn(zXn(BSn(iDn(t,!1,!1)),Hy(ED(JAn(t,(kpn(),dct))))+n.a)),t),XW(n.b,t,c),e.c[e.c.length]=c,!t.n&&(t.n=new nU(HOt,t,1,7)),r=new IL(t.n);r.e!=r.i.gc();)i=QRn(n,KB(mpn(r),137),!0,0,0),e.c[e.c.length]=i;return c}function nDn(n,t,e,i,r){var c,a,u;if(n.d&&n.d.lg(r),Nvn(n,e,KB(r.Xb(0),33),!1))return!0;if(Nvn(n,i,KB(r.Xb(r.gc()-1),33),!0))return!0;if($Mn(n,r))return!0;for(u=r.Kc();u.Ob();)for(a=KB(u.Pb(),33),c=t.Kc();c.Ob();)if(RDn(n,a,KB(c.Pb(),33)))return!0;return!1}function tDn(n,t,e){var i,r,c,a,u,o,s,h,f;f=t.c.length;n:for(c=KB((s=n.Yg(e))>=0?n._g(s,!1,!0):iOn(n,e,!1),58).Kc();c.Ob();){for(r=KB(c.Pb(),56),h=0;h<f;++h)if(h1(h,t.c.length),o=(a=KB(t.c[h],72)).dd(),u=a.ak(),i=r.bh(u,!1),null==o?null!=i:!$fn(o,i))continue n;return r}return null}function eDn(n,t,e,i){var r,c,a,u;for(r=KB(NSn(t,(mUn(),SIt)).Kc().Pb(),11),c=KB(NSn(t,aIt).Kc().Pb(),11),u=new Ub(n.j);u.a<u.c.c.length;){for(a=KB(Y1(u),11);0!=a.e.c.length;)EZ(KB(Lq(a.e,0),17),r);for(;0!=a.g.c.length;)TZ(KB(Lq(a.g,0),17),c)}e||oon(t,(oWn(),olt),null),i||oon(t,(oWn(),slt),null)}function iDn(n,t,e){var i,r;if(0==(!n.a&&(n.a=new nU(ROt,n,6,6)),n.a).i)return Bun(n);if(i=KB(Utn((!n.a&&(n.a=new nU(ROt,n,6,6)),n.a),0),202),t&&(uqn((!i.a&&(i.a=new OL($Ot,i,5)),i.a)),Pen(i,0),Ien(i,0),jen(i,0),Cen(i,0)),e)for(!n.a&&(n.a=new nU(ROt,n,6,6)),r=n.a;r.i>1;)sDn(r,r.i-1);return i}function rDn(n,t){var e,i,r,c,a,u,o;for(CTn(t,"Comment post-processing",1),c=new Ub(n.b);c.a<c.c.c.length;){for(r=KB(Y1(c),29),i=new $p,u=new Ub(r.a);u.a<u.c.c.length;)a=KB(Y1(u),10),o=KB(pMn(a,(oWn(),Dlt)),15),e=KB(pMn(a,Nft),15),(o||e)&&(Uzn(a,o,e),o&&wun(i,o),e&&wun(i,e));wun(r.a,i)}FSn(t)}function cDn(n,t){var e,i,r,c,a,u;for(e=new Ap,r=new Ub(n.b);r.a<r.c.c.length;){for(u=!0,i=0,a=new Ub(KB(Y1(r),29).a);a.a<a.c.c.length;)switch((c=KB(Y1(a),10)).k.g){case 4:++i;case 1:l3(e,c);break;case 0:aCn(c,t);default:e.b==e.c||dKn(e,i,u,!1,t),u=!1,i=0}e.b==e.c||dKn(e,i,u,!0,t)}}function aDn(n,t){var e,i,r,c,a,u;for(r=new $p,e=0;e<=n.i;e++)(i=new FX(t)).p=n.i-e,r.c[r.c.length]=i;for(u=new Ub(n.o);u.a<u.c.c.length;)MZ(a=KB(Y1(u),10),KB(Lq(r,n.i-n.f[a.p]),29));for(c=new Ub(r);c.a<c.c.c.length;)0==KB(Y1(c),29).a.c.length&&IU(c);t.b.c=L8(Int,FWn,1,0,5,1),wun(t.b,r)}function uDn(n,t){var e,i,r,c,a,u;for(e=0,u=new Ub(t);u.a<u.c.c.length;){for(a=KB(Y1(u),11),Ysn(n.b,n.d[a.p]),r=new p6(a.b);v$(r.a)||v$(r.b);)(c=EE(n,a==(i=KB(v$(r.a)?Y1(r.a):Y1(r.b),17)).c?i.d:i.c))>n.d[a.p]&&(e+=Y4(n.b,c),b3(n.a,tln(c)));for(;!Uy(n.a);)Enn(n.b,KB(bU(n.a),19).a)}return e}function oDn(n,t,e){var i,r,c,a;for(c=(!t.a&&(t.a=new nU(qOt,t,10,11)),t.a).i,r=new IL((!t.a&&(t.a=new nU(qOt,t,10,11)),t.a));r.e!=r.i.gc();)0==(!(i=KB(mpn(r),33)).a&&(i.a=new nU(qOt,i,10,11)),i.a).i||(c+=oDn(n,i,!1));if(e)for(a=QY(t);a;)c+=(!a.a&&(a.a=new nU(qOt,a,10,11)),a.a).i,a=QY(a);return c}function sDn(n,t){var e,i,r,c;return n.ej()?(i=null,r=n.fj(),n.ij()&&(i=n.kj(n.pi(t),null)),e=n.Zi(4,c=Ayn(n,t),null,t,r),n.bj()&&null!=c?(i=n.dj(c,i))?(i.Ei(e),i.Fi()):n.$i(e):i?(i.Ei(e),i.Fi()):n.$i(e),c):(c=Ayn(n,t),n.bj()&&null!=c&&(i=n.dj(c,null))&&i.Fi(),c)}function hDn(n){var t,e,r,c,a,u,o,s,h,f;for(h=n.a,t=new xv,s=0,r=new Ub(n.d);r.a<r.c.c.length;){for(f=0,Rrn((e=KB(Y1(r),222)).b,new $n),u=upn(e.b,0);u.b!=u.d.c;)a=KB(f3(u),222),t.a._b(a)&&(c=e.c,f<(o=a.c).d+o.a+h&&f+c.a+h>o.d&&(f=o.d+o.a+h));e.c.d=f,t.a.zc(e,t),s=i.Math.max(s,e.c.d+e.c.a)}return s}function fDn(){fDn=O,oft=new AP("COMMENTS",0),hft=new AP("EXTERNAL_PORTS",1),fft=new AP("HYPEREDGES",2),lft=new AP("HYPERNODES",3),bft=new AP("NON_FREE_PORTS",4),wft=new AP("NORTH_SOUTH_PORTS",5),gft=new AP(H1n,6),uft=new AP("CENTER_LABELS",7),sft=new AP("END_LABELS",8),dft=new AP("PARTITIONS",9)}function lDn(n){var t,e,i,r,c;for(r=new $p,t=new Oq((!n.a&&(n.a=new nU(qOt,n,10,11)),n.a)),i=new az(JL(bLn(n).a.Kc(),new h));bAn(i);)iL(Utn((!(e=KB(G5(i),79)).b&&(e.b=new o_(xOt,e,4,7)),e.b),0),186)||(c=MTn(KB(Utn((!e.c&&(e.c=new o_(xOt,e,5,8)),e.c),0),82)),t.a._b(c)||(r.c[r.c.length]=c));return r}function bDn(n){var t,e,i,r,c;for(r=new xv,t=new Oq((!n.a&&(n.a=new nU(qOt,n,10,11)),n.a)),i=new az(JL(bLn(n).a.Kc(),new h));bAn(i);)iL(Utn((!(e=KB(G5(i),79)).b&&(e.b=new o_(xOt,e,4,7)),e.b),0),186)||(c=MTn(KB(Utn((!e.c&&(e.c=new o_(xOt,e,5,8)),e.c),0),82)),t.a._b(c)||r.a.zc(c,r));return r}function wDn(n,t,e,i,r){return i<0?((i=qTn(n,r,Mun(Hk(Wtt,1),uVn,2,6,[VVn,QVn,JVn,YVn,ZVn,nQn,tQn,eQn,iQn,rQn,cQn,aQn]),t))<0&&(i=qTn(n,r,Mun(Hk(Wtt,1),uVn,2,6,["Jan","Feb","Mar","Apr",ZVn,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),t)),!(i<0||(e.k=i,0))):i>0&&(e.k=i-1,!0)}function dDn(n,t,e,i,r){return i<0?((i=qTn(n,r,Mun(Hk(Wtt,1),uVn,2,6,[VVn,QVn,JVn,YVn,ZVn,nQn,tQn,eQn,iQn,rQn,cQn,aQn]),t))<0&&(i=qTn(n,r,Mun(Hk(Wtt,1),uVn,2,6,["Jan","Feb","Mar","Apr",ZVn,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),t)),!(i<0||(e.k=i,0))):i>0&&(e.k=i-1,!0)}function gDn(n,t,e,i,r,c){var a,u,o;if(u=32,i<0){if(t[0]>=n.length)return!1;if(43!=(u=sV(n,t[0]))&&45!=u)return!1;if(++t[0],(i=GIn(n,t))<0)return!1;45==u&&(i=-i)}return 32==u&&t[0]-e==2&&2==r.b&&(a=(o=(new IT).q.getFullYear()-uQn+uQn-80)%100,c.a=i==a,i+=100*(o/100|0)+(i<a?100:0)),c.p=i,!0}function pDn(n,t){var e,r,c;QY(n)&&(c=KB(pMn(t,(FXn(),_gt)),174),HI(JAn(n,npt))===HI((WEn(),VCt))&&Vpn(n,npt,WCt),HM(),r=Bzn(new Ny(QY(n)),new QN(QY(n)?new Ny(QY(n)):null,n),!1,!0),arn(c,(pdn(),NIt)),(e=KB(pMn(t,Fgt),8)).a=i.Math.max(r.a,e.a),e.b=i.Math.max(r.b,e.b))}function vDn(n,t,e){var i,r,c,a,u,o;for(a=KB(pMn(n,(oWn(),Yft)),15).Kc();a.Ob();){switch(c=KB(a.Pb(),10),KB(pMn(c,(FXn(),mgt)),163).g){case 2:MZ(c,t);break;case 4:MZ(c,e)}for(r=new az(JL(obn(c).a.Kc(),new h));bAn(r);)(i=KB(G5(r),17)).c&&i.d||(u=!i.d,o=KB(pMn(i,plt),11),u?EZ(i,o):TZ(i,o))}}function mDn(){mDn=O,Kst=new UV(pYn,0,(mUn(),uIt),uIt),Hst=new UV(mYn,1,TIt,TIt),_st=new UV(vYn,2,aIt,aIt),zst=new UV(yYn,3,SIt,SIt),Bst=new UV("NORTH_WEST_CORNER",4,SIt,uIt),Fst=new UV("NORTH_EAST_CORNER",5,uIt,aIt),Gst=new UV("SOUTH_WEST_CORNER",6,TIt,SIt),qst=new UV("SOUTH_EAST_CORNER",7,aIt,TIt)}function yDn(){yDn=O,EMt=Mun(Hk(ONt,1),_Qn,25,14,[1,1,2,6,24,120,720,5040,40320,362880,3628800,39916800,479001600,6227020800,87178291200,1307674368e3,{l:3506176,m:794077,h:1},{l:884736,m:916411,h:20},{l:3342336,m:3912489,h:363},{l:589824,m:3034138,h:6914},{l:3407872,m:1962506,h:138294}]),i.Math.pow(2,-65)}function kDn(n,t){var e,i,r,c,a;if(0==n.c.length)return new eI(tln(0),tln(0));for(e=(h1(0,n.c.length),KB(n.c[0],11)).j,a=0,c=t.g,i=t.g+1;a<n.c.length-1&&e.g<c;)e=(h1(++a,n.c.length),KB(n.c[a],11)).j;for(r=a;r<n.c.length-1&&e.g<i;)++r,e=(h1(a,n.c.length),KB(n.c[a],11)).j;return new eI(tln(a),tln(r))}function jDn(n,t,e){var r,c,a,u,o,s,h,f,l,b;for(a=t.c.length,h1(e,t.c.length),o=(u=KB(t.c[e],286)).a.o.a,l=u.c,b=0,h=u.c;h<=u.f;h++){if(o<=n.a[h])return h;for(f=n.a[h],s=null,c=e+1;c<a;c++)h1(c,t.c.length),(r=KB(t.c[c],286)).c<=h&&r.f>=h&&(s=r);s&&(f=i.Math.max(f,s.a.o.a)),f>b&&(l=h,b=f)}return l}function EDn(n,t,e){var i,r,c;if(n.e=e,n.d=0,n.b=0,n.f=1,n.i=t,!(16&~n.e)&&(n.i=d_n(n.i)),n.j=n.i.length,WXn(n),c=Xdn(n),n.d!=n.j)throw Fp(new rk(mWn((c$(),l8n))));if(n.g){for(i=0;i<n.g.a.c.length;i++)if(r=KB(fW(n.g,i),584),n.f<=r.a)throw Fp(new rk(mWn((c$(),b8n))));n.g.a.c=L8(Int,FWn,1,0,5,1)}return c}function TDn(n,t){var e,i,r;if(null==t){for(!n.a&&(n.a=new nU(zAt,n,9,5)),i=new IL(n.a);i.e!=i.i.gc();)if(null==(null==(r=(e=KB(mpn(i),678)).c)?e.zb:r))return e}else for(!n.a&&(n.a=new nU(zAt,n,9,5)),i=new IL(n.a);i.e!=i.i.gc();)if(p_(t,null==(r=(e=KB(mpn(i),678)).c)?e.zb:r))return e;return null}function MDn(n,t){var e;switch(e=null,t.g){case 1:n.e.Xe((uWn(),nPt))&&(e=KB(n.e.We(nPt),249));break;case 3:n.e.Xe((uWn(),tPt))&&(e=KB(n.e.We(tPt),249));break;case 2:n.e.Xe((uWn(),ZSt))&&(e=KB(n.e.We(ZSt),249));break;case 4:n.e.Xe((uWn(),ePt))&&(e=KB(n.e.We(ePt),249))}return!e&&(e=KB(n.e.We((uWn(),JSt)),249)),e}function SDn(n,t,e){var i,r,c,a,u,o;for(t.p=1,r=t.c,o=Lwn(t,(rin(),Bvt)).Kc();o.Ob();)for(i=new Ub(KB(o.Pb(),11).g);i.a<i.c.c.length;)t!=(u=KB(Y1(i),17).d.i)&&u.c.p<=r.p&&((c=r.p+1)==e.b.c.length?((a=new FX(e)).p=c,UB(e.b,a),MZ(u,a)):MZ(u,a=KB(Lq(e.b,c),29)),SDn(n,u,e))}function PDn(n,t,e){var r,c,a,u,o,s;for(c=e,a=0,o=new Ub(t);o.a<o.c.c.length;)Vpn(u=KB(Y1(o),33),(Gyn(),Ajt),tln(c++)),s=lDn(u),r=i.Math.atan2(u.j+u.f/2,u.i+u.g/2),(r+=r<0?J3n:0)<.7853981633974483||r>d4n?p$(s,n.b):r<=d4n&&r>g4n?p$(s,n.d):r<=g4n&&r>p4n?p$(s,n.c):r<=p4n&&p$(s,n.a),a=PDn(n,s,a);return c}function CDn(){var n;for(CDn=O,Qtt=new z6(1,1),Ytt=new z6(1,10),net=new z6(0,0),Vtt=new z6(-1,1),Jtt=Mun(Hk(aet,1),uVn,91,0,[net,Qtt,new z6(1,2),new z6(1,3),new z6(1,4),new z6(1,5),new z6(1,6),new z6(1,7),new z6(1,8),new z6(1,9),Ytt]),Ztt=L8(aet,uVn,91,32,0,1),n=0;n<Ztt.length;n++)Ztt[n]=Ygn(vz(1,n))}function IDn(n,t,e,i,r,c){var a,u,o,s;for(u=!yE(IV(n.Oc(),new rw(new Ye))).sd((bM(),Zet)),a=n,c==(_fn(),FPt)&&(a=iL(a,152)?a6(KB(a,152)):iL(a,131)?KB(a,131).a:iL(a,54)?new sy(a):new ST(a)),s=a.Kc();s.Ob();)(o=KB(s.Pb(),70)).n.a=t.a,o.n.b=u?t.b+(i.b-o.o.b)/2:r?t.b:t.b+i.b-o.o.b,t.a+=o.o.a+e}function ODn(n,t,e,i){var r,c,a,u,o;for(r=(i.c+i.a)/2,vQ(t.j),NH(t.j,r),vQ(e.e),NH(e.e,r),o=new qj,a=new Ub(n.f);a.a<a.c.c.length;)xjn(o,t,u=KB(Y1(a),129).a),xjn(o,e,u);for(c=new Ub(n.k);c.a<c.c.c.length;)xjn(o,t,u=KB(Y1(c),129).b),xjn(o,e,u);return o.b+=2,o.a+=AQ(t,n.q),o.a+=AQ(n.q,e),o}function ADn(n,t,e){var i,r,c,a,u;if(!o3(t)){for(CTn(u=pcn(e,(iL(t,14)?KB(t,14).gc():_3(t.Kc()))/n.a|0),q3n,1),a=new Aa,c=null,r=t.Kc();r.Ob();)i=KB(r.Pb(),86),a=Uen(Mun(Hk(Lnt,1),FWn,20,0,[a,new fg(i)])),c&&(oon(c,(Bqn(),fkt),i),oon(i,ikt,c),H8(i)==H8(c)&&(oon(c,lkt,i),oon(i,rkt,c))),c=i;FSn(u),ADn(n,a,e)}}function $Dn(n){var t,e,i,r,c,a,u;for(e=n.i,t=n.n,u=e.d,n.f==(H7(),ert)?u+=(e.a-n.e.b)/2:n.f==trt&&(u+=e.a-n.e.b),r=new Ub(n.d);r.a<r.c.c.length;){switch(a=(i=KB(Y1(r),181)).rf(),(c=new Hj).b=u,u+=a.b+n.a,n.b.g){case 0:c.a=e.c+t.b;break;case 1:c.a=e.c+t.b+(e.b-a.a)/2;break;case 2:c.a=e.c+e.b-t.c-a.a}i.tf(c)}}function LDn(n){var t,e,i,r,c,a,u;for(e=n.i,t=n.n,u=e.c,n.b==(Q9(),Wit)?u+=(e.b-n.e.a)/2:n.b==Qit&&(u+=e.b-n.e.a),r=new Ub(n.d);r.a<r.c.c.length;){switch(a=(i=KB(Y1(r),181)).rf(),(c=new Hj).a=u,u+=a.a+n.a,n.f.g){case 0:c.b=e.d+t.d;break;case 1:c.b=e.d+t.d+(e.a-a.b)/2;break;case 2:c.b=e.d+e.a-t.a-a.b}i.tf(c)}}function NDn(n,t,e){var i,r,c,a,u,o,s,h,f,l,b;s=e.a.c,a=e.a.c+e.a.b,l=(c=KB(xX(e.c,t),459)).f,b=c.a,u=new LC(s,l),h=new LC(a,b),r=s,e.p||(r+=n.c),o=new LC(r+=e.F+e.v*n.b,l),f=new LC(r,b),Yen(t.a,Mun(Hk(MMt,1),uVn,8,0,[u,o])),e.d.a.gc()>1&&(i=new LC(r,e.b),NH(t.a,i)),Yen(t.a,Mun(Hk(MMt,1),uVn,8,0,[f,h]))}function xDn(n){$M(n,new ETn(gj(lj(dj(wj(new du,R5n),"ELK Randomizer"),'Distributes the nodes randomly on the plane, leading to very obfuscating layouts. Can be useful to demonstrate the power of "real" layout algorithms.'),new Qu))),c2(n,R5n,WYn,AIt),c2(n,R5n,gZn,15),c2(n,R5n,vZn,tln(0)),c2(n,R5n,XYn,bZn)}function DDn(){var n,t,e,i,r,c;for(DDn=O,XLt=L8(ANt,g6n,25,255,15,1),WLt=L8(PNt,UVn,25,16,15,1),t=0;t<255;t++)XLt[t]=-1;for(e=57;e>=48;e--)XLt[e]=e-48<<24>>24;for(i=70;i>=65;i--)XLt[i]=i-65+10<<24>>24;for(r=102;r>=97;r--)XLt[r]=r-97+10<<24>>24;for(c=0;c<10;c++)WLt[c]=48+c&WVn;for(n=10;n<=15;n++)WLt[n]=65+n-10&WVn}function RDn(n,t,e){var i,r,c,a,u,o,s,h;return u=t.i-n.g/2,o=e.i-n.g/2,s=t.j-n.g/2,h=e.j-n.g/2,c=t.g+n.g/2,a=e.g+n.g/2,i=t.f+n.g/2,r=e.f+n.g/2,u<o+a&&o<u&&s<h+r&&h<s||o<u+c&&u<o&&h<s+i&&s<h||u<o+a&&o<u&&s<h&&h<s+i||o<u+c&&u<o&&s<h+r&&h<s}function _Dn(n){var t,e,r,c,a;c=KB(pMn(n,(FXn(),_gt)),21),a=KB(pMn(n,Bgt),21),t=new lA(e=new LC(n.f.a+n.d.b+n.d.c,n.f.b+n.d.d+n.d.a)),c.Hc((pdn(),NIt))&&(r=KB(pMn(n,Fgt),8),a.Hc((Y_n(),HIt))&&(r.a<=0&&(r.a=20),r.b<=0&&(r.b=20)),t.a=i.Math.max(e.a,r.a),t.b=i.Math.max(e.b,r.b)),By(jD(pMn(n,Kgt)))||GBn(n,e,t)}function KDn(n,t){var e,i,r,c;for(c=rbn(t,(mUn(),TIt)).Kc();c.Ob();)i=KB(c.Pb(),11),(e=KB(pMn(i,(oWn(),klt)),10))&&GNn(rM(iM(cM(eM(new Fv,0),.1),n.i[t.p].d),n.i[e.p].a));for(r=rbn(t,uIt).Kc();r.Ob();)i=KB(r.Pb(),11),(e=KB(pMn(i,(oWn(),klt)),10))&&GNn(rM(iM(cM(eM(new Fv,0),.1),n.i[e.p].d),n.i[t.p].a))}function FDn(n){var t,e,i,r,c;if(!n.c){if(c=new Eo,null==(t=T$t).a.zc(n,t)){for(i=new IL(r4(n));i.e!=i.i.gc();)iL(r=hFn(e=KB(mpn(i),87)),88)&&dX(c,FDn(KB(r,26))),s9(c,e);t.a.Bc(n),t.a.gc()}Own(c),ihn(c),n.c=new $O((KB(Utn(WQ((WX(),YAt).o),15),18),c.i),c.g),M5(n).b&=-33}return n.c}function BDn(n){var t;if(10!=n.c)throw Fp(new rk(mWn((c$(),w8n))));switch(t=n.a){case 110:t=10;break;case 114:t=13;break;case 116:t=9;break;case 92:case 124:case 46:case 94:case 45:case 63:case 42:case 43:case 123:case 125:case 40:case 41:case 91:case 93:break;default:throw Fp(new rk(mWn((c$(),G8n))))}return t}function HDn(n){var t,e,i,r;if(0==n.l&&0==n.m&&0==n.h)return"0";if(n.h==SQn&&0==n.m&&0==n.l)return"-9223372036854775808";if(n.h>>19)return"-"+HDn(ron(n));for(e=n,i="";0!=e.l||0!=e.m||0!=e.h;){if(e=Iqn(e,_5(IQn),!0),t=""+jE(htt),0!=e.l||0!=e.m||0!=e.h)for(r=9-t.length;r>0;r--)t="0"+t;i=t+i}return i}function qDn(){if(!Object.create||!Object.getOwnPropertyNames)return!1;var n="__proto__",t=Object.create(null);return void 0===t[n]&&0==Object.getOwnPropertyNames(t).length&&(t[n]=42,42===t[n]&&0!=Object.getOwnPropertyNames(t).length)}function GDn(n){var t,e,i,r,c,a,u;for(t=!1,e=0,r=new Ub(n.d.b);r.a<r.c.c.length;)for((i=KB(Y1(r),29)).p=e++,a=new Ub(i.a);a.a<a.c.c.length;)c=KB(Y1(a),10),!t&&!o3(obn(c))&&(t=!0);u=kG((_fn(),KPt),Mun(Hk(UPt,1),OVn,103,0,[RPt,_Pt])),t||(arn(u,FPt),arn(u,DPt)),n.a=new htn(u),OU(n.f),OU(n.b),OU(n.e),OU(n.g)}function zDn(n,t,e){var i,r,c,a,u,o,s,h,f;for(i=e.c,r=e.d,u=w1(t.c),o=w1(t.d),i==t.c?(u=hLn(n,u,r),o=uMn(t.d)):(u=uMn(t.c),o=hLn(n,o,r)),e5(s=new Dj(t.a),u,s.a,s.a.a),e5(s,o,s.c.b,s.c),a=t.c==i,f=new Qv,c=0;c<s.b-1;++c)h=new eI(KB(Npn(s,c),8),KB(Npn(s,c+1),8)),a&&0==c||!a&&c==s.b-2?f.b=h:UB(f.a,h);return f}function UDn(n,t){var e,i,r,c;if(0!=(c=n.j.g-t.j.g))return c;if(e=KB(pMn(n,(FXn(),tpt)),19),i=KB(pMn(t,tpt),19),e&&i&&0!=(r=e.a-i.a))return r;switch(n.j.g){case 1:return Mln(n.n.a,t.n.a);case 2:return Mln(n.n.b,t.n.b);case 3:return Mln(t.n.a,n.n.a);case 4:return Mln(t.n.b,n.n.b);default:throw Fp(new _y(e1n))}}function XDn(n,t,e,r){var c,a,u,o;if(_3((BK(),new az(JL(obn(t).a.Kc(),new h))))>=n.a)return-1;if(!nTn(t,e))return-1;if(o3(KB(r.Kb(t),20)))return 1;for(c=0,u=KB(r.Kb(t),20).Kc();u.Ob();){if(-1==(o=XDn(n,(a=KB(u.Pb(),17)).c.i==t?a.d.i:a.c.i,e,r)))return-1;if((c=i.Math.max(c,o))>n.c-1)return-1}return c+1}function WDn(n,t){var e,i,r,c,a,u;if(HI(t)===HI(n))return!0;if(!iL(t,15))return!1;if(i=KB(t,15),u=n.gc(),i.gc()!=u)return!1;if(a=i.Kc(),n.ni()){for(e=0;e<u;++e)if(r=n.ki(e),c=a.Pb(),null==r?null!=c:!$fn(r,c))return!1}else for(e=0;e<u;++e)if(r=n.ki(e),c=a.Pb(),HI(r)!==HI(c))return!1;return!0}function VDn(n,t){var e,i,r,c,a,u;if(n.f>0)if(n.qj(),null!=t){for(c=0;c<n.d.length;++c)if(e=n.d[c])for(i=KB(e.g,367),u=e.i,a=0;a<u;++a)if($fn(t,(r=i[a]).dd()))return!0}else for(c=0;c<n.d.length;++c)if(e=n.d[c])for(i=KB(e.g,367),u=e.i,a=0;a<u;++a)if(r=i[a],HI(t)===HI(r.dd()))return!0;return!1}function QDn(n,t,e){var i,r,c,a;CTn(e,"Orthogonally routing hierarchical port edges",1),n.a=0,$Gn(t,i=GHn(t)),Wqn(n,t,i),sUn(t),r=KB(pMn(t,(FXn(),npt)),98),Szn((h1(0,(c=t.b).c.length),KB(c.c[0],29)),r,t),Szn(KB(Lq(c,c.c.length-1),29),r,t),jBn((h1(0,(a=t.b).c.length),KB(a.c[0],29))),jBn(KB(Lq(a,a.c.length-1),29)),FSn(e)}function JDn(n){switch(n){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return n-48<<24>>24;case 97:case 98:case 99:case 100:case 101:case 102:return n-97+10<<24>>24;case 65:case 66:case 67:case 68:case 69:case 70:return n-65+10<<24>>24;default:throw Fp(new Ek("Invalid hexadecimal"))}}function YDn(n,t,e){var i,r,c,a;for(CTn(e,"Processor order nodes",2),n.a=Hy(ED(pMn(t,(SAn(),Lkt)))),r=new VT,a=upn(t.b,0);a.b!=a.d.c;)By(jD(pMn(c=KB(f3(a),86),(Bqn(),bkt))))&&e5(r,c,r.c.b,r.c);Mx(0!=r.b),DHn(n,i=KB(r.a.a.c,86)),!e.b&&Bin(e,1),KRn(n,i,0-Hy(ED(pMn(i,(Bqn(),ckt))))/2,0),!e.b&&Bin(e,1),FSn(e)}function ZDn(){ZDn=O,xit=new FS("SPIRAL",0),Oit=new FS("LINE_BY_LINE",1),Ait=new FS("MANHATTAN",2),Iit=new FS("JITTER",3),Lit=new FS("QUADRANTS_LINE_BY_LINE",4),Nit=new FS("QUADRANTS_MANHATTAN",5),$it=new FS("QUADRANTS_JITTER",6),Cit=new FS("COMBINE_LINE_BY_LINE_MANHATTAN",7),Pit=new FS("COMBINE_JITTER_MANHATTAN",8)}function nRn(n,t,e,i){var r,c,a,u,o,s;for(o=$jn(n,e),s=$jn(t,e),r=!1;o&&s&&(i||pyn(o,s,e));)a=$jn(o,e),u=$jn(s,e),I7(t),I7(n),c=o.c,eGn(o,!1),eGn(s,!1),e?(Wyn(t,s.p,c),t.p=s.p,Wyn(n,o.p+1,c),n.p=o.p):(Wyn(n,o.p,c),n.p=o.p,Wyn(t,s.p+1,c),t.p=s.p),MZ(o,null),MZ(s,null),o=a,s=u,r=!0;return r}function tRn(n,t,e,i){var r,c,a,u,o;for(r=!1,c=!1,u=new Ub(i.j);u.a<u.c.c.length;)HI(pMn(a=KB(Y1(u),11),(oWn(),blt)))===HI(e)&&(0==a.g.c.length?0==a.e.c.length||(r=!0):c=!0);return o=0,r&&r^c?o=e.j==(mUn(),uIt)?-n.e[i.c.p][i.p]:t-n.e[i.c.p][i.p]:c&&r^c?o=n.e[i.c.p][i.p]+1:r&&c&&(o=e.j==(mUn(),uIt)?0:t/2),o}function eRn(n,t,e,i,r,c,a,u){var o,s,h;for(o=0,null!=t&&(o^=gvn(t.toLowerCase())),null!=e&&(o^=gvn(e)),null!=i&&(o^=gvn(i)),null!=a&&(o^=gvn(a)),null!=u&&(o^=gvn(u)),s=0,h=c.length;s<h;s++)o^=gvn(c[s]);n?o|=256:o&=-257,r?o|=16:o&=-17,this.f=o,this.i=null==t?null:(mW(t),t),this.a=e,this.d=i,this.j=c,this.g=a,this.e=u}function iRn(n,t,e){var i,r;switch(r=null,t.g){case 1:wcn(),r=$ut;break;case 2:wcn(),r=Nut}switch(i=null,e.g){case 1:wcn(),i=Lut;break;case 2:wcn(),i=Aut;break;case 3:wcn(),i=xut;break;case 4:wcn(),i=Dut}return r&&i?DB(n.j,new Ff(new Qy(Mun(Hk(Ant,1),FWn,169,0,[KB(vX(r),169),KB(vX(i),169)])))):(TQ(),TQ(),uet)}function rRn(n){var t,e,i;switch(t=KB(pMn(n,(FXn(),Fgt)),8),oon(n,Fgt,new LC(t.b,t.a)),KB(pMn(n,mdt),248).g){case 1:oon(n,mdt,(lvn(),AMt));break;case 2:oon(n,mdt,(lvn(),PMt));break;case 3:oon(n,mdt,(lvn(),IMt));break;case 4:oon(n,mdt,(lvn(),OMt))}(n.q?n.q:(TQ(),TQ(),oet))._b(upt)&&(i=(e=KB(pMn(n,upt),8)).a,e.a=e.b,e.b=i)}function cRn(n,t,e,i,r,c){if(this.b=e,this.d=r,n>=t.length)throw Fp(new Iy("Greedy SwitchDecider: Free layer not in graph."));this.c=t[n],this.e=new W_(i),vrn(this.e,this.c,(mUn(),SIt)),this.i=new W_(i),vrn(this.i,this.c,aIt),this.f=new hG(this.c),this.a=!c&&r.i&&!r.s&&this.c[0].k==(cSn(),Eut),this.a&&wPn(this,n,t.length)}function aRn(n,t){var e,i,r,c,a,u;c=!n.B.Hc((Y_n(),FIt)),a=n.B.Hc(qIt),n.a=new Fwn(a,c,n.c),n.n&&mQ(n.a.n,n.n),yy(n.g,(Ntn(),qit),n.a),t||((i=new Pgn(1,c,n.c)).n.a=n.k,pG(n.p,(mUn(),uIt),i),(r=new Pgn(1,c,n.c)).n.d=n.k,pG(n.p,TIt,r),(u=new Pgn(0,c,n.c)).n.c=n.k,pG(n.p,SIt,u),(e=new Pgn(0,c,n.c)).n.b=n.k,pG(n.p,aIt,e))}function uRn(n){var t,e,i;switch((t=KB(pMn(n.d,(FXn(),Jdt)),218)).g){case 2:e=EXn(n);break;case 3:i=new $p,QT(IV(OV(lnn(lnn(new xq(null,new l1(n.d.b,16)),new Or),new Ar),new $r),new pr),new Sd(i)),e=i;break;default:throw Fp(new _y("Compaction not supported for "+t+" edges."))}wqn(n,e),n5(new Sb(n.g),new Td(n))}function oRn(n,t){var e;return e=new Zn,t&&Ban(e,KB(xX(n.a,LOt),94)),iL(t,470)&&Ban(e,KB(xX(n.a,NOt),94)),iL(t,354)?(Ban(e,KB(xX(n.a,HOt),94)),e):(iL(t,82)&&Ban(e,KB(xX(n.a,xOt),94)),iL(t,239)?(Ban(e,KB(xX(n.a,qOt),94)),e):iL(t,186)?(Ban(e,KB(xX(n.a,GOt),94)),e):(iL(t,352)&&Ban(e,KB(xX(n.a,DOt),94)),e))}function sRn(){sRn=O,Jct=new zA((uWn(),dPt),tln(1)),iat=new zA(APt,80),eat=new zA(TPt,5),_ct=new zA(iSt,bZn),Yct=new zA(gPt,tln(1)),tat=new zA(mPt,(oN(),!0)),Wct=new UA(50),Xct=new zA(zSt,Wct),Fct=SSt,Vct=cPt,Kct=new zA(bSt,!1),Uct=GSt,zct=BSt,Gct=DSt,qct=NSt,Qct=sPt,ySn(),Hct=Pct,rat=$ct,Bct=Sct,Zct=Ict,nat=Act}function hRn(n){var t,e,i,r,c,a,u;for(u=new g5,a=new Ub(n.a);a.a<a.c.c.length;)if((c=KB(Y1(a),10)).k!=(cSn(),Eut))for(RAn(u,c,new Hj),r=new az(JL(hbn(c).a.Kc(),new h));bAn(r);)if((i=KB(G5(r),17)).c.i.k!=Eut&&i.d.i.k!=Eut)for(e=upn(i.a,0);e.b!=e.d.c;)Vjn(u,new bP((t=KB(f3(e),8)).a,t.b));return u}function fRn(){fRn=O,xTt=new cp(D4n),CM(),LTt=new OO(B4n,NTt=HTt),Aun(),ATt=new OO(R4n,$Tt=UTt),OSn(),ITt=new OO(_4n,OTt=eTt),MTt=new OO(K4n,null),O6(),PTt=new OO(F4n,CTt=JEt),SM(),yTt=new OO(H4n,kTt=zEt),jTt=new OO(q4n,(oN(),!1)),ETt=new OO(G4n,tln(64)),TTt=new OO(z4n,!0),STt=YEt}function lRn(n){var t,e,i,r,c;if(null==n.a)if(n.a=L8(INt,JJn,25,n.c.b.c.length,16,1),n.a[0]=!1,Ax(n.c,(FXn(),Gpt)))for(e=KB(pMn(n.c,Gpt),15).Kc();e.Ob();)(t=KB(e.Pb(),19).a)>0&&t<n.a.length&&(n.a[t]=!1);else for((c=new Ub(n.c.b)).a<c.c.c.length&&Y1(c),i=1;c.a<c.c.c.length;)r=KB(Y1(c),29),n.a[i++]=G$n(r)}function bRn(n,t){var e,i;switch(i=n.b,t){case 1:n.b|=1,n.b|=4,n.b|=8;break;case 2:n.b|=2,n.b|=4,n.b|=8;break;case 4:n.b|=1,n.b|=2,n.b|=4,n.b|=8;break;case 3:n.b|=16,n.b|=8;break;case 0:n.b|=32,n.b|=16,n.b|=8,n.b|=1,n.b|=2,n.b|=4}if(n.b!=i&&n.c)for(e=new IL(n.c);e.e!=e.i.gc();)ICn(M5(KB(mpn(e),473)),t)}function wRn(n,t,e,i){var r,c,a,u,o,s,h,f,l,b;for(r=!1,u=0,o=(a=t).length;u<o;++u)c=a[u],By((oN(),!!c.e))&&!KB(Lq(n.b,c.e.p),214).s&&(r|=(s=c.e,(f=(h=KB(Lq(n.b,s.p),214)).e)[l=sj(e,f.length)][0].k==(cSn(),Eut)?f[l]=ONn(c,f[l],e?(mUn(),SIt):(mUn(),aIt)):h.c.Tf(f,e),b=NNn(n,h,e,i),Lxn(h.e,h.o,e),b));return r}function dRn(n,t){var e,i,r,c,a;for(c=(!t.a&&(t.a=new nU(qOt,t,10,11)),t.a).i,r=new IL((!t.a&&(t.a=new nU(qOt,t,10,11)),t.a));r.e!=r.i.gc();)HI(JAn(i=KB(mpn(r),33),(uWn(),kSt)))!==HI((cfn(),pCt))&&((a=KB(JAn(t,pPt),149))==(e=KB(JAn(i,pPt),149))||a&&y5(a,e))&&0!=(!i.a&&(i.a=new nU(qOt,i,10,11)),i.a).i&&(c+=dRn(n,i));return c}function gRn(n){var t,e,i,r,c,a,u;for(i=0,u=0,a=new Ub(n.d);a.a<a.c.c.length;)c=KB(Y1(a),101),r=KB(M4(IV(new xq(null,new l1(c.j,16)),new Xr),p9(new H,new B,new rn,Mun(Hk(Yet,1),OVn,132,0,[(Bsn(),Get)]))),15),e=null,i<=u?(mUn(),e=uIt,i+=r.gc()):u<i&&(mUn(),e=TIt,u+=r.gc()),t=e,QT(OV(r.Oc(),new Hr),new Id(t))}function pRn(n){var t,e,i,r,c,a,u,o;for(n.b=new gOn(new Qy((mUn(),Mun(Hk(_It,1),VZn,61,0,[MIt,uIt,aIt,TIt,SIt]))),new Qy((Srn(),Mun(Hk(Ust,1),OVn,361,0,[xst,Nst,Lst])))),u=0,o=(a=Mun(Hk(_It,1),VZn,61,0,[MIt,uIt,aIt,TIt,SIt])).length;u<o;++u)for(c=a[u],i=0,r=(e=Mun(Hk(Ust,1),OVn,361,0,[xst,Nst,Lst])).length;i<r;++i)t=e[i],Ujn(n.b,c,t,new $p)}function vRn(n,t){var e,i,r,c,a,u,o,s,h,f;if(a=KB(KB(o6(n.r,t),21),84),u=n.u.Hc((hIn(),eIt)),e=n.u.Hc(ZCt),i=n.u.Hc(YCt),s=n.u.Hc(iIt),f=n.B.Hc((Y_n(),WIt)),h=!e&&!i&&(s||2==a.gc()),oxn(n,t),r=null,o=null,u){for(o=r=KB((c=a.Kc()).Pb(),111);c.Ob();)o=KB(c.Pb(),111);r.d.b=0,o.d.c=0,h&&!r.a&&(r.d.c=0)}f&&(NTn(a),u&&(r.d.b=0,o.d.c=0))}function mRn(n,t){var e,i,r,c,a,u,o,s,h,f;if(a=KB(KB(o6(n.r,t),21),84),u=n.u.Hc((hIn(),eIt)),e=n.u.Hc(ZCt),i=n.u.Hc(YCt),o=n.u.Hc(iIt),f=n.B.Hc((Y_n(),WIt)),s=!e&&!i&&(o||2==a.gc()),XKn(n,t),h=null,r=null,u){for(r=h=KB((c=a.Kc()).Pb(),111);c.Ob();)r=KB(c.Pb(),111);h.d.d=0,r.d.a=0,s&&!h.a&&(h.d.a=0)}f&&(xTn(a),u&&(h.d.d=0,r.d.a=0))}function yRn(n,t,e){var i,r,c,a,u;if(i=t.k,t.p>=0)return!1;if(t.p=e.b,UB(e.e,t),i==(cSn(),Mut)||i==Put)for(r=new Ub(t.j);r.a<r.c.c.length;)for(u=new qw(new Ub(new Hw(KB(Y1(r),11)).a.g));v$(u.a);)if(a=(c=KB(Y1(u.a),17).d.i).k,t.c!=c.c&&(a==Mut||a==Put)&&yRn(n,c,e))return!0;return!0}function kRn(n){var t;return 64&n.Db?DOn(n):((t=new sN(DOn(n))).a+=" (changeable: ",vE(t,!!(n.Bb&m6n)),t.a+=", volatile: ",vE(t,!!(n.Bb&E9n)),t.a+=", transient: ",vE(t,!!(n.Bb&RQn)),t.a+=", defaultValueLiteral: ",iO(t,n.j),t.a+=", unsettable: ",vE(t,!!(n.Bb&j9n)),t.a+=", derived: ",vE(t,!!(n.Bb&oVn)),t.a+=")",t.a)}function jRn(n){var t,e,i,r,c,a,u,o,s,h;for(e=$Ln(n.d),c=(r=KB(pMn(n.b,(kpn(),gct)),116)).b+r.c,a=r.d+r.a,o=e.d.a*n.e+c,u=e.b.a*n.f+a,Al(n.b,new LC(o,u)),h=new Ub(n.g);h.a<h.c.c.length;)t=GR(_x(new LC((s=KB(Y1(h),562)).g-e.a.a,s.i-e.c.a),s.a,s.b),mL(Kx(K$(XA(s.e)),s.d*s.a,s.c*s.b),-.5)),i=WA(s.e),tj(s.e,zR(t,i))}function ERn(n,t,e,i){var r,c,a,u,o;for(o=L8($Nt,uVn,104,(mUn(),Mun(Hk(_It,1),VZn,61,0,[MIt,uIt,aIt,TIt,SIt])).length,0,2),a=0,u=(c=Mun(Hk(_It,1),VZn,61,0,[MIt,uIt,aIt,TIt,SIt])).length;a<u;++a)o[(r=c[a]).g]=L8($Nt,BQn,25,n.c[r.g],15,1);return Kkn(o,n,uIt),Kkn(o,n,TIt),Lmn(o,n,uIt,t,e,i),Lmn(o,n,aIt,t,e,i),Lmn(o,n,TIt,t,e,i),Lmn(o,n,SIt,t,e,i),o}function TRn(n,t,e){if(oU(n.a,t)){if(_T(KB(xX(n.a,t),53),e))return 1}else XW(n.a,t,new xv);if(oU(n.a,e)){if(_T(KB(xX(n.a,e),53),t))return-1}else XW(n.a,e,new xv);if(oU(n.b,t)){if(_T(KB(xX(n.b,t),53),e))return-1}else XW(n.b,t,new xv);if(oU(n.b,e)){if(_T(KB(xX(n.b,e),53),t))return 1}else XW(n.b,e,new xv);return 0}function MRn(n,t,e,i){var r,c,a,u,o,s;if(null==e)for(r=KB(n.g,119),u=0;u<n.i;++u)if((a=r[u]).ak()==t)return Rpn(n,a,i);return JM(),c=KB(t,66).Oj()?KB(e,72):J3(t,e),pA(n.e)?(s=!rdn(n,t),i=Vwn(n,c,i),o=t.$j()?AJ(n,3,t,null,e,dBn(n,t,e,iL(t,99)&&!!(KB(t,18).Bb&KQn)),s):AJ(n,1,t,t.zj(),e,-1,s),i?i.Ei(o):i=o):i=Vwn(n,c,i),i}function SRn(n){var t,e,r,c,a,u;n.q!=(WEn(),UCt)&&n.q!=zCt&&(c=n.f.n.d+zH(KB(aV(n.b,(mUn(),uIt)),124))+n.c,t=n.f.n.a+zH(KB(aV(n.b,TIt),124))+n.c,r=KB(aV(n.b,aIt),124),u=KB(aV(n.b,SIt),124),a=i.Math.max(0,r.n.d-c),a=i.Math.max(a,u.n.d-c),e=i.Math.max(0,r.n.a-t),e=i.Math.max(e,u.n.a-t),r.n.d=a,u.n.d=a,r.n.a=e,u.n.a=e)}function PRn(n,t){var e,i,r,c,a,u,o;for(CTn(t,"Restoring reversed edges",1),a=new Ub(n.b);a.a<a.c.c.length;)for(u=new Ub(KB(Y1(a),29).a);u.a<u.c.c.length;)for(o=new Ub(KB(Y1(u),10).j);o.a<o.c.c.length;)for(r=0,c=(i=J0(KB(Y1(o),11).g)).length;r<c;++r)By(jD(pMn(e=i[r],(oWn(),Slt))))&&ZFn(e,!1);FSn(t)}function CRn(){this.b=new g4,this.d=new g4,this.e=new g4,this.c=new g4,this.a=new Lp,this.f=new Lp,LY(MMt,new mu,new yu),LY($Mt,new Au,new $u),LY(kut,new Lu,new Nu),LY(Rut,new Du,new Ru),LY(oOt,new _u,new Ku),LY(pet,new ku,new ju),LY(Pet,new Eu,new Tu),LY(yet,new Mu,new Su),LY(ket,new Pu,new Cu),LY(Ket,new Iu,new Ou)}function IRn(n){var t,e,i,r,c,a;return c=0,(t=Pkn(n)).Bj()&&(c|=4),n.Bb&j9n&&(c|=2),iL(n,99)?(r=Svn(e=KB(n,18)),e.Bb&o6n&&(c|=32),r&&(fX(bZ(r)),c|=8,((a=r.t)>1||-1==a)&&(c|=16),r.Bb&o6n&&(c|=64)),e.Bb&KQn&&(c|=E9n),c|=m6n):iL(t,457)?c|=512:(i=t.Bj())&&1&i.i&&(c|=256),512&n.Bb&&(c|=128),c}function ORn(n,t){var e,i,r,c,a;for(n=null==n?qWn:(mW(n),n),r=0;r<t.length;r++)t[r]=tLn(t[r]);for(e=new Pk,a=0,i=0;i<t.length&&-1!=(c=n.indexOf("%s",a));)e.a+=""+sx(null==n?qWn:(mW(n),n),a,c),cO(e,t[i++]),a=c+2;if(H0(e,n,a,n.length),i<t.length){for(e.a+=" [",cO(e,t[i++]);i<t.length;)e.a+=_Wn,cO(e,t[i++]);e.a+="]"}return e.a}function ARn(n){var t,e,i,r,c;for(c=new Q6(n.a.c.length),r=new Ub(n.a);r.a<r.c.c.length;){switch(i=KB(Y1(r),10),t=null,(e=KB(pMn(i,(FXn(),mgt)),163)).g){case 1:case 2:Qun(),t=Oht;break;case 3:case 4:Qun(),t=Cht}t?(oon(i,(oWn(),Hft),(Qun(),Oht)),t==Cht?xNn(i,e,(rin(),Fvt)):t==Oht&&xNn(i,e,(rin(),Bvt))):c.c[c.c.length]=i}return c}function $Rn(n,t){var e,i,r,c,a,u,o;for(e=0,o=new Ub(t);o.a<o.c.c.length;){for(u=KB(Y1(o),11),Ysn(n.b,n.d[u.p]),a=0,r=new p6(u.b);v$(r.a)||v$(r.b);)SW(i=KB(v$(r.a)?Y1(r.a):Y1(r.b),17))?(c=EE(n,u==i.c?i.d:i.c))>n.d[u.p]&&(e+=Y4(n.b,c),b3(n.a,tln(c))):++a;for(e+=n.b.d*a;!Uy(n.a);)Enn(n.b,KB(bU(n.a),19).a)}return e}function LRn(n,t){var e;return n.f==rLt?(e=NW(K7((PPn(),Q$t),t)),n.e?4==e&&t!=(jOn(),oLt)&&t!=(jOn(),cLt)&&t!=(jOn(),aLt)&&t!=(jOn(),uLt):2==e):!(!n.d||!(n.d.Hc(t)||n.d.Hc(J1(K7((PPn(),Q$t),t)))||n.d.Hc(_qn((PPn(),Q$t),n.b,t))))||!(!n.f||!rNn((PPn(),n.f),yV(K7(Q$t,t))))&&(e=NW(K7(Q$t,t)),n.e?4==e:2==e)}function NRn(n,t,e,r){var c,a,u,o,s,h,f,l;return s=(u=KB(JAn(e,(uWn(),wPt)),8)).a,f=u.b+n,(c=i.Math.atan2(f,s))<0&&(c+=J3n),(c+=t)>J3n&&(c-=J3n),h=(o=KB(JAn(r,wPt),8)).a,l=o.b+n,(a=i.Math.atan2(l,h))<0&&(a+=J3n),(a+=t)>J3n&&(a-=J3n),o$(),ein(1e-10),i.Math.abs(c-a)<=1e-10||c==a||isNaN(c)&&isNaN(a)?0:c<a?-1:c>a?1:qO(isNaN(c),isNaN(a))}function xRn(n){var t,e,i,r,c,a,u;for(u=new Lp,i=new Ub(n.a.b);i.a<i.c.c.length;)XW(u,t=KB(Y1(i),57),new $p);for(r=new Ub(n.a.b);r.a<r.c.c.length;)for((t=KB(Y1(r),57)).i=DQn,a=t.c.Kc();a.Ob();)c=KB(a.Pb(),57),KB(BI(IJ(u.f,c)),15).Fc(t);for(e=new Ub(n.a.b);e.a<e.c.c.length;)(t=KB(Y1(e),57)).c.$b(),t.c=KB(BI(IJ(u.f,t)),15);Rxn(n)}function DRn(n){var t,e,i,r,c,a,u;for(u=new Lp,i=new Ub(n.a.b);i.a<i.c.c.length;)XW(u,t=KB(Y1(i),81),new $p);for(r=new Ub(n.a.b);r.a<r.c.c.length;)for((t=KB(Y1(r),81)).o=DQn,a=t.f.Kc();a.Ob();)c=KB(a.Pb(),81),KB(BI(IJ(u.f,c)),15).Fc(t);for(e=new Ub(n.a.b);e.a<e.c.c.length;)(t=KB(Y1(e),81)).f.$b(),t.f=KB(BI(IJ(u.f,t)),15);KNn(n)}function RRn(n,t,e,i){var r,c;for(Hkn(n,t,e,i),Ll(t,n.j-t.j+e),Nl(t,n.k-t.k+i),c=new Ub(t.f);c.a<c.c.c.length;)switch((r=KB(Y1(c),324)).a.g){case 0:lon(n,t.g+r.b.a,0,t.g+r.c.a,t.i-1);break;case 1:lon(n,t.g+t.o,t.i+r.b.a,n.o-1,t.i+r.c.a);break;case 2:lon(n,t.g+r.b.a,t.i+t.p,t.g+r.c.a,n.p-1);break;default:lon(n,0,t.i+r.b.a,t.g-1,t.i+r.c.a)}}function _Rn(n,t,e,i,r){var c,a;try{if(t>=n.o)throw Fp(new Tv);a=t>>5,c=vz(1,bG(vz(31&t,1))),n.n[e][a]=r?t0(n.n[e][a],c):n0(n.n[e][a],cH(c)),c=vz(c,1),n.n[e][a]=i?t0(n.n[e][a],c):n0(n.n[e][a],cH(c))}catch(u){throw iL(u=hun(u),320)?Fp(new Iy(EYn+n.o+"*"+n.p+TYn+t+_Wn+e+MYn)):Fp(u)}}function KRn(n,t,e,r){var c,a;t&&(c=Hy(ED(pMn(t,(Bqn(),skt))))+r,a=e+Hy(ED(pMn(t,ckt)))/2,oon(t,wkt,tln(bG(san(i.Math.round(c))))),oon(t,dkt,tln(bG(san(i.Math.round(a))))),0==t.d.b||KRn(n,KB(tL(new lg(upn(new fg(t).a.d,0))),86),e+Hy(ED(pMn(t,ckt)))+n.a,r+Hy(ED(pMn(t,akt)))),null!=pMn(t,lkt)&&KRn(n,KB(pMn(t,lkt),86),e,r))}function FRn(n,t){var e,r,c,a,u,o,s,h,f,l,b;for(c=2*Hy(ED(pMn(s=gW(t.a),(FXn(),jpt)))),f=Hy(ED(pMn(s,Ipt))),h=i.Math.max(c,f),a=L8($Nt,BQn,25,t.f-t.c+1,15,1),r=-h,e=0,o=t.b.Kc();o.Ob();)u=KB(o.Pb(),10),r+=n.a[u.c.p]+h,a[e++]=r;for(r+=n.a[t.a.c.p]+h,a[e++]=r,b=new Ub(t.e);b.a<b.c.c.length;)l=KB(Y1(b),10),r+=n.a[l.c.p]+h,a[e++]=r;return a}function BRn(n,t,e,i){var r,c,a,u,o,s,h,f;for(f=new bE(new Vd(n)),u=0,o=(a=Mun(Hk(Cut,1),r1n,10,0,[t,e])).length;u<o;++u)for(h=Afn(a[u],i).Kc();h.Ob();)for(c=new p6((s=KB(h.Pb(),11)).b);v$(c.a)||v$(c.b);)f5(r=KB(v$(c.a)?Y1(c.a):Y1(c.b),17))||(Eon(f.a,s,(oN(),dtt)),SW(r)&&JU(f,s==r.c?r.d:r.c));return vX(f),new Z_(f)}function HRn(n,t){var e,i,r,c;if(0!=(c=KB(JAn(n,(uWn(),lPt)),61).g-KB(JAn(t,lPt),61).g))return c;if(e=KB(JAn(n,uPt),19),i=KB(JAn(t,uPt),19),e&&i&&0!=(r=e.a-i.a))return r;switch(KB(JAn(n,lPt),61).g){case 1:return Mln(n.i,t.i);case 2:return Mln(n.j,t.j);case 3:return Mln(t.i,n.i);case 4:return Mln(t.j,n.j);default:throw Fp(new _y(e1n))}}function qRn(n){var t,e,i;return 64&n.Db?pSn(n):(t=new hN(Y5n),(e=n.k)?aO(aO((t.a+=' "',t),e),'"'):(!n.n&&(n.n=new nU(HOt,n,1,7)),n.n.i>0&&(!(i=(!n.n&&(n.n=new nU(HOt,n,1,7)),KB(Utn(n.n,0),137)).a)||aO(aO((t.a+=' "',t),i),'"'))),aO(mE(aO(mE(aO(mE(aO(mE((t.a+=" (",t),n.i),","),n.j)," | "),n.g),","),n.f),")"),t.a)}function GRn(n){var t,e,i;return 64&n.Db?pSn(n):(t=new hN(Z5n),(e=n.k)?aO(aO((t.a+=' "',t),e),'"'):(!n.n&&(n.n=new nU(HOt,n,1,7)),n.n.i>0&&(!(i=(!n.n&&(n.n=new nU(HOt,n,1,7)),KB(Utn(n.n,0),137)).a)||aO(aO((t.a+=' "',t),i),'"'))),aO(mE(aO(mE(aO(mE(aO(mE((t.a+=" (",t),n.i),","),n.j)," | "),n.g),","),n.f),")"),t.a)}function zRn(n,t){var e,i,r,c,a,u;if(null==t||0==t.length)return null;if(!(r=KB(TY(n.a,t),149))){for(i=new Db(new Cb(n.b).a.vc().Kc());i.a.Ob();)if(c=KB(i.a.Pb(),42),a=(e=KB(c.dd(),149)).c,u=t.length,p_(a.substr(a.length-u,u),t)&&(t.length==a.length||46==sV(a,a.length-t.length-1))){if(r)return null;r=e}r&&pZ(n.a,t,r)}return r}function URn(n,t){var e,i,r;return e=new xn,(i=KB(M4(OV(new xq(null,new l1(n.f,16)),e),L7(new Q,new J,new cn,new an,Mun(Hk(Yet,1),OVn,132,0,[(Bsn(),zet),Get]))),21).gc())<(r=KB(M4(OV(new xq(null,new l1(t.f,16)),e),L7(new Q,new J,new cn,new an,Mun(Hk(Yet,1),OVn,132,0,[zet,Get]))),21).gc())?-1:i==r?0:1}function XRn(n){var t,e,i;Ax(n,(FXn(),Ogt))&&((i=KB(pMn(n,Ogt),21)).dc()||(e=new V_(t=KB(Xj(HCt),9),KB(TR(t,t.length),9),0),i.Hc((YAn(),OCt))?arn(e,OCt):arn(e,ACt),i.Hc(CCt)||arn(e,CCt),i.Hc(PCt)?arn(e,NCt):i.Hc(SCt)?arn(e,LCt):i.Hc(ICt)&&arn(e,$Ct),i.Hc(NCt)?arn(e,PCt):i.Hc(LCt)?arn(e,SCt):i.Hc($Ct)&&arn(e,ICt),oon(n,Ogt,e)))}function WRn(n){var t,e,i,r,c,a,u;for(r=KB(pMn(n,(oWn(),elt)),10),h1(0,(i=n.j).c.length),e=KB(i.c[0],11),a=new Ub(r.j);a.a<a.c.c.length;)if(HI(c=KB(Y1(a),11))===HI(pMn(e,blt))){c.j==(mUn(),uIt)&&n.p>r.p?(BCn(c,TIt),c.d&&(u=c.o.b,t=c.a.b,c.a.b=u-t)):c.j==TIt&&r.p>n.p&&(BCn(c,uIt),c.d&&(u=c.o.b,t=c.a.b,c.a.b=-(u-t)));break}return r}function VRn(n,t,e,i){var r,c,a,u,o,s,h,f,l,b,w;if(c=e,e<i)for(b=new _an(n.p),w=new _an(n.p),_rn(b.e,n.e),b.q=n.q,b.r=w,eX(b),_rn(w.j,n.j),w.r=b,eX(w),f=KB((l=new eI(b,w)).a,112),h=KB(l.b,112),h1(c,t.c.length),a=ODn(n,f,h,r=KB(t.c[c],329)),s=e+1;s<=i;s++)h1(s,t.c.length),Xpn(u=KB(t.c[s],329),o=ODn(n,f,h,u),r,a)&&(r=u,a=o);return c}function QRn(n,t,e,i,r){var c,a,u,o,s,h,f;if(!(iL(t,239)||iL(t,354)||iL(t,186)))throw Fp(new Ry("Method only works for ElkNode-, ElkLabel and ElkPort-objects."));return a=n.a/2,o=t.i+i-a,h=t.j+r-a,s=o+t.g+n.a,f=h+t.f+n.a,NH(c=new mm,new LC(o,h)),NH(c,new LC(o,f)),NH(c,new LC(s,f)),NH(c,new LC(s,h)),Ban(u=new kAn(c),t),e&&XW(n.b,t,u),u}function JRn(n,t,e){var i,r,c,a,u,o,s,h;for(c=new LC(t,e),s=new Ub(n.a);s.a<s.c.c.length;)for(GR((o=KB(Y1(s),10)).n,c),h=new Ub(o.j);h.a<h.c.c.length;)for(r=new Ub(KB(Y1(h),11).g);r.a<r.c.c.length;)for(Jtn((i=KB(Y1(r),17)).a,c),(a=KB(pMn(i,(FXn(),ggt)),74))&&Jtn(a,c),u=new Ub(i.b);u.a<u.c.c.length;)GR(KB(Y1(u),70).n,c)}function YRn(n,t,e){var i,r,c,a,u,o,s,h;for(c=new LC(t,e),s=new Ub(n.a);s.a<s.c.c.length;)for(GR((o=KB(Y1(s),10)).n,c),h=new Ub(o.j);h.a<h.c.c.length;)for(r=new Ub(KB(Y1(h),11).g);r.a<r.c.c.length;)for(Jtn((i=KB(Y1(r),17)).a,c),(a=KB(pMn(i,(FXn(),ggt)),74))&&Jtn(a,c),u=new Ub(i.b);u.a<u.c.c.length;)GR(KB(Y1(u),70).n,c)}function ZRn(n){if(0==(!n.b&&(n.b=new o_(xOt,n,4,7)),n.b).i)throw Fp(new ik("Edges must have a source."));if(0==(!n.c&&(n.c=new o_(xOt,n,5,8)),n.c).i)throw Fp(new ik("Edges must have a target."));if(!n.b&&(n.b=new o_(xOt,n,4,7)),!(n.b.i<=1&&(!n.c&&(n.c=new o_(xOt,n,5,8)),n.c.i<=1)))throw Fp(new ik("Hyperedges are not supported."))}function n_n(n,t){var e,i,r,c,a,u,o,s,h,f;for(f=0,b3(c=new Ap,t);c.b!=c.c;)for(o=KB(bU(c),214),s=0,h=KB(pMn(t.j,(FXn(),Adt)),339),a=Hy(ED(pMn(t.j,Pdt))),u=Hy(ED(pMn(t.j,Cdt))),h!=(pon(),$vt)&&(s+=a*T$n(o.e,h),s+=u*exn(o.e)),f+=uyn(o.d,o.e)+s,r=new Ub(o.b);r.a<r.c.c.length;)i=KB(Y1(r),37),(e=KB(Lq(n.b,i.p),214)).s||(f+=YPn(n,e));return f}function t_n(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g;for(o=b=t.length,f1(0,t.length),45==t.charCodeAt(0)?(f=-1,l=1,--b):(f=1,l=0),r=b/(c=(cHn(),iet)[10])|0,0!=(g=b%c)&&++r,u=L8(CNt,oQn,25,r,15,1),e=eet[8],a=0,w=l+(0==g?c:g),d=l;d<o;w=(d=w)+c)i=hKn(t.substr(d,w-d),RVn,NWn),OOn(),s=bvn(u,u,a,e),s+=Gwn(u,a,i),u[a++]=s;h=a,n.e=f,n.d=h,n.a=u,z0(n)}function e_n(n,t,e,i,r,c,a){if(n.c=i.qf().a,n.d=i.qf().b,r&&(n.c+=r.qf().a,n.d+=r.qf().b),n.b=t.rf().a,n.a=t.rf().b,r)switch(r.Hf().g){case 0:case 2:n.c+=r.rf().a+a+c.a+a;break;case 4:n.c-=a+c.a+a+t.rf().a;break;case 1:n.c+=r.rf().a+a,n.d-=a+c.b+a+t.rf().b;break;case 3:n.c+=r.rf().a+a,n.d+=r.rf().b+a+c.b+a}else e?n.c-=a+t.rf().a:n.c+=i.rf().a+a}function i_n(n,t){var e,i;for(this.b=new $p,this.e=new $p,this.a=n,this.d=t,Hpn(this),ddn(this),this.b.dc()?this.c=n.c.p:this.c=KB(this.b.Xb(0),10).c.p,0==this.e.c.length?this.f=n.c.p:this.f=KB(Lq(this.e,this.e.c.length-1),10).c.p,i=KB(pMn(n,(oWn(),Mlt)),15).Kc();i.Ob();)if(Ax(e=KB(i.Pb(),70),(FXn(),Xdt))){this.d=KB(pMn(e,Xdt),227);break}}function r_n(n,t,e){var i,r,c,a,u,o,s,h;for(i=KB(xX(n.a,t),53),c=KB(xX(n.a,e),53),r=KB(xX(n.e,t),53),a=KB(xX(n.e,e),53),i.a.zc(e,i),a.a.zc(t,a),h=c.a.ec().Kc();h.Ob();)s=KB(h.Pb(),10),i.a.zc(s,i),jU(KB(xX(n.e,s),53),t),_rn(KB(xX(n.e,s),53),r);for(o=r.a.ec().Kc();o.Ob();)u=KB(o.Pb(),10),a.a.zc(u,a),jU(KB(xX(n.a,u),53),e),_rn(KB(xX(n.a,u),53),c)}function c_n(n,t,e){var i,r,c,a,u,o,s,h;for(i=KB(xX(n.a,t),53),c=KB(xX(n.a,e),53),r=KB(xX(n.b,t),53),a=KB(xX(n.b,e),53),i.a.zc(e,i),a.a.zc(t,a),h=c.a.ec().Kc();h.Ob();)s=KB(h.Pb(),10),i.a.zc(s,i),jU(KB(xX(n.b,s),53),t),_rn(KB(xX(n.b,s),53),r);for(o=r.a.ec().Kc();o.Ob();)u=KB(o.Pb(),10),a.a.zc(u,a),jU(KB(xX(n.a,u),53),e),_rn(KB(xX(n.a,u),53),c)}function a_n(n,t){var e,i,r;switch(CTn(t,"Breaking Point Insertion",1),i=new EAn(n),KB(pMn(n,(FXn(),Kpt)),337).g){case 2:r=new Tc;case 0:r=new wc;break;default:r=new Mc}if(e=r.Vf(n,i),By(jD(pMn(n,Bpt)))&&(e=Nqn(n,e)),!r.Wf()&&Ax(n,zpt))switch(KB(pMn(n,zpt),338).g){case 2:e=zCn(i,e);break;case 1:e=DTn(i,e)}e.dc()||ZUn(n,e),FSn(t)}function u_n(n,t,e){var i,r,c,a,u,o,s;if(s=t,Oin(o=W3(n,A3(e),s),x2(s,B6n)),a=$2(s,A6n),XCn((i=new aI(n,o)).a,i.b,a),u=$2(s,$6n),WCn((r=new uI(n,o)).a,r.b,u),0==(!o.b&&(o.b=new o_(xOt,o,4,7)),o.b).i||0==(!o.c&&(o.c=new o_(xOt,o,5,8)),o.c).i)throw c=x2(s,B6n),Fp(new nk(z6n+c+U6n));return TTn(s,o),uXn(n,s,o),Lon(n,s,o)}function o_n(n,t){var e,r,c,a,u,o,s;for(c=L8(CNt,oQn,25,n.e.a.c.length,15,1),u=new Ub(n.e.a);u.a<u.c.c.length;)c[(a=KB(Y1(u),121)).d]+=a.b.a.c.length;for(o=qB(t);0!=o.b;)for(r=A9(new Ub((a=KB(0==o.b?null:(Mx(0!=o.b),Itn(o,o.a.a)),121)).g.a));r.Ob();)(s=(e=KB(r.Pb(),213)).e).e=i.Math.max(s.e,a.e+e.a),--c[s.d],0==c[s.d]&&e5(o,s,o.c.b,o.c)}function s_n(n){var t,e,r,c,a,u,o,s,h,f,l;for(e=RVn,c=NWn,o=new Ub(n.e.a);o.a<o.c.c.length;)a=KB(Y1(o),121),c=i.Math.min(c,a.e),e=i.Math.max(e,a.e);for(t=L8(CNt,oQn,25,e-c+1,15,1),u=new Ub(n.e.a);u.a<u.c.c.length;)(a=KB(Y1(u),121)).e-=c,++t[a.e];if(r=0,null!=n.k)for(f=0,l=(h=n.k).length;f<l&&(s=h[f],t[r++]+=s,t.length!=r);++f);return t}function h_n(n){switch(n.d){case 9:case 8:return!0;case 3:case 5:case 4:case 6:return!1;case 7:return KB(Dxn(n),19).a==n.o;case 1:case 2:if(-2==n.o)return!1;switch(n.p){case 0:case 1:case 2:case 6:case 5:case 7:return WI(n.k,n.f);case 3:case 4:return n.j==n.e;default:return null==n.n?null==n.g:$fn(n.n,n.g)}default:return!1}}function f_n(n){$M(n,new ETn(gj(lj(dj(wj(new du,D5n),"ELK Fixed"),"Keeps the current layout as it is, without any automatic modification. Optional coordinates can be given for nodes and edge bend points."),new Vu))),c2(n,D5n,WYn,bCt),c2(n,D5n,w3n,ppn(wCt)),c2(n,D5n,w5n,ppn(oCt)),c2(n,D5n,MZn,ppn(sCt)),c2(n,D5n,KZn,ppn(fCt)),c2(n,D5n,V2n,ppn(hCt))}function l_n(n,t,e){var i,r,c,a;if(i=bG(ibn(TVn,eV(bG(ibn(null==t?0:Yon(t),MVn)),15))),a=bG(ibn(TVn,eV(bG(ibn(null==e?0:Yon(e),MVn)),15))),(c=Qrn(n,t,i))&&a==c.f&&lW(e,c.i))return e;if(Jrn(n,e,a))throw Fp(new Ry("value already present: "+e));return r=new BW(t,i,e,a),c?(ALn(n,c),VCn(n,r,c),c.e=null,c.c=null,c.i):(VCn(n,r,null),Bkn(n),null)}function b_n(n,t,e){var i,r,c,a,u,o,s,h,f,l,b;s=e.a.c,a=e.a.c+e.a.b,l=(c=KB(xX(e.c,t),459)).f,b=c.a,u=c.b?new LC(a,l):new LC(s,l),h=c.c?new LC(s,b):new LC(a,b),r=s,e.p||(r+=n.c),o=new LC(r+=e.F+e.v*n.b,l),f=new LC(r,b),Yen(t.a,Mun(Hk(MMt,1),uVn,8,0,[u,o])),e.d.a.gc()>1&&(i=new LC(r,e.b),NH(t.a,i)),Yen(t.a,Mun(Hk(MMt,1),uVn,8,0,[f,h]))}function w_n(n,t,e){var i,r,c,a,u,o;if(t){if(e<=-1){if(iL(i=ttn(t.Tg(),-1-e),99))return KB(i,18);for(u=0,o=(a=KB(t.ah(i),153)).gc();u<o;++u)if(HI(a.jl(u))===HI(n)&&iL(r=a.il(u),99)&&(c=KB(r,18)).Bb&o6n)return c;throw Fp(new _y("The containment feature could not be located"))}return Svn(KB(ttn(n.Tg(),e),18))}return null}function d_n(n){var t,e,i,r,c;for(i=n.length,t=new Mk,c=0;c<i;)if(9!=(e=sV(n,c++))&&10!=e&&12!=e&&13!=e&&32!=e)if(35!=e)92==e&&c<i?35==(f1(c,n.length),r=n.charCodeAt(c))||9==r||10==r||12==r||13==r||32==r?($X(t,r&WVn),++c):(t.a+="\\",$X(t,r&WVn),++c):$X(t,e&WVn);else for(;c<i&&13!=(e=sV(n,c++))&&10!=e;);return t.a}function g_n(n,t){var e,i,r;for(i=new Ub(t);i.a<i.c.c.length;)if(e=KB(Y1(i),33),QIn(n.a,e,e),QIn(n.b,e,e),0!=(r=lDn(e)).c.length)for(n.d&&n.d.lg(r),QIn(n.a,e,(h1(0,r.c.length),KB(r.c[0],33))),QIn(n.b,e,KB(Lq(r,r.c.length-1),33));0!=Nun(r).c.length;)r=Nun(r),n.d&&n.d.lg(r),QIn(n.a,e,(h1(0,r.c.length),KB(r.c[0],33))),QIn(n.b,e,KB(Lq(r,r.c.length-1),33))}function p_n(n){var t,e,i,r,c,a,u,o,s,h;for(e=0,u=new Ub(n.d);u.a<u.c.c.length;)(a=KB(Y1(u),101)).i&&(a.i.c=e++);for(t=mq(INt,[uVn,JJn],[177,25],16,[e,e],2),h=n.d,r=0;r<h.c.length;r++)if(h1(r,h.c.length),(o=KB(h.c[r],101)).i)for(c=r+1;c<h.c.length;c++)h1(c,h.c.length),(s=KB(h.c[c],101)).i&&(i=eMn(o,s),t[o.i.c][s.i.c]=i,t[s.i.c][o.i.c]=i);return t}function v_n(n,t,e,i){var r,c,a;return a=new vT(t,e),n.a?i?(++(r=KB(xX(n.b,t),283)).a,a.d=i.d,a.e=i.e,a.b=i,a.c=i,i.e?i.e.c=a:KB(xX(n.b,t),283).b=a,i.d?i.d.b=a:n.a=a,i.d=a,i.e=a):(n.e.b=a,a.d=n.e,n.e=a,(r=KB(xX(n.b,t),283))?(++r.a,(c=r.c).c=a,a.e=c,r.c=a):(XW(n.b,t,r=new uJ(a)),++n.c)):(n.a=n.e=a,XW(n.b,t,new uJ(a)),++n.c),++n.d,a}function m_n(n,t){var e,i,r,c,a,u,o,s;for(e=new RegExp(t,"g"),o=L8(Wtt,uVn,2,0,6,1),i=0,s=n,c=null;;){if(null==(u=e.exec(s))||""==s){o[i]=s;break}a=u.index,o[i]=s.substr(0,a),s=sx(s,a+u[0].length,s.length),e.lastIndex=0,c==s&&(o[i]=s.substr(0,1),s=s.substr(1)),c=s,++i}if(n.length>0){for(r=o.length;r>0&&""==o[r-1];)--r;r<o.length&&(o.length=r)}return o}function y_n(n,t){var e,i,r,c,a,u,o,s;for(u=null,r=!1,c=0,o=r4((s=mJ(t)).a).i;c<o;++c)(e=y_n(n,KB(nGn(s,c,iL(a=KB(Utn(r4(s.a),c),87).c,88)?KB(a,26):(wWn(),l$t)),26))).dc()||(u?(r||(r=!0,u=new eG(u)),u.Gc(e)):u=e);return(i=LIn(n,t)).dc()?u||(TQ(),TQ(),uet):u?(r||(u=new eG(u)),u.Gc(i),u):i}function k_n(n,t){var e,i,r,c,a,u,o,s;for(u=null,i=!1,c=0,o=r4((s=mJ(t)).a).i;c<o;++c)(e=k_n(n,KB(nGn(s,c,iL(a=KB(Utn(r4(s.a),c),87).c,88)?KB(a,26):(wWn(),l$t)),26))).dc()||(u?(i||(i=!0,u=new eG(u)),u.Gc(e)):u=e);return(r=XOn(n,t)).dc()?u||(TQ(),TQ(),uet):u?(i||(u=new eG(u)),u.Gc(r),u):r}function j_n(n,t,e){var i,r,c,a,u,o;if(iL(t,72))return Rpn(n,t,e);for(u=null,c=null,i=KB(n.g,119),a=0;a<n.i;++a)if($fn(t,(r=i[a]).dd())&&iL(c=r.ak(),99)&&KB(c,18).Bb&o6n){u=r;break}return u&&(pA(n.e)&&(o=c.$j()?AJ(n,4,c,t,null,dBn(n,c,t,iL(c,99)&&!!(KB(c,18).Bb&KQn)),!0):AJ(n,c.Kj()?2:1,c,t,c.zj(),-1,!0),e?e.Ei(o):e=o),e=j_n(n,u,e)),e}function E_n(n){var t,e,r,c;r=n.o,BD(),n.A.dc()||$fn(n.A,Ort)?c=r.a:(c=TIn(n.f),n.A.Hc((pdn(),xIt))&&!n.B.Hc((Y_n(),zIt))&&(c=i.Math.max(c,TIn(KB(aV(n.p,(mUn(),uIt)),244))),c=i.Math.max(c,TIn(KB(aV(n.p,TIt),244)))),(t=aan(n))&&(c=i.Math.max(c,t.a))),By(jD(n.e.yf().We((uWn(),_St))))?r.a=i.Math.max(r.a,c):r.a=c,(e=n.f.i).c=0,e.b=c,RFn(n.f)}function T_n(n,t){var e,i,r,c,a,u,o,s,h;if((e=t.Hh(n.a))&&null!=(o=TD(idn((!e.b&&(e.b=new Qx((wWn(),v$t),G$t,e)),e.b),"memberTypes")))){for(s=new $p,a=0,u=(c=m_n(o,"\\w")).length;a<u;++a)iL(h=-1==(i=(r=c[a]).lastIndexOf("#"))?cD(n,t.Aj(),r):0==i?E9(n,null,r.substr(1)):E9(n,r.substr(0,i),r.substr(i+1)),148)&&UB(s,KB(h,148));return s}return TQ(),TQ(),uet}function M_n(n,t,e){var i,r,c,a,u,o,s,h;for(CTn(e,rZn,1),n.bf(t),c=0;n.df(c);){for(h=new Ub(t.e);h.a<h.c.c.length;)for(o=KB(Y1(h),144),u=$U(Uen(Mun(Hk(Lnt,1),FWn,20,0,[t.e,t.d,t.b])));bAn(u);)(a=KB(G5(u),357))!=o&&(r=n.af(a,o))&&GR(o.a,r);for(s=new Ub(t.e);s.a<s.c.c.length;)USn(i=(o=KB(Y1(s),144)).a,-n.d,-n.d,n.d,n.d),GR(o.d,i),mO(i);n.cf(),++c}FSn(e)}function S_n(n,t,e){var i,r,c,a;if(a=rxn(n.e.Tg(),t),i=KB(n.g,119),JM(),KB(t,66).Oj()){for(c=0;c<n.i;++c)if(r=i[c],a.rl(r.ak())&&$fn(r,e))return sDn(n,c),!0}else if(null!=e){for(c=0;c<n.i;++c)if(r=i[c],a.rl(r.ak())&&$fn(e,r.dd()))return sDn(n,c),!0}else for(c=0;c<n.i;++c)if(r=i[c],a.rl(r.ak())&&null==r.dd())return sDn(n,c),!0;return!1}function P_n(n,t){var e,i,r,c,a;for(null==n.c||n.c.length<t.c.length?n.c=L8(INt,JJn,25,t.c.length,16,1):Yy(n.c),n.a=new $p,i=0,a=new Ub(t);a.a<a.c.c.length;)(r=KB(Y1(a),10)).p=i++;for(e=new VT,c=new Ub(t);c.a<c.c.c.length;)r=KB(Y1(c),10),n.c[r.p]||(oIn(n,r),0==e.b||(Mx(0!=e.b),KB(e.a.a.c,15)).gc()<n.a.c.length?oO(e,n.a):sO(e,n.a),n.a=new $p);return e}function C_n(n,t,e,i){var r,c,a,u,o,s,h;for(Men(a=KB(Utn(t,0),33),0),Sen(a,0),(o=new $p).c[o.c.length]=a,u=a,c=new nq(n.a,a.g,a.f,(VLn(),REt)),s=1;s<t.i;s++)Men(h=KB(Utn(t,s),33),(r=rqn(n,YBn(n,NEt,h,u,c,o,e),YBn(n,LEt,h,u,c,o,e),YBn(n,DEt,h,u,c,o,e),YBn(n,xEt,h,u,c,o,e),h,u,i)).d),Sen(h,r.e),rb(r,REt),c=r,u=h,o.c[o.c.length]=h;return c}function I_n(n){$M(n,new ETn(gj(lj(dj(wj(new du,W4n),"ELK SPOrE Overlap Removal"),'A node overlap removal algorithm proposed by Nachmanson et al. in "Node overlap removal by growing a tree".'),new eu))),c2(n,W4n,D4n,ppn(BTt)),c2(n,W4n,WYn,KTt),c2(n,W4n,gZn,8),c2(n,W4n,B4n,ppn(FTt)),c2(n,W4n,G4n,ppn(RTt)),c2(n,W4n,z4n,ppn(_Tt)),c2(n,W4n,z2n,(oN(),!1))}function O_n(n,t,e,i){var r,c,a,u,o,s,h,f;for(a=Rx(t.c,e,i),h=new Ub(t.a);h.a<h.c.c.length;){for(GR((s=KB(Y1(h),10)).n,a),f=new Ub(s.j);f.a<f.c.c.length;)for(c=new Ub(KB(Y1(f),11).g);c.a<c.c.c.length;)for(Jtn((r=KB(Y1(c),17)).a,a),(u=KB(pMn(r,(FXn(),ggt)),74))&&Jtn(u,a),o=new Ub(r.b);o.a<o.c.c.length;)GR(KB(Y1(o),70).n,a);UB(n.a,s),s.a=n}}function A_n(n,t){var e,i,r,c;if(CTn(t,"Node and Port Label Placement and Node Sizing",1),xA((wM(),new FV(n,!0,!0,new Ve))),KB(pMn(n,(oWn(),Jft)),21).Hc((fDn(),hft)))for(i=(r=KB(pMn(n,(FXn(),ipt)),21)).Hc((hIn(),tIt)),c=By(jD(pMn(n,rpt))),e=new Ub(n.b);e.a<e.c.c.length;)QT(IV(new xq(null,new l1(KB(Y1(e),29).a,16)),new Qe),new DK(r,i,c));FSn(t)}function $_n(n,t){var e,i,r,c,a,u;if((e=t.Hh(n.a))&&null!=(u=TD(idn((!e.b&&(e.b=new Qx((wWn(),v$t),G$t,e)),e.b),Y6n))))switch(r=pN(u,VTn(35)),i=t.Hj(),-1==r?(a=rz(n,Gtn(i)),c=u):0==r?(a=null,c=u.substr(1)):(a=u.substr(0,r),c=u.substr(r+1)),NW(K7(n,t))){case 2:case 3:return Non(n,i,a,c);case 0:case 4:case 5:case 6:return xon(n,i,a,c)}return null}function L_n(n,t,e){var i,r,c,a,u;if(JM(),a=KB(t,66).Oj(),Oxn(n.e,t)){if(t.hi()&&GFn(n,t,e,iL(t,99)&&!!(KB(t,18).Bb&KQn)))return!1}else for(u=rxn(n.e.Tg(),t),i=KB(n.g,119),c=0;c<n.i;++c)if(r=i[c],u.rl(r.ak()))return!(a?$fn(r,e):null==e?null==r.dd():$fn(e,r.dd()))&&(KB(avn(n,c,a?KB(e,72):J3(t,e)),72),!0);return s9(n,a?KB(e,72):J3(t,e))}function N_n(n){var t,e,i,r,c;if(n.d)throw Fp(new _y((kD(Vat),IJn+Vat.k+OJn)));for(n.c==(_fn(),KPt)&&Ezn(n,RPt),t=new Ub(n.a.a);t.a<t.c.c.length;)KB(Y1(t),189).e=0;for(r=new Ub(n.a.b);r.a<r.c.c.length;)for((i=KB(Y1(r),81)).o=DQn,e=i.f.Kc();e.Ob();)++KB(e.Pb(),81).d.e;for(Hzn(n),c=new Ub(n.a.b);c.a<c.c.c.length;)KB(Y1(c),81).k=!0;return n}function x_n(n,t){var e,i,r,c,a,u,o,s;for(u=new dPn(n),e5(e=new VT,t,e.c.b,e.c);0!=e.b;){for((i=KB(0==e.b?null:(Mx(0!=e.b),Itn(e,e.a.a)),113)).d.p=1,a=new Ub(i.e);a.a<a.c.c.length;)yTn(u,r=KB(Y1(a),409)),0==(s=r.d).d.p&&e5(e,s,e.c.b,e.c);for(c=new Ub(i.b);c.a<c.c.c.length;)yTn(u,r=KB(Y1(c),409)),0==(o=r.c).d.p&&e5(e,o,e.c.b,e.c)}return u}function D_n(n){var t,e,i,r,c;if(1!=(i=Hy(ED(JAn(n,(uWn(),vPt))))))for(EA(n,i*n.g,i*n.f),e=zO(RB((!n.c&&(n.c=new nU(GOt,n,9,9)),n.c),new Bu)),c=$U(Uen(Mun(Hk(Lnt,1),FWn,20,0,[(!n.n&&(n.n=new nU(HOt,n,1,7)),n.n),(!n.c&&(n.c=new nU(GOt,n,9,9)),n.c),e])));bAn(c);)(r=KB(G5(c),470)).Gg(i*r.Dg(),i*r.Eg()),r.Fg(i*r.Cg(),i*r.Bg()),(t=KB(r.We(iPt),8))&&(t.a*=i,t.b*=i)}function R_n(n,t,e,i,r){var c,a,u,o,s,h;for(c=new Ub(n.b);c.a<c.c.c.length;)for(s=0,h=(o=Y0(KB(Y1(c),29).a)).length;s<h;++s)switch(KB(pMn(u=o[s],(FXn(),mgt)),163).g){case 1:gxn(u),MZ(u,t),hvn(u,!0,i);break;case 3:JNn(u),MZ(u,e),hvn(u,!1,r)}for(a=new E2(n.b,0);a.b<a.d.gc();)0==(Mx(a.b<a.d.gc()),KB(a.d.Xb(a.c=a.b++),29)).a.c.length&&sW(a)}function __n(n,t){var e,i,r,c,a,u,o;if((e=t.Hh(n.a))&&null!=(o=TD(idn((!e.b&&(e.b=new Qx((wWn(),v$t),G$t,e)),e.b),E7n)))){for(i=new $p,a=0,u=(c=m_n(o,"\\w")).length;a<u;++a)p_(r=c[a],"##other")?UB(i,"!##"+rz(n,Gtn(t.Hj()))):p_(r,"##local")?i.c[i.c.length]=null:p_(r,k7n)?UB(i,rz(n,Gtn(t.Hj()))):i.c[i.c.length]=r;return i}return TQ(),TQ(),uet}function K_n(n,t){var e,i,r;return e=new Xn,(i=1==(i=KB(M4(OV(new xq(null,new l1(n.f,16)),e),L7(new Q,new J,new cn,new an,Mun(Hk(Yet,1),OVn,132,0,[(Bsn(),zet),Get]))),21).gc())?1:0)<(r=1==(r=KB(M4(OV(new xq(null,new l1(t.f,16)),e),L7(new Q,new J,new cn,new an,Mun(Hk(Yet,1),OVn,132,0,[zet,Get]))),21).gc())?1:0)?-1:i==r?0:1}function F_n(n){var t,e,i,r,c,a,u,o,s,h,f,l;for(r=By(jD(pMn(u=n.i,(FXn(),lgt)))),h=0,i=0,s=new Ub(n.g);s.a<s.c.c.length;)c=(a=f5(o=KB(Y1(s),17)))&&r&&By(jD(pMn(o,bgt))),l=o.d.i,a&&c?++i:a&&!c?++h:gW(l).e==u?++i:++h;for(e=new Ub(n.e);e.a<e.c.c.length;)c=(a=f5(t=KB(Y1(e),17)))&&r&&By(jD(pMn(t,bgt))),f=t.c.i,a&&c?++h:a&&!c?++i:gW(f).e==u?++h:++i;return h-i}function B_n(n,t,e,i){this.e=n,this.k=KB(pMn(n,(oWn(),Ilt)),304),this.g=L8(Cut,r1n,10,t,0,1),this.b=L8(Mtt,uVn,333,t,7,1),this.a=L8(Cut,r1n,10,t,0,1),this.d=L8(Mtt,uVn,333,t,7,1),this.j=L8(Cut,r1n,10,t,0,1),this.i=L8(Mtt,uVn,333,t,7,1),this.p=L8(Mtt,uVn,333,t,7,1),this.n=L8(mtt,uVn,476,t,8,1),vS(this.n,(oN(),!1)),this.f=L8(mtt,uVn,476,t,8,1),vS(this.f,!0),this.o=e,this.c=i}function H_n(n,t){var e,i,r;if(!t.dc())if(KB(t.Xb(0),286).d==(OPn(),Yst))Ikn(n,t);else for(i=t.Kc();i.Ob();){switch((e=KB(i.Pb(),286)).d.g){case 5:oPn(n,e,Xbn(n,e));break;case 0:oPn(n,e,(r=(e.f-e.c+1-1)/2|0,e.c+r));break;case 4:oPn(n,e,Onn(n,e));break;case 2:Dwn(e),oPn(n,e,OEn(e)?e.c:e.f);break;case 1:Dwn(e),oPn(n,e,OEn(e)?e.f:e.c)}oMn(e.a)}}function q_n(n,t){var e,i,r,c,a;if(!t.e){for(t.e=!0,i=t.d.a.ec().Kc();i.Ob();)e=KB(i.Pb(),17),t.o&&t.d.a.gc()<=1?(a=new LC((c=t.a.c)+(t.a.c+t.a.b-c)/2,t.b),NH(KB(t.d.a.ec().Kc().Pb(),17).a,a)):(r=KB(xX(t.c,e),459)).b||r.c?b_n(n,e,t):n.d==(Gsn(),emt)&&(r.d||r.e)&&AOn(n,t)&&t.d.a.gc()<=1?bzn(e,t):NDn(n,e,t);t.k&&n5(t.d,new Te)}}function G_n(n,t,e,r,c,a){var u,o,s,h,f,l,b,w,d,g,p,v,m;for(o=(r+c)/2+a,g=e*i.Math.cos(o),p=e*i.Math.sin(o),v=g-t.g/2,m=p-t.f/2,Men(t,v),Sen(t,m),l=n.a.jg(t),(d=2*i.Math.acos(e/e+n.c))<c-r?(b=d/l,u=(r+c-d)/2):(b=(c-r)/l,u=r),w=lDn(t),n.e&&(n.e.kg(n.d),n.e.lg(w)),h=new Ub(w);h.a<h.c.c.length;)s=KB(Y1(h),33),f=n.a.jg(s),G_n(n,s,e+n.c,u,u+b*f,a),u+=b*f}function z_n(n,t,e){var i;switch(i=e.q.getMonth(),t){case 5:aO(n,Mun(Hk(Wtt,1),uVn,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[i]);break;case 4:aO(n,Mun(Hk(Wtt,1),uVn,2,6,[VVn,QVn,JVn,YVn,ZVn,nQn,tQn,eQn,iQn,rQn,cQn,aQn])[i]);break;case 3:aO(n,Mun(Hk(Wtt,1),uVn,2,6,["Jan","Feb","Mar","Apr",ZVn,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[i]);break;default:knn(n,i+1,t)}}function U_n(n,t){var e,i,r,c;if(CTn(t,"Network simplex",1),n.e.a.c.length<1)FSn(t);else{for(r=new Ub(n.e.a);r.a<r.c.c.length;)KB(Y1(r),121).e=0;for((c=n.e.a.c.length>=40)&&kFn(n),KHn(n),jxn(n),e=vln(n),i=0;e&&i<n.f;)nKn(n,e,n$n(n,e)),e=vln(n),++i;c&&ZEn(n),n.a?d$n(n,s_n(n)):s_n(n),n.b=null,n.d=null,n.p=null,n.c=null,n.g=null,n.i=null,n.n=null,n.o=null,FSn(t)}}function X_n(n,t,e,i){var r,c,a,u,o,s,h,f;for(zR(u=new LC(e,i),KB(pMn(t,(Ern(),aat)),8)),f=new Ub(t.e);f.a<f.c.c.length;)GR((h=KB(Y1(f),144)).d,u),UB(n.e,h);for(a=new Ub(t.c);a.a<a.c.c.length;){for(r=new Ub((c=KB(Y1(a),282)).a);r.a<r.c.c.length;)GR(KB(Y1(r),559).d,u);UB(n.c,c)}for(s=new Ub(t.d);s.a<s.c.c.length;)GR((o=KB(Y1(s),447)).d,u),UB(n.d,o)}function W_n(n,t){var e,i,r,c,a,u,o,s;for(o=new Ub(t.j);o.a<o.c.c.length;)for(r=new p6((u=KB(Y1(o),11)).b);v$(r.a)||v$(r.b);)t!=(c=(e=(i=KB(v$(r.a)?Y1(r.a):Y1(r.b),17)).c==u?i.d:i.c).i)&&((s=KB(pMn(i,(FXn(),spt)),19).a)<0&&(s=0),a=c.p,0==n.b[a]&&(i.d==e?(n.a[a]-=s+1,n.a[a]<=0&&n.c[a]>0&&NH(n.f,c)):(n.c[a]-=s+1,n.c[a]<=0&&n.a[a]>0&&NH(n.e,c))))}function V_n(n){var t,e,i,r,c,a,u;for(c=new bE(KB(vX(new Rn),62)),u=DQn,e=new Ub(n.d);e.a<e.c.c.length;){for(u=(t=KB(Y1(e),222)).c.c;0!=c.a.c&&(a=KB(EU(B9(c.a)),222)).c.c+a.c.b<u;)OY(c.a,a);for(r=new _b(new KR(new LN(new Rb(c.a).a).b));rS(r.a.a);)NH((i=KB(px(r.a).cd(),222)).b,t),NH(t.b,i);Eon(c.a,t,(oN(),dtt))}}function Q_n(n,t,e){var i,r,c,a,u,o,s,h,f;for(c=new Q6(t.c.length),s=new Ub(t);s.a<s.c.c.length;)a=KB(Y1(s),10),UB(c,n.b[a.c.p][a.p]);for(pqn(n,c,e),f=null;f=nzn(c);)eBn(n,KB(f.a,233),KB(f.b,233),c);for(t.c=L8(Int,FWn,1,0,5,1),r=new Ub(c);r.a<r.c.c.length;)for(o=0,h=(u=(i=KB(Y1(r),233)).d).length;o<h;++o)a=u[o],t.c[t.c.length]=a,n.a[a.c.p][a.p].a=hL(i.g,i.d[0]).a}function J_n(n,t){var e,i,r,c;if(0<(iL(n,14)?KB(n,14).gc():_3(n.Kc()))){if(1<(r=t)){for(--r,c=new pa,i=n.Kc();i.Ob();)e=KB(i.Pb(),86),c=Uen(Mun(Hk(Lnt,1),FWn,20,0,[c,new fg(e)]));return J_n(c,r)}if(r<0){for(c=new va,i=n.Kc();i.Ob();)e=KB(i.Pb(),86),c=Uen(Mun(Hk(Lnt,1),FWn,20,0,[c,new fg(e)]));if(0<(iL(c,14)?KB(c,14).gc():_3(c.Kc())))return J_n(c,r)}}return KB(tL(n.Kc()),86)}function Y_n(){Y_n=O,HIt=new WC("DEFAULT_MINIMUM_SIZE",0),GIt=new WC("MINIMUM_SIZE_ACCOUNTS_FOR_PADDING",1),BIt=new WC("COMPUTE_PADDING",2),zIt=new WC("OUTSIDE_NODE_LABELS_OVERHANG",3),UIt=new WC("PORTS_OVERHANG",4),WIt=new WC("UNIFORM_PORT_SPACING",5),XIt=new WC("SPACE_EFFICIENT_PORT_LABELS",6),qIt=new WC("FORCE_TABULAR_NODE_LABELS",7),FIt=new WC("ASYMMETRICAL",8)}function Z_n(n,t){var e,i,r,c,a,u,o,s;if(t){if(e=(c=t.Tg())?Gtn(c).Nh().Jh(c):null){for(Qgn(n,t,e),o=0,s=(null==(r=t.Tg()).i&&BFn(r),r.i).length;o<s;++o)null==r.i&&BFn(r),i=r.i,(u=o>=0&&o<i.length?i[o]:null).Ij()&&!u.Jj()&&(iL(u,322)?Ypn(n,KB(u,34),t,e):(a=KB(u,18)).Bb&o6n&&uEn(n,a,t,e));t.kh()&&KB(e,49).vh(KB(t,49).qh())}return e}return null}function nKn(n,t,e){var i,r,c;if(!t.f)throw Fp(new Ry("Given leave edge is no tree edge."));if(e.f)throw Fp(new Ry("Given enter edge is a tree edge already."));for(t.f=!1,nL(n.p,t),e.f=!0,jU(n.p,e),i=e.e.e-e.d.e-e.a,_Cn(n,e.e,t)||(i=-i),c=new Ub(n.e.a);c.a<c.c.c.length;)_Cn(n,r=KB(Y1(c),121),t)||(r.e+=i);n.j=1,Yy(n.c),dIn(n,KB(Y1(new Ub(n.e.a)),121)),wGn(n)}function tKn(n,t){var e,i,r,c,a,u;if((u=KB(pMn(t,(FXn(),npt)),98))==(WEn(),UCt)||u==zCt)for(r=new LC(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a).b,a=new Ub(n.a);a.a<a.c.c.length;)(c=KB(Y1(a),10)).k==(cSn(),Eut)&&((e=KB(pMn(c,(oWn(),Wft)),61))!=(mUn(),aIt)&&e!=SIt||(i=Hy(ED(pMn(c,jlt))),u==UCt&&(i*=r),c.n.b=i-KB(pMn(c,Ygt),8).b,Qan(c,!1,!0)))}function eKn(n,t,e,i){var r,c,a,u,o,s,h,f,l,b;if(Vtn(n,t,e),c=t[e],b=i?(mUn(),SIt):(mUn(),aIt),pL(t.length,e,i)){for(H6(n,r=t[i?e-1:e+1],i?(rin(),Bvt):(rin(),Fvt)),h=0,l=(o=c).length;h<l;++h)Lvn(n,a=o[h],b);for(H6(n,c,i?(rin(),Fvt):(rin(),Bvt)),s=0,f=(u=r).length;s<f;++s)(a=u[s]).e||Lvn(n,a,jln(b))}else for(s=0,f=(u=c).length;s<f;++s)Lvn(n,a=u[s],b);return!1}function iKn(n,t,e,i){var r,c,a,u,o;u=rbn(t,e),(e==(mUn(),TIt)||e==SIt)&&(u=iL(u,152)?a6(KB(u,152)):iL(u,131)?KB(u,131).a:iL(u,54)?new sy(u):new ST(u)),a=!1;do{for(r=!1,c=0;c<u.gc()-1;c++)KMn(n,KB(u.Xb(c),11),KB(u.Xb(c+1),11),i)&&(a=!0,m0(n.a,KB(u.Xb(c),11),KB(u.Xb(c+1),11)),o=KB(u.Xb(c+1),11),u._c(c+1,KB(u.Xb(c),11)),u._c(c,o),r=!0)}while(r);return a}function rKn(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w;if(!pA(n.e))return KB(VIn(n,t,e),72);if(t!=e&&(a=(b=(r=KB(n.g,119))[e]).ak(),Oxn(n.e,a))){for(w=rxn(n.e.Tg(),a),o=-1,u=-1,i=0,s=0,f=t>e?t:e;s<=f;++s)s==e?u=i++:(c=r[s],h=w.rl(c.ak()),s==t&&(o=s!=f||h?i:i-1),h&&++i);return l=KB(Pln(n,t,e),72),u!=o&&Av(n,new y9(n.e,7,a,tln(u),b.dd(),o)),l}return KB(Pln(n,t,e),72)}function cKn(n,t){var e,i,r,c,a,u;for(CTn(t,"Port order processing",1),u=KB(pMn(n,(FXn(),apt)),421),e=new Ub(n.b);e.a<e.c.c.length;)for(r=new Ub(KB(Y1(e),29).a);r.a<r.c.c.length;)i=KB(Y1(r),10),c=KB(pMn(i,npt),98),a=i.j,c==(WEn(),GCt)||c==UCt||c==zCt?(TQ(),p$(a,ust)):c!=WCt&&c!=VCt&&(TQ(),p$(a,sst),Avn(a),u==(G7(),Rvt)&&p$(a,ost)),i.i=!0,nIn(i);FSn(t)}function aKn(n){var t,e,r,c,a,u,o,s;for(s=new Lp,t=new _v,u=n.Kc();u.Ob();)c=KB(u.Pb(),10),o=IN(aM(new Bv,c),t),yCn(s.f,c,o);for(a=n.Kc();a.Ob();)for(r=new az(JL(hbn(c=KB(a.Pb(),10)).a.Kc(),new h));bAn(r);)f5(e=KB(G5(r),17))||GNn(rM(iM(eM(cM(new Fv,i.Math.max(1,KB(pMn(e,(FXn(),hpt)),19).a)),1),KB(xX(s,e.c.i),121)),KB(xX(s,e.d.i),121)));return t}function uKn(){uKn=O,fyt=bq(new K2,(vMn(),_at),(hWn(),got)),byt=bq(new K2,Rat,yot),wyt=UG(bq(new K2,Rat,Not),Kat,Lot),hyt=UG(bq(bq(new K2,Rat,hot),_at,fot),Kat,lot),dyt=agn(agn(_M(UG(bq(new K2,xat,Got),Kat,qot),_at),Hot),zot),lyt=UG(new K2,Kat,pot),oyt=UG(bq(bq(bq(new K2,Dat,Eot),_at,Mot),_at,Sot),Kat,Tot),syt=UG(bq(bq(new K2,_at,Sot),_at,cot),Kat,rot)}function oKn(n,t,e,i,r,c){var a,u,o,s,h,f;for(a=hSn(t,o=yon(t)-yon(n)),u=E$(0,0,0);o>=0&&(!Syn(n,a)||(o<22?u.l|=1<<o:o<44?u.m|=1<<o-22:u.h|=1<<o-44,0!=n.l||0!=n.m||0!=n.h));)s=a.m,h=a.h,f=a.l,a.h=h>>>1,a.m=s>>>1|(1&h)<<21,a.l=f>>>1|(1&s)<<21,--o;return e&&Con(u),c&&(i?(htt=ron(n),r&&(htt=oun(htt,(z7(),btt)))):htt=E$(n.l,n.m,n.h)),u}function sKn(n,t){var e,i,r,c,a,u,o,s,h,f;for(s=n.e[t.c.p][t.p]+1,o=t.c.a.c.length+1,u=new Ub(n.a);u.a<u.c.c.length;){for(a=KB(Y1(u),11),f=0,c=0,r=$U(Uen(Mun(Hk(Lnt,1),FWn,20,0,[new Fw(a),new Hw(a)])));bAn(r);)(i=KB(G5(r),11)).i.c==t.c&&(f+=fL(n,i.i)+1,++c);e=f/c,(h=a.j)==(mUn(),aIt)?n.f[a.p]=e<s?n.c-e:n.b+(o-e):h==SIt&&(n.f[a.p]=e<s?n.b+e:n.c-(o-e))}}function hKn(n,t,e){var i,r,c,a;if(null==n)throw Fp(new Ek(qWn));for(i=(c=n.length)>0&&(f1(0,n.length),45==n.charCodeAt(0)||(f1(0,n.length),43==n.charCodeAt(0)))?1:0;i<c;i++)if(-1==ngn((f1(i,n.length),n.charCodeAt(i))))throw Fp(new Ek(NQn+n+'"'));if(r=(a=parseInt(n,10))<t,isNaN(a))throw Fp(new Ek(NQn+n+'"'));if(r||a>e)throw Fp(new Ek(NQn+n+'"'));return a}function fKn(n){var t,e,r,c,a,u;for(a=new VT,c=new Ub(n.a);c.a<c.c.c.length;)Xl(r=KB(Y1(c),112),r.f.c.length),Wl(r,r.k.c.length),0==r.i&&(r.o=0,e5(a,r,a.c.b,a.c));for(;0!=a.b;)for(e=(r=KB(0==a.b?null:(Mx(0!=a.b),Itn(a,a.a.a)),112)).o+1,t=new Ub(r.f);t.a<t.c.c.length;)Vl(u=KB(Y1(t),129).a,i.Math.max(u.o,e)),Wl(u,u.i-1),0==u.i&&e5(a,u,a.c.b,a.c)}function lKn(n){var t,e,i,r,c,a,u,o;for(a=new Ub(n);a.a<a.c.c.length;){for(c=KB(Y1(a),79),u=(i=MTn(KB(Utn((!c.b&&(c.b=new o_(xOt,c,4,7)),c.b),0),82))).i,o=i.j,SA(r=KB(Utn((!c.a&&(c.a=new nU(ROt,c,6,6)),c.a),0),202),r.j+u,r.k+o),MA(r,r.b+u,r.c+o),e=new IL((!r.a&&(r.a=new OL($Ot,r,5)),r.a));e.e!=e.i.gc();)jA(t=KB(mpn(e),469),t.a+u,t.b+o);Vrn(KB(JAn(c,(uWn(),CSt)),74),u,o)}}function bKn(n){switch(n){case 100:return pWn(unt,!0);case 68:return pWn(unt,!1);case 119:return pWn(ont,!0);case 87:return pWn(ont,!1);case 115:return pWn(snt,!0);case 83:return pWn(snt,!1);case 99:return pWn(hnt,!0);case 67:return pWn(hnt,!1);case 105:return pWn(fnt,!0);case 73:return pWn(fnt,!1);default:throw Fp(new by(ant+n.toString(16)))}}function wKn(n){var t,e,r,c,a;switch(c=KB(Lq(n.a,0),10),t=new Ovn(n),UB(n.a,t),t.o.a=i.Math.max(1,c.o.a),t.o.b=i.Math.max(1,c.o.b),t.n.a=c.n.a,t.n.b=c.n.b,KB(pMn(c,(oWn(),Wft)),61).g){case 4:t.n.a+=2;break;case 1:t.n.b+=2;break;case 2:t.n.a-=2;break;case 3:t.n.b-=2}return SZ(r=new SSn,t),TZ(e=new lJ,a=KB(Lq(c.j,0),11)),EZ(e,r),GR(mO(r.n),a.n),GR(mO(r.a),a.a),t}function dKn(n,t,e,i,r){e&&(!i||(n.c-n.b&n.a.length-1)>1)&&1==t&&KB(n.a[n.b],10).k==(cSn(),Tut)?oFn(KB(n.a[n.b],10),(zyn(),yCt)):i&&(!e||(n.c-n.b&n.a.length-1)>1)&&1==t&&KB(n.a[n.c-1&n.a.length-1],10).k==(cSn(),Tut)?oFn(KB(n.a[n.c-1&n.a.length-1],10),(zyn(),kCt)):2==(n.c-n.b&n.a.length-1)?(oFn(KB(kon(n),10),(zyn(),yCt)),oFn(KB(kon(n),10),kCt)):uLn(n,r),a4(n)}function gKn(n,t,e){var r,c,a,u,o;for(a=0,c=new IL((!n.a&&(n.a=new nU(qOt,n,10,11)),n.a));c.e!=c.i.gc();)u="",0==(!(r=KB(mpn(c),33)).n&&(r.n=new nU(HOt,r,1,7)),r.n).i||(u=KB(Utn((!r.n&&(r.n=new nU(HOt,r,1,7)),r.n),0),137).a),Ban(o=new isn(a++,t,u),r),oon(o,(Bqn(),ukt),r),o.e.b=r.j+r.f/2,o.f.a=i.Math.max(r.g,1),o.e.a=r.i+r.g/2,o.f.b=i.Math.max(r.f,1),NH(t.b,o),yCn(e.f,r,o)}function pKn(n){var t,e,i,r,c;i=KB(pMn(n,(oWn(),blt)),33),c=KB(JAn(i,(FXn(),_gt)),174).Hc((pdn(),RIt)),n.e||(r=KB(pMn(n,Jft),21),t=new LC(n.f.a+n.d.b+n.d.c,n.f.b+n.d.d+n.d.a),r.Hc((fDn(),hft))?(Vpn(i,npt,(WEn(),zCt)),DUn(i,t.a,t.b,!1,!0)):By(jD(JAn(i,Kgt)))||DUn(i,t.a,t.b,!0,!0)),Vpn(i,_gt,c?Yln(RIt):new V_(e=KB(Xj(VIt),9),KB(TR(e,e.length),9),0))}function vKn(n,t,e){var i,r,c,a;if(t[0]>=n.length)return e.o=0,!0;switch(sV(n,t[0])){case 43:r=1;break;case 45:r=-1;break;default:return e.o=0,!0}if(++t[0],c=t[0],0==(a=GIn(n,t))&&t[0]==c)return!1;if(t[0]<n.length&&58==sV(n,t[0])){if(i=60*a,++t[0],c=t[0],0==(a=GIn(n,t))&&t[0]==c)return!1;i+=a}else(i=a)<24&&t[0]-c<=2?i*=60:i=i%100+60*(i/100|0);return i*=r,e.o=-i,!0}function mKn(n){var t,e,i,r,c,a,u;for(r=new $p,i=new az(JL(hbn(n.b).a.Kc(),new h));bAn(i);)f5(e=KB(G5(i),17))&&UB(r,new y6(e,g9(n,e.c),g9(n,e.d)));for(u=new Db(new Cb(n.e).a.vc().Kc());u.a.Ob();)t=KB(u.a.Pb(),42),(c=KB(t.dd(),113)).d.p=0;for(a=new Db(new Cb(n.e).a.vc().Kc());a.a.Ob();)t=KB(a.a.Pb(),42),0==(c=KB(t.dd(),113)).d.p&&UB(n.d,x_n(n,c))}function yKn(n){var t,e,i,r,c;for(c=UY(n),r=new IL((!n.e&&(n.e=new o_(DOt,n,7,4)),n.e));r.e!=r.i.gc();)if(i=KB(mpn(r),79),!Stn(MTn(KB(Utn((!i.c&&(i.c=new o_(xOt,i,5,8)),i.c),0),82)),c))return!0;for(e=new IL((!n.d&&(n.d=new o_(DOt,n,8,5)),n.d));e.e!=e.i.gc();)if(t=KB(mpn(e),79),!Stn(MTn(KB(Utn((!t.b&&(t.b=new o_(xOt,t,4,7)),t.b),0),82)),c))return!0;return!1}function kKn(n){var t,e,r,c,a,u,o,s;for(s=new mm,o=null,e=KB(f3(t=upn(n,0)),8),c=KB(f3(t),8);t.b!=t.d.c;)o=e,e=c,c=KB(f3(t),8),a=itn(zR(new LC(o.a,o.b),e)),u=itn(zR(new LC(c.a,c.b),e)),r=10,r=i.Math.min(r,i.Math.abs(a.a+a.b)/2),r=i.Math.min(r,i.Math.abs(u.a+u.b)/2),a.a=FH(a.a)*r,a.b=FH(a.b)*r,u.a=FH(u.a)*r,u.b=FH(u.b)*r,NH(s,GR(a,e)),NH(s,GR(u,e));return s}function jKn(n,t,e,i){var r,c,a,u,o;return a=n.eh(),r=null,(o=n.Zg())?!t||w_n(n,t,e).Bb&KQn?o=null:(i=Rpn(o.Vk(),n,i),n.uh(null),r=t.fh()):(a&&(o=a.fh()),t&&(r=t.fh())),o!=r&&o&&o.Zk(n),u=n.Vg(),n.Rg(t,e),o!=r&&r&&r.Yk(n),n.Lg()&&n.Mg()&&(a&&u>=0&&u!=e&&(c=new Yz(n,1,u,a,null),i?i.Ei(c):i=c),e>=0&&(c=new Yz(n,1,e,u==e?a:null,t),i?i.Ei(c):i=c)),i}function EKn(n){var t,e,i;if(null==n.b){if(i=new Tk,null!=n.i&&(iO(i,n.i),i.a+=":"),256&n.f){for(256&n.f&&null!=n.a&&(eQ(n.i)||(i.a+="//"),iO(i,n.a)),null!=n.d&&(i.a+="/",iO(i,n.d)),16&n.f&&(i.a+="/"),t=0,e=n.j.length;t<e;t++)0!=t&&(i.a+="/"),iO(i,n.j[t]);null!=n.g&&(i.a+="?",iO(i,n.g))}else iO(i,n.a);null!=n.e&&(i.a+="#",iO(i,n.e)),n.b=i.a}return n.b}function TKn(n,t){var e,i,r,c,a,u;for(r=new Ub(t.a);r.a<r.c.c.length;)iL(c=pMn(i=KB(Y1(r),10),(oWn(),blt)),11)&&(u=vFn(t,i,(a=KB(c,11)).o.a,a.o.b),a.n.a=u.a,a.n.b=u.b,BCn(a,KB(pMn(i,Wft),61)));e=new LC(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a),KB(pMn(t,(oWn(),Jft)),21).Hc((fDn(),hft))?(oon(n,(FXn(),npt),(WEn(),zCt)),KB(pMn(gW(n),Jft),21).Fc(bft),fGn(n,e,!1)):fGn(n,e,!0)}function MKn(n,t,e){var i,r,c,a,u;CTn(e,"Minimize Crossings "+n.a,1),i=0==t.b.c.length||!yE(IV(new xq(null,new l1(t.b,16)),new rw(new Ac))).sd((bM(),Zet)),u=1==t.b.c.length&&1==KB(Lq(t.b,0),29).a.c.length,c=HI(pMn(t,(FXn(),ugt)))===HI((cfn(),dCt)),i||u&&!c||(Tsn(r=uxn(n,t),(a=KB(Npn(r,0),214)).c.Rf()?a.c.Lf()?new Gd(n):new zd(n):new qd(n)),rfn(n)),FSn(e)}function SKn(n,t,e,i){var r,c,a,u;if(u=bG(ibn(TVn,eV(bG(ibn(null==t?0:Yon(t),MVn)),15))),r=bG(ibn(TVn,eV(bG(ibn(null==e?0:Yon(e),MVn)),15))),a=Jrn(n,t,u),c=Qrn(n,e,r),a&&r==a.a&&lW(e,a.g))return e;if(c)throw Fp(new Ry("key already present: "+e));return a&&ALn(n,a),c&&ALn(n,c),VCn(n,new BW(e,r,t,u),c),c&&(c.e=null,c.c=null),a&&(a.e=null,a.c=null),Bkn(n),a?a.g:null}function PKn(n,t,e){var i,r,c,a,u;for(c=0;c<t;c++){for(i=0,u=c+1;u<t;u++)i=ebn(ebn(ibn(n0(n[c],GQn),n0(n[u],GQn)),n0(e[c+u],GQn)),n0(bG(i),GQn)),e[c+u]=bG(i),i=yz(i,32);e[c+t]=bG(i)}for(Yrn(e,e,t<<1),i=0,r=0,a=0;r<t;++r,a++)i=ebn(ebn(ibn(n0(n[r],GQn),n0(n[r],GQn)),n0(e[a],GQn)),n0(bG(i),GQn)),e[a]=bG(i),i=ebn(i=yz(i,32),n0(e[++a],GQn)),e[a]=bG(i),i=yz(i,32);return e}function CKn(n,t,e){var r,c,a,u,o,s,h,f;if(!o3(t)){for(s=Hy(ED(ndn(e.c,(FXn(),$pt)))),!(h=KB(ndn(e.c,Apt),142))&&(h=new hm),r=e.a,c=null,o=t.Kc();o.Ob();)u=KB(o.Pb(),11),f=0,c?(f=s,f+=c.o.b):f=h.d,a=IN(aM(new Bv,u),n.f),XW(n.k,u,a),GNn(rM(iM(eM(cM(new Fv,0),SY(i.Math.ceil(f))),r),a)),c=u,r=a;GNn(rM(iM(eM(cM(new Fv,0),SY(i.Math.ceil(h.a+c.o.b))),r),e.d))}}function IKn(n,t,e,i,r,c,a,u){var o,s,h;return h=!1,s=c-e.s,o=e.t-t.f+iHn(e,s,!1).a,!(i.g+u>s)&&(o+u+iHn(i,s,!1).a<=t.b&&(d9(e,c-e.s),e.c=!0,d9(i,c-e.s),jvn(i,e.s,e.t+e.d+u),i.k=!0,Lcn(e.q,i),h=!0,r&&(Zen(t,i),i.j=t,n.c.length>a&&(jkn((h1(a,n.c.length),KB(n.c[a],200)),i),0==(h1(a,n.c.length),KB(n.c[a],200)).a.c.length&&u6(n,a)))),h)}function OKn(n,t){var e,i,r,c,a;if(CTn(t,"Partition midprocessing",1),r=new dY,QT(IV(new xq(null,new l1(n.a,16)),new di),new hd(r)),0!=r.d){for(a=KB(M4(r1(new xq(null,(r.i||(r.i=new FL(r,r.c))).Nc())),p9(new H,new B,new rn,Mun(Hk(Yet,1),OVn,132,0,[(Bsn(),Get)]))),15),e=KB((i=a.Kc()).Pb(),19);i.Ob();)c=KB(i.Pb(),19),zLn(KB(o6(r,e),21),KB(o6(r,c),21)),e=c;FSn(t)}}function AKn(n,t,e){var i,r,c,a,u;if(0==t.p){for(t.p=1,(r=e)||(r=new eI(new $p,new V_(i=KB(Xj(_It),9),KB(TR(i,i.length),9),0))),KB(r.a,15).Fc(t),t.k==(cSn(),Eut)&&KB(r.b,21).Fc(KB(pMn(t,(oWn(),Wft)),61)),a=new Ub(t.j);a.a<a.c.c.length;)for(c=KB(Y1(a),11),u=$U(Uen(Mun(Hk(Lnt,1),FWn,20,0,[new Fw(c),new Hw(c)])));bAn(u);)AKn(n,KB(G5(u),11).i,r);return r}return null}function $Kn(n,t){var e,i,r,c,a;if(n.Ab)if(n.Ab){if((a=n.Ab.i)>0)if(r=KB(n.Ab.g,1934),null==t){for(c=0;c<a;++c)if(null==(e=r[c]).d)return e}else for(c=0;c<a;++c)if(p_(t,(e=r[c]).d))return e}else if(null==t){for(i=new IL(n.Ab);i.e!=i.i.gc();)if(null==(e=KB(mpn(i),590)).d)return e}else for(i=new IL(n.Ab);i.e!=i.i.gc();)if(p_(t,(e=KB(mpn(i),590)).d))return e;return null}function LKn(n,t){var e,i,r,c,a,u,o;if(null==(o=jD(pMn(t,(SAn(),$kt))))||(mW(o),o)){for(NOn(n,t),r=new $p,u=upn(t.b,0);u.b!=u.d.c;)(e=LPn(n,KB(f3(u),86),null))&&(Ban(e,t),r.c[r.c.length]=e);if(n.a=null,n.b=null,r.c.length>1)for(i=new Ub(r);i.a<i.c.c.length;)for(c=0,a=upn((e=KB(Y1(i),135)).b,0);a.b!=a.d.c;)KB(f3(a),86).g=c++;return r}return c6(Mun(Hk(Hyt,1),ZYn,135,0,[t]))}function NKn(n,t,e,i,r){var c,a,u,o,s,h,f,l,b,w,d,g,p;irn(b=I3(n,Bun(t),r),x2(r,B6n)),d=N2(w=r,G6n),iSn(new Ag(b).a,d),g=N2(w,"endPoint"),eSn(new xg(b).a,g),p=$2(w,N6n),TEn(new _g(b).a,p),f=x2(r,D6n),BR((c=new oI(n,b)).a,c.b,f),l=x2(r,x6n),HR((a=new sI(n,b)).a,a.b,l),s=$2(r,_6n),_yn((u=new hI(e,b)).b,u.a,s),h=$2(r,R6n),Kyn((o=new fI(i,b)).b,o.a,h)}function xKn(n,t,e){var i,r,c,a,u;switch(u=null,t.g){case 1:for(r=new Ub(n.j);r.a<r.c.c.length;)if(By(jD(pMn(i=KB(Y1(r),11),(oWn(),Zft)))))return i;oon(u=new SSn,(oWn(),Zft),(oN(),!0));break;case 2:for(a=new Ub(n.j);a.a<a.c.c.length;)if(By(jD(pMn(c=KB(Y1(a),11),(oWn(),mlt)))))return c;oon(u=new SSn,(oWn(),mlt),(oN(),!0))}return u&&(SZ(u,n),BCn(u,e),vvn(u.n,n.o,e)),u}function DKn(n,t){var e,r,c,a,u,o;for(o=-1,u=new VT,r=new p6(n.b);v$(r.a)||v$(r.b);){for(e=KB(v$(r.a)?Y1(r.a):Y1(r.b),17),o=i.Math.max(o,Hy(ED(pMn(e,(FXn(),rgt))))),e.c==n?QT(IV(new xq(null,new l1(e.b,16)),new fe),new Yw(u)):QT(IV(new xq(null,new l1(e.b,16)),new le),new Zw(u)),a=upn(u,0);a.b!=a.d.c;)Ax(c=KB(f3(a),70),(oWn(),Gft))||oon(c,Gft,e);wun(t,u),vQ(u)}return o}function RKn(n,t,e,i,r){var c,a,u,o;Kl(c=new Ovn(n),(cSn(),Put)),oon(c,(FXn(),npt),(WEn(),zCt)),oon(c,(oWn(),blt),t.c.i),oon(a=new SSn,blt,t.c),BCn(a,r),SZ(a,c),oon(t.c,klt,c),Kl(u=new Ovn(n),Put),oon(u,npt,zCt),oon(u,blt,t.d.i),oon(o=new SSn,blt,t.d),BCn(o,r),SZ(o,u),oon(t.d,klt,u),TZ(t,a),EZ(t,o),AZ(0,e.c.length),ES(e.c,0,c),i.c[i.c.length]=u,oon(c,Kft,tln(1)),oon(u,Kft,tln(1))}function _Kn(n,t,e,r,c){var a,u,o,s,h;o=c?r.b:r.a,_T(n.a,r)||(h=o>e.s&&o<e.c,s=!1,0!=e.e.b&&0!=e.j.b&&(s|=i.Math.abs(o-Hy(ED(wx(e.e))))<hZn&&i.Math.abs(o-Hy(ED(wx(e.j))))<hZn,s|=i.Math.abs(o-Hy(ED(dx(e.e))))<hZn&&i.Math.abs(o-Hy(ED(dx(e.j))))<hZn),(h||s)&&((u=KB(pMn(t,(FXn(),ggt)),74))||(u=new mm,oon(t,ggt,u)),e5(u,a=new lA(r),u.c.b,u.c),jU(n.a,a)))}function KKn(n,t,e,i){var r,c,a,u,o,s,h;if(UIn(n,t,e,i))return!0;for(a=new Ub(t.f);a.a<a.c.c.length;){switch(c=KB(Y1(a),324),u=!1,s=(o=n.j-t.j+e)+t.o,r=(h=n.k-t.k+i)+t.p,c.a.g){case 0:u=Csn(n,o+c.b.a,0,o+c.c.a,h-1);break;case 1:u=Csn(n,s,h+c.b.a,n.o-1,h+c.c.a);break;case 2:u=Csn(n,o+c.b.a,r,o+c.c.a,n.p-1);break;default:u=Csn(n,0,h+c.b.a,o-1,h+c.c.a)}if(u)return!0}return!1}function FKn(n,t){var e,i,r,c,a,u,o,s;for(c=new Ub(t.b);c.a<c.c.c.length;)for(o=new Ub(KB(Y1(c),29).a);o.a<o.c.c.length;){for(u=KB(Y1(o),10),s=new $p,a=0,i=new az(JL(sbn(u).a.Kc(),new h));bAn(i);)f5(e=KB(G5(i),17))||!f5(e)&&e.c.i.c==e.d.i.c||((r=KB(pMn(e,(FXn(),fpt)),19).a)>a&&(a=r,s.c=L8(Int,FWn,1,0,5,1)),r==a&&UB(s,new eI(e.c.i,e)));TQ(),p$(s,n.c),mG(n.b,u.p,s)}}function BKn(n,t){var e,i,r,c,a,u,o,s;for(c=new Ub(t.b);c.a<c.c.c.length;)for(o=new Ub(KB(Y1(c),29).a);o.a<o.c.c.length;){for(u=KB(Y1(o),10),s=new $p,a=0,i=new az(JL(hbn(u).a.Kc(),new h));bAn(i);)f5(e=KB(G5(i),17))||!f5(e)&&e.c.i.c==e.d.i.c||((r=KB(pMn(e,(FXn(),fpt)),19).a)>a&&(a=r,s.c=L8(Int,FWn,1,0,5,1)),r==a&&UB(s,new eI(e.d.i,e)));TQ(),p$(s,n.c),mG(n.f,u.p,s)}}function HKn(n){$M(n,new ETn(gj(lj(dj(wj(new du,h5n),"ELK Box"),"Algorithm for packing of unconnected boxes, i.e. graphs without edges."),new xu))),c2(n,h5n,WYn,qMt),c2(n,h5n,gZn,15),c2(n,h5n,dZn,tln(0)),c2(n,h5n,I4n,ppn(RMt)),c2(n,h5n,MZn,ppn(KMt)),c2(n,h5n,TZn,ppn(BMt)),c2(n,h5n,XYn,s5n),c2(n,h5n,yZn,ppn(_Mt)),c2(n,h5n,KZn,ppn(FMt)),c2(n,h5n,f5n,ppn(xMt)),c2(n,h5n,c3n,ppn(DMt))}function qKn(n,t){var e,i,r,c,a,u,o,s,h;if(a=(r=n.i).o.a,c=r.o.b,a<=0&&c<=0)return mUn(),MIt;switch(s=n.n.a,h=n.n.b,u=n.o.a,e=n.o.b,t.g){case 2:case 1:if(s<0)return mUn(),SIt;if(s+u>a)return mUn(),aIt;break;case 4:case 3:if(h<0)return mUn(),uIt;if(h+e>c)return mUn(),TIt}return(o=(s+u/2)/a)+(i=(h+e/2)/c)<=1&&o-i<=0?(mUn(),SIt):o+i>=1&&o-i>=0?(mUn(),aIt):i<.5?(mUn(),uIt):(mUn(),TIt)}function GKn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b;for(e=!1,o=Hy(ED(pMn(t,(FXn(),Cpt)))),l=DVn*o,r=new Ub(t.b);r.a<r.c.c.length;)for(i=KB(Y1(r),29),c=KB(Y1(u=new Ub(i.a)),10),s=lU(n.a[c.p]);u.a<u.c.c.length;)a=KB(Y1(u),10),s!=(h=lU(n.a[a.p]))&&(f=D$(n.b,c,a),c.n.b+c.o.b+c.d.a+s.a+f>a.n.b-a.d.d+h.a+l&&(b=s.g+h.g,h.a=(h.g*h.a+s.g*s.a)/b,h.g=b,s.f=h,e=!0)),c=a,s=h;return e}function zKn(n,t,e,i,r,c,a){var u,o,s,h,f;for(f=new fA,o=t.Kc();o.Ob();)for(h=new Ub(KB(o.Pb(),839).wf());h.a<h.c.c.length;)HI((s=KB(Y1(h),181)).We((uWn(),wSt)))===HI((xtn(),zPt))&&(e_n(f,s,!1,i,r,c,a),SPn(n,f));for(u=e.Kc();u.Ob();)for(h=new Ub(KB(u.Pb(),839).wf());h.a<h.c.c.length;)HI((s=KB(Y1(h),181)).We((uWn(),wSt)))===HI((xtn(),GPt))&&(e_n(f,s,!0,i,r,c,a),SPn(n,f))}function UKn(n,t,e){var i,r,c,a,u,o,s;for(a=new IL((!n.a&&(n.a=new nU(qOt,n,10,11)),n.a));a.e!=a.i.gc();)for(r=new az(JL(bLn(c=KB(mpn(a),33)).a.Kc(),new h));bAn(r);)YOn(i=KB(G5(r),79))||YOn(i)||WIn(i)||(o=KB(BI(IJ(e.f,c)),86),s=KB(xX(e,MTn(KB(Utn((!i.c&&(i.c=new o_(xOt,i,5,8)),i.c),0),82))),86),o&&s&&(oon(u=new GQ(o,s),(Bqn(),ukt),i),Ban(u,i),NH(o.d,u),NH(s.b,u),NH(t.a,u)))}function XKn(n,t){var e,r,c,a,u,o,s;for(o=KB(KB(o6(n.r,t),21),84).Kc();o.Ob();)(r=(u=KB(o.Pb(),111)).c?UH(u.c):0)>0?u.a?r>(s=u.b.rf().b)&&(n.v||1==u.c.d.c.length?(a=(r-s)/2,u.d.d=a,u.d.a=a):(e=(KB(Lq(u.c.d,0),181).rf().b-s)/2,u.d.d=i.Math.max(0,e),u.d.a=r-e-s)):u.d.a=n.t+r:Fz(n.u)&&((c=RTn(u.b)).d<0&&(u.d.d=-c.d),c.d+c.a>u.b.rf().b&&(u.d.a=c.d+c.a-u.b.rf().b))}function WKn(n,t){var e;switch(gnn(n)){case 6:return zI(t);case 7:return GI(t);case 8:return qI(t);case 3:return Array.isArray(t)&&!((e=gnn(t))>=14&&e<=16);case 11:return null!=t&&typeof t===LWn;case 12:return null!=t&&(typeof t===IWn||typeof t==LWn);case 0:return Wpn(t,n.__elementTypeId$);case 2:return NU(t)&&!(t.im===I);case 1:return NU(t)&&!(t.im===I)||Wpn(t,n.__elementTypeId$);default:return!0}}function VKn(n,t){var e,r,c,a;return r=i.Math.min(i.Math.abs(n.c-(t.c+t.b)),i.Math.abs(n.c+n.b-t.c)),a=i.Math.min(i.Math.abs(n.d-(t.d+t.a)),i.Math.abs(n.d+n.a-t.d)),(e=i.Math.abs(n.c+n.b/2-(t.c+t.b/2)))>n.b/2+t.b/2||(c=i.Math.abs(n.d+n.a/2-(t.d+t.a/2)))>n.a/2+t.a/2?1:0==e&&0==c?0:0==e?a/c+1:0==c?r/e+1:i.Math.min(r/e,a/c)+1}function QKn(n,t){var e,r,c,a,u,o;return(c=tin(n))==(o=tin(t))?n.e==t.e&&n.a<54&&t.a<54?n.f<t.f?-1:n.f>t.f?1:0:(r=n.e-t.e,(e=(n.d>0?n.d:i.Math.floor((n.a-1)*qQn)+1)-(t.d>0?t.d:i.Math.floor((t.a-1)*qQn)+1))>r+1?c:e<r-1?-c:(!n.c&&(n.c=vhn(n.f)),a=n.c,!t.c&&(t.c=vhn(t.f)),u=t.c,r<0?a=$nn(a,mBn(-r)):r>0&&(u=$nn(u,mBn(r))),Zdn(a,u))):c<o?-1:1}function JKn(n,t){var e,i,r,c,a,u,o;for(c=0,u=0,o=0,r=new Ub(n.f.e);r.a<r.c.c.length;)t!=(i=KB(Y1(r),144))&&(c+=a=n.i[t.b][i.b],(e=U8(t.d,i.d))>0&&n.d!=(B7(),Iat)&&(u+=a*(i.d.a+n.a[t.b][i.b]*(t.d.a-i.d.a)/e)),e>0&&n.d!=(B7(),Pat)&&(o+=a*(i.d.b+n.a[t.b][i.b]*(t.d.b-i.d.b)/e)));switch(n.d.g){case 1:return new LC(u/c,t.d.b);case 2:return new LC(t.d.a,o/c);default:return new LC(u/c,o/c)}}function YKn(n,t){var e,i,r,c;if(qsn(),c=KB(pMn(n.i,(FXn(),npt)),98),0!=n.j.g-t.j.g||c!=(WEn(),GCt)&&c!=UCt&&c!=zCt)return 0;if(c==(WEn(),GCt)&&(e=KB(pMn(n,tpt),19),i=KB(pMn(t,tpt),19),e&&i&&0!=(r=e.a-i.a)))return r;switch(n.j.g){case 1:return Mln(n.n.a,t.n.a);case 2:return Mln(n.n.b,t.n.b);case 3:return Mln(t.n.a,n.n.a);case 4:return Mln(t.n.b,n.n.b);default:throw Fp(new _y(e1n))}}function ZKn(n){var t,e,i,r,c;for(UB(c=new Q6((!n.a&&(n.a=new OL($Ot,n,5)),n.a).i+2),new LC(n.j,n.k)),QT(new xq(null,(!n.a&&(n.a=new OL($Ot,n,5)),new l1(n.a,16))),new Pg(c)),UB(c,new LC(n.b,n.c)),t=1;t<c.c.length-1;)h1(t-1,c.c.length),e=KB(c.c[t-1],8),h1(t,c.c.length),i=KB(c.c[t],8),h1(t+1,c.c.length),r=KB(c.c[t+1],8),e.a==i.a&&i.a==r.a||e.b==i.b&&i.b==r.b?u6(c,t):++t;return c}function nFn(n,t){var e,i,r,c,a,u,o;for(e=CN(tM(ZT(nM(new Uv,t),new wJ(t.e)),wst),n.a),0==t.j.c.length||X9(KB(Lq(t.j,0),57).a,e),o=new Np,XW(n.e,e,o),a=new xv,u=new xv,c=new Ub(t.k);c.a<c.c.c.length;)jU(a,(r=KB(Y1(c),17)).c),jU(u,r.d);(i=a.a.gc()-u.a.gc())<0?(Gun(o,!0,(_fn(),RPt)),Gun(o,!1,_Pt)):i>0&&(Gun(o,!1,(_fn(),RPt)),Gun(o,!0,_Pt)),Ctn(t.g,new uP(n,e)),XW(n.g,t,e)}function tFn(){var n;for(tFn=O,Att=Mun(Hk(CNt,1),oQn,25,15,[-1,-1,30,19,15,13,11,11,10,9,9,8,8,8,8,7,7,7,7,7,7,7,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5]),$tt=L8(CNt,oQn,25,37,15,1),Ltt=Mun(Hk(CNt,1),oQn,25,15,[-1,-1,63,40,32,28,25,23,21,20,19,19,18,18,17,17,16,16,16,15,15,15,15,14,14,14,14,14,14,13,13,13,13,13,13,13,13]),Ntt=L8(ONt,_Qn,25,37,14,1),n=2;n<=36;n++)$tt[n]=SY(i.Math.pow(n,Att[n])),Ntt[n]=Cjn(fVn,$tt[n])}function eFn(n){var t;if(1!=(!n.a&&(n.a=new nU(ROt,n,6,6)),n.a).i)throw Fp(new Ry(K5n+(!n.a&&(n.a=new nU(ROt,n,6,6)),n.a).i));return t=new mm,fun(KB(Utn((!n.b&&(n.b=new o_(xOt,n,4,7)),n.b),0),82))&&_rn(t,qXn(n,fun(KB(Utn((!n.b&&(n.b=new o_(xOt,n,4,7)),n.b),0),82)),!1)),fun(KB(Utn((!n.c&&(n.c=new o_(xOt,n,5,8)),n.c),0),82))&&_rn(t,qXn(n,fun(KB(Utn((!n.c&&(n.c=new o_(xOt,n,5,8)),n.c),0),82)),!0)),t}function iFn(n,t){var e,i,r;for(r=!1,i=new az(JL((t.d?n.a.c==(wY(),Zmt)?sbn(t.b):hbn(t.b):n.a.c==(wY(),Ymt)?sbn(t.b):hbn(t.b)).a.Kc(),new h));bAn(i);)if(e=KB(G5(i),17),(By(n.a.f[n.a.g[t.b.p].p])||f5(e)||e.c.i.c!=e.d.i.c)&&!By(n.a.n[n.a.g[t.b.p].p])&&!By(n.a.n[n.a.g[t.b.p].p])&&(r=!0,_T(n.b,n.a.g[Amn(e,t.b).p])))return t.c=!0,t.a=e,t;return t.c=r,t.a=null,t}function rFn(n,t,e,i,r){var c,a,u,o,s,h,f;for(TQ(),p$(n,new Xu),u=new E2(n,0),f=new $p,c=0;u.b<u.d.gc();)Mx(u.b<u.d.gc()),a=KB(u.d.Xb(u.c=u.b++),157),0!=f.c.length&&tG(a)*nG(a)>2*c?(h=new Htn(f),s=tG(a)/nG(a),o=vXn(h,t,new fm,e,i,r,s),GR(mO(h.e),o),f.c=L8(Int,FWn,1,0,5,1),c=0,f.c[f.c.length]=h,f.c[f.c.length]=a,c=tG(h)*nG(h)+tG(a)*nG(a)):(f.c[f.c.length]=a,c+=tG(a)*nG(a));return f}function cFn(n,t,e){var i,r,c,a,u,o,s;if(0==(i=e.gc()))return!1;if(n.ej())if(o=n.fj(),mwn(n,t,e),a=1==i?n.Zi(3,null,e.Kc().Pb(),t,o):n.Zi(5,null,e,t,o),n.bj()){for(u=i<100?null:new _j(i),c=t+i,r=t;r<c;++r)s=n.Oi(r),u=n.cj(s,u);u?(u.Ei(a),u.Fi()):n.$i(a)}else n.$i(a);else if(mwn(n,t,e),n.bj()){for(u=i<100?null:new _j(i),c=t+i,r=t;r<c;++r)u=n.cj(n.Oi(r),u);u&&u.Fi()}return!0}function aFn(n,t,e){var i,r,c,a;return n.ej()?(r=null,c=n.fj(),i=n.Zi(1,a=n.Ui(t,n.oi(t,e)),e,t,c),n.bj()&&!(n.ni()&&a?$fn(a,e):HI(a)===HI(e))?(a&&(r=n.dj(a,r)),(r=n.cj(e,r))?(r.Ei(i),r.Fi()):n.$i(i)):r?(r.Ei(i),r.Fi()):n.$i(i),a):(a=n.Ui(t,n.oi(t,e)),n.bj()&&!(n.ni()&&a?$fn(a,e):HI(a)===HI(e))&&(r=null,a&&(r=n.dj(a,null)),(r=n.cj(e,r))&&r.Fi()),a)}function uFn(n,t){var e,r,c,a,u,o,s,h;if(n.e=t,n.f=KB(pMn(t,(Ern(),oat)),230),zTn(t),n.d=i.Math.max(16*t.e.c.length+t.c.c.length,256),!By(jD(pMn(t,(sRn(),Fct)))))for(h=n.e.e.c.length,o=new Ub(t.e);o.a<o.c.c.length;)(s=KB(Y1(o),144).d).a=CG(n.f)*h,s.b=CG(n.f)*h;for(e=t.b,a=new Ub(t.c);a.a<a.c.c.length;)if(c=KB(Y1(a),282),(r=KB(pMn(c,nat),19).a)>0){for(u=0;u<r;u++)UB(e,new oX(c));KCn(c)}}function oFn(n,t){var e,r,c,a,u;if(n.k==(cSn(),Tut)&&(e=yE(IV(KB(pMn(n,(oWn(),Mlt)),15).Oc(),new rw(new ri))).sd((bM(),Zet))?t:(zyn(),jCt),oon(n,clt,e),e!=(zyn(),kCt)))for(r=KB(pMn(n,blt),17),u=Hy(ED(pMn(r,(FXn(),rgt)))),a=0,e==yCt?a=n.o.b-i.Math.ceil(u/2):e==jCt&&(n.o.b-=Hy(ED(pMn(gW(n),ypt))),a=(n.o.b-i.Math.ceil(u))/2),c=new Ub(n.j);c.a<c.c.c.length;)KB(Y1(c),11).n.b=a}function sFn(){sFn=O,QM(),kNt=new Rh,Mun(Hk(C$t,2),uVn,368,0,[Mun(Hk(C$t,1),ynt,592,0,[new GE(q7n)])]),Mun(Hk(C$t,2),uVn,368,0,[Mun(Hk(C$t,1),ynt,592,0,[new GE(G7n)])]),Mun(Hk(C$t,2),uVn,368,0,[Mun(Hk(C$t,1),ynt,592,0,[new GE(z7n)]),Mun(Hk(C$t,1),ynt,592,0,[new GE(G7n)])]),new OA("-1"),Mun(Hk(C$t,2),uVn,368,0,[Mun(Hk(C$t,1),ynt,592,0,[new GE("\\c+")])]),new OA("0"),new OA("0"),new OA("1"),new OA("0"),new OA(tnt)}function hFn(n){var t,e;return n.c&&n.c.kh()&&(e=KB(n.c,49),n.c=KB(Zhn(n,e),138),n.c!=e&&(4&n.Db&&!(1&n.Db)&&fan(n,new Yz(n,9,2,e,n.c)),iL(n.Cb,399)?n.Db>>16==-15&&n.Cb.nh()&&O7(new m9(n.Cb,9,13,e,n.c,cvn(F7(KB(n.Cb,59)),n))):iL(n.Cb,88)&&n.Db>>16==-23&&n.Cb.nh()&&(iL(t=n.c,88)||(wWn(),t=l$t),iL(e,88)||(wWn(),e=l$t),O7(new m9(n.Cb,9,10,e,t,cvn(r4(KB(n.Cb,26)),n)))))),n.c}function fFn(n,t){var e,i,r,c,a,u,o,s;for(CTn(t,"Hypernodes processing",1),i=new Ub(n.b);i.a<i.c.c.length;)for(a=new Ub(KB(Y1(i),29).a);a.a<a.c.c.length;)if(By(jD(pMn(c=KB(Y1(a),10),(FXn(),fgt))))&&c.j.c.length<=2){for(s=0,o=0,e=0,r=0,u=new Ub(c.j);u.a<u.c.c.length;)switch(KB(Y1(u),11).j.g){case 1:++s;break;case 2:++o;break;case 3:++e;break;case 4:++r}0==s&&0==e&&yXn(n,c,r<=o)}FSn(t)}function lFn(n,t){var e,i,r,c,a,u,o,s,h;for(CTn(t,"Layer constraint edge reversal",1),a=new Ub(n.b);a.a<a.c.c.length;){for(c=KB(Y1(a),29),h=-1,e=new $p,s=Y0(c.a),r=0;r<s.length;r++)i=KB(pMn(s[r],(oWn(),tlt)),303),-1==h?i!=(q7(),Sft)&&(h=r):i==(q7(),Sft)&&(MZ(s[r],null),Wyn(s[r],h++,c)),i==(q7(),Tft)&&UB(e,s[r]);for(o=new Ub(e);o.a<o.c.c.length;)MZ(u=KB(Y1(o),10),null),MZ(u,c)}FSn(t)}function bFn(n,t,e){var i,r,c,a,u,o,s,h;for(CTn(e,"Hyperedge merging",1),LAn(n,t),u=new E2(t.b,0);u.b<u.d.gc();)if(Mx(u.b<u.d.gc()),0!=(s=KB(u.d.Xb(u.c=u.b++),29).a).c.length)for(i=null,r=null,c=null,a=null,o=0;o<s.c.length;o++)h1(o,s.c.length),(r=(i=KB(s.c[o],10)).k)==(cSn(),Mut)&&a==Mut&&(h=oHn(i,c)).a&&(eDn(i,c,h.b,h.c),h1(o,s.c.length),ME(s.c,o,1),--o,i=c,r=a),c=i,a=r;FSn(e)}function wFn(n,t){var e,i,r;i=0!=F$n(n.d,1),!By(jD(pMn(t.j,(oWn(),Qft))))&&!By(jD(pMn(t.j,Plt)))||HI(pMn(t.j,(FXn(),Adt)))===HI((pon(),$vt))?t.c.Tf(t.e,i):i=By(jD(pMn(t.j,Qft))),NNn(n,t,i,!0),By(jD(pMn(t.j,Plt)))&&oon(t.j,Plt,(oN(),!1)),By(jD(pMn(t.j,Qft)))&&(oon(t.j,Qft,(oN(),!1)),oon(t.j,Plt,!0)),e=n_n(n,t);do{if(Orn(n),0==e)return 0;r=e,NNn(n,t,i=!i,!1),e=n_n(n,t)}while(r>e);return r}function dFn(n,t){var e,i,r;i=0!=F$n(n.d,1),!By(jD(pMn(t.j,(oWn(),Qft))))&&!By(jD(pMn(t.j,Plt)))||HI(pMn(t.j,(FXn(),Adt)))===HI((pon(),$vt))?t.c.Tf(t.e,i):i=By(jD(pMn(t.j,Qft))),NNn(n,t,i,!0),By(jD(pMn(t.j,Plt)))&&oon(t.j,Plt,(oN(),!1)),By(jD(pMn(t.j,Qft)))&&(oon(t.j,Qft,(oN(),!1)),oon(t.j,Plt,!0)),e=YPn(n,t);do{if(Orn(n),0==e)return 0;r=e,NNn(n,t,i=!i,!1),e=YPn(n,t)}while(r>e);return r}function gFn(n,t,e){var i,r,c,a,u,o,s;if(t==e)return!0;if(t=fAn(n,t),e=fAn(n,e),i=Bvn(t)){if((o=Bvn(e))!=i)return!!o&&(a=i.Dj())==o.Dj()&&null!=a;if(!t.d&&(t.d=new OL(UAt,t,1)),r=(c=t.d).i,!e.d&&(e.d=new OL(UAt,e,1)),r==(s=e.d).i)for(u=0;u<r;++u)if(!gFn(n,KB(Utn(c,u),87),KB(Utn(s,u),87)))return!1;return!0}return t.e==e.e}function pFn(n,t,e,i){var r,c,a,u,o,s,h,f;if(Oxn(n.e,t)){for(f=rxn(n.e.Tg(),t),c=KB(n.g,119),h=null,o=-1,u=-1,r=0,s=0;s<n.i;++s)a=c[s],f.rl(a.ak())&&(r==e&&(o=s),r==i&&(u=s,h=a.dd()),++r);if(-1==o)throw Fp(new Iy(c8n+e+a8n+r));if(-1==u)throw Fp(new Iy(u8n+i+a8n+r));return Pln(n,o,u),pA(n.e)&&Av(n,AJ(n,7,t,tln(i),h,e,!0)),h}throw Fp(new Ry("The feature must be many-valued to support move"))}function vFn(n,t,e,i){var r,c,a,u,o;switch((o=new lA(t.n)).a+=t.o.a/2,o.b+=t.o.b/2,u=Hy(ED(pMn(t,(FXn(),Zgt)))),c=n.f,a=n.d,r=n.c,KB(pMn(t,(oWn(),Wft)),61).g){case 1:o.a+=a.b+r.a-e/2,o.b=-i-u,t.n.b=-(a.d+u+r.b);break;case 2:o.a=c.a+a.b+a.c+u,o.b+=a.d+r.b-i/2,t.n.a=c.a+a.c+u-r.a;break;case 3:o.a+=a.b+r.a-e/2,o.b=c.b+a.d+a.a+u,t.n.b=c.b+a.a+u-r.b;break;case 4:o.a=-e-u,o.b+=a.d+r.b-i/2,t.n.a=-(a.b+u+r.a)}return o}function mFn(n){var t,e,i,r,c,a;return Ban(i=new pin,n),HI(pMn(i,(FXn(),Gdt)))===HI((_fn(),KPt))&&oon(i,Gdt,Uln(i)),null==pMn(i,(S6(),jMt))&&(a=KB(OMn(n),160),oon(i,jMt,tO(a.We(jMt)))),oon(i,(oWn(),blt),n),oon(i,Jft,new V_(t=KB(Xj(jft),9),KB(TR(t,t.length),9),0)),r=Mzn((QY(n)&&(HM(),new Ny(QY(n))),HM(),new QN(QY(n)?new Ny(QY(n)):null,n)),_Pt),c=KB(pMn(i,qgt),116),nZ(e=i.d,c),nZ(e,r),i}function yFn(n,t,e){var i,r;i=t.c.i,r=e.d.i,i.k==(cSn(),Mut)?(oon(n,(oWn(),olt),KB(pMn(i,olt),11)),oon(n,slt,KB(pMn(i,slt),11)),oon(n,ult,jD(pMn(i,ult)))):i.k==Tut?(oon(n,(oWn(),olt),KB(pMn(i,olt),11)),oon(n,slt,KB(pMn(i,slt),11)),oon(n,ult,(oN(),!0))):r.k==Tut?(oon(n,(oWn(),olt),KB(pMn(r,olt),11)),oon(n,slt,KB(pMn(r,slt),11)),oon(n,ult,(oN(),!0))):(oon(n,(oWn(),olt),t.c),oon(n,slt,e.d))}function kFn(n){var t,e,i,r,c,a,u;for(n.o=new Ap,i=new VT,a=new Ub(n.e.a);a.a<a.c.c.length;)1==mbn(c=KB(Y1(a),121)).c.length&&e5(i,c,i.c.b,i.c);for(;0!=i.b;)0!=mbn(c=KB(0==i.b?null:(Mx(0!=i.b),Itn(i,i.a.a)),121)).c.length&&(t=KB(Lq(mbn(c),0),213),e=c.g.a.c.length>0,u=$bn(t,c),DN(e?u.b:u.g,t),1==mbn(u).c.length&&e5(i,u,i.c.b,i.c),r=new eI(c,t),b3(n.o,r),v7(n.e.a,c))}function jFn(n,t){var e,r,c,a;return r=i.Math.abs(Bz(n.b).a-Bz(t.b).a),a=i.Math.abs(Bz(n.b).b-Bz(t.b).b),e=1,c=1,r>n.b.b/2+t.b.b/2&&(e=1-i.Math.min(i.Math.abs(n.b.c-(t.b.c+t.b.b)),i.Math.abs(n.b.c+n.b.b-t.b.c))/r),a>n.b.a/2+t.b.a/2&&(c=1-i.Math.min(i.Math.abs(n.b.d-(t.b.d+t.b.a)),i.Math.abs(n.b.d+n.b.a-t.b.d))/a),(1-i.Math.min(e,c))*i.Math.sqrt(r*r+a*a)}function EFn(n){var t,e,i;for(Yzn(n,n.e,n.f,(bY(),Ayt),!0,n.c,n.i),Yzn(n,n.e,n.f,Ayt,!1,n.c,n.i),Yzn(n,n.e,n.f,$yt,!0,n.c,n.i),Yzn(n,n.e,n.f,$yt,!1,n.c,n.i),PFn(n,n.c,n.e,n.f,n.i),e=new E2(n.i,0);e.b<e.d.gc();)for(Mx(e.b<e.d.gc()),t=KB(e.d.Xb(e.c=e.b++),128),i=new E2(n.i,e.b);i.b<i.d.gc();)Mx(i.b<i.d.gc()),$qn(t,KB(i.d.Xb(i.c=i.b++),128));PXn(n.i,KB(pMn(n.d,(oWn(),Tlt)),230)),HGn(n.i)}function TFn(n,t){var e,i;if(null!=t)if(i=tyn(n)){if(!(1&i.i))return YM(),!(e=KB(xX(gAt,i),55))||e.wj(t);if(i==INt)return qI(t);if(i==CNt)return iL(t,19);if(i==LNt)return iL(t,155);if(i==ANt)return iL(t,217);if(i==PNt)return iL(t,172);if(i==$Nt)return GI(t);if(i==NNt)return iL(t,184);if(i==ONt)return iL(t,162)}else if(iL(t,56))return n.uk(KB(t,56));return!1}function MFn(){var n,t,e,i,r,c,a,u,o;for(MFn=O,zLt=L8(ANt,g6n,25,255,15,1),ULt=L8(PNt,UVn,25,64,15,1),t=0;t<255;t++)zLt[t]=-1;for(e=90;e>=65;e--)zLt[e]=e-65<<24>>24;for(i=122;i>=97;i--)zLt[i]=i-97+26<<24>>24;for(r=57;r>=48;r--)zLt[r]=r-48+52<<24>>24;for(zLt[43]=62,zLt[47]=63,c=0;c<=25;c++)ULt[c]=65+c&WVn;for(a=26,o=0;a<=51;++a,o++)ULt[a]=97+o&WVn;for(n=52,u=0;n<=61;++n,u++)ULt[n]=48+u&WVn;ULt[62]=43,ULt[63]=47}function SFn(n,t){var e,r,c,a,u,o,s,h,f,l,b;if(n.dc())return new Hj;for(s=0,f=0,r=n.Kc();r.Ob();)c=KB(r.Pb(),37).f,s=i.Math.max(s,c.a),f+=c.a*c.b;for(s=i.Math.max(s,i.Math.sqrt(f)*Hy(ED(pMn(KB(n.Kc().Pb(),37),(FXn(),kdt))))),l=0,b=0,o=0,e=t,u=n.Kc();u.Ob();)l+(h=(a=KB(u.Pb(),37)).f).a>s&&(l=0,b+=o+t,o=0),JRn(a,l,b),e=i.Math.max(e,l+h.a),o=i.Math.max(o,h.b),l+=h.a+t;return new LC(e+t,b+o+t)}function PFn(n,t,e,i,r){var c,a,u,o,s,h,f;for(a=new Ub(t);a.a<a.c.c.length;){if(o=(c=KB(Y1(a),17)).c,e.a._b(o))bY(),s=Ayt;else{if(!i.a._b(o))throw Fp(new Ry("Source port must be in one of the port sets."));bY(),s=$yt}if(h=c.d,e.a._b(h))bY(),f=Ayt;else{if(!i.a._b(h))throw Fp(new Ry("Target port must be in one of the port sets."));bY(),f=$yt}u=new ZPn(c,s,f),XW(n.b,c,u),r.c[r.c.length]=u}}function CFn(n,t){var e,i,r,c,a,u,o;if(!UY(n))throw Fp(new _y(_5n));if(c=(i=UY(n)).g,r=i.f,c<=0&&r<=0)return mUn(),MIt;switch(u=n.i,o=n.j,t.g){case 2:case 1:if(u<0)return mUn(),SIt;if(u+n.g>c)return mUn(),aIt;break;case 4:case 3:if(o<0)return mUn(),uIt;if(o+n.f>r)return mUn(),TIt}return(a=(u+n.g/2)/c)+(e=(o+n.f/2)/r)<=1&&a-e<=0?(mUn(),SIt):a+e>=1&&a-e>=0?(mUn(),aIt):e<.5?(mUn(),uIt):(mUn(),TIt)}function IFn(n,t,e,i,r){var c,a;if(c=ebn(n0(t[0],GQn),n0(i[0],GQn)),n[0]=bG(c),c=mz(c,32),e>=r){for(a=1;a<r;a++)c=ebn(c,ebn(n0(t[a],GQn),n0(i[a],GQn))),n[a]=bG(c),c=mz(c,32);for(;a<e;a++)c=ebn(c,n0(t[a],GQn)),n[a]=bG(c),c=mz(c,32)}else{for(a=1;a<e;a++)c=ebn(c,ebn(n0(t[a],GQn),n0(i[a],GQn))),n[a]=bG(c),c=mz(c,32);for(;a<r;a++)c=ebn(c,n0(i[a],GQn)),n[a]=bG(c),c=mz(c,32)}0!=Xhn(c,0)&&(n[a]=bG(c))}function OFn(n){var t,e,i,r,c,a;if(lWn(),4!=n.e&&5!=n.e)throw Fp(new Ry("Token#complementRanges(): must be RANGE: "+n.e));for(j$n(c=n),BHn(c),i=c.b.length+2,0==c.b[0]&&(i-=2),(e=c.b[c.b.length-1])==cnt&&(i-=2),(r=new E0(4)).b=L8(CNt,oQn,25,i,15,1),a=0,c.b[0]>0&&(r.b[a++]=0,r.b[a++]=c.b[0]-1),t=1;t<c.b.length-2;t+=2)r.b[a++]=c.b[t]+1,r.b[a++]=c.b[t+1]-1;return e!=cnt&&(r.b[a++]=e+1,r.b[a]=cnt),r.a=!0,r}function AFn(n,t,e){var i,r,c,a,u,o,s,h;if(0==(i=e.gc()))return!1;if(n.ej())if(s=n.fj(),KTn(n,t,e),a=1==i?n.Zi(3,null,e.Kc().Pb(),t,s):n.Zi(5,null,e,t,s),n.bj()){for(u=i<100?null:new _j(i),c=t+i,r=t;r<c;++r)h=n.g[r],u=n.cj(h,u),u=n.jj(h,u);u?(u.Ei(a),u.Fi()):n.$i(a)}else n.$i(a);else if(KTn(n,t,e),n.bj()){for(u=i<100?null:new _j(i),c=t+i,r=t;r<c;++r)o=n.g[r],u=n.cj(o,u);u&&u.Fi()}return!0}function $Fn(n,t,e,i){var r,c,a,u,o;for(a=new Ub(n.k);a.a<a.c.c.length;)r=KB(Y1(a),129),i&&r.c!=(C6(),jyt)||(o=r.b).g<0&&r.d>0&&(Xl(o,o.d-r.d),r.c==(C6(),jyt)&&zl(o,o.a-r.d),o.d<=0&&o.i>0&&e5(t,o,t.c.b,t.c));for(c=new Ub(n.f);c.a<c.c.c.length;)r=KB(Y1(c),129),i&&r.c!=(C6(),jyt)||(u=r.a).g<0&&r.d>0&&(Wl(u,u.i-r.d),r.c==(C6(),jyt)&&Ul(u,u.b-r.d),u.i<=0&&u.d>0&&e5(e,u,e.c.b,e.c))}function LFn(n,t,e){var i,r,c,a,u,o,s,h;for(CTn(e,"Processor compute fanout",1),OU(n.b),OU(n.a),u=null,c=upn(t.b,0);!u&&c.b!=c.d.c;)By(jD(pMn(s=KB(f3(c),86),(Bqn(),bkt))))&&(u=s);for(e5(o=new VT,u,o.c.b,o.c),yUn(n,o),h=upn(t.b,0);h.b!=h.d.c;)a=TD(pMn(s=KB(f3(h),86),(Bqn(),ekt))),r=null!=TY(n.b,a)?KB(TY(n.b,a),19).a:0,oon(s,tkt,tln(r)),i=1+(null!=TY(n.a,a)?KB(TY(n.a,a),19).a:0),oon(s,Zyt,tln(i));FSn(e)}function NFn(n,t,e,i,r){var c,a,u,o,s,h,f,l,b;for(f=vEn(n,e),u=0;u<t;u++){for(vR(r,e),l=new $p,Mx(i.b<i.d.gc()),b=KB(i.d.Xb(i.c=i.b++),407),s=f+u;s<n.b;s++)a=b,Mx(i.b<i.d.gc()),UB(l,new kxn(a,b=KB(i.d.Xb(i.c=i.b++),407),e));for(h=f+u;h<n.b;h++)Mx(i.b>0),i.a.Xb(i.c=--i.b),h>f+u&&sW(i);for(c=new Ub(l);c.a<c.c.c.length;)vR(i,KB(Y1(c),407));if(u<t-1)for(o=f+u;o<n.b;o++)Mx(i.b>0),i.a.Xb(i.c=--i.b)}}function xFn(){var n,t,e,i,r,c;if(lWn(),MNt)return MNt;for(uHn(n=new E0(4),JUn(dnt,!0)),UGn(n,JUn("M",!0)),UGn(n,JUn("C",!0)),c=new E0(4),i=0;i<11;i++)Vxn(c,i,i);return uHn(t=new E0(4),JUn("M",!0)),Vxn(t,4448,4607),Vxn(t,65438,65439),ZHn(r=new e$(2),n),ZHn(r,aNt),(e=new e$(2)).$l(wG(c,JUn("L",!0))),e.$l(t),e=new GU(r,e=new o4(3,e)),MNt=e}function DFn(n){var t,e;if(!Vcn(t=TD(JAn(n,(uWn(),nSt))),n)&&!M8(n,pPt)&&(0!=(!n.a&&(n.a=new nU(qOt,n,10,11)),n.a).i||By(jD(JAn(n,TSt))))){if(null!=t&&0!=xMn(t).length)throw wzn(n,e=aO(aO(new hN("Layout algorithm '"),t),"' not found for ")),Fp(new ek(e.a));if(!Vcn(l1n,n))throw wzn(n,e=aO(aO(new hN("Unable to load default layout algorithm "),l1n)," for unconfigured node ")),Fp(new ek(e.a))}}function RFn(n){var t,e,r,c,a,u,o,s,h,f,l,b,w;if(e=n.i,t=n.n,0==n.b)for(w=e.c+t.b,b=e.b-t.b-t.c,s=0,f=(u=n.a).length;s<f;++s)GG(c=u[s],w,b);else r=Uvn(n,!1),GG(n.a[0],e.c+t.b,r[0]),GG(n.a[2],e.c+e.b-t.c-r[2],r[2]),l=e.b-t.b-t.c,r[0]>0&&(l-=r[0]+n.c,r[0]+=n.c),r[2]>0&&(l-=r[2]+n.c),r[1]=i.Math.max(r[1],l),GG(n.a[1],e.c+t.b+r[0]-(r[1]-l)/2,r[1]);for(o=0,h=(a=n.a).length;o<h;++o)iL(c=a[o],326)&&KB(c,326).Te()}function _Fn(n){var t,e,i,r,c,a,u,o,s,h,f;for((f=new aa).d=0,a=new Ub(n.b);a.a<a.c.c.length;)c=KB(Y1(a),29),f.d+=c.a.c.length;for(i=0,r=0,f.a=L8(CNt,oQn,25,n.b.c.length,15,1),s=0,h=0,f.e=L8(CNt,oQn,25,f.d,15,1),e=new Ub(n.b);e.a<e.c.c.length;)for((t=KB(Y1(e),29)).p=i++,f.a[t.p]=r++,h=0,o=new Ub(t.a);o.a<o.c.c.length;)(u=KB(Y1(o),10)).p=s++,f.e[u.p]=h++;return f.c=new sg(f),f.b=ux(f.d),FKn(f,n),f.f=ux(f.d),BKn(f,n),f}function KFn(n,t){var e,r,c;for(c=KB(Lq(n.n,n.n.c.length-1),211).d,n.p=i.Math.min(n.p,t.g),n.r=i.Math.max(n.r,c),n.g=i.Math.max(n.g,t.g+(1==n.b.c.length?0:n.i)),n.o=i.Math.min(n.o,t.f),n.e+=t.f+(1==n.b.c.length?0:n.i),n.f=i.Math.max(n.f,t.f),r=n.n.c.length>0?(n.n.c.length-1)*n.i:0,e=new Ub(n.n);e.a<e.c.c.length;)r+=KB(Y1(e),211).a;n.d=r,n.a=n.e/n.b.c.length-n.i*((n.b.c.length-1)/n.b.c.length),vyn(n.j)}function FFn(n,t){var e,i,r,c,a,u,o,s,h;if(null==(s=jD(pMn(t,(sRn(),tat))))||(mW(s),s)){for(h=L8(INt,JJn,25,t.e.c.length,16,1),a=mOn(t),r=new VT,o=new Ub(t.e);o.a<o.c.c.length;)(e=V$n(n,KB(Y1(o),144),null,null,h,a))&&(Ban(e,t),e5(r,e,r.c.b,r.c));if(r.b>1)for(i=upn(r,0);i.b!=i.d.c;)for(c=0,u=new Ub((e=KB(f3(i),231)).e);u.a<u.c.c.length;)KB(Y1(u),144).b=c++;return r}return c6(Mun(Hk(Dct,1),ZYn,231,0,[t]))}function BFn(n){var t,e,i,r,c;if(!n.g){if(c=new To,null==(t=T$t).a.zc(n,t)){for(e=new IL(mJ(n));e.e!=e.i.gc();)dX(c,BFn(KB(mpn(e),26)));t.a.Bc(n),t.a.gc()}for(i=c.i,!n.s&&(n.s=new nU(RAt,n,21,17)),r=new IL(n.s);r.e!=r.i.gc();++i)cb(KB(mpn(r),449),i);dX(c,(!n.s&&(n.s=new nU(RAt,n,21,17)),n.s)),ihn(c),n.g=new bon(n,c),n.i=KB(c.g,247),null==n.i&&(n.i=S$t),n.p=null,M5(n).b&=-5}return n.g}function HFn(n){var t,e,r,c,a,u,o,s,h,f,l,b,w;if(r=n.i,e=n.n,0==n.b)t=zvn(n,!1),zG(n.a[0],r.d+e.d,t[0]),zG(n.a[2],r.d+r.a-e.a-t[2],t[2]),l=r.a-e.d-e.a,t[0]>0&&(t[0]+=n.c,l-=t[0]),t[2]>0&&(l-=t[2]+n.c),t[1]=i.Math.max(t[1],l),zG(n.a[1],r.d+e.d+t[0]-(t[1]-l)/2,t[1]);else for(w=r.d+e.d,b=r.a-e.d-e.a,s=0,f=(u=n.a).length;s<f;++s)zG(c=u[s],w,b);for(o=0,h=(a=n.a).length;o<h;++o)iL(c=a[o],326)&&KB(c,326).Ue()}function qFn(n){var t,e,i,r,c,a,u,o,s;for(s=L8(CNt,oQn,25,n.b.c.length+1,15,1),o=new xv,i=0,c=new Ub(n.b);c.a<c.c.c.length;){for(r=KB(Y1(c),29),s[i++]=o.a.gc(),u=new Ub(r.a);u.a<u.c.c.length;)for(e=new az(JL(hbn(KB(Y1(u),10)).a.Kc(),new h));bAn(e);)t=KB(G5(e),17),o.a.zc(t,o);for(a=new Ub(r.a);a.a<a.c.c.length;)for(e=new az(JL(sbn(KB(Y1(a),10)).a.Kc(),new h));bAn(e);)t=KB(G5(e),17),o.a.Bc(t)}return s}function GFn(n,t,e,i){var r,c,a,u,o;if(o=rxn(n.e.Tg(),t),r=KB(n.g,119),JM(),KB(t,66).Oj()){for(a=0;a<n.i;++a)if(c=r[a],o.rl(c.ak())&&$fn(c,e))return!0}else if(null!=e){for(u=0;u<n.i;++u)if(c=r[u],o.rl(c.ak())&&$fn(e,c.dd()))return!0;if(i)for(a=0;a<n.i;++a)if(c=r[a],o.rl(c.ak())&&HI(e)===HI(oD(n,KB(c.dd(),56))))return!0}else for(a=0;a<n.i;++a)if(c=r[a],o.rl(c.ak())&&null==c.dd())return!1;return!1}function zFn(n,t,e,i){var r,c,a,u,o,s;if(s=rxn(n.e.Tg(),t),a=KB(n.g,119),Oxn(n.e,t)){if(t.hi()&&(c=dBn(n,t,i,iL(t,99)&&!!(KB(t,18).Bb&KQn)))>=0&&c!=e)throw Fp(new Ry(r8n));for(r=0,o=0;o<n.i;++o)if(u=a[o],s.rl(u.ak())){if(r==e)return KB(avn(n,o,(JM(),KB(t,66).Oj()?KB(i,72):J3(t,i))),72);++r}throw Fp(new Iy(n9n+e+a8n+r))}for(o=0;o<n.i;++o)if(u=a[o],s.rl(u.ak()))return JM(),KB(t,66).Oj()?u:u.dd();return null}function UFn(n,t,e,r){var c,a,u,o;for(o=e,u=new Ub(t.a);u.a<u.c.c.length;){if(a=KB(Y1(u),221),c=KB(a.b,65),Pbn(n.b.c,c.b.c+c.b.b)<=0&&Pbn(c.b.c,n.b.c+n.b.b)<=0&&Pbn(n.b.d,c.b.d+c.b.a)<=0&&Pbn(c.b.d,n.b.d+n.b.a)<=0){if(0==Pbn(c.b.c,n.b.c+n.b.b)&&r.a<0||0==Pbn(c.b.c+c.b.b,n.b.c)&&r.a>0||0==Pbn(c.b.d,n.b.d+n.b.a)&&r.b<0||0==Pbn(c.b.d+c.b.a,n.b.d)&&r.b>0){o=0;break}}else o=i.Math.min(o,FCn(n,c,r));o=i.Math.min(o,UFn(n,a,o,r))}return o}function XFn(n,t){var e,i,r,c,a,u;if(n.b<2)throw Fp(new Ry("The vector chain must contain at least a source and a target point."));for(Mx(0!=n.b),SA(t,(i=KB(n.a.a.c,8)).a,i.b),u=new ix((!t.a&&(t.a=new OL($Ot,t,5)),t.a)),c=upn(n,1);c.a<n.b-1;)a=KB(f3(c),8),u.e!=u.i.gc()?e=KB(mpn(u),469):(Zj(),adn(u,e=new ro)),jA(e,a.a,a.b);for(;u.e!=u.i.gc();)mpn(u),Wjn(u);Mx(0!=n.b),MA(t,(r=KB(n.c.b.c,8)).a,r.b)}function WFn(n,t){var e,i,r,c,a,u,o,s;for(e=0,i=new Ub((h1(0,n.c.length),KB(n.c[0],101)).g.b.j);i.a<i.c.c.length;)KB(Y1(i),11).p=e++;for(t==(mUn(),uIt)?p$(n,new nc):p$(n,new tc),a=0,s=n.c.length-1;a<s;)h1(a,n.c.length),c=KB(n.c[a],101),h1(s,n.c.length),o=KB(n.c[s],101),r=t==uIt?c.c:c.a,u=t==uIt?o.a:o.c,fU(c,t,(Cun(),vst),r),fU(o,t,pst,u),++a,--s;a==s&&fU((h1(a,n.c.length),KB(n.c[a],101)),t,(Cun(),gst),null)}function VFn(n,t,e){var i,r,c,a,u,o,s,h,f,l;return h=n.a.i+n.a.g/2,f=n.a.i+n.a.g/2,a=new LC(t.i+t.g/2,t.j+t.f/2),(o=KB(JAn(t,(uWn(),wPt)),8)).a=o.a+h,o.b=o.b+f,r=(a.b-o.b)/(a.a-o.a),i=a.b-r*a.a,u=new LC(e.i+e.g/2,e.j+e.f/2),(s=KB(JAn(e,wPt),8)).a=s.a+h,s.b=s.b+f,c=(u.b-s.b)/(u.a-s.a),l=(i-(u.b-c*u.a))/(c-r),!(o.a<l&&a.a<l||l<o.a&&l<a.a||s.a<l&&u.a<l||l<s.a&&l<u.a)}function QFn(n,t){var e,i,r,c,a,u;if(!(a=KB(xX(n.c,t),183)))throw Fp(new nk("Edge did not exist in input."));return i=Wdn(a),!UE((!t.a&&(t.a=new nU(ROt,t,6,6)),t.a))&&(e=new EB(n,i,u=new Sl),lO((!t.a&&(t.a=new nU(ROt,t,6,6)),t.a),e),etn(a,L6n,u)),M8(t,(uWn(),CSt))&&!(!(r=KB(JAn(t,CSt),74))||dW(r))&&(n5(r,new Wg(c=new Sl)),etn(a,"junctionPoints",c)),IH(a,"container",zY(t).k),null}function JFn(n,t,e){var i,r,c,a,u,o;this.a=n,this.b=t,this.c=e,this.e=c6(Mun(Hk(cit,1),FWn,168,0,[new LS(n,t),new LS(t,e),new LS(e,n)])),this.f=c6(Mun(Hk(MMt,1),uVn,8,0,[n,t,e])),this.d=(i=zR(K$(this.b),this.a),r=zR(K$(this.c),this.a),c=zR(K$(this.c),this.b),a=i.a*(this.a.a+this.b.a)+i.b*(this.a.b+this.b.b),u=r.a*(this.a.a+this.c.a)+r.b*(this.a.b+this.c.b),o=2*(i.a*c.b-i.b*c.a),new LC((r.b*a-i.b*u)/o,(i.a*u-r.a*a)/o))}function YFn(n,t,e,i){var r,c,a,u,o,s,h,f,l;if(f=new HX(n.p),etn(t,Z6n,f),e&&!(n.f?eJ(n.f):null).a.dc())for(etn(t,"logs",s=new Sl),u=0,l=new Bb((n.f?eJ(n.f):null).b.Kc());l.b.Ob();)h=new HX(TD(l.b.Pb())),bnn(s,u),e4(s,u,h),++u;if(i&&etn(t,"executionTime",new Tl(n.q)),!eJ(n.a).a.dc())for(a=new Sl,etn(t,I6n,a),u=0,c=new Bb(eJ(n.a).b.Kc());c.b.Ob();)r=KB(c.b.Pb(),1949),o=new dy,bnn(a,u),e4(a,u,o),YFn(r,o,e,i),++u}function ZFn(n,t){var e,i,r,c,a,u;for(c=n.c,a=n.d,TZ(n,null),EZ(n,null),t&&By(jD(pMn(a,(oWn(),Zft))))?TZ(n,xKn(a.i,(rin(),Bvt),(mUn(),aIt))):TZ(n,a),t&&By(jD(pMn(c,(oWn(),mlt))))?EZ(n,xKn(c.i,(rin(),Fvt),(mUn(),SIt))):EZ(n,c),i=new Ub(n.b);i.a<i.c.c.length;)e=KB(Y1(i),70),(r=KB(pMn(e,(FXn(),Vdt)),272))==(xtn(),zPt)?oon(e,Vdt,GPt):r==GPt&&oon(e,Vdt,zPt);u=By(jD(pMn(n,(oWn(),Slt)))),oon(n,Slt,(oN(),!u)),n.a=Qon(n.a)}function nBn(n,t,e){var r,c,a,u,o;for(r=0,a=new IL((!n.a&&(n.a=new nU(qOt,n,10,11)),n.a));a.e!=a.i.gc();)u="",0==(!(c=KB(mpn(a),33)).n&&(c.n=new nU(HOt,c,1,7)),c.n).i||(u=KB(Utn((!c.n&&(c.n=new nU(HOt,c,1,7)),c.n),0),137).a),Ban(o=new BX(u),c),oon(o,(Ern(),uat),c),o.b=r++,o.d.a=c.i+c.g/2,o.d.b=c.j+c.f/2,o.e.a=i.Math.max(c.g,1),o.e.b=i.Math.max(c.f,1),UB(t.e,o),yCn(e.f,c,o),KB(JAn(c,(sRn(),Vct)),98),WEn()}function tBn(n,t){var e,r,c,a,u,o,s,h,f,l,b;e=IN(new Bv,n.f),o=n.i[t.c.i.p],l=n.i[t.d.i.p],u=t.c,f=t.d,a=u.a.b,h=f.a.b,o.b||(a+=u.n.b),l.b||(h+=f.n.b),s=SY(i.Math.max(0,a-h)),c=SY(i.Math.max(0,h-a)),b=i.Math.max(1,KB(pMn(t,(FXn(),fpt)),19).a)*z3(t.c.i.k,t.d.i.k),r=new YP(GNn(rM(iM(eM(cM(new Fv,b),c),e),KB(xX(n.k,t.c),121))),GNn(rM(iM(eM(cM(new Fv,b),s),e),KB(xX(n.k,t.d),121)))),n.c[t.p]=r}function eBn(n,t,e,i){var r,c,a,u,o,s;for(a=new cGn(n,t,e),o=new E2(i,0),r=!1;o.b<o.d.gc();)Mx(o.b<o.d.gc()),(u=KB(o.d.Xb(o.c=o.b++),233))==t||u==e?sW(o):!r&&Hy(hL(u.g,u.d[0]).a)>Hy(hL(a.g,a.d[0]).a)?(Mx(o.b>0),o.a.Xb(o.c=--o.b),vR(o,a),r=!0):u.e&&u.e.gc()>0&&(c=(!u.e&&(u.e=new $p),u.e).Mc(t),s=(!u.e&&(u.e=new $p),u.e).Mc(e),(c||s)&&((!u.e&&(u.e=new $p),u.e).Fc(a),++a.c));r||(i.c[i.c.length]=a)}function iBn(n){var t,e,i;if(gA(KB(pMn(n,(FXn(),npt)),98)))for(e=new Ub(n.j);e.a<e.c.c.length;)(t=KB(Y1(e),11)).j==(mUn(),MIt)&&((i=KB(pMn(t,(oWn(),klt)),10))?BCn(t,KB(pMn(i,Wft),61)):t.e.c.length-t.g.c.length<0?BCn(t,aIt):BCn(t,SIt));else{for(e=new Ub(n.j);e.a<e.c.c.length;)t=KB(Y1(e),11),(i=KB(pMn(t,(oWn(),klt)),10))?BCn(t,KB(pMn(i,Wft),61)):t.e.c.length-t.g.c.length<0?BCn(t,(mUn(),aIt)):BCn(t,(mUn(),SIt));oon(n,npt,(WEn(),XCt))}}function rBn(n){var t,e;switch(n){case 91:case 93:case 45:case 94:case 44:case 92:e="\\"+String.fromCharCode(n&WVn);break;case 12:e="\\f";break;case 10:e="\\n";break;case 13:e="\\r";break;case 9:e="\\t";break;case 27:e="\\e";break;default:e=n<32?"\\x"+sx(t="0"+(n>>>0).toString(16),t.length-2,t.length):n>=KQn?"\\v"+sx(t="0"+(n>>>0).toString(16),t.length-6,t.length):""+String.fromCharCode(n&WVn)}return e}function cBn(n,t){var e,i,r,c,a,u,o,s,h,f;if(a=n.e,0==(o=t.e))return n;if(0==a)return 0==t.e?t:new hU(-t.e,t.d,t.a);if((c=n.d)+(u=t.d)==2)return e=n0(n.a[0],GQn),i=n0(t.a[0],GQn),a<0&&(e=y7(e)),o<0&&(i=y7(i)),Ygn(tbn(e,i));if(-1==(r=c!=u?c>u?1:-1:Esn(n.a,t.a,c)))f=-o,h=a==o?b6(t.a,u,n.a,c):$8(t.a,u,n.a,c);else if(f=a,a==o){if(0==r)return CDn(),net;h=b6(n.a,c,t.a,u)}else h=$8(n.a,c,t.a,u);return z0(s=new hU(f,h.length,h)),s}function aBn(n){var t,e,i,r,c,a;for(this.e=new $p,this.a=new $p,e=n.b-1;e<3;e++)Dx(n,0,KB(Npn(n,0),8));if(n.b<4)throw Fp(new Ry("At (least dimension + 1) control points are necessary!"));for(this.b=3,this.d=!0,this.c=!1,P$n(this,n.b+this.b-1),a=new $p,c=new Ub(this.e),t=0;t<this.b-1;t++)UB(a,ED(Y1(c)));for(r=upn(n,0);r.b!=r.d.c;)i=KB(f3(r),8),UB(a,ED(Y1(c))),UB(this.a,new lY(i,a)),h1(0,a.c.length),a.c.splice(0,1)}function uBn(n,t){var e,i,r,c,a,u,o;for(r=new Ub(n.b);r.a<r.c.c.length;)for(a=new Ub(KB(Y1(r),29).a);a.a<a.c.c.length;)for((c=KB(Y1(a),10)).k==(cSn(),Tut)&&(u=KB(G5(new az(JL(sbn(c).a.Kc(),new h))),17),o=KB(G5(new az(JL(hbn(c).a.Kc(),new h))),17),oFn(c,By(jD(pMn(u,(oWn(),Slt))))&&By(jD(pMn(o,Slt)))?zun(t):t)),i=new az(JL(hbn(c).a.Kc(),new h));bAn(i);)gun(e=KB(G5(i),17),By(jD(pMn(e,(oWn(),Slt))))?zun(t):t)}function oBn(n,t,e,i,r){var c,a;if(e.f>=t.o&&e.f<=t.f||.5*t.a<=e.f&&1.5*t.a>=e.f){if((c=KB(Lq(t.n,t.n.c.length-1),211)).e+c.d+e.g+r<=i&&(KB(Lq(t.n,t.n.c.length-1),211).f-n.f+e.f<=n.b||1==n.a.c.length))return vbn(t,e),!0;if(t.s+e.g<=i&&(t.t+t.d+e.f+r<=n.b||1==n.a.c.length))return UB(t.b,e),a=KB(Lq(t.n,t.n.c.length-1),211),UB(t.n,new xY(t.s,a.f+a.a+t.i,t.i)),umn(KB(Lq(t.n,t.n.c.length-1),211),e),KFn(t,e),!0}return!1}function sBn(n,t,e){var i,r,c,a;return n.ej()?(r=null,c=n.fj(),i=n.Zi(1,a=ann(n,t,e),e,t,c),n.bj()&&!(n.ni()&&null!=a?$fn(a,e):HI(a)===HI(e))?(null!=a&&(r=n.dj(a,r)),r=n.cj(e,r),n.ij()&&(r=n.lj(a,e,r)),r?(r.Ei(i),r.Fi()):n.$i(i)):(n.ij()&&(r=n.lj(a,e,r)),r?(r.Ei(i),r.Fi()):n.$i(i)),a):(a=ann(n,t,e),n.bj()&&!(n.ni()&&null!=a?$fn(a,e):HI(a)===HI(e))&&(r=null,null!=a&&(r=n.dj(a,null)),(r=n.cj(e,r))&&r.Fi()),a)}function hBn(n,t){var e,r,c,a,u,o,s;t%=24,n.q.getHours()!=t&&((e=new i.Date(n.q.getTime())).setDate(e.getDate()+1),(u=n.q.getTimezoneOffset()-e.getTimezoneOffset())>0&&(o=u/60|0,s=u%60,r=n.q.getDate(),n.q.getHours()+o>=24&&++r,c=new i.Date(n.q.getFullYear(),n.q.getMonth(),r,t+o,n.q.getMinutes()+s,n.q.getSeconds(),n.q.getMilliseconds()),n.q.setTime(c.getTime()))),a=n.q.getTime(),n.q.setTime(a+36e5),n.q.getHours()!=t&&n.q.setTime(a)}function fBn(n,t){var e,i,r,c;if(CTn(t,"Path-Like Graph Wrapping",1),0!=n.b.c.length)if(null==(r=new EAn(n)).i&&(r.i=Urn(r,new kc)),e=Hy(r.i)*r.f/(null==r.i&&(r.i=Urn(r,new kc)),Hy(r.i)),r.b>e)FSn(t);else{switch(KB(pMn(n,(FXn(),Kpt)),337).g){case 2:c=new Tc;break;case 0:c=new wc;break;default:c=new Mc}if(i=c.Vf(n,r),!c.Wf())switch(KB(pMn(n,zpt),338).g){case 2:i=zCn(r,i);break;case 1:i=DTn(r,i)}tqn(n,r,i),FSn(t)}else FSn(t)}function lBn(n,t){var e,i,r,c;if(s1(n.d,n.e),n.c.a.$b(),0!=Hy(ED(pMn(t.j,(FXn(),Pdt))))||0!=Hy(ED(pMn(t.j,Pdt))))for(e=JYn,HI(pMn(t.j,Adt))!==HI((pon(),$vt))&&oon(t.j,(oWn(),Qft),(oN(),!0)),c=KB(pMn(t.j,Lpt),19).a,r=0;r<c&&!((i=wFn(n,t))<e&&(e=i,Arn(n),0==e));r++);else for(e=NWn,HI(pMn(t.j,Adt))!==HI((pon(),$vt))&&oon(t.j,(oWn(),Qft),(oN(),!0)),c=KB(pMn(t.j,Lpt),19).a,r=0;r<c&&!((i=dFn(n,t))<e&&(e=i,Arn(n),0==e));r++);}function bBn(n,t){var e,i,r,c,a,u;for(r=new $p,c=0,e=0,a=0;c<t.c.length-1&&e<n.gc();){for(i=KB(n.Xb(e),19).a+a;(h1(c+1,t.c.length),KB(t.c[c+1],19)).a<i;)++c;for(u=0,i-(h1(c,t.c.length),KB(t.c[c],19)).a>(h1(c+1,t.c.length),KB(t.c[c+1],19)).a-i&&++u,UB(r,(h1(c+u,t.c.length),KB(t.c[c+u],19))),a+=(h1(c+u,t.c.length),KB(t.c[c+u],19)).a-i,++e;e<n.gc()&&KB(n.Xb(e),19).a+a<=(h1(c+u,t.c.length),KB(t.c[c+u],19)).a;)++e;c+=1+u}return r}function wBn(n){var t,e,i,r,c;if(!n.d){if(c=new Po,null==(t=T$t).a.zc(n,t)){for(e=new IL(mJ(n));e.e!=e.i.gc();)dX(c,wBn(KB(mpn(e),26)));t.a.Bc(n),t.a.gc()}for(r=c.i,!n.q&&(n.q=new nU(XAt,n,11,10)),i=new IL(n.q);i.e!=i.i.gc();++r)KB(mpn(i),399);dX(c,(!n.q&&(n.q=new nU(XAt,n,11,10)),n.q)),ihn(c),n.d=new $O((KB(Utn(WQ((WX(),YAt).o),9),18),c.i),c.g),n.e=KB(c.g,673),null==n.e&&(n.e=M$t),M5(n).b&=-17}return n.d}function dBn(n,t,e,i){var r,c,a,u,o,s;if(s=rxn(n.e.Tg(),t),o=0,r=KB(n.g,119),JM(),KB(t,66).Oj()){for(a=0;a<n.i;++a)if(c=r[a],s.rl(c.ak())){if($fn(c,e))return o;++o}}else if(null!=e){for(u=0;u<n.i;++u)if(c=r[u],s.rl(c.ak())){if($fn(e,c.dd()))return o;++o}if(i)for(o=0,a=0;a<n.i;++a)if(c=r[a],s.rl(c.ak())){if(HI(e)===HI(oD(n,KB(c.dd(),56))))return o;++o}}else for(a=0;a<n.i;++a)if(c=r[a],s.rl(c.ak())){if(null==c.dd())return o;++o}return-1}function gBn(n,t,e,i,r){var c,a,u,o,s,h,f,l,b;for(TQ(),p$(n,new zu),a=qB(n),b=new $p,l=new $p,u=null,o=0;0!=a.b;)c=KB(0==a.b?null:(Mx(0!=a.b),Itn(a,a.a.a)),157),!u||tG(u)*nG(u)/2<tG(c)*nG(c)?(u=c,b.c[b.c.length]=c):(o+=tG(c)*nG(c),l.c[l.c.length]=c,l.c.length>1&&(o>tG(u)*nG(u)/2||0==a.b)&&(f=new Htn(l),h=tG(u)/nG(u),s=vXn(f,t,new fm,e,i,r,h),GR(mO(f.e),s),u=f,b.c[b.c.length]=f,o=0,l.c=L8(Int,FWn,1,0,5,1)));return wun(b,l),b}function pBn(n,t,e,i){var r,c,a,u,o,s,h,f,l,b,w,d;if(e.mh(t)&&(h=(b=t)?KB(i,49).xh(b):null))if(d=e.bh(t,n.a),(w=t.t)>1||-1==w)if(f=KB(d,69),l=KB(h,69),f.dc())l.$b();else for(a=!!Svn(t),c=0,u=n.a?f.Kc():f.Zh();u.Ob();)s=KB(u.Pb(),56),(r=KB(hnn(n,s),56))?(a?-1==(o=l.Xc(r))?l.Xh(c,r):c!=o&&l.ji(c,r):l.Xh(c,r),++c):n.b&&!a&&(l.Xh(c,s),++c);else null==d?h.Wb(null):null==(r=hnn(n,d))?n.b&&!Svn(t)&&h.Wb(d):h.Wb(r)}function vBn(n,t){var e,r,c,a,u,o,s,f;for(e=new Le,c=new az(JL(sbn(t).a.Kc(),new h));bAn(c);)if(!f5(r=KB(G5(c),17))&&nTn(o=r.c.i,zut)){if(-1==(f=XDn(n,o,zut,Gut)))continue;e.b=i.Math.max(e.b,f),!e.a&&(e.a=new $p),UB(e.a,o)}for(u=new az(JL(hbn(t).a.Kc(),new h));bAn(u);)if(!f5(a=KB(G5(u),17))&&nTn(s=a.d.i,Gut)){if(-1==(f=XDn(n,s,Gut,zut)))continue;e.d=i.Math.max(e.d,f),!e.c&&(e.c=new $p),UB(e.c,s)}return e}function mBn(n){var t,e,i,r;if(OOn(),t=SY(n),n<cet.length)return cet[t];if(n<=50)return cOn((CDn(),Ytt),t);if(n<=XVn)return H5(cOn(ret[1],t),t);if(n>1e6)throw Fp(new Cy("power of ten too big"));if(n<=NWn)return H5(cOn(ret[1],t),t);for(r=i=cOn(ret[1],NWn),e=san(n-NWn),t=SY(n%NWn);Xhn(e,NWn)>0;)r=$nn(r,i),e=tbn(e,NWn);for(r=H5(r=$nn(r,cOn(ret[1],t)),NWn),e=san(n-NWn);Xhn(e,NWn)>0;)r=H5(r,NWn),e=tbn(e,NWn);return r=H5(r,t)}function yBn(n,t){var e,i,r,c,a,u,o,s;for(CTn(t,"Hierarchical port dummy size processing",1),u=new $p,s=new $p,e=2*Hy(ED(pMn(n,(FXn(),mpt)))),r=new Ub(n.b);r.a<r.c.c.length;){for(i=KB(Y1(r),29),u.c=L8(Int,FWn,1,0,5,1),s.c=L8(Int,FWn,1,0,5,1),a=new Ub(i.a);a.a<a.c.c.length;)(c=KB(Y1(a),10)).k==(cSn(),Eut)&&((o=KB(pMn(c,(oWn(),Wft)),61))==(mUn(),uIt)?u.c[u.c.length]=c:o==TIt&&(s.c[s.c.length]=c));FOn(u,!0,e),FOn(s,!1,e)}FSn(t)}function kBn(n,t){var e,i,r,c,a;CTn(t,"Layer constraint postprocessing",1),0!=(a=n.b).c.length&&(h1(0,a.c.length),R_n(n,KB(a.c[0],29),KB(Lq(a,a.c.length-1),29),e=new FX(n),r=new FX(n)),0==e.a.c.length||(AZ(0,a.c.length),ES(a.c,0,e)),0==r.a.c.length||(a.c[a.c.length]=r)),Ax(n,(oWn(),Yft))&&(vDn(n,i=new FX(n),c=new FX(n)),0==i.a.c.length||(AZ(0,a.c.length),ES(a.c,0,i)),0==c.a.c.length||(a.c[a.c.length]=c)),FSn(t)}function jBn(n){var t,e,i,r,c,a,u,o;for(a=new Ub(n.a);a.a<a.c.c.length;)if((c=KB(Y1(a),10)).k==(cSn(),Eut)&&((r=KB(pMn(c,(oWn(),Wft)),61))==(mUn(),aIt)||r==SIt))for(i=new az(JL(obn(c).a.Kc(),new h));bAn(i);)0!=(t=(e=KB(G5(i),17)).a).b&&((u=e.c).i==c&&(Mx(0!=t.b),KB(t.a.a.c,8).b=Ion(Mun(Hk(MMt,1),uVn,8,0,[u.i.n,u.n,u.a])).b),(o=e.d).i==c&&(Mx(0!=t.b),KB(t.c.b.c,8).b=Ion(Mun(Hk(MMt,1),uVn,8,0,[o.i.n,o.n,o.a])).b))}function EBn(n,t){var e,i,r,c,a,u,o;for(CTn(t,"Sort By Input Model "+pMn(n,(FXn(),Adt)),1),r=0,i=new Ub(n.b);i.a<i.c.c.length;){for(e=KB(Y1(i),29),o=0==r?0:r-1,u=KB(Lq(n.b,o),29),a=new Ub(e.a);a.a<a.c.c.length;)HI(pMn(c=KB(Y1(a),10),npt))!==HI((WEn(),GCt))&&HI(pMn(c,npt))!==HI(zCt)&&(TQ(),p$(c.j,new C7(u,akn(c))),CH(t,"Node "+c+" ports: "+c.j));TQ(),p$(e.a,new Hrn(u,KB(pMn(n,Adt),339),KB(pMn(n,Idt),378))),CH(t,"Layer "+r+": "+e),++r}FSn(t)}function TBn(n,t){var e,i,r;if(r=mFn(t),QT(new xq(null,(!t.c&&(t.c=new nU(GOt,t,9,9)),new l1(t.c,16))),new Gw(r)),czn(t,i=KB(pMn(r,(oWn(),Jft)),21)),i.Hc((fDn(),hft)))for(e=new IL((!t.c&&(t.c=new nU(GOt,t,9,9)),t.c));e.e!=e.i.gc();)Wzn(n,t,r,KB(mpn(e),118));return 0!=KB(JAn(t,(FXn(),_gt)),174).gc()&&pDn(t,r),By(jD(pMn(r,zgt)))&&i.Fc(dft),Ax(r,wpt)&&Ey(new cwn(Hy(ED(pMn(r,wpt)))),r),HI(JAn(t,ugt))===HI((cfn(),dCt))?iWn(n,t,r):nXn(n,t,r),r}function MBn(n,t,e,r){var c,a,u;if(this.j=new $p,this.k=new $p,this.b=new $p,this.c=new $p,this.e=new fA,this.i=new mm,this.f=new Np,this.d=new $p,this.g=new $p,UB(this.b,n),UB(this.b,t),this.e.c=i.Math.min(n.a,t.a),this.e.d=i.Math.min(n.b,t.b),this.e.b=i.Math.abs(n.a-t.a),this.e.a=i.Math.abs(n.b-t.b),c=KB(pMn(r,(FXn(),ggt)),74))for(u=upn(c,0);u.b!=u.d.c;)ren((a=KB(f3(u),8)).a,n.a)&&NH(this.i,a);e&&UB(this.j,e),UB(this.k,r)}function SBn(n,t,e){var i,r,c,a,u,o,s,h,f,l;for(h=new zz(new Lw(e)),gU(u=L8(INt,JJn,25,n.f.e.c.length,16,1),u.length),e[t.b]=0,s=new Ub(n.f.e);s.a<s.c.c.length;)(o=KB(Y1(s),144)).b!=t.b&&(e[o.b]=NWn),_8(nMn(h,o));for(;0!=h.b.c.length;)for(u[(f=KB(pnn(h),144)).b]=!0,c=gN(new pT(n.b,f),0);c.c;)u[(l=Omn(r=KB(kZ(c),282),f)).b]||(a=Ax(r,(ekn(),dat))?Hy(ED(pMn(r,dat))):n.c,(i=e[f.b]+a)<e[l.b]&&(e[l.b]=i,urn(h,l),_8(nMn(h,l))))}function PBn(n,t,e){var i,r,c,a,u,o,s,h,f;for(r=!0,a=new Ub(n.b);a.a<a.c.c.length;){for(c=KB(Y1(a),29),s=DQn,h=null,o=new Ub(c.a);o.a<o.c.c.length;){if(u=KB(Y1(o),10),f=Hy(t.p[u.p])+Hy(t.d[u.p])-u.d.d,i=Hy(t.p[u.p])+Hy(t.d[u.p])+u.o.b+u.d.a,!(f>s&&i>s)){r=!1,e.n&&CH(e,"bk node placement breaks on "+u+" which should have been after "+h);break}h=u,s=Hy(t.p[u.p])+Hy(t.d[u.p])+u.o.b+u.d.a}if(!r)break}return e.n&&CH(e,t+" is feasible: "+r),r}function CBn(n,t,e,i){var r,c,a,u,o,s,h;for(u=-1,h=new Ub(n);h.a<h.c.c.length;)(s=KB(Y1(h),112)).g=u--,a=r=bG(k2($V(IV(new xq(null,new l1(s.f,16)),new sa),new ha)).d),o=c=bG(k2($V(IV(new xq(null,new l1(s.k,16)),new fa),new la)).d),i||(a=bG(k2($V(new xq(null,new l1(s.f,16)),new ba)).d),o=bG(k2($V(new xq(null,new l1(s.k,16)),new wa)).d)),s.d=a,s.a=r,s.i=o,s.b=c,0==o?e5(e,s,e.c.b,e.c):0==a&&e5(t,s,t.c.b,t.c)}function IBn(n,t,e,i){var r,c,a,u,o,s,h;if(e.d.i!=t.i){for(Kl(r=new Ovn(n),(cSn(),Mut)),oon(r,(oWn(),blt),e),oon(r,(FXn(),npt),(WEn(),zCt)),i.c[i.c.length]=r,SZ(a=new SSn,r),BCn(a,(mUn(),SIt)),SZ(u=new SSn,r),BCn(u,aIt),h=e.d,EZ(e,a),Ban(c=new lJ,e),oon(c,ggt,null),TZ(c,u),EZ(c,h),s=new E2(e.b,0);s.b<s.d.gc();)Mx(s.b<s.d.gc()),HI(pMn(o=KB(s.d.Xb(s.c=s.b++),70),Vdt))===HI((xtn(),GPt))&&(oon(o,Gft,e),sW(s),UB(c.b,o));vAn(r,a,u)}}function OBn(n,t,e,i){var r,c,a,u,o,s;if(e.c.i!=t.i)for(Kl(r=new Ovn(n),(cSn(),Mut)),oon(r,(oWn(),blt),e),oon(r,(FXn(),npt),(WEn(),zCt)),i.c[i.c.length]=r,SZ(a=new SSn,r),BCn(a,(mUn(),SIt)),SZ(u=new SSn,r),BCn(u,aIt),EZ(e,a),Ban(c=new lJ,e),oon(c,ggt,null),TZ(c,u),EZ(c,t),vAn(r,a,u),s=new E2(e.b,0);s.b<s.d.gc();)Mx(s.b<s.d.gc()),o=KB(s.d.Xb(s.c=s.b++),70),KB(pMn(o,Vdt),272)==(xtn(),GPt)&&(Ax(o,Gft)||oon(o,Gft,e),sW(s),UB(c.b,o))}function ABn(n,t,e,r,c){var a,u,o,s,h,f,l,b,w,d,g,p,v,m;for(l=new $p,p=T4(r),g=t*n.a,w=0,a=new xv,u=new xv,o=new $p,v=0,m=0,b=0,d=0,h=0,f=0;0!=p.a.gc();)(s=Zln(p,c,u))&&(p.a.Bc(s),o.c[o.c.length]=s,a.a.zc(s,a),w=n.f[s.p],v+=n.e[s.p]-w*n.b,m+=n.c[s.p]*n.b,f+=w*n.b,d+=n.e[s.p]),(!s||0==p.a.gc()||v>=g&&n.e[s.p]>w*n.b||m>=e*g)&&(l.c[l.c.length]=o,o=new $p,_rn(u,a),a.a.$b(),h-=f,b=i.Math.max(b,h*n.b+d),h+=m,v=m,m=0,f=0,d=0);return new eI(b,l)}function $Bn(n){var t,e,i,r,c,a,u,o,s,h,f,l;for(e=new Db(new Cb(n.c.b).a.vc().Kc());e.a.Ob();)u=KB(e.a.Pb(),42),null==(r=(t=KB(u.dd(),149)).a)&&(r=""),!(i=RD(n.c,r))&&0==r.length&&(i=vfn(n)),i&&!vwn(i.c,t,!1)&&NH(i.c,t);for(a=upn(n.a,0);a.b!=a.d.c;)c=KB(f3(a),478),s=j5(n.c,c.a),l=j5(n.c,c.b),s&&l&&NH(s.c,new eI(l,c.c));for(vQ(n.a),f=upn(n.b,0);f.b!=f.d.c;)h=KB(f3(f),478),t=DD(n.c,h.a),o=j5(n.c,h.b),t&&o&&NM(t,o,h.c);vQ(n.b)}function LBn(n,t,e){var i,r,c,a,u,o,s,h,f,l,b;c=new Ml(n),b5((a=new bkn).g),b5(a.j),OU(a.b),b5(a.d),b5(a.i),OU(a.k),OU(a.c),OU(a.e),b=fIn(a,c,null),C$n(a,c),r=b,u=nHn(s=new Ml(t)),gSn(r,Mun(Hk(YTt,1),FWn,527,0,[u])),l=!1,f=!1,s=new Ml(e),h8n in s.a&&(l=qY(s,h8n).ge().a),f8n in s.a&&(f=qY(s,f8n).ge().a),h=Oj(_en(new zm,l),f),KSn(new su,r,h),h8n in c.a&&etn(c,h8n,null),(l||f)&&(YFn(h,o=new dy,l,f),etn(c,h8n,o)),i=new zg(a),Gon(new CA(r),i)}function NBn(n,t,e){var i,r,c,a,u,o,s,h,f;for(a=new Vkn,s=Mun(Hk(CNt,1),oQn,25,15,[0]),r=-1,c=0,i=0,o=0;o<n.b.c.length;++o){if(!((h=KB(Lq(n.b,o),434)).b>0)){if(r=-1,32==sV(h.c,0)){if(f=s[0],vnn(t,s),s[0]>f)continue}else if(OJ(t,h.c,s[0])){s[0]+=h.c.length;continue}return 0}if(r<0&&h.a&&(r=o,c=s[0],i=0),r>=0){if(u=h.b,o==r&&0==(u-=i++))return 0;if(!AUn(t,s,h,u,a)){o=r-1,s[0]=c;continue}}else if(r=-1,!AUn(t,s,h,0,a))return 0}return bUn(a,e)?s[0]:0}function xBn(n){var t,e,i,r,c,a;if(!n.f){if(a=new Mo,c=new Mo,null==(t=T$t).a.zc(n,t)){for(r=new IL(mJ(n));r.e!=r.i.gc();)dX(a,xBn(KB(mpn(r),26)));t.a.Bc(n),t.a.gc()}for(!n.s&&(n.s=new nU(RAt,n,21,17)),i=new IL(n.s);i.e!=i.i.gc();)iL(e=KB(mpn(i),170),99)&&s9(c,KB(e,18));ihn(c),n.r=new jH(n,(KB(Utn(WQ((WX(),YAt).o),6),18),c.i),c.g),dX(a,n.r),ihn(a),n.f=new $O((KB(Utn(WQ(YAt.o),5),18),a.i),a.g),M5(n).b&=-3}return n.f}function DBn(n){var t,e,i,r,c,a,u,o,s,h,f,l,b,w;for(a=n.o,i=L8(CNt,oQn,25,a,15,1),r=L8(CNt,oQn,25,a,15,1),e=n.p,t=L8(CNt,oQn,25,e,15,1),c=L8(CNt,oQn,25,e,15,1),s=0;s<a;s++){for(f=0;f<e&&!gmn(n,s,f);)++f;i[s]=f}for(h=0;h<a;h++){for(f=e-1;f>=0&&!gmn(n,h,f);)--f;r[h]=f}for(b=0;b<e;b++){for(u=0;u<a&&!gmn(n,u,b);)++u;t[b]=u}for(w=0;w<e;w++){for(u=a-1;u>=0&&!gmn(n,u,w);)--u;c[w]=u}for(o=0;o<a;o++)for(l=0;l<e;l++)o<c[l]&&o>t[l]&&l<r[o]&&l>i[o]&&_Rn(n,o,l,!1,!0)}function RBn(n){var t,e,i,r,c,a,u,o;e=By(jD(pMn(n,(sRn(),Kct)))),c=n.a.c.d,u=n.a.d.d,e?(a=mL(zR(new LC(u.a,u.b),c),.5),o=mL(K$(n.e),.5),t=zR(GR(new LC(c.a,c.b),a),o),Fx(n.d,t)):(r=Hy(ED(pMn(n.a,eat))),i=n.d,c.a>=u.a?c.b>=u.b?(i.a=u.a+(c.a-u.a)/2+r,i.b=u.b+(c.b-u.b)/2-r-n.e.b):(i.a=u.a+(c.a-u.a)/2+r,i.b=c.b+(u.b-c.b)/2+r):c.b>=u.b?(i.a=c.a+(u.a-c.a)/2+r,i.b=u.b+(c.b-u.b)/2+r):(i.a=c.a+(u.a-c.a)/2+r,i.b=c.b+(u.b-c.b)/2-r-n.e.b))}function _Bn(n,t){var e,i,r,c,a,u,o;if(null==n)return null;if(0==(c=n.length))return"";for(o=L8(PNt,UVn,25,c,15,1),R8(0,c,n.length),R8(0,c,o.length),VU(n,0,c,o,0),e=null,u=t,r=0,a=0;r<c;r++)i=o[r],kWn(),i<=32&&2&VLt[i]?u?(!e&&(e=new sN(n)),rJ(e,r-a++)):(u=t,32!=i&&(!e&&(e=new sN(n)),uV(e,r-a,r-a+1,String.fromCharCode(32)))):u=!1;return u?e?(c=e.a.length)>0?sx(e.a,0,c-1):"":n.substr(0,c-1):e?e.a:n}function KBn(n){$M(n,new ETn(gj(lj(dj(wj(new du,GYn),"ELK DisCo"),"Layouter for arranging unconnected subgraphs. The subgraphs themselves are, by default, not laid out."),new at))),c2(n,GYn,zYn,ppn(kct)),c2(n,GYn,UYn,ppn(dct)),c2(n,GYn,XYn,ppn(hct)),c2(n,GYn,WYn,ppn(gct)),c2(n,GYn,zJn,ppn(mct)),c2(n,GYn,UJn,ppn(vct)),c2(n,GYn,GJn,ppn(yct)),c2(n,GYn,XJn,ppn(pct)),c2(n,GYn,KYn,ppn(lct)),c2(n,GYn,FYn,ppn(fct)),c2(n,GYn,BYn,ppn(bct)),c2(n,GYn,HYn,ppn(wct))}function FBn(n,t,e,i){var r,c,a,u,o,s,h;if(Kl(c=new Ovn(n),(cSn(),Put)),oon(c,(FXn(),npt),(WEn(),zCt)),r=0,t){for(oon(a=new SSn,(oWn(),blt),t),oon(c,blt,t.i),BCn(a,(mUn(),SIt)),SZ(a,c),s=0,h=(o=J0(t.e)).length;s<h;++s)EZ(o[s],a);oon(t,klt,c),++r}if(e){for(u=new SSn,oon(c,(oWn(),blt),e.i),oon(u,blt,e),BCn(u,(mUn(),aIt)),SZ(u,c),s=0,h=(o=J0(e.g)).length;s<h;++s)TZ(o[s],u);oon(e,klt,c),++r}return oon(c,(oWn(),Kft),tln(r)),i.c[i.c.length]=c,c}function BBn(){BBn=O,COt=Mun(Hk(PNt,1),UVn,25,15,[48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70]),IOt=new RegExp("[ \t\n\r\f]+");try{POt=Mun(Hk(L$t,1),FWn,2015,0,[new gp((u$(),udn("yyyy-MM-dd'T'HH:mm:ss'.'SSSZ",sR((sk(),sk(),ett))))),new gp(udn("yyyy-MM-dd'T'HH:mm:ss'.'SSS",sR(ett))),new gp(udn("yyyy-MM-dd'T'HH:mm:ss",sR(ett))),new gp(udn("yyyy-MM-dd'T'HH:mm",sR(ett))),new gp(udn("yyyy-MM-dd",sR(ett)))])}catch(n){if(!iL(n=hun(n),78))throw Fp(n)}}function HBn(n){var t,e,r,c;if(r=BXn((!n.c&&(n.c=vhn(n.f)),n.c),0),0==n.e||0==n.a&&-1!=n.f&&n.e<0)return r;if(t=tin(n)<0?1:0,e=n.e,r.length,i.Math.abs(SY(n.e)),c=new Pk,1==t&&(c.a+="-"),n.e>0)if((e-=r.length-t)>=0){for(c.a+="0.";e>Btt.length;e-=Btt.length)$q(c,Btt);wR(c,Btt,SY(e)),aO(c,r.substr(t))}else aO(c,sx(r,t,SY(e=t-e))),c.a+=".",aO(c,YI(r,SY(e)));else{for(aO(c,r.substr(t));e<-Btt.length;e+=Btt.length)$q(c,Btt);wR(c,Btt,SY(-e))}return c.a}function qBn(n,t,e,r){var c,a,u,o,s,h,f,l,b;return h=(s=zR(new LC(e.a,e.b),n)).a*t.b-s.b*t.a,f=t.a*r.b-t.b*r.a,l=(s.a*r.b-s.b*r.a)/f,b=h/f,0==f?0==h?(a=U8(n,c=GR(new LC(e.a,e.b),mL(new LC(r.a,r.b),.5))),u=U8(GR(new LC(n.a,n.b),t),c),o=.5*i.Math.sqrt(r.a*r.a+r.b*r.b),a<u&&a<=o?new LC(n.a,n.b):u<=o?GR(new LC(n.a,n.b),t):null):null:l>=0&&l<=1&&b>=0&&b<=1?GR(new LC(n.a,n.b),mL(new LC(t.a,t.b),l)):null}function GBn(n,t,e){var i,r,c,a,u;if(i=KB(pMn(n,(FXn(),$dt)),21),e.a>t.a&&(i.Hc((lEn(),UMt))?n.c.a+=(e.a-t.a)/2:i.Hc(WMt)&&(n.c.a+=e.a-t.a)),e.b>t.b&&(i.Hc((lEn(),QMt))?n.c.b+=(e.b-t.b)/2:i.Hc(VMt)&&(n.c.b+=e.b-t.b)),KB(pMn(n,(oWn(),Jft)),21).Hc((fDn(),hft))&&(e.a>t.a||e.b>t.b))for(u=new Ub(n.a);u.a<u.c.c.length;)(a=KB(Y1(u),10)).k==(cSn(),Eut)&&((r=KB(pMn(a,Wft),61))==(mUn(),aIt)?a.n.a+=e.a-t.a:r==TIt&&(a.n.b+=e.b-t.b));c=n.d,n.f.a=e.a-c.b-c.c,n.f.b=e.b-c.d-c.a}function zBn(n,t,e){var i,r,c,a,u;if(i=KB(pMn(n,(FXn(),$dt)),21),e.a>t.a&&(i.Hc((lEn(),UMt))?n.c.a+=(e.a-t.a)/2:i.Hc(WMt)&&(n.c.a+=e.a-t.a)),e.b>t.b&&(i.Hc((lEn(),QMt))?n.c.b+=(e.b-t.b)/2:i.Hc(VMt)&&(n.c.b+=e.b-t.b)),KB(pMn(n,(oWn(),Jft)),21).Hc((fDn(),hft))&&(e.a>t.a||e.b>t.b))for(a=new Ub(n.a);a.a<a.c.c.length;)(c=KB(Y1(a),10)).k==(cSn(),Eut)&&((r=KB(pMn(c,Wft),61))==(mUn(),aIt)?c.n.a+=e.a-t.a:r==TIt&&(c.n.b+=e.b-t.b));u=n.d,n.f.a=e.a-u.b-u.c,n.f.b=e.b-u.d-u.a}function UBn(n){var t,e,r,c,a,u,o,s,h,f;for(s=new Pb(new Sb(LOn(n)).a.vc().Kc());s.a.Ob();){for(r=KB(s.a.Pb(),42),h=0,f=0,h=(o=KB(r.cd(),10)).d.d,f=o.o.b+o.d.a,n.d[o.p]=0,t=o;(c=n.a[t.p])!=o;)e=Egn(t,c),u=0,u=n.c==(wY(),Ymt)?e.d.n.b+e.d.a.b-e.c.n.b-e.c.a.b:e.c.n.b+e.c.a.b-e.d.n.b-e.d.a.b,a=Hy(n.d[t.p])+u,n.d[c.p]=a,h=i.Math.max(h,c.d.d-a),f=i.Math.max(f,a+c.o.b+c.d.a),t=c;t=o;do{n.d[t.p]=Hy(n.d[t.p])+h,t=n.a[t.p]}while(t!=o);n.b[o.p]=h+f}}function XBn(n){var t,e,r,c,a,u,o,s,h,f,l;for(n.b=!1,f=xQn,o=DQn,l=xQn,s=DQn,e=n.e.a.ec().Kc();e.Ob();)for(r=(t=KB(e.Pb(),266)).a,f=i.Math.min(f,r.c),o=i.Math.max(o,r.c+r.b),l=i.Math.min(l,r.d),s=i.Math.max(s,r.d+r.a),a=new Ub(t.c);a.a<a.c.c.length;)(c=KB(Y1(a),395)).a.a?(u=(h=r.d+c.b.b)+c.c,l=i.Math.min(l,h),s=i.Math.max(s,u)):(u=(h=r.c+c.b.a)+c.c,f=i.Math.min(f,h),o=i.Math.max(o,u));n.a=new LC(o-f,s-l),n.c=new LC(f+n.d.a,l+n.d.b)}function WBn(n,t,e){var i,r,c,a,u,o,s,h;for(h=new $p,c=0,Zen(s=new L0(0,e),new rsn(0,0,s,e)),r=0,o=new IL(n);o.e!=o.i.gc();)u=KB(mpn(o),33),i=KB(Lq(s.a,s.a.c.length-1),187),r+u.g+(0==KB(Lq(s.a,0),187).b.c.length?0:e)>t&&(r=0,c+=s.b+e,h.c[h.c.length]=s,Zen(s=new L0(c,e),i=new rsn(0,s.f,s,e)),r=0),0==i.b.c.length||u.f>=i.o&&u.f<=i.f||.5*i.a<=u.f&&1.5*i.a>=u.f?vbn(i,u):(Zen(s,a=new rsn(i.s+i.r+e,s.f,s,e)),vbn(a,u)),r=u.i+u.g;return h.c[h.c.length]=s,h}function VBn(n){var t,e,i,r,c,a;if(!n.a){if(n.o=null,a=new wp(n),t=new So,null==(e=T$t).a.zc(n,e)){for(c=new IL(mJ(n));c.e!=c.i.gc();)dX(a,VBn(KB(mpn(c),26)));e.a.Bc(n),e.a.gc()}for(!n.s&&(n.s=new nU(RAt,n,21,17)),r=new IL(n.s);r.e!=r.i.gc();)iL(i=KB(mpn(r),170),322)&&s9(t,KB(i,34));ihn(t),n.k=new kH(n,(KB(Utn(WQ((WX(),YAt).o),7),18),t.i),t.g),dX(a,n.k),ihn(a),n.a=new $O((KB(Utn(WQ(YAt.o),4),18),a.i),a.g),M5(n).b&=-2}return n.a}function QBn(n,t,e,i,r,c,a){var u,o,s,h,f;return h=!1,u=bNn(e.q,t.f+t.b-e.q.f),!((f=r-(e.q.e+u-a))<i.g)&&(o=c==n.c.length-1&&f>=(h1(c,n.c.length),KB(n.c[c],200)).e,!((s=iHn(i,f,!1).a)>t.b&&!o)&&((o||s<=t.b)&&(o&&s>t.b?(e.d=s,d9(e,_Sn(e,s))):(rEn(e.q,u),e.c=!0),d9(i,r-(e.s+e.r)),jvn(i,e.q.e+e.q.d,t.f),Zen(t,i),n.c.length>c&&(jkn((h1(c,n.c.length),KB(n.c[c],200)),i),0==(h1(c,n.c.length),KB(n.c[c],200)).a.c.length&&u6(n,c)),h=!0),h))}function JBn(n,t,e,i){var r,c,a,u,o,s,h;if(h=rxn(n.e.Tg(),t),r=0,c=KB(n.g,119),o=null,JM(),KB(t,66).Oj()){for(u=0;u<n.i;++u)if(a=c[u],h.rl(a.ak())){if($fn(a,e)){o=a;break}++r}}else if(null!=e){for(u=0;u<n.i;++u)if(a=c[u],h.rl(a.ak())){if($fn(e,a.dd())){o=a;break}++r}}else for(u=0;u<n.i;++u)if(a=c[u],h.rl(a.ak())){if(null==a.dd()){o=a;break}++r}return o&&(pA(n.e)&&(s=t.$j()?new f4(n.e,4,t,e,null,r,!0):AJ(n,t.Kj()?2:1,t,e,t.zj(),-1,!0),i?i.Ei(s):i=s),i=j_n(n,o,i)),i}function YBn(n,t,e,r,c,a,u){var o,s,h,f,l,b,w,d;switch(w=0,d=0,s=c.c,o=c.b,f=e.f,b=e.g,t.g){case 0:w=r.i+r.g+u,d=n.c?wTn(w,a,r,u):r.j,l=i.Math.max(s,w+b),h=i.Math.max(o,d+f);break;case 1:d=r.j+r.f+u,w=n.c?bTn(d,a,r,u):r.i,l=i.Math.max(s,w+b),h=i.Math.max(o,d+f);break;case 2:w=s+u,d=0,l=s+u+b,h=i.Math.max(o,f);break;case 3:w=0,d=o+u,l=i.Math.max(s,b),h=o+u+f;break;default:throw Fp(new Ry("IllegalPlacementOption."))}return new rwn(n.a,l,h,t,w,d)}function ZBn(n){var t,e,r,c,a,u,o,s,h,f,l,b;if(o=n.d,l=KB(pMn(n,(oWn(),Dlt)),15),t=KB(pMn(n,Nft),15),l||t){if(a=Hy(ED(ndn(n,(FXn(),dpt)))),u=Hy(ED(ndn(n,gpt))),b=0,l){for(h=0,c=l.Kc();c.Ob();)r=KB(c.Pb(),10),h=i.Math.max(h,r.o.b),b+=r.o.a;b+=a*(l.gc()-1),o.d+=h+u}if(e=0,t){for(h=0,c=t.Kc();c.Ob();)r=KB(c.Pb(),10),h=i.Math.max(h,r.o.b),e+=r.o.a;e+=a*(t.gc()-1),o.a+=h+u}(s=i.Math.max(b,e))>n.o.a&&(f=(s-n.o.a)/2,o.b=i.Math.max(o.b,f),o.c=i.Math.max(o.c,f))}}function nHn(n){var t,e,i,r,c,a;for(iA(r=new x0,($un(),QTt)),i=new Tb(new Qy(new jT(n,yrn(n,L8(Wtt,uVn,2,0,6,1))).b));i.b<i.d.gc();)Mx(i.b<i.d.gc()),e=TD(i.d.Xb(i.c=i.b++)),(c=dGn(sAt,e))&&null!=(a=Jqn(c,(t=qY(n,e)).je()?t.je().a:t.ge()?""+t.ge().a:t.he()?""+t.he().a:t.Ib()))&&((TN(c.j,(epn(),uMt))||TN(c.j,oMt))&&uon(Vnn(r,qOt),c,a),TN(c.j,cMt)&&uon(Vnn(r,DOt),c,a),TN(c.j,sMt)&&uon(Vnn(r,GOt),c,a),TN(c.j,aMt)&&uon(Vnn(r,HOt),c,a));return r}function tHn(n,t,e,i){var r,c,a,u,o,s;if(o=rxn(n.e.Tg(),t),c=KB(n.g,119),Oxn(n.e,t)){for(r=0,u=0;u<n.i;++u)if(a=c[u],o.rl(a.ak())){if(r==e)return JM(),KB(t,66).Oj()?a:(null!=(s=a.dd())&&i&&iL(t,99)&&KB(t,18).Bb&KQn&&(s=_In(n,t,u,r,s)),s);++r}throw Fp(new Iy(n9n+e+a8n+r))}for(r=0,u=0;u<n.i;++u){if(a=c[u],o.rl(a.ak()))return JM(),KB(t,66).Oj()?a:(null!=(s=a.dd())&&i&&iL(t,99)&&KB(t,18).Bb&KQn&&(s=_In(n,t,u,r,s)),s);++r}return t.zj()}function eHn(n,t,e){var i,r,c,a,u,o,s,h;if(r=KB(n.g,119),Oxn(n.e,t))return JM(),KB(t,66).Oj()?new hq(t,n):new LI(t,n);for(s=rxn(n.e.Tg(),t),i=0,u=0;u<n.i;++u){if(a=(c=r[u]).ak(),s.rl(a)){if(JM(),KB(t,66).Oj())return c;if(a==(jOn(),oLt)||a==cLt){for(o=new hN(Kbn(c.dd()));++u<n.i;)((a=(c=r[u]).ak())==oLt||a==cLt)&&aO(o,Kbn(c.dd()));return w_(KB(t.Yj(),148),o.a)}return null!=(h=c.dd())&&e&&iL(t,99)&&KB(t,18).Bb&KQn&&(h=_In(n,t,u,i,h)),h}++i}return t.zj()}function iHn(n,t,e){var r,c,a,u,o,s,h,f,l,b;for(a=0,u=n.t,c=0,r=0,s=0,b=0,l=0,e&&(n.n.c=L8(Int,FWn,1,0,5,1),UB(n.n,new xY(n.s,n.t,n.i))),o=0,f=new Ub(n.b);f.a<f.c.c.length;)a+(h=KB(Y1(f),33)).g+(o>0?n.i:0)>t&&s>0&&(a=0,u+=s+n.i,c=i.Math.max(c,b),r+=s+n.i,s=0,b=0,e&&(++l,UB(n.n,new xY(n.s,u,n.i))),o=0),b+=h.g+(o>0?n.i:0),s=i.Math.max(s,h.f),e&&umn(KB(Lq(n.n,l),211),h),a+=h.g+(o>0?n.i:0),++o;return c=i.Math.max(c,b),r+=s,e&&(n.r=c,n.d=r,vyn(n.j)),new GV(n.s,n.t,c,r)}function rHn(n,t,e,i,r){var c,a,u,o,s,h,f,l,b;if(OT(),TU(n,"src"),TU(e,"dest"),l=Zon(n),o=Zon(e),dH(!!(4&l.i),"srcType is not an array"),dH(!!(4&o.i),"destType is not an array"),f=l.c,a=o.c,dH(1&f.i?f==a:!(1&a.i),"Array types don't match"),b=n.length,s=e.length,t<0||i<0||r<0||t+r>b||i+r>s)throw Fp(new sv);if(1&f.i||l==o)r>0&&RCn(n,t,e,i,r,!0);else if(h=nen(n),c=nen(e),HI(n)===HI(e)&&t<i)for(t+=r,u=i+r;u-- >i;)OX(c,u,h[--t]);else for(u=i+r;i<u;)OX(c,i++,h[t++])}function cHn(){cHn=O,eet=Mun(Hk(CNt,1),oQn,25,15,[RVn,1162261467,CVn,1220703125,362797056,1977326743,CVn,387420489,IQn,214358881,429981696,815730721,1475789056,170859375,268435456,410338673,612220032,893871739,128e7,1801088541,113379904,148035889,191102976,244140625,308915776,387420489,481890304,594823321,729e6,887503681,CVn,1291467969,1544804416,1838265625,60466176]),iet=Mun(Hk(CNt,1),oQn,25,15,[-1,-1,31,19,15,13,11,11,10,9,9,8,8,8,8,7,7,7,7,7,7,7,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5])}function aHn(n){var t,e,i,r,c,a,u;for(i=new Ub(n.b);i.a<i.c.c.length;)for(c=new Ub(r0(KB(Y1(i),29).a));c.a<c.c.c.length;)if(Jnn(r=KB(Y1(c),10))&&!(e=KB(pMn(r,(oWn(),xft)),305)).g&&e.d)for(t=e,u=e.d;u;)nRn(u.i,u.k,!1,!0),I7(t.a),I7(u.i),I7(u.k),I7(u.b),EZ(u.c,t.c.d),EZ(t.c,null),MZ(t.a,null),MZ(u.i,null),MZ(u.k,null),MZ(u.b,null),(a=new g3(t.i,u.a,t.e,u.j,u.f)).k=t.k,a.n=t.n,a.b=t.b,a.c=u.c,a.g=t.g,a.d=u.d,oon(t.i,xft,a),oon(u.a,xft,a),u=u.d,t=a}function uHn(n,t){var e,i,r,c,a;if(a=KB(t,136),j$n(n),j$n(a),null!=a.b){if(n.c=!0,null==n.b)return n.b=L8(CNt,oQn,25,a.b.length,15,1),void rHn(a.b,0,n.b,0,a.b.length);for(c=L8(CNt,oQn,25,n.b.length+a.b.length,15,1),e=0,i=0,r=0;e<n.b.length||i<a.b.length;)e>=n.b.length?(c[r++]=a.b[i++],c[r++]=a.b[i++]):i>=a.b.length?(c[r++]=n.b[e++],c[r++]=n.b[e++]):a.b[i]<n.b[e]||a.b[i]===n.b[e]&&a.b[i+1]<n.b[e+1]?(c[r++]=a.b[i++],c[r++]=a.b[i++]):(c[r++]=n.b[e++],c[r++]=n.b[e++]);n.b=c}}function oHn(n,t){var e,i,r,c,a,u,o,s,h,f;return e=By(jD(pMn(n,(oWn(),ult)))),u=By(jD(pMn(t,ult))),i=KB(pMn(n,olt),11),o=KB(pMn(t,olt),11),r=KB(pMn(n,slt),11),s=KB(pMn(t,slt),11),h=!!i&&i==o,f=!!r&&r==s,e||u?(c=(!By(jD(pMn(n,ult)))||By(jD(pMn(n,alt))))&&(!By(jD(pMn(t,ult)))||By(jD(pMn(t,alt)))),a=!(By(jD(pMn(n,ult)))&&By(jD(pMn(n,alt)))||By(jD(pMn(t,ult)))&&By(jD(pMn(t,alt)))),new xK(h&&c||f&&a,h,f)):new xK(KB(Y1(new Ub(n.j)),11).p==KB(Y1(new Ub(t.j)),11).p,h,f)}function sHn(n){var t,e,r,c,a,u,o,s;for(r=0,e=0,s=new VT,t=0,o=new Ub(n.n);o.a<o.c.c.length;)0==(u=KB(Y1(o),211)).c.c.length?e5(s,u,s.c.b,s.c):(r=i.Math.max(r,u.d),e+=u.a+(t>0?n.i:0)),++t;for(Ybn(n.n,s),n.d=e,n.r=r,n.g=0,n.f=0,n.e=0,n.o=xQn,n.p=xQn,a=new Ub(n.b);a.a<a.c.c.length;)c=KB(Y1(a),33),n.p=i.Math.min(n.p,c.g),n.g=i.Math.max(n.g,c.g),n.f=i.Math.max(n.f,c.f),n.o=i.Math.min(n.o,c.f),n.e+=c.f+n.i;n.a=n.e/n.b.c.length-n.i*((n.b.c.length-1)/n.b.c.length),vyn(n.j)}function hHn(n){var t,e,i,r;return 64&n.Db?Vln(n):(t=new hN(X5n),(i=n.k)?aO(aO((t.a+=' "',t),i),'"'):(!n.n&&(n.n=new nU(HOt,n,1,7)),n.n.i>0&&(!(r=(!n.n&&(n.n=new nU(HOt,n,1,7)),KB(Utn(n.n,0),137)).a)||aO(aO((t.a+=' "',t),r),'"'))),!n.b&&(n.b=new o_(xOt,n,4,7)),e=!(n.b.i<=1&&(!n.c&&(n.c=new o_(xOt,n,5,8)),n.c.i<=1)),t.a+=e?" [":" ",aO(t,QL(new pk,new IL(n.b))),e&&(t.a+="]"),t.a+=n1n,e&&(t.a+="["),aO(t,QL(new pk,new IL(n.c))),e&&(t.a+="]"),t.a)}function fHn(n,t){var e,i,r,c,a,u,o;if(n.a){if(o=null,null!=(u=n.a.ne())?t.a+=""+u:null!=(a=n.a.Dj())&&(-1!=(c=HO(a,VTn(91)))?(o=a.substr(c),t.a+=""+sx(null==a?qWn:(mW(a),a),0,c)):t.a+=""+a),n.d&&0!=n.d.i){for(r=!0,t.a+="<",i=new IL(n.d);i.e!=i.i.gc();)e=KB(mpn(i),87),r?r=!1:t.a+=_Wn,fHn(e,t);t.a+=">"}null!=o&&(t.a+=""+o)}else n.e?null!=(u=n.e.zb)&&(t.a+=""+u):(t.a+="?",n.b?(t.a+=" super ",fHn(n.b,t)):n.f&&(t.a+=" extends ",fHn(n.f,t)))}function lHn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M;for(y=n.c,k=t.c,e=k7(y.a,n,0),i=k7(k.a,t,0),v=KB(Lwn(n,(rin(),Fvt)).Kc().Pb(),11),T=KB(Lwn(n,Bvt).Kc().Pb(),11),m=KB(Lwn(t,Fvt).Kc().Pb(),11),M=KB(Lwn(t,Bvt).Kc().Pb(),11),g=J0(v.e),j=J0(T.g),p=J0(m.e),E=J0(M.g),Wyn(n,i,k),s=0,b=(c=p).length;s<b;++s)EZ(c[s],v);for(h=0,w=(a=E).length;h<w;++h)TZ(a[h],T);for(Wyn(t,e,y),f=0,d=(u=g).length;f<d;++f)EZ(u[f],m);for(o=0,l=(r=j).length;o<l;++o)TZ(r[o],M)}function bHn(n,t,e,i){var r,c,a,u,o,s;if(c=Uln(i),!By(jD(pMn(i,(FXn(),Pgt))))&&!By(jD(pMn(n,fgt)))||gA(KB(pMn(n,npt),98)))switch(SZ(u=new SSn,n),t?((s=u.n).a=t.a-n.n.a,s.b=t.b-n.n.b,USn(s,0,0,n.o.a,n.o.b),BCn(u,qKn(u,c))):(r=own(c),BCn(u,e==(rin(),Bvt)?r:jln(r))),a=KB(pMn(i,(oWn(),Jft)),21),o=u.j,c.g){case 2:case 1:(o==(mUn(),uIt)||o==TIt)&&a.Fc((fDn(),wft));break;case 4:case 3:(o==(mUn(),aIt)||o==SIt)&&a.Fc((fDn(),wft))}else r=own(c),u=xKn(n,e,e==(rin(),Bvt)?r:jln(r));return u}function wHn(n,t,e){var r,c,a,u,o,s,h;return i.Math.abs(t.s-t.c)<hZn||i.Math.abs(e.s-e.c)<hZn?0:(r=UNn(n,t.j,e.e),c=UNn(n,e.j,t.e),a=0,-1==r||-1==c?(-1==r&&(new qZ((C6(),jyt),e,t,1),++a),-1==c&&(new qZ((C6(),jyt),t,e,1),++a)):(u=jfn(t.j,e.s,e.c),u+=jfn(e.e,t.s,t.c),o=jfn(e.j,t.s,t.c),(s=r+16*u)<(h=c+16*(o+=jfn(t.e,e.s,e.c)))?new qZ((C6(),Eyt),t,e,h-s):s>h?new qZ((C6(),Eyt),e,t,s-h):s>0&&h>0&&(new qZ((C6(),Eyt),t,e,0),new qZ(Eyt,e,t,0))),a)}function dHn(n,t){var e,r,c,a,u;for(u=new csn(new Mb(n.f.b).a);u.b;){if(c=KB((a=Ztn(u)).cd(),594),1==t){if(c.gf()!=(_fn(),FPt)&&c.gf()!=DPt)continue}else if(c.gf()!=(_fn(),RPt)&&c.gf()!=_Pt)continue;switch(r=KB(KB(a.dd(),46).b,81),e=KB(KB(a.dd(),46).a,189).c,c.gf().g){case 2:r.g.c=n.e.a,r.g.b=i.Math.max(1,r.g.b+e);break;case 1:r.g.c=r.g.c+e,r.g.b=i.Math.max(1,r.g.b-e);break;case 4:r.g.d=n.e.b,r.g.a=i.Math.max(1,r.g.a+e);break;case 3:r.g.d=r.g.d+e,r.g.a=i.Math.max(1,r.g.a-e)}}}function gHn(n,t){var e,r,c,a,u,o,s,h,f,l,b,w,d,g;for(o=L8(CNt,oQn,25,t.b.c.length,15,1),h=L8(Out,OVn,267,t.b.c.length,0,1),s=L8(Cut,r1n,10,t.b.c.length,0,1),b=0,w=(l=n.a).length;b<w;++b){for(g=0,u=new Ub((f=l[b]).e);u.a<u.c.c.length;)++o[r=ZO((c=KB(Y1(u),10)).c)],d=Hy(ED(pMn(t,(FXn(),vpt)))),o[r]>0&&s[r]&&(d=D$(n.b,s[r],c)),g=i.Math.max(g,c.c.c.b+d);for(a=new Ub(f.e);a.a<a.c.c.length;)(c=KB(Y1(a),10)).n.b=g+c.d.d,(e=c.c).c.b=g+c.d.d+c.o.b+c.d.a,h[k7(e.b.b,e,0)]=c.k,s[k7(e.b.b,e,0)]=c}}function pHn(n,t){var e,i,r,c,a,u,o,s,f,l,b;for(i=new az(JL(bLn(t).a.Kc(),new h));bAn(i);)iL(Utn((!(e=KB(G5(i),79)).b&&(e.b=new o_(xOt,e,4,7)),e.b),0),186)||(o=MTn(KB(Utn((!e.c&&(e.c=new o_(xOt,e,5,8)),e.c),0),82)),YOn(e)||(a=t.i+t.g/2,u=t.j+t.f/2,f=o.i+o.g/2,l=o.j+o.f/2,(b=new Hj).a=f-a,b.b=l-u,Gkn(c=new LC(b.a,b.b),t.g,t.f),b.a-=c.a,b.b-=c.b,a=f-b.a,u=l-b.b,Gkn(s=new LC(b.a,b.b),o.g,o.f),b.a-=s.a,b.b-=s.b,f=a+b.a,l=u+b.b,Pen(r=iDn(e,!0,!0),a),Ien(r,u),jen(r,f),Cen(r,l),pHn(n,o)))}function vHn(n){$M(n,new ETn(gj(lj(dj(wj(new du,x4n),"ELK SPOrE Compaction"),"ShrinkTree is a compaction algorithm that maintains the topology of a layout. The relocation of diagram elements is based on contracting a spanning tree."),new tu))),c2(n,x4n,D4n,ppn(mTt)),c2(n,x4n,R4n,ppn(gTt)),c2(n,x4n,_4n,ppn(dTt)),c2(n,x4n,K4n,ppn(bTt)),c2(n,x4n,F4n,ppn(wTt)),c2(n,x4n,WYn,lTt),c2(n,x4n,gZn,8),c2(n,x4n,B4n,ppn(vTt)),c2(n,x4n,H4n,ppn(oTt)),c2(n,x4n,q4n,ppn(sTt)),c2(n,x4n,z2n,(oN(),!1))}function mHn(n,t){var e,r,c,a,u,o,s,h,f,l;for(CTn(t,"Simple node placement",1),l=KB(pMn(n,(oWn(),Ilt)),304),o=0,a=new Ub(n.b);a.a<a.c.c.length;){for((u=(r=KB(Y1(a),29)).c).b=0,e=null,h=new Ub(r.a);h.a<h.c.c.length;)s=KB(Y1(h),10),e&&(u.b+=Pdn(s,e,l.c)),u.b+=s.d.d+s.o.b+s.d.a,e=s;o=i.Math.max(o,u.b)}for(c=new Ub(n.b);c.a<c.c.c.length;)for(f=(o-(u=(r=KB(Y1(c),29)).c).b)/2,e=null,h=new Ub(r.a);h.a<h.c.c.length;)s=KB(Y1(h),10),e&&(f+=Pdn(s,e,l.c)),f+=s.d.d,s.n.b=f,f+=s.o.b+s.d.a,e=s;FSn(t)}function yHn(n,t,e,i){var r,c,a,u,o,s,h,f;if(0==i.gc())return!1;if(JM(),a=(o=KB(t,66).Oj())?i:new wtn(i.gc()),Oxn(n.e,t)){if(t.hi())for(h=i.Kc();h.Ob();)GFn(n,t,s=h.Pb(),iL(t,99)&&!!(KB(t,18).Bb&KQn))||(c=J3(t,s),a.Fc(c));else if(!o)for(h=i.Kc();h.Ob();)c=J3(t,s=h.Pb()),a.Fc(c)}else{for(f=rxn(n.e.Tg(),t),r=KB(n.g,119),u=0;u<n.i;++u)if(c=r[u],f.rl(c.ak()))throw Fp(new Ry(P7n));if(i.gc()>1)throw Fp(new Ry(P7n));o||(c=J3(t,i.Kc().Pb()),a.Fc(c))}return aon(n,kPn(n,t,e),a)}function kHn(n,t){var e,i,r,c;for(Wtn(t.b.j),QT(OV(new xq(null,new l1(t.d,16)),new cc),new ac),c=new Ub(t.d);c.a<c.c.c.length;){switch((r=KB(Y1(c),101)).e.g){case 0:e=KB(Lq(r.j,0),113).d.j,Hl(r,KB(ON(Cz(KB(o6(r.k,e),15).Oc(),Wst)),113)),Bl(r,KB(ON(Pz(KB(o6(r.k,e),15).Oc(),Wst)),113));break;case 1:i=Fyn(r),Hl(r,KB(ON(Cz(KB(o6(r.k,i[0]),15).Oc(),Wst)),113)),Bl(r,KB(ON(Pz(KB(o6(r.k,i[1]),15).Oc(),Wst)),113));break;case 2:XPn(n,r);break;case 3:DNn(r);break;case 4:HNn(n,r)}Xtn(r)}n.a=null}function jHn(n,t,e){var i,r,c,a,u,o,s,h;return i=n.a.o==(aZ(),iyt)?xQn:DQn,!(u=iFn(n,new rC(t,e))).a&&u.c?(NH(n.d,u),i):u.a?(r=u.a.c,o=u.a.d,e?(s=n.a.c==(wY(),Zmt)?o:r,c=n.a.c==Zmt?r:o,a=n.a.g[c.i.p],h=Hy(n.a.p[a.p])+Hy(n.a.d[c.i.p])+c.n.b+c.a.b-Hy(n.a.d[s.i.p])-s.n.b-s.a.b):(s=n.a.c==(wY(),Ymt)?o:r,c=n.a.c==Ymt?r:o,h=Hy(n.a.p[n.a.g[c.i.p].p])+Hy(n.a.d[c.i.p])+c.n.b+c.a.b-Hy(n.a.d[s.i.p])-s.n.b-s.a.b),n.a.n[n.a.g[r.i.p].p]=(oN(),!0),n.a.n[n.a.g[o.i.p].p]=!0,h):i}function EHn(n,t,e){var i,r,c,a,u,o,s;if(Oxn(n.e,t))JM(),IOn((u=KB(t,66).Oj()?new hq(t,n):new LI(t,n)).c,u.b),J$(u,KB(e,14));else{for(s=rxn(n.e.Tg(),t),i=KB(n.g,119),c=0;c<n.i;++c)if(r=i[c].ak(),s.rl(r)){if(r==(jOn(),oLt)||r==cLt){for(a=c,(o=Cvn(n,t,e))?sDn(n,c):++c;c<n.i;)(r=i[c].ak())==oLt||r==cLt?sDn(n,c):++c;o||KB(avn(n,a,J3(t,e)),72)}else Cvn(n,t,e)?sDn(n,c):KB(avn(n,c,(JM(),KB(t,66).Oj()?KB(e,72):J3(t,e))),72);return}Cvn(n,t,e)||s9(n,(JM(),KB(t,66).Oj()?KB(e,72):J3(t,e)))}}function THn(n,t,e){var i,r,c,a,u,o,s,h;return $fn(e,n.b)||(n.b=e,c=new Yn,a=KB(M4(OV(new xq(null,new l1(e.f,16)),c),L7(new Q,new J,new cn,new an,Mun(Hk(Yet,1),OVn,132,0,[(Bsn(),zet),Get]))),21),n.e=!0,n.f=!0,n.c=!0,n.d=!0,r=a.Hc((Fpn(),Krt)),i=a.Hc(Frt),r&&!i&&(n.f=!1),!r&&i&&(n.d=!1),r=a.Hc(_rt),i=a.Hc(Brt),r&&!i&&(n.c=!1),!r&&i&&(n.e=!1)),h=KB(n.a.Ce(t,e),46),o=KB(h.a,19).a,s=KB(h.b,19).a,u=!1,o<0?n.c||(u=!0):n.e||(u=!0),s<0?n.d||(u=!0):n.f||(u=!0),u?THn(n,h,e):h}function MHn(n){var t,e,r,c;c=n.o,BD(),n.A.dc()||$fn(n.A,Ort)?t=c.b:(t=EIn(n.f),n.A.Hc((pdn(),xIt))&&!n.B.Hc((Y_n(),zIt))&&(t=i.Math.max(t,EIn(KB(aV(n.p,(mUn(),aIt)),244))),t=i.Math.max(t,EIn(KB(aV(n.p,SIt),244)))),(e=aan(n))&&(t=i.Math.max(t,e.b)),n.A.Hc(DIt)&&(n.q!=(WEn(),UCt)&&n.q!=zCt||(t=i.Math.max(t,zH(KB(aV(n.b,(mUn(),aIt)),124))),t=i.Math.max(t,zH(KB(aV(n.b,SIt),124)))))),By(jD(n.e.yf().We((uWn(),_St))))?c.b=i.Math.max(c.b,t):c.b=t,(r=n.f.i).d=0,r.a=t,HFn(n.f)}function SHn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b;for(h=0;h<t.length;h++){for(a=n.Kc();a.Ob();)KB(a.Pb(),225).Of(h,t);for(f=0;f<t[h].length;f++){for(u=n.Kc();u.Ob();)KB(u.Pb(),225).Pf(h,f,t);for(b=t[h][f].j,l=0;l<b.c.length;l++){for(o=n.Kc();o.Ob();)KB(o.Pb(),225).Qf(h,f,l,t);for(h1(l,b.c.length),e=0,r=new p6(KB(b.c[l],11).b);v$(r.a)||v$(r.b);)for(i=KB(v$(r.a)?Y1(r.a):Y1(r.b),17),s=n.Kc();s.Ob();)KB(s.Pb(),225).Nf(h,f,l,e++,i,t)}}}for(c=n.Kc();c.Ob();)KB(c.Pb(),225).Mf()}function PHn(n,t){var e,i,r,c,a;for(n.b=Hy(ED(pMn(t,(FXn(),mpt)))),n.c=Hy(ED(pMn(t,jpt))),n.d=KB(pMn(t,egt),336),n.a=KB(pMn(t,Mdt),275),smn(t),r=(c=KB(M4(IV(IV(lnn(lnn(new xq(null,new l1(t.b,16)),new ye),new ke),new je),new Ee),p9(new H,new B,new rn,Mun(Hk(Yet,1),OVn,132,0,[(Bsn(),Get)]))),15)).Kc();r.Ob();)e=KB(r.Pb(),17),KB(pMn(e,(oWn(),$lt)),15).Jc(new nd(n)),oon(e,$lt,null);for(i=c.Kc();i.Ob();)e=KB(i.Pb(),17),a=KB(pMn(e,(oWn(),Llt)),17),_Xn(n,KB(pMn(e,Olt),15),a),oon(e,Olt,null)}function CHn(n){n.b=null,n.a=null,n.o=null,n.q=null,n.v=null,n.w=null,n.B=null,n.p=null,n.Q=null,n.R=null,n.S=null,n.T=null,n.U=null,n.V=null,n.W=null,n.bb=null,n.eb=null,n.ab=null,n.H=null,n.db=null,n.c=null,n.d=null,n.f=null,n.n=null,n.r=null,n.s=null,n.u=null,n.G=null,n.J=null,n.e=null,n.j=null,n.i=null,n.g=null,n.k=null,n.t=null,n.F=null,n.I=null,n.L=null,n.M=null,n.O=null,n.P=null,n.$=null,n.N=null,n.Z=null,n.cb=null,n.K=null,n.D=null,n.A=null,n.C=null,n._=null,n.fb=null,n.X=null,n.Y=null,n.gb=!1,n.hb=!1}function IHn(n){var t,e,i,r,c;if(n.k!=(cSn(),Sut))return!1;if(n.j.c.length<=1)return!1;if(KB(pMn(n,(FXn(),npt)),98)==(WEn(),zCt))return!1;if(fvn(),(i=(n.q?n.q:(TQ(),TQ(),oet))._b(xgt)?KB(pMn(n,xgt),197):KB(pMn(gW(n),Dgt),197))==hvt)return!1;if(i!=svt&&i!=ovt){if(r=Hy(ED(ndn(n,$pt))),!(t=KB(pMn(n,Apt),142))&&(t=new FR(r,r,r,r)),c=rbn(n,(mUn(),SIt)),t.d+t.a+(c.gc()-1)*r>n.o.b)return!1;if(e=rbn(n,aIt),t.d+t.a+(e.gc()-1)*r>n.o.b)return!1}return!0}function OHn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w;if(a=n.e,o=t.e,0==a)return t;if(0==o)return n;if((c=n.d)+(u=t.d)==2)return e=n0(n.a[0],GQn),i=n0(t.a[0],GQn),a==o?(w=bG(h=ebn(e,i)),0==(b=bG(yz(h,32)))?new z6(a,w):new hU(a,2,Mun(Hk(CNt,1),oQn,25,15,[w,b]))):Ygn(a<0?tbn(i,e):tbn(e,i));if(a==o)l=a,f=c>=u?$8(n.a,c,t.a,u):$8(t.a,u,n.a,c);else{if(0==(r=c!=u?c>u?1:-1:Esn(n.a,t.a,c)))return CDn(),net;1==r?(l=a,f=b6(n.a,c,t.a,u)):(l=o,f=b6(t.a,u,n.a,c))}return z0(s=new hU(l,f.length,f)),s}function AHn(n,t,e,r,c,a,u){var o,s,h,f,l,b,w;return l=By(jD(pMn(t,(FXn(),Cgt)))),b=null,a==(rin(),Fvt)&&r.c.i==e?b=r.c:a==Bvt&&r.d.i==e&&(b=r.d),(h=u)&&l&&!b?(UB(h.e,r),w=i.Math.max(Hy(ED(pMn(h.d,rgt))),Hy(ED(pMn(r,rgt)))),oon(h.d,rgt,w)):(mUn(),f=MIt,b?f=b.j:gA(KB(pMn(e,npt),98))&&(f=a==Fvt?SIt:aIt),s=LHn(n,t,e,a,f,r),o=U5((gW(e),r)),a==Fvt?(TZ(o,KB(Lq(s.j,0),11)),EZ(o,c)):(TZ(o,c),EZ(o,KB(Lq(s.j,0),11))),h=new qfn(r,o,s,KB(pMn(s,(oWn(),blt)),11),a,!b)),QIn(n.a,r,new AK(h.d,t,a)),h}function $Hn(n,t){var e,i,r,c,a,u,o,s,h,f;if(h=null,n.d&&(h=KB(TY(n.d,t),138)),!h){if(f=(c=n.a.Mh()).i,!n.d||$T(n.d)!=f){for(o=new Lp,n.d&&jcn(o,n.d),u=s=o.f.c+o.g.c;u<f;++u)i=KB(Utn(c,u),138),(e=KB(null==(r=Sfn(n.e,i).ne())?yCn(o.f,null,i):cbn(o.g,r,i),138))&&e!=i&&(null==r?yCn(o.f,null,e):cbn(o.g,r,e));if(o.f.c+o.g.c!=f)for(a=0;a<s;++a)i=KB(Utn(c,a),138),(e=KB(null==(r=Sfn(n.e,i).ne())?yCn(o.f,null,i):cbn(o.g,r,i),138))&&e!=i&&(null==r?yCn(o.f,null,e):cbn(o.g,r,e));n.d=o}h=KB(TY(n.d,t),138)}return h}function LHn(n,t,e,i,r,c){var a,u,o,s,h,f;return a=null,s=i==(rin(),Fvt)?c.c:c.d,o=Uln(t),s.i==e?(a=KB(xX(n.b,s),10))||(oon(a=fXn(s,KB(pMn(e,(FXn(),npt)),98),r,F_n(s),null,s.n,s.o,o,t),(oWn(),blt),s),XW(n.b,s,a)):(u=IEn(a=fXn((h=new Zn,f=Hy(ED(pMn(t,(FXn(),vpt))))/2,uon(h,Zgt,f),h),KB(pMn(e,npt),98),r,i==Fvt?-1:1,null,new Hj,new LC(0,0),o,t),e,i),oon(a,(oWn(),blt),u),XW(n.b,u,a)),KB(pMn(t,(oWn(),Jft)),21).Fc((fDn(),hft)),gA(KB(pMn(t,(FXn(),npt)),98))?oon(t,npt,(WEn(),XCt)):oon(t,npt,(WEn(),WCt)),a}function NHn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d;CTn(t,"Orthogonal edge routing",1),s=Hy(ED(pMn(n,(FXn(),Ipt)))),e=Hy(ED(pMn(n,mpt))),i=Hy(ED(pMn(n,jpt))),l=new sX(0,e),d=0,a=new E2(n.b,0),u=null,h=null,o=null,f=null;do{f=(h=a.b<a.d.gc()?(Mx(a.b<a.d.gc()),KB(a.d.Xb(a.c=a.b++),29)):null)?h.a:null,u&&(jqn(u,d),d+=u.c.a),w=IGn(l,n,o,f,u?d+i:d),r=!u||XI(o,(bxn(),yyt)),c=!h||XI(f,(bxn(),yyt)),w>0?(b=(w-1)*e,u&&(b+=i),h&&(b+=i),b<s&&!r&&!c&&(b=s),d+=b):!r&&!c&&(d+=s),u=h,o=f}while(h);n.f.a=d,FSn(t)}function xHn(){var n;xHn=O,yAt=new Tm,vAt=L8(Wtt,uVn,2,0,6,1),EAt=t0(Kun(33,58),Kun(1,26)),TAt=t0(Kun(97,122),Kun(65,90)),MAt=Kun(48,57),kAt=t0(EAt,0),jAt=t0(TAt,MAt),SAt=t0(t0(0,Kun(1,6)),Kun(33,38)),PAt=t0(t0(MAt,Kun(65,70)),Kun(97,102)),$At=t0(kAt,bpn("-_.!~*'()")),LAt=t0(jAt,zwn("-_.!~*'()")),bpn(c9n),zwn(c9n),t0($At,bpn(";:@&=+$,")),t0(LAt,zwn(";:@&=+$,")),CAt=bpn(":/?#"),IAt=zwn(":/?#"),OAt=bpn("/?#"),AAt=zwn("/?#"),(n=new xv).a.zc("jar",n),n.a.zc("zip",n),n.a.zc("archive",n),TQ(),mAt=new Ik(n)}function DHn(n,t){var e,i,r,c,a;if(oon(t,(Bqn(),akt),0),r=KB(pMn(t,rkt),86),0==t.d.b)r?(a=Hy(ED(pMn(r,skt)))+n.a+k5(r,t),oon(t,skt,a)):oon(t,skt,0);else{for(e=new lg(upn(new fg(t).a.d,0));kE(e.a);)DHn(n,KB(f3(e.a),188).c);i=KB(tL(new lg(upn(new fg(t).a.d,0))),86),c=(Hy(ED(pMn(KB(jN(new lg(upn(new fg(t).a.d,0))),86),skt)))+Hy(ED(pMn(i,skt))))/2,r?(a=Hy(ED(pMn(r,skt)))+n.a+k5(r,t),oon(t,skt,a),oon(t,akt,Hy(ED(pMn(t,skt)))-c),PGn(n,t)):oon(t,skt,c)}}function RHn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b;u=0,b=0,o=jY(n.f,n.f.length),c=n.d,a=n.i,i=n.a,r=n.b;do{for(l=0,s=new Ub(n.p);s.a<s.c.c.length;)f=CGn(n,KB(Y1(s),10)),e=!0,(n.q==(uNn(),jvt)||n.q==Mvt)&&(e=By(jD(f.b))),KB(f.a,19).a<0&&e?(++l,o=jY(n.f,n.f.length),n.d=n.d+KB(f.a,19).a,b+=c-n.d,c=n.d+KB(f.a,19).a,a=n.i,i=r0(n.a),r=r0(n.b)):(n.f=jY(o,o.length),n.d=c,n.a=(vX(i),i?new Z_(i):FB(new Ub(i))),n.b=(vX(r),r?new Z_(r):FB(new Ub(r))),n.i=a);++u,h=0!=l&&By(jD(t.Kb(new eI(tln(b),tln(u)))))}while(h)}function _Hn(n,t,e,r){var c,a,u,o,s,h,f,l,b,w,d,g,p,v,m;return a=n.f,l=t.f,u=a==(VLn(),LEt)||a==xEt,o=a==NEt||a==DEt,b=l==NEt||l==DEt,s=a==NEt||a==LEt,w=l==NEt||l==LEt,!u||l!=LEt&&l!=xEt?o&&b?n.f==DEt?n:t:s&&w?(a==NEt?(f=n,h=t):(f=t,h=n),d=e.j+e.f,g=f.e+r.f,p=i.Math.max(d,g)-i.Math.min(e.j,f.e),c=(f.d+r.g-e.i)*p,v=e.i+e.g,m=h.d+r.g,c<=(i.Math.max(v,m)-i.Math.min(e.i,h.d))*(h.e+r.f-e.j)?n.f==NEt?n:t:n.f==LEt?n:t):n:n.f==xEt?n:t}function KHn(n){var t,e,i,r,c,a,u,o,s,h;for(s=n.e.a.c.length,c=new Ub(n.e.a);c.a<c.c.c.length;)KB(Y1(c),121).j=!1;for(n.i=L8(CNt,oQn,25,s,15,1),n.g=L8(CNt,oQn,25,s,15,1),n.n=new $p,r=0,h=new $p,u=new Ub(n.e.a);u.a<u.c.c.length;)(a=KB(Y1(u),121)).d=r++,0==a.b.a.c.length&&UB(n.n,a),wun(h,a.g);for(t=0,i=new Ub(h);i.a<i.c.c.length;)(e=KB(Y1(i),213)).c=t++,e.f=!1;o=h.c.length,null==n.b||n.b.length<o?(n.b=L8($Nt,BQn,25,o,15,1),n.c=L8(INt,JJn,25,o,16,1)):Yy(n.c),n.d=h,n.p=new AN(ntn(n.d.c.length)),n.j=1}function FHn(n,t){var e,i,r,c,a,u,o,s,h;if(!(t.e.c.length<=1)){for(n.f=t,n.d=KB(pMn(n.f,(ekn(),gat)),379),n.g=KB(pMn(n.f,yat),19).a,n.e=Hy(ED(pMn(n.f,pat))),n.c=Hy(ED(pMn(n.f,dat))),iX(n.b),r=new Ub(n.f.c);r.a<r.c.c.length;)i=KB(Y1(r),282),v_n(n.b,i.c,i,null),v_n(n.b,i.d,i,null);for(u=n.f.e.c.length,n.a=mq($Nt,[uVn,BQn],[104,25],15,[u,u],2),s=new Ub(n.f.e);s.a<s.c.c.length;)SBn(n,o=KB(Y1(s),144),n.a[o.b]);for(n.i=mq($Nt,[uVn,BQn],[104,25],15,[u,u],2),c=0;c<u;++c)for(a=0;a<u;++a)h=1/((e=n.a[c][a])*e),n.i[c][a]=h}}function BHn(n){var t,e,i,r;if(!(null==n.b||n.b.length<=2||n.a)){for(t=0,r=0;r<n.b.length;){for(t!=r?(n.b[t]=n.b[r++],n.b[t+1]=n.b[r++]):r+=2,e=n.b[t+1];r<n.b.length&&!(e+1<n.b[r]);)if(e+1==n.b[r])n.b[t+1]=n.b[r+1],e=n.b[t+1],r+=2;else if(e>=n.b[r+1])r+=2;else{if(!(e<n.b[r+1]))throw Fp(new by("Token#compactRanges(): Internel Error: ["+n.b[t]+","+n.b[t+1]+"] ["+n.b[r]+","+n.b[r+1]+"]"));n.b[t+1]=n.b[r+1],e=n.b[t+1],r+=2}t+=2}t!=n.b.length&&(i=L8(CNt,oQn,25,t,15,1),rHn(n.b,0,i,0,t),n.b=i),n.a=!0}}function HHn(n,t){var e,i,r,c,a,u,o;for(a=wz(n.a).Kc();a.Ob();){if((c=KB(a.Pb(),17)).b.c.length>0)for(i=new Z_(KB(o6(n.a,c),21)),TQ(),p$(i,new Rw(t)),r=new E2(c.b,0);r.b<r.d.gc();){switch(Mx(r.b<r.d.gc()),e=KB(r.d.Xb(r.c=r.b++),70),u=-1,KB(pMn(e,(FXn(),Vdt)),272).g){case 1:u=i.c.length-1;break;case 0:u=Qjn(i);break;case 2:u=0}-1!=u&&(h1(u,i.c.length),UB((o=KB(i.c[u],243)).b.b,e),KB(pMn(gW(o.b.c.i),(oWn(),Jft)),21).Fc((fDn(),sft)),KB(pMn(gW(o.b.c.i),Jft),21).Fc(uft),sW(r),oon(e,glt,c))}TZ(c,null),EZ(c,null)}}function qHn(n,t){var e,i,r,c;return e=new Kn,1==(r=2==(r=(i=KB(M4(OV(new xq(null,new l1(n.f,16)),e),L7(new Q,new J,new cn,new an,Mun(Hk(Yet,1),OVn,132,0,[(Bsn(),zet),Get]))),21)).gc())?1:0)&&WI(hdn(KB(M4(IV(i.Lc(),new Fn),Ucn(ygn(0),new en)),162).a,2),0)&&(r=0),1==(c=2==(c=(i=KB(M4(OV(new xq(null,new l1(t.f,16)),e),L7(new Q,new J,new cn,new an,Mun(Hk(Yet,1),OVn,132,0,[zet,Get]))),21)).gc())?1:0)&&WI(hdn(KB(M4(IV(i.Lc(),new Bn),Ucn(ygn(0),new en)),162).a,2),0)&&(c=0),r<c?-1:r==c?0:1}function GHn(n){var t,e,i,r,c,a,u,o,s,h,f;if(o=new $p,!Ax(n,(oWn(),Uft)))return o;for(i=KB(pMn(n,Uft),15).Kc();i.Ob();)bqn(t=KB(i.Pb(),10),n),o.c[o.c.length]=t;for(r=new Ub(n.b);r.a<r.c.c.length;)for(a=new Ub(KB(Y1(r),29).a);a.a<a.c.c.length;)(c=KB(Y1(a),10)).k==(cSn(),Eut)&&(u=KB(pMn(c,Xft),10))&&(SZ(s=new SSn,c),BCn(s,KB(pMn(c,Wft),61)),h=KB(Lq(u.j,0),11),TZ(f=new lJ,s),EZ(f,h));for(e=new Ub(o);e.a<e.c.c.length;)MZ(t=KB(Y1(e),10),KB(Lq(n.b,n.b.c.length-1),29));return o}function zHn(n){var t,e,i,r,c,a,u,o,s,h,f,l;for(c=By(jD(JAn(t=UY(n),(FXn(),lgt)))),h=0,r=0,s=new IL((!n.e&&(n.e=new o_(DOt,n,7,4)),n.e));s.e!=s.i.gc();)a=(u=WIn(o=KB(mpn(s),79)))&&c&&By(jD(JAn(o,bgt))),l=MTn(KB(Utn((!o.c&&(o.c=new o_(xOt,o,5,8)),o.c),0),82)),u&&a?++r:u&&!a?++h:QY(l)==t||l==t?++r:++h;for(i=new IL((!n.d&&(n.d=new o_(DOt,n,8,5)),n.d));i.e!=i.i.gc();)a=(u=WIn(e=KB(mpn(i),79)))&&c&&By(jD(JAn(e,bgt))),f=MTn(KB(Utn((!e.b&&(e.b=new o_(xOt,e,4,7)),e.b),0),82)),u&&a?++h:u&&!a?++r:QY(f)==t||f==t?++h:++r;return h-r}function UHn(n,t){var e,i,r,c,a,u,o,s,h;if(CTn(t,"Edge splitting",1),n.b.c.length<=2)FSn(t);else{for(Mx((c=new E2(n.b,0)).b<c.d.gc()),a=KB(c.d.Xb(c.c=c.b++),29);c.b<c.d.gc();)for(r=a,Mx(c.b<c.d.gc()),a=KB(c.d.Xb(c.c=c.b++),29),u=new Ub(r.a);u.a<u.c.c.length;)for(o=new Ub(KB(Y1(u),10).j);o.a<o.c.c.length;)for(i=new Ub(KB(Y1(o),11).g);i.a<i.c.c.length;)(s=(e=KB(Y1(i),17)).d.i.c)!=r&&s!=a&&qxn(e,(Kl(h=new Ovn(n),(cSn(),Mut)),oon(h,(oWn(),blt),e),oon(h,(FXn(),npt),(WEn(),zCt)),MZ(h,a),h));FSn(t)}}function XHn(n,t){var e,i,r,c,a,u,o,s,h;if((a=null!=t.p&&!t.b)||CTn(t,rZn,1),c=1/(e=KB(pMn(n,(oWn(),Elt)),15)).gc(),t.n)for(CH(t,"ELK Layered uses the following "+e.gc()+" modules:"),h=0,s=e.Kc();s.Ob();)CH(t," Slot "+(h<10?"0":"")+h+++": "+Yj(Zon(KB(s.Pb(),51))));for(o=e.Kc();o.Ob();)KB(o.Pb(),51).pf(n,pcn(t,c));for(r=new Ub(n.b);r.a<r.c.c.length;)i=KB(Y1(r),29),wun(n.a,i.a),i.a.c=L8(Int,FWn,1,0,5,1);for(u=new Ub(n.a);u.a<u.c.c.length;)MZ(KB(Y1(u),10),null);n.b.c=L8(Int,FWn,1,0,5,1),a||FSn(t)}function WHn(n,t){var e,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E;r=Hy(ED(pMn(t,(FXn(),Ngt)))),l=4,c=3,j=20/(k=KB(pMn(t,Lpt),19).a),b=!1,s=0,u=NWn;do{for(a=1!=s,f=0!=s,E=0,v=0,y=(g=n.a).length;v<y;++v)(w=g[v]).f=null,Kzn(n,w,a,f,r),E+=i.Math.abs(w.a);do{o=GKn(n,t)}while(o);for(p=0,m=(d=n.a).length;p<m;++p)if(0!=(e=lU(w=d[p]).a))for(h=new Ub(w.e);h.a<h.c.c.length;)KB(Y1(h),10).n.b+=e;0==s||1==s?--l<=0&&(E<u||-l>k)?(s=2,u=NWn):0==s?(s=1,u=E):(s=0,u=E):(b=E>=u||u-E<j,u=E,b&&--c)}while(!(b&&c<=0))}function VHn(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w;for(w=new Lp,c=n.a.ec().Kc();c.Ob();)XW(w,i=KB(c.Pb(),168),e.Je(i));for(vX(n),p$(a=n?new Z_(n):FB(n.a.ec().Kc()),new kw(w)),u=T4(a),o=new S$(t),yCn((b=new Lp).f,t,o);0!=u.a.gc();){for(s=null,h=null,f=null,r=u.a.ec().Kc();r.Ob();)if(i=KB(r.Pb(),168),Hy(ED(BI(IJ(w.f,i))))<=xQn){if(oU(b,i.a)&&!oU(b,i.b)){h=i.b,f=i.a,s=i;break}if(oU(b,i.b)&&!oU(b,i.a)){h=i.a,f=i.b,s=i;break}}if(!s)break;l=new S$(h),UB(KB(BI(IJ(b.f,f)),221).a,l),yCn(b.f,h,l),u.a.Bc(s)}return o}function QHn(n,t,e){var i,r,c,a,u,o,s,h;for(CTn(e,"Depth-first cycle removal",1),o=(s=t.a).c.length,n.c=new $p,n.d=L8(INt,JJn,25,o,16,1),n.a=L8(INt,JJn,25,o,16,1),n.b=new $p,c=0,u=new Ub(s);u.a<u.c.c.length;)(a=KB(Y1(u),10)).p=c,o3(sbn(a))&&UB(n.c,a),++c;for(h=new Ub(n.c);h.a<h.c.c.length;)HPn(n,KB(Y1(h),10));for(r=0;r<o;r++)n.d[r]||(h1(r,s.c.length),HPn(n,KB(s.c[r],10)));for(i=new Ub(n.b);i.a<i.c.c.length;)ZFn(KB(Y1(i),17),!0),oon(t,(oWn(),Bft),(oN(),!0));n.c=null,n.d=null,n.a=null,n.b=null,FSn(e)}function JHn(n,t){var e,i,r,c,a,u,o;for(n.a.c=L8(Int,FWn,1,0,5,1),i=upn(t.b,0);i.b!=i.d.c;)0==(e=KB(f3(i),86)).b.b&&(oon(e,(Bqn(),bkt),(oN(),!0)),UB(n.a,e));switch(n.a.c.length){case 0:oon(r=new isn(0,t,"DUMMY_ROOT"),(Bqn(),bkt),(oN(),!0)),oon(r,nkt,!0),NH(t.b,r);break;case 1:break;default:for(c=new isn(0,t,"SUPER_ROOT"),u=new Ub(n.a);u.a<u.c.c.length;)oon(o=new GQ(c,a=KB(Y1(u),86)),(Bqn(),nkt),(oN(),!0)),NH(c.a.a,o),NH(c.d,o),NH(a.b,o),oon(a,bkt,!1);oon(c,(Bqn(),bkt),(oN(),!0)),oon(c,nkt,!0),NH(t.b,c)}}function YHn(n,t){var e,r,c,a,u,o;return yDn(),a=t.c-(n.c+n.b),c=n.c-(t.c+t.b),u=n.d-(t.d+t.a),e=t.d-(n.d+n.a),r=i.Math.max(c,a),o=i.Math.max(u,e),o$(),ein(I3n),(i.Math.abs(r)<=I3n||0==r||isNaN(r)&&isNaN(0)?0:r<0?-1:r>0?1:qO(isNaN(r),isNaN(0)))>=0^(ein(I3n),(i.Math.abs(o)<=I3n||0==o||isNaN(o)&&isNaN(0)?0:o<0?-1:o>0?1:qO(isNaN(o),isNaN(0)))>=0)?i.Math.max(o,r):(ein(I3n),(i.Math.abs(r)<=I3n||0==r||isNaN(r)&&isNaN(0)?0:r<0?-1:r>0?1:qO(isNaN(r),isNaN(0)))>0?i.Math.sqrt(o*o+r*r):-i.Math.sqrt(o*o+r*r))}function ZHn(n,t){var e,i,r,c,a;if(t)if(!n.a&&(n.a=new Rv),2!=n.e)if(1!=t.e)0!=(a=n.a.a.c.length)?0!=(c=KB(fW(n.a,a-1),117)).e&&10!=c.e||0!=t.e&&10!=t.e?Sv(n.a,t):(0==t.e||t.bm().length,0==c.e?(e=new Mk,(i=c._l())>=KQn?iO(e,zln(i)):$X(e,i&WVn),c=new gY(10,null,0),mU(n.a,c,a-1)):(c.bm().length,iO(e=new Mk,c.bm())),0==t.e?(i=t._l())>=KQn?iO(e,zln(i)):$X(e,i&WVn):iO(e,t.bm()),KB(c,521).b=e.a):Sv(n.a,t);else for(r=0;r<t.em();r++)ZHn(n,t.am(r));else Sv(n.a,t)}function nqn(n){var t,e,i,r,c;return null!=n.g?n.g:n.a<32?(n.g=NUn(san(n.f),SY(n.e)),n.g):(r=BXn((!n.c&&(n.c=vhn(n.f)),n.c),0),0==n.e?r:(t=(!n.c&&(n.c=vhn(n.f)),n.c).e<0?2:1,e=r.length,i=-n.e+e-t,(c=new Sk).a+=""+r,n.e>0&&i>=-6?i>=0?mZ(c,e-SY(n.e),String.fromCharCode(46)):(c.a=sx(c.a,0,t-1)+"0."+YI(c.a,t-1),mZ(c,t+1,Kdn(Btt,0,-SY(i)-1))):(e-t>=1&&(mZ(c,t,String.fromCharCode(46)),++e),mZ(c,e,String.fromCharCode(69)),i>0&&mZ(c,++e,String.fromCharCode(43)),mZ(c,++e,""+gz(san(i)))),n.g=c.a,n.g))}function tqn(n,t,e){var i,r,c,a,u,o,s,h,f,l,b;if(!e.dc()){for(a=0,h=0,l=KB((i=e.Kc()).Pb(),19).a;a<t.f;){if(a==l&&(h=0,l=i.Ob()?KB(i.Pb(),19).a:t.f+1),a!=h)for(b=KB(Lq(n.b,a),29),f=KB(Lq(n.b,h),29),s=new Ub(r0(b.a));s.a<s.c.c.length;)if(Wyn(o=KB(Y1(s),10),f.a.c.length,f),0==h)for(c=new Ub(r0(sbn(o)));c.a<c.c.c.length;)ZFn(r=KB(Y1(c),17),!0),oon(n,(oWn(),Bft),(oN(),!0)),tGn(n,r,1);++h,++a}for(u=new E2(n.b,0);u.b<u.d.gc();)Mx(u.b<u.d.gc()),0==KB(u.d.Xb(u.c=u.b++),29).a.c.length&&sW(u)}}function eqn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m;for(h=(a=t.b).o,o=a.d,i=Hy(ED(wpn(a,(FXn(),vpt)))),r=Hy(ED(wpn(a,ypt))),s=Hy(ED(wpn(a,Opt))),eH(u=new sm,o.d,o.c,o.a,o.b),l=ERn(t,i,r,s),p=new Ub(t.d);p.a<p.c.c.length;){for(w=(g=KB(Y1(p),101)).f.a.ec().Kc();w.Ob();)c=(b=KB(w.Pb(),409)).a,f=kTn(b),v=new mm,fTn(b,b.c,l,v),_Mn(b,f,l,v),fTn(b,b.d,l,v),e=v,e=n.Uf(b,f,e),vQ(c.a),_rn(c.a,e),QT(new xq(null,new l1(e,16)),new lP(h,u));(d=g.i)&&(rTn(g,d,l,r),dgn(h,u,m=new lA(d.g)),GR(m,d.j),dgn(h,u,m))}eH(o,u.d,u.c,u.a,u.b)}function iqn(n,t,e){var i,r,c;if((r=KB(pMn(t,(FXn(),Mdt)),275))!=(QMn(),ift)){switch(CTn(e,"Horizontal Compaction",1),n.a=t,Xk(i=new vOn(((c=new P7).d=t,c.c=KB(pMn(c.d,Jdt),218),GDn(c),TGn(c),uRn(c),c.a)),n.b),1===KB(pMn(t,Tdt),422).g?Uk(i,new wrn(n.a)):Uk(i,(SQ(),sit)),r.g){case 1:S$n(i);break;case 2:S$n(jzn(i,(_fn(),_Pt)));break;case 3:S$n(Gk(jzn(S$n(i),(_fn(),_Pt)),new gr));break;case 4:S$n(Gk(jzn(S$n(i),(_fn(),_Pt)),new md(c)));break;case 5:S$n(zk(i,lst))}jzn(i,(_fn(),RPt)),i.e=!0,Azn(c),FSn(e)}}function rqn(n,t,e,i,r,c,a,u){var o,s,h,f;switch(o=c6(Mun(Hk(_Et,1),FWn,220,0,[t,e,i,r])),f=null,n.b.g){case 1:f=c6(Mun(Hk(Zjt,1),FWn,526,0,[new Ya,new Qa,new Ja]));break;case 0:f=c6(Mun(Hk(Zjt,1),FWn,526,0,[new Ja,new Qa,new Ya]));break;case 2:f=c6(Mun(Hk(Zjt,1),FWn,526,0,[new Qa,new Ya,new Ja]))}for(h=new Ub(f);h.a<h.c.c.length;)s=KB(Y1(h),526),o.c.length>1&&(o=s.mg(o,n.a,u));return 1==o.c.length?KB(Lq(o,o.c.length-1),220):2==o.c.length?_Hn((h1(0,o.c.length),KB(o.c[0],220)),(h1(1,o.c.length),KB(o.c[1],220)),a,c):null}function cqn(n){var t,e,r,c,a,u;for(Ctn(n.a,new nt),e=new Ub(n.a);e.a<e.c.c.length;)t=KB(Y1(e),221),r=zR(K$(KB(n.b,65).c),KB(t.b,65).c),nct?(u=KB(n.b,65).b,a=KB(t.b,65).b,i.Math.abs(r.a)>=i.Math.abs(r.b)?(r.b=0,a.d+a.a>u.d&&a.d<u.d+u.a&&$H(r,i.Math.max(u.c-(a.c+a.b),a.c-(u.c+u.b)))):(r.a=0,a.c+a.b>u.c&&a.c<u.c+u.b&&$H(r,i.Math.max(u.d-(a.d+a.a),a.d-(u.d+u.a))))):$H(r,jFn(KB(n.b,65),KB(t.b,65))),c=i.Math.sqrt(r.a*r.a+r.b*r.b),$H(r,c=FEn(Urt,t,c,r)),AG(KB(t.b,65),r),Ctn(t.a,new Iw(r)),KB(Urt.b,65),D8(Urt,Xrt,t)}function aqn(n){var t,e,r,c,a,u,o,s,f,l,b,w;for(n.f=new _v,o=0,r=0,c=new Ub(n.e.b);c.a<c.c.c.length;)for(u=new Ub(KB(Y1(c),29).a);u.a<u.c.c.length;){for((a=KB(Y1(u),10)).p=o++,e=new az(JL(hbn(a).a.Kc(),new h));bAn(e);)KB(G5(e),17).p=r++;for(t=IHn(a),l=new Ub(a.j);l.a<l.c.c.length;)f=KB(Y1(l),11),t&&(w=f.a.b)!=i.Math.floor(w)&&(s=w-y2(san(i.Math.round(w))),f.a.b-=s),(b=f.n.b+f.a.b)!=i.Math.floor(b)&&(s=b-y2(san(i.Math.round(b))),f.n.b-=s)}n.g=o,n.b=r,n.i=L8(nyt,FWn,401,o,0,1),n.c=L8(Qmt,FWn,649,r,0,1),n.d.a.$b()}function uqn(n){var t,e,i,r,c,a,u,o,s;if(n.ej())if(o=n.fj(),n.i>0){if(t=new NI(n.i,n.g),c=(e=n.i)<100?null:new _j(e),n.ij())for(i=0;i<n.i;++i)a=n.g[i],c=n.kj(a,c);if(r6(n),r=1==e?n.Zi(4,Utn(t,0),null,0,o):n.Zi(6,t,null,-1,o),n.bj()){for(i=new rx(t);i.e!=i.i.gc();)c=n.dj(ypn(i),c);c?(c.Ei(r),c.Fi()):n.$i(r)}else c?(c.Ei(r),c.Fi()):n.$i(r)}else r6(n),n.$i(n.Zi(6,(TQ(),uet),null,-1,o));else if(n.bj())if(n.i>0){for(u=n.g,s=n.i,r6(n),c=s<100?null:new _j(s),i=0;i<s;++i)a=u[i],c=n.dj(a,c);c&&c.Fi()}else r6(n);else r6(n)}function oqn(n,t,e){var r,c,a,u,o,s,h,f,l;for(Ran(this),e==(bY(),Ayt)?jU(this.r,n):jU(this.w,n),f=xQn,h=DQn,u=t.a.ec().Kc();u.Ob();)c=KB(u.Pb(),46),o=KB(c.a,455),(s=(r=KB(c.b,17)).c)==n&&(s=r.d),jU(o==Ayt?this.r:this.w,s),l=(mUn(),vIt).Hc(s.j)?Hy(ED(pMn(s,(oWn(),Alt)))):Ion(Mun(Hk(MMt,1),uVn,8,0,[s.i.n,s.n,s.a])).b,f=i.Math.min(f,l),h=i.Math.max(h,l);for(zMn(this,(mUn(),vIt).Hc(n.j)?Hy(ED(pMn(n,(oWn(),Alt)))):Ion(Mun(Hk(MMt,1),uVn,8,0,[n.i.n,n.n,n.a])).b,f,h),a=t.a.ec().Kc();a.Ob();)c=KB(a.Pb(),46),ZSn(this,KB(c.b,17));this.o=!1}function sqn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m;return e=8191&n.l,i=n.l>>13|(15&n.m)<<9,r=n.m>>4&8191,c=n.m>>17|(255&n.h)<<5,a=(1048320&n.h)>>8,g=i*(u=8191&t.l),p=r*u,v=c*u,m=a*u,0!=(o=t.l>>13|(15&t.m)<<9)&&(g+=e*o,p+=i*o,v+=r*o,m+=c*o),0!=(s=t.m>>4&8191)&&(p+=e*s,v+=i*s,m+=r*s),0!=(h=t.m>>17|(255&t.h)<<5)&&(v+=e*h,m+=i*h),0!=(f=(1048320&t.h)>>8)&&(m+=e*f),b=((d=e*u)>>22)+(g>>9)+((262143&p)<<4)+((31&v)<<17),w=(p>>18)+(v>>5)+((4095&m)<<8),w+=(b+=(l=(d&TQn)+((511&g)<<13))>>22)>>22,E$(l&=TQn,b&=TQn,w&=MQn)}function hqn(n){var t,e,r,c,a,u,o;if(0!=(o=KB(Lq(n.j,0),11)).g.c.length&&0!=o.e.c.length)throw Fp(new _y("Interactive layout does not support NORTH/SOUTH ports with incoming _and_ outgoing edges."));if(0!=o.g.c.length){for(a=xQn,e=new Ub(o.g);e.a<e.c.c.length;)t=KB(Y1(e),17),r=KB(pMn(u=t.d.i,(FXn(),Sgt)),142),a=i.Math.min(a,u.n.a-r.b);return new Bf(vX(a))}if(0!=o.e.c.length){for(c=DQn,e=new Ub(o.e);e.a<e.c.c.length;)t=KB(Y1(e),17),r=KB(pMn(u=t.c.i,(FXn(),Sgt)),142),c=i.Math.max(c,u.n.a+u.o.a+r.c);return new Bf(vX(c))}return ty(),ty(),Cnt}function fqn(n,t){var e,i,r,c,a,u;if(n.Fk()){if(n.i>4){if(!n.wj(t))return!1;if(n.rk()){if(u=(e=(i=KB(t,49)).Ug())==n.e&&(n.Dk()?i.Og(i.Vg(),n.zk())==n.Ak():-1-i.Vg()==n.aj()),n.Ek()&&!u&&!e&&i.Zg())for(r=0;r<n.i;++r)if(HI(n.Gk(KB(n.g[r],56)))===HI(t))return!0;return u}if(n.Dk()&&!n.Ck()){if(HI(c=KB(t,56).ah(Svn(KB(n.ak(),18))))===HI(n.e))return!0;if(null==c||!KB(c,56).kh())return!1}}if(a=Tjn(n,t),n.Ek()&&!a)for(r=0;r<n.i;++r)if(HI(i=n.Gk(KB(n.g[r],56)))===HI(t))return!0;return a}return Tjn(n,t)}function lqn(n,t){var e,i,r,c,a,u,o,s,h,f,l;for(h=new $p,l=new xv,a=t.b,r=0;r<a.c.length;r++){for(s=(h1(r,a.c.length),KB(a.c[r],29)).a,h.c=L8(Int,FWn,1,0,5,1),c=0;c<s.c.length;c++)(u=n.a[r][c]).p=c,u.k==(cSn(),Put)&&(h.c[h.c.length]=u),i5(KB(Lq(t.b,r),29).a,c,u),u.j.c=L8(Int,FWn,1,0,5,1),wun(u.j,KB(KB(Lq(n.b,r),15).Xb(c),14)),A_(KB(pMn(u,(FXn(),npt)),98))||oon(u,npt,(WEn(),GCt));for(i=new Ub(h);i.a<i.c.c.length;)f=WRn(e=KB(Y1(i),10)),l.a.zc(f,l),l.a.zc(e,l)}for(o=l.a.ec().Kc();o.Ob();)u=KB(o.Pb(),10),TQ(),p$(u.j,(qsn(),ust)),u.i=!0,nIn(u)}function bqn(n,t){var e,i,r,c,a,u,o,s,h,f;if(h=KB(pMn(n,(oWn(),Wft)),61),i=KB(Lq(n.j,0),11),h==(mUn(),uIt)?BCn(i,TIt):h==TIt&&BCn(i,uIt),KB(pMn(t,(FXn(),_gt)),174).Hc((pdn(),RIt))){if(o=Hy(ED(pMn(n,Spt))),s=Hy(ED(pMn(n,Ppt))),a=Hy(ED(pMn(n,Tpt))),(u=KB(pMn(t,ipt),21)).Hc((hIn(),nIt)))for(e=s,f=n.o.a/2-i.n.a,c=new Ub(i.f);c.a<c.c.c.length;)(r=KB(Y1(c),70)).n.b=e,r.n.a=f-r.o.a/2,e+=r.o.b+a;else if(u.Hc(eIt))for(c=new Ub(i.f);c.a<c.c.c.length;)(r=KB(Y1(c),70)).n.a=o+n.o.a-i.n.a;s0(new Mw((wM(),new FV(t,!1,!1,new Ft))),new RK(null,n,!1))}}function wqn(n,t){var e,r,c,a,u,o,s;if(0!=t.c.length){for(TQ(),vG(t.c,t.c.length,null),r=KB(Y1(c=new Ub(t)),145);c.a<c.c.c.length;)e=KB(Y1(c),145),!ren(r.e.c,e.e.c)||Ddn(KD(r.e).b,e.e.d)||Ddn(KD(e.e).b,r.e.d)?(nFn(n,r),r=e):(wun(r.k,e.k),wun(r.b,e.b),wun(r.c,e.c),_rn(r.i,e.i),wun(r.d,e.d),wun(r.j,e.j),a=i.Math.min(r.e.c,e.e.c),u=i.Math.min(r.e.d,e.e.d),o=i.Math.max(r.e.c+r.e.b,e.e.c+e.e.b)-a,s=i.Math.max(r.e.d+r.e.a,e.e.d+e.e.a)-u,LH(r.e,a,u,o,s),Z1(r.f,e.f),!r.a&&(r.a=e.a),wun(r.g,e.g),UB(r.g,e));nFn(n,r)}}function dqn(n,t,e,i){var r,c,a,u,o,s;if((u=n.j)==(mUn(),MIt)&&t!=(WEn(),WCt)&&t!=(WEn(),VCt)&&(BCn(n,u=qKn(n,e)),!(n.q?n.q:(TQ(),TQ(),oet))._b((FXn(),Zgt))&&u!=MIt&&(0!=n.n.a||0!=n.n.b)&&oon(n,Zgt,ykn(n,u))),t==(WEn(),UCt)){switch(s=0,u.g){case 1:case 3:(c=n.i.o.a)>0&&(s=n.n.a/c);break;case 2:case 4:(r=n.i.o.b)>0&&(s=n.n.b/r)}oon(n,(oWn(),jlt),s)}if(o=n.o,a=n.a,i)a.a=i.a,a.b=i.b,n.d=!0;else if(t!=WCt&&t!=VCt&&u!=MIt)switch(u.g){case 1:a.a=o.a/2;break;case 2:a.a=o.a,a.b=o.b/2;break;case 3:a.a=o.a/2,a.b=o.b;break;case 4:a.b=o.b/2}else a.a=o.a/2,a.b=o.b/2}function gqn(n){var t,e,i,r,c,a,u,o,s,h;if(n.ej())if(h=n.Vi(),o=n.fj(),h>0)if(t=new ycn(n.Gi()),c=(e=h)<100?null:new _j(e),QD(n,e,t.g),r=1==e?n.Zi(4,Utn(t,0),null,0,o):n.Zi(6,t,null,-1,o),n.bj()){for(i=new IL(t);i.e!=i.i.gc();)c=n.dj(mpn(i),c);c?(c.Ei(r),c.Fi()):n.$i(r)}else c?(c.Ei(r),c.Fi()):n.$i(r);else QD(n,n.Vi(),n.Wi()),n.$i(n.Zi(6,(TQ(),uet),null,-1,o));else if(n.bj())if((h=n.Vi())>0){for(u=n.Wi(),s=h,QD(n,h,u),c=s<100?null:new _j(s),i=0;i<s;++i)a=u[i],c=n.dj(a,c);c&&c.Fi()}else QD(n,n.Vi(),n.Wi());else QD(n,n.Vi(),n.Wi())}function pqn(n,t,e){var i,r,c,a,u,o,s,h,f,l,b;for(u=new Ub(t);u.a<u.c.c.length;)(c=KB(Y1(u),233)).e=null,c.c=0;for(o=null,a=new Ub(t);a.a<a.c.c.length;)if(f=(c=KB(Y1(a),233)).d[0],!e||f.k==(cSn(),Sut)){for(b=KB(pMn(f,(oWn(),ilt)),15).Kc();b.Ob();)l=KB(b.Pb(),10),e&&l.k!=(cSn(),Sut)||((!c.e&&(c.e=new $p),c.e).Fc(n.b[l.c.p][l.p]),++n.b[l.c.p][l.p].c);if(!e&&f.k==(cSn(),Sut)){if(o)for(h=KB(o6(n.d,o),21).Kc();h.Ob();)for(s=KB(h.Pb(),10),r=KB(o6(n.d,f),21).Kc();r.Ob();)i=KB(r.Pb(),10),GB(n.b[s.c.p][s.p]).Fc(n.b[i.c.p][i.p]),++n.b[i.c.p][i.p].c;o=f}}}function vqn(n,t){var e,i,r,c,a,u,o;for(e=0,o=new $p,c=new Ub(t);c.a<c.c.c.length;){switch(r=KB(Y1(c),11),Ysn(n.b,n.d[r.p]),o.c=L8(Int,FWn,1,0,5,1),r.i.k.g){case 0:Ctn(KB(pMn(r,(oWn(),klt)),10).j,new Jd(o));break;case 1:T$(Won(IV(new xq(null,new l1(r.i.j,16)),new Yd(r))),new Zd(o));break;case 3:UB(o,new eI(KB(pMn(r,(oWn(),blt)),11),tln(r.e.c.length+r.g.c.length)))}for(u=new Ub(o);u.a<u.c.c.length;)a=KB(Y1(u),46),(i=EE(n,KB(a.a,11)))>n.d[r.p]&&(e+=Y4(n.b,i)*KB(a.b,19).a,b3(n.a,tln(i)));for(;!Uy(n.a);)Enn(n.b,KB(bU(n.a),19).a)}return e}function mqn(n,t,e,r){var c,a,u,o,s,h,f,l,b,w;for((f=new lA(KB(JAn(n,(TMn(),FMt)),8))).a=i.Math.max(f.a-e.b-e.c,0),f.b=i.Math.max(f.b-e.d-e.a,0),(null==(c=ED(JAn(n,NMt)))||(mW(c),c<=0))&&(c=1.3),u=new $p,l=new IL((!n.a&&(n.a=new nU(qOt,n,10,11)),n.a));l.e!=l.i.gc();)a=new qx(KB(mpn(l),33)),u.c[u.c.length]=a;switch(KB(JAn(n,xMt),311).g){case 3:w=rFn(u,t,f.a,f.b,(s=r,mW(c),s));break;case 1:w=gBn(u,t,f.a,f.b,(h=r,mW(c),h));break;default:w=Eqn(u,t,f.a,f.b,(o=r,mW(c),o))}DUn(n,(b=vXn(new Htn(w),t,e,f.a,f.b,r,(mW(c),c))).a,b.b,!1,!0)}function yqn(n,t){var e,i,r,c;c=new Z_((e=t.b).j),r=0,(i=e.j).c=L8(Int,FWn,1,0,5,1),nX(KB(wan(n.b,(mUn(),uIt),(Srn(),xst)),15),e),r=Qmn(c,r,new xr,i),nX(KB(wan(n.b,uIt,Nst),15),e),r=Qmn(c,r,new Nr,i),nX(KB(wan(n.b,uIt,Lst),15),e),nX(KB(wan(n.b,aIt,xst),15),e),nX(KB(wan(n.b,aIt,Nst),15),e),r=Qmn(c,r,new Dr,i),nX(KB(wan(n.b,aIt,Lst),15),e),nX(KB(wan(n.b,TIt,xst),15),e),r=Qmn(c,r,new Rr,i),nX(KB(wan(n.b,TIt,Nst),15),e),r=Qmn(c,r,new _r,i),nX(KB(wan(n.b,TIt,Lst),15),e),nX(KB(wan(n.b,SIt,xst),15),e),r=Qmn(c,r,new Qr,i),nX(KB(wan(n.b,SIt,Nst),15),e),nX(KB(wan(n.b,SIt,Lst),15),e)}function kqn(n,t){var e,r,c,a,u,o,s,h,f,l,b,w,d,g;for(CTn(t,"Layer size calculation",1),f=xQn,h=DQn,c=!1,o=new Ub(n.b);o.a<o.c.c.length;)if((s=(u=KB(Y1(o),29)).c).a=0,s.b=0,0!=u.a.c.length){for(c=!0,b=new Ub(u.a);b.a<b.c.c.length;)d=(l=KB(Y1(b),10)).o,w=l.d,s.a=i.Math.max(s.a,d.a+w.b+w.c);g=(r=KB(Lq(u.a,0),10)).n.b-r.d.d,r.k==(cSn(),Eut)&&(g-=KB(pMn(n,(FXn(),Apt)),142).d),e=(a=KB(Lq(u.a,u.a.c.length-1),10)).n.b+a.o.b+a.d.a,a.k==Eut&&(e+=KB(pMn(n,(FXn(),Apt)),142).a),s.b=e-g,f=i.Math.min(f,g),h=i.Math.max(h,e)}c||(f=0,h=0),n.f.b=h-f,n.c.b-=f,FSn(t)}function jqn(n,t){var e,r,c,a,u,o,s,h,f,l,b,w,d,g,p;for(c=0,a=0,s=new Ub(n.a);s.a<s.c.c.length;)u=KB(Y1(s),10),c=i.Math.max(c,u.d.b),a=i.Math.max(a,u.d.c);for(o=new Ub(n.a);o.a<o.c.c.length;){switch(u=KB(Y1(o),10),KB(pMn(u,(FXn(),mdt)),248).g){case 1:w=0;break;case 2:w=1;break;case 5:w=.5;break;default:for(e=0,f=0,b=new Ub(u.j);b.a<b.c.c.length;)0==(l=KB(Y1(b),11)).e.c.length||++e,0==l.g.c.length||++f;w=e+f==0?.5:f/(e+f)}g=n.c,h=u.o.a,p=(g.a-h)*w,w>.5?p-=2*a*(w-.5):w<.5&&(p+=2*c*(.5-w)),p<(r=u.d.b)&&(p=r),d=u.d.c,p>g.a-d-h&&(p=g.a-d-h),u.n.a=t+p}}function Eqn(n,t,e,i,r){var c,a,u,o,s,h,f,l,b;for(u=L8($Nt,BQn,25,n.c.length,15,1),tkn(l=new zz(new Uu),n),s=0,b=new $p;0!=l.b.c.length;)if(a=KB(0==l.b.c.length?null:Lq(l.b,0),157),s>1&&tG(a)*nG(a)/2>u[0]){for(c=0;c<b.c.length-1&&tG(a)*nG(a)/2>u[c];)++c;f=new Htn(new u1(b,0,c+1)),h=tG(a)/nG(a),o=vXn(f,t,new fm,e,i,r,h),GR(mO(f.e),o),_8(nMn(l,f)),tkn(l,new u1(b,c+1,b.c.length)),b.c=L8(Int,FWn,1,0,5,1),s=0,yG(u,u.length,0)}else null!=(0==l.b.c.length?null:Lq(l.b,0))&&orn(l,0),s>0&&(u[s]=u[s-1]),u[s]+=tG(a)*nG(a),++s,b.c[b.c.length]=a;return b}function Tqn(n){var t,e,i;if((e=KB(pMn(n,(FXn(),mgt)),163))==(jbn(),_lt)){for(t=new az(JL(sbn(n).a.Kc(),new h));bAn(t);)if(!z5(KB(G5(t),17)))throw Fp(new ek(M1n+wyn(n)+"' has its layer constraint set to FIRST_SEPARATE, but has at least one incoming edge. FIRST_SEPARATE nodes must not have incoming edges."))}else if(e==Flt)for(i=new az(JL(hbn(n).a.Kc(),new h));bAn(i);)if(!z5(KB(G5(i),17)))throw Fp(new ek(M1n+wyn(n)+"' has its layer constraint set to LAST_SEPARATE, but has at least one outgoing edge. LAST_SEPARATE nodes must not have outgoing edges."))}function Mqn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b;for(CTn(t,"Label dummy removal",1),i=Hy(ED(pMn(n,(FXn(),ypt)))),r=Hy(ED(pMn(n,Tpt))),o=KB(pMn(n,Gdt),103),u=new Ub(n.b);u.a<u.c.c.length;)for(h=new E2(KB(Y1(u),29).a,0);h.b<h.d.gc();)Mx(h.b<h.d.gc()),(s=KB(h.d.Xb(h.c=h.b++),10)).k==(cSn(),Tut)&&(f=KB(pMn(s,(oWn(),blt)),17),b=Hy(ED(pMn(f,rgt))),a=HI(pMn(s,clt))===HI((zyn(),kCt)),e=new lA(s.n),a&&(e.b+=b+i),c=new LC(s.o.a,s.o.b-b-i),l=KB(pMn(s,Mlt),15),o==(_fn(),FPt)||o==DPt?IDn(l,e,r,c,a,o):Bhn(l,e,r,c),wun(f.b,l),eGn(s,HI(pMn(n,Jdt))===HI((Ebn(),VPt))),sW(h));FSn(t)}function Sqn(n,t,e,i){var r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y;for(u=new $p,r=new Ub(t.a);r.a<r.c.c.length;)for(a=new Ub(KB(Y1(r),10).j);a.a<a.c.c.length;){for(s=null,m=0,y=(v=J0((c=KB(Y1(a),11)).g)).length;m<y;++m)lan((p=v[m]).d.i,e)||((g=AHn(n,t,e,p,p.c,(rin(),Bvt),s))!=s&&(u.c[u.c.length]=g),g.c&&(s=g));for(o=null,w=0,d=(b=J0(c.e)).length;w<d;++w)lan((l=b[w]).c.i,e)||((g=AHn(n,t,e,l,l.d,(rin(),Fvt),o))!=o&&(u.c[u.c.length]=g),g.c&&(o=g))}for(f=new Ub(u);f.a<f.c.c.length;)h=KB(Y1(f),441),-1!=k7(t.a,h.a,0)||UB(t.a,h.a),h.c&&(i.c[i.c.length]=h)}function Pqn(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w;for(CTn(e,"Interactive cycle breaking",1),h=new $p,l=new Ub(t.a);l.a<l.c.c.length;)for((f=KB(Y1(l),10)).p=1,b=_jn(f).a,s=Lwn(f,(rin(),Bvt)).Kc();s.Ob();)for(c=new Ub(KB(s.Pb(),11).g);c.a<c.c.c.length;)(w=(i=KB(Y1(c),17)).d.i)!=f&&_jn(w).a<b&&(h.c[h.c.length]=i);for(a=new Ub(h);a.a<a.c.c.length;)ZFn(i=KB(Y1(a),17),!0);for(h.c=L8(Int,FWn,1,0,5,1),o=new Ub(t.a);o.a<o.c.c.length;)(u=KB(Y1(o),10)).p>0&&hPn(n,u,h);for(r=new Ub(h);r.a<r.c.c.length;)ZFn(i=KB(Y1(r),17),!0);h.c=L8(Int,FWn,1,0,5,1),FSn(e)}function Cqn(n,t){var e,i,r,c,a,u,o,s,h;return s="",0==t.length?n.de(zVn,qVn,-1,-1):(p_((h=xMn(t)).substr(0,3),"at ")&&(h=h.substr(3)),-1==(a=(h=h.replace(/\[.*?\]/g,"")).indexOf("("))?-1==(a=h.indexOf("@"))?(s=h,h=""):(s=xMn(h.substr(a+1)),h=xMn(h.substr(0,a))):(e=h.indexOf(")",a),s=h.substr(a+1,e-(a+1)),h=xMn(h.substr(0,a))),-1!=(a=HO(h,VTn(46)))&&(h=h.substr(a+1)),(0==h.length||p_(h,"Anonymous function"))&&(h=qVn),u=pN(s,VTn(58)),r=E_(s,VTn(58),u-1),o=-1,i=-1,c=zVn,-1!=u&&-1!=r&&(c=s.substr(0,r),o=ox(s.substr(r+1,u-(r+1))),i=ox(s.substr(u+1))),n.de(c,h,o,i))}function Iqn(n,t,e){var i,r,c,a,u,o;if(0==t.l&&0==t.m&&0==t.h)throw Fp(new Cy("divide by zero"));if(0==n.l&&0==n.m&&0==n.h)return e&&(htt=E$(0,0,0)),E$(0,0,0);if(t.h==SQn&&0==t.m&&0==t.l)return _bn(n,e);if(o=!1,t.h>>19&&(t=ron(t),o=!o),a=CLn(t),c=!1,r=!1,i=!1,n.h==SQn&&0==n.m&&0==n.l){if(r=!0,c=!0,-1!=a)return u=yAn(n,a),o&&Con(u),e&&(htt=E$(0,0,0)),u;n=UO((z7(),ftt)),i=!0,o=!o}else n.h>>19&&(c=!0,n=ron(n),i=!0,o=!o);return-1!=a?Kon(n,a,o,c,e):Dkn(n,t)<0?(e&&(htt=c?ron(n):E$(n.l,n.m,n.h)),E$(0,0,0)):oKn(i?n:E$(n.l,n.m,n.h),t,o,c,r,e)}function Oqn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w;if(n.e&&n.c.c<n.f)throw Fp(new _y("Expected "+n.f+" phases to be configured; only found "+n.c.c));for(h=KB(Xj(n.g),9),b=ux(n.f),u=0,s=(c=h).length;u<s;++u)(f=KB(N7(n,(i=c[u]).g),246))?UB(b,KB(awn(n,f),123)):b.c[b.c.length]=null;for(w=new K2,QT(IV(OV(IV(new xq(null,new l1(b,16)),new hu),new kg(t)),new fu),new jg(w)),Qcn(w,n.a),e=new $p,a=0,o=(r=h).length;a<o;++a)wun(e,kun(n,QQ(KB(N7(w,(i=r[a]).g),20)))),(l=KB(Lq(b,i.g),123))&&(e.c[e.c.length]=l);return wun(e,kun(n,QQ(KB(N7(w,h[h.length-1].g+1),20)))),e}function Aqn(n,t,e){var r,c,a,u,o,s,h,f,l,b,w;for(CTn(e,"Model order cycle breaking",1),n.a=0,n.b=0,l=new $p,h=t.a.c.length,s=new Ub(t.a);s.a<s.c.c.length;)Ax(o=KB(Y1(s),10),(oWn(),llt))&&(h=i.Math.max(h,KB(pMn(o,llt),19).a+1));for(w=new Ub(t.a);w.a<w.c.c.length;)for(u=qPn(n,b=KB(Y1(w),10),h),f=Lwn(b,(rin(),Bvt)).Kc();f.Ob();)for(a=new Ub(KB(f.Pb(),11).g);a.a<a.c.c.length;)qPn(n,(r=KB(Y1(a),17)).d.i,h)<u&&(l.c[l.c.length]=r);for(c=new Ub(l);c.a<c.c.c.length;)ZFn(r=KB(Y1(c),17),!0),oon(t,(oWn(),Bft),(oN(),!0));l.c=L8(Int,FWn,1,0,5,1),FSn(e)}function $qn(n,t){var e,i,r,c,a,u,o;if(!(n.g>t.f||t.g>n.f)){for(e=0,i=0,a=n.w.a.ec().Kc();a.Ob();)r=KB(a.Pb(),11),dhn(Ion(Mun(Hk(MMt,1),uVn,8,0,[r.i.n,r.n,r.a])).b,t.g,t.f)&&++e;for(u=n.r.a.ec().Kc();u.Ob();)r=KB(u.Pb(),11),dhn(Ion(Mun(Hk(MMt,1),uVn,8,0,[r.i.n,r.n,r.a])).b,t.g,t.f)&&--e;for(o=t.w.a.ec().Kc();o.Ob();)r=KB(o.Pb(),11),dhn(Ion(Mun(Hk(MMt,1),uVn,8,0,[r.i.n,r.n,r.a])).b,n.g,n.f)&&++i;for(c=t.r.a.ec().Kc();c.Ob();)r=KB(c.Pb(),11),dhn(Ion(Mun(Hk(MMt,1),uVn,8,0,[r.i.n,r.n,r.a])).b,n.g,n.f)&&--i;e<i?new T6(n,t,i-e):i<e?new T6(t,n,e-i):(new T6(t,n,0),new T6(n,t,0))}}function Lqn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v;for(s=t.c,r=WA(n.e),f=mL(Kx(K$(XA(n.e)),n.d*n.a,n.c*n.b),-.5),e=r.a-f.a,i=r.b-f.b,e=(a=t.a).c-e,i=a.d-i,o=new Ub(s);o.a<o.c.c.length;){switch(b=e+(l=(u=KB(Y1(o),395)).b).a,g=i+l.b,w=SY(b/n.a),p=SY(g/n.b),(c=u.a).g){case 0:Fpn(),h=Krt;break;case 1:Fpn(),h=_rt;break;case 2:Fpn(),h=Frt;break;default:Fpn(),h=Brt}c.a?(v=SY((g+u.c)/n.b),UB(n.f,new LK(h,tln(p),tln(v))),c==(Bpn(),Zrt)?lon(n,0,p,w,v):lon(n,w,p,n.d-1,v)):(d=SY((b+u.c)/n.a),UB(n.f,new LK(h,tln(w),tln(d))),c==(Bpn(),Jrt)?lon(n,w,0,d,p):lon(n,w,p,d,n.c-1))}}function Nqn(n,t){var e,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y;for(l=new $p,c=new $p,d=null,u=t.Kc();u.Ob();)a=new Fd(KB(u.Pb(),19).a),c.c[c.c.length]=a,d&&(a.d=d,d.e=a),d=a;for(m=qFn(n),h=0;h<c.c.length;++h){for(b=null,g=N6((h1(0,c.c.length),KB(c.c[0],652))),e=null,r=xQn,f=1;f<n.b.c.length;++f)p=g?i.Math.abs(g.b-f):i.Math.abs(f-b.b)+1,(w=b?i.Math.abs(f-b.b):p+1)<p?(s=b,o=w):(s=g,o=p),y=Hy(ED(pMn(n,(FXn(),Fpt)))),(v=m[f]+i.Math.pow(o,y))<r&&(r=v,(e=s).c=f),g&&f==g.b&&(b=g,g=Lz(g));e&&(UB(l,tln(e.c)),e.a=!0,gln(e))}return TQ(),vG(l.c,l.c.length,null),l}function xqn(n){var t,e,i,r,c,a,u,o,s,h;for(t=new To,e=new To,s=p_(D9n,(r=$Kn(n.b,R9n))?TD(idn((!r.b&&(r.b=new Qx((wWn(),v$t),G$t,r)),r.b),_9n)):null),o=0;o<n.i;++o)iL(u=KB(n.g[o],170),99)?(a=KB(u,18)).Bb&o6n?(!(a.Bb&oVn)||!s&&null==((c=$Kn(a,R9n))?TD(idn((!c.b&&(c.b=new Qx((wWn(),v$t),G$t,c)),c.b),Y6n)):null))&&s9(t,a):(h=Svn(a))&&h.Bb&o6n||(!(a.Bb&oVn)||!s&&null==((i=$Kn(a,R9n))?TD(idn((!i.b&&(i.b=new Qx((wWn(),v$t),G$t,i)),i.b),Y6n)):null))&&s9(e,a):(JM(),KB(u,66).Oj()&&(u.Jj()||(s9(t,u),s9(e,u))));ihn(t),ihn(e),n.a=KB(t.g,247),KB(e.g,247)}function Dqn(n,t,e){var i,r,c,a,u,o,s,h,f,l,b;for(o=LSn(t),KB(pMn(t,(FXn(),Bdt)),314)!=(Cin(),oht)&&n5(o,new vt),n5(o,new Nw(KB(pMn(t,xdt),292))),b=0,s=new $p,r=new fV(o);r.a!=r.b;)i=KB(Rhn(r),37),OGn(n.c,i),b+=(f=KB(pMn(i,(oWn(),Elt)),15)).gc(),UB(s,new eI(i,f.Kc()));for(CTn(e,"Recursive hierarchical layout",b),l=KB(KB(Lq(s,s.c.length-1),46).b,47);l.Ob();)for(u=new Ub(s);u.a<u.c.c.length;)for(a=KB(Y1(u),46),f=KB(a.b,47),c=KB(a.a,37);f.Ob();){if(iL(h=KB(f.Pb(),51),507)){if(c.e)break;h.pf(c,pcn(e,1));break}h.pf(c,pcn(e,1))}FSn(e)}function Rqn(n,t){var e,i,r,c,a,u,o,s;if(f1(u=t.length-1,t.length),93==(a=t.charCodeAt(u))){if((c=HO(t,VTn(91)))>=0)return r=bbn(n,t.substr(1,c-1)),VUn(n,t.substr(c+1,u-(c+1)),r)}else{if(e=-1,null==ktt&&(ktt=new RegExp("\\d")),ktt.test(String.fromCharCode(a))&&(e=E_(t,VTn(46),u-1))>=0){i=KB(X5(n,Mtn(n,t.substr(1,e-1)),!1),58),o=0;try{o=hKn(t.substr(e+1),RVn,NWn)}catch(h){throw iL(h=hun(h),127)?Fp(new A7(h)):Fp(h)}if(o<i.gc())return iL(s=i.Xb(o),72)&&(s=KB(s,72).dd()),KB(s,56)}if(e<0)return KB(X5(n,Mtn(n,t.substr(1)),!1),56)}return null}function _qn(n,t,e){var i,r,c,a,u,o,s;if(Iwn(t,e)>=0)return e;switch(NW(K7(n,e))){case 2:if(p_("",Sfn(n,e.Hj()).ne())){if(o=p$n(n,t,u=yV(K7(n,e)),mV(K7(n,e))))return o;for(a=0,s=(r=y_n(n,t)).gc();a<s;++a)if(rNn(CU(K7(n,o=KB(r.Xb(a),170))),u))return o}return null;case 4:if(p_("",Sfn(n,e.Hj()).ne())){for(i=e;i;i=Q1(K7(n,i)))if(o=v$n(n,t,yV(K7(n,i)),mV(K7(n,i))))return o;if(u=yV(K7(n,e)),p_(T7n,u))return pjn(n,t);for(a=0,s=(c=k_n(n,t)).gc();a<s;++a)if(rNn(CU(K7(n,o=KB(c.Xb(a),170))),u))return o}return null;default:return null}}function Kqn(n,t,e){var i,r,c,a,u,o,s,h;if(0==e.gc())return!1;if(JM(),c=(u=KB(t,66).Oj())?e:new wtn(e.gc()),Oxn(n.e,t)){if(t.hi())for(s=e.Kc();s.Ob();)GFn(n,t,o=s.Pb(),iL(t,99)&&!!(KB(t,18).Bb&KQn))||(r=J3(t,o),c.Hc(r)||c.Fc(r));else if(!u)for(s=e.Kc();s.Ob();)r=J3(t,o=s.Pb()),c.Fc(r)}else{if(e.gc()>1)throw Fp(new Ry(P7n));for(h=rxn(n.e.Tg(),t),i=KB(n.g,119),a=0;a<n.i;++a)if(r=i[a],h.rl(r.ak())){if(e.Hc(u?r:r.dd()))return!1;for(s=e.Kc();s.Ob();)o=s.Pb(),KB(avn(n,a,u?KB(o,72):J3(t,o)),72);return!0}u||(r=J3(t,e.Kc().Pb()),c.Fc(r))}return dX(n,c)}function Fqn(n,t){var e,r,c,a,u,o,s;for(s=new VT,o=new Db(new Cb(n.c).a.vc().Kc());o.a.Ob();)c=KB(o.a.Pb(),42),0==(a=KB(c.dd(),458)).b&&e5(s,a,s.c.b,s.c);for(;0!=s.b;)for(null==(a=KB(0==s.b?null:(Mx(0!=s.b),Itn(s,s.a.a)),458)).a&&(a.a=0),r=new Ub(a.d);r.a<r.c.c.length;)null==(e=KB(Y1(r),654)).b.a?e.b.a=Hy(a.a)+e.a:t.o==(aZ(),eyt)?e.b.a=i.Math.min(Hy(e.b.a),Hy(a.a)+e.a):e.b.a=i.Math.max(Hy(e.b.a),Hy(a.a)+e.a),--e.b.b,0==e.b.b&&NH(s,e.b);for(u=new Db(new Cb(n.c).a.vc().Kc());u.a.Ob();)c=KB(u.a.Pb(),42),a=KB(c.dd(),458),t.i[a.c.p]=a.a}function Bqn(){Bqn=O,ukt=new cp(CZn),new tR("DEPTH",tln(0)),tkt=new tR("FAN",tln(0)),Zyt=new tR(G3n,tln(0)),bkt=new tR("ROOT",(oN(),!1)),ikt=new tR("LEFTNEIGHBOR",null),fkt=new tR("RIGHTNEIGHBOR",null),rkt=new tR("LEFTSIBLING",null),lkt=new tR("RIGHTSIBLING",null),nkt=new tR("DUMMY",!1),new tR("LEVEL",tln(0)),hkt=new tR("REMOVABLE_EDGES",new VT),wkt=new tR("XCOOR",tln(0)),dkt=new tR("YCOOR",tln(0)),ckt=new tR("LEVELHEIGHT",0),ekt=new tR("ID",""),okt=new tR("POSITION",tln(0)),skt=new tR("PRELIM",0),akt=new tR("MODIFIER",0),Yyt=new cp(OZn),Jyt=new cp(AZn)}function Hqn(n,t,e,r){var c,a,u,o,s,h,f,l,b,w;for(f=e+t.c.c.a,w=new Ub(t.j);w.a<w.c.c.length;){if(b=KB(Y1(w),11),c=Ion(Mun(Hk(MMt,1),uVn,8,0,[b.i.n,b.n,b.a])),t.k==(cSn(),Put)&&(o=KB(pMn(b,(oWn(),blt)),11),c.a=Ion(Mun(Hk(MMt,1),uVn,8,0,[o.i.n,o.n,o.a])).a,t.n.a=c.a),u=new LC(0,c.b),b.j==(mUn(),aIt))u.a=f;else{if(b.j!=SIt)continue;u.a=e}if(!(i.Math.abs(c.a-u.a)<=r)||$kn(t))for(a=b.g.c.length+b.e.c.length>1,h=new p6(b.b);v$(h.a)||v$(h.b);)l=(s=KB(v$(h.a)?Y1(h.a):Y1(h.b),17)).c==b?s.d:s.c,i.Math.abs(Ion(Mun(Hk(MMt,1),uVn,8,0,[l.i.n,l.n,l.a])).b-u.b)>1&&dxn(n,s,u,a,b)}}function qqn(n){var t,e,r,c,a,u;if(c=new E2(n.e,0),r=new E2(n.a,0),n.d)for(e=0;e<n.b;e++)Mx(c.b<c.d.gc()),c.d.Xb(c.c=c.b++);else for(e=0;e<n.b-1;e++)Mx(c.b<c.d.gc()),c.d.Xb(c.c=c.b++),sW(c);for(t=Hy((Mx(c.b<c.d.gc()),ED(c.d.Xb(c.c=c.b++))));n.f-t>N3n;){for(a=t,u=0;i.Math.abs(t-a)<N3n;)++u,t=Hy((Mx(c.b<c.d.gc()),ED(c.d.Xb(c.c=c.b++)))),Mx(r.b<r.d.gc()),r.d.Xb(r.c=r.b++);u<n.b&&(Mx(c.b>0),c.a.Xb(c.c=--c.b),NFn(n,n.b-u,a,r,c),Mx(c.b<c.d.gc()),c.d.Xb(c.c=c.b++)),Mx(r.b>0),r.a.Xb(r.c=--r.b)}if(!n.d)for(e=0;e<n.b-1;e++)Mx(c.b<c.d.gc()),c.d.Xb(c.c=c.b++),sW(c);n.d=!0,n.c=!0}function Gqn(){Gqn=O,wLt=(iE(),bLt).b,pLt=KB(Utn(WQ(bLt.b),0),34),dLt=KB(Utn(WQ(bLt.b),1),34),gLt=KB(Utn(WQ(bLt.b),2),34),PLt=bLt.bb,KB(Utn(WQ(bLt.bb),0),34),KB(Utn(WQ(bLt.bb),1),34),ILt=bLt.fb,OLt=KB(Utn(WQ(bLt.fb),0),34),KB(Utn(WQ(bLt.fb),1),34),KB(Utn(WQ(bLt.fb),2),18),$Lt=bLt.qb,xLt=KB(Utn(WQ(bLt.qb),0),34),KB(Utn(WQ(bLt.qb),1),18),KB(Utn(WQ(bLt.qb),2),18),LLt=KB(Utn(WQ(bLt.qb),3),34),NLt=KB(Utn(WQ(bLt.qb),4),34),RLt=KB(Utn(WQ(bLt.qb),6),34),DLt=KB(Utn(WQ(bLt.qb),5),18),vLt=bLt.j,mLt=bLt.k,yLt=bLt.q,kLt=bLt.w,jLt=bLt.B,ELt=bLt.A,TLt=bLt.C,MLt=bLt.D,SLt=bLt._,CLt=bLt.cb,ALt=bLt.hb}function zqn(n,t,e){var r,c,a,u,o,s,h,f,l;n.c=0,n.b=0,r=2*t.c.a.c.length+1;n:for(h=e.Kc();h.Ob();){if(l=0,u=(s=KB(h.Pb(),11)).j==(mUn(),uIt)||s.j==TIt){if(!(f=KB(pMn(s,(oWn(),klt)),10)))continue;l+=tRn(n,r,s,f)}else{for(o=new Ub(s.g);o.a<o.c.c.length;){if((c=KB(Y1(o),17).d).i.c==t.c){UB(n.a,s);continue n}l+=n.g[c.p]}for(a=new Ub(s.e);a.a<a.c.c.length;){if((c=KB(Y1(a),17).c).i.c==t.c){UB(n.a,s);continue n}l-=n.g[c.p]}}s.e.c.length+s.g.c.length>0?(n.f[s.p]=l/(s.e.c.length+s.g.c.length),n.c=i.Math.min(n.c,n.f[s.p]),n.b=i.Math.max(n.b,n.f[s.p])):u&&(n.f[s.p]=l)}}function Uqn(n){n.b=null,n.bb=null,n.fb=null,n.qb=null,n.a=null,n.c=null,n.d=null,n.e=null,n.f=null,n.n=null,n.M=null,n.L=null,n.Q=null,n.R=null,n.K=null,n.db=null,n.eb=null,n.g=null,n.i=null,n.j=null,n.k=null,n.gb=null,n.o=null,n.p=null,n.q=null,n.r=null,n.$=null,n.ib=null,n.S=null,n.T=null,n.t=null,n.s=null,n.u=null,n.v=null,n.w=null,n.B=null,n.A=null,n.C=null,n.D=null,n.F=null,n.G=null,n.H=null,n.I=null,n.J=null,n.P=null,n.Z=null,n.U=null,n.V=null,n.W=null,n.X=null,n.Y=null,n._=null,n.ab=null,n.cb=null,n.hb=null,n.nb=null,n.lb=null,n.mb=null,n.ob=null,n.pb=null,n.jb=null,n.kb=null,n.N=!1,n.O=!1}function Xqn(n,t,e){var i,r;for(CTn(e,"Graph transformation ("+n.a+")",1),r=r0(t.a),i=new Ub(t.b);i.a<i.c.c.length;)wun(r,KB(Y1(i),29).a);if(KB(pMn(t,(FXn(),zdt)),419)==(Rnn(),Tht))switch(KB(pMn(t,Gdt),103).g){case 2:A2(t,r);break;case 3:fdn(t,r);break;case 4:n.a==(Trn(),But)?(fdn(t,r),O2(t,r)):(O2(t,r),fdn(t,r))}else if(n.a==(Trn(),But))switch(KB(pMn(t,Gdt),103).g){case 2:A2(t,r),O2(t,r);break;case 3:fdn(t,r),A2(t,r);break;case 4:A2(t,r),fdn(t,r)}else switch(KB(pMn(t,Gdt),103).g){case 2:A2(t,r),O2(t,r);break;case 3:A2(t,r),fdn(t,r);break;case 4:fdn(t,r),A2(t,r)}FSn(e)}function Wqn(n,t,e){var i,r,c,a,u,o,s,f,l,b,w;for(o=new sA,s=new sA,b=new sA,w=new sA,u=Hy(ED(pMn(t,(FXn(),Cpt)))),r=Hy(ED(pMn(t,vpt))),a=new Ub(e);a.a<a.c.c.length;)if(c=KB(Y1(a),10),(f=KB(pMn(c,(oWn(),Wft)),61))==(mUn(),uIt))for(s.a.zc(c,s),i=new az(JL(sbn(c).a.Kc(),new h));bAn(i);)jU(o,KB(G5(i),17).c.i);else if(f==TIt)for(w.a.zc(c,w),i=new az(JL(sbn(c).a.Kc(),new h));bAn(i);)jU(b,KB(G5(i),17).c.i);0!=o.a.gc()&&(l=IGn(new sX(2,r),t,o,s,-u-t.c.b))>0&&(n.a=u+(l-1)*r,t.c.b+=n.a,t.f.b+=n.a),0!=b.a.gc()&&(l=IGn(new sX(1,r),t,b,w,t.f.b+u-t.c.b))>0&&(t.f.b+=u+(l-1)*r)}function Vqn(n,t){var e,i,r,c;c=n.F,null==t?(n.F=null,Nsn(n,null)):(n.F=(mW(t),t),-1!=(i=HO(t,VTn(60)))?(r=t.substr(0,i),-1==HO(t,VTn(46))&&!p_(r,OWn)&&!p_(r,T9n)&&!p_(r,M9n)&&!p_(r,S9n)&&!p_(r,P9n)&&!p_(r,C9n)&&!p_(r,I9n)&&!p_(r,O9n)&&(r=A9n),-1!=(e=pN(t,VTn(62)))&&(r+=""+t.substr(e+1)),Nsn(n,r)):(r=t,-1==HO(t,VTn(46))&&(-1!=(i=HO(t,VTn(91)))&&(r=t.substr(0,i)),p_(r,OWn)||p_(r,T9n)||p_(r,M9n)||p_(r,S9n)||p_(r,P9n)||p_(r,C9n)||p_(r,I9n)||p_(r,O9n)?r=t:(r=A9n,-1!=i&&(r+=""+t.substr(i)))),Nsn(n,r),r==t&&(n.F=n.D))),4&n.Db&&!(1&n.Db)&&fan(n,new Yz(n,1,5,c,t))}function Qqn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m;if(!((d=t.b.c.length)<3)){for(b=L8(CNt,oQn,25,d,15,1),f=0,h=new Ub(t.b);h.a<h.c.c.length;)s=KB(Y1(h),29),b[f++]=s.a.c.length;for(l=new E2(t.b,2),i=1;i<d-1;i++)for(Mx(l.b<l.d.gc()),w=new Ub((e=KB(l.d.Xb(l.c=l.b++),29)).a),c=0,u=0,o=0;o<b[i+1];o++)if(m=KB(Y1(w),10),o==b[i+1]-1||VSn(n,m,i+1,i)){for(a=b[i]-1,VSn(n,m,i+1,i)&&(a=n.c.e[KB(KB(KB(Lq(n.c.b,m.p),15).Xb(0),46).a,10).p]);u<=o;){if(!VSn(n,v=KB(Lq(e.a,u),10),i+1,i))for(p=KB(Lq(n.c.b,v.p),15).Kc();p.Ob();)g=KB(p.Pb(),46),((r=n.c.e[KB(g.a,10).p])<c||r>a)&&jU(n.b,KB(g.b,17));++u}c=a}}}function Jqn(n,t){var e;if(null==t||p_(t,qWn))return null;if(0==t.length&&n.k!=(MPn(),dMt))return null;switch(n.k.g){case 1:return pgn(t,r5n)?(oN(),gtt):pgn(t,c5n)?(oN(),dtt):null;case 2:try{return tln(hKn(t,RVn,NWn))}catch(i){if(iL(i=hun(i),127))return null;throw Fp(i)}case 4:try{return fSn(t)}catch(i){if(iL(i=hun(i),127))return null;throw Fp(i)}case 3:return t;case 5:return ehn(n),FIn(n,t);case 6:return ehn(n),D$n(n,n.a,t);case 7:try{return(e=eAn(n)).Jf(t),e}catch(i){if(iL(i=hun(i),32))return null;throw Fp(i)}default:throw Fp(new _y("Invalid type set for this layout option."))}}function Yqn(n){var t,e,i,r,c,a,u;for(Nnn(),u=new Xv,e=new Ub(n);e.a<e.c.c.length;)t=KB(Y1(e),140),(!u.b||t.c>=u.b.c)&&(u.b=t),(!u.c||t.c<=u.c.c)&&(u.d=u.c,u.c=t),(!u.e||t.d>=u.e.d)&&(u.e=t),(!u.f||t.d<=u.f.d)&&(u.f=t);return i=new jpn((Iun(),Jat)),t2(n,aut,new Qy(Mun(Hk(Qat,1),FWn,369,0,[i]))),a=new jpn(nut),t2(n,cut,new Qy(Mun(Hk(Qat,1),FWn,369,0,[a]))),r=new jpn(Yat),t2(n,rut,new Qy(Mun(Hk(Qat,1),FWn,369,0,[r]))),c=new jpn(Zat),t2(n,iut,new Qy(Mun(Hk(Qat,1),FWn,369,0,[c]))),LLn(i.c,Jat),LLn(r.c,Yat),LLn(c.c,Zat),LLn(a.c,nut),u.a.c=L8(Int,FWn,1,0,5,1),wun(u.a,i.c),wun(u.a,nan(r.c)),wun(u.a,c.c),wun(u.a,nan(a.c)),u}function Zqn(n){var t;switch(n.d){case 1:if(n.hj())return-2!=n.o;break;case 2:if(n.hj())return-2==n.o;break;case 3:case 5:case 4:case 6:case 7:return n.o>-2;default:return!1}switch(t=n.gj(),n.p){case 0:return null!=t&&By(jD(t))!=QI(n.k,0);case 1:return null!=t&&KB(t,217).a!=bG(n.k)<<24>>24;case 2:return null!=t&&KB(t,172).a!=(bG(n.k)&WVn);case 6:return null!=t&&QI(KB(t,162).a,n.k);case 5:return null!=t&&KB(t,19).a!=bG(n.k);case 7:return null!=t&&KB(t,184).a!=bG(n.k)<<16>>16;case 3:return null!=t&&Hy(ED(t))!=n.j;case 4:return null!=t&&KB(t,155).a!=n.j;default:return null==t?null!=n.n:!$fn(t,n.n)}}function nGn(n,t,e){var i,r,c,a;return n.Fk()&&n.Ek()&&HI(a=Hz(n,KB(e,56)))!==HI(e)?(n.Oi(t),n.Ui(t,K9(n,t,a)),n.rk()&&(r=KB(e,49),c=n.Dk()?n.Bk()?r.ih(n.b,Svn(KB(ttn(yJ(n.b),n.aj()),18)).n,KB(ttn(yJ(n.b),n.aj()).Yj(),26).Bj(),null):r.ih(n.b,Iwn(r.Tg(),Svn(KB(ttn(yJ(n.b),n.aj()),18))),null,null):r.ih(n.b,-1-n.aj(),null,null),!KB(a,49).eh()&&(i=KB(a,49),c=n.Dk()?n.Bk()?i.gh(n.b,Svn(KB(ttn(yJ(n.b),n.aj()),18)).n,KB(ttn(yJ(n.b),n.aj()).Yj(),26).Bj(),c):i.gh(n.b,Iwn(i.Tg(),Svn(KB(ttn(yJ(n.b),n.aj()),18))),null,c):i.gh(n.b,-1-n.aj(),null,c)),c&&c.Fi()),pA(n.b)&&n.$i(n.Zi(9,e,a,t,!1)),a):e}function tGn(n,t,e){var r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k;for(f=Hy(ED(pMn(n,(FXn(),kpt)))),r=Hy(ED(pMn(n,xpt))),oon(b=new Ju,kpt,f+r),v=(h=t).d,g=h.c.i,m=h.d.i,p=ZO(g.c),y=ZO(m.c),c=new $p,l=p;l<=y;l++)Kl(o=new Ovn(n),(cSn(),Mut)),oon(o,(oWn(),blt),h),oon(o,npt,(WEn(),zCt)),oon(o,Ept,b),w=KB(Lq(n.b,l),29),l==p?Wyn(o,w.a.c.length-e,w):MZ(o,w),(k=Hy(ED(pMn(h,rgt))))<0&&oon(h,rgt,k=0),o.o.b=k,d=i.Math.floor(k/2),BCn(u=new SSn,(mUn(),SIt)),SZ(u,o),u.n.b=d,BCn(s=new SSn,aIt),SZ(s,o),s.n.b=d,EZ(h,u),Ban(a=new lJ,h),oon(a,ggt,null),TZ(a,s),EZ(a,v),qkn(o,h,a),c.c[c.c.length]=a,h=a;return c}function eGn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g;for(u=KB(NSn(n,(mUn(),SIt)).Kc().Pb(),11).e,f=KB(NSn(n,aIt).Kc().Pb(),11).g,a=u.c.length,g=w1(KB(Lq(n.j,0),11));a-- >0;){for(h1(0,u.c.length),b=KB(u.c[0],17),h1(0,f.c.length),r=k7((i=KB(f.c[0],17)).d.e,i,0),I2(b,i.d,r),TZ(i,null),EZ(i,null),l=b.a,t&&NH(l,new lA(g)),e=upn(i.a,0);e.b!=e.d.c;)NH(l,new lA(KB(f3(e),8)));for(d=b.b,h=new Ub(i.b);h.a<h.c.c.length;)s=KB(Y1(h),70),d.c[d.c.length]=s;if(w=KB(pMn(b,(FXn(),ggt)),74),c=KB(pMn(i,ggt),74))for(w||(w=new mm,oon(b,ggt,w)),o=upn(c,0);o.b!=o.d.c;)NH(w,new lA(KB(f3(o),8)))}}function iGn(n,t){var e,r,c,a,u,o,s,h,f,l,b,w;if(e=KB(aV(n.b,t),124),(s=KB(KB(o6(n.r,t),21),84)).dc())return e.n.b=0,void(e.n.c=0);for(h=n.u.Hc((hIn(),nIt)),u=0,o=s.Kc(),f=null,l=0,b=0;o.Ob();)c=Hy(ED((r=KB(o.Pb(),111)).b.We((NN(),Art)))),a=r.b.rf().a,n.A.Hc((pdn(),RIt))&&vRn(n,t),f?(w=b+f.d.c+n.w+r.d.b,u=i.Math.max(u,(o$(),ein(sYn),i.Math.abs(l-c)<=sYn||l==c||isNaN(l)&&isNaN(c)?0:w/(c-l)))):n.C&&n.C.b>0&&(u=i.Math.max(u,hcn(n.C.b+r.d.b,c))),f=r,l=c,b=a;n.C&&n.C.c>0&&(w=b+n.C.c,h&&(w+=f.d.c),u=i.Math.max(u,(o$(),ein(sYn),i.Math.abs(l-1)<=sYn||1==l||isNaN(l)&&isNaN(1)?0:w/(1-l)))),e.n.b=0,e.a.a=u}function rGn(n,t){var e,r,c,a,u,o,s,h,f,l,b,w;if(e=KB(aV(n.b,t),124),(s=KB(KB(o6(n.r,t),21),84)).dc())return e.n.d=0,void(e.n.a=0);for(h=n.u.Hc((hIn(),nIt)),u=0,n.A.Hc((pdn(),RIt))&&mRn(n,t),o=s.Kc(),f=null,b=0,l=0;o.Ob();)a=Hy(ED((r=KB(o.Pb(),111)).b.We((NN(),Art)))),c=r.b.rf().b,f?(w=l+f.d.a+n.w+r.d.d,u=i.Math.max(u,(o$(),ein(sYn),i.Math.abs(b-a)<=sYn||b==a||isNaN(b)&&isNaN(a)?0:w/(a-b)))):n.C&&n.C.d>0&&(u=i.Math.max(u,hcn(n.C.d+r.d.d,a))),f=r,b=a,l=c;n.C&&n.C.a>0&&(w=l+n.C.a,h&&(w+=f.d.a),u=i.Math.max(u,(o$(),ein(sYn),i.Math.abs(b-1)<=sYn||1==b||isNaN(b)&&isNaN(1)?0:w/(1-b)))),e.n.d=0,e.a.b=u}function cGn(n,t,e){var i,r,c,a,u,o;for(this.g=n,u=t.d.length,o=e.d.length,this.d=L8(Cut,r1n,10,u+o,0,1),a=0;a<u;a++)this.d[a]=t.d[a];for(c=0;c<o;c++)this.d[u+c]=e.d[c];if(t.e){if(this.e=qB(t.e),this.e.Mc(e),e.e)for(r=e.e.Kc();r.Ob();)(i=KB(r.Pb(),233))!=t&&(this.e.Hc(i)?--i.c:this.e.Fc(i))}else e.e&&(this.e=qB(e.e),this.e.Mc(t));this.f=t.f+e.f,this.a=t.a+e.a,this.a>0?Qtn(this,this.f/this.a):null!=hL(t.g,t.d[0]).a&&null!=hL(e.g,e.d[0]).a?Qtn(this,(Hy(hL(t.g,t.d[0]).a)+Hy(hL(e.g,e.d[0]).a))/2):null!=hL(t.g,t.d[0]).a?Qtn(this,hL(t.g,t.d[0]).a):null!=hL(e.g,e.d[0]).a&&Qtn(this,hL(e.g,e.d[0]).a)}function aGn(n,t){var e,i,r,c,a,u,o,s,h;for(n.a=new KX(Ocn(UPt)),i=new Ub(t.a);i.a<i.c.c.length;){for(e=KB(Y1(i),841),a=new Mgn(Mun(Hk(Wat,1),FWn,81,0,[])),UB(n.a.a,a),o=new Ub(e.d);o.a<o.c.c.length;)_Gn(s=new $N(n,u=KB(Y1(o),110)),KB(pMn(e.c,(oWn(),zft)),21)),oU(n.g,e)||(XW(n.g,e,new LC(u.c,u.d)),XW(n.f,e,s)),UB(n.a.b,s),w2(a,s);for(c=new Ub(e.b);c.a<c.c.c.length;)s=new $N(n,(r=KB(Y1(c),594)).kf()),XW(n.b,r,new eI(a,s)),_Gn(s,KB(pMn(e.c,(oWn(),zft)),21)),r.hf()&&(_Gn(h=new Tgn(n,r.hf(),1),KB(pMn(e.c,zft),21)),w2(new Mgn(Mun(Hk(Wat,1),FWn,81,0,[])),h),QIn(n.c,r.gf(),new eI(a,h)))}return n.a}function uGn(n){var t;this.a=n,t=(cSn(),Mun(Hk(Out,1),OVn,267,0,[Sut,Mut,Eut,Put,Tut,jut])).length,this.b=mq(hMt,[uVn,m3n],[593,146],0,[t,t],2),this.c=mq(hMt,[uVn,m3n],[593,146],0,[t,t],2),_J(this,Sut,(FXn(),Cpt),Ipt),Zan(this,Sut,Mut,kpt,jpt),RJ(this,Sut,Put,kpt),RJ(this,Sut,Eut,kpt),Zan(this,Sut,Tut,Cpt,Ipt),_J(this,Mut,vpt,mpt),RJ(this,Mut,Put,vpt),RJ(this,Mut,Eut,vpt),Zan(this,Mut,Tut,kpt,jpt),JA(this,Put,vpt),RJ(this,Put,Eut,vpt),RJ(this,Put,Tut,Mpt),JA(this,Eut,$pt),Zan(this,Eut,Tut,Ppt,Spt),_J(this,Tut,vpt,vpt),_J(this,jut,vpt,mpt),Zan(this,jut,Sut,kpt,jpt),Zan(this,jut,Tut,kpt,jpt),Zan(this,jut,Mut,kpt,jpt)}function oGn(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w,d,g;if(iL(a=e.ak(),99)&&KB(a,18).Bb&KQn&&(l=KB(e.dd(),49),(d=Zhn(n.e,l))!=l)){if(yL(n,t,uTn(n,t,h=J3(a,d))),f=null,pA(n.e)&&(i=_qn((PPn(),Q$t),n.e.Tg(),a))!=ttn(n.e.Tg(),n.c)){for(g=rxn(n.e.Tg(),a),u=0,c=KB(n.g,119),o=0;o<t;++o)r=c[o],g.rl(r.ak())&&++u;(f=new f4(n.e,9,i,l,d,u,!1)).Ei(new $7(n.e,9,n.c,e,h,t,!1))}return(b=Svn(w=KB(a,18)))?(f=l.ih(n.e,Iwn(l.Tg(),b),null,f),f=KB(d,49).gh(n.e,Iwn(d.Tg(),b),null,f)):w.Bb&o6n&&(s=-1-Iwn(n.e.Tg(),w),f=l.ih(n.e,s,null,null),!KB(d,49).eh()&&(f=KB(d,49).gh(n.e,s,null,f))),f&&f.Fi(),h}return e}function sGn(n){var t,e,r,c,a,u,o,s;for(a=new Ub(n.a.b);a.a<a.c.c.length;)(c=KB(Y1(a),81)).b.c=c.g.c,c.b.d=c.g.d;for(s=new LC(xQn,xQn),t=new LC(DQn,DQn),r=new Ub(n.a.b);r.a<r.c.c.length;)e=KB(Y1(r),81),s.a=i.Math.min(s.a,e.g.c),s.b=i.Math.min(s.b,e.g.d),t.a=i.Math.max(t.a,e.g.c+e.g.b),t.b=i.Math.max(t.b,e.g.d+e.g.a);for(o=jX(n.c).a.nc();o.Ob();)u=KB(o.Pb(),46),e=KB(u.b,81),s.a=i.Math.min(s.a,e.g.c),s.b=i.Math.min(s.b,e.g.d),t.a=i.Math.max(t.a,e.g.c+e.g.b),t.b=i.Math.max(t.b,e.g.d+e.g.a);n.d=Bx(new LC(s.a,s.b)),n.e=zR(new LC(t.a,t.b),s),n.a.a.c=L8(Int,FWn,1,0,5,1),n.a.b.c=L8(Int,FWn,1,0,5,1)}function hGn(n){var t,e,i;for(msn(sAt,Mun(Hk(Rit,1),FWn,130,0,[new $f])),e=new jl(n),i=0;i<e.a.length;++i)p_(t=bnn(e,i).je().a,"layered")?msn(sAt,Mun(Hk(Rit,1),FWn,130,0,[new of])):p_(t,"force")?msn(sAt,Mun(Hk(Rit,1),FWn,130,0,[new qh])):p_(t,"stress")?msn(sAt,Mun(Hk(Rit,1),FWn,130,0,[new zh])):p_(t,"mrtree")?msn(sAt,Mun(Hk(Rit,1),FWn,130,0,[new Mf])):p_(t,"radial")?msn(sAt,Mun(Hk(Rit,1),FWn,130,0,[new vf])):p_(t,"disco")?msn(sAt,Mun(Hk(Rit,1),FWn,130,0,[new Hh,new Fh])):p_(t,"sporeOverlap")||p_(t,"sporeCompaction")?msn(sAt,Mun(Hk(Rit,1),FWn,130,0,[new jf])):p_(t,"rectpacking")&&msn(sAt,Mun(Hk(Rit,1),FWn,130,0,[new Cf]))}function fGn(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p;if(l=new lA(n.o),p=t.a/l.a,u=t.b/l.b,d=t.a-l.a,c=t.b-l.b,e)for(r=HI(pMn(n,(FXn(),npt)))===HI((WEn(),zCt)),w=new Ub(n.j);w.a<w.c.c.length;)switch((b=KB(Y1(w),11)).j.g){case 1:r||(b.n.a*=p);break;case 2:b.n.a+=d,r||(b.n.b*=u);break;case 3:r||(b.n.a*=p),b.n.b+=c;break;case 4:r||(b.n.b*=u)}for(s=new Ub(n.b);s.a<s.c.c.length;)h=(o=KB(Y1(s),70)).n.a+o.o.a/2,f=o.n.b+o.o.b/2,(g=h/l.a)+(a=f/l.b)>=1&&(g-a>0&&f>=0?(o.n.a+=d,o.n.b+=c*a):g-a<0&&h>=0&&(o.n.a+=d*g,o.n.b+=c));n.o.a=t.a,n.o.b=t.b,oon(n,(FXn(),_gt),(pdn(),new V_(i=KB(Xj(VIt),9),KB(TR(i,i.length),9),0)))}function lGn(n,t,e,i,r,c){if(null!=t&&zbn(t,CAt,IAt))throw Fp(new Ry("invalid scheme: "+t));if(!(n||null!=e&&-1==HO(e,VTn(35))&&e.length>0&&(f1(0,e.length),47!=e.charCodeAt(0))))throw Fp(new Ry("invalid opaquePart: "+e));if(n&&(null==t||!LT(mAt,t.toLowerCase()))&&null!=e&&zbn(e,OAt,AAt))throw Fp(new Ry(a9n+e));if(n&&null!=t&<(mAt,t.toLowerCase())&&!SEn(e))throw Fp(new Ry(a9n+e));if(!Gbn(i))throw Fp(new Ry("invalid device: "+i));if(!xhn(r))throw Fp(new Ry(null==r?"invalid segments: null":"invalid segment: "+uhn(r)));if(null!=c&&-1!=HO(c,VTn(35)))throw Fp(new Ry("invalid query: "+c))}function bGn(n,t){var e,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v;for(CTn(t,"Calculate Graph Size",1),t.n&&n&&v0(t,a2(n),(Ksn(),cOt)),o=JYn,s=JYn,a=Y3n,u=Y3n,l=new IL((!n.a&&(n.a=new nU(qOt,n,10,11)),n.a));l.e!=l.i.gc();)d=(h=KB(mpn(l),33)).i,g=h.j,v=h.g,r=h.f,c=KB(JAn(h,(uWn(),OSt)),142),o=i.Math.min(o,d-c.b),s=i.Math.min(s,g-c.d),a=i.Math.max(a,d+v+c.c),u=i.Math.max(u,g+r+c.a);for(b=new LC(o-(w=KB(JAn(n,(uWn(),zSt)),116)).b,s-w.d),f=new IL((!n.a&&(n.a=new nU(qOt,n,10,11)),n.a));f.e!=f.i.gc();)Men(h=KB(mpn(f),33),h.i-b.a),Sen(h,h.j-b.b);p=a-o+(w.b+w.c),e=u-s+(w.d+w.a),Ten(n,p),Een(n,e),t.n&&n&&v0(t,a2(n),(Ksn(),cOt))}function wGn(n){var t,e,i,r,c,a,u,o,s,h;for(i=new $p,a=new Ub(n.e.a);a.a<a.c.c.length;){for(h=0,(r=KB(Y1(a),121)).k.c=L8(Int,FWn,1,0,5,1),e=new Ub(mbn(r));e.a<e.c.c.length;)(t=KB(Y1(e),213)).f&&(UB(r.k,t),++h);1==h&&(i.c[i.c.length]=r)}for(c=new Ub(i);c.a<c.c.c.length;)for(r=KB(Y1(c),121);1==r.k.c.length;){for(s=KB(Y1(new Ub(r.k)),213),n.b[s.c]=s.g,u=s.d,o=s.e,e=new Ub(mbn(r));e.a<e.c.c.length;)$fn(t=KB(Y1(e),213),s)||(t.f?u==t.d||o==t.e?n.b[s.c]-=n.b[t.c]-t.g:n.b[s.c]+=n.b[t.c]-t.g:r==u?t.d==r?n.b[s.c]+=t.g:n.b[s.c]-=t.g:t.d==r?n.b[s.c]-=t.g:n.b[s.c]+=t.g);v7(u.k,s),v7(o.k,s),r=u==r?s.e:s.d}}function dGn(n,t){var e,i,r,c,a,u,o,s,h,f,l;if(null==t||0==t.length)return null;if(!(c=KB(TY(n.f,t),23))){for(r=new Db(new Cb(n.d).a.vc().Kc());r.a.Ob();)if(a=KB(r.a.Pb(),42),u=(e=KB(a.dd(),23)).f,l=t.length,p_(u.substr(u.length-l,l),t)&&(t.length==u.length||46==sV(u,u.length-t.length-1))){if(c)return null;c=e}if(!c)for(i=new Db(new Cb(n.d).a.vc().Kc());i.a.Ob();)if(a=KB(i.a.Pb(),42),null!=(f=(e=KB(a.dd(),23)).g))for(s=0,h=(o=f).length;s<h;++s)if(u=o[s],l=t.length,p_(u.substr(u.length-l,l),t)&&(t.length==u.length||46==sV(u,u.length-t.length-1))){if(c)return null;c=e}c&&pZ(n.f,t,c)}return c}function gGn(n,t){var e,i,r,c,a;for(e=new Pk,a=!1,c=0;c<t.length;c++)if(f1(c,t.length),32!=(i=t.charCodeAt(c)))a?39==i?c+1<t.length&&(f1(c+1,t.length),39==t.charCodeAt(c+1))?(e.a+=String.fromCharCode(i),++c):a=!1:e.a+=String.fromCharCode(i):HO("GyMLdkHmsSEcDahKzZv",VTn(i))>0?(Mpn(n,e,0),e.a+=String.fromCharCode(i),Mpn(n,e,r=ign(t,c)),c+=r-1):39==i?c+1<t.length&&(f1(c+1,t.length),39==t.charCodeAt(c+1))?(e.a+="'",++c):a=!0:e.a+=String.fromCharCode(i);else for(Mpn(n,e,0),e.a+=" ",Mpn(n,e,0);c+1<t.length&&(f1(c+1,t.length),32==t.charCodeAt(c+1));)++c;Mpn(n,e,0),dTn(n)}function pGn(n,t,e){var r,c,a,u,o,s,h,f,l,b,w,d,g,p;if(CTn(e,"Network simplex layering",1),n.b=t,p=4*KB(pMn(t,(FXn(),Lpt)),19).a,(g=n.b.a).c.length<1)FSn(e);else{for(d=null,c=upn(a=P_n(n,g),0);c.b!=c.d.c;){for(r=KB(f3(c),15),o=p*SY(i.Math.sqrt(r.gc())),U_n(Wk(Qk(Vk(KK(u=aKn(r)),o),d),!0),pcn(e,1)),l=n.b.b,w=new Ub(u.a);w.a<w.c.c.length;){for(b=KB(Y1(w),121);l.c.length<=b.e;)mG(l,l.c.length,new FX(n.b));MZ(KB(b.f,10),KB(Lq(l,b.e),29))}if(a.b>1)for(d=L8(CNt,oQn,25,n.b.b.c.length,15,1),f=0,h=new Ub(n.b.b);h.a<h.c.c.length;)s=KB(Y1(h),29),d[f++]=s.a.c.length}g.c=L8(Int,FWn,1,0,5,1),n.a=null,n.b=null,n.c=null,FSn(e)}}function vGn(n){var t,e,r,c,a,u,o;for(t=0,a=new Ub(n.b.a);a.a<a.c.c.length;)(r=KB(Y1(a),189)).b=0,r.c=0;for(kSn(n,0),nwn(n,n.g),mNn(n.c),Jy(n.c),_fn(),e=RPt,N_n(nO(Ezn(N_n(nO(Ezn(N_n(Ezn(n.c,e)),yln(e)))),e))),Ezn(n.c,RPt),Kln(n,n.g),mMn(n,0),dHn(n,0),E$n(n,1),kSn(n,1),nwn(n,n.d),mNn(n.c),u=new Ub(n.b.a);u.a<u.c.c.length;)r=KB(Y1(u),189),t+=i.Math.abs(r.c);for(o=new Ub(n.b.a);o.a<o.c.c.length;)(r=KB(Y1(o),189)).b=0,r.c=0;for(e=FPt,N_n(nO(Ezn(N_n(nO(Ezn(N_n(Jy(Ezn(n.c,e))),yln(e)))),e))),Ezn(n.c,RPt),Kln(n,n.d),mMn(n,1),dHn(n,1),E$n(n,0),Jy(n.c),c=new Ub(n.b.a);c.a<c.c.c.length;)r=KB(Y1(c),189),t+=i.Math.abs(r.c);return t}function mGn(n,t){var e,i,r,c,a,u,o,s,h;if(null!=(s=t).b&&null!=n.b){for(j$n(n),BHn(n),j$n(s),BHn(s),e=L8(CNt,oQn,25,n.b.length+s.b.length,15,1),h=0,i=0,a=0;i<n.b.length&&a<s.b.length;)if(r=n.b[i],c=n.b[i+1],u=s.b[a],o=s.b[a+1],c<u)i+=2;else if(c>=u&&r<=o)u<=r&&c<=o?(e[h++]=r,e[h++]=c,i+=2):u<=r?(e[h++]=r,e[h++]=o,n.b[i]=o+1,a+=2):c<=o?(e[h++]=u,e[h++]=c,i+=2):(e[h++]=u,e[h++]=o,n.b[i]=o+1);else{if(!(o<r))throw Fp(new by("Token#intersectRanges(): Internal Error: ["+n.b[i]+","+n.b[i+1]+"] & ["+s.b[a]+","+s.b[a+1]+"]"));a+=2}for(;i<n.b.length;)e[h++]=n.b[i++],e[h++]=n.b[i++];n.b=L8(CNt,oQn,25,h,15,1),rHn(e,0,n.b,0,h)}}function yGn(n){var t,e,r,c,a,u,o;for(t=new $p,n.g=new $p,n.d=new $p,u=new csn(new Mb(n.f.b).a);u.b;)UB(t,KB(KB((a=Ztn(u)).dd(),46).b,81)),bA(KB(a.cd(),594).gf())?UB(n.d,KB(a.dd(),46)):UB(n.g,KB(a.dd(),46));for(nwn(n,n.d),nwn(n,n.g),n.c=new uOn(n.b),nj(n.c,(gM(),Hat)),Kln(n,n.d),Kln(n,n.g),wun(t,n.c.a.b),n.e=new LC(xQn,xQn),n.a=new LC(DQn,DQn),r=new Ub(t);r.a<r.c.c.length;)e=KB(Y1(r),81),n.e.a=i.Math.min(n.e.a,e.g.c),n.e.b=i.Math.min(n.e.b,e.g.d),n.a.a=i.Math.max(n.a.a,e.g.c+e.g.b),n.a.b=i.Math.max(n.a.b,e.g.d+e.g.a);Zk(n.c,new jt),o=0;do{c=vGn(n),++o}while((o<2||c>DVn)&&o<10);Zk(n.c,new Et),vGn(n),PU(n.c),sGn(n.f)}function kGn(n,t,e){var i,r,c,a,u,o,s,h,f,l;if(By(jD(pMn(e,(FXn(),lgt)))))for(r=new Ub(e.j);r.a<r.c.c.length;)for(u=0,o=(a=J0(KB(Y1(r),11).g)).length;u<o;++u)(c=a[u]).d.i==e&&By(jD(pMn(c,bgt)))&&(h=c.c,(s=KB(xX(n.b,h),10))||(oon(s=fXn(h,(WEn(),WCt),h.j,-1,null,null,h.o,KB(pMn(t,Gdt),103),t),(oWn(),blt),h),XW(n.b,h,s),UB(t.a,s)),l=c.d,(f=KB(xX(n.b,l),10))||(oon(f=fXn(l,(WEn(),WCt),l.j,1,null,null,l.o,KB(pMn(t,Gdt),103),t),(oWn(),blt),l),XW(n.b,l,f),UB(t.a,f)),TZ(i=U5(c),KB(Lq(s.j,0),11)),EZ(i,KB(Lq(f.j,0),11)),QIn(n.a,c,new AK(i,t,(rin(),Bvt))),KB(pMn(t,(oWn(),Jft)),21).Fc((fDn(),hft)))}function jGn(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w;for(CTn(e,"Label dummy switching",1),i=KB(pMn(t,(FXn(),Xdt)),227),dcn(t),r=y$n(t,i),n.a=L8($Nt,BQn,25,t.b.c.length,15,1),OPn(),h=0,b=(u=Mun(Hk(cht,1),OVn,227,0,[Jst,Zst,Qst,Yst,nht,Vst])).length;h<b;++h)if(((c=u[h])==nht||c==Vst||c==Yst)&&!KB(TN(r.a,c)?r.b[c.g]:null,15).dc()){Jcn(n,t);break}for(f=0,w=(o=Mun(Hk(cht,1),OVn,227,0,[Jst,Zst,Qst,Yst,nht,Vst])).length;f<w;++f)(c=o[f])==nht||c==Vst||c==Yst||H_n(n,KB(TN(r.a,c)?r.b[c.g]:null,15));for(s=0,l=(a=Mun(Hk(cht,1),OVn,227,0,[Jst,Zst,Qst,Yst,nht,Vst])).length;s<l;++s)((c=a[s])==nht||c==Vst||c==Yst)&&H_n(n,KB(TN(r.a,c)?r.b[c.g]:null,15));n.a=null,FSn(e)}function EGn(n,t){var e,i,r,c,a,u,o,s,h,f,l;switch(n.k.g){case 1:if(i=KB(pMn(n,(oWn(),blt)),17),(e=KB(pMn(i,wlt),74))?By(jD(pMn(i,Slt)))&&(e=Qon(e)):e=new mm,s=KB(pMn(n,olt),11)){if(t<=(h=Ion(Mun(Hk(MMt,1),uVn,8,0,[s.i.n,s.n,s.a]))).a)return h.b;e5(e,h,e.a,e.a.a)}if(f=KB(pMn(n,slt),11)){if((l=Ion(Mun(Hk(MMt,1),uVn,8,0,[f.i.n,f.n,f.a]))).a<=t)return l.b;e5(e,l,e.c.b,e.c)}if(e.b>=2){for(a=KB(f3(o=upn(e,0)),8),u=KB(f3(o),8);u.a<t&&o.b!=o.d.c;)a=u,u=KB(f3(o),8);return a.b+(t-a.a)/(u.a-a.a)*(u.b-a.b)}break;case 3:switch(r=(c=KB(pMn(KB(Lq(n.j,0),11),(oWn(),blt)),11)).i,c.j.g){case 1:return r.n.b;case 3:return r.n.b+r.o.b}}return _jn(n).b}function TGn(n){var t,e,i,r,c,a,u,o,s,f;for(c=new Ub(n.d.b);c.a<c.c.c.length;)for(u=new Ub(KB(Y1(c),29).a);u.a<u.c.c.length;)!By(jD(pMn(a=KB(Y1(u),10),(FXn(),jdt))))||o3(obn(a))?(r=new GV(a.n.a-a.d.b,a.n.b-a.d.d,a.o.a+a.d.b+a.d.c,a.o.b+a.d.d+a.d.a),t=CN(tM(ZT(nM(new Uv,a),r),bst),n.a),PN(YT(zen(new zv,Mun(Hk(fit,1),FWn,57,0,[t])),t),n.a),o=new Np,XW(n.e,t,o),(e=_3(new az(JL(sbn(a).a.Kc(),new h)))-_3(new az(JL(hbn(a).a.Kc(),new h))))<0?Gun(o,!0,(_fn(),RPt)):e>0&&Gun(o,!0,(_fn(),_Pt)),a.k==(cSn(),Eut)&&lV(o),XW(n.f,a,t)):((s=(i=KB(tJ(obn(a)),17)).c.i)==a&&(s=i.d.i),f=new eI(s,zR(K$(a.n),s.n)),XW(n.b,a,f))}function MGn(n,t,e){var r,c,a,u,o,s,h,f;switch(CTn(e,"Node promotion heuristic",1),n.g=t,vUn(n),n.q=KB(pMn(t,(FXn(),Tgt)),260),f=KB(pMn(n.g,Egt),19).a,a=new hi,n.q.g){case 2:case 1:default:RHn(n,a);break;case 3:for(n.q=(uNn(),Cvt),RHn(n,a),s=0,o=new Ub(n.a);o.a<o.c.c.length;)u=KB(Y1(o),19),s=i.Math.max(s,u.a);s>n.j&&(n.q=jvt,RHn(n,a));break;case 4:for(n.q=(uNn(),Cvt),RHn(n,a),h=0,c=new Ub(n.b);c.a<c.c.c.length;)r=ED(Y1(c)),h=i.Math.max(h,(mW(r),r));h>n.k&&(n.q=Mvt,RHn(n,a));break;case 6:RHn(n,new ad(SY(i.Math.ceil(n.f.length*f/100))));break;case 5:RHn(n,new ud(SY(i.Math.ceil(n.d*f/100))))}aDn(n,t),FSn(e)}function SGn(n,t,e){var i,r,c,a;this.j=n,this.e=BEn(n),this.o=this.j.e,this.i=!!this.o,this.p=this.i?KB(Lq(e,gW(this.o).p),214):null,r=KB(pMn(n,(oWn(),Jft)),21),this.g=r.Hc((fDn(),hft)),this.b=new $p,this.d=new ldn(this.e),a=KB(pMn(this.j,Tlt),230),this.q=Fan(t,a,this.e),this.k=new rZ(this),c=c6(Mun(Hk(yst,1),FWn,225,0,[this,this.d,this.k,this.q])),t!=(ain(),Cmt)||By(jD(pMn(n,(FXn(),Ldt))))?t==Cmt&&By(jD(pMn(n,(FXn(),Ldt))))?(i=new GEn(this.e),c.c[c.c.length]=i,this.c=new drn(i,a,KB(this.q,402))):this.c=new gP(t,this):(i=new GEn(this.e),c.c[c.c.length]=i,this.c=new H2(i,a,KB(this.q,402))),UB(c,this.c),SHn(c,this.e),this.s=lXn(this.k)}function PGn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v;for(l=(s=KB(tL(new lg(upn(new fg(t).a.d,0))),86))?KB(pMn(s,(Bqn(),ikt)),86):null,r=1;s&&l;){for(a=0,v=0,e=s,i=l,c=0;c<r;c++)e=H8(e),i=H8(i),v+=Hy(ED(pMn(e,(Bqn(),akt)))),a+=Hy(ED(pMn(i,akt)));if(p=Hy(ED(pMn(l,(Bqn(),skt)))),g=Hy(ED(pMn(s,skt))),h=k5(s,l),0<(f=p+a+n.a+h-g-v)){for(u=t,o=0;u&&u!=i;)++o,u=KB(pMn(u,rkt),86);if(!u)return;for(d=f/o,u=t;u!=i;)w=Hy(ED(pMn(u,skt)))+f,oon(u,skt,w),b=Hy(ED(pMn(u,akt)))+f,oon(u,akt,b),f-=d,u=KB(pMn(u,rkt),86)}++r,l=(s=0==s.d.b?J_n(new fg(t),r):KB(tL(new lg(upn(new fg(s).a.d,0))),86))?KB(pMn(s,ikt),86):null}}function CGn(n,t){var e,i,r,c,a,u,o,s,f;for(u=!0,r=0,o=n.f[t.p],s=t.o.b+n.n,e=n.c[t.p][2],i5(n.a,o,tln(KB(Lq(n.a,o),19).a-1+e)),i5(n.b,o,Hy(ED(Lq(n.b,o)))-s+e*n.e),++o>=n.i?(++n.i,UB(n.a,tln(1)),UB(n.b,s)):(i=n.c[t.p][1],i5(n.a,o,tln(KB(Lq(n.a,o),19).a+1-i)),i5(n.b,o,Hy(ED(Lq(n.b,o)))+s-i*n.e)),(n.q==(uNn(),jvt)&&(KB(Lq(n.a,o),19).a>n.j||KB(Lq(n.a,o-1),19).a>n.j)||n.q==Mvt&&(Hy(ED(Lq(n.b,o)))>n.k||Hy(ED(Lq(n.b,o-1)))>n.k))&&(u=!1),c=new az(JL(sbn(t).a.Kc(),new h));bAn(c);)a=KB(G5(c),17).c.i,n.f[a.p]==o&&(r+=KB((f=CGn(n,a)).a,19).a,u=u&&By(jD(f.b)));return n.f[t.p]=o,new eI(tln(r+=n.c[t.p][0]),(oN(),!!u))}function IGn(n,t,e,r,c){var a,u,o,s,h,f,l,b,w,d,g,p,v;for(l=new Lp,u=new $p,eIn(n,e,n.d.fg(),u,l),eIn(n,r,n.d.gg(),u,l),n.b=.2*(g=KAn(lnn(new xq(null,new l1(u,16)),new Sa)),p=KAn(lnn(new xq(null,new l1(u,16)),new Pa)),i.Math.min(g,p)),a=0,o=0;o<u.c.length-1;o++)for(h1(o,u.c.length),s=KB(u.c[o],112),d=o+1;d<u.c.length;d++)a+=wHn(n,s,(h1(d,u.c.length),KB(u.c[d],112)));for(b=KB(pMn(t,(oWn(),Tlt)),230),a>=2&&(v=WLn(u,!0,b),!n.e&&(n.e=new hg(n)),ugn(n.e,v,u,n.b)),tTn(u,b),izn(u),w=-1,f=new Ub(u);f.a<f.c.c.length;)h=KB(Y1(f),112),i.Math.abs(h.s-h.c)<hZn||(w=i.Math.max(w,h.o),n.d.dg(h,c,n.c));return n.d.a.a.$b(),w+1}function OGn(n,t){var e,i;Hy(ED(pMn(t,(FXn(),vpt))))<2&&oon(t,vpt,2),KB(pMn(t,Gdt),103)==(_fn(),KPt)&&oon(t,Gdt,Uln(t)),0==(e=KB(pMn(t,lpt),19)).a?oon(t,(oWn(),Tlt),new ubn):oon(t,(oWn(),Tlt),new S4(e.a)),null==jD(pMn(t,Lgt))&&oon(t,Lgt,(oN(),HI(pMn(t,Jdt))===HI((Ebn(),WPt)))),QT(new xq(null,new l1(t.a,16)),new xw(n)),QT(lnn(new xq(null,new l1(t.b,16)),new mt),new Dw(n)),i=new uGn(t),oon(t,(oWn(),Ilt),i),o2(n.a),SU(n.a,(vMn(),xat),KB(pMn(t,Hdt),246)),SU(n.a,Dat,KB(pMn(t,Mgt),246)),SU(n.a,Rat,KB(pMn(t,Bdt),246)),SU(n.a,_at,KB(pMn(t,Rgt),246)),SU(n.a,Kat,Tan(KB(pMn(t,Jdt),218))),rA(n.a,AXn(t)),oon(t,Elt,Oqn(n.a,t))}function AGn(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k;return l=n.c[t],b=n.c[e],!((w=KB(pMn(l,(oWn(),ilt)),15))&&0!=w.gc()&&w.Hc(b)||(d=l.k!=(cSn(),Mut)&&b.k!=Mut,v=(g=KB(pMn(l,elt),10))!=(p=KB(pMn(b,elt),10)),m=!!g&&g!=l||!!p&&p!=b,y=amn(l,(mUn(),uIt)),k=amn(b,TIt),m|=amn(l,TIt)||amn(b,uIt),d&&(m&&v||y||k))||l.k==(cSn(),Put)&&b.k==Sut||b.k==(cSn(),Put)&&l.k==Sut)&&(h=n.c[t],c=n.c[e],r=sjn(n.e,h,c,(mUn(),SIt)),o=sjn(n.i,h,c,aIt),jNn(n.f,h,c),s=$sn(n.b,h,c)+KB(r.a,19).a+KB(o.a,19).a+n.f.d,u=$sn(n.b,c,h)+KB(r.b,19).a+KB(o.b,19).a+n.f.b,n.a&&(f=KB(pMn(h,blt),11),a=KB(pMn(c,blt),11),s+=KB((i=Byn(n.g,f,a)).a,19).a,u+=KB(i.b,19).a),s>u)}function $Gn(n,t){var e,r,c,a,u,o,s,h,f,l,b,w,d,g;for(e=KB(pMn(n,(FXn(),npt)),98),u=n.f,a=n.d,o=u.a+a.b+a.c,s=0-a.d-n.c.b,f=u.b+a.d+a.a-n.c.b,h=new $p,l=new $p,c=new Ub(t);c.a<c.c.c.length;){switch(r=KB(Y1(c),10),e.g){case 1:case 2:case 3:RNn(r);break;case 4:w=(b=KB(pMn(r,Ygt),8))?b.a:0,r.n.a=o*Hy(ED(pMn(r,(oWn(),jlt))))-w,Qan(r,!0,!1);break;case 5:g=(d=KB(pMn(r,Ygt),8))?d.a:0,r.n.a=Hy(ED(pMn(r,(oWn(),jlt))))-g,Qan(r,!0,!1),u.a=i.Math.max(u.a,r.n.a+r.o.a/2)}switch(KB(pMn(r,(oWn(),Wft)),61).g){case 1:r.n.b=s,h.c[h.c.length]=r;break;case 3:r.n.b=f,l.c[l.c.length]=r}}switch(e.g){case 1:case 2:xfn(h,n),xfn(l,n);break;case 3:Dfn(h,n),Dfn(l,n)}}function LGn(n,t){var e,i,r,c,a,u,o,s,h,f;for(h=new $p,f=new Ap,c=null,r=0,i=0;i<t.length;++i)switch(xsn(c,e=t[i])&&(r=Sdn(n,f,h,Dmt,r)),Ax(e,(oWn(),elt))&&(c=KB(pMn(e,elt),10)),e.k.g){case 0:for(o=BA(DB(rbn(e,(mUn(),uIt)),new xc));Jin(o);)a=KB(M7(o),11),n.d[a.p]=r++,h.c[h.c.length]=a;for(r=Sdn(n,f,h,Dmt,r),s=BA(DB(rbn(e,TIt),new xc));Jin(s);)a=KB(M7(s),11),n.d[a.p]=r++,h.c[h.c.length]=a;break;case 3:rbn(e,xmt).dc()||(a=KB(rbn(e,xmt).Xb(0),11),n.d[a.p]=r++,h.c[h.c.length]=a),rbn(e,Dmt).dc()||b3(f,e);break;case 1:for(u=rbn(e,(mUn(),SIt)).Kc();u.Ob();)a=KB(u.Pb(),11),n.d[a.p]=r++,h.c[h.c.length]=a;rbn(e,aIt).Jc(new JP(f,e))}return Sdn(n,f,h,Dmt,r),h}function NGn(n,t){var e,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m;for(h=xQn,f=xQn,o=DQn,s=DQn,b=new Ub(t.i);b.a<b.c.c.length;)l=KB(Y1(b),65),TA(c=KB(KB(xX(n.g,l.a),46).b,33),l.b.c,l.b.d),h=i.Math.min(h,c.i),f=i.Math.min(f,c.j),o=i.Math.max(o,c.i+c.g),s=i.Math.max(s,c.j+c.f);for(w=KB(JAn(n.c,(EMn(),fTt)),116),DUn(n.c,o-h+(w.b+w.c),s-f+(w.d+w.a),!0,!0),hMn(n.c,-h+w.b,-f+w.d),r=new IL(tQ(n.c));r.e!=r.i.gc();)u=iDn(e=KB(mpn(r),79),!0,!0),d=MMn(e),p=CMn(e),g=new LC(d.i+d.g/2,d.j+d.f/2),a=new LC(p.i+p.g/2,p.j+p.f/2),Gkn(v=zR(new LC(a.a,a.b),g),d.g,d.f),GR(g,v),Gkn(m=zR(new LC(g.a,g.b),a),p.g,p.f),GR(a,m),SA(u,g.a,g.b),MA(u,a.a,a.b)}function xGn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b;if(n.c=n.d,l=null==(b=jD(pMn(t,(FXn(),bpt))))||(mW(b),b),c=KB(pMn(t,(oWn(),Jft)),21).Hc((fDn(),hft)),e=!((r=KB(pMn(t,npt),98))==(WEn(),GCt)||r==UCt||r==zCt),!l||!e&&c)f=new Qy(Mun(Hk(yut,1),QZn,37,0,[t]));else{for(h=new Ub(t.a);h.a<h.c.c.length;)KB(Y1(h),10).p=0;for(f=new $p,s=new Ub(t.a);s.a<s.c.c.length;)if(i=AKn(n,KB(Y1(s),10),null)){for(Ban(o=new pin,t),oon(o,zft,KB(i.b,21)),mQ(o.d,t.d),oon(o,Fgt,null),u=KB(i.a,15).Kc();u.Ob();)a=KB(u.Pb(),10),UB(o.a,a),a.a=o;f.Fc(o)}c&&(HI(pMn(t,Sdt))===HI((Kfn(),hut))?n.c=n.b:n.c=n.a)}return HI(pMn(t,Sdt))!==HI((Kfn(),lut))&&(TQ(),f.ad(new xt)),f}function DGn(n){$M(n,new ETn(pj(bj(gj(lj(dj(wj(new du,W3n),"ELK Mr. Tree"),"Tree-based algorithm provided by the Eclipse Layout Kernel. Computes a spanning tree of the input graph and arranges all nodes according to the resulting parent-children hierarchy. I pity the fool who doesn't use Mr. Tree Layout."),new Na),V3n),Yln((oAn(),VOt))))),c2(n,W3n,WYn,Ckt),c2(n,W3n,gZn,20),c2(n,W3n,XYn,bZn),c2(n,W3n,dZn,tln(1)),c2(n,W3n,mZn,(oN(),!0)),c2(n,W3n,z2n,ppn(kkt)),c2(n,W3n,MZn,ppn(Ekt)),c2(n,W3n,KZn,ppn(Tkt)),c2(n,W3n,TZn,ppn(Mkt)),c2(n,W3n,SZn,ppn(jkt)),c2(n,W3n,EZn,ppn(Skt)),c2(n,W3n,PZn,ppn(Ikt)),c2(n,W3n,z3n,ppn(Nkt)),c2(n,W3n,U3n,ppn(Akt))}function RGn(n){n.q||(n.q=!0,n.p=man(n,0),n.a=man(n,1),Drn(n.a,0),n.f=man(n,2),Drn(n.f,1),xrn(n.f,2),n.n=man(n,3),xrn(n.n,3),xrn(n.n,4),xrn(n.n,5),xrn(n.n,6),n.g=man(n,4),Drn(n.g,7),xrn(n.g,8),n.c=man(n,5),Drn(n.c,7),Drn(n.c,8),n.i=man(n,6),Drn(n.i,9),Drn(n.i,10),Drn(n.i,11),Drn(n.i,12),xrn(n.i,13),n.j=man(n,7),Drn(n.j,9),n.d=man(n,8),Drn(n.d,3),Drn(n.d,4),Drn(n.d,5),Drn(n.d,6),xrn(n.d,7),xrn(n.d,8),xrn(n.d,9),xrn(n.d,10),n.b=man(n,9),xrn(n.b,0),xrn(n.b,1),n.e=man(n,10),xrn(n.e,1),xrn(n.e,2),xrn(n.e,3),xrn(n.e,4),Drn(n.e,5),Drn(n.e,6),Drn(n.e,7),Drn(n.e,8),Drn(n.e,9),Drn(n.e,10),xrn(n.e,11),n.k=man(n,11),xrn(n.k,0),xrn(n.k,1),n.o=yan(n,12),n.s=yan(n,13))}function _Gn(n,t){t.dc()&&nH(n.j,!0,!0,!0,!0),$fn(t,(mUn(),bIt))&&nH(n.j,!0,!0,!0,!1),$fn(t,oIt)&&nH(n.j,!1,!0,!0,!0),$fn(t,kIt)&&nH(n.j,!0,!0,!1,!0),$fn(t,EIt)&&nH(n.j,!0,!1,!0,!0),$fn(t,wIt)&&nH(n.j,!1,!0,!0,!1),$fn(t,sIt)&&nH(n.j,!1,!0,!1,!0),$fn(t,jIt)&&nH(n.j,!0,!1,!1,!0),$fn(t,yIt)&&nH(n.j,!0,!1,!0,!1),$fn(t,vIt)&&nH(n.j,!0,!0,!0,!0),$fn(t,fIt)&&nH(n.j,!0,!0,!0,!0),$fn(t,vIt)&&nH(n.j,!0,!0,!0,!0),$fn(t,hIt)&&nH(n.j,!0,!0,!0,!0),$fn(t,mIt)&&nH(n.j,!0,!0,!0,!0),$fn(t,pIt)&&nH(n.j,!0,!0,!0,!0),$fn(t,gIt)&&nH(n.j,!0,!0,!0,!0)}function KGn(n,t,e,i,r){var c,a,u,o,s,h,f,l,b,w,d,g;for(c=new $p,s=new Ub(i);s.a<s.c.c.length;)if(a=null,(u=KB(Y1(s),441)).f==(rin(),Bvt))for(w=new Ub(u.e);w.a<w.c.c.length;)gW(g=(b=KB(Y1(w),17)).d.i)==t?Ttn(n,t,u,b,u.b,b.d):!e||lan(g,e)?HMn(n,t,u,i,b):((l=AHn(n,t,e,b,u.b,Bvt,a))!=a&&(c.c[c.c.length]=l),l.c&&(a=l));else for(f=new Ub(u.e);f.a<f.c.c.length;)if(gW(d=(h=KB(Y1(f),17)).c.i)==t)Ttn(n,t,u,h,h.c,u.b);else{if(!e||lan(d,e))continue;(l=AHn(n,t,e,h,u.b,Fvt,a))!=a&&(c.c[c.c.length]=l),l.c&&(a=l)}for(o=new Ub(c);o.a<o.c.c.length;)u=KB(Y1(o),441),-1!=k7(t.a,u.a,0)||UB(t.a,u.a),u.c&&(r.c[r.c.length]=u)}function FGn(n,t,e){var i,r,c,a,u,o,s,h;for(o=new $p,u=new Ub(t.a);u.a<u.c.c.length;)for(h=rbn(KB(Y1(u),10),(mUn(),aIt)).Kc();h.Ob();)for(r=new Ub(KB(h.Pb(),11).g);r.a<r.c.c.length;)!f5(i=KB(Y1(r),17))&&i.c.i.c==i.d.i.c||f5(i)||i.d.i.c!=e||(o.c[o.c.length]=i);for(a=nan(e.a).Kc();a.Ob();)for(h=rbn(KB(a.Pb(),10),(mUn(),SIt)).Kc();h.Ob();)for(r=new Ub(KB(h.Pb(),11).e);r.a<r.c.c.length;)if((f5(i=KB(Y1(r),17))||i.c.i.c!=i.d.i.c)&&!f5(i)&&i.c.i.c==t){for(Mx((s=new E2(o,o.c.length)).b>0),c=KB(s.a.Xb(s.c=--s.b),17);c!=i&&s.b>0;)n.a[c.p]=!0,n.a[i.p]=!0,Mx(s.b>0),c=KB(s.a.Xb(s.c=--s.b),17);s.b>0&&sW(s)}}function BGn(n,t,e){var i,r,c,a,u,o,s,h,f;if(n.a!=t.Aj())throw Fp(new Ry(b6n+t.ne()+w6n));if(i=Sfn((PPn(),Q$t),t).$k())return i.Aj().Nh().Ih(i,e);if(a=Sfn(Q$t,t).al()){if(null==e)return null;if((u=KB(e,15)).dc())return"";for(f=new Tk,c=u.Kc();c.Ob();)r=c.Pb(),iO(f,a.Aj().Nh().Ih(a,r)),f.a+=" ";return DO(f,f.a.length-1)}if(!(h=Sfn(Q$t,t).bl()).dc()){for(s=h.Kc();s.Ob();)if((o=KB(s.Pb(),148)).wj(e))try{if(null!=(f=o.Aj().Nh().Ih(o,e)))return f}catch(l){if(!iL(l=hun(l),102))throw Fp(l)}throw Fp(new Ry("Invalid value: '"+e+"' for datatype :"+t.ne()))}return KB(t,834).Fj(),null==e?null:iL(e,172)?""+KB(e,172).a:Zon(e)==ptt?F$(POt[0],KB(e,199)):Kbn(e)}function HGn(n){var t,e,r,c,a,u,o,s,h;for(s=new VT,u=new VT,c=new Ub(n);c.a<c.c.c.length;)(e=KB(Y1(c),128)).v=0,e.n=e.i.c.length,e.u=e.t.c.length,0==e.n&&e5(s,e,s.c.b,s.c),0==e.u&&0==e.r.a.gc()&&e5(u,e,u.c.b,u.c);for(a=-1;0!=s.b;)for(t=new Ub((e=KB(Zyn(s,0),128)).t);t.a<t.c.c.length;)(h=KB(Y1(t),268).b).v=i.Math.max(h.v,e.v+1),a=i.Math.max(a,h.v),--h.n,0==h.n&&e5(s,h,s.c.b,s.c);if(a>-1){for(r=upn(u,0);r.b!=r.d.c;)(e=KB(f3(r),128)).v=a;for(;0!=u.b;)for(t=new Ub((e=KB(Zyn(u,0),128)).i);t.a<t.c.c.length;)0==(o=KB(Y1(t),268).a).r.a.gc()&&(o.v=i.Math.min(o.v,e.v-1),--o.u,0==o.u&&e5(u,o,u.c.b,u.c))}}function qGn(n,t,e,r,c){var a,u,o,s;return s=xQn,u=!1,a=!!(o=qBn(n,zR(new LC(t.a,t.b),n),GR(new LC(e.a,e.b),c),zR(new LC(r.a,r.b),e)))&&!(i.Math.abs(o.a-n.a)<=u5n&&i.Math.abs(o.b-n.b)<=u5n||i.Math.abs(o.a-t.a)<=u5n&&i.Math.abs(o.b-t.b)<=u5n),(o=qBn(n,zR(new LC(t.a,t.b),n),e,c))&&((i.Math.abs(o.a-n.a)<=u5n&&i.Math.abs(o.b-n.b)<=u5n)==(i.Math.abs(o.a-t.a)<=u5n&&i.Math.abs(o.b-t.b)<=u5n)||a?s=i.Math.min(s,hW(zR(o,e))):u=!0),(o=qBn(n,zR(new LC(t.a,t.b),n),r,c))&&(u||(i.Math.abs(o.a-n.a)<=u5n&&i.Math.abs(o.b-n.b)<=u5n)==(i.Math.abs(o.a-t.a)<=u5n&&i.Math.abs(o.b-t.b)<=u5n)||a)&&(s=i.Math.min(s,hW(zR(o,r)))),s}function GGn(n){$M(n,new ETn(bj(gj(lj(dj(wj(new du,RZn),_Zn),"Minimizes the stress within a layout using stress majorization. Stress exists if the euclidean distance between a pair of nodes doesn't match their graph theoretic distance, that is, the shortest path between the two nodes. The method allows to specify individual edge lengths."),new gt),wZn))),c2(n,RZn,yZn,ppn(mat)),c2(n,RZn,jZn,(oN(),!0)),c2(n,RZn,MZn,ppn(jat)),c2(n,RZn,KZn,ppn(Eat)),c2(n,RZn,TZn,ppn(Tat)),c2(n,RZn,SZn,ppn(kat)),c2(n,RZn,EZn,ppn(Mat)),c2(n,RZn,PZn,ppn(Sat)),c2(n,RZn,$Zn,ppn(vat)),c2(n,RZn,NZn,ppn(gat)),c2(n,RZn,xZn,ppn(pat)),c2(n,RZn,DZn,ppn(yat)),c2(n,RZn,LZn,ppn(dat))}function zGn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g;for(CTn(t,"Interactive crossing minimization",1),a=0,c=new Ub(n.b);c.a<c.c.c.length;)(i=KB(Y1(c),29)).p=a++;for(d=new xj((l=BEn(n)).length),SHn(new Qy(Mun(Hk(yst,1),FWn,225,0,[d])),l),w=0,a=0,r=new Ub(n.b);r.a<r.c.c.length;){for(e=0,f=0,h=new Ub((i=KB(Y1(r),29)).a);h.a<h.c.c.length;)for((o=KB(Y1(h),10)).n.a>0&&(e+=o.n.a+o.o.a/2,++f),b=new Ub(o.j);b.a<b.c.c.length;)KB(Y1(b),11).p=w++;for(f>0&&(e/=f),g=L8($Nt,BQn,25,i.a.c.length,15,1),u=0,s=new Ub(i.a);s.a<s.c.c.length;)(o=KB(Y1(s),10)).p=u++,g[o.p]=EGn(o,e),o.k==(cSn(),Mut)&&oon(o,(oWn(),dlt),g[o.p]);TQ(),p$(i.a,new Hd(g)),eKn(d,l,a,!0),++a}FSn(t)}function UGn(n,t){var e,i,r,c,a,u,o,s,h;if(5!=t.e){if(null!=(s=t).b&&null!=n.b){for(j$n(n),BHn(n),j$n(s),BHn(s),e=L8(CNt,oQn,25,n.b.length+s.b.length,15,1),h=0,i=0,a=0;i<n.b.length&&a<s.b.length;)if(r=n.b[i],c=n.b[i+1],u=s.b[a],o=s.b[a+1],c<u)e[h++]=n.b[i++],e[h++]=n.b[i++];else if(c>=u&&r<=o)u<=r&&c<=o?i+=2:u<=r?(n.b[i]=o+1,a+=2):c<=o?(e[h++]=r,e[h++]=u-1,i+=2):(e[h++]=r,e[h++]=u-1,n.b[i]=o+1,a+=2);else{if(!(o<r))throw Fp(new by("Token#subtractRanges(): Internal Error: ["+n.b[i]+","+n.b[i+1]+"] - ["+s.b[a]+","+s.b[a+1]+"]"));a+=2}for(;i<n.b.length;)e[h++]=n.b[i++],e[h++]=n.b[i++];n.b=L8(CNt,oQn,25,h,15,1),rHn(e,0,n.b,0,h)}}else mGn(n,t)}function XGn(n){var t,e,i,r,c,a,u;if(!n.A.dc()){if(n.A.Hc((pdn(),DIt))&&(KB(aV(n.b,(mUn(),uIt)),124).k=!0,KB(aV(n.b,TIt),124).k=!0,t=n.q!=(WEn(),UCt)&&n.q!=zCt,$l(KB(aV(n.b,aIt),124),t),$l(KB(aV(n.b,SIt),124),t),$l(n.g,t),n.A.Hc(RIt)&&(KB(aV(n.b,uIt),124).j=!0,KB(aV(n.b,TIt),124).j=!0,KB(aV(n.b,aIt),124).k=!0,KB(aV(n.b,SIt),124).k=!0,n.g.k=!0)),n.A.Hc(xIt))for(n.a.j=!0,n.a.k=!0,n.g.j=!0,n.g.k=!0,u=n.B.Hc((Y_n(),zIt)),c=0,a=(r=Zgn()).length;c<a;++c)i=r[c],(e=KB(aV(n.i,i),306))&&(rgn(i)?(e.j=!0,e.k=!0):(e.j=!u,e.k=!u));n.A.Hc(NIt)&&n.B.Hc((Y_n(),GIt))&&(n.g.j=!0,n.g.j=!0,n.a.j||(n.a.j=!0,n.a.k=!0,n.a.e=!0))}}function WGn(n){var t,e,i,r,c,a,u,o,s,h,f,l,b,w,d;for(e=new Ub(n.e.b);e.a<e.c.c.length;)for(r=new Ub(KB(Y1(e),29).a);r.a<r.c.c.length;)if(i=KB(Y1(r),10),o=(f=n.i[i.p]).a.e,u=f.d.e,i.n.b=o,d=u-o-i.o.b,t=IHn(i),fvn(),h=(i.q?i.q:(TQ(),TQ(),oet))._b((FXn(),xgt))?KB(pMn(i,xgt),197):KB(pMn(gW(i),Dgt),197),t&&(h==svt||h==ovt)&&(i.o.b+=d),t&&(h==fvt||h==svt||h==ovt)){for(b=new Ub(i.j);b.a<b.c.c.length;)l=KB(Y1(b),11),(mUn(),fIt).Hc(l.j)&&(s=KB(xX(n.k,l),121),l.n.b=s.e-o);for(a=new Ub(i.b);a.a<a.c.c.length;)c=KB(Y1(a),70),(w=KB(pMn(i,Ogt),21)).Hc((YAn(),$Ct))?c.n.b+=d:w.Hc(LCt)&&(c.n.b+=d/2);(h==svt||h==ovt)&&rbn(i,(mUn(),TIt)).Jc(new rg(d))}}function VGn(n,t,e){var i,r,c,a,u,o,s,h,f,l,b;if(!n.b)return!1;for(a=null,l=null,r=1,(o=new F8(null,null)).a[1]=n.b,f=o;f.a[r];)s=r,u=l,l=f,f=f.a[r],r=(i=n.a.ue(t,f.d))<0?0:1,0==i&&(!e.c||iV(f.e,e.d))&&(a=f),f&&f.b||Xy(f.a[r])||(Xy(f.a[1-r])?l=l.a[s]=lrn(f,r):Xy(f.a[1-r])||(b=l.a[1-s])&&(Xy(b.a[1-s])||Xy(b.a[s])?(c=u.a[1]==l?1:0,Xy(b.a[s])?u.a[c]=e2(l,s):Xy(b.a[1-s])&&(u.a[c]=lrn(l,s)),f.b=u.a[c].b=!0,u.a[c].a[0].b=!1,u.a[c].a[1].b=!1):(l.b=!1,b.b=!0,f.b=!0)));return a&&(e.b=!0,e.d=a.e,f!=a&&(fMn(n,o,a,h=new F8(f.d,f.e)),l==a&&(l=h)),l.a[l.a[1]==f?1:0]=f.a[f.a[0]?0:1],--n.c),n.b=o.a[1],n.b&&(n.b.b=!1),e.b}function QGn(n){var t,e,r,c,a,u,o,s,h,f,l,b;for(c=new Ub(n.a.a.b);c.a<c.c.c.length;)for(s=(r=KB(Y1(c),57)).c.Kc();s.Ob();)o=KB(s.Pb(),57),r.a!=o.a&&(l=bA(n.a.d)?n.a.g.Oe(r,o):n.a.g.Pe(r,o),a=r.b.a+r.d.b+l-o.b.a,a=i.Math.ceil(a),a=i.Math.max(0,a),J7(r,o)?(u=IN(new Bv,n.d),t=(h=SY(i.Math.ceil(o.b.a-r.b.a)))-(o.b.a-r.b.a),e=r,(f=s3(r).a)||(f=s3(o).a,t=-t,e=o),f&&(e.b.a-=t,f.n.a-=t),GNn(rM(iM(cM(eM(new Fv,i.Math.max(0,h)),1),u),n.c[r.a.d])),GNn(rM(iM(cM(eM(new Fv,i.Math.max(0,-h)),1),u),n.c[o.a.d]))):(b=1,(iL(r.g,145)&&iL(o.g,10)||iL(o.g,145)&&iL(r.g,10))&&(b=2),GNn(rM(iM(cM(eM(new Fv,SY(a)),b),n.c[r.a.d]),n.c[o.a.d]))))}function JGn(n,t,e){var r,c,a,u,o,s,h,f,l,b;if(e)for(r=-1,f=new E2(t,0);f.b<f.d.gc();){if(Mx(f.b<f.d.gc()),o=KB(f.d.Xb(f.c=f.b++),10),null==(l=n.c[o.c.p][o.p].a)){for(u=r+1,a=new E2(t,f.b);a.b<a.d.gc();)if(null!=(b=lL(n,(Mx(a.b<a.d.gc()),KB(a.d.Xb(a.c=a.b++),10))).a)){mW(b),u=b;break}l=(r+u)/2,n.c[o.c.p][o.p].a=l,n.c[o.c.p][o.p].d=(mW(l),l),n.c[o.c.p][o.p].b=1}mW(l),r=l}else{for(c=0,h=new Ub(t);h.a<h.c.c.length;)o=KB(Y1(h),10),null!=n.c[o.c.p][o.p].a&&(c=i.Math.max(c,Hy(n.c[o.c.p][o.p].a)));for(c+=2,s=new Ub(t);s.a<s.c.c.length;)o=KB(Y1(s),10),null==n.c[o.c.p][o.p].a&&(l=F$n(n.i,24)*cJn*c-1,n.c[o.c.p][o.p].a=l,n.c[o.c.p][o.p].d=l,n.c[o.c.p][o.p].b=1)}}function YGn(){xO(_At,new ts),xO(xAt,new ls),xO(FAt,new Es),xO(KAt,new Is),xO(BAt,new Os),xO(GAt,new As),xO(zAt,new $s),xO(KOt,new Ls),xO(_Ot,new zo),xO(FOt,new Uo),xO(OOt,new Xo),xO(XAt,new Wo),xO(BOt,new Vo),xO(WAt,new Qo),xO(VAt,new Jo),xO(RAt,new Yo),xO(DAt,new Zo),xO(G$t,new ns),xO(UAt,new es),xO(P$t,new is),xO(mtt,new rs),xO(Hk(ANt,1),new cs),xO(jtt,new as),xO(Ttt,new us),xO(ptt,new os),xO(DNt,new ss),xO(Mtt,new hs),xO(rAt,new fs),xO(pAt,new bs),xO(hLt,new ws),xO(I$t,new ds),xO(Stt,new gs),xO(Itt,new ps),xO(Ont,new vs),xO(xtt,new ms),xO($nt,new ys),xO(nLt,new ks),xO(RNt,new js),xO(Rtt,new Ts),xO(Wtt,new Ms),xO(oAt,new Ss),xO(_Nt,new Ps)}function ZGn(n,t,e){var i,r,c,a,u,o,s,h,f;for(!e&&(e=Hun(t.q.getTimezoneOffset())),r=6e4*(t.q.getTimezoneOffset()-e.a),o=u=new MD(ebn(san(t.q.getTime()),r)),u.q.getTimezoneOffset()!=t.q.getTimezoneOffset()&&(r>0?r-=864e5:r+=864e5,o=new MD(ebn(san(t.q.getTime()),r))),h=new Pk,s=n.a.length,c=0;c<s;)if((i=sV(n.a,c))>=97&&i<=122||i>=65&&i<=90){for(a=c+1;a<s&&sV(n.a,a)==i;++a);rWn(h,i,a-c,u,o,e),c=a}else if(39==i){if(++c<s&&39==sV(n.a,c)){h.a+="'",++c;continue}for(f=!1;!f;){for(a=c;a<s&&39!=sV(n.a,a);)++a;if(a>=s)throw Fp(new Ry("Missing trailing '"));a+1<s&&39==sV(n.a,a+1)?++a:f=!0,aO(h,sx(n.a,c,a)),c=a+1}}else h.a+=String.fromCharCode(i),++c;return h.a}function nzn(n){var t,e,i,r,c,a,u,o;for(t=null,i=new Ub(n);i.a<i.c.c.length;)Hy(hL((e=KB(Y1(i),233)).g,e.d[0]).a),e.b=null,e.e&&e.e.gc()>0&&0==e.c&&(!t&&(t=new $p),t.c[t.c.length]=e);if(t)for(;0!=t.c.length;){if((e=KB(u6(t,0),233)).b&&e.b.c.length>0)for(!e.b&&(e.b=new $p),c=new Ub(e.b);c.a<c.c.c.length;)if(qy(hL((r=KB(Y1(c),233)).g,r.d[0]).a)==qy(hL(e.g,e.d[0]).a)){if(k7(n,r,0)>k7(n,e,0))return new eI(r,e)}else if(Hy(hL(r.g,r.d[0]).a)>Hy(hL(e.g,e.d[0]).a))return new eI(r,e);for(u=(!e.e&&(e.e=new $p),e.e).Kc();u.Ob();)!(a=KB(u.Pb(),233)).b&&(a.b=new $p),AZ(0,(o=a.b).c.length),ES(o.c,0,e),a.c==o.c.length&&(t.c[t.c.length]=a)}return null}function tzn(n,t){var e,i,r,c,a,u;if(null==n)return qWn;if(null!=t.a.zc(n,t))return"[...]";for(e=new Oan(_Wn,"[","]"),c=0,a=(r=n).length;c<a;++c)null!=(i=r[c])&&4&Zon(i).i?!Array.isArray(i)||(u=gnn(i))>=14&&u<=16?iL(i,177)?f6(e,xCn(KB(i,177))):iL(i,190)?f6(e,QEn(KB(i,190))):iL(i,195)?f6(e,mSn(KB(i,195))):iL(i,2012)?f6(e,JEn(KB(i,2012))):iL(i,48)?f6(e,NCn(KB(i,48))):iL(i,364)?f6(e,wIn(KB(i,364))):iL(i,832)?f6(e,LCn(KB(i,832))):iL(i,104)&&f6(e,$Cn(KB(i,104))):t.a._b(i)?(e.a?aO(e.a,e.b):e.a=new hN(e.d),rO(e.a,"[...]")):f6(e,tzn(nen(i),new Oq(t))):f6(e,null==i?qWn:Kbn(i));return e.a?0==e.e.length?e.a.a:e.a.a+""+e.e:e.c}function ezn(n,t,e,r){var c,a,u,o,s,h,f,l,b,w,d,g;for(w=BSn(iDn(t,!1,!1)),r&&(w=Qon(w)),g=Hy(ED(JAn(t,(kpn(),dct)))),Mx(0!=w.b),b=KB(w.a.a.c,8),h=KB(Npn(w,1),8),w.b>2?(wun(s=new $p,new u1(w,1,w.b)),Ban(d=new kAn(zXn(s,g+n.a)),t),e.c[e.c.length]=d):d=KB(xX(n.b,r?MMn(t):CMn(t)),266),u=MMn(t),r&&(u=CMn(t)),a=tPn(b,u),o=g+n.a,a.a?(o+=i.Math.abs(b.b-h.b),l=new LC(h.a,(h.b+b.b)/2)):(o+=i.Math.abs(b.a-h.a),l=new LC((h.a+b.a)/2,h.b)),XW(r?n.d:n.c,t,new Pmn(d,a,l,o)),XW(n.b,t,d),!t.n&&(t.n=new nU(HOt,t,1,7)),f=new IL(t.n);f.e!=f.i.gc();)c=QRn(n,KB(mpn(f),137),!0,0,0),e.c[e.c.length]=c}function izn(n){var t,e,r,c,a,u,o,s,h;for(s=new $p,u=new $p,a=new Ub(n);a.a<a.c.c.length;)Xl(r=KB(Y1(a),112),r.f.c.length),Wl(r,r.k.c.length),0==r.d&&(s.c[s.c.length]=r),0==r.i&&0==r.e.b&&(u.c[u.c.length]=r);for(e=-1;0!=s.c.length;)for(t=new Ub((r=KB(u6(s,0),112)).k);t.a<t.c.c.length;)Vl(h=KB(Y1(t),129).b,i.Math.max(h.o,r.o+1)),e=i.Math.max(e,h.o),Xl(h,h.d-1),0==h.d&&(s.c[s.c.length]=h);if(e>-1){for(c=new Ub(u);c.a<c.c.c.length;)(r=KB(Y1(c),112)).o=e;for(;0!=u.c.length;)for(t=new Ub((r=KB(u6(u,0),112)).f);t.a<t.c.c.length;)(o=KB(Y1(t),129).a).e.b>0||(Vl(o,i.Math.min(o.o,r.o-1)),Wl(o,o.i-1),0==o.i&&(u.c[u.c.length]=o))}}function rzn(n,t,e){var i,r,c,a,u;if(u=n.c,!t&&(t=O$t),n.c=t,4&n.Db&&!(1&n.Db)&&(a=new Yz(n,1,2,u,n.c),e?e.Ei(a):e=a),u!=t)if(iL(n.Cb,284))n.Db>>16==-10?e=KB(n.Cb,284).nk(t,e):n.Db>>16==-15&&(!t&&(wWn(),t=s$t),!u&&(wWn(),u=s$t),n.Cb.nh()&&(a=new $7(n.Cb,1,13,u,t,cvn(F7(KB(n.Cb,59)),n),!1),e?e.Ei(a):e=a));else if(iL(n.Cb,88))n.Db>>16==-23&&(iL(t,88)||(wWn(),t=l$t),iL(u,88)||(wWn(),u=l$t),n.Cb.nh()&&(a=new $7(n.Cb,1,10,u,t,cvn(r4(KB(n.Cb,26)),n),!1),e?e.Ei(a):e=a));else if(iL(n.Cb,444))for(!(c=KB(n.Cb,836)).b&&(c.b=new jp(new Lm)),r=new Ep(new csn(new Mb(c.b.a).a));r.a.b;)e=rzn(i=KB(Ztn(r.a).cd(),87),mLn(i,c),e);return e}function czn(n,t){var e,i,r,c,a,u,o,s,h,f,l;for(a=By(jD(JAn(n,(FXn(),lgt)))),l=KB(JAn(n,ipt),21),o=!1,s=!1,f=new IL((!n.c&&(n.c=new nU(GOt,n,9,9)),n.c));!(f.e==f.i.gc()||o&&s);){for(c=KB(mpn(f),118),u=0,r=$U(Uen(Mun(Hk(Lnt,1),FWn,20,0,[(!c.d&&(c.d=new o_(DOt,c,8,5)),c.d),(!c.e&&(c.e=new o_(DOt,c,7,4)),c.e)])));bAn(r)&&(i=KB(G5(r),79),h=a&&WIn(i)&&By(jD(JAn(i,bgt))),e=fqn((!i.b&&(i.b=new o_(xOt,i,4,7)),i.b),c)?n==QY(MTn(KB(Utn((!i.c&&(i.c=new o_(xOt,i,5,8)),i.c),0),82))):n==QY(MTn(KB(Utn((!i.b&&(i.b=new o_(xOt,i,4,7)),i.b),0),82))),!((h||e)&&++u>1)););(u>0||l.Hc((hIn(),nIt))&&(!c.n&&(c.n=new nU(HOt,c,1,7)),c.n).i>0)&&(o=!0),u>1&&(s=!0)}o&&t.Fc((fDn(),hft)),s&&t.Fc((fDn(),fft))}function azn(n){var t,e,r,c,a,u,o,s,h,f,l,b;if((b=KB(JAn(n,(uWn(),DSt)),21)).dc())return null;if(o=0,u=0,b.Hc((pdn(),DIt))){for(f=KB(JAn(n,cPt),98),r=2,e=2,c=2,a=2,t=QY(n)?KB(JAn(QY(n),fSt),103):KB(JAn(n,fSt),103),h=new IL((!n.c&&(n.c=new nU(GOt,n,9,9)),n.c));h.e!=h.i.gc();)if(s=KB(mpn(h),118),(l=KB(JAn(s,lPt),61))==(mUn(),MIt)&&(l=CFn(s,t),Vpn(s,lPt,l)),f==(WEn(),zCt))switch(l.g){case 1:r=i.Math.max(r,s.i+s.g);break;case 2:e=i.Math.max(e,s.j+s.f);break;case 3:c=i.Math.max(c,s.i+s.g);break;case 4:a=i.Math.max(a,s.j+s.f)}else switch(l.g){case 1:r+=s.g+2;break;case 2:e+=s.f+2;break;case 3:c+=s.g+2;break;case 4:a+=s.f+2}o=i.Math.max(r,c),u=i.Math.max(e,a)}return DUn(n,o,u,!0,!0)}function uzn(n,t,e,r,c){var a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k;for(m=KB(M4(vtn(IV(new xq(null,new l1(t.d,16)),new Od(e)),new Ad(e)),p9(new H,new B,new rn,Mun(Hk(Yet,1),OVn,132,0,[(Bsn(),Get)]))),15),l=NWn,f=RVn,s=new Ub(t.b.j);s.a<s.c.c.length;)(o=KB(Y1(s),11)).j==e&&(l=i.Math.min(l,o.p),f=i.Math.max(f,o.p));if(l==NWn)for(u=0;u<m.gc();u++)w9(KB(m.Xb(u),101),e,u);else for(Jq(y=L8(CNt,oQn,25,c.length,15,1),y.length),v=m.Kc();v.Ob();){for(p=KB(v.Pb(),101),a=KB(xX(n.b,p),177),h=0,g=l;g<=f;g++)a[g]&&(h=i.Math.max(h,r[g]));if(p.i){for(w=p.i.c,k=new xv,b=0;b<c.length;b++)c[w][b]&&jU(k,tln(y[b]));for(;_T(k,tln(h));)++h}for(w9(p,e,h),d=l;d<=f;d++)a[d]&&(r[d]=h+1);p.i&&(y[p.i.c]=h)}}function ozn(n,t){var e,r,c,a,u,o,s,h,f,l,b,w,d;for(c=null,r=new Ub(t.a);r.a<r.c.c.length;)IHn(e=KB(Y1(r),10))?(h=new HV(e,!0,o=IN(aM(new Bv,e),n.f),s=IN(aM(new Bv,e),n.f)),f=e.o.b,fvn(),b=1e4,(l=(e.q?e.q:(TQ(),TQ(),oet))._b((FXn(),xgt))?KB(pMn(e,xgt),197):KB(pMn(gW(e),Dgt),197))==ovt&&(b=1),w=GNn(rM(iM(eM(cM(new Fv,b),SY(i.Math.ceil(f))),o),s)),l==svt&&jU(n.d,w),CKn(n,nan(rbn(e,(mUn(),SIt))),h),CKn(n,rbn(e,aIt),h),a=h):(d=IN(aM(new Bv,e),n.f),QT(IV(new xq(null,new l1(e.j,16)),new Bc),new ZP(n,d)),a=new HV(e,!1,d,d)),n.i[e.p]=a,c&&(u=c.c.d.a+D$(n.n,c.c,e)+e.d.d,c.b||(u+=c.c.o.b),GNn(rM(iM(cM(eM(new Fv,SY(i.Math.ceil(u))),0),c.d),a.a))),c=a}function szn(n,t){var e,r,c,a,u,o,s,f,l,b,w,d,g;for(CTn(t,"Label dummy insertions",1),b=new $p,u=Hy(ED(pMn(n,(FXn(),ypt)))),f=Hy(ED(pMn(n,Tpt))),l=KB(pMn(n,Gdt),103),w=new Ub(n.a);w.a<w.c.c.length;)for(a=new az(JL(hbn(KB(Y1(w),10)).a.Kc(),new h));bAn(a);)if((c=KB(G5(a),17)).c.i!=c.d.i&&Z$(c.b,Yot)){for(e=aLn(n,c,g=ktn(c),d=ux(c.b.c.length)),b.c[b.c.length]=e,r=e.o,o=new E2(c.b,0);o.b<o.d.gc();)Mx(o.b<o.d.gc()),HI(pMn(s=KB(o.d.Xb(o.c=o.b++),70),Vdt))===HI((xtn(),qPt))&&(l==(_fn(),FPt)||l==DPt?(r.a+=s.o.a+f,r.b=i.Math.max(r.b,s.o.b)):(r.a=i.Math.max(r.a,s.o.a),r.b+=s.o.b+f),d.c[d.c.length]=s,sW(o));l==(_fn(),FPt)||l==DPt?(r.a-=f,r.b+=u+g):r.b+=u-f+g}wun(n.a,b),FSn(t)}function hzn(n,t,e,r){var c,a,u,o,s,h,f,l,b,w;for(l=zDn(n,t,a=new bOn(t)),w=i.Math.max(Hy(ED(pMn(t,(FXn(),rgt)))),1),f=new Ub(l.a);f.a<f.c.c.length;)h=KB(Y1(f),46),s=Kgn(KB(h.a,8),KB(h.b,8),w),qH(e,new LC(s.c,s.d)),qH(e,Rx(new LC(s.c,s.d),s.b,0)),qH(e,Rx(new LC(s.c,s.d),0,s.a)),qH(e,Rx(new LC(s.c,s.d),s.b,s.a));switch(b=a.d,o=Kgn(KB(l.b.a,8),KB(l.b.b,8),w),b==(mUn(),SIt)||b==aIt?(r.c[b.g]=i.Math.min(r.c[b.g],o.d),r.b[b.g]=i.Math.max(r.b[b.g],o.d+o.a)):(r.c[b.g]=i.Math.min(r.c[b.g],o.c),r.b[b.g]=i.Math.max(r.b[b.g],o.c+o.b)),c=DQn,u=a.c.i.d,b.g){case 4:c=u.c;break;case 2:c=u.b;break;case 1:c=u.a;break;case 3:c=u.d}return r.a[b.g]=i.Math.max(r.a[b.g],c),a}function fzn(n){var t,e,i,r;if(-1!=(t=HO(e=null!=n.D?n.D:n.B,VTn(91)))){i=e.substr(0,t),r=new Tk;do{r.a+="["}while(-1!=(t=hx(e,91,++t)));p_(i,OWn)?r.a+="Z":p_(i,T9n)?r.a+="B":p_(i,M9n)?r.a+="C":p_(i,S9n)?r.a+="D":p_(i,P9n)?r.a+="F":p_(i,C9n)?r.a+="I":p_(i,I9n)?r.a+="J":p_(i,O9n)?r.a+="S":(r.a+="L",r.a+=""+i,r.a+=";");try{return null}catch(c){if(!iL(c=hun(c),60))throw Fp(c)}}else if(-1==HO(e,VTn(46))){if(p_(e,OWn))return INt;if(p_(e,T9n))return ANt;if(p_(e,M9n))return PNt;if(p_(e,S9n))return $Nt;if(p_(e,P9n))return LNt;if(p_(e,C9n))return CNt;if(p_(e,I9n))return ONt;if(p_(e,O9n))return NNt}return null}function lzn(n,t,e){var i,r,c,a,u,o,s,h;for(Ban(s=new Ovn(e),t),oon(s,(oWn(),blt),t),s.o.a=t.g,s.o.b=t.f,s.n.a=t.i,s.n.b=t.j,UB(e.a,s),XW(n.a,t,s),(0!=(!t.a&&(t.a=new nU(qOt,t,10,11)),t.a).i||By(jD(JAn(t,(FXn(),lgt)))))&&oon(s,Rft,(oN(),!0)),o=KB(pMn(e,Jft),21),(h=KB(pMn(s,(FXn(),npt)),98))==(WEn(),VCt)?oon(s,npt,WCt):h!=WCt&&o.Fc((fDn(),bft)),i=KB(pMn(e,Gdt),103),u=new IL((!t.c&&(t.c=new nU(GOt,t,9,9)),t.c));u.e!=u.i.gc();)By(jD(JAn(a=KB(mpn(u),118),Hgt)))||Jzn(n,a,s,o,i,h);for(c=new IL((!t.n&&(t.n=new nU(HOt,t,1,7)),t.n));c.e!=c.i.gc();)!By(jD(JAn(r=KB(mpn(c),137),Hgt)))&&r.a&&UB(s.b,Fhn(r));return By(jD(pMn(s,jdt)))&&o.Fc((fDn(),oft)),By(jD(pMn(s,fgt)))&&(o.Fc((fDn(),lft)),o.Fc(fft),oon(s,npt,WCt)),s}function bzn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T;u=KB(xX(t.c,n),459),g=t.a.c,o=t.a.c+t.a.b,a=(E=u.f)<(T=u.a),b=new LC(g,E),p=new LC(o,T),w=new LC(r=(g+o)/2,E),v=new LC(r,T),c=nNn(n,E,T),y=w1(t.B),k=new LC(r,c),j=w1(t.D),e=hon(Mun(Hk(MMt,1),uVn,8,0,[y,k,j])),f=!1,(d=t.B.i)&&d.c&&u.d&&((s=a&&d.p<d.c.a.c.length-1||!a&&d.p>0)?s&&(h=d.p,a?++h:--h,f=!(iNn(i=ton(KB(Lq(d.c.a,h),10)),y,e[0])||Kz(i,y,e[0]))):f=!0),l=!1,(m=t.D.i)&&m.c&&u.e&&(a&&m.p>0||!a&&m.p<m.c.a.c.length-1?(h=m.p,a?--h:++h,l=!(iNn(i=ton(KB(Lq(m.c.a,h),10)),e[0],j)||Kz(i,e[0],j))):l=!0),f&&l&&NH(n.a,k),f||Yen(n.a,Mun(Hk(MMt,1),uVn,8,0,[b,w])),l||Yen(n.a,Mun(Hk(MMt,1),uVn,8,0,[v,p]))}function wzn(n,t){var e,i,r,c,a,u,o;if(iL(n.Ug(),160)?(wzn(KB(n.Ug(),160),t),t.a+=" > "):t.a+="Root ",p_((e=n.Tg().zb).substr(0,3),"Elk")?aO(t,e.substr(3)):t.a+=""+e,r=n.zg())aO((t.a+=" ",t),r);else if(iL(n,354)&&(o=KB(n,137).a))aO((t.a+=" ",t),o);else{for(c=new IL(n.Ag());c.e!=c.i.gc();)if(o=KB(mpn(c),137).a)return void aO((t.a+=" ",t),o);if(iL(n,352)&&(!(i=KB(n,79)).b&&(i.b=new o_(xOt,i,4,7)),0!=i.b.i&&(!i.c&&(i.c=new o_(xOt,i,5,8)),0!=i.c.i))){for(t.a+=" (",a=new ix((!i.b&&(i.b=new o_(xOt,i,4,7)),i.b));a.e!=a.i.gc();)a.e>0&&(t.a+=_Wn),wzn(KB(mpn(a),160),t);for(t.a+=n1n,u=new ix((!i.c&&(i.c=new o_(xOt,i,5,8)),i.c));u.e!=u.i.gc();)u.e>0&&(t.a+=_Wn),wzn(KB(mpn(u),160),t);t.a+=")"}}}function dzn(n,t,e){var i,r,c,a,u,o,s,h,f,l,b;if(c=KB(pMn(n,(oWn(),blt)),79)){for(i=n.a,GR(r=new lA(e),Ojn(n)),lan(n.d.i,n.c.i)?(l=n.c,zR(f=Ion(Mun(Hk(MMt,1),uVn,8,0,[l.n,l.a])),e)):f=w1(n.c),e5(i,f,i.a,i.a.a),b=w1(n.d),null!=pMn(n,xlt)&&GR(b,KB(pMn(n,xlt),8)),e5(i,b,i.c.b,i.c),Jtn(i,r),Ain(a=iDn(c,!0,!0),KB(Utn((!c.b&&(c.b=new o_(xOt,c,4,7)),c.b),0),82)),$in(a,KB(Utn((!c.c&&(c.c=new o_(xOt,c,5,8)),c.c),0),82)),XFn(i,a),h=new Ub(n.b);h.a<h.c.c.length;)s=KB(Y1(h),70),Ten(u=KB(pMn(s,blt),137),s.o.a),Een(u,s.o.b),TA(u,s.n.a+r.a,s.n.b+r.b),Vpn(u,(Prn(),Zot),jD(pMn(s,Zot)));(o=KB(pMn(n,(FXn(),ggt)),74))?(Jtn(o,r),Vpn(c,ggt,o)):Vpn(c,ggt,null),t==(Ebn(),QPt)?Vpn(c,Jdt,QPt):Vpn(c,Jdt,null)}}function gzn(n,t,e,i){var r,c,a,u,o,s,h,f,l,b,w,d,g,p,v;for(b=t.c.length,l=0,f=new Ub(n.b);f.a<f.c.c.length;)if(0!=(p=(h=KB(Y1(f),29)).a).c.length){for(s=0,v=null,r=KB(Y1(g=new Ub(p)),10),c=null;r;){if((c=KB(Lq(t,r.p),257)).c>=0){for(o=null,u=new E2(h.a,s+1);u.b<u.d.gc()&&(Mx(u.b<u.d.gc()),a=KB(u.d.Xb(u.c=u.b++),10),!((o=KB(Lq(t,a.p),257)).d==c.d&&o.c<c.c));)o=null;o&&(v&&(i5(i,r.p,tln(KB(Lq(i,r.p),19).a-1)),KB(Lq(e,v.p),15).Mc(c)),c=lTn(c,r,b++),t.c[t.c.length]=c,UB(e,new $p),v?(KB(Lq(e,v.p),15).Fc(c),UB(i,tln(1))):UB(i,tln(0)))}w=null,g.a<g.c.c.length&&(w=KB(Y1(g),10),d=KB(Lq(t,w.p),257),KB(Lq(e,r.p),15).Fc(d),i5(i,w.p,tln(KB(Lq(i,w.p),19).a+1))),c.d=l,c.c=s++,v=r,r=w}++l}}function pzn(n,t,e,r){var c,a,u,o,s,h,f,l,b,w,d,g,p,v,m;return o=n,h=zR(new LC(t.a,t.b),n),s=e,f=zR(new LC(r.a,r.b),e),l=o.a,g=o.b,w=s.a,v=s.b,b=h.a,p=h.b,c=(d=f.a)*p-b*(m=f.b),o$(),ein(I3n),!(i.Math.abs(0-c)<=I3n||0==c||isNaN(0)&&isNaN(c))&&(a=1/c*((l-w)*p-(g-v)*b),u=1/c*-(-(l-w)*m+(g-v)*d),ein(I3n),(i.Math.abs(0-a)<=I3n||0==a||isNaN(0)&&isNaN(a)?0:0<a?-1:0>a?1:qO(isNaN(0),isNaN(a)))<0&&(ein(I3n),(i.Math.abs(a-1)<=I3n||1==a||isNaN(a)&&isNaN(1)?0:a<1?-1:a>1?1:qO(isNaN(a),isNaN(1)))<0)&&(ein(I3n),(i.Math.abs(0-u)<=I3n||0==u||isNaN(0)&&isNaN(u)?0:0<u?-1:0>u?1:qO(isNaN(0),isNaN(u)))<0)&&(ein(I3n),(i.Math.abs(u-1)<=I3n||1==u||isNaN(u)&&isNaN(1)?0:u<1?-1:u>1?1:qO(isNaN(u),isNaN(1)))<0))}function vzn(n){var t,e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j;for(f=new oW(new tw(n));f.b!=f.c.a.d;)for(u=KB((h=u9(f)).d,56),t=KB(h.e,56),d=0,y=(null==(a=u.Tg()).i&&BFn(a),a.i).length;d<y;++d)if(null==a.i&&BFn(a),c=a.i,(s=d>=0&&d<c.length?c[d]:null).Ij()&&!s.Jj())if(iL(s,99))!((o=KB(s,18)).Bb&o6n)&&!((j=Svn(o))&&j.Bb&o6n)&&pBn(n,o,u,t);else if(JM(),KB(s,66).Oj()&&(e=KB((k=s)?KB(t,49).xh(k):null,153)))for(b=KB(u.ah(s),153),i=e.gc(),g=0,w=b.gc();g<w;++g)if(iL(l=b.il(g),99)){if(null==(r=hnn(n,m=b.jl(g)))&&null!=m){if(v=KB(l,18),!n.b||v.Bb&o6n||Svn(v))continue;r=m}if(!e.dl(l,r))for(p=0;p<i;++p)if(e.il(p)==l&&HI(e.jl(p))===HI(r)){e.ii(e.gc()-1,p),--i;break}}else e.dl(b.il(g),b.jl(g))}function mzn(n,t,e,r,c,a,u){var o,s,h,f,l,b,w,d,g,p,v,m;if(p=WBn(t,e,n.g),c.n&&c.n&&a&&v0(c,a2(a),(Ksn(),cOt)),n.b)for(g=0;g<p.c.length;g++)h1(g,p.c.length),f=KB(p.c[g],200),0!=g&&(h1(g-1,p.c.length),whn(f,(b=KB(p.c[g-1],200)).f+b.b+n.g)),pXn(g,p,e,n.g),Fkn(n,f),c.n&&a&&v0(c,a2(a),(Ksn(),cOt));else for(d=new Ub(p);d.a<d.c.c.length;)for(h=new Ub((w=KB(Y1(d),200)).a);h.a<h.c.c.length;)Lcn(v=new DY((s=KB(Y1(h),187)).s,s.t,n.g),s),UB(w.d,v);return qmn(n,p),c.n&&c.n&&a&&v0(c,a2(a),(Ksn(),cOt)),m=i.Math.max(n.d,r.a-(u.b+u.c)),o=(l=i.Math.max(n.c,r.b-(u.d+u.a)))-n.c,n.e&&n.f&&(m/l<n.a?m=l*n.a:o+=m/n.a-l),n.e&&Cdn(p,m,o),c.n&&c.n&&a&&v0(c,a2(a),(Ksn(),cOt)),new nq(n.a,m,n.c+o,(VLn(),REt))}function yzn(n){var t,e,r,c,a,u,o,s,h,f;for(n.j=L8(CNt,oQn,25,n.g,15,1),n.o=new $p,QT(lnn(new xq(null,new l1(n.e.b,16)),new Wc),new cg(n)),n.a=L8(INt,JJn,25,n.b,16,1),Ofn(new xq(null,new l1(n.e.b,16)),new ug(n)),f=new $p,QT(IV(lnn(new xq(null,new l1(n.e.b,16)),new Qc),new ag(n)),new nC(n,f)),o=new Ub(f);o.a<o.c.c.length;)if(!((u=KB(Y1(o),508)).c.length<=1))if(2!=u.c.length){if(!zEn(u)&&!$Pn(u,new Vc))for(s=new Ub(u),r=null;s.a<s.c.c.length;)t=KB(Y1(s),17),e=n.c[t.p],h=!r||s.a>=s.c.c.length?z3((cSn(),Sut),Mut):z3((cSn(),Mut),Mut),h*=2,c=e.a.g,e.a.g=i.Math.max(c,c+(h-c)),a=e.b.g,e.b.g=i.Math.max(a,a+(h-a)),r=t}else qAn(u),IHn((h1(0,u.c.length),KB(u.c[0],17)).d.i)||UB(n.o,u)}function kzn(n,t,e,i,r){var c,a,u,o,s,h,f,l,b,w,d,g,p,v,m;for(m=HB(n),o=new $p,s=(c=n.c.length)-1,h=c+1;0!=m.a.c;){for(;0!=e.b;)Mx(0!=e.b),p=KB(Itn(e,e.a.a),112),OY(m.a,p),p.g=s--,$Fn(p,t,e,i);for(;0!=t.b;)Mx(0!=t.b),v=KB(Itn(t,t.a.a),112),OY(m.a,v),v.g=h++,$Fn(v,t,e,i);for(u=RVn,d=new _b(new KR(new LN(new Rb(m.a).a).b));rS(d.a.a);){if(w=KB(px(d.a).cd(),112),!i&&w.b>0&&w.a<=0){o.c=L8(Int,FWn,1,0,5,1),o.c[o.c.length]=w;break}(b=w.i-w.d)>=u&&(b>u&&(o.c=L8(Int,FWn,1,0,5,1),u=b),o.c[o.c.length]=w)}0!=o.c.length&&(a=KB(Lq(o,dvn(r,o.c.length)),112),OY(m.a,a),a.g=h++,$Fn(a,t,e,i),o.c=L8(Int,FWn,1,0,5,1))}for(g=n.c.length+1,l=new Ub(n);l.a<l.c.c.length;)(f=KB(Y1(l),112)).g<c&&(f.g=f.g+g)}function jzn(n,t){var e;if(n.e)throw Fp(new _y((kD(wit),IJn+wit.k+OJn)));if(!TS(n.a,t))throw Fp(new by(AJn+t+$Jn));if(t==n.d)return n;switch(e=n.d,n.d=t,e.g){case 0:switch(t.g){case 2:Fmn(n);break;case 1:Son(n),Fmn(n);break;case 4:Yjn(n),Fmn(n);break;case 3:Yjn(n),Son(n),Fmn(n)}break;case 2:switch(t.g){case 1:Son(n),xRn(n);break;case 4:Yjn(n),Fmn(n);break;case 3:Yjn(n),Son(n),Fmn(n)}break;case 1:switch(t.g){case 2:Son(n),xRn(n);break;case 4:Son(n),Yjn(n),Fmn(n);break;case 3:Son(n),Yjn(n),Son(n),Fmn(n)}break;case 4:switch(t.g){case 2:Yjn(n),Fmn(n);break;case 1:Yjn(n),Son(n),Fmn(n);break;case 3:Son(n),xRn(n)}break;case 3:switch(t.g){case 2:Son(n),Yjn(n),Fmn(n);break;case 1:Son(n),Yjn(n),Son(n),Fmn(n);break;case 4:Son(n),xRn(n)}}return n}function Ezn(n,t){var e;if(n.d)throw Fp(new _y((kD(Vat),IJn+Vat.k+OJn)));if(!MC(n.a,t))throw Fp(new by(AJn+t+$Jn));if(t==n.c)return n;switch(e=n.c,n.c=t,e.g){case 0:switch(t.g){case 2:Jon(n);break;case 1:Mon(n),Jon(n);break;case 4:Zjn(n),Jon(n);break;case 3:Zjn(n),Mon(n),Jon(n)}break;case 2:switch(t.g){case 1:Mon(n),DRn(n);break;case 4:Zjn(n),Jon(n);break;case 3:Zjn(n),Mon(n),Jon(n)}break;case 1:switch(t.g){case 2:Mon(n),DRn(n);break;case 4:Mon(n),Zjn(n),Jon(n);break;case 3:Mon(n),Zjn(n),Mon(n),Jon(n)}break;case 4:switch(t.g){case 2:Zjn(n),Jon(n);break;case 1:Zjn(n),Mon(n),Jon(n);break;case 3:Mon(n),DRn(n)}break;case 3:switch(t.g){case 2:Mon(n),Zjn(n),Jon(n);break;case 1:Mon(n),Zjn(n),Mon(n),Jon(n);break;case 4:Mon(n),DRn(n)}}return n}function Tzn(n,t,e){var r,c,a,u,o,s,f,l;for(s=new IL((!n.a&&(n.a=new nU(qOt,n,10,11)),n.a));s.e!=s.i.gc();)for(c=new az(JL(bLn(o=KB(mpn(s),33)).a.Kc(),new h));bAn(c);){if(!(r=KB(G5(c),79)).b&&(r.b=new o_(xOt,r,4,7)),!(r.b.i<=1&&(!r.c&&(r.c=new o_(xOt,r,5,8)),r.c.i<=1)))throw Fp(new ik("Graph must not contain hyperedges."));if(!YOn(r)&&o!=MTn(KB(Utn((!r.c&&(r.c=new o_(xOt,r,5,8)),r.c),0),82)))for(Ban(f=new PR,r),oon(f,(Ern(),uat),r),xl(f,KB(BI(IJ(e.f,o)),144)),Dl(f,KB(xX(e,MTn(KB(Utn((!r.c&&(r.c=new o_(xOt,r,5,8)),r.c),0),82))),144)),UB(t.c,f),u=new IL((!r.n&&(r.n=new nU(HOt,r,1,7)),r.n));u.e!=u.i.gc();)Ban(l=new p4(f,(a=KB(mpn(u),137)).a),a),oon(l,uat,a),l.e.a=i.Math.max(a.g,1),l.e.b=i.Math.max(a.f,1),RBn(l),UB(t.d,l)}}function Mzn(n,t){var e,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m;for(kY(l=new nUn(n),!(t==(_fn(),FPt)||t==DPt)),f=l.a,b=new fm,Ntn(),u=0,s=(c=Mun(Hk(Xit,1),OVn,232,0,[Hit,qit,Git])).length;u<s;++u)e=c[u],(h=sL(f,Hit,e))&&(b.d=i.Math.max(b.d,h.Re()));for(a=0,o=(r=Mun(Hk(Xit,1),OVn,232,0,[Hit,qit,Git])).length;a<o;++a)e=r[a],(h=sL(f,Git,e))&&(b.a=i.Math.max(b.a,h.Re()));for(p=0,m=(d=Mun(Hk(Xit,1),OVn,232,0,[Hit,qit,Git])).length;p<m;++p)(h=sL(f,d[p],Hit))&&(b.b=i.Math.max(b.b,h.Se()));for(g=0,v=(w=Mun(Hk(Xit,1),OVn,232,0,[Hit,qit,Git])).length;g<v;++g)(h=sL(f,w[g],Git))&&(b.c=i.Math.max(b.c,h.Se()));return b.d>0&&(b.d+=f.n.d,b.d+=f.d),b.a>0&&(b.a+=f.n.a,b.a+=f.d),b.b>0&&(b.b+=f.n.b,b.b+=f.d),b.c>0&&(b.c+=f.n.c,b.c+=f.d),b}function Szn(n,t,e){var r,c,a,u,o,s,h,f,l,b,w,d;for(b=e.d,l=e.c,u=(a=new LC(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a)).b,h=new Ub(n.a);h.a<h.c.c.length;)if((o=KB(Y1(h),10)).k==(cSn(),Eut)){switch(r=KB(pMn(o,(oWn(),Wft)),61),c=KB(pMn(o,Vft),8),f=o.n,r.g){case 2:f.a=e.f.a+b.c-l.a;break;case 4:f.a=-l.a-b.b}switch(d=0,r.g){case 2:case 4:t==(WEn(),UCt)?(w=Hy(ED(pMn(o,jlt))),f.b=a.b*w-KB(pMn(o,(FXn(),Ygt)),8).b,d=f.b+c.b,Qan(o,!1,!0)):t==zCt&&(f.b=Hy(ED(pMn(o,jlt)))-KB(pMn(o,(FXn(),Ygt)),8).b,d=f.b+c.b,Qan(o,!1,!0))}u=i.Math.max(u,d)}for(e.f.b+=u-a.b,s=new Ub(n.a);s.a<s.c.c.length;)if((o=KB(Y1(s),10)).k==(cSn(),Eut))switch(r=KB(pMn(o,(oWn(),Wft)),61),f=o.n,r.g){case 1:f.b=-l.b-b.d;break;case 3:f.b=e.f.b+b.a-l.b}}function Pzn(n){var t,e,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j;for(r=KB(pMn(n,(Bqn(),ukt)),33),o=NWn,s=NWn,a=RVn,u=RVn,k=upn(n.b,0);k.b!=k.d.c;)w=(m=KB(f3(k),86)).e,d=m.f,o=i.Math.min(o,w.a-d.a/2),s=i.Math.min(s,w.b-d.b/2),a=i.Math.max(a,w.a+d.a/2),u=i.Math.max(u,w.b+d.b/2);for(l=new LC((b=KB(JAn(r,(SAn(),Pkt)),116)).b-o,b.d-s),y=upn(n.b,0);y.b!=y.d.c;)iL(f=pMn(m=KB(f3(y),86),ukt),239)&&TA(c=KB(f,33),(h=GR(m.e,l)).a-c.g/2,h.b-c.f/2);for(v=upn(n.a,0);v.b!=v.d.c;)p=KB(f3(v),188),(e=KB(pMn(p,ukt),79))&&(e5(t=p.a,g=new lA(p.b.e),t.a,t.a.a),e5(t,j=new lA(p.c.e),t.c.b,t.c),JMn(g,KB(Npn(t,1),8),p.b.f),JMn(j,KB(Npn(t,t.b-2),8),p.c.f),XFn(t,iDn(e,!0,!0)));DUn(r,a-o+(b.b+b.c),u-s+(b.d+b.a),!1,!1)}function Czn(n){var t,e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p;for(vR(o=new E2(s=n.b,0),new FX(n)),g=!1,c=1;o.b<o.d.gc();){for(Mx(o.b<o.d.gc()),u=KB(o.d.Xb(o.c=o.b++),29),h1(c,s.c.length),b=KB(s.c[c],29),d=(w=r0(u.a)).c.length,l=new Ub(w);l.a<l.c.c.length;)MZ(h=KB(Y1(l),10),b);if(g){for(f=U1(new sy(w),0);f.c.Sb();)for(r=new Ub(r0(sbn(h=KB(l5(f),10))));r.a<r.c.c.length;)ZFn(i=KB(Y1(r),17),!0),oon(n,(oWn(),Bft),(oN(),!0)),e=tGn(n,i,d),t=KB(pMn(h,xft),305),p=KB(Lq(e,e.c.length-1),17),t.k=p.c.i,t.n=p,t.b=i.d.i,t.c=i;g=!1}else 0!=w.c.length&&(h1(0,w.c.length),KB(w.c[0],10).k==(cSn(),jut)&&(g=!0,c=-1));++c}for(a=new E2(n.b,0);a.b<a.d.gc();)Mx(a.b<a.d.gc()),0==KB(a.d.Xb(a.c=a.b++),29).a.c.length&&sW(a)}function Izn(n,t){var e,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v;if((f=KB(KB(o6(n.r,t),21),84)).gc()<=2||t==(mUn(),aIt)||t==(mUn(),SIt))QUn(n,t);else{for(g=n.u.Hc((hIn(),iIt)),e=t==(mUn(),uIt)?(Nan(),xrt):(Nan(),$rt),v=t==uIt?(H7(),trt):(H7(),irt),r=Jk(FK(e),n.s),p=t==uIt?xQn:DQn,h=f.Kc();h.Ob();)!(o=KB(h.Pb(),111)).c||o.c.d.c.length<=0||(d=o.b.rf(),w=o.e,(b=(l=o.c).i).b=(a=l.n,l.e.a+a.b+a.c),b.a=(u=l.n,l.e.b+u.d+u.a),g?(b.c=w.a-(c=l.n,l.e.a+c.b+c.c)-n.s,g=!1):b.c=w.a+d.a+n.s,CJ(v,cYn),l.f=v,h9(l,(Q9(),Qit)),UB(r.d,new LG(b,mln(r,b))),p=t==uIt?i.Math.min(p,w.b):i.Math.max(p,w.b+o.b.rf().b));for(p+=t==uIt?-n.t:n.t,Mwn((r.e=p,r)),s=f.Kc();s.Ob();)!(o=KB(s.Pb(),111)).c||o.c.d.c.length<=0||((b=o.c.i).c-=o.e.a,b.d-=o.e.b)}}function Ozn(n,t,e){var r;if(CTn(e,"StretchWidth layering",1),0!=t.a.c.length){for(n.c=t,n.t=0,n.u=0,n.i=xQn,n.g=DQn,n.d=Hy(ED(pMn(t,(FXn(),vpt)))),qpn(n),MAn(n),TAn(n),Ljn(n),bdn(n),n.i=i.Math.max(1,n.i),n.g=i.Math.max(1,n.g),n.d=n.d/n.i,n.f=n.g/n.i,n.s=Rvn(n),r=new FX(n.c),UB(n.c.b,r),n.r=r0(n.p),n.n=jY(n.k,n.k.length);0!=n.r.c.length;)n.o=qhn(n),!n.o||jon(n)&&0!=n.b.a.gc()?(LEn(n,r),r=new FX(n.c),UB(n.c.b,r),_rn(n.a,n.b),n.b.a.$b(),n.t=n.u,n.u=0):jon(n)?(n.c.b.c=L8(Int,FWn,1,0,5,1),r=new FX(n.c),UB(n.c.b,r),n.t=0,n.u=0,n.b.a.$b(),n.a.a.$b(),++n.f,n.r=r0(n.p),n.n=jY(n.k,n.k.length)):(MZ(n.o,r),v7(n.r,n.o),jU(n.b,n.o),n.t=n.t-n.k[n.o.p]*n.d+n.j[n.o.p],n.u+=n.e[n.o.p]*n.d);t.a.c=L8(Int,FWn,1,0,5,1),QPn(t.b),FSn(e)}else FSn(e)}function Azn(n){var t,e,r,c;for(QT(IV(new xq(null,new l1(n.a.b,16)),new yr),new kr),sEn(n),QT(IV(new xq(null,new l1(n.a.b,16)),new jr),new Er),n.c==(Ebn(),QPt)&&(QT(IV(lnn(new xq(null,new l1(new Sb(n.f),1)),new Tr),new Mr),new Ed(n)),QT(IV(OV(lnn(lnn(new xq(null,new l1(n.d.b,16)),new Sr),new Pr),new Cr),new Ir),new Md(n))),c=new LC(xQn,xQn),t=new LC(DQn,DQn),r=new Ub(n.a.b);r.a<r.c.c.length;)e=KB(Y1(r),57),c.a=i.Math.min(c.a,e.d.c),c.b=i.Math.min(c.b,e.d.d),t.a=i.Math.max(t.a,e.d.c+e.d.b),t.b=i.Math.max(t.b,e.d.d+e.d.a);GR(mO(n.d.c),Bx(new LC(c.a,c.b))),GR(mO(n.d.f),zR(new LC(t.a,t.b),c)),aNn(n,c,t),OU(n.f),OU(n.b),OU(n.g),OU(n.e),n.a.a.c=L8(Int,FWn,1,0,5,1),n.a.b.c=L8(Int,FWn,1,0,5,1),n.a=null,n.d=null}function $zn(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v;for(i=new $p,w=new Ub(t.a);w.a<w.c.c.length;)if((l=(b=KB(Y1(w),10)).e)&&(wun(i,$zn(n,l,b)),kGn(n,l,b),KB(pMn(l,(oWn(),Jft)),21).Hc((fDn(),hft))))for(p=KB(pMn(b,(FXn(),npt)),98),f=KB(pMn(b,ipt),174).Hc((hIn(),nIt)),g=new Ub(b.j);g.a<g.c.c.length;)for(d=KB(Y1(g),11),(r=KB(xX(n.b,d),10))||(oon(r=fXn(d,p,d.j,-(d.e.c.length-d.g.c.length),null,new Hj,d.o,KB(pMn(l,Gdt),103),l),blt,d),XW(n.b,d,r),UB(l.a,r)),c=KB(Lq(r.j,0),11),s=new Ub(d.f);s.a<s.c.c.length;)o=KB(Y1(s),70),(a=new Bj).o.a=o.o.a,a.o.b=o.o.b,UB(c.f,a),f||(v=d.j,h=0,Fz(KB(pMn(b,ipt),21))&&(h=OIn(o.n,o.o,d.o,0,v)),p==(WEn(),WCt)||(mUn(),fIt).Hc(v)?a.o.a=h:a.o.b=h);return KGn(n,t,e,i,u=new $p),e&&Sqn(n,t,e,u),u}function Lzn(n,t,e){var i,r,c,a,u,o,s,h;if(!n.c[t.c.p][t.p].e){for(n.c[t.c.p][t.p].e=!0,n.c[t.c.p][t.p].b=0,n.c[t.c.p][t.p].d=0,n.c[t.c.p][t.p].a=null,h=new Ub(t.j);h.a<h.c.c.length;)for(s=KB(Y1(h),11),o=(e?new Fw(s):new Hw(s)).Kc();o.Ob();)(a=(u=KB(o.Pb(),11)).i).c==t.c?a!=t&&(Lzn(n,a,e),n.c[t.c.p][t.p].b+=n.c[a.c.p][a.p].b,n.c[t.c.p][t.p].d+=n.c[a.c.p][a.p].d):(n.c[t.c.p][t.p].d+=n.g[u.p],++n.c[t.c.p][t.p].b);if(c=KB(pMn(t,(oWn(),Lft)),15))for(r=c.Kc();r.Ob();)i=KB(r.Pb(),10),t.c==i.c&&(Lzn(n,i,e),n.c[t.c.p][t.p].b+=n.c[i.c.p][i.p].b,n.c[t.c.p][t.p].d+=n.c[i.c.p][i.p].d);n.c[t.c.p][t.p].b>0&&(n.c[t.c.p][t.p].d+=F$n(n.i,24)*cJn*.07000000029802322-.03500000014901161,n.c[t.c.p][t.p].a=n.c[t.c.p][t.p].d/n.c[t.c.p][t.p].b)}}function Nzn(n){var t,e,i,r,c,a,u,o,s,h,f,l,b,w;for(l=new Ub(n);l.a<l.c.c.length;){for(YN((f=KB(Y1(l),10)).n),YN(f.o),X6(f.f),XRn(f),rRn(f),w=new Ub(f.j);w.a<w.c.c.length;){for(YN((b=KB(Y1(w),11)).n),YN(b.a),YN(b.o),BCn(b,rmn(b.j)),(r=KB(pMn(b,(FXn(),tpt)),19))&&oon(b,tpt,tln(-r.a)),i=new Ub(b.g);i.a<i.c.c.length;){for(t=upn((e=KB(Y1(i),17)).a,0);t.b!=t.d.c;)YN(KB(f3(t),8));if(a=KB(pMn(e,ggt),74))for(c=upn(a,0);c.b!=c.d.c;)YN(KB(f3(c),8));for(s=new Ub(e.b);s.a<s.c.c.length;)YN((u=KB(Y1(s),70)).n),YN(u.o)}for(h=new Ub(b.f);h.a<h.c.c.length;)YN((u=KB(Y1(h),70)).n),YN(u.o)}for(f.k==(cSn(),Eut)&&(oon(f,(oWn(),Wft),rmn(KB(pMn(f,Wft),61))),lxn(f)),o=new Ub(f.b);o.a<o.c.c.length;)XRn(u=KB(Y1(o),70)),YN(u.o),YN(u.n)}}function xzn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y;for(n.e=t,u=YIn(t),m=new $p,i=new Ub(u);i.a<i.c.c.length;){for(e=KB(Y1(i),15),y=new $p,m.c[m.c.length]=y,o=new xv,l=e.Kc();l.Ob();){for(c=QRn(n,f=KB(l.Pb(),33),!0,0,0),y.c[y.c.length]=c,b=f.i,w=f.j,!f.n&&(f.n=new nU(HOt,f,1,7)),h=new IL(f.n);h.e!=h.i.gc();)r=QRn(n,KB(mpn(h),137),!1,b,w),y.c[y.c.length]=r;for(!f.c&&(f.c=new nU(GOt,f,9,9)),g=new IL(f.c);g.e!=g.i.gc();)for(a=QRn(n,d=KB(mpn(g),118),!1,b,w),y.c[y.c.length]=a,p=d.i+b,v=d.j+w,!d.n&&(d.n=new nU(HOt,d,1,7)),s=new IL(d.n);s.e!=s.i.gc();)r=QRn(n,KB(mpn(s),137),!1,p,v),y.c[y.c.length]=r;_rn(o,QQ(Uen(Mun(Hk(Lnt,1),FWn,20,0,[bLn(f),lLn(f)]))))}GLn(n,o,y)}return n.f=new Rj(m),Ban(n.f,t),n.f}function Dzn(n,t,e,i,r){var c,a,u,o,s,h,f,l,b,w,d,g;null==(w=xX(n.e,i))&&(s=KB(w=new dy,183),o=new HX(t+"_s"+r),etn(s,B6n,o)),YX(e,b=KB(w,183)),BQ(g=new dy,"x",i.j),BQ(g,"y",i.k),etn(b,G6n,g),BQ(f=new dy,"x",i.b),BQ(f,"y",i.c),etn(b,"endPoint",f),!UE((!i.a&&(i.a=new OL($Ot,i,5)),i.a))&&(c=new Ug(h=new Sl),n5((!i.a&&(i.a=new OL($Ot,i,5)),i.a),c),etn(b,N6n,h)),!!Tvn(i)&&iMn(n.a,b,D6n,xPn(n,Tvn(i))),!!Mvn(i)&&iMn(n.a,b,x6n,xPn(n,Mvn(i))),!(0==(!i.e&&(i.e=new o_(ROt,i,10,9)),i.e).i)&&(a=new TI(n,l=new Sl),n5((!i.e&&(i.e=new o_(ROt,i,10,9)),i.e),a),etn(b,_6n,l)),0!=(!i.g&&(i.g=new o_(ROt,i,9,10)),i.g).i&&(u=new MI(n,d=new Sl),n5((!i.g&&(i.g=new o_(ROt,i,9,10)),i.g),u),etn(b,R6n,d))}function Rzn(n){var t,e,r,c,a,u,o;for(BD(),r=n.f.n,u=kX(n.r).a.nc();u.Ob();){if(c=0,(a=KB(u.Pb(),111)).b.Xe((uWn(),rPt))&&(c=Hy(ED(a.b.We(rPt))))<0)switch(a.b.Hf().g){case 1:r.d=i.Math.max(r.d,-c);break;case 3:r.a=i.Math.max(r.a,-c);break;case 2:r.c=i.Math.max(r.c,-c);break;case 4:r.b=i.Math.max(r.b,-c)}if(Fz(n.u))switch(t=gcn(a.b,c),o=!KB(n.e.We(BSt),174).Hc((Y_n(),FIt)),e=!1,a.b.Hf().g){case 1:e=t>r.d,r.d=i.Math.max(r.d,t),o&&e&&(r.d=i.Math.max(r.d,r.a),r.a=r.d+c);break;case 3:e=t>r.a,r.a=i.Math.max(r.a,t),o&&e&&(r.a=i.Math.max(r.a,r.d),r.d=r.a+c);break;case 2:e=t>r.c,r.c=i.Math.max(r.c,t),o&&e&&(r.c=i.Math.max(r.b,r.c),r.b=r.c+c);break;case 4:e=t>r.b,r.b=i.Math.max(r.b,t),o&&e&&(r.b=i.Math.max(r.b,r.c),r.c=r.b+c)}}}function _zn(n){var t,e,i,r,c,a,u,o,s,h,f;for(s=new Ub(n);s.a<s.c.c.length;){switch(o=KB(Y1(s),10),c=null,(a=KB(pMn(o,(FXn(),mgt)),163)).g){case 1:case 2:Qun(),c=Oht;break;case 3:case 4:Qun(),c=Cht}if(c)oon(o,(oWn(),Hft),(Qun(),Oht)),c==Cht?xNn(o,a,(rin(),Fvt)):c==Oht&&xNn(o,a,(rin(),Bvt));else if(gA(KB(pMn(o,npt),98))&&0!=o.j.c.length){for(t=!0,f=new Ub(o.j);f.a<f.c.c.length;){if(!((h=KB(Y1(f),11)).j==(mUn(),aIt)&&h.e.c.length-h.g.c.length>0||h.j==SIt&&h.e.c.length-h.g.c.length<0)){t=!1;break}for(r=new Ub(h.g);r.a<r.c.c.length;)if(e=KB(Y1(r),17),(u=KB(pMn(e.d.i,mgt),163))==(jbn(),Klt)||u==Flt){t=!1;break}for(i=new Ub(h.e);i.a<i.c.c.length;)if(e=KB(Y1(i),17),(u=KB(pMn(e.c.i,mgt),163))==(jbn(),Rlt)||u==_lt){t=!1;break}}t&&xNn(o,a,(rin(),Hvt))}}}function Kzn(n,t,e,r,c){var a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E;for(E=0,w=0,l=new Ub(t.e);l.a<l.c.c.length;){for(f=KB(Y1(l),10),b=0,o=0,s=e?KB(pMn(f,zmt),19).a:RVn,v=r?KB(pMn(f,Umt),19).a:RVn,h=i.Math.max(s,v),y=new Ub(f.j);y.a<y.c.c.length;){if(m=KB(Y1(y),11),k=f.n.b+m.n.b+m.a.b,r)for(u=new Ub(m.g);u.a<u.c.c.length;)d=(g=(a=KB(Y1(u),17)).d).i,t!=n.a[d.p]&&(p=i.Math.max(KB(pMn(d,zmt),19).a,KB(pMn(d,Umt),19).a),(j=KB(pMn(a,(FXn(),fpt)),19).a)>=h&&j>=p&&(b+=d.n.b+g.n.b+g.a.b-k,++o));if(e)for(u=new Ub(m.e);u.a<u.c.c.length;)d=(g=(a=KB(Y1(u),17)).c).i,t!=n.a[d.p]&&(p=i.Math.max(KB(pMn(d,zmt),19).a,KB(pMn(d,Umt),19).a),(j=KB(pMn(a,(FXn(),fpt)),19).a)>=h&&j>=p&&(b+=d.n.b+g.n.b+g.a.b-k,++o))}o>0&&(E+=b/o,++w)}w>0?(t.a=c*E/w,t.g=w):(t.a=0,t.g=0)}function Fzn(n,t){var e,i,r,c,a,u,o,s,h,f;for(i=new Ub(n.a.b);i.a<i.c.c.length;)for(u=new Ub(KB(Y1(i),29).a);u.a<u.c.c.length;)a=KB(Y1(u),10),t.j[a.p]=a,t.i[a.p]=t.o==(aZ(),iyt)?DQn:xQn;for(OU(n.c),c=n.a.b,t.c==(wY(),Ymt)&&(c=iL(c,152)?a6(KB(c,152)):iL(c,131)?KB(c,131).a:iL(c,54)?new sy(c):new ST(c)),x9(n.e,t,n.b),vS(t.p,null),r=c.Kc();r.Ob();)for(o=KB(r.Pb(),29).a,t.o==(aZ(),iyt)&&(o=iL(o,152)?a6(KB(o,152)):iL(o,131)?KB(o,131).a:iL(o,54)?new sy(o):new ST(o)),f=o.Kc();f.Ob();)h=KB(f.Pb(),10),t.g[h.p]==h&&aXn(n,h,t);for(Fqn(n,t),e=c.Kc();e.Ob();)for(f=new Ub(KB(e.Pb(),29).a);f.a<f.c.c.length;)h=KB(Y1(f),10),t.p[h.p]=t.p[t.g[h.p].p],h==t.g[h.p]&&(s=Hy(t.i[t.j[h.p].p]),(t.o==(aZ(),iyt)&&s>DQn||t.o==eyt&&s<xQn)&&(t.p[h.p]=Hy(t.p[h.p])+s));n.e.cg()}function Bzn(n,t,e,i){var r,c,a,u,o;return dNn(u=new nUn(t),i),r=!0,n&&n.Xe((uWn(),fSt))&&(r=(c=KB(n.We((uWn(),fSt)),103))==(_fn(),KPt)||c==RPt||c==_Pt),aRn(u,!1),Ctn(u.e.wf(),new OK(u,!1,r)),AY(u,u.f,(Ntn(),Hit),(mUn(),uIt)),AY(u,u.f,Git,TIt),AY(u,u.g,Hit,SIt),AY(u,u.g,Git,aIt),Kpn(u,uIt),Kpn(u,TIt),oV(u,aIt),oV(u,SIt),BD(),(a=u.A.Hc((pdn(),NIt))&&u.B.Hc((Y_n(),GIt))?Ywn(u):null)&&ej(u.a,a),Rzn(u),eyn(u),iyn(u),XGn(u),E_n(u),pkn(u),Rgn(u,uIt),Rgn(u,TIt),SRn(u),MHn(u),e?(Hbn(u),vkn(u),Rgn(u,aIt),Rgn(u,SIt),o=u.B.Hc((Y_n(),zIt)),ECn(u,o,uIt),ECn(u,o,TIt),TCn(u,o,aIt),TCn(u,o,SIt),QT(new xq(null,new l1(new Cb(u.i),0)),new In),QT(IV(new xq(null,kX(u.r).a.oc()),new On),new An),KEn(u),u.e.uf(u.o),QT(new xq(null,kX(u.r).a.oc()),new Ln),u.o):u.o}function Hzn(n){var t,e,r,c,a,u,o,s,h,f,l,b,w,d,g;for(h=xQn,r=new Ub(n.a.b);r.a<r.c.c.length;)t=KB(Y1(r),81),h=i.Math.min(h,t.d.f.g.c+t.e.a);for(w=new VT,u=new Ub(n.a.a);u.a<u.c.c.length;)(a=KB(Y1(u),189)).i=h,0==a.e&&e5(w,a,w.c.b,w.c);for(;0!=w.b;){for(c=(a=KB(0==w.b?null:(Mx(0!=w.b),Itn(w,w.a.a)),189)).f.g.c,b=a.a.a.ec().Kc();b.Ob();)f=KB(b.Pb(),81),g=a.i+f.e.a,f.d.g||f.g.c<g?f.o=g:f.o=f.g.c;for(c-=a.f.o,a.b+=c,n.c==(_fn(),_Pt)||n.c==DPt?a.c+=c:a.c-=c,l=a.a.a.ec().Kc();l.Ob();)for(s=(f=KB(l.Pb(),81)).f.Kc();s.Ob();)o=KB(s.Pb(),81),d=bA(n.c)?n.f.ef(f,o):n.f.ff(f,o),o.d.i=i.Math.max(o.d.i,f.o+f.g.b+d-o.e.a),o.k||(o.d.i=i.Math.max(o.d.i,o.g.c-o.e.a)),--o.d.e,0==o.d.e&&NH(w,o.d)}for(e=new Ub(n.a.b);e.a<e.c.c.length;)(t=KB(Y1(e),81)).g.c=t.o}function qzn(n){var t,e,i,r,c,a,u,o;switch(u=n.b,t=n.a,0===KB(pMn(n,(Rkn(),Eit)),427).g?p$(u,new Yb(new Gn)):p$(u,new Yb(new zn)),1===KB(pMn(n,kit),428).g?(p$(u,new qn),p$(u,new Un),p$(u,new _n)):(p$(u,new qn),p$(u,new Hn)),KB(pMn(n,Mit),250).g){case 0:o=new Jn;break;case 1:o=new Vn;break;case 2:o=new Qn;break;case 3:o=new Wn;break;case 5:o=new Cw(new Qn);break;case 4:o=new Cw(new Vn);break;case 7:o=new NS(new Cw(new Vn),new Cw(new Qn));break;case 8:o=new NS(new Cw(new Wn),new Cw(new Qn));break;default:o=new Cw(new Wn)}for(a=new Ub(u);a.a<a.c.c.length;){for(c=KB(Y1(a),167),r=0,e=new eI(tln(i=0),tln(r));KKn(t,c,i,r);)e=KB(o.Ce(e,c),46),i=KB(e.a,19).a,r=KB(e.b,19).a;RRn(t,c,i,r)}}function Gzn(n){var t,e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E;for(l=(c=n.f.b).a,h=c.b,w=n.e.g,b=n.e.f,EA(n.e,c.a,c.b),j=l/w,E=h/b,s=new IL(pV(n.e));s.e!=s.i.gc();)Men(o=KB(mpn(s),137),o.i*j),Sen(o,o.j*E);for(v=new IL(vV(n.e));v.e!=v.i.gc();)y=(p=KB(mpn(v),118)).i,k=p.j,y>0&&Men(p,y*j),k>0&&Sen(p,k*E);for(Ycn(n.b,new lt),t=new $p,u=new csn(new Mb(n.c).a);u.b;)i=KB((a=Ztn(u)).cd(),79),e=KB(a.dd(),395).a,r=iDn(i,!1,!1),XFn(f=hTn(MMn(i),BSn(r),e),r),(m=SMn(i))&&-1==k7(t,m,0)&&(t.c[t.c.length]=m,uQ(m,(Mx(0!=f.b),KB(f.a.a.c,8)),e));for(g=new csn(new Mb(n.d).a);g.b;)i=KB((d=Ztn(g)).cd(),79),e=KB(d.dd(),395).a,r=iDn(i,!1,!1),f=hTn(CMn(i),Qon(BSn(r)),e),XFn(f=Qon(f),r),(m=PMn(i))&&-1==k7(t,m,0)&&(t.c[t.c.length]=m,uQ(m,(Mx(0!=f.b),KB(f.c.b.c,8)),e))}function zzn(n,t,e,r){var c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E;if(0!=e.c.length){for(w=new $p,b=new Ub(e);b.a<b.c.c.length;)UB(w,new LC((l=KB(Y1(b),33)).i,l.j));for(r.n&&t&&v0(r,a2(t),(Ksn(),cOt));$Mn(n,e);)k$n(n,e,!1);for(r.n&&t&&v0(r,a2(t),(Ksn(),cOt)),u=0,o=0,c=null,0!=e.c.length&&(h1(0,e.c.length),u=(c=KB(e.c[0],33)).i-(h1(0,w.c.length),KB(w.c[0],8)).a,o=c.j-(h1(0,w.c.length),KB(w.c[0],8)).b),a=i.Math.sqrt(u*u+o*o),f=Ghn(e);0!=f.a.gc();){for(h=f.a.ec().Kc();h.Ob();)s=KB(h.Pb(),33),g=(d=n.f).i+d.g/2,p=d.j+d.f/2,v=s.i+s.g/2,y=s.j+s.f/2-p,j=(m=v-g)/(k=i.Math.sqrt(m*m+y*y)),E=y/k,Men(s,s.i+j*a),Sen(s,s.j+E*a);r.n&&t&&v0(r,a2(t),(Ksn(),cOt)),f=Ghn(new Z_(f))}n.a&&n.a.lg(new Z_(f)),r.n&&t&&v0(r,a2(t),(Ksn(),cOt)),zzn(n,t,new Z_(f),r)}}function Uzn(n,t,e){var r,c,a,u,o,s,h,f,l,b,w,d,g,p,v;if(g=n.n,p=n.o,b=n.d,l=Hy(ED(ndn(n,(FXn(),dpt)))),t){for(f=l*(t.gc()-1),w=0,s=t.Kc();s.Ob();)f+=(u=KB(s.Pb(),10)).o.a,w=i.Math.max(w,u.o.b);for(v=g.a-(f-p.a)/2,a=g.b-b.d+w,c=r=p.a/(t.gc()+1),o=t.Kc();o.Ob();)(u=KB(o.Pb(),10)).n.a=v,u.n.b=a-u.o.b,v+=u.o.a+l,(h=NLn(u)).n.a=u.o.a/2-h.a.a,h.n.b=u.o.b,(d=KB(pMn(u,(oWn(),Dft)),11)).e.c.length+d.g.c.length==1&&(d.n.a=c-d.a.a,d.n.b=0,SZ(d,n)),c+=r}if(e){for(f=l*(e.gc()-1),w=0,s=e.Kc();s.Ob();)f+=(u=KB(s.Pb(),10)).o.a,w=i.Math.max(w,u.o.b);for(v=g.a-(f-p.a)/2,a=g.b+p.b+b.a-w,c=r=p.a/(e.gc()+1),o=e.Kc();o.Ob();)(u=KB(o.Pb(),10)).n.a=v,u.n.b=a,v+=u.o.a+l,(h=NLn(u)).n.a=u.o.a/2-h.a.a,h.n.b=0,(d=KB(pMn(u,(oWn(),Dft)),11)).e.c.length+d.g.c.length==1&&(d.n.a=c-d.a.a,d.n.b=p.b,SZ(d,n)),c+=r}}function Xzn(n,t){var e,r,c,a,u,o;if(KB(pMn(t,(oWn(),Jft)),21).Hc((fDn(),hft))){for(o=new Ub(t.a);o.a<o.c.c.length;)(a=KB(Y1(o),10)).k==(cSn(),Sut)&&(c=KB(pMn(a,(FXn(),Sgt)),142),n.c=i.Math.min(n.c,a.n.a-c.b),n.a=i.Math.max(n.a,a.n.a+a.o.a+c.c),n.d=i.Math.min(n.d,a.n.b-c.d),n.b=i.Math.max(n.b,a.n.b+a.o.b+c.a));for(u=new Ub(t.a);u.a<u.c.c.length;)if((a=KB(Y1(u),10)).k!=(cSn(),Sut))switch(a.k.g){case 2:if((r=KB(pMn(a,(FXn(),mgt)),163))==(jbn(),_lt)){a.n.a=n.c-10,Vyn(a,new Ge).Jb(new ed(a));break}if(r==Flt){a.n.a=n.a+10,Vyn(a,new ze).Jb(new id(a));break}if((e=KB(pMn(a,tlt),303))==(q7(),Sft)){hqn(a).Jb(new rd(a)),a.n.b=n.d-10;break}if(e==Tft){hqn(a).Jb(new cd(a)),a.n.b=n.b+10;break}break;default:throw Fp(new Ry("The node type "+a.k+" is not supported by the "+Qot))}}}function Wzn(n,t,e,i){var r,c,a,u,o,s,h,f,l,b,w,d;for(o=new LC(i.i+i.g/2,i.j+i.f/2),l=zHn(i),b=KB(JAn(t,(FXn(),npt)),98),d=KB(JAn(i,cpt),61),KI(hpn(i),Zgt)||(w=0==i.i&&0==i.j?0:ZTn(i,d),Vpn(i,Zgt,w)),oon(r=fXn(i,b,d,l,new LC(t.g,t.f),o,new LC(i.g,i.f),KB(pMn(e,Gdt),103),e),(oWn(),blt),i),Fl(c=KB(Lq(r.j,0),11),yKn(i)),oon(r,ipt,(hIn(),Yln(eIt))),h=KB(JAn(t,ipt),174).Hc(nIt),u=new IL((!i.n&&(i.n=new nU(HOt,i,1,7)),i.n));u.e!=u.i.gc();)if(!By(jD(JAn(a=KB(mpn(u),137),Hgt)))&&a.a&&(f=Fhn(a),UB(c.f,f),!h))switch(s=0,Fz(KB(JAn(t,ipt),21))&&(s=OIn(new LC(a.i,a.j),new LC(a.g,a.f),new LC(i.g,i.f),0,d)),d.g){case 2:case 4:f.o.a=s;break;case 1:case 3:f.o.b=s}oon(r,Spt,ED(JAn(QY(t),Spt))),oon(r,Ppt,ED(JAn(QY(t),Ppt))),oon(r,Tpt,ED(JAn(QY(t),Tpt))),UB(e.a,r),XW(n.a,i,r)}function Vzn(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m;for(CTn(e,"Processor arrange level",1),h=0,TQ(),Rrn(t,new rp((Bqn(),tkt))),c=t.b,u=upn(t,t.b),s=!0;s&&u.b.b!=u.d.a;)g=KB(G0(u),86),0==KB(pMn(g,tkt),19).a?--c:s=!1;if(a=new Y_(new u1(t,0,c)),o=new Y_(new u1(t,c,t.b)),0==a.b)for(b=upn(o,0);b.b!=b.d.c;)oon(KB(f3(b),86),okt,tln(h++));else for(f=a.b,m=upn(a,0);m.b!=m.d.c;){for(oon(v=KB(f3(m),86),okt,tln(h++)),Vzn(n,i=Lun(v),pcn(e,1/f|0)),Rrn(i,WW(new rp(okt))),l=new VT,p=upn(i,0);p.b!=p.d.c;)for(g=KB(f3(p),86),d=upn(v.d,0);d.b!=d.d.c;)(w=KB(f3(d),188)).c==g&&e5(l,w,l.c.b,l.c);for(vQ(v.d),_rn(v.d,l),u=upn(o,o.b),r=v.d.b,s=!0;0<r&&s&&u.b.b!=u.d.a;)g=KB(G0(u),86),0==KB(pMn(g,tkt),19).a?(oon(g,okt,tln(h++)),--r,ptn(u)):s=!1}FSn(e)}function Qzn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g;for(CTn(t,"Inverted port preprocessing",1),u=new E2(n.b,0),e=null,g=new $p;u.b<u.d.gc();){for(d=e,Mx(u.b<u.d.gc()),e=KB(u.d.Xb(u.c=u.b++),29),h=new Ub(g);h.a<h.c.c.length;)MZ(o=KB(Y1(h),10),d);for(g.c=L8(Int,FWn,1,0,5,1),f=new Ub(e.a);f.a<f.c.c.length;)if((o=KB(Y1(f),10)).k==(cSn(),Sut)&&gA(KB(pMn(o,(FXn(),npt)),98))){for(w=iRn(o,(rin(),Fvt),(mUn(),aIt)).Kc();w.Ob();)for(l=KB(w.Pb(),11),r=0,c=(i=KB(Wgn(a=l.e,L8(vut,i1n,17,a.c.length,0,1)),474)).length;r<c;++r)OBn(n,l,i[r],g);for(b=iRn(o,Bvt,SIt).Kc();b.Ob();)for(l=KB(b.Pb(),11),r=0,c=(i=KB(Wgn(a=l.g,L8(vut,i1n,17,a.c.length,0,1)),474)).length;r<c;++r)IBn(n,l,i[r],g)}}for(s=new Ub(g);s.a<s.c.c.length;)MZ(o=KB(Y1(s),10),e);FSn(t)}function Jzn(n,t,e,i,r,c){var a,u,o,s,h,f;for(Ban(s=new SSn,t),BCn(s,KB(JAn(t,(FXn(),cpt)),61)),oon(s,(oWn(),blt),t),SZ(s,e),(f=s.o).a=t.g,f.b=t.f,(h=s.n).a=t.i,h.b=t.j,XW(n.a,t,s),(a=a5(OV(lnn(new xq(null,(!t.e&&(t.e=new o_(DOt,t,7,4)),new l1(t.e,16))),new Vt),new Xt),new Uw(t)))||(a=a5(OV(lnn(new xq(null,(!t.d&&(t.d=new o_(DOt,t,8,5)),new l1(t.d,16))),new Qt),new Wt),new Xw(t))),a||(a=a5(new xq(null,(!t.e&&(t.e=new o_(DOt,t,7,4)),new l1(t.e,16))),new Jt)),oon(s,nlt,(oN(),!!a)),dqn(s,c,r,KB(JAn(t,Ygt),8)),o=new IL((!t.n&&(t.n=new nU(HOt,t,1,7)),t.n));o.e!=o.i.gc();)!By(jD(JAn(u=KB(mpn(o),137),Hgt)))&&u.a&&UB(s.f,Fhn(u));switch(r.g){case 2:case 1:(s.j==(mUn(),uIt)||s.j==TIt)&&i.Fc((fDn(),wft));break;case 4:case 3:(s.j==(mUn(),aIt)||s.j==SIt)&&i.Fc((fDn(),wft))}return s}function Yzn(n,t,e,r,c,a,u){var o,s,h,f,l,b,w,d,g,p,v,m;for(l=null,r==(bY(),Ayt)?l=t:r==$yt&&(l=e),d=l.a.ec().Kc();d.Ob();){for(w=KB(d.Pb(),11),g=Ion(Mun(Hk(MMt,1),uVn,8,0,[w.i.n,w.n,w.a])).b,m=new xv,o=new xv,h=new p6(w.b);v$(h.a)||v$(h.b);)if(By(jD(pMn(s=KB(v$(h.a)?Y1(h.a):Y1(h.b),17),(oWn(),Slt))))==c&&-1!=k7(a,s,0)){if(p=s.d==w?s.c:s.d,v=Ion(Mun(Hk(MMt,1),uVn,8,0,[p.i.n,p.n,p.a])).b,i.Math.abs(v-g)<.2)continue;v<g?t.a._b(p)?jU(m,new eI(Ayt,s)):jU(m,new eI($yt,s)):t.a._b(p)?jU(o,new eI(Ayt,s)):jU(o,new eI($yt,s))}if(m.a.gc()>1)for(n5(m,new uC(n,b=new oqn(w,m,r))),u.c[u.c.length]=b,f=m.a.ec().Kc();f.Ob();)v7(a,KB(f.Pb(),46).b);if(o.a.gc()>1)for(n5(o,new oC(n,b=new oqn(w,o,r))),u.c[u.c.length]=b,f=o.a.ec().Kc();f.Ob();)v7(a,KB(f.Pb(),46).b)}}function Zzn(n){$M(n,new ETn(bj(gj(lj(dj(wj(new du,l4n),"ELK Radial"),'A radial layout provider which is based on the algorithm of Peter Eades published in "Drawing free trees.", published by International Institute for Advanced Study of Social Information Science, Fujitsu Limited in 1991. The radial layouter takes a tree and places the nodes in radial order around the root. The nodes of the same tree level are placed on the same radius.'),new Ha),l4n))),c2(n,l4n,w3n,ppn(Ljt)),c2(n,l4n,gZn,ppn(Djt)),c2(n,l4n,MZn,ppn(Sjt)),c2(n,l4n,KZn,ppn(Pjt)),c2(n,l4n,TZn,ppn(Cjt)),c2(n,l4n,SZn,ppn(Mjt)),c2(n,l4n,EZn,ppn(Ijt)),c2(n,l4n,PZn,ppn($jt)),c2(n,l4n,o4n,ppn(Ejt)),c2(n,l4n,u4n,ppn(Tjt)),c2(n,l4n,f4n,ppn(Ojt)),c2(n,l4n,c4n,ppn(Ajt)),c2(n,l4n,a4n,ppn(Njt)),c2(n,l4n,s4n,ppn(xjt)),c2(n,l4n,h4n,ppn(Rjt))}function nUn(n){var t;if(this.r=LV(new Pn,new Cn),this.b=new Fbn(KB(vX(_It),290)),this.p=new Fbn(KB(vX(_It),290)),this.i=new Fbn(KB(vX(Drt),290)),this.e=n,this.o=new lA(n.rf()),this.D=n.Df()||By(jD(n.We((uWn(),TSt)))),this.A=KB(n.We((uWn(),DSt)),21),this.B=KB(n.We(BSt),21),this.q=KB(n.We(cPt),98),this.u=KB(n.We(sPt),21),!lMn(this.u))throw Fp(new ek("Invalid port label placement: "+this.u));if(this.v=By(jD(n.We(fPt))),this.j=KB(n.We(NSt),21),!Z$n(this.j))throw Fp(new ek("Invalid node label placement: "+this.j));this.n=KB(Yyn(n,$St),116),this.k=Hy(ED(Yyn(n,CPt))),this.d=Hy(ED(Yyn(n,PPt))),this.w=Hy(ED(Yyn(n,xPt))),this.s=Hy(ED(Yyn(n,IPt))),this.t=Hy(ED(Yyn(n,OPt))),this.C=KB(Yyn(n,LPt),142),this.c=2*this.d,t=!this.B.Hc((Y_n(),FIt)),this.f=new Pgn(0,t,0),this.g=new Pgn(1,t,0),yy(this.f,(Ntn(),qit),this.g)}function tUn(n,t,e,r,c){var a,u,o,s,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S;for(y=0,g=0,d=0,w=1,m=new IL((!n.a&&(n.a=new nU(qOt,n,10,11)),n.a));m.e!=m.i.gc();)w+=_3(new az(JL(bLn(p=KB(mpn(m),33)).a.Kc(),new h))),T=p.g,g=i.Math.max(g,T),b=p.f,d=i.Math.max(d,b),y+=T*b;for(u=y+2*r*r*w*(!n.a&&(n.a=new nU(qOt,n,10,11)),n.a).i,a=i.Math.sqrt(u),s=i.Math.max(a*e,g),o=i.Math.max(a/e,d),v=new IL((!n.a&&(n.a=new nU(qOt,n,10,11)),n.a));v.e!=v.i.gc();)p=KB(mpn(v),33),M=c.b+(F$n(t,26)*eJn+F$n(t,27)*iJn)*(s-p.g),S=c.b+(F$n(t,26)*eJn+F$n(t,27)*iJn)*(o-p.f),Men(p,M),Sen(p,S);for(E=s+(c.b+c.c),j=o+(c.d+c.a),k=new IL((!n.a&&(n.a=new nU(qOt,n,10,11)),n.a));k.e!=k.i.gc();)for(l=new az(JL(bLn(KB(mpn(k),33)).a.Kc(),new h));bAn(l);)YOn(f=KB(G5(l),79))||KXn(f,t,E,j);DUn(n,E+=c.b+c.c,j+=c.d+c.a,!1,!0)}function eUn(n){var t,e,i,r,c,a,u,o,s,h,f;if(null==n)throw Fp(new Ek(qWn));if(s=n,o=!1,(c=n.length)>0&&(f1(0,n.length),45!=(t=n.charCodeAt(0))&&43!=t||(n=n.substr(1),--c,o=45==t)),0==c)throw Fp(new Ek(NQn+s+'"'));for(;n.length>0&&(f1(0,n.length),48==n.charCodeAt(0));)n=n.substr(1),--c;if(c>(tFn(),Ltt)[10])throw Fp(new Ek(NQn+s+'"'));for(r=0;r<c;r++)if(-1==ngn((f1(r,n.length),n.charCodeAt(r))))throw Fp(new Ek(NQn+s+'"'));for(f=0,a=Att[10],h=$tt[10],u=y7(Ntt[10]),e=!0,(i=c%a)>0&&(f=-parseInt(n.substr(0,i),10),n=n.substr(i),c-=i,e=!1);c>=a;){if(i=parseInt(n.substr(0,a),10),n=n.substr(a),c-=a,e)e=!1;else{if(Xhn(f,u)<0)throw Fp(new Ek(NQn+s+'"'));f=ibn(f,h)}f=tbn(f,i)}if(Xhn(f,0)>0)throw Fp(new Ek(NQn+s+'"'));if(!o&&Xhn(f=y7(f),0)<0)throw Fp(new Ek(NQn+s+'"'));return f}function iUn(n,t){var e,i,r,c,a,u,o;if(JH(),this.a=new z$(this),this.b=n,this.c=t,this.f=CU(K7((PPn(),Q$t),t)),this.f.dc())if((u=pjn(Q$t,n))==t)for(this.e=!0,this.d=new $p,this.f=new fo,this.f.Fc(T7n),KB($Hn(_7(Q$t,Gtn(n)),""),26)==n&&this.f.Fc(rz(Q$t,Gtn(n))),r=k_n(Q$t,n).Kc();r.Ob();)switch(i=KB(r.Pb(),170),NW(K7(Q$t,i))){case 4:this.d.Fc(i);break;case 5:this.f.Gc(CU(K7(Q$t,i)))}else if(JM(),KB(t,66).Oj())for(this.e=!0,this.f=null,this.d=new $p,a=0,o=(null==n.i&&BFn(n),n.i).length;a<o;++a)for(null==n.i&&BFn(n),e=n.i,i=a>=0&&a<e.length?e[a]:null,c=J1(K7(Q$t,i));c;c=J1(K7(Q$t,c)))c==t&&this.d.Fc(i);else 1==NW(K7(Q$t,t))&&u?(this.f=null,this.d=(jOn(),sLt)):(this.f=null,this.e=!0,this.d=(TQ(),new Hb(t)));else this.e=5==NW(K7(Q$t,t)),this.f.Fb(rLt)&&(this.f=rLt)}function rUn(n,t){var e,r,c,a,u,o,s,h,f,l,b,w,d;for(e=0,r=Mmn(n,t),b=n.s,w=n.t,h=KB(KB(o6(n.r,t),21),84).Kc();h.Ob();)if((s=KB(h.Pb(),111)).c&&!(s.c.d.c.length<=0)){switch(d=s.b.rf(),o=s.b.Xe((uWn(),rPt))?Hy(ED(s.b.We(rPt))):0,(l=(f=s.c).i).b=(u=f.n,f.e.a+u.b+u.c),l.a=(a=f.n,f.e.b+a.d+a.a),t.g){case 1:l.c=s.a?(d.a-l.b)/2:d.a+b,l.d=d.b+o+r,h9(f,(Q9(),Wit)),UD(f,(H7(),irt));break;case 3:l.c=s.a?(d.a-l.b)/2:d.a+b,l.d=-o-r-l.a,h9(f,(Q9(),Wit)),UD(f,(H7(),trt));break;case 2:l.c=-o-r-l.b,s.a?(c=n.v?l.a:KB(Lq(f.d,0),181).rf().b,l.d=(d.b-c)/2):l.d=d.b+w,h9(f,(Q9(),Qit)),UD(f,(H7(),ert));break;case 4:l.c=d.a+o+r,s.a?(c=n.v?l.a:KB(Lq(f.d,0),181).rf().b,l.d=(d.b-c)/2):l.d=d.b+w,h9(f,(Q9(),Vit)),UD(f,(H7(),ert))}(t==(mUn(),uIt)||t==TIt)&&(e=i.Math.max(e,l.a))}e>0&&(KB(aV(n.b,t),124).a.b=e)}function cUn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g;for(CTn(t,"Comment pre-processing",1),e=0,o=new Ub(n.a);o.a<o.c.c.length;)if(By(jD(pMn(u=KB(Y1(o),10),(FXn(),jdt))))){for(++e,r=0,i=null,s=null,w=new Ub(u.j);w.a<w.c.c.length;)r+=(l=KB(Y1(w),11)).e.c.length+l.g.c.length,1==l.e.c.length&&(s=(i=KB(Lq(l.e,0),17)).c),1==l.g.c.length&&(s=(i=KB(Lq(l.g,0),17)).d);if(1!=r||s.e.c.length+s.g.c.length!=1||By(jD(pMn(s.i,jdt)))){for(g=new $p,b=new Ub(u.j);b.a<b.c.c.length;){for(f=new Ub((l=KB(Y1(b),11)).g);f.a<f.c.c.length;)0==(h=KB(Y1(f),17)).d.g.c.length||(g.c[g.c.length]=h);for(a=new Ub(l.e);a.a<a.c.c.length;)0==(c=KB(Y1(a),17)).c.e.c.length||(g.c[g.c.length]=c)}for(d=new Ub(g);d.a<d.c.c.length;)ZFn(KB(Y1(d),17),!0)}else YUn(u,i,s,s.i),IU(o)}t.n&&CH(t,"Found "+e+" comment boxes"),FSn(t)}function aUn(n,t,e,i){var r,c,a,u,o,s,h,f,l,b,w,d;if(l=Hy(ED(pMn(n,(FXn(),Spt)))),b=Hy(ED(pMn(n,Ppt))),f=Hy(ED(pMn(n,Tpt))),u=n.o,a=(c=KB(Lq(n.j,0),11)).n,d=jPn(c,f)){if(t.Hc((hIn(),nIt)))switch(KB(pMn(n,(oWn(),Wft)),61).g){case 1:d.c=(u.a-d.b)/2-a.a,d.d=b;break;case 3:d.c=(u.a-d.b)/2-a.a,d.d=-b-d.a;break;case 2:e&&0==c.e.c.length&&0==c.g.c.length?(h=i?d.a:KB(Lq(c.f,0),70).o.b,d.d=(u.b-h)/2-a.b):d.d=u.b+b-a.b,d.c=-l-d.b;break;case 4:e&&0==c.e.c.length&&0==c.g.c.length?(h=i?d.a:KB(Lq(c.f,0),70).o.b,d.d=(u.b-h)/2-a.b):d.d=u.b+b-a.b,d.c=l}else if(t.Hc(eIt))switch(KB(pMn(n,(oWn(),Wft)),61).g){case 1:case 3:d.c=a.a+l;break;case 2:case 4:e&&!c.c?(h=i?d.a:KB(Lq(c.f,0),70).o.b,d.d=(u.b-h)/2-a.b):d.d=a.b+b}for(r=d.d,s=new Ub(c.f);s.a<s.c.c.length;)(w=(o=KB(Y1(s),70)).n).a=d.c,w.b=r,r+=o.o.b+f}}function uUn(){xO(fLt,new Vs),xO(HLt,new ah),xO(qLt,new ph),xO(GLt,new Ch),xO(Wtt,new $h),xO(Hk(ANt,1),new Lh),xO(mtt,new Nh),xO(jtt,new xh),xO(Wtt,new Ks),xO(Wtt,new Fs),xO(Wtt,new Bs),xO(Mtt,new Hs),xO(Wtt,new qs),xO(xnt,new Gs),xO(xnt,new zs),xO(Wtt,new Us),xO(Stt,new Xs),xO(Wtt,new Ws),xO(Wtt,new Qs),xO(Wtt,new Js),xO(Wtt,new Ys),xO(Wtt,new Zs),xO(Hk(ANt,1),new nh),xO(Wtt,new th),xO(Wtt,new eh),xO(xnt,new ih),xO(xnt,new rh),xO(Wtt,new ch),xO(Itt,new uh),xO(Wtt,new oh),xO(xtt,new sh),xO(Wtt,new hh),xO(Wtt,new fh),xO(Wtt,new lh),xO(Wtt,new bh),xO(xnt,new wh),xO(xnt,new dh),xO(Wtt,new gh),xO(Wtt,new vh),xO(Wtt,new mh),xO(Wtt,new yh),xO(Wtt,new kh),xO(Wtt,new jh),xO(Rtt,new Eh),xO(Wtt,new Th),xO(Wtt,new Mh),xO(Wtt,new Sh),xO(Rtt,new Ph),xO(xtt,new Ih),xO(Wtt,new Oh),xO(Itt,new Ah)}function oUn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v;if((f=t.length)>0&&(f1(0,t.length),64!=(u=t.charCodeAt(0)))){if(37==u&&(o=!1,0!=(h=t.lastIndexOf("%"))&&(h==f-1||(f1(h+1,t.length),o=46==t.charCodeAt(h+1))))){if(v=p_("%",a=t.substr(1,h-1))?null:OUn(a),i=0,o)try{i=hKn(t.substr(h+2),RVn,NWn)}catch(m){throw iL(m=hun(m),127)?Fp(new A7(m)):Fp(m)}for(d=krn(n.Wg());d.Ob();)if(iL(b=Ean(d),510)&&(p=(r=KB(b,590)).d,(null==v?null==p:p_(v,p))&&0==i--))return r;return null}if(l=-1==(s=t.lastIndexOf("."))?t:t.substr(0,s),e=0,-1!=s)try{e=hKn(t.substr(s+1),RVn,NWn)}catch(m){if(!iL(m=hun(m),127))throw Fp(m);l=t}for(l=p_("%",l)?null:OUn(l),w=krn(n.Wg());w.Ob();)if(iL(b=Ean(w),191)&&(g=(c=KB(b,191)).ne(),(null==l?null==g:p_(l,g))&&0==e--))return c;return null}return Rqn(n,t)}function sUn(n){var t,e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T;for(m=new $p,f=new Ub(n.b);f.a<f.c.c.length;)for(w=new Ub(KB(Y1(f),29).a);w.a<w.c.c.length;)if((l=KB(Y1(w),10)).k==(cSn(),Eut)&&Ax(l,(oWn(),Xft))){for(d=null,p=null,g=null,j=new Ub(l.j);j.a<j.c.c.length;)switch((k=KB(Y1(j),11)).j.g){case 4:d=k;break;case 2:p=k;break;default:g=k}for(s=new Dj((v=KB(Lq(g.g,0),17)).a),GR(o=new lA(g.n),l.n),YU(upn(s,0),o),y=Qon(v.a),GR(h=new lA(g.n),l.n),e5(y,h,y.c.b,y.c),E=KB(pMn(l,Xft),10),T=KB(Lq(E.j,0),11),c=0,u=(i=KB(Wgn(d.e,L8(vut,i1n,17,0,0,1)),474)).length;c<u;++c)EZ(t=i[c],T),Usn(t.a,t.a.b,s);for(r=0,a=(e=J0(p.g)).length;r<a;++r)TZ(t=e[r],T),Usn(t.a,0,y);TZ(v,null),EZ(v,null),m.c[m.c.length]=l}for(b=new Ub(m);b.a<b.c.c.length;)MZ(l=KB(Y1(b),10),null)}function hUn(){var n,t,e;for(hUn=O,new mnn(1,0),new mnn(10,0),new mnn(0,0),Ftt=L8(tet,uVn,240,11,0,1),Btt=L8(PNt,UVn,25,100,15,1),Htt=Mun(Hk($Nt,1),BQn,25,15,[1,5,25,125,625,3125,15625,78125,390625,1953125,9765625,48828125,244140625,1220703125,6103515625,30517578125,152587890625,762939453125,3814697265625,19073486328125,95367431640625,476837158203125,0x878678326eac9]),qtt=L8(CNt,oQn,25,Htt.length,15,1),Gtt=Mun(Hk($Nt,1),BQn,25,15,[1,10,100,XVn,1e4,HQn,1e6,1e7,1e8,IQn,1e10,1e11,1e12,1e13,1e14,1e15,1e16]),ztt=L8(CNt,oQn,25,Gtt.length,15,1),Utt=L8(tet,uVn,240,11,0,1),n=0;n<Utt.length;n++)Ftt[n]=new mnn(n,0),Utt[n]=new mnn(0,n),Btt[n]=48;for(;n<Btt.length;n++)Btt[n]=48;for(e=0;e<qtt.length;e++)qtt[e]=rIn(Htt[e]);for(t=0;t<ztt.length;t++)ztt[t]=rIn(Gtt[t]);OOn()}function fUn(){function n(){this.obj=this.createObject()}return n.prototype.createObject=function(n){ +return Object.create(null)},n.prototype.get=function(n){return this.obj[n]},n.prototype.set=function(n,t){this.obj[n]=t},n.prototype[tJn]=function(n){delete this.obj[n]},n.prototype.keys=function(){return Object.getOwnPropertyNames(this.obj)},n.prototype.entries=function(){var n=this.keys(),t=this,e=0;return{next:function(){if(e>=n.length)return{done:!0};var i=n[e++];return{value:[i,t.get(i)],done:!1}}}},qDn()||(n.prototype.createObject=function(){return{}},n.prototype.get=function(n){return this.obj[":"+n]},n.prototype.set=function(n,t){this.obj[":"+n]=t},n.prototype[tJn]=function(n){delete this.obj[":"+n]},n.prototype.keys=function(){var n=[];for(var t in this.obj)58==t.charCodeAt(0)&&n.push(t.substring(1));return n}),n}function lUn(n){var t,e,i,r,c,a,u,o,s,h,f,l,b,w,d;if(MFn(),null==n)return null;if(0==(f=8*n.length))return"";for(l=f/24|0,c=null,c=L8(PNt,UVn,25,4*(0!=(u=f%24)?l+1:l),15,1),s=0,h=0,t=0,e=0,i=0,a=0,r=0,o=0;o<l;o++)t=n[r++],h=(15&(e=n[r++]))<<24>>24,s=(3&t)<<24>>24,b=-128&t?(t>>2^192)<<24>>24:t>>2<<24>>24,w=-128&e?(e>>4^240)<<24>>24:e>>4<<24>>24,d=-128&(i=n[r++])?(i>>6^252)<<24>>24:i>>6<<24>>24,c[a++]=ULt[b],c[a++]=ULt[w|s<<4],c[a++]=ULt[h<<2|d],c[a++]=ULt[63&i];return 8==u?(s=(3&(t=n[r]))<<24>>24,b=-128&t?(t>>2^192)<<24>>24:t>>2<<24>>24,c[a++]=ULt[b],c[a++]=ULt[s<<4],c[a++]=61,c[a++]=61):16==u&&(t=n[r],h=(15&(e=n[r+1]))<<24>>24,s=(3&t)<<24>>24,b=-128&t?(t>>2^192)<<24>>24:t>>2<<24>>24,w=-128&e?(e>>4^240)<<24>>24:e>>4<<24>>24,c[a++]=ULt[b],c[a++]=ULt[w|s<<4],c[a++]=ULt[h<<2],c[a++]=61),Kdn(c,0,c.length)}function bUn(n,t){var e,r,c,a,u,o;if(0==n.e&&n.p>0&&(n.p=-(n.p-1)),n.p>RVn&&n4(t,n.p-uQn),u=t.q.getDate(),_Y(t,1),n.k>=0&&gZ(t,n.k),n.c>=0?_Y(t,n.c):n.k>=0?(r=35-new gon(t.q.getFullYear()-uQn,t.q.getMonth(),35).q.getDate(),_Y(t,i.Math.min(r,u))):_Y(t,u),n.f<0&&(n.f=t.q.getHours()),n.b>0&&n.f<12&&(n.f+=12),rL(t,24==n.f&&n.g?0:n.f),n.j>=0&&w6(t,n.j),n.n>=0&&G8(t,n.n),n.i>=0&&bO(t,ebn(ibn(Cjn(san(t.q.getTime()),XVn),XVn),n.i)),n.a&&(n4(c=new IT,c.q.getFullYear()-uQn-80),uS(san(t.q.getTime()),san(c.q.getTime()))&&n4(t,c.q.getFullYear()-uQn+100)),n.d>=0)if(-1==n.c)(e=(7+n.d-t.q.getDay())%7)>3&&(e-=7),o=t.q.getMonth(),_Y(t,t.q.getDate()+e),t.q.getMonth()!=o&&_Y(t,t.q.getDate()+(e>0?-7:7));else if(t.q.getDay()!=n.d)return!1;return n.o>RVn&&(a=t.q.getTimezoneOffset(),bO(t,ebn(san(t.q.getTime()),60*(n.o-a)*XVn))),!0}function wUn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p;if(iL(r=pMn(t,(oWn(),blt)),239)){for(b=KB(r,33),w=t.e,f=new lA(t.c),c=t.d,f.a+=c.b,f.b+=c.d,TN(KB(JAn(b,(FXn(),Bgt)),174),(Y_n(),BIt))&&(Cl(l=KB(JAn(b,qgt),116),c.a),Rl(l,c.d),Il(l,c.b),_l(l,c.c)),e=new $p,s=new Ub(t.a);s.a<s.c.c.length;)for(iL(pMn(u=KB(Y1(s),10),blt),239)?SUn(u,f):iL(pMn(u,blt),186)&&!w&&TA(i=KB(pMn(u,blt),118),(g=vFn(t,u,i.g,i.f)).a,g.b),d=new Ub(u.j);d.a<d.c.c.length;)QT(IV(new xq(null,new l1(KB(Y1(d),11).g,16)),new Ww(u)),new Vw(e));if(w)for(d=new Ub(w.j);d.a<d.c.c.length;)QT(IV(new xq(null,new l1(KB(Y1(d),11).g,16)),new Qw(w)),new Jw(e));for(p=KB(JAn(b,Jdt),218),a=new Ub(e);a.a<a.c.c.length;)dzn(KB(Y1(a),17),p,f);for(pKn(t),o=new Ub(t.a);o.a<o.c.c.length;)(h=(u=KB(Y1(o),10)).e)&&wUn(n,h)}}function dUn(n){$M(n,new ETn(pj(bj(gj(lj(dj(wj(new du,wZn),"ELK Force"),"Force-based algorithm provided by the Eclipse Layout Kernel. Implements methods that follow physical analogies by simulating forces that move the nodes into a balanced distribution. Currently the original Eades model and the Fruchterman - Reingold model are supported."),new dt),wZn),kG((oAn(),YOt),Mun(Hk(iAt,1),OVn,237,0,[QOt]))))),c2(n,wZn,dZn,tln(1)),c2(n,wZn,gZn,80),c2(n,wZn,pZn,5),c2(n,wZn,XYn,bZn),c2(n,wZn,vZn,tln(1)),c2(n,wZn,mZn,(oN(),!0)),c2(n,wZn,WYn,Wct),c2(n,wZn,yZn,ppn(Fct)),c2(n,wZn,kZn,ppn(Vct)),c2(n,wZn,jZn,!1),c2(n,wZn,EZn,ppn(Uct)),c2(n,wZn,TZn,ppn(zct)),c2(n,wZn,MZn,ppn(Gct)),c2(n,wZn,SZn,ppn(qct)),c2(n,wZn,PZn,ppn(Qct)),c2(n,wZn,aZn,ppn(Hct)),c2(n,wZn,sZn,ppn(rat)),c2(n,wZn,uZn,ppn(Bct)),c2(n,wZn,fZn,ppn(Zct)),c2(n,wZn,oZn,ppn(nat))}function gUn(n,t){var e,r,c,a,u,o,s,h,f,l,b,w;if(!KB(KB(o6(n.r,t),21),84).dc()){if(s=(u=KB(aV(n.b,t),124)).i,o=u.n,f=MDn(n,t),r=s.b-o.b-o.c,c=u.a.a,a=s.c+o.b,w=n.w,f!=(ipn(),KCt)&&f!=BCt||1!=KB(KB(o6(n.r,t),21),84).gc()||(c=f==KCt?c-2*n.w:c,f=_Ct),r<c&&!n.B.Hc((Y_n(),UIt)))f==KCt?a+=w+=(r-c)/(KB(KB(o6(n.r,t),21),84).gc()+1):w+=(r-c)/(KB(KB(o6(n.r,t),21),84).gc()-1);else switch(r<c&&(c=f==KCt?c-2*n.w:c,f=_Ct),f.g){case 3:a+=(r-c)/2;break;case 4:a+=r-c;break;case 0:e=(r-c)/(KB(KB(o6(n.r,t),21),84).gc()+1),a+=w+=i.Math.max(0,e);break;case 1:e=(r-c)/(KB(KB(o6(n.r,t),21),84).gc()-1),w+=i.Math.max(0,e)}for(b=KB(KB(o6(n.r,t),21),84).Kc();b.Ob();)(l=KB(b.Pb(),111)).e.a=a+l.d.b,l.e.b=(h=l.b).Xe((uWn(),rPt))?h.Hf()==(mUn(),uIt)?-h.rf().b-Hy(ED(h.We(rPt))):Hy(ED(h.We(rPt))):h.Hf()==(mUn(),uIt)?-h.rf().b:0,a+=l.d.b+l.b.rf().a+l.d.c+w}}function pUn(n,t){var e,r,c,a,u,o,s,h,f,l,b,w,d;if(!KB(KB(o6(n.r,t),21),84).dc()){if(s=(u=KB(aV(n.b,t),124)).i,o=u.n,l=MDn(n,t),r=s.a-o.d-o.a,c=u.a.b,a=s.d+o.d,d=n.w,h=n.o.a,l!=(ipn(),KCt)&&l!=BCt||1!=KB(KB(o6(n.r,t),21),84).gc()||(c=l==KCt?c-2*n.w:c,l=_Ct),r<c&&!n.B.Hc((Y_n(),UIt)))l==KCt?a+=d+=(r-c)/(KB(KB(o6(n.r,t),21),84).gc()+1):d+=(r-c)/(KB(KB(o6(n.r,t),21),84).gc()-1);else switch(r<c&&(c=l==KCt?c-2*n.w:c,l=_Ct),l.g){case 3:a+=(r-c)/2;break;case 4:a+=r-c;break;case 0:e=(r-c)/(KB(KB(o6(n.r,t),21),84).gc()+1),a+=d+=i.Math.max(0,e);break;case 1:e=(r-c)/(KB(KB(o6(n.r,t),21),84).gc()-1),d+=i.Math.max(0,e)}for(w=KB(KB(o6(n.r,t),21),84).Kc();w.Ob();)(b=KB(w.Pb(),111)).e.a=(f=b.b).Xe((uWn(),rPt))?f.Hf()==(mUn(),SIt)?-f.rf().a-Hy(ED(f.We(rPt))):h+Hy(ED(f.We(rPt))):f.Hf()==(mUn(),SIt)?-f.rf().a:h,b.e.b=a+b.d.d,a+=b.d.d+b.b.rf().b+b.d.a+d}}function vUn(n){var t,e,r,c,a,u,o,s,f,l,b,w,d,g,p;for(n.n=Hy(ED(pMn(n.g,(FXn(),Cpt)))),n.e=Hy(ED(pMn(n.g,jpt))),n.i=n.g.b.c.length,o=n.i-1,w=0,n.j=0,n.k=0,n.a=c6(L8(Itt,uVn,19,n.i,0,1)),n.b=c6(L8(Mtt,uVn,333,n.i,7,1)),u=new Ub(n.g.b);u.a<u.c.c.length;){for((c=KB(Y1(u),29)).p=o,b=new Ub(c.a);b.a<b.c.c.length;)(l=KB(Y1(b),10)).p=w,++w;--o}for(n.f=L8(CNt,oQn,25,w,15,1),n.c=mq(CNt,[uVn,oQn],[48,25],15,[w,3],2),n.o=new $p,n.p=new $p,t=0,n.d=0,a=new Ub(n.g.b);a.a<a.c.c.length;){for(o=(c=KB(Y1(a),29)).p,r=0,p=0,s=c.a.c.length,f=0,b=new Ub(c.a);b.a<b.c.c.length;)w=(l=KB(Y1(b),10)).p,n.f[w]=l.c.p,f+=l.o.b+n.n,e=_3(new az(JL(sbn(l).a.Kc(),new h))),g=_3(new az(JL(hbn(l).a.Kc(),new h))),n.c[w][0]=g-e,n.c[w][1]=e,n.c[w][2]=g,r+=e,p+=g,e>0&&UB(n.p,l),UB(n.o,l);d=s+(t-=r),f+=t*n.e,i5(n.a,o,tln(d)),i5(n.b,o,f),n.j=i.Math.max(n.j,d),n.k=i.Math.max(n.k,f),n.d+=t,t+=p}}function mUn(){var n;mUn=O,MIt=new UC(oYn,0),uIt=new UC(pYn,1),aIt=new UC(vYn,2),TIt=new UC(mYn,3),SIt=new UC(yYn,4),TQ(),lIt=new Ik(new V_(n=KB(Xj(_It),9),KB(TR(n,n.length),9),0)),bIt=sfn(kG(uIt,Mun(Hk(_It,1),VZn,61,0,[]))),oIt=sfn(kG(aIt,Mun(Hk(_It,1),VZn,61,0,[]))),kIt=sfn(kG(TIt,Mun(Hk(_It,1),VZn,61,0,[]))),EIt=sfn(kG(SIt,Mun(Hk(_It,1),VZn,61,0,[]))),vIt=sfn(kG(uIt,Mun(Hk(_It,1),VZn,61,0,[TIt]))),fIt=sfn(kG(aIt,Mun(Hk(_It,1),VZn,61,0,[SIt]))),yIt=sfn(kG(uIt,Mun(Hk(_It,1),VZn,61,0,[SIt]))),wIt=sfn(kG(uIt,Mun(Hk(_It,1),VZn,61,0,[aIt]))),jIt=sfn(kG(TIt,Mun(Hk(_It,1),VZn,61,0,[SIt]))),sIt=sfn(kG(aIt,Mun(Hk(_It,1),VZn,61,0,[TIt]))),pIt=sfn(kG(uIt,Mun(Hk(_It,1),VZn,61,0,[aIt,SIt]))),hIt=sfn(kG(aIt,Mun(Hk(_It,1),VZn,61,0,[TIt,SIt]))),mIt=sfn(kG(uIt,Mun(Hk(_It,1),VZn,61,0,[TIt,SIt]))),dIt=sfn(kG(uIt,Mun(Hk(_It,1),VZn,61,0,[aIt,TIt]))),gIt=sfn(kG(uIt,Mun(Hk(_It,1),VZn,61,0,[aIt,TIt,SIt])))}function yUn(n,t){var e,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v;if(0!=t.b){for(l=new VT,a=null,b=null,e=SY(i.Math.floor(i.Math.log(t.b)*i.Math.LOG10E)+1),u=0,v=upn(t,0);v.b!=v.d.c;)for(g=KB(f3(v),86),HI(b)!==HI(pMn(g,(Bqn(),ekt)))&&(b=TD(pMn(g,ekt)),u=0),a=null!=b?b+b0(u++,e):b0(u++,e),oon(g,ekt,a),d=new lg(upn(new fg(g).a.d,0));kE(d.a);)e5(l,w=KB(f3(d.a),188).c,l.c.b,l.c),oon(w,ekt,a);for(f=new Lp,c=0;c<a.length-e;c++)for(p=upn(t,0);p.b!=p.d.c;)pZ(f,o=sx(TD(pMn(g=KB(f3(p),86),(Bqn(),ekt))),0,c+1),tln(null!=(null==o?BI(IJ(f.f,null)):oS(f.g,o))?KB(null==o?BI(IJ(f.f,null)):oS(f.g,o),19).a+1:1));for(h=new csn(new Mb(f).a);h.b;)s=Ztn(h),r=tln(null!=xX(n.a,s.cd())?KB(xX(n.a,s.cd()),19).a:0),pZ(n.a,TD(s.cd()),tln(KB(s.dd(),19).a+r.a)),(!(r=KB(xX(n.b,s.cd()),19))||r.a<KB(s.dd(),19).a)&&pZ(n.b,TD(s.cd()),KB(s.dd(),19));yUn(n,l)}}function kUn(n,t,e){var r,c,a,u,o,s,h,f,l,b,w,d,g,p,v;for(CTn(e,"Interactive node layering",1),r=new $p,w=new Ub(t.a);w.a<w.c.c.length;){for(s=(h=(l=KB(Y1(w),10)).n.a)+l.o.a,s=i.Math.max(h+1,s),v=new E2(r,0),c=null;v.b<v.d.gc();){if(Mx(v.b<v.d.gc()),(g=KB(v.d.Xb(v.c=v.b++),569)).c>=s){Mx(v.b>0),v.a.Xb(v.c=--v.b);break}g.a>h&&(c?(wun(c.b,g.b),c.a=i.Math.max(c.a,g.a),sW(v)):(UB(g.b,l),g.c=i.Math.min(g.c,h),g.a=i.Math.max(g.a,s),c=g))}c||((c=new tm).c=h,c.a=s,vR(v,c),UB(c.b,l))}for(o=t.b,f=0,p=new Ub(r);p.a<p.c.c.length;)for(g=KB(Y1(p),569),(a=new FX(t)).p=f++,o.c[o.c.length]=a,d=new Ub(g.b);d.a<d.c.c.length;)MZ(l=KB(Y1(d),10),a),l.p=0;for(b=new Ub(t.a);b.a<b.c.c.length;)0==(l=KB(Y1(b),10)).p&&SDn(n,l,t);for(u=new E2(o,0);u.b<u.d.gc();)0==(Mx(u.b<u.d.gc()),KB(u.d.Xb(u.c=u.b++),29)).a.c.length&&sW(u);t.a.c=L8(Int,FWn,1,0,5,1),FSn(e)}function jUn(n,t,e){var i,r,c,a,u,o,s,h,f,l;if(0!=t.e.c.length&&0!=e.e.c.length){if((i=KB(Lq(t.e,0),17).c.i)==(a=KB(Lq(e.e,0),17).c.i))return k$(KB(pMn(KB(Lq(t.e,0),17),(oWn(),llt)),19).a,KB(pMn(KB(Lq(e.e,0),17),llt),19).a);for(f=0,l=(h=n.a).length;f<l;++f){if((s=h[f])==i)return 1;if(s==a)return-1}}return 0!=t.g.c.length&&0!=e.g.c.length?(c=KB(pMn(t,(oWn(),hlt)),10),o=KB(pMn(e,hlt),10),r=0,u=0,Ax(KB(Lq(t.g,0),17),llt)&&(r=KB(pMn(KB(Lq(t.g,0),17),llt),19).a),Ax(KB(Lq(e.g,0),17),llt)&&(u=KB(pMn(KB(Lq(t.g,0),17),llt),19).a),c&&c==o?By(jD(pMn(KB(Lq(t.g,0),17),Slt)))&&!By(jD(pMn(KB(Lq(e.g,0),17),Slt)))?1:!By(jD(pMn(KB(Lq(t.g,0),17),Slt)))&&By(jD(pMn(KB(Lq(e.g,0),17),Slt)))||r<u?-1:r>u?1:0:(n.b&&(n.b._b(c)&&(r=KB(n.b.xc(c),19).a),n.b._b(o)&&(u=KB(n.b.xc(o),19).a)),r<u?-1:r>u?1:0)):0!=t.e.c.length&&0!=e.g.c.length?1:-1}function EUn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k;for(CTn(t,C1n,1),w=new $p,y=new $p,s=new Ub(n.b);s.a<s.c.c.length;)for(g=-1,l=0,b=(f=Y0((o=KB(Y1(s),29)).a)).length;l<b;++l)if(++g,(h=f[l]).k==(cSn(),Sut)&&gA(KB(pMn(h,(FXn(),npt)),98))){for(A_(KB(pMn(h,(FXn(),npt)),98))||FNn(h),oon(h,(oWn(),elt),h),w.c=L8(Int,FWn,1,0,5,1),y.c=L8(Int,FWn,1,0,5,1),e=new $p,Brn(v=new VT,NSn(h,(mUn(),uIt))),IXn(n,v,w,y,e),u=g,k=h,c=new Ub(w);c.a<c.c.c.length;)Wyn(i=KB(Y1(c),10),u,o),++g,oon(i,elt,h),a=KB(Lq(i.j,0),11),d=KB(pMn(a,blt),11),By(jD(pMn(d,ydt)))||KB(pMn(i,ilt),15).Fc(k);for(vQ(v),p=NSn(h,TIt).Kc();p.Ob();)e5(v,KB(p.Pb(),11),v.a,v.a.a);for(IXn(n,v,y,null,e),m=h,r=new Ub(y);r.a<r.c.c.length;)Wyn(i=KB(Y1(r),10),++g,o),oon(i,elt,h),a=KB(Lq(i.j,0),11),d=KB(pMn(a,blt),11),By(jD(pMn(d,ydt)))||KB(pMn(m,ilt),15).Fc(i);0==e.c.length||oon(h,Lft,e)}FSn(t)}function TUn(n){var t,e,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P;for(h=KB(pMn(n,(Ern(),uat)),33),d=NWn,g=NWn,b=RVn,w=RVn,v=new Ub(n.e);v.a<v.c.c.length;)E=(p=KB(Y1(v),144)).d,T=p.e,d=i.Math.min(d,E.a-T.a/2),g=i.Math.min(g,E.b-T.b/2),b=i.Math.max(b,E.a+T.a/2),w=i.Math.max(w,E.b+T.b/2);for(k=new LC((j=KB(JAn(h,(sRn(),Xct)),116)).b-d,j.d-g),o=new Ub(n.e);o.a<o.c.c.length;)iL(y=pMn(u=KB(Y1(o),144),uat),239)&&TA(f=KB(y,33),(m=GR(u.d,k)).a-f.g/2,m.b-f.f/2);for(r=new Ub(n.c);r.a<r.c.c.length;)e=KB(Y1(r),282),s=iDn(KB(pMn(e,uat),79),!0,!0),Gkn(S=zR(K$(e.d.d),e.c.d),e.c.e.a,e.c.e.b),SA(s,(M=GR(S,e.c.d)).a,M.b),Gkn(P=zR(K$(e.c.d),e.d.d),e.d.e.a,e.d.e.b),MA(s,(t=GR(P,e.d.d)).a,t.b);for(a=new Ub(n.d);a.a<a.c.c.length;)c=KB(Y1(a),447),TA(KB(pMn(c,uat),137),(l=GR(c.d,k)).a,l.b);DUn(h,b-d+(j.b+j.c),w-g+(j.d+j.a),!1,!0)}function MUn(n){var t,e,i,r,c,a,u,o,s,h,f;for(e=null,u=null,(r=KB(pMn(n.b,(FXn(),tgt)),376))==(I6(),Qvt)&&(e=new $p,u=new $p),a=new Ub(n.d);a.a<a.c.c.length;)if((c=KB(Y1(a),101)).i)switch(c.e.g){case 0:t=KB(c4(new WT(c.b)),61),r==Qvt&&t==(mUn(),uIt)?e.c[e.c.length]=c:r==Qvt&&t==(mUn(),TIt)?u.c[u.c.length]=c:$mn(c,t);break;case 1:o=c.a.d.j,s=c.c.d.j,o==(mUn(),uIt)?fU(c,uIt,(Cun(),pst),c.a):s==uIt?fU(c,uIt,(Cun(),vst),c.c):o==TIt?fU(c,TIt,(Cun(),vst),c.a):s==TIt&&fU(c,TIt,(Cun(),pst),c.c);break;case 2:case 3:TN(i=c.b,(mUn(),uIt))?TN(i,TIt)?TN(i,SIt)?TN(i,aIt)||fU(c,uIt,(Cun(),vst),c.c):fU(c,uIt,(Cun(),pst),c.a):fU(c,uIt,(Cun(),gst),null):fU(c,TIt,(Cun(),gst),null);break;case 4:h=c.a.d.j,f=c.a.d.j,h==(mUn(),uIt)||f==uIt?fU(c,TIt,(Cun(),gst),null):fU(c,uIt,(Cun(),gst),null)}e&&(0==e.c.length||WFn(e,(mUn(),uIt)),0==u.c.length||WFn(u,(mUn(),TIt)))}function SUn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w;for(i=KB(pMn(n,(oWn(),blt)),33),b=KB(pMn(n,(FXn(),Kdt)),19).a,c=KB(pMn(n,ygt),19).a,Vpn(i,Kdt,tln(b)),Vpn(i,ygt,tln(c)),Men(i,n.n.a+t.a),Sen(i,n.n.b+t.b),(0!=KB(JAn(i,_gt),174).gc()||n.e||HI(pMn(gW(n),Rgt))===HI(($vn(),pvt))&&dA((fvn(),(n.q?n.q:(TQ(),TQ(),oet))._b(xgt)?KB(pMn(n,xgt),197):KB(pMn(gW(n),Dgt),197))))&&(Ten(i,n.o.a),Een(i,n.o.b)),f=new Ub(n.j);f.a<f.c.c.length;)iL(w=pMn(s=KB(Y1(f),11),blt),186)&&(TA(r=KB(w,118),s.n.a,s.n.b),Vpn(r,cpt,s.j));for(l=0!=KB(pMn(n,Ogt),174).gc(),o=new Ub(n.b);o.a<o.c.c.length;)a=KB(Y1(o),70),(l||0!=KB(pMn(a,Ogt),174).gc())&&(EA(e=KB(pMn(a,blt),137),a.o.a,a.o.b),TA(e,a.n.a,a.n.b));if(!Fz(KB(pMn(n,ipt),21)))for(h=new Ub(n.j);h.a<h.c.c.length;)for(u=new Ub((s=KB(Y1(h),11)).f);u.a<u.c.c.length;)a=KB(Y1(u),70),Ten(e=KB(pMn(a,blt),137),a.o.a),Een(e,a.o.b),TA(e,a.n.a,a.n.b)}function PUn(n){var t,e,i,r,c;switch(CJ(n,t8n),(!n.b&&(n.b=new o_(xOt,n,4,7)),n.b).i+(!n.c&&(n.c=new o_(xOt,n,5,8)),n.c).i){case 0:throw Fp(new Ry("The edge must have at least one source or target."));case 1:return 0==(!n.b&&(n.b=new o_(xOt,n,4,7)),n.b).i?QY(MTn(KB(Utn((!n.c&&(n.c=new o_(xOt,n,5,8)),n.c),0),82))):QY(MTn(KB(Utn((!n.b&&(n.b=new o_(xOt,n,4,7)),n.b),0),82)))}if(1==(!n.b&&(n.b=new o_(xOt,n,4,7)),n.b).i&&1==(!n.c&&(n.c=new o_(xOt,n,5,8)),n.c).i){if(r=MTn(KB(Utn((!n.b&&(n.b=new o_(xOt,n,4,7)),n.b),0),82)),c=MTn(KB(Utn((!n.c&&(n.c=new o_(xOt,n,5,8)),n.c),0),82)),QY(r)==QY(c))return QY(r);if(r==QY(c))return r;if(c==QY(r))return c}for(t=MTn(KB(G5(i=$U(Uen(Mun(Hk(Lnt,1),FWn,20,0,[(!n.b&&(n.b=new o_(xOt,n,4,7)),n.b),(!n.c&&(n.c=new o_(xOt,n,5,8)),n.c)])))),82));bAn(i);)if((e=MTn(KB(G5(i),82)))!=t&&!Stn(e,t))if(QY(e)==QY(t))t=QY(e);else if(!(t=K$n(t,e)))return null;return t}function CUn(n,t,e){var r,c,a,u,o,s,f,l,b,w,d,g,p,v,m,y,k,j;for(CTn(e,"Polyline edge routing",1),v=Hy(ED(pMn(t,(FXn(),Zdt)))),d=Hy(ED(pMn(t,Ipt))),c=Hy(ED(pMn(t,mpt))),r=i.Math.min(1,c/d),k=0,s=0,0!=t.b.c.length&&(k=.4*r*(j=oLn(KB(Lq(t.b,0),29)))),o=new E2(t.b,0);o.b<o.d.gc();){for(Mx(o.b<o.d.gc()),(a=XI(u=KB(o.d.Xb(o.c=o.b++),29),yyt))&&k>0&&(k-=d),jqn(u,k),l=0,w=new Ub(u.a);w.a<w.c.c.length;){for(f=0,p=new az(JL(hbn(b=KB(Y1(w),10)).a.Kc(),new h));bAn(p);)m=w1((g=KB(G5(p),17)).c).b,y=w1(g.d).b,u!=g.d.i.c||f5(g)||(XIn(g,k,.4*r*i.Math.abs(m-y)),g.c.j==(mUn(),SIt)&&(m=0,y=0)),f=i.Math.max(f,i.Math.abs(y-m));switch(b.k.g){case 0:case 4:case 1:case 3:case 5:Hqn(n,b,k,v)}l=i.Math.max(l,f)}o.b<o.d.gc()&&(j=oLn((Mx(o.b<o.d.gc()),KB(o.d.Xb(o.c=o.b++),29))),l=i.Math.max(l,j),Mx(o.b>0),o.a.Xb(o.c=--o.b)),s=.4*r*l,!a&&o.b<o.d.gc()&&(s+=d),k+=u.c.a+s}n.a.a.$b(),t.f.a=k,FSn(e)}function IUn(n){var t,e,i,r,c,a,u,o,s,f,l,b,w,d,g,p,v;for(s=new Lp,u=new dY,i=new Ub(n.a.a.b);i.a<i.c.c.length;)if(o=s2(t=KB(Y1(i),57)))yCn(s.f,o,t);else if(v=s3(t))for(r=new Ub(v.k);r.a<r.c.c.length;)QIn(u,KB(Y1(r),17),t);for(e=new Ub(n.a.a.b);e.a<e.c.c.length;)if(o=s2(t=KB(Y1(e),57)))for(a=new az(JL(hbn(o).a.Kc(),new h));bAn(a);)if(!f5(c=KB(G5(a),17))&&(w=c.c,p=c.d,!(mUn(),vIt).Hc(c.c.j)||!vIt.Hc(c.d.j))){if(d=KB(xX(s,c.d.i),57),GNn(rM(iM(cM(eM(new Fv,0),100),n.c[t.a.d]),n.c[d.a.d])),w.j==SIt&&Oz((wcn(),w)))for(l=KB(o6(u,c),21).Kc();l.Ob();)if((f=KB(l.Pb(),57)).d.c<t.d.c){if((b=n.c[f.a.d])==(g=n.c[t.a.d]))continue;GNn(rM(iM(cM(eM(new Fv,1),100),b),g))}if(p.j==aIt&&Iz((wcn(),p)))for(l=KB(o6(u,c),21).Kc();l.Ob();)if((f=KB(l.Pb(),57)).d.c>t.d.c){if((b=n.c[t.a.d])==(g=n.c[f.a.d]))continue;GNn(rM(iM(cM(eM(new Fv,1),100),b),g))}}}function OUn(n){var t,e,i,r,c,a,u,o;if(xHn(),null==n)return null;if((r=HO(n,VTn(37)))<0)return n;for(o=new hN(n.substr(0,r)),t=L8(ANt,g6n,25,4,15,1),u=0,i=0,a=n.length;r<a;r++)if(f1(r,n.length),37==n.charCodeAt(r)&&n.length>r+2&&Zun((f1(r+1,n.length),n.charCodeAt(r+1)),SAt,PAt)&&Zun((f1(r+2,n.length),n.charCodeAt(r+2)),SAt,PAt))if(e=SH((f1(r+1,n.length),n.charCodeAt(r+1)),(f1(r+2,n.length),n.charCodeAt(r+2))),r+=2,i>0?128==(192&e)?t[u++]=e<<24>>24:i=0:e>=128&&(192==(224&e)?(t[u++]=e<<24>>24,i=2):224==(240&e)?(t[u++]=e<<24>>24,i=3):240==(248&e)&&(t[u++]=e<<24>>24,i=4)),i>0){if(u==i){switch(u){case 2:LX(o,((31&t[0])<<6|63&t[1])&WVn);break;case 3:LX(o,((15&t[0])<<12|(63&t[1])<<6|63&t[2])&WVn)}u=0,i=0}}else{for(c=0;c<u;++c)LX(o,t[c]&WVn);u=0,o.a+=String.fromCharCode(e)}else{for(c=0;c<u;++c)LX(o,t[c]&WVn);u=0,LX(o,(f1(r,n.length),n.charCodeAt(r)))}return o.a}function AUn(n,t,e,i,r){var c,a,u;if(vnn(n,t),a=t[0],c=sV(e.c,0),u=-1,Von(e))if(i>0){if(a+i>n.length)return!1;u=GIn(n.substr(0,a+i),t)}else u=GIn(n,t);switch(c){case 71:return u=qTn(n,a,Mun(Hk(Wtt,1),uVn,2,6,[sQn,hQn]),t),r.e=u,!0;case 77:return wDn(n,t,r,u,a);case 76:return dDn(n,t,r,u,a);case 69:return eCn(n,t,a,r);case 99:return iCn(n,t,a,r);case 97:return u=qTn(n,a,Mun(Hk(Wtt,1),uVn,2,6,["AM","PM"]),t),r.b=u,!0;case 121:return gDn(n,t,a,u,e,r);case 100:return!(u<=0||(r.c=u,0));case 83:return!(u<0)&&ywn(u,a,t[0],r);case 104:12==u&&(u=0);case 75:case 72:return!(u<0||(r.f=u,r.g=!1,0));case 107:return!(u<0||(r.f=u,r.g=!0,0));case 109:return!(u<0||(r.j=u,0));case 115:return!(u<0||(r.n=u,0));case 90:if(a<n.length&&(f1(a,n.length),90==n.charCodeAt(a)))return++t[0],r.o=0,!0;case 122:case 118:return STn(n,a,t,r);default:return!1}}function $Un(n,t){var e,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E;if(b=KB(KB(o6(n.r,t),21),84),t!=(mUn(),aIt)&&t!=SIt){for(a=t==uIt?(Nan(),$rt):(Nan(),xrt),k=t==uIt?(H7(),irt):(H7(),trt),c=(r=(e=KB(aV(n.b,t),124)).i).c+Aon(Mun(Hk($Nt,1),BQn,25,15,[e.n.b,n.C.b,n.k])),v=r.c+r.b-Aon(Mun(Hk($Nt,1),BQn,25,15,[e.n.c,n.C.c,n.k])),u=Jk(FK(a),n.t),m=t==uIt?DQn:xQn,l=b.Kc();l.Ob();)!(h=KB(l.Pb(),111)).c||h.c.d.c.length<=0||(p=h.b.rf(),g=h.e,(d=(w=h.c).i).b=(s=w.n,w.e.a+s.b+s.c),d.a=(o=w.n,w.e.b+o.d+o.a),CJ(k,cYn),w.f=k,h9(w,(Q9(),Qit)),d.c=g.a-(d.b-p.a)/2,j=i.Math.min(c,g.a),E=i.Math.max(v,g.a+p.a),d.c<j?d.c=j:d.c+d.b>E&&(d.c=E-d.b),UB(u.d,new LG(d,mln(u,d))),m=t==uIt?i.Math.max(m,g.b+h.b.rf().b):i.Math.min(m,g.b));for(m+=t==uIt?n.t:-n.t,(y=Mwn((u.e=m,u)))>0&&(KB(aV(n.b,t),124).a.b=y),f=b.Kc();f.Ob();)!(h=KB(f.Pb(),111)).c||h.c.d.c.length<=0||((d=h.c.i).c-=h.e.a,d.d-=h.e.b)}else rUn(n,t)}function LUn(n){var t,e,i,r,c,a,u,o,s,f;for(t=new Lp,a=new IL(n);a.e!=a.i.gc();){for(c=KB(mpn(a),33),e=new xv,XW(Ect,c,e),f=new ut,i=KB(M4(new xq(null,new qU(new az(JL(lLn(c).a.Kc(),new h)))),TG(f,p9(new H,new B,new rn,Mun(Hk(Yet,1),OVn,132,0,[(Bsn(),Get)])))),83),Qen(e,KB(i.xc((oN(),!0)),14),new ot),r=KB(M4(IV(KB(i.xc(!1),15).Lc(),new st),p9(new H,new B,new rn,Mun(Hk(Yet,1),OVn,132,0,[Get]))),15).Kc();r.Ob();)(s=SMn(KB(r.Pb(),79)))&&((u=KB(BI(IJ(t.f,s)),21))||(u=Cxn(s),yCn(t.f,s,u)),_rn(e,u));for(i=KB(M4(new xq(null,new qU(new az(JL(bLn(c).a.Kc(),new h)))),TG(f,p9(new H,new B,new rn,Mun(Hk(Yet,1),OVn,132,0,[Get])))),83),Qen(e,KB(i.xc(!0),14),new ht),o=KB(M4(IV(KB(i.xc(!1),15).Lc(),new ft),p9(new H,new B,new rn,Mun(Hk(Yet,1),OVn,132,0,[Get]))),15).Kc();o.Ob();)(s=PMn(KB(o.Pb(),79)))&&((u=KB(BI(IJ(t.f,s)),21))||(u=Cxn(s),yCn(t.f,s,u)),_rn(e,u))}}function NUn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d;if(cHn(),(o=Xhn(n,0)<0)&&(n=y7(n)),0==Xhn(n,0))switch(t){case 0:return"0";case 1:return UQn;case 2:return"0.00";case 3:return"0.000";case 4:return"0.0000";case 5:return"0.00000";case 6:return"0.000000";default:return(b=new Sk).a+=t<0?"0E+":"0E",b.a+=t==RVn?"2147483648":""+-t,b.a}f=L8(PNt,UVn,25,1+(h=18),15,1),e=h,d=n;do{s=d,d=Cjn(d,10),f[--e]=bG(ebn(48,tbn(s,ibn(d,10))))&WVn}while(0!=Xhn(d,0));if(r=tbn(tbn(tbn(h,e),t),1),0==t)return o&&(f[--e]=45),Kdn(f,e,h-e);if(t>0&&Xhn(r,-6)>=0){if(Xhn(r,0)>=0){for(c=e+bG(r),u=h-1;u>=c;u--)f[u+1]=f[u];return f[++c]=46,o&&(f[--e]=45),Kdn(f,e,h-e+1)}for(a=2;uS(a,ebn(y7(r),1));a++)f[--e]=48;return f[--e]=46,f[--e]=48,o&&(f[--e]=45),Kdn(f,e,h-e)}return w=e+1,i=h,l=new Pk,o&&(l.a+="-"),i-w>=1?(LX(l,f[e]),l.a+=".",l.a+=Kdn(f,e+1,h-e-1)):l.a+=Kdn(f,e,h-e),l.a+="E",Xhn(r,0)>0&&(l.a+="+"),l.a+=""+gz(r),l.a}function xUn(n,t,e){var i,r,c,a,u,o,s,h,f,l;if(n.e.a.$b(),n.f.a.$b(),n.c.c=L8(Int,FWn,1,0,5,1),n.i.c=L8(Int,FWn,1,0,5,1),n.g.a.$b(),t)for(a=new Ub(t.a);a.a<a.c.c.length;)for(h=NSn(c=KB(Y1(a),10),(mUn(),aIt)).Kc();h.Ob();)for(s=KB(h.Pb(),11),jU(n.e,s),r=new Ub(s.g);r.a<r.c.c.length;)f5(i=KB(Y1(r),17))||(UB(n.c,i),dpn(n,i),((u=i.c.i.k)==(cSn(),Sut)||u==Put||u==Eut||u==jut)&&UB(n.j,i),(f=(l=i.d).i.c)==e?jU(n.f,l):f==t?jU(n.e,l):v7(n.c,i));if(e)for(a=new Ub(e.a);a.a<a.c.c.length;){for(o=new Ub((c=KB(Y1(a),10)).j);o.a<o.c.c.length;)for(r=new Ub(KB(Y1(o),11).g);r.a<r.c.c.length;)f5(i=KB(Y1(r),17))&&jU(n.g,i);for(h=NSn(c,(mUn(),SIt)).Kc();h.Ob();)for(s=KB(h.Pb(),11),jU(n.f,s),r=new Ub(s.g);r.a<r.c.c.length;)f5(i=KB(Y1(r),17))||(UB(n.c,i),dpn(n,i),((u=i.c.i.k)==(cSn(),Sut)||u==Put||u==Eut||u==jut)&&UB(n.j,i),(f=(l=i.d).i.c)==e?jU(n.f,l):f==t?jU(n.e,l):v7(n.c,i))}}function DUn(n,t,e,r,c){var a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E;if(p=new LC(n.g,n.f),(g=zPn(n)).a=i.Math.max(g.a,t),g.b=i.Math.max(g.b,e),E=g.a/p.a,f=g.b/p.b,k=g.a-p.a,s=g.b-p.b,r)for(u=QY(n)?KB(JAn(QY(n),(uWn(),fSt)),103):KB(JAn(n,(uWn(),fSt)),103),o=HI(JAn(n,(uWn(),cPt)))===HI((WEn(),zCt)),m=new IL((!n.c&&(n.c=new nU(GOt,n,9,9)),n.c));m.e!=m.i.gc();)switch(v=KB(mpn(m),118),(y=KB(JAn(v,lPt),61))==(mUn(),MIt)&&(y=CFn(v,u),Vpn(v,lPt,y)),y.g){case 1:o||Men(v,v.i*E);break;case 2:Men(v,v.i+k),o||Sen(v,v.j*f);break;case 3:o||Men(v,v.i*E),Sen(v,v.j+s);break;case 4:o||Sen(v,v.j*f)}if(EA(n,g.a,g.b),c)for(b=new IL((!n.n&&(n.n=new nU(HOt,n,1,7)),n.n));b.e!=b.i.gc();)w=(l=KB(mpn(b),137)).i+l.g/2,d=l.j+l.f/2,(j=w/p.a)+(h=d/p.b)>=1&&(j-h>0&&d>=0?(Men(l,l.i+k),Sen(l,l.j+s*h)):j-h<0&&w>=0&&(Men(l,l.i+k*j),Sen(l,l.j+s)));return Vpn(n,(uWn(),DSt),(pdn(),new V_(a=KB(Xj(VIt),9),KB(TR(a,a.length),9),0))),new LC(E,f)}function RUn(n){var t,e,r,c,a,u,o,s,h,f,l;if(f=QY(MTn(KB(Utn((!n.b&&(n.b=new o_(xOt,n,4,7)),n.b),0),82)))==QY(MTn(KB(Utn((!n.c&&(n.c=new o_(xOt,n,5,8)),n.c),0),82))),u=new Hj,(t=KB(JAn(n,(zsn(),oCt)),74))&&t.b>=2){if(0==(!n.a&&(n.a=new nU(ROt,n,6,6)),n.a).i)Zj(),e=new co,s9((!n.a&&(n.a=new nU(ROt,n,6,6)),n.a),e);else if((!n.a&&(n.a=new nU(ROt,n,6,6)),n.a).i>1)for(l=new ix((!n.a&&(n.a=new nU(ROt,n,6,6)),n.a));l.e!=l.i.gc();)Wjn(l);XFn(t,KB(Utn((!n.a&&(n.a=new nU(ROt,n,6,6)),n.a),0),202))}if(f)for(r=new IL((!n.a&&(n.a=new nU(ROt,n,6,6)),n.a));r.e!=r.i.gc();)for(s=new IL((!(e=KB(mpn(r),202)).a&&(e.a=new OL($Ot,e,5)),e.a));s.e!=s.i.gc();)o=KB(mpn(s),469),u.a=i.Math.max(u.a,o.a),u.b=i.Math.max(u.b,o.b);for(a=new IL((!n.n&&(n.n=new nU(HOt,n,1,7)),n.n));a.e!=a.i.gc();)c=KB(mpn(a),137),(h=KB(JAn(c,wCt),8))&&TA(c,h.a,h.b),f&&(u.a=i.Math.max(u.a,c.i+c.g),u.b=i.Math.max(u.b,c.j+c.f));return u}function _Un(n,t,e){var r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E;for(v=t.c.length,c=new B_n(n.a,e,null,null),E=L8($Nt,BQn,25,v,15,1),w=L8($Nt,BQn,25,v,15,1),b=L8($Nt,BQn,25,v,15,1),d=0,o=0;o<v;o++)w[o]=NWn,b[o]=RVn;for(s=0;s<v;s++)for(h1(s,t.c.length),r=KB(t.c[s],180),E[s]=g$n(r),E[d]>E[s]&&(d=s),f=new Ub(n.a.b);f.a<f.c.c.length;)for(p=new Ub(KB(Y1(f),29).a);p.a<p.c.c.length;)g=KB(Y1(p),10),k=Hy(r.p[g.p])+Hy(r.d[g.p]),w[s]=i.Math.min(w[s],k),b[s]=i.Math.max(b[s],k+g.o.b);for(j=L8($Nt,BQn,25,v,15,1),h=0;h<v;h++)(h1(h,t.c.length),KB(t.c[h],180)).o==(aZ(),eyt)?j[h]=w[d]-w[h]:j[h]=b[d]-b[h];for(a=L8($Nt,BQn,25,v,15,1),l=new Ub(n.a.b);l.a<l.c.c.length;)for(y=new Ub(KB(Y1(l),29).a);y.a<y.c.c.length;){for(m=KB(Y1(y),10),u=0;u<v;u++)a[u]=Hy((h1(u,t.c.length),KB(t.c[u],180)).p[m.p])+Hy((h1(u,t.c.length),KB(t.c[u],180)).d[m.p])+j[u];a.sort(ten(T.prototype.te,T,[])),c.p[m.p]=(a[1]+a[2])/2,c.d[m.p]=0}return c}function KUn(n,t,e){var i,r,c,a,u;switch(i=t.i,c=n.i.o,r=n.i.d,u=n.n,a=Ion(Mun(Hk(MMt,1),uVn,8,0,[u,n.a])),n.j.g){case 1:UD(t,(H7(),trt)),i.d=-r.d-e-i.a,KB(KB(Lq(t.d,0),181).We((oWn(),clt)),285)==(zyn(),yCt)?(h9(t,(Q9(),Qit)),i.c=a.a-Hy(ED(pMn(n,flt)))-e-i.b):(h9(t,(Q9(),Vit)),i.c=a.a+Hy(ED(pMn(n,flt)))+e);break;case 2:h9(t,(Q9(),Vit)),i.c=c.a+r.c+e,KB(KB(Lq(t.d,0),181).We((oWn(),clt)),285)==(zyn(),yCt)?(UD(t,(H7(),trt)),i.d=a.b-Hy(ED(pMn(n,flt)))-e-i.a):(UD(t,(H7(),irt)),i.d=a.b+Hy(ED(pMn(n,flt)))+e);break;case 3:UD(t,(H7(),irt)),i.d=c.b+r.a+e,KB(KB(Lq(t.d,0),181).We((oWn(),clt)),285)==(zyn(),yCt)?(h9(t,(Q9(),Qit)),i.c=a.a-Hy(ED(pMn(n,flt)))-e-i.b):(h9(t,(Q9(),Vit)),i.c=a.a+Hy(ED(pMn(n,flt)))+e);break;case 4:h9(t,(Q9(),Qit)),i.c=-r.b-e-i.b,KB(KB(Lq(t.d,0),181).We((oWn(),clt)),285)==(zyn(),yCt)?(UD(t,(H7(),trt)),i.d=a.b-Hy(ED(pMn(n,flt)))-e-i.a):(UD(t,(H7(),irt)),i.d=a.b+Hy(ED(pMn(n,flt)))+e)}}function FUn(n,t,e,r,c,a,u){var o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P,C,I,O;for(w=0,S=0,s=new Ub(n);s.a<s.c.c.length;)azn(o=KB(Y1(s),33)),w=i.Math.max(w,o.g),S+=o.g*o.f;for(M=Jyn(n,S/n.c.length),S+=n.c.length*M,w=i.Math.max(w,i.Math.sqrt(S*u))+e.b,I=e.b,O=e.d,b=0,f=e.b+e.c,NH(T=new VT,tln(0)),j=new VT,h=new E2(n,0);h.b<h.d.gc();)Mx(h.b<h.d.gc()),C=(o=KB(h.d.Xb(h.c=h.b++),33)).g,l=o.f,I+C>w&&(a&&(sO(j,b),sO(T,tln(h.b-1))),I=e.b,O+=b+t,b=0,f=i.Math.max(f,e.b+e.c+C)),Men(o,I),Sen(o,O),f=i.Math.max(f,I+C+e.c),b=i.Math.max(b,l),I+=C+t;if(f=i.Math.max(f,r),(P=O+b+e.a)<c&&(b+=c-P,P=c),a)for(I=e.b,h=new E2(n,0),sO(T,tln(n.c.length)),p=KB(f3(E=upn(T,0)),19).a,sO(j,b),k=upn(j,0),y=0;h.b<h.d.gc();)h.b==p&&(I=e.b,y=Hy(ED(f3(k))),p=KB(f3(E),19).a),Mx(h.b<h.d.gc()),v=(o=KB(h.d.Xb(h.c=h.b++),33)).f,Een(o,y),d=y,h.b==p&&(g=f-I-e.c,m=o.g,Ten(o,g),hCn(o,new LC(g,d),new LC(m,v))),I+=o.g+t;return new LC(f,P)}function BUn(n,t){var e,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S;for(CTn(t,"Compound graph postprocessor",1),e=By(jD(pMn(n,(FXn(),Npt)))),o=KB(pMn(n,(oWn(),Fft)),224),f=new xv,v=o.ec().Kc();v.Ob();){for(p=KB(v.Pb(),17),u=new Z_(o.cc(p)),TQ(),p$(u,new Rw(n)),j=icn((h1(0,u.c.length),KB(u.c[0],243))),T=rcn(KB(Lq(u,u.c.length-1),243)),y=j.i,m=lan(T.i,y)?y.e:gW(y),l=Ipn(p,u),vQ(p.a),b=null,a=new Ub(u);a.a<a.c.c.length;)c=KB(Y1(a),243),CPn(g=new Hj,c.a,m),w=c.b,Usn(r=new mm,0,w.a),Jtn(r,g),k=new lA(w1(w.c)),E=new lA(w1(w.d)),GR(k,g),GR(E,g),b&&(0==r.b?d=E:(Mx(0!=r.b),d=KB(r.a.a.c,8)),M=i.Math.abs(b.a-d.a)>hZn,S=i.Math.abs(b.b-d.b)>hZn,(!e&&M&&S||e&&(M||S))&&NH(p.a,k)),_rn(p.a,r),0==r.b?b=k:(Mx(0!=r.b),b=KB(r.c.b.c,8)),Van(w,l,g),rcn(c)==T&&(gW(T.i)!=c.a&&CPn(g=new Hj,gW(T.i),m),oon(p,xlt,g)),ESn(w,p,m),f.a.zc(w,f);TZ(p,j),EZ(p,T)}for(h=f.a.ec().Kc();h.Ob();)TZ(s=KB(h.Pb(),17),null),EZ(s,null);FSn(t)}function HUn(n){var t,e,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k;if(1==n.gc())return KB(n.Xb(0),231);if(n.gc()<=0)return new v6;for(c=n.Kc();c.Ob();){for(e=KB(c.Pb(),231),d=0,f=NWn,l=NWn,s=RVn,h=RVn,w=new Ub(e.e);w.a<w.c.c.length;)b=KB(Y1(w),144),d+=KB(pMn(b,(sRn(),Jct)),19).a,f=i.Math.min(f,b.d.a-b.e.a/2),l=i.Math.min(l,b.d.b-b.e.b/2),s=i.Math.max(s,b.d.a+b.e.a/2),h=i.Math.max(h,b.d.b+b.e.b/2);oon(e,(sRn(),Jct),tln(d)),oon(e,(Ern(),aat),new LC(f,l)),oon(e,cat,new LC(s,h))}for(TQ(),n.ad(new wt),Ban(g=new v6,KB(n.Xb(0),94)),o=0,m=0,a=n.Kc();a.Ob();)e=KB(a.Pb(),231),p=zR(K$(KB(pMn(e,(Ern(),cat)),8)),KB(pMn(e,aat),8)),o=i.Math.max(o,p.a),m+=p.a*p.b;for(o=i.Math.max(o,i.Math.sqrt(m)*Hy(ED(pMn(g,(sRn(),_ct))))),y=0,k=0,u=0,t=v=Hy(ED(pMn(g,iat))),r=n.Kc();r.Ob();)e=KB(r.Pb(),231),y+(p=zR(K$(KB(pMn(e,(Ern(),cat)),8)),KB(pMn(e,aat),8))).a>o&&(y=0,k+=u+v,u=0),X_n(g,e,y,k),t=i.Math.max(t,y+p.a),u=i.Math.max(u,p.b),y+=p.a+v;return g}function qUn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w;switch(h=new mm,n.a.g){case 3:l=KB(pMn(t.e,(oWn(),$lt)),15),b=KB(pMn(t.j,$lt),15),w=KB(pMn(t.f,$lt),15),e=KB(pMn(t.e,Olt),15),i=KB(pMn(t.j,Olt),15),r=KB(pMn(t.f,Olt),15),wun(a=new $p,l),b.Jc(new yc),wun(a,iL(b,152)?a6(KB(b,152)):iL(b,131)?KB(b,131).a:iL(b,54)?new sy(b):new ST(b)),wun(a,w),wun(c=new $p,e),wun(c,iL(i,152)?a6(KB(i,152)):iL(i,131)?KB(i,131).a:iL(i,54)?new sy(i):new ST(i)),wun(c,r),oon(t.f,$lt,a),oon(t.f,Olt,c),oon(t.f,Llt,t.f),oon(t.e,$lt,null),oon(t.e,Olt,null),oon(t.j,$lt,null),oon(t.j,Olt,null);break;case 1:_rn(h,t.e.a),NH(h,t.i.n),_rn(h,nan(t.j.a)),NH(h,t.a.n),_rn(h,t.f.a);break;default:_rn(h,t.e.a),_rn(h,nan(t.j.a)),_rn(h,t.f.a)}vQ(t.f.a),_rn(t.f.a,h),TZ(t.f,t.e.c),u=KB(pMn(t.e,(FXn(),ggt)),74),s=KB(pMn(t.j,ggt),74),o=KB(pMn(t.f,ggt),74),(u||s||o)&&(MU(f=new mm,o),MU(f,s),MU(f,u),oon(t.f,ggt,f)),TZ(t.j,null),EZ(t.j,null),TZ(t.e,null),EZ(t.e,null),MZ(t.a,null),MZ(t.i,null),t.g&&qUn(n,t.g)}function GUn(n){var t,e,i,r,c,a,u,o,s,h,f,l,b,w,d,g;if(MFn(),null==n)return null;if((w=fln(c=X7(n)))%4!=0)return null;if(0==(d=w/4|0))return L8(ANt,g6n,25,0,15,1);for(f=null,t=0,e=0,i=0,r=0,a=0,u=0,o=0,s=0,b=0,l=0,h=0,f=L8(ANt,g6n,25,3*d,15,1);b<d-1;b++){if(!(XE(a=c[h++])&&XE(u=c[h++])&&XE(o=c[h++])&&XE(s=c[h++])))return null;t=zLt[a],e=zLt[u],i=zLt[o],r=zLt[s],f[l++]=(t<<2|e>>4)<<24>>24,f[l++]=((15&e)<<4|i>>2&15)<<24>>24,f[l++]=(i<<6|r)<<24>>24}return XE(a=c[h++])&&XE(u=c[h++])?(t=zLt[a],e=zLt[u],o=c[h++],s=c[h++],-1==zLt[o]||-1==zLt[s]?61==o&&61==s?15&e?null:(rHn(f,0,g=L8(ANt,g6n,25,3*b+1,15,1),0,3*b),g[l]=(t<<2|e>>4)<<24>>24,g):61!=o&&61==s?3&(i=zLt[o])?null:(rHn(f,0,g=L8(ANt,g6n,25,3*b+2,15,1),0,3*b),g[l++]=(t<<2|e>>4)<<24>>24,g[l]=((15&e)<<4|i>>2&15)<<24>>24,g):null:(i=zLt[o],r=zLt[s],f[l++]=(t<<2|e>>4)<<24>>24,f[l++]=((15&e)<<4|i>>2&15)<<24>>24,f[l++]=(i<<6|r)<<24>>24,f)):null}function zUn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m;for(CTn(t,C1n,1),l=KB(pMn(n,(FXn(),Jdt)),218),i=new Ub(n.b);i.a<i.c.c.length;)for(a=0,u=(c=Y0(KB(Y1(i),29).a)).length;a<u;++a)if((r=c[a]).k==(cSn(),Put)){if(l==(Ebn(),QPt))for(s=new Ub(r.j);s.a<s.c.c.length;)0==(o=KB(Y1(s),11)).e.c.length||Ign(o),0==o.g.c.length||Ogn(o);else if(iL(pMn(r,(oWn(),blt)),17))w=KB(pMn(r,blt),17),d=KB(NSn(r,(mUn(),SIt)).Kc().Pb(),11),g=KB(NSn(r,aIt).Kc().Pb(),11),p=KB(pMn(d,blt),11),TZ(w,v=KB(pMn(g,blt),11)),EZ(w,p),(m=new lA(g.i.n)).a=Ion(Mun(Hk(MMt,1),uVn,8,0,[v.i.n,v.n,v.a])).a,NH(w.a,m),(m=new lA(d.i.n)).a=Ion(Mun(Hk(MMt,1),uVn,8,0,[p.i.n,p.n,p.a])).a,NH(w.a,m);else{if(r.j.c.length>=2){for(b=!0,e=KB(Y1(h=new Ub(r.j)),11),f=null;h.a<h.c.c.length;)if(f=e,e=KB(Y1(h),11),!$fn(pMn(f,blt),pMn(e,blt))){b=!1;break}}else b=!1;for(s=new Ub(r.j);s.a<s.c.c.length;)0==(o=KB(Y1(s),11)).e.c.length||cxn(o,b),0==o.g.c.length||axn(o,b)}MZ(r,null)}FSn(t)}function UUn(n,t,e){var r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M;return y=n.c[(h1(0,t.c.length),KB(t.c[0],17)).p],T=n.c[(h1(1,t.c.length),KB(t.c[1],17)).p],!(y.a.e.e-y.a.a-(y.b.e.e-y.b.a)==0&&T.a.e.e-T.a.a-(T.b.e.e-T.b.a)==0||!iL(v=y.b.e.f,10)||(p=KB(v,10),j=n.i[p.p],E=p.c?k7(p.c.a,p,0):-1,a=xQn,E>0&&(c=KB(Lq(p.c.a,E-1),10),u=n.i[c.p],M=i.Math.ceil(D$(n.n,c,p)),a=j.a.e-p.d.d-(u.a.e+c.o.b+c.d.a)-M),h=xQn,E<p.c.a.c.length-1&&(s=KB(Lq(p.c.a,E+1),10),f=n.i[s.p],M=i.Math.ceil(D$(n.n,s,p)),h=f.a.e-s.d.d-(j.a.e+p.o.b+p.d.a)-M),!(e&&(o$(),ein(I3n),i.Math.abs(a-h)<=I3n||a==h||isNaN(a)&&isNaN(h)))&&(r=rX(y.a),o=-rX(y.b),l=-rX(T.a),m=rX(T.b),g=y.a.e.e-y.a.a-(y.b.e.e-y.b.a)>0&&T.a.e.e-T.a.a-(T.b.e.e-T.b.a)<0,d=y.a.e.e-y.a.a-(y.b.e.e-y.b.a)<0&&T.a.e.e-T.a.a-(T.b.e.e-T.b.a)>0,w=y.a.e.e+y.b.a<T.b.e.e+T.a.a,b=y.a.e.e+y.b.a>T.b.e.e+T.a.a,k=0,!g&&!d&&(b?a+l>0?k=l:h-r>0&&(k=r):w&&(a+o>0?k=o:h-m>0&&(k=m))),j.a.e+=k,j.b&&(j.d.e+=k),1)))}function XUn(n,t,e){var r,c,a,u,o,s,h,f,l,b;if(r=new GV(t.qf().a,t.qf().b,t.rf().a,t.rf().b),c=new fA,n.c)for(u=new Ub(t.wf());u.a<u.c.c.length;)a=KB(Y1(u),181),c.c=a.qf().a+t.qf().a,c.d=a.qf().b+t.qf().b,c.b=a.rf().a,c.a=a.rf().b,SPn(r,c);for(h=new Ub(t.Cf());h.a<h.c.c.length;){if(f=(s=KB(Y1(h),838)).qf().a+t.qf().a,l=s.qf().b+t.qf().b,n.e&&(c.c=f,c.d=l,c.b=s.rf().a,c.a=s.rf().b,SPn(r,c)),n.d)for(u=new Ub(s.wf());u.a<u.c.c.length;)a=KB(Y1(u),181),c.c=a.qf().a+f,c.d=a.qf().b+l,c.b=a.rf().a,c.a=a.rf().b,SPn(r,c);if(n.b){if(b=new LC(-e,-e),KB(t.We((uWn(),sPt)),174).Hc((hIn(),eIt)))for(u=new Ub(s.wf());u.a<u.c.c.length;)a=KB(Y1(u),181),b.a+=a.rf().a+e,b.b+=a.rf().b+e;b.a=i.Math.max(b.a,0),b.b=i.Math.max(b.b,0),zKn(r,s.Bf(),s.zf(),t,s,b,e)}}n.b&&zKn(r,t.Bf(),t.zf(),t,null,null,e),(o=new IK(t.Af())).d=i.Math.max(0,t.qf().b-r.d),o.a=i.Math.max(0,r.d+r.a-(t.qf().b+t.rf().b)),o.b=i.Math.max(0,t.qf().a-r.c),o.c=i.Math.max(0,r.c+r.b-(t.qf().a+t.rf().a)),t.Ef(o)}function WUn(){var n=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F"];return n[34]='\\"',n[92]="\\\\",n[173]="\\u00ad",n[1536]="\\u0600",n[1537]="\\u0601",n[1538]="\\u0602",n[1539]="\\u0603",n[1757]="\\u06dd",n[1807]="\\u070f",n[6068]="\\u17b4",n[6069]="\\u17b5",n[8203]="\\u200b",n[8204]="\\u200c",n[8205]="\\u200d",n[8206]="\\u200e",n[8207]="\\u200f",n[8232]="\\u2028",n[8233]="\\u2029",n[8234]="\\u202a",n[8235]="\\u202b",n[8236]="\\u202c",n[8237]="\\u202d",n[8238]="\\u202e",n[8288]="\\u2060",n[8289]="\\u2061",n[8290]="\\u2062",n[8291]="\\u2063",n[8292]="\\u2064",n[8298]="\\u206a",n[8299]="\\u206b",n[8300]="\\u206c",n[8301]="\\u206d",n[8302]="\\u206e",n[8303]="\\u206f",n[65279]="\\ufeff",n[65529]="\\ufff9",n[65530]="\\ufffa",n[65531]="\\ufffb",n}function VUn(n,t,e){var i,r,c,a,u,o,s,h,f,l;for(o=new $p,f=t.length,a=Pon(e),s=0;s<f;++s){switch(h=vN(t,VTn(61),s),c=(r=cun(i=sln(a,t.substr(s,h-s)))).Aj().Nh(),sV(t,++h)){case 39:u=hx(t,39,++h),UB(o,new SI(i,VV(t.substr(h,u-h),c,r))),s=u+1;break;case 34:u=hx(t,34,++h),UB(o,new SI(i,VV(t.substr(h,u-h),c,r))),s=u+1;break;case 91:UB(o,new SI(i,l=new $p));n:for(;;){switch(sV(t,++h)){case 39:u=hx(t,39,++h),UB(l,VV(t.substr(h,u-h),c,r)),h=u+1;break;case 34:u=hx(t,34,++h),UB(l,VV(t.substr(h,u-h),c,r)),h=u+1;break;case 110:if(++h,t.indexOf("ull",h)!=h)throw Fp(new by(r6n));l.c[l.c.length]=null,h+=3}if(!(h<f))break;switch(f1(h,t.length),t.charCodeAt(h)){case 44:break;case 93:break n;default:throw Fp(new by("Expecting , or ]"))}}s=h+1;break;case 110:if(++h,t.indexOf("ull",h)!=h)throw Fp(new by(r6n));UB(o,new SI(i,null)),s=h+3}if(!(s<f))break;if(f1(s,t.length),44!=t.charCodeAt(s))throw Fp(new by("Expecting ,"))}return tDn(n,o,e)}function QUn(n,t){var e,i,r,c,a,u,o,s,h,f,l;for(s=KB(KB(o6(n.r,t),21),84),a=QTn(n,t),e=n.u.Hc((hIn(),YCt)),o=s.Kc();o.Ob();)if((u=KB(o.Pb(),111)).c&&!(u.c.d.c.length<=0)){switch(l=u.b.rf(),(f=(h=u.c).i).b=(c=h.n,h.e.a+c.b+c.c),f.a=(r=h.n,h.e.b+r.d+r.a),t.g){case 1:u.a?(f.c=(l.a-f.b)/2,h9(h,(Q9(),Wit))):a||e?(f.c=-f.b-n.s,h9(h,(Q9(),Qit))):(f.c=l.a+n.s,h9(h,(Q9(),Vit))),f.d=-f.a-n.t,UD(h,(H7(),trt));break;case 3:u.a?(f.c=(l.a-f.b)/2,h9(h,(Q9(),Wit))):a||e?(f.c=-f.b-n.s,h9(h,(Q9(),Qit))):(f.c=l.a+n.s,h9(h,(Q9(),Vit))),f.d=l.b+n.t,UD(h,(H7(),irt));break;case 2:u.a?(i=n.v?f.a:KB(Lq(h.d,0),181).rf().b,f.d=(l.b-i)/2,UD(h,(H7(),ert))):a||e?(f.d=-f.a-n.t,UD(h,(H7(),trt))):(f.d=l.b+n.t,UD(h,(H7(),irt))),f.c=l.a+n.s,h9(h,(Q9(),Vit));break;case 4:u.a?(i=n.v?f.a:KB(Lq(h.d,0),181).rf().b,f.d=(l.b-i)/2,UD(h,(H7(),ert))):a||e?(f.d=-f.a-n.t,UD(h,(H7(),trt))):(f.d=l.b+n.t,UD(h,(H7(),irt))),f.c=-f.b-n.s,h9(h,(Q9(),Qit))}a=!1}}function JUn(n,t){var e,i,r,c,a,u,o,s,h,f,l;if(lWn(),0==$T(nNt)){for(f=L8(SNt,uVn,117,eNt.length,0,1),a=0;a<f.length;a++)f[a]=new E0(4);for(i=new Mk,c=0;c<ZLt.length;c++){if(h=new E0(4),c<84?(f1(u=2*c,gnt.length),l=gnt.charCodeAt(u),f1(u+1,gnt.length),Vxn(h,l,gnt.charCodeAt(u+1))):Vxn(h,iNt[u=2*(c-84)],iNt[u+1]),p_(o=ZLt[c],"Specials")&&Vxn(h,65520,65533),p_(o,wnt)&&(Vxn(h,983040,1048573),Vxn(h,1048576,1114109)),pZ(nNt,o,h),pZ(tNt,o,OFn(h)),0<(s=i.a.length)?i.a=i.a.substr(0,0):0>s&&(i.a+=eL(L8(PNt,UVn,25,-s,15,1))),i.a+="Is",HO(o,VTn(32))>=0)for(r=0;r<o.length;r++)f1(r,o.length),32!=o.charCodeAt(r)&&$X(i,(f1(r,o.length),o.charCodeAt(r)));else i.a+=""+o;jdn(i.a,o,!0)}jdn(dnt,"Cn",!1),jdn(pnt,"Cn",!0),Vxn(e=new E0(4),0,cnt),pZ(nNt,"ALL",e),pZ(tNt,"ALL",OFn(e)),!ENt&&(ENt=new Lp),pZ(ENt,dnt,dnt),!ENt&&(ENt=new Lp),pZ(ENt,pnt,pnt),!ENt&&(ENt=new Lp),pZ(ENt,"ALL","ALL")}return KB(TY(t?nNt:tNt,n),136)}function YUn(n,t,e,i){var r,c,a,u,o,s,h,f,l,b,w,d,g,p;if(l=!1,f=!1,gA(KB(pMn(i,(FXn(),npt)),98))){a=!1,u=!1;n:for(w=new Ub(i.j);w.a<w.c.c.length;)for(b=KB(Y1(w),11),d=$U(Uen(Mun(Hk(Lnt,1),FWn,20,0,[new Fw(b),new Hw(b)])));bAn(d);)if(!By(jD(pMn(KB(G5(d),11).i,jdt)))){if(b.j==(mUn(),uIt)){a=!0;break n}if(b.j==TIt){u=!0;break n}}l=u&&!a,f=a&&!u}if(l||f||0==i.b.c.length)p=!f;else{for(h=0,s=new Ub(i.b);s.a<s.c.c.length;)h+=(o=KB(Y1(s),70)).n.b+o.o.b/2;p=(h/=i.b.c.length)>=i.o.b/2}p?(g=KB(pMn(i,(oWn(),Dlt)),15))?l?c=g:(r=KB(pMn(i,Nft),15))?c=g.gc()<=r.gc()?g:r:(c=new $p,oon(i,Nft,c)):(c=new $p,oon(i,Dlt,c)):(r=KB(pMn(i,(oWn(),Nft)),15))?f?c=r:(g=KB(pMn(i,Dlt),15))?c=r.gc()<=g.gc()?r:g:(c=new $p,oon(i,Dlt,c)):(c=new $p,oon(i,Nft,c)),c.Fc(n),oon(n,(oWn(),Dft),e),t.d==e?(EZ(t,null),e.e.c.length+e.g.c.length==0&&SZ(e,null),wsn(e)):(TZ(t,null),e.e.c.length+e.g.c.length==0&&SZ(e,null)),vQ(t.a)}function ZUn(n,t){var e,i,r,c,a,u,o,s,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P,C,I;for(v=new E2(n.b,0),d=0,s=KB((f=t.Kc()).Pb(),19).a,k=0,e=new xv,E=new sA;v.b<v.d.gc();){for(Mx(v.b<v.d.gc()),y=new Ub(KB(v.d.Xb(v.c=v.b++),29).a);y.a<y.c.c.length;){for(w=new az(JL(hbn(m=KB(Y1(y),10)).a.Kc(),new h));bAn(w);)l=KB(G5(w),17),E.a.zc(l,E);for(b=new az(JL(sbn(m).a.Kc(),new h));bAn(b);)l=KB(G5(b),17),E.a.Bc(l)}if(d+1==s){for(vR(v,r=new FX(n)),vR(v,c=new FX(n)),M=E.a.ec().Kc();M.Ob();)T=KB(M.Pb(),17),e.a._b(T)||(++k,e.a.zc(T,e)),oon(a=new Ovn(n),(FXn(),npt),(WEn(),XCt)),MZ(a,r),Kl(a,(cSn(),jut)),SZ(g=new SSn,a),BCn(g,(mUn(),SIt)),SZ(S=new SSn,a),BCn(S,aIt),oon(i=new Ovn(n),npt,XCt),MZ(i,c),Kl(i,jut),SZ(p=new SSn,i),BCn(p,SIt),SZ(P=new SSn,i),BCn(P,aIt),TZ(j=new lJ,T.c),EZ(j,g),TZ(I=new lJ,S),EZ(I,p),TZ(T,P),u=new g3(a,i,j,I,T),oon(a,(oWn(),xft),u),oon(i,xft,u),(C=j.c.i).k==jut&&((o=KB(pMn(C,xft),305)).d=u,u.g=o);if(!f.Ob())break;s=KB(f.Pb(),19).a}++d}return tln(k)}function nXn(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w,d;for(f=0,r=new IL((!t.a&&(t.a=new nU(qOt,t,10,11)),t.a));r.e!=r.i.gc();)By(jD(JAn(i=KB(mpn(r),33),(FXn(),Hgt))))||(HI(JAn(t,Adt))===HI((pon(),$vt))&&HI(JAn(t,Hdt))!==HI((Xvn(),kht))&&HI(JAn(t,Hdt))!==HI((Xvn(),mht))&&!By(jD(JAn(t,Ldt)))&&HI(JAn(t,Sdt))===HI((Kfn(),lut))||By(jD(JAn(i,Odt)))||(Vpn(i,(oWn(),llt),tln(f)),++f),lzn(n,i,e));for(f=0,s=new IL((!t.b&&(t.b=new nU(DOt,t,12,3)),t.b));s.e!=s.i.gc();)u=KB(mpn(s),79),(HI(JAn(t,(FXn(),Adt)))!==HI((pon(),$vt))||HI(JAn(t,Hdt))===HI((Xvn(),kht))||HI(JAn(t,Hdt))===HI((Xvn(),mht))||By(jD(JAn(t,Ldt)))||HI(JAn(t,Sdt))!==HI((Kfn(),lut)))&&(Vpn(u,(oWn(),llt),tln(f)),++f),w=MMn(u),d=CMn(u),h=By(jD(JAn(w,lgt))),b=!By(jD(JAn(u,Hgt))),l=h&&WIn(u)&&By(jD(JAn(u,bgt))),c=QY(w)==t&&QY(w)==QY(d),a=(QY(w)==t&&d==t)^(QY(d)==t&&w==t),b&&!l&&(a||c)&&cWn(n,u,t,e);if(QY(t))for(o=new IL(tQ(QY(t)));o.e!=o.i.gc();)(w=MMn(u=KB(mpn(o),79)))==t&&WIn(u)&&(l=By(jD(JAn(w,(FXn(),lgt))))&&By(jD(JAn(u,bgt))))&&cWn(n,u,t,e)}function tXn(n,t,e){var r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P,C,I,O,A;for(CTn(e,"MinWidth layering",1),w=t.b,T=t.a,A=KB(pMn(t,(FXn(),kgt)),19).a,o=KB(pMn(t,jgt),19).a,n.b=Hy(ED(pMn(t,vpt))),n.d=xQn,k=new Ub(T);k.a<k.c.c.length;)(m=KB(Y1(k),10)).k==(cSn(),Sut)&&(P=m.o.b,n.d=i.Math.min(n.d,P));for(n.d=i.Math.max(1,n.d),M=T.c.length,n.c=L8(CNt,oQn,25,M,15,1),n.f=L8(CNt,oQn,25,M,15,1),n.e=L8($Nt,BQn,25,M,15,1),h=0,n.a=0,j=new Ub(T);j.a<j.c.c.length;)(m=KB(Y1(j),10)).p=h++,n.c[m.p]=lhn(sbn(m)),n.f[m.p]=lhn(hbn(m)),n.e[m.p]=m.o.b/n.d,n.a+=n.e[m.p];for(n.b/=n.d,n.a/=M,E=yOn(T),p$(T,WW(new Dd(n))),g=xQn,d=NWn,u=null,O=A,I=A,a=o,c=o,A<0&&(O=KB(jmt.a.zd(),19).a,I=KB(jmt.b.zd(),19).a),o<0&&(a=KB(kmt.a.zd(),19).a,c=KB(kmt.b.zd(),19).a),C=O;C<=I;C++)for(r=a;r<=c;r++)v=Hy(ED((S=ABn(n,C,r,T,E)).a)),p=(b=KB(S.b,15)).gc(),(v<g||v==g&&p<d)&&(g=v,d=p,u=b);for(l=u.Kc();l.Ob();){for(f=KB(l.Pb(),15),s=new FX(t),y=f.Kc();y.Ob();)MZ(m=KB(y.Pb(),10),s);w.c[w.c.length]=s}QPn(w),T.c=L8(Int,FWn,1,0,5,1),FSn(e)}function eXn(n,t){var e,r,c,a,u,o,s,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M;for(n.b=t,n.a=KB(pMn(t,(FXn(),ogt)),19).a,n.c=KB(pMn(t,hgt),19).a,0==n.c&&(n.c=NWn),g=new E2(t.b,0);g.b<g.d.gc();){for(Mx(g.b<g.d.gc()),d=KB(g.d.Xb(g.c=g.b++),29),o=new $p,l=-1,y=-1,m=new Ub(d.a);m.a<m.c.c.length;)v=KB(Y1(m),10),_3((BK(),new az(JL(obn(v).a.Kc(),new h))))>=n.a&&(r=vBn(n,v),l=i.Math.max(l,r.b),y=i.Math.max(y,r.d),UB(o,new eI(v,r)));for(E=new $p,f=0;f<l;++f)mG(E,0,(Mx(g.b>0),g.a.Xb(g.c=--g.b),vR(g,T=new FX(n.b)),Mx(g.b<g.d.gc()),g.d.Xb(g.c=g.b++),T));for(u=new Ub(o);u.a<u.c.c.length;)if(c=KB(Y1(u),46),w=KB(c.b,571).a)for(b=new Ub(w);b.a<b.c.c.length;)ckn(n,KB(Y1(b),10),Gut,E);for(e=new $p,s=0;s<y;++s)UB(e,(vR(g,M=new FX(n.b)),M));for(a=new Ub(o);a.a<a.c.c.length;)if(c=KB(Y1(a),46),j=KB(c.b,571).c)for(k=new Ub(j);k.a<k.c.c.length;)ckn(n,KB(Y1(k),10),zut,e)}for(p=new E2(t.b,0);p.b<p.d.gc();)Mx(p.b<p.d.gc()),0==KB(p.d.Xb(p.c=p.b++),29).a.c.length&&sW(p)}function iXn(n,t,e){var r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P,C;if(CTn(e,"Spline edge routing",1),0==t.b.c.length)return t.f.a=0,void FSn(e);v=Hy(ED(pMn(t,(FXn(),Ipt)))),o=Hy(ED(pMn(t,jpt))),u=Hy(ED(pMn(t,mpt))),T=KB(pMn(t,egt),336)==(Gsn(),emt),E=Hy(ED(pMn(t,igt))),n.d=t,n.j.c=L8(Int,FWn,1,0,5,1),n.a.c=L8(Int,FWn,1,0,5,1),OU(n.k),f=XI((s=KB(Lq(t.b,0),29)).a,(bxn(),yyt)),l=XI((d=KB(Lq(t.b,t.b.c.length-1),29)).a,yyt),g=new Ub(t.b),p=null,C=0;do{for(xUn(n,p,m=g.a<g.c.c.length?KB(Y1(g),29):null),EFn(n),P=0,y=C,b=!p||f&&p==s,w=!m||l&&m==d,(M=Rk(ecn($V(IV(new xq(null,new l1(n.i,16)),new ya),new ma))))>0?(h=0,p&&(h+=o),h+=(M-1)*u,m&&(h+=o),T&&m&&(h=i.Math.max(h,YNn(m,u,v,E))),h<v&&!b&&!w&&(P=(v-h)/2,h=v),y+=h):!b&&!w&&(y+=v),m&&jqn(m,y),j=new Ub(n.i);j.a<j.c.c.length;)(k=KB(Y1(j),128)).a.c=C,k.a.b=y-C,k.F=P,k.p=!p;wun(n.a,n.i),C=y,m&&(C+=m.c.a),p=m,b=w}while(m);for(c=new Ub(n.j);c.a<c.c.c.length;)a=pan(n,r=KB(Y1(c),17)),oon(r,(oWn(),Olt),a),S=Nxn(n,r),oon(r,$lt,S);t.f.a=C,n.d=null,FSn(e)}function rXn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m;if(d=0!=n.i,v=!1,g=null,pA(n.e)){if((h=t.gc())>0){for(l=h<100?null:new _j(h),w=(s=new ycn(t)).g,g=L8(CNt,oQn,25,h,15,1),i=0,m=new wtn(h),r=0;r<n.i;++r){b=u=n.g[r];n:for(p=0;p<2;++p){for(o=h;--o>=0;)if(null!=b?$fn(b,w[o]):HI(b)===HI(w[o])){g.length<=i&&rHn(g,0,g=L8(CNt,oQn,25,2*g.length,15,1),0,i),g[i++]=r,s9(m,w[o]);break n}if(HI(b)===HI(u))break}}if(s=m,w=m.g,h=i,i>g.length&&rHn(g,0,g=L8(CNt,oQn,25,i,15,1),0,i),i>0){for(v=!0,c=0;c<i;++c)l=q_(n,KB(b=w[c],72),l);for(a=i;--a>=0;)Ayn(n,g[a]);if(i!=h){for(r=h;--r>=i;)Ayn(s,r);rHn(g,0,g=L8(CNt,oQn,25,i,15,1),0,i)}t=s}}}else for(t=yyn(n,t),r=n.i;--r>=0;)t.Hc(n.g[r])&&(Ayn(n,r),v=!0);if(v){if(null!=g){for(f=1==(e=t.gc())?vZ(n,4,t.Kc().Pb(),null,g[0],d):vZ(n,6,t,g,g[0],d),l=e<100?null:new _j(e),r=t.Kc();r.Ob();)l=B_(n,KB(b=r.Pb(),72),l);l?(l.Ei(f),l.Fi()):fan(n.e,f)}else{for(l=O_(t.gc()),r=t.Kc();r.Ob();)l=B_(n,KB(b=r.Pb(),72),l);l&&l.Fi()}return!0}return!1}function cXn(n,t){var e,i,r,c,a,u,o,s,f,l,b,w,d,g,p,v,m;for((e=new ovn(t)).a||wKn(t),s=hRn(t),o=new dY,g=new Wxn,d=new Ub(t.a);d.a<d.c.c.length;)for(r=new az(JL(hbn(KB(Y1(d),10)).a.Kc(),new h));bAn(r);)(i=KB(G5(r),17)).c.i.k!=(cSn(),Eut)&&i.d.i.k!=Eut||QIn(o,cpn((f=hzn(n,i,s,g)).d),f.a);for(a=new $p,m=KB(pMn(e.c,(oWn(),zft)),21).Kc();m.Ob();){switch(v=KB(m.Pb(),61),w=g.c[v.g],b=g.b[v.g],u=g.a[v.g],c=null,p=null,v.g){case 4:c=new GV(n.d.a,w,s.b.a-n.d.a,b-w),p=new GV(n.d.a,w,u,b-w),qH(s,new LC(c.c+c.b,c.d)),qH(s,new LC(c.c+c.b,c.d+c.a));break;case 2:c=new GV(s.a.a,w,n.c.a-s.a.a,b-w),p=new GV(n.c.a-u,w,u,b-w),qH(s,new LC(c.c,c.d)),qH(s,new LC(c.c,c.d+c.a));break;case 1:c=new GV(w,n.d.b,b-w,s.b.b-n.d.b),p=new GV(w,n.d.b,b-w,u),qH(s,new LC(c.c,c.d+c.a)),qH(s,new LC(c.c+c.b,c.d+c.a));break;case 3:c=new GV(w,s.a.b,b-w,n.c.b-s.a.b),p=new GV(w,n.c.b-u,b-w,u),qH(s,new LC(c.c,c.d)),qH(s,new LC(c.c+c.b,c.d))}c&&((l=new Yv).d=v,l.b=c,l.c=p,l.a=QQ(KB(o6(o,cpn(v)),21)),a.c[a.c.length]=l)}return wun(e.b,a),e.d=Khn(Yqn(s)),e}function aXn(n,t,e){var r,c,a,u,o,s,h,f,l,b,w,d;if(null==e.p[t.p]){o=!0,e.p[t.p]=0,u=t,d=e.o==(aZ(),eyt)?DQn:xQn;do{c=n.b.e[u.p],a=u.c.a.c.length,e.o==eyt&&c>0||e.o==iyt&&c<a-1?(s=null,h=null,s=e.o==iyt?KB(Lq(u.c.a,c+1),10):KB(Lq(u.c.a,c-1),10),aXn(n,h=e.g[s.p],e),d=n.e.bg(d,t,u),e.j[t.p]==t&&(e.j[t.p]=e.j[h.p]),e.j[t.p]==e.j[h.p]?(w=D$(n.d,u,s),e.o==iyt?(r=Hy(e.p[t.p]),l=Hy(e.p[h.p])+Hy(e.d[s.p])-s.d.d-w-u.d.a-u.o.b-Hy(e.d[u.p]),o?(o=!1,e.p[t.p]=i.Math.min(l,d)):e.p[t.p]=i.Math.min(r,i.Math.min(l,d))):(r=Hy(e.p[t.p]),l=Hy(e.p[h.p])+Hy(e.d[s.p])+s.o.b+s.d.a+w+u.d.d-Hy(e.d[u.p]),o?(o=!1,e.p[t.p]=i.Math.max(l,d)):e.p[t.p]=i.Math.max(r,i.Math.max(l,d)))):(w=Hy(ED(pMn(n.a,(FXn(),Cpt)))),b=mrn(n,e.j[t.p]),f=mrn(n,e.j[h.p]),e.o==iyt?G1(b,f,Hy(e.p[t.p])+Hy(e.d[u.p])+u.o.b+u.d.a+w-(Hy(e.p[h.p])+Hy(e.d[s.p])-s.d.d)):G1(b,f,Hy(e.p[t.p])+Hy(e.d[u.p])-u.d.d-Hy(e.p[h.p])-Hy(e.d[s.p])-s.o.b-s.d.a-w))):d=n.e.bg(d,t,u),u=e.a[u.p]}while(u!=t);Cv(n.e,t)}}function uXn(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v;for(f=t,h=new dY,l=new dY,c=$2(f,L6n),HSn((i=new sQ(n,e,h,l)).a,i.b,i.c,i.d,c),d=(h.i||(h.i=new FL(h,h.c))).Kc();d.Ob();)for(w=KB(d.Pb(),202),u=KB(o6(h,w),21).Kc();u.Ob();){if(a=u.Pb(),!(b=KB(uen(n.d,a),202)))throw r=x2(f,B6n),Fp(new nk(X6n+a+W6n+r+U6n));!w.e&&(w.e=new o_(ROt,w,10,9)),s9(w.e,b)}for(p=(l.i||(l.i=new FL(l,l.c))).Kc();p.Ob();)for(g=KB(p.Pb(),202),s=KB(o6(l,g),21).Kc();s.Ob();){if(o=s.Pb(),!(b=KB(uen(n.d,o),202)))throw r=x2(f,B6n),Fp(new nk(X6n+o+W6n+r+U6n));!g.g&&(g.g=new o_(ROt,g,9,10)),s9(g.g,b)}!e.b&&(e.b=new o_(xOt,e,4,7)),0!=e.b.i&&(!e.c&&(e.c=new o_(xOt,e,5,8)),0!=e.c.i)&&(!e.b&&(e.b=new o_(xOt,e,4,7)),e.b.i<=1&&(!e.c&&(e.c=new o_(xOt,e,5,8)),e.c.i<=1))&&1==(!e.a&&(e.a=new nU(ROt,e,6,6)),e.a).i&&(Tvn(v=KB(Utn((!e.a&&(e.a=new nU(ROt,e,6,6)),e.a),0),202))||Mvn(v)||(Ain(v,KB(Utn((!e.b&&(e.b=new o_(xOt,e,4,7)),e.b),0),82)),$in(v,KB(Utn((!e.c&&(e.c=new o_(xOt,e,5,8)),e.c),0),82))))}function oXn(n){var t,e,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S;for(y=0,k=(m=n.a).length;y<k;++y){for(v=m[y],s=NWn,h=NWn,w=new Ub(v.e);w.a<w.c.c.length;)(a=(l=KB(Y1(w),10)).c?k7(l.c.a,l,0):-1)>0?(f=KB(Lq(l.c.a,a-1),10),T=D$(n.b,l,f),g=l.n.b-l.d.d-(f.n.b+f.o.b+f.d.a+T)):g=l.n.b-l.d.d,s=i.Math.min(g,s),a<l.c.a.c.length-1?(f=KB(Lq(l.c.a,a+1),10),T=D$(n.b,l,f),p=f.n.b-f.d.d-(l.n.b+l.o.b+l.d.a+T)):p=2*l.n.b,h=i.Math.min(p,h);for(o=NWn,c=!1,S=new Ub((r=KB(Lq(v.e,0),10)).j);S.a<S.c.c.length;)for(M=KB(Y1(S),11),d=r.n.b+M.n.b+M.a.b,e=new Ub(M.e);e.a<e.c.c.length;)t=(j=KB(Y1(e),17).c).i.n.b+j.n.b+j.a.b-d,i.Math.abs(t)<i.Math.abs(o)&&i.Math.abs(t)<(t<0?s:h)&&(o=t,c=!0);for(E=new Ub((u=KB(Lq(v.e,v.e.c.length-1),10)).j);E.a<E.c.c.length;)for(j=KB(Y1(E),11),d=u.n.b+j.n.b+j.a.b,e=new Ub(j.g);e.a<e.c.c.length;)t=(M=KB(Y1(e),17).d).i.n.b+M.n.b+M.a.b-d,i.Math.abs(t)<i.Math.abs(o)&&i.Math.abs(t)<(t<0?s:h)&&(o=t,c=!0);if(c&&0!=o)for(b=new Ub(v.e);b.a<b.c.c.length;)(l=KB(Y1(b),10)).n.b+=o}}function sXn(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w,d,g;if(oU(n.a,t)){if(_T(KB(xX(n.a,t),53),e))return 1}else XW(n.a,t,new xv);if(oU(n.a,e)){if(_T(KB(xX(n.a,e),53),t))return-1}else XW(n.a,e,new xv);if(oU(n.e,t)){if(_T(KB(xX(n.e,t),53),e))return-1}else XW(n.e,t,new xv);if(oU(n.e,e)){if(_T(KB(xX(n.a,e),53),t))return 1}else XW(n.e,e,new xv);if(n.c==(pon(),Lvt)||!Ax(t,(oWn(),llt))||!Ax(e,(oWn(),llt))){if(o=KB(kN(E4(Won(IV(new xq(null,new l1(t.j,16)),new sc)),new hc)),11),h=KB(kN(E4(Won(IV(new xq(null,new l1(e.j,16)),new fc)),new lc)),11),o&&h){if(u=o.i,s=h.i,u&&u==s){for(l=new Ub(u.j);l.a<l.c.c.length;){if((f=KB(Y1(l),11))==o)return r_n(n,e,t),-1;if(f==h)return r_n(n,t,e),1}return k$(tEn(n,t),tEn(n,e))}for(d=0,g=(w=n.d).length;d<g;++d){if((b=w[d])==u)return r_n(n,e,t),-1;if(b==s)return r_n(n,t,e),1}}if(!Ax(t,(oWn(),llt))||!Ax(e,llt))return(r=tEn(n,t))>(a=tEn(n,e))?r_n(n,t,e):r_n(n,e,t),r<a?-1:r>a?1:0}return(i=KB(pMn(t,(oWn(),llt)),19).a)>(c=KB(pMn(e,llt),19).a)?r_n(n,t,e):r_n(n,e,t),i<c?-1:i>c?1:0}function hXn(n,t,e,i){var r,c,a,u,o,s,h,f,l,b,w,d;if(By(jD(JAn(t,(uWn(),qSt)))))return TQ(),TQ(),uet;if(o=0!=(!t.a&&(t.a=new nU(qOt,t,10,11)),t.a).i,s=!(h=vIn(t)).dc(),o||s){if(!(r=KB(JAn(t,pPt),149)))throw Fp(new ek("Resolved algorithm is not set; apply a LayoutAlgorithmResolver before computing layout."));if(d=CC(r,(oAn(),JOt)),$gn(t),!o&&s&&!d)return TQ(),TQ(),uet;if(u=new $p,HI(JAn(t,kSt))===HI((cfn(),dCt))&&(CC(r,WOt)||CC(r,XOt)))for(l=dRn(n,t),_rn(b=new VT,(!t.a&&(t.a=new nU(qOt,t,10,11)),t.a));0!=b.b;)$gn(f=KB(0==b.b?null:(Mx(0!=b.b),Itn(b,b.a.a)),33)),HI(JAn(f,kSt))===HI(pCt)||M8(f,nSt)&&!y5(r,JAn(f,pPt))?(wun(u,hXn(n,f,e,i)),Vpn(f,kSt,pCt),D_n(f)):_rn(b,(!f.a&&(f.a=new nU(qOt,f,10,11)),f.a));else for(l=(!t.a&&(t.a=new nU(qOt,t,10,11)),t.a).i,a=new IL((!t.a&&(t.a=new nU(qOt,t,10,11)),t.a));a.e!=a.i.gc();)wun(u,hXn(n,c=KB(mpn(a),33),e,i)),D_n(c);for(w=new Ub(u);w.a<w.c.c.length;)Vpn(KB(Y1(w),79),qSt,(oN(),!0));return Ggn(t,r,pcn(i,l)),lKn(u),s&&d?h:(TQ(),TQ(),uet)}return TQ(),TQ(),uet}function fXn(n,t,e,i,r,c,a,u,o){var s,h,f,l,b,w,d;switch(b=e,Kl(h=new Ovn(o),(cSn(),Eut)),oon(h,(oWn(),Vft),a),oon(h,(FXn(),npt),(WEn(),zCt)),d=Hy(ED(n.We(Zgt))),oon(h,Zgt,d),SZ(f=new SSn,h),t!=WCt&&t!=VCt||(b=i>=0?own(u):jln(own(u)),n.Ye(cpt,b)),s=new Hj,l=!1,n.Xe(Ygt)?(Fx(s,KB(n.We(Ygt),8)),l=!0):vL(s,a.a/2,a.b/2),b.g){case 4:oon(h,mgt,(jbn(),_lt)),oon(h,Hft,(Qun(),Oht)),h.o.b=a.b,d<0&&(h.o.a=-d),BCn(f,(mUn(),aIt)),l||(s.a=a.a),s.a-=a.a;break;case 2:oon(h,mgt,(jbn(),Flt)),oon(h,Hft,(Qun(),Cht)),h.o.b=a.b,d<0&&(h.o.a=-d),BCn(f,(mUn(),SIt)),l||(s.a=0);break;case 1:oon(h,tlt,(q7(),Sft)),h.o.a=a.a,d<0&&(h.o.b=-d),BCn(f,(mUn(),TIt)),l||(s.b=a.b),s.b-=a.b;break;case 3:oon(h,tlt,(q7(),Tft)),h.o.a=a.a,d<0&&(h.o.b=-d),BCn(f,(mUn(),uIt)),l||(s.b=0)}if(Fx(f.n,s),oon(h,Ygt,s),t==GCt||t==UCt||t==zCt){if(w=0,t==GCt&&n.Xe(tpt))switch(b.g){case 1:case 2:w=KB(n.We(tpt),19).a;break;case 3:case 4:w=-KB(n.We(tpt),19).a}else switch(b.g){case 4:case 2:w=c.b,t==UCt&&(w/=r.b);break;case 1:case 3:w=c.a,t==UCt&&(w/=r.a)}oon(h,jlt,w)}return oon(h,Wft,b),h}function lXn(n){var t,e,i,r,c,a,u,o,s,f,l,b,w,d,g,p,v,m,y,k,j,E;if((e=Hy(ED(pMn(n.a.j,(FXn(),Rdt)))))<-1||!n.a.i||A_(KB(pMn(n.a.o,npt),98))||rbn(n.a.o,(mUn(),aIt)).gc()<2&&rbn(n.a.o,SIt).gc()<2)return!0;if(n.a.c.Rf())return!1;for(y=0,m=0,v=new $p,o=0,s=(u=n.a.e).length;o<s;++o){for(b=0,d=(l=u[o]).length;b<d;++b)if((f=l[b]).k!=(cSn(),Put)){for(i=n.b[f.c.p][f.p],f.k==Eut?(i.b=1,KB(pMn(f,(oWn(),blt)),11).j==(mUn(),aIt)&&(m+=i.a)):(E=rbn(f,(mUn(),SIt))).dc()||!Z$(E,new Nc)?i.c=1:((r=rbn(f,aIt)).dc()||!Z$(r,new Lc))&&(y+=i.a),a=new az(JL(hbn(f).a.Kc(),new h));bAn(a);)c=KB(G5(a),17),y+=i.c,m+=i.b,z8(n,i,c.d.i);for(j=new az(new UL((g=Uen(Mun(Hk(Lnt,1),FWn,20,0,[rbn(f,(mUn(),uIt)),rbn(f,TIt)]))).a.length,g.a));bAn(j);)k=KB(G5(j),11),(p=KB(pMn(k,(oWn(),klt)),10))&&(y+=i.c,m+=i.b,z8(n,i,p))}else v.c[v.c.length]=f;for(w=new Ub(v);w.a<w.c.c.length;)for(f=KB(Y1(w),10),i=n.b[f.c.p][f.p],a=new az(JL(hbn(f).a.Kc(),new h));bAn(a);)c=KB(G5(a),17),y+=i.c,m+=i.b,z8(n,i,c.d.i);v.c=L8(Int,FWn,1,0,5,1)}return(0==(t=y+m)?xQn:(y-m)/t)>=e}function bXn(){function n(n){var t=this;this.dispatch=function(t){var e=t.data;switch(e.cmd){case"algorithms":var i=Twn((TQ(),new Fb(new Cb(sAt.b))));n.postMessage({id:e.id,data:i});break;case"categories":var r=Twn((TQ(),new Fb(new Cb(sAt.c))));n.postMessage({id:e.id,data:r});break;case"options":var c=Twn((TQ(),new Fb(new Cb(sAt.d))));n.postMessage({id:e.id,data:c});break;case"register":hGn(e.algorithms),n.postMessage({id:e.id});break;case"layout":LBn(e.graph,e.layoutOptions||{},e.options||{}),n.postMessage({id:e.id,data:e.graph})}},this.saveDispatch=function(e){try{t.dispatch(e)}catch(i){n.postMessage({id:e.data.id,error:i})}}}function i(t){var e=this;this.dispatcher=new n({postMessage:function(n){e.onmessage({data:n})}}),this.postMessage=function(n){setTimeout((function(){e.dispatcher.saveDispatch({data:n})}),0)}}if(rE(),typeof document===wJn&&typeof self!==wJn){var r=new n(self);self.onmessage=r.saveDispatch}else typeof t!==wJn&&t.exports&&(Object.defineProperty(e,"__esModule",{value:!0}),t.exports={default:i,Worker:i})}function wXn(n){n.N||(n.N=!0,n.b=man(n,0),xrn(n.b,0),xrn(n.b,1),xrn(n.b,2),n.bb=man(n,1),xrn(n.bb,0),xrn(n.bb,1),n.fb=man(n,2),xrn(n.fb,3),xrn(n.fb,4),Drn(n.fb,5),n.qb=man(n,3),xrn(n.qb,0),Drn(n.qb,1),Drn(n.qb,2),xrn(n.qb,3),xrn(n.qb,4),Drn(n.qb,5),xrn(n.qb,6),n.a=yan(n,4),n.c=yan(n,5),n.d=yan(n,6),n.e=yan(n,7),n.f=yan(n,8),n.g=yan(n,9),n.i=yan(n,10),n.j=yan(n,11),n.k=yan(n,12),n.n=yan(n,13),n.o=yan(n,14),n.p=yan(n,15),n.q=yan(n,16),n.s=yan(n,17),n.r=yan(n,18),n.t=yan(n,19),n.u=yan(n,20),n.v=yan(n,21),n.w=yan(n,22),n.B=yan(n,23),n.A=yan(n,24),n.C=yan(n,25),n.D=yan(n,26),n.F=yan(n,27),n.G=yan(n,28),n.H=yan(n,29),n.J=yan(n,30),n.I=yan(n,31),n.K=yan(n,32),n.M=yan(n,33),n.L=yan(n,34),n.P=yan(n,35),n.Q=yan(n,36),n.R=yan(n,37),n.S=yan(n,38),n.T=yan(n,39),n.U=yan(n,40),n.V=yan(n,41),n.X=yan(n,42),n.W=yan(n,43),n.Y=yan(n,44),n.Z=yan(n,45),n.$=yan(n,46),n._=yan(n,47),n.ab=yan(n,48),n.cb=yan(n,49),n.db=yan(n,50),n.eb=yan(n,51),n.gb=yan(n,52),n.hb=yan(n,53),n.ib=yan(n,54),n.jb=yan(n,55),n.kb=yan(n,56),n.lb=yan(n,57),n.mb=yan(n,58),n.nb=yan(n,59),n.ob=yan(n,60),n.pb=yan(n,61))}function dXn(n,t){var e,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k;if(m=0,0==t.f.a)for(p=new Ub(n);p.a<p.c.c.length;)d=KB(Y1(p),10),m=i.Math.max(m,d.n.a+d.o.a+d.d.c);else m=t.f.a-t.c.a;for(m-=t.c.a,g=new Ub(n);g.a<g.c.c.length;){switch(Jp((d=KB(Y1(g),10)).n,m-d.o.a),iH(d.f),Xmn(d),(d.q?d.q:(TQ(),TQ(),oet))._b((FXn(),upt))&&Jp(KB(pMn(d,upt),8),m-d.o.a),KB(pMn(d,mdt),248).g){case 1:oon(d,mdt,(lvn(),OMt));break;case 2:oon(d,mdt,(lvn(),IMt))}for(v=d.o,k=new Ub(d.j);k.a<k.c.c.length;){for(Jp((y=KB(Y1(k),11)).n,v.a-y.o.a),Jp(y.a,y.o.a),BCn(y,Pcn(y.j)),(u=KB(pMn(y,tpt),19))&&oon(y,tpt,tln(-u.a)),a=new Ub(y.g);a.a<a.c.c.length;){for(r=upn((c=KB(Y1(a),17)).a,0);r.b!=r.d.c;)(e=KB(f3(r),8)).a=m-e.a;if(h=KB(pMn(c,ggt),74))for(s=upn(h,0);s.b!=s.d.c;)(o=KB(f3(s),8)).a=m-o.a;for(b=new Ub(c.b);b.a<b.c.c.length;)Jp((f=KB(Y1(b),70)).n,m-f.o.a)}for(w=new Ub(y.f);w.a<w.c.c.length;)Jp((f=KB(Y1(w),70)).n,y.o.a-f.o.a)}for(d.k==(cSn(),Eut)&&(oon(d,(oWn(),Wft),Pcn(KB(pMn(d,Wft),61))),VMn(d)),l=new Ub(d.b);l.a<l.c.c.length;)Xmn(f=KB(Y1(l),70)),Jp(f.n,v.a-f.o.a)}}function gXn(n,t){var e,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k;if(m=0,0==t.f.b)for(p=new Ub(n);p.a<p.c.c.length;)d=KB(Y1(p),10),m=i.Math.max(m,d.n.b+d.o.b+d.d.a);else m=t.f.b-t.c.b;for(m-=t.c.b,g=new Ub(n);g.a<g.c.c.length;){switch(Qp((d=KB(Y1(g),10)).n,m-d.o.b),rH(d.f),Wmn(d),(d.q?d.q:(TQ(),TQ(),oet))._b((FXn(),upt))&&Qp(KB(pMn(d,upt),8),m-d.o.b),KB(pMn(d,mdt),248).g){case 3:oon(d,mdt,(lvn(),PMt));break;case 4:oon(d,mdt,(lvn(),AMt))}for(v=d.o,k=new Ub(d.j);k.a<k.c.c.length;){for(Qp((y=KB(Y1(k),11)).n,v.b-y.o.b),Qp(y.a,y.o.b),BCn(y,Ccn(y.j)),(u=KB(pMn(y,tpt),19))&&oon(y,tpt,tln(-u.a)),a=new Ub(y.g);a.a<a.c.c.length;){for(r=upn((c=KB(Y1(a),17)).a,0);r.b!=r.d.c;)(e=KB(f3(r),8)).b=m-e.b;if(h=KB(pMn(c,ggt),74))for(s=upn(h,0);s.b!=s.d.c;)(o=KB(f3(s),8)).b=m-o.b;for(b=new Ub(c.b);b.a<b.c.c.length;)Qp((f=KB(Y1(b),70)).n,m-f.o.b)}for(w=new Ub(y.f);w.a<w.c.c.length;)Qp((f=KB(Y1(w),70)).n,y.o.b-f.o.b)}for(d.k==(cSn(),Eut)&&(oon(d,(oWn(),Wft),Ccn(KB(pMn(d,Wft),61))),wln(d)),l=new Ub(d.b);l.a<l.c.c.length;)Wmn(f=KB(Y1(l),70)),Qp(f.n,v.b-f.o.b)}}function pXn(n,t,e,i){var r,c,a,u,o,s,h,f,l,b;for(f=!1,s=n+1,h1(n,t.c.length),a=(h=KB(t.c[n],200)).a,u=null,c=0;c<h.a.c.length;c++)if(h1(c,a.c.length),!(r=KB(a.c[c],187)).c)if(0!=r.b.c.length){if(r.k||(u&&Hmn(u),jvn(r,(u=new DY(u?u.e+u.d+i:0,h.f,i)).e+u.d,h.f),UB(h.d,u),Lcn(u,r),r.k=!0),o=null,b=null,c<h.a.c.length-1?b=KB(Lq(h.a,c+1),187):s<t.c.length&&0!=(h1(s,t.c.length),KB(t.c[s],200)).a.c.length&&(b=KB(Lq((h1(s,t.c.length),KB(t.c[s],200)).a,0),187)),l=!1,(o=b)&&(l=!$fn(o.j,h)),o){if(0==o.b.c.length){jkn(h,o);break}if(d9(r,e-r.s),Hmn(r.q),f|=YMn(h,r,o,e,i),0==o.b.c.length)for(jkn((h1(s,t.c.length),KB(t.c[s],200)),o),o=null;t.c.length>s&&0==(h1(s,t.c.length),KB(t.c[s],200)).a.c.length;)v7(t,(h1(s,t.c.length),t.c[s]));if(!o){--c;continue}if(IKn(t,h,r,o,l,e,s,i)){f=!0;continue}if(l){if(QBn(t,h,r,o,e,s,i)){f=!0;continue}if(Ihn(h,r)){r.c=!0,f=!0;continue}}else if(Ihn(h,r)){r.c=!0,f=!0;continue}if(f)continue}Ihn(h,r)?(r.c=!0,f=!0,o&&(o.k=!1)):Hmn(r.q)}else OT(),jkn(h,r),--c,f=!0;return f}function vXn(n,t,e,r,c,a,u){var o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P,C,I,O,A;for(g=0,P=0,h=new Ub(n.b);h.a<h.c.c.length;)(s=KB(Y1(h),157)).c&&azn(s.c),g=i.Math.max(g,tG(s)),P+=tG(s)*nG(s);for(p=P/n.b.c.length,S=ojn(n.b,p),P+=n.b.c.length*S,g=i.Math.max(g,i.Math.sqrt(P*u))+e.b,O=e.b,A=e.d,w=0,l=e.b+e.c,NH(M=new VT,tln(0)),E=new VT,f=new E2(n.b,0),d=null,o=new $p;f.b<f.d.gc();)Mx(f.b<f.d.gc()),I=tG(s=KB(f.d.Xb(f.c=f.b++),157)),b=nG(s),O+I>g&&(a&&(sO(E,w),sO(M,tln(f.b-1)),UB(n.d,d),o.c=L8(Int,FWn,1,0,5,1)),O=e.b,A+=w+t,w=0,l=i.Math.max(l,e.b+e.c+I)),o.c[o.c.length]=s,Epn(s,O,A),l=i.Math.max(l,O+I+e.c),w=i.Math.max(w,b),O+=I+t,d=s;if(wun(n.a,o),UB(n.d,KB(Lq(o,o.c.length-1),157)),l=i.Math.max(l,r),(C=A+w+e.a)<c&&(w+=c-C,C=c),a)for(O=e.b,f=new E2(n.b,0),sO(M,tln(n.b.c.length)),m=KB(f3(T=upn(M,0)),19).a,sO(E,w),j=upn(E,0),k=0;f.b<f.d.gc();)f.b==m&&(O=e.b,k=Hy(ED(f3(j))),m=KB(f3(T),19).a),Mx(f.b<f.d.gc()),Gdn(s=KB(f.d.Xb(f.c=f.b++),157),k),f.b==m&&(v=l-O-e.c,y=tG(s),qdn(s,v),_ln(s,(v-y)/2,0)),O+=tG(s)+t;return new LC(l,C)}function mXn(n){var t,e,i,r;switch(r=null,n.c){case 6:return n.Vl();case 13:return n.Wl();case 23:return n.Nl();case 22:return n.Sl();case 18:return n.Pl();case 8:WXn(n),lWn(),r=cNt;break;case 9:return n.vl(!0);case 19:return n.wl();case 10:switch(n.a){case 100:case 68:case 119:case 87:case 115:case 83:return r=n.ul(n.a),WXn(n),r;case 101:case 102:case 110:case 114:case 116:case 117:case 118:case 120:(t=n.tl())<KQn?(lWn(),lWn(),r=new aG(0,t)):r=dz(zln(t));break;case 99:return n.Fl();case 67:return n.Al();case 105:return n.Il();case 73:return n.Bl();case 103:return n.Gl();case 88:return n.Cl();case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return n.xl();case 80:case 112:if(!(r=NIn(n,n.a)))throw Fp(new rk(mWn((c$(),C8n))));break;default:r=WH(n.a)}WXn(n);break;case 0:if(93==n.a||123==n.a||125==n.a)throw Fp(new rk(mWn((c$(),P8n))));r=WH(n.a),e=n.a,WXn(n),(64512&e)==FQn&&0==n.c&&56320==(64512&n.a)&&((i=L8(PNt,UVn,25,2,15,1))[0]=e&WVn,i[1]=n.a&WVn,r=aU(dz(Kdn(i,0,i.length)),0),WXn(n));break;default:throw Fp(new rk(mWn((c$(),P8n))))}return r}function yXn(n,t,e){var r,c,a,u,o,s,h,f,l,b,w,d,g;if(r=new $p,c=NWn,a=NWn,u=NWn,e)for(c=n.f.a,d=new Ub(t.j);d.a<d.c.c.length;)for(s=new Ub(KB(Y1(d),11).g);s.a<s.c.c.length;)0!=(o=KB(Y1(s),17)).a.b&&((f=KB(wx(o.a),8)).a<c&&(a=c-f.a,u=NWn,r.c=L8(Int,FWn,1,0,5,1),c=f.a),f.a<=c&&(r.c[r.c.length]=o,o.a.b>1&&(u=i.Math.min(u,i.Math.abs(KB(Npn(o.a,1),8).b-f.b)))));else for(d=new Ub(t.j);d.a<d.c.c.length;)for(s=new Ub(KB(Y1(d),11).e);s.a<s.c.c.length;)0!=(o=KB(Y1(s),17)).a.b&&((b=KB(dx(o.a),8)).a>c&&(a=b.a-c,u=NWn,r.c=L8(Int,FWn,1,0,5,1),c=b.a),b.a>=c&&(r.c[r.c.length]=o,o.a.b>1&&(u=i.Math.min(u,i.Math.abs(KB(Npn(o.a,o.a.b-2),8).b-b.b)))));if(0!=r.c.length&&a>t.o.a/2&&u>t.o.b/2){for(SZ(w=new SSn,t),BCn(w,(mUn(),uIt)),w.n.a=t.o.a/2,SZ(g=new SSn,t),BCn(g,TIt),g.n.a=t.o.a/2,g.n.b=t.o.b,s=new Ub(r);s.a<s.c.c.length;)o=KB(Y1(s),17),e?(h=KB(bH(o.a),8),(0==o.a.b?w1(o.d):KB(wx(o.a),8)).b>=h.b?TZ(o,g):TZ(o,w)):(h=KB(wH(o.a),8),(0==o.a.b?w1(o.c):KB(dx(o.a),8)).b>=h.b?EZ(o,g):EZ(o,w)),(l=KB(pMn(o,(FXn(),ggt)),74))&&vwn(l,h,!0);t.n.a=c-t.o.a/2}}function kXn(n,t,e){var i,r,c,a,u,o,s,h,f,l,b;if(s=t,Oin(o=W3(n,A3(e),s),x2(s,B6n)),h=KB(uen(n.g,mIn(qY(s,j6n))),33),i=null,(a=qY(s,"sourcePort"))&&(i=mIn(a)),f=KB(uen(n.j,i),118),!h)throw Fp(new nk("An edge must have a source node (edge id: '"+Wdn(s)+U6n));if(f&&!lW(UY(f),h))throw Fp(new nk("The source port of an edge must be a port of the edge's source node (edge id: '"+x2(s,B6n)+U6n));if(!o.b&&(o.b=new o_(xOt,o,4,7)),s9(o.b,f||h),l=KB(uen(n.g,mIn(qY(s,V6n))),33),r=null,(u=qY(s,"targetPort"))&&(r=mIn(u)),b=KB(uen(n.j,r),118),!l)throw Fp(new nk("An edge must have a target node (edge id: '"+Wdn(s)+U6n));if(b&&!lW(UY(b),l))throw Fp(new nk("The target port of an edge must be a port of the edge's target node (edge id: '"+x2(s,B6n)+U6n));if(!o.c&&(o.c=new o_(xOt,o,5,8)),s9(o.c,b||l),0==(!o.b&&(o.b=new o_(xOt,o,4,7)),o.b).i||0==(!o.c&&(o.c=new o_(xOt,o,5,8)),o.c).i)throw c=x2(s,B6n),Fp(new nk(z6n+c+U6n));return TTn(s,o),u$n(s,o),Lon(n,s,o)}function jXn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S;return f=SFn(FN(n,(mUn(),lIt)),t),w=ryn(FN(n,bIt),t),y=ryn(FN(n,kIt),t),T=cyn(FN(n,EIt),t),l=cyn(FN(n,oIt),t),v=ryn(FN(n,yIt),t),d=ryn(FN(n,wIt),t),j=ryn(FN(n,jIt),t),k=ryn(FN(n,sIt),t),M=cyn(FN(n,fIt),t),p=ryn(FN(n,vIt),t),m=ryn(FN(n,pIt),t),E=ryn(FN(n,hIt),t),S=cyn(FN(n,mIt),t),b=cyn(FN(n,dIt),t),g=ryn(FN(n,gIt),t),e=Aon(Mun(Hk($Nt,1),BQn,25,15,[v.a,T.a,j.a,S.a])),i=Aon(Mun(Hk($Nt,1),BQn,25,15,[w.a,f.a,y.a,g.a])),r=p.a,c=Aon(Mun(Hk($Nt,1),BQn,25,15,[d.a,l.a,k.a,b.a])),s=Aon(Mun(Hk($Nt,1),BQn,25,15,[v.b,w.b,d.b,m.b])),o=Aon(Mun(Hk($Nt,1),BQn,25,15,[T.b,f.b,l.b,g.b])),h=M.b,u=Aon(Mun(Hk($Nt,1),BQn,25,15,[j.b,y.b,k.b,E.b])),l9(FN(n,lIt),e+r,s+h),l9(FN(n,gIt),e+r,s+h),l9(FN(n,bIt),e+r,0),l9(FN(n,kIt),e+r,s+h+o),l9(FN(n,EIt),0,s+h),l9(FN(n,oIt),e+r+i,s+h),l9(FN(n,wIt),e+r+i,0),l9(FN(n,jIt),0,s+h+o),l9(FN(n,sIt),e+r+i,s+h+o),l9(FN(n,fIt),0,s),l9(FN(n,vIt),e,0),l9(FN(n,hIt),0,s+h+o),l9(FN(n,dIt),e+r+i,0),(a=new Hj).a=Aon(Mun(Hk($Nt,1),BQn,25,15,[e+i+r+c,M.a,m.a,E.a])),a.b=Aon(Mun(Hk($Nt,1),BQn,25,15,[s+o+h+u,p.b,S.b,b.b])),a}function EXn(n){var t,e,i,r,c,a,u,o,s,f,l,b,w,d,g;for(d=new $p,l=new Ub(n.d.b);l.a<l.c.c.length;)for(w=new Ub(KB(Y1(l),29).a);w.a<w.c.c.length;){for(b=KB(Y1(w),10),r=KB(xX(n.f,b),57),o=new az(JL(hbn(b).a.Kc(),new h));bAn(o);)if(s=!0,f=null,(i=upn((a=KB(G5(o),17)).a,0)).b!=i.d.c){for(t=KB(f3(i),8),e=null,a.c.j==(mUn(),uIt)&&((g=new MBn(t,new LC(t.a,r.d.d),r,a)).f.a=!0,g.a=a.c,d.c[d.c.length]=g),a.c.j==TIt&&((g=new MBn(t,new LC(t.a,r.d.d+r.d.a),r,a)).f.d=!0,g.a=a.c,d.c[d.c.length]=g);i.b!=i.d.c;)e=KB(f3(i),8),ren(t.b,e.b)||(f=new MBn(t,e,null,a),d.c[d.c.length]=f,s&&(s=!1,e.b<r.d.d?f.f.a=!0:e.b>r.d.d+r.d.a?f.f.d=!0:(f.f.d=!0,f.f.a=!0))),i.b!=i.d.c&&(t=e);f&&(c=KB(xX(n.f,a.d.i),57),t.b<c.d.d?f.f.a=!0:t.b>c.d.d+c.d.a?f.f.d=!0:(f.f.d=!0,f.f.a=!0))}for(u=new az(JL(sbn(b).a.Kc(),new h));bAn(u);)0!=(a=KB(G5(u),17)).a.b&&(t=KB(dx(a.a),8),a.d.j==(mUn(),uIt)&&((g=new MBn(t,new LC(t.a,r.d.d),r,a)).f.a=!0,g.a=a.d,d.c[d.c.length]=g),a.d.j==TIt&&((g=new MBn(t,new LC(t.a,r.d.d+r.d.a),r,a)).f.d=!0,g.a=a.d,d.c[d.c.length]=g))}return d}function TXn(n,t,e){var i,r,c,a,u,o,s;if(CTn(e,"Network simplex node placement",1),n.e=t,n.n=KB(pMn(t,(oWn(),Ilt)),304),aqn(n),xEn(n),QT(lnn(new xq(null,new l1(n.e.b,16)),new Hc),new ig(n)),QT(IV(lnn(IV(lnn(new xq(null,new l1(n.e.b,16)),new ta),new ea),new ia),new ra),new eg(n)),By(jD(pMn(n.e,(FXn(),Lgt))))&&(CTn(c=pcn(e,1),"Straight Edges Pre-Processing",1),yzn(n),FSn(c)),Evn(n.f),r=KB(pMn(t,Lpt),19).a*n.f.a.c.length,U_n(Wk(Vk(KK(n.f),r),!1),pcn(e,1)),0!=n.d.a.gc()){for(CTn(c=pcn(e,1),"Flexible Where Space Processing",1),a=KB(ON(Cz(OV(new xq(null,new l1(n.f.a,16)),new qc),new Dc)),19).a,u=KB(ON(Pz(OV(new xq(null,new l1(n.f.a,16)),new Gc),new Rc)),19).a-a,o=IN(new Bv,n.f),s=IN(new Bv,n.f),GNn(rM(iM(eM(cM(new Fv,2e4),u),o),s)),QT(IV(IV(AU(n.i),new zc),new Uc),new qV(a,o,u,s)),i=n.d.a.ec().Kc();i.Ob();)KB(i.Pb(),213).g=1;U_n(Wk(Vk(KK(n.f),r),!1),pcn(c,1)),FSn(c)}By(jD(pMn(t,Lgt)))&&(CTn(c=pcn(e,1),"Straight Edges Post-Processing",1),TPn(n),FSn(c)),WGn(n),n.e=null,n.f=null,n.i=null,n.c=null,OU(n.k),n.j=null,n.a=null,n.o=null,n.d.a.$b(),FSn(e)}function MXn(n,t,e){var r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k;for(u=new Ub(n.a.b);u.a<u.c.c.length;)for(m=new Ub(KB(Y1(u),29).a);m.a<m.c.c.length;)v=KB(Y1(m),10),t.g[v.p]=v,t.a[v.p]=v,t.d[v.p]=0;for(o=n.a.b,t.c==(wY(),Ymt)&&(o=iL(o,152)?a6(KB(o,152)):iL(o,131)?KB(o,131).a:iL(o,54)?new sy(o):new ST(o)),a=o.Kc();a.Ob();)for(b=-1,l=KB(a.Pb(),29).a,t.o==(aZ(),iyt)&&(b=NWn,l=iL(l,152)?a6(KB(l,152)):iL(l,131)?KB(l,131).a:iL(l,54)?new sy(l):new ST(l)),k=l.Kc();k.Ob();)if(y=KB(k.Pb(),10),f=null,(f=t.c==Ymt?KB(Lq(n.b.f,y.p),15):KB(Lq(n.b.b,y.p),15)).gc()>0)if(r=f.gc(),s=SY(i.Math.floor((r+1)/2))-1,c=SY(i.Math.ceil((r+1)/2))-1,t.o==iyt)for(h=c;h>=s;h--)t.a[y.p]==y&&(d=KB(f.Xb(h),46),w=KB(d.a,10),!_T(e,d.b)&&b>n.b.e[w.p]&&(t.a[w.p]=y,t.g[y.p]=t.g[w.p],t.a[y.p]=t.g[y.p],t.f[t.g[y.p].p]=(oN(),!!(By(t.f[t.g[y.p].p])&y.k==(cSn(),Mut))),b=n.b.e[w.p]));else for(h=s;h<=c;h++)t.a[y.p]==y&&(p=KB(f.Xb(h),46),g=KB(p.a,10),!_T(e,p.b)&&b<n.b.e[g.p]&&(t.a[g.p]=y,t.g[y.p]=t.g[g.p],t.a[y.p]=t.g[y.p],t.f[t.g[y.p].p]=(oN(),!!(By(t.f[t.g[y.p].p])&y.k==(cSn(),Mut))),b=n.b.e[g.p]))}function SXn(){SXn=O,nE(),MOt=wOt.a,KB(Utn(WQ(wOt.a),0),18),mOt=wOt.f,KB(Utn(WQ(wOt.f),0),18),KB(Utn(WQ(wOt.f),1),34),TOt=wOt.n,KB(Utn(WQ(wOt.n),0),34),KB(Utn(WQ(wOt.n),1),34),KB(Utn(WQ(wOt.n),2),34),KB(Utn(WQ(wOt.n),3),34),yOt=wOt.g,KB(Utn(WQ(wOt.g),0),18),KB(Utn(WQ(wOt.g),1),34),gOt=wOt.c,KB(Utn(WQ(wOt.c),0),18),KB(Utn(WQ(wOt.c),1),18),kOt=wOt.i,KB(Utn(WQ(wOt.i),0),18),KB(Utn(WQ(wOt.i),1),18),KB(Utn(WQ(wOt.i),2),18),KB(Utn(WQ(wOt.i),3),18),KB(Utn(WQ(wOt.i),4),34),jOt=wOt.j,KB(Utn(WQ(wOt.j),0),18),pOt=wOt.d,KB(Utn(WQ(wOt.d),0),18),KB(Utn(WQ(wOt.d),1),18),KB(Utn(WQ(wOt.d),2),18),KB(Utn(WQ(wOt.d),3),18),KB(Utn(WQ(wOt.d),4),34),KB(Utn(WQ(wOt.d),5),34),KB(Utn(WQ(wOt.d),6),34),KB(Utn(WQ(wOt.d),7),34),dOt=wOt.b,KB(Utn(WQ(wOt.b),0),34),KB(Utn(WQ(wOt.b),1),34),vOt=wOt.e,KB(Utn(WQ(wOt.e),0),34),KB(Utn(WQ(wOt.e),1),34),KB(Utn(WQ(wOt.e),2),34),KB(Utn(WQ(wOt.e),3),34),KB(Utn(WQ(wOt.e),4),18),KB(Utn(WQ(wOt.e),5),18),KB(Utn(WQ(wOt.e),6),18),KB(Utn(WQ(wOt.e),7),18),KB(Utn(WQ(wOt.e),8),18),KB(Utn(WQ(wOt.e),9),18),KB(Utn(WQ(wOt.e),10),34),EOt=wOt.k,KB(Utn(WQ(wOt.k),0),34),KB(Utn(WQ(wOt.k),1),34)}function PXn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P;for(M=new VT,j=new VT,g=-1,o=new Ub(n);o.a<o.c.c.length;){for((a=KB(Y1(o),128)).s=g--,h=0,m=0,c=new Ub(a.t);c.a<c.c.c.length;)m+=(i=KB(Y1(c),268)).c;for(r=new Ub(a.i);r.a<r.c.c.length;)h+=(i=KB(Y1(r),268)).c;a.n=h,a.u=m,0==m?e5(j,a,j.c.b,j.c):0==h&&e5(M,a,M.c.b,M.c)}for(P=T4(n),d=(f=n.c.length)+1,p=f-1,b=new $p;0!=P.a.gc();){for(;0!=j.b;)Mx(0!=j.b),k=KB(Itn(j,j.a.a),128),P.a.Bc(k),k.s=p--,iLn(k,M,j);for(;0!=M.b;)Mx(0!=M.b),E=KB(Itn(M,M.a.a),128),P.a.Bc(E),E.s=d++,iLn(E,M,j);for(w=RVn,s=P.a.ec().Kc();s.Ob();)(v=(a=KB(s.Pb(),128)).u-a.n)>=w&&(v>w&&(b.c=L8(Int,FWn,1,0,5,1),w=v),b.c[b.c.length]=a);0!=b.c.length&&(l=KB(Lq(b,dvn(t,b.c.length)),128),P.a.Bc(l),l.s=d++,iLn(l,M,j),b.c=L8(Int,FWn,1,0,5,1))}for(y=n.c.length+1,u=new Ub(n);u.a<u.c.c.length;)(a=KB(Y1(u),128)).s<f&&(a.s+=y);for(T=new Ub(n);T.a<T.c.c.length;)for(e=new E2((E=KB(Y1(T),128)).t,0);e.b<e.d.gc();)Mx(e.b<e.d.gc()),S=(i=KB(e.d.Xb(e.c=e.b++),268)).b,E.s>S.s&&(sW(e),v7(S.i,i),i.c>0&&(i.a=S,UB(S.t,i),i.b=E,UB(E.i,i)))}function CXn(n){var t,e,i,r,c;switch(t=n.c){case 11:return n.Ml();case 12:return n.Ol();case 14:return n.Ql();case 15:return n.Tl();case 16:return n.Rl();case 17:return n.Ul();case 21:return WXn(n),lWn(),lWn(),aNt;case 10:switch(n.a){case 65:return n.yl();case 90:return n.Dl();case 122:return n.Kl();case 98:return n.El();case 66:return n.zl();case 60:return n.Jl();case 62:return n.Hl()}}switch(c=mXn(n),t=n.c){case 3:return n.Zl(c);case 4:return n.Xl(c);case 5:return n.Yl(c);case 0:if(123==n.a&&n.d<n.j){if(r=n.d,i=0,e=-1,!((t=sV(n.i,r++))>=48&&t<=57))throw Fp(new rk(mWn((c$(),z8n))));for(i=t-48;r<n.j&&(t=sV(n.i,r++))>=48&&t<=57;)if((i=10*i+t-48)<0)throw Fp(new rk(mWn((c$(),V8n))));if(e=i,44==t){if(r>=n.j)throw Fp(new rk(mWn((c$(),X8n))));if((t=sV(n.i,r++))>=48&&t<=57){for(e=t-48;r<n.j&&(t=sV(n.i,r++))>=48&&t<=57;)if((e=10*e+t-48)<0)throw Fp(new rk(mWn((c$(),V8n))));if(i>e)throw Fp(new rk(mWn((c$(),W8n))))}else e=-1}if(125!=t)throw Fp(new rk(mWn((c$(),U8n))));n.sl(r)?(lWn(),lWn(),c=new o4(9,c),n.d=r+1):(lWn(),lWn(),c=new o4(3,c),n.d=r),c.dm(i),c.cm(e),WXn(n)}}return c}function IXn(n,t,e,i,r){var c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M;for(w=new Q6(t.b),v=new Q6(t.b),l=new Q6(t.b),j=new Q6(t.b),d=new Q6(t.b),k=upn(t,0);k.b!=k.d.c;)for(u=new Ub((m=KB(f3(k),11)).g);u.a<u.c.c.length;)if((c=KB(Y1(u),17)).c.i==c.d.i){if(m.j==c.d.j){j.c[j.c.length]=c;continue}if(m.j==(mUn(),uIt)&&c.d.j==TIt){d.c[d.c.length]=c;continue}}for(o=new Ub(d);o.a<o.c.c.length;)RKn(n,c=KB(Y1(o),17),e,i,(mUn(),aIt));for(a=new Ub(j);a.a<a.c.c.length;)c=KB(Y1(a),17),Kl(E=new Ovn(n),(cSn(),Put)),oon(E,(FXn(),npt),(WEn(),zCt)),oon(E,(oWn(),blt),c),oon(T=new SSn,blt,c.d),BCn(T,(mUn(),SIt)),SZ(T,E),oon(M=new SSn,blt,c.c),BCn(M,aIt),SZ(M,E),oon(c.c,klt,E),oon(c.d,klt,E),TZ(c,null),EZ(c,null),e.c[e.c.length]=E,oon(E,Kft,tln(2));for(y=upn(t,0);y.b!=y.d.c;)s=(m=KB(f3(y),11)).e.c.length>0,g=m.g.c.length>0,s&&g?l.c[l.c.length]=m:s?w.c[w.c.length]=m:g&&(v.c[v.c.length]=m);for(b=new Ub(w);b.a<b.c.c.length;)UB(r,FBn(n,KB(Y1(b),11),null,e));for(p=new Ub(v);p.a<p.c.c.length;)UB(r,FBn(n,null,KB(Y1(p),11),e));for(f=new Ub(l);f.a<f.c.c.length;)UB(r,FBn(n,h=KB(Y1(f),11),h,e))}function OXn(n){var t,e,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E;for(d=new LC(xQn,xQn),t=new LC(DQn,DQn),k=new Ub(n);k.a<k.c.c.length;)y=KB(Y1(k),8),d.a=i.Math.min(d.a,y.a),d.b=i.Math.min(d.b,y.b),t.a=i.Math.max(t.a,y.a),t.b=i.Math.max(t.b,y.b);for(s=new LC(t.a-d.a,t.b-d.b),h=new JFn(new LC(d.a-50,d.b-s.a-50),new LC(d.a-50,t.b+s.a+50),new LC(t.a+s.b/2+50,d.b+s.b/2)),m=new xv,c=new $p,e=new $p,m.a.zc(h,m),E=new Ub(n);E.a<E.c.c.length;){for(j=KB(Y1(E),8),c.c=L8(Int,FWn,1,0,5,1),v=m.a.ec().Kc();v.Ob();)U8((g=KB(v.Pb(),308)).d,g.a),Pbn(U8(g.d,j),U8(g.d,g.a))<0&&(c.c[c.c.length]=g);for(e.c=L8(Int,FWn,1,0,5,1),p=new Ub(c);p.a<p.c.c.length;)for(b=new Ub((g=KB(Y1(p),308)).e);b.a<b.c.c.length;){for(f=KB(Y1(b),168),a=!0,o=new Ub(c);o.a<o.c.c.length;)(u=KB(Y1(o),308))!=g&&(iV(f,Lq(u.e,0))||iV(f,Lq(u.e,1))||iV(f,Lq(u.e,2)))&&(a=!1);a&&(e.c[e.c.length]=f)}for(aMn(m,c),n5(m,new bn),l=new Ub(e);l.a<l.c.c.length;)jU(m,new JFn(j,(f=KB(Y1(l),168)).a,f.b))}for(n5(m,new yw(w=new xv)),r=w.a.ec().Kc();r.Ob();)(D7(h,(f=KB(r.Pb(),168)).a)||D7(h,f.b))&&r.Qb();return n5(w,new wn),w}function AXn(n){var t,e,i;switch(e=KB(pMn(n,(oWn(),Jft)),21),t=mA($at),KB(pMn(n,(FXn(),ugt)),334)==(cfn(),dCt)&&Qcn(t,Lat),By(jD(pMn(n,cgt)))?bq(t,(vMn(),xat),(hWn(),Fot)):bq(t,(vMn(),Rat),(hWn(),Fot)),null!=pMn(n,(S6(),jMt))&&Qcn(t,Nat),(By(jD(pMn(n,wgt)))||By(jD(pMn(n,agt))))&&UG(t,(vMn(),Kat),(hWn(),not)),KB(pMn(n,Gdt),103).g){case 2:case 3:case 4:UG(bq(t,(vMn(),xat),(hWn(),eot)),Kat,tot)}switch(e.Hc((fDn(),oft))&&UG(bq(bq(t,(vMn(),xat),(hWn(),Zut)),_at,Jut),Kat,Yut),HI(pMn(n,Tgt))!==HI((uNn(),Pvt))&&bq(t,(vMn(),Rat),(hWn(),$ot)),e.Hc(dft)&&(bq(t,(vMn(),xat),(hWn(),_ot)),bq(t,Dat,Dot),bq(t,Rat,Rot)),HI(pMn(n,Mdt))!==HI((QMn(),ift))&&HI(pMn(n,Jdt))!==HI((Ebn(),VPt))&&UG(t,(vMn(),Kat),(hWn(),dot)),By(jD(pMn(n,sgt)))&&bq(t,(vMn(),Rat),(hWn(),wot)),By(jD(pMn(n,Fdt)))&&bq(t,(vMn(),Rat),(hWn(),Uot)),DLn(n)&&(i=(HI(pMn(n,ugt))===HI(dCt)?KB(pMn(n,xdt),292):KB(pMn(n,Ddt),292))==(Dan(),yft)?(hWn(),xot):(hWn(),Vot),bq(t,(vMn(),_at),i)),KB(pMn(n,qpt),377).g){case 1:bq(t,(vMn(),_at),(hWn(),Xot));break;case 2:UG(bq(bq(t,(vMn(),Rat),(hWn(),Xut)),_at,Wut),Kat,Vut)}return HI(pMn(n,Adt))!==HI((pon(),$vt))&&bq(t,(vMn(),Rat),(hWn(),Wot)),t}function $Xn(n){$M(n,new ETn(gj(lj(dj(wj(new du,O4n),"ELK Rectangle Packing"),"Algorithm for packing of unconnected boxes, i.e. graphs without edges. The given order of the boxes is always preserved and the main reading direction of the boxes is left to right. The algorithm is divided into two phases. One phase approximates the width in which the rectangles can be placed. The next phase places the rectangles in rows using the previously calculated width as bounding width and bundles rectangles with a similar height in blocks. A compaction step reduces the size of the drawing. Finally, the rectangles are expanded to fill their bounding box and eliminate empty unused spaces."),new Za))),c2(n,O4n,XYn,1.3),c2(n,O4n,I4n,ppn(wEt)),c2(n,O4n,WYn,PEt),c2(n,O4n,gZn,15),c2(n,O4n,c3n,ppn(fEt)),c2(n,O4n,MZn,ppn(yEt)),c2(n,O4n,KZn,ppn(kEt)),c2(n,O4n,TZn,ppn(jEt)),c2(n,O4n,SZn,ppn(mEt)),c2(n,O4n,EZn,ppn(EEt)),c2(n,O4n,PZn,ppn(CEt)),c2(n,O4n,k4n,ppn(MEt)),c2(n,O4n,j4n,ppn(vEt)),c2(n,O4n,M4n,ppn(TEt)),c2(n,O4n,S4n,ppn(IEt)),c2(n,O4n,P4n,ppn(dEt)),c2(n,O4n,yZn,ppn(gEt)),c2(n,O4n,p3n,ppn(pEt)),c2(n,O4n,T4n,ppn(bEt)),c2(n,O4n,E4n,ppn(lEt)),c2(n,O4n,C4n,ppn(AEt))}function LXn(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w,d;if(null==e)return null;if(n.a!=t.Aj())throw Fp(new Ry(b6n+t.ne()+w6n));if(iL(t,457)){if(!(d=TDn(KB(t,671),e)))throw Fp(new Ry(d6n+e+"' is not a valid enumerator of '"+t.ne()+"'"));return d}switch(Sfn((PPn(),Q$t),t).cl()){case 2:e=_Bn(e,!1);break;case 3:e=_Bn(e,!0)}if(i=Sfn(Q$t,t).$k())return i.Aj().Nh().Kh(i,e);if(f=Sfn(Q$t,t).al()){for(d=new $p,s=0,h=(o=vsn(e)).length;s<h;++s)u=o[s],UB(d,f.Aj().Nh().Kh(f,u));return d}if(!(w=Sfn(Q$t,t).bl()).dc()){for(b=w.Kc();b.Ob();){l=KB(b.Pb(),148);try{if(null!=(d=l.Aj().Nh().Kh(l,e)))return d}catch(g){if(!iL(g=hun(g),60))throw Fp(g)}}throw Fp(new Ry(d6n+e+"' does not match any member types of the union datatype '"+t.ne()+"'"))}if(KB(t,834).Fj(),!(r=Lfn(t.Bj())))return null;if(r==Ttt){c=0;try{c=hKn(e,RVn,NWn)&WVn}catch(g){if(!iL(g=hun(g),127))throw Fp(g);c=X7(e)[0]}return sun(c)}if(r==ptt){for(a=0;a<POt.length;++a)try{return KM(POt[a],e)}catch(g){if(!iL(g=hun(g),32))throw Fp(g)}throw Fp(new Ry(d6n+e+"' is not a date formatted string of the form yyyy-MM-dd'T'HH:mm:ss'.'SSSZ or a valid subset thereof"))}throw Fp(new Ry(d6n+e+"' is invalid. "))}function NXn(n,t){var e,i,r,c,a,u,o,s;if(e=0,a=0,c=t.length,u=null,s=new Pk,a<c&&(f1(a,t.length),43==t.charCodeAt(a))&&(++e,++a<c&&(f1(a,t.length),43==t.charCodeAt(a)||(f1(a,t.length),45==t.charCodeAt(a)))))throw Fp(new Ek(NQn+t+'"'));for(;a<c&&(f1(a,t.length),46!=t.charCodeAt(a))&&(f1(a,t.length),101!=t.charCodeAt(a))&&(f1(a,t.length),69!=t.charCodeAt(a));)++a;if(s.a+=""+sx(null==t?qWn:(mW(t),t),e,a),a<c&&(f1(a,t.length),46==t.charCodeAt(a))){for(e=++a;a<c&&(f1(a,t.length),101!=t.charCodeAt(a))&&(f1(a,t.length),69!=t.charCodeAt(a));)++a;n.e=a-e,s.a+=""+sx(null==t?qWn:(mW(t),t),e,a)}else n.e=0;if(a<c&&(f1(a,t.length),101==t.charCodeAt(a)||(f1(a,t.length),69==t.charCodeAt(a)))&&(e=++a,a<c&&(f1(a,t.length),43==t.charCodeAt(a))&&++a<c&&(f1(a,t.length),45!=t.charCodeAt(a))&&++e,u=t.substr(e,c-e),n.e=n.e-hKn(u,RVn,NWn),n.e!=SY(n.e)))throw Fp(new Ek("Scale out of range."));if((o=s.a).length<16){if(n.f=(null==Xtt&&(Xtt=new RegExp("^[+-]?\\d*$","i")),Xtt.test(o)?parseInt(o,10):NaN),isNaN(n.f))throw Fp(new Ek(NQn+t+'"'));n.a=rIn(n.f)}else sdn(n,new OA(o));for(n.d=s.a.length,r=0;r<s.a.length&&(45==(i=sV(s.a,r))||48==i);++r)--n.d;0==n.d&&(n.d=1)}function xXn(){xXn=O,QIn(sut=new dY,(mUn(),lIt),gIt),QIn(sut,EIt,gIt),QIn(sut,EIt,mIt),QIn(sut,oIt,dIt),QIn(sut,oIt,gIt),QIn(sut,bIt,gIt),QIn(sut,bIt,pIt),QIn(sut,kIt,hIt),QIn(sut,kIt,gIt),QIn(sut,vIt,fIt),QIn(sut,vIt,gIt),QIn(sut,vIt,pIt),QIn(sut,vIt,hIt),QIn(sut,fIt,vIt),QIn(sut,fIt,mIt),QIn(sut,fIt,dIt),QIn(sut,fIt,gIt),QIn(sut,yIt,yIt),QIn(sut,yIt,pIt),QIn(sut,yIt,mIt),QIn(sut,wIt,wIt),QIn(sut,wIt,pIt),QIn(sut,wIt,dIt),QIn(sut,jIt,jIt),QIn(sut,jIt,hIt),QIn(sut,jIt,mIt),QIn(sut,sIt,sIt),QIn(sut,sIt,hIt),QIn(sut,sIt,dIt),QIn(sut,pIt,bIt),QIn(sut,pIt,vIt),QIn(sut,pIt,yIt),QIn(sut,pIt,wIt),QIn(sut,pIt,gIt),QIn(sut,pIt,pIt),QIn(sut,pIt,mIt),QIn(sut,pIt,dIt),QIn(sut,hIt,kIt),QIn(sut,hIt,vIt),QIn(sut,hIt,jIt),QIn(sut,hIt,sIt),QIn(sut,hIt,hIt),QIn(sut,hIt,mIt),QIn(sut,hIt,dIt),QIn(sut,hIt,gIt),QIn(sut,mIt,EIt),QIn(sut,mIt,fIt),QIn(sut,mIt,yIt),QIn(sut,mIt,jIt),QIn(sut,mIt,pIt),QIn(sut,mIt,hIt),QIn(sut,mIt,mIt),QIn(sut,mIt,gIt),QIn(sut,dIt,oIt),QIn(sut,dIt,fIt),QIn(sut,dIt,wIt),QIn(sut,dIt,sIt),QIn(sut,dIt,pIt),QIn(sut,dIt,hIt),QIn(sut,dIt,dIt),QIn(sut,dIt,gIt),QIn(sut,gIt,lIt),QIn(sut,gIt,EIt),QIn(sut,gIt,oIt),QIn(sut,gIt,bIt),QIn(sut,gIt,kIt),QIn(sut,gIt,vIt),QIn(sut,gIt,fIt),QIn(sut,gIt,pIt),QIn(sut,gIt,hIt),QIn(sut,gIt,mIt),QIn(sut,gIt,dIt),QIn(sut,gIt,gIt)}function DXn(n,t,e){var r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T;for(n.d=new LC(xQn,xQn),n.c=new LC(DQn,DQn),l=t.Kc();l.Ob();)for(m=new Ub(KB(l.Pb(),37).a);m.a<m.c.c.length;)v=KB(Y1(m),10),n.d.a=i.Math.min(n.d.a,v.n.a-v.d.b),n.d.b=i.Math.min(n.d.b,v.n.b-v.d.d),n.c.a=i.Math.max(n.c.a,v.n.a+v.o.a+v.d.c),n.c.b=i.Math.max(n.c.b,v.n.b+v.o.b+v.d.a);for(o=new Vv,f=t.Kc();f.Ob();)r=cXn(n,KB(f.Pb(),37)),UB(o.a,r),r.a=r.a|!KB(pMn(r.c,(oWn(),zft)),21).dc();for(n.b=(Thn(),(T=new kt).f=new gin(e),T.b=aGn(T.f,o),T),yGn((w=n.b,new zm,w)),n.e=new Hj,n.a=n.b.f.e,u=new Ub(o.a);u.a<u.c.c.length;)for(c=KB(Y1(u),841),y=IY(n.b,c),YRn(c.c,y.a,y.b),g=new Ub(c.c.a);g.a<g.c.c.length;)(d=KB(Y1(g),10)).k==(cSn(),Eut)&&(p=hLn(n,d.n,KB(pMn(d,(oWn(),Wft)),61)),GR(mO(d.n),p));for(a=new Ub(o.a);a.a<a.c.c.length;)for(h=new Ub(lln(c=KB(Y1(a),841)));h.a<h.c.c.length;)for(Dx(E=new Dj((s=KB(Y1(h),17)).a),0,w1(s.c)),NH(E,w1(s.d)),b=null,j=upn(E,0);j.b!=j.d.c;)k=KB(f3(j),8),b?(cen(b.a,k.a)?(n.e.a=i.Math.min(n.e.a,b.a),n.a.a=i.Math.max(n.a.a,b.a)):cen(b.b,k.b)&&(n.e.b=i.Math.min(n.e.b,b.b),n.a.b=i.Math.max(n.a.b,b.b)),b=k):b=k;Bx(n.e),GR(n.a,n.e)}function RXn(n){X$n(n.b,X9n,Mun(Hk(Wtt,1),uVn,2,6,[V9n,"ConsistentTransient"])),X$n(n.a,X9n,Mun(Hk(Wtt,1),uVn,2,6,[V9n,"WellFormedSourceURI"])),X$n(n.o,X9n,Mun(Hk(Wtt,1),uVn,2,6,[V9n,"InterfaceIsAbstract AtMostOneID UniqueFeatureNames UniqueOperationSignatures NoCircularSuperTypes WellFormedMapEntryClass ConsistentSuperTypes DisjointFeatureAndOperationSignatures"])),X$n(n.p,X9n,Mun(Hk(Wtt,1),uVn,2,6,[V9n,"WellFormedInstanceTypeName UniqueTypeParameterNames"])),X$n(n.v,X9n,Mun(Hk(Wtt,1),uVn,2,6,[V9n,"UniqueEnumeratorNames UniqueEnumeratorLiterals"])),X$n(n.R,X9n,Mun(Hk(Wtt,1),uVn,2,6,[V9n,"WellFormedName"])),X$n(n.T,X9n,Mun(Hk(Wtt,1),uVn,2,6,[V9n,"UniqueParameterNames UniqueTypeParameterNames NoRepeatingVoid"])),X$n(n.U,X9n,Mun(Hk(Wtt,1),uVn,2,6,[V9n,"WellFormedNsURI WellFormedNsPrefix UniqueSubpackageNames UniqueClassifierNames UniqueNsURIs"])),X$n(n.W,X9n,Mun(Hk(Wtt,1),uVn,2,6,[V9n,"ConsistentOpposite SingleContainer ConsistentKeys ConsistentUnique ConsistentContainer"])),X$n(n.bb,X9n,Mun(Hk(Wtt,1),uVn,2,6,[V9n,"ValidDefaultValueLiteral"])),X$n(n.eb,X9n,Mun(Hk(Wtt,1),uVn,2,6,[V9n,"ValidLowerBound ValidUpperBound ConsistentBounds ValidType"])),X$n(n.H,X9n,Mun(Hk(Wtt,1),uVn,2,6,[V9n,"ConsistentType ConsistentBounds ConsistentArguments"]))}function _Xn(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k;if(!t.dc()){if(r=new mm,f=(a=e||KB(t.Xb(0),17)).c,wxn(),(s=f.i.k)!=(cSn(),Sut)&&s!=Put&&s!=Eut&&s!=jut)throw Fp(new Ry("The target node of the edge must be a normal node or a northSouthPort."));for(sO(r,Ion(Mun(Hk(MMt,1),uVn,8,0,[f.i.n,f.n,f.a]))),(mUn(),vIt).Hc(f.j)&&(b=Hy(ED(pMn(f,(oWn(),Alt)))),e5(r,new LC(Ion(Mun(Hk(MMt,1),uVn,8,0,[f.i.n,f.n,f.a])).a,b),r.c.b,r.c)),o=null,i=!1,u=t.Kc();u.Ob();)0!=(c=KB(u.Pb(),17).a).b&&(i?(e5(r,mL(GR(o,(Mx(0!=c.b),KB(c.a.a.c,8))),.5),r.c.b,r.c),i=!1):i=!0,o=K$((Mx(0!=c.b),KB(c.c.b.c,8))),_rn(r,c),vQ(c));l=a.d,vIt.Hc(l.j)&&(b=Hy(ED(pMn(l,(oWn(),Alt)))),e5(r,new LC(Ion(Mun(Hk(MMt,1),uVn,8,0,[l.i.n,l.n,l.a])).a,b),r.c.b,r.c)),sO(r,Ion(Mun(Hk(MMt,1),uVn,8,0,[l.i.n,l.n,l.a]))),n.d==(Gsn(),nmt)&&(Mx(0!=r.b),w=KB(r.a.a.c,8),d=KB(Npn(r,1),8),(g=new zZ(osn(f.j))).a*=5,g.b*=5,p=zR(new LC(d.a,d.b),w),GR(v=new LC(tZ(g.a,p.a),tZ(g.b,p.b)),w),YU(upn(r,1),v),Mx(0!=r.b),m=KB(r.c.b.c,8),y=KB(Npn(r,r.b-2),8),(g=new zZ(osn(l.j))).a*=5,g.b*=5,p=zR(new LC(y.a,y.b),m),GR(k=new LC(tZ(g.a,p.a),tZ(g.b,p.b)),m),Dx(r,r.b-1,k)),h=new aBn(r),_rn(a.a,_vn(h))}}function KXn(n,t,e,r){var c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P,C,I,O,A,$,L,N,x;if(y=(v=KB(Utn((!n.b&&(n.b=new o_(xOt,n,4,7)),n.b),0),82)).Dg(),k=v.Eg(),m=v.Cg()/2,w=v.Bg()/2,iL(v,186)&&(y+=UY(p=KB(v,118)).i,y+=UY(p).i),y+=m,k+=w,C=(S=KB(Utn((!n.b&&(n.b=new o_(xOt,n,4,7)),n.b),0),82)).Dg(),I=S.Eg(),P=S.Cg()/2,j=S.Bg()/2,iL(S,186)&&(C+=UY(M=KB(S,118)).i,C+=UY(M).i),C+=P,I+=j,0==(!n.a&&(n.a=new nU(ROt,n,6,6)),n.a).i)Zj(),o=new co,s9((!n.a&&(n.a=new nU(ROt,n,6,6)),n.a),o);else if((!n.a&&(n.a=new nU(ROt,n,6,6)),n.a).i>1)for(b=new ix((!n.a&&(n.a=new nU(ROt,n,6,6)),n.a));b.e!=b.i.gc();)Wjn(b);for(d=C,C>y+m?d=y+m:C<y-m&&(d=y-m),g=I,I>k+w?g=k+w:I<k-w&&(g=k-w),d>y-m&&d<y+m&&g>k-w&&g<k+w&&(d=y+m),Pen(u=KB(Utn((!n.a&&(n.a=new nU(ROt,n,6,6)),n.a),0),202),d),Ien(u,g),E=y,y>C+P?E=C+P:y<C-P&&(E=C-P),T=k,k>I+j?T=I+j:k<I-j&&(T=I-j),E>C-P&&E<C+P&&T>I-j&&T<I+j&&(T=I+j),jen(u,E),Cen(u,T),uqn((!u.a&&(u.a=new OL($Ot,u,5)),u.a)),a=dvn(t,5),v==S&&++a,A=E-d,N=T-g,h=.20000000298023224*i.Math.sqrt(A*A+N*N),$=A/(a+1),x=N/(a+1),O=d,L=g,s=0;s<a;s++)L+=x,(f=(O+=$)+F$n(t,24)*cJn*h-h/2)<0?f=1:f>e&&(f=e-1),(l=L+F$n(t,24)*cJn*h-h/2)<0?l=1:l>r&&(l=r-1),Zj(),yen(c=new ro,f),ken(c,l),s9((!u.a&&(u.a=new OL($Ot,u,5)),u.a),c)}function FXn(){FXn=O,uWn(),dpt=yPt,gpt=kPt,ppt=jPt,vpt=EPt,ypt=TPt,kpt=MPt,Tpt=PPt,Spt=IPt,Ppt=OPt,Mpt=CPt,Cpt=APt,Opt=$Pt,$pt=xPt,Ept=SPt,sWn(),wpt=Rwt,mpt=_wt,jpt=Kwt,Ipt=Fwt,opt=new zA(dPt,tln(0)),spt=Nwt,hpt=xwt,fpt=Dwt,qpt=hdt,xpt=qwt,Dpt=Uwt,Kpt=ndt,Rpt=Vwt,_pt=Jwt,zpt=ddt,Gpt=ldt,Bpt=adt,Fpt=rdt,Hpt=odt,xgt=Mwt,Dgt=Swt,egt=Dbt,igt=Kbt,Ggt=new UA(12),qgt=new zA(zSt,Ggt),Ebn(),Jdt=new zA(gSt,Ydt=WPt),Zgt=new zA(rPt,0),lpt=new zA(gPt,tln(1)),kdt=new zA(iSt,bZn),Hgt=qSt,npt=cPt,cpt=lPt,qdt=hSt,mdt=tSt,ugt=kSt,bpt=new zA(mPt,(oN(),!0)),lgt=TSt,bgt=MSt,_gt=DSt,Bgt=BSt,Kgt=_St,_fn(),Gdt=new zA(fSt,Udt=KPt),Ogt=NSt,Igt=$St,ipt=sPt,ept=oPt,rpt=fPt,ipn(),new zA(JSt,Xgt=BCt),Vgt=nPt,Qgt=tPt,Jgt=ePt,Wgt=ZSt,Npt=Hwt,Mgt=hwt,Tgt=owt,Lpt=Bwt,mgt=nwt,Hdt=jbt,Bdt=ybt,Ldt=cbt,Ndt=abt,Ddt=fbt,xdt=ubt,Fdt=vbt,Pgt=lwt,Cgt=bwt,dgt=Xbt,Rgt=Owt,$gt=pwt,cgt=Hbt,Ngt=Ewt,ngt=$bt,tgt=Nbt,$dt=oSt,Agt=wwt,Mdt=Wlt,Tdt=Ult,Edt=zlt,sgt=zbt,ogt=Gbt,hgt=Ubt,Fgt=KSt,ggt=CSt,rgt=vSt,Vdt=wSt,Wdt=bSt,Rdt=wbt,tpt=uPt,jdt=uSt,fgt=ESt,Ygt=iPt,zgt=XSt,Ugt=VSt,kgt=iwt,jgt=cwt,upt=wPt,ydt=Glt,Egt=uwt,Qdt=Cbt,Xdt=Sbt,Sgt=OSt,pgt=Jbt,Lgt=ywt,Apt=LPt,zdt=Tbt,apt=$wt,Zdt=Obt,vgt=Zbt,_dt=gbt,wgt=PSt,ygt=ewt,Kdt=pbt,Adt=ibt,Idt=nbt,Pdt=Ylt,Cdt=Zlt,Odt=ebt,Sdt=Qlt,agt=qbt}function BXn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k;if(cHn(),v=n.e,s=n.d,r=n.a,0==v)switch(t){case 0:return"0";case 1:return UQn;case 2:return"0.00";case 3:return"0.000";case 4:return"0.0000";case 5:return"0.00000";case 6:return"0.000000";default:return(g=new Sk).a+="0E",g.a+=-0,g.a}if(d=L8(PNt,UVn,25,1+(w=10*s+1+7),15,1),e=w,1==s)if((c=r[0])<0){k=n0(c,GQn);do{h=k,k=Cjn(k,10),d[--e]=48+bG(tbn(h,ibn(k,10)))&WVn}while(0!=Xhn(k,0))}else{k=c;do{h=k,k=k/10|0,d[--e]=h-10*k+48&WVn}while(0!=k)}else{rHn(r,0,m=L8(CNt,oQn,25,s,15,1),0,y=s);n:for(;;){for(p=0,u=y-1;u>=0;u--)l=sTn(ebn(vz(p,32),n0(m[u],GQn))),m[u]=bG(l),p=bG(mz(l,32));b=bG(p),f=e;do{d[--e]=48+b%10&WVn}while(0!=(b=b/10|0)&&0!=e);for(i=9-f+e,a=0;a<i&&e>0;a++)d[--e]=48;for(o=y-1;0==m[o];o--)if(0==o)break n;y=o+1}for(;48==d[e];)++e}return v<0&&(d[--e]=45),Kdn(d,e,w-e)}function HXn(n,t){var e,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k;switch(n.c=t,n.g=new Lp,HM(),Zbn(new Mw(new Ny(n.c))),v=TD(JAn(n.c,(EMn(),bTt))),u=KB(JAn(n.c,dTt),316),y=KB(JAn(n.c,gTt),429),c=KB(JAn(n.c,oTt),482),m=KB(JAn(n.c,wTt),430),n.j=Hy(ED(JAn(n.c,pTt))),a=n.a,u.g){case 0:a=n.a;break;case 1:a=n.b;break;case 2:a=n.i;break;case 3:a=n.e;break;case 4:a=n.f;break;default:throw Fp(new Ry($4n+(null!=u.f?u.f:""+u.g)))}if(n.d=new NY(a,y,c),oon(n.d,(zcn(),Wrt),jD(JAn(n.c,hTt))),n.d.c=By(jD(JAn(n.c,sTt))),0==VQ(n.c).i)return n.d;for(h=new IL(VQ(n.c));h.e!=h.i.gc();){for(l=(s=KB(mpn(h),33)).g/2,f=s.f/2,k=new LC(s.i+l,s.j+f);oU(n.g,k);)Rx(k,(i.Math.random()-.5)*hZn,(i.Math.random()-.5)*hZn);w=KB(JAn(s,(uWn(),OSt)),142),d=new IZ(k,new GV(k.a-l-n.j/2-w.b,k.b-f-n.j/2-w.d,s.g+n.j+(w.b+w.c),s.f+n.j+(w.d+w.a))),UB(n.d.i,d),XW(n.g,k,new eI(d,s))}switch(m.g){case 0:if(null==v)n.d.d=KB(Lq(n.d.i,0),65);else for(p=new Ub(n.d.i);p.a<p.c.c.length;)d=KB(Y1(p),65),null!=(b=KB(KB(xX(n.g,d.a),46).b,33).zg())&&p_(b,v)&&(n.d.d=d);break;case 1:for((e=new LC(n.c.g,n.c.f)).a*=.5,e.b*=.5,Rx(e,n.c.i,n.c.j),r=xQn,g=new Ub(n.d.i);g.a<g.c.c.length;)(o=U8((d=KB(Y1(g),65)).a,e))<r&&(r=o,n.d.d=d);break;default:throw Fp(new Ry($4n+(null!=m.f?m.f:""+m.g)))}return n.d}function qXn(n,t,e){var r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E;for(j=KB(Utn((!n.a&&(n.a=new nU(ROt,n,6,6)),n.a),0),202),f=new mm,k=new Lp,E=ZKn(j),yCn(k.f,j,E),b=new Lp,r=new VT,d=$U(Uen(Mun(Hk(Lnt,1),FWn,20,0,[(!t.d&&(t.d=new o_(DOt,t,8,5)),t.d),(!t.e&&(t.e=new o_(DOt,t,7,4)),t.e)])));bAn(d);){if(w=KB(G5(d),79),1!=(!n.a&&(n.a=new nU(ROt,n,6,6)),n.a).i)throw Fp(new Ry(K5n+(!n.a&&(n.a=new nU(ROt,n,6,6)),n.a).i));w!=n&&(e5(r,p=KB(Utn((!w.a&&(w.a=new nU(ROt,w,6,6)),w.a),0),202),r.c.b,r.c),(g=KB(BI(IJ(k.f,p)),12))||(g=ZKn(p),yCn(k.f,p,g)),l=e?zR(new lA(KB(Lq(E,E.c.length-1),8)),KB(Lq(g,g.c.length-1),8)):zR(new lA((h1(0,E.c.length),KB(E.c[0],8))),(h1(0,g.c.length),KB(g.c[0],8))),yCn(b.f,p,l))}if(0!=r.b)for(v=KB(Lq(E,e?E.c.length-1:0),8),h=1;h<E.c.length;h++){for(m=KB(Lq(E,e?E.c.length-1-h:h),8),c=upn(r,0);c.b!=c.d.c;)p=KB(f3(c),202),(g=KB(BI(IJ(k.f,p)),12)).c.length<=h?ptn(c):(y=GR(new lA(KB(Lq(g,e?g.c.length-1-h:h),8)),KB(BI(IJ(b.f,p)),8)),m.a==y.a&&m.b==y.b||(a=m.a-v.a,o=m.b-v.b,(u=y.a-v.a)*o==(s=y.b-v.b)*a&&(0==a||isNaN(a)?a:a<0?-1:1)==(0==u||isNaN(u)?u:u<0?-1:1)&&(0==o||isNaN(o)?o:o<0?-1:1)==(0==s||isNaN(s)?s:s<0?-1:1)?(i.Math.abs(a)<i.Math.abs(u)||i.Math.abs(o)<i.Math.abs(s))&&e5(f,m,f.c.b,f.c):h>1&&e5(f,v,f.c.b,f.c),ptn(c)));v=m}return f}function GXn(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P,C,I,O,A;for(CTn(e,"Greedy cycle removal",1),A=(m=t.a).c.length,n.a=L8(CNt,oQn,25,A,15,1),n.c=L8(CNt,oQn,25,A,15,1),n.b=L8(CNt,oQn,25,A,15,1),s=0,p=new Ub(m);p.a<p.c.c.length;){for((d=KB(Y1(p),10)).p=s,T=new Ub(d.j);T.a<T.c.c.length;){for(u=new Ub((k=KB(Y1(T),11)).e);u.a<u.c.c.length;)(i=KB(Y1(u),17)).c.i!=d&&(S=KB(pMn(i,(FXn(),spt)),19).a,n.a[s]+=S>0?S+1:1);for(a=new Ub(k.g);a.a<a.c.c.length;)(i=KB(Y1(a),17)).d.i!=d&&(S=KB(pMn(i,(FXn(),spt)),19).a,n.c[s]+=S>0?S+1:1)}0==n.c[s]?NH(n.e,d):0==n.a[s]&&NH(n.f,d),++s}for(w=-1,b=1,f=new $p,n.d=KB(pMn(t,(oWn(),Tlt)),230);A>0;){for(;0!=n.e.b;)C=KB(bH(n.e),10),n.b[C.p]=w--,W_n(n,C),--A;for(;0!=n.f.b;)I=KB(bH(n.f),10),n.b[I.p]=b++,W_n(n,I),--A;if(A>0){for(l=RVn,v=new Ub(m);v.a<v.c.c.length;)d=KB(Y1(v),10),0==n.b[d.p]&&(y=n.c[d.p]-n.a[d.p])>=l&&(y>l&&(f.c=L8(Int,FWn,1,0,5,1),l=y),f.c[f.c.length]=d);h=n.Zf(f),n.b[h.p]=b++,W_n(n,h),--A}}for(P=m.c.length+1,s=0;s<m.c.length;s++)n.b[s]<0&&(n.b[s]+=P);for(g=new Ub(m);g.a<g.c.c.length;)for(E=0,M=(j=P2((d=KB(Y1(g),10)).j)).length;E<M;++E)for(c=0,o=(r=J0((k=j[E]).g)).length;c<o;++c)O=(i=r[c]).d.i.p,n.b[d.p]>n.b[O]&&(ZFn(i,!0),oon(t,Bft,(oN(),!0)));n.a=null,n.c=null,n.b=null,vQ(n.f),vQ(n.e),FSn(e)}function zXn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p;for(i=new $p,u=new $p,g=t/2,b=n.gc(),r=KB(n.Xb(0),8),p=KB(n.Xb(1),8),UB(i,(h1(0,(w=WAn(r.a,r.b,p.a,p.b,g)).c.length),KB(w.c[0],8))),UB(u,(h1(1,w.c.length),KB(w.c[1],8))),s=2;s<b;s++)d=r,r=p,p=KB(n.Xb(s),8),UB(i,(h1(1,(w=WAn(r.a,r.b,d.a,d.b,g)).c.length),KB(w.c[1],8))),UB(u,(h1(0,w.c.length),KB(w.c[0],8))),UB(i,(h1(0,(w=WAn(r.a,r.b,p.a,p.b,g)).c.length),KB(w.c[0],8))),UB(u,(h1(1,w.c.length),KB(w.c[1],8)));for(UB(i,(h1(1,(w=WAn(p.a,p.b,r.a,r.b,g)).c.length),KB(w.c[1],8))),UB(u,(h1(0,w.c.length),KB(w.c[0],8))),e=new mm,a=new $p,NH(e,(h1(0,i.c.length),KB(i.c[0],8))),h=1;h<i.c.length-2;h+=2)h1(h,i.c.length),c=KB(i.c[h],8),l=BPn((h1(h-1,i.c.length),KB(i.c[h-1],8)),c,(h1(h+1,i.c.length),KB(i.c[h+1],8)),(h1(h+2,i.c.length),KB(i.c[h+2],8))),isFinite(l.a)&&isFinite(l.b)?e5(e,l,e.c.b,e.c):e5(e,c,e.c.b,e.c);for(NH(e,KB(Lq(i,i.c.length-1),8)),UB(a,(h1(0,u.c.length),KB(u.c[0],8))),f=1;f<u.c.length-2;f+=2)h1(f,u.c.length),c=KB(u.c[f],8),l=BPn((h1(f-1,u.c.length),KB(u.c[f-1],8)),c,(h1(f+1,u.c.length),KB(u.c[f+1],8)),(h1(f+2,u.c.length),KB(u.c[f+2],8))),isFinite(l.a)&&isFinite(l.b)?a.c[a.c.length]=l:a.c[a.c.length]=c;for(UB(a,KB(Lq(u,u.c.length-1),8)),o=a.c.length-1;o>=0;o--)NH(e,(h1(o,a.c.length),KB(a.c[o],8)));return e}function UXn(n){var t,e,i,r,c,a,u,o,s,h,f,l,b;if(a=!0,f=null,i=null,r=null,t=!1,b=vAt,s=null,c=null,(o=Xgn(n,u=0,CAt,IAt))<n.length&&(f1(o,n.length),58==n.charCodeAt(o))&&(f=n.substr(u,o-u),u=o+1),e=null!=f&<(mAt,f.toLowerCase())){if(-1==(o=n.lastIndexOf("!/")))throw Fp(new Ry("no archive separator"));a=!0,i=sx(n,u,++o),u=o}else u>=0&&p_(n.substr(u,2),"//")?(o=Xgn(n,u+=2,OAt,AAt),i=n.substr(u,o-u),u=o):null==f||u!=n.length&&(f1(u,n.length),47==n.charCodeAt(u))||(a=!1,-1==(o=vN(n,VTn(35),u))&&(o=n.length),i=n.substr(u,o-u),u=o);if(!e&&u<n.length&&(f1(u,n.length),47==n.charCodeAt(u))&&(o=Xgn(n,u+1,OAt,AAt),(h=n.substr(u+1,o-(u+1))).length>0&&58==sV(h,h.length-1)&&(r=h,u=o)),u<n.length&&(f1(u,n.length),47==n.charCodeAt(u))&&(++u,t=!0),u<n.length&&(f1(u,n.length),63!=n.charCodeAt(u))&&(f1(u,n.length),35!=n.charCodeAt(u))){for(l=new $p;u<n.length&&(f1(u,n.length),63!=n.charCodeAt(u))&&(f1(u,n.length),35!=n.charCodeAt(u));)o=Xgn(n,u,OAt,AAt),UB(l,n.substr(u,o-u)),(u=o)<n.length&&(f1(u,n.length),47==n.charCodeAt(u))&&(Whn(n,++u)||(l.c[l.c.length]=""));Wgn(l,b=L8(Wtt,uVn,2,l.c.length,6,1))}return u<n.length&&(f1(u,n.length),63==n.charCodeAt(u))&&(-1==(o=hx(n,35,++u))&&(o=n.length),s=n.substr(u,o-u),u=o),u<n.length&&(c=YI(n,++u)),lGn(a,f,i,r,b,s),new eRn(a,f,i,r,t,b,s,c)}function XXn(n,t){var e,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P,C,I,O,A,$;for(O=new $p,w=new Ub(t.b);w.a<w.c.c.length;)for(k=new Ub(KB(Y1(w),29).a);k.a<k.c.c.length;){for((y=KB(Y1(k),10)).p=-1,l=RVn,T=RVn,S=new Ub(y.j);S.a<S.c.c.length;){for(c=new Ub((M=KB(Y1(S),11)).e);c.a<c.c.c.length;)e=KB(Y1(c),17),P=KB(pMn(e,(FXn(),fpt)),19).a,l=i.Math.max(l,P);for(r=new Ub(M.g);r.a<r.c.c.length;)e=KB(Y1(r),17),P=KB(pMn(e,(FXn(),fpt)),19).a,T=i.Math.max(T,P)}oon(y,zmt,tln(l)),oon(y,Umt,tln(T))}for(p=0,b=new Ub(t.b);b.a<b.c.c.length;)for(k=new Ub(KB(Y1(b),29).a);k.a<k.c.c.length;)(y=KB(Y1(k),10)).p<0&&((I=new em).b=p++,yRn(n,y,I),O.c[O.c.length]=I);for(E=ux(O.c.length),f=ux(O.c.length),u=0;u<O.c.length;u++)UB(E,new $p),UB(f,tln(0));for(gzn(t,O,E,f),A=KB(Wgn(O,L8(Vmt,C3n,257,O.c.length,0,1)),840),j=KB(Wgn(E,L8(xnt,YYn,15,E.c.length,0,1)),192),h=L8(CNt,oQn,25,f.c.length,15,1),o=0;o<h.length;o++)h[o]=(h1(o,f.c.length),KB(f.c[o],19)).a;for(v=0,m=new $p,s=0;s<A.length;s++)0==h[s]&&UB(m,A[s]);for(g=L8(CNt,oQn,25,A.length,15,1);0!=m.c.length;)for(g[(I=KB(u6(m,0),257)).b]=v++;!j[I.b].dc();)--h[($=KB(j[I.b].$c(0),257)).b],0==h[$.b]&&(m.c[m.c.length]=$);for(n.a=L8(Vmt,C3n,257,A.length,0,1),a=0;a<A.length;a++)for(d=A[a],C=g[a],n.a[C]=d,d.b=C,k=new Ub(d.e);k.a<k.c.c.length;)(y=KB(Y1(k),10)).p=C;return n.a}function WXn(n){var t,e,i;if(n.d>=n.j)return n.a=-1,void(n.c=1);if(t=sV(n.i,n.d++),n.a=t,1!=n.b){switch(t){case 124:i=2;break;case 42:i=3;break;case 43:i=4;break;case 63:i=5;break;case 41:i=7;break;case 46:i=8;break;case 91:i=9;break;case 94:i=11;break;case 36:i=12;break;case 40:if(i=6,n.d>=n.j)break;if(63!=sV(n.i,n.d))break;if(++n.d>=n.j)throw Fp(new rk(mWn((c$(),d8n))));switch(t=sV(n.i,n.d++)){case 58:i=13;break;case 61:i=14;break;case 33:i=15;break;case 91:i=19;break;case 62:i=18;break;case 60:if(n.d>=n.j)throw Fp(new rk(mWn((c$(),d8n))));if(61==(t=sV(n.i,n.d++)))i=16;else{if(33!=t)throw Fp(new rk(mWn((c$(),g8n))));i=17}break;case 35:for(;n.d<n.j&&41!=(t=sV(n.i,n.d++)););if(41!=t)throw Fp(new rk(mWn((c$(),p8n))));i=21;break;default:if(45==t||97<=t&&t<=122||65<=t&&t<=90){--n.d,i=22;break}if(40==t){i=23;break}throw Fp(new rk(mWn((c$(),d8n))))}break;case 92:if(i=10,n.d>=n.j)throw Fp(new rk(mWn((c$(),w8n))));n.a=sV(n.i,n.d++);break;default:i=0}n.c=i}else{switch(t){case 92:if(i=10,n.d>=n.j)throw Fp(new rk(mWn((c$(),w8n))));n.a=sV(n.i,n.d++);break;case 45:!(512&~n.e)&&n.d<n.j&&91==sV(n.i,n.d)?(++n.d,i=24):i=0;break;case 91:if(512&~n.e&&n.d<n.j&&58==sV(n.i,n.d)){++n.d,i=20;break}default:(64512&t)==FQn&&n.d<n.j&&56320==(64512&(e=sV(n.i,n.d)))&&(n.a=KQn+(t-FQn<<10)+e-56320,++n.d),i=0}n.c=i}}function VXn(n){var t,e,i,r,c,a,u,o,s,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P;if((j=KB(pMn(n,(FXn(),npt)),98))!=(WEn(),WCt)&&j!=VCt){for(s=new Q6((hin((b=(w=n.b).c.length)+2,$Vn),Znn(ebn(ebn(5,b+2),(b+2)/10|0)))),d=new Q6((hin(b+2,$Vn),Znn(ebn(ebn(5,b+2),(b+2)/10|0)))),UB(s,new Lp),UB(s,new Lp),UB(d,new $p),UB(d,new $p),k=new $p,t=0;t<b;t++)for(h1(t,w.c.length),e=KB(w.c[t],29),h1(t,s.c.length),E=KB(s.c[t],83),g=new Lp,s.c[s.c.length]=g,h1(t,d.c.length),M=KB(d.c[t],15),v=new $p,d.c[d.c.length]=v,r=new Ub(e.a);r.a<r.c.c.length;)if(iln(i=KB(Y1(r),10)))k.c[k.c.length]=i;else{for(o=new az(JL(sbn(i).a.Kc(),new h));bAn(o);)iln(S=(a=KB(G5(o),17)).c.i)&&((T=KB(E.xc(pMn(S,(oWn(),blt))),10))||(T=aIn(n,S),E.zc(pMn(S,blt),T),M.Fc(T)),TZ(a,KB(Lq(T.j,1),11)));for(u=new az(JL(hbn(i).a.Kc(),new h));bAn(u);)iln(P=(a=KB(G5(u),17)).d.i)&&((p=KB(xX(g,pMn(P,(oWn(),blt))),10))||(p=aIn(n,P),XW(g,pMn(P,blt),p),v.c[v.c.length]=p),EZ(a,KB(Lq(p.j,0),11)))}for(f=0;f<d.c.length;f++)if(h1(f,d.c.length),!(m=KB(d.c[f],15)).dc())for(l=null,0==f?(l=new FX(n),AZ(0,w.c.length),ES(w.c,0,l)):f==s.c.length-1?(l=new FX(n),w.c[w.c.length]=l):(h1(f-1,w.c.length),l=KB(w.c[f-1],29)),c=m.Kc();c.Ob();)MZ(KB(c.Pb(),10),l);for(y=new Ub(k);y.a<y.c.c.length;)MZ(KB(Y1(y),10),null);oon(n,(oWn(),Uft),k)}}function QXn(n,t,e){var i,r,c,a,u,o,s,f,l,b,w,d,g,p,v,m,y,k,j;if(CTn(e,"Coffman-Graham Layering",1),0!=t.a.c.length){for(j=KB(pMn(t,(FXn(),pgt)),19).a,o=0,a=0,b=new Ub(t.a);b.a<b.c.c.length;)for((l=KB(Y1(b),10)).p=o++,c=new az(JL(hbn(l).a.Kc(),new h));bAn(c);)(r=KB(G5(c),17)).p=a++;for(n.d=L8(INt,JJn,25,o,16,1),n.a=L8(INt,JJn,25,a,16,1),n.b=L8(CNt,oQn,25,o,15,1),n.e=L8(CNt,oQn,25,o,15,1),n.f=L8(CNt,oQn,25,o,15,1),lin(n.c),eEn(n,t),d=new zz(new Nd(n)),k=new Ub(t.a);k.a<k.c.c.length;){for(c=new az(JL(sbn(m=KB(Y1(k),10)).a.Kc(),new h));bAn(c);)r=KB(G5(c),17),n.a[r.p]||++n.b[m.p];0==n.b[m.p]&&_8(nMn(d,m))}for(u=0;0!=d.b.c.length;)for(m=KB(pnn(d),10),n.f[m.p]=u++,c=new az(JL(hbn(m).a.Kc(),new h));bAn(c);)r=KB(G5(c),17),n.a[r.p]||(p=r.d.i,--n.b[p.p],QIn(n.c,p,tln(n.f[m.p])),0==n.b[p.p]&&_8(nMn(d,p)));for(w=new zz(new xd(n)),y=new Ub(t.a);y.a<y.c.c.length;){for(c=new az(JL(hbn(m=KB(Y1(y),10)).a.Kc(),new h));bAn(c);)r=KB(G5(c),17),n.a[r.p]||++n.e[m.p];0==n.e[m.p]&&_8(nMn(w,m))}for(i=e1(t,f=new $p);0!=w.b.c.length;)for(v=KB(pnn(w),10),(i.a.c.length>=j||!$dn(v,i))&&(i=e1(t,f)),MZ(v,i),c=new az(JL(sbn(v).a.Kc(),new h));bAn(c);)r=KB(G5(c),17),n.a[r.p]||(g=r.c.i,--n.e[g.p],0==n.e[g.p]&&_8(nMn(w,g)));for(s=f.c.length-1;s>=0;--s)UB(t.b,(h1(s,f.c.length),KB(f.c[s],29)));t.a.c=L8(Int,FWn,1,0,5,1),FSn(e)}else FSn(e)}function JXn(n){var t,e,i,r,c,a,u,o;for(n.b=1,WXn(n),t=null,0==n.c&&94==n.a?(WXn(n),lWn(),lWn(),Vxn(t=new E0(4),0,cnt),a=new E0(4)):(lWn(),lWn(),a=new E0(4)),r=!0;1!=(o=n.c);){if(0==o&&93==n.a&&!r){t&&(UGn(t,a),a=t);break}if(e=n.a,i=!1,10==o)switch(e){case 100:case 68:case 119:case 87:case 115:case 83:uHn(a,bKn(e)),i=!0;break;case 105:case 73:case 99:case 67:uHn(a,bKn(e)),(e=-1)<0&&(i=!0);break;case 112:case 80:if(!(u=NIn(n,e)))throw Fp(new rk(mWn((c$(),C8n))));uHn(a,u),i=!0;break;default:e=BDn(n)}else if(24==o&&!r){if(t&&(UGn(t,a),a=t),UGn(a,JXn(n)),0!=n.c||93!=n.a)throw Fp(new rk(mWn((c$(),$8n))));break}if(WXn(n),!i){if(0==o){if(91==e)throw Fp(new rk(mWn((c$(),L8n))));if(93==e)throw Fp(new rk(mWn((c$(),N8n))));if(45==e&&!r&&93!=n.a)throw Fp(new rk(mWn((c$(),x8n))))}if(0!=n.c||45!=n.a||45==e&&r)Vxn(a,e,e);else{if(WXn(n),1==(o=n.c))throw Fp(new rk(mWn((c$(),O8n))));if(0==o&&93==n.a)Vxn(a,e,e),Vxn(a,45,45);else{if(0==o&&93==n.a||24==o)throw Fp(new rk(mWn((c$(),x8n))));if(c=n.a,0==o){if(91==c)throw Fp(new rk(mWn((c$(),L8n))));if(93==c)throw Fp(new rk(mWn((c$(),N8n))));if(45==c)throw Fp(new rk(mWn((c$(),x8n))))}else 10==o&&(c=BDn(n));if(WXn(n),e>c)throw Fp(new rk(mWn((c$(),_8n))));Vxn(a,e,c)}}}r=!1}if(1==n.c)throw Fp(new rk(mWn((c$(),O8n))));return j$n(a),BHn(a),n.b=0,WXn(n),a}function YXn(n){X$n(n.c,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Q9n,"http://www.w3.org/2001/XMLSchema#decimal"])),X$n(n.d,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Q9n,"http://www.w3.org/2001/XMLSchema#integer"])),X$n(n.e,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Q9n,"http://www.w3.org/2001/XMLSchema#boolean"])),X$n(n.f,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Q9n,"EBoolean",Z6n,"EBoolean:Object"])),X$n(n.i,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Q9n,"http://www.w3.org/2001/XMLSchema#byte"])),X$n(n.g,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Q9n,"http://www.w3.org/2001/XMLSchema#hexBinary"])),X$n(n.j,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Q9n,"EByte",Z6n,"EByte:Object"])),X$n(n.n,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Q9n,"EChar",Z6n,"EChar:Object"])),X$n(n.t,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Q9n,"http://www.w3.org/2001/XMLSchema#double"])),X$n(n.u,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Q9n,"EDouble",Z6n,"EDouble:Object"])),X$n(n.F,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Q9n,"http://www.w3.org/2001/XMLSchema#float"])),X$n(n.G,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Q9n,"EFloat",Z6n,"EFloat:Object"])),X$n(n.I,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Q9n,"http://www.w3.org/2001/XMLSchema#int"])),X$n(n.J,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Q9n,"EInt",Z6n,"EInt:Object"])),X$n(n.N,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Q9n,"http://www.w3.org/2001/XMLSchema#long"])),X$n(n.O,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Q9n,"ELong",Z6n,"ELong:Object"])),X$n(n.Z,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Q9n,"http://www.w3.org/2001/XMLSchema#short"])),X$n(n.$,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Q9n,"EShort",Z6n,"EShort:Object"])),X$n(n._,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Q9n,"http://www.w3.org/2001/XMLSchema#string"]))}function ZXn(n){var t,e,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P,C;if(1==n.c.length)return h1(0,n.c.length),KB(n.c[0],135);if(n.c.length<=0)return new M6;for(s=new Ub(n);s.a<s.c.c.length;){for(u=KB(Y1(s),135),m=0,d=NWn,g=NWn,b=RVn,w=RVn,v=upn(u.b,0);v.b!=v.d.c;)p=KB(f3(v),86),m+=KB(pMn(p,(SAn(),Okt)),19).a,d=i.Math.min(d,p.e.a),g=i.Math.min(g,p.e.b),b=i.Math.max(b,p.e.a+p.f.a),w=i.Math.max(w,p.e.b+p.f.b);oon(u,(SAn(),Okt),tln(m)),oon(u,(Bqn(),Yyt),new LC(d,g)),oon(u,Jyt,new LC(b,w))}for(TQ(),p$(n,new ga),Ban(k=new M6,(h1(0,n.c.length),KB(n.c[0],94))),l=0,S=0,h=new Ub(n);h.a<h.c.c.length;)u=KB(Y1(h),135),j=zR(K$(KB(pMn(u,(Bqn(),Jyt)),8)),KB(pMn(u,Yyt),8)),l=i.Math.max(l,j.a),S+=j.a*j.b;for(l=i.Math.max(l,i.Math.sqrt(S)*Hy(ED(pMn(k,(SAn(),ykt))))),P=0,C=0,f=0,t=E=Hy(ED(pMn(k,Lkt))),o=new Ub(n);o.a<o.c.c.length;)u=KB(Y1(o),135),P+(j=zR(K$(KB(pMn(u,(Bqn(),Jyt)),8)),KB(pMn(u,Yyt),8))).a>l&&(P=0,C+=f+E,f=0),kLn(k,u,P,C),t=i.Math.max(t,P+j.a),f=i.Math.max(f,j.b),P+=j.a+E;for(y=new Lp,e=new Lp,M=new Ub(n);M.a<M.c.c.length;)for(r=By(jD(pMn(T=KB(Y1(M),135),(uWn(),hSt)))),a=(T.q?T.q:oet).vc().Kc();a.Ob();)oU(y,(c=KB(a.Pb(),42)).cd())?HI(KB(c.cd(),146).wg())!==HI(c.dd())&&(r&&oU(e,c.cd())?(OT(),KB(c.cd(),146).tg()):(XW(y,KB(c.cd(),146),c.dd()),oon(k,KB(c.cd(),146),c.dd()),r&&XW(e,KB(c.cd(),146),c.dd()))):(XW(y,KB(c.cd(),146),c.dd()),oon(k,KB(c.cd(),146),c.dd()));return k}function nWn(){nWn=O,xXn(),QIn(dut=new dY,(mUn(),bIt),lIt),QIn(dut,EIt,lIt),QIn(dut,wIt,lIt),QIn(dut,yIt,lIt),QIn(dut,mIt,lIt),QIn(dut,pIt,lIt),QIn(dut,yIt,bIt),QIn(dut,lIt,oIt),QIn(dut,bIt,oIt),QIn(dut,EIt,oIt),QIn(dut,wIt,oIt),QIn(dut,vIt,oIt),QIn(dut,yIt,oIt),QIn(dut,mIt,oIt),QIn(dut,pIt,oIt),QIn(dut,fIt,oIt),QIn(dut,lIt,kIt),QIn(dut,bIt,kIt),QIn(dut,oIt,kIt),QIn(dut,EIt,kIt),QIn(dut,wIt,kIt),QIn(dut,vIt,kIt),QIn(dut,yIt,kIt),QIn(dut,fIt,kIt),QIn(dut,jIt,kIt),QIn(dut,mIt,kIt),QIn(dut,dIt,kIt),QIn(dut,pIt,kIt),QIn(dut,bIt,EIt),QIn(dut,wIt,EIt),QIn(dut,yIt,EIt),QIn(dut,pIt,EIt),QIn(dut,bIt,wIt),QIn(dut,EIt,wIt),QIn(dut,yIt,wIt),QIn(dut,wIt,wIt),QIn(dut,mIt,wIt),QIn(dut,lIt,sIt),QIn(dut,bIt,sIt),QIn(dut,oIt,sIt),QIn(dut,kIt,sIt),QIn(dut,EIt,sIt),QIn(dut,wIt,sIt),QIn(dut,vIt,sIt),QIn(dut,yIt,sIt),QIn(dut,jIt,sIt),QIn(dut,fIt,sIt),QIn(dut,pIt,sIt),QIn(dut,mIt,sIt),QIn(dut,gIt,sIt),QIn(dut,lIt,jIt),QIn(dut,bIt,jIt),QIn(dut,oIt,jIt),QIn(dut,EIt,jIt),QIn(dut,wIt,jIt),QIn(dut,vIt,jIt),QIn(dut,yIt,jIt),QIn(dut,fIt,jIt),QIn(dut,pIt,jIt),QIn(dut,dIt,jIt),QIn(dut,gIt,jIt),QIn(dut,bIt,fIt),QIn(dut,EIt,fIt),QIn(dut,wIt,fIt),QIn(dut,yIt,fIt),QIn(dut,jIt,fIt),QIn(dut,pIt,fIt),QIn(dut,mIt,fIt),QIn(dut,lIt,hIt),QIn(dut,bIt,hIt),QIn(dut,oIt,hIt),QIn(dut,EIt,hIt),QIn(dut,wIt,hIt),QIn(dut,vIt,hIt),QIn(dut,yIt,hIt),QIn(dut,fIt,hIt),QIn(dut,pIt,hIt),QIn(dut,bIt,mIt),QIn(dut,oIt,mIt),QIn(dut,kIt,mIt),QIn(dut,wIt,mIt),QIn(dut,lIt,dIt),QIn(dut,bIt,dIt),QIn(dut,kIt,dIt),QIn(dut,EIt,dIt),QIn(dut,wIt,dIt),QIn(dut,vIt,dIt),QIn(dut,yIt,dIt),QIn(dut,yIt,gIt),QIn(dut,wIt,gIt),QIn(dut,fIt,lIt),QIn(dut,fIt,EIt),QIn(dut,fIt,oIt),QIn(dut,vIt,lIt),QIn(dut,vIt,bIt),QIn(dut,vIt,kIt)}function tWn(n,t){switch(n.e){case 0:case 2:case 4:case 6:case 42:case 44:case 46:case 48:case 8:case 10:case 12:case 14:case 16:case 18:case 20:case 22:case 24:case 26:case 28:case 30:case 32:case 34:case 36:case 38:return new qQ(n.b,n.a,t,n.c);case 1:return new AL(n.a,t,Iwn(t.Tg(),n.c));case 43:return new LL(n.a,t,Iwn(t.Tg(),n.c));case 3:return new OL(n.a,t,Iwn(t.Tg(),n.c));case 45:return new $L(n.a,t,Iwn(t.Tg(),n.c));case 41:return new v9(KB(Pkn(n.c),26),n.a,t,Iwn(t.Tg(),n.c));case 50:return new vin(KB(Pkn(n.c),26),n.a,t,Iwn(t.Tg(),n.c));case 5:return new t_(n.a,t,Iwn(t.Tg(),n.c),n.d.n);case 47:return new e_(n.a,t,Iwn(t.Tg(),n.c),n.d.n);case 7:return new nU(n.a,t,Iwn(t.Tg(),n.c),n.d.n);case 49:return new n_(n.a,t,Iwn(t.Tg(),n.c),n.d.n);case 9:return new _L(n.a,t,Iwn(t.Tg(),n.c));case 11:return new RL(n.a,t,Iwn(t.Tg(),n.c));case 13:return new DL(n.a,t,Iwn(t.Tg(),n.c));case 15:return new EH(n.a,t,Iwn(t.Tg(),n.c));case 17:return new KL(n.a,t,Iwn(t.Tg(),n.c));case 19:return new xL(n.a,t,Iwn(t.Tg(),n.c));case 21:return new NL(n.a,t,Iwn(t.Tg(),n.c));case 23:return new vH(n.a,t,Iwn(t.Tg(),n.c));case 25:return new s_(n.a,t,Iwn(t.Tg(),n.c),n.d.n);case 27:return new o_(n.a,t,Iwn(t.Tg(),n.c),n.d.n);case 29:return new a_(n.a,t,Iwn(t.Tg(),n.c),n.d.n);case 31:return new i_(n.a,t,Iwn(t.Tg(),n.c),n.d.n);case 33:return new u_(n.a,t,Iwn(t.Tg(),n.c),n.d.n);case 35:return new c_(n.a,t,Iwn(t.Tg(),n.c),n.d.n);case 37:return new r_(n.a,t,Iwn(t.Tg(),n.c),n.d.n);case 39:return new tU(n.a,t,Iwn(t.Tg(),n.c),n.d.n);case 40:return new kcn(t,Iwn(t.Tg(),n.c));default:throw Fp(new by("Unknown feature style: "+n.e))}}function eWn(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k;switch(CTn(e,"Brandes & Koepf node placement",1),n.a=t,n.c=_Fn(t),i=KB(pMn(t,(FXn(),$gt)),274),b=By(jD(pMn(t,Lgt))),n.d=i==(Kjn(),Wht)&&!b||i==zht,Qqn(n,t),y=null,k=null,g=null,p=null,hin(4,IVn),d=new Q6(4),KB(pMn(t,$gt),274).g){case 3:g=new B_n(t,n.c.d,(aZ(),eyt),(wY(),Ymt)),d.c[d.c.length]=g;break;case 1:p=new B_n(t,n.c.d,(aZ(),iyt),(wY(),Ymt)),d.c[d.c.length]=p;break;case 4:y=new B_n(t,n.c.d,(aZ(),eyt),(wY(),Zmt)),d.c[d.c.length]=y;break;case 2:k=new B_n(t,n.c.d,(aZ(),iyt),(wY(),Zmt)),d.c[d.c.length]=k;break;default:g=new B_n(t,n.c.d,(aZ(),eyt),(wY(),Ymt)),p=new B_n(t,n.c.d,iyt,Ymt),y=new B_n(t,n.c.d,eyt,Zmt),k=new B_n(t,n.c.d,iyt,Zmt),d.c[d.c.length]=y,d.c[d.c.length]=k,d.c[d.c.length]=g,d.c[d.c.length]=p}for(r=new tC(t,n.c),u=new Ub(d);u.a<u.c.c.length;)MXn(r,c=KB(Y1(u),180),n.b),UBn(c);for(l=new Qyn(t,n.c),o=new Ub(d);o.a<o.c.c.length;)Fzn(l,c=KB(Y1(o),180));if(e.n)for(s=new Ub(d);s.a<s.c.c.length;)CH(e,(c=KB(Y1(s),180))+" size is "+g$n(c));if(f=null,n.d&&PBn(t,h=_Un(n,d,n.c.d),e)&&(f=h),!f)for(s=new Ub(d);s.a<s.c.c.length;)PBn(t,c=KB(Y1(s),180),e)&&(!f||g$n(f)>g$n(c))&&(f=c);for(!f&&(h1(0,d.c.length),f=KB(d.c[0],180)),w=new Ub(t.b);w.a<w.c.c.length;)for(m=new Ub(KB(Y1(w),29).a);m.a<m.c.c.length;)(v=KB(Y1(m),10)).n.b=Hy(f.p[v.p])+Hy(f.d[v.p]);for(e.n&&(CH(e,"Chosen node placement: "+f),CH(e,"Blocks: "+LOn(f)),CH(e,"Classes: "+GAn(f,e)),CH(e,"Marked edges: "+n.b)),a=new Ub(d);a.a<a.c.c.length;)(c=KB(Y1(a),180)).g=null,c.b=null,c.a=null,c.d=null,c.j=null,c.i=null,c.p=null;qrn(n.c),n.b.a.$b(),FSn(e)}function iWn(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T;for(a=new VT,v=KB(pMn(e,(FXn(),Gdt)),103),w=0,_rn(a,(!t.a&&(t.a=new nU(qOt,t,10,11)),t.a));0!=a.b;)s=KB(0==a.b?null:(Mx(0!=a.b),Itn(a,a.a.a)),33),(HI(JAn(t,Adt))!==HI((pon(),$vt))||HI(JAn(t,Hdt))===HI((Xvn(),kht))||HI(JAn(t,Hdt))===HI((Xvn(),mht))||By(jD(JAn(t,Ldt)))||HI(JAn(t,Sdt))!==HI((Kfn(),lut)))&&!By(jD(JAn(s,Odt)))&&Vpn(s,(oWn(),llt),tln(w++)),!By(jD(JAn(s,Hgt)))&&(f=0!=(!s.a&&(s.a=new nU(qOt,s,10,11)),s.a).i,b=mTn(s),l=HI(JAn(s,ugt))===HI((cfn(),dCt)),g=null,(T=!M8(s,(uWn(),nSt))||p_(TD(JAn(s,nSt)),l1n))&&l&&(f||b)&&(oon(g=mFn(s),Gdt,v),Ax(g,wpt)&&Ey(new cwn(Hy(ED(pMn(g,wpt)))),g),0!=KB(JAn(s,_gt),174).gc()&&(h=g,QT(new xq(null,(!s.c&&(s.c=new nU(GOt,s,9,9)),new l1(s.c,16))),new zw(h)),pDn(s,g))),m=e,(y=KB(xX(n.a,QY(s)),10))&&(m=y.e),d=lzn(n,s,m),g&&(d.e=g,g.e=d,_rn(a,(!s.a&&(s.a=new nU(qOt,s,10,11)),s.a))));for(w=0,e5(a,t,a.c.b,a.c);0!=a.b;){for(o=new IL((!(c=KB(0==a.b?null:(Mx(0!=a.b),Itn(a,a.a.a)),33)).b&&(c.b=new nU(DOt,c,12,3)),c.b));o.e!=o.i.gc();)ZRn(u=KB(mpn(o),79)),(HI(JAn(t,Adt))!==HI((pon(),$vt))||HI(JAn(t,Hdt))===HI((Xvn(),kht))||HI(JAn(t,Hdt))===HI((Xvn(),mht))||By(jD(JAn(t,Ldt)))||HI(JAn(t,Sdt))!==HI((Kfn(),lut)))&&Vpn(u,(oWn(),llt),tln(w++)),j=MTn(KB(Utn((!u.b&&(u.b=new o_(xOt,u,4,7)),u.b),0),82)),E=MTn(KB(Utn((!u.c&&(u.c=new o_(xOt,u,5,8)),u.c),0),82)),By(jD(JAn(u,Hgt)))||By(jD(JAn(j,Hgt)))||By(jD(JAn(E,Hgt)))||(p=c,WIn(u)&&By(jD(JAn(j,lgt)))&&By(jD(JAn(u,bgt)))||Stn(E,j)?p=j:Stn(j,E)&&(p=E),m=e,(y=KB(xX(n.a,p),10))&&(m=y.e),oon(cWn(n,u,p,m),(oWn(),_ft),Axn(n,u,t,e)));if(l=HI(JAn(c,ugt))===HI((cfn(),dCt)))for(r=new IL((!c.a&&(c.a=new nU(qOt,c,10,11)),c.a));r.e!=r.i.gc();)T=!M8(i=KB(mpn(r),33),(uWn(),nSt))||p_(TD(JAn(i,nSt)),l1n),k=HI(JAn(i,ugt))===HI(dCt),T&&k&&e5(a,i,a.c.b,a.c)}}function rWn(n,t,e,i,r,c){var a,u,o,s,h,f,l;switch(t){case 71:a=i.q.getFullYear()-uQn>=-1900?1:0,aO(n,e>=4?Mun(Hk(Wtt,1),uVn,2,6,[sQn,hQn])[a]:Mun(Hk(Wtt,1),uVn,2,6,["BC","AD"])[a]);break;case 121:apn(n,e,i);break;case 77:z_n(n,e,i);break;case 107:knn(n,0==(u=r.q.getHours())?24:u,e);break;case 83:xLn(n,e,r);break;case 69:o=i.q.getDay(),aO(n,5==e?Mun(Hk(Wtt,1),uVn,2,6,["S","M","T","W","T","F","S"])[o]:4==e?Mun(Hk(Wtt,1),uVn,2,6,[fQn,lQn,bQn,wQn,dQn,gQn,pQn])[o]:Mun(Hk(Wtt,1),uVn,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[o]);break;case 97:r.q.getHours()>=12&&r.q.getHours()<24?aO(n,Mun(Hk(Wtt,1),uVn,2,6,["AM","PM"])[1]):aO(n,Mun(Hk(Wtt,1),uVn,2,6,["AM","PM"])[0]);break;case 104:knn(n,0==(s=r.q.getHours()%12)?12:s,e);break;case 75:knn(n,r.q.getHours()%12,e);break;case 72:knn(n,r.q.getHours(),e);break;case 99:h=i.q.getDay(),5==e?aO(n,Mun(Hk(Wtt,1),uVn,2,6,["S","M","T","W","T","F","S"])[h]):4==e?aO(n,Mun(Hk(Wtt,1),uVn,2,6,[fQn,lQn,bQn,wQn,dQn,gQn,pQn])[h]):3==e?aO(n,Mun(Hk(Wtt,1),uVn,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[h]):knn(n,h,1);break;case 76:f=i.q.getMonth(),5==e?aO(n,Mun(Hk(Wtt,1),uVn,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[f]):4==e?aO(n,Mun(Hk(Wtt,1),uVn,2,6,[VVn,QVn,JVn,YVn,ZVn,nQn,tQn,eQn,iQn,rQn,cQn,aQn])[f]):3==e?aO(n,Mun(Hk(Wtt,1),uVn,2,6,["Jan","Feb","Mar","Apr",ZVn,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[f]):knn(n,f+1,e);break;case 81:l=i.q.getMonth()/3|0,aO(n,e<4?Mun(Hk(Wtt,1),uVn,2,6,["Q1","Q2","Q3","Q4"])[l]:Mun(Hk(Wtt,1),uVn,2,6,["1st quarter","2nd quarter","3rd quarter","4th quarter"])[l]);break;case 100:knn(n,i.q.getDate(),e);break;case 109:knn(n,r.q.getMinutes(),e);break;case 115:knn(n,r.q.getSeconds(),e);break;case 122:aO(n,e<4?c.c[0]:c.c[1]);break;case 118:aO(n,c.b);break;case 90:aO(n,e<3?YCn(c):3==e?lIn(c):bIn(c.a));break;default:return!1}return!0}function cWn(n,t,e,i){var r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P,C;if(ZRn(t),o=KB(Utn((!t.b&&(t.b=new o_(xOt,t,4,7)),t.b),0),82),h=KB(Utn((!t.c&&(t.c=new o_(xOt,t,5,8)),t.c),0),82),u=MTn(o),s=MTn(h),a=0==(!t.a&&(t.a=new nU(ROt,t,6,6)),t.a).i?null:KB(Utn((!t.a&&(t.a=new nU(ROt,t,6,6)),t.a),0),202),j=KB(xX(n.a,u),10),S=KB(xX(n.a,s),10),E=null,P=null,iL(o,186)&&(iL(k=KB(xX(n.a,o),299),11)?E=KB(k,11):iL(k,10)&&(j=KB(k,10),E=KB(Lq(j.j,0),11))),iL(h,186)&&(iL(M=KB(xX(n.a,h),299),11)?P=KB(M,11):iL(M,10)&&(S=KB(M,10),P=KB(Lq(S.j,0),11))),!j||!S)throw Fp(new ik("The source or the target of edge "+t+" could not be found. This usually happens when an edge connects a node laid out by ELK Layered to a node in another level of hierarchy laid out by either another instance of ELK Layered or another layout algorithm alltogether. The former can be solved by setting the hierarchyHandling option to INCLUDE_CHILDREN."));for(Ban(d=new lJ,t),oon(d,(oWn(),blt),t),oon(d,(FXn(),ggt),null),b=KB(pMn(i,Jft),21),j==S&&b.Fc((fDn(),gft)),E||(rin(),y=Bvt,T=null,a&&gA(KB(pMn(j,npt),98))&&(V3(T=new LC(a.j,a.k),zY(t)),Z4(T,e),Stn(s,u)&&(y=Fvt,GR(T,j.n))),E=bHn(j,T,y,i)),P||(rin(),y=Fvt,C=null,a&&gA(KB(pMn(S,npt),98))&&(V3(C=new LC(a.b,a.c),zY(t)),Z4(C,e)),P=bHn(S,C,y,gW(S))),TZ(d,E),EZ(d,P),(E.e.c.length>1||E.g.c.length>1||P.e.c.length>1||P.g.c.length>1)&&b.Fc((fDn(),fft)),l=new IL((!t.n&&(t.n=new nU(HOt,t,1,7)),t.n));l.e!=l.i.gc();)if(!By(jD(JAn(f=KB(mpn(l),137),Hgt)))&&f.a)switch(g=Fhn(f),UB(d.b,g),KB(pMn(g,Vdt),272).g){case 1:case 2:b.Fc((fDn(),sft));break;case 0:b.Fc((fDn(),uft)),oon(g,Vdt,(xtn(),qPt))}if(c=KB(pMn(i,Bdt),314),p=KB(pMn(i,Rgt),315),r=c==(Cin(),uht)||p==($vn(),dvt),a&&0!=(!a.a&&(a.a=new OL($Ot,a,5)),a.a).i&&r){for(v=BSn(a),w=new mm,m=upn(v,0);m.b!=m.d.c;)NH(w,new lA(KB(f3(m),8)));oon(d,wlt,w)}return d}function aWn(n){n.gb||(n.gb=!0,n.b=man(n,0),xrn(n.b,18),Drn(n.b,19),n.a=man(n,1),xrn(n.a,1),Drn(n.a,2),Drn(n.a,3),Drn(n.a,4),Drn(n.a,5),n.o=man(n,2),xrn(n.o,8),xrn(n.o,9),Drn(n.o,10),Drn(n.o,11),Drn(n.o,12),Drn(n.o,13),Drn(n.o,14),Drn(n.o,15),Drn(n.o,16),Drn(n.o,17),Drn(n.o,18),Drn(n.o,19),Drn(n.o,20),Drn(n.o,21),Drn(n.o,22),Drn(n.o,23),atn(n.o),atn(n.o),atn(n.o),atn(n.o),atn(n.o),atn(n.o),atn(n.o),atn(n.o),atn(n.o),atn(n.o),n.p=man(n,3),xrn(n.p,2),xrn(n.p,3),xrn(n.p,4),xrn(n.p,5),Drn(n.p,6),Drn(n.p,7),atn(n.p),atn(n.p),n.q=man(n,4),xrn(n.q,8),n.v=man(n,5),Drn(n.v,9),atn(n.v),atn(n.v),atn(n.v),n.w=man(n,6),xrn(n.w,2),xrn(n.w,3),xrn(n.w,4),Drn(n.w,5),n.B=man(n,7),Drn(n.B,1),atn(n.B),atn(n.B),atn(n.B),n.Q=man(n,8),Drn(n.Q,0),atn(n.Q),n.R=man(n,9),xrn(n.R,1),n.S=man(n,10),atn(n.S),atn(n.S),atn(n.S),atn(n.S),atn(n.S),atn(n.S),atn(n.S),atn(n.S),atn(n.S),atn(n.S),atn(n.S),atn(n.S),atn(n.S),atn(n.S),atn(n.S),n.T=man(n,11),Drn(n.T,10),Drn(n.T,11),Drn(n.T,12),Drn(n.T,13),Drn(n.T,14),atn(n.T),atn(n.T),n.U=man(n,12),xrn(n.U,2),xrn(n.U,3),Drn(n.U,4),Drn(n.U,5),Drn(n.U,6),Drn(n.U,7),atn(n.U),n.V=man(n,13),Drn(n.V,10),n.W=man(n,14),xrn(n.W,18),xrn(n.W,19),xrn(n.W,20),Drn(n.W,21),Drn(n.W,22),Drn(n.W,23),n.bb=man(n,15),xrn(n.bb,10),xrn(n.bb,11),xrn(n.bb,12),xrn(n.bb,13),xrn(n.bb,14),xrn(n.bb,15),xrn(n.bb,16),Drn(n.bb,17),atn(n.bb),atn(n.bb),n.eb=man(n,16),xrn(n.eb,2),xrn(n.eb,3),xrn(n.eb,4),xrn(n.eb,5),xrn(n.eb,6),xrn(n.eb,7),Drn(n.eb,8),Drn(n.eb,9),n.ab=man(n,17),xrn(n.ab,0),xrn(n.ab,1),n.H=man(n,18),Drn(n.H,0),Drn(n.H,1),Drn(n.H,2),Drn(n.H,3),Drn(n.H,4),Drn(n.H,5),atn(n.H),n.db=man(n,19),Drn(n.db,2),n.c=yan(n,20),n.d=yan(n,21),n.e=yan(n,22),n.f=yan(n,23),n.i=yan(n,24),n.g=yan(n,25),n.j=yan(n,26),n.k=yan(n,27),n.n=yan(n,28),n.r=yan(n,29),n.s=yan(n,30),n.t=yan(n,31),n.u=yan(n,32),n.fb=yan(n,33),n.A=yan(n,34),n.C=yan(n,35),n.D=yan(n,36),n.F=yan(n,37),n.G=yan(n,38),n.I=yan(n,39),n.J=yan(n,40),n.L=yan(n,41),n.M=yan(n,42),n.N=yan(n,43),n.O=yan(n,44),n.P=yan(n,45),n.X=yan(n,46),n.Y=yan(n,47),n.Z=yan(n,48),n.$=yan(n,49),n._=yan(n,50),n.cb=yan(n,51),n.K=yan(n,52))}function uWn(){var n,t;uWn=O,nSt=new cp(l5n),pPt=new cp(b5n),lvn(),tSt=new OO(U2n,eSt=SMt),iSt=new OO(XYn,null),rSt=new cp(w5n),lEn(),sSt=kG(JMt,Mun(Hk(BPt,1),OVn,291,0,[XMt])),oSt=new OO(c3n,sSt),hSt=new OO(z2n,(oN(),!1)),_fn(),fSt=new OO(Q2n,lSt=KPt),Ebn(),gSt=new OO(v2n,pSt=JPt),ySt=new OO(I4n,!1),cfn(),kSt=new OO(b2n,jSt=gCt),USt=new UA(12),zSt=new OO(WYn,USt),SSt=new OO(yZn,!1),PSt=new OO(p3n,!1),GSt=new OO(EZn,!1),WEn(),cPt=new OO(kZn,aPt=VCt),wPt=new cp(w3n),dPt=new cp(dZn),gPt=new cp(vZn),mPt=new cp(mZn),ISt=new mm,CSt=new OO(a3n,ISt),uSt=new OO(s3n,!1),ESt=new OO(h3n,!1),ASt=new hm,OSt=new OO(d3n,ASt),qSt=new OO(q2n,!1),vPt=new OO(g5n,1),new OO(p5n,!0),tln(0),new OO(v5n,tln(100)),new OO(m5n,!1),tln(0),new OO(y5n,tln(4e3)),tln(0),new OO(k5n,tln(400)),new OO(j5n,!1),new OO(E5n,!1),new OO(T5n,!0),new OO(M5n,!1),_wn(),cSt=new OO(f5n,aSt=nOt),yPt=new OO(A2n,10),kPt=new OO($2n,10),jPt=new OO(zYn,20),EPt=new OO(L2n,10),TPt=new OO(pZn,2),MPt=new OO(N2n,10),PPt=new OO(x2n,0),CPt=new OO(_2n,5),IPt=new OO(D2n,1),OPt=new OO(R2n,1),APt=new OO(gZn,20),$Pt=new OO(K2n,10),xPt=new OO(F2n,10),SPt=new cp(B2n),NPt=new hA,LPt=new OO(g3n,NPt),VSt=new cp(b3n),XSt=new OO(l3n,WSt=!1),LSt=new UA(5),$St=new OO(J2n,LSt),YAn(),t=KB(Xj(HCt),9),xSt=new V_(t,KB(TR(t,t.length),9),0),NSt=new OO(SZn,xSt),ipn(),JSt=new OO(n3n,YSt=KCt),nPt=new cp(t3n),tPt=new cp(e3n),ePt=new cp(i3n),ZSt=new cp(r3n),n=KB(Xj(VIt),9),RSt=new V_(n,KB(TR(n,n.length),9),0),DSt=new OO(MZn,RSt),HSt=Yln((Y_n(),HIt)),BSt=new OO(TZn,HSt),FSt=new LC(0,0),KSt=new OO(KZn,FSt),_St=new OO(V2n,!1),xtn(),wSt=new OO(u3n,dSt=qPt),bSt=new OO(jZn,!1),tln(1),new OO(P5n,null),iPt=new cp(f3n),uPt=new cp(o3n),mUn(),lPt=new OO(G2n,bPt=MIt),rPt=new cp(H2n),hIn(),hPt=Yln(eIt),sPt=new OO(PZn,hPt),oPt=new OO(Y2n,!1),fPt=new OO(Z2n,!0),TSt=new OO(X2n,!1),MSt=new OO(W2n,!1),vSt=new OO(UYn,1),YTn(),new OO(C5n,mSt=rCt),QSt=!0}function oWn(){var n,t;oWn=O,blt=new cp(CZn),_ft=new cp("coordinateOrigin"),Elt=new cp("processors"),Rft=new tR("compoundNode",(oN(),!1)),nlt=new tR("insideConnections",!1),wlt=new cp("originalBendpoints"),dlt=new cp("originalDummyNodePosition"),glt=new cp("originalLabelEdge"),Mlt=new cp("representedLabels"),qft=new cp("endLabels"),Gft=new cp("endLabel.origin"),clt=new tR("labelSide",(zyn(),ECt)),flt=new tR("maxEdgeThickness",0),Slt=new tR("reversed",!1),Tlt=new cp(IZn),olt=new tR("longEdgeSource",null),slt=new tR("longEdgeTarget",null),ult=new tR("longEdgeHasLabelDummies",!1),alt=new tR("longEdgeBeforeLabelDummy",!1),Hft=new tR("edgeConstraint",(Qun(),Iht)),elt=new cp("inLayerLayoutUnit"),tlt=new tR("inLayerConstraint",(q7(),Mft)),ilt=new tR("inLayerSuccessorConstraint",new $p),rlt=new tR("inLayerSuccessorConstraintBetweenNonDummies",!1),klt=new cp("portDummy"),Kft=new tR("crossingHint",tln(0)),Jft=new tR("graphProperties",new V_(t=KB(Xj(jft),9),KB(TR(t,t.length),9),0)),Wft=new tR("externalPortSide",(mUn(),MIt)),Vft=new tR("externalPortSize",new Hj),Uft=new cp("externalPortReplacedDummies"),Xft=new cp("externalPortReplacedDummy"),zft=new tR("externalPortConnections",new V_(n=KB(Xj(_It),9),KB(TR(n,n.length),9),0)),jlt=new tR(bYn,0),Lft=new cp("barycenterAssociates"),Dlt=new cp("TopSideComments"),Nft=new cp("BottomSideComments"),Dft=new cp("CommentConnectionPort"),Zft=new tR("inputCollect",!1),mlt=new tR("outputCollect",!1),Bft=new tR("cyclic",!1),Fft=new cp("crossHierarchyMap"),xlt=new cp("targetOffset"),new tR("splineLabelSize",new Hj),Ilt=new cp("spacings"),ylt=new tR("partitionConstraint",!1),xft=new cp("breakingPoint.info"),Llt=new cp("splines.survivingEdge"),$lt=new cp("splines.route.start"),Olt=new cp("splines.edgeChain"),vlt=new cp("originalPortConstraints"),Clt=new cp("selfLoopHolder"),Alt=new cp("splines.nsPortY"),llt=new cp("modelOrder"),hlt=new cp("longEdgeTargetNode"),Qft=new tR(q1n,!1),Plt=new tR(q1n,!1),Yft=new cp("layerConstraints.hiddenNodes"),plt=new cp("layerConstraints.opposidePort"),Nlt=new cp("targetNode.modelOrder")}function sWn(){sWn=O,Rnn(),Tbt=new OO(G1n,Mbt=Tht),Hbt=new OO(z1n,(oN(),!1)),q2(),Xbt=new OO(U1n,Wbt=Ift),lwt=new OO(X1n,!1),bwt=new OO(W1n,!0),Glt=new OO(V1n,!1),G7(),$wt=new OO(Q1n,Lwt=Dvt),tln(1),Bwt=new OO(J1n,tln(7)),Hwt=new OO(Y1n,!1),qbt=new OO(Z1n,!1),Xvn(),jbt=new OO(n0n,Ebt=vht),jTn(),hwt=new OO(t0n,fwt=Zpt),jbn(),nwt=new OO(e0n,twt=Blt),tln(-1),Zbt=new OO(i0n,tln(-1)),tln(-1),ewt=new OO(r0n,tln(-1)),tln(-1),iwt=new OO(c0n,tln(4)),tln(-1),cwt=new OO(a0n,tln(2)),uNn(),owt=new OO(u0n,swt=Pvt),tln(0),uwt=new OO(o0n,tln(0)),Jbt=new OO(s0n,tln(NWn)),Cin(),ybt=new OO(h0n,kbt=oht),cbt=new OO(f0n,!1),wbt=new OO(l0n,.1),vbt=new OO(b0n,!1),tln(-1),gbt=new OO(w0n,tln(-1)),tln(-1),pbt=new OO(d0n,tln(-1)),tln(0),abt=new OO(g0n,tln(40)),Dan(),fbt=new OO(p0n,lbt=kft),ubt=new OO(v0n,obt=mft),$vn(),Owt=new OO(m0n,Awt=wvt),ywt=new cp(y0n),w7(),wwt=new OO(k0n,dwt=Bht),Kjn(),pwt=new OO(j0n,vwt=Wht),Ewt=new OO(E0n,.3),Mwt=new cp(T0n),fvn(),Swt=new OO(M0n,Pwt=hvt),Fcn(),$bt=new OO(S0n,Lbt=Uvt),I6(),Nbt=new OO(P0n,xbt=Jvt),Gsn(),Dbt=new OO(C0n,Rbt=emt),Kbt=new OO(I0n,.2),Obt=new OO(O0n,2),Rwt=new OO(A0n,null),Kwt=new OO($0n,10),_wt=new OO(L0n,10),Fwt=new OO(N0n,20),tln(0),Nwt=new OO(x0n,tln(0)),tln(0),xwt=new OO(D0n,tln(0)),tln(0),Dwt=new OO(R0n,tln(0)),zlt=new OO(_0n,!1),QMn(),Wlt=new OO(K0n,Vlt=ift),X8(),Ult=new OO(F0n,Xlt=rht),zbt=new OO(B0n,!1),tln(0),Gbt=new OO(H0n,tln(16)),tln(0),Ubt=new OO(q0n,tln(5)),Oun(),hdt=new OO(G0n,fdt=fmt),qwt=new OO(z0n,10),Uwt=new OO(U0n,1),cin(),ndt=new OO(X0n,tdt=wht),Vwt=new cp(W0n),Ywt=tln(1),tln(0),Jwt=new OO(V0n,Ywt),bcn(),ddt=new OO(Q0n,gdt=cmt),ldt=new cp(J0n),adt=new OO(Y0n,!0),rdt=new OO(Z0n,2),odt=new OO(n2n,!0),wSn(),Cbt=new OO(t2n,Ibt=Rht),OPn(),Sbt=new OO(e2n,Pbt=Jst),pon(),ibt=new OO(i2n,rbt=$vt),ebt=new OO(r2n,!1),Kfn(),Qlt=new OO(c2n,Jlt=lut),Ehn(),nbt=new OO(a2n,tbt=ivt),Ylt=new OO(u2n,0),Zlt=new OO(o2n,0),Qbt=yht,Vbt=uht,rwt=Ypt,awt=Ypt,Ybt=Vpt,cfn(),dbt=dCt,mbt=oht,bbt=oht,sbt=oht,hbt=dCt,kwt=pvt,jwt=wvt,gwt=wvt,mwt=wvt,Twt=gvt,Iwt=pvt,Cwt=pvt,Ebn(),_bt=QPt,Fbt=QPt,Bbt=emt,Abt=VPt,Gwt=lmt,zwt=hmt,Xwt=lmt,Wwt=hmt,edt=lmt,idt=hmt,Qwt=bht,Zwt=wht,pdt=lmt,vdt=hmt,bdt=lmt,wdt=hmt,udt=hmt,cdt=hmt,sdt=hmt}function hWn(){hWn=O,eot=new YS("DIRECTION_PREPROCESSOR",0),Zut=new YS("COMMENT_PREPROCESSOR",1),iot=new YS("EDGE_AND_LAYER_CONSTRAINT_EDGE_REVERSER",2),mot=new YS("INTERACTIVE_EXTERNAL_PORT_POSITIONER",3),_ot=new YS("PARTITION_PREPROCESSOR",4),Eot=new YS("LABEL_DUMMY_INSERTER",5),Got=new YS("SELF_LOOP_PREPROCESSOR",6),Cot=new YS("LAYER_CONSTRAINT_PREPROCESSOR",7),Dot=new YS("PARTITION_MIDPROCESSOR",8),wot=new YS("HIGH_DEGREE_NODE_LAYER_PROCESSOR",9),$ot=new YS("NODE_PROMOTION",10),Pot=new YS("LAYER_CONSTRAINT_POSTPROCESSOR",11),Rot=new YS("PARTITION_POSTPROCESSOR",12),hot=new YS("HIERARCHICAL_PORT_CONSTRAINT_PROCESSOR",13),Uot=new YS("SEMI_INTERACTIVE_CROSSMIN_PROCESSOR",14),Xut=new YS("BREAKING_POINT_INSERTER",15),Aot=new YS("LONG_EDGE_SPLITTER",16),Fot=new YS("PORT_SIDE_PROCESSOR",17),yot=new YS("INVERTED_PORT_PROCESSOR",18),Kot=new YS("PORT_LIST_SORTER",19),Wot=new YS("SORT_BY_INPUT_ORDER_OF_MODEL",20),Not=new YS("NORTH_SOUTH_PORT_PREPROCESSOR",21),Wut=new YS("BREAKING_POINT_PROCESSOR",22),xot=new YS(k1n,23),Vot=new YS(j1n,24),Hot=new YS("SELF_LOOP_PORT_RESTORER",25),Xot=new YS("SINGLE_EDGE_GRAPH_WRAPPER",26),kot=new YS("IN_LAYER_CONSTRAINT_PROCESSOR",27),uot=new YS("END_NODE_PORT_LABEL_MANAGEMENT_PROCESSOR",28),jot=new YS("LABEL_AND_NODE_SIZE_PROCESSOR",29),vot=new YS("INNERMOST_NODE_MARGIN_CALCULATOR",30),zot=new YS("SELF_LOOP_ROUTER",31),Jut=new YS("COMMENT_NODE_MARGIN_CALCULATOR",32),cot=new YS("END_LABEL_PREPROCESSOR",33),Mot=new YS("LABEL_DUMMY_SWITCHER",34),Qut=new YS("CENTER_LABEL_MANAGEMENT_PROCESSOR",35),Sot=new YS("LABEL_SIDE_SELECTOR",36),got=new YS("HYPEREDGE_DUMMY_MERGER",37),fot=new YS("HIERARCHICAL_PORT_DUMMY_SIZE_PROCESSOR",38),Iot=new YS("LAYER_SIZE_AND_GRAPH_HEIGHT_CALCULATOR",39),bot=new YS("HIERARCHICAL_PORT_POSITION_PROCESSOR",40),not=new YS("CONSTRAINTS_POSTPROCESSOR",41),Yut=new YS("COMMENT_POSTPROCESSOR",42),pot=new YS("HYPERNODE_PROCESSOR",43),lot=new YS("HIERARCHICAL_PORT_ORTHOGONAL_EDGE_ROUTER",44),Oot=new YS("LONG_EDGE_JOINER",45),qot=new YS("SELF_LOOP_POSTPROCESSOR",46),Vut=new YS("BREAKING_POINT_REMOVER",47),Lot=new YS("NORTH_SOUTH_PORT_POSTPROCESSOR",48),dot=new YS("HORIZONTAL_COMPACTOR",49),Tot=new YS("LABEL_DUMMY_REMOVER",50),oot=new YS("FINAL_SPLINE_BENDPOINTS_CALCULATOR",51),aot=new YS("END_LABEL_SORTER",52),Bot=new YS("REVERSED_EDGE_RESTORER",53),rot=new YS("END_LABEL_POSTPROCESSOR",54),sot=new YS("HIERARCHICAL_NODE_RESIZER",55),tot=new YS("DIRECTION_POSTPROCESSOR",56)}function fWn(n,t,e){var r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P,C,I,O,A,$,L,N,x,D,R,_,K,F,B,H,q,G,z,U,X,W,V,Q,J,Y,Z,nn,tn,en,rn,cn,an,un,on;for(Y=0,L=0,D=(O=t).length;L<D;++L)for(G=new Ub((C=O[L]).j);G.a<G.c.c.length;){for(U=0,o=new Ub((q=KB(Y1(G),11)).g);o.a<o.c.c.length;)u=KB(Y1(o),17),C.c!=u.d.i.c&&++U;U>0&&(n.a[q.p]=Y++)}for(rn=0,N=0,R=(A=e).length;N<R;++N){for(_=0,G=new Ub((C=A[N]).j);G.a<G.c.c.length&&(q=KB(Y1(G),11)).j==(mUn(),uIt);)for(o=new Ub(q.e);o.a<o.c.c.length;)if(u=KB(Y1(o),17),C.c!=u.c.i.c){++_;break}for(F=0,X=new E2(C.j,C.j.c.length);X.b>0;){for(Mx(X.b>0),U=0,o=new Ub((q=KB(X.a.Xb(X.c=--X.b),11)).e);o.a<o.c.c.length;)u=KB(Y1(o),17),C.c!=u.c.i.c&&++U;U>0&&(q.j==(mUn(),uIt)?(n.a[q.p]=rn,++rn):(n.a[q.p]=rn+_+F,++F))}rn+=F}for(z=new Lp,d=new sA,$=0,x=(I=t).length;$<x;++$)for(tn=new Ub((C=I[$]).j);tn.a<tn.c.c.length;)for(o=new Ub((nn=KB(Y1(tn),11)).g);o.a<o.c.c.length;)if(an=(u=KB(Y1(o),17)).d,C.c!=an.i.c)if(Z=KB(BI(IJ(z.f,nn)),467),cn=KB(BI(IJ(z.f,an)),467),Z||cn)if(Z)if(cn)if(Z==cn)UB(Z.a,u);else{for(UB(Z.a,u),H=new Ub(cn.d);H.a<H.c.c.length;)B=KB(Y1(H),11),yCn(z.f,B,Z);wun(Z.a,cn.a),wun(Z.d,cn.d),d.a.Bc(cn)}else UB(Z.a,u),UB(Z.d,an),yCn(z.f,an,Z);else UB(cn.a,u),UB(cn.d,nn),yCn(z.f,nn,cn);else w=new NR,d.a.zc(w,d),UB(w.a,u),UB(w.d,nn),yCn(z.f,nn,w),UB(w.d,an),yCn(z.f,an,w);for(g=KB(kmn(d,L8(_mt,{3:1,4:1,5:1,1946:1},467,d.a.gc(),0,1)),1946),P=t[0].c,J=e[0].c,l=0,b=(f=g).length;l<b;++l)for((h=f[l]).e=Y,h.f=rn,G=new Ub(h.d);G.a<G.c.c.length;)q=KB(Y1(G),11),W=n.a[q.p],q.i.c==P?(W<h.e&&(h.e=W),W>h.b&&(h.b=W)):q.i.c==J&&(W<h.f&&(h.f=W),W>h.c&&(h.c=W));for(q9(g,0,g.length,null),en=L8(CNt,oQn,25,g.length,15,1),r=L8(CNt,oQn,25,rn+1,15,1),v=0;v<g.length;v++)en[v]=g[v].f,r[en[v]]=1;for(a=0,m=0;m<r.length;m++)1==r[m]?r[m]=a:--a;for(V=0,y=0;y<en.length;y++)en[y]+=r[en[y]],V=i.Math.max(V,en[y]+1);for(s=1;s<V;)s*=2;for(on=2*s-1,s-=1,un=L8(CNt,oQn,25,on,15,1),c=0,M=0;M<en.length;M++)for(++un[T=en[M]+s];T>0;)T%2>0&&(c+=un[T+1]),++un[T=(T-1)/2|0];for(S=L8(Bmt,FWn,362,2*g.length,0,1),k=0;k<g.length;k++)S[2*k]=new BV(g[k],g[k].e,g[k].b,(W4(),Fmt)),S[2*k+1]=new BV(g[k],g[k].b,g[k].e,Kmt);for(q9(S,0,S.length,null),K=0,j=0;j<S.length;j++)switch(S[j].d.g){case 0:++K;break;case 1:c+=--K}for(Q=L8(Bmt,FWn,362,2*g.length,0,1),E=0;E<g.length;E++)Q[2*E]=new BV(g[E],g[E].f,g[E].c,(W4(),Fmt)),Q[2*E+1]=new BV(g[E],g[E].c,g[E].f,Kmt);for(q9(Q,0,Q.length,null),K=0,p=0;p<Q.length;p++)switch(Q[p].d.g){case 0:++K;break;case 1:c+=--K}return c}function lWn(){lWn=O,aNt=new Ip(7),uNt=new aG(8,94),new aG(8,64),oNt=new aG(8,36),wNt=new aG(8,65),dNt=new aG(8,122),gNt=new aG(8,90),mNt=new aG(8,98),lNt=new aG(8,66),pNt=new aG(8,60),yNt=new aG(8,62),cNt=new Ip(11),Vxn(rNt=new E0(4),48,57),Vxn(vNt=new E0(4),48,57),Vxn(vNt,65,90),Vxn(vNt,95,95),Vxn(vNt,97,122),Vxn(bNt=new E0(4),9,9),Vxn(bNt,10,10),Vxn(bNt,12,12),Vxn(bNt,13,13),Vxn(bNt,32,32),sNt=OFn(rNt),fNt=OFn(vNt),hNt=OFn(bNt),nNt=new Lp,tNt=new Lp,eNt=Mun(Hk(Wtt,1),uVn,2,6,["Cn","Lu","Ll","Lt","Lm","Lo","Mn","Me","Mc","Nd","Nl","No","Zs","Zl","Zp","Cc","Cf",null,"Co","Cs","Pd","Ps","Pe","Pc","Po","Sm","Sc","Sk","So","Pi","Pf","L","M","N","Z","C","P","S"]),ZLt=Mun(Hk(Wtt,1),uVn,2,6,["Basic Latin","Latin-1 Supplement","Latin Extended-A","Latin Extended-B","IPA Extensions","Spacing Modifier Letters","Combining Diacritical Marks","Greek","Cyrillic","Armenian","Hebrew","Arabic","Syriac","Thaana","Devanagari","Bengali","Gurmukhi","Gujarati","Oriya","Tamil","Telugu","Kannada","Malayalam","Sinhala","Thai","Lao","Tibetan","Myanmar","Georgian","Hangul Jamo","Ethiopic","Cherokee","Unified Canadian Aboriginal Syllabics","Ogham","Runic","Khmer","Mongolian","Latin Extended Additional","Greek Extended","General Punctuation","Superscripts and Subscripts","Currency Symbols","Combining Marks for Symbols","Letterlike Symbols","Number Forms","Arrows","Mathematical Operators","Miscellaneous Technical","Control Pictures","Optical Character Recognition","Enclosed Alphanumerics","Box Drawing","Block Elements","Geometric Shapes","Miscellaneous Symbols","Dingbats","Braille Patterns","CJK Radicals Supplement","Kangxi Radicals","Ideographic Description Characters","CJK Symbols and Punctuation","Hiragana","Katakana","Bopomofo","Hangul Compatibility Jamo","Kanbun","Bopomofo Extended","Enclosed CJK Letters and Months","CJK Compatibility","CJK Unified Ideographs Extension A","CJK Unified Ideographs","Yi Syllables","Yi Radicals","Hangul Syllables",wnt,"CJK Compatibility Ideographs","Alphabetic Presentation Forms","Arabic Presentation Forms-A","Combining Half Marks","CJK Compatibility Forms","Small Form Variants","Arabic Presentation Forms-B","Specials","Halfwidth and Fullwidth Forms","Old Italic","Gothic","Deseret","Byzantine Musical Symbols","Musical Symbols","Mathematical Alphanumeric Symbols","CJK Unified Ideographs Extension B","CJK Compatibility Ideographs Supplement","Tags"]),iNt=Mun(Hk(CNt,1),oQn,25,15,[66304,66351,66352,66383,66560,66639,118784,119039,119040,119295,119808,120831,131072,173782,194560,195103,917504,917631])}function bWn(){bWn=O,Mrt=new acn("OUT_T_L",0,(Q9(),Vit),(H7(),trt),(Ntn(),Hit),Hit,Mun(Hk(Nnt,1),FWn,21,0,[kG((YAn(),ACt),Mun(Hk(HCt,1),OVn,93,0,[NCt,PCt]))])),Trt=new acn("OUT_T_C",1,Wit,trt,Hit,qit,Mun(Hk(Nnt,1),FWn,21,0,[kG(ACt,Mun(Hk(HCt,1),OVn,93,0,[NCt,SCt])),kG(ACt,Mun(Hk(HCt,1),OVn,93,0,[NCt,SCt,CCt]))])),Srt=new acn("OUT_T_R",2,Qit,trt,Hit,Git,Mun(Hk(Nnt,1),FWn,21,0,[kG(ACt,Mun(Hk(HCt,1),OVn,93,0,[NCt,ICt]))])),grt=new acn("OUT_B_L",3,Vit,irt,Git,Hit,Mun(Hk(Nnt,1),FWn,21,0,[kG(ACt,Mun(Hk(HCt,1),OVn,93,0,[$Ct,PCt]))])),drt=new acn("OUT_B_C",4,Wit,irt,Git,qit,Mun(Hk(Nnt,1),FWn,21,0,[kG(ACt,Mun(Hk(HCt,1),OVn,93,0,[$Ct,SCt])),kG(ACt,Mun(Hk(HCt,1),OVn,93,0,[$Ct,SCt,CCt]))])),prt=new acn("OUT_B_R",5,Qit,irt,Git,Git,Mun(Hk(Nnt,1),FWn,21,0,[kG(ACt,Mun(Hk(HCt,1),OVn,93,0,[$Ct,ICt]))])),yrt=new acn("OUT_L_T",6,Qit,irt,Hit,Hit,Mun(Hk(Nnt,1),FWn,21,0,[kG(ACt,Mun(Hk(HCt,1),OVn,93,0,[PCt,NCt,CCt]))])),mrt=new acn("OUT_L_C",7,Qit,ert,qit,Hit,Mun(Hk(Nnt,1),FWn,21,0,[kG(ACt,Mun(Hk(HCt,1),OVn,93,0,[PCt,LCt])),kG(ACt,Mun(Hk(HCt,1),OVn,93,0,[PCt,LCt,CCt]))])),vrt=new acn("OUT_L_B",8,Qit,trt,Git,Hit,Mun(Hk(Nnt,1),FWn,21,0,[kG(ACt,Mun(Hk(HCt,1),OVn,93,0,[PCt,$Ct,CCt]))])),Ert=new acn("OUT_R_T",9,Vit,irt,Hit,Git,Mun(Hk(Nnt,1),FWn,21,0,[kG(ACt,Mun(Hk(HCt,1),OVn,93,0,[ICt,NCt,CCt]))])),jrt=new acn("OUT_R_C",10,Vit,ert,qit,Git,Mun(Hk(Nnt,1),FWn,21,0,[kG(ACt,Mun(Hk(HCt,1),OVn,93,0,[ICt,LCt])),kG(ACt,Mun(Hk(HCt,1),OVn,93,0,[ICt,LCt,CCt]))])),krt=new acn("OUT_R_B",11,Vit,trt,Git,Git,Mun(Hk(Nnt,1),FWn,21,0,[kG(ACt,Mun(Hk(HCt,1),OVn,93,0,[ICt,$Ct,CCt]))])),brt=new acn("IN_T_L",12,Vit,irt,Hit,Hit,Mun(Hk(Nnt,1),FWn,21,0,[kG(OCt,Mun(Hk(HCt,1),OVn,93,0,[NCt,PCt])),kG(OCt,Mun(Hk(HCt,1),OVn,93,0,[NCt,PCt,CCt]))])),lrt=new acn("IN_T_C",13,Wit,irt,Hit,qit,Mun(Hk(Nnt,1),FWn,21,0,[kG(OCt,Mun(Hk(HCt,1),OVn,93,0,[NCt,SCt])),kG(OCt,Mun(Hk(HCt,1),OVn,93,0,[NCt,SCt,CCt]))])),wrt=new acn("IN_T_R",14,Qit,irt,Hit,Git,Mun(Hk(Nnt,1),FWn,21,0,[kG(OCt,Mun(Hk(HCt,1),OVn,93,0,[NCt,ICt])),kG(OCt,Mun(Hk(HCt,1),OVn,93,0,[NCt,ICt,CCt]))])),hrt=new acn("IN_C_L",15,Vit,ert,qit,Hit,Mun(Hk(Nnt,1),FWn,21,0,[kG(OCt,Mun(Hk(HCt,1),OVn,93,0,[LCt,PCt])),kG(OCt,Mun(Hk(HCt,1),OVn,93,0,[LCt,PCt,CCt]))])),srt=new acn("IN_C_C",16,Wit,ert,qit,qit,Mun(Hk(Nnt,1),FWn,21,0,[kG(OCt,Mun(Hk(HCt,1),OVn,93,0,[LCt,SCt])),kG(OCt,Mun(Hk(HCt,1),OVn,93,0,[LCt,SCt,CCt]))])),frt=new acn("IN_C_R",17,Qit,ert,qit,Git,Mun(Hk(Nnt,1),FWn,21,0,[kG(OCt,Mun(Hk(HCt,1),OVn,93,0,[LCt,ICt])),kG(OCt,Mun(Hk(HCt,1),OVn,93,0,[LCt,ICt,CCt]))])),urt=new acn("IN_B_L",18,Vit,trt,Git,Hit,Mun(Hk(Nnt,1),FWn,21,0,[kG(OCt,Mun(Hk(HCt,1),OVn,93,0,[$Ct,PCt])),kG(OCt,Mun(Hk(HCt,1),OVn,93,0,[$Ct,PCt,CCt]))])),art=new acn("IN_B_C",19,Wit,trt,Git,qit,Mun(Hk(Nnt,1),FWn,21,0,[kG(OCt,Mun(Hk(HCt,1),OVn,93,0,[$Ct,SCt])),kG(OCt,Mun(Hk(HCt,1),OVn,93,0,[$Ct,SCt,CCt]))])),ort=new acn("IN_B_R",20,Qit,trt,Git,Git,Mun(Hk(Nnt,1),FWn,21,0,[kG(OCt,Mun(Hk(HCt,1),OVn,93,0,[$Ct,ICt])),kG(OCt,Mun(Hk(HCt,1),OVn,93,0,[$Ct,ICt,CCt]))])),Prt=new acn(oYn,21,null,null,null,null,Mun(Hk(Nnt,1),FWn,21,0,[]))}function wWn(){wWn=O,n$t=(WX(),YAt).b,KB(Utn(WQ(YAt.b),0),34),KB(Utn(WQ(YAt.b),1),18),ZAt=YAt.a,KB(Utn(WQ(YAt.a),0),34),KB(Utn(WQ(YAt.a),1),18),KB(Utn(WQ(YAt.a),2),18),KB(Utn(WQ(YAt.a),3),18),KB(Utn(WQ(YAt.a),4),18),t$t=YAt.o,KB(Utn(WQ(YAt.o),0),34),KB(Utn(WQ(YAt.o),1),34),i$t=KB(Utn(WQ(YAt.o),2),18),KB(Utn(WQ(YAt.o),3),18),KB(Utn(WQ(YAt.o),4),18),KB(Utn(WQ(YAt.o),5),18),KB(Utn(WQ(YAt.o),6),18),KB(Utn(WQ(YAt.o),7),18),KB(Utn(WQ(YAt.o),8),18),KB(Utn(WQ(YAt.o),9),18),KB(Utn(WQ(YAt.o),10),18),KB(Utn(WQ(YAt.o),11),18),KB(Utn(WQ(YAt.o),12),18),KB(Utn(WQ(YAt.o),13),18),KB(Utn(WQ(YAt.o),14),18),KB(Utn(WQ(YAt.o),15),18),KB(Utn(XQ(YAt.o),0),59),KB(Utn(XQ(YAt.o),1),59),KB(Utn(XQ(YAt.o),2),59),KB(Utn(XQ(YAt.o),3),59),KB(Utn(XQ(YAt.o),4),59),KB(Utn(XQ(YAt.o),5),59),KB(Utn(XQ(YAt.o),6),59),KB(Utn(XQ(YAt.o),7),59),KB(Utn(XQ(YAt.o),8),59),KB(Utn(XQ(YAt.o),9),59),e$t=YAt.p,KB(Utn(WQ(YAt.p),0),34),KB(Utn(WQ(YAt.p),1),34),KB(Utn(WQ(YAt.p),2),34),KB(Utn(WQ(YAt.p),3),34),KB(Utn(WQ(YAt.p),4),18),KB(Utn(WQ(YAt.p),5),18),KB(Utn(XQ(YAt.p),0),59),KB(Utn(XQ(YAt.p),1),59),r$t=YAt.q,KB(Utn(WQ(YAt.q),0),34),c$t=YAt.v,KB(Utn(WQ(YAt.v),0),18),KB(Utn(XQ(YAt.v),0),59),KB(Utn(XQ(YAt.v),1),59),KB(Utn(XQ(YAt.v),2),59),a$t=YAt.w,KB(Utn(WQ(YAt.w),0),34),KB(Utn(WQ(YAt.w),1),34),KB(Utn(WQ(YAt.w),2),34),KB(Utn(WQ(YAt.w),3),18),u$t=YAt.B,KB(Utn(WQ(YAt.B),0),18),KB(Utn(XQ(YAt.B),0),59),KB(Utn(XQ(YAt.B),1),59),KB(Utn(XQ(YAt.B),2),59),h$t=YAt.Q,KB(Utn(WQ(YAt.Q),0),18),KB(Utn(XQ(YAt.Q),0),59),f$t=YAt.R,KB(Utn(WQ(YAt.R),0),34),l$t=YAt.S,KB(Utn(XQ(YAt.S),0),59),KB(Utn(XQ(YAt.S),1),59),KB(Utn(XQ(YAt.S),2),59),KB(Utn(XQ(YAt.S),3),59),KB(Utn(XQ(YAt.S),4),59),KB(Utn(XQ(YAt.S),5),59),KB(Utn(XQ(YAt.S),6),59),KB(Utn(XQ(YAt.S),7),59),KB(Utn(XQ(YAt.S),8),59),KB(Utn(XQ(YAt.S),9),59),KB(Utn(XQ(YAt.S),10),59),KB(Utn(XQ(YAt.S),11),59),KB(Utn(XQ(YAt.S),12),59),KB(Utn(XQ(YAt.S),13),59),KB(Utn(XQ(YAt.S),14),59),b$t=YAt.T,KB(Utn(WQ(YAt.T),0),18),KB(Utn(WQ(YAt.T),2),18),w$t=KB(Utn(WQ(YAt.T),3),18),KB(Utn(WQ(YAt.T),4),18),KB(Utn(XQ(YAt.T),0),59),KB(Utn(XQ(YAt.T),1),59),KB(Utn(WQ(YAt.T),1),18),d$t=YAt.U,KB(Utn(WQ(YAt.U),0),34),KB(Utn(WQ(YAt.U),1),34),KB(Utn(WQ(YAt.U),2),18),KB(Utn(WQ(YAt.U),3),18),KB(Utn(WQ(YAt.U),4),18),KB(Utn(WQ(YAt.U),5),18),KB(Utn(XQ(YAt.U),0),59),g$t=YAt.V,KB(Utn(WQ(YAt.V),0),18),p$t=YAt.W,KB(Utn(WQ(YAt.W),0),34),KB(Utn(WQ(YAt.W),1),34),KB(Utn(WQ(YAt.W),2),34),KB(Utn(WQ(YAt.W),3),18),KB(Utn(WQ(YAt.W),4),18),KB(Utn(WQ(YAt.W),5),18),m$t=YAt.bb,KB(Utn(WQ(YAt.bb),0),34),KB(Utn(WQ(YAt.bb),1),34),KB(Utn(WQ(YAt.bb),2),34),KB(Utn(WQ(YAt.bb),3),34),KB(Utn(WQ(YAt.bb),4),34),KB(Utn(WQ(YAt.bb),5),34),KB(Utn(WQ(YAt.bb),6),34),KB(Utn(WQ(YAt.bb),7),18),KB(Utn(XQ(YAt.bb),0),59),KB(Utn(XQ(YAt.bb),1),59),y$t=YAt.eb,KB(Utn(WQ(YAt.eb),0),34),KB(Utn(WQ(YAt.eb),1),34),KB(Utn(WQ(YAt.eb),2),34),KB(Utn(WQ(YAt.eb),3),34),KB(Utn(WQ(YAt.eb),4),34),KB(Utn(WQ(YAt.eb),5),34),KB(Utn(WQ(YAt.eb),6),18),KB(Utn(WQ(YAt.eb),7),18),v$t=YAt.ab,KB(Utn(WQ(YAt.ab),0),34),KB(Utn(WQ(YAt.ab),1),34),o$t=YAt.H,KB(Utn(WQ(YAt.H),0),18),KB(Utn(WQ(YAt.H),1),18),KB(Utn(WQ(YAt.H),2),18),KB(Utn(WQ(YAt.H),3),18),KB(Utn(WQ(YAt.H),4),18),KB(Utn(WQ(YAt.H),5),18),KB(Utn(XQ(YAt.H),0),59),k$t=YAt.db,KB(Utn(WQ(YAt.db),0),18),s$t=YAt.M}function dWn(n){var t;n.O||(n.O=!0,$rn(n,"type"),Lrn(n,"ecore.xml.type"),Nrn(n,T7n),t=KB(O$n((UM(),HAt),T7n),1945),s9(mJ(n.fb),n.b),q0(n.b,fLt,"AnyType",!1,!1,!0),ccn(KB(Utn(WQ(n.b),0),34),n.wb.D,D9n,null,0,-1,fLt,!1,!1,!0,!1,!1,!1),ccn(KB(Utn(WQ(n.b),1),34),n.wb.D,"any",null,0,-1,fLt,!0,!0,!0,!1,!1,!0),ccn(KB(Utn(WQ(n.b),2),34),n.wb.D,"anyAttribute",null,0,-1,fLt,!1,!1,!0,!1,!1,!1),q0(n.bb,HLt,I7n,!1,!1,!0),ccn(KB(Utn(WQ(n.bb),0),34),n.gb,"data",null,0,1,HLt,!1,!1,!0,!1,!0,!1),ccn(KB(Utn(WQ(n.bb),1),34),n.gb,V6n,null,1,1,HLt,!1,!1,!0,!1,!0,!1),q0(n.fb,qLt,O7n,!1,!1,!0),ccn(KB(Utn(WQ(n.fb),0),34),t.gb,"rawValue",null,0,1,qLt,!0,!0,!0,!1,!0,!0),ccn(KB(Utn(WQ(n.fb),1),34),t.a,k6n,null,0,1,qLt,!0,!0,!0,!1,!0,!0),Eyn(KB(Utn(WQ(n.fb),2),18),n.wb.q,null,"instanceType",1,1,qLt,!1,!1,!0,!1,!1,!1,!1),q0(n.qb,GLt,A7n,!1,!1,!0),ccn(KB(Utn(WQ(n.qb),0),34),n.wb.D,D9n,null,0,-1,null,!1,!1,!0,!1,!1,!1),Eyn(KB(Utn(WQ(n.qb),1),18),n.wb.ab,null,"xMLNSPrefixMap",0,-1,null,!0,!1,!0,!0,!1,!1,!1),Eyn(KB(Utn(WQ(n.qb),2),18),n.wb.ab,null,"xSISchemaLocation",0,-1,null,!0,!1,!0,!0,!1,!1,!1),ccn(KB(Utn(WQ(n.qb),3),34),n.gb,"cDATA",null,0,-2,null,!0,!0,!0,!1,!1,!0),ccn(KB(Utn(WQ(n.qb),4),34),n.gb,"comment",null,0,-2,null,!0,!0,!0,!1,!1,!0),Eyn(KB(Utn(WQ(n.qb),5),18),n.bb,null,int,0,-2,null,!0,!0,!0,!0,!1,!1,!0),ccn(KB(Utn(WQ(n.qb),6),34),n.gb,C6n,null,0,-2,null,!0,!0,!0,!1,!1,!0),bV(n.a,Int,"AnySimpleType",!0),bV(n.c,Wtt,"AnyURI",!0),bV(n.d,Hk(ANt,1),"Base64Binary",!0),bV(n.e,INt,"Boolean",!0),bV(n.f,mtt,"BooleanObject",!0),bV(n.g,ANt,"Byte",!0),bV(n.i,jtt,"ByteObject",!0),bV(n.j,Wtt,"Date",!0),bV(n.k,Wtt,"DateTime",!0),bV(n.n,tet,"Decimal",!0),bV(n.o,$Nt,"Double",!0),bV(n.p,Mtt,"DoubleObject",!0),bV(n.q,Wtt,"Duration",!0),bV(n.s,xnt,"ENTITIES",!0),bV(n.r,xnt,"ENTITIESBase",!0),bV(n.t,Wtt,R7n,!0),bV(n.u,LNt,"Float",!0),bV(n.v,Stt,"FloatObject",!0),bV(n.w,Wtt,"GDay",!0),bV(n.B,Wtt,"GMonth",!0),bV(n.A,Wtt,"GMonthDay",!0),bV(n.C,Wtt,"GYear",!0),bV(n.D,Wtt,"GYearMonth",!0),bV(n.F,Hk(ANt,1),"HexBinary",!0),bV(n.G,Wtt,"ID",!0),bV(n.H,Wtt,"IDREF",!0),bV(n.J,xnt,"IDREFS",!0),bV(n.I,xnt,"IDREFSBase",!0),bV(n.K,CNt,"Int",!0),bV(n.M,aet,"Integer",!0),bV(n.L,Itt,"IntObject",!0),bV(n.P,Wtt,"Language",!0),bV(n.Q,ONt,"Long",!0),bV(n.R,xtt,"LongObject",!0),bV(n.S,Wtt,"Name",!0),bV(n.T,Wtt,_7n,!0),bV(n.U,aet,"NegativeInteger",!0),bV(n.V,Wtt,W7n,!0),bV(n.X,xnt,"NMTOKENS",!0),bV(n.W,xnt,"NMTOKENSBase",!0),bV(n.Y,aet,"NonNegativeInteger",!0),bV(n.Z,aet,"NonPositiveInteger",!0),bV(n.$,Wtt,"NormalizedString",!0),bV(n._,Wtt,"NOTATION",!0),bV(n.ab,Wtt,"PositiveInteger",!0),bV(n.cb,Wtt,"QName",!0),bV(n.db,NNt,"Short",!0),bV(n.eb,Rtt,"ShortObject",!0),bV(n.gb,Wtt,BVn,!0),bV(n.hb,Wtt,"Time",!0),bV(n.ib,Wtt,"Token",!0),bV(n.jb,NNt,"UnsignedByte",!0),bV(n.kb,Rtt,"UnsignedByteObject",!0),bV(n.lb,ONt,"UnsignedInt",!0),bV(n.mb,xtt,"UnsignedIntObject",!0),bV(n.nb,aet,"UnsignedLong",!0),bV(n.ob,CNt,"UnsignedShort",!0),bV(n.pb,Itt,"UnsignedShortObject",!0),Ahn(n,T7n),vWn(n))}function gWn(n){$M(n,new ETn(pj(bj(gj(lj(dj(wj(new du,l1n),"ELK Layered"),"Layer-based algorithm provided by the Eclipse Layout Kernel. Arranges as many edges as possible into one direction by placing nodes into subsequent layers. This implementation supports different routing styles (straight, orthogonal, splines); if orthogonal routing is selected, arbitrary port constraints are respected, thus enabling the layout of block diagrams such as actor-oriented models or circuit schematics. Furthermore, full layout of compound graphs with cross-hierarchy edges is supported when the respective option is activated on the top level."),new Cc),l1n),kG((oAn(),nAt),Mun(Hk(iAt,1),OVn,237,0,[JOt,YOt,QOt,ZOt,WOt,XOt]))))),c2(n,l1n,A2n,ppn(dpt)),c2(n,l1n,$2n,ppn(gpt)),c2(n,l1n,zYn,ppn(ppt)),c2(n,l1n,L2n,ppn(vpt)),c2(n,l1n,pZn,ppn(ypt)),c2(n,l1n,N2n,ppn(kpt)),c2(n,l1n,x2n,ppn(Tpt)),c2(n,l1n,D2n,ppn(Spt)),c2(n,l1n,R2n,ppn(Ppt)),c2(n,l1n,_2n,ppn(Mpt)),c2(n,l1n,gZn,ppn(Cpt)),c2(n,l1n,K2n,ppn(Opt)),c2(n,l1n,F2n,ppn($pt)),c2(n,l1n,B2n,ppn(Ept)),c2(n,l1n,A0n,ppn(wpt)),c2(n,l1n,L0n,ppn(mpt)),c2(n,l1n,$0n,ppn(jpt)),c2(n,l1n,N0n,ppn(Ipt)),c2(n,l1n,dZn,tln(0)),c2(n,l1n,x0n,ppn(spt)),c2(n,l1n,D0n,ppn(hpt)),c2(n,l1n,R0n,ppn(fpt)),c2(n,l1n,G0n,ppn(qpt)),c2(n,l1n,z0n,ppn(xpt)),c2(n,l1n,U0n,ppn(Dpt)),c2(n,l1n,X0n,ppn(Kpt)),c2(n,l1n,W0n,ppn(Rpt)),c2(n,l1n,V0n,ppn(_pt)),c2(n,l1n,Q0n,ppn(zpt)),c2(n,l1n,J0n,ppn(Gpt)),c2(n,l1n,Y0n,ppn(Bpt)),c2(n,l1n,Z0n,ppn(Fpt)),c2(n,l1n,n2n,ppn(Hpt)),c2(n,l1n,T0n,ppn(xgt)),c2(n,l1n,M0n,ppn(Dgt)),c2(n,l1n,C0n,ppn(egt)),c2(n,l1n,I0n,ppn(igt)),c2(n,l1n,WYn,Ggt),c2(n,l1n,v2n,Ydt),c2(n,l1n,H2n,0),c2(n,l1n,vZn,tln(1)),c2(n,l1n,XYn,bZn),c2(n,l1n,q2n,ppn(Hgt)),c2(n,l1n,kZn,ppn(npt)),c2(n,l1n,G2n,ppn(cpt)),c2(n,l1n,z2n,ppn(qdt)),c2(n,l1n,U2n,ppn(mdt)),c2(n,l1n,b2n,ppn(ugt)),c2(n,l1n,mZn,(oN(),!0)),c2(n,l1n,X2n,ppn(lgt)),c2(n,l1n,W2n,ppn(bgt)),c2(n,l1n,MZn,ppn(_gt)),c2(n,l1n,TZn,ppn(Bgt)),c2(n,l1n,V2n,ppn(Kgt)),c2(n,l1n,Q2n,Udt),c2(n,l1n,SZn,ppn(Ogt)),c2(n,l1n,J2n,ppn(Igt)),c2(n,l1n,PZn,ppn(ipt)),c2(n,l1n,Y2n,ppn(ept)),c2(n,l1n,Z2n,ppn(rpt)),c2(n,l1n,n3n,Xgt),c2(n,l1n,t3n,ppn(Vgt)),c2(n,l1n,e3n,ppn(Qgt)),c2(n,l1n,i3n,ppn(Jgt)),c2(n,l1n,r3n,ppn(Wgt)),c2(n,l1n,Y1n,ppn(Npt)),c2(n,l1n,t0n,ppn(Mgt)),c2(n,l1n,u0n,ppn(Tgt)),c2(n,l1n,J1n,ppn(Lpt)),c2(n,l1n,e0n,ppn(mgt)),c2(n,l1n,n0n,ppn(Hdt)),c2(n,l1n,h0n,ppn(Bdt)),c2(n,l1n,f0n,ppn(Ldt)),c2(n,l1n,g0n,ppn(Ndt)),c2(n,l1n,p0n,ppn(Ddt)),c2(n,l1n,v0n,ppn(xdt)),c2(n,l1n,b0n,ppn(Fdt)),c2(n,l1n,X1n,ppn(Pgt)),c2(n,l1n,W1n,ppn(Cgt)),c2(n,l1n,U1n,ppn(dgt)),c2(n,l1n,m0n,ppn(Rgt)),c2(n,l1n,j0n,ppn($gt)),c2(n,l1n,z1n,ppn(cgt)),c2(n,l1n,E0n,ppn(Ngt)),c2(n,l1n,S0n,ppn(ngt)),c2(n,l1n,P0n,ppn(tgt)),c2(n,l1n,c3n,ppn($dt)),c2(n,l1n,k0n,ppn(Agt)),c2(n,l1n,K0n,ppn(Mdt)),c2(n,l1n,F0n,ppn(Tdt)),c2(n,l1n,_0n,ppn(Edt)),c2(n,l1n,B0n,ppn(sgt)),c2(n,l1n,H0n,ppn(ogt)),c2(n,l1n,q0n,ppn(hgt)),c2(n,l1n,KZn,ppn(Fgt)),c2(n,l1n,a3n,ppn(ggt)),c2(n,l1n,UYn,ppn(rgt)),c2(n,l1n,u3n,ppn(Vdt)),c2(n,l1n,jZn,ppn(Wdt)),c2(n,l1n,l0n,ppn(Rdt)),c2(n,l1n,o3n,ppn(tpt)),c2(n,l1n,s3n,ppn(jdt)),c2(n,l1n,h3n,ppn(fgt)),c2(n,l1n,f3n,ppn(Ygt)),c2(n,l1n,l3n,ppn(zgt)),c2(n,l1n,b3n,ppn(Ugt)),c2(n,l1n,c0n,ppn(kgt)),c2(n,l1n,a0n,ppn(jgt)),c2(n,l1n,w3n,ppn(upt)),c2(n,l1n,V1n,ppn(ydt)),c2(n,l1n,o0n,ppn(Egt)),c2(n,l1n,t2n,ppn(Qdt)),c2(n,l1n,e2n,ppn(Xdt)),c2(n,l1n,d3n,ppn(Sgt)),c2(n,l1n,s0n,ppn(pgt)),c2(n,l1n,y0n,ppn(Lgt)),c2(n,l1n,g3n,ppn(Apt)),c2(n,l1n,G1n,ppn(zdt)),c2(n,l1n,Q1n,ppn(apt)),c2(n,l1n,O0n,ppn(Zdt)),c2(n,l1n,i0n,ppn(vgt)),c2(n,l1n,w0n,ppn(_dt)),c2(n,l1n,p3n,ppn(wgt)),c2(n,l1n,r0n,ppn(ygt)),c2(n,l1n,d0n,ppn(Kdt)),c2(n,l1n,i2n,ppn(Adt)),c2(n,l1n,a2n,ppn(Idt)),c2(n,l1n,u2n,ppn(Pdt)),c2(n,l1n,o2n,ppn(Cdt)),c2(n,l1n,r2n,ppn(Odt)),c2(n,l1n,c2n,ppn(Sdt)),c2(n,l1n,Z1n,ppn(agt))}function pWn(n,t){var e;return JLt||(JLt=new Lp,YLt=new Lp,lWn(),lWn(),vdn(e=new E0(4),"\t\n\r\r "),pZ(JLt,snt,e),pZ(YLt,snt,OFn(e)),vdn(e=new E0(4),lnt),pZ(JLt,unt,e),pZ(YLt,unt,OFn(e)),vdn(e=new E0(4),lnt),pZ(JLt,unt,e),pZ(YLt,unt,OFn(e)),vdn(e=new E0(4),bnt),uHn(e,KB(TY(JLt,unt),117)),pZ(JLt,ont,e),pZ(YLt,ont,OFn(e)),vdn(e=new E0(4),"-.0:AZ__az··ÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁːˑ̀͠͡ͅΆΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁ҃҆ҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆֹֻֽֿֿׁׂ֑֣֡ׄׄאתװײءغـْ٠٩ٰڷںھۀێېۓە۪ۭۨ۰۹ँःअह़्॑॔क़ॣ०९ঁঃঅঌএঐওনপরললশহ়়াৄেৈো্ৗৗড়ঢ়য়ৣ০ৱਂਂਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹ਼਼ਾੂੇੈੋ੍ਖ਼ੜਫ਼ਫ਼੦ੴઁઃઅઋઍઍએઑઓનપરલળવહ઼ૅેૉો્ૠૠ૦૯ଁଃଅଌଏଐଓନପରଲଳଶହ଼ୃେୈୋ୍ୖୗଡ଼ଢ଼ୟୡ୦୯ஂஃஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹாூெைொ்ௗௗ௧௯ఁఃఅఌఎఐఒనపళవహాౄెైొ్ౕౖౠౡ౦౯ಂಃಅಌಎಐಒನಪಳವಹಾೄೆೈೊ್ೕೖೞೞೠೡ೦೯ംഃഅഌഎഐഒനപഹാൃെൈൊ്ൗൗൠൡ൦൯กฮะฺเ๎๐๙ກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະູົຽເໄໆໆ່ໍ໐໙༘༙༠༩༹༹༵༵༷༷༾ཇཉཀྵ྄ཱ྆ྋྐྕྗྗྙྭྱྷྐྵྐྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼ⃐⃜⃡⃡ΩΩKÅ℮℮ↀↂ々々〇〇〡〯〱〵ぁゔ゙゚ゝゞァヺーヾㄅㄬ一龥가힣"),pZ(JLt,hnt,e),pZ(YLt,hnt,OFn(e)),vdn(e=new E0(4),bnt),Vxn(e,95,95),Vxn(e,58,58),pZ(JLt,fnt,e),pZ(YLt,fnt,OFn(e))),KB(TY(t?JLt:YLt,n),136)}function vWn(n){X$n(n.a,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,"anySimpleType"])),X$n(n.b,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,"anyType",_9n,D9n])),X$n(KB(Utn(WQ(n.b),0),34),R9n,Mun(Hk(Wtt,1),uVn,2,6,[_9n,p7n,Z6n,":mixed"])),X$n(KB(Utn(WQ(n.b),1),34),R9n,Mun(Hk(Wtt,1),uVn,2,6,[_9n,p7n,E7n,M7n,Z6n,":1",N7n,"lax"])),X$n(KB(Utn(WQ(n.b),2),34),R9n,Mun(Hk(Wtt,1),uVn,2,6,[_9n,d7n,E7n,M7n,Z6n,":2",N7n,"lax"])),X$n(n.c,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,"anyURI",j7n,v7n])),X$n(n.d,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,"base64Binary",j7n,v7n])),X$n(n.e,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,OWn,j7n,v7n])),X$n(n.f,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,"boolean:Object",Q9n,OWn])),X$n(n.g,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,T9n])),X$n(n.i,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,"byte:Object",Q9n,T9n])),X$n(n.j,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,"date",j7n,v7n])),X$n(n.k,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,"dateTime",j7n,v7n])),X$n(n.n,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,"decimal",j7n,v7n])),X$n(n.o,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,S9n,j7n,v7n])),X$n(n.p,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,"double:Object",Q9n,S9n])),X$n(n.q,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,"duration",j7n,v7n])),X$n(n.s,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,"ENTITIES",Q9n,x7n,D7n,"1"])),X$n(n.r,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,x7n,m7n,R7n])),X$n(n.t,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,R7n,Q9n,_7n])),X$n(n.u,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,P9n,j7n,v7n])),X$n(n.v,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,"float:Object",Q9n,P9n])),X$n(n.w,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,"gDay",j7n,v7n])),X$n(n.B,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,"gMonth",j7n,v7n])),X$n(n.A,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,"gMonthDay",j7n,v7n])),X$n(n.C,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,"gYear",j7n,v7n])),X$n(n.D,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,"gYearMonth",j7n,v7n])),X$n(n.F,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,"hexBinary",j7n,v7n])),X$n(n.G,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,"ID",Q9n,_7n])),X$n(n.H,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,"IDREF",Q9n,_7n])),X$n(n.J,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,"IDREFS",Q9n,K7n,D7n,"1"])),X$n(n.I,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,K7n,m7n,"IDREF"])),X$n(n.K,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,C9n])),X$n(n.M,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,F7n])),X$n(n.L,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,"int:Object",Q9n,C9n])),X$n(n.P,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,"language",Q9n,B7n,H7n,q7n])),X$n(n.Q,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,I9n])),X$n(n.R,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,"long:Object",Q9n,I9n])),X$n(n.S,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,"Name",Q9n,B7n,H7n,G7n])),X$n(n.T,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,_7n,Q9n,"Name",H7n,z7n])),X$n(n.U,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,"negativeInteger",Q9n,U7n,X7n,"-1"])),X$n(n.V,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,W7n,Q9n,B7n,H7n,"\\c+"])),X$n(n.X,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,"NMTOKENS",Q9n,V7n,D7n,"1"])),X$n(n.W,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,V7n,m7n,W7n])),X$n(n.Y,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,Q7n,Q9n,F7n,J7n,"0"])),X$n(n.Z,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,U7n,Q9n,F7n,X7n,"0"])),X$n(n.$,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,Y7n,Q9n,$Wn,j7n,"replace"])),X$n(n._,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,"NOTATION",j7n,v7n])),X$n(n.ab,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,"positiveInteger",Q9n,Q7n,J7n,"1"])),X$n(n.bb,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,"processingInstruction_._type",_9n,"empty"])),X$n(KB(Utn(WQ(n.bb),0),34),R9n,Mun(Hk(Wtt,1),uVn,2,6,[_9n,w7n,Z6n,"data"])),X$n(KB(Utn(WQ(n.bb),1),34),R9n,Mun(Hk(Wtt,1),uVn,2,6,[_9n,w7n,Z6n,V6n])),X$n(n.cb,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,"QName",j7n,v7n])),X$n(n.db,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,O9n])),X$n(n.eb,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,"short:Object",Q9n,O9n])),X$n(n.fb,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,"simpleAnyType",_9n,b7n])),X$n(KB(Utn(WQ(n.fb),0),34),R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,":3",_9n,b7n])),X$n(KB(Utn(WQ(n.fb),1),34),R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,":4",_9n,b7n])),X$n(KB(Utn(WQ(n.fb),2),18),R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,":5",_9n,b7n])),X$n(n.gb,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,$Wn,j7n,"preserve"])),X$n(n.hb,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,"time",j7n,v7n])),X$n(n.ib,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,B7n,Q9n,Y7n,j7n,v7n])),X$n(n.jb,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,Z7n,X7n,"255",J7n,"0"])),X$n(n.kb,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,"unsignedByte:Object",Q9n,Z7n])),X$n(n.lb,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,nnt,X7n,"4294967295",J7n,"0"])),X$n(n.mb,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,"unsignedInt:Object",Q9n,nnt])),X$n(n.nb,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,"unsignedLong",Q9n,Q7n,X7n,tnt,J7n,"0"])),X$n(n.ob,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,ent,X7n,"65535",J7n,"0"])),X$n(n.pb,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,"unsignedShort:Object",Q9n,ent])),X$n(n.qb,R9n,Mun(Hk(Wtt,1),uVn,2,6,[Z6n,"",_9n,D9n])),X$n(KB(Utn(WQ(n.qb),0),34),R9n,Mun(Hk(Wtt,1),uVn,2,6,[_9n,p7n,Z6n,":mixed"])),X$n(KB(Utn(WQ(n.qb),1),18),R9n,Mun(Hk(Wtt,1),uVn,2,6,[_9n,w7n,Z6n,"xmlns:prefix"])),X$n(KB(Utn(WQ(n.qb),2),18),R9n,Mun(Hk(Wtt,1),uVn,2,6,[_9n,w7n,Z6n,"xsi:schemaLocation"])),X$n(KB(Utn(WQ(n.qb),3),34),R9n,Mun(Hk(Wtt,1),uVn,2,6,[_9n,g7n,Z6n,"cDATA",y7n,k7n])),X$n(KB(Utn(WQ(n.qb),4),34),R9n,Mun(Hk(Wtt,1),uVn,2,6,[_9n,g7n,Z6n,"comment",y7n,k7n])),X$n(KB(Utn(WQ(n.qb),5),18),R9n,Mun(Hk(Wtt,1),uVn,2,6,[_9n,g7n,Z6n,int,y7n,k7n])),X$n(KB(Utn(WQ(n.qb),6),34),R9n,Mun(Hk(Wtt,1),uVn,2,6,[_9n,g7n,Z6n,C6n,y7n,k7n]))}function mWn(n){return p_("_UI_EMFDiagnostic_marker",n)?"EMF Problem":p_("_UI_CircularContainment_diagnostic",n)?"An object may not circularly contain itself":p_(l8n,n)?"Wrong character.":p_(b8n,n)?"Invalid reference number.":p_(w8n,n)?"A character is required after \\.":p_(d8n,n)?"'?' is not expected. '(?:' or '(?=' or '(?!' or '(?<' or '(?#' or '(?>'?":p_(g8n,n)?"'(?<' or '(?<!' is expected.":p_(p8n,n)?"A comment is not terminated.":p_(v8n,n)?"')' is expected.":p_(m8n,n)?"Unexpected end of the pattern in a modifier group.":p_(y8n,n)?"':' is expected.":p_(k8n,n)?"Unexpected end of the pattern in a conditional group.":p_(j8n,n)?"A back reference or an anchor or a lookahead or a look-behind is expected in a conditional pattern.":p_(E8n,n)?"There are more than three choices in a conditional group.":p_(T8n,n)?"A character in U+0040-U+005f must follow \\c.":p_(M8n,n)?"A '{' is required before a character category.":p_(S8n,n)?"A property name is not closed by '}'.":p_(P8n,n)?"Unexpected meta character.":p_(C8n,n)?"Unknown property.":p_(I8n,n)?"A POSIX character class must be closed by ':]'.":p_(O8n,n)?"Unexpected end of the pattern in a character class.":p_(A8n,n)?"Unknown name for a POSIX character class.":p_("parser.cc.4",n)?"'-' is invalid here.":p_($8n,n)?"']' is expected.":p_(L8n,n)?"'[' is invalid in a character class. Write '\\['.":p_(N8n,n)?"']' is invalid in a character class. Write '\\]'.":p_(x8n,n)?"'-' is an invalid character range. Write '\\-'.":p_(D8n,n)?"'[' is expected.":p_(R8n,n)?"')' or '-[' or '+[' or '&[' is expected.":p_(_8n,n)?"The range end code point is less than the start code point.":p_(K8n,n)?"Invalid Unicode hex notation.":p_(F8n,n)?"Overflow in a hex notation.":p_(B8n,n)?"'\\x{' must be closed by '}'.":p_(H8n,n)?"Invalid Unicode code point.":p_(q8n,n)?"An anchor must not be here.":p_(G8n,n)?"This expression is not supported in the current option setting.":p_(z8n,n)?"Invalid quantifier. A digit is expected.":p_(U8n,n)?"Invalid quantifier. Invalid quantity or a '}' is missing.":p_(X8n,n)?"Invalid quantifier. A digit or '}' is expected.":p_(W8n,n)?"Invalid quantifier. A min quantity must be <= a max quantity.":p_(V8n,n)?"Invalid quantifier. A quantity value overflow.":p_("_UI_PackageRegistry_extensionpoint",n)?"Ecore Package Registry for Generated Packages":p_("_UI_DynamicPackageRegistry_extensionpoint",n)?"Ecore Package Registry for Dynamic Packages":p_("_UI_FactoryRegistry_extensionpoint",n)?"Ecore Factory Override Registry":p_("_UI_URIExtensionParserRegistry_extensionpoint",n)?"URI Extension Parser Registry":p_("_UI_URIProtocolParserRegistry_extensionpoint",n)?"URI Protocol Parser Registry":p_("_UI_URIContentParserRegistry_extensionpoint",n)?"URI Content Parser Registry":p_("_UI_ContentHandlerRegistry_extensionpoint",n)?"Content Handler Registry":p_("_UI_URIMappingRegistry_extensionpoint",n)?"URI Converter Mapping Registry":p_("_UI_PackageRegistryImplementation_extensionpoint",n)?"Ecore Package Registry Implementation":p_("_UI_ValidationDelegateRegistry_extensionpoint",n)?"Validation Delegate Registry":p_("_UI_SettingDelegateRegistry_extensionpoint",n)?"Feature Setting Delegate Factory Registry":p_("_UI_InvocationDelegateRegistry_extensionpoint",n)?"Operation Invocation Delegate Factory Registry":p_("_UI_EClassInterfaceNotAbstract_diagnostic",n)?"A class that is an interface must also be abstract":p_("_UI_EClassNoCircularSuperTypes_diagnostic",n)?"A class may not be a super type of itself":p_("_UI_EClassNotWellFormedMapEntryNoInstanceClassName_diagnostic",n)?"A class that inherits from a map entry class must have instance class name 'java.util.Map$Entry'":p_("_UI_EReferenceOppositeOfOppositeInconsistent_diagnostic",n)?"The opposite of the opposite may not be a reference different from this one":p_("_UI_EReferenceOppositeNotFeatureOfType_diagnostic",n)?"The opposite must be a feature of the reference's type":p_("_UI_EReferenceTransientOppositeNotTransient_diagnostic",n)?"The opposite of a transient reference must be transient if it is proxy resolving":p_("_UI_EReferenceOppositeBothContainment_diagnostic",n)?"The opposite of a containment reference must not be a containment reference":p_("_UI_EReferenceConsistentUnique_diagnostic",n)?"A containment or bidirectional reference must be unique if its upper bound is different from 1":p_("_UI_ETypedElementNoType_diagnostic",n)?"The typed element must have a type":p_("_UI_EAttributeNoDataType_diagnostic",n)?"The generic attribute type must not refer to a class":p_("_UI_EReferenceNoClass_diagnostic",n)?"The generic reference type must not refer to a data type":p_("_UI_EGenericTypeNoTypeParameterAndClassifier_diagnostic",n)?"A generic type can't refer to both a type parameter and a classifier":p_("_UI_EGenericTypeNoClass_diagnostic",n)?"A generic super type must refer to a class":p_("_UI_EGenericTypeNoTypeParameterOrClassifier_diagnostic",n)?"A generic type in this context must refer to a classifier or a type parameter":p_("_UI_EGenericTypeBoundsOnlyForTypeArgument_diagnostic",n)?"A generic type may have bounds only when used as a type argument":p_("_UI_EGenericTypeNoUpperAndLowerBound_diagnostic",n)?"A generic type must not have both a lower and an upper bound":p_("_UI_EGenericTypeNoTypeParameterOrClassifierAndBound_diagnostic",n)?"A generic type with bounds must not also refer to a type parameter or classifier":p_("_UI_EGenericTypeNoArguments_diagnostic",n)?"A generic type may have arguments only if it refers to a classifier":p_("_UI_EGenericTypeOutOfScopeTypeParameter_diagnostic",n)?"A generic type may only refer to a type parameter that is in scope":n}function yWn(n){var t,e,i,r,c,a,u;n.r||(n.r=!0,$rn(n,"graph"),Lrn(n,"graph"),Nrn(n,v6n),iun(n.o,"T"),s9(mJ(n.a),n.p),s9(mJ(n.f),n.a),s9(mJ(n.n),n.f),s9(mJ(n.g),n.n),s9(mJ(n.c),n.n),s9(mJ(n.i),n.c),s9(mJ(n.j),n.c),s9(mJ(n.d),n.f),s9(mJ(n.e),n.a),q0(n.p,zrt,CYn,!0,!0,!1),u=jun(a=psn(n.p,n.p,"setProperty")),t=JV(n.o),e=new Dp,s9((!t.d&&(t.d=new OL(UAt,t,1)),t.d),e),mEn(e,i=YV(u)),Gjn(a,t,y6n),Gjn(a,t=YV(u),k6n),u=jun(a=psn(n.p,null,"getProperty")),t=JV(n.o),e=YV(u),s9((!t.d&&(t.d=new OL(UAt,t,1)),t.d),e),Gjn(a,t,y6n),(c=FTn(a,t=YV(u),null))&&c.Fi(),a=psn(n.p,n.wb.e,"hasProperty"),t=JV(n.o),e=new Dp,s9((!t.d&&(t.d=new OL(UAt,t,1)),t.d),e),Gjn(a,t,y6n),Oyn(a=psn(n.p,n.p,"copyProperties"),n.p,j6n),a=psn(n.p,null,"getAllProperties"),t=JV(n.wb.P),e=JV(n.o),s9((!t.d&&(t.d=new OL(UAt,t,1)),t.d),e),i=new Dp,s9((!e.d&&(e.d=new OL(UAt,e,1)),e.d),i),e=JV(n.wb.M),s9((!t.d&&(t.d=new OL(UAt,t,1)),t.d),e),(r=FTn(a,t,null))&&r.Fi(),q0(n.a,AOt,q5n,!0,!1,!0),Eyn(KB(Utn(WQ(n.a),0),18),n.k,null,E6n,0,-1,AOt,!1,!1,!0,!0,!1,!1,!1),q0(n.f,LOt,z5n,!0,!1,!0),Eyn(KB(Utn(WQ(n.f),0),18),n.g,KB(Utn(WQ(n.g),0),18),"labels",0,-1,LOt,!1,!1,!0,!0,!1,!1,!1),ccn(KB(Utn(WQ(n.f),1),34),n.wb._,T6n,null,0,1,LOt,!1,!1,!0,!1,!0,!1),q0(n.n,NOt,"ElkShape",!0,!1,!0),ccn(KB(Utn(WQ(n.n),0),34),n.wb.t,M6n,UQn,1,1,NOt,!1,!1,!0,!1,!0,!1),ccn(KB(Utn(WQ(n.n),1),34),n.wb.t,S6n,UQn,1,1,NOt,!1,!1,!0,!1,!0,!1),ccn(KB(Utn(WQ(n.n),2),34),n.wb.t,"x",UQn,1,1,NOt,!1,!1,!0,!1,!0,!1),ccn(KB(Utn(WQ(n.n),3),34),n.wb.t,"y",UQn,1,1,NOt,!1,!1,!0,!1,!0,!1),Oyn(a=psn(n.n,null,"setDimensions"),n.wb.t,S6n),Oyn(a,n.wb.t,M6n),Oyn(a=psn(n.n,null,"setLocation"),n.wb.t,"x"),Oyn(a,n.wb.t,"y"),q0(n.g,HOt,J5n,!1,!1,!0),Eyn(KB(Utn(WQ(n.g),0),18),n.f,KB(Utn(WQ(n.f),0),18),P6n,0,1,HOt,!1,!1,!0,!1,!1,!1,!1),ccn(KB(Utn(WQ(n.g),1),34),n.wb._,C6n,"",0,1,HOt,!1,!1,!0,!1,!0,!1),q0(n.c,xOt,U5n,!0,!1,!0),Eyn(KB(Utn(WQ(n.c),0),18),n.d,KB(Utn(WQ(n.d),1),18),"outgoingEdges",0,-1,xOt,!1,!1,!0,!1,!0,!1,!1),Eyn(KB(Utn(WQ(n.c),1),18),n.d,KB(Utn(WQ(n.d),2),18),"incomingEdges",0,-1,xOt,!1,!1,!0,!1,!0,!1,!1),q0(n.i,qOt,Y5n,!1,!1,!0),Eyn(KB(Utn(WQ(n.i),0),18),n.j,KB(Utn(WQ(n.j),0),18),"ports",0,-1,qOt,!1,!1,!0,!0,!1,!1,!1),Eyn(KB(Utn(WQ(n.i),1),18),n.i,KB(Utn(WQ(n.i),2),18),I6n,0,-1,qOt,!1,!1,!0,!0,!1,!1,!1),Eyn(KB(Utn(WQ(n.i),2),18),n.i,KB(Utn(WQ(n.i),1),18),P6n,0,1,qOt,!1,!1,!0,!1,!1,!1,!1),Eyn(KB(Utn(WQ(n.i),3),18),n.d,KB(Utn(WQ(n.d),0),18),"containedEdges",0,-1,qOt,!1,!1,!0,!0,!1,!1,!1),ccn(KB(Utn(WQ(n.i),4),34),n.wb.e,O6n,null,0,1,qOt,!0,!0,!1,!1,!0,!0),q0(n.j,GOt,Z5n,!1,!1,!0),Eyn(KB(Utn(WQ(n.j),0),18),n.i,KB(Utn(WQ(n.i),0),18),P6n,0,1,GOt,!1,!1,!0,!1,!1,!1,!1),q0(n.d,DOt,X5n,!1,!1,!0),Eyn(KB(Utn(WQ(n.d),0),18),n.i,KB(Utn(WQ(n.i),3),18),"containingNode",0,1,DOt,!1,!1,!0,!1,!1,!1,!1),Eyn(KB(Utn(WQ(n.d),1),18),n.c,KB(Utn(WQ(n.c),0),18),A6n,0,-1,DOt,!1,!1,!0,!1,!0,!1,!1),Eyn(KB(Utn(WQ(n.d),2),18),n.c,KB(Utn(WQ(n.c),1),18),$6n,0,-1,DOt,!1,!1,!0,!1,!0,!1,!1),Eyn(KB(Utn(WQ(n.d),3),18),n.e,KB(Utn(WQ(n.e),5),18),L6n,0,-1,DOt,!1,!1,!0,!0,!1,!1,!1),ccn(KB(Utn(WQ(n.d),4),34),n.wb.e,"hyperedge",null,0,1,DOt,!0,!0,!1,!1,!0,!0),ccn(KB(Utn(WQ(n.d),5),34),n.wb.e,O6n,null,0,1,DOt,!0,!0,!1,!1,!0,!0),ccn(KB(Utn(WQ(n.d),6),34),n.wb.e,"selfloop",null,0,1,DOt,!0,!0,!1,!1,!0,!0),ccn(KB(Utn(WQ(n.d),7),34),n.wb.e,"connected",null,0,1,DOt,!0,!0,!1,!1,!0,!0),q0(n.b,$Ot,G5n,!1,!1,!0),ccn(KB(Utn(WQ(n.b),0),34),n.wb.t,"x",UQn,1,1,$Ot,!1,!1,!0,!1,!0,!1),ccn(KB(Utn(WQ(n.b),1),34),n.wb.t,"y",UQn,1,1,$Ot,!1,!1,!0,!1,!0,!1),Oyn(a=psn(n.b,null,"set"),n.wb.t,"x"),Oyn(a,n.wb.t,"y"),q0(n.e,ROt,W5n,!1,!1,!0),ccn(KB(Utn(WQ(n.e),0),34),n.wb.t,"startX",null,0,1,ROt,!1,!1,!0,!1,!0,!1),ccn(KB(Utn(WQ(n.e),1),34),n.wb.t,"startY",null,0,1,ROt,!1,!1,!0,!1,!0,!1),ccn(KB(Utn(WQ(n.e),2),34),n.wb.t,"endX",null,0,1,ROt,!1,!1,!0,!1,!0,!1),ccn(KB(Utn(WQ(n.e),3),34),n.wb.t,"endY",null,0,1,ROt,!1,!1,!0,!1,!0,!1),Eyn(KB(Utn(WQ(n.e),4),18),n.b,null,N6n,0,-1,ROt,!1,!1,!0,!0,!1,!1,!1),Eyn(KB(Utn(WQ(n.e),5),18),n.d,KB(Utn(WQ(n.d),3),18),P6n,0,1,ROt,!1,!1,!0,!1,!1,!1,!1),Eyn(KB(Utn(WQ(n.e),6),18),n.c,null,x6n,0,1,ROt,!1,!1,!0,!1,!0,!1,!1),Eyn(KB(Utn(WQ(n.e),7),18),n.c,null,D6n,0,1,ROt,!1,!1,!0,!1,!0,!1,!1),Eyn(KB(Utn(WQ(n.e),8),18),n.e,KB(Utn(WQ(n.e),9),18),R6n,0,-1,ROt,!1,!1,!0,!1,!0,!1,!1),Eyn(KB(Utn(WQ(n.e),9),18),n.e,KB(Utn(WQ(n.e),8),18),_6n,0,-1,ROt,!1,!1,!0,!1,!0,!1,!1),ccn(KB(Utn(WQ(n.e),10),34),n.wb._,T6n,null,0,1,ROt,!1,!1,!0,!1,!0,!1),Oyn(a=psn(n.e,null,"setStartLocation"),n.wb.t,"x"),Oyn(a,n.wb.t,"y"),Oyn(a=psn(n.e,null,"setEndLocation"),n.wb.t,"x"),Oyn(a,n.wb.t,"y"),q0(n.k,Fnt,"ElkPropertyToValueMapEntry",!1,!1,!1),t=JV(n.o),e=new Dp,s9((!t.d&&(t.d=new OL(UAt,t,1)),t.d),e),ROn(KB(Utn(WQ(n.k),0),34),t,"key",Fnt,!1,!1,!0,!1),ccn(KB(Utn(WQ(n.k),1),34),n.s,k6n,null,0,1,Fnt,!1,!1,!0,!1,!0,!1),bV(n.o,hMt,"IProperty",!0),bV(n.s,Int,"PropertyValue",!0),Ahn(n,v6n))}function kWn(){kWn=O,(VLt=L8(ANt,g6n,25,KQn,15,1))[9]=35,VLt[10]=19,VLt[13]=19,VLt[32]=51,VLt[33]=49,VLt[34]=33,vU(VLt,35,38,49),VLt[38]=1,vU(VLt,39,45,49),vU(VLt,45,47,-71),VLt[47]=49,vU(VLt,48,58,-71),VLt[58]=61,VLt[59]=49,VLt[60]=1,VLt[61]=49,VLt[62]=33,vU(VLt,63,65,49),vU(VLt,65,91,-3),vU(VLt,91,93,33),VLt[93]=1,VLt[94]=33,VLt[95]=-3,VLt[96]=33,vU(VLt,97,123,-3),vU(VLt,123,183,33),VLt[183]=-87,vU(VLt,184,192,33),vU(VLt,192,215,-19),VLt[215]=33,vU(VLt,216,247,-19),VLt[247]=33,vU(VLt,248,306,-19),vU(VLt,306,308,33),vU(VLt,308,319,-19),vU(VLt,319,321,33),vU(VLt,321,329,-19),VLt[329]=33,vU(VLt,330,383,-19),VLt[383]=33,vU(VLt,384,452,-19),vU(VLt,452,461,33),vU(VLt,461,497,-19),vU(VLt,497,500,33),vU(VLt,500,502,-19),vU(VLt,502,506,33),vU(VLt,506,536,-19),vU(VLt,536,592,33),vU(VLt,592,681,-19),vU(VLt,681,699,33),vU(VLt,699,706,-19),vU(VLt,706,720,33),vU(VLt,720,722,-87),vU(VLt,722,768,33),vU(VLt,768,838,-87),vU(VLt,838,864,33),vU(VLt,864,866,-87),vU(VLt,866,902,33),VLt[902]=-19,VLt[903]=-87,vU(VLt,904,907,-19),VLt[907]=33,VLt[908]=-19,VLt[909]=33,vU(VLt,910,930,-19),VLt[930]=33,vU(VLt,931,975,-19),VLt[975]=33,vU(VLt,976,983,-19),vU(VLt,983,986,33),VLt[986]=-19,VLt[987]=33,VLt[988]=-19,VLt[989]=33,VLt[990]=-19,VLt[991]=33,VLt[992]=-19,VLt[993]=33,vU(VLt,994,1012,-19),vU(VLt,1012,1025,33),vU(VLt,1025,1037,-19),VLt[1037]=33,vU(VLt,1038,1104,-19),VLt[1104]=33,vU(VLt,1105,1117,-19),VLt[1117]=33,vU(VLt,1118,1154,-19),VLt[1154]=33,vU(VLt,1155,1159,-87),vU(VLt,1159,1168,33),vU(VLt,1168,1221,-19),vU(VLt,1221,1223,33),vU(VLt,1223,1225,-19),vU(VLt,1225,1227,33),vU(VLt,1227,1229,-19),vU(VLt,1229,1232,33),vU(VLt,1232,1260,-19),vU(VLt,1260,1262,33),vU(VLt,1262,1270,-19),vU(VLt,1270,1272,33),vU(VLt,1272,1274,-19),vU(VLt,1274,1329,33),vU(VLt,1329,1367,-19),vU(VLt,1367,1369,33),VLt[1369]=-19,vU(VLt,1370,1377,33),vU(VLt,1377,1415,-19),vU(VLt,1415,1425,33),vU(VLt,1425,1442,-87),VLt[1442]=33,vU(VLt,1443,1466,-87),VLt[1466]=33,vU(VLt,1467,1470,-87),VLt[1470]=33,VLt[1471]=-87,VLt[1472]=33,vU(VLt,1473,1475,-87),VLt[1475]=33,VLt[1476]=-87,vU(VLt,1477,1488,33),vU(VLt,1488,1515,-19),vU(VLt,1515,1520,33),vU(VLt,1520,1523,-19),vU(VLt,1523,1569,33),vU(VLt,1569,1595,-19),vU(VLt,1595,1600,33),VLt[1600]=-87,vU(VLt,1601,1611,-19),vU(VLt,1611,1619,-87),vU(VLt,1619,1632,33),vU(VLt,1632,1642,-87),vU(VLt,1642,1648,33),VLt[1648]=-87,vU(VLt,1649,1720,-19),vU(VLt,1720,1722,33),vU(VLt,1722,1727,-19),VLt[1727]=33,vU(VLt,1728,1743,-19),VLt[1743]=33,vU(VLt,1744,1748,-19),VLt[1748]=33,VLt[1749]=-19,vU(VLt,1750,1765,-87),vU(VLt,1765,1767,-19),vU(VLt,1767,1769,-87),VLt[1769]=33,vU(VLt,1770,1774,-87),vU(VLt,1774,1776,33),vU(VLt,1776,1786,-87),vU(VLt,1786,2305,33),vU(VLt,2305,2308,-87),VLt[2308]=33,vU(VLt,2309,2362,-19),vU(VLt,2362,2364,33),VLt[2364]=-87,VLt[2365]=-19,vU(VLt,2366,2382,-87),vU(VLt,2382,2385,33),vU(VLt,2385,2389,-87),vU(VLt,2389,2392,33),vU(VLt,2392,2402,-19),vU(VLt,2402,2404,-87),vU(VLt,2404,2406,33),vU(VLt,2406,2416,-87),vU(VLt,2416,2433,33),vU(VLt,2433,2436,-87),VLt[2436]=33,vU(VLt,2437,2445,-19),vU(VLt,2445,2447,33),vU(VLt,2447,2449,-19),vU(VLt,2449,2451,33),vU(VLt,2451,2473,-19),VLt[2473]=33,vU(VLt,2474,2481,-19),VLt[2481]=33,VLt[2482]=-19,vU(VLt,2483,2486,33),vU(VLt,2486,2490,-19),vU(VLt,2490,2492,33),VLt[2492]=-87,VLt[2493]=33,vU(VLt,2494,2501,-87),vU(VLt,2501,2503,33),vU(VLt,2503,2505,-87),vU(VLt,2505,2507,33),vU(VLt,2507,2510,-87),vU(VLt,2510,2519,33),VLt[2519]=-87,vU(VLt,2520,2524,33),vU(VLt,2524,2526,-19),VLt[2526]=33,vU(VLt,2527,2530,-19),vU(VLt,2530,2532,-87),vU(VLt,2532,2534,33),vU(VLt,2534,2544,-87),vU(VLt,2544,2546,-19),vU(VLt,2546,2562,33),VLt[2562]=-87,vU(VLt,2563,2565,33),vU(VLt,2565,2571,-19),vU(VLt,2571,2575,33),vU(VLt,2575,2577,-19),vU(VLt,2577,2579,33),vU(VLt,2579,2601,-19),VLt[2601]=33,vU(VLt,2602,2609,-19),VLt[2609]=33,vU(VLt,2610,2612,-19),VLt[2612]=33,vU(VLt,2613,2615,-19),VLt[2615]=33,vU(VLt,2616,2618,-19),vU(VLt,2618,2620,33),VLt[2620]=-87,VLt[2621]=33,vU(VLt,2622,2627,-87),vU(VLt,2627,2631,33),vU(VLt,2631,2633,-87),vU(VLt,2633,2635,33),vU(VLt,2635,2638,-87),vU(VLt,2638,2649,33),vU(VLt,2649,2653,-19),VLt[2653]=33,VLt[2654]=-19,vU(VLt,2655,2662,33),vU(VLt,2662,2674,-87),vU(VLt,2674,2677,-19),vU(VLt,2677,2689,33),vU(VLt,2689,2692,-87),VLt[2692]=33,vU(VLt,2693,2700,-19),VLt[2700]=33,VLt[2701]=-19,VLt[2702]=33,vU(VLt,2703,2706,-19),VLt[2706]=33,vU(VLt,2707,2729,-19),VLt[2729]=33,vU(VLt,2730,2737,-19),VLt[2737]=33,vU(VLt,2738,2740,-19),VLt[2740]=33,vU(VLt,2741,2746,-19),vU(VLt,2746,2748,33),VLt[2748]=-87,VLt[2749]=-19,vU(VLt,2750,2758,-87),VLt[2758]=33,vU(VLt,2759,2762,-87),VLt[2762]=33,vU(VLt,2763,2766,-87),vU(VLt,2766,2784,33),VLt[2784]=-19,vU(VLt,2785,2790,33),vU(VLt,2790,2800,-87),vU(VLt,2800,2817,33),vU(VLt,2817,2820,-87),VLt[2820]=33,vU(VLt,2821,2829,-19),vU(VLt,2829,2831,33),vU(VLt,2831,2833,-19),vU(VLt,2833,2835,33),vU(VLt,2835,2857,-19),VLt[2857]=33,vU(VLt,2858,2865,-19),VLt[2865]=33,vU(VLt,2866,2868,-19),vU(VLt,2868,2870,33),vU(VLt,2870,2874,-19),vU(VLt,2874,2876,33),VLt[2876]=-87,VLt[2877]=-19,vU(VLt,2878,2884,-87),vU(VLt,2884,2887,33),vU(VLt,2887,2889,-87),vU(VLt,2889,2891,33),vU(VLt,2891,2894,-87),vU(VLt,2894,2902,33),vU(VLt,2902,2904,-87),vU(VLt,2904,2908,33),vU(VLt,2908,2910,-19),VLt[2910]=33,vU(VLt,2911,2914,-19),vU(VLt,2914,2918,33),vU(VLt,2918,2928,-87),vU(VLt,2928,2946,33),vU(VLt,2946,2948,-87),VLt[2948]=33,vU(VLt,2949,2955,-19),vU(VLt,2955,2958,33),vU(VLt,2958,2961,-19),VLt[2961]=33,vU(VLt,2962,2966,-19),vU(VLt,2966,2969,33),vU(VLt,2969,2971,-19),VLt[2971]=33,VLt[2972]=-19,VLt[2973]=33,vU(VLt,2974,2976,-19),vU(VLt,2976,2979,33),vU(VLt,2979,2981,-19),vU(VLt,2981,2984,33),vU(VLt,2984,2987,-19),vU(VLt,2987,2990,33),vU(VLt,2990,2998,-19),VLt[2998]=33,vU(VLt,2999,3002,-19),vU(VLt,3002,3006,33),vU(VLt,3006,3011,-87),vU(VLt,3011,3014,33),vU(VLt,3014,3017,-87),VLt[3017]=33,vU(VLt,3018,3022,-87),vU(VLt,3022,3031,33),VLt[3031]=-87,vU(VLt,3032,3047,33),vU(VLt,3047,3056,-87),vU(VLt,3056,3073,33),vU(VLt,3073,3076,-87),VLt[3076]=33,vU(VLt,3077,3085,-19),VLt[3085]=33,vU(VLt,3086,3089,-19),VLt[3089]=33,vU(VLt,3090,3113,-19),VLt[3113]=33,vU(VLt,3114,3124,-19),VLt[3124]=33,vU(VLt,3125,3130,-19),vU(VLt,3130,3134,33),vU(VLt,3134,3141,-87),VLt[3141]=33,vU(VLt,3142,3145,-87),VLt[3145]=33,vU(VLt,3146,3150,-87),vU(VLt,3150,3157,33),vU(VLt,3157,3159,-87),vU(VLt,3159,3168,33),vU(VLt,3168,3170,-19),vU(VLt,3170,3174,33),vU(VLt,3174,3184,-87),vU(VLt,3184,3202,33),vU(VLt,3202,3204,-87),VLt[3204]=33,vU(VLt,3205,3213,-19),VLt[3213]=33,vU(VLt,3214,3217,-19),VLt[3217]=33,vU(VLt,3218,3241,-19),VLt[3241]=33,vU(VLt,3242,3252,-19),VLt[3252]=33,vU(VLt,3253,3258,-19),vU(VLt,3258,3262,33),vU(VLt,3262,3269,-87),VLt[3269]=33,vU(VLt,3270,3273,-87),VLt[3273]=33,vU(VLt,3274,3278,-87),vU(VLt,3278,3285,33),vU(VLt,3285,3287,-87),vU(VLt,3287,3294,33),VLt[3294]=-19,VLt[3295]=33,vU(VLt,3296,3298,-19),vU(VLt,3298,3302,33),vU(VLt,3302,3312,-87),vU(VLt,3312,3330,33),vU(VLt,3330,3332,-87),VLt[3332]=33,vU(VLt,3333,3341,-19),VLt[3341]=33,vU(VLt,3342,3345,-19),VLt[3345]=33,vU(VLt,3346,3369,-19),VLt[3369]=33,vU(VLt,3370,3386,-19),vU(VLt,3386,3390,33),vU(VLt,3390,3396,-87),vU(VLt,3396,3398,33),vU(VLt,3398,3401,-87),VLt[3401]=33,vU(VLt,3402,3406,-87),vU(VLt,3406,3415,33),VLt[3415]=-87,vU(VLt,3416,3424,33),vU(VLt,3424,3426,-19),vU(VLt,3426,3430,33),vU(VLt,3430,3440,-87),vU(VLt,3440,3585,33),vU(VLt,3585,3631,-19),VLt[3631]=33,VLt[3632]=-19,VLt[3633]=-87,vU(VLt,3634,3636,-19),vU(VLt,3636,3643,-87),vU(VLt,3643,3648,33),vU(VLt,3648,3654,-19),vU(VLt,3654,3663,-87),VLt[3663]=33,vU(VLt,3664,3674,-87),vU(VLt,3674,3713,33),vU(VLt,3713,3715,-19),VLt[3715]=33,VLt[3716]=-19,vU(VLt,3717,3719,33),vU(VLt,3719,3721,-19),VLt[3721]=33,VLt[3722]=-19,vU(VLt,3723,3725,33),VLt[3725]=-19,vU(VLt,3726,3732,33),vU(VLt,3732,3736,-19),VLt[3736]=33,vU(VLt,3737,3744,-19),VLt[3744]=33,vU(VLt,3745,3748,-19),VLt[3748]=33,VLt[3749]=-19,VLt[3750]=33,VLt[3751]=-19,vU(VLt,3752,3754,33),vU(VLt,3754,3756,-19),VLt[3756]=33,vU(VLt,3757,3759,-19),VLt[3759]=33,VLt[3760]=-19,VLt[3761]=-87,vU(VLt,3762,3764,-19),vU(VLt,3764,3770,-87),VLt[3770]=33,vU(VLt,3771,3773,-87),VLt[3773]=-19,vU(VLt,3774,3776,33),vU(VLt,3776,3781,-19),VLt[3781]=33,VLt[3782]=-87,VLt[3783]=33,vU(VLt,3784,3790,-87),vU(VLt,3790,3792,33),vU(VLt,3792,3802,-87),vU(VLt,3802,3864,33),vU(VLt,3864,3866,-87),vU(VLt,3866,3872,33),vU(VLt,3872,3882,-87),vU(VLt,3882,3893,33),VLt[3893]=-87,VLt[3894]=33,VLt[3895]=-87,VLt[3896]=33,VLt[3897]=-87,vU(VLt,3898,3902,33),vU(VLt,3902,3904,-87),vU(VLt,3904,3912,-19),VLt[3912]=33,vU(VLt,3913,3946,-19),vU(VLt,3946,3953,33),vU(VLt,3953,3973,-87),VLt[3973]=33,vU(VLt,3974,3980,-87),vU(VLt,3980,3984,33),vU(VLt,3984,3990,-87),VLt[3990]=33,VLt[3991]=-87,VLt[3992]=33,vU(VLt,3993,4014,-87),vU(VLt,4014,4017,33),vU(VLt,4017,4024,-87),VLt[4024]=33,VLt[4025]=-87,vU(VLt,4026,4256,33),vU(VLt,4256,4294,-19),vU(VLt,4294,4304,33),vU(VLt,4304,4343,-19),vU(VLt,4343,4352,33),VLt[4352]=-19,VLt[4353]=33,vU(VLt,4354,4356,-19),VLt[4356]=33,vU(VLt,4357,4360,-19),VLt[4360]=33,VLt[4361]=-19,VLt[4362]=33,vU(VLt,4363,4365,-19),VLt[4365]=33,vU(VLt,4366,4371,-19),vU(VLt,4371,4412,33),VLt[4412]=-19,VLt[4413]=33,VLt[4414]=-19,VLt[4415]=33,VLt[4416]=-19,vU(VLt,4417,4428,33),VLt[4428]=-19,VLt[4429]=33,VLt[4430]=-19,VLt[4431]=33,VLt[4432]=-19,vU(VLt,4433,4436,33),vU(VLt,4436,4438,-19),vU(VLt,4438,4441,33),VLt[4441]=-19,vU(VLt,4442,4447,33),vU(VLt,4447,4450,-19),VLt[4450]=33,VLt[4451]=-19,VLt[4452]=33,VLt[4453]=-19,VLt[4454]=33,VLt[4455]=-19,VLt[4456]=33,VLt[4457]=-19,vU(VLt,4458,4461,33),vU(VLt,4461,4463,-19),vU(VLt,4463,4466,33),vU(VLt,4466,4468,-19),VLt[4468]=33,VLt[4469]=-19,vU(VLt,4470,4510,33),VLt[4510]=-19,vU(VLt,4511,4520,33),VLt[4520]=-19,vU(VLt,4521,4523,33),VLt[4523]=-19,vU(VLt,4524,4526,33),vU(VLt,4526,4528,-19),vU(VLt,4528,4535,33),vU(VLt,4535,4537,-19),VLt[4537]=33,VLt[4538]=-19,VLt[4539]=33,vU(VLt,4540,4547,-19),vU(VLt,4547,4587,33),VLt[4587]=-19,vU(VLt,4588,4592,33),VLt[4592]=-19,vU(VLt,4593,4601,33),VLt[4601]=-19,vU(VLt,4602,7680,33),vU(VLt,7680,7836,-19),vU(VLt,7836,7840,33),vU(VLt,7840,7930,-19),vU(VLt,7930,7936,33),vU(VLt,7936,7958,-19),vU(VLt,7958,7960,33),vU(VLt,7960,7966,-19),vU(VLt,7966,7968,33),vU(VLt,7968,8006,-19),vU(VLt,8006,8008,33),vU(VLt,8008,8014,-19),vU(VLt,8014,8016,33),vU(VLt,8016,8024,-19),VLt[8024]=33,VLt[8025]=-19,VLt[8026]=33,VLt[8027]=-19,VLt[8028]=33,VLt[8029]=-19,VLt[8030]=33,vU(VLt,8031,8062,-19),vU(VLt,8062,8064,33),vU(VLt,8064,8117,-19),VLt[8117]=33,vU(VLt,8118,8125,-19),VLt[8125]=33,VLt[8126]=-19,vU(VLt,8127,8130,33),vU(VLt,8130,8133,-19),VLt[8133]=33,vU(VLt,8134,8141,-19),vU(VLt,8141,8144,33),vU(VLt,8144,8148,-19),vU(VLt,8148,8150,33),vU(VLt,8150,8156,-19),vU(VLt,8156,8160,33),vU(VLt,8160,8173,-19),vU(VLt,8173,8178,33),vU(VLt,8178,8181,-19),VLt[8181]=33,vU(VLt,8182,8189,-19),vU(VLt,8189,8400,33),vU(VLt,8400,8413,-87),vU(VLt,8413,8417,33),VLt[8417]=-87,vU(VLt,8418,8486,33),VLt[8486]=-19,vU(VLt,8487,8490,33),vU(VLt,8490,8492,-19),vU(VLt,8492,8494,33),VLt[8494]=-19,vU(VLt,8495,8576,33),vU(VLt,8576,8579,-19),vU(VLt,8579,12293,33),VLt[12293]=-87,VLt[12294]=33,VLt[12295]=-19,vU(VLt,12296,12321,33),vU(VLt,12321,12330,-19),vU(VLt,12330,12336,-87),VLt[12336]=33,vU(VLt,12337,12342,-87),vU(VLt,12342,12353,33),vU(VLt,12353,12437,-19),vU(VLt,12437,12441,33),vU(VLt,12441,12443,-87),vU(VLt,12443,12445,33),vU(VLt,12445,12447,-87),vU(VLt,12447,12449,33),vU(VLt,12449,12539,-19),VLt[12539]=33,vU(VLt,12540,12543,-87),vU(VLt,12543,12549,33),vU(VLt,12549,12589,-19),vU(VLt,12589,19968,33),vU(VLt,19968,40870,-19),vU(VLt,40870,44032,33),vU(VLt,44032,55204,-19),vU(VLt,55204,FQn,33),vU(VLt,57344,65534,33)}function jWn(n){var t,e,i,r,c,a,u;n.hb||(n.hb=!0,$rn(n,"ecore"),Lrn(n,"ecore"),Nrn(n,X9n),iun(n.fb,"E"),iun(n.L,"T"),iun(n.P,"K"),iun(n.P,"V"),iun(n.cb,"E"),s9(mJ(n.b),n.bb),s9(mJ(n.a),n.Q),s9(mJ(n.o),n.p),s9(mJ(n.p),n.R),s9(mJ(n.q),n.p),s9(mJ(n.v),n.q),s9(mJ(n.w),n.R),s9(mJ(n.B),n.Q),s9(mJ(n.R),n.Q),s9(mJ(n.T),n.eb),s9(mJ(n.U),n.R),s9(mJ(n.V),n.eb),s9(mJ(n.W),n.bb),s9(mJ(n.bb),n.eb),s9(mJ(n.eb),n.R),s9(mJ(n.db),n.R),q0(n.b,_At,h9n,!1,!1,!0),ccn(KB(Utn(WQ(n.b),0),34),n.e,"iD",null,0,1,_At,!1,!1,!0,!1,!0,!1),Eyn(KB(Utn(WQ(n.b),1),18),n.q,null,"eAttributeType",1,1,_At,!0,!0,!1,!1,!0,!1,!0),q0(n.a,xAt,u9n,!1,!1,!0),ccn(KB(Utn(WQ(n.a),0),34),n._,j6n,null,0,1,xAt,!1,!1,!0,!1,!0,!1),Eyn(KB(Utn(WQ(n.a),1),18),n.ab,null,"details",0,-1,xAt,!1,!1,!0,!0,!1,!1,!1),Eyn(KB(Utn(WQ(n.a),2),18),n.Q,KB(Utn(WQ(n.Q),0),18),"eModelElement",0,1,xAt,!0,!1,!0,!1,!1,!1,!1),Eyn(KB(Utn(WQ(n.a),3),18),n.S,null,"contents",0,-1,xAt,!1,!1,!0,!0,!1,!1,!1),Eyn(KB(Utn(WQ(n.a),4),18),n.S,null,"references",0,-1,xAt,!1,!1,!0,!1,!0,!1,!1),q0(n.o,FAt,"EClass",!1,!1,!0),ccn(KB(Utn(WQ(n.o),0),34),n.e,"abstract",null,0,1,FAt,!1,!1,!0,!1,!0,!1),ccn(KB(Utn(WQ(n.o),1),34),n.e,"interface",null,0,1,FAt,!1,!1,!0,!1,!0,!1),Eyn(KB(Utn(WQ(n.o),2),18),n.o,null,"eSuperTypes",0,-1,FAt,!1,!1,!0,!1,!0,!0,!1),Eyn(KB(Utn(WQ(n.o),3),18),n.T,KB(Utn(WQ(n.T),0),18),"eOperations",0,-1,FAt,!1,!1,!0,!0,!1,!1,!1),Eyn(KB(Utn(WQ(n.o),4),18),n.b,null,"eAllAttributes",0,-1,FAt,!0,!0,!1,!1,!0,!1,!0),Eyn(KB(Utn(WQ(n.o),5),18),n.W,null,"eAllReferences",0,-1,FAt,!0,!0,!1,!1,!0,!1,!0),Eyn(KB(Utn(WQ(n.o),6),18),n.W,null,"eReferences",0,-1,FAt,!0,!0,!1,!1,!0,!1,!0),Eyn(KB(Utn(WQ(n.o),7),18),n.b,null,"eAttributes",0,-1,FAt,!0,!0,!1,!1,!0,!1,!0),Eyn(KB(Utn(WQ(n.o),8),18),n.W,null,"eAllContainments",0,-1,FAt,!0,!0,!1,!1,!0,!1,!0),Eyn(KB(Utn(WQ(n.o),9),18),n.T,null,"eAllOperations",0,-1,FAt,!0,!0,!1,!1,!0,!1,!0),Eyn(KB(Utn(WQ(n.o),10),18),n.bb,null,"eAllStructuralFeatures",0,-1,FAt,!0,!0,!1,!1,!0,!1,!0),Eyn(KB(Utn(WQ(n.o),11),18),n.o,null,"eAllSuperTypes",0,-1,FAt,!0,!0,!1,!1,!0,!1,!0),Eyn(KB(Utn(WQ(n.o),12),18),n.b,null,"eIDAttribute",0,1,FAt,!0,!0,!1,!1,!1,!1,!0),Eyn(KB(Utn(WQ(n.o),13),18),n.bb,KB(Utn(WQ(n.bb),7),18),"eStructuralFeatures",0,-1,FAt,!1,!1,!0,!0,!1,!1,!1),Eyn(KB(Utn(WQ(n.o),14),18),n.H,null,"eGenericSuperTypes",0,-1,FAt,!1,!1,!0,!0,!1,!0,!1),Eyn(KB(Utn(WQ(n.o),15),18),n.H,null,"eAllGenericSuperTypes",0,-1,FAt,!0,!0,!1,!1,!0,!1,!0),Oyn(u=sin(KB(Utn(XQ(n.o),0),59),n.e,"isSuperTypeOf"),n.o,"someClass"),sin(KB(Utn(XQ(n.o),1),59),n.I,"getFeatureCount"),Oyn(u=sin(KB(Utn(XQ(n.o),2),59),n.bb,J9n),n.I,"featureID"),Oyn(u=sin(KB(Utn(XQ(n.o),3),59),n.I,Y9n),n.bb,Z9n),Oyn(u=sin(KB(Utn(XQ(n.o),4),59),n.bb,J9n),n._,"featureName"),sin(KB(Utn(XQ(n.o),5),59),n.I,"getOperationCount"),Oyn(u=sin(KB(Utn(XQ(n.o),6),59),n.T,"getEOperation"),n.I,"operationID"),Oyn(u=sin(KB(Utn(XQ(n.o),7),59),n.I,n7n),n.T,t7n),Oyn(u=sin(KB(Utn(XQ(n.o),8),59),n.T,"getOverride"),n.T,t7n),Oyn(u=sin(KB(Utn(XQ(n.o),9),59),n.H,"getFeatureType"),n.bb,Z9n),q0(n.p,KAt,f9n,!0,!1,!0),ccn(KB(Utn(WQ(n.p),0),34),n._,"instanceClassName",null,0,1,KAt,!1,!0,!0,!0,!0,!1),t=JV(n.L),e=u2(),s9((!t.d&&(t.d=new OL(UAt,t,1)),t.d),e),ROn(KB(Utn(WQ(n.p),1),34),t,"instanceClass",KAt,!0,!0,!1,!0),ccn(KB(Utn(WQ(n.p),2),34),n.M,e7n,null,0,1,KAt,!0,!0,!1,!1,!0,!0),ccn(KB(Utn(WQ(n.p),3),34),n._,"instanceTypeName",null,0,1,KAt,!1,!0,!0,!0,!0,!1),Eyn(KB(Utn(WQ(n.p),4),18),n.U,KB(Utn(WQ(n.U),3),18),"ePackage",0,1,KAt,!0,!1,!1,!1,!0,!1,!1),Eyn(KB(Utn(WQ(n.p),5),18),n.db,null,i7n,0,-1,KAt,!1,!1,!0,!0,!0,!1,!1),Oyn(u=sin(KB(Utn(XQ(n.p),0),59),n.e,r7n),n.M,IWn),sin(KB(Utn(XQ(n.p),1),59),n.I,"getClassifierID"),q0(n.q,BAt,"EDataType",!1,!1,!0),ccn(KB(Utn(WQ(n.q),0),34),n.e,"serializable",r5n,0,1,BAt,!1,!1,!0,!1,!0,!1),q0(n.v,GAt,"EEnum",!1,!1,!0),Eyn(KB(Utn(WQ(n.v),0),18),n.w,KB(Utn(WQ(n.w),3),18),"eLiterals",0,-1,GAt,!1,!1,!0,!0,!1,!1,!1),Oyn(u=sin(KB(Utn(XQ(n.v),0),59),n.w,c7n),n._,Z6n),Oyn(u=sin(KB(Utn(XQ(n.v),1),59),n.w,c7n),n.I,k6n),Oyn(u=sin(KB(Utn(XQ(n.v),2),59),n.w,"getEEnumLiteralByLiteral"),n._,"literal"),q0(n.w,zAt,l9n,!1,!1,!0),ccn(KB(Utn(WQ(n.w),0),34),n.I,k6n,null,0,1,zAt,!1,!1,!0,!1,!0,!1),ccn(KB(Utn(WQ(n.w),1),34),n.A,"instance",null,0,1,zAt,!0,!1,!0,!1,!0,!1),ccn(KB(Utn(WQ(n.w),2),34),n._,"literal",null,0,1,zAt,!1,!1,!0,!1,!0,!1),Eyn(KB(Utn(WQ(n.w),3),18),n.v,KB(Utn(WQ(n.v),0),18),"eEnum",0,1,zAt,!0,!1,!1,!1,!1,!1,!1),q0(n.B,KOt,"EFactory",!1,!1,!0),Eyn(KB(Utn(WQ(n.B),0),18),n.U,KB(Utn(WQ(n.U),2),18),"ePackage",1,1,KOt,!0,!1,!0,!1,!1,!1,!1),Oyn(u=sin(KB(Utn(XQ(n.B),0),59),n.S,"create"),n.o,"eClass"),Oyn(u=sin(KB(Utn(XQ(n.B),1),59),n.M,"createFromString"),n.q,"eDataType"),Oyn(u,n._,"literalValue"),Oyn(u=sin(KB(Utn(XQ(n.B),2),59),n._,"convertToString"),n.q,"eDataType"),Oyn(u,n.M,"instanceValue"),q0(n.Q,_Ot,V5n,!0,!1,!0),Eyn(KB(Utn(WQ(n.Q),0),18),n.a,KB(Utn(WQ(n.a),2),18),"eAnnotations",0,-1,_Ot,!1,!1,!0,!0,!1,!1,!1),Oyn(u=sin(KB(Utn(XQ(n.Q),0),59),n.a,"getEAnnotation"),n._,j6n),q0(n.R,FOt,Q5n,!0,!1,!0),ccn(KB(Utn(WQ(n.R),0),34),n._,Z6n,null,0,1,FOt,!1,!1,!0,!1,!0,!1),q0(n.S,OOt,"EObject",!1,!1,!0),sin(KB(Utn(XQ(n.S),0),59),n.o,"eClass"),sin(KB(Utn(XQ(n.S),1),59),n.e,"eIsProxy"),sin(KB(Utn(XQ(n.S),2),59),n.X,"eResource"),sin(KB(Utn(XQ(n.S),3),59),n.S,"eContainer"),sin(KB(Utn(XQ(n.S),4),59),n.bb,"eContainingFeature"),sin(KB(Utn(XQ(n.S),5),59),n.W,"eContainmentFeature"),u=sin(KB(Utn(XQ(n.S),6),59),null,"eContents"),t=JV(n.fb),e=JV(n.S),s9((!t.d&&(t.d=new OL(UAt,t,1)),t.d),e),(r=FTn(u,t,null))&&r.Fi(),u=sin(KB(Utn(XQ(n.S),7),59),null,"eAllContents"),t=JV(n.cb),e=JV(n.S),s9((!t.d&&(t.d=new OL(UAt,t,1)),t.d),e),(c=FTn(u,t,null))&&c.Fi(),u=sin(KB(Utn(XQ(n.S),8),59),null,"eCrossReferences"),t=JV(n.fb),e=JV(n.S),s9((!t.d&&(t.d=new OL(UAt,t,1)),t.d),e),(a=FTn(u,t,null))&&a.Fi(),Oyn(u=sin(KB(Utn(XQ(n.S),9),59),n.M,"eGet"),n.bb,Z9n),Oyn(u=sin(KB(Utn(XQ(n.S),10),59),n.M,"eGet"),n.bb,Z9n),Oyn(u,n.e,"resolve"),Oyn(u=sin(KB(Utn(XQ(n.S),11),59),null,"eSet"),n.bb,Z9n),Oyn(u,n.M,"newValue"),Oyn(u=sin(KB(Utn(XQ(n.S),12),59),n.e,"eIsSet"),n.bb,Z9n),Oyn(u=sin(KB(Utn(XQ(n.S),13),59),null,"eUnset"),n.bb,Z9n),Oyn(u=sin(KB(Utn(XQ(n.S),14),59),n.M,"eInvoke"),n.T,t7n),t=JV(n.fb),e=u2(),s9((!t.d&&(t.d=new OL(UAt,t,1)),t.d),e),Gjn(u,t,"arguments"),RW(u,n.K),q0(n.T,XAt,w9n,!1,!1,!0),Eyn(KB(Utn(WQ(n.T),0),18),n.o,KB(Utn(WQ(n.o),3),18),a7n,0,1,XAt,!0,!1,!1,!1,!1,!1,!1),Eyn(KB(Utn(WQ(n.T),1),18),n.db,null,i7n,0,-1,XAt,!1,!1,!0,!0,!0,!1,!1),Eyn(KB(Utn(WQ(n.T),2),18),n.V,KB(Utn(WQ(n.V),0),18),"eParameters",0,-1,XAt,!1,!1,!0,!0,!1,!1,!1),Eyn(KB(Utn(WQ(n.T),3),18),n.p,null,"eExceptions",0,-1,XAt,!1,!1,!0,!1,!0,!0,!1),Eyn(KB(Utn(WQ(n.T),4),18),n.H,null,"eGenericExceptions",0,-1,XAt,!1,!1,!0,!0,!1,!0,!1),sin(KB(Utn(XQ(n.T),0),59),n.I,n7n),Oyn(u=sin(KB(Utn(XQ(n.T),1),59),n.e,"isOverrideOf"),n.T,"someOperation"),q0(n.U,BOt,"EPackage",!1,!1,!0),ccn(KB(Utn(WQ(n.U),0),34),n._,"nsURI",null,0,1,BOt,!1,!1,!0,!1,!0,!1),ccn(KB(Utn(WQ(n.U),1),34),n._,"nsPrefix",null,0,1,BOt,!1,!1,!0,!1,!0,!1),Eyn(KB(Utn(WQ(n.U),2),18),n.B,KB(Utn(WQ(n.B),0),18),"eFactoryInstance",1,1,BOt,!0,!1,!0,!1,!1,!1,!1),Eyn(KB(Utn(WQ(n.U),3),18),n.p,KB(Utn(WQ(n.p),4),18),"eClassifiers",0,-1,BOt,!1,!1,!0,!0,!0,!1,!1),Eyn(KB(Utn(WQ(n.U),4),18),n.U,KB(Utn(WQ(n.U),5),18),"eSubpackages",0,-1,BOt,!1,!1,!0,!0,!0,!1,!1),Eyn(KB(Utn(WQ(n.U),5),18),n.U,KB(Utn(WQ(n.U),4),18),"eSuperPackage",0,1,BOt,!0,!1,!1,!1,!0,!1,!1),Oyn(u=sin(KB(Utn(XQ(n.U),0),59),n.p,"getEClassifier"),n._,Z6n),q0(n.V,WAt,d9n,!1,!1,!0),Eyn(KB(Utn(WQ(n.V),0),18),n.T,KB(Utn(WQ(n.T),2),18),"eOperation",0,1,WAt,!0,!1,!1,!1,!1,!1,!1),q0(n.W,VAt,g9n,!1,!1,!0),ccn(KB(Utn(WQ(n.W),0),34),n.e,"containment",null,0,1,VAt,!1,!1,!0,!1,!0,!1),ccn(KB(Utn(WQ(n.W),1),34),n.e,"container",null,0,1,VAt,!0,!0,!1,!1,!0,!0),ccn(KB(Utn(WQ(n.W),2),34),n.e,"resolveProxies",r5n,0,1,VAt,!1,!1,!0,!1,!0,!1),Eyn(KB(Utn(WQ(n.W),3),18),n.W,null,"eOpposite",0,1,VAt,!1,!1,!0,!1,!0,!1,!1),Eyn(KB(Utn(WQ(n.W),4),18),n.o,null,"eReferenceType",1,1,VAt,!0,!0,!1,!1,!0,!1,!0),Eyn(KB(Utn(WQ(n.W),5),18),n.b,null,"eKeys",0,-1,VAt,!1,!1,!0,!1,!0,!1,!1),q0(n.bb,RAt,s9n,!0,!1,!0),ccn(KB(Utn(WQ(n.bb),0),34),n.e,"changeable",r5n,0,1,RAt,!1,!1,!0,!1,!0,!1),ccn(KB(Utn(WQ(n.bb),1),34),n.e,"volatile",null,0,1,RAt,!1,!1,!0,!1,!0,!1),ccn(KB(Utn(WQ(n.bb),2),34),n.e,"transient",null,0,1,RAt,!1,!1,!0,!1,!0,!1),ccn(KB(Utn(WQ(n.bb),3),34),n._,"defaultValueLiteral",null,0,1,RAt,!1,!1,!0,!1,!0,!1),ccn(KB(Utn(WQ(n.bb),4),34),n.M,e7n,null,0,1,RAt,!0,!0,!1,!1,!0,!0),ccn(KB(Utn(WQ(n.bb),5),34),n.e,"unsettable",null,0,1,RAt,!1,!1,!0,!1,!0,!1),ccn(KB(Utn(WQ(n.bb),6),34),n.e,"derived",null,0,1,RAt,!1,!1,!0,!1,!0,!1),Eyn(KB(Utn(WQ(n.bb),7),18),n.o,KB(Utn(WQ(n.o),13),18),a7n,0,1,RAt,!0,!1,!1,!1,!1,!1,!1),sin(KB(Utn(XQ(n.bb),0),59),n.I,Y9n),u=sin(KB(Utn(XQ(n.bb),1),59),null,"getContainerClass"),t=JV(n.L),e=u2(),s9((!t.d&&(t.d=new OL(UAt,t,1)),t.d),e),(i=FTn(u,t,null))&&i.Fi(),q0(n.eb,DAt,o9n,!0,!1,!0),ccn(KB(Utn(WQ(n.eb),0),34),n.e,"ordered",r5n,0,1,DAt,!1,!1,!0,!1,!0,!1),ccn(KB(Utn(WQ(n.eb),1),34),n.e,"unique",r5n,0,1,DAt,!1,!1,!0,!1,!0,!1),ccn(KB(Utn(WQ(n.eb),2),34),n.I,"lowerBound",null,0,1,DAt,!1,!1,!0,!1,!0,!1),ccn(KB(Utn(WQ(n.eb),3),34),n.I,"upperBound","1",0,1,DAt,!1,!1,!0,!1,!0,!1),ccn(KB(Utn(WQ(n.eb),4),34),n.e,"many",null,0,1,DAt,!0,!0,!1,!1,!0,!0),ccn(KB(Utn(WQ(n.eb),5),34),n.e,"required",null,0,1,DAt,!0,!0,!1,!1,!0,!0),Eyn(KB(Utn(WQ(n.eb),6),18),n.p,null,"eType",0,1,DAt,!1,!0,!0,!1,!0,!0,!1),Eyn(KB(Utn(WQ(n.eb),7),18),n.H,null,"eGenericType",0,1,DAt,!1,!0,!0,!0,!1,!0,!1),q0(n.ab,Fnt,"EStringToStringMapEntry",!1,!1,!1),ccn(KB(Utn(WQ(n.ab),0),34),n._,"key",null,0,1,Fnt,!1,!1,!0,!1,!0,!1),ccn(KB(Utn(WQ(n.ab),1),34),n._,k6n,null,0,1,Fnt,!1,!1,!0,!1,!0,!1),q0(n.H,UAt,b9n,!1,!1,!0),Eyn(KB(Utn(WQ(n.H),0),18),n.H,null,"eUpperBound",0,1,UAt,!1,!1,!0,!0,!1,!1,!1),Eyn(KB(Utn(WQ(n.H),1),18),n.H,null,"eTypeArguments",0,-1,UAt,!1,!1,!0,!0,!1,!1,!1),Eyn(KB(Utn(WQ(n.H),2),18),n.p,null,"eRawType",1,1,UAt,!0,!1,!1,!1,!0,!1,!0),Eyn(KB(Utn(WQ(n.H),3),18),n.H,null,"eLowerBound",0,1,UAt,!1,!1,!0,!0,!1,!1,!1),Eyn(KB(Utn(WQ(n.H),4),18),n.db,null,"eTypeParameter",0,1,UAt,!1,!1,!0,!1,!1,!1,!1),Eyn(KB(Utn(WQ(n.H),5),18),n.p,null,"eClassifier",0,1,UAt,!1,!1,!0,!1,!0,!1,!1),Oyn(u=sin(KB(Utn(XQ(n.H),0),59),n.e,r7n),n.M,IWn),q0(n.db,P$t,p9n,!1,!1,!0),Eyn(KB(Utn(WQ(n.db),0),18),n.H,null,"eBounds",0,-1,P$t,!1,!1,!0,!0,!1,!1,!1),bV(n.c,tet,"EBigDecimal",!0),bV(n.d,aet,"EBigInteger",!0),bV(n.e,INt,"EBoolean",!0),bV(n.f,mtt,"EBooleanObject",!0),bV(n.i,ANt,"EByte",!0),bV(n.g,Hk(ANt,1),"EByteArray",!0),bV(n.j,jtt,"EByteObject",!0),bV(n.k,PNt,"EChar",!0),bV(n.n,Ttt,"ECharacterObject",!0),bV(n.r,ptt,"EDate",!0),bV(n.s,DNt,"EDiagnosticChain",!1),bV(n.t,$Nt,"EDouble",!0),bV(n.u,Mtt,"EDoubleObject",!0),bV(n.fb,rAt,"EEList",!1),bV(n.A,pAt,"EEnumerator",!1),bV(n.C,hLt,"EFeatureMap",!1),bV(n.D,I$t,"EFeatureMapEntry",!1),bV(n.F,LNt,"EFloat",!0),bV(n.G,Stt,"EFloatObject",!0),bV(n.I,CNt,"EInt",!0),bV(n.J,Itt,"EIntegerObject",!0),bV(n.L,Ont,"EJavaClass",!0),bV(n.M,Int,"EJavaObject",!0),bV(n.N,ONt,"ELong",!0),bV(n.O,xtt,"ELongObject",!0),bV(n.P,$nt,"EMap",!1),bV(n.X,nLt,"EResource",!1),bV(n.Y,RNt,"EResourceSet",!1),bV(n.Z,NNt,"EShort",!0),bV(n.$,Rtt,"EShortObject",!0),bV(n._,Wtt,"EString",!0),bV(n.cb,oAt,"ETreeIterator",!1),bV(n.K,_Nt,"EInvocationTargetException",!1),Ahn(n,X9n))}"undefined"!=typeof window?i=window:void 0!==n?i=n:"undefined"!=typeof self&&(i=self);var EWn,TWn,MWn,SWn,PWn,CWn,IWn="object",OWn="boolean",AWn="number",$Wn="string",LWn="function",NWn=2147483647,xWn="java.lang",DWn={3:1},RWn="com.google.common.base",_Wn=", ",KWn="%s (%s) must not be negative",FWn={3:1,4:1,5:1},BWn="negative size: ",HWn="Optional.of(",qWn="null",GWn={198:1,47:1},zWn="com.google.common.collect",UWn={198:1,47:1,125:1},XWn={224:1,3:1},WWn={47:1},VWn="java.util",QWn={83:1},JWn={20:1,28:1,14:1},YWn=1965,ZWn={20:1,28:1,14:1,21:1},nVn={83:1,171:1,161:1},tVn={20:1,28:1,14:1,21:1,84:1},eVn={20:1,28:1,14:1,271:1,21:1,84:1},iVn={47:1,125:1},rVn={345:1,42:1},cVn="AbstractMapEntry",aVn="expectedValuesPerKey",uVn={3:1,6:1,4:1,5:1},oVn=16384,sVn={164:1},hVn={38:1},fVn={l:4194303,m:4194303,h:524287},lVn={196:1},bVn={245:1,3:1,35:1},wVn="range unbounded on this side",dVn={20:1},gVn={20:1,14:1},pVn={3:1,20:1,28:1,14:1},vVn={152:1,3:1,20:1,28:1,14:1,15:1,54:1},mVn={3:1,4:1,5:1,165:1},yVn={3:1,83:1},kVn={20:1,14:1,21:1},jVn={3:1,20:1,28:1,14:1,21:1},EVn={20:1,14:1,21:1,84:1},TVn=461845907,MVn=-862048943,SVn={3:1,6:1,4:1,5:1,165:1},PVn="expectedSize",CVn=1073741824,IVn="initialArraySize",OVn={3:1,6:1,4:1,9:1,5:1},AVn={20:1,28:1,52:1,14:1,15:1},$Vn="arraySize",LVn={20:1,28:1,52:1,14:1,15:1,54:1},NVn={45:1},xVn={365:1},DVn=1e-4,RVn=-2147483648,_Vn="__noinit__",KVn={3:1,102:1,60:1,78:1},FVn="com.google.gwt.core.client.impl",BVn="String",HVn="com.google.gwt.core.client",qVn="anonymous",GVn="fnStack",zVn="Unknown",UVn={195:1,3:1,4:1},XVn=1e3,WVn=65535,VVn="January",QVn="February",JVn="March",YVn="April",ZVn="May",nQn="June",tQn="July",eQn="August",iQn="September",rQn="October",cQn="November",aQn="December",uQn=1900,oQn={48:1,3:1,4:1},sQn="Before Christ",hQn="Anno Domini",fQn="Sunday",lQn="Monday",bQn="Tuesday",wQn="Wednesday",dQn="Thursday",gQn="Friday",pQn="Saturday",vQn="com.google.gwt.i18n.shared",mQn="DateTimeFormat",yQn="com.google.gwt.i18n.client",kQn="DefaultDateTimeFormatInfo",jQn={3:1,4:1,35:1,199:1},EQn="com.google.gwt.json.client",TQn=4194303,MQn=1048575,SQn=524288,PQn=4194304,CQn=17592186044416,IQn=1e9,OQn=-17592186044416,AQn="java.io",$Qn={3:1,102:1,73:1,60:1,78:1},LQn={3:1,289:1,78:1},NQn='For input string: "',xQn=1/0,DQn=-1/0,RQn=4096,_Qn={3:1,4:1,364:1},KQn=65536,FQn=55296,BQn={104:1,3:1,4:1},HQn=1e5,qQn=.3010299956639812,GQn=4294967295,zQn=4294967296,UQn="0.0",XQn={42:1},WQn={3:1,4:1,20:1,28:1,52:1,12:1,14:1,15:1,54:1},VQn={3:1,20:1,28:1,52:1,14:1,15:1,54:1},QQn={20:1,14:1,15:1},JQn={3:1,62:1},YQn={182:1},ZQn={3:1,4:1,83:1},nJn={3:1,4:1,20:1,28:1,14:1,53:1,21:1},tJn="delete",eJn=1.4901161193847656e-8,iJn=11102230246251565e-32,rJn=15525485,cJn=5.960464477539063e-8,aJn=16777216,uJn=16777215,oJn=", length: ",sJn={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1},hJn={3:1,35:1,22:1,297:1},fJn="java.util.function",lJn="java.util.logging",bJn={3:1,4:1,5:1,842:1},wJn="undefined",dJn="java.util.stream",gJn={525:1,670:1},pJn="fromIndex: ",vJn=" > toIndex: ",mJn=", toIndex: ",yJn="Index: ",kJn=", Size: ",jJn="org.eclipse.elk.alg.common",EJn={62:1},TJn="org.eclipse.elk.alg.common.compaction",MJn="Scanline/EventHandler",SJn="org.eclipse.elk.alg.common.compaction.oned",PJn="CNode belongs to another CGroup.",CJn="ISpacingsHandler/1",IJn="The ",OJn=" instance has been finished already.",AJn="The direction ",$Jn=" is not supported by the CGraph instance.",LJn="OneDimensionalCompactor",NJn="OneDimensionalCompactor/lambda$0$Type",xJn="Quadruplet",DJn="ScanlineConstraintCalculator",RJn="ScanlineConstraintCalculator/ConstraintsScanlineHandler",_Jn="ScanlineConstraintCalculator/ConstraintsScanlineHandler/lambda$0$Type",KJn="ScanlineConstraintCalculator/Timestamp",FJn="ScanlineConstraintCalculator/lambda$0$Type",BJn={169:1,45:1},HJn="org.eclipse.elk.alg.common.compaction.options",qJn="org.eclipse.elk.core.data",GJn="org.eclipse.elk.polyomino.traversalStrategy",zJn="org.eclipse.elk.polyomino.lowLevelSort",UJn="org.eclipse.elk.polyomino.highLevelSort",XJn="org.eclipse.elk.polyomino.fill",WJn={130:1},VJn="polyomino",QJn="org.eclipse.elk.alg.common.networksimplex",JJn={177:1,3:1,4:1},YJn="org.eclipse.elk.alg.common.nodespacing",ZJn="org.eclipse.elk.alg.common.nodespacing.cellsystem",nYn="CENTER",tYn={212:1,326:1},eYn={3:1,4:1,5:1,595:1},iYn="LEFT",rYn="RIGHT",cYn="Vertical alignment cannot be null",aYn="BOTTOM",uYn="org.eclipse.elk.alg.common.nodespacing.internal",oYn="UNDEFINED",sYn=.01,hYn="org.eclipse.elk.alg.common.nodespacing.internal.algorithm",fYn="LabelPlacer/lambda$0$Type",lYn="LabelPlacer/lambda$1$Type",bYn="portRatioOrPosition",wYn="org.eclipse.elk.alg.common.overlaps",dYn="DOWN",gYn="org.eclipse.elk.alg.common.polyomino",pYn="NORTH",vYn="EAST",mYn="SOUTH",yYn="WEST",kYn="org.eclipse.elk.alg.common.polyomino.structures",jYn="Direction",EYn="Grid is only of size ",TYn=". Requested point (",MYn=") is out of bounds.",SYn=" Given center based coordinates were (",PYn="org.eclipse.elk.graph.properties",CYn="IPropertyHolder",IYn={3:1,94:1,134:1},OYn="org.eclipse.elk.alg.common.spore",AYn="org.eclipse.elk.alg.common.utils",$Yn={209:1},LYn="org.eclipse.elk.core",NYn="Connected Components Compaction",xYn="org.eclipse.elk.alg.disco",DYn="org.eclipse.elk.alg.disco.graph",RYn="org.eclipse.elk.alg.disco.options",_Yn="CompactionStrategy",KYn="org.eclipse.elk.disco.componentCompaction.strategy",FYn="org.eclipse.elk.disco.componentCompaction.componentLayoutAlgorithm",BYn="org.eclipse.elk.disco.debug.discoGraph",HYn="org.eclipse.elk.disco.debug.discoPolys",qYn="componentCompaction",GYn="org.eclipse.elk.disco",zYn="org.eclipse.elk.spacing.componentComponent",UYn="org.eclipse.elk.edge.thickness",XYn="org.eclipse.elk.aspectRatio",WYn="org.eclipse.elk.padding",VYn="org.eclipse.elk.alg.disco.transform",QYn=1.5707963267948966,JYn=17976931348623157e292,YYn={3:1,4:1,5:1,192:1},ZYn={3:1,6:1,4:1,5:1,106:1,120:1},nZn="org.eclipse.elk.alg.force",tZn="ComponentsProcessor",eZn="ComponentsProcessor/1",iZn="org.eclipse.elk.alg.force.graph",rZn="Component Layout",cZn="org.eclipse.elk.alg.force.model",aZn="org.eclipse.elk.force.model",uZn="org.eclipse.elk.force.iterations",oZn="org.eclipse.elk.force.repulsivePower",sZn="org.eclipse.elk.force.temperature",hZn=.001,fZn="org.eclipse.elk.force.repulsion",lZn="org.eclipse.elk.alg.force.options",bZn=1.600000023841858,wZn="org.eclipse.elk.force",dZn="org.eclipse.elk.priority",gZn="org.eclipse.elk.spacing.nodeNode",pZn="org.eclipse.elk.spacing.edgeLabel",vZn="org.eclipse.elk.randomSeed",mZn="org.eclipse.elk.separateConnectedComponents",yZn="org.eclipse.elk.interactive",kZn="org.eclipse.elk.portConstraints",jZn="org.eclipse.elk.edgeLabels.inline",EZn="org.eclipse.elk.omitNodeMicroLayout",TZn="org.eclipse.elk.nodeSize.options",MZn="org.eclipse.elk.nodeSize.constraints",SZn="org.eclipse.elk.nodeLabels.placement",PZn="org.eclipse.elk.portLabels.placement",CZn="origin",IZn="random",OZn="boundingBox.upLeft",AZn="boundingBox.lowRight",$Zn="org.eclipse.elk.stress.fixed",LZn="org.eclipse.elk.stress.desiredEdgeLength",NZn="org.eclipse.elk.stress.dimension",xZn="org.eclipse.elk.stress.epsilon",DZn="org.eclipse.elk.stress.iterationLimit",RZn="org.eclipse.elk.stress",_Zn="ELK Stress",KZn="org.eclipse.elk.nodeSize.minimum",FZn="org.eclipse.elk.alg.force.stress",BZn="Layered layout",HZn="org.eclipse.elk.alg.layered",qZn="org.eclipse.elk.alg.layered.compaction.components",GZn="org.eclipse.elk.alg.layered.compaction.oned",zZn="org.eclipse.elk.alg.layered.compaction.oned.algs",UZn="org.eclipse.elk.alg.layered.compaction.recthull",XZn="org.eclipse.elk.alg.layered.components",WZn="NONE",VZn={3:1,6:1,4:1,9:1,5:1,122:1},QZn={3:1,6:1,4:1,5:1,141:1,106:1,120:1},JZn="org.eclipse.elk.alg.layered.compound",YZn={51:1},ZZn="org.eclipse.elk.alg.layered.graph",n1n=" -> ",t1n="Not supported by LGraph",e1n="Port side is undefined",i1n={3:1,6:1,4:1,5:1,474:1,141:1,106:1,120:1},r1n={3:1,6:1,4:1,5:1,141:1,193:1,203:1,106:1,120:1},c1n={3:1,6:1,4:1,5:1,141:1,1943:1,203:1,106:1,120:1},a1n="([{\"' \t\r\n",u1n=")]}\"' \t\r\n",o1n="The given string contains parts that cannot be parsed as numbers.",s1n="org.eclipse.elk.core.math",h1n={3:1,4:1,142:1,207:1,414:1},f1n={3:1,4:1,116:1,207:1,414:1},l1n="org.eclipse.elk.layered",b1n="org.eclipse.elk.alg.layered.graph.transform",w1n="ElkGraphImporter",d1n="ElkGraphImporter/lambda$0$Type",g1n="ElkGraphImporter/lambda$1$Type",p1n="ElkGraphImporter/lambda$2$Type",v1n="ElkGraphImporter/lambda$4$Type",m1n="Node margin calculation",y1n="org.eclipse.elk.alg.layered.intermediate",k1n="ONE_SIDED_GREEDY_SWITCH",j1n="TWO_SIDED_GREEDY_SWITCH",E1n="No implementation is available for the layout processor ",T1n="IntermediateProcessorStrategy",M1n="Node '",S1n="FIRST_SEPARATE",P1n="LAST_SEPARATE",C1n="Odd port side processing",I1n="org.eclipse.elk.alg.layered.intermediate.compaction",O1n="org.eclipse.elk.alg.layered.intermediate.greedyswitch",A1n="org.eclipse.elk.alg.layered.p3order.counting",$1n={225:1},L1n="org.eclipse.elk.alg.layered.intermediate.loops",N1n="org.eclipse.elk.alg.layered.intermediate.loops.ordering",x1n="org.eclipse.elk.alg.layered.intermediate.loops.routing",D1n="org.eclipse.elk.alg.layered.intermediate.preserveorder",R1n="org.eclipse.elk.alg.layered.intermediate.wrapping",_1n="org.eclipse.elk.alg.layered.options",K1n="INTERACTIVE",F1n="DEPTH_FIRST",B1n="EDGE_LENGTH",H1n="SELF_LOOPS",q1n="firstTryWithInitialOrder",G1n="org.eclipse.elk.layered.directionCongruency",z1n="org.eclipse.elk.layered.feedbackEdges",U1n="org.eclipse.elk.layered.interactiveReferencePoint",X1n="org.eclipse.elk.layered.mergeEdges",W1n="org.eclipse.elk.layered.mergeHierarchyEdges",V1n="org.eclipse.elk.layered.allowNonFlowPortsToSwitchSides",Q1n="org.eclipse.elk.layered.portSortingStrategy",J1n="org.eclipse.elk.layered.thoroughness",Y1n="org.eclipse.elk.layered.unnecessaryBendpoints",Z1n="org.eclipse.elk.layered.generatePositionAndLayerIds",n0n="org.eclipse.elk.layered.cycleBreaking.strategy",t0n="org.eclipse.elk.layered.layering.strategy",e0n="org.eclipse.elk.layered.layering.layerConstraint",i0n="org.eclipse.elk.layered.layering.layerChoiceConstraint",r0n="org.eclipse.elk.layered.layering.layerId",c0n="org.eclipse.elk.layered.layering.minWidth.upperBoundOnWidth",a0n="org.eclipse.elk.layered.layering.minWidth.upperLayerEstimationScalingFactor",u0n="org.eclipse.elk.layered.layering.nodePromotion.strategy",o0n="org.eclipse.elk.layered.layering.nodePromotion.maxIterations",s0n="org.eclipse.elk.layered.layering.coffmanGraham.layerBound",h0n="org.eclipse.elk.layered.crossingMinimization.strategy",f0n="org.eclipse.elk.layered.crossingMinimization.forceNodeModelOrder",l0n="org.eclipse.elk.layered.crossingMinimization.hierarchicalSweepiness",b0n="org.eclipse.elk.layered.crossingMinimization.semiInteractive",w0n="org.eclipse.elk.layered.crossingMinimization.positionChoiceConstraint",d0n="org.eclipse.elk.layered.crossingMinimization.positionId",g0n="org.eclipse.elk.layered.crossingMinimization.greedySwitch.activationThreshold",p0n="org.eclipse.elk.layered.crossingMinimization.greedySwitch.type",v0n="org.eclipse.elk.layered.crossingMinimization.greedySwitchHierarchical.type",m0n="org.eclipse.elk.layered.nodePlacement.strategy",y0n="org.eclipse.elk.layered.nodePlacement.favorStraightEdges",k0n="org.eclipse.elk.layered.nodePlacement.bk.edgeStraightening",j0n="org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment",E0n="org.eclipse.elk.layered.nodePlacement.linearSegments.deflectionDampening",T0n="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility",M0n="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility.default",S0n="org.eclipse.elk.layered.edgeRouting.selfLoopDistribution",P0n="org.eclipse.elk.layered.edgeRouting.selfLoopOrdering",C0n="org.eclipse.elk.layered.edgeRouting.splines.mode",I0n="org.eclipse.elk.layered.edgeRouting.splines.sloppy.layerSpacingFactor",O0n="org.eclipse.elk.layered.edgeRouting.polyline.slopedEdgeZoneWidth",A0n="org.eclipse.elk.layered.spacing.baseValue",$0n="org.eclipse.elk.layered.spacing.edgeNodeBetweenLayers",L0n="org.eclipse.elk.layered.spacing.edgeEdgeBetweenLayers",N0n="org.eclipse.elk.layered.spacing.nodeNodeBetweenLayers",x0n="org.eclipse.elk.layered.priority.direction",D0n="org.eclipse.elk.layered.priority.shortness",R0n="org.eclipse.elk.layered.priority.straightness",_0n="org.eclipse.elk.layered.compaction.connectedComponents",K0n="org.eclipse.elk.layered.compaction.postCompaction.strategy",F0n="org.eclipse.elk.layered.compaction.postCompaction.constraints",B0n="org.eclipse.elk.layered.highDegreeNodes.treatment",H0n="org.eclipse.elk.layered.highDegreeNodes.threshold",q0n="org.eclipse.elk.layered.highDegreeNodes.treeHeight",G0n="org.eclipse.elk.layered.wrapping.strategy",z0n="org.eclipse.elk.layered.wrapping.additionalEdgeSpacing",U0n="org.eclipse.elk.layered.wrapping.correctionFactor",X0n="org.eclipse.elk.layered.wrapping.cutting.strategy",W0n="org.eclipse.elk.layered.wrapping.cutting.cuts",V0n="org.eclipse.elk.layered.wrapping.cutting.msd.freedom",Q0n="org.eclipse.elk.layered.wrapping.validify.strategy",J0n="org.eclipse.elk.layered.wrapping.validify.forbiddenIndices",Y0n="org.eclipse.elk.layered.wrapping.multiEdge.improveCuts",Z0n="org.eclipse.elk.layered.wrapping.multiEdge.distancePenalty",n2n="org.eclipse.elk.layered.wrapping.multiEdge.improveWrappedEdges",t2n="org.eclipse.elk.layered.edgeLabels.sideSelection",e2n="org.eclipse.elk.layered.edgeLabels.centerLabelPlacementStrategy",i2n="org.eclipse.elk.layered.considerModelOrder.strategy",r2n="org.eclipse.elk.layered.considerModelOrder.noModelOrder",c2n="org.eclipse.elk.layered.considerModelOrder.components",a2n="org.eclipse.elk.layered.considerModelOrder.longEdgeStrategy",u2n="org.eclipse.elk.layered.considerModelOrder.crossingCounterNodeInfluence",o2n="org.eclipse.elk.layered.considerModelOrder.crossingCounterPortInfluence",s2n="layering",h2n="layering.minWidth",f2n="layering.nodePromotion",l2n="crossingMinimization",b2n="org.eclipse.elk.hierarchyHandling",w2n="crossingMinimization.greedySwitch",d2n="nodePlacement",g2n="nodePlacement.bk",p2n="edgeRouting",v2n="org.eclipse.elk.edgeRouting",m2n="spacing",y2n="priority",k2n="compaction",j2n="compaction.postCompaction",E2n="Specifies whether and how post-process compaction is applied.",T2n="highDegreeNodes",M2n="wrapping",S2n="wrapping.cutting",P2n="wrapping.validify",C2n="wrapping.multiEdge",I2n="edgeLabels",O2n="considerModelOrder",A2n="org.eclipse.elk.spacing.commentComment",$2n="org.eclipse.elk.spacing.commentNode",L2n="org.eclipse.elk.spacing.edgeEdge",N2n="org.eclipse.elk.spacing.edgeNode",x2n="org.eclipse.elk.spacing.labelLabel",D2n="org.eclipse.elk.spacing.labelPortHorizontal",R2n="org.eclipse.elk.spacing.labelPortVertical",_2n="org.eclipse.elk.spacing.labelNode",K2n="org.eclipse.elk.spacing.nodeSelfLoop",F2n="org.eclipse.elk.spacing.portPort",B2n="org.eclipse.elk.spacing.individual",H2n="org.eclipse.elk.port.borderOffset",q2n="org.eclipse.elk.noLayout",G2n="org.eclipse.elk.port.side",z2n="org.eclipse.elk.debugMode",U2n="org.eclipse.elk.alignment",X2n="org.eclipse.elk.insideSelfLoops.activate",W2n="org.eclipse.elk.insideSelfLoops.yo",V2n="org.eclipse.elk.nodeSize.fixedGraphSize",Q2n="org.eclipse.elk.direction",J2n="org.eclipse.elk.nodeLabels.padding",Y2n="org.eclipse.elk.portLabels.nextToPortIfPossible",Z2n="org.eclipse.elk.portLabels.treatAsGroup",n3n="org.eclipse.elk.portAlignment.default",t3n="org.eclipse.elk.portAlignment.north",e3n="org.eclipse.elk.portAlignment.south",i3n="org.eclipse.elk.portAlignment.west",r3n="org.eclipse.elk.portAlignment.east",c3n="org.eclipse.elk.contentAlignment",a3n="org.eclipse.elk.junctionPoints",u3n="org.eclipse.elk.edgeLabels.placement",o3n="org.eclipse.elk.port.index",s3n="org.eclipse.elk.commentBox",h3n="org.eclipse.elk.hypernode",f3n="org.eclipse.elk.port.anchor",l3n="org.eclipse.elk.partitioning.activate",b3n="org.eclipse.elk.partitioning.partition",w3n="org.eclipse.elk.position",d3n="org.eclipse.elk.margins",g3n="org.eclipse.elk.spacing.portsSurrounding",p3n="org.eclipse.elk.interactiveLayout",v3n="org.eclipse.elk.core.util",m3n={3:1,4:1,5:1,593:1},y3n="NETWORK_SIMPLEX",k3n={123:1,51:1},j3n="org.eclipse.elk.alg.layered.p1cycles",E3n="org.eclipse.elk.alg.layered.p2layers",T3n={402:1,225:1},M3n={832:1,3:1,4:1},S3n="org.eclipse.elk.alg.layered.p3order",P3n="org.eclipse.elk.alg.layered.p4nodes",C3n={3:1,4:1,5:1,840:1},I3n=1e-5,O3n="org.eclipse.elk.alg.layered.p4nodes.bk",A3n="org.eclipse.elk.alg.layered.p5edges",$3n="org.eclipse.elk.alg.layered.p5edges.orthogonal",L3n="org.eclipse.elk.alg.layered.p5edges.orthogonal.direction",N3n=1e-6,x3n="org.eclipse.elk.alg.layered.p5edges.splines",D3n=.09999999999999998,R3n=1e-8,_3n=4.71238898038469,K3n=3.141592653589793,F3n="org.eclipse.elk.alg.mrtree",B3n="org.eclipse.elk.alg.mrtree.graph",H3n="org.eclipse.elk.alg.mrtree.intermediate",q3n="Set neighbors in level",G3n="DESCENDANTS",z3n="org.eclipse.elk.mrtree.weighting",U3n="org.eclipse.elk.mrtree.searchOrder",X3n="org.eclipse.elk.alg.mrtree.options",W3n="org.eclipse.elk.mrtree",V3n="org.eclipse.elk.tree",Q3n="org.eclipse.elk.alg.radial",J3n=6.283185307179586,Y3n=5e-324,Z3n="org.eclipse.elk.alg.radial.intermediate",n4n="org.eclipse.elk.alg.radial.intermediate.compaction",t4n={3:1,4:1,5:1,106:1},e4n="org.eclipse.elk.alg.radial.intermediate.optimization",i4n="No implementation is available for the layout option ",r4n="org.eclipse.elk.alg.radial.options",c4n="org.eclipse.elk.radial.orderId",a4n="org.eclipse.elk.radial.radius",u4n="org.eclipse.elk.radial.compactor",o4n="org.eclipse.elk.radial.compactionStepSize",s4n="org.eclipse.elk.radial.sorter",h4n="org.eclipse.elk.radial.wedgeCriteria",f4n="org.eclipse.elk.radial.optimizationCriteria",l4n="org.eclipse.elk.radial",b4n="org.eclipse.elk.alg.radial.p1position.wedge",w4n="org.eclipse.elk.alg.radial.sorting",d4n=5.497787143782138,g4n=3.9269908169872414,p4n=2.356194490192345,v4n="org.eclipse.elk.alg.rectpacking",m4n="org.eclipse.elk.alg.rectpacking.firstiteration",y4n="org.eclipse.elk.alg.rectpacking.options",k4n="org.eclipse.elk.rectpacking.optimizationGoal",j4n="org.eclipse.elk.rectpacking.lastPlaceShift",E4n="org.eclipse.elk.rectpacking.currentPosition",T4n="org.eclipse.elk.rectpacking.desiredPosition",M4n="org.eclipse.elk.rectpacking.onlyFirstIteration",S4n="org.eclipse.elk.rectpacking.rowCompaction",P4n="org.eclipse.elk.rectpacking.expandToAspectRatio",C4n="org.eclipse.elk.rectpacking.targetWidth",I4n="org.eclipse.elk.expandNodes",O4n="org.eclipse.elk.rectpacking",A4n="org.eclipse.elk.alg.rectpacking.util",$4n="No implementation available for ",L4n="org.eclipse.elk.alg.spore",N4n="org.eclipse.elk.alg.spore.options",x4n="org.eclipse.elk.sporeCompaction",D4n="org.eclipse.elk.underlyingLayoutAlgorithm",R4n="org.eclipse.elk.processingOrder.treeConstruction",_4n="org.eclipse.elk.processingOrder.spanningTreeCostFunction",K4n="org.eclipse.elk.processingOrder.preferredRoot",F4n="org.eclipse.elk.processingOrder.rootSelection",B4n="org.eclipse.elk.structure.structureExtractionStrategy",H4n="org.eclipse.elk.compaction.compactionStrategy",q4n="org.eclipse.elk.compaction.orthogonal",G4n="org.eclipse.elk.overlapRemoval.maxIterations",z4n="org.eclipse.elk.overlapRemoval.runScanline",U4n="processingOrder",X4n="overlapRemoval",W4n="org.eclipse.elk.sporeOverlap",V4n="org.eclipse.elk.alg.spore.p1structure",Q4n="org.eclipse.elk.alg.spore.p2processingorder",J4n="org.eclipse.elk.alg.spore.p3execution",Y4n="Invalid index: ",Z4n="org.eclipse.elk.core.alg",n5n={331:1},t5n={288:1},e5n="Make sure its type is registered with the ",i5n=" utility class.",r5n="true",c5n="false",a5n="Couldn't clone property '",u5n=.05,o5n="org.eclipse.elk.core.options",s5n=1.2999999523162842,h5n="org.eclipse.elk.box",f5n="org.eclipse.elk.box.packingMode",l5n="org.eclipse.elk.algorithm",b5n="org.eclipse.elk.resolvedAlgorithm",w5n="org.eclipse.elk.bendPoints",d5n="org.eclipse.elk.labelManager",g5n="org.eclipse.elk.scaleFactor",p5n="org.eclipse.elk.animate",v5n="org.eclipse.elk.animTimeFactor",m5n="org.eclipse.elk.layoutAncestors",y5n="org.eclipse.elk.maxAnimTime",k5n="org.eclipse.elk.minAnimTime",j5n="org.eclipse.elk.progressBar",E5n="org.eclipse.elk.validateGraph",T5n="org.eclipse.elk.validateOptions",M5n="org.eclipse.elk.zoomToFit",S5n="org.eclipse.elk.font.name",P5n="org.eclipse.elk.font.size",C5n="org.eclipse.elk.edge.type",I5n="partitioning",O5n="nodeLabels",A5n="portAlignment",$5n="nodeSize",L5n="port",N5n="portLabels",x5n="insideSelfLoops",D5n="org.eclipse.elk.fixed",R5n="org.eclipse.elk.random",_5n="port must have a parent node to calculate the port side",K5n="The edge needs to have exactly one edge section. Found: ",F5n="org.eclipse.elk.core.util.adapters",B5n="org.eclipse.emf.ecore",H5n="org.eclipse.elk.graph",q5n="EMapPropertyHolder",G5n="ElkBendPoint",z5n="ElkGraphElement",U5n="ElkConnectableShape",X5n="ElkEdge",W5n="ElkEdgeSection",V5n="EModelElement",Q5n="ENamedElement",J5n="ElkLabel",Y5n="ElkNode",Z5n="ElkPort",n6n={92:1,90:1},t6n="org.eclipse.emf.common.notify.impl",e6n="The feature '",i6n="' is not a valid changeable feature",r6n="Expecting null",c6n="' is not a valid feature",a6n="The feature ID",u6n=" is not a valid feature ID",o6n=32768,s6n={105:1,92:1,90:1,56:1,49:1,97:1},h6n="org.eclipse.emf.ecore.impl",f6n="org.eclipse.elk.graph.impl",l6n="Recursive containment not allowed for ",b6n="The datatype '",w6n="' is not a valid classifier",d6n="The value '",g6n={190:1,3:1,4:1},p6n="The class '",v6n="http://www.eclipse.org/elk/ElkGraph",m6n=1024,y6n="property",k6n="value",j6n="source",E6n="properties",T6n="identifier",M6n="height",S6n="width",P6n="parent",C6n="text",I6n="children",O6n="hierarchical",A6n="sources",$6n="targets",L6n="sections",N6n="bendPoints",x6n="outgoingShape",D6n="incomingShape",R6n="outgoingSections",_6n="incomingSections",K6n="org.eclipse.emf.common.util",F6n="Severe implementation error in the Json to ElkGraph importer.",B6n="id",H6n="org.eclipse.elk.graph.json",q6n="Unhandled parameter types: ",G6n="startPoint",z6n="An edge must have at least one source and one target (edge id: '",U6n="').",X6n="Referenced edge section does not exist: ",W6n=" (edge id: '",V6n="target",Q6n="sourcePoint",J6n="targetPoint",Y6n="group",Z6n="name",n8n="connectableShape cannot be null",t8n="edge cannot be null",e8n="Passed edge is not 'simple'.",i8n="org.eclipse.elk.graph.util",r8n="The 'no duplicates' constraint is violated",c8n="targetIndex=",a8n=", size=",u8n="sourceIndex=",o8n={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1},s8n={3:1,4:1,20:1,28:1,52:1,14:1,47:1,15:1,54:1,67:1,63:1,58:1,588:1},h8n="logging",f8n="measureExecutionTime",l8n="parser.parse.1",b8n="parser.parse.2",w8n="parser.next.1",d8n="parser.next.2",g8n="parser.next.3",p8n="parser.next.4",v8n="parser.factor.1",m8n="parser.factor.2",y8n="parser.factor.3",k8n="parser.factor.4",j8n="parser.factor.5",E8n="parser.factor.6",T8n="parser.atom.1",M8n="parser.atom.2",S8n="parser.atom.3",P8n="parser.atom.4",C8n="parser.atom.5",I8n="parser.cc.1",O8n="parser.cc.2",A8n="parser.cc.3",$8n="parser.cc.5",L8n="parser.cc.6",N8n="parser.cc.7",x8n="parser.cc.8",D8n="parser.ope.1",R8n="parser.ope.2",_8n="parser.ope.3",K8n="parser.descape.1",F8n="parser.descape.2",B8n="parser.descape.3",H8n="parser.descape.4",q8n="parser.descape.5",G8n="parser.process.1",z8n="parser.quantifier.1",U8n="parser.quantifier.2",X8n="parser.quantifier.3",W8n="parser.quantifier.4",V8n="parser.quantifier.5",Q8n="org.eclipse.emf.common.notify",J8n={415:1,672:1},Y8n={3:1,4:1,20:1,28:1,52:1,14:1,15:1,67:1,58:1},Z8n={366:1,143:1},n9n="index=",t9n={3:1,4:1,5:1,126:1},e9n={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,58:1},i9n={3:1,6:1,4:1,5:1,192:1},r9n={3:1,4:1,5:1,165:1,367:1},c9n=";/?:@&=+$,",a9n="invalid authority: ",u9n="EAnnotation",o9n="ETypedElement",s9n="EStructuralFeature",h9n="EAttribute",f9n="EClassifier",l9n="EEnumLiteral",b9n="EGenericType",w9n="EOperation",d9n="EParameter",g9n="EReference",p9n="ETypeParameter",v9n="org.eclipse.emf.ecore.util",m9n={76:1},y9n={3:1,20:1,14:1,15:1,58:1,589:1,76:1,69:1,95:1},k9n="org.eclipse.emf.ecore.util.FeatureMap$Entry",j9n=8192,E9n=2048,T9n="byte",M9n="char",S9n="double",P9n="float",C9n="int",I9n="long",O9n="short",A9n="java.lang.Object",$9n={3:1,4:1,5:1,247:1},L9n={3:1,4:1,5:1,673:1},N9n={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1,69:1},x9n={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1,76:1,69:1,95:1},D9n="mixed",R9n="http:///org/eclipse/emf/ecore/util/ExtendedMetaData",_9n="kind",K9n={3:1,4:1,5:1,674:1},F9n={3:1,4:1,20:1,28:1,52:1,14:1,15:1,67:1,58:1,76:1,69:1,95:1},B9n={20:1,28:1,52:1,14:1,15:1,58:1,69:1},H9n={47:1,125:1,279:1},q9n={72:1,332:1},G9n="The value of type '",z9n="' must be of type '",U9n=1316,X9n="http://www.eclipse.org/emf/2002/Ecore",W9n=-32768,V9n="constraints",Q9n="baseType",J9n="getEStructuralFeature",Y9n="getFeatureID",Z9n="feature",n7n="getOperationID",t7n="operation",e7n="defaultValue",i7n="eTypeParameters",r7n="isInstance",c7n="getEEnumLiteral",a7n="eContainingClass",u7n={55:1},o7n={3:1,4:1,5:1,119:1},s7n="org.eclipse.emf.ecore.resource",h7n={92:1,90:1,591:1,1935:1},f7n="org.eclipse.emf.ecore.resource.impl",l7n="unspecified",b7n="simple",w7n="attribute",d7n="attributeWildcard",g7n="element",p7n="elementWildcard",v7n="collapse",m7n="itemType",y7n="namespace",k7n="##targetNamespace",j7n="whiteSpace",E7n="wildcards",T7n="http://www.eclipse.org/emf/2003/XMLType",M7n="##any",S7n="uninitialized",P7n="The multiplicity constraint is violated",C7n="org.eclipse.emf.ecore.xml.type",I7n="ProcessingInstruction",O7n="SimpleAnyType",A7n="XMLTypeDocumentRoot",$7n="org.eclipse.emf.ecore.xml.type.impl",L7n="INF",N7n="processing",x7n="ENTITIES_._base",D7n="minLength",R7n="ENTITY",_7n="NCName",K7n="IDREFS_._base",F7n="integer",B7n="token",H7n="pattern",q7n="[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*",G7n="\\i\\c*",z7n="[\\i-[:]][\\c-[:]]*",U7n="nonPositiveInteger",X7n="maxInclusive",W7n="NMTOKEN",V7n="NMTOKENS_._base",Q7n="nonNegativeInteger",J7n="minInclusive",Y7n="normalizedString",Z7n="unsignedByte",nnt="unsignedInt",tnt="18446744073709551615",ent="unsignedShort",int="processingInstruction",rnt="org.eclipse.emf.ecore.xml.type.internal",cnt=1114111,ant="Internal Error: shorthands: \\u",unt="xml:isDigit",ont="xml:isWord",snt="xml:isSpace",hnt="xml:isNameChar",fnt="xml:isInitialNameChar",lnt="09٠٩۰۹०९০৯੦੯૦૯୦୯௧௯౦౯೦೯൦൯๐๙໐໙༠༩",bnt="AZazÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁΆΆΈΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆאתװײءغفيٱڷںھۀێېۓەەۥۦअहऽऽक़ॡঅঌএঐওনপরললশহড়ঢ়য়ৡৰৱਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹਖ਼ੜਫ਼ਫ਼ੲੴઅઋઍઍએઑઓનપરલળવહઽઽૠૠଅଌଏଐଓନପରଲଳଶହଽଽଡ଼ଢ଼ୟୡஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹఅఌఎఐఒనపళవహౠౡಅಌಎಐಒನಪಳವಹೞೞೠೡഅഌഎഐഒനപഹൠൡกฮะะาำเๅກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະະາຳຽຽເໄཀཇཉཀྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼΩΩKÅ℮℮ↀↂ〇〇〡〩ぁゔァヺㄅㄬ一龥가힣",wnt="Private Use",dnt="ASSIGNED",gnt="\0ÿĀſƀɏɐʯʰ˿̀ͯͰϿЀӿ֏ۿ܀ݏހऀॿঀ૿ఀ౿ಀഀൿༀက႟ႠჿᄀᇿሀᎠ᐀ᙿ ᚠក᠀Ḁỿἀ ⁰₠⃐℀⅏⅐←⇿∀⋿⌀⏿␀⑀①⓿─╿▀▟■◿☀⛿✀➿⠀⣿⺀⼀⿰ 〿ゟ゠ヿㄯ㆐㆟ㆠㆿ㈀㋿㌀㏿㐀䶵一鿿ꀀ꒐가힣豈ffﭏﭐ﷿︠︯︰﹏﹐ﹰ\ufeff\ufeff",pnt="UNASSIGNED",vnt={3:1,117:1},mnt="org.eclipse.emf.ecore.xml.type.util",ynt={3:1,4:1,5:1,368:1},knt="org.eclipse.xtext.xbase.lib",jnt="Cannot add elements to a Range",Ent="Cannot set elements in a Range",Tnt="Cannot remove elements from a Range",Mnt="locale",Snt="default",Pnt="user.agent";i.goog=i.goog||{},i.goog.global=i.goog.global||i,UMn(),lAn(1,null,{},r),EWn.Fb=function(n){return _O(this,n)},EWn.Gb=function(){return this.gm},EWn.Hb=function(){return MN(this)},EWn.Ib=function(){return Yj(Zon(this))+"@"+(Yon(this)>>>0).toString(16)},EWn.equals=function(n){return this.Fb(n)},EWn.hashCode=function(){return this.Hb()},EWn.toString=function(){return this.Ib()},lAn(290,1,{290:1,2026:1},don),EWn.le=function(n){var t;return(t=new don).i=4,t.c=n>1?wZ(this,n-1):this,t},EWn.me=function(){return kD(this),this.b},EWn.ne=function(){return Yj(this)},EWn.oe=function(){return kD(this),this.k},EWn.pe=function(){return!!(4&this.i)},EWn.qe=function(){return!!(1&this.i)},EWn.Ib=function(){return ctn(this)},EWn.i=0;var Cnt,Int=gX(xWn,"Object",1),Ont=gX(xWn,"Class",290);lAn(1998,1,DWn),gX(RWn,"Optional",1998),lAn(1170,1998,DWn,c),EWn.Fb=function(n){return n===this},EWn.Hb=function(){return 2040732332},EWn.Ib=function(){return"Optional.absent()"},EWn.Jb=function(n){return vX(n),ty(),Cnt},gX(RWn,"Absent",1170),lAn(628,1,{},pk),gX(RWn,"Joiner",628);var Ant=fq(RWn,"Predicate");lAn(582,1,{169:1,582:1,3:1,45:1},Ff),EWn.Mb=function(n){return Don(this,n)},EWn.Lb=function(n){return Don(this,n)},EWn.Fb=function(n){var t;return!!iL(n,582)&&(t=KB(n,582),$An(this.a,t.a))},EWn.Hb=function(){return _on(this.a)+306654252},EWn.Ib=function(){return lPn(this.a)},gX(RWn,"Predicates/AndPredicate",582),lAn(408,1998,{408:1,3:1},Bf),EWn.Fb=function(n){var t;return!!iL(n,408)&&(t=KB(n,408),$fn(this.a,t.a))},EWn.Hb=function(){return 1502476572+Yon(this.a)},EWn.Ib=function(){return HWn+this.a+")"},EWn.Jb=function(n){return new Bf(UQ(n.Kb(this.a),"the Function passed to Optional.transform() must not return null."))},gX(RWn,"Present",408),lAn(198,1,GWn),EWn.Nb=function(n){sU(this,n)},EWn.Qb=function(){fk()},gX(zWn,"UnmodifiableIterator",198),lAn(1978,198,UWn),EWn.Qb=function(){fk()},EWn.Rb=function(n){throw Fp(new dv)},EWn.Wb=function(n){throw Fp(new dv)},gX(zWn,"UnmodifiableListIterator",1978),lAn(386,1978,UWn),EWn.Ob=function(){return this.c<this.d},EWn.Sb=function(){return this.c>0},EWn.Pb=function(){if(this.c>=this.d)throw Fp(new vv);return this.Xb(this.c++)},EWn.Tb=function(){return this.c},EWn.Ub=function(){if(this.c<=0)throw Fp(new vv);return this.Xb(--this.c)},EWn.Vb=function(){return this.c-1},EWn.c=0,EWn.d=0,gX(zWn,"AbstractIndexedListIterator",386),lAn(699,198,GWn),EWn.Ob=function(){return Jin(this)},EWn.Pb=function(){return M7(this)},EWn.e=1,gX(zWn,"AbstractIterator",699),lAn(1986,1,{224:1}),EWn.Zb=function(){return this.f||(this.f=this.ac())},EWn.Fb=function(n){return ysn(this,n)},EWn.Hb=function(){return Yon(this.Zb())},EWn.dc=function(){return 0==this.gc()},EWn.ec=function(){return wz(this)},EWn.Ib=function(){return Kbn(this.Zb())},gX(zWn,"AbstractMultimap",1986),lAn(726,1986,XWn),EWn.$b=function(){lin(this)},EWn._b=function(n){return Uj(this,n)},EWn.ac=function(){return new dT(this,this.c)},EWn.ic=function(n){return this.hc()},EWn.bc=function(){return new FL(this,this.c)},EWn.jc=function(){return this.mc(this.hc())},EWn.kc=function(){return new Fm(this)},EWn.lc=function(){return BTn(this.c.vc().Nc(),new u,64,this.d)},EWn.cc=function(n){return o6(this,n)},EWn.fc=function(n){return $hn(this,n)},EWn.gc=function(){return this.d},EWn.mc=function(n){return TQ(),new Fb(n)},EWn.nc=function(){return new Km(this)},EWn.oc=function(){return BTn(this.c.Cc().Nc(),new a,64,this.d)},EWn.pc=function(n,t){return new U6(this,n,t,null)},EWn.d=0,gX(zWn,"AbstractMapBasedMultimap",726),lAn(1631,726,XWn),EWn.hc=function(){return new Q6(this.a)},EWn.jc=function(){return TQ(),TQ(),uet},EWn.cc=function(n){return KB(o6(this,n),15)},EWn.fc=function(n){return KB($hn(this,n),15)},EWn.Zb=function(){return CQ(this)},EWn.Fb=function(n){return ysn(this,n)},EWn.qc=function(n){return KB(o6(this,n),15)},EWn.rc=function(n){return KB($hn(this,n),15)},EWn.mc=function(n){return eJ(KB(n,15))},EWn.pc=function(n,t){return t3(this,n,KB(t,15),null)},gX(zWn,"AbstractListMultimap",1631),lAn(732,1,WWn),EWn.Nb=function(n){sU(this,n)},EWn.Ob=function(){return this.c.Ob()||this.e.Ob()},EWn.Pb=function(){var n;return this.e.Ob()||(n=KB(this.c.Pb(),42),this.b=n.cd(),this.a=KB(n.dd(),14),this.e=this.a.Kc()),this.sc(this.b,this.e.Pb())},EWn.Qb=function(){this.e.Qb(),this.a.dc()&&this.c.Qb(),--this.d.d},gX(zWn,"AbstractMapBasedMultimap/Itr",732),lAn(1099,732,WWn,Km),EWn.sc=function(n,t){return t},gX(zWn,"AbstractMapBasedMultimap/1",1099),lAn(1100,1,{},a),EWn.Kb=function(n){return KB(n,14).Nc()},gX(zWn,"AbstractMapBasedMultimap/1methodref$spliterator$Type",1100),lAn(1101,732,WWn,Fm),EWn.sc=function(n,t){return new gT(n,t)},gX(zWn,"AbstractMapBasedMultimap/2",1101);var $nt=fq(VWn,"Map");lAn(1967,1,QWn),EWn.wc=function(n){Ycn(this,n)},EWn.yc=function(n,t,e){return Jln(this,n,t,e)},EWn.$b=function(){this.vc().$b()},EWn.tc=function(n){return Emn(this,n)},EWn._b=function(n){return!!_En(this,n,!1)},EWn.uc=function(n){var t,e;for(t=this.vc().Kc();t.Ob();)if(e=KB(t.Pb(),42).dd(),HI(n)===HI(e)||null!=n&&$fn(n,e))return!0;return!1},EWn.Fb=function(n){var t,e,i;if(n===this)return!0;if(!iL(n,83))return!1;if(i=KB(n,83),this.gc()!=i.gc())return!1;for(e=i.vc().Kc();e.Ob();)if(t=KB(e.Pb(),42),!this.tc(t))return!1;return!0},EWn.xc=function(n){return BI(_En(this,n,!1))},EWn.Hb=function(){return Fun(this.vc())},EWn.dc=function(){return 0==this.gc()},EWn.ec=function(){return new Sb(this)},EWn.zc=function(n,t){throw Fp(new Zy("Put not supported on this map"))},EWn.Ac=function(n){jcn(this,n)},EWn.Bc=function(n){return BI(_En(this,n,!0))},EWn.gc=function(){return this.vc().gc()},EWn.Ib=function(){return YEn(this)},EWn.Cc=function(){return new Cb(this)},gX(VWn,"AbstractMap",1967),lAn(1987,1967,QWn),EWn.bc=function(){return new TT(this)},EWn.vc=function(){return bz(this)},EWn.ec=function(){return this.g||(this.g=this.bc())},EWn.Cc=function(){return this.i||(this.i=new MT(this))},gX(zWn,"Maps/ViewCachingAbstractMap",1987),lAn(389,1987,QWn,dT),EWn.xc=function(n){return mtn(this,n)},EWn.Bc=function(n){return Jsn(this,n)},EWn.$b=function(){this.d==this.e.c?this.e.$b():Sq(new Cq(this))},EWn._b=function(n){return wfn(this.d,n)},EWn.Ec=function(){return new zf(this)},EWn.Dc=function(){return this.Ec()},EWn.Fb=function(n){return this===n||$fn(this.d,n)},EWn.Hb=function(){return Yon(this.d)},EWn.ec=function(){return this.e.ec()},EWn.gc=function(){return this.d.gc()},EWn.Ib=function(){return Kbn(this.d)},gX(zWn,"AbstractMapBasedMultimap/AsMap",389);var Lnt=fq(xWn,"Iterable");lAn(28,1,JWn),EWn.Jc=function(n){n5(this,n)},EWn.Lc=function(){return this.Oc()},EWn.Nc=function(){return new l1(this,0)},EWn.Oc=function(){return new xq(null,this.Nc())},EWn.Fc=function(n){throw Fp(new Zy("Add not supported on this collection"))},EWn.Gc=function(n){return _rn(this,n)},EWn.$b=function(){jV(this)},EWn.Hc=function(n){return vwn(this,n,!1)},EWn.Ic=function(n){return aun(this,n)},EWn.dc=function(){return 0==this.gc()},EWn.Mc=function(n){return vwn(this,n,!0)},EWn.Pc=function(){return iz(this)},EWn.Qc=function(n){return kmn(this,n)},EWn.Ib=function(){return AMn(this)},gX(VWn,"AbstractCollection",28);var Nnt=fq(VWn,"Set");lAn(YWn,28,ZWn),EWn.Nc=function(){return new l1(this,1)},EWn.Fb=function(n){return tgn(this,n)},EWn.Hb=function(){return Fun(this)},gX(VWn,"AbstractSet",YWn),lAn(1970,YWn,ZWn),gX(zWn,"Sets/ImprovedAbstractSet",1970),lAn(1971,1970,ZWn),EWn.$b=function(){this.Rc().$b()},EWn.Hc=function(n){return tdn(this,n)},EWn.dc=function(){return this.Rc().dc()},EWn.Mc=function(n){var t;return!!this.Hc(n)&&(t=KB(n,42),this.Rc().ec().Mc(t.cd()))},EWn.gc=function(){return this.Rc().gc()},gX(zWn,"Maps/EntrySet",1971),lAn(1097,1971,ZWn,zf),EWn.Hc=function(n){return lfn(this.a.d.vc(),n)},EWn.Kc=function(){return new Cq(this.a)},EWn.Rc=function(){return this.a},EWn.Mc=function(n){var t;return!!lfn(this.a.d.vc(),n)&&(t=KB(n,42),F5(this.a.e,t.cd()),!0)},EWn.Nc=function(){return xB(this.a.d.vc().Nc(),new Uf(this.a))},gX(zWn,"AbstractMapBasedMultimap/AsMap/AsMapEntries",1097),lAn(1098,1,{},Uf),EWn.Kb=function(n){return t5(this.a,KB(n,42))},gX(zWn,"AbstractMapBasedMultimap/AsMap/AsMapEntries/0methodref$wrapEntry$Type",1098),lAn(730,1,WWn,Cq),EWn.Nb=function(n){sU(this,n)},EWn.Pb=function(){var n;return n=KB(this.b.Pb(),42),this.a=KB(n.dd(),14),t5(this.c,n)},EWn.Ob=function(){return this.b.Ob()},EWn.Qb=function(){oan(!!this.a),this.b.Qb(),this.c.e.d-=this.a.gc(),this.a.$b(),this.a=null},gX(zWn,"AbstractMapBasedMultimap/AsMap/AsMapIterator",730),lAn(532,1970,ZWn,TT),EWn.$b=function(){this.b.$b()},EWn.Hc=function(n){return this.b._b(n)},EWn.Jc=function(n){vX(n),this.b.wc(new gl(n))},EWn.dc=function(){return this.b.dc()},EWn.Kc=function(){return new hy(this.b.vc().Kc())},EWn.Mc=function(n){return!!this.b._b(n)&&(this.b.Bc(n),!0)},EWn.gc=function(){return this.b.gc()},gX(zWn,"Maps/KeySet",532),lAn(318,532,ZWn,FL),EWn.$b=function(){Sq(new nT(this,this.b.vc().Kc()))},EWn.Ic=function(n){return this.b.ec().Ic(n)},EWn.Fb=function(n){return this===n||$fn(this.b.ec(),n)},EWn.Hb=function(){return Yon(this.b.ec())},EWn.Kc=function(){return new nT(this,this.b.vc().Kc())},EWn.Mc=function(n){var t,e;return e=0,(t=KB(this.b.Bc(n),14))&&(e=t.gc(),t.$b(),this.a.d-=e),e>0},EWn.Nc=function(){return this.b.ec().Nc()},gX(zWn,"AbstractMapBasedMultimap/KeySet",318),lAn(731,1,WWn,nT),EWn.Nb=function(n){sU(this,n)},EWn.Ob=function(){return this.c.Ob()},EWn.Pb=function(){return this.a=KB(this.c.Pb(),42),this.a.cd()},EWn.Qb=function(){var n;oan(!!this.a),n=KB(this.a.dd(),14),this.c.Qb(),this.b.a.d-=n.gc(),n.$b(),this.a=null},gX(zWn,"AbstractMapBasedMultimap/KeySet/1",731),lAn(491,389,{83:1,161:1},SD),EWn.bc=function(){return this.Sc()},EWn.ec=function(){return this.Tc()},EWn.Sc=function(){return new YE(this.c,this.Uc())},EWn.Tc=function(){return this.b||(this.b=this.Sc())},EWn.Uc=function(){return KB(this.d,161)},gX(zWn,"AbstractMapBasedMultimap/SortedAsMap",491),lAn(542,491,nVn,PD),EWn.bc=function(){return new ZE(this.a,KB(KB(this.d,161),171))},EWn.Sc=function(){return new ZE(this.a,KB(KB(this.d,161),171))},EWn.ec=function(){return KB(this.b||(this.b=new ZE(this.a,KB(KB(this.d,161),171))),271)},EWn.Tc=function(){return KB(this.b||(this.b=new ZE(this.a,KB(KB(this.d,161),171))),271)},EWn.Uc=function(){return KB(KB(this.d,161),171)},gX(zWn,"AbstractMapBasedMultimap/NavigableAsMap",542),lAn(490,318,tVn,YE),EWn.Nc=function(){return this.b.ec().Nc()},gX(zWn,"AbstractMapBasedMultimap/SortedKeySet",490),lAn(388,490,eVn,ZE),gX(zWn,"AbstractMapBasedMultimap/NavigableKeySet",388),lAn(541,28,JWn,U6),EWn.Fc=function(n){var t,e;return qbn(this),e=this.d.dc(),(t=this.d.Fc(n))&&(++this.f.d,e&&yR(this)),t},EWn.Gc=function(n){var t,e,i;return!n.dc()&&(qbn(this),i=this.d.gc(),(t=this.d.Gc(n))&&(e=this.d.gc(),this.f.d+=e-i,0==i&&yR(this)),t)},EWn.$b=function(){var n;qbn(this),0!=(n=this.d.gc())&&(this.d.$b(),this.f.d-=n,OG(this))},EWn.Hc=function(n){return qbn(this),this.d.Hc(n)},EWn.Ic=function(n){return qbn(this),this.d.Ic(n)},EWn.Fb=function(n){return n===this||(qbn(this),$fn(this.d,n))},EWn.Hb=function(){return qbn(this),Yon(this.d)},EWn.Kc=function(){return qbn(this),new WB(this)},EWn.Mc=function(n){var t;return qbn(this),(t=this.d.Mc(n))&&(--this.f.d,OG(this)),t},EWn.gc=function(){return ZI(this)},EWn.Nc=function(){return qbn(this),this.d.Nc()},EWn.Ib=function(){return qbn(this),Kbn(this.d)},gX(zWn,"AbstractMapBasedMultimap/WrappedCollection",541);var xnt=fq(VWn,"List");lAn(728,541,{20:1,28:1,14:1,15:1},uz),EWn.ad=function(n){Rrn(this,n)},EWn.Nc=function(){return qbn(this),this.d.Nc()},EWn.Vc=function(n,t){var e;qbn(this),e=this.d.dc(),KB(this.d,15).Vc(n,t),++this.a.d,e&&yR(this)},EWn.Wc=function(n,t){var e,i,r;return!t.dc()&&(qbn(this),r=this.d.gc(),(e=KB(this.d,15).Wc(n,t))&&(i=this.d.gc(),this.a.d+=i-r,0==r&&yR(this)),e)},EWn.Xb=function(n){return qbn(this),KB(this.d,15).Xb(n)},EWn.Xc=function(n){return qbn(this),KB(this.d,15).Xc(n)},EWn.Yc=function(){return qbn(this),new w$(this)},EWn.Zc=function(n){return qbn(this),new wQ(this,n)},EWn.$c=function(n){var t;return qbn(this),t=KB(this.d,15).$c(n),--this.a.d,OG(this),t},EWn._c=function(n,t){return qbn(this),KB(this.d,15)._c(n,t)},EWn.bd=function(n,t){return qbn(this),t3(this.a,this.e,KB(this.d,15).bd(n,t),this.b?this.b:this)},gX(zWn,"AbstractMapBasedMultimap/WrappedList",728),lAn(1096,728,{20:1,28:1,14:1,15:1,54:1},Cx),gX(zWn,"AbstractMapBasedMultimap/RandomAccessWrappedList",1096),lAn(620,1,WWn,WB),EWn.Nb=function(n){sU(this,n)},EWn.Ob=function(){return EV(this),this.b.Ob()},EWn.Pb=function(){return EV(this),this.b.Pb()},EWn.Qb=function(){nN(this)},gX(zWn,"AbstractMapBasedMultimap/WrappedCollection/WrappedIterator",620),lAn(729,620,iVn,w$,wQ),EWn.Qb=function(){nN(this)},EWn.Rb=function(n){var t;t=0==ZI(this.a),(EV(this),KB(this.b,125)).Rb(n),++this.a.a.d,t&&yR(this.a)},EWn.Sb=function(){return(EV(this),KB(this.b,125)).Sb()},EWn.Tb=function(){return(EV(this),KB(this.b,125)).Tb()},EWn.Ub=function(){return(EV(this),KB(this.b,125)).Ub()},EWn.Vb=function(){return(EV(this),KB(this.b,125)).Vb()},EWn.Wb=function(n){(EV(this),KB(this.b,125)).Wb(n)},gX(zWn,"AbstractMapBasedMultimap/WrappedList/WrappedListIterator",729),lAn(727,541,tVn,$D),EWn.Nc=function(){return qbn(this),this.d.Nc()},gX(zWn,"AbstractMapBasedMultimap/WrappedSortedSet",727),lAn(1095,727,eVn,IA),gX(zWn,"AbstractMapBasedMultimap/WrappedNavigableSet",1095),lAn(1094,541,ZWn,LD),EWn.Nc=function(){return qbn(this),this.d.Nc()},gX(zWn,"AbstractMapBasedMultimap/WrappedSet",1094),lAn(1103,1,{},u),EWn.Kb=function(n){return _6(KB(n,42))},gX(zWn,"AbstractMapBasedMultimap/lambda$1$Type",1103),lAn(1102,1,{},Xf),EWn.Kb=function(n){return new gT(this.a,n)},gX(zWn,"AbstractMapBasedMultimap/lambda$2$Type",1102);var Dnt,Rnt,_nt,Knt,Fnt=fq(VWn,"Map/Entry");lAn(345,1,rVn),EWn.Fb=function(n){var t;return!!iL(n,42)&&(t=KB(n,42),lW(this.cd(),t.cd())&&lW(this.dd(),t.dd()))},EWn.Hb=function(){var n,t;return n=this.cd(),t=this.dd(),(null==n?0:Yon(n))^(null==t?0:Yon(t))},EWn.ed=function(n){throw Fp(new dv)},EWn.Ib=function(){return this.cd()+"="+this.dd()},gX(zWn,cVn,345),lAn(1988,28,JWn),EWn.$b=function(){this.fd().$b()},EWn.Hc=function(n){var t;return!!iL(n,42)&&(t=KB(n,42),F0(this.fd(),t.cd(),t.dd()))},EWn.Mc=function(n){var t;return!!iL(n,42)&&(t=KB(n,42),B0(this.fd(),t.cd(),t.dd()))},EWn.gc=function(){return this.fd().d},gX(zWn,"Multimaps/Entries",1988),lAn(733,1988,JWn,Wf),EWn.Kc=function(){return this.a.kc()},EWn.fd=function(){return this.a},EWn.Nc=function(){return this.a.lc()},gX(zWn,"AbstractMultimap/Entries",733),lAn(734,733,ZWn,Bm),EWn.Nc=function(){return this.a.lc()},EWn.Fb=function(n){return qSn(this,n)},EWn.Hb=function(){return Krn(this)},gX(zWn,"AbstractMultimap/EntrySet",734),lAn(735,28,JWn,Vf),EWn.$b=function(){this.a.$b()},EWn.Hc=function(n){return Psn(this.a,n)},EWn.Kc=function(){return this.a.nc()},EWn.gc=function(){return this.a.d},EWn.Nc=function(){return this.a.oc()},gX(zWn,"AbstractMultimap/Values",735),lAn(1989,28,{835:1,20:1,28:1,14:1}),EWn.Jc=function(n){vX(n),kV(this).Jc(new dl(n))},EWn.Nc=function(){var n;return BTn(n=kV(this).Nc(),new y,64|1296&n.qd(),this.a.d)},EWn.Fc=function(n){return lk(),!0},EWn.Gc=function(n){return vX(this),vX(n),iL(n,543)?h2(KB(n,835)):!n.dc()&&snn(this,n.Kc())},EWn.Hc=function(n){var t;return((t=KB(hfn(CQ(this.a),n),14))?t.gc():0)>0},EWn.Fb=function(n){return o$n(this,n)},EWn.Hb=function(){return Yon(kV(this))},EWn.dc=function(){return kV(this).dc()},EWn.Mc=function(n){return kIn(this,n,1)>0},EWn.Ib=function(){return Kbn(kV(this))},gX(zWn,"AbstractMultiset",1989),lAn(1991,1970,ZWn),EWn.$b=function(){lin(this.a.a)},EWn.Hc=function(n){var t;return!(!iL(n,492)||(t=KB(n,416),KB(t.a.dd(),14).gc()<=0||i1(this.a,t.a.cd())!=KB(t.a.dd(),14).gc()))},EWn.Mc=function(n){var t,e,i;return!(!iL(n,492)||(t=(e=KB(n,416)).a.cd(),0==(i=KB(e.a.dd(),14).gc())))&&jIn(this.a,t,i)},gX(zWn,"Multisets/EntrySet",1991),lAn(1109,1991,ZWn,Qf),EWn.Kc=function(){return new ly(bz(CQ(this.a.a)).Kc())},EWn.gc=function(){return CQ(this.a.a).gc()},gX(zWn,"AbstractMultiset/EntrySet",1109),lAn(619,726,XWn),EWn.hc=function(){return this.gd()},EWn.jc=function(){return this.hd()},EWn.cc=function(n){return this.jd(n)},EWn.fc=function(n){return this.kd(n)},EWn.Zb=function(){return this.f||(this.f=this.ac())},EWn.hd=function(){return TQ(),TQ(),set},EWn.Fb=function(n){return ysn(this,n)},EWn.jd=function(n){return KB(o6(this,n),21)},EWn.kd=function(n){return KB($hn(this,n),21)},EWn.mc=function(n){return TQ(),new Ik(KB(n,21))},EWn.pc=function(n,t){return new LD(this,n,KB(t,21))},gX(zWn,"AbstractSetMultimap",619),lAn(1657,619,XWn),EWn.hc=function(){return new bE(this.b)},EWn.gd=function(){return new bE(this.b)},EWn.jc=function(){return PX(new bE(this.b))},EWn.hd=function(){return PX(new bE(this.b))},EWn.cc=function(n){return KB(KB(o6(this,n),21),84)},EWn.jd=function(n){return KB(KB(o6(this,n),21),84)},EWn.fc=function(n){return KB(KB($hn(this,n),21),84)},EWn.kd=function(n){return KB(KB($hn(this,n),21),84)},EWn.mc=function(n){return iL(n,271)?PX(KB(n,271)):(TQ(),new bN(KB(n,84)))},EWn.Zb=function(){return this.f||(this.f=iL(this.c,171)?new PD(this,KB(this.c,171)):iL(this.c,161)?new SD(this,KB(this.c,161)):new dT(this,this.c))},EWn.pc=function(n,t){return iL(t,271)?new IA(this,n,KB(t,271)):new $D(this,n,KB(t,84))},gX(zWn,"AbstractSortedSetMultimap",1657),lAn(1658,1657,XWn),EWn.Zb=function(){return KB(KB(this.f||(this.f=iL(this.c,171)?new PD(this,KB(this.c,171)):iL(this.c,161)?new SD(this,KB(this.c,161)):new dT(this,this.c)),161),171)},EWn.ec=function(){return KB(KB(this.i||(this.i=iL(this.c,171)?new ZE(this,KB(this.c,171)):iL(this.c,161)?new YE(this,KB(this.c,161)):new FL(this,this.c)),84),271)},EWn.bc=function(){return iL(this.c,171)?new ZE(this,KB(this.c,171)):iL(this.c,161)?new YE(this,KB(this.c,161)):new FL(this,this.c)},gX(zWn,"AbstractSortedKeySortedSetMultimap",1658),lAn(2010,1,{1947:1}),EWn.Fb=function(n){return Sjn(this,n)},EWn.Hb=function(){return Fun(this.g||(this.g=new Jf(this)))},EWn.Ib=function(){return YEn(this.f||(this.f=new GL(this)))},gX(zWn,"AbstractTable",2010),lAn(665,YWn,ZWn,Jf),EWn.$b=function(){bk()},EWn.Hc=function(n){var t,e;return!!iL(n,468)&&(t=KB(n,682),!!(e=KB(hfn(yX(this.a),UI(t.c.e,t.b)),83))&&lfn(e.vc(),new gT(UI(t.c.c,t.a),G6(t.c,t.b,t.a))))},EWn.Kc=function(){return JQ(this.a)},EWn.Mc=function(n){var t,e;return!!iL(n,468)&&(t=KB(n,682),!!(e=KB(hfn(yX(this.a),UI(t.c.e,t.b)),83))&&bfn(e.vc(),new gT(UI(t.c.c,t.a),G6(t.c,t.b,t.a))))},EWn.gc=function(){return qq(this.a)},EWn.Nc=function(){return M2(this.a)},gX(zWn,"AbstractTable/CellSet",665),lAn(1928,28,JWn,Yf),EWn.$b=function(){bk()},EWn.Hc=function(n){return oTn(this.a,n)},EWn.Kc=function(){return YQ(this.a)},EWn.gc=function(){return qq(this.a)},EWn.Nc=function(){return V0(this.a)},gX(zWn,"AbstractTable/Values",1928),lAn(1632,1631,XWn),gX(zWn,"ArrayListMultimapGwtSerializationDependencies",1632),lAn(513,1632,XWn,ak,a1),EWn.hc=function(){return new Q6(this.a)},EWn.a=0,gX(zWn,"ArrayListMultimap",513),lAn(664,2010,{664:1,1947:1,3:1},gOn),gX(zWn,"ArrayTable",664),lAn(1924,386,UWn,BL),EWn.Xb=function(n){return new won(this.a,n)},gX(zWn,"ArrayTable/1",1924),lAn(1925,1,{},Hf),EWn.ld=function(n){return new won(this.a,n)},gX(zWn,"ArrayTable/1methodref$getCell$Type",1925),lAn(2011,1,{682:1}),EWn.Fb=function(n){var t;return n===this||!!iL(n,468)&&(t=KB(n,682),lW(UI(this.c.e,this.b),UI(t.c.e,t.b))&&lW(UI(this.c.c,this.a),UI(t.c.c,t.a))&&lW(G6(this.c,this.b,this.a),G6(t.c,t.b,t.a)))},EWn.Hb=function(){return shn(Mun(Hk(Int,1),FWn,1,5,[UI(this.c.e,this.b),UI(this.c.c,this.a),G6(this.c,this.b,this.a)]))},EWn.Ib=function(){return"("+UI(this.c.e,this.b)+","+UI(this.c.c,this.a)+")="+G6(this.c,this.b,this.a)},gX(zWn,"Tables/AbstractCell",2011),lAn(468,2011,{468:1,682:1},won),EWn.a=0,EWn.b=0,EWn.d=0,gX(zWn,"ArrayTable/2",468),lAn(1927,1,{},qf),EWn.ld=function(n){return V9(this.a,n)},gX(zWn,"ArrayTable/2methodref$getValue$Type",1927),lAn(1926,386,UWn,HL),EWn.Xb=function(n){return V9(this.a,n)},gX(zWn,"ArrayTable/3",1926),lAn(1979,1967,QWn),EWn.$b=function(){Sq(this.kc())},EWn.vc=function(){return new pl(this)},EWn.lc=function(){return new SV(this.kc(),this.gc())},gX(zWn,"Maps/IteratorBasedAbstractMap",1979),lAn(828,1979,QWn),EWn.$b=function(){throw Fp(new dv)},EWn._b=function(n){return Vj(this.c,n)},EWn.kc=function(){return new qL(this,this.c.b.c.gc())},EWn.lc=function(){return vq(this.c.b.c.gc(),16,new Gf(this))},EWn.xc=function(n){var t;return(t=KB(G_(this.c,n),19))?this.nd(t.a):null},EWn.dc=function(){return this.c.b.c.dc()},EWn.ec=function(){return fz(this.c)},EWn.zc=function(n,t){var e;if(!(e=KB(G_(this.c,n),19)))throw Fp(new Ry(this.md()+" "+n+" not in "+fz(this.c)));return this.od(e.a,t)},EWn.Bc=function(n){throw Fp(new dv)},EWn.gc=function(){return this.c.b.c.gc()},gX(zWn,"ArrayTable/ArrayMap",828),lAn(1923,1,{},Gf),EWn.ld=function(n){return CX(this.a,n)},gX(zWn,"ArrayTable/ArrayMap/0methodref$getEntry$Type",1923),lAn(1921,345,rVn,uT),EWn.cd=function(){return VL(this.a,this.b)},EWn.dd=function(){return this.a.nd(this.b)},EWn.ed=function(n){return this.a.od(this.b,n)},EWn.b=0,gX(zWn,"ArrayTable/ArrayMap/1",1921),lAn(1922,386,UWn,qL),EWn.Xb=function(n){return CX(this.a,n)},gX(zWn,"ArrayTable/ArrayMap/2",1922),lAn(1920,828,QWn,iU),EWn.md=function(){return"Column"},EWn.nd=function(n){return G6(this.b,this.a,n)},EWn.od=function(n,t){return Tun(this.b,this.a,n,t)},EWn.a=0,gX(zWn,"ArrayTable/Row",1920),lAn(829,828,QWn,GL),EWn.nd=function(n){return new iU(this.a,n)},EWn.zc=function(n,t){return KB(t,83),wk()},EWn.od=function(n,t){return KB(t,83),dk()},EWn.md=function(){return"Row"},gX(zWn,"ArrayTable/RowMap",829),lAn(1120,1,sVn,oT),EWn.qd=function(){return-262&this.a.qd()},EWn.rd=function(){return this.a.rd()},EWn.Nb=function(n){this.a.Nb(new iT(n,this.b))},EWn.sd=function(n){return this.a.sd(new eT(n,this.b))},gX(zWn,"CollectSpliterators/1",1120),lAn(1121,1,hVn,eT),EWn.td=function(n){this.a.td(this.b.Kb(n))},gX(zWn,"CollectSpliterators/1/lambda$0$Type",1121),lAn(1122,1,hVn,iT),EWn.td=function(n){this.a.td(this.b.Kb(n))},gX(zWn,"CollectSpliterators/1/lambda$1$Type",1122),lAn(1123,1,sVn,B2),EWn.qd=function(){return this.a},EWn.rd=function(){return this.d&&(this.b=j$(this.b,this.d.rd())),j$(this.b,0)},EWn.Nb=function(n){this.d&&(this.d.Nb(n),this.d=null),this.c.Nb(new tT(this.e,n)),this.b=0},EWn.sd=function(n){for(;;){if(this.d&&this.d.sd(n))return QI(this.b,fVn)&&(this.b=tbn(this.b,1)),!0;if(this.d=null,!this.c.sd(new rT(this,this.e)))return!1}},EWn.a=0,EWn.b=0,gX(zWn,"CollectSpliterators/1FlatMapSpliterator",1123),lAn(1124,1,hVn,rT),EWn.td=function(n){b_(this.a,this.b,n)},gX(zWn,"CollectSpliterators/1FlatMapSpliterator/lambda$0$Type",1124),lAn(1125,1,hVn,tT),EWn.td=function(n){aL(this.b,this.a,n)},gX(zWn,"CollectSpliterators/1FlatMapSpliterator/lambda$1$Type",1125),lAn(1117,1,sVn,l_),EWn.qd=function(){return 16464|this.b},EWn.rd=function(){return this.a.rd()},EWn.Nb=function(n){this.a.xe(new aT(n,this.c))},EWn.sd=function(n){return this.a.ye(new cT(n,this.c))},EWn.b=0,gX(zWn,"CollectSpliterators/1WithCharacteristics",1117),lAn(1118,1,lVn,cT),EWn.ud=function(n){this.a.td(this.b.ld(n))},gX(zWn,"CollectSpliterators/1WithCharacteristics/lambda$0$Type",1118),lAn(1119,1,lVn,aT),EWn.ud=function(n){this.a.td(this.b.ld(n))},gX(zWn,"CollectSpliterators/1WithCharacteristics/lambda$1$Type",1119),lAn(245,1,bVn),EWn.wd=function(n){return this.vd(KB(n,245))},EWn.vd=function(n){var t;return n==(Zm(),Rnt)?1:n==(ny(),Dnt)?-1:(YH(),0!=(t=$cn(this.a,n.a))?t:iL(this,519)==iL(n,519)?0:iL(this,519)?1:-1)},EWn.zd=function(){return this.a},EWn.Fb=function(n){return Ldn(this,n)},gX(zWn,"Cut",245),lAn(1761,245,bVn,$k),EWn.vd=function(n){return n==this?0:1},EWn.xd=function(n){throw Fp(new ov)},EWn.yd=function(n){n.a+="+∞)"},EWn.zd=function(){throw Fp(new _y(wVn))},EWn.Hb=function(){return OT(),nvn(this)},EWn.Ad=function(n){return!1},EWn.Ib=function(){return"+∞"},gX(zWn,"Cut/AboveAll",1761),lAn(519,245,{245:1,519:1,3:1,35:1},tN),EWn.xd=function(n){cO((n.a+="(",n),this.a)},EWn.yd=function(n){LX(cO(n,this.a),93)},EWn.Hb=function(){return~Yon(this.a)},EWn.Ad=function(n){return YH(),$cn(this.a,n)<0},EWn.Ib=function(){return"/"+this.a+"\\"},gX(zWn,"Cut/AboveValue",519),lAn(1760,245,bVn,Lk),EWn.vd=function(n){return n==this?0:-1},EWn.xd=function(n){n.a+="(-∞"},EWn.yd=function(n){throw Fp(new ov)},EWn.zd=function(){throw Fp(new _y(wVn))},EWn.Hb=function(){return OT(),nvn(this)},EWn.Ad=function(n){return!0},EWn.Ib=function(){return"-∞"},gX(zWn,"Cut/BelowAll",1760),lAn(1762,245,bVn,eN),EWn.xd=function(n){cO((n.a+="[",n),this.a)},EWn.yd=function(n){LX(cO(n,this.a),41)},EWn.Hb=function(){return Yon(this.a)},EWn.Ad=function(n){return YH(),$cn(this.a,n)<=0},EWn.Ib=function(){return"\\"+this.a+"/"},gX(zWn,"Cut/BelowValue",1762),lAn(537,1,dVn),EWn.Jc=function(n){n5(this,n)},EWn.Ib=function(){return Fln(KB(UQ(this,"use Optional.orNull() instead of Optional.or(null)"),20).Kc())},gX(zWn,"FluentIterable",537),lAn(433,537,dVn,CO),EWn.Kc=function(){return new az(JL(this.a.Kc(),new h))},gX(zWn,"FluentIterable/2",433),lAn(1046,537,dVn,IO),EWn.Kc=function(){return $U(this)},gX(zWn,"FluentIterable/3",1046),lAn(708,386,UWn,UL),EWn.Xb=function(n){return this.a[n].Kc()},gX(zWn,"FluentIterable/3/1",708),lAn(1972,1,{}),EWn.Ib=function(){return Kbn(this.Bd().b)},gX(zWn,"ForwardingObject",1972),lAn(1973,1972,gVn),EWn.Bd=function(){return this.Cd()},EWn.Jc=function(n){n5(this,n)},EWn.Lc=function(){return this.Oc()},EWn.Nc=function(){return new l1(this,0)},EWn.Oc=function(){return new xq(null,this.Nc())},EWn.Fc=function(n){return this.Cd(),aE()},EWn.Gc=function(n){return this.Cd(),uE()},EWn.$b=function(){this.Cd(),oE()},EWn.Hc=function(n){return this.Cd().Hc(n)},EWn.Ic=function(n){return this.Cd().Ic(n)},EWn.dc=function(){return this.Cd().b.dc()},EWn.Kc=function(){return this.Cd().Kc()},EWn.Mc=function(n){return this.Cd(),sE()},EWn.gc=function(){return this.Cd().b.gc()},EWn.Pc=function(){return this.Cd().Pc()},EWn.Qc=function(n){return this.Cd().Qc(n)},gX(zWn,"ForwardingCollection",1973),lAn(1980,28,pVn),EWn.Kc=function(){return this.Ed()},EWn.Fc=function(n){throw Fp(new dv)},EWn.Gc=function(n){throw Fp(new dv)},EWn.$b=function(){throw Fp(new dv)},EWn.Hc=function(n){return null!=n&&vwn(this,n,!1)},EWn.Dd=function(){switch(this.gc()){case 0:return UX(),UX(),_nt;case 1:return UX(),new Mq(vX(this.Ed().Pb()));default:return new rU(this,this.Pc())}},EWn.Mc=function(n){throw Fp(new dv)},gX(zWn,"ImmutableCollection",1980),lAn(712,1980,pVn,ev),EWn.Kc=function(){return A9(this.a.Kc())},EWn.Hc=function(n){return null!=n&&this.a.Hc(n)},EWn.Ic=function(n){return this.a.Ic(n)},EWn.dc=function(){return this.a.dc()},EWn.Ed=function(){return A9(this.a.Kc())},EWn.gc=function(){return this.a.gc()},EWn.Pc=function(){return this.a.Pc()},EWn.Qc=function(n){return this.a.Qc(n)},EWn.Ib=function(){return Kbn(this.a)},gX(zWn,"ForwardingImmutableCollection",712),lAn(152,1980,vVn),EWn.Kc=function(){return this.Ed()},EWn.Yc=function(){return this.Fd(0)},EWn.Zc=function(n){return this.Fd(n)},EWn.ad=function(n){Rrn(this,n)},EWn.Nc=function(){return new l1(this,16)},EWn.bd=function(n,t){return this.Gd(n,t)},EWn.Vc=function(n,t){throw Fp(new dv)},EWn.Wc=function(n,t){throw Fp(new dv)},EWn.Fb=function(n){return BAn(this,n)},EWn.Hb=function(){return Pan(this)},EWn.Xc=function(n){return null==n?-1:jmn(this,n)},EWn.Ed=function(){return this.Fd(0)},EWn.Fd=function(n){return tx(this,n)},EWn.$c=function(n){throw Fp(new dv)},EWn._c=function(n,t){throw Fp(new dv)},EWn.Gd=function(n,t){return ufn(new u1(new PT(this),n,t))},gX(zWn,"ImmutableList",152),lAn(2006,152,vVn),EWn.Kc=function(){return A9(this.Hd().Kc())},EWn.bd=function(n,t){return ufn(this.Hd().bd(n,t))},EWn.Hc=function(n){return null!=n&&this.Hd().Hc(n)},EWn.Ic=function(n){return this.Hd().Ic(n)},EWn.Fb=function(n){return $fn(this.Hd(),n)},EWn.Xb=function(n){return UI(this,n)},EWn.Hb=function(){return Yon(this.Hd())},EWn.Xc=function(n){return this.Hd().Xc(n)},EWn.dc=function(){return this.Hd().dc()},EWn.Ed=function(){return A9(this.Hd().Kc())},EWn.gc=function(){return this.Hd().gc()},EWn.Gd=function(n,t){return ufn(this.Hd().bd(n,t))},EWn.Pc=function(){return this.Hd().Qc(L8(Int,FWn,1,this.Hd().gc(),5,1))},EWn.Qc=function(n){return this.Hd().Qc(n)},EWn.Ib=function(){return Kbn(this.Hd())},gX(zWn,"ForwardingImmutableList",2006),lAn(714,1,yVn),EWn.vc=function(){return hz(this)},EWn.wc=function(n){Ycn(this,n)},EWn.ec=function(){return fz(this)},EWn.yc=function(n,t,e){return Jln(this,n,t,e)},EWn.Cc=function(){return this.Ld()},EWn.$b=function(){throw Fp(new dv)},EWn._b=function(n){return null!=this.xc(n)},EWn.uc=function(n){return this.Ld().Hc(n)},EWn.Jd=function(){return new iv(this)},EWn.Kd=function(){return new rv(this)},EWn.Fb=function(n){return Osn(this,n)},EWn.Hb=function(){return hz(this).Hb()},EWn.dc=function(){return 0==this.gc()},EWn.zc=function(n,t){return gk()},EWn.Bc=function(n){throw Fp(new dv)},EWn.Ib=function(){return sSn(this)},EWn.Ld=function(){return this.e?this.e:this.e=this.Kd()},EWn.c=null,EWn.d=null,EWn.e=null,gX(zWn,"ImmutableMap",714),lAn(715,714,yVn),EWn._b=function(n){return Vj(this,n)},EWn.uc=function(n){return RT(this.b,n)},EWn.Id=function(){return ofn(new nl(this))},EWn.Jd=function(){return ofn(tV(this.b))},EWn.Kd=function(){return uK(),new ev(ZW(this.b))},EWn.Fb=function(n){return KT(this.b,n)},EWn.xc=function(n){return G_(this,n)},EWn.Hb=function(){return Yon(this.b.c)},EWn.dc=function(){return this.b.c.dc()},EWn.gc=function(){return this.b.c.gc()},EWn.Ib=function(){return Kbn(this.b.c)},gX(zWn,"ForwardingImmutableMap",715),lAn(1974,1973,kVn),EWn.Bd=function(){return this.Md()},EWn.Cd=function(){return this.Md()},EWn.Nc=function(){return new l1(this,1)},EWn.Fb=function(n){return n===this||this.Md().Fb(n)},EWn.Hb=function(){return this.Md().Hb()},gX(zWn,"ForwardingSet",1974),lAn(1069,1974,kVn,nl),EWn.Bd=function(){return nV(this.a.b)},EWn.Cd=function(){return nV(this.a.b)},EWn.Hc=function(n){if(iL(n,42)&&null==KB(n,42).cd())return!1;try{return DT(nV(this.a.b),n)}catch(t){if(iL(t=hun(t),205))return!1;throw Fp(t)}},EWn.Md=function(){return nV(this.a.b)},EWn.Qc=function(n){var t;return t=PJ(nV(this.a.b),n),nV(this.a.b).b.gc()<t.length&&OX(t,nV(this.a.b).b.gc(),null),t},gX(zWn,"ForwardingImmutableMap/1",1069),lAn(1981,1980,jVn),EWn.Kc=function(){return this.Ed()},EWn.Nc=function(){return new l1(this,1)},EWn.Fb=function(n){return qSn(this,n)},EWn.Hb=function(){return Krn(this)},gX(zWn,"ImmutableSet",1981),lAn(703,1981,jVn),EWn.Kc=function(){return A9(new Bb(this.a.b.Kc()))},EWn.Hc=function(n){return null!=n&<(this.a,n)},EWn.Ic=function(n){return NT(this.a,n)},EWn.Hb=function(){return Yon(this.a.b)},EWn.dc=function(){return this.a.b.dc()},EWn.Ed=function(){return A9(new Bb(this.a.b.Kc()))},EWn.gc=function(){return this.a.b.gc()},EWn.Pc=function(){return this.a.b.Pc()},EWn.Qc=function(n){return xT(this.a,n)},EWn.Ib=function(){return Kbn(this.a.b)},gX(zWn,"ForwardingImmutableSet",703),lAn(1975,1974,EVn),EWn.Bd=function(){return this.b},EWn.Cd=function(){return this.b},EWn.Md=function(){return this.b},EWn.Nc=function(){return new lS(this)},gX(zWn,"ForwardingSortedSet",1975),lAn(533,1979,yVn,Ivn),EWn.Ac=function(n){jcn(this,n)},EWn.Cc=function(){return new d$(this.d||(this.d=new tl(this)))},EWn.$b=function(){b5(this)},EWn._b=function(n){return!!Qrn(this,n,bG(ibn(TVn,eV(bG(ibn(null==n?0:Yon(n),MVn)),15))))},EWn.uc=function(n){return Atn(this,n)},EWn.kc=function(){return new XL(this,this)},EWn.wc=function(n){KY(this,n)},EWn.xc=function(n){return uen(this,n)},EWn.ec=function(){return new g$(this)},EWn.zc=function(n,t){return l_n(this,n,t)},EWn.Bc=function(n){var t;return(t=Qrn(this,n,bG(ibn(TVn,eV(bG(ibn(null==n?0:Yon(n),MVn)),15)))))?(ALn(this,t),t.e=null,t.c=null,t.i):null},EWn.gc=function(){return this.i},EWn.pd=function(){return new d$(this.d||(this.d=new tl(this)))},EWn.f=0,EWn.g=0,EWn.i=0,gX(zWn,"HashBiMap",533),lAn(534,1,WWn),EWn.Nb=function(n){sU(this,n)},EWn.Ob=function(){return h3(this)},EWn.Pb=function(){var n;if(!h3(this))throw Fp(new vv);return n=this.c,this.c=n.c,this.f=n,--this.d,this.Nd(n)},EWn.Qb=function(){if(this.e.g!=this.b)throw Fp(new gv);oan(!!this.f),ALn(this.e,this.f),this.b=this.e.g,this.f=null},EWn.b=0,EWn.d=0,EWn.f=null,gX(zWn,"HashBiMap/Itr",534),lAn(1011,534,WWn,XL),EWn.Nd=function(n){return new fT(this,n)},gX(zWn,"HashBiMap/1",1011),lAn(1012,345,rVn,fT),EWn.cd=function(){return this.a.g},EWn.dd=function(){return this.a.i},EWn.ed=function(n){var t,e,i;return e=this.a.i,(i=bG(ibn(TVn,eV(bG(ibn(null==n?0:Yon(n),MVn)),15))))==this.a.f&&(HI(n)===HI(e)||null!=n&&$fn(n,e))?n:(vun(!Jrn(this.b.a,n,i),n),ALn(this.b.a,this.a),t=new BW(this.a.g,this.a.a,n,i),VCn(this.b.a,t,this.a),this.a.e=null,this.a.c=null,this.b.b=this.b.a.g,this.b.f==this.a&&(this.b.f=t),this.a=t,e)},gX(zWn,"HashBiMap/1/MapEntry",1012),lAn(238,345,{345:1,238:1,3:1,42:1},gT),EWn.cd=function(){return this.g},EWn.dd=function(){return this.i},EWn.ed=function(n){throw Fp(new dv)},gX(zWn,"ImmutableEntry",238),lAn(317,238,{345:1,317:1,238:1,3:1,42:1},BW),EWn.a=0,EWn.f=0;var Bnt,Hnt=gX(zWn,"HashBiMap/BiEntry",317);lAn(610,1979,yVn,tl),EWn.Ac=function(n){jcn(this,n)},EWn.Cc=function(){return new g$(this.a)},EWn.$b=function(){b5(this.a)},EWn._b=function(n){return Atn(this.a,n)},EWn.kc=function(){return new WL(this,this.a)},EWn.wc=function(n){vX(n),KY(this.a,new el(n))},EWn.xc=function(n){return Gin(this,n)},EWn.ec=function(){return new d$(this)},EWn.zc=function(n,t){return SKn(this.a,n,t)},EWn.Bc=function(n){var t;return(t=Jrn(this.a,n,bG(ibn(TVn,eV(bG(ibn(null==n?0:Yon(n),MVn)),15)))))?(ALn(this.a,t),t.e=null,t.c=null,t.g):null},EWn.gc=function(){return this.a.i},EWn.pd=function(){return new g$(this.a)},gX(zWn,"HashBiMap/Inverse",610),lAn(1008,534,WWn,WL),EWn.Nd=function(n){return new lT(this,n)},gX(zWn,"HashBiMap/Inverse/1",1008),lAn(1009,345,rVn,lT),EWn.cd=function(){return this.a.i},EWn.dd=function(){return this.a.g},EWn.ed=function(n){var t,e,i;return i=this.a.g,(t=bG(ibn(TVn,eV(bG(ibn(null==n?0:Yon(n),MVn)),15))))==this.a.a&&(HI(n)===HI(i)||null!=n&&$fn(n,i))?n:(vun(!Qrn(this.b.a.a,n,t),n),ALn(this.b.a.a,this.a),e=new BW(n,t,this.a.i,this.a.f),this.a=e,VCn(this.b.a.a,e,null),this.b.b=this.b.a.a.g,i)},gX(zWn,"HashBiMap/Inverse/1/InverseEntry",1009),lAn(611,532,ZWn,d$),EWn.Kc=function(){return new cy(this.a.a)},EWn.Mc=function(n){var t;return!!(t=Jrn(this.a.a,n,bG(ibn(TVn,eV(bG(ibn(null==n?0:Yon(n),MVn)),15)))))&&(ALn(this.a.a,t),!0)},gX(zWn,"HashBiMap/Inverse/InverseKeySet",611),lAn(1007,534,WWn,cy),EWn.Nd=function(n){return n.i},gX(zWn,"HashBiMap/Inverse/InverseKeySet/1",1007),lAn(1010,1,{},el),EWn.Od=function(n,t){nv(this.a,n,t)},gX(zWn,"HashBiMap/Inverse/lambda$0$Type",1010),lAn(609,532,ZWn,g$),EWn.Kc=function(){return new ay(this.a)},EWn.Mc=function(n){var t;return!!(t=Qrn(this.a,n,bG(ibn(TVn,eV(bG(ibn(null==n?0:Yon(n),MVn)),15)))))&&(ALn(this.a,t),t.e=null,t.c=null,!0)},gX(zWn,"HashBiMap/KeySet",609),lAn(1006,534,WWn,ay),EWn.Nd=function(n){return n.g},gX(zWn,"HashBiMap/KeySet/1",1006),lAn(1093,619,XWn),gX(zWn,"HashMultimapGwtSerializationDependencies",1093),lAn(265,1093,XWn,dY),EWn.hc=function(){return new fE(ntn(this.a))},EWn.gd=function(){return new fE(ntn(this.a))},EWn.a=2,gX(zWn,"HashMultimap",265),lAn(1999,152,vVn),EWn.Hc=function(n){return this.Pd().Hc(n)},EWn.dc=function(){return this.Pd().dc()},EWn.gc=function(){return this.Pd().gc()},gX(zWn,"ImmutableAsList",1999),lAn(1931,715,yVn),EWn.Ld=function(){return uK(),new vk(this.a)},EWn.Cc=function(){return uK(),new vk(this.a)},EWn.pd=function(){return uK(),new vk(this.a)},gX(zWn,"ImmutableBiMap",1931),lAn(1977,1,{}),gX(zWn,"ImmutableCollection/Builder",1977),lAn(1022,703,jVn,uy),gX(zWn,"ImmutableEnumSet",1022),lAn(969,386,UWn,f_),EWn.Xb=function(n){return this.a.Xb(n)},gX(zWn,"ImmutableList/1",969),lAn(968,1977,{},uR),gX(zWn,"ImmutableList/Builder",968),lAn(614,198,GWn,il),EWn.Ob=function(){return this.a.Ob()},EWn.Pb=function(){return KB(this.a.Pb(),42).cd()},gX(zWn,"ImmutableMap/1",614),lAn(1041,1,{},o),EWn.Kb=function(n){return KB(n,42).cd()},gX(zWn,"ImmutableMap/2methodref$getKey$Type",1041),lAn(1040,1,{},oR),gX(zWn,"ImmutableMap/Builder",1040),lAn(2e3,1981,jVn),EWn.Kc=function(){return new il(hz(this.a).Ed())},EWn.Dd=function(){return new cv(this)},EWn.Jc=function(n){var t,e;for(vX(n),e=this.gc(),t=0;t<e;t++)n.td(KB(lz(hz(this.a)).Xb(t),42).cd())},EWn.Ed=function(){var n;return(n=this.c,n||(this.c=new cv(this))).Ed()},EWn.Nc=function(){return vq(this.gc(),1296,new cl(this))},gX(zWn,"IndexedImmutableSet",2e3),lAn(1180,2e3,jVn,iv),EWn.Kc=function(){return new il(hz(this.a).Ed())},EWn.Hc=function(n){return this.a._b(n)},EWn.Jc=function(n){vX(n),Ycn(this.a,new rl(n))},EWn.Ed=function(){return new il(hz(this.a).Ed())},EWn.gc=function(){return this.a.gc()},EWn.Nc=function(){return xB(hz(this.a).Nc(),new o)},gX(zWn,"ImmutableMapKeySet",1180),lAn(1181,1,{},rl),EWn.Od=function(n,t){uK(),this.a.td(n)},gX(zWn,"ImmutableMapKeySet/lambda$0$Type",1181),lAn(1178,1980,pVn,rv),EWn.Kc=function(){return new DH(this)},EWn.Hc=function(n){return null!=n&&Mjn(new DH(this),n)},EWn.Ed=function(){return new DH(this)},EWn.gc=function(){return this.a.gc()},EWn.Nc=function(){return xB(hz(this.a).Nc(),new s)},gX(zWn,"ImmutableMapValues",1178),lAn(1179,1,{},s),EWn.Kb=function(n){return KB(n,42).dd()},gX(zWn,"ImmutableMapValues/0methodref$getValue$Type",1179),lAn(626,198,GWn,DH),EWn.Ob=function(){return this.a.Ob()},EWn.Pb=function(){return KB(this.a.Pb(),42).dd()},gX(zWn,"ImmutableMapValues/1",626),lAn(1182,1,{},cl),EWn.ld=function(n){return FU(this.a,n)},gX(zWn,"IndexedImmutableSet/0methodref$get$Type",1182),lAn(752,1999,vVn,cv),EWn.Pd=function(){return this.a},EWn.Xb=function(n){return FU(this.a,n)},EWn.gc=function(){return this.a.a.gc()},gX(zWn,"IndexedImmutableSet/1",752),lAn(44,1,{},h),EWn.Kb=function(n){return KB(n,20).Kc()},EWn.Fb=function(n){return this===n},gX(zWn,"Iterables/10",44),lAn(1042,537,dVn,RH),EWn.Jc=function(n){vX(n),this.b.Jc(new bT(this.a,n))},EWn.Kc=function(){return BA(this)},gX(zWn,"Iterables/4",1042),lAn(1043,1,hVn,bT),EWn.td=function(n){jS(this.b,this.a,n)},gX(zWn,"Iterables/4/lambda$0$Type",1043),lAn(1044,537,dVn,_H),EWn.Jc=function(n){vX(n),n5(this.a,new sT(n,this.b))},EWn.Kc=function(){return JL(new IL(this.a),this.b)},gX(zWn,"Iterables/5",1044),lAn(1045,1,hVn,sT),EWn.td=function(n){this.a.td(vA(n))},gX(zWn,"Iterables/5/lambda$0$Type",1045),lAn(1071,198,GWn,al),EWn.Ob=function(){return this.a.Ob()},EWn.Pb=function(){return this.a.Pb()},gX(zWn,"Iterators/1",1071),lAn(1072,699,GWn,hT),EWn.Yb=function(){for(var n;this.b.Ob();)if(n=this.b.Pb(),this.a.Lb(n))return n;return this.e=2,null},gX(zWn,"Iterators/5",1072),lAn(487,1,WWn),EWn.Nb=function(n){sU(this,n)},EWn.Ob=function(){return this.b.Ob()},EWn.Pb=function(){return this.Qd(this.b.Pb())},EWn.Qb=function(){this.b.Qb()},gX(zWn,"TransformedIterator",487),lAn(1073,487,WWn,YL),EWn.Qd=function(n){return this.a.Kb(n)},gX(zWn,"Iterators/6",1073),lAn(717,198,GWn,ul),EWn.Ob=function(){return!this.a},EWn.Pb=function(){if(this.a)throw Fp(new vv);return this.a=!0,this.b},EWn.a=!1,gX(zWn,"Iterators/9",717),lAn(1070,386,UWn,sG),EWn.Xb=function(n){return this.a[this.b+n]},EWn.b=0,gX(zWn,"Iterators/ArrayItr",1070),lAn(39,1,{39:1,47:1},az),EWn.Nb=function(n){sU(this,n)},EWn.Ob=function(){return bAn(this)},EWn.Pb=function(){return G5(this)},EWn.Qb=function(){oan(!!this.c),this.c.Qb(),this.c=null},gX(zWn,"Iterators/ConcatenatedIterator",39),lAn(22,1,{3:1,35:1,22:1}),EWn.wd=function(n){return My(this,KB(n,22))},EWn.Fb=function(n){return this===n},EWn.Hb=function(){return MN(this)},EWn.Ib=function(){return bx(this)},EWn.g=0;var qnt,Gnt=gX(xWn,"Enum",22);lAn(538,22,{538:1,3:1,35:1,22:1,47:1},iN),EWn.Nb=function(n){sU(this,n)},EWn.Ob=function(){return!1},EWn.Pb=function(){throw Fp(new vv)},EWn.Qb=function(){oan(!1)};var znt,Unt=Ken(zWn,"Iterators/EmptyModifiableIterator",538,Gnt,aX,ex);lAn(1834,619,XWn),gX(zWn,"LinkedHashMultimapGwtSerializationDependencies",1834),lAn(1835,1834,XWn,jhn),EWn.hc=function(){return new AN(ntn(this.b))},EWn.$b=function(){lin(this),tv(this.a,this.a)},EWn.gd=function(){return new AN(ntn(this.b))},EWn.ic=function(n){return new jsn(this,n,this.b)},EWn.kc=function(){return new ZL(this)},EWn.lc=function(){return new l1(KB(this.g||(this.g=new Bm(this)),21),17)},EWn.ec=function(){return this.i||(this.i=new FL(this,this.c))},EWn.nc=function(){return new fy(new ZL(this))},EWn.oc=function(){return xB(new l1(KB(this.g||(this.g=new Bm(this)),21),17),new f)},EWn.b=2,gX(zWn,"LinkedHashMultimap",1835),lAn(1838,1,{},f),EWn.Kb=function(n){return KB(n,42).dd()},gX(zWn,"LinkedHashMultimap/0methodref$getValue$Type",1838),lAn(824,1,WWn,ZL),EWn.Nb=function(n){sU(this,n)},EWn.Pb=function(){return gtn(this)},EWn.Ob=function(){return this.a!=this.b.a},EWn.Qb=function(){oan(!!this.c),B0(this.b,this.c.g,this.c.i),this.c=null},gX(zWn,"LinkedHashMultimap/1",824),lAn(330,238,{345:1,238:1,330:1,2020:1,3:1,42:1},FW),EWn.Rd=function(){return this.f},EWn.Sd=function(n){this.c=n},EWn.Td=function(n){this.f=n},EWn.d=0;var Xnt,Wnt=gX(zWn,"LinkedHashMultimap/ValueEntry",330);lAn(1836,1970,{2020:1,20:1,28:1,14:1,21:1},jsn),EWn.Fc=function(n){var t,e,i,r,c;for(t=(c=bG(ibn(TVn,eV(bG(ibn(null==n?0:Yon(n),MVn)),15))))&this.b.length-1,e=r=this.b[t];e;e=e.a)if(e.d==c&&lW(e.i,n))return!1;return i=new FW(this.c,n,c,r),mk(this.d,i),i.f=this,this.d=i,tv(this.g.a.b,i),tv(i,this.g.a),this.b[t]=i,++this.f,++this.e,vjn(this),!0},EWn.$b=function(){var n,t;for(vS(this.b,null),this.f=0,n=this.a;n!=this;n=n.Rd())tv((t=KB(n,330)).b,t.e);this.a=this,this.d=this,++this.e},EWn.Hc=function(n){var t,e;for(e=bG(ibn(TVn,eV(bG(ibn(null==n?0:Yon(n),MVn)),15))),t=this.b[e&this.b.length-1];t;t=t.a)if(t.d==e&&lW(t.i,n))return!0;return!1},EWn.Jc=function(n){var t;for(vX(n),t=this.a;t!=this;t=t.Rd())n.td(KB(t,330).i)},EWn.Rd=function(){return this.a},EWn.Kc=function(){return new uW(this)},EWn.Mc=function(n){return mAn(this,n)},EWn.Sd=function(n){this.d=n},EWn.Td=function(n){this.a=n},EWn.gc=function(){return this.f},EWn.e=0,EWn.f=0,gX(zWn,"LinkedHashMultimap/ValueSet",1836),lAn(1837,1,WWn,uW),EWn.Nb=function(n){sU(this,n)},EWn.Ob=function(){return lG(this),this.b!=this.c},EWn.Pb=function(){var n,t;if(lG(this),this.b==this.c)throw Fp(new vv);return t=(n=KB(this.b,330)).i,this.d=n,this.b=n.f,t},EWn.Qb=function(){lG(this),oan(!!this.d),mAn(this.c,this.d.i),this.a=this.c.e,this.d=null},EWn.a=0,gX(zWn,"LinkedHashMultimap/ValueSet/1",1837),lAn(766,1986,XWn,MO),EWn.Zb=function(){return this.f||(this.f=new eS(this))},EWn.Fb=function(n){return ysn(this,n)},EWn.cc=function(n){return new pT(this,n)},EWn.fc=function(n){return Q3(this,n)},EWn.$b=function(){iX(this)},EWn._b=function(n){return FT(this,n)},EWn.ac=function(){return new eS(this)},EWn.bc=function(){return new vl(this)},EWn.qc=function(n){return new pT(this,n)},EWn.dc=function(){return!this.a},EWn.rc=function(n){return Q3(this,n)},EWn.gc=function(){return this.d},EWn.c=0,EWn.d=0,gX(zWn,"LinkedListMultimap",766),lAn(52,28,AVn),EWn.ad=function(n){Rrn(this,n)},EWn.Nc=function(){return new l1(this,16)},EWn.Vc=function(n,t){throw Fp(new Zy("Add not supported on this list"))},EWn.Fc=function(n){return this.Vc(this.gc(),n),!0},EWn.Wc=function(n,t){var e,i,r;for(mW(t),e=!1,r=t.Kc();r.Ob();)i=r.Pb(),this.Vc(n++,i),e=!0;return e},EWn.$b=function(){this.Ud(0,this.gc())},EWn.Fb=function(n){return $An(this,n)},EWn.Hb=function(){return _on(this)},EWn.Xc=function(n){return fin(this,n)},EWn.Kc=function(){return new Tb(this)},EWn.Yc=function(){return this.Zc(0)},EWn.Zc=function(n){return new E2(this,n)},EWn.$c=function(n){throw Fp(new Zy("Remove not supported on this list"))},EWn.Ud=function(n,t){var e,i;for(i=this.Zc(n),e=n;e<t;++e)i.Pb(),i.Qb()},EWn._c=function(n,t){throw Fp(new Zy("Set not supported on this list"))},EWn.bd=function(n,t){return new u1(this,n,t)},EWn.j=0,gX(VWn,"AbstractList",52),lAn(1964,52,AVn),EWn.Vc=function(n,t){Dx(this,n,t)},EWn.Wc=function(n,t){return Isn(this,n,t)},EWn.Xb=function(n){return Npn(this,n)},EWn.Kc=function(){return this.Zc(0)},EWn.$c=function(n){return Zyn(this,n)},EWn._c=function(n,t){var e,i;e=this.Zc(n);try{return i=e.Pb(),e.Wb(t),i}catch(r){throw iL(r=hun(r),109)?Fp(new Iy("Can't set element "+n)):Fp(r)}},gX(VWn,"AbstractSequentialList",1964),lAn(636,1964,AVn,pT),EWn.Zc=function(n){return gN(this,n)},EWn.gc=function(){var n;return(n=KB(xX(this.a.b,this.b),283))?n.a:0},gX(zWn,"LinkedListMultimap/1",636),lAn(1297,1970,ZWn,vl),EWn.Hc=function(n){return FT(this.a,n)},EWn.Kc=function(){return new grn(this.a)},EWn.Mc=function(n){return!Q3(this.a,n).a.dc()},EWn.gc=function(){return $T(this.a.b)},gX(zWn,"LinkedListMultimap/1KeySetImpl",1297),lAn(1296,1,WWn,grn),EWn.Nb=function(n){sU(this,n)},EWn.Ob=function(){return fG(this),!!this.c},EWn.Pb=function(){fG(this),aN(this.c),this.a=this.c,jU(this.d,this.a.a);do{this.c=this.c.b}while(this.c&&!jU(this.d,this.c.a));return this.a.a},EWn.Qb=function(){fG(this),oan(!!this.a),Sq(new S7(this.e,this.a.a)),this.a=null,this.b=this.e.c},EWn.b=0,gX(zWn,"LinkedListMultimap/DistinctKeyIterator",1296),lAn(283,1,{283:1},uJ),EWn.a=0,gX(zWn,"LinkedListMultimap/KeyList",283),lAn(1295,345,rVn,vT),EWn.cd=function(){return this.a},EWn.dd=function(){return this.f},EWn.ed=function(n){var t;return t=this.f,this.f=n,t},gX(zWn,"LinkedListMultimap/Node",1295),lAn(560,1,iVn,S7,DPn),EWn.Nb=function(n){sU(this,n)},EWn.Rb=function(n){this.e=v_n(this.f,this.b,n,this.c),++this.d,this.a=null},EWn.Ob=function(){return!!this.c},EWn.Sb=function(){return!!this.e},EWn.Pb=function(){return kZ(this)},EWn.Tb=function(){return this.d},EWn.Ub=function(){return jZ(this)},EWn.Vb=function(){return this.d-1},EWn.Qb=function(){oan(!!this.a),this.a!=this.c?(this.e=this.a.e,--this.d):this.c=this.a.c,JCn(this.f,this.a),this.a=null},EWn.Wb=function(n){cN(!!this.a),this.a.f=n},EWn.d=0,gX(zWn,"LinkedListMultimap/ValueForKeyIterator",560),lAn(1018,52,AVn),EWn.Vc=function(n,t){this.a.Vc(n,t)},EWn.Wc=function(n,t){return this.a.Wc(n,t)},EWn.Hc=function(n){return this.a.Hc(n)},EWn.Xb=function(n){return this.a.Xb(n)},EWn.$c=function(n){return this.a.$c(n)},EWn._c=function(n,t){return this.a._c(n,t)},EWn.gc=function(){return this.a.gc()},gX(zWn,"Lists/AbstractListWrapper",1018),lAn(1019,1018,LVn),gX(zWn,"Lists/RandomAccessListWrapper",1019),lAn(1021,1019,LVn,PT),EWn.Zc=function(n){return this.a.Zc(n)},gX(zWn,"Lists/1",1021),lAn(131,52,{131:1,20:1,28:1,52:1,14:1,15:1},ST),EWn.Vc=function(n,t){this.a.Vc(dU(this,n),t)},EWn.$b=function(){this.a.$b()},EWn.Xb=function(n){return this.a.Xb(AX(this,n))},EWn.Kc=function(){return U1(this,0)},EWn.Zc=function(n){return U1(this,n)},EWn.$c=function(n){return this.a.$c(AX(this,n))},EWn.Ud=function(n,t){(b2(n,t,this.a.gc()),nan(this.a.bd(dU(this,t),dU(this,n)))).$b()},EWn._c=function(n,t){return this.a._c(AX(this,n),t)},EWn.gc=function(){return this.a.gc()},EWn.bd=function(n,t){return b2(n,t,this.a.gc()),nan(this.a.bd(dU(this,t),dU(this,n)))},gX(zWn,"Lists/ReverseList",131),lAn(280,131,{131:1,20:1,28:1,52:1,14:1,15:1,54:1},sy),gX(zWn,"Lists/RandomAccessReverseList",280),lAn(1020,1,iVn,mT),EWn.Nb=function(n){sU(this,n)},EWn.Rb=function(n){this.c.Rb(n),this.c.Ub(),this.a=!1},EWn.Ob=function(){return this.c.Sb()},EWn.Sb=function(){return this.c.Ob()},EWn.Pb=function(){return l5(this)},EWn.Tb=function(){return dU(this.b,this.c.Tb())},EWn.Ub=function(){if(!this.c.Ob())throw Fp(new vv);return this.a=!0,this.c.Pb()},EWn.Vb=function(){return dU(this.b,this.c.Tb())-1},EWn.Qb=function(){oan(this.a),this.c.Qb(),this.a=!1},EWn.Wb=function(n){cN(this.a),this.c.Wb(n)},EWn.a=!1,gX(zWn,"Lists/ReverseList/1",1020),lAn(432,487,WWn,hy),EWn.Qd=function(n){return iS(n)},gX(zWn,"Maps/1",432),lAn(698,487,WWn,fy),EWn.Qd=function(n){return KB(n,42).dd()},gX(zWn,"Maps/2",698),lAn(962,487,WWn,dN),EWn.Qd=function(n){return new gT(n,RO(this.a,n))},gX(zWn,"Maps/3",962),lAn(959,1971,ZWn,pl),EWn.Jc=function(n){Lv(this.a,n)},EWn.Kc=function(){return this.a.kc()},EWn.Rc=function(){return this.a},EWn.Nc=function(){return this.a.lc()},gX(zWn,"Maps/IteratorBasedAbstractMap/1",959),lAn(960,1,{},gl),EWn.Od=function(n,t){this.a.td(n)},gX(zWn,"Maps/KeySet/lambda$0$Type",960),lAn(958,28,JWn,MT),EWn.$b=function(){this.a.$b()},EWn.Hc=function(n){return this.a.uc(n)},EWn.Jc=function(n){vX(n),this.a.wc(new hl(n))},EWn.dc=function(){return this.a.dc()},EWn.Kc=function(){return new fy(this.a.vc().Kc())},EWn.Mc=function(n){var t,e;try{return vwn(this,n,!0)}catch(i){if(iL(i=hun(i),41)){for(e=this.a.vc().Kc();e.Ob();)if(lW(n,(t=KB(e.Pb(),42)).dd()))return this.a.Bc(t.cd()),!0;return!1}throw Fp(i)}},EWn.gc=function(){return this.a.gc()},gX(zWn,"Maps/Values",958),lAn(961,1,{},hl),EWn.Od=function(n,t){this.a.td(t)},gX(zWn,"Maps/Values/lambda$0$Type",961),lAn(736,1987,QWn,eS),EWn.xc=function(n){return this.a._b(n)?this.a.cc(n):null},EWn.Bc=function(n){return this.a._b(n)?this.a.fc(n):null},EWn.$b=function(){this.a.$b()},EWn._b=function(n){return this.a._b(n)},EWn.Ec=function(){return new sl(this)},EWn.Dc=function(){return this.Ec()},EWn.dc=function(){return this.a.dc()},EWn.ec=function(){return this.a.ec()},EWn.gc=function(){return this.a.ec().gc()},gX(zWn,"Multimaps/AsMap",736),lAn(1104,1971,ZWn,sl),EWn.Kc=function(){return Y$(this.a.a.ec(),new fl(this))},EWn.Rc=function(){return this.a},EWn.Mc=function(n){var t;return!!tdn(this,n)&&(t=KB(n,42),yk(this.a,t.cd()),!0)},gX(zWn,"Multimaps/AsMap/EntrySet",1104),lAn(1108,1,{},fl),EWn.Kb=function(n){return RO(this,n)},EWn.Fb=function(n){return this===n},gX(zWn,"Multimaps/AsMap/EntrySet/1",1108),lAn(543,1989,{543:1,835:1,20:1,28:1,14:1},ll),EWn.$b=function(){lin(this.a)},EWn.Hc=function(n){return Uj(this.a,n)},EWn.Jc=function(n){vX(n),n5(EX(this.a),new wl(n))},EWn.Kc=function(){return new hy(EX(this.a).a.kc())},EWn.gc=function(){return this.a.d},EWn.Nc=function(){return xB(EX(this.a).Nc(),new l)},gX(zWn,"Multimaps/Keys",543),lAn(1106,1,{},l),EWn.Kb=function(n){return KB(n,42).cd()},gX(zWn,"Multimaps/Keys/0methodref$getKey$Type",1106),lAn(1105,487,WWn,ly),EWn.Qd=function(n){return new bl(KB(n,42))},gX(zWn,"Multimaps/Keys/1",1105),lAn(1990,1,{416:1}),EWn.Fb=function(n){var t;return!!iL(n,492)&&(t=KB(n,416),KB(this.a.dd(),14).gc()==KB(t.a.dd(),14).gc()&&lW(this.a.cd(),t.a.cd()))},EWn.Hb=function(){var n;return(null==(n=this.a.cd())?0:Yon(n))^KB(this.a.dd(),14).gc()},EWn.Ib=function(){var n,t;return t=mN(this.a.cd()),1==(n=KB(this.a.dd(),14).gc())?t:t+" x "+n},gX(zWn,"Multisets/AbstractEntry",1990),lAn(492,1990,{492:1,416:1},bl),gX(zWn,"Multimaps/Keys/1/1",492),lAn(1107,1,hVn,wl),EWn.td=function(n){this.a.td(KB(n,42).cd())},gX(zWn,"Multimaps/Keys/lambda$1$Type",1107),lAn(1110,1,hVn,b),EWn.td=function(n){Pq(KB(n,416))},gX(zWn,"Multiset/lambda$0$Type",1110),lAn(737,1,hVn,dl),EWn.td=function(n){Ptn(this.a,KB(n,416))},gX(zWn,"Multiset/lambda$1$Type",737),lAn(1111,1,{},m),gX(zWn,"Multisets/0methodref$add$Type",1111),lAn(738,1,{},y),EWn.Kb=function(n){return u3(KB(n,416))},gX(zWn,"Multisets/lambda$3$Type",738),lAn(2008,1,DWn),gX(zWn,"RangeGwtSerializationDependencies",2008),lAn(514,2008,{169:1,514:1,3:1,45:1},uvn),EWn.Lb=function(n){return Ez(this,KB(n,35))},EWn.Mb=function(n){return Ez(this,KB(n,35))},EWn.Fb=function(n){var t;return!!iL(n,514)&&(t=KB(n,514),Ldn(this.a,t.a)&&Ldn(this.b,t.b))},EWn.Hb=function(){return 31*this.a.Hb()+this.b.Hb()},EWn.Ib=function(){return K3(this.a,this.b)},gX(zWn,"Range",514),lAn(778,1999,vVn,rU),EWn.Zc=function(n){return tx(this.b,n)},EWn.Pd=function(){return this.a},EWn.Xb=function(n){return UI(this.b,n)},EWn.Fd=function(n){return tx(this.b,n)},gX(zWn,"RegularImmutableAsList",778),lAn(646,2006,vVn,TJ),EWn.Hd=function(){return this.a},gX(zWn,"RegularImmutableList",646),lAn(616,715,yVn,oy),gX(zWn,"RegularImmutableMap",616),lAn(716,703,jVn,gS),gX(zWn,"RegularImmutableSet",716),lAn(1976,YWn,ZWn),EWn.Kc=function(){return new TV(this.a,this.b)},EWn.Fc=function(n){throw Fp(new dv)},EWn.Gc=function(n){throw Fp(new dv)},EWn.$b=function(){throw Fp(new dv)},EWn.Mc=function(n){throw Fp(new dv)},gX(zWn,"Sets/SetView",1976),lAn(963,1976,ZWn,kT),EWn.Kc=function(){return new TV(this.a,this.b)},EWn.Hc=function(n){return SG(this.a,n)&&this.b.Hc(n)},EWn.Ic=function(n){return aun(this.a,n)&&this.b.Ic(n)},EWn.dc=function(){return Dpn(this.b,this.a)},EWn.Lc=function(){return IV(new xq(null,new l1(this.a,1)),new yl(this.b))},EWn.gc=function(){return San(this)},EWn.Oc=function(){return IV(new xq(null,new l1(this.a,1)),new ml(this.b))},gX(zWn,"Sets/2",963),lAn(700,699,GWn,TV),EWn.Yb=function(){for(var n;m$(this.a);)if(n=c4(this.a),this.c.Hc(n))return n;return this.e=2,null},gX(zWn,"Sets/2/1",700),lAn(964,1,NVn,ml),EWn.Mb=function(n){return this.a.Hc(n)},gX(zWn,"Sets/2/4methodref$contains$Type",964),lAn(965,1,NVn,yl),EWn.Mb=function(n){return this.a.Hc(n)},gX(zWn,"Sets/2/5methodref$contains$Type",965),lAn(607,1975,{607:1,3:1,20:1,14:1,271:1,21:1,84:1},fY),EWn.Bd=function(){return this.b},EWn.Cd=function(){return this.b},EWn.Md=function(){return this.b},EWn.Jc=function(n){this.a.Jc(n)},EWn.Lc=function(){return this.a.Lc()},EWn.Oc=function(){return this.a.Oc()},gX(zWn,"Sets/UnmodifiableNavigableSet",607),lAn(1932,1931,yVn,HW),EWn.Ld=function(){return uK(),new vk(this.a)},EWn.Cc=function(){return uK(),new vk(this.a)},EWn.pd=function(){return uK(),new vk(this.a)},gX(zWn,"SingletonImmutableBiMap",1932),lAn(647,2006,vVn,Mq),EWn.Hd=function(){return this.a},gX(zWn,"SingletonImmutableList",647),lAn(350,1981,jVn,vk),EWn.Kc=function(){return new ul(this.a)},EWn.Hc=function(n){return $fn(this.a,n)},EWn.Ed=function(){return new ul(this.a)},EWn.gc=function(){return 1},gX(zWn,"SingletonImmutableSet",350),lAn(1115,1,{},k),EWn.Kb=function(n){return KB(n,164)},gX(zWn,"Streams/lambda$0$Type",1115),lAn(1116,1,xVn,kl),EWn.Vd=function(){K5(this.a)},gX(zWn,"Streams/lambda$1$Type",1116),lAn(1659,1658,XWn,dJ),EWn.Zb=function(){return KB(KB(this.f||(this.f=iL(this.c,171)?new PD(this,KB(this.c,171)):iL(this.c,161)?new SD(this,KB(this.c,161)):new dT(this,this.c)),161),171)},EWn.hc=function(){return new bE(this.b)},EWn.gd=function(){return new bE(this.b)},EWn.ec=function(){return KB(KB(this.i||(this.i=iL(this.c,171)?new ZE(this,KB(this.c,171)):iL(this.c,161)?new YE(this,KB(this.c,161)):new FL(this,this.c)),84),271)},EWn.ac=function(){return iL(this.c,171)?new PD(this,KB(this.c,171)):iL(this.c,161)?new SD(this,KB(this.c,161)):new dT(this,this.c)},EWn.ic=function(n){return null==n&&this.a.ue(n,n),new bE(this.b)},gX(zWn,"TreeMultimap",1659),lAn(78,1,{3:1,78:1}),EWn.Wd=function(n){return new Error(n)},EWn.Xd=function(){return this.e},EWn.Yd=function(){return Rwn(OV(AU((null==this.k&&(this.k=L8(Qnt,uVn,78,0,0,1)),this.k)),new x))},EWn.Zd=function(){return this.f},EWn.$d=function(){return this.g},EWn._d=function(){vy(this,f2(this.Wd(SJ(this,this.g)))),av(this)},EWn.Ib=function(){return SJ(this,this.$d())},EWn.e=_Vn,EWn.i=!1,EWn.n=!0;var Vnt,Qnt=gX(xWn,"Throwable",78);lAn(102,78,{3:1,102:1,78:1}),gX(xWn,"Exception",102),lAn(60,102,KVn,uv,by),gX(xWn,"RuntimeException",60),lAn(598,60,KVn),gX(xWn,"JsException",598),lAn(863,598,KVn),gX(FVn,"JavaScriptExceptionBase",863),lAn(477,863,{477:1,3:1,102:1,60:1,78:1},yhn),EWn.$d=function(){return dEn(this),this.c},EWn.ae=function(){return HI(this.b)===HI(Vnt)?null:this.b},gX(HVn,"JavaScriptException",477);var Jnt,Ynt=gX(HVn,"JavaScriptObject$",0);lAn(1948,1,{}),gX(HVn,"Scheduler",1948);var Znt,ntt,ttt,ett,itt=0,rtt=0,ctt=-1;lAn(890,1948,{},j),gX(FVn,"SchedulerImpl",890),lAn(1960,1,{}),gX(FVn,"StackTraceCreator/Collector",1960),lAn(864,1960,{},E),EWn.be=function(n){var t={},e=[];n[GVn]=e;for(var i=arguments.callee.caller;i;){var r=(MJ(),i.name||(i.name=Xen(i.toString())));e.push(r);var c,a,u=":"+r,o=t[u];if(o)for(c=0,a=o.length;c<a;c++)if(o[c]===i)return;(o||(t[u]=[])).push(i),i=i.caller}},EWn.ce=function(n){var t,e,i,r;for(MJ(),e=(i=n&&n[GVn]?n[GVn]:[]).length,r=L8(_tt,uVn,310,e,0,1),t=0;t<e;t++)r[t]=new MV(i[t],null,-1);return r},gX(FVn,"StackTraceCreator/CollectorLegacy",864),lAn(1961,1960,{}),EWn.be=function(n){},EWn.de=function(n,t,e,i){return new MV(t,n+"@"+i,e<0?-1:e)},EWn.ce=function(n){var t,e,i,r,c,a;if(r=hyn(n),c=L8(_tt,uVn,310,0,0,1),t=0,0==(i=r.length))return c;for(p_((a=Cqn(this,r[0])).d,qVn)||(c[t++]=a),e=1;e<i;e++)c[t++]=Cqn(this,r[e]);return c},gX(FVn,"StackTraceCreator/CollectorModern",1961),lAn(865,1961,{},d),EWn.de=function(n,t,e,i){return new MV(t,n,-1)},gX(FVn,"StackTraceCreator/CollectorModernNoSourceMap",865),lAn(1050,1,{}),gX(vQn,mQn,1050),lAn(615,1050,{615:1},qX),gX(yQn,mQn,615),lAn(2001,1,{}),gX(vQn,kQn,2001),lAn(2002,2001,{}),gX(yQn,kQn,2002),lAn(1090,1,{},g),gX(yQn,"LocaleInfo",1090),lAn(1918,1,{},p),EWn.a=0,gX(yQn,"TimeZone",1918),lAn(1258,2002,{},w),gX("com.google.gwt.i18n.client.impl.cldr","DateTimeFormatInfoImpl",1258),lAn(434,1,{434:1},XB),EWn.a=!1,EWn.b=0,gX(vQn,"DateTimeFormat/PatternPart",434),lAn(199,1,jQn,IT,gon,MD),EWn.wd=function(n){return Q0(this,KB(n,199))},EWn.Fb=function(n){return iL(n,199)&&WI(san(this.q.getTime()),san(KB(n,199).q.getTime()))},EWn.Hb=function(){var n;return bG(e0(n=san(this.q.getTime()),yz(n,32)))},EWn.Ib=function(){var n,t,e;return n=((e=-this.q.getTimezoneOffset())>=0?"+":"")+(e/60|0),t=GO(i.Math.abs(e)%60),(dMn(),det)[this.q.getDay()]+" "+get[this.q.getMonth()]+" "+GO(this.q.getDate())+" "+GO(this.q.getHours())+":"+GO(this.q.getMinutes())+":"+GO(this.q.getSeconds())+" GMT"+n+t+" "+this.q.getFullYear()};var att,utt,ott,stt,htt,ftt,ltt,btt,wtt,dtt,gtt,ptt=gX(VWn,"Date",199);lAn(1915,199,jQn,Vkn),EWn.a=!1,EWn.b=0,EWn.c=0,EWn.d=0,EWn.e=0,EWn.f=0,EWn.g=!1,EWn.i=0,EWn.j=0,EWn.k=0,EWn.n=0,EWn.o=0,EWn.p=0,gX("com.google.gwt.i18n.shared.impl","DateRecord",1915),lAn(1966,1,{}),EWn.fe=function(){return null},EWn.ge=function(){return null},EWn.he=function(){return null},EWn.ie=function(){return null},EWn.je=function(){return null},gX(EQn,"JSONValue",1966),lAn(216,1966,{216:1},Sl,jl),EWn.Fb=function(n){return!!iL(n,216)&&g0(this.a,KB(n,216).a)},EWn.ee=function(){return Bp},EWn.Hb=function(){return ZQ(this.a)},EWn.fe=function(){return this},EWn.Ib=function(){var n,t,e;for(e=new hN("["),t=0,n=this.a.length;t<n;t++)t>0&&(e.a+=","),cO(e,bnn(this,t));return e.a+="]",e.a},gX(EQn,"JSONArray",216),lAn(483,1966,{483:1},El),EWn.ee=function(){return Hp},EWn.ge=function(){return this},EWn.Ib=function(){return oN(),""+this.a},EWn.a=!1,gX(EQn,"JSONBoolean",483),lAn(985,60,KVn,wy),gX(EQn,"JSONException",985),lAn(1023,1966,{},v),EWn.ee=function(){return Xp},EWn.Ib=function(){return qWn},gX(EQn,"JSONNull",1023),lAn(258,1966,{258:1},Tl),EWn.Fb=function(n){return!!iL(n,258)&&this.a==KB(n,258).a},EWn.ee=function(){return qp},EWn.Hb=function(){return XO(this.a)},EWn.he=function(){return this},EWn.Ib=function(){return this.a+""},EWn.a=0,gX(EQn,"JSONNumber",258),lAn(183,1966,{183:1},dy,Ml),EWn.Fb=function(n){return!!iL(n,183)&&g0(this.a,KB(n,183).a)},EWn.ee=function(){return Gp},EWn.Hb=function(){return ZQ(this.a)},EWn.ie=function(){return this},EWn.Ib=function(){var n,t,e,i,r,c;for(c=new hN("{"),n=!0,i=0,r=(e=yrn(this,L8(Wtt,uVn,2,0,6,1))).length;i<r;++i)t=e[i],n?n=!1:c.a+=_Wn,aO(c,pOn(t)),c.a+=":",cO(c,qY(this,t));return c.a+="}",c.a},gX(EQn,"JSONObject",183),lAn(596,YWn,ZWn,jT),EWn.Hc=function(n){return zI(n)&&qk(this.a,TD(n))},EWn.Kc=function(){return new Tb(new Qy(this.b))},EWn.gc=function(){return this.b.length},gX(EQn,"JSONObject/1",596),lAn(204,1966,{204:1},HX),EWn.Fb=function(n){return!!iL(n,204)&&p_(this.a,KB(n,204).a)},EWn.ee=function(){return zp},EWn.Hb=function(){return gvn(this.a)},EWn.je=function(){return this},EWn.Ib=function(){return pOn(this.a)},gX(EQn,"JSONString",204),lAn(1962,1,{525:1}),gX(AQn,"OutputStream",1962),lAn(1963,1962,{525:1}),gX(AQn,"FilterOutputStream",1963),lAn(866,1963,{525:1},A),gX(AQn,"PrintStream",866),lAn(418,1,{475:1}),EWn.Ib=function(){return this.a},gX(xWn,"AbstractStringBuilder",418),lAn(529,60,KVn,Cy),gX(xWn,"ArithmeticException",529),lAn(73,60,$Qn,sv,Iy),gX(xWn,"IndexOutOfBoundsException",73),lAn(320,73,{3:1,320:1,102:1,73:1,60:1,78:1},Tv,jk),gX(xWn,"ArrayIndexOutOfBoundsException",320),lAn(528,60,KVn,hv,Oy),gX(xWn,"ArrayStoreException",528),lAn(289,78,LQn,Ay),gX(xWn,"Error",289),lAn(194,289,LQn,ov,w5),gX(xWn,"AssertionError",194),SWn={3:1,476:1,35:1};var vtt,mtt=gX(xWn,"Boolean",476);lAn(236,1,{3:1,236:1}),gX(xWn,"Number",236),lAn(217,236,{3:1,217:1,35:1,236:1},Ob),EWn.wd=function(n){return _k(this,KB(n,217))},EWn.ke=function(){return this.a},EWn.Fb=function(n){return iL(n,217)&&KB(n,217).a==this.a},EWn.Hb=function(){return this.a},EWn.Ib=function(){return""+this.a},EWn.a=0;var ytt,ktt,jtt=gX(xWn,"Byte",217);lAn(172,1,{3:1,172:1,35:1},Ab),EWn.wd=function(n){return Kk(this,KB(n,172))},EWn.Fb=function(n){return iL(n,172)&&KB(n,172).a==this.a},EWn.Hb=function(){return this.a},EWn.Ib=function(){return String.fromCharCode(this.a)},EWn.a=0;var Ett,Ttt=gX(xWn,"Character",172);lAn(205,60,{3:1,205:1,102:1,60:1,78:1},fv,Dy),gX(xWn,"ClassCastException",205),PWn={3:1,35:1,333:1,236:1};var Mtt=gX(xWn,"Double",333);lAn(155,236,{3:1,35:1,155:1,236:1},$b,Nv),EWn.wd=function(n){return KO(this,KB(n,155))},EWn.ke=function(){return this.a},EWn.Fb=function(n){return iL(n,155)&&g_(this.a,KB(n,155).a)},EWn.Hb=function(){return SY(this.a)},EWn.Ib=function(){return""+this.a},EWn.a=0;var Stt=gX(xWn,"Float",155);lAn(32,60,{3:1,102:1,32:1,60:1,78:1},lv,Ry,_sn),gX(xWn,"IllegalArgumentException",32),lAn(71,60,KVn,bv,_y),gX(xWn,"IllegalStateException",71),lAn(19,236,{3:1,35:1,19:1,236:1},Lb),EWn.wd=function(n){return FO(this,KB(n,19))},EWn.ke=function(){return this.a},EWn.Fb=function(n){return iL(n,19)&&KB(n,19).a==this.a},EWn.Hb=function(){return this.a},EWn.Ib=function(){return""+this.a},EWn.a=0;var Ptt,Ctt,Itt=gX(xWn,"Integer",19);lAn(162,236,{3:1,35:1,162:1,236:1},Nb),EWn.wd=function(n){return BO(this,KB(n,162))},EWn.ke=function(){return y2(this.a)},EWn.Fb=function(n){return iL(n,162)&&WI(KB(n,162).a,this.a)},EWn.Hb=function(){return bG(this.a)},EWn.Ib=function(){return""+gz(this.a)},EWn.a=0;var Ott,Att,$tt,Ltt,Ntt,xtt=gX(xWn,"Long",162);lAn(2039,1,{}),lAn(1831,60,KVn,Ky),gX(xWn,"NegativeArraySizeException",1831),lAn(173,598,{3:1,102:1,173:1,60:1,78:1},wv,Fy),EWn.Wd=function(n){return new TypeError(n)},gX(xWn,"NullPointerException",173),lAn(127,32,{3:1,102:1,32:1,127:1,60:1,78:1},Ek),gX(xWn,"NumberFormatException",127),lAn(184,236,{3:1,35:1,236:1,184:1},xb),EWn.wd=function(n){return Fk(this,KB(n,184))},EWn.ke=function(){return this.a},EWn.Fb=function(n){return iL(n,184)&&KB(n,184).a==this.a},EWn.Hb=function(){return this.a},EWn.Ib=function(){return""+this.a},EWn.a=0;var Dtt,Rtt=gX(xWn,"Short",184);lAn(310,1,{3:1,310:1},MV),EWn.Fb=function(n){var t;return!!iL(n,310)&&(t=KB(n,310),this.c==t.c&&this.d==t.d&&this.a==t.a&&this.b==t.b)},EWn.Hb=function(){return shn(Mun(Hk(Int,1),FWn,1,5,[tln(this.c),this.a,this.d,this.b]))},EWn.Ib=function(){return this.a+"."+this.d+"("+(null!=this.b?this.b:"Unknown Source")+(this.c>=0?":"+this.c:"")+")"},EWn.c=0;var _tt=gX(xWn,"StackTraceElement",310);CWn={3:1,475:1,35:1,2:1};var Ktt,Ftt,Btt,Htt,qtt,Gtt,ztt,Utt,Xtt,Wtt=gX(xWn,BVn,2);lAn(107,418,{475:1},Tk,Mk,sN),gX(xWn,"StringBuffer",107),lAn(100,418,{475:1},Sk,Pk,hN),gX(xWn,"StringBuilder",100),lAn(687,73,$Qn,Ck),gX(xWn,"StringIndexOutOfBoundsException",687),lAn(2043,1,{}),lAn(844,1,{},x),EWn.Kb=function(n){return KB(n,78).e},gX(xWn,"Throwable/lambda$0$Type",844),lAn(41,60,{3:1,102:1,60:1,78:1,41:1},dv,Zy),gX(xWn,"UnsupportedOperationException",41),lAn(240,236,{3:1,35:1,236:1,240:1},mnn,lE),EWn.wd=function(n){return QKn(this,KB(n,240))},EWn.ke=function(){return fSn(nqn(this))},EWn.Fb=function(n){var t;return this===n||!!iL(n,240)&&(t=KB(n,240),this.e==t.e&&0==QKn(this,t))},EWn.Hb=function(){var n;return 0!=this.b?this.b:this.a<54?(n=san(this.f),this.b=bG(n0(n,-1)),this.b=33*this.b+bG(n0(mz(n,32),-1)),this.b=17*this.b+SY(this.e),this.b):(this.b=17*Dhn(this.c)+SY(this.e),this.b)},EWn.Ib=function(){return nqn(this)},EWn.a=0,EWn.b=0,EWn.d=0,EWn.e=0,EWn.f=0;var Vtt,Qtt,Jtt,Ytt,Ztt,net,tet=gX("java.math","BigDecimal",240);lAn(91,236,{3:1,35:1,236:1,91:1},xpn,z6,hU,gEn,Sgn,OA),EWn.wd=function(n){return Zdn(this,KB(n,91))},EWn.ke=function(){return fSn(BXn(this,0))},EWn.Fb=function(n){return uwn(this,n)},EWn.Hb=function(){return Dhn(this)},EWn.Ib=function(){return BXn(this,0)},EWn.b=-2,EWn.c=0,EWn.d=0,EWn.e=0;var eet,iet,ret,cet,aet=gX("java.math","BigInteger",91);lAn(488,1967,QWn),EWn.$b=function(){OU(this)},EWn._b=function(n){return oU(this,n)},EWn.uc=function(n){return Asn(this,n,this.g)||Asn(this,n,this.f)},EWn.vc=function(){return new Mb(this)},EWn.xc=function(n){return xX(this,n)},EWn.zc=function(n,t){return XW(this,n,t)},EWn.Bc=function(n){return g6(this,n)},EWn.gc=function(){return $T(this)},gX(VWn,"AbstractHashMap",488),lAn(261,YWn,ZWn,Mb),EWn.$b=function(){this.a.$b()},EWn.Hc=function(n){return p2(this,n)},EWn.Kc=function(){return new csn(this.a)},EWn.Mc=function(n){var t;return!!p2(this,n)&&(t=KB(n,42).cd(),this.a.Bc(t),!0)},EWn.gc=function(){return this.a.gc()},gX(VWn,"AbstractHashMap/EntrySet",261),lAn(262,1,WWn,csn),EWn.Nb=function(n){sU(this,n)},EWn.Pb=function(){return Ztn(this)},EWn.Ob=function(){return this.b},EWn.Qb=function(){a9(this)},EWn.b=!1,gX(VWn,"AbstractHashMap/EntrySetIterator",262),lAn(417,1,WWn,Tb),EWn.Nb=function(n){sU(this,n)},EWn.Ob=function(){return rS(this)},EWn.Pb=function(){return pQ(this)},EWn.Qb=function(){sW(this)},EWn.b=0,EWn.c=-1,gX(VWn,"AbstractList/IteratorImpl",417),lAn(96,417,iVn,E2),EWn.Qb=function(){sW(this)},EWn.Rb=function(n){vR(this,n)},EWn.Sb=function(){return this.b>0},EWn.Tb=function(){return this.b},EWn.Ub=function(){return Mx(this.b>0),this.a.Xb(this.c=--this.b)},EWn.Vb=function(){return this.b-1},EWn.Wb=function(n){Ex(-1!=this.c),this.a._c(this.c,n)},gX(VWn,"AbstractList/ListIteratorImpl",96),lAn(219,52,AVn,u1),EWn.Vc=function(n,t){AZ(n,this.b),this.c.Vc(this.a+n,t),++this.b},EWn.Xb=function(n){return h1(n,this.b),this.c.Xb(this.a+n)},EWn.$c=function(n){var t;return h1(n,this.b),t=this.c.$c(this.a+n),--this.b,t},EWn._c=function(n,t){return h1(n,this.b),this.c._c(this.a+n,t)},EWn.gc=function(){return this.b},EWn.a=0,EWn.b=0,gX(VWn,"AbstractList/SubList",219),lAn(384,YWn,ZWn,Sb),EWn.$b=function(){this.a.$b()},EWn.Hc=function(n){return this.a._b(n)},EWn.Kc=function(){return new Pb(this.a.vc().Kc())},EWn.Mc=function(n){return!!this.a._b(n)&&(this.a.Bc(n),!0)},EWn.gc=function(){return this.a.gc()},gX(VWn,"AbstractMap/1",384),lAn(691,1,WWn,Pb),EWn.Nb=function(n){sU(this,n)},EWn.Ob=function(){return this.a.Ob()},EWn.Pb=function(){return KB(this.a.Pb(),42).cd()},EWn.Qb=function(){this.a.Qb()},gX(VWn,"AbstractMap/1/1",691),lAn(226,28,JWn,Cb),EWn.$b=function(){this.a.$b()},EWn.Hc=function(n){return this.a.uc(n)},EWn.Kc=function(){return new Db(this.a.vc().Kc())},EWn.gc=function(){return this.a.gc()},gX(VWn,"AbstractMap/2",226),lAn(294,1,WWn,Db),EWn.Nb=function(n){sU(this,n)},EWn.Ob=function(){return this.a.Ob()},EWn.Pb=function(){return KB(this.a.Pb(),42).dd()},EWn.Qb=function(){this.a.Qb()},gX(VWn,"AbstractMap/2/1",294),lAn(484,1,{484:1,42:1}),EWn.Fb=function(n){var t;return!!iL(n,42)&&(t=KB(n,42),iV(this.d,t.cd())&&iV(this.e,t.dd()))},EWn.cd=function(){return this.d},EWn.dd=function(){return this.e},EWn.Hb=function(){return DA(this.d)^DA(this.e)},EWn.ed=function(n){return dR(this,n)},EWn.Ib=function(){return this.d+"="+this.e},gX(VWn,"AbstractMap/AbstractEntry",484),lAn(383,484,{484:1,383:1,42:1},MS),gX(VWn,"AbstractMap/SimpleEntry",383),lAn(1984,1,XQn),EWn.Fb=function(n){var t;return!!iL(n,42)&&(t=KB(n,42),iV(this.cd(),t.cd())&&iV(this.dd(),t.dd()))},EWn.Hb=function(){return DA(this.cd())^DA(this.dd())},EWn.Ib=function(){return this.cd()+"="+this.dd()},gX(VWn,cVn,1984),lAn(1992,1967,nVn),EWn.tc=function(n){return B5(this,n)},EWn._b=function(n){return N_(this,n)},EWn.vc=function(){return new Kb(this)},EWn.xc=function(n){return BI(hsn(this,n))},EWn.ec=function(){return new Rb(this)},gX(VWn,"AbstractNavigableMap",1992),lAn(739,YWn,ZWn,Kb),EWn.Hc=function(n){return iL(n,42)&&B5(this.b,KB(n,42))},EWn.Kc=function(){return new KR(this.b)},EWn.Mc=function(n){var t;return!!iL(n,42)&&(t=KB(n,42),q8(this.b,t))},EWn.gc=function(){return this.b.c},gX(VWn,"AbstractNavigableMap/EntrySet",739),lAn(493,YWn,eVn,Rb),EWn.Nc=function(){return new lS(this)},EWn.$b=function(){py(this.a)},EWn.Hc=function(n){return N_(this.a,n)},EWn.Kc=function(){return new _b(new KR(new LN(this.a).b))},EWn.Mc=function(n){return!!N_(this.a,n)&&(OY(this.a,n),!0)},EWn.gc=function(){return this.a.c},gX(VWn,"AbstractNavigableMap/NavigableKeySet",493),lAn(494,1,WWn,_b),EWn.Nb=function(n){sU(this,n)},EWn.Ob=function(){return rS(this.a.a)},EWn.Pb=function(){return px(this.a).cd()},EWn.Qb=function(){nK(this.a)},gX(VWn,"AbstractNavigableMap/NavigableKeySet/1",494),lAn(2004,28,JWn),EWn.Fc=function(n){return _8(nMn(this,n)),!0},EWn.Gc=function(n){return mW(n),gH(n!=this,"Can't add a queue to itself"),_rn(this,n)},EWn.$b=function(){for(;null!=pnn(this););},gX(VWn,"AbstractQueue",2004),lAn(302,28,{4:1,20:1,28:1,14:1},Ap,b1),EWn.Fc=function(n){return l3(this,n),!0},EWn.$b=function(){a4(this)},EWn.Hc=function(n){return lun(new fV(this),n)},EWn.dc=function(){return Uy(this)},EWn.Kc=function(){return new fV(this)},EWn.Mc=function(n){return HY(new fV(this),n)},EWn.gc=function(){return this.c-this.b&this.a.length-1},EWn.Nc=function(){return new l1(this,272)},EWn.Qc=function(n){var t;return t=this.c-this.b&this.a.length-1,n.length<t&&(n=Bk(new Array(t),n)),crn(this,n,t),n.length>t&&OX(n,t,null),n},EWn.b=0,EWn.c=0,gX(VWn,"ArrayDeque",302),lAn(446,1,WWn,fV),EWn.Nb=function(n){sU(this,n)},EWn.Ob=function(){return this.a!=this.b},EWn.Pb=function(){return Rhn(this)},EWn.Qb=function(){nin(this)},EWn.a=0,EWn.b=0,EWn.c=-1,gX(VWn,"ArrayDeque/IteratorImpl",446),lAn(12,52,WQn,$p,Q6,Z_),EWn.Vc=function(n,t){mG(this,n,t)},EWn.Fc=function(n){return UB(this,n)},EWn.Wc=function(n,t){return ahn(this,n,t)},EWn.Gc=function(n){return wun(this,n)},EWn.$b=function(){this.c=L8(Int,FWn,1,0,5,1)},EWn.Hc=function(n){return-1!=k7(this,n,0)},EWn.Jc=function(n){Ctn(this,n)},EWn.Xb=function(n){return Lq(this,n)},EWn.Xc=function(n){return k7(this,n,0)},EWn.dc=function(){return 0==this.c.length},EWn.Kc=function(){return new Ub(this)},EWn.$c=function(n){return u6(this,n)},EWn.Mc=function(n){return v7(this,n)},EWn.Ud=function(n,t){o1(this,n,t)},EWn._c=function(n,t){return i5(this,n,t)},EWn.gc=function(){return this.c.length},EWn.ad=function(n){p$(this,n)},EWn.Pc=function(){return fx(this)},EWn.Qc=function(n){return Wgn(this,n)};var uet,oet,set,het,fet,bet,wet,det,get,pet=gX(VWn,"ArrayList",12);lAn(7,1,WWn,Ub),EWn.Nb=function(n){sU(this,n)},EWn.Ob=function(){return v$(this)},EWn.Pb=function(){return Y1(this)},EWn.Qb=function(){IU(this)},EWn.a=0,EWn.b=-1,gX(VWn,"ArrayList/1",7),lAn(2013,i.Function,{},T),EWn.te=function(n,t){return Mln(n,t)},lAn(154,52,VQn,Qy),EWn.Hc=function(n){return-1!=fin(this,n)},EWn.Jc=function(n){var t,e,i,r;for(mW(n),i=0,r=(e=this.a).length;i<r;++i)t=e[i],n.td(t)},EWn.Xb=function(n){return Nq(this,n)},EWn._c=function(n,t){var e;return h1(n,this.a.length),e=this.a[n],OX(this.a,n,t),e},EWn.gc=function(){return this.a.length},EWn.ad=function(n){vG(this.a,this.a.length,n)},EWn.Pc=function(){return Vgn(this,L8(Int,FWn,1,this.a.length,5,1))},EWn.Qc=function(n){return Vgn(this,n)},gX(VWn,"Arrays/ArrayList",154),lAn(940,52,VQn,S),EWn.Hc=function(n){return!1},EWn.Xb=function(n){return vO(n)},EWn.Kc=function(){return TQ(),AT(),het},EWn.Yc=function(){return TQ(),AT(),het},EWn.gc=function(){return 0},gX(VWn,"Collections/EmptyList",940),lAn(941,1,iVn,P),EWn.Nb=function(n){sU(this,n)},EWn.Rb=function(n){throw Fp(new dv)},EWn.Ob=function(){return!1},EWn.Sb=function(){return!1},EWn.Pb=function(){throw Fp(new vv)},EWn.Tb=function(){return 0},EWn.Ub=function(){throw Fp(new vv)},EWn.Vb=function(){return-1},EWn.Qb=function(){throw Fp(new bv)},EWn.Wb=function(n){throw Fp(new bv)},gX(VWn,"Collections/EmptyListIterator",941),lAn(943,1967,yVn,C),EWn._b=function(n){return!1},EWn.uc=function(n){return!1},EWn.vc=function(){return TQ(),set},EWn.xc=function(n){return null},EWn.ec=function(){return TQ(),set},EWn.gc=function(){return 0},EWn.Cc=function(){return TQ(),uet},gX(VWn,"Collections/EmptyMap",943),lAn(942,YWn,jVn,M),EWn.Hc=function(n){return!1},EWn.Kc=function(){return TQ(),AT(),het},EWn.gc=function(){return 0},gX(VWn,"Collections/EmptySet",942),lAn(599,52,{3:1,20:1,28:1,52:1,14:1,15:1},Hb),EWn.Hc=function(n){return iV(this.a,n)},EWn.Xb=function(n){return h1(n,1),this.a},EWn.gc=function(){return 1},gX(VWn,"Collections/SingletonList",599),lAn(372,1,gVn,Fb),EWn.Jc=function(n){n5(this,n)},EWn.Lc=function(){return new xq(null,this.Nc())},EWn.Nc=function(){return new l1(this,0)},EWn.Oc=function(){return new xq(null,this.Nc())},EWn.Fc=function(n){return aE()},EWn.Gc=function(n){return uE()},EWn.$b=function(){oE()},EWn.Hc=function(n){return LT(this,n)},EWn.Ic=function(n){return NT(this,n)},EWn.dc=function(){return this.b.dc()},EWn.Kc=function(){return new Bb(this.b.Kc())},EWn.Mc=function(n){return sE()},EWn.gc=function(){return this.b.gc()},EWn.Pc=function(){return this.b.Pc()},EWn.Qc=function(n){return xT(this,n)},EWn.Ib=function(){return Kbn(this.b)},gX(VWn,"Collections/UnmodifiableCollection",372),lAn(371,1,WWn,Bb),EWn.Nb=function(n){sU(this,n)},EWn.Ob=function(){return this.b.Ob()},EWn.Pb=function(){return this.b.Pb()},EWn.Qb=function(){hE()},gX(VWn,"Collections/UnmodifiableCollectionIterator",371),lAn(531,372,QQn,fN),EWn.Nc=function(){return new l1(this,16)},EWn.Vc=function(n,t){throw Fp(new dv)},EWn.Wc=function(n,t){throw Fp(new dv)},EWn.Fb=function(n){return $fn(this.a,n)},EWn.Xb=function(n){return this.a.Xb(n)},EWn.Hb=function(){return Yon(this.a)},EWn.Xc=function(n){return this.a.Xc(n)},EWn.dc=function(){return this.a.dc()},EWn.Yc=function(){return new lN(this.a.Zc(0))},EWn.Zc=function(n){return new lN(this.a.Zc(n))},EWn.$c=function(n){throw Fp(new dv)},EWn._c=function(n,t){throw Fp(new dv)},EWn.ad=function(n){throw Fp(new dv)},EWn.bd=function(n,t){return new fN(this.a.bd(n,t))},gX(VWn,"Collections/UnmodifiableList",531),lAn(690,371,iVn,lN),EWn.Qb=function(){hE()},EWn.Rb=function(n){throw Fp(new dv)},EWn.Sb=function(){return this.a.Sb()},EWn.Tb=function(){return this.a.Tb()},EWn.Ub=function(){return this.a.Ub()},EWn.Vb=function(){return this.a.Vb()},EWn.Wb=function(n){throw Fp(new dv)},gX(VWn,"Collections/UnmodifiableListIterator",690),lAn(600,1,QWn,zb),EWn.wc=function(n){Ycn(this,n)},EWn.yc=function(n,t,e){return Jln(this,n,t,e)},EWn.$b=function(){throw Fp(new dv)},EWn._b=function(n){return this.c._b(n)},EWn.uc=function(n){return RT(this,n)},EWn.vc=function(){return nV(this)},EWn.Fb=function(n){return KT(this,n)},EWn.xc=function(n){return this.c.xc(n)},EWn.Hb=function(){return Yon(this.c)},EWn.dc=function(){return this.c.dc()},EWn.ec=function(){return tV(this)},EWn.zc=function(n,t){throw Fp(new dv)},EWn.Bc=function(n){throw Fp(new dv)},EWn.gc=function(){return this.c.gc()},EWn.Ib=function(){return Kbn(this.c)},EWn.Cc=function(){return ZW(this)},gX(VWn,"Collections/UnmodifiableMap",600),lAn(382,372,kVn,Ik),EWn.Nc=function(){return new l1(this,1)},EWn.Fb=function(n){return $fn(this.b,n)},EWn.Hb=function(){return Yon(this.b)},gX(VWn,"Collections/UnmodifiableSet",382),lAn(944,382,kVn,Ak),EWn.Hc=function(n){return DT(this,n)},EWn.Ic=function(n){return this.b.Ic(n)},EWn.Kc=function(){return new qb(this.b.Kc())},EWn.Pc=function(){var n;return y4(n=this.b.Pc(),n.length),n},EWn.Qc=function(n){return PJ(this,n)},gX(VWn,"Collections/UnmodifiableMap/UnmodifiableEntrySet",944),lAn(945,1,WWn,qb),EWn.Nb=function(n){sU(this,n)},EWn.Pb=function(){return new Gb(KB(this.a.Pb(),42))},EWn.Ob=function(){return this.a.Ob()},EWn.Qb=function(){throw Fp(new dv)},gX(VWn,"Collections/UnmodifiableMap/UnmodifiableEntrySet/1",945),lAn(688,1,XQn,Gb),EWn.Fb=function(n){return this.a.Fb(n)},EWn.cd=function(){return this.a.cd()},EWn.dd=function(){return this.a.dd()},EWn.Hb=function(){return this.a.Hb()},EWn.ed=function(n){throw Fp(new dv)},EWn.Ib=function(){return Kbn(this.a)},gX(VWn,"Collections/UnmodifiableMap/UnmodifiableEntrySet/UnmodifiableEntry",688),lAn(601,531,{20:1,14:1,15:1,54:1},Ok),gX(VWn,"Collections/UnmodifiableRandomAccessList",601),lAn(689,382,EVn,bN),EWn.Nc=function(){return new lS(this)},EWn.Fb=function(n){return $fn(this.a,n)},EWn.Hb=function(){return Yon(this.a)},gX(VWn,"Collections/UnmodifiableSortedSet",689),lAn(847,1,JQn,D),EWn.ue=function(n,t){var e;return 0!=(e=j4(KB(n,11),KB(t,11)))?e:YKn(KB(n,11),KB(t,11))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(VWn,"Comparator/lambda$0$Type",847),lAn(751,1,JQn,R),EWn.ue=function(n,t){return Rq(KB(n,35),KB(t,35))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return MQ(),wet},gX(VWn,"Comparators/NaturalOrderComparator",751),lAn(1177,1,JQn,_),EWn.ue=function(n,t){return _q(KB(n,35),KB(t,35))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return MQ(),bet},gX(VWn,"Comparators/ReverseNaturalOrderComparator",1177),lAn(64,1,JQn,Yb),EWn.Fb=function(n){return this===n},EWn.ue=function(n,t){return this.a.ue(t,n)},EWn.ve=function(){return this.a},gX(VWn,"Comparators/ReversedComparator",64),lAn(166,60,KVn,gv),gX(VWn,"ConcurrentModificationException",166),lAn(1904,1,YQn,K),EWn.we=function(n){odn(this,n)},EWn.Ib=function(){return"DoubleSummaryStatistics[count = "+gz(this.a)+", avg = "+(aS(this.a,0)?h6(this)/y2(this.a):0)+", min = "+this.c+", max = "+this.b+", sum = "+h6(this)+"]"},EWn.a=0,EWn.b=DQn,EWn.c=xQn,EWn.d=0,EWn.e=0,EWn.f=0,gX(VWn,"DoubleSummaryStatistics",1904),lAn(1805,60,KVn,pv),gX(VWn,"EmptyStackException",1805),lAn(451,1967,QWn,Fbn),EWn.zc=function(n,t){return lR(this,n,t)},EWn.$b=function(){jW(this)},EWn._b=function(n){return cS(this,n)},EWn.uc=function(n){var t,e;for(e=new WT(this.a);e.a<e.c.a.length;)if(t=c4(e),iV(n,this.b[t.g]))return!0;return!1},EWn.vc=function(){return new Zb(this)},EWn.xc=function(n){return aV(this,n)},EWn.Bc=function(n){return $Z(this,n)},EWn.gc=function(){return this.a.c},gX(VWn,"EnumMap",451),lAn(1352,YWn,ZWn,Zb),EWn.$b=function(){jW(this.a)},EWn.Hc=function(n){return g2(this,n)},EWn.Kc=function(){return new Iq(this.a)},EWn.Mc=function(n){var t;return!!g2(this,n)&&(t=KB(n,42).cd(),$Z(this.a,t),!0)},EWn.gc=function(){return this.a.a.c},gX(VWn,"EnumMap/EntrySet",1352),lAn(1353,1,WWn,Iq),EWn.Nb=function(n){sU(this,n)},EWn.Pb=function(){return this.b=c4(this.a),new SS(this.c,this.b)},EWn.Ob=function(){return m$(this.a)},EWn.Qb=function(){Ex(!!this.b),$Z(this.c,this.b),this.b=null},gX(VWn,"EnumMap/EntrySetIterator",1353),lAn(1354,1984,XQn,SS),EWn.cd=function(){return this.a},EWn.dd=function(){return this.b.b[this.a.g]},EWn.ed=function(n){return kU(this.b,this.a.g,n)},gX(VWn,"EnumMap/MapEntry",1354),lAn(174,YWn,{20:1,28:1,14:1,174:1,21:1});var vet=gX(VWn,"EnumSet",174);lAn(156,174,{20:1,28:1,14:1,174:1,156:1,21:1},V_),EWn.Fc=function(n){return arn(this,KB(n,22))},EWn.Hc=function(n){return SG(this,n)},EWn.Kc=function(){return new WT(this)},EWn.Mc=function(n){return PG(this,n)},EWn.gc=function(){return this.c},EWn.c=0,gX(VWn,"EnumSet/EnumSetImpl",156),lAn(343,1,WWn,WT),EWn.Nb=function(n){sU(this,n)},EWn.Pb=function(){return c4(this)},EWn.Ob=function(){return m$(this)},EWn.Qb=function(){Ex(-1!=this.b),OX(this.c.b,this.b,null),--this.c.c,this.b=-1},EWn.a=-1,EWn.b=-1,gX(VWn,"EnumSet/EnumSetImpl/IteratorImpl",343),lAn(43,488,ZQn,Lp,zT,pO),EWn.re=function(n,t){return HI(n)===HI(t)||null!=n&&$fn(n,t)},EWn.se=function(n){return 0|Yon(n)},gX(VWn,"HashMap",43),lAn(53,YWn,nJn,xv,fE,Oq),EWn.Fc=function(n){return jU(this,n)},EWn.$b=function(){this.a.$b()},EWn.Hc=function(n){return _T(this,n)},EWn.dc=function(){return 0==this.a.gc()},EWn.Kc=function(){return this.a.ec().Kc()},EWn.Mc=function(n){return nL(this,n)},EWn.gc=function(){return this.a.gc()};var met,yet=gX(VWn,"HashSet",53);lAn(1781,1,lVn,F),EWn.ud=function(n){ean(this,n)},EWn.Ib=function(){return"IntSummaryStatistics[count = "+gz(this.a)+", avg = "+(aS(this.a,0)?y2(this.d)/y2(this.a):0)+", min = "+this.c+", max = "+this.b+", sum = "+gz(this.d)+"]"},EWn.a=0,EWn.b=RVn,EWn.c=NWn,EWn.d=0,gX(VWn,"IntSummaryStatistics",1781),lAn(1049,1,dVn,nA),EWn.Jc=function(n){n5(this,n)},EWn.Kc=function(){return new T2(this)},EWn.c=0,gX(VWn,"InternalHashCodeMap",1049),lAn(711,1,WWn,T2),EWn.Nb=function(n){sU(this,n)},EWn.Pb=function(){return this.d=this.a[this.c++],this.d},EWn.Ob=function(){var n;return this.c<this.a.length||!(n=this.b.next()).done&&(this.a=n.value[1],this.c=0,!0)},EWn.Qb=function(){wAn(this.e,this.d.cd()),0!=this.c&&--this.c},EWn.c=0,EWn.d=null,gX(VWn,"InternalHashCodeMap/1",711),lAn(1047,1,dVn,tA),EWn.Jc=function(n){n5(this,n)},EWn.Kc=function(){return new d4(this)},EWn.c=0,EWn.d=0,gX(VWn,"InternalStringMap",1047),lAn(710,1,WWn,d4),EWn.Nb=function(n){sU(this,n)},EWn.Pb=function(){return this.c=this.a,this.a=this.b.next(),new Q_(this.d,this.c,this.d.d)},EWn.Ob=function(){return!this.a.done},EWn.Qb=function(){Han(this.d,this.c.value[0])},gX(VWn,"InternalStringMap/1",710),lAn(1048,1984,XQn,Q_),EWn.cd=function(){return this.b.value[0]},EWn.dd=function(){return this.a.d!=this.c?oS(this.a,this.b.value[0]):this.b.value[1]},EWn.ed=function(n){return cbn(this.a,this.b.value[0],n)},EWn.c=0,gX(VWn,"InternalStringMap/2",1048),lAn(228,43,ZQn,g4,B8),EWn.$b=function(){mR(this)},EWn._b=function(n){return hS(this,n)},EWn.uc=function(n){var t;for(t=this.d.a;t!=this.d;){if(iV(t.e,n))return!0;t=t.a}return!1},EWn.vc=function(){return new tw(this)},EWn.xc=function(n){return hnn(this,n)},EWn.zc=function(n,t){return Qgn(this,n,t)},EWn.Bc=function(n){return m7(this,n)},EWn.gc=function(){return $T(this.e)},EWn.c=!1,gX(VWn,"LinkedHashMap",228),lAn(387,383,{484:1,383:1,387:1,42:1},Sx,YB),gX(VWn,"LinkedHashMap/ChainEntry",387),lAn(701,YWn,ZWn,tw),EWn.$b=function(){mR(this.a)},EWn.Hc=function(n){return v2(this,n)},EWn.Kc=function(){return new oW(this)},EWn.Mc=function(n){var t;return!!v2(this,n)&&(t=KB(n,42).cd(),m7(this.a,t),!0)},EWn.gc=function(){return $T(this.a.e)},gX(VWn,"LinkedHashMap/EntrySet",701),lAn(702,1,WWn,oW),EWn.Nb=function(n){sU(this,n)},EWn.Pb=function(){return u9(this)},EWn.Ob=function(){return this.b!=this.c.a.d},EWn.Qb=function(){Ex(!!this.a),d2(this.c.a.e,this),xH(this.a),g6(this.c.a.e,this.a.d),fD(this.c.a.e,this),this.a=null},gX(VWn,"LinkedHashMap/EntrySet/EntryIterator",702),lAn(178,53,nJn,sA,AN,Aq);var ket=gX(VWn,"LinkedHashSet",178);lAn(68,1964,{3:1,4:1,20:1,28:1,52:1,14:1,68:1,15:1},VT,Y_),EWn.Fc=function(n){return NH(this,n)},EWn.$b=function(){vQ(this)},EWn.Zc=function(n){return upn(this,n)},EWn.gc=function(){return this.b},EWn.b=0;var jet,Eet,Tet,Met,Set,Pet=gX(VWn,"LinkedList",68);lAn(970,1,iVn,J_),EWn.Nb=function(n){sU(this,n)},EWn.Rb=function(n){YU(this,n)},EWn.Ob=function(){return kE(this)},EWn.Sb=function(){return this.b.b!=this.d.a},EWn.Pb=function(){return f3(this)},EWn.Tb=function(){return this.a},EWn.Ub=function(){return G0(this)},EWn.Vb=function(){return this.a-1},EWn.Qb=function(){ptn(this)},EWn.Wb=function(n){Ex(!!this.c),this.c.c=n},EWn.a=0,EWn.c=null,gX(VWn,"LinkedList/ListIteratorImpl",970),lAn(608,1,{},$),gX(VWn,"LinkedList/Node",608),lAn(1959,1,{}),gX(VWn,"Locale",1959),lAn(861,1959,{},L),EWn.Ib=function(){return""},gX(VWn,"Locale/1",861),lAn(862,1959,{},N),EWn.Ib=function(){return"unknown"},gX(VWn,"Locale/4",862),lAn(109,60,{3:1,102:1,60:1,78:1,109:1},vv,hV),gX(VWn,"NoSuchElementException",109),lAn(404,1,{404:1},gy),EWn.Fb=function(n){var t;return n===this||!!iL(n,404)&&(t=KB(n,404),iV(this.a,t.a))},EWn.Hb=function(){return DA(this.a)},EWn.Ib=function(){return null!=this.a?HWn+mN(this.a)+")":"Optional.empty()"},gX(VWn,"Optional",404),lAn(463,1,{463:1},SO,vx),EWn.Fb=function(n){var t;return n===this||!!iL(n,463)&&(t=KB(n,463),this.a==t.a&&0==Mln(this.b,t.b))},EWn.Hb=function(){return this.a?SY(this.b):0},EWn.Ib=function(){return this.a?"OptionalDouble.of("+this.b+")":"OptionalDouble.empty()"},EWn.a=!1,EWn.b=0,gX(VWn,"OptionalDouble",463),lAn(517,1,{517:1},PO,mx),EWn.Fb=function(n){var t;return n===this||!!iL(n,517)&&(t=KB(n,517),this.a==t.a&&0==k$(this.b,t.b))},EWn.Hb=function(){return this.a?this.b:0},EWn.Ib=function(){return this.a?"OptionalInt.of("+this.b+")":"OptionalInt.empty()"},EWn.a=!1,EWn.b=0,gX(VWn,"OptionalInt",517),lAn(503,2004,JWn,zz),EWn.Gc=function(n){return tkn(this,n)},EWn.$b=function(){this.b.c=L8(Int,FWn,1,0,5,1)},EWn.Hc=function(n){return-1!=(null==n?-1:k7(this.b,n,0))},EWn.Kc=function(){return new Xb(this)},EWn.Mc=function(n){return urn(this,n)},EWn.gc=function(){return this.b.c.length},EWn.Nc=function(){return new l1(this,256)},EWn.Pc=function(){return fx(this.b)},EWn.Qc=function(n){return Wgn(this.b,n)},gX(VWn,"PriorityQueue",503),lAn(1277,1,WWn,Xb),EWn.Nb=function(n){sU(this,n)},EWn.Ob=function(){return this.a<this.c.b.c.length},EWn.Pb=function(){return Mx(this.a<this.c.b.c.length),this.b=this.a++,Lq(this.c.b,this.b)},EWn.Qb=function(){Ex(-1!=this.b),orn(this.c,this.a=this.b),this.b=-1},EWn.a=0,EWn.b=-1,gX(VWn,"PriorityQueue/1",1277),lAn(230,1,{230:1},ubn,S4),EWn.a=0,EWn.b=0;var Cet,Iet,Oet,Aet=0;gX(VWn,"Random",230),lAn(27,1,sVn,l1,qU,SV),EWn.qd=function(){return this.a},EWn.rd=function(){return Nz(this),this.c},EWn.Nb=function(n){Nz(this),this.d.Nb(n)},EWn.sd=function(n){return Ynn(this,n)},EWn.a=0,EWn.c=0,gX(VWn,"Spliterators/IteratorSpliterator",27),lAn(485,27,sVn,lS),gX(VWn,"SortedSet/1",485),lAn(602,1,YQn,Wb),EWn.we=function(n){this.a.td(n)},gX(VWn,"Spliterator/OfDouble/0methodref$accept$Type",602),lAn(603,1,YQn,Vb),EWn.we=function(n){this.a.td(n)},gX(VWn,"Spliterator/OfDouble/1methodref$accept$Type",603),lAn(604,1,lVn,Qb),EWn.ud=function(n){this.a.td(tln(n))},gX(VWn,"Spliterator/OfInt/2methodref$accept$Type",604),lAn(605,1,lVn,Jb),EWn.ud=function(n){this.a.td(tln(n))},gX(VWn,"Spliterator/OfInt/3methodref$accept$Type",605),lAn(617,1,sVn),EWn.Nb=function(n){dE(this,n)},EWn.qd=function(){return this.d},EWn.rd=function(){return this.e},EWn.d=0,EWn.e=0,gX(VWn,"Spliterators/BaseSpliterator",617),lAn(721,617,sVn),EWn.xe=function(n){wE(this,n)},EWn.Nb=function(n){iL(n,182)?wE(this,KB(n,182)):wE(this,new Vb(n))},EWn.sd=function(n){return iL(n,182)?this.ye(KB(n,182)):this.ye(new Wb(n))},gX(VWn,"Spliterators/AbstractDoubleSpliterator",721),lAn(720,617,sVn),EWn.xe=function(n){wE(this,n)},EWn.Nb=function(n){iL(n,196)?wE(this,KB(n,196)):wE(this,new Jb(n))},EWn.sd=function(n){return iL(n,196)?this.ye(KB(n,196)):this.ye(new Qb(n))},gX(VWn,"Spliterators/AbstractIntSpliterator",720),lAn(540,617,sVn),gX(VWn,"Spliterators/AbstractSpliterator",540),lAn(692,1,sVn),EWn.Nb=function(n){dE(this,n)},EWn.qd=function(){return this.b},EWn.rd=function(){return this.d-this.c},EWn.b=0,EWn.c=0,EWn.d=0,gX(VWn,"Spliterators/BaseArraySpliterator",692),lAn(947,692,sVn,KH),EWn.ze=function(n,t){ij(this,KB(n,38),t)},EWn.Nb=function(n){NX(this,n)},EWn.sd=function(n){return D6(this,n)},gX(VWn,"Spliterators/ArraySpliterator",947),lAn(693,692,sVn,R_),EWn.ze=function(n,t){rj(this,KB(n,182),t)},EWn.xe=function(n){NX(this,n)},EWn.Nb=function(n){iL(n,182)?NX(this,KB(n,182)):NX(this,new Vb(n))},EWn.ye=function(n){return D6(this,n)},EWn.sd=function(n){return iL(n,182)?D6(this,KB(n,182)):D6(this,new Wb(n))},gX(VWn,"Spliterators/DoubleArraySpliterator",693),lAn(1968,1,sVn),EWn.Nb=function(n){dE(this,n)},EWn.qd=function(){return 16448},EWn.rd=function(){return 0},gX(VWn,"Spliterators/EmptySpliterator",1968),lAn(946,1968,sVn,z),EWn.xe=function(n){Kf(n)},EWn.Nb=function(n){iL(n,196)?Kf(KB(n,196)):Kf(new Jb(n))},EWn.ye=function(n){return fS(n)},EWn.sd=function(n){return iL(n,196)?fS(KB(n,196)):fS(new Qb(n))},gX(VWn,"Spliterators/EmptySpliterator/OfInt",946),lAn(580,52,sJn,Rv),EWn.Vc=function(n,t){Dz(n,this.a.c.length+1),mG(this.a,n,t)},EWn.Fc=function(n){return UB(this.a,n)},EWn.Wc=function(n,t){return Dz(n,this.a.c.length+1),ahn(this.a,n,t)},EWn.Gc=function(n){return wun(this.a,n)},EWn.$b=function(){this.a.c=L8(Int,FWn,1,0,5,1)},EWn.Hc=function(n){return-1!=k7(this.a,n,0)},EWn.Ic=function(n){return aun(this.a,n)},EWn.Jc=function(n){Ctn(this.a,n)},EWn.Xb=function(n){return Dz(n,this.a.c.length),Lq(this.a,n)},EWn.Xc=function(n){return k7(this.a,n,0)},EWn.dc=function(){return 0==this.a.c.length},EWn.Kc=function(){return new Ub(this.a)},EWn.$c=function(n){return Dz(n,this.a.c.length),u6(this.a,n)},EWn.Ud=function(n,t){o1(this.a,n,t)},EWn._c=function(n,t){return Dz(n,this.a.c.length),i5(this.a,n,t)},EWn.gc=function(){return this.a.c.length},EWn.ad=function(n){p$(this.a,n)},EWn.bd=function(n,t){return new u1(this.a,n,t)},EWn.Pc=function(){return fx(this.a)},EWn.Qc=function(n){return Wgn(this.a,n)},EWn.Ib=function(){return AMn(this.a)},gX(VWn,"Vector",580),lAn(809,580,sJn,am),gX(VWn,"Stack",809),lAn(206,1,{206:1},Oan),EWn.Ib=function(){return U0(this)},gX(VWn,"StringJoiner",206),lAn(544,1992,{3:1,83:1,171:1,161:1},UT,Uz),EWn.$b=function(){py(this)},EWn.vc=function(){return new LN(this)},EWn.zc=function(n,t){return Eon(this,n,t)},EWn.Bc=function(n){return OY(this,n)},EWn.gc=function(){return this.c},EWn.c=0,gX(VWn,"TreeMap",544),lAn(390,1,WWn,KR),EWn.Nb=function(n){sU(this,n)},EWn.Pb=function(){return px(this)},EWn.Ob=function(){return rS(this.a)},EWn.Qb=function(){nK(this)},gX(VWn,"TreeMap/EntryIterator",390),lAn(435,739,ZWn,LN),EWn.$b=function(){py(this.a)},gX(VWn,"TreeMap/EntrySet",435),lAn(436,383,{484:1,383:1,42:1,436:1},F8),EWn.b=!1;var $et,Let,Net,xet,Det=gX(VWn,"TreeMap/Node",436);lAn(621,1,{},q),EWn.Ib=function(){return"State: mv="+this.c+" value="+this.d+" done="+this.a+" found="+this.b},EWn.a=!1,EWn.b=!1,EWn.c=!1,gX(VWn,"TreeMap/State",621),lAn(297,22,hJn,wS),EWn.Ae=function(){return!1},EWn.Be=function(){return!1};var Ret,_et=Ken(VWn,"TreeMap/SubMapType",297,Gnt,Q2,oK);lAn(1112,297,hJn,AA),EWn.Be=function(){return!0},Ken(VWn,"TreeMap/SubMapType/1",1112,_et,null,null),lAn(1113,297,hJn,I$),EWn.Ae=function(){return!0},EWn.Be=function(){return!0},Ken(VWn,"TreeMap/SubMapType/2",1113,_et,null,null),lAn(1114,297,hJn,$A),EWn.Ae=function(){return!0},Ken(VWn,"TreeMap/SubMapType/3",1114,_et,null,null),lAn(208,YWn,{3:1,20:1,28:1,14:1,271:1,21:1,84:1,208:1},qv,bE),EWn.Nc=function(){return new lS(this)},EWn.Fc=function(n){return JU(this,n)},EWn.$b=function(){py(this.a)},EWn.Hc=function(n){return N_(this.a,n)},EWn.Kc=function(){return new _b(new KR(new LN(new Rb(this.a).a).b))},EWn.Mc=function(n){return EN(this,n)},EWn.gc=function(){return this.a.c};var Ket=gX(VWn,"TreeSet",208);lAn(966,1,{},ew),EWn.Ce=function(n,t){return ND(this.a,n,t)},gX(fJn,"BinaryOperator/lambda$0$Type",966),lAn(967,1,{},iw),EWn.Ce=function(n,t){return xD(this.a,n,t)},gX(fJn,"BinaryOperator/lambda$1$Type",967),lAn(846,1,{},G),EWn.Kb=function(n){return n},gX(fJn,"Function/lambda$0$Type",846),lAn(431,1,NVn,rw),EWn.Mb=function(n){return!this.a.Mb(n)},gX(fJn,"Predicate/lambda$2$Type",431),lAn(572,1,{572:1});var Fet,Bet,Het=gX(lJn,"Handler",572);lAn(2007,1,DWn),EWn.ne=function(){return"DUMMY"},EWn.Ib=function(){return this.ne()},gX(lJn,"Level",2007),lAn(1621,2007,DWn,U),EWn.ne=function(){return"INFO"},gX(lJn,"Level/LevelInfo",1621),lAn(1640,1,{},Dv),gX(lJn,"LogManager",1640),lAn(1780,1,DWn,tK),EWn.b=null,gX(lJn,"LogRecord",1780),lAn(512,1,{512:1},v5),EWn.e=!1;var qet,Get,zet,Uet=!1,Xet=!1,Wet=!1,Vet=!1,Qet=!1;gX(lJn,"Logger",512),lAn(819,572,{572:1},X),gX(lJn,"SimpleConsoleLogHandler",819),lAn(132,22,{3:1,35:1,22:1,132:1},dS);var Jet,Yet=Ken(dJn,"Collector/Characteristics",132,Gnt,d1,sK);lAn(744,1,{},yU),gX(dJn,"CollectorImpl",744),lAn(1060,1,{},W),EWn.Ce=function(n,t){return Cfn(KB(n,206),KB(t,206))},gX(dJn,"Collectors/10methodref$merge$Type",1060),lAn(1061,1,{},V),EWn.Kb=function(n){return U0(KB(n,206))},gX(dJn,"Collectors/11methodref$toString$Type",1061),lAn(1062,1,{},cw),EWn.Kb=function(n){return oN(),!!jO(n)},gX(dJn,"Collectors/12methodref$test$Type",1062),lAn(251,1,{},B),EWn.Od=function(n,t){KB(n,14).Fc(t)},gX(dJn,"Collectors/20methodref$add$Type",251),lAn(253,1,{},H),EWn.Ee=function(){return new $p},gX(dJn,"Collectors/21methodref$ctor$Type",253),lAn(346,1,{},Q),EWn.Ee=function(){return new xv},gX(dJn,"Collectors/23methodref$ctor$Type",346),lAn(347,1,{},J),EWn.Od=function(n,t){jU(KB(n,53),t)},gX(dJn,"Collectors/24methodref$add$Type",347),lAn(1055,1,{},Y),EWn.Ce=function(n,t){return JT(KB(n,15),KB(t,14))},gX(dJn,"Collectors/4methodref$addAll$Type",1055),lAn(1059,1,{},Z),EWn.Od=function(n,t){f6(KB(n,206),KB(t,475))},gX(dJn,"Collectors/9methodref$add$Type",1059),lAn(1058,1,{},VB),EWn.Ee=function(){return new Oan(this.a,this.b,this.c)},gX(dJn,"Collectors/lambda$15$Type",1058),lAn(1063,1,{},nn),EWn.Ee=function(){var n;return Qgn(n=new g4,(oN(),!1),new $p),Qgn(n,!0,new $p),n},gX(dJn,"Collectors/lambda$22$Type",1063),lAn(1064,1,{},aw),EWn.Ee=function(){return Mun(Hk(Int,1),FWn,1,5,[this.a])},gX(dJn,"Collectors/lambda$25$Type",1064),lAn(1065,1,{},uw),EWn.Od=function(n,t){Kq(this.a,nen(n))},gX(dJn,"Collectors/lambda$26$Type",1065),lAn(1066,1,{},ow),EWn.Ce=function(n,t){return Rz(this.a,nen(n),nen(t))},gX(dJn,"Collectors/lambda$27$Type",1066),lAn(1067,1,{},tn),EWn.Kb=function(n){return nen(n)[0]},gX(dJn,"Collectors/lambda$28$Type",1067),lAn(713,1,{},en),EWn.Ce=function(n,t){return Fq(n,t)},gX(dJn,"Collectors/lambda$4$Type",713),lAn(252,1,{},rn),EWn.Ce=function(n,t){return HT(KB(n,14),KB(t,14))},gX(dJn,"Collectors/lambda$42$Type",252),lAn(348,1,{},cn),EWn.Ce=function(n,t){return qT(KB(n,53),KB(t,53))},gX(dJn,"Collectors/lambda$50$Type",348),lAn(349,1,{},an),EWn.Kb=function(n){return KB(n,53)},gX(dJn,"Collectors/lambda$51$Type",349),lAn(1054,1,{},sw),EWn.Od=function(n,t){fsn(this.a,KB(n,83),t)},gX(dJn,"Collectors/lambda$7$Type",1054),lAn(1056,1,{},un),EWn.Ce=function(n,t){return dun(KB(n,83),KB(t,83),new Y)},gX(dJn,"Collectors/lambda$8$Type",1056),lAn(1057,1,{},hw),EWn.Kb=function(n){return pbn(this.a,KB(n,83))},gX(dJn,"Collectors/lambda$9$Type",1057),lAn(539,1,{}),EWn.He=function(){yW(this)},EWn.d=!1,gX(dJn,"TerminatableStream",539),lAn(812,539,gJn,ID),EWn.He=function(){yW(this)},gX(dJn,"DoubleStreamImpl",812),lAn(1784,721,sVn,JB),EWn.ye=function(n){return dmn(this,KB(n,182))},EWn.a=null,gX(dJn,"DoubleStreamImpl/2",1784),lAn(1785,1,YQn,fw),EWn.we=function(n){FA(this.a,n)},gX(dJn,"DoubleStreamImpl/2/lambda$0$Type",1785),lAn(1782,1,YQn,lw),EWn.we=function(n){KA(this.a,n)},gX(dJn,"DoubleStreamImpl/lambda$0$Type",1782),lAn(1783,1,YQn,bw),EWn.we=function(n){odn(this.a,n)},gX(dJn,"DoubleStreamImpl/lambda$2$Type",1783),lAn(1358,720,sVn,p5),EWn.ye=function(n){return m2(this,KB(n,196))},EWn.a=0,EWn.b=0,EWn.c=0,gX(dJn,"IntStream/5",1358),lAn(787,539,gJn,OD),EWn.He=function(){yW(this)},EWn.Ie=function(){return kW(this),this.a},gX(dJn,"IntStreamImpl",787),lAn(788,539,gJn,XT),EWn.He=function(){yW(this)},EWn.Ie=function(){return kW(this),PL(),Oet},gX(dJn,"IntStreamImpl/Empty",788),lAn(1463,1,lVn,ww),EWn.ud=function(n){ean(this.a,n)},gX(dJn,"IntStreamImpl/lambda$4$Type",1463);var Zet,nit=fq(dJn,"Stream");lAn(30,539,{525:1,670:1,833:1},xq),EWn.He=function(){yW(this)},gX(dJn,"StreamImpl",30),lAn(845,1,{},on),EWn.ld=function(n){return hH(n)},gX(dJn,"StreamImpl/0methodref$lambda$2$Type",845),lAn(1084,540,sVn,D_),EWn.sd=function(n){for(;O9(this);){if(this.a.sd(n))return!0;yW(this.b),this.b=null,this.a=null}return!1},gX(dJn,"StreamImpl/1",1084),lAn(1085,1,hVn,dw),EWn.td=function(n){tH(this.a,KB(n,833))},gX(dJn,"StreamImpl/1/lambda$0$Type",1085),lAn(1086,1,NVn,gw),EWn.Mb=function(n){return jU(this.a,n)},gX(dJn,"StreamImpl/1methodref$add$Type",1086),lAn(1087,540,sVn,gQ),EWn.sd=function(n){var t;return this.a||(t=new $p,this.b.a.Nb(new pw(t)),TQ(),p$(t,this.c),this.a=new l1(t,16)),Ynn(this.a,n)},EWn.a=null,gX(dJn,"StreamImpl/5",1087),lAn(1088,1,hVn,pw),EWn.td=function(n){UB(this.a,n)},gX(dJn,"StreamImpl/5/2methodref$add$Type",1088),lAn(722,540,sVn,W9),EWn.sd=function(n){for(this.b=!1;!this.b&&this.c.sd(new IS(this,n)););return this.b},EWn.b=!1,gX(dJn,"StreamImpl/FilterSpliterator",722),lAn(1079,1,hVn,IS),EWn.td=function(n){xz(this.a,this.b,n)},gX(dJn,"StreamImpl/FilterSpliterator/lambda$0$Type",1079),lAn(1075,721,sVn,k6),EWn.ye=function(n){return y_(this,KB(n,182))},gX(dJn,"StreamImpl/MapToDoubleSpliterator",1075),lAn(1078,1,hVn,OS),EWn.td=function(n){yS(this.a,this.b,n)},gX(dJn,"StreamImpl/MapToDoubleSpliterator/lambda$0$Type",1078),lAn(1074,720,sVn,j6),EWn.ye=function(n){return k_(this,KB(n,196))},gX(dJn,"StreamImpl/MapToIntSpliterator",1074),lAn(1077,1,hVn,AS),EWn.td=function(n){mS(this.a,this.b,n)},gX(dJn,"StreamImpl/MapToIntSpliterator/lambda$0$Type",1077),lAn(719,540,sVn,E6),EWn.sd=function(n){return j_(this,n)},gX(dJn,"StreamImpl/MapToObjSpliterator",719),lAn(1076,1,hVn,$S),EWn.td=function(n){kS(this.a,this.b,n)},gX(dJn,"StreamImpl/MapToObjSpliterator/lambda$0$Type",1076),lAn(618,1,hVn,sn),EWn.td=function(n){Pl(this,n)},gX(dJn,"StreamImpl/ValueConsumer",618),lAn(1080,1,hVn,hn),EWn.td=function(n){bM()},gX(dJn,"StreamImpl/lambda$0$Type",1080),lAn(1081,1,hVn,fn),EWn.td=function(n){bM()},gX(dJn,"StreamImpl/lambda$1$Type",1081),lAn(1082,1,{},vw),EWn.Ce=function(n,t){return _K(this.a,n,t)},gX(dJn,"StreamImpl/lambda$4$Type",1082),lAn(1083,1,hVn,PS),EWn.td=function(n){kR(this.b,this.a,n)},gX(dJn,"StreamImpl/lambda$5$Type",1083),lAn(1089,1,hVn,mw),EWn.td=function(n){Fon(this.a,KB(n,365))},gX(dJn,"TerminatableStream/lambda$0$Type",1089),lAn(2041,1,{}),lAn(1914,1,{},ln),gX("javaemul.internal","ConsoleLogger",1914),lAn(2038,1,{});var tit,eit,iit=0,rit=0;lAn(1768,1,hVn,bn),EWn.td=function(n){KB(n,308)},gX(jJn,"BowyerWatsonTriangulation/lambda$0$Type",1768),lAn(1769,1,hVn,yw),EWn.td=function(n){_rn(this.a,KB(n,308).e)},gX(jJn,"BowyerWatsonTriangulation/lambda$1$Type",1769),lAn(1770,1,hVn,wn),EWn.td=function(n){KB(n,168)},gX(jJn,"BowyerWatsonTriangulation/lambda$2$Type",1770),lAn(1765,1,EJn,kw),EWn.ue=function(n,t){return B3(this.a,KB(n,168),KB(t,168))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(jJn,"NaiveMinST/lambda$0$Type",1765),lAn(499,1,{},jw),gX(jJn,"NodeMicroLayout",499),lAn(168,1,{168:1},LS),EWn.Fb=function(n){var t;return!!iL(n,168)&&(t=KB(n,168),iV(this.a,t.a)&&iV(this.b,t.b)||iV(this.a,t.b)&&iV(this.b,t.a))},EWn.Hb=function(){return DA(this.a)+DA(this.b)};var cit=gX(jJn,"TEdge",168);lAn(308,1,{308:1},JFn),EWn.Fb=function(n){var t;return!!iL(n,308)&&D7(this,(t=KB(n,308)).a)&&D7(this,t.b)&&D7(this,t.c)},EWn.Hb=function(){return DA(this.a)+DA(this.b)+DA(this.c)},gX(jJn,"TTriangle",308),lAn(221,1,{221:1},S$),gX(jJn,"Tree",221),lAn(1254,1,{},PZ),gX(TJn,"Scanline",1254);var ait=fq(TJn,MJn);lAn(1692,1,{},htn),gX(SJn,"CGraph",1692),lAn(307,1,{307:1},iZ),EWn.b=0,EWn.c=0,EWn.d=0,EWn.g=0,EWn.i=0,EWn.k=DQn,gX(SJn,"CGroup",307),lAn(815,1,{},zv),gX(SJn,"CGroup/CGroupBuilder",815),lAn(57,1,{57:1},IR),EWn.Ib=function(){return this.j?TD(this.j.Kb(this)):(kD(fit),fit.o+"@"+(MN(this)>>>0).toString(16))},EWn.f=0,EWn.i=DQn;var uit,oit,sit,hit,fit=gX(SJn,"CNode",57);lAn(814,1,{},Uv),gX(SJn,"CNode/CNodeBuilder",814),lAn(1525,1,{},dn),EWn.Oe=function(n,t){return 0},EWn.Pe=function(n,t){return 0},gX(SJn,CJn,1525),lAn(1790,1,{},gn),EWn.Le=function(n){var t,e,r,c,a,u,o,s,h,f,l,b,w,d,g;for(h=xQn,r=new Ub(n.a.b);r.a<r.c.c.length;)t=KB(Y1(r),57),h=i.Math.min(h,t.a.j.d.c+t.b.a);for(w=new VT,u=new Ub(n.a.a);u.a<u.c.c.length;)(a=KB(Y1(u),307)).k=h,0==a.g&&e5(w,a,w.c.b,w.c);for(;0!=w.b;){for(c=(a=KB(0==w.b?null:(Mx(0!=w.b),Itn(w,w.a.a)),307)).j.d.c,b=a.a.a.ec().Kc();b.Ob();)f=KB(b.Pb(),57),g=a.k+f.b.a,!Hhn(n,a,n.d)||f.d.c<g?f.i=g:f.i=f.d.c;for(c-=a.j.i,a.b+=c,n.d==(_fn(),_Pt)||n.d==DPt?a.c+=c:a.c-=c,l=a.a.a.ec().Kc();l.Ob();)for(s=(f=KB(l.Pb(),57)).c.Kc();s.Ob();)o=KB(s.Pb(),57),d=bA(n.d)?n.g.Oe(f,o):n.g.Pe(f,o),o.a.k=i.Math.max(o.a.k,f.i+f.d.b+d-o.b.a),iJ(n,o,n.d)&&(o.a.k=i.Math.max(o.a.k,o.d.c-o.b.a)),--o.a.g,0==o.a.g&&NH(w,o.a)}for(e=new Ub(n.a.b);e.a<e.c.c.length;)(t=KB(Y1(e),57)).d.c=t.i},gX(SJn,"LongestPathCompaction",1790),lAn(1690,1,{},vOn),EWn.e=!1;var lit,bit,wit=gX(SJn,LJn,1690);lAn(1691,1,hVn,Ew),EWn.td=function(n){tun(this.a,KB(n,46))},gX(SJn,NJn,1691),lAn(1791,1,{},pn),EWn.Me=function(n){var t,e,i,r,c,a;for(t=new Ub(n.a.b);t.a<t.c.c.length;)KB(Y1(t),57).c.$b();for(i=new Ub(n.a.b);i.a<i.c.c.length;)for(e=KB(Y1(i),57),c=new Ub(n.a.b);c.a<c.c.c.length;)e!=(r=KB(Y1(c),57))&&(e.a&&e.a==r.a||(a=bA(n.d)?n.g.Pe(e,r):n.g.Oe(e,r),(r.d.c>e.d.c||e.d.c==r.d.c&&e.d.b<r.d.b)&&xdn(r.d.d+r.d.a+a,e.d.d)&&Ddn(r.d.d,e.d.d+e.d.a+a)&&e.c.Fc(r)))},gX(SJn,"QuadraticConstraintCalculation",1791),lAn(522,1,{522:1},Np),EWn.a=!1,EWn.b=!1,EWn.c=!1,EWn.d=!1,gX(SJn,xJn,522),lAn(803,1,{},xG),EWn.Me=function(n){this.c=n,dCn(this,new yn)},gX(SJn,DJn,803),lAn(1718,1,{679:1},sJ),EWn.Ke=function(n){RPn(this,KB(n,464))},gX(SJn,RJn,1718),lAn(1719,1,EJn,vn),EWn.ue=function(n,t){return cQ(KB(n,57),KB(t,57))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(SJn,_Jn,1719),lAn(464,1,{464:1},CS),EWn.a=!1,gX(SJn,KJn,464),lAn(1720,1,EJn,mn),EWn.ue=function(n,t){return Qkn(KB(n,464),KB(t,464))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(SJn,FJn,1720),lAn(1721,1,BJn,yn),EWn.Lb=function(n){return KB(n,57),!0},EWn.Fb=function(n){return this===n},EWn.Mb=function(n){return KB(n,57),!0},gX(SJn,"ScanlineConstraintCalculator/lambda$1$Type",1721),lAn(428,22,{3:1,35:1,22:1,428:1},_S);var dit,git,pit,vit=Ken(HJn,"HighLevelSortingCriterion",428,Gnt,eY,hK);lAn(427,22,{3:1,35:1,22:1,427:1},KS);var mit,yit,kit,jit,Eit,Tit,Mit,Sit,Pit,Cit,Iit,Oit,Ait,$it,Lit,Nit,xit,Dit=Ken(HJn,"LowLevelSortingCriterion",427,Gnt,iY,fK),Rit=fq(qJn,"ILayoutMetaDataProvider");lAn(853,1,WJn,Hh),EWn.Qe=function(n){Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,GJn),VJn),"Polyomino Traversal Strategy"),"Traversal strategy for trying different candidate positions for polyominoes."),Sit),(MPn(),wMt)),Kit),Yln((epn(),oMt))))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,zJn),VJn),"Polyomino Secondary Sorting Criterion"),"Possible secondary sorting criteria for the processing order of polyominoes. They are used when polyominoes are equal according to the primary sorting criterion HighLevelSortingCriterion."),Tit),wMt),Dit),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,UJn),VJn),"Polyomino Primary Sorting Criterion"),"Possible primary sorting criteria for the processing order of polyominoes."),jit),wMt),vit),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,XJn),VJn),"Fill Polyominoes"),"Use the Profile Fill algorithm to fill polyominoes to prevent small polyominoes from being placed inside of big polyominoes with large holes. Might increase packing area."),(oN(),!0)),lMt),mtt),Yln(oMt))))},gX(HJn,"PolyominoOptions",853),lAn(250,22,{3:1,35:1,22:1,250:1},FS);var _it,Kit=Ken(HJn,"TraversalStrategy",250,Gnt,jin,lK);lAn(213,1,{213:1},kn),EWn.Ib=function(){return"NEdge[id="+this.b+" w="+this.g+" d="+this.a+"]"},EWn.a=1,EWn.b=0,EWn.c=0,EWn.f=!1,EWn.g=0;var Fit=gX(QJn,"NEdge",213);lAn(176,1,{},Fv),gX(QJn,"NEdge/NEdgeBuilder",176),lAn(653,1,{},_v),gX(QJn,"NGraph",653),lAn(121,1,{121:1},m6),EWn.c=-1,EWn.d=0,EWn.e=0,EWn.i=-1,EWn.j=!1;var Bit=gX(QJn,"NNode",121);lAn(795,1,QQn,Kv),EWn.Jc=function(n){n5(this,n)},EWn.Lc=function(){return new xq(null,new l1(this,16))},EWn.ad=function(n){Rrn(this,n)},EWn.Nc=function(){return new l1(this,16)},EWn.Oc=function(){return new xq(null,new l1(this,16))},EWn.Vc=function(n,t){++this.b,mG(this.a,n,t)},EWn.Fc=function(n){return xN(this,n)},EWn.Wc=function(n,t){return++this.b,ahn(this.a,n,t)},EWn.Gc=function(n){return++this.b,wun(this.a,n)},EWn.$b=function(){++this.b,this.a.c=L8(Int,FWn,1,0,5,1)},EWn.Hc=function(n){return-1!=k7(this.a,n,0)},EWn.Ic=function(n){return aun(this.a,n)},EWn.Xb=function(n){return Lq(this.a,n)},EWn.Xc=function(n){return k7(this.a,n,0)},EWn.dc=function(){return 0==this.a.c.length},EWn.Kc=function(){return A9(new Ub(this.a))},EWn.Yc=function(){throw Fp(new dv)},EWn.Zc=function(n){throw Fp(new dv)},EWn.$c=function(n){return++this.b,u6(this.a,n)},EWn.Mc=function(n){return DN(this,n)},EWn._c=function(n,t){return++this.b,i5(this.a,n,t)},EWn.gc=function(){return this.a.c.length},EWn.bd=function(n,t){return new u1(this.a,n,t)},EWn.Pc=function(){return fx(this.a)},EWn.Qc=function(n){return Wgn(this.a,n)},EWn.b=0,gX(QJn,"NNode/ChangeAwareArrayList",795),lAn(269,1,{},Bv),gX(QJn,"NNode/NNodeBuilder",269),lAn(1630,1,{},jn),EWn.a=!1,EWn.f=NWn,EWn.j=0,gX(QJn,"NetworkSimplex",1630),lAn(1294,1,hVn,Tw),EWn.td=function(n){Bzn(this.a,KB(n,680),!0,!1)},gX(YJn,"NodeLabelAndSizeCalculator/lambda$0$Type",1294),lAn(558,1,{},Mw),EWn.b=!0,EWn.c=!0,EWn.d=!0,EWn.e=!0,gX(YJn,"NodeMarginCalculator",558),lAn(212,1,{212:1}),EWn.j=!1,EWn.k=!1;var Hit,qit,Git,zit=gX(ZJn,"Cell",212);lAn(124,212,{124:1,212:1},_R),EWn.Re=function(){return zH(this)},EWn.Se=function(){var n;return n=this.n,this.a.a+n.b+n.c},gX(ZJn,"AtomicCell",124),lAn(232,22,{3:1,35:1,22:1,232:1},BS);var Uit,Xit=Ken(ZJn,"ContainerArea",232,Gnt,g1,bK);lAn(326,212,tYn),gX(ZJn,"ContainerCell",326),lAn(1473,326,tYn,Fwn),EWn.Re=function(){var n;return n=0,this.e?this.b?n=this.b.b:this.a[1][1]&&(n=this.a[1][1].Re()):n=Vbn(this,Gmn(this,!0)),n>0?n+this.n.d+this.n.a:0},EWn.Se=function(){var n,t,e,r,c;if(c=0,this.e)this.b?c=this.b.a:this.a[1][1]&&(c=this.a[1][1].Se());else if(this.g)c=Vbn(this,Ckn(this,null,!0));else for(Ntn(),e=0,r=(t=Mun(Hk(Xit,1),OVn,232,0,[Hit,qit,Git])).length;e<r;++e)n=t[e],c=i.Math.max(c,Vbn(this,Ckn(this,n,!0)));return c>0?c+this.n.b+this.n.c:0},EWn.Te=function(){var n,t,e,i,r;if(this.g)for(n=Ckn(this,null,!1),Ntn(),i=0,r=(e=Mun(Hk(Xit,1),OVn,232,0,[Hit,qit,Git])).length;i<r;++i)Xxn(this,t=e[i],n);else for(Ntn(),i=0,r=(e=Mun(Hk(Xit,1),OVn,232,0,[Hit,qit,Git])).length;i<r;++i)Xxn(this,t=e[i],n=Ckn(this,t,!1))},EWn.Ue=function(){var n,t,e,r;t=this.i,n=this.n,r=Gmn(this,!1),W5(this,(Ntn(),Hit),t.d+n.d,r),W5(this,Git,t.d+t.a-n.a-r[2],r),e=t.a-n.d-n.a,r[0]>0&&(r[0]+=this.d,e-=r[0]),r[2]>0&&(r[2]+=this.d,e-=r[2]),this.c.a=i.Math.max(0,e),this.c.d=t.d+n.d+(this.c.a-e)/2,r[1]=i.Math.max(r[1],e),W5(this,qit,t.d+n.d+r[0]-(r[1]-e)/2,r)},EWn.b=null,EWn.d=0,EWn.e=!1,EWn.f=!1,EWn.g=!1;var Wit,Vit,Qit,Jit=0,Yit=0;gX(ZJn,"GridContainerCell",1473),lAn(461,22,{3:1,35:1,22:1,461:1},HS);var Zit,nrt=Ken(ZJn,"HorizontalLabelAlignment",461,Gnt,p1,wK);lAn(306,212,{212:1,306:1},vY,ltn,DJ),EWn.Re=function(){return UH(this)},EWn.Se=function(){return XH(this)},EWn.a=0,EWn.c=!1;var trt,ert,irt,rrt=gX(ZJn,"LabelCell",306);lAn(244,326,{212:1,326:1,244:1},Pgn),EWn.Re=function(){return EIn(this)},EWn.Se=function(){return TIn(this)},EWn.Te=function(){RFn(this)},EWn.Ue=function(){HFn(this)},EWn.b=0,EWn.c=0,EWn.d=!1,gX(ZJn,"StripContainerCell",244),lAn(1626,1,NVn,En),EWn.Mb=function(n){return Wy(KB(n,212))},gX(ZJn,"StripContainerCell/lambda$0$Type",1626),lAn(1627,1,{},Tn),EWn.Fe=function(n){return KB(n,212).Se()},gX(ZJn,"StripContainerCell/lambda$1$Type",1627),lAn(1628,1,NVn,Mn),EWn.Mb=function(n){return Vy(KB(n,212))},gX(ZJn,"StripContainerCell/lambda$2$Type",1628),lAn(1629,1,{},Sn),EWn.Fe=function(n){return KB(n,212).Re()},gX(ZJn,"StripContainerCell/lambda$3$Type",1629),lAn(462,22,{3:1,35:1,22:1,462:1},qS);var crt,art,urt,ort,srt,hrt,frt,lrt,brt,wrt,drt,grt,prt,vrt,mrt,yrt,krt,jrt,Ert,Trt,Mrt,Srt,Prt,Crt=Ken(ZJn,"VerticalLabelAlignment",462,Gnt,v1,dK);lAn(789,1,{},nUn),EWn.c=0,EWn.d=0,EWn.k=0,EWn.s=0,EWn.t=0,EWn.v=!1,EWn.w=0,EWn.D=!1,gX(uYn,"NodeContext",789),lAn(1471,1,EJn,Pn),EWn.ue=function(n,t){return VO(KB(n,61),KB(t,61))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(uYn,"NodeContext/0methodref$comparePortSides$Type",1471),lAn(1472,1,EJn,Cn),EWn.ue=function(n,t){return GTn(KB(n,111),KB(t,111))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(uYn,"NodeContext/1methodref$comparePortContexts$Type",1472),lAn(159,22,{3:1,35:1,22:1,159:1},acn);var Irt,Ort,Art,$rt,Lrt,Nrt,xrt,Drt=Ken(uYn,"NodeLabelLocation",159,Gnt,Zgn,gK);lAn(111,1,{111:1},EOn),EWn.a=!1,gX(uYn,"PortContext",111),lAn(1476,1,hVn,In),EWn.td=function(n){SE(KB(n,306))},gX(hYn,fYn,1476),lAn(1477,1,NVn,On),EWn.Mb=function(n){return!!KB(n,111).c},gX(hYn,lYn,1477),lAn(1478,1,hVn,An),EWn.td=function(n){SE(KB(n,111).c)},gX(hYn,"LabelPlacer/lambda$2$Type",1478),lAn(1475,1,hVn,Ln),EWn.td=function(n){BD(),Vp(KB(n,111))},gX(hYn,"NodeLabelAndSizeUtilities/lambda$0$Type",1475),lAn(790,1,hVn,OK),EWn.td=function(n){xM(this.b,this.c,this.a,KB(n,181))},EWn.a=!1,EWn.c=!1,gX(hYn,"NodeLabelCellCreator/lambda$0$Type",790),lAn(1474,1,hVn,Sw),EWn.td=function(n){Pv(this.a,KB(n,181))},gX(hYn,"PortContextCreator/lambda$0$Type",1474),lAn(1829,1,{},Nn),gX(wYn,"GreedyRectangleStripOverlapRemover",1829),lAn(1830,1,EJn,$n),EWn.ue=function(n,t){return _N(KB(n,222),KB(t,222))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(wYn,"GreedyRectangleStripOverlapRemover/0methodref$compareByYCoordinate$Type",1830),lAn(1786,1,{},Jv),EWn.a=5,EWn.e=0,gX(wYn,"RectangleStripOverlapRemover",1786),lAn(1787,1,EJn,Dn),EWn.ue=function(n,t){return KN(KB(n,222),KB(t,222))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(wYn,"RectangleStripOverlapRemover/0methodref$compareLeftRectangleBorders$Type",1787),lAn(1789,1,EJn,Rn),EWn.ue=function(n,t){return QU(KB(n,222),KB(t,222))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(wYn,"RectangleStripOverlapRemover/1methodref$compareRightRectangleBorders$Type",1789),lAn(406,22,{3:1,35:1,22:1,406:1},GS);var Rrt,_rt,Krt,Frt,Brt,Hrt=Ken(wYn,"RectangleStripOverlapRemover/OverlapRemovalDirection",406,Gnt,V2,pK);lAn(222,1,{222:1},LG),gX(wYn,"RectangleStripOverlapRemover/RectangleNode",222),lAn(1788,1,hVn,Pw),EWn.td=function(n){Smn(this.a,KB(n,222))},gX(wYn,"RectangleStripOverlapRemover/lambda$1$Type",1788),lAn(1304,1,EJn,_n),EWn.ue=function(n,t){return qHn(KB(n,167),KB(t,167))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(gYn,"PolyominoCompactor/CornerCasesGreaterThanRestComparator",1304),lAn(1307,1,{},Kn),EWn.Kb=function(n){return KB(n,324).a},gX(gYn,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$0$Type",1307),lAn(1308,1,NVn,Fn),EWn.Mb=function(n){return KB(n,323).a},gX(gYn,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$1$Type",1308),lAn(1309,1,NVn,Bn),EWn.Mb=function(n){return KB(n,323).a},gX(gYn,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$2$Type",1309),lAn(1302,1,EJn,Hn),EWn.ue=function(n,t){return URn(KB(n,167),KB(t,167))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(gYn,"PolyominoCompactor/MinNumOfExtensionDirectionsComparator",1302),lAn(1305,1,{},xn),EWn.Kb=function(n){return KB(n,324).a},gX(gYn,"PolyominoCompactor/MinNumOfExtensionDirectionsComparator/lambda$0$Type",1305),lAn(767,1,EJn,qn),EWn.ue=function(n,t){return Gan(KB(n,167),KB(t,167))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(gYn,"PolyominoCompactor/MinNumOfExtensionsComparator",767),lAn(1300,1,EJn,Gn),EWn.ue=function(n,t){return Win(KB(n,321),KB(t,321))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(gYn,"PolyominoCompactor/MinPerimeterComparator",1300),lAn(1301,1,EJn,zn),EWn.ue=function(n,t){return rvn(KB(n,321),KB(t,321))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(gYn,"PolyominoCompactor/MinPerimeterComparatorWithShape",1301),lAn(1303,1,EJn,Un),EWn.ue=function(n,t){return K_n(KB(n,167),KB(t,167))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(gYn,"PolyominoCompactor/SingleExtensionSideGreaterThanRestComparator",1303),lAn(1306,1,{},Xn),EWn.Kb=function(n){return KB(n,324).a},gX(gYn,"PolyominoCompactor/SingleExtensionSideGreaterThanRestComparator/lambda$0$Type",1306),lAn(777,1,{},NS),EWn.Ce=function(n,t){return C2(this,KB(n,46),KB(t,167))},gX(gYn,"SuccessorCombination",777),lAn(644,1,{},Wn),EWn.Ce=function(n,t){var e;return zIn((e=KB(n,46),KB(t,167),e))},gX(gYn,"SuccessorJitter",644),lAn(643,1,{},Vn),EWn.Ce=function(n,t){var e;return fxn((e=KB(n,46),KB(t,167),e))},gX(gYn,"SuccessorLineByLine",643),lAn(568,1,{},Qn),EWn.Ce=function(n,t){var e;return s$n((e=KB(n,46),KB(t,167),e))},gX(gYn,"SuccessorManhattan",568),lAn(1356,1,{},Jn),EWn.Ce=function(n,t){var e;return yNn((e=KB(n,46),KB(t,167),e))},gX(gYn,"SuccessorMaxNormWindingInMathPosSense",1356),lAn(400,1,{},Cw),EWn.Ce=function(n,t){return KU(this,n,t)},EWn.c=!1,EWn.d=!1,EWn.e=!1,EWn.f=!1,gX(gYn,"SuccessorQuadrantsGeneric",400),lAn(1357,1,{},Yn),EWn.Kb=function(n){return KB(n,324).a},gX(gYn,"SuccessorQuadrantsGeneric/lambda$0$Type",1357),lAn(323,22,{3:1,35:1,22:1,323:1},RS),EWn.a=!1;var qrt,Grt=Ken(kYn,jYn,323,Gnt,Y2,vK);lAn(1298,1,{}),EWn.Ib=function(){var n,t,e,i,r,c;for(e=" ",n=tln(0),r=0;r<this.o;r++)e+=""+n.a,n=tln(hR(n.a));for(e+="\n",n=tln(0),c=0;c<this.p;c++){for(e+=""+n.a,n=tln(hR(n.a)),i=0;i<this.o;i++)0==Xhn(t=Zin(this,i,c),0)?e+="_":0==Xhn(t,1)?e+="X":e+="0";e+="\n"}return sx(e,0,e.length-1)},EWn.o=0,EWn.p=0,gX(kYn,"TwoBitGrid",1298),lAn(321,1298,{321:1},Bwn),EWn.j=0,EWn.k=0,gX(kYn,"PlanarGrid",321),lAn(167,321,{321:1,167:1}),EWn.g=0,EWn.i=0,gX(kYn,"Polyomino",167);var zrt=fq(PYn,CYn);lAn(134,1,IYn,Zn),EWn.Ye=function(n,t){return uon(this,n,t)},EWn.Ve=function(){return Hq(this)},EWn.We=function(n){return pMn(this,n)},EWn.Xe=function(n){return Ax(this,n)},gX(PYn,"MapPropertyHolder",134),lAn(1299,134,IYn,vxn),gX(kYn,"Polyominoes",1299);var Urt,Xrt,Wrt,Vrt,Qrt,Jrt,Yrt,Zrt,nct=!1;lAn(1766,1,hVn,nt),EWn.td=function(n){cqn(KB(n,221))},gX(OYn,"DepthFirstCompaction/0methodref$compactTree$Type",1766),lAn(810,1,hVn,Iw),EWn.td=function(n){DW(this.a,KB(n,221))},gX(OYn,"DepthFirstCompaction/lambda$1$Type",810),lAn(1767,1,hVn,$K),EWn.td=function(n){bgn(this.a,this.b,this.c,KB(n,221))},gX(OYn,"DepthFirstCompaction/lambda$2$Type",1767),lAn(65,1,{65:1},IZ),gX(OYn,"Node",65),lAn(1250,1,{},P$),gX(OYn,"ScanlineOverlapCheck",1250),lAn(1251,1,{679:1},oJ),EWn.Ke=function(n){HD(this,KB(n,440))},gX(OYn,"ScanlineOverlapCheck/OverlapsScanlineHandler",1251),lAn(1252,1,EJn,tt),EWn.ue=function(n,t){return Lln(KB(n,65),KB(t,65))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(OYn,"ScanlineOverlapCheck/OverlapsScanlineHandler/lambda$0$Type",1252),lAn(440,1,{440:1},xS),EWn.a=!1,gX(OYn,"ScanlineOverlapCheck/Timestamp",440),lAn(1253,1,EJn,et),EWn.ue=function(n,t){return Jkn(KB(n,440),KB(t,440))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(OYn,"ScanlineOverlapCheck/lambda$0$Type",1253),lAn(550,1,{},it),gX(AYn,"SVGImage",550),lAn(324,1,{324:1},LK),EWn.Ib=function(){return"("+this.a+_Wn+this.b+_Wn+this.c+")"},gX(AYn,"UniqueTriple",324),lAn(209,1,$Yn),gX(LYn,"AbstractLayoutProvider",209),lAn(1132,209,$Yn,rt),EWn.Ze=function(n,t){var e,i,r;CTn(t,NYn,1),this.a=Hy(ED(JAn(n,(kpn(),kct)))),M8(n,fct)&&(i=TD(JAn(n,fct)),(e=zRn(iin(),i))&&KB(uY(e.f),209).Ze(n,pcn(t,1))),r=new u4(this.a),this.b=xzn(r,n),0===KB(JAn(n,(Hsn(),act)),481).g?(KOn(new ct,this.b),Vpn(n,wct,pMn(this.b,wct))):OT(),Gzn(r),Vpn(n,bct,this.b),FSn(t)},EWn.a=0,gX(xYn,"DisCoLayoutProvider",1132),lAn(1244,1,{},ct),EWn.c=!1,EWn.e=0,EWn.f=0,gX(xYn,"DisCoPolyominoCompactor",1244),lAn(561,1,{561:1},oG),EWn.b=!0,gX(DYn,"DCComponent",561),lAn(394,22,{3:1,35:1,22:1,394:1},DS),EWn.a=!1;var tct,ect,ict=Ken(DYn,"DCDirection",394,Gnt,J2,mK);lAn(266,134,{3:1,266:1,94:1,134:1},kAn),gX(DYn,"DCElement",266),lAn(395,1,{395:1},Pmn),EWn.c=0,gX(DYn,"DCExtension",395),lAn(755,134,IYn,Rj),gX(DYn,"DCGraph",755),lAn(481,22,{3:1,35:1,22:1,481:1},Px);var rct,cct,act,uct,oct,sct,hct,fct,lct,bct,wct,dct,gct,pct,vct,mct,yct,kct,jct,Ect,Tct,Mct=Ken(RYn,_Yn,481,Gnt,xV,yK);lAn(854,1,WJn,Fh),EWn.Qe=function(n){Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,KYn),qYn),"Connected Components Compaction Strategy"),"Strategy for packing different connected components in order to save space and enhance readability of a graph."),uct),(MPn(),wMt)),Mct),Yln((epn(),oMt))))),Ibn(n,new fPn(Cj(Pj(Ij(kj(Sj(Ej(Tj(new Fu,FYn),qYn),"Connected Components Layout Algorithm"),"A layout algorithm that is to be applied to each connected component before the components themselves are compacted. If unspecified, the positions of the components' nodes are not altered."),vMt),Wtt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(kj(Sj(Ej(Tj(new Fu,BYn),"debug"),"DCGraph"),"Access to the DCGraph is intended for the debug view,"),pMt),Int),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(kj(Sj(Ej(Tj(new Fu,HYn),"debug"),"List of Polyominoes"),"Access to the polyominoes is intended for the debug view,"),pMt),Int),Yln(oMt)))),KBn((new Bh,n))},gX(RYn,"DisCoMetaDataProvider",854),lAn(998,1,WJn,Bh),EWn.Qe=function(n){KBn(n)},gX(RYn,"DisCoOptions",998),lAn(999,1,{},at),EWn.$e=function(){return new rt},EWn._e=function(n){},gX(RYn,"DisCoOptions/DiscoFactory",999),lAn(562,167,{321:1,167:1,562:1},W$n),EWn.a=0,EWn.b=0,EWn.c=0,EWn.d=0,gX("org.eclipse.elk.alg.disco.structures","DCPolyomino",562),lAn(1268,1,NVn,ut),EWn.Mb=function(n){return jO(n)},gX(VYn,"ElkGraphComponentsProcessor/lambda$0$Type",1268),lAn(1269,1,{},ot),EWn.Kb=function(n){return EQ(),MMn(KB(n,79))},gX(VYn,"ElkGraphComponentsProcessor/lambda$1$Type",1269),lAn(1270,1,NVn,st),EWn.Mb=function(n){return BH(KB(n,79))},gX(VYn,"ElkGraphComponentsProcessor/lambda$2$Type",1270),lAn(1271,1,{},ht),EWn.Kb=function(n){return EQ(),CMn(KB(n,79))},gX(VYn,"ElkGraphComponentsProcessor/lambda$3$Type",1271),lAn(1272,1,NVn,ft),EWn.Mb=function(n){return HH(KB(n,79))},gX(VYn,"ElkGraphComponentsProcessor/lambda$4$Type",1272),lAn(1273,1,NVn,Ow),EWn.Mb=function(n){return EY(this.a,KB(n,79))},gX(VYn,"ElkGraphComponentsProcessor/lambda$5$Type",1273),lAn(1274,1,{},Aw),EWn.Kb=function(n){return DX(this.a,KB(n,79))},gX(VYn,"ElkGraphComponentsProcessor/lambda$6$Type",1274),lAn(1241,1,{},u4),EWn.a=0,gX(VYn,"ElkGraphTransformer",1241),lAn(1242,1,{},lt),EWn.Od=function(n,t){ZIn(this,KB(n,160),KB(t,266))},gX(VYn,"ElkGraphTransformer/OffsetApplier",1242),lAn(1243,1,hVn,$w),EWn.td=function(n){jL(this,KB(n,8))},gX(VYn,"ElkGraphTransformer/OffsetApplier/OffSetToChainApplier",1243),lAn(753,1,{},bt),gX(nZn,tZn,753),lAn(1232,1,EJn,wt),EWn.ue=function(n,t){return SIn(KB(n,231),KB(t,231))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(nZn,eZn,1232),lAn(740,209,$Yn,Hv),EWn.Ze=function(n,t){gLn(this,n,t)},gX(nZn,"ForceLayoutProvider",740),lAn(357,134,{3:1,357:1,94:1,134:1}),gX(iZn,"FParticle",357),lAn(559,357,{3:1,559:1,357:1,94:1,134:1},oX),EWn.Ib=function(){var n;return this.a?(n=k7(this.a.a,this,0))>=0?"b"+n+"["+c5(this.a)+"]":"b["+c5(this.a)+"]":"b_"+MN(this)},gX(iZn,"FBendpoint",559),lAn(282,134,{3:1,282:1,94:1,134:1},PR),EWn.Ib=function(){return c5(this)},gX(iZn,"FEdge",282),lAn(231,134,{3:1,231:1,94:1,134:1},v6);var Sct,Pct,Cct,Ict,Oct,Act,$ct,Lct,Nct,xct,Dct=gX(iZn,"FGraph",231);lAn(447,357,{3:1,447:1,357:1,94:1,134:1},p4),EWn.Ib=function(){return null==this.b||0==this.b.length?"l["+c5(this.a)+"]":"l_"+this.b},gX(iZn,"FLabel",447),lAn(144,357,{3:1,144:1,357:1,94:1,134:1},BX),EWn.Ib=function(){return d0(this)},EWn.b=0,gX(iZn,"FNode",144),lAn(2003,1,{}),EWn.bf=function(n){uFn(this,n)},EWn.cf=function(){Bmn(this)},EWn.d=0,gX(cZn,"AbstractForceModel",2003),lAn(631,2003,{631:1},Aan),EWn.af=function(n,t){var e,r,c,a;return ZCn(this.f,n,t),c=zR(K$(t.d),n.d),a=i.Math.sqrt(c.a*c.a+c.b*c.b),r=i.Math.max(0,a-hW(n.e)/2-hW(t.e)/2),mL(c,((e=Bon(this.e,n,t))>0?-RU(r,this.c)*e:Lx(r,this.b)*KB(pMn(n,(sRn(),Jct)),19).a)/a),c},EWn.bf=function(n){uFn(this,n),this.a=KB(pMn(n,(sRn(),Bct)),19).a,this.c=Hy(ED(pMn(n,iat))),this.b=Hy(ED(pMn(n,Zct)))},EWn.df=function(n){return n<this.a},EWn.a=0,EWn.b=0,EWn.c=0,gX(cZn,"EadesModel",631),lAn(632,2003,{632:1},sH),EWn.af=function(n,t){var e,r,c,a,u;return ZCn(this.f,n,t),c=zR(K$(t.d),n.d),u=i.Math.sqrt(c.a*c.a+c.b*c.b),a=$x(r=i.Math.max(0,u-hW(n.e)/2-hW(t.e)/2),this.a)*KB(pMn(n,(sRn(),Jct)),19).a,(e=Bon(this.e,n,t))>0&&(a-=Ty(r,this.a)*e),mL(c,a*this.b/u),c},EWn.bf=function(n){var t,e,r,c,a,u,o;for(uFn(this,n),this.b=Hy(ED(pMn(n,(sRn(),rat)))),this.c=this.b/KB(pMn(n,Bct),19).a,r=n.e.c.length,a=0,c=0,o=new Ub(n.e);o.a<o.c.c.length;)a+=(u=KB(Y1(o),144)).e.a,c+=u.e.b;t=a*c,e=Hy(ED(pMn(n,iat)))*sYn,this.a=i.Math.sqrt(t/(2*r))*e},EWn.cf=function(){Bmn(this),this.b-=this.c},EWn.df=function(n){return this.b>0},EWn.a=0,EWn.b=0,EWn.c=0,gX(cZn,"FruchtermanReingoldModel",632),lAn(849,1,WJn,qh),EWn.Qe=function(n){Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,aZn),""),"Force Model"),"Determines the model for force calculation."),Cct),(MPn(),wMt)),Oat),Yln((epn(),oMt))))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,uZn),""),"Iterations"),"The number of iterations on the force model."),tln(300)),gMt),Itt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,oZn),""),"Repulsive Power"),"Determines how many bend points are added to the edge; such bend points are regarded as repelling particles in the force model"),tln(0)),gMt),Itt),Yln(cMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,sZn),""),"FR Temperature"),"The temperature is used as a scaling factor for particle displacements."),hZn),bMt),Mtt),Yln(oMt)))),r2(n,sZn,aZn,Lct),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,fZn),""),"Eades Repulsion"),"Factor for repulsive forces in Eades' model."),5),bMt),Mtt),Yln(oMt)))),r2(n,fZn,aZn,Oct),dUn((new Gh,n))},gX(lZn,"ForceMetaDataProvider",849),lAn(424,22,{3:1,35:1,22:1,424:1},zS);var Rct,_ct,Kct,Fct,Bct,Hct,qct,Gct,zct,Uct,Xct,Wct,Vct,Qct,Jct,Yct,Zct,nat,tat,eat,iat,rat,cat,aat,uat,oat,sat,hat,fat,lat,bat,wat,dat,gat,pat,vat,mat,yat,kat,jat,Eat,Tat,Mat,Sat,Pat,Cat,Iat,Oat=Ken(lZn,"ForceModelStrategy",424,Gnt,rY,kK);lAn(988,1,WJn,Gh),EWn.Qe=function(n){dUn(n)},gX(lZn,"ForceOptions",988),lAn(989,1,{},dt),EWn.$e=function(){return new Hv},EWn._e=function(n){},gX(lZn,"ForceOptions/ForceFactory",989),lAn(850,1,WJn,zh),EWn.Qe=function(n){Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,$Zn),""),"Fixed Position"),"Prevent that the node is moved by the layout algorithm."),(oN(),!1)),(MPn(),lMt)),mtt),Yln((epn(),uMt))))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,LZn),""),"Desired Edge Length"),"Either specified for parent nodes or for individual edges, where the latter takes higher precedence."),100),bMt),Mtt),kG(oMt,Mun(Hk(yMt,1),OVn,175,0,[cMt]))))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,NZn),""),"Layout Dimension"),"Dimensions that are permitted to be altered during layout."),fat),wMt),Fat),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,xZn),""),"Stress Epsilon"),"Termination criterion for the iterative process."),hZn),bMt),Mtt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,DZn),""),"Iteration Limit"),"Maximum number of performed iterations. Takes higher precedence than 'epsilon'."),tln(NWn)),gMt),Itt),Yln(oMt)))),GGn((new Uh,n))},gX(lZn,"StressMetaDataProvider",850),lAn(992,1,WJn,Uh),EWn.Qe=function(n){GGn(n)},gX(lZn,"StressOptions",992),lAn(993,1,{},gt),EWn.$e=function(){return new CR},EWn._e=function(n){},gX(lZn,"StressOptions/StressFactory",993),lAn(1128,209,$Yn,CR),EWn.Ze=function(n,t){var e,i,r,c;for(CTn(t,_Zn,1),By(jD(JAn(n,(ekn(),mat))))?By(jD(JAn(n,Mat)))||yY(new jw((HM(),new Ny(n)))):gLn(new Hv,n,pcn(t,1)),i=son(n),c=(e=FFn(this.a,i)).Kc();c.Ob();)(r=KB(c.Pb(),231)).e.c.length<=1||(FHn(this.b,r),t$n(this.b),Ctn(r.d,new pt));TUn(i=HUn(e)),FSn(t)},gX(FZn,"StressLayoutProvider",1128),lAn(1129,1,hVn,pt),EWn.td=function(n){RBn(KB(n,447))},gX(FZn,"StressLayoutProvider/lambda$0$Type",1129),lAn(990,1,{},jv),EWn.c=0,EWn.e=0,EWn.g=0,gX(FZn,"StressMajorization",990),lAn(379,22,{3:1,35:1,22:1,379:1},US);var Aat,$at,Lat,Nat,xat,Dat,Rat,_at,Kat,Fat=Ken(FZn,"StressMajorization/Dimension",379,Gnt,y1,jK);lAn(991,1,EJn,Lw),EWn.ue=function(n,t){return T_(this.a,KB(n,144),KB(t,144))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(FZn,"StressMajorization/lambda$0$Type",991),lAn(1229,1,{},N0),gX(HZn,"ElkLayered",1229),lAn(1230,1,hVn,vt),EWn.td=function(n){xIn(KB(n,37))},gX(HZn,"ElkLayered/lambda$0$Type",1230),lAn(1231,1,hVn,Nw),EWn.td=function(n){M_(this.a,KB(n,37))},gX(HZn,"ElkLayered/lambda$1$Type",1231),lAn(1263,1,{},O$),gX(HZn,"GraphConfigurator",1263),lAn(759,1,hVn,xw),EWn.td=function(n){XMn(this.a,KB(n,10))},gX(HZn,"GraphConfigurator/lambda$0$Type",759),lAn(760,1,{},mt),EWn.Kb=function(n){return Zkn(),new xq(null,new l1(KB(n,29).a,16))},gX(HZn,"GraphConfigurator/lambda$1$Type",760),lAn(761,1,hVn,Dw),EWn.td=function(n){XMn(this.a,KB(n,10))},gX(HZn,"GraphConfigurator/lambda$2$Type",761),lAn(1127,209,$Yn,Gv),EWn.Ze=function(n,t){var e;e=TBn(new Zv,n),HI(JAn(n,(FXn(),ugt)))===HI((cfn(),dCt))?ewn(this.a,e,t):lOn(this.a,e,t),wUn(new Wh,e)},gX(HZn,"LayeredLayoutProvider",1127),lAn(356,22,{3:1,35:1,22:1,356:1},XS);var Bat,Hat,qat,Gat=Ken(HZn,"LayeredPhases",356,Gnt,u5,EK);lAn(1651,1,{},gin),EWn.i=0,gX(qZn,"ComponentsToCGraphTransformer",1651),lAn(1652,1,{},yt),EWn.ef=function(n,t){return i.Math.min(null!=n.a?Hy(n.a):n.c.i,null!=t.a?Hy(t.a):t.c.i)},EWn.ff=function(n,t){return i.Math.min(null!=n.a?Hy(n.a):n.c.i,null!=t.a?Hy(t.a):t.c.i)},gX(qZn,"ComponentsToCGraphTransformer/1",1652),lAn(81,1,{81:1}),EWn.i=0,EWn.k=!0,EWn.o=DQn;var zat,Uat,Xat,Wat=gX(GZn,"CNode",81);lAn(460,81,{460:1,81:1},$N,Tgn),EWn.Ib=function(){return""},gX(qZn,"ComponentsToCGraphTransformer/CRectNode",460),lAn(1623,1,{},kt),gX(qZn,"OneDimensionalComponentsCompaction",1623),lAn(1624,1,{},jt),EWn.Kb=function(n){return LZ(KB(n,46))},EWn.Fb=function(n){return this===n},gX(qZn,"OneDimensionalComponentsCompaction/lambda$0$Type",1624),lAn(1625,1,{},Et),EWn.Kb=function(n){return kwn(KB(n,46))},EWn.Fb=function(n){return this===n},gX(qZn,"OneDimensionalComponentsCompaction/lambda$1$Type",1625),lAn(1654,1,{},KX),gX(GZn,"CGraph",1654),lAn(189,1,{189:1},Mgn),EWn.b=0,EWn.c=0,EWn.e=0,EWn.g=!0,EWn.i=DQn,gX(GZn,"CGroup",189),lAn(1653,1,{},Pt),EWn.ef=function(n,t){return i.Math.max(null!=n.a?Hy(n.a):n.c.i,null!=t.a?Hy(t.a):t.c.i)},EWn.ff=function(n,t){return i.Math.max(null!=n.a?Hy(n.a):n.c.i,null!=t.a?Hy(t.a):t.c.i)},gX(GZn,CJn,1653),lAn(1655,1,{},uOn),EWn.d=!1;var Vat=gX(GZn,LJn,1655);lAn(1656,1,{},Ct),EWn.Kb=function(n){return mM(),oN(),0!=KB(KB(n,46).a,81).d.e},EWn.Fb=function(n){return this===n},gX(GZn,NJn,1656),lAn(823,1,{},Tq),EWn.a=!1,EWn.b=!1,EWn.c=!1,EWn.d=!1,gX(GZn,xJn,823),lAn(1825,1,{},NG),gX(zZn,DJn,1825);var Qat=fq(UZn,MJn);lAn(1826,1,{369:1},hJ),EWn.Ke=function(n){Hxn(this,KB(n,466))},gX(zZn,RJn,1826),lAn(1827,1,EJn,It),EWn.ue=function(n,t){return aQ(KB(n,81),KB(t,81))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(zZn,_Jn,1827),lAn(466,1,{466:1},sP),EWn.a=!1,gX(zZn,KJn,466),lAn(1828,1,EJn,Ot),EWn.ue=function(n,t){return Ykn(KB(n,466),KB(t,466))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(zZn,FJn,1828),lAn(140,1,{140:1},bP,pH),EWn.Fb=function(n){var t;return null!=n&&tut==Zon(n)&&(t=KB(n,140),iV(this.c,t.c)&&iV(this.d,t.d))},EWn.Hb=function(){return shn(Mun(Hk(Int,1),FWn,1,5,[this.c,this.d]))},EWn.Ib=function(){return"("+this.c+_Wn+this.d+(this.a?"cx":"")+this.b+")"},EWn.a=!0,EWn.c=0,EWn.d=0;var Jat,Yat,Zat,nut,tut=gX(UZn,"Point",140);lAn(405,22,{3:1,35:1,22:1,405:1},WS);var eut,iut,rut,cut,aut,uut,out,sut,hut,fut,lut,but=Ken(UZn,"Point/Quadrant",405,Gnt,Z2,TK);lAn(1642,1,{},Xv),EWn.b=null,EWn.c=null,EWn.d=null,EWn.e=null,EWn.f=null,gX(UZn,"RectilinearConvexHull",1642),lAn(574,1,{369:1},jpn),EWn.Ke=function(n){R9(this,KB(n,140))},EWn.b=0,gX(UZn,"RectilinearConvexHull/MaximalElementsEventHandler",574),lAn(1644,1,EJn,Mt),EWn.ue=function(n,t){return NV(ED(n),ED(t))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(UZn,"RectilinearConvexHull/MaximalElementsEventHandler/lambda$0$Type",1644),lAn(1643,1,{369:1},stn),EWn.Ke=function(n){MNn(this,KB(n,140))},EWn.a=0,EWn.b=null,EWn.c=null,EWn.d=null,EWn.e=null,gX(UZn,"RectilinearConvexHull/RectangleEventHandler",1643),lAn(1645,1,EJn,St),EWn.ue=function(n,t){return c0(KB(n,140),KB(t,140))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(UZn,"RectilinearConvexHull/lambda$0$Type",1645),lAn(1646,1,EJn,Tt),EWn.ue=function(n,t){return a0(KB(n,140),KB(t,140))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(UZn,"RectilinearConvexHull/lambda$1$Type",1646),lAn(1647,1,EJn,At),EWn.ue=function(n,t){return o0(KB(n,140),KB(t,140))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(UZn,"RectilinearConvexHull/lambda$2$Type",1647),lAn(1648,1,EJn,$t),EWn.ue=function(n,t){return u0(KB(n,140),KB(t,140))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(UZn,"RectilinearConvexHull/lambda$3$Type",1648),lAn(1649,1,EJn,Lt),EWn.ue=function(n,t){return yMn(KB(n,140),KB(t,140))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(UZn,"RectilinearConvexHull/lambda$4$Type",1649),lAn(1650,1,{},CZ),gX(UZn,"Scanline",1650),lAn(2005,1,{}),gX(XZn,"AbstractGraphPlacer",2005),lAn(325,1,{325:1},zx),EWn.mf=function(n){return!!this.nf(n)&&(QIn(this.b,KB(pMn(n,(oWn(),zft)),21),n),!0)},EWn.nf=function(n){var t,e,i;for(t=KB(pMn(n,(oWn(),zft)),21),i=KB(o6(sut,t),21).Kc();i.Ob();)if(e=KB(i.Pb(),21),!KB(o6(this.b,e),15).dc())return!1;return!0},gX(XZn,"ComponentGroup",325),lAn(765,2005,{},Wv),EWn.of=function(n){var t;for(t=new Ub(this.a);t.a<t.c.c.length;)if(KB(Y1(t),325).mf(n))return;UB(this.a,new zx(n))},EWn.lf=function(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w;if(this.a.c=L8(Int,FWn,1,0,5,1),t.a.c=L8(Int,FWn,1,0,5,1),n.dc())return t.f.a=0,void(t.f.b=0);for(Ban(t,a=KB(n.Xb(0),37)),r=n.Kc();r.Ob();)i=KB(r.Pb(),37),this.of(i);for(w=new Hj,c=Hy(ED(pMn(a,(FXn(),ppt)))),s=new Ub(this.a);s.a<s.c.c.length;)h=jXn(u=KB(Y1(s),325),c),l9(jX(u.b),w.a,w.b),w.a+=h.a,w.b+=h.b;if(t.f.a=w.a-c,t.f.b=w.b-c,By(jD(pMn(a,Edt)))&&HI(pMn(a,Jdt))===HI((Ebn(),WPt))){for(b=n.Kc();b.Ob();)JRn(f=KB(b.Pb(),37),f.c.a,f.c.b);for(DXn(e=new Nt,n,c),l=n.Kc();l.Ob();)GR(mO((f=KB(l.Pb(),37)).c),e.e);GR(mO(t.f),e.a)}for(o=new Ub(this.a);o.a<o.c.c.length;)b9(t,jX((u=KB(Y1(o),325)).b))},gX(XZn,"ComponentGroupGraphPlacer",765),lAn(1293,765,{},om),EWn.of=function(n){dfn(this,n)},EWn.lf=function(n,t){var e,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v;if(this.a.c=L8(Int,FWn,1,0,5,1),t.a.c=L8(Int,FWn,1,0,5,1),n.dc())return t.f.a=0,void(t.f.b=0);for(Ban(t,a=KB(n.Xb(0),37)),r=n.Kc();r.Ob();)dfn(this,KB(r.Pb(),37));for(v=new Hj,p=new Hj,d=new Hj,w=new Hj,c=Hy(ED(pMn(a,(FXn(),ppt)))),s=new Ub(this.a);s.a<s.c.c.length;){if(u=KB(Y1(s),325),bA(KB(pMn(t,(uWn(),fSt)),103))){for(d.a=v.a,g=new hy(EX(mX(u.b).a).a.kc());g.b.Ob();)if(KB(iS(g.b.Pb()),21).Hc((mUn(),uIt))){d.a=p.a;break}}else if(wA(KB(pMn(t,fSt),103)))for(d.b=v.b,g=new hy(EX(mX(u.b).a).a.kc());g.b.Ob();)if(KB(iS(g.b.Pb()),21).Hc((mUn(),SIt))){d.b=p.b;break}if(h=jXn(KB(u,570),c),l9(jX(u.b),d.a,d.b),bA(KB(pMn(t,fSt),103))){for(p.a=d.a+h.a,w.a=i.Math.max(w.a,p.a),g=new hy(EX(mX(u.b).a).a.kc());g.b.Ob();)if(KB(iS(g.b.Pb()),21).Hc((mUn(),TIt))){v.a=d.a+h.a;break}p.b=d.b+h.b,d.b=p.b,w.b=i.Math.max(w.b,d.b)}else if(wA(KB(pMn(t,fSt),103))){for(p.b=d.b+h.b,w.b=i.Math.max(w.b,p.b),g=new hy(EX(mX(u.b).a).a.kc());g.b.Ob();)if(KB(iS(g.b.Pb()),21).Hc((mUn(),aIt))){v.b=d.b+h.b;break}p.a=d.a+h.a,d.a=p.a,w.a=i.Math.max(w.a,d.a)}}if(t.f.a=w.a-c,t.f.b=w.b-c,By(jD(pMn(a,Edt)))&&HI(pMn(a,Jdt))===HI((Ebn(),WPt))){for(b=n.Kc();b.Ob();)JRn(f=KB(b.Pb(),37),f.c.a,f.c.b);for(DXn(e=new Nt,n,c),l=n.Kc();l.Ob();)GR(mO((f=KB(l.Pb(),37)).c),e.e);GR(mO(t.f),e.a)}for(o=new Ub(this.a);o.a<o.c.c.length;)b9(t,jX((u=KB(Y1(o),325)).b))},gX(XZn,"ComponentGroupModelOrderGraphPlacer",1293),lAn(423,22,{3:1,35:1,22:1,423:1},VS);var wut,dut,gut,put=Ken(XZn,"ComponentOrderingStrategy",423,Gnt,m1,MK);lAn(650,1,{},Nt),gX(XZn,"ComponentsCompactor",650),lAn(1468,12,WQn,g5),EWn.Fc=function(n){return Vjn(this,KB(n,140))},gX(XZn,"ComponentsCompactor/Hullpoints",1468),lAn(1465,1,{841:1},ovn),EWn.a=!1,gX(XZn,"ComponentsCompactor/InternalComponent",1465),lAn(1464,1,dVn,Vv),EWn.Jc=function(n){n5(this,n)},EWn.Kc=function(){return new Ub(this.a)},gX(XZn,"ComponentsCompactor/InternalConnectedComponents",1464),lAn(1467,1,{594:1},bOn),EWn.hf=function(){return null},EWn.jf=function(){return this.a},EWn.gf=function(){return cpn(this.d)},EWn.kf=function(){return this.b},gX(XZn,"ComponentsCompactor/InternalExternalExtension",1467),lAn(1466,1,{594:1},Yv),EWn.jf=function(){return this.a},EWn.gf=function(){return cpn(this.d)},EWn.hf=function(){return this.c},EWn.kf=function(){return this.b},gX(XZn,"ComponentsCompactor/InternalUnionExternalExtension",1466),lAn(1470,1,{},Wxn),gX(XZn,"ComponentsCompactor/OuterSegments",1470),lAn(1469,1,{},Qv),gX(XZn,"ComponentsCompactor/Segments",1469),lAn(1264,1,{},fJ),gX(XZn,tZn,1264),lAn(1265,1,EJn,xt),EWn.ue=function(n,t){return f0(KB(n,37),KB(t,37))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(XZn,"ComponentsProcessor/lambda$0$Type",1265),lAn(570,325,{325:1,570:1},d5),EWn.mf=function(n){return bsn(this,n)},EWn.nf=function(n){return fNn(this,n)},gX(XZn,"ModelOrderComponentGroup",570),lAn(1291,2005,{},Dt),EWn.lf=function(n,t){var e,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j;if(1!=n.gc()){if(n.dc())return t.a.c=L8(Int,FWn,1,0,5,1),t.f.a=0,void(t.f.b=0);if(HI(pMn(t,(FXn(),Sdt)))===HI((Kfn(),lut))){for(s=n.Kc();s.Ob();){for(p=0,d=new Ub((u=KB(s.Pb(),37)).a);d.a<d.c.c.length;)w=KB(Y1(d),10),p+=KB(pMn(w,opt),19).a;u.p=p}TQ(),n.ad(new Rt)}for(a=KB(n.Xb(0),37),t.a.c=L8(Int,FWn,1,0,5,1),Ban(t,a),b=0,y=0,h=n.Kc();h.Ob();)v=(u=KB(h.Pb(),37)).f,b=i.Math.max(b,v.a),y+=v.a*v.b;for(b=i.Math.max(b,i.Math.sqrt(y)*Hy(ED(pMn(t,kdt)))),k=0,j=0,l=0,e=c=Hy(ED(pMn(t,ppt))),o=n.Kc();o.Ob();)k+(v=(u=KB(o.Pb(),37)).f).a>b&&(k=0,j+=l+c,l=0),JRn(u,k+(g=u.c).a,j+g.b),mO(g),e=i.Math.max(e,k+v.a),l=i.Math.max(l,v.b),k+=v.a+c;if(t.f.a=e,t.f.b=j+l,By(jD(pMn(a,Edt)))){for(DXn(r=new Nt,n,c),f=n.Kc();f.Ob();)GR(mO(KB(f.Pb(),37).c),r.e);GR(mO(t.f),r.a)}b9(t,n)}else(m=KB(n.Xb(0),37))!=t&&(t.a.c=L8(Int,FWn,1,0,5,1),O_n(t,m,0,0),Ban(t,m),mQ(t.d,m.d),t.f.a=m.f.a,t.f.b=m.f.b)},gX(XZn,"SimpleRowGraphPlacer",1291),lAn(1292,1,EJn,Rt),EWn.ue=function(n,t){return qan(KB(n,37),KB(t,37))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(XZn,"SimpleRowGraphPlacer/1",1292),lAn(1262,1,BJn,_t),EWn.Lb=function(n){var t;return!!(t=KB(pMn(KB(n,243).b,(FXn(),ggt)),74))&&0!=t.b},EWn.Fb=function(n){return this===n},EWn.Mb=function(n){var t;return!!(t=KB(pMn(KB(n,243).b,(FXn(),ggt)),74))&&0!=t.b},gX(JZn,"CompoundGraphPostprocessor/1",1262),lAn(1261,1,YZn,nm),EWn.pf=function(n,t){pvn(this,KB(n,37),t)},gX(JZn,"CompoundGraphPreprocessor",1261),lAn(441,1,{441:1},qfn),EWn.c=!1,gX(JZn,"CompoundGraphPreprocessor/ExternalPort",441),lAn(243,1,{243:1},AK),EWn.Ib=function(){return bx(this.c)+":"+CIn(this.b)},gX(JZn,"CrossHierarchyEdge",243),lAn(763,1,EJn,Rw),EWn.ue=function(n,t){return Xyn(this,KB(n,243),KB(t,243))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(JZn,"CrossHierarchyEdgeComparator",763),lAn(299,134,{3:1,299:1,94:1,134:1}),EWn.p=0,gX(ZZn,"LGraphElement",299),lAn(17,299,{3:1,17:1,299:1,94:1,134:1},lJ),EWn.Ib=function(){return CIn(this)};var vut=gX(ZZn,"LEdge",17);lAn(37,299,{3:1,20:1,37:1,299:1,94:1,134:1},pin),EWn.Jc=function(n){n5(this,n)},EWn.Kc=function(){return new Ub(this.b)},EWn.Ib=function(){return 0==this.b.c.length?"G-unlayered"+AMn(this.a):0==this.a.c.length?"G-layered"+AMn(this.b):"G[layerless"+AMn(this.a)+", layers"+AMn(this.b)+"]"};var mut,yut=gX(ZZn,"LGraph",37);lAn(657,1,{}),EWn.qf=function(){return this.e.n},EWn.We=function(n){return pMn(this.e,n)},EWn.rf=function(){return this.e.o},EWn.sf=function(){return this.e.p},EWn.Xe=function(n){return Ax(this.e,n)},EWn.tf=function(n){this.e.n.a=n.a,this.e.n.b=n.b},EWn.uf=function(n){this.e.o.a=n.a,this.e.o.b=n.b},EWn.vf=function(n){this.e.p=n},gX(ZZn,"LGraphAdapters/AbstractLShapeAdapter",657),lAn(577,1,{839:1},_w),EWn.wf=function(){var n,t;if(!this.b)for(this.b=ux(this.a.b.c.length),t=new Ub(this.a.b);t.a<t.c.c.length;)n=KB(Y1(t),70),UB(this.b,new Kw(n));return this.b},EWn.b=null,gX(ZZn,"LGraphAdapters/LEdgeAdapter",577),lAn(656,1,{},FV),EWn.xf=function(){var n,t,e,i,r;if(!this.b)for(this.b=new $p,e=new Ub(this.a.b);e.a<e.c.c.length;)for(r=new Ub(KB(Y1(e),29).a);r.a<r.c.c.length;)if(i=KB(Y1(r),10),this.c.Mb(i)&&(UB(this.b,new RK(this,i,this.e)),this.d)){if(Ax(i,(oWn(),Dlt)))for(t=KB(pMn(i,Dlt),15).Kc();t.Ob();)n=KB(t.Pb(),10),UB(this.b,new RK(this,n,!1));if(Ax(i,Nft))for(t=KB(pMn(i,Nft),15).Kc();t.Ob();)n=KB(t.Pb(),10),UB(this.b,new RK(this,n,!1))}return this.b},EWn.qf=function(){throw Fp(new Zy(t1n))},EWn.We=function(n){return pMn(this.a,n)},EWn.rf=function(){return this.a.f},EWn.sf=function(){return this.a.p},EWn.Xe=function(n){return Ax(this.a,n)},EWn.tf=function(n){throw Fp(new Zy(t1n))},EWn.uf=function(n){this.a.f.a=n.a,this.a.f.b=n.b},EWn.vf=function(n){this.a.p=n},EWn.b=null,EWn.d=!1,EWn.e=!1,gX(ZZn,"LGraphAdapters/LGraphAdapter",656),lAn(576,657,{181:1},Kw),gX(ZZn,"LGraphAdapters/LLabelAdapter",576),lAn(575,657,{680:1},RK),EWn.yf=function(){return this.b},EWn.zf=function(){return TQ(),TQ(),uet},EWn.wf=function(){var n,t;if(!this.a)for(this.a=ux(KB(this.e,10).b.c.length),t=new Ub(KB(this.e,10).b);t.a<t.c.c.length;)n=KB(Y1(t),70),UB(this.a,new Kw(n));return this.a},EWn.Af=function(){var n;return new FR((n=KB(this.e,10).d).d,n.c,n.a,n.b)},EWn.Bf=function(){return TQ(),TQ(),uet},EWn.Cf=function(){var n,t;if(!this.c)for(this.c=ux(KB(this.e,10).j.c.length),t=new Ub(KB(this.e,10).j);t.a<t.c.c.length;)n=KB(Y1(t),11),UB(this.c,new wP(n,this.d));return this.c},EWn.Df=function(){return By(jD(pMn(KB(this.e,10),(oWn(),Rft))))},EWn.Ef=function(n){KB(this.e,10).d.b=n.b,KB(this.e,10).d.d=n.d,KB(this.e,10).d.c=n.c,KB(this.e,10).d.a=n.a},EWn.Ff=function(n){KB(this.e,10).f.b=n.b,KB(this.e,10).f.d=n.d,KB(this.e,10).f.c=n.c,KB(this.e,10).f.a=n.a},EWn.Gf=function(){$tn(this,(wM(),mut))},EWn.a=null,EWn.b=null,EWn.c=null,EWn.d=!1,gX(ZZn,"LGraphAdapters/LNodeAdapter",575),lAn(1722,657,{838:1},wP),EWn.zf=function(){var n,t,e,i;if(this.d&&KB(this.e,11).i.k==(cSn(),Put))return TQ(),TQ(),uet;if(!this.a){for(this.a=new $p,e=new Ub(KB(this.e,11).e);e.a<e.c.c.length;)n=KB(Y1(e),17),UB(this.a,new _w(n));if(this.d&&(i=KB(pMn(KB(this.e,11),(oWn(),klt)),10)))for(t=new az(JL(sbn(i).a.Kc(),new h));bAn(t);)n=KB(G5(t),17),UB(this.a,new _w(n))}return this.a},EWn.wf=function(){var n,t;if(!this.b)for(this.b=ux(KB(this.e,11).f.c.length),t=new Ub(KB(this.e,11).f);t.a<t.c.c.length;)n=KB(Y1(t),70),UB(this.b,new Kw(n));return this.b},EWn.Bf=function(){var n,t,e,i;if(this.d&&KB(this.e,11).i.k==(cSn(),Put))return TQ(),TQ(),uet;if(!this.c){for(this.c=new $p,e=new Ub(KB(this.e,11).g);e.a<e.c.c.length;)n=KB(Y1(e),17),UB(this.c,new _w(n));if(this.d&&(i=KB(pMn(KB(this.e,11),(oWn(),klt)),10)))for(t=new az(JL(hbn(i).a.Kc(),new h));bAn(t);)n=KB(G5(t),17),UB(this.c,new _w(n))}return this.c},EWn.Hf=function(){return KB(this.e,11).j},EWn.If=function(){return By(jD(pMn(KB(this.e,11),(oWn(),nlt))))},EWn.a=null,EWn.b=null,EWn.c=null,EWn.d=!1,gX(ZZn,"LGraphAdapters/LPortAdapter",1722),lAn(1723,1,EJn,Kt),EWn.ue=function(n,t){return UDn(KB(n,11),KB(t,11))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(ZZn,"LGraphAdapters/PortComparator",1723),lAn(804,1,NVn,Ft),EWn.Mb=function(n){return KB(n,10),wM(),!0},gX(ZZn,"LGraphAdapters/lambda$0$Type",804),lAn(392,299,{3:1,299:1,392:1,94:1,134:1}),gX(ZZn,"LShape",392),lAn(70,392,{3:1,299:1,70:1,392:1,94:1,134:1},Bj,C$),EWn.Ib=function(){var n;return null==(n=VH(this))?"label":"l_"+n},gX(ZZn,"LLabel",70),lAn(207,1,{3:1,4:1,207:1,414:1}),EWn.Fb=function(n){var t;return!!iL(n,207)&&(t=KB(n,207),this.d==t.d&&this.a==t.a&&this.b==t.b&&this.c==t.c)},EWn.Hb=function(){var n,t;return n=XO(this.b)<<16,n|=XO(this.a)&WVn,t=XO(this.c)<<16,n^(t|=XO(this.d)&WVn)},EWn.Jf=function(n){var t,e,i,r,c,a,u,o,s;for(r=0;r<n.length&&Nhn((f1(r,n.length),n.charCodeAt(r)),a1n);)++r;for(t=n.length;t>0&&Nhn((f1(t-1,n.length),n.charCodeAt(t-1)),u1n);)--t;if(r<t){o=m_n(n.substr(r,t-r),",|;");try{for(a=0,u=(c=o).length;a<u;++a){if(2!=(i=m_n(c[a],"=")).length)throw Fp(new Ry("Expecting a list of key-value pairs."));e=xMn(i[0]),s=fSn(xMn(i[1])),p_(e,"top")?this.d=s:p_(e,"left")?this.b=s:p_(e,"bottom")?this.a=s:p_(e,"right")&&(this.c=s)}}catch(h){throw iL(h=hun(h),127)?Fp(new Ry(o1n+h)):Fp(h)}}},EWn.Ib=function(){return"[top="+this.d+",left="+this.b+",bottom="+this.a+",right="+this.c+"]"},EWn.a=0,EWn.b=0,EWn.c=0,EWn.d=0,gX(s1n,"Spacing",207),lAn(142,207,h1n,hm,hA,FR,IK);var kut=gX(s1n,"ElkMargin",142);lAn(651,142,h1n,sm),gX(ZZn,"LMargin",651),lAn(10,392,{3:1,299:1,10:1,392:1,94:1,134:1},Ovn),EWn.Ib=function(){return Opn(this)},EWn.i=!1;var jut,Eut,Tut,Mut,Sut,Put,Cut=gX(ZZn,"LNode",10);lAn(267,22,{3:1,35:1,22:1,267:1},QS);var Iut,Out=Ken(ZZn,"LNode/NodeType",267,Gnt,c9,PK);lAn(116,207,f1n,fm,UA,CK);var Aut,$ut,Lut,Nut,xut,Dut,Rut=gX(s1n,"ElkPadding",116);lAn(764,116,f1n,lm),gX(ZZn,"LPadding",764),lAn(11,392,{3:1,299:1,11:1,392:1,94:1,134:1},SSn),EWn.Ib=function(){var n,t,e;return aO(((n=new Sk).a+="p_",n),dyn(this)),this.i&&aO(cO((n.a+="[",n),this.i),"]"),1==this.e.c.length&&0==this.g.c.length&&KB(Lq(this.e,0),17).c!=this&&(t=KB(Lq(this.e,0),17).c,aO((n.a+=" << ",n),dyn(t)),aO(cO((n.a+="[",n),t.i),"]")),0==this.e.c.length&&1==this.g.c.length&&KB(Lq(this.g,0),17).d!=this&&(e=KB(Lq(this.g,0),17).d,aO((n.a+=" >> ",n),dyn(e)),aO(cO((n.a+="[",n),e.i),"]")),n.a},EWn.c=!0,EWn.d=!1;var _ut,Kut,Fut,But,Hut=gX(ZZn,"LPort",11);lAn(397,1,dVn,Fw),EWn.Jc=function(n){n5(this,n)},EWn.Kc=function(){return new Bw(new Ub(this.a.e))},gX(ZZn,"LPort/1",397),lAn(1290,1,WWn,Bw),EWn.Nb=function(n){sU(this,n)},EWn.Pb=function(){return KB(Y1(this.a),17).c},EWn.Ob=function(){return v$(this.a)},EWn.Qb=function(){IU(this.a)},gX(ZZn,"LPort/1/1",1290),lAn(359,1,dVn,Hw),EWn.Jc=function(n){n5(this,n)},EWn.Kc=function(){return new qw(new Ub(this.a.g))},gX(ZZn,"LPort/2",359),lAn(762,1,WWn,qw),EWn.Nb=function(n){sU(this,n)},EWn.Pb=function(){return KB(Y1(this.a),17).d},EWn.Ob=function(){return v$(this.a)},EWn.Qb=function(){IU(this.a)},gX(ZZn,"LPort/2/1",762),lAn(1283,1,dVn,oP),EWn.Jc=function(n){n5(this,n)},EWn.Kc=function(){return new p6(this)},gX(ZZn,"LPort/CombineIter",1283),lAn(201,1,WWn,p6),EWn.Nb=function(n){sU(this,n)},EWn.Qb=function(){cE()},EWn.Ob=function(){return qN(this)},EWn.Pb=function(){return v$(this.a)?Y1(this.a):Y1(this.b)},gX(ZZn,"LPort/CombineIter/1",201),lAn(1285,1,BJn,Bt),EWn.Lb=function(n){return Iz(n)},EWn.Fb=function(n){return this===n},EWn.Mb=function(n){return wcn(),0!=KB(n,11).e.c.length},gX(ZZn,"LPort/lambda$0$Type",1285),lAn(1284,1,BJn,Ht),EWn.Lb=function(n){return Oz(n)},EWn.Fb=function(n){return this===n},EWn.Mb=function(n){return wcn(),0!=KB(n,11).g.c.length},gX(ZZn,"LPort/lambda$1$Type",1284),lAn(1286,1,BJn,qt),EWn.Lb=function(n){return wcn(),KB(n,11).j==(mUn(),uIt)},EWn.Fb=function(n){return this===n},EWn.Mb=function(n){return wcn(),KB(n,11).j==(mUn(),uIt)},gX(ZZn,"LPort/lambda$2$Type",1286),lAn(1287,1,BJn,Gt),EWn.Lb=function(n){return wcn(),KB(n,11).j==(mUn(),aIt)},EWn.Fb=function(n){return this===n},EWn.Mb=function(n){return wcn(),KB(n,11).j==(mUn(),aIt)},gX(ZZn,"LPort/lambda$3$Type",1287),lAn(1288,1,BJn,zt),EWn.Lb=function(n){return wcn(),KB(n,11).j==(mUn(),TIt)},EWn.Fb=function(n){return this===n},EWn.Mb=function(n){return wcn(),KB(n,11).j==(mUn(),TIt)},gX(ZZn,"LPort/lambda$4$Type",1288),lAn(1289,1,BJn,Ut),EWn.Lb=function(n){return wcn(),KB(n,11).j==(mUn(),SIt)},EWn.Fb=function(n){return this===n},EWn.Mb=function(n){return wcn(),KB(n,11).j==(mUn(),SIt)},gX(ZZn,"LPort/lambda$5$Type",1289),lAn(29,299,{3:1,20:1,299:1,29:1,94:1,134:1},FX),EWn.Jc=function(n){n5(this,n)},EWn.Kc=function(){return new Ub(this.a)},EWn.Ib=function(){return"L_"+k7(this.b.b,this,0)+AMn(this.a)},gX(ZZn,"Layer",29),lAn(1342,1,{},Zv),gX(b1n,w1n,1342),lAn(1346,1,{},Xt),EWn.Kb=function(n){return MTn(KB(n,82))},gX(b1n,"ElkGraphImporter/0methodref$connectableShapeToNode$Type",1346),lAn(1349,1,{},Wt),EWn.Kb=function(n){return MTn(KB(n,82))},gX(b1n,"ElkGraphImporter/1methodref$connectableShapeToNode$Type",1349),lAn(1343,1,hVn,Gw),EWn.td=function(n){MOn(this.a,KB(n,118))},gX(b1n,d1n,1343),lAn(1344,1,hVn,zw),EWn.td=function(n){MOn(this.a,KB(n,118))},gX(b1n,g1n,1344),lAn(1345,1,{},Vt),EWn.Kb=function(n){return new xq(null,new l1(dV(KB(n,79)),16))},gX(b1n,p1n,1345),lAn(1347,1,NVn,Uw),EWn.Mb=function(n){return RA(this.a,KB(n,33))},gX(b1n,v1n,1347),lAn(1348,1,{},Qt),EWn.Kb=function(n){return new xq(null,new l1(gV(KB(n,79)),16))},gX(b1n,"ElkGraphImporter/lambda$5$Type",1348),lAn(1350,1,NVn,Xw),EWn.Mb=function(n){return _A(this.a,KB(n,33))},gX(b1n,"ElkGraphImporter/lambda$7$Type",1350),lAn(1351,1,NVn,Jt),EWn.Mb=function(n){return IQ(KB(n,79))},gX(b1n,"ElkGraphImporter/lambda$8$Type",1351),lAn(1278,1,{},Wh),gX(b1n,"ElkGraphLayoutTransferrer",1278),lAn(1279,1,NVn,Ww),EWn.Mb=function(n){return QR(this.a,KB(n,17))},gX(b1n,"ElkGraphLayoutTransferrer/lambda$0$Type",1279),lAn(1280,1,hVn,Vw),EWn.td=function(n){pM(),UB(this.a,KB(n,17))},gX(b1n,"ElkGraphLayoutTransferrer/lambda$1$Type",1280),lAn(1281,1,NVn,Qw),EWn.Mb=function(n){return GD(this.a,KB(n,17))},gX(b1n,"ElkGraphLayoutTransferrer/lambda$2$Type",1281),lAn(1282,1,hVn,Jw),EWn.td=function(n){pM(),UB(this.a,KB(n,17))},gX(b1n,"ElkGraphLayoutTransferrer/lambda$3$Type",1282),lAn(1485,1,YZn,Yt),EWn.pf=function(n,t){Xrn(KB(n,37),t)},gX(y1n,"CommentNodeMarginCalculator",1485),lAn(1486,1,{},Zt),EWn.Kb=function(n){return new xq(null,new l1(KB(n,29).a,16))},gX(y1n,"CommentNodeMarginCalculator/lambda$0$Type",1486),lAn(1487,1,hVn,ne),EWn.td=function(n){ZBn(KB(n,10))},gX(y1n,"CommentNodeMarginCalculator/lambda$1$Type",1487),lAn(1488,1,YZn,te),EWn.pf=function(n,t){rDn(KB(n,37),t)},gX(y1n,"CommentPostprocessor",1488),lAn(1489,1,YZn,ee),EWn.pf=function(n,t){cUn(KB(n,37),t)},gX(y1n,"CommentPreprocessor",1489),lAn(1490,1,YZn,ie),EWn.pf=function(n,t){yLn(KB(n,37),t)},gX(y1n,"ConstraintsPostprocessor",1490),lAn(1491,1,YZn,re),EWn.pf=function(n,t){ian(KB(n,37),t)},gX(y1n,"EdgeAndLayerConstraintEdgeReverser",1491),lAn(1492,1,YZn,ce),EWn.pf=function(n,t){Hwn(KB(n,37),t)},gX(y1n,"EndLabelPostprocessor",1492),lAn(1493,1,{},ae),EWn.Kb=function(n){return new xq(null,new l1(KB(n,29).a,16))},gX(y1n,"EndLabelPostprocessor/lambda$0$Type",1493),lAn(1494,1,NVn,ue),EWn.Mb=function(n){return EJ(KB(n,10))},gX(y1n,"EndLabelPostprocessor/lambda$1$Type",1494),lAn(1495,1,hVn,oe),EWn.td=function(n){njn(KB(n,10))},gX(y1n,"EndLabelPostprocessor/lambda$2$Type",1495),lAn(1496,1,YZn,se),EWn.pf=function(n,t){JPn(KB(n,37),t)},gX(y1n,"EndLabelPreprocessor",1496),lAn(1497,1,{},he),EWn.Kb=function(n){return new xq(null,new l1(KB(n,29).a,16))},gX(y1n,"EndLabelPreprocessor/lambda$0$Type",1497),lAn(1498,1,hVn,NK),EWn.td=function(n){DM(this.a,this.b,this.c,KB(n,10))},EWn.a=0,EWn.b=0,EWn.c=!1,gX(y1n,"EndLabelPreprocessor/lambda$1$Type",1498),lAn(1499,1,NVn,fe),EWn.Mb=function(n){return HI(pMn(KB(n,70),(FXn(),Vdt)))===HI((xtn(),zPt))},gX(y1n,"EndLabelPreprocessor/lambda$2$Type",1499),lAn(1500,1,hVn,Yw),EWn.td=function(n){NH(this.a,KB(n,70))},gX(y1n,"EndLabelPreprocessor/lambda$3$Type",1500),lAn(1501,1,NVn,le),EWn.Mb=function(n){return HI(pMn(KB(n,70),(FXn(),Vdt)))===HI((xtn(),GPt))},gX(y1n,"EndLabelPreprocessor/lambda$4$Type",1501),lAn(1502,1,hVn,Zw),EWn.td=function(n){NH(this.a,KB(n,70))},gX(y1n,"EndLabelPreprocessor/lambda$5$Type",1502),lAn(1551,1,YZn,Xh),EWn.pf=function(n,t){Sln(KB(n,37),t)},gX(y1n,"EndLabelSorter",1551),lAn(1552,1,EJn,be),EWn.ue=function(n,t){return Fgn(KB(n,456),KB(t,456))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(y1n,"EndLabelSorter/1",1552),lAn(456,1,{456:1},jQ),gX(y1n,"EndLabelSorter/LabelGroup",456),lAn(1553,1,{},we),EWn.Kb=function(n){return kM(),new xq(null,new l1(KB(n,29).a,16))},gX(y1n,"EndLabelSorter/lambda$0$Type",1553),lAn(1554,1,NVn,de),EWn.Mb=function(n){return kM(),KB(n,10).k==(cSn(),Sut)},gX(y1n,"EndLabelSorter/lambda$1$Type",1554),lAn(1555,1,hVn,ge),EWn.td=function(n){aSn(KB(n,10))},gX(y1n,"EndLabelSorter/lambda$2$Type",1555),lAn(1556,1,NVn,pe),EWn.Mb=function(n){return kM(),HI(pMn(KB(n,70),(FXn(),Vdt)))===HI((xtn(),GPt))},gX(y1n,"EndLabelSorter/lambda$3$Type",1556),lAn(1557,1,NVn,ve),EWn.Mb=function(n){return kM(),HI(pMn(KB(n,70),(FXn(),Vdt)))===HI((xtn(),zPt))},gX(y1n,"EndLabelSorter/lambda$4$Type",1557),lAn(1503,1,YZn,me),EWn.pf=function(n,t){PHn(this,KB(n,37))},EWn.b=0,EWn.c=0,gX(y1n,"FinalSplineBendpointsCalculator",1503),lAn(1504,1,{},ye),EWn.Kb=function(n){return new xq(null,new l1(KB(n,29).a,16))},gX(y1n,"FinalSplineBendpointsCalculator/lambda$0$Type",1504),lAn(1505,1,{},ke),EWn.Kb=function(n){return new xq(null,new qU(new az(JL(hbn(KB(n,10)).a.Kc(),new h))))},gX(y1n,"FinalSplineBendpointsCalculator/lambda$1$Type",1505),lAn(1506,1,NVn,je),EWn.Mb=function(n){return!f5(KB(n,17))},gX(y1n,"FinalSplineBendpointsCalculator/lambda$2$Type",1506),lAn(1507,1,NVn,Ee),EWn.Mb=function(n){return Ax(KB(n,17),(oWn(),$lt))},gX(y1n,"FinalSplineBendpointsCalculator/lambda$3$Type",1507),lAn(1508,1,hVn,nd),EWn.td=function(n){q_n(this.a,KB(n,128))},gX(y1n,"FinalSplineBendpointsCalculator/lambda$4$Type",1508),lAn(1509,1,hVn,Te),EWn.td=function(n){QPn(KB(n,17).a)},gX(y1n,"FinalSplineBendpointsCalculator/lambda$5$Type",1509),lAn(792,1,YZn,td),EWn.pf=function(n,t){Xqn(this,KB(n,37),t)},gX(y1n,"GraphTransformer",792),lAn(511,22,{3:1,35:1,22:1,511:1},JS);var qut,Gut,zut,Uut=Ken(y1n,"GraphTransformer/Mode",511,Gnt,cY,ZF);lAn(1510,1,YZn,Me),EWn.pf=function(n,t){nxn(KB(n,37),t)},gX(y1n,"HierarchicalNodeResizingProcessor",1510),lAn(1511,1,YZn,Se),EWn.pf=function(n,t){hrn(KB(n,37),t)},gX(y1n,"HierarchicalPortConstraintProcessor",1511),lAn(1512,1,EJn,Pe),EWn.ue=function(n,t){return Ppn(KB(n,10),KB(t,10))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(y1n,"HierarchicalPortConstraintProcessor/NodeComparator",1512),lAn(1513,1,YZn,Ce),EWn.pf=function(n,t){yBn(KB(n,37),t)},gX(y1n,"HierarchicalPortDummySizeProcessor",1513),lAn(1514,1,YZn,Ie),EWn.pf=function(n,t){QDn(this,KB(n,37),t)},EWn.a=0,gX(y1n,"HierarchicalPortOrthogonalEdgeRouter",1514),lAn(1515,1,EJn,Oe),EWn.ue=function(n,t){return RN(KB(n,10),KB(t,10))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(y1n,"HierarchicalPortOrthogonalEdgeRouter/1",1515),lAn(1516,1,EJn,Ae),EWn.ue=function(n,t){return M9(KB(n,10),KB(t,10))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(y1n,"HierarchicalPortOrthogonalEdgeRouter/2",1516),lAn(1517,1,YZn,$e),EWn.pf=function(n,t){kMn(KB(n,37),t)},gX(y1n,"HierarchicalPortPositionProcessor",1517),lAn(1518,1,YZn,Vh),EWn.pf=function(n,t){eXn(this,KB(n,37))},EWn.a=0,EWn.c=0,gX(y1n,"HighDegreeNodeLayeringProcessor",1518),lAn(571,1,{571:1},Le),EWn.b=-1,EWn.d=-1,gX(y1n,"HighDegreeNodeLayeringProcessor/HighDegreeNodeInformation",571),lAn(1519,1,{},Ne),EWn.Kb=function(n){return BK(),sbn(KB(n,10))},EWn.Fb=function(n){return this===n},gX(y1n,"HighDegreeNodeLayeringProcessor/lambda$0$Type",1519),lAn(1520,1,{},xe),EWn.Kb=function(n){return BK(),hbn(KB(n,10))},EWn.Fb=function(n){return this===n},gX(y1n,"HighDegreeNodeLayeringProcessor/lambda$1$Type",1520),lAn(1526,1,YZn,De),EWn.pf=function(n,t){bFn(this,KB(n,37),t)},gX(y1n,"HyperedgeDummyMerger",1526),lAn(793,1,{},xK),EWn.a=!1,EWn.b=!1,EWn.c=!1,gX(y1n,"HyperedgeDummyMerger/MergeState",793),lAn(1527,1,{},Re),EWn.Kb=function(n){return new xq(null,new l1(KB(n,29).a,16))},gX(y1n,"HyperedgeDummyMerger/lambda$0$Type",1527),lAn(1528,1,{},_e),EWn.Kb=function(n){return new xq(null,new l1(KB(n,10).j,16))},gX(y1n,"HyperedgeDummyMerger/lambda$1$Type",1528),lAn(1529,1,hVn,Ke),EWn.td=function(n){KB(n,11).p=-1},gX(y1n,"HyperedgeDummyMerger/lambda$2$Type",1529),lAn(1530,1,YZn,Fe),EWn.pf=function(n,t){fFn(KB(n,37),t)},gX(y1n,"HypernodesProcessor",1530),lAn(1531,1,YZn,Be),EWn.pf=function(n,t){lFn(KB(n,37),t)},gX(y1n,"InLayerConstraintProcessor",1531),lAn(1532,1,YZn,He),EWn.pf=function(n,t){Acn(KB(n,37),t)},gX(y1n,"InnermostNodeMarginCalculator",1532),lAn(1533,1,YZn,qe),EWn.pf=function(n,t){Xzn(this,KB(n,37))},EWn.a=DQn,EWn.b=DQn,EWn.c=xQn,EWn.d=xQn;var Xut,Wut,Vut,Qut,Jut,Yut,Zut,not,tot,eot,iot,rot,cot,aot,uot,oot,sot,hot,fot,lot,bot,wot,dot,got,pot,vot,mot,yot,kot,jot,Eot,Tot,Mot,Sot,Pot,Cot,Iot,Oot,Aot,$ot,Lot,Not,xot,Dot,Rot,_ot,Kot,Fot,Bot,Hot,qot,Got,zot,Uot,Xot,Wot,Vot,Qot=gX(y1n,"InteractiveExternalPortPositioner",1533);lAn(1534,1,{},Ge),EWn.Kb=function(n){return KB(n,17).d.i},EWn.Fb=function(n){return this===n},gX(y1n,"InteractiveExternalPortPositioner/lambda$0$Type",1534),lAn(1535,1,{},ed),EWn.Kb=function(n){return BN(this.a,ED(n))},EWn.Fb=function(n){return this===n},gX(y1n,"InteractiveExternalPortPositioner/lambda$1$Type",1535),lAn(1536,1,{},ze),EWn.Kb=function(n){return KB(n,17).c.i},EWn.Fb=function(n){return this===n},gX(y1n,"InteractiveExternalPortPositioner/lambda$2$Type",1536),lAn(1537,1,{},id),EWn.Kb=function(n){return HN(this.a,ED(n))},EWn.Fb=function(n){return this===n},gX(y1n,"InteractiveExternalPortPositioner/lambda$3$Type",1537),lAn(1538,1,{},rd),EWn.Kb=function(n){return UR(this.a,ED(n))},EWn.Fb=function(n){return this===n},gX(y1n,"InteractiveExternalPortPositioner/lambda$4$Type",1538),lAn(1539,1,{},cd),EWn.Kb=function(n){return XR(this.a,ED(n))},EWn.Fb=function(n){return this===n},gX(y1n,"InteractiveExternalPortPositioner/lambda$5$Type",1539),lAn(77,22,{3:1,35:1,22:1,77:1,234:1},YS),EWn.Kf=function(){switch(this.g){case 15:return new dc;case 22:return new gc;case 47:return new mc;case 28:case 35:return new ei;case 32:return new Yt;case 42:return new te;case 1:return new ee;case 41:return new ie;case 56:return new td((Trn(),But));case 0:return new td((Trn(),Fut));case 2:return new re;case 54:return new ce;case 33:return new se;case 51:return new me;case 55:return new Me;case 13:return new Se;case 38:return new Ce;case 44:return new Ie;case 40:return new $e;case 9:return new Vh;case 49:return new ax;case 37:return new De;case 43:return new Fe;case 27:return new Be;case 30:return new He;case 3:return new qe;case 18:return new Xe;case 29:return new We;case 5:return new Qh;case 50:return new Ue;case 34:return new Jh;case 36:return new ii;case 52:return new Xh;case 11:return new ci;case 7:return new Zh;case 39:return new ai;case 45:return new ui;case 16:return new oi;case 10:return new si;case 48:return new fi;case 21:return new li;case 23:return new $y((ain(),Imt));case 8:return new wi;case 12:return new gi;case 4:return new pi;case 19:return new rf;case 17:return new Pi;case 53:return new Ci;case 6:return new Bi;case 25:return new rm;case 46:return new Ni;case 31:return new LR;case 14:return new Vi;case 26:return new Sc;case 20:return new nr;case 24:return new $y((ain(),Omt));default:throw Fp(new Ry(E1n+(null!=this.f?this.f:""+this.g)))}};var Jot,Yot,Zot,nst,tst,est,ist,rst,cst=Ken(y1n,T1n,77,Gnt,kNn,YF);lAn(1540,1,YZn,Xe),EWn.pf=function(n,t){Qzn(KB(n,37),t)},gX(y1n,"InvertedPortProcessor",1540),lAn(1541,1,YZn,We),EWn.pf=function(n,t){A_n(KB(n,37),t)},gX(y1n,"LabelAndNodeSizeProcessor",1541),lAn(1542,1,NVn,Ve),EWn.Mb=function(n){return KB(n,10).k==(cSn(),Sut)},gX(y1n,"LabelAndNodeSizeProcessor/lambda$0$Type",1542),lAn(1543,1,NVn,Qe),EWn.Mb=function(n){return KB(n,10).k==(cSn(),Eut)},gX(y1n,"LabelAndNodeSizeProcessor/lambda$1$Type",1543),lAn(1544,1,hVn,DK),EWn.td=function(n){RM(this.b,this.a,this.c,KB(n,10))},EWn.a=!1,EWn.c=!1,gX(y1n,"LabelAndNodeSizeProcessor/lambda$2$Type",1544),lAn(1545,1,YZn,Qh),EWn.pf=function(n,t){szn(KB(n,37),t)},gX(y1n,"LabelDummyInserter",1545),lAn(1546,1,BJn,Je),EWn.Lb=function(n){return HI(pMn(KB(n,70),(FXn(),Vdt)))===HI((xtn(),qPt))},EWn.Fb=function(n){return this===n},EWn.Mb=function(n){return HI(pMn(KB(n,70),(FXn(),Vdt)))===HI((xtn(),qPt))},gX(y1n,"LabelDummyInserter/1",1546),lAn(1547,1,YZn,Ue),EWn.pf=function(n,t){Mqn(KB(n,37),t)},gX(y1n,"LabelDummyRemover",1547),lAn(1548,1,NVn,Ye),EWn.Mb=function(n){return By(jD(pMn(KB(n,70),(FXn(),Wdt))))},gX(y1n,"LabelDummyRemover/lambda$0$Type",1548),lAn(1359,1,YZn,Jh),EWn.pf=function(n,t){jGn(this,KB(n,37),t)},EWn.a=null,gX(y1n,"LabelDummySwitcher",1359),lAn(286,1,{286:1},i_n),EWn.c=0,EWn.d=null,EWn.f=0,gX(y1n,"LabelDummySwitcher/LabelDummyInfo",286),lAn(1360,1,{},Ze),EWn.Kb=function(n){return Prn(),new xq(null,new l1(KB(n,29).a,16))},gX(y1n,"LabelDummySwitcher/lambda$0$Type",1360),lAn(1361,1,NVn,ni),EWn.Mb=function(n){return Prn(),KB(n,10).k==(cSn(),Tut)},gX(y1n,"LabelDummySwitcher/lambda$1$Type",1361),lAn(1362,1,{},od),EWn.Kb=function(n){return zD(this.a,KB(n,10))},gX(y1n,"LabelDummySwitcher/lambda$2$Type",1362),lAn(1363,1,hVn,sd),EWn.td=function(n){VX(this.a,KB(n,286))},gX(y1n,"LabelDummySwitcher/lambda$3$Type",1363),lAn(1364,1,EJn,ti),EWn.ue=function(n,t){return Az(KB(n,286),KB(t,286))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(y1n,"LabelDummySwitcher/lambda$4$Type",1364),lAn(791,1,YZn,ei),EWn.pf=function(n,t){V6(KB(n,37),t)},gX(y1n,"LabelManagementProcessor",791),lAn(1549,1,YZn,ii),EWn.pf=function(n,t){$xn(KB(n,37),t)},gX(y1n,"LabelSideSelector",1549),lAn(1550,1,NVn,ri),EWn.Mb=function(n){return By(jD(pMn(KB(n,70),(FXn(),Wdt))))},gX(y1n,"LabelSideSelector/lambda$0$Type",1550),lAn(1558,1,YZn,ci),EWn.pf=function(n,t){kBn(KB(n,37),t)},gX(y1n,"LayerConstraintPostprocessor",1558),lAn(1559,1,YZn,Zh),EWn.pf=function(n,t){e$n(KB(n,37),t)},gX(y1n,"LayerConstraintPreprocessor",1559),lAn(360,22,{3:1,35:1,22:1,360:1},ZS);var ast,ust,ost,sst,hst,fst,lst,bst,wst,dst=Ken(y1n,"LayerConstraintPreprocessor/HiddenNodeConnections",360,Gnt,n3,qK);lAn(1560,1,YZn,ai),EWn.pf=function(n,t){kqn(KB(n,37),t)},gX(y1n,"LayerSizeAndGraphHeightCalculator",1560),lAn(1561,1,YZn,ui),EWn.pf=function(n,t){ILn(KB(n,37),t)},gX(y1n,"LongEdgeJoiner",1561),lAn(1562,1,YZn,oi),EWn.pf=function(n,t){UHn(KB(n,37),t)},gX(y1n,"LongEdgeSplitter",1562),lAn(1563,1,YZn,si),EWn.pf=function(n,t){MGn(this,KB(n,37),t)},EWn.d=0,EWn.e=0,EWn.i=0,EWn.j=0,EWn.k=0,EWn.n=0,gX(y1n,"NodePromotion",1563),lAn(1564,1,{},hi),EWn.Kb=function(n){return KB(n,46),oN(),!0},EWn.Fb=function(n){return this===n},gX(y1n,"NodePromotion/lambda$0$Type",1564),lAn(1565,1,{},ad),EWn.Kb=function(n){return rV(this.a,KB(n,46))},EWn.Fb=function(n){return this===n},EWn.a=0,gX(y1n,"NodePromotion/lambda$1$Type",1565),lAn(1566,1,{},ud),EWn.Kb=function(n){return cV(this.a,KB(n,46))},EWn.Fb=function(n){return this===n},EWn.a=0,gX(y1n,"NodePromotion/lambda$2$Type",1566),lAn(1567,1,YZn,fi),EWn.pf=function(n,t){zUn(KB(n,37),t)},gX(y1n,"NorthSouthPortPostprocessor",1567),lAn(1568,1,YZn,li),EWn.pf=function(n,t){EUn(KB(n,37),t)},gX(y1n,"NorthSouthPortPreprocessor",1568),lAn(1569,1,EJn,bi),EWn.ue=function(n,t){return Jan(KB(n,11),KB(t,11))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(y1n,"NorthSouthPortPreprocessor/lambda$0$Type",1569),lAn(1570,1,YZn,wi),EWn.pf=function(n,t){OKn(KB(n,37),t)},gX(y1n,"PartitionMidprocessor",1570),lAn(1571,1,NVn,di),EWn.Mb=function(n){return Ax(KB(n,10),(FXn(),Ugt))},gX(y1n,"PartitionMidprocessor/lambda$0$Type",1571),lAn(1572,1,hVn,hd),EWn.td=function(n){OQ(this.a,KB(n,10))},gX(y1n,"PartitionMidprocessor/lambda$1$Type",1572),lAn(1573,1,YZn,gi),EWn.pf=function(n,t){lNn(KB(n,37),t)},gX(y1n,"PartitionPostprocessor",1573),lAn(1574,1,YZn,pi),EWn.pf=function(n,t){$On(KB(n,37),t)},gX(y1n,"PartitionPreprocessor",1574),lAn(1575,1,NVn,vi),EWn.Mb=function(n){return Ax(KB(n,10),(FXn(),Ugt))},gX(y1n,"PartitionPreprocessor/lambda$0$Type",1575),lAn(1576,1,{},mi),EWn.Kb=function(n){return new xq(null,new qU(new az(JL(hbn(KB(n,10)).a.Kc(),new h))))},gX(y1n,"PartitionPreprocessor/lambda$1$Type",1576),lAn(1577,1,NVn,yi),EWn.Mb=function(n){return Agn(KB(n,17))},gX(y1n,"PartitionPreprocessor/lambda$2$Type",1577),lAn(1578,1,hVn,ki),EWn.td=function(n){xun(KB(n,17))},gX(y1n,"PartitionPreprocessor/lambda$3$Type",1578),lAn(1579,1,YZn,rf),EWn.pf=function(n,t){cKn(KB(n,37),t)},gX(y1n,"PortListSorter",1579),lAn(1580,1,{},ji),EWn.Kb=function(n){return qsn(),KB(n,11).e},gX(y1n,"PortListSorter/lambda$0$Type",1580),lAn(1581,1,{},Ei),EWn.Kb=function(n){return qsn(),KB(n,11).g},gX(y1n,"PortListSorter/lambda$1$Type",1581),lAn(1582,1,EJn,Ti),EWn.ue=function(n,t){return j4(KB(n,11),KB(t,11))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(y1n,"PortListSorter/lambda$2$Type",1582),lAn(1583,1,EJn,Mi),EWn.ue=function(n,t){return Cyn(KB(n,11),KB(t,11))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(y1n,"PortListSorter/lambda$3$Type",1583),lAn(1584,1,EJn,Si),EWn.ue=function(n,t){return YKn(KB(n,11),KB(t,11))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(y1n,"PortListSorter/lambda$4$Type",1584),lAn(1585,1,YZn,Pi),EWn.pf=function(n,t){UAn(KB(n,37),t)},gX(y1n,"PortSideProcessor",1585),lAn(1586,1,YZn,Ci),EWn.pf=function(n,t){PRn(KB(n,37),t)},gX(y1n,"ReversedEdgeRestorer",1586),lAn(1591,1,YZn,rm),EWn.pf=function(n,t){Vmn(this,KB(n,37),t)},gX(y1n,"SelfLoopPortRestorer",1591),lAn(1592,1,{},Ii),EWn.Kb=function(n){return new xq(null,new l1(KB(n,29).a,16))},gX(y1n,"SelfLoopPortRestorer/lambda$0$Type",1592),lAn(1593,1,NVn,Oi),EWn.Mb=function(n){return KB(n,10).k==(cSn(),Sut)},gX(y1n,"SelfLoopPortRestorer/lambda$1$Type",1593),lAn(1594,1,NVn,Ai),EWn.Mb=function(n){return Ax(KB(n,10),(oWn(),Clt))},gX(y1n,"SelfLoopPortRestorer/lambda$2$Type",1594),lAn(1595,1,{},$i),EWn.Kb=function(n){return KB(pMn(KB(n,10),(oWn(),Clt)),403)},gX(y1n,"SelfLoopPortRestorer/lambda$3$Type",1595),lAn(1596,1,hVn,fd),EWn.td=function(n){TSn(this.a,KB(n,403))},gX(y1n,"SelfLoopPortRestorer/lambda$4$Type",1596),lAn(794,1,hVn,Li),EWn.td=function(n){YSn(KB(n,101))},gX(y1n,"SelfLoopPortRestorer/lambda$5$Type",794),lAn(1597,1,YZn,Ni),EWn.pf=function(n,t){Apn(KB(n,37),t)},gX(y1n,"SelfLoopPostProcessor",1597),lAn(1598,1,{},xi),EWn.Kb=function(n){return new xq(null,new l1(KB(n,29).a,16))},gX(y1n,"SelfLoopPostProcessor/lambda$0$Type",1598),lAn(1599,1,NVn,Di),EWn.Mb=function(n){return KB(n,10).k==(cSn(),Sut)},gX(y1n,"SelfLoopPostProcessor/lambda$1$Type",1599),lAn(1600,1,NVn,Ri),EWn.Mb=function(n){return Ax(KB(n,10),(oWn(),Clt))},gX(y1n,"SelfLoopPostProcessor/lambda$2$Type",1600),lAn(1601,1,hVn,_i),EWn.td=function(n){Ajn(KB(n,10))},gX(y1n,"SelfLoopPostProcessor/lambda$3$Type",1601),lAn(1602,1,{},Ki),EWn.Kb=function(n){return new xq(null,new l1(KB(n,101).f,1))},gX(y1n,"SelfLoopPostProcessor/lambda$4$Type",1602),lAn(1603,1,hVn,ld),EWn.td=function(n){r3(this.a,KB(n,409))},gX(y1n,"SelfLoopPostProcessor/lambda$5$Type",1603),lAn(1604,1,NVn,Fi),EWn.Mb=function(n){return!!KB(n,101).i},gX(y1n,"SelfLoopPostProcessor/lambda$6$Type",1604),lAn(1605,1,hVn,bd),EWn.td=function(n){jy(this.a,KB(n,101))},gX(y1n,"SelfLoopPostProcessor/lambda$7$Type",1605),lAn(1587,1,YZn,Bi),EWn.pf=function(n,t){J$n(KB(n,37),t)},gX(y1n,"SelfLoopPreProcessor",1587),lAn(1588,1,{},Hi),EWn.Kb=function(n){return new xq(null,new l1(KB(n,101).f,1))},gX(y1n,"SelfLoopPreProcessor/lambda$0$Type",1588),lAn(1589,1,{},qi),EWn.Kb=function(n){return KB(n,409).a},gX(y1n,"SelfLoopPreProcessor/lambda$1$Type",1589),lAn(1590,1,hVn,Gi),EWn.td=function(n){B$(KB(n,17))},gX(y1n,"SelfLoopPreProcessor/lambda$2$Type",1590),lAn(1606,1,YZn,LR),EWn.pf=function(n,t){uSn(this,KB(n,37),t)},gX(y1n,"SelfLoopRouter",1606),lAn(1607,1,{},zi),EWn.Kb=function(n){return new xq(null,new l1(KB(n,29).a,16))},gX(y1n,"SelfLoopRouter/lambda$0$Type",1607),lAn(1608,1,NVn,Ui),EWn.Mb=function(n){return KB(n,10).k==(cSn(),Sut)},gX(y1n,"SelfLoopRouter/lambda$1$Type",1608),lAn(1609,1,NVn,Xi),EWn.Mb=function(n){return Ax(KB(n,10),(oWn(),Clt))},gX(y1n,"SelfLoopRouter/lambda$2$Type",1609),lAn(1610,1,{},Wi),EWn.Kb=function(n){return KB(pMn(KB(n,10),(oWn(),Clt)),403)},gX(y1n,"SelfLoopRouter/lambda$3$Type",1610),lAn(1611,1,hVn,nP),EWn.td=function(n){WV(this.a,this.b,KB(n,403))},gX(y1n,"SelfLoopRouter/lambda$4$Type",1611),lAn(1612,1,YZn,Vi),EWn.pf=function(n,t){sxn(KB(n,37),t)},gX(y1n,"SemiInteractiveCrossMinProcessor",1612),lAn(1613,1,NVn,Qi),EWn.Mb=function(n){return KB(n,10).k==(cSn(),Sut)},gX(y1n,"SemiInteractiveCrossMinProcessor/lambda$0$Type",1613),lAn(1614,1,NVn,Ji),EWn.Mb=function(n){return Hq(KB(n,10))._b((FXn(),upt))},gX(y1n,"SemiInteractiveCrossMinProcessor/lambda$1$Type",1614),lAn(1615,1,EJn,Yi),EWn.ue=function(n,t){return brn(KB(n,10),KB(t,10))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(y1n,"SemiInteractiveCrossMinProcessor/lambda$2$Type",1615),lAn(1616,1,{},Zi),EWn.Ce=function(n,t){return zQ(KB(n,10),KB(t,10))},gX(y1n,"SemiInteractiveCrossMinProcessor/lambda$3$Type",1616),lAn(1618,1,YZn,nr),EWn.pf=function(n,t){EBn(KB(n,37),t)},gX(y1n,"SortByInputModelProcessor",1618),lAn(1619,1,NVn,tr),EWn.Mb=function(n){return 0!=KB(n,11).g.c.length},gX(y1n,"SortByInputModelProcessor/lambda$0$Type",1619),lAn(1620,1,hVn,wd),EWn.td=function(n){sPn(this.a,KB(n,11))},gX(y1n,"SortByInputModelProcessor/lambda$1$Type",1620),lAn(1693,803,{},wrn),EWn.Me=function(n){var t,e,i,r;switch(this.c=n,this.a.g){case 2:t=new $p,QT(IV(new xq(null,new l1(this.c.a.b,16)),new dr),new cP(this,t)),dCn(this,new rr),Ctn(t,new cr),t.c=L8(Int,FWn,1,0,5,1),QT(IV(new xq(null,new l1(this.c.a.b,16)),new ar),new gd(t)),dCn(this,new ur),Ctn(t,new or),t.c=L8(Int,FWn,1,0,5,1),e=y$(tcn(AV(new xq(null,new l1(this.c.a.b,16)),new pd(this))),new sr),QT(new xq(null,new l1(this.c.a.a,16)),new eP(e,t)),dCn(this,new fr),Ctn(t,new er),t.c=L8(Int,FWn,1,0,5,1);break;case 3:i=new $p,dCn(this,new ir),r=y$(tcn(AV(new xq(null,new l1(this.c.a.b,16)),new dd(this))),new hr),QT(IV(new xq(null,new l1(this.c.a.b,16)),new lr),new rP(r,i)),dCn(this,new br),Ctn(i,new wr),i.c=L8(Int,FWn,1,0,5,1);break;default:throw Fp(new mv)}},EWn.b=0,gX(I1n,"EdgeAwareScanlineConstraintCalculation",1693),lAn(1694,1,BJn,ir),EWn.Lb=function(n){return iL(KB(n,57).g,145)},EWn.Fb=function(n){return this===n},EWn.Mb=function(n){return iL(KB(n,57).g,145)},gX(I1n,"EdgeAwareScanlineConstraintCalculation/lambda$0$Type",1694),lAn(1695,1,{},dd),EWn.Fe=function(n){return HCn(this.a,KB(n,57))},gX(I1n,"EdgeAwareScanlineConstraintCalculation/lambda$1$Type",1695),lAn(1703,1,xVn,tP),EWn.Vd=function(){_kn(this.a,this.b,-1)},EWn.b=0,gX(I1n,"EdgeAwareScanlineConstraintCalculation/lambda$10$Type",1703),lAn(1705,1,BJn,rr),EWn.Lb=function(n){return iL(KB(n,57).g,145)},EWn.Fb=function(n){return this===n},EWn.Mb=function(n){return iL(KB(n,57).g,145)},gX(I1n,"EdgeAwareScanlineConstraintCalculation/lambda$11$Type",1705),lAn(1706,1,hVn,cr),EWn.td=function(n){KB(n,365).Vd()},gX(I1n,"EdgeAwareScanlineConstraintCalculation/lambda$12$Type",1706),lAn(1707,1,NVn,ar),EWn.Mb=function(n){return iL(KB(n,57).g,10)},gX(I1n,"EdgeAwareScanlineConstraintCalculation/lambda$13$Type",1707),lAn(1709,1,hVn,gd),EWn.td=function(n){kbn(this.a,KB(n,57))},gX(I1n,"EdgeAwareScanlineConstraintCalculation/lambda$14$Type",1709),lAn(1708,1,xVn,hP),EWn.Vd=function(){_kn(this.b,this.a,-1)},EWn.a=0,gX(I1n,"EdgeAwareScanlineConstraintCalculation/lambda$15$Type",1708),lAn(1710,1,BJn,ur),EWn.Lb=function(n){return iL(KB(n,57).g,10)},EWn.Fb=function(n){return this===n},EWn.Mb=function(n){return iL(KB(n,57).g,10)},gX(I1n,"EdgeAwareScanlineConstraintCalculation/lambda$16$Type",1710),lAn(1711,1,hVn,or),EWn.td=function(n){KB(n,365).Vd()},gX(I1n,"EdgeAwareScanlineConstraintCalculation/lambda$17$Type",1711),lAn(1712,1,{},pd),EWn.Fe=function(n){return qCn(this.a,KB(n,57))},gX(I1n,"EdgeAwareScanlineConstraintCalculation/lambda$18$Type",1712),lAn(1713,1,{},sr),EWn.De=function(){return 0},gX(I1n,"EdgeAwareScanlineConstraintCalculation/lambda$19$Type",1713),lAn(1696,1,{},hr),EWn.De=function(){return 0},gX(I1n,"EdgeAwareScanlineConstraintCalculation/lambda$2$Type",1696),lAn(1715,1,hVn,eP),EWn.td=function(n){FG(this.a,this.b,KB(n,307))},EWn.a=0,gX(I1n,"EdgeAwareScanlineConstraintCalculation/lambda$20$Type",1715),lAn(1714,1,xVn,iP),EWn.Vd=function(){XAn(this.a,this.b,-1)},EWn.b=0,gX(I1n,"EdgeAwareScanlineConstraintCalculation/lambda$21$Type",1714),lAn(1716,1,BJn,fr),EWn.Lb=function(n){return KB(n,57),!0},EWn.Fb=function(n){return this===n},EWn.Mb=function(n){return KB(n,57),!0},gX(I1n,"EdgeAwareScanlineConstraintCalculation/lambda$22$Type",1716),lAn(1717,1,hVn,er),EWn.td=function(n){KB(n,365).Vd()},gX(I1n,"EdgeAwareScanlineConstraintCalculation/lambda$23$Type",1717),lAn(1697,1,NVn,lr),EWn.Mb=function(n){return iL(KB(n,57).g,10)},gX(I1n,"EdgeAwareScanlineConstraintCalculation/lambda$3$Type",1697),lAn(1699,1,hVn,rP),EWn.td=function(n){BG(this.a,this.b,KB(n,57))},EWn.a=0,gX(I1n,"EdgeAwareScanlineConstraintCalculation/lambda$4$Type",1699),lAn(1698,1,xVn,fP),EWn.Vd=function(){_kn(this.b,this.a,-1)},EWn.a=0,gX(I1n,"EdgeAwareScanlineConstraintCalculation/lambda$5$Type",1698),lAn(1700,1,BJn,br),EWn.Lb=function(n){return KB(n,57),!0},EWn.Fb=function(n){return this===n},EWn.Mb=function(n){return KB(n,57),!0},gX(I1n,"EdgeAwareScanlineConstraintCalculation/lambda$6$Type",1700),lAn(1701,1,hVn,wr),EWn.td=function(n){KB(n,365).Vd()},gX(I1n,"EdgeAwareScanlineConstraintCalculation/lambda$7$Type",1701),lAn(1702,1,NVn,dr),EWn.Mb=function(n){return iL(KB(n,57).g,145)},gX(I1n,"EdgeAwareScanlineConstraintCalculation/lambda$8$Type",1702),lAn(1704,1,hVn,cP),EWn.td=function(n){jtn(this.a,this.b,KB(n,57))},gX(I1n,"EdgeAwareScanlineConstraintCalculation/lambda$9$Type",1704),lAn(1521,1,YZn,ax),EWn.pf=function(n,t){iqn(this,KB(n,37),t)},gX(I1n,"HorizontalGraphCompactor",1521),lAn(1522,1,{},vd),EWn.Oe=function(n,t){var e,i;return J7(n,t)?0:(e=s2(n),i=s2(t),e&&e.k==(cSn(),Eut)||i&&i.k==(cSn(),Eut)?0:GN(KB(pMn(this.a.a,(oWn(),Ilt)),304),e?e.k:(cSn(),Mut),i?i.k:(cSn(),Mut)))},EWn.Pe=function(n,t){var e,i;return J7(n,t)?1:(e=s2(n),i=s2(t),zN(KB(pMn(this.a.a,(oWn(),Ilt)),304),e?e.k:(cSn(),Mut),i?i.k:(cSn(),Mut)))},gX(I1n,"HorizontalGraphCompactor/1",1522),lAn(1523,1,{},gr),EWn.Ne=function(n,t){return EM(),0==n.a.i},gX(I1n,"HorizontalGraphCompactor/lambda$0$Type",1523),lAn(1524,1,{},md),EWn.Ne=function(n,t){return RQ(this.a,n,t)},gX(I1n,"HorizontalGraphCompactor/lambda$1$Type",1524),lAn(1664,1,{},P7),gX(I1n,"LGraphToCGraphTransformer",1664),lAn(1672,1,NVn,pr),EWn.Mb=function(n){return null!=n},gX(I1n,"LGraphToCGraphTransformer/0methodref$nonNull$Type",1672),lAn(1665,1,{},vr),EWn.Kb=function(n){return HK(),Kbn(pMn(KB(KB(n,57).g,10),(oWn(),blt)))},gX(I1n,"LGraphToCGraphTransformer/lambda$0$Type",1665),lAn(1666,1,{},mr),EWn.Kb=function(n){return HK(),pfn(KB(KB(n,57).g,145))},gX(I1n,"LGraphToCGraphTransformer/lambda$1$Type",1666),lAn(1675,1,NVn,yr),EWn.Mb=function(n){return HK(),iL(KB(n,57).g,10)},gX(I1n,"LGraphToCGraphTransformer/lambda$10$Type",1675),lAn(1676,1,hVn,kr),EWn.td=function(n){DQ(KB(n,57))},gX(I1n,"LGraphToCGraphTransformer/lambda$11$Type",1676),lAn(1677,1,NVn,jr),EWn.Mb=function(n){return HK(),iL(KB(n,57).g,145)},gX(I1n,"LGraphToCGraphTransformer/lambda$12$Type",1677),lAn(1681,1,hVn,Er),EWn.td=function(n){gfn(KB(n,57))},gX(I1n,"LGraphToCGraphTransformer/lambda$13$Type",1681),lAn(1678,1,hVn,yd),EWn.td=function(n){cA(this.a,KB(n,8))},EWn.a=0,gX(I1n,"LGraphToCGraphTransformer/lambda$14$Type",1678),lAn(1679,1,hVn,kd),EWn.td=function(n){uA(this.a,KB(n,110))},EWn.a=0,gX(I1n,"LGraphToCGraphTransformer/lambda$15$Type",1679),lAn(1680,1,hVn,jd),EWn.td=function(n){aA(this.a,KB(n,8))},EWn.a=0,gX(I1n,"LGraphToCGraphTransformer/lambda$16$Type",1680),lAn(1682,1,{},Tr),EWn.Kb=function(n){return HK(),new xq(null,new qU(new az(JL(hbn(KB(n,10)).a.Kc(),new h))))},gX(I1n,"LGraphToCGraphTransformer/lambda$17$Type",1682),lAn(1683,1,NVn,Mr),EWn.Mb=function(n){return HK(),f5(KB(n,17))},gX(I1n,"LGraphToCGraphTransformer/lambda$18$Type",1683),lAn(1684,1,hVn,Ed),EWn.td=function(n){Tnn(this.a,KB(n,17))},gX(I1n,"LGraphToCGraphTransformer/lambda$19$Type",1684),lAn(1668,1,hVn,Td),EWn.td=function(n){h0(this.a,KB(n,145))},gX(I1n,"LGraphToCGraphTransformer/lambda$2$Type",1668),lAn(1685,1,{},Sr),EWn.Kb=function(n){return HK(),new xq(null,new l1(KB(n,29).a,16))},gX(I1n,"LGraphToCGraphTransformer/lambda$20$Type",1685),lAn(1686,1,{},Pr),EWn.Kb=function(n){return HK(),new xq(null,new qU(new az(JL(hbn(KB(n,10)).a.Kc(),new h))))},gX(I1n,"LGraphToCGraphTransformer/lambda$21$Type",1686),lAn(1687,1,{},Cr),EWn.Kb=function(n){return HK(),KB(pMn(KB(n,17),(oWn(),$lt)),15)},gX(I1n,"LGraphToCGraphTransformer/lambda$22$Type",1687),lAn(1688,1,NVn,Ir),EWn.Mb=function(n){return ZN(KB(n,15))},gX(I1n,"LGraphToCGraphTransformer/lambda$23$Type",1688),lAn(1689,1,hVn,Md),EWn.td=function(n){MCn(this.a,KB(n,15))},gX(I1n,"LGraphToCGraphTransformer/lambda$24$Type",1689),lAn(1667,1,hVn,aP),EWn.td=function(n){F3(this.a,this.b,KB(n,145))},gX(I1n,"LGraphToCGraphTransformer/lambda$3$Type",1667),lAn(1669,1,{},Or),EWn.Kb=function(n){return HK(),new xq(null,new l1(KB(n,29).a,16))},gX(I1n,"LGraphToCGraphTransformer/lambda$4$Type",1669),lAn(1670,1,{},Ar),EWn.Kb=function(n){return HK(),new xq(null,new qU(new az(JL(hbn(KB(n,10)).a.Kc(),new h))))},gX(I1n,"LGraphToCGraphTransformer/lambda$5$Type",1670),lAn(1671,1,{},$r),EWn.Kb=function(n){return HK(),KB(pMn(KB(n,17),(oWn(),$lt)),15)},gX(I1n,"LGraphToCGraphTransformer/lambda$6$Type",1671),lAn(1673,1,hVn,Sd),EWn.td=function(n){DIn(this.a,KB(n,15))},gX(I1n,"LGraphToCGraphTransformer/lambda$8$Type",1673),lAn(1674,1,hVn,uP),EWn.td=function(n){L$(this.a,this.b,KB(n,145))},gX(I1n,"LGraphToCGraphTransformer/lambda$9$Type",1674),lAn(1663,1,{},Lr),EWn.Le=function(n){var t,e,i,r,c;for(this.a=n,this.d=new _v,this.c=L8(Bit,FWn,121,this.a.a.a.c.length,0,1),this.b=0,e=new Ub(this.a.a.a);e.a<e.c.c.length;)(t=KB(Y1(e),307)).d=this.b,c=IN(aM(new Bv,t),this.d),this.c[this.b]=c,++this.b;for(QGn(this),IUn(this),JLn(this),U_n(KK(this.d),new zm),r=new Ub(this.a.a.b);r.a<r.c.c.length;)(i=KB(Y1(r),57)).d.c=this.c[i.a.d].e+i.b.a},EWn.b=0,gX(I1n,"NetworkSimplexCompaction",1663),lAn(145,1,{35:1,145:1},MBn),EWn.wd=function(n){return Ann(this,KB(n,145))},EWn.Ib=function(){return pfn(this)},gX(I1n,"VerticalSegment",145),lAn(827,1,{},qEn),EWn.c=0,EWn.e=0,EWn.i=0,gX(O1n,"BetweenLayerEdgeTwoNodeCrossingsCounter",827),lAn(663,1,{663:1},mcn),EWn.Ib=function(){return"AdjacencyList [node="+this.d+", adjacencies= "+this.a+"]"},EWn.b=0,EWn.c=0,EWn.f=0,gX(O1n,"BetweenLayerEdgeTwoNodeCrossingsCounter/AdjacencyList",663),lAn(287,1,{35:1,287:1},Hx),EWn.wd=function(n){return rq(this,KB(n,287))},EWn.Ib=function(){return"Adjacency [position="+this.c+", cardinality="+this.a+", currentCardinality="+this.b+"]"},EWn.a=0,EWn.b=0,EWn.c=0,gX(O1n,"BetweenLayerEdgeTwoNodeCrossingsCounter/AdjacencyList/Adjacency",287),lAn(1929,1,{},JSn),EWn.b=0,EWn.e=!1,gX(O1n,"CrossingMatrixFiller",1929);var gst,pst,vst,mst,yst=fq(A1n,"IInitializable");lAn(1804,1,$1n,gP),EWn.Nf=function(n,t,e,i,r,c){},EWn.Pf=function(n,t,e){},EWn.Lf=function(){return this.c!=(ain(),Imt)},EWn.Mf=function(){this.e=L8(CNt,oQn,25,this.d,15,1)},EWn.Of=function(n,t){t[n][0].c.p=n},EWn.Qf=function(n,t,e,i){++this.d},EWn.Rf=function(){return!0},EWn.Sf=function(n,t,e,i){return Vhn(this,n,t,e),J4(this,t)},EWn.Tf=function(n,t){var e;return Vhn(this,n,e=oj(t,n.length),t),fon(this,e)},EWn.d=0,gX(O1n,"GreedySwitchHeuristic",1804),lAn(1930,1,{},hG),EWn.b=0,EWn.d=0,gX(O1n,"NorthSouthEdgeNeighbouringNodeCrossingsCounter",1930),lAn(1917,1,{},cRn),EWn.a=!1,gX(O1n,"SwitchDecider",1917),lAn(101,1,{101:1},dPn),EWn.a=null,EWn.c=null,EWn.i=null,gX(L1n,"SelfHyperLoop",101),lAn(1916,1,{},npn),EWn.c=0,EWn.e=0,gX(L1n,"SelfHyperLoopLabels",1916),lAn(411,22,{3:1,35:1,22:1,411:1},pP);var kst,jst,Est,Tst,Mst,Sst,Pst=Ken(L1n,"SelfHyperLoopLabels/Alignment",411,Gnt,e3,GK);lAn(409,1,{409:1},y6),gX(L1n,"SelfLoopEdge",409),lAn(403,1,{403:1},Cgn),EWn.a=!1,gX(L1n,"SelfLoopHolder",403),lAn(1724,1,NVn,qr),EWn.Mb=function(n){return f5(KB(n,17))},gX(L1n,"SelfLoopHolder/lambda$0$Type",1724),lAn(113,1,{113:1},tpn),EWn.a=!1,EWn.c=!1,gX(L1n,"SelfLoopPort",113),lAn(1792,1,NVn,Gr),EWn.Mb=function(n){return f5(KB(n,17))},gX(L1n,"SelfLoopPort/lambda$0$Type",1792),lAn(363,22,{3:1,35:1,22:1,363:1},vP);var Cst,Ist,Ost,Ast,$st,Lst,Nst,xst,Dst=Ken(L1n,"SelfLoopType",363,Gnt,L5,VK);lAn(1732,1,{},cf),gX(N1n,"PortRestorer",1732),lAn(361,22,{3:1,35:1,22:1,361:1},mP);var Rst,_st,Kst,Fst,Bst,Hst,qst,Gst,zst,Ust=Ken(N1n,"PortRestorer/PortSideArea",361,Gnt,M1,QK);lAn(1733,1,{},Wr),EWn.Kb=function(n){return RMn(),KB(n,15).Oc()},gX(N1n,"PortRestorer/lambda$0$Type",1733),lAn(1734,1,hVn,Vr),EWn.td=function(n){RMn(),KB(n,113).c=!1},gX(N1n,"PortRestorer/lambda$1$Type",1734),lAn(1743,1,NVn,Qr),EWn.Mb=function(n){return RMn(),KB(n,11).j==(mUn(),SIt)},gX(N1n,"PortRestorer/lambda$10$Type",1743),lAn(1744,1,{},Jr),EWn.Kb=function(n){return RMn(),KB(n,113).d},gX(N1n,"PortRestorer/lambda$11$Type",1744),lAn(1745,1,hVn,Pd),EWn.td=function(n){$j(this.a,KB(n,11))},gX(N1n,"PortRestorer/lambda$12$Type",1745),lAn(1735,1,hVn,Cd),EWn.td=function(n){Ix(this.a,KB(n,101))},gX(N1n,"PortRestorer/lambda$2$Type",1735),lAn(1736,1,EJn,Yr),EWn.ue=function(n,t){return aen(KB(n,113),KB(t,113))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(N1n,"PortRestorer/lambda$3$Type",1736),lAn(1737,1,NVn,Zr),EWn.Mb=function(n){return RMn(),KB(n,113).c},gX(N1n,"PortRestorer/lambda$4$Type",1737),lAn(1738,1,NVn,xr),EWn.Mb=function(n){return Icn(KB(n,11))},gX(N1n,"PortRestorer/lambda$5$Type",1738),lAn(1739,1,NVn,Nr),EWn.Mb=function(n){return RMn(),KB(n,11).j==(mUn(),uIt)},gX(N1n,"PortRestorer/lambda$6$Type",1739),lAn(1740,1,NVn,Dr),EWn.Mb=function(n){return RMn(),KB(n,11).j==(mUn(),aIt)},gX(N1n,"PortRestorer/lambda$7$Type",1740),lAn(1741,1,NVn,Rr),EWn.Mb=function(n){return i3(KB(n,11))},gX(N1n,"PortRestorer/lambda$8$Type",1741),lAn(1742,1,NVn,_r),EWn.Mb=function(n){return RMn(),KB(n,11).j==(mUn(),TIt)},gX(N1n,"PortRestorer/lambda$9$Type",1742),lAn(270,22,{3:1,35:1,22:1,270:1},UV);var Xst,Wst,Vst,Qst,Jst,Yst,Zst,nht,tht=Ken(N1n,"PortSideAssigner/Target",270,Gnt,_tn,zK);lAn(1725,1,{},Kr),EWn.Kb=function(n){return IV(new xq(null,new l1(KB(n,101).j,16)),new Xr)},gX(N1n,"PortSideAssigner/lambda$1$Type",1725),lAn(1726,1,{},Fr),EWn.Kb=function(n){return KB(n,113).d},gX(N1n,"PortSideAssigner/lambda$2$Type",1726),lAn(1727,1,hVn,Br),EWn.td=function(n){BCn(KB(n,11),(mUn(),uIt))},gX(N1n,"PortSideAssigner/lambda$3$Type",1727),lAn(1728,1,{},Hr),EWn.Kb=function(n){return KB(n,113).d},gX(N1n,"PortSideAssigner/lambda$4$Type",1728),lAn(1729,1,hVn,Id),EWn.td=function(n){Zp(this.a,KB(n,11))},gX(N1n,"PortSideAssigner/lambda$5$Type",1729),lAn(1730,1,EJn,zr),EWn.ue=function(n,t){return EW(KB(n,101),KB(t,101))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(N1n,"PortSideAssigner/lambda$6$Type",1730),lAn(1731,1,EJn,Ur),EWn.ue=function(n,t){return aH(KB(n,113),KB(t,113))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(N1n,"PortSideAssigner/lambda$7$Type",1731),lAn(805,1,NVn,Xr),EWn.Mb=function(n){return KB(n,113).c},gX(N1n,"PortSideAssigner/lambda$8$Type",805),lAn(2009,1,{}),gX(x1n,"AbstractSelfLoopRouter",2009),lAn(1750,1,EJn,nc),EWn.ue=function(n,t){return P_(KB(n,101),KB(t,101))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(x1n,fYn,1750),lAn(1751,1,EJn,tc),EWn.ue=function(n,t){return S_(KB(n,101),KB(t,101))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(x1n,lYn,1751),lAn(1793,2009,{},ec),EWn.Uf=function(n,t,e){return e},gX(x1n,"OrthogonalSelfLoopRouter",1793),lAn(1795,1,hVn,lP),EWn.td=function(n){dgn(this.b,this.a,KB(n,8))},gX(x1n,"OrthogonalSelfLoopRouter/lambda$0$Type",1795),lAn(1794,1793,{},ic),EWn.Uf=function(n,t,e){var i,r;return Dx(e,0,GR(K$((i=n.c.d).n),i.a)),NH(e,GR(K$((r=n.d.d).n),r.a)),kKn(e)},gX(x1n,"PolylineSelfLoopRouter",1794),lAn(1746,1,{},Yh),EWn.a=null,gX(x1n,"RoutingDirector",1746),lAn(1747,1,EJn,rc),EWn.ue=function(n,t){return lH(KB(n,113),KB(t,113))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(x1n,"RoutingDirector/lambda$0$Type",1747),lAn(1748,1,{},cc),EWn.Kb=function(n){return TM(),KB(n,101).j},gX(x1n,"RoutingDirector/lambda$1$Type",1748),lAn(1749,1,hVn,ac),EWn.td=function(n){TM(),KB(n,15).ad(Wst)},gX(x1n,"RoutingDirector/lambda$2$Type",1749),lAn(1752,1,{},uc),gX(x1n,"RoutingSlotAssigner",1752),lAn(1753,1,NVn,Od),EWn.Mb=function(n){return SC(this.a,KB(n,101))},gX(x1n,"RoutingSlotAssigner/lambda$0$Type",1753),lAn(1754,1,EJn,Ad),EWn.ue=function(n,t){return Gq(this.a,KB(n,101),KB(t,101))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(x1n,"RoutingSlotAssigner/lambda$1$Type",1754),lAn(1796,1793,{},oc),EWn.Uf=function(n,t,e){var i,r,c,a;return i=Hy(ED(wpn(n.b.g.b,(FXn(),ypt)))),Y$n(n,t,e,a=new Gx(Mun(Hk(MMt,1),uVn,8,0,[(c=n.c.d,GR(new lA(c.n),c.a))])),i),NH(a,GR(new lA((r=n.d.d).n),r.a)),_vn(new aBn(a))},gX(x1n,"SplineSelfLoopRouter",1796),lAn(578,1,EJn,Hrn,mH),EWn.ue=function(n,t){return sXn(this,KB(n,10),KB(t,10))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(D1n,"ModelOrderNodeComparator",578),lAn(1755,1,NVn,sc),EWn.Mb=function(n){return 0!=KB(n,11).e.c.length},gX(D1n,"ModelOrderNodeComparator/lambda$0$Type",1755),lAn(1756,1,{},hc),EWn.Kb=function(n){return KB(Lq(KB(n,11).e,0),17).c},gX(D1n,"ModelOrderNodeComparator/lambda$1$Type",1756),lAn(1757,1,NVn,fc),EWn.Mb=function(n){return 0!=KB(n,11).e.c.length},gX(D1n,"ModelOrderNodeComparator/lambda$2$Type",1757),lAn(1758,1,{},lc),EWn.Kb=function(n){return KB(Lq(KB(n,11).e,0),17).c},gX(D1n,"ModelOrderNodeComparator/lambda$3$Type",1758),lAn(1759,1,NVn,bc),EWn.Mb=function(n){return 0!=KB(n,11).e.c.length},gX(D1n,"ModelOrderNodeComparator/lambda$4$Type",1759),lAn(806,1,EJn,C7,dP),EWn.ue=function(n,t){return $z(this,n,t)},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(D1n,"ModelOrderPortComparator",806),lAn(801,1,{},wc),EWn.Vf=function(n,t){var e,r,c,a;for(c=MSn(t),e=new $p,a=t.f/c,r=1;r<c;++r)UB(e,tln(bG(san(i.Math.round(r*a)))));return e},EWn.Wf=function(){return!1},gX(R1n,"ARDCutIndexHeuristic",801),lAn(1479,1,YZn,dc),EWn.pf=function(n,t){a_n(KB(n,37),t)},gX(R1n,"BreakingPointInserter",1479),lAn(305,1,{305:1},g3),EWn.Ib=function(){var n;return(n=new Sk).a+="BPInfo[",n.a+="\n\tstart=",cO(n,this.i),n.a+="\n\tend=",cO(n,this.a),n.a+="\n\tnodeStartEdge=",cO(n,this.e),n.a+="\n\tstartEndEdge=",cO(n,this.j),n.a+="\n\toriginalEdge=",cO(n,this.f),n.a+="\n\tstartInLayerDummy=",cO(n,this.k),n.a+="\n\tstartInLayerEdge=",cO(n,this.n),n.a+="\n\tendInLayerDummy=",cO(n,this.b),n.a+="\n\tendInLayerEdge=",cO(n,this.c),n.a},gX(R1n,"BreakingPointInserter/BPInfo",305),lAn(652,1,{652:1},Fd),EWn.a=!1,EWn.b=0,EWn.c=0,gX(R1n,"BreakingPointInserter/Cut",652),lAn(1480,1,YZn,gc),EWn.pf=function(n,t){pLn(KB(n,37),t)},gX(R1n,"BreakingPointProcessor",1480),lAn(1481,1,NVn,pc),EWn.Mb=function(n){return Qnn(KB(n,10))},gX(R1n,"BreakingPointProcessor/0methodref$isEnd$Type",1481),lAn(1482,1,NVn,vc),EWn.Mb=function(n){return Jnn(KB(n,10))},gX(R1n,"BreakingPointProcessor/1methodref$isStart$Type",1482),lAn(1483,1,YZn,mc),EWn.pf=function(n,t){eNn(this,KB(n,37),t)},gX(R1n,"BreakingPointRemover",1483),lAn(1484,1,hVn,yc),EWn.td=function(n){KB(n,128).k=!0},gX(R1n,"BreakingPointRemover/lambda$0$Type",1484),lAn(797,1,{},EAn),EWn.b=0,EWn.e=0,EWn.f=0,EWn.j=0,gX(R1n,"GraphStats",797),lAn(798,1,{},kc),EWn.Ce=function(n,t){return i.Math.max(Hy(ED(n)),Hy(ED(t)))},gX(R1n,"GraphStats/0methodref$max$Type",798),lAn(799,1,{},jc),EWn.Ce=function(n,t){return i.Math.max(Hy(ED(n)),Hy(ED(t)))},gX(R1n,"GraphStats/2methodref$max$Type",799),lAn(1660,1,{},Ec),EWn.Ce=function(n,t){return gB(ED(n),ED(t))},gX(R1n,"GraphStats/lambda$1$Type",1660),lAn(1661,1,{},$d),EWn.Kb=function(n){return lpn(this.a,KB(n,29))},gX(R1n,"GraphStats/lambda$2$Type",1661),lAn(1662,1,{},Ld),EWn.Kb=function(n){return XLn(this.a,KB(n,29))},gX(R1n,"GraphStats/lambda$6$Type",1662),lAn(800,1,{},Tc),EWn.Vf=function(n,t){return KB(pMn(n,(FXn(),Rpt)),15)||(TQ(),TQ(),uet)},EWn.Wf=function(){return!1},gX(R1n,"ICutIndexCalculator/ManualCutIndexCalculator",800),lAn(802,1,{},Mc),EWn.Vf=function(n,t){var e,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k;for(null==t.n&&Nmn(t),k=t.n,null==t.d&&Nmn(t),s=t.d,(y=L8($Nt,BQn,25,k.length,15,1))[0]=k[0],v=k[0],h=1;h<k.length;h++)y[h]=y[h-1]+k[h],v+=k[h];for(c=MSn(t)-1,u=KB(pMn(n,(FXn(),_pt)),19).a,r=DQn,e=new $p,b=i.Math.max(0,c-u);b<=i.Math.min(t.f-1,c+u);b++){if(g=v/(b+1),p=0,f=1,a=new $p,m=DQn,l=0,o=0,d=s[0],0==b)m=v,null==t.g&&(t.g=zrn(t,new jc)),o=Hy(t.g);else{for(;f<t.f;)y[f-1]-p>=g&&(UB(a,tln(f)),m=i.Math.max(m,y[f-1]-l),o+=d,p+=y[f-1]-p,l=y[f-1],d=s[f]),d=i.Math.max(d,s[f]),++f;o+=d}(w=i.Math.min(1/m,1/t.b/o))>r&&(r=w,e=a)}return e},EWn.Wf=function(){return!1},gX(R1n,"MSDCutIndexHeuristic",802),lAn(1617,1,YZn,Sc),EWn.pf=function(n,t){fBn(KB(n,37),t)},gX(R1n,"SingleEdgeGraphWrapper",1617),lAn(227,22,{3:1,35:1,22:1,227:1},yP);var eht,iht,rht,cht=Ken(_1n,"CenterEdgeLabelPlacementStrategy",227,Gnt,J8,UK);lAn(422,22,{3:1,35:1,22:1,422:1},kP);var aht,uht,oht,sht,hht=Ken(_1n,"ConstraintCalculationStrategy",422,Gnt,HJ,XK);lAn(314,22,{3:1,35:1,22:1,314:1,246:1,234:1},jP),EWn.Kf=function(){return uIn(this)},EWn.Xf=function(){return uIn(this)};var fht,lht,bht,wht,dht=Ken(_1n,"CrossingMinimizationStrategy",314,Gnt,j1,WK);lAn(337,22,{3:1,35:1,22:1,337:1},EP);var ght,pht,vht,mht,yht,kht,jht=Ken(_1n,"CuttingStrategy",337,Gnt,E1,JK);lAn(335,22,{3:1,35:1,22:1,335:1,246:1,234:1},TP),EWn.Kf=function(){return xAn(this)},EWn.Xf=function(){return xAn(this)};var Eht,Tht,Mht,Sht=Ken(_1n,"CycleBreakingStrategy",335,Gnt,A5,YK);lAn(419,22,{3:1,35:1,22:1,419:1},MP);var Pht,Cht,Iht,Oht,Aht=Ken(_1n,"DirectionCongruency",419,Gnt,BJ,ZK);lAn(450,22,{3:1,35:1,22:1,450:1},SP);var $ht,Lht,Nht,xht,Dht,Rht,_ht,Kht=Ken(_1n,"EdgeConstraint",450,Gnt,T1,nF);lAn(276,22,{3:1,35:1,22:1,276:1},PP);var Fht,Bht,Hht,qht=Ken(_1n,"EdgeLabelSideSelection",276,Gnt,t9,tF);lAn(479,22,{3:1,35:1,22:1,479:1},CP);var Ght,zht,Uht,Xht,Wht,Vht,Qht,Jht=Ken(_1n,"EdgeStraighteningStrategy",479,Gnt,FJ,eF);lAn(274,22,{3:1,35:1,22:1,274:1},IP);var Yht,Zht,nft,tft,eft,ift,rft,cft=Ken(_1n,"FixedAlignment",274,Gnt,Z8,iF);lAn(275,22,{3:1,35:1,22:1,275:1},OP);var aft,uft,oft,sft,hft,fft,lft,bft,wft,dft,gft,pft=Ken(_1n,"GraphCompactionStrategy",275,Gnt,Y8,rF);lAn(256,22,{3:1,35:1,22:1,256:1},AP);var vft,mft,yft,kft,jft=Ken(_1n,"GraphProperties",256,Gnt,fcn,cF);lAn(292,22,{3:1,35:1,22:1,292:1},$P);var Eft,Tft,Mft,Sft,Pft=Ken(_1n,"GreedySwitchType",292,Gnt,P1,aF);lAn(303,22,{3:1,35:1,22:1,303:1},LP);var Cft,Ift,Oft,Aft=Ken(_1n,"InLayerConstraint",303,Gnt,S1,uF);lAn(420,22,{3:1,35:1,22:1,420:1},NP);var $ft,Lft,Nft,xft,Dft,Rft,_ft,Kft,Fft,Bft,Hft,qft,Gft,zft,Uft,Xft,Wft,Vft,Qft,Jft,Yft,Zft,nlt,tlt,elt,ilt,rlt,clt,alt,ult,olt,slt,hlt,flt,llt,blt,wlt,dlt,glt,plt,vlt,mlt,ylt,klt,jlt,Elt,Tlt,Mlt,Slt,Plt,Clt,Ilt,Olt,Alt,$lt,Llt,Nlt,xlt,Dlt,Rlt,_lt,Klt,Flt,Blt,Hlt=Ken(_1n,"InteractiveReferencePoint",420,Gnt,qJ,oF);lAn(163,22,{3:1,35:1,22:1,163:1},KP);var qlt,Glt,zlt,Ult,Xlt,Wlt,Vlt,Qlt,Jlt,Ylt,Zlt,nbt,tbt,ebt,ibt,rbt,cbt,abt,ubt,obt,sbt,hbt,fbt,lbt,bbt,wbt,dbt,gbt,pbt,vbt,mbt,ybt,kbt,jbt,Ebt,Tbt,Mbt,Sbt,Pbt,Cbt,Ibt,Obt,Abt,$bt,Lbt,Nbt,xbt,Dbt,Rbt,_bt,Kbt,Fbt,Bbt,Hbt,qbt,Gbt,zbt,Ubt,Xbt,Wbt,Vbt,Qbt,Jbt,Ybt,Zbt,nwt,twt,ewt,iwt,rwt,cwt,awt,uwt,owt,swt,hwt,fwt,lwt,bwt,wwt,dwt,gwt,pwt,vwt,mwt,ywt,kwt,jwt,Ewt,Twt,Mwt,Swt,Pwt,Cwt,Iwt,Owt,Awt,$wt,Lwt,Nwt,xwt,Dwt,Rwt,_wt,Kwt,Fwt,Bwt,Hwt,qwt,Gwt,zwt,Uwt,Xwt,Wwt,Vwt,Qwt,Jwt,Ywt,Zwt,ndt,tdt,edt,idt,rdt,cdt,adt,udt,odt,sdt,hdt,fdt,ldt,bdt,wdt,ddt,gdt,pdt,vdt,mdt,ydt,kdt,jdt,Edt,Tdt,Mdt,Sdt,Pdt,Cdt,Idt,Odt,Adt,$dt,Ldt,Ndt,xdt,Ddt,Rdt,_dt,Kdt,Fdt,Bdt,Hdt,qdt,Gdt,zdt,Udt,Xdt,Wdt,Vdt,Qdt,Jdt,Ydt,Zdt,ngt,tgt,egt,igt,rgt,cgt,agt,ugt,ogt,sgt,hgt,fgt,lgt,bgt,wgt,dgt,ggt,pgt,vgt,mgt,ygt,kgt,jgt,Egt,Tgt,Mgt,Sgt,Pgt,Cgt,Igt,Ogt,Agt,$gt,Lgt,Ngt,xgt,Dgt,Rgt,_gt,Kgt,Fgt,Bgt,Hgt,qgt,Ggt,zgt,Ugt,Xgt,Wgt,Vgt,Qgt,Jgt,Ygt,Zgt,npt,tpt,ept,ipt,rpt,cpt,apt,upt,opt,spt,hpt,fpt,lpt,bpt,wpt,dpt,gpt,ppt,vpt,mpt,ypt,kpt,jpt,Ept,Tpt,Mpt,Spt,Ppt,Cpt,Ipt,Opt,Apt,$pt,Lpt,Npt,xpt,Dpt,Rpt,_pt,Kpt,Fpt,Bpt,Hpt,qpt,Gpt,zpt,Upt,Xpt,Wpt,Vpt,Qpt,Jpt,Ypt,Zpt,nvt,tvt=Ken(_1n,"LayerConstraint",163,Gnt,N5,sF);lAn(848,1,WJn,of),EWn.Qe=function(n){Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,G1n),""),"Direction Congruency"),"Specifies how drawings of the same graph with different layout directions compare to each other: either a natural reading direction is preserved or the drawings are rotated versions of each other."),Mbt),(MPn(),wMt)),Aht),Yln((epn(),oMt))))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,z1n),""),"Feedback Edges"),"Whether feedback edges should be highlighted by routing around the nodes."),(oN(),!1)),lMt),mtt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,U1n),""),"Interactive Reference Point"),"Determines which point of a node is considered by interactive layout phases."),Wbt),wMt),Hlt),Yln(oMt)))),r2(n,U1n,n0n,Qbt),r2(n,U1n,h0n,Vbt),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,X1n),""),"Merge Edges"),"Edges that have no ports are merged so they touch the connected nodes at the same points. When this option is disabled, one port is created for each edge directly connected to a node. When it is enabled, all such incoming edges share an input port, and all outgoing edges share an output port."),!1),lMt),mtt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,W1n),""),"Merge Hierarchy-Crossing Edges"),"If hierarchical layout is active, hierarchy-crossing edges use as few hierarchical ports as possible. They are broken by the algorithm, with hierarchical ports inserted as required. Usually, one such port is created for each edge at each hierarchy crossing point. With this option set to true, we try to create as few hierarchical ports as possible in the process. In particular, all edges that form a hyperedge can share a port."),!0),lMt),mtt),Yln(oMt)))),Ibn(n,new fPn(Mj(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,V1n),""),"Allow Non-Flow Ports To Switch Sides"),"Specifies whether non-flow ports may switch sides if their node's port constraints are either FIXED_SIDE or FIXED_ORDER. A non-flow port is a port on a side that is not part of the currently configured layout flow. For instance, given a left-to-right layout direction, north and south ports would be considered non-flow ports. Further note that the underlying criterium whether to switch sides or not solely relies on the minimization of edge crossings. Hence, edge length and other aesthetics criteria are not addressed."),!1),lMt),mtt),Yln(sMt)),Mun(Hk(Wtt,1),uVn,2,6,["org.eclipse.elk.layered.northOrSouthPort"])))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,Q1n),""),"Port Sorting Strategy"),"Only relevant for nodes with FIXED_SIDE port constraints. Determines the way a node's ports are distributed on the sides of a node if their order is not prescribed. The option is set on parent nodes."),Lwt),wMt),qvt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,J1n),""),"Thoroughness"),"How much effort should be spent to produce a nice layout."),tln(7)),gMt),Itt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,Y1n),""),"Add Unnecessary Bendpoints"),"Adds bend points even if an edge does not change direction. If true, each long edge dummy will contribute a bend point to its edges and hierarchy-crossing edges will always get a bend point where they cross hierarchy boundaries. By default, bend points are only added where an edge changes direction."),!1),lMt),mtt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,Z1n),""),"Generate Position and Layer IDs"),"If enabled position id and layer id are generated, which are usually only used internally when setting the interactiveLayout option. This option should be specified on the root node."),!1),lMt),mtt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,n0n),"cycleBreaking"),"Cycle Breaking Strategy"),"Strategy for cycle breaking. Cycle breaking looks for cycles in the graph and determines which edges to reverse to break the cycles. Reversed edges will end up pointing to the opposite direction of regular edges (that is, reversed edges will point left if edges usually point right)."),Ebt),wMt),Sht),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,t0n),s2n),"Node Layering Strategy"),"Strategy for node layering."),fwt),wMt),avt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,e0n),s2n),"Layer Constraint"),"Determines a constraint on the placement of the node regarding the layering."),twt),wMt),tvt),Yln(uMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,i0n),s2n),"Layer Choice Constraint"),"Allows to set a constraint regarding the layer placement of a node. Let i be the value of teh constraint. Assumed the drawing has n layers and i < n. If set to i, it expresses that the node should be placed in i-th layer. Should i>=n be true then the node is placed in the last layer of the drawing. Note that this option is not part of any of ELK Layered's default configurations but is only evaluated as part of the `InteractiveLayeredGraphVisitor`, which must be applied manually or used via the `DiagramLayoutEngine."),tln(-1)),gMt),Itt),Yln(uMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,r0n),s2n),"Layer ID"),"Layer identifier that was calculated by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),tln(-1)),gMt),Itt),Yln(uMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,c0n),h2n),"Upper Bound On Width [MinWidth Layerer]"),"Defines a loose upper bound on the width of the MinWidth layerer. If set to '-1' multiple values are tested and the best result is selected."),tln(4)),gMt),Itt),Yln(oMt)))),r2(n,c0n,t0n,rwt),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,a0n),h2n),"Upper Layer Estimation Scaling Factor [MinWidth Layerer]"),"Multiplied with Upper Bound On Width for defining an upper bound on the width of layers which haven't been determined yet, but whose maximum width had been (roughly) estimated by the MinWidth algorithm. Compensates for too high estimations. If set to '-1' multiple values are tested and the best result is selected."),tln(2)),gMt),Itt),Yln(oMt)))),r2(n,a0n,t0n,awt),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,u0n),f2n),"Node Promotion Strategy"),"Reduces number of dummy nodes after layering phase (if possible)."),swt),wMt),Nvt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,o0n),f2n),"Max Node Promotion Iterations"),"Limits the number of iterations for node promotion."),tln(0)),gMt),Itt),Yln(oMt)))),r2(n,o0n,u0n,null),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,s0n),"layering.coffmanGraham"),"Layer Bound"),"The maximum number of nodes allowed per layer."),tln(NWn)),gMt),Itt),Yln(oMt)))),r2(n,s0n,t0n,Ybt),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,h0n),l2n),"Crossing Minimization Strategy"),"Strategy for crossing minimization."),kbt),wMt),dht),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,f0n),l2n),"Force Node Model Order"),"The node order given by the model does not change to produce a better layout. E.g. if node A is before node B in the model this is not changed during crossing minimization. This assumes that the node model order is already respected before crossing minimization. This can be achieved by setting considerModelOrder.strategy to NODES_AND_EDGES."),!1),lMt),mtt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,l0n),l2n),"Hierarchical Sweepiness"),"How likely it is to use cross-hierarchy (1) vs bottom-up (-1)."),.1),bMt),Mtt),Yln(oMt)))),r2(n,l0n,b2n,dbt),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,b0n),l2n),"Semi-Interactive Crossing Minimization"),"Preserves the order of nodes within a layer but still minimizes crossings between edges connecting long edge dummies. Derives the desired order from positions specified by the 'org.eclipse.elk.position' layout option. Requires a crossing minimization strategy that is able to process 'in-layer' constraints."),!1),lMt),mtt),Yln(oMt)))),r2(n,b0n,h0n,mbt),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,w0n),l2n),"Position Choice Constraint"),"Allows to set a constraint regarding the position placement of a node in a layer. Assumed the layer in which the node placed includes n other nodes and i < n. If set to i, it expresses that the node should be placed at the i-th position. Should i>=n be true then the node is placed at the last position in the layer. Note that this option is not part of any of ELK Layered's default configurations but is only evaluated as part of the `InteractiveLayeredGraphVisitor`, which must be applied manually or used via the `DiagramLayoutEngine."),tln(-1)),gMt),Itt),Yln(uMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,d0n),l2n),"Position ID"),"Position within a layer that was determined by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),tln(-1)),gMt),Itt),Yln(uMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,g0n),w2n),"Greedy Switch Activation Threshold"),"By default it is decided automatically if the greedy switch is activated or not. The decision is based on whether the size of the input graph (without dummy nodes) is smaller than the value of this option. A '0' enforces the activation."),tln(40)),gMt),Itt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,p0n),w2n),"Greedy Switch Crossing Minimization"),"Greedy Switch strategy for crossing minimization. The greedy switch heuristic is executed after the regular crossing minimization as a post-processor. Note that if 'hierarchyHandling' is set to 'INCLUDE_CHILDREN', the 'greedySwitchHierarchical.type' option must be used."),lbt),wMt),Pft),Yln(oMt)))),r2(n,p0n,h0n,bbt),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,v0n),"crossingMinimization.greedySwitchHierarchical"),"Greedy Switch Crossing Minimization (hierarchical)"),"Activates the greedy switch heuristic in case hierarchical layout is used. The differences to the non-hierarchical case (see 'greedySwitch.type') are: 1) greedy switch is inactive by default, 3) only the option value set on the node at which hierarchical layout starts is relevant, and 2) if it's activated by the user, it properly addresses hierarchy-crossing edges."),obt),wMt),Pft),Yln(oMt)))),r2(n,v0n,h0n,sbt),r2(n,v0n,b2n,hbt),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,m0n),d2n),"Node Placement Strategy"),"Strategy for node placement."),Awt),wMt),Ivt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(kj(Sj(Ej(Tj(new Fu,y0n),d2n),"Favor Straight Edges Over Balancing"),"Favor straight edges over a balanced node placement. The default behavior is determined automatically based on the used 'edgeRouting'. For an orthogonal style it is set to true, for all other styles to false."),lMt),mtt),Yln(oMt)))),r2(n,y0n,m0n,kwt),r2(n,y0n,m0n,jwt),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,k0n),g2n),"BK Edge Straightening"),"Specifies whether the Brandes Koepf node placer tries to increase the number of straight edges at the expense of diagram size. There is a subtle difference to the 'favorStraightEdges' option, which decides whether a balanced placement of the nodes is desired, or not. In bk terms this means combining the four alignments into a single balanced one, or not. This option on the other hand tries to straighten additional edges during the creation of each of the four alignments."),dwt),wMt),Jht),Yln(oMt)))),r2(n,k0n,m0n,gwt),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,j0n),g2n),"BK Fixed Alignment"),"Tells the BK node placer to use a certain alignment (out of its four) instead of the one producing the smallest height, or the combination of all four."),vwt),wMt),cft),Yln(oMt)))),r2(n,j0n,m0n,mwt),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,E0n),"nodePlacement.linearSegments"),"Linear Segments Deflection Dampening"),"Dampens the movement of nodes to keep the diagram from getting too large."),.3),bMt),Mtt),Yln(oMt)))),r2(n,E0n,m0n,Twt),Ibn(n,new fPn(Cj(Pj(Ij(kj(Sj(Ej(Tj(new Fu,T0n),"nodePlacement.networkSimplex"),"Node Flexibility"),"Aims at shorter and straighter edges. Two configurations are possible: (a) allow ports to move freely on the side they are assigned to (the order is always defined beforehand), (b) additionally allow to enlarge a node wherever it helps. If this option is not configured for a node, the 'nodeFlexibility.default' value is used, which is specified for the node's parent."),wMt),mvt),Yln(uMt)))),r2(n,T0n,m0n,Iwt),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,M0n),"nodePlacement.networkSimplex.nodeFlexibility"),"Node Flexibility Default"),"Default value of the 'nodeFlexibility' option for the children of a hierarchical node."),Pwt),wMt),mvt),Yln(oMt)))),r2(n,M0n,m0n,Cwt),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,S0n),p2n),"Self-Loop Distribution"),"Alter the distribution of the loops around the node. It only takes effect for PortConstraints.FREE."),Lbt),wMt),Yvt),Yln(uMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,P0n),p2n),"Self-Loop Ordering"),"Alter the ordering of the loops they can either be stacked or sequenced. It only takes effect for PortConstraints.FREE."),xbt),wMt),imt),Yln(uMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,C0n),"edgeRouting.splines"),"Spline Routing Mode"),"Specifies the way control points are assembled for each individual edge. CONSERVATIVE ensures that edges are properly routed around the nodes but feels rather orthogonal at times. SLOPPY uses fewer control points to obtain curvier edge routes but may result in edges overlapping nodes."),Rbt),wMt),omt),Yln(oMt)))),r2(n,C0n,v2n,_bt),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,I0n),"edgeRouting.splines.sloppy"),"Sloppy Spline Layer Spacing Factor"),"Spacing factor for routing area between layers when using sloppy spline routing."),.2),bMt),Mtt),Yln(oMt)))),r2(n,I0n,v2n,Fbt),r2(n,I0n,C0n,Bbt),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,O0n),"edgeRouting.polyline"),"Sloped Edge Zone Width"),"Width of the strip to the left and to the right of each layer where the polyline edge router is allowed to refrain from ensuring that edges are routed horizontally. This prevents awkward bend points for nodes that extent almost to the edge of their layer."),2),bMt),Mtt),Yln(oMt)))),r2(n,O0n,v2n,Abt),Ibn(n,new fPn(Cj(Pj(Ij(kj(Sj(Ej(Tj(new Fu,A0n),m2n),"Spacing Base Value"),"An optional base value for all other layout options of the 'spacing' group. It can be used to conveniently alter the overall 'spaciousness' of the drawing. Whenever an explicit value is set for the other layout options, this base value will have no effect. The base value is not inherited, i.e. it must be set for each hierarchical node."),bMt),Mtt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,$0n),m2n),"Edge Node Between Layers Spacing"),"The spacing to be preserved between nodes and edges that are routed next to the node's layer. For the spacing between nodes and edges that cross the node's layer 'spacing.edgeNode' is used."),10),bMt),Mtt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,L0n),m2n),"Edge Edge Between Layer Spacing"),"Spacing to be preserved between pairs of edges that are routed between the same pair of layers. Note that 'spacing.edgeEdge' is used for the spacing between pairs of edges crossing the same layer."),10),bMt),Mtt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,N0n),m2n),"Node Node Between Layers Spacing"),"The spacing to be preserved between any pair of nodes of two adjacent layers. Note that 'spacing.nodeNode' is used for the spacing between nodes within the layer itself."),20),bMt),Mtt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,x0n),y2n),"Direction Priority"),"Defines how important it is to have a certain edge point into the direction of the overall layout. This option is evaluated during the cycle breaking phase."),tln(0)),gMt),Itt),Yln(cMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,D0n),y2n),"Shortness Priority"),"Defines how important it is to keep an edge as short as possible. This option is evaluated during the layering phase."),tln(0)),gMt),Itt),Yln(cMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,R0n),y2n),"Straightness Priority"),"Defines how important it is to keep an edge straight, i.e. aligned with one of the two axes. This option is evaluated during node placement."),tln(0)),gMt),Itt),Yln(cMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,_0n),k2n),NYn),"Tries to further compact components (disconnected sub-graphs)."),!1),lMt),mtt),Yln(oMt)))),r2(n,_0n,mZn,!0),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,K0n),j2n),"Post Compaction Strategy"),E2n),Vlt),wMt),pft),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,F0n),j2n),"Post Compaction Constraint Calculation"),E2n),Xlt),wMt),hht),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,B0n),T2n),"High Degree Node Treatment"),"Makes room around high degree nodes to place leafs and trees."),!1),lMt),mtt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,H0n),T2n),"High Degree Node Threshold"),"Whether a node is considered to have a high degree."),tln(16)),gMt),Itt),Yln(oMt)))),r2(n,H0n,B0n,!0),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,q0n),T2n),"High Degree Node Maximum Tree Height"),"Maximum height of a subtree connected to a high degree node to be moved to separate layers."),tln(5)),gMt),Itt),Yln(oMt)))),r2(n,q0n,B0n,!0),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,G0n),M2n),"Graph Wrapping Strategy"),"For certain graphs and certain prescribed drawing areas it may be desirable to split the laid out graph into chunks that are placed side by side. The edges that connect different chunks are 'wrapped' around from the end of one chunk to the start of the other chunk. The points between the chunks are referred to as 'cuts'."),fdt),wMt),Tmt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,z0n),M2n),"Additional Wrapped Edges Spacing"),"To visually separate edges that are wrapped from regularly routed edges an additional spacing value can be specified in form of this layout option. The spacing is added to the regular edgeNode spacing."),10),bMt),Mtt),Yln(oMt)))),r2(n,z0n,G0n,Gwt),r2(n,z0n,G0n,zwt),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,U0n),M2n),"Correction Factor for Wrapping"),"At times and for certain types of graphs the executed wrapping may produce results that are consistently biased in the same fashion: either wrapping to often or to rarely. This factor can be used to correct the bias. Internally, it is simply multiplied with the 'aspect ratio' layout option."),1),bMt),Mtt),Yln(oMt)))),r2(n,U0n,G0n,Xwt),r2(n,U0n,G0n,Wwt),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,X0n),S2n),"Cutting Strategy"),"The strategy by which the layer indexes are determined at which the layering crumbles into chunks."),tdt),wMt),jht),Yln(oMt)))),r2(n,X0n,G0n,edt),r2(n,X0n,G0n,idt),Ibn(n,new fPn(Cj(Pj(Ij(kj(Sj(Ej(Tj(new Fu,W0n),S2n),"Manually Specified Cuts"),"Allows the user to specify her own cuts for a certain graph."),pMt),xnt),Yln(oMt)))),r2(n,W0n,X0n,Qwt),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,V0n),"wrapping.cutting.msd"),"MSD Freedom"),"The MSD cutting strategy starts with an initial guess on the number of chunks the graph should be split into. The freedom specifies how much the strategy may deviate from this guess. E.g. if an initial number of 3 is computed, a freedom of 1 allows 2, 3, and 4 cuts."),Ywt),gMt),Itt),Yln(oMt)))),r2(n,V0n,X0n,Zwt),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,Q0n),P2n),"Validification Strategy"),"When wrapping graphs, one can specify indices that are not allowed as split points. The validification strategy makes sure every computed split point is allowed."),gdt),wMt),bmt),Yln(oMt)))),r2(n,Q0n,G0n,pdt),r2(n,Q0n,G0n,vdt),Ibn(n,new fPn(Cj(Pj(Ij(kj(Sj(Ej(Tj(new Fu,J0n),P2n),"Valid Indices for Wrapping"),null),pMt),xnt),Yln(oMt)))),r2(n,J0n,G0n,bdt),r2(n,J0n,G0n,wdt),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,Y0n),C2n),"Improve Cuts"),"For general graphs it is important that not too many edges wrap backwards. Thus a compromise between evenly-distributed cuts and the total number of cut edges is sought."),!0),lMt),mtt),Yln(oMt)))),r2(n,Y0n,G0n,udt),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,Z0n),C2n),"Distance Penalty When Improving Cuts"),null),2),bMt),Mtt),Yln(oMt)))),r2(n,Z0n,G0n,cdt),r2(n,Z0n,Y0n,!0),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,n2n),C2n),"Improve Wrapped Edges"),"The initial wrapping is performed in a very simple way. As a consequence, edges that wrap from one chunk to another may be unnecessarily long. Activating this option tries to shorten such edges."),!0),lMt),mtt),Yln(oMt)))),r2(n,n2n,G0n,sdt),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,t2n),I2n),"Edge Label Side Selection"),"Method to decide on edge label sides."),Ibt),wMt),qht),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,e2n),I2n),"Edge Center Label Placement Strategy"),"Determines in which layer center labels of long edges should be placed."),Pbt),wMt),cht),kG(oMt,Mun(Hk(yMt,1),OVn,175,0,[aMt]))))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,i2n),O2n),"Consider Model Order"),"Preserves the order of nodes and edges in the model file if this does not lead to additional edge crossings. Depending on the strategy this is not always possible since the node and edge order might be conflicting."),rbt),wMt),_vt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,r2n),O2n),"No Model Order"),"Set on a node to not set a model order for this node even though it is a real node."),!1),lMt),mtt),Yln(uMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,c2n),O2n),"Consider Model Order for Components"),"If set to NONE the usual ordering strategy (by cumulative node priority and size of nodes) is used. INSIDE_PORT_SIDES orders the components with external ports only inside the groups with the same port side. FORCE_MODEL_ORDER enforces the mode order on components. This option might produce bad alignments and sub optimal drawings in terms of used area since the ordering should be respected."),Jlt),wMt),put),Yln(oMt)))),r2(n,c2n,mZn,null),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,a2n),O2n),"Long Edge Ordering Strategy"),"Indicates whether long edges are sorted under, over, or equal to nodes that have no connection to a previous layer in a left-to-right or right-to-left layout. Under and over changes to right and left in a vertical layout."),tbt),wMt),lvt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,u2n),O2n),"Crossing Counter Node Order Influence"),"Indicates with what percentage (1 for 100%) violations of the node model order are weighted against the crossings e.g. a value of 0.5 means two model order violations are as important as on edge crossing. This allows some edge crossings in favor of preserving the model order. It is advised to set this value to a very small positive value (e.g. 0.001) to have minimal crossing and a optimal node order. Defaults to no influence (0)."),0),bMt),Mtt),Yln(oMt)))),r2(n,u2n,i2n,null),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,o2n),O2n),"Crossing Counter Port Order Influence"),"Indicates with what percentage (1 for 100%) violations of the port model order are weighted against the crossings e.g. a value of 0.5 means two model order violations are as important as on edge crossing. This allows some edge crossings in favor of preserving the model order. It is advised to set this value to a very small positive value (e.g. 0.001) to have minimal crossing and a optimal port order. Defaults to no influence (0)."),0),bMt),Mtt),Yln(oMt)))),r2(n,o2n,i2n,null),gWn((new ff,n))},gX(_1n,"LayeredMetaDataProvider",848),lAn(986,1,WJn,ff),EWn.Qe=function(n){gWn(n)},gX(_1n,"LayeredOptions",986),lAn(987,1,{},Cc),EWn.$e=function(){return new Gv},EWn._e=function(n){},gX(_1n,"LayeredOptions/LayeredFactory",987),lAn(1372,1,{}),EWn.a=0,gX(v3n,"ElkSpacings/AbstractSpacingsBuilder",1372),lAn(779,1372,{},cwn),gX(_1n,"LayeredSpacings/LayeredSpacingsBuilder",779),lAn(313,22,{3:1,35:1,22:1,313:1,246:1,234:1},xP),EWn.Kf=function(){return eLn(this)},EWn.Xf=function(){return eLn(this)};var evt,ivt,rvt,cvt,avt=Ken(_1n,"LayeringStrategy",313,Gnt,n9,hF);lAn(378,22,{3:1,35:1,22:1,378:1},DP);var uvt,ovt,svt,hvt,fvt,lvt=Ken(_1n,"LongEdgeOrderingStrategy",378,Gnt,k1,fF);lAn(197,22,{3:1,35:1,22:1,197:1},RP);var bvt,wvt,dvt,gvt,pvt,vvt,mvt=Ken(_1n,"NodeFlexibility",197,Gnt,m3,lF);lAn(315,22,{3:1,35:1,22:1,315:1,246:1,234:1},_P),EWn.Kf=function(){return NAn(this)},EWn.Xf=function(){return NAn(this)};var yvt,kvt,jvt,Evt,Tvt,Mvt,Svt,Pvt,Cvt,Ivt=Ken(_1n,"NodePlacementStrategy",315,Gnt,O5,vF);lAn(260,22,{3:1,35:1,22:1,260:1},FP);var Ovt,Avt,$vt,Lvt,Nvt=Ken(_1n,"NodePromotionStrategy",260,Gnt,Ktn,wF);lAn(339,22,{3:1,35:1,22:1,339:1},BP);var xvt,Dvt,Rvt,_vt=Ken(_1n,"OrderingStrategy",339,Gnt,I1,dF);lAn(421,22,{3:1,35:1,22:1,421:1},HP);var Kvt,Fvt,Bvt,Hvt,qvt=Ken(_1n,"PortSortingStrategy",421,Gnt,GJ,gF);lAn(452,22,{3:1,35:1,22:1,452:1},qP);var Gvt,zvt,Uvt,Xvt,Wvt=Ken(_1n,"PortType",452,Gnt,C1,bF);lAn(375,22,{3:1,35:1,22:1,375:1},GP);var Vvt,Qvt,Jvt,Yvt=Ken(_1n,"SelfLoopDistributionStrategy",375,Gnt,O1,pF);lAn(376,22,{3:1,35:1,22:1,376:1},zP);var Zvt,nmt,tmt,emt,imt=Ken(_1n,"SelfLoopOrderingStrategy",376,Gnt,KJ,mF);lAn(304,1,{304:1},uGn),gX(_1n,"Spacings",304),lAn(336,22,{3:1,35:1,22:1,336:1},UP);var rmt,cmt,amt,umt,omt=Ken(_1n,"SplineRoutingMode",336,Gnt,$1,yF);lAn(338,22,{3:1,35:1,22:1,338:1},XP);var smt,hmt,fmt,lmt,bmt=Ken(_1n,"ValidifyStrategy",338,Gnt,L1,kF);lAn(377,22,{3:1,35:1,22:1,377:1},WP);var wmt,dmt,gmt,pmt,vmt,mmt,ymt,kmt,jmt,Emt,Tmt=Ken(_1n,"WrappingStrategy",377,Gnt,A1,jF);lAn(1383,1,k3n,lf),EWn.Yf=function(n){return KB(n,37),dmt},EWn.pf=function(n,t){QHn(this,KB(n,37),t)},gX(j3n,"DepthFirstCycleBreaker",1383),lAn(782,1,k3n,DG),EWn.Yf=function(n){return KB(n,37),gmt},EWn.pf=function(n,t){GXn(this,KB(n,37),t)},EWn.Zf=function(n){return KB(Lq(n,dvn(this.d,n.c.length)),10)},gX(j3n,"GreedyCycleBreaker",782),lAn(1386,782,k3n,jI),EWn.Zf=function(n){var t,e,i,r;for(r=null,t=NWn,i=new Ub(n);i.a<i.c.c.length;)Ax(e=KB(Y1(i),10),(oWn(),llt))&&KB(pMn(e,llt),19).a<t&&(t=KB(pMn(e,llt),19).a,r=e);return r||KB(Lq(n,dvn(this.d,n.c.length)),10)},gX(j3n,"GreedyModelOrderCycleBreaker",1386),lAn(1384,1,k3n,tf),EWn.Yf=function(n){return KB(n,37),pmt},EWn.pf=function(n,t){Pqn(this,KB(n,37),t)},gX(j3n,"InteractiveCycleBreaker",1384),lAn(1385,1,k3n,ef),EWn.Yf=function(n){return KB(n,37),vmt},EWn.pf=function(n,t){Aqn(this,KB(n,37),t)},EWn.a=0,EWn.b=0,gX(j3n,"ModelOrderCycleBreaker",1385),lAn(1389,1,k3n,OM),EWn.Yf=function(n){return KB(n,37),mmt},EWn.pf=function(n,t){QXn(this,KB(n,37),t)},gX(E3n,"CoffmanGrahamLayerer",1389),lAn(1390,1,EJn,Nd),EWn.ue=function(n,t){return KIn(this.a,KB(n,10),KB(t,10))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(E3n,"CoffmanGrahamLayerer/0methodref$compareNodesInTopo$Type",1390),lAn(1391,1,EJn,xd),EWn.ue=function(n,t){return qG(this.a,KB(n,10),KB(t,10))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(E3n,"CoffmanGrahamLayerer/lambda$1$Type",1391),lAn(1392,1,k3n,Ic),EWn.Yf=function(n){return KB(n,37),bq(bq(bq(new K2,(vMn(),xat),(hWn(),mot)),Dat,Cot),Rat,Pot)},EWn.pf=function(n,t){kUn(this,KB(n,37),t)},gX(E3n,"InteractiveLayerer",1392),lAn(569,1,{569:1},tm),EWn.a=0,EWn.c=0,gX(E3n,"InteractiveLayerer/LayerSpan",569),lAn(1388,1,k3n,nf),EWn.Yf=function(n){return KB(n,37),ymt},EWn.pf=function(n,t){Bxn(this,KB(n,37),t)},gX(E3n,"LongestPathLayerer",1388),lAn(1395,1,k3n,uf),EWn.Yf=function(n){return KB(n,37),bq(bq(bq(new K2,(vMn(),xat),(hWn(),iot)),Dat,Cot),Rat,Pot)},EWn.pf=function(n,t){tXn(this,KB(n,37),t)},EWn.a=0,EWn.b=0,EWn.d=0,gX(E3n,"MinWidthLayerer",1395),lAn(1396,1,EJn,Dd),EWn.ue=function(n,t){return ban(this,KB(n,10),KB(t,10))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(E3n,"MinWidthLayerer/MinOutgoingEdgesComparator",1396),lAn(1387,1,k3n,af),EWn.Yf=function(n){return KB(n,37),Emt},EWn.pf=function(n,t){pGn(this,KB(n,37),t)},gX(E3n,"NetworkSimplexLayerer",1387),lAn(1393,1,k3n,xR),EWn.Yf=function(n){return KB(n,37),bq(bq(bq(new K2,(vMn(),xat),(hWn(),iot)),Dat,Cot),Rat,Pot)},EWn.pf=function(n,t){Ozn(this,KB(n,37),t)},EWn.d=0,EWn.f=0,EWn.g=0,EWn.i=0,EWn.s=0,EWn.t=0,EWn.u=0,gX(E3n,"StretchWidthLayerer",1393),lAn(1394,1,EJn,Oc),EWn.ue=function(n,t){return x6(KB(n,10),KB(t,10))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(E3n,"StretchWidthLayerer/1",1394),lAn(402,1,T3n),EWn.Nf=function(n,t,e,i,r,c){},EWn._f=function(n,t,e){return eKn(this,n,t,e)},EWn.Mf=function(){this.g=L8(LNt,M3n,25,this.d,15,1),this.f=L8(LNt,M3n,25,this.d,15,1)},EWn.Of=function(n,t){this.e[n]=L8(CNt,oQn,25,t[n].length,15,1)},EWn.Pf=function(n,t,e){e[n][t].p=t,this.e[n][t]=t},EWn.Qf=function(n,t,e,i){KB(Lq(i[n][t].j,e),11).p=this.d++},EWn.b=0,EWn.c=0,EWn.d=0,gX(S3n,"AbstractBarycenterPortDistributor",402),lAn(1633,1,EJn,Rd),EWn.ue=function(n,t){return Bgn(this.a,KB(n,11),KB(t,11))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(S3n,"AbstractBarycenterPortDistributor/lambda$0$Type",1633),lAn(817,1,$1n,H2),EWn.Nf=function(n,t,e,i,r,c){},EWn.Pf=function(n,t,e){},EWn.Qf=function(n,t,e,i){},EWn.Lf=function(){return!1},EWn.Mf=function(){this.c=this.e.a,this.g=this.f.g},EWn.Of=function(n,t){t[n][0].c.p=n},EWn.Rf=function(){return!1},EWn.ag=function(n,t,e,i){e?ujn(this,n):(Njn(this,n,i),JGn(this,n,t)),n.c.length>1&&(By(jD(pMn(gW((h1(0,n.c.length),KB(n.c[0],10))),(FXn(),Ldt))))?x$n(n,this.d,KB(this,660)):(TQ(),p$(n,this.d)),Kan(this.e,n))},EWn.Sf=function(n,t,e,i){var r,c,a,u,o,s,h;for(t!=Qq(e,n.length)&&(c=n[t-(e?1:-1)],H6(this.f,c,e?(rin(),Bvt):(rin(),Fvt))),r=n[t][0],h=!i||r.k==(cSn(),Eut),s=c6(n[t]),this.ag(s,h,!1,e),a=0,o=new Ub(s);o.a<o.c.c.length;)u=KB(Y1(o),10),n[t][a++]=u;return!1},EWn.Tf=function(n,t){var e,i,r,c,a;for(c=c6(n[a=Qq(t,n.length)]),this.ag(c,!1,!0,t),e=0,r=new Ub(c);r.a<r.c.c.length;)i=KB(Y1(r),10),n[a][e++]=i;return!1},gX(S3n,"BarycenterHeuristic",817),lAn(658,1,{658:1},Kd),EWn.Ib=function(){return"BarycenterState [node="+this.c+", summedWeight="+this.d+", degree="+this.b+", barycenter="+this.a+", visited="+this.e+"]"},EWn.b=0,EWn.d=0,EWn.e=!1;var Mmt=gX(S3n,"BarycenterHeuristic/BarycenterState",658);lAn(1802,1,EJn,_d),EWn.ue=function(n,t){return EEn(this.a,KB(n,10),KB(t,10))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(S3n,"BarycenterHeuristic/lambda$0$Type",1802),lAn(816,1,$1n,GEn),EWn.Mf=function(){},EWn.Nf=function(n,t,e,i,r,c){},EWn.Qf=function(n,t,e,i){},EWn.Of=function(n,t){this.a[n]=L8(Mmt,{3:1,4:1,5:1,2018:1},658,t[n].length,0,1),this.b[n]=L8(Amt,{3:1,4:1,5:1,2019:1},233,t[n].length,0,1)},EWn.Pf=function(n,t,e){Ngn(this,e[n][t],!0)},EWn.c=!1,gX(S3n,"ForsterConstraintResolver",816),lAn(233,1,{233:1},NJ,cGn),EWn.Ib=function(){var n,t;for((t=new Sk).a+="[",n=0;n<this.d.length;n++)aO(t,Opn(this.d[n])),null!=hL(this.g,this.d[0]).a&&aO(aO((t.a+="<",t),JI(hL(this.g,this.d[0]).a)),">"),n<this.d.length-1&&(t.a+=_Wn);return(t.a+="]",t).a},EWn.a=0,EWn.c=0,EWn.f=0;var Smt,Pmt,Cmt,Imt,Omt,Amt=gX(S3n,"ForsterConstraintResolver/ConstraintGroup",233);lAn(1797,1,hVn,Bd),EWn.td=function(n){Ngn(this.a,KB(n,10),!1)},gX(S3n,"ForsterConstraintResolver/lambda$0$Type",1797),lAn(214,1,{214:1,225:1},SGn),EWn.Nf=function(n,t,e,i,r,c){},EWn.Of=function(n,t){},EWn.Mf=function(){this.r=L8(CNt,oQn,25,this.n,15,1)},EWn.Pf=function(n,t,e){var i;(i=e[n][t].e)&&UB(this.b,i)},EWn.Qf=function(n,t,e,i){++this.n},EWn.Ib=function(){return tzn(this.e,new xv)},EWn.g=!1,EWn.i=!1,EWn.n=0,EWn.s=!1,gX(S3n,"GraphInfoHolder",214),lAn(1832,1,$1n,Pc),EWn.Nf=function(n,t,e,i,r,c){},EWn.Of=function(n,t){},EWn.Qf=function(n,t,e,i){},EWn._f=function(n,t,e){return e&&t>0?cZ(this.a,n[t-1],n[t]):!e&&t<n.length-1?cZ(this.a,n[t],n[t+1]):vrn(this.a,n[t],e?(mUn(),SIt):(mUn(),aIt)),fLn(this,n,t,e)},EWn.Mf=function(){this.d=L8(CNt,oQn,25,this.c,15,1),this.a=new W_(this.d)},EWn.Pf=function(n,t,e){var i;i=e[n][t],this.c+=i.j.c.length},EWn.c=0,gX(S3n,"GreedyPortDistributor",1832),lAn(1401,1,k3n,bf),EWn.Yf=function(n){return zhn(KB(n,37))},EWn.pf=function(n,t){zGn(KB(n,37),t)},gX(S3n,"InteractiveCrossingMinimizer",1401),lAn(1402,1,EJn,Hd),EWn.ue=function(n,t){return Fjn(this,KB(n,10),KB(t,10))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(S3n,"InteractiveCrossingMinimizer/1",1402),lAn(507,1,{507:1,123:1,51:1},$y),EWn.Yf=function(n){var t;return KB(n,37),bq(t=mA(Pmt),(vMn(),Rat),(hWn(),Kot)),t},EWn.pf=function(n,t){MKn(this,KB(n,37),t)},EWn.e=0,gX(S3n,"LayerSweepCrossingMinimizer",507),lAn(1398,1,hVn,qd),EWn.td=function(n){lBn(this.a,KB(n,214))},gX(S3n,"LayerSweepCrossingMinimizer/0methodref$compareDifferentRandomizedLayouts$Type",1398),lAn(1399,1,hVn,Gd),EWn.td=function(n){Chn(this.a,KB(n,214))},gX(S3n,"LayerSweepCrossingMinimizer/1methodref$minimizeCrossingsNoCounter$Type",1399),lAn(1400,1,hVn,zd),EWn.td=function(n){dFn(this.a,KB(n,214))},gX(S3n,"LayerSweepCrossingMinimizer/2methodref$minimizeCrossingsWithCounter$Type",1400),lAn(454,22,{3:1,35:1,22:1,454:1},VP);var $mt,Lmt=Ken(S3n,"LayerSweepCrossingMinimizer/CrossMinType",454,Gnt,N1,EF);lAn(1397,1,NVn,Ac),EWn.Mb=function(n){return Rcn(),0==KB(n,29).a.c.length},gX(S3n,"LayerSweepCrossingMinimizer/lambda$0$Type",1397),lAn(1799,1,$1n,rZ),EWn.Mf=function(){},EWn.Nf=function(n,t,e,i,r,c){},EWn.Qf=function(n,t,e,i){},EWn.Of=function(n,t){t[n][0].c.p=n,this.b[n]=L8(Rmt,{3:1,4:1,5:1,1944:1},659,t[n].length,0,1)},EWn.Pf=function(n,t,e){e[n][t].p=t,OX(this.b[n],t,new $c)},gX(S3n,"LayerSweepTypeDecider",1799),lAn(659,1,{659:1},$c),EWn.Ib=function(){return"NodeInfo [connectedEdges="+this.a+", hierarchicalInfluence="+this.b+", randomInfluence="+this.c+"]"},EWn.a=0,EWn.b=0,EWn.c=0;var Nmt,xmt,Dmt,Rmt=gX(S3n,"LayerSweepTypeDecider/NodeInfo",659);lAn(1800,1,BJn,Lc),EWn.Lb=function(n){return qN(new p6(KB(n,11).b))},EWn.Fb=function(n){return this===n},EWn.Mb=function(n){return qN(new p6(KB(n,11).b))},gX(S3n,"LayerSweepTypeDecider/lambda$0$Type",1800),lAn(1801,1,BJn,Nc),EWn.Lb=function(n){return qN(new p6(KB(n,11).b))},EWn.Fb=function(n){return this===n},EWn.Mb=function(n){return qN(new p6(KB(n,11).b))},gX(S3n,"LayerSweepTypeDecider/lambda$1$Type",1801),lAn(1833,402,T3n,Nj),EWn.$f=function(n,t,e){var i,r,c,a,u,o,s,h,f;switch(s=this.g,e.g){case 1:for(i=0,r=0,o=new Ub(n.j);o.a<o.c.c.length;)0!=(a=KB(Y1(o),11)).e.c.length&&(++i,a.j==(mUn(),uIt)&&++r);for(c=t+r,f=t+i,u=Lwn(n,(rin(),Fvt)).Kc();u.Ob();)(a=KB(u.Pb(),11)).j==(mUn(),uIt)?(s[a.p]=c,--c):(s[a.p]=f,--f);return i;case 2:for(h=0,u=Lwn(n,(rin(),Bvt)).Kc();u.Ob();)++h,s[(a=KB(u.Pb(),11)).p]=t+h;return h;default:throw Fp(new lv)}},gX(S3n,"LayerTotalPortDistributor",1833),lAn(660,817,{660:1,225:1},drn),EWn.ag=function(n,t,e,i){e?ujn(this,n):(Njn(this,n,i),JGn(this,n,t)),n.c.length>1&&(By(jD(pMn(gW((h1(0,n.c.length),KB(n.c[0],10))),(FXn(),Ldt))))?x$n(n,this.d,this):(TQ(),p$(n,this.d)),By(jD(pMn(gW((h1(0,n.c.length),KB(n.c[0],10))),Ldt)))||Kan(this.e,n))},gX(S3n,"ModelOrderBarycenterHeuristic",660),lAn(1803,1,EJn,Ud),EWn.ue=function(n,t){return DSn(this.a,KB(n,10),KB(t,10))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(S3n,"ModelOrderBarycenterHeuristic/lambda$0$Type",1803),lAn(1403,1,k3n,yf),EWn.Yf=function(n){var t;return KB(n,37),bq(t=mA(Nmt),(vMn(),Rat),(hWn(),Kot)),t},EWn.pf=function(n,t){pJ((KB(n,37),t))},gX(S3n,"NoCrossingMinimizer",1403),lAn(796,402,T3n,xj),EWn.$f=function(n,t,e){var i,r,c,a,u,o,s,h,f,l,b;switch(f=this.g,e.g){case 1:for(r=0,c=0,h=new Ub(n.j);h.a<h.c.c.length;)0!=(o=KB(Y1(h),11)).e.c.length&&(++r,o.j==(mUn(),uIt)&&++c);for(a=t+c*(i=1/(r+1)),b=t+1-i,s=Lwn(n,(rin(),Fvt)).Kc();s.Ob();)(o=KB(s.Pb(),11)).j==(mUn(),uIt)?(f[o.p]=a,a-=i):(f[o.p]=b,b-=i);break;case 2:for(u=0,h=new Ub(n.j);h.a<h.c.c.length;)0==(o=KB(Y1(h),11)).g.c.length||++u;for(l=t+(i=1/(u+1)),s=Lwn(n,(rin(),Bvt)).Kc();s.Ob();)f[(o=KB(s.Pb(),11)).p]=l,l+=i;break;default:throw Fp(new Ry("Port type is undefined"))}return 1},gX(S3n,"NodeRelativePortDistributor",796),lAn(807,1,{},Xz,FMn),gX(S3n,"SweepCopy",807),lAn(1798,1,$1n,ldn),EWn.Of=function(n,t){},EWn.Mf=function(){var n;n=L8(CNt,oQn,25,this.f,15,1),this.d=new ng(n),this.a=new W_(n)},EWn.Nf=function(n,t,e,i,r,c){var a;a=KB(Lq(c[n][t].j,e),11),r.c==a&&r.c.i.c==r.d.i.c&&++this.e[n]},EWn.Pf=function(n,t,e){var i;i=e[n][t],this.c[n]=this.c[n]|i.k==(cSn(),Put)},EWn.Qf=function(n,t,e,i){var r;(r=KB(Lq(i[n][t].j,e),11)).p=this.f++,r.g.c.length+r.e.c.length>1&&(r.j==(mUn(),aIt)?this.b[n]=!0:r.j==SIt&&n>0&&(this.b[n-1]=!0))},EWn.f=0,gX(A1n,"AllCrossingsCounter",1798),lAn(587,1,{},prn),EWn.b=0,EWn.d=0,gX(A1n,"BinaryIndexedTree",587),lAn(524,1,{},W_),gX(A1n,"CrossingsCounter",524),lAn(1906,1,EJn,Xd),EWn.ue=function(n,t){return zq(this.a,KB(n,11),KB(t,11))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(A1n,"CrossingsCounter/lambda$0$Type",1906),lAn(1907,1,EJn,Wd),EWn.ue=function(n,t){return Uq(this.a,KB(n,11),KB(t,11))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(A1n,"CrossingsCounter/lambda$1$Type",1907),lAn(1908,1,EJn,Vd),EWn.ue=function(n,t){return Xq(this.a,KB(n,11),KB(t,11))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(A1n,"CrossingsCounter/lambda$2$Type",1908),lAn(1909,1,EJn,Qd),EWn.ue=function(n,t){return Wq(this.a,KB(n,11),KB(t,11))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(A1n,"CrossingsCounter/lambda$3$Type",1909),lAn(1910,1,hVn,Jd),EWn.td=function(n){d7(this.a,KB(n,11))},gX(A1n,"CrossingsCounter/lambda$4$Type",1910),lAn(1911,1,NVn,Yd),EWn.Mb=function(n){return vI(this.a,KB(n,11))},gX(A1n,"CrossingsCounter/lambda$5$Type",1911),lAn(1912,1,hVn,Zd),EWn.td=function(n){pI(this,n)},gX(A1n,"CrossingsCounter/lambda$6$Type",1912),lAn(1913,1,hVn,JP),EWn.td=function(n){var t;oH(),b3(this.b,(t=this.a,KB(n,11),t))},gX(A1n,"CrossingsCounter/lambda$7$Type",1913),lAn(826,1,BJn,xc),EWn.Lb=function(n){return oH(),Ax(KB(n,11),(oWn(),klt))},EWn.Fb=function(n){return this===n},EWn.Mb=function(n){return oH(),Ax(KB(n,11),(oWn(),klt))},gX(A1n,"CrossingsCounter/lambda$8$Type",826),lAn(1905,1,{},ng),gX(A1n,"HyperedgeCrossingsCounter",1905),lAn(467,1,{35:1,467:1},NR),EWn.wd=function(n){return ggn(this,KB(n,467))},EWn.b=0,EWn.c=0,EWn.e=0,EWn.f=0;var _mt=gX(A1n,"HyperedgeCrossingsCounter/Hyperedge",467);lAn(362,1,{35:1,362:1},BV),EWn.wd=function(n){return h$n(this,KB(n,362))},EWn.b=0,EWn.c=0;var Kmt,Fmt,Bmt=gX(A1n,"HyperedgeCrossingsCounter/HyperedgeCorner",362);lAn(523,22,{3:1,35:1,22:1,523:1},QP);var Hmt,qmt,Gmt,zmt,Umt,Xmt=Ken(A1n,"HyperedgeCrossingsCounter/HyperedgeCorner/Type",523,Gnt,zJ,TF);lAn(1405,1,k3n,hf),EWn.Yf=function(n){return KB(pMn(KB(n,37),(oWn(),Jft)),21).Hc((fDn(),hft))?qmt:null},EWn.pf=function(n,t){hjn(this,KB(n,37),t)},gX(P3n,"InteractiveNodePlacer",1405),lAn(1406,1,k3n,sf),EWn.Yf=function(n){return KB(pMn(KB(n,37),(oWn(),Jft)),21).Hc((fDn(),hft))?Gmt:null},EWn.pf=function(n,t){ymn(this,KB(n,37),t)},gX(P3n,"LinearSegmentsNodePlacer",1406),lAn(257,1,{35:1,257:1},em),EWn.wd=function(n){return cj(this,KB(n,257))},EWn.Fb=function(n){var t;return!!iL(n,257)&&(t=KB(n,257),this.b==t.b)},EWn.Hb=function(){return this.b},EWn.Ib=function(){return"ls"+AMn(this.e)},EWn.a=0,EWn.b=0,EWn.c=-1,EWn.d=-1,EWn.g=0;var Wmt,Vmt=gX(P3n,"LinearSegmentsNodePlacer/LinearSegment",257);lAn(1408,1,k3n,RG),EWn.Yf=function(n){return KB(pMn(KB(n,37),(oWn(),Jft)),21).Hc((fDn(),hft))?Wmt:null},EWn.pf=function(n,t){TXn(this,KB(n,37),t)},EWn.b=0,EWn.g=0,gX(P3n,"NetworkSimplexPlacer",1408),lAn(1427,1,EJn,Dc),EWn.ue=function(n,t){return k$(KB(n,19).a,KB(t,19).a)},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(P3n,"NetworkSimplexPlacer/0methodref$compare$Type",1427),lAn(1429,1,EJn,Rc),EWn.ue=function(n,t){return k$(KB(n,19).a,KB(t,19).a)},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(P3n,"NetworkSimplexPlacer/1methodref$compare$Type",1429),lAn(649,1,{649:1},YP);var Qmt=gX(P3n,"NetworkSimplexPlacer/EdgeRep",649);lAn(401,1,{401:1},HV),EWn.b=!1;var Jmt,Ymt,Zmt,nyt=gX(P3n,"NetworkSimplexPlacer/NodeRep",401);lAn(508,12,{3:1,4:1,20:1,28:1,52:1,12:1,14:1,15:1,54:1,508:1},cm),gX(P3n,"NetworkSimplexPlacer/Path",508),lAn(1409,1,{},_c),EWn.Kb=function(n){return KB(n,17).d.i.k},gX(P3n,"NetworkSimplexPlacer/Path/lambda$0$Type",1409),lAn(1410,1,NVn,Kc),EWn.Mb=function(n){return KB(n,267)==(cSn(),Mut)},gX(P3n,"NetworkSimplexPlacer/Path/lambda$1$Type",1410),lAn(1411,1,{},Fc),EWn.Kb=function(n){return KB(n,17).d.i},gX(P3n,"NetworkSimplexPlacer/Path/lambda$2$Type",1411),lAn(1412,1,NVn,tg),EWn.Mb=function(n){return FD(Zwn(KB(n,10)))},gX(P3n,"NetworkSimplexPlacer/Path/lambda$3$Type",1412),lAn(1413,1,NVn,Bc),EWn.Mb=function(n){return oq(KB(n,11))},gX(P3n,"NetworkSimplexPlacer/lambda$0$Type",1413),lAn(1414,1,hVn,ZP),EWn.td=function(n){N$(this.a,this.b,KB(n,11))},gX(P3n,"NetworkSimplexPlacer/lambda$1$Type",1414),lAn(1423,1,hVn,eg),EWn.td=function(n){UCn(this.a,KB(n,17))},gX(P3n,"NetworkSimplexPlacer/lambda$10$Type",1423),lAn(1424,1,{},Hc),EWn.Kb=function(n){return KZ(),new xq(null,new l1(KB(n,29).a,16))},gX(P3n,"NetworkSimplexPlacer/lambda$11$Type",1424),lAn(1425,1,hVn,ig),EWn.td=function(n){KDn(this.a,KB(n,10))},gX(P3n,"NetworkSimplexPlacer/lambda$12$Type",1425),lAn(1426,1,{},qc),EWn.Kb=function(n){return KZ(),tln(KB(n,121).e)},gX(P3n,"NetworkSimplexPlacer/lambda$13$Type",1426),lAn(1428,1,{},Gc),EWn.Kb=function(n){return KZ(),tln(KB(n,121).e)},gX(P3n,"NetworkSimplexPlacer/lambda$15$Type",1428),lAn(1430,1,NVn,zc),EWn.Mb=function(n){return KZ(),KB(n,401).c.k==(cSn(),Sut)},gX(P3n,"NetworkSimplexPlacer/lambda$17$Type",1430),lAn(1431,1,NVn,Uc),EWn.Mb=function(n){return KZ(),KB(n,401).c.j.c.length>1},gX(P3n,"NetworkSimplexPlacer/lambda$18$Type",1431),lAn(1432,1,hVn,qV),EWn.td=function(n){iwn(this.c,this.b,this.d,this.a,KB(n,401))},EWn.c=0,EWn.d=0,gX(P3n,"NetworkSimplexPlacer/lambda$19$Type",1432),lAn(1415,1,{},Xc),EWn.Kb=function(n){return KZ(),new xq(null,new l1(KB(n,29).a,16))},gX(P3n,"NetworkSimplexPlacer/lambda$2$Type",1415),lAn(1433,1,hVn,rg),EWn.td=function(n){$$(this.a,KB(n,11))},EWn.a=0,gX(P3n,"NetworkSimplexPlacer/lambda$20$Type",1433),lAn(1434,1,{},Wc),EWn.Kb=function(n){return KZ(),new xq(null,new l1(KB(n,29).a,16))},gX(P3n,"NetworkSimplexPlacer/lambda$21$Type",1434),lAn(1435,1,hVn,cg),EWn.td=function(n){bL(this.a,KB(n,10))},gX(P3n,"NetworkSimplexPlacer/lambda$22$Type",1435),lAn(1436,1,NVn,Vc),EWn.Mb=function(n){return FD(n)},gX(P3n,"NetworkSimplexPlacer/lambda$23$Type",1436),lAn(1437,1,{},Qc),EWn.Kb=function(n){return KZ(),new xq(null,new l1(KB(n,29).a,16))},gX(P3n,"NetworkSimplexPlacer/lambda$24$Type",1437),lAn(1438,1,NVn,ag),EWn.Mb=function(n){return kO(this.a,KB(n,10))},gX(P3n,"NetworkSimplexPlacer/lambda$25$Type",1438),lAn(1439,1,hVn,nC),EWn.td=function(n){EPn(this.a,this.b,KB(n,10))},gX(P3n,"NetworkSimplexPlacer/lambda$26$Type",1439),lAn(1440,1,NVn,Jc),EWn.Mb=function(n){return KZ(),!f5(KB(n,17))},gX(P3n,"NetworkSimplexPlacer/lambda$27$Type",1440),lAn(1441,1,NVn,Yc),EWn.Mb=function(n){return KZ(),!f5(KB(n,17))},gX(P3n,"NetworkSimplexPlacer/lambda$28$Type",1441),lAn(1442,1,{},ug),EWn.Ce=function(n,t){return uL(this.a,KB(n,29),KB(t,29))},gX(P3n,"NetworkSimplexPlacer/lambda$29$Type",1442),lAn(1416,1,{},Zc),EWn.Kb=function(n){return KZ(),new xq(null,new qU(new az(JL(hbn(KB(n,10)).a.Kc(),new h))))},gX(P3n,"NetworkSimplexPlacer/lambda$3$Type",1416),lAn(1417,1,NVn,na),EWn.Mb=function(n){return KZ(),Z0(KB(n,17))},gX(P3n,"NetworkSimplexPlacer/lambda$4$Type",1417),lAn(1418,1,hVn,og),EWn.td=function(n){tBn(this.a,KB(n,17))},gX(P3n,"NetworkSimplexPlacer/lambda$5$Type",1418),lAn(1419,1,{},ta),EWn.Kb=function(n){return KZ(),new xq(null,new l1(KB(n,29).a,16))},gX(P3n,"NetworkSimplexPlacer/lambda$6$Type",1419),lAn(1420,1,NVn,ea),EWn.Mb=function(n){return KZ(),KB(n,10).k==(cSn(),Sut)},gX(P3n,"NetworkSimplexPlacer/lambda$7$Type",1420),lAn(1421,1,{},ia),EWn.Kb=function(n){return KZ(),new xq(null,new qU(new az(JL(obn(KB(n,10)).a.Kc(),new h))))},gX(P3n,"NetworkSimplexPlacer/lambda$8$Type",1421),lAn(1422,1,NVn,ra),EWn.Mb=function(n){return KZ(),GH(KB(n,17))},gX(P3n,"NetworkSimplexPlacer/lambda$9$Type",1422),lAn(1404,1,k3n,Sf),EWn.Yf=function(n){return KB(pMn(KB(n,37),(oWn(),Jft)),21).Hc((fDn(),hft))?Jmt:null},EWn.pf=function(n,t){mHn(KB(n,37),t)},gX(P3n,"SimpleNodePlacer",1404),lAn(180,1,{180:1},B_n),EWn.Ib=function(){var n;return n="",this.c==(wY(),Zmt)?n+=rYn:this.c==Ymt&&(n+=iYn),this.o==(aZ(),eyt)?n+=dYn:this.o==iyt?n+="UP":n+="BALANCED",n},gX(O3n,"BKAlignedLayout",180),lAn(516,22,{3:1,35:1,22:1,516:1},iC);var tyt,eyt,iyt,ryt=Ken(O3n,"BKAlignedLayout/HDirection",516,Gnt,XJ,MF);lAn(515,22,{3:1,35:1,22:1,515:1},eC);var cyt,ayt,uyt,oyt,syt,hyt,fyt,lyt,byt,wyt,dyt,gyt,pyt,vyt,myt,yyt,kyt,jyt,Eyt,Tyt=Ken(O3n,"BKAlignedLayout/VDirection",515,Gnt,WJ,SF);lAn(1634,1,{},tC),gX(O3n,"BKAligner",1634),lAn(1637,1,{},Qyn),gX(O3n,"BKCompactor",1637),lAn(654,1,{654:1},ca),EWn.a=0,gX(O3n,"BKCompactor/ClassEdge",654),lAn(458,1,{458:1},im),EWn.a=null,EWn.b=0,gX(O3n,"BKCompactor/ClassNode",458),lAn(1407,1,k3n,yI),EWn.Yf=function(n){return KB(pMn(KB(n,37),(oWn(),Jft)),21).Hc((fDn(),hft))?ayt:null},EWn.pf=function(n,t){eWn(this,KB(n,37),t)},EWn.d=!1,gX(O3n,"BKNodePlacer",1407),lAn(1635,1,{},aa),EWn.d=0,gX(O3n,"NeighborhoodInformation",1635),lAn(1636,1,EJn,sg),EWn.ue=function(n,t){return Etn(this,KB(n,46),KB(t,46))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(O3n,"NeighborhoodInformation/NeighborComparator",1636),lAn(808,1,{}),gX(O3n,"ThresholdStrategy",808),lAn(1763,808,{},bm),EWn.bg=function(n,t,e){return this.a.o==(aZ(),iyt)?xQn:DQn},EWn.cg=function(){},gX(O3n,"ThresholdStrategy/NullThresholdStrategy",1763),lAn(579,1,{579:1},rC),EWn.c=!1,EWn.d=!1,gX(O3n,"ThresholdStrategy/Postprocessable",579),lAn(1764,808,{},wm),EWn.bg=function(n,t,e){var i,r,c;return r=t==e,i=this.a.a[e.p]==t,r||i?(c=n,this.a.c,wY(),r&&(c=jHn(this,t,!0)),!isNaN(c)&&!isFinite(c)&&i&&(c=jHn(this,e,!1)),c):n},EWn.cg=function(){for(var n,t,e;0!=this.d.b;)(t=iFn(this,e=KB(MY(this.d),579))).a&&(n=t.a,(By(this.a.f[this.a.g[e.b.p].p])||f5(n)||n.c.i.c!=n.d.i.c)&&(f$n(this,e)||eA(this.e,e)));for(;0!=this.e.a.c.length;)f$n(this,KB(Zsn(this.e),579))},gX(O3n,"ThresholdStrategy/SimpleThresholdStrategy",1764),lAn(635,1,{635:1,246:1,234:1},ua),EWn.Kf=function(){return jan(this)},EWn.Xf=function(){return jan(this)},gX(A3n,"EdgeRouterFactory",635),lAn(1458,1,k3n,Pf),EWn.Yf=function(n){return Gxn(KB(n,37))},EWn.pf=function(n,t){NHn(KB(n,37),t)},gX(A3n,"OrthogonalEdgeRouter",1458),lAn(1451,1,k3n,kI),EWn.Yf=function(n){return kjn(KB(n,37))},EWn.pf=function(n,t){CUn(this,KB(n,37),t)},gX(A3n,"PolylineEdgeRouter",1451),lAn(1452,1,BJn,oa),EWn.Lb=function(n){return Wan(KB(n,10))},EWn.Fb=function(n){return this===n},EWn.Mb=function(n){return Wan(KB(n,10))},gX(A3n,"PolylineEdgeRouter/1",1452),lAn(1809,1,NVn,sa),EWn.Mb=function(n){return KB(n,129).c==(C6(),jyt)},gX($3n,"HyperEdgeCycleDetector/lambda$0$Type",1809),lAn(1810,1,{},ha),EWn.Ge=function(n){return KB(n,129).d},gX($3n,"HyperEdgeCycleDetector/lambda$1$Type",1810),lAn(1811,1,NVn,fa),EWn.Mb=function(n){return KB(n,129).c==(C6(),jyt)},gX($3n,"HyperEdgeCycleDetector/lambda$2$Type",1811),lAn(1812,1,{},la),EWn.Ge=function(n){return KB(n,129).d},gX($3n,"HyperEdgeCycleDetector/lambda$3$Type",1812),lAn(1813,1,{},ba),EWn.Ge=function(n){return KB(n,129).d},gX($3n,"HyperEdgeCycleDetector/lambda$4$Type",1813),lAn(1814,1,{},wa),EWn.Ge=function(n){return KB(n,129).d},gX($3n,"HyperEdgeCycleDetector/lambda$5$Type",1814),lAn(112,1,{35:1,112:1},_an),EWn.wd=function(n){return aj(this,KB(n,112))},EWn.Fb=function(n){var t;return!!iL(n,112)&&(t=KB(n,112),this.g==t.g)},EWn.Hb=function(){return this.g},EWn.Ib=function(){var n,t,e,i;for(n=new hN("{"),i=new Ub(this.n);i.a<i.c.c.length;)null==(t=wyn((e=KB(Y1(i),11)).i))&&(t="n"+I_(e.i)),n.a+=""+t,i.a<i.c.c.length&&(n.a+=",");return n.a+="}",n.a},EWn.a=0,EWn.b=0,EWn.c=NaN,EWn.d=0,EWn.g=0,EWn.i=0,EWn.o=0,EWn.s=NaN,gX($3n,"HyperEdgeSegment",112),lAn(129,1,{129:1},qZ),EWn.Ib=function(){return this.a+"->"+this.b+" ("+lx(this.c)+")"},EWn.d=0,gX($3n,"HyperEdgeSegmentDependency",129),lAn(520,22,{3:1,35:1,22:1,520:1},cC);var Myt,Syt,Pyt,Cyt,Iyt,Oyt,Ayt,$yt,Lyt=Ken($3n,"HyperEdgeSegmentDependency/DependencyType",520,Gnt,UJ,PF);lAn(1815,1,{},hg),gX($3n,"HyperEdgeSegmentSplitter",1815),lAn(1816,1,{},qj),EWn.a=0,EWn.b=0,gX($3n,"HyperEdgeSegmentSplitter/AreaRating",1816),lAn(329,1,{329:1},mB),EWn.a=0,EWn.b=0,EWn.c=0,gX($3n,"HyperEdgeSegmentSplitter/FreeArea",329),lAn(1817,1,EJn,ja),EWn.ue=function(n,t){return C_(KB(n,112),KB(t,112))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX($3n,"HyperEdgeSegmentSplitter/lambda$0$Type",1817),lAn(1818,1,hVn,zV),EWn.td=function(n){Y3(this.a,this.d,this.c,this.b,KB(n,112))},EWn.b=0,gX($3n,"HyperEdgeSegmentSplitter/lambda$1$Type",1818),lAn(1819,1,{},Ea),EWn.Kb=function(n){return new xq(null,new l1(KB(n,112).e,16))},gX($3n,"HyperEdgeSegmentSplitter/lambda$2$Type",1819),lAn(1820,1,{},Ta),EWn.Kb=function(n){return new xq(null,new l1(KB(n,112).j,16))},gX($3n,"HyperEdgeSegmentSplitter/lambda$3$Type",1820),lAn(1821,1,{},Ma),EWn.Fe=function(n){return Hy(ED(n))},gX($3n,"HyperEdgeSegmentSplitter/lambda$4$Type",1821),lAn(655,1,{},sX),EWn.a=0,EWn.b=0,EWn.c=0,gX($3n,"OrthogonalRoutingGenerator",655),lAn(1638,1,{},Sa),EWn.Kb=function(n){return new xq(null,new l1(KB(n,112).e,16))},gX($3n,"OrthogonalRoutingGenerator/lambda$0$Type",1638),lAn(1639,1,{},Pa),EWn.Kb=function(n){return new xq(null,new l1(KB(n,112).j,16))},gX($3n,"OrthogonalRoutingGenerator/lambda$1$Type",1639),lAn(661,1,{}),gX(L3n,"BaseRoutingDirectionStrategy",661),lAn(1807,661,{},dm),EWn.dg=function(n,t,e){var r,c,a,u,o,s,h,f,l,b,w,d,g;if(!n.r||n.q)for(f=t+n.o*e,h=new Ub(n.n);h.a<h.c.c.length;)for(s=KB(Y1(h),11),l=Ion(Mun(Hk(MMt,1),uVn,8,0,[s.i.n,s.n,s.a])).a,o=new Ub(s.g);o.a<o.c.c.length;)f5(u=KB(Y1(o),17))||(d=u.d,g=Ion(Mun(Hk(MMt,1),uVn,8,0,[d.i.n,d.n,d.a])).a,i.Math.abs(l-g)>hZn&&(c=n,r=new LC(l,a=f),NH(u.a,r),_Kn(this,u,c,r,!1),(b=n.r)&&(r=new LC(w=Hy(ED(Npn(b.e,0))),a),NH(u.a,r),_Kn(this,u,c,r,!1),c=b,r=new LC(w,a=t+b.o*e),NH(u.a,r),_Kn(this,u,c,r,!1)),r=new LC(g,a),NH(u.a,r),_Kn(this,u,c,r,!1)))},EWn.eg=function(n){return n.i.n.a+n.n.a+n.a.a},EWn.fg=function(){return mUn(),TIt},EWn.gg=function(){return mUn(),uIt},gX(L3n,"NorthToSouthRoutingStrategy",1807),lAn(1808,661,{},gm),EWn.dg=function(n,t,e){var r,c,a,u,o,s,h,f,l,b,w,d,g;if(!n.r||n.q)for(f=t-n.o*e,h=new Ub(n.n);h.a<h.c.c.length;)for(s=KB(Y1(h),11),l=Ion(Mun(Hk(MMt,1),uVn,8,0,[s.i.n,s.n,s.a])).a,o=new Ub(s.g);o.a<o.c.c.length;)f5(u=KB(Y1(o),17))||(d=u.d,g=Ion(Mun(Hk(MMt,1),uVn,8,0,[d.i.n,d.n,d.a])).a,i.Math.abs(l-g)>hZn&&(c=n,r=new LC(l,a=f),NH(u.a,r),_Kn(this,u,c,r,!1),(b=n.r)&&(r=new LC(w=Hy(ED(Npn(b.e,0))),a),NH(u.a,r),_Kn(this,u,c,r,!1),c=b,r=new LC(w,a=t-b.o*e),NH(u.a,r),_Kn(this,u,c,r,!1)),r=new LC(g,a),NH(u.a,r),_Kn(this,u,c,r,!1)))},EWn.eg=function(n){return n.i.n.a+n.n.a+n.a.a},EWn.fg=function(){return mUn(),uIt},EWn.gg=function(){return mUn(),TIt},gX(L3n,"SouthToNorthRoutingStrategy",1808),lAn(1806,661,{},pm),EWn.dg=function(n,t,e){var r,c,a,u,o,s,h,f,l,b,w,d,g;if(!n.r||n.q)for(f=t+n.o*e,h=new Ub(n.n);h.a<h.c.c.length;)for(s=KB(Y1(h),11),l=Ion(Mun(Hk(MMt,1),uVn,8,0,[s.i.n,s.n,s.a])).b,o=new Ub(s.g);o.a<o.c.c.length;)f5(u=KB(Y1(o),17))||(d=u.d,g=Ion(Mun(Hk(MMt,1),uVn,8,0,[d.i.n,d.n,d.a])).b,i.Math.abs(l-g)>hZn&&(c=n,r=new LC(a=f,l),NH(u.a,r),_Kn(this,u,c,r,!0),(b=n.r)&&(r=new LC(a,w=Hy(ED(Npn(b.e,0)))),NH(u.a,r),_Kn(this,u,c,r,!0),c=b,r=new LC(a=t+b.o*e,w),NH(u.a,r),_Kn(this,u,c,r,!0)),r=new LC(a,g),NH(u.a,r),_Kn(this,u,c,r,!0)))},EWn.eg=function(n){return n.i.n.b+n.n.b+n.a.b},EWn.fg=function(){return mUn(),aIt},EWn.gg=function(){return mUn(),SIt},gX(L3n,"WestToEastRoutingStrategy",1806),lAn(813,1,{},aBn),EWn.Ib=function(){return AMn(this.a)},EWn.b=0,EWn.c=!1,EWn.d=!1,EWn.f=0,gX(x3n,"NubSpline",813),lAn(407,1,{407:1},kxn,lY),gX(x3n,"NubSpline/PolarCP",407),lAn(1453,1,k3n,oyn),EWn.Yf=function(n){return eTn(KB(n,37))},EWn.pf=function(n,t){iXn(this,KB(n,37),t)},gX(x3n,"SplineEdgeRouter",1453),lAn(268,1,{268:1},T6),EWn.Ib=function(){return this.a+" ->("+this.c+") "+this.b},EWn.c=0,gX(x3n,"SplineEdgeRouter/Dependency",268),lAn(455,22,{3:1,35:1,22:1,455:1},aC);var Nyt,xyt,Dyt,Ryt,_yt,Kyt=Ken(x3n,"SplineEdgeRouter/SideToProcess",455,Gnt,VJ,CF);lAn(1454,1,NVn,ya),EWn.Mb=function(n){return wxn(),!KB(n,128).o},gX(x3n,"SplineEdgeRouter/lambda$0$Type",1454),lAn(1455,1,{},ma),EWn.Ge=function(n){return wxn(),KB(n,128).v+1},gX(x3n,"SplineEdgeRouter/lambda$1$Type",1455),lAn(1456,1,hVn,uC),EWn.td=function(n){tq(this.a,this.b,KB(n,46))},gX(x3n,"SplineEdgeRouter/lambda$2$Type",1456),lAn(1457,1,hVn,oC),EWn.td=function(n){eq(this.a,this.b,KB(n,46))},gX(x3n,"SplineEdgeRouter/lambda$3$Type",1457),lAn(128,1,{35:1,128:1},ZPn,oqn),EWn.wd=function(n){return uj(this,KB(n,128))},EWn.b=0,EWn.e=!1,EWn.f=0,EWn.g=0,EWn.j=!1,EWn.k=!1,EWn.n=0,EWn.o=!1,EWn.p=!1,EWn.q=!1,EWn.s=0,EWn.u=0,EWn.v=0,EWn.F=0,gX(x3n,"SplineSegment",128),lAn(459,1,{459:1},ka),EWn.a=0,EWn.b=!1,EWn.c=!1,EWn.d=!1,EWn.e=!1,EWn.f=0,gX(x3n,"SplineSegment/EdgeInformation",459),lAn(1234,1,{},da),gX(F3n,tZn,1234),lAn(1235,1,EJn,ga),EWn.ue=function(n,t){return PIn(KB(n,135),KB(t,135))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(F3n,eZn,1235),lAn(1233,1,{},IE),gX(F3n,"MrTree",1233),lAn(393,22,{3:1,35:1,22:1,393:1,246:1,234:1},sC),EWn.Kf=function(){return IIn(this)},EWn.Xf=function(){return IIn(this)};var Fyt,Byt=Ken(F3n,"TreeLayoutPhases",393,Gnt,y3,IF);lAn(1130,209,$Yn,RR),EWn.Ze=function(n,t){var e,i,r,c,a,u;for(By(jD(JAn(n,(SAn(),Skt))))||yY(new jw((HM(),new Ny(n)))),Ban(a=new M6,n),oon(a,(Bqn(),ukt),n),gKn(n,a,u=new Lp),UKn(n,a,u),c=a,i=new Ub(r=LKn(this.a,c));i.a<i.c.c.length;)e=KB(Y1(i),135),UEn(this.b,e,pcn(t,1/r.c.length));Pzn(c=ZXn(r))},gX(F3n,"TreeLayoutProvider",1130),lAn(1847,1,dVn,pa),EWn.Jc=function(n){n5(this,n)},EWn.Kc=function(){return TQ(),AT(),het},gX(F3n,"TreeUtil/1",1847),lAn(1848,1,dVn,va),EWn.Jc=function(n){n5(this,n)},EWn.Kc=function(){return TQ(),AT(),het},gX(F3n,"TreeUtil/2",1848),lAn(502,134,{3:1,502:1,94:1,134:1}),EWn.g=0,gX(B3n,"TGraphElement",502),lAn(188,502,{3:1,188:1,502:1,94:1,134:1},GQ),EWn.Ib=function(){return this.b&&this.c?w0(this.b)+"->"+w0(this.c):"e_"+Yon(this)},gX(B3n,"TEdge",188),lAn(135,134,{3:1,135:1,94:1,134:1},M6),EWn.Ib=function(){var n,t,e,i,r;for(r=null,i=upn(this.b,0);i.b!=i.d.c;)r+=(null==(e=KB(f3(i),86)).c||0==e.c.length?"n_"+e.g:"n_"+e.c)+"\n";for(t=upn(this.a,0);t.b!=t.d.c;)r+=((n=KB(f3(t),188)).b&&n.c?w0(n.b)+"->"+w0(n.c):"e_"+Yon(n))+"\n";return r};var Hyt=gX(B3n,"TGraph",135);lAn(633,502,{3:1,502:1,633:1,94:1,134:1}),gX(B3n,"TShape",633),lAn(86,633,{3:1,502:1,86:1,633:1,94:1,134:1},isn),EWn.Ib=function(){return w0(this)};var qyt,Gyt,zyt,Uyt,Xyt,Wyt,Vyt=gX(B3n,"TNode",86);lAn(255,1,dVn,fg),EWn.Jc=function(n){n5(this,n)},EWn.Kc=function(){return new lg(upn(this.a.d,0))},gX(B3n,"TNode/2",255),lAn(358,1,WWn,lg),EWn.Nb=function(n){sU(this,n)},EWn.Pb=function(){return KB(f3(this.a),188).c},EWn.Ob=function(){return kE(this.a)},EWn.Qb=function(){ptn(this.a)},gX(B3n,"TNode/2/1",358),lAn(1840,1,YZn,DR),EWn.pf=function(n,t){LFn(this,KB(n,135),t)},gX(H3n,"FanProcessor",1840),lAn(327,22,{3:1,35:1,22:1,327:1,234:1},hC),EWn.Kf=function(){switch(this.g){case 0:return new Wm;case 1:return new DR;case 2:return new Oa;case 3:return new Ca;case 4:return new $a;case 5:return new La;default:throw Fp(new Ry(E1n+(null!=this.f?this.f:""+this.g)))}};var Qyt,Jyt,Yyt,Zyt,nkt,tkt,ekt,ikt,rkt,ckt,akt,ukt,okt,skt,hkt,fkt,lkt,bkt,wkt,dkt,gkt,pkt,vkt,mkt,ykt,kkt,jkt,Ekt,Tkt,Mkt,Skt,Pkt,Ckt,Ikt,Okt,Akt,$kt,Lkt,Nkt,xkt,Dkt,Rkt=Ken(H3n,T1n,327,Gnt,e9,OF);lAn(1843,1,YZn,Ca),EWn.pf=function(n,t){c$n(this,KB(n,135),t)},EWn.a=0,gX(H3n,"LevelHeightProcessor",1843),lAn(1844,1,dVn,Ia),EWn.Jc=function(n){n5(this,n)},EWn.Kc=function(){return TQ(),AT(),het},gX(H3n,"LevelHeightProcessor/1",1844),lAn(1841,1,YZn,Oa),EWn.pf=function(n,t){WPn(this,KB(n,135),t)},EWn.a=0,gX(H3n,"NeighborsProcessor",1841),lAn(1842,1,dVn,Aa),EWn.Jc=function(n){n5(this,n)},EWn.Kc=function(){return TQ(),AT(),het},gX(H3n,"NeighborsProcessor/1",1842),lAn(1845,1,YZn,$a),EWn.pf=function(n,t){r$n(this,KB(n,135),t)},EWn.a=0,gX(H3n,"NodePositionProcessor",1845),lAn(1839,1,YZn,Wm),EWn.pf=function(n,t){JHn(this,KB(n,135))},gX(H3n,"RootProcessor",1839),lAn(1846,1,YZn,La),EWn.pf=function(n,t){bln(KB(n,135))},gX(H3n,"Untreeifyer",1846),lAn(851,1,WJn,Mf),EWn.Qe=function(n){Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,z3n),""),"Weighting of Nodes"),"Which weighting to use when computing a node order."),mkt),(MPn(),wMt)),Bkt),Yln((epn(),oMt))))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,U3n),""),"Search Order"),"Which search order to use when computing a spanning tree."),pkt),wMt),Qkt),Yln(oMt)))),DGn((new Tf,n))},gX(X3n,"MrTreeMetaDataProvider",851),lAn(994,1,WJn,Tf),EWn.Qe=function(n){DGn(n)},gX(X3n,"MrTreeOptions",994),lAn(995,1,{},Na),EWn.$e=function(){return new RR},EWn._e=function(n){},gX(X3n,"MrTreeOptions/MrtreeFactory",995),lAn(480,22,{3:1,35:1,22:1,480:1},fC);var _kt,Kkt,Fkt,Bkt=Ken(X3n,"OrderWeighting",480,Gnt,JJ,AF);lAn(425,22,{3:1,35:1,22:1,425:1},lC);var Hkt,qkt,Gkt,zkt,Ukt,Xkt,Wkt,Vkt,Qkt=Ken(X3n,"TreeifyingOrder",425,Gnt,QJ,LF);lAn(1459,1,k3n,df),EWn.Yf=function(n){return KB(n,135),qkt},EWn.pf=function(n,t){vcn(this,KB(n,135),t)},gX("org.eclipse.elk.alg.mrtree.p1treeify","DFSTreeifyer",1459),lAn(1460,1,k3n,gf),EWn.Yf=function(n){return KB(n,135),Gkt},EWn.pf=function(n,t){sCn(this,KB(n,135),t)},gX("org.eclipse.elk.alg.mrtree.p2order","NodeOrderer",1460),lAn(1461,1,k3n,wf),EWn.Yf=function(n){return KB(n,135),zkt},EWn.pf=function(n,t){YDn(this,KB(n,135),t)},EWn.a=0,gX("org.eclipse.elk.alg.mrtree.p3place","NodePlacer",1461),lAn(1462,1,k3n,pf),EWn.Yf=function(n){return KB(n,135),Ukt},EWn.pf=function(n,t){Lkn(KB(n,135),t)},gX("org.eclipse.elk.alg.mrtree.p4route","EdgeRouter",1462),lAn(495,22,{3:1,35:1,22:1,495:1,246:1,234:1},bC),EWn.Kf=function(){return fwn(this)},EWn.Xf=function(){return fwn(this)};var Jkt,Ykt,Zkt,njt,tjt=Ken(Q3n,"RadialLayoutPhases",495,Gnt,YJ,$F);lAn(1131,209,$Yn,CE),EWn.Ze=function(n,t){var e,i,r;if(CTn(t,"Radial layout",kCn(this,n).c.length),By(jD(JAn(n,(Gyn(),Ijt))))||yY(new jw((HM(),new Ny(n)))),r=cTn(n),Vpn(n,(lD(),Xkt),r),!r)throw Fp(new Ry("The given graph is not a tree!"));for(0==(e=Hy(ED(JAn(n,Njt))))&&(e=sIn(n)),Vpn(n,Njt,e),i=new Ub(kCn(this,n));i.a<i.c.c.length;)KB(Y1(i),51).pf(n,pcn(t,1));FSn(t)},gX(Q3n,"RadialLayoutProvider",1131),lAn(549,1,EJn,PE),EWn.ue=function(n,t){return NRn(this.a,this.b,KB(n,33),KB(t,33))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},EWn.a=0,EWn.b=0,gX(Q3n,"RadialUtil/lambda$0$Type",549),lAn(1375,1,YZn,Da),EWn.pf=function(n,t){bGn(KB(n,33),t)},gX(Z3n,"CalculateGraphSize",1375),lAn(442,22,{3:1,35:1,22:1,442:1,234:1},wC),EWn.Kf=function(){switch(this.g){case 0:return new Ba;case 1:return new xa;case 2:return new Da;default:throw Fp(new Ry(E1n+(null!=this.f?this.f:""+this.g)))}};var ejt,ijt,rjt,cjt=Ken(Z3n,T1n,442,Gnt,x1,NF);lAn(645,1,{}),EWn.e=1,EWn.g=0,gX(n4n,"AbstractRadiusExtensionCompaction",645),lAn(1772,645,{},wD),EWn.hg=function(n){var t,e,i,r,c,a,u,o,s;for(this.c=KB(JAn(n,(lD(),Xkt)),33),nb(this,this.c),this.d=kvn(KB(JAn(n,(Gyn(),xjt)),293)),(o=KB(JAn(n,Ejt),19))&&Zl(this,o.a),tb(this,(mW(u=ED(JAn(n,(uWn(),APt)))),u)),s=lDn(this.c),this.d&&this.d.lg(s),g_n(this,s),a=new Qy(Mun(Hk(qOt,1),t4n,33,0,[this.c])),e=0;e<2;e++)for(t=0;t<s.c.length;t++)r=new Qy(Mun(Hk(qOt,1),t4n,33,0,[(h1(t,s.c.length),KB(s.c[t],33))])),c=t<s.c.length-1?(h1(t+1,s.c.length),KB(s.c[t+1],33)):(h1(0,s.c.length),KB(s.c[0],33)),i=0==t?KB(Lq(s,s.c.length-1),33):(h1(t-1,s.c.length),KB(s.c[t-1],33)),JTn(this,(h1(t,s.c.length),KB(s.c[t],33),a),i,c,r)},gX(n4n,"AnnulusWedgeCompaction",1772),lAn(1374,1,YZn,xa),EWn.pf=function(n,t){fjn(KB(n,33),t)},gX(n4n,"GeneralCompactor",1374),lAn(1771,645,{},Ra),EWn.hg=function(n){var t,e,i,r;e=KB(JAn(n,(lD(),Xkt)),33),this.f=e,this.b=kvn(KB(JAn(n,(Gyn(),xjt)),293)),(r=KB(JAn(n,Ejt),19))&&Zl(this,r.a),tb(this,(mW(i=ED(JAn(n,(uWn(),APt)))),i)),t=lDn(e),this.b&&this.b.lg(t),gPn(this,t)},EWn.a=0,gX(n4n,"RadialCompaction",1771),lAn(1779,1,{},_a),EWn.ig=function(n){var t,e,i,r,c,a;for(this.a=n,t=0,i=0,c=new Ub(a=lDn(n));c.a<c.c.c.length;)for(r=KB(Y1(c),33),e=++i;e<a.c.length;e++)VFn(this,r,(h1(e,a.c.length),KB(a.c[e],33)))&&(t+=1);return t},gX(e4n,"CrossingMinimizationPosition",1779),lAn(1777,1,{},Ka),EWn.ig=function(n){var t,e,r,c,a,u,o,s,f,l,b,w,d;for(r=0,e=new az(JL(bLn(n).a.Kc(),new h));bAn(e);)t=KB(G5(e),79),f=(o=MTn(KB(Utn((!t.c&&(t.c=new o_(xOt,t,5,8)),t.c),0),82))).i+o.g/2,l=o.j+o.f/2,c=n.i+n.g/2,a=n.j+n.f/2,(b=new Hj).a=f-c,b.b=l-a,Gkn(u=new LC(b.a,b.b),n.g,n.f),b.a-=u.a,b.b-=u.b,c=f-b.a,a=l-b.b,Gkn(s=new LC(b.a,b.b),o.g,o.f),b.a-=s.a,b.b-=s.b,w=(f=c+b.a)-c,d=(l=a+b.b)-a,r+=i.Math.sqrt(w*w+d*d);return r},gX(e4n,"EdgeLengthOptimization",1777),lAn(1778,1,{},Fa),EWn.ig=function(n){var t,e,r,c,a,u,o,s,f;for(r=0,e=new az(JL(bLn(n).a.Kc(),new h));bAn(e);)t=KB(G5(e),79),u=(a=MTn(KB(Utn((!t.c&&(t.c=new o_(xOt,t,5,8)),t.c),0),82))).i+a.g/2,o=a.j+a.f/2,c=KB(JAn(a,(uWn(),wPt)),8),s=u-(n.i+c.a+n.g/2),f=o-(n.j+c.b+n.f),r+=i.Math.sqrt(s*s+f*f);return r},gX(e4n,"EdgeLengthPositionOptimization",1778),lAn(1373,645,YZn,Ba),EWn.pf=function(n,t){sLn(this,KB(n,33),t)},gX("org.eclipse.elk.alg.radial.intermediate.overlaps","RadiusExtensionOverlapRemoval",1373),lAn(426,22,{3:1,35:1,22:1,426:1},dC);var ajt,ujt,ojt,sjt,hjt=Ken(r4n,"AnnulusWedgeCriteria",426,Gnt,ZJ,xF);lAn(380,22,{3:1,35:1,22:1,380:1},gC);var fjt,ljt,bjt,wjt,djt,gjt,pjt,vjt,mjt,yjt,kjt,jjt,Ejt,Tjt,Mjt,Sjt,Pjt,Cjt,Ijt,Ojt,Ajt,$jt,Ljt,Njt,xjt,Djt,Rjt,_jt,Kjt,Fjt,Bjt,Hjt=Ken(r4n,_Yn,380,Gnt,D1,DF);lAn(852,1,WJn,vf),EWn.Qe=function(n){Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,c4n),""),"Order ID"),"The id can be used to define an order for nodes of one radius. This can be used to sort them in the layer accordingly."),tln(0)),(MPn(),gMt)),Itt),Yln((epn(),uMt))))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,a4n),""),"Radius"),"The radius option can be used to set the initial radius for the radial layouter."),0),bMt),Mtt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,u4n),""),"Compaction"),"With the compacter option it can be determined how compaction on the graph is done. It can be chosen between none, the radial compaction or the compaction of wedges separately."),wjt),wMt),Hjt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,o4n),""),"Compaction Step Size"),"Determine the size of steps with which the compaction is done. Step size 1 correlates to a compaction of 1 pixel per Iteration."),tln(1)),gMt),Itt),Yln(oMt)))),r2(n,o4n,u4n,null),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,s4n),""),"Sorter"),"Sort the nodes per radius according to the sorting algorithm. The strategies are none, by the given order id, or sorting them by polar coordinates."),yjt),wMt),Vjt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,h4n),""),"Annulus Wedge Criteria"),"Determine how the wedge for the node placement is calculated. It can be chosen between wedge determination by the number of leaves or by the maximum sum of diagonals."),jjt),wMt),hjt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,f4n),""),"Translation Optimization"),"Find the optimal translation of the nodes of the first radii according to this criteria. For example edge crossings can be minimized."),gjt),wMt),Xjt),Yln(oMt)))),Zzn((new mf,n))},gX(r4n,"RadialMetaDataProvider",852),lAn(996,1,WJn,mf),EWn.Qe=function(n){Zzn(n)},gX(r4n,"RadialOptions",996),lAn(997,1,{},Ha),EWn.$e=function(){return new CE},EWn._e=function(n){},gX(r4n,"RadialOptions/RadialFactory",997),lAn(340,22,{3:1,35:1,22:1,340:1},pC);var qjt,Gjt,zjt,Ujt,Xjt=Ken(r4n,"RadialTranslationStrategy",340,Gnt,k3,RF);lAn(293,22,{3:1,35:1,22:1,293:1},vC);var Wjt,Vjt=Ken(r4n,"SortingStrategy",293,Gnt,_1,_F);lAn(1449,1,k3n,qa),EWn.Yf=function(n){return KB(n,33),null},EWn.pf=function(n,t){TLn(this,KB(n,33),t)},EWn.c=0,gX("org.eclipse.elk.alg.radial.p1position","EadesRadial",1449),lAn(1775,1,{},Ga),EWn.jg=function(n){return Gpn(n)},gX(b4n,"AnnulusWedgeByLeafs",1775),lAn(1776,1,{},za),EWn.jg=function(n){return XEn(this,n)},gX(b4n,"AnnulusWedgeByNodeSpace",1776),lAn(1450,1,k3n,Ua),EWn.Yf=function(n){return KB(n,33),null},EWn.pf=function(n,t){fEn(this,KB(n,33),t)},gX("org.eclipse.elk.alg.radial.p2routing","StraightLineEdgeRouter",1450),lAn(811,1,{},Qm),EWn.kg=function(n){},EWn.lg=function(n){Yp(this,n)},gX(w4n,"IDSorter",811),lAn(1774,1,EJn,Xa),EWn.ue=function(n,t){return Wrn(KB(n,33),KB(t,33))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(w4n,"IDSorter/lambda$0$Type",1774),lAn(1773,1,{},Irn),EWn.kg=function(n){i2(this,n)},EWn.lg=function(n){n.dc()||(this.e||i2(this,Yq(KB(n.Xb(0),33))),Yp(this.e,n))},gX(w4n,"PolarCoordinateSorter",1773),lAn(1136,209,$Yn,Wa),EWn.Ze=function(n,t){var e,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T;if(CTn(t,"Rectangle Packing",1),t.n&&t.n&&n&&v0(t,a2(n),(Ksn(),cOt)),e=Hy(ED(JAn(n,(U$n(),hEt)))),w=KB(JAn(n,MEt),381),p=By(jD(JAn(n,vEt))),y=By(jD(JAn(n,TEt))),f=By(jD(JAn(n,wEt))),k=KB(JAn(n,SEt),116),m=Hy(ED(JAn(n,OEt))),r=By(jD(JAn(n,IEt))),l=By(jD(JAn(n,dEt))),g=By(jD(JAn(n,gEt))),T=Hy(ED(JAn(n,AEt))),!n.a&&(n.a=new nU(qOt,n,10,11)),jrn(E=n.a),g){for(b=new $p,o=new IL(E);o.e!=o.i.gc();)M8(a=KB(mpn(o),33),bEt)&&(b.c[b.c.length]=a);for(s=new Ub(b);s.a<s.c.c.length;)unn(E,a=KB(Y1(s),33));for(TQ(),p$(b,new Va),h=new Ub(b);h.a<h.c.c.length;)a=KB(Y1(h),33),j=KB(JAn(a,bEt),19).a,uln(E,j=i.Math.min(j,E.i),a);for(d=0,u=new IL(E);u.e!=u.i.gc();)Vpn(a=KB(mpn(u),33),lEt,tln(d)),++d}(v=zPn(n)).a-=k.b+k.c,v.b-=k.d+k.a,v.a,T<0||T<v.a?(c=C_n(new yB(e,w,p),E,m,k),t.n&&t.n&&n&&v0(t,a2(n),(Ksn(),cOt))):c=new nq(e,T,0,(VLn(),REt)),v.a+=k.b+k.c,v.b+=k.d+k.a,y||(jrn(E),c=mzn(new p3(e,f,l,r,m),E,i.Math.max(v.a,c.c),v,t,n,k)),dan(E,k),DUn(n,c.c+(k.b+k.c),c.b+(k.d+k.a),!1,!0),By(jD(JAn(n,EEt)))||yY(new jw((HM(),new Ny(n)))),t.n&&t.n&&n&&v0(t,a2(n),(Ksn(),cOt)),FSn(t)},gX(v4n,"RectPackingLayoutProvider",1136),lAn(1137,1,EJn,Va),EWn.ue=function(n,t){return lsn(KB(n,33),KB(t,33))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(v4n,"RectPackingLayoutProvider/lambda$0$Type",1137),lAn(1256,1,{},yB),EWn.a=0,EWn.c=!1,gX(m4n,"AreaApproximation",1256);var Qjt,Jjt,Yjt,Zjt=fq(m4n,"BestCandidateFilter");lAn(638,1,{526:1},Qa),EWn.mg=function(n,t,e){var r,c,a,u,o,s;for(s=new $p,a=xQn,o=new Ub(n);o.a<o.c.c.length;)u=KB(Y1(o),220),a=i.Math.min(a,(u.c+(e.b+e.c))*(u.b+(e.d+e.a)));for(c=new Ub(n);c.a<c.c.c.length;)((r=KB(Y1(c),220)).c+(e.b+e.c))*(r.b+(e.d+e.a))==a&&(s.c[s.c.length]=r);return s},gX(m4n,"AreaFilter",638),lAn(639,1,{526:1},Ja),EWn.mg=function(n,t,e){var r,c,a,u,o,s;for(o=new $p,s=xQn,u=new Ub(n);u.a<u.c.c.length;)a=KB(Y1(u),220),s=i.Math.min(s,i.Math.abs((a.c+(e.b+e.c))/(a.b+(e.d+e.a))-t));for(c=new Ub(n);c.a<c.c.c.length;)r=KB(Y1(c),220),i.Math.abs((r.c+(e.b+e.c))/(r.b+(e.d+e.a))-t)==s&&(o.c[o.c.length]=r);return o},gX(m4n,"AspectRatioFilter",639),lAn(637,1,{526:1},Ya),EWn.mg=function(n,t,e){var r,c,a,u,o,s;for(s=new $p,a=DQn,o=new Ub(n);o.a<o.c.c.length;)u=KB(Y1(o),220),a=i.Math.max(a,Vq(u.c+(e.b+e.c),u.b+(e.d+e.a),u.a));for(c=new Ub(n);c.a<c.c.c.length;)Vq((r=KB(Y1(c),220)).c+(e.b+e.c),r.b+(e.d+e.a),r.a)==a&&(s.c[s.c.length]=r);return s},gX(m4n,"ScaleMeasureFilter",637),lAn(381,22,{3:1,35:1,22:1,381:1},mC);var nEt,tEt,eEt,iEt,rEt,cEt,aEt,uEt,oEt,sEt,hEt,fEt,lEt,bEt,wEt,dEt,gEt,pEt,vEt,mEt,yEt,kEt,jEt,EEt,TEt,MEt,SEt,PEt,CEt,IEt,OEt,AEt,$Et=Ken(y4n,"OptimizationGoal",381,Gnt,R1,KF);lAn(856,1,WJn,Cf),EWn.Qe=function(n){Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,k4n),""),"Optimization Goal"),"Optimization goal for approximation of the bounding box given by the first iteration. Determines whether layout is sorted by the maximum scaling, aspect ratio, or area. Depending on the strategy the aspect ratio might be nearly ignored."),uEt),(MPn(),wMt)),$Et),Yln((epn(),uMt))))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,j4n),""),"Shift Last Placed."),"When placing a rectangle behind or below the last placed rectangle in the first iteration, it is sometimes possible to shift the rectangle further to the left or right, resulting in less whitespace. True (default) enables the shift and false disables it. Disabling the shift produces a greater approximated area by the first iteration and a layout, when using ONLY the first iteration (default not the case), where it is sometimes impossible to implement a size transformation of rectangles that will fill the bounding box and eliminate empty spaces."),(oN(),!0)),lMt),mtt),Yln(uMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,E4n),""),"Current position of a node in the order of nodes"),"The rectangles are ordered. Normally according to their definition the the model. This option specifies the current position of a node."),tln(-1)),gMt),Itt),Yln(uMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,T4n),""),"Desired index of node"),"The rectangles are ordered. Normally according to their definition the the model. This option allows to specify a desired position that has preference over the original position."),tln(-1)),gMt),Itt),Yln(uMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,M4n),""),"Only Area Approximation"),"If enabled only the width approximation step is executed and the nodes are placed accordingly. The nodes are layouted according to the packingStrategy. If set to true not expansion of nodes is taking place."),!1),lMt),mtt),Yln(uMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,S4n),""),"Compact Rows"),"Enables compaction. Compacts blocks if they do not use the full height of the row. This option allows to have a smaller drawing. If this option is disabled all nodes are placed next to each other in rows."),!0),lMt),mtt),Yln(uMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,P4n),""),"Fit Aspect Ratio"),"Expands nodes if expandNodes is true to fit the aspect ratio instead of only in their bounds. The option is only useful if the used packingStrategy is ASPECT_RATIO_DRIVEN, otherwise this may result in unreasonable ndoe expansion."),!1),lMt),mtt),Yln(uMt)))),r2(n,P4n,I4n,null),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,C4n),""),"Target Width"),"Option to place the rectangles in the given target width instead of approximating the width using the desired aspect ratio. The padding is not included in this. Meaning a drawing will have width of targetwidth + horizontal padding."),-1),bMt),Mtt),Yln(uMt)))),$Xn((new If,n))},gX(y4n,"RectPackingMetaDataProvider",856),lAn(1004,1,WJn,If),EWn.Qe=function(n){$Xn(n)},gX(y4n,"RectPackingOptions",1004),lAn(1005,1,{},Za),EWn.$e=function(){return new Wa},EWn._e=function(n){},gX(y4n,"RectPackingOptions/RectpackingFactory",1005),lAn(1257,1,{},p3),EWn.a=0,EWn.b=!1,EWn.c=0,EWn.d=0,EWn.e=!1,EWn.f=!1,EWn.g=0,gX("org.eclipse.elk.alg.rectpacking.seconditeration","RowFillingAndCompaction",1257),lAn(187,1,{187:1},rsn),EWn.a=0,EWn.c=!1,EWn.d=0,EWn.e=0,EWn.f=0,EWn.g=0,EWn.i=0,EWn.k=!1,EWn.o=xQn,EWn.p=xQn,EWn.r=0,EWn.s=0,EWn.t=0,gX(A4n,"Block",187),lAn(211,1,{211:1},xY),EWn.a=0,EWn.b=0,EWn.d=0,EWn.e=0,EWn.f=0,gX(A4n,"BlockRow",211),lAn(443,1,{443:1},DY),EWn.b=0,EWn.c=0,EWn.d=0,EWn.e=0,EWn.f=0,gX(A4n,"BlockStack",443),lAn(220,1,{220:1},nq,rwn),EWn.a=0,EWn.b=0,EWn.c=0,EWn.d=0,EWn.e=0;var LEt,NEt,xEt,DEt,REt,_Et=gX(A4n,"DrawingData",220);lAn(355,22,{3:1,35:1,22:1,355:1},yC);var KEt,FEt,BEt,HEt,qEt=Ken(A4n,"DrawingDataDescriptor",355,Gnt,$5,FF);lAn(200,1,{200:1},L0),EWn.b=0,EWn.c=0,EWn.e=0,EWn.f=0,gX(A4n,"RectRow",200),lAn(756,1,{},khn),EWn.j=0,gX(L4n,w1n,756),lAn(1245,1,{},nu),EWn.Je=function(n){return U8(n.a,n.b)},gX(L4n,d1n,1245),lAn(1246,1,{},bg),EWn.Je=function(n){return d6(this.a,n)},gX(L4n,g1n,1246),lAn(1247,1,{},wg),EWn.Je=function(n){return Cpn(this.a,n)},gX(L4n,p1n,1247),lAn(1248,1,{},dg),EWn.Je=function(n){return con(this.a,n)},gX(L4n,"ElkGraphImporter/lambda$3$Type",1248),lAn(1249,1,{},gg),EWn.Je=function(n){return tOn(this.a,n)},gX(L4n,v1n,1249),lAn(1133,209,$Yn,OE),EWn.Ze=function(n,t){var e,i,r,c,a,u,o,s,h,f;for(M8(n,(EMn(),mTt))&&(f=TD(JAn(n,(Kvn(),BTt))),(c=zRn(iin(),f))&&KB(uY(c.f),209).Ze(n,pcn(t,1))),Vpn(n,wTt,(O6(),JEt)),Vpn(n,dTt,(OSn(),iTt)),Vpn(n,gTt,(Aun(),UTt)),a=KB(JAn(n,(Kvn(),RTt)),19).a,CTn(t,"Overlap removal",1),By(jD(JAn(n,DTt))),o=new pg(u=new xv),e=HXn(i=new khn,n),s=!0,r=0;r<a&&s;){if(By(jD(JAn(n,_Tt)))){if(u.a.$b(),FPn(new P$(o),e.i),0==u.a.gc())break;e.e=u}for(o2(this.b),SU(this.b,(Mbn(),FEt),(CM(),HTt)),SU(this.b,BEt,e.g),SU(this.b,HEt,(PM(),WEt)),this.a=Oqn(this.b,e),h=new Ub(this.a);h.a<h.c.c.length;)KB(Y1(h),51).pf(e,pcn(t,1));ijn(i,e),s=By(jD(pMn(e,(zcn(),Vrt)))),++r}NGn(i,e),FSn(t)},gX(L4n,"OverlapRemovalLayoutProvider",1133),lAn(1134,1,{},pg),gX(L4n,"OverlapRemovalLayoutProvider/lambda$0$Type",1134),lAn(437,22,{3:1,35:1,22:1,437:1},kC);var GEt,zEt,UEt=Ken(L4n,"SPOrEPhases",437,Gnt,K1,BF);lAn(1255,1,{},AE),gX(L4n,"ShrinkTree",1255),lAn(1135,209,$Yn,Jm),EWn.Ze=function(n,t){var e,i,r,c;M8(n,(EMn(),mTt))&&(c=TD(JAn(n,mTt)),(r=zRn(iin(),c))&&KB(uY(r.f),209).Ze(n,pcn(t,1))),e=HXn(i=new khn,n),OLn(this.a,e,pcn(t,1)),NGn(i,e)},gX(L4n,"ShrinkTreeLayoutProvider",1135),lAn(300,134,{3:1,300:1,94:1,134:1},NY),EWn.c=!1,gX("org.eclipse.elk.alg.spore.graph","Graph",300),lAn(482,22,{3:1,35:1,22:1,482:1,246:1,234:1},AM),EWn.Kf=function(){return nsn(this)},EWn.Xf=function(){return nsn(this)};var XEt,WEt,VEt=Ken(N4n,_Yn,482,Gnt,DV,HF);lAn(551,22,{3:1,35:1,22:1,551:1,246:1,234:1},gD),EWn.Kf=function(){return new ru},EWn.Xf=function(){return new ru};var QEt,JEt,YEt,ZEt=Ken(N4n,"OverlapRemovalStrategy",551,Gnt,RV,qF);lAn(430,22,{3:1,35:1,22:1,430:1},jC);var nTt,tTt,eTt,iTt,rTt,cTt,aTt=Ken(N4n,"RootSelection",430,Gnt,tY,GF);lAn(316,22,{3:1,35:1,22:1,316:1},EC);var uTt,oTt,sTt,hTt,fTt,lTt,bTt,wTt,dTt,gTt,pTt,vTt,mTt,yTt,kTt,jTt,ETt,TTt,MTt,STt,PTt,CTt,ITt,OTt,ATt,$Tt,LTt,NTt,xTt,DTt,RTt,_Tt,KTt,FTt,BTt,HTt,qTt=Ken(N4n,"SpanningTreeCostFunction",316,Gnt,I5,zF);lAn(1002,1,WJn,kf),EWn.Qe=function(n){vHn(n)},gX(N4n,"SporeCompactionOptions",1002),lAn(1003,1,{},tu),EWn.$e=function(){return new Jm},EWn._e=function(n){},gX(N4n,"SporeCompactionOptions/SporeCompactionFactory",1003),lAn(855,1,WJn,jf),EWn.Qe=function(n){Ibn(n,new fPn(Cj(Pj(Ij(kj(Sj(Ej(Tj(new Fu,D4n),""),"Underlying Layout Algorithm"),"A layout algorithm that is applied to the graph before it is compacted. If this is null, nothing is applied before compaction."),(MPn(),vMt)),Wtt),Yln((epn(),oMt))))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,B4n),"structure"),"Structure Extraction Strategy"),"This option defines what kind of triangulation or other partitioning of the plane is applied to the vertices."),NTt),wMt),XTt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,R4n),U4n),"Tree Construction Strategy"),"Whether a minimum spanning tree or a maximum spanning tree should be constructed."),$Tt),wMt),VTt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,_4n),U4n),"Cost Function for Spanning Tree"),"The cost function is used in the creation of the spanning tree."),OTt),wMt),qTt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,K4n),U4n),"Root node for spanning tree construction"),"The identifier of the node that is preferred as the root of the spanning tree. If this is null, the first node is chosen."),null),vMt),Wtt),Yln(oMt)))),r2(n,K4n,F4n,STt),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,F4n),U4n),"Root selection for spanning tree"),"This sets the method used to select a root node for the construction of a spanning tree"),CTt),wMt),aTt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,H4n),k2n),"Compaction Strategy"),"This option defines how the compaction is applied."),kTt),wMt),VEt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,q4n),k2n),"Orthogonal Compaction"),"Restricts the translation of nodes to orthogonal directions in the compaction phase."),(oN(),!1)),lMt),mtt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,G4n),X4n),"Upper limit for iterations of overlap removal"),null),tln(64)),gMt),Itt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,z4n),X4n),"Whether to run a supplementary scanline overlap check."),null),!0),lMt),mtt),Yln(oMt)))),I_n((new Ef,n)),vHn((new kf,n))},gX(N4n,"SporeMetaDataProvider",855),lAn(XVn,1,WJn,Ef),EWn.Qe=function(n){I_n(n)},gX(N4n,"SporeOverlapRemovalOptions",XVn),lAn(1001,1,{},eu),EWn.$e=function(){return new OE},EWn._e=function(n){},gX(N4n,"SporeOverlapRemovalOptions/SporeOverlapFactory",1001),lAn(530,22,{3:1,35:1,22:1,530:1,246:1,234:1},zW),EWn.Kf=function(){return tsn(this)},EWn.Xf=function(){return tsn(this)};var GTt,zTt,UTt,XTt=Ken(N4n,"StructureExtractionStrategy",530,Gnt,_V,UF);lAn(429,22,{3:1,35:1,22:1,429:1,246:1,234:1},TC),EWn.Kf=function(){return lwn(this)},EWn.Xf=function(){return lwn(this)};var WTt,VTt=Ken(N4n,"TreeConstructionStrategy",429,Gnt,nY,XF);lAn(1443,1,k3n,iu),EWn.Yf=function(n){return KB(n,300),new K2},EWn.pf=function(n,t){jjn(KB(n,300),t)},gX(V4n,"DelaunayTriangulationPhase",1443),lAn(1444,1,hVn,vg),EWn.td=function(n){UB(this.a,KB(n,65).a)},gX(V4n,"DelaunayTriangulationPhase/lambda$0$Type",1444),lAn(783,1,k3n,Xm),EWn.Yf=function(n){return KB(n,300),new K2},EWn.pf=function(n,t){this.ng(KB(n,300),t)},EWn.ng=function(n,t){var e;CTn(t,"Minimum spanning tree construction",1),e=n.d?n.d.a:KB(Lq(n.i,0),65).a,Dun(this,(By(jD(pMn(n,(zcn(),Wrt)))),VHn(n.e,e,n.b)),n),FSn(t)},gX(Q4n,"MinSTPhase",783),lAn(1446,783,k3n,vm),EWn.ng=function(n,t){var e,i;CTn(t,"Maximum spanning tree construction",1),e=new mg(n),i=n.d?n.d.c:KB(Lq(n.i,0),65).c,Dun(this,(By(jD(pMn(n,(zcn(),Wrt)))),VHn(n.e,i,e)),n),FSn(t)},gX(Q4n,"MaxSTPhase",1446),lAn(1447,1,{},mg),EWn.Je=function(n){return PC(this.a,n)},gX(Q4n,"MaxSTPhase/lambda$0$Type",1447),lAn(1445,1,hVn,yg),EWn.td=function(n){x$(this.a,KB(n,65))},gX(Q4n,"MinSTPhase/lambda$0$Type",1445),lAn(785,1,k3n,ru),EWn.Yf=function(n){return KB(n,300),new K2},EWn.pf=function(n,t){UTn(this,KB(n,300),t)},EWn.a=!1,gX(J4n,"GrowTreePhase",785),lAn(786,1,hVn,kB),EWn.td=function(n){nun(this.a,this.b,this.c,KB(n,221))},gX(J4n,"GrowTreePhase/lambda$0$Type",786),lAn(1448,1,k3n,cu),EWn.Yf=function(n){return KB(n,300),new K2},EWn.pf=function(n,t){Zvn(this,KB(n,300),t)},gX(J4n,"ShrinkTreeCompactionPhase",1448),lAn(784,1,hVn,jB),EWn.td=function(n){hAn(this.a,this.b,this.c,KB(n,221))},gX(J4n,"ShrinkTreeCompactionPhase/lambda$0$Type",784);var QTt,JTt,YTt=fq(v3n,"IGraphElementVisitor");lAn(860,1,{527:1},x0),EWn.og=function(n){var t;Ban(t=oRn(this,n),KB(xX(this.b,n),94)),vLn(this,n,t)},gX(LYn,"LayoutConfigurator",860);var ZTt,nMt,tMt,eMt=fq(LYn,"LayoutConfigurator/IPropertyHolderOptionFilter");lAn(932,1,{1933:1},au),EWn.pg=function(n,t){return $un(),!n.Xe(t)},gX(LYn,"LayoutConfigurator/lambda$0$Type",932),lAn(933,1,{1933:1},uu),EWn.pg=function(n,t){return TE(n,t)},gX(LYn,"LayoutConfigurator/lambda$1$Type",933),lAn(931,1,{831:1},ou),EWn.qg=function(n,t){return $un(),!n.Xe(t)},gX(LYn,"LayoutConfigurator/lambda$2$Type",931),lAn(934,1,NVn,AC),EWn.Mb=function(n){return VW(this.a,this.b,KB(n,1933))},gX(LYn,"LayoutConfigurator/lambda$3$Type",934),lAn(858,1,{},su),gX(LYn,"RecursiveGraphLayoutEngine",858),lAn(296,60,KVn,mv,ek),gX(LYn,"UnsupportedConfigurationException",296),lAn(453,60,KVn,ik),gX(LYn,"UnsupportedGraphException",453),lAn(754,1,{}),gX(v3n,"AbstractRandomListAccessor",754),lAn(500,754,{},SNn),EWn.rg=function(){return null},EWn.d=!0,EWn.e=!0,EWn.f=0,gX(Z4n,"AlgorithmAssembler",500),lAn(1236,1,NVn,hu),EWn.Mb=function(n){return!!KB(n,123)},gX(Z4n,"AlgorithmAssembler/lambda$0$Type",1236),lAn(1237,1,{},kg),EWn.Kb=function(n){return fj(this.a,KB(n,123))},gX(Z4n,"AlgorithmAssembler/lambda$1$Type",1237),lAn(1238,1,NVn,fu),EWn.Mb=function(n){return!!KB(n,80)},gX(Z4n,"AlgorithmAssembler/lambda$2$Type",1238),lAn(1239,1,hVn,jg),EWn.td=function(n){Qcn(this.a,KB(n,80))},gX(Z4n,"AlgorithmAssembler/lambda$3$Type",1239),lAn(1240,1,hVn,$C),EWn.td=function(n){Nx(this.a,this.b,KB(n,234))},gX(Z4n,"AlgorithmAssembler/lambda$4$Type",1240),lAn(1355,1,EJn,lu),EWn.ue=function(n,t){return _Q(KB(n,234),KB(t,234))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(Z4n,"EnumBasedFactoryComparator",1355),lAn(80,754,{80:1},K2),EWn.rg=function(){return new xv},EWn.a=0,gX(Z4n,"LayoutProcessorConfiguration",80),lAn(1013,1,{527:1},Of),EWn.og=function(n){Ycn(nMt,new Eg(n))},gX(qJn,"DeprecatedLayoutOptionReplacer",1013),lAn(1014,1,hVn,bu),EWn.td=function(n){$9(KB(n,160))},gX(qJn,"DeprecatedLayoutOptionReplacer/lambda$0$Type",1014),lAn(1015,1,hVn,wu),EWn.td=function(n){jwn(KB(n,160))},gX(qJn,"DeprecatedLayoutOptionReplacer/lambda$1$Type",1015),lAn(1016,1,{},Eg),EWn.Od=function(n,t){xx(this.a,KB(n,146),KB(t,38))},gX(qJn,"DeprecatedLayoutOptionReplacer/lambda$2$Type",1016),lAn(149,1,{686:1,149:1},ETn),EWn.Fb=function(n){return y5(this,n)},EWn.sg=function(){return this.b},EWn.tg=function(){return this.c},EWn.ne=function(){return this.e},EWn.Hb=function(){return gvn(this.c)},EWn.Ib=function(){return"Layout Algorithm: "+this.c};var iMt,rMt=gX(qJn,"LayoutAlgorithmData",149);lAn(263,1,{},du),gX(qJn,"LayoutAlgorithmData/Builder",263),lAn(1017,1,{527:1},gu),EWn.og=function(n){iL(n,239)&&!By(jD(n.We((uWn(),qSt))))&&DFn(KB(n,33))},gX(qJn,"LayoutAlgorithmResolver",1017),lAn(229,1,{686:1,229:1},GZ),EWn.Fb=function(n){return!!iL(n,229)&&p_(this.b,KB(n,229).b)},EWn.sg=function(){return this.a},EWn.tg=function(){return this.b},EWn.ne=function(){return this.d},EWn.Hb=function(){return gvn(this.b)},EWn.Ib=function(){return"Layout Type: "+this.b},gX(qJn,"LayoutCategoryData",229),lAn(344,1,{},pu),gX(qJn,"LayoutCategoryData/Builder",344),lAn(867,1,{},CRn),gX(qJn,"LayoutMetaDataService",867),lAn(868,1,{},GX),gX(qJn,"LayoutMetaDataService/Registry",868),lAn(478,1,{478:1},vu),gX(qJn,"LayoutMetaDataService/Registry/Triple",478),lAn(869,1,n5n,mu),EWn.ug=function(){return new Hj},gX(qJn,"LayoutMetaDataService/lambda$0$Type",869),lAn(870,1,t5n,yu),EWn.vg=function(n){return K$(KB(n,8))},gX(qJn,"LayoutMetaDataService/lambda$1$Type",870),lAn(879,1,n5n,ku),EWn.ug=function(){return new $p},gX(qJn,"LayoutMetaDataService/lambda$10$Type",879),lAn(880,1,t5n,ju),EWn.vg=function(n){return new Z_(KB(n,12))},gX(qJn,"LayoutMetaDataService/lambda$11$Type",880),lAn(881,1,n5n,Eu),EWn.ug=function(){return new VT},gX(qJn,"LayoutMetaDataService/lambda$12$Type",881),lAn(882,1,t5n,Tu),EWn.vg=function(n){return qB(KB(n,68))},gX(qJn,"LayoutMetaDataService/lambda$13$Type",882),lAn(883,1,n5n,Mu),EWn.ug=function(){return new xv},gX(qJn,"LayoutMetaDataService/lambda$14$Type",883),lAn(884,1,t5n,Su),EWn.vg=function(n){return QQ(KB(n,53))},gX(qJn,"LayoutMetaDataService/lambda$15$Type",884),lAn(885,1,n5n,Pu),EWn.ug=function(){return new sA},gX(qJn,"LayoutMetaDataService/lambda$16$Type",885),lAn(886,1,t5n,Cu),EWn.vg=function(n){return T4(KB(n,53))},gX(qJn,"LayoutMetaDataService/lambda$17$Type",886),lAn(887,1,n5n,Iu),EWn.ug=function(){return new qv},gX(qJn,"LayoutMetaDataService/lambda$18$Type",887),lAn(888,1,t5n,Ou),EWn.vg=function(n){return HB(KB(n,208))},gX(qJn,"LayoutMetaDataService/lambda$19$Type",888),lAn(871,1,n5n,Au),EWn.ug=function(){return new mm},gX(qJn,"LayoutMetaDataService/lambda$2$Type",871),lAn(872,1,t5n,$u),EWn.vg=function(n){return new Dj(KB(n,74))},gX(qJn,"LayoutMetaDataService/lambda$3$Type",872),lAn(873,1,n5n,Lu),EWn.ug=function(){return new hm},gX(qJn,"LayoutMetaDataService/lambda$4$Type",873),lAn(874,1,t5n,Nu),EWn.vg=function(n){return new IK(KB(n,142))},gX(qJn,"LayoutMetaDataService/lambda$5$Type",874),lAn(875,1,n5n,Du),EWn.ug=function(){return new fm},gX(qJn,"LayoutMetaDataService/lambda$6$Type",875),lAn(876,1,t5n,Ru),EWn.vg=function(n){return new CK(KB(n,116))},gX(qJn,"LayoutMetaDataService/lambda$7$Type",876),lAn(877,1,n5n,_u),EWn.ug=function(){return new Ju},gX(qJn,"LayoutMetaDataService/lambda$8$Type",877),lAn(878,1,t5n,Ku),EWn.vg=function(n){return new enn(KB(n,373))},gX(qJn,"LayoutMetaDataService/lambda$9$Type",878);var cMt,aMt,uMt,oMt,sMt,hMt=fq(PYn,"IProperty");lAn(23,1,{35:1,686:1,23:1,146:1},fPn),EWn.wd=function(n){return wL(this,KB(n,146))},EWn.Fb=function(n){return iL(n,23)?p_(this.f,KB(n,23).f):iL(n,146)&&p_(this.f,KB(n,146).tg())},EWn.wg=function(){var n;if(iL(this.b,4)){if(null==(n=Qdn(this.b)))throw Fp(new _y(a5n+this.f+"'. Make sure it's type is registered with the "+(kD(hAt),hAt.k)+i5n));return n}return this.b},EWn.sg=function(){return this.d},EWn.tg=function(){return this.f},EWn.ne=function(){return this.i},EWn.Hb=function(){return gvn(this.f)},EWn.Ib=function(){return"Layout Option: "+this.f},gX(qJn,"LayoutOptionData",23),lAn(24,1,{},Fu),gX(qJn,"LayoutOptionData/Builder",24),lAn(175,22,{3:1,35:1,22:1,175:1},IC);var fMt,lMt,bMt,wMt,dMt,gMt,pMt,vMt,mMt,yMt=Ken(qJn,"LayoutOptionData/Target",175,Gnt,C5,WF);lAn(277,22,{3:1,35:1,22:1,277:1},OC);var kMt,jMt,EMt,TMt=Ken(qJn,"LayoutOptionData/Type",277,Gnt,Rtn,VF);lAn(110,1,{110:1},fA,GV,wJ),EWn.Fb=function(n){var t;return!(null==n||!iL(n,110))&&(t=KB(n,110),iV(this.c,t.c)&&iV(this.d,t.d)&&iV(this.b,t.b)&&iV(this.a,t.a))},EWn.Hb=function(){return shn(Mun(Hk(Int,1),FWn,1,5,[this.c,this.d,this.b,this.a]))},EWn.Ib=function(){return"Rect[x="+this.c+",y="+this.d+",w="+this.b+",h="+this.a+"]"},EWn.a=0,EWn.b=0,EWn.c=0,EWn.d=0,gX(s1n,"ElkRectangle",110),lAn(8,1,{3:1,4:1,8:1,414:1},Hj,zZ,LC,lA),EWn.Fb=function(n){return Yin(this,n)},EWn.Hb=function(){return XO(this.a)+fyn(XO(this.b))},EWn.Jf=function(n){var t,e,i;for(e=0;e<n.length&&Lhn((f1(e,n.length),n.charCodeAt(e)),a1n);)++e;for(t=n.length;t>0&&Lhn((f1(t-1,n.length),n.charCodeAt(t-1)),u1n);)--t;if(e>=t)throw Fp(new Ry("The given string does not contain any numbers."));if(2!=(i=m_n(n.substr(e,t-e),",|;|\r|\n")).length)throw Fp(new Ry("Exactly two numbers are expected, "+i.length+" were found."));try{this.a=fSn(xMn(i[0])),this.b=fSn(xMn(i[1]))}catch(r){throw iL(r=hun(r),127)?Fp(new Ry(o1n+r)):Fp(r)}},EWn.Ib=function(){return"("+this.a+","+this.b+")"},EWn.a=0,EWn.b=0;var MMt=gX(s1n,"KVector",8);lAn(74,68,{3:1,4:1,20:1,28:1,52:1,14:1,68:1,15:1,74:1,414:1},mm,Dj,Gx),EWn.Pc=function(){return Xsn(this)},EWn.Jf=function(n){var t,e,i,r,c;e=m_n(n,",|;|\\(|\\)|\\[|\\]|\\{|\\}| |\t|\n"),vQ(this);try{for(t=0,r=0,i=0,c=0;t<e.length;)null!=e[t]&&xMn(e[t]).length>0&&(r%2==0?i=fSn(e[t]):c=fSn(e[t]),r>0&&r%2!=0&&NH(this,new LC(i,c)),++r),++t}catch(a){throw iL(a=hun(a),127)?Fp(new Ry("The given string does not match the expected format for vectors."+a)):Fp(a)}},EWn.Ib=function(){var n,t,e;for(n=new hN("("),t=upn(this,0);t.b!=t.d.c;)aO(n,(e=KB(f3(t),8)).a+","+e.b),t.b!=t.d.c&&(n.a+="; ");return(n.a+=")",n).a};var SMt,PMt,CMt,IMt,OMt,AMt,$Mt=gX(s1n,"KVectorChain",74);lAn(248,22,{3:1,35:1,22:1,248:1},NC);var LMt,NMt,xMt,DMt,RMt,_Mt,KMt,FMt,BMt,HMt,qMt,GMt,zMt,UMt,XMt,WMt,VMt,QMt,JMt,YMt=Ken(o5n,"Alignment",248,Gnt,Q8,QF);lAn(979,1,WJn,Af),EWn.Qe=function(n){HKn(n)},gX(o5n,"BoxLayouterOptions",979),lAn(980,1,{},xu),EWn.$e=function(){return new Gu},EWn._e=function(n){},gX(o5n,"BoxLayouterOptions/BoxFactory",980),lAn(291,22,{3:1,35:1,22:1,291:1},xC);var ZMt,nSt,tSt,eSt,iSt,rSt,cSt,aSt,uSt,oSt,sSt,hSt,fSt,lSt,bSt,wSt,dSt,gSt,pSt,vSt,mSt,ySt,kSt,jSt,ESt,TSt,MSt,SSt,PSt,CSt,ISt,OSt,ASt,$St,LSt,NSt,xSt,DSt,RSt,_St,KSt,FSt,BSt,HSt,qSt,GSt,zSt,USt,XSt,WSt,VSt,QSt,JSt,YSt,ZSt,nPt,tPt,ePt,iPt,rPt,cPt,aPt,uPt,oPt,sPt,hPt,fPt,lPt,bPt,wPt,dPt,gPt,pPt,vPt,mPt,yPt,kPt,jPt,EPt,TPt,MPt,SPt,PPt,CPt,IPt,OPt,APt,$Pt,LPt,NPt,xPt,DPt,RPt,_Pt,KPt,FPt,BPt=Ken(o5n,"ContentAlignment",291,Gnt,V8,JF);lAn(684,1,WJn,$f),EWn.Qe=function(n){Ibn(n,new fPn(Cj(Pj(Ij(kj(Sj(Ej(Tj(new Fu,l5n),""),"Layout Algorithm"),"Select a specific layout algorithm."),(MPn(),vMt)),Wtt),Yln((epn(),oMt))))),Ibn(n,new fPn(Cj(Pj(Ij(kj(Sj(Ej(Tj(new Fu,b5n),""),"Resolved Layout Algorithm"),"Meta data associated with the selected algorithm."),pMt),rMt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,U2n),""),"Alignment"),"Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm."),eSt),wMt),YMt),Yln(uMt)))),Ibn(n,new fPn(Cj(Pj(Ij(kj(Sj(Ej(Tj(new Fu,XYn),""),"Aspect Ratio"),"The desired aspect ratio of the drawing, that is the quotient of width by height."),bMt),Mtt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(kj(Sj(Ej(Tj(new Fu,w5n),""),"Bend Points"),"A fixed list of bend points for the edge. This is used by the 'Fixed Layout' algorithm to specify a pre-defined routing for an edge. The vector chain must include the source point, any bend points, and the target point, so it must have at least two points."),pMt),$Mt),Yln(cMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,c3n),""),"Content Alignment"),"Specifies how the content of a node are aligned. Each node can individually control the alignment of its contents. I.e. if a node should be aligned top left in its parent node, the parent node should specify that option."),sSt),dMt),BPt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,z2n),""),"Debug Mode"),"Whether additional debug information shall be generated."),(oN(),!1)),lMt),mtt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,Q2n),""),jYn),"Overall direction of edges: horizontal (right / left) or vertical (down / up)."),lSt),wMt),UPt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,v2n),""),"Edge Routing"),"What kind of edge routing style should be applied for the content of a parent node. Algorithms may also set this option to single edges in order to mark them as splines. The bend point list of edges with this option set to SPLINES must be interpreted as control points for a piecewise cubic spline."),pSt),wMt),aCt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,I4n),""),"Expand Nodes"),"If active, nodes are expanded to fill the area of their parent."),!1),lMt),mtt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,b2n),""),"Hierarchy Handling"),"Determines whether separate layout runs are triggered for different compound nodes in a hierarchical graph. Setting a node's hierarchy handling to `INCLUDE_CHILDREN` will lay out that node and all of its descendants in a single layout run, until a descendant is encountered which has its hierarchy handling set to `SEPARATE_CHILDREN`. In general, `SEPARATE_CHILDREN` will ensure that a new layout run is triggered for a node with that setting. Including multiple levels of hierarchy in a single layout run may allow cross-hierarchical edges to be laid out properly. If the root node is set to `INHERIT` (or not set at all), the default behavior is `SEPARATE_CHILDREN`."),jSt),wMt),TCt),kG(oMt,Mun(Hk(yMt,1),OVn,175,0,[uMt]))))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,WYn),""),"Padding"),"The padding to be left to a parent element's border when placing child elements. This can also serve as an output option of a layout algorithm if node size calculation is setup appropriately."),USt),pMt),Rut),kG(oMt,Mun(Hk(yMt,1),OVn,175,0,[uMt]))))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,yZn),""),"Interactive"),"Whether the algorithm should be run in interactive mode for the content of a parent node. What this means exactly depends on how the specific algorithm interprets this option. Usually in the interactive mode algorithms try to modify the current layout as little as possible."),!1),lMt),mtt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,p3n),""),"interactive Layout"),"Whether the graph should be changeable interactively and by setting constraints"),!1),lMt),mtt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,EZn),""),"Omit Node Micro Layout"),"Node micro layout comprises the computation of node dimensions (if requested), the placement of ports and their labels, and the placement of node labels. The functionality is implemented independent of any specific layout algorithm and shouldn't have any negative impact on the layout algorithm's performance itself. Yet, if any unforeseen behavior occurs, this option allows to deactivate the micro layout."),!1),lMt),mtt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,kZn),""),"Port Constraints"),"Defines constraints of the position of the ports of a node."),aPt),wMt),rIt),Yln(uMt)))),Ibn(n,new fPn(Cj(Pj(Ij(kj(Sj(Ej(Tj(new Fu,w3n),""),"Position"),"The position of a node, port, or label. This is used by the 'Fixed Layout' algorithm to specify a pre-defined position."),pMt),MMt),kG(uMt,Mun(Hk(yMt,1),OVn,175,0,[sMt,aMt]))))),Ibn(n,new fPn(Cj(Pj(Ij(kj(Sj(Ej(Tj(new Fu,dZn),""),"Priority"),"Defines the priority of an object; its meaning depends on the specific layout algorithm and the context where it is used."),gMt),Itt),kG(uMt,Mun(Hk(yMt,1),OVn,175,0,[cMt]))))),Ibn(n,new fPn(Cj(Pj(Ij(kj(Sj(Ej(Tj(new Fu,vZn),""),"Randomization Seed"),"Seed used for pseudo-random number generators to control the layout algorithm. If the value is 0, the seed shall be determined pseudo-randomly (e.g. from the system time)."),gMt),Itt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(kj(Sj(Ej(Tj(new Fu,mZn),""),"Separate Connected Components"),"Whether each connected component should be processed separately."),lMt),mtt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,a3n),""),"Junction Points"),"This option is not used as option, but as output of the layout algorithms. It is attached to edges and determines the points where junction symbols should be drawn in order to represent hyperedges with orthogonal routing. Whether such points are computed depends on the chosen layout algorithm and edge routing style. The points are put into the vector chain with no specific order."),ISt),pMt),$Mt),Yln(cMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,s3n),""),"Comment Box"),"Whether the node should be regarded as a comment box instead of a regular node. In that case its placement should be similar to how labels are handled. Any edges incident to a comment box specify to which graph elements the comment is related."),!1),lMt),mtt),Yln(uMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,h3n),""),"Hypernode"),"Whether the node should be handled as a hypernode."),!1),lMt),mtt),Yln(uMt)))),Ibn(n,new fPn(Cj(Pj(Ij(kj(Sj(Ej(Tj(new Fu,d5n),""),"Label Manager"),"Label managers can shorten labels upon a layout algorithm's request."),pMt),xNt),kG(oMt,Mun(Hk(yMt,1),OVn,175,0,[aMt]))))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,d3n),""),"Margins"),"Margins define additional space around the actual bounds of a graph element. For instance, ports or labels being placed on the outside of a node's border might introduce such a margin. The margin is used to guarantee non-overlap of other graph elements with those ports or labels."),ASt),pMt),kut),Yln(uMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,q2n),""),"No Layout"),"No layout is done for the associated element. This is used to mark parts of a diagram to avoid their inclusion in the layout graph, or to mark parts of the layout graph to prevent layout engines from processing them. If you wish to exclude the contents of a compound node from automatic layout, while the node itself is still considered on its own layer, use the 'Fixed Layout' algorithm for that node."),!1),lMt),mtt),kG(uMt,Mun(Hk(yMt,1),OVn,175,0,[cMt,sMt,aMt]))))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,g5n),""),"Scale Factor"),"The scaling factor to be applied to the corresponding node in recursive layout. It causes the corresponding node's size to be adjusted, and its ports and labels to be sized and placed accordingly after the layout of that node has been determined (and before the node itself and its siblings are arranged). The scaling is not reverted afterwards, so the resulting layout graph contains the adjusted size and position data. This option is currently not supported if 'Layout Hierarchy' is set."),1),bMt),Mtt),Yln(uMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,p5n),""),"Animate"),"Whether the shift from the old layout to the new computed layout shall be animated."),!0),lMt),mtt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,v5n),""),"Animation Time Factor"),"Factor for computation of animation time. The higher the value, the longer the animation time. If the value is 0, the resulting time is always equal to the minimum defined by 'Minimal Animation Time'."),tln(100)),gMt),Itt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,m5n),""),"Layout Ancestors"),"Whether the hierarchy levels on the path from the selected element to the root of the diagram shall be included in the layout process."),!1),lMt),mtt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,y5n),""),"Maximal Animation Time"),"The maximal time for animations, in milliseconds."),tln(4e3)),gMt),Itt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,k5n),""),"Minimal Animation Time"),"The minimal time for animations, in milliseconds."),tln(400)),gMt),Itt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,j5n),""),"Progress Bar"),"Whether a progress bar shall be displayed during layout computations."),!1),lMt),mtt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,E5n),""),"Validate Graph"),"Whether the graph shall be validated before any layout algorithm is applied. If this option is enabled and at least one error is found, the layout process is aborted and a message is shown to the user."),!1),lMt),mtt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,T5n),""),"Validate Options"),"Whether layout options shall be validated before any layout algorithm is applied. If this option is enabled and at least one error is found, the layout process is aborted and a message is shown to the user."),!0),lMt),mtt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,M5n),""),"Zoom to Fit"),"Whether the zoom level shall be set to view the whole diagram after layout."),!1),lMt),mtt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,f5n),"box"),"Box Layout Mode"),"Configures the packing mode used by the {@link BoxLayoutProvider}. If SIMPLE is not required (neither priorities are used nor the interactive mode), GROUP_DEC can improve the packing and decrease the area. GROUP_MIXED and GROUP_INC may, in very specific scenarios, work better."),aSt),wMt),iOt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,A2n),m2n),"Comment Comment Spacing"),"Spacing to be preserved between a comment box and other comment boxes connected to the same node. The space left between comment boxes of different nodes is controlled by the node-node spacing."),10),bMt),Mtt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,$2n),m2n),"Comment Node Spacing"),"Spacing to be preserved between a node and its connected comment boxes. The space left between a node and the comments of another node is controlled by the node-node spacing."),10),bMt),Mtt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,zYn),m2n),"Components Spacing"),"Spacing to be preserved between pairs of connected components. This option is only relevant if 'separateConnectedComponents' is activated."),20),bMt),Mtt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,L2n),m2n),"Edge Spacing"),"Spacing to be preserved between any two edges. Note that while this can somewhat easily be satisfied for the segments of orthogonally drawn edges, it is harder for general polylines or splines."),10),bMt),Mtt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,pZn),m2n),"Edge Label Spacing"),"The minimal distance to be preserved between a label and the edge it is associated with. Note that the placement of a label is influenced by the 'edgelabels.placement' option."),2),bMt),Mtt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,N2n),m2n),"Edge Node Spacing"),"Spacing to be preserved between nodes and edges."),10),bMt),Mtt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,x2n),m2n),"Label Spacing"),"Determines the amount of space to be left between two labels of the same graph element."),0),bMt),Mtt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,_2n),m2n),"Label Node Spacing"),"Spacing to be preserved between labels and the border of node they are associated with. Note that the placement of a label is influenced by the 'nodelabels.placement' option."),5),bMt),Mtt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,D2n),m2n),"Horizontal spacing between Label and Port"),"Horizontal spacing to be preserved between labels and the ports they are associated with. Note that the placement of a label is influenced by the 'portlabels.placement' option."),1),bMt),Mtt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,R2n),m2n),"Vertical spacing between Label and Port"),"Vertical spacing to be preserved between labels and the ports they are associated with. Note that the placement of a label is influenced by the 'portlabels.placement' option."),1),bMt),Mtt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,gZn),m2n),"Node Spacing"),"The minimal distance to be preserved between each two nodes."),20),bMt),Mtt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,K2n),m2n),"Node Self Loop Spacing"),"Spacing to be preserved between a node and its self loops."),10),bMt),Mtt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,F2n),m2n),"Port Spacing"),"Spacing between pairs of ports of the same node."),10),bMt),Mtt),kG(oMt,Mun(Hk(yMt,1),OVn,175,0,[uMt]))))),Ibn(n,new fPn(Cj(Pj(Ij(kj(Sj(Ej(Tj(new Fu,B2n),m2n),"Individual Spacing"),"Allows to specify individual spacing values for graph elements that shall be different from the value specified for the element's parent."),pMt),oOt),kG(uMt,Mun(Hk(yMt,1),OVn,175,0,[cMt,sMt,aMt]))))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,g3n),m2n),"Additional Port Space"),"Additional space around the sets of ports on each node side. For each side of a node, this option can reserve additional space before and after the ports on each side. For example, a top spacing of 20 makes sure that the first port on the western and eastern side is 20 units away from the northern border."),NPt),pMt),kut),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(kj(Sj(Ej(Tj(new Fu,b3n),I5n),"Layout Partition"),"Partition to which the node belongs. This requires Layout Partitioning to be active. Nodes with lower partition IDs will appear to the left of nodes with higher partition IDs (assuming a left-to-right layout direction)."),gMt),Itt),kG(oMt,Mun(Hk(yMt,1),OVn,175,0,[uMt]))))),r2(n,b3n,l3n,QSt),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,l3n),I5n),"Layout Partitioning"),"Whether to activate partitioned layout. This will allow to group nodes through the Layout Partition option. a pair of nodes with different partition indices is then placed such that the node with lower index is placed to the left of the other node (with left-to-right layout direction). Depending on the layout algorithm, this may only be guaranteed to work if all nodes have a layout partition configured, or at least if edges that cross partitions are not part of a partition-crossing cycle."),WSt),lMt),mtt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,J2n),O5n),"Node Label Padding"),"Define padding for node labels that are placed inside of a node."),LSt),pMt),Rut),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,SZn),O5n),"Node Label Placement"),"Hints for where node labels are to be placed; if empty, the node label's position is not modified."),xSt),dMt),HCt),kG(uMt,Mun(Hk(yMt,1),OVn,175,0,[aMt]))))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,n3n),A5n),"Port Alignment"),"Defines the default port distribution for a node. May be overridden for each side individually."),YSt),wMt),QCt),Yln(uMt)))),Ibn(n,new fPn(Cj(Pj(Ij(kj(Sj(Ej(Tj(new Fu,t3n),A5n),"Port Alignment (North)"),"Defines how ports on the northern side are placed, overriding the node's general port alignment."),wMt),QCt),Yln(uMt)))),Ibn(n,new fPn(Cj(Pj(Ij(kj(Sj(Ej(Tj(new Fu,e3n),A5n),"Port Alignment (South)"),"Defines how ports on the southern side are placed, overriding the node's general port alignment."),wMt),QCt),Yln(uMt)))),Ibn(n,new fPn(Cj(Pj(Ij(kj(Sj(Ej(Tj(new Fu,i3n),A5n),"Port Alignment (West)"),"Defines how ports on the western side are placed, overriding the node's general port alignment."),wMt),QCt),Yln(uMt)))),Ibn(n,new fPn(Cj(Pj(Ij(kj(Sj(Ej(Tj(new Fu,r3n),A5n),"Port Alignment (East)"),"Defines how ports on the eastern side are placed, overriding the node's general port alignment."),wMt),QCt),Yln(uMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,MZn),$5n),"Node Size Constraints"),"What should be taken into account when calculating a node's size. Empty size constraints specify that a node's size is already fixed and should not be changed."),RSt),dMt),VIt),Yln(uMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,TZn),$5n),"Node Size Options"),"Options modifying the behavior of the size constraints set on a node. Each member of the set specifies something that should be taken into account when calculating node sizes. The empty set corresponds to no further modifications."),HSt),dMt),tOt),Yln(uMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,KZn),$5n),"Node Size Minimum"),"The minimal size to which a node can be reduced."),FSt),pMt),MMt),Yln(uMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,V2n),$5n),"Fixed Graph Size"),"By default, the fixed layout provider will enlarge a graph until it is large enough to contain its children. If this option is set, it won't do so."),!1),lMt),mtt),Yln(oMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,u3n),I2n),"Edge Label Placement"),"Gives a hint on where to put edge labels."),dSt),wMt),YPt),Yln(aMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,jZn),I2n),"Inline Edge Labels"),"If true, an edge label is placed directly on its edge. May only apply to center edge labels. This kind of label placement is only advisable if the label's rendering is such that it is not crossed by its edge and thus stays legible."),!1),lMt),mtt),Yln(aMt)))),Ibn(n,new fPn(Cj(Pj(Ij(kj(Sj(Ej(Tj(new Fu,S5n),"font"),"Font Name"),"Font name used for a label."),vMt),Wtt),Yln(aMt)))),Ibn(n,new fPn(Cj(Pj(Ij(kj(Sj(Ej(Tj(new Fu,P5n),"font"),"Font Size"),"Font size used for a label."),gMt),Itt),Yln(aMt)))),Ibn(n,new fPn(Cj(Pj(Ij(kj(Sj(Ej(Tj(new Fu,f3n),L5n),"Port Anchor Offset"),"The offset to the port position where connections shall be attached."),pMt),MMt),Yln(sMt)))),Ibn(n,new fPn(Cj(Pj(Ij(kj(Sj(Ej(Tj(new Fu,o3n),L5n),"Port Index"),"The index of a port in the fixed order around a node. The order is assumed as clockwise, starting with the leftmost port on the top side. This option must be set if 'Port Constraints' is set to FIXED_ORDER and no specific positions are given for the ports. Additionally, the option 'Port Side' must be defined in this case."),gMt),Itt),Yln(sMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,G2n),L5n),"Port Side"),"The side of a node on which a port is situated. This option must be set if 'Port Constraints' is set to FIXED_SIDE or FIXED_ORDER and no specific positions are given for the ports."),bPt),wMt),_It),Yln(sMt)))),Ibn(n,new fPn(Cj(Pj(Ij(kj(Sj(Ej(Tj(new Fu,H2n),L5n),"Port Border Offset"),"The offset of ports on the node border. With a positive offset the port is moved outside of the node, while with a negative offset the port is moved towards the inside. An offset of 0 means that the port is placed directly on the node border, i.e. if the port side is north, the port's south border touches the nodes's north border; if the port side is east, the port's west border touches the nodes's east border; if the port side is south, the port's north border touches the node's south border; if the port side is west, the port's east border touches the node's west border."),bMt),Mtt),Yln(sMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,PZn),N5n),"Port Label Placement"),"Decides on a placement method for port labels; if empty, the node label's position is not modified."),hPt),dMt),PIt),Yln(uMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,Y2n),N5n),"Port Labels Next to Port"),"Use 'portLabels.placement': NEXT_TO_PORT_OF_POSSIBLE."),!1),lMt),mtt),Yln(uMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,Z2n),N5n),"Treat Port Labels as Group"),"If this option is true (default), the labels of a port will be treated as a group when it comes to centering them next to their port. If this option is false, only the first label will be centered next to the port, with the others being placed below. This only applies to labels of eastern and western ports and will have no effect if labels are not placed next to their port."),!0),lMt),mtt),Yln(uMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,X2n),x5n),"Activate Inside Self Loops"),"Whether this node allows to route self loops inside of it instead of around it. If set to true, this will make the node a compound node if it isn't already, and will require the layout algorithm to support compound nodes with hierarchical ports."),!1),lMt),mtt),Yln(uMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,W2n),x5n),"Inside Self Loop"),"Whether a self loop should be routed inside a node instead of around that node."),!1),lMt),mtt),Yln(cMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,UYn),"edge"),"Edge Thickness"),"The thickness of an edge. This is a hint on the line width used to draw an edge, possibly requiring more space to be reserved for it."),1),bMt),Mtt),Yln(cMt)))),Ibn(n,new fPn(Cj(Pj(Ij(jj(kj(Sj(Ej(Tj(new Fu,C5n),"edge"),"Edge Type"),"The type of an edge. This is usually used for UML class diagrams, where associations must be handled differently from generalizations."),mSt),wMt),vCt),Yln(cMt)))),LM(n,new GZ(vj(yj(mj(new pu,l1n),"Layered"),'The layer-based method was introduced by Sugiyama, Tagawa and Toda in 1981. It emphasizes the direction of edges by pointing as many edges as possible into the same direction. The nodes are arranged in layers, which are sometimes called "hierarchies", and then reordered such that the number of edge crossings is minimized. Afterwards, concrete coordinates are computed for the nodes and edge bend points.'))),LM(n,new GZ(vj(yj(mj(new pu,"org.eclipse.elk.orthogonal"),"Orthogonal"),'Orthogonal methods that follow the "topology-shape-metrics" approach by Batini, Nardelli and Tamassia \'86. The first phase determines the topology of the drawing by applying a planarization technique, which results in a planar representation of the graph. The orthogonal shape is computed in the second phase, which aims at minimizing the number of edge bends, and is called orthogonalization. The third phase leads to concrete coordinates for nodes and edge bend points by applying a compaction method, thus defining the metrics.'))),LM(n,new GZ(vj(yj(mj(new pu,wZn),"Force"),"Layout algorithms that follow physical analogies by simulating a system of attractive and repulsive forces. The first successful method of this kind was proposed by Eades in 1984."))),LM(n,new GZ(vj(yj(mj(new pu,"org.eclipse.elk.circle"),"Circle"),"Circular layout algorithms emphasize cycles or biconnected components of a graph by arranging them in circles. This is useful if a drawing is desired where such components are clearly grouped, or where cycles are shown as prominent OPTIONS of the graph."))),LM(n,new GZ(vj(yj(mj(new pu,V3n),"Tree"),"Specialized layout methods for trees, i.e. acyclic graphs. The regular structure of graphs that have no undirected cycles can be emphasized using an algorithm of this type."))),LM(n,new GZ(vj(yj(mj(new pu,"org.eclipse.elk.planar"),"Planar"),"Algorithms that require a planar or upward planar graph. Most of these algorithms are theoretically interesting, but not practically usable."))),LM(n,new GZ(vj(yj(mj(new pu,l4n),"Radial"),"Radial layout algorithms usually position the nodes of the graph on concentric circles."))),f_n((new Lf,n)),HKn((new Af,n)),xDn((new Nf,n))},gX(o5n,"CoreOptions",684),lAn(103,22,{3:1,35:1,22:1,103:1},DC);var HPt,qPt,GPt,zPt,UPt=Ken(o5n,jYn,103,Gnt,S5,nB);lAn(272,22,{3:1,35:1,22:1,272:1},RC);var XPt,WPt,VPt,QPt,JPt,YPt=Ken(o5n,"EdgeLabelPlacement",272,Gnt,B1,tB);lAn(218,22,{3:1,35:1,22:1,218:1},_C);var ZPt,nCt,tCt,eCt,iCt,rCt,cCt,aCt=Ken(o5n,"EdgeRouting",218,Gnt,T3,eB);lAn(312,22,{3:1,35:1,22:1,312:1},KC);var uCt,oCt,sCt,hCt,fCt,lCt,bCt,wCt,dCt,gCt,pCt,vCt=Ken(o5n,"EdgeType",312,Gnt,r9,iB);lAn(977,1,WJn,Lf),EWn.Qe=function(n){f_n(n)},gX(o5n,"FixedLayouterOptions",977),lAn(978,1,{},Vu),EWn.$e=function(){return new Hu},EWn._e=function(n){},gX(o5n,"FixedLayouterOptions/FixedFactory",978),lAn(334,22,{3:1,35:1,22:1,334:1},FC);var mCt,yCt,kCt,jCt,ECt,TCt=Ken(o5n,"HierarchyHandling",334,Gnt,F1,rB);lAn(285,22,{3:1,35:1,22:1,285:1},BC);var MCt,SCt,PCt,CCt,ICt,OCt,ACt,$Ct,LCt,NCt,xCt=Ken(o5n,"LabelSide",285,Gnt,E3,cB);lAn(93,22,{3:1,35:1,22:1,93:1},HC);var DCt,RCt,_Ct,KCt,FCt,BCt,HCt=Ken(o5n,"NodeLabelPlacement",93,Gnt,men,aB);lAn(249,22,{3:1,35:1,22:1,249:1},qC);var qCt,GCt,zCt,UCt,XCt,WCt,VCt,QCt=Ken(o5n,"PortAlignment",249,Gnt,P5,uB);lAn(98,22,{3:1,35:1,22:1,98:1},GC);var JCt,YCt,ZCt,nIt,tIt,eIt,iIt,rIt=Ken(o5n,"PortConstraints",98,Gnt,T8,oB);lAn(273,22,{3:1,35:1,22:1,273:1},zC);var cIt,aIt,uIt,oIt,sIt,hIt,fIt,lIt,bIt,wIt,dIt,gIt,pIt,vIt,mIt,yIt,kIt,jIt,EIt,TIt,MIt,SIt,PIt=Ken(o5n,"PortLabelPlacement",273,Gnt,i9,sB);lAn(61,22,{3:1,35:1,22:1,61:1},UC);var CIt,IIt,OIt,AIt,$It,LIt,NIt,xIt,DIt,RIt,_It=Ken(o5n,"PortSide",61,Gnt,o5,lB);lAn(981,1,WJn,Nf),EWn.Qe=function(n){xDn(n)},gX(o5n,"RandomLayouterOptions",981),lAn(982,1,{},Qu),EWn.$e=function(){return new no},EWn._e=function(n){},gX(o5n,"RandomLayouterOptions/RandomFactory",982),lAn(374,22,{3:1,35:1,22:1,374:1},XC);var KIt,FIt,BIt,HIt,qIt,GIt,zIt,UIt,XIt,WIt,VIt=Ken(o5n,"SizeConstraint",374,Gnt,j3,hB);lAn(259,22,{3:1,35:1,22:1,259:1},WC);var QIt,JIt,YIt,ZIt,nOt,tOt=Ken(o5n,"SizeOptions",259,Gnt,kin,fB);lAn(370,1,{1949:1},zm),EWn.b=!1,EWn.c=0,EWn.d=-1,EWn.e=null,EWn.f=null,EWn.g=-1,EWn.j=!1,EWn.k=!1,EWn.n=!1,EWn.o=0,EWn.q=0,EWn.r=0,gX(v3n,"BasicProgressMonitor",370),lAn(972,209,$Yn,Gu),EWn.Ze=function(n,t){var e,i,r,c,a,u,o,s,h;CTn(t,"Box layout",2),r=qy(ED(JAn(n,(TMn(),zMt)))),c=KB(JAn(n,HMt),116),e=By(jD(JAn(n,RMt))),i=By(jD(JAn(n,_Mt))),0===KB(JAn(n,xMt),311).g?(u=new Z_((!n.a&&(n.a=new nU(qOt,n,10,11)),n.a)),TQ(),p$(u,new Tg(i)),a=u,o=zPn(n),(null==(s=ED(JAn(n,NMt)))||(mW(s),s<=0))&&(s=1.3),DUn(n,(h=FUn(a,r,c,o.a,o.b,e,(mW(s),s))).a,h.b,!1,!0)):mqn(n,r,c,e),FSn(t)},gX(v3n,"BoxLayoutProvider",972),lAn(973,1,EJn,Tg),EWn.ue=function(n,t){return oNn(this,KB(n,33),KB(t,33))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},EWn.a=!1,gX(v3n,"BoxLayoutProvider/1",973),lAn(157,1,{157:1},Htn,qx),EWn.Ib=function(){return this.c?qRn(this.c):AMn(this.b)},gX(v3n,"BoxLayoutProvider/Group",157),lAn(311,22,{3:1,35:1,22:1,311:1},VC);var eOt,iOt=Ken(v3n,"BoxLayoutProvider/PackingMode",311,Gnt,M3,bB);lAn(974,1,EJn,zu),EWn.ue=function(n,t){return NQ(KB(n,157),KB(t,157))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(v3n,"BoxLayoutProvider/lambda$0$Type",974),lAn(975,1,EJn,Uu),EWn.ue=function(n,t){return iQ(KB(n,157),KB(t,157))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(v3n,"BoxLayoutProvider/lambda$1$Type",975),lAn(976,1,EJn,Xu),EWn.ue=function(n,t){return rQ(KB(n,157),KB(t,157))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(v3n,"BoxLayoutProvider/lambda$2$Type",976),lAn(1365,1,{831:1},Wu),EWn.qg=function(n,t){return IM(),!iL(t,160)||TE(($un(),KB(n,160)),t)},gX(v3n,"ElkSpacings/AbstractSpacingsBuilder/lambda$0$Type",1365),lAn(1366,1,hVn,Mg),EWn.td=function(n){Qsn(this.a,KB(n,146))},gX(v3n,"ElkSpacings/AbstractSpacingsBuilder/lambda$1$Type",1366),lAn(1367,1,hVn,qu),EWn.td=function(n){KB(n,94),IM()},gX(v3n,"ElkSpacings/AbstractSpacingsBuilder/lambda$2$Type",1367),lAn(1371,1,hVn,Sg),EWn.td=function(n){Crn(this.a,KB(n,94))},gX(v3n,"ElkSpacings/AbstractSpacingsBuilder/lambda$3$Type",1371),lAn(1369,1,NVn,QC),EWn.Mb=function(n){return Xon(this.a,this.b,KB(n,146))},gX(v3n,"ElkSpacings/AbstractSpacingsBuilder/lambda$4$Type",1369),lAn(1368,1,NVn,JC),EWn.Mb=function(n){return Ox(this.a,this.b,KB(n,831))},gX(v3n,"ElkSpacings/AbstractSpacingsBuilder/lambda$5$Type",1368),lAn(1370,1,hVn,YC),EWn.td=function(n){_z(this.a,this.b,KB(n,146))},gX(v3n,"ElkSpacings/AbstractSpacingsBuilder/lambda$6$Type",1370),lAn(935,1,{},Bu),EWn.Kb=function(n){return vA(n)},EWn.Fb=function(n){return this===n},gX(v3n,"ElkUtil/lambda$0$Type",935),lAn(936,1,hVn,ZC),EWn.td=function(n){eOn(this.a,this.b,KB(n,79))},EWn.a=0,EWn.b=0,gX(v3n,"ElkUtil/lambda$1$Type",936),lAn(937,1,hVn,nI),EWn.td=function(n){ky(this.a,this.b,KB(n,202))},EWn.a=0,EWn.b=0,gX(v3n,"ElkUtil/lambda$2$Type",937),lAn(938,1,hVn,tI),EWn.td=function(n){ZA(this.a,this.b,KB(n,137))},EWn.a=0,EWn.b=0,gX(v3n,"ElkUtil/lambda$3$Type",938),lAn(939,1,hVn,Pg),EWn.td=function(n){iq(this.a,KB(n,469))},gX(v3n,"ElkUtil/lambda$4$Type",939),lAn(342,1,{35:1,342:1},Op),EWn.wd=function(n){return gL(this,KB(n,236))},EWn.Fb=function(n){var t;return!!iL(n,342)&&(t=KB(n,342),this.a==t.a)},EWn.Hb=function(){return SY(this.a)},EWn.Ib=function(){return this.a+" (exclusive)"},EWn.a=0,gX(v3n,"ExclusiveBounds/ExclusiveLowerBound",342),lAn(1138,209,$Yn,Hu),EWn.Ze=function(n,t){var e,r,c,a,u,o,s,f,l,b,w,d,g,p,v,m,y,k,j,E,T;for(CTn(t,"Fixed Layout",1),a=KB(JAn(n,(uWn(),gSt)),218),b=0,w=0,v=new IL((!n.a&&(n.a=new nU(qOt,n,10,11)),n.a));v.e!=v.i.gc();){for(g=KB(mpn(v),33),(T=KB(JAn(g,(zsn(),wCt)),8))&&(TA(g,T.a,T.b),KB(JAn(g,sCt),174).Hc((pdn(),NIt))&&(d=KB(JAn(g,fCt),8)).a>0&&d.b>0&&DUn(g,d.a,d.b,!0,!0)),b=i.Math.max(b,g.i+g.g),w=i.Math.max(w,g.j+g.f),f=new IL((!g.n&&(g.n=new nU(HOt,g,1,7)),g.n));f.e!=f.i.gc();)o=KB(mpn(f),137),(T=KB(JAn(o,wCt),8))&&TA(o,T.a,T.b),b=i.Math.max(b,g.i+o.i+o.g),w=i.Math.max(w,g.j+o.j+o.f);for(k=new IL((!g.c&&(g.c=new nU(GOt,g,9,9)),g.c));k.e!=k.i.gc();)for(y=KB(mpn(k),118),(T=KB(JAn(y,wCt),8))&&TA(y,T.a,T.b),j=g.i+y.i,E=g.j+y.j,b=i.Math.max(b,j+y.g),w=i.Math.max(w,E+y.f),s=new IL((!y.n&&(y.n=new nU(HOt,y,1,7)),y.n));s.e!=s.i.gc();)o=KB(mpn(s),137),(T=KB(JAn(o,wCt),8))&&TA(o,T.a,T.b),b=i.Math.max(b,j+o.i+o.g),w=i.Math.max(w,E+o.j+o.f);for(c=new az(JL(bLn(g).a.Kc(),new h));bAn(c);)l=RUn(e=KB(G5(c),79)),b=i.Math.max(b,l.a),w=i.Math.max(w,l.b);for(r=new az(JL(lLn(g).a.Kc(),new h));bAn(r);)QY(MMn(e=KB(G5(r),79)))!=n&&(l=RUn(e),b=i.Math.max(b,l.a),w=i.Math.max(w,l.b))}if(a==(Ebn(),WPt))for(p=new IL((!n.a&&(n.a=new nU(qOt,n,10,11)),n.a));p.e!=p.i.gc();)for(r=new az(JL(bLn(g=KB(mpn(p),33)).a.Kc(),new h));bAn(r);)0==(u=eFn(e=KB(G5(r),79))).b?Vpn(e,CSt,null):Vpn(e,CSt,u);By(jD(JAn(n,(zsn(),hCt))))||DUn(n,b+(m=KB(JAn(n,lCt),116)).b+m.c,w+m.d+m.a,!0,!0),FSn(t)},gX(v3n,"FixedLayoutProvider",1138),lAn(373,134,{3:1,414:1,373:1,94:1,134:1},Ju,enn),EWn.Jf=function(n){var t,e,i,r,c,a,u;if(n)try{for(a=m_n(n,";,;"),r=0,c=(i=a).length;r<c;++r){if(t=m_n(i[r],"\\:"),!(e=dGn(iin(),t[0])))throw Fp(new Ry("Invalid option id: "+t[0]));if(null==(u=Jqn(e,t[1])))throw Fp(new Ry("Invalid option value: "+t[1]));null==u?(!this.q&&(this.q=new Lp),g6(this.q,e)):(!this.q&&(this.q=new Lp),XW(this.q,e,u))}}catch(o){throw iL(o=hun(o),102)?Fp(new _sn(o)):Fp(o)}},EWn.Ib=function(){return TD(M4(OV((this.q?this.q:(TQ(),TQ(),oet)).vc().Oc(),new Yu),L7(new VB,new Z,new W,new V,Mun(Hk(Yet,1),OVn,132,0,[]))))};var rOt,cOt,aOt,uOt,oOt=gX(v3n,"IndividualSpacings",373);lAn(971,1,{},Yu),EWn.Kb=function(n){return xQ(KB(n,42))},gX(v3n,"IndividualSpacings/lambda$0$Type",971),lAn(709,1,{},uG),EWn.c=0,gX(v3n,"InstancePool",709),lAn(1275,1,{},Zu),gX(v3n,"LoggedGraph",1275),lAn(396,22,{3:1,35:1,22:1,396:1},iI);var sOt,hOt,fOt,lOt=Ken(v3n,"LoggedGraph/Type",396,Gnt,S3,wB);lAn(46,1,{20:1,46:1},eI),EWn.Jc=function(n){n5(this,n)},EWn.Fb=function(n){var t,e,i;return!!iL(n,46)&&(e=KB(n,46),t=null==this.a?null==e.a:$fn(this.a,e.a),i=null==this.b?null==e.b:$fn(this.b,e.b),t&&i)},EWn.Hb=function(){var n,t,e;return n=-65536&(t=null==this.a?0:Yon(this.a)),t&WVn^(-65536&(e=null==this.b?0:Yon(this.b)))>>16&WVn|n^(e&WVn)<<16},EWn.Kc=function(){return new Cg(this)},EWn.Ib=function(){return null==this.a&&null==this.b?"pair(null,null)":null==this.a?"pair(null,"+Kbn(this.b)+")":null==this.b?"pair("+Kbn(this.a)+",null)":"pair("+Kbn(this.a)+","+Kbn(this.b)+")"},gX(v3n,"Pair",46),lAn(983,1,WWn,Cg),EWn.Nb=function(n){sU(this,n)},EWn.Ob=function(){return!this.c&&(!this.b&&null!=this.a.a||null!=this.a.b)},EWn.Pb=function(){if(!this.c&&!this.b&&null!=this.a.a)return this.b=!0,this.a.a;if(!this.c&&null!=this.a.b)return this.c=!0,this.a.b;throw Fp(new vv)},EWn.Qb=function(){throw this.c&&null!=this.a.b?this.a.b=null:this.b&&null!=this.a.a&&(this.a.a=null),Fp(new bv)},EWn.b=!1,EWn.c=!1,gX(v3n,"Pair/1",983),lAn(448,1,{448:1},XV),EWn.Fb=function(n){return iV(this.a,KB(n,448).a)&&iV(this.c,KB(n,448).c)&&iV(this.d,KB(n,448).d)&&iV(this.b,KB(n,448).b)},EWn.Hb=function(){return shn(Mun(Hk(Int,1),FWn,1,5,[this.a,this.c,this.d,this.b]))},EWn.Ib=function(){return"("+this.a+_Wn+this.c+_Wn+this.d+_Wn+this.b+")"},gX(v3n,"Quadruple",448),lAn(1126,209,$Yn,no),EWn.Ze=function(n,t){var e;CTn(t,"Random Layout",1),0!=(!n.a&&(n.a=new nU(qOt,n,10,11)),n.a).i?(tUn(n,(e=KB(JAn(n,(gdn(),$It)),19))&&0!=e.a?new S4(e.a):new ubn,qy(ED(JAn(n,IIt))),qy(ED(JAn(n,LIt))),KB(JAn(n,OIt),116)),FSn(t)):FSn(t)},gX(v3n,"RandomLayoutProvider",1126),lAn(553,1,{}),EWn.qf=function(){return new LC(this.f.i,this.f.j)},EWn.We=function(n){return kJ(n,(uWn(),rPt))?JAn(this.f,fOt):JAn(this.f,n)},EWn.rf=function(){return new LC(this.f.g,this.f.f)},EWn.sf=function(){return this.g},EWn.Xe=function(n){return M8(this.f,n)},EWn.tf=function(n){Men(this.f,n.a),Sen(this.f,n.b)},EWn.uf=function(n){Ten(this.f,n.a),Een(this.f,n.b)},EWn.vf=function(n){this.g=n},EWn.g=0,gX(F5n,"ElkGraphAdapters/AbstractElkGraphElementAdapter",553),lAn(554,1,{839:1},Ig),EWn.wf=function(){var n,t;if(!this.b)for(this.b=S2(pV(this.a).i),t=new IL(pV(this.a));t.e!=t.i.gc();)n=KB(mpn(t),137),UB(this.b,new xy(n));return this.b},EWn.b=null,gX(F5n,"ElkGraphAdapters/ElkEdgeAdapter",554),lAn(301,553,{},Ny),EWn.xf=function(){return nyn(this)},EWn.a=null,gX(F5n,"ElkGraphAdapters/ElkGraphAdapter",301),lAn(630,553,{181:1},xy),gX(F5n,"ElkGraphAdapters/ElkLabelAdapter",630),lAn(629,553,{680:1},QN),EWn.wf=function(){return Ymn(this)},EWn.Af=function(){var n;return!(n=KB(JAn(this.f,(uWn(),OSt)),142))&&(n=new hm),n},EWn.Cf=function(){return Zmn(this)},EWn.Ef=function(n){var t;t=new IK(n),Vpn(this.f,(uWn(),OSt),t)},EWn.Ff=function(n){Vpn(this.f,(uWn(),zSt),new CK(n))},EWn.yf=function(){return this.d},EWn.zf=function(){var n,t;if(!this.a)for(this.a=new $p,t=new az(JL(lLn(KB(this.f,33)).a.Kc(),new h));bAn(t);)n=KB(G5(t),79),UB(this.a,new Ig(n));return this.a},EWn.Bf=function(){var n,t;if(!this.c)for(this.c=new $p,t=new az(JL(bLn(KB(this.f,33)).a.Kc(),new h));bAn(t);)n=KB(G5(t),79),UB(this.c,new Ig(n));return this.c},EWn.Df=function(){return 0!=VQ(KB(this.f,33)).i||By(jD(KB(this.f,33).We((uWn(),TSt))))},EWn.Gf=function(){R7(this,(HM(),hOt))},EWn.a=null,EWn.b=null,EWn.c=null,EWn.d=null,EWn.e=null,gX(F5n,"ElkGraphAdapters/ElkNodeAdapter",629),lAn(1266,553,{838:1},ap),EWn.wf=function(){return myn(this)},EWn.zf=function(){var n,t;if(!this.a)for(this.a=ux(KB(this.f,118).xg().i),t=new IL(KB(this.f,118).xg());t.e!=t.i.gc();)n=KB(mpn(t),79),UB(this.a,new Ig(n));return this.a},EWn.Bf=function(){var n,t;if(!this.c)for(this.c=ux(KB(this.f,118).yg().i),t=new IL(KB(this.f,118).yg());t.e!=t.i.gc();)n=KB(mpn(t),79),UB(this.c,new Ig(n));return this.c},EWn.Hf=function(){return KB(KB(this.f,118).We((uWn(),lPt)),61)},EWn.If=function(){var n,t,e,i,r,c,a;for(i=UY(KB(this.f,118)),e=new IL(KB(this.f,118).yg());e.e!=e.i.gc();)for(a=new IL((!(n=KB(mpn(e),79)).c&&(n.c=new o_(xOt,n,5,8)),n.c));a.e!=a.i.gc();){if(Stn(MTn(c=KB(mpn(a),82)),i))return!0;if(MTn(c)==i&&By(jD(JAn(n,(uWn(),MSt)))))return!0}for(t=new IL(KB(this.f,118).xg());t.e!=t.i.gc();)for(r=new IL((!(n=KB(mpn(t),79)).b&&(n.b=new o_(xOt,n,4,7)),n.b));r.e!=r.i.gc();)if(Stn(MTn(KB(mpn(r),82)),i))return!0;return!1},EWn.a=null,EWn.b=null,EWn.c=null,gX(F5n,"ElkGraphAdapters/ElkPortAdapter",1266),lAn(1267,1,EJn,to),EWn.ue=function(n,t){return HRn(KB(n,118),KB(t,118))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(F5n,"ElkGraphAdapters/PortComparator",1267);var bOt,wOt,dOt,gOt,pOt,vOt,mOt,yOt,kOt,jOt,EOt,TOt,MOt,SOt,POt,COt,IOt,OOt=fq(B5n,"EObject"),AOt=fq(H5n,q5n),$Ot=fq(H5n,G5n),LOt=fq(H5n,z5n),NOt=fq(H5n,"ElkShape"),xOt=fq(H5n,U5n),DOt=fq(H5n,X5n),ROt=fq(H5n,W5n),_Ot=fq(B5n,V5n),KOt=fq(B5n,"EFactory"),FOt=fq(B5n,Q5n),BOt=fq(B5n,"EPackage"),HOt=fq(H5n,J5n),qOt=fq(H5n,Y5n),GOt=fq(H5n,Z5n);lAn(90,1,n6n),EWn.Jg=function(){return this.Kg(),null},EWn.Kg=function(){return null},EWn.Lg=function(){return this.Kg(),!1},EWn.Mg=function(){return!1},EWn.Ng=function(n){fan(this,n)},gX(t6n,"BasicNotifierImpl",90),lAn(97,90,s6n),EWn.nh=function(){return pA(this)},EWn.Og=function(n,t){return n},EWn.Pg=function(){throw Fp(new dv)},EWn.Qg=function(n){var t;return t=Svn(KB(ttn(this.Tg(),this.Vg()),18)),this.eh().ih(this,t.n,t.f,n)},EWn.Rg=function(n,t){throw Fp(new dv)},EWn.Sg=function(n,t,e){return jKn(this,n,t,e)},EWn.Tg=function(){var n;return this.Pg()&&(n=this.Pg().ck())?n:this.zh()},EWn.Ug=function(){return iAn(this)},EWn.Vg=function(){throw Fp(new dv)},EWn.Wg=function(){var n,t;return!(t=this.ph().dk())&&this.Pg().ik((WM(),t=null==(n=hY(BFn(this.Tg())))?A$t:new WN(this,n))),t},EWn.Xg=function(n,t){return n},EWn.Yg=function(n){return n.Gj()?n.aj():Iwn(this.Tg(),n)},EWn.Zg=function(){var n;return(n=this.Pg())?n.fk():null},EWn.$g=function(){return this.Pg()?this.Pg().ck():null},EWn._g=function(n,t,e){return Jpn(this,n,t,e)},EWn.ah=function(n){return T9(this,n)},EWn.bh=function(n,t){return X5(this,n,t)},EWn.dh=function(){var n;return!!(n=this.Pg())&&n.gk()},EWn.eh=function(){throw Fp(new dv)},EWn.fh=function(){return Vdn(this)},EWn.gh=function(n,t,e,i){return $pn(this,n,t,i)},EWn.hh=function(n,t,e){return KB(ttn(this.Tg(),t),66).Nj().Qj(this,this.yh(),t-this.Ah(),n,e)},EWn.ih=function(n,t,e,i){return aY(this,n,t,i)},EWn.jh=function(n,t,e){return KB(ttn(this.Tg(),t),66).Nj().Rj(this,this.yh(),t-this.Ah(),n,e)},EWn.kh=function(){return!!this.Pg()&&!!this.Pg().ek()},EWn.lh=function(n){return gpn(this,n)},EWn.mh=function(n){return JY(this,n)},EWn.oh=function(n){return Rqn(this,n)},EWn.ph=function(){throw Fp(new dv)},EWn.qh=function(){return this.Pg()?this.Pg().ek():null},EWn.rh=function(){return Vdn(this)},EWn.sh=function(n,t){vCn(this,n,t)},EWn.th=function(n){this.ph().hk(n)},EWn.uh=function(n){this.ph().kk(n)},EWn.vh=function(n){this.ph().jk(n)},EWn.wh=function(n,t){var e,i,r,c;return(c=this.Zg())&&n&&(t=Rpn(c.Vk(),this,t),c.Zk(this)),(i=this.eh())&&(w_n(this,this.eh(),this.Vg()).Bb&KQn?(r=i.fh())&&(n?!c&&r.Zk(this):r.Yk(this)):(t=(e=this.Vg())>=0?this.Qg(t):this.eh().ih(this,-1-e,null,t),t=this.Sg(null,-1,t))),this.uh(n),t},EWn.xh=function(n){var t,e,i,r,c,a,u;if((c=Iwn(e=this.Tg(),n))>=(t=this.Ah()))return KB(n,66).Nj().Uj(this,this.yh(),c-t);if(c<=-1){if(!(a=_qn((PPn(),Q$t),e,n)))throw Fp(new Ry(e6n+n.ne()+c6n));if(JM(),KB(a,66).Oj()||(a=J1(K7(Q$t,a))),r=KB((i=this.Yg(a))>=0?this._g(i,!0,!0):iOn(this,a,!0),153),(u=a.Zj())>1||-1==u)return KB(KB(r,215).hl(n,!1),76)}else if(n.$j())return KB((i=this.Yg(n))>=0?this._g(i,!1,!0):iOn(this,n,!1),76);return new PI(this,n)},EWn.yh=function(){return W7(this)},EWn.zh=function(){return(WX(),YAt).S},EWn.Ah=function(){return fX(this.zh())},EWn.Bh=function(n){pPn(this,n)},EWn.Ib=function(){return M$n(this)},gX(h6n,"BasicEObjectImpl",97),lAn(114,97,{105:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1}),EWn.Ch=function(n){return V7(this)[n]},EWn.Dh=function(n,t){OX(V7(this),n,t)},EWn.Eh=function(n){OX(V7(this),n,null)},EWn.Jg=function(){return KB(van(this,4),126)},EWn.Kg=function(){throw Fp(new dv)},EWn.Lg=function(){return!!(4&this.Db)},EWn.Pg=function(){throw Fp(new dv)},EWn.Fh=function(n){ogn(this,2,n)},EWn.Rg=function(n,t){this.Db=t<<16|255&this.Db,this.Fh(n)},EWn.Tg=function(){return yJ(this)},EWn.Vg=function(){return this.Db>>16},EWn.Wg=function(){var n;return WM(),null==(n=hY(BFn(KB(van(this,16),26)||this.zh())))?A$t:new WN(this,n)},EWn.Mg=function(){return!(1&this.Db)},EWn.Zg=function(){return KB(van(this,128),1935)},EWn.$g=function(){return KB(van(this,16),26)},EWn.dh=function(){return!!(32&this.Db)},EWn.eh=function(){return KB(van(this,2),49)},EWn.kh=function(){return!!(64&this.Db)},EWn.ph=function(){throw Fp(new dv)},EWn.qh=function(){return KB(van(this,64),281)},EWn.th=function(n){ogn(this,16,n)},EWn.uh=function(n){ogn(this,128,n)},EWn.vh=function(n){ogn(this,64,n)},EWn.yh=function(){return sgn(this)},EWn.Db=0,gX(h6n,"MinimalEObjectImpl",114),lAn(115,114,{105:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),EWn.Fh=function(n){this.Cb=n},EWn.eh=function(){return this.Cb},gX(h6n,"MinimalEObjectImpl/Container",115),lAn(1985,115,{105:1,413:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),EWn._g=function(n,t,e){return kyn(this,n,t,e)},EWn.jh=function(n,t,e){return nSn(this,n,t,e)},EWn.lh=function(n){return p0(this,n)},EWn.sh=function(n,t){esn(this,n,t)},EWn.zh=function(){return SXn(),MOt},EWn.Bh=function(n){qun(this,n)},EWn.Ve=function(){return hpn(this)},EWn.We=function(n){return JAn(this,n)},EWn.Xe=function(n){return M8(this,n)},EWn.Ye=function(n,t){return Vpn(this,n,t)},gX(f6n,"EMapPropertyHolderImpl",1985),lAn(567,115,{105:1,469:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},ro),EWn._g=function(n,t,e){switch(n){case 0:return this.a;case 1:return this.b}return Jpn(this,n,t,e)},EWn.lh=function(n){switch(n){case 0:return 0!=this.a;case 1:return 0!=this.b}return gpn(this,n)},EWn.sh=function(n,t){switch(n){case 0:return void yen(this,Hy(ED(t)));case 1:return void ken(this,Hy(ED(t)))}vCn(this,n,t)},EWn.zh=function(){return SXn(),dOt},EWn.Bh=function(n){switch(n){case 0:return void yen(this,0);case 1:return void ken(this,0)}pPn(this,n)},EWn.Ib=function(){var n;return 64&this.Db?M$n(this):((n=new sN(M$n(this))).a+=" (x: ",gE(n,this.a),n.a+=", y: ",gE(n,this.b),n.a+=")",n.a)},EWn.a=0,EWn.b=0,gX(f6n,"ElkBendPointImpl",567),lAn(723,1985,{105:1,413:1,160:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),EWn._g=function(n,t,e){return Rfn(this,n,t,e)},EWn.hh=function(n,t,e){return _Tn(this,n,t,e)},EWn.jh=function(n,t,e){return eun(this,n,t,e)},EWn.lh=function(n){return kan(this,n)},EWn.sh=function(n,t){Hjn(this,n,t)},EWn.zh=function(){return SXn(),mOt},EWn.Bh=function(n){afn(this,n)},EWn.zg=function(){return this.k},EWn.Ag=function(){return pV(this)},EWn.Ib=function(){return Vln(this)},EWn.k=null,gX(f6n,"ElkGraphElementImpl",723),lAn(724,723,{105:1,413:1,160:1,470:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),EWn._g=function(n,t,e){return xbn(this,n,t,e)},EWn.lh=function(n){return swn(this,n)},EWn.sh=function(n,t){qjn(this,n,t)},EWn.zh=function(){return SXn(),TOt},EWn.Bh=function(n){Nwn(this,n)},EWn.Bg=function(){return this.f},EWn.Cg=function(){return this.g},EWn.Dg=function(){return this.i},EWn.Eg=function(){return this.j},EWn.Fg=function(n,t){EA(this,n,t)},EWn.Gg=function(n,t){TA(this,n,t)},EWn.Hg=function(n){Men(this,n)},EWn.Ig=function(n){Sen(this,n)},EWn.Ib=function(){return pSn(this)},EWn.f=0,EWn.g=0,EWn.i=0,EWn.j=0,gX(f6n,"ElkShapeImpl",724),lAn(725,724,{105:1,413:1,82:1,160:1,470:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),EWn._g=function(n,t,e){return Fvn(this,n,t,e)},EWn.hh=function(n,t,e){return bjn(this,n,t,e)},EWn.jh=function(n,t,e){return wjn(this,n,t,e)},EWn.lh=function(n){return Hon(this,n)},EWn.sh=function(n,t){AAn(this,n,t)},EWn.zh=function(){return SXn(),gOt},EWn.Bh=function(n){Lpn(this,n)},EWn.xg=function(){return!this.d&&(this.d=new o_(DOt,this,8,5)),this.d},EWn.yg=function(){return!this.e&&(this.e=new o_(DOt,this,7,4)),this.e},gX(f6n,"ElkConnectableShapeImpl",725),lAn(352,723,{105:1,413:1,79:1,160:1,352:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},io),EWn.Qg=function(n){return Ekn(this,n)},EWn._g=function(n,t,e){switch(n){case 3:return zY(this);case 4:return!this.b&&(this.b=new o_(xOt,this,4,7)),this.b;case 5:return!this.c&&(this.c=new o_(xOt,this,5,8)),this.c;case 6:return!this.a&&(this.a=new nU(ROt,this,6,6)),this.a;case 7:return oN(),!this.b&&(this.b=new o_(xOt,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new o_(xOt,this,5,8)),this.c.i<=1));case 8:return oN(),!!YOn(this);case 9:return oN(),!!WIn(this);case 10:return oN(),!this.b&&(this.b=new o_(xOt,this,4,7)),0!=this.b.i&&(!this.c&&(this.c=new o_(xOt,this,5,8)),0!=this.c.i)}return Rfn(this,n,t,e)},EWn.hh=function(n,t,e){var i;switch(t){case 3:return this.Cb&&(e=(i=this.Db>>16)>=0?Ekn(this,e):this.Cb.ih(this,-1-i,null,e)),XD(this,KB(n,33),e);case 4:return!this.b&&(this.b=new o_(xOt,this,4,7)),Vwn(this.b,n,e);case 5:return!this.c&&(this.c=new o_(xOt,this,5,8)),Vwn(this.c,n,e);case 6:return!this.a&&(this.a=new nU(ROt,this,6,6)),Vwn(this.a,n,e)}return _Tn(this,n,t,e)},EWn.jh=function(n,t,e){switch(t){case 3:return XD(this,null,e);case 4:return!this.b&&(this.b=new o_(xOt,this,4,7)),Rpn(this.b,n,e);case 5:return!this.c&&(this.c=new o_(xOt,this,5,8)),Rpn(this.c,n,e);case 6:return!this.a&&(this.a=new nU(ROt,this,6,6)),Rpn(this.a,n,e)}return eun(this,n,t,e)},EWn.lh=function(n){switch(n){case 3:return!!zY(this);case 4:return!!this.b&&0!=this.b.i;case 5:return!!this.c&&0!=this.c.i;case 6:return!!this.a&&0!=this.a.i;case 7:return!this.b&&(this.b=new o_(xOt,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new o_(xOt,this,5,8)),this.c.i<=1));case 8:return YOn(this);case 9:return WIn(this);case 10:return!this.b&&(this.b=new o_(xOt,this,4,7)),0!=this.b.i&&(!this.c&&(this.c=new o_(xOt,this,5,8)),0!=this.c.i)}return kan(this,n)},EWn.sh=function(n,t){switch(n){case 3:return void FLn(this,KB(t,33));case 4:return!this.b&&(this.b=new o_(xOt,this,4,7)),uqn(this.b),!this.b&&(this.b=new o_(xOt,this,4,7)),void dX(this.b,KB(t,14));case 5:return!this.c&&(this.c=new o_(xOt,this,5,8)),uqn(this.c),!this.c&&(this.c=new o_(xOt,this,5,8)),void dX(this.c,KB(t,14));case 6:return!this.a&&(this.a=new nU(ROt,this,6,6)),uqn(this.a),!this.a&&(this.a=new nU(ROt,this,6,6)),void dX(this.a,KB(t,14))}Hjn(this,n,t)},EWn.zh=function(){return SXn(),pOt},EWn.Bh=function(n){switch(n){case 3:return void FLn(this,null);case 4:return!this.b&&(this.b=new o_(xOt,this,4,7)),void uqn(this.b);case 5:return!this.c&&(this.c=new o_(xOt,this,5,8)),void uqn(this.c);case 6:return!this.a&&(this.a=new nU(ROt,this,6,6)),void uqn(this.a)}afn(this,n)},EWn.Ib=function(){return hHn(this)},gX(f6n,"ElkEdgeImpl",352),lAn(439,1985,{105:1,413:1,202:1,439:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},co),EWn.Qg=function(n){return ukn(this,n)},EWn._g=function(n,t,e){switch(n){case 1:return this.j;case 2:return this.k;case 3:return this.b;case 4:return this.c;case 5:return!this.a&&(this.a=new OL($Ot,this,5)),this.a;case 6:return XY(this);case 7:return t?Mvn(this):this.i;case 8:return t?Tvn(this):this.f;case 9:return!this.g&&(this.g=new o_(ROt,this,9,10)),this.g;case 10:return!this.e&&(this.e=new o_(ROt,this,10,9)),this.e;case 11:return this.d}return kyn(this,n,t,e)},EWn.hh=function(n,t,e){var i;switch(t){case 6:return this.Cb&&(e=(i=this.Db>>16)>=0?ukn(this,e):this.Cb.ih(this,-1-i,null,e)),WD(this,KB(n,79),e);case 9:return!this.g&&(this.g=new o_(ROt,this,9,10)),Vwn(this.g,n,e);case 10:return!this.e&&(this.e=new o_(ROt,this,10,9)),Vwn(this.e,n,e)}return KB(ttn(KB(van(this,16),26)||(SXn(),vOt),t),66).Nj().Qj(this,sgn(this),t-fX((SXn(),vOt)),n,e)},EWn.jh=function(n,t,e){switch(t){case 5:return!this.a&&(this.a=new OL($Ot,this,5)),Rpn(this.a,n,e);case 6:return WD(this,null,e);case 9:return!this.g&&(this.g=new o_(ROt,this,9,10)),Rpn(this.g,n,e);case 10:return!this.e&&(this.e=new o_(ROt,this,10,9)),Rpn(this.e,n,e)}return nSn(this,n,t,e)},EWn.lh=function(n){switch(n){case 1:return 0!=this.j;case 2:return 0!=this.k;case 3:return 0!=this.b;case 4:return 0!=this.c;case 5:return!!this.a&&0!=this.a.i;case 6:return!!XY(this);case 7:return!!this.i;case 8:return!!this.f;case 9:return!!this.g&&0!=this.g.i;case 10:return!!this.e&&0!=this.e.i;case 11:return null!=this.d}return p0(this,n)},EWn.sh=function(n,t){switch(n){case 1:return void Pen(this,Hy(ED(t)));case 2:return void Ien(this,Hy(ED(t)));case 3:return void jen(this,Hy(ED(t)));case 4:return void Cen(this,Hy(ED(t)));case 5:return!this.a&&(this.a=new OL($Ot,this,5)),uqn(this.a),!this.a&&(this.a=new OL($Ot,this,5)),void dX(this.a,KB(t,14));case 6:return void _Ln(this,KB(t,79));case 7:return void $in(this,KB(t,82));case 8:return void Ain(this,KB(t,82));case 9:return!this.g&&(this.g=new o_(ROt,this,9,10)),uqn(this.g),!this.g&&(this.g=new o_(ROt,this,9,10)),void dX(this.g,KB(t,14));case 10:return!this.e&&(this.e=new o_(ROt,this,10,9)),uqn(this.e),!this.e&&(this.e=new o_(ROt,this,10,9)),void dX(this.e,KB(t,14));case 11:return void irn(this,TD(t))}esn(this,n,t)},EWn.zh=function(){return SXn(),vOt},EWn.Bh=function(n){switch(n){case 1:return void Pen(this,0);case 2:return void Ien(this,0);case 3:return void jen(this,0);case 4:return void Cen(this,0);case 5:return!this.a&&(this.a=new OL($Ot,this,5)),void uqn(this.a);case 6:return void _Ln(this,null);case 7:return void $in(this,null);case 8:return void Ain(this,null);case 9:return!this.g&&(this.g=new o_(ROt,this,9,10)),void uqn(this.g);case 10:return!this.e&&(this.e=new o_(ROt,this,10,9)),void uqn(this.e);case 11:return void irn(this,null)}qun(this,n)},EWn.Ib=function(){return xOn(this)},EWn.b=0,EWn.c=0,EWn.d=null,EWn.j=0,EWn.k=0,gX(f6n,"ElkEdgeSectionImpl",439),lAn(150,115,{105:1,92:1,90:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1}),EWn._g=function(n,t,e){return 0==n?(!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),this.Ab):G9(this,n-fX(this.zh()),ttn(KB(van(this,16),26)||this.zh(),n),t,e)},EWn.hh=function(n,t,e){return 0==t?(!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),Vwn(this.Ab,n,e)):KB(ttn(KB(van(this,16),26)||this.zh(),t),66).Nj().Qj(this,sgn(this),t-fX(this.zh()),n,e)},EWn.jh=function(n,t,e){return 0==t?(!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),Rpn(this.Ab,n,e)):KB(ttn(KB(van(this,16),26)||this.zh(),t),66).Nj().Rj(this,sgn(this),t-fX(this.zh()),n,e)},EWn.lh=function(n){return 0==n?!!this.Ab&&0!=this.Ab.i:C3(this,n-fX(this.zh()),ttn(KB(van(this,16),26)||this.zh(),n))},EWn.oh=function(n){return oUn(this,n)},EWn.sh=function(n,t){if(0===n)return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),uqn(this.Ab),!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),void dX(this.Ab,KB(t,14));Abn(this,n-fX(this.zh()),ttn(KB(van(this,16),26)||this.zh(),n),t)},EWn.uh=function(n){ogn(this,128,n)},EWn.zh=function(){return wWn(),h$t},EWn.Bh=function(n){if(0===n)return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),void uqn(this.Ab);Bfn(this,n-fX(this.zh()),ttn(KB(van(this,16),26)||this.zh(),n))},EWn.Gh=function(){this.Bb|=1},EWn.Hh=function(n){return $Kn(this,n)},EWn.Bb=0,gX(h6n,"EModelElementImpl",150),lAn(704,150,{105:1,92:1,90:1,471:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1},xf),EWn.Ih=function(n,t){return BGn(this,n,t)},EWn.Jh=function(n){var t,e,i,r;if(this.a!=Gtn(n)||256&n.Bb)throw Fp(new Ry(p6n+n.zb+w6n));for(e=mJ(n);0!=r4(e.a).i;){if(tyn(t=KB(nGn(e,0,iL(r=KB(Utn(r4(e.a),0),87).c,88)?KB(r,26):(wWn(),l$t)),26)))return KB(i=Gtn(t).Nh().Jh(t),49).th(n),i;e=mJ(t)}return"java.util.Map$Entry"==(null!=n.D?n.D:n.B)?new sq(n):new yH(n)},EWn.Kh=function(n,t){return LXn(this,n,t)},EWn._g=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),this.Ab;case 1:return this.a}return G9(this,n-fX((wWn(),u$t)),ttn(KB(van(this,16),26)||u$t,n),t,e)},EWn.hh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),Vwn(this.Ab,n,e);case 1:return this.a&&(e=KB(this.a,49).ih(this,4,BOt,e)),Qhn(this,KB(n,235),e)}return KB(ttn(KB(van(this,16),26)||(wWn(),u$t),t),66).Nj().Qj(this,sgn(this),t-fX((wWn(),u$t)),n,e)},EWn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),Rpn(this.Ab,n,e);case 1:return Qhn(this,null,e)}return KB(ttn(KB(van(this,16),26)||(wWn(),u$t),t),66).Nj().Rj(this,sgn(this),t-fX((wWn(),u$t)),n,e)},EWn.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return!!this.a}return C3(this,n-fX((wWn(),u$t)),ttn(KB(van(this,16),26)||u$t,n))},EWn.sh=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),uqn(this.Ab),!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),void dX(this.Ab,KB(t,14));case 1:return void LMn(this,KB(t,235))}Abn(this,n-fX((wWn(),u$t)),ttn(KB(van(this,16),26)||u$t,n),t)},EWn.zh=function(){return wWn(),u$t},EWn.Bh=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),void uqn(this.Ab);case 1:return void LMn(this,null)}Bfn(this,n-fX((wWn(),u$t)),ttn(KB(van(this,16),26)||u$t,n))},gX(h6n,"EFactoryImpl",704),lAn(m6n,704,{105:1,2014:1,92:1,90:1,471:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1},ao),EWn.Ih=function(n,t){switch(n.yj()){case 12:return KB(t,146).tg();case 13:return Kbn(t);default:throw Fp(new Ry(b6n+n.ne()+w6n))}},EWn.Jh=function(n){var t;switch(-1==n.G&&(n.G=(t=Gtn(n))?cvn(t.Mh(),n):-1),n.G){case 4:return new uo;case 6:return new ym;case 7:return new km;case 8:return new io;case 9:return new ro;case 10:return new co;case 11:return new so;default:throw Fp(new Ry(p6n+n.zb+w6n))}},EWn.Kh=function(n,t){switch(n.yj()){case 13:case 12:return null;default:throw Fp(new Ry(b6n+n.ne()+w6n))}},gX(f6n,"ElkGraphFactoryImpl",m6n),lAn(438,150,{105:1,92:1,90:1,147:1,191:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1}),EWn.Wg=function(){var n;return null==(n=hY(BFn(KB(van(this,16),26)||this.zh())))?(WM(),WM(),A$t):new Ux(this,n)},EWn._g=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),this.Ab;case 1:return this.ne()}return G9(this,n-fX(this.zh()),ttn(KB(van(this,16),26)||this.zh(),n),t,e)},EWn.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb}return C3(this,n-fX(this.zh()),ttn(KB(van(this,16),26)||this.zh(),n))},EWn.sh=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),uqn(this.Ab),!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),void dX(this.Ab,KB(t,14));case 1:return void this.Lh(TD(t))}Abn(this,n-fX(this.zh()),ttn(KB(van(this,16),26)||this.zh(),n),t)},EWn.zh=function(){return wWn(),f$t},EWn.Bh=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),void uqn(this.Ab);case 1:return void this.Lh(null)}Bfn(this,n-fX(this.zh()),ttn(KB(van(this,16),26)||this.zh(),n))},EWn.ne=function(){return this.zb},EWn.Lh=function(n){$rn(this,n)},EWn.Ib=function(){return mfn(this)},EWn.zb=null,gX(h6n,"ENamedElementImpl",438),lAn(179,438,{105:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,49:1,97:1,150:1,179:1,114:1,115:1,675:1},gJ),EWn.Qg=function(n){return lkn(this,n)},EWn._g=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.yb;case 3:return this.xb;case 4:return this.sb;case 5:return!this.rb&&(this.rb=new Qz(this,KAt,this)),this.rb;case 6:return!this.vb&&(this.vb=new n_(BOt,this,6,7)),this.vb;case 7:return t?this.Db>>16==7?KB(this.Cb,235):null:WY(this)}return G9(this,n-fX((wWn(),d$t)),ttn(KB(van(this,16),26)||d$t,n),t,e)},EWn.hh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),Vwn(this.Ab,n,e);case 4:return this.sb&&(e=KB(this.sb,49).ih(this,1,KOt,e)),yfn(this,KB(n,471),e);case 5:return!this.rb&&(this.rb=new Qz(this,KAt,this)),Vwn(this.rb,n,e);case 6:return!this.vb&&(this.vb=new n_(BOt,this,6,7)),Vwn(this.vb,n,e);case 7:return this.Cb&&(e=(i=this.Db>>16)>=0?lkn(this,e):this.Cb.ih(this,-1-i,null,e)),jKn(this,n,7,e)}return KB(ttn(KB(van(this,16),26)||(wWn(),d$t),t),66).Nj().Qj(this,sgn(this),t-fX((wWn(),d$t)),n,e)},EWn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),Rpn(this.Ab,n,e);case 4:return yfn(this,null,e);case 5:return!this.rb&&(this.rb=new Qz(this,KAt,this)),Rpn(this.rb,n,e);case 6:return!this.vb&&(this.vb=new n_(BOt,this,6,7)),Rpn(this.vb,n,e);case 7:return jKn(this,null,7,e)}return KB(ttn(KB(van(this,16),26)||(wWn(),d$t),t),66).Nj().Rj(this,sgn(this),t-fX((wWn(),d$t)),n,e)},EWn.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.yb;case 3:return null!=this.xb;case 4:return!!this.sb;case 5:return!!this.rb&&0!=this.rb.i;case 6:return!!this.vb&&0!=this.vb.i;case 7:return!!WY(this)}return C3(this,n-fX((wWn(),d$t)),ttn(KB(van(this,16),26)||d$t,n))},EWn.oh=function(n){return ANn(this,n)||oUn(this,n)},EWn.sh=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),uqn(this.Ab),!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),void dX(this.Ab,KB(t,14));case 1:return void $rn(this,TD(t));case 2:return void Nrn(this,TD(t));case 3:return void Lrn(this,TD(t));case 4:return void tSn(this,KB(t,471));case 5:return!this.rb&&(this.rb=new Qz(this,KAt,this)),uqn(this.rb),!this.rb&&(this.rb=new Qz(this,KAt,this)),void dX(this.rb,KB(t,14));case 6:return!this.vb&&(this.vb=new n_(BOt,this,6,7)),uqn(this.vb),!this.vb&&(this.vb=new n_(BOt,this,6,7)),void dX(this.vb,KB(t,14))}Abn(this,n-fX((wWn(),d$t)),ttn(KB(van(this,16),26)||d$t,n),t)},EWn.vh=function(n){var t,e;if(n&&this.rb)for(e=new IL(this.rb);e.e!=e.i.gc();)iL(t=mpn(e),351)&&(KB(t,351).w=null);ogn(this,64,n)},EWn.zh=function(){return wWn(),d$t},EWn.Bh=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),void uqn(this.Ab);case 1:return void $rn(this,null);case 2:return void Nrn(this,null);case 3:return void Lrn(this,null);case 4:return void tSn(this,null);case 5:return!this.rb&&(this.rb=new Qz(this,KAt,this)),void uqn(this.rb);case 6:return!this.vb&&(this.vb=new n_(BOt,this,6,7)),void uqn(this.vb)}Bfn(this,n-fX((wWn(),d$t)),ttn(KB(van(this,16),26)||d$t,n))},EWn.Gh=function(){jyn(this)},EWn.Mh=function(){return!this.rb&&(this.rb=new Qz(this,KAt,this)),this.rb},EWn.Nh=function(){return this.sb},EWn.Oh=function(){return this.ub},EWn.Ph=function(){return this.xb},EWn.Qh=function(){return this.yb},EWn.Rh=function(n){this.ub=n},EWn.Ib=function(){var n;return 64&this.Db?mfn(this):((n=new sN(mfn(this))).a+=" (nsURI: ",iO(n,this.yb),n.a+=", nsPrefix: ",iO(n,this.xb),n.a+=")",n.a)},EWn.xb=null,EWn.yb=null,gX(h6n,"EPackageImpl",179),lAn(555,179,{105:1,2016:1,555:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,49:1,97:1,150:1,179:1,114:1,115:1,675:1},uAn),EWn.q=!1,EWn.r=!1;var zOt=!1;gX(f6n,"ElkGraphPackageImpl",555),lAn(354,724,{105:1,413:1,160:1,137:1,470:1,354:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},uo),EWn.Qg=function(n){return okn(this,n)},EWn._g=function(n,t,e){switch(n){case 7:return VY(this);case 8:return this.a}return xbn(this,n,t,e)},EWn.hh=function(n,t,e){var i;return 7===t?(this.Cb&&(e=(i=this.Db>>16)>=0?okn(this,e):this.Cb.ih(this,-1-i,null,e)),XG(this,KB(n,160),e)):_Tn(this,n,t,e)},EWn.jh=function(n,t,e){return 7==t?XG(this,null,e):eun(this,n,t,e)},EWn.lh=function(n){switch(n){case 7:return!!VY(this);case 8:return!p_("",this.a)}return swn(this,n)},EWn.sh=function(n,t){switch(n){case 7:return void PNn(this,KB(t,160));case 8:return void Lin(this,TD(t))}qjn(this,n,t)},EWn.zh=function(){return SXn(),yOt},EWn.Bh=function(n){switch(n){case 7:return void PNn(this,null);case 8:return void Lin(this,"")}Nwn(this,n)},EWn.Ib=function(){return iPn(this)},EWn.a="",gX(f6n,"ElkLabelImpl",354),lAn(239,725,{105:1,413:1,82:1,160:1,33:1,470:1,239:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},ym),EWn.Qg=function(n){return Tkn(this,n)},EWn._g=function(n,t,e){switch(n){case 9:return!this.c&&(this.c=new nU(GOt,this,9,9)),this.c;case 10:return!this.a&&(this.a=new nU(qOt,this,10,11)),this.a;case 11:return QY(this);case 12:return!this.b&&(this.b=new nU(DOt,this,12,3)),this.b;case 13:return oN(),!this.a&&(this.a=new nU(qOt,this,10,11)),this.a.i>0}return Fvn(this,n,t,e)},EWn.hh=function(n,t,e){var i;switch(t){case 9:return!this.c&&(this.c=new nU(GOt,this,9,9)),Vwn(this.c,n,e);case 10:return!this.a&&(this.a=new nU(qOt,this,10,11)),Vwn(this.a,n,e);case 11:return this.Cb&&(e=(i=this.Db>>16)>=0?Tkn(this,e):this.Cb.ih(this,-1-i,null,e)),qR(this,KB(n,33),e);case 12:return!this.b&&(this.b=new nU(DOt,this,12,3)),Vwn(this.b,n,e)}return bjn(this,n,t,e)},EWn.jh=function(n,t,e){switch(t){case 9:return!this.c&&(this.c=new nU(GOt,this,9,9)),Rpn(this.c,n,e);case 10:return!this.a&&(this.a=new nU(qOt,this,10,11)),Rpn(this.a,n,e);case 11:return qR(this,null,e);case 12:return!this.b&&(this.b=new nU(DOt,this,12,3)),Rpn(this.b,n,e)}return wjn(this,n,t,e)},EWn.lh=function(n){switch(n){case 9:return!!this.c&&0!=this.c.i;case 10:return!!this.a&&0!=this.a.i;case 11:return!!QY(this);case 12:return!!this.b&&0!=this.b.i;case 13:return!this.a&&(this.a=new nU(qOt,this,10,11)),this.a.i>0}return Hon(this,n)},EWn.sh=function(n,t){switch(n){case 9:return!this.c&&(this.c=new nU(GOt,this,9,9)),uqn(this.c),!this.c&&(this.c=new nU(GOt,this,9,9)),void dX(this.c,KB(t,14));case 10:return!this.a&&(this.a=new nU(qOt,this,10,11)),uqn(this.a),!this.a&&(this.a=new nU(qOt,this,10,11)),void dX(this.a,KB(t,14));case 11:return void YLn(this,KB(t,33));case 12:return!this.b&&(this.b=new nU(DOt,this,12,3)),uqn(this.b),!this.b&&(this.b=new nU(DOt,this,12,3)),void dX(this.b,KB(t,14))}AAn(this,n,t)},EWn.zh=function(){return SXn(),kOt},EWn.Bh=function(n){switch(n){case 9:return!this.c&&(this.c=new nU(GOt,this,9,9)),void uqn(this.c);case 10:return!this.a&&(this.a=new nU(qOt,this,10,11)),void uqn(this.a);case 11:return void YLn(this,null);case 12:return!this.b&&(this.b=new nU(DOt,this,12,3)),void uqn(this.b)}Lpn(this,n)},EWn.Ib=function(){return qRn(this)},gX(f6n,"ElkNodeImpl",239),lAn(186,725,{105:1,413:1,82:1,160:1,118:1,470:1,186:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},km),EWn.Qg=function(n){return skn(this,n)},EWn._g=function(n,t,e){return 9==n?UY(this):Fvn(this,n,t,e)},EWn.hh=function(n,t,e){var i;return 9===t?(this.Cb&&(e=(i=this.Db>>16)>=0?skn(this,e):this.Cb.ih(this,-1-i,null,e)),VD(this,KB(n,33),e)):bjn(this,n,t,e)},EWn.jh=function(n,t,e){return 9==t?VD(this,null,e):wjn(this,n,t,e)},EWn.lh=function(n){return 9==n?!!UY(this):Hon(this,n)},EWn.sh=function(n,t){9!==n?AAn(this,n,t):KLn(this,KB(t,33))},EWn.zh=function(){return SXn(),jOt},EWn.Bh=function(n){9!==n?Lpn(this,n):KLn(this,null)},EWn.Ib=function(){return GRn(this)},gX(f6n,"ElkPortImpl",186);var UOt=fq(K6n,"BasicEMap/Entry");lAn(1092,115,{105:1,42:1,92:1,90:1,133:1,56:1,108:1,49:1,97:1,114:1,115:1},so),EWn.Fb=function(n){return this===n},EWn.cd=function(){return this.b},EWn.Hb=function(){return MN(this)},EWn.Uh=function(n){Nin(this,KB(n,146))},EWn._g=function(n,t,e){switch(n){case 0:return this.b;case 1:return this.c}return Jpn(this,n,t,e)},EWn.lh=function(n){switch(n){case 0:return!!this.b;case 1:return null!=this.c}return gpn(this,n)},EWn.sh=function(n,t){switch(n){case 0:return void Nin(this,KB(t,146));case 1:return void Rin(this,t)}vCn(this,n,t)},EWn.zh=function(){return SXn(),EOt},EWn.Bh=function(n){switch(n){case 0:return void Nin(this,null);case 1:return void Rin(this,null)}pPn(this,n)},EWn.Sh=function(){var n;return-1==this.a&&(n=this.b,this.a=n?Yon(n):0),this.a},EWn.dd=function(){return this.c},EWn.Th=function(n){this.a=n},EWn.ed=function(n){var t;return t=this.c,Rin(this,n),t},EWn.Ib=function(){var n;return 64&this.Db?M$n(this):(aO(aO(aO(n=new Sk,this.b?this.b.tg():qWn),n1n),mN(this.c)),n.a)},EWn.a=-1,EWn.c=null;var XOt,WOt,VOt,QOt,JOt,YOt,ZOt,nAt,tAt=gX(f6n,"ElkPropertyToValueMapEntryImpl",1092);lAn(984,1,{},lo),gX(H6n,"JsonAdapter",984),lAn(210,60,KVn,nk),gX(H6n,"JsonImportException",210),lAn(857,1,{},bkn),gX(H6n,"JsonImporter",857),lAn(891,1,{},rI),gX(H6n,"JsonImporter/lambda$0$Type",891),lAn(892,1,{},cI),gX(H6n,"JsonImporter/lambda$1$Type",892),lAn(900,1,{},Og),gX(H6n,"JsonImporter/lambda$10$Type",900),lAn(902,1,{},aI),gX(H6n,"JsonImporter/lambda$11$Type",902),lAn(903,1,{},uI),gX(H6n,"JsonImporter/lambda$12$Type",903),lAn(909,1,{},sQ),gX(H6n,"JsonImporter/lambda$13$Type",909),lAn(908,1,{},oQ),gX(H6n,"JsonImporter/lambda$14$Type",908),lAn(904,1,{},oI),gX(H6n,"JsonImporter/lambda$15$Type",904),lAn(905,1,{},sI),gX(H6n,"JsonImporter/lambda$16$Type",905),lAn(906,1,{},hI),gX(H6n,"JsonImporter/lambda$17$Type",906),lAn(907,1,{},fI),gX(H6n,"JsonImporter/lambda$18$Type",907),lAn(912,1,{},Ag),gX(H6n,"JsonImporter/lambda$19$Type",912),lAn(893,1,{},$g),gX(H6n,"JsonImporter/lambda$2$Type",893),lAn(910,1,{},Lg),gX(H6n,"JsonImporter/lambda$20$Type",910),lAn(911,1,{},Ng),gX(H6n,"JsonImporter/lambda$21$Type",911),lAn(915,1,{},xg),gX(H6n,"JsonImporter/lambda$22$Type",915),lAn(913,1,{},Dg),gX(H6n,"JsonImporter/lambda$23$Type",913),lAn(914,1,{},Rg),gX(H6n,"JsonImporter/lambda$24$Type",914),lAn(917,1,{},_g),gX(H6n,"JsonImporter/lambda$25$Type",917),lAn(916,1,{},Kg),gX(H6n,"JsonImporter/lambda$26$Type",916),lAn(918,1,hVn,lI),EWn.td=function(n){k9(this.b,this.a,TD(n))},gX(H6n,"JsonImporter/lambda$27$Type",918),lAn(919,1,hVn,bI),EWn.td=function(n){j9(this.b,this.a,TD(n))},gX(H6n,"JsonImporter/lambda$28$Type",919),lAn(920,1,{},wI),gX(H6n,"JsonImporter/lambda$29$Type",920),lAn(896,1,{},Fg),gX(H6n,"JsonImporter/lambda$3$Type",896),lAn(921,1,{},dI),gX(H6n,"JsonImporter/lambda$30$Type",921),lAn(922,1,{},Bg),gX(H6n,"JsonImporter/lambda$31$Type",922),lAn(923,1,{},Hg),gX(H6n,"JsonImporter/lambda$32$Type",923),lAn(924,1,{},qg),gX(H6n,"JsonImporter/lambda$33$Type",924),lAn(925,1,{},Gg),gX(H6n,"JsonImporter/lambda$34$Type",925),lAn(859,1,{},zg),gX(H6n,"JsonImporter/lambda$35$Type",859),lAn(929,1,{},EB),gX(H6n,"JsonImporter/lambda$36$Type",929),lAn(926,1,hVn,Ug),EWn.td=function(n){V4(this.a,KB(n,469))},gX(H6n,"JsonImporter/lambda$37$Type",926),lAn(927,1,hVn,TI),EWn.td=function(n){hO(this.a,this.b,KB(n,202))},gX(H6n,"JsonImporter/lambda$38$Type",927),lAn(928,1,hVn,MI),EWn.td=function(n){fO(this.a,this.b,KB(n,202))},gX(H6n,"JsonImporter/lambda$39$Type",928),lAn(894,1,{},Xg),gX(H6n,"JsonImporter/lambda$4$Type",894),lAn(930,1,hVn,Wg),EWn.td=function(n){Q4(this.a,KB(n,8))},gX(H6n,"JsonImporter/lambda$40$Type",930),lAn(895,1,{},Vg),gX(H6n,"JsonImporter/lambda$5$Type",895),lAn(899,1,{},Qg),gX(H6n,"JsonImporter/lambda$6$Type",899),lAn(897,1,{},Jg),gX(H6n,"JsonImporter/lambda$7$Type",897),lAn(898,1,{},Yg),gX(H6n,"JsonImporter/lambda$8$Type",898),lAn(901,1,{},Zg),gX(H6n,"JsonImporter/lambda$9$Type",901),lAn(948,1,hVn,np),EWn.td=function(n){YX(this.a,new HX(TD(n)))},gX(H6n,"JsonMetaDataConverter/lambda$0$Type",948),lAn(949,1,hVn,tp),EWn.td=function(n){RX(this.a,KB(n,237))},gX(H6n,"JsonMetaDataConverter/lambda$1$Type",949),lAn(950,1,hVn,ep),EWn.td=function(n){ZZ(this.a,KB(n,149))},gX(H6n,"JsonMetaDataConverter/lambda$2$Type",950),lAn(951,1,hVn,ip),EWn.td=function(n){_X(this.a,KB(n,175))},gX(H6n,"JsonMetaDataConverter/lambda$3$Type",951),lAn(237,22,{3:1,35:1,22:1,237:1},EI);var eAt,iAt=Ken(PYn,"GraphFeature",237,Gnt,Dtn,dB);lAn(13,1,{35:1,146:1},cp,tR,OO,zA),EWn.wd=function(n){return dL(this,KB(n,146))},EWn.Fb=function(n){return kJ(this,n)},EWn.wg=function(){return ppn(this)},EWn.tg=function(){return this.b},EWn.Hb=function(){return gvn(this.b)},EWn.Ib=function(){return this.b},gX(PYn,"Property",13),lAn(818,1,EJn,rp),EWn.ue=function(n,t){return Rln(this,KB(n,94),KB(t,94))},EWn.Fb=function(n){return this===n},EWn.ve=function(){return new Yb(this)},gX(PYn,"PropertyHolderComparator",818),lAn(695,1,WWn,up),EWn.Nb=function(n){sU(this,n)},EWn.Pb=function(){return I9(this)},EWn.Qb=function(){cE()},EWn.Ob=function(){return!!this.a},gX(i8n,"ElkGraphUtil/AncestorIterator",695);var rAt=fq(K6n,"EList");lAn(67,52,{20:1,28:1,52:1,14:1,15:1,67:1,58:1}),EWn.Vc=function(n,t){uln(this,n,t)},EWn.Fc=function(n){return s9(this,n)},EWn.Wc=function(n,t){return aon(this,n,t)},EWn.Gc=function(n){return dX(this,n)},EWn.Zh=function(){return new rx(this)},EWn.$h=function(){return new cx(this)},EWn._h=function(n){return uin(this,n)},EWn.ai=function(){return!0},EWn.bi=function(n,t){},EWn.ci=function(){},EWn.di=function(n,t){A8(this,n,t)},EWn.ei=function(n,t,e){},EWn.fi=function(n,t){},EWn.gi=function(n,t,e){},EWn.Fb=function(n){return WDn(this,n)},EWn.Hb=function(){return Eun(this)},EWn.hi=function(){return!1},EWn.Kc=function(){return new IL(this)},EWn.Yc=function(){return new ix(this)},EWn.Zc=function(n){var t;if(t=this.gc(),n<0||n>t)throw Fp(new ZR(n,t));return new HU(this,n)},EWn.ji=function(n,t){this.ii(n,this.Xc(t))},EWn.Mc=function(n){return unn(this,n)},EWn.li=function(n,t){return t},EWn._c=function(n,t){return avn(this,n,t)},EWn.Ib=function(){return Qbn(this)},EWn.ni=function(){return!0},EWn.oi=function(n,t){return Lsn(this,t)},gX(K6n,"AbstractEList",67),lAn(63,67,o8n,go,wtn,ycn),EWn.Vh=function(n,t){return KTn(this,n,t)},EWn.Wh=function(n){return fmn(this,n)},EWn.Xh=function(n,t){Pfn(this,n,t)},EWn.Yh=function(n){i6(this,n)},EWn.pi=function(n){return _9(this,n)},EWn.$b=function(){r6(this)},EWn.Hc=function(n){return Tjn(this,n)},EWn.Xb=function(n){return Utn(this,n)},EWn.qi=function(n){var t,e,i;++this.j,n>(e=null==this.g?0:this.g.length)&&(i=this.g,(t=e+(e/2|0)+4)<n&&(t=n),this.g=this.ri(t),null!=i&&rHn(i,0,this.g,0,this.i))},EWn.Xc=function(n){return Uyn(this,n)},EWn.dc=function(){return 0==this.i},EWn.ii=function(n,t){return VIn(this,n,t)},EWn.ri=function(n){return L8(Int,FWn,1,n,5,1)},EWn.ki=function(n){return this.g[n]},EWn.$c=function(n){return Ayn(this,n)},EWn.mi=function(n,t){return ann(this,n,t)},EWn.gc=function(){return this.i},EWn.Pc=function(){return $3(this)},EWn.Qc=function(n){return Wwn(this,n)},EWn.i=0;var cAt,aAt,uAt=gX(K6n,"BasicEList",63),oAt=fq(K6n,"TreeIterator");lAn(694,63,s8n),EWn.Nb=function(n){sU(this,n)},EWn.Ob=function(){return null!=this.g||this.c?null==this.g||0!=this.i&&KB(this.g[this.i-1],47).Ob():ZY(this)},EWn.Pb=function(){return rLn(this)},EWn.Qb=function(){if(!this.e)throw Fp(new _y("There is no valid object to remove."));this.e.Qb()},EWn.c=!1,gX(K6n,"AbstractTreeIterator",694),lAn(685,694,s8n,CA),EWn.si=function(n){var t;return iL(t=KB(n,56).Wg().Kc(),279)&&KB(t,279).Nk(new bo),t},gX(i8n,"ElkGraphUtil/PropertiesSkippingTreeIterator",685),lAn(952,1,{},bo),gX(i8n,"ElkGraphUtil/PropertiesSkippingTreeIterator/1",952);var sAt,hAt=gX(i8n,"ElkReflect",null);lAn(889,1,t5n,wo),EWn.vg=function(n){return oZ(),K6(KB(n,174))},gX(i8n,"ElkReflect/lambda$0$Type",889),fq(K6n,"ResourceLocator"),lAn(1051,1,{}),gX(K6n,"DelegatingResourceLocator",1051),lAn(1052,1051,{}),gX("org.eclipse.emf.common","EMFPlugin",1052);var fAt,lAt=fq(Q8n,"Adapter"),bAt=fq(Q8n,"Notification");lAn(1153,1,J8n),EWn.ti=function(){return this.d},EWn.ui=function(n){},EWn.vi=function(n){this.d=n},EWn.wi=function(n){this.d==n&&(this.d=null)},EWn.d=null,gX(t6n,"AdapterImpl",1153),lAn(1995,67,Y8n),EWn.Vh=function(n,t){return mwn(this,n,t)},EWn.Wh=function(n){var t,e,i;if(++this.j,n.dc())return!1;for(t=this.Vi(),i=n.Kc();i.Ob();)e=i.Pb(),this.Ii(this.oi(t,e)),++t;return!0},EWn.Xh=function(n,t){JD(this,n,t)},EWn.Yh=function(n){nW(this,n)},EWn.Gi=function(){return this.Ji()},EWn.$b=function(){QD(this,this.Vi(),this.Wi())},EWn.Hc=function(n){return this.Li(n)},EWn.Ic=function(n){return this.Mi(n)},EWn.Hi=function(n,t){this.Si().jm()},EWn.Ii=function(n){this.Si().jm()},EWn.Ji=function(){return this.Si()},EWn.Ki=function(){this.Si().jm()},EWn.Li=function(n){return this.Si().jm()},EWn.Mi=function(n){return this.Si().jm()},EWn.Ni=function(n){return this.Si().jm()},EWn.Oi=function(n){return this.Si().jm()},EWn.Pi=function(){return this.Si().jm()},EWn.Qi=function(n){return this.Si().jm()},EWn.Ri=function(){return this.Si().jm()},EWn.Ti=function(n){return this.Si().jm()},EWn.Ui=function(n,t){return this.Si().jm()},EWn.Vi=function(){return this.Si().jm()},EWn.Wi=function(){return this.Si().jm()},EWn.Xi=function(n){return this.Si().jm()},EWn.Yi=function(){return this.Si().jm()},EWn.Fb=function(n){return this.Ni(n)},EWn.Xb=function(n){return this.li(n,this.Oi(n))},EWn.Hb=function(){return this.Pi()},EWn.Xc=function(n){return this.Qi(n)},EWn.dc=function(){return this.Ri()},EWn.ii=function(n,t){return IMn(this,n,t)},EWn.ki=function(n){return this.Oi(n)},EWn.$c=function(n){return lq(this,n)},EWn.Mc=function(n){var t;return(t=this.Xc(n))>=0&&(this.$c(t),!0)},EWn.mi=function(n,t){return this.Ui(n,this.oi(n,t))},EWn.gc=function(){return this.Vi()},EWn.Pc=function(){return this.Wi()},EWn.Qc=function(n){return this.Xi(n)},EWn.Ib=function(){return this.Yi()},gX(K6n,"DelegatingEList",1995),lAn(1996,1995,Y8n),EWn.Vh=function(n,t){return cFn(this,n,t)},EWn.Wh=function(n){return this.Vh(this.Vi(),n)},EWn.Xh=function(n,t){nAn(this,n,t)},EWn.Yh=function(n){COn(this,n)},EWn.ai=function(){return!this.bj()},EWn.$b=function(){gqn(this)},EWn.Zi=function(n,t,e,i,r){return new $J(this,n,t,e,i,r)},EWn.$i=function(n){fan(this.Ai(),n)},EWn._i=function(){return null},EWn.aj=function(){return-1},EWn.Ai=function(){return null},EWn.bj=function(){return!1},EWn.cj=function(n,t){return t},EWn.dj=function(n,t){return t},EWn.ej=function(){return!1},EWn.fj=function(){return!this.Ri()},EWn.ii=function(n,t){var e,i;return this.ej()?(i=this.fj(),e=IMn(this,n,t),this.$i(this.Zi(7,tln(t),e,n,i)),e):IMn(this,n,t)},EWn.$c=function(n){var t,e,i,r;return this.ej()?(e=null,i=this.fj(),t=this.Zi(4,r=lq(this,n),null,n,i),this.bj()&&r?(e=this.dj(r,e))?(e.Ei(t),e.Fi()):this.$i(t):e?(e.Ei(t),e.Fi()):this.$i(t),r):(r=lq(this,n),this.bj()&&r&&(e=this.dj(r,null))&&e.Fi(),r)},EWn.mi=function(n,t){return aFn(this,n,t)},gX(t6n,"DelegatingNotifyingListImpl",1996),lAn(143,1,Z8n),EWn.Ei=function(n){return DEn(this,n)},EWn.Fi=function(){O7(this)},EWn.xi=function(){return this.d},EWn._i=function(){return null},EWn.gj=function(){return null},EWn.yi=function(n){return-1},EWn.zi=function(){return xxn(this)},EWn.Ai=function(){return null},EWn.Bi=function(){return Dxn(this)},EWn.Ci=function(){return this.o<0?this.o<-2?-2-this.o-1:-1:this.o},EWn.hj=function(){return!1},EWn.Di=function(n){var t,e,i,r,c,a,u,o;switch(this.d){case 1:case 2:switch(n.xi()){case 1:case 2:if(HI(n.Ai())===HI(this.Ai())&&this.yi(null)==n.yi(null))return this.g=n.zi(),1==n.xi()&&(this.d=1),!0}case 4:if(4===n.xi()&&HI(n.Ai())===HI(this.Ai())&&this.yi(null)==n.yi(null))return a=Zqn(this),c=this.o<0?this.o<-2?-2-this.o-1:-1:this.o,i=n.Ci(),this.d=6,o=new wtn(2),c<=i?(s9(o,this.n),s9(o,n.Bi()),this.g=Mun(Hk(CNt,1),oQn,25,15,[this.o=c,i+1])):(s9(o,n.Bi()),s9(o,this.n),this.g=Mun(Hk(CNt,1),oQn,25,15,[this.o=i,c])),this.n=o,a||(this.o=-2-this.o-1),!0;break;case 6:if(4===n.xi()&&HI(n.Ai())===HI(this.Ai())&&this.yi(null)==n.yi(null)){for(a=Zqn(this),i=n.Ci(),u=KB(this.g,48),e=L8(CNt,oQn,25,u.length+1,15,1),t=0;t<u.length&&(r=u[t])<=i;)e[t++]=r,++i;for(KB(this.n,15).Vc(t,n.Bi()),e[t]=i;++t<e.length;)e[t]=u[t-1];return this.g=e,a||(this.o=-2-e[0]),!0}}return!1},EWn.Ib=function(){var n,t,e;switch((e=new sN(Yj(this.gm)+"@"+(Yon(this)>>>0).toString(16))).a+=" (eventType: ",this.d){case 1:e.a+="SET";break;case 2:e.a+="UNSET";break;case 3:e.a+="ADD";break;case 5:e.a+="ADD_MANY";break;case 4:e.a+="REMOVE";break;case 6:e.a+="REMOVE_MANY";break;case 7:e.a+="MOVE";break;case 8:e.a+="REMOVING_ADAPTER";break;case 9:e.a+="RESOLVE";break;default:pE(e,this.d)}if(h_n(this)&&(e.a+=", touch: true"),e.a+=", position: ",pE(e,this.o<0?this.o<-2?-2-this.o-1:-1:this.o),e.a+=", notifier: ",eO(e,this.Ai()),e.a+=", feature: ",eO(e,this._i()),e.a+=", oldValue: ",eO(e,Dxn(this)),e.a+=", newValue: ",6==this.d&&iL(this.g,48)){for(t=KB(this.g,48),e.a+="[",n=0;n<t.length;)e.a+=t[n],++n<t.length&&(e.a+=_Wn);e.a+="]"}else eO(e,xxn(this));return e.a+=", isTouch: ",vE(e,h_n(this)),e.a+=", wasSet: ",vE(e,Zqn(this)),e.a+=")",e.a},EWn.d=0,EWn.e=0,EWn.f=0,EWn.j=0,EWn.k=0,EWn.o=0,EWn.p=0,gX(t6n,"NotificationImpl",143),lAn(1167,143,Z8n,$J),EWn._i=function(){return this.a._i()},EWn.yi=function(n){return this.a.aj()},EWn.Ai=function(){return this.a.Ai()},gX(t6n,"DelegatingNotifyingListImpl/1",1167),lAn(242,63,o8n,po,_j),EWn.Fc=function(n){return Ewn(this,KB(n,366))},EWn.Ei=function(n){return Ewn(this,n)},EWn.Fi=function(){var n,t,e;for(n=0;n<this.i;++n)null!=(e=(t=KB(this.g[n],366)).Ai())&&-1!=t.xi()&&KB(e,92).Ng(t)},EWn.ri=function(n){return L8(bAt,FWn,366,n,0,1)},gX(t6n,"NotificationChainImpl",242),lAn(1378,90,n6n),EWn.Kg=function(){return this.e},EWn.Mg=function(){return!!(1&this.f)},EWn.f=1,gX(t6n,"NotifierImpl",1378),lAn(1993,63,o8n),EWn.Vh=function(n,t){return AFn(this,n,t)},EWn.Wh=function(n){return this.Vh(this.i,n)},EWn.Xh=function(n,t){BOn(this,n,t)},EWn.Yh=function(n){ZOn(this,n)},EWn.ai=function(){return!this.bj()},EWn.$b=function(){uqn(this)},EWn.Zi=function(n,t,e,i,r){return new LJ(this,n,t,e,i,r)},EWn.$i=function(n){fan(this.Ai(),n)},EWn._i=function(){return null},EWn.aj=function(){return-1},EWn.Ai=function(){return null},EWn.bj=function(){return!1},EWn.ij=function(){return!1},EWn.cj=function(n,t){return t},EWn.dj=function(n,t){return t},EWn.ej=function(){return!1},EWn.fj=function(){return 0!=this.i},EWn.ii=function(n,t){return Pln(this,n,t)},EWn.$c=function(n){return sDn(this,n)},EWn.mi=function(n,t){return sBn(this,n,t)},EWn.jj=function(n,t){return t},EWn.kj=function(n,t){return t},EWn.lj=function(n,t,e){return e},gX(t6n,"NotifyingListImpl",1993),lAn(1166,143,Z8n,LJ),EWn._i=function(){return this.a._i()},EWn.yi=function(n){return this.a.aj()},EWn.Ai=function(){return this.a.Ai()},gX(t6n,"NotifyingListImpl/1",1166),lAn(953,63,o8n,rR),EWn.Hc=function(n){return this.i>10?(this.b&&this.c.j==this.a||(this.b=new Oq(this),this.a=this.j),_T(this.b,n)):Tjn(this,n)},EWn.ni=function(){return!0},EWn.a=0,gX(K6n,"AbstractEList/1",953),lAn(295,73,$Qn,ZR),gX(K6n,"AbstractEList/BasicIndexOutOfBoundsException",295),lAn(40,1,WWn,IL),EWn.Nb=function(n){sU(this,n)},EWn.mj=function(){if(this.i.j!=this.f)throw Fp(new gv)},EWn.nj=function(){return mpn(this)},EWn.Ob=function(){return this.e!=this.i.gc()},EWn.Pb=function(){return this.nj()},EWn.Qb=function(){Wjn(this)},EWn.e=0,EWn.f=0,EWn.g=-1,gX(K6n,"AbstractEList/EIterator",40),lAn(278,40,iVn,ix,HU),EWn.Qb=function(){Wjn(this)},EWn.Rb=function(n){adn(this,n)},EWn.oj=function(){var n;try{return n=this.d.Xb(--this.e),this.mj(),this.g=this.e,n}catch(t){throw iL(t=hun(t),73)?(this.mj(),Fp(new vv)):Fp(t)}},EWn.pj=function(n){mmn(this,n)},EWn.Sb=function(){return 0!=this.e},EWn.Tb=function(){return this.e},EWn.Ub=function(){return this.oj()},EWn.Vb=function(){return this.e-1},EWn.Wb=function(n){this.pj(n)},gX(K6n,"AbstractEList/EListIterator",278),lAn(341,40,WWn,rx),EWn.nj=function(){return ypn(this)},EWn.Qb=function(){throw Fp(new dv)},gX(K6n,"AbstractEList/NonResolvingEIterator",341),lAn(385,278,iVn,cx,x_),EWn.Rb=function(n){throw Fp(new dv)},EWn.nj=function(){var n;try{return n=this.c.ki(this.e),this.mj(),this.g=this.e++,n}catch(t){throw iL(t=hun(t),73)?(this.mj(),Fp(new vv)):Fp(t)}},EWn.oj=function(){var n;try{return n=this.c.ki(--this.e),this.mj(),this.g=this.e,n}catch(t){throw iL(t=hun(t),73)?(this.mj(),Fp(new vv)):Fp(t)}},EWn.Qb=function(){throw Fp(new dv)},EWn.Wb=function(n){throw Fp(new dv)},gX(K6n,"AbstractEList/NonResolvingEListIterator",385),lAn(1982,67,e9n),EWn.Vh=function(n,t){var e,i,r,c,a,u,o,s,h;if(0!=(i=t.gc())){for(e=Msn(this,(s=null==(o=KB(van(this.a,4),126))?0:o.length)+i),(h=s-n)>0&&rHn(o,n,e,n+i,h),u=t.Kc(),c=0;c<i;++c)QA(e,n+c,Lsn(this,a=u.Pb()));for(_gn(this,e),r=0;r<i;++r)a=e[n],this.bi(n,a),++n;return!0}return++this.j,!1},EWn.Wh=function(n){var t,e,i,r,c,a,u,o,s;if(0!=(i=n.gc())){for(t=Msn(this,s=(o=null==(e=KB(van(this.a,4),126))?0:e.length)+i),u=n.Kc(),c=o;c<s;++c)QA(t,c,Lsn(this,a=u.Pb()));for(_gn(this,t),r=o;r<s;++r)a=t[r],this.bi(r,a);return!0}return++this.j,!1},EWn.Xh=function(n,t){var e,i,r,c;e=Msn(this,(r=null==(i=KB(van(this.a,4),126))?0:i.length)+1),c=Lsn(this,t),n!=r&&rHn(i,n,e,n+1,r-n),OX(e,n,c),_gn(this,e),this.bi(n,t)},EWn.Yh=function(n){var t,e,i;QA(t=Msn(this,(i=null==(e=KB(van(this.a,4),126))?0:e.length)+1),i,Lsn(this,n)),_gn(this,t),this.bi(i,n)},EWn.Zh=function(){return new T5(this)},EWn.$h=function(){return new Vz(this)},EWn._h=function(n){var t,e;if(e=null==(t=KB(van(this.a,4),126))?0:t.length,n<0||n>e)throw Fp(new ZR(n,e));return new KW(this,n)},EWn.$b=function(){var n,t;++this.j,t=null==(n=KB(van(this.a,4),126))?0:n.length,_gn(this,null),A8(this,t,n)},EWn.Hc=function(n){var t,e,i,r;if(null!=(t=KB(van(this.a,4),126)))if(null!=n){for(i=0,r=(e=t).length;i<r;++i)if($fn(n,e[i]))return!0}else for(i=0,r=(e=t).length;i<r;++i)if(HI(e[i])===HI(n))return!0;return!1},EWn.Xb=function(n){var t,e;if(n>=(e=null==(t=KB(van(this.a,4),126))?0:t.length))throw Fp(new ZR(n,e));return t[n]},EWn.Xc=function(n){var t,e,i;if(null!=(t=KB(van(this.a,4),126)))if(null!=n){for(e=0,i=t.length;e<i;++e)if($fn(n,t[e]))return e}else for(e=0,i=t.length;e<i;++e)if(HI(t[e])===HI(n))return e;return-1},EWn.dc=function(){return null==KB(van(this.a,4),126)},EWn.Kc=function(){return new E5(this)},EWn.Yc=function(){return new Wz(this)},EWn.Zc=function(n){var t,e;if(e=null==(t=KB(van(this.a,4),126))?0:t.length,n<0||n>e)throw Fp(new ZR(n,e));return new _W(this,n)},EWn.ii=function(n,t){var e,i,r;if(n>=(r=null==(e=Odn(this))?0:e.length))throw Fp(new Iy(c8n+n+a8n+r));if(t>=r)throw Fp(new Iy(u8n+t+a8n+r));return i=e[t],n!=t&&(n<t?rHn(e,n,e,n+1,t-n):rHn(e,t+1,e,t,n-t),OX(e,n,i),_gn(this,e)),i},EWn.ki=function(n){return KB(van(this.a,4),126)[n]},EWn.$c=function(n){return kOn(this,n)},EWn.mi=function(n,t){var e,i;return i=(e=Odn(this))[n],QA(e,n,Lsn(this,t)),_gn(this,e),i},EWn.gc=function(){var n;return null==(n=KB(van(this.a,4),126))?0:n.length},EWn.Pc=function(){var n,t,e;return e=null==(n=KB(van(this.a,4),126))?0:n.length,t=L8(lAt,t9n,415,e,0,1),e>0&&rHn(n,0,t,0,e),t},EWn.Qc=function(n){var t,e;return(e=null==(t=KB(van(this.a,4),126))?0:t.length)>0&&(n.length<e&&(n=Nen(Zon(n).c,e)),rHn(t,0,n,0,e)),n.length>e&&OX(n,e,null),n},gX(K6n,"ArrayDelegatingEList",1982),lAn(1038,40,WWn,E5),EWn.mj=function(){if(this.b.j!=this.f||HI(KB(van(this.b.a,4),126))!==HI(this.a))throw Fp(new gv)},EWn.Qb=function(){Wjn(this),this.a=KB(van(this.b.a,4),126)},gX(K6n,"ArrayDelegatingEList/EIterator",1038),lAn(706,278,iVn,Wz,_W),EWn.mj=function(){if(this.b.j!=this.f||HI(KB(van(this.b.a,4),126))!==HI(this.a))throw Fp(new gv)},EWn.pj=function(n){mmn(this,n),this.a=KB(van(this.b.a,4),126)},EWn.Qb=function(){Wjn(this),this.a=KB(van(this.b.a,4),126)},gX(K6n,"ArrayDelegatingEList/EListIterator",706),lAn(1039,341,WWn,T5),EWn.mj=function(){if(this.b.j!=this.f||HI(KB(van(this.b.a,4),126))!==HI(this.a))throw Fp(new gv)},gX(K6n,"ArrayDelegatingEList/NonResolvingEIterator",1039),lAn(707,385,iVn,Vz,KW),EWn.mj=function(){if(this.b.j!=this.f||HI(KB(van(this.b.a,4),126))!==HI(this.a))throw Fp(new gv)},gX(K6n,"ArrayDelegatingEList/NonResolvingEListIterator",707),lAn(606,295,$Qn,AO),gX(K6n,"BasicEList/BasicIndexOutOfBoundsException",606),lAn(696,63,o8n,NI),EWn.Vc=function(n,t){throw Fp(new dv)},EWn.Fc=function(n){throw Fp(new dv)},EWn.Wc=function(n,t){throw Fp(new dv)},EWn.Gc=function(n){throw Fp(new dv)},EWn.$b=function(){throw Fp(new dv)},EWn.qi=function(n){throw Fp(new dv)},EWn.Kc=function(){return this.Zh()},EWn.Yc=function(){return this.$h()},EWn.Zc=function(n){return this._h(n)},EWn.ii=function(n,t){throw Fp(new dv)},EWn.ji=function(n,t){throw Fp(new dv)},EWn.$c=function(n){throw Fp(new dv)},EWn.Mc=function(n){throw Fp(new dv)},EWn._c=function(n,t){throw Fp(new dv)},gX(K6n,"BasicEList/UnmodifiableEList",696),lAn(705,1,{3:1,20:1,14:1,15:1,58:1,589:1}),EWn.Vc=function(n,t){W$(this,n,KB(t,42))},EWn.Fc=function(n){return rD(this,KB(n,42))},EWn.Jc=function(n){n5(this,n)},EWn.Xb=function(n){return KB(Utn(this.c,n),133)},EWn.ii=function(n,t){return KB(this.c.ii(n,t),42)},EWn.ji=function(n,t){V$(this,n,KB(t,42))},EWn.Lc=function(){return new xq(null,new l1(this,16))},EWn.$c=function(n){return KB(this.c.$c(n),42)},EWn._c=function(n,t){return cX(this,n,KB(t,42))},EWn.ad=function(n){Rrn(this,n)},EWn.Nc=function(){return new l1(this,16)},EWn.Oc=function(){return new xq(null,new l1(this,16))},EWn.Wc=function(n,t){return this.c.Wc(n,t)},EWn.Gc=function(n){return this.c.Gc(n)},EWn.$b=function(){this.c.$b()},EWn.Hc=function(n){return this.c.Hc(n)},EWn.Ic=function(n){return aun(this.c,n)},EWn.qj=function(){var n,t;if(null==this.d){for(this.d=L8(uAt,i9n,63,2*this.f+1,0,1),t=this.e,this.f=0,n=this.c.Kc();n.e!=n.i.gc();)Pvn(this,KB(n.nj(),133));this.e=t}},EWn.Fb=function(n){return $_(this,n)},EWn.Hb=function(){return Eun(this.c)},EWn.Xc=function(n){return this.c.Xc(n)},EWn.rj=function(){this.c=new op(this)},EWn.dc=function(){return 0==this.f},EWn.Kc=function(){return this.c.Kc()},EWn.Yc=function(){return this.c.Yc()},EWn.Zc=function(n){return this.c.Zc(n)},EWn.sj=function(){return I8(this)},EWn.tj=function(n,t,e){return new TB(n,t,e)},EWn.uj=function(){return new vo},EWn.Mc=function(n){return oin(this,n)},EWn.gc=function(){return this.f},EWn.bd=function(n,t){return new u1(this.c,n,t)},EWn.Pc=function(){return this.c.Pc()},EWn.Qc=function(n){return this.c.Qc(n)},EWn.Ib=function(){return Qbn(this.c)},EWn.e=0,EWn.f=0,gX(K6n,"BasicEMap",705),lAn(1033,63,o8n,op),EWn.bi=function(n,t){Iv(this,KB(t,133))},EWn.ei=function(n,t,e){var i;++(i=this,KB(t,133),i).a.e},EWn.fi=function(n,t){Ov(this,KB(t,133))},EWn.gi=function(n,t,e){XN(this,KB(t,133),KB(e,133))},EWn.di=function(n,t){ran(this.a)},gX(K6n,"BasicEMap/1",1033),lAn(1034,63,o8n,vo),EWn.ri=function(n){return L8(dAt,r9n,612,n,0,1)},gX(K6n,"BasicEMap/2",1034),lAn(1035,YWn,ZWn,sp),EWn.$b=function(){this.a.c.$b()},EWn.Hc=function(n){return edn(this.a,n)},EWn.Kc=function(){return 0==this.a.f?(bD(),wAt.a):new Kj(this.a)},EWn.Mc=function(n){var t;return t=this.a.f,Udn(this.a,n),this.a.f!=t},EWn.gc=function(){return this.a.f},gX(K6n,"BasicEMap/3",1035),lAn(1036,28,JWn,hp),EWn.$b=function(){this.a.c.$b()},EWn.Hc=function(n){return VDn(this.a,n)},EWn.Kc=function(){return 0==this.a.f?(bD(),wAt.a):new Fj(this.a)},EWn.gc=function(){return this.a.f},gX(K6n,"BasicEMap/4",1036),lAn(1037,YWn,ZWn,fp),EWn.$b=function(){this.a.c.$b()},EWn.Hc=function(n){var t,e,i,r,c,a,u,o,s;if(this.a.f>0&&iL(n,42)&&(this.a.qj(),r=null==(u=(o=KB(n,42)).cd())?0:Yon(u),c=nR(this.a,r),t=this.a.d[c]))for(e=KB(t.g,367),s=t.i,a=0;a<s;++a)if((i=e[a]).Sh()==r&&i.Fb(o))return!0;return!1},EWn.Kc=function(){return 0==this.a.f?(bD(),wAt.a):new dQ(this.a)},EWn.Mc=function(n){return PAn(this,n)},EWn.gc=function(){return this.a.f},gX(K6n,"BasicEMap/5",1037),lAn(613,1,WWn,dQ),EWn.Nb=function(n){sU(this,n)},EWn.Ob=function(){return-1!=this.b},EWn.Pb=function(){var n;if(this.f.e!=this.c)throw Fp(new gv);if(-1==this.b)throw Fp(new vv);return this.d=this.a,this.e=this.b,cjn(this),n=KB(this.f.d[this.d].g[this.e],133),this.vj(n)},EWn.Qb=function(){if(this.f.e!=this.c)throw Fp(new gv);if(-1==this.e)throw Fp(new bv);this.f.c.Mc(Utn(this.f.d[this.d],this.e)),this.c=this.f.e,this.e=-1,this.a==this.d&&-1!=this.b&&--this.b},EWn.vj=function(n){return n},EWn.a=0,EWn.b=-1,EWn.c=0,EWn.d=0,EWn.e=0,gX(K6n,"BasicEMap/BasicEMapIterator",613),lAn(1031,613,WWn,Kj),EWn.vj=function(n){return n.cd()},gX(K6n,"BasicEMap/BasicEMapKeyIterator",1031),lAn(1032,613,WWn,Fj),EWn.vj=function(n){return n.dd()},gX(K6n,"BasicEMap/BasicEMapValueIterator",1032),lAn(1030,1,QWn,lp),EWn.wc=function(n){Ycn(this,n)},EWn.yc=function(n,t,e){return Jln(this,n,t,e)},EWn.$b=function(){this.a.c.$b()},EWn._b=function(n){return KI(this,n)},EWn.uc=function(n){return VDn(this.a,n)},EWn.vc=function(){return P8(this.a)},EWn.Fb=function(n){return $_(this.a,n)},EWn.xc=function(n){return idn(this.a,n)},EWn.Hb=function(){return Eun(this.a.c)},EWn.dc=function(){return 0==this.a.f},EWn.ec=function(){return C8(this.a)},EWn.zc=function(n,t){return gjn(this.a,n,t)},EWn.Bc=function(n){return Udn(this.a,n)},EWn.gc=function(){return this.a.f},EWn.Ib=function(){return Qbn(this.a.c)},EWn.Cc=function(){return S8(this.a)},gX(K6n,"BasicEMap/DelegatingMap",1030),lAn(612,1,{42:1,133:1,612:1},TB),EWn.Fb=function(n){var t;return!!iL(n,42)&&(t=KB(n,42),(null!=this.b?$fn(this.b,t.cd()):HI(this.b)===HI(t.cd()))&&(null!=this.c?$fn(this.c,t.dd()):HI(this.c)===HI(t.dd())))},EWn.Sh=function(){return this.a},EWn.cd=function(){return this.b},EWn.dd=function(){return this.c},EWn.Hb=function(){return this.a^(null==this.c?0:Yon(this.c))},EWn.Th=function(n){this.a=n},EWn.Uh=function(n){throw Fp(new uv)},EWn.ed=function(n){var t;return t=this.c,this.c=n,t},EWn.Ib=function(){return this.b+"->"+this.c},EWn.a=0;var wAt,dAt=gX(K6n,"BasicEMap/EntryImpl",612);lAn(536,1,{},oo),gX(K6n,"BasicEMap/View",536),lAn(768,1,{}),EWn.Fb=function(n){return $An((TQ(),uet),n)},EWn.Hb=function(){return _on((TQ(),uet))},EWn.Ib=function(){return AMn((TQ(),uet))},gX(K6n,"ECollections/BasicEmptyUnmodifiableEList",768),lAn(1312,1,iVn,mo),EWn.Nb=function(n){sU(this,n)},EWn.Rb=function(n){throw Fp(new dv)},EWn.Ob=function(){return!1},EWn.Sb=function(){return!1},EWn.Pb=function(){throw Fp(new vv)},EWn.Tb=function(){return 0},EWn.Ub=function(){throw Fp(new vv)},EWn.Vb=function(){return-1},EWn.Qb=function(){throw Fp(new dv)},EWn.Wb=function(n){throw Fp(new dv)},gX(K6n,"ECollections/BasicEmptyUnmodifiableEList/1",1312),lAn(1310,768,{20:1,14:1,15:1,58:1},jm),EWn.Vc=function(n,t){$E()},EWn.Fc=function(n){return LE()},EWn.Wc=function(n,t){return NE()},EWn.Gc=function(n){return xE()},EWn.$b=function(){DE()},EWn.Hc=function(n){return!1},EWn.Ic=function(n){return!1},EWn.Jc=function(n){n5(this,n)},EWn.Xb=function(n){return vO((TQ(),n)),null},EWn.Xc=function(n){return-1},EWn.dc=function(){return!0},EWn.Kc=function(){return this.a},EWn.Yc=function(){return this.a},EWn.Zc=function(n){return this.a},EWn.ii=function(n,t){return RE()},EWn.ji=function(n,t){_E()},EWn.Lc=function(){return new xq(null,new l1(this,16))},EWn.$c=function(n){return KE()},EWn.Mc=function(n){return FE()},EWn._c=function(n,t){return BE()},EWn.gc=function(){return 0},EWn.ad=function(n){Rrn(this,n)},EWn.Nc=function(){return new l1(this,16)},EWn.Oc=function(){return new xq(null,new l1(this,16))},EWn.bd=function(n,t){return TQ(),new u1(uet,n,t)},EWn.Pc=function(){return iz((TQ(),uet))},EWn.Qc=function(n){return TQ(),kmn(uet,n)},gX(K6n,"ECollections/EmptyUnmodifiableEList",1310),lAn(1311,768,{20:1,14:1,15:1,58:1,589:1},Em),EWn.Vc=function(n,t){$E()},EWn.Fc=function(n){return LE()},EWn.Wc=function(n,t){return NE()},EWn.Gc=function(n){return xE()},EWn.$b=function(){DE()},EWn.Hc=function(n){return!1},EWn.Ic=function(n){return!1},EWn.Jc=function(n){n5(this,n)},EWn.Xb=function(n){return vO((TQ(),n)),null},EWn.Xc=function(n){return-1},EWn.dc=function(){return!0},EWn.Kc=function(){return this.a},EWn.Yc=function(){return this.a},EWn.Zc=function(n){return this.a},EWn.ii=function(n,t){return RE()},EWn.ji=function(n,t){_E()},EWn.Lc=function(){return new xq(null,new l1(this,16))},EWn.$c=function(n){return KE()},EWn.Mc=function(n){return FE()},EWn._c=function(n,t){return BE()},EWn.gc=function(){return 0},EWn.ad=function(n){Rrn(this,n)},EWn.Nc=function(){return new l1(this,16)},EWn.Oc=function(){return new xq(null,new l1(this,16))},EWn.bd=function(n,t){return TQ(),new u1(uet,n,t)},EWn.Pc=function(){return iz((TQ(),uet))},EWn.Qc=function(n){return TQ(),kmn(uet,n)},EWn.sj=function(){return TQ(),TQ(),oet},gX(K6n,"ECollections/EmptyUnmodifiableEMap",1311);var gAt,pAt=fq(K6n,"Enumerator");lAn(281,1,{281:1},eRn),EWn.Fb=function(n){var t;return this===n||!!iL(n,281)&&(t=KB(n,281),this.f==t.f&&gG(this.i,t.i)&&dG(this.a,256&this.f?256&t.f?t.a:null:256&t.f?null:t.a)&&dG(this.d,t.d)&&dG(this.g,t.g)&&dG(this.e,t.e)&&Tpn(this,t))},EWn.Hb=function(){return this.f},EWn.Ib=function(){return EKn(this)},EWn.f=0;var vAt,mAt,yAt,kAt=0,jAt=0,EAt=0,TAt=0,MAt=0,SAt=0,PAt=0,CAt=0,IAt=0,OAt=0,AAt=0,$At=0,LAt=0;gX(K6n,"URI",281),lAn(1091,43,ZQn,Tm),EWn.zc=function(n,t){return KB(pZ(this,TD(n),KB(t,281)),281)},gX(K6n,"URI/URICache",1091),lAn(497,63,o8n,fo,eG),EWn.hi=function(){return!0},gX(K6n,"UniqueEList",497),lAn(581,60,KVn,A7),gX(K6n,"WrappedException",581);var NAt,xAt=fq(B5n,u9n),DAt=fq(B5n,o9n),RAt=fq(B5n,s9n),_At=fq(B5n,h9n),KAt=fq(B5n,f9n),FAt=fq(B5n,"EClass"),BAt=fq(B5n,"EDataType");lAn(1183,43,ZQn,Mm),EWn.xc=function(n){return zI(n)?TY(this,n):BI(IJ(this.f,n))},gX(B5n,"EDataType/Internal/ConversionDelegate/Factory/Registry/Impl",1183);var HAt,qAt,GAt=fq(B5n,"EEnum"),zAt=fq(B5n,l9n),UAt=fq(B5n,b9n),XAt=fq(B5n,w9n),WAt=fq(B5n,d9n),VAt=fq(B5n,g9n);lAn(1029,1,{},ho),EWn.Ib=function(){return"NIL"},gX(B5n,"EStructuralFeature/Internal/DynamicValueHolder/1",1029),lAn(1028,43,ZQn,Sm),EWn.xc=function(n){return zI(n)?TY(this,n):BI(IJ(this.f,n))},gX(B5n,"EStructuralFeature/Internal/SettingDelegate/Factory/Registry/Impl",1028);var QAt,JAt,YAt,ZAt,n$t,t$t,e$t,i$t,r$t,c$t,a$t,u$t,o$t,s$t,h$t,f$t,l$t,b$t,w$t,d$t,g$t,p$t,v$t,m$t,y$t,k$t,j$t,E$t,T$t,M$t,S$t,P$t=fq(B5n,p9n),C$t=fq(B5n,"EValidator/PatternMatcher"),I$t=fq(v9n,"FeatureMap/Entry");lAn(535,1,{72:1},SI),EWn.ak=function(){return this.a},EWn.dd=function(){return this.b},gX(h6n,"BasicEObjectImpl/1",535),lAn(1027,1,m9n,PI),EWn.Wj=function(n){return X5(this.a,this.b,n)},EWn.fj=function(){return JY(this.a,this.b)},EWn.Wb=function(n){$Y(this.a,this.b,n)},EWn.Xj=function(){MW(this.a,this.b)},gX(h6n,"BasicEObjectImpl/4",1027),lAn(1983,1,{108:1}),EWn.bk=function(n){this.e=0==n?j$t:L8(Int,FWn,1,n,5,1)},EWn.Ch=function(n){return this.e[n]},EWn.Dh=function(n,t){this.e[n]=t},EWn.Eh=function(n){this.e[n]=null},EWn.ck=function(){return this.c},EWn.dk=function(){throw Fp(new dv)},EWn.ek=function(){throw Fp(new dv)},EWn.fk=function(){return this.d},EWn.gk=function(){return null!=this.e},EWn.hk=function(n){this.c=n},EWn.ik=function(n){throw Fp(new dv)},EWn.jk=function(n){throw Fp(new dv)},EWn.kk=function(n){this.d=n},gX(h6n,"BasicEObjectImpl/EPropertiesHolderBaseImpl",1983),lAn(185,1983,{108:1},Df),EWn.dk=function(){return this.a},EWn.ek=function(){return this.b},EWn.ik=function(n){this.a=n},EWn.jk=function(n){this.b=n},gX(h6n,"BasicEObjectImpl/EPropertiesHolderImpl",185),lAn(506,97,s6n,yo),EWn.Kg=function(){return this.f},EWn.Pg=function(){return this.k},EWn.Rg=function(n,t){this.g=n,this.i=t},EWn.Tg=function(){return 2&this.j?this.ph().ck():this.zh()},EWn.Vg=function(){return this.i},EWn.Mg=function(){return!!(1&this.j)},EWn.eh=function(){return this.g},EWn.kh=function(){return!!(4&this.j)},EWn.ph=function(){return!this.k&&(this.k=new Df),this.k},EWn.th=function(n){this.ph().hk(n),n?this.j|=2:this.j&=-3},EWn.vh=function(n){this.ph().jk(n),n?this.j|=4:this.j&=-5},EWn.zh=function(){return(WX(),YAt).S},EWn.i=0,EWn.j=1,gX(h6n,"EObjectImpl",506),lAn(780,506,{105:1,92:1,90:1,56:1,108:1,49:1,97:1},yH),EWn.Ch=function(n){return this.e[n]},EWn.Dh=function(n,t){this.e[n]=t},EWn.Eh=function(n){this.e[n]=null},EWn.Tg=function(){return this.d},EWn.Yg=function(n){return Iwn(this.d,n)},EWn.$g=function(){return this.d},EWn.dh=function(){return null!=this.e},EWn.ph=function(){return!this.k&&(this.k=new ko),this.k},EWn.th=function(n){this.d=n},EWn.yh=function(){var n;return null==this.e&&(n=fX(this.d),this.e=0==n?E$t:L8(Int,FWn,1,n,5,1)),this},EWn.Ah=function(){return 0},gX(h6n,"DynamicEObjectImpl",780),lAn(1376,780,{105:1,42:1,92:1,90:1,133:1,56:1,108:1,49:1,97:1},sq),EWn.Fb=function(n){return this===n},EWn.Hb=function(){return MN(this)},EWn.th=function(n){this.d=n,this.b=$Nn(n,"key"),this.c=$Nn(n,k6n)},EWn.Sh=function(){var n;return-1==this.a&&(n=Q7(this,this.b),this.a=null==n?0:Yon(n)),this.a},EWn.cd=function(){return Q7(this,this.b)},EWn.dd=function(){return Q7(this,this.c)},EWn.Th=function(n){this.a=n},EWn.Uh=function(n){$Y(this,this.b,n)},EWn.ed=function(n){var t;return t=Q7(this,this.c),$Y(this,this.c,n),t},EWn.a=0,gX(h6n,"DynamicEObjectImpl/BasicEMapEntry",1376),lAn(1377,1,{108:1},ko),EWn.bk=function(n){throw Fp(new dv)},EWn.Ch=function(n){throw Fp(new dv)},EWn.Dh=function(n,t){throw Fp(new dv)},EWn.Eh=function(n){throw Fp(new dv)},EWn.ck=function(){throw Fp(new dv)},EWn.dk=function(){return this.a},EWn.ek=function(){return this.b},EWn.fk=function(){return this.c},EWn.gk=function(){throw Fp(new dv)},EWn.hk=function(n){throw Fp(new dv)},EWn.ik=function(n){this.a=n},EWn.jk=function(n){this.b=n},EWn.kk=function(n){this.c=n},gX(h6n,"DynamicEObjectImpl/DynamicEPropertiesHolderImpl",1377),lAn(510,150,{105:1,92:1,90:1,590:1,147:1,56:1,108:1,49:1,97:1,510:1,150:1,114:1,115:1},jo),EWn.Qg=function(n){return fkn(this,n)},EWn._g=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),this.Ab;case 1:return this.d;case 2:return e?(!this.b&&(this.b=new Qx((wWn(),v$t),G$t,this)),this.b):(!this.b&&(this.b=new Qx((wWn(),v$t),G$t,this)),I8(this.b));case 3:return fZ(this);case 4:return!this.a&&(this.a=new OL(OOt,this,4)),this.a;case 5:return!this.c&&(this.c=new xL(OOt,this,5)),this.c}return G9(this,n-fX((wWn(),ZAt)),ttn(KB(van(this,16),26)||ZAt,n),t,e)},EWn.hh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),Vwn(this.Ab,n,e);case 3:return this.Cb&&(e=(i=this.Db>>16)>=0?fkn(this,e):this.Cb.ih(this,-1-i,null,e)),WG(this,KB(n,147),e)}return KB(ttn(KB(van(this,16),26)||(wWn(),ZAt),t),66).Nj().Qj(this,sgn(this),t-fX((wWn(),ZAt)),n,e)},EWn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),Rpn(this.Ab,n,e);case 2:return!this.b&&(this.b=new Qx((wWn(),v$t),G$t,this)),K_(this.b,n,e);case 3:return WG(this,null,e);case 4:return!this.a&&(this.a=new OL(OOt,this,4)),Rpn(this.a,n,e)}return KB(ttn(KB(van(this,16),26)||(wWn(),ZAt),t),66).Nj().Rj(this,sgn(this),t-fX((wWn(),ZAt)),n,e)},EWn.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.d;case 2:return!!this.b&&0!=this.b.f;case 3:return!!fZ(this);case 4:return!!this.a&&0!=this.a.i;case 5:return!!this.c&&0!=this.c.i}return C3(this,n-fX((wWn(),ZAt)),ttn(KB(van(this,16),26)||ZAt,n))},EWn.sh=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),uqn(this.Ab),!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),void dX(this.Ab,KB(t,14));case 1:return void dq(this,TD(t));case 2:return!this.b&&(this.b=new Qx((wWn(),v$t),G$t,this)),void Zcn(this.b,t);case 3:return void CNn(this,KB(t,147));case 4:return!this.a&&(this.a=new OL(OOt,this,4)),uqn(this.a),!this.a&&(this.a=new OL(OOt,this,4)),void dX(this.a,KB(t,14));case 5:return!this.c&&(this.c=new xL(OOt,this,5)),uqn(this.c),!this.c&&(this.c=new xL(OOt,this,5)),void dX(this.c,KB(t,14))}Abn(this,n-fX((wWn(),ZAt)),ttn(KB(van(this,16),26)||ZAt,n),t)},EWn.zh=function(){return wWn(),ZAt},EWn.Bh=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),void uqn(this.Ab);case 1:return void Kin(this,null);case 2:return!this.b&&(this.b=new Qx((wWn(),v$t),G$t,this)),void this.b.c.$b();case 3:return void CNn(this,null);case 4:return!this.a&&(this.a=new OL(OOt,this,4)),void uqn(this.a);case 5:return!this.c&&(this.c=new xL(OOt,this,5)),void uqn(this.c)}Bfn(this,n-fX((wWn(),ZAt)),ttn(KB(van(this,16),26)||ZAt,n))},EWn.Ib=function(){return Xfn(this)},EWn.d=null,gX(h6n,"EAnnotationImpl",510),lAn(151,705,y9n,v9),EWn.Xh=function(n,t){YA(this,n,KB(t,42))},EWn.lk=function(n,t){return __(this,KB(n,42),t)},EWn.pi=function(n){return KB(KB(this.c,69).pi(n),133)},EWn.Zh=function(){return KB(this.c,69).Zh()},EWn.$h=function(){return KB(this.c,69).$h()},EWn._h=function(n){return KB(this.c,69)._h(n)},EWn.mk=function(n,t){return K_(this,n,t)},EWn.Wj=function(n){return KB(this.c,76).Wj(n)},EWn.rj=function(){},EWn.fj=function(){return KB(this.c,76).fj()},EWn.tj=function(n,t,e){var i;return(i=KB(Gtn(this.b).Nh().Jh(this.b),133)).Th(n),i.Uh(t),i.ed(e),i},EWn.uj=function(){return new Pp(this)},EWn.Wb=function(n){Zcn(this,n)},EWn.Xj=function(){KB(this.c,76).Xj()},gX(v9n,"EcoreEMap",151),lAn(158,151,y9n,Qx),EWn.qj=function(){var n,t,e,i,r;if(null==this.d){for(r=L8(uAt,i9n,63,2*this.f+1,0,1),e=this.c.Kc();e.e!=e.i.gc();)!(n=r[i=((t=KB(e.nj(),133)).Sh()&NWn)%r.length])&&(n=r[i]=new Pp(this)),n.Fc(t);this.d=r}},gX(h6n,"EAnnotationImpl/1",158),lAn(284,438,{105:1,92:1,90:1,147:1,191:1,56:1,108:1,472:1,49:1,97:1,150:1,284:1,114:1,115:1}),EWn._g=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return oN(),!!(256&this.Bb);case 3:return oN(),!!(512&this.Bb);case 4:return tln(this.s);case 5:return tln(this.t);case 6:return oN(),!!this.$j();case 7:return oN(),this.s>=1;case 8:return t?Pkn(this):this.r;case 9:return this.q}return G9(this,n-fX(this.zh()),ttn(KB(van(this,16),26)||this.zh(),n),t,e)},EWn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),Rpn(this.Ab,n,e);case 9:return wX(this,e)}return KB(ttn(KB(van(this,16),26)||this.zh(),t),66).Nj().Rj(this,sgn(this),t-fX(this.zh()),n,e)},EWn.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return!(256&this.Bb);case 3:return!(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return this.$j();case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==vW(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==vW(this.q).i)}return C3(this,n-fX(this.zh()),ttn(KB(van(this,16),26)||this.zh(),n))},EWn.sh=function(n,t){var e;switch(n){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),uqn(this.Ab),!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),void dX(this.Ab,KB(t,14));case 1:return void this.Lh(TD(t));case 2:return void Vfn(this,By(jD(t)));case 3:return void Yfn(this,By(jD(t)));case 4:return void Aen(this,KB(t,19).a);case 5:return void this.ok(KB(t,19).a);case 8:return void Phn(this,KB(t,138));case 9:return void((e=FTn(this,KB(t,87),null))&&e.Fi())}Abn(this,n-fX(this.zh()),ttn(KB(van(this,16),26)||this.zh(),n),t)},EWn.zh=function(){return wWn(),y$t},EWn.Bh=function(n){var t;switch(n){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),void uqn(this.Ab);case 1:return void this.Lh(null);case 2:return void Vfn(this,!0);case 3:return void Yfn(this,!0);case 4:return void Aen(this,0);case 5:return void this.ok(1);case 8:return void Phn(this,null);case 9:return void((t=FTn(this,null,null))&&t.Fi())}Bfn(this,n-fX(this.zh()),ttn(KB(van(this,16),26)||this.zh(),n))},EWn.Gh=function(){Pkn(this),this.Bb|=1},EWn.Yj=function(){return Pkn(this)},EWn.Zj=function(){return this.t},EWn.$j=function(){var n;return(n=this.t)>1||-1==n},EWn.hi=function(){return!!(512&this.Bb)},EWn.nk=function(n,t){return Mfn(this,n,t)},EWn.ok=function(n){$en(this,n)},EWn.Ib=function(){return DOn(this)},EWn.s=0,EWn.t=1,gX(h6n,"ETypedElementImpl",284),lAn(449,284,{105:1,92:1,90:1,147:1,191:1,56:1,170:1,66:1,108:1,472:1,49:1,97:1,150:1,449:1,284:1,114:1,115:1,677:1}),EWn.Qg=function(n){return $yn(this,n)},EWn._g=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return oN(),!!(256&this.Bb);case 3:return oN(),!!(512&this.Bb);case 4:return tln(this.s);case 5:return tln(this.t);case 6:return oN(),!!this.$j();case 7:return oN(),this.s>=1;case 8:return t?Pkn(this):this.r;case 9:return this.q;case 10:return oN(),!!(this.Bb&m6n);case 11:return oN(),!!(this.Bb&E9n);case 12:return oN(),!!(this.Bb&RQn);case 13:return this.j;case 14:return BLn(this);case 15:return oN(),!!(this.Bb&j9n);case 16:return oN(),!!(this.Bb&oVn);case 17:return bZ(this)}return G9(this,n-fX(this.zh()),ttn(KB(van(this,16),26)||this.zh(),n),t,e)},EWn.hh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),Vwn(this.Ab,n,e);case 17:return this.Cb&&(e=(i=this.Db>>16)>=0?$yn(this,e):this.Cb.ih(this,-1-i,null,e)),jKn(this,n,17,e)}return KB(ttn(KB(van(this,16),26)||this.zh(),t),66).Nj().Qj(this,sgn(this),t-fX(this.zh()),n,e)},EWn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),Rpn(this.Ab,n,e);case 9:return wX(this,e);case 17:return jKn(this,null,17,e)}return KB(ttn(KB(van(this,16),26)||this.zh(),t),66).Nj().Rj(this,sgn(this),t-fX(this.zh()),n,e)},EWn.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return!(256&this.Bb);case 3:return!(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return this.$j();case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==vW(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==vW(this.q).i);case 10:return!(this.Bb&m6n);case 11:return!!(this.Bb&E9n);case 12:return!!(this.Bb&RQn);case 13:return null!=this.j;case 14:return null!=BLn(this);case 15:return!!(this.Bb&j9n);case 16:return!!(this.Bb&oVn);case 17:return!!bZ(this)}return C3(this,n-fX(this.zh()),ttn(KB(van(this,16),26)||this.zh(),n))},EWn.sh=function(n,t){var e;switch(n){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),uqn(this.Ab),!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),void dX(this.Ab,KB(t,14));case 1:return void QZ(this,TD(t));case 2:return void Vfn(this,By(jD(t)));case 3:return void Yfn(this,By(jD(t)));case 4:return void Aen(this,KB(t,19).a);case 5:return void this.ok(KB(t,19).a);case 8:return void Phn(this,KB(t,138));case 9:return void((e=FTn(this,KB(t,87),null))&&e.Fi());case 10:return void Iln(this,By(jD(t)));case 11:return void $ln(this,By(jD(t)));case 12:return void Oln(this,By(jD(t)));case 13:return void RI(this,TD(t));case 15:return void Aln(this,By(jD(t)));case 16:return void Bln(this,By(jD(t)))}Abn(this,n-fX(this.zh()),ttn(KB(van(this,16),26)||this.zh(),n),t)},EWn.zh=function(){return wWn(),m$t},EWn.Bh=function(n){var t;switch(n){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),void uqn(this.Ab);case 1:return iL(this.Cb,88)&&ICn(M5(KB(this.Cb,88)),4),void $rn(this,null);case 2:return void Vfn(this,!0);case 3:return void Yfn(this,!0);case 4:return void Aen(this,0);case 5:return void this.ok(1);case 8:return void Phn(this,null);case 9:return void((t=FTn(this,null,null))&&t.Fi());case 10:return void Iln(this,!0);case 11:return void $ln(this,!1);case 12:return void Oln(this,!1);case 13:return this.i=null,void rrn(this,null);case 15:return void Aln(this,!1);case 16:return void Bln(this,!1)}Bfn(this,n-fX(this.zh()),ttn(KB(van(this,16),26)||this.zh(),n))},EWn.Gh=function(){mV(K7((PPn(),Q$t),this)),Pkn(this),this.Bb|=1},EWn.Gj=function(){return this.f},EWn.zj=function(){return BLn(this)},EWn.Hj=function(){return bZ(this)},EWn.Lj=function(){return null},EWn.pk=function(){return this.k},EWn.aj=function(){return this.n},EWn.Mj=function(){return aEn(this)},EWn.Nj=function(){var n,t,e,i,r,c,a,u,o;return this.p||((null==(e=bZ(this)).i&&BFn(e),e.i).length,(i=this.Lj())&&fX(bZ(i)),n=(a=(r=Pkn(this)).Bj())?1&a.i?a==INt?mtt:a==CNt?Itt:a==LNt?Stt:a==$Nt?Mtt:a==ONt?xtt:a==NNt?Rtt:a==ANt?jtt:Ttt:a:null,t=BLn(this),u=r.zj(),fbn(this),this.Bb&oVn&&((c=pjn((PPn(),Q$t),e))&&c!=this||(c=J1(K7(Q$t,this))))?this.p=new II(this,c):this.$j()?this.rk()?i?this.Bb&j9n?n?this.sk()?this.p=new hQ(47,n,this,i):this.p=new hQ(5,n,this,i):this.sk()?this.p=new l4(46,this,i):this.p=new l4(4,this,i):n?this.sk()?this.p=new hQ(49,n,this,i):this.p=new hQ(7,n,this,i):this.sk()?this.p=new l4(48,this,i):this.p=new l4(6,this,i):this.Bb&j9n?n?n==Fnt?this.p=new MB(50,UOt,this):this.sk()?this.p=new MB(43,n,this):this.p=new MB(1,n,this):this.sk()?this.p=new xJ(42,this):this.p=new xJ(0,this):n?n==Fnt?this.p=new MB(41,UOt,this):this.sk()?this.p=new MB(45,n,this):this.p=new MB(3,n,this):this.sk()?this.p=new xJ(44,this):this.p=new xJ(2,this):iL(r,148)?n==I$t?this.p=new xJ(40,this):512&this.Bb?this.Bb&j9n?this.p=n?new MB(9,n,this):new xJ(8,this):this.p=n?new MB(11,n,this):new xJ(10,this):this.Bb&j9n?this.p=n?new MB(13,n,this):new xJ(12,this):this.p=n?new MB(15,n,this):new xJ(14,this):i?(o=i.t)>1||-1==o?this.sk()?this.Bb&j9n?this.p=n?new hQ(25,n,this,i):new l4(24,this,i):this.p=n?new hQ(27,n,this,i):new l4(26,this,i):this.Bb&j9n?this.p=n?new hQ(29,n,this,i):new l4(28,this,i):this.p=n?new hQ(31,n,this,i):new l4(30,this,i):this.sk()?this.Bb&j9n?this.p=n?new hQ(33,n,this,i):new l4(32,this,i):this.p=n?new hQ(35,n,this,i):new l4(34,this,i):this.Bb&j9n?this.p=n?new hQ(37,n,this,i):new l4(36,this,i):this.p=n?new hQ(39,n,this,i):new l4(38,this,i):this.sk()?this.Bb&j9n?this.p=n?new MB(17,n,this):new xJ(16,this):this.p=n?new MB(19,n,this):new xJ(18,this):this.Bb&j9n?this.p=n?new MB(21,n,this):new xJ(20,this):this.p=n?new MB(23,n,this):new xJ(22,this):this.qk()?this.sk()?this.p=new SB(KB(r,26),this,i):this.p=new pY(KB(r,26),this,i):iL(r,148)?n==I$t?this.p=new xJ(40,this):this.Bb&j9n?this.p=n?new YG(t,u,this,(Kwn(),a==CNt?F$t:a==INt?x$t:a==ONt?B$t:a==LNt?K$t:a==$Nt?_$t:a==NNt?q$t:a==ANt?D$t:a==PNt?R$t:H$t)):new bQ(KB(r,148),t,u,this):this.p=n?new JG(t,u,this,(Kwn(),a==CNt?F$t:a==INt?x$t:a==ONt?B$t:a==LNt?K$t:a==$Nt?_$t:a==NNt?q$t:a==ANt?D$t:a==PNt?R$t:H$t)):new lQ(KB(r,148),t,u,this):this.rk()?i?this.Bb&j9n?this.sk()?this.p=new $B(KB(r,26),this,i):this.p=new AB(KB(r,26),this,i):this.sk()?this.p=new OB(KB(r,26),this,i):this.p=new PB(KB(r,26),this,i):this.Bb&j9n?this.sk()?this.p=new nD(KB(r,26),this):this.p=new Zx(KB(r,26),this):this.sk()?this.p=new Yx(KB(r,26),this):this.p=new Jx(KB(r,26),this):this.sk()?i?this.Bb&j9n?this.p=new LB(KB(r,26),this,i):this.p=new CB(KB(r,26),this,i):this.Bb&j9n?this.p=new eD(KB(r,26),this):this.p=new tD(KB(r,26),this):i?this.Bb&j9n?this.p=new NB(KB(r,26),this,i):this.p=new IB(KB(r,26),this,i):this.Bb&j9n?this.p=new iD(KB(r,26),this):this.p=new iG(KB(r,26),this)),this.p},EWn.Ij=function(){return!!(this.Bb&m6n)},EWn.qk=function(){return!1},EWn.rk=function(){return!1},EWn.Jj=function(){return!!(this.Bb&oVn)},EWn.Oj=function(){return onn(this)},EWn.sk=function(){return!1},EWn.Kj=function(){return!!(this.Bb&j9n)},EWn.tk=function(n){this.k=n},EWn.Lh=function(n){QZ(this,n)},EWn.Ib=function(){return kRn(this)},EWn.e=!1,EWn.n=0,gX(h6n,"EStructuralFeatureImpl",449),lAn(322,449,{105:1,92:1,90:1,34:1,147:1,191:1,56:1,170:1,66:1,108:1,472:1,49:1,97:1,322:1,150:1,449:1,284:1,114:1,115:1,677:1},Cm),EWn._g=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return oN(),!!(256&this.Bb);case 3:return oN(),!!(512&this.Bb);case 4:return tln(this.s);case 5:return tln(this.t);case 6:return oN(),!!$In(this);case 7:return oN(),this.s>=1;case 8:return t?Pkn(this):this.r;case 9:return this.q;case 10:return oN(),!!(this.Bb&m6n);case 11:return oN(),!!(this.Bb&E9n);case 12:return oN(),!!(this.Bb&RQn);case 13:return this.j;case 14:return BLn(this);case 15:return oN(),!!(this.Bb&j9n);case 16:return oN(),!!(this.Bb&oVn);case 17:return bZ(this);case 18:return oN(),!!(this.Bb&o6n);case 19:return t?cun(this):L6(this)}return G9(this,n-fX((wWn(),n$t)),ttn(KB(van(this,16),26)||n$t,n),t,e)},EWn.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return!(256&this.Bb);case 3:return!(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return $In(this);case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==vW(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==vW(this.q).i);case 10:return!(this.Bb&m6n);case 11:return!!(this.Bb&E9n);case 12:return!!(this.Bb&RQn);case 13:return null!=this.j;case 14:return null!=BLn(this);case 15:return!!(this.Bb&j9n);case 16:return!!(this.Bb&oVn);case 17:return!!bZ(this);case 18:return!!(this.Bb&o6n);case 19:return!!L6(this)}return C3(this,n-fX((wWn(),n$t)),ttn(KB(van(this,16),26)||n$t,n))},EWn.sh=function(n,t){var e;switch(n){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),uqn(this.Ab),!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),void dX(this.Ab,KB(t,14));case 1:return void QZ(this,TD(t));case 2:return void Vfn(this,By(jD(t)));case 3:return void Yfn(this,By(jD(t)));case 4:return void Aen(this,KB(t,19).a);case 5:return void Gj(this,KB(t,19).a);case 8:return void Phn(this,KB(t,138));case 9:return void((e=FTn(this,KB(t,87),null))&&e.Fi());case 10:return void Iln(this,By(jD(t)));case 11:return void $ln(this,By(jD(t)));case 12:return void Oln(this,By(jD(t)));case 13:return void RI(this,TD(t));case 15:return void Aln(this,By(jD(t)));case 16:return void Bln(this,By(jD(t)));case 18:return void Hln(this,By(jD(t)))}Abn(this,n-fX((wWn(),n$t)),ttn(KB(van(this,16),26)||n$t,n),t)},EWn.zh=function(){return wWn(),n$t},EWn.Bh=function(n){var t;switch(n){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),void uqn(this.Ab);case 1:return iL(this.Cb,88)&&ICn(M5(KB(this.Cb,88)),4),void $rn(this,null);case 2:return void Vfn(this,!0);case 3:return void Yfn(this,!0);case 4:return void Aen(this,0);case 5:return this.b=0,void $en(this,1);case 8:return void Phn(this,null);case 9:return void((t=FTn(this,null,null))&&t.Fi());case 10:return void Iln(this,!0);case 11:return void $ln(this,!1);case 12:return void Oln(this,!1);case 13:return this.i=null,void rrn(this,null);case 15:return void Aln(this,!1);case 16:return void Bln(this,!1);case 18:return void Hln(this,!1)}Bfn(this,n-fX((wWn(),n$t)),ttn(KB(van(this,16),26)||n$t,n))},EWn.Gh=function(){cun(this),mV(K7((PPn(),Q$t),this)),Pkn(this),this.Bb|=1},EWn.$j=function(){return $In(this)},EWn.nk=function(n,t){return this.b=0,this.a=null,Mfn(this,n,t)},EWn.ok=function(n){Gj(this,n)},EWn.Ib=function(){var n;return 64&this.Db?kRn(this):((n=new sN(kRn(this))).a+=" (iD: ",vE(n,!!(this.Bb&o6n)),n.a+=")",n.a)},EWn.b=0,gX(h6n,"EAttributeImpl",322),lAn(351,438,{105:1,92:1,90:1,138:1,147:1,191:1,56:1,108:1,49:1,97:1,351:1,150:1,114:1,115:1,676:1}),EWn.uk=function(n){return n.Tg()==this},EWn.Qg=function(n){return syn(this,n)},EWn.Rg=function(n,t){this.w=null,this.Db=t<<16|255&this.Db,this.Cb=n},EWn._g=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return tyn(this);case 4:return this.zj();case 5:return this.F;case 6:return t?Gtn(this):lZ(this);case 7:return!this.A&&(this.A=new $L(P$t,this,7)),this.A}return G9(this,n-fX(this.zh()),ttn(KB(van(this,16),26)||this.zh(),n),t,e)},EWn.hh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),Vwn(this.Ab,n,e);case 6:return this.Cb&&(e=(i=this.Db>>16)>=0?syn(this,e):this.Cb.ih(this,-1-i,null,e)),jKn(this,n,6,e)}return KB(ttn(KB(van(this,16),26)||this.zh(),t),66).Nj().Qj(this,sgn(this),t-fX(this.zh()),n,e)},EWn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),Rpn(this.Ab,n,e);case 6:return jKn(this,null,6,e);case 7:return!this.A&&(this.A=new $L(P$t,this,7)),Rpn(this.A,n,e)}return KB(ttn(KB(van(this,16),26)||this.zh(),t),66).Nj().Rj(this,sgn(this),t-fX(this.zh()),n,e)},EWn.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.D&&this.D==this.F;case 3:return!!tyn(this);case 4:return null!=this.zj();case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!lZ(this);case 7:return!!this.A&&0!=this.A.i}return C3(this,n-fX(this.zh()),ttn(KB(van(this,16),26)||this.zh(),n))},EWn.sh=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),uqn(this.Ab),!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),void dX(this.Ab,KB(t,14));case 1:return void JZ(this,TD(t));case 2:return void PA(this,TD(t));case 5:return void Vqn(this,TD(t));case 7:return!this.A&&(this.A=new $L(P$t,this,7)),uqn(this.A),!this.A&&(this.A=new $L(P$t,this,7)),void dX(this.A,KB(t,14))}Abn(this,n-fX(this.zh()),ttn(KB(van(this,16),26)||this.zh(),n),t)},EWn.zh=function(){return wWn(),e$t},EWn.Bh=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),void uqn(this.Ab);case 1:return iL(this.Cb,179)&&(KB(this.Cb,179).tb=null),void $rn(this,null);case 2:return Nsn(this,null),void Len(this,this.D);case 5:return void Vqn(this,null);case 7:return!this.A&&(this.A=new $L(P$t,this,7)),void uqn(this.A)}Bfn(this,n-fX(this.zh()),ttn(KB(van(this,16),26)||this.zh(),n))},EWn.yj=function(){var n;return-1==this.G&&(this.G=(n=Gtn(this))?cvn(n.Mh(),this):-1),this.G},EWn.zj=function(){return null},EWn.Aj=function(){return Gtn(this)},EWn.vk=function(){return this.v},EWn.Bj=function(){return tyn(this)},EWn.Cj=function(){return null!=this.D?this.D:this.B},EWn.Dj=function(){return this.F},EWn.wj=function(n){return TFn(this,n)},EWn.wk=function(n){this.v=n},EWn.xk=function(n){Grn(this,n)},EWn.yk=function(n){this.C=n},EWn.Lh=function(n){JZ(this,n)},EWn.Ib=function(){return Swn(this)},EWn.C=null,EWn.D=null,EWn.G=-1,gX(h6n,"EClassifierImpl",351),lAn(88,351,{105:1,92:1,90:1,26:1,138:1,147:1,191:1,56:1,108:1,49:1,97:1,88:1,351:1,150:1,473:1,114:1,115:1,676:1},Rf),EWn.uk=function(n){return WR(this,n.Tg())},EWn._g=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return tyn(this);case 4:return null;case 5:return this.F;case 6:return t?Gtn(this):lZ(this);case 7:return!this.A&&(this.A=new $L(P$t,this,7)),this.A;case 8:return oN(),!!(256&this.Bb);case 9:return oN(),!!(512&this.Bb);case 10:return mJ(this);case 11:return!this.q&&(this.q=new nU(XAt,this,11,10)),this.q;case 12:return VBn(this);case 13:return xBn(this);case 14:return xBn(this),this.r;case 15:return VBn(this),this.k;case 16:return UPn(this);case 17:return wBn(this);case 18:return BFn(this);case 19:return SLn(this);case 20:return VBn(this),this.o;case 21:return!this.s&&(this.s=new nU(RAt,this,21,17)),this.s;case 22:return r4(this);case 23:return FDn(this)}return G9(this,n-fX((wWn(),t$t)),ttn(KB(van(this,16),26)||t$t,n),t,e)},EWn.hh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),Vwn(this.Ab,n,e);case 6:return this.Cb&&(e=(i=this.Db>>16)>=0?syn(this,e):this.Cb.ih(this,-1-i,null,e)),jKn(this,n,6,e);case 11:return!this.q&&(this.q=new nU(XAt,this,11,10)),Vwn(this.q,n,e);case 21:return!this.s&&(this.s=new nU(RAt,this,21,17)),Vwn(this.s,n,e)}return KB(ttn(KB(van(this,16),26)||(wWn(),t$t),t),66).Nj().Qj(this,sgn(this),t-fX((wWn(),t$t)),n,e)},EWn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),Rpn(this.Ab,n,e);case 6:return jKn(this,null,6,e);case 7:return!this.A&&(this.A=new $L(P$t,this,7)),Rpn(this.A,n,e);case 11:return!this.q&&(this.q=new nU(XAt,this,11,10)),Rpn(this.q,n,e);case 21:return!this.s&&(this.s=new nU(RAt,this,21,17)),Rpn(this.s,n,e);case 22:return Rpn(r4(this),n,e)}return KB(ttn(KB(van(this,16),26)||(wWn(),t$t),t),66).Nj().Rj(this,sgn(this),t-fX((wWn(),t$t)),n,e)},EWn.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.D&&this.D==this.F;case 3:return!!tyn(this);case 4:return!1;case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!lZ(this);case 7:return!!this.A&&0!=this.A.i;case 8:return!!(256&this.Bb);case 9:return!!(512&this.Bb);case 10:return!(!this.u||0==r4(this.u.a).i||this.n&&xvn(this.n));case 11:return!!this.q&&0!=this.q.i;case 12:return 0!=VBn(this).i;case 13:return 0!=xBn(this).i;case 14:return xBn(this),0!=this.r.i;case 15:return VBn(this),0!=this.k.i;case 16:return 0!=UPn(this).i;case 17:return 0!=wBn(this).i;case 18:return 0!=BFn(this).i;case 19:return 0!=SLn(this).i;case 20:return VBn(this),!!this.o;case 21:return!!this.s&&0!=this.s.i;case 22:return!!this.n&&xvn(this.n);case 23:return 0!=FDn(this).i}return C3(this,n-fX((wWn(),t$t)),ttn(KB(van(this,16),26)||t$t,n))},EWn.oh=function(n){return(null==this.i||this.q&&0!=this.q.i?null:$Nn(this,n))||oUn(this,n)},EWn.sh=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),uqn(this.Ab),!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),void dX(this.Ab,KB(t,14));case 1:return void JZ(this,TD(t));case 2:return void PA(this,TD(t));case 5:return void Vqn(this,TD(t));case 7:return!this.A&&(this.A=new $L(P$t,this,7)),uqn(this.A),!this.A&&(this.A=new $L(P$t,this,7)),void dX(this.A,KB(t,14));case 8:return void Qfn(this,By(jD(t)));case 9:return void Zfn(this,By(jD(t)));case 10:return gqn(mJ(this)),void dX(mJ(this),KB(t,14));case 11:return!this.q&&(this.q=new nU(XAt,this,11,10)),uqn(this.q),!this.q&&(this.q=new nU(XAt,this,11,10)),void dX(this.q,KB(t,14));case 21:return!this.s&&(this.s=new nU(RAt,this,21,17)),uqn(this.s),!this.s&&(this.s=new nU(RAt,this,21,17)),void dX(this.s,KB(t,14));case 22:return uqn(r4(this)),void dX(r4(this),KB(t,14))}Abn(this,n-fX((wWn(),t$t)),ttn(KB(van(this,16),26)||t$t,n),t)},EWn.zh=function(){return wWn(),t$t},EWn.Bh=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),void uqn(this.Ab);case 1:return iL(this.Cb,179)&&(KB(this.Cb,179).tb=null),void $rn(this,null);case 2:return Nsn(this,null),void Len(this,this.D);case 5:return void Vqn(this,null);case 7:return!this.A&&(this.A=new $L(P$t,this,7)),void uqn(this.A);case 8:return void Qfn(this,!1);case 9:return void Zfn(this,!1);case 10:return void(this.u&&gqn(this.u));case 11:return!this.q&&(this.q=new nU(XAt,this,11,10)),void uqn(this.q);case 21:return!this.s&&(this.s=new nU(RAt,this,21,17)),void uqn(this.s);case 22:return void(this.n&&uqn(this.n))}Bfn(this,n-fX((wWn(),t$t)),ttn(KB(van(this,16),26)||t$t,n))},EWn.Gh=function(){var n,t;if(VBn(this),xBn(this),UPn(this),wBn(this),BFn(this),SLn(this),FDn(this),r6(zB(M5(this))),this.s)for(n=0,t=this.s.i;n<t;++n)gx(Utn(this.s,n));if(this.q)for(n=0,t=this.q.i;n<t;++n)gx(Utn(this.q,n));Sfn((PPn(),Q$t),this).ne(),this.Bb|=1},EWn.Ib=function(){return bEn(this)},EWn.k=null,EWn.r=null,gX(h6n,"EClassImpl",88),lAn(1994,1993,N9n),EWn.Vh=function(n,t){return AFn(this,n,t)},EWn.Wh=function(n){return AFn(this,this.i,n)},EWn.Xh=function(n,t){BOn(this,n,t)},EWn.Yh=function(n){ZOn(this,n)},EWn.lk=function(n,t){return Vwn(this,n,t)},EWn.pi=function(n){return _9(this,n)},EWn.mk=function(n,t){return Rpn(this,n,t)},EWn.mi=function(n,t){return sBn(this,n,t)},EWn.Zh=function(){return new rx(this)},EWn.$h=function(){return new cx(this)},EWn._h=function(n){return uin(this,n)},gX(v9n,"NotifyingInternalEListImpl",1994),lAn(622,1994,x9n),EWn.Hc=function(n){return fqn(this,n)},EWn.Zi=function(n,t,e,i,r){return vZ(this,n,t,e,i,r)},EWn.$i=function(n){Av(this,n)},EWn.Wj=function(n){return this},EWn.ak=function(){return ttn(this.e.Tg(),this.aj())},EWn._i=function(){return this.ak()},EWn.aj=function(){return Iwn(this.e.Tg(),this.ak())},EWn.zk=function(){return KB(this.ak().Yj(),26).Bj()},EWn.Ak=function(){return Svn(KB(this.ak(),18)).n},EWn.Ai=function(){return this.e},EWn.Bk=function(){return!0},EWn.Ck=function(){return!1},EWn.Dk=function(){return!1},EWn.Ek=function(){return!1},EWn.Xc=function(n){return cvn(this,n)},EWn.cj=function(n,t){var e;return e=KB(n,49),this.Dk()?this.Bk()?e.gh(this.e,this.Ak(),this.zk(),t):e.gh(this.e,Iwn(e.Tg(),Svn(KB(this.ak(),18))),null,t):e.gh(this.e,-1-this.aj(),null,t)},EWn.dj=function(n,t){var e;return e=KB(n,49),this.Dk()?this.Bk()?e.ih(this.e,this.Ak(),this.zk(),t):e.ih(this.e,Iwn(e.Tg(),Svn(KB(this.ak(),18))),null,t):e.ih(this.e,-1-this.aj(),null,t)},EWn.rk=function(){return!1},EWn.Fk=function(){return!0},EWn.wj=function(n){return L3(this.d,n)},EWn.ej=function(){return pA(this.e)},EWn.fj=function(){return 0!=this.i},EWn.ri=function(n){return Nen(this.d,n)},EWn.li=function(n,t){return this.Fk()&&this.Ek()?HOn(this,n,KB(t,56)):t},EWn.Gk=function(n){return n.kh()?Zhn(this.e,KB(n,49)):n},EWn.Wb=function(n){Q$(this,n)},EWn.Pc=function(){return F9(this)},EWn.Qc=function(n){var t;if(this.Ek())for(t=this.i-1;t>=0;--t)Utn(this,t);return Wwn(this,n)},EWn.Xj=function(){uqn(this)},EWn.oi=function(n,t){return Ren(this,n,t)},gX(v9n,"EcoreEList",622),lAn(496,622,x9n,vH),EWn.ai=function(){return!1},EWn.aj=function(){return this.c},EWn.bj=function(){return!1},EWn.Fk=function(){return!0},EWn.hi=function(){return!0},EWn.li=function(n,t){return t},EWn.ni=function(){return!1},EWn.c=0,gX(v9n,"EObjectEList",496),lAn(85,496,x9n,OL),EWn.bj=function(){return!0},EWn.Dk=function(){return!1},EWn.rk=function(){return!0},gX(v9n,"EObjectContainmentEList",85),lAn(545,85,x9n,AL),EWn.ci=function(){this.b=!0},EWn.fj=function(){return this.b},EWn.Xj=function(){var n;uqn(this),pA(this.e)?(n=this.b,this.b=!1,fan(this.e,new Z5(this.e,2,this.c,n,!1))):this.b=!1},EWn.b=!1,gX(v9n,"EObjectContainmentEList/Unsettable",545),lAn(1140,545,x9n,VG),EWn.ii=function(n,t){var e,i;return e=KB(Pln(this,n,t),87),pA(this.e)&&Av(this,new y9(this.a,7,(wWn(),i$t),tln(t),iL(i=e.c,88)?KB(i,26):l$t,n)),e},EWn.jj=function(n,t){return Jwn(this,KB(n,87),t)},EWn.kj=function(n,t){return Qwn(this,KB(n,87),t)},EWn.lj=function(n,t,e){return Rjn(this,KB(n,87),KB(t,87),e)},EWn.Zi=function(n,t,e,i,r){switch(n){case 3:return vZ(this,n,t,e,i,this.i>1);case 5:return vZ(this,n,t,e,i,this.i-KB(e,15).gc()>0);default:return new $7(this.e,n,this.c,t,e,i,!0)}},EWn.ij=function(){return!0},EWn.fj=function(){return xvn(this)},EWn.Xj=function(){uqn(this)},gX(h6n,"EClassImpl/1",1140),lAn(1154,1153,J8n),EWn.ui=function(n){var t,e,i,r,c,a,u;if(8!=(e=n.xi())){if(0==(i=rpn(n)))switch(e){case 1:case 9:null!=(u=n.Bi())&&(!(t=M5(KB(u,473))).c&&(t.c=new Bo),unn(t.c,n.Ai())),null!=(a=n.zi())&&(1&(r=KB(a,473)).Bb||(!(t=M5(r)).c&&(t.c=new Bo),s9(t.c,KB(n.Ai(),26))));break;case 3:null!=(a=n.zi())&&(1&(r=KB(a,473)).Bb||(!(t=M5(r)).c&&(t.c=new Bo),s9(t.c,KB(n.Ai(),26))));break;case 5:if(null!=(a=n.zi()))for(c=KB(a,14).Kc();c.Ob();)1&(r=KB(c.Pb(),473)).Bb||(!(t=M5(r)).c&&(t.c=new Bo),s9(t.c,KB(n.Ai(),26)));break;case 4:null!=(u=n.Bi())&&(1&(r=KB(u,473)).Bb||(!(t=M5(r)).c&&(t.c=new Bo),unn(t.c,n.Ai())));break;case 6:if(null!=(u=n.Bi()))for(c=KB(u,14).Kc();c.Ob();)1&(r=KB(c.Pb(),473)).Bb||(!(t=M5(r)).c&&(t.c=new Bo),unn(t.c,n.Ai()))}this.Hk(i)}},EWn.Hk=function(n){bRn(this,n)},EWn.b=63,gX(h6n,"ESuperAdapter",1154),lAn(1155,1154,J8n,bp),EWn.Hk=function(n){ICn(this,n)},gX(h6n,"EClassImpl/10",1155),lAn(1144,696,x9n),EWn.Vh=function(n,t){return KTn(this,n,t)},EWn.Wh=function(n){return fmn(this,n)},EWn.Xh=function(n,t){Pfn(this,n,t)},EWn.Yh=function(n){i6(this,n)},EWn.pi=function(n){return _9(this,n)},EWn.mi=function(n,t){return ann(this,n,t)},EWn.lk=function(n,t){throw Fp(new dv)},EWn.Zh=function(){return new rx(this)},EWn.$h=function(){return new cx(this)},EWn._h=function(n){return uin(this,n)},EWn.mk=function(n,t){throw Fp(new dv)},EWn.Wj=function(n){return this},EWn.fj=function(){return 0!=this.i},EWn.Wb=function(n){throw Fp(new dv)},EWn.Xj=function(){throw Fp(new dv)},gX(v9n,"EcoreEList/UnmodifiableEList",1144),lAn(319,1144,x9n,$O),EWn.ni=function(){return!1},gX(v9n,"EcoreEList/UnmodifiableEList/FastCompare",319),lAn(1147,319,x9n,bon),EWn.Xc=function(n){var t,e;if(iL(n,170)&&-1!=(t=KB(n,170).aj()))for(e=this.i;t<e;++t)if(HI(this.g[t])===HI(n))return t;return-1},gX(h6n,"EClassImpl/1EAllStructuralFeaturesList",1147),lAn(1141,497,o8n,Eo),EWn.ri=function(n){return L8(UAt,K9n,87,n,0,1)},EWn.ni=function(){return!1},gX(h6n,"EClassImpl/1EGenericSuperTypeEList",1141),lAn(623,497,o8n,To),EWn.ri=function(n){return L8(RAt,$9n,170,n,0,1)},EWn.ni=function(){return!1},gX(h6n,"EClassImpl/1EStructuralFeatureUniqueEList",623),lAn(741,497,o8n,Mo),EWn.ri=function(n){return L8(VAt,$9n,18,n,0,1)},EWn.ni=function(){return!1},gX(h6n,"EClassImpl/1ReferenceList",741),lAn(1142,497,o8n,wp),EWn.bi=function(n,t){ZG(this,KB(t,34))},EWn.ri=function(n){return L8(_At,$9n,34,n,0,1)},EWn.ni=function(){return!1},gX(h6n,"EClassImpl/2",1142),lAn(1143,497,o8n,So),EWn.ri=function(n){return L8(_At,$9n,34,n,0,1)},EWn.ni=function(){return!1},gX(h6n,"EClassImpl/3",1143),lAn(1145,319,x9n,kH),EWn.Fc=function(n){return pB(this,KB(n,34))},EWn.Yh=function(n){QE(this,KB(n,34))},gX(h6n,"EClassImpl/4",1145),lAn(1146,319,x9n,jH),EWn.Fc=function(n){return vB(this,KB(n,18))},EWn.Yh=function(n){JE(this,KB(n,18))},gX(h6n,"EClassImpl/5",1146),lAn(1148,497,o8n,Po),EWn.ri=function(n){return L8(XAt,L9n,59,n,0,1)},EWn.ni=function(){return!1},gX(h6n,"EClassImpl/6",1148),lAn(1149,497,o8n,Co),EWn.ri=function(n){return L8(VAt,$9n,18,n,0,1)},EWn.ni=function(){return!1},gX(h6n,"EClassImpl/7",1149),lAn(1997,1996,{3:1,4:1,20:1,28:1,52:1,14:1,15:1,67:1,58:1,69:1}),EWn.Vh=function(n,t){return cFn(this,n,t)},EWn.Wh=function(n){return cFn(this,this.Vi(),n)},EWn.Xh=function(n,t){nAn(this,n,t)},EWn.Yh=function(n){COn(this,n)},EWn.lk=function(n,t){return lmn(this,n,t)},EWn.mk=function(n,t){return _pn(this,n,t)},EWn.mi=function(n,t){return aFn(this,n,t)},EWn.pi=function(n){return this.Oi(n)},EWn.Zh=function(){return new rx(this)},EWn.Gi=function(){return this.Ji()},EWn.$h=function(){return new cx(this)},EWn._h=function(n){return uin(this,n)},gX(v9n,"DelegatingNotifyingInternalEListImpl",1997),lAn(742,1997,F9n),EWn.ai=function(){var n;return iL(n=ttn(yJ(this.b),this.aj()).Yj(),148)&&!iL(n,457)&&!(1&n.Bj().i)},EWn.Hc=function(n){var t,e,i,r,c,a,u;if(this.Fk()){if((u=this.Vi())>4){if(!this.wj(n))return!1;if(this.rk()){if(a=(t=(e=KB(n,49)).Ug())==this.b&&(this.Dk()?e.Og(e.Vg(),KB(ttn(yJ(this.b),this.aj()).Yj(),26).Bj())==Svn(KB(ttn(yJ(this.b),this.aj()),18)).n:-1-e.Vg()==this.aj()),this.Ek()&&!a&&!t&&e.Zg())for(i=0;i<u;++i)if(HI(Hz(this,this.Oi(i)))===HI(n))return!0;return a}if(this.Dk()&&!this.Ck()){if(HI(r=KB(n,56).ah(Svn(KB(ttn(yJ(this.b),this.aj()),18))))===HI(this.b))return!0;if(null==r||!KB(r,56).kh())return!1}}if(c=this.Li(n),this.Ek()&&!c)for(i=0;i<u;++i)if(HI(e=Hz(this,this.Oi(i)))===HI(n))return!0;return c}return this.Li(n)},EWn.Zi=function(n,t,e,i,r){return new $7(this.b,n,this.aj(),t,e,i,r)},EWn.$i=function(n){fan(this.b,n)},EWn.Wj=function(n){return this},EWn._i=function(){return ttn(yJ(this.b),this.aj())},EWn.aj=function(){return Iwn(yJ(this.b),ttn(yJ(this.b),this.aj()))},EWn.Ai=function(){return this.b},EWn.Bk=function(){return!!ttn(yJ(this.b),this.aj()).Yj().Bj()},EWn.bj=function(){var n;return!(!iL(n=ttn(yJ(this.b),this.aj()),99)||!(KB(n,18).Bb&o6n)&&!Svn(KB(n,18)))},EWn.Ck=function(){var n,t,e;return!!iL(n=ttn(yJ(this.b),this.aj()),99)&&!!(t=Svn(KB(n,18)))&&((e=t.t)>1||-1==e)},EWn.Dk=function(){var n;return!!iL(n=ttn(yJ(this.b),this.aj()),99)&&!!Svn(KB(n,18))},EWn.Ek=function(){var n;return!!iL(n=ttn(yJ(this.b),this.aj()),99)&&!!(KB(n,18).Bb&KQn)},EWn.Xc=function(n){var t,e,i;if((e=this.Qi(n))>=0)return e;if(this.Fk())for(t=0,i=this.Vi();t<i;++t)if(HI(Hz(this,this.Oi(t)))===HI(n))return t;return-1},EWn.cj=function(n,t){var e;return e=KB(n,49),this.Dk()?this.Bk()?e.gh(this.b,Svn(KB(ttn(yJ(this.b),this.aj()),18)).n,KB(ttn(yJ(this.b),this.aj()).Yj(),26).Bj(),t):e.gh(this.b,Iwn(e.Tg(),Svn(KB(ttn(yJ(this.b),this.aj()),18))),null,t):e.gh(this.b,-1-this.aj(),null,t)},EWn.dj=function(n,t){var e;return e=KB(n,49),this.Dk()?this.Bk()?e.ih(this.b,Svn(KB(ttn(yJ(this.b),this.aj()),18)).n,KB(ttn(yJ(this.b),this.aj()).Yj(),26).Bj(),t):e.ih(this.b,Iwn(e.Tg(),Svn(KB(ttn(yJ(this.b),this.aj()),18))),null,t):e.ih(this.b,-1-this.aj(),null,t)},EWn.rk=function(){var n;return!!iL(n=ttn(yJ(this.b),this.aj()),99)&&!!(KB(n,18).Bb&o6n)},EWn.Fk=function(){return iL(ttn(yJ(this.b),this.aj()).Yj(),88)},EWn.wj=function(n){return ttn(yJ(this.b),this.aj()).Yj().wj(n)},EWn.ej=function(){return pA(this.b)},EWn.fj=function(){return!this.Ri()},EWn.hi=function(){return ttn(yJ(this.b),this.aj()).hi()},EWn.li=function(n,t){return nGn(this,n,t)},EWn.Wb=function(n){gqn(this),dX(this,KB(n,15))},EWn.Pc=function(){var n;if(this.Ek())for(n=this.Vi()-1;n>=0;--n)nGn(this,n,this.Oi(n));return this.Wi()},EWn.Qc=function(n){var t;if(this.Ek())for(t=this.Vi()-1;t>=0;--t)nGn(this,t,this.Oi(t));return this.Xi(n)},EWn.Xj=function(){gqn(this)},EWn.oi=function(n,t){return K9(this,n,t)},gX(v9n,"DelegatingEcoreEList",742),lAn(1150,742,F9n,cR),EWn.Hi=function(n,t){hD(this,n,KB(t,26))},EWn.Ii=function(n){n$(this,KB(n,26))},EWn.Oi=function(n){var t;return iL(t=KB(Utn(r4(this.a),n),87).c,88)?KB(t,26):(wWn(),l$t)},EWn.Ti=function(n){var t;return iL(t=KB(sDn(r4(this.a),n),87).c,88)?KB(t,26):(wWn(),l$t)},EWn.Ui=function(n,t){return bmn(this,n,KB(t,26))},EWn.ai=function(){return!1},EWn.Zi=function(n,t,e,i,r){return null},EWn.Ji=function(){return new dp(this)},EWn.Ki=function(){uqn(r4(this.a))},EWn.Li=function(n){return Gfn(this,n)},EWn.Mi=function(n){var t;for(t=n.Kc();t.Ob();)if(!Gfn(this,t.Pb()))return!1;return!0},EWn.Ni=function(n){var t,e,i;if(iL(n,15)&&(i=KB(n,15)).gc()==r4(this.a).i){for(t=i.Kc(),e=new IL(this);t.Ob();)if(HI(t.Pb())!==HI(mpn(e)))return!1;return!0}return!1},EWn.Pi=function(){var n,t,e,i;for(t=1,n=new IL(r4(this.a));n.e!=n.i.gc();)t=31*t+((e=iL(i=KB(mpn(n),87).c,88)?KB(i,26):(wWn(),l$t))?MN(e):0);return t},EWn.Qi=function(n){var t,e,i,r;for(i=0,e=new IL(r4(this.a));e.e!=e.i.gc();){if(t=KB(mpn(e),87),HI(n)===HI(iL(r=t.c,88)?KB(r,26):(wWn(),l$t)))return i;++i}return-1},EWn.Ri=function(){return 0==r4(this.a).i},EWn.Si=function(){return null},EWn.Vi=function(){return r4(this.a).i},EWn.Wi=function(){var n,t,e,i,r,c;for(c=r4(this.a).i,r=L8(Int,FWn,1,c,5,1),e=0,t=new IL(r4(this.a));t.e!=t.i.gc();)n=KB(mpn(t),87),r[e++]=iL(i=n.c,88)?KB(i,26):(wWn(),l$t);return r},EWn.Xi=function(n){var t,e,i,r;for(r=r4(this.a).i,n.length<r&&(n=Nen(Zon(n).c,r)),n.length>r&&OX(n,r,null),e=0,t=new IL(r4(this.a));t.e!=t.i.gc();)OX(n,e++,iL(i=KB(mpn(t),87).c,88)?KB(i,26):(wWn(),l$t));return n},EWn.Yi=function(){var n,t,e,i,r;for((r=new Tk).a+="[",n=r4(this.a),t=0,i=r4(this.a).i;t<i;)iO(r,mN(iL(e=KB(Utn(n,t),87).c,88)?KB(e,26):(wWn(),l$t))),++t<i&&(r.a+=_Wn);return r.a+="]",r.a},EWn.$i=function(n){},EWn.aj=function(){return 10},EWn.Bk=function(){return!0},EWn.bj=function(){return!1},EWn.Ck=function(){return!1},EWn.Dk=function(){return!1},EWn.Ek=function(){return!0},EWn.rk=function(){return!1},EWn.Fk=function(){return!0},EWn.wj=function(n){return iL(n,88)},EWn.fj=function(){return W0(this.a)},EWn.hi=function(){return!0},EWn.ni=function(){return!0},gX(h6n,"EClassImpl/8",1150),lAn(1151,1964,AVn,dp),EWn.Zc=function(n){return uin(this.a,n)},EWn.gc=function(){return r4(this.a.a).i},gX(h6n,"EClassImpl/8/1",1151),lAn(1152,497,o8n,Io),EWn.ri=function(n){return L8(KAt,FWn,138,n,0,1)},EWn.ni=function(){return!1},gX(h6n,"EClassImpl/9",1152),lAn(1139,53,nJn,Pm),gX(h6n,"EClassImpl/MyHashSet",1139),lAn(566,351,{105:1,92:1,90:1,138:1,148:1,834:1,147:1,191:1,56:1,108:1,49:1,97:1,351:1,150:1,114:1,115:1,676:1},kv),EWn._g=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return tyn(this);case 4:return this.zj();case 5:return this.F;case 6:return t?Gtn(this):lZ(this);case 7:return!this.A&&(this.A=new $L(P$t,this,7)),this.A;case 8:return oN(),!!(256&this.Bb)}return G9(this,n-fX(this.zh()),ttn(KB(van(this,16),26)||this.zh(),n),t,e)},EWn.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.D&&this.D==this.F;case 3:return!!tyn(this);case 4:return null!=this.zj();case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!lZ(this);case 7:return!!this.A&&0!=this.A.i;case 8:return!(256&this.Bb)}return C3(this,n-fX(this.zh()),ttn(KB(van(this,16),26)||this.zh(),n))},EWn.sh=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),uqn(this.Ab),!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),void dX(this.Ab,KB(t,14));case 1:return void JZ(this,TD(t));case 2:return void PA(this,TD(t));case 5:return void Vqn(this,TD(t));case 7:return!this.A&&(this.A=new $L(P$t,this,7)),uqn(this.A),!this.A&&(this.A=new $L(P$t,this,7)),void dX(this.A,KB(t,14));case 8:return void Jfn(this,By(jD(t)))}Abn(this,n-fX(this.zh()),ttn(KB(van(this,16),26)||this.zh(),n),t)},EWn.zh=function(){return wWn(),r$t},EWn.Bh=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),void uqn(this.Ab);case 1:return iL(this.Cb,179)&&(KB(this.Cb,179).tb=null),void $rn(this,null);case 2:return Nsn(this,null),void Len(this,this.D);case 5:return void Vqn(this,null);case 7:return!this.A&&(this.A=new $L(P$t,this,7)),void uqn(this.A);case 8:return void Jfn(this,!0)}Bfn(this,n-fX(this.zh()),ttn(KB(van(this,16),26)||this.zh(),n))},EWn.Gh=function(){Sfn((PPn(),Q$t),this).ne(),this.Bb|=1},EWn.Fj=function(){var n,t;if(!this.c&&!(n=H$n(Gtn(this))).dc())for(t=n.Kc();t.Ob();)$Kn(this,TD(t.Pb()))&&xln(this);return this.b},EWn.zj=function(){var n;if(!this.e){n=null;try{n=tyn(this)}catch(t){if(!iL(t=hun(t),102))throw Fp(t)}this.d=null,n&&1&n.i&&(this.d=n==INt?(oN(),dtt):n==CNt?tln(0):n==LNt?new $b(0):n==$Nt?0:n==ONt?ygn(0):n==NNt?eln(0):n==ANt?Mnn(0):sun(0)),this.e=!0}return this.d},EWn.Ej=function(){return!!(256&this.Bb)},EWn.Ik=function(n){n&&(this.D="org.eclipse.emf.common.util.AbstractEnumerator")},EWn.xk=function(n){Grn(this,n),this.Ik(n)},EWn.yk=function(n){this.C=n,this.e=!1},EWn.Ib=function(){var n;return 64&this.Db?Swn(this):((n=new sN(Swn(this))).a+=" (serializable: ",vE(n,!!(256&this.Bb)),n.a+=")",n.a)},EWn.c=!1,EWn.d=null,EWn.e=!1,gX(h6n,"EDataTypeImpl",566),lAn(457,566,{105:1,92:1,90:1,138:1,148:1,834:1,671:1,147:1,191:1,56:1,108:1,49:1,97:1,351:1,457:1,150:1,114:1,115:1,676:1},Im),EWn._g=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return tyn(this);case 4:return Wsn(this);case 5:return this.F;case 6:return t?Gtn(this):lZ(this);case 7:return!this.A&&(this.A=new $L(P$t,this,7)),this.A;case 8:return oN(),!!(256&this.Bb);case 9:return!this.a&&(this.a=new nU(zAt,this,9,5)),this.a}return G9(this,n-fX((wWn(),c$t)),ttn(KB(van(this,16),26)||c$t,n),t,e)},EWn.hh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),Vwn(this.Ab,n,e);case 6:return this.Cb&&(e=(i=this.Db>>16)>=0?syn(this,e):this.Cb.ih(this,-1-i,null,e)),jKn(this,n,6,e);case 9:return!this.a&&(this.a=new nU(zAt,this,9,5)),Vwn(this.a,n,e)}return KB(ttn(KB(van(this,16),26)||(wWn(),c$t),t),66).Nj().Qj(this,sgn(this),t-fX((wWn(),c$t)),n,e)},EWn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),Rpn(this.Ab,n,e);case 6:return jKn(this,null,6,e);case 7:return!this.A&&(this.A=new $L(P$t,this,7)),Rpn(this.A,n,e);case 9:return!this.a&&(this.a=new nU(zAt,this,9,5)),Rpn(this.a,n,e)}return KB(ttn(KB(van(this,16),26)||(wWn(),c$t),t),66).Nj().Rj(this,sgn(this),t-fX((wWn(),c$t)),n,e)},EWn.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.D&&this.D==this.F;case 3:return!!tyn(this);case 4:return!!Wsn(this);case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!lZ(this);case 7:return!!this.A&&0!=this.A.i;case 8:return!(256&this.Bb);case 9:return!!this.a&&0!=this.a.i}return C3(this,n-fX((wWn(),c$t)),ttn(KB(van(this,16),26)||c$t,n))},EWn.sh=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),uqn(this.Ab),!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),void dX(this.Ab,KB(t,14));case 1:return void JZ(this,TD(t));case 2:return void PA(this,TD(t));case 5:return void Vqn(this,TD(t));case 7:return!this.A&&(this.A=new $L(P$t,this,7)),uqn(this.A),!this.A&&(this.A=new $L(P$t,this,7)),void dX(this.A,KB(t,14));case 8:return void Jfn(this,By(jD(t)));case 9:return!this.a&&(this.a=new nU(zAt,this,9,5)),uqn(this.a),!this.a&&(this.a=new nU(zAt,this,9,5)),void dX(this.a,KB(t,14))}Abn(this,n-fX((wWn(),c$t)),ttn(KB(van(this,16),26)||c$t,n),t)},EWn.zh=function(){return wWn(),c$t},EWn.Bh=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),void uqn(this.Ab);case 1:return iL(this.Cb,179)&&(KB(this.Cb,179).tb=null),void $rn(this,null);case 2:return Nsn(this,null),void Len(this,this.D);case 5:return void Vqn(this,null);case 7:return!this.A&&(this.A=new $L(P$t,this,7)),void uqn(this.A);case 8:return void Jfn(this,!0);case 9:return!this.a&&(this.a=new nU(zAt,this,9,5)),void uqn(this.a)}Bfn(this,n-fX((wWn(),c$t)),ttn(KB(van(this,16),26)||c$t,n))},EWn.Gh=function(){var n,t;if(this.a)for(n=0,t=this.a.i;n<t;++n)gx(Utn(this.a,n));Sfn((PPn(),Q$t),this).ne(),this.Bb|=1},EWn.zj=function(){return Wsn(this)},EWn.wj=function(n){return null!=n},EWn.Ik=function(n){},gX(h6n,"EEnumImpl",457),lAn(573,438,{105:1,92:1,90:1,1940:1,678:1,147:1,191:1,56:1,108:1,49:1,97:1,573:1,150:1,114:1,115:1},yv),EWn.ne=function(){return this.zb},EWn.Qg=function(n){return hkn(this,n)},EWn._g=function(n,t,e){var i;switch(n){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return tln(this.d);case 3:return this.b?this.b:this.a;case 4:return null==(i=this.c)?this.zb:i;case 5:return this.Db>>16==5?KB(this.Cb,671):null}return G9(this,n-fX((wWn(),a$t)),ttn(KB(van(this,16),26)||a$t,n),t,e)},EWn.hh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),Vwn(this.Ab,n,e);case 5:return this.Cb&&(e=(i=this.Db>>16)>=0?hkn(this,e):this.Cb.ih(this,-1-i,null,e)),jKn(this,n,5,e)}return KB(ttn(KB(van(this,16),26)||(wWn(),a$t),t),66).Nj().Qj(this,sgn(this),t-fX((wWn(),a$t)),n,e)},EWn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),Rpn(this.Ab,n,e);case 5:return jKn(this,null,5,e)}return KB(ttn(KB(van(this,16),26)||(wWn(),a$t),t),66).Nj().Rj(this,sgn(this),t-fX((wWn(),a$t)),n,e)},EWn.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0!=this.d;case 3:return!!this.b;case 4:return null!=this.c;case 5:return!(this.Db>>16!=5||!KB(this.Cb,671))}return C3(this,n-fX((wWn(),a$t)),ttn(KB(van(this,16),26)||a$t,n))},EWn.sh=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),uqn(this.Ab),!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),void dX(this.Ab,KB(t,14));case 1:return void $rn(this,TD(t));case 2:return void Oen(this,KB(t,19).a);case 3:return void wOn(this,KB(t,1940));case 4:return void _in(this,TD(t))}Abn(this,n-fX((wWn(),a$t)),ttn(KB(van(this,16),26)||a$t,n),t)},EWn.zh=function(){return wWn(),a$t},EWn.Bh=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),void uqn(this.Ab);case 1:return void $rn(this,null);case 2:return void Oen(this,0);case 3:return void wOn(this,null);case 4:return void _in(this,null)}Bfn(this,n-fX((wWn(),a$t)),ttn(KB(van(this,16),26)||a$t,n))},EWn.Ib=function(){var n;return null==(n=this.c)?this.zb:n},EWn.b=null,EWn.c=null,EWn.d=0,gX(h6n,"EEnumLiteralImpl",573);var O$t,A$t,$$t,L$t=fq(h6n,"EFactoryImpl/InternalEDateTimeFormat");lAn(489,1,{2015:1},gp),gX(h6n,"EFactoryImpl/1ClientInternalEDateTimeFormat",489),lAn(241,115,{105:1,92:1,90:1,87:1,56:1,108:1,49:1,97:1,241:1,114:1,115:1},Dp),EWn.Sg=function(n,t,e){var i;return e=jKn(this,n,t,e),this.e&&iL(n,170)&&(i=mLn(this,this.e))!=this.c&&(e=rzn(this,i,e)),e},EWn._g=function(n,t,e){switch(n){case 0:return this.f;case 1:return!this.d&&(this.d=new OL(UAt,this,1)),this.d;case 2:return t?hFn(this):this.c;case 3:return this.b;case 4:return this.e;case 5:return t?Bvn(this):this.a}return G9(this,n-fX((wWn(),o$t)),ttn(KB(van(this,16),26)||o$t,n),t,e)},EWn.jh=function(n,t,e){switch(t){case 0:return Yhn(this,null,e);case 1:return!this.d&&(this.d=new OL(UAt,this,1)),Rpn(this.d,n,e);case 3:return Jhn(this,null,e)}return KB(ttn(KB(van(this,16),26)||(wWn(),o$t),t),66).Nj().Rj(this,sgn(this),t-fX((wWn(),o$t)),n,e)},EWn.lh=function(n){switch(n){case 0:return!!this.f;case 1:return!!this.d&&0!=this.d.i;case 2:return!!this.c;case 3:return!!this.b;case 4:return!!this.e;case 5:return!!this.a}return C3(this,n-fX((wWn(),o$t)),ttn(KB(van(this,16),26)||o$t,n))},EWn.sh=function(n,t){switch(n){case 0:return void yEn(this,KB(t,87));case 1:return!this.d&&(this.d=new OL(UAt,this,1)),uqn(this.d),!this.d&&(this.d=new OL(UAt,this,1)),void dX(this.d,KB(t,14));case 3:return void mEn(this,KB(t,87));case 4:return void NMn(this,KB(t,836));case 5:return void ien(this,KB(t,138))}Abn(this,n-fX((wWn(),o$t)),ttn(KB(van(this,16),26)||o$t,n),t)},EWn.zh=function(){return wWn(),o$t},EWn.Bh=function(n){switch(n){case 0:return void yEn(this,null);case 1:return!this.d&&(this.d=new OL(UAt,this,1)),void uqn(this.d);case 3:return void mEn(this,null);case 4:return void NMn(this,null);case 5:return void ien(this,null)}Bfn(this,n-fX((wWn(),o$t)),ttn(KB(van(this,16),26)||o$t,n))},EWn.Ib=function(){var n;return(n=new hN(M$n(this))).a+=" (expression: ",fHn(this,n),n.a+=")",n.a},gX(h6n,"EGenericTypeImpl",241),lAn(1969,1964,B9n),EWn.Xh=function(n,t){YD(this,n,t)},EWn.lk=function(n,t){return YD(this,this.gc(),n),t},EWn.pi=function(n){return Npn(this.Gi(),n)},EWn.Zh=function(){return this.$h()},EWn.Gi=function(){return new Mp(this)},EWn.$h=function(){return this._h(0)},EWn._h=function(n){return this.Gi().Zc(n)},EWn.mk=function(n,t){return vwn(this,n,!0),t},EWn.ii=function(n,t){var e;return e=Zyn(this,t),this.Zc(n).Rb(e),e},EWn.ji=function(n,t){vwn(this,t,!0),this.Zc(n).Rb(t)},gX(v9n,"AbstractSequentialInternalEList",1969),lAn(486,1969,B9n,WN),EWn.pi=function(n){return Npn(this.Gi(),n)},EWn.Zh=function(){return null==this.b?(VM(),VM(),$$t):this.Jk()},EWn.Gi=function(){return new NO(this.a,this.b)},EWn.$h=function(){return null==this.b?(VM(),VM(),$$t):this.Jk()},EWn._h=function(n){var t,e;if(null==this.b){if(n<0||n>1)throw Fp(new Iy(n9n+n+", size=0"));return VM(),VM(),$$t}for(e=this.Jk(),t=0;t<n;++t)Ean(e);return e},EWn.dc=function(){var n,t,e,i,r,c;if(null!=this.b)for(e=0;e<this.b.length;++e)if(n=this.b[e],!this.Mk()||this.a.mh(n))if(c=this.a.bh(n,!1),JM(),KB(n,66).Oj()){for(i=0,r=(t=KB(c,153)).gc();i<r;++i)if(lX(t.il(i))&&null!=t.jl(i))return!1}else if(n.$j()){if(!KB(c,14).dc())return!1}else if(null!=c)return!1;return!0},EWn.Kc=function(){return krn(this)},EWn.Zc=function(n){var t,e;if(null==this.b){if(0!=n)throw Fp(new Iy(n9n+n+", size=0"));return VM(),VM(),$$t}for(e=this.Lk()?this.Kk():this.Jk(),t=0;t<n;++t)Ean(e);return e},EWn.ii=function(n,t){throw Fp(new dv)},EWn.ji=function(n,t){throw Fp(new dv)},EWn.Jk=function(){return new VN(this.a,this.b)},EWn.Kk=function(){return new Xx(this.a,this.b)},EWn.Lk=function(){return!0},EWn.gc=function(){var n,t,e,i,r,c,a;if(r=0,null!=this.b)for(e=0;e<this.b.length;++e)if(n=this.b[e],!this.Mk()||this.a.mh(n))if(a=this.a.bh(n,!1),JM(),KB(n,66).Oj())for(i=0,c=(t=KB(a,153)).gc();i<c;++i)lX(t.il(i))&&null!=t.jl(i)&&++r;else n.$j()?r+=KB(a,14).gc():null!=a&&++r;return r},EWn.Mk=function(){return!0},gX(v9n,"EContentsEList",486),lAn(1156,486,B9n,Ux),EWn.Jk=function(){return new Wx(this.a,this.b)},EWn.Kk=function(){return new Vx(this.a,this.b)},EWn.Mk=function(){return!1},gX(h6n,"ENamedElementImpl/1",1156),lAn(279,1,H9n,VN),EWn.Nb=function(n){sU(this,n)},EWn.Rb=function(n){throw Fp(new dv)},EWn.Nk=function(n){if(0!=this.g||this.e)throw Fp(new _y("Iterator already in use or already filtered"));this.e=n},EWn.Ob=function(){var n,t,e,i,r,c;switch(this.g){case 3:case 2:return!0;case 1:return!1;case-3:this.p?this.p.Pb():++this.n;default:if(this.k&&(this.p?mPn(this,this.p):dOn(this)))return r=this.p?this.p.Pb():this.j?this.j.pi(this.n++):this.k.Xb(this.n++),this.f?((n=KB(r,72)).ak(),e=n.dd(),this.i=e):(e=r,this.i=e),this.g=3,!0;for(;this.d<this.c.length;)if(t=this.c[this.d++],(!this.e||t.Gj()!=AOt||0!=t.aj())&&(!this.Mk()||this.b.mh(t)))if(c=this.b.bh(t,this.Lk()),this.f=(JM(),KB(t,66).Oj()),this.f||t.$j()){if(this.Lk()?(i=KB(c,15),this.k=i):(i=KB(c,69),this.k=this.j=i),iL(this.k,54)?(this.p=null,this.o=this.k.gc(),this.n=0):this.p=this.j?this.j.$h():this.k.Yc(),this.p?mPn(this,this.p):dOn(this))return r=this.p?this.p.Pb():this.j?this.j.pi(this.n++):this.k.Xb(this.n++),this.f?((n=KB(r,72)).ak(),e=n.dd(),this.i=e):(e=r,this.i=e),this.g=3,!0}else if(null!=c)return this.k=null,this.p=null,e=c,this.i=e,this.g=2,!0;return this.k=null,this.p=null,this.f=!1,this.g=1,!1}},EWn.Sb=function(){var n,t,e,i,r,c;switch(this.g){case-3:case-2:return!0;case-1:return!1;case 3:this.p?this.p.Ub():--this.n;default:if(this.k&&(this.p?yPn(this,this.p):lCn(this)))return r=this.p?this.p.Ub():this.j?this.j.pi(--this.n):this.k.Xb(--this.n),this.f?((n=KB(r,72)).ak(),e=n.dd(),this.i=e):(e=r,this.i=e),this.g=-3,!0;for(;this.d>0;)if(t=this.c[--this.d],(!this.e||t.Gj()!=AOt||0!=t.aj())&&(!this.Mk()||this.b.mh(t)))if(c=this.b.bh(t,this.Lk()),this.f=(JM(),KB(t,66).Oj()),this.f||t.$j()){if(this.Lk()?(i=KB(c,15),this.k=i):(i=KB(c,69),this.k=this.j=i),iL(this.k,54)?(this.o=this.k.gc(),this.n=this.o):this.p=this.j?this.j._h(this.k.gc()):this.k.Zc(this.k.gc()),this.p?yPn(this,this.p):lCn(this))return r=this.p?this.p.Ub():this.j?this.j.pi(--this.n):this.k.Xb(--this.n),this.f?((n=KB(r,72)).ak(),e=n.dd(),this.i=e):(e=r,this.i=e),this.g=-3,!0}else if(null!=c)return this.k=null,this.p=null,e=c,this.i=e,this.g=-2,!0;return this.k=null,this.p=null,this.g=-1,!1}},EWn.Pb=function(){return Ean(this)},EWn.Tb=function(){return this.a},EWn.Ub=function(){var n;if(this.g<-1||this.Sb())return--this.a,this.g=0,n=this.i,this.Sb(),n;throw Fp(new vv)},EWn.Vb=function(){return this.a-1},EWn.Qb=function(){throw Fp(new dv)},EWn.Lk=function(){return!1},EWn.Wb=function(n){throw Fp(new dv)},EWn.Mk=function(){return!0},EWn.a=0,EWn.d=0,EWn.f=!1,EWn.g=0,EWn.n=0,EWn.o=0,gX(v9n,"EContentsEList/FeatureIteratorImpl",279),lAn(697,279,H9n,Xx),EWn.Lk=function(){return!0},gX(v9n,"EContentsEList/ResolvingFeatureIteratorImpl",697),lAn(1157,697,H9n,Vx),EWn.Mk=function(){return!1},gX(h6n,"ENamedElementImpl/1/1",1157),lAn(1158,279,H9n,Wx),EWn.Mk=function(){return!1},gX(h6n,"ENamedElementImpl/1/2",1158),lAn(36,143,Z8n,s4,h4,Yz,m9,$7,Z5,Fen,T0,Ben,M0,Q5,S0,Gen,P0,J5,C0,Hen,I0,Zz,y9,HQ,qen,O0,Y5,A0),EWn._i=function(){return o9(this)},EWn.gj=function(){var n;return(n=o9(this))?n.zj():null},EWn.yi=function(n){return-1==this.b&&this.a&&(this.b=this.c.Xg(this.a.aj(),this.a.Gj())),this.c.Og(this.b,n)},EWn.Ai=function(){return this.c},EWn.hj=function(){var n;return!!(n=o9(this))&&n.Kj()},EWn.b=-1,gX(h6n,"ENotificationImpl",36),lAn(399,284,{105:1,92:1,90:1,147:1,191:1,56:1,59:1,108:1,472:1,49:1,97:1,150:1,399:1,284:1,114:1,115:1},Om),EWn.Qg=function(n){return Mkn(this,n)},EWn._g=function(n,t,e){var i;switch(n){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return oN(),!!(256&this.Bb);case 3:return oN(),!!(512&this.Bb);case 4:return tln(this.s);case 5:return tln(this.t);case 6:return oN(),(i=this.t)>1||-1==i;case 7:return oN(),this.s>=1;case 8:return t?Pkn(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?KB(this.Cb,26):null;case 11:return!this.d&&(this.d=new $L(P$t,this,11)),this.d;case 12:return!this.c&&(this.c=new nU(WAt,this,12,10)),this.c;case 13:return!this.a&&(this.a=new aR(this,this)),this.a;case 14:return F7(this)}return G9(this,n-fX((wWn(),b$t)),ttn(KB(van(this,16),26)||b$t,n),t,e)},EWn.hh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),Vwn(this.Ab,n,e);case 10:return this.Cb&&(e=(i=this.Db>>16)>=0?Mkn(this,e):this.Cb.ih(this,-1-i,null,e)),jKn(this,n,10,e);case 12:return!this.c&&(this.c=new nU(WAt,this,12,10)),Vwn(this.c,n,e)}return KB(ttn(KB(van(this,16),26)||(wWn(),b$t),t),66).Nj().Qj(this,sgn(this),t-fX((wWn(),b$t)),n,e)},EWn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),Rpn(this.Ab,n,e);case 9:return wX(this,e);case 10:return jKn(this,null,10,e);case 11:return!this.d&&(this.d=new $L(P$t,this,11)),Rpn(this.d,n,e);case 12:return!this.c&&(this.c=new nU(WAt,this,12,10)),Rpn(this.c,n,e);case 14:return Rpn(F7(this),n,e)}return KB(ttn(KB(van(this,16),26)||(wWn(),b$t),t),66).Nj().Rj(this,sgn(this),t-fX((wWn(),b$t)),n,e)},EWn.lh=function(n){var t;switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return!(256&this.Bb);case 3:return!(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return(t=this.t)>1||-1==t;case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==vW(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==vW(this.q).i);case 10:return!(this.Db>>16!=10||!KB(this.Cb,26));case 11:return!!this.d&&0!=this.d.i;case 12:return!!this.c&&0!=this.c.i;case 13:return!(!this.a||0==F7(this.a.a).i||this.b&&Dvn(this.b));case 14:return!!this.b&&Dvn(this.b)}return C3(this,n-fX((wWn(),b$t)),ttn(KB(van(this,16),26)||b$t,n))},EWn.sh=function(n,t){var e;switch(n){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),uqn(this.Ab),!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),void dX(this.Ab,KB(t,14));case 1:return void $rn(this,TD(t));case 2:return void Vfn(this,By(jD(t)));case 3:return void Yfn(this,By(jD(t)));case 4:return void Aen(this,KB(t,19).a);case 5:return void $en(this,KB(t,19).a);case 8:return void Phn(this,KB(t,138));case 9:return void((e=FTn(this,KB(t,87),null))&&e.Fi());case 11:return!this.d&&(this.d=new $L(P$t,this,11)),uqn(this.d),!this.d&&(this.d=new $L(P$t,this,11)),void dX(this.d,KB(t,14));case 12:return!this.c&&(this.c=new nU(WAt,this,12,10)),uqn(this.c),!this.c&&(this.c=new nU(WAt,this,12,10)),void dX(this.c,KB(t,14));case 13:return!this.a&&(this.a=new aR(this,this)),gqn(this.a),!this.a&&(this.a=new aR(this,this)),void dX(this.a,KB(t,14));case 14:return uqn(F7(this)),void dX(F7(this),KB(t,14))}Abn(this,n-fX((wWn(),b$t)),ttn(KB(van(this,16),26)||b$t,n),t)},EWn.zh=function(){return wWn(),b$t},EWn.Bh=function(n){var t;switch(n){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),void uqn(this.Ab);case 1:return void $rn(this,null);case 2:return void Vfn(this,!0);case 3:return void Yfn(this,!0);case 4:return void Aen(this,0);case 5:return void $en(this,1);case 8:return void Phn(this,null);case 9:return void((t=FTn(this,null,null))&&t.Fi());case 11:return!this.d&&(this.d=new $L(P$t,this,11)),void uqn(this.d);case 12:return!this.c&&(this.c=new nU(WAt,this,12,10)),void uqn(this.c);case 13:return void(this.a&&gqn(this.a));case 14:return void(this.b&&uqn(this.b))}Bfn(this,n-fX((wWn(),b$t)),ttn(KB(van(this,16),26)||b$t,n))},EWn.Gh=function(){var n,t;if(this.c)for(n=0,t=this.c.i;n<t;++n)gx(Utn(this.c,n));Pkn(this),this.Bb|=1},gX(h6n,"EOperationImpl",399),lAn(505,742,F9n,aR),EWn.Hi=function(n,t){sD(this,n,KB(t,138))},EWn.Ii=function(n){t$(this,KB(n,138))},EWn.Oi=function(n){return KB(Utn(F7(this.a),n),87).c||(wWn(),s$t)},EWn.Ti=function(n){return KB(sDn(F7(this.a),n),87).c||(wWn(),s$t)},EWn.Ui=function(n,t){return fgn(this,n,KB(t,138))},EWn.ai=function(){return!1},EWn.Zi=function(n,t,e,i,r){return null},EWn.Ji=function(){return new pp(this)},EWn.Ki=function(){uqn(F7(this.a))},EWn.Li=function(n){return aln(this,n)},EWn.Mi=function(n){var t;for(t=n.Kc();t.Ob();)if(!aln(this,t.Pb()))return!1;return!0},EWn.Ni=function(n){var t,e,i;if(iL(n,15)&&(i=KB(n,15)).gc()==F7(this.a).i){for(t=i.Kc(),e=new IL(this);t.Ob();)if(HI(t.Pb())!==HI(mpn(e)))return!1;return!0}return!1},EWn.Pi=function(){var n,t,e;for(t=1,n=new IL(F7(this.a));n.e!=n.i.gc();)t=31*t+((e=KB(mpn(n),87).c||(wWn(),s$t))?Yon(e):0);return t},EWn.Qi=function(n){var t,e,i;for(i=0,e=new IL(F7(this.a));e.e!=e.i.gc();){if(t=KB(mpn(e),87),HI(n)===HI(t.c||(wWn(),s$t)))return i;++i}return-1},EWn.Ri=function(){return 0==F7(this.a).i},EWn.Si=function(){return null},EWn.Vi=function(){return F7(this.a).i},EWn.Wi=function(){var n,t,e,i,r;for(r=F7(this.a).i,i=L8(Int,FWn,1,r,5,1),e=0,t=new IL(F7(this.a));t.e!=t.i.gc();)n=KB(mpn(t),87),i[e++]=n.c||(wWn(),s$t);return i},EWn.Xi=function(n){var t,e,i;for(i=F7(this.a).i,n.length<i&&(n=Nen(Zon(n).c,i)),n.length>i&&OX(n,i,null),e=0,t=new IL(F7(this.a));t.e!=t.i.gc();)OX(n,e++,KB(mpn(t),87).c||(wWn(),s$t));return n},EWn.Yi=function(){var n,t,e,i;for((i=new Tk).a+="[",n=F7(this.a),t=0,e=F7(this.a).i;t<e;)iO(i,mN(KB(Utn(n,t),87).c||(wWn(),s$t))),++t<e&&(i.a+=_Wn);return i.a+="]",i.a},EWn.$i=function(n){},EWn.aj=function(){return 13},EWn.Bk=function(){return!0},EWn.bj=function(){return!1},EWn.Ck=function(){return!1},EWn.Dk=function(){return!1},EWn.Ek=function(){return!0},EWn.rk=function(){return!1},EWn.Fk=function(){return!0},EWn.wj=function(n){return iL(n,138)},EWn.fj=function(){return X0(this.a)},EWn.hi=function(){return!0},EWn.ni=function(){return!0},gX(h6n,"EOperationImpl/1",505),lAn(1340,1964,AVn,pp),EWn.Zc=function(n){return uin(this.a,n)},EWn.gc=function(){return F7(this.a.a).i},gX(h6n,"EOperationImpl/1/1",1340),lAn(1341,545,x9n,QG),EWn.ii=function(n,t){var e;return e=KB(Pln(this,n,t),87),pA(this.e)&&Av(this,new y9(this.a,7,(wWn(),w$t),tln(t),e.c||s$t,n)),e},EWn.jj=function(n,t){return Efn(this,KB(n,87),t)},EWn.kj=function(n,t){return Tfn(this,KB(n,87),t)},EWn.lj=function(n,t,e){return Ugn(this,KB(n,87),KB(t,87),e)},EWn.Zi=function(n,t,e,i,r){switch(n){case 3:return vZ(this,n,t,e,i,this.i>1);case 5:return vZ(this,n,t,e,i,this.i-KB(e,15).gc()>0);default:return new $7(this.e,n,this.c,t,e,i,!0)}},EWn.ij=function(){return!0},EWn.fj=function(){return Dvn(this)},EWn.Xj=function(){uqn(this)},gX(h6n,"EOperationImpl/2",1341),lAn(498,1,{1938:1,498:1},CI),gX(h6n,"EPackageImpl/1",498),lAn(16,85,x9n,nU),EWn.zk=function(){return this.d},EWn.Ak=function(){return this.b},EWn.Dk=function(){return!0},EWn.b=0,gX(v9n,"EObjectContainmentWithInverseEList",16),lAn(353,16,x9n,n_),EWn.Ek=function(){return!0},EWn.li=function(n,t){return HOn(this,n,KB(t,56))},gX(v9n,"EObjectContainmentWithInverseEList/Resolving",353),lAn(298,353,x9n,Qz),EWn.ci=function(){this.a.tb=null},gX(h6n,"EPackageImpl/2",298),lAn(1228,1,{},Oo),gX(h6n,"EPackageImpl/3",1228),lAn(718,43,ZQn,$m),EWn._b=function(n){return zI(n)?nJ(this,n):!!IJ(this.f,n)},gX(h6n,"EPackageRegistryImpl",718),lAn(509,284,{105:1,92:1,90:1,147:1,191:1,56:1,2017:1,108:1,472:1,49:1,97:1,150:1,509:1,284:1,114:1,115:1},Am),EWn.Qg=function(n){return Skn(this,n)},EWn._g=function(n,t,e){var i;switch(n){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return oN(),!!(256&this.Bb);case 3:return oN(),!!(512&this.Bb);case 4:return tln(this.s);case 5:return tln(this.t);case 6:return oN(),(i=this.t)>1||-1==i;case 7:return oN(),this.s>=1;case 8:return t?Pkn(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?KB(this.Cb,59):null}return G9(this,n-fX((wWn(),g$t)),ttn(KB(van(this,16),26)||g$t,n),t,e)},EWn.hh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),Vwn(this.Ab,n,e);case 10:return this.Cb&&(e=(i=this.Db>>16)>=0?Skn(this,e):this.Cb.ih(this,-1-i,null,e)),jKn(this,n,10,e)}return KB(ttn(KB(van(this,16),26)||(wWn(),g$t),t),66).Nj().Qj(this,sgn(this),t-fX((wWn(),g$t)),n,e)},EWn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),Rpn(this.Ab,n,e);case 9:return wX(this,e);case 10:return jKn(this,null,10,e)}return KB(ttn(KB(van(this,16),26)||(wWn(),g$t),t),66).Nj().Rj(this,sgn(this),t-fX((wWn(),g$t)),n,e)},EWn.lh=function(n){var t;switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return!(256&this.Bb);case 3:return!(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return(t=this.t)>1||-1==t;case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==vW(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==vW(this.q).i);case 10:return!(this.Db>>16!=10||!KB(this.Cb,59))}return C3(this,n-fX((wWn(),g$t)),ttn(KB(van(this,16),26)||g$t,n))},EWn.zh=function(){return wWn(),g$t},gX(h6n,"EParameterImpl",509),lAn(99,449,{105:1,92:1,90:1,147:1,191:1,56:1,18:1,170:1,66:1,108:1,472:1,49:1,97:1,150:1,99:1,449:1,284:1,114:1,115:1,677:1},dD),EWn._g=function(n,t,e){var i,r;switch(n){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return oN(),!!(256&this.Bb);case 3:return oN(),!!(512&this.Bb);case 4:return tln(this.s);case 5:return tln(this.t);case 6:return oN(),(r=this.t)>1||-1==r;case 7:return oN(),this.s>=1;case 8:return t?Pkn(this):this.r;case 9:return this.q;case 10:return oN(),!!(this.Bb&m6n);case 11:return oN(),!!(this.Bb&E9n);case 12:return oN(),!!(this.Bb&RQn);case 13:return this.j;case 14:return BLn(this);case 15:return oN(),!!(this.Bb&j9n);case 16:return oN(),!!(this.Bb&oVn);case 17:return bZ(this);case 18:return oN(),!!(this.Bb&o6n);case 19:return oN(),!!((i=Svn(this))&&i.Bb&o6n);case 20:return oN(),!!(this.Bb&KQn);case 21:return t?Svn(this):this.b;case 22:return t?Pon(this):D5(this);case 23:return!this.a&&(this.a=new xL(_At,this,23)),this.a}return G9(this,n-fX((wWn(),p$t)),ttn(KB(van(this,16),26)||p$t,n),t,e)},EWn.lh=function(n){var t,e;switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return!(256&this.Bb);case 3:return!(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return(e=this.t)>1||-1==e;case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==vW(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==vW(this.q).i);case 10:return!(this.Bb&m6n);case 11:return!!(this.Bb&E9n);case 12:return!!(this.Bb&RQn);case 13:return null!=this.j;case 14:return null!=BLn(this);case 15:return!!(this.Bb&j9n);case 16:return!!(this.Bb&oVn);case 17:return!!bZ(this);case 18:return!!(this.Bb&o6n);case 19:return!!(t=Svn(this))&&!!(t.Bb&o6n);case 20:return!(this.Bb&KQn);case 21:return!!this.b;case 22:return!!D5(this);case 23:return!!this.a&&0!=this.a.i}return C3(this,n-fX((wWn(),p$t)),ttn(KB(van(this,16),26)||p$t,n))},EWn.sh=function(n,t){var e;switch(n){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),uqn(this.Ab),!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),void dX(this.Ab,KB(t,14));case 1:return void QZ(this,TD(t));case 2:return void Vfn(this,By(jD(t)));case 3:return void Yfn(this,By(jD(t)));case 4:return void Aen(this,KB(t,19).a);case 5:return void $en(this,KB(t,19).a);case 8:return void Phn(this,KB(t,138));case 9:return void((e=FTn(this,KB(t,87),null))&&e.Fi());case 10:return void Iln(this,By(jD(t)));case 11:return void $ln(this,By(jD(t)));case 12:return void Oln(this,By(jD(t)));case 13:return void RI(this,TD(t));case 15:return void Aln(this,By(jD(t)));case 16:return void Bln(this,By(jD(t)));case 18:return void VZ(this,By(jD(t)));case 20:return void Gln(this,By(jD(t)));case 21:return void ern(this,KB(t,18));case 23:return!this.a&&(this.a=new xL(_At,this,23)),uqn(this.a),!this.a&&(this.a=new xL(_At,this,23)),void dX(this.a,KB(t,14))}Abn(this,n-fX((wWn(),p$t)),ttn(KB(van(this,16),26)||p$t,n),t)},EWn.zh=function(){return wWn(),p$t},EWn.Bh=function(n){var t;switch(n){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),void uqn(this.Ab);case 1:return iL(this.Cb,88)&&ICn(M5(KB(this.Cb,88)),4),void $rn(this,null);case 2:return void Vfn(this,!0);case 3:return void Yfn(this,!0);case 4:return void Aen(this,0);case 5:return void $en(this,1);case 8:return void Phn(this,null);case 9:return void((t=FTn(this,null,null))&&t.Fi());case 10:return void Iln(this,!0);case 11:return void $ln(this,!1);case 12:return void Oln(this,!1);case 13:return this.i=null,void rrn(this,null);case 15:return void Aln(this,!1);case 16:return void Bln(this,!1);case 18:return qln(this,!1),void(iL(this.Cb,88)&&ICn(M5(KB(this.Cb,88)),2));case 20:return void Gln(this,!0);case 21:return void ern(this,null);case 23:return!this.a&&(this.a=new xL(_At,this,23)),void uqn(this.a)}Bfn(this,n-fX((wWn(),p$t)),ttn(KB(van(this,16),26)||p$t,n))},EWn.Gh=function(){Pon(this),mV(K7((PPn(),Q$t),this)),Pkn(this),this.Bb|=1},EWn.Lj=function(){return Svn(this)},EWn.qk=function(){var n;return!!(n=Svn(this))&&!!(n.Bb&o6n)},EWn.rk=function(){return!!(this.Bb&o6n)},EWn.sk=function(){return!!(this.Bb&KQn)},EWn.nk=function(n,t){return this.c=null,Mfn(this,n,t)},EWn.Ib=function(){var n;return 64&this.Db?kRn(this):((n=new sN(kRn(this))).a+=" (containment: ",vE(n,!!(this.Bb&o6n)),n.a+=", resolveProxies: ",vE(n,!!(this.Bb&KQn)),n.a+=")",n.a)},gX(h6n,"EReferenceImpl",99),lAn(548,115,{105:1,42:1,92:1,90:1,133:1,56:1,108:1,49:1,97:1,548:1,114:1,115:1},Ao),EWn.Fb=function(n){return this===n},EWn.cd=function(){return this.b},EWn.dd=function(){return this.c},EWn.Hb=function(){return MN(this)},EWn.Uh=function(n){gq(this,TD(n))},EWn.ed=function(n){return OH(this,TD(n))},EWn._g=function(n,t,e){switch(n){case 0:return this.b;case 1:return this.c}return G9(this,n-fX((wWn(),v$t)),ttn(KB(van(this,16),26)||v$t,n),t,e)},EWn.lh=function(n){switch(n){case 0:return null!=this.b;case 1:return null!=this.c}return C3(this,n-fX((wWn(),v$t)),ttn(KB(van(this,16),26)||v$t,n))},EWn.sh=function(n,t){switch(n){case 0:return void pq(this,TD(t));case 1:return void Din(this,TD(t))}Abn(this,n-fX((wWn(),v$t)),ttn(KB(van(this,16),26)||v$t,n),t)},EWn.zh=function(){return wWn(),v$t},EWn.Bh=function(n){switch(n){case 0:return void xin(this,null);case 1:return void Din(this,null)}Bfn(this,n-fX((wWn(),v$t)),ttn(KB(van(this,16),26)||v$t,n))},EWn.Sh=function(){var n;return-1==this.a&&(n=this.b,this.a=null==n?0:gvn(n)),this.a},EWn.Th=function(n){this.a=n},EWn.Ib=function(){var n;return 64&this.Db?M$n(this):((n=new sN(M$n(this))).a+=" (key: ",iO(n,this.b),n.a+=", value: ",iO(n,this.c),n.a+=")",n.a)},EWn.a=-1,EWn.b=null,EWn.c=null;var N$t,x$t,D$t,R$t,_$t,K$t,F$t,B$t,H$t,q$t,G$t=gX(h6n,"EStringToStringMapEntryImpl",548),z$t=fq(v9n,"FeatureMap/Entry/Internal");lAn(565,1,q9n),EWn.Ok=function(n){return this.Pk(KB(n,49))},EWn.Pk=function(n){return this.Ok(n)},EWn.Fb=function(n){var t,e;return this===n||!!iL(n,72)&&(t=KB(n,72)).ak()==this.c&&(null==(e=this.dd())?null==t.dd():$fn(e,t.dd()))},EWn.ak=function(){return this.c},EWn.Hb=function(){var n;return n=this.dd(),Yon(this.c)^(null==n?0:Yon(n))},EWn.Ib=function(){var n,t;return t=Gtn((n=this.c).Hj()).Ph(),n.ne(),(null!=t&&0!=t.length?t+":"+n.ne():n.ne())+"="+this.dd()},gX(h6n,"EStructuralFeatureImpl/BasicFeatureMapEntry",565),lAn(776,565,q9n,eR),EWn.Pk=function(n){return new eR(this.c,n)},EWn.dd=function(){return this.a},EWn.Qk=function(n,t,e){return Tcn(this,n,this.a,t,e)},EWn.Rk=function(n,t,e){return Mcn(this,n,this.a,t,e)},gX(h6n,"EStructuralFeatureImpl/ContainmentUpdatingFeatureMapEntry",776),lAn(1314,1,{},II),EWn.Pj=function(n,t,e,i,r){return KB(T9(n,this.b),215).nl(this.a).Wj(i)},EWn.Qj=function(n,t,e,i,r){return KB(T9(n,this.b),215).el(this.a,i,r)},EWn.Rj=function(n,t,e,i,r){return KB(T9(n,this.b),215).fl(this.a,i,r)},EWn.Sj=function(n,t,e){return KB(T9(n,this.b),215).nl(this.a).fj()},EWn.Tj=function(n,t,e,i){KB(T9(n,this.b),215).nl(this.a).Wb(i)},EWn.Uj=function(n,t,e){return KB(T9(n,this.b),215).nl(this.a)},EWn.Vj=function(n,t,e){KB(T9(n,this.b),215).nl(this.a).Xj()},gX(h6n,"EStructuralFeatureImpl/InternalSettingDelegateFeatureMapDelegator",1314),lAn(89,1,{},MB,hQ,xJ,l4),EWn.Pj=function(n,t,e,i,r){var c;if(null==(c=t.Ch(e))&&t.Dh(e,c=tWn(this,n)),!r)switch(this.e){case 50:case 41:return KB(c,589).sj();case 40:return KB(c,215).kl()}return c},EWn.Qj=function(n,t,e,i,r){var c;return null==(c=t.Ch(e))&&t.Dh(e,c=tWn(this,n)),KB(c,69).lk(i,r)},EWn.Rj=function(n,t,e,i,r){var c;return null!=(c=t.Ch(e))&&(r=KB(c,69).mk(i,r)),r},EWn.Sj=function(n,t,e){var i;return null!=(i=t.Ch(e))&&KB(i,76).fj()},EWn.Tj=function(n,t,e,i){var r;!(r=KB(t.Ch(e),76))&&t.Dh(e,r=tWn(this,n)),r.Wb(i)},EWn.Uj=function(n,t,e){var i;return null==(i=t.Ch(e))&&t.Dh(e,i=tWn(this,n)),iL(i,76)?KB(i,76):new kp(KB(t.Ch(e),15))},EWn.Vj=function(n,t,e){var i;!(i=KB(t.Ch(e),76))&&t.Dh(e,i=tWn(this,n)),i.Xj()},EWn.b=0,EWn.e=0,gX(h6n,"EStructuralFeatureImpl/InternalSettingDelegateMany",89),lAn(504,1,{}),EWn.Qj=function(n,t,e,i,r){throw Fp(new dv)},EWn.Rj=function(n,t,e,i,r){throw Fp(new dv)},EWn.Uj=function(n,t,e){return new fQ(this,n,t,e)},gX(h6n,"EStructuralFeatureImpl/InternalSettingDelegateSingle",504),lAn(1331,1,m9n,fQ),EWn.Wj=function(n){return this.a.Pj(this.c,this.d,this.b,n,!0)},EWn.fj=function(){return this.a.Sj(this.c,this.d,this.b)},EWn.Wb=function(n){this.a.Tj(this.c,this.d,this.b,n)},EWn.Xj=function(){this.a.Vj(this.c,this.d,this.b)},EWn.b=0,gX(h6n,"EStructuralFeatureImpl/InternalSettingDelegateSingle/1",1331),lAn(769,504,{},pY),EWn.Pj=function(n,t,e,i,r){return w_n(n,n.eh(),n.Vg())==this.b?this.sk()&&i?iAn(n):n.eh():null},EWn.Qj=function(n,t,e,i,r){var c,a;return n.eh()&&(r=(c=n.Vg())>=0?n.Qg(r):n.eh().ih(n,-1-c,null,r)),a=Iwn(n.Tg(),this.e),n.Sg(i,a,r)},EWn.Rj=function(n,t,e,i,r){var c;return c=Iwn(n.Tg(),this.e),n.Sg(null,c,r)},EWn.Sj=function(n,t,e){var i;return i=Iwn(n.Tg(),this.e),!!n.eh()&&n.Vg()==i},EWn.Tj=function(n,t,e,i){var r,c,a,u,o;if(null!=i&&!TFn(this.a,i))throw Fp(new Dy(G9n+(iL(i,56)?bEn(KB(i,56).Tg()):ctn(Zon(i)))+z9n+this.a+"'"));if(r=n.eh(),a=Iwn(n.Tg(),this.e),HI(i)!==HI(r)||n.Vg()!=a&&null!=i){if(gkn(n,KB(i,56)))throw Fp(new Ry(l6n+n.Ib()));o=null,r&&(o=(c=n.Vg())>=0?n.Qg(o):n.eh().ih(n,-1-c,null,o)),(u=KB(i,49))&&(o=u.gh(n,Iwn(u.Tg(),this.b),null,o)),(o=n.Sg(u,a,o))&&o.Fi()}else n.Lg()&&n.Mg()&&fan(n,new Yz(n,1,a,i,i))},EWn.Vj=function(n,t,e){var i,r,c;n.eh()?(c=(i=n.Vg())>=0?n.Qg(null):n.eh().ih(n,-1-i,null,null),r=Iwn(n.Tg(),this.e),(c=n.Sg(null,r,c))&&c.Fi()):n.Lg()&&n.Mg()&&fan(n,new Zz(n,1,this.e,null,null))},EWn.sk=function(){return!1},gX(h6n,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainer",769),lAn(1315,769,{},SB),EWn.sk=function(){return!0},gX(h6n,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainerResolving",1315),lAn(563,504,{}),EWn.Pj=function(n,t,e,i,r){var c;return null==(c=t.Ch(e))?this.b:HI(c)===HI(N$t)?null:c},EWn.Sj=function(n,t,e){var i;return null!=(i=t.Ch(e))&&(HI(i)===HI(N$t)||!$fn(i,this.b))},EWn.Tj=function(n,t,e,i){var r,c;n.Lg()&&n.Mg()?(r=null==(c=t.Ch(e))?this.b:HI(c)===HI(N$t)?null:c,null==i?null!=this.c?(t.Dh(e,null),i=this.b):null!=this.b?t.Dh(e,N$t):t.Dh(e,null):(this.Sk(i),t.Dh(e,i)),fan(n,this.d.Tk(n,1,this.e,r,i))):null==i?null!=this.c?t.Dh(e,null):null!=this.b?t.Dh(e,N$t):t.Dh(e,null):(this.Sk(i),t.Dh(e,i))},EWn.Vj=function(n,t,e){var i,r;n.Lg()&&n.Mg()?(i=null==(r=t.Ch(e))?this.b:HI(r)===HI(N$t)?null:r,t.Eh(e),fan(n,this.d.Tk(n,1,this.e,i,this.b))):t.Eh(e)},EWn.Sk=function(n){throw Fp(new fv)},gX(h6n,"EStructuralFeatureImpl/InternalSettingDelegateSingleData",563),lAn(U9n,1,{},$o),EWn.Tk=function(n,t,e,i,r){return new Zz(n,t,e,i,r)},EWn.Uk=function(n,t,e,i,r,c){return new HQ(n,t,e,i,r,c)},gX(h6n,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator",U9n),lAn(1332,U9n,{},Lo),EWn.Tk=function(n,t,e,i,r){return new Y5(n,t,e,By(jD(i)),By(jD(r)))},EWn.Uk=function(n,t,e,i,r,c){return new A0(n,t,e,By(jD(i)),By(jD(r)),c)},gX(h6n,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/1",1332),lAn(1333,U9n,{},No),EWn.Tk=function(n,t,e,i,r){return new Fen(n,t,e,KB(i,217).a,KB(r,217).a)},EWn.Uk=function(n,t,e,i,r,c){return new T0(n,t,e,KB(i,217).a,KB(r,217).a,c)},gX(h6n,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/2",1333),lAn(1334,U9n,{},xo),EWn.Tk=function(n,t,e,i,r){return new Ben(n,t,e,KB(i,172).a,KB(r,172).a)},EWn.Uk=function(n,t,e,i,r,c){return new M0(n,t,e,KB(i,172).a,KB(r,172).a,c)},gX(h6n,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/3",1334),lAn(1335,U9n,{},Do),EWn.Tk=function(n,t,e,i,r){return new Q5(n,t,e,Hy(ED(i)),Hy(ED(r)))},EWn.Uk=function(n,t,e,i,r,c){return new S0(n,t,e,Hy(ED(i)),Hy(ED(r)),c)},gX(h6n,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/4",1335),lAn(1336,U9n,{},Ro),EWn.Tk=function(n,t,e,i,r){return new Gen(n,t,e,KB(i,155).a,KB(r,155).a)},EWn.Uk=function(n,t,e,i,r,c){return new P0(n,t,e,KB(i,155).a,KB(r,155).a,c)},gX(h6n,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/5",1336),lAn(1337,U9n,{},_o),EWn.Tk=function(n,t,e,i,r){return new J5(n,t,e,KB(i,19).a,KB(r,19).a)},EWn.Uk=function(n,t,e,i,r,c){return new C0(n,t,e,KB(i,19).a,KB(r,19).a,c)},gX(h6n,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/6",1337),lAn(1338,U9n,{},Ko),EWn.Tk=function(n,t,e,i,r){return new Hen(n,t,e,KB(i,162).a,KB(r,162).a)},EWn.Uk=function(n,t,e,i,r,c){return new I0(n,t,e,KB(i,162).a,KB(r,162).a,c)},gX(h6n,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/7",1338),lAn(1339,U9n,{},Fo),EWn.Tk=function(n,t,e,i,r){return new qen(n,t,e,KB(i,184).a,KB(r,184).a)},EWn.Uk=function(n,t,e,i,r,c){return new O0(n,t,e,KB(i,184).a,KB(r,184).a,c)},gX(h6n,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/8",1339),lAn(1317,563,{},lQ),EWn.Sk=function(n){if(!this.a.wj(n))throw Fp(new Dy(G9n+Zon(n)+z9n+this.a+"'"))},gX(h6n,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataDynamic",1317),lAn(1318,563,{},JG),EWn.Sk=function(n){},gX(h6n,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataStatic",1318),lAn(770,563,{}),EWn.Sj=function(n,t,e){return null!=t.Ch(e)},EWn.Tj=function(n,t,e,i){var r,c;n.Lg()&&n.Mg()?(r=!0,null==(c=t.Ch(e))?(r=!1,c=this.b):HI(c)===HI(N$t)&&(c=null),null==i?null!=this.c?(t.Dh(e,null),i=this.b):t.Dh(e,N$t):(this.Sk(i),t.Dh(e,i)),fan(n,this.d.Uk(n,1,this.e,c,i,!r))):null==i?null!=this.c?t.Dh(e,null):t.Dh(e,N$t):(this.Sk(i),t.Dh(e,i))},EWn.Vj=function(n,t,e){var i,r;n.Lg()&&n.Mg()?(i=!0,null==(r=t.Ch(e))?(i=!1,r=this.b):HI(r)===HI(N$t)&&(r=null),t.Eh(e),fan(n,this.d.Uk(n,2,this.e,r,this.b,i))):t.Eh(e)},gX(h6n,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettable",770),lAn(1319,770,{},bQ),EWn.Sk=function(n){if(!this.a.wj(n))throw Fp(new Dy(G9n+Zon(n)+z9n+this.a+"'"))},gX(h6n,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableDynamic",1319),lAn(1320,770,{},YG),EWn.Sk=function(n){},gX(h6n,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableStatic",1320),lAn(398,504,{},iG),EWn.Pj=function(n,t,e,i,r){var c,a,u,o,s;if(s=t.Ch(e),this.Kj()&&HI(s)===HI(N$t))return null;if(this.sk()&&i&&null!=s){if((u=KB(s,49)).kh()&&u!=(o=Zhn(n,u))){if(!TFn(this.a,o))throw Fp(new Dy(G9n+Zon(o)+z9n+this.a+"'"));t.Dh(e,s=o),this.rk()&&(c=KB(o,49),a=u.ih(n,this.b?Iwn(u.Tg(),this.b):-1-Iwn(n.Tg(),this.e),null,null),!c.eh()&&(a=c.gh(n,this.b?Iwn(c.Tg(),this.b):-1-Iwn(n.Tg(),this.e),null,a)),a&&a.Fi()),n.Lg()&&n.Mg()&&fan(n,new Zz(n,9,this.e,u,o))}return s}return s},EWn.Qj=function(n,t,e,i,r){var c,a;return HI(a=t.Ch(e))===HI(N$t)&&(a=null),t.Dh(e,i),this.bj()?HI(a)!==HI(i)&&null!=a&&(r=(c=KB(a,49)).ih(n,Iwn(c.Tg(),this.b),null,r)):this.rk()&&null!=a&&(r=KB(a,49).ih(n,-1-Iwn(n.Tg(),this.e),null,r)),n.Lg()&&n.Mg()&&(!r&&(r=new _j(4)),r.Ei(new Zz(n,1,this.e,a,i))),r},EWn.Rj=function(n,t,e,i,r){var c;return HI(c=t.Ch(e))===HI(N$t)&&(c=null),t.Eh(e),n.Lg()&&n.Mg()&&(!r&&(r=new _j(4)),this.Kj()?r.Ei(new Zz(n,2,this.e,c,null)):r.Ei(new Zz(n,1,this.e,c,null))),r},EWn.Sj=function(n,t,e){return null!=t.Ch(e)},EWn.Tj=function(n,t,e,i){var r,c,a,u,o;if(null!=i&&!TFn(this.a,i))throw Fp(new Dy(G9n+(iL(i,56)?bEn(KB(i,56).Tg()):ctn(Zon(i)))+z9n+this.a+"'"));u=null!=(o=t.Ch(e)),this.Kj()&&HI(o)===HI(N$t)&&(o=null),a=null,this.bj()?HI(o)!==HI(i)&&(null!=o&&(a=(r=KB(o,49)).ih(n,Iwn(r.Tg(),this.b),null,a)),null!=i&&(a=(r=KB(i,49)).gh(n,Iwn(r.Tg(),this.b),null,a))):this.rk()&&HI(o)!==HI(i)&&(null!=o&&(a=KB(o,49).ih(n,-1-Iwn(n.Tg(),this.e),null,a)),null!=i&&(a=KB(i,49).gh(n,-1-Iwn(n.Tg(),this.e),null,a))),null==i&&this.Kj()?t.Dh(e,N$t):t.Dh(e,i),n.Lg()&&n.Mg()?(c=new HQ(n,1,this.e,o,i,this.Kj()&&!u),a?(a.Ei(c),a.Fi()):fan(n,c)):a&&a.Fi()},EWn.Vj=function(n,t,e){var i,r,c,a,u;a=null!=(u=t.Ch(e)),this.Kj()&&HI(u)===HI(N$t)&&(u=null),c=null,null!=u&&(this.bj()?c=(i=KB(u,49)).ih(n,Iwn(i.Tg(),this.b),null,c):this.rk()&&(c=KB(u,49).ih(n,-1-Iwn(n.Tg(),this.e),null,c))),t.Eh(e),n.Lg()&&n.Mg()?(r=new HQ(n,this.Kj()?2:1,this.e,u,null,a),c?(c.Ei(r),c.Fi()):fan(n,r)):c&&c.Fi()},EWn.bj=function(){return!1},EWn.rk=function(){return!1},EWn.sk=function(){return!1},EWn.Kj=function(){return!1},gX(h6n,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObject",398),lAn(564,398,{},Jx),EWn.rk=function(){return!0},gX(h6n,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainment",564),lAn(1323,564,{},Yx),EWn.sk=function(){return!0},gX(h6n,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentResolving",1323),lAn(772,564,{},Zx),EWn.Kj=function(){return!0},gX(h6n,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettable",772),lAn(1325,772,{},nD),EWn.sk=function(){return!0},gX(h6n,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettableResolving",1325),lAn(640,564,{},PB),EWn.bj=function(){return!0},gX(h6n,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverse",640),lAn(1324,640,{},OB),EWn.sk=function(){return!0},gX(h6n,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseResolving",1324),lAn(773,640,{},AB),EWn.Kj=function(){return!0},gX(h6n,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettable",773),lAn(1326,773,{},$B),EWn.sk=function(){return!0},gX(h6n,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettableResolving",1326),lAn(641,398,{},tD),EWn.sk=function(){return!0},gX(h6n,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolving",641),lAn(1327,641,{},eD),EWn.Kj=function(){return!0},gX(h6n,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingUnsettable",1327),lAn(774,641,{},CB),EWn.bj=function(){return!0},gX(h6n,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverse",774),lAn(1328,774,{},LB),EWn.Kj=function(){return!0},gX(h6n,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverseUnsettable",1328),lAn(1321,398,{},iD),EWn.Kj=function(){return!0},gX(h6n,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectUnsettable",1321),lAn(771,398,{},IB),EWn.bj=function(){return!0},gX(h6n,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverse",771),lAn(1322,771,{},NB),EWn.Kj=function(){return!0},gX(h6n,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverseUnsettable",1322),lAn(775,565,q9n,rW),EWn.Pk=function(n){return new rW(this.a,this.c,n)},EWn.dd=function(){return this.b},EWn.Qk=function(n,t,e){return N8(this,n,this.b,e)},EWn.Rk=function(n,t,e){return x8(this,n,this.b,e)},gX(h6n,"EStructuralFeatureImpl/InverseUpdatingFeatureMapEntry",775),lAn(1329,1,m9n,kp),EWn.Wj=function(n){return this.a},EWn.fj=function(){return iL(this.a,95)?KB(this.a,95).fj():!this.a.dc()},EWn.Wb=function(n){this.a.$b(),this.a.Gc(KB(n,15))},EWn.Xj=function(){iL(this.a,95)?KB(this.a,95).Xj():this.a.$b()},gX(h6n,"EStructuralFeatureImpl/SettingMany",1329),lAn(1330,565,q9n,w4),EWn.Ok=function(n){return new iR((Gqn(),RLt),this.b.Ih(this.a,n))},EWn.dd=function(){return null},EWn.Qk=function(n,t,e){return e},EWn.Rk=function(n,t,e){return e},gX(h6n,"EStructuralFeatureImpl/SimpleContentFeatureMapEntry",1330),lAn(642,565,q9n,iR),EWn.Ok=function(n){return new iR(this.c,n)},EWn.dd=function(){return this.a},EWn.Qk=function(n,t,e){return e},EWn.Rk=function(n,t,e){return e},gX(h6n,"EStructuralFeatureImpl/SimpleFeatureMapEntry",642),lAn(391,497,o8n,Bo),EWn.ri=function(n){return L8(FAt,FWn,26,n,0,1)},EWn.ni=function(){return!1},gX(h6n,"ESuperAdapter/1",391),lAn(444,438,{105:1,92:1,90:1,147:1,191:1,56:1,108:1,836:1,49:1,97:1,150:1,444:1,114:1,115:1},Ho),EWn._g=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return!this.a&&(this.a=new rG(this,UAt,this)),this.a}return G9(this,n-fX((wWn(),k$t)),ttn(KB(van(this,16),26)||k$t,n),t,e)},EWn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),Rpn(this.Ab,n,e);case 2:return!this.a&&(this.a=new rG(this,UAt,this)),Rpn(this.a,n,e)}return KB(ttn(KB(van(this,16),26)||(wWn(),k$t),t),66).Nj().Rj(this,sgn(this),t-fX((wWn(),k$t)),n,e)},EWn.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return!!this.a&&0!=this.a.i}return C3(this,n-fX((wWn(),k$t)),ttn(KB(van(this,16),26)||k$t,n))},EWn.sh=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),uqn(this.Ab),!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),void dX(this.Ab,KB(t,14));case 1:return void $rn(this,TD(t));case 2:return!this.a&&(this.a=new rG(this,UAt,this)),uqn(this.a),!this.a&&(this.a=new rG(this,UAt,this)),void dX(this.a,KB(t,14))}Abn(this,n-fX((wWn(),k$t)),ttn(KB(van(this,16),26)||k$t,n),t)},EWn.zh=function(){return wWn(),k$t},EWn.Bh=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new nU(xAt,this,0,3)),void uqn(this.Ab);case 1:return void $rn(this,null);case 2:return!this.a&&(this.a=new rG(this,UAt,this)),void uqn(this.a)}Bfn(this,n-fX((wWn(),k$t)),ttn(KB(van(this,16),26)||k$t,n))},gX(h6n,"ETypeParameterImpl",444),lAn(445,85,x9n,rG),EWn.cj=function(n,t){return ATn(this,KB(n,87),t)},EWn.dj=function(n,t){return $Tn(this,KB(n,87),t)},gX(h6n,"ETypeParameterImpl/1",445),lAn(634,43,ZQn,Lm),EWn.ec=function(){return new jp(this)},gX(h6n,"ETypeParameterImpl/2",634),lAn(556,YWn,ZWn,jp),EWn.Fc=function(n){return VR(this,KB(n,87))},EWn.Gc=function(n){var t,e,i;for(i=!1,e=n.Kc();e.Ob();)t=KB(e.Pb(),87),null==XW(this.a,t,"")&&(i=!0);return i},EWn.$b=function(){OU(this.a)},EWn.Hc=function(n){return oU(this.a,n)},EWn.Kc=function(){return new Ep(new csn(new Mb(this.a).a))},EWn.Mc=function(n){return R6(this,n)},EWn.gc=function(){return $T(this.a)},gX(h6n,"ETypeParameterImpl/2/1",556),lAn(557,1,WWn,Ep),EWn.Nb=function(n){sU(this,n)},EWn.Pb=function(){return KB(Ztn(this.a).cd(),87)},EWn.Ob=function(){return this.a.b},EWn.Qb=function(){a9(this.a)},gX(h6n,"ETypeParameterImpl/2/1/1",557),lAn(1276,43,ZQn,Nm),EWn._b=function(n){return zI(n)?nJ(this,n):!!IJ(this.f,n)},EWn.xc=function(n){var t;return iL(t=zI(n)?TY(this,n):BI(IJ(this.f,n)),837)?(t=KB(t,837)._j(),XW(this,KB(n,235),t),t):null!=t?t:null==n?(QM(),tLt):null},gX(h6n,"EValidatorRegistryImpl",1276),lAn(1313,704,{105:1,92:1,90:1,471:1,147:1,56:1,108:1,1941:1,49:1,97:1,150:1,114:1,115:1},qo),EWn.Ih=function(n,t){switch(n.yj()){case 21:case 22:case 23:case 24:case 26:case 31:case 32:case 37:case 38:case 39:case 40:case 43:case 44:case 48:case 49:case 20:return null==t?null:Kbn(t);case 25:return ztn(t);case 27:return z9(t);case 28:return U9(t);case 29:return null==t?null:F$(POt[0],KB(t,199));case 41:return null==t?"":Yj(KB(t,290));case 42:return Kbn(t);case 50:return TD(t);default:throw Fp(new Ry(b6n+n.ne()+w6n))}},EWn.Jh=function(n){var t;switch(-1==n.G&&(n.G=(t=Gtn(n))?cvn(t.Mh(),n):-1),n.G){case 0:return new Cm;case 1:return new jo;case 2:return new Rf;case 4:return new kv;case 5:return new Im;case 6:return new yv;case 7:return new xf;case 10:return new yo;case 11:return new Om;case 12:return new gJ;case 13:return new Am;case 14:return new dD;case 17:return new Ao;case 18:return new Dp;case 19:return new Ho;default:throw Fp(new Ry(p6n+n.zb+w6n))}},EWn.Kh=function(n,t){switch(n.yj()){case 20:return null==t?null:new lE(t);case 21:return null==t?null:new OA(t);case 23:case 22:return null==t?null:Jdn(t);case 26:case 24:return null==t?null:Mnn(hKn(t,-128,127)<<24>>24);case 25:return b$n(t);case 27:return Tyn(t);case 28:return Myn(t);case 29:return wMn(t);case 32:case 31:return null==t?null:fSn(t);case 38:case 37:return null==t?null:new Nv(t);case 40:case 39:return null==t?null:tln(hKn(t,RVn,NWn));case 41:case 42:return null;case 44:case 43:return null==t?null:ygn(eUn(t));case 49:case 48:return null==t?null:eln(hKn(t,W9n,32767)<<16>>16);case 50:return t;default:throw Fp(new Ry(b6n+n.ne()+w6n))}},gX(h6n,"EcoreFactoryImpl",1313),lAn(547,179,{105:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,1939:1,49:1,97:1,150:1,179:1,547:1,114:1,115:1,675:1},GW),EWn.gb=!1,EWn.hb=!1;var U$t,X$t=!1;gX(h6n,"EcorePackageImpl",547),lAn(1184,1,{837:1},Go),EWn._j=function(){return uN(),eLt},gX(h6n,"EcorePackageImpl/1",1184),lAn(1193,1,u7n,zo),EWn.wj=function(n){return iL(n,147)},EWn.xj=function(n){return L8(_Ot,FWn,147,n,0,1)},gX(h6n,"EcorePackageImpl/10",1193),lAn(1194,1,u7n,Uo),EWn.wj=function(n){return iL(n,191)},EWn.xj=function(n){return L8(FOt,FWn,191,n,0,1)},gX(h6n,"EcorePackageImpl/11",1194),lAn(1195,1,u7n,Xo),EWn.wj=function(n){return iL(n,56)},EWn.xj=function(n){return L8(OOt,FWn,56,n,0,1)},gX(h6n,"EcorePackageImpl/12",1195),lAn(1196,1,u7n,Wo),EWn.wj=function(n){return iL(n,399)},EWn.xj=function(n){return L8(XAt,L9n,59,n,0,1)},gX(h6n,"EcorePackageImpl/13",1196),lAn(1197,1,u7n,Vo),EWn.wj=function(n){return iL(n,235)},EWn.xj=function(n){return L8(BOt,FWn,235,n,0,1)},gX(h6n,"EcorePackageImpl/14",1197),lAn(1198,1,u7n,Qo),EWn.wj=function(n){return iL(n,509)},EWn.xj=function(n){return L8(WAt,FWn,2017,n,0,1)},gX(h6n,"EcorePackageImpl/15",1198),lAn(1199,1,u7n,Jo),EWn.wj=function(n){return iL(n,99)},EWn.xj=function(n){return L8(VAt,$9n,18,n,0,1)},gX(h6n,"EcorePackageImpl/16",1199),lAn(1200,1,u7n,Yo),EWn.wj=function(n){return iL(n,170)},EWn.xj=function(n){return L8(RAt,$9n,170,n,0,1)},gX(h6n,"EcorePackageImpl/17",1200),lAn(1201,1,u7n,Zo),EWn.wj=function(n){return iL(n,472)},EWn.xj=function(n){return L8(DAt,FWn,472,n,0,1)},gX(h6n,"EcorePackageImpl/18",1201),lAn(1202,1,u7n,ns),EWn.wj=function(n){return iL(n,548)},EWn.xj=function(n){return L8(G$t,r9n,548,n,0,1)},gX(h6n,"EcorePackageImpl/19",1202),lAn(1185,1,u7n,ts),EWn.wj=function(n){return iL(n,322)},EWn.xj=function(n){return L8(_At,$9n,34,n,0,1)},gX(h6n,"EcorePackageImpl/2",1185),lAn(1203,1,u7n,es),EWn.wj=function(n){return iL(n,241)},EWn.xj=function(n){return L8(UAt,K9n,87,n,0,1)},gX(h6n,"EcorePackageImpl/20",1203),lAn(1204,1,u7n,is),EWn.wj=function(n){return iL(n,444)},EWn.xj=function(n){return L8(P$t,FWn,836,n,0,1)},gX(h6n,"EcorePackageImpl/21",1204),lAn(1205,1,u7n,rs),EWn.wj=function(n){return qI(n)},EWn.xj=function(n){return L8(mtt,uVn,476,n,8,1)},gX(h6n,"EcorePackageImpl/22",1205),lAn(1206,1,u7n,cs),EWn.wj=function(n){return iL(n,190)},EWn.xj=function(n){return L8(ANt,uVn,190,n,0,2)},gX(h6n,"EcorePackageImpl/23",1206),lAn(1207,1,u7n,as),EWn.wj=function(n){return iL(n,217)},EWn.xj=function(n){return L8(jtt,uVn,217,n,0,1)},gX(h6n,"EcorePackageImpl/24",1207),lAn(1208,1,u7n,us),EWn.wj=function(n){return iL(n,172)},EWn.xj=function(n){return L8(Ttt,uVn,172,n,0,1)},gX(h6n,"EcorePackageImpl/25",1208),lAn(1209,1,u7n,os),EWn.wj=function(n){return iL(n,199)},EWn.xj=function(n){return L8(ptt,uVn,199,n,0,1)},gX(h6n,"EcorePackageImpl/26",1209),lAn(1210,1,u7n,ss),EWn.wj=function(n){return!1},EWn.xj=function(n){return L8(DNt,FWn,2110,n,0,1)},gX(h6n,"EcorePackageImpl/27",1210),lAn(1211,1,u7n,hs),EWn.wj=function(n){return GI(n)},EWn.xj=function(n){return L8(Mtt,uVn,333,n,7,1)},gX(h6n,"EcorePackageImpl/28",1211),lAn(1212,1,u7n,fs),EWn.wj=function(n){return iL(n,58)},EWn.xj=function(n){return L8(rAt,YYn,58,n,0,1)},gX(h6n,"EcorePackageImpl/29",1212),lAn(1186,1,u7n,ls),EWn.wj=function(n){return iL(n,510)},EWn.xj=function(n){return L8(xAt,{3:1,4:1,5:1,1934:1},590,n,0,1)},gX(h6n,"EcorePackageImpl/3",1186),lAn(1213,1,u7n,bs),EWn.wj=function(n){return iL(n,573)},EWn.xj=function(n){return L8(pAt,FWn,1940,n,0,1)},gX(h6n,"EcorePackageImpl/30",1213),lAn(1214,1,u7n,ws),EWn.wj=function(n){return iL(n,153)},EWn.xj=function(n){return L8(hLt,YYn,153,n,0,1)},gX(h6n,"EcorePackageImpl/31",1214),lAn(1215,1,u7n,ds),EWn.wj=function(n){return iL(n,72)},EWn.xj=function(n){return L8(I$t,o7n,72,n,0,1)},gX(h6n,"EcorePackageImpl/32",1215),lAn(1216,1,u7n,gs),EWn.wj=function(n){return iL(n,155)},EWn.xj=function(n){return L8(Stt,uVn,155,n,0,1)},gX(h6n,"EcorePackageImpl/33",1216),lAn(1217,1,u7n,ps),EWn.wj=function(n){return iL(n,19)},EWn.xj=function(n){return L8(Itt,uVn,19,n,0,1)},gX(h6n,"EcorePackageImpl/34",1217),lAn(1218,1,u7n,vs),EWn.wj=function(n){return iL(n,290)},EWn.xj=function(n){return L8(Ont,FWn,290,n,0,1)},gX(h6n,"EcorePackageImpl/35",1218),lAn(1219,1,u7n,ms),EWn.wj=function(n){return iL(n,162)},EWn.xj=function(n){return L8(xtt,uVn,162,n,0,1)},gX(h6n,"EcorePackageImpl/36",1219),lAn(1220,1,u7n,ys),EWn.wj=function(n){return iL(n,83)},EWn.xj=function(n){return L8($nt,FWn,83,n,0,1)},gX(h6n,"EcorePackageImpl/37",1220),lAn(1221,1,u7n,ks),EWn.wj=function(n){return iL(n,591)},EWn.xj=function(n){return L8(nLt,FWn,591,n,0,1)},gX(h6n,"EcorePackageImpl/38",1221),lAn(1222,1,u7n,js),EWn.wj=function(n){return!1},EWn.xj=function(n){return L8(RNt,FWn,2111,n,0,1)},gX(h6n,"EcorePackageImpl/39",1222),lAn(1187,1,u7n,Es),EWn.wj=function(n){return iL(n,88)},EWn.xj=function(n){return L8(FAt,FWn,26,n,0,1)},gX(h6n,"EcorePackageImpl/4",1187),lAn(1223,1,u7n,Ts),EWn.wj=function(n){return iL(n,184)},EWn.xj=function(n){return L8(Rtt,uVn,184,n,0,1)},gX(h6n,"EcorePackageImpl/40",1223),lAn(1224,1,u7n,Ms),EWn.wj=function(n){return zI(n)},EWn.xj=function(n){return L8(Wtt,uVn,2,n,6,1)},gX(h6n,"EcorePackageImpl/41",1224),lAn(1225,1,u7n,Ss),EWn.wj=function(n){return iL(n,588)},EWn.xj=function(n){return L8(oAt,FWn,588,n,0,1)},gX(h6n,"EcorePackageImpl/42",1225),lAn(1226,1,u7n,Ps),EWn.wj=function(n){return!1},EWn.xj=function(n){return L8(_Nt,uVn,2112,n,0,1)},gX(h6n,"EcorePackageImpl/43",1226),lAn(1227,1,u7n,Cs),EWn.wj=function(n){return iL(n,42)},EWn.xj=function(n){return L8(Fnt,mVn,42,n,0,1)},gX(h6n,"EcorePackageImpl/44",1227),lAn(1188,1,u7n,Is),EWn.wj=function(n){return iL(n,138)},EWn.xj=function(n){return L8(KAt,FWn,138,n,0,1)},gX(h6n,"EcorePackageImpl/5",1188),lAn(1189,1,u7n,Os),EWn.wj=function(n){return iL(n,148)},EWn.xj=function(n){return L8(BAt,FWn,148,n,0,1)},gX(h6n,"EcorePackageImpl/6",1189),lAn(1190,1,u7n,As),EWn.wj=function(n){return iL(n,457)},EWn.xj=function(n){return L8(GAt,FWn,671,n,0,1)},gX(h6n,"EcorePackageImpl/7",1190),lAn(1191,1,u7n,$s),EWn.wj=function(n){return iL(n,573)},EWn.xj=function(n){return L8(zAt,FWn,678,n,0,1)},gX(h6n,"EcorePackageImpl/8",1191),lAn(1192,1,u7n,Ls),EWn.wj=function(n){return iL(n,471)},EWn.xj=function(n){return L8(KOt,FWn,471,n,0,1)},gX(h6n,"EcorePackageImpl/9",1192),lAn(1025,1982,e9n,Ly),EWn.bi=function(n,t){Ifn(this,KB(t,415))},EWn.fi=function(n,t){nCn(this,n,KB(t,415))},gX(h6n,"MinimalEObjectImpl/1ArrayDelegatingAdapterList",1025),lAn(1026,143,Z8n,cW),EWn.Ai=function(){return this.a.a},gX(h6n,"MinimalEObjectImpl/1ArrayDelegatingAdapterList/1",1026),lAn(1053,1052,{},a$),gX("org.eclipse.emf.ecore.plugin","EcorePlugin",1053);var W$t,V$t,Q$t,J$t,Y$t,Z$t,nLt=fq(s7n,"Resource");lAn(781,1378,h7n),EWn.Yk=function(n){},EWn.Zk=function(n){},EWn.Vk=function(){return!this.a&&(this.a=new Tp(this)),this.a},EWn.Wk=function(n){var t,e,i,r,c;if((i=n.length)>0){if(f1(0,n.length),47==n.charCodeAt(0)){for(c=new Q6(4),r=1,t=1;t<i;++t)f1(t,n.length),47==n.charCodeAt(t)&&(UB(c,r==t?"":n.substr(r,t-r)),r=t+1);return UB(c,n.substr(r)),ajn(this,c)}f1(i-1,n.length),63==n.charCodeAt(i-1)&&(e=E_(n,VTn(63),i-2))>0&&(n=n.substr(0,e))}return yIn(this,n)},EWn.Xk=function(){return this.c},EWn.Ib=function(){return Yj(this.gm)+"@"+(Yon(this)>>>0).toString(16)+" uri='"+this.d+"'"},EWn.b=!1,gX(f7n,"ResourceImpl",781),lAn(1379,781,h7n,Sp),gX(f7n,"BinaryResourceImpl",1379),lAn(1169,694,s8n),EWn.si=function(n){return iL(n,56)?jJ(this,KB(n,56)):iL(n,591)?new IL(KB(n,591).Vk()):HI(n)===HI(this.f)?KB(n,14).Kc():(bD(),wAt.a)},EWn.Ob=function(){return fOn(this)},EWn.a=!1,gX(v9n,"EcoreUtil/ContentTreeIterator",1169),lAn(1380,1169,s8n,eU),EWn.si=function(n){return HI(n)===HI(this.f)?KB(n,15).Kc():new _2(KB(n,56))},gX(f7n,"ResourceImpl/5",1380),lAn(648,1994,N9n,Tp),EWn.Hc=function(n){return this.i<=4?Tjn(this,n):iL(n,49)&&KB(n,49).Zg()==this.a},EWn.bi=function(n,t){n==this.i-1&&(this.a.b||(this.a.b=!0))},EWn.di=function(n,t){0==n?this.a.b||(this.a.b=!0):A8(this,n,t)},EWn.fi=function(n,t){},EWn.gi=function(n,t,e){},EWn.aj=function(){return 2},EWn.Ai=function(){return this.a},EWn.bj=function(){return!0},EWn.cj=function(n,t){return t=KB(n,49).wh(this.a,t)},EWn.dj=function(n,t){return KB(n,49).wh(null,t)},EWn.ej=function(){return!1},EWn.hi=function(){return!0},EWn.ri=function(n){return L8(OOt,FWn,56,n,0,1)},EWn.ni=function(){return!1},gX(f7n,"ResourceImpl/ContentsEList",648),lAn(957,1964,AVn,Mp),EWn.Zc=function(n){return this.a._h(n)},EWn.gc=function(){return this.a.gc()},gX(v9n,"AbstractSequentialInternalEList/1",957),lAn(624,1,{},TH),gX(v9n,"BasicExtendedMetaData",624),lAn(1160,1,{},OI),EWn.$k=function(){return null},EWn._k=function(){return-2==this.a&&ab(this,rMn(this.d,this.b)),this.a},EWn.al=function(){return null},EWn.bl=function(){return TQ(),TQ(),uet},EWn.ne=function(){return this.c==S7n&&ob(this,kgn(this.d,this.b)),this.c},EWn.cl=function(){return 0},EWn.a=-2,EWn.c=S7n,gX(v9n,"BasicExtendedMetaData/EClassExtendedMetaDataImpl",1160),lAn(1161,1,{},R0),EWn.$k=function(){return this.a==(x5(),Y$t)&&ub(this,gNn(this.f,this.b)),this.a},EWn._k=function(){return 0},EWn.al=function(){return this.c==(x5(),Y$t)&&sb(this,pNn(this.f,this.b)),this.c},EWn.bl=function(){return!this.d&&hb(this,T_n(this.f,this.b)),this.d},EWn.ne=function(){return this.e==S7n&&fb(this,kgn(this.f,this.b)),this.e},EWn.cl=function(){return-2==this.g&&lb(this,VEn(this.f,this.b)),this.g},EWn.e=S7n,EWn.g=-2,gX(v9n,"BasicExtendedMetaData/EDataTypeExtendedMetaDataImpl",1161),lAn(1159,1,{},xI),EWn.b=!1,EWn.c=!1,gX(v9n,"BasicExtendedMetaData/EPackageExtendedMetaDataImpl",1159),lAn(1162,1,{},D0),EWn.c=-2,EWn.e=S7n,EWn.f=S7n,gX(v9n,"BasicExtendedMetaData/EStructuralFeatureExtendedMetaDataImpl",1162),lAn(585,622,x9n,EH),EWn.aj=function(){return this.c},EWn.Fk=function(){return!1},EWn.li=function(n,t){return t},EWn.c=0,gX(v9n,"EDataTypeEList",585);var tLt,eLt,iLt,rLt,cLt,aLt,uLt,oLt,sLt,hLt=fq(v9n,"FeatureMap");lAn(75,585,{3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1,76:1,153:1,215:1,1937:1,69:1,95:1},kcn),EWn.Vc=function(n,t){hNn(this,n,KB(t,72))},EWn.Fc=function(n){return cLn(this,KB(n,72))},EWn.Yh=function(n){bX(this,KB(n,72))},EWn.cj=function(n,t){return F_(this,KB(n,72),t)},EWn.dj=function(n,t){return B_(this,KB(n,72),t)},EWn.ii=function(n,t){return rKn(this,n,t)},EWn.li=function(n,t){return oGn(this,n,KB(t,72))},EWn._c=function(n,t){return Mxn(this,n,KB(t,72))},EWn.jj=function(n,t){return H_(this,KB(n,72),t)},EWn.kj=function(n,t){return q_(this,KB(n,72),t)},EWn.lj=function(n,t,e){return wEn(this,KB(n,72),KB(t,72),e)},EWn.oi=function(n,t){return uTn(this,n,KB(t,72))},EWn.dl=function(n,t){return L_n(this,n,t)},EWn.Wc=function(n,t){var e,i,r,c,a,u,o,s,h;for(s=new wtn(t.gc()),r=t.Kc();r.Ob();)if(c=(i=KB(r.Pb(),72)).ak(),Oxn(this.e,c))(!c.hi()||!H3(this,c,i.dd())&&!Tjn(s,i))&&s9(s,i);else{for(h=rxn(this.e.Tg(),c),e=KB(this.g,119),a=!0,u=0;u<this.i;++u)if(o=e[u],h.rl(o.ak())){KB(avn(this,u,i),72),a=!1;break}a&&s9(s,i)}return aon(this,n,s)},EWn.Gc=function(n){var t,e,i,r,c,a,u,o,s;for(o=new wtn(n.gc()),i=n.Kc();i.Ob();)if(r=(e=KB(i.Pb(),72)).ak(),Oxn(this.e,r))(!r.hi()||!H3(this,r,e.dd())&&!Tjn(o,e))&&s9(o,e);else{for(s=rxn(this.e.Tg(),r),t=KB(this.g,119),c=!0,a=0;a<this.i;++a)if(u=t[a],s.rl(u.ak())){KB(avn(this,a,e),72),c=!1;break}c&&s9(o,e)}return dX(this,o)},EWn.Wh=function(n){return this.j=-1,AFn(this,this.i,n)},EWn.el=function(n,t,e){return MRn(this,n,t,e)},EWn.mk=function(n,t){return j_n(this,n,t)},EWn.fl=function(n,t,e){return JBn(this,n,t,e)},EWn.gl=function(){return this},EWn.hl=function(n,t){return eHn(this,n,t)},EWn.il=function(n){return KB(Utn(this,n),72).ak()},EWn.jl=function(n){return KB(Utn(this,n),72).dd()},EWn.kl=function(){return this.b},EWn.bj=function(){return!0},EWn.ij=function(){return!0},EWn.ll=function(n){return!rdn(this,n)},EWn.ri=function(n){return L8(z$t,o7n,332,n,0,1)},EWn.Gk=function(n){return oD(this,n)},EWn.Wb=function(n){ZU(this,n)},EWn.ml=function(n,t){EHn(this,n,t)},EWn.nl=function(n){return qin(this,n)},EWn.ol=function(n){Dmn(this,n)},gX(v9n,"BasicFeatureMap",75),lAn(1851,1,iVn),EWn.Nb=function(n){sU(this,n)},EWn.Rb=function(n){if(-1==this.g)throw Fp(new bv);pz(this);try{Ixn(this.e,this.b,this.a,n),this.d=this.e.j,ivn(this)}catch(t){throw iL(t=hun(t),73)?Fp(new gv):Fp(t)}},EWn.Ob=function(){return Dsn(this)},EWn.Sb=function(){return Rsn(this)},EWn.Pb=function(){return ivn(this)},EWn.Tb=function(){return this.a},EWn.Ub=function(){var n;if(Rsn(this))return pz(this),this.g=--this.a,this.Lk()&&(n=_In(this.e,this.b,this.c,this.a,this.j),this.j=n),this.i=0,this.j;throw Fp(new vv)},EWn.Vb=function(){return this.a-1},EWn.Qb=function(){if(-1==this.g)throw Fp(new bv);pz(this);try{rPn(this.e,this.b,this.g),this.d=this.e.j,this.g<this.a&&(--this.a,--this.c),--this.g}catch(n){throw iL(n=hun(n),73)?Fp(new gv):Fp(n)}},EWn.Lk=function(){return!1},EWn.Wb=function(n){if(-1==this.g)throw Fp(new bv);pz(this);try{zFn(this.e,this.b,this.g,n),this.d=this.e.j}catch(t){throw iL(t=hun(t),73)?Fp(new gv):Fp(t)}},EWn.a=0,EWn.c=0,EWn.d=0,EWn.f=!1,EWn.g=0,EWn.i=0,gX(v9n,"FeatureMapUtil/BasicFeatureEIterator",1851),lAn(410,1851,iVn,Ian),EWn.pl=function(){var n,t,e;for(e=this.e.i,n=KB(this.e.g,119);this.c<e;){if(t=n[this.c],this.k.rl(t.ak()))return this.j=this.f?t:t.dd(),this.i=2,!0;++this.c}return this.i=1,this.g=-1,!1},EWn.ql=function(){var n,t;for(n=KB(this.e.g,119);--this.c>=0;)if(t=n[this.c],this.k.rl(t.ak()))return this.j=this.f?t:t.dd(),this.i=-2,!0;return this.i=-1,this.g=-1,!1},gX(v9n,"BasicFeatureMap/FeatureEIterator",410),lAn(662,410,iVn,LO),EWn.Lk=function(){return!0},gX(v9n,"BasicFeatureMap/ResolvingFeatureEIterator",662),lAn(955,486,B9n,q$),EWn.Gi=function(){return this},gX(v9n,"EContentsEList/1",955),lAn(956,486,B9n,NO),EWn.Lk=function(){return!1},gX(v9n,"EContentsEList/2",956),lAn(954,279,H9n,G$),EWn.Nk=function(n){},EWn.Ob=function(){return!1},EWn.Sb=function(){return!1},gX(v9n,"EContentsEList/FeatureIteratorImpl/1",954),lAn(825,585,x9n,DL),EWn.ci=function(){this.a=!0},EWn.fj=function(){return this.a},EWn.Xj=function(){var n;uqn(this),pA(this.e)?(n=this.a,this.a=!1,fan(this.e,new Z5(this.e,2,this.c,n,!1))):this.a=!1},EWn.a=!1,gX(v9n,"EDataTypeEList/Unsettable",825),lAn(1849,585,x9n,RL),EWn.hi=function(){return!0},gX(v9n,"EDataTypeUniqueEList",1849),lAn(1850,825,x9n,_L),EWn.hi=function(){return!0},gX(v9n,"EDataTypeUniqueEList/Unsettable",1850),lAn(139,85,x9n,$L),EWn.Ek=function(){return!0},EWn.li=function(n,t){return HOn(this,n,KB(t,56))},gX(v9n,"EObjectContainmentEList/Resolving",139),lAn(1163,545,x9n,LL),EWn.Ek=function(){return!0},EWn.li=function(n,t){return HOn(this,n,KB(t,56))},gX(v9n,"EObjectContainmentEList/Unsettable/Resolving",1163),lAn(748,16,x9n,t_),EWn.ci=function(){this.a=!0},EWn.fj=function(){return this.a},EWn.Xj=function(){var n;uqn(this),pA(this.e)?(n=this.a,this.a=!1,fan(this.e,new Z5(this.e,2,this.c,n,!1))):this.a=!1},EWn.a=!1,gX(v9n,"EObjectContainmentWithInverseEList/Unsettable",748),lAn(1173,748,x9n,e_),EWn.Ek=function(){return!0},EWn.li=function(n,t){return HOn(this,n,KB(t,56))},gX(v9n,"EObjectContainmentWithInverseEList/Unsettable/Resolving",1173),lAn(743,496,x9n,NL),EWn.ci=function(){this.a=!0},EWn.fj=function(){return this.a},EWn.Xj=function(){var n;uqn(this),pA(this.e)?(n=this.a,this.a=!1,fan(this.e,new Z5(this.e,2,this.c,n,!1))):this.a=!1},EWn.a=!1,gX(v9n,"EObjectEList/Unsettable",743),lAn(328,496,x9n,xL),EWn.Ek=function(){return!0},EWn.li=function(n,t){return HOn(this,n,KB(t,56))},gX(v9n,"EObjectResolvingEList",328),lAn(1641,743,x9n,KL),EWn.Ek=function(){return!0},EWn.li=function(n,t){return HOn(this,n,KB(t,56))},gX(v9n,"EObjectResolvingEList/Unsettable",1641),lAn(1381,1,{},Ns),gX(v9n,"EObjectValidator",1381),lAn(546,496,x9n,tU),EWn.zk=function(){return this.d},EWn.Ak=function(){return this.b},EWn.bj=function(){return!0},EWn.Dk=function(){return!0},EWn.b=0,gX(v9n,"EObjectWithInverseEList",546),lAn(1176,546,x9n,i_),EWn.Ck=function(){return!0},gX(v9n,"EObjectWithInverseEList/ManyInverse",1176),lAn(625,546,x9n,r_),EWn.ci=function(){this.a=!0},EWn.fj=function(){return this.a},EWn.Xj=function(){var n;uqn(this),pA(this.e)?(n=this.a,this.a=!1,fan(this.e,new Z5(this.e,2,this.c,n,!1))):this.a=!1},EWn.a=!1,gX(v9n,"EObjectWithInverseEList/Unsettable",625),lAn(1175,625,x9n,a_),EWn.Ck=function(){return!0},gX(v9n,"EObjectWithInverseEList/Unsettable/ManyInverse",1175),lAn(749,546,x9n,c_),EWn.Ek=function(){return!0},EWn.li=function(n,t){return HOn(this,n,KB(t,56))},gX(v9n,"EObjectWithInverseResolvingEList",749),lAn(31,749,x9n,o_),EWn.Ck=function(){return!0},gX(v9n,"EObjectWithInverseResolvingEList/ManyInverse",31),lAn(750,625,x9n,u_),EWn.Ek=function(){return!0},EWn.li=function(n,t){return HOn(this,n,KB(t,56))},gX(v9n,"EObjectWithInverseResolvingEList/Unsettable",750),lAn(1174,750,x9n,s_),EWn.Ck=function(){return!0},gX(v9n,"EObjectWithInverseResolvingEList/Unsettable/ManyInverse",1174),lAn(1164,622,x9n),EWn.ai=function(){return!(1792&this.b)},EWn.ci=function(){this.b|=1},EWn.Bk=function(){return!!(4&this.b)},EWn.bj=function(){return!!(40&this.b)},EWn.Ck=function(){return!!(16&this.b)},EWn.Dk=function(){return!!(8&this.b)},EWn.Ek=function(){return!!(this.b&E9n)},EWn.rk=function(){return!!(32&this.b)},EWn.Fk=function(){return!!(this.b&m6n)},EWn.wj=function(n){return this.d?L3(this.d,n):this.ak().Yj().wj(n)},EWn.fj=function(){return 2&this.b?!!(1&this.b):0!=this.i},EWn.hi=function(){return!!(128&this.b)},EWn.Xj=function(){var n;uqn(this),2&this.b&&(pA(this.e)?(n=!!(1&this.b),this.b&=-2,Av(this,new Z5(this.e,2,Iwn(this.e.Tg(),this.ak()),n,!1))):this.b&=-2)},EWn.ni=function(){return!(1536&this.b)},EWn.b=0,gX(v9n,"EcoreEList/Generic",1164),lAn(1165,1164,x9n,qQ),EWn.ak=function(){return this.a},gX(v9n,"EcoreEList/Dynamic",1165),lAn(747,63,o8n,Pp),EWn.ri=function(n){return Nen(this.a.a,n)},gX(v9n,"EcoreEMap/1",747),lAn(746,85,x9n,Jz),EWn.bi=function(n,t){Pvn(this.b,KB(t,133))},EWn.di=function(n,t){ran(this.b)},EWn.ei=function(n,t,e){var i;++(i=this.b,KB(t,133),i).e},EWn.fi=function(n,t){Cln(this.b,KB(t,133))},EWn.gi=function(n,t,e){Cln(this.b,KB(e,133)),HI(e)===HI(t)&&KB(e,133).Th(i$(KB(t,133).cd())),Pvn(this.b,KB(t,133))},gX(v9n,"EcoreEMap/DelegateEObjectContainmentEList",746),lAn(1171,151,y9n,vin),gX(v9n,"EcoreEMap/Unsettable",1171),lAn(1172,746,x9n,h_),EWn.ci=function(){this.a=!0},EWn.fj=function(){return this.a},EWn.Xj=function(){var n;uqn(this),pA(this.e)?(n=this.a,this.a=!1,fan(this.e,new Z5(this.e,2,this.c,n,!1))):this.a=!1},EWn.a=!1,gX(v9n,"EcoreEMap/Unsettable/UnsettableDelegateEObjectContainmentEList",1172),lAn(1168,228,ZQn,hX),EWn.a=!1,EWn.b=!1,gX(v9n,"EcoreUtil/Copier",1168),lAn(745,1,WWn,_2),EWn.Nb=function(n){sU(this,n)},EWn.Ob=function(){return cdn(this)},EWn.Pb=function(){var n;return cdn(this),n=this.b,this.b=null,n},EWn.Qb=function(){this.a.Qb()},gX(v9n,"EcoreUtil/ProperContentIterator",745),lAn(1382,1381,{},_f),gX(v9n,"EcoreValidator",1382),fq(v9n,"FeatureMapUtil/Validator"),lAn(1260,1,{1942:1},xs),EWn.rl=function(n){return!0},gX(v9n,"FeatureMapUtil/1",1260),lAn(757,1,{1942:1},iUn),EWn.rl=function(n){var t;return this.c==n||(null==(t=jD(xX(this.a,n)))?LRn(this,n)?(e6(this.a,n,(oN(),gtt)),!0):(e6(this.a,n,(oN(),dtt)),!1):t==(oN(),gtt))},EWn.e=!1,gX(v9n,"FeatureMapUtil/BasicValidator",757),lAn(758,43,ZQn,z$),gX(v9n,"FeatureMapUtil/BasicValidator/Cache",758),lAn(501,52,{20:1,28:1,52:1,14:1,15:1,58:1,76:1,69:1,95:1},LI),EWn.Vc=function(n,t){Ixn(this.c,this.b,n,t)},EWn.Fc=function(n){return L_n(this.c,this.b,n)},EWn.Wc=function(n,t){return yHn(this.c,this.b,n,t)},EWn.Gc=function(n){return J$(this,n)},EWn.Xh=function(n,t){otn(this.c,this.b,n,t)},EWn.lk=function(n,t){return MRn(this.c,this.b,n,t)},EWn.pi=function(n){return tHn(this.c,this.b,n,!1)},EWn.Zh=function(){return yA(this.c,this.b)},EWn.$h=function(){return kA(this.c,this.b)},EWn._h=function(n){return O8(this.c,this.b,n)},EWn.mk=function(n,t){return ZD(this,n,t)},EWn.$b=function(){$v(this)},EWn.Hc=function(n){return H3(this.c,this.b,n)},EWn.Ic=function(n){return Ecn(this.c,this.b,n)},EWn.Xb=function(n){return tHn(this.c,this.b,n,!0)},EWn.Wj=function(n){return this},EWn.Xc=function(n){return q3(this.c,this.b,n)},EWn.dc=function(){return FI(this)},EWn.fj=function(){return!rdn(this.c,this.b)},EWn.Kc=function(){return inn(this.c,this.b)},EWn.Yc=function(){return rnn(this.c,this.b)},EWn.Zc=function(n){return hln(this.c,this.b,n)},EWn.ii=function(n,t){return pFn(this.c,this.b,n,t)},EWn.ji=function(n,t){W6(this.c,this.b,n,t)},EWn.$c=function(n){return rPn(this.c,this.b,n)},EWn.Mc=function(n){return S_n(this.c,this.b,n)},EWn._c=function(n,t){return zFn(this.c,this.b,n,t)},EWn.Wb=function(n){IOn(this.c,this.b),J$(this,KB(n,15))},EWn.gc=function(){return Dln(this.c,this.b)},EWn.Pc=function(){return H1(this.c,this.b)},EWn.Qc=function(n){return G3(this.c,this.b,n)},EWn.Ib=function(){var n,t;for((t=new Tk).a+="[",n=yA(this.c,this.b);Dsn(n);)iO(t,mN(ivn(n))),Dsn(n)&&(t.a+=_Wn);return t.a+="]",t.a},EWn.Xj=function(){IOn(this.c,this.b)},gX(v9n,"FeatureMapUtil/FeatureEList",501),lAn(627,36,Z8n,f4),EWn.yi=function(n){return nln(this,n)},EWn.Di=function(n){var t,e,i,r;switch(this.d){case 1:case 2:if(HI(n.Ai())===HI(this.c)&&nln(this,null)==n.yi(null))return this.g=n.zi(),1==n.xi()&&(this.d=1),!0;break;case 3:if(3===n.xi()&&HI(n.Ai())===HI(this.c)&&nln(this,null)==n.yi(null))return this.d=5,s9(t=new wtn(2),this.g),s9(t,n.zi()),this.g=t,!0;break;case 5:if(3===n.xi()&&HI(n.Ai())===HI(this.c)&&nln(this,null)==n.yi(null))return KB(this.g,14).Fc(n.zi()),!0;break;case 4:switch(n.xi()){case 3:if(HI(n.Ai())===HI(this.c)&&nln(this,null)==n.yi(null))return this.d=1,this.g=n.zi(),!0;break;case 4:if(HI(n.Ai())===HI(this.c)&&nln(this,null)==n.yi(null))return this.d=6,s9(r=new wtn(2),this.n),s9(r,n.Bi()),this.n=r,i=Mun(Hk(CNt,1),oQn,25,15,[this.o,n.Ci()]),this.g=i,!0}break;case 6:if(4===n.xi()&&HI(n.Ai())===HI(this.c)&&nln(this,null)==n.yi(null))return KB(this.n,14).Fc(n.Bi()),rHn(i=KB(this.g,48),0,e=L8(CNt,oQn,25,i.length+1,15,1),0,i.length),e[i.length]=n.Ci(),this.g=e,!0}return!1},gX(v9n,"FeatureMapUtil/FeatureENotificationImpl",627),lAn(552,501,{20:1,28:1,52:1,14:1,15:1,58:1,76:1,153:1,215:1,1937:1,69:1,95:1},hq),EWn.dl=function(n,t){return L_n(this.c,n,t)},EWn.el=function(n,t,e){return MRn(this.c,n,t,e)},EWn.fl=function(n,t,e){return JBn(this.c,n,t,e)},EWn.gl=function(){return this},EWn.hl=function(n,t){return eHn(this.c,n,t)},EWn.il=function(n){return KB(tHn(this.c,this.b,n,!1),72).ak()},EWn.jl=function(n){return KB(tHn(this.c,this.b,n,!1),72).dd()},EWn.kl=function(){return this.a},EWn.ll=function(n){return!rdn(this.c,n)},EWn.ml=function(n,t){EHn(this.c,n,t)},EWn.nl=function(n){return qin(this.c,n)},EWn.ol=function(n){Dmn(this.c,n)},gX(v9n,"FeatureMapUtil/FeatureFeatureMap",552),lAn(1259,1,m9n,DI),EWn.Wj=function(n){return tHn(this.b,this.a,-1,n)},EWn.fj=function(){return!rdn(this.b,this.a)},EWn.Wb=function(n){EHn(this.b,this.a,n)},EWn.Xj=function(){IOn(this.b,this.a)},gX(v9n,"FeatureMapUtil/FeatureValue",1259);var fLt=fq(C7n,"AnyType");lAn(666,60,KVn,tk),gX(C7n,"InvalidDatatypeValueException",666);var lLt,bLt,wLt,dLt,gLt,pLt,vLt,mLt,yLt,kLt,jLt,ELt,TLt,MLt,SLt,PLt,CLt,ILt,OLt,ALt,$Lt,LLt,NLt,xLt,DLt,RLt,_Lt,KLt,FLt,BLt,HLt=fq(C7n,I7n),qLt=fq(C7n,O7n),GLt=fq(C7n,A7n);lAn(830,506,{105:1,92:1,90:1,56:1,49:1,97:1,843:1},xm),EWn._g=function(n,t,e){switch(n){case 0:return e?(!this.c&&(this.c=new kcn(this,0)),this.c):(!this.c&&(this.c=new kcn(this,0)),this.c.b);case 1:return e?(!this.c&&(this.c=new kcn(this,0)),KB(YZ(this.c,(Gqn(),dLt)),153)):(!this.c&&(this.c=new kcn(this,0)),KB(KB(YZ(this.c,(Gqn(),dLt)),153),215)).kl();case 2:return e?(!this.b&&(this.b=new kcn(this,2)),this.b):(!this.b&&(this.b=new kcn(this,2)),this.b.b)}return G9(this,n-fX(this.zh()),ttn(2&this.j?(!this.k&&(this.k=new Df),this.k).ck():this.zh(),n),t,e)},EWn.jh=function(n,t,e){switch(t){case 0:return!this.c&&(this.c=new kcn(this,0)),j_n(this.c,n,e);case 1:return(!this.c&&(this.c=new kcn(this,0)),KB(KB(YZ(this.c,(Gqn(),dLt)),153),69)).mk(n,e);case 2:return!this.b&&(this.b=new kcn(this,2)),j_n(this.b,n,e)}return KB(ttn(2&this.j?(!this.k&&(this.k=new Df),this.k).ck():this.zh(),t),66).Nj().Rj(this,W7(this),t-fX(this.zh()),n,e)},EWn.lh=function(n){switch(n){case 0:return!!this.c&&0!=this.c.i;case 1:return!(!this.c&&(this.c=new kcn(this,0)),KB(YZ(this.c,(Gqn(),dLt)),153)).dc();case 2:return!!this.b&&0!=this.b.i}return C3(this,n-fX(this.zh()),ttn(2&this.j?(!this.k&&(this.k=new Df),this.k).ck():this.zh(),n))},EWn.sh=function(n,t){switch(n){case 0:return!this.c&&(this.c=new kcn(this,0)),void ZU(this.c,t);case 1:return void(!this.c&&(this.c=new kcn(this,0)),KB(KB(YZ(this.c,(Gqn(),dLt)),153),215)).Wb(t);case 2:return!this.b&&(this.b=new kcn(this,2)),void ZU(this.b,t)}Abn(this,n-fX(this.zh()),ttn(2&this.j?(!this.k&&(this.k=new Df),this.k).ck():this.zh(),n),t)},EWn.zh=function(){return Gqn(),wLt},EWn.Bh=function(n){switch(n){case 0:return!this.c&&(this.c=new kcn(this,0)),void uqn(this.c);case 1:return void(!this.c&&(this.c=new kcn(this,0)),KB(YZ(this.c,(Gqn(),dLt)),153)).$b();case 2:return!this.b&&(this.b=new kcn(this,2)),void uqn(this.b)}Bfn(this,n-fX(this.zh()),ttn(2&this.j?(!this.k&&(this.k=new Df),this.k).ck():this.zh(),n))},EWn.Ib=function(){var n;return 4&this.j?M$n(this):((n=new sN(M$n(this))).a+=" (mixed: ",eO(n,this.c),n.a+=", anyAttribute: ",eO(n,this.b),n.a+=")",n.a)},gX($7n,"AnyTypeImpl",830),lAn(667,506,{105:1,92:1,90:1,56:1,49:1,97:1,2021:1,667:1},Rs),EWn._g=function(n,t,e){switch(n){case 0:return this.a;case 1:return this.b}return G9(this,n-fX((Gqn(),PLt)),ttn(2&this.j?(!this.k&&(this.k=new Df),this.k).ck():PLt,n),t,e)},EWn.lh=function(n){switch(n){case 0:return null!=this.a;case 1:return null!=this.b}return C3(this,n-fX((Gqn(),PLt)),ttn(2&this.j?(!this.k&&(this.k=new Df),this.k).ck():PLt,n))},EWn.sh=function(n,t){switch(n){case 0:return void mb(this,TD(t));case 1:return void yb(this,TD(t))}Abn(this,n-fX((Gqn(),PLt)),ttn(2&this.j?(!this.k&&(this.k=new Df),this.k).ck():PLt,n),t)},EWn.zh=function(){return Gqn(),PLt},EWn.Bh=function(n){switch(n){case 0:return void(this.a=null);case 1:return void(this.b=null)}Bfn(this,n-fX((Gqn(),PLt)),ttn(2&this.j?(!this.k&&(this.k=new Df),this.k).ck():PLt,n))},EWn.Ib=function(){var n;return 4&this.j?M$n(this):((n=new sN(M$n(this))).a+=" (data: ",iO(n,this.a),n.a+=", target: ",iO(n,this.b),n.a+=")",n.a)},EWn.a=null,EWn.b=null,gX($7n,"ProcessingInstructionImpl",667),lAn(668,830,{105:1,92:1,90:1,56:1,49:1,97:1,843:1,2022:1,668:1},Rm),EWn._g=function(n,t,e){switch(n){case 0:return e?(!this.c&&(this.c=new kcn(this,0)),this.c):(!this.c&&(this.c=new kcn(this,0)),this.c.b);case 1:return e?(!this.c&&(this.c=new kcn(this,0)),KB(YZ(this.c,(Gqn(),dLt)),153)):(!this.c&&(this.c=new kcn(this,0)),KB(KB(YZ(this.c,(Gqn(),dLt)),153),215)).kl();case 2:return e?(!this.b&&(this.b=new kcn(this,2)),this.b):(!this.b&&(this.b=new kcn(this,2)),this.b.b);case 3:return!this.c&&(this.c=new kcn(this,0)),TD(eHn(this.c,(Gqn(),OLt),!0));case 4:return w_(this.a,(!this.c&&(this.c=new kcn(this,0)),TD(eHn(this.c,(Gqn(),OLt),!0))));case 5:return this.a}return G9(this,n-fX((Gqn(),ILt)),ttn(2&this.j?(!this.k&&(this.k=new Df),this.k).ck():ILt,n),t,e)},EWn.lh=function(n){switch(n){case 0:return!!this.c&&0!=this.c.i;case 1:return!(!this.c&&(this.c=new kcn(this,0)),KB(YZ(this.c,(Gqn(),dLt)),153)).dc();case 2:return!!this.b&&0!=this.b.i;case 3:return!this.c&&(this.c=new kcn(this,0)),null!=TD(eHn(this.c,(Gqn(),OLt),!0));case 4:return null!=w_(this.a,(!this.c&&(this.c=new kcn(this,0)),TD(eHn(this.c,(Gqn(),OLt),!0))));case 5:return!!this.a}return C3(this,n-fX((Gqn(),ILt)),ttn(2&this.j?(!this.k&&(this.k=new Df),this.k).ck():ILt,n))},EWn.sh=function(n,t){switch(n){case 0:return!this.c&&(this.c=new kcn(this,0)),void ZU(this.c,t);case 1:return void(!this.c&&(this.c=new kcn(this,0)),KB(KB(YZ(this.c,(Gqn(),dLt)),153),215)).Wb(t);case 2:return!this.b&&(this.b=new kcn(this,2)),void ZU(this.b,t);case 3:return void _0(this,TD(t));case 4:return void _0(this,d_(this.a,t));case 5:return void kb(this,KB(t,148))}Abn(this,n-fX((Gqn(),ILt)),ttn(2&this.j?(!this.k&&(this.k=new Df),this.k).ck():ILt,n),t)},EWn.zh=function(){return Gqn(),ILt},EWn.Bh=function(n){switch(n){case 0:return!this.c&&(this.c=new kcn(this,0)),void uqn(this.c);case 1:return void(!this.c&&(this.c=new kcn(this,0)),KB(YZ(this.c,(Gqn(),dLt)),153)).$b();case 2:return!this.b&&(this.b=new kcn(this,2)),void uqn(this.b);case 3:return!this.c&&(this.c=new kcn(this,0)),void EHn(this.c,(Gqn(),OLt),null);case 4:return void _0(this,d_(this.a,null));case 5:return void(this.a=null)}Bfn(this,n-fX((Gqn(),ILt)),ttn(2&this.j?(!this.k&&(this.k=new Df),this.k).ck():ILt,n))},gX($7n,"SimpleAnyTypeImpl",668),lAn(669,506,{105:1,92:1,90:1,56:1,49:1,97:1,2023:1,669:1},Dm),EWn._g=function(n,t,e){switch(n){case 0:return e?(!this.a&&(this.a=new kcn(this,0)),this.a):(!this.a&&(this.a=new kcn(this,0)),this.a.b);case 1:return e?(!this.b&&(this.b=new v9((wWn(),v$t),G$t,this,1)),this.b):(!this.b&&(this.b=new v9((wWn(),v$t),G$t,this,1)),I8(this.b));case 2:return e?(!this.c&&(this.c=new v9((wWn(),v$t),G$t,this,2)),this.c):(!this.c&&(this.c=new v9((wWn(),v$t),G$t,this,2)),I8(this.c));case 3:return!this.a&&(this.a=new kcn(this,0)),YZ(this.a,(Gqn(),LLt));case 4:return!this.a&&(this.a=new kcn(this,0)),YZ(this.a,(Gqn(),NLt));case 5:return!this.a&&(this.a=new kcn(this,0)),YZ(this.a,(Gqn(),DLt));case 6:return!this.a&&(this.a=new kcn(this,0)),YZ(this.a,(Gqn(),RLt))}return G9(this,n-fX((Gqn(),$Lt)),ttn(2&this.j?(!this.k&&(this.k=new Df),this.k).ck():$Lt,n),t,e)},EWn.jh=function(n,t,e){switch(t){case 0:return!this.a&&(this.a=new kcn(this,0)),j_n(this.a,n,e);case 1:return!this.b&&(this.b=new v9((wWn(),v$t),G$t,this,1)),K_(this.b,n,e);case 2:return!this.c&&(this.c=new v9((wWn(),v$t),G$t,this,2)),K_(this.c,n,e);case 5:return!this.a&&(this.a=new kcn(this,0)),ZD(YZ(this.a,(Gqn(),DLt)),n,e)}return KB(ttn(2&this.j?(!this.k&&(this.k=new Df),this.k).ck():(Gqn(),$Lt),t),66).Nj().Rj(this,W7(this),t-fX((Gqn(),$Lt)),n,e)},EWn.lh=function(n){switch(n){case 0:return!!this.a&&0!=this.a.i;case 1:return!!this.b&&0!=this.b.f;case 2:return!!this.c&&0!=this.c.f;case 3:return!this.a&&(this.a=new kcn(this,0)),!FI(YZ(this.a,(Gqn(),LLt)));case 4:return!this.a&&(this.a=new kcn(this,0)),!FI(YZ(this.a,(Gqn(),NLt)));case 5:return!this.a&&(this.a=new kcn(this,0)),!FI(YZ(this.a,(Gqn(),DLt)));case 6:return!this.a&&(this.a=new kcn(this,0)),!FI(YZ(this.a,(Gqn(),RLt)))}return C3(this,n-fX((Gqn(),$Lt)),ttn(2&this.j?(!this.k&&(this.k=new Df),this.k).ck():$Lt,n))},EWn.sh=function(n,t){switch(n){case 0:return!this.a&&(this.a=new kcn(this,0)),void ZU(this.a,t);case 1:return!this.b&&(this.b=new v9((wWn(),v$t),G$t,this,1)),void Zcn(this.b,t);case 2:return!this.c&&(this.c=new v9((wWn(),v$t),G$t,this,2)),void Zcn(this.c,t);case 3:return!this.a&&(this.a=new kcn(this,0)),$v(YZ(this.a,(Gqn(),LLt))),!this.a&&(this.a=new kcn(this,0)),void J$(YZ(this.a,LLt),KB(t,14));case 4:return!this.a&&(this.a=new kcn(this,0)),$v(YZ(this.a,(Gqn(),NLt))),!this.a&&(this.a=new kcn(this,0)),void J$(YZ(this.a,NLt),KB(t,14));case 5:return!this.a&&(this.a=new kcn(this,0)),$v(YZ(this.a,(Gqn(),DLt))),!this.a&&(this.a=new kcn(this,0)),void J$(YZ(this.a,DLt),KB(t,14));case 6:return!this.a&&(this.a=new kcn(this,0)),$v(YZ(this.a,(Gqn(),RLt))),!this.a&&(this.a=new kcn(this,0)),void J$(YZ(this.a,RLt),KB(t,14))}Abn(this,n-fX((Gqn(),$Lt)),ttn(2&this.j?(!this.k&&(this.k=new Df),this.k).ck():$Lt,n),t)},EWn.zh=function(){return Gqn(),$Lt},EWn.Bh=function(n){switch(n){case 0:return!this.a&&(this.a=new kcn(this,0)),void uqn(this.a);case 1:return!this.b&&(this.b=new v9((wWn(),v$t),G$t,this,1)),void this.b.c.$b();case 2:return!this.c&&(this.c=new v9((wWn(),v$t),G$t,this,2)),void this.c.c.$b();case 3:return!this.a&&(this.a=new kcn(this,0)),void $v(YZ(this.a,(Gqn(),LLt)));case 4:return!this.a&&(this.a=new kcn(this,0)),void $v(YZ(this.a,(Gqn(),NLt)));case 5:return!this.a&&(this.a=new kcn(this,0)),void $v(YZ(this.a,(Gqn(),DLt)));case 6:return!this.a&&(this.a=new kcn(this,0)),void $v(YZ(this.a,(Gqn(),RLt)))}Bfn(this,n-fX((Gqn(),$Lt)),ttn(2&this.j?(!this.k&&(this.k=new Df),this.k).ck():$Lt,n))},EWn.Ib=function(){var n;return 4&this.j?M$n(this):((n=new sN(M$n(this))).a+=" (mixed: ",eO(n,this.a),n.a+=")",n.a)},gX($7n,"XMLTypeDocumentRootImpl",669),lAn(1919,704,{105:1,92:1,90:1,471:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1,2024:1},Ds),EWn.Ih=function(n,t){switch(n.yj()){case 7:case 8:case 9:case 10:case 16:case 22:case 23:case 24:case 25:case 26:case 32:case 33:case 34:case 36:case 37:case 44:case 45:case 50:case 51:case 53:case 55:case 56:case 57:case 58:case 60:case 61:case 4:return null==t?null:Kbn(t);case 19:case 28:case 29:case 35:case 38:case 39:case 41:case 46:case 52:case 54:case 5:return TD(t);case 6:return pD(KB(t,190));case 12:case 47:case 49:case 11:return BGn(this,n,t);case 13:return null==t?null:HBn(KB(t,240));case 15:case 14:return null==t?null:xU(Hy(ED(t)));case 17:return kEn((Gqn(),t));case 18:return kEn(t);case 21:case 20:return null==t?null:DU(KB(t,155).a);case 27:return vD(KB(t,190));case 30:return Rmn((Gqn(),KB(t,15)));case 31:return Rmn(KB(t,15));case 40:return yD((Gqn(),t));case 42:return jEn((Gqn(),t));case 43:return jEn(t);case 59:case 48:return mD((Gqn(),t));default:throw Fp(new Ry(b6n+n.ne()+w6n))}},EWn.Jh=function(n){var t;switch(-1==n.G&&(n.G=(t=Gtn(n))?cvn(t.Mh(),n):-1),n.G){case 0:return new xm;case 1:return new Rs;case 2:return new Rm;case 3:return new Dm;default:throw Fp(new Ry(p6n+n.zb+w6n))}},EWn.Kh=function(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p;switch(n.yj()){case 5:case 52:case 4:return t;case 6:return vpn(t);case 8:case 7:return null==t?null:REn(t);case 9:return null==t?null:Mnn(hKn((i=_Bn(t,!0)).length>0&&(f1(0,i.length),43==i.charCodeAt(0))?i.substr(1):i,-128,127)<<24>>24);case 10:return null==t?null:Mnn(hKn((r=_Bn(t,!0)).length>0&&(f1(0,r.length),43==r.charCodeAt(0))?r.substr(1):r,-128,127)<<24>>24);case 11:return TD(LXn(this,(Gqn(),vLt),t));case 12:return TD(LXn(this,(Gqn(),mLt),t));case 13:return null==t?null:new lE(_Bn(t,!0));case 15:case 14:return wLn(t);case 16:return TD(LXn(this,(Gqn(),yLt),t));case 17:return Fdn((Gqn(),t));case 18:return Fdn(t);case 28:case 29:case 35:case 38:case 39:case 41:case 54:case 19:return _Bn(t,!0);case 21:case 20:return PLn(t);case 22:return TD(LXn(this,(Gqn(),kLt),t));case 23:return TD(LXn(this,(Gqn(),jLt),t));case 24:return TD(LXn(this,(Gqn(),ELt),t));case 25:return TD(LXn(this,(Gqn(),TLt),t));case 26:return TD(LXn(this,(Gqn(),MLt),t));case 27:return Jgn(t);case 30:return Bdn((Gqn(),t));case 31:return Bdn(t);case 32:return null==t?null:tln(hKn((h=_Bn(t,!0)).length>0&&(f1(0,h.length),43==h.charCodeAt(0))?h.substr(1):h,RVn,NWn));case 33:return null==t?null:new OA((f=_Bn(t,!0)).length>0&&(f1(0,f.length),43==f.charCodeAt(0))?f.substr(1):f);case 34:return null==t?null:tln(hKn((l=_Bn(t,!0)).length>0&&(f1(0,l.length),43==l.charCodeAt(0))?l.substr(1):l,RVn,NWn));case 36:return null==t?null:ygn(eUn((b=_Bn(t,!0)).length>0&&(f1(0,b.length),43==b.charCodeAt(0))?b.substr(1):b));case 37:return null==t?null:ygn(eUn((w=_Bn(t,!0)).length>0&&(f1(0,w.length),43==w.charCodeAt(0))?w.substr(1):w));case 40:return Xwn((Gqn(),t));case 42:return Hdn((Gqn(),t));case 43:return Hdn(t);case 44:return null==t?null:new OA((d=_Bn(t,!0)).length>0&&(f1(0,d.length),43==d.charCodeAt(0))?d.substr(1):d);case 45:return null==t?null:new OA((g=_Bn(t,!0)).length>0&&(f1(0,g.length),43==g.charCodeAt(0))?g.substr(1):g);case 46:return _Bn(t,!1);case 47:return TD(LXn(this,(Gqn(),SLt),t));case 59:case 48:return Uwn((Gqn(),t));case 49:return TD(LXn(this,(Gqn(),CLt),t));case 50:return null==t?null:eln(hKn((p=_Bn(t,!0)).length>0&&(f1(0,p.length),43==p.charCodeAt(0))?p.substr(1):p,W9n,32767)<<16>>16);case 51:return null==t?null:eln(hKn((c=_Bn(t,!0)).length>0&&(f1(0,c.length),43==c.charCodeAt(0))?c.substr(1):c,W9n,32767)<<16>>16);case 53:return TD(LXn(this,(Gqn(),ALt),t));case 55:return null==t?null:eln(hKn((a=_Bn(t,!0)).length>0&&(f1(0,a.length),43==a.charCodeAt(0))?a.substr(1):a,W9n,32767)<<16>>16);case 56:return null==t?null:eln(hKn((u=_Bn(t,!0)).length>0&&(f1(0,u.length),43==u.charCodeAt(0))?u.substr(1):u,W9n,32767)<<16>>16);case 57:return null==t?null:ygn(eUn((o=_Bn(t,!0)).length>0&&(f1(0,o.length),43==o.charCodeAt(0))?o.substr(1):o));case 58:return null==t?null:ygn(eUn((s=_Bn(t,!0)).length>0&&(f1(0,s.length),43==s.charCodeAt(0))?s.substr(1):s));case 60:return null==t?null:tln(hKn((e=_Bn(t,!0)).length>0&&(f1(0,e.length),43==e.charCodeAt(0))?e.substr(1):e,RVn,NWn));case 61:return null==t?null:tln(hKn(_Bn(t,!0),RVn,NWn));default:throw Fp(new Ry(b6n+n.ne()+w6n))}},gX($7n,"XMLTypeFactoryImpl",1919),lAn(586,179,{105:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,49:1,97:1,150:1,179:1,114:1,115:1,675:1,1945:1,586:1},qW),EWn.N=!1,EWn.O=!1;var zLt,ULt,XLt,WLt,VLt,QLt=!1;gX($7n,"XMLTypePackageImpl",586),lAn(1852,1,{837:1},_s),EWn._j=function(){return sFn(),kNt},gX($7n,"XMLTypePackageImpl/1",1852),lAn(1861,1,u7n,Ks),EWn.wj=function(n){return zI(n)},EWn.xj=function(n){return L8(Wtt,uVn,2,n,6,1)},gX($7n,"XMLTypePackageImpl/10",1861),lAn(1862,1,u7n,Fs),EWn.wj=function(n){return zI(n)},EWn.xj=function(n){return L8(Wtt,uVn,2,n,6,1)},gX($7n,"XMLTypePackageImpl/11",1862),lAn(1863,1,u7n,Bs),EWn.wj=function(n){return zI(n)},EWn.xj=function(n){return L8(Wtt,uVn,2,n,6,1)},gX($7n,"XMLTypePackageImpl/12",1863),lAn(1864,1,u7n,Hs),EWn.wj=function(n){return GI(n)},EWn.xj=function(n){return L8(Mtt,uVn,333,n,7,1)},gX($7n,"XMLTypePackageImpl/13",1864),lAn(1865,1,u7n,qs),EWn.wj=function(n){return zI(n)},EWn.xj=function(n){return L8(Wtt,uVn,2,n,6,1)},gX($7n,"XMLTypePackageImpl/14",1865),lAn(1866,1,u7n,Gs),EWn.wj=function(n){return iL(n,15)},EWn.xj=function(n){return L8(xnt,YYn,15,n,0,1)},gX($7n,"XMLTypePackageImpl/15",1866),lAn(1867,1,u7n,zs),EWn.wj=function(n){return iL(n,15)},EWn.xj=function(n){return L8(xnt,YYn,15,n,0,1)},gX($7n,"XMLTypePackageImpl/16",1867),lAn(1868,1,u7n,Us),EWn.wj=function(n){return zI(n)},EWn.xj=function(n){return L8(Wtt,uVn,2,n,6,1)},gX($7n,"XMLTypePackageImpl/17",1868),lAn(1869,1,u7n,Xs),EWn.wj=function(n){return iL(n,155)},EWn.xj=function(n){return L8(Stt,uVn,155,n,0,1)},gX($7n,"XMLTypePackageImpl/18",1869),lAn(1870,1,u7n,Ws),EWn.wj=function(n){return zI(n)},EWn.xj=function(n){return L8(Wtt,uVn,2,n,6,1)},gX($7n,"XMLTypePackageImpl/19",1870),lAn(1853,1,u7n,Vs),EWn.wj=function(n){return iL(n,843)},EWn.xj=function(n){return L8(fLt,FWn,843,n,0,1)},gX($7n,"XMLTypePackageImpl/2",1853),lAn(1871,1,u7n,Qs),EWn.wj=function(n){return zI(n)},EWn.xj=function(n){return L8(Wtt,uVn,2,n,6,1)},gX($7n,"XMLTypePackageImpl/20",1871),lAn(1872,1,u7n,Js),EWn.wj=function(n){return zI(n)},EWn.xj=function(n){return L8(Wtt,uVn,2,n,6,1)},gX($7n,"XMLTypePackageImpl/21",1872),lAn(1873,1,u7n,Ys),EWn.wj=function(n){return zI(n)},EWn.xj=function(n){return L8(Wtt,uVn,2,n,6,1)},gX($7n,"XMLTypePackageImpl/22",1873),lAn(1874,1,u7n,Zs),EWn.wj=function(n){return zI(n)},EWn.xj=function(n){return L8(Wtt,uVn,2,n,6,1)},gX($7n,"XMLTypePackageImpl/23",1874),lAn(1875,1,u7n,nh),EWn.wj=function(n){return iL(n,190)},EWn.xj=function(n){return L8(ANt,uVn,190,n,0,2)},gX($7n,"XMLTypePackageImpl/24",1875),lAn(1876,1,u7n,th),EWn.wj=function(n){return zI(n)},EWn.xj=function(n){return L8(Wtt,uVn,2,n,6,1)},gX($7n,"XMLTypePackageImpl/25",1876),lAn(1877,1,u7n,eh),EWn.wj=function(n){return zI(n)},EWn.xj=function(n){return L8(Wtt,uVn,2,n,6,1)},gX($7n,"XMLTypePackageImpl/26",1877),lAn(1878,1,u7n,ih),EWn.wj=function(n){return iL(n,15)},EWn.xj=function(n){return L8(xnt,YYn,15,n,0,1)},gX($7n,"XMLTypePackageImpl/27",1878),lAn(1879,1,u7n,rh),EWn.wj=function(n){return iL(n,15)},EWn.xj=function(n){return L8(xnt,YYn,15,n,0,1)},gX($7n,"XMLTypePackageImpl/28",1879),lAn(1880,1,u7n,ch),EWn.wj=function(n){return zI(n)},EWn.xj=function(n){return L8(Wtt,uVn,2,n,6,1)},gX($7n,"XMLTypePackageImpl/29",1880),lAn(1854,1,u7n,ah),EWn.wj=function(n){return iL(n,667)},EWn.xj=function(n){return L8(HLt,FWn,2021,n,0,1)},gX($7n,"XMLTypePackageImpl/3",1854),lAn(1881,1,u7n,uh),EWn.wj=function(n){return iL(n,19)},EWn.xj=function(n){return L8(Itt,uVn,19,n,0,1)},gX($7n,"XMLTypePackageImpl/30",1881),lAn(1882,1,u7n,oh),EWn.wj=function(n){return zI(n)},EWn.xj=function(n){return L8(Wtt,uVn,2,n,6,1)},gX($7n,"XMLTypePackageImpl/31",1882),lAn(1883,1,u7n,sh),EWn.wj=function(n){return iL(n,162)},EWn.xj=function(n){return L8(xtt,uVn,162,n,0,1)},gX($7n,"XMLTypePackageImpl/32",1883),lAn(1884,1,u7n,hh),EWn.wj=function(n){return zI(n)},EWn.xj=function(n){return L8(Wtt,uVn,2,n,6,1)},gX($7n,"XMLTypePackageImpl/33",1884),lAn(1885,1,u7n,fh),EWn.wj=function(n){return zI(n)},EWn.xj=function(n){return L8(Wtt,uVn,2,n,6,1)},gX($7n,"XMLTypePackageImpl/34",1885),lAn(1886,1,u7n,lh),EWn.wj=function(n){return zI(n)},EWn.xj=function(n){return L8(Wtt,uVn,2,n,6,1)},gX($7n,"XMLTypePackageImpl/35",1886),lAn(1887,1,u7n,bh),EWn.wj=function(n){return zI(n)},EWn.xj=function(n){return L8(Wtt,uVn,2,n,6,1)},gX($7n,"XMLTypePackageImpl/36",1887),lAn(1888,1,u7n,wh),EWn.wj=function(n){return iL(n,15)},EWn.xj=function(n){return L8(xnt,YYn,15,n,0,1)},gX($7n,"XMLTypePackageImpl/37",1888),lAn(1889,1,u7n,dh),EWn.wj=function(n){return iL(n,15)},EWn.xj=function(n){return L8(xnt,YYn,15,n,0,1)},gX($7n,"XMLTypePackageImpl/38",1889),lAn(1890,1,u7n,gh),EWn.wj=function(n){return zI(n)},EWn.xj=function(n){return L8(Wtt,uVn,2,n,6,1)},gX($7n,"XMLTypePackageImpl/39",1890),lAn(1855,1,u7n,ph),EWn.wj=function(n){return iL(n,668)},EWn.xj=function(n){return L8(qLt,FWn,2022,n,0,1)},gX($7n,"XMLTypePackageImpl/4",1855),lAn(1891,1,u7n,vh),EWn.wj=function(n){return zI(n)},EWn.xj=function(n){return L8(Wtt,uVn,2,n,6,1)},gX($7n,"XMLTypePackageImpl/40",1891),lAn(1892,1,u7n,mh),EWn.wj=function(n){return zI(n)},EWn.xj=function(n){return L8(Wtt,uVn,2,n,6,1)},gX($7n,"XMLTypePackageImpl/41",1892),lAn(1893,1,u7n,yh),EWn.wj=function(n){return zI(n)},EWn.xj=function(n){return L8(Wtt,uVn,2,n,6,1)},gX($7n,"XMLTypePackageImpl/42",1893),lAn(1894,1,u7n,kh),EWn.wj=function(n){return zI(n)},EWn.xj=function(n){return L8(Wtt,uVn,2,n,6,1)},gX($7n,"XMLTypePackageImpl/43",1894),lAn(1895,1,u7n,jh),EWn.wj=function(n){return zI(n)},EWn.xj=function(n){return L8(Wtt,uVn,2,n,6,1)},gX($7n,"XMLTypePackageImpl/44",1895),lAn(1896,1,u7n,Eh),EWn.wj=function(n){return iL(n,184)},EWn.xj=function(n){return L8(Rtt,uVn,184,n,0,1)},gX($7n,"XMLTypePackageImpl/45",1896),lAn(1897,1,u7n,Th),EWn.wj=function(n){return zI(n)},EWn.xj=function(n){return L8(Wtt,uVn,2,n,6,1)},gX($7n,"XMLTypePackageImpl/46",1897),lAn(1898,1,u7n,Mh),EWn.wj=function(n){return zI(n)},EWn.xj=function(n){return L8(Wtt,uVn,2,n,6,1)},gX($7n,"XMLTypePackageImpl/47",1898),lAn(1899,1,u7n,Sh),EWn.wj=function(n){return zI(n)},EWn.xj=function(n){return L8(Wtt,uVn,2,n,6,1)},gX($7n,"XMLTypePackageImpl/48",1899),lAn(uQn,1,u7n,Ph),EWn.wj=function(n){return iL(n,184)},EWn.xj=function(n){return L8(Rtt,uVn,184,n,0,1)},gX($7n,"XMLTypePackageImpl/49",uQn),lAn(1856,1,u7n,Ch),EWn.wj=function(n){return iL(n,669)},EWn.xj=function(n){return L8(GLt,FWn,2023,n,0,1)},gX($7n,"XMLTypePackageImpl/5",1856),lAn(1901,1,u7n,Ih),EWn.wj=function(n){return iL(n,162)},EWn.xj=function(n){return L8(xtt,uVn,162,n,0,1)},gX($7n,"XMLTypePackageImpl/50",1901),lAn(1902,1,u7n,Oh),EWn.wj=function(n){return zI(n)},EWn.xj=function(n){return L8(Wtt,uVn,2,n,6,1)},gX($7n,"XMLTypePackageImpl/51",1902),lAn(1903,1,u7n,Ah),EWn.wj=function(n){return iL(n,19)},EWn.xj=function(n){return L8(Itt,uVn,19,n,0,1)},gX($7n,"XMLTypePackageImpl/52",1903),lAn(1857,1,u7n,$h),EWn.wj=function(n){return zI(n)},EWn.xj=function(n){return L8(Wtt,uVn,2,n,6,1)},gX($7n,"XMLTypePackageImpl/6",1857),lAn(1858,1,u7n,Lh),EWn.wj=function(n){return iL(n,190)},EWn.xj=function(n){return L8(ANt,uVn,190,n,0,2)},gX($7n,"XMLTypePackageImpl/7",1858),lAn(1859,1,u7n,Nh),EWn.wj=function(n){return qI(n)},EWn.xj=function(n){return L8(mtt,uVn,476,n,8,1)},gX($7n,"XMLTypePackageImpl/8",1859),lAn(1860,1,u7n,xh),EWn.wj=function(n){return iL(n,217)},EWn.xj=function(n){return L8(jtt,uVn,217,n,0,1)},gX($7n,"XMLTypePackageImpl/9",1860),lAn(50,60,KVn,rk),gX(rnt,"RegEx/ParseException",50),lAn(820,1,{},Dh),EWn.sl=function(n){return n<this.j&&63==sV(this.i,n)},EWn.tl=function(){var n,t,e,i,r;if(10!=this.c)throw Fp(new rk(mWn((c$(),w8n))));switch(n=this.a){case 101:n=27;break;case 102:n=12;break;case 110:n=10;break;case 114:n=13;break;case 116:n=9;break;case 120:if(WXn(this),0!=this.c)throw Fp(new rk(mWn((c$(),K8n))));if(123==this.a){for(r=0,e=0;;){if(WXn(this),0!=this.c)throw Fp(new rk(mWn((c$(),K8n))));if((r=Hvn(this.a))<0)break;if(e>16*e)throw Fp(new rk(mWn((c$(),F8n))));e=16*e+r}if(125!=this.a)throw Fp(new rk(mWn((c$(),B8n))));if(e>cnt)throw Fp(new rk(mWn((c$(),H8n))));n=e}else{if(r=0,0!=this.c||(r=Hvn(this.a))<0)throw Fp(new rk(mWn((c$(),K8n))));if(e=r,WXn(this),0!=this.c||(r=Hvn(this.a))<0)throw Fp(new rk(mWn((c$(),K8n))));n=e=16*e+r}break;case 117:if(i=0,WXn(this),0!=this.c||(i=Hvn(this.a))<0)throw Fp(new rk(mWn((c$(),K8n))));if(t=i,WXn(this),0!=this.c||(i=Hvn(this.a))<0)throw Fp(new rk(mWn((c$(),K8n))));if(t=16*t+i,WXn(this),0!=this.c||(i=Hvn(this.a))<0)throw Fp(new rk(mWn((c$(),K8n))));if(t=16*t+i,WXn(this),0!=this.c||(i=Hvn(this.a))<0)throw Fp(new rk(mWn((c$(),K8n))));n=t=16*t+i;break;case 118:if(WXn(this),0!=this.c||(i=Hvn(this.a))<0)throw Fp(new rk(mWn((c$(),K8n))));if(t=i,WXn(this),0!=this.c||(i=Hvn(this.a))<0)throw Fp(new rk(mWn((c$(),K8n))));if(t=16*t+i,WXn(this),0!=this.c||(i=Hvn(this.a))<0)throw Fp(new rk(mWn((c$(),K8n))));if(t=16*t+i,WXn(this),0!=this.c||(i=Hvn(this.a))<0)throw Fp(new rk(mWn((c$(),K8n))));if(t=16*t+i,WXn(this),0!=this.c||(i=Hvn(this.a))<0)throw Fp(new rk(mWn((c$(),K8n))));if(t=16*t+i,WXn(this),0!=this.c||(i=Hvn(this.a))<0)throw Fp(new rk(mWn((c$(),K8n))));if((t=16*t+i)>cnt)throw Fp(new rk(mWn((c$(),"parser.descappe.4"))));n=t;break;case 65:case 90:case 122:throw Fp(new rk(mWn((c$(),q8n))))}return n},EWn.ul=function(n){var t;switch(n){case 100:t=32&~this.e?(lWn(),rNt):JUn("Nd",!0);break;case 68:t=32&~this.e?(lWn(),sNt):JUn("Nd",!1);break;case 119:t=32&~this.e?(lWn(),vNt):JUn("IsWord",!0);break;case 87:t=32&~this.e?(lWn(),fNt):JUn("IsWord",!1);break;case 115:t=32&~this.e?(lWn(),bNt):JUn("IsSpace",!0);break;case 83:t=32&~this.e?(lWn(),hNt):JUn("IsSpace",!1);break;default:throw Fp(new by(ant+n.toString(16)))}return t},EWn.vl=function(n){var t,e,i,r,c,a,u,o,s,h,f;for(this.b=1,WXn(this),t=null,0==this.c&&94==this.a?(WXn(this),n?(lWn(),lWn(),s=new E0(5)):(lWn(),lWn(),Vxn(t=new E0(4),0,cnt),s=new E0(4))):(lWn(),lWn(),s=new E0(4)),r=!0;1!=(f=this.c)&&(0!=f||93!=this.a||r);){if(r=!1,e=this.a,i=!1,10==f)switch(e){case 100:case 68:case 119:case 87:case 115:case 83:uHn(s,this.ul(e)),i=!0;break;case 105:case 73:case 99:case 67:(e=this.Ll(s,e))<0&&(i=!0);break;case 112:case 80:if(!(h=NIn(this,e)))throw Fp(new rk(mWn((c$(),C8n))));uHn(s,h),i=!0;break;default:e=this.tl()}else if(20==f){if((c=hx(this.i,58,this.d))<0)throw Fp(new rk(mWn((c$(),I8n))));if(a=!0,94==sV(this.i,this.d)&&(++this.d,a=!1),!(u=f9(sx(this.i,this.d,c),a,!(512&~this.e))))throw Fp(new rk(mWn((c$(),A8n))));if(uHn(s,u),i=!0,c+1>=this.j||93!=sV(this.i,c+1))throw Fp(new rk(mWn((c$(),I8n))));this.d=c+2}if(WXn(this),!i)if(0!=this.c||45!=this.a)Vxn(s,e,e);else{if(WXn(this),1==(f=this.c))throw Fp(new rk(mWn((c$(),O8n))));0==f&&93==this.a?(Vxn(s,e,e),Vxn(s,45,45)):(o=this.a,10==f&&(o=this.tl()),WXn(this),Vxn(s,e,o))}(this.e&m6n)==m6n&&0==this.c&&44==this.a&&WXn(this)}if(1==this.c)throw Fp(new rk(mWn((c$(),O8n))));return t&&(UGn(t,s),s=t),j$n(s),BHn(s),this.b=0,WXn(this),s},EWn.wl=function(){var n,t,e,i;for(e=this.vl(!1);7!=(i=this.c);){if(n=this.a,(0!=i||45!=n&&38!=n)&&4!=i)throw Fp(new rk(mWn((c$(),R8n))));if(WXn(this),9!=this.c)throw Fp(new rk(mWn((c$(),D8n))));if(t=this.vl(!1),4==i)uHn(e,t);else if(45==n)UGn(e,t);else{if(38!=n)throw Fp(new by("ASSERT"));mGn(e,t)}}return WXn(this),e},EWn.xl=function(){var n,t;return n=this.a-48,lWn(),lWn(),t=new gY(12,null,n),!this.g&&(this.g=new Rv),Sv(this.g,new Cp(n)),WXn(this),t},EWn.yl=function(){return WXn(this),lWn(),wNt},EWn.zl=function(){return WXn(this),lWn(),lNt},EWn.Al=function(){throw Fp(new rk(mWn((c$(),G8n))))},EWn.Bl=function(){throw Fp(new rk(mWn((c$(),G8n))))},EWn.Cl=function(){return WXn(this),ssn()},EWn.Dl=function(){return WXn(this),lWn(),gNt},EWn.El=function(){return WXn(this),lWn(),mNt},EWn.Fl=function(){var n;if(this.d>=this.j||64!=(65504&(n=sV(this.i,this.d++))))throw Fp(new rk(mWn((c$(),T8n))));return WXn(this),lWn(),lWn(),new aG(0,n-64)},EWn.Gl=function(){return WXn(this),xFn()},EWn.Hl=function(){return WXn(this),lWn(),yNt},EWn.Il=function(){var n;return lWn(),lWn(),n=new aG(0,105),WXn(this),n},EWn.Jl=function(){return WXn(this),lWn(),pNt},EWn.Kl=function(){return WXn(this),lWn(),dNt},EWn.Ll=function(n,t){return this.tl()},EWn.Ml=function(){return WXn(this),lWn(),uNt},EWn.Nl=function(){var n,t,e,i,r;if(this.d+1>=this.j)throw Fp(new rk(mWn((c$(),k8n))));if(i=-1,t=null,49<=(n=sV(this.i,this.d))&&n<=57){if(i=n-48,!this.g&&(this.g=new Rv),Sv(this.g,new Cp(i)),++this.d,41!=sV(this.i,this.d))throw Fp(new rk(mWn((c$(),v8n))));++this.d}else switch(63==n&&--this.d,WXn(this),(t=CXn(this)).e){case 20:case 21:case 22:case 23:break;case 8:if(7!=this.c)throw Fp(new rk(mWn((c$(),v8n))));break;default:throw Fp(new rk(mWn((c$(),j8n))))}if(WXn(this),e=null,2==(r=Xdn(this)).e){if(2!=r.em())throw Fp(new rk(mWn((c$(),E8n))));e=r.am(1),r=r.am(0)}if(7!=this.c)throw Fp(new rk(mWn((c$(),v8n))));return WXn(this),lWn(),lWn(),new ynn(i,t,r,e)},EWn.Ol=function(){return WXn(this),lWn(),oNt},EWn.Pl=function(){var n;if(WXn(this),n=cU(24,Xdn(this)),7!=this.c)throw Fp(new rk(mWn((c$(),v8n))));return WXn(this),n},EWn.Ql=function(){var n;if(WXn(this),n=cU(20,Xdn(this)),7!=this.c)throw Fp(new rk(mWn((c$(),v8n))));return WXn(this),n},EWn.Rl=function(){var n;if(WXn(this),n=cU(22,Xdn(this)),7!=this.c)throw Fp(new rk(mWn((c$(),v8n))));return WXn(this),n},EWn.Sl=function(){var n,t,e,i,r;for(n=0,e=0,t=-1;this.d<this.j&&0!=(r=WOn(t=sV(this.i,this.d)));)n|=r,++this.d;if(this.d>=this.j)throw Fp(new rk(mWn((c$(),m8n))));if(45==t){for(++this.d;this.d<this.j&&0!=(r=WOn(t=sV(this.i,this.d)));)e|=r,++this.d;if(this.d>=this.j)throw Fp(new rk(mWn((c$(),m8n))))}if(58==t){if(++this.d,WXn(this),i=IX(Xdn(this),n,e),7!=this.c)throw Fp(new rk(mWn((c$(),v8n))));WXn(this)}else{if(41!=t)throw Fp(new rk(mWn((c$(),y8n))));++this.d,WXn(this),i=IX(Xdn(this),n,e)}return i},EWn.Tl=function(){var n;if(WXn(this),n=cU(21,Xdn(this)),7!=this.c)throw Fp(new rk(mWn((c$(),v8n))));return WXn(this),n},EWn.Ul=function(){var n;if(WXn(this),n=cU(23,Xdn(this)),7!=this.c)throw Fp(new rk(mWn((c$(),v8n))));return WXn(this),n},EWn.Vl=function(){var n,t;if(WXn(this),n=this.f++,t=aU(Xdn(this),n),7!=this.c)throw Fp(new rk(mWn((c$(),v8n))));return WXn(this),t},EWn.Wl=function(){var n;if(WXn(this),n=aU(Xdn(this),0),7!=this.c)throw Fp(new rk(mWn((c$(),v8n))));return WXn(this),n},EWn.Xl=function(n){return WXn(this),5==this.c?(WXn(this),wG(n,(lWn(),lWn(),new o4(9,n)))):wG(n,(lWn(),lWn(),new o4(3,n)))},EWn.Yl=function(n){var t;return WXn(this),lWn(),lWn(),t=new e$(2),5==this.c?(WXn(this),ZHn(t,aNt),ZHn(t,n)):(ZHn(t,n),ZHn(t,aNt)),t},EWn.Zl=function(n){return WXn(this),5==this.c?(WXn(this),lWn(),lWn(),new o4(9,n)):(lWn(),lWn(),new o4(3,n))},EWn.a=0,EWn.b=0,EWn.c=0,EWn.d=0,EWn.e=0,EWn.f=1,EWn.g=null,EWn.j=0,gX(rnt,"RegEx/RegexParser",820),lAn(1824,820,{},_m),EWn.sl=function(n){return!1},EWn.tl=function(){return BDn(this)},EWn.ul=function(n){return bKn(n)},EWn.vl=function(n){return JXn(this)},EWn.wl=function(){throw Fp(new rk(mWn((c$(),G8n))))},EWn.xl=function(){throw Fp(new rk(mWn((c$(),G8n))))},EWn.yl=function(){throw Fp(new rk(mWn((c$(),G8n))))},EWn.zl=function(){throw Fp(new rk(mWn((c$(),G8n))))},EWn.Al=function(){return WXn(this),bKn(67)},EWn.Bl=function(){return WXn(this),bKn(73)},EWn.Cl=function(){throw Fp(new rk(mWn((c$(),G8n))))},EWn.Dl=function(){throw Fp(new rk(mWn((c$(),G8n))))},EWn.El=function(){throw Fp(new rk(mWn((c$(),G8n))))},EWn.Fl=function(){return WXn(this),bKn(99)},EWn.Gl=function(){throw Fp(new rk(mWn((c$(),G8n))))},EWn.Hl=function(){throw Fp(new rk(mWn((c$(),G8n))))},EWn.Il=function(){return WXn(this),bKn(105)},EWn.Jl=function(){throw Fp(new rk(mWn((c$(),G8n))))},EWn.Kl=function(){throw Fp(new rk(mWn((c$(),G8n))))},EWn.Ll=function(n,t){return uHn(n,bKn(t)),-1},EWn.Ml=function(){return WXn(this),lWn(),lWn(),new aG(0,94)},EWn.Nl=function(){throw Fp(new rk(mWn((c$(),G8n))))},EWn.Ol=function(){return WXn(this),lWn(),lWn(),new aG(0,36)},EWn.Pl=function(){throw Fp(new rk(mWn((c$(),G8n))))},EWn.Ql=function(){throw Fp(new rk(mWn((c$(),G8n))))},EWn.Rl=function(){throw Fp(new rk(mWn((c$(),G8n))))},EWn.Sl=function(){throw Fp(new rk(mWn((c$(),G8n))))},EWn.Tl=function(){throw Fp(new rk(mWn((c$(),G8n))))},EWn.Ul=function(){throw Fp(new rk(mWn((c$(),G8n))))},EWn.Vl=function(){var n;if(WXn(this),n=aU(Xdn(this),0),7!=this.c)throw Fp(new rk(mWn((c$(),v8n))));return WXn(this),n},EWn.Wl=function(){throw Fp(new rk(mWn((c$(),G8n))))},EWn.Xl=function(n){return WXn(this),wG(n,(lWn(),lWn(),new o4(3,n)))},EWn.Yl=function(n){var t;return WXn(this),lWn(),lWn(),ZHn(t=new e$(2),n),ZHn(t,aNt),t},EWn.Zl=function(n){return WXn(this),lWn(),lWn(),new o4(3,n)};var JLt=null,YLt=null;gX(rnt,"RegEx/ParserForXMLSchema",1824),lAn(117,1,vnt,Ip),EWn.$l=function(n){throw Fp(new by("Not supported."))},EWn._l=function(){return-1},EWn.am=function(n){return null},EWn.bm=function(){return null},EWn.cm=function(n){},EWn.dm=function(n){},EWn.em=function(){return 0},EWn.Ib=function(){return this.fm(0)},EWn.fm=function(n){return 11==this.e?".":""},EWn.e=0;var ZLt,nNt,tNt,eNt,iNt,rNt,cNt,aNt,uNt,oNt,sNt,hNt,fNt,lNt,bNt,wNt,dNt,gNt,pNt,vNt,mNt,yNt,kNt,jNt,ENt=null,TNt=null,MNt=null,SNt=gX(rnt,"RegEx/Token",117);lAn(136,117,{3:1,136:1,117:1},E0),EWn.fm=function(n){var t,e,i;if(4==this.e)if(this==cNt)e=".";else if(this==rNt)e="\\d";else if(this==vNt)e="\\w";else if(this==bNt)e="\\s";else{for((i=new Tk).a+="[",t=0;t<this.b.length;t+=2)n&m6n&&t>0&&(i.a+=","),this.b[t]===this.b[t+1]?iO(i,rBn(this.b[t])):(iO(i,rBn(this.b[t])),i.a+="-",iO(i,rBn(this.b[t+1])));i.a+="]",e=i.a}else if(this==sNt)e="\\D";else if(this==fNt)e="\\W";else if(this==hNt)e="\\S";else{for((i=new Tk).a+="[^",t=0;t<this.b.length;t+=2)n&m6n&&t>0&&(i.a+=","),this.b[t]===this.b[t+1]?iO(i,rBn(this.b[t])):(iO(i,rBn(this.b[t])),i.a+="-",iO(i,rBn(this.b[t+1])));i.a+="]",e=i.a}return e},EWn.a=!1,EWn.c=!1,gX(rnt,"RegEx/RangeToken",136),lAn(584,1,{584:1},Cp),EWn.a=0,gX(rnt,"RegEx/RegexParser/ReferencePosition",584),lAn(583,1,{3:1,583:1},zE),EWn.Fb=function(n){var t;return null!=n&&!!iL(n,583)&&(t=KB(n,583),p_(this.b,t.b)&&this.a==t.a)},EWn.Hb=function(){return gvn(this.b+"/"+ZNn(this.a))},EWn.Ib=function(){return this.c.fm(this.a)},EWn.a=0,gX(rnt,"RegEx/RegularExpression",583),lAn(223,117,vnt,aG),EWn._l=function(){return this.a},EWn.fm=function(n){var t,e;switch(this.e){case 0:switch(this.a){case 124:case 42:case 43:case 63:case 40:case 41:case 46:case 91:case 123:case 92:e="\\"+MR(this.a&WVn);break;case 12:e="\\f";break;case 10:e="\\n";break;case 13:e="\\r";break;case 9:e="\\t";break;case 27:e="\\e";break;default:e=this.a>=KQn?"\\v"+sx(t="0"+(this.a>>>0).toString(16),t.length-6,t.length):""+MR(this.a&WVn)}break;case 8:e=this==uNt||this==oNt?""+MR(this.a&WVn):"\\"+MR(this.a&WVn);break;default:e=null}return e},EWn.a=0,gX(rnt,"RegEx/Token/CharToken",223),lAn(309,117,vnt,o4),EWn.am=function(n){return this.a},EWn.cm=function(n){this.b=n},EWn.dm=function(n){this.c=n},EWn.em=function(){return 1},EWn.fm=function(n){var t;if(3==this.e)if(this.c<0&&this.b<0)t=this.a.fm(n)+"*";else if(this.c==this.b)t=this.a.fm(n)+"{"+this.c+"}";else if(this.c>=0&&this.b>=0)t=this.a.fm(n)+"{"+this.c+","+this.b+"}";else{if(!(this.c>=0&&this.b<0))throw Fp(new by("Token#toString(): CLOSURE "+this.c+_Wn+this.b));t=this.a.fm(n)+"{"+this.c+",}"}else if(this.c<0&&this.b<0)t=this.a.fm(n)+"*?";else if(this.c==this.b)t=this.a.fm(n)+"{"+this.c+"}?";else if(this.c>=0&&this.b>=0)t=this.a.fm(n)+"{"+this.c+","+this.b+"}?";else{if(!(this.c>=0&&this.b<0))throw Fp(new by("Token#toString(): NONGREEDYCLOSURE "+this.c+_Wn+this.b));t=this.a.fm(n)+"{"+this.c+",}?"}return t},EWn.b=0,EWn.c=0,gX(rnt,"RegEx/Token/ClosureToken",309),lAn(821,117,vnt,GU),EWn.am=function(n){return 0==n?this.a:this.b},EWn.em=function(){return 2},EWn.fm=function(n){return 3==this.b.e&&this.b.am(0)==this.a?this.a.fm(n)+"+":9==this.b.e&&this.b.am(0)==this.a?this.a.fm(n)+"+?":this.a.fm(n)+""+this.b.fm(n)},gX(rnt,"RegEx/Token/ConcatToken",821),lAn(1822,117,vnt,ynn),EWn.am=function(n){if(0==n)return this.d;if(1==n)return this.b;throw Fp(new by("Internal Error: "+n))},EWn.em=function(){return this.b?2:1},EWn.fm=function(n){var t;return t=this.c>0?"(?("+this.c+")":8==this.a.e?"(?("+this.a+")":"(?"+this.a,this.b?t+=this.d+"|"+this.b+")":t+=this.d+")",t},EWn.c=0,gX(rnt,"RegEx/Token/ConditionToken",1822),lAn(1823,117,vnt,j0),EWn.am=function(n){return this.b},EWn.em=function(){return 1},EWn.fm=function(n){return"(?"+(0==this.a?"":ZNn(this.a))+(0==this.c?"":ZNn(this.c))+":"+this.b.fm(n)+")"},EWn.a=0,EWn.c=0,gX(rnt,"RegEx/Token/ModifierToken",1823),lAn(822,117,vnt,iW),EWn.am=function(n){return this.a},EWn.em=function(){return 1},EWn.fm=function(n){var t;switch(t=null,this.e){case 6:t=0==this.b?"(?:"+this.a.fm(n)+")":"("+this.a.fm(n)+")";break;case 20:t="(?="+this.a.fm(n)+")";break;case 21:t="(?!"+this.a.fm(n)+")";break;case 22:t="(?<="+this.a.fm(n)+")";break;case 23:t="(?<!"+this.a.fm(n)+")";break;case 24:t="(?>"+this.a.fm(n)+")"}return t},EWn.b=0,gX(rnt,"RegEx/Token/ParenToken",822),lAn(521,117,{3:1,117:1,521:1},gY),EWn.bm=function(){return this.b},EWn.fm=function(n){return 12==this.e?"\\"+this.a:tAn(this.b)},EWn.a=0,gX(rnt,"RegEx/Token/StringToken",521),lAn(465,117,vnt,e$),EWn.$l=function(n){ZHn(this,n)},EWn.am=function(n){return KB(fW(this.a,n),117)},EWn.em=function(){return this.a?this.a.a.c.length:0},EWn.fm=function(n){var t,e,i,r,c;if(1==this.e){if(2==this.a.a.c.length)t=KB(fW(this.a,0),117),r=3==(e=KB(fW(this.a,1),117)).e&&e.am(0)==t?t.fm(n)+"+":9==e.e&&e.am(0)==t?t.fm(n)+"+?":t.fm(n)+""+e.fm(n);else{for(c=new Tk,i=0;i<this.a.a.c.length;i++)iO(c,KB(fW(this.a,i),117).fm(n));r=c.a}return r}if(2==this.a.a.c.length&&7==KB(fW(this.a,1),117).e)r=KB(fW(this.a,0),117).fm(n)+"?";else if(2==this.a.a.c.length&&7==KB(fW(this.a,0),117).e)r=KB(fW(this.a,1),117).fm(n)+"??";else{for(iO(c=new Tk,KB(fW(this.a,0),117).fm(n)),i=1;i<this.a.a.c.length;i++)c.a+="|",iO(c,KB(fW(this.a,i),117).fm(n));r=c.a}return r},gX(rnt,"RegEx/Token/UnionToken",465),lAn(518,1,{592:1},GE),EWn.Ib=function(){return this.a.b},gX(mnt,"XMLTypeUtil/PatternMatcherImpl",518),lAn(1622,1381,{},Rh),gX(mnt,"XMLTypeValidator",1622),lAn(264,1,dVn,oz),EWn.Jc=function(n){n5(this,n)},EWn.Kc=function(){return(this.b-this.a)*this.c<0?jNt:new zL(this)},EWn.a=0,EWn.b=0,EWn.c=0,gX(knt,"ExclusiveRange",264),lAn(1068,1,iVn,_h),EWn.Rb=function(n){KB(n,19),h$()},EWn.Nb=function(n){sU(this,n)},EWn.Pb=function(){return HE()},EWn.Ub=function(){return qE()},EWn.Wb=function(n){KB(n,19),l$()},EWn.Ob=function(){return!1},EWn.Sb=function(){return!1},EWn.Tb=function(){return-1},EWn.Vb=function(){return-1},EWn.Qb=function(){throw Fp(new Zy(Tnt))},gX(knt,"ExclusiveRange/1",1068),lAn(254,1,iVn,zL),EWn.Rb=function(n){KB(n,19),f$()},EWn.Nb=function(n){sU(this,n)},EWn.Pb=function(){return _hn(this)},EWn.Ub=function(){return C9(this)},EWn.Wb=function(n){KB(n,19),b$()},EWn.Ob=function(){return this.c.c<0?this.a>=this.c.b:this.a<=this.c.b},EWn.Sb=function(){return this.b>0},EWn.Tb=function(){return this.b},EWn.Vb=function(){return this.b-1},EWn.Qb=function(){throw Fp(new Zy(Tnt))},EWn.a=0,EWn.b=0,gX(knt,"ExclusiveRange/RangeIterator",254);var PNt=xW(M9n,"C"),CNt=xW(C9n,"I"),INt=xW(OWn,"Z"),ONt=xW(I9n,"J"),ANt=xW(T9n,"B"),$Nt=xW(S9n,"D"),LNt=xW(P9n,"F"),NNt=xW(O9n,"S"),xNt=fq("org.eclipse.elk.core.labels","ILabelManager"),DNt=fq(K6n,"DiagnosticChain"),RNt=fq(s7n,"ResourceSet"),_Nt=gX(K6n,"InvocationTargetException",null),KNt=(Nk(),s5),FNt=FNt=oEn;Jen(Wp),ucn("permProps",[[[Mnt,Snt],[Pnt,"gecko1_8"]],[[Mnt,Snt],[Pnt,"ie10"]],[[Mnt,Snt],[Pnt,"ie8"]],[[Mnt,Snt],[Pnt,"ie9"]],[[Mnt,Snt],[Pnt,"safari"]]]),FNt(null,"elk",null)}).call(this)}).call(this,void 0!==g?g:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],3:[function(n,t,e){function i(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function r(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function c(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var a=function(t){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i(this,e);var c=Object.assign({},t),a=!1;try{n.resolve("web-worker"),a=!0}catch(s){}if(t.workerUrl&&a){var u=n("web-worker");c.workerFactory=function(n){return new u(n)}}if(!c.workerFactory){var o=n("./elk-worker.min.js").Worker;c.workerFactory=function(n){return new o(n)}}return r(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,c))}return c(e,t),e}(n("./elk-api.js").default);Object.defineProperty(t.exports,"__esModule",{value:!0}),t.exports=a,a.default=a},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(n,t,e){t.exports=Worker},{}]},{},[3])(3)),y.exports);const j=new(p(k)),E={},T={};let M={};const S=(n,t,i)=>{const r={TB:{in:{north:"north"},out:{south:"west",west:"east",east:"south"}},LR:{in:{west:"west"},out:{east:"south",south:"north",north:"east"}},RL:{in:{east:"east"},out:{west:"north",north:"south",south:"west"}},BT:{in:{south:"south"},out:{north:"east",east:"west",west:"north"}}};return r.TD=r.TB,e.info("abc88",i,t,n),r[i][t][n]},P=(n,t,i)=>{if(e.info("getNextPort abc88",{node:n,edgeDirection:t,graphDirection:i}),!E[n])switch(i){case"TB":case"TD":E[n]={inPosition:"north",outPosition:"south"};break;case"BT":E[n]={inPosition:"south",outPosition:"north"};break;case"RL":E[n]={inPosition:"east",outPosition:"west"};break;case"LR":E[n]={inPosition:"west",outPosition:"east"}}const r="in"===t?E[n].inPosition:E[n].outPosition;return"in"===t?E[n].inPosition=S(E[n].inPosition,t,i):E[n].outPosition=S(E[n].outPosition,t,i),r},C=function(n,t,i,r){e.info("abc78 edges = ",n);const c=r.insert("g").attr("class","edgeLabels");let a,o,s={},f=t.db.getDirection();if(void 0!==n.defaultStyle){const t=u(n.defaultStyle);a=t.style,o=t.labelStyle}return n.forEach((function(t){var r="L-"+t.start+"-"+t.end;void 0===s[r]?(s[r]=0,e.info("abc78 new entry",r,s[r])):(s[r]++,e.info("abc78 new entry",r,s[r]));let d=r+"-"+s[r];e.info("abc78 new link id to be used is",r,d,s[r]);var g="LS-"+t.start,p="LE-"+t.end;const v={style:"",labelStyle:""};switch(v.minlen=t.length||1,"arrow_open"===t.type?v.arrowhead="none":v.arrowhead="normal",v.arrowTypeStart="arrow_open",v.arrowTypeEnd="arrow_open",t.type){case"double_arrow_cross":v.arrowTypeStart="arrow_cross";case"arrow_cross":v.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":v.arrowTypeStart="arrow_point";case"arrow_point":v.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":v.arrowTypeStart="arrow_circle";case"arrow_circle":v.arrowTypeEnd="arrow_circle"}let m="",y="";switch(t.stroke){case"normal":m="fill:none;",void 0!==a&&(m=a),void 0!==o&&(y=o),v.thickness="normal",v.pattern="solid";break;case"dotted":v.thickness="normal",v.pattern="dotted",v.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":v.thickness="thick",v.pattern="solid",v.style="stroke-width: 3.5px;fill:none;"}if(void 0!==t.style){const n=u(t.style);m=n.style,y=n.labelStyle}v.style=v.style+=m,v.labelStyle=v.labelStyle+=y,void 0!==t.interpolate?v.curve=l(t.interpolate,b):void 0!==n.defaultInterpolate?v.curve=l(n.defaultInterpolate,b):v.curve=l(T.curve,b),void 0===t.text?void 0!==t.style&&(v.arrowheadStyle="fill: #333"):(v.arrowheadStyle="fill: #333",v.labelpos="c"),v.labelType="text",v.label=t.text.replace(h.lineBreakRegex,"\n"),void 0===t.style&&(v.style=v.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),v.labelStyle=v.labelStyle.replace("color:","fill:"),v.id=d,v.classes="flowchart-link "+g+" "+p;const k=w(c,v),{source:j,target:E}=((n,t)=>{let e=n.start,i=n.end;const r=M[e],c=M[i];return r&&c?("diamond"===r.type&&(e=`${e}-${P(e,"out",t)}`),"diamond"===c.type&&(i=`${i}-${P(i,"in",t)}`),{source:e,target:i}):{source:e,target:i}})(t,f);e.debug("abc78 source and target",j,E),i.edges.push({id:"e"+t.start+t.end,sources:[j],targets:[E],labelEl:k,labels:[{width:v.width,height:v.height,orgWidth:v.width,orgHeight:v.height,text:v.label,layoutOptions:{"edgeLabels.inline":"true","edgeLabels.placement":"CENTER"}}],edgeData:v})})),i},I=function(n,t,e){const i=((n,t,e)=>{const{parentById:i}=e,r=new Set;let c=n;for(;c;){if(r.add(c),c===t)return c;c=i[c]}for(c=t;c;){if(r.has(c))return c;c=i[c]}return"root"})(n,t,e);if(void 0===i||"root"===i)return{x:0,y:0};const r=M[i].offset;return{x:r.posX,y:r.posY}},O=function(n,t,e,r,c){const a=I(t.sources[0],t.targets[0],c),u=t.sections[0].startPoint,o=t.sections[0].endPoint,s=(t.sections[0].bendPoints?t.sections[0].bendPoints:[]).map((n=>[n.x+a.x,n.y+a.y])),h=[[u.x+a.x,u.y+a.y],...s,[o.x+a.x,o.y+a.y]],f=d().curve(b),l=n.insert("path").attr("d",f(h)).attr("class","path").attr("fill","none"),w=n.insert("g").attr("class","edgeLabel"),g=i(w.node().appendChild(t.labelEl)),p=g.node().firstChild.getBoundingClientRect();g.attr("width",p.width),g.attr("height",p.height),w.attr("transform",`translate(${t.labels[0].x+a.x}, ${t.labels[0].y+a.y})`),function(n,t,e,i){let r="";switch(i&&(r=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,r=r.replace(/\(/g,"\\("),r=r.replace(/\)/g,"\\)")),t.arrowTypeStart){case"arrow_cross":n.attr("marker-start","url("+r+"#"+e+"-crossStart)");break;case"arrow_point":n.attr("marker-start","url("+r+"#"+e+"-pointStart)");break;case"arrow_barb":n.attr("marker-start","url("+r+"#"+e+"-barbStart)");break;case"arrow_circle":n.attr("marker-start","url("+r+"#"+e+"-circleStart)");break;case"aggregation":n.attr("marker-start","url("+r+"#"+e+"-aggregationStart)");break;case"extension":n.attr("marker-start","url("+r+"#"+e+"-extensionStart)");break;case"composition":n.attr("marker-start","url("+r+"#"+e+"-compositionStart)");break;case"dependency":n.attr("marker-start","url("+r+"#"+e+"-dependencyStart)");break;case"lollipop":n.attr("marker-start","url("+r+"#"+e+"-lollipopStart)")}switch(t.arrowTypeEnd){case"arrow_cross":n.attr("marker-end","url("+r+"#"+e+"-crossEnd)");break;case"arrow_point":n.attr("marker-end","url("+r+"#"+e+"-pointEnd)");break;case"arrow_barb":n.attr("marker-end","url("+r+"#"+e+"-barbEnd)");break;case"arrow_circle":n.attr("marker-end","url("+r+"#"+e+"-circleEnd)");break;case"aggregation":n.attr("marker-end","url("+r+"#"+e+"-aggregationEnd)");break;case"extension":n.attr("marker-end","url("+r+"#"+e+"-extensionEnd)");break;case"composition":n.attr("marker-end","url("+r+"#"+e+"-compositionEnd)");break;case"dependency":n.attr("marker-end","url("+r+"#"+e+"-dependencyEnd)");break;case"lollipop":n.attr("marker-end","url("+r+"#"+e+"-lollipopEnd)")}}(l,e,r.type,r.arrowMarkerAbsolute)},A=(n,t)=>{n.forEach((n=>{n.children||(n.children=[]);const e=t.childrenById[n.id];e&&e.forEach((t=>{n.children.push(M[t])})),A(n.children,t)}))},$=(n,t,i,r,c,a,u)=>{i.forEach((function(i){if(i)if(M[i.id].offset={posX:i.x+n,posY:i.y+t,x:n,y:t,depth:u,width:i.width,height:i.height},"group"===i.type){const r=c.insert("g").attr("class","subgraph");r.insert("rect").attr("class","subgraph subgraph-lvl-"+u%5+" node").attr("x",i.x+n).attr("y",i.y+t).attr("width",i.width).attr("height",i.height);const a=r.insert("g").attr("class","label");a.attr("transform",`translate(${i.labels[0].x+n+i.x}, ${i.labels[0].y+t+i.y})`),a.node().appendChild(i.labelData.labelNode),e.info("Id (UGH)= ",i.type,i.labels)}else e.info("Id (UGH)= ",i.id),i.el.attr("transform",`translate(${i.x+n+i.width/2}, ${i.y+t+i.height/2})`)})),i.forEach((function(e){e&&"group"===e.type&&$(n+e.x,t+e.y,e.children,r,c,a,u+1)}))},L={db:n,renderer:{getClasses:function(n,t){e.info("Extracting classes"),t.db.clear("ver-2");try{return t.parse(n),t.db.getClasses()}catch(i){return{}}},draw:async function(n,t,l,b){var w;b.db.clear(),M={},b.db.setGen("gen-2"),b.parser.parse(n);const d=i("body").append("div").attr("style","height:400px").attr("id","cy");let g={id:"root",layoutOptions:{"elk.hierarchyHandling":"INCLUDE_CHILDREN","org.eclipse.elk.padding":"[top=100, left=100, bottom=110, right=110]","elk.layered.spacing.edgeNodeBetweenLayers":"30", +// 'elk.layered.mergeEdges': 'true', +"elk.direction":"DOWN"},children:[],edges:[]};switch(e.info("Drawing flowchart using v3 renderer",j),b.db.getDirection()){case"BT":g.layoutOptions["elk.direction"]="UP";break;case"TB":g.layoutOptions["elk.direction"]="DOWN";break;case"LR":g.layoutOptions["elk.direction"]="RIGHT";break;case"RL":g.layoutOptions["elk.direction"]="LEFT"}const{securityLevel:p,flowchart:v}=r();let m;"sandbox"===p&&(m=i("#i"+t));const y=i("sandbox"===p?m.nodes()[0].contentDocument.body:"body"),k="sandbox"===p?m.nodes()[0].contentDocument:document,E=y.select(`[id="${t}"]`);c(E,["point","circle","cross"],b.type,b.arrowMarkerAbsolute);const T=b.db.getVertices();let S;const P=b.db.getSubGraphs();e.info("Subgraphs - ",P);for(let e=P.length-1;e>=0;e--)S=P[e],b.db.addVertex(S.id,S.title,"group",void 0,S.classes,S.dir);const I=E.insert("g").attr("class","subgraphs"),L=function(n){const t={parentById:{},childrenById:{}},i=n.getSubGraphs();return e.info("Subgraphs - ",i),i.forEach((function(n){n.nodes.forEach((function(e){t.parentById[e]=n.id,void 0===t.childrenById[n.id]&&(t.childrenById[n.id]=[]),t.childrenById[n.id].push(e)}))})),i.forEach((function(n){n.id,void 0!==t.parentById[n.id]&&t.parentById[n.id]})),t}(b.db);g=function(n,t,e,i,c,a,l){const b=e.select(`[id="${t}"]`),w=b.insert("g").attr("class","nodes");return Object.keys(n).forEach((function(t){const e=n[t];let l="default";e.classes.length>0&&(l=e.classes.join(" "));const d=u(e.styles);let g,p=void 0!==e.text?e.text:e.id;const v={width:0,height:0};if(o(r().flowchart.htmlLabels)){const n={label:p.replace(/fa[blrs]?:fa-[\w-]+/g,(n=>`<i class='${n.replace(":"," ")}'></i>`))};g=s(b,n).node();const t=g.getBBox();v.width=t.width,v.height=t.height,v.labelNode=g,g.parentNode.removeChild(g)}else{const n=i.createElementNS("http://www.w3.org/2000/svg","text");n.setAttribute("style",d.labelStyle.replace("color:","fill:"));const t=p.split(h.lineBreakRegex);for(const r of t){const t=i.createElementNS("http://www.w3.org/2000/svg","tspan");t.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),t.setAttribute("dy","1em"),t.setAttribute("x","1"),t.textContent=r,n.appendChild(t)}g=n;const e=g.getBBox();v.width=e.width,v.height=e.height,v.labelNode=g}const m=[{id:e.id+"-west",layoutOptions:{"port.side":"WEST"}},{id:e.id+"-east",layoutOptions:{"port.side":"EAST"}},{id:e.id+"-south",layoutOptions:{"port.side":"SOUTH"}},{id:e.id+"-north",layoutOptions:{"port.side":"NORTH"}}];let y=0,k="",j={};switch(e.type){case"round":y=5,k="rect";break;case"square":case"group":default:k="rect";break;case"diamond":k="question",j={portConstraints:"FIXED_SIDE"};break;case"hexagon":k="hexagon";break;case"odd":case"odd_right":k="rect_left_inv_arrow";break;case"lean_right":k="lean_right";break;case"lean_left":k="lean_left";break;case"trapezoid":k="trapezoid";break;case"inv_trapezoid":k="inv_trapezoid";break;case"circle":k="circle";break;case"ellipse":k="ellipse";break;case"stadium":k="stadium";break;case"subroutine":k="subroutine";break;case"cylinder":k="cylinder";break;case"doublecircle":k="doublecircle"}const E={labelStyle:d.labelStyle,shape:k,labelText:p,rx:y,ry:y,class:l,style:d.style,id:e.id,link:e.link,linkTarget:e.linkTarget,tooltip:c.db.getTooltip(e.id)||"",domId:c.db.lookUpDomId(e.id),haveCallback:e.haveCallback,width:"group"===e.type?500:void 0,dir:e.dir,type:e.type,props:e.props,padding:r().flowchart.padding};let T,S;"group"!==E.type&&(S=f(w,E,e.dir),T=S.node().getBBox());const P={id:e.id,ports:"diamond"===e.type?m:[], +// labelStyle: styles.labelStyle, +// shape: _shape, +layoutOptions:j,labelText:p,labelData:v, +// labels: [{ text: vertexText }], +// rx: radius, +// ry: radius, +// class: classStr, +// style: styles.style, +// link: vertex.link, +// linkTarget: vertex.linkTarget, +// tooltip: diagObj.db.getTooltip(vertex.id) || '', +domId:c.db.lookUpDomId(e.id), +// haveCallback: vertex.haveCallback, +width:null==T?void 0:T.width,height:null==T?void 0:T.height, +// dir: vertex.dir, +type:e.type, +// props: vertex.props, +// padding: getConfig().flowchart.padding, +// boundingBox, +el:S,parent:a.parentById[e.id]};M[E.id]=P})),l}(T,t,y,k,b,L,g);const N=E.insert("g").attr("class","edges edgePath"),x=b.db.getEdges();g=C(x,b,g,E);Object.keys(M).forEach((n=>{const t=M[n];t.parent||g.children.push(t),void 0!==L.childrenById[n]&&(t.labels=[{text:t.labelText,layoutOptions:{"nodeLabels.placement":"[H_CENTER, V_TOP, INSIDE]"},width:t.labelData.width,height:t.labelData.height}],delete t.x,delete t.y,delete t.width,delete t.height)})),A(g.children,L),e.info("after layout",JSON.stringify(g,null,2));const D=await j.layout(g);$(0,0,D.children,E,I,b,0),e.info("after layout",D),null==(w=D.edges)||w.map((n=>{O(N,n,n.edgeData,b,L)})),a({},E,v.diagramPadding,v.useMaxWidth),d.remove()}},parser:t,styles:n=>`.label {\n font-family: ${n.fontFamily};\n color: ${n.nodeTextColor||n.textColor};\n }\n .cluster-label text {\n fill: ${n.titleColor};\n }\n .cluster-label span {\n color: ${n.titleColor};\n }\n\n .label text,span {\n fill: ${n.nodeTextColor||n.textColor};\n color: ${n.nodeTextColor||n.textColor};\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${n.mainBkg};\n stroke: ${n.nodeBorder};\n stroke-width: 1px;\n }\n\n .node .label {\n text-align: center;\n }\n .node.clickable {\n cursor: pointer;\n }\n\n .arrowheadPath {\n fill: ${n.arrowheadColor};\n }\n\n .edgePath .path {\n stroke: ${n.lineColor};\n stroke-width: 2.0px;\n }\n\n .flowchart-link {\n stroke: ${n.lineColor};\n fill: none;\n }\n\n .edgeLabel {\n background-color: ${n.edgeLabelBackground};\n rect {\n opacity: 0.5;\n background-color: ${n.edgeLabelBackground};\n fill: ${n.edgeLabelBackground};\n }\n text-align: center;\n }\n\n .cluster rect {\n fill: ${n.clusterBkg};\n stroke: ${n.clusterBorder};\n stroke-width: 1px;\n }\n\n .cluster text {\n fill: ${n.titleColor};\n }\n\n .cluster span {\n color: ${n.titleColor};\n }\n /* .cluster div {\n color: ${n.titleColor};\n } */\n\n div.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: ${n.fontFamily};\n font-size: 12px;\n background: ${n.tertiaryColor};\n border: 1px solid ${n.border2};\n border-radius: 2px;\n pointer-events: none;\n z-index: 100;\n }\n\n .flowchartTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${n.textColor};\n }\n .subgraph {\n stroke-width:2;\n rx:3;\n }\n // .subgraph-lvl-1 {\n // fill:#ccc;\n // // stroke:black;\n // }\n ${(n=>{let t="";for(let e=0;e<5;e++)t+=`\n .subgraph-lvl-${e} {\n fill: ${n[`surface${e}`]};\n stroke: ${n[`surfacePeer${e}`]};\n }\n `;return t})(n)}\n`};export{L as diagram}; diff --git a/.output/public/assets/form-model-CXHJGOsj.js b/.output/public/assets/form-model-CXHJGOsj.js new file mode 100644 index 0000000000000000000000000000000000000000..3d2e57ecd067272967e9b9ae561c3bdc74b15443 --- /dev/null +++ b/.output/public/assets/form-model-CXHJGOsj.js @@ -0,0 +1,172 @@ +import{d as e,b as t,H as n,I as r,J as a,ar as l,j as o,w as u,a3 as i,ax as c,O as s,a7 as f,ay as v,ap as p,aJ as d,bO as h,Z as g,aw as b,p as y,G as m,a5 as O,L as S,Y as x,bP as w,bQ as _,bR as P,bq as C,bS as j,bT as I,bU as k,bV as A,K as F,az as D,W as M,bH as E,af as V,aK as B,S as N,$ as R,T,U as L,X as H,bG as z,aL as W,an as $,bw as q,bW as Y,at as K,N as U,bX as X,bh as J,a4 as Z,ag as G,as as Q,aR as ee,bY as te,F as ne,bE as re,V as ae,P as le,aW as oe,aT as ue,bf as ie,bZ as ce,aX as se,a_ as fe,aS as ve,b0 as pe,aU as de,b_ as he,b$ as ge}from"./main-DzSNOqOC.js";import{I as be}from"./index-pjvKxr27.js";import{d as ye,f as me,h as Oe,l as Se,i as xe,j as we,k as _e,m as Pe,n as Ce,o as je,e as Ie,c as ke}from"./index-DmWclHlm.js";import{a as Ae,i as Fe}from"./index-C2aHaTIl.js";function De(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Me(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?De(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):De(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ee={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M17.5 15.91l-5.5-5.5-5.5 5.5-1.41-1.41L12 7.59l6.91 6.91-1.41 1.41z"}}]},Ve=e({name:"ChevronUpIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,a){var{attrs:l}=a,o=t((()=>e.size)),{className:u,style:i}=n(o),c=t((()=>["t-icon","t-icon-chevron-up",u.value])),s=t((()=>Me(Me({},i.value),l.style))),f=t((()=>({class:c.value,style:s.value,onClick:t=>{var n;return null===(n=e.onClick)||void 0===n?void 0:n.call(e,{e:t})}})));return()=>r(Ee,f.value)}});function Be(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ne(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Be(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Be(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Re={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M4 11h16v2H4v-2z"}}]},Te=e({name:"RemoveIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,a){var{attrs:l}=a,o=t((()=>e.size)),{className:u,style:i}=n(o),c=t((()=>["t-icon","t-icon-remove",u.value])),s=t((()=>Ne(Ne({},i.value),l.style))),f=t((()=>({class:c.value,style:s.value,onClick:t=>{var n;return null===(n=e.onClick)||void 0===n?void 0:n.call(e,{e:t})}})));return()=>r(Re,f.value)}}); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function Le(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function He(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Le(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Le(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function ze(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var We=x(e({name:"TInputNumber",props:{align:{type:String,validator:function(e){return!e||["left","center","right"].includes(e)}},allowInputOverLimit:{type:Boolean,default:!0},autoWidth:Boolean,decimalPlaces:{type:[Number,Object],default:void 0},disabled:{type:Boolean,default:void 0},format:{type:Function},inputProps:{type:Object},label:{type:[String,Function]},largeNumber:Boolean,max:{type:[String,Number],default:1/0},min:{type:[String,Number],default:-1/0},placeholder:{type:String,default:void 0},readonly:{type:Boolean,default:void 0},size:{type:String,default:"medium",validator:function(e){return!e||["small","medium","large"].includes(e)}},status:{type:String,default:"default",validator:function(e){return!e||["default","success","warning","error"].includes(e)}},step:{type:[String,Number],default:1},suffix:{type:[String,Function]},theme:{type:String,default:"row",validator:function(e){return!e||["column","row","normal"].includes(e)}},tips:{type:[String,Function]},value:{type:[String,Number],default:void 0},modelValue:{type:[String,Number],default:void 0},defaultValue:{type:[String,Number]},onBlur:Function,onChange:Function,onEnter:Function,onFocus:Function,onKeydown:Function,onKeypress:Function,onKeyup:Function,onValidate:Function},setup:function(e,n){var r=S(),a=g({AddIcon:b,RemoveIcon:Te,ChevronDownIcon:Ie,ChevronUpIcon:Ve}),l=a.AddIcon,i=a.RemoveIcon,f=a.ChevronDownIcon,x=a.ChevronUpIcon,w= +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function(e){var n=ye(),r=n.classPrefix,a=n.sizeClassNames,l=n.statusClassNames,i=c(e),f=i.value,g=i.modelValue,b=i.max,y=i.min,m=v(f,g,e.defaultValue,e.onChange),O=p(m,2),S=O[0],x=O[1],w=o(),_=o(""),P=d(),C=h(),j=o(),I=t((function(){return P.value||!me(S.value,e.min,e.largeNumber)})),k=t((function(){return P.value||!Oe(S.value,e.max,e.largeNumber)})),A=t((function(){return["".concat(r.value,"-input-number"),a[e.size],s(s(s(s({},l.disabled,P.value),"".concat(r.value,"-is-controls-right"),"column"===e.theme),"".concat(r.value,"-input-number--").concat(e.theme),e.theme),"".concat(r.value,"-input-number--auto-width"),e.autoWidth)]})),F=t((function(){return["".concat(r.value,"-input-number__decrease"),s({},l.disabled,I.value)]})),D=t((function(){return["".concat(r.value,"-input-number__increase"),s({},l.disabled,k.value)]})),M=function(t){var n;if(!t&&0!==t)return"";var r=t||0===t?String(t):"";if(null===(n=w.value)||void 0===n||null===(n=n.inputRef)||void 0===n||!n.contains(document.activeElement)){var a=xe(r,{decimalPlaces:e.decimalPlaces,largeNumber:e.largeNumber,isToFixed:!0});r=a||0===a?String(a):"",e.format&&(r=String(e.format(t,{fixedNumber:r})))}return r};u(S,(function(t){var n=e.largeNumber,r=e.decimalPlaces,a=[void 0,null].includes(t)?"":String(t);if(!n&&!Number.isNaN(_.value)){parseFloat(_.value)!==t&&(_.value=M(a));var l=Number(Se(a,r,n));void 0===r||[void 0,null].includes(t)||Number(l)===Number(S.value)||x(l,{type:"props",e:void 0})}if(n&&(_.value=M(a),void 0!==r&&Se(a,r,n)!==t)){var o,u=a;null!==(o=w.value)&&void 0!==o&&null!==(o=o.inputRef)&&void 0!==o&&o.contains(document.activeElement)||(u=xe(u,{decimalPlaces:e.decimalPlaces,largeNumber:e.largeNumber,isToFixed:!0})),x(u,{type:"props",e:void 0})}}),{immediate:!0}),u([S,b,y],(function(){var t;if(![void 0,"",null].includes(S.value)){var n=e.max,r=e.min,a=e.largeNumber,l=we({value:S.value,largeNumber:a,max:n,min:r});j.value=l,null===(t=e.onValidate)||void 0===t||t.call(e,{error:l})}}),{immediate:!0});var E=function(t){var n=je({op:t,step:e.step,max:e.max,min:e.min,lastValue:S.value,largeNumber:e.largeNumber}),r=e.largeNumber,a=e.max,l=e.min;return{overLimit:we({value:n,largeNumber:r,max:a,min:l}),newValue:n}},V=function(t){if(!I.value&&!C.value){var n=E("reduce");n.overLimit&&!e.allowInputOverLimit||x(n.newValue,{type:"reduce",e:t})}},B=function(t){if(!k.value&&!C.value){var n=E("add");n.overLimit&&!e.allowInputOverLimit||x(n.newValue,{type:"add",e:t})}},N=function(){P.value||C.value||w.value.focus()};return{classPrefix:r,wrapClasses:A,reduceClasses:F,addClasses:D,tDisabled:P,isError:j,listeners:{onBlur:function(t,n){var r,a=e.largeNumber,l=e.max,o=e.min,u=e.decimalPlaces;if(!e.allowInputOverLimit&&void 0!==S.value){var i,c,s=we({value:S.value,largeNumber:a,max:l,min:o});if("below-minimum"===s)return x(o,{type:"blur",e:n.e}),void(null===(i=e.onBlur)||void 0===i||i.call(e,o,n));if("exceed-maximum"===s)return x(l,{type:"blur",e:n.e}),void(null===(c=e.onBlur)||void 0===c||c.call(e,l,n))}var f=xe(t,{decimalPlaces:u,largeNumber:a});_.value=M(f),f!==S.value&&x(f,{type:"blur",e:n.e}),null===(r=e.onBlur)||void 0===r||r.call(e,f,n)},onFocus:function(t,n){var r;_.value=S.value||0===S.value?String(S.value):"",null===(r=e.onFocus)||void 0===r||r.call(e,t,n)},onKeydown:function(t,n){var r;if(!P.value){var a=n.e,l={ArrowUp:B,ArrowDown:V},o=a.code||a.key;void 0!==l[o]&&l[o](a),null===(r=e.onKeydown)||void 0===r||r.call(e,t,n)}},onKeyup:function(t,n){var r;null===(r=e.onKeyup)||void 0===r||r.call(e,t,n)},onKeypress:function(t,n){var r;null===(r=e.onKeypress)||void 0===r||r.call(e,t,n)},onEnter:function(t,n){var r;_.value=M(t);var a=xe(t,{decimalPlaces:e.decimalPlaces,largeNumber:e.largeNumber});a!==t&&String(a)!==t&&x(a,{type:"enter",e:n.e}),null===(r=e.onEnter)||void 0===r||r.call(e,a,n)},onClick:N},userInput:_,tValue:S,inputRef:w,focus:N,blur:function(){w.value.blur()},handleReduce:V,handleAdd:B,onInnerInputChange:function(t,n){var r=n.e,a=_e(t);if(Pe(a,e.largeNumber))if(_.value=a,e.largeNumber)x(a,{type:"input",e:r});else if(Ce(String(a),Number(S.value))){var l=""===a?void 0:Number(a);x(l,{type:"input",e:r})}},isReadonly:C}}(e),_=w.inputRef;return n.expose(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ze(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ze(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},w)),function(){var t="column"===e.theme?y(f,{size:e.size},null):y(i,{size:e.size},null),a="column"===e.theme?y(x,{size:e.size},null):y(l,{size:e.size},null),o=w.isError.value?"error":e.status,u=w.classPrefix.value,c=r("tips");return y("div",{class:w.wrapClasses.value},["normal"!==e.theme&&y(m,{class:w.reduceClasses.value,disabled:w.tDisabled.value,onClick:w.handleReduce,variant:"outline",shape:"square",icon:function(){return t}},null),y(be,O({ref:_,disabled:w.tDisabled.value,readonly:w.isReadonly.value,autocomplete:"off",placeholder:e.placeholder,unselectable:w.isReadonly.value?"on":"off",autoWidth:e.autoWidth,align:e.align||("row"===e.theme?"center":void 0),status:o,label:e.label,suffix:e.suffix},w.listeners,e.inputProps,{value:w.userInput.value,onChange:w.onInnerInputChange}),n.slots),"normal"!==e.theme&&y(m,{class:w.addClasses.value,disabled:w.tDisabled.value,onClick:w.handleAdd,variant:"outline",shape:"square",icon:function(){return a}},null),c&&y("div",{class:"".concat(u,"-input__tips ").concat(u,"-tips ").concat(u,"-is-").concat(o)},[c])])}}})),$e=w,qe=_,Ye=P,Ke=C,Ue=j; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var Xe=function(e,t,n,r){if(!Ke(e))return e;for(var a=-1,l=(t=qe(t,e)).length,o=l-1,u=e;null!=u&&++a<l;){var i=Ue(t[a]),c=n;if("__proto__"===i||"constructor"===i||"prototype"===i)return e;if(a!=o){var s=u[i];void 0===(c=r?r(s,i,u):void 0)&&(c=Ke(s)?s:Ye(t[a+1])?[]:{})}$e(u,i,c),u=u[i]}return e},Je=k,Ze=Xe,Ge=_; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var Qe=function(e,t,n){for(var r=-1,a=t.length,l={};++r<a;){var o=t[r],u=Je(e,o);n(u,o)&&Ze(l,Ge(o,e),u)}return l},et=Qe,tt=A;var nt=function(e,t){return et(e,t,(function(t,n){return tt(e,n)}))},rt=I((function(e,t){return null==e?{}:nt(e,t)})),at={allowInput:Boolean,autoWidth:Boolean,autofocus:Boolean,borderless:Boolean,clearable:Boolean,collapsedItems:{type:Function},disabled:{type:Boolean,default:void 0},inputProps:{type:Object},inputValue:{type:[String,Number],default:void 0},defaultInputValue:{type:[String,Number]},keys:{type:Object},label:{type:[String,Function]},loading:Boolean,minCollapsedNum:{type:Number,default:0},multiple:Boolean,panel:{type:[String,Function]},placeholder:{type:String,default:""},popupProps:{type:Object},popupVisible:{type:Boolean,default:void 0},defaultPopupVisible:Boolean,prefixIcon:{type:Function},readonly:{type:Boolean,default:void 0},reserveKeyword:Boolean,size:{type:String,default:"medium",validator:function(e){return!e||["small","medium","large"].includes(e)}},status:{type:String,default:"default",validator:function(e){return!e||["default","success","warning","error"].includes(e)}},suffix:{type:[String,Function]},suffixIcon:{type:Function},tag:{type:[String,Function]},tagInputProps:{type:Object},tagProps:{type:Object},tips:{type:[String,Function]},value:{type:[String,Number,Boolean,Object,Array,Date],default:void 0},valueDisplay:{type:[String,Function]},onBlur:Function,onClear:Function,onEnter:Function,onFocus:Function,onInputChange:Function,onMouseenter:Function,onMouseleave:Function,onPaste:Function,onPopupVisibleChange:Function,onTagChange:Function},lt=["tips"];function ot(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ut(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ot(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ot(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var it=["status","clearable","disabled","label","placeholder","readonly","prefixIcon","suffix","suffixIcon","onPaste","onMouseenter","onMouseleave","size","autofocus"],ct={label:"label",value:"value",children:"children"};function st(e,n,r){var a,l=c(e),u=l.value,i=l.keys,s=l.inputValue,f=F(),v=o(e.autofocus),g=o(),b=D(s,null!==(a=e.defaultInputValue)&&void 0!==a?a:"",e.onInputChange,"inputValue"),m=p(b,2),x=m[0],w=m[1],_=S(),P=d(),j=h(),I=t((function(){return ut(ut({},rt(e,it)),{},{disabled:P.value,readonly:j.value})})),k=function(t){var n,r;null==t||null===(n=t.e)||void 0===n||n.stopPropagation(),null===(r=e.onClear)||void 0===r||r.call(e,t),w("",{trigger:"clear"})},A=function(t,n){e.allowInput&&w(t,ut(ut({},n),{},{trigger:n.trigger||"input"}))},V=function(t,n){var r,a,l=_("label");if(!l&&!t)return[];if(t&&(null!==(r=e.valueDisplayOptions)&&void 0!==r&&r.usePlaceholder&&!u.value||null!==(a=e.valueDisplayOptions)&&void 0!==a&&a.useInputDisplay&&n))return[l];return[l,t]},B=function(t,n,r){var a,l;if(t&&(null===(a=e.valueDisplayOptions)||void 0===a||!a.useInputDisplay||null!==(l=e.valueDisplayOptions)&&void 0!==l&&l.useInputDisplay&&!r))return;return n},N=function(t){var n,r;if(t&&(null===(n=e.valueDisplayOptions)||void 0===n||!n.usePlaceholder||null!==(r=e.valueDisplayOptions)&&void 0!==r&&r.usePlaceholder&&u.value))return"";return e.placeholder};return{inputRef:g,isSingleFocus:v,commonInputProps:I,singleInputValue:x,onInnerClear:k,renderSelectSingle:function(t){var a,l=_("valueDisplay"),o=t&&e.allowInput?x.value:function(e,t){var n=ut(ut({},ct),t);return C(e)?e[n.label]:e}(u.value,i.value),c=V(l,t),s=ut(ut({},I.value),{},{value:B(l,o,t),label:c.length?function(){return c}:void 0,autoWidth:e.autoWidth,readonly:!e.allowInput||j.value,placeholder:N(l),suffixIcon:!P.value&&e.loading?function(){return y(M,{loading:!0,size:"small"},null)}:e.suffixIcon,showClearIconOnEmpty:Boolean(e.clearable&&(x.value||o)&&!P.value&&!j.value)},e.inputProps),p=n.slots;p.tips;var d=E(p,lt),h=t?["".concat(f.value,"-input--focused"),"".concat(f.value,"-is-focused"),null==s?void 0:s.inputClass]:null==s?void 0:s.inputClass;return y(be,O({ref:g,style:null===(a=n.attrs)||void 0===a?void 0:a.style},ut({onChange:A,onClear:k,onEnter:function(t,n){var r;null===(r=e.onEnter)||void 0===r||r.call(e,u.value,ut(ut({},n),{},{inputValue:t}))},onFocus:function(t,n){var a,l,o=null===(a=r.value)||void 0===a?void 0:a.getOverlayState();v.value||null!=o&&o.hover||(v.value=!0,null===(l=e.onFocus)||void 0===l||l.call(e,u.value,ut(ut({},n),{},{inputValue:t})))},onBlur:function(t,n){var a,l,o=null===(a=r.value)||void 0===a?void 0:a.getOverlayState();v.value=!1,null!=o&&o.hover||null===(l=e.onBlur)||void 0===l||l.call(e,u.value,ut(ut({},n),{},{inputValue:t}))}},s),{inputClass:h}),d)}}} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var ft={autoWidth:Boolean,borderless:Boolean,clearable:Boolean,collapsedItems:{type:Function},disabled:{type:Boolean,default:void 0},dragSort:Boolean,excessTagsDisplayType:{type:String,default:"break-line",validator:function(e){return!e||["scroll","break-line"].includes(e)}},inputProps:{type:Object},inputValue:{type:[String,Number],default:void 0},defaultInputValue:{type:[String,Number],default:""},label:{type:[String,Function]},max:{type:Number},minCollapsedNum:{type:Number,default:0},placeholder:{type:String,default:void 0},prefixIcon:{type:Function},readonly:{type:Boolean,default:void 0},size:{type:String,default:"medium",validator:function(e){return!e||["small","medium","large"].includes(e)}},status:{type:String,validator:function(e){return!e||["default","success","warning","error"].includes(e)}},suffix:{type:[String,Function]},suffixIcon:{type:Function},tag:{type:[String,Function]},tagProps:{type:Object},tips:{type:[String,Function]},value:{type:Array,default:void 0},modelValue:{type:Array,default:void 0},defaultValue:{type:Array,default:function(){return[]}},valueDisplay:{type:[String,Function]},onBlur:Function,onChange:Function,onClear:Function,onClick:Function,onDragSort:Function,onEnter:Function,onFocus:Function,onInputChange:Function,onMouseenter:Function,onMouseleave:Function,onPaste:Function,onRemove:Function}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function vt(e){return(vt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var pt=/^\s+/,dt=/\s+$/;function ht(e,t){if(t=t||{},(e=e||"")instanceof ht)return e;if(!(this instanceof ht))return new ht(e,t);var n=function(e){var t={r:0,g:0,b:0},n=1,r=null,a=null,l=null,o=!1,u=!1;"string"==typeof e&&(e=function(e){e=e.replace(pt,"").replace(dt,"").toLowerCase();var t,n=!1;if(Dt[e])e=Dt[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=qt.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=qt.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=qt.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=qt.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=qt.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=qt.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=qt.hex8.exec(e))return{r:Nt(t[1]),g:Nt(t[2]),b:Nt(t[3]),a:Ht(t[4]),format:n?"name":"hex8"};if(t=qt.hex6.exec(e))return{r:Nt(t[1]),g:Nt(t[2]),b:Nt(t[3]),format:n?"name":"hex"};if(t=qt.hex4.exec(e))return{r:Nt(t[1]+""+t[1]),g:Nt(t[2]+""+t[2]),b:Nt(t[3]+""+t[3]),a:Ht(t[4]+""+t[4]),format:n?"name":"hex8"};if(t=qt.hex3.exec(e))return{r:Nt(t[1]+""+t[1]),g:Nt(t[2]+""+t[2]),b:Nt(t[3]+""+t[3]),format:n?"name":"hex"};return!1}(e));"object"==vt(e)&&(Yt(e.r)&&Yt(e.g)&&Yt(e.b)?(i=e.r,c=e.g,s=e.b,t={r:255*Vt(i,255),g:255*Vt(c,255),b:255*Vt(s,255)},o=!0,u="%"===String(e.r).substr(-1)?"prgb":"rgb"):Yt(e.h)&&Yt(e.s)&&Yt(e.v)?(r=Tt(e.s),a=Tt(e.v),t=function(e,t,n){e=6*Vt(e,360),t=Vt(t,100),n=Vt(n,100);var r=Math.floor(e),a=e-r,l=n*(1-t),o=n*(1-a*t),u=n*(1-(1-a)*t),i=r%6,c=[n,o,l,l,u,n][i],s=[u,n,n,o,l,l][i],f=[l,l,u,n,n,o][i];return{r:255*c,g:255*s,b:255*f}}(e.h,r,a),o=!0,u="hsv"):Yt(e.h)&&Yt(e.s)&&Yt(e.l)&&(r=Tt(e.s),l=Tt(e.l),t=function(e,t,n){var r,a,l;function o(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=Vt(e,360),t=Vt(t,100),n=Vt(n,100),0===t)r=a=l=n;else{var u=n<.5?n*(1+t):n+t-n*t,i=2*n-u;r=o(i,u,e+1/3),a=o(i,u,e),l=o(i,u,e-1/3)}return{r:255*r,g:255*a,b:255*l}}(e.h,r,l),o=!0,u="hsl"),e.hasOwnProperty("a")&&(n=e.a));var i,c,s;return n=Et(n),{ok:o,format:e.format||u,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=n.ok}function gt(e,t,n){e=Vt(e,255),t=Vt(t,255),n=Vt(n,255);var r,a,l=Math.max(e,t,n),o=Math.min(e,t,n),u=(l+o)/2;if(l==o)r=a=0;else{var i=l-o;switch(a=u>.5?i/(2-l-o):i/(l+o),l){case e:r=(t-n)/i+(t<n?6:0);break;case t:r=(n-e)/i+2;break;case n:r=(e-t)/i+4}r/=6}return{h:r,s:a,l:u}}function bt(e,t,n){e=Vt(e,255),t=Vt(t,255),n=Vt(n,255);var r,a,l=Math.max(e,t,n),o=Math.min(e,t,n),u=l,i=l-o;if(a=0===l?0:i/l,l==o)r=0;else{switch(l){case e:r=(t-n)/i+(t<n?6:0);break;case t:r=(n-e)/i+2;break;case n:r=(e-t)/i+4}r/=6}return{h:r,s:a,v:u}}function yt(e,t,n,r){var a=[Rt(Math.round(e).toString(16)),Rt(Math.round(t).toString(16)),Rt(Math.round(n).toString(16))];return r&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0):a.join("")}function mt(e,t,n,r){return[Rt(Lt(r)),Rt(Math.round(e).toString(16)),Rt(Math.round(t).toString(16)),Rt(Math.round(n).toString(16))].join("")}function Ot(e,t){t=0===t?0:t||10;var n=ht(e).toHsl();return n.s-=t/100,n.s=Bt(n.s),ht(n)}function St(e,t){t=0===t?0:t||10;var n=ht(e).toHsl();return n.s+=t/100,n.s=Bt(n.s),ht(n)}function xt(e){return ht(e).desaturate(100)}function wt(e,t){t=0===t?0:t||10;var n=ht(e).toHsl();return n.l+=t/100,n.l=Bt(n.l),ht(n)}function _t(e,t){t=0===t?0:t||10;var n=ht(e).toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-t/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-t/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-t/100*255))),ht(n)}function Pt(e,t){t=0===t?0:t||10;var n=ht(e).toHsl();return n.l-=t/100,n.l=Bt(n.l),ht(n)}function Ct(e,t){var n=ht(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,ht(n)}function jt(e){var t=ht(e).toHsl();return t.h=(t.h+180)%360,ht(t)}function It(e,t){if(isNaN(t)||t<=0)throw new Error("Argument to polyad must be a positive number");for(var n=ht(e).toHsl(),r=[ht(e)],a=360/t,l=1;l<t;l++)r.push(ht({h:(n.h+l*a)%360,s:n.s,l:n.l}));return r}function kt(e){var t=ht(e).toHsl(),n=t.h;return[ht(e),ht({h:(n+72)%360,s:t.s,l:t.l}),ht({h:(n+216)%360,s:t.s,l:t.l})]}function At(e,t,n){t=t||6,n=n||30;var r=ht(e).toHsl(),a=360/n,l=[ht(e)];for(r.h=(r.h-(a*t>>1)+720)%360;--t;)r.h=(r.h+a)%360,l.push(ht(r));return l}function Ft(e,t){t=t||6;for(var n=ht(e).toHsv(),r=n.h,a=n.s,l=n.v,o=[],u=1/t;t--;)o.push(ht({h:r,s:a,v:l})),l=(l+u)%1;return o}ht.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=Et(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=bt(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=bt(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=gt(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=gt(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return yt(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,a){var l=[Rt(Math.round(e).toString(16)),Rt(Math.round(t).toString(16)),Rt(Math.round(n).toString(16)),Rt(Lt(r))];if(a&&l[0].charAt(0)==l[0].charAt(1)&&l[1].charAt(0)==l[1].charAt(1)&&l[2].charAt(0)==l[2].charAt(1)&&l[3].charAt(0)==l[3].charAt(1))return l[0].charAt(0)+l[1].charAt(0)+l[2].charAt(0)+l[3].charAt(0);return l.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*Vt(this._r,255))+"%",g:Math.round(100*Vt(this._g,255))+"%",b:Math.round(100*Vt(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+Math.round(100*Vt(this._r,255))+"%, "+Math.round(100*Vt(this._g,255))+"%, "+Math.round(100*Vt(this._b,255))+"%)":"rgba("+Math.round(100*Vt(this._r,255))+"%, "+Math.round(100*Vt(this._g,255))+"%, "+Math.round(100*Vt(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(Mt[yt(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+mt(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var a=ht(e);n="#"+mt(a._r,a._g,a._b,a._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return ht(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(wt,arguments)},brighten:function(){return this._applyModification(_t,arguments)},darken:function(){return this._applyModification(Pt,arguments)},desaturate:function(){return this._applyModification(Ot,arguments)},saturate:function(){return this._applyModification(St,arguments)},greyscale:function(){return this._applyModification(xt,arguments)},spin:function(){return this._applyModification(Ct,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(At,arguments)},complement:function(){return this._applyCombination(jt,arguments)},monochromatic:function(){return this._applyCombination(Ft,arguments)},splitcomplement:function(){return this._applyCombination(kt,arguments)}, +// Disabled until https://github.com/bgrins/TinyColor/issues/254 +// polyad: function (number) { +// return this._applyCombination(polyad, [number]); +// }, +triad:function(){return this._applyCombination(It,[3])},tetrad:function(){return this._applyCombination(It,[4])}},ht.fromRatio=function(e,t){if("object"==vt(e)){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:Tt(e[r]));e=n}return ht(e,t)},ht.equals=function(e,t){return!(!e||!t)&&ht(e).toRgbString()==ht(t).toRgbString()},ht.random=function(){return ht.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},ht.mix=function(e,t,n){n=0===n?0:n||50;var r=ht(e).toRgb(),a=ht(t).toRgb(),l=n/100;return ht({r:(a.r-r.r)*l+r.r,g:(a.g-r.g)*l+r.g,b:(a.b-r.b)*l+r.b,a:(a.a-r.a)*l+r.a})},ht.readability=function(e,t){var n=ht(e),r=ht(t);return(Math.max(n.getLuminance(),r.getLuminance())+.05)/(Math.min(n.getLuminance(),r.getLuminance())+.05)},ht.isReadable=function(e,t,n){var r,a,l=ht.readability(e,t);switch(a=!1,(r=function(e){var t,n;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==n&&"large"!==n&&(n="small");return{level:t,size:n}} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */(n)).level+r.size){case"AAsmall":case"AAAlarge":a=l>=4.5;break;case"AAlarge":a=l>=3;break;case"AAAsmall":a=l>=7}return a},ht.mostReadable=function(e,t,n){var r,a,l,o,u=null,i=0;a=(n=n||{}).includeFallbackColors,l=n.level,o=n.size;for(var c=0;c<t.length;c++)(r=ht.readability(e,t[c]))>i&&(i=r,u=ht(t[c]));return ht.isReadable(e,u,{level:l,size:o})||!a?u:(n.includeFallbackColors=!1,ht.mostReadable(e,["#fff","#000"],n))};var Dt=ht.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},Mt=ht.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(Dt);function Et(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Vt(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function Bt(e){return Math.min(1,Math.max(0,e))}function Nt(e){return parseInt(e,16)}function Rt(e){return 1==e.length?"0"+e:""+e}function Tt(e){return e<=1&&(e=100*e+"%"),e}function Lt(e){return Math.round(255*parseFloat(e)).toString(16)}function Ht(e){return Nt(e)/255}var zt,Wt,$t,qt=(Wt="[\\s|\\(]+("+(zt="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+zt+")[,|\\s]+("+zt+")\\s*\\)?",$t="[\\s|\\(]+("+zt+")[,|\\s]+("+zt+")[,|\\s]+("+zt+")[,|\\s]+("+zt+")\\s*\\)?",{CSS_UNIT:new RegExp(zt),rgb:new RegExp("rgb"+Wt),rgba:new RegExp("rgba"+$t),hsl:new RegExp("hsl"+Wt),hsla:new RegExp("hsla"+$t),hsv:new RegExp("hsv"+Wt),hsva:new RegExp("hsva"+$t),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function Yt(e){return!!qt.CSS_UNIT.exec(e)}var Kt=e({name:"TTag",props:{closable:Boolean,color:{type:String,default:""},content:{type:[String,Function]},default:{type:[String,Function]},disabled:Boolean,icon:{type:Function,default:void 0},maxWidth:{type:[String,Number]},shape:{type:String,default:"square",validator:function(e){return!e||["square","round","mark"].includes(e)}},size:{type:String,default:"medium",validator:function(e){return!e||["small","medium","large"].includes(e)}},theme:{type:String,default:"default",validator:function(e){return!e||["default","primary","warning","danger","success"].includes(e)}},title:{type:String,default:""},variant:{type:String,default:"dark",validator:function(e){return!e||["dark","light","outline","light-outline"].includes(e)}},onClick:Function,onClose:Function},setup:function(e){var n=N("tag").globalConfig,r=F("tag"),a=g({CloseIcon:R}).CloseIcon,l=S(),o=H(),u=T().SIZE,i=z().vnode,c=t((function(){return["".concat(r.value),"".concat(r.value,"--").concat(e.theme),"".concat(r.value,"--").concat(e.variant),s(s(s(s({},"".concat(r.value,"--ellipsis"),e.maxWidth),"".concat(r.value,"--close"),e.closable),"".concat(r.value,"--disabled"),e.disabled),u.value[e.size],"medium"!==e.size),"square"!==e.shape&&"".concat(r.value,"--").concat(e.shape)]})),f=t((function(){return p()})),v=t((function(){return e.maxWidth?{maxWidth:isNaN(Number(e.maxWidth))?String(e.maxWidth):"".concat(e.maxWidth,"px")}:{}})),p=function(){var t=e.color,n=e.variant;if(!t)return{};var r,a,l,o,u={color:ht(t).getLuminance()>.5?"black":"white"};if("outline"!==n&&"light-outline"!==n||(u.borderColor=t),"outline"!==n){u.backgroundColor="dark"===n?t:(r=ht(t).toRgb(),a=r.r,l=r.g,o=r.b,"rgba(".concat(a,", ").concat(l,", ").concat(o,", 0.1)"))}return"dark"!==n&&(u.color=t),u},d=function(t){var n;e.disabled||null===(n=e.onClick)||void 0===n||n.call(e,{e:t})};return function(){var t=function(){if(!e.closable)return null;var t="".concat(r.value,"__icon-close");return n.value.closeIcon?W(n.value.closeIcon(W),{class:t}):y(a,{onClick:function(t){var n,r=t.e;r&&r.stopPropagation(),null===(n=e.onClose)||void 0===n||n.call(e,{e:r})},class:t},null)}(),u=o("default","content"),s=l("icon"),p=function(t){if(e.maxWidth){var n=i.props||{};return Reflect.has(n,"title")?n.title||void 0:t||void 0}}(L(u)?u:"");return y("div",{class:c.value,style:f.value,onClick:d},[s,y("span",{class:e.maxWidth?"".concat(r.value,"--text"):void 0,style:v.value,title:p},[u]),!e.disabled&&t])}}}); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function Ut(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Xt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ut(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ut(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Jt=e({name:"TCheckTag",props:{checked:{type:Boolean,default:void 0},modelValue:{type:Boolean,default:void 0},defaultChecked:Boolean,checkedProps:{type:Object},content:{type:[String,Number,Array,Function]},default:{type:[String,Function]},disabled:Boolean,size:{type:String,default:"medium",validator:function(e){return!e||["small","medium","large"].includes(e)}},uncheckedProps:{type:Object},value:{type:[String,Number]},onChange:Function,onClick:Function},setup:function(e){var n=F("tag"),r=T().SIZE,a=H(),l=c(e),o=l.checked,u=l.modelValue,i=v(o,u,e.defaultChecked,e.onChange,"checked"),f=p(i,2),d=f[0],h=f[1],g=t((function(){return["".concat(n.value),"".concat(n.value,"--check"),r.value[e.size],s(s({},"".concat(n.value,"--checked"),d.value),"".concat(n.value,"--disabled"),e.disabled)]})),b=t((function(){var t=Xt({theme:"primary"},e.checkedProps),n=Xt({},e.uncheckedProps);return d.value?t:n})),m=function(t){var n,r=t.e;e.disabled||(null===(n=e.onClick)||void 0===n||n.call(e,{e:r}),h(!d.value,{e:r,value:e.value}))},S=function(t){var n,r=t.code||(null===(n=t.key)||void 0===n?void 0:n.trim());(q.test(r)||Y.test(r))&&(t.preventDefault(),h(!d.value,{e:t,value:e.value}))},x=function(e){e.currentTarget.addEventListener("keydown",S)},w=function(e){e.currentTarget.removeEventListener("keydown",S)};return function(){var t,n=a("default","content");return y(Kt,O({class:g.value,disabled:e.disabled,tabindex:e.disabled?void 0:"0",onFocus:x,onBlur:w},b.value,{onClick:m}),"function"==typeof(t=n)||"[object Object]"===Object.prototype.toString.call(t)&&!$(t)?n:{default:function(){return[n]}})}}}); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var Zt=e({name:"TCheckTagGroup",props:{checkedProps:{type:Object},multiple:Boolean,options:{type:Array},uncheckedProps:{type:Object},value:{type:Array,default:void 0},modelValue:{type:Array,default:void 0},defaultValue:{type:Array,default:function(){return[]}},onChange:Function},setup:function(e,n){var r=c(e),a=r.value,l=r.modelValue,o=r.options,u=F("check-tag-group"),i=t((function(){return[u.value]})),s=v(a,l,e.defaultValue,e.onChange),f=p(s,2),d=f[0],h=f[1],g=function(t,n){var r=n.value;if(t)e.multiple?h(d.value.concat(r),{e:n.e,type:"check",value:r}):h([r],{e:n.e,type:"check",value:r});else{var a=[];e.multiple&&(a=d.value.filter((function(e){return e!==r}))),h(a,{e:n.e,type:"uncheck",value:r})}};return function(){return y("div",{class:i.value},[(o.value||[]).map((function(t){var r,a;return y(Jt,{key:t.value,value:t.value,checkedProps:e.checkedProps,uncheckedProps:e.uncheckedProps,checked:d.value.includes(t.value),onChange:g,disabled:t.disabled,size:t.size,"data-value":t.value},(a=r=function(e){return n.slots.option?n.slots.option(e):n.slots.label?n.slots.label(e):e.label?B(e.label)?e.label(W):e.label:e.content&&B(e.content)?e.content(W):e.default&&B(e.default)?e.default(W):e.value}(t),"function"==typeof a||"[object Object]"===Object.prototype.toString.call(a)&&!$(a)?r:{default:function(){return[r]}}))}))])}}}),Gt=x(Kt); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function Qt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function en(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qt(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function tn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function nn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tn(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}x(Jt),x(Zt);var rn=x(e({name:"TTagInput",props:nn({},ft),setup:function(e){var n={NAME_CLASS:F("tag-input"),CLEAR_CLASS:F("tag-input__suffix-clear"),BREAK_LINE_CLASS:F("tag-input--break-line")},r=n.NAME_CLASS,a=n.CLEAR_CLASS,b=n.BREAK_LINE_CLASS,m=g({CloseCircleFilledIcon:ke}).CloseCircleFilledIcon,x=d(),w=h(),_=c(e),P=_.inputValue,C=_.inputProps,j=D(P,e.defaultInputValue,e.onInputChange,"inputValue"),I=p(j,2),k=I[0],A=I[1],M=c(e),E=M.excessTagsDisplayType,R=M.clearable,T=M.placeholder,L= +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function(e){var t=e.disabled,n=e.readonly,r=e.onMouseenter,a=e.onMouseleave,l=o(!1);return{isHover:l,addHover:function(e){n||t||(l.value=!0,null==r||r(e))},cancelHover:function(e){n||t||(l.value=!1,null==a||a(e))}}} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */({readonly:w.value,disabled:x.value,onMouseenter:e.onMouseenter,onMouseleave:e.onMouseleave}),H=L.isHover,z=L.addHover,W=L.cancelHover,$=o(!1),q=N().classPrefix,Y=o(!1),X=function(e){var t=e.sortOnDraggable,n=e.onDragSort,r=e.onDragOverCheck,a=o(-1),u=o(null),i=o(null),c=l({nodeX:0,nodeWidth:0,mouseX:0}),s=function(e,t,l){if(e.preventDefault(),a.value!==t&&-1!==a.value){var o=e.target;if(null==r||!r.targetClassNameRegExp||null!=r&&r.targetClassNameRegExp.test(o.className)){if(null!=r&&r.x&&o){if(!c.nodeWidth)return;var i=o.getBoundingClientRect(),s=i.x,f=i.width,v=s+f/2,p=e.clientX-(c.mouseX-c.nodeX),d=p+c.nodeWidth;if(!(p>s&&p<s+f?p<v:d>v))return}null==n||n({currentIndex:a.value,current:u,target:l,targetIndex:t}),a.value=t}}};if(!t)return{};function f(e,t,n){a.value=t,u.value=n;var l=e.target;if(r&&l){var o=l.getBoundingClientRect(),i=o.x,s=o.width;c.nodeX=i,c.nodeWidth=s,c.mouseX=e.clientX}}function v(){i.value=!0}function p(){i.value,i.value=!1,a.value=-1,u.value=null}return{onDragStart:f,onDragOver:s,onDrop:v,onDragEnd:p,getDragProps:function(e,n){return t?{draggable:!0,onDragstart:function(t){f(t,e,n)},onDragover:function(t){s(t,e,n)},onDrop:function(){v()},onDragend:function(){p()}}:{}},dragging:-1!==a.value}}(nn(nn({},e),{},{sortOnDraggable:e.dragSort,onDragOverCheck:{x:!0,targetClassNameRegExp:new RegExp("^".concat(q.value,"-tag"))}})),J=X.getDragProps,Z=function(e){var t=o(),n=c(e),r=n.excessTagsDisplayType,a=n.readonly,l=n.disabled,u=o(0),s=o(),f=o(),v=o(!1),p=function(e){var t=e.children[0];s.value=t},d=function(){u.value=s.value.scrollWidth-s.value.clientWidth},h=function(e){var t;B(null===(t=s.value)||void 0===t?void 0:t.scroll)&&s.value.scroll({left:e,behavior:"smooth"})},g=function(){d(),h(u.value),setTimeout((function(){v.value=!0}),200)};return i((function(){var e,n=null===(e=t.value)||void 0===e?void 0:e.$el;n&&p(n)})),V((function(){clearTimeout(f.value)})),{tagInputRef:t,scrollElement:s,scrollDistance:u,scrollTo:h,scrollToRight:g,scrollToLeft:function(){h(0)},updateScrollElement:p,updateScrollDistance:d,onWheel:function(e){var t=e.e;if(!a.value&&!l.value&&s.value)if(t.deltaX>0){var n=Math.min(s.value.scrollLeft+120,u.value);h(n)}else{var r=Math.max(s.value.scrollLeft-120,0);h(r)}},scrollToRightOnEnter:function(){"scroll"===r.value&&(f.value=setTimeout((function(){g(),clearTimeout(f.value)}),100))},scrollToLeftOnLeave:function(){"scroll"===r.value&&(v.value=!1,h(0),clearTimeout(f.value))},isScrollable:v}}(e),G=Z.scrollToRight,Q=Z.onWheel,ee=Z.scrollToRightOnEnter,te=Z.scrollToLeftOnLeave,ne=Z.tagInputRef,re=Z.isScrollable,ae=function(e){var t=S(),n=F(),r=c(e),a=r.value,l=r.modelValue,u=r.onRemove,i=r.max,s=r.minCollapsedNum,f=r.size,g=r.tagProps,b=r.getDragProps,m=v(a,l,e.defaultValue||[],e.onChange),x=p(m,2),w=x[0],_=x[1],P=o(),C=d(),j=h(),I=function(e){var t,n=K(w.value),r=n.splice(e.index,1),a=p(r,1)[0];_(n,en(en({trigger:"tag-remove"},e),{},{item:a})),null===(t=u.value)||void 0===t||t.call(u,en(en({},e),{},{item:a,trigger:"tag-remove",value:n}))};return{tagValue:w,clearAll:function(e){_([],{trigger:"clear",e:e.e})},onClose:I,onInnerEnter:function(t,n){var r,a,l=t?String(t).trim():"",o=i&&(null===(r=w.value)||void 0===r?void 0:r.length)>=i.value,u=w.value;!o&&l&&(u=w.value instanceof Array?w.value.concat(String(l)):[l],_(u,{trigger:"enter",index:u.length-1,item:l,e:n.e})),null==e||null===(a=e.onEnter)||void 0===a||a.call(e,u,en(en({},n),{},{inputValue:t}))},onInputBackspaceKeyUp:function(e){w.value&&w.value.length&&(P.value=e)},onInputBackspaceKeyDown:function(e,t){var n=t.e;if(w.value&&w.value.length&&"Process"!==n.key&&!j.value){var r=/(Backspace|NumpadDelete)/i.test(n.code)||/(Backspace|NumpadDelete)/i.test(n.key);if(!e&&r){var a,l=w.value.length-1,o=w.value[l],i="backspace",c=w.value.slice(0,-1);_(c,{e:n,index:l,item:o,trigger:i}),null===(a=u.value)||void 0===a||a.call(u,{e:n,index:l,item:o,trigger:i,value:c})}P.value=e}},renderLabel:function(e){var r,a=e.displayNode,l=e.label,o=s.value?w.value.slice(0,s.value):w.value,u=a?[a]:(null==o||null===(r=o.map)||void 0===r?void 0:r.call(o,(function(e,n){var r,a=t("tag",{params:{value:e}});return y(Gt,O({key:"".concat(e).concat(n),size:f.value,disabled:C.value,onClose:function(e){return I({e:e.e,index:n})},closable:!j.value&&!C.value},null===(r=b.value)||void 0===r?void 0:r.call(b,n,e),g.value),{default:function(){return[null!=a?a:e]}})})))||[];if([null,void 0,""].includes(l)||u.unshift(y("div",{class:"".concat(n.value,"-tag-input__prefix"),key:"label"},[l])),o.length!==(w.value||[]).length){var i=w.value.length-o.length,c=t("collapsedItems",{params:{value:w.value,count:w.value.length-s.value,collapsedTags:w.value.slice(s.value,w.value.length),collapsedSelectedItems:w.value.slice(s.value,w.value.length),onClose:I}});u.push(null!=c?c:y(Gt,O({key:"more",size:f.value},g.value),{default:function(){return["+",i]}}))}return u}}}(l(nn(nn({},c(e)),{},{getDragProps:J}))),le=ae.tagValue,oe=ae.onInnerEnter,ue=ae.onInputBackspaceKeyUp,ie=ae.onInputBackspaceKeyDown,ce=ae.clearAll,se=ae.renderLabel,fe=ae.onClose,ve=t((function(){var e=!(U(le.value)&&le.value.length);return[r.value,s(s(s({},b.value,"break-line"===E.value),"".concat(q.value,"-is-empty"),e),"".concat(q.value,"-tag-input--with-tag"),!e)]})),pe=t((function(){var e;return null!==(e=le.value)&&void 0!==e&&e.length?"":T.value})),de=t((function(){var e;return Boolean(!w.value&&!x.value&&R.value&&H.value&&((null===(e=le.value)||void 0===e?void 0:e.length)||k.value))}));return u((function(){return re.value}),(function(t){if("scroll"===e.excessTagsDisplayType){var n="".concat(q.value,"-input__prefix"),r=ne.value.$el.querySelector(".".concat(n));t?r.classList.add("".concat(n,"--scrollable")):r.classList.remove("".concat(n,"--scrollable"))}})),{CLEAR_CLASS:a,CloseCircleFilledIcon:m,tagValue:le,tInputValue:k,isHover:H,tagInputPlaceholder:pe,showClearIcon:de,tagInputRef:ne,classPrefix:q,isFocused:Y,focus:function(){var e;null===(e=ne.value)||void 0===e||e.focus()},blur:function(){var e;null===(e=ne.value)||void 0===e||e.blur()},setTInputValue:A,onMouseEnter:function(e){z(e),ee()},onMouseLeave:function(e){W(e),te()},onInnerFocus:function(t,n){var r;Y.value||(Y.value=!0,null===(r=e.onFocus)||void 0===r||r.call(e,le.value,{e:n.e,inputValue:t}))},onInnerBlur:function(t,n){var r;Y.value=!1,A("",{e:n.e,trigger:"blur"}),null===(r=e.onBlur)||void 0===r||r.call(e,le.value,{e:n.e,inputValue:t})},onInnerChange:function(e,t){A(e,nn(nn({},t),{},{trigger:"input"}))},addHover:z,cancelHover:W,onInputEnter:function(e,t){var n,r;null===(n=t.e)||void 0===n||null===(r=n.preventDefault)||void 0===r||r.call(n),A("",{e:t.e,trigger:"enter"}),!$.value&&oe(e,t),f((function(){G(),$.value=!1}))},onInnerEnter:oe,onInputBackspaceKeyUp:ue,onInputBackspaceKeyDown:ie,renderLabel:se,onWheel:Q,scrollToRightOnEnter:ee,scrollToLeftOnLeave:te,onClick:function(t){var n,r;x.value||(Y.value=!0,null===(n=ne.value)||void 0===n||n.focus(),null===(r=e.onClick)||void 0===r||r.call(e,t))},onClearClick:function(t){var n;ce(t),A("",{e:t.e,trigger:"clear"}),null===(n=e.onClear)||void 0===n||n.call(e,t)},onClose:fe,onInputCompositionstart:function(e,t){var n,r;$.value=!0,null===(n=C.value)||void 0===n||null===(r=n.onCompositionstart)||void 0===r||r.call(n,e,t)},onInputCompositionend:function(e,t){var n,r;$.value=!1,null===(n=C.value)||void 0===n||null===(r=n.onCompositionend)||void 0===r||r.call(n,e,t)},classes:ve,isDisabled:x,isReadonly:w}},render:function(){var e,t=this,n=this.CloseCircleFilledIcon,r=this.showClearIcon?y(n,{class:this.CLEAR_CLASS,onClick:this.onClearClick},null):X(this,"suffixIcon"),a=X(this,"prefixIcon"),l="".concat(this.classPrefix,"-tag-input__with-suffix-icon");r&&!this.classes.includes(l)&&this.classes.push(l);var o=X(this,"valueDisplay",{params:{value:this.tagValue,onClose:function(e){return t.onClose({index:e})}}}),u=X(this,"label",{silent:!0}),i=this.inputProps,c=this.isReadonly||(null==i?void 0:i.readonly);return y(be,O({ref:"tagInputRef",borderless:this.borderless,readonly:c,showInput:!c||!this.tagValue||!(null!==(e=this.tagValue)&&void 0!==e&&e.length),value:this.tInputValue,autoWidth:!0,size:this.size,disabled:this.isDisabled,label:function(){return t.renderLabel({displayNode:o,label:u})},class:this.classes,tips:this.tips,status:this.status,placeholder:this.tagInputPlaceholder,suffix:this.suffix,suffixIcon:function(){return r},prefixIcon:function(){return a},keepWrapperWidth:!this.autoWidth,onWheel:this.onWheel,onChange:this.onInnerChange,onPaste:this.onPaste,onEnter:this.onInputEnter,onKeyup:this.onInputBackspaceKeyUp,onKeydown:this.onInputBackspaceKeyDown,onMouseenter:this.onMouseEnter,onMouseleave:this.onMouseLeave,onFocus:this.onInnerFocus,onBlur:this.onInnerBlur,onClick:this.onClick,onCompositionstart:this.onInputCompositionstart,onCompositionend:this.onInputCompositionend},this.inputProps),{suffix:this.$slots.suffix})}})),an=["tips"];function ln(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function on(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ln(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ln(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var un={label:"label",key:"key",children:"children"}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function cn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function sn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?cn(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function fn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function vn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fn(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var pn=x(e({name:"TSelectInput",props:vn(vn({},at),{},{valueDisplayOptions:{type:Object}}),setup:function(e,n){var r={NAME_CLASS:F("select-input"),BASE_CLASS_BORDERLESS:F("select-input--borderless"),BASE_CLASS_MULTIPLE:F("select-input--multiple"),BASE_CLASS_POPUP_VISIBLE:F("select-input--popup-visible"),BASE_CLASS_EMPTY:F("select-input--empty")},a=r.NAME_CLASS,l=r.BASE_CLASS_BORDERLESS,f=r.BASE_CLASS_MULTIPLE,v=r.BASE_CLASS_POPUP_VISIBLE,g=r.BASE_CLASS_EMPTY,b=F(),m=S(),x=o(),w=o(),_=c(e),P=_.multiple,j=_.value,I=_.popupVisible,k=_.borderless,A=function(e){var n=c(e),r=n.popupProps,a=n.autoWidth,l=o(!1),u=d(),i=h(),s=function(e,t){var n=(t.scrollHeight,t.offsetHeight,0),a=t.offsetWidth+n>=e.offsetWidth?t.offsetWidth:e.offsetWidth,l={};return r.value&&"object"===J(r.value.overlayInnerStyle)&&!r.value.overlayInnerStyle.width&&(l=r.value.overlayInnerStyle),sn({width:"".concat(Math.min(a,1e3),"px")},l)},f=function(e,t){var n;return sn({width:"".concat(Math.max(e.offsetWidth,t.offsetWidth),"px")},null===(n=r.value)||void 0===n?void 0:n.overlayInnerStyle)};return{tOverlayInnerStyle:t((function(){var e,t=(null===(e=r.value)||void 0===e?void 0:e.overlayInnerStyle)||{};return B(t)||C(t)&&t.width?t:a.value?f:s})),innerPopupVisible:l,onInnerPopupVisibleChange:function(t,n){if(!u.value&&!i.value){var r,a=!("trigger-element-click"!==n.trigger||!e.allowInput)||t;e.popupVisible!==a&&(l.value=a,null===(r=e.onPopupVisibleChange)||void 0===r||r.call(e,a,n))}}}}(e),V=A.tOverlayInnerStyle,N=A.innerPopupVisible,R=A.onInnerPopupVisibleChange,T=st(e,n,w),L=T.isSingleFocus,H=T.commonInputProps,z=T.onInnerClear,W=T.renderSelectSingle,$=function(e,n,r){var a=c(e).inputValue,l=F(),u=o(),i=o(e.autofocus),f=D(a,e.defaultInputValue,e.onInputChange,"inputValue"),v=p(f,2),g=v[0],b=v[1],m=d(),S=h(),x=t((function(){return on(on({},un),e.keys)})),w=t((function(){return e.value instanceof Array?e.value.map((function(e){return C(e)?e[x.value.label]:e})):C(e.value)?[e.value[x.value.label]]:[e.value]})),_=t((function(){return w.value&&w.value.length?"":e.placeholder})),P=function(t,n){var r,a;"tag-remove"===n.trigger&&(null===(a=n.e)||void 0===a||a.stopPropagation()),null===(r=e.onTagChange)||void 0===r||r.call(e,t,n)},j=function(e,t){"enter"!==t.trigger&&"blur"!==t.trigger&&b(e,{trigger:t.trigger,e:t.e})},I=function(t,n){var a,l,o=null===(a=r.value)||void 0===a?void 0:a.getOverlayState();null!=o&&o.hover||(i.value=!1,null===(l=e.onBlur)||void 0===l||l.call(e,e.value,on(on({},n),{},{tagInputValue:t})))},k=function(t,n){var a,l,o=null===(a=r.value)||void 0===a?void 0:a.getOverlayState();if(!(i.value||null!=o&&o.hover)){i.value=!0;var u=on(on({},n),{},{tagInputValue:t});null===(l=e.onFocus)||void 0===l||l.call(e,e.value,u)}},A=function(t,n){var r,a=on(on({},n),{},{tagInputValue:t});null===(r=e.onEnter)||void 0===r||r.call(e,e.value,a)};return{tags:w,tPlaceholder:_,tagInputRef:u,isMultipleFocus:i,multipleInputValue:g,renderSelectMultiple:function(t){var r=on(on({},t.commonInputProps),{},{tagProps:e.tagProps,label:e.label,autoWidth:e.autoWidth,readonly:S.value,placeholder:_.value,minCollapsedNum:e.minCollapsedNum,collapsedItems:e.collapsedItems,tag:e.tag,value:w.value,valueDisplay:e.valueDisplay,inputValue:t.popupVisible&&t.allowInput?g.value:"",inputProps:on({readonly:!e.allowInput||S.value,inputClass:s({},"".concat(l.value,"-input--focused"),t.popupVisible)},e.inputProps),suffixIcon:!m.value&&e.loading?function(){return y(M,{loading:!0,size:"small"},null)}:e.suffixIcon},e.tagInputProps),a=n.slots;a.tips;var o=E(a,an);return y(rn,O({ref:u},r,{onInputChange:j,onChange:P,onClear:t.onInnerClear,onBlur:I,onEnter:A,onFocus:k}),o)}}}(e,n,w),q=$.isMultipleFocus,Y=$.tagInputRef,K=$.renderSelectMultiple,U=t((function(){return e.multiple?q.value:L.value})),X=t((function(){var e;return["".concat(a.value),s(s(s(s({},f.value,P.value),l.value,k.value),v.value,null!==(e=I.value)&&void 0!==e?e:N.value),g.value,j.value instanceof Array?!j.value.length:!j.value)]})),G=function(t){var r,a=t.code||(null===(r=t.key)||void 0===r?void 0:r.trim());if(/(ArrowDown|ArrowUp)/.test(a)&&!I.value){var l,o=vn(vn({},n),{},{trigger:"trigger-element-focus"});null===(l=e.onPopupVisibleChange)||void 0===l||l.call(e,!0,o)}};u([U],(function(e){var t=p(e,1)[0];I.value||(t?x.value.addEventListener("keydown",G):x.value.removeEventListener("keydown",G))})),i((function(){!I.value&&U&&x.value.addEventListener("keydown",G)})),Z((function(){var e;null===(e=x.value)||void 0===e||e.removeEventListener("keydown",G)}));return{classPrefix:b,NAME_CLASS:a,innerPopupVisible:N,commonInputProps:H,tOverlayInnerStyle:V,selectInputRef:x,popupRef:w,classes:X,onInnerClear:z,renderTNodeJSX:m,renderSelectSingle:W,renderSelectMultiple:K,onOverlayClick:function(t){var n,r;null===(n=t.e)||void 0===n||n.stopPropagation(),t.e.target.tabIndex>=0||e.multiple&&(null===(r=Y.value)||void 0===r||r.focus())},onInnerPopupVisibleChange:R}},render:function(){var e,t,n=this,r={visible:null!==(e=this.popupVisible)&&void 0!==e?e:this.innerPopupVisible},a=y(G,O({ref:"popupRef",trigger:(null===(t=this.popupProps)||void 0===t?void 0:t.trigger)||"click",placement:"bottom-left"},r,{content:this.panel,hideEmptyPopup:!0},vn(vn({onVisibleChange:this.onInnerPopupVisibleChange,onOverlayClick:this.onOverlayClick},this.popupProps),{},{overlayInnerStyle:this.tOverlayInnerStyle})),vn({default:function(){return[n.multiple?n.renderSelectMultiple({commonInputProps:n.commonInputProps,onInnerClear:n.onInnerClear,popupVisible:r.visible,allowInput:n.allowInput}):n.renderSelectSingle(r.visible)]}},vn(vn({},this.$slots),{},{content:this.$slots.panel}))),l=this.renderTNodeJSX("tips"),o=["".concat(this.classPrefix,"-input__tips"),"".concat(this.classPrefix,"-tips"),"".concat(this.classPrefix,"-is-").concat(this.status)];return y("div",{ref:"selectInputRef",class:this.classes},[a,l&&y("div",{class:o},[l])])}})),dn={checkAll:Boolean,content:{type:[String,Function]},default:{type:[String,Function]},disabled:Boolean,label:{type:String,default:""},title:{type:String,default:""},value:{type:[String,Number,Boolean]}}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function hn(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return gn(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?gn(e,t):void 0}}(e))||t){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){u=!0,l=e},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw l}}}}function gn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var bn=Symbol("selectProvide"),yn=function(e,t){var n=t.value.get(e);return(null==n?void 0:n.label)||(null==e?void 0:e.toString())},mn=function(e,t){var n=Q(e),r=n.indexOf(t);return r<0?n.push(t):n.splice(r,1),{value:n,isCheck:r<0}}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function On(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Sn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?On(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):On(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var xn=e({name:"TOption",props:Sn(Sn({},dn),{},{createAble:Boolean,multiple:Boolean,index:Number,rowIndex:Number,trs:Map,scrollType:String,isVirtual:Boolean,bufferSize:Number,checkAll:Boolean}),emits:["row-mounted"],setup:function(e,n){var r=ee(bn),a=d(),l=z().vnode,u=t((function(){return 0!==r.value.max&&r.value.max<=r.value.selectValue.length})),c=t((function(){return a.value||e.multiple&&u.value&&!O.value&&!r.value.isCheckAll})),f=H(),v=F("select"),p=T(),h=p.STATUS,g=p.SIZE,b=o(),m=o(!1),O=t((function(){return!(!r.value.isCheckAll||e.disabled)||(e.multiple?r.value.selectValue.includes(e.value):r.value.selectValue===e.value)})),S=t((function(){return!!e.checkAll&&r.value.indeterminate})),x=t((function(){return["".concat(v.value,"-option"),[g.value[r.value.size]],s(s(s({},h.value.disabled,c.value),h.value.selected,O.value),"".concat(v.value,"-option__hover"),(m.value||r.value.hoverIndex===e.index)&&!c.value)]})),w=t((function(){return e.label||e.value})),_=function(t){if(!e.disabled&&!c.value){if(e.multiple)return P(!O.value,{e:t}),void t.preventDefault();var n,a;if(e.createAble)if(null===(n=(a=r.value).handleCreate)||void 0===n||n.call(a,e.value),r.value.multiple)return void r.value.handleValueChange([].concat(K(r.value.selectValue),[e.value]),{selectedOptions:r.value.getSelectedOptions(),trigger:"check",e:t});var l=r.value.getSelectedOptions(e.value);r.value.handleValueChange(e.value,{option:null==l?void 0:l[0],selectedOptions:l,trigger:"check",e:t}),r.value.handlePopupVisibleChange(!1,{e:t}),r.value.emitBlur(t)}},P=function(t,n){if(e.checkAll)r.value.onCheckAllChange(t);else{var a=mn(r.value.selectValue,e.value),l=r.value.getSelectedOptions(a.value);r.value.handleValueChange(a.value,{option:l.find((function(t){return t.value===e.value})),selectedOptions:l,trigger:t?"check":"uncheck",e:n.e})}};return i((function(){var t=e.trs,r=e.rowIndex;e.isVirtual&&(t.set(r,b.value),n.emit("row-mounted"))})),Z((function(){if(e.isVirtual){var t=e.trs,n=e.rowIndex;t.delete(n)}})),te(b),function(){var t,n,a=f("default","content")||w.value;return y("li",{ref:b,class:x.value,title:(n=l.props||{},Reflect.has(n,"title")?e.title:"string"==typeof w.value?w.value:null),onMouseenter:function(){return m.value=!0},onMouseleave:function(){return m.value=!1},onClick:_},[r&&e.multiple?y(Ae,{checked:O.value,disabled:c.value,onChange:P,indeterminate:S.value},(t=a,"function"==typeof t||"[object Object]"===Object.prototype.toString.call(t)&&!$(t)?a:{default:function(){return[a]}})):y("span",null,[a])])}}}); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function wn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var _n=e({name:"TOptionGroup",props:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?wn(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},{divider:{type:Boolean,default:!0},label:{type:String}}),setup:function(e){var n=ee(bn),r=F("select-option-group"),a=T().SIZE,l=S(),o=t((function(){return[r.value,a.value[n.value.size],s({},"".concat(r.value,"__divider"),e.divider)]}));return function(){var t;return y("li",{class:o.value},[null!==(t=e.label)&&void 0!==t&&t&&y("div",{class:"".concat(r.value,"__header")},[e.label]),l("default")])}}}),Pn={autoWidth:Boolean,autofocus:Boolean,borderless:Boolean,clearable:Boolean,collapsedItems:{type:Function},creatable:Boolean,disabled:{type:Boolean,default:void 0},empty:{type:[String,Function]},filter:{type:Function},filterable:Boolean,inputProps:{type:Object},inputValue:{type:[String,Number],default:void 0},defaultInputValue:{type:[String,Number]},keys:{type:Object},label:{type:[String,Function]},loading:Boolean,loadingText:{type:[String,Function]},max:{type:Number,default:0},minCollapsedNum:{type:Number,default:0},multiple:Boolean,options:{type:Array},panelBottomContent:{type:[String,Function]},panelTopContent:{type:[String,Function]},placeholder:{type:String,default:void 0},popupProps:{type:Object},popupVisible:{type:Boolean,default:void 0},defaultPopupVisible:Boolean,prefixIcon:{type:Function},readonly:{type:Boolean,default:void 0},reserveKeyword:Boolean,scroll:{type:Object},selectInputProps:{type:Object},showArrow:{type:Boolean,default:!0},size:{type:String,default:"medium",validator:function(e){return!e||["small","medium","large"].includes(e)}},status:{type:String,default:"default",validator:function(e){return!e||["default","success","warning","error"].includes(e)}},suffix:{type:[String,Function]},suffixIcon:{type:Function},tagInputProps:{type:Object},tagProps:{type:Object},tips:{type:[String,Function]},value:{type:[String,Number,Boolean,Object,Array],default:void 0},modelValue:{type:[String,Number,Boolean,Object,Array],default:void 0},defaultValue:{type:[String,Number,Boolean,Object,Array],default:void 0},valueDisplay:{type:[String,Function]},valueType:{type:String,default:"value",validator:function(e){return!e||["value","object"].includes(e)}},onBlur:Function,onChange:Function,onClear:Function,onCreate:Function,onEnter:Function,onFocus:Function,onInputChange:Function,onPopupVisibleChange:Function,onRemove:Function,onSearch:Function},Cn=function(e){var n,r,a,s,v,p=t((function(){var t,n,r;return"virtual"===(null===(t=e.scroll)||void 0===t?void 0:t.type)&&(null===(n=e.options.value)||void 0===n?void 0:n.length)>((null===(r=e.scroll)||void 0===r?void 0:r.threshold)||100)})),d="virtual"===(null===(n=e.scroll)||void 0===n?void 0:n.type)?function(e){var n=e.data,r=e.container,a=e.fixedHeight,s=void 0!==a&&a,v=e.lineHeight,p=void 0===v?30:v,d=e.bufferSize,h=void 0===d?20:d,g=e.threshold,b=void 0===g?100:g,y=l({visibleData:[],cachedHeight:[],cachedScrollY:[]}),m=t((function(){return n.value.length>b})),O=o(0),S=new Map,x=0,w=0,_=0,P=0,C=0,j=0,I=function(){n.value.forEach((function(e,t){e.$index=t,s&&(y.cachedScrollY[t]=t*p)})),s||(y.cachedScrollY[n.value.length-1]=void 0)};I();var k=t((function(){var e=y.cachedHeight;if(e.length){var t=e.reduce((function(e,t){return e+t||p}),0);if(e.length===n.value.length)return t;var r=t/e.length;return t+(n.value.length-e.length)*r}return m.value?n.value.length*p:0})),A=t((function(){var e=y.visibleData,t=e[0];return t?1===e.length?0:y.cachedScrollY[t.$index]:0})),F=function(){j=Math.min(C+x+2*h,n.value.length),y.visibleData=n.value.slice(C,j)},D=function(){var e,t=S.get(_);if(t){var a=null==t||null===(e=t.getBoundingClientRect())||void 0===e?void 0:e.height;y.cachedScrollY[_]=r.value.scrollTop-P,y.cachedHeight[_]=a;for(var l=_+1;l<=(null===(o=y.visibleData[y.visibleData.length-1])||void 0===o?void 0:o.$index);l++){var o,u=S.get(l),i=((null==u?void 0:u.getBoundingClientRect())||{}).height;y.cachedHeight[l]=i;var c=y.cachedScrollY[l-1]+y.cachedHeight[l-1];y.cachedScrollY.splice(l,1,c)}for(var s=_-1;s>=(null===(v=y.visibleData[0])||void 0===v?void 0:v.$index);s--){var v,p=S.get(s),d=((null==p?void 0:p.getBoundingClientRect())||{}).height;y.cachedHeight[s]=d;var h=y.cachedScrollY[s+1]-y.cachedHeight[s];y.cachedScrollY.splice(s,1,h)}if(y.cachedScrollY[0]>0){for(var g=y.cachedScrollY[0],b=Math.min(j,n.value.length),m=0;m<b;m++)y.cachedScrollY.splice(m,1,y.cachedScrollY[m]-g);var O=y.cachedScrollY[_-1]?y.cachedScrollY[_-1]+P:P;r.value.scrollTop=O,w=O}if(y.cachedScrollY[C]<0){var x=y.cachedHeight.slice(0,Math.max(0,_)).reduce((function(e,t){return e+t}),0)+P;r.value.scrollTop=x,w=x,0===x&&(_=0,P=0)}f((function(){var e=r.value,t=e.scrollTop,n=e.scrollHeight;if(t+e.clientHeight===n)for(var a=j-1;a>=C;a--)a===j-1?y.cachedScrollY.splice(a,1,n.value-y.cachedHeight[a]):y.cachedScrollY.splice(a,1,y.cachedScrollY[a+1]-y.cachedHeight[a])}))}};!s&&u(O,D,{flush:"post"}),u(n,(function(){I(),y.visibleData=[],y.cachedScrollY=[],y.cachedHeight=[],w=0,_=0,P=0,C=0,S.clear(),n.value.length<=b?y.visibleData=n.value:F(),r.value&&(r.value.scrollTop=0)}));var M=!1,E=function(){M&&(x=Math.ceil(r.value.offsetHeight/p),F())};return i((function(){if(window&&window.IntersectionObserver){var e=new window.IntersectionObserver((function(t){var n=t[0];(n.isIntersecting||n.intersectionRatio)&&(M=!0,m.value&&E(),e.unobserve(r.value))}));r.value&&e.observe(r.value)}})),He(He({trs:S,scrollHeight:k},c(y)),{},{translateY:A,handleScroll:function(){if(m.value){var e=r.value.scrollTop,t=e-w;w=e;var a=_;if(t+=P){if(t>=0){for(;a<n.value.length&&t>(y.cachedHeight[a]||p);)y.cachedHeight[a]||(y.cachedHeight[a]=p),t-=y.cachedHeight[a],a++;a>=n.value.length?(_=n.value.length-1,P=0):(_=a,P=t);var l=r.value;e+l.clientHeight===l.scrollHeight&&(_=n.value.length-x+1),C<=_-h&&(C=Math.min(n.value.length-x,_-h))<0&&(C=0)}else{for(;t<0;)a--,y.cachedHeight[a]||(y.cachedHeight[a]=p),t+=y.cachedHeight[a];a<0?(_=0,P=0):(_=a,P=t),D(),C>_-h&&(C=Math.max(0,_-h))}F()}}},handleRowMounted:function(){m.value&&O.value++},refreshContainer:E,fixedHeight:s,calculateScrollY:D})}({container:e.popupContentRef,data:e.options,fixedHeight:(null===(r=e.scroll)||void 0===r?void 0:r.isFixedRowHeight)||!1,lineHeight:(null===(a=e.scroll)||void 0===a?void 0:a.rowHeight)||28,bufferSize:(null===(s=e.scroll)||void 0===s?void 0:s.bufferSize)||20,threshold:(null===(v=e.scroll)||void 0===v?void 0:v.threshold)||100}):{},h=d.trs,g=void 0===h?null:h,b=d.visibleData,y=void 0===b?null:b,m=d.handleScroll,O=void 0===m?null:m,S=d.scrollHeight,x=void 0===S?null:S,w=d.translateY,_=void 0===w?null:w,P=d.handleRowMounted,C=void 0===P?null:P,j=-1,I=function(e){if(p.value){var t=e.target.scrollTop;Math.abs(j-t)>5?(O(),j=t):j=-1}};i((function(){var t;null===(t=e.popupContentRef.value)||void 0===t||t.addEventListener("scroll",I)})),Z((function(){var t;null===(t=e.popupContentRef.value)||void 0===t||t.removeEventListener("scroll",I)}));var k=t((function(){return{position:"absolute",width:"1px",height:"1px",transition:"transform 0.2s",transform:"translate(0, ".concat(x.value,"px)"),"-ms-transform":"translate(0, ".concat(x.value,"px)"),"-moz-transform":"translate(0, ".concat(x.value,"px)"),"-webkit-transform":"translate(0, ".concat(x.value,"px)")}})),A=t((function(){return{transform:"translate(0, ".concat(_.value,"px)"),"-ms-transform":"translate(0, ".concat(_.value,"px)"),"-moz-transform":"translate(0, ".concat(_.value,"px)"),"-webkit-transform":"translate(0, ".concat(_.value,"px)")}}));return{trs:g,scrollHeight:x,translateY:_,visibleData:y,handleRowMounted:C,isVirtual:p,cursorStyle:k,panelStyle:A}}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var jn=e({name:"TSelectPanel",props:{inputValue:Pn.inputValue,panelTopContent:Pn.panelTopContent,panelBottomContent:Pn.panelBottomContent,empty:Pn.empty,creatable:Pn.creatable,loading:Pn.loading,loadingText:Pn.loadingText,multiple:Pn.multiple,filterable:Pn.filterable,filter:Pn.filter,scroll:Pn.scroll,size:Pn.size},setup:function(e,n){var r=n.expose,a=F("select"),l=S(),u=re(),i=N("select"),c=i.t,s=i.globalConfig,f=ee(bn),v=o(null),p=t((function(){return f.value.popupContentRef.value})),d=t((function(){return e.creatable&&e.filterable&&e.inputValue})),h=t((function(){return f.value.displayOptions})),g=Cn({scroll:e.scroll,popupContentRef:p,options:h}),b=g.trs,m=g.visibleData,x=g.handleRowMounted,w=g.isVirtual,_=g.panelStyle,P=g.cursorStyle,C=t((function(){return!h.value.length})),j=function(t){return y("ul",{class:"".concat(a.value,"__list")},[t.map((function(t,n){var r,a,l,o;return t.children?y(_n,{label:t.group,divider:t.divider},"function"==typeof(o=l=j(t.children))||"[object Object]"===Object.prototype.toString.call(o)&&!$(o)?l:{default:function(){return[l]}}):y(xn,O(ae(t,"index","$index","className","tagName"),w.value?{rowIndex:t.$index,trs:b,scrollType:null===(r=e.scroll)||void 0===r?void 0:r.type,isVirtual:w.value,bufferSize:null===(a=e.scroll)||void 0===a?void 0:a.bufferSize,key:"".concat(t.$index||"","_").concat(n,"_").concat(t.value)}:{key:"".concat(n,"_").concat(t.value)},{index:n,multiple:e.multiple,onRowMounted:x}),t.slots)}))])},I=t((function(){return{small:"s",medium:"m",large:"l"}[f.value.size]}));r({innerRef:v,visibleData:m,isVirtual:w,displayOptions:h});return{renderPanel:function(t,n){return y("div",{ref:v,class:["".concat(a.value,"__dropdown-inner"),"".concat(a.value,"__dropdown-inner--size-").concat(I.value)],style:n},[d.value&&y("ul",{class:["".concat(a.value,"__create-option"),"".concat(a.value,"__list")]},[y(xn,{value:e.inputValue,label:"".concat(e.inputValue),createAble:!0,class:"".concat(a.value,"__create-option--special")},null)]),e.loading&&u("loadingText",{defaultNode:y("div",{class:"".concat(a.value,"__loading-tips")},[c(s.value.loadingText)])}),!e.loading&&C.value&&!d.value&&y("div",{class:"".concat(a.value,"__empty")},[l("empty")||c(s.value.empty)]),!C.value&&j(t)])},panelStyle:_,cursorStyle:P,isVirtual:w,displayOptions:h,visibleData:m,renderTNodeJSX:l}},render:function(){return this.isVirtual?y(ne,null,[this.renderTNodeJSX("panelTopContent"),y("div",null,[y("div",{style:this.cursorStyle},null),this.renderPanel(this.visibleData,this.panelStyle)]),this.renderTNodeJSX("panelBottomContent")]):y(ne,null,[this.renderTNodeJSX("panelTopContent"),this.renderPanel(this.displayOptions),this.renderTNodeJSX("panelBottomContent")])}}); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function In(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return kn(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?kn(e,t):void 0}}(e))||t){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){u=!0,l=e},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw l}}}}function kn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function An(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Fn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?An(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):An(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +var Dn=["overlayClassName"];function Mn(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return En(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?En(e,t):void 0}}(e))||t){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){u=!0,l=e},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw l}}}}function En(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Vn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Bn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vn(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Nn=x(e({name:"TSelect",props:Bn(Bn({},Pn),{},{valueDisplayOptions:{type:Object}}),setup:function(e,n){var r=n.slots,a=F(),l=d(),i=h(),g=S(),b=F("select"),m=N("select"),x=m.globalConfig,w=m.t,_=c(e),P=_.popupVisible,C=_.inputValue,j=_.modelValue,I=_.value,k=D(C,e.defaultInputValue,e.onInputChange,"inputValue"),A=p(k,2),M=A[0],V=A[1],R=v(I,j,e.defaultValue,e.onChange),T=p(R,2),L=T[0],H=T[1],z=o(null),W=o(null),$=t((function(){var t,n,r;return{label:(null===(t=e.keys)||void 0===t?void 0:t.label)||"label",value:(null===(n=e.keys)||void 0===n?void 0:n.value)||"value",disabled:(null===(r=e.keys)||void 0===r?void 0:r.disabled)||"disabled"}})),q=function(e,n,r){var a=le(),l=o([]),u=t((function(){var t,r=0,l=(null===(t=e.options)||void 0===t?void 0:t.map((function(e){var t=function(e){var t=n.value,a=t.value,l=t.label,o=t.disabled,u=Fn(Fn({},e),{},{index:r,label:oe(e,l),value:oe(e,a),disabled:oe(e,o)||!1});return r++,u};return e.children?Fn(Fn({},e),{},{children:e.children.map((function(e){return t(e)}))}):t(e)})))||[],o=a("Option"),u=a("OptionGroup");if(U(u)){var i,c=In(u);try{for(c.s();!(i=c.n()).done;){var s,f=i.value,v=Fn(Fn({group:null===(s=f.props)||void 0===s?void 0:s.label},f.props),{},{children:[]}),p=a("Option",f.children);if(U(p)){var d,h=In(p);try{for(h.s();!(d=h.n()).done;){var g=d.value;v.children.push(Fn(Fn({},g.props),{},{slots:g.children,index:r})),r++}}catch(O){h.e(O)}finally{h.f()}l.push(v)}}}catch(O){c.e(O)}finally{c.f()}}if(U(o)){var b,y=In(o);try{for(y.s();!(b=y.n()).done;){var m=b.value;l.push(Fn(Fn({},m.props),{},{slots:m.children,index:r})),r++}}catch(O){y.e(O)}finally{y.f()}}return l})),i=t((function(){var e=[],t=function(n){var r,a=In(n);try{for(a.s();!(r=a.n()).done;){var l=r.value;l.children?t(l.children):e.push(l)}}catch(o){a.e(o)}finally{a.f()}};return t(u.value),e})),c=t((function(){var e=new Map;return l.value.concat(i.value).forEach((function(t){e.set(t.value,t)})),e})),s=t((function(){if(e.onSearch&&e.filterable)return u.value;if(!r.value||!e.filterable&&!B(e.filter))return u.value;var t=function(t){var n,a;return B(e.filter)?e.filter("".concat(r.value),t):(null===(n=t.label)||void 0===n||null===(a=n.toLowerCase)||void 0===a?void 0:a.call(n).indexOf("".concat(r.value).toLowerCase()))>-1},n=[];return u.value.forEach((function(e){e.children&&n.push(Fn(Fn({},e),{},{children:e.children.filter(t)})),t(e)&&n.push(e)})),n}));return{options:u,optionsMap:c,optionsList:i,optionsCache:l,displayOptions:s}}(e,$,M),Y=q.optionsMap,X=q.optionsList,J=q.optionsCache,Z=q.displayOptions,G=t((function(){return void 0===L.value?e.multiple?[]:void 0:"object"===e.valueType?e.multiple?L.value.map((function(e){return e[$.value.value]})):L.value[$.value.value]:L.value})),ee=function(t,n){if("object"===e.valueType){var r=$.value,a=r.value,l=r.label,o=function(e){if(void 0!==e){var t=Y.value.get(e);return s(s({},a,oe(t,a)),l,oe(t,l))}};t=e.multiple?t.map((function(e){return o(e)})):o(t)}t!==L.value&&(e.multiple&&!e.reserveKeyword&&V(""),H(t,Bn({selectedOptions:Se(t)},n)))},te=D(P,!1,(function(t,n){var r;null===(r=e.onPopupVisibleChange)||void 0===r||r.call(e,t,n)}),"popupVisible"),ne=p(te,2),re=ne[0],ae=ne[1],ve=t((function(){var t;return null!==(t=!e.multiple&&re.value&&yn(G.value,Y)||e.placeholder)&&void 0!==t?t:w(x.value.placeholder)})),pe=t((function(){return e.multiple?function(e,t){var n,r=[],a=hn(e);try{for(a.s();!(n=a.n()).done;){var l=n.value,o=yn(l,t);o&&r.push(o)}}catch(u){a.e(u)}finally{a.f()}return r}(G.value,Y):yn(G.value,Y)})),de=t((function(){var t,n=e.multiple&&U(G.value)?G.value.map((function(e){var t;return{value:e,label:null===(t=Y.value.get(e))||void 0===t?void 0:t.label}})):G.value,r={value:n,onClose:e.multiple?function(e){return be(e)}:function(){}};return e.multiple||Object.assign(r,{label:pe.value}),e.minCollapsedNum&&e.multiple?Bn(Bn({},r),{},{displayValue:null==n||null===(t=n.slice)||void 0===t?void 0:t.call(n,0,e.minCollapsedNum)}):r})),he=t((function(){return Boolean(e.filterable||x.value.filterable||B(e.filter))})),ge=t((function(){return Boolean((e.filterable||x.value.filterable)&&B(e.onSearch))})),be=function(t,n){var r,a=Q(G.value),l=a[t];a.splice(t,1),ee(a,{selectedOptions:Se(a),trigger:"tag-remove",e:n}),null===(r=e.onRemove)||void 0===r||r.call(e,{value:l,data:Y.value.get(l),e:n})},ye=function(){var t;M.value&&(null===(t=e.onCreate)||void 0===t||t.call(e,M.value),re.value||V(""))},me=t((function(){var e;return null===(e=W.value)||void 0===e?void 0:e.popupRef.getOverlay()})),Oe=t((function(){return X.value.filter((function(e){return!e.disabled&&!e["check-all"]&&!e.checkAll}))})),Se=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:G.value;return X.value.filter((function(t){if(!t.checkAll)return U(e)?e.includes(t.value):e===t.value}))},xe= +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function(e){var t=e.displayOptions,n=e.optionsList,r=e.innerPopupVisible,a=e.setInnerPopupVisible,l=e.selectPanelRef,i=e.isFilterable,c=e.isRemoteSearch,s=e.getSelectedOptions,f=e.setInnerValue,v=e.innerValue,p=e.popupContentRef,d=e.multiple,h=e.max,g=o(-1),b=o([]),y=o([]),m=F();return u(r,(function(e){e&&(g.value=-1,y.value=[],b.value=[])})),u(g,(function(e){var t,n=(null===(t=l.value)||void 0===t||null===(t=t.innerRef)||void 0===t||null===(t=t.querySelector(".".concat(m.value,"-select-option")))||void 0===t?void 0:t.clientHeight)*e;p.value.scrollTo({top:n,behavior:"smooth"})})),{hoverIndex:g,handleKeyDown:function(e){var o,u,p=t.value.length,m=g.value;switch(e.code){case"ArrowUp":e.preventDefault(),-1===g.value?m=0:0===g.value||g.value>t.value.length-1?m=p-1:m--,null!==(o=n.value[m])&&void 0!==o&&o.disabled&&m--,g.value=m;break;case"ArrowDown":e.preventDefault(),-1===g.value||g.value>=p-1?m=0:m++,null!==(u=n.value[m])&&void 0!==u&&u.disabled&&m++,g.value=m;break;case"Enter":if(-1===g.value)break;var O=l.value.isVirtual&&i.value&&y.value.length?y.value:c.value?n.value:b.value;if(O.length||(O=n.value),!r.value){a(!0,{e:e});break}if(d){var S;if(-1===g.value)return;var x=null===(S=O[g.value])||void 0===S?void 0:S.value;if(!x)return;var w=mn(v.value,x);if(h>0&&w.value.length>h)return;var _=s(w.value);f(w.value,{option:_.find((function(e){return e.value==x})),selectedOptions:_,trigger:w.isCheck?"check":"uncheck",e:e}),b.value=[]}else{var P=s(O[g.value].value);f(O[g.value].value,{option:null==P?void 0:P[0],selectedOptions:s(O[g.value].value),trigger:"check",e:e}),a(!1,{e:e})}break;case"Escape":a(!1,{e:e})}},virtualFilteredOptions:y,filteredOptions:b}}({displayOptions:Z,optionsList:X,innerPopupVisible:re,setInnerPopupVisible:ae,selectPanelRef:z,isFilterable:he,isRemoteSearch:ge,getSelectedOptions:Se,setInnerValue:ee,innerValue:G,popupContentRef:me,multiple:e.multiple,max:e.max}),we=xe.hoverIndex,_e=xe.virtualFilteredOptions,Pe=xe.handleKeyDown,Ce=xe.filteredOptions,je=function(t){if(e.multiple){var n=G.value.filter((function(e){return X.value.find((function(t){return t.value===e&&t.disabled}))})),r=Oe.value.map((function(e){return e.value})),a=K(t?new Set([].concat(K(r),K(n))):n);ee(a,{selectedOptions:Se(a),trigger:t?"check":"clear"})}},Ie=t((function(){var e=Oe.value.map((function(e){return e.value}));return Fe(G.value,e).length})),ke=t((function(){return Ie.value===Oe.value.length})),Ae=t((function(){return!ke.value&&0!==Ie.value})),De=t((function(){return{max:e.max,multiple:e.multiple,hoverIndex:we.value,selectValue:G.value,reserveKeyword:e.reserveKeyword,handleValueChange:ee,handlerInputChange:V,handlePopupVisibleChange:ae,handleCreate:ye,size:e.size,popupContentRef:me,indeterminate:Ae.value,isCheckAll:ke.value,onCheckAllChange:je,getSelectedOptions:Se,displayOptions:Z.value,emitBlur:Be}}));ue(bn,De);var Me=function(){!e.multiple&&U(L.value)&&H(void 0,{selectedOptions:[],trigger:"default"}),e.multiple&&!U(L.value)&&H([],{selectedOptions:[],trigger:"default"})},Ee=ie((function(t,n){var r,a=n.e;null===(r=e.onSearch)||void 0===r||r.call(e,"".concat(t),{e:a})}),300),Ve=function(e,t){e&&!re.value&&ae(!0,{e:t.e}),V(e),Ee("".concat(e),{e:t.e}),f((function(){var e,t;_e.value=null===(e=z.value)||void 0===e?void 0:e.visibleData,Ce.value=null===(t=z.value)||void 0===t?void 0:t.displayOptions}))},Be=function(t){var n;null===(n=e.onBlur)||void 0===n||n.call(e,{e:t,value:G.value})},Ne=function(e,t){ae(e,t),e&&"trigger-element-click"===t.trigger&&V("")},Re=function(){var t=se(fe.mark((function t(n){var r,a,l;return fe.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(l=e.popupProps,!e.loading){t.next=3;break}return t.abrupt("return");case 3:null==l||null===(r=l["on-scroll-to-bottom"])||void 0===r||r.call(l,n),null==l||null===(a=l.onScrollToBottom)||void 0===a||a.call(l,n);case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();u(L,(function(t){Me(),f((function(){!function(t){if(e.multiple){var n,r=[],a=Mn(t||[]);try{for(a.s();!(n=a.n()).done;){var l=n.value,o=Y.value.get(l);o&&r.push(o)}}catch(i){a.e(i)}finally{a.f()}J.value=Array.from(new Set([].concat(r,K(J.value))))}else{var u=Y.value.get(t);u&&(J.value=Array.from(new Set([u].concat(K(J.value)))))}}(t)}))}),{immediate:!0}),u((function(){return e.multiple}),(function(){Me()}));return ue("updateScrollTop",(function(e){var t;if(z.value){var n=null===(t=z.value)||void 0===t||null===(t=t.innerRef)||void 0===t?void 0:t.querySelector(".".concat(a.value,"-is-selected"));f((function(){if(n&&e){var t=getComputedStyle(n).paddingBottom,r=getComputedStyle(e).marginBottom,a=parseInt(t,10)+parseInt(r,10),l=n.offsetTop-e.offsetTop-(e.clientHeight-n.clientHeight)+a;e.scrollTop=l}}))}})),function(){var t=e.popupProps||{},n=t.overlayClassName,a=E(t,Dn);return y("div",{class:"".concat(b.value,"__wrap")},[y(pn,O({autoWidth:e.autoWidth,readonly:i.value,borderless:e.borderless,multiple:e.multiple,clearable:e.clearable,loading:e.loading,status:e.status,tips:e.tips,minCollapsedNum:e.minCollapsedNum,autofocus:e.autofocus,suffix:e.suffix,valueDisplayOptions:e.valueDisplayOptions},{ref:W,class:b.value,value:pe.value,disabled:l.value,popupVisible:re.value,inputValue:re.value?M.value:"",placeholder:"".concat(ve.value),allowInput:he.value,"collapsed-items":e.collapsedItems,inputProps:Bn(Bn({size:e.size,autofocus:e.autofocus},e.inputProps),{},{onkeydown:Pe}),tagInputProps:Bn({size:e.size},e.tagInputProps),onTagChange:function(e,t){be(t.index)},tagProps:Bn({},e.tagProps),popupProps:Bn(Bn({overlayClassName:["".concat(b.value,"__dropdown"),n]},a),{},{onScrollToBottom:Re}),label:e.label,prefixIcon:e.prefixIcon,suffix:e.suffix,suffixIcon:function(){return e.suffixIcon||r.suffixIcon?g("suffixIcon"):e.showArrow&&y(ce,{overlayClassName:"".concat(b.value,"__right-icon"),isActive:re.value},null)},valueDisplay:function(){return g("valueDisplay",{params:de.value})},onPopupVisibleChange:Ne,onInputChange:Ve,onClear:function(t){var n,r=t.e;ee(e.multiple?[]:void 0,{option:null,selectedOptions:Se(e.multiple?[]:void 0),trigger:"clear",e:r}),null===(n=e.onClear)||void 0===n||n.call(e,{e:r})},onEnter:function(t,n){var r=n.e;setTimeout((function(){var t;null===(t=e.onEnter)||void 0===t||t.call(e,{inputValue:"".concat(M.value),e:r,value:G.value}),ye()}),0)},onBlur:function(t,n){var r,a=n.e;null===(r=e.onBlur)||void 0===r||r.call(e,{e:a,value:G.value})},onFocus:function(t,n){var r,a=n.e;null===(r=e.onFocus)||void 0===r||r.call(e,{e:a,value:G.value})}},e.selectInputProps),{label:r.label,prefixIcon:r.prefixIcon,suffix:r.suffix,panel:function(){return y(jn,O({ref:z},rt(e,["size","multiple","empty","loading","loadingText","filterable","creatable","panelTopContent","panelBottomContent","filter","scroll"]),{inputValue:M.value}),r)},collapsedItems:r.collapsedItems})])}}})),Rn=x(xn); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */x(_n); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +var Tn=Xe;var Ln,Hn,zn=function(e,t,n){return null==e?e:Tn(e,t,n)},Wn={exports:{}},$n={exports:{}}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */Ln=$n,Hn=$n.exports,Object.defineProperty(Hn,"__esModule",{value:!0}),Hn.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;for(var n in t)void 0===e[n]&&(e[n]=t[n]);return e},Ln.exports=Hn.default,Ln.exports.default=Hn.default,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){t="string"==typeof t?(0,r.default)({format:t},o):(0,r.default)(t,o);if("string"==typeof e&&(O=t.format,/(^(y{4}|y{2})[.\/-](m{1,2})[.\/-](d{1,2})$)|(^(m{1,2})[.\/-](d{1,2})[.\/-]((y{4}|y{2})$))|(^(d{1,2})[.\/-](m{1,2})[.\/-]((y{4}|y{2})$))/gi.test(O))){var n,l=t.delimiters.find((function(e){return-1!==t.format.indexOf(e)})),u=t.strictMode?l:t.delimiters.find((function(t){return-1!==e.indexOf(t)})),i=function(e,t){for(var n=[],r=Math.min(e.length,t.length),a=0;a<r;a++)n.push([e[a],t[a]]);return n}(e.split(u),t.format.toLowerCase().split(l)),c={},s=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=a(e))||t){n&&(e=n);var r=0,l=function(){};return{s:l,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:l}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,u=!0,i=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return u=e.done,e},e:function(e){i=!0,o=e},f:function(){try{u||null==n.return||n.return()}finally{if(i)throw o}}}}(i);try{for(s.s();!(n=s.n()).done;){var f=(y=n.value,m=2,function(e){if(Array.isArray(e))return e}(y)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,l,o,u=[],i=!0,c=!1;try{if(l=(n=n.call(e)).next,0===t);else for(;!(i=(r=l.call(n)).done)&&(u.push(r.value),u.length!==t);i=!0);}catch(s){c=!0,a=s}finally{try{if(!i&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw a}}return u}}(y,m)||a(y,m)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),v=f[0],p=f[1];if(v.length!==p.length)return!1;c[p.charAt(0)]=v}}catch(S){s.e(S)}finally{s.f()}var d=c.y;if(d.startsWith("-"))return!1;if(2===c.y.length){var h=parseInt(c.y,10);if(isNaN(h))return!1;d=h<(new Date).getFullYear()%100?"20".concat(c.y):"19".concat(c.y)}var g=c.m;1===c.m.length&&(g="0".concat(c.m));var b=c.d;return 1===c.d.length&&(b="0".concat(c.d)),new Date("".concat(d,"-").concat(g,"-").concat(b,"T00:00:00.000Z")).getUTCDate()===+c.d}var y,m;var O;if(!t.strictMode)return"[object Date]"===Object.prototype.toString.call(e)&&isFinite(e);return!1};var n,r=(n=$n.exports)&&n.__esModule?n:{default:n};function a(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var o={format:"YYYY/MM/DD",delimiters:["/","-"],strictMode:!1};e.exports=t.default,e.exports.default=t.default}(Wn,Wn.exports);var qn=ge(Wn.exports),Yn={exports:{}},Kn={exports:{}};!function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!("string"==typeof e||e instanceof String)){var t=n(e);throw null===e?t="null":"object"===t&&(t=e.constructor.name),new TypeError("Expected a string but received a ".concat(t))}},e.exports=t.default,e.exports.default=t.default}(Kn,Kn.exports);var Un={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,l;(0,r.default)(e),"object"===a(t)?(n=t.min||0,l=t.max):(n=arguments[1],l=arguments[2]);var o=encodeURI(e).split(/%..|./).length-1;return o>=n&&(void 0===l||o<=l)};var n,r=(n=Kn.exports)&&n.__esModule?n:{default:n};function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}e.exports=t.default,e.exports.default=t.default}(Un,Un.exports);var Xn={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,n.default)(e),(t=(0,r.default)(t,l)).allow_trailing_dot&&"."===e[e.length-1]&&(e=e.substring(0,e.length-1));!0===t.allow_wildcard&&0===e.indexOf("*.")&&(e=e.substring(2));var a=e.split("."),o=a[a.length-1];if(t.require_tld){if(a.length<2)return!1;if(!t.allow_numeric_tld&&!/^([a-z\u00A1-\u00A8\u00AA-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}|xn[a-z0-9-]{2,})$/i.test(o))return!1;if(/\s/.test(o))return!1}if(!t.allow_numeric_tld&&/^\d+$/.test(o))return!1;return a.every((function(e){return!(e.length>63&&!t.ignore_max_length)&&(!!/^[a-z_\u00a1-\uffff0-9-]+$/i.test(e)&&(!/[\uff01-\uff5e]/.test(e)&&(!/^-|-$/.test(e)&&!(!t.allow_underscores&&/_/.test(e)))))}))};var n=a(Kn.exports),r=a($n.exports);function a(e){return e&&e.__esModule?e:{default:e}}var l={require_tld:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_numeric_tld:!1,allow_wildcard:!1,ignore_max_length:!1};e.exports=t.default,e.exports.default=t.default}(Xn,Xn.exports);var Jn={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if((0,r.default)(t),!(n=String(n)))return e(t,4)||e(t,6);if("4"===n)return o.test(t);if("6"===n)return i.test(t);return!1};var n,r=(n=Kn.exports)&&n.__esModule?n:{default:n};var a="(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])",l="(".concat(a,"[.]){3}").concat(a),o=new RegExp("^".concat(l,"$")),u="(?:[0-9a-fA-F]{1,4})",i=new RegExp("^("+"(?:".concat(u,":){7}(?:").concat(u,"|:)|")+"(?:".concat(u,":){6}(?:").concat(l,"|:").concat(u,"|:)|")+"(?:".concat(u,":){5}(?::").concat(l,"|(:").concat(u,"){1,2}|:)|")+"(?:".concat(u,":){4}(?:(:").concat(u,"){0,1}:").concat(l,"|(:").concat(u,"){1,3}|:)|")+"(?:".concat(u,":){3}(?:(:").concat(u,"){0,2}:").concat(l,"|(:").concat(u,"){1,4}|:)|")+"(?:".concat(u,":){2}(?:(:").concat(u,"){0,3}:").concat(l,"|(:").concat(u,"){1,5}|:)|")+"(?:".concat(u,":){1}(?:(:").concat(u,"){0,4}:").concat(l,"|(:").concat(u,"){1,6}|:)|")+"(?::((?::".concat(u,"){0,5}:").concat(l,"|(?::").concat(u,"){1,7}|:))")+")(%[0-9a-zA-Z-.:]{1,})?$");e.exports=t.default,e.exports.default=t.default}(Jn,Jn.exports),function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,n.default)(e),(t=(0,o.default)(t,i)).require_display_name||t.allow_display_name){var u=e.match(c);if(u){var g=u[1];if(e=e.replace(g,"").replace(/(^<|>$)/g,""),g.endsWith(" ")&&(g=g.slice(0,-1)),!function(e){var t=e.replace(/^"(.+)"$/,"$1");if(!t.trim())return!1;if(/[\.";<>]/.test(t)){if(t===e)return!1;if(!(t.split('"').length===t.split('\\"').length))return!1}return!0}(g))return!1}else if(t.require_display_name)return!1}if(!t.ignore_max_length&&e.length>h)return!1;var b=e.split("@"),y=b.pop(),m=y.toLowerCase();if(t.host_blacklist.includes(m))return!1;if(t.host_whitelist.length>0&&!t.host_whitelist.includes(m))return!1;var O=b.join("@");if(t.domain_specific_validation&&("gmail.com"===m||"googlemail.com"===m)){var S=(O=O.toLowerCase()).split("+")[0];if(!(0,r.default)(S.replace(/\./g,""),{min:6,max:30}))return!1;for(var x=S.split("."),w=0;w<x.length;w++)if(!f.test(x[w]))return!1}if(!(!1!==t.ignore_max_length||(0,r.default)(O,{max:64})&&(0,r.default)(y,{max:254})))return!1;if(!(0,a.default)(y,{require_tld:t.require_tld,ignore_max_length:t.ignore_max_length,allow_underscores:t.allow_underscores})){if(!t.allow_ip_domain)return!1;if(!(0,l.default)(y)){if(!y.startsWith("[")||!y.endsWith("]"))return!1;var _=y.slice(1,-1);if(0===_.length||!(0,l.default)(_))return!1}}if('"'===O[0])return O=O.slice(1,O.length-1),t.allow_utf8_local_part?d.test(O):v.test(O);for(var P=t.allow_utf8_local_part?p:s,C=O.split("."),j=0;j<C.length;j++)if(!P.test(C[j]))return!1;if(t.blacklisted_chars&&-1!==O.search(new RegExp("[".concat(t.blacklisted_chars,"]+"),"g")))return!1;return!0};var n=u(Kn.exports),r=u(Un.exports),a=u(Xn.exports),l=u(Jn.exports),o=u($n.exports);function u(e){return e&&e.__esModule?e:{default:e}}var i={allow_display_name:!1,allow_underscores:!1,require_display_name:!1,allow_utf8_local_part:!0,require_tld:!0,blacklisted_chars:"",ignore_max_length:!1,host_blacklist:[],host_whitelist:[]},c=/^([^\x00-\x1F\x7F-\x9F\cX]+)</i,s=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i,f=/^[a-z\d]+$/,v=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i,p=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A1-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i,d=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*$/i,h=254;e.exports=t.default,e.exports.default=t.default}(Yn,Yn.exports);var Zn=ge(Yn.exports),Gn={exports:{}};function Qn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function er(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qn(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function tr(e){return"[object Date]"!==Object.prototype.toString.call(e)&&(C(e)?pe(e):["",void 0,null].includes(e))}!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,n.default)(e),!e||/[\s<>]/.test(e))return!1;if(0===e.indexOf("mailto:"))return!1;if((t=(0,l.default)(t,i)).validate_length&&e.length>=2083)return!1;if(!t.allow_fragments&&e.includes("#"))return!1;if(!t.allow_query_components&&(e.includes("?")||e.includes("&")))return!1;var o,f,v,p,d,h,g,b;if(g=e.split("#"),e=g.shift(),g=e.split("?"),e=g.shift(),(g=e.split("://")).length>1){if(o=g.shift().toLowerCase(),t.require_valid_protocol&&-1===t.protocols.indexOf(o))return!1}else{if(t.require_protocol)return!1;if("//"===e.slice(0,2)){if(!t.allow_protocol_relative_urls)return!1;g[0]=e.slice(2)}}if(""===(e=g.join("://")))return!1;if(g=e.split("/"),""===(e=g.shift())&&!t.require_host)return!0;if((g=e.split("@")).length>1){if(t.disallow_auth)return!1;if(""===g[0])return!1;if((f=g.shift()).indexOf(":")>=0&&f.split(":").length>2)return!1;var y=f.split(":"),m=(w=2,function(e){if(Array.isArray(e))return e}(x=y)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,l,o,u=[],i=!0,c=!1;try{if(l=(n=n.call(e)).next,0===t);else for(;!(i=(r=l.call(n)).done)&&(u.push(r.value),u.length!==t);i=!0);}catch(s){c=!0,a=s}finally{try{if(!i&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw a}}return u}}(x,w)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}(x,w)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),O=m[0],S=m[1];if(""===O&&""===S)return!1}var x,w;p=g.join("@"),h=null,b=null;var _=p.match(c);_?(v="",b=_[1],h=_[2]||null):(v=(g=p.split(":")).shift(),g.length&&(h=g.join(":")));if(null!==h&&h.length>0){if(d=parseInt(h,10),!/^[0-9]+$/.test(h)||d<=0||d>65535)return!1}else if(t.require_port)return!1;if(t.host_whitelist)return s(v,t.host_whitelist);if(""===v&&!t.require_host)return!0;if(!((0,a.default)(v)||(0,r.default)(v,t)||b&&(0,a.default)(b,6)))return!1;if(v=v||b,t.host_blacklist&&s(v,t.host_blacklist))return!1;return!0};var n=o(Kn.exports),r=o(Xn.exports),a=o(Jn.exports),l=o($n.exports);function o(e){return e&&e.__esModule?e:{default:e}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var i={protocols:["http","https","ftp"],require_tld:!0,require_protocol:!1,require_host:!0,require_port:!1,require_valid_protocol:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_protocol_relative_urls:!1,allow_fragments:!0,allow_query_components:!0,validate_length:!0},c=/^\[([^\]]+)\](?::([0-9]+))?$/;function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];if(e===r||(a=r,"[object RegExp]"===Object.prototype.toString.call(a)&&r.test(e)))return!0}var a;return!1}e.exports=t.default,e.exports.default=t.default}(Gn,Gn.exports);var nr={date:qn,url:ge(Gn.exports),email:Zn,required:function(e){return!tr(e)},whitespace:function(e){return!(/^\s+$/.test(e)||""===e)},boolean:function(e){return ve(e)},max:function(e,t){return de(e)?e<=t:he(e)<=t},min:function(e,t){return de(e)?e>=t:he(e)>=t},len:function(e,t){return he(String(e))===t},number:function(e){return de(e)},enum:function(e,t){return t.includes(e)},idcard:function(e){return/^(\d{18,18}|\d{15,15}|\d{17,17}x)$/i.test(e)},telnumber:function(e){return/^1[3-9]\d{9}$/.test(e)},pattern:function(e,t){return t.test(e)},validator:function(e,t){return t(e)}};function rr(e,t){return ar.apply(this,arguments)}function ar(){return(ar=se(fe.mark((function e(t,n){var r,a,l,o,u,i,c;return fe.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r={result:!0},a=Object.keys(n),u=0;case 3:if(!(u<a.length)){e.next=15;break}if(i=a[u],n.required||!tr(t)||n.validator){e.next=7;break}return e.abrupt("return",r);case 7:if(!(c=nr[i])||!n[i]&&0!==n[i]){e.next=12;break}return l=!0===n[i]?void 0:n[i],o=c,e.abrupt("break",15);case 12:u++,e.next=3;break;case 15:if(!o){e.next=23;break}return e.next=18,o(t,l);case 18:if(r=e.sent,!ve(r)){e.next=21;break}return e.abrupt("return",er(er({},n),{},{result:r}));case 21:if(!C(r)){e.next=23;break}return e.abrupt("return",r);case 23:return e.abrupt("return",r);case 24:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function lr(e,t){return or.apply(this,arguments)}function or(){return(or=se(fe.mark((function e(t,n){var r,a;return fe.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.map((function(e){return rr(t,e)})),e.next=3,Promise.all(r);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}export{We as I,Rn as O,Nn as S,Gt as T,Qe as _,Ve as c,rt as p,zn as s,ht as t,lr as v}; diff --git a/.output/public/assets/help-DgjZXkOL.js b/.output/public/assets/help-DgjZXkOL.js new file mode 100644 index 0000000000000000000000000000000000000000..32192bed8a327bf48aa60b736be8ca8caf19f1e1 --- /dev/null +++ b/.output/public/assets/help-DgjZXkOL.js @@ -0,0 +1 @@ +import{F as e}from"./FrameContent-D2QyFMUH.js";import{a as t}from"./fetch-C6zEckB6.js";import{d as a,j as s,o as r,f as m}from"./main-DzSNOqOC.js";import"./debounce-DjqSSMbT.js";const o=a({__name:"help",setup(a){const o=s(`${t()}/docs/index.html?t=${(new Date).getTime()}`);return(t,a)=>(r(),m(e,{frameSrc:o.value},null,8,["frameSrc"]))}});export{o as default}; diff --git a/.output/public/assets/index-AcVMv_6j.js b/.output/public/assets/index-AcVMv_6j.js new file mode 100644 index 0000000000000000000000000000000000000000..e0ec55672180f1db2de45dbe87161ea4c61b9726 --- /dev/null +++ b/.output/public/assets/index-AcVMv_6j.js @@ -0,0 +1 @@ +import{d as e,b as a,H as t,I as n,J as l,o as s,f as r,q as i,p as o,s as u,a9 as d,x as c,A as v,G as p,D as g,u as m,j as f,w as b,B as h,e as _,y,t as j,M as x,i as z,c as w,R as O,aw as C,F as D,z as k,E as S}from"./main-DzSNOqOC.js";import{d as V}from"./delete-1-BqRz4NQH.js";import{_ as P}from"./avatar.vue_vue_type_script_setup_true_lang-B0fdXq3h.js";import{D as U}from"./index-DmWclHlm.js";import{v as A}from"./v4-_R2nDvl_.js";import{I as q}from"./index-pjvKxr27.js";import{F as H,a as R}from"./index-DmTGWjjO.js";import{T as B}from"./index-Kxldlx3l.js";import{P as E}from"./index-CSsUEF1T.js";import"./refresh-BD1L4aGQ.js";import"./form-model-CXHJGOsj.js";import"./index-C2aHaTIl.js";import"./ellipsis-DKSeG7Zz.js";function F(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function I(e){for(var a=1;a<arguments.length;a++){var t=null!=arguments[a]?arguments[a]:{};a%2?F(Object(t),!0).forEach((function(a){l(e,a,t[a])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):F(Object(t)).forEach((function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(t,a))}))}return e}var L={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M21 0v3h3v2h-3v3h-2V5h-3V3h3V0h2zM1.5 2H14v2H3.5v14.3L6.12 16H20.5v-6h2v8H6.88L1.5 22.7V2z"}}]},M=e({name:"ChatAddIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,l){var{attrs:s}=l,r=a((()=>e.size)),{className:i,style:o}=t(r),u=a((()=>["t-icon","t-icon-chat-add",i.value])),d=a((()=>I(I({},o.value),s.style))),c=a((()=>({class:u.value,style:d.value,onClick:a=>{var t;return null===(t=e.onClick)||void 0===t?void 0:t.call(e,{e:a})}})));return()=>n(L,c.value)}});const N=e({__name:"AgentCard",props:{product:{type:Object}},emits:["start-chat","delete-item"],setup(e,{emit:t}){const n=e,l=a((()=>n.product.content.substring(0,20)+"...")),m=t;return(a,t)=>{const n=v,f=p,b=g;return s(),r(b,{title:e.product.name,description:l.value,"hover-shadow":"",bordered:!1},{avatar:i((()=>[o(n,{size:"56px",image:e.product.avatar},null,8,["image"])])),actions:i((()=>[o(f,{shape:"circle",onClick:t[0]||(t[0]=d((a=>{return t=e.product,void m("start-chat",t);var t}),["stop"])),variant:"text"},{default:i((()=>[o(u(M),{slot:"icon"})])),_:1}),e.product.isDefault?c("",!0):(s(),r(f,{key:0,shape:"circle",onClick:t[1]||(t[1]=d((a=>{return t=e.product,void m("delete-item",t);var t}),["stop"])),variant:"text"},{default:i((()=>[o(u(V),{slot:"icon"})])),_:1}))])),_:1},8,["title","description"])}}}),$={class:"flex flex-col items-center justify-center mb-[var(--td-comp-margin-xxl)]"},G={class:"w-full flex flex-row justify-end gap-3"},J={id:"",name:"",status:"1",content:"",avatar:"",onboarding:"",isDefault:!1},T=e({__name:"DialogForm",props:{visible:{type:Boolean,default:!1},data:Object},emits:["update:visible"],setup(e,{emit:a}){const t=m(),n=e,l=f(null),d=f(!1),c=f({...J}),v=e=>{c.value.avatar=e},g=({validateResult:e,firstError:a})=>{if(a)return void x.warning(a);const n=!c.value.id||""===c.value.id;n&&(c.value.id=A());const l={id:c.value.id,name:c.value.name,status:"1"===c.value.status,content:c.value.content,avatar:c.value.avatar,onboarding:c.value.onboarding,isDefault:c.value.isDefault};n?(t.add(l),x.success(h("pages.setting.agent.submit_success"))):(t.update(l),x.success(h("pages.setting.agent.update_success"))),d.value=!1},z=()=>{d.value=!1},w=a;b((()=>d.value),(e=>{w("update:visible",e)})),b((()=>n.visible),(e=>{d.value=e})),b((()=>n.data),(e=>{c.value=e}),{immediate:!0});const O={name:[{required:!0,message:h("pages.setting.agent.enter_agent_name"),type:"error"}],content:[{required:!0,message:h("pages.setting.agent.enter_agent_description"),type:"error"}]};return(e,a)=>{const t=q,n=H,m=B,f=p,b=R,x=U;return s(),r(x,{visible:d.value,"onUpdate:visible":a[2]||(a[2]=e=>d.value=e),header:c.value.id?u(h)("pages.setting.agent.editor_agent"):u(h)("pages.setting.agent.add_agent"),placement:"top",width:680,footer:!1},{body:i((()=>[o(b,{ref:"form",data:c.value,rules:O,"label-width":100,"label-align":"top",onSubmit:g},{default:i((()=>[_("div",$,[o(P,{ref_key:"avatarRef",ref:l,url:c.value.avatar,onUpdate:v},null,8,["url"])]),o(n,{label:u(h)("pages.setting.agent.agent_name"),name:"name"},{default:i((()=>[o(t,{modelValue:c.value.name,"onUpdate:modelValue":a[0]||(a[0]=e=>c.value.name=e)},null,8,["modelValue"])])),_:1},8,["label"]),o(n,{label:u(h)("pages.setting.agent.agent_description"),name:"content"},{default:i((()=>[o(m,{modelValue:c.value.content,"onUpdate:modelValue":a[1]||(a[1]=e=>c.value.content=e),autosize:{minRows:5,maxRows:12},name:"content"},null,8,["modelValue"])])),_:1},8,["label"]),o(n,null,{default:i((()=>[_("div",G,[o(f,{variant:"outline",onClick:z},{default:i((()=>[y(j(u(h)("pages.setting.agent.cancel")),1)])),_:1}),o(f,{theme:"primary",type:"submit"},{default:i((()=>[y(j(u(h)("pages.setting.agent.confirm")),1)])),_:1})])])),_:1})])),_:1},8,["data"])])),_:1},8,["visible","header"])}}}),K={class:"list-card-items"},Q={class:"list-card-pagination"},W=e({name:"ListAgent",setup(e){const t=z(),n=f(void 0),l=m(),d=f({current:1,pageSize:35,total:0}),c=a((()=>{const e=[l.defaultAgent,...l.agents];return d.value.total=e.length,e})),p=a((()=>n.value?h("pages.setting.agent.confirm_delete_agent",{agentName:n.value.name}):"")),b=f(!1),y=f(!1),j=f({...J}),V=e=>{d.value.pageSize=e,d.value.current=1},P=e=>{d.value.current=e},A=e=>{y.value=!0,n.value=e},q=()=>{l.remove(n.value.id),y.value=!1,x.success(h("pages.setting.agent.delete_success"))},H=()=>{n.value=void 0},R=e=>{t.push({path:"/conversation/index",query:{id:e.id}})},B=()=>{j.value={...J},b.value=!0};return(e,a)=>{const t=v,n=g,l=S,m=O,f=E,h=U;return s(),w("div",null,[_("div",K,[o(m,{gutter:[16,16]},{default:i((()=>[o(l,{xs:12,lg:4,xl:3},{default:i((()=>[o(n,{theme:"normal","hover-shadow":"",class:"list-card-item h-[108px] border-dashed",style:{"border-color":"var(--td-brand-color-active)"},title:e.$t("pages.setting.agent.add_agent"),onClick:B},{avatar:i((()=>[o(t,{size:"56px"},{icon:i((()=>[o(u(C))])),_:1})])),_:1},8,["title"])])),_:1}),(s(!0),w(D,null,k(c.value.slice(d.value.pageSize*(d.value.current-1),d.value.pageSize*d.value.current),(e=>(s(),r(l,{key:e.id,xs:12,lg:4,xl:3},{default:i((()=>[o(N,{class:"list-card-item h-[108px]",product:e,onDeleteItem:A,onStartChat:R,onClick:a=>(e=>{j.value={id:e.id,name:e.name,status:e.status?"1":"0",content:e.content,avatar:e.avatar,onboarding:e.onboarding,isDefault:e.isDefault},b.value=!0})(e)},null,8,["product","onClick"])])),_:2},1024)))),128))])),_:1})]),_("div",Q,[o(f,{modelValue:d.value.current,"onUpdate:modelValue":a[0]||(a[0]=e=>d.value.current=e),"page-size":d.value.pageSize,"onUpdate:pageSize":a[1]||(a[1]=e=>d.value.pageSize=e),total:d.value.total,"page-size-options":[35],onPageSizeChange:V,onCurrentChange:P},null,8,["modelValue","page-size","total","page-size-options"])]),o(T,{visible:b.value,"onUpdate:visible":a[2]||(a[2]=e=>b.value=e),data:j.value},null,8,["visible","data"]),o(h,{visible:y.value,"onUpdate:visible":a[3]||(a[3]=e=>y.value=e),header:e.$t("pages.setting.agent.confirm_delete_selected_agent"),body:p.value,"on-cancel":H,onConfirm:q},null,8,["visible","header","body"])])}}});export{W as default}; diff --git a/.output/public/assets/index-BZmcEdaQ.js b/.output/public/assets/index-BZmcEdaQ.js new file mode 100644 index 0000000000000000000000000000000000000000..148da429ee50bc5cf2cacbc5c2c39a9753d2d4f0 --- /dev/null +++ b/.output/public/assets/index-BZmcEdaQ.js @@ -0,0 +1 @@ +import{F as e}from"./FrameContent-D2QyFMUH.js";import{a as t}from"./fetch-C6zEckB6.js";import{d as o,o as m,f as s}from"./main-DzSNOqOC.js";import"./debounce-DjqSSMbT.js";const a=o({__name:"index",setup(o){const a=`${t()}/swagger/index.html?t=${(new Date).getTime()}`,r=getComputedStyle(document.documentElement).getPropertyValue("--td-comp-size-xxxl"),n=parseFloat(r)+20;return(t,o)=>(m(),s(e,{frameSrc:a,offset:n}))}});export{a as default}; diff --git a/.output/public/assets/index-Bf-xQ7gk.js b/.output/public/assets/index-Bf-xQ7gk.js new file mode 100644 index 0000000000000000000000000000000000000000..58ef3178fe24d9c5f8a60a57b89ad46400af12c2 --- /dev/null +++ b/.output/public/assets/index-Bf-xQ7gk.js @@ -0,0 +1,9 @@ +import{d as e,b as a,m as l,o as t,f as o,q as i,p as s,r as n,s as u,a9 as d,A as r,G as p,D as m,B as v,aa as c,y as g,t as _,k as f,aM as y,j as k,w as b,c as h,z as x,e as V,F as w,x as $,$ as S,aN as D,aO as U,aP as j,M as C,aQ as T,ae as B,R as M,aw as P,E as K}from"./main-DzSNOqOC.js";import{c as z}from"./copy-CaDk54_k.js";import{d as O}from"./delete-1-BqRz4NQH.js";import{L as N}from"./index-CjKlnN2e.js";import{a as A}from"./fetch-C6zEckB6.js";import{p as R,S as J}from"./lyihub-muI8ujdR.js";import{D as W}from"./index-DmWclHlm.js";import{p as q}from"./plus-CEvO8XVn.js";import{v as I}from"./v4-_R2nDvl_.js";import{I as E}from"./index-pjvKxr27.js";import{F,a as L}from"./index-DmTGWjjO.js";import{O as G,S as Q}from"./form-model-CXHJGOsj.js";import{a as H}from"./index-C2aHaTIl.js";import{T as X}from"./index-Kxldlx3l.js";import{P as Y}from"./index-CSsUEF1T.js";import"./debounce-DjqSSMbT.js";import"./ellipsis-DKSeG7Zz.js";const Z=e({__name:"ModelCard",props:{product:{type:Object}},emits:["delete-item","copy-item"],setup(e,{emit:v}){const c=e,g=a((()=>{const e=l.getModelItemTitle(c.product);return e.length>40?e.slice(0,40)+"...":e})),_=v;return(a,v)=>{const c=r,f=p,y=m;return t(),o(y,{theme:"normal",title:g.value,"hover-shadow":"",bordered:!1},{avatar:i((()=>[s(c,{size:"56px"},{icon:i((()=>[(t(),o(n(u(l).icons[e.product.type])))])),_:1})])),actions:i((()=>[s(f,{shape:"circle",onClick:v[0]||(v[0]=d((a=>{return l=e.product,void _("copy-item",l);var l}),["stop"])),variant:"text"},{default:i((()=>[s(u(z),{slot:"icon"})])),_:1}),s(f,{shape:"circle",onClick:v[1]||(v[1]=d((a=>{return l=e.product,void _("delete-item",l);var l}),["stop"])),variant:"text"},{default:i((()=>[s(u(O),{slot:"icon"})])),_:1})])),_:1},8,["title"])}}}),ee=e({__name:"WebToken",props:{url:{type:String},userAgent:{type:String},script:{type:String},text:{type:String,default:v("pages.setting.model.login_to_get_token")}},emits:["onResult"],setup(e,{emit:a}){const l=e,n=a,u=async()=>{const e=await window.ipcRenderer.invoke("login-get-token",{url:l.url,userAgent:l.userAgent,script:l.script,show:!0});n("onResult",e)};return(e,a)=>{const n=N,d=c;return t(),o(d,{content:e.$t("pages.setting.model.login_and_close"),placement:"bottom"},{default:i((()=>[s(n,{theme:"primary",onClick:u},{default:i((()=>[g(_(l.text),1)])),_:1})])),_:1},8,["content"])}}}),ae={class:"flex gap-2"},le={class:"flex flex-col items-center justify-center mb-[var(--td-comp-margin-xxl)] gap-2"},te={class:"w-12 h-12"},oe={key:6,class:"mb-5 pl-24 flex flex-col gap-2"},ie={class:"flex gap-2 items-center"},se={class:"w-full flex flex-row justify-end gap-3"},ne={id:"",name:"",status:"1",description:"",type:"openai",apiModel:"",apiBase:"",apiKey:"",keys:[],prompt:"",likes:0,additionalData:{},temperature:D, +//生成随机性 +topP:U,maxTokens:j,stream:!0},ue=e({__name:"DialogForm",props:{visible:{type:Boolean,default:!1},data:Object},emits:["update:visible"],setup(e,{emit:a}){const d=f(),m=e,M=y(l.providers[0]),P=k(!1),K=k({...ne}),z=k(!1),O=k(""),Y=k(""),Z=k(!1),ue=k(""),de=k(!1),re=window.isElectron,pe=({validateResult:e,firstError:a})=>{var l,t,o;if(a)return void C.warning(a);const i=!K.value.id||""===K.value.id;i&&(K.value.id=I());const s={id:K.value.id,name:K.value.name,status:"1"===K.value.status,description:K.value.description,type:K.value.type,apiBase:null==(l=K.value.apiBase)?void 0:l.trim(),apiKey:null==(t=K.value.apiKey)?void 0:t.trim(),apiModel:null==(o=K.value.apiModel)?void 0:o.trim(),keys:K.value.keys,likes:K.value.likes,prompt:K.value.prompt,temperature:K.value.temperature, +//生成随机性 +topP:K.value.topP,maxTokens:K.value.maxTokens,additionalData:K.value.additionalData,stream:K.value.stream};i?(d.add(s),C.success(v("pages.setting.model.submit_success"))):(d.update(s),C.success(v("pages.setting.model.update_success"))),P.value=!1},me=()=>{P.value=!1},ve=()=>{},ce=k([]),ge=e=>{ce.value.find((a=>a.value===e))||ce.value.push({label:e,value:e})},_e=e=>{(null==e?void 0:e.token)?K.value.apiKey=null==e?void 0:e.token:C.error(v("pages.setting.model.get_token_failed"))},fe=a;b((()=>P.value),(e=>{fe("update:visible",e)})),b((()=>m.visible),(e=>{P.value=e})),b((()=>m.data),(e=>{K.value={...e}}),{immediate:!0}),b((()=>K.value.type),(()=>{ce.value=[],M.value=l.providers.find((e=>e.name===K.value.type)),M.value||(M.value={name:K.value.type,title:"Model Provider Non existent!",icon:"",apiBase:"",tokenUrl:"",isApi:!1,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""}}),m.data.type===M.value.name?(K.value.apiBase=m.data.apiBase,K.value.apiKey=m.data.apiKey,K.value.apiModel=m.data.apiModel,K.value.prompt=m.data.prompt,K.value.keys=m.data.keys,K.value.temperature=m.data.temperature,K.value.topP=m.data.topP,K.value.maxTokens=m.data.maxTokens,K.value.additionalData=m.data.additionalData,K.value.stream=m.data.stream):(K.value.apiBase=M.value.apiBase,K.value.apiKey="",K.value.apiModel="",K.value.prompt="",K.value.keys=[],K.value.temperature=D,K.value.topP=U,K.value.maxTokens=j,K.value.additionalData={},K.value.stream=!0),ke()}));const ye={name:[{required:!0,message:v("pages.setting.model.enter_model_name"),type:"error"}]},ke=()=>{let e=M.value.models;K.value.additionalData.models&&(e=K.value.additionalData.models),e&&(Array.isArray(e)?ce.value=e.map((e=>({label:e,value:e}))):"object"==typeof e&&(ce.value=Object.entries(e).map((([e,a])=>({label:e,value:a}))))),K.value.apiModel&&!ce.value.find((e=>e.value===K.value.apiModel))&&ce.value.push({label:K.value.apiModel,value:K.value.apiModel})},be=k(!1);async function he(){try{be.value=!0,K.value.additionalData.models=await R(50,K.value.apiKey),ke()}finally{be.value=!1}}async function xe(){K.value.additionalData.models=null,ke()}async function Ve(){if(!z.value)try{z.value=!0;const e=await fetch(A()+"/github/code"),a=await e.json();if(!a)return void C.error(v("pages.setting.model.get_auth_code_failed"));O.value=a.user_code,Y.value=a.verification_uri,await navigator.clipboard.writeText(O.value);const l=await fetch(A()+`/github/token?device_code=${a.device_code}&interval=${a.interval}`),t=await l.json();if(!1===P.value)return;_e(t),O.value="",Y.value=""}finally{z.value=!1}}async function we(){if(!Z.value)try{Z.value=!0;const e=await fetch(A()+"/cursor/code"),a=await e.json(),{url:l,uuid:t,verifier:o}=a;ue.value=l;const i=await fetch(A()+`/cursor/token?uuid=${t}&verifier=${o}&interval=1`),s=await i.json();if(!1===P.value)return;_e(s),ue.value=""}finally{Z.value=!1}}async function $e(){if(!de.value){de.value=!0;try{(await fetch(A()+"/cache/clear?key=google_code")).ok||C.error("clear google code fail");const e=A()+"/google/code";Se(`https://accounts.google.com/o/oauth2/v2/auth?scope=https://www.googleapis.com/auth/cloud-platform&response_type=code&redirect_uri=${e}&client_id=${K.value.additionalData.google_oauth_client_id}&access_type=offline&prompt=consent`);let a="",l=0;const t=1e3;for(;;){if(!1===P.value)return;await new Promise((e=>setTimeout(e,t)));const e=await fetch(A()+"/google/access_token"),o=await e.json();if("ok"===o.status){a=o.code;break}if(l+=1,l*t>45e3)break}if(!a)return void C.success(v("pages.setting.model.get_auth_code_failed"));const o=await fetch("https://www.googleapis.com/oauth2/v4/token",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({client_id:K.value.additionalData.google_oauth_client_id,client_secret:K.value.additionalData.google_oauth_client_secret,code:a,redirect_uri:e,grant_type:"authorization_code"})}),i=await o.json();K.value.apiKey=`${K.value.additionalData.google_oauth_client_id}${T}${K.value.additionalData.google_oauth_client_secret}${T}${i.refresh_token}`,C.success(v("pages.setting.model.get_auth_code_success"))}finally{de.value=!1}}}function Se(e){window.ipcRenderer?window.ipcRenderer.send("open-url",e):window.open(e)}function De(){K.value.keys.push({key:K.value.apiKey,name:(K.value.keys.length+1).toString(),enabled:!0})}return(e,a)=>{const d=E,m=F,f=r,y=G,k=Q,b=N,D=c,U=p,j=H,C=B,T=J,A=X,R=L,I=W;return t(),o(I,{visible:P.value,"onUpdate:visible":a[19]||(a[19]=e=>P.value=e),onClose:ve,header:K.value.id?e.$t("pages.setting.model.editor_model"):e.$t("pages.setting.model.add_model"),width:680,footer:!1},{body:i((()=>[s(R,{ref:"form",data:K.value,rules:ye,"label-width":96,onSubmit:pe},{default:i((()=>[s(m,{label:e.$t("pages.setting.model.model_name"),name:"name"},{default:i((()=>[s(d,{modelValue:K.value.name,"onUpdate:modelValue":a[0]||(a[0]=e=>K.value.name=e)},null,8,["modelValue"])])),_:1},8,["label"]),s(m,{label:e.$t("pages.setting.model.model_description"),name:"description"},{default:i((()=>[s(d,{modelValue:K.value.description,"onUpdate:modelValue":a[1]||(a[1]=e=>K.value.description=e)},null,8,["modelValue"])])),_:1},8,["label"]),s(m,{label:e.$t("pages.setting.model.model_interface"),name:"type"},{default:i((()=>[s(k,{modelValue:K.value.type,"onUpdate:modelValue":a[2]||(a[2]=e=>K.value.type=e),clearable:"",filterable:""},{default:i((()=>[(t(!0),h(w,null,x(u(l).options,((e,a)=>(t(),o(y,{key:a,value:e.value,label:e.label},{default:i((()=>[V("div",ae,[s(f,{size:"20px"},{icon:i((()=>[(t(),o(n(e.icon)))])),_:2},1024),g(" "+_(e.label),1)])])),_:2},1032,["value","label"])))),128))])),_:1},8,["modelValue"])])),_:1},8,["label"]),V("div",le,[V("div",te,[(t(),o(n(M.value.icon)))]),u(re)&&!M.value.isApi&&M.value.tokenUrl?(t(),o(ee,{key:0,url:M.value.tokenUrl,onOnResult:_e},null,8,["url"])):$("",!0),!M.value.tokenUrl||u(re)&&!M.value.isApi?$("",!0):(t(),o(b,{key:1,theme:"primary",onClick:a[3]||(a[3]=e=>Se(M.value.tokenUrl))},{default:i((()=>[g(_(M.value.tokenUrl),1)])),_:1})),s(D,{content:e.$t("pages.setting.model.login_and_wait"),placement:"bottom"},{default:i((()=>[Y.value&&"github-copilot"===M.value.name?(t(),o(b,{key:0,theme:"primary",onClick:a[4]||(a[4]=e=>Se(Y.value))},{default:i((()=>[g(_(e.$t("pages.setting.model.click_to_enter_auth_code")),1)])),_:1})):$("",!0),ue.value&&"cursor"===M.value.name?(t(),o(b,{key:1,theme:"primary",onClick:a[5]||(a[5]=e=>Se(ue.value))},{default:i((()=>[g(_(e.$t("pages.setting.model.click_to_enter_auth_code")),1)])),_:1})):$("",!0)])),_:1},8,["content"]),"cursor"===M.value.name?(t(),o(U,{key:2,loading:Z.value,onClick:we},{default:i((()=>[g(_(e.$t("pages.setting.model.getTokenButtonText")),1)])),_:1},8,["loading"])):$("",!0)]),"github-copilot"===M.value.name?(t(),o(m,{key:0,label:e.$t("pages.setting.model.get_auth_code"),name:"github_user_code"},{default:i((()=>[s(d,{readonly:"",modelValue:O.value,"onUpdate:modelValue":a[6]||(a[6]=e=>O.value=e)},null,8,["modelValue"]),a[20]||(a[20]=g()),s(U,{class:"ml-2",loading:z.value,onClick:Ve},{default:i((()=>[g(_(e.$t("pages.setting.model.getTokenButtonText")),1)])),_:1},8,["loading"])])),_:1},8,["label"])):$("",!0),M.value.name.endsWith("vertex")?(t(),o(m,{key:1,label:"Client ID"},{default:i((()=>[s(d,{modelValue:K.value.additionalData.google_oauth_client_id,"onUpdate:modelValue":a[7]||(a[7]=e=>K.value.additionalData.google_oauth_client_id=e)},null,8,["modelValue"])])),_:1})):$("",!0),M.value.name.endsWith("vertex")?(t(),o(m,{key:2,label:"Client Secret"},{default:i((()=>[s(d,{modelValue:K.value.additionalData.google_oauth_client_secret,"onUpdate:modelValue":a[8]||(a[8]=e=>K.value.additionalData.google_oauth_client_secret=e)},null,8,["modelValue"]),a[21]||(a[21]=g()),s(U,{class:"ml-2",onClick:$e,loading:de.value},{default:i((()=>[g(_(e.$t("pages.setting.model.getTokenButtonText")),1)])),_:1},8,["loading"])])),_:1})):$("",!0),M.value.show.apiBase?(t(),o(m,{key:3,label:e.$t("pages.setting.model.model_address"),name:"apiBase",tips:M.value.tips.apiBase},{default:i((()=>[s(d,{modelValue:K.value.apiBase,"onUpdate:modelValue":a[9]||(a[9]=e=>K.value.apiBase=e),placeholder:M.value.apiBase},null,8,["modelValue","placeholder"])])),_:1},8,["label","tips"])):$("",!0),M.value.show.apiModel?(t(),o(m,{key:4,label:e.$t("pages.setting.model.model"),name:"apiModel",tips:M.value.tips.apiModel},{default:i((()=>[s(k,{modelValue:K.value.apiModel,"onUpdate:modelValue":a[10]||(a[10]=e=>K.value.apiModel=e),creatable:"",filterable:"",options:ce.value,onCreate:ge,onEnter:a[11]||(a[11]=e=>{e.e.preventDefault()})},null,8,["modelValue","options"]),M.value.name.startsWith("lyihub")?(t(),o(U,{key:0,class:"ml-2",onClick:he,loading:be.value},{default:i((()=>[g(_(e.$t("pages.setting.model.getTokenButtonText")),1)])),_:1},8,["loading"])):$("",!0),M.value.name.startsWith("lyihub")?(t(),o(U,{key:1,class:"ml-2",onClick:xe},{default:i((()=>[g(_(e.$t("pages.setting.model.cleanTokenButtonText")),1)])),_:1})):$("",!0)])),_:1},8,["label","tips"])):$("",!0),M.value.show.apiKey?(t(),o(m,{key:5,label:e.$t("pages.setting.model.model_key"),name:"apiKey",tips:M.value.tips.apiKey},{default:i((()=>[s(d,{type:"password",modelValue:K.value.apiKey,"onUpdate:modelValue":a[12]||(a[12]=e=>K.value.apiKey=e)},null,8,["modelValue"]),s(U,{shape:"square",variant:"text",class:"ml-2",onClick:De},{default:i((()=>[s(u(q),{slot:"icon"})])),_:1})])),_:1},8,["label","tips"])):$("",!0),K.value.keys&&K.value.keys.length>0?(t(),h("div",oe,[(t(!0),h(w,null,x(K.value.keys,((a,l)=>(t(),h("div",ie,[s(d,{modelValue:a.name,"onUpdate:modelValue":e=>a.name=e,class:"w-32"},null,8,["modelValue","onUpdate:modelValue"]),s(d,{modelValue:a.key,"onUpdate:modelValue":e=>a.key=e,type:"password"},null,8,["modelValue","onUpdate:modelValue"]),s(j,{modelValue:a.enabled,"onUpdate:modelValue":e=>a.enabled=e},null,8,["modelValue","onUpdate:modelValue"]),s(C,{content:e.$t("pages.setting.user.confirm_delete"),onConfirm:e=>function(e){K.value.keys.splice(e,1)}(l)},{default:i((()=>[s(U,{shape:"square",variant:"text"},{default:i((()=>[s(u(S),{slot:"icon"})])),_:1})])),_:2},1032,["content","onConfirm"])])))),256))])):$("",!0),s(m,{label:u(v)("pages.conversation.stream"),name:"stream"},{default:i((()=>[s(j,{modelValue:K.value.stream,"onUpdate:modelValue":a[13]||(a[13]=e=>K.value.stream=e)},null,8,["modelValue"])])),_:1},8,["label"]),s(m,{label:u(v)("pages.conversation.temperature"),name:"temperature"},{default:i((()=>[s(T,{modelValue:K.value.temperature,"onUpdate:modelValue":a[14]||(a[14]=e=>K.value.temperature=e),inputNumberProps:"",showStep:"",min:0,max:1,step:.1},null,8,["modelValue"])])),_:1},8,["label"]),s(m,{label:u(v)("pages.conversation.maxTokens"),name:"maxTokens"},{default:i((()=>[s(T,{modelValue:K.value.maxTokens,"onUpdate:modelValue":a[15]||(a[15]=e=>K.value.maxTokens=e),inputNumberProps:"",showStep:"",min:1024,max:8192,step:128},null,8,["modelValue"])])),_:1},8,["label"]),s(m,{label:u(v)("pages.conversation.topP"),name:"topP"},{default:i((()=>[s(T,{modelValue:K.value.topP,"onUpdate:modelValue":a[16]||(a[16]=e=>K.value.topP=e),inputNumberProps:"",showStep:"",min:0,max:1,step:.1},null,8,["modelValue"])])),_:1},8,["label"]),M.value.name.startsWith("cozec")?(t(),o(m,{key:7,label:"",tips:"会将话中的角色设定附加到每次发送的用户消息上"},{default:i((()=>[s(j,{modelValue:K.value.additionalData.useConversationSetting,"onUpdate:modelValue":a[17]||(a[17]=e=>K.value.additionalData.useConversationSetting=e)},{default:i((()=>a[22]||(a[22]=[g("使用会话的角色设定")]))),_:1},8,["modelValue"])])),_:1})):$("",!0),s(m,{label:e.$t("pages.setting.model.model_prompt"),name:"prompt",tips:e.$t("pages.setting.model.prompt_tips")},{default:i((()=>[s(A,{modelValue:K.value.prompt,"onUpdate:modelValue":a[18]||(a[18]=e=>K.value.prompt=e),autosize:{minRows:2,maxRows:5},name:"prompt"},null,8,["modelValue"])])),_:1},8,["label","tips"]),s(m,null,{default:i((()=>[V("div",se,[s(U,{variant:"outline",onClick:me},{default:i((()=>[g(_(e.$t("pages.setting.model.cancel")),1)])),_:1}),s(U,{theme:"primary",type:"submit"},{default:i((()=>[g(_(e.$t("pages.setting.model.confirm")),1)])),_:1})])])),_:1})])),_:1},8,["data"])])),_:1},8,["visible","header"])}}}),de={class:"search-box",style:{"margin-bottom":"16px"}},re={class:"list-card-items"},pe={class:"list-card-pagination"},me=e({name:"ListModel",setup(e){const n=k(""),d=f(),p=k({current:1,pageSize:31,total:0}),c=a((()=>{const e=d.models.filter((e=>e.name.includes(n.value)||e.apiModel.includes(n.value)));return p.value.total=e.length,e})),g=k(void 0),_=a((()=>g.value?v("pages.setting.model.confirm_delete_model",{modelName:g.value.name}):"")),y=()=>{d.remove(g.value.id),$.value=!1,C.success(v("pages.setting.model.delete_success"))},b=k(!1),$=k(!1),S=k({...ne}),T=e=>{p.value.pageSize=e,p.value.current=1},B=e=>{p.value.current=e},z=e=>{$.value=!0,g.value=e},O=()=>{g.value=void 0},N=()=>{S.value={...ne},b.value=!0},A=e=>{if(!l.dict[e.type])return void C.error(v("pages.setting.model.model_provider_not_exist"));const a={...e,id:"", +// 清空ID,作为新模型 +name:`${e.name} (副本)`};S.value={id:"",name:a.name,status:a.status?"1":"0",description:a.description,type:a.type.toString(),apiBase:a.apiBase,apiKey:a.apiKey,apiModel:a.apiModel,keys:a.keys?JSON.parse(JSON.stringify(a.keys)):[],likes:a.likes,prompt:a.prompt,temperature:a.temperature||D,topP:a.topP||U,maxTokens:a.maxTokens||j,stream:a.stream,additionalData:a.additionalData?JSON.parse(JSON.stringify(a.additionalData)):{}},b.value=!0};return(e,a)=>{const d=E,g=r,f=m,k=K,R=M,J=Y,q=W;return t(),h("div",null,[V("div",de,[s(d,{modelValue:n.value,"onUpdate:modelValue":a[0]||(a[0]=e=>n.value=e),placeholder:"搜索模型"},null,8,["modelValue"])]),V("div",re,[s(R,{gutter:[16,16]},{default:i((()=>[s(k,{xs:12,lg:4,xl:3},{default:i((()=>[s(f,{theme:"normal","hover-shadow":"",class:"list-card-item border-dashed",style:{"border-color":"var(--td-brand-color-active)"},title:e.$t("pages.setting.model.add_model"),onClick:N},{avatar:i((()=>[s(g,{size:"56px"},{icon:i((()=>[s(u(P))])),_:1})])),_:1},8,["title"])])),_:1}),(t(!0),h(w,null,x(c.value.slice(p.value.pageSize*(p.value.current-1),p.value.pageSize*p.value.current),(e=>(t(),o(k,{key:e.id,xs:12,lg:4,xl:3},{default:i((()=>[s(Z,{class:"list-card-item",product:e,onDeleteItem:z,onCopyItem:A,onClick:a=>(e=>{l.dict[e.type]?(S.value={id:e.id,name:e.name,status:e.status?"1":"0",description:e.description,type:e.type.toString(),apiBase:e.apiBase,apiKey:e.apiKey,apiModel:e.apiModel,keys:e.keys?JSON.parse(JSON.stringify(e.keys)):[],likes:e.likes,prompt:e.prompt,temperature:e.temperature||D, +//生成随机性 +topP:e.topP||U,maxTokens:e.maxTokens||j,stream:e.stream,additionalData:e.additionalData?JSON.parse(JSON.stringify(e.additionalData)):{}},b.value=!0):C.error(v("pages.setting.model.model_provider_not_exist"))})(e)},null,8,["product","onClick"])])),_:2},1024)))),128))])),_:1})]),V("div",pe,[s(J,{modelValue:p.value.current,"onUpdate:modelValue":a[1]||(a[1]=e=>p.value.current=e),"page-size":p.value.pageSize,"onUpdate:pageSize":a[2]||(a[2]=e=>p.value.pageSize=e),total:p.value.total,"page-size-options":[31],onPageSizeChange:T,onCurrentChange:B},null,8,["modelValue","page-size","total","page-size-options"])]),s(ue,{visible:b.value,"onUpdate:visible":a[3]||(a[3]=e=>b.value=e),data:S.value},null,8,["visible","data"]),s(q,{visible:$.value,"onUpdate:visible":a[4]||(a[4]=e=>$.value=e),header:e.$t("pages.setting.model.confirm_delete_selected_model"),body:_.value,"on-cancel":O,onConfirm:y},null,8,["visible","header","body"])])}}});export{me as default}; diff --git a/.output/public/assets/index-BuIb9tIA.js b/.output/public/assets/index-BuIb9tIA.js new file mode 100644 index 0000000000000000000000000000000000000000..0ccb997fc8b0a68ae8bc1e5c1e44381c91e4f8e6 --- /dev/null +++ b/.output/public/assets/index-BuIb9tIA.js @@ -0,0 +1,93 @@ +import{d as e,b as t,H as l,I as a,J as n,j as r,au as o,w as i,O as s,ax as c,K as u,S as p,cf as v,a3 as d,aX as f,a_ as g,p as m,c6 as h,L as b,N as y,U as O,aa as w,cg as j,az as P,ap as _,ay as F,a0 as C,a7 as D,F as U,a6 as x,ch as k,c3 as S,c4 as I,cd as E,bM as z,$ as L,Y as B,Z as R,aY as M,aZ as T,ci as V,at as N,an as A,W as H,cj as q,aL as X,ck as Z,G as W,a5 as Y,aw as K,cl as G,aK as J,bq as Q,cm as $,cn as ee,co as te,cp as le,cq as ae,cr as ne,cs as re,X as oe,Q as ie,ct as se,bh as ce,aU as ue,cu as pe,cv as ve,aJ as de}from"./main-DzSNOqOC.js";import{L as fe}from"./index-CjKlnN2e.js";import{q as ge,r as me,l as he,D as be,s as ye,e as Oe,c as we,d as je,p as Pe}from"./index-DmWclHlm.js";import{_ as _e}from"./dep-916b902f-BLs2dxx4.js";function Fe(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),l.push.apply(l,a)}return l}function Ce(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?arguments[t]:{};t%2?Fe(Object(l),!0).forEach((function(t){n(e,t,l[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):Fe(Object(l)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(l,t))}))}return e}var De={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M7.5 1h9v3H22v2h-2.03l-.5 17H4.53l-.5-17H2V4h5.5V1zm2 3h5V3h-5v1zM6.03 6l.44 15h11.06l.44-15H6.03zM13 8v11h-2V8h2z"}}]},Ue=e({name:"DeleteIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,n){var{attrs:r}=n,o=t((()=>e.size)),{className:i,style:s}=l(o),c=t((()=>["t-icon","t-icon-delete",i.value])),u=t((()=>Ce(Ce({},s.value),r.style))),p=t((()=>({class:c.value,style:u.value,onClick:t=>{var l;return null===(l=e.onClick)||void 0===l?void 0:l.call(e,{e:t})}})));return()=>a(De,p.value)}});function xe(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),l.push.apply(l,a)}return l}function ke(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?arguments[t]:{};t%2?xe(Object(l),!0).forEach((function(t){n(e,t,l[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):xe(Object(l)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(l,t))}))}return e}var Se={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M13 3v9.59l3.5-3.5 1.41 1.41L12 16.41 6.09 10.5 7.5 9.09l3.5 3.5V3h2zM4.5 14v5h15v-5h2v7h-19v-7h2z"}}]},Ie=e({name:"DownloadIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,n){var{attrs:r}=n,o=t((()=>e.size)),{className:i,style:s}=l(o),c=t((()=>["t-icon","t-icon-download",i.value])),u=t((()=>ke(ke({},s.value),r.style))),p=t((()=>({class:c.value,style:u.value,onClick:t=>{var l;return null===(l=e.onClick)||void 0===l?void 0:l.call(e,{e:t})}})));return()=>a(Se,p.value)}});function Ee(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),l.push.apply(l,a)}return l}function ze(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?arguments[t]:{};t%2?Ee(Object(l),!0).forEach((function(t){n(e,t,l[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):Ee(Object(l)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(l,t))}))}return e}var Le={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M3 1h12.41L21 6.59V23H3V1zm2 2v18h14V9h-6V3H5zm10 .41V7h3.59L15 3.41zM15 10v1.65a2 2 0 01-.61 1.44l-.95.91.95.91c.39.38.61.9.61 1.44V18h-2v-1.65l-1-.96-1 .96V18H9v-1.65a2 2 0 01.61-1.44l.95-.91-.95-.91A2 2 0 019 11.65V10h2v1.65l1 .96 1-.96V10h2z"}}]},Be=e({name:"FileExcelIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,n){var{attrs:r}=n,o=t((()=>e.size)),{className:i,style:s}=l(o),c=t((()=>["t-icon","t-icon-file-excel",i.value])),u=t((()=>ze(ze({},s.value),r.style))),p=t((()=>({class:c.value,style:u.value,onClick:t=>{var l;return null===(l=e.onClick)||void 0===l?void 0:l.call(e,{e:t})}})));return()=>a(Le,p.value)}});function Re(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),l.push.apply(l,a)}return l}function Me(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?arguments[t]:{};t%2?Re(Object(l),!0).forEach((function(t){n(e,t,l[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):Re(Object(l)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(l,t))}))}return e}var Te={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M3 1h12.41L21 6.59V11h-2V9h-6V3H5v18h16v2H3V1zm12 2.41V7h3.59L15 3.41zM6 12h3.71c.71 0 1.29.58 1.29 1.29v2.42c0 .71-.58 1.29-1.29 1.29H8v3H6v-8zm2 3h1v-1H8v1zm3.5-3h3.71c.71 0 1.29.58 1.29 1.29v5.42c0 .71-.58 1.29-1.29 1.29H11.5v-8zm2 2v4h1v-4h-1zm3.5-.71c0-.71.58-1.29 1.29-1.29h3.38v2H19v1h2.67v2H19v3h-2v-6.71z"}}]},Ve=e({name:"FilePdfIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,n){var{attrs:r}=n,o=t((()=>e.size)),{className:i,style:s}=l(o),c=t((()=>["t-icon","t-icon-file-pdf",i.value])),u=t((()=>Me(Me({},s.value),r.style))),p=t((()=>({class:c.value,style:u.value,onClick:t=>{var l;return null===(l=e.onClick)||void 0===l?void 0:l.call(e,{e:t})}})));return()=>a(Te,p.value)}});function Ne(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),l.push.apply(l,a)}return l}function Ae(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?arguments[t]:{};t%2?Ne(Object(l),!0).forEach((function(t){n(e,t,l[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):Ne(Object(l)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(l,t))}))}return e}var He={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M3 1h12.41L21 6.59V23H3V1zm2 2v18h14V9h-6V3H5zm10 .41V7h3.59L15 3.41zM9 10h4a2 2 0 012 2v1.6a2 2 0 01-2 2h-2V18H9v-8zm2 3.6h2V12h-2v1.6z"}}]},qe=e({name:"FilePowerpointIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,n){var{attrs:r}=n,o=t((()=>e.size)),{className:i,style:s}=l(o),c=t((()=>["t-icon","t-icon-file-powerpoint",i.value])),u=t((()=>Ae(Ae({},s.value),r.style))),p=t((()=>({class:c.value,style:u.value,onClick:t=>{var l;return null===(l=e.onClick)||void 0===l?void 0:l.call(e,{e:t})}})));return()=>a(He,p.value)}});function Xe(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),l.push.apply(l,a)}return l}function Ze(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?arguments[t]:{};t%2?Xe(Object(l),!0).forEach((function(t){n(e,t,l[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):Xe(Object(l)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(l,t))}))}return e}var We={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M3 1h12.41L21 6.59V23H3V1zm2 2v18h14V9h-6V3H5zm10 .41V7h3.59L15 3.41zM10 11v5h1v-5h2v5h1v-5h2v5a2 2 0 01-2 2h-4a2 2 0 01-2-2v-5h2z"}}]},Ye=e({name:"FileWordIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,n){var{attrs:r}=n,o=t((()=>e.size)),{className:i,style:s}=l(o),c=t((()=>["t-icon","t-icon-file-word",i.value])),u=t((()=>Ze(Ze({},s.value),r.style))),p=t((()=>({class:c.value,style:u.value,onClick:t=>{var l;return null===(l=e.onClick)||void 0===l?void 0:l.call(e,{e:t})}})));return()=>a(We,p.value)}});function Ke(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),l.push.apply(l,a)}return l}function Ge(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?arguments[t]:{};t%2?Ke(Object(l),!0).forEach((function(t){n(e,t,l[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):Ke(Object(l)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(l,t))}))}return e}var Je={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M13 2v20h-2V2h2zM9 4.64V18.5H1.3L9 4.64zm6 0l7.7 13.86H15V4.64zM4.7 16.5H7v-4.14L4.7 16.5zM17 12.36v4.14h2.3L17 12.36z"}}]},Qe=e({name:"MirrorIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,n){var{attrs:r}=n,o=t((()=>e.size)),{className:i,style:s}=l(o),c=t((()=>["t-icon","t-icon-mirror",i.value])),u=t((()=>Ge(Ge({},s.value),r.style))),p=t((()=>({class:c.value,style:u.value,onClick:t=>{var l;return null===(l=e.onClick)||void 0===l?void 0:l.call(e,{e:t})}})));return()=>a(Je,p.value)}});function $e(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),l.push.apply(l,a)}return l}function et(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?arguments[t]:{};t%2?$e(Object(l),!0).forEach((function(t){n(e,t,l[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):$e(Object(l)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(l,t))}))}return e}var tt={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M4 2v9a9 9 0 019 9h9v2H2V2h2zm0 18h7a7 7 0 00-7-7v7z"}}]},lt=e({name:"RotationIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,n){var{attrs:r}=n,o=t((()=>e.size)),{className:i,style:s}=l(o),c=t((()=>["t-icon","t-icon-rotation",i.value])),u=t((()=>et(et({},s.value),r.style))),p=t((()=>({class:c.value,style:u.value,onClick:t=>{var l;return null===(l=e.onClick)||void 0===l?void 0:l.call(e,{e:t})}})));return()=>a(tt,p.value)}});function at(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),l.push.apply(l,a)}return l}function nt(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?arguments[t]:{};t%2?at(Object(l),!0).forEach((function(t){n(e,t,l[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):at(Object(l)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(l,t))}))}return e}var rt={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M12 23a11 11 0 110-22 11 11 0 010 22zm1-17.5h-2v6.91l4 4L16.41 15 13 11.59V5.5z"}}]},ot=e({name:"TimeFilledIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,n){var{attrs:r}=n,o=t((()=>e.size)),{className:i,style:s}=l(o),c=t((()=>["t-icon","t-icon-time-filled",i.value])),u=t((()=>nt(nt({},s.value),r.style))),p=t((()=>({class:c.value,style:u.value,onClick:t=>{var l;return null===(l=e.onClick)||void 0===l?void 0:l.call(e,{e:t})}})));return()=>a(rt,p.value)}});function it(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),l.push.apply(l,a)}return l}function st(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?arguments[t]:{};t%2?it(Object(l),!0).forEach((function(t){n(e,t,l[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):it(Object(l)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(l,t))}))}return e}var ct={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M12 2.59l5.91 5.91-1.41 1.41-3.5-3.5V16h-2V6.41l-3.5 3.5L6.09 8.5 12 2.59zM4.5 14v5h15v-5h2v7h-19v-7h2z"}}]},ut=e({name:"UploadIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,n){var{attrs:r}=n,o=t((()=>e.size)),{className:i,style:s}=l(o),c=t((()=>["t-icon","t-icon-upload",i.value])),u=t((()=>st(st({},s.value),r.style))),p=t((()=>({class:c.value,style:u.value,onClick:t=>{var l;return null===(l=e.onClick)||void 0===l?void 0:l.call(e,{e:t})}})));return()=>a(ct,p.value)}});function pt(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),l.push.apply(l,a)}return l}function vt(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?arguments[t]:{};t%2?pt(Object(l),!0).forEach((function(t){n(e,t,l[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):pt(Object(l)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(l,t))}))}return e}var dt={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M2 2h20v20H2V2zm2 2v16h16V4H4zm4 2.37L17.75 12 8 17.63V6.37zm2 3.46v4.34L13.75 12 10 9.83z"}}]},ft=e({name:"VideoIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,n){var{attrs:r}=n,o=t((()=>e.size)),{className:i,style:s}=l(o),c=t((()=>["t-icon","t-icon-video",i.value])),u=t((()=>vt(vt({},s.value),r.style))),p=t((()=>({class:c.value,style:u.value,onClick:t=>{var l;return null===(l=e.onClick)||void 0===l?void 0:l.call(e,{e:t})}})));return()=>a(dt,p.value)}});function gt(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),l.push.apply(l,a)}return l}function mt(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?arguments[t]:{};t%2?gt(Object(l),!0).forEach((function(t){n(e,t,l[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):gt(Object(l)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(l,t))}))}return e}var ht={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M15.1 5.9a6.5 6.5 0 10-9.2 9.2 6.5 6.5 0 009.2-9.2zM4.49 4.5a8.5 8.5 0 0112.69 11.27l5.34 5.35-1.41 1.41-5.35-5.34A8.5 8.5 0 014.5 4.49zM11.5 6.5v3h3v2h-3v3h-2v-3h-3v-2h3v-3h2z"}}]},bt=e({name:"ZoomInIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,n){var{attrs:r}=n,o=t((()=>e.size)),{className:i,style:s}=l(o),c=t((()=>["t-icon","t-icon-zoom-in",i.value])),u=t((()=>mt(mt({},s.value),r.style))),p=t((()=>({class:c.value,style:u.value,onClick:t=>{var l;return null===(l=e.onClick)||void 0===l?void 0:l.call(e,{e:t})}})));return()=>a(ht,p.value)}});function yt(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),l.push.apply(l,a)}return l}function Ot(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?arguments[t]:{};t%2?yt(Object(l),!0).forEach((function(t){n(e,t,l[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):yt(Object(l)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(l,t))}))}return e}var wt={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M15.1 5.9a6.5 6.5 0 10-9.2 9.2 6.5 6.5 0 009.2-9.2zM4.49 4.5a8.5 8.5 0 0112.69 11.27l5.34 5.35-1.41 1.41-5.35-5.34A8.5 8.5 0 014.5 4.49zM6.5 11.5v-2h8v2h-8z"}}]},jt=e({name:"ZoomOutIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,n){var{attrs:r}=n,o=t((()=>e.size)),{className:i,style:s}=l(o),c=t((()=>["t-icon","t-icon-zoom-out",i.value])),u=t((()=>Ot(Ot({},s.value),r.style))),p=t((()=>({class:c.value,style:u.value,onClick:t=>{var l;return null===(l=e.onClick)||void 0===l?void 0:l.call(e,{e:t})}})));return()=>a(wt,p.value)}}); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function Pt(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),l.push.apply(l,a)}return l}function _t(e){var t=r(e);return{transform:t,mouseDownHandler:function(e){var l=e.pageX,a=e.pageY,n=t.value,r=n.translateX,o=n.translateY,i=function(e){var n=e.pageX,i=e.pageY;t.value={translateX:r+n-l,translateY:o+i-a}},s=function(){document.removeEventListener("mousemove",i),document.removeEventListener("mouseup",s)};document.addEventListener("mousemove",i),document.addEventListener("mouseup",s)},resetTransform:function(){t.value=function(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?arguments[t]:{};t%2?Pt(Object(l),!0).forEach((function(t){s(e,t,l[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):Pt(Object(l)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(l,t))}))}return e}({},e)}}} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +var Ft=e({name:"TImageItem",props:{rotate:Number,scale:Number,mirror:Number,src:[String,Object],placementSrc:[String,Object],isSvg:Boolean},setup:function(e){var l=c(e),a=l.src,n=l.placementSrc,o=l.isSvg,s=u(),b=r(!1),y=r(!1),O=_t({translateX:0,translateY:0}),w=O.transform,j=O.mouseDownHandler,P=p("imageViewer").globalConfig.value.errorText,_=r(),F=t((function(){return{transform:"rotate(".concat(e.rotate,"deg) scale(").concat(e.scale,")"),display:!e.placementSrc||y.value?"block":"none"}})),C=t((function(){return{transform:"rotate(".concat(e.rotate,"deg) scale(").concat(e.scale,")"),display:y.value?"none":"block"}})),D=t((function(){var t=w.value,l=t.translateX,a=t.translateY;return{transform:"translate(".concat(l,"px, ").concat(a,"px) scale(").concat(e.mirror,", 1)")}})),U=function(){var e=f(g.mark((function e(t){var l,a,n,r,o,i,c,u,p,v,d,f;return g.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch(t);case 2:if((a=e.sent).ok){e.next=6;break}throw b.value=!0,new Error("Failed to fetch SVG: ".concat(a.statusText));case 6:return e.next=8,a.text();case 8:n=e.sent,(r=_.value).innerHTML="",null===(l=r.classList)||void 0===l||l.add("".concat(s.value,"-image-viewer__modal-image-svg")),o=r.attachShadow({mode:"closed"}),(i=document.createElement("div")).style.background="var(--td-bg-color-container)",i.style.padding="4px",i.style.borderRadius="4px",i.style.maxHeight="100%",i.style.maxWidth="100%",i.style.boxSizing="border-box",i.style.height="auto",i.innerHTML=n,o.appendChild(i),(c=i.querySelector("svg"))&&((u=c.getAttribute("viewBox"))?(p=u.split(/[\s\,]/).filter((function(e){return e})).map(parseFloat),v=p[2],i.style.width="".concat(v,"px")):(d=c.getBBox(),f="".concat(d.x," ").concat(d.y," ").concat(d.width," ").concat(d.height),c.setAttribute("viewBox",f),i.style.width="".concat(d.width,"px")),c.style.maxHeight="100%",c.style.maxWidth="100%",c.style.height="auto",c.style.display="block",c.style.lineHeight="normal"),y.value=!0;case 26:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),x=v(a).previewUrl,k=v(n).previewUrl;return i([x,k],(function(){b.value=!1,y.value=!1,o.value&&U(x.value)})),d(f(g.mark((function e(){return g.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!o.value){e.next=3;break}return e.next=3,U(x.value);case 3:case"end":return e.stop()}}),e)})))),function(){return m("div",{class:"".concat(s.value,"-image-viewer__modal-pic")},[m("div",{class:"".concat(s.value,"-image-viewer__modal-box"),style:D.value},[b.value&&m("div",{class:"".concat(s.value,"-image-viewer__img-error")},[m("div",{class:"".concat(s.value,"-image-viewer__img-error-content")},[m(h,{size:"4em"},null),m("div",{class:"".concat(s.value,"-image-viewer__img-error-text")},[P])])]),!b.value&&!!e.placementSrc&&k.value&&m("img",{class:"".concat(s.value,"-image-viewer__modal-image"),onMousedown:function(e){e.stopPropagation(),j(e)},src:k.value,style:C.value,alt:"image",draggable:"false"},null),!b.value&&x.value&&!o.value&&m("img",{class:"".concat(s.value,"-image-viewer__modal-image"),onMousedown:function(e){e.stopPropagation(),j(e)},src:x.value,onLoad:function(){return y.value=!0},onError:function(){return b.value=!0},style:F.value,alt:"image",draggable:"false"},null),!b.value&&x.value&&o.value&&m("div",{ref:_,class:"".concat(s.value,"-image-viewer__modal-image"),onMousedown:function(e){e.stopPropagation(),j(e)},"data-alt":"svg",style:F.value,draggable:"false"},null)])])}}}),Ct=e({name:"TImageModalIcon",props:{disabled:Boolean,onClick:Function,label:String,icon:Function},setup:function(e){var l=u(),a=b(),n=t((function(){return["".concat(l.value,"-image-viewer__modal-icon"),s({},"".concat(l.value,"-is-disabled"),e.disabled)]}));return function(){return m("div",{class:n.value,onClick:e.onClick},[a("icon"),e.label&&m("span",{class:"".concat(l.value,"-image-viewer__modal-icon-label")},[e.label])])}}}),Dt={attach:{type:[String,Function],default:"body"},closeBtn:{type:[Boolean,Function],default:!0},closeOnEscKeydown:{type:Boolean,default:!0},closeOnOverlay:Boolean,draggable:{type:Boolean,default:void 0},imageScale:{type:Object},images:{type:Array,default:function(){return[]}},index:{type:Number,default:void 0},defaultIndex:{type:Number,default:0},mode:{type:String,default:"modal",validator:function(e){return!e||["modal","modeless"].includes(e)}},navigationArrow:{type:[Boolean,Function],default:!0},showOverlay:{type:Boolean,default:void 0},title:{type:[String,Function]},trigger:{type:[String,Function]},viewerScale:{type:Object},visible:{type:Boolean,default:void 0},modelValue:{type:Boolean,default:void 0},defaultVisible:Boolean,zIndex:{type:Number},onClose:Function,onIndexChange:Function}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function Ut(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),l.push.apply(l,a)}return l}var xt=function(e){return y(e)?e.map((function(e){return!(t=e)||O(t)||t instanceof File?{mainImage:e,thumbnail:e,download:!0}:function(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?arguments[t]:{};t%2?Ut(Object(l),!0).forEach((function(t){s(e,t,l[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):Ut(Object(l)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(l,t))}))}return e}({download:!0,thumbnail:e.mainImage},e);var t})):[]},kt=e({name:"TImageViewerUtils",props:{scale:Number,onRotate:Function,onZoomIn:Function,onZoomOut:Function,onMirror:Function,onReset:Function,currentImage:{type:Object,default:function(){return{}}}},setup:function(e){var l=u(),a=t((function(){return e.currentImage.mainImage})),n=v(a).previewUrl,r=p("imageViewer").globalConfig;return function(){return m("div",{class:"".concat(l.value,"-image-viewer__utils")},[m("div",{class:"".concat(l.value,"-image-viewer__utils-content")},[m(w,{overlayClassName:"".concat(l.value,"-image-viewer__utils--tip"),content:r.value.mirrorTipText,destroyOnClose:!0,placement:"top",showArrow:!0,theme:"default"},{default:function(){return[m(Ct,{onClick:e.onMirror,icon:function(){return m(Qe,{size:"medium"},null)}},null)]}}),m(w,{overlayClassName:"".concat(l.value,"-image-viewer__utils--tip"),content:r.value.rotateTipText,destroyOnClose:!0,placement:"top",showArrow:!0,theme:"default"},{default:function(){return[m(Ct,{onClick:e.onRotate,icon:function(){return m(lt,{size:"medium"},null)}},null)]}}),m(Ct,{icon:function(){return m(jt,{size:"medium"},null)},onClick:e.onZoomOut},null),m(Ct,{class:"".concat(l.value,"-image-viewer__utils-scale"),size:"medium",label:"".concat(he(String(100*e.scale)),"%")},null),m(Ct,{icon:function(){return m(bt,{size:"medium"},null)},onClick:e.onZoomIn},null),m(w,{overlayClassName:"".concat(l.value,"-image-viewer__utils--tip"),content:r.value.originalSizeTipText,destroyOnClose:!0,placement:"top",showArrow:!0,theme:"default"},{default:function(){return[m("div",{class:"".concat(l.value,"-image-viewer__modal-icon")},[m(Ct,{icon:function(){return m(j,{size:"medium"},null)},onClick:e.onReset},null)])]}}),e.currentImage.download&&m(Ct,{icon:function(){return m(Ie,{size:"medium"},null)},onClick:function(){var e,t,l,a,r,o;e=n.value,r=new Image,o=(null==e||null===(t=e.split)||void 0===t||null===(t=t.call(e,"?"))||void 0===t||null===(t=t[0])||void 0===t||null===(l=t.split)||void 0===l||null===(l=l.call(t,"#"))||void 0===l||null===(l=l[0])||void 0===l||null===(a=l.split)||void 0===a?void 0:a.call(l,"/").pop())||Math.random().toString(32).slice(2),r.setAttribute("crossOrigin","anonymous"),r.onload=function(){var e=document.createElement("canvas");e.width=r.width,e.height=r.height,e.getContext("2d").drawImage(r,0,0,r.width,r.height),e.toBlob((function(e){var t=URL.createObjectURL(e),l=document.createElement("a");l.download=o,l.href=t,l.click(),l.remove(),URL.revokeObjectURL(t)}))},r.src=e}},null)])])}}}),St=e({name:"TImageViewerModal",props:{zIndex:Number,visible:Boolean,index:Number,images:Dt.images,scale:Number,rotate:Number,mirror:Number,title:Dt.title,currentImage:{type:Object,default:function(){return{}}},onRotate:Function,onZoomIn:Function,onZoomOut:Function,onMirror:Function,onReset:Function,onClose:Dt.onClose,draggable:{type:Boolean,default:!0},viewerScale:{type:Object,default:function(){return{}}},showOverlay:Boolean,closeBtn:Dt.closeBtn},setup:function(e){var l=u(),a=b(),n=t((function(){return{minWidth:e.viewerScale.minWidth,minHeight:e.viewerScale.minHeight}}));return function(){return m(be,{destroyOnClose:!0,attach:"body",onClose:e.onClose,visible:e.visible,placement:"center",mode:"modeless",width:1e3,cancelBtn:null,confirmBtn:null,draggable:e.draggable,zIndex:e.zIndex,showOverlay:e.showOverlay,class:"".concat(l.value,"-image-viewer__dialog"),header:a("title",""),footer:function(){return m("div",{class:"".concat(l.value,"-image-viewer-mini__footer")},[m(kt,{onZoomIn:e.onZoomIn,onZoomOut:e.onZoomOut,scale:e.scale,currentImage:e.currentImage,onRotate:e.onRotate,onMirror:e.onMirror,onReset:e.onReset},null)])}},{default:function(){return[m("div",{class:"".concat(l.value,"-image-viewer-mini__content"),style:n.value},[m(Ft,{rotate:e.rotate,scale:e.scale,mirror:e.mirror,src:e.currentImage.mainImage,placementSrc:e.currentImage.thumbnail,isSvg:e.currentImage.isSvg},null)])]}})}}}),It=function(e){return e.left="ArrowLeft",e.up="ArrowUp",e.right="ArrowRight",e.down="ArrowDown",e.esc="Escape",e}(It||{}); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function Et(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),l.push.apply(l,a)}return l}var zt=B(e({name:"TImageViewer",props:function(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?arguments[t]:{};t%2?Et(Object(l),!0).forEach((function(t){s(e,t,l[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):Et(Object(l)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(l,t))}))}return e}({},Dt),setup:function(e){var l,a=u(),n=u("image-viewer"),p=b(),v=r(!0),d=t((function(){return function(e){return void 0!==e.showOverlay?e.showOverlay:"modal"===e.mode}(e)})),f=c(e),g=f.index,h=f.visible,y=f.modelValue,O=P(g,null!==(l=e.defaultIndex)&&void 0!==l?l:0,e.onIndexChange,"index"),w=_(O,2),j=w[0],B=w[1],R=F(h,y,e.defaultVisible,(function(){}),"visible"),M=_(R,2),T=M[0],V=M[1],N=r(!0),A=r(),H=C((function(){return e.attach})),q=t((function(){return[n.value,"".concat(n.value,"-preview-image"),s({},"".concat(a.value,"-is-hide"),!T.value)]})),X=t((function(){return["".concat(a.value,"-image-viewer__modal-header"),s({},"".concat(a.value,"-is-show"),v.value)]})),Z=t((function(){var t;return null!==(t=e.zIndex)&&void 0!==t?t:2600})),W=function(){v.value=!v.value},Y=function(){var e=r(1);return{mirror:e,onMirror:function(){e.value*=-1},resetMirror:function(){e.value=1}}}(),K=Y.mirror,G=Y.onMirror,J=Y.resetMirror,Q=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{max:2,min:.5,step:.2},t=e.max,l=e.min,a=e.step,n=e.defaultScale,s=r(null!=n?n:1),c=o((function(){var e=ge(s.value,a);v(e)}),50),u=o((function(){var e=me(s.value,a);v(e)}),50),p=function(){s.value=null!=n?n:1},v=function(e){var a=e;e<l&&(a=l),e>t&&(a=t),s.value=a};return i((function(){return e}),(function(){return p()})),{scale:s,onZoomIn:c,onZoomOut:u,resetScale:p}}(e.imageScale),$=Q.scale,ee=Q.onZoomIn,te=Q.onZoomOut,le=Q.resetScale,ae=function(){var e=r(0);return{rotate:e,onRotate:function(){e.value+=90},resetRotate:function(){e.value=0}}}(),ne=ae.rotate,re=ae.onRotate,oe=ae.resetRotate,ie=function(){J(),le(),oe()},se=t((function(){return xt(e.images)})),ce=t((function(){var e;return null!==(e=se.value[j.value])&&void 0!==e?e:{mainImage:""}})),ue=ye("dialog",{visible:T}).isLastDialog,pe=function(){var e=j.value-1;ie(),B(e<0?0:e,{trigger:"prev"})},ve=function(){var e=j.value+1;ie(),B(e>=se.value.length?j.value:e,{trigger:"next"})},de=function(){V(!0)},fe=function(t){var l;V(!1),null===(l=e.onClose)||void 0===l||l.call(e,t)},he=function(e){fe({e:e,trigger:"close-btn"})},be=function(t){e.closeOnOverlay&&fe({e:t,trigger:"overlay"})},we=function(t){switch(t.stopPropagation(),t.code){case It.left:pe();break;case It.right:ve();break;case It.up:ee();break;case It.down:te();break;case It.esc:e.closeOnEscKeydown&&ue()&&fe({e:t,trigger:"esc"})}},je=r();i((function(){return T.value}),(function(e){clearTimeout(A.value),e?(N.value=!1,D().then((function(){var e,t;null===(e=je.value)||void 0===e||null===(t=e.focus)||void 0===t||t.call(e)})),ie()):A.value=setTimeout((function(){N.value=!0}),200)}));var Pe=function(e){e.preventDefault(),e.deltaY>0?te():ee()},_e=t((function(){return{transform:"translateX(calc(-".concat(j.value," * (40px / 9 * 16 + 4px)))")}})),Fe=function(){return m("div",{class:X.value},[m(Ct,{icon:function(){return m(Oe,null,null)},class:"".concat(n.value,"__header-pre-bt"),onClick:W},null),m("div",{class:"".concat(n.value,"__header-prev")},[m("div",{class:"".concat(n.value,"__header-trans"),style:_e.value},[se.value.map((function(e,t){return m("div",{key:t,class:["".concat(n.value,"__header-box"),s({},"".concat(a.value,"-is-active"),t===j.value)]},[m(E,{src:e.thumbnail||e.mainImage,error:"",className:"".concat(n.value,"__header-img"),onClick:function(){B(t,{trigger:"current"})}},null)])}))])])])},Ce=function(e){var t=p("navigationArrow",m(z,{style:{transform:"rotate(".concat("prev"===e?0:180,"deg)")},size:"24px"},null));return m(Ct,{class:"".concat(n.value,"__modal-").concat(e,"-bt"),onClick:"prev"===e?pe:ve,icon:function(){return t}},null)},De=function(){if(!1!==e.closeBtn)return m("div",{class:["".concat(n.value,"__modal-icon"),"".concat(n.value,"__modal-close-bt")],onClick:he},[p("closeBtn",m(L,{size:"24px"},null))])};return function(){return"modeless"===e.mode?m(U,null,[p("trigger",{params:{open:de}}),m(St,{zIndex:Z.value,visible:T.value,index:j.value,images:se.value,scale:$.value,rotate:ne.value,mirror:K.value,currentImage:ce.value,onRotate:re,onZoomIn:ee,onZoomOut:te,onMirror:G,onReset:ie,onClose:fe,draggable:e.draggable,showOverlay:d.value,title:e.title},null)]):m(U,null,[p("trigger",{params:{open:de}}),m(x,{disabled:!e.attach||!H.value,to:H.value},{default:function(){return[m(k,null,{default:function(){return[(T.value||!N.value)&&S(m("div",{ref:je,class:q.value,style:{zIndex:Z.value},onWheel:Pe,tabindex:-1,onKeydown:we},[!!d.value&&m("div",{class:"".concat(n.value,"__modal-mask"),onClick:be},null),se.value.length>1&&m(U,null,[Fe(),m("div",{class:"".concat(n.value,"__modal-index")},[e.title&&p("title"),"".concat(j.value+1,"/").concat(se.value.length)]),Ce("prev"),Ce("next")]),De(),m(kt,{onZoomIn:ee,onZoomOut:te,onMirror:G,onReset:ie,onRotate:re,scale:$.value,currentImage:ce.value},null),m(Ft,{scale:$.value,rotate:ne.value,mirror:K.value,src:ce.value.mainImage,placementSrc:ce.value.thumbnail,isSvg:ce.value.isSvg},null)]),[[I,T.value]])]}})]}})])}}})),Lt={abridgeName:{type:Array},accept:{type:String,default:""},action:{type:String,default:""},allowUploadDuplicateFile:Boolean,autoUpload:{type:Boolean,default:!0},beforeAllFilesUpload:{type:Function},beforeUpload:{type:Function},cancelUploadButton:{type:[Object,Function]},data:{type:[Object,Function]},default:{type:[String,Function]},disabled:{type:Boolean,default:void 0},dragContent:{type:[String,Function]},draggable:{type:Boolean,default:void 0},fileListDisplay:{type:Function},files:{type:Array,default:void 0},defaultFiles:{type:Array,default:function(){return[]}},format:{type:Function},formatRequest:{type:Function},formatResponse:{type:Function},headers:{type:Object},imageViewerProps:{type:Object},inputAttributes:{type:Object},isBatchUpload:Boolean,locale:{type:Object},max:{type:Number,default:0},method:{type:String,default:"POST",validator:function(e){return!e||["POST","GET","PUT","OPTION","PATCH","post","get","put","option","patch"].includes(e)}},mockProgressDuration:{type:Number},multiple:Boolean,name:{type:String,default:"file"},placeholder:{type:String,default:""},requestMethod:{type:Function},showImageFileName:{type:Boolean,default:!0},showThumbnail:Boolean,showUploadProgress:{type:Boolean,default:!0},sizeLimit:{type:[Number,Object]},status:{type:String,validator:function(e){return!e||["default","success","warning","error"].includes(e)}},theme:{type:String,default:"file",validator:function(e){return!e||["custom","file","file-input","file-flow","image","image-flow"].includes(e)}},tips:{type:[String,Function]},trigger:{type:Function},triggerButtonProps:{type:Object},uploadAllFilesInOneRequest:Boolean,uploadButton:{type:[Object,Function]},uploadPastedFiles:{type:Boolean,default:!0},useMockProgress:{type:Boolean,default:!0},value:{type:Array,default:void 0},modelValue:{type:Array,default:void 0},defaultValue:{type:Array,default:function(){return[]}},withCredentials:Boolean,onCancelUpload:Function,onChange:Function,onDragenter:Function,onDragleave:Function,onDrop:Function,onFail:Function,onOneFileFail:Function,onOneFileSuccess:Function,onPreview:Function,onProgress:Function,onRemove:Function,onSelectChange:Function,onSuccess:Function,onValidate:Function,onWaitingUploadFilesChange:Function},Bt={accept:String,files:Array,toUploadFiles:Array,displayFiles:Array,theme:String,abridgeName:Array,placeholder:String,classPrefix:String,tips:[String,Function],status:String,locale:Object,sizeOverLimitMessage:String,autoUpload:Boolean,uploadPastedFiles:Boolean,onPasteFileChange:Function,disabled:Boolean,uploading:Boolean,tipsClasses:[String,Array,Object],errorClasses:[String,Array,Object],placeholderClass:[String,Array,Object],showUploadProgress:Boolean,default:Function,fileListDisplay:Function,onRemove:Function,imageViewerProps:Object}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function Rt(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),l.push.apply(l,a)}return l}var Mt=e({name:"UploadNormalFile",props:function(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?arguments[t]:{};t%2?Rt(Object(l),!0).forEach((function(t){s(e,t,l[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):Rt(Object(l)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(l,t))}))}return e}({multiple:Boolean},Bt),setup:function(e,l){var a=l.slots,n=c(e),r=n.theme,o=n.disabled,i=n.classPrefix,u=t((function(){return e.locale})),p=R({CloseIcon:L,TimeFilledIcon:ot,CheckCircleFilledIcon:M,ErrorCircleFilledIcon:T,CloseCircleFilledIcon:we}),v=p.CloseIcon,d=p.TimeFilledIcon,f=p.CheckCircleFilledIcon,g=p.ErrorCircleFilledIcon,h=p.CloseCircleFilledIcon,y=b(),O="".concat(i.value,"-upload"),w=function(t){return m("div",{class:"".concat(O,"__single-progress")},[m(H,null,null),e.showUploadProgress&&m("span",{class:"".concat(O,"__single-percent")},[t||0,"%"])])},j=function(){var t;if("file-input"===r.value){var l=e.displayFiles[0]||[],a=["".concat(i.value,"-input__inner"),s({},"".concat(O,"__placeholder"),!e.displayFiles[0])],n=o.value?"".concat(i.value,"-is-disabled"):"",c=null!==(t=e.abridgeName)&&void 0!==t&&t.length&&null!=l&&l.name?V.apply(void 0,[l.name].concat(N(e.abridgeName))):null==l?void 0:l.name;return m("div",{class:"".concat(O,"__single-input-preview ").concat(i.value,"-input ").concat(n)},[m("div",{class:a},[m("span",{class:["".concat(O,"__single-input-text"),s({},e.placeholderClass,e.placeholder&&!(null!=l&&l.name))]},[null!=l&&l.name?c:e.placeholder]),"progress"===(null==l?void 0:l.status)&&w(l.percent),"waiting"===(null==l?void 0:l.status)&&m(d,{class:"".concat(O,"__status-icon ").concat(O,"__file-waiting")},null),"success"===l.status&&m(f,{class:"".concat(O,"__status-icon")},null),(null==l?void 0:l.name)&&"fail"===l.status&&m(g,{class:"".concat(O,"__status-icon ").concat(O,"__file-fail")},null),Boolean(!o.value&&l.name)&&m(h,{class:"".concat(O,"__single-input-clear"),onClick:function(t){var a=t.e;return e.onRemove({e:a,file:l,index:0})}},null)])])}};return function(){var t,l,n,i=["".concat(O,"__single"),"".concat(O,"__single-").concat(r.value)],s=y("fileListDisplay",{params:{onRemove:e.onRemove,toUploadFiles:e.toUploadFiles,sizeOverLimitMessage:e.sizeOverLimitMessage,locale:e.locale,files:e.displayFiles}});null!==e.fileListDisplay&&null!==s||(s=null);var c,p,f=e.displayFiles;return m("div",{class:i},["file-input"===r.value&&j(),null===(t=a.default)||void 0===t?void 0:t.call(a),"file"===r.value&&e.placeholder&&!f[0]&&m("small",{class:[e.tipsClasses,e.placeholderClass]},[e.placeholder]),null===s?null:s||(c=f,"file"!==r.value||!e.multiple&&"fail"===(null===(p=c[0])||void 0===p?void 0:p.status)&&e.autoUpload?null:c.map((function(t,l){var a,n=e.abridgeName&&t.name?V.apply(void 0,[t.name].concat(N(e.abridgeName))):t.name;return m("div",{class:"".concat(O,"__single-display-text ").concat(O,"__display-text--margin"),key:t.name+l+t.percent+t.status},[t.url?m(fe,{href:t.url,target:"_blank",hover:"color",size:"small",class:"".concat(O,"__single-name"),disabled:!1},(a=n,"function"==typeof a||"[object Object]"===Object.prototype.toString.call(a)&&!A(a)?n:{default:function(){return[n]}})):m("span",{class:"".concat(O,"__single-name")},[n]),"fail"===t.status&&m("div",{class:"".concat(O,"__flow-status ").concat(O,"__file-fail")},[m(g,null,null)]),"waiting"===t.status&&m("div",{class:"".concat(O,"__flow-status ").concat(O,"__file-waiting")},[m(d,null,null)]),"progress"===t.status&&w(t.percent),!o.value&&"progress"!==t.status&&m(v,{class:"".concat(O,"__icon-delete"),onClick:function(a){var n=a.e;return e.onRemove({e:n,file:t,index:l})}},null)])}))),e.multiple||"fail"!==(null===(l=f[0])||void 0===l?void 0:l.status)||"file"!==r.value?null:m("small",{class:[e.errorClasses,e.placeholderClass]},[(null===(n=f[0].response)||void 0===n?void 0:n.error)||u.value.progress.failText])])}}}); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function Tt(e,t){var l=r(null),a=r(!1);return{target:l,dragActive:a,handleDrop:function(l){var n;l.preventDefault(),a.value=!1;var r,o=l.dataTransfer.files,i=q(o,t.value);(null===(n=e.onDrop)||void 0===n||n.call(e,{e:l}),null!=i&&i.length)&&(null===(r=e.onDragFileChange)||void 0===r||r.call(e,i))},handleDragenter:function(t){var n;t.preventDefault(),l.value=t.target,null===(n=e.onDragenter)||void 0===n||n.call(e,{e:t}),a.value=!0},handleDragleave:function(t){var n;t.target===l.value&&(t.preventDefault(),null===(n=e.onDragleave)||void 0===n||n.call(e,{e:t}),a.value=!1)},handleDragover:function(e){e.preventDefault()}}} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function Vt(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),l.push.apply(l,a)}return l}function Nt(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?arguments[t]:{};t%2?Vt(Object(l),!0).forEach((function(t){s(e,t,l[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):Vt(Object(l)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(l,t))}))}return e}var At=e({name:"UploadDraggerFile",props:Nt(Nt({},Bt),{},{trigger:Function,triggerUpload:Function,uploadFiles:Function,cancelUpload:Function,dragEvents:Object}),setup:function(e,l){var a=l.slots,n=c(e),o=n.displayFiles,i=n.disabled,u=n.accept,p=t((function(){return e.locale})),v=b(),d=je().sizeClassNames,f="".concat(e.classPrefix,"-upload"),g=Tt(e.dragEvents,u),h=g.dragActive,y=r(),O=t((function(){var e;return["".concat(f,"__dragger"),s({},"".concat(f,"__dragger-center"),!o.value[0]),s({},"".concat(f,"__dragger-error"),"fail"===(null===(e=o.value[0])||void 0===e?void 0:e.status))]})),w=R({CheckCircleFilledIcon:M,ErrorCircleFilledIcon:T}),j=w.CheckCircleFilledIcon,P=w.ErrorCircleFilledIcon,_=function(){var t;if(e.displayFiles.length){var l=o.value[0];if(!l)return null;var a=(null==l?void 0:l.url)||(null==l||null===(t=l.response)||void 0===t?void 0:t.url);return m("div",{class:"".concat(f,"__dragger-img-wrap")},[m(zt,Y({images:[a],trigger:function(e,t){var n=t.open;return m(E,{src:a||l.raw,onClick:n,error:"",loading:""},null)}},e.imageViewerProps),null)])}},F=function(){if(e.displayFiles.length){var t=o.value[0];return t?"progress"===(null==t?void 0:t.status)?m("div",{class:"".concat(f,"__single-progress")},[m(H,null,null),e.showUploadProgress&&m("span",{class:"".concat(f,"__single-percent")},[t.percent,"%"])]):void 0:null}},C=function(){var t,l,n,r,s=o.value[0];return!s||!["progress","success","fail","waiting"].includes(s.status)&&s.status?m("div",{class:"".concat(f,"__trigger"),onClick:e.triggerUpload},[(null===(t=a.default)||void 0===t?void 0:t.call(a))||(n=m("div",null,[m("span",{class:"".concat(f,"--highlight")},[null===(l=p.value.triggerUploadText)||void 0===l?void 0:l.normal]),m("span",null,[" / ",p.value.dragger.draggingText])]),r=m("div",null,[p.value.dragger.dragDropText]),h.value?r:n)]):function(){var t,l=o.value[0],a=e.abridgeName?V.apply(void 0,[l.name].concat(N(e.abridgeName))):l.name,n=[m("div",{class:"".concat(f,"__dragger-text"),key:"info"},[m("span",{class:"".concat(f,"__single-name")},[a]),"progress"===l.status&&F(),"success"===l.status&&m(j,null,null),"fail"===l.status&&m(P,null,null)]),m("small",{class:"".concat(d.small),key:"size"},[p.value.file.fileSizeText,":",Z(l.size)]),m("small",{class:"".concat(d.small),key:"time"},[p.value.file.fileOperationDateText,":",l.uploadTime||"-"])];return m("div",{class:"".concat(f,"__dragger-progress")},["image"===e.theme&&_(),m("div",{class:"".concat(f,"__dragger-progress-info")},[v("fileListDisplay",{params:{files:e.displayFiles}})||n,m("div",{class:"".concat(f,"__dragger-btns")},[["progress","waiting"].includes(l.status)&&!i.value&&m(W,{theme:"primary",variant:"text",class:"".concat(f,"__dragger-progress-cancel"),onClick:function(t){var l;return null===(l=e.cancelUpload)||void 0===l?void 0:l.call(e,{e:t,file:e.toUploadFiles[0]||e.files[0]})}},{default:function(){return[null===(t=p.value)||void 0===t?void 0:t.cancelUploadText]}}),!e.autoUpload&&"waiting"===l.status&&m(W,{theme:"primary",variant:"text",disabled:i.value,onClick:function(){var t;return null===(t=e.uploadFiles)||void 0===t?void 0:t.call(e)},class:"".concat(f,"__dragger-upload-btn")},{default:function(){return[p.value.triggerUploadText.normal]}})]),["fail","success"].includes(null==l?void 0:l.status)&&!i.value&&m("div",{class:"".concat(f,"__dragger-btns")},[m(W,{theme:"primary",variant:"text",disabled:i.value,class:"".concat(f,"__dragger-progress-cancel"),onClick:e.triggerUpload},{default:function(){return[p.value.triggerUploadText.reupload]}}),m(W,{theme:"danger",variant:"text",disabled:i.value,class:"".concat(f,"__dragger-delete-btn"),onClick:function(t){return e.onRemove({e:t,index:0,file:l})}},{default:function(){return[p.value.triggerUploadText.delete]}})])])])}()};return function(){var t;return m("div",{ref:y,class:O.value,onDrop:g.handleDrop,onDragenter:g.handleDragenter,onDragover:g.handleDragover,onDragleave:g.handleDragleave},[(null===(t=e.trigger)||void 0===t?void 0:t.call(e,X,{files:o.value,dragActive:h.value}))||C()])}}}); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function Ht(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),l.push.apply(l,a)}return l}function qt(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?arguments[t]:{};t%2?Ht(Object(l),!0).forEach((function(t){s(e,t,l[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):Ht(Object(l)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(l,t))}))}return e}var Xt=e({name:"UploadImageCard",props:qt(qt({},Bt),{},{multiple:Boolean,max:Number,disabled:Boolean,showUploadProgress:Boolean,triggerUpload:Function,uploadFiles:Function,cancelUpload:Function,onPreview:Function,showImageFileName:Boolean}),setup:function(e){var l=c(e),a=l.displayFiles,n=l.classPrefix,r=l.multiple,o=l.max,i=t((function(){return e.locale})),u=R({AddIcon:K,BrowseIcon:Pe,DeleteIcon:Ue,ErrorCircleFilledIcon:T}),p=u.BrowseIcon,v=u.DeleteIcon,d=u.AddIcon,f=u.ErrorCircleFilledIcon,g=b(),h=t((function(){var e;return r.value?!o.value||a.value.length<o.value:!(null!==(e=a.value)&&void 0!==e&&e[0])})),y=function(t,l){return m("div",{class:"".concat(n.value,"-upload__card-content ").concat(n.value,"-upload__card-box")},[m(E,{class:"".concat(n.value,"-upload__card-image"),src:t.url||t.raw,error:"",fit:"contain"},null),m("div",{class:"".concat(n.value,"-upload__card-mask")},[m("span",{class:"".concat(n.value,"-upload__card-mask-item"),onClick:function(e){return e.stopPropagation()}},[m(zt,Y({images:a.value.map((function(e){return e.url||e.raw})),defaultIndex:l,trigger:function(a,n){var r=n.open;return m(p,{onClick:function(a){var n,o=a.e;null===(n=e.onPreview)||void 0===n||n.call(e,{file:t,index:l,e:o}),r()}},null)}},e.imageViewerProps),null)]),!e.disabled&&m(U,null,[m("span",{class:"".concat(n.value,"-upload__card-mask-item-divider")},null),m("span",{class:"".concat(n.value,"-upload__card-mask-item"),onClick:function(e){return e.stopPropagation()}},[m(v,{onClick:function(a){var n,r=a.e;return null==e||null===(n=e.onRemove)||void 0===n?void 0:n.call(e,{e:r,file:t,index:l})}},null)])])])])},O=function(t,l){var a;return m("div",{class:[l,"".concat(n.value,"-upload__").concat(e.theme,"-").concat(t.status)]},[m(H,{loading:!0,size:"medium"},null),m("p",null,[null===(a=i.value)||void 0===a||null===(a=a.progress)||void 0===a?void 0:a.uploadingText,e.showUploadProgress?" ".concat(t.percent,"%"):""])])},w=function(t,l,a){var r,o;return m("div",{class:a},[m(f,null,null),m("p",null,[(null===(r=t.response)||void 0===r?void 0:r.error)||(null===(o=i.value)||void 0===o||null===(o=o.progress)||void 0===o?void 0:o.failText)]),m("div",{class:"".concat(n.value,"-upload__card-mask")},[m("span",{class:"".concat(n.value,"-upload__card-mask-item"),onClick:function(e){return e.stopPropagation()}},[m(v,{onClick:function(a){var n,r=a.e;return null==e||null===(n=e.onRemove)||void 0===n?void 0:n.call(e,{e:r,file:t,index:l})}},null)])])])};return function(){var t,l,r=g("fileListDisplay",{params:{triggerUpload:e.triggerUpload,uploadFiles:e.uploadFiles,cancelUpload:e.cancelUpload,onPreview:e.onPreview,onRemove:e.onRemove,toUploadFiles:e.toUploadFiles,sizeOverLimitMessage:e.sizeOverLimitMessage,locale:e.locale,files:a.value}});if(r)return r;var o="".concat(n.value,"-upload__card-item ").concat(n.value,"-is-background");return m("div",null,[m("ul",{class:"".concat(n.value,"-upload__card")},[null===(t=a.value)||void 0===t?void 0:t.map((function(t,l){var a,r="".concat(n.value,"-upload__card-name"),i="".concat(n.value,"-upload__card-container ").concat(n.value,"-upload__card-box"),s=e.abridgeName?V.apply(void 0,[t.name].concat(N(e.abridgeName))):t.name;return m("li",{class:o,key:l},["progress"===t.status&&O(t,i),"fail"===t.status&&w(t,l,i),!["progress","fail"].includes(t.status)&&y(t,l),Boolean(s&&e.showImageFileName)&&(t.url?m(fe,{href:t.url,class:r,target:"_blank",hover:"color",size:"small",disabled:!1},(a=s,"function"==typeof a||"[object Object]"===Object.prototype.toString.call(a)&&!A(a)?s:{default:function(){return[s]}})):m("span",{class:r},[s]))])})),h.value&&m("li",{class:o,onClick:e.triggerUpload},[m("div",{class:["".concat(n.value,"-upload__image-add"),"".concat(n.value,"-upload__card-container"),"".concat(n.value,"-upload__card-box"),s({},"".concat(n.value,"-is-disabled"),e.disabled)]},[m(d,null,null),m("p",{class:["".concat(n.value,"-size-s"),"".concat(n.value,"-upload__add-text")]},[null===(l=i.value)||void 0===l||null===(l=l.triggerUploadText)||void 0===l?void 0:l.image])])])])])}}}); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function Zt(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),l.push.apply(l,a)}return l}function Wt(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?arguments[t]:{};t%2?Zt(Object(l),!0).forEach((function(t){s(e,t,l[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):Zt(Object(l)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(l,t))}))}return e}var Yt=e({name:"UploadMultipleFlowList",props:Wt(Wt({},Bt),{},{showThumbnail:Boolean,uploadFiles:Function,cancelUpload:Function,dragEvents:Object,disabled:Boolean,isBatchUpload:Boolean,draggable:Boolean,showImageFileName:Boolean,uploadButton:Object,cancelUploadButton:Object,onPreview:Function}),setup:function(e,l){var a=l.slots,n=c(e),o=n.uploading,i=n.disabled,u=n.displayFiles,p=n.classPrefix,v=n.accept,d=t((function(){return"".concat(p.value,"-upload")})),f=t((function(){return e.locale})),g=b(),h=R({BrowseIcon:Pe,DeleteIcon:Ue,CheckCircleFilledIcon:M,ErrorCircleFilledIcon:T,TimeFilledIcon:ot,FileExcelIcon:Be,FilePdfIcon:Ve,FileWordIcon:Ye,FilePowerpointIcon:qe,FileIcon:G,VideoIcon:ft}),y=h.BrowseIcon,O=h.DeleteIcon,w=h.CheckCircleFilledIcon,j=h.ErrorCircleFilledIcon,P=h.TimeFilledIcon,_=h.FileExcelIcon,F=h.FilePdfIcon,C=h.FileWordIcon,D=h.FilePowerpointIcon,U=h.FileIcon,x=h.VideoIcon,k=Tt(e.dragEvents,v),S=r([]),I=r(0),z=t((function(){return o.value?"".concat(f.value.progress.uploadingText):f.value.triggerUploadText.normal})),L=t((function(){return void 0===e.draggable||e.draggable?{onDrop:k.handleDrop,onDragenter:k.handleDragenter,onDragover:k.handleDragover,onDragleave:k.handleDragleave}:{}})),B=function(){var e={success:m(w,null,null),fail:m(j,null,null),progress:m(H,null,null),waiting:m(P,null,null)},t=f.value.progress;return{iconMap:e,textMap:{success:null==t?void 0:t.successText,fail:null==t?void 0:t.failText,progress:null==t?void 0:t.uploadingText,waiting:null==t?void 0:t.waitingText}}},q=function(){return m("div",{class:"".concat(d.value,"__flow-empty")},[k.dragActive.value?f.value.dragger.dragDropText:f.value.dragger.clickAndDragText])},X=function(t){var l,a,n=B(),r=n.iconMap,o=n.textMap;return m("div",{class:"".concat(d.value,"__flow-status")},[r[t.status],m("span",{class:"".concat(d.value,"__").concat(e.theme,"-").concat(t.status)},[null!==(l=t.response)&&void 0!==l&&l.error&&(null===(a=t.response)||void 0===a?void 0:a.error)||o[t.status],e.showUploadProgress&&"progress"===t.status?" ".concat(t.percent||0,"%"):""])])},Z=function(e){return te.test(e)?m(F,null,null):le.test(e)?m(_,null,null):ae.test(e)?m(C,null,null):ne.test(e)?m(D,null,null):re.test(e)?m(x,null,null):m(U,null,null)},K=function(t){if(!t||!t.raw&&t.url)return null;var l=t.raw.type,a="".concat(d.value,"__file-thumbnail");return ee.test(l)?m(E,{class:a,src:t.url||t.raw,fit:"scale-down",error:"",loading:"",onClick:function(l){var a;l.preventDefault(),S.value=[t],I.value=0,null===(a=e.onPreview)||void 0===a||a.call(e,{file:t,index:0,e:l})}},null):m("div",{class:a},[Z(l)])},oe=function(){var t,l,a,n,r=g("fileListDisplay",{params:{cancelUpload:e.cancelUpload,uploadFiles:e.uploadFiles,onPreview:e.onPreview,onRemove:e.onRemove,toUploadFiles:e.toUploadFiles,sizeOverLimitMessage:e.sizeOverLimitMessage,locale:e.locale,files:e.displayFiles,dragEvents:L.value}});return r||e.fileListDisplay?r:m("table",Y({class:"".concat(d.value,"__flow-table")},L.value),[m("thead",null,[m("tr",null,[m("th",null,[null===(t=f.value.file)||void 0===t?void 0:t.fileNameText]),m("th",{style:{minWidth:"120px"}},[null===(l=f.value.file)||void 0===l?void 0:l.fileSizeText]),m("th",{style:{minWidth:"120px"}},[null===(a=f.value.file)||void 0===a?void 0:a.fileStatusText]),i.value?null:m("th",null,[null===(n=f.value.file)||void 0===n?void 0:n.fileOperationText])])]),m("tbody",null,[!u.value.length&&m("tr",null,[m("td",{colSpan:4},[q()])]),u.value.map((function(t,l){var a,n,r=e.isBatchUpload&&u.value.every((function(e){return"success"===e.status||!e.status}))?function(t){var l;return 0===t?m("td",{rowSpan:u.value.length,class:"".concat(d.value,"__flow-table__batch-row")},[m(W,{theme:"primary",variant:"text",content:null===(l=f.value)||void 0===l||null===(l=l.triggerUploadText)||void 0===l?void 0:l.delete,class:"".concat(d.value,"__delete"),onClick:function(t){return e.onRemove({e:t,index:-1,file:void 0})}},null)]):null}(l):function(t,l){var a;return m("td",null,[m(W,{theme:"primary",variant:"text",content:null===(a=f.value)||void 0===a||null===(a=a.triggerUploadText)||void 0===a?void 0:a.delete,class:"".concat(d.value,"__delete"),onClick:function(a){return e.onRemove({e:a,index:l,file:t})}},null)])}(t,l),o=null!==(a=e.abridgeName)&&void 0!==a&&a.length?V.apply(void 0,[t.name].concat(N(e.abridgeName))):t.name,s=e.showThumbnail?m("div",{class:"".concat(d.value,"__file-info")},[K(t),o]):o,c=t.url?m(fe,{href:t.url,target:"_blank",hover:"color",disabled:!1},"function"==typeof(n=s)||"[object Object]"===Object.prototype.toString.call(n)&&!A(n)?s:{default:function(){return[s]}}):s;return m("tr",{key:t.name+l+t.size},[m("td",{class:"".concat(d.value,"__file-name"),key:t.name+t.url},[c]),m("td",null,[$(t.size)]),m("td",null,[X(t)]),i.value?null:r])}))])])},ie=function(){var t=g("fileListDisplay",{params:{cancelUpload:e.cancelUpload,uploadFiles:e.uploadFiles,onRemove:e.onRemove,onPreview:e.onPreview,toUploadFiles:e.toUploadFiles,sizeOverLimitMessage:e.sizeOverLimitMessage,locale:e.locale,files:e.displayFiles,dragEvents:L.value}});return t||e.fileListDisplay?t:m("ul",{class:"".concat(d.value,"__card clearfix")},[e.displayFiles.map((function(t,l){return function(t,l){var a=B(),n=a.iconMap,r=a.textMap,o=e.abridgeName&&t.name?V.apply(void 0,[t.name].concat(N(e.abridgeName))):t.name;return m("li",{class:"".concat(d.value,"__card-item"),key:t.name+l+t.percent+t.status||"0"},[m("div",{class:["".concat(d.value,"__card-content"),s({},"".concat(p.value,"-is-bordered"),"waiting"!==t.status)]},[["fail","progress"].includes(t.status)&&m("div",{class:"".concat(d.value,"__card-status-wrap ").concat(d.value,"__").concat(e.theme,"-").concat(t.status)},[n[t.status],m("p",null,[r[t.status],e.showUploadProgress&&"progress"===t.status?" ".concat(t.percent,"%"):""])]),(["waiting","success"].includes(t.status)||!t.status&&t.url)&&m(E,{class:"".concat(d.value,"__card-image"),src:t.url||t.raw,error:"",loading:"",fit:"contain"},null),m("div",{class:"".concat(d.value,"__card-mask")},[(t.url||t.raw)&&!["progress","fail"].includes(t.status)&&m("span",{class:"".concat(d.value,"__card-mask-item")},[m(y,{onClick:function(a){var n,r=a.e;I.value=l,S.value=u.value,null===(n=e.onPreview)||void 0===n||n.call(e,{file:t,index:l,e:r})}},null),m("span",{class:"".concat(d.value,"__card-mask-item-divider")},null)]),!i.value&&m("span",{class:"".concat(d.value,"__card-mask-item ").concat(d.value,"__delete"),onClick:function(a){return e.onRemove({e:a,index:l,file:t})}},[m(O,null,null)])])]),e.showImageFileName&&m("p",{class:["".concat(d.value,"__card-name"),"".concat(d.value,"__flow-status")]},[["success","waiting"].includes(t.status)&&n[t.status],o])])}(t,l)}))])};return function(){var t,l,n,r="".concat(d.value,"__flow-card-area"),s=i.value||!o.value,c=a.uploadButton||J(e.uploadButton),p=Boolean(i.value||o.value||!u.value.length),v=a.cancelUploadButton||J(e.cancelUploadButton);return m("div",{class:"".concat(d.value,"__flow ").concat(d.value,"__flow-").concat(e.theme)},[m("div",{class:"".concat(d.value,"__flow-op")},[null===(t=a.default)||void 0===t?void 0:t.call(a),e.placeholder&&m("small",{class:"".concat(d.value,"__flow-placeholder ").concat(d.value,"__placeholder")},[e.placeholder])]),"image-flow"===e.theme&&m("div",Y({class:r},L.value),[u.value.length?ie():q()]),"file-flow"===e.theme&&(u.value.length?oe():m("div",Y({class:r},L.value),[q()])),!e.autoUpload&&(null!==e.uploadButton||null!==e.cancelUploadButton)&&m("div",{class:"".concat(d.value,"__flow-bottom")},[null!==e.cancelUploadButton&&(c?g("cancelUploadButton",{params:{disabled:s,cancelUploadText:null===(l=f.value)||void 0===l?void 0:l.cancelUploadText,cancelUpload:e.cancelUpload}}):m(W,Y({theme:"default",disabled:s,content:null===(n=f.value)||void 0===n?void 0:n.cancelUploadText,class:"".concat(d.value,"__cancel"),onClick:function(t){var l;return null===(l=e.cancelUpload)||void 0===l?void 0:l.call(e,{e:t})}},Q(e.cancelUploadButton)?e.cancelUploadButton:{}),null)),null!==e.uploadButton&&(v?g("uploadButton",{params:{disabled:p,uploading:o.value,uploadText:z.value,uploadFiles:e.uploadFiles}}):m(W,Y({disabled:p,theme:"primary",loading:o.value,class:"".concat(d.value,"__continue"),content:z.value,onClick:function(){var t;return null===(t=e.uploadFiles)||void 0===t?void 0:t.call(e)}},Q(e.uploadButton)?e.uploadButton:{}),null))]),m(zt,Y({images:S.value.map((function(e){return e.url||e.raw})),visible:!!S.value.length,onClose:function(){S.value=[]},index:I.value,onIndexChange:function(e){return I.value=e}},e.imageViewerProps),null)])}}}); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function Kt(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),l.push.apply(l,a)}return l}function Gt(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?arguments[t]:{};t%2?Kt(Object(l),!0).forEach((function(t){s(e,t,l[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):Kt(Object(l)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(l,t))}))}return e}var Jt=e({name:"UploadCustomFile",props:Gt(Gt({},Bt),{},{dragEvents:Object,draggable:Boolean,dragContent:Function,trigger:Function,triggerUpload:Function,childrenNode:[String,Function]}),setup:function(e,t){var l=t.slots,a=c(e),n=a.classPrefix,r=a.displayFiles,o=a.accept,i=Tt(e.dragEvents,o),s=i.dragActive,u=oe();return function(){var t,a,o,c;return m(U,null,[e.draggable?(c={dragActive:s.value||!1,files:r.value},m("div",{class:"".concat(n.value,"-upload__dragger ").concat(n.value,"-upload__dragger-center"),onDrop:i.handleDrop,onDragenter:i.handleDragenter,onDragover:i.handleDragover,onDragleave:i.handleDragleave,onClick:e.triggerUpload},[m("div",{class:"".concat(n.value,"-upload__trigger")},[u("dragContent","trigger",{params:c})||(null===(o=e.childrenNode)||void 0===o?void 0:o.call(e,c))])])):m("div",{class:"".concat(n.value,"-upload__trigger"),onClick:e.triggerUpload},[(null===(t=e.childrenNode)||void 0===t?void 0:t.call(e,{files:r.value}))||(null===(a=l.default)||void 0===a?void 0:a.call(l))])])}}}); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function Qt(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),l.push.apply(l,a)}return l}function $t(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?arguments[t]:{};t%2?Qt(Object(l),!0).forEach((function(t){s(e,t,l[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):Qt(Object(l)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(l,t))}))}return e} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function el(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),l.push.apply(l,a)}return l}function tl(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?arguments[t]:{};t%2?el(Object(l),!0).forEach((function(t){s(e,t,l[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):el(Object(l)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(l,t))}))}return e}function ll(e){var t=e.event,l=e.files,a=e.response,n=e.XMLHttpRequest,r=e.formatResponse,o=a;return J(r)&&(o=r(a,{file:l[0],currentFiles:l})),l.forEach((function(e){e.status="fail",e.response=o})),{response:o,event:t,files:l,XMLHttpRequest:n}}function al(e){var t=e.action,l=e.toUploadFiles,a=e.requestMethod;return new Promise((function(n){if(!t&&!a)return ie.error("Upload","one of action and requestMethod must be exist."),void n({});if(!l||!l.length)return ie.warn("Upload","No files need to be uploaded"),void n({});if(l.forEach((function(e){e.status="progress"})),a)a(e.multiple?l:l[0]).then((function(t){if(function(e){return e?e.status?["success","fail"].includes(e.status)?("success"!==e.status||e.response&&(e.response.url||e.response.files)||ie.warn("Upload","`requestMethodResponse.response.url` or `requestMethodResponse.response.files` is required if `status` is `success`"),!0):(ie.error("Upload","`requestMethodResponse.status` must be `success` or `fail`, examples `{ status: 'success', response: { url: '' } }`"),!1):(ie.error("Upload","`requestMethodResponse.status` is missing, which value only can be `success` or `fail`"),!1):(ie.error("Upload","`requestMethodResponse` is required."),!1)}(t)){var a=t.response||{};J(e.formatResponse)&&(a=e.formatResponse(a,{file:l[0],currentFiles:l})),"fail"===t.status&&(a.error=t.error||a.error);var r=[];"success"===t.status&&a.files?r=a.files.map((function(e){return tl(tl(tl({},l.find((function(t){return e.name&&t.name===e.name||e.raw&&t.raw===e.raw}))),e),{},{status:t.status,response:a})})):(l.forEach((function(e){var l;e.status=t.status,e.response=a,e.url=a.url,e.percent="success"===t.status?100:0,e.uploadTime=(null===(l=a)||void 0===l?void 0:l.uploadTime)||se()})),r=l);var o,i={response:a,file:r[0],files:r};if("success"===t.status)null===(o=e.onResponseSuccess)||void 0===o||o.call(e,i);else if("fail"===t.status){var s;null===(s=e.onResponseError)||void 0===s||s.call(e,i)}n({status:t.status,data:i})}else n({})}));else{var r,o=function(e){var t,l,a,n=e.method,r=void 0===n?"POST":n,o=e.action,i=e.withCredentials,s=void 0!==i&&i,c=e.headers,u=void 0===c?{}:c,p=e.data,v=void 0===p?{}:p,d=e.file,f=e.files,g=void 0===f?[]:f,m=e.name,h=void 0===m?"file":m,b=e.useMockProgress,y=void 0===b||b,O=e.mockProgressDuration,w=void 0===O?300:O,j=e.formatRequest,P=e.onError,_=e.onProgress,F=e.onSuccess,C=g||[],D=0,U=new XMLHttpRequest;if(s&&(U.withCredentials=!0),y&&"progress"===(null===(t=g[0])||void 0===t?void 0:t.status))var x=setTimeout((function(){l=setInterval((function(){D+10<100?(D=Math.max(D+10,D),g[0]&&D!==g[0].percent&&(g[0].percent=D,_({percent:D,file:d||C[0],files:C.map((function(e){return $t($t({},e),{},{percent:D})})),type:"mock",XMLHttpRequest:U}))):clearInterval(l)}),w),clearTimeout(x)}),w);var k={};if(v){var S=J(v)?v(C):v;Object.assign(k,S)}C.forEach((function(e,t){var l=C.length>1?"".concat(h,"[").concat(t,"]"):h;k[l]=e.raw})),1===C.length?k[h]=C[0].raw:k[h]=C.map((function(e){return e.raw})),k.length=C.length,j&&(k=j(k));var I=new FormData;return Object.keys(k).forEach((function(e){I.append(e,k[e])})),U.open(r,o,!0),Object.keys(u).forEach((function(e){U.setRequestHeader(e,u[e])})),U.onerror=function(e){P({event:e,file:d,files:C,XMLHttpRequest:U}),clearInterval(l),clearTimeout(a)},U.ontimeout=function(e){P({event:e,file:d,files:C,XMLHttpRequest:U})},U.upload&&(U.upload.onprogress=function(e){var t,l=0;if(e.total>0&&(l=Math.round(e.loaded/e.total*100)),(D=Math.max(l,D))!==l&&(null===(t=C[0])||void 0===t?void 0:t.percent)!==D){var a=C.map((function(e){return $t($t({},e),{},{percent:D})}));_({event:e,percent:D,file:d||a[0],files:a,type:"real",XMLHttpRequest:U})}}),U.onload=function(e){var t={};if(t.XMLHttpRequest=U,U.status<200||U.status>=300)return P({event:e,file:d,files:C,response:t,XMLHttpRequest:U});var n=U.responseText||U.response;try{t=JSON.parse(n)}catch(r){t=n,ie.error("Upload","response does not a valid json")}clearInterval(l),clearTimeout(a),C.forEach((function(e){var l;e.percent=100,e.status="success",e.uploadTime=(null===(l=t)||void 0===l?void 0:l.uploadTime)||se()})),"object"===ce(t)&&(t.XMLHttpRequest=U),F({event:e,file:d||C[0],files:N(C),XMLHttpRequest:U,response:t})},U.send(I),U.upload.requestParams=k,U.upload.requestHeaders=u,U}({action:e.action,files:e.toUploadFiles,useMockProgress:e.useMockProgress,mockProgressDuration:e.mockProgressDuration,onError:function(t){var l,a=ll(tl(tl({},t),{},{formatResponse:e.formatResponse}));null===(l=e.onResponseError)||void 0===l||l.call(e,a),n({status:"fail",data:a})},onProgress:e.onResponseProgress,onSuccess:function(t){var l=e.formatResponse,a=t.response;if(J(l)&&(a=l(t.response,{file:t.file,currentFiles:t.files})),a.error){var r,o=ll(tl(tl({},t),{},{response:a}));null===(r=e.onResponseError)||void 0===r||r.call(e,o),n({status:"fail",data:o})}else{var i;t.file.response=a,t.files[0].response=a;var s=function(e){var t=e.event,l=e.files,a=e.response,n=e.XMLHttpRequest;(null==l?void 0:l.length)<=0&&ie.error("Upload","Empty File in Success Callback"),l.forEach((function(e){var t;e.percent=100,e.status="success",null===(t=e.response)||void 0===t||delete t.error}));var r=a;return l[0].url=r.url||l[0].url,{response:r,event:t,files:l,XMLHttpRequest:n}}(tl(tl({},t),{},{response:a}));null===(i=e.onResponseSuccess)||void 0===i||i.call(e,s),n({status:"success",data:s})}},formatRequest:e.formatRequest,data:e.data,name:e.name,headers:e.headers,withCredentials:e.withCredentials,method:e.method});null===(r=e.setXhrObject)||void 0===r||r.call(e,{files:e.toUploadFiles,xhrReq:o})}}))}function nl(e){var t=e.uploadAllFilesInOneRequest,l=e.toUploadFiles,a=e.uploadedFiles,n=e.isBatchUpload,r=l.filter((function(e){return!e.response||e.response&&!e.response.error}));return new Promise((function(l){if(!t&&e.multiple){var o=r.map((function(t){return al(tl(tl({},e),{},{toUploadFiles:[t]}))}));Promise.all(o).then((function(t){var r=[],o=[];t.forEach((function(e){"success"===e.status?r.push(e.data.files[0]):"fail"===e.status&&o.push(e.data.files[0])}));var i=e.autoUpload?a.concat(r):a,s=n||!e.multiple?r:i;l({status:r.length?"success":"fail",data:{files:s},failedFiles:o,list:t})}))}else al(e).then((function(t){"success"===t.status&&(t.data.files=n||!e.multiple?t.data.files:function(e,t){for(var l=e.filter((function(e){return e.url})),a=function(){var a=t[n],r=e.findIndex((function(e){return e.raw&&e.raw===a.raw||e.name&&e.name===a.name})),o=r>=0?tl(tl({},e[r]),a):a;l.push(o)},n=0,r=t.length;n<r;n++)a();return l}(a,t.data.files));var r="fail"===t.status?t.data.files:[];l(tl(tl({},t),{},{failedFiles:r}))}))}))}function rl(e,t){var l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return e.map((function(e){var n=e;return J(t)&&(n=t(e)),tl({raw:e,lastModified:e.lastModified,name:e.name,size:e.size,type:e.type,percent:a,status:l},n)}))}function ol(e){var t=e.files,l=e.uploadValue,a=e.max,n=e.allowUploadDuplicateFile;return new Promise((function(r){var o=t.filter((function(e){var t=l.find((function(t){return t.name===e.name}));return n||!t})),i=!1;if(o.length<t.length&&(i=!0),o.length){var s=!1;if(a&&o.length&&!e.isBatchUpload){var c=o.length;o=o.slice(0,a-l.length),c+l.length>a&&(s=!0)}var u,p=rl(o,e.format,e.autoUpload?"progress":"waiting");if(e.beforeAllFilesUpload){var v,d=null===(v=e.beforeAllFilesUpload)||void 0===v?void 0:v.call(e,p);u=d instanceof Promise?d:new Promise((function(e){return e(d)}))}var f=p.map((function(t){return new Promise((function(l){(function(e,t){var l=t.sizeLimit,a=t.beforeUpload,n=[new Promise((function(t){var a=null;if(l){var n=ue(l)?{size:l,unit:"KB"}:l;pe(e.size,n.size,n.unit)&&(a=n)}t(a)})),void 0];if(J(a)){var r=a(e),o=r instanceof Promise?r:new Promise((function(e){return e(r)}));n[1]=o}return new Promise((function(e){Promise.all(n).then((function(t){e(t)}))}))})(t,{beforeUpload:e.beforeUpload,sizeLimit:e.sizeLimit}).then((function(e){var a=_(e,2),n=a[0],r=a[1];n?l({file:t,validateResult:{type:"FILE_OVER_SIZE_LIMIT",extra:n}}):!1===r&&l({file:t,validateResult:{type:"CUSTOM_BEFORE_UPLOAD"}}),l({file:t})}))}))}));Promise.all([u].concat(f)).then((function(e){var t=_e(e),l=t[0],a=t.slice(1);r(!1===l?{lengthOverLimit:s,hasSameNameFile:i,validateResult:{type:"BEFORE_ALL_FILES_UPLOAD"},files:p}:{lengthOverLimit:s,hasSameNameFile:i,fileValidateList:a,files:p})}))}else{var g=rl(t,e.format,e.autoUpload?"progress":"waiting");r({hasSameNameFile:i,file:null==g?void 0:g[0],files:g,validateResult:{type:"FILTER_FILE_SAME_NAME"}})}}))} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function il(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),l.push.apply(l,a)}return l}function sl(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?arguments[t]:{};t%2?il(Object(l),!0).forEach((function(t){s(e,t,l[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):il(Object(l)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(l,t))}))}return e}function cl(e){var l=r(),a=c(e),n=a.disabled,o=a.autoUpload,i=a.isBatchUpload,s=a.multiple,u=a.files,v=a.modelValue,d=a.defaultFiles,f=p("upload"),g=f.globalConfig,m=f.t,h=f.classPrefix,b=F(u,v,d.value,e.onChange,"files"),y=_(b,2),O=y[0],w=y[1],j=r([]),P=r([]),C=r(""),D=t((function(){return ve({},g.value,e.locale)})),U="".concat(h.value,"-upload__tips ").concat(h.value,"-size-s"),x=[U].concat("".concat(h.value,"-upload__tips-error")),k="".concat(h.value,"-upload__placeholder"),S=t((function(){var e,t,l=(t={isBatchUpload:i.value,multiple:s.value,status:null===(e=O.value)||void 0===e||null===(e=e[0])||void 0===e?void 0:e.status,autoUpload:o.value}).isBatchUpload&&t.status||"fail"===t.status?"reupload":"progress"===t.status?"uploading":"success"===t.status||!t.autoUpload&&"waiting"===t.status?t.multiple?"continueUpload":"reupload":"fileInput";return D.value.triggerUploadText[l]})),I=r(!1),E=t((function(){return function(e){var t=e.multiple,l=e.uploadValue,a=e.toUploadFiles,n=e.autoUpload,r=n?a:a.filter((function(e){return"success"!==e.status}));return t&&!e.isBatchUpload?n?(r.length?l.concat(r):l)||[]:l:(r.length?r:l)||[]}({multiple:e.multiple,toUploadFiles:P.value,uploadValue:O.value,autoUpload:o.value,isBatchUpload:i.value})})),z=function(){e.autoUpload&&(P.value=N(P.value))},L=function(t){var l;if(t&&t.files&&t.files[0]){var a=t.response,n=t.event,r=t.files;z(),null===(l=e.onOneFileFail)||void 0===l||l.call(e,{e:n,file:null==r?void 0:r[0],currentFiles:r,failedFiles:r,response:a}),e.multiple&&!e.isBatchUpload||w([],{trigger:"progress-fail",e:t.event,file:t.files[0]})}},B=function(t){var l;z(),null===(l=e.onProgress)||void 0===l||l.call(e,{e:t.event,file:t.file,currentFiles:t.files,percent:t.percent,type:t.type,XMLHttpRequest:t.XMLHttpRequest})},R=function(t){var l;e.multiple&&!e.uploadAllFilesInOneRequest&&(z(),null===(l=e.onOneFileSuccess)||void 0===l||l.call(e,{e:t.event,file:t.files[0],response:t.response}))};function M(e){var t=e;return t.message?m(t.message,{sizeLimit:t.size}):"".concat(m(D.value.sizeLimitMessage,{sizeLimit:t.size})," ").concat(t.unit)}var T=function(t){var a;if(!n.value){var r={currentSelectedFiles:rl(N(t),e.format)};null===(a=e.onSelectChange)||void 0===a||a.call(e,N(t),r),ol({uploadValue:O.value,files:N(t),allowUploadDuplicateFile:e.allowUploadDuplicateFile,max:e.multiple?e.max:0,sizeLimit:e.sizeLimit,isBatchUpload:i.value,autoUpload:o.value,format:e.format,beforeUpload:e.beforeUpload,beforeAllFilesUpload:e.beforeAllFilesUpload}).then((function(t){var l;if("BEFORE_ALL_FILES_UPLOAD"!==(null===(l=t.validateResult)||void 0===l?void 0:l.type)){if(t.lengthOverLimit){var a,n={type:"FILES_OVER_LENGTH_LIMIT",files:t.files};if(null===(a=e.onValidate)||void 0===a||a.call(e,n),!t.files.length)return}if(t.hasSameNameFile){var r,s={type:"FILTER_FILE_SAME_NAME",files:t.files};null===(r=e.onValidate)||void 0===r||r.call(e,s)}if(t.fileValidateList instanceof Array){var c,u,p=function(e,t){var l=[],a=[],n=[];return e.forEach((function(e){var r,o;if("CUSTOM_BEFORE_UPLOAD"!==(null===(r=e.validateResult)||void 0===r?void 0:r.type))return"FILE_OVER_SIZE_LIMIT"===(null===(o=e.validateResult)||void 0===o?void 0:o.type)?(e.file.response||(e.file.response={}),e.file.response.error=e.file.response.error||t(e.validateResult.extra),void l.push(e)):void n.push(e.file);a.push(e.file)})),{sizeLimitErrors:l,beforeUploadErrorFiles:a,toFiles:n}}(t.fileValidateList,M),v=p.sizeLimitErrors,d=p.beforeUploadErrorFiles,f=p.toFiles,g=o.value?f:P.value.concat(f);if(P.value=g,null===(c=e.onWaitingUploadFilesChange)||void 0===c||c.call(e,{files:g,trigger:"validate"}),v[0])C.value=v[0].file.response.error,null===(u=e.onValidate)||void 0===u||u.call(e,{type:"FILE_OVER_SIZE_LIMIT",files:v.map((function(e){return e.file}))});else if(C.value="",d.length){var m,h={type:"CUSTOM_BEFORE_UPLOAD",files:d};null===(m=e.onValidate)||void 0===m||m.call(e,h)}o.value?V(g):function(t){var l=e.multiple&&!i.value?O.value.concat(t):t;l.length&&(w(l,{trigger:"add",index:O.value.length,file:t[0],files:t}),P.value=[])}(g)}}else{var b,y={type:"BEFORE_ALL_FILES_UPLOAD",files:t.files};null===(b=e.onValidate)||void 0===b||b.call(e,y)}})),l.value.value=null}};function V(t){var l=O.value.filter((function(e){return"success"!==e.status})),a=o.value?t||P.value:l;a&&a.length&&(I.value=!0,j.value=[],nl({action:e.action,headers:e.headers,method:e.method,name:e.name,withCredentials:e.withCredentials,uploadedFiles:O.value,toUploadFiles:a,multiple:e.multiple,isBatchUpload:i.value,autoUpload:e.autoUpload,uploadAllFilesInOneRequest:e.uploadAllFilesInOneRequest,useMockProgress:e.useMockProgress,data:e.data,mockProgressDuration:e.mockProgressDuration,requestMethod:e.requestMethod,formatRequest:e.formatRequest,formatResponse:e.formatResponse,onResponseProgress:B,onResponseSuccess:R,onResponseError:L,setXhrObject:function(e){var t;null!==(t=e.files[0])&&void 0!==t&&t.raw&&j.value.find((function(t){var l;return(null===(l=t.files[0])||void 0===l?void 0:l.raw)===e.files[0].raw}))||(j.value=j.value.concat(e))}}).then((function(t){var l,n,r=t.status,i=t.data,s=t.list,c=t.failedFiles;if(I.value=!1,"success"===r)w(N(i.files),{trigger:"add",file:i.files[0]}),j.value=[],null===(l=e.onSuccess)||void 0===l||l.call(e,{fileList:i.files,currentFiles:a,file:a[0],results:null==s?void 0:s.map((function(e){return e.data})),response:i.response||s.map((function(e){return e.data.response})),XMLHttpRequest:i.XMLHttpRequest});else if(null!=c&&c[0]){var u;null===(u=e.onFail)||void 0===u||u.call(e,{e:i.event,file:c[0],failedFiles:c,currentFiles:a,response:i.response,XMLHttpRequest:i.XMLHttpRequest})}o.value&&(P.value=c,null===(n=e.onWaitingUploadFilesChange)||void 0===n||n.call(e,{files:c,trigger:"uploaded"}))})))}function A(t){var l,a,n;C.value="",null===(l=(a=t.e).stopPropagation)||void 0===l||l.call(a);var r,o={e:t.e,trigger:"remove",index:t.index,file:t.file};if(e.isBatchUpload||!e.multiple)P.value=[],null===(r=e.onWaitingUploadFilesChange)||void 0===r||r.call(e,{files:[],trigger:"remove"}),w([],o);else if(e.autoUpload){var i;if(t.index<O.value.length)O.value.splice(t.index,1),w(N(O.value),o);else P.value.splice(t.index-O.value.length,1),P.value=N(P.value),null===(i=e.onWaitingUploadFilesChange)||void 0===i||i.call(e,{files:N(P.value),trigger:"remove"})}else O.value.splice(t.index,1),w(N(O.value),o);null===(n=e.onRemove)||void 0===n||n.call(e,t)}return{t:m,locale:D,classPrefix:h,triggerUploadText:S,toUploadFiles:P,uploadValue:O,displayFiles:E,sizeOverLimitMessage:C,uploading:I,tipsClasses:U,errorClasses:x,placeholderClass:k,inputRef:l,disabled:n,xhrReq:j,uploadFilePercent:function(e){var t=e.file,l=e.percent,a=o.value?P:O,n=a.value.findIndex((function(e){return t.raw===e.raw}));a.value[n]=sl(sl({},a.value[n]),{},{percent:l})},uploadFiles:V,onFileChange:T,onNormalFileChange:function(e){var t=q(e.target.files);null==T||T(t)},onDragFileChange:function(e){null==T||T(e)},onPasteFileChange:function(e){null==T||T(N(e.clipboardData.files))},onInnerRemove:A,triggerUpload:function(e){var t;!n.value&&l.value&&(null==e||null===(t=e.stopPropagation)||void 0===t||t.call(e),l.value.click())},cancelUpload:function(t){var l,a;null===(l=j.value)||void 0===l||l.forEach((function(e){var t;null===(t=e.xhrReq)||void 0===t||t.abort()})),I.value=!1,o.value?P.value=[]:w(O.value.map((function(e){return"success"!==e.status?sl(sl({},e),{},{status:"waiting"}):e})),{trigger:"abort"}),null!=t&&t.file&&!o.value&&(null==A||A({file:t.file,e:t.e,index:0})),null===(a=e.onCancelUpload)||void 0===a||a.call(e)}}} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function ul(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),l.push.apply(l,a)}return l}function pl(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?arguments[t]:{};t%2?ul(Object(l),!0).forEach((function(t){s(e,t,l[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):ul(Object(l)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(l,t))}))}return e}var vl=B(e({name:"TUpload",props:Lt,setup:function(e,l){var a=l.slots,n=l.expose,r=oe(),o=b(),i=cl(e),c=i.locale,u=i.classPrefix,p=i.triggerUploadText,v=i.toUploadFiles,d=i.displayFiles,f=i.uploadValue,g=i.sizeOverLimitMessage,h=i.uploading,y=i.tipsClasses,O=i.errorClasses,w=i.placeholderClass,j=i.inputRef,P=i.onInnerRemove,_=i.uploadFiles,F=i.onNormalFileChange,C=i.onDragFileChange,D=i.onPasteFileChange,U=i.triggerUpload,x=i.cancelUpload,k=i.uploadFilePercent,S=de(),I=R({UploadIcon:ut}).UploadIcon,E=t((function(){var t,l;return(null===(t=e.triggerButtonProps)||void 0===t?void 0:t.default)||(null===(l=e.triggerButtonProps)||void 0===l?void 0:l.content)||p.value}));n({upload:j.value,uploading:h,triggerUpload:U,uploadFiles:_,cancelUpload:x,uploadFilePercent:k});var z=function(){return r("default","trigger",{params:{dragActive:!1,files:f.value}})||("file-input"===e.theme?m(W,Y({disabled:S.value,variant:"outline"},e.triggerButtonProps),{default:function(){return[E.value]}}):m(W,Y({disabled:S.value,variant:"outline",icon:function(){return m(I,null,null)}},e.triggerButtonProps),{default:function(){return[E.value]}}))},L=t((function(){return{accept:e.accept,files:f.value,toUploadFiles:v.value,displayFiles:d.value,theme:e.theme,placeholder:e.placeholder,disabled:S.value,tips:e.tips,status:e.status,sizeOverLimitMessage:g.value,uploading:h.value,classPrefix:u.value,tipsClasses:y,errorClasses:O,placeholderClass:w,locale:c.value,autoUpload:e.autoUpload,abridgeName:e.abridgeName,showUploadProgress:e.showUploadProgress,fileListDisplay:e.fileListDisplay,onRemove:P,uploadPastedFiles:e.uploadPastedFiles,onPasteFileChange:D,imageViewerProps:e.imageViewerProps}})),B={onDragFileChange:C,onDragenter:e.onDragenter,onDragleave:e.onDragleave,onDrop:e.onDrop},M=t((function(){return["".concat(u.value,"-upload"),s({},"".concat(u.value,"-upload--theme-").concat(e.theme),"file-input"===e.theme)]}));return function(){return m("div",{class:M.value,onPaste:e.uploadPastedFiles?D:void 0},[m("input",Y({ref:j,type:"file",disabled:S.value,onChange:F,multiple:e.multiple,accept:e.accept,hidden:!0},e.inputAttributes?pl({},e.inputAttributes):{}),null),["file","file-input"].includes(e.theme)&&!e.draggable&&m(Mt,Y(L.value,{multiple:e.multiple}),{default:function(){return[m("div",{class:"".concat(u.value,"-upload__trigger"),onClick:U},[z()])]},fileListDisplay:a.fileListDisplay,"file-list-display":a["file-list-display"]}),["file","image"].includes(e.theme)&&e.draggable&&m(At,Y(L.value,{dragEvents:B,trigger:e.trigger,cancelUpload:x,triggerUpload:U,uploadFiles:_,onCancelUpload:e.onCancelUpload}),{fileListDisplay:a.fileListDisplay,"file-list-display":a["file-list-display"]}),"image"===e.theme&&!e.draggable&&m(Xt,Y(L.value,{multiple:e.multiple,max:e.max,showUploadProgress:e.showUploadProgress,triggerUpload:U,uploadFiles:_,cancelUpload:x,onPreview:e.onPreview,showImageFileName:e.showImageFileName}),{fileListDisplay:a.fileListDisplay,"file-list-display":a["file-list-display"]}),["image-flow","file-flow"].includes(e.theme)&&m(Yt,Y(L.value,{isBatchUpload:e.isBatchUpload,draggable:e.draggable,dragEvents:B,uploadFiles:_,cancelUpload:x,onPreview:e.onPreview,showImageFileName:e.showImageFileName,showThumbnail:e.showThumbnail,uploadButton:e.uploadButton,cancelUploadButton:e.cancelUploadButton}),{default:function(){return[m("div",{class:"".concat(u.value,"-upload__trigger"),onClick:U},[!e.draggable&&z()])]},fileListDisplay:a.fileListDisplay,"file-list-display":a["file-list-display"],uploadButton:a.uploadButton,"upload-button":a["upload-button"],cancelUploadButton:a.cancelUploadButton,"cancel-upload-button":a["cancel-upload-button"]}),"custom"===e.theme&&m(Jt,Y(L.value,{draggable:e.draggable,dragContent:e.dragContent,dragEvents:B,triggerUpload:U,trigger:e.trigger,childrenNode:a.default}),{default:function(){return[z()]},dragContent:a.dragContent,"drag-content":a["drag-content"],trigger:a.trigger}),Boolean(e.tips||a.tips)&&m("small",{class:[y,s({},"".concat(u.value,"-upload__tips-").concat(e.status),e.status)]},[o("tips")]),g.value&&m("small",{class:O},[g.value])])}}})); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */export{zt as I,vl as U,Ue as _,ut as u}; diff --git a/.output/public/assets/index-C2aHaTIl.js b/.output/public/assets/index-C2aHaTIl.js new file mode 100644 index 0000000000000000000000000000000000000000..63a2c2039ffc9b90b00a42d257c816e10a9bd0d8 --- /dev/null +++ b/.output/public/assets/index-C2aHaTIl.js @@ -0,0 +1,33 @@ +import{bl as e,aA as a,b9 as n,ba as l,bb as u,bp as t,j as r,a3 as o,w as i,a4 as c,br as v,c0 as d,d as s,bY as f,T as h,ax as p,ay as b,ap as k,aR as y,b as m,aJ as g,bO as x,K as C,O as A,U as O,p as B,X as j,b5 as S,ad as w,bq as T,aT as L,a5 as P,L as V,bh as D,at as _,P as E,Y as F}from"./main-DzSNOqOC.js"; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var z=function(e,a,n,l){for(var u=e.length,t=n+(l?1:-1);l?t--:++t<u;)if(a(e[t],t,e))return t;return-1},R=function(e){return e!=e},N=function(e,a,n){for(var l=n-1,u=e.length;++l<u;)if(e[l]===a)return l;return-1};var q=function(e,a,n){return a==a?N(e,a,n):z(e,R,n)};var G=function(e,a){return!!(null==e?0:e.length)&&q(e,a,0)>-1};var U=function(e,a,n){for(var l=-1,u=null==e?0:e.length;++l<u;)if(n(a,e[l]))return!0;return!1},Y=n,J=G,K=U,M=a,X=l,H=u,I=Math.min; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var Q=t;var W=a,Z=function(e,a,n){for(var l=n?K:J,u=e[0].length,t=e.length,r=t,o=Array(t),i=1/0,c=[];r--;){var v=e[r];r&&a&&(v=M(v,X(a))),i=I(v.length,i),o[r]=!n&&(a||u>=120&&v.length>=120)?new Y(r&&v):void 0}v=e[0];var d=-1,s=o[0];e:for(;++d<u&&c.length<i;){var f=v[d],h=a?a(f):f;if(f=n||0!==f?f:0,!(s?H(s,h):l(c,h,n))){for(r=t;--r;){var p=o[r];if(!(p?H(p,h):l(e[r],h,n)))continue e}s&&s.push(h),c.push(f)}}return c},$=function(e){return Q(e)?e:[]},ee=e((function(e){var a=W(e,$);return a.length&&a[0]===e[0]?Z(a):[]})),ae={checkAll:Boolean,checked:{type:Boolean,default:void 0},modelValue:{type:Boolean,default:void 0},defaultChecked:Boolean,default:{type:[String,Function]},disabled:{type:Boolean,default:void 0},indeterminate:Boolean,label:{type:[String,Function]},lazyLoad:Boolean,name:{type:String,default:""},readonly:{type:Boolean,default:void 0},title:{type:String,default:""},value:{type:[String,Number,Boolean]},onChange:Function},ne=Symbol("CheckboxGroupProvide"); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function le(e,a){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);a&&(l=l.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),n.push.apply(n,l)}return n}function ue(e){for(var a=1;a<arguments.length;a++){var n=null!=arguments[a]?arguments[a]:{};a%2?le(Object(n),!0).forEach((function(a){A(e,a,n[a])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):le(Object(n)).forEach((function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))}))}return e}var te=s({name:"TCheckbox",props:ue(ue({},ae),{},{needRipple:Boolean,stopLabelTrigger:Boolean,index:Number,data:Object}),setup:function(e){var a=r();e.needRipple&&f(a);var n=h().STATUS,l=p(e),u=l.checked,t=l.modelValue,s=l.lazyLoad,S=b(u,t,e.defaultChecked,e.onChange,"checked"),w=k(S,2),T=w[0],L=w[1],P=y(ne,void 0),V=r();i((function(){return[e.name,null==P?void 0:P.value.name].join("_")}),(function(){var a=e.name||(null==P?void 0:P.value.name);a&&(V.value=a)}),{immediate:!0});var D=r(!1);i((function(){var e;return[T.value,null==P?void 0:P.value.isCheckAll,null==P||null===(e=P.value.checkedValues)||void 0===e?void 0:e.join(",")]}),(function(){var a;D.value=(a=e.value,e.checkAll?null==P?void 0:P.value.isCheckAll:null!=P&&P.value?P.value.checkedValues.includes(a):T.value)}),{immediate:!0});var _=m((function(){return!(e.checkAll||D.value||null==P||!P.value.maxExceeded)||null})),E=m((function(){return null==P?void 0:P.value.disabled})),F=g({beforeDisabled:_,afterDisabled:E}),z=m((function(){return null==P?void 0:P.value.readonly})),R=x({afterReadonly:z}),N=r(!1);i((function(){return[e.checkAll,e.indeterminate,null==P?void 0:P.value.indeterminate]}),(function(){N.value=e.checkAll?null==P?void 0:P.value.indeterminate:e.indeterminate}),{immediate:!0});var q=C("checkbox"),G=r({});i([D,F,N],(function(){G.value=["".concat(q.value),A(A(A({},n.value.checked,D.value),n.value.disabled,F.value),n.value.indeterminate,N.value)]}),{immediate:!0});var U=function(a){if(!R.value){var n=!D.value;L(n,{e:a}),null!=P&&P.value.handleCheckboxChange&&P.value.onCheckedChange({checked:n,checkAll:e.checkAll,e:a,option:e})}},Y=j(),J=function(a){e.stopLabelTrigger&&a.preventDefault()},K= +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function(e,a){var n=r(),l=r(!0),u=function(){if(a.value){l.value=!1;var u=v(e.value,null,(function(){l.value=!0}),0);n.value=u}};return o(u),i([a,e],u),c((function(){a.value&&n.value.unobserve(e.value)})),{showCheckbox:l}} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */(a,s),M=K.showCheckbox,X=function(e){var a=function(a){(d.test(a.key)||d.test(a.code))&&(a.preventDefault(),!a.currentTarget.querySelector("input").disabled&&e(a))};return{onCheckboxFocus:function(e){e.currentTarget.addEventListener("keydown",a)},onCheckboxBlur:function(e){e.currentTarget.removeEventListener("keydown",a)}}}(U),H=X.onCheckboxFocus,I=X.onCheckboxBlur;return function(){var n=O(e.title)&&e.title?e.title:null;return B("label",{ref:a,class:G.value,tabindex:F.value?void 0:"0",onFocus:H,onBlur:I,title:n},[M.value?[B("input",{type:"checkbox",tabindex:"-1",class:"".concat(q.value,"__former"),disabled:F.value,readonly:R.value,indeterminate:N.value,name:V.value,value:e.value?e.value:void 0,checked:D.value,onChange:U,key:"input"},null),B("span",{class:"".concat(q.value,"__input"),key:"input-span"},null),B("span",{class:"".concat(q.value,"__label"),key:"label",onClick:J},[Y("default","label")])]:null])}}}),re=s({name:"TCheckboxGroup",props:{disabled:{type:Boolean,default:void 0},lazyLoad:Boolean,max:{type:Number,default:void 0},name:{type:String,default:""},options:{type:Array},readonly:{type:Boolean,default:void 0},value:{type:Array,default:void 0},modelValue:{type:Array,default:void 0},defaultValue:{type:Array,default:function(){return[]}},onChange:Function},setup:function(e){var a=C("checkbox-group"),n=V(),l=Array.isArray,u=p(e),t=u.value,o=u.modelValue,i=b(t,o,e.defaultValue,e.onChange),c=k(i,2),v=c[0],d=c[1],s=r([]),f=m((function(){if(!l(v.value))return 0;var e=s.value.map((function(e){return e.value}));return ee(v.value,e).length})),h=m((function(){var e=s.value.filter((function(e){return!e.disabled&&!e.readonly&&!e.checkAll})).map((function(e){return e.value}));return ee(e,v.value).length===e.length})),y=m((function(){return!h.value&&f.value<s.value.length&&0!==f.value})),g=m((function(){return!S(e.max)&&v.value.length===e.max}));w((function(){if(!e.options)return[];s.value=e.options.map((function(e){return T(e)?e:{label:String(e),value:e}}))}));var x=function(e,a){var n=e?function(){for(var e=new Set,a=0,n=s.value.length;a<n;a++){var l=s.value[a];if(!l.checkAll&&!l.disabled&&!l.readonly&&(e.add(l.value),g.value))break}return _(e)}():[];d(n,{e:a.e,type:e?"check":"uncheck",current:void 0,option:void 0})},A=function(e){var a=e.option.value;if(l(v.value)){var n=_(v.value);if(e.checked)n.push(a);else{var u=n.indexOf(a);n.splice(u,1)}d(n,{e:e.e,current:e.option.value,option:e.option,type:e.checked?"check":"uncheck"})}},O=function(e){var a=e.checked,n=e.checkAll,l=e.e;n?x(a,{e:l}):A(e)},j=E();return L(ne,m((function(){return{name:e.name,isCheckAll:h.value,checkedValues:v.value||[],maxExceeded:g.value,disabled:e.disabled,readonly:e.readonly,indeterminate:y.value,handleCheckboxChange:A,onCheckedChange:O}}))),function(){var l,u=null;if(null!==(l=e.options)&&void 0!==l&&l.length){var t;u=null===(t=s.value)||void 0===t?void 0:t.map((function(a,n){var l;return B(te,P({key:"".concat(a.value||"").concat(n),lazyLoad:e.lazyLoad},a,{index:n,checked:null===(l=v.value)||void 0===l?void 0:l.includes(a.value),data:a}),null)}))}else{var r=n("default");s.value=function(){var e=j("Checkbox"),a=[];return null==e||e.forEach((function(e){var n=e.props;n&&(""!==n["check-all"]&&!0!==n["check-all"]||(n.checkAll=!0),a.push(n))})),a}(),u=r}return B("div",{class:a.value,role:"group","aria-label":"checkbox-group"},[u])}}}),oe=F(te),ie=F(re); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */export{ie as C,G as _,oe as a,U as b,ee as i}; diff --git a/.output/public/assets/index-CSsUEF1T.js b/.output/public/assets/index-CSsUEF1T.js new file mode 100644 index 0000000000000000000000000000000000000000..61ccaced2da0b8ef8a5e77890d41eae40600c500 --- /dev/null +++ b/.output/public/assets/index-CSsUEF1T.js @@ -0,0 +1,29 @@ +import{d as e,b as t,H as n,I as a,J as r,K as l,aL as u,O as o,p as i,L as c,U as s,aU as v,aK as p,Y as f,T as d,bi as g,j as b,ax as h,ay as m,ap as y,az as O,S as C,Z as P,bH as j,bq as w,w as z,a5 as x,bG as S,bM as M,bN as B,G as _}from"./main-DzSNOqOC.js";import{I,S as k,c as D}from"./form-model-CXHJGOsj.js";import{e as L}from"./ellipsis-DKSeG7Zz.js";import{e as N}from"./index-DmWclHlm.js";function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function F(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var R={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M18.41 7.5l-4.5 4.5 4.5 4.5L17 17.91 11.09 12 17 6.09l1.41 1.41zm-6.5 0L7.41 12l4.5 4.5-1.41 1.41L4.59 12l5.91-5.91 1.41 1.41z"}}]},A=e({name:"ChevronLeftDoubleIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,r){var{attrs:l}=r,u=t((()=>e.size)),{className:o,style:i}=n(u),c=t((()=>["t-icon","t-icon-chevron-left-double",o.value])),s=t((()=>F(F({},i.value),l.style))),v=t((()=>({class:c.value,style:s.value,onClick:t=>{var n;return null===(n=e.onClick)||void 0===n?void 0:n.call(e,{e:t})}})));return()=>a(R,v.value)}});function T(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function V(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?T(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):T(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var U={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M5.59 16.5l4.5-4.5-4.5-4.5L7 6.09 12.91 12 7 17.91 5.59 16.5zm6.5 0l4.5-4.5-4.5-4.5 1.41-1.41L19.41 12l-5.91 5.91-1.41-1.41z"}}]},q=e({name:"ChevronRightDoubleIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,r){var{attrs:l}=r,u=t((()=>e.size)),{className:o,style:i}=n(u),c=t((()=>["t-icon","t-icon-chevron-right-double",o.value])),s=t((()=>V(V({},i.value),l.style))),v=t((()=>({class:c.value,style:s.value,onClick:t=>{var n;return null===(n=e.onClick)||void 0===n?void 0:n.call(e,{e:t})}})));return()=>a(U,v.value)}});function J(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function W(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?J(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):J(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var G={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M8.5 5v14h-2V5h2zm9.16 1.75L12.41 12l5.25 5.25-1.41 1.41L9.59 12l6.66-6.66 1.41 1.41z"}}]},H=e({name:"PageFirstIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,r){var{attrs:l}=r,u=t((()=>e.size)),{className:o,style:i}=n(u),c=t((()=>["t-icon","t-icon-page-first",o.value])),s=t((()=>W(W({},i.value),l.style))),v=t((()=>({class:c.value,style:s.value,onClick:t=>{var n;return null===(n=e.onClick)||void 0===n?void 0:n.call(e,{e:t})}})));return()=>a(G,v.value)}});function K(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?K(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):K(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Y={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M17.5 5v14h-2V5h2zm-9.75.34L14.41 12l-6.66 6.66-1.41-1.41L11.59 12 6.34 6.75l1.41-1.41z"}}]},Q=e({name:"PageLastIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,r){var{attrs:l}=r,u=t((()=>e.size)),{className:o,style:i}=n(u),c=t((()=>["t-icon","t-icon-page-last",o.value])),s=t((()=>Z(Z({},i.value),l.style))),v=t((()=>({class:c.value,style:s.value,onClick:t=>{var n;return null===(n=e.onClick)||void 0===n?void 0:n.call(e,{e:t})}})));return()=>a(Y,v.value)}});function X(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function $(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?X(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):X(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ee={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M12 6a6 6 0 100 12 6 6 0 000-12zm-8 6a8 8 0 1116 0 8 8 0 01-16 0z"}}]},te=e({name:"RoundIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,r){var{attrs:l}=r,u=t((()=>e.size)),{className:o,style:i}=n(u),c=t((()=>["t-icon","t-icon-round",o.value])),s=t((()=>$($({},i.value),l.style))),v=t((()=>({class:c.value,style:s.value,onClick:t=>{var n;return null===(n=e.onClick)||void 0===n?void 0:n.call(e,{e:t})}})));return()=>a(ee,v.value)}}),ne=f(e({name:"TInputAdornment",inheritAttrs:!1,props:{append:{type:[String,Function]},prepend:{type:[String,Function]}},setup:function(e,t){var n=t.slots,a=l("input-adornment"),r=c(),f=function(e,t,r){var l,u=s(r)||v(r);return n[t]||!s(r)||r?(l=n[t]?1===n[t](null).length&&"string"==typeof n[t](null)[0].children?i("span",{class:"".concat(a.value,"__text")},[n[t](null)]):n[t](null):p(r)?r(e):u?i("span",{class:"".concat(a.value,"__text")},[r]):r)?i("span",{class:"".concat(a.value,"__").concat(t)},[l]):l:null};return function(){var t=f(u,"prepend",e.prepend),n=f(u,"append",e.append),l=r("default")||[null],c=[a.value,o(o({},"".concat(a.value,"--prepend"),t),"".concat(a.value,"--append"),n)];return t||n?i("div",{class:c},[t,l[0],n]):l[0]}}})),ae={current:{type:Number,default:void 0},modelValue:{type:Number,default:void 0},defaultCurrent:{type:Number,default:1},disabled:Boolean,foldedMaxPageBtn:{type:Number,default:5},maxPageBtn:{type:Number,default:10},pageEllipsisMode:{type:String,default:"mid",validator:function(e){return!e||["mid","both-ends"].includes(e)}},pageSize:{type:Number,default:void 0},defaultPageSize:{type:Number,default:10},pageSizeOptions:{type:Array,default:function(){return[5,10,20,50]}},selectProps:{type:Object},showFirstAndLastPageBtn:Boolean,showJumper:Boolean,showPageNumber:{type:Boolean,default:!0},showPageSize:{type:Boolean,default:!0},showPreviousAndNextBtn:{type:Boolean,default:!0},size:{type:String,default:"medium",validator:function(e){return!e||["small","medium"].includes(e)}},theme:{type:String,default:"default",validator:function(e){return!e||["default","simple"].includes(e)}},total:{type:Number,default:0},totalContent:{type:[Boolean,Function],default:!0},onChange:Function,onCurrentChange:Function,onPageSizeChange:Function}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +var re=v;var le=function(e){return re(e)&&e!=+e},ue=["pageCount"],oe=e({name:"TPagination",props:ae,setup:function(e){var n=S().emit,a=h(e),r=a.modelValue,u=a.pageSize,s=a.current,v=c(),p=m(s,r,e.defaultCurrent,e.onCurrentChange,"current"),f=y(p,2),_=f[0],D=f[1],N=O(u,e.defaultPageSize,e.onPageSizeChange,"pageSize"),E=y(N,2),F=E[0],R=E[1],T=C("pagination"),V=T.t,U=T.globalConfig,J=l("pagination"),W=P({PageFirstIcon:H,PageLastIcon:Q,ChevronLeftIcon:M,ChevronRightIcon:B,ChevronLeftDoubleIcon:A,ChevronRightDoubleIcon:q,EllipsisIcon:L}),G=W.PageFirstIcon,K=W.PageLastIcon,Z=W.ChevronLeftIcon,Y=W.ChevronRightIcon,X=W.ChevronLeftDoubleIcon,$=W.ChevronRightDoubleIcon,ee=W.EllipsisIcon,te= +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function(e,n,a,r){var l=d(),u=l.SIZE,i=l.STATUS,c=t((function(){var t=Math.ceil(e.total/a.value);return t>0?t:1})),s=t((function(){return["".concat(r.value),u.value[e.size],o(o({},i.value.disabled,e.disabled),"".concat(r.value,"-ie"),g()<11),"simple"===e.theme?"".concat(r.value,"--simple"):""]})),v=t((function(){return["".concat(r.value,"__total")]})),p=t((function(){return["".concat(r.value,"__select")]})),f=t((function(){return["".concat(r.value,"__btn"),"".concat(r.value,"__btn-prev"),o({},i.value.disabled,e.disabled||1===n.value)]})),b=t((function(){return["".concat(r.value,"__btn"),"".concat(r.value,"__btn-next"),o({},i.value.disabled,e.disabled||n.value===c.value)]})),h=t((function(){return["".concat(r.value,"__pager")]})),m=t((function(){return["".concat(r.value,"__number"),"".concat(r.value,"__number--more"),o({},i.value.disabled,e.disabled)]})),y=t((function(){return["".concat(r.value,"__jump")]})),O=t((function(){return["".concat(r.value,"__input")]})),C=t((function(){return["".concat(r.value,"__select")]}));return{pageCount:c,paginationClass:s,totalClass:v,sizerClass:p,preBtnClass:f,nextBtnClass:b,btnWrapClass:h,btnMoreClass:m,jumperClass:y,jumperInputClass:O,simpleClass:C,getButtonClass:function(t){return["".concat(r.value,"__number"),o(o({},i.value.disabled,e.disabled),i.value.current,n.value===t)]}}} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */(e,_,F,J),ae=te.pageCount,re=j(te,ue),oe=function(e,n,a){var r=b(!1),l=b(!1),u=t((function(){return Math.ceil((e.foldedMaxPageBtn-1)/2)})),o=t((function(){return Math.floor((e.foldedMaxPageBtn-1)/2)})),i=t((function(){return 2+u.value<a.value})),c=t((function(){return n.value-1-o.value>a.value}));return{prevMore:r,nextMore:l,curPageLeftCount:u,curPageRightCount:o,isPrevMoreShow:i,isNextMoreShow:c}}(e,ae,_),ie=oe.prevMore,ce=oe.isPrevMoreShow,se=oe.curPageLeftCount,ve=oe.nextMore,pe=oe.isNextMoreShow,fe=oe.curPageRightCount,de=b(_.value),ge=t((function(){return ae.value>e.maxPageBtn})),be=t((function(){return e.pageSizeOptions.map((function(e){return w(e)?e:{label:V(U.value.itemsPerPage,{size:e}),value:Number(e)}})).sort((function(e,t){return e.value-t.value}))})),he=t((function(){return"mid"===e.pageEllipsisMode})),me=t((function(){var t,n,a=[];if(ge.value)if(ce.value&&pe.value)t=_.value-se.value,n=_.value+fe.value;else{var r=he.value?2:1,l=he.value?ae.value-1:ae.value;t=ce.value?Math.min(_.value-1,ae.value-e.foldedMaxPageBtn+1):r,n=pe.value?Math.max(_.value+1,e.foldedMaxPageBtn):l}else t=1,n=ae.value;for(var u=t;u<=n;u++)a.push(u);return a}));z((function(){return ae.value}),(function(){_.value>ae.value&&(_.value=1)})),z((function(){return _.value}),(function(e){return de.value=e}));var ye=function(t,a){if(!e.disabled){var r=t;if(t<1?r=1:t>ae.value&&(r=ae.value),_.value!==r){var l,u=_.value;if(a=a||{current:r,previous:u,pageSize:F.value})D(r,a),null===(l=e.onChange)||void 0===l||l.call(e,a);else n("update:modelValue",r)}}},Oe=function(t){({prevPage:function(){return ye(_.value-1)},nextPage:function(){return ye(_.value+1)},prevMorePage:function(){return ye(Math.max(2,_.value-e.foldedMaxPageBtn))},nextMorePage:function(){return ye(Math.min(_.value+e.foldedMaxPageBtn,ae.value-1))}})[t]()},Ce=function(t){if(!e.disabled){var n=parseInt(t,10),a=1;n>0&&(a=Math.max(Math.ceil(e.total/n),1));var r=!1;_.value>a&&(r=!0);var l,u={current:r?a:_.value,previous:_.value,pageSize:n};if(R(n,u),r)ye(a,u);else null===(l=e.onChange)||void 0===l||l.call(e,u)}},Pe=function(e){var t=Math.trunc(+e);le(t)||(de.value=t,ye(t))};return function(){var t=e.total,n=e.pageSizeOptions,a=e.size,r=e.disabled,l=e.showPageSize;if(ae.value<1)return null;var u=i("div",{class:re.jumperClass.value},[V(U.value.jumpTo),i(ne,{append:"/ ".concat(ae.value," ").concat(V(U.value.page))},{default:function(){return[i(I,{class:re.jumperInputClass.value,modelValue:de.value,"onUpdate:modelValue":function(e){return de.value=e},onBlur:Pe,onEnter:Pe,max:ae.value,min:1,size:a,disabled:r,theme:"normal",placeholder:""},null)]}})]);return i("div",{class:re.paginationClass.value},[v("totalContent",i("div",{class:re.totalClass.value},[V(U.value.total,{total:t})])),l&&n.length>0&&i(k,x({size:a,value:F,disabled:r,class:re.sizerClass.value,autoWidth:!0,onChange:Ce,options:be.value},e.selectProps),null),e.showFirstAndLastPageBtn?i("div",{class:re.preBtnClass.value,onClick:function(){return ye(1)},disabled:e.disabled||1===e.current},[i(G,null,null)]):null,e.showPreviousAndNextBtn?i("div",{class:re.preBtnClass.value,onClick:function(){return Oe("prevPage")},disabled:r||1===_.value},[i(Z,null,null)]):null,e.showPageNumber&&"default"===e.theme?i("ul",{class:re.btnWrapClass.value},[ge.value&&he.value&&i("li",{class:re.getButtonClass(1),onClick:function(){return ye(1)}},[1]),ge.value&&ce.value&&he.value?i("li",{class:re.btnMoreClass.value,onClick:function(){return Oe("prevMorePage")},onMouseOver:function(){return ie.value=!0},onMouseOut:function(){return ie.value=!1}},[ie.value?i(X,null,null):i(ee,null,null)]):null,me.value.map((function(e){return i("li",{class:re.getButtonClass(e),key:e,onClick:function(){return ye(e)}},[e])})),ge.value&&pe.value&&he.value?i("li",{class:re.btnMoreClass.value,onClick:function(){return Oe("nextMorePage")},onMouseOver:function(){return ve.value=!0},onMouseOut:function(){return ve.value=!1}},[ve.value?i($,null,null):i(ee,null,null)]):null,ge.value&&he.value?i("li",{class:re.getButtonClass(ae.value),onClick:function(){return ye(ae.value)}},[ae.value]):null]):null,"simple"===e.theme&&u,e.showPreviousAndNextBtn?i("div",{class:re.nextBtnClass.value,onClick:function(){return Oe("nextPage")},disabled:r||_.value===ae.value},[i(Y,null,null)]):null,e.showFirstAndLastPageBtn?i("div",{class:re.nextBtnClass.value,onClick:function(){return ye(ae.value)},disabled:r||_.value===ae.value},[i(K,null,null)]):null,"default"===e.theme&&e.showJumper&&u])}}}); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function ie(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}var ce=e({name:"TPaginationMini",props:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ie(Object(n),!0).forEach((function(t){o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ie(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},{disabled:{type:[Boolean,Object]},layout:{type:String,default:"horizontal",validator:function(e){return!e||["horizontal","vertical"].includes(e)}},showCurrent:{type:Boolean,default:!0},size:{type:String,default:"medium",validator:function(e){return!e||["small","medium","large"].includes(e)}},tips:{type:Object},variant:{type:String,default:"text",validator:function(e){return!e||["text","outline"].includes(e)}},onChange:Function}),setup:function(e){var n=l("pagination-mini"),a=P({ChevronLeftIcon:M,RoundIcon:te,ChevronRightIcon:B,ChevronUpIcon:D,ChevronDownIcon:N}),r=a.ChevronLeftIcon,u=a.RoundIcon,c=a.ChevronRightIcon,s=a.ChevronUpIcon,v=a.ChevronDownIcon,p=t((function(){return w(e.tips)?e.tips:!0===e.tips?{prev:"上一页",current:"当前",next:"下一页"}:{}})),f=t((function(){return w(e.disabled)?e.disabled:!0===e.disabled?{prev:!0,current:!0,next:!0}:{prev:!1,current:!1,next:!1}}));return function(){var t=[n.value,o({},"".concat(n.value,"--outline"),"outline"===e.variant)];return i("div",{class:t},[i(_,{title:p.value.prev,variant:e.variant,size:e.size,shape:"square",onClick:function(t){var n;return null===(n=e.onChange)||void 0===n?void 0:n.call(e,{e:t,trigger:"prev"})},icon:"horizontal"===e.layout?function(){return i(r,null,null)}:function(){return i(s,null,null)},class:"".concat(n.value,"__prev"),disabled:f.value.prev},null),e.showCurrent&&i(_,{title:p.value.current,variant:e.variant,size:e.size,shape:"square",onClick:function(t){var n;return null===(n=e.onChange)||void 0===n?void 0:n.call(e,{e:t,trigger:"current"})},icon:function(){return i(u,null,null)},class:"".concat(n.value,"__current"),disabled:f.value.current},null),i(_,{title:p.value.next,variant:e.variant,size:e.size,shape:"square",onClick:function(t){var n;return null===(n=e.onChange)||void 0===n?void 0:n.call(e,{e:t,trigger:"next"})},icon:"horizontal"===e.layout?function(){return i(c,null,null)}:function(){return i(v,null,null)},class:"".concat(n.value,"__next"),disabled:f.value.next},null)])}}}),se=f(oe); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */f(ce);export{se as P}; diff --git a/.output/public/assets/index-CjKlnN2e.js b/.output/public/assets/index-CjKlnN2e.js new file mode 100644 index 0000000000000000000000000000000000000000..0b4117d01ccff47ea8439e613c256362bf0bcf02 --- /dev/null +++ b/.output/public/assets/index-CjKlnN2e.js @@ -0,0 +1,17 @@ +import{d as e,K as t,T as n,S as r,aJ as a,b as o,O as i,p as c,at as u,X as l,L as s,Y as f}from"./main-DzSNOqOC.js"; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var p=f(e({name:"TLink",props:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},{content:{type:[String,Function]},default:{type:[String,Function]},disabled:{type:Boolean,default:void 0},download:{type:[String,Boolean]},hover:{type:String,default:"underline",validator:function(e){return!e||["color","underline"].includes(e)}},href:{type:String,default:""},prefixIcon:{type:Function},size:{type:String,default:"medium",validator:function(e){return!e||["small","medium","large"].includes(e)}},suffixIcon:{type:Function},target:{type:String,default:""},theme:{type:String,default:"default",validator:function(e){return!e||["default","primary","danger","warning","success"].includes(e)}},underline:Boolean,onClick:Function}),emits:["click"],setup:function(e,f){var d=f.emit,p=l(),v=s(),y=t("link"),g=n(),m=g.STATUS,O=g.SIZE,b=r("classPrefix").classPrefix,h=a(),S=o((function(){return["".concat(y.value),"".concat(y.value,"--theme-").concat(e.theme),i(i(i(i({},O.value[e.size],"medium"!==e.size),m.value.disabled,h.value),"".concat(b.value,"-is-underline"),e.underline),"".concat(y.value,"--hover-").concat(e.hover),!h.value)]})),j=function(e){h.value||d("click",e)};return function(){var t=p("default","content"),n=v("prefixIcon"),r=v("suffixIcon");return c("a",{class:u(S.value),href:h.value||!e.href?void 0:e.href,target:e.target?e.target:void 0,download:e.download?e.download:void 0,onClick:j},[n?c("span",{class:"".concat(y.value,"__prefix-icon")},[n]):null,t,r?c("span",{class:"".concat(y.value,"__suffix-icon")},[r]):null])}}})); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */export{p as L}; diff --git a/.output/public/assets/index-D-N6mo-j.js b/.output/public/assets/index-D-N6mo-j.js new file mode 100644 index 0000000000000000000000000000000000000000..510c715119818123062e8b69fcb7fabe2de12656 --- /dev/null +++ b/.output/public/assets/index-D-N6mo-j.js @@ -0,0 +1,283 @@ +import{d as e,b as t,H as n,I as o,J as l,K as r,j as a,w as i,a3 as u,b3 as c,b4 as s,a4 as d,p as v,L as f,b5 as p,aK as h,b6 as g,aX as b,a_ as w,b7 as m,b8 as y,a7 as C,Y as x,b9 as O,aA as S,ba as R,bb as D,bc as E,bd as P,O as j,aL as T,V as A,at as K,be as _,a2 as I,bf as k,bg as F,aa as M,an as B,ap as N,bh as L,U as z,ar as W,aU as H,ax as V,bi as X,bj as Y,bk as q,bl as U,Q as $,aW as G,bm as J,bn as Z,bo as Q,bp as ee,S as te,a5 as ne,aS as oe,bq as le,br as re,a1 as ae,bs as ie,bt as ue,az as ce,bu as se,bv as de,bw as ve,bx as fe,by as pe,bz as he,bA as ge,bB as be,bC as we,au as me,W as ye,Z as Ce,bD as xe,G as Oe,ak as Se,bE as Re,N as De,b0 as Ee,ag as Pe,al as je,bF as Te,as as Ae,bG as Ke,ao as _e,aq as Ie,aM as ke,af as Fe,bH as Me,ac as Be,i as Ne,B as Le,o as ze,f as We,q as He,D as Ve,y as Xe,t as Ye,M as qe,bI as Ue}from"./main-DzSNOqOC.js";import{L as $e}from"./index-CjKlnN2e.js";import{p as Ge,s as Je,v as Ze}from"./form-model-CXHJGOsj.js";import{_ as Qe,b as et,i as tt,a as nt,C as ot}from"./index-C2aHaTIl.js";import{_ as lt,b as rt,d as at,e as it,D as ut}from"./index-DmWclHlm.js";import{P as ct}from"./index-CSsUEF1T.js";import{u as st,e as dt}from"./useVirtualScrollNew-1P66tHNg.js";import{I as vt}from"./index-pjvKxr27.js";import{_ as ft}from"./dep-916b902f-BLs2dxx4.js";import"./ellipsis-DKSeG7Zz.js";function pt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function ht(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pt(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var gt={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M2 2h20v20H2V2zm2 2v16h16V4H4zm9 2.5V11h4.5v2H13v4.5h-2V13H6.5v-2H11V6.5h2z"}}]},bt=e({name:"AddRectangleIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,l){var{attrs:r}=l,a=t((()=>e.size)),{className:i,style:u}=n(a),c=t((()=>["t-icon","t-icon-add-rectangle",i.value])),s=t((()=>ht(ht({},u.value),r.style))),d=t((()=>({class:c.value,style:s.value,onClick:t=>{var n;return null===(n=e.onClick)||void 0===n?void 0:n.call(e,{e:t})}})));return()=>o(gt,d.value)}});function wt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function mt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?wt(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var yt={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M12 3a9 9 0 100 18 9 9 0 000-18zM1 12a11 11 0 1122 0 11 11 0 01-22 0zm9.5-5.41L15.91 12l-5.41 5.41L9.09 16l4-4-4-4 1.41-1.41z"}}]},Ct=e({name:"ChevronRightCircleIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,l){var{attrs:r}=l,a=t((()=>e.size)),{className:i,style:u}=n(a),c=t((()=>["t-icon","t-icon-chevron-right-circle",i.value])),s=t((()=>mt(mt({},u.value),r.style))),d=t((()=>({class:c.value,style:s.value,onClick:t=>{var n;return null===(n=e.onClick)||void 0===n?void 0:n.call(e,{e:t})}})));return()=>o(yt,d.value)}});function xt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Ot(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xt(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var St={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M2.57 3h18.86l-6.93 9.82V21h-5v-8.18L2.57 3zm3.86 2l5.07 7.18V19h1v-6.82L17.57 5H6.43z"}}]},Rt=e({name:"FilterIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,l){var{attrs:r}=l,a=t((()=>e.size)),{className:i,style:u}=n(a),c=t((()=>["t-icon","t-icon-filter",i.value])),s=t((()=>Ot(Ot({},u.value),r.style))),d=t((()=>({class:c.value,style:s.value,onClick:t=>{var n;return null===(n=e.onClick)||void 0===n?void 0:n.call(e,{e:t})}})));return()=>o(St,d.value)}});function Dt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Et(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Dt(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Dt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Pt={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M2 2h20v20H2V2zm2 2v16h16V4H4zm2.5 7h11v2h-11v-2z"}}]},jt=e({name:"MinusRectangleIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,l){var{attrs:r}=l,a=t((()=>e.size)),{className:i,style:u}=n(a),c=t((()=>["t-icon","t-icon-minus-rectangle",i.value])),s=t((()=>Et(Et({},u.value),r.style))),d=t((()=>({class:c.value,style:s.value,onClick:t=>{var n;return null===(n=e.onClick)||void 0===n?void 0:n.call(e,{e:t})}})));return()=>o(Pt,d.value)}}),Tt=x(e({name:"TAffix",props:{container:{type:[String,Function],default:function(){return function(){return window}}},content:{type:[String,Function]},default:{type:[String,Function]},offsetBottom:{type:Number,default:0},offsetTop:{type:Number,default:0},zIndex:{type:Number},onFixedChange:Function},emits:["fixedChange"],setup:function(e,t){var n,o=r("affix"),l=f(),v=a(null),x=a(null),O=a(null===(n=document)||void 0===n?void 0:n.createElement("div")),S=a(!1),R=a(!1),D=a(),E=a(),P=0,j=function(){S.value||(P=window.requestAnimationFrame((function(){var n,l;P=0;var r,a=null!==(n=null===(l=v.value)||void 0===l?void 0:l.getBoundingClientRect())&&void 0!==n?n:{top:0,width:0,height:0},i=a.top,u=a.width,c=a.height,s=0;D.value instanceof HTMLElement&&(s=D.value.getBoundingClientRect().top);var d=i-s,f=s+(D.value[D.value instanceof Window?"innerHeight":"clientHeight"]-c)-e.offsetBottom;if(r=!p(e.offsetTop)&&d<=e.offsetTop?s+e.offsetTop:!p(e.offsetBottom)&&i>=f&&f,x.value){var g=!1!==r,b=v.value.contains(O.value);g?(x.value.className=o.value,E.value={top:"".concat(r,"px"),width:"".concat(u,"px"),height:"".concat(c,"px"),zIndex:e.zIndex},b||(O.value.style.width="".concat(u,"px"),O.value.style.height="".concat(c,"px"),v.value.appendChild(O.value))):(x.value.removeAttribute("class"),E.value=void 0,b&&O.value.remove()),t.emit("fixedChange",g,{top:Number(r)}),h(e.onFixedChange)&&e.onFixedChange(g,{top:Number(r)})}S.value=!1})),S.value=!0)},T=function(){var t=b(w.mark((function t(){return w.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,C();case 2:if(!R.value){t.next=4;break}return t.abrupt("return");case 4:D.value=m(e.container),y(D.value,"scroll",j),y(window,"resize",j),R.value=!0;case 8:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),A=function(){D.value&&R.value&&(g(D.value,"scroll",j),g(window,"resize",j),P&&window.cancelAnimationFrame(P),R.value=!1)};return i((function(){return e.offsetTop}),(function(){j()})),i((function(){return e.offsetBottom}),(function(){j()})),i((function(){return e.zIndex}),(function(){j()})),u(T),c(T),s(A),d(A),{affixWrapRef:v,affixRef:x,bindScroll:T,unbindScroll:A,handleScroll:j,scrollContainer:D,renderTNodeJSX:l,affixStyle:E}},render:function(){return v("div",{ref:"affixWrapRef"},[v("div",{ref:"affixRef",style:this.affixStyle},[this.renderTNodeJSX("default")])])}})),At=O,Kt=Qe,_t=et,It=S,kt=R,Ft=D;var Mt=function(e,t,n,o){var l=-1,r=Kt,a=!0,i=e.length,u=[],c=t.length;if(!i)return u;n&&(t=It(t,kt(n))),o?(r=_t,a=!1):t.length>=200&&(r=Ft,a=!1,t=new At(t));e:for(;++l<i;){var s=e[l],d=null==n?s:n(s);if(s=o||0!==s?s:0,a&&d==d){for(var v=c;v--;)if(t[v]===d)continue e;u.push(s)}else r(t,d,o)||u.push(s)}return u}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function Bt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Nt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Bt(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Lt=function(t){var n=Nt({},t),o=document.createElement("div"),l=a(!1),r=n.className,i=n.style,c=r,s=function(e,t){if(e){var n;if(c&&c!==e)(n=o.firstElementChild.classList).remove.apply(n,K(c.split(" ").map((function(e){return e.trim()}))));e.split(" ").forEach((function(e){o.firstElementChild.classList.add(e.trim())}))}t&&(o.firstElementChild.style.cssText+=t),c=e},d=e({setup:function(e,t){var o=t.expose,c=a(n);u((function(){l.value=!0,document.activeElement.blur(),C((function(){s(r,i)}))}));return o({update:function(e){c.value=Nt(Nt({},n),e)}}),function(){var e=n.onClose||function(){l.value=!1};return delete n.className,delete n.style,T(lt,Nt({onClose:e,visible:l.value},c.value))}}}),v=E(d),f=v.mount(o),p=P(n.attach);return p&&p.appendChild(o),{show:function(){l.value=!0},hide:function(){l.value=!1},update:function(e){f.update(A(e,["className","style"])),s(e.className,e.style)},destroy:function(){l.value=!1,setTimeout((function(){v.unmount(),o.remove()}),300)},setConfirmLoading:function(e){f.update({confirmLoading:e})}}},zt={confirm:function(e){return Lt(e)},alert:function(e){var t=Nt({},e);return t.cancelBtn=null,Lt(t)}},Wt=Lt;Wt.install=function(e){e.config.globalProperties.$dialog=Lt,Object.keys(zt).forEach((function(t){e.config.globalProperties.$dialog[t]=zt[t]}))},Object.keys(zt).forEach((function(e){Wt[e]=zt[e]})); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +var Ht={activeRowKeys:{type:Array,default:void 0},defaultActiveRowKeys:{type:Array,default:function(){return[]}},activeRowType:{type:String,default:""},allowResizeColumnWidth:{type:Boolean,default:void 0},attach:{type:[String,Function]},bordered:Boolean,bottomContent:{type:[String,Function]},cellEmptyContent:{type:[String,Function]},columns:{type:Array,default:function(){return[]}},data:{type:Array,default:function(){return[]}},disableDataPage:Boolean,disableSpaceInactiveRow:{type:Boolean,default:void 0},empty:{type:[String,Function],default:""},firstFullRow:{type:[String,Function]},fixedRows:{type:Array},footData:{type:Array,default:function(){return[]}},footerAffixProps:{type:Object},footerAffixedBottom:{type:[Boolean,Object],default:!1},footerSummary:{type:[String,Function]},headerAffixProps:{type:Object},headerAffixedTop:{type:[Boolean,Object],default:!1},height:{type:[String,Number]},horizontalScrollAffixedBottom:{type:[Boolean,Object]},hover:Boolean,keyboardRowHover:{type:Boolean,default:!0},lastFullRow:{type:[String,Function]},lazyLoad:Boolean,loading:{type:[Boolean,Function],default:void 0},loadingProps:{type:Object},locale:{type:Object},maxHeight:{type:[String,Number]},pagination:{type:Object},paginationAffixedBottom:{type:[Boolean,Object]},resizable:Boolean,rowAttributes:{type:[Object,Array,Function]},rowClassName:{type:[String,Object,Array,Function]},rowKey:{type:String,default:"id",required:!0},rowspanAndColspan:{type:Function},rowspanAndColspanInFooter:{type:Function},scroll:{type:Object},showHeader:{type:Boolean,default:!0},size:{type:String,validator:function(e){return!e||["small","medium","large"].includes(e)}},stripe:Boolean,tableContentWidth:{type:String,default:""},tableLayout:{type:String,default:"fixed",validator:function(e){return!e||["auto","fixed"].includes(e)}},topContent:{type:[String,Function]},verticalAlign:{type:String,default:"middle",validator:function(e){return!e||["top","middle","bottom"].includes(e)}},onActiveChange:Function,onActiveRowAction:Function,onCellClick:Function,onColumnResizeChange:Function,onPageChange:Function,onRowClick:Function,onRowDblclick:Function,onRowMousedown:Function,onRowMouseenter:Function,onRowMouseleave:Function,onRowMouseover:Function,onRowMouseup:Function,onScroll:Function,onScrollX:Function,onScrollY:Function}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function Vt(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,o=n,l=0,r=e.length;l<r;l++){var a,i=e[l];if(t.set(i,n),null!=i&&null!==(a=i.children)&&void 0!==a&&a.length){var u=Vt(i.children,t,n+1);u>o&&(o=u)}}return o}function Xt(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(null==e?void 0:e.children)||[],o=0,l=n.length;o<l;o++){var r=n[o];r.children?t=Xt(r,t):t+=1}return t}function Yt(e){var t=new Map,n=Vt(e,t),o=new Map,l=function(e,r){for(var a=0,i=e.length;a<i;a++){var u,c=e[a],s=c.children?1:n-t.get(c)+1,d=c.children?Xt(c):1,v={};s>1&&(v.rowspan=s),d>1&&(v.colspan=d),o.set(c,v),null!=c&&null!==(u=c.children)&&void 0!==u&&u.length?l(c.children,r):r.push(c)}},r=[];return l(e,r),{rowspanAndColspanMap:o,leafColumns:r}} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function qt(){var e=r();return{classPrefix:e.value,tableBaseClass:{table:"".concat(e.value,"-table"),columnResizableTable:"".concat(e.value,"-table--column-resizable"),overflowVisible:"".concat(e.value,"-table--overflow-visible"),body:"".concat(e.value,"-table__body"),content:"".concat(e.value,"-table__content"),topContent:"".concat(e.value,"-table__top-content"),bottomContent:"".concat(e.value,"-table__bottom-content"),paginationWrap:"".concat(e.value,"-table__pagination-wrap"),tdLastRow:"".concat(e.value,"-table__td-last-row"),tdFirstCol:"".concat(e.value,"-table__td-first-col"),thCellInner:"".concat(e.value,"-table__th-cell-inner"),tableRowEdit:"".concat(e.value,"-table--row-edit"),cellEditable:"".concat(e.value,"-table__cell--editable"),cellEditWrap:"".concat(e.value,"-table__cell-wrap"),bordered:"".concat(e.value,"-table--bordered"),striped:"".concat(e.value,"-table--striped"),hover:"".concat(e.value,"-table--hoverable"),loading:"".concat(e.value,"-table--loading"),rowspanAndColspan:"".concat(e.value,"-table--rowspan-colspan"),empty:"".concat(e.value,"-table__empty"),emptyRow:"".concat(e.value,"-table__empty-row"),headerFixed:"".concat(e.value,"-table--header-fixed"),columnFixed:"".concat(e.value,"-table--column-fixed"),widthOverflow:"".concat(e.value,"-table--width-overflow"),multipleHeader:"".concat(e.value,"-table--multiple-header"),footerAffixed:"".concat(e.value,"-table--footer-affixed"),horizontalBarAffixed:"".concat(e.value,"-table--horizontal-bar-affixed"),affixedHeader:"".concat(e.value,"-table--affixed-header"),affixedHeaderElm:"".concat(e.value,"-table__affixed-header-elm"),affixedFooterElm:"".concat(e.value,"-table__affixed-footer-elm"),affixedFooterWrap:"".concat(e.value,"-table__affixed-footer-wrap"),scrollbarDivider:"".concat(e.value,"-table__scroll-bar-divider"),fullHeight:"".concat(e.value,"-table--full-height"),resizeLine:"".concat(e.value,"-table__resize-line"),obviousScrollbar:"".concat(e.value,"-table__scrollbar--obvious"),affixedHeaderWrap:"".concat(e.value,"-table__affixed-header-elm-wrap")},tdAlignClasses:{left:"".concat(e.value,"-align-left"),right:"".concat(e.value,"-align-right"),center:"".concat(e.value,"-align-center")},tableHeaderClasses:{header:"".concat(e.value,"-table__header"),thBordered:"".concat(e.value,"-table__header-th--bordered"),fixed:"".concat(e.value,"-table__header--fixed"),multipleHeader:"".concat(e.value,"-table__header--multiple")},tableFooterClasses:{footer:"".concat(e.value,"-table__footer"),fixed:"".concat(e.value,"-table__footer--fixed")},tableAlignClasses:{top:"".concat(e.value,"-vertical-align-top"),middle:"".concat(e.value,"-vertical-align-middle"),bottom:"".concat(e.value,"-vertical-align-bottom")},tableRowFixedClasses:{top:"".concat(e.value,"-table__row--fixed-top"),bottom:"".concat(e.value,"-table__row--fixed-bottom"),firstBottom:"".concat(e.value,"-table__row--fixed-bottom-first"),withoutBorderBottom:"".concat(e.value,"-table__row--without-border-bottom")},tableColFixedClasses:{left:"".concat(e.value,"-table__cell--fixed-left"),right:"".concat(e.value,"-table__cell--fixed-right"),lastLeft:"".concat(e.value,"-table__cell--fixed-left-last"),firstRight:"".concat(e.value,"-table__cell--fixed-right-first"),leftShadow:"".concat(e.value,"-table__content--scrollable-to-left"),rightShadow:"".concat(e.value,"-table__content--scrollable-to-right")},tableLayoutClasses:{auto:"".concat(e.value,"-table--layout-auto"),fixed:"".concat(e.value,"-table--layout-fixed")},tdEllipsisClass:"".concat(e.value,"-table-td--ellipsis"),tableFullRowClasses:{base:"".concat(e.value,"-table__row--full"),innerFullRow:"".concat(e.value,"-table__row-full-inner"),innerFullElement:"".concat(e.value,"-table__row-full-element"),firstFullRow:"".concat(e.value,"-table__first-full-row"),lastFullRow:"".concat(e.value,"-table__last-full-row")},tableExpandClasses:{iconBox:"".concat(e.value,"-table__expand-box"),iconCell:"".concat(e.value,"-table__expandable-icon-cell"),rowExpanded:"".concat(e.value,"-table__row--expanded"),rowFolded:"".concat(e.value,"-table__row--folded"),row:"".concat(e.value,"-table__expanded-row"),rowInner:"".concat(e.value,"-table__expanded-row-inner"),expanded:"".concat(e.value,"-table__row--expanded"),collapsed:"".concat(e.value,"-table__row--collapsed")},tableSortClasses:{sortable:"".concat(e.value,"-table__cell--sortable"),sortColumn:"".concat(e.value,"-table__sort-column"),title:"".concat(e.value,"-table__cell--title"),trigger:"".concat(e.value,"-table__cell--sort-trigger"),doubleIcon:"".concat(e.value,"-table__double-icons"),sortIcon:"".concat(e.value,"-table__sort-icon"),iconDirection:{asc:"".concat(e.value,"-table-sort-asc"),desc:"".concat(e.value,"-table-sort-desc")},iconActive:"".concat(e.value,"-table__sort-icon--active"),iconDefault:"".concat(e.value,"-icon-sort--default")},tableSelectedClasses:{selected:"".concat(e.value,"-table__row--selected"),disabled:"".concat(e.value,"-table__row--disabled"),checkCell:"".concat(e.value,"-table__cell-check")},tableFilterClasses:{filterable:"".concat(e.value,"-table__cell--filterable"),popup:"".concat(e.value,"-table__filter-pop"),icon:"".concat(e.value,"-table__filter-icon"),popupContent:"".concat(e.value,"-table__filter-pop-content"),result:"".concat(e.value,"-table__filter-result"),inner:"".concat(e.value,"-table__row-filter-inner"),bottomButtons:"".concat(e.value,"-table__filter--bottom-buttons"),contentInner:"".concat(e.value,"-table__filter-pop-content-inner"),iconWrap:"".concat(e.value,"-table__filter-icon-wrap")},asyncLoadingClass:"".concat(e.value,"-table__async-loading"),isFocusClass:"".concat(e.value,"-is-focus"),isLoadingClass:"".concat(e.value,"-is-loading"),isLoadMoreClass:"".concat(e.value,"-is-load-more"),tableTreeClasses:{col:"".concat(e.value,"-table__tree-col"),inlineCol:"".concat(e.value,"-table__tree-col--inline"),icon:"".concat(e.value,"-table__tree-op-icon"),leafNode:"".concat(e.value,"-table__tree-leaf-node")},tableDraggableClasses:{rowDraggable:"".concat(e.value,"-table--row-draggable"),rowHandlerDraggable:"".concat(e.value,"-table--row-handler-draggable"),colDraggable:"".concat(e.value,"-table--col-draggable"),handle:"".concat(e.value,"-table__handle-draggable"),ghost:"".concat(e.value,"-table__ele--draggable-ghost"),chosen:"".concat(e.value,"-table__ele--draggable-chosen"),dragging:"".concat(e.value,"-table__ele--draggable-dragging"),dragSortTh:"".concat(e.value,"-table__th--drag-sort")},virtualScrollClasses:{cursor:"".concat(e.value,"-table__virtual-scroll-cursor"),header:"".concat(e.value,"-table__virtual-scroll-header")},positiveRotate90:"".concat(e.value,"-positive-rotate-90"),negativeRotate180:"".concat(e.value,"-negative-rotate-180")}} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function Ut(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}var $t=e({name:"TEllipsis",props:{content:{type:[String,Function]},default:{type:[String,Function]},tooltipContent:{type:[String,Number,Function]},placement:String,attach:[String,Function],tooltipProps:Object,zIndex:Number,overlayClassName:String,classPrefix:{type:String,default:"t"}},setup:function(e){var n=a(),o=a(!1),l=a(!1),r=t((function(){return["".concat(e.classPrefix,"-table__ellipsis"),"".concat(e.classPrefix,"-text-ellipsis")]})),i=t((function(){return["".concat(e.classPrefix,"-table__ellipsis-content"),e.overlayClassName]}));u((function(){l.value=_(n.value)})),I((function(){l.value=_(n.value)}));var c=k((function(e){"mouseleave"===e.type?n.value:n.value&&(o.value=!0)}),80);return{flag:o,root:n,isOverflow:l,ellipsisClasses:r,innerEllipsisClassName:i,onMouseAround:c,handleVisibleChange:function(e){e||(o.value=!1)}}},render:function(){var e,t=F(this,"default","content"),n=v("div",{ref:"root",class:this.ellipsisClasses,onMouseenter:this.onMouseAround,onMouseleave:this.onMouseAround,style:{textOverflow:this.isOverflow?"ellipsis":"clip"}},[t]),o=null,l=this.tooltipProps;if(this.isOverflow&&this.flag){var r=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ut(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ut(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({content:this.tooltipContent||function(){return t},destroyOnClose:!0,zIndex:this.zIndex,attach:this.attach,placement:this.placement,overlayClassName:null!=l&&l.overlayClassName?this.innerEllipsisClassName.concat(l.overlayClassName):this.innerEllipsisClassName,onVisibleChange:this.handleVisibleChange},l);o=v(M,r,"function"==typeof(e=n)||"[object Object]"===Object.prototype.toString.call(e)&&!B(e)?n:{default:function(){return[n]}})}else o=n;return o}}); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function Gt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Jt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Gt(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Zt(e,t,n){var o={col:t,colIndex:n};return h(t.title)?t.title(T,o):z(t.title)&&e[t.title]?e[t.title](o):h(t.render)&&t.render(T,Jt(Jt({},o),{},{type:"title",row:{},rowIndex:-1}))||t.title}function Qt(e){var n=qt(),o=n.tableSortClasses,l=n.tableFilterClasses,r=t((function(){return Yt(e.columns)})),a=t((function(){return t=e.columns,n=function(e,t){for(var o,l=[],r=[],a=0,i=e.length;a<i;a++){var u,c=e[a],s=[c];l=l.concat(s),null!=c&&null!==(u=c.children)&&void 0!==u&&u.length&&(r=r.concat(c.children))}return null!==(o=r)&&void 0!==o&&o.length&&n(r,t),t.push(l),l},n(t,o=[]),o.reverse();var t,n,o})),i=t((function(){return a.value.length>1}));return{thList:a,isMultipleHeader:i,spansAndLeafNodes:r,renderTitleWidthIcon:function(t,n,r,a,i,u){var c,s=N(t,3),d=s[0],f=s[1],p=s[2],g=j(j({},o.sortable,f),l.filterable,p),b=h(a)?a(T,{col:n,colIndex:r}):void 0,w=void 0!==a?Boolean(a):Boolean(n.ellipsis);return v("div",{class:g},[v("div",{class:o.title},[w?v($t,{placement:"bottom",attach:e.attach||(i?function(){return i}:void 0),tooltipContent:b&&function(){return b},tooltipProps:"object"===L(a)?a:void 0,classPrefix:null==u?void 0:u.classPrefix,overlayClassName:null==u?void 0:u.ellipsisOverlayClassName},(c=d,"function"==typeof c||"[object Object]"===Object.prototype.toString.call(c)&&!B(c)?d:{default:function(){return[d]}})):v("div",null,[d]),Boolean(f||p)&&v("div",{class:l.iconWrap},[f,p])])])}}} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function en(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function tn(e){var t,n,o=e.isWidthOverflow,l=e.tableContentRef,r=e.showColumnShadow,i=e.getThWidthList,c=e.updateThWidthList,s=e.setTableElmWidth,d=e.updateTableAfterColumnResize,v=e.onColumnResizeChange,f=a(),p=a({}),h=a([]);u((function(){var e="undefined"!=typeof document;t=e?document.onselectstart:null,n=e?document.ondragstart:null}));var b=function(e,t,n){for(var o=t;e[o]&&!1===e[o].resizable;)"next"===n?o+=1:o-=1;return e[o]},w=function(e,t){e&&(h.value=e,e.forEach((function(n,o){var l=b(e,o-1,"prev"),r=b(e,o+1,"next"),a=t?p.value[t.colKey].prev:r,i=t?p.value[t.colKey].next:l,u=0===o?a:l,c=o===e.length-1?i:r;p.value[n.colKey]={prev:u,next:c,current:{prevSibling:b(e,o-1,"prev"),nextSibling:b(e,o+1,"next")}},w(n.children,n)})))},m={isDragging:!1,draggingCol:null,draggingStart:0,effectCol:"next"},C=W({display:"none",height:"10px",left:"10px",bottom:"0"}),x=function(e){return"right"===e.fixed&&r.right},O=function(e){var t,n,o=H(e.minWidth)?e.minWidth:parseInt(e.minWidth||"0",10);return{minColWidth:Math.max((null===(t=e.resize)||void 0===t?void 0:t.minWidth)||80,o),maxColWidth:(null===(n=e.resize)||void 0===n?void 0:n.maxWidth)||600}},S=function(e,t,n,o){return t?function(e,t,n,o){var l=n.right-o.left,r=n.left-o.left,a="next"===m.effectCol?e:t,i=O(a);return{resizeLinePos:l,minResizeLineLeft:r+i.minColWidth,maxResizeLineLeft:r+i.maxColWidth}}(e,t,n,o):function(e,t){var n=e.left-t.left,o=e.left-t.left;return{resizeLinePos:n,minResizeLineLeft:o,maxResizeLineLeft:o}}(n,o)};return{resizeLineRef:f,resizeLineStyle:C,onColumnMouseover:function(e,t){if(f.value&&!m.isDragging&&e.target){var n=e.target.closest("th"),o=n.getAttribute("data-colkey");if(h.value.find((function(e){return e.colKey===o}))){var l,r=n.getBoundingClientRect(),a=r.right-e.pageX<=8,i=e.pageX-r.left<=8,u=x(t);if(a||u){if(null===(l=t.resizable)||void 0===l||l){n.style.cursor=a||u&&i?"col-resize":"";var c=a&&!u||u&&i;return m.draggingCol=c?n:n.nextElementSibling,void(m.effectCol="next")}}else if(i){var s=n.previousElementSibling;if(s){var d,v,g=null===(d=p.value[t.colKey])||void 0===d?void 0:d.prev;if(null===(v=null==g?void 0:g.resizable)||void 0===v||v)return n.style.cursor="col-resize",m.draggingCol=s,void(m.effectCol="prev")}}n.style.cursor="",m.draggingCol=null,m.effectCol=null}}},onColumnMousedown:function(e,r,a){var u,b,w;if(m.draggingCol){var R=m.draggingCol,D=R.getBoundingClientRect(),E=null===(u=l.value)||void 0===u?void 0:u.getBoundingClientRect(),P=null===(b=p.value[r.colKey])||void 0===b?void 0:b.next,T=null===(w=p.value[r.colKey])||void 0===w?void 0:w.prev,A=x(r)?function(e,t,n,o,l){var r=o.left-l.left,a=e.dataset.colkey===t.colKey?t:n,i=o.left-l.left,u=O(a),c=u.minColWidth,s=u.maxColWidth;return{resizeLinePos:r,minResizeLineLeft:i+(o.width-s),maxResizeLineLeft:i+(o.width-c)}}(R,r,P,D,E):S(r,P,D,E),K=A.resizeLinePos,_=A.minResizeLineLeft,I=A.maxResizeLineLeft;if(m.isDragging=!0,m.draggingStart=e.x,null!=f&&f.value){C.display="block",C.height="".concat(E.bottom-D.top,"px"),C.left="".concat(K,"px");var k=l.value.parentElement.getBoundingClientRect();C.bottom="".concat(k.bottom-E.bottom,"px")}var F=function(){var e;if(m.isDragging){var l=K-parseFloat(C.left)||0,u=i("calculate"),f=null===(e=p.value[r.colKey])||void 0===e?void 0:e.current;if(f){var b="next"===m.effectCol?f.nextSibling:f.prevSibling,w=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?en(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):en(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},u),y=!1!==r.resizable?r:b,S=function(e,t,n,l){var r=!0;if(t){var a=O(t),i=a.minColWidth,u=a.maxColWidth,c=e[t.colKey]+n;r=c<i||c>u}return!(r||o.value||l===h.value.length-1)}(w,"next"===m.effectCol?f.nextSibling:r,l,a);"next"===m.effectCol?x(r)?R.dataset.colkey!==r.colKey?w[P.colKey]+=l:w[y.colKey]+=l:(w[y.colKey]-=l,S&&(w[P.colKey]+=l)):"prev"===m.effectCol&&(S&&(w[y.colKey]+=l),T&&(w[T.colKey]-=l)),c(w);var D=function(e){var t=0;return h.value.forEach((function(n){t+=e[n.colKey]})),t}(w);s(Math.round(D)),d(),m.isDragging=!1,m.draggingCol=null,m.effectCol=null,R.style.cursor="",C.display="none",C.left="0",g(document,"mouseup",F),g(document,"mousemove",M),document.onselectstart=t,document.ondragstart=n,null==v||v({columnsWidth:w})}}},M=function(e){if(m.isDragging){var t=K+e.x-m.draggingStart;C.left="".concat(Math.min(Math.max(t,_),I),"px")}};y(document,"mouseup",F),y(document,"mousemove",M),document.onselectstart=function(){return!1},document.ondragstart=function(){return!1}}},setEffectColMap:w}} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var nn=Y,on=function(){},ln=nn&&1/q(new nn([,-0]))[1]==1/0?function(e){return new nn(e)}:on,rn=O,an=Qe,un=et,cn=D,sn=ln,dn=q;var vn=Mt,fn=Q,pn=function(e,t,n){var o=-1,l=an,r=e.length,a=!0,i=[],u=i;if(n)a=!1,l=un;else if(r>=200){var c=t?null:sn(e);if(c)return dn(c);a=!1,l=cn,u=new rn}else u=t?[]:i;e:for(;++o<r;){var s=e[o],d=t?t(s):s;if(s=n||0!==s?s:0,a&&d==d){for(var v=u.length;v--;)if(u[v]===d)continue e;t&&u.push(d),i.push(s)}else l(u,d,n)||(u!==i&&u.push(d),i.push(s))}return i};var hn=J,gn=function(e,t,n){var o=e.length;if(o<2)return o?pn(e[0]):[];for(var l=-1,r=Array(o);++l<o;)for(var a=e[l],i=-1;++i<o;)i!=l&&(r[l]=vn(r[l]||a,e[i],t,n));return pn(fn(r,1),t,n)},bn=ee,wn=Z,mn=U((function(e){var t=wn(e);return t="function"==typeof t?t:void 0,gn(hn(e,bn),void 0,t)}));function yn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Cn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yn(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function xn(e,t,n,o){var l=null==n?void 0:n.get(e.colKey||t);if(!l)return{};var r=j(j(j(j({},o.left,"left"===e.fixed),o.right,"right"===e.fixed),o.lastLeft,"left"===e.fixed&&l.lastLeftFixedCol),o.firstRight,"right"===e.fixed&&l.firstRightFixedCol);return{style:{left:"left"===e.fixed?"".concat(l.left,"px"):void 0,right:"right"===e.fixed?"".concat(l.right,"px"):void 0},classes:r}}function On(e,n,o,l){var r=V(e),c=r.columns,s=r.tableLayout,v=r.tableContentWidth,f=r.fixedRows,p=r.firstFullRow,h=r.lastFullRow,b=r.maxHeight,w=r.headerAffixedTop,m=r.footerAffixedBottom,C=r.bordered,x=r.resizable,O=r.allowResizeColumnWidth,S=a([]),R=a(),D=a(),E=a(!1),P=a(!1),j=a(),T=a(6),A=a(new Map),K=W({left:!1,right:!1}),_=a({left:0,top:0}),I=a(0),F=a(0),M=a({}),B=a(!1),L=a(!1),z=a(!1),H=t((function(){var e,t;return null!==(e=null!==(t=O.value)&&void 0!==t?t:x.value)&&void 0!==e&&e})),Y=t((function(){var t;return!(e.headerAffixedTop||e.footerAffixedBottom||e.horizontalScrollAffixedBottom||"virtual"===(null===(t=e.scroll)||void 0===t?void 0:t.type))}));function q(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Map,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,l=arguments.length>4?arguments[4]:void 0,r=0,a=e.length;r<a;r++){var i,u=e[r];["left","right"].includes(u.fixed)&&(B.value=!0),"right"===u.fixed&&(L.value=!0),"left"===u.fixed&&(z.value=!0);var c=u.colKey||r,s={col:u,parent:l,index:r};t.set(c,s),null!==(i=u.children)&&void 0!==i&&i.length&&q(u.children,t,n,o+1,s),n[o]?n[o].push(s):n[o]=[s]}return{newColumnsMap:t,levelNodes:n}}var U,J=function(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=0,l=e.length;o<l;o++){var r,a=e[o];if("right"===a.fixed)return;for(var i=t.get(a.colKey||o),u=o-1;u>=0&&"left"!==e[u].fixed;)u-=1;var c=e[u],s=0===o&&(null==n?void 0:n.left)||0,d=t.get((null==c?void 0:c.colKey)||o-1);i&&(i.left=((null==d?void 0:d.left)||s)+((null==d?void 0:d.width)||0)),null!==(r=a.children)&&void 0!==r&&r.length&&J(a.children,t,i)}},Z=function(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=e.length-1;o>=0;o--){var l,r=e[o];if("left"===r.fixed)return;for(var a=t.get(r.colKey||o),i=o+1;i<e.length&&"right"!==e[i].fixed;)i+=1;var u=e[i],c=o===e.length-1&&(null==n?void 0:n.right)||0,s=t.get((null==u?void 0:u.colKey)||o+1);a&&(a.right=((null==s?void 0:s.right)||c)+((null==s?void 0:s.width)||0)),null!==(l=r.children)&&void 0!==l&&l.length&&Z(r.children,t,a)}},Q=function(t,n){if(A.value.clear(),t){var o=t.querySelector("thead");o&&function(e,t){if(e){for(var n=0,o=e.length;n<o;n++)for(var l=e[n].children,r=0,a=l.length;r<a;r++){var i,u=l[r],s=u.dataset.colkey;s||$.warn("TDesign Table","".concat(u.innerText," missing colKey. colKey is required for fixed column feature."));var d=t.get(s||r);null!=d&&null!==(i=d.col)&&void 0!==i&&i.fixed&&t.set(s,Cn(Cn({},d),{},{width:u.getBoundingClientRect().width}))}J(c.value,t),Z(c.value,t)}}(o.children,n);var l=t.querySelector("tbody"),r=t.querySelector("tfoot");l&&function(t,n,o,l){for(var r=f.value||[],a=N(r,2),i=a[0],u=a[1],c=e.data,s=e.rowKey,d=void 0===s?"id":s,v=0;v<i;v++){var p=t[v],h=G(c[v],d),g=n.get(h)||{},b=G(c[v-1],d),w=n.get(b)||{},m=0;0===v&&(m=(null==o?void 0:o.getBoundingClientRect().height)||0),g.top=(w.top||m)+(w.height||0),n.set(h,Cn(Cn({},g),{},{height:(null==p?void 0:p.getBoundingClientRect().height)||0}))}for(var y=c.length-1;y>=c.length-u;y--){var C=t[t.length-(c.length-y)],x=G(c[y],d),O=n.get(x)||{},S=G(c[y+1],d),R=n.get(S)||{},D=0;y===c.length-1&&(D=(null==l?void 0:l.getBoundingClientRect().height)||0),O.bottom=(R.bottom||D)+(R.height||0),n.set(x,Cn(Cn({},O),{},{height:(null==C?void 0:C.getBoundingClientRect().height)||0}))}}(l.children,n,o,r),A.value=n}},ee=function(e,t){if(B.value&&e){var n=e.scrollLeft;if(U!==n||t&&t.skipScrollLimit){U=n;var o=e.clientWidth+n<e.scrollWidth,l=n>0;K.left===l&&K.right===o||(K.left=l&&z.value,K.right=o&&L.value)}}},te=function(){var e=q(c.value),t=e.newColumnsMap;!function(e){for(var t=0;t<e.length;t++)for(var n=e[t],o=0,l=n.length;o<l;o++){var r=n[o],a=n[o+1],i=r.parent;(!i||(null==i?void 0:i.lastLeftFixedCol))&&"left"===r.col.fixed&&"left"!==(null==a?void 0:a.col.fixed)&&(r.lastLeftFixedCol=!0);var u=n[o-1];(!i||(null==i?void 0:i.firstRightFixedCol))&&"right"===r.col.fixed&&"right"!==(null==u?void 0:u.col.fixed)&&(r.firstRightFixedCol=!0)}}(e.levelNodes);var n=setTimeout((function(){var e;(B.value||null!==(e=f.value)&&void 0!==e&&e.length)&&Q(D.value,t),clearTimeout(n)}),0);return function(){clearTimeout(n)}},ne=function(){var e=setTimeout((function(){if(D.value){E.value=D.value.scrollHeight>D.value.clientHeight,P.value=D.value.scrollWidth>D.value.clientWidth;var t=D.value.getBoundingClientRect();_.value={top:t.top,left:t.left},clearTimeout(e)}}),0)},oe=function(e){F.value!==e&&(F.value=e)},le=function(){var e,t,n,o,r,a,i,u;null===(e=l.paginationAffixRef.value)||void 0===e||null===(t=e.handleScroll)||void 0===t||t.call(e),null===(n=l.horizontalScrollAffixRef.value)||void 0===n||null===(o=n.handleScroll)||void 0===o||o.call(n),null===(r=l.headerTopAffixRef.value)||void 0===r||null===(a=r.handleScroll)||void 0===a||a.call(r),null===(i=l.footerBottomAffixRef.value)||void 0===i||null===(u=i.handleScroll)||void 0===u||u.call(i)},re=function(e){for(var t={},n=0,o=e.length;n<o;n++)for(var l=e[n].children,r=0,a=l.length;r<a;r++){var i=l[r];t[i.dataset.colkey]=i.getBoundingClientRect().width}return t},ae=function(e){if(e instanceof HTMLCollection){if(H.value)return;M.value=re(e)}else M.value=M.value||{},Object.entries(e).forEach((function(e){var t=N(e,2),n=t[0],o=t[1];M.value[n]=o}));return M.value},ie=function(){var t=setTimeout((function(){var n;if(function(){var t,n,o=null===(t=D.value)||void 0===t?void 0:t.getBoundingClientRect();if(o){var l=E.value?T.value:0;I.value=o.width-l-(e.bordered?1:0);var r=null==j||null===(n=j.value)||void 0===n?void 0:n.getBoundingClientRect();(null==r?void 0:r.width)&&oe(r.width)}}(),!Y.value){var o=null===(n=D.value)||void 0===n?void 0:n.querySelector("thead");o&&(ae(o.children),clearTimeout(t))}}),0)},ue=function(e){if("calculate"===e){var t,n=null===(t=D.value)||void 0===t||null===(t=t.querySelector("thead"))||void 0===t?void 0:t.children;return n?re(n):{}}return M.value||{}};i([S,c,C,s,v,E,P,B,f,p,h],te,{immediate:!0}),i([B,c],(function(){var e=setTimeout((function(){B.value&&ee(D.value),clearTimeout(e)}),0)}),{immediate:!0}),i([b,S,c,C,D],(function(){D.value&&ne()}),{immediate:!0}),i(o,(function(){M.value={}})),i([S,C,s,f,E,w,m,v],(function(){var e=setTimeout((function(){ie(),le(),clearTimeout(e)}),60)}),{immediate:!0}),i([o],(function(e,t){var n=N(e,1)[0],o=N(t,1)[0],l=n.map((function(e){return e.colKey})),r=o.map((function(e){return e.colKey}));if(l.length<r.length){var a=mn(r,l),i=ue("calculate"),u=0;a.forEach((function(e){u+=i[e]}));var c=Ge(i,r),s=Object.values(c).reduce((function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)+(arguments.length>1?arguments[1]:void 0)})),d=D.value.clientWidth,v=s-u;oe(Math.max(d,v))}}));var ce=function(){ie(),ne(),le(),(B.value||E.value)&&(te(),ee(D.value,{skipScrollLimit:!0})),"auto"===s.value&&ae(ue("calculate"))},se=k((function(){ce()}),30),de=null;u((function(){var e=rt();T.value=e,ie();var t=B.value||E.value||!Y.value||!S.value.length,n="undefined"!=typeof window&&void 0!==window.ResizeObserver;(t&&X()<11||!n)&&y(window,"resize",se)})),d((function(){var e,t;"undefined"!=typeof window&&g(window,"resize",se),null===(e=de)||void 0===e||e.unobserve(R.value),null===(t=de)||void 0===t||t.disconnect()}));return{tableWidth:I,tableElmWidth:F,thWidthList:M,isFixedHeader:E,isWidthOverflow:P,tableContentRef:D,isFixedColumn:B,showColumnShadow:K,rowAndColFixedPosition:A,virtualScrollHeaderPos:_,scrollbarWidth:T,setData:function(e){S.value=e},refreshTable:ce,setTableElmWidth:oe,emitScrollEvent:function(t){var n,o,l;null===(n=e.onScrollX)||void 0===n||n.call(e,{e:t}),null===(o=e.onScrollY)||void 0===o||o.call(e,{e:t}),null===(l=e.onScroll)||void 0===l||l.call(e,{e:t})},updateThWidthListHandler:ie,updateColumnFixedShadow:ee,setUseFixedTableElmRef:function(e){j.value=e},getThWidthList:ue,updateThWidthList:ae,addTableResizeObserver:function(e){"undefined"!=typeof window&&(X()<11||void 0===window.ResizeObserver||(g(window,"resize",se),(de=new window.ResizeObserver((function(){var e=setTimeout((function(){ce(),clearTimeout(e)}),200)}))).observe(e),R.value=e))},updateTableAfterColumnResize:function(){te(),ne()}}} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function Sn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Rn(e,t){var n=V(e),o=n.pagination,l=n.data,r=n.disableDataPage,u=te().classPrefix,c=a(e.pagination),s=a([]),d=a(!1),f=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,o=e.data,l=Boolean(!r.value&&o.length>n);if(d.value=l,l){var a=(t-1)*n,i=t*n;s.value=o.slice(a,i)}else s.value=o};i((function(){var e,t;return[null===(e=o.value)||void 0===e?void 0:e.current,null===(t=o.value)||void 0===t?void 0:t.pageSize,l.value.length,r]}),(function(){if(o.value&&o.value.current){var e=o.value,t=e.current,n=e.pageSize;c.value={current:t,pageSize:n},f(o.value.current,o.value.pageSize)}}),{immediate:!0}),i([l],(function(){var e,t;o.value&&o.value.defaultCurrent&&(Boolean(o.value.current)||f(null!==(e=c.value.current)&&void 0!==e?e:o.value.defaultCurrent,null!==(t=c.value.pageSize)&&void 0!==t?t:o.value.defaultPageSize))}),{immediate:!0});return{isPaginateData:d,dataSource:s,innerPagination:c,renderPagination:function(){if(!e.pagination)return null;var n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Sn(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Sn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e.pagination);return delete n.onChange,v("div",{class:"".concat(u.value,"-table__pagination")},[v(ct,ne({size:"large"===e.size?null:e.size},n,{onChange:function(t){var n,o,l;null===(n=e.pagination)||void 0===n||null===(o=n.onChange)||void 0===o||o.call(n,t),c.value=t,f(t.current,t.pageSize),null===(l=e.onPageChange)||void 0===l||l.call(e,t,s.value)}}),{totalContent:t.slots.totalContent})])}}} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function Dn(e){var n=a(),o=a(),l=a(),r=a(),u=a(),c=a(!0),s=a(!0),v=a(!0),f=!1,p=!1,h=t((function(){return e.scroll&&"virtual"===e.scroll.type&&(e.scroll.threshold||100)<e.data.length})),b=t((function(){return!!(e.headerAffixedTop||e.footerAffixedBottom||e.horizontalScrollAffixedBottom)})),w=0,m=function(e){if(b.value||h.value){var t=e;if(!t&&n.value&&(w=0,t=n.value),t){var a=t.scrollLeft;if(w!==a){w=a;for(var i=[n.value,o.value,l.value,r.value],u=0,c=i.length;u<c;u++)i[u]&&e!==i[u]&&(i[u].scrollLeft=a)}}}},C=function(e,t,n){return t.top+n<e.top&&e.top>e.height},x=function(){var t,a,i;if(b.value||h.value||n.value){var d,f=null===(t=n.value)||void 0===t?void 0:t.getBoundingClientRect(),p=null===(a=n.value)||void 0===a||null===(a=a.querySelector("thead"))||void 0===a?void 0:a.getBoundingClientRect(),g=(null==p?void 0:p.height)||0,w=null===(i=l.value)||void 0===i?void 0:i.getBoundingClientRect();if((e.headerAffixedTop||h.value)&&o.value){var m=(d=e.headerAffixProps||e.headerAffixedTop,oe(d)?0:d.offsetTop||0),y=(null==w?void 0:w.height)||0,x=Math.abs(f.top)<f.height-g-m-y;h.value&&(x=f.top>-1*p.height),c.value=x}if(e.footerAffixedBottom&&null!=l&&l.value)s.value=C(w,f,g);else if(e.horizontalScrollAffixedBottom&&null!=r&&r.value){var O=r.value.getBoundingClientRect();s.value=C(O,f,g)}if(e.paginationAffixedBottom&&u.value){var S=u.value.getBoundingClientRect();v.value=C(S,f,g)}}},O=function(){x()},S=function(){m(l.value)},R=function(){m(o.value)},D=function(){m(r.value)},E=function(){m(n.value)},P=function(){y(l.value,"scroll",S)},j=function(){g(l.value,"scroll",S)},T=function(){y(o.value,"scroll",R),N()},A=function(){f||g(o.value,"scroll",R),L()},K=function(){y(r.value,"scroll",D)},_=function(){g(r.value,"scroll",D)},I=function(){y(n.value,"scroll",E),N()},F=function(){f||g(n.value,"scroll",E),L()},M=function(){f=!0},B=function(){f=!1,p||(g(o.value,"scroll",R),g(n.value,"scroll",E))},N=function(){p=!0},L=function(){p=!1},z=[],W=function(e){var t=k((function(t){g(e,"scroll",t)}),200);function n(){m(e),t(n)}function o(o){o.composedPath().includes(e)&&(z.forEach((function(e){return e()})),z.length=0,y(e,"scroll",n),t(n),z.push((function(){g(e,"scroll",n)})))}return y(e,"touchstart",o),{removeElementTouchScrollListener:function(){g(e,"touchstart",o)}}},H=[],V=function(){g(window,"mousedown",M),g(window,"mouseup",B),H.forEach((function(e){return e()})),H.length=0,o.value&&(g(o.value,"mouseenter",T),g(o.value,"mouseleave",A)),l.value&&(g(l.value,"mouseenter",P),g(l.value,"mouseleave",j)),n.value&&(g(n.value,"mouseenter",I),g(n.value,"mouseleave",F)),r.value&&(g(r.value,"mouseenter",K),g(r.value,"mouseleave",_))},X=function(){if(b.value||e.paginationAffixedBottom)var t=setTimeout((function(){b.value||e.paginationAffixedBottom?y(document,"scroll",O):g(document,"scroll",O),clearTimeout(t)}))};i([o,l,r,n],(function(){!function(){if(y(window,"mousedown",M),y(window,"mouseup",B),V(),o.value){y(o.value,"mouseenter",T),y(o.value,"mouseleave",A);var t=W(o.value).removeElementTouchScrollListener;H.push(t)}if(e.footerAffixedBottom&&l.value){y(l.value,"mouseenter",P),y(l.value,"mouseleave",j);var a=W(l.value).removeElementTouchScrollListener;H.push(a)}if(e.horizontalScrollAffixedBottom&&r.value){y(r.value,"mouseenter",K),y(r.value,"mouseleave",_);var i=W(r.value).removeElementTouchScrollListener;H.push(i)}if((b.value||h.value)&&n.value){y(n.value,"mouseenter",I),y(n.value,"mouseleave",F);var u=W(n.value).removeElementTouchScrollListener;H.push(u)}}(),m(),x()})),i(b,X),i((function(){return[e.data,e.columns,e.headerAffixedTop,e.footerAffixedBottom,e.horizontalScrollAffixedBottom]}),(function(){m()})),d((function(){g(document,"scroll",O),V(),o.value=null,l.value=null,r.value=null,n.value=null}));return{showAffixHeader:c,showAffixFooter:s,showAffixPagination:v,affixHeaderRef:o,affixFooterRef:l,horizontalScrollbarRef:r,paginationRef:u,onHorizontalScroll:m,setTableContentRef:function(e){n.value=e,X()},updateAffixHeaderOrFooter:x}} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function En(e,t){if(e){for(var n=e instanceof Array?e:[e],o={},l=0;l<n.length;l++){var r=n[l];if(r){var a=h(r)?r(t):r;o=a instanceof Array?En(a,t):Object.assign(o,a)}}return o}}function Pn(e,t,n){for(var o=e instanceof Array?e:[e],l=t.row,r=t.rowIndex,a=[],i=0,u=o.length;i<u;i++){var c=o[i],s=h(c)?c(t):c;if(!le(s)||s instanceof Array)s instanceof Array&&(s=Pn(s,t,n));else{s[r]&&(s=s[r]);var d=G(l,n||"id");s[d]&&(s=s[d])}a=a.concat(s)}return a}function jn(e,t){for(var n=e instanceof Array?e:[e],o=[],l=0,r=n.length;l<r;l++){var a=n[l];h(a)?o.push(a(t)):o.push(a)}return o}function Tn(e,t){if(e&&t){var n=null==e?void 0:e.find((function(e){return e.colKey===t}));if(n)return n;for(var o=0,l=e.length;o<l;o++){var r,a;if(null!==(r=e[o])&&void 0!==r&&null!==(r=r.children)&&void 0!==r&&r.length)return Tn(null===(a=e[o])||void 0===a?void 0:a.children,t)}}}function An(e,t){return"object"===L(e)?e:"object"===L(t)?t:{}} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function Kn(e,t,n,o){var l=G(e,t);return void 0===l&&$.error("Table","rowKey is wrong, can not get unique identifier of row."),[l,n||o].join("_")}function _n(e,t,n,o){var l=a(new Map),r=function(o,r){var a=o.rowIndex,i=o.colIndex;if(r.rowspan||r.colspan)for(var u=a+(r.rowspan||1),c=i+(r.colspan||1),s=a;s<u;s++)for(var d=i;d<c;d++)if(s!==a||d!==i){if(!e.value[s]||!t.value[d])return;var v=Kn(e.value[s],n.value,t.value[d].colKey,d),f=l.value.get(v)||{};f.skipped=!0,l.value.set(v,f)}};return i((function(){return[e.value,t.value,o]}),(function(){!function(e,t,o){var a;if(null===(a=l.value)||void 0===a||a.clear(),e&&o)for(var i=0,u=e.length;i<u;i++)for(var c=e[i],s=0,d=t.length;s<d;s++){var v=t[s],f={row:c,col:v,rowIndex:i,colIndex:s},p=Kn(c,n.value,v.colKey,s),h=l.value.get(p)||{},g=o(f)||{};(g.rowspan||g.colspan||h.rowspan||h.colspan)&&(g.rowspan&&(h.rowspan=g.rowspan),g.colspan&&(h.colspan=g.colspan),l.value.set(p,h)),null==r||r(f,h)}}(e.value,t.value,null==o?void 0:o.value)}),{immediate:!0}),{skipSpansMap:l}} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function In(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function kn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?In(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):In(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Fn=["rowKey","rowClassName","columns","fixedRows","footData","rowAttributes","rowspanAndColspan","scroll","cellEmptyContent","pagination","attach","onCellClick","onRowClick","onRowDblclick","onRowMouseover","onRowMousedown","onRowMouseenter","onRowMouseleave","onRowMouseup"],Mn=["click","dblclick","mouseover","mousedown","mouseenter","mouseleave","mouseup"];function Bn(e,t,n){var o=e.col,l=e.row,r=e.rowIndex;if("serial-number"===o.colKey){var a=(null==n?void 0:n.pagination)||{},i=a.current,u=a.pageSize,c=a.defaultCurrent,s=a.defaultPageSize,d=i||c,v=u||s;return v&&d?v*(d-1)+r+1:r+1}if(h(o.cell))return o.cell(T,e);if(t[o.colKey])return t[o.colKey](e);if(z(o.cell)&&t[o.cell])return t[o.cell](e);if(h(o.render))return o.render(T,kn(kn({},e),{},{type:"cell"}));var f=G(l,o.colKey);return[void 0,"",null].includes(f)?null!=n&&n.cellEmptyContent?h(n.cellEmptyContent)?n.cellEmptyContent(T,e):n.cellEmptyContent:t.cellEmptyContent?t.cellEmptyContent(e):t["cell-empty-content"]?t["cell-empty-content"](e):f:f}var Nn=e({name:"TR",props:kn(kn({row:Object,rowIndex:Number,dataLength:Number,ellipsisOverlayClassName:String,classPrefix:String,rowAndColFixedPosition:Map,skipSpansMap:Map,virtualConfig:Object,active:Boolean,isHover:Boolean},Ge(Ht,Fn)),{},{tableElm:{},tableContentElm:{}}),emits:["row-mounted"],setup:function(e,n){var o=V(e),l=o.tableContentElm,r=o.active,i=o.isHover,c=a(null),s=qt(),d=s.tdEllipsisClass,f=s.tableBaseClass,p=s.tableColFixedClasses,g=s.tableRowFixedClasses,b=s.tdAlignClasses,w=s.tableDraggableClasses,m=t((function(){return function(e,t,n,o,l,r){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:0;if(!o||!o.length)return{style:void 0,classes:void 0};var i=t<o[0],u=t>n-1-o[1],c=n-o[1],s=(null==l?void 0:l.get(e))||{},d=j(j(j(j({},r.top,i),r.bottom,u),r.firstBottom,t===c),r.withoutBorderBottom,t===c-1);return{style:{top:i?"".concat(s.top-a,"px"):void 0,bottom:u?"".concat(s.bottom+a,"px"):void 0},classes:d}}(G(e.row,e.rowKey||"id"),e.rowIndex,e.dataLength,e.fixedRows,e.rowAndColFixedPosition,g,e.virtualConfig.isVirtualScroll.value?e.virtualConfig.translateY.value:0)})),y=t((function(){return En(e.rowAttributes,{row:e.row,rowIndex:e.rowIndex,type:"body"})||{}})),x=t((function(){var t,n=Pn(e.rowClassName,{row:e.row,rowKey:e.rowKey,rowIndex:e.rowIndex,type:"body"},e.rowKey||"id");return[null===(t=m.value)||void 0===t?void 0:t.classes,n,j(j({},"".concat(e.classPrefix,"-table__row--active"),r.value),"".concat(e.classPrefix,"-table__row--hover"),i.value)].filter((function(e){return e}))})),O=function(e,n,o){var l=t((function(){return Math.max(o.rowHeight||48,48)})),r=a(!1),i=t((function(){return"lazy"===(null==o?void 0:o.type)&&!r.value})),c=!ae&&window.requestAnimationFrame||function(e){return setTimeout(e,16.6)},s=function(){r.value||c((function(){r.value=!0}))};return u((function(){"lazy"===(null==o?void 0:o.type)&&C((function(){var t=Math.max(10,o.bufferSize||10),r=l.value*t;null!=n&&n.value&&null!=e&&e.value&&re(n.value,e.value,s,r)}))})),{hasLazyLoadHolder:i,tRowHeight:l}}(l,c,W(kn(kn({},e.scroll),{},{rowIndex:e.rowIndex}))),S=O.hasLazyLoadHolder,R=O.tRowHeight,D=function(){var t;null!==(t=e.virtualConfig)&&void 0!==t&&t.isVirtualScroll.value&&n.emit("row-mounted",{ref:c,data:e.row})};function E(t,o){var l,r=o.cellNode,a=t.col,i=t.colIndex;h(a.ellipsis)?l=a.ellipsis(T,t):"object"===L(a.ellipsis)&&h(a.ellipsis.content)?l=a.ellipsis.content(T,t):n.slots["ellipsis-".concat(a.colKey)]?l=n.slots["ellipsis-".concat(a.colKey)](t):n.slots.ellipsis&&(l=n.slots.ellipsis(t));var u={};"object"===L(a.ellipsis)&&(u="props"in a.ellipsis?a.ellipsis.props:a.ellipsis||void 0);var c,s=e.tableElm,d=0===i?"top-left":"top";return d=i===e.columns.length-1?"top-right":d,v($t,{placement:d,attach:s?function(){return s}:void 0,tooltipContent:l&&function(){return l},tooltipProps:u,overlayClassName:e.ellipsisOverlayClassName,classPrefix:e.classPrefix},"function"==typeof(c=r)||"[object Object]"===Object.prototype.toString.call(c)&&!B(c)?r:{default:function(){return[r]}})}return u((function(){C((function(){D()}))})),I((function(){C((function(){D()}))})),function(){var t,o=e.columns,l=e.skipSpansMap,r=e.row,a=e.dataLength,i=e.rowAndColFixedPosition,u=null==o?void 0:o.map((function(t,u){var c={},s={row:r,col:t,rowIndex:e.rowIndex,colIndex:u},g=null;if(e.skipSpansMap.size){var m,y,C=Kn(r,e.rowKey,t.colKey,u);if((null===(m=g=l.get(C)||{})||void 0===m?void 0:m.rowspan)>1&&(c.rowspan=g.rowspan),(null===(y=g)||void 0===y?void 0:y.colspan)>1&&(c.colspan=g.colspan),g.skipped)return null}return function(t,o){var l=t.col,r=t.colIndex,a=t.rowIndex,i=o.cellSpans,u=o.dataLength,c=o.rowAndColFixedPosition,s=Bn(t,n.slots,{cellEmptyContent:o.cellEmptyContent,pagination:e.pagination}),g=xn(l,r,c,p),m=jn(l.className,kn(kn({},t),{},{type:"td"})),y=[g.classes,m,j(j(j(j(j({},d,l.ellipsis),f.tdLastRow,a+i.rowspan===u),f.tdFirstCol,0===r&&e.rowspanAndColspan),b[l.align],l.align&&"left"!==l.align),w.handle,"drag"===l.colKey)],C=h(l.attrs)?l.attrs(kn(kn({},t),{},{type:"td"})):l.attrs,x=kn(kn({},C),i);return v("td",ne({key:l.colKey||r,class:y,style:g.style},x,{onClick:function(n){var o,r=kn(kn({},t),{},{e:n});l.stopPropagation&&n.stopPropagation(),null===(o=e.onCellClick)||void 0===o||o.call(e,r)}}),[l.ellipsis?E(t,{cellNode:s}):s])}(s,{dataLength:a,rowAndColFixedPosition:i,columnLength:o.length,cellSpans:c,cellEmptyContent:e.cellEmptyContent})}));return v("tr",ne({ref:c},y.value,{style:null===(t=m.value)||void 0===t?void 0:t.style,class:x.value},function(t,n){var o={};return Mn.forEach((function(l){o["on".concat(ie(l))]=function(o){var r,a={e:o,row:t,index:n};null===(r=e["onRow".concat(ie(l))])||void 0===r||r.call(e,a)}})),o}(r,e.rowIndex)),[S.value?[v("td",{style:{height:"".concat(R.value,"px"),border:"none"}},null)]:u])}}}); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function Ln(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function zn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ln(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ln(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Wn=["bordered","rowKey","rowClassName","rowAttributes","loading","empty","fixedRows","firstFullRow","lastFullRow","rowspanAndColspan","scroll","cellEmptyContent","pagination","attach","onCellClick","onPageChange","onRowClick","onRowDblclick","onRowMouseover","onRowMousedown","onRowMouseenter","onRowMouseleave","onRowMouseup","onScroll","onScrollX","onScrollY"],Hn=e({name:"TBody",props:zn({classPrefix:String,data:Array,columns:Array,ellipsisOverlayClassName:String,rowAndColFixedPosition:Map,showColumnShadow:Object,tableElm:{},tableWidth:Number,isWidthOverflow:Boolean,virtualConfig:Object,tableContentElm:{},handleRowMounted:Function,renderExpandedRow:Function,firstFullRow:[String,Function],lastFullRow:[String,Function],activeRow:[Array],hoverRow:[String,Number]},Ge(Ht,Wn)),setup:function(e){var n=f(),o=V(e),l=o.data,r=o.columns,a=o.rowKey,i=o.rowspanAndColspan,u=te("table",e.locale),c=u.t,s=u.globalConfig,d=qt(),v=d.tableFullRowClasses,p=d.tableBaseClass,h=_n(l,r,a,i).skipSpansMap;return{t:c,globalConfig:s,renderTNode:n,tableFullRowClasses:v,tbodyClasses:t((function(){return[p.body]})),tableBaseClass:p,skipSpansMap:h}},render:function(){var e,t,n,o,l=this,r=function(e,t){var n=ue(t),o=l.renderTNode(n);if(["",null,void 0,!1].includes(o))return null;var r=l.isWidthOverflow&&l.columns.find((function(e){return"left"===e.fixed})),a=[l.tableFullRowClasses.base,l.tableFullRowClasses[n]],i=l.bordered?l.tableWidth-2:l.tableWidth;return v("tr",{class:a,key:"key-full-row-".concat(t)},[v("td",{colspan:e},[v("div",{class:j({},l.tableFullRowClasses.innerFullRow,r),style:r?{width:"".concat(i,"px")}:{}},[v("div",{class:l.tableFullRowClasses.innerFullElement},[o])])])])},a=this.columns.length,i=null===(e=this.data)||void 0===e?void 0:e.length,u=[],c=["classPrefix","ellipsisOverlayClassName","rowAndColFixedPosition","scroll","tableElm","tableContentElm","pagination","attach"],s=this.virtualConfig.isVirtualScroll.value?this.virtualConfig.visibleData.value:this.data;null==s||s.forEach((function(e,t){var n,o=l.rowKey||"id",r=G(e,o),a=zn(zn({},Ge(l.$props,Fn)),{},{rowKey:o,row:e,columns:l.columns,rowIndex:e.VIRTUAL_SCROLL_INDEX||t,dataLength:i,skipSpansMap:l.skipSpansMap,virtualConfig:l.virtualConfig,active:null===(n=l.activeRow)||void 0===n?void 0:n.includes(r),isHover:l.hoverRow===r},Ge(l.$props,c));l.onCellClick&&(a.onCellClick=l.onCellClick);var s=v(Nn,ne({key:G(e,l.rowKey||"id")||t},a,{onRowMounted:l.handleRowMounted}),l.$slots);if(u.push(s),l.renderExpandedRow){var d={row:e,index:t,columns:l.columns,tableWidth:l.tableWidth,isWidthOverflow:l.isWidthOverflow},f=l.renderExpandedRow(d);f&&u.push(f)}}));var d,f,p=[r(a,"first-full-row")].concat(u,[r(a,"last-full-row")]),h=!(null!==(t=this.data)&&void 0!==t&&t.length||this.loading||this.firstFullRow||this.lastFullRow),g="translateY(".concat(null===(n=this.virtualConfig)||void 0===n?void 0:n.translateY.value,"px)"),b=null!==(o=this.virtualConfig)&&void 0!==o&&o.isVirtualScroll.value?{transform:g,"-ms-transform":g,"-moz-transform":g,"-webkit-transform":g}:void 0;return v("tbody",{class:this.tbodyClasses,style:zn({},b)},[h?(d=this.columns,f=l.bordered?l.tableWidth-2:l.tableWidth,v("tr",{class:[l.tableBaseClass.emptyRow,j({},l.tableFullRowClasses.base,l.isWidthOverflow)]},[v("td",{colspan:d.length},[v("div",{class:[l.tableBaseClass.empty,j({},l.tableFullRowClasses.innerFullRow,l.isWidthOverflow)],style:l.isWidthOverflow?{width:"".concat(f,"px")}:{}},[l.renderTNode("empty")||l.t(l.globalConfig.empty)])])])):p])}}); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function Vn(e){return e?isNaN(Number(e))?e:"".concat(e,"px"):e}function Xn(e){var n=V(e),o=n.size,l=n.bordered,r=n.stripe,a=n.hover,i=n.verticalAlign,u=n.height,c=n.maxHeight,s=n.tableContentWidth,d=qt(),v=d.tableBaseClass,f=d.tableAlignClasses,p=at().sizeClassNames,h=te("table",e.locale).globalConfig,g=t((function(){var e;return null!==(e=o.value)&&void 0!==e?e:h.value.size})),b=t((function(){return[v.table,j(j(j(j(j(j(j(j({},p[g.value],"medium"!==g.value),v.bordered,l.value),v.striped,r.value),v.hover,a.value),v.loading,e.loading),v.affixedHeader,e.headerAffixedTop),v.rowspanAndColspan,e.rowspanAndColspan),f[i.value],"middle"!==i.value)]})),w=t((function(){return{height:Vn(u.value),maxHeight:Vn(c.value)}})),m=t((function(){return{width:Vn(s.value)}}));return{tableClasses:b,sizeClassNames:p,tableElementStyles:m,tableContentStyles:w}} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function Yn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function qn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Yn(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Un=e({name:"THead",props:{classPrefix:String,ellipsisOverlayClassName:String,isFixedHeader:Boolean,thDraggable:Boolean,maxHeight:[String,Number],height:[String,Number],rowAndColFixedPosition:Map,thWidthList:Object,bordered:Boolean,isMultipleHeader:Boolean,resizable:Boolean,attach:[String,Function],spansAndLeafNodes:Object,thList:Array,columnResizeParams:Object,showColumnShadow:Object},setup:function(e,n){var o=n.slots,l=a(),r=qt(),i=r.tableHeaderClasses,u=r.tableBaseClass,c=t((function(){return[i.header,j(j(j({},i.fixed,Boolean(e.maxHeight||e.height)),u.bordered,e.bordered&&e.isMultipleHeader),i.multipleHeader,e.isMultipleHeader)]})),s=t((function(){var t={},n=function(e){for(var o=0,l=e.length;o<l;o++){var r=e[o];if(r.colspan>1)for(var a=o+1;a<o+r.colspan;a++)e[a]&&(t[e[a].colKey]=!0);r.children&&n(r.children)}},o=e.thList[0];return n(o),t}));return qn(qn({},r),{},{colspanSkipMap:s,theadClasses:c,theadRef:l,slots:o,getTableNode:function(t){for(var n=t;n;){var o;if(null!==(o=n=n.parentNode)&&void 0!==o&&null!==(o=o.classList)&&void 0!==o&&o.contains("".concat(e.classPrefix,"-table")))break}return n}})},render:function(){var e,t,n,o,l=this;return v("thead",{ref:"theadRef",class:this.theadClasses},[(e=this.rowAndColFixedPosition,t=this.thWidthList,n=new Map,o=l.spansAndLeafNodes.rowspanAndColspanMap,l.thList.map((function(r,a){var i=r.map((function(r,i){var u;if(l.colspanSkipMap[r.colKey])return null;var c=o.get(r);if(0===i&&c.rowspan>1)for(var s=a+1;s<a+c.rowspan;s++)n.set(l.thList[s][0],!0);var d,f=xn(r,i,e,l.tableColFixedClasses),p={col:r,colIndex:i,row:{},rowIndex:-1},g=jn(r.className,qn(qn({},p),{},{type:"th"})),b=jn(r.thClassName,qn(qn({},p),{},{type:"th"})),w=l.showColumnShadow.left&&"left"===r.fixed,m=l.showColumnShadow.right&&"right"===r.fixed,y=l.thDraggable&&!(w||m),C=[f.classes,g,b,j(j(j(j({},l.tableHeaderClasses.thBordered,n.get(r)),"".concat(l.classPrefix,"-table__th-").concat(r.colKey),r.colKey),l.tdAlignClasses[r.align],r.align&&"left"!==r.align),l.tableDraggableClasses.dragSortTh,y)],x=null!==(u=r.children)&&void 0!==u&&u.length||null==t||!t[r.colKey]?void 0:"".concat(null==t?void 0:t[r.colKey],"px"),O=qn(qn({},f.style||{}),{},{width:x}),S=Zt(l.slots,r,i),R=l.resizable||!y?{onMousedown:function(e){var t,n;if(l.resizable&&(null===(t=l.columnResizeParams)||void 0===t||null===(n=t.onColumnMousedown)||void 0===n||n.call(t,e,r,i)),!y)var o=setTimeout((function(){var e;null===(e=l.theadRef.querySelectorAll("th")[i])||void 0===e||e.removeAttribute("draggable"),clearTimeout(o)}),10)},onMousemove:function(e){var t,n;l.resizable&&(null===(t=l.columnResizeParams)||void 0===t||null===(n=t.onColumnMouseover)||void 0===n||n.call(t,e,r))}}:{},D=h(r.ellipsisTitle)?r.ellipsisTitle(T,{col:r,colIndex:i}):void 0,E=void 0!==r.ellipsisTitle?Boolean(r.ellipsisTitle):Boolean(r.ellipsis),P=(h(r.attrs)?r.attrs(qn(qn({},p),{},{type:"th"})):r.attrs)||{};return r.colspan>1&&(P.colspan=r.colspan),v("th",ne({key:r.colKey,"data-colkey":r.colKey,class:C,style:O},P,c,R),[v("div",{class:l.tableBaseClass.thCellInner},[E?v($t,{placement:"bottom",attach:l.attach||(l.theadRef?function(){return l.getTableNode(l.theadRef)}:void 0),tooltipContent:D&&function(){return D},tooltipProps:"object"===L(r.ellipsisTitle)?r.ellipsisTitle:void 0,overlayClassName:l.ellipsisOverlayClassName,classPrefix:l.classPrefix},(d=S,"function"==typeof d||"[object Object]"===Object.prototype.toString.call(d)&&!B(d)?S:{default:function(){return[S]}})):S])])}));return v("tr",{key:a},[i])})))])}}); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function $n(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Gn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$n(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$n(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Jn=e({name:"TFoot",props:{rowKey:String,isFixedHeader:Boolean,rowAndColFixedPosition:Map,footData:Array,columns:Array,rowAttributes:[Array,Object,Function],rowClassName:[Array,String,Object,Function],thWidthList:[Object],footerSummary:[String,Function],rowspanAndColspanInFooter:Function,virtualScroll:Boolean},setup:function(e,t){var n=f(),o=qt(),l=V(e);return Gn(Gn({skipSpansMap:_n(l.footData,l.columns,l.rowKey,l.rowspanAndColspanInFooter).skipSpansMap},o),{},{renderTFootCell:function(e){var n=e.col,o=e.row;return h(n.foot)?n.foot(T,e):z(n.foot)&&t.slots[n.foot]?t.slots[n.foot](e)||n.foot:n.foot||G(o,n.colKey)},renderTNode:n})},render:function(){var e,t=this;if(!this.columns)return null;var n=[this.tableFooterClasses.footer,j({},this.tableFooterClasses.fixed,this.isFixedHeader)],o=null===(e=this.footData)||void 0===e?void 0:e.map((function(e,n){var o=En(t.rowAttributes,{row:e,rowIndex:n,type:"foot"}),l=Pn(t.rowClassName,{row:e,rowIndex:n,type:"foot"},t.rowKey||"id");return v("tr",ne(o,{key:n,class:l}),[t.columns.map((function(o,l){var r,a={},i=null;if(t.skipSpansMap.size){var u,c,s=Kn(e,t.rowKey,o.colKey,l);if((null===(u=i=t.skipSpansMap.get(s)||{})||void 0===u?void 0:u.rowspan)>1&&(a.rowspan=i.rowspan),(null===(c=i)||void 0===c?void 0:c.colspan)>1&&(a.colspan=i.colspan),i.skipped)return null}var d=xn(o,l,t.rowAndColFixedPosition,t.tableColFixedClasses),f=Gn({},d.style);return null!==(r=t.thWidthList)&&void 0!==r&&r[o.colKey]&&(f.width="".concat(t.thWidthList[o.colKey],"px")),v("td",ne(Gn({key:o.colKey},a),{class:d.classes,style:f}),[t.renderTFootCell({row:e,rowIndex:n,col:o,colIndex:l})])}))])})),l=this.renderTNode("footerSummary");return l||this.footData&&this.footData.length?v("tfoot",{ref:"tFooterRef",class:n,style:{visibility:this.virtualScroll?"hidden":"visible"}},[l&&v("tr",{class:this.tableFullRowClasses.base},[v("td",{colspan:this.columns.length},[v("div",{class:this.tableFullRowClasses.innerFullElement},[l])])]),o]):null}}); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function Zn(e,t){var n=V(e),o=n.data,l=n.activeRowType,r=n.activeRowKeys,i=n.defaultActiveRowKeys,u=n.disableSpaceInactiveRow,c=a(-1),s=a(!1),d=a(!1),v=a(-1),f=ce(r,i.value,e.onActiveChange,"activeRowKeys"),p=N(f,2),h=p[0],b=p[1],w=function(){for(var t=[],n=0,l=o.value.length;n<l;n++){var r=o.value[n],a=G(r,e.rowKey);h.value.includes(a)&&t.push({row:r,rowIndex:n})}return t},m=function(t,n){if(l.value){var r=t.row,a=t.index,i=G(r,e.rowKey);s.value?(c.value=a,function(t){document.getSelection().removeAllRanges();for(var n=t.row,l=c.value,r=Math.min(v.value,l),a=Math.max(v.value,l),i=[],u=r;u<=a;u++)i.push({row:o.value[u],rowIndex:u});var s=i.map((function(t){return G(t.row,e.rowKey)}));b(s,{activeRowList:i,type:"active",currentRowData:n})}(t),d.value=!0):h.value.includes(i)&&"active"!==(null==n?void 0:n.action)?u.value||(!function(t){var n=t.row,r=t.index,a=G(n,e.rowKey);if("single"===l.value){var i=h.value.length>1?[a]:[];b(i,{type:"inactive",activeRowList:[{row:n,rowIndex:r}],currentRowData:n})}else if("multiple"===l.value){for(var u=h.value.filter((function(e){return e!==a})),c=[],s=0,d=o.value.length;s<d;s++){var v=o.value[s];u.includes(G(v,e.rowKey))&&c.push({row:v,rowIndex:s})}b(u,{type:"inactive",activeRowList:c,currentRowData:n})}}(t),c.value=a):(!function(t){var n=t.row,r=G(n,e.rowKey);if("single"===l.value)b([r],{activeRowList:[{row:n,rowIndex:t.index}],currentRowData:n,type:"active"});else{for(var a=h.value.concat(r),i=[],u=0,c=o.value.length;u<c;u++){var s=o.value[u];a.includes(G(s,e.rowKey))&&i.push({row:s,rowIndex:u})}b(a,{activeRowList:i,currentRowData:n,type:"active"})}}(t),c.value=a)}},C=function(){d.value=!1},x=function(t){var n,r,a,i,f,p=t.code||(null===(n=t.key)||void 0===n?void 0:n.trim());if(se.test(p)){t.preventDefault();var h=Math.min(o.value.length-1,c.value+1);"single"===l.value?m({row:o.value[h],index:h,e:t},{action:"active"}):c.value=h}else if(de.test(p)){t.preventDefault();var g=Math.max(0,c.value-1);"single"===l.value?m({row:o.value[g],index:g,e:t},{action:"active"}):c.value=g}else if(ve.test(p)){t.preventDefault();var y,x=c.value;if(d.value)null===(y=e.onActiveRowAction)||void 0===y||y.call(e,{action:"shift-area-selection",activeRowList:w()});else if(u.value){var O;null===(O=e.onActiveRowAction)||void 0===O||O.call(e,{action:"space-one-selection",activeRowList:w()})}else m({row:o.value[x],index:x,e:t})}else fe.test(p)?(s.value=!0,v.value=c.value):pe.test(p)||he.test(p)?(b([],{activeRowList:[],currentRowData:void 0,type:"inactive"}),null===(f=e.onActiveRowAction)||void 0===f||f.call(e,{action:"clear",activeRowList:[]}),c.value=-1,C()):ge.test(p)&&(a=o.value.map((function(t){return G(t,e.rowKey)})),i=o.value.map((function(e,t){return{row:e,rowIndex:t}})),b(a,{activeRowList:i,currentRowData:void 0,type:"active"}),null===(r=e.onActiveRowAction)||void 0===r||r.call(e,{action:"select-all",activeRowList:i}),c.value=-1);ve.test(p)||C()},O=function(e){var t,n=e.code||(null===(t=e.key)||void 0===t?void 0:t.trim());fe.test(n)&&(s.value=!1)};return{tActiveRow:h,onHighlightRow:m,addHighlightKeyboardListener:function(){y(t.value,"keydown",x),y(t.value,"keyup",O)},removeHighlightKeyboardListener:function(){g(t.value,"keydown",x),g(t.value,"keyup",O)}}} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function Qn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function eo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qn(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function to(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!B(e)}var no=e({name:"TBaseTable",props:eo(eo({},Ht),{},{renderExpandedRow:Function,onLeafColumnsChange:Function,thDraggable:Boolean}),emits:["show-element-change"],setup:function(e,n){var o=V(e).lazyLoad,l=f(),r=a(),c=a(),s=a(),v=a(),p=a(0),h=qt(),b=h.classPrefix,w=h.virtualScrollClasses,m=h.tableLayoutClasses,x=h.tableBaseClass,O=h.tableColFixedClasses,S=Xn(e),R=S.tableClasses,D=S.sizeClassNames,E=S.tableContentStyles,P=S.tableElementStyles,T=te("table",e.locale).globalConfig,A=Qt(e),K=A.isMultipleHeader,_=A.spansAndLeafNodes,I=A.thList,k=t((function(){var t;return(null===(t=_.value)||void 0===t?void 0:t.leafColumns)||e.columns})),F=t((function(){var t;return null!==(t=e.size)&&void 0!==t?t:T.value.size})),M= +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function(e,t){var n=a(),o=a(!0),l=function(){if(t.value&&e.value&&!n.value){o.value=!1;var l=re(e.value,null,(function(){o.value=!0}),10);n.value=l}};return u(l),t.value&&i([t,e],l),d((function(){var o,l;t.value&&(null===(o=n.value)||void 0===o||null===(l=o.unobserve)||void 0===l||l.call(o,e.value))})),{showElement:o}}(r,o),B=M.showElement,L=a(),z=a(),W=a(),H=a(),X=On(e,0,k,{paginationAffixRef:L,horizontalScrollAffixRef:z,headerTopAffixRef:W,footerBottomAffixRef:H}),Y=X.scrollbarWidth,q=X.virtualScrollHeaderPos,U=X.tableWidth,J=X.tableElmWidth,Z=X.tableContentRef,Q=X.isFixedHeader,ee=X.isWidthOverflow,ne=X.isFixedColumn,oe=X.thWidthList,le=X.showColumnShadow,ae=X.rowAndColFixedPosition,ie=X.setData,ue=X.refreshTable,ce=X.setTableElmWidth,fe=X.emitScrollEvent,ye=X.setUseFixedTableElmRef,Ce=X.updateColumnFixedShadow,xe=X.getThWidthList,Oe=X.updateThWidthList,Se=X.addTableResizeObserver,Re=X.updateTableAfterColumnResize,De=Dn(e),Ee=De.affixHeaderRef,Pe=De.affixFooterRef,je=De.horizontalScrollbarRef,Te=De.paginationRef,Ae=De.showAffixHeader,Ke=De.showAffixFooter,_e=De.showAffixPagination,Ie=De.onHorizontalScroll,ke=De.setTableContentRef,Fe=De.updateAffixHeaderOrFooter,Me=Rn(e,n),Be=Me.dataSource,Ne=Me.innerPagination,Le=Me.isPaginateData,ze=Me.renderPagination,We=tn({isWidthOverflow:ee,tableContentRef:Z,showColumnShadow:le,getThWidthList:xe,updateThWidthList:Oe,setTableElmWidth:ce,updateTableAfterColumnResize:Re,onColumnResizeChange:e.onColumnResizeChange}),He=We.resizeLineRef,Ve=We.resizeLineStyle,Xe=We.setEffectColMap,Ye=t((function(){return[R.value,j(j(j(j(j(j(j(j({},x.headerFixed,Q.value),x.columnFixed,ne.value),x.widthOverflow,ee.value),x.multipleHeader,K.value),O.leftShadow,le.left),O.rightShadow,le.right),x.columnResizableTable,e.resizable),"".concat(b,"-table__row--active-").concat(e.activeRowType),e.activeRowType)]})),qe=t((function(){return[[m[e.tableLayout]]]})),Ue=t((function(){return e.bordered&&Q.value&&(K.value&&ee.value||!K.value)})),$e=t((function(){var t,n;if(!e.bordered)return 0;var o=null===(t=v.value)||void 0===t?void 0:t.getBoundingClientRect(),l=null===(n=Te.value)||void 0===n?void 0:n.getBoundingClientRect();return((null==o?void 0:o.height)||0)+((null==l?void 0:l.height)||0)})),Ge=Zn(e,r),Je=Ge.tActiveRow,Ze=Ge.onHighlightRow,Qe=Ge.addHighlightKeyboardListener,et=Ge.removeHighlightKeyboardListener,tt=function(e,n){var o=V(e),l=o.hover,r=o.data,i=o.activeRowType,u=o.keyboardRowHover,c=o.disableSpaceInactiveRow,s=a(),d=a(-1),v=a(0),f=t((function(){return"single"!==i.value&&("multiple"===i.value||l.value||u.value)})),p=function(t,n){var o=G(t.row,e.rowKey);s.value===o&&"hover"!==(null==n?void 0:n.action)?c.value||(s.value=void 0):s.value=o,d.value=t.index},h=function(t){var n;if(f.value){var o=t.code||(null===(n=t.key)||void 0===n?void 0:n.trim());if(se.test(o)){t.preventDefault();var l=Math.min(r.value.length-1,d.value+1);p({row:r.value[l],index:l,e:t},{action:"hover"})}else if(de.test(o)){t.preventDefault();var a=Math.max(0,d.value-1);p({row:r.value[a],index:a,e:t},{action:"hover"})}else if(ve.test(o)&&"multiple"!==e.activeRowType){var i,u=d.value;p({row:r.value[u],index:u,e:t}),e.activeRowType||null===(i=e.onActiveRowAction)||void 0===i||i.call(e,{action:"space-one-selection",activeRowList:[{row:r.value[u],rowIndex:u}]})}else if(pe.test(o)&&!e.activeRowType){var c;s.value=void 0,null===(c=e.onActiveRowAction)||void 0===c||c.call(e,{action:"clear",activeRowList:[]})}else if(ge.test(o)&&!e.activeRowType){var h;null===(h=e.onActiveRowAction)||void 0===h||h.call(e,{action:"select-all",activeRowList:[]})}else if(he.test(o)&&!e.activeRowType){var g;null===(g=e.onActiveRowAction)||void 0===g||g.call(e,{action:"clear",activeRowList:[]})}be.test(o)||we.test(o)?v.value=void 0:v.value=0}};return{hoverRow:s,needKeyboardRowHover:f,clearHoverRow:function(){s.value=void 0,d.value=-1},addRowHoverKeyboardListener:function(){y(n.value,"keydown",h)},removeRowHoverKeyboardListener:function(){g(n.value,"keydown",h)},tableRefTabIndex:v}}(e,r),nt=tt.hoverRow,ot=tt.needKeyboardRowHover,lt=tt.clearHoverRow,rt=tt.addRowHoverKeyboardListener,at=tt.removeRowHoverKeyboardListener,it=tt.tableRefTabIndex;i(c,(function(){ye(c.value)})),i((function(){return[e.data,Be]}),(function(){ie(Le.value?Be.value:e.data)})),i(_,(function(){var t;null===(t=e.onLeafColumnsChange)||void 0===t||t.call(e,_.value.leafColumns),Xe(_.value.leafColumns,null)}),{immediate:!0});var ut=me((function(){Oe(xe("calculate"))})),ct=t((function(){return{data:e.data,scroll:eo(eo({},e.scroll),{},{fixedRows:e.fixedRows})}})),dt=st(Z,ct),vt=-1,ft=function(){var e;c.value&&(p.value=null===(e=c.value.querySelector("tfoot"))||void 0===e?void 0:e.getBoundingClientRect().height)};i(Z,(function(){ke(Z.value),"auto"===e.tableLayout&&ut()})),i((function(){return[c.value,e.footData,e.footerSummary,e.columns]}),(function(){var e=setTimeout((function(){ft(),clearTimeout(e)}),0)})),i(r,(function(e){Se(e)})),u((function(){ft(),ke(Z.value),Se(r.value)}));i([B],(function(e){var t=N(e,1)[0];n.emit("show-element-change",t)}),{immediate:!0});var pt=t((function(){return Le.value?Be.value:e.data}));return{thList:I,classPrefix:b,innerPagination:Ne,globalConfig:T,tableFootHeight:p,virtualScrollHeaderPos:q,tableSize:F,tableWidth:U,tableElmWidth:J,tableRef:r,tableElmRef:c,sizeClassNames:D,tableBaseClass:x,spansAndLeafNodes:_,dynamicBaseTableClasses:Ye,tableContentStyles:E,tableElementStyles:P,dividerBottom:$e,virtualScrollClasses:w,tableLayoutClasses:m,tableElmClasses:qe,tableContentRef:Z,isFixedHeader:Q,isWidthOverflow:ee,isFixedColumn:ne,rowAndColFixedPosition:ae,showColumnShadow:le,thWidthList:oe,isPaginateData:Le,dataSource:Be,affixHeaderRef:Ee,affixFooterRef:Pe,bottomContentRef:v,paginationRef:Te,showAffixHeader:Ae,showAffixFooter:Ke,scrollbarWidth:Y,isMultipleHeader:K,showRightDivider:Ue,resizeLineRef:He,resizeLineStyle:Ve,columnResizeParams:We,horizontalScrollbarRef:je,tableBodyRef:s,virtualConfig:dt,showAffixPagination:_e,tActiveRow:Je,hoverRow:nt,showElement:B,scrollToElement:function(t){var n=t.index;if(!n&&0!==n){var o;if(!t.key)return void $.error("Table","scrollToElement: one of `index` or `key` must exist.");(n=null===(o=pt.value)||void 0===o?void 0:o.findIndex((function(n){return G(n,e.rowKey)===t.key})))<0&&$.error("Table","".concat(t.key," does not exist in data, check `rowKey` or `data` please."))}if(dt.isVirtualScroll.value)dt.scrollToElement(eo(eo({},t),{},{index:n+1}));else{var l,r,a=null===(l=s.value)||void 0===l?void 0:l.$el,i=null==a||null===(r=a.children)||void 0===r?void 0:r[n];if(i){var u,c,d=i.offsetTop-Z.value.scrollTop-(null!==(u=t.top)&&void 0!==u?u:0);Z.value.scrollBy({top:d,behavior:null!==(c=t.behavior)&&void 0!==c?c:"auto"})}}},renderPagination:ze,renderTNode:l,onFixedChange:function(){C((function(){Ie(),Fe()}))},onHorizontalScroll:Ie,updateAffixHeaderOrFooter:Fe,onInnerVirtualScroll:function(t){var n=t.target||t.srcElement,o=n.scrollTop;vt!==o?dt.isVirtualScroll.value&&dt.handleScroll():(vt=-1,Ce(n)),vt=o,fe(t),"auto"===e.tableLayout&&ut()},refreshTable:ue,scrollColumnIntoView:function(e){if(Z.value){for(var t=Z.value.querySelector('th[data-colkey="'.concat(e,'"]')),n=Z.value.querySelectorAll("th.t-table__cell--fixed-left"),o=0,l=0,r=n.length;l<r;l++)o+=n[l].getBoundingClientRect().width;var a=t.getBoundingClientRect(),i=Z.value.getBoundingClientRect(),u=a.left-i.left-o;Z.value.scrollTo({left:u,behavior:"smooth"})}},onTableFocus:function(){e.activeRowType&&Qe(),ot.value&&rt()},onTableBlur:function(){e.activeRowType&&et(),ot.value&&at()},onInnerRowClick:function(t){var n;null===(n=e.onRowClick)||void 0===n||n.call(e,t),e.activeRowType&&Ze(t),ot.value&<()},paginationAffixRef:L,horizontalScrollAffixRef:z,headerTopAffixRef:W,footerBottomAffixRef:H,tableRefTabIndex:it}},render:function(){var e,n,o,l,r,i,u,c,s=this;if(!this.showElement)return v("div",{ref:"tableRef"},null);var d=this.rowAndColFixedPosition,f=this.tableLayout,p=this.isPaginateData?this.dataSource:this.data,g=(null===(e=this.spansAndLeafNodes)||void 0===e?void 0:e.leafColumns)||this.columns,b=null!==(n=this.allowResizeColumnWidth)&&void 0!==n?n:this.resizable;b&&"auto"===f&&$.warn("Table","table-layout can not be `auto`, cause you are using column resizable, set `table-layout: fixed` please.");var w="fixed"===f&&this.isWidthOverflow?"100px":void 0,m=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return v("colgroup",null,[g.map((function(t){var n={width:Vn((e||b?s.thWidthList[t.colKey]:void 0)||t.width)||w};return t.minWidth&&(n.minWidth=Vn(t.minWidth)),n.width||t.minWidth||"fixed"!==s.tableLayout||(n.minWidth="80px"),v("col",{key:t.colKey,style:n},null)}))])},y={isFixedHeader:this.isFixedHeader,rowAndColFixedPosition:this.rowAndColFixedPosition,isMultipleHeader:this.isMultipleHeader,bordered:this.bordered,maxHeight:this.maxHeight,height:this.height,spansAndLeafNodes:this.spansAndLeafNodes,thList:this.thList,thWidthList:this.thWidthList,resizable:this.resizable,columnResizeParams:this.columnResizeParams,classPrefix:this.classPrefix,ellipsisOverlayClassName:"medium"!==this.tableSize?this.sizeClassNames[this.tableSize]:"",attach:this.attach,showColumnShadow:this.showColumnShadow,thDraggable:this.thDraggable},C=X()<=11?4:0,x=this.isWidthOverflow?this.scrollbarWidth:0,O=a(((null===(o=this.affixHeaderRef)||void 0===o?void 0:o.getBoundingClientRect().height)||0)-C),S=setTimeout((function(){var e;O.value=((null===(e=s.affixHeaderRef)||void 0===e?void 0:e.getBoundingClientRect().height)||0)-C,clearTimeout(S)}),0),R=t((function(){return O.value-x})),D=Ht.headerAffixedTop?Number(this.showAffixHeader):1,E=t((function(){return{width:"".concat(s.tableWidth,"px"),height:"".concat(R.value,"px"),opacity:D}})),P=this.bordered?1:0,T=Boolean((this.headerAffixedTop||this.virtualConfig.isVirtualScroll.value)&&this.tableWidth)&&v("div",{ref:"affixHeaderRef",style:{width:"".concat(this.tableWidth-P,"px"),opacity:Number(this.showAffixHeader)},class:["scrollbar",j({},this.tableBaseClass.affixedHeaderElm,this.headerAffixedTop||this.virtualConfig.isVirtualScroll.value)]},[v("table",{class:this.tableElmClasses,style:eo(eo({},this.tableElementStyles),{},{width:"".concat(this.tableElmWidth,"px")})},[m(!0),v(Un,y,this.$slots)])]),A=v("div",{class:this.tableBaseClass.affixedHeaderWrap,style:E.value},[T]),K=this.isWidthOverflow?this.scrollbarWidth:0;this.bordered&&(K+=1);var _=Boolean(this.virtualConfig.isVirtualScroll.value||this.footerAffixedBottom),I=(null===(l=this.footData)||void 0===l?void 0:l.length)||this.footerSummary||this.$slots.footerSummary,k=Boolean(_&&I&&this.tableWidth)&&v(Tt,ne({class:this.tableBaseClass.affixedFooterWrap,onFixedChange:this.onFixedChange,offsetBottom:K||0},An(this.footerAffixedBottom),{style:{marginTop:"".concat(-1*((null!==(r=this.tableFootHeight)&&void 0!==r?r:0)+K),"px")},ref:"footerBottomAffixRef"}),{default:function(){return[v("div",{ref:"affixFooterRef",style:{width:"".concat(s.tableWidth-P,"px"),opacity:Number(s.showAffixFooter)},class:["scrollbar",j({},s.tableBaseClass.affixedFooterElm,s.footerAffixedBottom||s.virtualConfig.isVirtualScroll.value)]},[v("table",{class:s.tableElmClasses,style:eo(eo({},s.tableElementStyles),{},{width:"".concat(s.tableElmWidth,"px")})},[m(!0),v(Jn,{rowKey:s.rowKey,isFixedHeader:s.isFixedHeader,rowAndColFixedPosition:d,footData:s.footData,columns:g,rowAttributes:s.rowAttributes,rowClassName:s.rowClassName,thWidthList:s.thWidthList,footerSummary:s.footerSummary,rowspanAndColspanInFooter:s.rowspanAndColspanInFooter},s.$slots)])])]}}),F="translate(0, ".concat(this.virtualConfig.scrollHeight.value+(null!==(i=this.tableFootHeight)&&void 0!==i?i:0)+(null!==(u=O.value)&&void 0!==u?u:0),"px)"),M={transform:F,"-ms-transform":F,"-moz-transform":F,"-webkit-transform":F},B=eo(eo({classPrefix:this.classPrefix,ellipsisOverlayClassName:"medium"!==this.tableSize?this.sizeClassNames[this.tableSize]:"",rowAndColFixedPosition:d,showColumnShadow:this.showColumnShadow,data:p,virtualConfig:this.virtualConfig,columns:this.spansAndLeafNodes.leafColumns,tableElm:this.tableRef,tableWidth:this.tableWidth,isWidthOverflow:this.isWidthOverflow,scroll:this.scroll,cellEmptyContent:this.cellEmptyContent,tableContentElm:this.tableContentRef,handleRowMounted:this.virtualConfig.handleRowMounted,renderExpandedRow:this.renderExpandedRow},Ge(this.$props,Wn)),{},{pagination:this.innerPagination,attach:this.attach,hoverRow:this.hoverRow,activeRow:this.tActiveRow,onRowClick:this.onInnerRowClick}),N=v("div",{ref:"tableContentRef",class:this.tableBaseClass.content,style:this.tableContentStyles,onScroll:this.onInnerVirtualScroll},[this.virtualConfig.isVirtualScroll.value&&v("div",{class:this.virtualScrollClasses.cursor,style:M},null),v("table",{ref:"tableElmRef",class:this.tableElmClasses,style:eo(eo({},this.tableElementStyles),{},{width:this.resizable&&this.isWidthOverflow&&this.tableElmWidth?"".concat(this.tableElmWidth,"px"):this.tableElementStyles.width})},[m(!1),this.showHeader&&v(Un,eo(eo({},y),{},{thWidthList:b?this.thWidthList:{}}),this.$slots),v(Hn,ne({ref:"tableBodyRef"},B),this.$slots),v(Jn,{rowKey:this.rowKey,isFixedHeader:this.isFixedHeader,rowAndColFixedPosition:d,footData:this.footData,columns:g,rowAttributes:this.rowAttributes,rowClassName:this.rowClassName,footerSummary:this.footerSummary,rowspanAndColspanInFooter:this.rowspanAndColspanInFooter,virtualScroll:this.virtualConfig.isVirtualScroll.value},this.$slots)])]),L=h(this.loading)?this.loading:this.$slots.loading,z=void 0!==this.loading&&v(ye,ne({loading:!!this.loading,text:L,attach:this.tableRef?function(){return s.tableRef}:void 0,showOverlay:!0,size:"small"},this.loadingProps),null),W=this.renderTNode("topContent"),H=this.renderTNode("bottomContent"),V=v("div",{ref:"paginationRef",class:this.tableBaseClass.paginationWrap,style:{opacity:Number(this.showAffixPagination)}},[this.renderPagination()]),Y=!!H&&v("div",{ref:"bottomContentRef",class:this.tableBaseClass.bottomContent},[H]);return v("div",{ref:"tableRef",tabindex:this.tableRefTabIndex,class:this.dynamicBaseTableClasses,onFocus:this.onTableFocus,onBlur:this.onTableBlur},[!!W&&v("div",{class:this.tableBaseClass.topContent},[W]),!1===s.showHeader?null:!(!s.virtualConfig.isVirtualScroll.value&&!s.headerAffixedTop)&&(s.headerAffixedTop?v(Tt,ne({offsetTop:0},An(s.headerAffixedTop),{onFixedChange:s.onFixedChange,ref:"headerTopAffixRef"}),to(A)?A:{default:function(){return[A]}}):s.isFixedHeader&&A),N,k,z,Y,this.showRightDivider&&v("div",{class:this.tableBaseClass.scrollbarDivider,style:{right:"".concat(this.scrollbarWidth,"px"),bottom:this.dividerBottom?"".concat(this.dividerBottom,"px"):void 0,height:"".concat(null===(c=this.tableContentRef)||void 0===c?void 0:c.getBoundingClientRect().height,"px")}},null),this.horizontalScrollAffixedBottom&&v(Tt,ne({offsetBottom:0},An(s.horizontalScrollAffixedBottom),{style:{marginTop:"-".concat(2*s.scrollbarWidth,"px")},horizontalScrollAffixedBottom:!0,ref:"horizontalScrollAffixRef"}),{default:function(){return[v("div",{ref:"horizontalScrollbarRef",class:["scrollbar",s.tableBaseClass.obviousScrollbar],style:{width:"".concat(s.tableWidth,"px"),overflow:"auto",opacity:Number(s.showAffixFooter)}},[v("div",{style:{width:"".concat(s.tableElmWidth,"px"),height:"5px"}},null)])]}}),this.paginationAffixedBottom?v(Tt,ne({offsetBottom:0},An(this.paginationAffixedBottom),{ref:"paginationAffixRef"}),to(V)?V:{default:function(){return[V]}}):V,v("div",{ref:"resizeLineRef",class:this.tableBaseClass.resizeLine,style:this.resizeLineStyle},null)])}}),oo={asyncLoading:{type:[String,Function]},columnController:{type:Object},columnControllerVisible:{type:Boolean,default:void 0},defaultColumnControllerVisible:{type:Boolean,default:void 0},columns:{type:Array,default:function(){return[]}},displayColumns:{type:Array,default:void 0},defaultDisplayColumns:{type:Array},dragSort:{type:String,validator:function(e){return!e||["row","row-handler","col","row-handler-col","drag-col"].includes(e)}},dragSortOptions:{type:Object},editableCellState:{type:Function},editableRowKeys:{type:Array},expandIcon:{type:[Boolean,Function],default:!0},expandOnRowClick:Boolean,expandedRow:{type:[String,Function]},expandedRowKeys:{type:Array,default:void 0},defaultExpandedRowKeys:{type:Array,default:function(){return[]}},filterIcon:{type:Function},filterRow:{type:[String,Function]},filterValue:{type:Object,default:void 0},defaultFilterValue:{type:Object},hideSortTips:Boolean,indeterminateSelectedRowKeys:{type:Array},multipleSort:Boolean,reserveSelectedRowOnPaginate:{type:Boolean,default:!0},rowSelectionAllowUncheck:Boolean,rowSelectionType:{type:String,validator:function(e){return!e||["single","multiple"].includes(e)}},selectOnRowClick:Boolean,selectedRowKeys:{type:Array,default:void 0},defaultSelectedRowKeys:{type:Array,default:function(){return[]}},showSortColumnBgColor:Boolean,sort:{type:[Object,Array],default:void 0},defaultSort:{type:[Object,Array]},sortIcon:{type:Function},sortOnRowDraggable:Boolean,onAsyncLoadingClick:Function,onCellClick:Function,onChange:Function,onColumnChange:Function,onColumnControllerVisibleChange:Function,onDataChange:Function,onDisplayColumnsChange:Function,onDragSort:Function,onExpandChange:Function,onFilterChange:Function,onRowEdit:Function,onRowValidate:Function,onSelectChange:Function,onSortChange:Function,onValidate:Function}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function lo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function ro(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lo(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ao=e({name:"ColumnCheckboxGroup",props:{checkboxProps:Object,options:{type:Array,default:function(){return[]}},label:String,uniqueKey:String,value:Array,onChange:Function},setup:function(e){var n=V(e),o=n.checkboxProps,l=n.value,a=n.options,i=r(),u=t((function(){var e=[];return a.value.forEach((function(t){if("object"===L(t)){if(t.disabled)return;t.value?e.push(t.value):"string"==typeof t.label&&e.push(t.label)}else e.push(t)})),e})),c=t((function(){return tt(u.value,l.value)})),s=t((function(){var e=c.value.length;return Boolean(e&&u.value.length===e)})),d=t((function(){var e=c.value.length;return Boolean(e<u.value.length&&e)})),f=function(t,n){var o={e:n.e,type:"check",current:void 0,option:void 0};if(t){var r,a=K(new Set(l.value.concat(u.value)));null===(r=e.onChange)||void 0===r||r.call(e,a,o)}else{var i,c=l.value.filter((function(e){return!u.value.includes(e)}));null===(i=e.onChange)||void 0===i||i.call(e,c,ro(ro({},o),{},{type:"uncheck"}))}},p=function(t,n){var o;null===(o=e.onChange)||void 0===o||o.call(e,t,n)},h=t((function(){return["".concat(i.value,"-table__column-controller-item"),j({},"".concat(i.value,"-table__").concat(e.uniqueKey),e.uniqueKey)]}));return function(){return v("div",{class:h.value},[v("div",{class:"".concat(i.value,"-table__column-controller-block")},[v(nt,{indeterminate:d.value,checked:s.value,onChange:f,disabled:!u.value.length},{default:function(){return[e.label]}})]),v("div",{class:"".concat(i.value,"-table__column-controller-block")},[v(ot,ne({options:a.value},o.value,{modelValue:l.value,onChange:p}),null)])])}}}); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function io(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function uo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?io(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):io(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function co(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Set,n=0,o=e.length;n<o;n++){var l,r=e[n];null!==(l=r.children)&&void 0!==l&&l.length?co(r.children,t):r.colKey&&t.add(r.colKey)}return t}function so(e,n){var o=te("table",e.locale),l=o.classPrefix,r=o.globalConfig,u=Ce({SettingIcon:xe}).SettingIcon,c=V(e),s=c.columns,d=c.columnController,p=c.displayColumns,g=c.columnControllerVisible,b=a(null),w=f(),m=t((function(){var e,t=((null===(e=d.value)||void 0===e?void 0:e.fields)||K(co(s.value))).filter((function(e){return e}));return new Set(t)})),y=K(co(s.value)),C=ce(p,e.defaultDisplayColumns||y,e.onDisplayColumnsChange,"displayColumns"),x=N(C,2),O=x[0],S=x[1],R=a(p.value||e.defaultDisplayColumns||y),D=t((function(){var e;return null!==(e=d.value)&&void 0!==e&&null!==(e=e.groupColumns)&&void 0!==e&&e.length?function(e){var t,n=null===(t=d.value)||void 0===t?void 0:t.groupColumns;if(null==n||!n.length)return[];var o=[],l=function(e){for(var t=0,r=e.length;t<r;t++){for(var a,i=e[t],u=E(i,t),c=0,s=n.length;c<s;c++){var d;n[c].columns.includes(i.colKey)&&(null!==(d=o[c])&&void 0!==d&&null!==(d=d.options)&&void 0!==d&&d.length?o[c].options.push(u):o[c]=uo(uo({},n[c]),{},{options:[u]}))}null!==(a=i.children)&&void 0!==a&&a.length&&l(i.children)}};return l(e),o}(s.value):[{label:r.value.selectAllText,options:P(s.value)}]}));function E(e,t){return{label:function(){return Zt(n.slots,e,t)},value:e.colKey,disabled:!m.value.has(e.colKey)}}function P(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(null!==(t=d.value)&&void 0!==t&&null!==(t=t.groupColumns)&&void 0!==t&&t.length)return[];for(var o=0,l=e.length;o<l;o++){var r,a=e[o];null!==(r=a.children)&&void 0!==r&&r.length?P(a.children,n):a.colKey&&n.push(E(a,o))}return n}i([p],(function(t){var n=N(t,1)[0];R.value=n||e.defaultDisplayColumns||y}));var A=function(t,n){var o;R.value=t;var l={columns:t,type:n.type,currentColumn:Tn(s.value,String(n.current)),e:n.e};null===(o=e.onColumnChange)||void 0===o||o.call(e,l)},_=function(){var t;b.value?b.value.show():b.value=Wt.confirm(uo({header:r.value.columnConfigTitleText,body:function(){var e,t="fixed-width"===(null===(e=d.value)||void 0===e?void 0:e.displayType)?"fixed":"auto",n=d.value||{},o=n.columnControllerTopContent,a=n.columnControllerBottomContent;return v("div",{class:["".concat(l.value,"-table__column-controller"),"".concat(l.value,"-table__column-controller--").concat(t)]},[v("div",{class:"".concat(l.value,"-table__column-controller-body")},[h(o)?o(T):w("columnControllerTopContent"),r.value.columnConfigDescriptionText&&v("p",{class:"".concat(l.value,"-table__column-controller-desc")},[r.value.columnConfigDescriptionText]),D.value.map((function(e,t){var n,o,l=null!==(n=d.value)&&void 0!==n&&null!==(n=n.groupColumns)&&void 0!==n&&n.length?String(e.value||t):void 0;return v(ao,{key:e.value||t,uniqueKey:l,value:R.value,label:e.label,options:e.options,onChange:A,checkboxProps:null===(o=d.value)||void 0===o?void 0:o.checkboxProps},null)})),h(a)?a(T):w("columnControllerBottomContent")])])},confirmBtn:r.value.confirmText,cancelBtn:r.value.cancelText,width:612,onConfirm:function(){var t;(S(K(R.value)),void 0===g.value)?b.value.hide():(null===(t=e.onColumnControllerVisibleChange)||void 0===t||t.call(e,!1,{trigger:"confirm"}),n.emit("update:columnControllerVisible",!1))},onClose:function(){var t;void 0===g.value?b.value.hide():(null===(t=e.onColumnControllerVisibleChange)||void 0===t||t.call(e,!1,{trigger:"cancel"}),n.emit("update:columnControllerVisible",!1))}},(null===(t=d.value)||void 0===t?void 0:t.dialogProps)||{}))};i([g],(function(e){var t=N(e,1)[0];void 0!==t&&(b.value?t?b.value.show():b.value.hide():t&&_())}),{immediate:!0});return{tDisplayColumns:O,columnCheckboxKeys:R,renderColumnController:function(){var t,n=!(!d.value||!Object.keys(d.value).length),o=n?d.value.placement||"top-right":"";if(n&&d.value.hideTriggerButton)return null;var a=["".concat(l.value,"-table__column-controller-trigger"),j({},"".concat(l.value,"-align-").concat(o),!!o)];return v("div",{class:a},[v(Oe,ne({theme:"default",variant:"outline",onClick:_,content:r.value.columnConfigButtonText},null===(t=e.columnController)||void 0===t?void 0:t.buttonProps),{icon:function(){return v(u,null,null)}})])}}} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function vo(e,t,n){if(!e)return!1;var o=h(e.disabled)?e.disabled({row:t,rowIndex:n}):e.disabled;return e.checkProps&&(h(e.checkProps)?o=o||e.checkProps({row:t,rowIndex:n}).disabled:"object"===e.checkProps&&(o=o||e.checkProps.disabled)),!!o}function fo(e,t){for(var n=0,o=e.length;n<o;n++){var l;if(e[n].colKey===t)return e[n];if(null!==(l=e[n].children)&&void 0!==l&&l.length){var r=fo(e[n].children,t);if(r)return r}}return null}function po(e,t){for(var n=0,o=e.length;n<o;n++){var l;if(e[n].colKey===t)return n;if(null!==(l=e[n].children)&&void 0!==l&&l.length)if(fo(e[n].children,t))return n}return-1}function ho(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=0,o=e.length;n<o;n++){var l,r=e[n];r.filter&&"resetValue"in r.filter&&(t[r.colKey]=r.filter.resetValue),null!==(l=r.children)&&void 0!==l&&l.length&&ho(r.children,t)}return t} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function go(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function bo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?go(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):go(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function wo(e,n){var o=V(e),l=o.selectedRowKeys,r=o.columns,u=o.rowKey,c=o.data,s=o.reserveSelectedRowOnPaginate,d=a(c.value),f=a(),p=ce(l,e.defaultSelectedRowKeys||[],e.onSelectChange,"selectedRowKeys"),g=N(p,2),b=g[0],w=g[1],m=a(new Map),y=t((function(){return e.columns.find((function(e){var t=e.type;return["multiple","single"].includes(t)}))})),C=t((function(){var t;return e.rowSelectionType||(null===(t=y.value)||void 0===t?void 0:t.type)||"single"})),x=t((function(){return(s.value?c.value:d.value).filter((function(e,t){return!function(e,t){return vo(y.value,e,t)}(e,t)}))})),O=t((function(){return tt(b.value,x.value.map((function(t){return G(t,e.rowKey||"id")})))})),S=t((function(){var t;return!!e.rowSelectionAllowUncheck||!("single"!==C.value||!y.value||!("allowUncheck"in(null===(t=y.value)||void 0===t?void 0:t.checkProps)))&&y.value.checkProps.allowUncheck}));function R(e){var t=e.col,n=e.row,o=e.rowIndex,l=h(t.disabled)?t.disabled({row:n,rowIndex:o}):t.disabled,r=h(t.checkProps)?t.checkProps({row:n,rowIndex:o}):t.checkProps;return{disabled:l||(null==r?void 0:r.disabled),checkProps:r}}function D(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=K(b.value),o=e.rowKey||"id",l=G(t,o),r=n.indexOf(l),a=-1!==r;if("multiple"===C.value)a?n.splice(r,1):n.push(l);else{if("single"!==C.value)return void $.warn("Table","`column.type` must be one of `multiple` and `single`");n=a&&S.value?[]:[l]}w(n,{selectedRowData:n.map((function(e){return m.value.get(e)})),currentRowKey:l,currentRowData:t,type:a?"uncheck":"check"})}function E(t){var n,o=e.rowKey||"id",r=x.value.map((function(e){return G(e,o)})),a=(null===(n=l.value)||void 0===n?void 0:n.filter((function(e){return!r.includes(e)})))||[],i=t?[].concat(K(a),K(r)):K(a);w(i,{selectedRowData:t?i.map((function(e){return m.value.get(e)})):[],type:t?"check":"uncheck",currentRowKey:"CHECK_ALL_BOX"})}i([c,r,b,y,u],(function(){var t,o=null!==(t=y.value)&&void 0!==t&&t.disabled?function(e){return y.value.disabled(e)?n.disabled:""}:void 0,l=new Set(b.value),r=l.size?function(t){var o=t.row,r=G(o,e.rowKey||"id");return l.has(r)?n.selected:""}:void 0;f.value=[o,r],d.value=c.value}),{immediate:!0});i([c,u],(function(){for(var e=0,t=c.value.length;e<t;e++)m.value.set(G(c.value[e],u.value||"id"),c.value[e])}),{immediate:!0});var P=t((function(){return Boolean(y.value||e.selectOnRowClick||e.selectedRowKeys)}));return{selectColumn:y,showRowSelect:P,selectedRowClassNames:f,currentPaginateData:d,setTSelectedRowKeys:w,formatToRowSelectColumn:function(t){return["multiple","single"].includes(t.type)?bo(bo({},t),{},{width:t.width||64,className:[n.checkCell,t.className],cell:function(t,n){return function(t){var n=t.col,o=t.row,l=void 0===o?{}:o,r=b.value.includes(G(l,e.rowKey||"id")),a=R(t),i=bo(bo({checked:r,disabled:a.disabled},a.checkProps),{},{onClick:function(e){var t;"object"===L(e)&&"e"in e?null===(t=e.e)||void 0===t||t.stopPropagation():null==e||e.stopPropagation()},onChange:function(){return D(l)}});if("single"===n.type)return v(Se,i,null);if("multiple"===n.type){var u,c=!(null===(u=e.indeterminateSelectedRowKeys)||void 0===u||!u.length)&&e.indeterminateSelectedRowKeys.includes(G(l,e.rowKey));return v(nt,ne({indeterminate:c},i),null)}return null}(n)},title:"multiple"===t.type?function(){var e=O.value.length>0&&O.value.length<x.value.length,t=0!==O.value.length&&0!==x.value.length&&O.value.length===x.value.length;return v(nt,{checked:t,indeterminate:e,disabled:!x.value.length,onChange:E},null)}:t.title}):t},onInnerSelectRowClick:function(t){var n,o=t.row,l=t.index,r=e.columns.findIndex((function(e){return"row-select"===e.colKey})),a=!1;-1!==r&&(a=null===(n=R({row:o,rowIndex:l,col:e.columns[r],colIndex:r}))||void 0===n?void 0:n.disabled);a||D(o)},handleRowSelectWithAreaSelection:function(t){var n=t.activeRowList,o=t.action;if(P.value)if("clear"!==o)if("select-all"!==o)if("single"!==C.value){var l=n.filter((function(e){return!R({row:e.row,rowIndex:e.rowIndex,col:y.value,colIndex:void 0}).disabled}));if(l.length){var r=l.map((function(t){var n=t.row;return G(n,e.rowKey)})),a=tt(b.value,r).length!==r.length,i=b.value.filter((function(e){return!r.includes(e)})),u=a?K(new Set(b.value.concat(r))):i,c="space-one-selection"===o?n[0].row:void 0;w(u,{selectedRowData:n,currentRowKey:G(c,e.rowKey),currentRowData:c,type:a?"check":"uncheck"})}}else"space-one-selection"===o&&D(n[0].row);else E(!0);else w([],{selectedRowData:[],currentRowKey:void 0,currentRowData:void 0,type:"uncheck"})}}} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var mo=e({name:"TSorterButton",props:{sortType:{type:String,default:"all"},sortOrder:{type:String,default:function(){return""}},locale:Object,sortIcon:Function,tooltipProps:Object,hideSortTips:Boolean},emits:["sort-icon-click"],setup:function(e,n){var o=qt(),l=o.tableSortClasses,r=o.negativeRotate180,a=Re(),i=te("table",e.locale),u=i.t,c=i.globalConfig,s=Ce({ChevronDownIcon:it}).ChevronDownIcon,d=t((function(){return"all"===e.sortType?["asc","desc"]:[e.sortType]}));return{t:u,globalConfig:c,tableSortClasses:l,negativeRotate180:r,allowSortTypes:d,getSortIcon:function(e,t){var o=u(c.value.sortIcon)||v(s,null,null),i=a("sortIcon",o),d=[t,l.sortIcon,l.iconDirection[e],j({},r,"asc"===e)];return v("span",{class:d,onClick:function(t){return function(e,t){n.emit("sort-icon-click",e,{descending:"desc"===t})}(t,e)}},[i])}}},render:function(){var e=this,t=this.tableSortClasses,n=[t.trigger,j({},t.doubleIcon,this.allowSortTypes.length>1)],o={asc:this.globalConfig.sortAscendingOperationText,desc:this.globalConfig.sortDescendingOperationText},l=this.allowSortTypes.map((function(n){var l,r,a,i=n===e.sortOrder?t.iconActive:t.iconDefault,u=e.globalConfig.sortCancelOperationText,c=n===e.sortOrder?u:o[n];return(null!==(r=e.hideSortTips)&&void 0!==r?r:e.globalConfig.hideSortTips)?e.getSortIcon(n,i):v(M,ne({content:c,placement:"right",showArrow:!1,class:e.tableSortClasses.iconDirection[n]},e.tooltipProps),"function"==typeof(a=l=e.getSortIcon(n,i))||"[object Object]"===Object.prototype.toString.call(a)&&!B(a)?l:{default:function(){return[l]}})}));return v("div",{class:n},[l])}}); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function yo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Co(e,n){var o=n.slots,l=V(e),r=l.sort,u=l.data,c=a(),s=ce(r,e.defaultSort,e.onSortChange,"sort"),d=N(s,2),f=d[0],p=d[1],g=ce(u,[],e.onDataChange,"data"),b=N(g,2),w=b[0],m=b[1],y=t((function(){return S(e.columns)})),C=a(),x=t((function(){var e=f.value;return e?De(e)?e:[e]:[]})),O=t((function(){var e={};return x.value.forEach((function(t,n){var o=t.sortBy;e[o]=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yo(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({index:n},t)})),e}));function S(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=0,o=e.length;n<o;n++){var l,r=e[n];h(r.sorter)&&(t[r.colKey]=r.sorter),null!==(l=r.children)&&void 0!==l&&l.length&&S(r.children,t)}return t}function R(e){var t=e;if(Object.keys(y.value).length){c.value||(c.value=w.value);var n=!t||t instanceof Array&&!t.length,o=!(t instanceof Array||null!=t&&t.sortBy);if(n||o)return m(c.value,{trigger:"sort"}),c.value;var l=t instanceof Array?t:[t],r=w.value.slice().sort((function(e,t){for(var n=0,o=0,r=l.length;o<r;o++){var a=l[o],i=y.value[a.sortBy];if(0!==n||!i)break;n=a.descending?i(t,e):i(e,t)}return n}));if(JSON.stringify(r)!==JSON.stringify(w.value))return m(r,{trigger:"sort"}),r}}function D(t,n){var o,l;e.multipleSort?l=function(e,t){Array.isArray(f.value)||(f.value=f.value?[f.value]:[]);for(var n=f.value,o=e.colKey,l=K(n),r=0,a=n.length;r<a;r++)if(n[r].sortBy===o){var i=P(e,n[r],t);return i?l[r]=i:l.splice(r,1),l}return l.push({sortBy:o,descending:t.descending}),l}(t,n):l=P(t,f.value instanceof Array?f.value[0]:f.value,n);var r=R(l)||w.value;p(l,{currentDataSource:r,col:t}),null===(o=e.onChange)||void 0===o||o.call(e,{sorter:l},{currentData:r,trigger:"sorter"}),C.value=l}function E(e){if(void 0!==e)return e?"desc":"asc"}function P(e,t,n){if(!t||t.sortBy!==e.colKey||t.descending!==n.descending)return{sortBy:e.colKey,descending:n.descending}}return i((function(){return[f,e.data]}),(function(){f.value&&Object.keys(f.value).length&&w.value.length&&(function(e,t){var n=De(e)?e:[e],o=De(t)?t:[t];if(n.length&&!t)return!1;for(var l,r=function(){var e=n[a],t=o.find((function(t){return t.sortBy===e.sortBy}));return t?{v:e.descending===t.descending}:{v:!1}},a=0,i=n.length;a<i;a++)if(l=r())return l.v}(f.value,C.value)||R(f.value))}),{immediate:!0}),{renderSortIcon:function(t){var n,l=t.col;if(!l.sorter)return null;var r={sortType:l.sortType,sortOrder:E(null===(n=O.value[l.colKey])||void 0===n?void 0:n.descending),sortIcon:e.sortIcon,hideSortTips:e.hideSortTips,locale:e.locale};return v(mo,ne(r,{onSortIconClick:function(e,t){return D(l,t)}}),{sortIcon:o.sortIcon})}}} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function xo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Oo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xo(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var So=e({name:"TableFilterController",props:{locale:Object,column:Object,colIndex:Number,tFilterValue:Object,innerFilterValue:Object,tableFilterClasses:Object,isFocusClass:String,primaryTableElement:{},popupProps:Object,attach:[String,Function],onVisibleChange:Function,filterIcon:[Function]},emits:["inner-filter-change","reset","confirm"],setup:function(e,t){var n=a(null),o=Re(),l=te("table",e.locale),r=l.t,i=l.globalConfig,u=Ce({FilterIcon:Rt}).FilterIcon,c=a(!1),s=function(e,t,n){if(!n)return null;var o=!!n.setup;if(h(e.filter.component)&&!o)return e.filter.component((function(e,n){var o="object"===L(n)&&"attrs"in n?n.attrs:{};return T(e,{props:Oo(Oo({},t),o)})}));var l=e.filter||{};return v(n,ne({class:l.classNames,style:l.style},l.attrs,t),null)},d=function(n){var o,l,r;if(null===(o=n.filter)||void 0===o||!o.type||["single","multiple","input"].includes(n.filter.type)){var a=e.innerFilterValue,i=void 0===a?{}:a,u={single:je,multiple:ot,input:vt}[n.filter.type]||n.filter.component;if(u||n.filter.component){var d=Oo(Oo({options:["single","multiple"].includes(n.filter.type)?null===(l=n.filter)||void 0===l?void 0:l.list:void 0},(null===(r=n.filter)||void 0===r?void 0:r.props)||{}),{},{onChange:function(e,o){var l,r,a,i;(t.emit("inner-filter-change",e,n),null!==(l=n.filter.props)&&void 0!==l&&l.onChange)&&(null===(a=(i=n.filter.props).onChange)||void 0===a||a.call(i,e,o));null!==(r=n.filter)&&void 0!==r&&null!==(r=r.confirmEvents)&&void 0!==r&&r.includes("onChange")&&(c.value=!1)}});return n.colKey&&i&&n.colKey in i&&(d.value=null==i?void 0:i[n.colKey]),n.filter.confirmEvents&&n.filter.confirmEvents.forEach((function(e){"onChange"!==e&&(d[e]=function(){t.emit("confirm",n),c.value=!1})})),v("div",{class:e.tableFilterClasses.contentInner},[s(n,d,u)])}}},f=function(n){if(n.filter.showConfirmAndReset)return v("div",{class:e.tableFilterClasses.bottomButtons},[v(Oe,{theme:"default",size:"small",onClick:function(){t.emit("reset",n),c.value=!1}},{default:function(){return[i.value.resetText]}}),v(Oe,{theme:"primary",size:"small",onClick:function(){t.emit("confirm",n),c.value=!1}},{default:function(){return[i.value.confirmText]}})])};return{t:r,globalConfig:i,FilterIcon:u,filterPopupVisible:c,triggerElementRef:n,renderTNode:o,getContent:function(){return v("div",{class:e.tableFilterClasses.popupContent},[d(e.column),f(e.column)])},onFilterPopupVisibleChange:function(t){var n;c.value=t,null===(n=e.onVisibleChange)||void 0===n||n.call(e,t)}}},render:function(){var e,t=this,n=this.column,o=this.popupProps,l=this.FilterIcon;if(!n.filter||n.filter&&!Object.keys(n.filter).length)return null;var r=this.t(this.globalConfig.filterIcon)||v(l,null,null),a=null===(e=this.tFilterValue)||void 0===e?void 0:e[n.colKey],i="object"===L(a)&&!Ee(a),u=![null,void 0,""].includes(a)&&"object"!==L(a);return v(Pe,ne({attach:this.attach||(this.primaryTableElement?function(){return t.primaryTableElement}:void 0),visible:this.filterPopupVisible,destroyOnClose:!0,trigger:"click",placement:"bottom-right",showArrow:!0,overlayClassName:this.tableFilterClasses.popup,onVisibleChange:function(e){return t.onFilterPopupVisibleChange(e)},class:[this.tableFilterClasses.icon,j({},this.isFocusClass,i||u)],content:this.getContent},o),{default:function(){return[v("div",{ref:"triggerElementRef"},[t.renderTNode("filterIcon",{defaultNode:r,params:{col:n,colIndex:t.colIndex}})])]}})}}); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function Ro(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Do(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ro(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ro(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Eo(e){var t=e instanceof Array&&e.length,n="object"===L(e)&&!(e instanceof Array),o=null!==e&&n&&Object.keys(e).length;return t||o||!["null","","undefined"].includes(String(e))}function Po(e,n){var o=a(null),l=te("table",e.locale),r=l.t,u=l.globalConfig,c=Re(),s=V(e),d=s.filterValue,f=s.columns,p=qt(),g=p.tableFilterClasses,b=p.isFocusClass,w=a(),m=ce(d,e.defaultFilterValue,e.onFilterChange,"filterValue"),y=N(m,2),C=y[0],x=y[1],O=a(C.value),S=t((function(){var e,t,n=(e=C.value||{},t={},Object.keys(e).forEach((function(n){var o=e[n];Eo(o)&&(t[n]=o)})),t);return!C.value||!Object.keys(n).length}));function R(){var t=[],o=[];return D(e.columns,o),o.filter((function(e){return e.filter})).forEach((function(e,o){var l=C.value[e.colKey];if(e.filter.list&&!["null"].includes(String(l))){var r=l instanceof Array?l:[l],a=[];e.filter.list.forEach((function(e){r.includes(e.value)&&a.push(e.label)})),l=a.join()}if(Eo(l)){var i,u,c=h(null===(i=e.filter)||void 0===i?void 0:i.label)?e.filter.label(T):null===(u=e.filter)||void 0===u?void 0:u.label,s=Zt(n.slots,e,o);t.push("".concat(c||s,":").concat(l))}})),t.join(";")}function D(e,t){e.forEach((function(e){e.children&&D(e.children,t),t.push(e)}))}function E(e,t){var n=Do(Do({},O.value),{},j({},t.colKey,e));O.value=n,t.filter.showConfirmAndReset||P(n,"filter-change",t)}function P(t,n,o){var l;x(t,{col:o,trigger:n}),null===(l=e.onChange)||void 0===l||l.call(e,{filter:t},{trigger:"filter"})}function A(e){var t,n;P(Do(Do({},C.value),{},j({},e.colKey,null!==(t=null!==(n=e.filter.resetValue)&&void 0!==n?n:{single:"",multiple:[],input:""}[e.filter.type])&&void 0!==t?t:"")),"reset",e)}function K(){P(ho(f.value),"clear",void 0)}function _(e){P(O.value,"confirm",e)}function I(e){e&&!w.value&&(w.value=!e)}return i([C],(function(e){var t=N(e,1)[0];O.value=t})),{hasEmptyCondition:S,isTableOverflowHidden:w,renderFilterIcon:function(t){var l,r=t.col,a=t.colIndex;return v(So,{column:r,colIndex:a,filterIcon:e.filterIcon,tFilterValue:C.value,innerFilterValue:O.value,tableFilterClasses:g,isFocusClass:b,popupProps:r.filter.popupProps,attach:e.attach,locale:e.locale,onReset:A,onConfirm:_,onInnerFilterChange:E,primaryTableElement:null===(l=o.value)||void 0===l?void 0:l.$el,onVisibleChange:I},{filterIcon:n.slots.filterIcon})},renderFirstFilterRow:function(){var t,n;if(S.value)return null;var o=v("div",{class:g.result},[v("span",null,[r(u.value.searchResultText,{result:R(),count:(null===(t=e.pagination)||void 0===t?void 0:t.total)||(null===(n=e.data)||void 0===n?void 0:n.length)})]),v(Oe,{theme:"primary",variant:"text",onClick:K},{default:function(){return[u.value.clearFilterResultButtonText]}})]),l=c("filterRow");return e.filterRow&&!l||null===e.filterRow?null:v("div",{class:g.inner},[l||o])},setFilterPrimaryTableRef:function(e){o.value=e}}} +/**! + * Sortable 1.15.6 + * @author RubaXa <trash@rubaxa.org> + * @author owenm <owen23355@gmail.com> + * @license MIT + */function jo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function To(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?jo(Object(n),!0).forEach((function(t){Ko(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ao(e){return(Ao="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ko(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _o(){return _o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},_o.apply(this,arguments)}function Io(e,t){if(null==e)return{};var n,o,l=function(e,t){if(null==e)return{};var n,o,l={},r=Object.keys(e);for(o=0;o<r.length;o++)n=r[o],t.indexOf(n)>=0||(l[n]=e[n]);return l}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(o=0;o<r.length;o++)n=r[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}function ko(e){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}var Fo=ko(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Mo=ko(/Edge/i),Bo=ko(/firefox/i),No=ko(/safari/i)&&!ko(/chrome/i)&&!ko(/android/i),Lo=ko(/iP(ad|od|hone)/i),zo=ko(/chrome/i)&&ko(/android/i),Wo={capture:!1,passive:!1};function Ho(e,t,n){e.addEventListener(t,n,!Fo&&Wo)}function Vo(e,t,n){e.removeEventListener(t,n,!Fo&&Wo)}function Xo(e,t){if(t){if(">"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(n){return!1}return!1}}function Yo(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function qo(e,t,n,o){if(e){n=n||document;do{if(null!=t&&(">"===t[0]?e.parentNode===n&&Xo(e,t):Xo(e,t))||o&&e===n)return e;if(e===n)break}while(e=Yo(e))}return null}var Uo,$o=/\s+/g;function Go(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var o=(" "+e.className+" ").replace($o," ").replace(" "+t+" "," ");e.className=(o+(n?" "+t:"")).replace($o," ")}}function Jo(e,t,n){var o=e&&e.style;if(o){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),void 0===t?n:n[t];t in o||-1!==t.indexOf("webkit")||(t="-webkit-"+t),o[t]=n+("string"==typeof n?"":"px")}}function Zo(e,t){var n="";if("string"==typeof e)n=e;else do{var o=Jo(e,"transform");o&&"none"!==o&&(n=o+" "+n)}while(!t&&(e=e.parentNode));var l=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return l&&new l(n)}function Qo(e,t,n){if(e){var o=e.getElementsByTagName(t),l=0,r=o.length;if(n)for(;l<r;l++)n(o[l],l);return o}return[]}function el(){var e=document.scrollingElement;return e||document.documentElement}function tl(e,t,n,o,l){if(e.getBoundingClientRect||e===window){var r,a,i,u,c,s,d;if(e!==window&&e.parentNode&&e!==el()?(a=(r=e.getBoundingClientRect()).top,i=r.left,u=r.bottom,c=r.right,s=r.height,d=r.width):(a=0,i=0,u=window.innerHeight,c=window.innerWidth,s=window.innerHeight,d=window.innerWidth),(t||n)&&e!==window&&(l=l||e.parentNode,!Fo))do{if(l&&l.getBoundingClientRect&&("none"!==Jo(l,"transform")||n&&"static"!==Jo(l,"position"))){var v=l.getBoundingClientRect();a-=v.top+parseInt(Jo(l,"border-top-width")),i-=v.left+parseInt(Jo(l,"border-left-width")),u=a+r.height,c=i+r.width;break}}while(l=l.parentNode);if(o&&e!==window){var f=Zo(l||e),p=f&&f.a,h=f&&f.d;f&&(u=(a/=h)+(s/=h),c=(i/=p)+(d/=p))}return{top:a,left:i,bottom:u,right:c,width:d,height:s}}}function nl(e,t,n){for(var o=il(e,!0),l=tl(e)[t];o;){if(!(l>=tl(o)[n]))return o;if(o===el())break;o=il(o,!1)}return!1}function ol(e,t,n,o){for(var l=0,r=0,a=e.children;r<a.length;){if("none"!==a[r].style.display&&a[r]!==dr.ghost&&(o||a[r]!==dr.dragged)&&qo(a[r],n.draggable,e,!1)){if(l===t)return a[r];l++}r++}return null}function ll(e,t){for(var n=e.lastElementChild;n&&(n===dr.ghost||"none"===Jo(n,"display")||t&&!Xo(n,t));)n=n.previousElementSibling;return n||null}function rl(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)"TEMPLATE"===e.nodeName.toUpperCase()||e===dr.clone||t&&!Xo(e,t)||n++;return n}function al(e){var t=0,n=0,o=el();if(e)do{var l=Zo(e),r=l.a,a=l.d;t+=e.scrollLeft*r,n+=e.scrollTop*a}while(e!==o&&(e=e.parentNode));return[t,n]}function il(e,t){if(!e||!e.getBoundingClientRect)return el();var n=e,o=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var l=Jo(n);if(n.clientWidth<n.scrollWidth&&("auto"==l.overflowX||"scroll"==l.overflowX)||n.clientHeight<n.scrollHeight&&("auto"==l.overflowY||"scroll"==l.overflowY)){if(!n.getBoundingClientRect||n===document.body)return el();if(o||t)return n;o=!0}}}while(n=n.parentNode);return el()}function ul(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}function cl(e,t){return function(){if(!Uo){var n=arguments;1===n.length?e.call(this,n[0]):e.apply(this,n),Uo=setTimeout((function(){Uo=void 0}),t)}}}function sl(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function dl(e){var t=window.Polymer,n=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):n?n(e).clone(!0)[0]:e.cloneNode(!0)}function vl(e,t,n){var o={};return Array.from(e.children).forEach((function(l){var r,a,i,u;if(qo(l,t.draggable,e,!1)&&!l.animated&&l!==n){var c=tl(l);o.left=Math.min(null!==(r=o.left)&&void 0!==r?r:1/0,c.left),o.top=Math.min(null!==(a=o.top)&&void 0!==a?a:1/0,c.top),o.right=Math.max(null!==(i=o.right)&&void 0!==i?i:-1/0,c.right),o.bottom=Math.max(null!==(u=o.bottom)&&void 0!==u?u:-1/0,c.bottom)}})),o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}var fl="Sortable"+(new Date).getTime();function pl(){var e,t=[];return{captureAnimationState:function(){(t=[],this.options.animation)&&[].slice.call(this.el.children).forEach((function(e){if("none"!==Jo(e,"display")&&e!==dr.ghost){t.push({target:e,rect:tl(e)});var n=To({},t[t.length-1].rect);if(e.thisAnimationDuration){var o=Zo(e,!0);o&&(n.top-=o.f,n.left-=o.e)}e.fromRect=n}}))},addAnimationState:function(e){t.push(e)},removeAnimationState:function(e){t.splice(function(e,t){for(var n in e)if(e.hasOwnProperty(n))for(var o in t)if(t.hasOwnProperty(o)&&t[o]===e[n][o])return Number(n);return-1}(t,{target:e}),1)},animateAll:function(n){var o=this;if(!this.options.animation)return clearTimeout(e),void("function"==typeof n&&n());var l=!1,r=0;t.forEach((function(e){var t=0,n=e.target,a=n.fromRect,i=tl(n),u=n.prevFromRect,c=n.prevToRect,s=e.rect,d=Zo(n,!0);d&&(i.top-=d.f,i.left-=d.e),n.toRect=i,n.thisAnimationDuration&&ul(u,i)&&!ul(a,i)&&// Make sure animatingRect is on line between toRect & fromRect +(s.top-i.top)/(s.left-i.left)==(a.top-i.top)/(a.left-i.left)&&(t=function(e,t,n,o){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-n.top,2)+Math.pow(t.left-n.left,2))*o.animation}(s,u,c,o.options)),ul(i,a)||(n.prevFromRect=a,n.prevToRect=i,t||(t=o.options.animation),o.animate(n,s,i,t)),t&&(l=!0,r=Math.max(r,t),clearTimeout(n.animationResetTimer),n.animationResetTimer=setTimeout((function(){n.animationTime=0,n.prevFromRect=null,n.fromRect=null,n.prevToRect=null,n.thisAnimationDuration=null}),t),n.thisAnimationDuration=t)})),clearTimeout(e),l?e=setTimeout((function(){"function"==typeof n&&n()}),r):"function"==typeof n&&n(),t=[]},animate:function(e,t,n,o){if(o){Jo(e,"transition",""),Jo(e,"transform","");var l=Zo(this.el),r=l&&l.a,a=l&&l.d,i=(t.left-n.left)/(r||1),u=(t.top-n.top)/(a||1);e.animatingX=!!i,e.animatingY=!!u,Jo(e,"transform","translate3d("+i+"px,"+u+"px,0)"),this.forRepaintDummy=function(e){return e.offsetWidth}(e),Jo(e,"transition","transform "+o+"ms"+(this.options.easing?" "+this.options.easing:"")),Jo(e,"transform","translate3d(0,0,0)"),"number"==typeof e.animated&&clearTimeout(e.animated),e.animated=setTimeout((function(){Jo(e,"transition",""),Jo(e,"transform",""),e.animated=!1,e.animatingX=!1,e.animatingY=!1}),o)}}}}var hl=[],gl={initializeByDefault:!0},bl={mount:function(e){for(var t in gl)gl.hasOwnProperty(t)&&!(t in e)&&(e[t]=gl[t]);hl.forEach((function(t){if(t.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")})),hl.push(e)},pluginEvent:function(e,t,n){var o=this;this.eventCanceled=!1,n.cancel=function(){o.eventCanceled=!0};var l=e+"Global";hl.forEach((function(o){t[o.pluginName]&&(t[o.pluginName][l]&&t[o.pluginName][l](To({sortable:t},n)),t.options[o.pluginName]&&t[o.pluginName][e]&&t[o.pluginName][e](To({sortable:t},n)))}))},initializePlugins:function(e,t,n,o){for(var l in hl.forEach((function(o){var l=o.pluginName;if(e.options[l]||o.initializeByDefault){var r=new o(e,t,e.options);r.sortable=e,r.options=e.options,e[l]=r,_o(n,r.defaults)}})),e.options)if(e.options.hasOwnProperty(l)){var r=this.modifyOption(e,l,e.options[l]);void 0!==r&&(e.options[l]=r)}},getEventProperties:function(e,t){var n={};return hl.forEach((function(o){"function"==typeof o.eventProperties&&_o(n,o.eventProperties.call(t[o.pluginName],e))})),n},modifyOption:function(e,t,n){var o;return hl.forEach((function(l){e[l.pluginName]&&l.optionListeners&&"function"==typeof l.optionListeners[t]&&(o=l.optionListeners[t].call(e[l.pluginName],n))})),o}};var wl=["evt"],ml=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.evt,l=Io(n,wl);bl.pluginEvent.bind(dr)(e,t,To({dragEl:Cl,parentEl:xl,ghostEl:Ol,rootEl:Sl,nextEl:Rl,lastDownEl:Dl,cloneEl:El,cloneHidden:Pl,dragStarted:zl,putSortable:Il,activeSortable:dr.active,originalEvent:o,oldIndex:jl,oldDraggableIndex:Al,newIndex:Tl,newDraggableIndex:Kl,hideGhostForTarget:ir,unhideGhostForTarget:ur,cloneNowHidden:function(){Pl=!0},cloneNowShown:function(){Pl=!1},dispatchSortableEvent:function(e){yl({sortable:t,name:e,originalEvent:o})}},l))};function yl(e){!function(e){var t=e.sortable,n=e.rootEl,o=e.name,l=e.targetEl,r=e.cloneEl,a=e.toEl,i=e.fromEl,u=e.oldIndex,c=e.newIndex,s=e.oldDraggableIndex,d=e.newDraggableIndex,v=e.originalEvent,f=e.putSortable,p=e.extraEventProperties;if(t=t||n&&n[fl]){var h,g=t.options,b="on"+o.charAt(0).toUpperCase()+o.substr(1);!window.CustomEvent||Fo||Mo?(h=document.createEvent("Event")).initEvent(o,!0,!0):h=new CustomEvent(o,{bubbles:!0,cancelable:!0}),h.to=a||n,h.from=i||n,h.item=l||n,h.clone=r,h.oldIndex=u,h.newIndex=c,h.oldDraggableIndex=s,h.newDraggableIndex=d,h.originalEvent=v,h.pullMode=f?f.lastPutMode:void 0;var w=To(To({},p),bl.getEventProperties(o,t));for(var m in w)h[m]=w[m];n&&n.dispatchEvent(h),g[b]&&g[b].call(t,h)}}(To({putSortable:Il,cloneEl:El,targetEl:Cl,rootEl:Sl,oldIndex:jl,oldDraggableIndex:Al,newIndex:Tl,newDraggableIndex:Kl},e))}var Cl,xl,Ol,Sl,Rl,Dl,El,Pl,jl,Tl,Al,Kl,_l,Il,kl,Fl,Ml,Bl,Nl,Ll,zl,Wl,Hl,Vl,Xl,Yl=!1,ql=!1,Ul=[],$l=!1,Gl=!1,Jl=[],Zl=!1,Ql=[],er="undefined"!=typeof document,tr=Lo,nr=Mo||Fo?"cssFloat":"float",or=er&&!zo&&!Lo&&"draggable"in document.createElement("div"),lr=function(){if(er){if(Fo)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),rr=function(e,t){var n=Jo(e),o=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),l=ol(e,0,t),r=ol(e,1,t),a=l&&Jo(l),i=r&&Jo(r),u=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+tl(l).width,c=i&&parseInt(i.marginLeft)+parseInt(i.marginRight)+tl(r).width;if("flex"===n.display)return"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal";if("grid"===n.display)return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(l&&a.float&&"none"!==a.float){var s="left"===a.float?"left":"right";return!r||"both"!==i.clear&&i.clear!==s?"horizontal":"vertical"}return l&&("block"===a.display||"flex"===a.display||"table"===a.display||"grid"===a.display||u>=o&&"none"===n[nr]||r&&"none"===n[nr]&&u+c>o)?"vertical":"horizontal"},ar=function(e){function t(e,n){return function(o,l,r,a){var i=o.options.group.name&&l.options.group.name&&o.options.group.name===l.options.group.name;if(null==e&&(n||i))return!0;if(null==e||!1===e)return!1;if(n&&"clone"===e)return e;if("function"==typeof e)return t(e(o,l,r,a),n)(o,l,r,a);var u=(n?o:l).options.group.name;return!0===e||"string"==typeof e&&e===u||e.join&&e.indexOf(u)>-1}}var n={},o=e.group;o&&"object"==Ao(o)||(o={name:o}),n.name=o.name,n.checkPull=t(o.pull,!0),n.checkPut=t(o.put),n.revertClone=o.revertClone,e.group=n},ir=function(){!lr&&Ol&&Jo(Ol,"display","none")},ur=function(){!lr&&Ol&&Jo(Ol,"display","")};er&&!zo&&document.addEventListener("click",(function(e){if(ql)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),ql=!1,!1}),!0);var cr=function(e){if(Cl){e=e.touches?e.touches[0]:e;var t=(l=e.clientX,r=e.clientY,Ul.some((function(e){var t=e[fl].options.emptyInsertThreshold;if(t&&!ll(e)){var n=tl(e),o=l>=n.left-t&&l<=n.right+t,i=r>=n.top-t&&r<=n.bottom+t;return o&&i?a=e:void 0}})),a);if(t){var n={};for(var o in e)e.hasOwnProperty(o)&&(n[o]=e[o]);n.target=n.rootEl=t,n.preventDefault=void 0,n.stopPropagation=void 0,t[fl]._onDragOver(n)}}var l,r,a},sr=function(e){Cl&&Cl.parentNode[fl]._isOutsideThisEl(e.target)};function dr(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=_o({},t),e[fl]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1, +// percentage; 0 <= x <= 1 +invertSwap:!1, +// invert always +invertedSwapThreshold:null, +// will be set to same as swapThreshold if default +removeCloneOnHide:!0,direction:function(){return rr(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0}, +// Disabled on Safari: #1571; Enabled on Safari IOS: #2244 +supportPointer:!1!==dr.supportPointer&&"PointerEvent"in window&&(!No||Lo),emptyInsertThreshold:5};for(var o in bl.initializePlugins(this,e,n),n)!(o in t)&&(t[o]=n[o]);for(var l in ar(t),this)"_"===l.charAt(0)&&"function"==typeof this[l]&&(this[l]=this[l].bind(this));this.nativeDraggable=!t.forceFallback&&or,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?Ho(e,"pointerdown",this._onTapStart):(Ho(e,"mousedown",this._onTapStart),Ho(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(Ho(e,"dragover",this),Ho(e,"dragenter",this)),Ul.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),_o(this,pl())}function vr(e,t,n,o,l,r,a,i){var u,c,s=e[fl],d=s.options.onMove;return!window.CustomEvent||Fo||Mo?(u=document.createEvent("Event")).initEvent("move",!0,!0):u=new CustomEvent("move",{bubbles:!0,cancelable:!0}),u.to=t,u.from=e,u.dragged=n,u.draggedRect=o,u.related=l||t,u.relatedRect=r||tl(t),u.willInsertAfter=i,u.originalEvent=a,e.dispatchEvent(u),d&&(c=d.call(s,u,a)),c}function fr(e){e.draggable=!1}function pr(){Zl=!1}function hr(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,o=0;n--;)o+=t.charCodeAt(n);return o.toString(36)}function gr(e){return setTimeout(e,0)}function br(e){return clearTimeout(e)}dr.prototype=/** @lends Sortable.prototype */ +{constructor:dr,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(Wl=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,Cl):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,n=this.el,o=this.options,l=o.preventOnFilter,r=e.type,a=e.touches&&e.touches[0]||e.pointerType&&"touch"===e.pointerType&&e,i=(a||e).target,u=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||i,c=o.filter;if(function(e){Ql.length=0;var t=e.getElementsByTagName("input"),n=t.length;for(;n--;){var o=t[n];o.checked&&Ql.push(o)}}(n),!Cl&&!(/mousedown|pointerdown/.test(r)&&0!==e.button||o.disabled)&&!u.isContentEditable&&(this.nativeDraggable||!No||!i||"SELECT"!==i.tagName.toUpperCase())&&!((i=qo(i,o.draggable,n,!1))&&i.animated||Dl===i)){if(jl=rl(i),Al=rl(i,o.draggable),"function"==typeof c){if(c.call(this,e,i,this))return yl({sortable:t,rootEl:u,name:"filter",targetEl:i,toEl:n,fromEl:n}),ml("filter",t,{evt:e}),void(l&&e.preventDefault())}else if(c&&(c=c.split(",").some((function(o){if(o=qo(u,o.trim(),n,!1))return yl({sortable:t,rootEl:o,name:"filter",targetEl:i,fromEl:n,toEl:n}),ml("filter",t,{evt:e}),!0}))))return void(l&&e.preventDefault());o.handle&&!qo(u,o.handle,n,!1)||this._prepareDragStart(e,a,i)}}},_prepareDragStart:function(e,t,n){var o,l=this,r=l.el,a=l.options,i=r.ownerDocument;if(n&&!Cl&&n.parentNode===r){var u=tl(n);if(Sl=r,xl=(Cl=n).parentNode,Rl=Cl.nextSibling,Dl=n,_l=a.group,dr.dragged=Cl,kl={target:Cl,clientX:(t||e).clientX,clientY:(t||e).clientY},Nl=kl.clientX-u.left,Ll=kl.clientY-u.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,Cl.style["will-change"]="all",o=function(){ml("delayEnded",l,{evt:e}),dr.eventCanceled?l._onDrop():(l._disableDelayedDragEvents(),!Bo&&l.nativeDraggable&&(Cl.draggable=!0),l._triggerDragStart(e,t),yl({sortable:l,name:"choose",originalEvent:e}),Go(Cl,a.chosenClass,!0))},a.ignore.split(",").forEach((function(e){Qo(Cl,e.trim(),fr)})),Ho(i,"dragover",cr),Ho(i,"mousemove",cr),Ho(i,"touchmove",cr),a.supportPointer?(Ho(i,"pointerup",l._onDrop),!this.nativeDraggable&&Ho(i,"pointercancel",l._onDrop)):(Ho(i,"mouseup",l._onDrop),Ho(i,"touchend",l._onDrop),Ho(i,"touchcancel",l._onDrop)),Bo&&this.nativeDraggable&&(this.options.touchStartThreshold=4,Cl.draggable=!0),ml("delayStart",this,{evt:e}),!a.delay||a.delayOnTouchOnly&&!t||this.nativeDraggable&&(Mo||Fo))o();else{if(dr.eventCanceled)return void this._onDrop();a.supportPointer?(Ho(i,"pointerup",l._disableDelayedDrag),Ho(i,"pointercancel",l._disableDelayedDrag)):(Ho(i,"mouseup",l._disableDelayedDrag),Ho(i,"touchend",l._disableDelayedDrag),Ho(i,"touchcancel",l._disableDelayedDrag)),Ho(i,"mousemove",l._delayedDragTouchMoveHandler),Ho(i,"touchmove",l._delayedDragTouchMoveHandler),a.supportPointer&&Ho(i,"pointermove",l._delayedDragTouchMoveHandler),l._dragStartTimer=setTimeout(o,a.delay)}}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){Cl&&fr(Cl),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;Vo(e,"mouseup",this._disableDelayedDrag),Vo(e,"touchend",this._disableDelayedDrag),Vo(e,"touchcancel",this._disableDelayedDrag),Vo(e,"pointerup",this._disableDelayedDrag),Vo(e,"pointercancel",this._disableDelayedDrag),Vo(e,"mousemove",this._delayedDragTouchMoveHandler),Vo(e,"touchmove",this._delayedDragTouchMoveHandler),Vo(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?Ho(document,"pointermove",this._onTouchMove):Ho(document,t?"touchmove":"mousemove",this._onTouchMove):(Ho(Cl,"dragend",this),Ho(Sl,"dragstart",this._onDragStart));try{document.selection?gr((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(n){}},_dragStarted:function(e,t){if(Yl=!1,Sl&&Cl){ml("dragStarted",this,{evt:t}),this.nativeDraggable&&Ho(document,"dragover",sr);var n=this.options;!e&&Go(Cl,n.dragClass,!1),Go(Cl,n.ghostClass,!0),dr.active=this,e&&this._appendGhost(),yl({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(Fl){this._lastX=Fl.clientX,this._lastY=Fl.clientY,ir();for(var e=document.elementFromPoint(Fl.clientX,Fl.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(Fl.clientX,Fl.clientY))!==t;)t=e;if(Cl.parentNode[fl]._isOutsideThisEl(e),t)do{if(t[fl]){if(t[fl]._onDragOver({clientX:Fl.clientX,clientY:Fl.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break}e=t}while(t=Yo(t));ur()}},_onTouchMove:function(e){if(kl){var t=this.options,n=t.fallbackTolerance,o=t.fallbackOffset,l=e.touches?e.touches[0]:e,r=Ol&&Zo(Ol,!0),a=Ol&&r&&r.a,i=Ol&&r&&r.d,u=tr&&Xl&&al(Xl),c=(l.clientX-kl.clientX+o.x)/(a||1)+(u?u[0]-Jl[0]:0)/(a||1),s=(l.clientY-kl.clientY+o.y)/(i||1)+(u?u[1]-Jl[1]:0)/(i||1);if(!dr.active&&!Yl){if(n&&Math.max(Math.abs(l.clientX-this._lastX),Math.abs(l.clientY-this._lastY))<n)return;this._onDragStart(e,!0)}if(Ol){r?(r.e+=c-(Ml||0),r.f+=s-(Bl||0)):r={a:1,b:0,c:0,d:1,e:c,f:s};var d="matrix(".concat(r.a,",").concat(r.b,",").concat(r.c,",").concat(r.d,",").concat(r.e,",").concat(r.f,")");Jo(Ol,"webkitTransform",d),Jo(Ol,"mozTransform",d),Jo(Ol,"msTransform",d),Jo(Ol,"transform",d),Ml=c,Bl=s,Fl=l}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!Ol){var e=this.options.fallbackOnBody?document.body:Sl,t=tl(Cl,!0,tr,!0,e),n=this.options;if(tr){for(Xl=e;"static"===Jo(Xl,"position")&&"none"===Jo(Xl,"transform")&&Xl!==document;)Xl=Xl.parentNode;Xl!==document.body&&Xl!==document.documentElement?(Xl===document&&(Xl=el()),t.top+=Xl.scrollTop,t.left+=Xl.scrollLeft):Xl=el(),Jl=al(Xl)}Go(Ol=Cl.cloneNode(!0),n.ghostClass,!1),Go(Ol,n.fallbackClass,!0),Go(Ol,n.dragClass,!0),Jo(Ol,"transition",""),Jo(Ol,"transform",""),Jo(Ol,"box-sizing","border-box"),Jo(Ol,"margin",0),Jo(Ol,"top",t.top),Jo(Ol,"left",t.left),Jo(Ol,"width",t.width),Jo(Ol,"height",t.height),Jo(Ol,"opacity","0.8"),Jo(Ol,"position",tr?"absolute":"fixed"),Jo(Ol,"zIndex","100000"),Jo(Ol,"pointerEvents","none"),dr.ghost=Ol,e.appendChild(Ol),Jo(Ol,"transform-origin",Nl/parseInt(Ol.style.width)*100+"% "+Ll/parseInt(Ol.style.height)*100+"%")}},_onDragStart:function(e,t){var n=this,o=e.dataTransfer,l=n.options;ml("dragStart",this,{evt:e}),dr.eventCanceled?this._onDrop():(ml("setupClone",this),dr.eventCanceled||((El=dl(Cl)).removeAttribute("id"),El.draggable=!1,El.style["will-change"]="",this._hideClone(),Go(El,this.options.chosenClass,!1),dr.clone=El),n.cloneId=gr((function(){ml("clone",n),dr.eventCanceled||(n.options.removeCloneOnHide||Sl.insertBefore(El,Cl),n._hideClone(),yl({sortable:n,name:"clone"}))})),!t&&Go(Cl,l.dragClass,!0),t?(ql=!0,n._loopId=setInterval(n._emulateDragOver,50)):(Vo(document,"mouseup",n._onDrop),Vo(document,"touchend",n._onDrop),Vo(document,"touchcancel",n._onDrop),o&&(o.effectAllowed="move",l.setData&&l.setData.call(n,o,Cl)),Ho(document,"drop",n),Jo(Cl,"transform","translateZ(0)")),Yl=!0,n._dragStartId=gr(n._dragStarted.bind(n,t,e)),Ho(document,"selectstart",n),zl=!0,window.getSelection().removeAllRanges(),No&&Jo(document.body,"user-select","none"))}, +// Returns true - if no further action is needed (either inserted or another condition) +_onDragOver:function(e){var t,n,o,l,r=this.el,a=e.target,i=this.options,u=i.group,c=dr.active,s=_l===u,d=i.sort,v=Il||c,f=this,p=!1;if(!Zl){if(void 0!==e.preventDefault&&e.cancelable&&e.preventDefault(),a=qo(a,i.draggable,r,!0),j("dragOver"),dr.eventCanceled)return p;if(Cl.contains(e.target)||a.animated&&a.animatingX&&a.animatingY||f._ignoreWhileAnimating===a)return A(!1);if(ql=!1,c&&!i.disabled&&(s?d||(o=xl!==Sl):Il===this||(this.lastPutMode=_l.checkPull(this,c,Cl,e))&&u.checkPut(this,c,Cl,e))){if(l="vertical"===this._getDirection(e,a),t=tl(Cl),j("dragOverValid"),dr.eventCanceled)return p;if(o)return xl=Sl,T(),this._hideClone(),j("revert"),dr.eventCanceled||(Rl?Sl.insertBefore(Cl,Rl):Sl.appendChild(Cl)),A(!0);var h=ll(r,i.draggable);if(!h||function(e,t,n){var o=tl(ll(n.el,n.options.draggable)),l=vl(n.el,n.options,Ol),r=10;return t?e.clientX>l.right+r||e.clientY>o.bottom&&e.clientX>o.left:e.clientY>l.bottom+r||e.clientX>o.right&&e.clientY>o.top}(e,l,this)&&!h.animated){if(h===Cl)return A(!1);if(h&&r===e.target&&(a=h),a&&(n=tl(a)),!1!==vr(Sl,r,Cl,t,a,n,e,!!a))return T(),h&&h.nextSibling?r.insertBefore(Cl,h.nextSibling):r.appendChild(Cl),xl=r,K(),A(!0)}else if(h&&function(e,t,n){var o=tl(ol(n.el,0,n.options,!0)),l=vl(n.el,n.options,Ol),r=10;return t?e.clientX<l.left-r||e.clientY<o.top&&e.clientX<o.right:e.clientY<l.top-r||e.clientY<o.bottom&&e.clientX<o.left}(e,l,this)){var g=ol(r,0,i,!0);if(g===Cl)return A(!1);if(n=tl(a=g),!1!==vr(Sl,r,Cl,t,a,n,e,!1))return T(),r.insertBefore(Cl,g),xl=r,K(),A(!0)}else if(a.parentNode===r){n=tl(a);var b,w,m,y=Cl.parentNode!==r,C=!function(e,t,n){var o=n?e.left:e.top,l=n?e.right:e.bottom,r=n?e.width:e.height,a=n?t.left:t.top,i=n?t.right:t.bottom,u=n?t.width:t.height;return o===a||l===i||o+r/2===a+u/2}(Cl.animated&&Cl.toRect||t,a.animated&&a.toRect||n,l),x=l?"top":"left",O=nl(a,"top","top")||nl(Cl,"top","top"),S=O?O.scrollTop:void 0;if(Wl!==a&&(w=n[x],$l=!1,Gl=!C&&i.invertSwap||y),b=function(e,t,n,o,l,r,a,i){var u=o?e.clientY:e.clientX,c=o?n.height:n.width,s=o?n.top:n.left,d=o?n.bottom:n.right,v=!1;if(!a)if(i&&Vl<c*l){if(!$l&&(1===Hl?u>s+c*r/2:u<d-c*r/2)&&($l=!0),$l)v=!0;else if(1===Hl?u<s+Vl:u>d-Vl)return-Hl}else if(u>s+c*(1-l)/2&&u<d-c*(1-l)/2)return function(e){return rl(Cl)<rl(e)?1:-1}(t);if((v=v||a)&&(u<s+c*r/2||u>d-c*r/2))return u>s+c/2?1:-1;return 0}(e,a,n,l,C?1:i.swapThreshold,null==i.invertedSwapThreshold?i.swapThreshold:i.invertedSwapThreshold,Gl,Wl===a),0!==b){var R=rl(Cl);do{R-=b,m=xl.children[R]}while(m&&("none"===Jo(m,"display")||m===Ol))}if(0===b||m===a)return A(!1);Wl=a,Hl=b;var D=a.nextElementSibling,E=!1,P=vr(Sl,r,Cl,t,a,n,e,E=1===b);if(!1!==P)return 1!==P&&-1!==P||(E=1===P),Zl=!0,setTimeout(pr,30),T(),E&&!D?r.appendChild(Cl):a.parentNode.insertBefore(Cl,E?D:a),O&&sl(O,0,S-O.scrollTop),xl=Cl.parentNode,void 0===w||Gl||(Vl=Math.abs(w-tl(a)[x])),K(),A(!0)}if(r.contains(Cl))return A(!1)}return!1}function j(i,u){ml(i,f,To({evt:e,isOwner:s,axis:l?"vertical":"horizontal",revert:o,dragRect:t,targetRect:n,canSort:d,fromSortable:v,target:a,completed:A,onMove:function(n,o){return vr(Sl,r,Cl,t,n,tl(n),e,o)},changed:K},u))}function T(){j("dragOverAnimationCapture"),f.captureAnimationState(),f!==v&&v.captureAnimationState()}function A(t){return j("dragOverCompleted",{insertion:t}),t&&(s?c._hideClone():c._showClone(f),f!==v&&(Go(Cl,Il?Il.options.ghostClass:c.options.ghostClass,!1),Go(Cl,i.ghostClass,!0)),Il!==f&&f!==dr.active?Il=f:f===dr.active&&Il&&(Il=null),v===f&&(f._ignoreWhileAnimating=a),f.animateAll((function(){j("dragOverAnimationComplete"),f._ignoreWhileAnimating=null})),f!==v&&(v.animateAll(),v._ignoreWhileAnimating=null)),(a===Cl&&!Cl.animated||a===r&&!a.animated)&&(Wl=null),i.dragoverBubble||e.rootEl||a===document||(Cl.parentNode[fl]._isOutsideThisEl(e.target),!t&&cr(e)),!i.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),p=!0}function K(){Tl=rl(Cl),Kl=rl(Cl,i.draggable),yl({sortable:f,name:"change",toEl:r,newIndex:Tl,newDraggableIndex:Kl,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){Vo(document,"mousemove",this._onTouchMove),Vo(document,"touchmove",this._onTouchMove),Vo(document,"pointermove",this._onTouchMove),Vo(document,"dragover",cr),Vo(document,"mousemove",cr),Vo(document,"touchmove",cr)},_offUpEvents:function(){var e=this.el.ownerDocument;Vo(e,"mouseup",this._onDrop),Vo(e,"touchend",this._onDrop),Vo(e,"pointerup",this._onDrop),Vo(e,"pointercancel",this._onDrop),Vo(e,"touchcancel",this._onDrop),Vo(document,"selectstart",this)},_onDrop:function(e){var t=this.el,n=this.options;Tl=rl(Cl),Kl=rl(Cl,n.draggable),ml("drop",this,{evt:e}),xl=Cl&&Cl.parentNode,Tl=rl(Cl),Kl=rl(Cl,n.draggable),dr.eventCanceled||(Yl=!1,Gl=!1,$l=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),br(this.cloneId),br(this._dragStartId),this.nativeDraggable&&(Vo(document,"drop",this),Vo(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),No&&Jo(document.body,"user-select",""),Jo(Cl,"transform",""),e&&(zl&&(e.cancelable&&e.preventDefault(),!n.dropBubble&&e.stopPropagation()),Ol&&Ol.parentNode&&Ol.parentNode.removeChild(Ol),(Sl===xl||Il&&"clone"!==Il.lastPutMode)&&El&&El.parentNode&&El.parentNode.removeChild(El),Cl&&(this.nativeDraggable&&Vo(Cl,"dragend",this),fr(Cl),Cl.style["will-change"]="",zl&&!Yl&&Go(Cl,Il?Il.options.ghostClass:this.options.ghostClass,!1),Go(Cl,this.options.chosenClass,!1),yl({sortable:this,name:"unchoose",toEl:xl,newIndex:null,newDraggableIndex:null,originalEvent:e}),Sl!==xl?(Tl>=0&&(yl({rootEl:xl,name:"add",toEl:xl,fromEl:Sl,originalEvent:e}),yl({sortable:this,name:"remove",toEl:xl,originalEvent:e}),yl({rootEl:xl,name:"sort",toEl:xl,fromEl:Sl,originalEvent:e}),yl({sortable:this,name:"sort",toEl:xl,originalEvent:e})),Il&&Il.save()):Tl!==jl&&Tl>=0&&(yl({sortable:this,name:"update",toEl:xl,originalEvent:e}),yl({sortable:this,name:"sort",toEl:xl,originalEvent:e})),dr.active&&(null!=Tl&&-1!==Tl||(Tl=jl,Kl=Al),yl({sortable:this,name:"end",toEl:xl,originalEvent:e}),this.save())))),this._nulling()},_nulling:function(){ml("nulling",this),Sl=Cl=xl=Ol=Rl=El=Dl=Pl=kl=Fl=zl=Tl=Kl=jl=Al=Wl=Hl=Il=_l=dr.dragged=dr.ghost=dr.clone=dr.active=null,Ql.forEach((function(e){e.checked=!0})),Ql.length=Ml=Bl=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":Cl&&(this._onDragOver(e),function(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move");e.cancelable&&e.preventDefault()}(e));break;case"selectstart":e.preventDefault()}}, +/** + * Serializes the item into an array of string. + * @returns {String[]} + */ +toArray:function(){for(var e,t=[],n=this.el.children,o=0,l=n.length,r=this.options;o<l;o++)qo(e=n[o],r.draggable,this.el,!1)&&t.push(e.getAttribute(r.dataIdAttr)||hr(e));return t}, +/** + * Sorts the elements according to the array. + * @param {String[]} order order of the items + */ +sort:function(e,t){var n={},o=this.el;this.toArray().forEach((function(e,t){var l=o.children[t];qo(l,this.options.draggable,o,!1)&&(n[e]=l)}),this),t&&this.captureAnimationState(),e.forEach((function(e){n[e]&&(o.removeChild(n[e]),o.appendChild(n[e]))})),t&&this.animateAll()}, +/** + * Save the current sorting + */ +save:function(){var e=this.options.store;e&&e.set&&e.set(this)}, +/** + * For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree. + * @param {HTMLElement} el + * @param {String} [selector] default: `options.draggable` + * @returns {HTMLElement|null} + */ +closest:function(e,t){return qo(e,t||this.options.draggable,this.el,!1)}, +/** + * Set/get option + * @param {string} name + * @param {*} [value] + * @returns {*} + */ +option:function(e,t){var n=this.options;if(void 0===t)return n[e];var o=bl.modifyOption(this,e,t);n[e]=void 0!==o?o:t,"group"===e&&ar(n)}, +/** + * Destroy + */ +destroy:function(){ml("destroy",this);var e=this.el;e[fl]=null,Vo(e,"mousedown",this._onTapStart),Vo(e,"touchstart",this._onTapStart),Vo(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(Vo(e,"dragover",this),Vo(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),(function(e){e.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),Ul.splice(Ul.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!Pl){if(ml("hideClone",this),dr.eventCanceled)return;Jo(El,"display","none"),this.options.removeCloneOnHide&&El.parentNode&&El.parentNode.removeChild(El),Pl=!0}},_showClone:function(e){if("clone"===e.lastPutMode){if(Pl){if(ml("showClone",this),dr.eventCanceled)return;Cl.parentNode!=Sl||this.options.group.revertClone?Rl?Sl.insertBefore(El,Rl):Sl.appendChild(El):Sl.insertBefore(El,Cl),this.options.group.revertClone&&this.animate(Cl,El),Jo(El,"display",""),Pl=!1}}else this._hideClone()}},er&&Ho(document,"touchmove",(function(e){(dr.active||Yl)&&e.cancelable&&e.preventDefault()})),dr.utils={on:Ho,off:Vo,css:Jo,find:Qo,is:function(e,t){return!!qo(e,t,e,!1)},extend:function(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e},throttle:cl,closest:qo,toggleClass:Go,clone:dl,index:rl,nextTick:gr,cancelNextTick:br,detectDirection:rr,getChild:ol,expando:fl},dr.get=function(e){return e[fl]},dr.mount=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t[0].constructor===Array&&(t=t[0]),t.forEach((function(e){if(!e.prototype||!e.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(e));e.utils&&(dr.utils=To(To({},dr.utils),e.utils)),bl.mount(e)}))},dr.create=function(e,t){return new dr(e,t)},dr.version="1.15.6";var wr,mr,yr,Cr,xr,Or,Sr=[],Rr=!1;function Dr(){Sr.forEach((function(e){clearInterval(e.pid)})),Sr=[]}function Er(){clearInterval(Or)}var Pr=cl((function(e,t,n,o){if(t.scroll){var l,r=(e.touches?e.touches[0]:e).clientX,a=(e.touches?e.touches[0]:e).clientY,i=t.scrollSensitivity,u=t.scrollSpeed,c=el(),s=!1;mr!==n&&(mr=n,Dr(),wr=t.scroll,l=t.scrollFn,!0===wr&&(wr=il(n,!0)));var d=0,v=wr;do{var f=v,p=tl(f),h=p.top,g=p.bottom,b=p.left,w=p.right,m=p.width,y=p.height,C=void 0,x=void 0,O=f.scrollWidth,S=f.scrollHeight,R=Jo(f),D=f.scrollLeft,E=f.scrollTop;f===c?(C=m<O&&("auto"===R.overflowX||"scroll"===R.overflowX||"visible"===R.overflowX),x=y<S&&("auto"===R.overflowY||"scroll"===R.overflowY||"visible"===R.overflowY)):(C=m<O&&("auto"===R.overflowX||"scroll"===R.overflowX),x=y<S&&("auto"===R.overflowY||"scroll"===R.overflowY));var P=C&&(Math.abs(w-r)<=i&&D+m<O)-(Math.abs(b-r)<=i&&!!D),j=x&&(Math.abs(g-a)<=i&&E+y<S)-(Math.abs(h-a)<=i&&!!E);if(!Sr[d])for(var T=0;T<=d;T++)Sr[T]||(Sr[T]={});Sr[d].vx==P&&Sr[d].vy==j&&Sr[d].el===f||(Sr[d].el=f,Sr[d].vx=P,Sr[d].vy=j,clearInterval(Sr[d].pid),0==P&&0==j||(s=!0,Sr[d].pid=setInterval(function(){o&&0===this.layer&&dr.active._onTouchMove(xr);var t=Sr[this.layer].vy?Sr[this.layer].vy*u:0,n=Sr[this.layer].vx?Sr[this.layer].vx*u:0;"function"==typeof l&&"continue"!==l.call(dr.dragged.parentNode[fl],n,t,e,xr,Sr[this.layer].el)||sl(Sr[this.layer].el,n,t)}.bind({layer:d}),24))),d++}while(t.bubbleScroll&&v!==c&&(v=il(v,!1)));Rr=s}}),30),jr=function(e){var t=e.originalEvent,n=e.putSortable,o=e.dragEl,l=e.activeSortable,r=e.dispatchSortableEvent,a=e.hideGhostForTarget,i=e.unhideGhostForTarget;if(t){var u=n||l;a();var c=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,s=document.elementFromPoint(c.clientX,c.clientY);i(),u&&!u.el.contains(s)&&(r("spill"),this.onSpill({dragEl:o,putSortable:n}))}};function Tr(){}function Ar(){} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function Kr(e,t,n){var o=K(e);return n-t>0?(o.splice(n+1,0,o[t]),o.splice(t,1)):(o.splice(n,0,o[t]),o.splice(t+1,1)),o} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function _r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Ir(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_r(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function kr(e){null!==e.parentElement&&e.parentElement.removeChild(e)}function Fr(e,t,n){var o=0===n?e.children[0]:e.children[n-1].nextSibling;e.insertBefore(t,o)}function Mr(e,n,o){var l=V(e),r=l.sortOnRowDraggable,u=l.dragSort,c=l.data,s=a(e.pagination),d=qt(),v=d.tableDraggableClasses,f=d.tableBaseClass,p=d.tableFullRowClasses,g=d.tableExpandClasses,b=a(e.columns||[]),w=a(null),m=t((function(){return b.value.find((function(e){return"drag"===e.colKey}))})),y=t((function(){return r.value||["row","row-handler-col"].includes(u.value)})),C=t((function(){return["row-handler","row-handler-col"].includes(u.value)&&!!m.value})),x=t((function(){return["col","row-handler-col"].includes(u.value)}));function O(t,n){var o,l,r=null!==(o=n.current)&&void 0!==o?o:n.defaultCurrent,a=null!==(l=n.pageSize)&&void 0!==l?l:n.defaultPageSize;return!e.disableDataPage&&n&&c.value.length>a?a*(r-1)+t:t}e.sortOnRowDraggable&&$.error("Table","`sortOnRowDraggable` is going to be deprecated, use dragSort='row' instead.");var S=function(t,n){var o=Ir({animation:150,dataIdAttr:"data-colkey",direction:"vertical",ghostClass:v.ghost,chosenClass:v.chosen,dragClass:v.dragging,handle:".".concat(f.thCellInner),onEnd:function(t){var o;if(t.newIndex!==t.oldIndex){n&&(kr(t.item),Fr(t.from,t.item,t.oldIndex));var l=t.oldIndex,r=t.newIndex,a=t.target,i=n?l:r,u=n?r:l,c=a.children[i],s=a.children[u],d=fo(b.value,c.dataset.colkey),v=fo(b.value,s.dataset.colkey);d&&d.colKey||$.error("Table","colKey is missing in ".concat(JSON.stringify(d))),v&&v.colKey||$.error("Table","colKey is missing in ".concat(JSON.stringify(v))),i=po(e.columns,d.colKey),u=po(e.columns,v.colKey);var f={data:b.value,currentIndex:i,current:d,targetIndex:u,target:v,newData:Kr(K(e.columns),i,u),e:t,sort:"col"};f.currentData=f.newData,null===(o=e.onDragSort)||void 0===o||o.call(e,f)}}},e.dragSortOptions);t&&new dr(t,o)},R=function(e){if(x.value&&e){var t=e.querySelectorAll("thead > tr");if(t.length<=1){var n=N(t,1)[0];S(n,!0)}else null==t||t.forEach((function(e){S(e,!1)}))}};return i([w,b,u,o],(function(t){var o=N(t,4),l=o[0];o[1],o[2],function(t,o){var l=t;if(!t||!l.$el||!o.showElement)return;var r=setTimeout((function(){!function(t){if(C.value||y.value){var o=null==t?void 0:t.querySelector("tbody");if(!o)return null;var l=Ir({animation:150,ghostClass:v.ghost,chosenClass:v.chosen,dragClass:v.dragging,filter:".".concat(p.base,",.").concat(g.row),onMove:function(e){return!Te(e.related,p.base)},onEnd:function(t){var o;if(t.newIndex!==t.oldIndex){kr(t.item),Fr(t.from,t.item,t.oldIndex);var l=t.oldIndex,r=t.newIndex;(h(e.firstFullRow)&&e.firstFullRow(T)||n.slots.firstFullRow||n.slots["first-full-row"])&&(l-=1,r-=1),s.value&&(l=O(l,s.value),r=O(r,s.value));var a={data:c.value,currentIndex:l,current:c.value[l],targetIndex:r,target:c.value[r],newData:Kr(K(e.data),l,r),e:t,sort:"row"};a.currentData=a.newData,null===(o=e.onDragSort)||void 0===o||o.call(e,a)}}},e.dragSortOptions);o&&(y.value?new dr(o,Ir({},l)):new dr(o,Ir(Ir({},l),{},{handle:".".concat(v.handle)})))}}(l.$el),R(l.$el);var t=setTimeout((function(){l.$refs.affixHeaderRef&&R(l.$refs.affixHeaderRef),clearTimeout(t)}));clearTimeout(r)}),60)}(l,o[3])})),{innerPagination:s,isRowDraggable:y,isRowHandlerDraggable:C,isColDraggable:x,setDragSortPrimaryTableRef:function(e){w.value=e},setDragSortColumns:function(e){b.value=e}}} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function Br(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Nr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Br(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Br(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}Tr.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){var t=e.dragEl,n=e.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var o=ol(this.sortable.el,this.startIndex,this.options);o?this.sortable.el.insertBefore(t,o):this.sortable.el.appendChild(t),this.sortable.animateAll(),n&&n.animateAll()},drop:jr},_o(Tr,{pluginName:"revertOnSpill"}),Ar.prototype={onSpill:function(e){var t=e.dragEl,n=e.putSortable||this.sortable;n.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),n.animateAll()},drop:jr},_o(Ar,{pluginName:"removeOnSpill"}),dr.mount(new function(){function e(){for(var e in this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===e.charAt(0)&&"function"==typeof this[e]&&(this[e]=this[e].bind(this))}return e.prototype={dragStarted:function(e){var t=e.originalEvent;this.sortable.nativeDraggable?Ho(document,"dragover",this._handleAutoScroll):this.options.supportPointer?Ho(document,"pointermove",this._handleFallbackAutoScroll):t.touches?Ho(document,"touchmove",this._handleFallbackAutoScroll):Ho(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var t=e.originalEvent;this.options.dragOverBubble||t.rootEl||this._handleAutoScroll(t)},drop:function(){this.sortable.nativeDraggable?Vo(document,"dragover",this._handleAutoScroll):(Vo(document,"pointermove",this._handleFallbackAutoScroll),Vo(document,"touchmove",this._handleFallbackAutoScroll),Vo(document,"mousemove",this._handleFallbackAutoScroll)),Er(),Dr(),clearTimeout(Uo),Uo=void 0},nulling:function(){xr=mr=wr=Rr=Or=yr=Cr=null,Sr.length=0},_handleFallbackAutoScroll:function(e){this._handleAutoScroll(e,!0)},_handleAutoScroll:function(e,t){var n=this,o=(e.touches?e.touches[0]:e).clientX,l=(e.touches?e.touches[0]:e).clientY,r=document.elementFromPoint(o,l);if(xr=e,t||this.options.forceAutoScrollFallback||Mo||Fo||No){Pr(e,this.options,r,t);var a=il(r,!0);!Rr||Or&&o===yr&&l===Cr||(Or&&Er(),Or=setInterval((function(){var r=il(document.elementFromPoint(o,l),!0);r!==a&&(a=r,Dr()),Pr(e,n.options,r,t)}),10),yr=o,Cr=l)}else{if(!this.options.bubbleScroll||il(r,!0)===el())return void Dr();Pr(e,this.options,il(r,!1),!1)}}},_o(e,{pluginName:"scroll",initializeByDefault:!0})}),dr.mount(Ar,Tr);var Lr=e({name:"TableEditableCell",props:{row:Object,rowKey:String,rowIndex:Number,col:Object,colIndex:Number,oldCell:[Function,String],tableBaseClass:Object,cellEmptyContent:[Function,String],editable:{type:Boolean,default:void 0},readonly:{type:Boolean},errors:{type:Array,default:void 0},onChange:Function,onValidate:Function,onRuleChange:Function,onEditableChange:Function},emits:["update-edited-cell"],setup:function(e,n){var o,l=V(e),c=l.row,s=l.col;a(null);var d=t((function(){var e;return null===(e=s.value.edit)||void 0===e?void 0:e.keepEditMode})),f=a(d.value||(null===(o=e.col.edit)||void 0===o?void 0:o.defaultEditable)||!1),p=a(),b=a(),w=r(),m=Ce({Edit1Icon:dt}).Edit1Icon,C=function(t){if("object"===L(t)&&("rowValue"in t||t.isUpdateCurrentRow)){var o=t.isUpdateCurrentRow?G(c.value,e.rowKey):t.rowValue;delete t.rowValue,delete t.isUpdateCurrentRow,n.emit("update-edited-cell",o,c.value,t)}else p.value=t};i([d],(function(e){e&&(f.value=!0)}));var x=t((function(){var e,t;return(null===(e=s.value.edit)||void 0===e||null===(t=e.on)||void 0===t?void 0:t.call(e,Nr(Nr({},O.value),{},{editedRow:S.value,updateEditedCellValue:C})))||{}})),O=t((function(){return{rowIndex:e.rowIndex,colIndex:e.colIndex,col:e.col,row:e.row}})),S=t((function(){var e=s.value.colKey,t=e.split(".")||[],n=ft(t),o=n[0],l=n.slice(1),r=Nr({},c.value);return l.length?(r[o]=Ae(c.value[o]),Je(r[o],l.join("."),p.value)):Je(r,e,p.value),r})),R=t((function(){return Bn({row:S.value,col:Nr(Nr({},s.value),{},{cell:e.oldCell}),rowIndex:e.rowIndex,colIndex:e.colIndex},n.slots,{cellEmptyContent:e.cellEmptyContent})})),D=t((function(){var e=s.value.edit;return h(e.props)?e.props(Nr(Nr({},O.value),{},{editedRow:S.value,updateEditedCellValue:C})):Nr({},e.props)})),E=t((function(){var e,t=s.value.edit;if(!t)return{};var n=Nr({},D.value);return delete n.onChange,delete n.value,null===(e=t.abortEditOnEvent)||void 0===e||e.forEach((function(e){delete n[e]})),n})),P=t((function(){var e,t=s.value.edit;return!!t&&Boolean(null===(e=t.abortEditOnEvent)||void 0===e?void 0:e.includes("onChange"))})),T=function(t){return new Promise((function(n){var o,l={result:[Nr(Nr({},O.value),{},{errorList:[],value:p.value})],trigger:t},r=h(s.value.edit.rules)?s.value.edit.rules(O.value):s.value.edit.rules;if(!s.value.edit||!r||!r.length)return null===(o=e.onValidate)||void 0===o||o.call(e,l),void n(!0);Ze(p.value,r).then((function(t){var o,r=null==t?void 0:t.filter((function(e){return!e.result}));l.result[0].errorList=r,null===(o=e.onValidate)||void 0===o||o.call(e,l),r&&r.length?(b.value=r,n(r)):(b.value=[],n(!0))}))}))},A=function(t,n){for(var o=arguments.length,l=new Array(o>2?o-2:0),r=2;r<o;r++)l[r-2]=arguments[r];T("self").then((function(o){var r,a;if(!0===o){var i,u,v=G(c.value,s.value.colKey);i=p.value,u=v,(le(i)&&le(u)?JSON.stringify(i)===JSON.stringify(u):i===u)||(p.value=v,null==t||t.apply(void 0,l)),null===(r=(a=x.value)[n])||void 0===r||r.call(a,l[2]);var h=setTimeout((function(){var t;d.value||(f.value=!1),b.value=[],null===(t=e.onEditableChange)||void 0===t||t.call(e,Nr(Nr({},O.value),{},{value:p.value,editedRow:Nr(Nr({},e.row),{},j({},e.col.colKey,p.value)),validateEdit:T,isEdit:!1})),clearTimeout(h)}),0)}}))},K=t((function(){var t,n=s.value.edit,o=void 0===e.editable;if(f.value&&o){if(null==n||null===(t=n.abortEditOnEvent)||void 0===t||!t.length)return{};var l={},r=null==n?void 0:n.onEdited;return n.abortEditOnEvent.forEach((function(e){"onChange"!==e&&(l[e]=function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];A.apply(void 0,[r,e,Nr(Nr({},O.value),{},{trigger:e,newRowData:S.value})].concat(n))})})),l}})),_=function(t){var n,o,l,r,a,i,u;p.value=t;for(var c=Nr(Nr({},O.value),{},{value:t,editedRow:Nr(Nr({},e.row),{},j({},e.col.colKey,t))}),d=arguments.length,v=new Array(d>1?d-1:0),f=1;f<d;f++)v[f-1]=arguments[f];if(null===(n=D.value)||void 0===n||null===(o=n.onChange)||void 0===o||o.call.apply(o,[n,t].concat(v)),null===(l=e.onChange)||void 0===l||l.call(e,c),null===(r=e.onRuleChange)||void 0===r||r.call(e,c),null===(a=x.value)||void 0===a||null===(i=a.onChange)||void 0===i||i.call(a,c),void 0===e.editable&&P.value){var h,g=null===(h=s.value.edit)||void 0===h?void 0:h.onEdited;A.apply(void 0,[g,"change",Nr(Nr({},O.value),{},{trigger:"onChange",newRowData:S.value})].concat(v))}"change"===(null===(u=s.value.edit)||void 0===u?void 0:u.validateTrigger)&&T("self")},I=function(e){var t;if(s.value.edit&&s.value.edit.component&&(f.value&&!((null===(t=e.composedPath)||void 0===t?void 0:t.call(e))||e.path||[]).find((function(e){var t;return null===(t=e.classList)||void 0===t?void 0:t.contains("".concat(w.value,"-popup__content"))})))){var n=s.value.edit.onEdited;A(n,"",Nr(Nr({},O.value),{},{trigger:"document",newRowData:S.value}))}},k=function(){var t;null===(t=e.onEditableChange)||void 0===t||t.call(e,Nr(Nr({},O.value),{},{value:p.value,editedRow:e.row,isEdit:!0,validateEdit:T}))},F=function(e){f.value=!0,k(),e.stopPropagation()};u((function(){var t;null!==(t=e.col.edit)&&void 0!==t&&t.defaultEditable&&k()}));var M=t((function(){return G(c.value,s.value.colKey)}));return i(M,(function(e){p.value=e}),{immediate:!0}),i(f,(function(t){var n=void 0===e.editable;s.value.edit&&s.value.edit.component&&n&&(t?y(document,"click",I):g(document,"click",I))}),{immediate:!0}),i((function(){return[e.editable,e.row,e.col,e.rowIndex,e.colIndex]}),(function(t){var n=N(t,1)[0];if(!1===n)p.value=M.value;else if(!0===n){var o;null===(o=e.onRuleChange)||void 0===o||o.call(e,Nr(Nr({},O.value),{},{value:M.value,editedRow:c.value}))}}),{immediate:!0}),i((function(){return e.errors}),(function(e){b.value=e})),function(){var t,n,o,l,r;if(e.readonly)return R.value;if(void 0===e.editable&&!f.value||!1===e.editable)return v("div",{class:e.tableBaseClass.cellEditable,onClick:F},[R.value,!1!==(null===(r=s.value.edit)||void 0===r?void 0:r.showEditIcon)&&v(m,null,null)]);var a=null===(t=s.value.edit)||void 0===t?void 0:t.component;if(!a)return $.error("Table","edit.component is required."),null;var i=null===(n=b.value)||void 0===n||null===(n=n[0])||void 0===n?void 0:n.message,u=Nr({},x.value);return delete u.onChange,null!==(o=s.value.edit)&&void 0!==o&&null!==(o=o.abortEditOnEvent)&&void 0!==o&&o.length&&s.value.edit.abortEditOnEvent.forEach((function(e){u[e]&&delete u[e]})),v("div",{class:e.tableBaseClass.cellEditWrap,onClick:function(e){e.stopPropagation()},ref:"tableEditableCellRef"},[v(a,ne({status:i?(null===(l=b.value)||void 0===l||null===(l=l[0])||void 0===l?void 0:l.type)||"error":void 0,tips:i},E.value,K.value,u,{value:p.value,onChange:_}),null)])}}}); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function zr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Wr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?zr(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Hr(e){var n=V(e).editableRowKeys,o=new Map,l=a({}),r=t((function(){return function(e,t,n){for(var o={},l=0,r=t.length;l<r;l++){var a=G(t[l],n);e.includes(a)&&(o[a]=!0)}return o}(e.editableRowKeys,e.data,e.rowKey||"id")})),u=a({}),c=a({}),s=function(t){var n={};return t.forEach((function(t){var o=t.row,l=t.col,r=t.errorList,a=[G(o,e.rowKey||"id"),l.colKey].join("__");null!=r&&r.length?n[a]=r:delete n[a]})),n},d=function(e){var t=o.get(e);if(t){var n=t.map((function(e){return new Promise((function(t){var n=e.editedRow,o=e.col,l=h(o.edit.rules)?o.edit.rules(e):o.edit.rules;o.edit&&l&&l.length?Ze(G(n,o.colKey),l).then((function(n){t(Wr(Wr({},e),{},{errorList:n.filter((function(e){return!e.result}))}))})):t(Wr(Wr({},e),{},{errorList:[]}))}))}));return new Promise((function(e,t){Promise.all(n).then((function(t){e({errors:t.filter((function(e){var t;return null===(t=e.errorList)||void 0===t?void 0:t.length})),errorMap:s(t)})}),t)}))}};return i((function(){var e;return null===(e=n.value)||void 0===e?void 0:e.join(",")}),(function(e){var t=e.split(",");Object.keys(c.value).forEach((function(e){t.includes(e)||delete c.value[e]}))})),{editedFormData:c,errorListMap:l,editableKeysMap:r,validateTableData:function(){if(Object.keys(u.value).length)return function(){var t=Object.keys(u.value),n=e.data.map((function(t){var n;return null===(n=t[e.rowKey])||void 0===n?void 0:n.toString()})),o=t.filter((function(e){return n.includes(null===(t=e.split("_"))||void 0===t?void 0:t[0]);var t})).map((function(e){return u.value[e].validateEdit("parent")}));return new Promise((function(n,l){Promise.all(o).then((function(o){var l,r={};o.forEach((function(e,n){!0!==e&&(r[t[n]]=e)})),null===(l=e.onValidate)||void 0===l||l.call(e,{result:r}),n({result:r})}),l)}))}();for(var t=[],n=e.data||[],o=0,r=n.length;o<r;o++){var a=G(n[o],e.rowKey||"id");t.push(d(a))}return new Promise((function(n,o){Promise.all(t).then((function(t){var o,r={};t.forEach((function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{errors:[],errorMap:{}}).errorMap;e&&Object.assign(r,e)})),l.value=r,null===(o=e.onValidate)||void 0===o||o.call(e,{result:r}),n({result:r})}),o)}))},validateRowData:function(t){return new Promise((function(n,o){d(t).then((function(t){var o,r=t.errors,a=t.errorMap;l.value=a;var i="parent";null===(o=e.onRowValidate)||void 0===o||o.call(e,{trigger:i,result:r}),n({trigger:i,result:r})}),o)}))},onRuleChange:function(t){if(e.editableRowKeys){var n=G(t.row,e.rowKey||"id"),l=o.get(n);if(l){var r=l.findIndex((function(e){return e.col.colKey===t.col.colKey}));-1===r?l.push(t):l[r]=t,o.set(n,l)}else o.set(n,[t])}},clearValidateData:function(){l.value={}},onUpdateEditedCell:function(e,t,n){c.value[e]||(c.value[e]=Ae(t)),Object.entries(n).forEach((function(t){var n=N(t,2),o=n[0],l=n[1];Je(c.value[e],o,l)}))},getEditRowData:function(t){var n,o=t.row,l=t.col,r=G(o,e.rowKey||"id"),a=c.value[r];if(a&&null!==(n=e.editableRowKeys)&&void 0!==n&&n.includes(r)){var i=Wr({},a);return Je(i,l.colKey,G(a,l.colKey)),i}return o},onPrimaryTableCellEditChange:function(t){var n=Kn(t.row,e.rowKey,t.col.colKey,t.colIndex);t.isEdit?u.value[n]=t:delete u.value[n]}}} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function Vr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Xr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vr(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Yr=["hideSortTips","dragSort","defaultExpandedRowKeys","defaultSelectedRowKeys","columnController","filterRow","sortOnRowDraggable","expandOnRowClick","expand-on-row-click","expanded-row","editable-row-keys","editable-cell-state","filter-value","multipleSort","expandIcon","expand-icon","reserveSelectedRowOnPaginate","expandedRowKeys","expandedRow","reserve-selected-row-on-paginate","reserveSelectedRowOnPaginate","selected-row-keys","selectedRowKeys","selectOnRowClick","column-controller","columnController","dragSort","drag-sort","hideSortTips","showSortColumnBgColor","filter-row","filterRow","multiple-sort","multipleSort","async-loading","onChange","onAsyncLoadingClick","onColumnChange","onColumnControllerVisibleChange","onDataChange","onDisplayColumnsChange","onDragSort","onExpandChange","onFilterChange","onSelectChange","onSortChange"],qr=e({name:"TPrimaryTable",props:Xr(Xr({},Ht),oo),setup:function(e,n){var o=f(),l=V(e),r=l.columns,i=l.columnController,c=a(null),s=a(!1),d=qt(),p=d.classPrefix,h=d.tableDraggableClasses,g=d.tableBaseClass,b=d.tableSelectedClasses,w=d.tableSortClasses,m=te("table",e.locale).globalConfig,y=Xn(e).sizeClassNames,C=t((function(){var t;return null!==(t=e.size)&&void 0!==t?t:m.value.size})),x=so(e,n),O=x.tDisplayColumns,S=x.renderColumnController,R=function(e,n){var o=V(e).expandedRowKeys,l=f(),r=te("table",e.locale),a=r.t,i=r.globalConfig,u=Ce({ChevronRightCircleIcon:Ct}).ChevronRightCircleIcon,c=qt(),s=c.tableExpandClasses,d=c.positiveRotate90,p=c.tableFullRowClasses,h=ce(o,e.defaultExpandedRowKeys||[],e.onExpandChange,"expandedRowKeys"),g=N(h,2),b=g[0],w=g[1],m=t((function(){return Boolean(e.expandedRow||n.slots.expandedRow||n.slots["expanded-row"])})),y=t((function(){return!1!==e.expandIcon&&m.value})),C=t((function(){var t;return"left"===(null===(t=e.columns)||void 0===t||null===(t=t[0])||void 0===t?void 0:t.fixed)})),x=function(t,n){e.expandOnRowClick&&t.stopPropagation();var o=G(n,e.rowKey||"id"),l=b.value.indexOf(o),r=K(b.value);-1!==l?r.splice(l,1):r.push(o),w(r,{expandedRowData:e.data.filter((function(t){return r.includes(G(t,e.rowKey||"id"))})),currentRowData:n})},O=function(t,n){var o=n.row,r=n.rowIndex,c=G(o,e.rowKey||"id"),f=b.value.includes(c),p=l("expandIcon",{defaultNode:a(i.value.expandIcon)||v(u,null,null),params:{row:o,index:r}});if(!p)return null;var h=[s.iconBox,s[f?"expanded":"collapsed"],j({},d,f)];return v("span",{class:h,onClick:function(e){return x(e,o)}},[p])};return{showExpandedRow:m,showExpandIconColumn:y,getExpandColumn:function(){return{colKey:"__EXPAND_ROW_ICON_COLUMN__",width:46,className:s.iconCell,fixed:C.value?"left":void 0,cell:O,stopPropagation:!0}},renderExpandedRow:function(t){var n=G(t.row,e.rowKey||"id");if(!b.value||!b.value.includes(n))return null;var o=t.isWidthOverflow&&e.columns.find((function(e){return"left"===e.fixed}));return v("tr",{key:"expand_".concat(n),class:[s.row,j({},p.base,o)]},[v("td",{colspan:t.columns.length},[v("div",{class:[s.rowInner,j({},p.innerFullRow,o)],style:o?{width:"".concat(t.tableWidth,"px")}:{}},[v("div",{class:p.innerFullElement},[l("expandedRow",{params:t})])])])])},onInnerExpandRowClick:function(e){x(e.e,e.row)},getExpandedRowClass:function(e){var t;if(!m.value)return null;var n=e.row,o=e.rowKey,l=G(n,o||"id");return s[null!==(t=b.value)&&void 0!==t&&t.includes(l)?"rowExpanded":"rowFolded"]}}}(e,n),D=R.showExpandedRow,E=R.showExpandIconColumn,P=R.getExpandColumn,_=R.renderExpandedRow,I=R.onInnerExpandRowClick,k=R.getExpandedRowClass,F=Co(e,n).renderSortIcon,M=wo(e,b),B=M.selectColumn,L=M.showRowSelect,W=M.selectedRowClassNames,H=M.currentPaginateData,X=M.formatToRowSelectColumn,Y=M.setTSelectedRowKeys,q=M.onInnerSelectRowClick,U=M.handleRowSelectWithAreaSelection,$=Po(e,n),J=$.hasEmptyCondition,Z=$.isTableOverflowHidden,Q=$.renderFilterIcon,ee=$.renderFirstFilterRow,oe=$.setFilterPrimaryTableRef,le=t((function(){return{showElement:s.value}})),re=Mr(e,n,le),ae=re.isRowHandlerDraggable,ie=re.isRowDraggable,ue=re.isColDraggable,se=re.innerPagination,de=re.setDragSortPrimaryTableRef,ve=re.setDragSortColumns,fe=Qt(e).renderTitleWidthIcon,pe=function(e){var n=f(),o=te("table",e.locale).globalConfig,l=qt(),r=l.isLoadingClass,a=l.isLoadMoreClass,i=l.asyncLoadingClass,u=t((function(){return[i,j(j({},r,"loading"===e.asyncLoading),a,"load-more"===e.asyncLoading)]}));function c(){var t;z(e.asyncLoading)&&(null===(t=e.onAsyncLoadingClick)||void 0===t||t.call(e,{status:e.asyncLoading}))}return{renderAsyncLoading:function(){var t=n("asyncLoading");if(z(t)){var l=e.asyncLoading,r={"load-more":o.value.loadingMoreText,loading:o.value.loadingText}[String(l)];return v("div",{class:u.value,onClick:c},[v(ye,{indicator:"loading"===l,loading:!!l,size:"small",text:r},null)])}return[null,!1,void 0].includes(t)?null:v("div",{class:u.value,onClick:c},[t])}}}(e),he=pe.renderAsyncLoading,ge=Hr(e),be=ge.errorListMap,we=ge.editableKeysMap,me=ge.validateRowData,xe=ge.validateTableData,Oe=ge.onRuleChange,Se=ge.clearValidateData,Re=ge.onUpdateEditedCell,De=ge.getEditRowData,Ee=ge.onPrimaryTableCellEditChange,Pe=t((function(){return Boolean(D.value||L.value)})),je=t((function(){return Boolean(D.value||L.value)})),Te=t((function(){var t;return j(j(j(j(j(j(j(j({},h.colDraggable,ue.value),h.rowHandlerDraggable,ae.value),h.rowDraggable,ie.value),g.overflowVisible,!1===Z.value),g.tableRowEdit,e.editableRowKeys),"".concat(p,"-table--select-").concat(null===(t=B.value)||void 0===t?void 0:t.type),B.value),"".concat(p,"-table--row-select"),L.value),"".concat(p,"-table--row-expandable"),D.value)})),Ae=t((function(){return[e.rowClassName,W.value,k].filter((function(e){return e}))})),_e=t((function(){var t=[e.rowAttributes];return(ae.value||ie.value)&&t.push((function(t){var n=t.row;return{"data-id":G(n,e.rowKey||"id")}})),t.filter((function(e){return e}))}));u((function(){oe(c.value),de(c.value)})),n.expose({validateRowData:me,validateTableData:xe,clearValidateData:Se,refreshTable:function(){c.value.refreshTable()},scrollToElement:function(e){c.value.scrollToElement(e)},scrollColumnIntoView:function(e){c.value.scrollColumnIntoView(e)},baseTableRef:c});var Ie,ke=function(t){var n;null===(n=e.onRowEdit)||void 0===n||n.call(e,t);var o=G(t.editedRow,e.rowKey||"id");Re(o,t.row,j({},t.col.colKey,t.value))},Fe=function(t){for(var o=arguments.length>1&&void 0!==arguments[1]&&arguments[1],l=[],r=function(){var r,i,u,s,d,f=Xr({},t[a]);if(!((null===(r=f.children)||void 0===r?void 0:r.length)||(null===(i=O.value)||void 0===i?void 0:i.includes(f.colKey)))&&(e.columnController||e.displayColumns||e.defaultDisplayColumns)&&!o)return 1;f=X(f);var h,b=e.sort;f.sorter&&e.showSortColumnBgColor&&((b instanceof Array?b:[b]).find((function(e){return e&&e.sortBy===f.colKey&&void 0!==e.descending}))&&(f.className=f.className instanceof Array?f.className.concat(w.sortColumn):[f.className,w.sortColumn]));if(f.sorter||f.filter){var m=Zt(n.slots,f,a),x=f.ellipsisTitle;f.title=function(e,t){var n,o=f.sorter?F(t):null,l=f.filter?Q(t):null,r=null===(n=c.value)||void 0===n?void 0:n.tableContentRef;return fe([m,o,l],t.col,t.colIndex,x,r,{classPrefix:p,ellipsisOverlayClassName:"medium"!==C.value?y[C.value]:""})},f.ellipsisTitle=!1}if(null!==(u=f.edit)&&void 0!==u&&u.component){var S=f.cell;f.cell=function(t,o){var l=Xr(Xr({},o),{},{row:De(o),oldCell:S,rowKey:e.rowKey||"id",tableBaseClass:g,cellEmptyContent:e.cellEmptyContent,onChange:ke,onValidate:e.onRowValidate,onRuleChange:Oe,onEditableChange:Ee});if(e.editableRowKeys){var r,a=G(o.row,e.rowKey||"id");l.editable=we.value[a]||!1;var i=[a,o.col.colKey].join("__"),u=null===(r=be.value)||void 0===r?void 0:r[i];u&&(l.errors=u)}return e.editableCellState&&(l.readonly=!e.editableCellState(o)),v(Lr,ne(l,{onUpdateEditedCell:Re}),n.slots)}}null!==(s=f.children)&&void 0!==s&&s.length&&(f.children=Fe(f.children,o||(null===(h=O.value)||void 0===h?void 0:h.includes(f.colKey))));(!f.children||null!==(d=f.children)&&void 0!==d&&d.length)&&l.push(f)},a=0,i=t.length;a<i;a++)r();return l},Me=t((function(){var e=Fe(r.value);return E.value&&e.unshift(P()),e})),Be=function(t,n){var o,l;se.value=Xr(Xr({},se.value),t),H.value=n,null===(o=e.onPageChange)||void 0===o||o.call(e,t,n);var r=[{pagination:t},{trigger:"pagination",currentData:n}];null===(l=e.onChange)||void 0===l||l.call.apply(l,[e].concat(r)),e.reserveSelectedRowOnPaginate||Y([],{selectedRowData:[],type:"uncheck",currentRowKey:"CLEAR_ON_PAGINATE"})},Ne=function(t){var n;null===(n=e.onActiveRowAction)||void 0===n||n.call(e,t),U(t)},Le=function(t){e.expandOnRowClick&&I(t),e.selectOnRowClick&&q(t)},ze=function(t){e.onRowDblclick?Ie?(clearTimeout(Ie),Ie=void 0):Ie=setTimeout((function(){Le(t),Ie=void 0}),250):Le(t)},We=function(e){s.value=e};return function(){var t,l,r=function(t,n,l,r){if(!l)return e[t];var a=n(T),i=o(t);return a&&!i?function(){return a}:i&&!a?function(){return i}:a&&i?function(){return null!=r&&r.reverse?v("div",null,[a,i]):v("div",null,[i,a])}:null},a=!(!i.value||!Object.keys(i.value).length),u=a?i.value.placement||"top-right":"",s=a&&-1!==(null==u?void 0:u.indexOf("bottom")),d=r("topContent",S,a&&!s),f=r("bottomContent",S,s,{reverse:!0}),p=r("firstFullRow",ee,!J.value),h=r("lastFullRow",he,!!e.asyncLoading),g=Ke().vnode,b=Xr(Xr({},A(g.props,Yr)),{},{rowKey:e.rowKey,rowClassName:Ae.value,rowAttributes:_e.value,columns:Me.value,keyboardRowHover:null!==(t=e.keyboardRowHover)&&void 0!==t?t:Pe.value,disableSpaceInactiveRow:null!==(l=e.disableSpaceInactiveRow)&&void 0!==l?l:je.value,topContent:d,bottomContent:f,firstFullRow:p,lastFullRow:h,thDraggable:["col","row-handler-col"].includes(e.dragSort),onShowElementChange:We,onPageChange:Be,renderExpandedRow:D.value?_:void 0,onActiveRowAction:Ne});return(e.expandOnRowClick||e.selectOnRowClick)&&(b.onRowClick=ze),v(no,ne(b,{ref:c,class:Te.value,onLeafColumnsChange:ve}),n.slots)}}}),Ur={beforeDragSort:{type:Function},expandedTreeNodes:{type:Array,default:void 0},defaultExpandedTreeNodes:{type:Array,default:function(){return[]}},tree:{type:Object},treeExpandAndFoldIcon:{type:Function},onAbnormalDragSort:Function,onExpandedTreeNodesChange:Function,onTreeExpandChange:Function}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function $r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Gr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$r(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Jr=1001,Zr="The same level of rows can not be swapped.";function Qr(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,l=G(e,t);return n||o?"".concat(l,"_").concat(n||0,"_").concat(o||0,"}"):l}var ea=function(){return _e((function e(){Ie(this,e),j(this,"treeDataMap",new Map),j(this,"expandAllRowIndex",void 0),this.treeDataMap=new Map}),[{key:"initialTreeStore",value:function(e,t,n){var o;null===(o=this.treeDataMap)||void 0===o||o.clear(),this.initialTreeDataMap(this.treeDataMap,e,t.find((function(e){return"row-select"===e.colKey})),n)}},{key:"getAllUniqueKeys",value:function(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=0,l=e.length;o<l;o++){var r=e[o];n.push(Qr(r,t.rowKey));var a=G(r,t.childrenKey);null!=a&&a.length&&this.getAllUniqueKeys(a,t,n)}return n}},{key:"getExpandedChildrenKeys",value:function(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=0,l=e.length;o<l;o++){var r=e[o],a=Qr(r,t.rowKey);this.treeDataMap.get(a).expanded&&n.push(a);var i=G(r,t.childrenKey);null!=i&&i.length&&this.getExpandedChildrenKeys(i,t,n)}return n}},{key:"expandTreeNode",value:function(e,t,n){var o=this;return e.length?(e.forEach((function(e){var l=o.treeDataMap.get(e);l&&o.toggleExpandData({row:l.row,rowIndex:l.rowIndex},t,n,"expand")})),t):t}},{key:"foldTreeNode",value:function(e,t,n){var o=this;return e.length?(e.forEach((function(e){var l=o.treeDataMap.get(e);l&&o.toggleExpandData({row:l.row,rowIndex:l.rowIndex},t,n,"fold")})),t):t}},{key:"toggleExpandData",value:function(e,t,n,o){var l;if(!e)return $.error("EnhancedTable","the node toggleExpanded doest not exist in `data`"),t;var r=G(e.row,n.rowKey);if(p(r))return $.error("EnhancedTable","`rowKey` could be wrong, can not get rowValue from `data` by `rowKey`."),[];if(!0===G(e.row,n.childrenKey))return t;var a=this.treeDataMap.get(r);return"expand"===o&&a.expanded?t:"fold"!==o||a.expanded?(a.rowIndex=null!==(l=a.rowIndex)&&void 0!==l?l:e.rowIndex,a.expanded=!a.expanded,this.treeDataMap.set(r,a),this.updateExpandRow(a,t,n)):t}},{key:"updateExpandRow",value:function(e,t,n){var o=e.row,l=e.rowIndex,r=e.expanded,a=this.treeDataMap,i=G(o,n.childrenKey);if(!o||!i)return t;if(r)oa(a,e,r,n),ta(a,o,i.length,"expand",n),t.splice.apply(t,[l+1,0].concat(i));else{oa(a,e,r,n);var u=e.expandChildrenLength||i.length;ta(a,o,-1*u,"fold",n),t.splice(l+1,u)}return ra(a,t,{rowKey:n.rowKey,minRowIndex:l+1}),t}},{key:"getData",value:function(e){return this.treeDataMap.get(e)}},{key:"updateData",value:function(e,t,n,o){var l=Qr(t,o.rowKey),r=this.treeDataMap.get(e);if(!r||-1===r.rowIndex)return la(n,e,t,{rowKey:o.rowKey,childrenKey:o.childrenKey}),-1;if(!0===G(t,o.childrenKey)){var a=G(r.row,o.childrenKey);if(null!=a&&a.length)for(var i=0,u=a.length;i<u;i++){var c=Qr(a[i],o.rowKey);this.treeDataMap.get(c)&&this.treeDataMap.delete(c)}}var s=r.rowIndex;if(r.row=t,r.id=l,r.parent){var d=G(r.parent.row,o.childrenKey),v=d.findIndex((function(t){return Qr(t,o.rowKey)===e}));d[v]=t}return this.treeDataMap.set(l,r),e!==l&&this.treeDataMap.delete(e),s}},{key:"remove",value:function(e,t,n){var o=this.treeDataMap.get(e);if(o&&o.rowIndex>=0){var l=(o.expandChildrenLength||0)+1;if(t.splice(o.rowIndex,l),o.parent){var r=G(o.parent.row,n.childrenKey),a=r.findIndex((function(t){return G(t,n.rowKey)===e}));r.splice(a,1),ta(this.treeDataMap,o.parent.row,-1*l,"delete",n)}this.treeDataMap.delete(e),ra(this.treeDataMap,t,{minRowIndex:o.rowIndex,rowKey:n.rowKey,type:"remove"})}else $.warn("EnhancedTable","Can not remove this node, which is not appeared.");return t}},{key:"removeChildren",value:function(e,t,n){var o=this.treeDataMap.get(e);if(o&&o.rowIndex>=0){var l=o.expandChildrenLength||0;l&&t.splice(o.rowIndex+1,l),o.parent&&ta(this.treeDataMap,o.parent.row,-1*l,"delete",n),o.expandChildrenLength=0,o.expanded=!1,Je(o.row,n.childrenKey,void 0),this.treeDataMap.set(e,o),l&&ra(this.treeDataMap,t,{minRowIndex:o.rowIndex+1,rowKey:n.rowKey,type:"remove"})}else $.warn("EnhancedTable","Can not remove this node's children, which is not appeared.");return t}},{key:"appendTo",value:function(e,t,n,o){var l=this.treeDataMap.get(e);if(!this.validateDataExist(l,e))return n;for(var r=G(l.row,o.childrenKey),a=l.expanded||!(null!=r&&r.length),i=t instanceof Array?t:[t],u=[],c=-1,s=0,d=i.length;s<d;s++){var v=i[s],f=Qr(v,o.rowKey),p=this.treeDataMap.get(f);if(this.validateDataDoubleExist(p,f)){var h=a?l.rowIndex+(l.expandChildrenLength||0)+(s+1):-1;0===s&&(c=h);var g={id:f,row:v,rowIndex:h,level:l.level+1,expanded:!1,expandChildrenLength:0,disabled:!1,path:K(l.path),parent:l};g.path=g.path.concat(g),u.push(v),this.treeDataMap.set(f,g)}else $.warn("Table","Duplicated Data `".concat(f,"` has been removed."))}if(!u.length)return n;if(null!=r&&r.length?l.row[o.childrenKey]=l.row[o.childrenKey].concat(u):(l.row[o.childrenKey]=u,l.expanded=!0),a){n.splice.apply(n,[c,0].concat(u));var b=u.length||1;ta(this.treeDataMap,l.row,b,"insert",{rowKey:o.rowKey,childrenKey:o.childrenKey}),ra(this.treeDataMap,n,{minRowIndex:c+u.length-1,rowKey:o.rowKey,type:"add",count:1})}return n}},{key:"appendToRoot",value:function(e,t,n){for(var o=t.concat(e),l=e instanceof Array?e:[e],r=t.length,a=0,i=l.length;a<i;a++){var u=G(l[a],n.rowKey);if(u){var c={id:u,row:l[a],rowIndex:r+a,level:0,expanded:!1,expandChildrenLength:0,disabled:!1};c.path=[c],this.treeDataMap.set(u,c)}else $.error("Table","`rowKey` could be wrong, can not get rowValue from `data` by `rowKey`.")}return o}},{key:"insertAfter",value:function(e,t,n,o){return this.insert(e,t,n,o,"after")}},{key:"insertBefore",value:function(e,t,n,o){return this.insert(e,t,n,o,"before")}},{key:"insert",value:function(e,t,n,o,l){var r=this.treeDataMap.get(e);if(!this.validateDataExist(r,e))return n;var a=G(t,o.rowKey),i=this.treeDataMap.get(a);if(!this.validateDataDoubleExist(i,a))return n;var u={id:a,row:t,rowIndex:"after"===l?r.rowIndex+1:r.rowIndex,level:r.level,expanded:!1,expandChildrenLength:0,disabled:!1,path:r.path.slice(0,-1),parent:r.parent};u.path=u.path.concat(u);var c="after"===l?r.rowIndex+(r.expandChildrenLength+1):r.rowIndex;n.splice(c,0,t);var s="after"===l?1:0;if(r.parent){var d=r.parent.row[o.childrenKey].findIndex((function(t){return e===G(t,o.rowKey)}));r.parent.row[o.childrenKey].splice(d+s,0,t),ta(this.treeDataMap,r.parent.row,1,"insert",o)}return this.treeDataMap.set(a,u),ra(this.treeDataMap,n,{rowKey:o.rowKey,minRowIndex:r.rowIndex+1,type:"add"}),n}},{key:"swapData",value:function(e,t,n){var o=t.currentIndex,l=t.targetIndex;if(o===l)return{dataSource:e,result:!0};var r=G(t.current,n.rowKey),a=G(t.target,n.rowKey),i=this.treeDataMap.get(r),u=this.treeDataMap.get(a);if(i.level!==u.level)return{dataSource:e,result:!1,code:Jr,reason:Zr};var c=o+i.expandChildrenLength+1,s=l+u.expandChildrenLength+1,d=e.slice(o,c),v=e.slice(l,s);if(o>l){var f=e.slice(s,o),p=d.concat(v,f);e.splice(l,p.length),e.splice.apply(e,[l,0].concat(K(p))),ra(this.treeDataMap,e,{rowKey:n.rowKey,minRowIndex:l,maxRowIndex:c})}else{var h=e.slice(c,l).concat(v,d);e.splice(o,h.length),e.splice.apply(e,[o,0].concat(K(h))),ra(this.treeDataMap,e,{rowKey:n.rowKey,minRowIndex:o,maxRowIndex:s})}if(i.parent){for(var g=i.parent.row[n.childrenKey],b=0,w=-1,m=-1,y=0,C=g.length;y<C&&(G(g[y],n.rowKey)===r&&(m=y,b+=1),G(g[y],n.rowKey)===a&&(w=y,b+=1),!(b>=2));y++);m<w?(g.splice(w+1,0,t.current),g.splice(m,1)):(g.splice(m,1),g.splice(w,0,t.current))}return{dataSource:e,result:!0}}},{key:"expandAll",value:function(e,t){var n=this;this.expandAllRowIndex=0;var o=[],l=function(e,t){for(var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=0,i=e.length;a<i;a++){var u=e[a],c=G(u,t.rowKey),s=n.treeDataMap.get(c),d=G(u,t.childrenKey);if(s.rowIndex=n.expandAllRowIndex,!0!==d&&null!=d&&d.length&&(s.expanded=!0),s.expandChildrenLength=(null==d?void 0:d.length)||0,n.expandAllRowIndex+=1,o.push(u),n.treeDataMap.set(c,s),null!=d&&d.length){for(var v=r;null!==(f=v)&&void 0!==f&&f.row;){var f;v.expandChildrenLength+=d.length,n.treeDataMap.set(v.id,v),v=v.parent}l(d,t,s)}}};return l(e,t),o}},{key:"foldAll",value:function(e,t){for(var n=[],o=0,l=0,r=e.length;l<r;l++){var a=e[l],i=G(a,t.rowKey),u=this.treeDataMap.get(i);u.rowIndex=0===u.level?o:-1,u.expanded=!1,u.expandChildrenLength=0,0===u.level&&(n.push(a),o+=1);var c=G(a,t.childrenKey);null!=c&&c.length&&this.foldAll(c,t)}return n}},{key:"getTreeNode",value:function(e,t){for(var n=[],o=0,l=e.length;o<l;o++){var r=e[o],a=G(r,t.rowKey);0===this.treeDataMap.get(a).level&&n.push(r)}return n}},{key:"getTreeExpandedRow",value:function(e,t){var n=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"data",l=[];return e.forEach((function(e){var r=G(e,t.rowKey),a=n.treeDataMap.get(r);a.expanded&&("unique"===o?l.push(r):"data"===o?l.push(e):l.push(a))})),l}},{key:"initialTreeDataMap",value:function(e,t,n,o){for(var l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,a=0,i=t.length;a<i;a++){var u=t[a],c=Qr(u,o.rowKey);if(p(c))return void $.error("EnhancedTable","`rowKey` could be wrong, can not get rowValue from `data` by `rowKey`.");var s=G(u,o.childrenKey),d={id:c,row:u,rowIndex:0===l?a:-1,level:l,expanded:!1,expandChildrenLength:0,disabled:vo(n,u,a),parent:r};d.path=r?r.path.concat(d):[d],e.set(c,d),null!=s&&s.length&&this.initialTreeDataMap(e,s,n,o,l+1,d)}}},{key:"updateDisabledState",value:function(e,t,n){for(var o=0,l=e.length;o<l;o++){var r=e[o],a=G(r,n.rowKey);if(p(a))return void $.error("EnhancedTable","`rowKey` could be wrong, can not get rowValue from `data` by `rowKey`.");var i=this.treeDataMap.get(a);i.disabled=vo(t,r,o),this.treeDataMap.set(a,i);var u=G(r,n.childrenKey);null!=u&&u.length&&this.updateDisabledState(u,t,n)}}},{key:"validateDataExist",value:function(e,t){return!!e||($.warn("EnhancedTable","".concat(t," does not exist.")),!1)}},{key:"validateDataDoubleExist",value:function(e,t){return!e||($.warn("EnhancedTable","Duplicated Key. ".concat(t," already exists.")),!1)}}])}();function ta(e,t,n,o,l){for(var r=t;r;){var a,i=e.get(G(r,l.rowKey)),u=(i.expandChildrenLength||0)+n;i.expandChildrenLength=Math.max(0,u),r=null==i||null===(a=i.parent)||void 0===a?void 0:a.row}"fold"===o&&na(e,t,l)}function na(e,t,n){var o=G(t,n.childrenKey);null!=o&&o.length&&o.forEach((function(t){var o=e.get(G(t,n.rowKey));o&&(o.expandChildrenLength=0,na(e,o.row,n))}))}function oa(e,t,n,o){var l=t.row,r=t.rowIndex;G(l,o.childrenKey).forEach((function(l,a){var i=G(l,o.rowKey),u=n?r+1+a:-1,c=Gr(Gr({},e.get(i)),{},{row:l,rowIndex:u,expanded:!1,parent:t});if(e.set(i,c),!n){var s=G(l,o.childrenKey);null!=s&&s.length&&oa(e,Gr(Gr({},c),{},{rowIndex:-1,expanded:!1}),n,o)}}))}function la(e,t,n,o){for(var l=0,r=e.length;l<r;l++){var a=e[l];if(G(a,o.rowKey)===t)return void(e[l]=n);var i=G(a,o.childrenKey)||[];null!=i&&i.length&&la(i,t,n,o)}}function ra(e,t,n){for(var o=n.minRowIndex||0,l=n.maxRowIndex||t.length,r=o;r<l;r++){var a=t[r],i=e.get(G(a,n.rowKey));i||$.warn("Table","tree map went wrong"),i.rowIndex=r+((null==n?void 0:n.count)||1)-1}} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function aa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function ia(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?aa(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):aa(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ua(e,t){var n=t.store,o=t.dataSource,l=t.rowDataKeys,r=V(e),u=r.data,c=r.expandedTreeNodes,s=r.tree,d=a(!1),v=a(!1),f=ce(c,e.defaultExpandedTreeNodes,e.onExpandedTreeNodesChange,"expandedTreeNodes"),p=N(f,2),h=p[0],g=p[1],b=a({type:"props-change"});function w(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"expand-all",t=(arguments.length>1?arguments[1]:void 0)||u.value;o.value=n.value.expandAll(t,l.value);var r=o.value.map((function(e){return Qr(e,l.value.rowKey)}));g(r,{row:void 0,rowState:void 0,rowIndex:void 0,type:"expand",trigger:e}),b.value.type="expand-all"}function m(e,t){var o=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],o=[],l=new Map,r=new Map,a=0,i=e.length;a<i;a++)l.set(e[a],!0);for(var u=0,c=t.length;u<c;u++)r.set(t[u],!0);for(var s=0,d=e.length;s<d;s++)r.get(e[s])||o.push(e[s]);for(var v=0,f=t.length;v<f;v++)l.get(t[v])||n.push(t[v]);return{removedList:n,addedList:o}}(t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:[]),r=o.addedList,a=o.removedList;return n.value.expandTreeNode(r,e,l.value),n.value.foldTreeNode(a,e,l.value),K(e)}i([h,u],(function(e,t){var r=N(e,1)[0],a=N(t,1)[0];if(n.value.treeDataMap.size&&u.value.length){if("user-reaction-change"===b.value.type){var i=b.value||{},c=i.row,s=i.rowIndex;o.value=K(n.value.toggleExpandData({row:c,rowIndex:s},K(o.value),l.value))}else"props-change"===b.value.type&&m(o.value,r,a);b.value.type="props-change"}}));return{tExpandedTreeNode:h,isDefaultExpandAllExecute:d,isDefaultExpandedTreeNodesExecute:v,expandAll:w,foldAll:function(){o.value=K(n.value.foldAll(o.value,l.value)),g([],{row:void 0,rowState:void 0,rowIndex:void 0,type:"fold",trigger:"fold-all"})},onExpandFoldIconClick:function(t,o){var r,a=t.row,i=t.rowIndex;b.value=ia({type:"user-reaction-change"},t);var u=Qr(a,l.value.rowKey),c=n.value.treeDataMap.get(u),s=K(h.value);if(c.expanded){for(var d=n.value.getExpandedChildrenKeys([a],l.value),v=0,f=s.length;v<f;v++){var p=s[v];d.includes(p)&&(s[v]=void 0)}s=s.filter(Boolean)}else s.push(u);var w={row:a,rowIndex:i,rowState:c,trigger:o};g(s,ia(ia({},w),{},{type:c.expanded?"fold":"expand"})),null===(r=e.onTreeExpandChange)||void 0===r||r.call(e,w)},updateExpandOnDataChange:function(e){var t,n;null!==(t=s.value)&&void 0!==t&&t.defaultExpandAll&&!d.value?(w("default-expand-all",K(e)),d.value=!0):null!==(n=h.value)&&void 0!==n&&n.length&&C((function(){o.value=m(K(e),h.value,[])}))}}} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function ca(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function sa(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ca(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ca(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function da(e,n){var o=V(e),l=o.data,r=o.columns,u=te("table",e.locale),c=u.t,s=u.globalConfig,d=Ce({AddRectangleIcon:bt,MinusRectangleIcon:jt}),f=d.AddRectangleIcon,p=d.MinusRectangleIcon,h=a(new ea),g=ke(),b=a([]),w=qt().tableTreeClasses,m=Re(),y=t((function(){var t;return{rowKey:e.rowKey||"id",childrenKey:(null===(t=e.tree)||void 0===t?void 0:t.childrenKey)||"children"}})),C=ua(e,{store:h,dataSource:b,rowDataKeys:y}),x=C.tExpandedTreeNode,O=C.isDefaultExpandAllExecute,S=C.isDefaultExpandedTreeNodesExecute,R=C.expandAll,D=C.foldAll,E=C.updateExpandOnDataChange,P=C.onExpandFoldIconClick,A=t((function(){return r.value.find((function(e){return"row-select"===e.colKey}))}));i(A,(function(e){h.value&&h.value.updateDisabledState(b.value,e,y.value)}));function _(t){var n,o=e.columns,l=e.expandedTreeNodes,r=e.defaultExpandedTreeNodes,a=e.tree;h.value.initialTreeStore(t,o,y.value);var i=Boolean(!S.value&&(null==r?void 0:r.length)),u=Boolean((null==a?void 0:a.defaultExpandAll)&&!O.value);null!==(n=x.value)&&void 0!==n&&n.length&&(l||i)||u?(E(t),S.value=!0):b.value=K(t)}return i([l],(function(){e.tree?_(l.value):b.value=l.value}),{immediate:!0}),Fe((function(){var t;e.tree&&(null===(t=h.value.treeDataMap)||void 0===t||t.clear(),h.value=null)})),i((function(){var t;return[r,null===(t=e.tree)||void 0===t?void 0:t.treeNodeColumnIndex]}),(function(){g.value=function(){var t,n=e.columns,o=(null===(t=e.tree)||void 0===t?void 0:t.treeNodeColumnIndex)||0;for(;null!==(l=n[o])&&void 0!==l&&l.type||"__EXPAND_ROW_ICON_COLUMN__"===(null===(r=n[o])||void 0===r?void 0:r.colKey);){var l,r;o+=1}return n[o]}()}),{immediate:!0}),{store:h,rowDataKeys:y,dataSource:b,swapData:function(t){var n=h.value.swapData(b.value,t,y.value);if(n.result)b.value=K(n.dataSource);else{var o,l={code:n.code,reason:n.reason};null===(o=e.onAbnormalDragSort)||void 0===o||o.call(e,l)}},setData:function(e,t){var n=h.value.updateData(e,t,b.value,y.value),o=K(b.value);o[n]=t,b.value=o},getData:function(e){return h.value.getData(e)},remove:function(e){b.value=K(h.value.remove(e,b.value,y.value))},removeChildren:function(e){b.value=K(h.value.removeChildren(e,b.value,y.value))},appendTo:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;b.value=e?K(h.value.appendTo(e,t,b.value,y.value)):h.value.appendToRoot(t,b.value,y.value)},insertAfter:function(e,t){b.value=K(h.value.insertAfter(e,t,b.value,y.value))},insertBefore:function(e,t){b.value=K(h.value.insertBefore(e,t,b.value,y.value))},formatTreeColumn:function(t){if(!e.tree||t.colKey!==g.value.colKey)return t;var o=sa({},g.value);return o.cell=function(o,l){var r,a,i=Bn(sa(sa({},l),{},{col:sa({},g.value)}),n.slots,{cellEmptyContent:e.cellEmptyContent}),u=h.value.treeDataMap.get(G(l.row,y.value.rowKey)),d=function(t){var n,o;if(void 0!==t){var l=void 0===(null===(n=e.tree)||void 0===n?void 0:n.indent)?24:null===(o=e.tree)||void 0===o?void 0:o.indent;return l?{paddingLeft:"".concat(t*l||1,"px")}:{}}}(null==u?void 0:u.level),b=j({},w.inlineCol,!!t.ellipsis),C=G(l.row,y.value.childrenKey);if(C&&C instanceof Array||!0===C){var x,O=null!==(x=h.value.treeDataMap.get(G(l.row,y.value.rowKey)))&&void 0!==x&&x.expanded?(r=sa(sa({},l),{},{type:"fold"}),a=c(s.value.treeExpandAndFoldIcon,T,r)||v(p,null,null),m("treeExpandAndFoldIcon",{defaultNode:a,params:r})):function(e){var t=sa(sa({},e),{},{type:"expand"}),n=c(s.value.treeExpandAndFoldIcon,T,t)||v(f,null,null);return m("treeExpandAndFoldIcon",{defaultNode:n,params:t})}(l);return v("div",{class:[w.col,b],style:d},[!(!C.length&&!0!==C)&&v("span",{class:w.icon,onClick:function(e){P(l,"expand-fold-icon"),e.stopPropagation()}},[O]),i])}return v("div",{style:d,class:[b,w.leafNode]},[v("span",{class:w.icon},null),i])},!0===o.ellipsis&&(o.ellipsis=function(e,t){return Bn(sa(sa({},t),{},{col:sa({},g.value)}),n.slots)}),o},toggleExpandData:function(t,n){var o,l,r=sa({},t);void 0!==t.row.VIRTUAL_SCROLL_INDEX&&(r.rowIndex=t.row.VIRTUAL_SCROLL_INDEX),b.value=K(h.value.toggleExpandData(r,b.value,y.value));var a=G(t.row,y.value.rowKey),i=null===(o=h.value)||void 0===o||null===(o=o.treeDataMap)||void 0===o?void 0:o.get(a);null===(l=e.onTreeExpandChange)||void 0===l||l.call(e,{row:t.row,rowIndex:t.rowIndex,rowState:i,trigger:n})},expandAll:R,foldAll:D,getTreeNode:function(){return h.value.getTreeNode(b.value,y.value)},resetData:_,getTreeExpandedRow:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"data";return h.value.getTreeExpandedRow(b.value,y.value,e)},onExpandFoldIconClick:P}} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function va(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function fa(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?va(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):va(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var pa=new Map;function ha(e,t,n,o){if(pa.get(t))return pa.get(t);var l=o||{allChildren:[],allChildrenKeys:[],leafNodeKeys:[]},r=G(t,n.childrenKey);if(!r||!r.length)return l;var a=r.filter((function(t){var o;return!(null!==(o=e.get(G(t,n.rowKey)))&&void 0!==o&&o.disabled)}));l.allChildren=K(new Set(l.allChildren.concat(a)));for(var i=0,u=r.length;i<u;i++){var c=r[i],s=G(c,n.childrenKey);if(null!=s&&s.length){var d=ha(e,c,n,l);l.allChildren=K(new Set(l.allChildren.concat(d.allChildren)))}}for(var v=0,f=l.allChildren.length;v<f;v++){var p=l.allChildren[v],h=G(p,n.childrenKey),g=G(p,n.rowKey);l.allChildrenKeys.push(g),h&&h.length||l.leafNodeKeys.push(g)}return l.allChildrenKeys=K(new Set(l.allChildrenKeys)),l.leafNodeKeys=K(new Set(l.leafNodeKeys)),l}function ga(e,n){var o=V(e),l=o.selectedRowKeys,r=o.tree,u=o.data,c=o.indeterminateSelectedRowKeys,s=a([]),d=ce(l,e.defaultSelectedRowKeys||[],e.onSelectChange,"selectedRowKeys"),v=N(d,2),f=v[0],p=v[1],h=t((function(){var t;return{rowKey:e.rowKey||"id",childrenKey:(null===(t=e.tree)||void 0===t?void 0:t.childrenKey)||"children"}}));return i([r,n,u,f],(function(e){var t=N(e,2),o=t[0],l=t[1];o&&l.size&&!o.checkStrictly&&function(){if(!r.value||r.value.checkStrictly)return;if(!f.value.length)return void(s.value=[]);for(var e=[],t={},o=0,l=f.value.length;o<l;o++){var a=f.value[o],i=n.value.get(a);if(i){var u=G(i.row,h.value.childrenKey);if(!u||!u.length)for(var c=i.parent;c;){t[c.id]||(t[c.id]=[]),t[c.id].push(i.row);var d=t[c.id].length,v=ha(n.value,c.row,h.value).allChildrenKeys,p=e.indexOf(c.id),g=f.value.indexOf(c.id);d>0&&d<v.length&&-1===g?-1===p&&e.push(c.id):-1!==p&&e.splice(p,1),c=c.parent}}}s.value=e}()})),{tIndeterminateSelectedRowKeys:c.value?c:s,onInnerSelectChange:function(t,o){r.value&&!r.value.checkStrictly?"CHECK_ALL_BOX"===o.currentRowKey?function(e){var t=[],o=[];if("check"===e.type)for(var l=K(n.value.values()),r=0,a=l.length;r<a;r++){var i=l[r];i.disabled||(o.push(i.row),t.push(G(i.row,h.value.rowKey)))}var u=fa(fa({},e),{},{selectedRowData:o});p(t,u)}(o):function(t,o){var l,a=K(t);if(!1===(null===(l=e.tree)||void 0===l?void 0:l.checkStrictly))if("check"===(null==o?void 0:o.type)){var i=ha(n.value,o.currentRowData,h.value),u=i.allChildrenKeys;pa.set(o.currentRowData,i),a=K(new Set(a.concat(u)))}else if("uncheck"===(null==o?void 0:o.type)){var c=function(e){for(var t=e.selectedRowKeys,n=e.removeKeys,o={data:[],keys:[]},l=0,r=t.length;l<r;l++){var a=t[l];n.includes(a)||o.keys.push(a)}return o}({selectedRowKeys:t,removeKeys:ha(n.value,o.currentRowData,h.value).allChildrenKeys});a=c.keys}a=function(e,t,o){if(r.value&&!r.value.checkStrictly){for(var l=K(e),a=n.value.get(t).parent;a;){var i=ha(n.value,a.row,h.value).leafNodeKeys,u=tt(i,e),c=l.indexOf(a.id);"uncheck"===o?-1!==c&&l.splice(c,1):u.length===i.length&&-1===c&&l.push(a.id),a=a.parent}return l}}(a,o.currentRowKey,o.type);var s=function(e){for(var t=e.treeDataMap,n=e.selectedRowKeys,o=[],l=0,r=n.length;l<r;l++){var a=n[l];o.push(t.get(a))}return o}({treeDataMap:n.value,selectedRowKeys:a}),d=fa(fa({},o),{},{selectedRowData:s});p(a,d)}(t,o):p(t,o)}}} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var ba=["store","dataSource","formatTreeColumn","swapData","onExpandFoldIconClick"];function wa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function ma(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?wa(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wa(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ya=e({name:"TEnhancedTable",props:ma(ma(ma({},Ht),oo),Ur),setup:function(e,n){var o=a(null),l=da(e,n),i=l.store,u=l.dataSource,c=l.formatTreeColumn,s=l.swapData,d=l.onExpandFoldIconClick,f=Me(l,ba),p=r(),h=a(i.value.treeDataMap),g=ga(e,h),b=g.tIndeterminateSelectedRowKeys,w=g.onInnerSelectChange,m=function(e){for(var t=[],n=0,o=e.length;n<o;n++){var l,r,a=ma({},e[n]);null!==(l=(a=c(a)).children)&&void 0!==l&&l.length&&(a.children=m(a.children)),(!a.children||null!==(r=a.children)&&void 0!==r&&r.length)&&t.push(a)}return t},y=t((function(){return!e.tree||!Object.keys(e.tree).length?e.columns:m(e.columns)})),C=function(t){var n;e.beforeDragSort&&!e.beforeDragSort(t)||(s({current:t.current,target:t.target,currentIndex:t.currentIndex,targetIndex:t.targetIndex}),null===(n=e.onDragSort)||void 0===n||n.call(e,t))},x=function(t){var n,o;null!==(n=e.tree)&&void 0!==n&&n.expandTreeNodeOnClick&&d({row:t.row,rowIndex:t.index},"row-click"),null===(o=e.onRowClick)||void 0===o||o.call(e,t)},O=function(e,t){return e?e.rowIndex>=0?e.rowIndex:e.rowIndex<0?O(e.parent):void 0:-1};return n.expose(ma(ma({store:i.value,dataSource:u.value},f),{},{primaryTableRef:o,validateRowData:function(e){return o.value.validateRowData(e)},validateTableData:function(){return o.value.validateTableData()},clearValidateData:function(){o.value.clearValidateData()},refreshTable:function(){o.value.refreshTable()},scrollToElement:function(e){var t=e.index;if(!t&&0!==t){if(!e.key)return void $.error("Table","scrollToElement: one of `index` or `key` must exist.");var n=h.value.get(e.key);((t=O(n,e.key))<0||void 0===t)&&$.error("Table","".concat(e.key," does not exist in data, check `rowKey` or `data` please."))}o.value.scrollToElement(ma(ma({},e),{},{index:t}))}})),function(){var t,l=ma(ma({},Ke().vnode.props),{},{rowKey:e.rowKey||"id",data:u.value,columns:y.value,indeterminateSelectedRowKeys:b.value,disableDataPage:Boolean(e.tree&&Object.keys(e.tree).length)||e.disableDataPage,onSelectChange:w,onDragSort:C,rowClassName:function(t){var n=t.row,o=G(n,e.rowKey||"id"),l=h.value.get(o);return l?["".concat(p.value,"-table-tr--level-").concat(l.level),e.rowClassName]:[e.rowClassName]}});return null!==(t=e.tree)&&void 0!==t&&t.expandTreeNodeOnClick&&(l.onRowClick=x),v(qr,ne(l,{ref:o}),n.slots)}}}); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */x(no),x(qr),x(ya);var Ca=x(Ae(qr),"TTable");const xa=e({name:"About Page",setup(e){const n=Be(),o=t((()=>n.data)),l=Ne(),r=[{title:Le("pages.note.tableTitleName"),align:"left",width:320,colKey:"title",fixed:"left"},{title:Le("pages.note.tableOperation"),align:"left",fixed:"right",width:160,colKey:"op"}],i=a({defaultPageSize:20,total:o.value.length,defaultCurrent:1}),u=a(""),c=a(!1),s=()=>{n.remove(u.value),c.value=!1,qe.success(Le("pages.note.deleteMsgSuccess")),d()},d=()=>{u.value=""},f=()=>{d()};return(e,t)=>{const n=$e,a=Ue,d=Ca,p=ut,h=Ve;return ze(),We(h,null,{default:He((()=>[v(d,{data:o.value,columns:r,"row-key":"id","vertical-align":"top",hover:!0,pagination:i.value},{op:He((t=>[v(a,null,{default:He((()=>[v(n,{theme:"primary",onClick:e=>{return n=t,void l.push(`/note/content?id=${n.row.id}`);var n}},{default:He((()=>[Xe(Ye(e.$t("pages.note.detail")),1)])),_:2},1032,["onClick"]),v(n,{theme:"danger",onClick:e=>{return n=t,u.value=n.row.id,void(c.value=!0);var n}},{default:He((()=>[Xe(Ye(e.$t("pages.note.delete")),1)])),_:2},1032,["onClick"])])),_:2},1024)])),_:1},8,["data","pagination"]),v(p,{visible:c.value,"onUpdate:visible":t[0]||(t[0]=e=>c.value=e),header:e.$t("layout.sideNav.confirmDelete"),"on-cancel":f,onConfirm:s},null,8,["visible","header"])])),_:1})}}});export{xa as default}; diff --git a/.output/public/assets/index-DP1bS-ul.js b/.output/public/assets/index-DP1bS-ul.js new file mode 100644 index 0000000000000000000000000000000000000000..ab60feb9bf173a94383e05fbe7e28469b927cd76 --- /dev/null +++ b/.output/public/assets/index-DP1bS-ul.js @@ -0,0 +1 @@ +import{o as e,c as l,a as t,d as a,b as i,e as r,f as s,r as o,t as d,g as n,_ as f,u as h,h as p,i as u,j as c,w as v,k as m,m as g,l as z,n as x,p as _,q as k,s as w,v as B,x as M,A as y,y as E,F as H,z as F,M as S,B as U,C as A,D as G,E as L,R as I,G as V}from"./main-DzSNOqOC.js";import{_ as C}from"./ChatInput.vue_vue_type_style_index_0_lang-D4A8Ko3p.js";import{u as b}from"./app-_ksMLlTy.js";import{L as j}from"./index-CjKlnN2e.js";import{C as O,a as R}from"./index-C2aHaTIl.js";import{v as T}from"./v4-_R2nDvl_.js";import"./index-DmWclHlm.js";import"./index-BuIb9tIA.js";import"./dep-916b902f-BLs2dxx4.js";import"./index-Kxldlx3l.js";const q={xmlns:"http://www.w3.org/2000/svg",width:"200",height:"140",fill:"none"};const D={render:function(a,i){return e(),l("svg",q,i[0]||(i[0]=[t('<g mask="url(#mask0_17_619)"><path fill="#97A3B7" d="M30 62h88v60H30z"></path><g filter="url(#filter0_f_17_619)"><path fill="#E3E6EB" d="M12 84h80v60H12z"></path></g><g filter="url(#filter1_f_17_619)"><path fill="#E3E6EB" d="M80 54h80v60H80z"></path></g><path fill="#fff" d="M46 105h32v2H46zM46 98h32v2H46zM46 88h16v2H46z"></path></g><path fill="currentcolor" d="M63 20h88v10H63z" opacity=".9"></path><mask id="a" width="88" height="50" x="63" y="30" maskUnits="userSpaceOnUse" style="mask-type:alpha;"><path fill="currentcolor" d="M63 30h88v50H63z"></path></mask><g mask="url(#a)"><path fill="currentcolor" d="M63 30h88v50H63z"></path><g filter="url(#filter2_f_17_619)" opacity=".3"><path fill="#97A3B7" d="M30 62h88v60H30z"></path></g></g><path fill="#fff" fill-rule="evenodd" d="m95.686 40.858 10.278 10.277A4 4 0 0 1 107 51c2.213 0 4 1.786 4 4q-.002.538-.134 1.033l10.276 10.28-2.828 2.829-4.598-4.597A17.1 17.1 0 0 1 107 65.909c-7.273 0-13.484-4.524-16-10.91a17.3 17.3 0 0 1 5.696-7.472l-3.838-3.84zM99 55a8.003 8.003 0 0 0 12.063 6.892l-3.029-3.026q-.496.132-1.034.134c-2.213 0-4-1.787-4-4q.002-.538.134-1.034l-3.027-3.027A7.96 7.96 0 0 0 99 54.999m8-10.91c7.273 0 13.484 4.524 16 10.91a17.3 17.3 0 0 1-4.166 6.177l-4.105-4.105a8.003 8.003 0 0 0-9.801-9.8l-2.55-2.551c1.47-.41 3.02-.63 4.622-.63" clip-rule="evenodd"></path><path fill="#fff" d="M68 24h2v2h-2zM74 24h2v2h-2zM80 24h66v2H80z"></path><path fill="#fff" stroke="#000" d="m157 54 24.249 42h-48.498z"></path><path stroke="#000" d="M157 89V71"></path>',8)]))}},$={xmlns:"http://www.w3.org/2000/svg",width:"200",height:"140",fill:"none"};const N={render:function(a,i){return e(),l("svg",$,i[0]||(i[0]=[t('<g mask="url(#mask0_16559_24301)"><path fill="#97A3B7" d="M30 62h88v60H30z"></path><g filter="url(#filter0_f_16559_24301)"><path fill="#E3E6EB" d="M12 84h80v60H12z"></path></g><g filter="url(#filter1_f_16559_24301)"><path fill="#E3E6EB" d="M80 54h80v60H80z"></path></g><path stroke="#fff" stroke-width="2" d="m49 93-7 7 7 7M69 107l7-7-7-7M62.365 87.443l-6.73 25.114"></path></g><path fill="currentcolor" d="M63 20h88v10H63z" opacity=".9"></path><mask id="a" width="88" height="50" x="63" y="30" maskUnits="userSpaceOnUse" style="mask-type:alpha;"><path fill="currentcolor" d="M63 30h88v50H63z"></path></mask><g mask="url(#a)"><path fill="currentcolor" d="M63 30h88v50H63z"></path><g filter="url(#filter2_f_16559_24301)" opacity=".3"><path fill="#97A3B7" d="M30 62h88v60H30z"></path></g></g><path fill="#fff" fill-rule="evenodd" d="M105.25 41c6.765 0 12.25 5.484 12.25 12.25 0 2.433-.709 4.7-1.932 6.606L121 65.288 117.288 69l-5.432-5.432a12.2 12.2 0 0 1-6.606 1.932C98.484 65.5 93 60.016 93 53.25S98.484 41 105.25 41m0 3.5a8.75 8.75 0 1 0 0 17.5 8.75 8.75 0 0 0 0-17.5" clip-rule="evenodd"></path><path fill="#fff" d="M68 24h2v2h-2zM74 24h2v2h-2zM80 24h66v2H80z"></path><path fill="#fff" fill-rule="evenodd" d="M153 56c-12.15 0-22 9.85-22 22 0 4.604 1.414 8.878 3.832 12.41L127 98.5l12.495-3.132A21.9 21.9 0 0 0 153 100c12.15 0 22-9.85 22-22s-9.85-22-22-22" clip-rule="evenodd"></path><path fill="#000" d="M131 78h.5zm3.832 12.41.359.348.284-.293-.23-.337zM127 98.5l-.359-.348-1.219 1.259 1.7-.426zm12.495-3.132.307-.394-.192-.15-.237.06zM153 100v.5zm22-22h-.5zm-43.5 0c0-11.874 9.626-21.5 21.5-21.5v-1c-12.426 0-22.5 10.074-22.5 22.5zm3.745 12.128A21.4 21.4 0 0 1 131.5 78h-1c0 4.708 1.446 9.08 3.919 12.693zm-.772-.066-7.832 8.09.718.696 7.832-8.09zm-7.351 8.923 12.494-3.132-.243-.97-12.495 3.132zM153 99.5c-4.976 0-9.555-1.69-13.198-4.526l-.615.789A22.4 22.4 0 0 0 153 100.5zM174.5 78c0 11.874-9.626 21.5-21.5 21.5v1c12.426 0 22.5-10.074 22.5-22.5zM153 56.5c11.874 0 21.5 9.626 21.5 21.5h1c0-12.426-10.074-22.5-22.5-22.5z"></path>',8)]))}},P={xmlns:"http://www.w3.org/2000/svg",width:"200",height:"140",fill:"none"};const Q={render:function(a,i){return e(),l("svg",P,i[0]||(i[0]=[t('<g mask="url(#mask0_16559_24251)"><path fill="#97A3B7" d="m68 48 38.105 22v44L68 136l-38.105-22V70z"></path><g filter="url(#a)"><path fill="#E3E6EB" d="M46.391 92h80v60h-80z"></path></g><g filter="url(#b)"><path fill="#E3E6EB" d="M0 23h80v60H0z"></path></g></g><mask id="c" width="78" height="88" x="80" y="9" maskUnits="userSpaceOnUse" style="mask-type:alpha;"><path fill="currentcolor" d="m119 9 38.105 22v44L119 97 80.895 75V31z"></path></mask><g mask="url(#c)"><path fill="currentcolor" fill-rule="evenodd" d="M80.895 31v44L119 97l38.105-22V31L119 53z" clip-rule="evenodd"></path><path fill="currentcolor" d="m119-35 38.105 22v44.5L119 53.5l-38.105-22V-13z" opacity=".9"></path><g filter="url(#d)" opacity=".3"><path fill="#97A3B7" d="m68 48 38.105 22v44L68 136l-38.105-22V70z"></path></g></g><path fill="#fff" stroke="#000" d="m143 68.822 4.867 17.053.133.466.469-.118 17.202-4.312-12.335 12.741-.337.348.337.348 12.335 12.741-17.202-4.312-.469-.118-.133.466L143 121.178l-4.867-17.053-.133-.466-.469.118-17.202 4.312 12.335-12.741.337-.348-.337-.348-12.335-12.741 17.202 4.312.469.118.133-.466z"></path><path fill="#fff" fill-rule="evenodd" d="m123.243 35.082 2.828-1.633-2.828-1.633-2.829 1.633zM119 32.632 121.828 31l-7.071-4.082-2.828 1.633zm8.485 3.267c-4.679 2.701-12.291 2.701-16.97 0-4.68-2.702-4.68-7.096 0-9.798s12.291-2.701 16.97 0c4.68 2.702 4.68 7.096 0 9.798m-19.799-11.43c-6.248 3.607-6.248 9.455 0 13.062s16.38 3.607 22.628 0 6.248-9.455 0-13.062-16.38-3.607-22.628 0M41.899 86.286l2.828 1.633v6.532L41.9 92.818zm12.02 6.94 2.829 1.634v6.532l-2.828-1.633zm-9.19 14.289-2.83-1.633.001 3.266 2.828 1.633zl9.192 5.307v3.266l2.828 1.633v-3.266l-2.828-1.633v-3.266l-9.192-5.307z" clip-rule="evenodd"></path><defs><filter id="a" width="180" height="160" x="-3.609" y="42" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur result="effect1_foregroundBlur_16559_24251" stdDeviation="25"></feGaussianBlur></filter><filter id="b" width="180" height="160" x="-50" y="-27" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur result="effect1_foregroundBlur_16559_24251" stdDeviation="25"></feGaussianBlur></filter><filter id="d" width="88.21" height="100" x="23.895" y="42" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur result="effect1_foregroundBlur_16559_24251" stdDeviation="3"></feGaussianBlur></filter></defs>',6)]))}},W={xmlns:"http://www.w3.org/2000/svg",width:"200",height:"140",fill:"none"};const J={render:function(a,i){return e(),l("svg",W,i[0]||(i[0]=[t('<g mask="url(#mask0_22_990)"><path fill="#97A3B7" fill-rule="evenodd" d="m144.569 105.61-48 27.712-48-27.712V83.712L96.57 56l48 27.713z" clip-rule="evenodd"></path><g filter="url(#filter0_f_22_990)"><path fill="#E3E6EB" d="M-3 33.999h80v60H-3z"></path></g><g filter="url(#filter1_f_22_990)"><path fill="#E3E6EB" d="M97 97.999h80v60H97z"></path></g></g><mask id="a" width="86" height="69" x="53" y="16" maskUnits="userSpaceOnUse" style="mask-type:alpha;"><path fill="currentcolor" fill-rule="evenodd" d="m113.357 42.715 16.472-9.51a36 36 0 0 0-3.186-2.043c-5.375-3.104-11.92-5.147-18.885-6.139-4.209-5.562-10.18-8.898-17.324-8.828-6.755.087-15.486 5.746-21.507 14.365q-1.247.622-2.432 1.306c-14.378 8.3-16.94 20.75-7.473 30.065-1.035-5.805-.31-10.865 3.101-16.215-.058.632-.21 4.427-.232 5.067-.67 18.914 15.02 34.058 26.139 33.928 8.45-.1 15.565-5.013 20.319-12.631 6.214-1.231 12.089-3.294 17.094-6.183 13.476-7.78 16.567-19.182 9.104-28.268l-16.599 9.582c1.762 3.654.049 7.823-5.078 10.783-5.126 2.96-12.347 3.948-18.677 2.931-2.843-.469-5.522-1.342-7.74-2.622l-.049-.028zM78.655 53.773c-6.127-3.977-5.683-10.226 1.195-14.197s17.703-4.226 24.591-.69zM93.556 18.17c4.61-.04 8.728 2.405 11.94 6.57-8.447-.918-17.384-.326-25.523 1.765 3.699-5.124 8.471-8.275 13.583-8.335m-2.232 63.447c-5.853.068-10.971-3.926-14.377-10.332 8.845 2.342 18.925 2.775 28.427 1.317-3.756 5.52-8.714 8.951-14.05 9.015" clip-rule="evenodd"></path></mask><g mask="url(#a)"><path fill="currentcolor" fill-rule="evenodd" d="m113.357 42.715 16.472-9.51a36 36 0 0 0-3.186-2.043c-5.375-3.104-11.92-5.147-18.885-6.139-4.209-5.562-10.18-8.898-17.324-8.828-6.755.087-15.486 5.746-21.507 14.365q-1.247.622-2.432 1.306c-14.378 8.3-16.94 20.75-7.473 30.065-1.035-5.805-.31-10.865 3.101-16.215-.058.632-.21 4.427-.232 5.067-.67 18.914 15.02 34.058 26.139 33.928 8.45-.1 15.565-5.013 20.319-12.631 6.214-1.231 12.089-3.294 17.094-6.183 13.476-7.78 16.567-19.182 9.104-28.268l-16.599 9.582c1.762 3.654.049 7.823-5.078 10.783-5.126 2.96-12.347 3.948-18.677 2.931-2.843-.469-5.522-1.342-7.74-2.622l-.049-.028zM78.655 53.773c-6.127-3.977-5.683-10.226 1.195-14.197s17.703-4.226 24.591-.69zM93.556 18.17c4.61-.04 8.728 2.405 11.94 6.57-8.447-.918-17.384-.326-25.523 1.765 3.699-5.124 8.471-8.275 13.583-8.335m-2.232 63.447c-5.853.068-10.971-3.926-14.377-10.332 8.845 2.342 18.925 2.775 28.427 1.317-3.756 5.52-8.714 8.951-14.05 9.015" clip-rule="evenodd"></path><g filter="url(#filter2_f_22_990)" opacity=".3"><path fill="#97A3B7" d="m96.569 56 48 27.712v55.426l-48 27.712-48-27.712V83.712z"></path></g></g><circle cx="155" cy="78" r="22" fill="#fff" stroke="#000" transform="rotate(180 155 78)"></circle><path stroke="#000" d="M155 83V65"></path><path fill="#C4C4C4" stroke="#000" stroke-linejoin="round" stroke-width="2" d="M155 87h.004v.004H155z"></path><path stroke="#fff" stroke-width="2" d="M96.57 112V88M86.57 98l10-10 9.999 10"></path>',7)]))}},K={xmlns:"http://www.w3.org/2000/svg",width:"200",height:"140",fill:"none"};const X={render:function(a,i){return e(),l("svg",K,i[0]||(i[0]=[t('<mask id="a" width="78" height="88" x="80" y="9" maskUnits="userSpaceOnUse" style="mask-type:alpha;"><path fill="currentColor" d="m119 9 38.105 22v44L119 97 80.895 75V31z"></path></mask><g mask="url(#a)"><path fill="currentColor" d="m119 9 38.105 22v44L119 97 80.895 75V31z"></path><g filter="url(#b)" opacity=".3"><path fill="#97A3B7" d="m68 48 38.105 22v44L68 136l-38.105-22V70z"></path></g></g><mask id="c" width="78" height="88" x="29" y="48" maskUnits="userSpaceOnUse" style="mask-type:alpha;"><path fill="#97A3B7" d="m68 48 38.105 22v44L68 136l-38.105-22V70z"></path></mask><g mask="url(#c)"><path fill="#97A3B7" d="m68 48 38.105 22v44L68 136l-38.105-22V70z"></path><g filter="url(#d)"><path fill="#E3E6EB" d="M46.391 92h80v60h-80z"></path></g><g filter="url(#e)"><path fill="#E3E6EB" d="M0 23h80v60H0z"></path></g></g><path fill="#fff" d="m41.898 86.287 2.829 1.633v6.531l-2.828-1.632zM53.919 93.227l2.828 1.633v6.532l-2.828-1.633zM44.728 107.515l-2.829-1.633v3.266l2.829 1.633zl9.191 5.308v3.265l2.829 1.633v-3.266l-2.828-1.632v-3.266l-9.193-5.308z"></path><path fill="#fff" fill-rule="evenodd" d="M108.348 23.48c-2.16 2.51-1.813 5.903 1.047 8.08 3.265 2.486 8.568 2.447 11.845-.087 3.276-2.534 3.286-6.603.021-9.089-2.86-2.177-7.284-2.417-10.54-.74l5.202 3.96-2.373 1.836z" clip-rule="evenodd"></path><path fill="#fff" fill-rule="evenodd" d="m120.865 33.009 8.965 6.826 2.373-1.836-8.965-6.826q-.481.523-1.089.993-.608.468-1.284.843m-1.203-.916a8.5 8.5 0 0 0 1.305-.828 7.248 7.248 0 0 1 0 0 8.5 8.5 0 0 1-1.305.828" clip-rule="evenodd"></path><path fill="#fff" stroke="#181818" d="m144 70 24.249 42h-48.498z"></path><path stroke="#181818" d="M144 100V82"></path><path stroke="#181818" stroke-linejoin="round" stroke-width="2" d="M144 105h.004v.004H144z"></path><defs><filter id="b" width="88.21" height="100" x="23.895" y="42" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur result="effect1_foregroundBlur_216_313" stdDeviation="3"></feGaussianBlur></filter><filter id="d" width="180" height="160" x="-3.609" y="42" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur result="effect1_foregroundBlur_216_313" stdDeviation="25"></feGaussianBlur></filter><filter id="e" width="180" height="160" x="-50" y="-27" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur result="effect1_foregroundBlur_216_313" stdDeviation="25"></feGaussianBlur></filter></defs>',11)]))}},Y={xmlns:"http://www.w3.org/2000/svg",width:"200",height:"140",fill:"none"};const Z={render:function(a,i){return e(),l("svg",Y,i[0]||(i[0]=[t('<g mask="url(#mask0_21_716)"><path fill="#97A3B7" fill-rule="evenodd" d="M33 46.843 96.321 119l63.322-72.157C142.742 32 120.583 23 96.321 23 72.061 23 49.901 32 33 46.843" clip-rule="evenodd"></path><g filter="url(#filter0_f_21_716)"><path fill="#E3E6EB" d="M95 21h80v60H95z"></path></g><g filter="url(#filter1_f_21_716)"><path fill="#E3E6EB" d="M-7 43h80v60H-7z"></path></g></g><path fill="currentcolor" d="m72.812 63.688-3.157 3.157 6.246 6.247a50.3 50.3 0 0 0-12.713 8.151L96.321 119l11.913-13.575 6.413 6.412 3.157-3.157L80.45 71.326zM129.455 81.243l-15.318 17.455-28.74-28.74a50.4 50.4 0 0 1 10.924-1.19c12.695 0 24.29 4.709 33.134 12.475"></path><path fill="#fff" stroke="#000" d="m152 21.822 4.867 17.053.133.465.469-.117 17.202-4.312-12.335 12.741-.337.348.337.348 12.335 12.741-17.202-4.312-.469-.117-.133.465L152 74.178l-4.867-17.053-.133-.465-.469.117-17.202 4.312 12.335-12.741.337-.348-.337-.348-12.335-12.741 17.202 4.312.469.117.133-.465z"></path><path stroke="#fff" stroke-width="2" d="M101 31 90 42l11 11-8 8"></path>',4)]))}},ee={class:"result-container"},le={class:"result-bg-img"},te={class:"result-title"},ae={class:"result-tip"},ie=f(a({__name:"index",props:{bgUrl:String,title:String,tip:String,type:String},setup(t){const a=t,f=i((()=>{switch(a.type){case"403":default:return D;case"404":return N;case"500":return Q;case"ie":return J;case"wifi":return Z;case"maintenance":return X}}));return(a,i)=>(e(),l("div",ee,[r("div",le,[(e(),s(o(f.value)))]),r("div",te,d(t.title),1),r("div",ae,d(t.tip),1),n(a.$slots,"default",{},void 0,!0)]))}}),[["__scopeId","data-v-50bd89bc"]]),re={class:"flex-1 w-full overflow-hidden flex flex-col"},se={class:"flex flex-col justify-center items-center gap-3 w-full"},oe={class:"text-center"},de={class:"text-2xl font-bold"},ne=["title"],fe={class:"text-center p-2"},he={key:0,class:"flex flex-col items-center align-middle gap-5 w-full p-2 overflow-y-auto no-scrollbar"},pe=["title"],ue={class:"flex gap-1"},ce={class:"w-[200px] whitespace-nowrap text-ellipsis overflow-hidden"},ve={class:"w-full relative"},me=a({name:"NewConversation",setup(t){const a=h(),n=p(),f=u(),q=c(null);v((()=>n.query.id),(e=>{if("/conversation/index"!==n.path)return void(q.value=null);const l=e;q.value=l?a.find(l):a.defaultAgent}),{immediate:!0}),m();const D=i((()=>g.availableModels.value.map((e=>({...e,title:g.getModelItemTitle(e)}))))),$=c([]),N=e=>{},P=z(),Q=e=>{if(0===$.value.length)return void S.error(U("pages.conversation.noSelectModelMsg"));const l={id:T(),name:q.value.name,avatar:q.value.avatar,agentId:q.value.id,content:q.value.content,models:[],time:(new Date).getTime(),pinned:!1,maxContextSize:10,aspectRatio:"IMAGE_ASPECT_RATIO_SQUARE",internet:!1};l.models=$.value.map((e=>({modelId:e,chats:[],startContext:0,apiAgentId:"",apiConversationId:"",apiNote:"",showing:!0,status:{responseWating:!1,chating:!1,stop:!1}}))),P.add(l),$.value=[],A.setData(e),f.push({path:"/conversation/chat",query:{id:l.id,isNew:1}})},W=x(),J=i((()=>{let e="h-[calc(100vh-2*var(--td-comp-paddingTB-m))]";return W.showLayoutHeader&&W.showFooter&&(e="h-[calc(100vh-var(--td-comp-size-xxl)-var(--td-comp-size-xxxl)-2*var(--td-comp-paddingTB-m))]"),W.showLayoutHeader&&!W.showFooter&&(e="h-[calc(100vh-var(--td-comp-size-xxxl)-2*var(--td-comp-paddingTB-m))]"),!W.showLayoutHeader&&W.showFooter&&(e="h-[calc(100vh-var(--td-comp-size-xxl)-2*var(--td-comp-paddingTB-m))]"),e})),K=e=>{f.push(e)};return(t,a)=>{const i=y,n=j,f=R,h=G,p=L,u=I,c=O,v=V;return q.value?(e(),l("div",{key:0,class:B(["flex flex-col items-center w-full gap-5",J.value])},[r("div",re,[r("div",se,[_(i,{size:"80px",image:q.value.avatar},null,8,["image"]),r("div",oe,[r("h1",de,d(q.value.name),1),_(n,{underline:"",theme:"primary",onClick:a[0]||(a[0]=e=>K("/setting/agent"))},{default:k((()=>[E(d(t.$t("pages.conversation.switchAgent")),1)])),_:1})]),r("div",{class:"text-center text-sm text-gray-500 w-full overflow-hidden whitespace-nowrap text-ellipsis",title:q.value.content},d(q.value.content),9,ne)]),r("div",fe,[r("span",null,d(t.$t("pages.conversation.modelTips",{max_model_num:w(b)})),1)]),D.value.length>0?(e(),l("div",he,[_(c,{modelValue:$.value,"onUpdate:modelValue":a[1]||(a[1]=e=>$.value=e),onChange:N,max:w(b),class:"w-full"},{default:k((()=>[_(u,{gutter:[{xs:0,sm:16,md:16,lg:16,xl:16,xxl:16},16],class:"w-full"},{default:k((()=>[(e(!0),l(H,null,F(D.value,(l=>(e(),s(p,{key:l.id,xs:12,lg:4,xl:3},{default:k((()=>[_(h,{class:"shadow-md",bordered:!1},{default:k((()=>[r("div",{class:"flex justify-between overflow-hidden",title:l.title},[r("div",ue,[_(i,{size:"20px",class:"mr-1"},{icon:k((()=>[(e(),s(o(w(g).icons[l.type])))])),_:2},1024),r("div",ce,d(l.title),1)]),(e(),s(f,{key:l.id,value:l.id},null,8,["value"]))],8,pe)])),_:2},1024)])),_:2},1024)))),128))])),_:1})])),_:1},8,["modelValue","max"])])):(e(),s(ie,{key:1,type:"404",title:t.$t("pages.conversation.emptyModelTips")},{default:k((()=>[_(v,{size:"large",theme:"primary",variant:"base",onClick:a[2]||(a[2]=e=>K("/setting/model"))},{default:k((()=>[E(d(t.$t("pages.conversation.createModel")),1)])),_:1})])),_:1},8,["title"]))]),r("div",ve,[_(C,{onInput:Q})])],2)):M("",!0)}}});export{me as default}; diff --git a/.output/public/assets/index-DmTGWjjO.js b/.output/public/assets/index-DmTGWjjO.js new file mode 100644 index 0000000000000000000000000000000000000000..3a51ebc30e7d8969cfbd381e5676f9eef3672734 --- /dev/null +++ b/.output/public/assets/index-DmTGWjjO.js @@ -0,0 +1,34 @@ +import{d as e,S as r,Z as t,aR as n,K as a,b as u,aV as l,O as o,aU as i,j as s,aW as c,ax as v,ar as f,a3 as d,as as p,a4 as m,w as g,aX as b,aS as y,p as h,aT as O,L as S,aY as w,aZ as j,N as E,a_ as x,a7 as k,U as F,aK as C,ap as M,a$ as I,b0 as P,Y as L}from"./main-DzSNOqOC.js";import{s as B,v as D}from"./form-model-CXHJGOsj.js";import{u as A,F as T,V,a as W,c as q}from"./index-DmWclHlm.js"; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function _(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function N(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?_(Object(t),!0).forEach((function(r){o(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):_(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function R(e,r){return r?"".concat(e,"__").concat(r).replace(/(\[|\]\.)/g,"_"):""}var U=e({name:"TFormItem",props:N({},{for:{type:String,default:""},help:{type:[String,Function]},label:{type:[String,Function],default:""},labelAlign:{type:String,validator:function(e){return!e||["left","right","top"].includes(e)}},labelWidth:{type:[String,Number]},name:{type:String,default:""},requiredMark:{type:Boolean,default:void 0},rules:{type:Array},showErrorMessage:{type:Boolean,default:void 0},status:{type:String,default:""},statusIcon:{type:[Boolean,Function],default:void 0},successBorder:Boolean,tips:{type:[String,Function]}}),setup:function(e,C){var M=C.slots,I=S(),P=A(),L=r("form").globalConfig,_=t({CheckCircleFilledIcon:w,CloseCircleFilledIcon:q,ErrorCircleFilledIcon:j}),U=_.CheckCircleFilledIcon,H=_.CloseCircleFilledIcon,K=_.ErrorCircleFilledIcon,Y=n(T,void 0),Z=a(),$=a("form-item"),J=u((function(){var r,t,n=null!==(r=null!==(t=e.requiredMark)&&void 0!==t?t:null==Y?void 0:Y.requiredMark)&&void 0!==r?r:L.value.requiredMark,a=ge.value.filter((function(e){return e.required})).length>0;return null!=n?n:a})),X=u((function(){return M.label||e.label})),z=u((function(){return!(null==Y||!Y.colon||!X.value)})),G=a("form__label"),Q=u((function(){return l(e.labelAlign)?null==Y?void 0:Y.labelAlign:e.labelAlign})),ee=u((function(){return l(e.labelWidth)?null==Y?void 0:Y.labelWidth:e.labelWidth})),re=u((function(){return[P.value.label,o(o(o(o({},"".concat(G.value,"--required"),J.value),"".concat(G.value,"--top"),X.value&&("top"===Q.value||!ee.value)),"".concat(G.value,"--left"),"left"===Q.value&&ee.value),"".concat(G.value,"--right"),"right"===Q.value&&ee.value)]})),te=function(){if(0!==Number(ee.value)){var r={};return ee.value&&"top"!==Q.value&&(r=i(ee.value)?{width:"".concat(ee.value,"px")}:{width:ee.value}),h("div",{class:re.value,style:r},[h("label",{for:e.for||null},[I("label")]),z.value&&L.value.colonText])}},ne=function(){var e=function(e){return h("span",{class:P.value.status},[h(e,null,null)])},r=ie.value;if(ce.value===V.SUCCESS)return e(U);if(null!=r&&r[0]){var t=r[0].type||"error";return e({error:H,warning:K}[t]||U)}return null},ae=function(){if(!1!==e.statusIcon){var r=I("statusIcon",{defaultNode:ne()});if(r)return h("span",{class:P.value.status},[r]);if(!1!==r)return(r=null==Y?void 0:Y.renderContent("statusIcon",{defaultNode:ne(),params:e}))||void 0}},ue=u((function(){return xe.value?ce.value===V.SUCCESS?e.successBorder?[P.value.success,P.value.successBorder].join(" "):P.value.success:ie.value.length?"error"===(ie.value[0].type||"error")?P.value.error:P.value.warning:void 0:""})),le=u((function(){return[P.value.controls,ue.value]})),oe=u((function(){var e={};return ee.value&&"top"!==Q.value&&(e=i(ee.value)?{marginLeft:"".concat(ee.value,"px")}:{marginLeft:ee.value}),e})),ie=s([]),se=s([]),ce=s(V.TO_BE_VALIDATED),ve=s(!1),fe=s(!1),de=function(){fe.value=!1,ie.value=[],se.value=[],ce.value=V.TO_BE_VALIDATED},pe=function(){var r=b(x.mark((function r(){var t,n=arguments;return x.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(t=n.length>0&&void 0!==n[0]?n[0]:null==Y?void 0:Y.resetType,e.name){r.next=3;break}return r.abrupt("return");case 3:return"empty"===t?B(null==Y?void 0:Y.data,e.name,(a=void 0,u=void 0,"[object String]"===(u=Object.prototype.toString.call(c(null==Y?void 0:Y.data,e.name)))&&(a=""),"[object Array]"===u&&(a=[]),"[object Object]"===u&&(a={}),a)):"initial"===t&&B(null==Y?void 0:Y.data,e.name,Se.value),r.next=6,k();case 6:ve.value?fe.value=!0:de();case 7:case"end":return r.stop()}var a,u}),r)})));return function(){return r.apply(this,arguments)}}(),me=u((function(){var e;return null!==(e=null==Y?void 0:Y.errorMessage)&&void 0!==e?e:L.value.errorMessage})),ge=u((function(){var r;if(null!==(r=e.rules)&&void 0!==r&&r.length)return e.rules;if(!e.name)return[];var t="".concat(e.name).lastIndexOf(".")||-1,n="".concat(e.name).slice(t+1);return c(null==Y?void 0:Y.rules,e.name)||c(null==Y?void 0:Y.rules,n)||[]})),be=function(){var r=b(x.mark((function r(t){var n,a;return x.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if((a={successList:[],errorList:[],rules:[],resultList:[],allowSetValue:!1}).rules="all"===t?ge.value:ge.value.filter((function(e){return(e.trigger||"change")===t})),!ge.value.length||null!==(n=a.rules)&&void 0!==n&&n.length){r.next=4;break}return r.abrupt("return",a);case 4:return a.allowSetValue=!0,r.next=7,D(Oe.value,a.rules);case 7:return a.resultList=r.sent,a.errorList=a.resultList.filter((function(e){return!0!==e.result})).map((function(r){return Object.keys(r).forEach((function(t){if(!r.message&&me.value[t]){var n=F(e.label)?e.label:e.name;r.message=(a=me.value[t],u={name:n,validate:r[t]},a.replace(/\${(.*?)}/g,(function(e,r){return u[r.trim()]||""})))} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +var a,u})),r})),a.successList=a.resultList.filter((function(e){return!0===e.result&&e.message&&"success"===e.type})),r.abrupt("return",a);case 11:case"end":return r.stop()}}),r)})));return function(e){return r.apply(this,arguments)}}(),ye=function(){var r=b(x.mark((function r(t,n){var a,u,l,i,s;return x.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return ve.value=!0,Ee.value=n,r.next=4,be(t);case 4:return a=r.sent,u=a.successList,l=a.errorList,i=a.rules,s=a.resultList,a.allowSetValue&&(se.value=u,ie.value=l),i.length&&(ce.value=l.length?V.FAIL:V.SUCCESS),fe.value&&de(),ve.value=!1,r.abrupt("return",o({},e.name,0===l.length||s));case 15:case"end":return r.stop()}}),r)})));return function(e,t){return r.apply(this,arguments)}}(),he=function(){var r=b(x.mark((function r(t){var n,a,u;return x.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,be(t);case 2:return n=r.sent,a=n.errorList,u=n.resultList,r.abrupt("return",o({},e.name,0===a.length||u));case 6:case"end":return r.stop()}}),r)})));return function(e){return r.apply(this,arguments)}}(),Oe=u((function(){return(null==Y?void 0:Y.data)&&c(null==Y?void 0:Y.data,e.name)})),Se=s(void 0),we=v(e).name,je=f({name:we,resetHandler:de,resetField:pe,validate:ye,validateOnly:he,setValidateMessage:function(e){(e||E(e))&&(0===e.length&&(ie.value=[],ce.value=V.SUCCESS),ie.value=e.map((function(e){return N(N({},e),{},{result:!1})})),ce.value=V.FAIL)}});d((function(){Se.value=p(Oe.value),null==Y||Y.children.push(je)})),m((function(){Y&&(Y.children=null==Y?void 0:Y.children.filter((function(e){return e!==je})))})),g(Oe,b(x.mark((function e(){return x.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ye("change");case 2:case"end":return e.stop()}}),e)}))),{deep:!0}),g((function(){return[e.name,JSON.stringify(e.rules)].join(",")}),(function(){ye("change")}));var Ee=s(void 0),xe=u((function(){return y(Ee.value)?Ee.value:y(e.showErrorMessage)?e.showErrorMessage:null==Y?void 0:Y.showErrorMessage})),ke=u((function(){return[P.value.formItem,R($.value,e.name),o(o({},P.value.formItemWithHelp,Fe.value),P.value.formItemWithExtra,Ce.value)]})),Fe=u((function(){var e=I("help");return e?h("div",{class:P.value.help},[e]):null})),Ce=u((function(){var e,r=function(e){return h("div",{class:P.value.extra,title:e},[e])},t=ie.value;return xe.value&&null!=t&&null!==(e=t[0])&&void 0!==e&&e.message?r(t[0].message):se.value.length?r(se.value[0].message):null})),Me=u((function(){var r=I("tips");if(!r)return null;var t=["".concat($.value,"-tips"),"".concat(Z.value,"-tips"),"".concat(Z.value,"-is-").concat(e.status||"default")];return h("div",{class:t},[r])})),Ie=function(){var e=b(x.mark((function e(){return x.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ye("blur");case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return O(W,{handleBlur:Ie}),function(){return h("div",{class:ke.value},[te(),h("div",{class:le.value,style:oe.value},[h("div",{class:P.value.controlsContent},[I("default"),ae()]),Fe.value,Me.value,Ce.value])])}}}); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function H(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}var K=L(e({name:"TForm",props:function(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?H(Object(t),!0).forEach((function(r){o(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):H(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}({},{colon:Boolean,data:{type:Object,default:function(){return{}}},disabled:{type:Boolean,default:void 0},errorMessage:{type:Object},formControlledComponents:{type:Array},id:{type:String,default:void 0},labelAlign:{type:String,default:"right",validator:function(e){return!e||["left","right","top"].includes(e)}},labelWidth:{type:[String,Number],default:"100px"},layout:{type:String,default:"vertical",validator:function(e){return!e||["vertical","inline"].includes(e)}},preventSubmitDefault:{type:Boolean,default:!0},readonly:{type:Boolean,default:void 0},requiredMark:{type:Boolean,default:void 0},resetType:{type:String,default:"empty",validator:function(e){return!e||["empty","initial"].includes(e)}},rules:{type:Object},scrollToFirstError:{type:String,validator:function(e){return!e||["","smooth","auto"].includes(e)}},showErrorMessage:{type:Boolean,default:!0},statusIcon:{type:[Boolean,Function],default:void 0},submitWithWarningMessage:Boolean,onReset:Function,onSubmit:Function,onValidate:Function}),setup:function(e,r){var t=r.expose,n=S(),l=v(e),i=l.disabled,c=l.readonly;O("formDisabled",{disabled:i}),O("formReadonly",{readonly:c});var d=s(null),p=s([]),m=v(e),g=m.showErrorMessage,w=m.labelWidth,j=m.labelAlign,k=m.data,F=m.colon,L=m.requiredMark,B=m.rules,D=m.errorMessage,V=m.resetType;O(T,f({showErrorMessage:g,labelWidth:w,labelAlign:j,data:k,colon:F,requiredMark:L,rules:B,errorMessage:D,resetType:V,children:p,renderContent:n}));var W=a("form"),q=A(),_=u((function(){return[q.value.form,o({},"".concat(W.value,"-inline"),"inline"===e.layout)]})),N=a("form-item"),U=function(r){if(y(r))return"";var t=Object.keys(r),n=M(t,1)[0];if(e.scrollToFirstError){var a=R(N.value,n);H(a)}var u=r[n];return E(u)?u.filter((function(e){return!e.result}))[0].message:""},H=function(r){var t=d.value.getElementsByClassName(r),n=M(t,1)[0],a=e.scrollToFirstError;a&&n&&n.scrollIntoView({behavior:a})},K=function(e,r){return!r||!E(r)||-1!==r.indexOf("".concat(e))},Y=function(e){var r=e.reduce((function(e,r){return Object.assign(e||{},r)}),{});return Object.keys(r).forEach((function(e){!0===r[e]&&delete r[e]})),!!P(r)||r},Z=function(){var r=b(x.mark((function r(t){var n,a,u,l,o,i,s,c,v,f;return x.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return u=(a=t||{}).fields,l=a.trigger,o=void 0===l?"all":l,i=a.showErrorMessage,s=p.value.filter((function(e){return C(e.validate)&&K(String(e.name),u)})).map((function(e){return e.validate(o,i)})),r.next=4,Promise.all(s);case 4:return c=r.sent,v=Y(c),f=U(v),null===(n=e.onValidate)||void 0===n||n.call(e,{validateResult:v,firstError:f}),r.abrupt("return",v);case 9:case"end":return r.stop()}}),r)})));return function(e){return r.apply(this,arguments)}}(),$=function(){var e=b(x.mark((function e(r){var t,n,a,u,l,o;return x.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=(t=r||{}).fields,a=t.trigger,u=void 0===a?"all":a,l=p.value.filter((function(e){return C(e.validateOnly)&&K(String(e.name),n)})).map((function(e){return e.validateOnly(u)})),e.next=4,Promise.all(l);case 4:return o=e.sent,e.abrupt("return",Y(o));case 6:case"end":return e.stop()}}),e)})));return function(r){return e.apply(this,arguments)}}(),J=s(),X=function(){var e=b(x.mark((function e(r){return x.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:J.value=r,I(d.value);case 2:case"end":return e.stop()}}),e)})));return function(r){return e.apply(this,arguments)}}(),z=s();return t({validate:Z,submit:X,reset:function(e){z.value=e,d.value.reset()},clearValidate:function(e){p.value.forEach((function(r){C(r.resetHandler)&&K(String(r.name),e)&&r.resetHandler()}))},setValidateMessage:function(e){var r=Object.keys(e);if(r.length){var t=p.value.filter((function(e){return C(e.setValidateMessage)&&r.includes("".concat(e.name))})).map((function(r){return r.setValidateMessage(e[r.name])}));Promise.all(t)}},validateOnly:$}),function(){return h("form",{ref:d,class:_.value,onSubmit:function(r){return function(r){e.preventSubmitDefault&&r&&(r.preventDefault(),r.stopPropagation()),Z(J.value).then((function(t){var n;null===(n=e.onSubmit)||void 0===n||n.call(e,{validateResult:t,firstError:U(t),e:r})})),J.value=void 0}(r)},onReset:function(r){return function(r){var t;e.preventSubmitDefault&&r&&(r.preventDefault(),r.stopPropagation()),p.value.filter((function(e){var r;return C(e.resetField)&&K(String(e.name),null===(r=z.value)||void 0===r?void 0:r.fields)})).forEach((function(e){var r;return e.resetField(null===(r=z.value)||void 0===r?void 0:r.type)})),z.value=void 0,null===(t=e.onReset)||void 0===t||t.call(e,{e:r})}(r)}},[n("default")])}}})),Y=L(U); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */export{Y as F,K as a}; diff --git a/.output/public/assets/index-DmWclHlm.js b/.output/public/assets/index-DmWclHlm.js new file mode 100644 index 0000000000000000000000000000000000000000..aefadf034610d90b2038567da040d2d9cd8ee8a3 --- /dev/null +++ b/.output/public/assets/index-DmWclHlm.js @@ -0,0 +1,48 @@ +import{d as e,b as t,H as n,I as r,J as a,S as o,K as l,aU as i,Q as c,cG as u,b_ as s,ap as d,w as v,a3 as f,cH as m,bq as p,U as g,b5 as h,j as b,a4 as y,cI as O,ao as w,aq as N,O as _,bi as S,Z as C,a0 as E,cJ as x,a7 as j,p as k,ch as M,c3 as B,c4 as F,a5 as P,a6 as L,$ as I,cK as D,aY as z,aZ as A,cL as T,X as W,L as H,a8 as $,cM as K,Y as V}from"./main-DzSNOqOC.js";function Z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function X(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Z(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Z(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Y={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"g",attrs:{clipPath:"url(#clip0_8726_7319)"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M2.1 12a10.5 10.5 0 0019.8 0 10.5 10.5 0 00-19.8 0zm-2.01-.3a12.5 12.5 0 0123.82 0l.1.3-.1.3a12.5 12.5 0 01-23.82 0l-.1-.3.1-.3zM12 9a3 3 0 100 6 3 3 0 000-6zm-5 3a5 5 0 1110 0 5 5 0 01-10 0z"}}]}]},R=e({name:"BrowseIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,a){var{attrs:o}=a,l=t((()=>e.size)),{className:i,style:c}=n(l),u=t((()=>["t-icon","t-icon-browse",i.value])),s=t((()=>X(X({},c.value),o.style))),d=t((()=>({class:u.value,style:s.value,onClick:t=>{var n;return null===(n=e.onClick)||void 0===n?void 0:n.call(e,{e:t})}})));return()=>r(Y,d.value)}});function q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function G(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?q(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):q(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var U={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M17.5 8.09l-5.5 5.5-5.5-5.5L5.09 9.5 12 16.41l6.91-6.91-1.41-1.41z"}}]},J=e({name:"ChevronDownIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,a){var{attrs:o}=a,l=t((()=>e.size)),{className:i,style:c}=n(l),u=t((()=>["t-icon","t-icon-chevron-down",i.value])),s=t((()=>G(G({},c.value),o.style))),d=t((()=>({class:u.value,style:s.value,onClick:t=>{var n;return null===(n=e.onClick)||void 0===n?void 0:n.call(e,{e:t})}})));return()=>r(U,d.value)}});function Q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ee(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Q(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Q(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var te={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M12 23a11 11 0 100-22 11 11 0 000 22zM8.82 7.4L12 10.6l3.18-3.19 1.42 1.42L13.4 12l3.19 3.18-1.42 1.42L12 13.4 8.82 16.6 7.4 15.18 10.6 12 7.4 8.82 8.82 7.4z"}}]},ne=e({name:"CloseCircleFilledIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,a){var{attrs:o}=a,l=t((()=>e.size)),{className:i,style:c}=n(l),u=t((()=>["t-icon","t-icon-close-circle-filled",i.value])),s=t((()=>ee(ee({},c.value),o.style))),d=t((()=>({class:u.value,style:s.value,onClick:t=>{var n;return null===(n=e.onClick)||void 0===n?void 0:n.call(e,{e:t})}})));return()=>r(te,d.value)}}); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function re(){var e=o().classPrefix,t={small:"".concat(e.value,"-size-s"),medium:"".concat(e.value,"-size-m"),large:"".concat(e.value,"-size-l"),default:"",xs:"".concat(e.value,"-size-xs"),xl:"".concat(e.value,"-size-xl"),block:"".concat(e.value,"-size-full-width")},n={loading:"".concat(e.value,"-is-loading"),loadMore:"".concat(e.value,"-is-load-more"),disabled:"".concat(e.value,"-is-disabled"),focused:"".concat(e.value,"-is-focused"),success:"".concat(e.value,"-is-success"),error:"".concat(e.value,"-is-error"),warning:"".concat(e.value,"-is-warning"),selected:"".concat(e.value,"-is-selected"),active:"".concat(e.value,"-is-active"),checked:"".concat(e.value,"-is-checked"),current:"".concat(e.value,"-is-current"),hidden:"".concat(e.value,"-is-hidden"),visible:"".concat(e.value,"-is-visible"),expanded:"".concat(e.value,"-is-expanded"),indeterminate:"".concat(e.value,"-is-indeterminate")};return{classPrefix:e,sizeClassNames:t,statusClassNames:n,classNames:{size:t,status:n}}} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var ae=function(){var e=l();return t((function(){var t="".concat(e.value,"-form"),n="".concat(e.value,"-input"),r="".concat(e.value,"-is");return{form:t,label:"".concat(t,"__label"),labelTop:"".concat(t,"__label--top"),inline:"".concat(t,"-inline"),formItem:"".concat(t,"__item"),formItemWithHelp:"".concat(t,"__item-with-help"),formItemWithExtra:"".concat(t,"__item-with-extra"),controls:"".concat(t,"__controls"),controlsContent:"".concat(t,"__controls-content"),status:"".concat(t,"__status"),extra:"".concat(n,"__extra"),help:"".concat(n,"__help"),success:"".concat(r,"-success"),successBorder:"".concat(t,"--success-border"),error:"".concat(r,"-error"),warning:"".concat(r,"-warning")}}))},oe=function(e){return e.TO_BE_VALIDATED="not",e.SUCCESS="success",e.FAIL="fail",e}(oe||{}),le=Symbol("FormProvide"),ie=Symbol("FormItemProvide"); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function ce(e){var n=t((function(){var t=e.value,n=t.maxlength,r=t.maxcharacter,a=t.value;if(i(a))return String(a);if(n&&r&&c.warn("Input","Pick one of maxlength and maxcharacter please."),n){var o=null!=a&&a.length?u(a):0;return"".concat(o,"/").concat(n)}return r?"".concat(s(a||""),"/").concat(r):""})),r=t((function(){if(n.value){var e=n.value.split("/"),t=d(e,2),r=t[0],a=t[1];return Number(r)>Number(a)?"error":""}return""})),a=t((function(){return e.value.status||r.value})),o=function(){var t,n;null===(t=(n=e.value).onValidate)||void 0===t||t.call(n,{error:r.value?"exceed-maximum":void 0})};return v(r,o),f((function(){r.value&&o()})),{tStatus:a,limitNumber:n,getValueByLimitNumber:function(t){var n=e.value,r=n.allowInputOverMax,a=n.maxlength,o=n.maxcharacter;if(!a&&!o||r||!t)return t;if(a)return m(t,a);if(o){var l=s(t,o);if(p(l))return l.characters}}}} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function ue(e){return new Array(e).fill(0).join("")}function se(e){if(!e)return!0;if(i(e))return!Number.isNaN(e);if(!/^[0-9|e|E|-]+\.*[0-9|e|E|-]*$/.test(e))return!1;for(var t=0,n=0,r=0,a=0,o=e.length;a<o;a++){if("."===e[a]&&(r+=1)>1)return!1;if(/(e|E)+/.test(e[a])&&(t+=1)>1)return!1;if("-"===e[a]&&(n+=1)>2)return!1}return!0}function de(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return-1!==e.indexOf(".")?(c.error("InputNumber","num is not a integer number."),e):!e||"0"===e&&t?"":"0"===e?e:(t?e.replace(/0+$/,""):e.replace(/^0+/,""))||"0"}function ve(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=de(e,n),a=de(t,n),o=r.length>a.length,l=o?r:a,i=o?a:r,c=[],u=[],s=n?0:l.length-i.length,d=n?i.length:l.length,v=d-1;v>=0;v--){var f=v-s,m=Number(l[v])+(Number(i[f])||0)+(u[v]||0);m>=10&&(u[v-1]=1),c.unshift(String(m%10))}return u[-1]&&c.unshift("1"),n?c.concat(l.slice(d,l.length)).join(""):c.join("")}function fe(e,t){var n=e.split("."),r=d(n,2),a=r[0],o=void 0===a?"0":a,l=r[1],i=void 0===l?"0":l,c=t.split("."),u=d(c,2),s=u[0],v=void 0===s?"0":s,f=u[1],m=void 0===f?"0":f,p=ve(o,v);if("0"===i&&"0"===m)return p;var g=de(i,!0),h=de(m,!0),b=ve(g,h,!0),y=b.length;return y>g.length&&y>h.length?[de(ve(p,"1")),de(b.slice(1),!0)].filter((function(e){return e})).join("."):[de(p),de(b,!0)].filter((function(e){return e})).join(".")}function me(e,t){var n=de(e),r=de(t);if(n.length===r.length){for(var a=0,o=n.length;a<o;a++){if(n[a]>r[a])return 1;if(n[a]<r[a])return-1}return 0}return n.length>r.length?1:-1}function pe(e,t){for(var n=e&&"0"!==e?e.replace(/0+$/,""):"0",r=t&&"0"!==t?t.replace(/0+$/,""):"0",a=0,o=Math.max(n.length,r.length);a<o;a++){if((n[a]||0)>(r[a]||0))return 1;if((n[a]||0)<(r[a]||0))return-1}return 0}function ge(e){var t=e.split("e"),n=d(t,2),r=n[0],a=n[1];if(!a)return e;var o=e.split("."),l=d(o,2),i=l[0],c=l[1],u=void 0===c?"":c,s=Number(a),v=u.split("e"),f=d(v,1)[0];if(s>f.length){var m=ue(s-f.length);return r.replace(/(^0+|\.)/g,"")+m}var p=i.replace(/^0+/,"")+f.slice(0,s),g=f.slice(s);return g?[p,g].join("."):p}function he(e){return[-1/0,1/0].includes(Number(e))}function be(e){return Number(e)<Number.MAX_SAFE_INTEGER&&Number(e)>Number.MIN_SAFE_INTEGER}function ye(e,t,n){var r=be(e)&&be(t)&&!n,a=he(e)||he(t);return r||a?Number(e)===Number(t)?0:Number(e)>Number(t)?1:-1:function(e,t){var n=ge(e).split("."),r=d(n,2),a=r[0],o=r[1],l=ge(t).split("."),i=d(l,2),c=i[0],u=i[1],s=me(a.replace("-",""),c.replace("-","")),v=a.includes("-"),f=c.includes("-");return v&&!f?-1:!v&&f?1:v&&f?0===s?0:s>0?-1:1:0===s?pe(o,u):s}(String(e),String(t))}function Oe(e,t,n){if(e===t)return"0";for(var r=n||{},a=r.decimal,o=r.stayZero,l=de(e),i=de(t),c=me(l,i)>0,u=c?l:i,s=c?i:l,d=[],v=[],f=a?0:u.length-s.length,m=a?s.length:u.length,p=m-1;p>=0;p--){var g=p-f,h=Number(u[p])-(Number(s[g])||0)-(v[p]||0);h<0&&(v[p-1]=1,h+=10),d.unshift(String(h))}if(a)return d.concat(u.slice(m,u.length)).join("");var b=d.join("");return o||(b=b.replace(/^0+/,"")),de(c?b:"-".concat(b))}function we(e,t){if(e===t)return"0";var n=ye(e,t,!0)>0,r=n?t:e,a=(n?e:t).split("."),o=d(a,2),l=o[0],i=o[1],c=void 0===i?"0":i,u=r.split("."),s=d(u,2),v=s[0],f=s[1],m=void 0===f?"0":f,p=Oe(l,v);if("0"===c&&"0"===m)return n?p:"-".concat(p);var g="",h=c;c.length<m.length&&(h="".concat(c).concat(ue(m.length-c.length))),pe(h,m)>=0?g=Oe(h,m,{decimal:!0}):(c.length<m.length||"0"===c?(g=Oe("1".concat(h),m,{stayZero:!0}),g=ue(m.length-g.length)+g):g=Oe(c,m,{decimal:!0}),p=Oe(p,"1"));var b=g?[p,g].join("."):p;return n?b:"-".concat(b)}function Ne(e,t){if(!(arguments.length>2&&void 0!==arguments[2])||arguments[2])return e.toFixed(t);var n=e.toString().split("."),r=d(n,2),a=r[0],o=r[1];if(0===t)return a;if(o){var l=o.slice(0,t);return o.length<t&&(l+=ue(t-o.length)),[a,l].join(".")}return[a,ue(t)].join(".")}function _e(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(Number.isNaN(Number(e)))return"";if(!r)return function(e,t){var n;return p(t)?Ne(e,t.places,null===(n=t.enableRound)||void 0===n||n):Ne(e,t,!0)}(Number(e),n);var a=p(n)?n.places:n,o=!p(n)||(null===(t=n.enableRound)||void 0===t||t);if(!g(e))return String(e);var l=e.split("."),i=d(l,2),c=i[0],u=i[1];if(!u)return a>0&&o?[e,ue(a)].join("."):e;if(0===a)return o&&Number(u[0])>=5?fe(c,"1"):c;var s=u.slice(0,a);if(u.length<a)s+=ue(a-u.length);else if(o){var v,f=null===(v=s.match(/^0+/))||void 0===v?void 0:v[0].length,m=s.match(/^9+/),h=Number(u[a])>=5;s=h?fe(s,"1"):s,f&&h&&f+s.length>=a&&(s="".concat(ue(a-s.length)).concat(s)),m&&s.length>a&&(c=(Number(c)+1).toString(),s=ue(a))}return[c,s].join(".")} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function Se(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return!e&&0!==e||(n&&g(e)?ye(e,t,n)<0:e<t)}function Ce(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return!e&&0!==e||(n&&g(e)?ye(e,t,n)>0:e>t)}function Ee(e,t){var n,r;if(!e||!t)return(e||0)+(t||0);var a=(null===(n=e.toString().split(".")[1])||void 0===n?void 0:n.length)||0,o=(null===(r=t.toString().split(".")[1])||void 0===r?void 0:r.length)||0;if(!a&&!o)return e+t;var l=e,i=t,c=Math.abs(a-o),u=Math.pow(10,Math.max(a,o));if(c>0){var s=Math.pow(10,c);a>o?(l=Number(e.toString().replace(".","")),i=Number(t.toString().replace(".",""))*s):(l=Number(e.toString().replace(".",""))*s,i=Number(t.toString().replace(".","")))}else l=Number(e.toString().replace(".","")),i=Number(t.toString().replace(".",""));return(l+i)/u}function xe(e,t){var n,r;if(!e||!t)return(e||0)-(t||0);var a=(null===(n=e.toString().split(".")[1])||void 0===n?void 0:n.length)||0,o=(null===(r=t.toString().split(".")[1])||void 0===r?void 0:r.length)||0,l=Math.pow(10,Math.max(a,o));return Number(((e*l-t*l)/l).toFixed(a>=o?a:o))}function je(e){var t=e.op,n=e.step,r=e.lastValue,a=e.max,o=e.min,l=e.largeNumber;if(Number(n)<=0)return c.error("InputNumber","step must be larger than 0."),r;var u,s,d,v=i(n)?String(n):n;return"add"===t?l&&g(r)?u=function(e,t){var n="-"===e[0],r="-"===t[0];if(n&&!r)return we(t,e.slice(1));if(n&&r){var a=fe(t.slice(1),e.slice(1));return"-".concat(a)}return!n&&r?we(e,t.slice(1)):fe(e,t)}(String(r),String(v)):(s=Number(r||0),d=Number(n),u=s<0&&d>0?xe(d,Math.abs(s)):s<0&&d<0?-1*Ee(Math.abs(s),Math.abs(d)):s>0&&d<0?xe(s,Math.abs(d)):Ee(s,d)):"reduce"===t&&(u=l&&g(r)?function(e,t){var n="-"===e[0],r="-"===t[0];if(n&&!r){var a=fe(e.slice(1),t);return"-".concat(a)}return n&&r?we(t.slice(1),e.slice(1)):!n&&r?fe(e,t.slice(1)):we(e,t)}(String(r),String(v)):function(e,t){return e<0&&t>0?-1*Ee(Math.abs(e),t):e<0&&t<0?xe(Math.abs(t),Math.abs(e)):e>0&&t<0?Ee(e,Math.abs(t)):xe(e,t)}(Number(r||0),Number(n))),h(r)&&(u=function(e,t){if(""!==e){var n=t.max,r=t.min,a=t.lastValue,o=t.largeNumber;return se(e)?!o||!g(n)&&n!==1/0||!g(r)&&r!==-1/0?Math.max(Number(r),Math.min(Number(n),Number(e))):ye(n,e,o)<0?n:ye(r,e,o)>0?r:e:a}}(u,{max:a,min:o,lastValue:r,largeNumber:l})),l?u:Number(u)}function ke(e){var t=e.largeNumber,n=e.value,r=e.max,a=e.min;if(!h(n)&&!h(t))return t&&i(n)&&c.warn("InputNumber","largeNumber value must be a string."),ye(n,r,t)>0?"exceed-maximum":ye(n,a,t)<0?"below-minimum":void 0}var Me=["-",".","e","E","+"];function Be(e,t){var n,r;if(["",null,void 0].includes(e))return!0;if("00"===e.slice(0,2))return!1;if(e.match(/\s/g))return!1;if((null===(n=e.match(/\./g))||void 0===n?void 0:n.length)>1)return!1;if((null===(r=e.match(/e/g))||void 0===r?void 0:r.length)>1)return!1;var a=e.slice(1);return!(/(\+|-)/.test(a)&&!/e+/i.test(a))&&(!!(t&&se(e)||!Number.isNaN(Number(e))||Me.includes(e.slice(-1)))&&!(/e/i.test(e)&&!/\de/i.test(e)))}function Fe(e,t){return parseFloat(e)!==t&&!Number.isNaN(Number(e))}function Pe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!["",null,void 0].includes(e)&&/\d+/.test(e)){var n=t.decimalPlaces,r=t.largeNumber,a=t.isToFixed,o=e.replace(/[.|+|\-|e]$/,"");return r&&(o=ge(o)),void 0!==n&&(o=_e(o,n,r)),r||a?o:parseFloat(o)}}function Le(e){return/^[-+]?\d{1,3}(,\d{3})*(\.(\d*))?$/.test(e)?e.replace(/,/g,""):e} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var Ie=new(w((function e(){var t=this;N(this,e),_(this,"popupStack",{popup:new Set,dialog:new Set,message:new Set}),_(this,"getNextZIndex",(function(e){return("message"===e?Array.from(t.popupStack.message).pop()||5e3:Array.from(t.popupStack.popup).pop()||1e3)+1})),_(this,"add",(function(e){var n=t.getNextZIndex(e);return t.popupStack[e].add(n),"dialog"===e&&t.popupStack.popup.add(n),n})),_(this,"delete",(function(e,n){t.popupStack[n].delete(e),"dialog"===n&&t.popupStack.popup.delete(e)})),_(this,"isLastDialog",(function(e){return!(t.popupStack.dialog.size>1)||e===Array.from(t.popupStack.dialog).pop()}))})));function De(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.visible,r=t.runOnMounted,a=b(0),o=function(){a.value=Ie.add(e)},l=function(){Ie.delete(a.value,e)};return v((function(){return null==n?void 0:n.value}),(function(e){e?o():l()}),{immediate:!0}),r&&(f((function(){o()})),y((function(){l()}))),{zIndex:O(a),open:o,close:l,isLastDialog:function(){return Ie.isLastDialog(a.value)}}} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var ze,Ae={attach:{type:[String,Function]},body:{type:[String,Function]},cancelBtn:{type:[String,Object,Function,null]},closeBtn:{type:[String,Boolean,Function],default:!0},closeOnEscKeydown:{type:Boolean,default:void 0},closeOnOverlayClick:{type:Boolean,default:void 0},confirmBtn:{type:[String,Object,Function,null]},confirmLoading:{type:Boolean,default:void 0},confirmOnEnter:Boolean,default:{type:[String,Function]},destroyOnClose:Boolean,dialogClassName:{type:String,default:""},dialogStyle:{type:Object},draggable:Boolean,footer:{type:[Boolean,Function],default:!0},header:{type:[String,Boolean,Function],default:!0},mode:{type:String,default:"modal",validator:function(e){return!e||["modal","modeless","normal","full-screen"].includes(e)}},placement:{type:String,default:"top",validator:function(e){return!e||["top","center"].includes(e)}},preventScrollThrough:{type:Boolean,default:!0},showInAttachedElement:Boolean,showOverlay:{type:Boolean,default:!0},theme:{type:String,default:"default",validator:function(e){return!e||["default","info","warning","danger","success"].includes(e)}},top:{type:[String,Number]},visible:Boolean,width:{type:[String,Number]},zIndex:{type:Number},onBeforeClose:Function,onBeforeOpen:Function,onCancel:Function,onClose:Function,onCloseBtnClick:Function,onClosed:Function,onConfirm:Function,onEscKeydown:Function,onOpened:Function,onOverlayClick:Function}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function Te(){if("undefined"==typeof navigator||!navigator)return 6;if(/(Chrome|Safari)/i.test(navigator.userAgent))return 6;var e=document.createElement("div");e.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),/Firefox/.test(navigator.userAgent)&&(t-=4),S()<=11&&(t=12),t}function We(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body;return e===document.body?window.innerWidth-document.documentElement.clientWidth:e.offsetWidth-e.clientWidth} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function He(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function $e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?He(Object(n),!0).forEach((function(t){_(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):He(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ke(e){return Number.isNaN(Number(e))?e:"".concat(Number(e),"px")}"undefined"!=typeof window&&window.document&&window.document.documentElement&&document.documentElement.addEventListener("click",(function(e){ze={x:e.clientX,y:e.clientY},setTimeout((function(){ze=null}),100)}),!0);var Ve=1,Ze=e({name:"TDialog",directives:{draggable:function(e,t){var n,r,a;e&&t&&t.value&&(n=e,r=window.innerWidth||document.documentElement.clientWidth,a=window.innerHeight||document.documentElement.clientHeight,n.addEventListener("mousedown",(function(e){var t=e.clientX-n.offsetLeft,o=e.clientY-n.offsetTop,l=n.offsetWidth,i=n.offsetHeight;function c(e){var l=e.clientX-t,i=e.clientY-o;l<0&&(l=0),i<0&&(i=0),r-n.offsetWidth-l<0&&(l=r-n.offsetWidth),a-n.offsetHeight-i<0&&(i=a-n.offsetHeight),n.style.position="absolute",n.style.left="".concat(l,"px"),n.style.top="".concat(i,"px")}function u(){document.removeEventListener("mousemove",c),document.removeEventListener("mouseup",u)}l>r||i>a||(document.addEventListener("mousemove",c),document.addEventListener("mouseup",u),document.addEventListener("dragend",u))})))}},inheritAttrs:!1,props:Ae,emits:["update:visible"],setup:function(e,n){var r=this,a=l("dialog"),i=l(),c=W(),u=H(),s=b(null),d=o("dialog").globalConfig,m=C({CloseIcon:I,InfoCircleFilledIcon:D,CheckCircleFilledIcon:z,ErrorCircleFilledIcon:A}),p=m.CloseIcon,g=m.InfoCircleFilledIcon,h=m.CheckCircleFilledIcon,O=m.ErrorCircleFilledIcon,w=$({confirmBtnAction:function(t){var n;null===(n=e.onConfirm)||void 0===n||n.call(e,{e:t})},cancelBtnAction:function(t){var n;null===(n=e.onCancel)||void 0===n||n.call(e,{e:t}),ue({e:t,trigger:"cancel"})}}),N=w.getConfirmBtn,_=w.getCancelBtn,S=E((function(){return e.attach}));x();var M=b(),F=b(),P=t((function(){return"modal"===e.mode})),L=t((function(){return"modeless"===e.mode})),V=t((function(){return"normal"===e.mode})),Z=t((function(){return"full-screen"===e.mode})),X=t((function(){return e.visible})),Y=t((function(){return["".concat(a.value,"__mask"),!e.showOverlay&&"".concat(i.value,"-is-hidden")]})),R=t((function(){return V.value?[]:Z.value?["".concat(a.value,"__position_fullscreen")]:["".concat(a.value,"__position"),!!e.top&&"".concat(a.value,"--top"),"".concat(e.placement&&!e.top?"".concat(a.value,"--").concat(e.placement):"")]})),q=t((function(){return[!V.value&&"".concat(a.value,"__wrap")]})),G=t((function(){if(Z.value)return{};var t=e.top,n={};void 0!==t&&(n={paddingTop:Ke(t)});return n})),U=t((function(){var t=["".concat(a.value),"".concat(a.value,"__modal-").concat(e.theme),L.value&&e.draggable&&"".concat(a.value,"--draggable"),e.dialogClassName];return Z.value?t.push("".concat(a.value,"__fullscreen")):t.push.apply(t,["".concat(a.value,"--default"),"".concat(a.value,"--").concat(e.placement)]),t})),J=t((function(){return Z.value?$e({},e.dialogStyle):$e({width:Ke(e.width)},e.dialogStyle)})),Q=De("dialog",{visible:X}).isLastDialog;function ee(){var e,t;null===(e=F.value.parentNode)||void 0===e||null===(t=e.removeChild)||void 0===t||t.call(e,F.value)}v((function(){return e.visible}),(function(t){var n;t?((P.value&&!e.showInAttachedElement||Z.value)&&(e.preventScrollThrough&&document.body.appendChild(F.value),j((function(){ze&&s.value&&(s.value.style.transformOrigin="".concat(ze.x-s.value.offsetLeft,"px ").concat(ze.y-s.value.offsetTop,"px"))}))),null===(n=document.activeElement)||void 0===n||n.blur()):(clearTimeout(M.value),M.value=setTimeout((function(){ee()}),150));te(t)}));var te=function(t){t?(document.addEventListener("keydown",re),e.confirmOnEnter&&document.addEventListener("keydown",ne)):(document.removeEventListener("keydown",re),e.confirmOnEnter&&document.removeEventListener("keydown",ne))},ne=function(t){if("input"!==t.target.tagName.toLowerCase()){var n,r=t.code;if(("Enter"===r||"NumpadEnter"===r)&&Q())null===(n=e.onConfirm)||void 0===n||n.call(e,{e:t})}},re=function(t){var n,r;"Escape"===t.code&&Q()&&(null===(n=e.onEscKeydown)||void 0===n||n.call(e,{e:t}),(null!==(r=e.closeOnEscKeydown)&&void 0!==r?r:d.value.closeOnEscKeydown)&&ue({e:t,trigger:"esc"}))},ae=K((function(t){var n,r;e.showOverlay&&(null!==(n=e.closeOnOverlayClick)&&void 0!==n?n:d.value.closeOnOverlayClick)&&(null===(r=e.onOverlayClick)||void 0===r||r.call(e,{e:t}),ue({e:t,trigger:"overlay"}))})),oe=ae.onClick,le=ae.onMousedown,ie=ae.onMouseup,ce=function(t){var n;null===(n=e.onCloseBtnClick)||void 0===n||n.call(e,{e:t}),ue({trigger:"close-btn",e:t})},ue=function(t){var r;null===(r=e.onClose)||void 0===r||r.call(e,t),n.emit("update:visible",!1)};return f((function(){var e=document.documentElement.scrollHeight>document.documentElement.clientHeight?We():0;F.value=document.createElement("style"),F.value.dataset.id="td_dialog_".concat(+new Date,"_").concat(Ve+=1),F.value.innerHTML="\n html body {\n overflow-y: hidden;\n width: calc(100% - ".concat(e,"px);\n }\n ")})),y((function(){te(!1),ee()})),{COMPONENT_NAME:a,isModal:P,isModeLess:L,isFullScreen:Z,maskClass:Y,dialogClass:U,dialogStyle:J,dialogEle:s,beforeEnter:function(){var t;null===(t=e.onBeforeOpen)||void 0===t||t.call(e)},afterEnter:function(){var t;null===(t=e.onOpened)||void 0===t||t.call(e)},beforeLeave:function(){var t;null===(t=e.onBeforeClose)||void 0===t||t.call(e)},afterLeave:function(){var t;L.value&&e.draggable&&s.value&&(s.value.style.position="relative",s.value.style.left="unset",s.value.style.top="unset"),null===(t=e.onClosed)||void 0===t||t.call(e)},hasEventOn:function(e){var t,n=null===(t=r._events)||void 0===t?void 0:t[e];return!(null==n||!n.length)},renderDialog:function(){var t=k("h5",{class:"title"},null),n=k(p,null,null),r=c("default","body"),o=k("div",null,[_({cancelBtn:e.cancelBtn,globalCancel:d.value.cancel,className:"".concat(a.value,"__cancel")}),N({theme:e.theme,confirmBtn:e.confirmBtn,globalConfirm:d.value.confirm,globalConfirmBtnTheme:d.value.confirmBtnTheme,className:"".concat(a.value,"__confirm"),confirmLoading:e.confirmLoading})]),l=u("header",t),v=u("footer",o),f=Z.value?["".concat(a.value,"__header"),"".concat(a.value,"__header--fullscreen")]:"".concat(a.value,"__header"),m=Z.value?["".concat(a.value,"__close"),"".concat(a.value,"__close--fullscreen")]:"".concat(a.value,"__close"),b="default"===e.theme?["".concat(a.value,"__body")]:["".concat(a.value,"__body__icon")];Z.value&&v?b.push("".concat(a.value,"__body--fullscreen")):Z.value&&b.push("".concat(a.value,"__body--fullscreen--without-footer"));var y=Z.value?["".concat(a.value,"__footer"),"".concat(a.value,"__footer--fullscreen")]:"".concat(a.value,"__footer"),w=function(t){L.value&&e.draggable&&t.stopPropagation()};return k("div",{class:q.value},[k("div",{class:R.value,style:G.value,onClick:oe,onMousedown:le,onMouseup:ie},[B(k("div",{key:"dialog",class:U.value,style:J.value,ref:s},[(l||0===l||e.closeBtn)&&k("div",{class:f,onMousedown:w},[k("div",{class:"".concat(a.value,"__header-content")},[{info:k(g,{class:"".concat(i.value,"-is-info")},null),warning:k(O,{class:"".concat(i.value,"-is-warning")},null),danger:k(O,{class:"".concat(i.value,"-is-error")},null),success:k(h,{class:"".concat(i.value,"-is-success")},null)}[e.theme],l]),e.closeBtn?k("span",{class:m,onClick:ce},[u("closeBtn",n)]):null]),k("div",{class:b,onMousedown:w},[r]),v&&k("div",{class:y,onMousedown:w},[v])]),[[T("draggable"),L.value&&e.draggable]])])])},teleportElement:S}},render:function(){var e=this,t=this.COMPONENT_NAME,n=[(this.isModal||this.isFullScreen)&&k("div",{key:"mask",class:this.maskClass},null),this.renderDialog()],r={zIndex:this.zIndex},a=["".concat(t,"__ctx"),_(_(_({},"".concat(t,"__ctx--fixed"),this.isModal||this.isFullScreen),"".concat(t,"__ctx--absolute"),this.isModal&&this.showInAttachedElement),"".concat(t,"__ctx--modeless"),this.isModeLess)];return k(L,{disabled:!this.attach||!this.teleportElement,to:this.teleportElement},{default:function(){return[k(M,{duration:300,name:"".concat(t,"-zoom__vue"),onBeforeEnter:e.beforeEnter,onAfterEnter:e.afterEnter,onBeforeLeave:e.beforeLeave,onAfterLeave:e.afterLeave},{default:function(){return[(!e.destroyOnClose||e.visible)&&B(k("div",P({class:a,style:r},e.$attrs),[n]),[[F,e.visible]])]}})]}})}}),Xe=V(Ze);export{Xe as D,le as F,oe as V,Ze as _,ie as a,Te as b,ne as c,re as d,J as e,Ce as f,We as g,Se as h,Pe as i,ke as j,Le as k,_e as l,Be as m,Fe as n,je as o,R as p,Ee as q,xe as r,De as s,ce as t,ae as u}; diff --git a/.output/public/assets/index-DwpGtVtI.js b/.output/public/assets/index-DwpGtVtI.js new file mode 100644 index 0000000000000000000000000000000000000000..d06ec51d9e9bfd7dd2cb13cd1db1991b98fd0226 --- /dev/null +++ b/.output/public/assets/index-DwpGtVtI.js @@ -0,0 +1 @@ +import{H as e}from"./CodeBlocks.vue_vue_type_style_index_0_lang-CexE7E14.js";import"./main-DzSNOqOC.js";import"./fetch-C6zEckB6.js";import"./debounce-DjqSSMbT.js";import"./refresh-BD1L4aGQ.js";import"./copy-CaDk54_k.js";import"./ChatInput.vue_vue_type_style_index_0_lang-D4A8Ko3p.js";import"./index-DmWclHlm.js";import"./index-BuIb9tIA.js";import"./index-CjKlnN2e.js";import"./dep-916b902f-BLs2dxx4.js";import"./index-Kxldlx3l.js";import"./v4-_R2nDvl_.js";export{e as HighlightJS,e as default}; diff --git a/.output/public/assets/index-DyrTSsVD.js b/.output/public/assets/index-DyrTSsVD.js new file mode 100644 index 0000000000000000000000000000000000000000..1cfa67848c78503b70e3ab1c4cf9899922e5a03d --- /dev/null +++ b/.output/public/assets/index-DyrTSsVD.js @@ -0,0 +1,17 @@ +import{d as e,aJ as a,K as l,T as t,ax as u,ay as n,ap as r,b as o,O as i,w as c,aK as s,aL as v,U as f,N as d,p as b,W as m,Y as p}from"./main-DzSNOqOC.js"; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function g(e,a){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);a&&(t=t.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),l.push.apply(l,t)}return l}var y=p(e({name:"TSwitch",props:function(e){for(var a=1;a<arguments.length;a++){var l=null!=arguments[a]?arguments[a]:{};a%2?g(Object(l),!0).forEach((function(a){i(e,a,l[a])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):g(Object(l)).forEach((function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(l,a))}))}return e}({},{beforeChange:{type:Function},customValue:{type:Array},disabled:{type:Boolean,default:void 0},label:{type:[Array,Function],default:function(){return[]}},loading:Boolean,size:{type:String,default:"medium",validator:function(e){return!e||["small","medium","large"].includes(e)}},value:{type:[String,Number,Boolean],default:void 0},modelValue:{type:[String,Number,Boolean],default:void 0},defaultValue:{type:[String,Number,Boolean]},onChange:Function}),setup:function(e,p){var g=p.slots,y=a(),h=l("switch"),O=t(),V=O.STATUS,w=O.SIZE,S=u(e),j=S.value,P=S.modelValue,C=n(j,P,e.defaultValue,e.onChange),B=r(C,2),E=B[0],N=B[1],z=o((function(){return!(e.customValue&&e.customValue.length>0)||e.customValue[0]})),D=o((function(){return!!(e.customValue&&e.customValue.length>1)&&e.customValue[1]}));function T(e){var a=E.value===z.value?D.value:z.value;N(a,{e:e})}function _(a){y.value||e.loading||(e.beforeChange?Promise.resolve(e.beforeChange()).then((function(e){e&&T(a)})).catch((function(e){throw new Error("Switch: some error occurred: ".concat(e))})):T(a))}var k=o((function(){return["".concat(h.value),w.value[e.size],i(i(i({},V.value.disabled,y.value),V.value.loading,e.loading),V.value.checked,E.value===z.value||e.modelValue===z.value)]})),A=o((function(){return["".concat(h.value,"__handle"),i(i({},V.value.disabled,y.value),V.value.loading,e.loading)]})),F=o((function(){return["".concat(h.value,"__content"),w.value[e.size],i({},V.value.disabled,y.value)]}));c(E,(function(a){if(e.customValue&&e.customValue.length&&!e.customValue.includes(a))throw new Error("value is not in ".concat(JSON.stringify(e.customValue)))}),{immediate:!0});var x=o((function(){if(s(e.label))return e.label(v,{value:E.value});if(f(e.label))return e.label;if(d(e.label)&&e.label.length){var a=E.value===z.value?e.label[0]:e.label[1];if(!a)return;if(f(a))return a;if(s(a))return a(v)}return g.label?g.label({value:E.value}):null}));return function(){var a,l;return e.loading?l=b(m,{size:"small"},null):x.value&&(a=x.value),b("div",{class:k.value,disabled:y.value,onClick:_},[b("span",{class:A.value},[l]),b("div",{class:F.value},[a])])}}})); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */export{y as S}; diff --git a/.output/public/assets/index-Kxldlx3l.js b/.output/public/assets/index-Kxldlx3l.js new file mode 100644 index 0000000000000000000000000000000000000000..94f0324e8632e5deb6faf9c12e4e3224d85d629e --- /dev/null +++ b/.output/public/assets/index-Kxldlx3l.js @@ -0,0 +1,22 @@ +import{d as e,K as t,b as a,ax as n,ay as o,ap as r,aJ as u,bO as i,j as l,aR as c,O as s,b_ as v,bh as d,w as p,cw as f,cv as g,a7 as h,a3 as m,T as b,p as y,a5 as x,cx as w,b5 as S,L as O,Y as z}from"./main-DzSNOqOC.js";import{a as j,t as P}from"./index-DmWclHlm.js"; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var _,F=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function V(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;_||(_=document.createElement("textarea"),document.body.appendChild(_));var n=function(e){if("undefined"!=typeof window&&e){var t=window.getComputedStyle(e),a=t.getPropertyValue("box-sizing")||t.getPropertyValue("-moz-box-sizing")||t.getPropertyValue("-webkit-box-sizing"),n=parseFloat(t.getPropertyValue("padding-bottom"))+parseFloat(t.getPropertyValue("padding-top")),o=parseFloat(t.getPropertyValue("border-bottom-width"))+parseFloat(t.getPropertyValue("border-top-width"));return{sizingStyle:F.map((function(e){return"".concat(e,":").concat(t.getPropertyValue(e))})).join(";"),paddingSize:n,borderSize:o,boxSizing:a}}}(e),o=n.paddingSize,r=n.borderSize,u=n.boxSizing,i=n.sizingStyle;_.setAttribute("style","".concat(i,";").concat("\n min-height:0 !important;\n max-height:none !important;\n height:0 !important;\n visibility:hidden !important;\n overflow-y:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important\n")),_.value=e.value||e.placeholder||"";var l=_.scrollHeight,c={};"border-box"===u?l+=r:"content-box"===u&&(l-=o),_.value="";var s=_.scrollHeight-o;if(null!==t){var v=s*t;"border-box"===u&&(v=v+o+r),l=Math.max(v,l),c.minHeight="".concat(v,"px")}if(null!==a){var d=s*a;"border-box"===u&&(d=d+o+r),l=Math.min(d,l)}return c.height="".concat(l,"px"),_.parentNode&&_.parentNode.removeChild(_),_=null,c} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function B(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function C(e){var t={};return Object.keys(e).forEach((function(a){S(e[a])||(t[a]=e[a])})),t}var N=z(e({name:"TTextarea",inheritAttrs:!1,props:function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?B(Object(a),!0).forEach((function(t){s(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):B(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}({},{allowInputOverMax:Boolean,autofocus:Boolean,autosize:{type:[Boolean,Object],default:!1},disabled:{type:Boolean,default:void 0},maxcharacter:{type:Number},maxlength:{type:[String,Number]},name:{type:String,default:""},placeholder:{type:String,default:void 0},readonly:{type:Boolean,default:void 0},status:{type:String,default:"default",validator:function(e){return!e||["default","success","warning","error"].includes(e)}},tips:{type:[String,Function]},value:{type:[String,Number],default:void 0},modelValue:{type:[String,Number],default:void 0},defaultValue:{type:[String,Number]},onBlur:Function,onChange:Function,onFocus:Function,onKeydown:Function,onKeypress:Function,onKeyup:Function,onValidate:Function}),setup:function(e,S){var z=S.attrs,_=S.expose,F=t(),B=t("textarea"),N=a((function(){return"".concat(B.value,"__tips")})),K=a((function(){return"".concat(B.value,"__limit")})),k=n(e),M=k.value,T=k.modelValue,I=o(M,T,e.defaultValue,e.onChange),D=r(I,2),E=D[0],H=D[1],A=u(),R=i(),U=l({}),J=l(),L=l(!1),Y=l(!1),q=function(){var t;if(!0===e.autosize)U.value=V(J.value);else if(e.autosize&&"object"===d(e.autosize)){var a=e.autosize,n=a.minRows,o=a.maxRows;U.value=V(J.value,n,o)}else z.rows?U.value={height:"auto",minHeight:"auto"}:z.style&&null!==(t=J.value)&&void 0!==t&&null!==(t=t.style)&&void 0!==t&&t.height&&(U.value={height:J.value.style.height})},G=function(t){var a=t.target.value;if(e.maxcharacter&&e.maxcharacter>=0){var n=v(a,e.maxcharacter);a="object"===d(n)&&n.characters}!Y.value&&H(a,{e:t}),h((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=J.value,a=String(e);t&&t.value!==a&&(t.value=a,E.value=a)}(a)})),q()},Q=function(e){G(e)},W=function(){Y.value=!0},X=function(e){Y.value=!1,G(e)},Z=function(t,a){var n;if(!A.value){var o="on".concat(t[0].toUpperCase()).concat(t.slice(1));null===(n=e[o])||void 0===n||n.call(e,E.value,{e:a})}},$=function(e){Z("keydown",e)},ee=function(e){Z("keyup",e)},te=function(e){Z("keypress",e)},ae=function(t){var a;q(),A.value||(L.value=!0,null===(a=e.onFocus)||void 0===a||a.call(e,E.value,{e:t}))},ne=c(j,void 0),oe=function(t){var a;t.target&&(q(),L.value=!1,null===(a=e.onBlur)||void 0===a||a.call(e,E.value,{e:t}),null==ne||ne.handleBlur())},re=a((function(){return[B.value,s(s({},"".concat(F.value,"-is-disabled"),A.value),"".concat(F.value,"-is-readonly"),R.value)]})),ue=a((function(){return C({autofocus:e.autofocus,disabled:A.value,readonly:R.value,placeholder:e.placeholder,maxlength:!e.allowInputOverMax&&e.maxlength||void 0,name:e.name||void 0})})),ie=a((function(){var e=v(String(E.value||""));return"object"===d(e)?e.length:e})),le=a((function(){return{value:[void 0,null].includes(E.value)?void 0:String(E.value),status:e.status,maxlength:Number(e.maxlength),maxcharacter:e.maxcharacter,allowInputOverMax:e.allowInputOverMax,onValidate:e.onValidate}})),ce=P(le).tStatus;p((function(){return E.value}),(function(){return q()})),p(J,(function(e){e&&q()})),p((function(){return e.autofocus}),(function(e){e&&J.value.focus()})),p(U,(function(e){var t=z.style;f(J.value,g(t,e))})),p(E,(function(){h((function(){return q()}))})),p((function(){return e.autosize}),q,{deep:!0}),_({focus:function(){var e;return null===(e=J.value)||void 0===e?void 0:e.focus()},blur:function(){var e;return null===(e=J.value)||void 0===e?void 0:e.blur()}}),m((function(){q()}));var se=O();return function(){var t,n=C({onFocus:ae,onBlur:oe,onKeydown:$,onKeyup:ee,onKeypress:te}),o=b().STATUS,r=a((function(){return["".concat(B.value,"__inner"),s(s(s(s({},"".concat(F.value,"-is-").concat(ce.value),ce.value),o.value.disabled,A.value),o.value.focused,L.value),"".concat(F.value,"-resize-none"),"object"===d(e.autosize)),"narrow-scrollbar"]})),u=se("tips"),i=u&&y("div",{class:"".concat(N.value," ").concat(B.value,"__tips--").concat(e.status||"normal")},[u]),l=e.maxcharacter&&y("span",{class:K.value},["".concat(ie.value,"/").concat(e.maxcharacter)])||!e.maxcharacter&&e.maxlength&&y("span",{class:K.value},["".concat(E.value?null===(t=String(E.value))||void 0===t?void 0:t.length:0,"/").concat(e.maxlength)]);return y("div",x({class:re.value},w(z,["style"])),[y("textarea",x({onInput:Q,onCompositionstart:W,onCompositionend:X,ref:J,value:E.value,class:r.value},n,ue.value),null),i||l?y("div",{class:["".concat(B.value,"__info_wrapper"),s({},"".concat(B.value,"__info_wrapper_align"),!i)]},[i,l]):null])}}})); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */export{N as T}; diff --git a/.output/public/assets/index-Lt3PC9Ko.js b/.output/public/assets/index-Lt3PC9Ko.js new file mode 100644 index 0000000000000000000000000000000000000000..599715404bbeae3b3addf6f32168b76782e0eb42 --- /dev/null +++ b/.output/public/assets/index-Lt3PC9Ko.js @@ -0,0 +1,98 @@ +import{F as e,a as t}from"./index-DmTGWjjO.js";import{I as n}from"./index-pjvKxr27.js";import{d as a,b as r,H as o,I as l,J as i,K as s,S as u,j as c,w as d,p,al as h,am as f,O as g,an as v,U as m,ao as b,ap as y,aq as O,T as C,ar as w,as as j,a3 as _,a4 as S,a7 as P,at as k,au as x,a5 as V,av as M,Z as D,aw as E,ax as B,ay as F,az as H,F as I,aA as N,aB as A,aC as U,aD as z,ag as G,Y as $,o as T,c as L,q as R,e as K,aE as q,ai as X,_ as Y,ab as J,n as W,B as Z,ad as Q,t as ee,z as te,f as ne,r as ae,s as re,y as oe,x as le,aF as ie,M as se,G as ue,aG as ce,k as de,u as pe,l as he,ac as fe,aH as ge,m as ve,D as me,aI as be,ah as ye,$ as Oe,E as Ce,A as we,R as je,ae as _e}from"./main-DzSNOqOC.js";import{_ as Se}from"./avatar.vue_vue_type_script_setup_true_lang-B0fdXq3h.js";import{t as Pe,I as ke,S as xe,O as Ve,_ as Me}from"./form-model-CXHJGOsj.js";import{_ as De,U as Ee}from"./index-BuIb9tIA.js";import{S as Be}from"./index-DyrTSsVD.js";import{a as Fe}from"./fetch-C6zEckB6.js";import{p as He}from"./plus-CEvO8XVn.js";import{a as Ie}from"./index-C2aHaTIl.js";import{D as Ne}from"./index-DmWclHlm.js";import"./refresh-BD1L4aGQ.js";import"./v4-_R2nDvl_.js";import"./index-CjKlnN2e.js";import"./dep-916b902f-BLs2dxx4.js";import"./debounce-DjqSSMbT.js"; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var Ae=function(e){return null===e};function Ue(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function ze(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ue(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ue(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ge={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M3 3h3v3H3V3zm7.5 0h3v3h-3V3zM18 3h3v3h-3V3zM3 10.5h3v3H3v-3zm7.5 0h3v3h-3v-3zm7.5 0h3v3h-3v-3zM3 18h3v3H3v-3zm7.5 0h3v3h-3v-3zm7.5 0h3v3h-3v-3z"}}]},$e=a({name:"MenuApplicationIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,t){var{attrs:n}=t,a=r((()=>e.size)),{className:i,style:s}=o(a),u=r((()=>["t-icon","t-icon-menu-application",i.value])),c=r((()=>ze(ze({},s.value),n.style))),d=r((()=>({class:u.value,style:c.value,onClick:t=>{var n;return null===(n=e.onClick)||void 0===n?void 0:n.call(e,{e:t})}})));return()=>l(Ge,d.value)}}),Te={borderless:Boolean,clearable:Boolean,closeBtn:{type:[String,Boolean,Function],default:!0},colorModes:{type:Array,default:function(){return["monochrome","linear-gradient"]}},disabled:Boolean,enableAlpha:Boolean,enableMultipleGradient:{type:Boolean,default:!0},format:{type:String,default:"RGB",validator:function(e){return!e||["RGB","RGBA","HSL","HSLA","HSB","HSV","HSVA","HEX","CMYK","CSS"].includes(e)}},inputProps:{type:Object},multiple:Boolean,popupProps:{type:Object},recentColors:{type:Array,default:void 0},defaultRecentColors:{type:Array,default:function(){return[]}},selectInputProps:{type:Object},showPrimaryColorPreview:{type:Boolean,default:!0},size:{type:String,default:"medium",validator:function(e){return!e||["small","medium","large"].includes(e)}},swatchColors:{type:Array},value:{type:String,default:void 0},modelValue:{type:String,default:void 0},defaultValue:{type:String,default:""},onChange:Function,onPaletteBarChange:Function,onRecentColorsChange:Function},Le={monochrome:"singleColor","linear-gradient":"gradientColor"},Re="linear-gradient(90deg, rgba(241,29,0,1) 0%, rgba(73,106,220,1) 100%);",Ke=["#ECF2FE","#D4E3FC","#BBD3FB","#96BBF8","#699EF5","#4787F0","#266FE8","#0052D9","#0034B5","#001F97","#FDECEE","#F9D7D9","#F8B9BE","#F78D94","#F36D78","#E34D59","#C9353F","#B11F26","#951114","#680506","#FEF3E6","#F9E0C7","#F7C797","#F2995F","#ED7B2F","#D35A21","#BA431B","#9E3610","#842B0B","#5A1907","#E8F8F2","#BCEBDC","#85DBBE","#48C79C","#00A870","#078D5C","#067945","#056334","#044F2A","#033017"],qe=["HEX","RGB","HSL","HSV","CMYK","CSS"],Xe=function(e){var t=s("color-picker");return r((function(){return t.value}))}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function Ye(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Je(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ye(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ye(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function We(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!v(e)}var Ze,Qe,et,tt,nt,at,rt,ot=a({name:"PanelHeader",props:Je(Je({},Te),{},{mode:{type:String,default:"color"},togglePopup:{type:Function},onModeChange:{type:Function,default:function(){return function(){}}}}),setup:function(e){var t=u("colorPicker").globalConfig,n=Xe(),a=c(e.mode),r=function(t){return e.onModeChange(t)};return d((function(){return e.mode}),(function(e){return a.value=e})),function(){var o,l;return 1===(null===(l=e.colorModes)||void 0===l?void 0:l.length)?null:p("div",{class:"".concat(n.value,"__head")},[p("div",{class:"".concat(n.value,"__mode")},[p(h,{variant:"default-filled",size:"small",modelValue:a.value,"onUpdate:modelValue":function(e){return a.value=e},onChange:r},We(o=Object.keys(Le).map((function(e){var n;return p(f,{key:e,value:e},We(n=Reflect.get(t.value,Le[e]))?n:{default:function(){return[n]}})})))?o:{default:function(){return[o]}})])])}}}),lt=/cmyk\((\d+%?),(\d+%?),(\d+%?),(\d+%?)\)/,it=function(e){return Math.max(0,Math.min(255,parseInt(e,10)))},st=function(e){if(/cmyk/i.test(e)){var t=e.replace(/\s/g,"").match(lt),n=function(e,t,n,a){var r=e/100,o=t/100,l=n/100,i=a/100,s=1-(r=r*(1-i)+i),u=1-(o=o*(1-i)+i),c=1-(l=l*(1-i)+i);return{r:s=Math.round(255*s),g:u=Math.round(255*u),b:c=Math.round(255*c)}}(it(t[1]),it(t[2]),it(t[3]),it(t[4])),a=n.r,r=n.g,o=n.b;return"rgb(".concat(a,", ").concat(r,", ").concat(o,")")}return e},ut=function(e,t){for(var n="",a=0;a<e.length;a++)m(e[a])?n+=e[a]:n+=e[a].source;return new RegExp(n,t)},ct=(Ze=/\s*,\s*/,Qe=/(?:[+-]?\d*\.?\d+)(?:%|[a-z]+)?/,et=ut(["(?:",/#(?:[a-f0-9]{6}|[a-f0-9]{3})/,"|","(?:rgb|hsl)",/\(\s*(?:\d{1,3}\s*,\s*){2}\d{1,3}\s*\)/,"|","(?:rgba|hsla)",/\(\s*(?:\d{1,3}\s*,\s*){2}\d{1,3}\s*,\s*\d*\.?\d+\)/,"|",/[_a-z-][_a-z0-9-]*/,")"],""),tt=ut([et,"(?:\\s+",Qe,"(?:\\s+",Qe,")?)?"],""),nt=ut(["(?:",tt,Ze,")*",tt],""),at=ut(["(?:(",/(?:[+-]?\d*\.?\d+)(?:deg|grad|rad|turn)/,")|",/to\s+((?:(?:left|right|top|bottom)(?:\s+(?:top|bottom|left|right))?))/,")"],""),{gradientSearch:ut(["(?:(",at,")",Ze,")?(",nt,")"],"gi"),colorStopSearch:ut(["\\s*(",et,")","(?:\\s+","(",Qe,"))?","(?:",Ze,"\\s*)?"],"gi")}),dt=/.*gradient\s*\(((?:\([^)]*\)|[^)(]*)*)\)/gim,pt=function(e){return dt.lastIndex=0,dt.exec(e)},ht={top:0,right:90,bottom:180,left:270,"top left":225,"left top":225,"top right":135,"right top":135,"bottom left":315,"left bottom":315,"bottom right":45,"right bottom":45},ft=function(e){var t=pt(e);if(!t)return!1;var n={points:[],degree:0},a=function(e,t){var n,a,r;e.gradientSearch.lastIndex=0;var o=e.gradientSearch.exec(t);if(!Ae(o))for(n={original:o[0],colorStopList:[]},o[1]&&(n.line=o[1]),o[2]&&(n.angle=o[2]),o[3]&&(n.sideCorner=o[3]),e.colorStopSearch.lastIndex=0,a=e.colorStopSearch.exec(o[4]);!Ae(a);)r={color:a[1]},a[2]&&(r.position=a[2]),n.colorStopList.push(r),a=e.colorStopSearch.exec(o[4]);return n}(ct,t[1]);if(a.original.trim()!==t[1].trim())return!1;var r=a.colorStopList.map((function(e){var t=e.color,n=e.position,a=Object.create(null);return a.color=Pe(t).toRgbString(),a.left=parseFloat(n),a}));n.points=r;var o=parseInt(a.angle,10);return Number.isNaN(o)&&(o=ht[a.sideCorner]||90),n.degree=o,n}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function gt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function vt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gt(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var mt=Math.round,bt=function(e){return Pe(e).toRgb()},yt=function(e){var t=e.points,n=e.degree,a=t.sort((function(e,t){return e.left-t.left})).map((function(e){return"".concat(e.color," ").concat(Math.round(100*e.left)/100,"%")}));return"linear-gradient(".concat(n,"deg,").concat(a.join(","),")")},Ot=function(e,t){return{id:(1+4294967295*Math.random()).toString(16),left:e,color:t}},Ct=function(){return b((function e(t){O(this,e),g(this,"states",{s:100,v:100,h:100,a:1}),g(this,"originColor",void 0),g(this,"isGradient",void 0),g(this,"gradientStates",{colors:[],degree:0,selectedId:null,css:""}),this.update(t)}),[{key:"update",value:function(e){if(e!==this.originColor){var t=ft(e);if(this.isGradient&&!t){var n=Pe(e).toHsv();return this.states=n,void this.updateCurrentGradientColor()}this.originColor=e,this.isGradient=!1;var a=e;if(t){var r,o;this.isGradient=!0;var l=t,i=l.points.map((function(e){return Ot(e.left,e.color)}));this.gradientStates={colors:i,degree:l.degree,selectedId:(null===(r=i[0])||void 0===r?void 0:r.id)||null},this.gradientStates.css=this.linearGradient,a=null===(o=this.gradientSelectedPoint)||void 0===o?void 0:o.color}this.updateStates(a)}}},{key:"saturation",get:function(){return this.states.s},set:function(e){this.states.s=Math.max(0,Math.min(100,e)),this.updateCurrentGradientColor()}},{key:"value",get:function(){return this.states.v},set:function(e){this.states.v=Math.max(0,Math.min(100,e)),this.updateCurrentGradientColor()}},{key:"hue",get:function(){return this.states.h},set:function(e){this.states.h=Math.max(0,Math.min(360,e)),this.updateCurrentGradientColor()}},{key:"alpha",get:function(){return this.states.a},set:function(e){this.states.a=Math.max(0,Math.min(1,Math.round(100*e)/100)),this.updateCurrentGradientColor()}},{key:"rgb",get:function(){var e=bt(this.states),t=e.r,n=e.g,a=e.b;return"rgb(".concat(mt(t),", ").concat(mt(n),", ").concat(mt(a),")")}},{key:"rgba",get:function(){var e=bt(this.states),t=e.r,n=e.g,a=e.b,r=e.a;return"rgba(".concat(mt(t),", ").concat(mt(n),", ").concat(mt(a),", ").concat(r,")")}},{key:"hsv",get:function(){var e=this.getHsva(),t=e.h,n=e.s,a=e.v;return"hsv(".concat(t,", ").concat(n,"%, ").concat(a,"%)")}},{key:"hsva",get:function(){var e=this.getHsva(),t=e.h,n=e.s,a=e.v,r=e.a;return"hsva(".concat(t,", ").concat(n,"%, ").concat(a,"%, ").concat(r,")")}},{key:"hsl",get:function(){var e=this.getHsla(),t=e.h,n=e.s,a=e.l;return"hsl(".concat(t,", ").concat(n,"%, ").concat(a,"%)")}},{key:"hsla",get:function(){var e=this.getHsla(),t=e.h,n=e.s,a=e.l,r=e.a;return"hsla(".concat(t,", ").concat(n,"%, ").concat(a,"%, ").concat(r,")")}},{key:"hex",get:function(){return Pe(this.states).toHexString()}},{key:"hex8",get:function(){return Pe(this.states).toHex8String()}},{key:"cmyk",get:function(){var e=this.getCmyk(),t=e.c,n=e.m,a=e.y,r=e.k;return"cmyk(".concat(t,", ").concat(n,", ").concat(a,", ").concat(r,")")}},{key:"css",get:function(){return this.isGradient?this.linearGradient:this.rgba}},{key:"linearGradient",get:function(){var e=this.gradientColors,t=this.gradientDegree;return yt({points:e,degree:t})}},{key:"gradientColors",get:function(){return this.gradientStates.colors},set:function(e){this.gradientStates.colors=e,this.gradientStates.css=this.linearGradient}},{key:"gradientSelectedId",get:function(){return this.gradientStates.selectedId},set:function(e){var t;e!==this.gradientSelectedId&&(this.gradientStates.selectedId=e,this.updateStates(null===(t=this.gradientSelectedPoint)||void 0===t?void 0:t.color))}},{key:"gradientDegree",get:function(){return this.gradientStates.degree},set:function(e){this.gradientStates.degree=Math.max(0,Math.min(360,e)),this.gradientStates.css=this.linearGradient}},{key:"gradientSelectedPoint",get:function(){var e=this.gradientColors,t=this.gradientSelectedId;return e.find((function(e){return e.id===t}))}},{key:"getFormatsColorMap",value:function(){return{HEX:this.hex,CMYK:this.cmyk,RGB:this.rgb,RGBA:this.rgba,HSL:this.hsl,HSLA:this.hsla,HSV:this.hsv,HSVA:this.hsva,CSS:this.css,HEX8:this.hex8}}},{key:"updateCurrentGradientColor",value:function(){var e=this.isGradient,t=this.gradientColors,n=this.gradientSelectedId,a=t.length,r=this.gradientSelectedPoint;if(!e||0===a||!r)return!1;var o=t.findIndex((function(e){return e.id===n})),l=vt(vt({},r),{},{color:this.rgba});return t.splice(o,1,l),this.gradientColors=t.slice(),this}},{key:"updateStates",value:function(e){var t=Pe(st(e)).toHsv();this.states=t}},{key:"getRgba",value:function(){var e=bt(this.states),t=e.r,n=e.g,a=e.b,r=e.a;return{r:mt(t),g:mt(n),b:mt(a),a:r}}},{key:"getCmyk",value:function(){var e=this.getRgba(),t=function(e,t,n){var a=0,r=0,o=0,l=parseInt("".concat(e).replace(/\s/g,""),10),i=parseInt("".concat(t).replace(/\s/g,""),10),s=parseInt("".concat(n).replace(/\s/g,""),10);if(0===l&&0===i&&0===s)return[0,0,0,1];a=1-l/255,r=1-i/255,o=1-s/255;var u=Math.min(a,Math.min(r,o));return[a=(a-u)/(1-u),r=(r-u)/(1-u),o=(o-u)/(1-u),u]}(e.r,e.g,e.b),n=y(t,4),a=n[0],r=n[1],o=n[2],l=n[3];return{c:mt(100*a),m:mt(100*r),y:mt(100*o),k:mt(100*l)}}},{key:"getHsva",value:function(){var e,t=(e=this.states,Pe(e).toHsv()),n=t.h,a=t.s,r=t.v,o=t.a;return{h:n=mt(n),s:a=mt(100*a),v:r=mt(100*r),a:o*=1}}},{key:"getHsla",value:function(){var e,t=(e=this.states,Pe(e).toHsl()),n=t.h,a=t.s,r=t.l,o=t.a;return{h:n=mt(n),s:a=mt(100*a),l:r=mt(100*r),a:o*=1}}},{key:"equals",value:function(e){return Pe.equals(this.rgba,e)}}],[{key:"isValid",value:function(e){return!!ft(e)||Pe(e).isValid()}},{key:"hsva2color",value:function(e,t,n,a){return Pe({h:e,s:t,v:n,a:a}).toHsvString()}},{key:"hsla2color",value:function(e,t,n,a){return Pe({h:e,s:t,l:n,a:a}).toHslString()}},{key:"rgba2color",value:function(e,t,n,a){return Pe({r:e,g:t,b:n,a:a}).toHsvString()}},{key:"hex2color",value:function(e,t){var n=Pe(e);return n.setAlpha(t),n.toHexString()}},{key:"object2color",value:function(e,t){if("CMYK"===t){var n=e.c,a=e.m,r=e.y,o=e.k;return"cmyk(".concat(n,", ").concat(a,", ").concat(r,", ").concat(o,")")}return Pe(e,{format:t}).toRgbString()}}])}();rt=Ct,g(Ct,"isGradientColor",(function(e){return!!pt(e)})),g(Ct,"compare",(function(e,t){var n=rt.isGradientColor(e),a=rt.isGradientColor(t);return n&&a?yt(ft(e))===yt(ft(t)):!n&&!a&&Pe.equals(e,t)}));var wt=["alpha","css","hex","hex8","hsl","hsla","hsv","hsva","rgb","rgba","saturation","value","isGradient"],jt=function(e){if(!e)return null;var t=Object.create(null);return wt.forEach((function(n){return t[n]=e[n]})),e.isGradient&&(t.linearGradient=e.linearGradient),t}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function _t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function St(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_t(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_t(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Pt(e,t){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.add(e)}function kt(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var xt={start:function(e,t){},drag:function(e,t){},end:function(e,t){}},Vt=new WeakSet,Mt=function(){return b((function e(t,n){O(this,e),Pt(this,Vt),g(this,"dragging",!1),g(this,"$el",void 0),g(this,"props",void 0),g(this,"handles",void 0),this.$el=t,this.props=St(St({},xt),n),this.handles={start:kt(Vt,this,Dt).bind(this),drag:kt(Vt,this,Et).bind(this),end:kt(Vt,this,Bt).bind(this)},this.$el.addEventListener("mousedown",this.handles.start,!1)}),[{key:"destroy",value:function(){this.$el.removeEventListener("mousedown",this.handles.start,!1),window.removeEventListener("mousemove",this.handles.drag,!1),window.removeEventListener("mouseup",this.handles.end,!1),window.removeEventListener("contextmenu",this.handles.end,!1)}}])}();function Dt(e){this.dragging||(window.addEventListener("mousemove",this.handles.drag,!1),window.addEventListener("mouseup",this.handles.end,!1),window.addEventListener("contextmenu",this.handles.end,!1),this.dragging=!0,this.props.start(kt(Vt,this,Ft).call(this,e),e))}function Et(e){this.dragging&&this.props.drag(kt(Vt,this,Ft).call(this,e),e)}function Bt(e){var t=this;setTimeout((function(){t.dragging=!1,t.props.end(kt(Vt,t,Ft).call(t,e),e)}),0),window.removeEventListener("mousemove",this.handles.drag,!1),window.removeEventListener("mouseup",this.handles.end,!1),window.removeEventListener("contextmenu",this.handles.end,!1)}function Ft(e){var t=this.$el.getBoundingClientRect(),n=e,a=n.clientX-t.left,r=n.clientY-t.top;return{y:Math.min(Math.max(0,r),t.height),x:Math.min(Math.max(0,a),t.width)}} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var Ht={disabled:Boolean,color:{type:Object},onChange:{type:Function,default:function(){return function(){}}}}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function It(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Nt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?It(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):It(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var At=["delete","backspace"],Ut=a({name:"LinearGradient",inheritAttrs:!1,props:Nt(Nt({},Ht),{},{enableMultipleGradient:{type:Boolean,default:!0}}),setup:function(e){var t=Xe(),n=C().STATUS.value,a=c(null),r=w({left:0,width:176}),o=c(!1),l=c(!1),i=c(e.color.gradientDegree),s=c(e.color.gradientSelectedId),u=c(j(e.color.gradientColors));d((function(){return e.color.gradientDegree}),(function(e){return i.value=e})),d((function(){return e.color.gradientSelectedId}),(function(e){return s.value=e})),d((function(){return e.color.gradientColors}),(function(e){u.value=j(e)}),{deep:!0});var p=function(t,n,a){e.disabled||e.onChange({key:t,payload:n,addUsedColor:a})},h=function(t){e.disabled||(s.value=t,p("selectedId",t))},f=function(t,n){e.disabled||(u.value=t,p("colors",t,n))},g=function(t){if(o.value&&!e.disabled){var n=t.clientX-r.left;l.value=!0,function(e){var t=u.value.findIndex((function(e){return e.id===s.value}));if(-1!==t){var n=u.value[t],a=(e=Math.max(0,Math.min(r.width,e)))/r.width*100;u.value.splice(t,1,{color:n.color,left:a,id:n.id}),f(u.value)}}(n)}},v=function(){o.value&&(setTimeout((function(){o.value=!1}),0),l.value&&(f(u.value,!0),l.value=!1),window.removeEventListener("mousemove",g,!1),window.removeEventListener("mouseup",v,!1),window.removeEventListener("contextmenu",v,!1))};return _((function(){var e=a.value.getBoundingClientRect();r.left=e.left,r.width=e.width||176})),S((function(){window.removeEventListener("mousemove",g,!1),window.removeEventListener("mouseup",v,!1),window.removeEventListener("contextmenu",v,!1)})),{baseClassName:t,statusClassNames:n,refSlider:a,degree:i,selectedId:s,colors:u,handleDegreeChange:function(t){e.disabled||t===e.color.gradientDegree||(i.value=t,p("degree",t,!0))},handleStart:function(t){var n=a.value.getBoundingClientRect();r.left=n.left,r.width=n.width||176,o.value||e.disabled||(l.value=!1,o.value=!0,h(t),a.value.focus(),window.addEventListener("mousemove",g,!1),window.addEventListener("mouseup",v,!1),window.addEventListener("contextmenu",v,!1))},handleMove:g,handleEnd:v,handleKeyup:function(t){if(!e.disabled){var n=u.value,a=n.findIndex((function(e){return e.id===s.value})),r=n.length;if(At.includes(t.key.toLocaleLowerCase())&&r>2&&a>=0&&a<=r-1){n.splice(a,1),n[a]||(a=n[a+1]?a+1:n[a-1]?a-1:0);var o=n[a];f(n,!0),h(null==o?void 0:o.id)}}},handleThumbBarClick:function(t){if(!e.disabled&&e.enableMultipleGradient){var n=t.clientX-r.left,a=(n=Math.max(0,Math.min(r.width,n)))/r.width*100,o=Ot(a,e.color.rgba);u.value.push(o),f(u.value,!0),h(o.id)}}}},render:function(){var e=this,t=this.color,n=t.linearGradient,a=t.gradientColors,r=this.colors,o=this.selectedId,l=this.degree,i=this.disabled,s=this.baseClassName,u=this.statusClassNames,c=yt({points:a,degree:90});return p("div",{class:"".concat(s,"__gradient")},[p("div",{class:"".concat(s,"__gradient-slider")},[p("div",{class:["".concat(s,"__slider"),"".concat(s,"--bg-alpha")],onKeyup:this.handleKeyup,tabindex:0,ref:"refSlider"},[p("ul",{class:"gradient-thumbs",onClick:this.handleThumbBarClick,style:{background:c}},[r.map((function(t){var n="".concat(Math.round(100*t.left)/100,"%");return p("li",{class:["".concat(s,"__thumb"),"gradient-thumbs__item",o===t.id?u.active:""],key:t.id,title:"".concat(t.color," ").concat(n),style:{color:t.color,left:n},onClick:function(e){return e.stopPropagation()},onMousedown:function(){return e.handleStart(t.id)}},[p("span",{class:["gradient-thumbs__item-inner","".concat(s,"--bg-alpha")]},null)])}))])])]),p("div",{class:"".concat(s,"__gradient-degree"),title:"".concat(l,"deg")},[p(ke,{size:"small",theme:"normal",min:0,max:360,step:1,format:function(e){return"".concat(e,"°")},modelValue:e.degree,"onUpdate:modelValue":function(t){return e.degree=t},onBlur:this.handleDegreeChange,onEnter:this.handleDegreeChange,disabled:i},null)]),p("div",{class:["".concat(s,"__gradient-preview"),"".concat(s,"--bg-alpha")]},[p("span",{class:"preview-inner",style:{background:n}},null)])])}}); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function zt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}var Gt=a({name:"SaturationPanel",props:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?zt(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Ht),setup:function(e){var t=Xe(),n=c(null),a=c(null),o=c(null),l=w({width:230,height:168}),i=r((function(){var t=e.color,n=t.saturation,a=t.value,r=l.width,o=l.height,i=Math.round((1-a)*o),s=Math.round(n*r);return{color:e.color.rgb,left:"".concat(s,"px"),top:"".concat(i,"px")}})),s=function(t,n){if(!e.disabled){var a=function(e){var t=l.width,n=l.height,a=e.x,r=e.y;return{saturation:Math.round(a/t*100),value:Math.round(100*(1-r/n))}}(t),r=a.saturation,o=a.value;e.onChange({saturation:r/100,value:o/100,addUsedColor:n})}},u=function(t){e.disabled||P((function(){s(t,!0)}))},d=r((function(){return"hsl(".concat(e.color.hue,", 100%, 50%)")}));return _((function(){l.width=n.value.offsetWidth||230,l.height=n.value.offsetHeight||168,o.value=new Mt(n.value,{start:function(){l.width=n.value.offsetWidth,l.height=n.value.offsetHeight},drag:function(e){s(e)},end:u})})),S((function(){o.value.destroy()})),{baseClassName:t,refThumb:a,refPanel:n,styles:i,panelBackground:d}},render:function(){var e=this.baseClassName,t=this.styles,n=this.panelBackground;return p("div",{class:["".concat(e,"__saturation")],ref:"refPanel",style:{background:n}},[p("span",{class:["".concat(e,"__thumb")],role:"slider",tabindex:0,ref:"refThumb",style:t},null)])}}); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function $t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Tt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$t(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$t(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Lt=a({name:"ColorSlider",props:Tt(Tt({},Ht),{},{className:{type:String,default:""},value:{type:Number,default:0},maxValue:{type:Number,default:360},railStyle:{type:Object},type:{type:String,default:"hue"}}),setup:function(e){var t=Xe(),n=c(null),a=c(null),o=c(null),l=w({width:186}),i=r((function(){if(l.width){var t=Math.round(e.value/e.maxValue*100);return{left:"".concat(t,"%"),color:e.color.rgb}}})),s=function(t,n){if(!e.disabled){var a=l.width,r=t.x,o=Math.round(r/a*e.maxValue*100)/100;e.onChange(o,n)}},u=function(t){e.disabled||s(t,!0)};return _((function(){l.width=n.value.offsetWidth||186,o.value=new Mt(n.value,{start:function(){l.width=n.value.offsetWidth},drag:function(e){s(e)},end:u})})),S((function(){o.value.destroy()})),{baseClassName:t,refThumb:a,refPanel:n,styles:i}},render:function(){var e=this.baseClassName,t=this.className,n=this.railStyle,a=this.styles,r=this.type,o=this.color,l={background:"linear-gradient(90deg, rgba(0,0,0,.0) 0%, rgba(0,0,0,.0) 93%, ".concat(o.rgb," 93%, ").concat(o.rgb," 100%)")};return p("div",{class:["".concat(e,"__slider-wrapper"),"".concat(e,"__slider-wrapper--").concat(r,"-type")]},["alpha"===r&&p("div",{className:"".concat(e,"__slider-padding"),style:l},null),p("div",{class:["".concat(e,"__slider"),t],ref:"refPanel"},[p("div",{class:"".concat(e,"__rail"),style:n},null),p("span",{class:["".concat(e,"__thumb")],role:"slider",tabindex:0,ref:"refThumb",style:a},null)])])}}); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function Rt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}var Kt=a({name:"HueSlider",inheritAttrs:!1,props:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Rt(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Ht),setup:function(){return{baseClassName:Xe()}},render:function(){return p(Lt,{class:"".concat(this.baseClassName,"__hue"),color:this.color,value:this.color.hue,onChange:this.onChange,disabled:this.disabled,type:"hue"},null)}}),qt=a({name:"AlphaSlider",inheritAttrs:!1,props:{color:{type:Object},disabled:{type:Boolean,default:!1},onChange:{type:Function,default:function(){return function(){}}}},setup:function(e){return{baseClassName:Xe(),railStyle:r((function(){return{background:"linear-gradient(to right, rgba(0, 0, 0, 0), ".concat(e.color.rgb,")")}})),handleChange:function(t,n){e.onChange(t/100,n)}}},render:function(){var e=this.baseClassName;return p(Lt,{class:["".concat(e,"__alpha"),"".concat(e,"--bg-alpha")],color:this.color,value:100*this.color.alpha,onChange:this.handleChange,"rail-style":this.railStyle,"max-value":100,disabled:this.disabled,type:"alpha"},null)}}),Xt={RGB:[{key:"r",min:0,max:255,type:"inputNumber"},{key:"g",min:0,max:255,type:"inputNumber"},{key:"b",min:0,max:255,type:"inputNumber"}],HSV:[{key:"h",min:0,max:360,type:"inputNumber"},{key:"s",min:0,max:100,type:"inputNumber"},{key:"v",min:0,max:100,type:"inputNumber"}],HSL:[{key:"h",min:0,max:360,type:"inputNumber"},{key:"s",min:0,max:100,type:"inputNumber"},{key:"l",min:0,max:100,type:"inputNumber"}],CMYK:[{key:"c",min:0,max:255,type:"inputNumber"},{key:"m",min:0,max:255,type:"inputNumber"},{key:"y",min:0,max:255,type:"inputNumber"},{key:"k",min:0,max:255,type:"inputNumber"}],CSS:[{key:"css",type:"input",flex:3}],HEX:[{key:"hex",type:"input",flex:3}]}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function Yt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Jt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Yt(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Wt=a({name:"FormatInputs",inheritAttrs:!1,props:Jt(Jt({},Te),{},{color:{type:Object},onInputChange:{type:Function,default:function(){return function(){}}}}),setup:function(e){var t=r((function(){var t=k(Xt[e.format]);return e.enableAlpha&&t.push({type:"inputNumber",key:"a",min:0,max:100,format:function(e){return"".concat(e,"%")},flex:1.15}),t})),n=w({}),a=w({}),o=function(t){var a=e.color;return"encode"===t?{HSV:a.getHsva(),HSL:a.getHsla(),RGB:a.getRgba(),CMYK:a.getCmyk(),CSS:{css:a.css},HEX:{hex:a.hex}}:{HSV:Ct.object2color(n,"HSV"),HSL:Ct.object2color(n,"HSL"),RGB:Ct.object2color(n,"RGB"),CMYK:Ct.object2color(n,"CMYK"),CSS:n.css,HEX:n.hex}},l=function(){var t=e.format,r=e.color,l=o("encode")[t];l.a=Math.round(100*r.alpha),Object.keys(l).forEach((function(e){n[e]=l[e],a[e]=l[e]}))};l();var i=x(l,100);d((function(){var t=e.color;return[t.saturation,t.hue,t.value,t.alpha,t.css,e.format]}),i);return{modelValue:n,inputConfigs:t,handleChange:function(t,r){if(r!==a[t]){var l=o("decode")[e.format];e.onInputChange(l,n.a/100,t,r)}}}},render:function(){var e=this,t=Jt({},this.inputProps||{});return p("div",{class:"input-group"},[this.inputConfigs.map((function(a){return p("div",{class:"input-group__item",key:a.key,style:{flex:a.flex||1}},["input"===a.type?p(n,V(t,{align:"center",size:"small",disabled:e.disabled,modelValue:e.modelValue[a.key],"onUpdate:modelValue":function(t){return e.modelValue[a.key]=t},maxlength:"HEX"===e.format?9:void 0,title:e.modelValue[a.key],onBlur:function(t){return e.handleChange(a.key,t)},onEnter:function(t){return e.handleChange(a.key,t)}}),null):p(ke,V(t,{align:"center",size:"small",disabled:e.disabled,modelValue:e.modelValue[a.key],"onUpdate:modelValue":function(t){return e.modelValue[a.key]=t},title:e.modelValue[a.key],min:a.min,max:a.max,step:1,format:a.format,theme:"normal",onBlur:function(t){return e.handleChange(a.key,t)},onEnter:function(t){return e.handleChange(a.key,t)}}),null)])}))])}}),Zt=M((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function Qt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function en(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qt(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var tn=a({name:"FormatPanel",inheritAttrs:!1,props:en(en({},Te),{},{color:{type:Object},onModeChange:{type:Function,default:function(){return function(){}}},onInputChange:{type:Function,default:function(){return function(){}}}}),setup:function(e){var t=Xe(),n=c(e.format);d((function(){return[e.format]}),(function(){return n.value=e.format}));return{formatModel:n,baseClassName:t,handleModeChange:function(t){n.value=t,e.onModeChange(t)}}},render:function(){var e,t,n=this,a=this.baseClassName,r=this.handleModeChange,o=en(en({},this.$props),{},{format:this.formatModel}),l=en({},this.selectInputProps||{});return p("div",{class:"".concat(a,"__format")},[p("div",{class:"".concat(a,"__format--item")},[p(xe,{size:"small",class:"".concat(a,"__format-mode-select"),selectInputProps:en({},l),popupProps:en({overlayClassName:"".concat(a,"__select-options")},l.popupProps),modelValue:n.formatModel,"onUpdate:modelValue":function(e){return n.formatModel=e},onChange:r},(t=e=qe.map((function(e){return p(Ve,{key:e,value:e,label:Zt(e),style:{fontSize:"12px"}},null)})),"function"==typeof t||"[object Object]"===Object.prototype.toString.call(t)&&!v(t)?e:{default:function(){return[e]}}))]),p("div",{class:"".concat(a,"__format--item")},[p(Wt,o,null)])])}}); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function nn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function an(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?nn(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var rn=a({name:"SwatchesPanel",props:an(an({},Ht),{},{colors:{type:Array,default:function(){return[]}},title:{type:String,default:"系统色彩"},editable:{type:Boolean,default:!1},onSetColor:{type:Function,default:function(){return function(){}}},handleAddColor:{type:Function,default:function(){return function(){}}}}),setup:function(e){var t=Xe(),n=D({DeleteIcon:De,AddIcon:E}),a=n.DeleteIcon,o=n.AddIcon,l=C().STATUS.value,i=c(!1),s=function(e){i.value=e},u=function(t){return Ct.compare(t,e.color.css)},d=r((function(){return e.colors.findIndex((function(e){return u(e)}))}));return{baseClassName:t,DeleteIcon:a,AddIcon:o,statusClassNames:l,selectedColorIndex:d,visiblePopConfirm:i,setVisiblePopConfirm:s,handleClick:function(t){return e.onSetColor(t)},isEqualCurrentColor:u,handleRemoveColor:function(){var t=e.colors,n=d.value;-1!==n&&(t.splice(n,1),e.onChange(t),s(!1))}}},render:function(){var e=this,t=this.baseClassName,n=this.DeleteIcon,a=this.AddIcon,r=this.statusClassNames,o=this.title,l=this.editable,i="".concat(t,"__swatches");return p("div",{class:i},[p("h3",{class:"".concat(i,"--title")},[p("span",null,[o]),l?p("div",{class:"".concat(i,"--actions")},[p("span",{role:"button",class:"".concat(t,"__icon"),onClick:function(){return e.handleAddColor()}},[p(a,null,null)]),e.colors.length>0?p("span",{role:"button",class:"".concat(t,"__icon"),onClick:function(){return e.handleRemoveColor()}},[p(n,null,null)]):null]):null]),p("ul",{class:["".concat(i,"--items"),"narrow-scrollbar"]},[this.colors.map((function(n){return p("li",{class:["".concat(i,"--item"),e.isEqualCurrentColor(n)&&l?r.active:""],title:n,key:n,onClick:function(){e.disabled||e.handleClick(n)}},[p("div",{class:["".concat(i,"--color"),"".concat(t,"--bg-alpha")]},[p("span",{class:"".concat(i,"--inner"),style:{background:n}},null)])])}))])])}}); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function on(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function ln(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?on(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):on(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var sn=a({name:"ColorPanel",props:ln(ln({},Te),{},{togglePopup:{type:Function}}),setup:function(e){var t,n,a,o=Xe(),l=C().STATUS,i=u("colorPicker"),s=i.t,p=i.globalConfig,h=l.value,f=B(e),g=f.value,v=f.modelValue,m=f.recentColors,b=F(g,v,e.defaultValue,e.onChange),O=y(b,2),w=O[0],_=O[1],S=r((function(){return k.value?Re:"#001F97"})),P=c(1!==(null===(t=e.colorModes)||void 0===t?void 0:t.length)&&null!==(n=w.value)&&void 0!==n&&n.includes("linear-gradient")?"linear-gradient":1===(null===(a=e.colorModes)||void 0===a?void 0:a.length)?e.colorModes[0]:"monochrome"),k=r((function(){return"linear-gradient"===P.value})),x=c(new Ct(w.value||S.value)),V=function(){return x.value.update(w.value||S.value)},M=c(x.value.isGradient?"CSS":"RGB"),D=H(m,e.defaultRecentColors,e.onRecentColorsChange,"recentColors"),E=y(D,2),I=E[0],N=E[1],A=function(){return"linear-gradient"===P.value?x.value.linearGradient:x.value.getFormatsColorMap()[e.format]||x.value.css},U=function(e){N(e)},z=function(e){_(A(),{color:jt(x.value),trigger:e||"palette-saturation-brightness"})};d((function(){return[e.defaultValue,e.enableAlpha]}),V),d((function(){return w.value}),(function(e){e!==A()&&(V(),P.value=x.value.isGradient?"linear-gradient":"monochrome")}));return{baseClassName:o,statusClassNames:h,t:s,globalConfig:p,color:x,mode:P,formatModel:M,recentlyUsedColors:I,isGradient:k,addRecentlyUsedColor:function(){if(null!==I.value&&!1!==I.value){var e=j(I.value)||[],t=x.value.isGradient?x.value.linearGradient:x.value.rgba,n=e.indexOf(t);n>-1&&e.splice(n,1),e.unshift(t),e.length>100&&(e.length=100),U(e)}},handleModeChange:function(e){P.value=e,"linear-gradient"===e?x.value.update(x.value.gradientColors.length>0?x.value.linearGradient:Re):x.value.update(x.value.rgba),z()},handleSatAndValueChange:function(e){var t=e.saturation,n=e.value,a=x.value,r=a.saturation,o=a.value,l="palette-saturation-brightness";if(n!==o&&t!==r)x.value.saturation=t,x.value.value=n,l="palette-saturation-brightness";else if(t!==r)x.value.saturation=t,l="palette-saturation";else{if(n===o)return;x.value.value=n,l="palette-brightness"}x.value.update(x.value.rgba),z(l)},handleHueChange:function(t){var n;x.value.hue=t,z("palette-hue-bar"),null===(n=e.onPaletteBarChange)||void 0===n||n.call(e,{color:jt(x.value)})},handleAlphaChange:function(e){x.value.alpha=e,z("palette-alpha-bar")},handleGradientChange:function(e){var t=e.key,n=e.payload,a="palette-saturation-brightness";switch(t){case"degree":x.value.gradientDegree=n,a="input";break;case"selectedId":x.value.gradientSelectedId=n;break;case"colors":x.value.gradientColors=n}z(a)},handleSetColor:function(t,n){Ct.isGradientColor(n)?e.colorModes.includes("linear-gradient")&&(P.value="linear-gradient",x.value.update(n),x.value.updateCurrentGradientColor()):"linear-gradient"===P.value?(x.value.updateStates(n),x.value.updateCurrentGradientColor()):x.value.update(n),z()},handleFormatModeChange:function(e){return M.value=e},handleInputChange:function(e,t){x.value.update(e),x.value.alpha=t,z("input")},handleRecentlyUsedColorsChange:U}},render:function(){var e,t=this,n=this.t,a=this.baseClassName,r=this.statusClassNames,o=this.globalConfig,l=this.swatchColors,i=this.showPrimaryColorPreview,s=this.isGradient,u={color:this.color,disabled:this.disabled},c=null!==this.recentlyUsedColors&&!1!==this.recentlyUsedColors,d=l;void 0===d&&(d=k(Ke));var h=(null===(e=d)||void 0===e?void 0:e.length)>0;return p("div",{class:["".concat(a,"__panel"),!!this.disabled&&r.disabled]},[p(ot,V(this.$props,{mode:this.mode,onModeChange:this.handleModeChange}),null),p("div",{class:["".concat(a,"__body")]},[s?p(Ut,V(u,{onChange:this.handleGradientChange,enableMultipleGradient:this.enableMultipleGradient}),null):null,p(Gt,V(u,{onChange:this.handleSatAndValueChange}),null),p("div",{class:["".concat(a,"__sliders-wrapper")]},[p("div",{class:["".concat(a,"__sliders")]},[p(Kt,V(u,{onChange:this.handleHueChange}),null),this.enableAlpha?p(qt,V(u,{onChange:this.handleAlphaChange}),null):null]),i?p("div",{class:["".concat(a,"__sliders-preview"),"".concat(a,"--bg-alpha")]},[p("span",{class:"".concat(a,"__sliders-preview-inner"),style:{background:s?this.color.linearGradient:this.color.rgba}},null)]):null]),p(tn,V(this.$props,{color:this.color,format:this.formatModel,onModeChange:this.handleFormatModeChange,onInputChange:this.handleInputChange}),null),h||c?p(I,null,[p("div",{class:"".concat(a,"__swatches-wrap")},[c?p(rn,V(u,{title:n(o.recentColorTitle),editable:!0,colors:t.recentlyUsedColors,handleAddColor:t.addRecentlyUsedColor,onSetColor:function(e){return t.handleSetColor("used",e)},onChange:t.handleRecentlyUsedColorsChange}),null):null,h?p(rn,V(u,{title:n(o.swatchColorTitle),colors:d,onSetColor:function(e){return t.handleSetColor("system",e)}}),null):null])]):null])])}}),un=N,cn=A,dn=Me,pn=U; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var hn=function(e,t){if(null==e)return{};var n=un(pn(e),(function(e){return[e]}));return t=cn(t),dn(e,n,(function(e,n){return t(e,n[0])}))};function fn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function gn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fn(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var vn=a({name:"TColorPickerPanel",inheritAttrs:!1,props:gn({},Te),setup:function(e,t){var n=t.attrs,a=r((function(){return hn(gn(gn({},e),n),(function(e){return void 0!==e}))})),o=s();return function(){return p(sn,V(a.value,{popupProps:null,"close-btn":!1,class:"".concat(o.value,"-is-inline")}),null)}}}),mn=a({name:"DefaultTrigger",inheritAttrs:!1,props:{color:{type:String,default:""},disabled:{type:Boolean,default:!1},borderless:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},inputProps:{type:Object,default:function(){return{autoWidth:!0}}},onTriggerChange:{type:Function,default:function(){return function(){}}},size:{type:String,default:"medium"}},setup:function(e){var t=Xe(),n=c(e.color),a=C().SIZE;d((function(){return[e.color]}),(function(){return n.value=e.color}));return{baseClassName:t,value:n,handleChange:function(t){t!==e.color&&(t&&!Ct.isValid(t)?n.value=e.color:n.value=t,e.onTriggerChange(n.value))},sizeClassNames:a}},render:function(){var e=this,t=this.baseClassName,a=this.sizeClassNames,r={label:function(){return p("div",{class:["".concat(t,"__trigger--default__color"),"".concat(t,"--bg-alpha")]},[p("span",{class:["color-inner",g({},a[e.size],"medium"!==e.size)],style:{background:e.value}},null)])}};return p(n,V({borderless:this.borderless,clearable:this.clearable,size:this.size,modelValue:e.value,"onUpdate:modelValue":function(t){return e.value=t},disabled:this.disabled,onBlur:this.handleChange},this.inputProps),r)}}); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function bn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function yn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bn(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var On=a({name:"TColorPicker",props:yn({},Te),setup:function(e){var t=Xe(),n=c(!1),a=function(e){return n.value=e},r=B(e),o=r.value,l=r.modelValue,i=F(o,l,e.defaultValue,e.onChange),s=y(i,2),u=s[0],d=s[1],h=c();return{baseClassName:t,innerValue:u,visible:n,refTrigger:h,renderPopupContent:function(){if(e.disabled)return null;var t=yn({},e);return delete t.onChange,p(sn,V(t,{disabled:e.disabled,value:u.value,togglePopup:a,onChange:function(e,t){return d(e,t)}}),null)},setVisible:a,setInnerValue:d}},render:function(){var e=this,t=this.popupProps,n=this.baseClassName,a=yn(yn({placement:"bottom-left"},t||{}),{},{trigger:"click",attach:"body",overlayClassName:[n],visible:this.visible,overlayInnerStyle:{padding:0},onVisibleChange:function(t,n){"document"===n.trigger&&e.setVisible(!1)}});return p(G,V(a,{content:this.renderPopupContent}),{default:function(){return[p("div",{class:"".concat(n,"__trigger"),onClick:function(){return e.setVisible(!e.visible)},ref:"refTrigger"},[z(e,"default",p(mn,{borderless:e.borderless,color:e.innerValue,disabled:e.disabled,clearable:e.clearable,"input-props":e.inputProps,onTriggerChange:e.setInnerValue,size:e.size},null))])]}})}}),Cn=$(vn); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */$(On);const wn=a({__name:"CloudflareKVHTTPDriverForm",props:["modelValue"],emits:["update:modelValue"],setup(t,{emit:a}){const o=t,l=a,i=r({get:()=>o.modelValue,set:e=>l("update:modelValue",e)}),s=e=>{l("update:modelValue",{...i.value})};return(t,a)=>{const r=n,o=e;return T(),L(I,null,[p(o,{label:"API Base",name:"apiBase","initial-data":""},{default:R((()=>[p(r,{placeholder:"",modelValue:i.value.apiURL,"onUpdate:modelValue":a[0]||(a[0]=e=>i.value.apiURL=e),onChange:s},null,8,["modelValue"])])),_:1}),p(o,{label:"Account",name:"accountId","initial-data":""},{default:R((()=>[p(r,{placeholder:"",modelValue:i.value.accountId,"onUpdate:modelValue":a[1]||(a[1]=e=>i.value.accountId=e),onChange:s},null,8,["modelValue"])])),_:1}),p(o,{label:"Namespace",name:"namespaceId","initial-data":""},{default:R((()=>[p(r,{placeholder:"",modelValue:i.value.namespaceId,"onUpdate:modelValue":a[2]||(a[2]=e=>i.value.namespaceId=e),onChange:s},null,8,["modelValue"])])),_:1}),p(o,{label:"API Token",name:"apiToken","initial-data":""},{default:R((()=>[p(r,{type:"password",placeholder:"",modelValue:i.value.apiToken,"onUpdate:modelValue":a[3]||(a[3]=e=>i.value.apiToken=e),onChange:s},null,8,["modelValue"])])),_:1})],64)}}}),jn=Object.defineProperty({__proto__:null,default:wn,driverConfig:{name:"cloudflareKVHTTP",component:"CloudflareKVHTTPDriverForm"}},Symbol.toStringTag,{value:"Module"}),_n={xmlns:"http://www.w3.org/2000/svg",width:"88",height:"48",fill:"none"};const Sn={render:function(e,t){return T(),L("svg",_n,t[0]||(t[0]=[K("path",{fill:"var(--td-component-border)",d:"M0 0h88v48H0z"},null,-1),K("path",{fill:"var(--td-text-color-primary)",d:"M42.863 14.052v2.708h1.625v-2.708z"},null,-1),K("path",{fill:"var(--td-text-color-primary)","fill-rule":"evenodd",d:"M38.349 23.982a5.326 5.326 0 1 1 10.653 0 5.326 5.326 0 0 1-10.653 0m5.326-3.701a3.701 3.701 0 1 0 0 7.403 3.701 3.701 0 0 0 0-7.403M52.208 26.781h-2.621l-2.06 6.699 1.552.478.511-1.661h2.614l.511 1.66 1.554-.477zm-.503 3.89-.697-2.265h-.221l-.697 2.266z","clip-rule":"evenodd"},null,-1),K("path",{fill:"var(--td-text-color-primary)",d:"m48.208 18.3 1.915-1.914 1.149 1.15-1.915 1.914zM53.606 23.17h-2.709v1.625h2.709zM44.488 31.205v2.708h-1.625v-2.708zM37.228 31.579l1.915-1.915-1.15-1.15-1.914 1.916zM36.453 24.795h-2.708V23.17h2.708zM36.079 17.535l1.915 1.915 1.149-1.15-1.915-1.914z"},null,-1)]))}},Pn={xmlns:"http://www.w3.org/2000/svg",width:"88",height:"48",fill:"none"};const kn={render:function(e,t){return T(),L("svg",Pn,t[0]||(t[0]=[K("path",{fill:"#13161B",d:"M0 0h88v48H0z"},null,-1),K("path",{fill:"#949EAA","fill-rule":"evenodd",d:"M52.533 26.87q-.748.129-1.533.13a9 9 0 0 1-8.533-11.87A9 9 0 0 0 44 33a9 9 0 0 0 8.533-6.13","clip-rule":"evenodd"},null,-1)]))}},xn={xmlns:"http://www.w3.org/2000/svg",width:"88",height:"48",fill:"none"};const Vn={render:function(e,t){return T(),L("svg",xn,t[0]||(t[0]=[K("path",{fill:"var(--td-component-border)",d:"M0 0h88v48H0z"},null,-1),K("path",{fill:"var(--td-text-color-primary)","fill-rule":"evenodd",d:"M44 20.583a3.417 3.417 0 1 0 0 6.833 3.417 3.417 0 0 0 0-6.833M39.083 24a4.917 4.917 0 1 1 9.834 0 4.917 4.917 0 0 1-9.834 0M43.25 17.333v-2.5h1.5v2.5zM48.184 18.755l1.767-1.767 1.06 1.06-1.767 1.768zM50.667 23.25h2.5v1.5h-2.5zM49.244 28.184l1.768 1.767-1.06 1.06-1.768-1.767zM44.75 30.666v2.5h-1.5v-2.5zM39.816 29.244l-1.767 1.768-1.061-1.061 1.767-1.768zM37.333 24.75h-2.5v-1.5h2.5zM38.756 19.816l-1.768-1.768 1.06-1.06 1.768 1.767z","clip-rule":"evenodd"},null,-1)]))}},Mn=Y(a({__name:"index",props:{value:{type:String}},setup(e){const t=e,n=r((()=>{const{value:e}=t;return{background:q.indexOf(e)>-1?e:"conic-gradient(from 90deg at 50% 50%, #FF0000 -19.41deg, #FF0000 18.76deg, #FF8A00 59.32deg, #FFE600 99.87deg, #14FF00 141.65deg, #00A3FF 177.72deg, #0500FF 220.23deg, #AD00FF 260.13deg, #FF00C7 300.69deg, #FF0000 340.59deg, #FF0000 378.76deg)"}}));return(e,t)=>(T(),L("div",{style:X(n.value),class:"color-container"},null,4))}}),[["__scopeId","data-v-f0f6ec52"]]),Dn={class:"setting-container"},En={class:"setting-group-title"},Bn={style:{textAlign:"center",marginTop:"8px"}},Fn={class:"setting-group-title"},Hn={class:"setting-layout-drawer"},In={key:0,class:"setting-info mt-10"},Nn=a({__name:"appearance",setup(n){J();const a=W(),o=[ +//@ts-ignore +{type:"light",text:Z("pages.setting.theme.options.light")},{type:"dark",text:Z("pages.setting.theme.options.dark")},{type:"auto",text:Z("pages.setting.theme.options.auto")}],l=r((()=>-1===q.indexOf(i.value.brandTheme)?i.value.brandTheme:"")),i=c({...(()=>{const e=ce;for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(e[t]=a[t]);return e})()}),s=c(!1),u=e=>{i.value.brandTheme=e};_((()=>{var e;null==(e=document.querySelector(".dynamic-color-btn"))||e.addEventListener("click",(()=>{s.value=!0}))}));const d=(e,t)=>{e||"document"!==t.trigger||(s.value=e)},g=()=>{const e=JSON.stringify(i.value,null,4),{copy:t}=ie({source:e});t().then((()=>{se.closeAll(),se.success(Z("pages.setting.copy.success"))})).catch((()=>{se.closeAll(),se.error(Z("pages.setting.copy.fail"))}))};return Q((()=>{i.value.brandTheme&&a.updateConfig(i.value)})),(n,a)=>{const r=f,c=h,v=Cn,m=G,b=Be,y=e,O=t,C=ue;return T(),L("div",Dn,[p(O,{ref:"form",data:i.value,"label-align":"left"},{default:R((()=>[K("div",En,ee(n.$t("pages.setting.theme.mode")),1),p(c,{modelValue:i.value.mode,"onUpdate:modelValue":a[0]||(a[0]=e=>i.value.mode=e)},{default:R((()=>[(T(),L(I,null,te(o,((e,t)=>K("div",{key:t,class:"setting-layout-drawer"},[K("div",null,[(T(),ne(r,{key:t,value:e.type},{default:R((()=>{return[(T(),ne(ae((t=e.type,"light"===t?Vn:"dark"===t?kn:Sn))))];var t})),_:2},1032,["value"])),K("p",Bn,ee(e.text),1)])]))),64))])),_:1},8,["modelValue"]),K("div",Fn,ee(n.$t("pages.setting.theme.color")),1),p(c,{modelValue:i.value.brandTheme,"onUpdate:modelValue":a[1]||(a[1]=e=>i.value.brandTheme=e)},{default:R((()=>[(T(!0),L(I,null,te(re(q),((e,t)=>(T(),L("div",{key:t,class:"setting-layout-drawer"},[(T(),ne(r,{key:t,value:e,class:"setting-layout-color-group"},{default:R((()=>[p(Mn,{value:e},null,8,["value"])])),_:2},1032,["value"]))])))),128)),K("div",Hn,[p(m,{"destroy-on-close":"","expand-animation":"",placement:"bottom-right",trigger:"click",visible:s.value,"overlay-style":{padding:0},onVisibleChange:d},{content:R((()=>[p(v,{"on-change":u,"color-modes":["monochrome"],format:"HEX","swatch-colors":[]})])),default:R((()=>[p(r,{value:l.value,class:"setting-layout-color-group dynamic-color-btn"},{default:R((()=>[p(Mn,{value:l.value},null,8,["value"])])),_:1},8,["value"])])),_:1},8,["visible"])])])),_:1},8,["modelValue"]),K("div",null,[p(y,{label:n.$t("pages.setting.element.showHeader"),name:"showHeader"},{default:R((()=>[p(b,{modelValue:i.value.showHeader,"onUpdate:modelValue":a[2]||(a[2]=e=>i.value.showHeader=e)},null,8,["modelValue"])])),_:1},8,["label"]),p(y,{label:n.$t("pages.setting.element.showNav"),name:"showNav"},{default:R((()=>[p(b,{modelValue:i.value.showNav,"onUpdate:modelValue":a[3]||(a[3]=e=>i.value.showNav=e)},null,8,["modelValue"])])),_:1},8,["label"]),p(y,{label:n.$t("pages.setting.element.showBreadcrumb"),name:"showBreadcrumb"},{default:R((()=>[p(b,{modelValue:i.value.showBreadcrumb,"onUpdate:modelValue":a[4]||(a[4]=e=>i.value.showBreadcrumb=e)},null,8,["modelValue"])])),_:1},8,["label"]),p(y,{label:n.$t("pages.setting.element.showFooter"),name:"showFooter"},{default:R((()=>[p(b,{modelValue:i.value.showFooter,"onUpdate:modelValue":a[5]||(a[5]=e=>i.value.showFooter=e)},null,8,["modelValue"])])),_:1},8,["label"])])])),_:1},8,["data"]),re(false)?(T(),L("div",In,[K("p",null,ee(n.$t("pages.setting.tips")),1),p(C,{theme:"primary",variant:"text",onClick:g},{default:R((()=>[oe(ee(n.$t("pages.setting.copy.title")),1)])),_:1})])):le("",!0),a[6]||(a[6]=K("div",{class:"text-center text-gray-400"},"3/2/2025, 12:26:08 PM",-1))])}}}),An={class:"flex justify-center"},Un={class:"font-bold text-xl mb-5"},zn={class:"flex"},Gn={class:"font-bold text-xl mb-5"},$n={class:"flex flex-col gap-5"},Tn={class:"flex justify-between"},Ln={class:"font-bold text-xl"},Rn={class:"flex flex-col gap-5 w-full overflow-hidden"},Kn={class:"font-bold text-xl mb-5"},qn=Y(a({name:"User",setup(a){const o=de(),l=J(),i=pe(),s=W(),u=he(),d=fe(),h=async e=>{try{const t=await async function(e){return new Promise(((t,n)=>{const a=new FileReader;a.onload=function(e){t(e.target.result)},a.onerror=function(e){n(e)},a.readAsText(e)}))}(e.raw);return f(JSON.parse(t)),se.success({content:Z("pages.setting.user.import_success")}),{status:"success",error:"",response:{url:" "}}}catch{return se.error({content:Z("pages.setting.user.import_failed")}),{status:"fail",error:"",response:{}}}};const f=e=>{var t;if(e.user&&l.$patch(e.user),e.model&&o.$patch(e.model),e.agent&&i.$patch(e.agent),e.setting&&s.$patch(e.setting),e.conversation){const t=function(e,t=640){return e.map((e=>({...e,models:e.models.map((e=>{try{const n=JSON.stringify(e.chats);return(new TextEncoder).encode(n).length/1024>t?{...e,chats:[]}:e}catch{return{...e,chats:[]}}}))})))}(e.conversation.list);u.$patch({...e.conversation,list:t})}e.note&&d.$patch(e.note),(null==(t=e.user)?void 0:t.lang)&&m(e.user.lang)};function g(){const e=JSON.stringify({user:l.$state,model:o.$state,agent:i.$state,setting:s.$state,conversation:u.$state,note:d.$state},null,2),t=new Blob([e],{type:"application/json"}),n=document.createElement("a");n.href=URL.createObjectURL(t),n.download="config.json",document.body.appendChild(n),n.click(),document.body.removeChild(n),URL.revokeObjectURL(n.href)}const v=window.isElectron,{changeLocale:m,locale:b}=ge(),y=r({get:()=>b.value,set(e){m(e)}}),O=e=>{l.avatar=e};function C(e,t){const n=t.e,a=n.key,r=[n.ctrlKey?"Ctrl":"",n.metaKey?"Cmd":"",n.altKey?"Alt":"",n.shiftKey?"Shift":""].filter(Boolean).join("+");l.shortcut=`${r}+${a.toUpperCase()}`,n.preventDefault()}const w=r((()=>ve.availableModels.value.map((e=>({value:e.id,label:ve.getModelItemTitle(e),...e}))))),j=()=>{l.toolBarButtons.push({name:"",icon:null,prompt:"",show:!0})},_=Object.assign({"./drivers/CloudflareKVHTTPDriverForm.vue":jn}),S=Object.values(_).map((e=>e.driverConfig)),P=r((()=>s.drivers.currentDriver)),k=r((()=>s.drivers)),x=r((()=>s.version)),V=r((()=>{const e=S.find((e=>e.name===P.value));return e?_[`./drivers/${e.component}.vue`].default:null})),M=async e=>{s.updateDriverSettings(e,k.value[e])};async function D(e){s.updateDriverSettings(P.value,e)}const E=c(!1),B=c(!1),F=c(!1),H=c(null),N=r((()=>{var e;return null==(e=H.value)?void 0:e.setting.version}));async function A(){try{if(E.value=!0,H.value=await $(),H.value){!(new Date(N.value)>=new Date(x.value))&&x.value||(F.value=!0)}else await q(),se.success("备份成功")}catch(e){se.error("备份失败: "+e.message)}finally{E.value=!1}}async function U(){try{B.value=!0;const e=await $();if(!e)throw new Error("未找到远程数据");f(e),se.success("恢复成功")}catch(e){se.error("恢复失败: "+e.message)}finally{B.value=!1}}async function z(){try{E.value=!0,await q(),se.success("备份成功")}catch(e){se.error("备份失败: "+e.message)}finally{F.value=!1,E.value=!1}}async function G(){if(H.value)try{B.value=!0,f(H.value),se.success("数据已成功恢复")}catch(e){se.error("恢复失败: "+e.message)}finally{F.value=!1,B.value=!1}}const $=async()=>{try{const e=new URLSearchParams({driver:P.value,config:JSON.stringify(k.value[P.value])}),t=await fetch(`${Fe()}/config?${e.toString()}`,{method:"GET",headers:{"Content-Type":"application/json"}});if(!t.ok)throw new Error(await t.text());return(await t.json()).data}catch(e){throw e}};async function q(){try{s.version=(new Date).toISOString();const e={user:l.$state,model:o.$state,agent:i.$state,setting:s.$state,conversation:u.$state,note:d.$state},t=await fetch(Fe()+"/config",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({data:e,driver:P.value,config:k.value[P.value]})});if(!t.ok)throw new Error(await t.text())}catch(e){throw e}}return(a,r)=>{const o=n,i=e,s=Ce,u=Ve,c=xe,d=we,f=Ie,m=je,b=ue,_=Ee,H=t,$=Be,q=_e,X=Ne,Y=me;return T(),ne(Y,{shadow:"",class:"overflow-hidden",bordered:!1},{default:R((()=>[p(H,{ref:"form",class:"flex flex-col gap-8","label-align":"top"},{default:R((()=>[K("div",An,[p(Se,{ref:"avatarRef",url:re(l).avatar,onUpdate:O},null,8,["url"])]),K("div",null,[K("h1",Un,ee(a.$t("pages.setting.user.basic_settings")),1),p(m,{class:"row-gap",gutter:[32,24]},{default:R((()=>[p(s,{xs:12,lg:6},{default:R((()=>[p(i,{label:a.$t("pages.setting.user.username"),name:"name"},{default:R((()=>[p(o,{modelValue:re(l).name,"onUpdate:modelValue":r[0]||(r[0]=e=>re(l).name=e),placeholder:a.$t("pages.setting.user.enter_username")},null,8,["modelValue","placeholder"])])),_:1},8,["label"])])),_:1}),p(s,{xs:12,lg:6},{default:R((()=>[p(i,{label:a.$t("pages.setting.user.language"),name:"lang"},{default:R((()=>[p(c,{modelValue:y.value,"onUpdate:modelValue":r[1]||(r[1]=e=>y.value=e),class:"demo-select-base",clearable:""},{default:R((()=>[(T(!0),L(I,null,te(re(be),((e,t)=>(T(),ne(u,{key:t,value:`${e.value}`,label:`${e.content}`},{default:R((()=>[oe(ee(e.content),1)])),_:2},1032,["value","label"])))),128))])),_:1},8,["modelValue"])])),_:1},8,["label"])])),_:1}),re(v)?(T(),ne(s,{key:0,xs:12,lg:6},{default:R((()=>[p(i,{label:a.$t("pages.setting.user.shortcut"),name:"shortcut"},{default:R((()=>[p(o,{onKeydown:C,modelValue:re(l).shortcut,"onUpdate:modelValue":r[2]||(r[2]=e=>re(l).shortcut=e),placeholder:a.$t("pages.setting.user.enter_shortcut")},null,8,["modelValue","placeholder"])])),_:1},8,["label"])])),_:1})):le("",!0),p(s,{xs:12,lg:6},{default:R((()=>[p(i,{label:a.$t("pages.setting.user.assist_model"),name:"assistModel"},{default:R((()=>[p(c,{modelValue:re(l).assistModel,"onUpdate:modelValue":r[3]||(r[3]=e=>re(l).assistModel=e),tips:a.$t("pages.setting.user.assist_model_tips")},{default:R((()=>[(T(!0),L(I,null,te(w.value,(e=>(T(),ne(u,{key:e.value,value:e.value,label:e.label},{default:R((()=>[K("div",zn,[p(d,{size:"20px",class:"mr-1"},{icon:R((()=>[(T(),ne(ae(re(ve).icons[e.type])))])),_:2},1024),oe(" "+ee(e.label),1)])])),_:2},1032,["value","label"])))),128))])),_:1},8,["modelValue","tips"])])),_:1},8,["label"])])),_:1}),p(s,{xs:12,lg:6},{default:R((()=>[p(i,{label:a.$t("pages.setting.user.remoteHost"),name:"remoteHost"},{default:R((()=>[p(o,{modelValue:re(l).remoteHost,"onUpdate:modelValue":r[4]||(r[4]=e=>re(l).remoteHost=e)},null,8,["modelValue"])])),_:1},8,["label"])])),_:1}),re(v)?(T(),ne(s,{key:1,span:6},{default:R((()=>[p(i,{label:a.$t("pages.setting.user.open_at_login"),name:"openAtLogin"},{default:R((()=>[p(f,{modelValue:re(l).openAtLogin,"onUpdate:modelValue":r[5]||(r[5]=e=>re(l).openAtLogin=e)},null,8,["modelValue"])])),_:1},8,["label"])])),_:1})):le("",!0),re(v)?(T(),ne(s,{key:2,span:6},{default:R((()=>[p(i,{label:a.$t("pages.setting.user.minimize_to_bottom_right"),name:"minimizeToBottomRight"},{default:R((()=>[p(f,{modelValue:re(l).minimizeToBottomRight,"onUpdate:modelValue":r[6]||(r[6]=e=>re(l).minimizeToBottomRight=e)},null,8,["modelValue"])])),_:1},8,["label"])])),_:1})):le("",!0)])),_:1})]),K("div",null,[K("h1",Gn,ee(a.$t("pages.setting.user.import_config")),1),p(H,null,{default:R((()=>[p(i,{label:"存储类型",name:"driverType","initial-data":""},{default:R((()=>[p(c,{modelValue:P.value,"onUpdate:modelValue":r[7]||(r[7]=e=>P.value=e),onChange:M,placeholder:"Select Driver"},{default:R((()=>[(T(!0),L(I,null,te(re(S),(e=>(T(),ne(u,{key:e.name,value:e.name,label:e.name},null,8,["value","label"])))),128))])),_:1},8,["modelValue"])])),_:1}),(T(),ne(ae(V.value),{modelValue:k.value[P.value],"onUpdate:modelValue":[r[8]||(r[8]=e=>k.value[P.value]=e),D]},null,8,["modelValue"])),p(m,{class:"row-gap",gutter:[24,24]},{default:R((()=>[p(s,{xs:6,lg:3,class:"flex justify-center"},{default:R((()=>[p(b,{onClick:A,loading:E.value},{default:R((()=>r[11]||(r[11]=[oe("备份到服务器")]))),_:1},8,["loading"])])),_:1}),p(s,{xs:6,lg:3,class:"flex justify-center"},{default:R((()=>[p(b,{onClick:U,loading:B.value},{default:R((()=>r[12]||(r[12]=[oe("从服务器恢复")]))),_:1},8,["loading"])])),_:1}),p(s,{xs:6,lg:3,class:"flex justify-center"},{default:R((()=>[p(_,{theme:"custom","request-method":h,multiple:!1},{default:R((()=>[p(b,{theme:"primary"},{default:R((()=>[oe(ee(a.$t("pages.setting.user.import_local_config")),1)])),_:1})])),_:1})])),_:1}),p(s,{xs:6,lg:3,class:"flex justify-center"},{default:R((()=>[p(b,{theme:"primary",onClick:g},{default:R((()=>[oe(ee(a.$t("pages.setting.user.export_local_config")),1)])),_:1})])),_:1})])),_:1})])),_:1})]),K("div",$n,[K("div",Tn,[K("h1",Ln,ee(a.$t("pages.setting.user.toolbar_settings")),1),p(b,{shape:"square",variant:"text",onClick:j},{default:R((()=>[p(re(He),{slot:"icon"})])),_:1})]),K("div",Rn,[p(re(ye),{modelValue:re(l).toolBarButtons,"onUpdate:modelValue":r[9]||(r[9]=e=>re(l).toolBarButtons=e),"item-key":"id",animation:150,class:"flex flex-col gap-5",handle:".drag-handle"},{item:R((({element:e})=>[p(m,{gutter:{xs:8,sm:16,md:24,lg:32,xl:32,xxl:40},class:"items-center"},{default:R((()=>[p(s,{xs:2,sm:1},{default:R((()=>[p(b,{shape:"square",variant:"text",class:"drag-handle cursor-move"},{default:R((()=>[p(re($e))])),_:1})])),_:1}),p(s,{xs:2,sm:2},{default:R((()=>[p(o,{modelValue:e.name,"onUpdate:modelValue":t=>e.name=t,placeholder:"名称"},null,8,["modelValue","onUpdate:modelValue"])])),_:2},1024),p(s,{xs:3,sm:5},{default:R((()=>[p(o,{modelValue:e.prompt,"onUpdate:modelValue":t=>e.prompt=t,placeholder:"提示词"},null,8,["modelValue","onUpdate:modelValue"])])),_:2},1024),p(s,{xs:2,sm:2},{default:R((()=>[p(o,{modelValue:e.icon,"onUpdate:modelValue":t=>e.icon=t,placeholder:"图标"},null,8,["modelValue","onUpdate:modelValue"])])),_:2},1024),p(s,{xs:2,sm:1,class:"flex justify-end"},{default:R((()=>[p($,{modelValue:e.show,"onUpdate:modelValue":t=>e.show=t},null,8,["modelValue","onUpdate:modelValue"])])),_:2},1024),p(s,{xs:1,sm:1,class:"flex justify-end"},{default:R((()=>[p(q,{content:a.$t("pages.setting.user.confirm_delete"),onConfirm:t=>(e=>{l.toolBarButtons=l.toolBarButtons.filter((t=>t!==e))})(e)},{default:R((()=>[p(b,{shape:"square",variant:"text"},{default:R((()=>[p(re(Oe),{slot:"icon"})])),_:1})])),_:2},1032,["content","onConfirm"])])),_:2},1024)])),_:2},1024)])),_:1},8,["modelValue"])])]),K("div",null,[K("h1",Kn,ee(a.$t("pages.setting.user.theme_settings")),1),p(Nn)])])),_:1},512),p(X,{visible:F.value,"onUpdate:visible":r[10]||(r[10]=e=>F.value=e),attach:"body",header:"发现新的备份"},{body:R((()=>[r[13]||(r[13]=K("p",null,"检测到服务器上存在较新的备份数据。您希望如何处理?",-1)),K("p",null,"本地版本:"+ee(x.value),1),K("p",null,"服务器版本:"+ee(N.value),1)])),footer:R((()=>[p(b,{onClick:z,loading:E.value},{default:R((()=>r[14]||(r[14]=[oe("覆盖服务器数据")]))),_:1},8,["loading"]),p(b,{theme:"primary",onClick:G,loading:B.value},{default:R((()=>r[15]||(r[15]=[oe("从服务器恢复")]))),_:1},8,["loading"])])),_:1},8,["visible"])])),_:1})}}}),[["__scopeId","data-v-1a999f79"]]);export{qn as default}; diff --git a/.output/public/assets/index-pjvKxr27.js b/.output/public/assets/index-pjvKxr27.js new file mode 100644 index 0000000000000000000000000000000000000000..9cb25c570844dd677fab285597d4f566b67e4682 --- /dev/null +++ b/.output/public/assets/index-pjvKxr27.js @@ -0,0 +1,27 @@ +import{d as e,b as n,H as a,I as t,J as l,ax as o,j as u,aJ as r,bO as i,ay as c,ap as s,aR as v,w as p,a7 as d,bJ as f,a4 as m,a3 as y,S as b,Z as g,K as h,T as w,bH as C,O,p as x,c3 as I,c4 as _,a5 as S,b5 as F,L as j,Y as B}from"./main-DzSNOqOC.js";import{t as P,a as M,p as k,c as T}from"./index-DmWclHlm.js";function N(e,n){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),a.push.apply(a,t)}return a}function V(e){for(var n=1;n<arguments.length;n++){var a=null!=arguments[n]?arguments[n]:{};n%2?N(Object(a),!0).forEach((function(n){l(e,n,a[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):N(Object(a)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(a,n))}))}return e}var K={tag:"svg",attrs:{fill:"none",viewBox:"0 0 26 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M4 1.59l6.17 6.17 7.07 7.07L23.41 21 22 22.41l-2.97-2.96A12.5 12.5 0 011.08 12.3L1 12l.1-.3c.77-2.4 2.24-4.5 4.18-6.02L2.59 3 4 1.59zM6.7 7.1A10.53 10.53 0 003.1 12a10.5 10.5 0 0014.45 5.97l-1.8-1.8a5 5 0 01-6.93-6.93L6.7 7.11zm3.6 3.6a3 3 0 004 4l-4-4zM13 5c-.58 0-1.14.05-1.7.14l-.98.16L10 3.32l.99-.16A12.5 12.5 0 0124.9 11.7l.1.31-.1.3c-.41 1.3-1.03 2.5-1.82 3.58l-.59.8-1.61-1.18.59-.8c.6-.82 1.08-1.73 1.42-2.7A10.5 10.5 0 0013 5zm.51 1.93l.96.29a5 5 0 013.31 3.31l.3.96-1.92.58-.3-.95a3 3 0 00-1.98-1.99l-.95-.3.58-1.9z"}}]},H=e({name:"BrowseOffIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,l){var{attrs:o}=l,u=n((()=>e.size)),{className:r,style:i}=a(u),c=n((()=>["t-icon","t-icon-browse-off",r.value])),s=n((()=>V(V({},i.value),o.style))),v=n((()=>({class:c.value,style:s.value,onClick:n=>{var a;return null===(a=e.onClick)||void 0===a?void 0:a.call(e,{e:n})}})));return()=>t(K,v.value)}}),E={align:{type:String,default:"left",validator:function(e){return!e||["left","center","right"].includes(e)}},allowInputOverMax:Boolean,autoWidth:Boolean,autocomplete:{type:String,default:void 0},autofocus:Boolean,borderless:Boolean,clearable:Boolean,disabled:{type:Boolean,default:void 0},format:{type:Function},inputClass:{type:[String,Object,Array]},label:{type:[String,Function]},maxcharacter:{type:Number},maxlength:{type:[String,Number]},name:{type:String,default:""},placeholder:{type:String,default:void 0},prefixIcon:{type:Function},readonly:{type:Boolean,default:void 0},showClearIconOnEmpty:Boolean,showLimitNumber:Boolean,size:{type:String,default:"medium",validator:function(e){return!e||["small","medium","large"].includes(e)}},spellCheck:Boolean,status:{type:String,default:"default",validator:function(e){return!e||["default","success","warning","error"].includes(e)}},suffix:{type:[String,Function]},suffixIcon:{type:Function},tips:{type:[String,Function]},type:{type:String,default:"text",validator:function(e){return!e||["text","number","url","tel","password","search","submit","hidden"].includes(e)}},value:{type:[String,Number],default:void 0},modelValue:{type:[String,Number],default:void 0},defaultValue:{type:[String,Number]},onBlur:Function,onChange:Function,onClear:Function,onClick:Function,onCompositionend:Function,onCompositionstart:Function,onEnter:Function,onFocus:Function,onKeydown:Function,onKeypress:Function,onKeyup:Function,onMouseenter:Function,onMouseleave:Function,onPaste:Function,onValidate:Function,onWheel:Function}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function R(e,n){return"number"===n?e||0===e?Number(e):void 0:e}function D(e,a){var t=o(e),l=t.value,f=t.modelValue,m=u(),y=u(!1),b=u(),g=u(null),h=u(),w=r(),C=i(),O=c(l,f,e.defaultValue,e.onChange),x=s(O,2),I=x[0],_=x[1],S=u(!1),F=u(!1),j=u(e.type),B=u(null),k=n((function(){return{value:[void 0,null].includes(I.value)?void 0:String(I.value),status:e.status,maxlength:Number(e.maxlength),maxcharacter:e.maxcharacter,allowInputOverMax:e.allowInputOverMax,onValidate:e.onValidate}})),T=P(k),N=T.limitNumber,V=T.getValueByLimitNumber,K=T.tStatus,H=n((function(){return(I.value&&!w.value&&e.clearable&&!C.value||e.showClearIconOnEmpty)&&S.value})),E=function(){var e;F.value=!0,null===(e=B.value)||void 0===e||e.focus()},D=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=B.value;if(n){var a=String(e);n.value&&n.value!==a&&(n.value=a)}},W=function(n){var a,t=n.target.value;"number"!==e.type&&"string"==typeof I.value&&t.length>(null===(a=I.value)||void 0===a?void 0:a.length)&&(t=V(t)),_(R(t,e.type),{e:n,trigger:"input"}),d((function(){"number"===e.type&&/\.(\d+)?0$/.test(t)?D(t):D(I.value)}))},z=v(M,void 0);return p((function(){return e.autofocus}),(function(e){!0===e&&d((function(){var e;null===(e=B.value)||void 0===e||e.focus()}))}),{immediate:!0}),p(I,(function(n,a){var t="number"===e.type;void 0===a&&e.format&&"number"!=typeof n&&!t?m.value=e.format(n):m.value=n;var l="number"==typeof n?n:V(n);l===n||t||_(l,{trigger:"initial"})}),{immediate:!0}),p((function(){return e.type}),(function(e){j.value=e}),{immediate:!0}),a({inputRef:B,focus:E,blur:function(){var e;F.value=!1,null===(e=B.value)||void 0===e||e.blur()}}),{isHover:S,focused:F,renderType:j,showClear:H,inputRef:B,clearIconRef:g,inputValue:m,isComposition:y,compositionValue:b,limitNumber:N,tStatus:K,emitFocus:function(n){var a;S.value&&F.value||(m.value=I.value,e.disabled||(F.value=!0,null===(a=e.onFocus)||void 0===a||a.call(e,I.value,{e:n})))},formatAndEmitBlur:function(n){var a;(function(){var e,n=h.value;if(!(n&&n.tagName&&null!==(e=g.value)&&void 0!==e&&e.$el&&["path","svg"].includes(n.tagName)))return!1;for(;n;){var a;if((null===(a=g.value)||void 0===a?void 0:a.$el)===n)return!0;n=n.parentNode}return!1})()?E():(e.format&&(m.value="number"==typeof I.value||"number"===e.type?I.value:e.format(I.value)),F.value=!1,null===(a=e.onBlur)||void 0===a||a.call(e,I.value,{e:n}),null==z||z.handleBlur())},onHandleCompositionend:function(n){var a;y.value=!1,b.value="",W(n),null===(a=e.onCompositionend)||void 0===a||a.call(e,String(I.value),{e:n})},onHandleCompositionstart:function(n){var a;y.value=!0;var t=n.currentTarget.value;b.value=t,null===(a=e.onCompositionstart)||void 0===a||a.call(e,String(I.value),{e:n})},onRootClick:function(n){var a,t;null===(a=B.value)||void 0===a||a.focus(),null===(t=e.onClick)||void 0===t||t.call(e,{e:n})},emitPassword:function(){if(!w.value){var e="password"===j.value?"text":"password";j.value=e}},handleInput:function(e){var n=e.inputType&&"insertCompositionText"===e.inputType,a=e.currentTarget.value;n||y.value?b.value=a:W(e)},emitClear:function(n){var a,t=n.e,l="number"===e.type?void 0:"";_(l,{e:t,trigger:"clear"}),null===(a=e.onClear)||void 0===a||a.call(e,{e:t})},onClearIconMousedown:function(e){h.value=e.target},innerValue:I}} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function W(e,n,a){var t=o(e),l=t.autoWidth,r=t.placeholder,i=u(null),c=u(null),s=function(){i.value&&n.value&&(n.value.style.width=getComputedStyle(i.value).width)};f(i,(function(){l.value&&(c.value=setTimeout((function(){s(),clearTimeout(c.value)}),100))})),m((function(){clearTimeout(c.value)}));return y((function(){l.value&&p([a,r],(function(){l.value&&d((function(){s()}))}),{immediate:!0})})),{inputPreRef:i}} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var z=["isHover","tStatus","inputRef","renderType","showClear","focused","inputValue","isComposition","compositionValue","innerValue","limitNumber"];function L(e,n){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),a.push.apply(a,t)}return a}function A(e){for(var n=1;n<arguments.length;n++){var a=null!=arguments[n]?arguments[n]:{};n%2?L(Object(a),!0).forEach((function(n){O(e,n,a[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):L(Object(a)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(a,n))}))}return e}function J(e){var n={};return Object.keys(e).forEach((function(a){F(e[a])||(n[a]=e[a])})),n}var U=e({name:"TInput",props:A(A({},E),{},{showInput:{type:Boolean,default:!0},keepWrapperWidth:{type:Boolean,default:!1}}),setup:function(e,a){var t=a.expose,l=b("input").globalConfig,o=g({BrowseIcon:k,BrowseOffIcon:H,CloseCircleFilledIcon:T}),u=o.BrowseIcon,c=o.BrowseOffIcon,s=o.CloseCircleFilledIcon,v=i(),p=r(),d=h("input"),f=h("input__wrap"),m=h("input__tips"),y=w(),F=y.STATUS,B=y.SIZE,P=h(),M=j(),N=D(e,t),V=N.isHover,K=N.tStatus,E=N.inputRef,L=N.renderType,A=N.showClear,U=N.focused,$=N.inputValue,Z=N.isComposition,G=N.compositionValue,Y=N.innerValue,q=N.limitNumber,Q=C(N,z),X=W(e,E,Y).inputPreRef,ee=function(e,n){var a=function(e){return n.value=e};return{isHover:n,handleKeydown:function(n){if(!e.disabled){var a,t,l=n.code,o=R(n.currentTarget.value,e.type);/enter/i.test(l)||/enter/i.test(n.key)?null===(a=e.onEnter)||void 0===a||a.call(e,o,{e:n}):null===(t=e.onKeydown)||void 0===t||t.call(e,o,{e:n})}},handleKeyUp:function(n){var a;if(!e.disabled){var t=R(n.currentTarget.value,e.type);null===(a=e.onKeyup)||void 0===a||a.call(e,t,{e:n})}},handleKeypress:function(n){var a;if(!e.disabled){var t=R(n.currentTarget.value,e.type);null===(a=e.onKeypress)||void 0===a||a.call(e,t,{e:n})}},onHandlePaste:function(n){var a;if(!e.disabled){var t=n.clipboardData||window.clipboardData;null===(a=e.onPaste)||void 0===a||a.call(e,{e:n,pasteValue:null==t?void 0:t.getData("text/plain")})}},onHandleMousewheel:function(n){var a;return null===(a=e.onWheel)||void 0===a?void 0:a.call(e,{e:n})},onInputMouseenter:function(n){var t;a(!0),null===(t=e.onMouseenter)||void 0===t||t.call(e,{e:n})},onInputMouseleave:function(n){var t;a(!1),null===(t=e.onMouseleave)||void 0===t||t.call(e,{e:n})}}} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */(e,V),ne=n((function(){var n;return null!==(n=e.placeholder)&&void 0!==n?n:l.value.placeholder})),ae=n((function(){var n;return J({autofocus:e.autofocus,disabled:p.value,readonly:v.value,placeholder:ne.value,name:e.name||void 0,type:L.value,autocomplete:null!==(n=e.autocomplete)&&void 0!==n?n:l.value.autocomplete||void 0,unselectable:v.value?"on":void 0,spellcheck:e.spellCheck})})),te=n((function(){return[f.value,O({},"".concat(d.value,"--auto-width"),e.autoWidth&&!e.keepWrapperWidth)]})),le=J({onFocus:Q.emitFocus,onBlur:Q.formatAndEmitBlur,onKeydown:ee.handleKeydown,onKeyup:ee.handleKeyUp,onKeypress:ee.handleKeypress,onPaste:ee.onHandlePaste,onCompositionend:Q.onHandleCompositionend,onCompositionstart:Q.onHandleCompositionstart});return function(){var n,a,t,l=M("prefixIcon"),o=M("suffixIcon"),r=M("passwordIcon"),i=M("label",{silent:!0}),f=M("suffix"),y=q.value&&e.showLimitNumber?x("div",{class:["".concat(P.value,"-input__limit-number"),O({},"".concat(P.value,"-is-disabled"),p.value)]},[q.value]):null,b=i?x("div",{class:"".concat(d.value,"__prefix")},[i]):null,g=f||y?x("div",{class:"".concat(d.value,"__suffix")},[f,y]):null;if("password"===e.type){var h=[O({},"".concat(d.value,"__suffix-clear"),!p.value)];"password"===L.value?o=x(c,{class:h,onClick:Q.emitPassword},null):"text"===L.value&&(o=x(u,{class:h,onClick:Q.emitPassword},null))}A.value&&("password"===e.type?r=x(s,{ref:Q.clearIconRef,class:"".concat(d.value,"__suffix-clear"),onClick:Q.emitClear,onMousedown:Q.onClearIconMousedown},null):o=x(s,{ref:Q.clearIconRef,class:"".concat(d.value,"__suffix-clear"),onClick:Q.emitClear,onMousedown:Q.onClearIconMousedown},null));var w=[d.value,e.inputClass,O(O(O(O(O(O(O(O(O(O({},B.value[e.size],"medium"!==e.size),F.value.disabled,p.value),F.value.focused,!p.value&&U.value),"".concat(P.value,"-is-").concat(K.value),K.value&&"default"!==K.value),"".concat(P.value,"-align-").concat(e.align),"left"!==e.align),"".concat(P.value,"-is-readonly"),v.value),"".concat(d.value,"--prefix"),l||b),"".concat(d.value,"--suffix"),o||g),"".concat(d.value,"--borderless"),e.borderless),"".concat(d.value,"--focused"),U.value)],C=M("tips"),j=[m.value,"".concat(P.value,"-tips"),"".concat(P.value,"-is-").concat(K.value||"default")];return I(x("div",{class:te.value},[x("div",{class:w,onClick:Q.onRootClick,onMouseenter:ee.onInputMouseenter,onMouseleave:ee.onInputMouseleave,onWheel:ee.onHandleMousewheel},[l?x("span",{class:["".concat(d.value,"__prefix"),"".concat(d.value,"__prefix-icon")]},[l]):null,b,x("input",S({class:["".concat(d.value,"__inner"),O({},"".concat(d.value,"--soft-hidden"),!e.showInput)]},ae.value,le,{ref:E,value:Z.value?null!==(n=G.value)&&void 0!==n?n:"":null!==(a=$.value)&&void 0!==a?a:"",onInput:function(e){return Q.handleInput(e)}}),null),e.autoWidth&&x("span",{ref:X,class:"".concat(P.value,"-input__input-pre")},[Z.value?null!==(t=G.value)&&void 0!==t?t:"":Y.value||ne.value]),g,r?x("span",{class:["".concat(d.value,"__suffix"),"".concat(d.value,"__suffix-icon"),"".concat(d.value,"__clear")]},[r]):null,o?x("span",{class:["".concat(d.value,"__suffix"),"".concat(d.value,"__suffix-icon"),O({},"".concat(d.value,"__clear"),A.value)]},[o]):null]),C&&x("div",{class:j},[C])]),[[_,"hidden"!==e.type]])}}}),$=e({name:"TInputGroup",props:{separate:Boolean},setup:function(e){var a=h("input-group"),t=j(),l=n((function(){return[a.value,O({},"".concat(a.value,"--separate"),e.separate)]}));return function(){return x("div",{class:l.value},[t("default")])}}}),Z=B(U); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */B($);export{Z as I}; diff --git a/.output/public/assets/is_dark-MhuX2or3.js b/.output/public/assets/is_dark-MhuX2or3.js new file mode 100644 index 0000000000000000000000000000000000000000..bce9fe565d6ed54eb647473fc2a9ce317db1f787 --- /dev/null +++ b/.output/public/assets/is_dark-MhuX2or3.js @@ -0,0 +1 @@ +import{F as n,U as e}from"./CodeBlocks.vue_vue_type_style_index_0_lang-CexE7E14.js";const a=a=>(a=>{const{r:o,g:r,b:t}=n.parse(a),s=.2126*e.channel.toLinear(o)+.7152*e.channel.toLinear(r)+.0722*e.channel.toLinear(t);return e.lang.round(s)})(a)>=.5,o=n=>!a(n);export{o as i}; diff --git a/.output/public/assets/lyihub-muI8ujdR.js b/.output/public/assets/lyihub-muI8ujdR.js new file mode 100644 index 0000000000000000000000000000000000000000..c7c9c74e550b7711657454a774bdb708474bcc9f --- /dev/null +++ b/.output/public/assets/lyihub-muI8ujdR.js @@ -0,0 +1,34 @@ +import{U as e,j as t,b as a,O as n,L as r,d as o,K as i,aR as u,ar as l,ad as c,p as s,aa as v,a5 as p,a7 as m,aK as d,N as f,as as g,at as b,Q as h,aS as y,V as w,aJ as O,T as P,ax as j,ay as x,ap as k,w as N,a3 as S,a4 as M,aT as _,aU as E,Y as C}from"./main-DzSNOqOC.js";import{I}from"./form-model-CXHJGOsj.js"; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var T={disabled:{type:Boolean,default:void 0},inputNumberProps:{type:[Boolean,Object],default:!1},label:{type:[String,Boolean,Function],default:!0},layout:{type:String,default:"horizontal",validator:function(e){return!e||["vertical","horizontal"].includes(e)}},marks:{type:[Object,Array]},max:{type:Number,default:100},min:{type:Number,default:0},range:Boolean,showStep:Boolean,step:{type:Number,default:1},tooltipProps:{type:Object},value:{type:[Number,Array],default:void 0},modelValue:{type:[Number,Array],default:void 0},defaultValue:{type:[Number,Array],default:0},onChange:Function,onChangeEnd:Function},D=function(e,t){return t?{top:"calc(".concat(100-e,"% - 1px)")}:{left:"".concat(e,"%")}},z=function(e,t){return"first"===t?e instanceof Array?e[0]:e:e instanceof Array?e[1]:0}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function B(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function A(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?B(Object(a),!0).forEach((function(t){n(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):B(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var L={visible:!1,trigger:"hover",showArrow:!0,overlayInnerStyle:void 0,overlayClassName:void 0,attach:"body",theme:"default"},F=function(n){var o=t(),i=a({get:function(){return!1==!n.value.tooltipProps},set:function(e){return e}}),u=t(A({},L)),l=r();return{tooltipRef:o,tooltipProps:a((function(){var t=n.value,a=t.vertical,r=t.tooltipProps,o=t.label,i=t.value,c=t.position,s=t.range,v=a?"right":"top",p=!0===o?String(i):"string"==typeof o?function(t,a){if(!1===Boolean(t))return String(a);if(e(t)){var n=String(a);try{var r=/\${value}%/g;if(!r.test(t))throw n=t,new Error;n=t.replace(r,String(a))}catch(o){}return n}return t}(o,i):l("label",{params:s?{value:i,position:c}:{value:i}});return r instanceof Object?(null!=r&&r.placement||(u.value.placement=v),r.content&&(p=r.content),A(A(A({},u.value),r),{},{content:p})):A(A({},u.value),{},{placement:v,content:p})})),toggleTooltip:function(e){i.value&&(u.value.visible=e)},showTooltip:i}},Y=Symbol("sliderProps"),R=o({name:"TSliderButton",props:{value:{type:[Number],default:0},vertical:{type:Boolean,default:!1},tooltipProps:{type:[Boolean,Object],default:!0},label:{type:[String,Boolean,Function]},range:{type:Boolean,default:!1},position:{type:String}},emits:["input","mouseup"],setup:function(e,r){var o=i("slider__button"),f=a((function(){return e})),g=F(f),b=g.tooltipRef,h=g.tooltipProps,y=g.toggleTooltip,w=g.showTooltip,O=u(Y),P=t(),j=t(!1),x=l({dragging:!1,isClick:!1,startX:0,startY:0,startPos:0,newPos:null}),k=a((function(){return Number(O.max)-Number(O.min)})),N=a((function(){return"".concat((e.value-O.min)/k.value*100,"%")})),S=a((function(){return O.step})),M=a((function(){return e.vertical?{bottom:N.value}:{left:N.value}}));c((function(){O.toggleDragging(x.dragging)}));var _=function(e){var t=e;if(null!==t&&!Number.isNaN(t)){t>100?t=100:t<0&&(t=0);var a=100*S.value/k.value,n=Math.round(t/a)*a*k.value*.01;n+=O.min,n=Number(parseFloat("".concat(n)).toFixed(O.precision)),r.emit("input",n),m((function(){var e,t;b.value&&(null===(e=(t=b.value).updatePopper)||void 0===e||e.call(t))}))}},E=function(){P.value.focus(),y(!0)},C=function(){x.dragging||y(!1)},I=function(t){var a=t;if(x.dragging){j.value=!0,x.isClick=!1,null!=O&&O.resetSize&&d(null==O?void 0:O.resetSize)&&O.resetSize();var n=0,r=O.sliderSize,o=a.type,i=a.clientY,u=a.clientX;if("touchmove"===o){var l=a.touches,c=[l[0].clientY,l[0].clientX];i=c[0],u=c[1]}n=(n=e.vertical?x.startY-i:u-x.startX)/r*100,x.newPos=x.startPos+n,_(x.newPos)}},T=function(){x.dragging&&(setTimeout((function(){x.dragging=!1,y(!1),x.isClick||_(x.newPos),j.value&&r.emit("mouseup"),j.value=!1}),0),window.removeEventListener("mousemove",I),window.removeEventListener("touchmove",I),window.removeEventListener("mouseup",T),window.removeEventListener("touchend",T),window.removeEventListener("contextmenu",T))};function D(t){O.disabled||(t.preventDefault(),function(t){x.dragging=!0,x.isClick=!0;var a=t.type,n=t.clientY,r=t.clientX;if("touchstart"===a){var o=t.touches,i=[o[0].clientY,o[0].clientX];n=i[0],r=i[1]}e.vertical?x.startY=n:x.startX=r,x.startPos=parseFloat(N.value),x.newPos=x.startPos}(t),window.addEventListener("mousemove",I),window.addEventListener("mouseup",T),window.addEventListener("touchmove",I),window.addEventListener("touchend",T),window.addEventListener("contextmenu",T))}var z=function(e){if(!O.disabled){var t=S.value/k.value*100;"sub"===e&&(t=-t),x.newPos=parseFloat(N.value)+t,_(x.newPos)}},B=function(e){var t=e.code;e.preventDefault(),"ArrowDown"!==t&&"ArrowLeft"!==t||z("sub"),"ArrowUp"!==t&&"ArrowRight"!==t||z("add")};return r.expose({setPosition:_}),function(){return s("div",{ref:P,class:"".concat(o.value,"-wrapper"),style:M.value,tabindex:"0","show-tooltip":w.value,disabled:O.disabled,onmouseenter:E,onmouseleave:C,onmousedown:D,onTouchstart:D,onfocus:E,onblur:C,onKeydown:B},[s(v,p({ref:b,hideEmptyPopup:!0,disabled:!w.value},h.value),{default:function(){return[s("div",{class:[o.value,n({},"".concat(o.value,"--dragging"),x.dragging)]},null)]}})])}}}),X=o({name:"TSliderMark",props:{mark:{type:[Object,Array,String,Number]},point:{type:Number},onClickMarkPoint:{type:Function,default:function(){}}},setup:function(e){var t=i("slider__mark"),a=function(t){var a;t.stopPropagation(),null==e||null===(a=e.onClickMarkPoint)||void 0===a||a.call(e,e.point)};return function(){return s("div",{class:"".concat(t.value,"-text"),onClick:a},[e.mark])}}}); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function J(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function V(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?J(Object(a),!0).forEach((function(t){n(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):J(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function U(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}var q=C(o({name:"TSlider",model:{prop:"value",event:"change"},props:function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?U(Object(a),!0).forEach((function(t){n(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):U(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}({},T),setup:function(e){var r=O(),o=i("slider"),u=P().STATUS,c=j(e),v=c.value,m=c.modelValue,d=x(v,m,e.defaultValue,e.onChange),C=k(d,2),T=C[0],B=C[1],A=t(),L=t(),F=t(),J=t(),U=t(z(T.value,"first")),q=t(z(T.value,"second")),G=t(!1),W=t(1),H=a((function(){return"vertical"===e.layout})),K=a((function(){return["".concat(o.value,"__container"),{"is-vertical":H.value}]})),Q=a((function(){return["".concat(o.value),n(n(n({"is-vertical":H.value},"".concat(o.value,"--with-input"),e.inputNumberProps),"".concat(o.value,"--vertical"),H.value),u.value.disabled,r.value)]})),Z=a((function(){return["".concat(o.value,"__rail"),{"show-input":e.inputNumberProps,disabled:r.value}]})),$=a((function(){return H.value?{height:"100%"}:{}})),ee=a((function(){var t=e.range?"".concat(100*(ae.value-e.min)/te.value,"%"):"0%",a=e.range?ne.value-ae.value:U.value-e.min,n="".concat(100*a/te.value,"%");return H.value?{height:n,bottom:t}:{width:n,left:t}})),te=a((function(){return e.max-e.min})),ae=a((function(){return Math.min(U.value,q.value)})),ne=a((function(){return Math.max(U.value,q.value)})),re=a((function(){if(!e.showStep||e.min>e.max)return[];if(0===e.step)return[];for(var t=te.value/e.step,a=100*e.step/te.value,n=[],r=1;r<t;r++)n.push(r*a);return e.range?n.filter((function(t){return t<100*(ae.value-e.min)/te.value||e.step>100*(ne.value-e.max)/te.value})):n.filter((function(t){return t>100*(U.value-e.min)/te.value}))})),oe=a((function(){var t=[e.min,e.max,e.step].map((function(e){var t="".concat(e).split(".");return t[1]?t[1].length:0}));return Math.max.apply(null,t)})),ie=function(t){var a=[e.min,e.max],n=a[0],r=a[1];if(!(n>r)){if(e.range&&f(t)){var o=[Math.min.apply(Math,b(t)),Math.max.apply(Math,b(t))],i=o[0],u=o[1];i>r&&(i=U.value),i<n&&(i=n),u<n&&(u=q.value),u>r&&(u=r);var l=[i,u];return U.value=l[0],q.value=l[1],[i,u]}var c=t;return c<n&&(c=n),c>r&&(c=r),c}},ue=function(t){var a=t;void 0===a&&(a=e.range?[U.value,q.value]:U.value);var n=ie(a);B(n)},le=function(){L.value&&(W.value=L.value["client".concat(H.value?"Height":"Width")])},ce=t(!1),se=function(){var t;e.range?(f(T.value)?(U.value=Math.max(e.min||0,T.value[0]),q.value=Math.min(e.max||100,T.value[1])):(U.value=e.min||0,q.value=e.max||100),t="".concat(U.value,"-").concat(q.value)):(E(T.value)?U.value=Math.min(e.max,Math.max(e.min,T.value)):U.value=e.min,t=String(U.value)),A.value&&A.value.setAttribute("aria-valuetext",t),le(),window.addEventListener("resize",le)},ve=function(t){var a,n=t*te.value/100;(n=e.min+n,e.range||!F.value)?("button1"===(a=Math.abs(ae.value-n)<Math.abs(ne.value-n)?U.value<q.value?"button1":"button2":U.value>q.value?"button1":"button2")&&F.value&&F.value.setPosition(t),"button2"===a&&J.value&&J.value.setPosition(t)):F.value.setPosition(t)},pe=function(){var t=e.range?[U.value,q.value]:U.value;return ie(t)},me=function(t){var a;if(!r.value&&!G.value&&L.value){le();var n=0;if(H.value){n=(L.value.getBoundingClientRect().bottom-t.clientY)/W.value*100,ve(n)}else{var o=L.value.getBoundingClientRect().left;n=(t.clientX-o)/W.value*100,ve(n)}var i=pe();null===(a=e.onChangeEnd)||void 0===a||a.call(e,i)}},de=function(t){var a;if(!r.value&&!G.value){le();var n=Number(t/te.value*100);ve(n),ue(t);var o=pe();null===(a=e.onChangeEnd)||void 0===a||a.call(e,o)}};N((function(){return T.value}),(function(t){if(!0!==G.value)if(f(t)&&e.range){var a=k(t,2);U.value=a[0],q.value=a[1]}else U.value=t})),N([U,q,G],(function(t,a){t[0]!==a[0]&&(e.range?ue([ae.value,ne.value]):ue(U.value)),t[1]!==a[1]&&e.range&&ue([ae.value,ne.value]),t[2]!==a[2]&&!1===t[2]&&se()})),S((function(){se(),ce.value=!0})),M((function(){window.removeEventListener("resize",le)}));var fe,ge,be,he=a((function(){return{max:e.max,min:e.min,marks:e.marks,vertical:H.value,prefixName:o.value}})),ye=(ge=(fe=he).value.prefixName,be=a((function(){var e=fe.value;if(!e.marks)return[];var t=[];if(f(e.marks)){var a=g(e.marks).sort((function(e,t){return e-t})),n=Math.max.apply(Math,b(a).concat([e.max])),r=Math.min.apply(Math,b(a).concat([e.min]));r<e.min&&h.errorOnce("TSlider","marks min value should >= props min"),n>e.max&&h.errorOnce("TSlider","marks max value should <= props max"),a.forEach((function(e){t.push({point:e,position:(e-r)/(n-r)*100,mark:e})}))}else Object.keys(e.marks).map(parseFloat).sort((function(e,t){return e-t})).filter((function(t){return t<=e.max&&t>=e.min})).forEach((function(a){var n={point:a,position:100*(a-e.min)/(e.max-e.min),mark:e.marks[a]};t.push(n)}));return t})),function(e){return be.value.length?s("div",null,[s("div",{class:"".concat(ge,"__stops")},[be.value.map((function(e,t){return 0===e.position||100===e.position?null:s("div",{class:"".concat(ge,"__stop ").concat(ge,"__mark-stop"),style:D(e.position,fe.value.vertical),key:t},null)}))]),s("div",{class:"".concat(ge,"__mark")},[be.value.map((function(t,a){return s(X,{mark:t.mark,point:t.point,key:a,style:D(t.position,fe.value.vertical),onClickMarkPoint:e},null)}))])]):null}),we=function(e){var t=e.value.prefixName,n=a((function(){var t,a={format:void 0,placeholder:"",theme:"column",decimalPlaces:(null===(t=e.value.step.toString().split(".")[1])||void 0===t?void 0:t.length)||0},n=e.value;if(!y(n.inputNumberProps)){var r,o=null===(r=n.inputNumberProps)||void 0===r?void 0:r.theme;a=V(V({},a),w(n.inputNumberProps,"onChange")),["column","row","normal"].includes(o)&&(a.theme=o)}return a})),r=a((function(){return["".concat(t,"__input"),{"is-vertical":e.value.vertical}]}));return function(t,a){return s(I,p(n.value,{class:r.value,value:t,step:e.value.step,onChange:function(t,n){var r,o;void 0===t||isNaN(t)||a(t),null===(r=e.value)||void 0===r||null===(r=r.inputNumberProps)||void 0===r||null===(o=r.onChange)||void 0===o||o.call(r,t,n)},disabled:e.value.disabled,min:e.value.min,max:e.value.max}),null)}}(a((function(){return{max:e.max,min:e.min,inputNumberProps:e.inputNumberProps,step:e.step,prefixName:o.value,vertical:H.value,disabled:r.value}}))),Oe=j(e),Pe=Oe.min,je=Oe.max,xe=Oe.step;return _(Y,l({min:Pe,max:je,step:xe,dragging:G,toggleDragging:function(e){G.value=e},precision:oe,disabled:r,resetSize:le,sliderSize:W})),function(){return s("div",{class:K.value,ref:A},[s("div",{class:Q.value,role:"slider","aria-valuemin":e.min,"aria-valuemax":e.max,"aria-orientation":e.layout,"aria-disabled":r.value,"tooltip-props":e.tooltipProps},[s("div",{class:Z.value,style:$.value,onClick:me,ref:L},[s("div",{class:"".concat(o.value,"__track"),style:ee.value},null),s(R,{vertical:H.value,value:U.value,ref:F,disabled:r.value,range:e.range,position:"start","tooltip-props":e.tooltipProps,label:e.label,onInput:function(e){U.value=e},onMouseup:function(){var t,a=pe();null===(t=e.onChangeEnd)||void 0===t||t.call(e,a)}},null),e.range&&s(R,{vertical:H.value,value:q.value,ref:J,disabled:r.value,label:e.label,range:e.range,position:"end","tooltip-props":e.tooltipProps,onInput:function(e){q.value=e},onMouseup:function(){var t,a=pe();null===(t=e.onChangeEnd)||void 0===t||t.call(e,a)}},null),e.showStep&&s("div",{class:"".concat(o.value,"__stops")},[re.value.map((function(e,t){return 0===e.position||100===e.position?null:s("div",{class:"".concat(o.value,"__stop"),key:t,style:D(e,H.value)},null)}))]),ye(de)])]),ce.value&&e.inputNumberProps&&(t=ie(U.value),a=ie(q.value),s("div",{class:["".concat(o.value,"__input-container"),{"is-vertical":H.value}]},[we(t,(function(e){U.value=ie(e)})),e.range&&s("div",{class:"".concat(o.value,"__center-line")},null),e.range&&we(a,(function(e){q.value=ie(e)}))]))]);var t,a}}})); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */C(R);const G={accept:"*/*","accept-language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6",authorization:"bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJlOGNlZDg5Yy01NjRmLTQ3MWYtOTczNi1kOGM2NmMyMDkzODYiLCJhdWQiOlsiZmFzdGFwaS11c2VyczphdXRoIl0sImV4cCI6MTcyMjA5MjE5MH0.1fiONkyHOZgcfv4Uuy1NMV9ymhur_VvxlIJD4x79xXo","cache-control":"no-cache","content-type":"application/json",pragma:"no-cache",priority:"u=1, i","sec-ch-ua":'"Not/A)Brand";v="8", "Chromium";v="126", "Microsoft Edge";v="126"',"sec-ch-ua-mobile":"?0","sec-ch-ua-platform":'"Windows"',"sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"same-site",Referer:"https://lyihub.com/","Referrer-Policy":"strict-origin-when-cross-origin"};async function W(e){const t=await fetch("https://api.lyihub.com/arena/battle",{headers:{...G,authorization:"Bearer "+e},method:"POST"});return await t.json()}async function H(e,t){const a={};for(let r=0;r<e;r++)try{const e=await W(t);await fetch("https://api.lyihub.com/arena/chat",{headers:{...G,accept:"text/event-stream",authorization:"Bearer "+t},body:JSON.stringify({sessionId:e.id,modelId:e.modelAId,question:"你好"}),method:"POST"}),await new Promise((e=>setTimeout(e,3e3)));const n=await fetch("https://api.lyihub.com/arena/evaluation/save",{headers:{...G,authorization:"Bearer "+t},method:"POST",body:JSON.stringify({description:"",createTime:Date.now(),updateTime:Date.now(),userId:e.userId,sessionId:e.id,evaluationType:"a_better",modelAId:e.modelAId,modelBId:e.modelBId})}),r=await n.json();a[r.modelA.name]=r.modelA.id,a[r.modelB.name]=r.modelB.id}catch(n){}return function(e){return Object.keys(e).sort().reduce(((t,a)=>(t[a]=e[a],t)),{})}(a)}export{q as S,W as g,H as p}; diff --git a/.output/public/assets/main-Bexb_ehG.css b/.output/public/assets/main-Bexb_ehG.css new file mode 100644 index 0000000000000000000000000000000000000000..544119432f4d1c3d60455a1bc2b0ed997b273c86 --- /dev/null +++ b/.output/public/assets/main-Bexb_ehG.css @@ -0,0 +1 @@ +@keyframes t-fade-in{0%{opacity:0}to{opacity:1}}@keyframes t-fade-out{0%{opacity:1}to{opacity:0}}@keyframes t-zoom-out{0%{transform:scale(.2)}to{transform:scale(1)}}.t-loading{font:var(--td-font-body-medium);color:var(--td-text-color-primary);box-sizing:border-box;margin:0;padding:0;list-style:none;position:relative;color:var(--td-brand-color);font-size:var(--td-comp-size-l)}.t-loading--lock{overflow:hidden}.t-loading.t-size-s{font-size:var(--td-comp-size-xxxs)}.t-loading.t-size-l{font-size:var(--td-comp-size-xxxl)}.t-loading__parent--relative{position:relative!important}.t-loading__fullscreen{position:fixed;top:0;left:0;width:100%;height:100%;z-index:3500}.t-loading--center{display:inline-flex;align-items:center;vertical-align:middle;justify-content:center}.t-loading__content{position:absolute;left:48%;top:20%}.t-loading--inherit-color{color:inherit}.t-loading__parent{position:relative}.t-loading__overlay{background-color:var(--td-mask-disabled)}.t-loading--full{position:absolute;top:0;left:0;width:100%;height:100%;z-index:3500}.t-loading--hidden{visibility:hidden}.t-loading--visible{visibility:visible}.t-loading__text{width:auto;display:inline-block;vertical-align:middle;font:var(--td-font-body-medium);margin-left:var(--td-comp-margin-xs)}.t-loading__gradient{display:inline-flex;justify-content:center;align-items:center;vertical-align:middle}.t-loading__gradient-conic{width:100%;height:100%;border-radius:var(--td-radius-circle);background:conic-gradient(from 90deg at 50% 50%,#fff 0deg,currentcolor 360deg);-webkit-mask:radial-gradient(transparent calc(50% - .5px),#fff 50%);mask:radial-gradient(transparent calc(50% - .5px),#fff 50%)}.t-button{font:var(--td-font-body-medium);color:var(--td-text-color-primary);box-sizing:border-box;margin:0;padding:0;list-style:none;position:relative;z-index:0;overflow:hidden;font-size:var(--td-font-body-medium);outline:none;border-width:1px;border-style:solid;border-color:transparent;background-color:transparent;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;white-space:nowrap;border-radius:var(--td-radius-default);transition:all .2s linear;touch-action:manipulation;text-decoration:none}.t-button .t-button__text,.t-button .t-icon{position:relative;z-index:1;display:inline-flex}.t-button .t-icon,.t-button .t-loading{font-size:var(--td-font-size-body-large)}.t-button .t-icon+.t-button__text:not(:empty){margin-left:8px}.t-button .t-loading+.t-button__text:not(:empty){margin-left:8px}.t-button .t-button__suffix:not(:empty){display:inline-flex;margin-left:8px}.t-button--variant-base{color:var(--td-text-color-anti);height:var(--td-comp-size-m);font:var(--td-font-body-medium);padding-left:calc(var(--td-comp-paddingLR-l) - 1px);padding-right:calc(var(--td-comp-paddingLR-l) - 1px);background-color:var(--td-bg-color-component);border-color:var(--td-bg-color-component);color:var(--td-text-color-primary)}.t-button--variant-base .t-icon,.t-button--variant-base .t-loading{font-size:var(--td-font-size-body-large)}.t-button--variant-base:hover,.t-button--variant-base:focus-visible{background-color:var(--td-bg-color-component-hover)}.t-button--variant-base.t-is-loading{background-color:var(--td-bg-color-component)}.t-button--variant-base.t-is-disabled{background-color:var(--td-bg-color-component-disabled)}.t-button--variant-base:hover,.t-button--variant-base:focus-visible{border-color:var(--td-bg-color-component-hover)}.t-button--variant-base.t-is-loading{border-color:var(--td-bg-color-component)}.t-button--variant-base.t-is-disabled{border-color:var(--td-bg-color-component-disabled)}.t-button--variant-base:hover,.t-button--variant-base:focus-visible{color:var(--td-text-color-primary)}.t-button--variant-base.t-is-loading{color:var(--td-text-color-primary)}.t-button--variant-base.t-is-disabled{color:var(--td-text-color-disabled)}.t-button--variant-base.t-button--theme-primary{color:var(--td-text-color-anti);background-color:var(--td-brand-color);border-color:var(--td-brand-color)}.t-button--variant-base.t-button--theme-primary:hover,.t-button--variant-base.t-button--theme-primary:focus-visible{background-color:var(--td-brand-color-hover)}.t-button--variant-base.t-button--theme-primary.t-is-loading{background-color:var(--td-brand-color)}.t-button--variant-base.t-button--theme-primary.t-is-disabled{background-color:var(--td-brand-color-disabled)}.t-button--variant-base.t-button--theme-primary:hover,.t-button--variant-base.t-button--theme-primary:focus-visible{border-color:var(--td-brand-color-hover)}.t-button--variant-base.t-button--theme-primary.t-is-loading{border-color:var(--td-brand-color)}.t-button--variant-base.t-button--theme-primary.t-is-disabled{border-color:var(--td-brand-color-disabled)}.t-button--variant-base.t-button--theme-success{color:var(--td-text-color-anti);background-color:var(--td-success-color);border-color:var(--td-success-color)}.t-button--variant-base.t-button--theme-success:hover,.t-button--variant-base.t-button--theme-success:focus-visible{background-color:var(--td-success-color-hover)}.t-button--variant-base.t-button--theme-success.t-is-loading{background-color:var(--td-success-color)}.t-button--variant-base.t-button--theme-success.t-is-disabled{background-color:var(--td-success-color-disabled)}.t-button--variant-base.t-button--theme-success:hover,.t-button--variant-base.t-button--theme-success:focus-visible{border-color:var(--td-success-color-hover)}.t-button--variant-base.t-button--theme-success.t-is-loading{border-color:var(--td-success-color)}.t-button--variant-base.t-button--theme-success.t-is-disabled{border-color:var(--td-success-color-disabled)}.t-button--variant-base.t-button--theme-warning{color:var(--td-text-color-anti);background-color:var(--td-warning-color);border-color:var(--td-warning-color)}.t-button--variant-base.t-button--theme-warning:hover,.t-button--variant-base.t-button--theme-warning:focus-visible{background-color:var(--td-warning-color-hover)}.t-button--variant-base.t-button--theme-warning.t-is-loading{background-color:var(--td-warning-color)}.t-button--variant-base.t-button--theme-warning.t-is-disabled{background-color:var(--td-warning-color-disabled)}.t-button--variant-base.t-button--theme-warning:hover,.t-button--variant-base.t-button--theme-warning:focus-visible{border-color:var(--td-warning-color-hover)}.t-button--variant-base.t-button--theme-warning.t-is-loading{border-color:var(--td-warning-color)}.t-button--variant-base.t-button--theme-warning.t-is-disabled{border-color:var(--td-warning-color-disabled)}.t-button--variant-base.t-button--theme-danger{color:var(--td-text-color-anti);background-color:var(--td-error-color);border-color:var(--td-error-color)}.t-button--variant-base.t-button--theme-danger:hover,.t-button--variant-base.t-button--theme-danger:focus-visible{background-color:var(--td-error-color-hover)}.t-button--variant-base.t-button--theme-danger.t-is-loading{background-color:var(--td-error-color)}.t-button--variant-base.t-button--theme-danger.t-is-disabled{background-color:var(--td-error-color-disabled)}.t-button--variant-base.t-button--theme-danger:hover,.t-button--variant-base.t-button--theme-danger:focus-visible{border-color:var(--td-error-color-hover)}.t-button--variant-base.t-button--theme-danger.t-is-loading{border-color:var(--td-error-color)}.t-button--variant-base.t-button--theme-danger.t-is-disabled{border-color:var(--td-error-color-disabled)}.t-button--variant-base.t-button--ghost{background-color:transparent;color:var(--td-text-color-anti);border-color:var(--td-text-color-anti)}.t-button--variant-base.t-button--ghost:hover,.t-button--variant-base.t-button--ghost:focus-visible{background-color:transparent}.t-button--variant-base.t-button--ghost:active,.t-button--variant-base.t-button--ghost.t-is-loading{background-color:transparent}.t-button--variant-base.t-button--ghost.t-is-disabled{background-color:#ffffff38;background-color:transparent}.t-button--variant-base.t-button--ghost:hover,.t-button--variant-base.t-button--ghost:focus-visible{color:var(--td-brand-color-hover)}.t-button--variant-base.t-button--ghost:active{color:var(--td-brand-color-active)}.t-button--variant-base.t-button--ghost.t-is-loading{color:var(--td-text-color-anti)}.t-button--variant-base.t-button--ghost.t-is-disabled{color:#ffffff38;background-color:transparent}.t-button--variant-base.t-button--ghost:hover,.t-button--variant-base.t-button--ghost:focus-visible{border-color:var(--td-brand-color-hover)}.t-button--variant-base.t-button--ghost:active{border-color:var(--td-brand-color-active)}.t-button--variant-base.t-button--ghost.t-is-loading{border-color:var(--td-text-color-anti)}.t-button--variant-base.t-button--ghost.t-is-disabled{border-color:#ffffff38;background-color:transparent}.t-button--variant-base.t-button--ghost.t-button--theme-primary{color:var(--td-brand-color);border-color:var(--td-brand-color)}.t-button--variant-base.t-button--ghost.t-button--theme-primary:hover,.t-button--variant-base.t-button--ghost.t-button--theme-primary:focus-visible{color:var(--td-brand-color-hover)}.t-button--variant-base.t-button--ghost.t-button--theme-primary:active{color:var(--td-brand-color-active)}.t-button--variant-base.t-button--ghost.t-button--theme-primary.t-is-loading{color:var(--td-brand-color)}.t-button--variant-base.t-button--ghost.t-button--theme-primary.t-is-disabled{color:#ffffff38;background-color:transparent}.t-button--variant-base.t-button--ghost.t-button--theme-primary:hover,.t-button--variant-base.t-button--ghost.t-button--theme-primary:focus-visible{border-color:var(--td-brand-color-hover)}.t-button--variant-base.t-button--ghost.t-button--theme-primary:active{border-color:var(--td-brand-color-active)}.t-button--variant-base.t-button--ghost.t-button--theme-primary.t-is-loading{border-color:var(--td-brand-color)}.t-button--variant-base.t-button--ghost.t-button--theme-primary.t-is-disabled{border-color:#ffffff38;background-color:transparent}.t-button--variant-base.t-button--ghost.t-button--theme-success{color:var(--td-success-color);border-color:var(--td-success-color)}.t-button--variant-base.t-button--ghost.t-button--theme-success:hover,.t-button--variant-base.t-button--ghost.t-button--theme-success:focus-visible{color:var(--td-success-color-hover)}.t-button--variant-base.t-button--ghost.t-button--theme-success:active{color:var(--td-success-color-active)}.t-button--variant-base.t-button--ghost.t-button--theme-success.t-is-loading{color:var(--td-success-color)}.t-button--variant-base.t-button--ghost.t-button--theme-success.t-is-disabled{color:#ffffff38;background-color:transparent}.t-button--variant-base.t-button--ghost.t-button--theme-success:hover,.t-button--variant-base.t-button--ghost.t-button--theme-success:focus-visible{border-color:var(--td-success-color-hover)}.t-button--variant-base.t-button--ghost.t-button--theme-success:active{border-color:var(--td-success-color-active)}.t-button--variant-base.t-button--ghost.t-button--theme-success.t-is-loading{border-color:var(--td-success-color)}.t-button--variant-base.t-button--ghost.t-button--theme-success.t-is-disabled{border-color:#ffffff38;background-color:transparent}.t-button--variant-base.t-button--ghost.t-button--theme-warning{color:var(--td-warning-color);border-color:var(--td-warning-color)}.t-button--variant-base.t-button--ghost.t-button--theme-warning:hover,.t-button--variant-base.t-button--ghost.t-button--theme-warning:focus-visible{color:var(--td-warning-color-hover)}.t-button--variant-base.t-button--ghost.t-button--theme-warning:active{color:var(--td-warning-color-active)}.t-button--variant-base.t-button--ghost.t-button--theme-warning.t-is-loading{color:var(--td-warning-color)}.t-button--variant-base.t-button--ghost.t-button--theme-warning.t-is-disabled{color:#ffffff38;background-color:transparent}.t-button--variant-base.t-button--ghost.t-button--theme-warning:hover,.t-button--variant-base.t-button--ghost.t-button--theme-warning:focus-visible{border-color:var(--td-warning-color-hover)}.t-button--variant-base.t-button--ghost.t-button--theme-warning:active{border-color:var(--td-warning-color-active)}.t-button--variant-base.t-button--ghost.t-button--theme-warning.t-is-loading{border-color:var(--td-warning-color)}.t-button--variant-base.t-button--ghost.t-button--theme-warning.t-is-disabled{border-color:#ffffff38;background-color:transparent}.t-button--variant-base.t-button--ghost.t-button--theme-danger{color:var(--td-error-color);border-color:var(--td-error-color)}.t-button--variant-base.t-button--ghost.t-button--theme-danger:hover,.t-button--variant-base.t-button--ghost.t-button--theme-danger:focus-visible{color:var(--td-error-color-hover)}.t-button--variant-base.t-button--ghost.t-button--theme-danger:active{color:var(--td-error-color-active)}.t-button--variant-base.t-button--ghost.t-button--theme-danger.t-is-loading{color:var(--td-error-color)}.t-button--variant-base.t-button--ghost.t-button--theme-danger.t-is-disabled{color:#ffffff38;background-color:transparent}.t-button--variant-base.t-button--ghost.t-button--theme-danger:hover,.t-button--variant-base.t-button--ghost.t-button--theme-danger:focus-visible{border-color:var(--td-error-color-hover)}.t-button--variant-base.t-button--ghost.t-button--theme-danger:active{border-color:var(--td-error-color-active)}.t-button--variant-base.t-button--ghost.t-button--theme-danger.t-is-loading{border-color:var(--td-error-color)}.t-button--variant-base.t-button--ghost.t-button--theme-danger.t-is-disabled{border-color:#ffffff38;background-color:transparent}.t-button--variant-outline{height:var(--td-comp-size-m);font:var(--td-font-body-medium);padding-left:calc(var(--td-comp-paddingLR-l) - 1px);padding-right:calc(var(--td-comp-paddingLR-l) - 1px);color:var(--td-text-color-primary);background-color:var(--td-bg-color-specialcomponent);border-color:var(--td-border-level-2-color)}.t-button--variant-outline .t-icon,.t-button--variant-outline .t-loading{font-size:var(--td-font-size-body-large)}.t-button--variant-outline:hover,.t-button--variant-outline:focus-visible{color:var(--td-brand-color-hover)}.t-button--variant-outline.t-is-loading{color:var(--td-text-color-primary)}.t-button--variant-outline.t-is-disabled{color:var(--td-text-color-disabled)}.t-button--variant-outline:hover,.t-button--variant-outline:focus-visible{background-color:var(--td-bg-color-specialcomponent)}.t-button--variant-outline.t-is-loading{background-color:var(--td-bg-color-specialcomponent)}.t-button--variant-outline.t-is-disabled{background-color:var(--td-bg-color-component-disabled)}.t-button--variant-outline:hover,.t-button--variant-outline:focus-visible{border-color:var(--td-brand-color-hover)}.t-button--variant-outline.t-is-loading,.t-button--variant-outline.t-is-disabled{border-color:var(--td-border-level-2-color)}.t-button--variant-outline.t-button--theme-primary{color:var(--td-brand-color);border-color:var(--td-brand-color)}.t-button--variant-outline.t-button--theme-primary:hover,.t-button--variant-outline.t-button--theme-primary:focus-visible{color:var(--td-brand-color-hover)}.t-button--variant-outline.t-button--theme-primary.t-is-loading{color:var(--td-brand-color)}.t-button--variant-outline.t-button--theme-primary.t-is-disabled{color:var(--td-brand-color-disabled)}.t-button--variant-outline.t-button--theme-primary:hover,.t-button--variant-outline.t-button--theme-primary:focus-visible{border-color:var(--td-brand-color-hover)}.t-button--variant-outline.t-button--theme-primary.t-is-loading{border-color:var(--td-brand-color)}.t-button--variant-outline.t-button--theme-primary.t-is-disabled{border-color:var(--td-brand-color-disabled)}.t-button--variant-outline.t-button--theme-success{color:var(--td-success-color);border-color:var(--td-success-color)}.t-button--variant-outline.t-button--theme-success:hover,.t-button--variant-outline.t-button--theme-success:focus-visible{color:var(--td-success-color-hover)}.t-button--variant-outline.t-button--theme-success.t-is-loading{color:var(--td-success-color)}.t-button--variant-outline.t-button--theme-success.t-is-disabled{color:var(--td-success-color-disabled)}.t-button--variant-outline.t-button--theme-success:hover,.t-button--variant-outline.t-button--theme-success:focus-visible{border-color:var(--td-success-color-hover)}.t-button--variant-outline.t-button--theme-success.t-is-loading{border-color:var(--td-success-color)}.t-button--variant-outline.t-button--theme-success.t-is-disabled{border-color:var(--td-success-color-disabled)}.t-button--variant-outline.t-button--theme-warning{color:var(--td-warning-color);border-color:var(--td-warning-color)}.t-button--variant-outline.t-button--theme-warning:hover,.t-button--variant-outline.t-button--theme-warning:focus-visible{color:var(--td-warning-color-hover)}.t-button--variant-outline.t-button--theme-warning.t-is-loading{color:var(--td-warning-color)}.t-button--variant-outline.t-button--theme-warning.t-is-disabled{color:var(--td-warning-color-disabled)}.t-button--variant-outline.t-button--theme-warning:hover,.t-button--variant-outline.t-button--theme-warning:focus-visible{border-color:var(--td-warning-color-hover)}.t-button--variant-outline.t-button--theme-warning.t-is-loading{border-color:var(--td-warning-color)}.t-button--variant-outline.t-button--theme-warning.t-is-disabled{border-color:var(--td-warning-color-disabled)}.t-button--variant-outline.t-button--theme-danger{color:var(--td-error-color);border-color:var(--td-error-color)}.t-button--variant-outline.t-button--theme-danger:hover,.t-button--variant-outline.t-button--theme-danger:focus-visible{color:var(--td-error-color-hover)}.t-button--variant-outline.t-button--theme-danger.t-is-loading{color:var(--td-error-color)}.t-button--variant-outline.t-button--theme-danger.t-is-disabled{color:var(--td-error-color-disabled)}.t-button--variant-outline.t-button--theme-danger:hover,.t-button--variant-outline.t-button--theme-danger:focus-visible{border-color:var(--td-error-color-hover)}.t-button--variant-outline.t-button--theme-danger.t-is-loading{border-color:var(--td-error-color)}.t-button--variant-outline.t-button--theme-danger.t-is-disabled{border-color:var(--td-error-color-disabled)}.t-button--variant-outline.t-button--ghost{background-color:transparent;color:var(--td-text-color-anti);border-color:var(--td-text-color-anti)}.t-button--variant-outline.t-button--ghost:hover,.t-button--variant-outline.t-button--ghost:focus-visible{background-color:transparent}.t-button--variant-outline.t-button--ghost:active,.t-button--variant-outline.t-button--ghost.t-is-loading{background-color:transparent}.t-button--variant-outline.t-button--ghost.t-is-disabled{background-color:#ffffff38;background-color:transparent}.t-button--variant-outline.t-button--ghost:hover,.t-button--variant-outline.t-button--ghost:focus-visible{color:var(--td-brand-color-hover)}.t-button--variant-outline.t-button--ghost:active{color:var(--td-brand-color-active)}.t-button--variant-outline.t-button--ghost.t-is-loading{color:var(--td-text-color-anti)}.t-button--variant-outline.t-button--ghost.t-is-disabled{color:#ffffff38;background-color:transparent}.t-button--variant-outline.t-button--ghost:hover,.t-button--variant-outline.t-button--ghost:focus-visible{border-color:var(--td-brand-color-hover)}.t-button--variant-outline.t-button--ghost:active{border-color:var(--td-brand-color-active)}.t-button--variant-outline.t-button--ghost.t-is-loading{border-color:var(--td-text-color-anti)}.t-button--variant-outline.t-button--ghost.t-is-disabled{border-color:#ffffff38;background-color:transparent}.t-button--variant-outline.t-button--ghost.t-button--theme-primary{color:var(--td-brand-color);border-color:var(--td-brand-color)}.t-button--variant-outline.t-button--ghost.t-button--theme-primary:hover,.t-button--variant-outline.t-button--ghost.t-button--theme-primary:focus-visible{color:var(--td-brand-color-hover)}.t-button--variant-outline.t-button--ghost.t-button--theme-primary:active{color:var(--td-brand-color-active)}.t-button--variant-outline.t-button--ghost.t-button--theme-primary.t-is-loading{color:var(--td-brand-color)}.t-button--variant-outline.t-button--ghost.t-button--theme-primary.t-is-disabled{color:#ffffff38;background-color:transparent}.t-button--variant-outline.t-button--ghost.t-button--theme-primary:hover,.t-button--variant-outline.t-button--ghost.t-button--theme-primary:focus-visible{border-color:var(--td-brand-color-hover)}.t-button--variant-outline.t-button--ghost.t-button--theme-primary:active{border-color:var(--td-brand-color-active)}.t-button--variant-outline.t-button--ghost.t-button--theme-primary.t-is-loading{border-color:var(--td-brand-color)}.t-button--variant-outline.t-button--ghost.t-button--theme-primary.t-is-disabled{border-color:#ffffff38;background-color:transparent}.t-button--variant-outline.t-button--ghost.t-button--theme-success{color:var(--td-success-color);border-color:var(--td-success-color)}.t-button--variant-outline.t-button--ghost.t-button--theme-success:hover,.t-button--variant-outline.t-button--ghost.t-button--theme-success:focus-visible{color:var(--td-success-color-hover)}.t-button--variant-outline.t-button--ghost.t-button--theme-success:active{color:var(--td-success-color-active)}.t-button--variant-outline.t-button--ghost.t-button--theme-success.t-is-loading{color:var(--td-success-color)}.t-button--variant-outline.t-button--ghost.t-button--theme-success.t-is-disabled{color:#ffffff38;background-color:transparent}.t-button--variant-outline.t-button--ghost.t-button--theme-success:hover,.t-button--variant-outline.t-button--ghost.t-button--theme-success:focus-visible{border-color:var(--td-success-color-hover)}.t-button--variant-outline.t-button--ghost.t-button--theme-success:active{border-color:var(--td-success-color-active)}.t-button--variant-outline.t-button--ghost.t-button--theme-success.t-is-loading{border-color:var(--td-success-color)}.t-button--variant-outline.t-button--ghost.t-button--theme-success.t-is-disabled{border-color:#ffffff38;background-color:transparent}.t-button--variant-outline.t-button--ghost.t-button--theme-warning{color:var(--td-warning-color);border-color:var(--td-warning-color)}.t-button--variant-outline.t-button--ghost.t-button--theme-warning:hover,.t-button--variant-outline.t-button--ghost.t-button--theme-warning:focus-visible{color:var(--td-warning-color-hover)}.t-button--variant-outline.t-button--ghost.t-button--theme-warning:active{color:var(--td-warning-color-active)}.t-button--variant-outline.t-button--ghost.t-button--theme-warning.t-is-loading{color:var(--td-warning-color)}.t-button--variant-outline.t-button--ghost.t-button--theme-warning.t-is-disabled{color:#ffffff38;background-color:transparent}.t-button--variant-outline.t-button--ghost.t-button--theme-warning:hover,.t-button--variant-outline.t-button--ghost.t-button--theme-warning:focus-visible{border-color:var(--td-warning-color-hover)}.t-button--variant-outline.t-button--ghost.t-button--theme-warning:active{border-color:var(--td-warning-color-active)}.t-button--variant-outline.t-button--ghost.t-button--theme-warning.t-is-loading{border-color:var(--td-warning-color)}.t-button--variant-outline.t-button--ghost.t-button--theme-warning.t-is-disabled{border-color:#ffffff38;background-color:transparent}.t-button--variant-outline.t-button--ghost.t-button--theme-danger{color:var(--td-error-color);border-color:var(--td-error-color)}.t-button--variant-outline.t-button--ghost.t-button--theme-danger:hover,.t-button--variant-outline.t-button--ghost.t-button--theme-danger:focus-visible{color:var(--td-error-color-hover)}.t-button--variant-outline.t-button--ghost.t-button--theme-danger:active{color:var(--td-error-color-active)}.t-button--variant-outline.t-button--ghost.t-button--theme-danger.t-is-loading{color:var(--td-error-color)}.t-button--variant-outline.t-button--ghost.t-button--theme-danger.t-is-disabled{color:#ffffff38;background-color:transparent}.t-button--variant-outline.t-button--ghost.t-button--theme-danger:hover,.t-button--variant-outline.t-button--ghost.t-button--theme-danger:focus-visible{border-color:var(--td-error-color-hover)}.t-button--variant-outline.t-button--ghost.t-button--theme-danger:active{border-color:var(--td-error-color-active)}.t-button--variant-outline.t-button--ghost.t-button--theme-danger.t-is-loading{border-color:var(--td-error-color)}.t-button--variant-outline.t-button--ghost.t-button--theme-danger.t-is-disabled{border-color:#ffffff38;background-color:transparent}.t-button--variant-dashed{height:var(--td-comp-size-m);font:var(--td-font-body-medium);padding-left:calc(var(--td-comp-paddingLR-l) - 1px);padding-right:calc(var(--td-comp-paddingLR-l) - 1px);color:var(--td-text-color-primary);background-color:var(--td-bg-color-specialcomponent);border-color:var(--td-border-level-2-color);border-style:dashed}.t-button--variant-dashed .t-icon,.t-button--variant-dashed .t-loading{font-size:var(--td-font-size-body-large)}.t-button--variant-dashed:hover,.t-button--variant-dashed:focus-visible{color:var(--td-brand-color-hover)}.t-button--variant-dashed.t-is-loading{color:var(--td-text-color-primary)}.t-button--variant-dashed.t-is-disabled{color:var(--td-text-color-disabled)}.t-button--variant-dashed:hover,.t-button--variant-dashed:focus-visible{background-color:var(--td-bg-color-specialcomponent)}.t-button--variant-dashed.t-is-loading{background-color:var(--td-bg-color-specialcomponent)}.t-button--variant-dashed.t-is-disabled{background-color:var(--td-bg-color-component-disabled)}.t-button--variant-dashed:hover,.t-button--variant-dashed:focus-visible{border-color:var(--td-brand-color-hover)}.t-button--variant-dashed.t-is-loading,.t-button--variant-dashed.t-is-disabled{border-color:var(--td-border-level-2-color)}.t-button--variant-dashed.t-button--theme-primary{color:var(--td-brand-color);border-color:var(--td-brand-color)}.t-button--variant-dashed.t-button--theme-primary:hover,.t-button--variant-dashed.t-button--theme-primary:focus-visible{color:var(--td-brand-color-hover)}.t-button--variant-dashed.t-button--theme-primary.t-is-loading{color:var(--td-brand-color)}.t-button--variant-dashed.t-button--theme-primary.t-is-disabled{color:var(--td-brand-color-disabled)}.t-button--variant-dashed.t-button--theme-primary:hover,.t-button--variant-dashed.t-button--theme-primary:focus-visible{border-color:var(--td-brand-color-hover)}.t-button--variant-dashed.t-button--theme-primary.t-is-loading{border-color:var(--td-brand-color)}.t-button--variant-dashed.t-button--theme-primary.t-is-disabled{border-color:var(--td-brand-color-disabled)}.t-button--variant-dashed.t-button--theme-success{color:var(--td-success-color);border-color:var(--td-success-color)}.t-button--variant-dashed.t-button--theme-success:hover,.t-button--variant-dashed.t-button--theme-success:focus-visible{color:var(--td-success-color-hover)}.t-button--variant-dashed.t-button--theme-success.t-is-loading{color:var(--td-success-color)}.t-button--variant-dashed.t-button--theme-success.t-is-disabled{color:var(--td-success-color-disabled)}.t-button--variant-dashed.t-button--theme-success:hover,.t-button--variant-dashed.t-button--theme-success:focus-visible{border-color:var(--td-success-color-hover)}.t-button--variant-dashed.t-button--theme-success.t-is-loading{border-color:var(--td-success-color)}.t-button--variant-dashed.t-button--theme-success.t-is-disabled{border-color:var(--td-success-color-disabled)}.t-button--variant-dashed.t-button--theme-warning{color:var(--td-warning-color);border-color:var(--td-warning-color)}.t-button--variant-dashed.t-button--theme-warning:hover,.t-button--variant-dashed.t-button--theme-warning:focus-visible{color:var(--td-warning-color-hover)}.t-button--variant-dashed.t-button--theme-warning.t-is-loading{color:var(--td-warning-color)}.t-button--variant-dashed.t-button--theme-warning.t-is-disabled{color:var(--td-warning-color-disabled)}.t-button--variant-dashed.t-button--theme-warning:hover,.t-button--variant-dashed.t-button--theme-warning:focus-visible{border-color:var(--td-warning-color-hover)}.t-button--variant-dashed.t-button--theme-warning.t-is-loading{border-color:var(--td-warning-color)}.t-button--variant-dashed.t-button--theme-warning.t-is-disabled{border-color:var(--td-warning-color-disabled)}.t-button--variant-dashed.t-button--theme-danger{color:var(--td-error-color);border-color:var(--td-error-color)}.t-button--variant-dashed.t-button--theme-danger:hover,.t-button--variant-dashed.t-button--theme-danger:focus-visible{color:var(--td-error-color-hover)}.t-button--variant-dashed.t-button--theme-danger.t-is-loading{color:var(--td-error-color)}.t-button--variant-dashed.t-button--theme-danger.t-is-disabled{color:var(--td-error-color-disabled)}.t-button--variant-dashed.t-button--theme-danger:hover,.t-button--variant-dashed.t-button--theme-danger:focus-visible{border-color:var(--td-error-color-hover)}.t-button--variant-dashed.t-button--theme-danger.t-is-loading{border-color:var(--td-error-color)}.t-button--variant-dashed.t-button--theme-danger.t-is-disabled{border-color:var(--td-error-color-disabled)}.t-button--variant-dashed.t-button--ghost{background-color:transparent;color:var(--td-text-color-anti);border-color:var(--td-text-color-anti)}.t-button--variant-dashed.t-button--ghost:hover,.t-button--variant-dashed.t-button--ghost:focus-visible{background-color:transparent}.t-button--variant-dashed.t-button--ghost:active,.t-button--variant-dashed.t-button--ghost.t-is-loading{background-color:transparent}.t-button--variant-dashed.t-button--ghost.t-is-disabled{background-color:#ffffff38;background-color:transparent}.t-button--variant-dashed.t-button--ghost:hover,.t-button--variant-dashed.t-button--ghost:focus-visible{color:var(--td-brand-color-hover)}.t-button--variant-dashed.t-button--ghost:active{color:var(--td-brand-color-active)}.t-button--variant-dashed.t-button--ghost.t-is-loading{color:var(--td-text-color-anti)}.t-button--variant-dashed.t-button--ghost.t-is-disabled{color:#ffffff38;background-color:transparent}.t-button--variant-dashed.t-button--ghost:hover,.t-button--variant-dashed.t-button--ghost:focus-visible{border-color:var(--td-brand-color-hover)}.t-button--variant-dashed.t-button--ghost:active{border-color:var(--td-brand-color-active)}.t-button--variant-dashed.t-button--ghost.t-is-loading{border-color:var(--td-text-color-anti)}.t-button--variant-dashed.t-button--ghost.t-is-disabled{border-color:#ffffff38;background-color:transparent}.t-button--variant-dashed.t-button--ghost.t-button--theme-primary{color:var(--td-brand-color);border-color:var(--td-brand-color)}.t-button--variant-dashed.t-button--ghost.t-button--theme-primary:hover,.t-button--variant-dashed.t-button--ghost.t-button--theme-primary:focus-visible{color:var(--td-brand-color-hover)}.t-button--variant-dashed.t-button--ghost.t-button--theme-primary:active{color:var(--td-brand-color-active)}.t-button--variant-dashed.t-button--ghost.t-button--theme-primary.t-is-loading{color:var(--td-brand-color)}.t-button--variant-dashed.t-button--ghost.t-button--theme-primary.t-is-disabled{color:#ffffff38;background-color:transparent}.t-button--variant-dashed.t-button--ghost.t-button--theme-primary:hover,.t-button--variant-dashed.t-button--ghost.t-button--theme-primary:focus-visible{border-color:var(--td-brand-color-hover)}.t-button--variant-dashed.t-button--ghost.t-button--theme-primary:active{border-color:var(--td-brand-color-active)}.t-button--variant-dashed.t-button--ghost.t-button--theme-primary.t-is-loading{border-color:var(--td-brand-color)}.t-button--variant-dashed.t-button--ghost.t-button--theme-primary.t-is-disabled{border-color:#ffffff38;background-color:transparent}.t-button--variant-dashed.t-button--ghost.t-button--theme-success{color:var(--td-success-color);border-color:var(--td-success-color)}.t-button--variant-dashed.t-button--ghost.t-button--theme-success:hover,.t-button--variant-dashed.t-button--ghost.t-button--theme-success:focus-visible{color:var(--td-success-color-hover)}.t-button--variant-dashed.t-button--ghost.t-button--theme-success:active{color:var(--td-success-color-active)}.t-button--variant-dashed.t-button--ghost.t-button--theme-success.t-is-loading{color:var(--td-success-color)}.t-button--variant-dashed.t-button--ghost.t-button--theme-success.t-is-disabled{color:#ffffff38;background-color:transparent}.t-button--variant-dashed.t-button--ghost.t-button--theme-success:hover,.t-button--variant-dashed.t-button--ghost.t-button--theme-success:focus-visible{border-color:var(--td-success-color-hover)}.t-button--variant-dashed.t-button--ghost.t-button--theme-success:active{border-color:var(--td-success-color-active)}.t-button--variant-dashed.t-button--ghost.t-button--theme-success.t-is-loading{border-color:var(--td-success-color)}.t-button--variant-dashed.t-button--ghost.t-button--theme-success.t-is-disabled{border-color:#ffffff38;background-color:transparent}.t-button--variant-dashed.t-button--ghost.t-button--theme-warning{color:var(--td-warning-color);border-color:var(--td-warning-color)}.t-button--variant-dashed.t-button--ghost.t-button--theme-warning:hover,.t-button--variant-dashed.t-button--ghost.t-button--theme-warning:focus-visible{color:var(--td-warning-color-hover)}.t-button--variant-dashed.t-button--ghost.t-button--theme-warning:active{color:var(--td-warning-color-active)}.t-button--variant-dashed.t-button--ghost.t-button--theme-warning.t-is-loading{color:var(--td-warning-color)}.t-button--variant-dashed.t-button--ghost.t-button--theme-warning.t-is-disabled{color:#ffffff38;background-color:transparent}.t-button--variant-dashed.t-button--ghost.t-button--theme-warning:hover,.t-button--variant-dashed.t-button--ghost.t-button--theme-warning:focus-visible{border-color:var(--td-warning-color-hover)}.t-button--variant-dashed.t-button--ghost.t-button--theme-warning:active{border-color:var(--td-warning-color-active)}.t-button--variant-dashed.t-button--ghost.t-button--theme-warning.t-is-loading{border-color:var(--td-warning-color)}.t-button--variant-dashed.t-button--ghost.t-button--theme-warning.t-is-disabled{border-color:#ffffff38;background-color:transparent}.t-button--variant-dashed.t-button--ghost.t-button--theme-danger{color:var(--td-error-color);border-color:var(--td-error-color)}.t-button--variant-dashed.t-button--ghost.t-button--theme-danger:hover,.t-button--variant-dashed.t-button--ghost.t-button--theme-danger:focus-visible{color:var(--td-error-color-hover)}.t-button--variant-dashed.t-button--ghost.t-button--theme-danger:active{color:var(--td-error-color-active)}.t-button--variant-dashed.t-button--ghost.t-button--theme-danger.t-is-loading{color:var(--td-error-color)}.t-button--variant-dashed.t-button--ghost.t-button--theme-danger.t-is-disabled{color:#ffffff38;background-color:transparent}.t-button--variant-dashed.t-button--ghost.t-button--theme-danger:hover,.t-button--variant-dashed.t-button--ghost.t-button--theme-danger:focus-visible{border-color:var(--td-error-color-hover)}.t-button--variant-dashed.t-button--ghost.t-button--theme-danger:active{border-color:var(--td-error-color-active)}.t-button--variant-dashed.t-button--ghost.t-button--theme-danger.t-is-loading{border-color:var(--td-error-color)}.t-button--variant-dashed.t-button--ghost.t-button--theme-danger.t-is-disabled{border-color:#ffffff38;background-color:transparent}.t-button--variant-text{height:var(--td-comp-size-m);font:var(--td-font-body-medium);padding-left:calc(var(--td-comp-paddingLR-l) - 1px);padding-right:calc(var(--td-comp-paddingLR-l) - 1px);color:var(--td-text-color-primary);background-color:transparent;border-color:transparent}.t-button--variant-text .t-icon,.t-button--variant-text .t-loading{font-size:var(--td-font-size-body-large)}.t-button--variant-text:hover,.t-button--variant-text:focus-visible{color:var(--td-text-color-primary)}.t-button--variant-text.t-is-loading{color:var(--td-text-color-primary)}.t-button--variant-text.t-is-disabled{color:var(--td-text-color-disabled)}.t-button--variant-text:hover,.t-button--variant-text:focus-visible{background-color:var(--td-bg-color-container-hover)}.t-button--variant-text.t-is-loading,.t-button--variant-text.t-is-disabled{background-color:transparent}.t-button--variant-text:hover,.t-button--variant-text:focus-visible{border-color:var(--td-bg-color-container-hover)}.t-button--variant-text.t-is-loading,.t-button--variant-text.t-is-disabled{border-color:transparent}.t-button--variant-text.t-button--theme-primary{color:var(--td-brand-color)}.t-button--variant-text.t-button--theme-primary:hover,.t-button--variant-text.t-button--theme-primary:focus-visible{color:var(--td-brand-color-hover)}.t-button--variant-text.t-button--theme-primary.t-is-loading{color:var(--td-brand-color)}.t-button--variant-text.t-button--theme-primary.t-is-disabled{color:var(--td-brand-color-disabled)}.t-button--variant-text.t-button--theme-success{color:var(--td-success-color)}.t-button--variant-text.t-button--theme-success:hover,.t-button--variant-text.t-button--theme-success:focus-visible{color:var(--td-success-color-hover)}.t-button--variant-text.t-button--theme-success.t-is-loading{color:var(--td-success-color)}.t-button--variant-text.t-button--theme-success.t-is-disabled{color:var(--td-success-color-disabled)}.t-button--variant-text.t-button--theme-warning{color:var(--td-warning-color)}.t-button--variant-text.t-button--theme-warning:hover,.t-button--variant-text.t-button--theme-warning:focus-visible{color:var(--td-warning-color-hover)}.t-button--variant-text.t-button--theme-warning.t-is-loading{color:var(--td-warning-color)}.t-button--variant-text.t-button--theme-warning.t-is-disabled{color:var(--td-warning-color-disabled)}.t-button--variant-text.t-button--theme-danger{color:var(--td-error-color)}.t-button--variant-text.t-button--theme-danger:hover,.t-button--variant-text.t-button--theme-danger:focus-visible{color:var(--td-error-color-hover)}.t-button--variant-text.t-button--theme-danger.t-is-loading{color:var(--td-error-color)}.t-button--variant-text.t-button--theme-danger.t-is-disabled{color:var(--td-error-color-disabled)}.t-button--variant-text.t-button--ghost{background:none;color:var(--td-text-color-anti)}.t-button--variant-text.t-button--ghost:hover,.t-button--variant-text.t-button--ghost:focus-visible{color:var(--td-brand-color-hover)}.t-button--variant-text.t-button--ghost:active{color:var(--td-brand-color-active)}.t-button--variant-text.t-button--ghost.t-is-loading{color:var(--td-text-color-anti)}.t-button--variant-text.t-button--ghost.t-is-disabled{color:#ffffff38;background-color:transparent}.t-button--variant-text.t-button--ghost.t-button--theme-primary{color:var(--td-brand-color)}.t-button--variant-text.t-button--ghost.t-button--theme-primary:hover,.t-button--variant-text.t-button--ghost.t-button--theme-primary:focus-visible{color:var(--td-brand-color-hover)}.t-button--variant-text.t-button--ghost.t-button--theme-primary:active{color:var(--td-brand-color-active)}.t-button--variant-text.t-button--ghost.t-button--theme-primary.t-is-loading{color:var(--td-brand-color)}.t-button--variant-text.t-button--ghost.t-button--theme-primary.t-is-disabled{color:#ffffff38;background-color:transparent}.t-button--variant-text.t-button--ghost.t-button--theme-success{color:var(--td-success-color)}.t-button--variant-text.t-button--ghost.t-button--theme-success:hover,.t-button--variant-text.t-button--ghost.t-button--theme-success:focus-visible{color:var(--td-success-color-hover)}.t-button--variant-text.t-button--ghost.t-button--theme-success:active{color:var(--td-success-color-active)}.t-button--variant-text.t-button--ghost.t-button--theme-success.t-is-loading{color:var(--td-success-color)}.t-button--variant-text.t-button--ghost.t-button--theme-success.t-is-disabled{color:#ffffff38;background-color:transparent}.t-button--variant-text.t-button--ghost.t-button--theme-warning{color:var(--td-warning-color)}.t-button--variant-text.t-button--ghost.t-button--theme-warning:hover,.t-button--variant-text.t-button--ghost.t-button--theme-warning:focus-visible{color:var(--td-warning-color-hover)}.t-button--variant-text.t-button--ghost.t-button--theme-warning:active{color:var(--td-warning-color-active)}.t-button--variant-text.t-button--ghost.t-button--theme-warning.t-is-loading{color:var(--td-warning-color)}.t-button--variant-text.t-button--ghost.t-button--theme-warning.t-is-disabled{color:#ffffff38;background-color:transparent}.t-button--variant-text.t-button--ghost.t-button--theme-danger{color:var(--td-error-color)}.t-button--variant-text.t-button--ghost.t-button--theme-danger:hover,.t-button--variant-text.t-button--ghost.t-button--theme-danger:focus-visible{color:var(--td-error-color-hover)}.t-button--variant-text.t-button--ghost.t-button--theme-danger:active{color:var(--td-error-color-active)}.t-button--variant-text.t-button--ghost.t-button--theme-danger.t-is-loading{color:var(--td-error-color)}.t-button--variant-text.t-button--ghost.t-button--theme-danger.t-is-disabled{color:#ffffff38;background-color:transparent}.t-button.t-is-loading,.t-button.t-is-disabled{cursor:not-allowed}.t-button.t-size-s{height:var(--td-comp-size-xs);font:var(--td-font-body-small);padding-left:calc(var(--td-comp-paddingLR-s) - 1px);padding-right:calc(var(--td-comp-paddingLR-s) - 1px)}.t-button.t-size-s .t-icon,.t-button.t-size-s .t-loading{font-size:var(--td-font-size-body-medium)}.t-button.t-size-l{height:var(--td-comp-size-xl);font:var(--td-font-body-large);padding-left:calc(var(--td-comp-paddingLR-xl) - 1px);padding-right:calc(var(--td-comp-paddingLR-xl) - 1px)}.t-button.t-size-l .t-icon,.t-button.t-size-l .t-loading{font-size:var(--td-font-size-title-large)}.t-button--shape-square{width:var(--td-comp-size-m);padding:0}.t-button--shape-square.t-size-s{width:var(--td-comp-size-xs);padding:0}.t-button--shape-square.t-size-l{width:var(--td-comp-size-xl);padding:0}.t-button--shape-round{border-radius:var(--td-radius-round)}.t-button--shape-round.t-size-s{border-radius:calc(var(--td-comp-size-xs) / 2)}.t-button--shape-round.t-size-l{border-radius:calc(var(--td-comp-size-xl) / 2)}.t-button--shape-circle{width:var(--td-comp-size-m);padding:0;text-align:center;border-radius:calc(var(--td-comp-size-m) / 2)}.t-button--shape-circle .t-icon,.t-button--shape-circle .t-loading{font-size:var(--td-font-size-body-large)}.t-button--shape-circle.t-size-s{width:var(--td-comp-size-xs);border-radius:calc(var(--td-comp-size-xs) / 2)}.t-button--shape-circle.t-size-l{width:var(--td-comp-size-xl);padding:0;border-radius:calc(var(--td-comp-size-xl) / 2)}.t-button.t-size-full-width{display:flex;width:100%}.t-button--ghost{--ripple-color: var(--td-gray-color-10)}.t-button:not(.t-is-disabled):not(.t-button--ghost){--ripple-color: var(--td-bg-color-container-active)}.t-button--variant-base:not(.t-is-disabled):not(.t-button--ghost){--ripple-color: var(--td-bg-color-component-active)}.t-button--variant-base.t-button--theme-primary:not(.t-is-disabled):not(.t-button--ghost){--ripple-color: var(--td-brand-color-active)}.t-button--variant-base.t-button--theme-success:not(.t-is-disabled):not(.t-button--ghost){--ripple-color: var(--td-success-color-active)}.t-button--variant-base.t-button--theme-warning:not(.t-is-disabled):not(.t-button--ghost){--ripple-color: var(--td-warning-color-active)}.t-button--variant-base.t-button--theme-danger:not(.t-is-disabled):not(.t-button--ghost){--ripple-color: var(--td-error-color-active)}@keyframes t-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.t-icon{display:inline-block;vertical-align:middle;width:1em;height:1em}.t-icon:before{font-family:unset}.t-icon-loading{animation:t-spin 1s linear infinite}.t-icon{fill:currentColor}.t-icon.t-size-s,i.t-size-s{font-size:14px}.t-icon.t-size-m,i.t-size-m{font-size:16px}.t-icon.t-size-l,i.t-size-l{font-size:18px}.t-row{font:var(--td-font-body-medium);color:var(--td-text-color-primary);box-sizing:border-box;margin:0;padding:0;list-style:none;display:flex;flex-flow:row wrap}.t-row--start{justify-content:flex-start}.t-row--center{justify-content:center}.t-row--end{justify-content:flex-end}.t-row--space-between{justify-content:space-between}.t-row--space-around{justify-content:space-around}.t-row--top{align-items:flex-start}.t-row--middle{align-items:center}.t-row--bottom{align-items:flex-end}.t-row--align-top,.t-row--align-start{align-items:flex-start}.t-row--align-middle,.t-row--align-center{align-items:center}.t-row--align-bottom,.t-row--align-end{align-items:flex-end}.t-row--align-stretch{align-items:stretch}.t-row--align-baseline{align-items:baseline}.t-col{position:relative;max-width:100%;min-height:1px;box-sizing:border-box}.t-col-12{display:block;flex:0 0 100%;max-width:100%}.t-col-push-12{left:100%}.t-col-pull-12{right:100%}.t-col-offset-12{margin-left:100%}.t-col-order-12{order:12}.t-col-11{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.t-col-push-11{left:91.66666667%}.t-col-pull-11{right:91.66666667%}.t-col-offset-11{margin-left:91.66666667%}.t-col-order-11{order:11}.t-col-10{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.t-col-push-10{left:83.33333333%}.t-col-pull-10{right:83.33333333%}.t-col-offset-10{margin-left:83.33333333%}.t-col-order-10{order:10}.t-col-9{display:block;flex:0 0 75%;max-width:75%}.t-col-push-9{left:75%}.t-col-pull-9{right:75%}.t-col-offset-9{margin-left:75%}.t-col-order-9{order:9}.t-col-8{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.t-col-push-8{left:66.66666667%}.t-col-pull-8{right:66.66666667%}.t-col-offset-8{margin-left:66.66666667%}.t-col-order-8{order:8}.t-col-7{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.t-col-push-7{left:58.33333333%}.t-col-pull-7{right:58.33333333%}.t-col-offset-7{margin-left:58.33333333%}.t-col-order-7{order:7}.t-col-6{display:block;flex:0 0 50%;max-width:50%}.t-col-push-6{left:50%}.t-col-pull-6{right:50%}.t-col-offset-6{margin-left:50%}.t-col-order-6{order:6}.t-col-5{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.t-col-push-5{left:41.66666667%}.t-col-pull-5{right:41.66666667%}.t-col-offset-5{margin-left:41.66666667%}.t-col-order-5{order:5}.t-col-4{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.t-col-push-4{left:33.33333333%}.t-col-pull-4{right:33.33333333%}.t-col-offset-4{margin-left:33.33333333%}.t-col-order-4{order:4}.t-col-3{display:block;flex:0 0 25%;max-width:25%}.t-col-push-3{left:25%}.t-col-pull-3{right:25%}.t-col-offset-3{margin-left:25%}.t-col-order-3{order:3}.t-col-2{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.t-col-push-2{left:16.66666667%}.t-col-pull-2{right:16.66666667%}.t-col-offset-2{margin-left:16.66666667%}.t-col-order-2{order:2}.t-col-1{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.t-col-push-1{left:8.33333333%}.t-col-pull-1{right:8.33333333%}.t-col-offset-1{margin-left:8.33333333%}.t-col-order-1{order:1}.t-col-0{display:none}.t-col-offset-0{margin-left:0}.t-col-order-0{order:0}.t-col-xs-12{display:block;flex:0 0 100%;max-width:100%}.t-col-xs-push-12{left:100%}.t-col-xs-pull-12{right:100%}.t-col-xs-offset-12{margin-left:100%}.t-col-xs-order-12{order:12}.t-col-xs-11{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.t-col-xs-push-11{left:91.66666667%}.t-col-xs-pull-11{right:91.66666667%}.t-col-xs-offset-11{margin-left:91.66666667%}.t-col-xs-order-11{order:11}.t-col-xs-10{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.t-col-xs-push-10{left:83.33333333%}.t-col-xs-pull-10{right:83.33333333%}.t-col-xs-offset-10{margin-left:83.33333333%}.t-col-xs-order-10{order:10}.t-col-xs-9{display:block;flex:0 0 75%;max-width:75%}.t-col-xs-push-9{left:75%}.t-col-xs-pull-9{right:75%}.t-col-xs-offset-9{margin-left:75%}.t-col-xs-order-9{order:9}.t-col-xs-8{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.t-col-xs-push-8{left:66.66666667%}.t-col-xs-pull-8{right:66.66666667%}.t-col-xs-offset-8{margin-left:66.66666667%}.t-col-xs-order-8{order:8}.t-col-xs-7{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.t-col-xs-push-7{left:58.33333333%}.t-col-xs-pull-7{right:58.33333333%}.t-col-xs-offset-7{margin-left:58.33333333%}.t-col-xs-order-7{order:7}.t-col-xs-6{display:block;flex:0 0 50%;max-width:50%}.t-col-xs-push-6{left:50%}.t-col-xs-pull-6{right:50%}.t-col-xs-offset-6{margin-left:50%}.t-col-xs-order-6{order:6}.t-col-xs-5{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.t-col-xs-push-5{left:41.66666667%}.t-col-xs-pull-5{right:41.66666667%}.t-col-xs-offset-5{margin-left:41.66666667%}.t-col-xs-order-5{order:5}.t-col-xs-4{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.t-col-xs-push-4{left:33.33333333%}.t-col-xs-pull-4{right:33.33333333%}.t-col-xs-offset-4{margin-left:33.33333333%}.t-col-xs-order-4{order:4}.t-col-xs-3{display:block;flex:0 0 25%;max-width:25%}.t-col-xs-push-3{left:25%}.t-col-xs-pull-3{right:25%}.t-col-xs-offset-3{margin-left:25%}.t-col-xs-order-3{order:3}.t-col-xs-2{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.t-col-xs-push-2{left:16.66666667%}.t-col-xs-pull-2{right:16.66666667%}.t-col-xs-offset-2{margin-left:16.66666667%}.t-col-xs-order-2{order:2}.t-col-xs-1{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.t-col-xs-push-1{left:8.33333333%}.t-col-xs-pull-1{right:8.33333333%}.t-col-xs-offset-1{margin-left:8.33333333%}.t-col-xs-order-1{order:1}.t-col-xs-0{display:none}.t-col-push-0{left:auto}.t-col-pull-0{right:auto}.t-col-xs-push-0{left:auto}.t-col-xs-pull-0{right:auto}.t-col-xs-offset-0{margin-left:0}.t-col-xs-order-0{order:0}@media (min-width: 768px){.t-col-sm-12{display:block;flex:0 0 100%;max-width:100%}.t-col-sm-push-12{left:100%}.t-col-sm-pull-12{right:100%}.t-col-sm-offset-12{margin-left:100%}.t-col-sm-order-12{order:12}.t-col-sm-11{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.t-col-sm-push-11{left:91.66666667%}.t-col-sm-pull-11{right:91.66666667%}.t-col-sm-offset-11{margin-left:91.66666667%}.t-col-sm-order-11{order:11}.t-col-sm-10{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.t-col-sm-push-10{left:83.33333333%}.t-col-sm-pull-10{right:83.33333333%}.t-col-sm-offset-10{margin-left:83.33333333%}.t-col-sm-order-10{order:10}.t-col-sm-9{display:block;flex:0 0 75%;max-width:75%}.t-col-sm-push-9{left:75%}.t-col-sm-pull-9{right:75%}.t-col-sm-offset-9{margin-left:75%}.t-col-sm-order-9{order:9}.t-col-sm-8{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.t-col-sm-push-8{left:66.66666667%}.t-col-sm-pull-8{right:66.66666667%}.t-col-sm-offset-8{margin-left:66.66666667%}.t-col-sm-order-8{order:8}.t-col-sm-7{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.t-col-sm-push-7{left:58.33333333%}.t-col-sm-pull-7{right:58.33333333%}.t-col-sm-offset-7{margin-left:58.33333333%}.t-col-sm-order-7{order:7}.t-col-sm-6{display:block;flex:0 0 50%;max-width:50%}.t-col-sm-push-6{left:50%}.t-col-sm-pull-6{right:50%}.t-col-sm-offset-6{margin-left:50%}.t-col-sm-order-6{order:6}.t-col-sm-5{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.t-col-sm-push-5{left:41.66666667%}.t-col-sm-pull-5{right:41.66666667%}.t-col-sm-offset-5{margin-left:41.66666667%}.t-col-sm-order-5{order:5}.t-col-sm-4{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.t-col-sm-push-4{left:33.33333333%}.t-col-sm-pull-4{right:33.33333333%}.t-col-sm-offset-4{margin-left:33.33333333%}.t-col-sm-order-4{order:4}.t-col-sm-3{display:block;flex:0 0 25%;max-width:25%}.t-col-sm-push-3{left:25%}.t-col-sm-pull-3{right:25%}.t-col-sm-offset-3{margin-left:25%}.t-col-sm-order-3{order:3}.t-col-sm-2{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.t-col-sm-push-2{left:16.66666667%}.t-col-sm-pull-2{right:16.66666667%}.t-col-sm-offset-2{margin-left:16.66666667%}.t-col-sm-order-2{order:2}.t-col-sm-1{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.t-col-sm-push-1{left:8.33333333%}.t-col-sm-pull-1{right:8.33333333%}.t-col-sm-offset-1{margin-left:8.33333333%}.t-col-sm-order-1{order:1}.t-col-sm-0{display:none}.t-col-push-0{left:auto}.t-col-pull-0{right:auto}.t-col-sm-push-0{left:auto}.t-col-sm-pull-0{right:auto}.t-col-sm-offset-0{margin-left:0}.t-col-sm-order-0{order:0}}@media (min-width: 992px){.t-col-md-12{display:block;flex:0 0 100%;max-width:100%}.t-col-md-push-12{left:100%}.t-col-md-pull-12{right:100%}.t-col-md-offset-12{margin-left:100%}.t-col-md-order-12{order:12}.t-col-md-11{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.t-col-md-push-11{left:91.66666667%}.t-col-md-pull-11{right:91.66666667%}.t-col-md-offset-11{margin-left:91.66666667%}.t-col-md-order-11{order:11}.t-col-md-10{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.t-col-md-push-10{left:83.33333333%}.t-col-md-pull-10{right:83.33333333%}.t-col-md-offset-10{margin-left:83.33333333%}.t-col-md-order-10{order:10}.t-col-md-9{display:block;flex:0 0 75%;max-width:75%}.t-col-md-push-9{left:75%}.t-col-md-pull-9{right:75%}.t-col-md-offset-9{margin-left:75%}.t-col-md-order-9{order:9}.t-col-md-8{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.t-col-md-push-8{left:66.66666667%}.t-col-md-pull-8{right:66.66666667%}.t-col-md-offset-8{margin-left:66.66666667%}.t-col-md-order-8{order:8}.t-col-md-7{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.t-col-md-push-7{left:58.33333333%}.t-col-md-pull-7{right:58.33333333%}.t-col-md-offset-7{margin-left:58.33333333%}.t-col-md-order-7{order:7}.t-col-md-6{display:block;flex:0 0 50%;max-width:50%}.t-col-md-push-6{left:50%}.t-col-md-pull-6{right:50%}.t-col-md-offset-6{margin-left:50%}.t-col-md-order-6{order:6}.t-col-md-5{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.t-col-md-push-5{left:41.66666667%}.t-col-md-pull-5{right:41.66666667%}.t-col-md-offset-5{margin-left:41.66666667%}.t-col-md-order-5{order:5}.t-col-md-4{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.t-col-md-push-4{left:33.33333333%}.t-col-md-pull-4{right:33.33333333%}.t-col-md-offset-4{margin-left:33.33333333%}.t-col-md-order-4{order:4}.t-col-md-3{display:block;flex:0 0 25%;max-width:25%}.t-col-md-push-3{left:25%}.t-col-md-pull-3{right:25%}.t-col-md-offset-3{margin-left:25%}.t-col-md-order-3{order:3}.t-col-md-2{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.t-col-md-push-2{left:16.66666667%}.t-col-md-pull-2{right:16.66666667%}.t-col-md-offset-2{margin-left:16.66666667%}.t-col-md-order-2{order:2}.t-col-md-1{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.t-col-md-push-1{left:8.33333333%}.t-col-md-pull-1{right:8.33333333%}.t-col-md-offset-1{margin-left:8.33333333%}.t-col-md-order-1{order:1}.t-col-md-0{display:none}.t-col-push-0{left:auto}.t-col-pull-0{right:auto}.t-col-md-push-0{left:auto}.t-col-md-pull-0{right:auto}.t-col-md-offset-0{margin-left:0}.t-col-md-order-0{order:0}}@media (min-width: 1200px){.t-col-lg-12{display:block;flex:0 0 100%;max-width:100%}.t-col-lg-push-12{left:100%}.t-col-lg-pull-12{right:100%}.t-col-lg-offset-12{margin-left:100%}.t-col-lg-order-12{order:12}.t-col-lg-11{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.t-col-lg-push-11{left:91.66666667%}.t-col-lg-pull-11{right:91.66666667%}.t-col-lg-offset-11{margin-left:91.66666667%}.t-col-lg-order-11{order:11}.t-col-lg-10{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.t-col-lg-push-10{left:83.33333333%}.t-col-lg-pull-10{right:83.33333333%}.t-col-lg-offset-10{margin-left:83.33333333%}.t-col-lg-order-10{order:10}.t-col-lg-9{display:block;flex:0 0 75%;max-width:75%}.t-col-lg-push-9{left:75%}.t-col-lg-pull-9{right:75%}.t-col-lg-offset-9{margin-left:75%}.t-col-lg-order-9{order:9}.t-col-lg-8{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.t-col-lg-push-8{left:66.66666667%}.t-col-lg-pull-8{right:66.66666667%}.t-col-lg-offset-8{margin-left:66.66666667%}.t-col-lg-order-8{order:8}.t-col-lg-7{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.t-col-lg-push-7{left:58.33333333%}.t-col-lg-pull-7{right:58.33333333%}.t-col-lg-offset-7{margin-left:58.33333333%}.t-col-lg-order-7{order:7}.t-col-lg-6{display:block;flex:0 0 50%;max-width:50%}.t-col-lg-push-6{left:50%}.t-col-lg-pull-6{right:50%}.t-col-lg-offset-6{margin-left:50%}.t-col-lg-order-6{order:6}.t-col-lg-5{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.t-col-lg-push-5{left:41.66666667%}.t-col-lg-pull-5{right:41.66666667%}.t-col-lg-offset-5{margin-left:41.66666667%}.t-col-lg-order-5{order:5}.t-col-lg-4{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.t-col-lg-push-4{left:33.33333333%}.t-col-lg-pull-4{right:33.33333333%}.t-col-lg-offset-4{margin-left:33.33333333%}.t-col-lg-order-4{order:4}.t-col-lg-3{display:block;flex:0 0 25%;max-width:25%}.t-col-lg-push-3{left:25%}.t-col-lg-pull-3{right:25%}.t-col-lg-offset-3{margin-left:25%}.t-col-lg-order-3{order:3}.t-col-lg-2{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.t-col-lg-push-2{left:16.66666667%}.t-col-lg-pull-2{right:16.66666667%}.t-col-lg-offset-2{margin-left:16.66666667%}.t-col-lg-order-2{order:2}.t-col-lg-1{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.t-col-lg-push-1{left:8.33333333%}.t-col-lg-pull-1{right:8.33333333%}.t-col-lg-offset-1{margin-left:8.33333333%}.t-col-lg-order-1{order:1}.t-col-lg-0{display:none}.t-col-push-0{left:auto}.t-col-pull-0{right:auto}.t-col-lg-push-0{left:auto}.t-col-lg-pull-0{right:auto}.t-col-lg-offset-0{margin-left:0}.t-col-lg-order-0{order:0}}@media (min-width: 1400px){.t-col-xl-12{display:block;flex:0 0 100%;max-width:100%}.t-col-xl-push-12{left:100%}.t-col-xl-pull-12{right:100%}.t-col-xl-offset-12{margin-left:100%}.t-col-xl-order-12{order:12}.t-col-xl-11{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.t-col-xl-push-11{left:91.66666667%}.t-col-xl-pull-11{right:91.66666667%}.t-col-xl-offset-11{margin-left:91.66666667%}.t-col-xl-order-11{order:11}.t-col-xl-10{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.t-col-xl-push-10{left:83.33333333%}.t-col-xl-pull-10{right:83.33333333%}.t-col-xl-offset-10{margin-left:83.33333333%}.t-col-xl-order-10{order:10}.t-col-xl-9{display:block;flex:0 0 75%;max-width:75%}.t-col-xl-push-9{left:75%}.t-col-xl-pull-9{right:75%}.t-col-xl-offset-9{margin-left:75%}.t-col-xl-order-9{order:9}.t-col-xl-8{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.t-col-xl-push-8{left:66.66666667%}.t-col-xl-pull-8{right:66.66666667%}.t-col-xl-offset-8{margin-left:66.66666667%}.t-col-xl-order-8{order:8}.t-col-xl-7{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.t-col-xl-push-7{left:58.33333333%}.t-col-xl-pull-7{right:58.33333333%}.t-col-xl-offset-7{margin-left:58.33333333%}.t-col-xl-order-7{order:7}.t-col-xl-6{display:block;flex:0 0 50%;max-width:50%}.t-col-xl-push-6{left:50%}.t-col-xl-pull-6{right:50%}.t-col-xl-offset-6{margin-left:50%}.t-col-xl-order-6{order:6}.t-col-xl-5{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.t-col-xl-push-5{left:41.66666667%}.t-col-xl-pull-5{right:41.66666667%}.t-col-xl-offset-5{margin-left:41.66666667%}.t-col-xl-order-5{order:5}.t-col-xl-4{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.t-col-xl-push-4{left:33.33333333%}.t-col-xl-pull-4{right:33.33333333%}.t-col-xl-offset-4{margin-left:33.33333333%}.t-col-xl-order-4{order:4}.t-col-xl-3{display:block;flex:0 0 25%;max-width:25%}.t-col-xl-push-3{left:25%}.t-col-xl-pull-3{right:25%}.t-col-xl-offset-3{margin-left:25%}.t-col-xl-order-3{order:3}.t-col-xl-2{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.t-col-xl-push-2{left:16.66666667%}.t-col-xl-pull-2{right:16.66666667%}.t-col-xl-offset-2{margin-left:16.66666667%}.t-col-xl-order-2{order:2}.t-col-xl-1{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.t-col-xl-push-1{left:8.33333333%}.t-col-xl-pull-1{right:8.33333333%}.t-col-xl-offset-1{margin-left:8.33333333%}.t-col-xl-order-1{order:1}.t-col-xl-0{display:none}.t-col-push-0{left:auto}.t-col-pull-0{right:auto}.t-col-xl-push-0{left:auto}.t-col-xl-pull-0{right:auto}.t-col-xl-offset-0{margin-left:0}.t-col-xl-order-0{order:0}}@media (min-width: 1880px){.t-col-xxl-12{display:block;flex:0 0 100%;max-width:100%}.t-col-xxl-push-12{left:100%}.t-col-xxl-pull-12{right:100%}.t-col-xxl-offset-12{margin-left:100%}.t-col-xxl-order-12{order:12}.t-col-xxl-11{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.t-col-xxl-push-11{left:91.66666667%}.t-col-xxl-pull-11{right:91.66666667%}.t-col-xxl-offset-11{margin-left:91.66666667%}.t-col-xxl-order-11{order:11}.t-col-xxl-10{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.t-col-xxl-push-10{left:83.33333333%}.t-col-xxl-pull-10{right:83.33333333%}.t-col-xxl-offset-10{margin-left:83.33333333%}.t-col-xxl-order-10{order:10}.t-col-xxl-9{display:block;flex:0 0 75%;max-width:75%}.t-col-xxl-push-9{left:75%}.t-col-xxl-pull-9{right:75%}.t-col-xxl-offset-9{margin-left:75%}.t-col-xxl-order-9{order:9}.t-col-xxl-8{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.t-col-xxl-push-8{left:66.66666667%}.t-col-xxl-pull-8{right:66.66666667%}.t-col-xxl-offset-8{margin-left:66.66666667%}.t-col-xxl-order-8{order:8}.t-col-xxl-7{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.t-col-xxl-push-7{left:58.33333333%}.t-col-xxl-pull-7{right:58.33333333%}.t-col-xxl-offset-7{margin-left:58.33333333%}.t-col-xxl-order-7{order:7}.t-col-xxl-6{display:block;flex:0 0 50%;max-width:50%}.t-col-xxl-push-6{left:50%}.t-col-xxl-pull-6{right:50%}.t-col-xxl-offset-6{margin-left:50%}.t-col-xxl-order-6{order:6}.t-col-xxl-5{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.t-col-xxl-push-5{left:41.66666667%}.t-col-xxl-pull-5{right:41.66666667%}.t-col-xxl-offset-5{margin-left:41.66666667%}.t-col-xxl-order-5{order:5}.t-col-xxl-4{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.t-col-xxl-push-4{left:33.33333333%}.t-col-xxl-pull-4{right:33.33333333%}.t-col-xxl-offset-4{margin-left:33.33333333%}.t-col-xxl-order-4{order:4}.t-col-xxl-3{display:block;flex:0 0 25%;max-width:25%}.t-col-xxl-push-3{left:25%}.t-col-xxl-pull-3{right:25%}.t-col-xxl-offset-3{margin-left:25%}.t-col-xxl-order-3{order:3}.t-col-xxl-2{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.t-col-xxl-push-2{left:16.66666667%}.t-col-xxl-pull-2{right:16.66666667%}.t-col-xxl-offset-2{margin-left:16.66666667%}.t-col-xxl-order-2{order:2}.t-col-xxl-1{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.t-col-xxl-push-1{left:8.33333333%}.t-col-xxl-pull-1{right:8.33333333%}.t-col-xxl-offset-1{margin-left:8.33333333%}.t-col-xxl-order-1{order:1}.t-col-xxl-0{display:none}.t-col-push-0{left:auto}.t-col-pull-0{right:auto}.t-col-xxl-push-0{left:auto}.t-col-xxl-pull-0{right:auto}.t-col-xxl-offset-0{margin-left:0}.t-col-xxl-order-0{order:0}}.t-layout{font:var(--td-font-body-medium);color:var(--td-text-color-primary);box-sizing:border-box;margin:0;padding:0;list-style:none}.t-layout,.t-layout__direction-vertical{display:flex;flex-direction:column;background:var(--td-bg-color-page);flex:auto}.t-layout--with-sider,.t-layout__direction-horizontal{flex-direction:row}.t-layout__header{height:var(--td-comp-size-xxxl);background-color:var(--td-bg-color-container)}.t-layout__content{flex:auto}.t-layout__sider{position:relative;transition:all .2s;background:var(--td-bg-color-container);width:232px}.t-layout__footer{color:var(--td-text-color-placeholder);padding:24px}.t-space{display:inline-flex}.t-space .t-space-item{width:inherit}.t-space-align-start{align-items:flex-start}.t-space-align-end{align-items:flex-end}.t-space-align-baseline{align-items:baseline}.t-space-align-center{align-items:center}.t-space-vertical{flex-direction:column}.t-space-vertical .t-space-item-separator{width:100%}.t-space.t-space--break-line{flex-wrap:wrap}.t-space.t-space--polyfill{display:flex}.t-space.t-space--polyfill.t-space-horizontal,.t-space.t-space--polyfill.t-space--break-line{margin-left:calc(-1 * var(--td-space-column-gap, 0))}.t-space.t-space--polyfill.t-space-vertical,.t-space.t-space--polyfill.t-space--break-line{margin-top:calc(-1 * var(--td-space-row-gap, 0))}.t-space.t-space--polyfill.t-space-horizontal>*,.t-space.t-space--polyfill.t-space--break-line>*{margin-left:var(--td-space-column-gap)}.t-space.t-space--polyfill.t-space-vertical>*,.t-space.t-space--polyfill.t-space--break-line>*{margin-top:var(--td-space-row-gap)}.t-message{margin:0;padding:0;list-style:none;width:-moz-fit-content;width:fit-content;outline:0;border-radius:var(--td-radius-medium);background-color:var(--td-bg-color-container);box-shadow:var(--td-shadow-3),var(--td-shadow-inset-top),var(--td-shadow-inset-right),var(--td-shadow-inset-bottom),var(--td-shadow-inset-left);box-sizing:border-box;display:flex;align-items:center;color:var(--td-text-color-primary);font:var(--td-font-body-medium);padding:var(--td-comp-paddingTB-m) var(--td-comp-paddingLR-l)}.t-message>.t-icon,.t-message>[data-t-icon]>.t-icon,.t-message .t-loading{color:var(--td-brand-color);margin-right:var(--td-comp-margin-s);flex-shrink:0;font-size:calc(var(--td-font-size-body-medium) + 6px)}.t-message.t-is-success>.t-icon,.t-message.t-is-success>[data-t-icon]>.t-icon,.t-message.t-is-success .t-loading{color:var(--td-success-color)}.t-message.t-is-warning>.t-icon,.t-message.t-is-warning>[data-t-icon]>.t-icon,.t-message.t-is-warning .t-loading{color:var(--td-warning-color)}.t-message.t-is-error>.t-icon,.t-message.t-is-error>[data-t-icon]>.t-icon,.t-message.t-is-error .t-loading{color:var(--td-error-color)}.t-message.t-is-closable .t-message__close{display:inline-flex;margin-right:0;margin-left:var(--td-comp-margin-xxl);cursor:pointer;color:var(--td-text-color-secondary)}.t-message.t-is-closable .t-message__close .t-icon-close{font-size:calc(var(--td-font-size-body-medium) + 2px);border-radius:var(--td-radius-default);transition:all .2s linear}.t-message.t-is-closable .t-message__close .t-icon-close:hover{background:var(--td-bg-color-container-hover)}.t-message.t-is-closable .t-message__close .t-icon-close:active{background:var(--td-bg-color-container-active)}.t-message__list{position:fixed;z-index:6000}.t-message__list .t-message{margin-bottom:var(--td-comp-margin-s);word-break:break-all}.content-placement-top .t-popup[data-popper-placement^=top] .t-popup__content{margin-bottom:var(--td-comp-margin-s)}.content-placement-top .t-popup[data-popper-placement^=top] .t-popup__content--arrow{margin-bottom:var(--td-comp-margin-l)}.content-placement-bottom .t-popup[data-popper-placement^=bottom] .t-popup__content{margin-top:var(--td-comp-margin-s)}.content-placement-bottom .t-popup[data-popper-placement^=bottom] .t-popup__content--arrow{margin-top:var(--td-comp-margin-l)}.content-placement-left .t-popup[data-popper-placement^=left] .t-popup__content{margin-right:var(--td-comp-margin-s)}.content-placement-left .t-popup[data-popper-placement^=left] .t-popup__content--arrow{margin-right:var(--td-comp-margin-l)}.content-placement-left .t-popup[data-popper-placement^=left] .t-popup__content--text{max-width:480px}.content-placement-right .t-popup[data-popper-placement^=right] .t-popup__content{margin-left:var(--td-comp-margin-s)}.content-placement-right .t-popup[data-popper-placement^=right] .t-popup__content--arrow{margin-left:var(--td-comp-margin-l)}.content-placement-right .t-popup[data-popper-placement^=right] .t-popup__content--text{max-width:480px}.t-popup{font:var(--td-font-body-medium);box-sizing:border-box;margin:0;padding:0;list-style:none;color:var(--td-text-color-primary);display:inline-block;z-index:5500}.t-popup__content{position:relative;background:var(--td-bg-color-container);box-shadow:var(--td-shadow-2),var(--td-shadow-inset-top),var(--td-shadow-inset-right),var(--td-shadow-inset-bottom),var(--td-shadow-inset-left);border-radius:var(--td-radius-medium);padding:var(--td-comp-paddingTB-xs) var(--td-comp-paddingLR-s);font-size:var(--td-font-size-body-medium);line-height:var(--td-line-height-body-medium);box-sizing:border-box;word-break:break-all}.t-popup__arrow{position:absolute;z-index:1;width:8px;height:8px}.t-popup__arrow:before{position:absolute;content:"";width:8px;height:8px;transform:rotate(45deg);background:var(--td-bg-color-container)}.t-popup[data-popper-placement^=top] .t-popup__content{margin-bottom:var(--td-comp-margin-s)}.t-popup[data-popper-placement^=top] .t-popup__content--arrow{margin-bottom:var(--td-comp-margin-l)}.t-popup[data-popper-placement^=bottom] .t-popup__content{margin-top:var(--td-comp-margin-s)}.t-popup[data-popper-placement^=bottom] .t-popup__content--arrow{margin-top:var(--td-comp-margin-l)}.t-popup[data-popper-placement^=left] .t-popup__content{margin-right:var(--td-comp-margin-s)}.t-popup[data-popper-placement^=left] .t-popup__content--arrow{margin-right:var(--td-comp-margin-l)}.t-popup[data-popper-placement^=left] .t-popup__content--text{max-width:480px}.t-popup[data-popper-placement^=right] .t-popup__content{margin-left:var(--td-comp-margin-s)}.t-popup[data-popper-placement^=right] .t-popup__content--arrow{margin-left:var(--td-comp-margin-l)}.t-popup[data-popper-placement^=right] .t-popup__content--text{max-width:480px}.t-popup[data-popper-placement^=top] .t-popup__arrow:before{border-top-left-radius:100%;box-shadow:var(--td-shadow-inset-left),var(--td-shadow-inset-bottom)}.t-popup[data-popper-placement=top-start] .t-popup__arrow{left:8px}.t-popup[data-popper-placement=top] .t-popup__arrow{left:50%;margin-left:-4px}.t-popup[data-popper-placement=top-end] .t-popup__arrow{left:calc(100% - 16px)}.t-popup[data-popper-placement^=bottom] .t-popup__arrow{top:-4px}.t-popup[data-popper-placement^=bottom] .t-popup__arrow:before{border-bottom-right-radius:100%;box-shadow:var(--td-shadow-inset-top),var(--td-shadow-inset-right)}.t-popup[data-popper-placement=bottom-start] .t-popup__arrow{left:8px}.t-popup[data-popper-placement=bottom] .t-popup__arrow{left:50%;margin-left:-4px}.t-popup[data-popper-placement=bottom-end] .t-popup__arrow{left:calc(100% - 16px)}.t-popup[data-popper-placement^=left] .t-popup__arrow{right:-4px}.t-popup[data-popper-placement^=left] .t-popup__arrow:before{box-shadow:var(--td-shadow-inset-left),var(--td-shadow-inset-top)}.t-popup[data-popper-placement=left-start] .t-popup__arrow{top:8px}.t-popup[data-popper-placement=left] .t-popup__arrow{top:50%;margin-top:-4px}.t-popup[data-popper-placement=left-end] .t-popup__arrow{top:calc(100% - 16px)}.t-popup[data-popper-placement^=right] .t-popup__arrow{left:-4px}.t-popup[data-popper-placement^=right] .t-popup__arrow:before{box-shadow:var(--td-shadow-inset-right),var(--td-shadow-inset-bottom)}.t-popup[data-popper-placement=right-start] .t-popup__arrow{top:8px}.t-popup[data-popper-placement=right] .t-popup__arrow{top:50%;margin-top:-4px}.t-popup[data-popper-placement=right-end] .t-popup__arrow{top:calc(100% - 16px)}.t-popup--animation-enter,.t-popup--animation-enter-from,.t-popup--animation-exiting,.t-popup--animation-leave-to{opacity:0;visibility:hidden}.t-popup--animation-enter-to,.t-popup--animation-entering,.t-popup--animation-leave-from,.t-popup--animation-leave{opacity:1;visibility:visible;transform:none}.t-popup--animation-enter-active{transition:opacity .2s linear}.t-popup--animation-leave-active{transition:opacity .2s cubic-bezier(0,0,.15,1),visibility .2s cubic-bezier(.82,0,1,.9)}.t-popup--animation-expand-enter-active[data-popper-placement^=top]{animation:t-popup-animation-expand-in-top .2s cubic-bezier(.38,0,.24,1),t-fade-in .2s linear}.t-popup--animation-expand-leave-active[data-popper-placement^=top]{animation:t-popup-animation-expand-out-top .2s cubic-bezier(.38,0,.24,1),t-fade-out .2s cubic-bezier(0,0,.15,1)}@keyframes t-popup-animation-expand-in-top{0%{clip-path:polygon(-20% 120%,120% 120%,120% 120%,-20% 120%)}to{clip-path:polygon(-20% 0,120% 0,120% 120%,-20% 120%)}}@keyframes t-popup-animation-expand-out-top{0%{clip-path:polygon(-20% 0,120% 0,120% 120%,-20% 120%)}to{clip-path:polygon(-20% 120%,120% 120%,120% 120%,-20% 120%)}}.t-popup--animation-expand-enter-active[data-popper-placement^=bottom]{animation:t-popup-animation-expand-in-bottom .2s cubic-bezier(.38,0,.24,1),t-fade-in .2s linear}.t-popup--animation-expand-leave-active[data-popper-placement^=bottom]{animation:t-popup-animation-expand-out-bottom .2s cubic-bezier(.38,0,.24,1),t-fade-out .2s cubic-bezier(0,0,.15,1)}@keyframes t-popup-animation-expand-in-bottom{0%{clip-path:polygon(-20% 0,120% 0,120% 0,-20% 0)}to{clip-path:polygon(-20% 0,120% 0,120% 120%,-20% 120%)}}@keyframes t-popup-animation-expand-out-bottom{0%{clip-path:polygon(-20% 0,120% 0,120% 120%,-20% 120%)}to{clip-path:polygon(-20% 0,120% 0,120% 0,-20% 0)}}.t-tooltip .t-popup__content{display:inline-block;border:0;z-index:5600;margin-bottom:1px;max-width:480px;word-break:break-word;box-sizing:border-box;border-radius:var(--td-radius-medium);color:var(--td-text-color-primary)}.t-tooltip--default .t-popup__content{color:var(--td-text-color-anti);background:var(--td-gray-color-13);box-shadow:inset 0 .5px 0 var(--td-gray-color-9),inset .5px 0 0 var(--td-gray-color-9),inset 0 -.5px 0 var(--td-gray-color-9),inset -.5px 0 0 var(--td-gray-color-9)}.t-tooltip--default[data-popper-placement^=left] .t-popup__arrow:before{box-shadow:inset -.5px 0 0 var(--td-gray-color-9),inset 0 .5px 0 var(--td-gray-color-9)}.t-tooltip--default[data-popper-placement^=right] .t-popup__arrow:before{box-shadow:inset .5px 0 0 var(--td-gray-color-9),inset 0 -.5px 0 var(--td-gray-color-9)}.t-tooltip--default[data-popper-placement^=top] .t-popup__arrow:before{box-shadow:inset 0 -.5px 0 var(--td-gray-color-9),inset -.5px 0 0 var(--td-gray-color-9)}.t-tooltip--default[data-popper-placement^=bottom] .t-popup__arrow:before{box-shadow:inset .5px 0 0 var(--td-gray-color-9),inset 0 .5px 0 var(--td-gray-color-9)}.t-tooltip--primary .t-popup__content{color:var(--td-brand-color);background:var(--td-brand-color-light)}.t-tooltip--success .t-popup__content{color:var(--td-success-color);background:var(--td-success-color-light)}.t-tooltip--danger .t-popup__content{color:var(--td-error-color);background:var(--td-error-color-light)}.t-tooltip--warning .t-popup__content{color:var(--td-warning-color);background:var(--td-warning-color-light)}.t-tooltip .t-popup__arrow{background:inherit;height:auto}.t-tooltip .t-popup__arrow:before{background:inherit}.t-tooltip--noshadow .t-popup__content,.t-tooltip--noshadow[data-popper-placement] .t-popup__arrow:before{box-shadow:none}@keyframes changeColor{0%{color:var(--td-brand-color-hover)}to{color:var(--td-brand-color-active)}}.t-breadcrumb{color:var(--td-text-color-primary);box-sizing:border-box;margin:0;padding:0;list-style:none;font:var(--td-font-body-medium);display:flex;align-items:center}.t-breadcrumb__separator{margin:0 var(--td-comp-margin-xs);display:flex;align-items:center}.t-breadcrumb__separator .t-icon{color:var(--td-text-color-placeholder)}.t-breadcrumb__item{display:flex;align-items:center;color:var(--td-text-color-placeholder);text-decoration:none}.t-breadcrumb__item.t-is-current{color:var(--td-text-color-primary)}.t-breadcrumb__item.t-is-current .t-icon{color:var(--td-text-color-placeholder)}.t-breadcrumb__item:last-child{color:var(--td-text-color-primary)}.t-breadcrumb__item:last-child .t-breadcrumb__separator{display:none}.t-breadcrumb__item .t-icon{font-size:var(--td-font-size-body-large)}.t-breadcrumb__item .t-link{color:inherit;text-decoration:none}.t-breadcrumb__item .t-link:hover{color:var(--td-brand-color)}.t-breadcrumb__item .t-is-disabled{cursor:not-allowed}.t-breadcrumb__item .t-is-disabled .t-breadcrumb__inner{color:var(--td-text-color-disabled)}.t-breadcrumb__item .t-is-disabled .t-breadcrumb__inner:hover{color:var(--td-text-color-disabled);cursor:not-allowed}.t-breadcrumb__item .t-is-disabled .t-breadcrumb__inner:active{animation:none}.t-breadcrumb__item--arrow,.t-breadcrumb__item--slash{margin:0 var(--td-comp-margin-xs);line-height:0;color:var(--td-text-color-placeholder);display:inline-block;vertical-align:middle}.t-breadcrumb__inner{font:var(--td-font-body-medium);word-break:break-all;display:inline-block;vertical-align:middle}.t-breadcrumb__inner .t-icon{margin:0 var(--td-comp-margin-xs)}.t-breadcrumb__select{position:relative}.t-breadcrumb__select:hover .t-breadcrumb__option{display:block}.t-breadcrumb__select-item:hover .t-icon{color:var(--td-brand-color)}.t-breadcrumb__option{display:none;position:absolute;top:28px;left:50%;transform:translate(-50%);max-width:120px;background:var(--td-bg-color-container);box-shadow:var(--td-shadow-2);z-index:20}.t-breadcrumb__option-item{padding:8px;font:var(--td-font-body-medium);color:var(--td-text-color-primary);text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.t-breadcrumb__option-item:hover,.t-breadcrumb__option-item.t-is-active{color:var(--td-brand-color)}.t-breadcrumb__inner-msg{display:none;position:absolute;left:50%;bottom:30px;transform:translate(-50%);width:300px;padding:8px;color:var(--td-text-color-primary);background:var(--td-bg-color-container);border-radius:calc(var(--td-radius-default) * .5);box-shadow:var(--td-shadow-2);z-index:20}.t-breadcrumb__inner-msg:before{content:"";position:absolute;bottom:-8px;left:50%;margin-left:-4px;width:0;height:0;border-style:solid;border-width:8px 6px 0;border-color:var(--td-bg-color-container) transparent transparent transparent;z-index:20}.t-breadcrumb--text-overflow{position:relative;display:flex;align-items:center}.t-breadcrumb--text-overflow:hover .t-breadcrumb__inner-msg{display:block}.t-breadcrumb--text-overflow .t-breadcrumb__inner{max-width:120px;display:flex;align-items:center;transition:color .2s linear}.t-breadcrumb--text-overflow .t-breadcrumb__inner-text{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.t-breadcrumb--text-overflow .t-breadcrumb__inner:hover{color:var(--td-brand-color);cursor:pointer}.t-breadcrumb--text-overflow .t-breadcrumb__inner:active{animation:.2s linear changeColor}.t-tabs{font:var(--td-font-body-medium);color:var(--td-text-color-primary);box-sizing:border-box;margin:0;padding:0;list-style:none;overflow:hidden;background-color:var(--td-bg-color-container)}.t-tabs__header.t-is-left{float:left}.t-tabs__header.t-is-right{float:right}.t-tabs__header .t-icon{font-size:var(--td-font-size-body-large)}.t-tabs__nav{position:relative;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;user-select:none}.t-tabs__operations{display:flex;flex-direction:row;position:absolute;border-bottom:1px solid var(--td-component-stroke);background-color:var(--td-bg-color-container)}.t-tabs__operations--left{left:0;z-index:2}.t-tabs__operations--right{right:0;z-index:2}.t-tabs__operations--right .t-tabs__btn:first-child{box-shadow:-10px 0 20px 5px #0000000d}.t-tabs__operations--right .t-tabs__nav-action{display:flex;align-items:center;width:100%;flex:1}.t-tabs__btn{width:40px;height:100%;display:flex;align-items:center;justify-content:center;background-color:var(--td-bg-color-secondarycontainer);border-left:1px solid var(--td-component-stroke);cursor:pointer;color:var(--td-text-color-secondary);font:var(--td-font-body-large);transition:all .24s cubic-bezier(.38,0,.24,1);z-index:1;opacity:1}.t-tabs__btn:hover{background-color:var(--td-bg-color-secondarycontainer-hover)}.t-tabs__btn.t-size-m{height:var(--td-comp-size-xxl);line-height:var(--td-comp-size-xxl)}.t-tabs__btn.t-size-l{height:var(--td-comp-size-xxxxl);line-height:var(--td-comp-size-xxxxl)}.t-tabs__btn--left{border-right:1px solid var(--td-component-stroke);box-shadow:10px 0 20px 5px #0000000d}.t-tabs__btn--left.fade-enter,.t-tabs__btn--left.fade-enter-from,.t-tabs__btn--left.fade-leave-to{transform:translate(-50px)}.t-tabs__btn--right.fade-enter,.t-tabs__btn--right.fade-enter-from,.t-tabs__btn--right.fade-leave-to{transform:translate(50px)}.t-tabs__nav-container{position:relative}.t-tabs__nav-container.t-is-top:after{content:"";width:100%;height:1px;position:absolute;top:auto;right:auto;bottom:0;left:0;background-color:var(--td-component-stroke)}.t-tabs__nav-container.t-is-bottom:after{content:"";width:100%;height:1px;position:absolute;top:0;right:auto;bottom:auto;left:0;background-color:var(--td-component-stroke)}.t-tabs__nav-container.t-is-left:after{content:"";width:1px;height:100%;position:absolute;top:0;right:0;bottom:auto;left:auto;background-color:var(--td-component-stroke)}.t-tabs__nav-container.t-is-right:after{content:"";width:1px;height:100%;position:absolute;top:0;right:auto;bottom:auto;left:0;background-color:var(--td-component-stroke)}.t-tabs__nav-container.t-is-addable{margin-right:40px}.t-tabs__nav-container.t-tabs__nav--card:after{content:"";background-color:transparent}.t-tabs__scroll-btn{position:absolute;z-index:1;width:40px;height:100%;display:block;background-color:var(--td-bg-color-secondarycontainer);text-align:center;border-bottom:1px solid var(--td-component-stroke);cursor:pointer;color:var(--td-text-color-secondary);font:var(--td-font-body-large)}.t-tabs__scroll-btn.t-size-m{height:var(--td-comp-size-xxl);line-height:var(--td-comp-size-xxl)}.t-tabs__scroll-btn.t-size-l{height:var(--td-comp-size-xxxxl);line-height:var(--td-comp-size-xxxxl)}.t-tabs__nav-scroll{position:relative;display:inline-block;display:flex;flex:auto;align-self:stretch;overflow:hidden;white-space:nowrap;transform:translate(0);z-index:1}.t-tabs__nav-wrap{position:relative;display:flex;font-size:0}.t-tabs__nav-wrap.t-is-smooth{transition:transform .24s cubic-bezier(0,0,.15,1)}.t-tabs__nav-wrap.t-is-vertical{flex-direction:column}.t-tabs__bar{position:absolute;background-color:var(--td-brand-color);z-index:1;transition:all .24s cubic-bezier(.38,0,.24,1);border-radius:var(--td-radius-small)}.t-tabs__bar.t-is-top{bottom:0;left:0;height:3px}.t-tabs__bar.t-is-bottom{top:0;left:0;height:3px}.t-tabs__bar.t-is-left{top:0;right:0;width:3px}.t-tabs__bar.t-is-right{top:0;left:0;width:3px}.t-tabs__nav-item{display:inline-flex;align-items:center;font:var(--td-font-body-medium);color:var(--td-text-color-secondary);position:relative;overflow:hidden;z-index:0;cursor:pointer;flex-shrink:0;transition:background-color cubic-bezier(.38,0,.24,1) .2s;--ripple-color: var(--td-bg-color-container-active)}.t-tabs__nav-item-wrapper{display:flex;align-items:center;height:var(--td-comp-size-m);padding:0 var(--td-comp-paddingLR-s);margin-left:var(--td-comp-margin-s);margin-right:var(--td-comp-margin-s);border-radius:var(--td-radius-default);transition:background-color cubic-bezier(.38,0,.24,1) .2s;--ripple-color: var(--td-bg-color-container-active)}.t-tabs__nav-item.t-size-l{font:var(--td-font-body-large)}.t-tabs__nav-item.t-size-l .t-tabs__nav-item-wrapper{height:var(--td-comp-size-xxl);padding:0 var(--td-comp-paddingLR-m)}.t-tabs__nav-item-text-wrapper{position:relative;display:flex;align-items:center}.t-tabs__nav-item:not(.t-is-disabled):not(.t-is-active):hover .t-tabs__nav-item-wrapper{background-color:var(--td-bg-color-container-hover)}.t-tabs__nav-item.t-is-left,.t-tabs__nav-item.t-is-right{display:flex;align-items:center}.t-tabs__nav-item.t-size-m{height:var(--td-comp-size-xxl);line-height:var(--td-comp-size-xxl)}.t-tabs__nav-item.t-size-l{height:var(--td-comp-size-xxxxl);line-height:var(--td-comp-size-xxxxl)}.t-tabs__nav-item.t-is-active{color:var(--td-brand-color);text-shadow:0 0 .3px currentcolor}.t-tabs__nav-item.t-is-disabled{color:var(--td-text-color-disabled);cursor:not-allowed}.t-tabs__nav-item>.remove-btn{margin-left:var(--td-comp-margin-s);transition:all .3s cubic-bezier(.645,.045,.355,1)}.t-tabs__nav--card{background-color:var(--td-bg-color-secondarycontainer)}.t-tabs__nav--card.t-tabs__nav-item{padding-right:var(--td-comp-paddingLR-l);padding-left:var(--td-comp-paddingLR-l);border-bottom:1px solid var(--td-component-stroke)}.t-tabs__nav--card.t-tabs__nav-item:after{display:none}.t-tabs__nav--card.t-tabs__nav-item:not(.t-is-disabled):not(.t-is-active):hover{background-color:var(--td-bg-color-secondarycontainer-hover)}.t-tabs__nav--card.t-tabs__nav-item:not(:first-of-type){border-left:1px solid var(--td-component-stroke)}.t-tabs__nav--card.t-tabs__nav-item:last-of-type{border-right:1px solid var(--td-component-stroke)}.t-tabs__nav--card.t-tabs__nav-item.t-is-active{color:var(--td-brand-color);background-color:var(--td-bg-color-container);border-bottom-color:var(--td-bg-color-container)}.t-tabs__nav--card.t-tabs__nav-item.t-size-l{padding-left:var(--td-comp-paddingLR-xl);padding-right:var(--td-comp-paddingLR-xl)}.t-tabs__nav--card .t-icon-close{color:var(--td-text-color-secondary);transition:color cubic-bezier(.38,0,.24,1) .2s}.t-tabs__nav--card .t-icon-close:hover{color:var(--td-text-color-primary)}.t-tabs__content{overflow:hidden;position:relative}.t-tab-panel.t-is-hidden{display:none}a.t-menu__item{text-decoration:none;color:unset}a.t-menu__item:hover,a.t-menu__item:active{color:inherit}.t-menu__logo>*{margin-left:var(--td-comp-margin-xxl)}.t-head-menu{font:var(--td-font-body-medium);color:var(--td-text-color-primary);box-sizing:border-box;margin:0;padding:0;list-style:none;position:relative;width:100%;background-color:var(--td-bg-color-container)}.t-head-menu__inner{display:flex;height:var(--td-comp-size-xxxl)}.t-head-menu__inner li+li{margin-left:var(--td-comp-margin-s)}.t-head-menu__inner .t-menu:first-child{margin-left:var(--td-comp-margin-xxl)}.t-head-menu .t-menu__logo:not(:empty){height:100%;margin-right:var(--td-comp-margin-xxxl)}.t-head-menu .t-menu{flex:1;display:flex;align-items:center}.t-head-menu .t-menu__operations:not(:empty){position:relative;display:flex;align-items:center;height:var(--td-comp-size-xxxl);line-height:64px;text-align:right;margin-right:var(--td-comp-margin-s);overflow:hidden}.t-head-menu .t-menu__operations-icon{width:var(--td-comp-size-m);height:var(--td-comp-size-m);padding:var(--td-comp-paddingTB-s) var(--td-comp-paddingLR-s);line-height:var(--td-comp-size-m);box-sizing:border-box}.t-head-menu .t-submenu>.t-menu__item{overflow:unset}.t-head-menu .t-submenu>.t-menu__item:before{content:"";display:block;position:absolute;bottom:-20px;left:0;right:0;height:20px}.t-head-menu .t-menu__item{height:var(--td-comp-size-m);line-height:var(--td-comp-size-m);padding:0 var(--td-comp-paddingLR-l);justify-content:center;transition:all .28s cubic-bezier(.645,.045,.355,1);gap:var(--td-comp-margin-m)}.t-head-menu__submenu{border-top:1px solid var(--td-component-stroke);padding-left:0}.t-default-menu{font:var(--td-font-body-medium);color:var(--td-text-color-primary);box-sizing:border-box;margin:0;padding:0;list-style:none;position:relative;width:232px;display:inline-block;background:var(--td-bg-color-container);transition:width .28s cubic-bezier(.645,.045,.355,1);white-space:nowrap}.t-default-menu .t-menu__item{color:var(--td-text-color-secondary)}.t-default-menu.t-is-collapsed{width:64px}.t-default-menu.t-is-collapsed .t-menu__logo>*{margin-left:var(--td-comp-margin-l)}.t-default-menu.t-is-collapsed .t-menu .t-menu__item{padding:0 14px;justify-content:center}.t-default-menu.t-is-collapsed .t-menu .t-menu__item .t-menu__item-link{margin-left:0;opacity:0;content:"";position:absolute;top:0;bottom:0;left:0;right:0}.t-default-menu.t-is-collapsed .t-fake-arrow{display:none}.t-default-menu.t-is-collapsed .t-menu__item{text-overflow:initial}.t-default-menu.t-is-collapsed .t-menu__item.t-is-active.t-is-opened{color:var(--td-brand-color);background-color:var(--td-brand-color-light)}.t-default-menu.t-is-collapsed .t-menu__item.t-is-active.t-is-opened .t-icon{color:var(--td-brand-color)}.t-default-menu.t-is-collapsed .t-menu__item.t-menu__item--plain:after{content:""}.t-default-menu.t-is-collapsed .t-menu__item span{display:none}.t-default-menu.t-is-collapsed .t-menu__item .t-icon{margin-right:initial}.t-default-menu.t-is-collapsed .t-submenu-icon{display:none}.t-default-menu.t-is-collapsed .t-submenu>.t-menu__item{min-width:initial}.t-default-menu.t-is-collapsed .t-submenu>.t-menu__item:after{content:"";display:block;position:absolute;right:-20px;top:0;bottom:0;width:20px}.t-default-menu.t-is-collapsed .t-menu-group:first-child .t-menu-group__title{display:none}.t-default-menu.t-is-collapsed .t-menu-group:first-child .t-menu-group__title+*{margin-top:0}.t-default-menu.t-is-collapsed .t-menu-group__title{padding:0;font-size:0}.t-default-menu.t-is-collapsed .t-menu-group__title:after{content:"";display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);height:1px;width:20px;background:var(--td-component-stroke)}.t-default-menu.t-is-collapsed .t-menu__operations{text-align:center}.t-default-menu.t-is-collapsed .t-menu__operations-icon{display:block}.t-default-menu.t-is-collapsed .t-menu__log>*{margin:0 auto}.t-default-menu__inner{display:flex;flex-direction:column;height:100%}.t-default-menu__inner .t-menu__logo:not(:empty){box-sizing:border-box;width:100%;height:var(--td-comp-size-xxxl);border-bottom:1px solid var(--td-component-stroke)}.t-default-menu__inner .t-menu{padding:var(--td-comp-paddingTB-l) var(--td-comp-paddingLR-s);position:relative;flex:1}.t-default-menu__inner .t-menu--scroll{overflow-y:auto;overflow-x:hidden}@-moz-document url-prefix(){.t-default-menu__inner .t-menu--scroll{scrollbar-color:var(--td-scrollbar-color) transparent;scrollbar-width:thin}}.t-default-menu__inner .t-menu--scroll::-webkit-scrollbar{width:6px;height:6px}.t-default-menu__inner .t-menu--scroll::-webkit-scrollbar-thumb{border:0px solid transparent;background-clip:content-box;background-color:var(--td-scrollbar-color);border-radius:11px}.t-default-menu__inner .t-menu--scroll::-webkit-scrollbar-thumb:vertical:hover,.t-default-menu__inner .t-menu--scroll::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--td-scrollbar-hover-color)}.t-default-menu__inner .t-menu>*:not(.t-menu-group):not(:first-child){margin-top:var(--td-comp-margin-xs)}.t-default-menu__inner .t-menu .t-menu-group>*:not(:first-child),.t-default-menu__inner .t-menu .t-menu__sub>*:not(:first-child),.t-default-menu__inner .t-menu .t-submenu>*:not(:first-child){margin-top:var(--td-comp-margin-xs)}.t-default-menu__inner .t-menu-group__title{position:relative;padding:var(--td-comp-paddingTB-l) var(--td-comp-paddingLR-l) var(--td-comp-paddingTB-xs) var(--td-comp-paddingLR-l);color:var(--td-text-color-placeholder);font-size:var(--td-font-body-small);box-sizing:border-box}.t-default-menu .t-submenu{position:relative}.t-default-menu .t-menu__operations:not(:empty){width:100%;position:relative;padding:var(--td-comp-paddingTB-s) var(--td-comp-paddingLR-l);top:0;left:0;text-align:left;border-top:solid 1px var(--td-component-stroke);box-sizing:border-box}.t-default-menu .t-menu__operations-icon{width:32px;height:32px;padding:var(--td-comp-paddingTB-s) var(--td-comp-paddingLR-s);cursor:pointer;color:var(--td-text-color-primary);box-sizing:border-box}.t-default-menu .t-menu__item.t-is-opened{color:var(--td-text-color-primary);background-color:unset}.t-default-menu .t-menu__item.t-is-opened .t-icon{color:var(--td-text-color-primary)}.t-default-menu .t-menu__sub{padding:0;overflow:hidden}.t-default-menu .t-menu__sub .t-menu__item{padding-left:var(--padding-left, 32px)}.t-default-menu .t-slide-down-enter-active .t-menu__sub{height:100%}.t-default-menu .t-menu__item{position:relative;padding:0 10px 0 16px;height:var(--td-comp-size-l);line-height:var(--td-comp-size-l);border-bottom:0;text-align:left;border-radius:var(--td-radius-default);transition:background-color .28s cubic-bezier(.38,0,.24,1),padding .28s cubic-bezier(.38,0,.24,1);box-sizing:border-box}.t-default-menu .t-menu__item .t-icon{width:20px;height:20px;flex-shrink:0}.t-default-menu .t-menu__item .t-fake-arrow{margin-left:auto;min-width:16px}.t-default-menu .t-menu__item.t-is-active:not(.t-is-opened){color:var(--td-brand-color);background-color:var(--td-brand-color-light)}.t-default-menu .t-menu__item.t-is-active:not(.t-is-opened) .t-icon{color:var(--td-brand-color)}.t-default-menu .t-menu__item:hover:not(.t-is-active):not(.t-is-disabled){background:var(--td-bg-color-secondarycontainer-hover)}.t-default-menu.t-menu--dark{background:var(--td-gray-color-13)}.t-default-menu.t-menu--dark .t-menu__item{color:var(--td-font-white-2)}.t-default-menu.t-menu--dark .t-menu__logo:not(:empty){border-bottom-color:var(--td-gray-color-10)}.t-default-menu.t-menu--dark .t-menu__operations:not(:empty){border-top-color:var(--td-gray-color-10)}.t-default-menu.t-menu--dark .t-menu__item:hover:not(.t-is-active):not(.t-is-disabled){background-color:var(--td-gray-color-10)}.t-default-menu.t-menu--dark .t-menu__item.t-is-active:not(.t-is-opened){color:var(--td-text-color-anti);background-color:var(--td-brand-color)}.t-default-menu.t-menu--dark .t-menu__item.t-is-active:not(.t-is-opened) .t-icon{color:var(--td-text-color-anti)}.t-default-menu.t-menu--dark .t-menu__item.t-is-opened.t-is-active{background-color:transparent}.t-default-menu.t-menu--dark .t-menu-group__title{color:var(--td-font-white-3)}.t-default-menu.t-menu--dark.t-is-collapsed .t-menu-group__title:after{background-color:var(--td-gray-color-10)}.t-default-menu.t-menu--dark.t-is-collapsed .t-menu__item.t-is-active.t-is-opened{background-color:var(--td-brand-color);color:var(--td-text-color-anti)}.t-default-menu.t-menu--dark.t-is-collapsed .t-menu__item.t-is-active.t-is-opened .t-icon{color:var(--td-text-color-anti)}.t-menu{color:var(--td-text-color-primary);font:var(--td-font-body-medium);list-style:none;padding:0;margin:0}.t-menu--dark{color:var(--td-font-white-2)}.t-menu__logo:not(:empty){display:flex;align-items:center}.t-menu .t-submenu{position:relative}.t-menu .t-submenu.t-is-active>.t-menu__item{color:var(--td-gray-color-13)}.t-menu .t-submenu.t-is-active>.t-menu__item .t-icon{color:var(--td-gray-color-13)}.t-menu .t-submenu .t-submenu-icon{width:16px;height:16px}.t-menu .t-submenu.t-is-opened .t-submenu-icon{transform:scaleY(-1)}.t-menu__spacer:before{content:"";display:block;position:absolute;z-index:1}.t-menu__spacer--left:before{left:-16px;width:16px;top:0;bottom:0}.t-menu__spacer--top:before{top:-20px;left:0;right:0;height:20px}.t-menu__item{position:relative;display:flex;align-items:center;height:40px;line-height:40px;text-align:center;color:var(--td-text-color-primary);cursor:pointer;text-overflow:ellipsis;border-radius:var(--td-radius-default);--ripple-color: var(--td-bg-color-container-active)}.t-menu__item ::-moz-selection{background:transparent}.t-menu__item ::selection{background:transparent}.t-menu__item-spacer{overflow:unset}.t-menu__item-spacer:before{content:"";display:block;position:absolute;z-index:1}.t-menu__item-spacer--right:before{right:-16px;width:16px;top:0;bottom:0}.t-menu__item-spacer--bottom:before{bottom:-20px;left:0;right:0;height:20px}.t-menu__item a{color:unset;text-decoration:none}.t-menu__item a.t-menu__item-link{color:unset;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.t-menu__item a.t-menu__item-link:before{content:"";position:absolute;top:0;bottom:0;left:0;right:0}.t-menu__item.t-is-active{color:var(--td-brand-color);background-color:var(--td-brand-color-light)}.t-menu__item.t-is-opened{color:var(--td-brand-color)}.t-menu__item:hover:not(.t-is-active):not(.t-is-opened):not(.t-is-disabled){background-color:var(--td-bg-color-container-hover)}.t-menu__item.t-is-disabled{color:var(--td-text-color-disabled);cursor:not-allowed}.t-menu__content{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.t-icon+.t-menu__content,.t-icon+.t-menu__item-link{margin-left:var(--td-comp-margin-s)}.t-menu--dark.t-head-menu{background-color:var(--td-gray-color-13)}.t-menu--dark .t-menu__item{color:var(--td-text-color-anti);--ripple-color: var(--td-gray-color-11)}.t-menu--dark .t-menu__item.t-is-active{color:var(--td-text-color-anti);background-color:var(--td-brand-color)}.t-menu--dark .t-menu__item.t-is-opened,.t-menu--dark .t-menu__item.t-is-opened .t-icon{color:var(--td-text-color-anti)}.t-menu--dark .t-menu__item.t-is-disabled{color:var(--td-font-white-4)}.t-menu--dark .t-menu__item:hover:not(.t-is-active):not(.t-is-opened):not(.t-is-disabled){background-color:var(--td-gray-color-10)}.t-menu--dark .t-menu__popup{background:var(--td-gray-color-13);border:solid .5px var(--td-gray-color-10)}.t-menu--dark .t-menu__popup .t-menu__item{color:var(--td-text-color-anti);border-radius:var(--td-radius-default)}.t-menu--dark .t-menu__popup .t-menu__item.t-is-active{color:var(--td-text-color-anti);background-color:var(--td-brand-color)}.t-menu--dark .t-menu__popup .t-menu__item:hover:not(.t-is-active){background-color:var(--td-gray-color-10)}.t-menu--dark .t-head-menu__submenu{border-top:1px solid transparent}.t-menu--dark .t-menu__operations-icon{color:var(--td-bg-color-container)}.t-menu--dark .t-menu__operations-icon:hover{background-color:var(--td-brand-color)}.t-menu__popup{overflow:hidden;background:var(--td-bg-color-container);z-index:1000;border-radius:var(--td-radius-medium);opacity:0;list-style:none;padding:0;margin:0}.t-menu__popup.t-popup__content{position:absolute}.t-menu__popup-wrapper{padding:var(--td-pop-padding-m);height:100%;list-style:none;margin:0}@-moz-document url-prefix(){.t-menu__popup-wrapper{scrollbar-color:var(--td-scrollbar-color) transparent;scrollbar-width:thin}}.t-menu__popup-wrapper::-webkit-scrollbar{width:8px;height:8px}.t-menu__popup-wrapper::-webkit-scrollbar-thumb{border:2px solid transparent;background-clip:content-box;background-color:var(--td-scrollbar-color);border-radius:15px}.t-menu__popup-wrapper::-webkit-scrollbar-thumb:vertical:hover,.t-menu__popup-wrapper::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--td-scrollbar-hover-color)}.t-menu__popup .t-fake-arrow{margin-left:auto}.t-menu__popup .t-menu__item{padding-left:var(--td-comp-paddingLR-l);padding-right:var(--td-comp-paddingLR-l)}.t-menu__popup.t-is-vertical{min-width:var(--popup-width, 160px)}.t-menu__popup.t-is-horizontal .t-menu__item{white-space:nowrap}.t-menu__popup.t-is-horizontal li+li{margin-top:var(--td-comp-margin-xs)}.t-menu__popup.t-is-opened{opacity:1;box-shadow:0 5px 5px -3px #0000001a,0 8px 10px 1px #0000000f,0 3px 14px 6px #0000000d;overflow:visible}.t-menu__popup .t-menu__item{color:var(--td-text-color-primary);height:var(--td-comp-size-s);line-height:var(--td-comp-size-s)}.t-menu__popup .t-menu__item+.t-menu__item{margin-left:0}.t-menu__popup .t-menu__item:hover:not(.t-is-active){background-color:var(--td-bg-color-container-hover)}.t-menu__popup .t-is-disabled{color:var(--td-text-color-disabled)}.t-menu__operations-icon{margin-right:var(--td-comp-margin-l);border-radius:var(--td-radius-default);color:var(--td-text-color-primary);transition:background-color .24s cubic-bezier(.38,0,.24,1)}.t-menu__operations-icon:hover{background-color:var(--td-brand-color-light)}.t-opacity-transition{transition:opacity .28s cubic-bezier(.55,0,.1,1)}.horizontal-collapse-transition .t-submenu__title .t-submenu__icon-arrow{transition:.2s;opacity:0}.t-menu__popup{top:0;left:calc(100% - var(--td-pop-padding-m))}.t-menu__popup .t-menu__item:not(:first-child),.t-menu__popup .t-submenu:not(:first-child){margin-top:var(--td-comp-margin-xxs)}.t-is-head-menu .t-menu__popup{margin-top:calc((var(--td-comp-size-xxxl) - var(--td-comp-size-m)) / 2)!important}.t-menu-is-nested .t-menu__popup{margin-top:calc(0px - var(--td-pop-padding-m))!important}.t-radio-group{font:var(--td-font-body-medium);color:var(--td-text-color-primary);box-sizing:border-box;margin:0;padding:0;list-style:none;display:inline-flex;align-items:center;width:-moz-fit-content;width:fit-content;max-width:100%;border-radius:var(--td-radius-default);flex-wrap:wrap}@-moz-document url-prefix(){.t-radio-group{scrollbar-color:var(--td-scrollbar-color) transparent;scrollbar-width:thin}}.t-radio-group::-webkit-scrollbar{width:4px;height:4px}.t-radio-group::-webkit-scrollbar-thumb{border:0px solid transparent;background-clip:content-box;background-color:var(--td-scrollbar-color);border-radius:7px}.t-radio-group::-webkit-scrollbar-thumb:vertical:hover,.t-radio-group::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--td-scrollbar-hover-color)}.t-radio-group .t-radio{margin-right:var(--td-comp-margin-xxl)}.t-radio-group.t-radio-group__outline{flex-wrap:wrap;row-gap:var(--td-comp-margin-xs)}.t-radio-group.t-radio-group__outline.t-size-s .t-radio-button{height:var(--td-comp-size-xs)}.t-radio-group.t-radio-group__outline.t-size-m .t-radio-button{height:var(--td-comp-size-m)}.t-radio-group.t-radio-group__outline.t-size-l .t-radio-button{height:var(--td-comp-size-xl)}.t-radio-group.t-radio-group__outline .t-radio-button:first-child{border-radius:var(--td-radius-default) 0 0 var(--td-radius-default)}.t-radio-group.t-radio-group__outline .t-radio-button:last-child{border-radius:0 var(--td-radius-default) var(--td-radius-default) 0}.t-radio-group.t-radio-group__outline .t-radio-button:only-child{border-radius:var(--td-radius-default)}.t-radio-group.t-radio-group__outline .t-radio-button.t-is-checked{color:var(--td-brand-color)}.t-radio-group.t-radio-group__outline .t-radio-button.t-is-disabled.t-is-checked{color:var(--td-brand-color-disabled);border-color:var(--td-brand-color-disabled);background-color:var(--td-bg-color-specialcomponent)}.t-radio-group.t-radio-group--filled{border-color:var(--td-bg-color-component);padding:var(--td-comp-paddingTB-xxs) var(--td-comp-paddingLR-xxs);border-radius:var(--td-radius-default);background-color:var(--td-bg-color-component);position:relative}.t-radio-group.t-radio-group--filled .t-radio-group__bg-block{position:absolute;left:2px;top:2px;width:0;height:calc(100% - 4px);background-color:var(--td-bg-color-container-select);transition:all .2s cubic-bezier(.38,0,.24,1);border-radius:var(--td-radius-small)}.t-radio-group.t-radio-group--filled .t-radio-button{color:var(--td-text-color-secondary);border:0;background-color:transparent}.t-radio-group.t-radio-group--filled .t-radio-button:hover{color:var(--td-text-color-primary)}.t-radio-group.t-radio-group--filled .t-radio-button:before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:1px;height:calc(100% - 16px);background-color:var(--td-component-border);transition:opacity .2s cubic-bezier(0,0,.15,1)}.t-radio-group.t-radio-group--filled .t-radio-button:first-child:before{opacity:0}.t-radio-group.t-radio-group--filled .t-radio-button.t-is-checked{position:relative;color:var(--td-text-color-primary);z-index:1;border:0;transition:color .2s linear}.t-radio-group.t-radio-group--filled .t-radio-button.t-is-checked:before{opacity:0}.t-radio-group.t-radio-group--filled .t-radio-button.t-is-checked+label:before{opacity:0}.t-radio-group.t-radio-group--filled .t-radio-button.t-is-disabled{background-color:transparent}.t-radio-group.t-radio-group--filled .t-radio-button.t-is-disabled.t-is-checked{color:var(--td-text-color-disabled)}.t-radio-group.t-radio-group--filled .t-radio-button.t-is-disabled.t-is-checked~.t-radio-group__bg-block{background-color:var(--td-bg-color-component-disabled)}.t-radio-group.t-radio-group--primary-filled .t-radio-group__bg-block{background-color:var(--td-brand-color)}.t-radio-group.t-radio-group--primary-filled .t-radio-button.t-is-checked,.t-radio-group.t-radio-group--primary-filled .t-radio-button.t-is-disabled.t-is-checked{color:var(--td-text-color-anti)}.t-radio-group.t-radio-group--primary-filled .t-radio-button.t-is-disabled.t-is-checked~.t-radio-group__bg-block{background-color:var(--td-brand-color-disabled)}.t-radio-group.t-size-s .t-radio-button{height:calc(var(--td-comp-size-xs) - (var(--td-comp-paddingTB-xxs) * 2));padding:0px var(--td-comp-paddingLR-s);font:var(--td-font-body-small)}.t-radio-group.t-size-s .t-radio-button:before{height:calc(100% - 16px)}.t-radio-group.t-size-m .t-radio-button{height:calc(var(--td-comp-size-m) - (var(--td-comp-paddingTB-xxs) * 2));padding:var(--td-comp-paddingTB-xs) var(--td-comp-paddingLR-l);font:var(--td-font-body-medium)}.t-radio-group.t-size-m .t-radio-button:before{height:calc(100% - 20px)}.t-radio-group.t-size-l .t-radio-button{height:calc(var(--td-comp-size-xl) - (var(--td-comp-paddingTB-xxs) * 2));padding:var(--td-comp-paddingTB-s) var(--td-comp-paddingLR-xl);font:var(--td-font-body-large)}.t-radio-group.t-size-l .t-radio-button:before{height:calc(100% - 24px)}.t-radio-group .t-radio-button{cursor:pointer;position:relative;border:1px solid;border-color:var(--td-border-level-2-color);border-right:0;display:inline-flex;align-items:center;transition:color .2s cubic-bezier(0,0,.15,1);color:var(--td-text-color-primary);white-space:nowrap;box-sizing:border-box}.t-radio-group .t-radio-button:first-child{border-radius:var(--td-radius-small) 0 0 var(--td-radius-small)}.t-radio-group .t-radio-button:last-child{border-right:1px solid;border-right-color:var(--td-border-level-2-color);border-radius:0 var(--td-radius-small) var(--td-radius-small) 0}.t-radio-group .t-radio-button__former{opacity:0;height:0;width:0;font:var(--td-font-body-medium);color:var(--td-text-color-primary);box-sizing:border-box;margin:0;padding:0;list-style:none}.t-radio-group .t-radio-button:hover{color:var(--td-brand-color)}.t-radio-group .t-radio-button.t-is-checked{border-right:1px solid;border-color:var(--td-brand-color);transition:border-color .2s cubic-bezier(0,0,.15,1)}.t-radio-group .t-radio-button.t-is-checked+.t-radio-button{border-left:0}.t-radio-group .t-radio-button.t-is-disabled{cursor:not-allowed;color:var(--td-text-color-disabled);background-color:var(--td-bg-color-component-disabled)}.t-radio-group .t-radio-button.t-is-disabled:hover{border-color:var(--td-border-level-2-color);color:var(--td-text-color-disabled)}.t-radio-group .t-radio-button.t-is-disabled:hover:after{width:0}.t-radio-group .t-radio-button.t-is-disabled.t-is-checked{color:var(--td-text-color-disabled)}.t-radio-group .t-radio-button.t-is-disabled.t-is-checked:after{width:0}.t-radio{font:var(--td-font-body-medium);color:var(--td-text-color-primary);box-sizing:border-box;margin:0;padding:0;list-style:none;position:relative;cursor:pointer;display:inline-block}.t-radio__former{font:var(--td-font-body-medium);color:var(--td-text-color-primary);box-sizing:border-box;margin:0;padding:0;list-style:none;opacity:0;position:absolute}.t-radio__input{position:relative;display:inline-block;width:16px;height:16px;vertical-align:middle;border-radius:var(--td-radius-circle);border:1px solid var(--td-border-level-2-color);background-color:var(--td-bg-color-container);transition:border .2s cubic-bezier(0,0,.15,1)}.t-radio__input:after{content:"";position:absolute;top:50%;left:50%;width:16px;height:16px;margin-top:-8px;margin-left:-8px;transform:scale(.5);opacity:0;border-radius:var(--td-radius-circle);background-color:var(--td-brand-color);transition:all .2s cubic-bezier(0,0,.15,1)}.t-radio__label{display:inline-block;margin-left:var(--td-comp-margin-s);color:var(--td-text-color-primary);vertical-align:middle;font:var(--td-font-body-medium);white-space:nowrap}.t-radio:hover .t-radio__input,.t-radio.t-is-checked .t-radio__input{border-color:var(--td-brand-color)}.t-radio.t-is-checked .t-radio__input:after{opacity:1}.t-radio.t-is-disabled{cursor:not-allowed}.t-radio.t-is-disabled .t-radio__label{color:var(--td-text-color-disabled)}.t-radio.t-is-disabled .t-radio__input{background-color:var(--td-bg-color-component-disabled)}.t-radio.t-is-disabled:hover .t-radio__input,.t-radio.t-is-disabled.t-is-checked .t-radio__input{border-color:var(--td-border-level-2-color)}.t-radio.t-is-disabled.t-is-checked .t-radio__input:after{background-color:var(--td-text-color-disabled)}.t-radio:focus-visible:focus-visible{outline:2px solid var(--td-brand-color);outline-offset:var(--td-comp-paddingTB-xs);border-radius:0}.t-image__wrapper{position:relative;background:var(--td-bg-color-secondarycontainer);z-index:1}.t-image__wrapper--shape-square{border-radius:0}.t-image__wrapper--shape-round{border-radius:var(--td-radius-medium)}.t-image__wrapper--shape-circle{border-radius:50%}.t-image__wrapper--gallery{border-radius:var(--td-radius-medium)}.t-image__wrapper--gallery .t-image{position:relative;z-index:5}.t-image__wrapper--need-hover{cursor:pointer}.t-image{width:100%;height:100%;border-radius:inherit;position:relative;z-index:inherit}.t-image--fit-fill{-o-object-fit:fill;object-fit:fill}.t-image--fit-contain{-o-object-fit:contain;object-fit:contain}.t-image--fit-cover{-o-object-fit:cover;object-fit:cover}.t-image--fit-scale-down{-o-object-fit:scale-down;object-fit:scale-down}.t-image--fit-none{-o-object-fit:none;object-fit:none}.t-image--position-center{-o-object-position:center;object-position:center}.t-image--position-bottom{-o-object-position:bottom;object-position:bottom}.t-image--position-top{-o-object-position:top;object-position:top}.t-image--position-left{-o-object-position:left;object-position:left}.t-image--position-right{-o-object-position:right;object-position:right}.t-image__gallery-shadow{position:absolute;left:0;right:-24px;top:24px;bottom:24px;background:#eeeeee42;border-radius:var(--td-radius-medium);z-index:3}.t-image__gallery-shadow:before,.t-image__gallery-shadow:after{content:"";position:absolute;left:0;border-radius:var(--td-radius-medium)}.t-image__gallery-shadow:after{top:-16px;right:16px;bottom:-16px;background:#eeec;z-index:4}.t-image__gallery-shadow:before{top:-8px;right:8px;bottom:-8px;background:#eeeeee80;z-index:2}.t-image__placeholder{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;z-index:0}.t-image__overlay-content{position:absolute;left:0;top:0;width:100%;height:100%;z-index:6;opacity:1;visibility:visible;transition:visibility 0s,opacity .2s linear}.t-image__overlay-content--hidden{visibility:hidden;opacity:0}.t-image__loading,.t-image__error{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;z-index:1}.t-image__loading{color:var(--td-text-color-secondary)}.t-image__error{color:var(--td-text-color-disabled)}.t-avatar{font:var(--td-font-body-medium);color:var(--td-text-color-primary);box-sizing:border-box;margin:0;padding:0;list-style:none;position:relative;display:inline-flex;background:var(--td-brand-color-focus);color:var(--td-text-color-brand);overflow:hidden;white-space:nowrap;vertical-align:middle;justify-content:center;align-items:center;box-sizing:content-box;width:var(--td-comp-size-m);height:var(--td-comp-size-m);font-size:var(--td-font-size-body-large);line-height:var(--td-comp-size-m)}.t-avatar.t-avatar__icon{font-size:var(--td-comp-size-xxs)}.t-avatar--circle{border-radius:var(--td-radius-circle)}.t-avatar--round{border-radius:var(--td-radius-default)}.t-avatar.t-size-s{width:var(--td-comp-size-xs);height:var(--td-comp-size-xs);font-size:var(--td-font-size-body-medium);line-height:var(--td-comp-size-xs)}.t-avatar.t-size-s.t-avatar__icon{font-size:var(--td-comp-size-xxxs)}.t-avatar.t-size-l{width:var(--td-comp-size-xl);height:var(--td-comp-size-xl);font-size:var(--td-font-size-title-large);line-height:var(--td-comp-size-xl)}.t-avatar.t-size-l.t-avatar__icon{font-size:var(--td-comp-size-xs)}.t-avatar>.t-image__wrapper{max-width:100%;max-height:100%}.t-avatar-group{display:inline-flex;align-items:center}.t-avatar-group .t-avatar{border:2px solid var(--td-bg-color-container)}.t-avatar-group.t-avatar--offset-right .t-avatar:not(:last-child){margin-right:calc(0px - var(--td-size-3))}.t-avatar-group.t-avatar--offset-right .t-avatar:not(:last-child).t-size-s{margin-right:calc(0px - var(--td-size-2))}.t-avatar-group.t-avatar--offset-right .t-avatar:not(:last-child).t-size-l{margin-right:calc(0px - var(--td-size-4))}.t-avatar-group.t-avatar--offset-left .t-avatar:nth-child(1){z-index:49}.t-avatar-group.t-avatar--offset-left .t-avatar:nth-child(2){z-index:48}.t-avatar-group.t-avatar--offset-left .t-avatar:nth-child(3){z-index:47}.t-avatar-group.t-avatar--offset-left .t-avatar:nth-child(4){z-index:46}.t-avatar-group.t-avatar--offset-left .t-avatar:nth-child(5){z-index:45}.t-avatar-group.t-avatar--offset-left .t-avatar:nth-child(6){z-index:44}.t-avatar-group.t-avatar--offset-left .t-avatar:nth-child(7){z-index:43}.t-avatar-group.t-avatar--offset-left .t-avatar:nth-child(8){z-index:42}.t-avatar-group.t-avatar--offset-left .t-avatar:nth-child(9){z-index:41}.t-avatar-group.t-avatar--offset-left .t-avatar:nth-child(10){z-index:40}.t-avatar-group.t-avatar--offset-left .t-avatar:nth-child(11){z-index:39}.t-avatar-group.t-avatar--offset-left .t-avatar:nth-child(12){z-index:38}.t-avatar-group.t-avatar--offset-left .t-avatar:nth-child(13){z-index:37}.t-avatar-group.t-avatar--offset-left .t-avatar:nth-child(14){z-index:36}.t-avatar-group.t-avatar--offset-left .t-avatar:nth-child(15){z-index:35}.t-avatar-group.t-avatar--offset-left .t-avatar:nth-child(16){z-index:34}.t-avatar-group.t-avatar--offset-left .t-avatar:nth-child(17){z-index:33}.t-avatar-group.t-avatar--offset-left .t-avatar:nth-child(18){z-index:32}.t-avatar-group.t-avatar--offset-left .t-avatar:nth-child(19){z-index:31}.t-avatar-group.t-avatar--offset-left .t-avatar:nth-child(20){z-index:30}.t-avatar-group.t-avatar--offset-left .t-avatar:nth-child(21){z-index:29}.t-avatar-group.t-avatar--offset-left .t-avatar:nth-child(22){z-index:28}.t-avatar-group.t-avatar--offset-left .t-avatar:nth-child(23){z-index:27}.t-avatar-group.t-avatar--offset-left .t-avatar:nth-child(24){z-index:26}.t-avatar-group.t-avatar--offset-left .t-avatar:nth-child(25){z-index:25}.t-avatar-group.t-avatar--offset-left .t-avatar:nth-child(26){z-index:24}.t-avatar-group.t-avatar--offset-left .t-avatar:nth-child(27){z-index:23}.t-avatar-group.t-avatar--offset-left .t-avatar:nth-child(28){z-index:22}.t-avatar-group.t-avatar--offset-left .t-avatar:nth-child(29){z-index:21}.t-avatar-group.t-avatar--offset-left .t-avatar:nth-child(30){z-index:20}.t-avatar-group.t-avatar--offset-left .t-avatar:nth-child(31){z-index:19}.t-avatar-group.t-avatar--offset-left .t-avatar:nth-child(32){z-index:18}.t-avatar-group.t-avatar--offset-left .t-avatar:nth-child(33){z-index:17}.t-avatar-group.t-avatar--offset-left .t-avatar:nth-child(34){z-index:16}.t-avatar-group.t-avatar--offset-left .t-avatar:nth-child(35){z-index:15}.t-avatar-group.t-avatar--offset-left .t-avatar:nth-child(36){z-index:14}.t-avatar-group.t-avatar--offset-left .t-avatar:nth-child(37){z-index:13}.t-avatar-group.t-avatar--offset-left .t-avatar:nth-child(38){z-index:12}.t-avatar-group.t-avatar--offset-left .t-avatar:nth-child(39){z-index:11}.t-avatar-group.t-avatar--offset-left .t-avatar:nth-child(40){z-index:10}.t-avatar-group.t-avatar--offset-left .t-avatar:nth-child(41){z-index:9}.t-avatar-group.t-avatar--offset-left .t-avatar:nth-child(42){z-index:8}.t-avatar-group.t-avatar--offset-left .t-avatar:nth-child(43){z-index:7}.t-avatar-group.t-avatar--offset-left .t-avatar:nth-child(44){z-index:6}.t-avatar-group.t-avatar--offset-left .t-avatar:nth-child(45){z-index:5}.t-avatar-group.t-avatar--offset-left .t-avatar:nth-child(46){z-index:4}.t-avatar-group.t-avatar--offset-left .t-avatar:nth-child(47){z-index:3}.t-avatar-group.t-avatar--offset-left .t-avatar:nth-child(48){z-index:2}.t-avatar-group.t-avatar--offset-left .t-avatar:nth-child(49){z-index:1}.t-avatar-group.t-avatar--offset-left .t-avatar:nth-child(50){z-index:0}.t-avatar-group.t-avatar--offset-left .t-avatar:not(:first-child){margin-left:calc(0px - var(--td-size-3))}.t-avatar-group.t-avatar--offset-left .t-avatar:not(:first-child).t-size-s{margin-left:calc(0px - var(--td-size-2))}.t-avatar-group.t-avatar--offset-left .t-avatar:not(:first-child).t-size-l{margin-left:calc(0px - var(--td-size-4))}.t-card{font:var(--td-font-body-medium);margin:0;padding:0;list-style:none;position:relative;box-sizing:border-box;border-radius:var(--td-radius-medium);background-color:var(--td-bg-color-container);color:var(--td-text-color-primary);transition:box-shadow .2s cubic-bezier(.38,0,.24,1)}.t-card--bordered{border:1px solid var(--td-component-border)}.t-card--shadow-hover:hover,.t-card--shadow{box-shadow:var(--td-shadow-1)}.t-card__cover{display:flow-root}.t-card__cover img{display:flow-root;width:100%;max-height:100%;border-radius:var(--td-radius-default) var(--td-radius-default) 0 0}.t-card__body{display:flow-root;padding:var(--td-comp-paddingTB-l) var(--td-comp-paddingLR-xl)}.t-card__header{display:flex;justify-content:space-between;align-items:center;padding:var(--td-comp-paddingTB-l) var(--td-comp-paddingLR-xl);position:relative}.t-card__header-wrapper{flex:1;display:flex;align-items:center}.t-card__header+.t-card__cover img{border-radius:0}.t-card__footer{display:flex;align-items:center;justify-content:space-between;padding:var(--td-comp-paddingTB-l) var(--td-comp-paddingLR-xl)}.t-card__footer-wrapper{flex:1}.t-size-s .t-card__body,.t-size-s .t-card__header,.t-size-s .t-card__footer{padding:var(--td-comp-paddingTB-s) var(--td-comp-paddingLR-l)}.t-card__avatar{margin-right:var(--td-comp-margin-l);width:var(--td-comp-size-xxxl);height:var(--td-comp-size-xxxl)}.t-card__title{font:var(--td-font-title-medium);color:var(--td-text-color-primary);margin-right:var(--td-comp-margin-l);word-break:break-all}.t-card__subtitle{font:var(--td-font-body-medium);color:var(--td-text-color-secondary);word-break:break-all}.t-card__description{font:var(--td-font-body-medium);color:var(--td-text-color-secondary);margin-top:var(--td-comp-margin-xs);word-break:break-all}.t-card__actions{float:right;color:var(--td-brand-color)}.t-card__title--bordered{border-bottom:1px solid var(--td-component-border)}@keyframes tDialogZoomIn{0%{opacity:0;transform:scale(.01)}to{opacity:1}}@keyframes tDialogZoomOut{0%{opacity:1}to{opacity:0;transform:scale(.01)}}@keyframes tDialogMaskIn{0%{opacity:0}to{opacity:1}}@keyframes tDialogMaskOut{0%{opacity:1}to{opacity:0}}.t-dialog-zoom .animation-enter{animation-duration:.2s;animation-fill-mode:both;animation-timing-function:cubic-bezier(0,0,.15,1);animation-play-state:paused}.t-dialog-zoom .animation-exit{animation-duration:.2s;animation-fill-mode:both;animation-timing-function:cubic-bezier(.38,0,.24,1);animation-play-state:paused}.t-dialog-zoom .animation-active{animation-play-state:running;animation-fill-mode:both}.t-dialog-zoom-enter,.t-dialog-zoom-enter-from,.t-dialog-zoom-appear{animation-duration:.2s;animation-fill-mode:both;animation-timing-function:cubic-bezier(0,0,.15,1);animation-play-state:paused}.t-dialog-zoom-exit{animation-duration:.2s;animation-fill-mode:both;animation-timing-function:cubic-bezier(.38,0,.24,1);animation-play-state:paused}.t-dialog-zoom-enter-active,.t-dialog-zoom-appear-active{animation-name:tDialogZoomIn;animation-play-state:running;animation-fill-mode:both}.t-dialog-zoom-exit-active{animation-name:tDialogZoomOut;animation-play-state:running;animation-fill-mode:both}.t-dialog-zoom__vue-enter-active .t-dialog{animation-name:tDialogZoomIn;animation-duration:.2s;animation-fill-mode:both;animation-timing-function:cubic-bezier(0,0,.15,1);animation-play-state:paused}.t-dialog-zoom__vue-enter-active .t-dialog__mask{animation-name:tDialogMaskIn;animation-duration:.2s;animation-timing-function:linear;animation-play-state:running;animation-fill-mode:both}.t-dialog-zoom__vue-leave-active .t-dialog{animation-name:tDialogZoomOut;animation-duration:.2s;animation-fill-mode:both;animation-timing-function:cubic-bezier(.38,0,.24,1);animation-play-state:paused}.t-dialog-zoom__vue-leave-active .t-dialog__mask{animation-name:tDialogMaskOut;animation-duration:.2s;animation-timing-function:linear;animation-play-state:running;animation-fill-mode:both}.t-dialog-zoom__vue-enter-to .t-dialog,.t-dialog-zoom__vue-leave-to .t-dialog{animation-play-state:running;animation-fill-mode:both}.t-dialog-fade-enter,.t-dialog-fade-appear{opacity:0;animation-duration:.2s;animation-fill-mode:both;animation-timing-function:cubic-bezier(0,0,.15,1);animation-play-state:paused}.t-dialog-fade-exit{animation-duration:.2s;animation-fill-mode:both;animation-timing-function:cubic-bezier(0,0,.15,1);animation-play-state:paused}.t-dialog-fade-enter.t-dialog-fade-enter-active,.t-dialog-fade-appear.t-dialog-fade-appear-active{animation-name:tDialogFadeIn;animation-play-state:running}.t-dialog-fade-exit.t-dialog-fade-exit-active{animation-name:tDialogFadeOut;animation-play-state:running}@keyframes tDialogFadeIn{0%{opacity:0}to{opacity:1}}@keyframes tDialogFadeOut{0%{opacity:1}to{opacity:0}}.t-dialog{font:var(--td-font-body-medium);color:var(--td-text-color-primary);box-sizing:border-box;margin:0;padding:0;list-style:none;width:480px;background-color:var(--td-bg-color-container);position:relative;border:1px solid var(--td-border-level-1-color);border-radius:var(--td-radius-large)}.t-dialog .t-icon.t-is-info{color:var(--td-brand-color)}.t-dialog .t-icon.t-is-success{color:var(--td-success-color)}.t-dialog .t-icon.t-is-warning{color:var(--td-warning-color)}.t-dialog .t-icon.t-is-error{color:var(--td-error-color)}.t-dialog--lock{overflow:hidden}.t-dialog__header{color:var(--td-text-color-primary);font:var(--td-font-title-medium);font-weight:600;display:flex;align-items:center;word-break:break-word;gap:var(--td-comp-margin-s);box-sizing:border-box}.t-dialog__header .t-dialog__header-content{display:flex;align-items:flex-start;width:100%}.t-dialog__header .t-icon:not(.t-icon-close){font-size:calc(var(--td-font-size-body-large) + 8px);display:inline-flex;align-items:center;margin-right:var(--td-comp-margin-s);flex-shrink:0}.t-dialog__header--fullscreen{background-color:var(--td-bg-color-secondarycontainer);min-height:var(--td-comp-size-xxxl);justify-content:flex-end;display:flex;align-items:center;flex-direction:row;padding:0 var(--td-comp-paddingLR-xxl)}.t-dialog__header--fullscreen .t-dialog__header-content{box-sizing:border-box;display:flex;justify-content:center;align-items:center}.t-dialog__body{color:var(--td-text-color-secondary);font:var(--td-font-body-medium);overflow:auto;padding:var(--td-comp-paddingTB-l) 0;word-break:break-word}@-moz-document url-prefix(){.t-dialog__body{scrollbar-color:var(--td-scrollbar-color) transparent;scrollbar-width:thin}}.t-dialog__body::-webkit-scrollbar{width:6px;height:6px}.t-dialog__body::-webkit-scrollbar-thumb{border:0px solid transparent;background-clip:content-box;background-color:var(--td-scrollbar-color);border-radius:11px}.t-dialog__body::-webkit-scrollbar-thumb:vertical:hover,.t-dialog__body::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--td-scrollbar-hover-color)}.t-dialog__body__icon,.t-dialog__body--icon{padding:var(--td-comp-paddingTB-l) 0}.t-dialog__body--fullscreen{box-sizing:border-box;padding:var(--td-comp-paddingTB-xl) var(--td-comp-paddingLR-xxl);height:calc(100% - var(--td-comp-size-xxxl) - var(--td-comp-size-xxxxl));overflow:auto}@-moz-document url-prefix(){.t-dialog__body--fullscreen{scrollbar-color:var(--td-scrollbar-color) transparent;scrollbar-width:thin}}.t-dialog__body--fullscreen::-webkit-scrollbar{width:6px;height:6px}.t-dialog__body--fullscreen::-webkit-scrollbar-thumb{border:0px solid transparent;background-clip:content-box;background-color:var(--td-scrollbar-color);border-radius:11px}.t-dialog__body--fullscreen::-webkit-scrollbar-thumb:vertical:hover,.t-dialog__body--fullscreen::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--td-scrollbar-hover-color)}.t-dialog__body--fullscreen--without-footer{box-sizing:border-box;padding:var(--td-comp-paddingTB-xl) var(--td-comp-paddingLR-xxl);height:calc(100% - var(--td-comp-size-xxxl));overflow:auto}.t-dialog__footer{width:100%;text-align:right;padding:var(--td-comp-paddingTB-l) 0 0}.t-dialog__footer .t-button+.t-button{margin-left:var(--td-comp-margin-s)}.t-dialog__footer--fullscreen{min-height:var(--td-comp-size-xxxxl);padding:0 var(--td-comp-paddingLR-xxl) var(--td-comp-paddingTB-xxl);box-sizing:border-box}.t-dialog--default{padding:var(--td-comp-paddingTB-xxl) var(--td-comp-paddingLR-xxl)}.t-dialog__close{font-size:calc(var(--td-font-size-body-large) + 4px);color:var(--td-text-color-secondary);display:flex;width:calc(var(--td-font-size-body-large) + 4px);height:calc(var(--td-font-size-body-large) + 4px);align-items:center;border-radius:var(--td-radius-default);transition:all .2s linear;padding:var(--td-comp-paddingTB-xxs) var(--td-comp-paddingLR-xxs)}.t-dialog__close:hover{cursor:pointer;background:var(--td-bg-color-container-hover)}.t-dialog__close:active{background:var(--td-bg-color-container-active)}.t-dialog__close--fullscreen{display:flex;background:transparent}.t-dialog__close--fullscreen:hover{cursor:pointer;background:var(--td-bg-color-secondarycontainer-hover)}.t-dialog__close--fullscreen:active{background:var(--td-bg-color-secondarycontainer-active)}.t-dialog.t-dialog--draggable:hover{cursor:move}.t-dialog.t-dialog--draggable .t-dialog__header:hover,.t-dialog.t-dialog--draggable .t-dialog__body:hover,.t-dialog.t-dialog--draggable .t-dialog__footer:hover{cursor:auto}.t-dialog__fullscreen{width:100%;border-radius:0}.t-dialog__ctx{pointer-events:auto;outline:none;top:0;left:0;width:100%;height:100%}.t-dialog__ctx.t-dialog__ctx--modeless{pointer-events:none}.t-dialog__ctx.t-dialog__ctx--fixed{position:fixed;z-index:2500}.t-dialog__ctx.t-dialog__ctx--absolute,.t-dialog__ctx.t-dialog__ctx--absolute .t-dialog__mask,.t-dialog__ctx.t-dialog__ctx--absolute .t-dialog__wrap{position:absolute}.t-dialog__ctx.t-is-visible{visibility:visible}.t-dialog__ctx.t-is-hidden{visibility:hidden}.t-dialog__ctx.t-is-display{display:block}.t-dialog__ctx.t-not-display{display:none}.t-dialog__ctx .t-dialog__mask{position:fixed;top:0;left:0;width:100%;height:100%;z-index:1;background:var(--td-mask-active);pointer-events:auto}.t-dialog__ctx .t-dialog__wrap{position:fixed;top:0;left:0;width:100%;height:100%;z-index:1;overflow:auto}@-moz-document url-prefix(){.t-dialog__ctx .t-dialog__wrap{scrollbar-color:var(--td-scrollbar-color) transparent;scrollbar-width:thin}}.t-dialog__ctx .t-dialog__wrap::-webkit-scrollbar{width:8px;height:8px}.t-dialog__ctx .t-dialog__wrap::-webkit-scrollbar-thumb{border:2px solid transparent;background-clip:content-box;background-color:var(--td-scrollbar-color);border-radius:15px}.t-dialog__ctx .t-dialog__wrap::-webkit-scrollbar-thumb:vertical:hover,.t-dialog__ctx .t-dialog__wrap::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--td-scrollbar-hover-color)}.t-dialog__ctx .t-dialog__position{display:flex;justify-content:center;min-height:100%;width:100%;position:relative;padding:48px 0;box-sizing:border-box}.t-dialog__ctx .t-dialog__position.t-dialog--top{align-items:flex-start;padding-top:20vh}.t-dialog__ctx .t-dialog__position.t-dialog--center{align-items:center}.t-dialog__ctx .t-dialog__position_fullscreen{display:flex;justify-content:center;min-height:100%;width:100%;position:relative;box-sizing:border-box}.t-dialog__ctx .t-is-hidden{background:none}.t-dialog__ctx .t-dialog{pointer-events:auto;z-index:2500}.t-dialog__ctx.t-dialog__ctx--modeless .t-dialog{box-shadow:var(--td-shadow-3)}.t-popconfirm{font:var(--td-font-body-medium);color:var(--td-text-color-primary);box-sizing:border-box;margin:0;padding:0;list-style:none;min-width:160px;border-radius:var(--td-radius-medium)}.t-popconfirm .t-popup__content{padding:0}.t-popconfirm.t-popup[data-popper-placement^=top] .t-popup__arrow{bottom:-4px}.t-popconfirm__content{position:relative;padding:var(--td-comp-paddingTB-l) var(--td-comp-paddingLR-l);border-radius:var(--td-radius-medium)}.t-popconfirm__body{display:flex;align-items:flex-start;text-align:left}.t-popconfirm__body>.t-icon{display:inline-block;margin-right:var(--td-comp-margin-s);padding:calc(calc(var(--td-line-height-body-medium) - calc(var(--td-font-size-body-medium) + 6px)) / 2) 0;font-size:calc(var(--td-font-size-body-medium) + 6px)}.t-popconfirm__confirm{margin-left:var(--td-comp-margin-s)}.t-popconfirm__inner{display:inline-block;vertical-align:top;max-width:320px;font:var(--td-font-body-medium);color:var(--td-text-color-primary)}.t-popconfirm__icon--warning{color:var(--td-warning-color)}.t-popconfirm__icon--danger{color:var(--td-error-color)}.t-popconfirm__icon--default{color:var(--td-brand-color)}.t-popconfirm__buttons{text-align:right;margin-top:var(--td-comp-margin-l)}.t-popconfirm__buttons>span:last-child{margin-right:0}:root{--td-screen-xs: 320px;--td-screen-sm: 768px;--td-screen-md: 992px;--td-screen-lg: 1200px;--td-screen-xl: 1400px;--td-screen-xxl: 1880px}@-moz-document url-prefix(){.narrow-scrollbar{scrollbar-color:var(--td-scrollbar-color) transparent;scrollbar-width:thin}}.narrow-scrollbar::-webkit-scrollbar{width:8px;height:8px}.narrow-scrollbar::-webkit-scrollbar-thumb{border:2px solid transparent;background-clip:content-box;background-color:var(--td-scrollbar-color);border-radius:15px}.narrow-scrollbar::-webkit-scrollbar-thumb:vertical:hover,.narrow-scrollbar::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--td-scrollbar-hover-color)}.t-fake-arrow path{transition:d .2s;stroke:currentcolor}.t-fake-arrow--active path{d:path("M3.75 10.2002L7.99274 5.7998L12.2361 10.0425")}.t-slide-down-enter-active,.t-slide-down-leave-active{transition:height .2s cubic-bezier(.38,0,.24,1)}:root,:root[theme-mode=light]{--td-brand-color-1: #f2f3ff;--td-brand-color-2: #d9e1ff;--td-brand-color-3: #b5c7ff;--td-brand-color-4: #8eabff;--td-brand-color-5: #618dff;--td-brand-color-6: #366ef4;--td-brand-color-7: #0052d9;--td-brand-color-8: #003cab;--td-brand-color-9: #002a7c;--td-brand-color-10: #001a57;--td-warning-color-1: #fff1e9;--td-warning-color-2: #ffd9c2;--td-warning-color-3: #ffb98c;--td-warning-color-4: #fa9550;--td-warning-color-5: #e37318;--td-warning-color-6: #be5a00;--td-warning-color-7: #954500;--td-warning-color-8: #713300;--td-warning-color-9: #532300;--td-warning-color-10: #3b1700;--td-error-color-1: #fff0ed;--td-error-color-2: #ffd8d2;--td-error-color-3: #ffb9b0;--td-error-color-4: #ff9285;--td-error-color-5: #f6685d;--td-error-color-6: #d54941;--td-error-color-7: #ad352f;--td-error-color-8: #881f1c;--td-error-color-9: #68070a;--td-error-color-10: #490002;--td-success-color-1: #e3f9e9;--td-success-color-2: #c6f3d7;--td-success-color-3: #92dab2;--td-success-color-4: #56c08d;--td-success-color-5: #2ba471;--td-success-color-6: #008858;--td-success-color-7: #006c45;--td-success-color-8: #005334;--td-success-color-9: #003b23;--td-success-color-10: #002515;--td-gray-color-1: #f3f3f3;--td-gray-color-2: #eee;--td-gray-color-3: #e8e8e8;--td-gray-color-4: #ddd;--td-gray-color-5: #c6c6c6;--td-gray-color-6: #a6a6a6;--td-gray-color-7: #8b8b8b;--td-gray-color-8: #777;--td-gray-color-9: #5e5e5e;--td-gray-color-10: #4b4b4b;--td-gray-color-11: #393939;--td-gray-color-12: #2c2c2c;--td-gray-color-13: #242424;--td-gray-color-14: #181818;--td-font-white-1: #ffffff;--td-font-white-2: rgba(255, 255, 255, .55);--td-font-white-3: rgba(255, 255, 255, .35);--td-font-white-4: rgba(255, 255, 255, .22);--td-font-gray-1: rgba(0, 0, 0, .9);--td-font-gray-2: rgba(0, 0, 0, .6);--td-font-gray-3: rgba(0, 0, 0, .4);--td-font-gray-4: rgba(0, 0, 0, .26);--td-brand-color: var(--td-brand-color-7);--td-warning-color: var(--td-warning-color-5);--td-error-color: var(--td-error-color-6);--td-success-color: var(--td-success-color-5);--td-brand-color-hover: var(--td-brand-color-6);--td-brand-color-focus: var(--td-brand-color-2);--td-brand-color-active: var(--td-brand-color-8);--td-brand-color-disabled: var(--td-brand-color-3);--td-brand-color-light: var(--td-brand-color-1);--td-brand-color-light-hover: var(--td-brand-color-2);--td-warning-color-hover: var(--td-warning-color-4);--td-warning-color-focus: var(--td-warning-color-2);--td-warning-color-active: var(--td-warning-color-6);--td-warning-color-disabled: var(--td-warning-color-3);--td-warning-color-light: var(--td-warning-color-1);--td-warning-color-light-hover: var(--td-warning-color-2);--td-error-color-hover: var(--td-error-color-5);--td-error-color-focus: var(--td-error-color-2);--td-error-color-active: var(--td-error-color-7);--td-error-color-disabled: var(--td-error-color-3);--td-error-color-light: var(--td-error-color-1);--td-error-color-light-hover: var(--td-error-color-2);--td-success-color-hover: var(--td-success-color-4);--td-success-color-focus: var(--td-success-color-2);--td-success-color-active: var(--td-success-color-6);--td-success-color-disabled: var(--td-success-color-3);--td-success-color-light: var(--td-success-color-1);--td-success-color-light-hover: var(--td-success-color-2);--td-mask-active: rgba(0, 0, 0, .6);--td-mask-disabled: rgba(255, 255, 255, .6);--td-bg-color-page: var(--td-gray-color-2);--td-bg-color-container: #fff;--td-bg-color-container-hover: var(--td-gray-color-1);--td-bg-color-container-active: var(--td-gray-color-3);--td-bg-color-container-select: #fff;--td-bg-color-secondarycontainer: var(--td-gray-color-1);--td-bg-color-secondarycontainer-hover: var(--td-gray-color-2);--td-bg-color-secondarycontainer-active: var(--td-gray-color-4);--td-bg-color-component: var(--td-gray-color-3);--td-bg-color-component-hover: var(--td-gray-color-4);--td-bg-color-component-active: var(--td-gray-color-6);--td-bg-color-secondarycomponent: var(--td-gray-color-4);--td-bg-color-secondarycomponent-hover: var(--td-gray-color-5);--td-bg-color-secondarycomponent-active: var(--td-gray-color-6);--td-bg-color-component-disabled: var(--td-gray-color-2);--td-bg-color-specialcomponent: #fff;--td-text-color-primary: var(--td-font-gray-1);--td-text-color-secondary: var(--td-font-gray-2);--td-text-color-placeholder: var(--td-font-gray-3);--td-text-color-disabled: var(--td-font-gray-4);--td-text-color-anti: #fff;--td-text-color-brand: var(--td-brand-color-7);--td-text-color-link: var(--td-brand-color-8);--td-border-level-1-color: var(--td-gray-color-3);--td-component-stroke: var(--td-gray-color-3);--td-border-level-2-color: var(--td-gray-color-4);--td-component-border: var(--td-gray-color-4);--td-shadow-1: 0 1px 10px rgba(0, 0, 0, .05), 0 4px 5px rgba(0, 0, 0, .08), 0 2px 4px -1px rgba(0, 0, 0, .12);--td-shadow-2: 0 3px 14px 2px rgba(0, 0, 0, .05), 0 8px 10px 1px rgba(0, 0, 0, .06), 0 5px 5px -3px rgba(0, 0, 0, .1);--td-shadow-3: 0 6px 30px 5px rgba(0, 0, 0, .05), 0 16px 24px 2px rgba(0, 0, 0, .04), 0 8px 10px -5px rgba(0, 0, 0, .08);--td-shadow-inset-top: inset 0 .5px 0 #dcdcdc;--td-shadow-inset-right: inset .5px 0 0 #dcdcdc;--td-shadow-inset-bottom: inset 0 -.5px 0 #dcdcdc;--td-shadow-inset-left: inset -.5px 0 0 #dcdcdc;--td-table-shadow-color: rgba(0, 0, 0, .08);--td-scrollbar-color: rgba(0, 0, 0, .1);--td-scrollbar-hover-color: rgba(0, 0, 0, .3);--td-scroll-track-color: #fff}:root[theme-mode=dark]{--td-brand-color-1: #1b2f51;--td-brand-color-2: #173463;--td-brand-color-3: #143975;--td-brand-color-4: #103d88;--td-brand-color-5: #0d429a;--td-brand-color-6: #054bbe;--td-brand-color-7: #2667d4;--td-brand-color-8: #4582e6;--td-brand-color-9: #699ef5;--td-brand-color-10: #96bbf8;--td-warning-color-1: #4f2a1d;--td-warning-color-2: #582f21;--td-warning-color-3: #733c23;--td-warning-color-4: #a75d2b;--td-warning-color-5: #cf6e2d;--td-warning-color-6: #dc7633;--td-warning-color-7: #e8935c;--td-warning-color-8: #ecbf91;--td-warning-color-9: #eed7bf;--td-warning-color-10: #f3e9dc;--td-error-color-1: #472324;--td-error-color-2: #5e2a2d;--td-error-color-3: #703439;--td-error-color-4: #83383e;--td-error-color-5: #a03f46;--td-error-color-6: #c64751;--td-error-color-7: #de6670;--td-error-color-8: #ec888e;--td-error-color-9: #edb1b6;--td-error-color-10: #eeced0;--td-success-color-1: #193a2a;--td-success-color-2: #1a4230;--td-success-color-3: #17533d;--td-success-color-4: #0d7a55;--td-success-color-5: #059465;--td-success-color-6: #43af8a;--td-success-color-7: #46bf96;--td-success-color-8: #80d2b6;--td-success-color-9: #b4e1d3;--td-success-color-10: #deede8;--td-gray-color-1: #f3f3f3;--td-gray-color-2: #eee;--td-gray-color-3: #e8e8e8;--td-gray-color-4: #ddd;--td-gray-color-5: #c6c6c6;--td-gray-color-6: #a6a6a6;--td-gray-color-7: #8b8b8b;--td-gray-color-8: #777;--td-gray-color-9: #5e5e5e;--td-gray-color-10: #4b4b4b;--td-gray-color-11: #393939;--td-gray-color-12: #2c2c2c;--td-gray-color-13: #242424;--td-gray-color-14: #181818;--td-font-white-1: rgba(255, 255, 255, .9);--td-font-white-2: rgba(255, 255, 255, .55);--td-font-white-3: rgba(255, 255, 255, .35);--td-font-white-4: rgba(255, 255, 255, .22);--td-font-gray-1: rgba(0, 0, 0, .9);--td-font-gray-2: rgba(0, 0, 0, .6);--td-font-gray-3: rgba(0, 0, 0, .4);--td-font-gray-4: rgba(0, 0, 0, .26);--td-brand-color: var(--td-brand-color-8);--td-warning-color: var(--td-warning-color-5);--td-error-color: var(--td-error-color-6);--td-success-color: var(--td-success-color-5);--td-brand-color-hover: var(--td-brand-color-7);--td-brand-color-focus: var(--td-brand-color-2);--td-brand-color-active: var(--td-brand-color-9);--td-brand-color-disabled: var(--td-brand-color-3);--td-brand-color-light: var(--td-brand-color-1);--td-brand-color-light-hover: var(--td-brand-color-2);--td-warning-color-hover: var(--td-warning-color-4);--td-warning-color-focus: var(--td-warning-color-2);--td-warning-color-active: var(--td-warning-color-6);--td-warning-color-disabled: var(--td-warning-color-3);--td-warning-color-light: var(--td-warning-color-1);--td-warning-color-light-hover: var(--td-warning-color-2);--td-error-color-hover: var(--td-error-color-5);--td-error-color-focus: var(--td-error-color-2);--td-error-color-active: var(--td-error-color-7);--td-error-color-disabled: var(--td-error-color-3);--td-error-color-light: var(--td-error-color-1);--td-error-color-light-hover: var(--td-error-color-2);--td-success-color-hover: var(--td-success-color-4);--td-success-color-focus: var(--td-success-color-2);--td-success-color-active: var(--td-success-color-6);--td-success-color-disabled: var(--td-success-color-3);--td-success-color-light: var(--td-success-color-1);--td-success-color-light-hover: var(--td-success-color-2);--td-mask-active: rgba(0, 0, 0, .4);--td-mask-disabled: rgba(0, 0, 0, .6);--td-bg-color-page: var(--td-gray-color-14);--td-bg-color-container: var(--td-gray-color-13);--td-bg-color-container-hover: var(--td-gray-color-12);--td-bg-color-container-active: var(--td-gray-color-10);--td-bg-color-container-select: var(--td-gray-color-9);--td-bg-color-secondarycontainer: var(--td-gray-color-12);--td-bg-color-secondarycontainer-hover: var(--td-gray-color-11);--td-bg-color-secondarycontainer-active: var(--td-gray-color-9);--td-bg-color-component: var(--td-gray-color-11);--td-bg-color-component-hover: var(--td-gray-color-10);--td-bg-color-component-active: var(--td-gray-color-9);--td-bg-color-secondarycomponent: var(--td-gray-color-10);--td-bg-color-secondarycomponent-hover: var(--td-gray-color-9);--td-bg-color-secondarycomponent-active: var(--td-gray-color-8);--td-bg-color-component-disabled: var(--td-gray-color-12);--td-bg-color-specialcomponent: transparent;--td-text-color-primary: var(--td-font-white-1);--td-text-color-secondary: var(--td-font-white-2);--td-text-color-placeholder: var(--td-font-white-3);--td-text-color-disabled: var(--td-font-white-4);--td-text-color-anti: #fff;--td-text-color-brand: var(--td-brand-color-8);--td-text-color-link: var(--td-brand-color-8);--td-border-level-1-color: var(--td-gray-color-11);--td-component-stroke: var(--td-gray-color-11);--td-border-level-2-color: var(--td-gray-color-9);--td-component-border: var(--td-gray-color-9);--td-shadow-1: 0 4px 6px rgba(0, 0, 0, .06), 0 1px 10px rgba(0, 0, 0, .08), 0 2px 4px rgba(0, 0, 0, .12);--td-shadow-2: 0 8px 10px rgba(0, 0, 0, .12), 0 3px 14px rgba(0, 0, 0, .1), 0 5px 5px rgba(0, 0, 0, .16);--td-shadow-3: 0 16px 24px rgba(0, 0, 0, .14), 0 6px 30px rgba(0, 0, 0, .12), 0 8px 10px rgba(0, 0, 0, .2);--td-shadow-inset-top: inset 0 .5px 0 #5e5e5e;--td-shadow-inset-right: inset .5px 0 0 #5e5e5e;--td-shadow-inset-bottom: inset 0 -.5px 0 #5e5e5e;--td-shadow-inset-left: inset -.5px 0 0 #5e5e5e;--td-table-shadow-color: rgba(0, 0, 0, .55);--td-scrollbar-color: rgba(255, 255, 255, .1);--td-scrollbar-hover-color: rgba(255, 255, 255, .3);--td-scroll-track-color: #333}:root{--td-radius-small: 2px;--td-radius-default: 3px;--td-radius-medium: 6px;--td-radius-large: 9px;--td-radius-extraLarge: 12px;--td-radius-round: 999px;--td-radius-circle: 50%;--td-font-family: PingFang SC, Microsoft YaHei, Arial Regular;--td-font-family-medium: PingFang SC, Microsoft YaHei, Arial Medium;--td-font-size-link-small: 12px;--td-font-size-link-medium: 14px;--td-font-size-link-large: 16px;--td-font-size-mark-small: 12px;--td-font-size-mark-medium: 14px;--td-font-size-body-small: 12px;--td-font-size-body-medium: 14px;--td-font-size-body-large: 16px;--td-font-size-title-small: 14px;--td-font-size-title-medium: 16px;--td-font-size-title-large: 20px;--td-font-size-headline-small: 24px;--td-font-size-headline-medium: 28px;--td-font-size-headline-large: 36px;--td-font-size-display-medium: 48px;--td-font-size-display-large: 64px;--td-line-height-link-small: 20px;--td-line-height-link-medium: 22px;--td-line-height-link-large: 24px;--td-line-height-mark-small: 20px;--td-line-height-mark-medium: 22px;--td-line-height-body-small: 20px;--td-line-height-body-medium: 22px;--td-line-height-body-large: 24px;--td-line-height-title-small: 22px;--td-line-height-title-medium: 24px;--td-line-height-title-large: 28px;--td-line-height-headline-small: 32px;--td-line-height-headline-medium: 36px;--td-line-height-headline-large: 44px;--td-line-height-display-medium: 56px;--td-line-height-display-large: 72px;--td-font-link-small: var(--td-font-size-link-small) / var(--td-line-height-link-small) var(--td-font-family);--td-font-link-medium: var(--td-font-size-link-medium) / var(--td-line-height-link-medium) var(--td-font-family);--td-font-link-large: var(--td-font-size-link-large) / var(--td-line-height-link-large) var(--td-font-family);--td-font-mark-small: 600 var(--td-font-size-mark-small) / var(--td-line-height-mark-small) var(--td-font-family);--td-font-mark-medium: 600 var(--td-font-size-mark-medium) / var(--td-line-height-mark-medium) var(--td-font-family);--td-font-body-small: var(--td-font-size-body-small) / var(--td-line-height-body-small) var(--td-font-family);--td-font-body-medium: var(--td-font-size-body-medium) / var(--td-line-height-body-medium) var(--td-font-family);--td-font-body-large: var(--td-font-size-body-large) / var(--td-line-height-body-large) var(--td-font-family);--td-font-title-small: 600 var(--td-font-size-title-small) / var(--td-line-height-title-small) var(--td-font-family);--td-font-title-medium: 600 var(--td-font-size-title-medium) / var(--td-line-height-title-medium) var(--td-font-family);--td-font-title-large: 600 var(--td-font-size-title-large) / var(--td-line-height-title-large) var(--td-font-family);--td-font-headline-small: 600 var(--td-font-size-headline-small) / var(--td-line-height-headline-small) var(--td-font-family);--td-font-headline-medium: 600 var(--td-font-size-headline-medium) / var(--td-line-height-headline-medium) var(--td-font-family);--td-font-headline-large: 600 var(--td-font-size-headline-large) / var(--td-line-height-headline-large) var(--td-font-family);--td-font-display-medium: 600 var(--td-font-size-display-medium) / var(--td-line-height-display-medium) var(--td-font-family);--td-font-display-large: 600 var(--td-font-size-display-large) / var(--td-line-height-display-large) var(--td-font-family);--td-size-1: 2px;--td-size-2: 4px;--td-size-3: 6px;--td-size-4: 8px;--td-size-5: 12px;--td-size-6: 16px;--td-size-7: 20px;--td-size-8: 24px;--td-size-9: 28px;--td-size-10: 32px;--td-size-11: 36px;--td-size-12: 40px;--td-size-13: 48px;--td-size-14: 56px;--td-size-15: 64px;--td-size-16: 72px;--td-comp-size-xxxs: var(--td-size-6);--td-comp-size-xxs: var(--td-size-7);--td-comp-size-xs: var(--td-size-8);--td-comp-size-s: var(--td-size-9);--td-comp-size-m: var(--td-size-10);--td-comp-size-l: var(--td-size-11);--td-comp-size-xl: var(--td-size-12);--td-comp-size-xxl: var(--td-size-13);--td-comp-size-xxxl: var(--td-size-14);--td-comp-size-xxxxl: var(--td-size-15);--td-comp-size-xxxxxl: var(--td-size-16);--td-pop-padding-s: var(--td-size-2);--td-pop-padding-m: var(--td-size-3);--td-pop-padding-l: var(--td-size-4);--td-pop-padding-xl: var(--td-size-5);--td-pop-padding-xxl: var(--td-size-6);--td-comp-paddingLR-xxs: var(--td-size-1);--td-comp-paddingLR-xs: var(--td-size-2);--td-comp-paddingLR-s: var(--td-size-4);--td-comp-paddingLR-m: var(--td-size-5);--td-comp-paddingLR-l: var(--td-size-6);--td-comp-paddingLR-xl: var(--td-size-8);--td-comp-paddingLR-xxl: var(--td-size-10);--td-comp-paddingTB-xxs: var(--td-size-1);--td-comp-paddingTB-xs: var(--td-size-2);--td-comp-paddingTB-s: var(--td-size-4);--td-comp-paddingTB-m: var(--td-size-5);--td-comp-paddingTB-l: var(--td-size-6);--td-comp-paddingTB-xl: var(--td-size-8);--td-comp-paddingTB-xxl: var(--td-size-10);--td-comp-margin-xxs: var(--td-size-1);--td-comp-margin-xs: var(--td-size-2);--td-comp-margin-s: var(--td-size-4);--td-comp-margin-m: var(--td-size-5);--td-comp-margin-l: var(--td-size-6);--td-comp-margin-xl: var(--td-size-7);--td-comp-margin-xxl: var(--td-size-8);--td-comp-margin-xxxl: var(--td-size-10);--td-comp-margin-xxxxl: var(--td-size-12)}#nprogress .bar[data-v-a54c09a9]{background:var(--td-brand-color)!important}.tdesign-breadcrumb[data-v-7ec7ffe3]{margin-bottom:24px}.fade-leave-active[data-v-d7ed7a08],.fade-enter-active[data-v-d7ed7a08]{transition:opacity .28s cubic-bezier(.38,0,.24,1)}.fade-enter-from[data-v-d7ed7a08],.fade-leave-to[data-v-d7ed7a08]{opacity:0}.tdesign-starter-footer[data-v-f64c9180]{color:var(--td-text-color-placeholder);line-height:20px;text-align:center;height:var(--td-comp-size-xxl)}.tdesign-starter-header-menu-fixed[data-v-066d80f0]{position:fixed;top:0;z-index:1001}.tdesign-starter-header-menu-fixed[data-v-066d80f0] .t-head-menu__inner{padding-right:var(--td-comp-margin-xl)}.tdesign-starter-header-menu-fixed-side[data-v-066d80f0]{left:232px;right:0;z-index:10;width:auto;transition:all .3s}.tdesign-starter-header-menu-fixed-side-compact[data-v-066d80f0]{left:0}.tdesign-starter-header-logo-container[data-v-066d80f0]{cursor:pointer;display:inline-flex}.header-menu[data-v-066d80f0]{flex:1 1 1;display:inline-flex}.header-menu[data-v-066d80f0] .t-menu__item{min-width:unset}.operations-container[data-v-066d80f0]{display:flex;align-items:center}.operations-container .t-popup__reference[data-v-066d80f0]{display:flex;align-items:center;justify-content:center}.operations-container .t-button[data-v-066d80f0]{margin-left:var(--td-comp-margin-l)}.header-operate-left[data-v-066d80f0]{display:flex;align-items:normal;line-height:0}.header-logo-container[data-v-066d80f0]{width:184px;height:26px;display:flex;margin-left:24px;color:var(--td-text-color-primary)}.header-logo-container .t-logo[data-v-066d80f0]{width:100%;height:100%}.header-logo-container .t-logo[data-v-066d80f0]:hover,.header-logo-container[data-v-066d80f0]:hover{cursor:pointer}.header-user-account[data-v-066d80f0]{display:inline-flex;align-items:center;color:var(--td-text-color-primary)}[data-v-066d80f0] .t-head-menu__inner{border-bottom:1px solid var(--td-component-stroke)}.t-menu--light .header-user-account[data-v-066d80f0]{color:var(--td-text-color-primary)}.t-menu--dark .t-head-menu__inner[data-v-066d80f0]{border-bottom:1px solid var(--td-gray-color-10)}.t-menu--dark .header-user-account[data-v-066d80f0]{color:#ffffff8c}.operations-dropdown-container-item[data-v-066d80f0]{width:100%;display:flex;align-items:center}.operations-dropdown-container-item[data-v-066d80f0] .t-dropdown__item-text{display:flex;align-items:center}.operations-dropdown-container-item .t-icon[data-v-066d80f0]{font-size:var(--td-comp-size-xxxs);margin-right:var(--td-comp-margin-s)}.operations-dropdown-container-item[data-v-066d80f0] .t-dropdown__item{width:100%;margin-bottom:0}.operations-dropdown-container-item[data-v-066d80f0]:last-child .t-dropdown__item{margin-bottom:8px}.operations-dropdown-container-item .t-dropdown__item-text{display:flex;align-items:center}.version-container[data-v-e0a68394]{opacity:.4}.pwa-toast[data-v-75ca4375]{position:fixed;right:10px;top:10px;z-index:100;max-width:16rem;--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.pwa-toast .message[data-v-75ca4375]{margin-bottom:8px}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.pointer-events-none{pointer-events:none}.\!visible{visibility:visible!important}.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.bottom-0{bottom:0}.bottom-1{bottom:.25rem}.left-0{left:0}.left-1{left:.25rem}.left-3{left:.75rem}.right-0{right:0}.right-1{right:.25rem}.right-\[-15px\]{right:-15px}.top-1{top:.25rem}.top-1\.5{top:.375rem}.top-3{top:.75rem}.top-\[-32px\]{top:-32px}.z-50{z-index:50}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-\[var\(--td-comp-margin-xxl\)\]{margin-bottom:var(--td-comp-margin-xxl)}.ml-2{margin-left:.5rem}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mt-1{margin-top:.25rem}.mt-10{margin-top:2.5rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.block{display:block}.flex{display:flex}.grid{display:grid}.contents{display:contents}.hidden{display:none}.h-12{height:3rem}.h-2{height:.5rem}.h-20{height:5rem}.h-\[108px\]{height:108px}.h-\[24px\]{height:24px}.h-\[80px\]{height:80px}.h-\[calc\(100\%-10px\)\]{height:calc(100% - 10px)}.h-\[calc\(100vh-2\*var\(--td-comp-paddingTB-m\)\)\]{height:calc(100vh - 2 * var(--td-comp-paddingTB-m))}.h-\[calc\(100vh-56px-2\*var\(--td-comp-paddingTB-m\)\)\]{height:calc(100vh - 56px - 2 * var(--td-comp-paddingTB-m))}.h-\[calc\(100vh-56px-var\(--td-comp-size-xxl\)-2\*var\(--td-comp-paddingTB-m\)\)\]{height:calc(100vh - 56px - var(--td-comp-size-xxl) - 2 * var(--td-comp-paddingTB-m))}.h-\[calc\(100vh-56px-var\(--td-comp-size-xxl\)-var\(--td-comp-size-xxxl\)-2\*var\(--td-comp-paddingTB-m\)\)\]{height:calc(100vh - 56px - var(--td-comp-size-xxl) - var(--td-comp-size-xxxl) - 2 * var(--td-comp-paddingTB-m))}.h-\[calc\(100vh-56px-var\(--td-comp-size-xxxl\)-2\*var\(--td-comp-paddingTB-m\)\)\]{height:calc(100vh - 56px - var(--td-comp-size-xxxl) - 2 * var(--td-comp-paddingTB-m))}.h-\[calc\(100vh-var\(--td-comp-size-xxl\)-2\*var\(--td-comp-paddingTB-m\)\)\]{height:calc(100vh - var(--td-comp-size-xxl) - 2 * var(--td-comp-paddingTB-m))}.h-\[calc\(100vh-var\(--td-comp-size-xxl\)-var\(--td-comp-size-xxxl\)-2\*var\(--td-comp-paddingTB-m\)\)\]{height:calc(100vh - var(--td-comp-size-xxl) - var(--td-comp-size-xxxl) - 2 * var(--td-comp-paddingTB-m))}.h-\[calc\(100vh-var\(--td-comp-size-xxxl\)-2\*var\(--td-comp-paddingTB-m\)\)\]{height:calc(100vh - var(--td-comp-size-xxxl) - 2 * var(--td-comp-paddingTB-m))}.h-\[calc\(50\%-10px\)\]{height:calc(50% - 10px)}.h-full{height:100%}.h-screen{height:100vh}.max-h-10{max-height:2.5rem}.max-h-32{max-height:8rem}.max-h-44{max-height:11rem}.max-h-72{max-height:18rem}.max-h-96{max-height:24rem}.min-h-32{min-height:8rem}.min-h-44{min-height:11rem}.w-1\/2{width:50%}.w-12{width:3rem}.w-32{width:8rem}.w-44{width:11rem}.w-60{width:15rem}.w-\[200px\]{width:200px}.w-\[24px\]{width:24px}.w-\[80px\]{width:80px}.w-\[calc\(100\%-24px-1rem\)\]{width:calc(100% - 24px - 1rem)}.w-full{width:100%}.min-w-44{min-width:11rem}.min-w-\[300px\]{min-width:300px}.max-w-60{max-width:15rem}.max-w-80{max-width:20rem}.max-w-\[120px\]{max-width:120px}.max-w-\[160px\]{max-width:160px}.max-w-\[75\%\]{max-width:75%}.flex-1{flex:1 1 0%}.flex-grow{flex-grow:1}.cursor-move{cursor:move}.cursor-pointer{cursor:pointer}.auto-cols-max{grid-auto-columns:max-content}.grid-flow-col{grid-auto-flow:column}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-line{white-space:pre-line}.whitespace-pre-wrap{white-space:pre-wrap}.text-nowrap{text-wrap:nowrap}.break-words{overflow-wrap:break-word}.rounded-2xl{border-radius:1rem}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.rounded-b-lg{border-bottom-right-radius:.5rem;border-bottom-left-radius:.5rem}.rounded-t-lg{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.border{border-width:1px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-opacity-75{--tw-bg-opacity: .75}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-\[10px\]{padding:10px}.px-1{padding-left:.25rem;padding-right:.25rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.pb-0{padding-bottom:0}.pl-10{padding-left:2.5rem}.pl-24{padding-left:6rem}.pr-16{padding-right:4rem}.pr-4{padding-right:1rem}.text-center{text-align:center}.align-middle{vertical-align:middle}.text-2xl{font-size:1.5rem;line-height:2rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.underline{text-decoration-line:underline}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.no-scrollbar::-webkit-scrollbar{display:none}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.dark .markdown-body,[data-theme=dark]{color-scheme:dark;--color-prettylights-syntax-comment: #8b949e;--color-prettylights-syntax-constant: #79c0ff;--color-prettylights-syntax-entity: #d2a8ff;--color-prettylights-syntax-storage-modifier-import: #c9d1d9;--color-prettylights-syntax-entity-tag: #7ee787;--color-prettylights-syntax-keyword: #ff7b72;--color-prettylights-syntax-string: #a5d6ff;--color-prettylights-syntax-variable: #ffa657;--color-prettylights-syntax-brackethighlighter-unmatched: #f85149;--color-prettylights-syntax-invalid-illegal-text: #f0f6fc;--color-prettylights-syntax-invalid-illegal-bg: #8e1519;--color-prettylights-syntax-carriage-return-text: #f0f6fc;--color-prettylights-syntax-carriage-return-bg: #b62324;--color-prettylights-syntax-string-regexp: #7ee787;--color-prettylights-syntax-markup-list: #f2cc60;--color-prettylights-syntax-markup-heading: #1f6feb;--color-prettylights-syntax-markup-italic: #c9d1d9;--color-prettylights-syntax-markup-bold: #c9d1d9;--color-prettylights-syntax-markup-deleted-text: #ffdcd7;--color-prettylights-syntax-markup-deleted-bg: #67060c;--color-prettylights-syntax-markup-inserted-text: #aff5b4;--color-prettylights-syntax-markup-inserted-bg: #033a16;--color-prettylights-syntax-markup-changed-text: #ffdfb6;--color-prettylights-syntax-markup-changed-bg: #5a1e02;--color-prettylights-syntax-markup-ignored-text: #c9d1d9;--color-prettylights-syntax-markup-ignored-bg: #1158c7;--color-prettylights-syntax-meta-diff-range: #d2a8ff;--color-prettylights-syntax-brackethighlighter-angle: #8b949e;--color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;--color-prettylights-syntax-constant-other-reference-link: #a5d6ff;--color-fg-default: #e6edf3;--color-fg-muted: #848d97;--color-fg-subtle: #6e7681;--color-canvas-default: #0d1117;--color-canvas-subtle: #161b22;--color-border-default: #30363d;--color-border-muted: #21262d;--color-neutral-muted: rgba(110,118,129,.4);--color-accent-fg: #2f81f7;--color-accent-emphasis: #1f6feb;--color-success-fg: #3fb950;--color-success-emphasis: #238636;--color-attention-fg: #d29922;--color-attention-emphasis: #9e6a03;--color-attention-subtle: rgba(187,128,9,.15);--color-danger-fg: #f85149;--color-danger-emphasis: #da3633;--color-done-fg: #a371f7;--color-done-emphasis: #8957e5}.light .markdown-body,[data-theme=light]{color-scheme:light;--color-prettylights-syntax-comment: #57606a;--color-prettylights-syntax-constant: #0550ae;--color-prettylights-syntax-entity: #6639ba;--color-prettylights-syntax-storage-modifier-import: #24292f;--color-prettylights-syntax-entity-tag: #116329;--color-prettylights-syntax-keyword: #cf222e;--color-prettylights-syntax-string: #0a3069;--color-prettylights-syntax-variable: #953800;--color-prettylights-syntax-brackethighlighter-unmatched: #82071e;--color-prettylights-syntax-invalid-illegal-text: #f6f8fa;--color-prettylights-syntax-invalid-illegal-bg: #82071e;--color-prettylights-syntax-carriage-return-text: #f6f8fa;--color-prettylights-syntax-carriage-return-bg: #cf222e;--color-prettylights-syntax-string-regexp: #116329;--color-prettylights-syntax-markup-list: #3b2300;--color-prettylights-syntax-markup-heading: #0550ae;--color-prettylights-syntax-markup-italic: #24292f;--color-prettylights-syntax-markup-bold: #24292f;--color-prettylights-syntax-markup-deleted-text: #82071e;--color-prettylights-syntax-markup-deleted-bg: #ffebe9;--color-prettylights-syntax-markup-inserted-text: #116329;--color-prettylights-syntax-markup-inserted-bg: #dafbe1;--color-prettylights-syntax-markup-changed-text: #953800;--color-prettylights-syntax-markup-changed-bg: #ffd8b5;--color-prettylights-syntax-markup-ignored-text: #eaeef2;--color-prettylights-syntax-markup-ignored-bg: #0550ae;--color-prettylights-syntax-meta-diff-range: #8250df;--color-prettylights-syntax-brackethighlighter-angle: #57606a;--color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;--color-prettylights-syntax-constant-other-reference-link: #0a3069;--color-fg-default: #1F2328;--color-fg-muted: #656d76;--color-fg-subtle: #6e7781;--color-canvas-default: #ffffff;--color-canvas-subtle: #f6f8fa;--color-border-default: #d0d7de;--color-border-muted: hsla(210,18%,87%,1);--color-neutral-muted: rgba(175,184,193,.2);--color-accent-fg: #0969da;--color-accent-emphasis: #0969da;--color-success-fg: #1a7f37;--color-success-emphasis: #1f883d;--color-attention-fg: #9a6700;--color-attention-emphasis: #9a6700;--color-attention-subtle: #fff8c5;--color-danger-fg: #d1242f;--color-danger-emphasis: #cf222e;--color-done-fg: #8250df;--color-done-emphasis: #8250df}.markdown-body{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;margin:0;color:var(--color-fg-default);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";word-wrap:break-word}.markdown-body .octicon{display:inline-block;fill:currentColor;vertical-align:text-bottom}.markdown-body h1:hover .anchor .octicon-link:before,.markdown-body h2:hover .anchor .octicon-link:before,.markdown-body h3:hover .anchor .octicon-link:before,.markdown-body h4:hover .anchor .octicon-link:before,.markdown-body h5:hover .anchor .octicon-link:before,.markdown-body h6:hover .anchor .octicon-link:before{width:16px;height:16px;content:" ";display:inline-block;background-color:currentColor;-webkit-mask-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' version='1.1' aria-hidden='true'><path fill-rule='evenodd' d='M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z'></path></svg>");mask-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' version='1.1' aria-hidden='true'><path fill-rule='evenodd' d='M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z'></path></svg>")}.markdown-body details,.markdown-body figcaption,.markdown-body figure{display:block}.markdown-body summary{display:list-item}.markdown-body [hidden]{display:none!important}.markdown-body a{background-color:transparent;color:var(--color-accent-fg);text-decoration:none}.markdown-body abbr[title]{border-bottom:none;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.markdown-body b,.markdown-body strong{font-weight:var(--base-text-weight-semibold, 600)}.markdown-body dfn{font-style:italic}.markdown-body h1{margin:.67em 0;font-weight:var(--base-text-weight-semibold, 600);padding-bottom:.3em;font-size:2em;border-bottom:1px solid var(--color-border-muted)}.markdown-body mark{background-color:var(--color-attention-subtle);color:var(--color-fg-default)}.markdown-body small{font-size:90%}.markdown-body sub,.markdown-body sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.markdown-body sub{bottom:-.25em}.markdown-body sup{top:-.5em}.markdown-body img{border-style:none;max-width:100%;box-sizing:content-box;background-color:var(--color-canvas-default)}.markdown-body code,.markdown-body kbd,.markdown-body pre,.markdown-body samp{font-family:monospace;font-size:1em}.markdown-body figure{margin:1em 40px}.markdown-body hr{box-sizing:content-box;overflow:hidden;background:transparent;border-bottom:1px solid var(--color-border-muted);height:.25em;padding:0;margin:24px 0;background-color:var(--color-border-default);border:0}.markdown-body input{font:inherit;margin:0;overflow:visible;font-family:inherit;font-size:inherit;line-height:inherit}.markdown-body [type=button],.markdown-body [type=reset],.markdown-body [type=submit]{-webkit-appearance:button;-moz-appearance:button;appearance:button}.markdown-body [type=checkbox],.markdown-body [type=radio]{box-sizing:border-box;padding:0}.markdown-body [type=number]::-webkit-inner-spin-button,.markdown-body [type=number]::-webkit-outer-spin-button{height:auto}.markdown-body [type=search]::-webkit-search-cancel-button,.markdown-body [type=search]::-webkit-search-decoration{-webkit-appearance:none;-moz-appearance:none;appearance:none}.markdown-body ::-webkit-input-placeholder{color:inherit;opacity:.54}.markdown-body ::-webkit-file-upload-button{-webkit-appearance:button;-moz-appearance:button;appearance:button;font:inherit}.markdown-body a:hover{text-decoration:underline}.markdown-body ::-moz-placeholder{color:var(--color-fg-subtle);opacity:1}.markdown-body ::placeholder{color:var(--color-fg-subtle);opacity:1}.markdown-body hr:before{display:table;content:""}.markdown-body hr:after{display:table;clear:both;content:""}.markdown-body table{border-spacing:0;border-collapse:collapse;display:block;width:-moz-max-content;width:max-content;max-width:100%;overflow:auto}.markdown-body td,.markdown-body th{padding:0}.markdown-body details summary{cursor:pointer}.markdown-body details:not([open])>*:not(summary){display:none!important}.markdown-body a:focus,.markdown-body [role=button]:focus,.markdown-body input[type=radio]:focus,.markdown-body input[type=checkbox]:focus{outline:2px solid var(--color-accent-fg);outline-offset:-2px;box-shadow:none}.markdown-body a:focus:not(:focus-visible),.markdown-body [role=button]:focus:not(:focus-visible),.markdown-body input[type=radio]:focus:not(:focus-visible),.markdown-body input[type=checkbox]:focus:not(:focus-visible){outline:solid 1px transparent}.markdown-body a:focus-visible,.markdown-body [role=button]:focus-visible,.markdown-body input[type=radio]:focus-visible,.markdown-body input[type=checkbox]:focus-visible{outline:2px solid var(--color-accent-fg);outline-offset:-2px;box-shadow:none}.markdown-body a:not([class]):focus,.markdown-body a:not([class]):focus-visible,.markdown-body input[type=radio]:focus,.markdown-body input[type=radio]:focus-visible,.markdown-body input[type=checkbox]:focus,.markdown-body input[type=checkbox]:focus-visible{outline-offset:0}.markdown-body kbd{display:inline-block;padding:3px 5px;font:11px ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;line-height:10px;color:var(--color-fg-default);vertical-align:middle;background-color:var(--color-canvas-subtle);border:solid 1px var(--color-neutral-muted);border-bottom-color:var(--color-neutral-muted);border-radius:6px;box-shadow:inset 0 -1px 0 var(--color-neutral-muted)}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{margin-top:24px;margin-bottom:16px;font-weight:var(--base-text-weight-semibold, 600);line-height:1.25}.markdown-body h2{font-weight:var(--base-text-weight-semibold, 600);padding-bottom:.3em;font-size:1.5em;border-bottom:1px solid var(--color-border-muted)}.markdown-body h3{font-weight:var(--base-text-weight-semibold, 600);font-size:1.25em}.markdown-body h4{font-weight:var(--base-text-weight-semibold, 600);font-size:1em}.markdown-body h5{font-weight:var(--base-text-weight-semibold, 600);font-size:.875em}.markdown-body h6{font-weight:var(--base-text-weight-semibold, 600);font-size:.85em;color:var(--color-fg-muted)}.markdown-body p{margin-top:0;margin-bottom:10px}.markdown-body blockquote{margin:0;padding:0 1em;color:var(--color-fg-muted);border-left:.25em solid var(--color-border-default)}.markdown-body ul,.markdown-body ol{margin-top:0;margin-bottom:0;padding-left:2em}.markdown-body ol ol,.markdown-body ul ol{list-style-type:lower-roman}.markdown-body ul ul ol,.markdown-body ul ol ol,.markdown-body ol ul ol,.markdown-body ol ol ol{list-style-type:lower-alpha}.markdown-body dd{margin-left:0}.markdown-body tt,.markdown-body code,.markdown-body samp{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px}.markdown-body pre{margin-top:0;margin-bottom:0;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;word-wrap:normal}.markdown-body .octicon{display:inline-block;overflow:visible!important;vertical-align:text-bottom;fill:currentColor}.markdown-body input::-webkit-outer-spin-button,.markdown-body input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.markdown-body .mr-2{margin-right:var(--base-size-8, 8px)!important}.markdown-body:before{display:table;content:""}.markdown-body:after{display:table;clear:both;content:""}.markdown-body>*:first-child{margin-top:0!important}.markdown-body>*:last-child{margin-bottom:0!important}.markdown-body a:not([href]){color:inherit;text-decoration:none}.markdown-body .absent{color:var(--color-danger-fg)}.markdown-body .anchor{float:left;padding-right:4px;margin-left:-20px;line-height:1}.markdown-body .anchor:focus{outline:none}.markdown-body p,.markdown-body blockquote,.markdown-body ul,.markdown-body ol,.markdown-body dl,.markdown-body table,.markdown-body pre,.markdown-body details{margin-top:0;margin-bottom:16px}.markdown-body blockquote>:first-child{margin-top:0}.markdown-body blockquote>:last-child{margin-bottom:0}.markdown-body h1 .octicon-link,.markdown-body h2 .octicon-link,.markdown-body h3 .octicon-link,.markdown-body h4 .octicon-link,.markdown-body h5 .octicon-link,.markdown-body h6 .octicon-link{color:var(--color-fg-default);vertical-align:middle;visibility:hidden}.markdown-body h1:hover .anchor,.markdown-body h2:hover .anchor,.markdown-body h3:hover .anchor,.markdown-body h4:hover .anchor,.markdown-body h5:hover .anchor,.markdown-body h6:hover .anchor{text-decoration:none}.markdown-body h1:hover .anchor .octicon-link,.markdown-body h2:hover .anchor .octicon-link,.markdown-body h3:hover .anchor .octicon-link,.markdown-body h4:hover .anchor .octicon-link,.markdown-body h5:hover .anchor .octicon-link,.markdown-body h6:hover .anchor .octicon-link{visibility:visible}.markdown-body h1 tt,.markdown-body h1 code,.markdown-body h2 tt,.markdown-body h2 code,.markdown-body h3 tt,.markdown-body h3 code,.markdown-body h4 tt,.markdown-body h4 code,.markdown-body h5 tt,.markdown-body h5 code,.markdown-body h6 tt,.markdown-body h6 code{padding:0 .2em;font-size:inherit}.markdown-body summary h1,.markdown-body summary h2,.markdown-body summary h3,.markdown-body summary h4,.markdown-body summary h5,.markdown-body summary h6{display:inline-block}.markdown-body summary h1 .anchor,.markdown-body summary h2 .anchor,.markdown-body summary h3 .anchor,.markdown-body summary h4 .anchor,.markdown-body summary h5 .anchor,.markdown-body summary h6 .anchor{margin-left:-40px}.markdown-body summary h1,.markdown-body summary h2{padding-bottom:0;border-bottom:0}.markdown-body ul.no-list,.markdown-body ol.no-list{padding:0;list-style-type:none}.markdown-body ol[type="a s"]{list-style-type:lower-alpha}.markdown-body ol[type="A s"]{list-style-type:upper-alpha}.markdown-body ol[type="i s"]{list-style-type:lower-roman}.markdown-body ol[type="I s"]{list-style-type:upper-roman}.markdown-body ol[type="1"]{list-style-type:decimal}.markdown-body div>ol:not([type]){list-style-type:decimal}.markdown-body ul ul,.markdown-body ul ol,.markdown-body ol ol,.markdown-body ol ul{margin-top:0;margin-bottom:0}.markdown-body li>p{margin-top:16px}.markdown-body li+li{margin-top:.25em}.markdown-body dl{padding:0}.markdown-body dl dt{padding:0;margin-top:16px;font-size:1em;font-style:italic;font-weight:var(--base-text-weight-semibold, 600)}.markdown-body dl dd{padding:0 16px;margin-bottom:16px}.markdown-body table th{font-weight:var(--base-text-weight-semibold, 600)}.markdown-body table th,.markdown-body table td{padding:6px 13px;border:1px solid var(--color-border-default)}.markdown-body table td>:last-child{margin-bottom:0}.markdown-body table tr{background-color:var(--color-canvas-default);border-top:1px solid var(--color-border-muted)}.markdown-body table tr:nth-child(2n){background-color:var(--color-canvas-subtle)}.markdown-body table img{background-color:transparent}.markdown-body img[align=right]{padding-left:20px}.markdown-body img[align=left]{padding-right:20px}.markdown-body .emoji{max-width:none;vertical-align:text-top;background-color:transparent}.markdown-body span.frame{display:block;overflow:hidden}.markdown-body span.frame>span{display:block;float:left;width:auto;padding:7px;margin:13px 0 0;overflow:hidden;border:1px solid var(--color-border-default)}.markdown-body span.frame span img{display:block;float:left}.markdown-body span.frame span span{display:block;padding:5px 0 0;clear:both;color:var(--color-fg-default)}.markdown-body span.align-center{display:block;overflow:hidden;clear:both}.markdown-body span.align-center>span{display:block;margin:13px auto 0;overflow:hidden;text-align:center}.markdown-body span.align-center span img{margin:0 auto;text-align:center}.markdown-body span.align-right{display:block;overflow:hidden;clear:both}.markdown-body span.align-right>span{display:block;margin:13px 0 0;overflow:hidden;text-align:right}.markdown-body span.align-right span img{margin:0;text-align:right}.markdown-body span.float-left{display:block;float:left;margin-right:13px;overflow:hidden}.markdown-body span.float-left span{margin:13px 0 0}.markdown-body span.float-right{display:block;float:right;margin-left:13px;overflow:hidden}.markdown-body span.float-right>span{display:block;margin:13px auto 0;overflow:hidden;text-align:right}.markdown-body code,.markdown-body tt{padding:.2em .4em;margin:0;font-size:85%;white-space:break-spaces;background-color:var(--color-neutral-muted);border-radius:6px}.markdown-body code br,.markdown-body tt br{display:none}.markdown-body del code{text-decoration:inherit}.markdown-body samp{font-size:85%}.markdown-body pre code{font-size:100%}.markdown-body pre>code{padding:0;margin:0;word-break:normal;white-space:pre;background:transparent;border:0}.markdown-body .highlight{margin-bottom:16px}.markdown-body .highlight pre{margin-bottom:0;word-break:normal}.markdown-body .highlight pre,.markdown-body pre{padding:16px;overflow:auto;font-size:85%;line-height:1.45;color:var(--color-fg-default);background-color:var(--color-canvas-subtle);border-radius:6px}.markdown-body pre code,.markdown-body pre tt{display:inline;max-width:auto;padding:0;margin:0;overflow:visible;line-height:inherit;word-wrap:normal;background-color:transparent;border:0}.markdown-body .csv-data td,.markdown-body .csv-data th{padding:5px;overflow:hidden;font-size:12px;line-height:1;text-align:left;white-space:nowrap}.markdown-body .csv-data .blob-num{padding:10px 8px 9px;text-align:right;background:var(--color-canvas-default);border:0}.markdown-body .csv-data tr{border-top:0}.markdown-body .csv-data th{font-weight:var(--base-text-weight-semibold, 600);background:var(--color-canvas-subtle);border-top:0}.markdown-body [data-footnote-ref]:before{content:"["}.markdown-body [data-footnote-ref]:after{content:"]"}.markdown-body .footnotes{font-size:12px;color:var(--color-fg-muted);border-top:1px solid var(--color-border-default)}.markdown-body .footnotes ol{padding-left:16px}.markdown-body .footnotes ol ul{display:inline-block;padding-left:16px;margin-top:16px}.markdown-body .footnotes li{position:relative}.markdown-body .footnotes li:target:before{position:absolute;top:-8px;right:-8px;bottom:-8px;left:-24px;pointer-events:none;content:"";border:2px solid var(--color-accent-emphasis);border-radius:6px}.markdown-body .footnotes li:target{color:var(--color-fg-default)}.markdown-body .footnotes .data-footnote-backref g-emoji{font-family:monospace}.markdown-body .pl-c{color:var(--color-prettylights-syntax-comment)}.markdown-body .pl-c1,.markdown-body .pl-s .pl-v{color:var(--color-prettylights-syntax-constant)}.markdown-body .pl-e,.markdown-body .pl-en{color:var(--color-prettylights-syntax-entity)}.markdown-body .pl-smi,.markdown-body .pl-s .pl-s1{color:var(--color-prettylights-syntax-storage-modifier-import)}.markdown-body .pl-ent{color:var(--color-prettylights-syntax-entity-tag)}.markdown-body .pl-k{color:var(--color-prettylights-syntax-keyword)}.markdown-body .pl-s,.markdown-body .pl-pds,.markdown-body .pl-s .pl-pse .pl-s1,.markdown-body .pl-sr,.markdown-body .pl-sr .pl-cce,.markdown-body .pl-sr .pl-sre,.markdown-body .pl-sr .pl-sra{color:var(--color-prettylights-syntax-string)}.markdown-body .pl-v,.markdown-body .pl-smw{color:var(--color-prettylights-syntax-variable)}.markdown-body .pl-bu{color:var(--color-prettylights-syntax-brackethighlighter-unmatched)}.markdown-body .pl-ii{color:var(--color-prettylights-syntax-invalid-illegal-text);background-color:var(--color-prettylights-syntax-invalid-illegal-bg)}.markdown-body .pl-c2{color:var(--color-prettylights-syntax-carriage-return-text);background-color:var(--color-prettylights-syntax-carriage-return-bg)}.markdown-body .pl-sr .pl-cce{font-weight:700;color:var(--color-prettylights-syntax-string-regexp)}.markdown-body .pl-ml{color:var(--color-prettylights-syntax-markup-list)}.markdown-body .pl-mh,.markdown-body .pl-mh .pl-en,.markdown-body .pl-ms{font-weight:700;color:var(--color-prettylights-syntax-markup-heading)}.markdown-body .pl-mi{font-style:italic;color:var(--color-prettylights-syntax-markup-italic)}.markdown-body .pl-mb{font-weight:700;color:var(--color-prettylights-syntax-markup-bold)}.markdown-body .pl-md{color:var(--color-prettylights-syntax-markup-deleted-text);background-color:var(--color-prettylights-syntax-markup-deleted-bg)}.markdown-body .pl-mi1{color:var(--color-prettylights-syntax-markup-inserted-text);background-color:var(--color-prettylights-syntax-markup-inserted-bg)}.markdown-body .pl-mc{color:var(--color-prettylights-syntax-markup-changed-text);background-color:var(--color-prettylights-syntax-markup-changed-bg)}.markdown-body .pl-mi2{color:var(--color-prettylights-syntax-markup-ignored-text);background-color:var(--color-prettylights-syntax-markup-ignored-bg)}.markdown-body .pl-mdr{font-weight:700;color:var(--color-prettylights-syntax-meta-diff-range)}.markdown-body .pl-ba{color:var(--color-prettylights-syntax-brackethighlighter-angle)}.markdown-body .pl-sg{color:var(--color-prettylights-syntax-sublimelinter-gutter-mark)}.markdown-body .pl-corl{text-decoration:underline;color:var(--color-prettylights-syntax-constant-other-reference-link)}.markdown-body g-emoji{display:inline-block;min-width:1ch;font-family:"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;font-size:1em;font-style:normal!important;font-weight:var(--base-text-weight-normal, 400);line-height:1;vertical-align:-.075em}.markdown-body g-emoji img{width:1em;height:1em}.markdown-body .task-list-item{list-style-type:none}.markdown-body .task-list-item label{font-weight:var(--base-text-weight-normal, 400)}.markdown-body .task-list-item.enabled label{cursor:pointer}.markdown-body .task-list-item+.task-list-item{margin-top:4px}.markdown-body .task-list-item .handle{display:none}.markdown-body .task-list-item-checkbox{margin:0 .2em .25em -1.4em;vertical-align:middle}.markdown-body .contains-task-list:dir(rtl) .task-list-item-checkbox{margin:0 -1.6em .25em .2em}.markdown-body .contains-task-list{position:relative}.markdown-body .contains-task-list:hover .task-list-item-convert-container,.markdown-body .contains-task-list:focus-within .task-list-item-convert-container{display:block;width:auto;height:24px;overflow:visible;clip:auto}.markdown-body ::-webkit-calendar-picker-indicator{filter:invert(50%)}.markdown-body .markdown-alert{padding:var(--base-size-8) var(--base-size-16);margin-bottom:16px;color:inherit;border-left:.25em solid var(--color-border-default)}.markdown-body .markdown-alert>:first-child{margin-top:0}.markdown-body .markdown-alert>:last-child{margin-bottom:0}.markdown-body .markdown-alert .markdown-alert-title{display:flex;font-weight:var(--base-text-weight-medium, 500);align-items:center;line-height:1}.markdown-body .markdown-alert.markdown-alert-note{border-left-color:var(--color-accent-emphasis)}.markdown-body .markdown-alert.markdown-alert-note .markdown-alert-title{color:var(--color-accent-fg)}.markdown-body .markdown-alert.markdown-alert-important{border-left-color:var(--color-done-emphasis)}.markdown-body .markdown-alert.markdown-alert-important .markdown-alert-title{color:var(--color-done-fg)}.markdown-body .markdown-alert.markdown-alert-warning{border-left-color:var(--color-attention-emphasis)}.markdown-body .markdown-alert.markdown-alert-warning .markdown-alert-title{color:var(--color-attention-fg)}.markdown-body .markdown-alert.markdown-alert-tip{border-left-color:var(--color-success-emphasis)}.markdown-body .markdown-alert.markdown-alert-tip .markdown-alert-title{color:var(--color-success-fg)}.markdown-body .markdown-alert.markdown-alert-caution{border-left-color:var(--color-danger-emphasis)}.markdown-body .markdown-alert.markdown-alert-caution .markdown-alert-title{color:var(--color-danger-fg)}@font-face{font-family:KaTeX_AMS;src:url(./KaTeX_AMS-Regular-BQhdFMY1.woff2) format("woff2"),url(./KaTeX_AMS-Regular-DMm9YOAa.woff) format("woff"),url(./KaTeX_AMS-Regular-DRggAlZN.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Caligraphic;src:url(./KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2) format("woff2"),url(./KaTeX_Caligraphic-Bold-BEiXGLvX.woff) format("woff"),url(./KaTeX_Caligraphic-Bold-ATXxdsX0.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:KaTeX_Caligraphic;src:url(./KaTeX_Caligraphic-Regular-Di6jR-x-.woff2) format("woff2"),url(./KaTeX_Caligraphic-Regular-CTRA-rTL.woff) format("woff"),url(./KaTeX_Caligraphic-Regular-wX97UBjC.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Fraktur;src:url(./KaTeX_Fraktur-Bold-CL6g_b3V.woff2) format("woff2"),url(./KaTeX_Fraktur-Bold-BsDP51OF.woff) format("woff"),url(./KaTeX_Fraktur-Bold-BdnERNNW.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:KaTeX_Fraktur;src:url(./KaTeX_Fraktur-Regular-CTYiF6lA.woff2) format("woff2"),url(./KaTeX_Fraktur-Regular-Dxdc4cR9.woff) format("woff"),url(./KaTeX_Fraktur-Regular-CB_wures.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Main;src:url(./KaTeX_Main-Bold-Cx986IdX.woff2) format("woff2"),url(./KaTeX_Main-Bold-Jm3AIy58.woff) format("woff"),url(./KaTeX_Main-Bold-waoOVXN0.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:KaTeX_Main;src:url(./KaTeX_Main-BoldItalic-DxDJ3AOS.woff2) format("woff2"),url(./KaTeX_Main-BoldItalic-SpSLRI95.woff) format("woff"),url(./KaTeX_Main-BoldItalic-DzxPMmG6.ttf) format("truetype");font-weight:700;font-style:italic}@font-face{font-family:KaTeX_Main;src:url(./KaTeX_Main-Italic-NWA7e6Wa.woff2) format("woff2"),url(./KaTeX_Main-Italic-BMLOBm91.woff) format("woff"),url(./KaTeX_Main-Italic-3WenGoN9.ttf) format("truetype");font-weight:400;font-style:italic}@font-face{font-family:KaTeX_Main;src:url(./KaTeX_Main-Regular-B22Nviop.woff2) format("woff2"),url(./KaTeX_Main-Regular-Dr94JaBh.woff) format("woff"),url(./KaTeX_Main-Regular-ypZvNtVU.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Math;src:url(./KaTeX_Math-BoldItalic-CZnvNsCZ.woff2) format("woff2"),url(./KaTeX_Math-BoldItalic-iY-2wyZ7.woff) format("woff"),url(./KaTeX_Math-BoldItalic-B3XSjfu4.ttf) format("truetype");font-weight:700;font-style:italic}@font-face{font-family:KaTeX_Math;src:url(./KaTeX_Math-Italic-t53AETM-.woff2) format("woff2"),url(./KaTeX_Math-Italic-DA0__PXp.woff) format("woff"),url(./KaTeX_Math-Italic-flOr_0UB.ttf) format("truetype");font-weight:400;font-style:italic}@font-face{font-family:KaTeX_SansSerif;src:url(./KaTeX_SansSerif-Bold-D1sUS0GD.woff2) format("woff2"),url(./KaTeX_SansSerif-Bold-DbIhKOiC.woff) format("woff"),url(./KaTeX_SansSerif-Bold-CFMepnvq.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:KaTeX_SansSerif;src:url(./KaTeX_SansSerif-Italic-C3H0VqGB.woff2) format("woff2"),url(./KaTeX_SansSerif-Italic-DN2j7dab.woff) format("woff"),url(./KaTeX_SansSerif-Italic-YYjJ1zSn.ttf) format("truetype");font-weight:400;font-style:italic}@font-face{font-family:KaTeX_SansSerif;src:url(./KaTeX_SansSerif-Regular-DDBCnlJ7.woff2) format("woff2"),url(./KaTeX_SansSerif-Regular-CS6fqUqJ.woff) format("woff"),url(./KaTeX_SansSerif-Regular-BNo7hRIc.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Script;src:url(./KaTeX_Script-Regular-D3wIWfF6.woff2) format("woff2"),url(./KaTeX_Script-Regular-D5yQViql.woff) format("woff"),url(./KaTeX_Script-Regular-C5JkGWo-.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size1;src:url(./KaTeX_Size1-Regular-mCD8mA8B.woff2) format("woff2"),url(./KaTeX_Size1-Regular-C195tn64.woff) format("woff"),url(./KaTeX_Size1-Regular-Dbsnue_I.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size2;src:url(./KaTeX_Size2-Regular-Dy4dx90m.woff2) format("woff2"),url(./KaTeX_Size2-Regular-oD1tc_U0.woff) format("woff"),url(./KaTeX_Size2-Regular-B7gKUWhC.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size3;src:url(data:font/woff2;base64,d09GMgABAAAAAA4oAA4AAAAAHbQAAA3TAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAABmAAgRQIDgmcDBEICo1oijYBNgIkA14LMgAEIAWJAAeBHAyBHBvbGiMRdnO0IkRRkiYDgr9KsJ1NUAf2kILNxgUmgqIgq1P89vcbIcmsQbRps3vCcXdYOKSWEPEKgZgQkprQQsxIXUgq0DqpGKmIvrgkeVGtEQD9DzAO29fM9jYhxZEsL2FeURH2JN4MIcTdO049NCVdxQ/w9NrSYFEBKTDKpLKfNkCGDc1RwjZLQcm3vqJ2UW9Xfa3tgAHz6ivp6vgC2yD4/6352ndnN0X0TL7seypkjZlMsjmZnf0Mm5Q+JykRWQBKCVCVPbARPXWyQtb5VgLB6Biq7/Uixcj2WGqdI8tGSgkuRG+t910GKP2D7AQH0DB9FMDW/obJZ8giFI3Wg8Cvevz0M+5m0rTh7XDBlvo9Y4vm13EXmfttwI4mBo1EG15fxJhUiCLbiiyCf/ZA6MFAhg3pGIZGdGIVjtPn6UcMk9A/UUr9PhoNsCENw1APAq0gpH73e+M+0ueyHbabc3vkbcdtzcf/fiy+NxQEjf9ud/ELBHAXJ0nk4z+MXH2Ev/kWyV4k7SkvpPc9Qr38F6RPWnM9cN6DJ0AdD1BhtgABtmoRoFCvPsBAumNm6soZG2Gk5GyVTo2sJncSyp0jQTYoR6WDvTwaaEcHsxHfvuWhHA3a6bN7twRKtcGok6NsCi7jYRrM2jExsUFMxMQYuJbMhuWNOumEJy9hi29Dmg5zMp/A5+hhPG19j1vBrq8JTLr8ki5VLPmG/PynJHVul440bxg5xuymHUFPBshC+nA9I1FmwbRBTNHAcik3Oae0cxKoI3MOriM42UrPe51nsaGxJ+WfXubAsP84aabUlQSJ1IiE0iPETLUU4CATgfXSCSpuRFRmCGbO+wSpAnzaeaCYW1VNEysRtuXCEL1kUFUbbtMv3Tilt/1c11jt3Q5bbMa84cpWipp8Elw3MZhOHsOlwwVUQM3lAR35JiFQbaYCRnMF2lxAWoOg2gyoIV4PouX8HytNIfLhqpJtXB4vjiViUI8IJ7bkC4ikkQvKksnOTKICwnqWSZ9YS5f0WCxmpgjbIq7EJcM4aI2nmhLNY2JIUgOjXZFWBHb+x5oh6cwb0Tv1ackHdKi0I9OO2wE9aogIOn540CCCziyhN+IaejtgAONKznHlHyutPrHGwCx9S6B8kfS4Mfi4Eyv7OU730bT1SCBjt834cXsf43zVjPUqqJjgrjeGnBxSG4aYAKFuVbeCfkDIjAqMb6yLNIbCuvXhMH2/+k2vkNpkORhR59N1CkzoOENvneIosjYmuTxlhUzaGEJQ/iWqx4dmwpmKjrwTiTGTCVozNAYqk/zXOndWxuWSmJkQpJw3pK5KX6QrLt5LATMqpmPAQhkhK6PUjzHUn7E0gHE0kPE0iKkolgkUx9SZmVAdDgpffdyJKg3k7VmzYGCwVXGz/tXmkOIp+vcWs+EMuhhvN0h9uhfzWJziBQmCREGSIFmQIkgVpAnSBRmC//6hkLZwaVhwxlrJSOdqlFtOYxlau9F2QN5Y98xmIAsiM1HVp2VFX+DHHGg6Ecjh3vmqtidX3qHI2qycTk/iwxSt5UzTmEP92ZBnEWTk4Mx8Mpl78ZDokxg/KWb+Q0QkvdKVmq3TMW+RXEgrsziSAfNXFMhDc60N5N9jQzjfO0kBKpUZl0ZmwJ41j/B9Hz6wmRaJB84niNmQrzp9eSlQCDDzazGDdVi3P36VZQ+Jy4f9UBNp+3zTjqI4abaFAm+GShVaXlsGdF3FYzZcDI6cori4kMxUECl9IjJZpzkvitAoxKue+90pDMvcKRxLl53TmOKCmV/xRolNKSqqUxc6LStOETmFOiLZZptlZepcKiAzteG8PEdpnQpbOMNcMsR4RR2Bs0cKFEvSmIjAFcnarqwUL4lDhHmnVkwu1IwshbiCcgvOheZuYyOteufZZwlcTlLgnZ3o/WcYdzZHW/WGaqaVfmTZ1aWCceJjkbZqsfbkOtcFlUZM/jy+hXHDbaUobWqqXaeWobbLO99yG5N3U4wxco0rQGGcOLASFMXeJoham8M+/x6O2WywK2l4HGbq1CoUyC/IZikQhdq3SiuNrvAEj0AVu9x2x3lp/xWzahaxidezFVtdcb5uEnzyl0ZmYiuKI0exvCd4Xc9CV1KB0db00z92wDPde0kukbvZIWN6jUWFTmPIC/Y4UPCm8UfDTFZpZNon1qLFTkBhxzB+FjQRA2Q/YRJT8pQigslMaUpFyAG8TMlXigiqmAZX4xgijKjRlGpLE0GdplRfCaJo0JQaSxNBk6ZmMzcya0FmrcisDdn0Q3HI2sWSppYigmlM1XT/kLQZSNpMJG0WkjYbSZuDpM1F0uYhFc1HxU4m1QJjDK6iL0S5uSj5rgXc3RejEigtcRBtqYPQsiTskmO5vosV+q4VGIKbOkDg0jtRrq+Em1YloaTFar3EGr1EUC8R0kus1Uus00usL97ABr2BjXoDm/QGNhuWtMVBKOwg/i78lT7hBsAvDmwHc/ao3vmUbBmhjeYySZNWvGkfZAgISDSaDo1SVpzGDsAEkF8B+gEapViUoZgUWXcRIGFZNm6gWbAKk0bp0k1MHG9fLYtV4iS2SmLEQFARzRcnf9PUS0LVn05/J9MiRRBU3v2IrvW974v4N00L7ZMk0wXP1409CHo/an8zTRHD3eSJ6m8D4YMkZNl3M79sqeuAsr/m3f+8/yl7A50aiAEJgeBeMWzu7ui9UfUBCe2TIqZIoOd/3/udRBOQidQZUERzb2/VwZN1H/Sju82ew2H2Wfr6qvfVf3hqwDvAIpkQVFy4B9Pe9e4/XvPeceu7h3dvO56iJPf0+A6cqA2ip18ER+iFgggiuOkvj24bby0N9j2UHIkgqIt+sVgfodC4YghLSMjSZbH0VR/6dMDrYJeKHilKTemt6v6kvzvn3/RrdWtr0GoN/xL+Sex/cPYLUpepx9cz/D46UPU5KXgAQa+NDps1v6J3xP1i2HtaDB0M9aX2deA7SYff//+gUCovMmIK/qfsFcOk+4Y5ZN97XlG6zebqtMbKgeRFi51vnxTQYBUik2rS/Cn6PC8ADR8FGxsRPB82dzfND90gIcshOcYUkfjherBz53odpm6TP8txlwOZ71xmfHHOvq053qFF/MRlS3jP0ELudrf2OeN8DHvp6ZceLe8qKYvWz/7yp0u4dKPfli3CYq0O13Ih71mylJ80tOi10On8wi+F4+LWgDPeJ30msSQt9/vkmHq9/Lvo2b461mP801v3W4xTcs6CbvF9UDdrSt+A8OUbpSh55qAUFXWznBBfdeJ8a4d7ugT5tvxUza3h9m4H7ptTqiG4z0g5dc0X29OcGlhpGFMpQo9ytTS+NViZpNdvU4kWx+LKxNY10kQ1yqGXrhe4/1nvP7E+nd5A92TtaRplbHSqoIdOqtRWti+fkB5/n1+/VvCmz12pG1kpQWsfi1ftlBobm0bpngs16CHkbIwdLnParxtTV3QYRlfJ0KFskH7pdN/YDn+yRuSd7sNH3aO0DYPggk6uWuXrfOc+fa3VTxFVvKaNxHsiHmsXyCLIE5yuOeN3/Jdf8HBL/5M6shjyhxHx9BjB1O0+4NLOnjLLSxwO7ukN4jMbOIcD879KLSi6Pk61Oqm2377n8079PXEEQ7cy7OKEC9nbpet118fxweTafpt69x/Bt8UqGzNQt7aelpc44dn5cqhwf71+qKp/Zf/+a0zcizOUWpl/iBcSXip0pplkatCchoH5c5aUM8I7/dWxAej8WicPL1URFZ9BDJelUwEwTkGqUhgSlydVes95YdXvhh9Gfz/aeFWvgVb4tuLbcv4+wLdutVZv/cUonwBD/6eDlE0aSiKK/uoH3+J1wDE/jMVqY2ysGufN84oIXB0sPzy8ollX/LegY74DgJXJR57sn+VGza0x3DnuIgABFM15LmajjjsNlYj+JEZGbuRYcAMOWxFkPN2w6Wd46xo4gVWQR/X4lyI/R6K/YK0110GzudPRW7Y+UOBGTfNNzHeYT0fiH0taunBpq9HEW8OKSaBGj21L0MqenEmNRWBAWDWAk4CpNoEZJ2tTaPFgbQYj8HxtFilErs3BTRwT8uO1NXQaWfIotchmPkAF5mMBAliEmZiOGVgCG9LgRzpscMAOOwowlT3JhusdazXGSC/hxR3UlmWVwWHpOIKheqONvjyhSiTHIkVUco5bnji8m//zL7PKaT1Vl5I6UE609f+gkr6MZKVyKc7zJRmCahLsdlyA5fdQkRSan9LgnnLEyGSkaKJCJog0wAgvepWBt80+1yKln1bMVtCljfNWDueKLsWwaEbBSfSPTEmVRsUcYYMnEjcjeyCZzBXK9E9BYBXLKjOSpUDR+nEV3TFSUdQaz+ot98QxgXwx0GQ+EEUAKB2qZPkQQ0GqFD8UPFMqyaCHM24BZmSGic9EYMagKizOw9Hz50DMrDLrqqLkTAhplMictiCAx5S3BIUQdeJeLnBy2CNtMfz6cV4u8XKoFZQesbf9YZiIERiHjaNodDW6LgcirX/mPnJIkBGDUpTBhSa0EIr38D5hCIszhCM8URGBqImoWjpvpt1ebu/v3Gl3qJfMnNM+9V+kiRFyROTPHQWOcs1dNW94/ukKMPZBvDi55i5CttdeJz84DLngLqjcdwEZ87bFFR8CIG35OAkDVN6VRDZ7aq67NteYqZ2lpT8oYB2CytoBd6VuAx4WgiAsnuj3WohG+LugzXiQRDeM3XYXlULv4dp5VFYC) format("woff2"),url(./KaTeX_Size3-Regular-CTq5MqoE.woff) format("woff"),url(./KaTeX_Size3-Regular-DgpXs0kz.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size4;src:url(./KaTeX_Size4-Regular-Dl5lxZxV.woff2) format("woff2"),url(./KaTeX_Size4-Regular-BF-4gkZK.woff) format("woff"),url(./KaTeX_Size4-Regular-DWFBv043.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Typewriter;src:url(./KaTeX_Typewriter-Regular-CO6r4hn1.woff2) format("woff2"),url(./KaTeX_Typewriter-Regular-C0xS9mPB.woff) format("woff"),url(./KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf) format("truetype");font-weight:400;font-style:normal}.katex{font: 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0;text-rendering:auto}.katex *{-ms-high-contrast-adjust:none!important;border-color:currentColor}.katex .katex-version:after{content:"0.16.21"}.katex .katex-mathml{position:absolute;clip:rect(1px,1px,1px,1px);padding:0;border:0;height:1px;width:1px;overflow:hidden}.katex .katex-html>.newline{display:block}.katex .base{position:relative;display:inline-block;white-space:nowrap;width:-moz-min-content;width:min-content}.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-weight:700;font-style:italic}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathboldfrak,.katex .textboldfrak{font-family:KaTeX_Fraktur;font-weight:700}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathsfit,.katex .mathitsf,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{display:inline-table;table-layout:fixed;border-collapse:collapse}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;vertical-align:bottom;position:relative}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;vertical-align:bottom;font-size:1px;width:2px;min-width:2px}.katex .vbox{display:inline-flex;flex-direction:column;align-items:baseline}.katex .hbox{display:inline-flex;flex-direction:row;width:100%}.katex .thinbox{display:inline-flex;flex-direction:row;width:0;max-width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{display:inline-block;width:100%;border-bottom-style:solid}.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .underline .underline-line,.katex .hline,.katex .hdashline,.katex .rule{min-height:1px}.katex .mspace{display:inline-block}.katex .llap,.katex .rlap,.katex .clap{width:0;position:relative}.katex .llap>.inner,.katex .rlap>.inner,.katex .clap>.inner{position:absolute}.katex .llap>.fix,.katex .rlap>.fix,.katex .clap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .rlap>.inner,.katex .clap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{display:inline-block;border:solid 0;position:relative}.katex .overline .overline-line,.katex .underline .underline-line,.katex .hline{display:inline-block;width:100%;border-bottom-style:solid}.katex .hdashline{display:inline-block;width:100%;border-bottom-style:dashed}.katex .sqrt>.root{margin-left:.2777777778em;margin-right:-.5555555556em}.katex .sizing.reset-size1.size1,.katex .fontsize-ensurer.reset-size1.size1{font-size:1em}.katex .sizing.reset-size1.size2,.katex .fontsize-ensurer.reset-size1.size2{font-size:1.2em}.katex .sizing.reset-size1.size3,.katex .fontsize-ensurer.reset-size1.size3{font-size:1.4em}.katex .sizing.reset-size1.size4,.katex .fontsize-ensurer.reset-size1.size4{font-size:1.6em}.katex .sizing.reset-size1.size5,.katex .fontsize-ensurer.reset-size1.size5{font-size:1.8em}.katex .sizing.reset-size1.size6,.katex .fontsize-ensurer.reset-size1.size6{font-size:2em}.katex .sizing.reset-size1.size7,.katex .fontsize-ensurer.reset-size1.size7{font-size:2.4em}.katex .sizing.reset-size1.size8,.katex .fontsize-ensurer.reset-size1.size8{font-size:2.88em}.katex .sizing.reset-size1.size9,.katex .fontsize-ensurer.reset-size1.size9{font-size:3.456em}.katex .sizing.reset-size1.size10,.katex .fontsize-ensurer.reset-size1.size10{font-size:4.148em}.katex .sizing.reset-size1.size11,.katex .fontsize-ensurer.reset-size1.size11{font-size:4.976em}.katex .sizing.reset-size2.size1,.katex .fontsize-ensurer.reset-size2.size1{font-size:.8333333333em}.katex .sizing.reset-size2.size2,.katex .fontsize-ensurer.reset-size2.size2{font-size:1em}.katex .sizing.reset-size2.size3,.katex .fontsize-ensurer.reset-size2.size3{font-size:1.1666666667em}.katex .sizing.reset-size2.size4,.katex .fontsize-ensurer.reset-size2.size4{font-size:1.3333333333em}.katex .sizing.reset-size2.size5,.katex .fontsize-ensurer.reset-size2.size5{font-size:1.5em}.katex .sizing.reset-size2.size6,.katex .fontsize-ensurer.reset-size2.size6{font-size:1.6666666667em}.katex .sizing.reset-size2.size7,.katex .fontsize-ensurer.reset-size2.size7{font-size:2em}.katex .sizing.reset-size2.size8,.katex .fontsize-ensurer.reset-size2.size8{font-size:2.4em}.katex .sizing.reset-size2.size9,.katex .fontsize-ensurer.reset-size2.size9{font-size:2.88em}.katex .sizing.reset-size2.size10,.katex .fontsize-ensurer.reset-size2.size10{font-size:3.4566666667em}.katex .sizing.reset-size2.size11,.katex .fontsize-ensurer.reset-size2.size11{font-size:4.1466666667em}.katex .sizing.reset-size3.size1,.katex .fontsize-ensurer.reset-size3.size1{font-size:.7142857143em}.katex .sizing.reset-size3.size2,.katex .fontsize-ensurer.reset-size3.size2{font-size:.8571428571em}.katex .sizing.reset-size3.size3,.katex .fontsize-ensurer.reset-size3.size3{font-size:1em}.katex .sizing.reset-size3.size4,.katex .fontsize-ensurer.reset-size3.size4{font-size:1.1428571429em}.katex .sizing.reset-size3.size5,.katex .fontsize-ensurer.reset-size3.size5{font-size:1.2857142857em}.katex .sizing.reset-size3.size6,.katex .fontsize-ensurer.reset-size3.size6{font-size:1.4285714286em}.katex .sizing.reset-size3.size7,.katex .fontsize-ensurer.reset-size3.size7{font-size:1.7142857143em}.katex .sizing.reset-size3.size8,.katex .fontsize-ensurer.reset-size3.size8{font-size:2.0571428571em}.katex .sizing.reset-size3.size9,.katex .fontsize-ensurer.reset-size3.size9{font-size:2.4685714286em}.katex .sizing.reset-size3.size10,.katex .fontsize-ensurer.reset-size3.size10{font-size:2.9628571429em}.katex .sizing.reset-size3.size11,.katex .fontsize-ensurer.reset-size3.size11{font-size:3.5542857143em}.katex .sizing.reset-size4.size1,.katex .fontsize-ensurer.reset-size4.size1{font-size:.625em}.katex .sizing.reset-size4.size2,.katex .fontsize-ensurer.reset-size4.size2{font-size:.75em}.katex .sizing.reset-size4.size3,.katex .fontsize-ensurer.reset-size4.size3{font-size:.875em}.katex .sizing.reset-size4.size4,.katex .fontsize-ensurer.reset-size4.size4{font-size:1em}.katex .sizing.reset-size4.size5,.katex .fontsize-ensurer.reset-size4.size5{font-size:1.125em}.katex .sizing.reset-size4.size6,.katex .fontsize-ensurer.reset-size4.size6{font-size:1.25em}.katex .sizing.reset-size4.size7,.katex .fontsize-ensurer.reset-size4.size7{font-size:1.5em}.katex .sizing.reset-size4.size8,.katex .fontsize-ensurer.reset-size4.size8{font-size:1.8em}.katex .sizing.reset-size4.size9,.katex .fontsize-ensurer.reset-size4.size9{font-size:2.16em}.katex .sizing.reset-size4.size10,.katex .fontsize-ensurer.reset-size4.size10{font-size:2.5925em}.katex .sizing.reset-size4.size11,.katex .fontsize-ensurer.reset-size4.size11{font-size:3.11em}.katex .sizing.reset-size5.size1,.katex .fontsize-ensurer.reset-size5.size1{font-size:.5555555556em}.katex .sizing.reset-size5.size2,.katex .fontsize-ensurer.reset-size5.size2{font-size:.6666666667em}.katex .sizing.reset-size5.size3,.katex .fontsize-ensurer.reset-size5.size3{font-size:.7777777778em}.katex .sizing.reset-size5.size4,.katex .fontsize-ensurer.reset-size5.size4{font-size:.8888888889em}.katex .sizing.reset-size5.size5,.katex .fontsize-ensurer.reset-size5.size5{font-size:1em}.katex .sizing.reset-size5.size6,.katex .fontsize-ensurer.reset-size5.size6{font-size:1.1111111111em}.katex .sizing.reset-size5.size7,.katex .fontsize-ensurer.reset-size5.size7{font-size:1.3333333333em}.katex .sizing.reset-size5.size8,.katex .fontsize-ensurer.reset-size5.size8{font-size:1.6em}.katex .sizing.reset-size5.size9,.katex .fontsize-ensurer.reset-size5.size9{font-size:1.92em}.katex .sizing.reset-size5.size10,.katex .fontsize-ensurer.reset-size5.size10{font-size:2.3044444444em}.katex .sizing.reset-size5.size11,.katex .fontsize-ensurer.reset-size5.size11{font-size:2.7644444444em}.katex .sizing.reset-size6.size1,.katex .fontsize-ensurer.reset-size6.size1{font-size:.5em}.katex .sizing.reset-size6.size2,.katex .fontsize-ensurer.reset-size6.size2{font-size:.6em}.katex .sizing.reset-size6.size3,.katex .fontsize-ensurer.reset-size6.size3{font-size:.7em}.katex .sizing.reset-size6.size4,.katex .fontsize-ensurer.reset-size6.size4{font-size:.8em}.katex .sizing.reset-size6.size5,.katex .fontsize-ensurer.reset-size6.size5{font-size:.9em}.katex .sizing.reset-size6.size6,.katex .fontsize-ensurer.reset-size6.size6{font-size:1em}.katex .sizing.reset-size6.size7,.katex .fontsize-ensurer.reset-size6.size7{font-size:1.2em}.katex .sizing.reset-size6.size8,.katex .fontsize-ensurer.reset-size6.size8{font-size:1.44em}.katex .sizing.reset-size6.size9,.katex .fontsize-ensurer.reset-size6.size9{font-size:1.728em}.katex .sizing.reset-size6.size10,.katex .fontsize-ensurer.reset-size6.size10{font-size:2.074em}.katex .sizing.reset-size6.size11,.katex .fontsize-ensurer.reset-size6.size11{font-size:2.488em}.katex .sizing.reset-size7.size1,.katex .fontsize-ensurer.reset-size7.size1{font-size:.4166666667em}.katex .sizing.reset-size7.size2,.katex .fontsize-ensurer.reset-size7.size2{font-size:.5em}.katex .sizing.reset-size7.size3,.katex .fontsize-ensurer.reset-size7.size3{font-size:.5833333333em}.katex .sizing.reset-size7.size4,.katex .fontsize-ensurer.reset-size7.size4{font-size:.6666666667em}.katex .sizing.reset-size7.size5,.katex .fontsize-ensurer.reset-size7.size5{font-size:.75em}.katex .sizing.reset-size7.size6,.katex .fontsize-ensurer.reset-size7.size6{font-size:.8333333333em}.katex .sizing.reset-size7.size7,.katex .fontsize-ensurer.reset-size7.size7{font-size:1em}.katex .sizing.reset-size7.size8,.katex .fontsize-ensurer.reset-size7.size8{font-size:1.2em}.katex .sizing.reset-size7.size9,.katex .fontsize-ensurer.reset-size7.size9{font-size:1.44em}.katex .sizing.reset-size7.size10,.katex .fontsize-ensurer.reset-size7.size10{font-size:1.7283333333em}.katex .sizing.reset-size7.size11,.katex .fontsize-ensurer.reset-size7.size11{font-size:2.0733333333em}.katex .sizing.reset-size8.size1,.katex .fontsize-ensurer.reset-size8.size1{font-size:.3472222222em}.katex .sizing.reset-size8.size2,.katex .fontsize-ensurer.reset-size8.size2{font-size:.4166666667em}.katex .sizing.reset-size8.size3,.katex .fontsize-ensurer.reset-size8.size3{font-size:.4861111111em}.katex .sizing.reset-size8.size4,.katex .fontsize-ensurer.reset-size8.size4{font-size:.5555555556em}.katex .sizing.reset-size8.size5,.katex .fontsize-ensurer.reset-size8.size5{font-size:.625em}.katex .sizing.reset-size8.size6,.katex .fontsize-ensurer.reset-size8.size6{font-size:.6944444444em}.katex .sizing.reset-size8.size7,.katex .fontsize-ensurer.reset-size8.size7{font-size:.8333333333em}.katex .sizing.reset-size8.size8,.katex .fontsize-ensurer.reset-size8.size8{font-size:1em}.katex .sizing.reset-size8.size9,.katex .fontsize-ensurer.reset-size8.size9{font-size:1.2em}.katex .sizing.reset-size8.size10,.katex .fontsize-ensurer.reset-size8.size10{font-size:1.4402777778em}.katex .sizing.reset-size8.size11,.katex .fontsize-ensurer.reset-size8.size11{font-size:1.7277777778em}.katex .sizing.reset-size9.size1,.katex .fontsize-ensurer.reset-size9.size1{font-size:.2893518519em}.katex .sizing.reset-size9.size2,.katex .fontsize-ensurer.reset-size9.size2{font-size:.3472222222em}.katex .sizing.reset-size9.size3,.katex .fontsize-ensurer.reset-size9.size3{font-size:.4050925926em}.katex .sizing.reset-size9.size4,.katex .fontsize-ensurer.reset-size9.size4{font-size:.462962963em}.katex .sizing.reset-size9.size5,.katex .fontsize-ensurer.reset-size9.size5{font-size:.5208333333em}.katex .sizing.reset-size9.size6,.katex .fontsize-ensurer.reset-size9.size6{font-size:.5787037037em}.katex .sizing.reset-size9.size7,.katex .fontsize-ensurer.reset-size9.size7{font-size:.6944444444em}.katex .sizing.reset-size9.size8,.katex .fontsize-ensurer.reset-size9.size8{font-size:.8333333333em}.katex .sizing.reset-size9.size9,.katex .fontsize-ensurer.reset-size9.size9{font-size:1em}.katex .sizing.reset-size9.size10,.katex .fontsize-ensurer.reset-size9.size10{font-size:1.2002314815em}.katex .sizing.reset-size9.size11,.katex .fontsize-ensurer.reset-size9.size11{font-size:1.4398148148em}.katex .sizing.reset-size10.size1,.katex .fontsize-ensurer.reset-size10.size1{font-size:.2410800386em}.katex .sizing.reset-size10.size2,.katex .fontsize-ensurer.reset-size10.size2{font-size:.2892960463em}.katex .sizing.reset-size10.size3,.katex .fontsize-ensurer.reset-size10.size3{font-size:.337512054em}.katex .sizing.reset-size10.size4,.katex .fontsize-ensurer.reset-size10.size4{font-size:.3857280617em}.katex .sizing.reset-size10.size5,.katex .fontsize-ensurer.reset-size10.size5{font-size:.4339440694em}.katex .sizing.reset-size10.size6,.katex .fontsize-ensurer.reset-size10.size6{font-size:.4821600771em}.katex .sizing.reset-size10.size7,.katex .fontsize-ensurer.reset-size10.size7{font-size:.5785920926em}.katex .sizing.reset-size10.size8,.katex .fontsize-ensurer.reset-size10.size8{font-size:.6943105111em}.katex .sizing.reset-size10.size9,.katex .fontsize-ensurer.reset-size10.size9{font-size:.8331726133em}.katex .sizing.reset-size10.size10,.katex .fontsize-ensurer.reset-size10.size10{font-size:1em}.katex .sizing.reset-size10.size11,.katex .fontsize-ensurer.reset-size10.size11{font-size:1.1996142719em}.katex .sizing.reset-size11.size1,.katex .fontsize-ensurer.reset-size11.size1{font-size:.2009646302em}.katex .sizing.reset-size11.size2,.katex .fontsize-ensurer.reset-size11.size2{font-size:.2411575563em}.katex .sizing.reset-size11.size3,.katex .fontsize-ensurer.reset-size11.size3{font-size:.2813504823em}.katex .sizing.reset-size11.size4,.katex .fontsize-ensurer.reset-size11.size4{font-size:.3215434084em}.katex .sizing.reset-size11.size5,.katex .fontsize-ensurer.reset-size11.size5{font-size:.3617363344em}.katex .sizing.reset-size11.size6,.katex .fontsize-ensurer.reset-size11.size6{font-size:.4019292605em}.katex .sizing.reset-size11.size7,.katex .fontsize-ensurer.reset-size11.size7{font-size:.4823151125em}.katex .sizing.reset-size11.size8,.katex .fontsize-ensurer.reset-size11.size8{font-size:.578778135em}.katex .sizing.reset-size11.size9,.katex .fontsize-ensurer.reset-size11.size9{font-size:.6945337621em}.katex .sizing.reset-size11.size10,.katex .fontsize-ensurer.reset-size11.size10{font-size:.8336012862em}.katex .sizing.reset-size11.size11,.katex .fontsize-ensurer.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{display:inline-block;width:.12em}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .op-limits>.vlist-t{text-align:center}.katex .accent>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{display:inline-block;min-width:1px}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{display:block;position:absolute;width:100%;height:inherit;fill:currentColor;stroke:currentColor;fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1}.katex svg path{stroke:none}.katex img{border-style:none;min-width:0;min-height:0;max-width:none;max-height:none}.katex .stretchy{width:100%;display:block;position:relative;overflow:hidden}.katex .stretchy:before,.katex .stretchy:after{content:""}.katex .hide-tail{width:100%;position:relative;overflow:hidden}.katex .halfarrow-left{position:absolute;left:0;width:50.2%;overflow:hidden}.katex .halfarrow-right{position:absolute;right:0;width:50.2%;overflow:hidden}.katex .brace-left{position:absolute;left:0;width:25.1%;overflow:hidden}.katex .brace-center{position:absolute;left:25%;width:50%;overflow:hidden}.katex .brace-right{position:absolute;right:0;width:25.1%;overflow:hidden}.katex .x-arrow-pad{padding:0 .5em}.katex .cd-arrow-pad{padding:0 .55556em 0 .27778em}.katex .x-arrow,.katex .mover,.katex .munder{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{box-sizing:border-box;border:.04em solid}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex .angl{box-sizing:border-box;border-top:.049em solid;border-right:.049em solid;margin-right:.03889em}.katex .anglpad{padding:0 .03889em}.katex .eqn-num:before{counter-increment:katexEqnNo;content:"(" counter(katexEqnNo) ")"}.katex .mml-eqn-num:before{counter-increment:mmlEqnNo;content:"(" counter(mmlEqnNo) ")"}.katex .mtr-glue{width:50%}.katex .cd-vert-arrow{display:inline-block;position:relative}.katex .cd-label-left{display:inline-block;position:absolute;right:calc(50% + .3em);text-align:left}.katex .cd-label-right{display:inline-block;position:absolute;left:calc(50% + .3em);text-align:right}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{text-align:left;padding-left:2em}body{counter-reset:katexEqnNo mmlEqnNo}:root[theme-mode=dark]{--td-component-border: #30363d;--td-bg-color-container: #010409;--td-bg-color-page: #161b22}body{color:var(--td-text-color-secondary);font:var(--td-font-body-medium);font-family:-apple-system,BlinkMacSystemFont,var(--td-font-family);-webkit-font-smoothing:antialiased;padding:0;margin:0}.bg-color-page{background:var(--td-bg-color-page)}.bg-color-container{background-color:var(--td-bg-color-container)}.brand-color{background-color:var(--td-brand-color)}.brand-color-light{background-color:var(--td-brand-color-light)}.bg-color-container-active{background-color:var(--td-bg-color-container-active)}.bg-color-specialcomponent{background-color:var(--td-bg-color-specialcomponent)}.bordered{border:1px solid var(--td-component-border)}.bordered-bottom{border-bottom:1px solid var(--td-component-border)}.text-color-primary{color:var(--td-text-color-primary)}.text-color-secondary{color:var(--td-text-color-secondary)}.text-color-anti{color:var(--td-text-color-anti)}.t-layout__sider{width:-moz-fit-content;width:fit-content}.tdesign-starter-sidebar-layout{height:100%}.tdesign-starter-content-layout{padding:var(--td-comp-paddingTB-m) var(--td-comp-paddingLR-m)}.tdesign-starter-footer-layout{padding:0;margin-bottom:var(--td-comp-margin-xxl)}.light .tdesign-starter-content-layout{background-image:linear-gradient(to right,var(--tw-gradient-stops));--tw-gradient-from: #e0e7ff var(--tw-gradient-from-position);--tw-gradient-to: rgb(224 231 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.dark .tdesign-starter-content-layout{background-image:linear-gradient(to right,var(--tw-gradient-stops));--tw-gradient-from: #1e293b var(--tw-gradient-from-position);--tw-gradient-to: rgb(30 41 59 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #334155 var(--tw-gradient-to-position)}.light .tdesign-starter-sidebar-layout{background-image:linear-gradient(to right,var(--tw-gradient-stops));--tw-gradient-from: #c7d2fe var(--tw-gradient-from-position);--tw-gradient-to: rgb(199 210 254 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #eef2ff var(--tw-gradient-to-position)}.dark .tdesign-starter-sidebar-layout{background-image:linear-gradient(to right,var(--tw-gradient-stops));--tw-gradient-from: #020617 var(--tw-gradient-from-position);--tw-gradient-to: rgb(2 6 23 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #0f172a var(--tw-gradient-to-position)}.light .chat-model-header{--tw-shadow-color: #e2e8f0;--tw-shadow: var(--tw-shadow-colored)}.dark .chat-model-header{--tw-shadow-color: #334155;--tw-shadow: var(--tw-shadow-colored)}.light .user-chat-content{background-image:linear-gradient(to right,var(--tw-gradient-stops));--tw-gradient-from: rgb(224 231 255 / .8) var(--tw-gradient-from-position);--tw-gradient-to: rgb(224 231 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #eef2ff var(--tw-gradient-to-position)}.dark .user-chat-content{background-color:var(--td-bg-color-page)}.light .note-content .bg-color-page{border:none}.dark .note-content .bg-color-page{background-color:transparent}.markdown-body ol,.markdown-body ul{list-style:revert}.markdown-body pre>::-webkit-scrollbar,.scrollbar::-webkit-scrollbar{width:5px;height:5px}.markdown-body pre>::-webkit-scrollbar-thumb,.scrollbar::-webkit-scrollbar-thumb{border-radius:5px;background-clip:padding-box;background-color:#a3a3a34d}.light .markdown-body pre code.hljs{display:block;overflow-x:auto;padding:1em}.light .markdown-body code.hljs{padding:3px 5px}.light .markdown-body .hljs{color:#24292e}.light .markdown-body .hljs-doctag,.light .markdown-body .hljs-keyword,.light .markdown-body .hljs-meta .hljs-keyword,.light .markdown-body .hljs-template-tag,.light .markdown-body .hljs-template-variable,.light .markdown-body .hljs-type,.light .markdown-body .hljs-variable.language_{color:#d73a49}.light .markdown-body .hljs-title,.light .markdown-body .hljs-title.class_,.light .markdown-body .hljs-title.class_.inherited__,.light .markdown-body .hljs-title.function_{color:#6f42c1}.light .markdown-body .hljs-attr,.light .markdown-body .hljs-attribute,.light .markdown-body .hljs-literal,.light .markdown-body .hljs-meta,.light .markdown-body .hljs-number,.light .markdown-body .hljs-operator,.light .markdown-body .hljs-variable,.light .markdown-body .hljs-selector-attr,.light .markdown-body .hljs-selector-class,.light .markdown-body .hljs-selector-id{color:#005cc5}.light .markdown-body .hljs-regexp,.light .markdown-body .hljs-string,.light .markdown-body .hljs-meta .hljs-string{color:#032f62}.light .markdown-body .hljs-built_in,.light .markdown-body .hljs-symbol{color:#e36209}.light .markdown-body .hljs-comment,.light .markdown-body .hljs-code,.light .markdown-body .hljs-formula{color:#6a737d}.light .markdown-body .hljs-name,.light .markdown-body .hljs-quote,.light .markdown-body .hljs-selector-tag,.light .markdown-body .hljs-selector-pseudo{color:#22863a}.light .markdown-body .hljs-subst{color:#24292e}.light .markdown-body .hljs-section{color:#005cc5;font-weight:700}.light .markdown-body .hljs-bullet{color:#735c0f}.light .markdown-body .hljs-emphasis{color:#24292e;font-style:italic}.light .markdown-body .hljs-strong{color:#24292e;font-weight:700}.light .markdown-body .hljs-addition{color:#22863a;background-color:#f0fff4}.light .markdown-body .hljs-deletion{color:#b31d28;background-color:#ffeef0}.dark .markdown-body pre code.hljs{display:block;overflow-x:auto;padding:1em}.dark .markdown-body code.hljs{padding:3px 5px}.dark .markdown-body .hljs{color:#c9d1d9}.dark .markdown-body .hljs-doctag,.dark .markdown-body .hljs-keyword,.dark .markdown-body .hljs-meta .hljs-keyword,.dark .markdown-body .hljs-template-tag,.dark .markdown-body .hljs-template-variable,.dark .markdown-body .hljs-type,.dark .markdown-body .hljs-variable.language_{color:#ff7b72}.dark .markdown-body .hljs-title,.dark .markdown-body .hljs-title.class_,.dark .markdown-body .hljs-title.class_.inherited__,.dark .markdown-body .hljs-title.function_{color:#d2a8ff}.dark .markdown-body .hljs-attr,.dark .markdown-body .hljs-attribute,.dark .markdown-body .hljs-literal,.dark .markdown-body .hljs-meta,.dark .markdown-body .hljs-number,.dark .markdown-body .hljs-operator,.dark .markdown-body .hljs-variable,.dark .markdown-body .hljs-selector-attr,.dark .markdown-body .hljs-selector-class,.dark .markdown-body .hljs-selector-id{color:#79c0ff}.dark .markdown-body .hljs-regexp,.dark .markdown-body .hljs-string,.dark .markdown-body .hljs-meta .hljs-string{color:#a5d6ff}.dark .markdown-body .hljs-built_in,.dark .markdown-body .hljs-symbol{color:#ffa657}.dark .markdown-body .hljs-comment,.dark .markdown-body .hljs-code,.dark .markdown-body .hljs-formula{color:#8b949e}.dark .markdown-body .hljs-name,.dark .markdown-body .hljs-quote,.dark .markdown-body .hljs-selector-tag,.dark .markdown-body .hljs-selector-pseudo{color:#7ee787}.dark .markdown-body .hljs-subst{color:#c9d1d9}.dark .markdown-body .hljs-section{color:#1f6feb;font-weight:700}.dark .markdown-body .hljs-bullet{color:#f2cc60}.dark .markdown-body .hljs-emphasis{color:#c9d1d9;font-style:italic}.dark .markdown-body .hljs-strong{color:#c9d1d9;font-weight:700}.dark .markdown-body .hljs-addition{color:#aff5b4;background-color:#033a16}.dark .markdown-body .hljs-deletion{color:#ffdcd7;background-color:#67060c}.list-card{height:100%}.list-card-operation{display:flex;justify-content:space-between;margin-bottom:var(--td-comp-margin-xxl)}.list-card-operation .search-input{width:360px}.list-card-item :deep(.t-card__header){padding:0}.list-card-item :deep(.t-card__body){padding:0;margin-top:var(--td-comp-margin-xxl);margin-bottom:var(--td-comp-margin-xxl)}.list-card-item :deep(.t-card__footer){padding:0}.list-card-pagination{padding:var(--td-comp-paddingTB-xl) var(--td-comp-paddingTB-xl)}.list-card-loading{height:100%;width:100%;display:flex;align-items:center;justify-content:center}.list-card-item{display:flex;flex-direction:column;cursor:pointer}.list-card-item_detail{min-height:140px}.list-card-item_detail--name{margin-bottom:var(--td-comp-margin-s);font:var(--td-font-title-medium);color:var(--td-text-color-primary)}.list-card-item_detail--desc{color:var(--td-text-color-secondary);font:var(--td-font-body-small);overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.loader{width:100%;height:4.8px;display:inline-block;position:relative;background:var(--td-bg-color-page);overflow:hidden}.loader:after{content:"";width:96px;height:4.8px;background:var(--td-brand-color);position:absolute;top:0;left:0;box-sizing:border-box;animation:hitZak 1s linear infinite alternate}@keyframes hitZak{0%{left:0;transform:translate(-1%)}to{left:100%;transform:translate(-99%)}}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-blue-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity, 1))} diff --git a/.output/public/assets/main-DzSNOqOC.js b/.output/public/assets/main-DzSNOqOC.js new file mode 100644 index 0000000000000000000000000000000000000000..85f64dcc761f9ef39b11372bdbf622327453c34d --- /dev/null +++ b/.output/public/assets/main-DzSNOqOC.js @@ -0,0 +1,2692 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-DP1bS-ul.js","./ChatInput.vue_vue_type_style_index_0_lang-D4A8Ko3p.js","./index-DmWclHlm.js","./index-BuIb9tIA.js","./index-CjKlnN2e.js","./index-dIOYMMBF.css","./dep-916b902f-BLs2dxx4.js","./index-BZuyLcM6.css","./index-Kxldlx3l.js","./index-CIhn6Q_x.css","./ChatInput-BMuO6hgs.css","./app-_ksMLlTy.js","./index-C2aHaTIl.js","./index-XXxXkjQE.css","./v4-_R2nDvl_.js","./index-DWphMrS1.css","./chat-ApKQQRkt.js","./avatar.vue_vue_type_script_setup_true_lang-B0fdXq3h.js","./refresh-BD1L4aGQ.js","./index-pjvKxr27.js","./index-DTZnpgd-.css","./index-DmTGWjjO.js","./form-model-CXHJGOsj.js","./form-model-BANeuwVW.css","./index-Cuo7O5Im.css","./lyihub-muI8ujdR.js","./lyihub-Bco7WNuk.css","./index-DyrTSsVD.js","./index-wQ5-px18.css","./fetch-C6zEckB6.js","./debounce-DjqSSMbT.js","./CodeBlocks.vue_vue_type_style_index_0_lang-CexE7E14.js","./copy-CaDk54_k.js","./CodeBlocks-CllJyOW7.css","./useVirtualScrollNew-1P66tHNg.js","./ellipsis-DKSeG7Zz.js","./chat-DcH-HSRP.css","./index-Lt3PC9Ko.js","./plus-CEvO8XVn.js","./index-D5r9_V6Z.css","./index-Bf-xQ7gk.js","./delete-1-BqRz4NQH.js","./index-CSsUEF1T.js","./index-L5AGF2i2.css","./index-AcVMv_6j.js","./index-BZmcEdaQ.js","./FrameContent-D2QyFMUH.js","./FrameContent-CUoI637t.css","./about-DhrbvIxh.js","./help-DgjZXkOL.js","./changelog-C0lttjqx.js","./index-D-N6mo-j.js","./index-DcpcXD6o.css","./content-bJk3y71L.js","./content-CXerDfC_.css"])))=>i.map(i=>d[i]); +var e,t=Object.defineProperty,n=(e,n,r)=>((e,n,r)=>n in e?t(e,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[n]=r)(e,"symbol"!=typeof n?n+"":n,r); +/** +* @vue/shared v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/ +/*! #__NO_SIDE_EFFECTS__ */ +// @__NO_SIDE_EFFECTS__ +function r(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return e=>e in t}!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver((e=>{for(const n of e)if("childList"===n.type)for(const e of n.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)})).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}();const o={},i=[],a=()=>{},l=()=>!1,s=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(// uppercase letter +e.charCodeAt(2)>122||e.charCodeAt(2)<97),c=e=>e.startsWith("onUpdate:"),u=Object.assign,f=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},p=Object.prototype.hasOwnProperty,d=(e,t)=>p.call(e,t),h=Array.isArray,v=e=>"[object Map]"===S(e),m=e=>"[object Set]"===S(e),g=e=>"[object Date]"===S(e),y=e=>"[object RegExp]"===S(e),b=e=>"function"==typeof e,_=e=>"string"==typeof e,w=e=>"symbol"==typeof e,x=e=>null!==e&&"object"==typeof e,O=e=>(x(e)||b(e))&&b(e.then)&&b(e.catch),E=Object.prototype.toString,S=e=>E.call(e),C=e=>S(e).slice(8,-1),A=e=>"[object Object]"===S(e),k=e=>_(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,T=r( +// the leading comma is intentional so empty string "" is also included +",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),M=r("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),P=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},j=/-(\w)/g,D=P((e=>e.replace(j,((e,t)=>t?t.toUpperCase():"")))),I=/\B([A-Z])/g,N=P((e=>e.replace(I,"-$1").toLowerCase())),L=P((e=>e.charAt(0).toUpperCase()+e.slice(1))),F=P((e=>e?`on${L(e)}`:"")),R=(e,t)=>!Object.is(e,t),B=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},z=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},V=e=>{const t=parseFloat(e);return isNaN(t)?e:t},U=e=>{const t=_(e)?Number(e):NaN;return isNaN(t)?e:t};let H;const W=()=>H||(H="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{}),q=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;const $={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"NEED_HYDRATION",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",512:"NEED_PATCH",1024:"DYNAMIC_SLOTS",2048:"DEV_ROOT_FRAGMENT",[-1]:"HOISTED",[-2]:"BAIL"},G={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},K=r("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol"),X=K;function Y(e,t=0,n=e.length){if((t=Math.max(0,Math.min(t,e.length)))>(n=Math.max(0,Math.min(n,e.length))))return"";let r=e.split(/(\r?\n)/);const o=r.filter(((e,t)=>t%2==1));r=r.filter(((e,t)=>t%2==0));let i=0;const a=[];for(let l=0;l<r.length;l++)if(i+=r[l].length+(o[l]&&o[l].length||0),i>=t){for(let e=l-2;e<=l+2||n>i;e++){if(e<0||e>=r.length)continue;const s=e+1;a.push(`${s}${" ".repeat(Math.max(3-String(s).length,0))}| ${r[e]}`);const c=r[e].length,u=o[e]&&o[e].length||0;if(e===l){const e=t-(i-(c+u)),r=Math.max(1,n>i?c-e:n-t);a.push(" | "+" ".repeat(e)+"^".repeat(r))}else if(e>l){if(n>i){const e=Math.max(Math.min(n-i,c),1);a.push(" | "+"^".repeat(e))}i+=c+u}}break}return a.join("\n")}function J(e){if(h(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=_(r)?te(r):J(r);if(o)for(const e in o)t[e]=o[e]}return t}if(_(e)||x(e))return e}const Q=/;(?![^(]*\))/g,Z=/:([^]+)/,ee=/\/\*[^]*?\*\//g;function te(e){const t={};return e.replace(ee,"").split(Q).forEach((e=>{if(e){const n=e.split(Z);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function ne(e){let t="";if(_(e))t=e;else if(h(e))for(let n=0;n<e.length;n++){const r=ne(e[n]);r&&(t+=r+" ")}else if(x(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function re(e){if(!e)return null;let{class:t,style:n}=e;return t&&!_(t)&&(e.class=ne(t)),n&&(e.style=J(n)),e}const oe=r("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot"),ie=r("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view"),ae=r("annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics"),le=r("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),se="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",ce=r(se),ue=r(se+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");function fe(e){return!!e||""===e}const pe=/[>/="'\u0009\u000a\u000c\u0020]/,de={};const he=r("accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap"),ve=r("xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xmlns:xlink,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan"),me=r("accent,accentunder,actiontype,align,alignmentscope,altimg,altimg-height,altimg-valign,altimg-width,alttext,bevelled,close,columnsalign,columnlines,columnspan,denomalign,depth,dir,display,displaystyle,encoding,equalcolumns,equalrows,fence,fontstyle,fontweight,form,frame,framespacing,groupalign,height,href,id,indentalign,indentalignfirst,indentalignlast,indentshift,indentshiftfirst,indentshiftlast,indextype,justify,largetop,largeop,lquote,lspace,mathbackground,mathcolor,mathsize,mathvariant,maxsize,minlabelspacing,mode,other,overflow,position,rowalign,rowlines,rowspan,rquote,rspace,scriptlevel,scriptminsize,scriptsizemultiplier,selection,separator,separators,shift,side,src,stackalign,stretchy,subscriptshift,superscriptshift,symmetric,voffset,width,widths,xlink:href,xlink:show,xlink:type,xmlns");const ge=/["'&<>]/;const ye=/^-?>|<!--|-->|--!>|<!-$/g;const be=/[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g;function _e(e,t){if(e===t)return!0;let n=g(e),r=g(t);if(n||r)return!(!n||!r)&&e.getTime()===t.getTime();if(n=w(e),r=w(t),n||r)return e===t;if(n=h(e),r=h(t),n||r)return!(!n||!r)&&function(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=_e(e[r],t[r]);return n}(e,t);if(n=x(e),r=x(t),n||r){if(!n||!r)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e){const r=e.hasOwnProperty(n),o=t.hasOwnProperty(n);if(r&&!o||!r&&o||!_e(e[n],t[n]))return!1}}return String(e)===String(t)}function we(e,t){return e.findIndex((e=>_e(e,t)))}const xe=e=>!(!e||!0!==e.__v_isRef),Oe=e=>_(e)?e:null==e?"":h(e)||x(e)&&(e.toString===E||!b(e.toString))?xe(e)?Oe(e.value):JSON.stringify(e,Ee,2):String(e),Ee=(e,t)=>xe(t)?Ee(e,t.value):v(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n],r)=>(e[Se(t,r)+" =>"]=n,e)),{})}:m(t)?{[`Set(${t.size})`]:[...t.values()].map((e=>Se(e)))}:w(t)?Se(t):!x(t)||h(t)||A(t)?t:String(t),Se=(e,t="")=>{var n; +// Symbol.description in es2019+ so we need to cast here to pass +// the lib: es2016 check +return w(e)?`Symbol(${null!=(n=e.description)?n:t})`:e},Ce=Object.defineProperty({__proto__:null,EMPTY_ARR:i,EMPTY_OBJ:o,NO:l,NOOP:a,PatchFlagNames:$,PatchFlags:{TEXT:1,1:"TEXT",CLASS:2,2:"CLASS",STYLE:4,4:"STYLE",PROPS:8,8:"PROPS",FULL_PROPS:16,16:"FULL_PROPS",NEED_HYDRATION:32,32:"NEED_HYDRATION",STABLE_FRAGMENT:64,64:"STABLE_FRAGMENT",KEYED_FRAGMENT:128,128:"KEYED_FRAGMENT",UNKEYED_FRAGMENT:256,256:"UNKEYED_FRAGMENT",NEED_PATCH:512,512:"NEED_PATCH",DYNAMIC_SLOTS:1024,1024:"DYNAMIC_SLOTS",DEV_ROOT_FRAGMENT:2048,2048:"DEV_ROOT_FRAGMENT",CACHED:-1,"-1":"CACHED",BAIL:-2,"-2":"BAIL"},ShapeFlags:{ELEMENT:1,1:"ELEMENT",FUNCTIONAL_COMPONENT:2,2:"FUNCTIONAL_COMPONENT",STATEFUL_COMPONENT:4,4:"STATEFUL_COMPONENT",TEXT_CHILDREN:8,8:"TEXT_CHILDREN",ARRAY_CHILDREN:16,16:"ARRAY_CHILDREN",SLOTS_CHILDREN:32,32:"SLOTS_CHILDREN",TELEPORT:64,64:"TELEPORT",SUSPENSE:128,128:"SUSPENSE",COMPONENT_SHOULD_KEEP_ALIVE:256,256:"COMPONENT_SHOULD_KEEP_ALIVE",COMPONENT_KEPT_ALIVE:512,512:"COMPONENT_KEPT_ALIVE",COMPONENT:6,6:"COMPONENT"},SlotFlags:{STABLE:1,1:"STABLE",DYNAMIC:2,2:"DYNAMIC",FORWARDED:3,3:"FORWARDED"},camelize:D,capitalize:L,cssVarNameEscapeSymbolsRE:be,def:z,escapeHtml:function(e){const t=""+e,n=ge.exec(t);if(!n)return t;let r,o,i="",a=0;for(o=n.index;o<t.length;o++){switch(t.charCodeAt(o)){case 34:r=""";break;case 38:r="&";break;case 39:r="'";break;case 60:r="<";break;case 62:r=">";break;default:continue}a!==o&&(i+=t.slice(a,o)),a=o+1,i+=r}return a!==o?i+t.slice(a,o):i},escapeHtmlComment:function(e){return e.replace(ye,"")},extend:u,genCacheKey:function(e,t){return e+JSON.stringify(t,((e,t)=>"function"==typeof t?t.toString():t))},genPropsAccessExp:function(e){return q.test(e)?`__props.${e}`:`__props[${JSON.stringify(e)}]`},generateCodeFrame:Y,getEscapedCssVarName:function(e,t){return e.replace(be,(e=>t?'"'===e?'\\\\\\"':`\\\\${e}`:`\\${e}`))},getGlobalThis:W,hasChanged:R,hasOwn:d,hyphenate:N,includeBooleanAttr:fe,invokeArrayFns:B,isArray:h,isBooleanAttr:ue,isBuiltInDirective:M,isDate:g,isFunction:b,isGloballyAllowed:K,isGloballyWhitelisted:X,isHTMLTag:oe,isIntegerKey:k,isKnownHtmlAttr:he,isKnownMathMLAttr:me,isKnownSvgAttr:ve,isMap:v,isMathMLTag:ae,isModelListener:c,isObject:x,isOn:s,isPlainObject:A,isPromise:O,isRegExp:y,isRenderableAttrValue:function(e){if(null==e)return!1;const t=typeof e;return"string"===t||"number"===t||"boolean"===t},isReservedProp:T,isSSRSafeAttrName:function(e){if(de.hasOwnProperty(e))return de[e];const t=pe.test(e);return de[e]=!t},isSVGTag:ie,isSet:m,isSpecialBooleanAttr:ce,isString:_,isSymbol:w,isVoidTag:le,looseEqual:_e,looseIndexOf:we,looseToNumber:V,makeMap:r,normalizeClass:ne,normalizeProps:re,normalizeStyle:J,objectToString:E,parseStringStyle:te,propsToAttrMap:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},remove:f,slotFlagsText:G,stringifyStyle:function(e){if(!e)return"";if(_(e))return e;let t="";for(const n in e){const r=e[n];if(_(r)||"number"==typeof r){t+=`${n.startsWith("--")?n:N(n)}:${r};`}}return t},toDisplayString:Oe,toHandlerKey:F,toNumber:U,toRawType:C,toTypeString:S},Symbol.toStringTag,{value:"Module"}); +/** +* @vue/reactivity v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/ +let Ae,ke;class Te{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Ae,!e&&Ae&&(this.index=(Ae.scopes||(Ae.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){let e,t;if(this._isPaused=!0,this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].pause();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}} +/** + * Resumes the effect scope, including all child scopes and effects. + */resume(){if(this._active&&this._isPaused){let e,t;if(this._isPaused=!1,this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].resume();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].resume()}}run(e){if(this._active){const t=Ae;try{return Ae=this,e()}finally{Ae=t}}} +/** + * This should only be called on non-detached scopes + * @internal + */on(){Ae=this} +/** + * This should only be called on non-detached scopes + * @internal + */off(){Ae=this.parent}stop(e){if(this._active){let t,n;for(this._active=!1,t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(this.effects.length=0,t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0}}}function Me(e){return new Te(e)}function Pe(){return Ae}function je(e,t=!1){Ae&&Ae.cleanups.push(e)}const De=new WeakSet;class Ie{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Ae&&Ae.active&&Ae.effects.push(this)}pause(){this.flags|=64}resume(){64&this.flags&&(this.flags&=-65,De.has(this)&&(De.delete(this),this.trigger()))} +/** + * @internal + */notify(){2&this.flags&&!(32&this.flags)||8&this.flags||Re(this)}run(){if(!(1&this.flags))return this.fn();this.flags|=2,Je(this),Ve(this);const e=ke,t=Ge;ke=this,Ge=!0;try{return this.fn()}finally{Ue(this),ke=e,Ge=t,this.flags&=-3}}stop(){if(1&this.flags){for(let e=this.deps;e;e=e.nextDep)qe(e);this.deps=this.depsTail=void 0,Je(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){64&this.flags?De.add(this):this.scheduler?this.scheduler():this.runIfDirty()} +/** + * @internal + */runIfDirty(){He(this)&&this.run()}get dirty(){return He(this)}}let Ne,Le,Fe=0;function Re(e,t=!1){if(e.flags|=8,t)return e.next=Le,void(Le=e);e.next=Ne,Ne=e}function Be(){Fe++}function ze(){if(--Fe>0)return;if(Le){let e=Le;for(Le=void 0;e;){const t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;Ne;){let n=Ne;for(Ne=void 0;n;){const r=n.next;if(n.next=void 0,n.flags&=-9,1&n.flags)try{n.trigger()}catch(t){e||(e=t)}n=r}}if(e)throw e}function Ve(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ue(e){let t,n=e.depsTail,r=n;for(;r;){const e=r.prevDep;-1===r.version?(r===n&&(n=e),qe(r),$e(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=e}e.deps=t,e.depsTail=n}function He(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(We(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function We(e){if(4&e.flags&&!(16&e.flags))return;if(e.flags&=-17,e.globalVersion===Qe)return;e.globalVersion=Qe;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!He(e))return void(e.flags&=-3);const n=ke,r=Ge;ke=e,Ge=!0;try{Ve(e);const n=e.fn(e._value);(0===t.version||R(n,e._value))&&(e._value=n,t.version++)}catch(o){throw t.version++,o}finally{ke=n,Ge=r,Ue(e),e.flags&=-3}}function qe(e,t=!1){const{dep:n,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)qe(e,!0)}t||--n.sc||!n.map||n.map.delete(n.key)}function $e(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ge=!0;const Ke=[];function Xe(){Ke.push(Ge),Ge=!1}function Ye(){const e=Ke.pop();Ge=void 0===e||e}function Je(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const e=ke;ke=void 0;try{t()}finally{ke=e}}}let Qe=0;class Ze{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class et{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(e){if(!ke||!Ge||ke===this.computed)return;let t=this.activeLink;if(void 0===t||t.sub!==ke)t=this.activeLink=new Ze(ke,this),ke.deps?(t.prevDep=ke.depsTail,ke.depsTail.nextDep=t,ke.depsTail=t):ke.deps=ke.depsTail=t,tt(t);else if(-1===t.version&&(t.version=this.version,t.nextDep)){const e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=ke.depsTail,t.nextDep=void 0,ke.depsTail.nextDep=t,ke.depsTail=t,ke.deps===t&&(ke.deps=e)}return t}trigger(e){this.version++,Qe++,this.notify(e)}notify(e){Be();try{0;for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{ze()}}}function tt(e){if(e.dep.sc++,4&e.sub.flags){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)tt(e)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const nt=new WeakMap,rt=Symbol(""),ot=Symbol(""),it=Symbol("");function at(e,t,n){if(Ge&&ke){let t=nt.get(e);t||nt.set(e,t=new Map);let r=t.get(n);r||(t.set(n,r=new et),r.map=t,r.key=n),r.track()}}function lt(e,t,n,r,o,i){const a=nt.get(e);if(!a)return void Qe++;const l=e=>{e&&e.trigger()};if(Be(),"clear"===t)a.forEach(l);else{const o=h(e),i=o&&k(n);if(o&&"length"===n){const e=Number(r);a.forEach(((t,n)=>{("length"===n||n===it||!w(n)&&n>=e)&&l(t)}))}else switch((void 0!==n||a.has(void 0))&&l(a.get(n)),i&&l(a.get(it)),t){case"add":o?i&&l(a.get("length")):(l(a.get(rt)),v(e)&&l(a.get(ot)));break;case"delete":o||(l(a.get(rt)),v(e)&&l(a.get(ot)));break;case"set":v(e)&&l(a.get(rt))}}ze()}function st(e){const t=Xt(e);return t===e?t:(at(t,0,it),Gt(e)?t:t.map(Jt))}function ct(e){return at(e=Xt(e),0,it),e}const ut={__proto__:null,[Symbol.iterator](){return ft(this,Symbol.iterator,Jt)},concat(...e){return st(this).concat(...e.map((e=>h(e)?st(e):e)))},entries(){return ft(this,"entries",(e=>(e[1]=Jt(e[1]),e)))},every(e,t){return dt(this,"every",e,t,void 0,arguments)},filter(e,t){return dt(this,"filter",e,t,(e=>e.map(Jt)),arguments)},find(e,t){return dt(this,"find",e,t,Jt,arguments)},findIndex(e,t){return dt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return dt(this,"findLast",e,t,Jt,arguments)},findLastIndex(e,t){return dt(this,"findLastIndex",e,t,void 0,arguments)}, +// flat, flatMap could benefit from ARRAY_ITERATE but are not straight-forward to implement +forEach(e,t){return dt(this,"forEach",e,t,void 0,arguments)},includes(...e){return vt(this,"includes",e)},indexOf(...e){return vt(this,"indexOf",e)},join(e){return st(this).join(e)}, +// keys() iterator only reads `length`, no optimisation required +lastIndexOf(...e){return vt(this,"lastIndexOf",e)},map(e,t){return dt(this,"map",e,t,void 0,arguments)},pop(){return mt(this,"pop")},push(...e){return mt(this,"push",e)},reduce(e,...t){return ht(this,"reduce",e,t)},reduceRight(e,...t){return ht(this,"reduceRight",e,t)},shift(){return mt(this,"shift")}, +// slice could use ARRAY_ITERATE but also seems to beg for range tracking +some(e,t){return dt(this,"some",e,t,void 0,arguments)},splice(...e){return mt(this,"splice",e)},toReversed(){return st(this).toReversed()},toSorted(e){return st(this).toSorted(e)},toSpliced(...e){return st(this).toSpliced(...e)},unshift(...e){return mt(this,"unshift",e)},values(){return ft(this,"values",Jt)}};function ft(e,t,n){const r=ct(e),o=r[t]();return r===e||Gt(e)||(o._next=o.next,o.next=()=>{const e=o._next();return e.value&&(e.value=n(e.value)),e}),o}const pt=Array.prototype;function dt(e,t,n,r,o,i){const a=ct(e),l=a!==e&&!Gt(e),s=a[t];if(s!==pt[t]){const t=s.apply(e,i);return l?Jt(t):t}let c=n;a!==e&&(l?c=function(t,r){return n.call(this,Jt(t),r,e)}:n.length>2&&(c=function(t,r){return n.call(this,t,r,e)}));const u=s.call(a,c,r);return l&&o?o(u):u}function ht(e,t,n,r){const o=ct(e);let i=n;return o!==e&&(Gt(e)?n.length>3&&(i=function(t,r,o){return n.call(this,t,r,o,e)}):i=function(t,r,o){return n.call(this,t,Jt(r),o,e)}),o[t](i,...r)}function vt(e,t,n){const r=Xt(e);at(r,0,it);const o=r[t](...n);return-1!==o&&!1!==o||!Kt(n[0])?o:(n[0]=Xt(n[0]),r[t](...n))}function mt(e,t,n=[]){Xe(),Be();const r=Xt(e)[t].apply(e,n);return ze(),Ye(),r}const gt=r("__proto__,__v_isRef,__isVue"),yt=new Set( +Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(w));function bt(e){w(e)||(e=String(e));const t=Xt(this);return at(t,0,e),t.hasOwnProperty(e)}class _t{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){if("__v_skip"===t)return e.__v_skip;const r=this._isReadonly,o=this._isShallow;if("__v_isReactive"===t)return!r;if("__v_isReadonly"===t)return r;if("__v_isShallow"===t)return o;if("__v_raw"===t)return n===(r?o?Bt:Rt:o?Ft:Lt).get(e)||// receiver is not the reactive proxy, but has the same prototype +// this means the receiver is a user proxy of the reactive proxy +Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const i=h(e);if(!r){let e;if(i&&(e=ut[t]))return e;if("hasOwnProperty"===t)return bt}const a=Reflect.get(e,t, +// if this is a proxy wrapping a ref, return methods using the raw ref +// as receiver so that we don't have to call `toRaw` on the ref in all +// its class methods +Zt(e)?e:n);return(w(t)?yt.has(t):gt(t))?a:(r||at(e,0,t),o?a:Zt(a)?i&&k(t)?a:a.value:x(a)?r?Ut(a):zt(a):a)}}class wt extends _t{constructor(e=!1){super(!1,e)}set(e,t,n,r){let o=e[t];if(!this._isShallow){const t=$t(o);if(Gt(n)||$t(n)||(o=Xt(o),n=Xt(n)),!h(e)&&Zt(o)&&!Zt(n))return!t&&(o.value=n,!0)}const i=h(e)&&k(t)?Number(t)<e.length:d(e,t),a=Reflect.set(e,t,n,Zt(e)?e:r);return e===Xt(r)&&(i?R(n,o)&<(e,"set",t,n):lt(e,"add",t,n)),a}deleteProperty(e,t){const n=d(e,t);e[t];const r=Reflect.deleteProperty(e,t);return r&&n&<(e,"delete",t,void 0),r}has(e,t){const n=Reflect.has(e,t);return w(t)&&yt.has(t)||at(e,0,t),n}ownKeys(e){return at(e,0,h(e)?"length":rt),Reflect.ownKeys(e)}}class xt extends _t{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}const Ot=new wt,Et=new xt,St=new wt(!0),Ct=new xt(!0),At=e=>e,kt=e=>Reflect.getPrototypeOf(e);function Tt(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function Mt(e,t){const n={get(n){const r=this.__v_raw,o=Xt(r),i=Xt(n);e||(R(n,i)&&at(o,0,n),at(o,0,i));const{has:a}=kt(o),l=t?At:e?Qt:Jt;return a.call(o,n)?l(r.get(n)):a.call(o,i)?l(r.get(i)):void(r!==o&&r.get(n))},get size(){const t=this.__v_raw;return!e&&at(Xt(t),0,rt),Reflect.get(t,"size",t)},has(t){const n=this.__v_raw,r=Xt(n),o=Xt(t);return e||(R(t,o)&&at(r,0,t),at(r,0,o)),t===o?n.has(t):n.has(t)||n.has(o)},forEach(n,r){const o=this,i=o.__v_raw,a=Xt(i),l=t?At:e?Qt:Jt;return!e&&at(a,0,rt),i.forEach(((e,t)=>n.call(r,l(e),l(t),o)))}};u(n,e?{add:Tt("add"),set:Tt("set"),delete:Tt("delete"),clear:Tt("clear")}:{add(e){t||Gt(e)||$t(e)||(e=Xt(e));const n=Xt(this);return kt(n).has.call(n,e)||(n.add(e),lt(n,"add",e,e)),this},set(e,n){t||Gt(n)||$t(n)||(n=Xt(n));const r=Xt(this),{has:o,get:i}=kt(r);let a=o.call(r,e);a||(e=Xt(e),a=o.call(r,e));const l=i.call(r,e);return r.set(e,n),a?R(n,l)&<(r,"set",e,n):lt(r,"add",e,n),this},delete(e){const t=Xt(this),{has:n,get:r}=kt(t);let o=n.call(t,e);o||(e=Xt(e),o=n.call(t,e)),r&&r.call(t,e);const i=t.delete(e);return o&<(t,"delete",e,void 0),i},clear(){const e=Xt(this),t=0!==e.size,n=e.clear();return t&<(e,"clear",void 0,void 0),n}});return["keys","values","entries",Symbol.iterator].forEach((r=>{n[r]=function(e,t,n){return function(...r){const o=this.__v_raw,i=Xt(o),a=v(i),l="entries"===e||e===Symbol.iterator&&a,s="keys"===e&&a,c=o[e](...r),u=n?At:t?Qt:Jt;return!t&&at(i,0,s?ot:rt),{ +// iterator protocol +next(){const{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:l?[u(e[0]),u(e[1])]:u(e),done:t}}, +// iterable protocol +[Symbol.iterator](){return this}}}}(r,e,t)})),n}function Pt(e,t){const n=Mt(e,t);return(t,r,o)=>"__v_isReactive"===r?!e:"__v_isReadonly"===r?e:"__v_raw"===r?t:Reflect.get(d(n,r)&&r in t?n:t,r,o)}const jt={get:Pt(!1,!1)},Dt={get:Pt(!1,!0)},It={get:Pt(!0,!1)},Nt={get:Pt(!0,!0)},Lt=new WeakMap,Ft=new WeakMap,Rt=new WeakMap,Bt=new WeakMap;function zt(e){return $t(e)?e:Wt(e,!1,Ot,jt,Lt)}function Vt(e){return Wt(e,!1,St,Dt,Ft)}function Ut(e){return Wt(e,!0,Et,It,Rt)}function Ht(e){return Wt(e,!0,Ct,Nt,Bt)}function Wt(e,t,n,r,o){if(!x(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const i=o.get(e);if(i)return i;const a=(l=e).__v_skip||!Object.isExtensible(l)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(C(l));var l;if(0===a)return e;const s=new Proxy(e,2===a?r:n);return o.set(e,s),s}function qt(e){return $t(e)?qt(e.__v_raw):!(!e||!e.__v_isReactive)}function $t(e){return!(!e||!e.__v_isReadonly)}function Gt(e){return!(!e||!e.__v_isShallow)}function Kt(e){return!!e&&!!e.__v_raw}function Xt(e){const t=e&&e.__v_raw;return t?Xt(t):e}function Yt(e){return!d(e,"__v_skip")&&Object.isExtensible(e)&&z(e,"__v_skip",!0),e}const Jt=e=>x(e)?zt(e):e,Qt=e=>x(e)?Ut(e):e;function Zt(e){return!!e&&!0===e.__v_isRef}function en(e){return nn(e,!1)}function tn(e){return nn(e,!0)}function nn(e,t){return Zt(e)?e:new rn(e,t)}class rn{constructor(e,t){this.dep=new et,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:Xt(e),this._value=t?e:Jt(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){const t=this._rawValue,n=this.__v_isShallow||Gt(e)||$t(e);e=n?e:Xt(e),R(e,t)&&(this._rawValue=e,this._value=n?e:Jt(e),this.dep.trigger())}}function on(e){return Zt(e)?e.value:e}function an(e){return b(e)?e():on(e)}const ln={get:(e,t,n)=>"__v_raw"===t?e:on(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Zt(o)&&!Zt(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function sn(e){return qt(e)?e:new Proxy(e,ln)}class cn{constructor(e){this.__v_isRef=!0,this._value=void 0;const t=this.dep=new et,{get:n,set:r}=e(t.track.bind(t),t.trigger.bind(t));this._get=n,this._set=r}get value(){return this._value=this._get()}set value(e){this._set(e)}}function un(e){return new cn(e)}function fn(e){const t=h(e)?new Array(e.length):{};for(const n in e)t[n]=vn(e,n);return t}class pn{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0}get value(){const e=this._object[this._key];return this._value=void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return function(e,t){const n=nt.get(e);return n&&n.get(t)}(Xt(this._object),this._key)}}class dn{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function hn(e,t,n){return Zt(e)?e:b(e)?new dn(e):x(e)&&arguments.length>1?vn(e,t,n):en(e)}function vn(e,t,n){const r=e[t];return Zt(r)?r:new pn(e,t,n)}class mn{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new et(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Qe-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n} +/** + * @internal + */notify(){if(this.flags|=16,!(8&this.flags)&&// avoid infinite self recursion +ke!==this)return Re(this,!0),!0}get value(){const e=this.dep.track();return We(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}const gn={},yn=new WeakMap;let bn;function _n(e,t=!1,n=bn){if(n){let t=yn.get(n);t||yn.set(n,t=[]),t.push(e)}}function wn(e,t=1/0,n){if(t<=0||!x(e)||e.__v_skip)return e;if((n=n||new Set).has(e))return e;if(n.add(e),t--,Zt(e))wn(e.value,t,n);else if(h(e))for(let r=0;r<e.length;r++)wn(e[r],t,n);else if(m(e)||v(e))e.forEach((e=>{wn(e,t,n)}));else if(A(e)){for(const r in e)wn(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&wn(e[r],t,n)}return e} +/** +* @vue/runtime-core v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const xn=[];const On={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function En(e,t,n,r){try{return r?e(...r):e()}catch(o){Cn(o,t,n)}}function Sn(e,t,n,r){if(b(e)){const o=En(e,t,n,r);return o&&O(o)&&o.catch((e=>{Cn(e,t,n)})),o}if(h(e)){const o=[];for(let i=0;i<e.length;i++)o.push(Sn(e[i],t,n,r));return o}}function Cn(e,t,n,r=!0){t&&t.vnode;const{errorHandler:i,throwUnhandledErrorInProduction:a}=t&&t.appContext.config||o;if(t){let r=t.parent;const o=t.proxy,a=`https://vuejs.org/error-reference/#runtime-${n}`;for(;r;){const t=r.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,o,a))return;r=r.parent}if(i)return Xe(),En(i,null,10,[e,o,a]),void Ye()}!function(e,t,n,r=!0,o=!1){if(o)throw e}(e,0,0,r,a)}const An=[];let kn=-1;const Tn=[];let Mn=null,Pn=0;const jn=Promise.resolve();let Dn=null;function In(e){const t=Dn||jn;return e?t.then(this?e.bind(this):e):t}function Nn(e){if(!(1&e.flags)){const t=zn(e),n=An[An.length-1];!n||// fast path when the job id is larger than the tail +!(2&e.flags)&&t>=zn(n)?An.push(e):An.splice(function(e){let t=kn+1,n=An.length;for(;t<n;){const r=t+n>>>1,o=An[r],i=zn(o);i<e||i===e&&2&o.flags?t=r+1:n=r}return t}(t),0,e),e.flags|=1,Ln()}}function Ln(){Dn||(Dn=jn.then(Vn))}function Fn(e){h(e)?Tn.push(...e):Mn&&-1===e.id?Mn.splice(Pn+1,0,e):1&e.flags||(Tn.push(e),e.flags|=1),Ln()}function Rn(e,t,n=kn+1){for(;n<An.length;n++){const t=An[n];if(t&&2&t.flags){if(e&&t.id!==e.uid)continue;An.splice(n,1),n--,4&t.flags&&(t.flags&=-2),t(),4&t.flags||(t.flags&=-2)}}}function Bn(e){if(Tn.length){const e=[...new Set(Tn)].sort(((e,t)=>zn(e)-zn(t)));if(Tn.length=0,Mn)return void Mn.push(...e);for(Mn=e,Pn=0;Pn<Mn.length;Pn++){const e=Mn[Pn];4&e.flags&&(e.flags&=-2),8&e.flags||e(),e.flags&=-2}Mn=null,Pn=0}}const zn=e=>null==e.id?2&e.flags?-1:1/0:e.id;function Vn(e){try{for(kn=0;kn<An.length;kn++){const e=An[kn];!e||8&e.flags||(4&e.flags&&(e.flags&=-2),En(e,e.i,e.i?15:14),4&e.flags||(e.flags&=-2))}}finally{for(;kn<An.length;kn++){const e=An[kn];e&&(e.flags&=-2)}kn=-1,An.length=0,Bn(),Dn=null,(An.length||Tn.length)&&Vn()}}let Un,Hn=[];let Wn=null,qn=null;function $n(e){const t=Wn;return Wn=e,qn=e&&e.type.__scopeId||null,t}function Gn(e,t=Wn,n){if(!t)return e;if(e._n)return e;const r=(...n)=>{r._d&&Ki(-1);const o=$n(t);let i;try{i=e(...n)}finally{$n(o),r._d&&Ki(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Kn(e,t){if(null===Wn)return e;const n=ja(Wn),r=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[e,a,l,s=o]=t[i];e&&(b(e)&&(e={mounted:e,updated:e}),e.deep&&wn(a),r.push({dir:e,instance:n,value:a,oldValue:void 0,arg:l,modifiers:s}))}return e}function Xn(e,t,n,r){const o=e.dirs,i=t&&t.dirs;for(let a=0;a<o.length;a++){const l=o[a];i&&(l.oldValue=i[a].value);let s=l.dir[r];s&&(Xe(),Sn(s,n,8,[e.el,l,e,t]),Ye())}}const Yn=Symbol("_vte"),Jn=e=>e.__isTeleport,Qn=e=>e&&(e.disabled||""===e.disabled),Zn=e=>e&&(e.defer||""===e.defer),er=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,tr=e=>"function"==typeof MathMLElement&&e instanceof MathMLElement,nr=(e,t)=>{const n=e&&e.to;if(_(n)){if(t){return t(n)}return null}return n},rr={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,i,a,l,s,c){const{mc:u,pc:f,pbc:p,o:{insert:d,querySelector:h,createText:v,createComment:m}}=c,g=Qn(t.props);let{shapeFlag:y,children:b,dynamicChildren:_}=t;if(null==e){const e=t.el=v(""),c=t.anchor=v("");d(e,n,r),d(c,n,r);const f=(e,t)=>{16&y&&(o&&o.isCE&&(o.ce._teleportTarget=e),u(b,e,t,o,i,a,l,s))},p=()=>{const e=t.target=nr(t.props,h),n=lr(e,t,v,d);e&&("svg"!==a&&er(e)?a="svg":"mathml"!==a&&tr(e)&&(a="mathml"),g||(f(e,n),ar(t,!1)))};g&&(f(n,c),ar(t,!0)),Zn(t.props)?oi((()=>{p(),t.el.__isMounted=!0}),i):p()}else{if(Zn(t.props)&&!e.el.__isMounted)return void oi((()=>{rr.process(e,t,n,r,o,i,a,l,s,c),delete e.el.__isMounted}),i);t.el=e.el,t.targetStart=e.targetStart;const u=t.anchor=e.anchor,d=t.target=e.target,v=t.targetAnchor=e.targetAnchor,m=Qn(e.props),y=m?n:d,b=m?u:v;if("svg"===a||er(d)?a="svg":("mathml"===a||tr(d))&&(a="mathml"),_?(p(e.dynamicChildren,_,y,o,i,a,l),fi(e,t,!0)):s||f(e,t,y,b,o,i,a,l,!1),g)m?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):or(t,n,u,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=nr(t.props,h);e&&or(t,e,null,c,0)}else m&&or(t,d,v,c,1);ar(t,g)}},remove(e,t,n,{um:r,o:{remove:o}},i){const{shapeFlag:a,children:l,anchor:s,targetStart:c,targetAnchor:u,target:f,props:p}=e;if(f&&(o(c),o(u)),i&&o(s),16&a){const e=i||!Qn(p);for(let o=0;o<l.length;o++){const i=l[o];r(i,t,n,e,!!i.dynamicChildren)}}},move:or,hydrate:function(e,t,n,r,o,i,{o:{nextSibling:a,parentNode:l,querySelector:s,insert:c,createText:u}},f){const p=t.target=nr(t.props,s);if(p){const s=Qn(t.props),d=p._lpa||p.firstChild;if(16&t.shapeFlag)if(s)t.anchor=f(a(e),t,l(e),n,r,o,i),t.targetStart=d,t.targetAnchor=d&&a(d);else{t.anchor=a(e);let l=d;for(;l;){if(l&&8===l.nodeType)if("teleport start anchor"===l.data)t.targetStart=l;else if("teleport anchor"===l.data){t.targetAnchor=l,p._lpa=t.targetAnchor&&a(t.targetAnchor);break}l=a(l)}t.targetAnchor||lr(p,t,u,c),f(d&&a(d),t,p,n,r,o,i)}ar(t,s)}return t.anchor&&a(t.anchor)}};function or(e,t,n,{o:{insert:r},m:o},i=2){0===i&&r(e.targetAnchor,t,n);const{el:a,anchor:l,shapeFlag:s,children:c,props:u}=e,f=2===i;if(f&&r(a,t,n),(!f||Qn(u))&&16&s)for(let p=0;p<c.length;p++)o(c[p],t,n,2);f&&r(l,t,n)}const ir=rr;function ar(e,t){const n=e.ctx;if(n&&n.ut){let r,o;for(t?(r=e.el,o=e.anchor):(r=e.targetStart,o=e.targetAnchor);r&&r!==o;)1===r.nodeType&&r.setAttribute("data-v-owner",n.uid),r=r.nextSibling;n.ut()}}function lr(e,t,n,r){const o=t.targetStart=n(""),i=t.targetAnchor=n("");return o[Yn]=i,e&&(r(o,e),r(i,e)),i}const sr=Symbol("_leaveCb"),cr=Symbol("_enterCb");function ur(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Yr((()=>{e.isMounted=!0})),Zr((()=>{e.isUnmounting=!0})),e}const fr=[Function,Array],pr={mode:String,appear:Boolean,persisted:Boolean, +// enter +onBeforeEnter:fr,onEnter:fr,onAfterEnter:fr,onEnterCancelled:fr, +// leave +onBeforeLeave:fr,onLeave:fr,onAfterLeave:fr,onLeaveCancelled:fr, +// appear +onBeforeAppear:fr,onAppear:fr,onAfterAppear:fr,onAppearCancelled:fr},dr=e=>{const t=e.subTree;return t.component?dr(t.component):t};function hr(e){let t=e[0];if(e.length>1)for(const n of e)if(n.type!==Vi){t=n;break}return t}const vr={name:"BaseTransition",props:pr,setup(e,{slots:t}){const n=ya(),r=ur();return()=>{const o=t.default&&wr(t.default(),!0);if(!o||!o.length)return;const i=hr(o),a=Xt(e),{mode:l}=a;if(r.isLeaving)return yr(i);const s=br(i);if(!s)return yr(i);let c=gr(s,a,r,n,( +// #11061, ensure enterHooks is fresh after clone +e=>c=e));s.type!==Vi&&_r(s,c);let u=n.subTree&&br(n.subTree);if(u&&u.type!==Vi&&!Zi(s,u)&&dr(n).type!==Vi){let e=gr(u,a,r,n);if(_r(u,e),"out-in"===l&&s.type!==Vi)return r.isLeaving=!0,e.afterLeave=()=>{r.isLeaving=!1,8&n.job.flags||n.update(),delete e.afterLeave,u=void 0},yr(i);"in-out"===l&&s.type!==Vi?e.delayLeave=(e,t,n)=>{mr(r,u)[String(u.key)]=u,e[sr]=()=>{t(),e[sr]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{n(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return i}}};function mr(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function gr(e,t,n,r,o){const{appear:i,mode:a,persisted:l=!1,onBeforeEnter:s,onEnter:c,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:p,onLeave:d,onAfterLeave:v,onLeaveCancelled:m,onBeforeAppear:g,onAppear:y,onAfterAppear:b,onAppearCancelled:_}=t,w=String(e.key),x=mr(n,e),O=(e,t)=>{e&&Sn(e,r,9,t)},E=(e,t)=>{const n=t[1];O(e,t),h(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},S={mode:a,persisted:l,beforeEnter(t){let r=s;if(!n.isMounted){if(!i)return;r=g||s}t[sr]&&t[sr](!0 +/* cancelled */);const o=x[w];o&&Zi(e,o)&&o.el[sr]&&o.el[sr](),O(r,[t])},enter(e){let t=c,r=u,o=f;if(!n.isMounted){if(!i)return;t=y||c,r=b||u,o=_||f}let a=!1;const l=e[cr]=t=>{a||(a=!0,O(t?o:r,[e]),S.delayedLeave&&S.delayedLeave(),e[cr]=void 0)};t?E(t,[e,l]):l()},leave(t,r){const o=String(e.key);if(t[cr]&&t[cr](!0 +/* cancelled */),n.isUnmounting)return r();O(p,[t]);let i=!1;const a=t[sr]=n=>{i||(i=!0,r(),O(n?m:v,[t]),t[sr]=void 0,x[o]===e&&delete x[o])};x[o]=e,d?E(d,[t,a]):a()},clone(e){const i=gr(e,t,n,r,o);return o&&o(i),i}};return S}function yr(e){if(Fr(e))return(e=ia(e)).children=null,e}function br(e){if(!Fr(e))return Jn(e.type)&&e.children?hr(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(16&t)return n[0];if(32&t&&b(n.default))return n.default()}}function _r(e,t){6&e.shapeFlag&&e.component?(e.transition=t,_r(e.component.subTree,t)):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function wr(e,t=!1,n){let r=[],o=0;for(let i=0;i<e.length;i++){let a=e[i];const l=null==n?a.key:String(n)+String(null!=a.key?a.key:i);a.type===Bi?(128&a.patchFlag&&o++,r=r.concat(wr(a.children,t,l))):(t||a.type!==Vi)&&r.push(null!=l?ia(a,{key:l}):a)}if(o>1)for(let i=0;i<r.length;i++)r[i].patchFlag=-2;return r} +/*! #__NO_SIDE_EFFECTS__ */ +// @__NO_SIDE_EFFECTS__ +function xr(e,t){return b(e)? +// #8236: extend call and options.name access are considered side-effects +// by Rollup, so we have to wrap it in a pure-annotated IIFE. +(()=>u({name:e.name},t,{setup:e}))():e}function Or(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Er(e,t,n,r,i=!1){if(h(e))return void e.forEach(((e,o)=>Er(e,t&&(h(t)?t[o]:t),n,r,i)));if(Nr(r)&&!i)return void(512&r.shapeFlag&&r.type.__asyncResolved&&r.component.subTree.component&&Er(e,t,n,r.component.subTree));const a=4&r.shapeFlag?ja(r.component):r.el,l=i?null:a,{i:s,r:c}=e,u=t&&t.r,p=s.refs===o?s.refs={}:s.refs,v=s.setupState,m=Xt(v),g=v===o?()=>!1:e=>d(m,e);if(null!=u&&u!==c&&(_(u)?(p[u]=null,g(u)&&(v[u]=null)):Zt(u)&&(u.value=null)),b(c))En(c,s,12,[l,p]);else{const t=_(c),r=Zt(c);if(t||r){const o=()=>{if(e.f){const n=t?g(c)?v[c]:p[c]:c.value;i?h(n)&&f(n,a):h(n)?n.includes(a)||n.push(a):t?(p[c]=[a],g(c)&&(v[c]=p[c])):(c.value=[a],e.k&&(p[e.k]=c.value))}else t?(p[c]=l,g(c)&&(v[c]=l)):r&&(c.value=l,e.k&&(p[e.k]=l))};l?(o.id=-1,oi(o,n)):o()}}}let Sr=!1;const Cr=()=>{Sr||(Sr=!0)},Ar=e=>{if(1===e.nodeType)return(e=>e.namespaceURI.includes("svg")&&"foreignObject"!==e.tagName)(e)?"svg":(e=>e.namespaceURI.includes("MathML"))(e)?"mathml":void 0},kr=e=>8===e.nodeType;function Tr(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:i,parentNode:a,remove:l,insert:c,createComment:u}}=e,f=(n,r,l,s,u,b=!1)=>{b=b||!!r.dynamicChildren;const _=kr(n)&&"["===n.data,w=()=>v(n,r,l,s,u,_),{type:x,ref:O,shapeFlag:E,patchFlag:S}=r;let C=n.nodeType;r.el=n,-2===S&&(b=!1,r.dynamicChildren=null);let A=null;switch(x){case zi:3!==C?""===r.children?(c(r.el=o(""),a(n),n),A=n):A=w():(n.data!==r.children&&(Cr(),n.data=r.children),A=i(n));break;case Vi:y(n)?(A=i(n),g(r.el=n.content.firstChild,n,l)):A=8!==C||_?w():i(n);break;case Ui:if(_&&(C=(n=i(n)).nodeType),1===C||3===C){A=n;const e=!r.children.length;for(let t=0;t<r.staticCount;t++)e&&(r.children+=1===A.nodeType?A.outerHTML:A.data),t===r.staticCount-1&&(r.anchor=A),A=i(A);return _?i(A):A}w();break;case Bi:A=_?h(n,r,l,s,u,b):w();break;default:if(1&E)A=1===C&&r.type.toLowerCase()===n.tagName.toLowerCase()||y(n)?p(n,r,l,s,u,b):w();else if(6&E){r.slotScopeIds=u;const e=a(n);if(A=_?m(n):kr(n)&&"teleport start"===n.data?m(n,n.data,"teleport end"):i(n),t(r,e,null,l,s,Ar(e),b),Nr(r)&&!r.type.__asyncResolved){let t;_?(t=ra(Bi),t.anchor=A?A.previousSibling:e.lastChild):t=3===n.nodeType?aa(""):ra("div"),t.el=n,r.component.subTree=t}}else 64&E?A=8!==C?w():r.type.hydrate(n,r,l,s,u,b,e,d):128&E&&(A=r.type.hydrate(n,r,l,s,Ar(a(n)),u,b,e,f))}return null!=O&&Er(O,null,s,r),A},p=(e,t,n,o,i,a)=>{a=a||!!t.dynamicChildren;const{type:c,props:u,patchFlag:f,shapeFlag:p,dirs:h,transition:v}=t,m="input"===c||"option"===c;if(m||-1!==f){h&&Xn(t,null,n,"created");let c,b=!1;if(y(e)){b=ui(null, +// no need check parentSuspense in hydration +v)&&n&&n.vnode.props&&n.vnode.props.appear;const r=e.content.firstChild;b&&v.beforeEnter(r),g(r,e,n),t.el=e=r}if(16&p&&(!u||!u.innerHTML&&!u.textContent)){let r=d(e.firstChild,t,e,n,o,i,a);for(;r;){jr(e,1 +/* CHILDREN */)||Cr();const t=r;r=r.nextSibling,l(t)}}else if(8&p){let n=t.children;"\n"!==n[0]||"PRE"!==e.tagName&&"TEXTAREA"!==e.tagName||(n=n.slice(1)),e.textContent!==n&&(jr(e,0 +/* TEXT */)||Cr(),e.textContent=t.children)}if(u)if(m||!a||48&f){const t=e.tagName.includes("-");for(const o in u)(m&&(o.endsWith("value")||"indeterminate"===o)||s(o)&&!T(o)||// force hydrate v-bind with .prop modifiers +"."===o[0]||t)&&r(e,o,null,u[o],void 0,n)}else if(u.onClick)r(e,"onClick",null,u.onClick,void 0,n);else if(4&f&&qt(u.style))for(const e in u.style)u.style[e];(c=u&&u.onVnodeBeforeMount)&&da(c,n,t),h&&Xn(t,null,n,"beforeMount"),((c=u&&u.onVnodeMounted)||h||b)&&Fi((()=>{c&&da(c,n,t),b&&v.enter(e),h&&Xn(t,null,n,"mounted")}),o)}return e.nextSibling},d=(e,t,r,a,l,s,u)=>{u=u||!!t.dynamicChildren;const p=t.children,d=p.length;for(let h=0;h<d;h++){const t=u?p[h]:p[h]=ca(p[h]),v=t.type===zi;e?(v&&!u&&h+1<d&&ca(p[h+1]).type===zi&&(c(o(e.data.slice(t.children.length)),r,i(e)),e.data=t.children),e=f(e,t,a,l,s,u)):v&&!t.children?c(t.el=o(""),r):(jr(r,1 +/* CHILDREN */)||Cr(),n(null,t,r,null,a,l,Ar(r),s))}return e},h=(e,t,n,r,o,l)=>{const{slotScopeIds:s}=t;s&&(o=o?o.concat(s):s);const f=a(e),p=d(i(e),t,f,n,r,o,l);return p&&kr(p)&&"]"===p.data?i(t.anchor=p):(Cr(),c(t.anchor=u("]"),f,p),p)},v=(e,t,r,o,s,c)=>{if(jr(e.parentElement,1 +/* CHILDREN */)||Cr(),t.el=null,c){const t=m(e);for(;;){const n=i(e);if(!n||n===t)break;l(n)}}const u=i(e),f=a(e);return l(e),n(null,t,f,u,r,o,Ar(f),s),r&&(r.vnode.el=t.el,Mi(r,t.el)),u},m=(e,t="[",n="]")=>{let r=0;for(;e;)if((e=i(e))&&kr(e)&&(e.data===t&&r++,e.data===n)){if(0===r)return i(e);r--}return e},g=(e,t,n)=>{const r=t.parentNode;r&&r.replaceChild(e,t);let o=n;for(;o;)o.vnode.el===t&&(o.vnode.el=o.subTree.el=e),o=o.parent},y=e=>1===e.nodeType&&"TEMPLATE"===e.tagName;return[(e,t)=>{if(!t.hasChildNodes())return n(null,e,t),Bn(),void(t._vnode=e);f(t.firstChild,e,null,null,null),Bn(),t._vnode=e},f]}const Mr="data-allow-mismatch",Pr={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function jr(e,t){if(0===t||1===t)for(;e&&!e.hasAttribute(Mr);)e=e.parentElement;const n=e&&e.getAttribute(Mr);if(null==n)return!1;if(""===n)return!0;{const e=n.split(",");return!(0!==t||!e.includes("children"))||n.split(",").includes(Pr[t])}}const Dr=W().requestIdleCallback||(e=>setTimeout(e,1)),Ir=W().cancelIdleCallback||(e=>clearTimeout(e));const Nr=e=>!!e.type.__asyncLoader +/*! #__NO_SIDE_EFFECTS__ */ +// @__NO_SIDE_EFFECTS__; +function Lr(e,t){const{ref:n,props:r,children:o,ce:i}=t.vnode,a=ra(e,r,o);return a.ref=n,a.ce=i,delete t.vnode.ce,a}const Fr=e=>e.type.__isKeepAlive,Rr={name:"KeepAlive", +// Marker for special handling inside the renderer. We are not using a === +// check directly on KeepAlive in the renderer, because importing it directly +// would prevent it from being tree-shaken. +__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=ya(),r=n.ctx;if(!r.renderer)return()=>{const e=t.default&&t.default();return e&&1===e.length?e[0]:e};const o=new Map,i=new Set;let a=null;const l=n.suspense,{renderer:{p:s,m:c,um:u,o:{createElement:f}}}=r,p=f("div");function d(e){qr(e),u(e,n,l,!0)}function h(e){o.forEach(((t,n)=>{const r=Da(t.type);r&&!e(r)&&v(n)}))}function v(e){const t=o.get(e);!t||a&&Zi(t,a)?a&&qr(a):d(t),o.delete(e),i.delete(e)}r.activate=(e,t,n,r,o)=>{const i=e.component;c(e,t,n,0,l),s(i.vnode,e,t,n,i,l,r,e.slotScopeIds,o),oi((()=>{i.isDeactivated=!1,i.a&&B(i.a);const t=e.props&&e.props.onVnodeMounted;t&&da(t,i.parent,e)}),l)},r.deactivate=e=>{const t=e.component;di(t.m),di(t.a),c(e,p,null,1,l),oi((()=>{t.da&&B(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&da(n,t.parent,e),t.isDeactivated=!0}),l)},yi((()=>[e.include,e.exclude]),(([e,t])=>{e&&h((t=>zr(e,t))),t&&h((e=>!zr(t,e)))}), +// prune post-render after `current` has been updated +{flush:"post",deep:!0});let m=null;const g=()=>{null!=m&&(Pi(n.subTree.type)?oi((()=>{o.set(m,$r(n.subTree))}),n.subTree.suspense):o.set(m,$r(n.subTree)))};return Yr(g),Qr(g),Zr((()=>{o.forEach((e=>{const{subTree:t,suspense:r}=n,o=$r(t);if(e.type!==o.type||e.key!==o.key)d(e);else{qr(o);const e=o.component.da;e&&oi(e,r)}}))})),()=>{if(m=null,!t.default)return a=null;const n=t.default(),r=n[0];if(n.length>1)return a=null,n;if(!(Qi(r)&&(4&r.shapeFlag||128&r.shapeFlag)))return a=null,r;let l=$r(r);if(l.type===Vi)return a=null,l;const s=l.type,c=Da(Nr(l)?l.type.__asyncResolved||{}:s),{include:u,exclude:f,max:p}=e;if(u&&(!c||!zr(u,c))||f&&c&&zr(f,c))return l.shapeFlag&=-257,a=l,r;const d=null==l.key?s:l.key,h=o.get(d);return l.el&&(l=ia(l),128&r.shapeFlag&&(r.ssContent=l)),m=d,h?(l.el=h.el,l.component=h.component,l.transition&&_r(l,l.transition),l.shapeFlag|=512,i.delete(d),i.add(d)):(i.add(d),p&&i.size>parseInt(p,10)&&v(i.values().next().value)),l.shapeFlag|=256,a=l,Pi(r.type)?r:l}}},Br=Rr;function zr(e,t){return h(e)?e.some((e=>zr(e,t))):_(e)?e.split(",").includes(t):!!y(e)&&(e.lastIndex=0,e.test(t))}function Vr(e,t){Hr(e,"a",t)}function Ur(e,t){Hr(e,"da",t)}function Hr(e,t,n=ga){const r=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(Gr(t,r,n),n){let e=n.parent;for(;e&&e.parent;)Fr(e.parent.vnode)&&Wr(r,t,n,e),e=e.parent}}function Wr(e,t,n,r){const o=Gr(t,e,r,!0 +/* prepend */);eo((()=>{f(r[t],o)}),n)}function qr(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function $r(e){return 128&e.shapeFlag?e.ssContent:e}function Gr(e,t,n=ga,r=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...r)=>{Xe();const o=wa(n),i=Sn(t,n,e,r);return o(),Ye(),i});return r?o.unshift(i):o.push(i),i}}const Kr=e=>(t,n=ga)=>{Ca&&"sp"!==e||Gr(e,((...e)=>t(...e)),n)},Xr=Kr("bm"),Yr=Kr("m"),Jr=Kr("bu"),Qr=Kr("u"),Zr=Kr("bum"),eo=Kr("um"),to=Kr("sp"),no=Kr("rtg"),ro=Kr("rtc");function oo(e,t=ga){Gr("ec",e,t)}const io="components";function ao(e,t){return uo(io,e,!0,t)||e}const lo=Symbol.for("v-ndc");function so(e){return _(e)?uo(io,e,!1)||e:e||lo}function co(e){return uo("directives",e)}function uo(e,t,n=!0,r=!1){const o=Wn||ga;if(o){const n=o.type;if(e===io){const e=Da(n,!1);if(e&&(e===t||e===D(t)||e===L(D(t))))return n}const i= +// local registration +// check instance[type] first which is resolved for options API +fo(o[e]||n[e],t)||// global registration +fo(o.appContext[e],t);return!i&&r?n:i}}function fo(e,t){return e&&(e[t]||e[D(t)]||e[L(D(t))])}function po(e,t,n,r){let o;const i=n&&n[r],a=h(e);if(a||_(e)){let n=!1;a&&qt(e)&&(n=!Gt(e),e=ct(e)),o=new Array(e.length);for(let r=0,a=e.length;r<a;r++)o[r]=t(n?Jt(e[r]):e[r],r,void 0,i&&i[r])}else if("number"==typeof e){o=new Array(e);for(let n=0;n<e;n++)o[n]=t(n+1,n,void 0,i&&i[n])}else if(x(e))if(e[Symbol.iterator])o=Array.from(e,((e,n)=>t(e,n,void 0,i&&i[n])));else{const n=Object.keys(e);o=new Array(n.length);for(let r=0,a=n.length;r<a;r++){const a=n[r];o[r]=t(e[a],a,r,i&&i[r])}}else o=[];return n&&(n[r]=o),o}function ho(e,t,n={},r,o){if(Wn.ce||Wn.parent&&Nr(Wn.parent)&&Wn.parent.ce)return"default"!==t&&(n.name=t),qi(),Ji(Bi,null,[ra("slot",n,r&&r())],64);let i=e[t];i&&i._c&&(i._d=!1),qi();const a=i&&vo(i(n)),l=n.key||// slot content array of a dynamic conditional slot may have a branch +// key attached in the `createSlots` helper, respect that +a&&a.key,s=Ji(Bi,{key:(l&&!w(l)?l:`_${t}`)+(// #7256 force differentiate fallback content from actual content +!a&&r?"_fb":"")},a||(r?r():[]),a&&1===e._?64:-2);return!o&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),i&&i._c&&(i._d=!0),s}function vo(e){return e.some((e=>!Qi(e)||e.type!==Vi&&!(e.type===Bi&&!vo(e.children))))?e:null}const mo=e=>e?Oa(e)?ja(e):mo(e.parent):null,go= +// Move PURE marker to new line to workaround compiler discarding it +// due to type annotation +u(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>mo(e.parent),$root:e=>mo(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>To(e),$forceUpdate:e=>e.f||(e.f=()=>{Nn(e.update)}),$nextTick:e=>e.n||(e.n=In.bind(e.proxy)),$watch:e=>_i.bind(e)}),yo=(e,t)=>e!==o&&!e.__isScriptSetup&&d(e,t),bo={get({_:e},t){if("__v_skip"===t)return!0;const{ctx:n,setupState:r,data:i,props:a,accessCache:l,type:s,appContext:c}=e;let u;if("$"!==t[0]){const s=l[t];if(void 0!==s)switch(s){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return a[t]}else{if(yo(r,t))return l[t]=1,r[t];if(i!==o&&d(i,t))return l[t]=2,i[t];if( +// only cache other properties when instance has declared (thus stable) +// props +(u=e.propsOptions[0])&&d(u,t))return l[t]=3,a[t];if(n!==o&&d(n,t))return l[t]=4,n[t];So&&(l[t]=0)}}const f=go[t];let p,h;return f?("$attrs"===t&&at(e.attrs,0,""),f(e)): +// css module (injected by vue-loader) +(p=s.__cssModules)&&(p=p[t])?p:n!==o&&d(n,t)?(l[t]=4,n[t]):( +// global properties +h=c.config.globalProperties,d(h,t)?h[t]:void 0)},set({_:e},t,n){const{data:r,setupState:i,ctx:a}=e;return yo(i,t)?(i[t]=n,!0):r!==o&&d(r,t)?(r[t]=n,!0):!d(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(a[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:a}},l){let s;return!!n[l]||e!==o&&d(e,l)||yo(t,l)||(s=a[0])&&d(s,l)||d(r,l)||d(go,l)||d(i.config.globalProperties,l)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:d(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},_o=u({},bo,{get(e,t){if(t!==Symbol.unscopables)return bo.get(e,t,e)},has:(e,t)=>"_"!==t[0]&&!K(t)});function wo(){return xo().slots}function xo(){const e=ya();return e.setupContext||(e.setupContext=Pa(e))}function Oo(e){return h(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}function Eo(e,t){const n=Oo(e);for(const r in t){if(r.startsWith("__skip"))continue;let e=n[r];e?h(e)||b(e)?e=n[r]={type:e,default:t[r]}:e.default=t[r]:null===e&&(e=n[r]={default:t[r]}),e&&t[`__skip_${r}`]&&(e.skipFactory=!0)}return n}let So=!0;function Co(e){const t=To(e),n=e.proxy,r=e.ctx;So=!1,t.beforeCreate&&Ao(t.beforeCreate,e,"bc");const{ +// state +data:o,computed:i,methods:l,watch:s,provide:c,inject:u,created: +// lifecycle +f,beforeMount:p,mounted:d,beforeUpdate:v,updated:m,activated:g,deactivated:y,beforeDestroy:_,beforeUnmount:w,destroyed:O,unmounted:E,render:S,renderTracked:C,renderTriggered:A,errorCaptured:k,serverPrefetch:T,expose: +// public API +M,inheritAttrs:P, +// assets +components:j,directives:D,filters:I}=t;if(u&&function(e,t){h(e)&&(e=Do(e));for(const n in e){const r=e[n];let o;o=x(r)?"default"in r?Uo(r.from||n,r.default,!0):Uo(r.from||n):Uo(r),Zt(o)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>o.value,set:e=>o.value=e}):t[n]=o}}(u,r,null),l)for(const a in l){const e=l[a];b(e)&&(r[a]=e.bind(n))}if(o){const t=o.call(n,n);x(t)&&(e.data=zt(t))}if(So=!0,i)for(const h in i){const e=i[h],t=b(e)?e.bind(n,n):b(e.get)?e.get.bind(n,n):a,o=!b(e)&&b(e.set)?e.set.bind(n):a,l=Ia({get:t,set:o});Object.defineProperty(r,h,{enumerable:!0,configurable:!0,get:()=>l.value,set:e=>l.value=e})}if(s)for(const a in s)ko(s[a],r,n,a);if(c){const e=b(c)?c.call(n):c;Reflect.ownKeys(e).forEach((t=>{Vo(t,e[t])}))}function N(e,t){h(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(f&&Ao(f,e,"c"),N(Xr,p),N(Yr,d),N(Jr,v),N(Qr,m),N(Vr,g),N(Ur,y),N(oo,k),N(ro,C),N(no,A),N(Zr,w),N(eo,E),N(to,T),h(M))if(M.length){const t=e.exposed||(e.exposed={});M.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});S&&e.render===a&&(e.render=S),null!=P&&(e.inheritAttrs=P),j&&(e.components=j),D&&(e.directives=D),T&&Or(e)}function Ao(e,t,n){Sn(h(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function ko(e,t,n,r){let o=r.includes(".")?wi(n,r):()=>n[r];if(_(e)){const n=t[e];b(n)&&yi(o,n)}else if(b(e))yi(o,e.bind(n));else if(x(e))if(h(e))e.forEach((e=>ko(e,t,n,r)));else{const r=b(e.handler)?e.handler.bind(n):t[e.handler];b(r)&&yi(o,r,e)}}function To(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:a}}=e.appContext,l=i.get(t);let s;return l?s=l:o.length||n||r?(s={},o.length&&o.forEach((e=>Mo(s,e,a,!0))),Mo(s,t,a)):s=t,x(t)&&i.set(t,s),s}function Mo(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&Mo(e,i,n,!0),o&&o.forEach((t=>Mo(e,t,n,!0)));for(const a in t)if(r&&"expose"===a);else{const r=Po[a]||n&&n[a];e[a]=r?r(e[a],t[a]):t[a]}return e}const Po={data:jo,props:Lo,emits:Lo, +// objects +methods:No,computed:No, +// lifecycle +beforeCreate:Io,created:Io,beforeMount:Io,mounted:Io,beforeUpdate:Io,updated:Io,beforeDestroy:Io,beforeUnmount:Io,destroyed:Io,unmounted:Io,activated:Io,deactivated:Io,errorCaptured:Io,serverPrefetch:Io, +// assets +components:No,directives:No, +// watch +watch:function(e,t){if(!e)return t;if(!t)return e;const n=u(Object.create(null),e);for(const r in t)n[r]=Io(e[r],t[r]);return n}, +// provide / inject +provide:jo,inject:function(e,t){return No(Do(e),Do(t))}};function jo(e,t){return t?e?function(){return u(b(e)?e.call(this,this):e,b(t)?t.call(this,this):t)}:t:e}function Do(e){if(h(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Io(e,t){return e?[...new Set([].concat(e,t))]:t}function No(e,t){return e?u(Object.create(null),e,t):t}function Lo(e,t){return e?h(e)&&h(t)?[...new Set([...e,...t])]:u( +Object.create(null),Oo(e),Oo(null!=t?t:{})):t}function Fo(){return{app:null,config:{isNativeTag:l,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Ro=0;function Bo(e,t){return function(n,r=null){b(n)||(n=u({},n)),null==r||x(r)||(r=null);const o=Fo(),i=new WeakSet,a=[];let l=!1;const s=o.app={_uid:Ro++,_component:n,_props:r,_container:null,_context:o,_instance:null,version:Ra,get config(){return o.config},set config(e){},use:(e,...t)=>(i.has(e)||(e&&b(e.install)?(i.add(e),e.install(s,...t)):b(e)&&(i.add(e),e(s,...t))),s),mixin:e=>(o.mixins.includes(e)||o.mixins.push(e),s),component:(e,t)=>t?(o.components[e]=t,s):o.components[e],directive:(e,t)=>t?(o.directives[e]=t,s):o.directives[e],mount(i,a,c){if(!l){const u=s._ceVNode||ra(n,r);return u.appContext=o,!0===c?c="svg":!1===c&&(c=void 0),a&&t?t(u,i):e(u,i,c),l=!0,s._container=i,i.__vue_app__=s,ja(u.component)}},onUnmount(e){a.push(e)},unmount(){l&&(Sn(a,s._instance,16),e(null,s._container),delete s._container.__vue_app__)},provide:(e,t)=>(o.provides[e]=t,s),runWithContext(e){const t=zo;zo=s;try{return e()}finally{zo=t}}};return s}}let zo=null;function Vo(e,t){if(ga){let n=ga.provides;const r=ga.parent&&ga.parent.provides;r===n&&(n=ga.provides=Object.create(r)),n[e]=t}else;}function Uo(e,t,n=!1){const r=ga||Wn;if(r||zo){const o=zo?zo._context.provides:r?null==r.parent?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&b(t)?t.call(r&&r.proxy):t}}function Ho(){return!!(ga||Wn||zo)}const Wo={},qo=()=>Object.create(Wo),$o=e=>Object.getPrototypeOf(e)===Wo;function Go(e,t,n,r){const[i,a]=e.propsOptions;let l,s=!1;if(t)for(let o in t){if(T(o))continue;const c=t[o];let u;i&&d(i,u=D(o))?a&&a.includes(u)?(l||(l={}))[u]=c:n[u]=c:Si(e.emitsOptions,o)||o in r&&c===r[o]||(r[o]=c,s=!0)}if(a){const t=Xt(n),r=l||o;for(let o=0;o<a.length;o++){const l=a[o];n[l]=Ko(i,t,l,r[l],e,!d(r,l))}}return s}function Ko(e,t,n,r,o,i){const a=e[n];if(null!=a){const e=d(a,"default");if(e&&void 0===r){const e=a.default;if(a.type!==Function&&!a.skipFactory&&b(e)){const{propsDefaults:i}=o;if(n in i)r=i[n];else{const a=wa(o);r=i[n]=e.call(null,t),a()}}else r=e;o.ce&&o.ce._setProp(n,r)}a[0 +/* shouldCast */]&&(i&&!e?r=!1:!a[1 +/* shouldCastTrue */]||""!==r&&r!==N(n)||(r=!0))}return r}const Xo=new WeakMap;function Yo(e,t,n=!1){const r=n?Xo:t.propsCache,a=r.get(e);if(a)return a;const l=e.props,s={},c=[];let f=!1;if(!b(e)){const r=e=>{f=!0;const[n,r]=Yo(e,t,!0);u(s,n),r&&c.push(...r)};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}if(!l&&!f)return x(e)&&r.set(e,i),i;if(h(l))for(let i=0;i<l.length;i++){const e=D(l[i]);Jo(e)&&(s[e]=o)}else if(l)for(const o in l){const e=D(o);if(Jo(e)){const t=l[o],n=s[e]=h(t)||b(t)?{type:t}:u({},t),r=n.type;let i=!1,a=!0;if(h(r))for(let e=0;e<r.length;++e){const t=r[e],n=b(t)&&t.name;if("Boolean"===n){i=!0;break}"String"===n&&(a=!1)}else i=b(r)&&"Boolean"===r.name;n[0 +/* shouldCast */]=i,n[1 +/* shouldCastTrue */]=a,(i||d(n,"default"))&&c.push(e)}}const p=[s,c];return x(e)&&r.set(e,p),p}function Jo(e){return"$"!==e[0]&&!T(e)}const Qo=e=>"_"===e[0]||"$stable"===e,Zo=e=>h(e)?e.map(ca):[ca(e)],ei=(e,t,n)=>{if(t._n)return t;const r=Gn(((...e)=>Zo(t(...e))),n);return r._c=!1,r},ti=(e,t,n)=>{const r=e._ctx;for(const o in e){if(Qo(o))continue;const n=e[o];if(b(n))t[o]=ei(0,n,r);else if(null!=n){const e=Zo(n);t[o]=()=>e}}},ni=(e,t)=>{const n=Zo(t);e.slots.default=()=>n},ri=(e,t,n)=>{for(const r in t)(n||"_"!==r)&&(e[r]=t[r])},oi=Fi;function ii(e){return li(e)}function ai(e){return li(e,Tr)}function li(e,t){W().__VUE__=!0;const{insert:n,remove:r,patchProp:l,createElement:s,createText:c,createComment:u,setText:f,setElementText:p,parentNode:h,nextSibling:v,setScopeId:m=a,insertStaticContent:g}=e,y=(e,t,n,r=null,o=null,i=null,a=void 0,l=null,s=!!t.dynamicChildren)=>{if(e===t)return;e&&!Zi(e,t)&&(r=X(e),H(e,o,i,!0),e=null),-2===t.patchFlag&&(s=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:f}=t;switch(c){case zi:b(e,t,n,r);break;case Vi:_(e,t,n,r);break;case Ui:null==e&&w(t,n,r,a);break;case Bi:M(e,t,n,r,o,i,a,l,s);break;default:1&f?x(e,t,n,r,o,i,a,l,s):6&f?P(e,t,n,r,o,i,a,l,s):(64&f||128&f)&&c.process(e,t,n,r,o,i,a,l,s,Q)}null!=u&&o&&Er(u,e&&e.ref,i,t||e,!t)},b=(e,t,r,o)=>{if(null==e)n(t.el=c(t.children),r,o);else{const n=t.el=e.el;t.children!==e.children&&f(n,t.children)}},_=(e,t,r,o)=>{null==e?n(t.el=u(t.children||""),r,o):t.el=e.el},w=(e,t,n,r)=>{[e.el,e.anchor]=g(e.children,t,n,r,e.el,e.anchor)},x=(e,t,n,r,o,i,a,l,s)=>{"svg"===t.type?a="svg":"math"===t.type&&(a="mathml"),null==e?O(t,n,r,o,i,a,l,s):C(e,t,o,i,a,l,s)},O=(e,t,r,o,i,a,c,u)=>{let f,d;const{props:h,shapeFlag:v,transition:m,dirs:g}=e;if(f=e.el=s(e.type,a,h&&h.is,h),8&v?p(f,e.children):16&v&&S(e.children,f,null,o,i,si(e,a),c,u),g&&Xn(e,null,o,"created"),E(f,e,e.scopeId,c,o),h){for(const e in h)"value"===e||T(e)||l(f,e,null,h[e],a,o);"value"in h&&l(f,"value",null,h.value,a),(d=h.onVnodeBeforeMount)&&da(d,o,e)}g&&Xn(e,null,o,"beforeMount");const y=ui(i,m);y&&m.beforeEnter(f),n(f,t,r),((d=h&&h.onVnodeMounted)||y||g)&&oi((()=>{d&&da(d,o,e),y&&m.enter(f),g&&Xn(e,null,o,"mounted")}),i)},E=(e,t,n,r,o)=>{if(n&&m(e,n),r)for(let i=0;i<r.length;i++)m(e,r[i]);if(o){let n=o.subTree;if(t===n||Pi(n.type)&&(n.ssContent===t||n.ssFallback===t)){const t=o.vnode;E(e,t,t.scopeId,t.slotScopeIds,o.parent)}}},S=(e,t,n,r,o,i,a,l,s=0)=>{for(let c=s;c<e.length;c++){const s=e[c]=l?ua(e[c]):ca(e[c]);y(null,s,t,n,r,o,i,a,l)}},C=(e,t,n,r,i,a,s)=>{const c=t.el=e.el;let{patchFlag:u,dynamicChildren:f,dirs:d}=t;u|=16&e.patchFlag;const h=e.props||o,v=t.props||o;let m;if(n&&ci(n,!1),(m=v.onVnodeBeforeUpdate)&&da(m,n,t,e),d&&Xn(t,e,n,"beforeUpdate"),n&&ci(n,!0),(h.innerHTML&&null==v.innerHTML||h.textContent&&null==v.textContent)&&p(c,""),f?A(e.dynamicChildren,f,c,n,r,si(t,i),a):s||R(e,t,c,null,n,r,si(t,i),a,!1),u>0){if(16&u)k(c,h,v,n,i);else if(2&u&&h.class!==v.class&&l(c,"class",null,v.class,i),4&u&&l(c,"style",h.style,v.style,i),8&u){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const r=e[t],o=h[r],a=v[r];a===o&&"value"!==r||l(c,r,o,a,i,n)}}1&u&&e.children!==t.children&&p(c,t.children)}else s||null!=f||k(c,h,v,n,i);((m=v.onVnodeUpdated)||d)&&oi((()=>{m&&da(m,n,t,e),d&&Xn(t,e,n,"updated")}),r)},A=(e,t,n,r,o,i,a)=>{for(let l=0;l<t.length;l++){const s=e[l],c=t[l],u= +// oldVNode may be an errored async setup() component inside Suspense +// which will not have a mounted element +s.el&&(// - In the case of a Fragment, we need to provide the actual parent +// of the Fragment itself so it can move its children. +s.type===Bi||// - In the case of different nodes, there is going to be a replacement +// which also requires the correct parent container +!Zi(s,c)||// - In the case of a component, it could contain anything. +70&s.shapeFlag)?h(s.el): +// In other cases, the parent container is not actually used so we +// just pass the block element here to avoid a DOM parentNode call. +n;y(s,c,u,null,r,o,i,a,!0)}},k=(e,t,n,r,i)=>{if(t!==n){if(t!==o)for(const o in t)T(o)||o in n||l(e,o,t[o],null,i,r);for(const o in n){if(T(o))continue;const a=n[o],s=t[o];a!==s&&"value"!==o&&l(e,o,s,a,i,r)}"value"in n&&l(e,"value",t.value,n.value,i)}},M=(e,t,r,o,i,a,l,s,u)=>{const f=t.el=e?e.el:c(""),p=t.anchor=e?e.anchor:c("");let{patchFlag:d,dynamicChildren:h,slotScopeIds:v}=t;v&&(s=s?s.concat(v):v),null==e?(n(f,r,o),n(p,r,o),S( +// #10007 +// such fragment like `<></>` will be compiled into +// a fragment which doesn't have a children. +// In this case fallback to an empty array +t.children||[],r,p,i,a,l,s,u)):d>0&&64&d&&h&&// #2715 the previous fragment could've been a BAILed one as a result +// of renderSlot() with no valid children +e.dynamicChildren?(A(e.dynamicChildren,h,r,i,a,l,s),( +// #2080 if the stable fragment has a key, it's a <template v-for> that may +// get moved around. Make sure all root level vnodes inherit el. +// #2134 or if it's a component root, it may also get moved around +// as the component is being moved. +null!=t.key||i&&t===i.subTree)&&fi(e,t,!0 +/* shallow */)):R(e,t,r,p,i,a,l,s,u)},P=(e,t,n,r,o,i,a,l,s)=>{t.slotScopeIds=l,null==e?512&t.shapeFlag?o.ctx.activate(t,n,r,a,s):j(t,n,r,o,i,a,s):I(e,t,s)},j=(e,t,n,r,o,i,a)=>{const l=e.component=ma(e,r,o);if(Fr(e)&&(l.ctx.renderer=Q),Aa(l,!1,a),l.asyncDep){if(o&&o.registerDep(l,L,a),!e.el){const e=l.subTree=ra(Vi);_(null,e,t,n)}}else L(l,e,t,n,o,i,a)},I=(e,t,n)=>{const r=t.component=e.component;if(function(e,t,n){const{props:r,children:o,component:i}=e,{props:a,children:l,patchFlag:s}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&s>=0))return!(!o&&!l||l&&l.$stable)||r!==a&&(r?!a||Ti(r,a,c):!!a);if(1024&s)return!0;if(16&s)return r?Ti(r,a,c):!!a;if(8&s){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(a[n]!==r[n]&&!Si(c,n))return!0}}return!1}(e,t,n)){if(r.asyncDep&&!r.asyncResolved)return void F(r,t,n);r.next=t,r.update()}else t.el=e.el,r.vnode=t},L=(e,t,n,r,o,i,a)=>{const l=()=>{if(e.isMounted){let{next:t,bu:n,u:r,parent:s,vnode:c}=e;{const n=pi(e);if(n)return t&&(t.el=c.el,F(e,t,a)),void n.asyncDep.then((()=>{e.isUnmounted||l()}))}let u,f=t;ci(e,!1),t?(t.el=c.el,F(e,t,a)):t=c,n&&B(n),(u=t.props&&t.props.onVnodeBeforeUpdate)&&da(u,s,t,c),ci(e,!0);const p=Ci(e),d=e.subTree;e.subTree=p,y(d,p, +// parent may have changed if it's in a teleport +h(d.el), +// anchor may have changed if it's in a fragment +X(d),e,o,i),t.el=p.el,null===f&&Mi(e,p.el),r&&oi(r,o),(u=t.props&&t.props.onVnodeUpdated)&&oi((()=>da(u,s,t,c)),o)}else{let a;const{el:l,props:s}=t,{bm:c,m:u,parent:f,root:p,type:d}=e,h=Nr(t);if(ci(e,!1),c&&B(c),!h&&(a=s&&s.onVnodeBeforeMount)&&da(a,f,t),ci(e,!0),l&&ee){const t=()=>{e.subTree=Ci(e),ee(l,e.subTree,e,o,null)};h&&d.__asyncHydrate?d.__asyncHydrate(l,e,t):t()}else{p.ce&&p.ce._injectChildStyle(d);const a=e.subTree=Ci(e);y(null,a,n,r,e,o,i),t.el=a.el}if(u&&oi(u,o),!h&&(a=s&&s.onVnodeMounted)){const e=t;oi((()=>da(a,f,e)),o)}(256&t.shapeFlag||f&&Nr(f.vnode)&&256&f.vnode.shapeFlag)&&e.a&&oi(e.a,o),e.isMounted=!0,t=n=r=null}};e.scope.on();const s=e.effect=new Ie(l);e.scope.off();const c=e.update=s.run.bind(s),u=e.job=s.runIfDirty.bind(s);u.i=e,u.id=e.uid,s.scheduler=()=>Nn(u),ci(e,!0),c()},F=(e,t,n)=>{t.component=e;const r=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,r){const{props:o,attrs:i,vnode:{patchFlag:a}}=e,l=Xt(o),[s]=e.propsOptions;let c=!1;if( +// always force full diff in dev +// - #1942 if hmr is enabled with sfc component +// - vite#872 non-sfc component used by sfc component +!(r||a>0)||16&a){let r;Go(e,t,o,i)&&(c=!0);for(const i in l)t&&(// for camelCase +d(t,i)||// it's possible the original props was passed in as kebab-case +// and converted to camelCase (#955) +(r=N(i))!==i&&d(t,r))||(s?!n||// for camelCase +void 0===n[i]&&// for kebab-case +void 0===n[r]||(o[i]=Ko(s,l,i,void 0,e,!0)):delete o[i]);if(i!==l)for(const e in i)t&&d(t,e)||(delete i[e],c=!0)}else if(8&a){const n=e.vnode.dynamicProps;for(let r=0;r<n.length;r++){let a=n[r];if(Si(e.emitsOptions,a))continue;const u=t[a];if(s)if(d(i,a))u!==i[a]&&(i[a]=u,c=!0);else{const t=D(a);o[t]=Ko(s,l,t,u,e,!1)}else u!==i[a]&&(i[a]=u,c=!0)}}c&<(e.attrs,"set","")}(e,t.props,r,n),((e,t,n)=>{const{vnode:r,slots:i}=e;let a=!0,l=o;if(32&r.shapeFlag){const e=t._;e?n&&1===e?a=!1:ri(i,t,n):(a=!t.$stable,ti(t,i)),l=t}else t&&(ni(e,t),l={default:1});if(a)for(const o in i)Qo(o)||null!=l[o]||delete i[o]})(e,t.children,n),Xe(),Rn(e),Ye()},R=(e,t,n,r,o,i,a,l,s=!1)=>{const c=e&&e.children,u=e?e.shapeFlag:0,f=t.children,{patchFlag:d,shapeFlag:h}=t;if(d>0){if(128&d)return void V(c,f,n,r,o,i,a,l,s);if(256&d)return void z(c,f,n,r,o,i,a,l,s)}8&h?(16&u&&K(c,o,i),f!==c&&p(n,f)):16&u?16&h?V(c,f,n,r,o,i,a,l,s):K(c,o,i,!0):(8&u&&p(n,""),16&h&&S(f,n,r,o,i,a,l,s))},z=(e,t,n,r,o,a,l,s,c)=>{t=t||i;const u=(e=e||i).length,f=t.length,p=Math.min(u,f);let d;for(d=0;d<p;d++){const r=t[d]=c?ua(t[d]):ca(t[d]);y(e[d],r,n,null,o,a,l,s,c)}u>f?K(e,o,a,!0,!1,p):S(t,n,r,o,a,l,s,c,p)},V=(e,t,n,r,o,a,l,s,c)=>{let u=0;const f=t.length;let p=e.length-1,d=f-1;for(;u<=p&&u<=d;){const r=e[u],i=t[u]=c?ua(t[u]):ca(t[u]);if(!Zi(r,i))break;y(r,i,n,null,o,a,l,s,c),u++}for(;u<=p&&u<=d;){const r=e[p],i=t[d]=c?ua(t[d]):ca(t[d]);if(!Zi(r,i))break;y(r,i,n,null,o,a,l,s,c),p--,d--}if(u>p){if(u<=d){const e=d+1,i=e<f?t[e].el:r;for(;u<=d;)y(null,t[u]=c?ua(t[u]):ca(t[u]),n,i,o,a,l,s,c),u++}}else if(u>d)for(;u<=p;)H(e[u],o,a,!0),u++;else{const h=u,v=u,m=new Map;for(u=v;u<=d;u++){const e=t[u]=c?ua(t[u]):ca(t[u]);null!=e.key&&m.set(e.key,u)}let g,b=0;const _=d-v+1;let w=!1,x=0;const O=new Array(_);for(u=0;u<_;u++)O[u]=0;for(u=h;u<=p;u++){const r=e[u];if(b>=_){H(r,o,a,!0);continue}let i;if(null!=r.key)i=m.get(r.key);else for(g=v;g<=d;g++)if(0===O[g-v]&&Zi(r,t[g])){i=g;break}void 0===i?H(r,o,a,!0):(O[i-v]=u+1,i>=x?x=i:w=!0,y(r,t[i],n,null,o,a,l,s,c),b++)}const E=w?function(e){const t=e.slice(),n=[0];let r,o,i,a,l;const s=e.length;for(r=0;r<s;r++){const s=e[r];if(0!==s){if(o=n[n.length-1],e[o]<s){t[r]=o,n.push(r);continue}for(i=0,a=n.length-1;i<a;)l=i+a>>1,e[n[l]]<s?i=l+1:a=l;s<e[n[i]]&&(i>0&&(t[r]=n[i-1]),n[i]=r)}}i=n.length,a=n[i-1];for(;i-- >0;)n[i]=a,a=t[a];return n}(O):i;for(g=E.length-1,u=_-1;u>=0;u--){const e=v+u,i=t[e],p=e+1<f?t[e+1].el:r;0===O[u]?y(null,i,n,p,o,a,l,s,c):w&&(g<0||u!==E[g]?U(i,n,p,2):g--)}}},U=(e,t,r,o,i=null)=>{const{el:a,type:l,transition:s,children:c,shapeFlag:u}=e;if(6&u)return void U(e.component.subTree,t,r,o);if(128&u)return void e.suspense.move(t,r,o);if(64&u)return void l.move(e,t,r,Q);if(l===Bi){n(a,t,r);for(let e=0;e<c.length;e++)U(c[e],t,r,o);return void n(e.anchor,t,r)}if(l===Ui)return void(({el:e,anchor:t},r,o)=>{let i;for(;e&&e!==t;)i=v(e),n(e,r,o),e=i;n(t,r,o)})(e,t,r);if(2!==o&&1&u&&s)if(0===o)s.beforeEnter(a),n(a,t,r),oi((()=>s.enter(a)),i);else{const{leave:e,delayLeave:o,afterLeave:i}=s,l=()=>n(a,t,r),c=()=>{e(a,(()=>{l(),i&&i()}))};o?o(a,l,c):c()}else n(a,t,r)},H=(e,t,n,r=!1,o=!1)=>{const{type:i,props:a,ref:l,children:s,dynamicChildren:c,shapeFlag:u,patchFlag:f,dirs:p,cacheIndex:d}=e;if(-2===f&&(o=!1),null!=l&&Er(l,null,n,e,!0),null!=d&&(t.renderCache[d]=void 0),256&u)return void t.ctx.deactivate(e);const h=1&u&&p,v=!Nr(e);let m;if(v&&(m=a&&a.onVnodeBeforeUnmount)&&da(m,t,e),6&u)G(e.component,n,r);else{if(128&u)return void e.suspense.unmount(n,r);h&&Xn(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,Q,r):c&&// #5154 +// when v-once is used inside a block, setBlockTracking(-1) marks the +// parent block with hasOnce: true +// so that it doesn't take the fast path during unmount - otherwise +// components nested in v-once are never unmounted. +!c.hasOnce&&(// #1153: fast path should not be taken for non-stable (v-for) fragments +i!==Bi||f>0&&64&f)?K(c,t,n,!1,!0):(i===Bi&&384&f||!o&&16&u)&&K(s,t,n),r&&q(e)}(v&&(m=a&&a.onVnodeUnmounted)||h)&&oi((()=>{m&&da(m,t,e),h&&Xn(e,null,t,"unmounted")}),n)},q=e=>{const{type:t,el:n,anchor:o,transition:i}=e;if(t===Bi)return void $(n,o);if(t===Ui)return void(({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=v(e),r(e),e=n;r(t)})(e);const a=()=>{r(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(1&e.shapeFlag&&i&&!i.persisted){const{leave:t,delayLeave:r}=i,o=()=>t(n,a);r?r(e.el,a,o):o()}else a()},$=(e,t)=>{let n;for(;e!==t;)n=v(e),r(e),e=n;r(t)},G=(e,t,n)=>{const{bum:r,scope:o,job:i,subTree:a,um:l,m:s,a:c}=e;di(s),di(c),r&&B(r),o.stop(),i&&(i.flags|=8,H(a,e,t,n)),l&&oi(l,t),oi((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},K=(e,t,n,r=!1,o=!1,i=0)=>{for(let a=i;a<e.length;a++)H(e[a],t,n,r,o)},X=e=>{if(6&e.shapeFlag)return X(e.component.subTree);if(128&e.shapeFlag)return e.suspense.next();const t=v(e.anchor||e.el),n=t&&t[Yn];return n?v(n):t};let Y=!1;const J=(e,t,n)=>{null==e?t._vnode&&H(t._vnode,null,null,!0):y(t._vnode||null,e,t,null,null,null,n),t._vnode=e,Y||(Y=!0,Rn(),Bn(),Y=!1)},Q={p:y,um:H,m:U,r:q,mt:j,mc:S,pc:R,pbc:A,n:X,o:e};let Z,ee;return t&&([Z,ee]=t(Q)),{render:J,hydrate:Z,createApp:Bo(J,Z)}}function si({type:e,props:t},n){return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function ci({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function ui(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function fi(e,t,n=!1){const r=e.children,o=t.children;if(h(r)&&h(o))for(let i=0;i<r.length;i++){const e=r[i];let t=o[i];1&t.shapeFlag&&!t.dynamicChildren&&((t.patchFlag<=0||32===t.patchFlag)&&(t=o[i]=ua(o[i]),t.el=e.el),n||-2===t.patchFlag||fi(e,t)),t.type===zi&&(t.el=e.el)}}function pi(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:pi(t)}function di(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const hi=Symbol.for("v-scx"),vi=()=>Uo(hi);function mi(e,t){return bi(e,null,t)}function gi(e,t){return bi(e,null,{flush:"sync"})}function yi(e,t,n){return bi(e,t,n)}function bi(e,t,n=o){const{immediate:r,deep:i,flush:l,once:s}=n,c=u({},n),p=t&&r||!t&&"post"!==l;let d;if(Ca)if("sync"===l){const e=vi();d=e.__watcherHandles||(e.__watcherHandles=[])}else if(!p){const e=()=>{};return e.stop=a,e.resume=a,e.pause=a,e}const v=ga;c.call=(e,t,n)=>Sn(e,v,t,n);let m=!1;"post"===l?c.scheduler=e=>{oi(e,v&&v.suspense)}:"sync"!==l&&(m=!0,c.scheduler=(e,t)=>{t?e():Nn(e)}),c.augmentJob=e=>{t&&(e.flags|=4),m&&(e.flags|=2,v&&(e.id=v.uid,e.i=v))};const g=function(e,t,n=o){const{immediate:r,deep:i,once:l,scheduler:s,augmentJob:c,call:u}=n,p=e=>i?e:Gt(e)||!1===i||0===i?wn(e,1):wn(e);let d,v,m,g,y=!1,_=!1;if(Zt(e)?(v=()=>e.value,y=Gt(e)):qt(e)?(v=()=>p(e),y=!0):h(e)?(_=!0,y=e.some((e=>qt(e)||Gt(e))),v=()=>e.map((e=>Zt(e)?e.value:qt(e)?p(e):b(e)?u?u(e,2):e():void 0))):v=b(e)?t?u?()=>u(e,2):e:()=>{if(m){Xe();try{m()}finally{Ye()}}const t=bn;bn=d;try{return u?u(e,3,[g]):e(g)}finally{bn=t}}:a,t&&i){const e=v,t=!0===i?1/0:i;v=()=>wn(e(),t)}const w=Pe(),x=()=>{d.stop(),w&&w.active&&f(w.effects,d)};if(l&&t){const e=t;t=(...t)=>{e(...t),x()}}let O=_?new Array(e.length).fill(gn):gn;const E=e=>{if(1&d.flags&&(d.dirty||e))if(t){const e=d.run();if(i||y||(_?e.some(((e,t)=>R(e,O[t]))):R(e,O))){m&&m();const n=bn;bn=d;try{const n=[e, +// pass undefined as the old value when it's changed for the first time +O===gn?void 0:_&&O[0]===gn?[]:O,g];u?u(t,3,n): +// @ts-expect-error +t(...n),O=e}finally{bn=n}}}else d.run()};return c&&c(E),d=new Ie(v),d.scheduler=s?()=>s(E,!1):E,g=e=>_n(e,!1,d),m=d.onStop=()=>{const e=yn.get(d);if(e){if(u)u(e,4);else for(const t of e)t();yn.delete(d)}},t?r?E(!0):O=d.run():s?s(E.bind(null,!0),!0):d.run(),x.pause=d.pause.bind(d),x.resume=d.resume.bind(d),x.stop=x,x}(e,t,c);return Ca&&(d?d.push(g):p&&g()),g}function _i(e,t,n){const r=this.proxy,o=_(e)?e.includes(".")?wi(r,e):()=>r[e]:e.bind(r,r);let i;b(t)?i=t:(i=t.handler,n=t);const a=wa(this),l=bi(o,i.bind(r),n);return a(),l}function wi(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}const xi=(e,t)=>"modelValue"===t||"model-value"===t?e.modelModifiers:e[`${t}Modifiers`]||e[`${D(t)}Modifiers`]||e[`${N(t)}Modifiers`];function Oi(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||o;let i=n;const a=t.startsWith("update:"),l=a&&xi(r,t.slice(7));let s;l&&(l.trim&&(i=n.map((e=>_(e)?e.trim():e))),l.number&&(i=n.map(V)));let c=r[s=F(t)]||// also try camelCase event handler (#2249) +r[s=F(D(t))];!c&&a&&(c=r[s=F(N(t))]),c&&Sn(c,e,6,i);const u=r[s+"Once"];if(u){if(e.emitted){if(e.emitted[s])return}else e.emitted={};e.emitted[s]=!0,Sn(u,e,6,i)}}function Ei(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(void 0!==o)return o;const i=e.emits;let a={},l=!1;if(!b(e)){const r=e=>{const n=Ei(e,t,!0);n&&(l=!0,u(a,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return i||l?(h(i)?i.forEach((e=>a[e]=null)):u(a,i),x(e)&&r.set(e,a),a):(x(e)&&r.set(e,null),null)}function Si(e,t){return!(!e||!s(t))&&(t=t.slice(2).replace(/Once$/,""),d(e,t[0].toLowerCase()+t.slice(1))||d(e,N(t))||d(e,t))}function Ci(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[i],slots:a,attrs:l,emit:s,render:u,renderCache:f,props:p,data:d,setupState:h,ctx:v,inheritAttrs:m}=e,g=$n(e);let y,b;try{if(4&n.shapeFlag){const e=o||r,t=e;y=ca(u.call(t,e,f,p,h,d,v)),b=l}else{const e=t;0,y=ca(e.length>1?e(p,{attrs:l,slots:a,emit:s}):e(p,null)),b=t.props?l:Ai(l)}}catch(w){Hi.length=0,Cn(w,e,1),y=ra(Vi)}let _=y;if(b&&!1!==m){const e=Object.keys(b),{shapeFlag:t}=_;e.length&&7&t&&(i&&e.some(c)&&(b=ki(b,i)),_=ia(_,b,!1,!0))}return n.dirs&&(_=ia(_,null,!1,!0),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&_r(_,n.transition),y=_,$n(g),y}const Ai=e=>{let t;for(const n in e)("class"===n||"style"===n||s(n))&&((t||(t={}))[n]=e[n]);return t},ki=(e,t)=>{const n={};for(const r in e)c(r)&&r.slice(9)in t||(n[r]=e[r]);return n};function Ti(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const i=r[o];if(t[i]!==e[i]&&!Si(n,i))return!0}return!1}function Mi({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r!==e)break;(e=t.vnode).el=n,t=t.parent}}const Pi=e=>e.__isSuspense;let ji=0;const Di={name:"Suspense", +// In order to make Suspense tree-shakable, we need to avoid importing it +// directly in the renderer. The renderer checks for the __isSuspense flag +// on a vnode's type and calls the `process` method, passing in renderer +// internals. +__isSuspense:!0,process(e,t,n,r,o,i,a,l,s,c){if(null==e)!function(e,t,n,r,o,i,a,l,s){const{p:c,o:{createElement:u}}=s,f=u("div"),p=e.suspense=Ni(e,o,r,t,f,n,i,a,l,s);c(null,p.pendingBranch=e.ssContent,f,null,r,p,i,a),p.deps>0?(Ii(e,"onPending"),Ii(e,"onFallback"),c(null,e.ssFallback,t,n,r,null, +// fallback tree will not have suspense context +i,a),Ri(p,e.ssFallback)):p.resolve(!1,!0)}(t,n,r,o,i,a,l,s,c);else{if(i&&i.deps>0&&!e.suspense.isInFallback)return t.suspense=e.suspense,t.suspense.vnode=t,void(t.el=e.el);!function(e,t,n,r,o,i,a,l,{p:s,um:c,o:{createElement:u}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const p=t.ssContent,d=t.ssFallback,{activeBranch:h,pendingBranch:v,isInFallback:m,isHydrating:g}=f;if(v)f.pendingBranch=p,Zi(p,v)?(s(v,p,f.hiddenContainer,null,o,f,i,a,l),f.deps<=0?f.resolve():m&&(g||(s(h,d,n,r,o,null, +// fallback tree will not have suspense context +i,a,l),Ri(f,d)))):(f.pendingId=ji++,g?(f.isHydrating=!1,f.activeBranch=v):c(v,o,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),m?(s(null,p,f.hiddenContainer,null,o,f,i,a,l),f.deps<=0?f.resolve():(s(h,d,n,r,o,null, +// fallback tree will not have suspense context +i,a,l),Ri(f,d))):h&&Zi(p,h)?(s(h,p,n,r,o,f,i,a,l),f.resolve(!0)):(s(null,p,f.hiddenContainer,null,o,f,i,a,l),f.deps<=0&&f.resolve()));else if(h&&Zi(p,h))s(h,p,n,r,o,f,i,a,l),Ri(f,p);else if(Ii(t,"onPending"),f.pendingBranch=p,512&p.shapeFlag?f.pendingId=p.component.suspenseId:f.pendingId=ji++,s(null,p,f.hiddenContainer,null,o,f,i,a,l),f.deps<=0)f.resolve();else{const{timeout:e,pendingId:t}=f;e>0?setTimeout((()=>{f.pendingId===t&&f.fallback(d)}),e):0===e&&f.fallback(d)}}(e,t,n,r,o,a,l,s,c)}},hydrate:function(e,t,n,r,o,i,a,l,s){const c=t.suspense=Ni(t,r,n,e.parentNode, +// eslint-disable-next-line no-restricted-globals +document.createElement("div"),null,o,i,a,l,!0),u=s(e,c.pendingBranch=t.ssContent,n,c,i,a);0===c.deps&&c.resolve(!1,!0);return u},normalize:function(e){const{shapeFlag:t,children:n}=e,r=32&t;e.ssContent=Li(r?n.default:n),e.ssFallback=r?Li(n.fallback):ra(Vi)}};function Ii(e,t){const n=e.props&&e.props[t];b(n)&&n()}function Ni(e,t,n,r,o,i,a,l,s,c,u=!1){const{p:f,m:p,um:d,n:h,o:{parentNode:v,remove:m}}=c;let g;const y=function(e){const t=e.props&&e.props.suspensible;return null!=t&&!1!==t}(e);y&&t&&t.pendingBranch&&(g=t.pendingId,t.deps++);const b=e.props?U(e.props.timeout):void 0,_=i,w={vnode:e,parent:t,parentComponent:n,namespace:a,container:r,hiddenContainer:o,deps:0,pendingId:ji++,timeout:"number"==typeof b?b:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(e=!1,n=!1){const{vnode:r,activeBranch:o,pendingBranch:a,pendingId:l,effects:s,parentComponent:c,container:u}=w;let f=!1;w.isHydrating?w.isHydrating=!1:e||(f=o&&a.transition&&"out-in"===a.transition.mode,f&&(o.transition.afterLeave=()=>{l===w.pendingId&&(p(a,u,i===_?h(o):i,0),Fn(s))}),o&&(v(o.el)===u&&(i=h(o)),d(o,c,w,!0)),f||p(a,u,i,0)),Ri(w,a),w.pendingBranch=null,w.isInFallback=!1;let m=w.parent,b=!1;for(;m;){if(m.pendingBranch){m.effects.push(...s),b=!0;break}m=m.parent}b||f||Fn(s),w.effects=[],y&&t&&t.pendingBranch&&g===t.pendingId&&(t.deps--,0!==t.deps||n||t.resolve()),Ii(r,"onResolve")},fallback(e){if(!w.pendingBranch)return;const{vnode:t,activeBranch:n,parentComponent:r,container:o,namespace:i}=w;Ii(t,"onFallback");const a=h(n),c=()=>{w.isInFallback&&(f(null,e,o,a,r,null, +// fallback tree will not have suspense context +i,l,s),Ri(w,e))},u=e.transition&&"out-in"===e.transition.mode;u&&(n.transition.afterLeave=c),w.isInFallback=!0,d(n,r,null, +// no suspense so unmount hooks fire now +!0),u||c()},move(e,t,n){w.activeBranch&&p(w.activeBranch,e,t,n),w.container=e},next:()=>w.activeBranch&&h(w.activeBranch),registerDep(e,t,n){const r=!!w.pendingBranch;r&&w.deps++;const o=e.vnode.el;e.asyncDep.catch((t=>{Cn(t,e,0)})).then((i=>{if(e.isUnmounted||w.isUnmounted||w.pendingId!==e.suspenseId)return;e.asyncResolved=!0;const{vnode:l}=e;ka(e,i,!1),o&&(l.el=o);const s=!o&&e.subTree.el;t(e,l, +// component may have been moved before resolve. +// if this is not a hydration, instance.subTree will be the comment +// placeholder. +v(o||e.subTree.el), +// anchor will not be used if this is hydration, so only need to +// consider the comment placeholder case. +o?null:h(e.subTree),w,a,n),s&&m(s),Mi(e,l.el),r&&0==--w.deps&&w.resolve()}))},unmount(e,t){w.isUnmounted=!0,w.activeBranch&&d(w.activeBranch,n,e,t),w.pendingBranch&&d(w.pendingBranch,n,e,t)}};return w}function Li(e){let t;if(b(e)){const n=Gi&&e._c;n&&(e._d=!1,qi()),e=e(),n&&(e._d=!0,t=Wi,$i())}if(h(e)){const t=function(e){let t;for(let n=0;n<e.length;n++){const r=e[n];if(!Qi(r))return;if(r.type!==Vi||"v-if"===r.children){if(t)return;t=r}}return t}(e);e=t}return e=ca(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter((t=>t!==e))),e}function Fi(e,t){t&&t.pendingBranch?h(e)?t.effects.push(...e):t.effects.push(e):Fn(e)}function Ri(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let o=t.el;for(;!o&&t.component;)o=(t=t.component.subTree).el;n.el=o,r&&r.subTree===n&&(r.vnode.el=o,Mi(r,o))}const Bi=Symbol.for("v-fgt"),zi=Symbol.for("v-txt"),Vi=Symbol.for("v-cmt"),Ui=Symbol.for("v-stc"),Hi=[];let Wi=null;function qi(e=!1){Hi.push(Wi=e?null:[])}function $i(){Hi.pop(),Wi=Hi[Hi.length-1]||null}let Gi=1;function Ki(e,t=!1){Gi+=e,e<0&&Wi&&t&&(Wi.hasOnce=!0)}function Xi(e){return e.dynamicChildren=Gi>0?Wi||i:null,$i(),Gi>0&&Wi&&Wi.push(e),e}function Yi(e,t,n,r,o,i){return Xi(na(e,t,n,r,o,i,!0))}function Ji(e,t,n,r,o){return Xi(ra(e,t,n,r,o,!0))}function Qi(e){return!!e&&!0===e.__v_isVNode}function Zi(e,t){return e.type===t.type&&e.key===t.key}const ea=({key:e})=>null!=e?e:null,ta=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?_(e)||Zt(e)||b(e)?{i:Wn,r:e,k:t,f:!!n}:e:null);function na(e,t=null,n=null,r=0,o=null,i=(e===Bi?0:1),a=!1,l=!1){const s={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ea(t),ref:t&&ta(t),scopeId:qn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Wn};return l?(fa(s,n),128&i&&e.normalize(s)):n&&(s.shapeFlag|=_(n)?8:16),Gi>0&&// avoid a block node from tracking itself +!a&&// has current parent block +Wi&&(// presence of a patch flag indicates this node needs patching on updates. +// component nodes also should always be patched, because even if the +// component doesn't need to update, it needs to persist the instance on to +// the next vnode so that it can be properly unmounted later. +s.patchFlag>0||6&i)&&// the EVENTS flag is only for hydration and if it is the only flag, the +// vnode should not be considered dynamic due to handler caching. +32!==s.patchFlag&&Wi.push(s),s}const ra=function(e,t=null,n=null,r=0,o=null,i=!1){e&&e!==lo||(e=Vi);if(Qi(e)){const r=ia(e,t,!0 +/* mergeRef: true */);return n&&fa(r,n),Gi>0&&!i&&Wi&&(6&r.shapeFlag?Wi[Wi.indexOf(e)]=r:Wi.push(r)),r.patchFlag=-2,r}a=e,b(a)&&"__vccOpts"in a&&(e=e.__vccOpts);var a;if(t){t=oa(t);let{class:e,style:n}=t;e&&!_(e)&&(t.class=ne(e)),x(n)&&(Kt(n)&&!h(n)&&(n=u({},n)),t.style=J(n))}const l=_(e)?1:Pi(e)?128:Jn(e)?64:x(e)?4:b(e)?2:0;return na(e,t,n,r,o,l,i,!0)};function oa(e){return e?Kt(e)||$o(e)?u({},e):e:null}function ia(e,t,n=!1,r=!1){const{props:o,ref:i,patchFlag:a,children:l,transition:s}=e,c=t?pa(o||{},t):o,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&ea(c),ref:t&&t.ref? +// #2078 in the case of <component :is="vnode" ref="extra"/> +// if the vnode itself already has a ref, cloneVNode will need to merge +// the refs so the single vnode can be set on multiple refs +n&&i?h(i)?i.concat(ta(t)):[i,ta(t)]:ta(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag, +// if the vnode is cloned with extra props, we can no longer assume its +// existing patch flag to be reliable and need to add the FULL_PROPS flag. +// note: preserve flag for fragments since they use the flag for children +// fast paths only. +patchFlag:t&&e.type!==Bi?-1===a?16:16|a:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:s, +// These should technically only be non-null on mounted VNodes. However, +// they *should* be copied for kept-alive vnodes. So we just always copy +// them since them being non-null during a mount doesn't affect the logic as +// they will simply be overwritten. +component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ia(e.ssContent),ssFallback:e.ssFallback&&ia(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return s&&r&&_r(u,s.clone(u)),u}function aa(e=" ",t=0){return ra(zi,null,e,t)}function la(e,t){const n=ra(Ui,null,e);return n.staticCount=t,n}function sa(e="",t=!1){return t?(qi(),Ji(Vi,null,e)):ra(Vi,null,e)}function ca(e){return null==e||"boolean"==typeof e?ra(Vi):h(e)?ra(Bi,null, +// #3666, avoid reference pollution when reusing vnode +e.slice()):Qi(e)?ua(e):ra(zi,null,String(e))}function ua(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:ia(e)}function fa(e,t){let n=0;const{shapeFlag:r}=e;if(null==t)t=null;else if(h(t))n=16;else if("object"==typeof t){if(65&r){const n=t.default;return void(n&&(n._c&&(n._d=!1),fa(e,n()),n._c&&(n._d=!0)))}{n=32;const r=t._;r||$o(t)?3===r&&Wn&&(1===Wn.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=Wn}}else b(t)?(t={default:t,_ctx:Wn},n=32):(t=String(t),64&r?(n=16,t=[aa(t)]):n=8);e.children=t,e.shapeFlag|=n}function pa(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const e in r)if("class"===e)t.class!==r.class&&(t.class=ne([t.class,r.class]));else if("style"===e)t.style=J([t.style,r.style]);else if(s(e)){const n=t[e],o=r[e];!o||n===o||h(n)&&n.includes(o)||(t[e]=n?[].concat(n,o):o)}else""!==e&&(t[e]=r[e])}return t}function da(e,t,n,r=null){Sn(e,t,7,[n,r])}const ha=Fo();let va=0;function ma(e,t,n){const r=e.type,i=(t?t.appContext:e.appContext)||ha,a={uid:va++,vnode:e,type:r,parent:t,appContext:i,root:null, +// to be immediately set +next:null,subTree:null, +// will be set synchronously right after creation +effect:null,update:null, +// will be set synchronously right after creation +job:null,scope:new Te(!0 +/* detached */),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[], +// local resolved assets +components:null,directives:null, +// resolved props and emits options +propsOptions:Yo(r,i),emitsOptions:Ei(r,i), +// emit +emit:null, +// to be set immediately +emitted:null, +// props default value +propsDefaults:o, +// inheritAttrs +inheritAttrs:r.inheritAttrs, +// state +ctx:o,data:o,props:o,attrs:o,slots:o,refs:o,setupState:o,setupContext:null, +// suspense related +suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1, +// lifecycle hooks +// not using enums here because it results in computed properties +isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return a.ctx={_:a},a.root=t?t.root:a,a.emit=Oi.bind(null,a),e.ce&&e.ce(a),a}let ga=null;const ya=()=>ga||Wn;let ba,_a;{const e=W(),t=(t,n)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(n),e=>{r.length>1?r.forEach((t=>t(e))):r[0](e)}};ba=t("__VUE_INSTANCE_SETTERS__",(e=>ga=e)),_a=t("__VUE_SSR_SETTERS__",(e=>Ca=e))}const wa=e=>{const t=ga;return ba(e),e.scope.on(),()=>{e.scope.off(),ba(t)}},xa=()=>{ga&&ga.scope.off(),ba(null)};function Oa(e){return 4&e.vnode.shapeFlag}let Ea,Sa,Ca=!1;function Aa(e,t=!1,n=!1){t&&_a(t);const{props:r,children:o}=e.vnode,i=Oa(e);!function(e,t,n,r=!1){const o={},i=qo();e.propsDefaults=Object.create(null),Go(e,t,o,i);for(const a in e.propsOptions[0])a in o||(o[a]=void 0);n?e.props=r?o:Vt(o):e.type.props?e.props=o:e.props=i,e.attrs=i}(e,r,i,t),((e,t,n)=>{const r=e.slots=qo();if(32&e.vnode.shapeFlag){const e=t._;e?(ri(r,t,n),n&&z(r,"_",e,!0)):ti(t,r)}else t&&ni(e,t)})(e,o,n);const a=i?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,bo);const{setup:r}=n;if(r){Xe();const n=e.setupContext=r.length>1?Pa(e):null,o=wa(e),i=En(r,e,0,[e.props,n]),a=O(i);if(Ye(),o(),!a&&!e.sp||Nr(e)||Or(e),a){if(i.then(xa,xa),t)return i.then((n=>{ka(e,n,t)})).catch((t=>{Cn(t,e,0)}));e.asyncDep=i}else ka(e,i,t)}else Ta(e,t)}(e,t):void 0;return t&&_a(!1),a}function ka(e,t,n){b(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:x(t)&&(e.setupState=sn(t)),Ta(e,n)}function Ta(e,t,n){const r=e.type;if(!e.render){if(!t&&Ea&&!r.render){const t=r.template||To(e).template;if(t){const{isCustomElement:n,compilerOptions:o}=e.appContext.config,{delimiters:i,compilerOptions:a}=r,l=u(u({isCustomElement:n,delimiters:i},o),a);r.render=Ea(t,l)}}e.render=r.render||a,Sa&&Sa(e)}{const t=wa(e);Xe();try{Co(e)}finally{Ye(),t()}}}const Ma={get:(e,t)=>(at(e,0,""),e[t])};function Pa(e){const t=t=>{e.exposed=t||{}};return{attrs:new Proxy(e.attrs,Ma),slots:e.slots,emit:e.emit,expose:t}}function ja(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(sn(Yt(e.exposed)),{get:(t,n)=>n in t?t[n]:n in go?go[n](e):void 0,has:(e,t)=>t in e||t in go})):e.proxy}function Da(e,t=!0){return b(e)?e.displayName||e.name:e.name||t&&e.__name}const Ia=(e,t)=>{const n=function(e,t,n=!1){let r,o;return b(e)?r=e:(r=e.get,o=e.set),new mn(r,o,n)}(e,0,Ca);return n};function Na(e,t,n){const r=arguments.length;return 2===r?x(t)&&!h(t)?Qi(t)?ra(e,null,[t]):ra(e,t):ra(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&Qi(n)&&(n=[n]),ra(e,t,n))}function La(e,t,n,r){const o=n[r];if(o&&Fa(o,e))return o;const i=t();return i.memo=e.slice(),i.cacheIndex=r,n[r]=i}function Fa(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r<n.length;r++)if(R(n[r],t[r]))return!1;return Gi>0&&Wi&&Wi.push(e),!0}const Ra="3.5.13",Ba=a,za=On,Va=Un,Ua=function e(t,n){var r,o;if(Un=t,Un)Un.enabled=!0,Hn.forEach((({event:e,args:t})=>Un.emit(e,...t))),Hn=[];else if( +// handle late devtools injection - only do this if we are in an actual +// browser environment to avoid the timer handle stalling test runner exit +// (#4815) +"undefined"!=typeof window&&// some envs mock window but not fully +window.HTMLElement&&// also exclude jsdom +// eslint-disable-next-line no-restricted-syntax +!(null==(o=null==(r=window.navigator)?void 0:r.userAgent)?void 0:o.includes("jsdom"))){(n.__VUE_DEVTOOLS_HOOK_REPLAY__=n.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push((t=>{e(t,n)})),setTimeout((()=>{Un||(n.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Hn=[])}),3e3)}else Hn=[]},Ha={createComponentInstance:ma,setupComponent:Aa,renderComponentRoot:Ci,setCurrentRenderingInstance:$n,isVNode:Qi,normalizeVNode:ca,getComponentPublicInstance:ja,ensureValidVNode:vo,pushWarningContext:function(e){xn.push(e)},popWarningContext:function(){xn.pop()}}; +/** +* @vue/runtime-dom v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/ +let Wa;const qa="undefined"!=typeof window&&window.trustedTypes;if(qa)try{Wa=qa.createPolicy("vue",{createHTML:e=>e})}catch(Zne){}const $a=Wa?e=>Wa.createHTML(e):e=>e,Ga="undefined"!=typeof document?document:null,Ka=Ga&&Ga.createElement("template"),Xa={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o="svg"===t?Ga.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?Ga.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?Ga.createElement(e,{is:n}):Ga.createElement(e);return"select"===e&&r&&null!=r.multiple&&o.setAttribute("multiple",r.multiple),o},createText:e=>Ga.createTextNode(e),createComment:e=>Ga.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ga.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")}, +// __UNSAFE__ +// Reason: innerHTML. +// Static content here can only come from compiled templates. +// As long as the user only uses trusted templates, this is safe. +insertStaticContent(e,t,n,r,o,i){const a=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),o!==i&&(o=o.nextSibling););else{Ka.innerHTML=$a("svg"===r?`<svg>${e}</svg>`:"mathml"===r?`<math>${e}</math>`:e);const o=Ka.content;if("svg"===r||"mathml"===r){const e=o.firstChild;for(;e.firstChild;)o.appendChild(e.firstChild);o.removeChild(e)}t.insertBefore(o,n)}return[ +// first +a?a.nextSibling:t.firstChild, +// last +n?n.previousSibling:t.lastChild]}},Ya="transition",Ja="animation",Qa=Symbol("_vtc"),Za={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},el=u({},pr,Za),tl=(e=>(e.displayName="Transition",e.props=el,e))(((e,{slots:t})=>Na(vr,ol(e),t))),nl=(e,t=[])=>{h(e)?e.forEach((e=>e(...t))):e&&e(...t)},rl=e=>!!e&&(h(e)?e.some((e=>e.length>1)):e.length>1);function ol(e){const t={};for(const u in e)u in Za||(t[u]=e[u]);if(!1===e.css)return t;const{name:n="v",type:r,duration:o,enterFromClass:i=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:s=i,appearActiveClass:c=a,appearToClass:f=l,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,v=function(e){if(null==e)return null;if(x(e))return[il(e.enter),il(e.leave)];{const t=il(e);return[t,t]}}(o),m=v&&v[0],g=v&&v[1],{onBeforeEnter:y,onEnter:b,onEnterCancelled:_,onLeave:w,onLeaveCancelled:O,onBeforeAppear:E=y,onAppear:S=b,onAppearCancelled:C=_}=t,A=(e,t,n,r)=>{e._enterCancelled=r,ll(e,t?f:l),ll(e,t?c:a),n&&n()},k=(e,t)=>{e._isLeaving=!1,ll(e,p),ll(e,h),ll(e,d),t&&t()},T=e=>(t,n)=>{const o=e?S:b,a=()=>A(t,e,n);nl(o,[t,a]),sl((()=>{ll(t,e?s:i),al(t,e?f:l),rl(o)||ul(t,r,m,a)}))};return u(t,{onBeforeEnter(e){nl(y,[e]),al(e,i),al(e,a)},onBeforeAppear(e){nl(E,[e]),al(e,s),al(e,c)},onEnter:T(!1),onAppear:T(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>k(e,t);al(e,p),e._enterCancelled?(al(e,d),hl()):(hl(),al(e,d)),sl((()=>{e._isLeaving&&(ll(e,p),al(e,h),rl(w)||ul(e,r,g,n))})),nl(w,[e,n])},onEnterCancelled(e){A(e,!1,void 0,!0),nl(_,[e])},onAppearCancelled(e){A(e,!0,void 0,!0),nl(C,[e])},onLeaveCancelled(e){k(e),nl(O,[e])}})}function il(e){return U(e)}function al(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e[Qa]||(e[Qa]=new Set)).add(t)}function ll(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const n=e[Qa];n&&(n.delete(t),n.size||(e[Qa]=void 0))}function sl(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let cl=0;function ul(e,t,n,r){const o=e._endId=++cl,i=()=>{o===e._endId&&r()};if(null!=n)return setTimeout(i,n);const{type:a,timeout:l,propCount:s}=fl(e,t);if(!a)return r();const c=a+"end";let u=0;const f=()=>{e.removeEventListener(c,p),i()},p=t=>{t.target===e&&++u>=s&&f()};setTimeout((()=>{u<s&&f()}),l+1),e.addEventListener(c,p)}function fl(e,t){const n=window.getComputedStyle(e),r=e=>(n[e]||"").split(", "),o=r(`${Ya}Delay`),i=r(`${Ya}Duration`),a=pl(o,i),l=r(`${Ja}Delay`),s=r(`${Ja}Duration`),c=pl(l,s);let u=null,f=0,p=0;t===Ya?a>0&&(u=Ya,f=a,p=i.length):t===Ja?c>0&&(u=Ja,f=c,p=s.length):(f=Math.max(a,c),u=f>0?a>c?Ya:Ja:null,p=u?u===Ya?i.length:s.length:0);return{type:u,timeout:f,propCount:p,hasTransform:u===Ya&&/\b(transform|all)(,|$)/.test(r(`${Ya}Property`).toString())}}function pl(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map(((t,n)=>dl(t)+dl(e[n]))))}function dl(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}function hl(){return document.body.offsetHeight}const vl=Symbol("_vod"),ml=Symbol("_vsh"),gl={beforeMount(e,{value:t},{transition:n}){e[vl]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):yl(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),yl(e,!0),r.enter(e)):r.leave(e,(()=>{yl(e,!1)})):yl(e,t))},beforeUnmount(e,{value:t}){yl(e,t)}};function yl(e,t){e.style.display=t?e[vl]:"none",e[ml]=!t}const bl=Symbol("");function _l(e,t){if(128&e.shapeFlag){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push((()=>{_l(n.activeBranch,t)}))}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el)wl(e.el,t);else if(e.type===Bi)e.children.forEach((e=>_l(e,t)));else if(e.type===Ui){let{el:n,anchor:r}=e;for(;n&&(wl(n,t),n!==r);)n=n.nextSibling}}function wl(e,t){if(1===e.nodeType){const n=e.style;let r="";for(const e in t)n.setProperty(`--${e}`,t[e]),r+=`--${e}: ${t[e]};`;n[bl]=r}}const xl=/(^|;)\s*display\s*:/;const Ol=/\s*!important$/;function El(e,t,n){if(h(n))n.forEach((n=>El(e,t,n)));else if(null==n&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=function(e,t){const n=Cl[t];if(n)return n;let r=D(t);if("filter"!==r&&r in e)return Cl[t]=r;r=L(r);for(let o=0;o<Sl.length;o++){const n=Sl[o]+r;if(n in e)return Cl[t]=n}return t}(e,t);Ol.test(n)?e.setProperty(N(r),n.replace(Ol,""),"important"):e[r]=n}}const Sl=["Webkit","Moz","ms"],Cl={};const Al="http://www.w3.org/1999/xlink";function kl(e,t,n,r,o,i=ce(t)){r&&t.startsWith("xlink:")?null==n?e.removeAttributeNS(Al,t.slice(6,t.length)):e.setAttributeNS(Al,t,n):null==n||i&&!fe(n)?e.removeAttribute(t):e.setAttribute(t,i?"":w(n)?String(n):n)}function Tl(e,t,n,r,o){if("innerHTML"===t||"textContent"===t)return void(null!=n&&(e[t]="innerHTML"===t?$a(n):n));const i=e.tagName;if("value"===t&&"PROGRESS"!==i&&// custom elements may use _value internally +!i.includes("-")){const r="OPTION"===i?e.getAttribute("value")||"":e.value,o=null==n? +// #11647: value should be set as empty string for null and undefined, +// but <input type="checkbox"> should be set as 'on'. +"checkbox"===e.type?"on":"":String(n);return r===o&&"_value"in e||(e.value=o),null==n&&e.removeAttribute(t),void(e._value=n)}let a=!1;if(""===n||null==n){const r=typeof e[t];"boolean"===r?n=fe(n):null==n&&"string"===r?(n="",a=!0):"number"===r&&(n=0,a=!0)}try{e[t]=n}catch(Zne){}a&&e.removeAttribute(o||t)}function Ml(e,t,n,r){e.addEventListener(t,n,r)}const Pl=Symbol("_vei");function jl(e,t,n,r,o=null){const i=e[Pl]||(e[Pl]={}),a=i[t];if(r&&a)a.value=r;else{const[n,l]=function(e){let t;if(Dl.test(e)){let n;for(t={};n=e.match(Dl);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}const n=":"===e[2]?e.slice(3):N(e.slice(2));return[n,t]}(t);if(r){const a=i[t]=function(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();Sn(function(e,t){if(h(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e&&e(t)))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=Ll(),n}(r,o);Ml(e,n,a,l)}else a&&(!function(e,t,n,r){e.removeEventListener(t,n,r)}(e,n,a,l),i[t]=void 0)}}const Dl=/(?:Once|Passive|Capture)$/;let Il=0;const Nl=Promise.resolve(),Ll=()=>Il||(Nl.then((()=>Il=0)),Il=Date.now());const Fl=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&// lowercase letter +e.charCodeAt(2)>96&&e.charCodeAt(2)<123;const Rl={}; +/*! #__NO_SIDE_EFFECTS__ */ +// @__NO_SIDE_EFFECTS__ +function Bl(e,t,n){const r=xr(e,t);A(r)&&u(r,t);class o extends Vl{constructor(e){super(r,e,n)}}return o.def=r,o} +/*! #__NO_SIDE_EFFECTS__ */const zl="undefined"!=typeof HTMLElement?HTMLElement:class{};class Vl extends zl{constructor(e,t={},n=Os){super(),this._def=e,this._props=t,this._createApp=n,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&n!==Os?this._root=this.shadowRoot:!1!==e.shadowRoot?(this.attachShadow({mode:"open"}),this._root=this.shadowRoot):this._root=this,this._def.__asyncLoader||this._resolveProps(this._def)}connectedCallback(){if(!this.isConnected)return;this.shadowRoot||this._parseSlots(),this._connected=!0;let e=this;for(;e=e&&(e.parentNode||e.host);)if(e instanceof Vl){this._parent=e;break}this._instance||(this._resolved?(this._setParent(),this._update()):e&&e._pendingResolve?this._pendingResolve=e._pendingResolve.then((()=>{this._pendingResolve=void 0,this._resolveDef()})):this._resolveDef())}_setParent(e=this._parent){e&&(this._instance.parent=e._instance,this._instance.provides=e._instance.provides)}disconnectedCallback(){this._connected=!1,In((()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null)}))} +/** + * resolve inner component definition (handle possible async component) + */_resolveDef(){if(this._pendingResolve)return;for(let n=0;n<this.attributes.length;n++)this._setAttr(this.attributes[n].name);this._ob=new MutationObserver((e=>{for(const t of e)this._setAttr(t.attributeName)})),this._ob.observe(this,{attributes:!0});const e=(e,t=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:n,styles:r}=e;let o;if(n&&!h(n))for(const i in n){const e=n[i];(e===Number||e&&e.type===Number)&&(i in this._props&&(this._props[i]=U(this._props[i])),(o||(o=Object.create(null)))[D(i)]=!0)}this._numberProps=o,t&&this._resolveProps(e),this.shadowRoot&&this._applyStyles(r),this._mount(e)},t=this._def.__asyncLoader;t?this._pendingResolve=t().then((t=>e(this._def=t,!0))):e(this._def)}_mount(e){this._app=this._createApp(e),e.configureApp&&e.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const t=this._instance&&this._instance.exposed;if(t)for(const n in t)d(this,n)||Object.defineProperty(this,n,{ +// unwrap ref to be consistent with public instance behavior +get:()=>on(t[n])})}_resolveProps(e){const{props:t}=e,n=h(t)?t:Object.keys(t||{});for(const r of Object.keys(this))"_"!==r[0]&&n.includes(r)&&this._setProp(r,this[r]);for(const r of n.map(D))Object.defineProperty(this,r,{get(){return this._getProp(r)},set(e){this._setProp(r,e,!0,!0)}})}_setAttr(e){if(e.startsWith("data-v-"))return;const t=this.hasAttribute(e);let n=t?this.getAttribute(e):Rl;const r=D(e);t&&this._numberProps&&this._numberProps[r]&&(n=U(n)),this._setProp(r,n,!1,!0)} +/** + * @internal + */_getProp(e){return this._props[e]} +/** + * @internal + */_setProp(e,t,n=!0,r=!1){if(t!==this._props[e]&&(t===Rl?delete this._props[e]:(this._props[e]=t,"key"===e&&this._app&&(this._app._ceVNode.key=t)),r&&this._instance&&this._update(),n)){const n=this._ob;n&&n.disconnect(),!0===t?this.setAttribute(N(e),""):"string"==typeof t||"number"==typeof t?this.setAttribute(N(e),t+""):t||this.removeAttribute(N(e)),n&&n.observe(this,{attributes:!0})}}_update(){xs(this._createVNode(),this._root)}_createVNode(){const e={};this.shadowRoot||(e.onVnodeMounted=e.onVnodeUpdated=this._renderSlots.bind(this));const t=ra(this._def,u(e,this._props));return this._instance||(t.ce=e=>{this._instance=e,e.ce=this,e.isCE=!0;const t=(e,t)=>{this.dispatchEvent(new CustomEvent(e,A(t[0])?u({detail:t},t[0]):{detail:t}))};e.emit=(e,...n)=>{t(e,n),N(e)!==e&&t(N(e),n)},this._setParent()}),t}_applyStyles(e,t){if(!e)return;if(t){if(t===this._def||this._styleChildren.has(t))return;this._styleChildren.add(t)}const n=this._nonce;for(let r=e.length-1;r>=0;r--){const t=document.createElement("style");n&&t.setAttribute("nonce",n),t.textContent=e[r],this.shadowRoot.prepend(t)}} +/** + * Only called when shadowRoot is false + */_parseSlots(){const e=this._slots={};let t;for(;t=this.firstChild;){const n=1===t.nodeType&&t.getAttribute("slot")||"default";(e[n]||(e[n]=[])).push(t),this.removeChild(t)}} +/** + * Only called when shadowRoot is false + */_renderSlots(){const e=(this._teleportTarget||this).querySelectorAll("slot"),t=this._instance.type.__scopeId;for(let n=0;n<e.length;n++){const r=e[n],o=r.getAttribute("name")||"default",i=this._slots[o],a=r.parentNode;if(i)for(const e of i){if(t&&1===e.nodeType){const n=t+"-s",r=document.createTreeWalker(e,1);let o;for(e.setAttribute(n,"");o=r.nextNode();)o.setAttribute(n,"")}a.insertBefore(e,r)}else for(;r.firstChild;)a.insertBefore(r.firstChild,r);a.removeChild(r)}} +/** + * @internal + */_injectChildStyle(e){this._applyStyles(e.styles,e)} +/** + * @internal + */_removeChildStyle(e){}}function Ul(e){const t=ya(),n=t&&t.ce;return n||null}const Hl=new WeakMap,Wl=new WeakMap,ql=Symbol("_moveCb"),$l=Symbol("_enterCb"),Gl=(e=>(delete e.props.mode,e))({name:"TransitionGroup",props:u({},el,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=ya(),r=ur();let o,i;return Qr((()=>{if(!o.length)return;const t=e.moveClass||`${e.name||"v"}-move`;if(!function(e,t,n){const r=e.cloneNode(),o=e[Qa];o&&o.forEach((e=>{e.split(/\s+/).forEach((e=>e&&r.classList.remove(e)))}));n.split(/\s+/).forEach((e=>e&&r.classList.add(e))),r.style.display="none";const i=1===t.nodeType?t:t.parentNode;i.appendChild(r);const{hasTransform:a}=fl(r);return i.removeChild(r),a}(o[0].el,n.vnode.el,t))return;o.forEach(Xl),o.forEach(Yl);const r=o.filter(Jl);hl(),r.forEach((e=>{const n=e.el,r=n.style;al(n,t),r.transform=r.webkitTransform=r.transitionDuration="";const o=n[ql]=e=>{e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener("transitionend",o),n[ql]=null,ll(n,t))};n.addEventListener("transitionend",o)}))})),()=>{const a=Xt(e),l=ol(a);let s=a.tag||Bi;if(o=[],i)for(let e=0;e<i.length;e++){const t=i[e];t.el&&t.el instanceof Element&&(o.push(t),_r(t,gr(t,l,r,n)),Hl.set(t,t.el.getBoundingClientRect()))}i=t.default?wr(t.default()):[];for(let e=0;e<i.length;e++){const t=i[e];null!=t.key&&_r(t,gr(t,l,r,n))}return ra(s,null,i)}}}),Kl=Gl;function Xl(e){const t=e.el;t[ql]&&t[ql](),t[$l]&&t[$l]()}function Yl(e){Wl.set(e,e.el.getBoundingClientRect())}function Jl(e){const t=Hl.get(e),n=Wl.get(e),r=t.left-n.left,o=t.top-n.top;if(r||o){const t=e.el.style;return t.transform=t.webkitTransform=`translate(${r}px,${o}px)`,t.transitionDuration="0s",e}}const Ql=e=>{const t=e.props["onUpdate:modelValue"]||!1;return h(t)?e=>B(t,e):t};function Zl(e){e.target.composing=!0}function es(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ts=Symbol("_assign"),ns={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e[ts]=Ql(o);const i=r||o.props&&"number"===o.props.type;Ml(e,t?"change":"input",(t=>{if(t.target.composing)return;let r=e.value;n&&(r=r.trim()),i&&(r=V(r)),e[ts](r)})),n&&Ml(e,"change",(()=>{e.value=e.value.trim()})),t||(Ml(e,"compositionstart",Zl),Ml(e,"compositionend",es),Ml(e,"change",es))}, +// set value on mounted so it's after min/max for type="range" +mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:o,number:i}},a){if(e[ts]=Ql(a),e.composing)return;const l=null==t?"":t;if((!i&&"number"!==e.type||/^0\d/.test(e.value)?e.value:V(e.value))!==l){if(document.activeElement===e&&"range"!==e.type){if(r&&t===n)return;if(o&&e.value.trim()===l)return}e.value=l}}},rs={ +// #4096 array checkboxes need to be deep traversed +deep:!0,created(e,t,n){e[ts]=Ql(n),Ml(e,"change",(()=>{const t=e._modelValue,n=ss(e),r=e.checked,o=e[ts];if(h(t)){const e=we(t,n),i=-1!==e;if(r&&!i)o(t.concat(n));else if(!r&&i){const n=[...t];n.splice(e,1),o(n)}}else if(m(t)){const e=new Set(t);r?e.add(n):e.delete(n),o(e)}else o(cs(e,r))}))}, +// set initial checked on mount to wait for true-value/false-value +mounted:os,beforeUpdate(e,t,n){e[ts]=Ql(n),os(e,t,n)}};function os(e,{value:t,oldValue:n},r){let o;if(e._modelValue=t,h(t))o=we(t,r.props.value)>-1;else if(m(t))o=t.has(r.props.value);else{if(t===n)return;o=_e(t,cs(e,!0))}e.checked!==o&&(e.checked=o)}const is={created(e,{value:t},n){e.checked=_e(t,n.props.value),e[ts]=Ql(n),Ml(e,"change",(()=>{e[ts](ss(e))}))},beforeUpdate(e,{value:t,oldValue:n},r){e[ts]=Ql(r),t!==n&&(e.checked=_e(t,r.props.value))}},as={ +// <select multiple> value need to be deep traversed +deep:!0,created(e,{value:t,modifiers:{number:n}},r){const o=m(t);Ml(e,"change",(()=>{const t=Array.prototype.filter.call(e.options,(e=>e.selected)).map((e=>n?V(ss(e)):ss(e)));e[ts](e.multiple?o?new Set(t):t:t[0]),e._assigning=!0,In((()=>{e._assigning=!1}))})),e[ts]=Ql(r)}, +// set value in mounted & updated because <select> relies on its children +// <option>s. +mounted(e,{value:t}){ls(e,t)},beforeUpdate(e,t,n){e[ts]=Ql(n)},updated(e,{value:t}){e._assigning||ls(e,t)}};function ls(e,t){const n=e.multiple,r=h(t);if(!n||r||m(t)){for(let o=0,i=e.options.length;o<i;o++){const i=e.options[o],a=ss(i);if(n)if(r){const e=typeof a;i.selected="string"===e||"number"===e?t.some((e=>String(e)===String(a))):we(t,a)>-1}else i.selected=t.has(a);else if(_e(ss(i),t))return void(e.selectedIndex!==o&&(e.selectedIndex=o))}n||-1===e.selectedIndex||(e.selectedIndex=-1)}}function ss(e){return"_value"in e?e._value:e.value}function cs(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const us={created(e,t,n){ps(e,t,n,null,"created")},mounted(e,t,n){ps(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){ps(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){ps(e,t,n,r,"updated")}};function fs(e,t){switch(e){case"SELECT":return as;case"TEXTAREA":return ns;default:switch(t){case"checkbox":return rs;case"radio":return is;default:return ns}}}function ps(e,t,n,r,o){const i=fs(e.tagName,n.props&&n.props.type)[o];i&&i(e,t,n,r)}const ds=["ctrl","shift","alt","meta"],hs={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>ds.some((n=>e[`${n}Key`]&&!t.includes(n)))},vs=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(n,...r)=>{for(let e=0;e<t.length;e++){const r=hs[t[e]];if(r&&r(n,t))return}return e(n,...r)})},ms={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},gs=u({patchProp:(e,t,n,r,o,i)=>{const a="svg"===o;"class"===t?function(e,t,n){const r=e[Qa];r&&(t=(t?[t,...r]:[...r]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,r,a):"style"===t?function(e,t,n){const r=e.style,o=_(n);let i=!1;if(n&&!o){if(t)if(_(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&El(r,t,"")}else for(const e in t)null==n[e]&&El(r,e,"");for(const e in n)"display"===e&&(i=!0),El(r,e,n[e])}else if(o){if(t!==n){const e=r[bl];e&&(n+=";"+e),r.cssText=n,i=xl.test(n)}}else t&&e.removeAttribute("style");vl in e&&(e[vl]=i?r.display:"",e[ml]&&(r.display="none"))}(e,n,r):s(t)?c(t)||jl(e,t,0,r,i):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,r){if(r)return"innerHTML"===t||"textContent"===t||!!(t in e&&Fl(t)&&b(n));if("spellcheck"===t||"draggable"===t||"translate"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){const t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}if(Fl(t)&&_(n))return!1;return t in e}(e,t,r,a))?(Tl(e,t,r),e.tagName.includes("-")||"value"!==t&&"checked"!==t&&"selected"!==t||kl(e,t,r,a,0,"value"!==t)): +// #11081 force set props for possible async custom element +!e._isVueCE||!/[A-Z]/.test(t)&&_(r)?("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),kl(e,t,r,a)):Tl(e,D(t),r,0,t)}},Xa);let ys,bs=!1;function _s(){return ys||(ys=ii(gs))}function ws(){return ys=bs?ys:ai(gs),bs=!0,ys}const xs=(...e)=>{_s().render(...e)},Os=(...e)=>{const t=_s().createApp(...e),{mount:n}=t;return t.mount=e=>{const r=Cs(e);if(!r)return;const o=t._component;b(o)||o.render||o.template||(o.template=r.innerHTML),1===r.nodeType&&(r.textContent="");const i=n(r,!1,Ss(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t},Es=(...e)=>{const t=ws().createApp(...e),{mount:n}=t;return t.mount=e=>{const t=Cs(e);if(t)return n(t,!0,Ss(t))},t};function Ss(e){return e instanceof SVGElement?"svg":"function"==typeof MathMLElement&&e instanceof MathMLElement?"mathml":void 0}function Cs(e){if(_(e)){return document.querySelector(e)}return e}let As=!1;const ks=Object.defineProperty({__proto__:null,BaseTransition:vr,BaseTransitionPropsValidators:pr,Comment:Vi,DeprecationTypes:null,EffectScope:Te,ErrorCodes:{SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"},ErrorTypeStrings:za,Fragment:Bi,KeepAlive:Br,ReactiveEffect:Ie,Static:Ui,Suspense:Di,Teleport:ir,Text:zi,TrackOpTypes:{GET:"get",HAS:"has",ITERATE:"iterate"},Transition:tl,TransitionGroup:Kl,TriggerOpTypes:{SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},VueElement:Vl,assertNumber:function(e,t){},callWithAsyncErrorHandling:Sn,callWithErrorHandling:En,camelize:D,capitalize:L,cloneVNode:ia,compatUtils:null,computed:Ia,createApp:Os,createBlock:Ji,createCommentVNode:sa,createElementBlock:Yi,createElementVNode:na,createHydrationRenderer:ai,createPropsRestProxy:function(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n},createRenderer:ii,createSSRApp:Es,createSlots:function(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(h(r))for(let t=0;t<r.length;t++)e[r[t].name]=r[t].fn;else r&&(e[r.name]=r.key?(...e)=>{const t=r.fn(...e);return t&&(t.key=r.key),t}:r.fn)}return e},createStaticVNode:la,createTextVNode:aa,createVNode:ra,customRef:un,defineAsyncComponent:function(e){b(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,hydrate:i,timeout:a,suspensible: +// undefined = never times out +l=!0,onError:s}=e;let c,u=null,f=0;const p=()=>{let e;return u||(e=u=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),s)return new Promise(((t,n)=>{s(e,(()=>t((f++,u=null,p()))),(()=>n(e)),f+1)}));throw e})).then((t=>e!==u&&u?u:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),c=t,t))))}; +return xr({name:"AsyncComponentWrapper",__asyncLoader:p,__asyncHydrate(e,t,n){const r=i?()=>{const r=i(n,(t=>function(e,t){if(kr(e)&&"["===e.data){let n=1,r=e.nextSibling;for(;r;){if(1===r.nodeType){if(!1===t(r))break}else if(kr(r))if("]"===r.data){if(0==--n)break}else"["===r.data&&n++;r=r.nextSibling}}else t(e)}(e,t)));r&&(t.bum||(t.bum=[])).push(r)}:n;c?r():p().then((()=>!t.isUnmounted&&r()))},get __asyncResolved(){return c},setup(){const e=ga;if(Or(e),c)return()=>Lr(c,e);const t=t=>{u=null,Cn(t,e,13,!r)};if(l&&e.suspense||Ca)return p().then((t=>()=>Lr(t,e))).catch((e=>(t(e),()=>r?ra(r,{error:e}):null)));const i=en(!1),s=en(),f=en(!!o);return o&&setTimeout((()=>{f.value=!1}),o),null!=a&&setTimeout((()=>{if(!i.value&&!s.value){const e=new Error(`Async component timed out after ${a}ms.`);t(e),s.value=e}}),a),p().then((()=>{i.value=!0,e.parent&&Fr(e.parent.vnode)&&e.parent.update()})).catch((e=>{t(e),s.value=e})),()=>i.value&&c?Lr(c,e):s.value&&r?ra(r,{error:s.value}):n&&!f.value?ra(n):void 0}})},defineComponent:xr,defineCustomElement:Bl,defineEmits:function(){return null},defineExpose:function(e){},defineModel:function(){},defineOptions:function(e){},defineProps:function(){return null},defineSSRCustomElement:/* @__NO_SIDE_EFFECTS__ */(e,t)=>Bl(e,t,Es),defineSlots:function(){return null},devtools:Va,effect:function(e,t){e.effect instanceof Ie&&(e=e.effect.fn);const n=new Ie(e);t&&u(n,t);try{n.run()}catch(o){throw n.stop(),o}const r=n.run.bind(n);return r.effect=n,r},effectScope:Me,getCurrentInstance:ya,getCurrentScope:Pe,getCurrentWatcher:function(){return bn},getTransitionRawChildren:wr,guardReactiveProps:oa,h:Na,handleError:Cn,hasInjectionContext:Ho,hydrate:(...e)=>{ws().hydrate(...e)},hydrateOnIdle:(e=1e4)=>t=>{const n=Dr(t,{timeout:e});return()=>Ir(n)},hydrateOnInteraction:(e=[])=>(t,n)=>{_(e)&&(e=[e]);let r=!1;const o=e=>{r||(r=!0,i(),t(),e.target.dispatchEvent(new e.constructor(e.type,e)))},i=()=>{n((t=>{for(const n of e)t.removeEventListener(n,o)}))};return n((t=>{for(const n of e)t.addEventListener(n,o,{once:!0})})),i},hydrateOnMediaQuery:e=>t=>{if(e){const n=matchMedia(e);if(!n.matches)return n.addEventListener("change",t,{once:!0}),()=>n.removeEventListener("change",t);t()}},hydrateOnVisible:e=>(t,n)=>{const r=new IntersectionObserver((e=>{for(const n of e)if(n.isIntersecting){r.disconnect(),t();break}}),e);return n((e=>{if(e instanceof Element)return function(e){const{top:t,left:n,bottom:r,right:o}=e.getBoundingClientRect(),{innerHeight:i,innerWidth:a}=window;return(t>0&&t<i||r>0&&r<i)&&(n>0&&n<a||o>0&&o<a)}(e)?(t(),r.disconnect(),!1):void r.observe(e)})),()=>r.disconnect()},initCustomFormatter:function(){},initDirectivesForSSR:()=>{As||(As=!0,ns.getSSRProps=({value:e})=>({value:e}),is.getSSRProps=({value:e},t)=>{if(t.props&&_e(t.props.value,e))return{checked:!0}},rs.getSSRProps=({value:e},t)=>{if(h(e)){if(t.props&&we(e,t.props.value)>-1)return{checked:!0}}else if(m(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},us.getSSRProps=(e,t)=>{if("string"!=typeof t.type)return;const n=fs( +// resolveDynamicModel expects an uppercase tag name, but vnode.type is lowercase +t.type.toUpperCase(),t.props&&t.props.type);return n.getSSRProps?n.getSSRProps(e,t):void 0},gl.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}})},inject:Uo,isMemoSame:Fa,isProxy:Kt,isReactive:qt,isReadonly:$t,isRef:Zt,isRuntimeOnly:()=>!Ea,isShallow:Gt,isVNode:Qi,markRaw:Yt,mergeDefaults:Eo,mergeModels:function(e,t){return e&&t?h(e)&&h(t)?e.concat(t):u({},Oo(e),Oo(t)):e||t},mergeProps:pa,nextTick:In,normalizeClass:ne,normalizeProps:re,normalizeStyle:J,onActivated:Vr,onBeforeMount:Xr,onBeforeUnmount:Zr,onBeforeUpdate:Jr,onDeactivated:Ur,onErrorCaptured:oo,onMounted:Yr,onRenderTracked:ro,onRenderTriggered:no,onScopeDispose:je,onServerPrefetch:to,onUnmounted:eo,onUpdated:Qr,onWatcherCleanup:_n,openBlock:qi,popScopeId:function(){qn=null},provide:Vo,proxyRefs:sn,pushScopeId:function(e){qn=e},queuePostFlushCb:Fn,reactive:zt,readonly:Ut,ref:en,registerRuntimeCompiler:function(e){Ea=e,Sa=e=>{e.render._rc&&(e.withProxy=new Proxy(e.ctx,_o))}},render:xs,renderList:po,renderSlot:ho,resolveComponent:ao,resolveDirective:co,resolveDynamicComponent:so,resolveFilter:null,resolveTransitionHooks:gr,setBlockTracking:Ki,setDevtoolsHook:Ua,setTransitionHooks:_r,shallowReactive:Vt,shallowReadonly:Ht,shallowRef:tn,ssrContextKey:hi,ssrUtils:Ha,stop:function(e){e.effect.stop()},toDisplayString:Oe,toHandlerKey:F,toHandlers:function(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:F(r)]=e[r];return n},toRaw:Xt,toRef:hn,toRefs:fn,toValue:an,transformVNodeArgs:function(e){},triggerRef:function(e){e.dep&&e.dep.trigger()},unref:on,useAttrs:function(){return xo().attrs},useCssModule:function(e="$style"){{const t=ya();if(!t)return o;const n=t.type.__cssModules;if(!n)return o;const r=n[e];return r||o}},useCssVars:function(e){const t=ya();if(!t)return;const n=t.ut=(n=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach((e=>wl(e,n)))},r=()=>{const r=e(t.proxy);t.ce?wl(t.ce,r):_l(t.subTree,r),n(r)};Jr((()=>{Fn(r)})),Yr((()=>{yi(r,a,{flush:"post"});const e=new MutationObserver(r);e.observe(t.subTree.el.parentNode,{childList:!0}),eo((()=>e.disconnect()))}))},useHost:Ul,useId:function(){const e=ya();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""},useModel:function(e,t,n=o){const r=ya(),i=D(t),a=N(t),l=xi(e,i),s=un(((l,s)=>{let c,u,f=o;return gi((()=>{const t=e[i];R(c,t)&&(c=t,s())})),{get:()=>(l(),n.get?n.get(c):c),set(e){const l=n.set?n.set(e):e;if(!(R(l,c)||f!==o&&R(e,f)))return;const p=r.vnode.props;p&&(// check if parent has passed v-model +t in p||i in p||a in p)&&(`onUpdate:${t}`in p||`onUpdate:${i}`in p||`onUpdate:${a}`in p)||(c=e,s()),r.emit(`update:${t}`,l),R(e,l)&&R(e,f)&&!R(l,u)&&s(),f=e,u=l}}}));return s[Symbol.iterator]=()=>{let e=0;return{next:()=>e<2?{value:e++?l||o:s,done:!1}:{done:!0}}},s},useSSRContext:vi,useShadowRoot:function(){const e=Ul();return e&&e.shadowRoot},useSlots:wo,useTemplateRef:function(e){const t=ya(),n=tn(null);if(t){const r=t.refs===o?t.refs={}:t.refs;Object.defineProperty(r,e,{enumerable:!0,get:()=>n.value,set:e=>n.value=e})}return n},useTransitionState:ur,vModelCheckbox:rs,vModelDynamic:us,vModelRadio:is,vModelSelect:as,vModelText:ns,vShow:gl,version:Ra,warn:Ba,watch:yi,watchEffect:mi,watchPostEffect:function(e,t){return bi(e,null,{flush:"post"})},watchSyncEffect:gi,withAsyncContext:function(e){const t=ya();let n=e();return xa(),O(n)&&(n=n.catch((e=>{throw wa(t),e}))),[n,()=>wa(t)]},withCtx:Gn,withDefaults:function(e,t){return null},withDirectives:Kn,withKeys:(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=n=>{if(!("key"in n))return;const r=N(n.key);return t.some((e=>e===r||ms[e]===r))?e(n):void 0})},withMemo:La,withModifiers:vs,withScopeId:e=>Gn},Symbol.toStringTag,{value:"Module"}); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function Ts(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Ms(e,t){if(e){if("string"==typeof e)return Ts(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ts(e,t):void 0}} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function Ps(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function js(e){return function(e){if(Array.isArray(e))return Ts(e)}(e)||Ps(e)||Ms(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function Ds(e){return(Ds="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function Is(e){var t=function(e,t){if("object"!=Ds(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Ds(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Ds(t)?t:t+""}function Ns(e,t,n){return(t=Is(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */}var Ls="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Fs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var Rs=function(e){var t=Ds(e);return null!=e&&("object"==t||"function"==t)},Bs="object"==Ds(Ls)&&Ls&&Ls.Object===Object&&Ls,zs=Bs,Vs="object"==("undefined"==typeof self?"undefined":Ds(self))&&self&&self.Object===Object&&self,Us=zs||Vs||Function("return this")(),Hs=Us.Symbol,Ws=Hs,qs=Object.prototype,$s=qs.hasOwnProperty,Gs=qs.toString,Ks=Ws?Ws.toStringTag:void 0; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var Xs=function(e){var t=$s.call(e,Ks),n=e[Ks];try{e[Ks]=void 0;var r=!0}catch(Zne){}var o=Gs.call(e);return r&&(t?e[Ks]=n:delete e[Ks]),o},Ys=Object.prototype.toString;var Js=function(e){return Ys.call(e)},Qs=Xs,Zs=Js,ec=Hs?Hs.toStringTag:void 0;var tc=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":ec&&ec in Object(e)?Qs(e):Zs(e)},nc=tc,rc=Rs; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var oc,ic=function(e){if(!rc(e))return!1;var t=nc(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},ac=Us["__core-js_shared__"],lc=(oc=/[^.]+$/.exec(ac&&ac.keys&&ac.keys.IE_PROTO||""))?"Symbol(src)_1."+oc:""; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var sc=function(e){return!!lc&&lc in e},cc=Function.prototype.toString;var uc=function(e){if(null!=e){try{return cc.call(e)}catch(Zne){}try{return e+""}catch(Zne){}}return""},fc=ic,pc=sc,dc=Rs,hc=uc,vc=/^\[object .+?Constructor\]$/,mc=Function.prototype,gc=Object.prototype,yc=mc.toString,bc=gc.hasOwnProperty,_c=RegExp("^"+yc.call(bc).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var wc=function(e){return!(!dc(e)||pc(e))&&(fc(e)?_c:vc).test(hc(e))};var xc=function(e,t){return null==e?void 0:e[t]},Oc=wc,Ec=xc;var Sc=function(e,t){var n=Ec(e,t);return Oc(n)?n:void 0},Cc=Sc(Us,"Map"),Ac=Sc,kc=function(){try{var e=Ac(Object,"defineProperty");return e({},"",{}),e}catch(Zne){}}();var Tc= +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function(e,t){return e===t||e!=e&&t!=t},Mc=kc; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var Pc=function(e,t,n){"__proto__"==t&&Mc?Mc(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n},jc=Pc,Dc=Tc,Ic=Object.prototype.hasOwnProperty;var Nc=function(e,t,n){var r=e[t];Ic.call(e,t)&&Dc(r,n)&&(void 0!==n||t in e)||jc(e,t,n)}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var Lc=function(){this.__data__=[],this.size=0},Fc=Tc;var Rc=function(e,t){for(var n=e.length;n--;)if(Fc(e[n][0],t))return n;return-1},Bc=Rc,zc=Array.prototype.splice;var Vc=function(e){var t=this.__data__,n=Bc(t,e);return!(n<0)&&(n==t.length-1?t.pop():zc.call(t,n,1),--this.size,!0)},Uc=Rc;var Hc=function(e){var t=this.__data__,n=Uc(t,e);return n<0?void 0:t[n][1]},Wc=Rc;var qc=function(e){return Wc(this.__data__,e)>-1},$c=Rc;var Gc=function(e,t){var n=this.__data__,r=$c(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Kc=Lc,Xc=Vc,Yc=Hc,Jc=qc,Qc=Gc;function Zc(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Zc.prototype.clear=Kc,Zc.prototype.delete=Xc,Zc.prototype.get=Yc,Zc.prototype.has=Jc,Zc.prototype.set=Qc;var eu=Zc,tu=Sc(Object,"create"),nu=tu;var ru=function(){this.__data__=nu?nu(null):{},this.size=0};var ou=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},iu=tu,au=Object.prototype.hasOwnProperty;var lu=function(e){var t=this.__data__;if(iu){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return au.call(t,e)?t[e]:void 0},su=tu,cu=Object.prototype.hasOwnProperty;var uu=function(e){var t=this.__data__;return su?void 0!==t[e]:cu.call(t,e)},fu=tu;var pu=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=fu&&void 0===t?"__lodash_hash_undefined__":t,this},du=ru,hu=ou,vu=lu,mu=uu,gu=pu;function yu(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}yu.prototype.clear=du,yu.prototype.delete=hu,yu.prototype.get=vu,yu.prototype.has=mu,yu.prototype.set=gu;var bu=yu,_u=eu,wu=Cc;var xu=function(e){var t=Ds(e);return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e},Ou=xu;var Eu=function(e,t){var n=e.__data__;return Ou(t)?n["string"==typeof t?"string":"hash"]:n.map},Su=Eu;var Cu=function(e){var t=Su(this,e).delete(e);return this.size-=t?1:0,t},Au=Eu;var ku=function(e){return Au(this,e).get(e)},Tu=Eu;var Mu=function(e){return Tu(this,e).has(e)},Pu=Eu;var ju=function(e,t){var n=Pu(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Du=function(){this.size=0,this.__data__={hash:new bu,map:new(wu||_u),string:new bu}},Iu=Cu,Nu=ku,Lu=Mu,Fu=ju;function Ru(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Ru.prototype.clear=Du,Ru.prototype.delete=Iu,Ru.prototype.get=Nu,Ru.prototype.has=Lu,Ru.prototype.set=Fu;var Bu=Ru; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var zu=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991},Vu=ic,Uu=zu;var Hu=function(e){return null!=e&&Uu(e.length)&&!Vu(e)}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var Wu=function(e){return null!=e&&"object"==Ds(e)}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var qu,$u,Gu,Ku,Xu,Yu,Ju,Qu,Zu=function(e){return function(t){return e(t)}},ef={exports:{}}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */qu=ef,Gu=Us,Ku=function(){return!1},Xu=($u=ef.exports)&&!$u.nodeType&&$u,Yu=Xu&&qu&&!qu.nodeType&&qu,Ju=Yu&&Yu.exports===Xu?Gu.Buffer:void 0,Qu=(Ju?Ju.isBuffer:void 0)||Ku,qu.exports=Qu;var tf=tc,nf=zu,rf=Wu,of={};of["[object Float32Array]"]=of["[object Float64Array]"]=of["[object Int8Array]"]=of["[object Int16Array]"]=of["[object Int32Array]"]=of["[object Uint8Array]"]=of["[object Uint8ClampedArray]"]=of["[object Uint16Array]"]=of["[object Uint32Array]"]=!0,of["[object Arguments]"]=of["[object Array]"]=of["[object ArrayBuffer]"]=of["[object Boolean]"]=of["[object DataView]"]=of["[object Date]"]=of["[object Error]"]=of["[object Function]"]=of["[object Map]"]=of["[object Number]"]=of["[object Object]"]=of["[object RegExp]"]=of["[object Set]"]=of["[object String]"]=of["[object WeakMap]"]=!1;var af=function(e){return rf(e)&&nf(e.length)&&!!of[tf(e)]},lf={exports:{}};!function(e,t){var n=Bs,r=t&&!t.nodeType&&t,o=r&&e&&!e.nodeType&&e,i=o&&o.exports===r&&n.process,a=function(){try{var e=o&&o.require&&o.require("util").types;return e||i&&i.binding&&i.binding("util")}catch(Zne){}}();e.exports=a}(lf,lf.exports);var sf=af,cf=Zu,uf=lf.exports,ff=uf&&uf.isTypedArray,pf=ff?cf(ff):sf,df=Object.prototype;var hf=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||df)};var vf=function(e,t){return function(n){return e(t(n))}},mf=tc,gf=Wu; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var yf=function(e){return gf(e)&&"[object Arguments]"==mf(e)},bf=yf,_f=Wu,wf=Object.prototype,xf=wf.hasOwnProperty,Of=wf.propertyIsEnumerable,Ef=bf(function(){return arguments}())?bf:function(e){return _f(e)&&xf.call(e,"callee")&&!Of.call(e,"callee")},Sf=Ef,Cf=Array.isArray,Af=/^(?:0|[1-9]\d*)$/;var kf=function(e,t){var n=Ds(e);return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&Af.test(e))&&e>-1&&e%1==0&&e<t}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var Tf=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r},Mf=Sf,Pf=Cf,jf=ef.exports,Df=kf,If=pf,Nf=Object.prototype.hasOwnProperty;var Lf=function(e,t){var n=Pf(e),r=!n&&Mf(e),o=!n&&!r&&jf(e),i=!n&&!r&&!o&&If(e),a=n||r||o||i,l=a?Tf(e.length,String):[],s=l.length;for(var c in e)!t&&!Nf.call(e,c)||a&&(// Safari 9 has enumerable `arguments.length` in strict mode. +"length"==c||// Node.js 0.10 has enumerable non-index properties on buffers. +o&&("offset"==c||"parent"==c)||// PhantomJS 2 has enumerable non-index properties on typed arrays. +i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||// Skip index properties. +Df(c,s))||l.push(c);return l},Ff=eu;var Rf=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n};var Bf=function(e){return this.__data__.get(e)};var zf=function(e){return this.__data__.has(e)},Vf=eu,Uf=Cc,Hf=Bu;var Wf=function(e,t){var n=this.__data__;if(n instanceof Vf){var r=n.__data__;if(!Uf||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Hf(r)}return n.set(e,t),this.size=n.size,this},qf=eu,$f=function(){this.__data__=new Ff,this.size=0},Gf=Rf,Kf=Bf,Xf=zf,Yf=Wf;function Jf(e){var t=this.__data__=new qf(e);this.size=t.size}Jf.prototype.clear=$f,Jf.prototype.delete=Gf,Jf.prototype.get=Kf,Jf.prototype.has=Xf,Jf.prototype.set=Yf;var Qf=Jf,Zf=Us.Uint8Array,ep={exports:{}};!function(e,t){var n=Us,r=t&&!t.nodeType&&t,o=r&&e&&!e.nodeType&&e,i=o&&o.exports===r?n.Buffer:void 0,a=i?i.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=a?a(n):new e.constructor(n);return e.copy(r),r}}(ep,ep.exports);var tp=Zf;var np=function(e){var t=new e.constructor(e.byteLength);return new tp(t).set(new tp(e)),t},rp=np;var op=function(e,t){var n=t?rp(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)};var ip=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t},ap=Rs,lp=Object.create,sp=function(){function e(){}return function(t){if(!ap(t))return{};if(lp)return lp(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),cp=vf(Object.getPrototypeOf,Object),up=sp,fp=cp,pp=hf;var dp=function(e){return"function"!=typeof e.constructor||pp(e)?{}:up(fp(e))},hp=Nc,vp=Pc;var mp=function(e,t,n,r){var o=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var l=t[i],s=r?r(n[l],e[l],l,n,e):void 0;void 0===s&&(s=e[l]),o?vp(n,l,s):hp(n,l,s)}return n};var gp=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t},yp=Rs,bp=hf,_p=gp,wp=Object.prototype.hasOwnProperty;var xp=function(e){if(!yp(e))return _p(e);var t=bp(e),n=[];for(var r in e)("constructor"!=r||!t&&wp.call(e,r))&&n.push(r);return n},Op=Lf,Ep=xp,Sp=Hu;var Cp=function(e){return Sp(e)?Op(e,!0):Ep(e)}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var Ap=function(e){return e}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var kp=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)},Tp=Math.max;var Mp=function(e,t,n){return t=Tp(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=Tp(r.length-t,0),a=Array(i);++o<i;)a[o]=r[t+o];o=-1;for(var l=Array(t+1);++o<t;)l[o]=r[o];return l[t]=n(a),kp(e,this,l)}};var Pp=function(e){return function(){return e}},jp=Pp,Dp=kc,Ip=Dp?function(e,t){return Dp(e,"toString",{configurable:!0,enumerable:!1,value:jp(t),writable:!0})}:Ap,Np=Date.now;var Lp=function(e){var t=0,n=0;return function(){var r=Np(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(Ip),Fp=Hu,Rp=Wu;var Bp=function(e){return Rp(e)&&Fp(e)},zp=Ap,Vp=Mp,Up=Lp;var Hp=function(e,t){return Up(Vp(e,t,zp),e+"")},Wp=tc,qp=cp,$p=Wu,Gp=Function.prototype,Kp=Object.prototype,Xp=Gp.toString,Yp=Kp.hasOwnProperty,Jp=Xp.call(Object); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var Qp=function(e){if(!$p(e)||"[object Object]"!=Wp(e))return!1;var t=qp(e);if(null===t)return!0;var n=Yp.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Xp.call(n)==Jp},Zp=Tc,ed=Hu,td=kf,nd=Rs; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var rd=function(e,t,n){if(!nd(n))return!1;var r=Ds(t);return!!("number"==r?ed(n)&&td(t,n.length):"string"==r&&t in n)&&Zp(n[t],e)},od={autoComplete:{empty:"暂无数据"},pagination:{itemsPerPage:"{size} 条/页",jumpTo:"跳至",page:"页",total:"共 {total} 条数据"},cascader:{empty:"暂无数据",loadingText:"加载中",placeholder:"请选择"},calendar:{yearSelection:"{year} 年",monthSelection:"{month} 月",yearRadio:"年",monthRadio:"月",hideWeekend:"隐藏周末",showWeekend:"显示周末",today:"今天",thisMonth:"本月",week:"一,二,三,四,五,六,日",cellMonth:"1 月,2 月,3 月,4 月,5 月,6 月,7 月,8 月,9 月,10 月,11 月,12 月"},transfer:{title:"{checked} / {total} 项",empty:"暂无数据",placeholder:"请输入关键词搜索"},timePicker:{dayjsLocale:"zh-cn",now:"此刻",confirm:"确定",anteMeridiem:"上午",postMeridiem:"下午",placeholder:"选择时间"},dialog:{confirm:"确认",cancel:"取消"},drawer:{confirm:"确认",cancel:"取消"},popconfirm:{confirm:{content:"确定"},cancel:{content:"取消"}},table:{empty:"暂无数据",loadingText:"正在加载中,请稍后",loadingMoreText:"点击加载更多",filterInputPlaceholder:"请输入内容(无默认值)",sortAscendingOperationText:"点击升序",sortCancelOperationText:"点击取消排序",sortDescendingOperationText:"点击降序",clearFilterResultButtonText:"清空筛选",columnConfigButtonText:"列配置",columnConfigTitleText:"表格列配置",columnConfigDescriptionText:"请选择需要在表格中显示的数据列",confirmText:"确认",cancelText:"取消",resetText:"重置",selectAllText:"全选",searchResultText:"搜索“{result}”,找到 {count} 条结果"},select:{empty:"暂无数据",loadingText:"加载中",placeholder:"请选择"},tree:{empty:"暂无数据"},treeSelect:{empty:"暂无数据",loadingText:"加载中",placeholder:"请选择"},datePicker:{dayjsLocale:"zh-cn",placeholder:{date:"请选择日期",month:"请选择月份",year:"请选择年份",quarter:"请选择季度",week:"请选择周"},weekdays:["一","二","三","四","五","六","日"],months:["1 月","2 月","3 月","4 月","5 月","6 月","7 月","8 月","9 月","10 月","11 月","12 月"],quarters:["一季度","二季度","三季度","四季度"],rangeSeparator:" - ",direction:"ltr",format:"YYYY-MM-DD",dayAriaLabel:"日",weekAbbreviation:"周",yearAriaLabel:"年",monthAriaLabel:"月",confirm:"确定",selectTime:"选择时间",selectDate:"选择日期",nextYear:"下一年",preYear:"上一年",nextMonth:"下个月",preMonth:"上个月",preDecade:"上个十年",nextDecade:"下个十年",now:"当前"},upload:{sizeLimitMessage:"文件大小不能超过 {sizeLimit}",cancelUploadText:"取消上传",triggerUploadText:{fileInput:"选择文件",image:"点击上传图片",normal:"点击上传",reupload:"重新选择",continueUpload:"继续选择",delete:"删除",uploading:"上传中"},dragger:{dragDropText:"释放鼠标",draggingText:"拖拽到此区域",clickAndDragText:"点击上方“选择文件”或将文件拖拽到此区域"},file:{fileNameText:"文件名",fileSizeText:"文件大小",fileStatusText:"状态",fileOperationText:"操作",fileOperationDateText:"上传日期"},progress:{uploadingText:"上传中",waitingText:"待上传",failText:"上传失败",successText:"上传成功"}},form:{errorMessage:{date:"请输入正确的${name}",url:"请输入正确的${name}",required:"${name}必填",whitespace:"${name}不能为空",max:"${name}字符长度不能超过 ${validate} 个字符,一个中文等于两个字符",min:"${name}字符长度不能少于 ${validate} 个字符,一个中文等于两个字符",len:"${name}字符长度必须是 ${validate}",enum:"${name}只能是${validate}等",idcard:"请输入正确的${name}",telnumber:"请输入正确的${name}",pattern:"请输入正确的${name}",validator:"${name}不符合要求",boolean:"${name}数据类型必须是布尔类型",number:"${name}必须是数字"},colonText:":"},input:{placeholder:"请输入"},list:{loadingText:"正在加载中,请稍等",loadingMoreText:"点击加载更多"},alert:{expandText:"展开更多",collapseText:"收起"},anchor:{copySuccessText:"链接复制成功",copyText:"复制链接"},colorPicker:{swatchColorTitle:"系统预设颜色",recentColorTitle:"最近使用颜色",clearConfirmText:"确定清空最近使用的颜色吗?",singleColor:"单色",gradientColor:"渐变"},guide:{finishButtonProps:{content:"完成",theme:"primary"},nextButtonProps:{content:"下一步",theme:"primary"},skipButtonProps:{content:"跳过",theme:"default"},prevButtonProps:{content:"上一步",theme:"default"}},image:{errorText:"图片无法显示",loadingText:"图片加载中"},imageViewer:{errorText:"图片加载失败,可尝试重新加载",mirrorTipText:"镜像",rotateTipText:"旋转",originalSizeTipText:"原始大小"},typography:{expandText:"展开",collapseText:"收起",copiedText:"复制成功"},rate:{rateText:["极差","失望","一般","满意","惊喜"]},empty:{titleText:{maintenance:"建设中",success:"成功",fail:"失败",empty:"暂无数据",networkError:"网络错误"}},descriptions:{colonText:":"}}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var id= +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),l=a.length;l--;){var s=a[e?l:++o];if(!1===n(i[s],s,i))break}return t}},ad=id(),ld=Pc,sd=Tc;var cd=function(e,t,n){(void 0!==n&&!sd(e[t],n)||void 0===n&&!(t in e))&&ld(e,t,n)};var ud=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]},fd=mp,pd=Cp;var dd=function(e){return fd(e,pd(e))},hd=cd,vd=ep.exports,md=op,gd=ip,yd=dp,bd=Sf,_d=Cf,wd=Bp,xd=ef.exports,Od=ic,Ed=Rs,Sd=Qp,Cd=pf,Ad=ud,kd=dd;var Td=function(e,t,n,r,o,i,a){var l=Ad(e,n),s=Ad(t,n),c=a.get(s);if(c)hd(e,n,c);else{var u=i?i(l,s,n+"",e,t,a):void 0,f=void 0===u;if(f){var p=_d(s),d=!p&&xd(s),h=!p&&!d&&Cd(s);u=s,p||d||h?_d(l)?u=l:wd(l)?u=gd(l):d?(f=!1,u=vd(s,!0)):h?(f=!1,u=md(s,!0)):u=[]:Sd(s)||bd(s)?(u=l,bd(l)?u=kd(l):Ed(l)&&!Od(l)||(u=yd(s))):f=!1}f&&(a.set(s,u),o(u,s,r,i,a),a.delete(s)),hd(e,n,u)}},Md=Qf,Pd=cd,jd=ad,Dd=Td,Id=Rs,Nd=Cp,Ld=ud;var Fd=function e(t,n,r,o,i){t!==n&&jd(n,(function(a,l){if(i||(i=new Md),Id(a))Dd(t,n,l,r,e,o,i);else{var s=o?o(Ld(t,l),a,l+"",t,n,i):void 0;void 0===s&&(s=a),Pd(t,l,s)}}),Nd)},Rd=Hp,Bd=rd;var zd=function(e){return Rd((function(t,n){var r=-1,o=n.length,i=o>1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(o--,i):void 0,a&&Bd(n[0],n[1],a)&&(i=o<3?void 0:i,o=1),t=Object(t);++r<o;){var l=n[r];l&&e(t,l,r,i)}return t}))},Vd=Fd,Ud=zd((function(e,t,n){Vd(e,t,n)})),Hd=Fd,Wd=zd((function(e,t,n,r){Hd(e,t,n,r)})),qd=function(e){return e.ripple="ripple",e.expand="expand",e.fade="fade",e}(qd||{}),$d=Ud({classPrefix:"t",animation:{include:["ripple","expand","fade"],exclude:[]},attach:null,calendar:{firstDayOfWeek:1,fillWithZero:!0,controllerConfig:void 0},icon:{},input:{autocomplete:""},dialog:{closeOnEscKeydown:!0,closeOnOverlayClick:!0,confirmBtnTheme:{default:"primary",info:"primary",warning:"primary",danger:"primary",success:"primary"}},message:{},popconfirm:{confirmBtnTheme:{default:"primary",warning:"primary",danger:"primary"}},table:{expandIcon:void 0,sortIcon:void 0,filterIcon:void 0,treeExpandAndFoldIcon:void 0,hideSortTips:!1,size:"medium"},select:{clearIcon:void 0,filterable:!1},drawer:{closeOnEscKeydown:!0,closeOnOverlayClick:!0,size:"small"},tree:{folderIcon:void 0},datePicker:{firstDayOfWeek:1},steps:{checkIcon:void 0,errorIcon:void 0},tag:{closeIcon:void 0},form:{requiredMark:void 0},empty:{titleText:{maintenance:void 0,success:void 0,fail:void 0,empty:void 0,networkError:void 0},image:{maintenance:void 0,success:void 0,fail:void 0,empty:void 0,networkError:void 0}}},od),Gd=Symbol("configProvide"),Kd=Sc(Us,"Set"),Xd=vf(Object.keys,Object),Yd=hf,Jd=Xd,Qd=Object.prototype.hasOwnProperty;var Zd=function(e){if(!Yd(e))return Jd(e);var t=[];for(var n in Object(e))Qd.call(e,n)&&"constructor"!=n&&t.push(n);return t},eh=Sc(Us,"DataView"),th=Cc,nh=Sc(Us,"Promise"),rh=Kd,oh=Sc(Us,"WeakMap"),ih=tc,ah=uc,lh="[object Map]",sh="[object Promise]",ch="[object Set]",uh="[object WeakMap]",fh="[object DataView]",ph=ah(eh),dh=ah(th),hh=ah(nh),vh=ah(rh),mh=ah(oh),gh=ih;(eh&&gh(new eh(new ArrayBuffer(1)))!=fh||th&&gh(new th)!=lh||nh&&gh(nh.resolve())!=sh||rh&&gh(new rh)!=ch||oh&&gh(new oh)!=uh)&&(gh=function(e){var t=ih(e),n="[object Object]"==t?e.constructor:void 0,r=n?ah(n):"";if(r)switch(r){case ph:return fh;case dh:return lh;case hh:return sh;case vh:return ch;case mh:return uh}return t});var yh=gh; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var bh=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e};var _h=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i},wh=Lf,xh=Zd,Oh=Hu; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var Eh=function(e){return Oh(e)?wh(e):xh(e)},Sh=bh,Ch=Cf;var Ah=function(e,t,n){var r=t(e);return Ch(e)?r:Sh(r,n(e))};var kh=function(){return[]},Th=_h,Mh=kh,Ph=Object.prototype.propertyIsEnumerable,jh=Object.getOwnPropertySymbols,Dh=jh?function(e){return null==e?[]:(e=Object(e),Th(jh(e),(function(t){return Ph.call(e,t)})))}:Mh,Ih=Ah,Nh=Dh,Lh=Eh;var Fh=function(e){return Ih(e,Lh,Nh)};var Rh=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e},Bh=mp,zh=Eh;var Vh=function(e,t){return e&&Bh(t,zh(t),e)},Uh=mp,Hh=Cp;var Wh=function(e,t){return e&&Uh(t,Hh(t),e)},qh=mp,$h=Dh;var Gh=function(e,t){return qh(e,$h(e),t)},Kh=bh,Xh=cp,Yh=Dh,Jh=kh,Qh=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)Kh(t,Yh(e)),e=Xh(e);return t}:Jh,Zh=mp,ev=Qh;var tv=function(e,t){return Zh(e,ev(e),t)},nv=Ah,rv=Qh,ov=Cp;var iv=function(e){return nv(e,ov,rv)},av=Object.prototype.hasOwnProperty;var lv=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&av.call(e,"index")&&(n.index=e.index,n.input=e.input),n},sv=np;var cv=function(e,t){var n=t?sv(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)},uv=/\w*$/;var fv=function(e){var t=new e.constructor(e.source,uv.exec(e));return t.lastIndex=e.lastIndex,t},pv=Hs?Hs.prototype:void 0,dv=pv?pv.valueOf:void 0;var hv=np,vv=cv,mv=fv,gv=function(e){return dv?Object(dv.call(e)):{}},yv=op;var bv=function(e,t,n){var r=e.constructor;switch(t){case"[object ArrayBuffer]":return hv(e);case"[object Boolean]":case"[object Date]":return new r(+e);case"[object DataView]":return vv(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return yv(e,n);case"[object Map]":case"[object Set]":return new r;case"[object Number]":case"[object String]":return new r(e);case"[object RegExp]":return mv(e);case"[object Symbol]":return gv(e)}},_v=yh,wv=Wu;var xv=function(e){return wv(e)&&"[object Map]"==_v(e)},Ov=xv,Ev=Zu,Sv=lf.exports,Cv=Sv&&Sv.isMap,Av=Cv?Ev(Cv):Ov,kv=yh,Tv=Wu;var Mv=function(e){return Tv(e)&&"[object Set]"==kv(e)},Pv=Mv,jv=Zu,Dv=lf.exports,Iv=Dv&&Dv.isSet,Nv=Iv?jv(Iv):Pv,Lv=Qf,Fv=Rh,Rv=Nc,Bv=Vh,zv=Wh,Vv=ep.exports,Uv=ip,Hv=Gh,Wv=tv,qv=Fh,$v=iv,Gv=yh,Kv=lv,Xv=bv,Yv=dp,Jv=Cf,Qv=ef.exports,Zv=Av,em=Rs,tm=Nv,nm=Eh,rm=Cp,om="[object Arguments]",im="[object Function]",am="[object Object]",lm={};lm[om]=lm["[object Array]"]=lm["[object ArrayBuffer]"]=lm["[object DataView]"]=lm["[object Boolean]"]=lm["[object Date]"]=lm["[object Float32Array]"]=lm["[object Float64Array]"]=lm["[object Int8Array]"]=lm["[object Int16Array]"]=lm["[object Int32Array]"]=lm["[object Map]"]=lm["[object Number]"]=lm[am]=lm["[object RegExp]"]=lm["[object Set]"]=lm["[object String]"]=lm["[object Symbol]"]=lm["[object Uint8Array]"]=lm["[object Uint8ClampedArray]"]=lm["[object Uint16Array]"]=lm["[object Uint32Array]"]=!0,lm["[object Error]"]=lm[im]=lm["[object WeakMap]"]=!1;var sm=function e(t,n,r,o,i,a){var l,s=1&n,c=2&n,u=4&n;if(r&&(l=i?r(t,o,i,a):r(t)),void 0!==l)return l;if(!em(t))return t;var f=Jv(t);if(f){if(l=Kv(t),!s)return Uv(t,l)}else{var p=Gv(t),d=p==im||"[object GeneratorFunction]"==p;if(Qv(t))return Vv(t,s);if(p==am||p==om||d&&!i){if(l=c||d?{}:Yv(t),!s)return c?Wv(t,zv(l,t)):Hv(t,Bv(l,t))}else{if(!lm[p])return i?t:{};l=Xv(t,p,s)}}a||(a=new Lv);var h=a.get(t);if(h)return h;a.set(t,l),tm(t)?t.forEach((function(o){l.add(e(o,n,r,o,t,a))})):Zv(t)&&t.forEach((function(o,i){l.set(i,e(o,n,r,i,t,a))}));var v=f?void 0:(u?c?$v:qv:c?rm:nm)(t);return Fv(v||t,(function(o,i){v&&(o=t[i=o]),Rv(l,i,e(o,n,r,i,t,a))})),l}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var cm=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this};var um=function(e){return this.__data__.has(e)},fm=Bu,pm=cm,dm=um;function hm(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new fm;++t<n;)this.add(e[t])}hm.prototype.add=hm.prototype.push=pm,hm.prototype.has=dm;var vm=hm;var mm=function(e,t){return e.has(t)}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var gm=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var ym=vm,bm=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1},_m=mm;var wm=function(e,t,n,r,o,i){var a=1&n,l=e.length,s=t.length;if(l!=s&&!(a&&s>l))return!1;var c=i.get(e),u=i.get(t);if(c&&u)return c==t&&u==e;var f=-1,p=!0,d=2&n?new ym:void 0;for(i.set(e,t),i.set(t,e);++f<l;){var h=e[f],v=t[f];if(r)var m=a?r(v,h,f,t,e,i):r(h,v,f,e,t,i);if(void 0!==m){if(m)continue;p=!1;break}if(d){if(!bm(t,(function(e,t){if(!_m(d,t)&&(h===e||o(h,e,n,r,i)))return d.push(t)}))){p=!1;break}}else if(h!==v&&!o(h,v,n,r,i)){p=!1;break}}return i.delete(e),i.delete(t),p};var xm=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n},Om=Zf,Em=Tc,Sm=wm,Cm=xm,Am=gm,km=Hs?Hs.prototype:void 0,Tm=km?km.valueOf:void 0;var Mm=function(e,t,n,r,o,i,a){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!i(new Om(e),new Om(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Em(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var l=Cm;case"[object Set]":var s=1&r;if(l||(l=Am),e.size!=t.size&&!s)return!1;var c=a.get(e);if(c)return c==t;r|=2,a.set(e,t);var u=Sm(l(e),l(t),r,o,i,a);return a.delete(e),u;case"[object Symbol]":if(Tm)return Tm.call(e)==Tm.call(t)}return!1},Pm=Fh,jm=Object.prototype.hasOwnProperty;var Dm=function(e,t,n,r,o,i){var a=1&n,l=Pm(e),s=l.length;if(s!=Pm(t).length&&!a)return!1;for(var c=s;c--;){var u=l[c];if(!(a?u in t:jm.call(t,u)))return!1}var f=i.get(e),p=i.get(t);if(f&&p)return f==t&&p==e;var d=!0;i.set(e,t),i.set(t,e);for(var h=a;++c<s;){var v=e[u=l[c]],m=t[u];if(r)var g=a?r(m,v,u,t,e,i):r(v,m,u,e,t,i);if(!(void 0===g?v===m||o(v,m,n,r,i):g)){d=!1;break}h||(h="constructor"==u)}if(d&&!h){var y=e.constructor,b=t.constructor;y==b||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof b&&b instanceof b||(d=!1)}return i.delete(e),i.delete(t),d},Im=Qf,Nm=wm,Lm=Mm,Fm=Dm,Rm=yh,Bm=Cf,zm=ef.exports,Vm=pf,Um="[object Arguments]",Hm="[object Array]",Wm="[object Object]",qm=Object.prototype.hasOwnProperty;var $m=function(e,t,n,r,o,i){var a=Bm(e),l=Bm(t),s=a?Hm:Rm(e),c=l?Hm:Rm(t),u=(s=s==Um?Wm:s)==Wm,f=(c=c==Um?Wm:c)==Wm,p=s==c;if(p&&zm(e)){if(!zm(t))return!1;a=!0,u=!1}if(p&&!u)return i||(i=new Im),a||Vm(e)?Nm(e,t,n,r,o,i):Lm(e,t,s,n,r,o,i);if(!(1&n)){var d=u&&qm.call(e,"__wrapped__"),h=f&&qm.call(t,"__wrapped__");if(d||h){var v=d?e.value():e,m=h?t.value():t;return i||(i=new Im),o(v,m,n,r,i)}}return!!p&&(i||(i=new Im),Fm(e,t,n,r,o,i))},Gm=Wu;var Km=function e(t,n,r,o,i){return t===n||(null==t||null==n||!Gm(t)&&!Gm(n)?t!=t&&n!=n:$m(t,n,r,o,e,i))},Xm=Km;var Ym=function(e,t){return Xm(e,t)},Jm=tc,Qm=Wu; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var Zm=function(e){return"symbol"==Ds(e)||Qm(e)&&"[object Symbol]"==Jm(e)}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var eg=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o},tg=eg,ng=Cf,rg=Zm,og=Hs?Hs.prototype:void 0,ig=og?og.toString:void 0;var ag=function e(t){if("string"==typeof t)return t;if(ng(t))return tg(t,e)+"";if(rg(t))return ig?ig.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n},lg=ag;var sg=function(e){return null==e?"":lg(e)},cg=Cf,ug=Zm,fg=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,pg=/^\w*$/; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var dg=function(e,t){if(cg(e))return!1;var n=Ds(e);return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!ug(e))||(pg.test(e)||!fg.test(e)||null!=t&&e in Object(t))},hg=Bu;function vg(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(vg.Cache||hg),n}vg.Cache=hg;var mg=vg;var gg=function(e){var t=mg(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t},yg=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,bg=/\\(\\)?/g,_g=gg((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(yg,(function(e,n,r,o){t.push(r?o.replace(bg,"$1"):n||e)})),t})),wg=Cf,xg=dg,Og=_g,Eg=sg;var Sg=function(e,t){return wg(e)?e:xg(e,t)?[e]:Og(Eg(e))},Cg=Zm;var Ag=function(e){if("string"==typeof e||Cg(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t},kg=Sg,Tg=Ag;var Mg=function(e,t){for(var n=0,r=(t=kg(t,e)).length;null!=e&&n<r;)e=e[Tg(t[n++])];return n&&n==r?e:void 0},Pg=Mg; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var jg=function(e,t,n){var r=null==e?void 0:Pg(e,t);return void 0===r?n:r}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var Dg=function(e,t){return null!=e&&t in Object(e)},Ig=Sg,Ng=Sf,Lg=Cf,Fg=kf,Rg=zu,Bg=Ag;var zg=function(e,t,n){for(var r=-1,o=(t=Ig(t,e)).length,i=!1;++r<o;){var a=Bg(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&Rg(o)&&Fg(a,o)&&(Lg(e)||Ng(e))},Vg=Dg,Ug=zg;var Hg=function(e,t){return null!=e&&Ug(e,t,Vg)}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var Wg=function(e){return function(t){return null==t?void 0:t[e]}}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function qg(e){if(Array.isArray(e))return e}function $g(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Gg(e,t){return qg(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(u){c=!0,o=u}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||Ms(e,t)||$g()} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function Kg(e,t){Object.keys(t).forEach((function(n){e.style[n]=t[n]}))} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function Xg(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var Yg=tc,Jg=Cf,Qg=Wu;var Zg=function(e){return"string"==typeof e||!Jg(e)&&Qg(e)&&"[object String]"==Yg(e)}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var ey=function(e){return void 0===e},ty=tc,ny=Wu; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var ry=function(e){return"number"==typeof e||ny(e)&&"[object Number]"==ty(e)}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function oy(){if("undefined"==typeof navigator||!navigator)return Number.MAX_SAFE_INTEGER;var e=navigator.userAgent,t=e.indexOf("compatible")>-1&&e.indexOf("MSIE")>-1,n=e.indexOf("Trident")>-1&&e.indexOf("rv:11.0")>-1;if(t){var r=new RegExp("MSIE (\\d+\\.\\d+);"),o=e.match(r);if(!o)return-1;var i=parseFloat(o[1]);return i<7?6:i}return n?11:Number.MAX_SAFE_INTEGER}function iy(e,t){var n=ry(t);if(!e||0===e.length)return n?{length:0,characters:e}:0;for(var r=0,o=0;o<e.length;o++){var i=0;if(i=e.charCodeAt(o)>127?2:1,n&&r+i>t)return{length:r,characters:e.slice(0,o)};r+=i}return n?{length:r,characters:e}:r}function ay(e){return js(null!=e?e:"").length}function ly(e,t,n){return js(null!=n?n:"").slice().length===t?n||"":js(null!=e?e:"").slice(0,t).join("")} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function sy(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function cy(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sy(Object(n),!0).forEach((function(t){Ns(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sy(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +var uy=sm;var fy=function(e){return uy(e,5)},py=en(); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function dy(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,t=arguments.length>1?arguments[1]:void 0,n=ya()?Uo(Gd,null):py,r=Ia((function(){return(null==n?void 0:n.value)||$d})),o=Ia((function(){return Object.assign({},r.value[e],t)}));return{t:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=n[0];if(Zg(e)){if(!o)return e;return e.replace(/\{\s*([\w-]+)\s*\}/g,(function(e,t){return o?String(o[t]):""}))}return ic(e)?n.length?e.apply(void 0,n):e(Na):""},global:o,globalConfig:o,classPrefix:Ia((function(){return r.value.classPrefix}))}}var hy=function(e){var t=fy($d),n=Ia((function(){return Object.assign({},(n=t,r=e.globalConfig,Wd(n,r,(function(e,t){if(Cf(e))return t}))));var n,r}));return Vo(Gd,n),py.value||(py.value=n.value),n}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function vy(e){var t=dy("classPrefix").classPrefix;return Ia((function(){return e?"".concat(t.value,"-").concat(e):t.value}))}function my(){var e=dy("classPrefix").classPrefix;return{SIZE:Ia((function(){return{small:"".concat(e.value,"-size-s"),medium:"".concat(e.value,"-size-m"),large:"".concat(e.value,"-size-l"),default:"",xs:"".concat(e.value,"-size-xs"),xl:"".concat(e.value,"-size-xl"),block:"".concat(e.value,"-size-full-width")}})),STATUS:Ia((function(){return{loading:"".concat(e.value,"-is-loading"),loadMore:"".concat(e.value,"-is-load-more"),disabled:"".concat(e.value,"-is-disabled"),focused:"".concat(e.value,"-is-focused"),success:"".concat(e.value,"-is-success"),error:"".concat(e.value,"-is-error"),warning:"".concat(e.value,"-is-warning"),selected:"".concat(e.value,"-is-selected"),active:"".concat(e.value,"-is-active"),checked:"".concat(e.value,"-is-checked"),current:"".concat(e.value,"-is-current"),hidden:"".concat(e.value,"-is-hidden"),visible:"".concat(e.value,"-is-visible"),expanded:"".concat(e.value,"-is-expanded"),indeterminate:"".concat(e.value,"-is-indeterminate")}}))}} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var gy=xr({name:"TLoadingGradient",setup:function(){var e=vy();return Yr((function(){var e=ya().refs.circle;In((function(){!function(e){var t,n,r,o={};if(e&&"undefined"!=typeof window){var i=null===(t=window)||void 0===t||null===(n=t.getComputedStyle)||void 0===n?void 0:n.call(t,e),a=i.color,l=i.fontSize,s=null===(r=window)||void 0===r||null===(r=r.navigator)||void 0===r?void 0:r.userAgent,c=/Safari/.test(s)&&!/Chrome/.test(s),u=/(?=.*iPhone)[?=.*MicroMessenger]/.test(s)&&!/Chrome/.test(s);if((c||u)&&(o={transformOrigin:"0px 0px",transform:"scale(".concat(parseInt(l,10)/12,")")}),a&&oy()>11){var f=a.match(/[\d.]+/g),p=f?"rgba(".concat(f[0],", ").concat(f[1],", ").concat(f[2],", 0)"):"";Kg(e,cy(cy({},o),{},{background:"conic-gradient(from 90deg at 50% 50%,".concat(p," 0deg, ").concat(a," 360deg)")}))}else Kg(e,cy(cy({},o),{},{background:""}))}}(e)}))})),{classPrefix:e}},render:function(){var e=this.classPrefix,t="".concat(e,"-loading__gradient"),n=[t,"".concat(e,"-icon-loading")];return ra("svg",{class:n,viewBox:"0 0 12 12",version:"1.1",width:"1em",height:"1em",xmlns:"http://www.w3.org/2000/svg"},[ra("foreignObject",{x:"0",y:"0",width:"12",height:"12"},[ra("div",{class:"".concat(t,"-conic"),ref:"circle"},null)])])}}),yy={exports:{}},by={exports:{}}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */(function(){var e,t,n,r,o,i;"undefined"!=typeof performance&&null!==performance&&performance.now?by.exports=function(){return performance.now()}:"undefined"!=typeof process&&null!==process&&process.hrtime?(by.exports=function(){return(e()-o)/1e6},t=process.hrtime,r=(e=function(){var e;return 1e9*(e=t())[0]+e[1]})(),i=1e9*process.uptime(),o=r-i):Date.now?(by.exports=function(){return Date.now()-n},n=Date.now()):(by.exports=function(){ +return(new Date).getTime()-n},n=(new Date).getTime())}).call(Ls);for(var _y=by.exports,wy="undefined"==typeof window?Ls:window,xy=["moz","webkit"],Oy="AnimationFrame",Ey=wy["request"+Oy],Sy=wy["cancel"+Oy]||wy["cancelRequest"+Oy],Cy=0;!Ey&&Cy<xy.length;Cy++)Ey=wy[xy[Cy]+"Request"+Oy],Sy=wy[xy[Cy]+"Cancel"+Oy]||wy[xy[Cy]+"CancelRequest"+Oy];if(!Ey||!Sy){var Ay=0,ky=0,Ty=[],My=1e3/60;Ey=function(e){if(0===Ty.length){var t=_y(),n=Math.max(0,My-(t-Ay));Ay=n+t,setTimeout((function(){var e=Ty.slice(0);Ty.length=0;for(var t=function(){if(!e[n].cancelled)try{e[n].callback(Ay)}catch(Zne){setTimeout((function(){throw Zne}),0)}},n=0;n<e.length;n++)t()}),Math.round(n))}return Ty.push({handle:++ky,callback:e,cancelled:!1}),ky},Sy=function(e){for(var t=0;t<Ty.length;t++)Ty[t].handle===e&&(Ty[t].cancelled=!0)}}yy.exports=function(e){return Ey.call(wy,e)},yy.exports.cancel=function(){Sy.apply(wy,arguments)},yy.exports.polyfill=function(e){e||(e=wy),e.requestAnimationFrame=Ey,e.cancelAnimationFrame=Sy};var Py="undefined"==typeof window,jy=!Py&&document.addEventListener?function(e,t,n,r){e&&t&&n&&e.addEventListener(t,n,r)}:function(e,t,n){e&&t&&n&&e.attachEvent("on".concat(t),n)},Dy=!Py&&document.removeEventListener?function(e,t,n,r){e&&t&&e.removeEventListener(t,n,r)}:function(e,t,n){e&&t&&e.detachEvent("on".concat(t),n)};function Iy(e,t){if(!e||!t)return!1;if(-1!==t.indexOf(" "))throw new Error("className should not contain space.");return e.classList?e.classList.contains(t):" ".concat(e.className," ").indexOf(" ".concat(t," "))>-1}function Ny(e,t){if(e){for(var n=e.className,r=(t||"").split(" "),o=0,i=r.length;o<i;o++){var a=r[o];a&&(e.classList?e.classList.add(a):Iy(e,a)||(n+=" ".concat(a)))}e.classList||(e.className=n)}}function Ly(e,t){if(e&&t){for(var n=t.split(" "),r=" ".concat(e.className," "),o=0,i=n.length;o<i;o++){var a=n[o];a&&(e.classList?e.classList.remove(a):Iy(e,a)&&(r=r.replace(" ".concat(a," ")," ")))}e.classList||(e.className=(r||"").replace(/^[\s\uFEFF]+|[\s\uFEFF]+$/g,""))}}var Fy=function(e,t){var n=ic(e)?e(t):e;return n?Zg(n)?document.querySelector(n):n instanceof HTMLElement?n:document.body:document.body},Ry=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body";return Zg(e)?document.querySelector(e):ic(e)?e():e},By=function(e){var t=e.clientWidth,n=void 0===t?0:t,r=e.scrollWidth;return(void 0===r?0:r)>n},zy=function(e){if(!(e instanceof HTMLFormElement))throw new Error("target must be HTMLFormElement");var t=document.createElement("input");t.type="submit",t.hidden=!0,e.appendChild(t),t.click(),e.removeChild(t)},Vy=Zd,Uy=yh,Hy=Sf,Wy=Cf,qy=Hu,$y=ef.exports,Gy=hf,Ky=pf,Xy=Object.prototype.hasOwnProperty;var Yy=function(e){if(null==e)return!0;if(qy(e)&&(Wy(e)||"string"==typeof e||"function"==typeof e.splice||$y(e)||Ky(e)||Hy(e)))return!e.length;var t=Uy(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(Gy(e))return!Vy(e).length;for(var n in e)if(Xy.call(e,n))return!1;return!0}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var Jy=function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i},Qy=Jy; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var Zy=function(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:Qy(e,t,n)},eb=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");var tb=function(e){return eb.test(e)};var nb=function(e){return e.split("")},rb="\\ud800-\\udfff",ob="["+rb+"]",ib="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",ab="\\ud83c[\\udffb-\\udfff]",lb="[^"+rb+"]",sb="(?:\\ud83c[\\udde6-\\uddff]){2}",cb="[\\ud800-\\udbff][\\udc00-\\udfff]",ub="(?:"+ib+"|"+ab+")"+"?",fb="[\\ufe0e\\ufe0f]?",pb=fb+ub+("(?:\\u200d(?:"+[lb,sb,cb].join("|")+")"+fb+ub+")*"),db="(?:"+[lb+ib+"?",ib,sb,cb,ob].join("|")+")",hb=RegExp(ab+"(?="+ab+")|"+db+pb,"g");var vb=nb,mb=tb,gb=function(e){return e.match(hb)||[]};var yb=function(e){return mb(e)?gb(e):vb(e)}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var bb=function(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n};var _b=function(e){return function(t){return null==e?void 0:e[t]}},wb=_b({ +// Latin-1 Supplement block. +"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss", +// Latin Extended-A block. +"Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),xb=sg,Ob=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Eb=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");var Sb=function(e){return(e=xb(e))&&e.replace(Ob,wb).replace(Eb,"")},Cb=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var Ab=function(e){return e.match(Cb)||[]},kb=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var Tb=function(e){return kb.test(e)},Mb="\\ud800-\\udfff",Pb="\\u2700-\\u27bf",jb="a-z\\xdf-\\xf6\\xf8-\\xff",Db="A-Z\\xc0-\\xd6\\xd8-\\xde",Ib="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Nb="["+Ib+"]",Lb="\\d+",Fb="["+Pb+"]",Rb="["+jb+"]",Bb="[^"+Mb+Ib+Lb+Pb+jb+Db+"]",zb="(?:\\ud83c[\\udde6-\\uddff]){2}",Vb="[\\ud800-\\udbff][\\udc00-\\udfff]",Ub="["+Db+"]",Hb="(?:"+Rb+"|"+Bb+")",Wb="(?:"+Ub+"|"+Bb+")",qb="(?:['’](?:d|ll|m|re|s|t|ve))?",$b="(?:['’](?:D|LL|M|RE|S|T|VE))?",Gb="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",Kb="[\\ufe0e\\ufe0f]?",Xb=Kb+Gb+("(?:\\u200d(?:"+["[^"+Mb+"]",zb,Vb].join("|")+")"+Kb+Gb+")*"),Yb="(?:"+[Fb,zb,Vb].join("|")+")"+Xb,Jb=RegExp([Ub+"?"+Rb+"+"+qb+"(?="+[Nb,Ub,"$"].join("|")+")",Wb+"+"+$b+"(?="+[Nb,Ub+Hb,"$"].join("|")+")",Ub+"?"+Hb+"+"+qb,Ub+"+"+$b,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Lb,Yb].join("|"),"g");var Qb=Ab,Zb=Tb,e_=sg,t_=function(e){return e.match(Jb)||[]};var n_=bb,r_=Sb,o_=function(e,t,n){return e=e_(e),void 0===(t=n?void 0:t)?Zb(e)?t_(e):Qb(e):e.match(t)||[]},i_=RegExp("['’]","g");var a_=function(e){return function(t){return n_(o_(r_(t).replace(i_,"")),e,"")}},l_=Zy,s_=tb,c_=yb,u_=sg; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var f_=function(e){return function(t){t=u_(t);var n=s_(t)?c_(t):void 0,r=n?n[0]:t.charAt(0),o=n?l_(n,1).join(""):t.slice(1);return r[e]()+o}}("toUpperCase"),p_=sg,d_=f_;var h_=function(e){return d_(p_(e).toLowerCase())},v_=a_((function(e,t,n){return t=t.toLowerCase(),e+(n?h_(t):t)})),m_=a_((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function g_(e){var t;return Rs(e)&&"defaultNode"in e?t=e.defaultNode:(Qi(e)||Zg(e))&&(t=e),t}function y_(e){var t=[],n=function(e){if(Cf(e))return e.forEach((function(e){if(e.children&&Cf(e.children)){if(e.type!==Bi)return;n(e.children)}else t.push(e)})),t};return n(e)}function b_(e){return Rs(e)&&"params"in e?e.params:{}}function __(e,t,n){var r,o,i,a,l=null===(r=(o=e.$slots)[v_(n)])||void 0===r?void 0:r.call(o,t);return l||((l=null===(i=(a=e.$slots)[m_(n)])||void 0===i?void 0:i.call(a,t))||null)}var w_=function(e,t,n){var r,o=b_(n),i=g_(n);if(t in e&&(r=e[t]),!1!==r&&null!==r)return!0===r&&i?__(e,o,t)||i:ic(r)?r(Na,o):[void 0,o,""].includes(r)&&(e.$slots[v_(t)]||e.$slots[m_(t)])?__(e,o,t):r},x_=function(e,t,n){var r=g_(n);return w_(e,t,n)||r},O_=function(e,t,n,r){var o=b_(r),i=g_(r),a=o?{params:o}:void 0,l=w_(e,t,a),s=w_(e,n,a),c=Yy(l)?s:l;return Yy(c)?i:c},E_={attach:{type:[String,Function],default:""},content:{type:[String,Function]},default:{type:[String,Function]},delay:{type:Number,default:0},fullscreen:Boolean,indicator:{type:[Boolean,Function],default:!0},inheritColor:Boolean,loading:{type:Boolean,default:!0},preventScrollThrough:{type:Boolean,default:!0},showOverlay:{type:Boolean,default:!0},size:{type:String,default:"medium"},text:{type:[String,Function]},zIndex:{type:Number}},S_=function(e,t){var n=ic(e)?Ia(e):en(e),r=ic(t)?Ia(t):en(t),o=en(),i=function(){o.value=Fy(n.value,r.value)};return Yr((function(){return i()})),yi([n,r],(function(){return i()})),o},C_=xr({name:"TLoading",inheritAttrs:!1,props:E_,setup:function(e,t){var n=t.slots,r=en(!1),o={name:vy("loading"),centerClass:vy("loading--center"),fullscreenClass:vy("loading__fullscreen"),lockClass:vy("loading--lock"),overlayClass:vy("loading__overlay"),relativeClass:vy("loading__parent"),fullClass:vy("loading--full"),inheritColorClass:vy("loading--inherit-color")},i=o.name,a=o.centerClass,l=o.fullscreenClass,s=o.lockClass,c=o.overlayClass,u=o.relativeClass,f=o.fullClass,p=o.inheritColorClass,d=vy(),h=my().SIZE,v=function(){r.value=!1;var t=setTimeout((function(){r.value=!0,clearTimeout(t)}),e.delay)},m=S_((function(){return e.attach})),g=Ia((function(){return Boolean(!e.delay||e.delay&&r.value)})),y=Ia((function(){var t={};return void 0!==e.zIndex&&(t.zIndex=e.zIndex),["small","medium","large"].includes(e.size)||(t["font-size"]=e.size),t})),b=Ia((function(){return Boolean(e.default||n.default||e.content||n.content)})),_=Ia((function(){return e.preventScrollThrough&&e.fullscreen})),w=Ia((function(){return Boolean(e.text||n.text)})),x=Ia((function(){return b.value&&e.loading&&g.value})),O=Ia((function(){return e.fullscreen&&e.loading&&g.value})),E=Ia((function(){return e.attach&&e.loading&&g.value})),S=Ia((function(){return e.attach&&e.loading&&g.value})),C=Ia((function(){var t=[a.value,h.value[e.size],Ns({},p.value,e.inheritColor)],n=[i.value,l.value,a.value,c.value];return{baseClasses:t,attachClasses:t.concat([i.value,f.value,Ns({},c.value,e.showOverlay)]),withContentClasses:t.concat([i.value,f.value,Ns({},c.value,e.showOverlay)]),fullScreenClasses:n,normalClasses:t.concat([i.value])}}));return yi([fn(e).loading],(function(e){Gg(e,1)[0]?(v(),_.value&&Ny(document.body,s.value)):_.value&&Ly(document.body,s.value)})),Yr((function(){e.delay&&v()})),{classPrefix:d,relativeClass:u,delayShowLoading:r,styles:y,showText:w,hasContent:b,classes:C,lockFullscreen:_,showWrapLoading:x,showNormalLoading:E,showFullScreenLoading:O,showAttachedLoading:S,teleportElement:m}},render:function(){var e=this,t=this.classes,n=t.fullScreenClasses,r=t.baseClasses,o=t.withContentClasses,i=t.attachClasses,a=t.normalClasses,l=ra(gy,{size:this.size},null),s=this.loading&&w_(this,"indicator",l),c=this.showText&&ra("div",{class:"".concat(this.classPrefix,"-loading__text")},[w_(this,"text")]);return this.fullscreen?this.showFullScreenLoading&&this.loading?ra(ir,{disabled:!this.attach||!this.teleportElement,to:this.teleportElement},{default:function(){return[ra("div",pa({class:n,style:e.styles},e.$attrs),[ra("div",{class:r},[s,c])])]}}):null:this.hasContent?ra("div",pa({class:this.relativeClass},this.$attrs),[O_(this,"default","content"),this.showWrapLoading&&ra("div",{class:o,style:this.styles},[s,c])]):this.attach?this.showAttachedLoading&&this.loading?ra(ir,{disabled:!this.attach||!this.teleportElement,to:this.teleportElement},{default:function(){return[ra("div",pa({class:i,style:e.styles},e.$attrs),[s,c])]}}):null:this.loading?ra("div",pa({class:a,style:this.styles},this.$attrs),[s,c]):null}}); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function A_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var k_=null;function T_(e){var t=function(e){return Ud({fullscreen:!1,attach:"body",loading:!0,preventScrollThrough:!0},e)}(e);if(t.fullscreen&&k_)return k_;var n=xr({setup:function(){return{loadingOptions:zt(t)}},render:function(){return Na(C_,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?A_(Object(n),!0).forEach((function(t){Ns(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):A_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},this.loadingOptions))}}),r=Fy(t.fullscreen?"body":t.attach),o=Os(n),i=o.mount(document.createElement("div")),a=vy("loading__parent--relative").value,l=vy("loading--lock");return t.preventScrollThrough&&t.fullscreen&&Ny(document.body,l.value),r&&Ny(r,a),{hide:function(){i.loading=!1,Ly(r,a),Ly(document.body,l.value),o.unmount()}}}function M_(e){return!0===e?k_=T_({fullscreen:!0,loading:!0,attach:"body",preventScrollThrough:!0}):!1===e?(null===(t=k_)||void 0===t||t.hide(),void(k_=null)):T_(e);var t}var P_=M_;P_.install=function(e){e.config.globalProperties.$loading=M_}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +var j_=ad,D_=Eh;var I_=Qf,N_=Km;var L_=function(e,t,n,r){var o=n.length,i=o,a=!r;if(null==e)return!i;for(e=Object(e);o--;){var l=n[o];if(a&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++o<i;){var s=(l=n[o])[0],c=e[s],u=l[1];if(a&&l[2]){if(void 0===c&&!(s in e))return!1}else{var f=new I_;if(r)var p=r(c,u,s,e,t,f);if(!(void 0===p?N_(u,c,3,r,f):p))return!1}}return!0},F_=Rs;var R_=function(e){return e==e&&!F_(e)},B_=R_,z_=Eh;var V_=function(e){for(var t=z_(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,B_(o)]}return t};var U_=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}},H_=L_,W_=V_,q_=U_;var $_=Km,G_=jg,K_=Hg,X_=dg,Y_=R_,J_=U_,Q_=Ag;var Z_=Mg;var ew=Wg,tw=function(e){return function(t){return Z_(t,e)}},nw=dg,rw=Ag;var ow=function(e){var t=W_(e);return 1==t.length&&t[0][2]?q_(t[0][0],t[0][1]):function(n){return n===e||H_(n,e,t)}},iw=function(e,t){return X_(e)&&Y_(t)?J_(Q_(e),t):function(n){var r=G_(n,e);return void 0===r&&r===t?K_(n,e):$_(t,r,3)}},aw=Ap,lw=Cf,sw=function(e){return nw(e)?ew(rw(e)):tw(e)};var cw=function(e){return"function"==typeof e?e:null==e?aw:"object"==Ds(e)?lw(e)?iw(e[0],e[1]):ow(e):sw(e)},uw=Pc,fw=function(e,t){return e&&j_(e,t,D_)},pw=cw;var dw=function(e,t){var n={};return t=pw(t),fw(e,(function(e,r,o){uw(n,t(e,r,o),e)})),n},hw=Symbol("TdLoading"),vw=function(e,t){var n=t.modifiers,r=n.fullscreen,o=n.inheritColor,i={attach:function(){return e},fullscreen:null!=r&&r,inheritColor:null!=o&&o,loading:t.value};Rs(t.value)&&dw(t.value,(function(e,t){i[t]=e})),e[hw]={options:i,instance:P_(i)}},mw={mounted:function(e,t){t.value&&vw(e,t)},updated:function(e,t){var n,r=e[hw],o=t.value,i=t.oldValue;Ym(o,i)||((null!==(n=null==o?void 0:o.loading)&&void 0!==n?n:o)?vw(e,t):null==r||r.instance.hide())},unmounted:function(e){var t;null===(t=e[hw])||void 0===t||t.instance.hide()}}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function gw(e,t,n){var r=e;return r.install=function(o,i){o.component(t||i||r.name,e),n&&o.directive(n.name,n.comp)},r} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var yw=gw(C_,C_.name,{name:"loading",comp:mw}),bw={block:Boolean,content:{type:[String,Function]},default:{type:[String,Function]},disabled:{type:Boolean,default:void 0},form:{type:String,default:void 0},ghost:Boolean,href:{type:String,default:""},icon:{type:Function},loading:Boolean,loadingProps:{type:Object},shape:{type:String,default:"rectangle",validator:function(e){return!e||["rectangle","square","round","circle"].includes(e)}},size:{type:String,default:"medium",validator:function(e){return!e||["extra-small","small","medium","large"].includes(e)}},suffix:{type:Function},tag:{type:String,validator:function(e){return!e||["button","a","div"].includes(e)}},theme:{type:String,validator:function(e){return!e||["default","primary","danger","warning","success"].includes(e)}},type:{type:String,default:"button",validator:function(e){return!e||["submit","reset","button"].includes(e)}},variant:{type:String,default:"base",validator:function(e){return!e||["base","outline","dashed","text"].includes(e)}},onClick:Function},_w=qd.expand,ww=qd.ripple,xw=qd.fade; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function Ow(e,t){Object.keys(t).forEach((function(n){e.style[n]=t[n]}))} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function Ew(e,t){var n,r,o=en(null),i=vy(),a=(n=dy("animation").globalConfig,{keepExpand:(r=function(e){var t,r,o=n.value;return o&&!(null!==(t=o.exclude)&&void 0!==t&&t.includes(e))&&(null===(r=o.include)||void 0===r?void 0:r.includes(e))})(_w),keepRipple:r(ww),keepFade:r(xw)}).keepRipple,l=function(n){var r=e.value,l=function(e,t){var n;if(t)return t;if(null!=e&&null!==(n=e.dataset)&&void 0!==n&&n.ripple)return e.dataset.ripple;var r=getComputedStyle(e).getPropertyValue("--ripple-color");return r||"rgba(0, 0, 0, 0.35)"}(r,null==t?void 0:t.value);if(0===n.button&&e&&a&&!(r.classList.contains("".concat(i.value,"-is-active"))||r.classList.contains("".concat(i.value,"-is-disabled"))||r.classList.contains("".concat(i.value,"-is-checked"))||r.classList.contains("".concat(i.value,"-is-loading")))){var s=getComputedStyle(r),c=parseInt(s.borderWidth,10),u=c>0?c:0,f=r.offsetWidth,p=r.offsetHeight;null===o.value.parentNode&&(Ow(o.value,{position:"absolute",left:"".concat(0-u,"px"),top:"".concat(0-u,"px"),width:"".concat(f,"px"),height:"".concat(p,"px"),borderRadius:s.borderRadius,pointerEvents:"none",overflow:"hidden"}),r.appendChild(o.value));var d=document.createElement("div");Ow(d,{marginTop:"0",marginLeft:"0",right:"".concat(f,"px"),width:"".concat(f+20,"px"),height:"100%",transition:"transform ".concat(200,"ms cubic-bezier(.38, 0, .24, 1), background ").concat(400,"ms linear"),transform:"skewX(-8deg)",pointerEvents:"none",position:"absolute",zIndex:0,backgroundColor:l,opacity:"0.9"});for(var h=new WeakMap,v=r.children.length,m=0;m<v;++m){var g=r.children[m];""===g.style.zIndex&&g!==o.value&&(g.style.zIndex="1",h.set(g,!0))}var y=r.style.position?r.style.position:getComputedStyle(r).position;""!==y&&"static"!==y||(r.style.position="relative"),o.value.insertBefore(d,o.value.firstChild),setTimeout((function(){d.style.transform="translateX(".concat(f,"px)")}),0);var b=function(){d.style.backgroundColor="rgba(0, 0, 0, 0)",e.value&&(e.value.removeEventListener("pointerup",b,!1),e.value.removeEventListener("pointerleave",b,!1),setTimeout((function(){d.remove(),0===o.value.children.length&&o.value.remove()}),500))};e.value.addEventListener("pointerup",b,!1),e.value.addEventListener("pointerleave",b,!1)}};Yr((function(){var t=null==e?void 0:e.value;t&&(o.value=document.createElement("div"),t.addEventListener("pointerdown",l,!1))})),eo((function(){var t;null==e||null===(t=e.value)||void 0===t||t.removeEventListener("pointerdown",l,!1)}))} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function Sw(e,t,n){var r,o,i,a,l=null===(r=(o=e.slots)[v_(t)])||void 0===r?void 0:r.call(o,n);return l&&l.filter((function(e){return"Symbol(v-cmt)"!==e.type.toString()})).length||(l=null===(i=(a=e.slots)[m_(t)])||void 0===i?void 0:i.call(a,n))&&l.filter((function(e){return"Symbol(v-cmt)"!==e.type.toString()})).length?l:null}function Cw(e){return!![void 0,null,""].includes(e)||!(e instanceof Array?e:[e]).filter((function(e){var t;return"Symbol(Comment)"!==(null==e||null===(t=e.type)||void 0===t?void 0:t.toString())})).length}var Aw=function(){var e=ya();return function(t,n){var r,o=b_(n),i=g_(n),a=function(e){return Rs(e)&&"slotFirst"in e?e.slotFirst:{}}(n);if(Object.keys(e.props).includes(t)&&(r=e.props[t]),!1!==r&&null!==r)return!0===r?Sw(e,t,o)||i:ic(r)?r(Na,o):([void 0,o,""].includes(r)||a)&&(e.slots[v_(t)]||e.slots[m_(t)])?Sw(e,t,o):r}},kw=function(){var e=Aw();return function(t,n){var r=g_(n);return e(t,n)||r}},Tw=function(){var e=Aw();return function(t,n,r){var o=b_(r),i=g_(r),a=o?{params:o}:void 0,l=e(t,a),s=e(n,a),c=Cw(l)?s:l;return Cw(c)?i:c}},Mw=tc,Pw=Wu;var jw=function(e){return!0===e||!1===e||Pw(e)&&"[object Boolean]"==Mw(e)}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function Dw(e){var t=ya(),n=Ia((function(){return t.props.disabled})),r=Uo("formDisabled",Object.create(null));return Ia((function(){var t,o,i;return jw(null==e||null===(t=e.beforeDisabled)||void 0===t?void 0:t.value)?e.beforeDisabled.value:jw(n.value)?n.value:jw(null==e||null===(o=e.afterDisabled)||void 0===o?void 0:o.value)?e.afterDisabled.value:!!jw(null===(i=r.disabled)||void 0===i?void 0:i.value)&&r.disabled.value}))} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function Iw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Nw(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Iw(Object(n),!0).forEach((function(t){Ns(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Iw(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Lw=gw(xr({name:"TButton",props:bw,setup:function(e,t){var n=t.attrs,r=t.slots,o=Aw(),i=Tw(),a=vy("button"),l=my(),s=l.STATUS,c=l.SIZE,u=en();Ew(u);var f=Dw(),p=Ia((function(){var t=e.theme,n=e.variant;return t||("base"===n?"primary":"default")})),d=Ia((function(){return["".concat(a.value),"".concat(a.value,"--variant-").concat(e.variant),"".concat(a.value,"--theme-").concat(p.value),Ns(Ns(Ns(Ns(Ns(Ns({},c.value[e.size],"medium"!==e.size),s.value.disabled,f.value),s.value.loading,e.loading),"".concat(a.value,"--shape-").concat(e.shape),"rectangle"!==e.shape),"".concat(a.value,"--ghost"),e.ghost),c.value.block,e.block)]}));return function(){var t=i("default","content"),l=e.loading?ra(yw,Nw({inheritColor:!0},e.loadingProps),null):o("icon"),s=l&&!t,c=e.suffix||r.suffix?ra("span",{className:"".concat(a.value,"__suffix")},[o("suffix")]):null;t=t?ra("span",{class:"".concat(a.value,"__text")},[t]):"",l&&(t=[l,t]),c&&(t=[t].concat(c));var p={class:[].concat(js(d.value),[Ns({},"".concat(a.value,"--icon-only"),s)]),type:e.type,disabled:f.value||e.loading,href:e.href,tabindex:f.value?void 0:"0"};return Na(!e.tag&&e.href?"a":e.tag||"button",Nw(Nw(Nw({ref:u},n),p),{},{onClick:e.onClick}),[t])}}})); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function Fw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Bw(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Rw(Object(n),!0).forEach((function(t){Fw(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rw(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function zw(e,t){var n=Object.keys(e.attrs).reduce(((t,n)=>{var r;return t[(r=n,["fillOpacity","fillRule","clipRule"].includes(r)?r.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g,"$1-$2").toLowerCase():r)]=e.attrs[n],t}),{});return Na(e.tag,Bw(Bw({},n),t),(e.children||[]).map((e=>zw(e,{}))))}var Vw={classPrefix:"t",locale:"zh-CN"};function Uw(e){var t=function(){var{classPrefix:e}=Vw;return{SIZE:{default:"",xs:"".concat(e,"-size-xs"),small:"".concat(e,"-size-s"),medium:"".concat(e,"-size-m"),large:"".concat(e,"-size-l"),xl:"".concat(e,"-size-xl"),block:"".concat(e,"-size-full-width")},STATUS:{loading:"".concat(e,"-is-loading"),disabled:"".concat(e,"-is-disabled"),focused:"".concat(e,"-is-focused"),success:"".concat(e,"-is-success"),error:"".concat(e,"-is-error"),warning:"".concat(e,"-is-warning"),selected:"".concat(e,"-is-selected"),active:"".concat(e,"-is-active"),checked:"".concat(e,"-is-checked"),current:"".concat(e,"-is-current"),hidden:"".concat(e,"-is-hidden"),visible:"".concat(e,"-is-visible"),expanded:"".concat(e,"-is-expanded"),indeterminate:"".concat(e,"-is-indeterminate")}}}().SIZE,n=Ia((()=>e.value in t?t[e.value]:""));return{style:Ia((()=>void 0===e.value||e.value in t?{}:{fontSize:e.value})),className:n}}function Hw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ww(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Hw(Object(n),!0).forEach((function(t){Fw(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Hw(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var qw={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M13 4v7h7v2h-7v7h-2v-7H4v-2h7V4h2z"}}]},$w=xr({name:"AddIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,t){var{attrs:n}=t,r=Ia((()=>e.size)),{className:o,style:i}=Uw(r),a=Ia((()=>["t-icon","t-icon-add",o.value])),l=Ia((()=>Ww(Ww({},i.value),n.style))),s=Ia((()=>({class:a.value,style:l.value,onClick:t=>{var n;return null===(n=e.onClick)||void 0===n?void 0:n.call(e,{e:t})}})));return()=>zw(qw,s.value)}});function Gw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Kw(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Gw(Object(n),!0).forEach((function(t){Fw(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gw(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Xw={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M1.5 2h21v9h-2V4h-17v14.3L6.12 16H13v2H6.88L1.5 22.7V2zM20 12.5v1.14a3.5 3.5 0 011.4.81l1-.57 1 1.73-1 .58a3.51 3.51 0 010 1.62l1 .57-1 1.73-1-.57c-.39.37-.87.65-1.4.81v1.15h-2v-1.15a3.5 3.5 0 01-1.4-.81l-1 .57-1-1.73 1-.57a3.5 3.5 0 010-1.62l-1-.58 1-1.73 1 .57c.39-.37.87-.65 1.4-.81V12.5h2zm-1 3a1.5 1.5 0 100 3 1.5 1.5 0 000-3z"}}]},Yw=xr({name:"ChatSettingIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,t){var{attrs:n}=t,r=Ia((()=>e.size)),{className:o,style:i}=Uw(r),a=Ia((()=>["t-icon","t-icon-chat-setting",o.value])),l=Ia((()=>Kw(Kw({},i.value),n.style))),s=Ia((()=>({class:a.value,style:l.value,onClick:t=>{var n;return null===(n=e.onClick)||void 0===n?void 0:n.call(e,{e:t})}})));return()=>zw(Xw,s.value)}});function Jw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Qw(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Jw(Object(n),!0).forEach((function(t){Fw(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Jw(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Zw={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M12 23a11 11 0 100-22 11 11 0 000 22zM7.5 10.59l3 3 6-6L17.91 9l-7.41 7.41L6.09 12l1.41-1.41z"}}]},ex=xr({name:"CheckCircleFilledIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,t){var{attrs:n}=t,r=Ia((()=>e.size)),{className:o,style:i}=Uw(r),a=Ia((()=>["t-icon","t-icon-check-circle-filled",o.value])),l=Ia((()=>Qw(Qw({},i.value),n.style))),s=Ia((()=>({class:a.value,style:l.value,onClick:t=>{var n;return null===(n=e.onClick)||void 0===n?void 0:n.call(e,{e:t})}})));return()=>zw(Zw,s.value)}});function tx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function nx(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tx(Object(n),!0).forEach((function(t){Fw(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tx(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var rx={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M15.91 17.5l-5.5-5.5 5.5-5.5-1.41-1.41L7.59 12l6.91 6.91 1.41-1.41z"}}]},ox=xr({name:"ChevronLeftIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,t){var{attrs:n}=t,r=Ia((()=>e.size)),{className:o,style:i}=Uw(r),a=Ia((()=>["t-icon","t-icon-chevron-left",o.value])),l=Ia((()=>nx(nx({},i.value),n.style))),s=Ia((()=>({class:a.value,style:l.value,onClick:t=>{var n;return null===(n=e.onClick)||void 0===n?void 0:n.call(e,{e:t})}})));return()=>zw(rx,s.value)}});function ix(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ax(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ix(Object(n),!0).forEach((function(t){Fw(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ix(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var lx={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M8.09 17.5l5.5-5.5-5.5-5.5L9.5 5.09 16.41 12 9.5 18.91 8.09 17.5z"}}]},sx=xr({name:"ChevronRightIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,t){var{attrs:n}=t,r=Ia((()=>e.size)),{className:o,style:i}=Uw(r),a=Ia((()=>["t-icon","t-icon-chevron-right",o.value])),l=Ia((()=>ax(ax({},i.value),n.style))),s=Ia((()=>({class:a.value,style:l.value,onClick:t=>{var n;return null===(n=e.onClick)||void 0===n?void 0:n.call(e,{e:t})}})));return()=>zw(lx,s.value)}});function cx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ux(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?cx(Object(n),!0).forEach((function(t){Fw(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cx(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var fx={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M7.05 5.64L12 10.59l4.95-4.95 1.41 1.41L13.41 12l4.95 4.95-1.41 1.41L12 13.41l-4.95 4.95-1.41-1.41L10.59 12 5.64 7.05l1.41-1.41z"}}]},px=xr({name:"CloseIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,t){var{attrs:n}=t,r=Ia((()=>e.size)),{className:o,style:i}=Uw(r),a=Ia((()=>["t-icon","t-icon-close",o.value])),l=Ia((()=>ux(ux({},i.value),n.style))),s=Ia((()=>({class:a.value,style:l.value,onClick:t=>{var n;return null===(n=e.onClick)||void 0===n?void 0:n.call(e,{e:t})}})));return()=>zw(fx,s.value)}});function dx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function hx(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dx(Object(n),!0).forEach((function(t){Fw(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dx(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var vx={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M7.5 1h9v3H22v2h-2.03l-.16 5.53-2-.06.16-5.47H6.03l.44 15h5.03v2H4.53l-.5-17H2V4h5.5V1zm2 3h5V3h-5v1zM13 8v7h-2V8h2zm5.5 7a3.5 3.5 0 100 7 3.5 3.5 0 000-7zM13 18.5a5.5 5.5 0 1111 0 5.5 5.5 0 01-11 0zm6.5-2.25v1.84l1.41 1.41-1.41 1.41-2-2v-2.66h2z"}}]},mx=xr({name:"DeleteTimeIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,t){var{attrs:n}=t,r=Ia((()=>e.size)),{className:o,style:i}=Uw(r),a=Ia((()=>["t-icon","t-icon-delete-time",o.value])),l=Ia((()=>hx(hx({},i.value),n.style))),s=Ia((()=>({class:a.value,style:l.value,onClick:t=>{var n;return null===(n=e.onClick)||void 0===n?void 0:n.call(e,{e:t})}})));return()=>zw(vx,s.value)}});function gx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function yx(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gx(Object(n),!0).forEach((function(t){Fw(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gx(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var bx={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M12 1a11 11 0 110 22 11 11 0 010-22zm-1 13h2V6.5h-2V14zm2 1.5h-2v2h2v-2z"}}]},_x=xr({name:"ErrorCircleFilledIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,t){var{attrs:n}=t,r=Ia((()=>e.size)),{className:o,style:i}=Uw(r),a=Ia((()=>["t-icon","t-icon-error-circle-filled",o.value])),l=Ia((()=>yx(yx({},i.value),n.style))),s=Ia((()=>({class:a.value,style:l.value,onClick:t=>{var n;return null===(n=e.onClick)||void 0===n?void 0:n.call(e,{e:t})}})));return()=>zw(bx,s.value)}});function wx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function xx(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?wx(Object(n),!0).forEach((function(t){Fw(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wx(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ox={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M3 1h12.41L21 6.59V23H3V1zm2 2v18h14V9h-6V3H5zm10 .41V7h3.59L15 3.41z"}}]},Ex=xr({name:"FileIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,t){var{attrs:n}=t,r=Ia((()=>e.size)),{className:o,style:i}=Uw(r),a=Ia((()=>["t-icon","t-icon-file",o.value])),l=Ia((()=>xx(xx({},i.value),n.style))),s=Ia((()=>({class:a.value,style:l.value,onClick:t=>{var n;return null===(n=e.onClick)||void 0===n?void 0:n.call(e,{e:t})}})));return()=>zw(Ox,s.value)}});function Sx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Cx(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Sx(Object(n),!0).forEach((function(t){Fw(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Sx(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ax={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M12 23a11 11 0 100-22 11 11 0 000 22zm-.17-11.11c.43-.53.97-.97 1.4-1.32A2 2 0 0012 7a2 2 0 00-1.89 1.33l-.33.95L7.9 8.6l.34-.94a4 4 0 116.24 4.47 7 7 0 00-1.1 1.01c-.27.34-.37.61-.37.85v1.25h-2V14c0-.87.39-1.57.83-2.11zM11 18.25v-2h2v2h-2z"}}]},kx=xr({name:"HelpCircleFilledIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,t){var{attrs:n}=t,r=Ia((()=>e.size)),{className:o,style:i}=Uw(r),a=Ia((()=>["t-icon","t-icon-help-circle-filled",o.value])),l=Ia((()=>Cx(Cx({},i.value),n.style))),s=Ia((()=>({class:a.value,style:l.value,onClick:t=>{var n;return null===(n=e.onClick)||void 0===n?void 0:n.call(e,{e:t})}})));return()=>zw(Ax,s.value)}});function Tx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Mx(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tx(Object(n),!0).forEach((function(t){Fw(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tx(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Px={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M2 2h20v10h-2V4H4v9.59l5-5L14.41 14 13 15.41l-4-4-5 5V20h8v2H2V2zm13.55 5a1 1 0 100 2 1 1 0 000-2zm-3 1a3 3 0 116 0 3 3 0 01-6 0zm3.62 6.76L19 17.59l2.83-2.83 1.41 1.41L20.41 19l2.83 2.83-1.41 1.41L19 20.41l-2.83 2.83-1.41-1.41L17.59 19l-2.83-2.83 1.41-1.41z"}}]},jx=xr({name:"ImageErrorIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,t){var{attrs:n}=t,r=Ia((()=>e.size)),{className:o,style:i}=Uw(r),a=Ia((()=>["t-icon","t-icon-image-error",o.value])),l=Ia((()=>Mx(Mx({},i.value),n.style))),s=Ia((()=>({class:a.value,style:l.value,onClick:t=>{var n;return null===(n=e.onClick)||void 0===n?void 0:n.call(e,{e:t})}})));return()=>zw(Px,s.value)}});function Dx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ix(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Dx(Object(n),!0).forEach((function(t){Fw(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Dx(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Nx={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M2 2h20v20H2V2zm2 18h13.59L9 11.41l-5 5V20zm16-.41V4H4v9.59l5-5 11 11zM15.55 7a1 1 0 100 2 1 1 0 000-2zm-3 1a3 3 0 116 0 3 3 0 01-6 0z"}}]},Lx=xr({name:"ImageIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,t){var{attrs:n}=t,r=Ia((()=>e.size)),{className:o,style:i}=Uw(r),a=Ia((()=>["t-icon","t-icon-image",o.value])),l=Ia((()=>Ix(Ix({},i.value),n.style))),s=Ia((()=>({class:a.value,style:l.value,onClick:t=>{var n;return null===(n=e.onClick)||void 0===n?void 0:n.call(e,{e:t})}})));return()=>zw(Nx,s.value)}});function Fx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Rx(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fx(Object(n),!0).forEach((function(t){Fw(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fx(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Bx={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M12 23a11 11 0 100-22 11 11 0 000 22zM11 8.5v-2h2v2h-2zm2 1.5v7.5h-2V10h2z"}}]},zx=xr({name:"InfoCircleFilledIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,t){var{attrs:n}=t,r=Ia((()=>e.size)),{className:o,style:i}=Uw(r),a=Ia((()=>["t-icon","t-icon-info-circle-filled",o.value])),l=Ia((()=>Rx(Rx({},i.value),n.style))),s=Ia((()=>({class:a.value,style:l.value,onClick:t=>{var n;return null===(n=e.onClick)||void 0===n?void 0:n.call(e,{e:t})}})));return()=>zw(Bx,s.value)}});function Vx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ux(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vx(Object(n),!0).forEach((function(t){Fw(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vx(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Hx={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M2 19h2v-2H2v2zm5 0h15v-2H7v2zm-5-6h2v-2H2v2zm5 0h15v-2H7v2zM2 7h2V5H2v2zm5 0h15V5H7v2z"}}]},Wx=xr({name:"ListIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,t){var{attrs:n}=t,r=Ia((()=>e.size)),{className:o,style:i}=Uw(r),a=Ia((()=>["t-icon","t-icon-list",o.value])),l=Ia((()=>Ux(Ux({},i.value),n.style))),s=Ia((()=>({class:a.value,style:l.value,onClick:t=>{var n;return null===(n=e.onClick)||void 0===n?void 0:n.call(e,{e:t})}})));return()=>zw(Hx,s.value)}});function qx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function $x(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qx(Object(n),!0).forEach((function(t){Fw(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qx(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Gx={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M12 .85l9.66 5.57v11.16L12 23.15l-9.66-5.57V6.42L12 .85zm0 2.3L4.34 7.58v8.84L12 20.85l7.66-4.43V7.58L12 3.15zM12 9a3 3 0 100 6 3 3 0 000-6zm-5 3a5 5 0 1110 0 5 5 0 01-10 0z"}}]},Kx=xr({name:"SettingIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,t){var{attrs:n}=t,r=Ia((()=>e.size)),{className:o,style:i}=Uw(r),a=Ia((()=>["t-icon","t-icon-setting",o.value])),l=Ia((()=>$x($x({},i.value),n.style))),s=Ia((()=>({class:a.value,style:l.value,onClick:t=>{var n;return null===(n=e.onClick)||void 0===n?void 0:n.call(e,{e:t})}})));return()=>zw(Gx,s.value)}});function Xx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Yx(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xx(Object(n),!0).forEach((function(t){Fw(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xx(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Jx={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M2 2h20v12.41L14.41 22H2V2zm2 2v16h9v-7h7V4H4zm14.59 11H15v3.59L18.59 15zM6 8h12v2H6V8zm0 4h5v2H6v-2z"}}]},Qx=xr({name:"StickyNoteIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,t){var{attrs:n}=t,r=Ia((()=>e.size)),{className:o,style:i}=Uw(r),a=Ia((()=>["t-icon","t-icon-sticky-note",o.value])),l=Ia((()=>Yx(Yx({},i.value),n.style))),s=Ia((()=>({class:a.value,style:l.value,onClick:t=>{var n;return null===(n=e.onClick)||void 0===n?void 0:n.call(e,{e:t})}})));return()=>zw(Jx,s.value)}});function Zx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function eO(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Zx(Object(n),!0).forEach((function(t){Fw(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zx(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var tO={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M1 2h22v8.25h-2V4H3v12h8.5v2H1V2zm2 18h8.5v2H3v-2z"}},{tag:"path",attrs:{fill:"currentColor",d:"M19.5 12v1.38a4 4 0 011.85 1.07l1.2-.7 1 1.74-1.2.69a4 4 0 010 2.14l1.2.69-1 1.73-1.2-.69a4 4 0 01-1.85 1.07v1.38h-2v-1.38a4 4 0 01-1.85-1.07l-1.2.7-1-1.74 1.2-.69a4 4 0 010-2.14l-1.2-.69 1-1.73 1.2.69a4 4 0 011.85-1.07V12h2zm-2.75 4.28a2 2 0 000 1.94l.04.06a2 2 0 003.42 0l.04-.06a2 2 0 000-1.94l-.04-.06a2 2 0 00-3.42 0l-.04.06z"}}]},nO=xr({name:"SystemSettingIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,t){var{attrs:n}=t,r=Ia((()=>e.size)),{className:o,style:i}=Uw(r),a=Ia((()=>["t-icon","t-icon-system-setting",o.value])),l=Ia((()=>eO(eO({},i.value),n.style))),s=Ia((()=>({class:a.value,style:l.value,onClick:t=>{var n;return null===(n=e.onClick)||void 0===n?void 0:n.call(e,{e:t})}})));return()=>zw(tO,s.value)}}),rO="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function oO(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function iO(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var n=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})})),n} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var aO=function(e){return e<768?"xs":e>=768&&e<992?"sm":e>=992&&e<1200?"md":e>=1200&&e<1400?"lg":e>=1400&&e<1880?"xl":"xxl"}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function lO(e,t){Yr((function(){window.addEventListener(e,t)})),Zr((function(){window.removeEventListener(e,t)}))} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function sO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function cO(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sO(Object(n),!0).forEach((function(t){Ns(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sO(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function uO(){var e=en(aO(Py?0:window.innerWidth));return lO("resize",(function(){e.value=aO(Py?0:window.innerWidth)})),e} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function fO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var pO=xr({name:"TRow",props:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fO(Object(n),!0).forEach((function(t){Ns(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fO(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},{align:{type:String,default:"top",validator:function(e){return!e||["start","end","center","stretch","baseline","top","middle","bottom"].includes(e)}},gutter:{type:[Number,Object,Array],default:0},justify:{type:String,default:"start",validator:function(e){return!e||["start","end","center","space-around","space-between"].includes(e)}},tag:{type:String,default:"div"}}),setup:function(e){var t=fn(e).gutter,n=Aw();Vo("rowContext",zt({gutter:t}));var r=uO(),o=vy("row"),i=Ia((function(){return function(e,t){var n=t.justify,r=t.align;return[e,Ns(Ns({},"".concat(e,"--").concat(n),n),"".concat(e,"--align-").concat(r),r)]}(o.value,e)})),a=Ia((function(){return function(e,t){var n={},r=function(e){return Object.assign(n,{marginLeft:"".concat(e/-2,"px"),marginRight:"".concat(e/-2,"px")})},o=function(e){return Object.assign(n,{rowGap:"".concat(e,"px")})},i={isNumber:function(e){ry(e)&&r(e)},isArray:function(e){Cf(e)&&e.length&&(i.isNumber(e[0]),ry(e[1])&&o(e[1]),Rs(e[0])&&!ey(e[0][t])&&r(e[0][t]),Rs(e[1])&&!ey(e[1][t])&&o(e[1][t]))},isObject:function(e){Rs(e)&&e[t]&&(Cf(e)&&e.length?(r(e[t][0]),o(e[t][1])):r(e[t]))}};return Object.keys(i).forEach((function(t){i[t](e)})),n}(e.gutter,r.value)}));return function(){var t,r,o=e.tag;return ra(o,{class:i.value,style:a.value},"function"==typeof(r=t=n("default"))||"[object Object]"===Object.prototype.toString.call(r)&&!Qi(r)?t:{default:function(){return[t]}})}}}); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function dO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var hO=xr({name:"TCol",inject:["rowContext"],props:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dO(Object(n),!0).forEach((function(t){Ns(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dO(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},{flex:{type:[String,Number]},lg:{type:[Number,Object]},md:{type:[Number,Object]},offset:{type:Number,default:0},order:{type:Number,default:0},pull:{type:Number,default:0},push:{type:Number,default:0},sm:{type:[Number,Object]},span:{type:Number},tag:{type:String,default:"div"},xl:{type:[Number,Object]},xs:{type:[Number,Object]},xxl:{type:[Number,Object]}}),setup:function(e){var t=vy("col"),n=Aw(),r=Uo("rowContext",Object.create(null)),o=uO(),i=Ia((function(){return function(e,t){var n=t.span,r=t.order,o=t.offset,i=t.push,a=t.pull,l=["xs","sm","md","lg","xl","xxl"].reduce((function(n,r){var o=t[r],i={};return ry(o)?i.span=o:Rs(o)&&(i=o||{}),cO(cO({},n),{},Ns(Ns(Ns(Ns(Ns({},"".concat(e,"-").concat(r,"-").concat(i.span),!ey(i.span)),"".concat(e,"-").concat(r,"-order-").concat(i.order),parseInt(i.order,10)>=0),"".concat(e,"-").concat(r,"-offset-").concat(i.offset),parseInt(i.offset,10)>=0),"".concat(e,"-").concat(r,"-push-").concat(i.push),parseInt(i.push,10)>=0),"".concat(e,"-").concat(r,"-pull-").concat(i.pull),parseInt(i.pull,10)>=0))}),{});return cO(Ns(Ns(Ns(Ns(Ns(Ns({},"".concat(e),!0),"".concat(e,"-").concat(n),!ey(n)),"".concat(e,"-order-").concat(r),r),"".concat(e,"-offset-").concat(o),o),"".concat(e,"-push-").concat(i),i),"".concat(e,"-pull-").concat(a),a),l)}(t.value,e)})),a=Ia((function(){var t,n,i,a,l,s={},c=e.flex;if(c&&(s.flex=function(e){return ry(e)?"".concat(e," ").concat(e," 0"):/^\d+(\.\d+)?(px|r?em|%)$/.test(e)?"0 0 ".concat(e):e}(c)),r){var u=r.gutter;Object.assign(s,(t=u,n=o.value,i={},a=function(e){return Object.assign(i,{paddingLeft:"".concat(e/2,"px"),paddingRight:"".concat(e/2,"px")})},l={isNumber:function(e){ry(e)&&a(e)},isArray:function(e){Cf(e)&&e.length&&(ry(e[0])&&a(e[0]),Rs(e[0])&&e[0][n]&&a(e[0][n]))},isObject:function(e){Rs(e)&&e[n]&&a(e[n])}},Object.keys(l).forEach((function(e){l[e](t)})),i))}return s}));return function(){var t,r,o=e.tag;return ra(o,{class:i.value,style:a.value},"function"==typeof(r=t=n("default"))||"[object Object]"===Object.prototype.toString.call(r)&&!Qi(r)?t:{default:function(){return[t]}})}}}),vO=gw(pO),mO=gw(hO),gO=xr({name:"TLayout",setup:function(){var e=en(!1),t=Aw(),n=vy("layout"),r=Ia((function(){return[n.value,Ns({},"".concat(n.value,"--with-sider"),e.value)]}));return Vo("layout",{hasSide:e}),function(){return ra("section",{class:r.value},[t("default")])}}}),yO=xr({name:"THeader",props:{height:{type:String,default:""}},setup:function(e){var t=vy("layout__header"),n=Aw();return function(){return ra("header",{class:t.value,style:e.height?{height:e.height}:{}},[n("default")])}}}),bO=xr({name:"TFooter",props:{height:{type:String,default:""}},setup:function(e){var t=vy("layout__footer"),n=Aw();return function(){return ra("footer",{class:t.value,style:e.height?{height:e.height}:{}},[n("default")])}}}),_O=xr({name:"TAside",props:{width:{type:String,default:""}},setup:function(e){var t=Uo("layout",Object.create(null)).hasSide,n=vy("layout__sider"),r=Aw();if(t)return Yr((function(){t.value=!0})),eo((function(){t.value=!1})),function(){var t=e.width?{width:e.width}:{};return ra("aside",{class:n.value,style:t},[r("default")])}}}),wO=xr({name:"TContent",setup:function(){var e=vy("layout__content"),t=Aw();return function(){return ra("main",{class:e.value},[t("default")])}}}),xO=gw(_O),OO=gw(gO),EO=gw(yO),SO=gw(bO),CO=gw(wO),AO={align:{type:String,validator:function(e){return!e||["start","end","center","baseline"].includes(e)}},breakLine:Boolean,direction:{type:String,default:"horizontal",validator:function(e){return!e||["vertical","horizontal"].includes(e)}},separator:{type:[String,Function]},size:{type:[String,Number,Array],default:"medium"}}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function kO(){var e=ya();return function(t,n){var r,o;return n||(n=e.slots),y_((null===(r=n)||void 0===r||null===(o=r.default)||void 0===o?void 0:o.call(r))||[]).filter((function(e){var n;return null===(n=e.type.name)||void 0===n?void 0:n.endsWith(t)}))}} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function TO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function MO(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?TO(Object(n),!0).forEach((function(t){Ns(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):TO(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var PO={small:"8px",medium:"16px",large:"24px"},jO=function(){var e,t,n;if("undefined"==typeof navigator||!navigator)return!1;var r=navigator.userAgent,o=r.match(/AppleWebKit.+Chrome\/(.+) Safari\/.+/i);if(Number(null==o||null===(e=o[1])||void 0===e?void 0:e.split(".")[0])<100)return!0;var i=r.match(/AppleWebKit.+Version\/(.+) Safari\/.+/i);if(Number(null==i||null===(t=i[1])||void 0===t?void 0:t.split(".")[0])<12)return!0;if(oy()<=11)return!0;var a=r.match(/Firefox\/(.+)/i);return Number(null==a||null===(n=a[1])||void 0===n?void 0:n.split(".")[0])<100}(),DO=gw(xr({name:"TSpace",props:MO(MO({},AO),{},{forceFlexGapPolyfill:Boolean}),setup:function(e){var t,n=vy("space"),r=Aw(),o=(t=ya(),function(){var e,n=t.slots;return((null==n||null===(e=n.default)||void 0===e?void 0:e.call(n))||[]).filter((function(e){return!("symbol"===Ds(e.type)&&!e.children)&&e.type!==Vi})).map((function(e){return e.children&&Cf(e.children)&&e.type===Bi?e.children:e})).flat()}),i=Ia((function(){return e.forceFlexGapPolyfill||jO})),a=Ia((function(){var t="";Cf(e.size)?t=e.size.map((function(e){return ry(e)?"".concat(e,"px"):Zg(e)&&PO[e]||e})).join(" "):Zg(e.size)?t=PO[e.size]||e.size:ry(e.size)&&(t="".concat(e.size,"px"));var n={};if(i.value){var r=Gg(t.split(" "),2),o=r[0],a=r[1];n["--td-space-column-gap"]=o,n["--td-space-row-gap"]=a||o}else n.gap=t;return n}));return function(){var t,l,s=["".concat(n.value),Ns(Ns(Ns(Ns({},"".concat(n.value,"-align-").concat(e.align),e.align),"".concat(n.value,"-").concat(e.direction),e.direction),"".concat(n.value,"--break-line"),e.breakLine),"".concat(n.value,"--polyfill"),i.value)];return ra("div",{class:s,style:a.value},[(t=o(),l=r("separator"),t.filter((function(e){return!Qi(e)||e.type!==Vi})).map((function(e,r){var o=r+1!==t.length&&l;return ra(Bi,null,[ra("div",{class:"".concat(n.value,"-item")},[e]),o&&ra("div",{class:"".concat(n.value,"-item-separator")},[l])])})))])}}}));var IO= +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function(e){return null==e}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function NO(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(c){return void n(c)}l.done?t(s):Promise.resolve(s).then(r,o)}function LO(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){NO(i,r,o,a,l,"next",e)}function l(e){NO(i,r,o,a,l,"throw",e)}a(void 0)}))}}var FO={exports:{}},RO={exports:{}};!function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(RO),function(e){var t=RO.exports.default;function n(){ +/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ +e.exports=n=function(){return o},e.exports.__esModule=!0,e.exports.default=e.exports;var r,o={},i=Object.prototype,a=i.hasOwnProperty,l=Object.defineProperty||function(e,t,n){e[t]=n.value},s="function"==typeof Symbol?Symbol:{},c=s.iterator||"@@iterator",u=s.asyncIterator||"@@asyncIterator",f=s.toStringTag||"@@toStringTag";function p(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{p({},"")}catch(N){p=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var o=t&&t.prototype instanceof _?t:_,i=Object.create(o.prototype),a=new D(r||[]);return l(i,"_invoke",{value:T(e,n,a)}),i}function h(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(r){return{type:"throw",arg:r}}}o.wrap=d;var v="suspendedStart",m="suspendedYield",g="executing",y="completed",b={};function _(){}function w(){}function x(){}var O={};p(O,c,(function(){return this}));var E=Object.getPrototypeOf,S=E&&E(E(I([])));S&&S!==i&&a.call(S,c)&&(O=S);var C=x.prototype=_.prototype=Object.create(O);function A(e){["next","throw","return"].forEach((function(t){p(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,n){function r(o,i,l,s){var c=h(e[o],e,i);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==t(f)&&a.call(f,"__await")?n.resolve(f.__await).then((function(e){r("next",e,l,s)}),(function(e){r("throw",e,l,s)})):n.resolve(f).then((function(e){u.value=e,l(u)}),(function(e){return r("throw",e,l,s)}))}s(c.arg)}var o;l(this,"_invoke",{value:function(e,t){function i(){return new n((function(n,o){r(e,t,n,o)}))}return o=o?o.then(i,i):i()}})}function T(e,t,n){var o=v;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:r,done:!0}}for(n.method=i,n.arg=a;;){var l=n.delegate;if(l){var s=M(l,n);if(s){if(s===b)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===v)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=g;var c=h(e,t,n);if("normal"===c.type){if(o=n.done?y:m,c.arg===b)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=y,n.method="throw",n.arg=c.arg)}}}function M(e,t){var n=t.method,o=e.iterator[n];if(o===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=r,M(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var i=h(o,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,b;var a=i.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=r),t.delegate=null,b):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,b)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function j(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function I(e){if(e||""===e){var n=e[c];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function t(){for(;++o<e.length;)if(a.call(e,o))return t.value=e[o],t.done=!1,t;return t.value=r,t.done=!0,t};return i.next=i}}throw new TypeError(t(e)+" is not iterable")}return w.prototype=x,l(C,"constructor",{value:x,configurable:!0}),l(x,"constructor",{value:w,configurable:!0}),w.displayName=p(x,f,"GeneratorFunction"),o.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},o.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,x):(e.__proto__=x,p(e,f,"GeneratorFunction")),e.prototype=Object.create(C),e},o.awrap=function(e){return{__await:e}},A(k.prototype),p(k.prototype,u,(function(){return this})),o.AsyncIterator=k,o.async=function(e,t,n,r,i){void 0===i&&(i=Promise);var a=new k(d(e,t,n,r),i);return o.isGeneratorFunction(t)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},A(C),p(C,f,"Generator"),p(C,c,(function(){return this})),p(C,"toString",(function(){return"[object Generator]"})),o.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},o.values=I,D.prototype={constructor:D,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(j),!e)for(var t in this)"t"===t.charAt(0)&&a.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=r)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(n,o){return l.type="throw",l.arg=e,t.next=n,o&&(t.method="next",t.arg=r),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],l=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=a.call(i,"catchLoc"),c=a.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,b):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),j(n),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;j(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:I(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=r),b}},o}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports}(FO),FO.exports;var BO=FO.exports(),zO=BO;try{regeneratorRuntime=BO}catch(ere){"object"===("undefined"==typeof globalThis?"undefined":Ds(globalThis))?globalThis.regeneratorRuntime=BO:Function("r","regeneratorRuntime = r")(BO)} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var VO=["info","success","warning","error","question","loading"],UO="32px",HO={top:{top:UO,left:"50%",transform:"translateX(-50%)"},center:{left:"50%",top:"50%",transform:"translateX(-50%) translateY(-50%)"},left:{left:UO,top:"50%",transform:"translateY(-50%)"},bottom:{bottom:UO,left:"50%",transform:"translateX(-50%)"},right:{right:UO,top:"50%",transform:"translateY(-50%)",display:"flex",flexDirection:"column",alignItems:"flex-end"},"top-left":{left:UO,top:UO},"top-right":{right:UO,top:UO,display:"flex",flexDirection:"column",alignItems:"flex-end"},"bottom-right":{right:UO,bottom:UO,display:"flex",flexDirection:"column",alignItems:"flex-end"},"bottom-left":{left:UO,bottom:UO}},WO=Object.keys(HO),qO={closeBtn:{type:[String,Boolean,Function],default:void 0},content:{type:[String,Function]},duration:{type:Number,default:3e3},icon:{type:[Boolean,Function],default:!0},theme:{type:String,default:"info",validator:function(e){return!e||["info","success","warning","error","question","loading"].includes(e)}},onClose:Function,onCloseBtnClick:Function,onDurationEnd:Function}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function $O(e){var t=dy("icon").globalConfig,n={};return Object.keys(e).forEach((function(r){var o;n[r]=(null===(o=t.value)||void 0===o?void 0:o[r])||e[r]})),n} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var GO={duration:200,easing:"linear"};function KO(e,t){if(e){var n=function(e,t,n){if(!WO.includes(e))return null;if(["top-left","left","bottom-left"].includes(e))return[{opacity:0,marginLeft:"-".concat(t,"px")},{opacity:1,marginLeft:"0"}];if(["top-right","right","bottom-right"].includes(e))return[{opacity:0,marginRight:"-".concat(t,"px")},{opacity:1,marginRight:"0"}];if(["top","center"].includes(e))return[{opacity:0,marginTop:"-".concat(n,"px")},{opacity:1,marginTop:"0"}];if(["bottom"].includes(e))return[{opacity:0,transform:"translate3d(0, ".concat(n,"px, 0)")},{opacity:1,transform:"translate3d(0, 0, 0)"}]}(t,(null==e?void 0:e.offsetWidth)||0,(null==e?void 0:e.offsetHeight)||0);if(n)YO(e,n[n.length-1]),e.animate&&e.animate(n,GO)}}function XO(e,t,n){if(e){var r=function(e,t){if(!WO.includes(e))return null;if(["bottom-left","bottom","bottom-right"].includes(e)){return[{opacity:1,marginTop:"0px"},{opacity:0,marginTop:"".concat(t,"px")}]}var n="-".concat(t,"px");return[{opacity:1,marginTop:"0px"},{opacity:0,marginTop:n}]} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */(t,(null==e?void 0:e.offsetHeight)||0);if(!r)return n();var o=r[r.length-1];YO(e,o);var i=e.animate&&e.animate(r,GO);i?i.onfinish=function(){e.style.display="none",n()}:(e.style.display="none",n())}}function YO(e,t){for(var n=Object.keys(t),r=0;r<n.length;r+=1){var o=n[r];e.style[o]=t[o]}}function JO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function QO(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?JO(Object(n),!0).forEach((function(t){Ns(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):JO(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ZO=xr({name:"TMessage",props:QO(QO({},qO),{},{placement:String}),setup:function(e,t){var n=t.slots,r=t.expose,o=vy("message"),i=$O({InfoCircleFilledIcon:zx,CheckCircleFilledIcon:ex,ErrorCircleFilledIcon:_x,HelpCircleFilledIcon:kx,CloseIcon:px}),a=i.InfoCircleFilledIcon,l=i.CheckCircleFilledIcon,s=i.ErrorCircleFilledIcon,c=i.HelpCircleFilledIcon,u=i.CloseIcon,f=vy(),p=Aw(),d=Tw(),h=en(null),v=en(null),m=Ia((function(){var t={};return VO.forEach((function(n){return t["".concat(f.value,"-is-").concat(n)]=e.theme===n})),[o.value,t,Ns({},"".concat(f.value,"-is-closable"),e.closeBtn||n.closeBtn)]})),g=function(t){var n,r;null===(n=e.onClose)||void 0===n||n.call(e,{trigger:"close-click",e:t}),null===(r=e.onCloseBtnClick)||void 0===r||r.call(e,{e:t})},y=function(){e.duration&&clearTimeout(v.value)},b=function(){e.duration&&(v.value=Number(setTimeout((function(){y(),XO(h.value,e.placement,(function(){var t,n;null===(t=e.onClose)||void 0===t||t.call(e,{trigger:"duration-end"}),null===(n=e.onDurationEnd)||void 0===n||n.call(e)}))}),e.duration)))},_=function(){if(!1!==e.icon){if(ic(e.icon))return e.icon(Na);if(n.icon)return n.icon(null);var t={info:a,success:l,warning:s,error:s,question:c,loading:yw}[e.theme];return ra(t,null,null)}};return Xr((function(){e.duration&&b()})),Yr((function(){KO(h.value,e.placement)})),r({close:g}),function(){return ra("div",{ref:h,class:m.value,onMouseenter:y,onMouseleave:b},[_(),d("content","default"),(e=ra(u,null,null),ra("span",{class:"".concat(o.value,"__close"),onClick:g},[p("closeBtn",e)]))]);var e}}}); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function eE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function tE(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?eE(Object(n),!0).forEach((function(t){Ns(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):eE(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var nE=6e3,rE=function(){var e=0;return function(){return e+=1}}(),oE=xr({name:"TMessageList",props:{zIndex:{type:Number,default:0},placement:{type:String,default:""}},setup:function(e,t){var n=t.expose,r=vy("message__list"),o=en([]),i=en([]),a=Ia((function(){return tE(tE({},HO[e.placement]),{},{zIndex:e.zIndex!==nE?e.zIndex:nE})})),l=function(e){o.value.splice(e,1)},s=function(e){if(e)return isNaN(Number(e))?e:"".concat(e,"px")},c=function(e){return e.offset&&{position:"relative",left:s(e.offset[0]),top:s(e.offset[1])}},u=function(e){e&&i.value.push(e)};return n({add:function(e){var t=tE(tE({},e),{},{key:rE()});return o.value.push(t),t.key},removeAll:function(){o.value=[]},list:o,messageList:i}),function(){if(o.value.length)return ra("div",{class:r.value,style:a.value},[o.value.map((function(e,t){return ra(ZO,pa({key:e.key,style:c(e),ref:u},function(e,t){return tE(tE({},t),{},{onCloseBtnClick:function(n){return t.onCloseBtnClick&&t.onCloseBtnClick(n),l(e)},onDurationEnd:function(){return t.onDurationEnd&&t.onDurationEnd(),l(e)}})}(t,e)),null)}))])}}}); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function iE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function aE(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?iE(Object(n),!0).forEach((function(t){Ns(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):iE(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var lE=new Map;var sE=function(e){var t=function(e){var t=aE({duration:3e3,attach:"body",zIndex:nE,placement:"top"},e);return t.content=e.content,t}(e),n=t.attach,r=t.placement,o=Fy(n);lE.get(o)||lE.set(o,{});var i,a=lE.get(o)[r];if(a)i=a.add(t);else{var l=document.createElement("div"),s=Os(oE,{zIndex:t.zIndex,placement:t.placement}).mount(l);i=s.add(t),lE.get(o)[r]=s,o.appendChild(l)}return new Promise((function(e){var t=lE.get(o)[r];In((function(){var n=t.messageList;e(null==n?void 0:n.find((function(e){var t;return(null===(t=e.$)||void 0===t||null===(t=t.vnode)||void 0===t?void 0:t.key)===i})))}))}))},cE=function(e,t,n){var r={theme:e};return Zg(t)?r.content=t:!Rs(t)||t instanceof Array||(r=aE(aE({},r),t)),(n||0===n)&&(r.duration=n),sE(r)},uE={info:function(e,t){return cE("info",e,t)},success:function(e,t){return cE("success",e,t)},warning:function(e,t){return cE("warning",e,t)},error:function(e,t){return cE("error",e,t)},question:function(e,t){return cE("question",e,t)},loading:function(e,t){return cE("loading",e,t)},close:function(e){e.then((function(e){return null==e?void 0:e.close()}))},closeAll:function(){lE instanceof Map&&lE.forEach((function(e){Object.keys(e).forEach((function(t){e[t].list=[]}))}))}},fE=cE;fE.install=function(e){e.config.globalProperties.$message=cE,Object.keys(uE).forEach((function(t){e.config.globalProperties.$message[t]=uE[t]}))},Object.keys(uE).forEach((function(e){fE[e]=uE[e]}));var pE="top",dE="bottom",hE="right",vE="left",mE="auto",gE=[pE,dE,hE,vE],yE="start",bE="end",_E="viewport",wE="popper",xE=gE.reduce((function(e,t){return e.concat([t+"-"+yE,t+"-"+bE])}),[]),OE=[].concat(gE,[mE]).reduce((function(e,t){return e.concat([t,t+"-"+yE,t+"-"+bE])}),[]),EE=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function SE(e){return e?(e.nodeName||"").toLowerCase():null}function CE(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function AE(e){return e instanceof CE(e).Element||e instanceof Element}function kE(e){return e instanceof CE(e).HTMLElement||e instanceof HTMLElement}function TE(e){return"undefined"!=typeof ShadowRoot&&(e instanceof CE(e).ShadowRoot||e instanceof ShadowRoot)}const ME={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];kE(o)&&SE(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});kE(r)&&SE(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};function PE(e){return e.split("-")[0]}var jE=Math.max,DE=Math.min,IE=Math.round;function NE(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function LE(){return!/^((?!chrome|android).)*safari/i.test(NE())}function FE(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&kE(e)&&(o=e.offsetWidth>0&&IE(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&IE(r.height)/e.offsetHeight||1);var a=(AE(e)?CE(e):window).visualViewport,l=!LE()&&n,s=(r.left+(l&&a?a.offsetLeft:0))/o,c=(r.top+(l&&a?a.offsetTop:0))/i,u=r.width/o,f=r.height/i;return{width:u,height:f,top:c,right:s+u,bottom:c+f,left:s,x:s,y:c}}function RE(e){var t=FE(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function BE(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&TE(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function zE(e){return CE(e).getComputedStyle(e)}function VE(e){return["table","td","th"].indexOf(SE(e))>=0}function UE(e){return((AE(e)?e.ownerDocument: +// $FlowFixMe[prop-missing] +e.document)||window.document).documentElement}function HE(e){return"html"===SE(e)?e: +// this is a quicker (but less type safe) way to save quite some bytes from the bundle +// $FlowFixMe[incompatible-return] +// $FlowFixMe[prop-missing] +e.assignedSlot||// step into the shadow DOM of the parent of a slotted node +e.parentNode||(// DOM Element detected +TE(e)?e.host:null)||// ShadowRoot detected +// $FlowFixMe[incompatible-call]: HTMLElement is a Node +UE(e)}function WE(e){return kE(e)&&// https://github.com/popperjs/popper-core/issues/837 +"fixed"!==zE(e).position?e.offsetParent:null}function qE(e){for(var t=CE(e),n=WE(e);n&&VE(n)&&"static"===zE(n).position;)n=WE(n);return n&&("html"===SE(n)||"body"===SE(n)&&"static"===zE(n).position)?t:n||function(e){var t=/firefox/i.test(NE());if(/Trident/i.test(NE())&&kE(e)&&"fixed"===zE(e).position)return null;var n=HE(e);for(TE(n)&&(n=n.host);kE(n)&&["html","body"].indexOf(SE(n))<0;){var r=zE(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function $E(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function GE(e,t,n){return jE(e,DE(t,n))}function KE(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function XE(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function YE(e){return e.split("-")[1]}var JE={top:"auto",right:"auto",bottom:"auto",left:"auto"};function QE(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,l=e.position,s=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,f=e.isFixed,p=a.x,d=void 0===p?0:p,h=a.y,v=void 0===h?0:h,m="function"==typeof u?u({x:d,y:v}):{x:d,y:v};d=m.x,v=m.y;var g=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),b=vE,_=pE,w=window;if(c){var x=qE(n),O="clientHeight",E="clientWidth";if(x===CE(n)&&"static"!==zE(x=UE(n)).position&&"absolute"===l&&(O="scrollHeight",E="scrollWidth"),o===pE||(o===vE||o===hE)&&i===bE)_=dE,v-=(f&&x===w&&w.visualViewport?w.visualViewport.height: +// $FlowFixMe[prop-missing] +x[O])-r.height,v*=s?1:-1;if(o===vE||(o===pE||o===dE)&&i===bE)b=hE,d-=(f&&x===w&&w.visualViewport?w.visualViewport.width: +// $FlowFixMe[prop-missing] +x[E])-r.width,d*=s?1:-1}var S,C=Object.assign({position:l},c&&JE),A=!0===u?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:IE(n*o)/o||0,y:IE(r*o)/o||0}}({x:d,y:v},CE(n)):{x:d,y:v};return d=A.x,v=A.y,s?Object.assign({},C,((S={})[_]=y?"0":"",S[b]=g?"0":"",S.transform=(w.devicePixelRatio||1)<=1?"translate("+d+"px, "+v+"px)":"translate3d("+d+"px, "+v+"px, 0)",S)):Object.assign({},C,((t={})[_]=y?v+"px":"",t[b]=g?d+"px":"",t.transform="",t))}var ZE={passive:!0};var eS={left:"right",right:"left",bottom:"top",top:"bottom"};function tS(e){return e.replace(/left|right|bottom|top/g,(function(e){return eS[e]}))}var nS={start:"end",end:"start"};function rS(e){return e.replace(/start|end/g,(function(e){return nS[e]}))}function oS(e){var t=CE(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function iS(e){return FE(UE(e)).left+oS(e).scrollLeft}function aS(e){var t=zE(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function lS(e){return["html","body","#document"].indexOf(SE(e))>=0?e.ownerDocument.body:kE(e)&&aS(e)?e:lS(HE(e))}function sS(e,t){var n;void 0===t&&(t=[]);var r=lS(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=CE(r),a=o?[i].concat(i.visualViewport||[],aS(r)?r:[]):r,l=t.concat(a);return o?l: +// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here +l.concat(sS(HE(a)))}function cS(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function uS(e,t,n){return t===_E?cS(function(e,t){var n=CE(e),r=UE(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,l=0,s=0;if(o){i=o.width,a=o.height;var c=LE();(c||!c&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:i,height:a,x:l+iS(e),y:s}}(e,n)):AE(t)?function(e,t){var n=FE(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):cS(function(e){var t,n=UE(e),r=oS(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=jE(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=jE(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+iS(e),s=-r.scrollTop;return"rtl"===zE(o||n).direction&&(l+=jE(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:l,y:s}}(UE(e)))}function fS(e,t,n,r){var o="clippingParents"===t?function(e){var t=sS(HE(e)),n=["absolute","fixed"].indexOf(zE(e).position)>=0&&kE(e)?qE(e):e;return AE(n)?t.filter((function(e){return AE(e)&&BE(e,n)&&"body"!==SE(e)})):[]}(e):[].concat(t),i=[].concat(o,[n]),a=i[0],l=i.reduce((function(t,n){var o=uS(e,n,r);return t.top=jE(o.top,t.top),t.right=DE(o.right,t.right),t.bottom=DE(o.bottom,t.bottom),t.left=jE(o.left,t.left),t}),uS(e,a,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function pS(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?PE(o):null,a=o?YE(o):null,l=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(i){case pE:t={x:l,y:n.y-r.height};break;case dE:t={x:l,y:n.y+n.height};break;case hE:t={x:n.x+n.width,y:s};break;case vE:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var c=i?$E(i):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case yE:t[c]=t[c]-(n[u]/2-r[u]/2);break;case bE:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}function dS(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.strategy,a=void 0===i?e.strategy:i,l=n.boundary,s=void 0===l?"clippingParents":l,c=n.rootBoundary,u=void 0===c?_E:c,f=n.elementContext,p=void 0===f?wE:f,d=n.altBoundary,h=void 0!==d&&d,v=n.padding,m=void 0===v?0:v,g=KE("number"!=typeof m?m:XE(m,gE)),y=p===wE?"reference":wE,b=e.rects.popper,_=e.elements[h?y:p],w=fS(AE(_)?_:_.contextElement||UE(e.elements.popper),s,u,a),x=FE(e.elements.reference),O=pS({reference:x,element:b,strategy:"absolute",placement:o}),E=cS(Object.assign({},b,O)),S=p===wE?E:x,C={top:w.top-S.top+g.top,bottom:S.bottom-w.bottom+g.bottom,left:w.left-S.left+g.left,right:S.right-w.right+g.right},A=e.modifiersData.offset;if(p===wE&&A){var k=A[o];Object.keys(C).forEach((function(e){var t=[hE,dE].indexOf(e)>=0?1:-1,n=[pE,dE].indexOf(e)>=0?"y":"x";C[e]+=k[n]*t}))}return C}const hS={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,l=void 0===a||a,s=n.fallbackPlacements,c=n.padding,u=n.boundary,f=n.rootBoundary,p=n.altBoundary,d=n.flipVariations,h=void 0===d||d,v=n.allowedAutoPlacements,m=t.options.placement,g=PE(m),y=s||(g===m||!h?[tS(m)]:function(e){if(PE(e)===mE)return[];var t=tS(e);return[rS(e),t,rS(t)]}(m)),b=[m].concat(y).reduce((function(e,n){return e.concat(PE(n)===mE?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,l=n.flipVariations,s=n.allowedAutoPlacements,c=void 0===s?OE:s,u=YE(r),f=u?l?xE:xE.filter((function(e){return YE(e)===u})):gE,p=f.filter((function(e){return c.indexOf(e)>=0}));0===p.length&&(p=f);var d=p.reduce((function(t,n){return t[n]=dS(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[PE(n)],t}),{});return Object.keys(d).sort((function(e,t){return d[e]-d[t]}))}(t,{placement:n,boundary:u,rootBoundary:f,padding:c,flipVariations:h,allowedAutoPlacements:v}):n)}),[]),_=t.rects.reference,w=t.rects.popper,x=new Map,O=!0,E=b[0],S=0;S<b.length;S++){var C=b[S],A=PE(C),k=YE(C)===yE,T=[pE,dE].indexOf(A)>=0,M=T?"width":"height",P=dS(t,{placement:C,boundary:u,rootBoundary:f,altBoundary:p,padding:c}),j=T?k?hE:vE:k?dE:pE;_[M]>w[M]&&(j=tS(j));var D=tS(j),I=[];if(i&&I.push(P[A]<=0),l&&I.push(P[j]<=0,P[D]<=0),I.every((function(e){return e}))){E=C,O=!1;break}x.set(C,I)}if(O)for(var N=function(e){var t=b.find((function(t){var n=x.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return E=t,"break"},L=h?3:1;L>0;L--){if("break"===N(L))break}t.placement!==E&&(t.modifiersData[r]._skip=!0,t.placement=E,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function vS(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function mS(e){return[pE,hE,dE,vE].some((function(t){return e[t]>=0}))}function gS(e,t,n){void 0===n&&(n=!1);var r,o,i=kE(t),a=kE(t)&&function(e){var t=e.getBoundingClientRect(),n=IE(t.width)/e.offsetWidth||1,r=IE(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),l=UE(t),s=FE(e,a,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(i||!i&&!n)&&(("body"!==SE(t)||// https://github.com/popperjs/popper-core/issues/1078 +aS(l))&&(c=(r=t)!==CE(r)&&kE(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:oS(r)),kE(t)?((u=FE(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):l&&(u.x=iS(l))),{x:s.left+c.scrollLeft-u.x,y:s.top+c.scrollTop-u.y,width:s.width,height:s.height}}function yS(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}var bS={placement:"bottom",modifiers:[],strategy:"absolute"};function _S(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function wS(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?bS:o;return function(e,t,n){void 0===n&&(n=i);var o,a,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},bS,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},s=[],c=!1,u={state:l,setOptions:function(n){var o="function"==typeof n?n(l.options):n;f(),l.options=Object.assign({},i,l.options,o),l.scrollParents={reference:AE(e)?sS(e):e.contextElement?sS(e.contextElement):[],popper:sS(t)};var a,c,p=function(e){var t=yS(e);return EE.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((a=[].concat(r,l.options.modifiers),c=a.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(c).map((function(e){return c[e]}))));return l.orderedModifiers=p.filter((function(e){return e.enabled})),l.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:l,name:t,instance:u,options:r}),a=function(){};s.push(i||a)}})),u.update()}, +// Sync update – it will always be executed, even if not necessary. This +// is useful for low frequency updates where sync behavior simplifies the +// logic. +// For high frequency updates (e.g. `resize` and `scroll` events), always +// prefer the async Popper#update method +forceUpdate:function(){if(!c){var e=l.elements,t=e.reference,n=e.popper;if(_S(t,n)){l.rects={reference:gS(t,qE(n),"fixed"===l.options.strategy),popper:RE(n)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach((function(e){return l.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<l.orderedModifiers.length;r++)if(!0!==l.reset){var o=l.orderedModifiers[r],i=o.fn,a=o.options,s=void 0===a?{}:a,f=o.name;"function"==typeof i&&(l=i({state:l,options:s,name:f,instance:u})||l)}else l.reset=!1,r=-1}}}, +// Async and optimistically optimized update – it will not be executed if +// not necessary (debounced to run at most once-per-tick) +update:(o=function(){return new Promise((function(e){u.forceUpdate(),e(l)}))},function(){return a||(a=new Promise((function(e){Promise.resolve().then((function(){a=void 0,e(o())}))}))),a}),destroy:function(){f(),c=!0}};if(!_S(e,t))return u;function f(){s.forEach((function(e){return e()})),s=[]}return u.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),u}}var xS=wS({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,l=void 0===a||a,s=CE(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach((function(e){e.addEventListener("scroll",n.update,ZE)})),l&&s.addEventListener("resize",n.update,ZE),function(){i&&c.forEach((function(e){e.removeEventListener("scroll",n.update,ZE)})),l&&s.removeEventListener("resize",n.update,ZE)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=pS({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,l=n.roundOffsets,s=void 0===l||l,c={placement:PE(t.placement),variation:YE(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,QE(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,QE(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},ME,{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=OE.reduce((function(e,n){return e[n]=function(e,t,n){var r=PE(e),o=[vE,pE].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],l=i[1];return a=a||0,l=(l||0)*o,[vE,hE].indexOf(r)>=0?{x:l,y:a}:{x:a,y:l}}(n,t.rects,i),e}),{}),l=a[t.placement],s=l.x,c=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}},hS,{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,l=void 0!==a&&a,s=n.boundary,c=n.rootBoundary,u=n.altBoundary,f=n.padding,p=n.tether,d=void 0===p||p,h=n.tetherOffset,v=void 0===h?0:h,m=dS(t,{boundary:s,rootBoundary:c,padding:f,altBoundary:u}),g=PE(t.placement),y=YE(t.placement),b=!y,_=$E(g),w="x"===_?"y":"x",x=t.modifiersData.popperOffsets,O=t.rects.reference,E=t.rects.popper,S="function"==typeof v?v(Object.assign({},t.rects,{placement:t.placement})):v,C="number"==typeof S?{mainAxis:S,altAxis:S}:Object.assign({mainAxis:0,altAxis:0},S),A=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,k={x:0,y:0};if(x){if(i){var T,M="y"===_?pE:vE,P="y"===_?dE:hE,j="y"===_?"height":"width",D=x[_],I=D+m[M],N=D-m[P],L=d?-E[j]/2:0,F=y===yE?O[j]:E[j],R=y===yE?-E[j]:-O[j],B=t.elements.arrow,z=d&&B?RE(B):{width:0,height:0},V=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},U=V[M],H=V[P],W=GE(0,O[j],z[j]),q=b?O[j]/2-L-W-U-C.mainAxis:F-W-U-C.mainAxis,$=b?-O[j]/2+L+W+H+C.mainAxis:R+W+H+C.mainAxis,G=t.elements.arrow&&qE(t.elements.arrow),K=G?"y"===_?G.clientTop||0:G.clientLeft||0:0,X=null!=(T=null==A?void 0:A[_])?T:0,Y=D+$-X,J=GE(d?DE(I,D+q-X-K):I,D,d?jE(N,Y):N);x[_]=J,k[_]=J-D}if(l){var Q,Z="x"===_?pE:vE,ee="x"===_?dE:hE,te=x[w],ne="y"===w?"height":"width",re=te+m[Z],oe=te-m[ee],ie=-1!==[pE,vE].indexOf(g),ae=null!=(Q=null==A?void 0:A[w])?Q:0,le=ie?re:te-O[ne]-E[ne]-ae+C.altAxis,se=ie?te+O[ne]+E[ne]-ae-C.altAxis:oe,ce=d&&ie?(fe=GE(le,te,ue=se))>ue?ue:fe:GE(d?le:re,te,d?se:oe);x[w]=ce,k[w]=ce-te}var ue,fe;t.modifiersData[r]=k}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,l=PE(n.placement),s=$E(l),c=[vE,hE].indexOf(l)>=0?"height":"width";if(i&&a){var u=function(e,t){return KE("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:XE(e,gE))}(o.padding,n),f=RE(i),p="y"===s?pE:vE,d="y"===s?dE:hE,h=n.rects.reference[c]+n.rects.reference[s]-a[s]-n.rects.popper[c],v=a[s]-n.rects.reference[s],m=qE(i),g=m?"y"===s?m.clientHeight||0:m.clientWidth||0:0,y=h/2-v/2,b=u[p],_=g-f[c]-u[d],w=g/2-f[c]/2+y,x=GE(b,w,_),O=s;n.modifiersData[r]=((t={})[O]=x,t.centerOffset=x-w,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&BE(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=dS(t,{elementContext:"reference"}),l=dS(t,{altBoundary:!0}),s=vS(a,r),c=vS(l,o,i),u=mS(s),f=mS(c);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}}]}),OS=/\s/;var ES=function(e){for(var t=e.length;t--&&OS.test(e.charAt(t)););return t},SS=/^\s+/;var CS=function(e){return e?e.slice(0,ES(e)+1).replace(SS,""):e},AS=Rs,kS=Zm,TS=/^[-+]0x[0-9a-f]+$/i,MS=/^0b[01]+$/i,PS=/^0o[0-7]+$/i,jS=parseInt;var DS=function(e){if("number"==typeof e)return e;if(kS(e))return NaN;if(AS(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=AS(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=CS(e);var n=MS.test(e);return n||PS.test(e)?jS(e.slice(2),n?2:8):TS.test(e)?NaN:+e},IS=Us,NS=Rs,LS=function(){return IS.Date.now()},FS=DS,RS=Math.max,BS=Math.min; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var zS=function(e,t,n){var r,o,i,a,l,s,c=0,u=!1,f=!1,p=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function d(t){var n=r,i=o;return r=o=void 0,c=t,a=e.apply(i,n)}function h(e){var n=e-s;return void 0===s||n>=t||n<0||f&&e-c>=i}function v(){var e=LS();if(h(e))return m(e);l=setTimeout(v,function(e){var n=t-(e-s);return f?BS(n,i-(e-c)):n}(e))}function m(e){return l=void 0,p&&r?d(e):(r=o=void 0,a)}function g(){var e=LS(),n=h(e);if(r=arguments,o=this,s=e,n){if(void 0===l)return function(e){return c=e,l=setTimeout(v,t),u?d(e):a}(s);if(f)return clearTimeout(l),l=setTimeout(v,t),d(s)}return void 0===l&&(l=setTimeout(v,t)),a}return t=FS(t)||0,NS(n)&&(u=!!n.leading,i=(f="maxWait"in n)?RS(FS(n.maxWait)||0,t):i,p="trailing"in n?!!n.trailing:p),g.cancel=function(){void 0!==l&&clearTimeout(l),c=0,r=s=o=l=void 0},g.flush=function(){return void 0===l?a:m(LS())},g}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function VS(e,t,n,r){var o=ya(),i=o.emit,a=o.vnode,l=en(),s=a.props||{};return Object.prototype.hasOwnProperty.call(s,r)||Object.prototype.hasOwnProperty.call(s,m_(r))?[e,function(e){i("update:".concat(r),e);for(var t=arguments.length,o=new Array(t>1?t-1:0),a=1;a<t;a++)o[a-1]=arguments[a];null==n||n.apply(void 0,[e].concat(o))}]:(l.value=t,[l,function(e){l.value=e;for(var t=arguments.length,r=new Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];null==n||n.apply(void 0,[e].concat(r))}])} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function US(){var e=en(0);Vo("t-display-none-element-refresh",e),Qr((function(){e.value+=1}))} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function HS(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"value",i=ya(),a=i.emit,l=i.vnode,s=en(),c=l.props||{},u=Object.prototype.hasOwnProperty.call(c,"modelValue")||Object.prototype.hasOwnProperty.call(c,"model-value"),f=Object.prototype.hasOwnProperty.call(c,o)||Object.prototype.hasOwnProperty.call(c,m_(o));return u?[t,function(e){a("update:modelValue",e);for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];null==r||r.apply(void 0,[e].concat(n))}]:f?[e,function(e){a("update:".concat(o),e);for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];null==r||r.apply(void 0,[e].concat(n))}]:(s.value=n,[s,function(e){s.value=e;for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];null==r||r.apply(void 0,[e].concat(n))}])} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var WS=new Set,qS={warn:function(e,t){},warnOnce:function(e,t){var n="TDesign ".concat(e," Warn: ").concat(t);WS.has(n)||WS.add(n)},error:function(e,t){},errorOnce:function(e,t){var n="TDesign ".concat(e," Error: ").concat(t);WS.has(n)||WS.add(n)},info:function(e,t){}},$S=/(.png|.jpg|.jpeg|.jpe|.webp|.avif|.svg|.gif|.bmp)/i,GS=/(.pdf)/i,KS=/(.xlsx|.xls|.csv|.xlc|.xlm|.xlt|.xlw)/i,XS=/(.dox|docx|.document|.wps|.wdb|.msword)/i,YS=/(.ppt|.pptx|.key)/i,JS=/(.avi|.mp4|.wmv|.mpg|.mpeg|.mov|.rm|.ram|.swf|.flv|.rmvb|.flash|.mid|.3gp)/i,QS={"audio/*":/(.mp2|.mp3|.mp4|.ogg|.3gpp|.ac3|.au)/i,"video/*":JS,"image/*":/(.png|.jpg|.jpeg|.jpe|.webp|.avif|.svg|.gif|.bmp|.dwg|.dxf|.svf|.tif|.tiff|.arw)/i,".ico":/image\/vnd.microsoft.icon/i,".doc":/application\/msword/i,".docx":/application\/vnd.openxmlformats-officedocument.wordprocessingml.document/i,".xls":/application\/vnd.ms-excel/i,".xlsx":/application\/vnd.openxmlformats-officedocument.spreadsheetml.sheet/i,".ppt":/application\/vnd.ms-powerpoint/i,".pptx":/application\/vnd.openxmlformats-officedocument.presentationml.presentation/i,".vsd":/application\/vnd.visio/i,".txt":/text\/plain/i,".abw":/application\/x-abiword/i,".avi":/video\/x-msvideo/i,".azw":/application\/vnd.amazon.ebook/i,".bin":/application\/octet-stream/i,".cda":/application\/x-cdf/i,".mpkg":/application\/vnd.apple.installer+xml/i,".odp":/application\/vnd.oasis.opendocument.presentation/i,".ods":/application\/vnd.oasis.opendocument.spreadsheet/i,".odt":/application\/vnd.oasis.opendocument.text/i,".oga":/audio\/ogg/i,".ogv":/video\/ogg/i,".ogx":/application\/ogg/i},ZS={B:1,KB:1024,MB:1048576,GB:1073741824};function eC(e){return e<ZS.KB?"".concat(e," Bytes"):e>=ZS.KB&&e<ZS.MB?"".concat((e/ZS.KB).toFixed(1)," KB"):e>=ZS.MB&&e<ZS.GB?"".concat((e/ZS.MB).toFixed(1)," MB"):e>=ZS.GB?"".concat((e/ZS.GB).toFixed(1)," GB"):""}function tC(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=new Date,n=t.getMonth()+1;n=n<10?"0".concat(n):n;var r="".concat(t.getFullYear(),"-").concat(n,"-").concat(t.getDate()),o="".concat(t.getHours(),":").concat(t.getMinutes(),":").concat(t.getSeconds());return e?[r,o].join(" "):r}function nC(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:7,r=e,o=0,i=0;if(!r)return"";for(var a=0;a<r.length;a++){var l=r[a],s=0===escape(l).indexOf("%u");a<2*t&&o<t?o+=s?1:2:a>a-n&&i<n&&(i+=s?1:2)}return r.replace(new RegExp("^(.{".concat(o,"})(.+)(.{").concat(i,"})$")),"$1…$3")}function rC(e){return e<1024?"".concat(e," Bytes"):e>=1024&&e<1048576?"".concat((e/1024).toFixed(1)," KB"):e>=1048576?"".concat((e/1048576).toFixed(1)," MB"):""}function oC(e,t,n){var r=["B","KB","MB","GB"],o=r.indexOf(n);return-1===o&&(qS.warn("Upload","`sizeLimit.unit` can only be one of ".concat(r.join())),o=1),e>t*ZS[n]}function iC(e,t,n){var r=t||n;if(!e)return!0;if(!r)return!1;for(var o=e.split(",").map((function(e){return e.trim()})),i=0,a=o.length;i<a;i++){var l=o[i];if(QS[l]&&QS[l].test(r))return!0;if(new RegExp(l,"i").test(r))return!0}return!1}function aC(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=[],r=0;r<e.length;r++)iC(t,e[r].type,e[r].name)&&n.push(e[r]);return n} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function lC(e){var t=en("");return yi([e],(function(e,n){var r,o=Gg(e,1)[0];Gg(n,1)[0]!==o&&("string"!=typeof o?(r=o,new Promise((function(e){if(r){var t=new FileReader;t.readAsDataURL(r),t.onload=function(t){var n;e(null===(n=t.target)||void 0===n?void 0:n.result)}}else e("")}))).then((function(e){t.value=e})):t.value=o)}),{immediate:!0}),{previewUrl:t}} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var sC={attach:{type:[String,Function],default:"body"},content:{type:[String,Function]},default:{type:[String,Function]},delay:{type:[Number,Array]},destroyOnClose:Boolean,disabled:Boolean,hideEmptyPopup:Boolean,overlayClassName:{type:[String,Object,Array]},overlayInnerClassName:{type:[String,Object,Array]},overlayInnerStyle:{type:[Boolean,Object,Function]},overlayStyle:{type:[Boolean,Object,Function]},placement:{type:String,default:"top"},popperOptions:{type:Object},showArrow:Boolean,trigger:{type:String,default:"hover",validator:function(e){return!e||["hover","click","focus","mousedown","context-menu"].includes(e)}},triggerElement:{type:[String,Function]},visible:{type:Boolean,default:void 0},modelValue:{type:Boolean,default:void 0},defaultVisible:Boolean,zIndex:{type:Number},onOverlayClick:Function,onScroll:Function,onScrollToBottom:Function,onVisibleChange:Function}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function cC(e,t){if("undefined"!=typeof window&&(window&&window.ResizeObserver)){var n=null,r=function(){n&&e.value&&(n.unobserve(e.value),n.disconnect(),n=null)};e&&yi(e,(function(e){r(),e&&function(e){(n=new ResizeObserver(t)).observe(e)}(e)}),{immediate:!0,flush:"post"}),Zr((function(){r()}))}} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function uC(){var e=[];return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(t){Cf(t)?e.push.apply(e,js(t)):t.type===Bi?e.push.apply(e,js(uC(t.children))):e.push(t)})),e.filter((function(e){return!(e&&(e.type===Vi||e.type===Bi&&0===e.children.length||e.type===zi&&""===e.children.trim()))}))}function fC(e){var t=ya(),n=en();return Yr((function(){n.value=e(t)})),Qr((function(){var r=e(t);n.value!==r&&(n.value=r)})),n}var pC=xr({name:"TPopupTrigger",props:{forwardRef:Function},emits:["resize"],setup:function(e,t){var n=t.emit,r=t.slots,o=fC((function(e){return e.parent.vnode.el.nextElementSibling})),i=en();return yi(o,(function(){var t;null===(t=e.forwardRef)||void 0===t||t.call(e,o.value)})),cC(o,(function(e){var t=Gg(e,1)[0].contentRect;i.value=t})),yi(i,(function(e,t){var r,o;o=t,!(r=e)&&!o||r&&o&&!["width","height","x","y"].some((function(e){return r[e]!==o[e]}))||n("resize")})),function(){var e,t,n=uC(null===(e=r.default)||void 0===e?void 0:e.call(r));return n.length>1||(null===(t=n[0])||void 0===t?void 0:t.type)===zi?ra("span",null,[n]):n[0]}}}),dC=xr({name:"TPopupContent",emits:["resize"],setup:function(e,t){var n=t.emit,r=t.slots;return cC(fC((function(e){return e.vnode.el.children[0]})),(function(){n("resize")})),function(){return ra("div",{style:"position: absolute; top: 0px; left: 0px; width: 100%"},[r.default()])}}}),hC=xr({name:"TPopupContainer",inheritAttrs:!1,props:{parent:Object,visible:Boolean,attach:sC.attach,forwardRef:Function},emits:["resize","contentMounted"],setup:function(e,t){var n=t.emit,r=t.attrs,o=t.slots,i=t.expose,a=en(),l=en(!1);function s(){n("resize")}return Yr((function(){requestAnimationFrame((function(){l.value=e.visible}))})),yi((function(){return e.visible}),(function(t){t&&(l.value=e.visible)})),i({unmountContent:function(){l.value=!1}}),function(){var t,i,c=function(){return Fy(e.attach,a.value)};return ra(Bi,null,[ra(pC,{class:r.class,forwardRef:function(t){e.forwardRef(t),a.value=t},onResize:s},(i=t=o.default(),"function"==typeof i||"[object Object]"===Object.prototype.toString.call(i)&&!Qi(i)?t:{default:function(){return[t]}})),l.value&&ra(ir,{disabled:!c(),to:c()},{default:function(){return[ra(dC,{onResize:s,onVnodeMounted:function(){return n("contentMounted")}},{default:function(){return[o.content&&o.content()]}})]}})])}}}),vC={};function mC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function gC(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?mC(Object(n),!0).forEach((function(t){Ns(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mC(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var yC="data-td-popup",bC="data-td-popup-parent";function _C(e,t){var n=[],r=[bC,yC];return e?(t&&r.unshift(r.pop()),function e(t){document.querySelectorAll("[".concat(r[0],'="').concat(t,'"]')).forEach((function(o){n.push(o);var i=o.getAttribute(r[1]);i&&i!==t&&e(i)}))}(e),n):n}var wC=Symbol();var xC=xr({name:"TPopup",props:gC(gC({},sC),{},{expandAnimation:{type:Boolean}}),setup:function(e,t){var n,r,o,i,a=t.expose,l=fn(e),s=Gg(HS(l.visible,l.modelValue,e.defaultVisible,e.onVisibleChange,"visible"),2),c=s[0],u=s[1],f=Aw(),p=Tw(),d=en(null),h=en(null),v=en(null),m=en(null),g=en(!1),y="undefined"!=typeof process&&null!==(n=vC)&&void 0!==n&&n.TEST?"":Date.now().toString(36),b=Uo(wC,void 0);Vo(wC,{id:y,assertMouseLeave:I});var _,w,x=vy("popup"),O=my().STATUS,E=Ia((function(){var t,n,r="hover"!==e.trigger?[0,0]:[].concat(null!==(t=e.delay)&&void 0!==t?t:[250,150]);return{show:r[0],hide:null!==(n=r[1])&&void 0!==n?n:r[0]}})),S=(_=d,w=[],{add:function(e,t){e&&(jy(_.value,e,t),w.push((function(){Dy(_.value,e,t)})))},clean:function(){w.forEach((function(e){return null==e?void 0:e()})),w.length=0}});function C(){var t=e.overlayStyle;if(d.value&&h.value)return ic(t)?t(d.value,h.value):Rs(t)?t:void 0}function A(){var t=e.overlayInnerStyle;d.value&&h.value&&(ic(t)?Kg(h.value,t(d.value,h.value)):Rs(t)&&Kg(h.value,t))}function k(){var t;if(v.value&&c.value)if(r)if(d.value.getRootNode()instanceof ShadowRoot)r.state.elements.reference=d.value,r.update();else{for(var n=d.value.getBoundingClientRect(),o=d.value;o&&o!==document.body;)o=o.parentElement;o!==document.body||0===n.width&&0===n.height?u(!1,{trigger:j({type:"mouseenter"})}):(r.state.elements.reference=d.value,r.update())}else r=xS(d.value,v.value,gC({placement:(t=e.placement,t.replace(/-(left|top)$/,"-start").replace(/-(right|bottom)$/,"-end")),onFirstUpdate:function(){In(k)}},e.popperOptions))}function T(){var t,n;r&&(null===(t=r)||void 0===t||t.destroy(),r=null);e.destroyOnClose&&(null===(n=m.value)||void 0===n||n.unmountContent())}function M(e){P(),i=setTimeout((function(){u(!1,{trigger:j(e),e:e})}),E.value.hide)}function P(){clearTimeout(o),clearTimeout(i)}function j(e){switch(null==e?void 0:e.type){case"mouseenter":case"mouseleave":return"trigger-element-hover";case"focusin":return"trigger-element-focus";case"focusout":return"trigger-element-blur";case"click":return"trigger-element-click";case"context-menu":case"keydown":return"keydown-esc";case"mousedown":return"document";default:return"trigger-element-close"}}function D(e){var t,n;if(!(null!==(t=v.value)&&void 0!==t&&t.contains(e.target)||null!==(n=d.value)&&void 0!==n&&n.contains(e.target))){var r=_C(y).find((function(t){return t.contains(e.target)}));r&&_C(r.getAttribute(bC),!0).some((function(e){return e===v.value}))||M(e)}}function I(t){(g.value=!1,"hover"!==e.trigger||d.value.contains(t.target))||(_C(y).some((function(e){var n=e.getBoundingClientRect();return t.x>n.x&&t.x<n.x+n.width&&t.y>n.y&&t.y<n.y+n.height}))||(M(t),null==b||b.assertMouseLeave(t)))}function N(){g.value=!0,c.value&&"hover"===e.trigger&&P()}function L(t){var n;null===(n=e.onOverlayClick)||void 0===n||n.call(e,{e:t})}yi((function(){return[e.trigger,d.value]}),(function(){d.value&&(S.clean(),S.add({hover:"mouseenter",focus:"focusin","context-menu":"contextmenu",click:"click"}[e.trigger],(function(t){e.disabled||("contextmenu"===t.type&&t.preventDefault(),"click"!==t.type&&"contextmenu"!==t.type||!c.value?function(e){P(),o=setTimeout((function(){u(!0,{trigger:j(e)})}),E.value.show)}(t):M(t))})),S.add({hover:"mouseleave",focus:"focusout"}[e.trigger],M))})),yi((function(){return[e.overlayStyle,e.overlayInnerStyle,h.value]}),(function(){A(),k()})),yi((function(){return e.placement}),(function(){T(),k()})),yi((function(){return c.value}),(function(t){if(t)return jy(document,"mousedown",D,!0),void("focus"===e.trigger&&(n=d.value,r="keydown",a=ic(o=function(e){var t,n="undefined"!=typeof process&&null!==(t=vC)&&void 0!==t&&t.TEST?"27":"Escape";e.code===n&&M(e)})?o:o.handleEvent,jy(n,r,l=function(e){a(e),Dy(n,r,l,i)},i)));var n,r,o,i,a,l;Dy(document,"mousedown",D,!0)})),eo((function(){T(),P(),Dy(document,"mousedown",D,!0)})),a({update:k,getOverlay:function(){return h.value},getOverlayState:function(){return{hover:g.value}},close:function(){return M()}});var F=Uo("updateScrollTop",void 0);function R(t){var n,r=t.target,o=r.scrollTop,i=r.clientHeight,a=r.scrollHeight,l=zS((function(t){var n;return null===(n=e.onScrollToBottom)||void 0===n?void 0:n.call(e,{e:t})}),100);i+Math.floor(o)===a&&l(t),null===(n=e.onScroll)||void 0===n||n.call(e,{e:t})}return yi((function(){return[c.value,h.value]}),(function(){c.value&&h.value&&F&&(null==F||F(h.value))})),function(){var t=f("content"),n=e.hideEmptyPopup&&["",void 0,null].includes(t),r=c.value||!e.destroyOnClose?Kn(ra("div",pa(Ns(Ns({},yC,y),bC,null==b?void 0:b.id),{class:[x.value,e.overlayClassName],ref:function(e){return v.value=e},style:[{zIndex:e.zIndex},C(),n&&{visibility:"hidden"}],onClick:L,onMouseenter:N,onMouseleave:I}),[ra("div",{class:["".concat(x.value,"__content"),Ns(Ns(Ns({},"".concat(x.value,"__content--text"),Zg(e.content)),"".concat(x.value,"__content--arrow"),e.showArrow),O.value.disabled,e.disabled),e.overlayInnerClassName],ref:h,onScroll:R},[t,e.showArrow&&ra("div",{class:"".concat(x.value,"__arrow")},null)])]),[[gl,c.value]]):null;return ra(hC,{ref:function(e){return m.value=e},forwardRef:function(e){return d.value=e},onContentMounted:function(){if(c.value){k();var e=setTimeout((function(){A(),clearTimeout(e)}),60)}},onResize:function(){c.value&&k()},visible:c.value,attach:e.attach},{content:function(){return ra(tl,{name:"".concat(x.value,"--animation").concat(e.expandAnimation?"-expand":""),appear:!0,onEnter:k,onAfterLeave:T},"function"==typeof(t=r)||"[object Object]"===Object.prototype.toString.call(t)&&!Qi(t)?r:{default:function(){return[r]}});var t},default:function(){return p("default","triggerElement")}})}}}),OC=gw(xC),EC={maxItemWidth:{type:String,default:void 0},options:{type:Array},separator:{type:[String,Function]},theme:{type:String,default:"light",validator:function(e){return!e||["light"].includes(e)}}},SC={content:{type:[String,Function]},default:{type:[String,Function]},disabled:Boolean,href:{type:String,default:""},icon:{type:Function},maxWidth:{type:String,default:void 0},replace:Boolean,router:{type:Object},target:{type:String,default:"_self",validator:function(e){return!e||["_blank","_self","_parent","_top"].includes(e)}},to:{type:[String,Object]},onClick:Function}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var CC= +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0},AC=Sf,kC=Cf,TC=Hs?Hs.isConcatSpreadable:void 0; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var MC=function(e){return kC(e)||AC(e)||!!(TC&&e&&e[TC])},PC=bh,jC=MC;var DC=function e(t,n,r,o,i){var a=-1,l=t.length;for(r||(r=jC),i||(i=[]);++a<l;){var s=t[a];n>0&&r(s)?n>1?e(s,n-1,r,o,i):PC(i,s):o||(i[i.length]=s)}return i},IC=DC;var NC=function(e){return(null==e?0:e.length)?IC(e,1):[]},LC=Mp,FC=Lp;var RC=function(e){return FC(LC(e,void 0,NC),e+"")},BC=Mg,zC=Jy; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var VC=Sg,UC=CC,HC=function(e,t){return t.length<2?e:BC(e,zC(t,0,-1))},WC=Ag;var qC=Qp;var $C=function(e){return qC(e)?void 0:e},GC=eg,KC=sm,XC=function(e,t){return t=VC(t,e),null==(e=HC(e,t))||delete e[WC(UC(t))]},YC=Sg,JC=mp,QC=$C,ZC=iv,eA=RC((function(e,t){var n={};if(null==e)return n;var r=!1;t=GC(t,(function(t){return t=YC(t,e),r||(r=t.length>1),t})),JC(e,ZC(e),n),r&&(n=KC(n,7,QC));for(var o=t.length;o--;)XC(n,t[o]);return n})),tA={delay:{type:Number},destroyOnClose:{type:Boolean,default:!0},duration:{type:Number},placement:{type:String,default:"top"},showArrow:{type:Boolean,default:!0},theme:{type:String,default:"default",validator:function(e){return!e||["default","primary","success","danger","warning","light"].includes(e)}}}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function nA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function rA(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?nA(Object(n),!0).forEach((function(t){Ns(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nA(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var oA=gw(xr({name:"TTooltip",props:rA(rA({},sC),tA),setup:function(e,t){var n=en(null),r=en(null),o=fn(e),i=Gg(HS(o.visible,o.modelValue,e.defaultVisible,e.onVisibleChange,"visible"),2),a=i[0],l=i[1],s=ya(),c=en(e.visible||e.defaultVisible),u=vy(),f=Aw(),p=Tw(),d=function(){var e=en(0),t=en(0),n=function(n){e.value=n.clientX,t.value=n.clientY};return Py||(Yr((function(){window.addEventListener("mousemove",n,{passive:!0})})),eo((function(){window.removeEventListener("mousemove",n)}))),{x:e,y:t}}(),h=d.x,v=en(h.value);Yr((function(){e.duration&&c.value&&(n.value=setTimeout((function(){l(!1,{}),clearTimeout(n.value),n.value=null}),e.duration))}));var m=function(e,t){n.value&&"document"!==(null==t?void 0:t.trigger)||(e&&(v.value=h.value),l(e,t))},g=Ia((function(){return["".concat(u.value,"-tooltip"),Ns({},"".concat(u.value,"-tooltip--").concat(e.theme),e.theme),e.overlayClassName]})),y=Ia((function(){return rA(rA({},(null==s?void 0:s.vnode.props)||{}),{},{placement:"mouse"===e.placement?"bottom-left":e.placement,showArrow:"mouse"!==e.placement&&e.showArrow,overlayClassName:g.value,onVisibleChange:m,disabled:e.disabled})})),b=Ia((function(){if("mouse"!==e.placement||0===v.value)return e.overlayInnerStyle;var t=function(e){return{transform:"translateX(".concat(v.value-e.getBoundingClientRect().left,"px)")}};return e.overlayInnerStyle?function(n,r){return rA(rA({},t(n)),ic(e.overlayInnerStyle)?e.overlayInnerStyle(n,r):e.overlayInnerStyle)}:t}));yi((function(){return c.value}),(function(){n.value&&!c.value&&(clearTimeout(n.value),n.value=null)}));return t.expose({updatePopper:function(){var e,t;null===(e=r.value)||void 0===e||null===(t=e.update)||void 0===t||t.call(e)}}),function(){var t=f("content");return t||e.content?ra(OC,pa(eA(y.value,["content","default"]),{ref:r,overlayInnerStyle:b.value,visible:a.value}),{default:function(){return[p("default","triggerElement")]},content:function(){return t}}):p("default","triggerElement")}}})); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function iA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function aA(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?iA(Object(n),!0).forEach((function(t){Ns(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):iA(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var lA={separator:"",theme:"light",slots:{separator:""},maxItemWidth:void 0},sA=xr({name:"TBreadcrumbItem",inheritAttrs:!1,props:aA({},SC),setup:function(e,t){var n,r=t.attrs,o=Tw(),i=Aw(),a=en(),l=Uo("tBreadcrumb",lA),s=en(null==l?void 0:l.theme),c=en(!1),u=vy("breadcrumb__item"),f=vy("breadcrumb__separator"),p=vy("is-disabled"),d=vy("link"),h=vy("breadcrumb__inner"),v=vy("breadcrumb--text-overflow"),m=$O({ChevronRightIcon:sx}).ChevronRightIcon,g=Ia((function(){var t=null==l?void 0:l.maxItemWidth,n=e.maxWidth||t||"120";return{maxWidth:"".concat(n,"px")}}));Yr((function(){c.value=By(a.value)})),Jr((function(){c.value=By(a.value)}));var y=null==l?void 0:l.separator,b=null==l||null===(n=l.slots)||void 0===n?void 0:n.separator,_=y||b||ra(m,{color:"rgba(0,0,0,.3)"},null),w=ya().proxy,x=function(t){var n;e.disabled||(t.preventDefault(),"_blank"===e.target?e.href?window.open(e.href):window.open(e.to):(n=e.router||w.$router,e.to&&n?e.replace?n.replace(e.to):n.push(e.to):window.location.href=e.href))};return function(){var t=[u.value,s.value],n=[v.value];e.disabled&&n.push(p.value);var l,m={onClick:function(t){e.disabled&&t.stopPropagation()}},y=o("default","content"),b=ra("span",{class:h.value,style:g.value},[i("icon"),ra("span",{ref:a,class:"".concat(h.value,"-text")},[y])]),w=ra("span",aA({class:n},m),[b]);return!e.href&&!e.to||e.disabled||(n.push(d.value),w=ra("a",pa({class:n,href:e.href,target:e.target},m,{onClick:x}),[b])),ra("div",pa({class:t},r,{onClick:!e.disabled&&e.onClick}),[c.value?ra(oA,{content:function(){return y}},(l=w,"function"==typeof l||"[object Object]"===Object.prototype.toString.call(l)&&!Qi(l)?w:{default:function(){return[w]}})):w,ra("span",{class:f.value,style:{textOverflow:c.value?"ellipsis":"clip"}},[ic(_)?_():_])])}}}),cA=gw(xr({name:"TBreadcrumb",props:EC,setup:function(e,t){var n=t.slots,r=fn(e),o=r.separator,i=r.theme,a=r.maxItemWidth,l=vy("breadcrumb");Vo("tBreadcrumb",zt({separator:o,theme:i,slots:{separator:n.separator},maxItemWidth:a}));var s=Aw();return function(){var t=s("default");return e.options&&e.options.length&&(t=e.options.map((function(e,t){return ra(sA,pa(e,{key:t}),{default:function(){return[e.default||e.content]}})}))),ra("div",{class:l.value},[t])}}})),uA=gw(sA); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function fA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function pA(e,t){for(var n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fA(Object(n),!0).forEach((function(t){Ns(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fA(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e),r=0;r<t.length;r++){delete n[t[r]]}return n} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +var dA={collapsed:Boolean,expanded:{type:Array,default:void 0},defaultExpanded:{type:Array,default:[]},expandMutex:Boolean,expandType:{type:String,default:"normal",validator:function(e){return!e||["normal","popup"].includes(e)}},logo:{type:Function},operations:{type:Function},theme:{type:String,default:"light",validator:function(e){return!e||["light","dark"].includes(e)}},value:{type:[String,Number],default:void 0},modelValue:{type:[String,Number],default:void 0},defaultValue:{type:[String,Number]},width:{type:[String,Number,Array],default:"232px"},onChange:Function,onExpand:Function}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function hA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vA(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Is(r.key),r)}}function mA(e,t,n){return t&&vA(e.prototype,t),n&&vA(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */}function gA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var yA=function(e,t,n){if(e)for(var r=0;r<e.children.length;++r){var o=e.children[r];if(o.value===t)return[].concat(js(n),[e.value]);var i=yA(o,t,[].concat(js(n),[e.value]));if(i)return i}},bA=function(e,t){if(!e)return[];for(var n=0;n<e.children.length;++n){var r=e.children[n];if(r.value===t)return e.children;var o=bA(r,t);if(o)return o}},_A=function(e,t){if(e.value===t)return e;if(e.children.length>0)for(var n=0,r=e.children.length;n<r;n++){var o=_A(e.children[n],t);if(o)return o}},wA=function(){return mA((function e(t){hA(this,e),Ns(this,"data",null),Ns(this,"cache",new Set),Ns(this,"isMutex",en(!1)),Ns(this,"expandValues",null),this.data={value:null,parent:null,children:[]},this.isMutex=null==t?void 0:t.isMutex,this.expandValues=new Set(null==t?void 0:t.expandValues)}),[{key:"add",value:function(e){var t=e.value,n=e.parent,r=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gA(Object(n),!0).forEach((function(t){Ns(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gA(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({value:t,parent:n,children:[],vnode:e.vnode},e);if(this.cache.forEach((function(t,n,o){e.value===t.parent&&(r.children.push(t),o.delete(t))})),null==e.parent)this.data.children.push(r),r.parent=this.data;else if(this.data.children.length>0){var o=_A(this.data,n);o&&!o.children.some((function(e){return e.value===r.value}))?o.children.push(r):this.cache.add(r)}else this.cache.add(r)}},{key:"select",value:function(e){var t=yA(this.data,e,[])||[];return t.push(e),t.filter((function(e){return null!=e}))}},{key:"expand",value:function(e){var t=this;if(this.expandValues.has(e))return this.expandValues.delete(e),js(this.expandValues);if(this.expandValues.add(e),!this.isMutex.value)return js(this.expandValues);var n=bA(this.data,e)||[],r=new Set(n.filter((function(t){var n;return(null===(n=t.children)||void 0===n?void 0:n.length)>0&&t.value!==e})).map((function(e){return e.value})));return this.expandValues.forEach((function(e){r.has(e)&&t.expandValues.delete(e)})),js(this.expandValues)}},{key:"getChild",value:function(e){var t=_A(this.data,e);return t?t.children:[]}}])}(); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function xA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function OA(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xA(Object(n),!0).forEach((function(t){Ns(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xA(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var EA=xr({name:"TMenu",props:OA(OA({},dA),{},{onCollapsed:Function}),setup:function(e,t){var n=vy();mi((function(){t.slots.options&&qS.warnOnce("TMenu","`options` slot is going to be deprecated, please use `operations` for slot instead.")}));var r=en(e.expandType),o=Ia((function(){return e.theme})),i=Ia((function(){return e.expandMutex})),a=Ia((function(){return e.collapsed})),l=Ia((function(){return["".concat(n.value,"-default-menu"),"".concat(n.value,"-menu--").concat(e.theme),Ns({},"".concat(n.value,"-is-collapsed"),e.collapsed)]})),s=Ia((function(){return["".concat(n.value,"-menu"),"".concat(n.value,"-menu--scroll")]})),c=Ia((function(){var t=e.width,n=function(e){return ry(e)?"".concat(e,"px"):e};return Cf(t)?t.map((function(e){return n(e)})):[n(t),"64px"]})),u=Ia((function(){return{height:"100%",width:e.collapsed?c.value[1]:c.value[0]}})),f=fn(e),p=f.value,d=f.modelValue,h=f.expanded,v=Gg(HS(p,d,e.defaultValue,e.onChange),2),m=v[0],g=v[1],y=Gg(VS(h,e.defaultExpanded,e.onExpand,"expanded"),2),b=y[0],_=y[1],w=en([]);mi((function(){var t;r.value=e.collapsed?"popup":e.expandType,null===(t=e.onCollapsed)||void 0===t||t.call(e,{collapsed:e.collapsed})}));var x=new wA({isMutex:i,expandValues:b.value?js(b.value):[]});Vo("TdMenu",{activeValue:m,activeValues:w,expandValues:b,mode:r,theme:o,isHead:!1,vMenu:x,collapsed:a,select:function(e){e!==m.value&&g(e)},open:function(e,t){if("normal"===r.value)_(x.expand(e));else if("add"===t)-1===b.value.indexOf(e)&&_([].concat(js(b.value),[e]));else if("remove"===t){var n=b.value.indexOf(e),o=js(b.value);o.splice(n,1),_(o)}}}),yi((function(){return e.expanded}),(function(e){x.expandValues=new Set(e)})),yi((function(){return e.collapsed}),(function(e,t){!e&&t&&_(js(x.expandValues))}));return yi(m,(function(e){w.value=x.select(e)})),Yr((function(){w.value=x.select(m.value)})),{styles:u,classPrefix:n,menuClass:l,innerClasses:s,activeValue:m,activeValues:w,expandValues:b}},render:function(){var e=O_(this,"operations","options"),t=w_(this,"logo");return ra("div",{class:this.menuClass,style:this.styles},[ra("div",{class:"".concat(this.classPrefix,"-default-menu__inner")},[t&&ra("div",{class:"".concat(this.classPrefix,"-menu__logo")},[t]),ra("ul",{class:this.innerClasses},[O_(this,"default","content")]),e&&ra("div",{class:"".concat(this.classPrefix,"-menu__operations")},[e])])])}}),SA={expanded:{type:Array,default:void 0},defaultExpanded:{type:Array,default:[]},expandType:{type:String,default:"normal",validator:function(e){return!e||["normal","popup"].includes(e)}},logo:{type:Function},operations:{type:Function},theme:{type:String,default:"light",validator:function(e){return!e||["light","dark"].includes(e)}},value:{type:[String,Number],default:void 0},modelValue:{type:[String,Number],default:void 0},defaultValue:{type:[String,Number]},onChange:Function,onExpand:Function},CA={default:{type:Function},destroyOnHide:{type:Boolean,default:!0},disabled:Boolean,draggable:{type:Boolean,default:!0},label:{type:[String,Function]},lazy:Boolean,panel:{type:[String,Function]},removable:Boolean,value:{type:[String,Number]},onRemove:Function}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function AA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var kA=xr({name:"TTabPanel",props:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?AA(Object(n),!0).forEach((function(t){Ns(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):AA(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},CA),setup:function(e){var t=vy("tab-panel"),n=my().STATUS,r=Tw();US();var o=Uo("tabs"),i=Ia((function(){return e.value===o.value.value})),a=en(!e.lazy||i.value);yi(i,(function(){i.value?a.value||(a.value=!0):e.destroyOnHide&&(a.value=!1)}),{immediate:!0});var l=Ia((function(){return[t.value,Ns({},n.value.hidden,!i.value)]}));return function(){return a.value?ra("div",{class:l.value},[r("default","panel")]):null}}}),TA={action:{type:[String,Function]},addable:Boolean,disabled:Boolean,dragSort:Boolean,list:{type:Array},placement:{type:String,default:"top",validator:function(e){return!e||["left","top","bottom","right"].includes(e)}},scrollPosition:{type:String,default:"auto",validator:function(e){return!e||["auto","start","center","end"].includes(e)}},size:{type:String,default:"medium",validator:function(e){return!e||["medium","large"].includes(e)}},theme:{type:String,default:"normal",validator:function(e){return!e||["normal","card"].includes(e)}},value:{type:[String,Number],default:void 0},modelValue:{type:[String,Number],default:void 0},defaultValue:{type:[String,Number]},onAdd:Function,onChange:Function,onDragSort:Function,onRemove:Function},MA=function(e){return(null==e?void 0:e.offsetWidth)||0}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +var PA=xr({name:"TTabNavItem",props:{index:Number,active:{type:Boolean},theme:TA.theme,size:TA.size,placement:TA.placement,label:{type:null},disabled:CA.disabled,removable:CA.removable,value:CA.value,onClick:Function,onRemove:Function},setup:function(e){var t=en();Ew(t);var n=vy("tabs__nav-item"),r=$O({CloseIcon:px}).CloseIcon,o=vy(),i=my(),a=i.STATUS,l=i.SIZE,s=function(t){var n=t.e;n&&n.stopPropagation(),e.onRemove({e:n,value:e.value,index:e.index})},c=function(t){e.disabled||e.onClick(t)},u=Ia((function(){return Ns(Ns(Ns(Ns(Ns(Ns(Ns(Ns({},n.value,!0),"".concat(o.value,"-tabs__nav--card"),"card"===e.theme),a.value.disabled,e.disabled),a.value.active,e.active),"".concat(o.value,"-is-left"),"left"===e.placement),"".concat(o.value,"-is-right"),"right"===e.placement),l.value.medium,"medium"===e.size),l.value.large,"large"===e.size)}));return function(){return"card"===e.theme?ra("div",{class:u.value,onClick:c,ref:t},[ra("span",{class:"".concat(n.value,"-text-wrapper")},[e.label]),e.removable&&!e.disabled?ra(r,{class:"remove-btn",onClick:s},null):null]):ra("div",{class:u.value,onClick:c},[ra("div",{class:["".concat(n.value,"-wrapper"),Ns(Ns({},a.value.disabled,e.disabled),a.value.active,e.active)],ref:t},[ra("span",{class:"".concat(n.value,"-text-wrapper")},[e.label])]),e.removable&&!e.disabled?ra(r,{class:"remove-btn",onClick:s},null):null])}}}),jA=xr({props:{navs:{type:Array},placement:TA.placement,value:TA.value},setup:function(e){var t=vy("tabs"),n=vy(),r=en(),o=Ia((function(){return["".concat(t.value,"__bar"),"".concat(n.value,"-is-").concat(e.placement)]})),i=en(null),a=function(){return i.value=function(){for(var t=Gg(["left","right"].includes(e.placement.toLowerCase())?["height","top"]:["width","left"],2),n=t[0],r=t[1],o=0,i=0;i<e.navs.length;i++){var a;if(e.navs[i].props.value===e.value)break;if(null!==(a=e.navs[i])&&void 0!==a&&a.el){var l=getComputedStyle(e.navs[i].el)[n];o+=parseFloat(l)}}return e.navs[i]?Ns(Ns({},r,"".concat(o,"px")),n,e.navs[i].el?getComputedStyle(e.navs[i].el)[n]:"0px"):{}}()};return Yr((function(){In((function(){a()}))})),yi([function(){return e.navs},function(){return e.value},function(){return e.placement}],(function(){In((function(){a()}))})),cC(r,zS((function(){a()}),35)),function(){return ra("div",{class:o.value,style:i.value,ref:r},null)}}}); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function DA(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return IA(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?IA(e,t):void 0}}(e))||t){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){l=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw i}}}}function IA(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var NA=function(e,t){var n,r=DA(e);try{for(r.s();!(n=r.n()).done;){var o=n.value;o.getAttribute("draggable")&&t(o)}}catch(i){r.e(i)}finally{r.f()}},LA=function(e,t){var n;return NA(t,(function(t){t.contains(e)&&(n=t)})),n}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function FA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function RA(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?FA(Object(n),!0).forEach((function(t){Ns(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):FA(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var BA=xr(RA(RA({name:"TTabNav"},{resizeObserver:null}),{},{props:{theme:TA.theme,panels:{type:Array,default:function(){return[]}},action:Array,value:TA.value,placement:TA.placement,scrollPosition:TA.scrollPosition,size:TA.size,disabled:TA.disabled,addable:TA.addable,onChange:TA.onChange,onAdd:TA.onAdd,onRemove:TA.onRemove,dragSort:TA.dragSort,onDragSort:TA.onDragSort},setup:function(e){var t=vy("tabs"),n=$O({ChevronLeftIcon:ox,ChevronRightIcon:sx,AddIcon:$w}),r=n.ChevronLeftIcon,o=n.ChevronRightIcon,i=n.AddIcon,a=vy(),l=my().SIZE,s=en(0),c=en(),u=en(),f=en(),p=en(),d=en(),h=en(),v=en(0),m=function(){return{navsContainer:c.value,navsWrap:u.value,leftOperations:f.value,rightOperations:p.value,toRightBtn:d.value,activeTab:h.value}},g=Ia((function(){return["left","right"].includes(e.placement.toLowerCase())})),y=Ia((function(){return s.value>1})),b=Ia((function(){return s.value<v.value-1})),_=Ia((function(){return g.value?{}:{transform:"translate3d(".concat(-s.value,"px, 0, 0)")}})),w=Ia((function(){return e.addable?{"min-height":"48px"}:null})),x=Ia((function(){return Ns(Ns(Ns({},"".concat(t.value,"__btn"),!0),l.value.medium,"medium"===e.size),l.value.large,"large"===e.size)})),O=Ia((function(){return RA(Ns({},"".concat(t.value,"__btn--left"),!0),x.value)})),E=Ia((function(){return RA(Ns({},"".concat(t.value,"__btn--right"),!0),x.value)})),S=Ia((function(){return RA(Ns({},"".concat(t.value,"__add-btn"),!0),x.value)})),C=Ia((function(){return Ns(Ns(Ns(Ns({},"".concat(t.value,"__nav-container"),!0),"".concat(t.value,"__nav--card"),"card"===e.theme),"".concat(a.value,"-is-").concat(e.placement),!0),"".concat(a.value,"-is-addable"),e.addable)})),A=Ia((function(){return Ns(Ns({},"".concat(t.value,"__nav-scroll"),!0),"".concat(a.value,"-is-scrollable"),y.value||b.value)})),k=Ia((function(){return["".concat(t.value,"__nav-wrap"),"".concat(a.value,"-is-smooth"),Ns({},"".concat(a.value,"-is-vertical"),g.value)]})),T=function(e){s.value=function(e,t){return Math.max(0,Math.min(e,t))}(e,v.value)},M=function(e){T(function(e,t,n){var r=e.navsContainer,o=e.activeTab,i=MA(r),a=MA(o);return"next"===n?t+i-a:t-i+a}(m(),s.value,e))},P=function(e){if(y.value||b.value){e.preventDefault();var t=e.deltaX,n=e.deltaY;Math.abs(t)>Math.abs(n)?T(s.value+t):T(s.value+n)}},j=function(){setTimeout((function(){T(function(e,t,n){var r,o=e.navsContainer,i=e.activeTab,a=e.rightOperations,l=e.leftOperations,s=MA(i),c=MA(o),u=(null==(r=i)?void 0:r.offsetLeft)||0,f=MA(a),p=MA(l);if("auto"===n){if(u-p<t)return u-p;if(u+s>t+c-f)return u+s-c+f}else{if("start"===n)return u-p;if("center"===n)return u+(s-c)/2;if("end"===n)return u+s-c+f}return t}(m(),s.value,e.scrollPosition))}),0)},D=function(){In((function(){var e,t,n,r,o;v.value=(e=m(),t=e.navsWrap,n=e.navsContainer,r=e.rightOperations,o=e.toRightBtn,MA(t)-MA(n)+MA(r)-MA(o))}))};yi([function(){return e.placement},function(){return e.panels}],D),yi([function(){return e.scrollPosition}],j),function(e,t){lO("resize",e);var n=null;Yr((function(){window.ResizeObserver&&t&&(n=new window.ResizeObserver(e)).observe(t)})),Zr((function(){var e;null===(e=n)||void 0===e||e.disconnect()}))}(zS(D),c.value);var I=function(t){var n;null===(n=e.onAdd)||void 0===n||n.call(e,{e:t})},N=function(t){var n=t.e,r=t.value,o=t.index;e.onRemove({e:n,value:r,index:o})},L=function(t){null!=t&&t.$el&&(null==t?void 0:t.value)===e.value&&h.value!==t.$el&&(h.value=t.$el,j())},F=function(e){var t,n=null,r=[],o=function(e){var n=e.target;t=n,n.style.opacity="0.5"},i=function(e){e.target.style.opacity=""},a=function(e){e.preventDefault()},l=function(e){var o=LA(e.target,n.children);o&&o!==t&&o.draggable&&(o.firstChild.style.outline="1px dashed #0052d9",r.includes(o)||r.push(o))},s=function(e){for(var t=e.target,n=0,o=r;n<o.length;n++){var i=o[n];i.contains(t)||(i.firstChild.style.outline="none")}},c=function(r){r.preventDefault(),NA(n.children,(function(e){e.firstChild.style.outline="none"}));var o=LA(r.target,n.children);if(o&&o.parentNode!==t&&o.draggable){var i,a=[].indexOf.call(n.children,t),l=[].indexOf.call(n.children,o);l>a&&(o=n.children[l+1]);var s="card"===e.theme?a:a-1,c="card"===e.theme?l:l-1;null===(i=e.onDragSort)||void 0===i||i.call(e,{currentIndex:s,current:e.panels[s].value,targetIndex:c,target:e.panels[c].value})}};return eo((function(){n.removeEventListener("dragstart",o),n.removeEventListener("dragend",i),n.removeEventListener("dragover",a),n.removeEventListener("dragenter",l),document.removeEventListener("dragleave",s),document.removeEventListener("mousemove",s),n.removeEventListener("drop",c)})),{setNavsWrap:function(e){(n=e).addEventListener("dragstart",o,!1),n.addEventListener("dragend",i,!1),n.addEventListener("dragover",a,!1),n.addEventListener("dragenter",l,!1),document.addEventListener("dragleave",s,!1),document.addEventListener("mousemove",s,!1),n.addEventListener("drop",c,!1)}}}(e),R=F.setNavsWrap;Yr((function(){R(u.value),D(),j()}));var B=function(){return e.panels.map((function(t,n){var r,o;o=null!=t&&null!==(r=t.children)&&void 0!==r&&r.label?t.children.label():ic(t.label)?t.label(Na):t.label||"选项卡".concat(n+1);var i=e.dragSort;return i&&!1===t.draggable&&(i=t.draggable),ra(PA,{ref:L,draggable:i,key:t.value,index:n,theme:e.theme,size:e.size,placement:e.placement,label:o,active:t.value===e.value,disabled:e.disabled||t.disabled,removable:t.removable,value:t.value,onClick:function(n){return function(t,n){var r=n.value;if(n.disabled||e.value===r)return!1;e.onChange(r)}(0,t)},onRemove:N},null)}))};return function(){return ra("div",{ref:c,class:["".concat(t.value,"__nav")],style:w.value},[[ra("div",{ref:f,class:["".concat(t.value,"__operations"),"".concat(t.value,"__operations--left")]},[ra(tl,{name:"fade",mode:"out-in",appear:!0},{default:function(){return[y.value?ra("div",{class:O.value,onClick:function(){return M("prev")}},[ra(r,null,null)]):null]}})]),ra("div",{ref:p,class:["".concat(t.value,"__operations"),"".concat(t.value,"__operations--right")]},[ra(tl,{name:"fade",mode:"out-in",appear:!0},{default:function(){return[b.value?ra("div",{ref:d,class:E.value,onClick:function(){return M("next")}},[ra(o,null,null)]):null]}}),e.addable?ra("div",{class:S.value,onClick:I},[ra(i,null,null)]):null,e.action])],(n=B(),ra("div",{class:C.value},[ra("div",{class:A.value,onWheel:P},[ra("div",{ref:u,class:k.value,style:_.value},["card"!==e.theme&&ra(jA,{placement:e.placement,value:e.value,navs:n},null),n])])]))]);var n}}})),zA=xr({name:"TTabs",props:TA,setup:function(e){var t=vy("tabs"),n=vy(),r=Aw(),o=fn(e),i=Gg(HS(o.value,o.modelValue,e.defaultValue||"",e.onChange),2),a=i[0],l=i[1];Vo("tabs",{value:a});var s=function(t){var n;null===(n=e.onAdd)||void 0===n||n.call(e,{e:t.e})},c=function(e){l(e)},u=function(t){var n,r=t.e,o=t.value,i=t.index;null===(n=e.onRemove)||void 0===n||n.call(e,{value:o,index:i,e:r})},f=function(){var e=r("default");if(!e)return[];var t=function(e){return e.map((function(e){return e.children&&Cf(e.children)?t(e.children):e})).flat().filter((function(e){return"TTabPanel"===e.type.name}))};return t(e)},p=function(){var t,o=(null!==(t=e.list)&&void 0!==t&&t.length?e.list:f())||[],i=r("action"),l=o.map((function(e){var t=e;return e.props&&Object.keys(e.props).forEach((function(n){t[n]=e.props[n]})),t})),p={theme:e.theme,value:a.value,size:e.size,disabled:e.disabled,placement:e.placement,scrollPosition:e.scrollPosition,addable:e.addable,panels:l,dragSort:e.dragSort,action:i};return ra("div",{class:Ns(Ns({},"".concat(n.value,"-tabs__header"),!0),"".concat(n.value,"-is-").concat(e.placement),!0)},[ra(BA,pa(p,{onDragSort:e.onDragSort,onChange:c,onAdd:s,onRemove:u}),null)])},d=function(){var t,r=f();return null!==(t=e.list)&&void 0!==t&&t.length?e.list.map((function(e){return ra(kA,pa(e,{onRemove:u}),null)})):r&&r.length?ra("div",{class:["".concat(n.value,"-tabs__content")]},[r]):void 0};return function(){return ra("div",{class:[t.value]},["bottom"!==e.placement?[p(),d()]:[d(),p()]])}}}),VA=gw(zA),UA=gw(kA),HA={content:{type:[String,Function]},default:{type:[String,Function]},disabled:Boolean,icon:{type:Function},popupProps:{type:Object},title:{type:[String,Function]},value:{type:[String,Number]}},WA=xr({name:"TFakeArrow",props:{isActive:{type:Boolean},overlayClassName:{type:[String,Object,Array]},overlayStyle:{type:Object||String}},setup:function(e){var t=vy("fake-arrow");return{classes:Ia((function(){return[t.value,Ns({},"".concat(t.value,"--active"),e.isActive),e.overlayClassName]}))}},render:function(){return ra("svg",{class:this.classes,width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:this.overlayStyle},[ra("path",{d:"M3.75 5.7998L7.99274 10.0425L12.2361 5.79921",stroke:"black","stroke-opacity":"0.9","stroke-width":"1.3"},null)])}}); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function qA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var $A=xr({name:"TSubmenu",props:HA,setup:function(e,t){var n=vy(),r=Uo("TdMenu"),o=r.theme,i=r.activeValues,a=r.expandValues,l=r.isHead,s=r.open,c=Uo("TdSubmenu",{}),u=c.setSubPopup,f=c.closeParentPopup,p=Ia((function(){return t.attrs.expandType||r.mode.value})),d=en([]),h=Ia((function(){return i.value.indexOf(e.value)>-1})),v=en(!1),m=en(!1),g=Ia((function(){return"light"===o.value?"#E7E7E7":"#383838"})),y=Ia((function(){var t;return"popup"===p.value?v.value:!!a&&(null===(t=a.value)||void 0===t?void 0:t.includes(e.value))})),b=en(!1),_=en(),w=en(),x=en(),O=vy("slide-down");Ew(x,g);var E=Ia((function(){return["".concat(n.value,"-submenu"),Ns(Ns({},"".concat(n.value,"-is-disabled"),e.disabled),"".concat(n.value,"-is-opened"),y.value)]})),S=Ia((function(){var t;return["".concat(n.value,"-menu__popup"),"".concat(n.value,"-is-").concat(l?"horizontal":"vertical"),Ns({},"".concat(n.value,"-is-opened"),v.value),null===(t=e.popupProps)||void 0===t?void 0:t.overlayInnerClassName]})),C=Ia((function(){var t;return["".concat(n.value,"-menu--").concat(o.value),l&&"".concat(n.value,"-is-head-menu"),Ns({},"".concat(n.value,"-menu-is-nested"),b.value),null===(t=e.popupProps)||void 0===t?void 0:t.overlayClassName]})),A=Ia((function(){return["".concat(n.value,"-menu__item"),"".concat(n.value,"-menu__item-spacer"),"".concat(n.value,"-menu__item-spacer--").concat(l&&!b.value?"bottom":"right"),Ns(Ns(Ns({},"".concat(n.value,"-is-disabled"),e.disabled),"".concat(n.value,"-is-opened"),y.value),"".concat(n.value,"-is-active"),h.value)]})),k=Ia((function(){return["".concat(n.value,"-menu__sub"),Ns({},"".concat(n.value,"-is-opened"),y.value)]})),T=Ia((function(){return[Ns({},"".concat(n.value,"-fake-arrow--active"),y.value)]})),M=function(e){ic(u)&&u(e)},P=function(e){return null==e?void 0:e.classList.contains("".concat(n.value,"-menu__popup"))},j=function(e){return!!e&&(P(e)||j(e.parentElement))},D=function(e){var t=e.toElement,n=e.relatedTarget,r=t||n;if(r!==w.value){for(var o=function(e){return e===x.value};null!==r&&r!==document&&!o(r);)r=r.parentNode;m.value=!1,o(r)||(v.value=!1),null==f||f(e)}};return yi(v,(function(t){r.open(e.value,t?"add":"remove")})),Vo("TdSubmenu",zt({value:fn(e).value,addMenuItem:function(e){d.value.push(e),c&&c.addMenuItem(e)},setSubPopup:function(e){w.value=e},closeParentPopup:function(e){var t=e.relatedTarget;j(t)||D(e)}})),yi(_,(function(){M(_.value)})),Yr((function(){var n;null==r||null===(n=r.vMenu)||void 0===n||n.add({value:e.value,parent:null==c?void 0:c.value,vnode:t.slots.default});for(var o=ya().parent;o&&!/^t(head)?menu/i.test(null===(i=o)||void 0===i?void 0:i.type.name);){var i,a,l;if(/submenu/i.test(null===(a=o)||void 0===a?void 0:a.type.name)){b.value=!0;break}o=null===(l=o)||void 0===l?void 0:l.parent}})),{classPrefix:n,menuItems:d,mode:p,theme:o,isHead:l,isNested:b,classes:E,subClass:k,isOpen:y,transitionClass:O,arrowClass:T,overlayInnerClassName:S,overlayClassName:C,submenuClass:A,submenuRef:x,popupWrapperRef:_,popupVisible:v,isCursorInPopup:m,handleEnterPopup:function(){m.value=!0},handleMouseEnter:function(){e.disabled||setTimeout((function(){v.value||(s(e.value),In().then((function(){M(_.value)}))),v.value=!0}),0)},handleMouseLeave:function(e){setTimeout((function(){var t=P(e.relatedTarget);m.value||t||(v.value=!1)}),0)},handleMouseLeavePopup:D,handleSubmenuItemClick:function(){e.disabled||s(e.value)}}},methods:{renderPopup:function(e){var t,n=this,r="right-top";!this.isNested&&this.isHead&&(r="bottom-left");var o=ra("div",{ref:"popupWrapperRef",class:["".concat(this.classPrefix,"-menu__spacer"),"".concat(this.classPrefix,"-menu__spacer--").concat(!this.isNested&&this.isHead?"top":"left")],onMouseenter:this.handleEnterPopup,onMouseleave:this.handleMouseLeavePopup},[ra("ul",{class:"".concat(this.classPrefix,"-menu__popup-wrapper")},[O_(this,"default","content")])]),i={content:function(){return o}},a=ra(OC,pa(null!==(t=this.popupProps)&&void 0!==t?t:{},{overlayInnerClassName:js(this.overlayInnerClassName),overlayClassName:js(this.overlayClassName),visible:this.popupVisible,placement:r}),function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qA(Object(n),!0).forEach((function(t){Ns(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qA(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({default:function(){return[ra("div",{ref:"submenuRef",class:n.submenuClass},[e])]}},i));return a},renderHeadSubmenu:function(){var e=w_(this,"icon"),t=[ra("div",{ref:"submenuRef",class:this.submenuClass,onClick:this.handleSubmenuItemClick},[e,ra("span",{class:["".concat(this.classPrefix,"-menu__content")]},[w_(this,"title",{silent:!0})])]),ra("ul",{style:"opacity: 0; width: 0; height: 0; overflow: hidden"},[O_(this,"default","content")])],n="popup"===this.mode&&this.isNested,r=[e,ra("span",{class:["".concat(this.classPrefix,"-menu__content")]},[w_(this,"title",{silent:!0})]),ra(WA,{overlayClassName:/menu/i.test(this.$parent.$options.name)?this.arrowClass:null,overlayStyle:{transform:"rotate(".concat(n?-90:0,"deg)")}},null)];return"normal"===this.mode?t:this.renderPopup(r)},renderSubmenu:function(){for(var e=this,t=this.$slots.content||this.$slots.default,n=w_(this,"icon"),r=O_(this,"default","content"),o=ya().parent,i=44;o&&"TMenu"!==o.type.name;)"TSubmenu"===o.type.name&&(i+=16),o=o.parent;var a={beforeEnter:function(e){e.dataset.oldPaddingTop=e.style.paddingTop,e.dataset.oldPaddingBottom=e.style.paddingBottom,e.style.height="0",e.style.paddingTop="0",e.style.paddingBottom="0"},enter:function(e){e.dataset.oldOverflow=e.style.overflow,e.style.height="".concat(e.scrollHeight,"px"),e.style.paddingTop=e.dataset.oldPaddingTop,e.style.paddingBottom=e.dataset.oldPaddingBottom,e.style.overflow="hidden"},afterEnter:function(e){e.style.height="",e.style.overflow=e.dataset.oldOverflow},beforeLeave:function(e){e.dataset.oldPaddingTop=e.style.paddingTop,e.dataset.oldPaddingBottom=e.style.paddingBottom,e.dataset.oldOverflow=e.style.overflow,e.style.height="".concat(e.scrollHeight,"px"),e.style.overflow="hidden"},leave:function(e){0!==e.scrollHeight&&(e.style.height="0",e.style.paddingTop="0",e.style.paddingBottom="0")},afterLeave:function(e){e.style.height="",e.style.overflow=e.dataset.oldOverflow,e.style.paddingTop=e.dataset.oldPaddingTop,e.style.paddingBottom=e.dataset.oldPaddingBottom}},l=a.beforeEnter,s=a.enter,c=a.afterEnter,u=a.beforeLeave,f=a.leave,p=a.afterLeave,d="popup"===this.mode&&this.isNested,h=[ra("div",{ref:"submenuRef",class:this.submenuClass,onClick:this.handleSubmenuItemClick},[n,ra("span",{class:["".concat(this.classPrefix,"-menu__content")]},[w_(this,"title",{silent:!0})]),t&&ra(WA,{overlayClassName:this.arrowClass,overlayStyle:{transform:"rotate(".concat(d?-90:0,"deg)")}},null)]),ra(tl,{name:this.transitionClass,onBeforeEnter:l,onEnter:s,onAfterEnter:c,onBeforeLeave:u,onLeave:f,onAfterLeave:p},{default:function(){return[Kn(ra("ul",{class:e.subClass,style:{"--padding-left":"".concat(i,"px")}},[r]),[[gl,e.isOpen]])]}})],v=[n,ra("span",{class:["".concat(this.classPrefix,"-menu__content")]},[w_(this,"title",{silent:!0})]),ra(WA,{overlayClassName:/menu/i.test(this.$parent.$options.name)?this.arrowClass:null,overlayStyle:{transform:"rotate(".concat(d?-90:0,"deg)"),"margin-left":"auto"}},null)];return"normal"===this.mode?h:this.renderPopup(v)}},render:function(){var e=null,t={};return"popup"===this.mode&&(t={onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave}),Object.keys(this.$slots).length>0&&(e=this.isHead?this.renderHeadSubmenu():this.renderSubmenu()),ra("li",pa({class:this.classes},t),[e])}}); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function GA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function KA(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?GA(Object(n),!0).forEach((function(t){Ns(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):GA(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var XA=xr({name:"THeadMenu",props:KA({},SA),setup:function(e,t){var n,r,o,i,a=vy(),l=ya().proxy;mi((function(){t.slots.options&&qS.warnOnce("TMenu","`options` slot is going to be deprecated, please use `operations` for slot instead.")}));var s=fn(e),c=s.value,u=s.modelValue,f=s.expanded,p=Gg(HS(c,u,e.defaultValue,e.onChange),2),d=p[0],h=p[1],v=Gg(VS(f,e.defaultExpanded,e.onExpand,"expanded"),2),m=v[0],g=v[1],y=en([]),b=Ia((function(){return e.theme})),_=Ia((function(){return["".concat(a.value,"-menu"),"".concat(a.value,"-head-menu"),"".concat(a.value,"-menu--").concat(e.theme)]})),w=en(e.expandType),x=zt([]),O=new wA({isMutex:!0,expandValues:m.value});Vo("TdMenu",{mode:w,theme:b,vMenu:O,isHead:!0,expandValues:m,activeValue:d,activeValues:y,select:function(e){h(e)},open:function(e,t){var n=js(m.value),r=n.indexOf(e);"popup"===w.value?"add"===t?-1===r&&n.push(e):"remove"===t&&n.splice(r,1):"normal"===w.value&&void 0!==e&&(n.splice(0,1),-1===r&&n.push(e)),g(n)}});var E=function(e){h(e),C(e)},S=function(e){var t=O.getChild(e);x.length=0,x.push.apply(x,js(t))};yi(m,(function(e){"normal"===w.value&&S(e[0])}));yi(d,(function(e){y.value=O.select(e)})),yi((function(){return e.expandType}),(function(e){w.value=e})),Yr((function(){var e;y.value=O.select(d.value),(null===(e=m.value)||void 0===e?void 0:e.length)>0&&S(m.value[0])}));var C=function(e){var t,n=x.find((function(t){return t.value===e}));null===(t=n.onClick)||void 0===t||t.call(n,{value:e});var r=n.to,o=n.href,i=n.replace;o&&(window.location.href=n.href);var a=n.router||l.$router;r&&a&&(i?a.replace(r):a.push(r))},A=en(),k=en(),T=en(),M=en(),P=function(e,t){e.forEach((function(e){var n,r,o,i,a=null===(n=e.props)||void 0===n?void 0:n.value;"TSubmenu"!==(null===(r=e.type)||void 0===r?void 0:r.name)&&"TMenuItem"!==(null===(o=e.type)||void 0===o?void 0:o.name)||O.add(KA({value:a,parent:t,vnode:e.children.default},e.props)),ic(null===(i=e.children)||void 0===i?void 0:i.default)?P(e.children.default(),a):Cf(e.children)&&P(e.children,a)}))};return P((null===(n=(r=t.slots).default)||void 0===n?void 0:n.call(r))||(null===(o=(i=t.slots).content)||void 0===o?void 0:o.call(i))||[]),function(){var n,r,o,i,l,s,c,u,f,p,h,v,m,g,y=(null===(n=e.logo)||void 0===n?void 0:n.call(e,Na))||(null===(r=(o=t.slots).logo)||void 0===r?void 0:r.call(o)),b=(null===(i=e.operations)||void 0===i?void 0:i.call(e,Na))||(null===(l=(s=t.slots).operations)||void 0===l?void 0:l.call(s))||(null===(c=(u=t.slots).options)||void 0===c?void 0:c.call(u)),O=(null===(f=(p=t.slots).default)||void 0===f?void 0:f.call(p))||(null===(h=(v=t.slots).content)||void 0===h?void 0:h.call(v))||[];return ra("div",{class:_.value},[ra("div",{class:"".concat(a.value,"-head-menu__inner"),ref:k},[y&&ra("div",{class:"".concat(a.value,"-menu__logo"),ref:T},[y]),ra("ul",{class:"".concat(a.value,"-menu"),ref:A},[O]),b&&ra("div",{class:"".concat(a.value,"-menu__operations"),ref:M},[b])]),"normal"===w.value&&(0===x.length?null:ra("ul",{class:["".concat(a.value,"-head-menu__submenu"),"".concat(a.value,"-submenu")]},[ra(VA,{value:d.value,onChange:E},(g=m=x.map((function(e){var t;return ra(UA,{value:e.value,label:null===(t=e.vnode()[0])||void 0===t?void 0:t.children},null)})),"function"==typeof g||"[object Object]"===Object.prototype.toString.call(g)&&!Qi(g)?m:{default:function(){return[m]}}))]))])}}}); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function YA(e,t){var n,r;Zg(t)&&(n=function(e){return v_("on-".concat(e))}(t));for(var o=arguments.length,i=new Array(o>2?o-2:0),a=2;a<o;a++)i[a-2]=arguments[a];ic(e.$props[n])?(r=e.$props)[n].apply(r,i):e.$emit.apply(e,[t].concat(i))} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function JA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function QA(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?JA(Object(n),!0).forEach((function(t){Ns(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):JA(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ZA=xr({name:"TMenuItem",props:QA({},{content:{type:[String,Function]},default:{type:[String,Function]},disabled:Boolean,href:{type:String,default:""},icon:{type:Function},replace:Boolean,router:{type:Object},routerLink:Boolean,target:{type:String,default:"_self",validator:function(e){return!e||["_blank","_self","_parent","_top"].includes(e)}},to:{type:[String,Object]},value:{type:[String,Number]},onClick:Function}),emits:["click"],setup:function(e,t){var n=fn(e),r=n.href,o=n.target,i=vy(),a=Uo("TdMenu"),l=en();Ew(l);var s=Uo("TdSubmenu",null),c=Ia((function(){return a.activeValue.value===e.value})),u=Ia((function(){var e;return null===(e=a.collapsed)||void 0===e?void 0:e.value})),f=Ia((function(){return["".concat(i.value,"-menu__item"),Ns(Ns(Ns(Ns({},"".concat(i.value,"-is-active"),c.value),"".concat(i.value,"-is-disabled"),e.disabled),"".concat(i.value,"-menu__item--plain"),!t.slots.icon&&!e.icon),"".concat(i.value,"-submenu__item"),!!s&&!a.isHead)]}));return Yr((function(){var n;null==a||null===(n=a.vMenu)||void 0===n||n.add(QA({value:e.value,parent:null==s?void 0:s.value,vnode:t.slots.default},e))})),{classPrefix:i,menu:a,active:c,collapsed:u,classes:f,itemRef:l,href:r,target:o,submenu:s}},methods:{handleClick:function(e){var t,n;if(e.stopPropagation(),!this.disabled){if(this.menu.select(this.value),YA(this,"click",{e:e,value:this.value}),this.to||this.routerLink&&this.href)(this.router||this.$router)[this.replace?"replace":"push"](this.to||this.href).catch((function(e){if("NavigationDuplicated"!==e.name&&!e.message.includes("Avoided redundant navigation to current location"))throw e}));null===(t=this.submenu)||void 0===t||null===(n=t.closeParentPopup)||void 0===n||n.call(t,e)}}},render:function(){var e,t,n=this,r=ra("li",{ref:"itemRef",class:this.classes,onClick:this.handleClick},[w_(this,"icon"),this.routerLink?ra("a",{href:this.href?this.href:this.to?null===(e=this.router||this.$router)||void 0===e?void 0:e.resolve(this.to).href:"",target:this.target,class:"".concat(this.classPrefix,"-menu__item-link"),onClick:function(e){return e.preventDefault()}},[ra("span",{class:"".concat(this.classPrefix,"-menu__content")},[O_(this,"default","content")])]):this.href?ra("a",{href:this.href,target:this.target,class:"".concat(this.classPrefix,"-menu__item-link"),onClick:function(e){return n.disabled&&e.preventDefault()}},[ra("span",{class:"".concat(this.classPrefix,"-menu__content")},[O_(this,"default","content")])]):ra("span",{class:"".concat(this.classPrefix,"-menu__content")},[O_(this,"default","content")])]),o=ya().parent;return this.collapsed&&/tmenu/i.test(null==o?void 0:o.type.name)?ra(oA,{content:function(){return O_(n,"default","content")},placement:"right"},"function"==typeof(t=r)||"[object Object]"===Object.prototype.toString.call(t)&&!Qi(t)?r:{default:function(){return[r]}}):r}}),ek=xr({name:"TMenuGroup",props:{title:{type:[String,Function]}},setup:function(){return{classPrefix:vy()}},render:function(){var e=this.classPrefix;return ra("div",{class:"".concat(e,"-menu-group")},[ra("div",{class:"".concat(e,"-menu-group__title")},[w_(this,"title",{silent:!1})]),w_(this,"default")])}}),tk=gw(EA),nk=gw(XA),rk=gw($A),ok=gw(ZA); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function ik(e){var t=ya(),n=Ia((function(){return t.props.readonly})),r=Uo("formReadonly",Object.create(null));return Ia((function(){var t,o,i;return jw(null==e||null===(t=e.beforeReadonly)||void 0===t?void 0:t.value)?e.beforeReadonly.value:jw(null==n?void 0:n.value)?n.value:jw(null==e||null===(o=e.afterReadonly)||void 0===o?void 0:o.value)?e.afterReadonly.value:!!jw(null===(i=r.readonly)||void 0===i?void 0:i.value)&&r.readonly.value}))} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */gw(ek);var ak=/^ArrowDown$/i,lk=/^ArrowUp$/i,sk=/^ArrowLeft$/i,ck=/^ArrowRight$/i,uk=/^Escape$/i,fk=/^Space$/i,pk=/^Enter$/i,dk=/^(Shift|ShiftLeft|ShiftRight)$/i,hk=/^KeyC$/i,vk=/^(KeyA|KeyL)$/i,mk=/^(Enter|Space)$/i; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function gk(e,t,n,r){if("undefined"==typeof window)return null;if(!window||!window.IntersectionObserver)return n(),null;var o=null;try{(o=new window.IntersectionObserver((function(t){t[0].isIntersecting&&(n(),o.unobserve(e))}),{rootMargin:"0px 0px ".concat(r,"px 0px"),root:t})).observe(e)}catch(Zne){n()}return o} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var yk={allowUncheck:Boolean,checked:{type:Boolean,default:void 0},modelValue:{type:Boolean,default:void 0},defaultChecked:Boolean,default:{type:[String,Function]},disabled:{type:Boolean,default:void 0},label:{type:[String,Function]},name:{type:String,default:""},readonly:{type:Boolean,default:void 0},value:{type:[String,Number,Boolean],default:void 0},onChange:Function,onClick:Function},bk=Symbol("RadioGroupProvide"),_k=Symbol("RadioButtonProvide"); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function wk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var xk=xr({name:"TRadio",inheritAttrs:!1,props:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?wk(Object(n),!0).forEach((function(t){Ns(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wk(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},yk),setup:function(e,t){var n=t.attrs,r=en(),o=fn(e),i=Gg(HS(o.checked,o.modelValue,e.defaultChecked,e.onChange,"checked"),2),a=i[0],l=i[1],s=Ia((function(){return c?e.value===c.value:a.value})),c=Uo(bk,void 0),u=Ia((function(){return Boolean(e.allowUncheck||(null==c?void 0:c.allowUncheck))})),f=function(e){e.stopPropagation()},p=function(t){var n;if(!g.value&&!y.value&&(null===(n=e.onClick)||void 0===n||n.call(e,{e:t}),!s.value||u.value))if(c){var r=s.value&&u.value?void 0:e.value;c.setValue(r,{e:t,name:c.name})}else{var o=!u.value||!s.value;l(o,{e:t})}},d=Ia((function(){return e={focus:n.onFocus,blur:n.onBlur,keydown:n.onKeydown,keyup:n.onKeyup,keypresss:n.onKeypresss},t={},Object.keys(e).forEach((function(n){ey(e[n])||(t[n]=e[n])})),t;var e,t})),h=Ia((function(){var e=[].concat(js(Object.keys(d.value)),["input","change"]).map((function(e){return"on".concat(e[0].toUpperCase()).concat(e.slice(1))}));return pA(n,e)})),v=Ia((function(){return null==c?void 0:c.disabled})),m=Ia((function(){return null==c?void 0:c.readonly})),g=Dw({afterDisabled:v}),y=ik({afterReadonly:m}),b=Ia((function(){return{name:c?c.name:e.name,checked:s.value,disabled:g.value,readonly:y.value,value:e.value}})),_=my().STATUS,w=Uo(_k,void 0),x=vy("radio-button"),O=vy("radio"),E=Ia((function(){return w?x.value:O.value})),S=Ia((function(){return["".concat(E.value),Ns(Ns({},_.value.checked,b.value.checked),_.value.disabled,b.value.disabled)]})),C=Tw();return function(){return ra("label",pa({ref:r,class:S.value},h.value,{tabindex:g.value?void 0:"0",onClick:p}),[ra("input",pa({type:"radio",class:"".concat(E.value,"__former")},d.value,b.value,{onClick:f,tabindex:"-1","data-value":Zg(e.value)?"'".concat(e.value,"'"):e.value,"data-allow-uncheck":u.value||void 0}),null),ra("span",{class:"".concat(E.value,"__input")},null),ra("span",{class:"".concat(E.value,"__label")},[C("default","label")])])}}}),Ok=zS,Ek=Rs; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var Sk=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return Ek(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Ok(e,t,{leading:r,maxWait:t,trailing:o})},Ck={allowUncheck:Boolean,disabled:{type:Boolean,default:void 0},name:{type:String,default:""},options:{type:Array},readonly:{type:Boolean,default:void 0},size:{type:String,default:"medium",validator:function(e){return!e||["small","medium","large"].includes(e)}},theme:{type:String,default:"radio",validator:function(e){return!e||["radio","button"].includes(e)}},value:{type:[String,Number,Boolean],default:void 0},modelValue:{type:[String,Number,Boolean],default:void 0},defaultValue:{type:[String,Number,Boolean]},variant:{type:String,default:"outline",validator:function(e){return!e||["outline","primary-filled","default-filled"].includes(e)}},onChange:Function}; +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function Ak(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function kk(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ak(Object(n),!0).forEach((function(t){Ns(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ak(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Tk=xr({name:"TRadioButton",inheritAttrs:!1,props:kk({},yk),setup:function(e,t){var n=t.attrs;Vo(_k,zt({}));var r=Ia((function(){return kk(kk({},e),pA(n,Object.keys(n).filter((function(e){return e.startsWith("on")}))))})),o=Tw();return function(){var e,t;return ra(xk,r.value,"function"==typeof(t=e=o("default","label"))||"[object Object]"===Object.prototype.toString.call(t)&&!Qi(t)?e:{default:function(){return[e]}})}}}); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +var Mk=["window"],Pk="undefined"!=typeof window?window:void 0;function jk(e,t){var n,r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=o.window,a=void 0===i?Pk:i,l=Xg(o,Mk),s=a&&"MutationObserver"in a,c=function(){n&&(n.disconnect(),n=void 0)},u=yi((function(){return n=on(e),null!==(t=null==n?void 0:n.$el)&&void 0!==t?t:n;var t,n}),(function(e){c(),s&&a&&e&&(n=new MutationObserver(t)).observe(e,l)}),{immediate:!0}),f=function(){c(),u()};return r=f,Pe()&&je(r),{isSupported:s,stop:f}} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function Dk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ik(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Dk(Object(n),!0).forEach((function(t){Ns(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Dk(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Nk=xr({name:"TRadioGroup",props:Ik({},Ck),setup:function(e){var t=fn(e),n=Gg(HS(t.value,t.modelValue,e.defaultValue,e.onChange),2),r=n[0],o=n[1],i=en(),a=vy("radio-button"),l=my(),s=l.STATUS,c=l.SIZE;!function(e,t){var n=function(e){if(mk.test(e.key)||mk.test(e.code)){e.preventDefault();var n=e.target.querySelector("input");if(!n)return;var r=n.dataset;if(n.checked&&r.allowUncheck)t(void 0,{e:e});else{var o=isNaN(Number(r.value))?r.value:Number(r.value);o=Zg(o)&&{true:!0,false:!1}[o]||o,o=Zg(o)&&"'"===o[0]?o.replace(/'/g,""):o,t(o,{e:e})}}};Yr((function(){jy(e.value,"keydown",n)})),Xr((function(){Dy(e.value,"keydown",n)}))}(i,o);var u,f=Ia((function(){return".".concat(a.value,".").concat(s.value.checked)})),p=en({width:"0px",height:"0px",left:"0px",top:"0px","transition-property":"none"}),d=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if("outline"!==e.variant){var n=i.value.querySelector(f.value),r=t?"none":"all";if(n){var o=n.offsetWidth,a=n.offsetHeight,l=n.offsetLeft,s=n.offsetTop;o?p.value={"transition-property":r,width:"".concat(o,"px"),height:"".concat(a,"px"),left:"".concat(l,"px"),top:"".concat(s,"px")}:function(){var e=document.createElement("div");e.setAttribute("style","position: absolute; visibility: hidden;"),e.appendChild(i.value.cloneNode(!0)),document.body.appendChild(e);var t=e.querySelector(f.value),n=t.offsetWidth,r=t.offsetHeight,o=t.offsetLeft,a=t.offsetTop;p.value=Ik(Ik({},p.value),{},{width:"".concat(n,"px"),height:"".concat(r,"px"),left:"".concat(o,"px"),top:"".concat(a,"px")}),document.body.removeChild(e)}()}else p.value={"transition-property":r,width:"0px",height:"9px",left:"0px",top:"0px"}}};yi(r,LO(zO.mark((function e(){return zO.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,In();case 2:d();case 3:case"end":return e.stop()}}),e)})))),Yr((function(){d(!0),cC(i,Sk(LO(zO.mark((function e(){return zO.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,In();case 2:d();case 3:case"end":return e.stop()}}),e)}))),300));var e=i.value.querySelector("".concat(f.value," .").concat(a.value,"__label"));e&&(u=jk(e,(function(e){e.forEach((function(e){"characterData"===e.type&&d()}))}),{attributes:!0,childList:!0,characterData:!0,subtree:!0}))})),eo((function(){var e;null===(e=u)||void 0===e||e.stop()}));var h=fn(e),v=h.name,m=h.disabled,g=h.readonly;Vo(bk,zt({name:v,disabled:m,readonly:g,value:r,allowUncheck:e.allowUncheck,setValue:o}));var y=vy("radio-group"),b=kw(),_=function(){if(e.variant.includes("filled")&&!IO(r.value))return ra("div",{style:p.value,class:"".concat(y.value,"__bg-block")},null)},w=Ia((function(){return["".concat(y.value),c.value[e.size],Ns(Ns(Ns({},"".concat(y.value,"__outline"),"outline"===e.variant),"".concat(y.value,"--filled"),e.variant.includes("filled")),"".concat(y.value,"--primary-filled"),"primary-filled"===e.variant)]}));return function(){return ra("div",{ref:i,class:w.value},[b("default")||(null===(t=e.options)||void 0===t?void 0:t.map((function(t){var n=t;(ry(t)||Zg(t))&&(n={value:t,label:t.toString()});var o="button"===e.theme?Tk:xk;return ra(o,{key:"radio-group-options-".concat(n.value,"-").concat(Math.random()),name:e.name,checked:r.value===n.value,disabled:"disabled"in n?n.disabled:e.disabled,value:n.value},{default:function(){return[ic(n.label)?n.label(Na):n.label]}})}))),_()]);var t}}}),Lk=gw(xk),Fk=gw(Nk),Rk=gw(Tk),Bk={alt:{type:String,default:""},content:{type:[String,Function]},default:{type:[String,Function]},hideOnLoadFailed:Boolean,icon:{type:Function},image:{type:String,default:""},imageProps:{type:Object},shape:{type:String,default:"circle",validator:function(e){return!e||["circle","round"].includes(e)}},size:{type:String,default:""},onError:Function},zk=gw(xr({name:"TImage",props:{alt:{type:String,default:""},error:{type:[String,Function]},fallback:{type:String,default:""},fit:{type:String,default:"fill",validator:function(e){return!e||["contain","cover","fill","none","scale-down"].includes(e)}},gallery:Boolean,lazy:Boolean,loading:{type:[String,Function]},overlayContent:{type:[String,Function]},overlayTrigger:{type:String,default:"always",validator:function(e){return!e||["always","hover"].includes(e)}},placeholder:{type:[String,Function]},position:{type:String,default:"center"},referrerpolicy:{type:String,default:"strict-origin-when-cross-origin",validator:function(e){return!e||["no-referrer","no-referrer-when-downgrade","origin","origin-when-cross-origin","same-origin","strict-origin","strict-origin-when-cross-origin","unsafe-url"].includes(e)}},shape:{type:String,default:"square",validator:function(e){return!e||["circle","round","square"].includes(e)}},src:{type:[String,Object]},srcset:{type:Object},onError:Function,onLoad:Function},setup:function(e){var t=en(null),n=en(null),r=null,o=fn(e).src,i=Aw();Yr((function(){var o;if(null!==(o=n.value)&&void 0!==o&&o.complete&&!e.lazy&&v(),e.lazy&&t.value){var i=gk(t.value,null,p,0);r=i}})),eo((function(){t.value&&r&&r.unobserve(t.value)}));var a=dy("image"),l=a.classPrefix,s=a.globalConfig,c=en(o.value);yi([o,s],(function(t){var n=Gg(t,2),r=n[0],o=(n[1]||{}).replaceImageSrc,i=ic(o)?o(e):r;i===c.value&&c.value||(c.value=i)}),{immediate:!0});var u=lC(c).previewUrl;yi([u],(function(){m.value=!1,d.value=!1}));var f=en(!e.lazy),p=function(){f.value=!0},d=en(!1),h=function(t){var n;d.value=!0,null===(n=e.onLoad)||void 0===n||n.call(e,{e:t})},v=function(){var e=new Event("load");Object.defineProperty(e,"target",{value:n.value,enumerable:!0}),h(e)},m=en(!1),g=function(t){var n;m.value=!0,null===(n=e.onError)||void 0===n||n.call(e,{e:t}),e.fallback&&(c.value=e.fallback,m.value=!1)},y=Ia((function(){return"hover"===e.overlayTrigger})),b=Ia((function(){return["".concat(l.value,"-image"),"".concat(l.value,"-image--fit-").concat(e.fit),"".concat(l.value,"-image--position-").concat(e.position)]})),_=en(!y.value),w=function(){y.value&&(_.value=!_.value)};function x(){var t=Zg(c.value)?c.value:u.value;return ra("img",{ref:n,src:t,onError:g,onLoad:h,class:b.value,alt:e.alt,referrerpolicy:e.referrerpolicy},null)}var O=kw();return function(){return ra("div",pa({ref:t,class:["".concat(l.value,"-image__wrapper"),"".concat(l.value,"-image__wrapper--shape-").concat(e.shape),e.gallery&&"".concat(l.value,"-image__wrapper--gallery"),y.value&&"".concat(l.value,"-image__wrapper--need-hover")],onMouseenter:w,onMouseleave:w},eA(e,["src","alt","fit","position","shape","placeholder","loading","error","overlayTrigger","overlayContent","lazy","gallery","onLoad","onError"])),[(r=i("placeholder"),r?ra("div",{class:"".concat(l.value,"-image__placeholder")},[r]):null),e.gallery?ra("div",{class:"".concat(l.value,"-image__gallery-shadow")},null):null,(m.value||!f.value)&&ra("div",{class:"".concat(l.value,"-image")},null),!(m.value||!f.value)&&(e.srcset&&Object.keys(e.srcset).length?ra("picture",null,[Object.entries(e.srcset).map((function(e){var t=Gg(e,2),n=t[0],r=t[1];return ra("source",{type:n,srcset:r},null)})),x()]):x()),!(m.value||!f.value)&&!d.value&&ra("div",{class:"".concat(l.value,"-image__loading")},[i("loading")||ra(DO,{direction:"vertical",size:8,align:"center"},{default:function(){return[ra(Lx,{size:"24px"},null),Zg(e.loading)?e.loading:s.value.loadingText]}})]),m.value&&ra("div",{class:"".concat(l.value,"-image__error")},[O("error",{defaultNode:ra(DO,{direction:"vertical",size:8,align:"center"},{default:function(){return[ra(jx,{size:"24px"},null),Zg(e.error)?e.error:s.value.errorText]}})})]),(n=O("overlayContent"),n?ra("div",{class:["".concat(l.value,"-image__overlay-content"),!_.value&&"".concat(l.value,"-image__overlay-content--hidden")]},[n]):null)]);var n,r}}})); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function Vk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Uk(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vk(Object(n),!0).forEach((function(t){Ns(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vk(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Hk=xr({name:"TAvatar",props:Bk,setup:function(e){var t=vy("avatar"),n=Tw(),r=Aw(),o=my().SIZE,i=Uo("avatarGroup",void 0),a=en(null),l=en(null),s=en(!0),c=en(4),u=en(""),f=Ia((function(){return e.size||(null==i?void 0:i.size)})),p=Ia((function(){return f.value&&!o.value[f.value]})),d=Ia((function(){return p.value?{width:f.value,height:f.value,"font-size":"".concat(Number.parseInt(f.value,10)/2,"px")}:{}})),h=Ia((function(){return p.value?{height:f.value,width:f.value}:{}})),v=Ia((function(){return{transform:u.value}})),m=function(t){var n,r=t.e,o=e.hideOnLoadFailed;s.value=!o,null===(n=e.onError)||void 0===n||n.call(e,{e:r})},g=function(){var e=a.value,t=l.value,n=null==e?void 0:e.offsetWidth,r=null==t?void 0:t.offsetWidth;2*c.value<n&&(u.value=r>n-2*c.value?"scale(".concat((n-2*c.value)/r,")"):"scale(1)")};return Yr((function(){In((function(){g()}))})),Qr((function(){In((function(){g()}))})),yi((function(){return e.image}),(function(e){e&&(s.value=!0)})),function(){var i=n("default","content"),c=r("icon"),u=c&&!i,p=e.shape,g=e.image,y=e.alt,b=["".concat(t.value),o.value[f.value],Ns(Ns(Ns({},"".concat(t.value,"--circle"),"circle"===p),"".concat(t.value,"--round"),"round"===p),"".concat(t.value,"__icon"),!!u)];return i=ra("span",{ref:l,style:Uk({},v.value)},[i]),c&&(i=[c,u?"":i]),g&&s.value&&(i=ra(zk,pa({style:Uk({},h.value),src:g,alt:y,onError:m},e.imageProps),null)),ra("div",{ref:a,class:b,style:Uk({},d.value)},[i])}}}); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */var Wk=xr({name:"TAvatarGroup",props:{cascading:{type:String,default:"right-up",validator:function(e){return!e||["left-up","right-up"].includes(e)}},collapseAvatar:{type:[String,Function]},max:{type:Number},popupProps:{type:Object},size:{type:String,default:""}},setup:function(e){Vo("avatarGroup",e);var t=Aw(),n=vy("avatar"),r=vy("avatar-group"),o=function(t){if((null==t?void 0:t.length)>e.max){var r=i(t),o=t.slice(0,e.max);return o.push(ra(Hk,{class:"".concat(n.value,"__collapse"),size:e.size},"function"==typeof(a=r)||"[object Object]"===Object.prototype.toString.call(a)&&!Qi(a)?r:{default:function(){return[r]}})),o} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +var a;return t},i=function(n){return t("collapseAvatar")||"+".concat(n.length-e.max)};return function(){var i=t("default"),a=e.cascading,l=e.max,s=["".concat(r.value),Ns(Ns({},"".concat(n.value,"--offset-right"),"right-up"===a),"".concat(n.value,"--offset-left"),"left-up"===a)],c=l&&l>=0?[o(y_(i))]:[i];return ra("div",{class:s},[c])}}}),qk=gw(Hk); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */gw(Wk);var $k=gw(xr({name:"TCard",props:{actions:{type:[String,Function]},avatar:{type:[String,Function]},bordered:{type:Boolean,default:!0},content:{type:[String,Function]},cover:{type:[String,Function]},default:{type:[String,Function]},description:{type:[String,Function]},footer:{type:[String,Function]},header:{type:[String,Function]},headerBordered:Boolean,hoverShadow:Boolean,loading:{type:[Boolean,Function],default:!1},loadingProps:{type:Object},shadow:Boolean,size:{type:String,default:"medium",validator:function(e){return!e||["medium","small"].includes(e)}},status:{type:String,default:""},subtitle:{type:[String,Function]},theme:{type:String,default:"normal",validator:function(e){return!e||["normal","poster1","poster2"].includes(e)}},title:{type:[String,Function]}},setup:function(e,t){var n=t.slots,r=Aw(),o=vy("card"),i=my().SIZE,a=Ia((function(){var t=[o.value];return"small"===e.size&&t.push("".concat(i.value[e.size])),e.bordered&&t.push("".concat(o.value,"--bordered")),e.shadow&&t.push("".concat(o.value,"--shadow")),e.hoverShadow&&t.push("".concat(o.value,"--shadow-hover")),t})),l=Ia((function(){var t=["".concat(o.value,"__header")];return e.headerBordered?t.concat("".concat(o.value,"__title--bordered")):["".concat(o.value,"__header")]})),s=vy("card__header-wrapper"),c=vy("card__avatar"),u=vy("card__title"),f=vy("card__subtitle"),p=vy("card__description"),d=vy("card__actions"),h=vy("card__body"),v=vy("card__cover"),m=vy("card__footer"),g=vy("card__footer-wrapper"),y=Ia((function(){return"poster2"===e.theme})),b=Ia((function(){return e.title||n.title})),_=Ia((function(){return e.header||n.header})),w=Ia((function(){return e.subtitle||n.subtitle})),x=Ia((function(){return e.avatar||n.avatar})),O=Ia((function(){return e.description||n.description})),E=Ia((function(){return e.status||n.status})),S=Ia((function(){return e.actions||n.actions})),C=Ia((function(){return e.footer||n.footer})),A=Ia((function(){return e.cover||n.cover})),k=Ia((function(){return e.loading||n.loading})),T=Ia((function(){return e.content||n.content||e.default||n.default})),M=Ia((function(){return _.value||b.value||w.value||O.value||x.value||E.value&&y.value||S.value&&!y.value})),P=Ia((function(){return C.value||S.value&&y.value}));return function(){var t,n,o=ra("div",{class:a.value},[M.value?_.value?ra("div",{class:l.value},[r("header")]):ra("div",{class:l.value},[ra("div",{class:s.value},[x.value&&ra("div",{class:c.value},[r("avatar")]),ra("div",null,[b.value&&ra("div",{class:u.value},[r("title")]),w.value&&ra("div",{class:f.value},[r("subtitle")]),O.value&&ra("p",{class:p.value},[r("description")])])]),S.value&&!y.value&&ra("div",{class:d.value},[r("actions")]),E.value&&ra("div",{class:d.value},[r("status")])]):null,A.value?(t=Zg(e.cover),ra("div",{class:v.value},[t?ra("img",{src:e.cover},null):r("cover")])):null,T.value&&ra("div",{class:h.value},[r("default")||r("content")]),P.value&&ra("div",{class:m.value},[ra("div",{class:g.value},[r("footer")]),S.value&&y.value&&ra("div",{class:d.value},[r("actions")])])]);return k.value?r("loading")||ra(yw,e.loadingProps,"function"==typeof(n=o)||"[object Object]"===Object.prototype.toString.call(n)&&!Qi(n)?o:{default:function(){return[o]}}):o}}})); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function Gk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Kk(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Gk(Object(n),!0).forEach((function(t){Ns(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gk(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Xk(e){var t=ya(),n=Aw(),r=function(e,t){var n=t.defaultButtonProps,r=t.className,o=t.confirmLoading,i=n;return Zg(e)?i.content=e:Rs(e)&&(i=Kk(Kk({},i),e)),void 0!==o&&(i.loading=o),ra(Lw,pa({class:r},i),null)};return{getConfirmBtn:function(o){var i=o.confirmBtn,a=o.className,l=o.confirmLoading;if(null===i)return null;i&&t.slots.confirmBtn;var s=function(t){var n,r=t.globalConfirm,o=t.theme,i=t.globalConfirmBtnTheme,a={theme:(null===(n=eA(i,["info"]))||void 0===n?void 0:n[o])||"primary",size:t.size,onClick:function(t){e.confirmBtnAction(t)}};return Zg(r)?a.content=r:Rs(r)&&(a=Kk(Kk({},a),r)),a}(o);return i||t.slots.confirmBtn?i&&["string","object"].includes(Ds(i))?r(i,{defaultButtonProps:s,className:a,confirmLoading:l}):n("confirmBtn"):ra(Lw,pa({class:a,loading:l},s),null)},getCancelBtn:function(o){var i=o.cancelBtn,a=o.className;if(null===i)return null;i&&t.slots.cancelBtn;var l=function(t){var n=t.globalCancel,r={theme:"default",size:t.size,onClick:function(t){e.cancelBtnAction(t)}};return Zg(n)?r.content=n:Rs(n)&&(r=Kk(Kk({},r),n)),r}(o);return i||t.slots.cancelBtn?i&&["string","object"].includes(Ds(i))?r(i,{defaultButtonProps:l}):n("cancelBtn"):ra(Lw,pa({class:a},l),null)}}}function Yk(e){var t=!1,n=!1;return{onClick:function(r){t&&n&&e(r),t=!1,n=!1},onMousedown:function(e){t=e.target===e.currentTarget},onMouseup:function(e){n=e.target===e.currentTarget}}} +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */ +function Jk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var Qk=gw(xr({name:"TPopconfirm",props:{cancelBtn:{type:[String,Object,Function],default:""},confirmBtn:{type:[String,Object,Function],default:""},content:{type:[String,Function]},default:{type:[String,Function]},destroyOnClose:{type:Boolean,default:!0},icon:{type:Function},placement:{type:String,default:"top",validator:function(e){return!e||["top","left","right","bottom","top-left","top-right","bottom-left","bottom-right","left-top","left-bottom","right-top","right-bottom"].includes(e)}},popupProps:{type:Object},showArrow:{type:Boolean,default:!0},theme:{type:String,default:"default",validator:function(e){return!e||["default","warning","danger"].includes(e)}},triggerElement:{type:[String,Function]},visible:{type:Boolean,default:void 0},modelValue:{type:Boolean,default:void 0},defaultVisible:Boolean,onCancel:Function,onConfirm:Function,onVisibleChange:Function},setup:function(e){var t=dy("popconfirm").globalConfig,n=vy("popconfirm"),r=$O({InfoCircleFilledIcon:zx,ErrorCircleFilledIcon:_x}),o=r.InfoCircleFilledIcon,i=r.ErrorCircleFilledIcon,a=fn(e),l=Gg(HS(a.visible,a.modelValue,e.defaultVisible,e.onVisibleChange,"visible"),2),s=l[0],c=l[1],u=Xk({confirmBtnAction:function(t){var n;null===(n=e.onConfirm)||void 0===n||n.call(e,{e:t}),c(!1,{e:t,trigger:"confirm"})},cancelBtnAction:function(t){var n;null===(n=e.onCancel)||void 0===n||n.call(e,{e:t}),c(!1,{e:t,trigger:"cancel"})}}),f=u.getConfirmBtn,p=u.getCancelBtn,d=Aw(),h=Ia((function(){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Jk(Object(n),!0).forEach((function(t){Ns(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Jk(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({showArrow:e.showArrow,overlayClassName:n.value,trigger:"click",destroyOnClose:e.destroyOnClose,placement:e.placement},e.popupProps)})),v=kw(),m=function(){var r,a,l=p({cancelBtn:e.cancelBtn,globalCancel:t.value.cancel,className:"".concat(n.value,"__cancel"),size:"small"}),s=f({theme:e.theme,confirmBtn:e.confirmBtn,globalConfirm:t.value.confirm,globalConfirmBtnTheme:t.value.confirmBtnTheme,className:"".concat(n.value,"__confirm"),size:"small"});return ra("div",{class:"".concat(n.value,"__content")},[ra("div",{class:"".concat(n.value,"__body")},[(r={default:o,warning:i,danger:i}[e.theme],a=e.theme||"default",v("icon",ra(r,{class:"".concat(n.value,"__icon--").concat(a)},null))),ra("div",{class:"".concat(n.value,"__inner")},[d("content")])]),Boolean(l||s)&&ra("div",{class:"".concat(n.value,"__buttons")},[l,s])])},g=function(e,t){c(e,t)},y=Tw();return function(){return ra(OC,pa({visible:s.value},h.value,{onVisibleChange:g}),{default:function(){return[y("default","triggerElement")]},content:m})}}})),Zk=gw(xr({name:"TConfigProvider",props:{globalConfig:Object},setup:function(e){hy(e);var t=Aw();return function(){return ra(Bi,null,[t("default")])}}})); +/** + * tdesign v1.10.7 + * (c) 2025 tdesign + * @license MIT + */function eT(e){return!!Pe()&&(je(e),!0)}const tT=new WeakMap,nT="undefined"!=typeof window&&"undefined"!=typeof document;"undefined"!=typeof WorkerGlobalScope&&(globalThis,WorkerGlobalScope);const rT=Object.prototype.toString,oT=()=>{};const iT=e=>e();function aT(e=iT,t={}){const{initialState:n="active"}=t,r=function(...e){if(1!==e.length)return hn(...e);const t=e[0];return"function"==typeof t?Ut(un((()=>({get:t,set:oT})))):en(t)}("active"===n);return{isActive:Ut(r),pause:function(){r.value=!1},resume:function(){r.value=!0},eventFilter:(...t)=>{r.value&&e(...t)}}}function lT(e){return e.endsWith("rem")?16*Number.parseFloat(e):Number.parseFloat(e)}function sT(e){return Array.isArray(e)?e:[e]}function cT(e,t,n={}){const{eventFilter:r=iT,...o}=n;return yi(e,(i=r,a=t,function(...e){return new Promise(((t,n)=>{Promise.resolve(i((()=>a.apply(this,e)),{fn:a,thisArg:this,args:e})).then(t).catch(n)}))}),o);var i,a}function uT(e,t=!0,n){ya()?Yr(e,n):t?e():In(e)}const fT=nT?window:void 0,pT=nT?window.navigator:void 0;function dT(...e){const t=[],n=()=>{t.forEach((e=>e())),t.length=0},r=Ia((()=>{const t=sT(an(e[0])).filter((e=>null!=e));return t.every((e=>"string"!=typeof e))?t:void 0})),o=(i=([e,r,o,i])=>{if(n(),!(null==e?void 0:e.length)||!(null==r?void 0:r.length)||!(null==o?void 0:o.length))return;const a=(l=i,"[object Object]"===rT.call(l)?{...i}:i);var l;t.push(...e.flatMap((e=>r.flatMap((t=>o.map((n=>((e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)))(e,t,n,a))))))))},a={flush:"post"},yi((()=>{var t,n;return[null!=(n=null==(t=r.value)?void 0:t.map((e=>function(e){var t;const n=an(e);return null!=(t=null==n?void 0:n.$el)?t:n}(e))))?n:[fT].filter((e=>null!=e)),sT(an(r.value?e[1]:e[0])),sT(on(r.value?e[2]:e[1])), +// @ts-expect-error - TypeScript gets the correct types, but somehow still complains +an(r.value?e[3]:e[2])]}),i,{...a,immediate:!0}));var i,a;return eT(n),()=>{o(),n()}}function hT(e){const t=function(){const e=tn(!1),t=ya();return t&&Yr((()=>{e.value=!0}),t),e}();return Ia((()=>(t.value,Boolean(e()))))}const vT=Symbol("vueuse-ssr-width");function mT(){const e=Ho()?((...e)=>{var t;const n=e[0],r=null==(t=ya())?void 0:t.proxy;if(null==r&&!Ho())throw new Error("injectLocal must be called in setup");return r&&tT.has(r)&&n in tT.get(r)?tT.get(r)[n]:Uo(...e)})(vT,null):null;return"number"==typeof e?e:void 0}function gT(e,t={}){const{controls:n=!1,navigator:r=pT}=t,o=hT((()=>r&&"permissions"in r)),i=tn(),a="string"==typeof e?{name:e}:e,l=tn(),s=()=>{var e,t;l.value=null!=(t=null==(e=i.value)?void 0:e.state)?t:"prompt"};dT(i,"change",s,{passive:!0});const c=function(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const e=t;t=void 0,e&&await e},n}((async()=>{if(o.value){if(!i.value)try{i.value=await r.permissions.query(a)}catch(Zne){i.value=void 0}finally{s()}return n?Xt(i.value):void 0}}));return c(),n?{state:l,isSupported:o,query:c}:l}function yT(e={}){const{navigator:t=pT,read:n=!1,source:r,copiedDuring:o=1500,legacy:i=!1}=e,a=hT((()=>t&&"clipboard"in t)),l=gT("clipboard-read"),s=gT("clipboard-write"),c=Ia((()=>a.value||i)),u=tn(""),f=tn(!1),p=function(e,t,n={}){const{immediate:r=!0,immediateCallback:o=!1}=n,i=tn(!1);let a=null;function l(){a&&(clearTimeout(a),a=null)}function s(){i.value=!1,l()}function c(...n){o&&e(),l(),i.value=!0,a=setTimeout((()=>{i.value=!1,a=null,e(...n)}),an(t))}return r&&(i.value=!0,nT&&c()),eT(s),{isPending:Ut(i),start:c,stop:s}}((()=>f.value=!1),o,{immediate:!1});function d(e){return"granted"===e||"prompt"===e}return c.value&&n&&dT(["copy","cut"],(function(){let e=!(a.value&&d(l.value));if(!e)try{t.clipboard.readText().then((e=>{u.value=e}))}catch(Zne){e=!0}var n,r,o;e&&(u.value=null!=(o=null==(r=null==(n=null==document?void 0:document.getSelection)?void 0:n.call(document))?void 0:r.toString())?o:"")}),{passive:!0}),{isSupported:c,text:u,copied:f,copy:async function(e=an(r)){if(c.value&&null!=e){let n=!(a.value&&d(s.value));if(!n)try{await t.clipboard.writeText(e)}catch(Zne){n=!0}n&&function(e){const t=document.createElement("textarea");t.value=null!=e?e:"",t.style.position="absolute",t.style.opacity="0",document.body.appendChild(t),t.select(),document.execCommand("copy"),t.remove()}(e),u.value=e,f.value=!0,p.start()}}}}const bT="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},_T="__vueuse_ssr_handlers__",wT=xT();function xT(){return _T in bT||(bT[_T]=bT[_T]||{}),bT[_T]}const OT={boolean:{read:e=>"true"===e,write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},ET="vueuse-storage";function ST(e,t,n,r={}){var o;const{flush:i="pre",deep:a=!0,listenToStorageChanges:l=!0,writeDefaults:s=!0,mergeDefaults:c=!1,shallow:u,window:f=fT,eventFilter:p,onError:d=e=>{},initOnMounted:h}=r,v=(u?tn:en)(t),m=Ia((()=>an(e)));if(!n)try{n=function(e,t){return wT[e]||t}("getDefaultStorage",(()=>{var e;return null==(e=fT)?void 0:e.localStorage}))()}catch(Zne){d(Zne)}if(!n)return v;const g=an(t),y=function(e){return null==e?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":"boolean"==typeof e?"boolean":"string"==typeof e?"string":"object"==typeof e?"object":Number.isNaN(e)?"any":"number"}(g),b=null!=(o=r.serializer)?o:OT[y],{pause:_,resume:w}=function(e,t,n={}){const{eventFilter:r,initialState:o="active",...i}=n,{eventFilter:a,pause:l,resume:s,isActive:c}=aT(r,{initialState:o});return{stop:cT(e,t,{...i,eventFilter:a}),pause:l,resume:s,isActive:c}}(v,(()=>function(e){try{const t=n.getItem(m.value);if(null==e)x(t,null),n.removeItem(m.value);else{const r=b.write(e);t!==r&&(n.setItem(m.value,r),x(t,r))}}catch(Zne){d(Zne)}}(v.value)),{flush:i,deep:a,eventFilter:p});function x(e,t){if(f){const r={key:m.value,oldValue:e,newValue:t,storageArea:n};f.dispatchEvent(n instanceof Storage?new StorageEvent("storage",r):new CustomEvent(ET,{detail:r}))}}function O(e){if(!e||e.storageArea===n)if(e&&null==e.key)v.value=g;else if(!e||e.key===m.value){_();try{(null==e?void 0:e.newValue)!==b.write(v.value)&&(v.value=function(e){const t=e?e.newValue:n.getItem(m.value);if(null==t)return s&&null!=g&&n.setItem(m.value,b.write(g)),g;if(!e&&c){const e=b.read(t);return"function"==typeof c?c(e,g):"object"!==y||Array.isArray(e)?e:{...g,...e}}return"string"!=typeof t?t:b.read(t)}(e))}catch(Zne){d(Zne)}finally{e?In(w):w()}}}function E(e){O(e.detail)}return yi(m,(()=>O()),{flush:i}),f&&l&&uT((()=>{n instanceof Storage?dT(f,"storage",O,{passive:!0}):dT(f,ET,E),h&&O()})),h||O(),v}function CT(e,t,n={}){const{window:r=fT}=n;return ST(e,t,null==r?void 0:r.localStorage,n)}function AT(e={}){const{window:t=fT,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:o=!0,includeScrollbar:i=!0,type:a="inner"}=e,l=en(n),s=en(r),c=()=>{if(t)if("outer"===a)l.value=t.outerWidth,s.value=t.outerHeight;else if("visual"===a&&t.visualViewport){const{width:e,height:n,scale:r}=t.visualViewport;l.value=Math.round(e*r),s.value=Math.round(n*r)}else i?(l.value=t.innerWidth,s.value=t.innerHeight):(l.value=t.document.documentElement.clientWidth,s.value=t.document.documentElement.clientHeight)};c(),uT(c);const u={passive:!0};if(dT("resize",c,u),t&&"visual"===a&&t.visualViewport&&dT(t.visualViewport,"resize",c,u),o){const e=function(e,t={}){const{window:n=fT,ssrWidth:r=mT()}=t,o=hT((()=>n&&"matchMedia"in n&&"function"==typeof n.matchMedia)),i=en("number"==typeof r),a=tn(),l=tn(!1);return mi((()=>{if(i.value){i.value=!o.value;const t=an(e).split(",");l.value=t.some((e=>{const t=e.includes("not all"),n=e.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),o=e.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let i=Boolean(n||o);return n&&i&&(i=r>=lT(n[1])),o&&i&&(i=r<=lT(o[1])),t?!i:i}))}else o.value&&(a.value=n.matchMedia(an(e)),l.value=a.value.matches)})),dT(a,"change",(e=>{l.value=e.matches}),{passive:!0}),Ia((()=>l.value))}("(orientation: portrait)");yi(e,(()=>c()))}return{width:l,height:s}} +/*! + * shared v11.1.1 + * (c) 2025 kazuya kawaguchi + * Released under the MIT License. + */const kT="undefined"!=typeof window,TT=(e,t=!1)=>t?Symbol.for(e):Symbol(e),MT=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),PT=e=>"number"==typeof e&&isFinite(e),jT=e=>"[object RegExp]"===KT(e),DT=e=>XT(e)&&0===Object.keys(e).length,IT=Object.assign,NT=Object.create,LT=(e=null)=>NT(e);let FT;const RT=()=>FT||(FT="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:LT());function BT(e){return e.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const zT=Object.prototype.hasOwnProperty;function VT(e,t){return zT.call(e,t)}const UT=Array.isArray,HT=e=>"function"==typeof e,WT=e=>"string"==typeof e,qT=e=>"boolean"==typeof e,$T=e=>null!==e&&"object"==typeof e,GT=Object.prototype.toString,KT=e=>GT.call(e),XT=e=>"[object Object]"===KT(e);function YT(e,t=""){return e.reduce(((e,n,r)=>0===r?e+n:e+t+n),"")}function JT(e,t){}const QT=e=>!$T(e)||UT(e);function ZT(e,t){if(QT(e)||QT(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:e,des:t}=n.pop();Object.keys(e).forEach((r=>{"__proto__"!==r&&($T(e[r])&&!$T(t[r])&&(t[r]=Array.isArray(e[r])?[]:LT()),QT(t[r])||QT(e[r])?t[r]=e[r]:n.push({src:e[r],des:t[r]}))}))}} +/*! + * message-compiler v11.1.1 + * (c) 2025 kazuya kawaguchi + * Released under the MIT License. + */function eM(e,t,n){return{start:e,end:t}}const tM=1,nM=2,rM=3,oM=4,iM=5,aM=6,lM=7,sM=8,cM=9,uM=10,fM=11,pM=12,dM=13,hM=14;function vM(e,t,n={}){const{domain:r,messages:o,args:i}=n,a=new SyntaxError(String(e));return a.code=e,t&&(a.location=t),a.domain=r,a}function mM(e){throw e}const gM=" ",yM="\n",bM=String.fromCharCode(8232),_M=String.fromCharCode(8233);function wM(e){const t=e;let n=0,r=1,o=1,i=0;const a=e=>"\r"===t[e]&&t[e+1]===yM,l=e=>t[e]===_M,s=e=>t[e]===bM,c=e=>a(e)||(e=>t[e]===yM)(e)||l(e)||s(e),u=e=>a(e)||l(e)||s(e)?yM:t[e];function f(){return i=0,c(n)&&(r++,o=0),a(n)&&n++,n++,o++,t[n]}return{index:()=>n,line:()=>r,column:()=>o,peekOffset:()=>i,charAt:u,currentChar:()=>u(n),currentPeek:()=>u(n+i),next:f,peek:function(){return a(n+i)&&i++,i++,t[n+i]},reset:function(){n=0,r=1,o=1,i=0},resetPeek:function(e=0){i=e},skipToPeek:function(){const e=n+i;for(;e!==n;)f();i=0}}}const xM=void 0;function OM(e,t={}){const n=!1!==t.location,r=wM(e),o=()=>r.index(),i=()=>{return e=r.line(),t=r.column(),n=r.index(),{line:e,column:t,offset:n};var e,t,n},a=i(),l=o(),s={currentType:13,offset:l,startLoc:a,endLoc:a,lastType:13,lastOffset:l,lastStartLoc:a,lastEndLoc:a,braceNest:0,inLinked:!1,text:""},c=()=>s,{onError:u}=t;function f(e,t,r,...o){const i=c();if(t.column+=r,t.offset+=r,u){const r=vM(e,n?eM(i.startLoc,t):null,{domain:"tokenizer",args:o});u(r)}}function p(e,t,r){e.endLoc=i(),e.currentType=t;const o={type:t};return n&&(o.loc=eM(e.startLoc,e.endLoc)),null!=r&&(o.value=r),o}const d=e=>p(e,13 +/* TokenTypes.EOF */);function h(e,t){return e.currentChar()===t?(e.next(),t):(f(tM,i(),0,t),"")}function v(e){let t="";for(;e.currentPeek()===gM||e.currentPeek()===yM;)t+=e.currentPeek(),e.peek();return t}function m(e){const t=v(e);return e.skipToPeek(),t}function g(e){if(e===xM)return!1;const t=e.charCodeAt(0);return t>=97&&t<=122||// a-z +t>=65&&t<=90||// A-Z +95===t}function y(e,t){const{currentType:n}=t;if(2!==n)return!1;v(e);const r=function(e){if(e===xM)return!1;const t=e.charCodeAt(0);return t>=48&&t<=57}("-"===e.currentPeek()?e.peek():e.currentPeek());return e.resetPeek(),r}function b(e){v(e);const t="|"===e.currentPeek();return e.resetPeek(),t}function _(e,t=!0){const n=(t=!1,r="")=>{const o=e.currentPeek();return"{"===o?t:"@"!==o&&o?"|"===o?!(r===gM||r===yM):o===gM?(e.peek(),n(!0,gM)):o!==yM||(e.peek(),n(!0,yM)):t},r=n();return t&&e.resetPeek(),r}function w(e,t){const n=e.currentChar();return n===xM?xM:t(n)?(e.next(),n):null}function x(e){const t=e.charCodeAt(0);return t>=97&&t<=122||// a-z +t>=65&&t<=90||// A-Z +t>=48&&t<=57||// 0-9 +95===t||// _ +36===t}function O(e){return w(e,x)}function E(e){const t=e.charCodeAt(0);return t>=97&&t<=122||// a-z +t>=65&&t<=90||// A-Z +t>=48&&t<=57||// 0-9 +95===t||// _ +36===t||// $ +45===t}function S(e){return w(e,E)}function C(e){const t=e.charCodeAt(0);return t>=48&&t<=57}function A(e){return w(e,C)}function k(e){const t=e.charCodeAt(0);return t>=48&&t<=57||// 0-9 +t>=65&&t<=70||// A-F +t>=97&&t<=102}function T(e){return w(e,k)}function M(e){let t="",n="";for(;t=A(e);)n+=t;return n}function P(e){return"'"!==e&&e!==yM}function j(e){const t=e.currentChar();switch(t){case"\\":case"'":return e.next(),`\\${t}`;case"u":return D(e,t,4);case"U":return D(e,t,6);default:return f(oM,i(),0,t),""}}function D(e,t,n){h(e,t);let r="";for(let o=0;o<n;o++){const n=T(e);if(!n){f(iM,i(),0,`\\${t}${r}${e.currentChar()}`);break}r+=n}return`\\${t}${r}`}function I(e){return"{"!==e&&"}"!==e&&e!==gM&&e!==yM}function N(e){m(e);const t=h(e,"|" +/* TokenChars.Pipe */);return m(e),t}function L(e,t){let n=null;switch(e.currentChar()){case"{":return t.braceNest>=1&&f(cM,i(),0),e.next(),n=p(t,2,"{" +/* TokenChars.BraceLeft */),m(e),t.braceNest++,n;case"}":return t.braceNest>0&&2===t.currentType&&f(sM,i(),0),e.next(),n=p(t,3,"}" +/* TokenChars.BraceRight */),t.braceNest--,t.braceNest>0&&m(e),t.inLinked&&0===t.braceNest&&(t.inLinked=!1),n;case"@":return t.braceNest>0&&f(lM,i(),0),n=F(e,t)||d(t),t.braceNest=0,n;default:{let r=!0,o=!0,a=!0;if(b(e))return t.braceNest>0&&f(lM,i(),0),n=p(t,1,N(e)),t.braceNest=0,t.inLinked=!1,n;if(t.braceNest>0&&(4===t.currentType||5===t.currentType||6===t.currentType))return f(lM,i(),0),t.braceNest=0,R(e,t);if(r=function(e,t){const{currentType:n}=t;if(2!==n)return!1;v(e);const r=g(e.currentPeek());return e.resetPeek(),r}(e,t))return n=p(t,4,function(e){m(e);let t="",n="";for(;t=S(e);)n+=t;return e.currentChar()===xM&&f(lM,i(),0),n}(e)),m(e),n;if(o=y(e,t))return n=p(t,5,function(e){m(e);let t="";return"-"===e.currentChar()?(e.next(),t+=`-${M(e)}`):t+=M(e),e.currentChar()===xM&&f(lM,i(),0),t}(e)),m(e),n;if(a=function(e,t){const{currentType:n}=t;if(2!==n)return!1;v(e);const r="'"===e.currentPeek();return e.resetPeek(),r}(e,t))return n=p(t,6,function(e){m(e),h(e,"'");let t="",n="";for(;t=w(e,P);)n+="\\"===t?j(e):t;const r=e.currentChar();return r===yM||r===xM?(f(rM,i(),0),r===yM&&(e.next(),h(e,"'")),n):(h(e,"'"),n)}(e)),m(e),n;if(!r&&!o&&!a)return n=p(t,12,function(e){m(e);let t="",n="";for(;t=w(e,I);)n+=t;return n}(e)),f(nM,i(),0,n.value),m(e),n;break}}return n}function F(e,t){const{currentType:n}=t;let r=null;const o=e.currentChar();switch(7!==n&&8!==n&&11!==n&&9!==n||o!==yM&&o!==gM||f(uM,i(),0),o){case"@":return e.next(),r=p(t,7,"@" +/* TokenChars.LinkedAlias */),t.inLinked=!0,r;case".":return m(e),e.next(),p(t,8,"." +/* TokenChars.LinkedDot */);case":":return m(e),e.next(),p(t,9,":" +/* TokenChars.LinkedDelimiter */);default:return b(e)?(r=p(t,1,N(e)),t.braceNest=0,t.inLinked=!1,r):function(e,t){const{currentType:n}=t;if(7!==n)return!1;v(e);const r="."===e.currentPeek();return e.resetPeek(),r}(e,t)||function(e,t){const{currentType:n}=t;if(7!==n&&11!==n)return!1;v(e);const r=":"===e.currentPeek();return e.resetPeek(),r}(e,t)?(m(e),F(e,t)):function(e,t){const{currentType:n}=t;if(8!==n)return!1;v(e);const r=g(e.currentPeek());return e.resetPeek(),r}(e,t)?(m(e),p(t,11,function(e){let t="",n="";for(;t=O(e);)n+=t;return n}(e))):function(e,t){const{currentType:n}=t;if(9!==n)return!1;const r=()=>{const t=e.currentPeek();return"{"===t?g(e.peek()):!("@"===t||"|"===t||":"===t||"."===t||t===gM||!t)&&(t===yM?(e.peek(),r()):_(e,!1))},o=r();return e.resetPeek(),o}(e,t)?(m(e),"{"===o?L(e,t)||r:p(t,10,function(e){const t=n=>{const r=e.currentChar();return"{"!==r&&"@"!==r&&"|"!==r&&"("!==r&&")"!==r&&r?r===gM?n:(n+=r,e.next(),t(n)):n};return t("")}(e))):(7===n&&f(uM,i(),0),t.braceNest=0,t.inLinked=!1,R(e,t))}}function R(e,t){let n={type:13 +/* TokenTypes.EOF */};if(t.braceNest>0)return L(e,t)||d(t);if(t.inLinked)return F(e,t)||d(t);switch(e.currentChar()){case"{":return L(e,t)||d(t);case"}":return f(aM,i(),0),e.next(),p(t,3,"}" +/* TokenChars.BraceRight */);case"@":return F(e,t)||d(t);default:if(b(e))return n=p(t,1,N(e)),t.braceNest=0,t.inLinked=!1,n;if(_(e))return p(t,0,function(e){let t="";for(;;){const n=e.currentChar();if("{"===n||"}"===n||"@"===n||"|"===n||!n)break;if(n===gM||n===yM)if(_(e))t+=n,e.next();else{if(b(e))break;t+=n,e.next()}else t+=n,e.next()}return t}(e))}return n}return{nextToken:function(){const{currentType:e,offset:t,startLoc:n,endLoc:a}=s;return s.lastType=e,s.lastOffset=t,s.lastStartLoc=n,s.lastEndLoc=a,s.offset=o(),s.startLoc=i(),r.currentChar()===xM?p(s,13 +/* TokenTypes.EOF */):R(r,s)},currentOffset:o,currentPosition:i,context:c}}const EM=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function SM(e,t,n){switch(e){case"\\\\":return"\\"; +// eslint-disable-next-line no-useless-escape +case"\\'":return"'";default:{const e=parseInt(t||n,16);return e<=55295||e>=57344?String.fromCodePoint(e):"�"}}}function CM(e={}){const t=!1!==e.location,{onError:n}=e;function r(e,r,o,i,...a){const l=e.currentPosition();if(l.offset+=i,l.column+=i,n){const e=vM(r,t?eM(o,l):null,{domain:"parser",args:a});n(e)}}function o(e,n,r){const o={type:e};return t&&(o.start=n,o.end=n,o.loc={start:r,end:r}),o}function i(e,n,r,o){t&&(e.end=n,e.loc&&(e.loc.end=r))}function a(e,t){const n=e.context(),r=o(3,n.offset,n.startLoc);return r.value=t,i(r,e.currentOffset(),e.currentPosition()),r}function l(e,t){const n=e.context(),{lastOffset:r,lastStartLoc:a}=n,l=o(5,r,a);return l.index=parseInt(t,10),e.nextToken(),i(l,e.currentOffset(),e.currentPosition()),l}function s(e,t){const n=e.context(),{lastOffset:r,lastStartLoc:a}=n,l=o(4,r,a);return l.key=t,e.nextToken(),i(l,e.currentOffset(),e.currentPosition()),l}function c(e,t){const n=e.context(),{lastOffset:r,lastStartLoc:a}=n,l=o(9,r,a);return l.value=t.replace(EM,SM),e.nextToken(),i(l,e.currentOffset(),e.currentPosition()),l}function u(e){const t=e.context(),n=o(6,t.offset,t.startLoc);let a=e.nextToken();if(8===a.type){const t=function(e){const t=e.nextToken(),n=e.context(),{lastOffset:a,lastStartLoc:l}=n,s=o(8,a,l);return 11!==t.type?(r(e,pM,n.lastStartLoc,0),s.value="",i(s,a,l),{nextConsumeToken:t,node:s}):(null==t.value&&r(e,hM,n.lastStartLoc,0,AM(t)),s.value=t.value||"",i(s,e.currentOffset(),e.currentPosition()),{node:s})}(e);n.modifier=t.node,a=t.nextConsumeToken||e.nextToken()}switch(9!==a.type&&r(e,hM,t.lastStartLoc,0,AM(a)),a=e.nextToken(),2===a.type&&(a=e.nextToken()),a.type){case 10:null==a.value&&r(e,hM,t.lastStartLoc,0,AM(a)),n.key=function(e,t){const n=e.context(),r=o(7,n.offset,n.startLoc);return r.value=t,i(r,e.currentOffset(),e.currentPosition()),r}(e,a.value||"");break;case 4:null==a.value&&r(e,hM,t.lastStartLoc,0,AM(a)),n.key=s(e,a.value||"");break;case 5:null==a.value&&r(e,hM,t.lastStartLoc,0,AM(a)),n.key=l(e,a.value||"");break;case 6:null==a.value&&r(e,hM,t.lastStartLoc,0,AM(a)),n.key=c(e,a.value||"");break;default:{r(e,dM,t.lastStartLoc,0);const l=e.context(),s=o(7,l.offset,l.startLoc);return s.value="",i(s,l.offset,l.startLoc),n.key=s,i(n,l.offset,l.startLoc),{nextConsumeToken:a,node:n}}}return i(n,e.currentOffset(),e.currentPosition()),{node:n}}function f(e){const t=e.context(),n=o(2,1===t.currentType?e.currentOffset():t.offset,1===t.currentType?t.endLoc:t.startLoc);n.items=[];let f=null;do{const o=f||e.nextToken();switch(f=null,o.type){case 0:null==o.value&&r(e,hM,t.lastStartLoc,0,AM(o)),n.items.push(a(e,o.value||""));break;case 5:null==o.value&&r(e,hM,t.lastStartLoc,0,AM(o)),n.items.push(l(e,o.value||""));break;case 4:null==o.value&&r(e,hM,t.lastStartLoc,0,AM(o)),n.items.push(s(e,o.value||""));break;case 6:null==o.value&&r(e,hM,t.lastStartLoc,0,AM(o)),n.items.push(c(e,o.value||""));break;case 7:{const t=u(e);n.items.push(t.node),f=t.nextConsumeToken||null;break}}}while(13!==t.currentType&&1!==t.currentType);return i(n,1===t.currentType?t.lastOffset:e.currentOffset(),1===t.currentType?t.lastEndLoc:e.currentPosition()),n}function p(e){const t=e.context(),{offset:n,startLoc:a}=t,l=f(e);return 13===t.currentType?l:function(e,t,n,a){const l=e.context();let s=0===a.items.length;const c=o(1,t,n);c.cases=[],c.cases.push(a);do{const t=f(e);s||(s=0===t.items.length),c.cases.push(t)}while(13!==l.currentType);return s&&r(e,fM,n,0),i(c,e.currentOffset(),e.currentPosition()),c}(e,n,a,l)}return{parse:function(n){const a=OM(n,IT({},e)),l=a.context(),s=o(0,l.offset,l.startLoc);return t&&s.loc&&(s.loc.source=n),s.body=p(a),e.onCacheKey&&(s.cacheKey=e.onCacheKey(n)),13!==l.currentType&&r(a,hM,l.lastStartLoc,0,n[l.offset]||""),i(s,a.currentOffset(),a.currentPosition()),s}}}function AM(e){if(13===e.type)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function kM(e,t){for(let n=0;n<e.length;n++)TM(e[n],t)}function TM(e,t){switch(e.type){case 1:kM(e.cases,t),t.helper("plural" +/* HelperNameMap.PLURAL */);break;case 2:kM(e.items,t);break;case 6:TM(e.key,t),t.helper("linked" +/* HelperNameMap.LINKED */),t.helper("type" +/* HelperNameMap.TYPE */);break;case 5:t.helper("interpolate" +/* HelperNameMap.INTERPOLATE */),t.helper("list" +/* HelperNameMap.LIST */);break;case 4:t.helper("interpolate" +/* HelperNameMap.INTERPOLATE */),t.helper("named" +/* HelperNameMap.NAMED */)}}function MM(e,t={}){const n=function(e){const t={ast:e,helpers:new Set};return{context:()=>t,helper:e=>(t.helpers.add(e),e)}}(e);n.helper("normalize" +/* HelperNameMap.NORMALIZE */),e.body&&TM(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function PM(e){if(1===e.items.length){const t=e.items[0];3!==t.type&&9!==t.type||(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const r=e.items[n];if(3!==r.type&&9!==r.type)break;if(null==r.value)break;t.push(r.value)}if(t.length===e.items.length){e.static=YT(t);for(let t=0;t<e.items.length;t++){const n=e.items[t];3!==n.type&&9!==n.type||delete n.value}}}}function jM(e){switch(e.t=e.type,e.type){case 0:{const t=e;jM(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let e=0;e<n.length;e++)jM(n[e]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let e=0;e<n.length;e++)jM(n[e]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;jM(t.key),t.k=t.key,delete t.key,t.modifier&&(jM(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}}delete e.type}function DM(e,t){const{helper:n}=e;switch(t.type){case 0:!function(e,t){t.body?DM(e,t.body):e.push("null")}(e,t);break;case 1:!function(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural" +/* HelperNameMap.PLURAL */)}([`),e.indent(r());const o=t.cases.length;for(let n=0;n<o&&(DM(e,t.cases[n]),n!==o-1);n++)e.push(", ");e.deindent(r()),e.push("])")}}(e,t);break;case 2:!function(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize" +/* HelperNameMap.NORMALIZE */)}([`),e.indent(r());const o=t.items.length;for(let i=0;i<o&&(DM(e,t.items[i]),i!==o-1);i++)e.push(", ");e.deindent(r()),e.push("])")}(e,t);break;case 6:!function(e,t){const{helper:n}=e;e.push(`${n("linked" +/* HelperNameMap.LINKED */)}(`),DM(e,t.key),t.modifier?(e.push(", "),DM(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}(e,t);break;case 8:case 7:case 9:case 3:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate" +/* HelperNameMap.INTERPOLATE */)}(${n("list" +/* HelperNameMap.LIST */)}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate" +/* HelperNameMap.INTERPOLATE */)}(${n("named" +/* HelperNameMap.NAMED */)}(${JSON.stringify(t.key)}))`,t)}}function IM(e,t={}){const n=IT({},t),r=!!n.jit,o=!!n.minify,i=null==n.optimize||n.optimize,a=CM(n).parse(e);return r?(i&&function(e){const t=e.body;2===t.type?PM(t):t.cases.forEach((e=>PM(e)))}(a),o&&jM(a),{ast:a,code:""}):(MM(a,n),((e,t={})=>{const n=WT(t.mode)?t.mode:"normal",r=WT(t.filename)?t.filename:"message.intl",o=!!t.sourceMap,i=null!=t.breakLineCode?t.breakLineCode:"arrow"===n?";":"\n",a=t.needIndent?t.needIndent:"arrow"!==n,l=e.helpers||[],s=function(e,t){const{sourceMap:n,filename:r,breakLineCode:o,needIndent:i}=t,a=!1!==t.location,l={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:o,needIndent:i,indentLevel:0};function s(e,t){l.code+=e}function c(e,t=!0){const n=t?o:"";s(i?n+" ".repeat(e):n)}return a&&e.loc&&(l.source=e.loc.source),{context:()=>l,push:s,indent:function(e=!0){const t=++l.indentLevel;e&&c(t)},deindent:function(e=!0){const t=--l.indentLevel;e&&c(t)},newline:function(){c(l.indentLevel)},helper:e=>`_${e}`,needIndent:()=>l.needIndent}}(e,{mode:n,filename:r,sourceMap:o,breakLineCode:i,needIndent:a});s.push("normal"===n?"function __msg__ (ctx) {":"(ctx) => {"),s.indent(a),l.length>0&&(s.push(`const { ${YT(l.map((e=>`${e}: _${e}`)),", ")} } = ctx`),s.newline()),s.push("return "),DM(s,e),s.deindent(a),s.push("}"),delete e.helpers;const{code:c,map:u}=s.context();return{ast:e,code:c,map:u?u.toJSON():void 0}})(a,n))} +/*! + * core-base v11.1.1 + * (c) 2025 kazuya kawaguchi + * Released under the MIT License. + */function NM(e){return t=>function(e,t){const n=(r=t,KM(r,LM));var r;if(null==n)throw XM(0 +/* NodeTypes.Resource */);if(1===HM(n)){const t=function(e){return KM(e,FM,[])}(n);return e.plural(t.reduce(((t,n)=>[...t,RM(e,n)]),[]))}return RM(e,n)}(t,e)}const LM=["b","body"];const FM=["c","cases"];function RM(e,t){const n=function(e){return KM(e,BM)}(t);if(null!=n)return"text"===e.type?n:e.normalize([n]);{const n=function(e){return KM(e,zM,[])}(t).reduce(((t,n)=>[...t,VM(e,n)]),[]);return e.normalize(n)}}const BM=["s","static"];const zM=["i","items"];function VM(e,t){const n=HM(t);switch(n){case 3:case 9:case 7:case 8:return qM(t,n);case 4:{const r=t;if(VT(r,"k")&&r.k)return e.interpolate(e.named(r.k));if(VT(r,"key")&&r.key)return e.interpolate(e.named(r.key));throw XM(n)}case 5:{const r=t;if(VT(r,"i")&&PT(r.i))return e.interpolate(e.list(r.i));if(VT(r,"index")&&PT(r.index))return e.interpolate(e.list(r.index));throw XM(n)}case 6:{const n=t,r=function(e){return KM(e,$M)}(n),o=function(e){const t=KM(e,GM);if(t)return t;throw XM(6 +/* NodeTypes.Linked */)}(n);return e.linked(VM(e,o),r?VM(e,r):void 0,e.type)}default:throw new Error(`unhandled node on format message part: ${n}`)}}const UM=["t","type"];function HM(e){return KM(e,UM)}const WM=["v","value"];function qM(e,t){const n=KM(e,WM);if(n)return n;throw XM(t)}const $M=["m","modifier"];const GM=["k","key"];function KM(e,t,n){for(let r=0;r<t.length;r++){const n=t[r];if(VT(e,n)&&null!=e[n])return e[n]}return n}function XM(e){return new Error(`unhandled node type: ${e}`)}const YM=e=>e;let JM=LT();function QM(e){return $T(e)&&0===HM(e)&&(VT(e,"b")||VT(e,"body"))}let ZM=null;const eP=tP("function:translate");function tP(e){return t=>ZM&&ZM.emit(e,t)}const nP=17,rP=18,oP=19,iP=21,aP=22,lP=23;function sP(e){return vM(e,null,void 0)}function cP(e,t){return null!=t.locale?fP(t.locale):fP(e.locale)}let uP;function fP(e){if(WT(e))return e;if(HT(e)){if(e.resolvedOnce&&null!=uP)return uP;if("Function"===e.constructor.name){const n=e();if($T(t=n)&&HT(t.then)&&HT(t.catch))throw sP(iP);return uP=n}throw sP(aP)}throw sP(lP);var t}function pP(e,t,n){return[...new Set([n,...UT(t)?t:$T(t)?Object.keys(t):WT(t)?[t]:[n]])]}function dP(e,t,n){const r=WT(n)?n:OP,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let i=o.__localeChainCache.get(r);if(!i){i=[];let e=[n];for(;UT(e);)e=hP(i,e,t);const a=UT(t)||!XT(t)?t:t.default?t.default:null;e=WT(a)?[a]:a,UT(e)&&hP(i,e,!1),o.__localeChainCache.set(r,i)}return i}function hP(e,t,n){let r=!0;for(let o=0;o<t.length&&qT(r);o++){const i=t[o];WT(i)&&(r=vP(e,t[o],n))}return r}function vP(e,t,n){let r;const o=t.split("-");do{r=mP(e,o.join("-"),n),o.splice(-1,1)}while(o.length&&!0===r);return r}function mP(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r="!"!==t[t.length-1];const o=t.replace(/!/g,"");e.push(o),(UT(n)||XT(n))&&n[o]&&(r=n[o])}return r}const gP=[];gP[0 +/* States.BEFORE_PATH */]={w:[0 +/* States.BEFORE_PATH */],i:[3,0 +/* Actions.APPEND */],"[":[4 +/* States.IN_SUB_PATH */],o:[7 +/* States.AFTER_PATH */]},gP[1 +/* States.IN_PATH */]={w:[1 +/* States.IN_PATH */],".":[2 +/* States.BEFORE_IDENT */],"[":[4 +/* States.IN_SUB_PATH */],o:[7 +/* States.AFTER_PATH */]},gP[2 +/* States.BEFORE_IDENT */]={w:[2 +/* States.BEFORE_IDENT */],i:[3,0 +/* Actions.APPEND */],0:[3,0 +/* Actions.APPEND */]},gP[3 +/* States.IN_IDENT */]={i:[3,0 +/* Actions.APPEND */],0:[3,0 +/* Actions.APPEND */],w:[1,1 +/* Actions.PUSH */],".":[2,1 +/* Actions.PUSH */],"[":[4,1 +/* Actions.PUSH */],o:[7,1 +/* Actions.PUSH */]},gP[4 +/* States.IN_SUB_PATH */]={"'":[5,0 +/* Actions.APPEND */],'"':[6,0 +/* Actions.APPEND */],"[":[4,2 +/* Actions.INC_SUB_PATH_DEPTH */],"]":[1,3 +/* Actions.PUSH_SUB_PATH */],o:8,l:[4,0 +/* Actions.APPEND */]},gP[5 +/* States.IN_SINGLE_QUOTE */]={"'":[4,0 +/* Actions.APPEND */],o:8,l:[5,0 +/* Actions.APPEND */]},gP[6 +/* States.IN_DOUBLE_QUOTE */]={'"':[4,0 +/* Actions.APPEND */],o:8,l:[6,0 +/* Actions.APPEND */]};const yP=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function bP(e){if(null==e)return"o";switch(e.charCodeAt(0)){case 91: +// [ +case 93: +// ] +case 46: +// . +case 34: +// " +case 39:return e;case 95: +// _ +case 36: +// $ +case 45:return"i";case 9: +// Tab (HT) +case 10: +// Newline (LF) +case 13: +// Return (CR) +case 160: +// No-break space (NBSP) +case 65279: +// Byte Order Mark (BOM) +case 8232: +// Line Separator (LS) +case 8233:return"w"}return"i"}function _P(e){const t=e.trim();return("0"!==e.charAt(0)||!isNaN(parseInt(e)))&&(n=t,yP.test(n)?function(e){const t=e.charCodeAt(0);return t!==e.charCodeAt(e.length-1)||34!==t&&39!==t?e:e.slice(1,-1)}(t):"*"+t);var n}const wP=new Map;function xP(e,t){return $T(e)?e[t]:null}const OP="en-US",EP=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;let SP,CP,AP;let kP=null;const TP=/* @__NO_SIDE_EFFECTS__ */()=>kP;let MP=null;const PP=e=>{MP=e};let jP=0;function DP(e={}){const t=HT(e.onWarn)?e.onWarn:JT,n=WT(e.version)?e.version:"11.1.1",r=WT(e.locale)||HT(e.locale)?e.locale:OP,o=HT(r)?OP:r,i=UT(e.fallbackLocale)||XT(e.fallbackLocale)||WT(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:o,a=XT(e.messages)?e.messages:IP(o),l=XT(e.datetimeFormats)?e.datetimeFormats:IP(o),s=XT(e.numberFormats)?e.numberFormats:IP(o),c=IT(LT(),e.modifiers,{upper:(e,t)=>"text"===t&&WT(e)?e.toUpperCase():"vnode"===t&&$T(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>"text"===t&&WT(e)?e.toLowerCase():"vnode"===t&&$T(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>"text"===t&&WT(e)?EP(e):"vnode"===t&&$T(e)&&"__v_isVNode"in e?EP(e.children):e}),u=e.pluralRules||LT(),f=HT(e.missing)?e.missing:null,p=!qT(e.missingWarn)&&!jT(e.missingWarn)||e.missingWarn,d=!qT(e.fallbackWarn)&&!jT(e.fallbackWarn)||e.fallbackWarn,h=!!e.fallbackFormat,v=!!e.unresolving,m=HT(e.postTranslation)?e.postTranslation:null,g=XT(e.processor)?e.processor:null,y=!qT(e.warnHtmlMessage)||e.warnHtmlMessage,b=!!e.escapeParameter,_=HT(e.messageCompiler)?e.messageCompiler:SP,w=HT(e.messageResolver)?e.messageResolver:CP||xP,x=HT(e.localeFallbacker)?e.localeFallbacker:AP||pP,O=$T(e.fallbackContext)?e.fallbackContext:void 0,E=e,S=$T(E.__datetimeFormatters)?E.__datetimeFormatters:new Map,C=$T(E.__numberFormatters)?E.__numberFormatters:new Map,A=$T(E.__meta)?E.__meta:{};jP++;const k={version:n,cid:jP,locale:r,fallbackLocale:i,messages:a,modifiers:c,pluralRules:u,missing:f,missingWarn:p,fallbackWarn:d,fallbackFormat:h,unresolving:v,postTranslation:m,processor:g,warnHtmlMessage:y,escapeParameter:b,messageCompiler:_,messageResolver:w,localeFallbacker:x,fallbackContext:O,onWarn:t,__meta:A};return k.datetimeFormats=l,k.numberFormats=s,k.__datetimeFormatters=S,k.__numberFormatters=C,__INTLIFY_PROD_DEVTOOLS__&&function(e,t,n){ZM&&ZM.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}(k,n,A),k}const IP=e=>({[e]:LT()});function NP(e,t,n,r,o){const{missing:i,onWarn:a}=e;if(null!==i){const r=i(e,n,t,o);return WT(r)?r:t}return t}function LP(e,t,n){e.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function FP(e,t){const n=t.indexOf(e);if(-1===n)return!1;for(let i=n+1;i<t.length;i++)if(r=e,o=t[i],r!==o&&r.split("-")[0]===o.split("-")[0])return!0;var r,o;return!1}function RP(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:o,onWarn:i,localeFallbacker:a}=e,{__datetimeFormatters:l}=e,[s,c,u,f]=zP(...t);qT(u.missingWarn)?u.missingWarn:e.missingWarn;qT(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,d=cP(e,u),h=a(e, +// eslint-disable-line @typescript-eslint/no-explicit-any +o,d);if(!WT(s)||""===s)return new Intl.DateTimeFormat(d,f).format(c);let v,m={},g=null;for(let _=0;_<h.length&&(v=h[_],m=n[v]||{},g=m[s],!XT(g));_++)NP(e,s,v,0,"datetime format");if(!XT(g)||!WT(v))return r?-1:s;let y=`${v}__${s}`;DT(f)||(y=`${y}__${JSON.stringify(f)}`);let b=l.get(y);return b||(b=new Intl.DateTimeFormat(v,IT({},g,f)),l.set(y,b)),p?b.formatToParts(c):b.format(c)}const BP=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function zP(...e){const[t,n,r,o]=e,i=LT();let a,l=LT();if(WT(t)){const e=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!e)throw sP(oP);const n=e[3]?e[3].trim().startsWith("T")?`${e[1].trim()}${e[3].trim()}`:`${e[1].trim()}T${e[3].trim()}`:e[1].trim();a=new Date(n);try{a.toISOString()}catch{throw sP(oP)}}else if("[object Date]"===KT(t)){if(isNaN(t.getTime()))throw sP(rP);a=t}else{if(!PT(t))throw sP(nP);a=t}return WT(n)?i.key=n:XT(n)&&Object.keys(n).forEach((e=>{BP.includes(e)?l[e]=n[e]:i[e]=n[e]})),WT(r)?i.locale=r:XT(r)&&(l=r),XT(o)&&(l=o),[i.key||"",a,i,l]}function VP(e,t,n){const r=e;for(const o in n){const e=`${t}__${o}`;r.__datetimeFormatters.has(e)&&r.__datetimeFormatters.delete(e)}}function UP(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:i,localeFallbacker:a}=e,{__numberFormatters:l}=e,[s,c,u,f]=WP(...t);qT(u.missingWarn)?u.missingWarn:e.missingWarn;qT(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,d=cP(e,u),h=a(e, +// eslint-disable-line @typescript-eslint/no-explicit-any +o,d);if(!WT(s)||""===s)return new Intl.NumberFormat(d,f).format(c);let v,m={},g=null;for(let _=0;_<h.length&&(v=h[_],m=n[v]||{},g=m[s],!XT(g));_++)NP(e,s,v,0,"number format");if(!XT(g)||!WT(v))return r?-1:s;let y=`${v}__${s}`;DT(f)||(y=`${y}__${JSON.stringify(f)}`);let b=l.get(y);return b||(b=new Intl.NumberFormat(v,IT({},g,f)),l.set(y,b)),p?b.formatToParts(c):b.format(c)}const HP=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function WP(...e){const[t,n,r,o]=e,i=LT();let a=LT();if(!PT(t))throw sP(nP);const l=t;return WT(n)?i.key=n:XT(n)&&Object.keys(n).forEach((e=>{HP.includes(e)?a[e]=n[e]:i[e]=n[e]})),WT(r)?i.locale=r:XT(r)&&(a=r),XT(o)&&(a=o),[i.key||"",l,i,a]}function qP(e,t,n){const r=e;for(const o in n){const e=`${t}__${o}`;r.__numberFormatters.has(e)&&r.__numberFormatters.delete(e)}}const $P=e=>e,GP=e=>"",KP=e=>0===e.length?"":YT(e),XP=e=>null==e?"":UT(e)||XT(e)&&e.toString===GT?JSON.stringify(e,null,2):String(e);function YP(e,t){return e=Math.abs(e),2===t?e?e>1?1:0:1:e?Math.min(e,2):0}function JP(e={}){const t=e.locale,n=function(e){const t=PT(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(PT(e.named.count)||PT(e.named.n))?PT(e.named.count)?e.named.count:PT(e.named.n)?e.named.n:t:t}(e),r=$T(e.pluralRules)&&WT(t)&&HT(e.pluralRules[t])?e.pluralRules[t]:YP,o=$T(e.pluralRules)&&WT(t)&&HT(e.pluralRules[t])?YP:void 0,i=e.list||[],a=e.named||LT();PT(e.pluralIndex)&&function(e,t){t.count||(t.count=e),t.n||(t.n=e)}(n,a);function l(t,n){const r=HT(e.messages)?e.messages(t,!!n):!!$T(e.messages)&&e.messages[t];return r||(e.parent?e.parent.message(t):GP)}const s=XT(e.processor)&&HT(e.processor.normalize)?e.processor.normalize:KP,c=XT(e.processor)&&HT(e.processor.interpolate)?e.processor.interpolate:XP,u={list:e=>i[e],named:e=>a[e],plural:e=>e[r(n,e.length,o)],linked:(t,...n)=>{const[r,o]=n;let i="text",a="";1===n.length?$T(r)?(a=r.modifier||a,i=r.type||i):WT(r)&&(a=r||a):2===n.length&&(WT(r)&&(a=r||a),WT(o)&&(i=o||i));const s=l(t,!0)(u),c= +// The message in vnode resolved with linked are returned as an array by processor.nomalize +"vnode"===i&&UT(s)&&a?s[0]:s;return a?(f=a,e.modifiers?e.modifiers[f]:$P)(c,i):c;var f},message:l,type:XT(e.processor)&&WT(e.processor.type)?e.processor.type:"text",interpolate:c,normalize:s,values:IT(LT(),i,a)};return u}const QP=()=>"",ZP=e=>HT(e);function ej(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:i,fallbackLocale:a,messages:l}=e,[s,c]=rj(...t),u=qT(c.missingWarn)?c.missingWarn:e.missingWarn,f=qT(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,p=qT(c.escapeParameter)?c.escapeParameter:e.escapeParameter,d=!!c.resolvedMessage,h=WT(c.default)||qT(c.default)?qT(c.default)?i?s:()=>s:c.default:n?i?s:()=>s:null,v=n||null!=h&&(WT(h)||HT(h)),m=cP(e,c);p&&function(e){UT(e.list)?e.list=e.list.map((e=>WT(e)?BT(e):e)):$T(e.named)&&Object.keys(e.named).forEach((t=>{WT(e.named[t])&&(e.named[t]=BT(e.named[t]))}))}(c);let[g,y,b]=d?[s,m,l[m]||LT()]:tj(e,s,m,a,f,u),_=g,w=s;if(d||WT(_)||QM(_)||ZP(_)||v&&(_=h,w=_),!(d||(WT(_)||QM(_)||ZP(_))&&WT(y)))return o?-1:s;let x=!1;const O=ZP(_)?_:nj(e,s,y,_,w,(()=>{x=!0}));if(x)return _;const E=function(e,t,n,r){const{modifiers:o,pluralRules:i,messageResolver:a,fallbackLocale:l,fallbackWarn:s,missingWarn:c,fallbackContext:u}=e,f=(r,o)=>{let i=a(n,r);if(null==i&&(u||o)){const[,,n]=tj(u||e, +// NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context +r,t,l,s,c);i=a(n,r)}if(WT(i)||QM(i)){let n=!1;const o=nj(e,r,t,i,r,(()=>{n=!0}));return n?QP:o}return ZP(i)?i:QP},p={locale:t,modifiers:o,pluralRules:i,messages:f};e.processor&&(p.processor=e.processor);r.list&&(p.list=r.list);r.named&&(p.named=r.named);PT(r.plural)&&(p.pluralIndex=r.plural);return p}(e,y,b,c),S=function(e,t,n){const r=t(n);return r}(0,O,JP(E)),C=r?r(S,s):S;if(__INTLIFY_PROD_DEVTOOLS__){const t={timestamp:Date.now(),key:WT(s)?s:ZP(_)?_.key:"",locale:y||(ZP(_)?_.locale:""),format:WT(_)?_:ZP(_)?_.source:"",message:C};t.meta=IT({},e.__meta,TP()||{}),eP(t)}return C}function tj(e,t,n,r,o,i){const{messages:a,onWarn:l,messageResolver:s,localeFallbacker:c}=e,u=c(e,r,n);let f,p=LT(),d=null;for(let h=0;h<u.length&&(f=u[h],p=a[f]||LT(),null===(d=s(p,t))&&(d=p[t]),!(WT(d)||QM(d)||ZP(d)));h++)if(!FP(f,u)){const n=NP(e, +// eslint-disable-line @typescript-eslint/no-explicit-any +t,f,0,"translate");n!==t&&(d=n)}return[d,f,p]}function nj(e,t,n,r,o,i){const{messageCompiler:a,warnHtmlMessage:l}=e;if(ZP(r)){const e=r;return e.locale=e.locale||n,e.key=e.key||t,e}if(null==a){const e=()=>r;return e.locale=n,e.key=t,e}const s=a(r,function(e,t,n,r,o,i){return{locale:t,key:n,warnHtmlMessage:o,onError:e=>{throw i&&i(e),e},onCacheKey:e=>((e,t,n)=>MT({l:e,k:t,s:n}))(t,n,e)}}(0,n,o,0,l,i));return s.locale=n,s.key=t,s.source=r,s}function rj(...e){const[t,n,r]=e,o=LT();if(!(WT(t)||PT(t)||ZP(t)||QM(t)))throw sP(nP);const i=PT(t)?String(t):(ZP(t),t);return PT(n)?o.plural=n:WT(n)?o.default=n:XT(n)&&!DT(n)?o.named=n:UT(n)&&(o.list=n),PT(r)?o.plural=r:WT(r)?o.default=r:XT(r)&&IT(o,r),[i,o]}"boolean"!=typeof __INTLIFY_PROD_DEVTOOLS__&&(RT().__INTLIFY_PROD_DEVTOOLS__=!1),"boolean"!=typeof __INTLIFY_DROP_MESSAGE_COMPILER__&&(RT().__INTLIFY_DROP_MESSAGE_COMPILER__=!1);const oj=24,ij=25,aj=26,lj=27,sj=28,cj=29,uj=31,fj=32;function pj(e,...t){return vM(e,null,void 0)}const dj=TT("__translateVNode"),hj=TT("__datetimeParts"),vj=TT("__numberParts"),mj=TT("__setPluralRules"),gj=TT("__injectWithOption"),yj=TT("__dispose");function bj(e){if(!$T(e))return e;for(const t in e)if(VT(e,t))if(t.includes(".")){const n=t.split("."),r=n.length-1;let o=e,i=!1;for(let e=0;e<r;e++){if(n[e]in o||(o[n[e]]=LT()),!$T(o[n[e]])){i=!0;break}o=o[n[e]]}i||(o[n[r]]=e[t],delete e[t]),$T(o[n[r]])&&bj(o[n[r]])}else $T(e[t])&&bj(e[t]);return e}function _j(e,t){const{messages:n,__i18n:r,messageResolver:o,flatJson:i}=t,a=XT(n)?n:UT(r)?LT():{[e]:LT()};if(UT(r)&&r.forEach((e=>{if("locale"in e&&"resource"in e){const{locale:t,resource:n}=e;t?(a[t]=a[t]||LT(),ZT(n,a[t])):ZT(n,a)}else WT(e)&&ZT(JSON.parse(e),a)})),null==o&&i)for(const l in a)VT(a,l)&&bj(a[l]);return a}function wj(e){return e.type}function xj(e,t,n){let r=$T(t.messages)?t.messages:LT();"__i18nGlobal"in n&&(r=_j(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const o=Object.keys(r);if(o.length&&o.forEach((t=>{e.mergeLocaleMessage(t,r[t])})),$T(t.datetimeFormats)){const n=Object.keys(t.datetimeFormats);n.length&&n.forEach((n=>{e.mergeDateTimeFormat(n,t.datetimeFormats[n])}))}if($T(t.numberFormats)){const n=Object.keys(t.numberFormats);n.length&&n.forEach((n=>{e.mergeNumberFormat(n,t.numberFormats[n])}))}}function Oj(e){return ra(zi,null,e,0)}const Ej=()=>[],Sj=()=>!1;let Cj=0;function Aj(e){return(t,n,r,o)=>e(n,r,ya()||void 0,o)}function kj(e={}){const{__root:t,__injectWithOption:n}=e,r=void 0===t,o=e.flatJson,i=kT?en:tn;let a=!qT(e.inheritLocale)||e.inheritLocale;const l=i( +// prettier-ignore +t&&a?t.locale.value:WT(e.locale)?e.locale:OP),s=i( +// prettier-ignore +t&&a?t.fallbackLocale.value:WT(e.fallbackLocale)||UT(e.fallbackLocale)||XT(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:l.value),c=i(_j(l.value,e)),u=i(XT(e.datetimeFormats)?e.datetimeFormats:{[l.value]:{}}),f=i(XT(e.numberFormats)?e.numberFormats:{[l.value]:{}});let p=t?t.missingWarn:!qT(e.missingWarn)&&!jT(e.missingWarn)||e.missingWarn,d=t?t.fallbackWarn:!qT(e.fallbackWarn)&&!jT(e.fallbackWarn)||e.fallbackWarn,h=t?t.fallbackRoot:!qT(e.fallbackRoot)||e.fallbackRoot,v=!!e.fallbackFormat,m=HT(e.missing)?e.missing:null,g=HT(e.missing)?Aj(e.missing):null,y=HT(e.postTranslation)?e.postTranslation:null,b=t?t.warnHtmlMessage:!qT(e.warnHtmlMessage)||e.warnHtmlMessage,_=!!e.escapeParameter;const w=t?t.modifiers:XT(e.modifiers)?e.modifiers:{};let x,O=e.pluralRules||t&&t.pluralRules;x=(()=>{r&&PP(null);const t={version:"11.1.1",locale:l.value,fallbackLocale:s.value,messages:c.value,modifiers:w,pluralRules:O,missing:null===g?void 0:g,missingWarn:p,fallbackWarn:d,fallbackFormat:v,unresolving:!0,postTranslation:null===y?void 0:y,warnHtmlMessage:b,escapeParameter:_,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};t.datetimeFormats=u.value,t.numberFormats=f.value,t.__datetimeFormatters=XT(x)?x.__datetimeFormatters:void 0,t.__numberFormatters=XT(x)?x.__numberFormatters:void 0;const n=DP(t);return r&&PP(n),n})(),LP(x,l.value,s.value);const E=Ia({get:()=>l.value,set:e=>{x.locale=e,l.value=e}}),S=Ia({get:()=>s.value,set:e=>{x.fallbackLocale=e,s.value=e,LP(x,l.value,e)}}),C=Ia((()=>c.value)),A=Ia((()=>u.value)),k=Ia((()=>f.value));const T=(e,n,o,i,a,p)=>{let d;l.value,s.value,c.value,u.value,f.value;try{__INTLIFY_PROD_DEVTOOLS__,r||(x.fallbackContext=t?MP:void 0),d=e(x)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(x.fallbackContext=void 0)}if("translate exists"!==o&&// for not `te` (e.g `t`) +PT(d)&&-1===d||"translate exists"===o&&!d){const[e,r]=n();return t&&h?i(t):a(e)}if(p(d))return d;throw pj(oj)};function M(...e){return T((t=>Reflect.apply(ej,null,[t,...e])),(()=>rj(...e)),"translate",(t=>Reflect.apply(t.t,t,[...e])),(e=>e),(e=>WT(e)))}const P={normalize:function(e){return e.map((e=>WT(e)||PT(e)||qT(e)?Oj(String(e)):e))},interpolate:e=>e,type:"vnode"};function j(e){return c.value[e]||{}}Cj++,t&&kT&&(yi(t.locale,(e=>{a&&(l.value=e,x.locale=e,LP(x,l.value,s.value))})),yi(t.fallbackLocale,(e=>{a&&(s.value=e,x.fallbackLocale=e,LP(x,l.value,s.value))})));const D={id:Cj,locale:E,fallbackLocale:S,get inheritLocale(){return a},set inheritLocale(e){a=e,e&&t&&(l.value=t.locale.value,s.value=t.fallbackLocale.value,LP(x,l.value,s.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:C,get modifiers(){return w},get pluralRules(){return O||{}},get isGlobal(){return r},get missingWarn(){return p},set missingWarn(e){p=e,x.missingWarn=p},get fallbackWarn(){return d},set fallbackWarn(e){d=e,x.fallbackWarn=d},get fallbackRoot(){return h},set fallbackRoot(e){h=e},get fallbackFormat(){return v},set fallbackFormat(e){v=e,x.fallbackFormat=v},get warnHtmlMessage(){return b},set warnHtmlMessage(e){b=e,x.warnHtmlMessage=e},get escapeParameter(){return _},set escapeParameter(e){_=e,x.escapeParameter=e},t:M,getLocaleMessage:j,setLocaleMessage:function(e,t){if(o){const n={[e]:t};for(const e in n)VT(n,e)&&bj(n[e]);t=n[e]}c.value[e]=t,x.messages=c.value},mergeLocaleMessage:function(e,t){c.value[e]=c.value[e]||{};const n={[e]:t};if(o)for(const r in n)VT(n,r)&&bj(n[r]);ZT(t=n[e],c.value[e]),x.messages=c.value},getPostTranslationHandler:function(){return HT(y)?y:null},setPostTranslationHandler:function(e){y=e,x.postTranslation=e},getMissingHandler:function(){return m},setMissingHandler:function(e){null!==e&&(g=Aj(e)),m=e,x.missing=g},[mj]:function(e){O=e,x.pluralRules=O}};return D.datetimeFormats=A,D.numberFormats=k,D.rt=function(...e){const[t,n,r]=e;if(r&&!$T(r))throw pj(ij);return M(t,n,IT({resolvedMessage:!0},r||{}))},D.te=function(e,t){return T((()=>{if(!e)return!1;const n=j(WT(t)?t:l.value),r=x.messageResolver(n,e);return QM(r)||ZP(r)||WT(r)}),(()=>[e]),"translate exists",(n=>Reflect.apply(n.te,n,[e,t])),Sj,(e=>qT(e)))},D.tm=function(e){const n=function(e){let t=null;const n=dP(x,s.value,l.value);for(let r=0;r<n.length;r++){const o=c.value[n[r]]||{},i=x.messageResolver(o,e);if(null!=i){t=i;break}}return t}(e);return null!=n?n:t&&t.tm(e)||{}},D.d=function(...e){return T((t=>Reflect.apply(RP,null,[t,...e])),(()=>zP(...e)),"datetime format",(t=>Reflect.apply(t.d,t,[...e])),(()=>""),(e=>WT(e)))},D.n=function(...e){return T((t=>Reflect.apply(UP,null,[t,...e])),(()=>WP(...e)),"number format",(t=>Reflect.apply(t.n,t,[...e])),(()=>""),(e=>WT(e)))},D.getDateTimeFormat=function(e){return u.value[e]||{}},D.setDateTimeFormat=function(e,t){u.value[e]=t,x.datetimeFormats=u.value,VP(x,e,t)},D.mergeDateTimeFormat=function(e,t){u.value[e]=IT(u.value[e]||{},t),x.datetimeFormats=u.value,VP(x,e,t)},D.getNumberFormat=function(e){return f.value[e]||{}},D.setNumberFormat=function(e,t){f.value[e]=t,x.numberFormats=f.value,qP(x,e,t)},D.mergeNumberFormat=function(e,t){f.value[e]=IT(f.value[e]||{},t),x.numberFormats=f.value,qP(x,e,t)},D[gj]=n,D[dj]=function(...e){return T((t=>{let n;const r=t;try{r.processor=P,n=Reflect.apply(ej,null,[r,...e])}finally{r.processor=null}return n}),(()=>rj(...e)),"translate",(t=>t[dj](...e)),(e=>[Oj(e)]),(e=>UT(e)))},D[hj]=function(...e){return T((t=>Reflect.apply(RP,null,[t,...e])),(()=>zP(...e)),"datetime format",(t=>t[hj](...e)),Ej,(e=>WT(e)||UT(e)))},D[vj]=function(...e){return T((t=>Reflect.apply(UP,null,[t,...e])),(()=>WP(...e)),"number format",(t=>t[vj](...e)),Ej,(e=>WT(e)||UT(e)))},D}function Tj(e={}){const t=kj(function(e){const t=WT(e.locale)?e.locale:OP,n=WT(e.fallbackLocale)||UT(e.fallbackLocale)||XT(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:t,r=HT(e.missing)?e.missing:void 0,o=!qT(e.silentTranslationWarn)&&!jT(e.silentTranslationWarn)||!e.silentTranslationWarn,i=!qT(e.silentFallbackWarn)&&!jT(e.silentFallbackWarn)||!e.silentFallbackWarn,a=!qT(e.fallbackRoot)||e.fallbackRoot,l=!!e.formatFallbackMessages,s=XT(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=HT(e.postTranslation)?e.postTranslation:void 0,f=!WT(e.warnHtmlInMessage)||"off"!==e.warnHtmlInMessage,p=!!e.escapeParameterHtml,d=!qT(e.sync)||e.sync;let h=e.messages;if(XT(e.sharedMessages)){const t=e.sharedMessages;h=Object.keys(t).reduce(((e,n)=>{const r=e[n]||(e[n]={});return IT(r,t[n]),e}),h||{})}const{__i18n:v,__root:m,__injectWithOption:g}=e,y=e.datetimeFormats,b=e.numberFormats;return{locale:t,fallbackLocale:n,messages:h,flatJson:e.flatJson,datetimeFormats:y,numberFormats:b,missing:r,missingWarn:o,fallbackWarn:i,fallbackRoot:a,fallbackFormat:l,modifiers:s,pluralRules:c,postTranslation:u,warnHtmlMessage:f,escapeParameter:p,messageResolver:e.messageResolver,inheritLocale:d,__i18n:v,__root:m,__injectWithOption:g}}(e)),{__extender:n}=e,r={ +// id +id:t.id, +// locale +get locale(){return t.locale.value},set locale(e){t.locale.value=e}, +// fallbackLocale +get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(e){t.fallbackLocale.value=e}, +// messages +get messages(){return t.messages.value}, +// datetimeFormats +get datetimeFormats(){return t.datetimeFormats.value}, +// numberFormats +get numberFormats(){return t.numberFormats.value}, +// availableLocales +get availableLocales(){return t.availableLocales}, +// missing +get missing(){return t.getMissingHandler()},set missing(e){t.setMissingHandler(e)}, +// silentTranslationWarn +get silentTranslationWarn(){return qT(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(e){t.missingWarn=qT(e)?!e:e}, +// silentFallbackWarn +get silentFallbackWarn(){return qT(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(e){t.fallbackWarn=qT(e)?!e:e}, +// modifiers +get modifiers(){return t.modifiers}, +// formatFallbackMessages +get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(e){t.fallbackFormat=e}, +// postTranslation +get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(e){t.setPostTranslationHandler(e)}, +// sync +get sync(){return t.inheritLocale},set sync(e){t.inheritLocale=e}, +// warnInHtmlMessage +get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(e){t.warnHtmlMessage="off"!==e}, +// escapeParameterHtml +get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(e){t.escapeParameter=e}, +// pluralizationRules +get pluralizationRules(){return t.pluralRules||{}}, +// for internal +__composer:t, +// t +t:(...e)=>Reflect.apply(t.t,t,[...e]), +// rt +rt:(...e)=>Reflect.apply(t.rt,t,[...e]), +// te +te:(e,n)=>t.te(e,n), +// tm +tm:e=>t.tm(e), +// getLocaleMessage +getLocaleMessage:e=>t.getLocaleMessage(e), +// setLocaleMessage +setLocaleMessage(e,n){t.setLocaleMessage(e,n)}, +// mergeLocaleMessage +mergeLocaleMessage(e,n){t.mergeLocaleMessage(e,n)}, +// d +d:(...e)=>Reflect.apply(t.d,t,[...e]), +// getDateTimeFormat +getDateTimeFormat:e=>t.getDateTimeFormat(e), +// setDateTimeFormat +setDateTimeFormat(e,n){t.setDateTimeFormat(e,n)}, +// mergeDateTimeFormat +mergeDateTimeFormat(e,n){t.mergeDateTimeFormat(e,n)}, +// n +n:(...e)=>Reflect.apply(t.n,t,[...e]), +// getNumberFormat +getNumberFormat:e=>t.getNumberFormat(e), +// setNumberFormat +setNumberFormat(e,n){t.setNumberFormat(e,n)}, +// mergeNumberFormat +mergeNumberFormat(e,n){t.mergeNumberFormat(e,n)}};return r.__extender=n,r}function Mj(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[mj](t.pluralizationRules||e.pluralizationRules);const n=_j(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach((t=>e.mergeLocaleMessage(t,n[t]))),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach((n=>e.mergeDateTimeFormat(n,t.datetimeFormats[n]))),t.numberFormats&&Object.keys(t.numberFormats).forEach((n=>e.mergeNumberFormat(n,t.numberFormats[n]))),e}const Pj={tag:{type:[String,Object]},locale:{type:String},scope:{type:String, +// NOTE: avoid https://github.com/microsoft/rushstack/issues/1050 +validator:e=>"parent"===e||"global"===e,default:"parent" +/* ComponentI18nScope */},i18n:{type:Object}};function jj(){return Bi}const Dj=xr({ +/* eslint-disable */ +name:"i18n-t",props:IT({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>PT(e)||!isNaN(e)}},Pj), +/* eslint-enable */ +// eslint-disable-next-line @typescript-eslint/no-explicit-any +setup(e,t){const{slots:n,attrs:r}=t,o=e.i18n||Vj({useScope:e.scope,__useComponent:!0});return()=>{const i=Object.keys(n).filter((e=>"_"!==e)),a=LT();e.locale&&(a.locale=e.locale),void 0!==e.plural&&(a.plural=WT(e.plural)?+e.plural:e.plural);const l=function({slots:e},t){if(1===t.length&&"default"===t[0])return(e.default?e.default():[]).reduce(((e,t)=>[...e, +// prettier-ignore +...t.type===Bi?t.children:[t]]),[]);return t.reduce(((t,n)=>{const r=e[n];return r&&(t[n]=r()),t}),LT())}(t,i),s=o[dj](e.keypath,l,a),c=IT(LT(),r);return Na(WT(e.tag)||$T(e.tag)?e.tag:jj(),c,s)}}}),Ij=Dj;function Nj(e,t,n,r){const{slots:o,attrs:i}=t;return()=>{const t={part:!0};let a=LT();e.locale&&(t.locale=e.locale),WT(e.format)?t.key=e.format:$T(e.format)&&(WT(e.format.key)&&(t.key=e.format.key),a=Object.keys(e.format).reduce(((t,r)=>n.includes(r)?IT(LT(),t,{[r]:e.format[r]}):t),LT()));const l=r(e.value,t,a);let s=[t.key];UT(l)?s=l.map(((e,t)=>{const n=o[e.type],r=n?n({[e.type]:e.value,index:t,parts:l}):[e.value];var i;return UT(i=r)&&!WT(i[0])&&(r[0].key=`${e.type}-${t}`),r})):WT(l)&&(s=[l]);const c=IT(LT(),i);return Na(WT(e.tag)||$T(e.tag)?e.tag:jj(),c,s)}}const Lj=xr({ +/* eslint-disable */ +name:"i18n-n",props:IT({value:{type:Number,required:!0},format:{type:[String,Object]}},Pj), +/* eslint-enable */ +// eslint-disable-next-line @typescript-eslint/no-explicit-any +setup(e,t){const n=e.i18n||Vj({useScope:e.scope,__useComponent:!0});return Nj(e,t,HP,((...e)=> +// eslint-disable-next-line @typescript-eslint/no-explicit-any +n[vj](...e)))}});function Fj(e){if(WT(e))return{path:e};if(XT(e)){if(!("path"in e))throw pj(sj);return e}throw pj(cj)}function Rj(e){const{path:t,locale:n,args:r,choice:o,plural:i}=e,a={},l=r||{};return WT(n)&&(a.locale=n),PT(o)&&(a.plural=o),PT(i)&&(a.plural=i),[t,l,a]}function Bj(e,t,...n){const r=XT(n[0])?n[0]:{};(!qT(r.globalInstall)||r.globalInstall)&&([Ij.name,"I18nT"].forEach((t=>e.component(t,Ij))),[Lj.name,"I18nN"].forEach((t=>e.component(t,Lj))),[Wj.name,"I18nD"].forEach((t=>e.component(t,Wj)))),e.directive("t",function(e){const t=t=>{const{instance:n,value:r}=t;if(!n||!n.$)throw pj(fj);const o=function(e,t){const n=e;if("composition"===e.mode)return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return null!=r?r.__composer:e.global.__composer}}(e,n.$),i=Fj(r);return[Reflect.apply(o.t,o,[...Rj(i)]),o]};return{created:(n,r)=>{const[o,i]=t(r);kT&&e.global===i&&(n.__i18nWatcher=yi(i.locale,(()=>{r.instance&&r.instance.$forceUpdate()}))),n.__composer=i,n.textContent=o},unmounted:e=>{kT&&e.__i18nWatcher&&(e.__i18nWatcher(),e.__i18nWatcher=void 0,delete e.__i18nWatcher),e.__composer&&(e.__composer=void 0,delete e.__composer)},beforeUpdate:(e,{value:t})=>{if(e.__composer){const n=e.__composer,r=Fj(t);e.textContent=Reflect.apply(n.t,n,[...Rj(r)])}},getSSRProps:e=>{const[n]=t(e);return{textContent:n}}}}(t))}const zj=TT("global-vue-i18n");function Vj(e={}){const t=ya();if(null==t)throw pj(aj);if(!t.isCE&&null!=t.appContext.app&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw pj(lj);const n=function(e){const t=Uo(e.isCE?zj:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw pj(e.isCE?uj:fj);return t}(t),r=function(e){return"composition"===e.mode?e.global:e.global.__composer}(n),o=wj(t),i=function(e,t){return DT(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}(e,o);if("global"===i)return xj(r,e,o),r;if("parent"===i){let o=function(e,t,n=!1){let r=null;const o=t.root;let i=function(e,t=!1){if(null==e)return null;return t&&e.vnode.ctx||e.parent}(t,n);for(;null!=i;){const t=e;if("composition"===e.mode)r=t.__getInstance(i);else if(__VUE_I18N_LEGACY_API__){const e=t.__getInstance(i);null!=e&&(r=e.__composer,n&&r&&!r[gj]&&(r=null))}if(null!=r)break;if(o===i)break;i=i.parent}return r}(n,t,e.__useComponent);return null==o&&(o=r),o}const a=n;let l=a.__getInstance(t);if(null==l){const n=IT({},e);"__i18n"in o&&(n.__i18n=o.__i18n),r&&(n.__root=r),l=kj(n),a.__composerExtend&&(l[yj]=a.__composerExtend(l)),function(e,t,n){Yr((()=>{}),t),eo((()=>{const r=n;e.__deleteInstance(t);const o=r[yj];o&&(o(),delete r[yj])}),t)}(a,t,l),a.__setInstance(t,l)}return l}const Uj=["locale","fallbackLocale","availableLocales"],Hj=["t","rt","d","n","tm","te"];const Wj=xr({ +/* eslint-disable */ +name:"i18n-d",props:IT({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Pj), +/* eslint-enable */ +// eslint-disable-next-line @typescript-eslint/no-explicit-any +setup(e,t){const n=e.i18n||Vj({useScope:e.scope,__useComponent:!0});return Nj(e,t,BP,((...e)=> +// eslint-disable-next-line @typescript-eslint/no-explicit-any +n[hj](...e)))}});var qj,$j,Gj,Kj,Xj,Yj,Jj,Qj,Zj,eD,tD,nD,rD,oD,iD,aD,lD,sD,cD,uD,fD,pD,dD,hD,vD,mD,gD,yD,bD,_D,wD,xD,OD,ED,SD,CD,AD,kD,TD,MD,PD,jD,DD,ID,ND,LD,FD,RD,BD,zD,VD,UD,HD,WD,qD,$D,GD,KD,XD,YD,JD,QD,ZD,eI,tI,nI,rI,oI,iI,aI,lI,sI,cI,uI,fI,pI,dI,hI,vI,mI,gI,yI,bI,_I,wI,xI,OI,EI,SI,CI,AI,kI,TI,MI,PI,jI,DI,II,NI,LI;if("boolean"!=typeof __VUE_I18N_FULL_INSTALL__&&(RT().__VUE_I18N_FULL_INSTALL__=!0),"boolean"!=typeof __VUE_I18N_LEGACY_API__&&(RT().__VUE_I18N_LEGACY_API__=!0),"boolean"!=typeof __INTLIFY_DROP_MESSAGE_COMPILER__&&(RT().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),"boolean"!=typeof __INTLIFY_PROD_DEVTOOLS__&&(RT().__INTLIFY_PROD_DEVTOOLS__=!1),SP= +// @__NO_SIDE_EFFECTS__ +function(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&WT(e)){!qT(t.warnHtmlMessage)||t.warnHtmlMessage;const n=(t.onCacheKey||YM)(e),r=JM[n];if(r)return r;const{ast:o,detectError:i}=function(e,t={}){let n=!1;const r=t.onError||mM;return t.onError=e=>{n=!0,r(e)},{...IM(e,t),detectError:n}}(e,{...t,location:!1,jit:!0}),a=NM(o);return i?a:JM[n]=a}{const t=e.cacheKey;if(t){const n=JM[t];return n||(JM[t]=NM(e))}return NM(e)}},qj=function(e,t){if(!$T(e))return null;let n=wP.get(t);if(n||(n=function(e){const t=[];let n,r,o,i,a,l,s,c=-1,u=0,f=0;const p=[];function d(){const t=e[c+1];if(5===u&&"'"===t||6===u&&'"'===t)return c++,o="\\"+t,p[0 +/* Actions.APPEND */](),!0}for(p[0 +/* Actions.APPEND */]=()=>{void 0===r?r=o:r+=o},p[1 +/* Actions.PUSH */]=()=>{void 0!==r&&(t.push(r),r=void 0)},p[2 +/* Actions.INC_SUB_PATH_DEPTH */]=()=>{p[0 +/* Actions.APPEND */](),f++},p[3 +/* Actions.PUSH_SUB_PATH */]=()=>{if(f>0)f--,u=4,p[0 +/* Actions.APPEND */]();else{if(f=0,void 0===r)return!1;if(r=_P(r),!1===r)return!1;p[1 +/* Actions.PUSH */]()}};null!==u;)if(c++,n=e[c],"\\"!==n||!d()){if(i=bP(n),s=gP[u],a=s[i]||s.l||8,8===a)return;if(u=a[0],void 0!==a[1]&&(l=p[a[1]],l&&(o=n,!1===l())))return;if(7===u)return t}}(t),n&&wP.set(t,n)),!n)return null;const r=n.length;let o=e,i=0;for(;i<r;){const e=o[n[i]];if(void 0===e)return null;if(HT(o))return null;o=e,i++}return o},CP=qj,AP=dP,__INTLIFY_PROD_DEVTOOLS__){const e=RT();e.__INTLIFY__=!0,$j=e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__,ZM=$j}function FI(){if(Yj)return Xj;return Yj=1,Xj=function(e,t){return e===t||e!=e&&t!=t}}function RI(){if(Qj)return Jj;Qj=1;var e=FI();return Jj=function(t,n){for(var r=t.length;r--;)if(e(t[r][0],n))return r;return-1}}function BI(){if(sD)return lD;sD=1;var e=Kj?Gj:(Kj=1,Gj=function(){this.__data__=[],this.size=0}),t=function(){if(eD)return Zj;eD=1;var e=RI(),t=Array.prototype.splice;return Zj=function(n){var r=this.__data__,o=e(r,n);return!(o<0||(o==r.length-1?r.pop():t.call(r,o,1),--this.size,0))}}(),n=function(){if(nD)return tD;nD=1;var e=RI();return tD=function(t){var n=this.__data__,r=e(n,t);return r<0?void 0:n[r][1]}}(),r=function(){if(oD)return rD;oD=1;var e=RI();return rD=function(t){return e(this.__data__,t)>-1}}(),o=function(){if(aD)return iD;aD=1;var e=RI();return iD=function(t,n){var r=this.__data__,o=e(r,t);return o<0?(++this.size,r.push([t,n])):r[o][1]=n,this}}();function i(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}return i.prototype.clear=e,i.prototype.delete=t,i.prototype.get=n,i.prototype.has=r,i.prototype.set=o,lD=i}function zI(){if(yD)return gD;yD=1;var e="object"==typeof rO&&rO&&rO.Object===Object&&rO;return gD=e}function VI(){if(_D)return bD;_D=1;var e=zI(),t="object"==typeof self&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return bD=n}function UI(){if(xD)return wD;xD=1;var e=VI().Symbol;return wD=e}function HI(){if(kD)return AD;kD=1;var e=UI(),t=function(){if(ED)return OD;ED=1;var e=UI(),t=Object.prototype,n=t.hasOwnProperty,r=t.toString,o=e?e.toStringTag:void 0;return OD=function(e){var t=n.call(e,o),i=e[o];try{e[o]=void 0;var a=!0}catch(Zne){}var l=r.call(e);return a&&(t?e[o]=i:delete e[o]),l}}(),n=function(){if(CD)return SD;CD=1;var e=Object.prototype.toString;return SD=function(t){return e.call(t)}}(),r=e?e.toStringTag:void 0;return AD=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":r&&r in Object(e)?t(e):n(e)}}function WI(){if(MD)return TD;return MD=1,TD=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}}function qI(){if(jD)return PD;jD=1;var e=HI(),t=WI();return PD=function(n){if(!t(n))return!1;var r=e(n);return"[object Function]"==r||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r}}function $I(){if(LD)return ND;LD=1;var e=function(){if(ID)return DD;ID=1;var e=VI()["__core-js_shared__"];return DD=e}(),t=function(){var t=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();return ND=function(e){return!!t&&t in e}}function GI(){if(zD)return BD;zD=1;var e=qI(),t=$I(),n=WI(),r=function(){if(RD)return FD;RD=1;var e=Function.prototype.toString;return FD=function(t){if(null!=t){try{return e.call(t)}catch(Zne){}try{return t+""}catch(Zne){}}return""}}(),o=/^\[object .+?Constructor\]$/,i=Function.prototype,a=Object.prototype,l=i.toString,s=a.hasOwnProperty,c=RegExp("^"+l.call(s).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");return BD=function(i){return!(!n(i)||t(i))&&(e(i)?c:o).test(r(i))}}function KI(){if(WD)return HD;WD=1;var e=GI(),t=UD?VD:(UD=1,VD=function(e,t){return null==e?void 0:e[t]});return HD=function(n,r){var o=t(n,r);return e(o)?o:void 0}}function XI(){if($D)return qD;$D=1;var e=KI()(VI(),"Map");return qD=e}function YI(){if(KD)return GD;KD=1;var e=KI()(Object,"create");return GD=e}function JI(){if(aI)return iI;aI=1;var e=function(){if(YD)return XD;YD=1;var e=YI();return XD=function(){this.__data__=e?e(null):{},this.size=0}}(),t=QD?JD:(QD=1,JD=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}),n=function(){if(eI)return ZD;eI=1;var e=YI(),t=Object.prototype.hasOwnProperty;return ZD=function(n){var r=this.__data__;if(e){var o=r[n];return"__lodash_hash_undefined__"===o?void 0:o}return t.call(r,n)?r[n]:void 0}}(),r=function(){if(nI)return tI;nI=1;var e=YI(),t=Object.prototype.hasOwnProperty;return tI=function(n){var r=this.__data__;return e?void 0!==r[n]:t.call(r,n)}}(),o=function(){if(oI)return rI;oI=1;var e=YI();return rI=function(t,n){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=e&&void 0===n?"__lodash_hash_undefined__":n,this}}();function i(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}return i.prototype.clear=e,i.prototype.delete=t,i.prototype.get=n,i.prototype.has=r,i.prototype.set=o,iI=i}function QI(){if(pI)return fI;pI=1;var e=uI?cI:(uI=1,cI=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e});return fI=function(t,n){var r=t.__data__;return e(n)?r["string"==typeof n?"string":"hash"]:r.map}}function ZI(){if(xI)return wI;xI=1;var e=function(){if(sI)return lI;sI=1;var e=JI(),t=BI(),n=XI();return lI=function(){this.size=0,this.__data__={hash:new e,map:new(n||t),string:new e}}}(),t=function(){if(hI)return dI;hI=1;var e=QI();return dI=function(t){var n=e(this,t).delete(t);return this.size-=n?1:0,n}}(),n=function(){if(mI)return vI;mI=1;var e=QI();return vI=function(t){return e(this,t).get(t)}}(),r=function(){if(yI)return gI;yI=1;var e=QI();return gI=function(t){return e(this,t).has(t)}}(),o=function(){if(_I)return bI;_I=1;var e=QI();return bI=function(t,n){var r=e(this,t),o=r.size;return r.set(t,n),this.size+=r.size==o?0:1,this}}();function i(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}return i.prototype.clear=e,i.prototype.delete=t,i.prototype.get=n,i.prototype.has=r,i.prototype.set=o,wI=i}function eN(){if(CI)return SI;CI=1;var e=BI(),t=function(){if(uD)return cD;uD=1;var e=BI();return cD=function(){this.__data__=new e,this.size=0}}(),n=pD?fD:(pD=1,fD=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}),r=hD?dD:(hD=1,dD=function(e){return this.__data__.get(e)}),o=mD?vD:(mD=1,vD=function(e){return this.__data__.has(e)}),i=function(){if(EI)return OI;EI=1;var e=BI(),t=XI(),n=ZI();return OI=function(r,o){var i=this.__data__;if(i instanceof e){var a=i.__data__;if(!t||a.length<199)return a.push([r,o]),this.size=++i.size,this;i=this.__data__=new n(a)}return i.set(r,o),this.size=i.size,this}}();function a(t){var n=this.__data__=new e(t);this.size=n.size}return a.prototype.clear=t,a.prototype.delete=n,a.prototype.get=r,a.prototype.has=o,a.prototype.set=i,SI=a}function tN(){if(kI)return AI;kI=1;var e=KI(),t=function(){try{var t=e(Object,"defineProperty");return t({},"",{}),t}catch(Zne){}}();return AI=t}function nN(){if(MI)return TI;MI=1;var e=tN();return TI=function(t,n,r){"__proto__"==n&&e?e(t,n,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[n]=r}}function rN(){if(jI)return PI;jI=1;var e=nN(),t=FI();return PI=function(n,r,o){(void 0!==o&&!t(n[r],o)||void 0===o&&!(r in n))&&e(n,r,o)}}function oN(){if(LI)return NI;LI=1;var e=(II?DI:(II=1,DI=function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),l=a.length;l--;){var s=a[e?l:++o];if(!1===n(i[s],s,i))break}return t}}))();return NI=e}var iN,aN,lN,sN,cN,uN,fN,pN,dN,hN,vN,mN,gN,yN,bN,_N,wN,xN,ON,EN,SN,CN,AN,kN,TN,MN,PN,jN,DN,IN,NN,LN,FN,RN={exports:{}};function BN(){if(cN)return sN;cN=1;var e=function(){if(lN)return aN;lN=1;var e=VI().Uint8Array;return aN=e}();return sN=function(t){var n=new t.constructor(t.byteLength);return new e(n).set(new e(t)),n}}function zN(){if(bN)return yN;bN=1;var e=(gN?mN:(gN=1,mN=function(e,t){return function(n){return e(t(n))}}))(Object.getPrototypeOf,Object);return yN=e}function VN(){if(wN)return _N;wN=1;var e=Object.prototype;return _N=function(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||e)}}function UN(){if(ON)return xN;ON=1;var e=function(){if(vN)return hN;vN=1;var e=WI(),t=Object.create;return hN=function(){function n(){}return function(r){if(!e(r))return{};if(t)return t(r);n.prototype=r;var o=new n;return n.prototype=void 0,o}}()}(),t=zN(),n=VN();return xN=function(r){return"function"!=typeof r.constructor||n(r)?{}:e(t(r))}}function HN(){if(SN)return EN;return SN=1,EN=function(e){return null!=e&&"object"==typeof e}}function WN(){if(TN)return kN;TN=1;var e=function(){if(AN)return CN;AN=1;var e=HI(),t=HN();return CN=function(n){return t(n)&&"[object Arguments]"==e(n)}}(),t=HN(),n=Object.prototype,r=n.hasOwnProperty,o=n.propertyIsEnumerable,i=e(function(){return arguments}())?e:function(e){return t(e)&&r.call(e,"callee")&&!o.call(e,"callee")};return kN=i}function qN(){if(PN)return MN;PN=1;var e=Array.isArray;return MN=e}function $N(){if(DN)return jN;DN=1;return jN=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}}function GN(){if(NN)return IN;NN=1;var e=qI(),t=$N();return IN=function(n){return null!=n&&t(n.length)&&!e(n)}}var KN,XN,YN,JN,QN,ZN,eL,tL,nL,rL={exports:{}};function oL(){return YN||(YN=1,function(e,t){var n=VI(),r=XN?KN:(XN=1,KN=function(){return!1}),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o?n.Buffer:void 0,l=(a?a.isBuffer:void 0)||r;e.exports=l}(rL,rL.exports)),rL.exports}var iL,aL,lL,sL,cL,uL,fL,pL,dL,hL,vL,mL,gL,yL,bL,_L,wL,xL,OL,EL,SL,CL,AL,kL,TL,ML,PL,jL,DL,IL,NL,LL,FL,RL,BL,zL,VL,UL,HL,WL,qL,$L,GL,KL,XL,YL,JL,QL,ZL,eF={exports:{}};function tF(){if(lL)return aL;lL=1;var e=function(){if(eL)return ZN;eL=1;var e=HI(),t=$N(),n=HN(),r={};return r["[object Float32Array]"]=r["[object Float64Array]"]=r["[object Int8Array]"]=r["[object Int16Array]"]=r["[object Int32Array]"]=r["[object Uint8Array]"]=r["[object Uint8ClampedArray]"]=r["[object Uint16Array]"]=r["[object Uint32Array]"]=!0,r["[object Arguments]"]=r["[object Array]"]=r["[object ArrayBuffer]"]=r["[object Boolean]"]=r["[object DataView]"]=r["[object Date]"]=r["[object Error]"]=r["[object Function]"]=r["[object Map]"]=r["[object Number]"]=r["[object Object]"]=r["[object RegExp]"]=r["[object Set]"]=r["[object String]"]=r["[object WeakMap]"]=!1,ZN=function(o){return n(o)&&t(o.length)&&!!r[e(o)]}}(),t=nL?tL:(nL=1,tL=function(e){return function(t){return e(t)}}),n=(iL||(iL=1,function(e,t){var n=zI(),r=t&&!t.nodeType&&t,o=r&&e&&!e.nodeType&&e,i=o&&o.exports===r&&n.process,a=function(){try{return o&&o.require&&o.require("util").types||i&&i.binding&&i.binding("util")}catch(Zne){}}();e.exports=a}(eF,eF.exports)),eF.exports),r=n&&n.isTypedArray,o=r?t(r):e;return aL=o}function nF(){if(cL)return sL;return cL=1,sL=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}}function rF(){if(dL)return pL;dL=1;var e=function(){if(fL)return uL;fL=1;var e=nN(),t=FI(),n=Object.prototype.hasOwnProperty;return uL=function(r,o,i){var a=r[o];n.call(r,o)&&t(a,i)&&(void 0!==i||o in r)||e(r,o,i)}}(),t=nN();return pL=function(n,r,o,i){var a=!o;o||(o={});for(var l=-1,s=r.length;++l<s;){var c=r[l],u=i?i(o[c],n[c],c,o,n):void 0;void 0===u&&(u=n[c]),a?t(o,c,u):e(o,c,u)}return o}}function oF(){if(gL)return mL;gL=1;var e=/^(?:0|[1-9]\d*)$/;return mL=function(t,n){var r=typeof t;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&e.test(t))&&t>-1&&t%1==0&&t<n}}function iF(){if(bL)return yL;bL=1;var e=vL?hL:(vL=1,hL=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}),t=WN(),n=qN(),r=oL(),o=oF(),i=tF(),a=Object.prototype.hasOwnProperty;return yL=function(l,s){var c=n(l),u=!c&&t(l),f=!c&&!u&&r(l),p=!c&&!u&&!f&&i(l),d=c||u||f||p,h=d?e(l.length,String):[],v=h.length;for(var m in l)!s&&!a.call(l,m)||d&&(// Safari 9 has enumerable `arguments.length` in strict mode. +"length"==m||// Node.js 0.10 has enumerable non-index properties on buffers. +f&&("offset"==m||"parent"==m)||// PhantomJS 2 has enumerable non-index properties on typed arrays. +p&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||// Skip index properties. +o(m,v))||h.push(m);return h}}function aF(){if(OL)return xL;OL=1;var e=WI(),t=VN(),n=wL?_L:(wL=1,_L=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}),r=Object.prototype.hasOwnProperty;return xL=function(o){if(!e(o))return n(o);var i=t(o),a=[];for(var l in o)("constructor"!=l||!i&&r.call(o,l))&&a.push(l);return a}}function lF(){if(SL)return EL;SL=1;var e=iF(),t=aF(),n=GN();return EL=function(r){return n(r)?e(r,!0):t(r)}}function sF(){if(TL)return kL;TL=1;var e=rN(),t=(iN||(iN=1,function(e,t){var n=VI(),r=t&&!t.nodeType&&t,o=r&&e&&!e.nodeType&&e,i=o&&o.exports===r?n.Buffer:void 0,a=i?i.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=a?a(n):new e.constructor(n);return e.copy(r),r}}(RN,RN.exports)),RN.exports),n=function(){if(fN)return uN;fN=1;var e=BN();return uN=function(t,n){var r=n?e(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}}(),r=dN?pN:(dN=1,pN=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}),o=UN(),i=WN(),a=qN(),l=function(){if(FN)return LN;FN=1;var e=GN(),t=HN();return LN=function(n){return t(n)&&e(n)}}(),s=oL(),c=qI(),u=WI(),f=function(){if(QN)return JN;QN=1;var e=HI(),t=zN(),n=HN(),r=Function.prototype,o=Object.prototype,i=r.toString,a=o.hasOwnProperty,l=i.call(Object);return JN=function(r){if(!n(r)||"[object Object]"!=e(r))return!1;var o=t(r);if(null===o)return!0;var s=a.call(o,"constructor")&&o.constructor;return"function"==typeof s&&s instanceof s&&i.call(s)==l}}(),p=tF(),d=nF(),h=function(){if(AL)return CL;AL=1;var e=rF(),t=lF();return CL=function(n){return e(n,t(n))}}();return kL=function(v,m,g,y,b,_,w){var x=d(v,g),O=d(m,g),E=w.get(O);if(E)e(v,g,E);else{var S=_?_(x,O,g+"",v,m,w):void 0,C=void 0===S;if(C){var A=a(O),k=!A&&s(O),T=!A&&!k&&p(O);S=O,A||k||T?a(x)?S=x:l(x)?S=r(x):k?(C=!1,S=t(O,!0)):T?(C=!1,S=n(O,!0)):S=[]:f(O)||i(O)?(S=x,i(x)?S=h(x):u(x)&&!c(x)||(S=o(O))):C=!1}C&&(w.set(O,S),b(S,O,y,_,w),w.delete(O)),e(v,g,S)}}}function cF(){if(DL)return jL;return DL=1,jL=function(e){return e}}function uF(){if(FL)return LL;FL=1;var e=NL?IL:(NL=1,IL=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}),t=Math.max;return LL=function(n,r,o){return r=t(void 0===r?n.length-1:r,0),function(){for(var i=arguments,a=-1,l=t(i.length-r,0),s=Array(l);++a<l;)s[a]=i[r+a];a=-1;for(var c=Array(r+1);++a<r;)c[a]=i[a];return c[r]=o(s),e(n,this,c)}},LL}function fF(){if(VL)return zL;VL=1;var e=BL?RL:(BL=1,RL=function(e){return function(){return e}}),t=tN(),n=cF();return zL=t?function(n,r){return t(n,"toString",{configurable:!0,enumerable:!1,value:e(r),writable:!0})}:n}function pF(){if(qL)return WL;qL=1;var e=fF(),t=function(){if(HL)return UL;HL=1;var e=Date.now;return UL=function(t){var n=0,r=0;return function(){var o=e(),i=16-(o-r);if(r=o,i>0){if(++n>=800)return arguments[0]}else n=0;return t.apply(void 0,arguments)}},UL}(),n=t(e);return WL=n}function dF(){if(JL)return YL;JL=1;var e=function(){if(GL)return $L;GL=1;var e=cF(),t=uF(),n=pF();return $L=function(r,o){return n(t(r,o,e),r+"")}}(),t=function(){if(XL)return KL;XL=1;var e=FI(),t=GN(),n=oF(),r=WI();return KL=function(o,i,a){if(!r(a))return!1;var l=typeof i;return!!("number"==l?t(a)&&n(i,a.length):"string"==l&&i in a)&&e(a[i],o)}}();return YL=function(n){return e((function(e,r){var o=-1,i=r.length,a=i>1?r[i-1]:void 0,l=i>2?r[2]:void 0;for(a=n.length>3&&"function"==typeof a?(i--,a):void 0,l&&t(r[0],r[1],l)&&(a=i<3?void 0:a,i=1),e=Object(e);++o<i;){var s=r[o];s&&n(e,s,o,a)}return e}))}}var hF=function(){if(ZL)return QL;ZL=1;var e=function(){if(PL)return ML;PL=1;var e=eN(),t=rN(),n=oN(),r=sF(),o=WI(),i=lF(),a=nF();return ML=function l(s,c,u,f,p){s!==c&&n(c,(function(n,i){if(p||(p=new e),o(n))r(s,c,i,u,l,f,p);else{var d=f?f(a(s,i),n,i+"",s,c,p):void 0;void 0===d&&(d=n),t(s,i,d)}}),i)},ML}(),t=dF()((function(t,n,r){e(t,n,r)}));return QL=t}();const vF={lang:"English",layout:{header:{code:"Code Repository",help:"Document",start:"Dialog",setting:"Setting"},sideNav:{tabConversation:"Conversation",tabFavorite:"Favorites",confirmDelete:"Are you sure you want to delete?",deleteSuccessMsg:"Deleted successfully",deleteAction:"Delete",pinnedAction:"Pin",unpinnedAction:"Unpin",conversationDeleteDialogTitle:"Delete Conversation",conversationDeleteDialogMsg:"Are you sure you want to delete {name}?"}},pages:{note:{detail:"Details",delete:"Delete",tableTitleName:"Title",tableOperation:"Operation",deleteMsgSuccess:"Deletion successful",notePlaceholder:"Enter your note",noteEmptyError:"Note cannot be empty",noteCopySuccess:"Copy successful",noteDeleteConfirm:"Confirm to delete this round of records?",noteRenameTooltip:"Rename",noteCopyTooltip:"Copy",noteDeleteTooltip:"Delete"},setting:{theme:{mode:"Theme Mode",color:"Theme Color",options:{light:"Light",dark:"Dark ",auto:"Follow System"}},element:{showHeader:"Show Header",showNav:"Show Navigation",showBreadcrumb:"Show Breadcrumb",showFooter:"Show Footer"},tips:"Please copy and manually modify the configuration file: /src/config/style.ts",copy:{title:"Copy",success:"copied",fail:"fail to copy"},user:{basic_settings:"Basic Settings",username:"Username",enter_username:"Enter Username",language:"Language",shortcut:"Shortcut",enter_shortcut:"Enter Shortcut",assist_model:"Assist Model",assist_model_tips:"Do not select a model that requires setting the agent id",open_at_login:"Open at Login",minimize_to_bottom_right:"Minimize to Bottom Right",toolbar_settings:"Toolbar Settings",confirm_delete:"Confirm Delete?",import_config:"Import Config",import_local_config:"Import Local Config",import_remote_config:"Import Remote Config",import_success:"Import Successful",import_failed:"Import Failed",theme_settings:"Theme Settings"},model:{add_model:"Create Model",editor_model:"Editor Model",confirm_delete_selected_model:"Confirm Delete Selected Model?",confirm_delete_model:"Are you sure you want to delete {modelName}?",delete_success:"Delete Successful",login_and_close:"Login and close",login_to_get_token:"Login to get Token",model_name:"Name",enter_model_name:"Enter Model Name",model_description:"Description",model_interface:"Interface",login_and_wait:"Login and wait patiently",click_to_enter_auth_code:"Click to enter authorization code, then wait patiently",get_auth_code:"Code",getTokenButtonText:"Get",model_address:"API Base",model_key:"API Key",model:"Model",model_prompt:"Prompt",prompt_tips:"This prompt will be appended to each user message sent",cancel:"Cancel",confirm:"Confirm",submit_success:"Submit Successful",update_success:"Update Successful",get_token_failed:"Failed to get token",get_auth_code_failed:"Failed to get authorization code",get_auth_code_success:"Authorization Success",model_provider_not_exist:"Model provider does not exist, it is recommended to delete it!"},agent:{add_agent:"Create Agent",editor_agent:"Editor Agent",confirm_delete_selected_agent:"Confirm Delete Selected Agent?",confirm_delete_agent:"Are you sure you want to delete {agentName}?",delete_success:"Delete Successful",agent_name:"Agent Name",enter_agent_name:"Enter Agent Name",agent_description:"Agent Description",enter_agent_description:"Enter Agent Description",cancel:"Cancel",confirm:"Confirm",submit_success:"Submit Successful",update_success:"Update Successful"}},conversation:{switchAgent:"Switch Agent",modelTips:"Select models, you can choose 1-{max_model_num} models to start a conversation",emptyModelTips:"No models available, please create a model first",createModel:"Create Model",noSelectModelMsg:"Please select at least one model",edit_current_conversation:"Edit Current Conversation",confirm_delete_all_chat_records:"Are you sure you want to delete all model chat records?",delete_all_chat_records:"Delete All Model Chat Records",confirm_clear_all_context:"Are you sure you want to clear all model context?",clear_all_context:"Clear All Model Context",inherit_model_dialog:"Inherit Model Dialog",api_conversation_settings:"API Conversation Settings",api_agent:"API Agent",api_conversation_id:"API Conversation ID",remarks:"Remarks",question_cannot_be_empty:"Question cannot be empty",please_start_question_again:"Please start the question again",context_cleared:"Context cleared",context_cleared_success:"Context Cleared Successfully",copy_api:"Copy Local API",maximize_minimize:"Maximize/Minimize",stop_answering:"Stop Answering",regenerate_last_conversation:"Regenerate Last Conversation",confirm_delete_chat_history:"Are you sure you want to delete the chat history?",delete_chat_history:"Delete Chat History",confirm_clear_context:"Are you sure you want to clear the context?",clear_context:"Clear Context",inherit_other_model_conversation:"Inherit Other Model Conversation",favorite_failed:"Favorite Failed",favorite_success:"Favorite Successful",extract_core_conversation:"Extract the core of the conversation to form a note title. The format of the answer is: ###This is a concise title###\r\n=====question======\r\n{question}\r\n=====answer======\r\n{answer}",button_tooltip_favourite:"Favourite",button_tooltip_delete:"Delete",button_tooltip_like:"Like",button_tooltip_copy:"Copy",button_tooltip_refresh:"Refresh",dialog_confirm_delete_record:"Confirm to delete this round of record?",current_conversation:"Current Conversation",agent:"Agent",conversation_name:"Conversation Name",conversation_description:"Description",rollback_from_agent:"Rollback from Agent",model:"Model",randomness:"Randomness",context_rounds:"Context Rounds",save_to_agent:"Save to Agent",save_conversation:"Save",save_as_new_agent:"Save as New Agent",create_new_agent:"Create New Agent",agent_name:"Agent Name",save_conversation_success:"Save Successful",enter_agent_name:"Please Enter Agent Name",create_agent_success:"Create Successful",toggle_artifacts:"Toggle Artifacts"}},components:{isSetup:{on:"Enabled",off:"Disabled"},manage:"Manage",delete:"Delete",chatInput:{placeholder:"Please enter your question...",send:"Send"},toolBar:{dialog:"Chat",copy:"Copy",copySuccessMsg:"Copied to clipboard",handing:"Processing...",noAssistModel:"No assist model set",faviorite:"Faviorite"}},componentsLocale:oO(hF)({},{autoComplete:{empty:"Empty Data"},pagination:{itemsPerPage:"{size} / page",jumpTo:"Jump to",page:"",total:"{total} items"},cascader:{empty:"Empty Data",loadingText:"loading...",placeholder:"please select"},calendar:{yearSelection:"{year}",monthSelection:"{month}",yearRadio:"year",monthRadio:"month",hideWeekend:"Hide Week",showWeekend:"Show Week",today:"Today",thisMonth:"This Month",week:"Monday,Tuesday,Wedsday,Thuresday,Friday,Saturday,Sunday",cellMonth:"January,February,March,April,May,June,July,August,September,October,November,December"},transfer:{title:"{checked} / {total}",empty:"Empty Data",placeholder:"enter keyword to search"},timePicker:{dayjsLocale:"en",now:"Now",confirm:"Confirm",anteMeridiem:"AM",postMeridiem:"PM",placeholder:"please select"},dialog:{confirm:"Confirm",cancel:"Cancel"},drawer:{confirm:"Confirm",cancel:"Cancel"},popconfirm:{confirm:{content:"OK"},cancel:{content:"Cancel"}},table:{empty:"Empty Data",loadingText:"loading...",loadingMoreText:"loading more",filterInputPlaceholder:"",sortAscendingOperationText:"click to sort ascending",sortCancelOperationText:"click to cancel sorting",sortDescendingOperationText:"click to sort descending",clearFilterResultButtonText:"Clear",columnConfigButtonText:"Column Config",columnConfigTitleText:"Table Column Config",columnConfigDescriptionText:"Please select columns to show them in the table",confirmText:"Confirm",cancelText:"Cancel",resetText:"Reset",selectAllText:"Select All",searchResultText:'Search "{result}". Find {count} items.'},select:{empty:"Empty Data",loadingText:"loading...",placeholder:"please select"},tree:{empty:"Empty Data"},treeSelect:{empty:"Empty Data",loadingText:"loading...",placeholder:"please select"},datePicker:{dayjsLocale:"en",placeholder:{date:"select date",month:"select month",year:"select year",quarter:"select quarter",week:"select week"},weekdays:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],months:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],quarters:["Q1","Q2","Q3","Q4"],rangeSeparator:" - ",direction:"ltr",format:"YYYY-MM-DD",dayAriaLabel:"D",yearAriaLabel:"Y",monthAriaLabel:"M",weekAbbreviation:"W",confirm:"Confirm",selectTime:"Select Time",selectDate:"Select Date",nextYear:"Next Year",preYear:"Last Year",nextMonth:"Next Month",preMonth:"Last Month",preDecade:"Last Decade",nextDecade:"Next Decade",now:"Now"},upload:{sizeLimitMessage:"File is too large to upload. {sizeLimit}",cancelUploadText:"Cancel",triggerUploadText:{fileInput:"Upload",image:"Click to upload",normal:"Upload",reupload:"ReUpload",continueUpload:"Continue Upload",delete:"Delete",uploading:"Uploading"},dragger:{dragDropText:"Drop here",draggingText:"Drag file to this area to upload",clickAndDragText:'Click "Upload" or Drag file to this area to upload'},file:{fileNameText:"filename",fileSizeText:"size",fileStatusText:"status",fileOperationText:"operation",fileOperationDateText:"date"},progress:{uploadingText:"Uploading",waitingText:"Waiting",failText:"Failed",successText:"Success"}},form:{errorMessage:{date:"${name} is invalid",url:"${name} is invalid",required:"${name} is required",whitespace:"${name} cannot be empty",max:"${name} must be at least ${validate} characters",min:"${name} cannot be longer than ${validate} characters",len:"${name} must be exactly ${validate} characters",enum:"${name} must be one of ${validate}",idcard:"${name} is invalid",telnumber:"${name} is invalid",pattern:"${name} is invalid",validator:"${name} is invalid",boolean:"${name} is not a boolean",number:"${name} must be a number"},colonText:":"},input:{placeholder:"please enter"},list:{loadingText:"loading...",loadingMoreText:"loading more"},alert:{expandText:"expand",collapseText:"collapse"},anchor:{copySuccessText:"copy the link successfully",copyText:"copy link"},colorPicker:{swatchColorTitle:"System Default",recentColorTitle:"Recently Used",clearConfirmText:"Clear recently used colors?",singleColor:"Single",gradientColor:"Gradient"},guide:{finishButtonProps:{content:"Finish",theme:"primary"},nextButtonProps:{content:"Next Step",theme:"primary"},skipButtonProps:{content:"Skip",theme:"default"},prevButtonProps:{content:"Last Step",theme:"default"}},image:{errorText:"unable to load",loadingText:"loading"},imageViewer:{errorText:"unable to load",mirrorTipText:"mirror",rotateTipText:"rotate",originalSizeTipText:"original"},typography:{expandText:"more",collapseText:"collapse",copiedText:"copied"},rate:{rateText:["terrible","disappointed","normal","satisfied","surprised"]},empty:{titleText:{maintenance:"Under Construction",success:"Success",fail:"Failure",empty:"No Data",networkError:"Network Error"}},descriptions:{colonText:":"}},{})},mF=Object.defineProperty({__proto__:null,default:vF},Symbol.toStringTag,{value:"Module"}),gF={lang:"简体中文",layout:{header:{code:"代码仓库",help:"帮助文档",start:"添加对话",setting:"应用设置"},sideNav:{tabConversation:"对话",tabFavorite:"笔记",confirmDelete:"确认删除吗?",deleteSuccessMsg:"删除成功",deleteAction:"删除",pinnedAction:"置顶",unpinnedAction:"取消置顶",conversationDeleteDialogTitle:"删除会话",conversationDeleteDialogMsg:"确认删除 {name} 吗?"}},pages:{note:{detail:"详情",delete:"删除",tableTitleName:"标题",tableOperation:"操作",deleteMsgSuccess:"删除成功",noteCopySuccess:"复制成功",notePlaceholder:"输入你的笔记,@+模型名 可以进行对话,@ai使用辅助模型",noteEmptyError:"笔记不能为空",noteDeleteConfirm:"确认删除该轮记录吗?",noteRenameTooltip:"重命名",noteCopyTooltip:"复制",noteDeleteTooltip:"删除"},setting:{theme:{mode:"主题模式",color:"主题色",options:{light:"明亮",dark:"暗黑",auto:"跟随系统"}},element:{showHeader:"显示顶栏",showNav:"显示顶栏菜单",showBreadcrumb:"显示面包屑",showFooter:"显示页脚"},tips:"请复制后手动修改配置文件: /src/config/style.ts",copy:{title:"复制配置项",success:"复制成功",fail:"复制失败"},user:{basic_settings:"基础设置",username:"用户名",enter_username:"请输入用户名",language:"语言",shortcut:"快捷键",enter_shortcut:"请输入快捷键",assist_model:"辅助模型",assist_model_tips:"辅助模型,工具条和搜索框的模型",open_at_login:"开机启动",remoteHost:"远程服务器",minimize_to_bottom_right:"关闭最小化到右下角",toolbar_settings:"工具条设置",confirm_delete:"确认删除吗?",import_config:"导入配置",import_local_config:"导入本地配置",import_remote_config:"导入文件(缓存)",import_success:"导入成功",import_failed:"导入失败",theme_settings:"主题设置",export_local_config:"导出本地配置",write_config_to_host:"将配置写入缓存",write_config_success:"保存成功",write_config_failed:"保存失败",server_pwd:"服务器密钥"},model:{add_model:"新建模型",editor_model:"编辑模型",confirm_delete_selected_model:"确认删除所选模型?",confirm_delete_model:"确认删除{modelName}吗?",delete_success:"删除模型成功",login_and_close:"登录后,关闭即可",login_to_get_token:"登录获取Token",model_name:"模型名称",enter_model_name:"请输入模型名称",model_description:"模型简介",model_interface:"模型接口",login_and_wait:"登录后耐心等待",click_to_enter_auth_code:"点击输入授权码,然后耐心等待",get_auth_code:"获取授权码",model_address:"模型地址",model_key:"模型密钥",model:"模型",getTokenButtonText:"获取",cleanTokenButtonText:"清除",model_prompt:"模型PROMPT",prompt_tips:"该prompt会附加到每次发送的用户消息上",cancel:"取消",confirm:"确定",submit_success:"提交成功",update_success:"修改成功",get_token_failed:"获取token失败",get_auth_code_failed:"获取认证码失败",get_auth_code_success:"获取认证码成功",model_provider_not_exist:"模型提供器不存在,建议删除!"},agent:{add_agent:"新建智能体",editor_agent:"编辑智能体",confirm_delete_selected_agent:"确认删除所选智能体吗?",confirm_delete_agent:"确认删除{agentName}吗?",delete_success:"删除成功",agent_name:"角色名称",enter_agent_name:"请输入智能体名称",agent_description:"设定描述",enter_agent_description:"请输入智能体内容",cancel:"取消",confirm:"确定",submit_success:"提交成功",update_success:"修改成功"}},conversation:{switchAgent:"更换智能体",modelTips:"选择模型,可选择1-{max_model_num}个模型开始对话",emptyModelTips:"暂无模型,请先创建模型",createModel:"创建模型",noSelectModelMsg:"请至少选择一个模型",edit_current_conversation:"编辑当前会话",confirm_delete_all_chat_records:"确认删除所有模型聊天记录吗?",delete_all_chat_records:"删除所有模型聊天记录",confirm_clear_all_context:"确认清除所有模型上下文吗?",clear_all_context:"清除所有模型上下文",inherit_model_dialog:"继承模型对话",api_conversation_settings:"API会话设置",api_agent:"API的智能体",api_conversation_id:"API的会话ID",api_conversation_id_random:"生成",remarks:"备注",question_cannot_be_empty:"问题不能为空",please_start_question_again:"请重新开始提问",context_cleared:"上下文已清除",context_cleared_success:"上下文已清除",copy_api:"复制LocalAPI",maximize_minimize:"放大缩小",stop_answering:"停止回答",internet_search:"联网搜索",regenerate_last_conversation:"重新生成最后一次对话",confirm_delete_chat_history:"确认删除聊天记录吗?",delete_chat_history:"删除聊天记录",confirm_clear_context:"确认清除上下文吗?",clear_context:"清除上下文",inherit_other_model_conversation:"继承其他大模型对话",favorite_failed:"收藏失败",favorite_success:"收藏成功",extract_core_conversation:"提炼对话核心,形成笔记标题.回答的格式为: ###这是一个精简后的标题### \r\n=====用户的问题======\r\n{question}\r\n=====问题的答案======\r\n{answer}",button_tooltip_favourite:"收藏",button_tooltip_delete:"删除",button_tooltip_like:"点赞",button_tooltip_copy:"复制",button_tooltip_refresh:"重新生成",button_tooltip_editor:"编辑",dialog_confirm_delete_record:"确认删除该轮记录吗?",current_conversation:"当前会话",agent:"智能体",conversation_name:"会话名称",conversation_description:"设定描述",rollback_from_agent:"从智能体恢复",model:"模型",temperature:"随机性",stream:"stream",maxTokens:"响应长度",topP:"topP",context_rounds:"携带上下文轮数",save_to_agent:"同时保存到智能体",save_conversation:"保存",save_as_new_agent:"保存为新的智能体",create_new_agent:"新建智能体",agent_name:"智能体名称",save_conversation_success:"保存成功",enter_agent_name:"请输入智能体名称",create_agent_success:"创建成功",toggle_artifacts:"显示制品"}},components:{isSetup:{on:"已启用",off:"已停用"},manage:"管理",delete:"删除",chatInput:{placeholder:"请输入你想问的问题...",send:"发送"},toolBar:{dialog:"对话",copy:"复制",copySuccessMsg:"已复制到剪贴板",handing:"处理中...",noAssistModel:"未设置辅助模型",faviorite:"收藏"}},componentsLocale:od},yF=Object.defineProperty({__proto__:null,default:gF},Symbol.toStringTag,{value:"Module"}),bF=Object.assign({"./lang/en_US/index.ts":mF,"./lang/zh_CN/index.ts":yF}),_F=new Map,wF=[],xF="tdesign-starter-locale",OF=function(e={}){const{window:t=fT}=e;if(!t)return en(["en"]);const n=t.navigator,r=en(n.languages);return dT(t,"languagechange",(()=>{r.value=n.languages}),{passive:!0}),r}(),EF=()=>{Object.keys(bF).forEach((e=>{const t=e.replace("./lang",""),n=t.lastIndexOf("/"),r=t.substring(1,n);wF.push(r),_F.set(r,bF[e])}))},SF=Ia((()=>{EF();const e={};return _F.forEach(((t,n)=>{e[n]=t.default})),e})),CF=function(e={}){const t=__VUE_I18N_LEGACY_API__&&qT(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=!qT(e.globalInjection)||e.globalInjection,r=new Map,[o,i]=function(e,t){const n=Me(),r=__VUE_I18N_LEGACY_API__&&t?n.run((()=>Tj(e))):n.run((()=>kj(e)));if(null==r)throw pj(fj);return[n,r]}(e,t),a=TT(""),l={ +// mode +get mode(){return __VUE_I18N_LEGACY_API__&&t?"legacy":"composition"}, +// install plugin +async install(e,...r){if(e.__VUE_I18N_SYMBOL__=a,e.provide(e.__VUE_I18N_SYMBOL__,l),XT(r[0])){const e=r[0];l.__composerExtend=e.__composerExtend,l.__vueI18nExtend=e.__vueI18nExtend}let o=null;!t&&n&&(o=function(e,t){const n=Object.create(null);Uj.forEach((e=>{const r=Object.getOwnPropertyDescriptor(t,e);if(!r)throw pj(fj);const o=Zt(r.value)?{get:()=>r.value.value, +// eslint-disable-next-line @typescript-eslint/no-explicit-any +set(e){r.value.value=e}}:{get:()=>r.get&&r.get()};Object.defineProperty(n,e,o)})),e.config.globalProperties.$i18n=n,Hj.forEach((n=>{const r=Object.getOwnPropertyDescriptor(t,n);if(!r||!r.value)throw pj(fj);Object.defineProperty(e.config.globalProperties,`$${n}`,r)}));const r=()=>{delete e.config.globalProperties.$i18n,Hj.forEach((t=>{delete e.config.globalProperties[`$${t}`]}))};return r}(e,l.global)),__VUE_I18N_FULL_INSTALL__&&Bj(e,l,...r),__VUE_I18N_LEGACY_API__&&t&&e.mixin(function(e,t,n){return{beforeCreate(){const r=ya();if(!r)throw pj(fj);const o=this.$options;if(o.i18n){const r=o.i18n;if(o.__i18n&&(r.__i18n=o.__i18n),r.__root=t,this===this.$root)this.$i18n=Mj(e,r);else{r.__injectWithOption=!0,r.__extender=n.__vueI18nExtend,this.$i18n=Tj(r);const e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=Mj(e,o);else{this.$i18n=Tj({__i18n:o.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}else this.$i18n=e;o.__i18nGlobal&&xj(t,o,o),this.$t=(...e)=>this.$i18n.t(...e),this.$rt=(...e)=>this.$i18n.rt(...e),this.$te=(e,t)=>this.$i18n.te(e,t),this.$d=(...e)=>this.$i18n.d(...e),this.$n=(...e)=>this.$i18n.n(...e),this.$tm=e=>this.$i18n.tm(e),n.__setInstance(r,this.$i18n)},mounted(){},unmounted(){const e=ya();if(!e)throw pj(fj);const t=this.$i18n;delete this.$t,delete this.$rt,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,t.__disposer&&(t.__disposer(),delete t.__disposer,delete t.__extender),n.__deleteInstance(e),delete this.$i18n}}}(i,i.__composer,l));const s=e.unmount;e.unmount=()=>{o&&o(),l.dispose(),s()}}, +// global accessor +get global(){return i},dispose(){o.stop()}, +// @internal +__instances:r, +// @internal +__getInstance:function(e){return r.get(e)||null}, +// @internal +__setInstance:function(e,t){r.set(e,t)}, +// @internal +__deleteInstance:function(e){r.delete(e)}};return l}({legacy:!1,locale:CT(xF,"zh_CN").value||OF.value[0]||"zh_CN",fallbackLocale:"zh_CN",messages:SF.value,globalInjection:!0}),AF=Ia((()=>{0===_F.size&&EF();const e=[];return _F.forEach(((t,n)=>{e.push({content:t.default.lang,value:n})})),e})),{t:kF}=CF.global;function TF(){const{locale:e}=Vj({useScope:"global"});return{changeLocale:function(t){wF.includes(t)||(t="zh_CN"),e.value=t,CT(xF,"zh_CN").value=t},getComponentsLocale:Ia((()=>CF.global.getLocaleMessage(e.value).componentsLocale)),locale:e}} +/*! + * pinia v2.3.1 + * (c) 2025 Eduardo San Martin Morote + * @license MIT + */let MF;const PF=e=>MF=e,jF= +/* istanbul ignore next */Symbol();function DF(e){return e&&"object"==typeof e&&"[object Object]"===Object.prototype.toString.call(e)&&"function"!=typeof e.toJSON}var IF,NF;(NF=IF||(IF={})).direct="direct",NF.patchObject="patch object",NF.patchFunction="patch function";const LF=()=>{};function FF(e,t,n,r=LF){e.push(t);const o=()=>{const n=e.indexOf(t);n>-1&&(e.splice(n,1),r())};return!n&&Pe()&&je(o),o}function RF(e,...t){e.slice().forEach((e=>{e(...t)}))}const BF=e=>e(),zF=Symbol(),VF=Symbol();function UF(e,t){e instanceof Map&&t instanceof Map?t.forEach(((t,n)=>e.set(n,t))):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],o=e[n];DF(o)&&DF(r)&&e.hasOwnProperty(n)&&!Zt(r)&&!qt(r)?e[n]=UF(o,r):e[n]=r}return e}const HF= +/* istanbul ignore next */Symbol();const{assign:WF}=Object;function qF(e,t,n={},r,o,i){let a;const l=WF({actions:{}},n),s={deep:!0};let c,u,f,p=[],d=[];const h=r.state.value[e];let v;function m(t){let n;c=u=!1,"function"==typeof t?(t(r.state.value[e]),n={type:IF.patchFunction,storeId:e,events:f}):(UF(r.state.value[e],t),n={type:IF.patchObject,payload:t,storeId:e,events:f});const o=v=Symbol();In().then((()=>{v===o&&(c=!0)})),u=!0,RF(p,n,r.state.value[e])}i||h||(r.state.value[e]={}),en({});const g=i?function(){const{state:e}=n,t=e?e():{};this.$patch((e=>{WF(e,t)}))}: +/* istanbul ignore next */LF;const y=(t,n="")=>{if(zF in t)return t[VF]=n,t;const o=function(){PF(r);const n=Array.from(arguments),i=[],a=[];let l;RF(d,{args:n,name:o[VF],store:b,after:function(e){i.push(e)},onError:function(e){a.push(e)}});try{l=t.apply(this&&this.$id===e?this:b,n)}catch(s){throw RF(a,s),s}return l instanceof Promise?l.then((e=>(RF(i,e),e))).catch((e=>(RF(a,e),Promise.reject(e)))):(RF(i,l),l)};return o[zF]=!0,o[VF]=n,o},b=zt({_p:r, +// _s: scope, +$id:e,$onAction:FF.bind(null,d),$patch:m,$reset:g,$subscribe(t,n={}){const o=FF(p,t,n.detached,(()=>i())),i=a.run((()=>yi((()=>r.state.value[e]),(r=>{("sync"===n.flush?u:c)&&t({storeId:e,type:IF.direct,events:f},r)}),WF({},s,n))));return o},$dispose:function(){a.stop(),p=[],d=[],r._s.delete(e)}});r._s.set(e,b);const _=(r._a&&r._a.runWithContext||BF)((()=>r._e.run((()=>(a=Me()).run((()=>t({action:y})))))));for(const O in _){const t=_[O];if(Zt(t)&&(!Zt(x=t)||!x.effect)||qt(t))i||(!h||DF(w=t)&&w.hasOwnProperty(HF)||(Zt(t)?t.value=h[O]:UF(t,h[O])),r.state.value[e][O]=t);else if("function"==typeof t){const e=y(t,O);_[O]=e,l.actions[O]=t}}var w,x;return WF(b,_),WF(Xt(b),_),Object.defineProperty(b,"$state",{get:()=>r.state.value[e],set:e=>{m((t=>{WF(t,e)}))}}),r._p.forEach((e=>{WF(b,a.run((()=>e({store:b,app:r._a,pinia:r,options:l}))))})),h&&i&&n.hydrate&&n.hydrate(b.$state,h),c=!0,u=!0,b} +/*! #__NO_SIDE_EFFECTS__ */ +// @__NO_SIDE_EFFECTS__ +function $F(e,t,n){let r,o;const i="function"==typeof t;function a(e,n){const a=Ho();(e=// in test mode, ignore the argument provided as we can always retrieve a +// pinia instance with getActivePinia() +e||(a?Uo(jF,null):null))&&PF(e),(e=MF)._s.has(r)||(i?qF(r,t,o,e):function(e,t,n){const{state:r,actions:o,getters:i}=t,a=n.state.value[e];let l;l=qF(e,(function(){a||(n.state.value[e]=r?r():{});const t=fn(n.state.value[e]);return WF(t,o,Object.keys(i||{}).reduce(((t,r)=>(t[r]=Yt(Ia((()=>{PF(n);const t=n._s.get(e);return i[r].call(t,t)}))),t)),{}))}),t,n,0,!0)}(r,o,e));return e._s.get(r)}return"string"==typeof e?(r=e,o=i?n:t):(o=e,r=e.id),a.$id=r,a}const GF=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,KF=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,XF=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function YF(e,t){if(!("__proto__"===e||"constructor"===e&&t&&"object"==typeof t&&"prototype"in t))return t}function JF(e,t){if(null==e)return;let n=e;for(let r=0;r<t.length;r++){if(null==n||null==n[t[r]])return;n=n[t[r]]}return n}function QF(e,t,n){if(0===n.length)return t;const r=n[0];return n.length>1&&(t=QF("object"==typeof e&&null!==e&&Object.prototype.hasOwnProperty.call(e,r)?e[r]:Number.isInteger(Number(n[1]))?[]:{},t,Array.prototype.slice.call(n,1))),Number.isInteger(Number(r))&&Array.isArray(e)?e.slice()[r]:Object.assign({},e,{[r]:t})}function ZF(e,t){if(null==e||0===t.length)return e;if(1===t.length){if(null==e)return e;if(Number.isInteger(t[0])&&Array.isArray(e))return Array.prototype.slice.call(e,0).splice(t[0],1);const n={};for(const t in e)n[t]=e[t];return delete n[t[0]],n}if(null==e[t[0]]){if(Number.isInteger(t[0])&&Array.isArray(e))return Array.prototype.concat.call([],e);const n={};for(const t in e)n[t]=e[t];return n}return QF(e,ZF(e[t[0]],Array.prototype.slice.call(t,1)),[t[0]])}function eR(e,t){return t.map((e=>e.split("."))).map((t=>[t,JF(e,t)])).filter((e=>void 0!==e[1])).reduce(((e,t)=>QF(e,t[1],t[0])),{})}function tR(e,t){return t.map((e=>e.split("."))).reduce(((e,t)=>ZF(e,t)),e)}function nR(e,{storage:t,serializer:n,key:r,debug:o,pick:i,omit:a,beforeHydrate:l,afterHydrate:s},c,u=!0){try{u&&(null==l||l(c));const o=t.getItem(r);if(o){const t=n.deserialize(o),r=i?eR(t,i):t,l=a?tR(r,a):r;e.$patch(l)}u&&(null==s||s(c))}catch(f){}}function rR(e,{storage:t,serializer:n,key:r,debug:o,pick:i,omit:a}){try{const o=i?eR(e,i):e,l=a?tR(o,a):o,s=n.serialize(l);t.setItem(r,s)}catch(l){}}const oR={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",fill:"currentColor","fill-rule":"evenodd",style:{flex:"0 0 auto","line-height":"1"},viewBox:"0 0 24 24"};const iR={render:function(e,t){return qi(),Yi("svg",oR,t[0]||(t[0]=[na("path",{d:"M21.55 10.004a5.42 5.42 0 0 0-.478-4.501c-1.217-2.09-3.662-3.166-6.05-2.66A5.6 5.6 0 0 0 10.831 1C8.39.995 6.224 2.546 5.473 4.838A5.55 5.55 0 0 0 1.76 7.496a5.49 5.49 0 0 0 .691 6.5 5.42 5.42 0 0 0 .477 4.502c1.217 2.09 3.662 3.165 6.05 2.66A5.59 5.59 0 0 0 13.168 23c2.443.006 4.61-1.546 5.361-3.84a5.55 5.55 0 0 0 3.715-2.66 5.49 5.49 0 0 0-.693-6.497zm-8.381 11.558a4.2 4.2 0 0 1-2.675-.954c.034-.018.093-.05.132-.074l4.44-2.53a.71.71 0 0 0 .364-.623v-6.176l1.877 1.069q.03.017.036.05v5.115c-.003 2.274-1.87 4.118-4.174 4.123M4.192 17.78a4.06 4.06 0 0 1-.498-2.763c.032.02.09.055.131.078l4.44 2.53c.225.13.504.13.73 0l5.42-3.088v2.138a.07.07 0 0 1-.027.057L9.9 19.288c-1.999 1.136-4.552.46-5.707-1.51h-.001zM3.023 8.216A4.15 4.15 0 0 1 5.198 6.41l-.002.151v5.06a.71.71 0 0 0 .364.624l5.42 3.087-1.876 1.07a.07.07 0 0 1-.063.005l-4.489-2.559c-1.995-1.14-2.679-3.658-1.53-5.63h.001zm15.417 3.54-5.42-3.088L14.896 7.6a.07.07 0 0 1 .063-.006l4.489 2.557c1.998 1.14 2.683 3.662 1.529 5.633a4.16 4.16 0 0 1-2.174 1.807V12.38a.71.71 0 0 0-.363-.623zm1.867-2.773-.132-.078-4.44-2.53a.73.73 0 0 0-.729 0l-5.42 3.088V7.325a.07.07 0 0 1 .027-.057L14.1 4.713c2-1.137 4.555-.46 5.707 1.513.487.833.664 1.809.499 2.757zm-11.741 3.81-1.877-1.068a.07.07 0 0 1-.036-.051V6.559c.001-2.277 1.873-4.122 4.181-4.12.976 0 1.92.338 2.671.954-.034.018-.092.05-.131.073l-4.44 2.53a.71.71 0 0 0-.365.623zv.002zm1.02-2.168L12 9.25l2.414 1.375v2.75L12 14.75l-2.415-1.375z"},null,-1)]))}},aR={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",fill:"currentColor","fill-rule":"evenodd",style:{flex:"0 0 auto","line-height":"1"},viewBox:"0 0 24 24"};const lR={render:function(e,t){return qi(),Yi("svg",aR,t[0]||(t[0]=[na("path",{d:"M12.036 2c-3.853-.035-7 3-7.036 6.781-.035 3.782 3.055 6.872 6.908 6.907h2.42v-2.566h-2.292c-2.407.028-4.38-1.866-4.408-4.23-.029-2.362 1.901-4.298 4.308-4.326h.1c2.407 0 4.358 1.915 4.365 4.278v6.305c0 2.342-1.944 4.25-4.323 4.279a4.38 4.38 0 0 1-3.033-1.252l-1.851 1.818A7 7 0 0 0 12.029 22h.092c3.803-.056 6.858-3.083 6.879-6.816v-6.5C18.907 4.963 15.817 2 12.036 2"},null,-1)]))}},sR={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",style:{flex:"0 0 auto","line-height":"1"},viewBox:"0 0 24 24"};const cR={render:function(e,t){return qi(),Yi("svg",sR,t[0]||(t[0]=[na("path",{fill:"#3859FF",d:"M11.991 23.503a.24.24 0 0 0-.244.248.24.24 0 0 0 .244.249.24.24 0 0 0 .245-.249.24.24 0 0 0-.22-.247zM9.671 5.365a1.697 1.697 0 0 1 1.099 2.132l-.071.172-.016.04-.018.054c-.07.16-.104.32-.104.498-.035.71.47 1.279 1.186 1.314h.366c1.309.053 2.338 1.173 2.286 2.523-.052 1.332-1.152 2.38-2.478 2.327h-.174c-.715.018-1.274.64-1.239 1.368 0 .124.018.23.053.337.209.373.54.658.96.8.75.23 1.517-.125 1.9-.782l.018-.035c.402-.64 1.17-.96 1.92-.711.854.284 1.378 1.226 1.099 2.167a1.66 1.66 0 0 1-2.077 1.102 1.7 1.7 0 0 1-.907-.711l-.017-.035c-.2-.323-.463-.58-.851-.711l-.056-.018a1.646 1.646 0 0 0-1.954.746 1.66 1.66 0 0 1-1.065.764 1.677 1.677 0 0 1-1.989-1.279c-.209-.906.332-1.83 1.257-2.043a1.5 1.5 0 0 1 .296-.035h.018c.68-.071 1.151-.622 1.116-1.333a1.3 1.3 0 0 0-.227-.693 2.5 2.5 0 0 1-.366-1.403 2.4 2.4 0 0 1 .366-1.208c.14-.195.21-.444.227-.693.018-.71-.506-1.261-1.186-1.332l-.07-.018a1.4 1.4 0 0 1-.299-.07l-.05-.019a1.7 1.7 0 0 1-1.047-2.114 1.68 1.68 0 0 1 2.094-1.101m-5.575 10.11c.26-.264.639-.367.994-.27s.633.379.728.74c.095.362-.007.748-.267 1.013-.402.41-1.053.41-1.455 0a1.06 1.06 0 0 1 0-1.482zm14.845-.294c.359-.09.738.024.992.297.254.274.344.665.237 1.025s-.396.634-.756.718c-.551.128-1.1-.22-1.23-.781a1.05 1.05 0 0 1 .757-1.26zm-.064-4.39c.314.32.49.753.49 1.206s-.176.886-.49 1.206c-.315.32-.74.5-1.185.5-.444 0-.87-.18-1.184-.5a1.727 1.727 0 0 1 0-2.412 1.654 1.654 0 0 1 2.369 0m-11.243.163c.364.484.447 1.128.218 1.691a1.665 1.665 0 0 1-2.188.923c-.855-.36-1.26-1.358-.907-2.228a1.68 1.68 0 0 1 1.33-1.038 1.66 1.66 0 0 1 1.547.652m11.545-4.221c.368 0 .708.2.892.524s.184.724 0 1.048a1.03 1.03 0 0 1-.892.524 1.04 1.04 0 0 1-1.03-1.048 1.04 1.04 0 0 1 1.03-1.048m-14.358 0c.368 0 .707.2.891.524s.184.724 0 1.048a1.03 1.03 0 0 1-.891.524 1.04 1.04 0 0 1-1.03-1.048c0-.579.461-1.048 1.03-1.048m10.031-1.475c.925 0 1.675.764 1.675 1.706s-.75 1.705-1.675 1.705-1.674-.763-1.674-1.705.75-1.706 1.674-1.706m-2.626-.684c.362-.082.653-.356.761-.718a1.06 1.06 0 0 0-.238-1.028 1.02 1.02 0 0 0-.996-.294c-.547.14-.881.7-.752 1.257.13.558.675.907 1.225.783m0 16.876c.359-.087.644-.36.75-.72a1.06 1.06 0 0 0-.237-1.019 1.02 1.02 0 0 0-.985-.301 1.04 1.04 0 0 0-.762.717c-.108.361-.017.754.239 1.028.245.263.606.377.953.305zM17.19 3.5a.63.63 0 0 0 .628-.64.63.63 0 0 0-.628-.64.63.63 0 0 0-.628.64c0 .355.28.64.628.64m-10.38 0a.63.63 0 0 0 .628-.64c0-.355-.28-.64-.628-.64a.63.63 0 0 0-.628.64c0 .355.279.64.628.64m-5.182 7.852a.63.63 0 0 0-.628.64c0 .354.28.639.628.639a.63.63 0 0 0 .627-.606l.001-.034a.62.62 0 0 0-.628-.64zm5.182 9.13a.63.63 0 0 0-.628.64c0 .355.279.64.628.64a.63.63 0 0 0 .628-.64c0-.355-.28-.64-.628-.64m10.38.018a.63.63 0 0 0-.628.64c0 .355.28.64.628.64a.63.63 0 0 0 .628-.64.63.63 0 0 0-.628-.64m5.182-9.148a.63.63 0 0 0-.628.64c0 .354.279.639.628.639a.63.63 0 0 0 .628-.64c0-.355-.28-.64-.628-.64zm-.384-4.992a.24.24 0 0 0 .244-.249.24.24 0 0 0-.244-.249.24.24 0 0 0-.244.249c0 .142.122.249.244.249M11.991.497a.24.24 0 0 0 .245-.248A.24.24 0 0 0 11.99 0a.24.24 0 0 0-.244.249c0 .133.108.236.223.247zM2.011 6.36a.24.24 0 0 0 .245-.249.24.24 0 0 0-.244-.249.24.24 0 0 0-.244.249.24.24 0 0 0 .244.249zm0 11.263a.24.24 0 0 0-.243.248.24.24 0 0 0 .244.249.24.24 0 0 0 .244-.249.25.25 0 0 0-.244-.248zm19.995-.018a.24.24 0 0 0-.245.248.24.24 0 0 0 .245.25.24.24 0 0 0 .244-.25.25.25 0 0 0-.244-.248"},null,-1)]))}},uR={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",style:{"shape-rendering":"geometricPrecision","text-rendering":"geometricPrecision","image-rendering":"optimizeQuality","fill-rule":"evenodd","clip-rule":"evenodd"}};const fR={render:function(e,t){return qi(),Yi("svg",uR,t[0]||(t[0]=[la('<path fill="#ab75ff" d="M30.5 8.5q-1.724.436-2 2.5a54 54 0 0 0 1 4.5 24.4 24.4 0 0 0-10 1.5q-2.889.634-3 3.5h-1q.098-.657-.5-1-9.58 7.165-7.5 19-1.734-11.734-.5-24Q11.224 1.762 24.5 4q3.37 1.915 6 4.5" style="opacity:1;"></path><path fill="#4c55f9" d="M30.5 8.5q4.957 5.46 10 11a34.5 34.5 0 0 0-11-3v-1a54 54 0 0 1-1-4.5q.276-2.064 2-2.5" style="opacity:1;"></path><path fill="#61e5c7" d="M29.5 16.5a34.5 34.5 0 0 1 11 3q3.959 1.809 2.5 6-1.82 6.555-7.5 10a63.8 63.8 0 0 1-12 6 5.73 5.73 0 0 0 1-3q3.505-3.698 4.5-9 .749-6.48.5-13" style="opacity:1;"></path><path fill="#eee3ff" d="M29.5 15.5v1q-7.231-.072-13 4 .111-2.866 3-3.5a24.4 24.4 0 0 1 10-1.5" style="opacity:.996;"></path><path fill="#4748fc" d="M15.5 20.5q-4.106 6.253-2 13 1.65 2.022 3 4.5 3.97.746 8 .5a5.73 5.73 0 0 1-1 3q-5.192 2.387-11 2-1.143-2.643-4-3-1.257-.513-1-2-2.08-11.835 7.5-19 .598.343.5 1" style="opacity:1;"></path><path fill="#bfc2fe" d="M15.5 20.5h1a37 37 0 0 0-3 13q-2.106-6.747 2-13" style="opacity:1;"></path><path fill="#bcb5ff" d="M8.5 40.5q2.857.357 4 3-2.857-.357-4-3" style="opacity:1;"></path><path fill="#f1f6fd" d="M35.5 35.5q-9.635 10.043-23 8 5.808.387 11-2a63.8 63.8 0 0 0 12-6" style="opacity:.498;"></path>',8)]))}},pR={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",fill:"currentColor","fill-rule":"evenodd",style:{flex:"0 0 auto","line-height":"1"},viewBox:"0 0 24 24"};const dR={render:function(e,t){return qi(),Yi("svg",pR,t[0]||(t[0]=[na("path",{d:"M18.62 13.927c.611 0 1.107.505 1.107 1.128v5.817c0 .623-.496 1.128-1.108 1.128a1.12 1.12 0 0 1-1.108-1.128v-5.817c0-.623.496-1.128 1.108-1.128zM16.59 3.052a1.094 1.094 0 0 1 1.562-.129c.466.404.522 1.116.126 1.59l-5.938 7.111v9.147c0 .624-.496 1.129-1.108 1.129a1.12 1.12 0 0 1-1.108-1.129v-9.477l.003-.088.01-.087a1.14 1.14 0 0 1 .261-.654zM2.906 2.256a1.094 1.094 0 0 1 1.559.157l4.387 5.45a1.14 1.14 0 0 1-.155 1.587 1.094 1.094 0 0 1-1.559-.157l-4.387-5.45a1.144 1.144 0 0 1 .06-1.498l.095-.09z"},null,-1),na("ellipse",{cx:"20.146",cy:"10.692",fill:"#00FF25",rx:"1.354",ry:"1.379"},null,-1)]))}},hR={xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",fill:"none"};const vR={render:function(e,t){return qi(),Yi("svg",hR,t[0]||(t[0]=[la('<rect width="36" height="36" x="2" y="2" fill="#4D53E8" rx="6"></rect><g filter="url(#a)"><path fill="#fff" fill-rule="evenodd" d="M20.15 7.672c-5.204 0-9.423 4.22-9.423 9.427v3.954H8.464c-2.597 0-3.184 3.643-.719 4.46l2.982.988v1.707c0 1.687 1.775 2.784 3.283 2.03l1.651-.826a.14.14 0 0 1 .196.082c1.338 4.179 7.248 4.179 8.587 0a.14.14 0 0 1 .195-.082l1.652.826c1.508.754 3.283-.343 3.283-2.03v-1.707l2.981-.988c2.466-.817 1.879-4.46-.719-4.46h-2.262v-3.954c0-5.206-4.22-9.427-9.424-9.427" clip-rule="evenodd"></path></g><g filter="url(#b)"><path fill="url(#c)" d="M23.343 21.964a.912.912 0 1 1 1.824 0 .912.912 0 0 1-1.825 0Z"></path></g><g filter="url(#d)"><path fill="url(#e)" d="M17.248 25.324a.912.912 0 0 1 1.29-1.29c.89.89 2.333.89 3.224 0a.912.912 0 1 1 1.29 1.29 4.1 4.1 0 0 1-5.804 0"></path></g><g filter="url(#f)"><path fill="url(#g)" d="M16.047 20.14a.91.91 0 0 0-.912.912v1.825a.912.912 0 1 0 1.824 0v-1.825a.91.91 0 0 0-.912-.912"></path></g><defs><filter id="a" width="30.351" height="27.956" x="4.975" y="6.472" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"></feColorMatrix><feOffset dy=".6"></feOffset><feGaussianBlur stdDeviation=".6"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix values="0 0 0 0 0.165547 0 0 0 0 0.177065 0 0 0 0 0.463086 0 0 0 0.2 0"></feColorMatrix><feBlend in2="BackgroundImageFix" result="effect1_dropShadow_1054_7681"></feBlend><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"></feColorMatrix><feOffset dy=".3"></feOffset><feGaussianBlur stdDeviation=".3"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix values="0 0 0 0 0.164706 0 0 0 0 0.176471 0 0 0 0 0.462745 0 0 0 0.1 0"></feColorMatrix><feBlend in2="effect1_dropShadow_1054_7681" result="effect2_dropShadow_1054_7681"></feBlend><feBlend in="SourceGraphic" in2="effect2_dropShadow_1054_7681" result="shape"></feBlend><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"></feColorMatrix><feOffset dy="1.2"></feOffset><feGaussianBlur stdDeviation="1.2"></feGaussianBlur><feComposite in2="hardAlpha" k2="-1" k3="1" operator="arithmetic"></feComposite><feColorMatrix values="0 0 0 0 0.301961 0 0 0 0 0.32549 0 0 0 0 0.909804 0 0 0 0.1 0"></feColorMatrix><feBlend in2="shape" result="effect3_innerShadow_1054_7681"></feBlend><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"></feColorMatrix><feOffset dy="-1.2"></feOffset><feGaussianBlur stdDeviation="1.2"></feGaussianBlur><feComposite in2="hardAlpha" k2="-1" k3="1" operator="arithmetic"></feComposite><feColorMatrix values="0 0 0 0 0.301961 0 0 0 0 0.32549 0 0 0 0 0.909804 0 0 0 0.15 0"></feColorMatrix><feBlend in2="effect3_innerShadow_1054_7681" result="effect4_innerShadow_1054_7681"></feBlend><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"></feColorMatrix><feOffset dy="-1.2"></feOffset><feGaussianBlur stdDeviation=".9"></feGaussianBlur><feComposite in2="hardAlpha" k2="-1" k3="1" operator="arithmetic"></feComposite><feColorMatrix values="0 0 0 0 0.301961 0 0 0 0 0.32549 0 0 0 0 0.909804 0 0 0 0.15 0"></feColorMatrix><feBlend in2="effect4_innerShadow_1054_7681" result="effect5_innerShadow_1054_7681"></feBlend></filter><filter id="b" width="3.624" height="3.925" x="22.442" y="20.302" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"></feColorMatrix><feOffset dy=".45"></feOffset><feGaussianBlur stdDeviation=".45"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"></feColorMatrix><feBlend in2="BackgroundImageFix" result="effect1_dropShadow_1054_7681"></feBlend><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"></feColorMatrix><feOffset dy="-.15"></feOffset><feGaussianBlur stdDeviation=".3"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix values="0 0 0 0 0.301961 0 0 0 0 0.32549 0 0 0 0 0.909804 0 0 0 0.4 0"></feColorMatrix><feBlend in2="effect1_dropShadow_1054_7681" result="effect2_dropShadow_1054_7681"></feBlend><feBlend in="SourceGraphic" in2="effect2_dropShadow_1054_7681" result="shape"></feBlend></filter><filter id="d" width="8.138" height="4.86" x="16.081" y="23.016" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"></feColorMatrix><feOffset dy=".45"></feOffset><feGaussianBlur stdDeviation=".45"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"></feColorMatrix><feBlend in2="BackgroundImageFix" result="effect1_dropShadow_1054_7681"></feBlend><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"></feColorMatrix><feOffset dy="-.15"></feOffset><feGaussianBlur stdDeviation=".3"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix values="0 0 0 0 0.301961 0 0 0 0 0.32549 0 0 0 0 0.909804 0 0 0 0.4 0"></feColorMatrix><feBlend in2="effect1_dropShadow_1054_7681" result="effect2_dropShadow_1054_7681"></feBlend><feBlend in="SourceGraphic" in2="effect2_dropShadow_1054_7681" result="shape"></feBlend></filter><filter id="f" width="3.624" height="5.749" x="14.235" y="19.39" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"></feColorMatrix><feOffset dy=".45"></feOffset><feGaussianBlur stdDeviation=".45"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"></feColorMatrix><feBlend in2="BackgroundImageFix" result="effect1_dropShadow_1054_7681"></feBlend><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"></feColorMatrix><feOffset dy="-.15"></feOffset><feGaussianBlur stdDeviation=".3"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix values="0 0 0 0 0.301961 0 0 0 0 0.32549 0 0 0 0 0.909804 0 0 0 0.4 0"></feColorMatrix><feBlend in2="effect1_dropShadow_1054_7681" result="effect2_dropShadow_1054_7681"></feBlend><feBlend in="SourceGraphic" in2="effect2_dropShadow_1054_7681" result="shape"></feBlend></filter><linearGradient id="c" x1="24.308" x2="24.165" y1="21.357" y2="27.204" gradientUnits="userSpaceOnUse"><stop stop-color="#272DCC"></stop><stop offset="1" stop-color="#9A9DF2"></stop></linearGradient><linearGradient id="e" x1="19.849" x2="19.249" y1="24.65" y2="26.9" gradientUnits="userSpaceOnUse"><stop stop-color="#2B33E6"></stop><stop offset="1" stop-color="#A19AF2"></stop></linearGradient><linearGradient id="g" x1="16.1" x2="15.53" y1="20.75" y2="32.422" gradientUnits="userSpaceOnUse"><stop stop-color="#272DCC"></stop><stop offset="1" stop-color="#9A9DF2"></stop></linearGradient></defs>',6)]))}},mR={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",style:{flex:"0 0 auto","line-height":"1"},viewBox:"0 0 24 24"};const gR={render:function(e,t){return qi(),Yi("svg",mR,t[0]||(t[0]=[na("g",{fill:"none","fill-rule":"evenodd"},[na("path",{fill:"#F38020",d:"M16.493 17.4c.135-.52.08-.983-.161-1.338-.215-.328-.592-.519-1.05-.519l-8.663-.109a.15.15 0 0 1-.135-.082c-.027-.054-.027-.109-.027-.163.027-.082.108-.164.189-.164l8.744-.11c1.05-.054 2.153-.9 2.556-1.937l.511-1.31c.027-.055.027-.11.027-.164C17.92 8.91 15.66 7 12.942 7c-2.503 0-4.628 1.638-5.381 3.903a2.43 2.43 0 0 0-1.803-.491c-1.21.109-2.153 1.092-2.287 2.32-.027.328 0 .628.054.9C1.56 13.688 0 15.326 0 17.319c0 .19.027.355.027.545 0 .082.08.137.161.137h15.983c.08 0 .188-.055.215-.164z"}),na("path",{fill:"#FCAD32",d:"M19.238 11.75h-.242c-.054 0-.108.054-.135.109l-.35 1.2c-.134.52-.08.983.162 1.338.215.328.592.518 1.05.518l1.855.11c.054 0 .108.027.135.082.027.054.027.109.027.163-.027.082-.108.164-.188.164l-1.91.11c-1.05.054-2.153.9-2.557 1.937l-.134.355c-.027.055.026.137.107.137h6.592c.081 0 .162-.055.162-.137.107-.41.188-.846.188-1.31-.027-2.62-2.153-4.777-4.762-4.777"})],-1)]))}},yR={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",style:{flex:"0 0 auto","line-height":"1"},viewBox:"0 0 24 24"};const bR={render:function(e,t){return qi(),Yi("svg",yR,t[0]||(t[0]=[la('<g fill="none" fill-rule="evenodd"><circle cx="12" cy="12" r="12" fill="#0055E9"></circle><path fill="#A8DFF5" d="M12 0q.778 0 1.528.096A6.188 6.188 0 0 1 12.12 12.28l-.12.001c-2.99 0-5.242 2.179-5.554 5.11-.223 2.086.353 4.412 2.242 6.146C3.672 22.1 0 17.479 0 12 0 5.373 5.373 0 12 0"></path><path fill="#0055E9" d="M5.286 5a2.44 2.44 0 0 1 .682 3.38c-3.962 5.966-3.215 10.743 2.648 15.136C3.636 22.056 0 17.452 0 12c0-1.787.39-3.482 1.09-5.006q.38-.652.817-1.311A2.44 2.44 0 0 1 5.286 5"></path><path fill="#00BCFF" d="M12.98.04q.409.032.81.093c.583.106 1.117.254 1.538.44 6.638 2.927 8.07 10.052 1.748 15.642a4.125 4.125 0 0 1-5.822-.358c-1.51-1.706-1.3-4.184.357-5.822.858-.848 3.108-1.223 4.045-2.441 1.257-1.634 2.122-6.009-2.523-7.506L12.98.039z"></path><path fill="#ECECEE" d="M13.528.096A6.187 6.187 0 0 1 12 12.281a5.8 5.8 0 0 0-1.71.255c.147-.905.595-1.784 1.321-2.501.858-.848 3.108-1.223 4.045-2.441 1.27-1.651 2.14-6.104-2.676-7.554q.276.021.548.056"></path></g>',1)]))}},_R={width:"64",height:"64",viewBox:"0 0 32 32"};const wR={render:function(e,t){return qi(),Yi("svg",_R,t[0]||(t[0]=[la('<path fill="#80868b" d="M26.69 18.53a1 1 0 0 0-1.4-.22L16 25.17v.29a1 1 0 1 1 0 1.91v.05a1 1 0 0 0 .6-.19l9.88-7.3a1 1 0 0 0 .21-1.4"></path><path fill="#9ba0a5" d="M16 27.37a1 1 0 1 1 0-1.91v-.29l-9.29-6.86a1 1 0 0 0-1.4.22 1 1 0 0 0 .21 1.4l9.89 7.3a1 1 0 0 0 .59.19z"></path><path fill="#606368" d="M16 24.46a2 2 0 1 0 2 2 2 2 0 0 0-2-2m0 2.91a1 1 0 1 1 1-.95 1 1 0 0 1-1 .95"></path><path fill="#9ba0a5" d="M8 8.14a1 1 0 0 1-1-1V4.63a1 1 0 1 1 2 0v2.51a1 1 0 0 1-1 1"></path><circle cx="7.97" cy="16" r="1.01" fill="#9ba0a5"></circle><circle cx="7.97" cy="13.05" r="1.01" fill="#9ba0a5"></circle><circle cx="7.97" cy="10.09" r="1.01" fill="#9ba0a5"></circle><path fill="#606368" d="M24 11.07a1 1 0 0 1-1-1V7.55a1 1 0 0 1 2 0v2.52a1 1 0 0 1-1 1"></path><circle cx="24.03" cy="16.01" r="1.01" fill="#606368"></circle><circle cx="24.03" cy="13.02" r="1.01" fill="#606368"></circle><circle cx="24.03" cy="4.63" r="1.01" fill="#606368"></circle><path fill="#80868b" d="M16 20a1 1 0 0 1-1-1v-2.54a1 1 0 0 1 2 0V19a1 1 0 0 1-1 1"></path><circle cx="16" cy="21.93" r="1.01" fill="#80868b"></circle><circle cx="16" cy="13.51" r="1.01" fill="#80868b"></circle><circle cx="16" cy="10.56" r="1.01" fill="#80868b"></circle><path fill="#606368" d="M20 14.05a1 1 0 0 1-1-1v-2.51a1 1 0 1 1 2 0v2.51a1 1 0 0 1-1 1"></path><circle cx="20.02" cy="7.58" r="1.01" fill="#606368"></circle><circle cx="20.02" cy="18.92" r="1.01" fill="#606368"></circle><circle cx="20.02" cy="15.97" r="1.01" fill="#606368"></circle><circle cx="11.98" cy="18.92" r="1.01" fill="#9ba0a5"></circle><circle cx="11.98" cy="10.56" r="1.01" fill="#9ba0a5"></circle><circle cx="11.98" cy="7.58" r="1.01" fill="#9ba0a5"></circle><path fill="#9ba0a5" d="M12 17a1 1 0 0 1-1-1v-2.54a1 1 0 0 1 2 0V16a1 1 0 0 1-1 1"></path>',23)]))}},xR={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",style:{flex:"0 0 auto","line-height":"1"},viewBox:"0 0 24 24"};const OR={render:function(e,t){return qi(),Yi("svg",xR,t[0]||(t[0]=[na("path",{fill:"#3DC8F9",d:"M2 13.08C2 9.182 4.772 6.367 9.32 2.122c-.65 7.883 6.41 8.272 5.023 12.214-.99 2.815-4.244 1.949-4.59 1.342 0 0 1.212.347 1.385-.866s-2.252-1.862-3.81-4.937c-2.6 2.988-.954 9.008 4.2 9.008 4.764 0 6.583-4.937 4.894-8.099 0 0 4.071.693 4.418 3.811.346 3.119-3.638 8.533-9.095 8.403S2 18.84 2 13.08"},null,-1),na("path",{fill:"#EA0100",d:"M17.852 6.107 11.615 0c-.52 5.933.866 8.374 4.894 9.485 2.729.753 3.307 1.04 4.504 2.772-.338-2.407-.78-3.812-3.161-6.15"},null,-1),na("path",{fill:"#1652D8","fill-rule":"evenodd",d:"M9.033 18.323c.709.354 1.542.56 2.495.56 4.764 0 6.583-4.937 4.894-8.099 0 0 4.071.693 4.418 3.811.156 1.403-.565 3.27-1.902 4.89-3.458 1.57-7.29.84-9.905-1.162","clip-rule":"evenodd"},null,-1)]))}},ER={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",style:{flex:"0 0 auto","line-height":"1"},viewBox:"0 0 24 24"};const SR={render:function(e,t){return qi(),Yi("svg",ER,t[0]||(t[0]=[la('<defs><linearGradient id="a" x1="9.155%" x2="90.531%" y1="75.177%" y2="25.028%"><stop offset="0%" stop-color="#0A51C3"></stop><stop offset="100%" stop-color="#23A4FB"></stop></linearGradient></defs><g fill="none"><path fill="url(#a)" d="M11.32 1.176a1.4 1.4 0 0 1 1.36 0l8.64 4.843c.421.234.68.67.68 1.141v9.68c0 .472-.259.908-.68 1.143l-8.64 4.84a1.4 1.4 0 0 1-1.36 0l-8.64-4.84A1.31 1.31 0 0 1 2 16.84V7.159c0-.471.259-.907.68-1.142zm7.42 13.839V8.227L12.002 12 12 19.551l6.059-3.394a1.31 1.31 0 0 0 .68-1.142zM12.68 4.833a1.39 1.39 0 0 0-1.36 0L5.944 7.846a1.31 1.31 0 0 0-.68 1.142v6.027c0 .47.259.905.68 1.142l2.795 1.566V11.09a1.55 1.55 0 0 0 .221.79 1.53 1.53 0 0 1-.216-.834l.004-.094.02-.15.018-.084.017-.062.039-.117.062-.142.035-.065.081-.13.094-.122.084-.091.08-.075.125-.1.071-.048.134-.076 5.87-3.29-2.796-1.566z"></path><path fill="#012F8D" d="M12 11.088c0-.875-.73-1.584-1.631-1.584a1.66 1.66 0 0 0-.855.237l-.08.05a2 2 0 0 0-.123.093q-.034.029-.066.059l-.048.045-.063.067q-.021.023-.04.048a2 2 0 0 0-.094.125l-.042.069a2 2 0 0 0-.07.13l-.036.081-.022.06q-.015.044-.028.087l-.017.062a1 1 0 0 0-.03.16q-.005.038-.008.074a1.53 1.53 0 0 0 .213.929c.302.508.85.792 1.414.792.277 0 .558-.068.814-.212l.815-.457v-.914z"></path></g>',2)]))}},CR={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",style:{flex:"0 0 auto","line-height":"1"},viewBox:"0 0 24 24"};const AR={render:function(e,t){return qi(),Yi("svg",CR,t[0]||(t[0]=[na("defs",null,[na("linearGradient",{id:"a",x1:"0%",x2:"100%",y1:"0%",y2:"0%"},[na("stop",{offset:"0%","stop-color":"#00055F","stop-opacity":".84"}),na("stop",{offset:"100%","stop-color":"#6F69F7","stop-opacity":".84"})])],-1),na("path",{fill:"url(#a)",d:"M12.604 1.34q.59 1.035 1.174 2.075a.18.18 0 0 0 .157.091h5.552q.26 0 .446.327l1.454 2.57c.19.337.24.478.024.837q-.39.646-.76 1.3l-.367.658c-.106.196-.223.28-.04.512l2.652 4.637c.172.301.111.494-.043.77q-.656 1.177-1.335 2.34c-.159.272-.352.375-.68.37a43 43 0 0 0-2.327.016.1.1 0 0 0-.081.05 575 575 0 0 1-2.705 4.74c-.169.293-.38.363-.725.364q-1.495.005-3.017.002a.54.54 0 0 1-.465-.271l-1.335-2.323a.09.09 0 0 0-.083-.049H4.982a1.8 1.8 0 0 1-.805-.092l-1.603-2.77a.54.54 0 0 1-.002-.54l1.207-2.12a.2.2 0 0 0 0-.197 551 551 0 0 1-1.875-3.272l-.79-1.395c-.16-.31-.173-.496.095-.965q.697-1.22 1.387-2.436c.132-.234.304-.334.584-.335a338 338 0 0 1 2.589-.001.12.12 0 0 0 .107-.063l2.806-4.895a.49.49 0 0 1 .422-.246c.524-.001 1.053 0 1.583-.006L11.704 1c.341-.003.724.032.9.34m-3.432.403a.06.06 0 0 0-.052.03L6.254 6.788a.16.16 0 0 1-.135.078H3.253q-.084 0-.041.074l5.81 10.156q.037.062-.034.063l-2.795.015a.22.22 0 0 0-.2.116l-1.32 2.31q-.066.117.068.118l5.716.008q.068 0 .104.061l1.403 2.454q.069.122.139 0l5.006-8.76.783-1.382a.055.055 0 0 1 .096 0l1.424 2.53a.12.12 0 0 0 .107.062l2.763-.02a.04.04 0 0 0 .035-.02.04.04 0 0 0 0-.04l-2.9-5.086a.11.11 0 0 1 0-.113l.293-.507 1.12-1.977q.036-.062-.035-.062H9.2q-.088 0-.043-.077l1.434-2.505a.11.11 0 0 0 0-.114L9.225 1.774a.06.06 0 0 0-.053-.031m6.29 8.02q.07 0 .034.06l-.832 1.465-2.613 4.585a.06.06 0 0 1-.05.029.06.06 0 0 1-.05-.029L8.498 9.841q-.03-.051.028-.054l.216-.012 6.722-.012z"},null,-1)]))}},kR={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",style:{flex:"0 0 auto","line-height":"1"},viewBox:"0 0 24 24"};const TR={render:function(e,t){return qi(),Yi("svg",kR,t[0]||(t[0]=[na("path",{fill:"#D97757",d:"m4.709 15.955 4.72-2.647.08-.23-.08-.128H9.2l-.79-.048-2.698-.073-2.339-.097-2.266-.122-.571-.121L0 11.784l.055-.352.48-.321.686.06 1.52.103 2.278.158 1.652.097 2.449.255h.389l.055-.157-.134-.098-.103-.097-2.358-1.596-2.552-1.688-1.336-.972-.724-.491-.364-.462-.158-1.008.656-.722.881.06.225.061.893.686 1.908 1.476 2.491 1.833.365.304.145-.103.019-.073-.164-.274-1.355-2.446-1.446-2.49-.644-1.032-.17-.619a3 3 0 0 1-.104-.729L6.283.134 6.696 0l.996.134.42.364.62 1.414 1.002 2.229 1.555 3.03.456.898.243.832.091.255h.158V9.01l.128-1.706.237-2.095.23-2.695.08-.76.376-.91.747-.492.584.28.48.685-.067.444-.286 1.851-.559 2.903-.364 1.942h.212l.243-.242.985-1.306 1.652-2.064.73-.82.85-.904.547-.431h1.033l.76 1.129-.34 1.166-1.064 1.347-.881 1.142-1.264 1.7-.79 1.36.073.11.188-.02 2.856-.606 1.543-.28 1.841-.315.833.388.091.395-.328.807-1.969.486-2.309.462-3.439.813-.042.03.049.061 1.549.146.662.036h1.622l3.02.225.79.522.474.638-.079.485-1.215.62-1.64-.389-3.829-.91-1.312-.329h-.182v.11l1.093 1.068 2.006 1.81 2.509 2.33.127.578-.322.455-.34-.049-2.205-1.657-.851-.747-1.926-1.62h-.128v.17l.444.649 2.345 3.521.122 1.08-.17.353-.608.213-.668-.122-1.374-1.925-1.415-2.167-1.143-1.943-.14.08-.674 7.254-.316.37-.729.28-.607-.461-.322-.747.322-1.476.389-1.924.315-1.53.286-1.9.17-.632-.012-.042-.14.018-1.434 1.967-2.18 2.945-1.726 1.845-.414.164-.717-.37.067-.662.401-.589 2.388-3.036 1.44-1.882.93-1.086-.006-.158h-.055L4.132 18.56l-1.13.146-.487-.456.061-.746.231-.243 1.908-1.312z"},null,-1)]))}},MR={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 80 80"};const PR={render:function(e,t){return qi(),Yi("svg",MR,t[0]||(t[0]=[na("path",{fill:"#8359F6",d:"m19.019 2.839 3.1-.03c1.65-.01 1.65-.01 3.34-.01 1.13-.01 2.27-.01 3.44-.02 2.4-.01 4.81-.02 7.21-.02 3.68-.01 7.35-.04 11.03-.07 2.33-.01 4.67-.01 7.01-.02l3.32-.03c5.58.01 9.76.11 14.53 3.36 3.91 4.23 5.12 7.33 5.16 13.02l.03 3.1c.01 1.1.01 2.2.01 3.34.01 1.13.02 2.27.02 3.44.01 2.4.02 4.81.02 7.21.01 3.68.04 7.35.07 11.03.01 2.33.02 4.67.02 7.01.01 1.09.02 2.19.04 3.32-.02 5.58-.12 9.76-3.37 14.53-4.23 3.91-7.33 5.12-13.02 5.16l-3.09.03c-1.66.01-1.66.01-3.35.01-1.13.01-2.27.02-3.44.02-2.4.01-4.81.02-7.21.02-3.68.01-7.35.04-11.02.07-2.34.01-4.68.02-7.01.02-1.1.01-2.2.02-3.33.04-5.58-.02-9.76-.12-14.53-3.37-3.91-4.23-5.12-7.33-5.16-13.02l-.03-3.09c0-1.11-.01-2.21-.01-3.35-.01-1.13-.01-2.27-.02-3.44-.01-2.4-.02-4.81-.02-7.21-.01-3.68-.04-7.35-.07-11.02-.01-2.34-.01-4.68-.02-7.01l-.03-3.33c.01-5.58.11-9.76 3.36-14.53 4.23-3.91 7.33-5.12 13.02-5.16"},null,-1),na("path",{fill:"#FCFBFE",d:"M55 8.625c1.07-.04 1.07-.04 2.16-.07 3.52-.02 5.46.16 8.31 2.31 1.53 2.14 1.53 2.14 2.03 4.64-.5 2.5-.5 2.5-1.81 4.74-3.04 1.98-4.56 2.04-8.13 2.26-3.55.22-5.45.44-8.68 2.06-2.67 3.47-2.66 6.1-2.88 10.44 1.1-.05 2.19-.1 3.32-.15 1.46-.03 2.91-.07 4.37-.11.72-.03 1.44-.06 2.18-.1 3.86-.07 5.74.12 9.15 2.15 1.98 2.21 1.98 2.21 2.04 5.77-1.19 3.86-1.57 4.59-5.06 6.44-2.83.21-5.43.28-8.25.18-.75-.01-1.49-.02-2.26-.04-1.83-.03-3.66-.09-5.49-.14q.09.825.18 1.68c.37 6.4-.96 10.46-5.18 15.32-6.42 5-12.04 5.81-20 5-4.89-2.36-7.81-5.72-11-10-2-5.99-2.08-12.73.62-18.44 7.81-8.42 7.81-8.42 13.86-8.66 1.34.01 1.34.01 2.71.03l2.73.03c.69.01 1.37.02 2.08.04-.12-1.43-.12-1.43-.25-2.88.04-5.86 2.04-11.62 5.93-16.03 1.72-1.51 3.4-2.85 5.32-4.09.57-.38 1.13-.75 1.72-1.14 3.38-1.28 6.71-1.23 10.28-1.24"},null,-1),na("path",{fill:"#885FF6",d:"M31 48c2 2 2 2 2.31 4.44C33 55 33 55 31.94 56.88c-3.06 1.77-5.6.81-8.94.12-1.33-6.39-1.33-6.39.06-9 2.91-1.5 4.86-.85 7.94 0"},null,-1)]))}},jR={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",style:{flex:"0 0 auto","line-height":"1"},viewBox:"0 0 24 24"};const DR={render:function(e,t){return qi(),Yi("svg",jR,t[0]||(t[0]=[na("path",{fill:"url(#a)","fill-rule":"evenodd",d:"M22.012 0h1.032v.927H24v.968h-.956V3.78h-1.032V1.896h-1.878v-.97h1.878zM2.6 12.371V1.87h.969v10.502zm10.423.66h10.95v.918h-6.208v9.579h-4.742V13.03zM5.629 3.333v12.356H0v4.51h10.386V8h10.473l-.003-4.668z"},null,-1),na("defs",null,[na("linearGradient",{id:"a",x1:"1.646",x2:"18.342",y1:"1.916",y2:"22.091",gradientUnits:"userSpaceOnUse"},[na("stop",{"stop-color":"#01A9FF"}),na("stop",{offset:"1","stop-color":"#0160FF"})])],-1)]))}},IR={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",fill:"currentColor","fill-rule":"evenodd",style:{flex:"0 0 auto","line-height":"1"},viewBox:"0 0 24 24"};const NR={render:function(e,t){return qi(),Yi("svg",IR,t[0]||(t[0]=[na("path",{d:"m1.052 16.916 9.539 2.552a21 21 0 0 0 .06 2.033l5.956 1.593a12 12 0 0 1-5.586.865l-.18-.016-.044-.004-.084-.009-.094-.01-.157-.02-.107-.014-.11-.016a12 12 0 0 1-.32-.051l-.042-.008-.075-.013-.107-.02-.07-.015-.093-.019-.075-.016-.095-.02-.097-.023-.094-.022-.068-.017-.088-.022-.09-.024-.095-.025-.082-.023-.109-.03-.062-.02-.084-.025-.093-.028-.105-.034-.058-.019-.08-.026-.09-.031-.066-.024-.044-.015-.068-.025-.101-.037-.057-.022-.08-.03-.087-.035-.088-.035-.079-.032-.095-.04-.063-.028-.063-.027-.041-.018-.066-.03-.103-.047-.052-.024-.096-.046-.062-.03-.084-.04-.086-.044-.093-.047-.052-.027-.103-.055-.057-.03-.058-.032-.046-.026-.094-.053-.06-.034-.051-.03-.072-.041-.082-.05-.093-.056-.052-.032-.084-.053-.061-.039-.079-.05-.07-.047-.053-.035-.054-.036-.044-.03-.044-.03-.04-.028-.057-.04-.076-.054-.069-.05-.074-.054-.056-.042-.076-.057-.076-.059-.086-.067-.045-.035-.064-.052-.074-.06-.089-.073-.046-.039-.046-.039-.043-.037-.045-.04-.061-.053-.07-.062-.068-.06-.062-.058-.067-.062-.053-.05-.088-.084-.099-.097-.029-.028-.041-.042-.069-.07-.05-.051-.05-.053a7 7 0 0 1-.168-.179l-.08-.088-.062-.07-.071-.08-.042-.049-.053-.062-.058-.068-.046-.056-.027-.033-.045-.055-.066-.082-.041-.052-.05-.064-.02-.025a12 12 0 0 1-1.44-2.402m-1.02-5.794 11.353 3.037a21 21 0 0 0-.469 2.011l10.817 2.894a12 12 0 0 1-1.845 2.005L.657 15.923l-.016-.046-.035-.104-.05-.153-.007-.023a12 12 0 0 1-.207-.741l-.03-.126-.018-.08-.021-.097-.018-.081-.018-.09-.017-.084-.018-.094q-.04-.212-.071-.426l-.017-.118-.011-.083-.013-.102-.019-.161-.005-.047a12 12 0 0 1-.034-2.145m1.593-5.15 11.948 3.196a21 21 0 0 0-1.01 1.875l11.295 3.022c-.142.82-.368 1.612-.668 2.365l-11.55-3.09L.124 10.26l.015-.1.008-.049.01-.067.015-.087.018-.098q.04-.222.088-.442l.028-.124.02-.085.024-.097q.033-.135.07-.268l.028-.102.023-.083.03-.1.025-.082.03-.096.026-.082.031-.095a12 12 0 0 1 1.01-2.232zm4.442-4.4L17.352 4.59a21 21 0 0 0-1.688 1.721l7.823 2.093c.267.852.442 1.744.513 2.665L2.106 5.213l.045-.065.027-.04.04-.055.046-.065.055-.076.054-.072.064-.086.05-.065.057-.073.055-.07.06-.074.055-.069.065-.077.054-.066.066-.077.053-.06.072-.082.053-.06.067-.074.054-.058.073-.078.058-.06.063-.067.168-.17.1-.098.059-.056.076-.071a12 12 0 0 1 2.272-1.677M12.017 0h.097l.082.001.069.001.054.002.068.002.046.001.076.003.047.002.06.003.054.002.087.005.105.007.144.011.088.007.044.004.077.008.082.008.047.005.102.012.05.006.108.014.081.01.042.006.065.01.207.032.07.012.065.011.14.026.092.018.11.022.046.01.075.016.041.01L14.7.3l.042.01.065.015.049.012.071.017.096.024.112.03.113.03.113.032.05.015.07.02.078.024.073.023.05.016.05.016.076.025.099.033.102.036.048.017.064.023.093.034.11.041.116.045.1.04.047.02.06.024.041.018.063.026.04.018.057.025.11.048.1.046.074.035.075.036.06.028.092.046.091.045.102.052.053.028.049.026.046.024.06.033.041.022.052.029.088.05.106.06.087.051.057.034.053.032.096.059.088.055.098.062.036.024.064.041.084.056.04.027.062.042.062.043.023.017q.081.055.161.114l.083.06.065.048.056.043.086.065.082.064.04.03.05.041.086.069.079.065.085.071c.712.6 1.353 1.283 1.909 2.031L7.222.994l.062-.027.065-.028.081-.034.086-.035q.17-.068.341-.131l.096-.035.093-.033.084-.03.096-.031A8 8 0 0 1 8.49.525l.091-.027.086-.025.102-.03.085-.023.1-.026L9.04.37l.09-.023.091-.022.095-.022.09-.02.098-.021.091-.02.095-.018.092-.018.1-.018.091-.016.098-.017.092-.014.097-.015.092-.013.102-.013.091-.012.105-.012.09-.01.105-.01q.14-.015.28-.024l.106-.008.09-.005.11-.006.093-.004.1-.004.097-.002.099-.002.197-.002z"},null,-1)]))}},LR={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",style:{flex:"0 0 auto","line-height":"1"},viewBox:"0 0 24 24"};const FR={render:function(e,t){return qi(),Yi("svg",LR,t[0]||(t[0]=[na("defs",null,[na("linearGradient",{id:"a",x1:"0%",x2:"100.182%",y1:"50.057%",y2:"50.057%"},[na("stop",{offset:"0%","stop-color":"#E2167E"}),na("stop",{offset:"100%","stop-color":"#FE603C"})])],-1),na("path",{fill:"url(#a)",d:"M16.278 2c1.156 0 2.093.927 2.093 2.07v12.501a.74.74 0 0 0 .744.709.74.74 0 0 0 .743-.709V9.099a2.06 2.06 0 0 1 2.071-2.049A2.06 2.06 0 0 1 24 9.1v6.561a.65.65 0 0 1-.652.645.65.65 0 0 1-.653-.645V9.1a.76.76 0 0 0-.766-.758.76.76 0 0 0-.766.758v7.472a2.037 2.037 0 0 1-2.048 2.026 2.037 2.037 0 0 1-2.048-2.026v-12.5a.785.785 0 0 0-.788-.753.785.785 0 0 0-.789.752l-.001 15.904A2.037 2.037 0 0 1 13.441 22a2.037 2.037 0 0 1-2.048-2.026V18.04c0-.356.292-.645.652-.645s.652.289.652.645v1.934c0 .263.142.506.372.638.23.131.514.131.744 0a.73.73 0 0 0 .372-.638V4.07c0-1.143.937-2.07 2.093-2.07m-5.674 0c1.156 0 2.093.927 2.093 2.07v11.523a.65.65 0 0 1-.652.645.65.65 0 0 1-.652-.645V4.07a.785.785 0 0 0-.789-.78.785.785 0 0 0-.789.78v14.013a2.06 2.06 0 0 1-2.07 2.048 2.06 2.06 0 0 1-2.071-2.048V9.1a.76.76 0 0 0-.766-.758.76.76 0 0 0-.766.758v3.8a2.06 2.06 0 0 1-2.071 2.049A2.06 2.06 0 0 1 0 12.9v-1.378c0-.357.292-.646.652-.646s.653.29.653.646V12.9c0 .418.343.757.766.757s.766-.339.766-.757V9.099a2.06 2.06 0 0 1 2.07-2.048 2.06 2.06 0 0 1 2.071 2.048v8.984c0 .419.343.758.767.758a.76.76 0 0 0 .766-.758V4.07c0-1.143.937-2.07 2.093-2.07"},null,-1)]))}},RR={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",style:{flex:"0 0 auto","line-height":"1"},viewBox:"0 0 24 24"};const BR={render:function(e,t){return qi(),Yi("svg",RR,t[0]||(t[0]=[la('<defs><linearGradient id="a" x1="0%" x2="68.73%" y1="100%" y2="30.395%"><stop offset="0%" stop-color="#1C7DFF"></stop><stop offset="52.021%" stop-color="#1C69FF"></stop><stop offset="100%" stop-color="#F0DCD6"></stop></linearGradient></defs><path fill="url(#a)" d="M12 24A14.3 14.3 0 0 0 0 12 14.3 14.3 0 0 0 12 0a14.305 14.305 0 0 0 12 12 14.305 14.305 0 0 0-12 12"></path>',2)]))}},zR={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",style:{flex:"0 0 auto","line-height":"1"},viewBox:"0 0 24 24"};const VR={render:function(e,t){return qi(),Yi("svg",zR,t[0]||(t[0]=[na("g",{"clip-path":"url(#a)"},[na("path",{fill:"#4D6BFE",d:"M23.748 4.482c-.254-.124-.364.113-.512.234-.051.039-.094.09-.137.136-.372.397-.806.657-1.373.626-.829-.046-1.537.214-2.163.848-.133-.782-.575-1.248-1.247-1.548-.352-.156-.708-.311-.955-.65-.172-.241-.219-.51-.305-.774-.055-.16-.11-.323-.293-.35-.2-.031-.278.136-.356.276-.313.572-.434 1.202-.422 1.84.027 1.436.633 2.58 1.838 3.393.137.093.172.187.129.323-.082.28-.18.552-.266.833-.055.179-.137.217-.329.14a5.5 5.5 0 0 1-1.736-1.18c-.857-.828-1.631-1.742-2.597-2.458a11 11 0 0 0-.689-.471c-.985-.957.13-1.743.388-1.836.27-.098.093-.432-.779-.428s-1.67.295-2.687.684a3 3 0 0 1-.465.137 9.6 9.6 0 0 0-2.883-.102c-1.885.21-3.39 1.102-4.497 2.623C.082 8.606-.231 10.684.152 12.85c.403 2.284 1.569 4.175 3.36 5.653 1.858 1.533 3.997 2.284 6.438 2.14 1.482-.085 3.133-.284 4.994-1.86.47.234.962.327 1.78.397.63.059 1.236-.03 1.705-.128.735-.156.684-.837.419-.961-2.155-1.004-1.682-.595-2.113-.926 1.096-1.296 2.746-2.642 3.392-7.003.05-.347.007-.565 0-.845-.004-.17.035-.237.23-.256a4.2 4.2 0 0 0 1.545-.475c1.396-.763 1.96-2.015 2.093-3.517.02-.23-.004-.467-.247-.588zM11.581 18c-2.089-1.642-3.102-2.183-3.52-2.16-.392.024-.321.471-.235.763.09.288.207.486.371.739.114.167.192.416-.113.603-.673.416-1.842-.14-1.897-.167-1.361-.802-2.5-1.86-3.301-3.307-.774-1.393-1.224-2.887-1.298-4.482-.02-.386.093-.522.477-.592a4.7 4.7 0 0 1 1.529-.039c2.132.312 3.946 1.265 5.468 2.774.868.86 1.525 1.887 2.202 2.891.72 1.066 1.494 2.082 2.48 2.914.348.292.625.514.891.677-.802.09-2.14.11-3.054-.614m1-6.44a.306.306 0 0 1 .415-.287.3.3 0 0 1 .2.288.306.306 0 0 1-.31.307.303.303 0 0 1-.304-.308zm3.11 1.596c-.2.081-.399.151-.59.16a1.25 1.25 0 0 1-.798-.254c-.274-.23-.47-.358-.552-.758a1.7 1.7 0 0 1 .016-.588c.07-.327-.008-.537-.239-.727-.187-.156-.426-.199-.688-.199a.56.56 0 0 1-.254-.078.253.253 0 0 1-.114-.358c.028-.054.16-.186.192-.21.356-.202.767-.136 1.146.016.352.144.618.408 1.001.782.391.451.462.576.685.914.176.265.336.537.445.848.067.195-.019.354-.25.452"})],-1),na("defs",null,[na("clipPath",{id:"a"},[na("path",{fill:"#fff",d:"M0 0h24v24H0z"})])],-1)]))}},UR={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",style:{flex:"0 0 auto","line-height":"1"},viewBox:"0 0 24 24"};const HR={render:function(e,t){return qi(),Yi("svg",UR,t[0]||(t[0]=[na("path",{fill:"#39594D","fill-rule":"evenodd",d:"M8.128 14.099c.592 0 1.77-.033 3.398-.703 1.897-.781 5.672-2.2 8.395-3.656 1.905-1.018 2.74-2.366 2.74-4.18A4.56 4.56 0 0 0 18.1 1H7.549A6.55 6.55 0 0 0 1 7.55c0 3.617 2.745 6.549 7.128 6.549","clip-rule":"evenodd"},null,-1),na("path",{fill:"#D18EE2","fill-rule":"evenodd",d:"M9.912 18.61a4.39 4.39 0 0 1 2.705-4.052l3.323-1.38c3.361-1.394 7.06 1.076 7.06 4.715a5.104 5.104 0 0 1-5.105 5.104l-3.597-.001a4.386 4.386 0 0 1-4.386-4.387z","clip-rule":"evenodd"},null,-1),na("path",{fill:"#FF7759",d:"M4.776 14.962A3.775 3.775 0 0 0 1 18.738v.489a3.776 3.776 0 0 0 7.551 0v-.49a3.775 3.775 0 0 0-3.775-3.775"},null,-1)]))}},WR={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",fill:"currentColor","fill-rule":"evenodd",style:{flex:"0 0 auto","line-height":"1"},viewBox:"0 0 24 24"};const qR={render:function(e,t){return qi(),Yi("svg",WR,t[0]||(t[0]=[na("path",{d:"M13.827 3.52h3.603L24 20h-3.603zm-7.258 0h3.767L16.906 20h-3.674l-1.343-3.461H5.017l-1.344 3.46H0L6.57 3.522zm4.132 9.959L8.453 7.687 6.205 13.48H10.7z"},null,-1)]))}},$R={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",style:{flex:"0 0 auto","line-height":"1"},viewBox:"0 0 24 24"};const GR={render:function(e,t){return qi(),Yi("svg",$R,t[0]||(t[0]=[na("g",{fill:"none","fill-rule":"evenodd"},[na("path",{fill:"#3762FF",d:"M6.075 10.494C7.6 9.446 9.768 8.759 12.222 8.759c2.453 0 4.622.687 6.147 1.735.77.53 1.352 1.133 1.74 1.77C20 10 20 10 20.687 9.362a9 9 0 0 0-1.008-.8c-1.958-1.347-4.598-2.143-7.457-2.143s-5.499.796-7.457 2.144C2.81 9.908 1.44 11.885 1.44 14.21s1.37 4.303 3.322 5.646C6.721 21.205 9.362 22 12.22 22s5.5-.795 7.457-2.144C21.63 18.513 23 16.538 23 14.21c0-1.48-.554-2.817-1.46-3.94-.046 1.036-.41 2.03-1.012 2.937.099.325.149.663.15 1.003 0 1.33-.782 2.664-2.313 3.717-1.524 1.048-3.692 1.735-6.146 1.735s-4.623-.687-6.147-1.735C4.544 16.874 3.76 15.54 3.76 14.21c.003-1.33.785-2.663 2.315-3.716"}),na("path",{fill:"#1041F3",d:"M3.747 11.494c-.62 1.77-.473 3.365.332 4.51.806 1.144 2.254 1.813 4.117 1.813 1.86 0 4.029-.68 6.021-2.1 1.993-1.42 3.35-3.251 3.967-5.017.62-1.769.473-3.364-.332-4.51-.806-1.143-2.254-1.812-4.117-1.812-1.86 0-4.029.68-6.021 2.099-1.993 1.42-3.35 3.252-3.967 5.017m-2.228-.79c.8-2.28 2.487-4.498 4.83-6.167C8.691 2.866 11.33 2 13.734 2c2.4 0 4.678.874 6.045 2.817s1.431 4.394.633 6.674c-.8 2.282-2.487 4.499-4.83 6.168s-4.981 2.536-7.387 2.537c-2.4 0-4.678-.874-6.045-2.817-1.368-1.943-1.431-4.396-.633-6.674z"})],-1)]))}},KR={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",fill:"currentColor","fill-rule":"evenodd",style:{flex:"0 0 auto","line-height":"1"},viewBox:"0 0 24 24"};const XR={render:function(e,t){return qi(),Yi("svg",KR,t[0]||(t[0]=[na("path",{d:"M19.245 5.364c1.322 1.36 1.877 3.216 2.11 5.817.622 0 1.2.135 1.592.654l.73.964c.21.278.323.61.323.955v2.62c0 .339-.173.669-.453.868C20.239 19.602 16.157 21.5 12 21.5c-4.6 0-9.205-2.583-11.547-4.258-.28-.2-.452-.53-.453-.868v-2.62c0-.345.113-.679.321-.956l.73-.963c.392-.517.974-.654 1.593-.654l.029-.297c.25-2.446.81-4.213 2.082-5.52 2.461-2.54 5.71-2.851 7.146-2.864h.198c1.436.013 4.685.323 7.146 2.864m-7.244 4.328c-.284 0-.613.016-.962.05-.123.447-.305.85-.57 1.108-1.05 1.023-2.316 1.18-2.994 1.18-.638 0-1.306-.13-1.851-.464-.516.165-1.012.403-1.044.996a66 66 0 0 0-.063 2.884l-.002.48q-.002.844-.013 1.69c.002.326.204.63.51.765 2.482 1.102 4.83 1.657 6.99 1.657 2.156 0 4.504-.555 6.985-1.657a.85.85 0 0 0 .51-.766c.03-1.682.006-3.372-.076-5.053-.031-.596-.528-.83-1.046-.996-.546.333-1.212.464-1.85.464-.677 0-1.942-.157-2.993-1.18-.266-.258-.447-.661-.57-1.108a10 10 0 0 0-.96-.05zm-2.525 4.013c.539 0 .976.426.976.95v1.753c0 .525-.437.95-.976.95a.964.964 0 0 1-.976-.95v-1.752c0-.525.437-.951.976-.951m5 0c.539 0 .976.426.976.95v1.753c0 .525-.437.95-.976.95a.964.964 0 0 1-.976-.95v-1.752c0-.525.437-.951.976-.951M7.635 5.087c-1.05.102-1.935.438-2.385.906-.975 1.037-.765 3.668-.21 4.224.405.394 1.17.657 1.995.657h.09c.649-.013 1.785-.176 2.73-1.11.435-.41.705-1.433.675-2.47-.03-.834-.27-1.52-.63-1.813-.39-.336-1.275-.482-2.265-.394m6.465.394c-.36.292-.6.98-.63 1.813-.03 1.037.24 2.06.675 2.47.968.957 2.136 1.104 2.776 1.11h.044c.825 0 1.59-.263 1.995-.657.555-.556.765-3.187-.21-4.224-.45-.468-1.335-.804-2.385-.906-.99-.088-1.875.058-2.265.394M12 7.615c-.24 0-.525.015-.84.044.03.16.045.336.06.526l-.001.159a3 3 0 0 1-.014.25c.225-.022.425-.027.612-.028h.366c.187 0 .387.006.612.028-.015-.146-.015-.277-.015-.409.015-.19.03-.365.06-.526a9 9 0 0 0-.84-.044"},null,-1)]))}},YR={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",style:{flex:"0 0 auto","line-height":"1"},viewBox:"0 0 24 24"};const JR={render:function(e,t){return qi(),Yi("svg",YR,t[0]||(t[0]=[la('<g fill="none"><path fill="#FF9D0B" d="M2.25 11.535c0-3.407 1.847-6.554 4.844-8.258a9.82 9.82 0 0 1 9.687 0c2.997 1.704 4.844 4.851 4.844 8.258 0 5.266-4.337 9.535-9.687 9.535S2.25 16.8 2.25 11.535"></path><path fill="#FFD21E" d="M11.938 20.086c4.797 0 8.687-3.829 8.687-8.551s-3.89-8.55-8.687-8.55c-4.798 0-8.688 3.828-8.688 8.55s3.89 8.55 8.688 8.55z"></path><path fill="#FF323D" d="M11.875 15.113c2.457 0 3.25-2.156 3.25-3.263 0-.576-.393-.394-1.023-.089-.582.283-1.365.675-2.224.675-1.798 0-3.25-1.693-3.25-.586s.79 3.263 3.25 3.263z"></path><path fill="#3A3B45" d="M14.76 9.21c.32.108.445.753.767.585.447-.233.707-.708.659-1.204a1.235 1.235 0 0 0-.879-1.059 1.26 1.26 0 0 0-1.33.394c-.322.384-.377.92-.14 1.36.153.283.638-.177.925-.079zm-5.887 0c-.32.108-.448.753-.768.585a1.23 1.23 0 0 1-.658-1.204c.048-.495.395-.913.878-1.059a1.26 1.26 0 0 1 1.33.394c.322.384.377.92.14 1.36-.152.283-.64-.177-.925-.079zm1.12 5.34a2.17 2.17 0 0 1 1.325-1.106c.07-.02.144.06.219.171l.192.306c.069.1.139.175.209.175.074 0 .15-.074.223-.172l.205-.302c.08-.11.157-.188.234-.165.537.168.986.536 1.25 1.026.932-.724 1.275-1.905 1.275-2.633 0-.508-.306-.426-.81-.19l-.616.296c-.52.24-1.148.48-1.824.48s-1.302-.24-1.823-.48l-.589-.283c-.52-.248-.838-.342-.838.177 0 .703.32 1.831 1.187 2.56z"></path><path fill="#FF9D0B" d="M17.812 10.366a.806.806 0 0 0 .813-.8c0-.441-.364-.8-.813-.8a.806.806 0 0 0-.812.8c0 .442.364.8.812.8m-11.624 0a.806.806 0 0 0 .812-.8c0-.441-.364-.8-.812-.8a.806.806 0 0 0-.813.8c0 .442.364.8.813.8m-1.673 2.707c-.405 0-.765.162-1.017.46a1.46 1.46 0 0 0-.333.925 1.8 1.8 0 0 0-.485-.074c-.387 0-.737.146-.985.409a1.41 1.41 0 0 0-.2 1.722 1.3 1.3 0 0 0-.447.694c-.06.222-.12.69.2 1.166a1.27 1.27 0 0 0-.093 1.236c.238.533.81.958 1.89 1.405l.24.096c.768.3 1.473.492 1.478.494.89.243 1.808.375 2.732.394 1.465 0 2.513-.443 3.115-1.314.93-1.342.842-2.575-.274-3.763l-.151-.154c-.692-.684-1.155-1.69-1.25-1.912-.195-.655-.71-1.383-1.562-1.383-.46.007-.889.233-1.15.605-.25-.31-.495-.553-.715-.694a1.87 1.87 0 0 0-.993-.312m14.97 0a1.3 1.3 0 0 1 1.017.46c.216.262.333.588.333.925q.238-.07.487-.074c.388 0 .738.146.985.409a1.41 1.41 0 0 1 .2 1.722c.22.178.377.422.445.694.06.222.12.69-.2 1.166.244.37.279.836.093 1.236-.238.533-.81.958-1.889 1.405l-.239.096c-.77.3-1.475.492-1.48.494-.89.243-1.808.375-2.732.394-1.465 0-2.513-.443-3.115-1.314-.93-1.342-.842-2.575.274-3.763l.151-.154c.695-.684 1.157-1.69 1.252-1.912.195-.655.708-1.383 1.56-1.383.46.007.889.233 1.15.605.25-.31.495-.553.718-.694.244-.162.523-.265.814-.3z"></path><path fill="#FFD21E" d="M9.785 20.132c.688-.994.638-1.74-.305-2.667-.945-.928-1.495-2.288-1.495-2.288s-.205-.788-.672-.714-.81 1.25.17 1.971c.977.721-.195 1.21-.573.534-.375-.677-1.405-2.416-1.94-2.751-.532-.332-.907-.148-.782.541.125.687 2.357 2.35 2.14 2.707-.218.362-.983-.42-.983-.42S2.953 14.9 2.43 15.46c-.52.558.398 1.026 1.7 1.803 1.308.778 1.41.985 1.225 1.28-.187.295-3.07-2.1-3.34-1.083-.27 1.011 2.943 1.304 2.745 2.006-.2.7-2.265-1.324-2.685-.537-.425.79 2.913 1.718 2.94 1.725 1.075.276 3.813.859 4.77-.522m4.432 0c-.687-.994-.64-1.74.305-2.667.943-.928 1.493-2.288 1.493-2.288s.205-.788.675-.714c.465.074.807 1.25-.17 1.971-.98.721.195 1.21.57.534.377-.677 1.407-2.416 1.94-2.751.532-.332.91-.148.782.541-.125.687-2.355 2.35-2.137 2.707.215.362.98-.42.98-.42S21.05 14.9 21.57 15.46c.52.558-.395 1.026-1.7 1.803-1.308.778-1.408.985-1.225 1.28.187.295 3.07-2.1 3.34-1.083.27 1.011-2.94 1.304-2.743 2.006.2.7 2.263-1.324 2.685-.537.423.79-2.912 1.718-2.94 1.725-1.077.276-3.815.859-4.77-.522"></path></g>',1)]))}},QR={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",style:{flex:"0 0 auto","line-height":"1"},viewBox:"0 0 24 24"};const ZR={render:function(e,t){return qi(),Yi("svg",QR,t[0]||(t[0]=[la('<g fill="none"><path fill="#000" d="M15 6v4h-2V6zm4-4v4h-2V2zM3 2H1zM1 2h2v20H1zm8 12h2v4H9zm8 0h2v8h-2z"></path><path fill="#F7D046" d="M19 2h4v4h-4zM3 2h4v4H3z"></path><path fill="#F2A73B" d="M15 10V6h8v4zM3 10V6h8v4z"></path><path fill="#EE792F" d="M3 14v-4h20v4z"></path><path fill="#EB5829" d="M11 14h4v4h-4zm8 0h4v4h-4zM3 14h4v4H3z"></path><path fill="#EA3326" d="M19 18h4v4h-4zM3 18h4v4H3z"></path></g>',1)]))}},eB={xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",fill:"none"};const tB={render:function(e,t){return qi(),Yi("svg",eB,t[0]||(t[0]=[la('<rect width="1em" height="1em" fill="#000" rx="20"></rect><path fill="url(#a)" fill-rule="evenodd" d="M9.5 18.69a7.35 7.35 0 0 1 7.35-7.35h6.3a7.35 7.35 0 0 1 0 14.7H15.8l-4.78 2.39a1.05 1.05 0 0 1-1.52-.939v-8.8m7.35-3.15a3.15 3.15 0 1 0 0 6.3h6.3a3.15 3.15 0 1 0 0-6.3z" clip-rule="evenodd"></path><defs><linearGradient id="a" x1="20" x2="20" y1="11.341" y2="28.543" gradientUnits="userSpaceOnUse"><stop stop-color="#45FFA6"></stop><stop offset="1" stop-color="#09F4E5"></stop></linearGradient></defs>',3)]))}},nB={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",style:{flex:"0 0 auto","line-height":"1"},viewBox:"0 0 24 24"};const rB={render:function(e,t){return qi(),Yi("svg",nB,t[0]||(t[0]=[na("defs",null,[na("linearGradient",{id:"a",x1:"17.764%",x2:"100%",y1:"8.678%",y2:"91.322%"},[na("stop",{offset:"0%","stop-color":"#FEC13E"}),na("stop",{offset:"100%","stop-color":"#FF6933"})])],-1),na("path",{fill:"url(#a)",d:"M7.333 2h-3.2l-2 4.333V17.8L0 22h5.2l2.028-4.2zm7.334 0h-5.2v20h5.2zM16.8 7.733H22V22h-5.2zM22 2h-5.2v4.133H22z"},null,-1)]))}},oB={xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",fill:"currentColor",class:"logo",viewBox:"0 0 1000 1000"};const iB={render:function(e,t){return qi(),Yi("svg",oB,t[0]||(t[0]=[na("path",{d:"M1000 427.6v113H603.4V1000H477V427.6z"},null,-1),na("path",{d:"M1000 213.8V327H364.8v673H238.4V213.8z"},null,-1),na("path",{d:"M1000 0v113.2H126.4V1000H0V0z"},null,-1)]))}},aB={xmlns:"http://www.w3.org/2000/svg","aria-label":"Fireworks AI Home",class:"fill-foreground h-5 w-5",viewBox:"0 0 638 315"};const lB={render:function(e,t){return qi(),Yi("svg",aB,t[0]||(t[0]=[na("path",{fill:"rgb(80 25 197)",d:"M318.563 221.755c-17.7 0-33.584-10.508-40.357-26.777L196.549 0h47.793l74.5 178.361L393.273 0h47.793L358.92 195.048c-6.808 16.199-22.657 26.707-40.357 26.707M425.111 314.933c-17.63 0-33.444-10.439-40.287-26.567-6.877-16.269-3.317-34.842 9.112-47.445l148.721-150.64 18.572 43.813-136.153 137.654 194.071-1.082 18.573 43.813-212.574.524-.07-.07z",class:"fill-foreground h-5 w-5"},null,-1),na("path",{fill:"rgb(80 25 197)",d:"m0 314.408 18.573-43.813 194.07 1.082L76.525 133.988l18.573-43.813 148.721 150.641c12.428 12.568 16.024 31.21 9.111 47.444-6.842 16.164-22.727 26.567-40.287 26.567L.07 314.339z"},null,-1)]))}},sB={xmlns:"http://www.w3.org/2000/svg",width:"59.242",height:"47.271"};const cB={render:function(e,t){return qi(),Yi("svg",sB,t[0]||(t[0]=[na("path",{fill:"#0072c6",d:"M32.368 0 14.9 15.145 0 41.895h13.437Zm2.323 3.543-7.454 21.008 14.291 17.956L13.8 47.271h45.442Z"},null,-1)]))}},uB=""+new URL("sambanova-35TLgnML.webp",import.meta.url).href,fB=xr({name:"DynamicImg",props:{src:{type:[String,Function],required:!0},alt:{type:String,default:""}},data:()=>({resolvedSrc:""}),mounted(){this.resolveSrc()},methods:{async resolveSrc(){if("function"==typeof this.src){const e=await this.src();this.resolvedSrc=e.default}else this.resolvedSrc=this.src}},render(){return Na("img",{src:this.resolvedSrc,alt:this.alt})}}),pB=":";let dB=[{name:"openai",title:"OpenAI",icon:iR,apiBase:"",tokenUrl:"",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""}},{name:"anthropic",title:"Anthropic",icon:qR,apiBase:"/app/anthropic",tokenUrl:"https://console.anthropic.com/settings/keys",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["claude-instant-1.2","claude-2.0","claude-2.1","claude-3-haiku","claude-3-sonnet","claude-3-opus"]},{name:"azure",title:"Azure",icon:cB,apiBase:"/app/azure?api-version=2024-05-13&resource=",tokenUrl:"https://ai.azure.com/",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["gpt-4o-mini","gpt-4o","gpt-4-turbo","gpt-4","gpt-3.5-turbo"]},{name:"baichuan",title:"百川",icon:rB,apiBase:"https://api.baichuan-ai.com/v1/chat/completions",tokenUrl:"https://platform.baichuan-ai.com/",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["Baichuan4","Baichuan3-Turbo","Baichuan3-Turbo-128k","Baichuan2-Turbo","Baichuan2-Turbo-192k"]},{name:"chatgpt",title:"ChatGPT",icon:iR,apiBase:"https://api.openai.com/v1/chat/completions",tokenUrl:"https://platform.openai.com/api-keys",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["gpt-4o","gpt-4-turbo","gpt-4","gpt-3.5-turbo"]},{name:"cloudflare",title:"Cloudflare",icon:gR,apiBase:"/app/cloudflare",tokenUrl:"https://dash.cloudflare.com/",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:`accountID${pB}apiToken`,apiModel:""},models:["@cf/meta/llama-2-7b-chat-fp16","@cf/meta/llama-2-7b-chat-int8","@cf/mistral/mistral-7b-instruct-v0.1","@hf/thebloke/deepseek-coder-6.7b-base-awq","@hf/thebloke/deepseek-coder-6.7b-instruct-awq","@cf/deepseek-ai/deepseek-math-7b-base","@cf/deepseek-ai/deepseek-math-7b-instruct","@cf/thebloke/discolm-german-7b-v1-awq","@cf/tiiuae/falcon-7b-instruct","@cf/google/gemma-2b-it-lora","@hf/google/gemma-7b-it","@cf/google/gemma-7b-it-lora","@hf/nousresearch/hermes-2-pro-mistral-7b","@hf/thebloke/llama-2-13b-chat-awq","@cf/meta-llama/llama-2-7b-chat-hf-lora","@cf/meta/llama-3-8b-instruct","@hf/thebloke/llamaguard-7b-awq","@hf/thebloke/mistral-7b-instruct-v0.1-awq","@hf/mistralai/mistral-7b-instruct-v0.2","@cf/mistral/mistral-7b-instruct-v0.2-lora","@hf/thebloke/neural-chat-7b-v3-1-awq","@cf/openchat/openchat-3.5-0106","@hf/thebloke/openhermes-2.5-mistral-7b-awq","@cf/microsoft/phi-2","@cf/qwen/qwen1.5-0.5b-chat","@cf/qwen/qwen1.5-1.8b-chat","@cf/qwen/qwen1.5-14b-chat-awq","@cf/qwen/qwen1.5-7b-chat-awq","@cf/defog/sqlcoder-7b-2","@hf/nexusflow/starling-lm-7b-beta","@cf/tinyllama/tinyllama-1.1b-chat-v1.0","@hf/thebloke/zephyr-7b-beta-awq"]},{name:"cloudflare.image",title:"Cloudflare.image",icon:gR,apiBase:"/app/cloudflare-image",tokenUrl:"https://dash.cloudflare.com/",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:`accountID${pB}apiToken`,apiModel:""},models:["@cf/black-forest-labs/flux-1-schnell","@cf/bytedance/stable-diffusion-xl-lightning","@cf/lykon/dreamshaper-8-lcm","@cf/runwayml/stable-diffusion-v1-5-inpainting"]},{name:"cohere",title:"Cohere",icon:HR,apiBase:"/app/cohere",tokenUrl:"https://dashboard.cohere.com/api-keys",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["command","command-nightly","command-light","command-light-nightly","command-r","command-r-plus"]},{name:"cozecn",title:"CozeCn",icon:vR,apiBase:"/app/cozecn",tokenUrl:"https://www.coze.cn/open/api",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:"bot_id"},onChat:async(e,t,n,r)=>{n.meta.data.useConversationSetting=t.model.additionalData.useConversationSetting}},{name:"cozecom",title:"CozeCom",icon:vR,apiBase:"/app/cozecom",tokenUrl:"https://www.coze.com/open/api",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:"bot_id"},onChat:async(e,t,n,r)=>{n.meta.data.useConversationSetting=t.model.additionalData.useConversationSetting}},{name:"deepseek",title:"Deepseek",icon:VR,apiBase:"/app/deepseek",tokenUrl:"https://platform.deepseek.com/api_keys",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["deepseek-chat","deepseek-coder","deepseek-r1","deepseek-v3"]},{name:"doubao",title:"豆包",icon:fR,apiBase:window.isElectron?"https://ark.cn-beijing.volces.com/api/v3/chat/completions":"/app/doubao",tokenUrl:"https://console.volcengine.com/",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""}},{name:"ernie",title:"Ernie",icon:SR,apiBase:"/app/ernie",tokenUrl:"https://console.bce.baidu.com/qianfan/ais/console/onlineService",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:`API_KEY${pB}Secret_Key`,apiModel:""},models:{"ernie-bot":"ernie-3.5-4k-0205","ernie-bot-4":"completions_pro","ernie-bot-8k":"completions","ernie-bot-turbo":"eb-instant","ernie-3.5-8k":"completions","ernie-3.5-8k-0205":"ernie-3.5-8k-0205","ernie-3.5-8k-1222":"ernie-3.5-8k-1222","ernie-3.5-4k-0205":"ernie-3.5-4k-0205","ernie-3.5-128k":"ernie-3.5-128k","ernie-4.0-8k":"completions_pro","ernie-4.0-8k-latest":"completions_pro","ernie-speed-8k":"ernie_speed","ernie-speed-128k":"ernie-speed-128k","ernie-speed-appbuilder":"ai_apaas","ernie-lite-8k-0922":"eb-instant","ernie-lite-8k":"ernie-lite-8k","ernie-character-8k-0321":"ernie-char-8k"}},{name:"fireworks.ai",title:"fireworks.ai",icon:lB,apiBase:"/app/fireworks",tokenUrl:"https://fireworks.ai/account/api-keys",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["accounts/fireworks/models/llama-v3p1-405b-instruct"]},{name:"gemini",title:"Gemini",icon:BR,apiBase:"/app/gemini",tokenUrl:"https://aistudio.google.com/app/apikey",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["gemini-exp-1114","gemini-pro","gemini-1.0-pro-001","gemini-1.5-pro","gemini-1.5-flash","gemini-pro-vision","gemini-1.0-pro-vision-001","embedding-001","text-embedding-004"]},{name:"github",title:"github",icon:XR,apiBase:"https://models.inference.ai.azure.com/chat/completions",tokenUrl:"https://github.com/marketplace/models",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["cohere-command-r-plus","meta-llama-3.1-405b-instruct","Mistral-large","gpt-4o","Phi-3-medium-128k-instruct"]},{name:"glm",title:"GLM",icon:cR,apiBase:"https://open.bigmodel.cn/api/paas/v4/chat/completions",tokenUrl:"https://open.bigmodel.cn/",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["glm-4-0520","glm-4","glm-4-air","glm-4-airx","glm-4-flash"]},{name:"groq",title:"Groq",icon:lR,apiBase:"https://api.groq.com/openai/v1/chat/completions",tokenUrl:"https://console.groq.com/keys",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["llama-3.1-405b-reasoning","llama-3.1-70b-versatile","llama-3.1-8b-instant","llama3-70b-8192","llama3-8b-8192"]},{name:"hunyuan",title:"混元",icon:bR,apiBase:"/app/hunyuan",tokenUrl:"https://cloud.tencent.com/",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:`SECRET_ID${pB}SECRET_KEY`,apiModel:""},models:["hunyuan-lite","hunyuan-standard","hunyuan-standard-256K","hunyuan-pro"]},{name:"minimax",title:"MiniMax",icon:FR,apiBase:"https://api.minimax.chat/v1/text/chatcompletion_v2",tokenUrl:"https://platform.minimaxi.com/",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["abab6.5-chat","abab6.5s-chat","abab6-chat","abab5.5-chat","abab5.5s-chat"]},{name:"mistral",title:"Mistral",icon:ZR,apiBase:"https://api.mistral.ai/v1/chat/completions",tokenUrl:"https://console.mistral.ai/api-keys/",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["open-mistral-7b","open-mixtral-8x7b","open-mixtral-8x22b","mistral-small-latest","mistral-medium-latest","mistral-large-latest","mistral-embed","codestral-latest"]},{name:"mistral-code",title:"Mistral Code",icon:ZR,apiBase:window.isElectron?"https://codestral.mistral.ai/v1/chat/completions":"/app/mistral-code",tokenUrl:"https://console.mistral.ai/codestral",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["codestral-latest"]},{name:"moonshot",title:"Moonshot",icon:NR,apiBase:"https://api.moonshot.cn/v1/chat/completions",tokenUrl:"https://platform.moonshot.cn/console/api-keys",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["moonshot-v1-8k","moonshot-v1-32k","moonshot-v1-128k"]},{name:"qwen",title:"千问",icon:AR,apiBase:window.isElectron?"https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions":"/app/qwen",tokenUrl:"https://dashscope.console.aliyun.com/apiKey",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["qwen-turbo","qwen-plus","qwen-max","qwen-max-longcontext","qwen-vl-plus","qwen-vl-max"],onChat:async(e,t,n,r)=>{n.model.includes("vl")&&delete n.temperature}},{name:"sambanova",title:"sambanova",icon:((e,t="")=>Na(fB,{src:e,alt:t}))(uB,"sambanova"),apiBase:"https://api.sambanova.ai/v1/chat/completions",tokenUrl:"https://community.sambanova.ai/",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["Meta-Llama-3.1-8B-Instruct","Meta-Llama-3.1-70B-Instruct","Meta-Llama-3.1-405B-Instruct","Meta-Llama-3.1-8B-Instruct-8k"]},{name:"siliconflow",title:"Siliconflow",icon:PR,apiBase:"https://api.siliconflow.cn/v1/chat/completions",tokenUrl:"https://cloud.siliconflow.cn/account/ak",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["deepseek-ai/deepseek-v2-chat","deepseek-ai/DeepSeek-Coder-V2-Instruct","deepseek-ai/deepseek-Ilm-67b-chat","alibaba/Qwen2-72B-Instruct","alibaba/Qwen2-7B-Instruct","alibaba/Qwen2-57B-A14B-Instruct","alibaba/Qwen1.5-110B-Chat","alibaba/Qwen1.5-32B-Chat","alibaba/Qwen1.5-14B-Chat","alibaba/Qwen1.5-7B-Chat","01-ai/Yi-1.5-34B-Chat","01-ai/Yi-1.5-9B-Chat","01-ai/Yi-1.5-6B-Chat","zhipuai/chatglm3-6B","zhipuai/glm4-9B-chat","mixtralai/Mixtral-8x7B-Instruct-v0.1","mixtralai/Mistral-7B-Instruct-v0.2","google/gemma-7b-it","google/gemma-2b-it"]},{name:"stepfun",title:"Stepfun",icon:DR,apiBase:"https://api.stepfun.com/v1/chat/completions",tokenUrl:"https://platform.stepfun.com/",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["step-1-8k","step-1v-8k","step-1-32k","step-1v-32k","step-1-128k","step-1-256k"]},{name:"spark-api-open",title:"Spark OpenAPI",icon:OR,apiBase:window.isElectron?"https://spark-api-open.xf-yun.com/v1/chat/completions":"/app/spark-api-open",tokenUrl:"https://console.xfyun.cn/",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:`APIKey${pB}APISecret`,apiModel:""},models:{"spark4.0-ultra":"4.0Ultra","spark-max":"generalv3.5","spark-pro":"generalv3","spark-2":"generalv2","spark-lite":"general"}},{name:"spark",title:"Spark WS",icon:OR,apiBase:"/app/spark",tokenUrl:"https://console.xfyun.cn/",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:`APPID${pB}APIKey${pB}APISecret`,apiModel:""},models:{"spark4.0-ultra":"4.0Ultra","spark-max":"generalv3.5","spark-pro":"generalv3","spark-2":"generalv2","spark-lite":"general"}},{name:"anthropic_vertex",title:"Vertex Anthropic",icon:wR,apiBase:"/app/anthropic-vertex?location=us-east5&project=",tokenUrl:"https://console.cloud.google.com/vertex-ai",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"note: projectid and location, locations: 'europe-west1' | 'us-east5'",apiKey:`key: client_id${pB}client_secret${pB}refresh_token, command: gcloud auth application-default login | gcloud init | gcloud auth login --update-adc | cat $env:APPDATAgcloudapplication_default_credentials.json `,apiModel:""},models:["claude-3-5-sonnet","claude-3-opus"]},{name:"gemini_vertex",title:"Vertex Gemini",icon:wR,apiBase:"/app/gemini-vertex?location=asia-east2&project=",tokenUrl:"https://console.cloud.google.com/vertex-ai",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"note: projectid and location, locations: 'europe-west1' | 'us-east5'",apiKey:`key: client_id${pB}client_secret${pB}refresh_token, command: gcloud auth application-default login | gcloud init | gcloud auth login --update-adc | cat $env:APPDATAgcloudapplication_default_credentials.json `,apiModel:""},models:["gemini-pro","gemini-1.5-pro","gemini-1.5-flash","gemini-experimental"]},{name:"mistralai_vertex",title:"Vertex Mistralai",icon:wR,apiBase:"/app/mistralai-vertex?location=us-central1&project=",tokenUrl:"https://console.cloud.google.com/vertex-ai",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"note: projectid and location, locations: 'us-central1' | 'europe-west4' ",apiKey:`key: client_id${pB}client_secret${pB}refresh_token, command: gcloud auth application-default login | gcloud init | gcloud auth login --update-adc | cat $env:APPDATAgcloudapplication_default_credentials.json `,apiModel:""},models:["mistral-large@2407","mistral-nemo@2407","codestral@2405"]},{name:"openai_vertex",title:"Vertex OpenAI",icon:wR,apiBase:"/app/openai-vertex?location=us-central1&project=",tokenUrl:"https://console.cloud.google.com/vertex-ai",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"note: projectid and location, locations: 'us-central1'",apiKey:`key: client_id${pB}client_secret${pB}refresh_token, command: gcloud auth application-default login | gcloud init | gcloud auth login --update-adc | cat $env:APPDATAgcloudapplication_default_credentials.json `,apiModel:""},models:["meta/llama3-405b-instruct-maas"]},{name:"siliconflow.image",title:"siliconflow.image",icon:PR,apiBase:"/app/siliconflow-image",tokenUrl:"https://cloud.siliconflow.cn/account/ak",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["stabilityai/stable-diffusion-xl-base-1.0","stabilityai/stable-diffusion-3-medium","stabilityai/stable-diffusion-3-5-large","stabilityai/stable-diffusion-3-5-large-turbo","black-forest-labs/FLUX.1-schnell","black-forest-labs/FLUX.1-dev"]},{name:"yi",title:"Yi",icon:dR,apiBase:"https://api.lingyiwanwu.com/v1/chat/completions",tokenUrl:"https://platform.lingyiwanwu.com/",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["yi-large","yi-large-turbo","yi-medium","yi-vision","yi-spark"],onChat:async(e,t,n,r)=>{n.model.includes("vision")&&"system"===n.messages[0].role&&n.messages.shift()}}],hB=[{name:"bing.image",title:"bing.image",icon:iR,apiBase:"/app/bing-image",tokenUrl:"https://www.bing.com/images/create",isApi:!1,show:{apiBase:!0,apiKey:!0,apiModel:!1},tips:{apiBase:"",apiKey:"",apiModel:""},models:[]},{name:"blackbox",title:"blackbox.ai",icon:iR,apiBase:"/app/blackbox",tokenUrl:"https://www.blackbox.ai/",isApi:!1,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["gpt-4o","gemini-pro","claude-sonnet-3.5","blackboxai"]},{name:"chatglm",title:"chatglm.cn",icon:GR,apiBase:"/app/chatglm",tokenUrl:"https://chatglm.cn/main/detail",isApi:!1,show:{apiBase:!0,apiKey:!0,apiModel:!1},tips:{apiBase:"",apiKey:"cookie: chatglm_refresh_token",apiModel:""}},{name:"chatgpt.com",title:"chatgpt.com",icon:iR,apiBase:"/app/chatgpt-com",tokenUrl:"https://chatgpt.com/",isApi:!1,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["auto","gpt-4o","gpt-4-turbo","gpt-4","gpt-3.5-turbo"],onMessage:(e,t,n)=>n.map((e=>({role:e.role,content:{text:e.content.text,files:e.content.files,images:e.content.images},id:e.id}))),playground:{apiKey:""},onChat:async function(e,t,n,r){if(window.isElectron)if(this.playground.apiKey)r.Authorization=`Bearer ${this.playground.apiKey}`;else try{const e=await window.ipcRenderer.invoke("login-get-token",{url:this.tokenUrl,userAgent:"",script:"",show:!1,autoClose:!0});this.playground.apiKey=e.token,r.Authorization=`Bearer ${this.playground.apiKey}`}catch{this.playground.apiKey=""}}},{name:"claude.ai",title:"claude.ai",icon:TR,apiBase:"/app/claude",tokenUrl:"https://claude.ai/",isApi:!1,show:{apiBase:!0,apiKey:!0,apiModel:!1},tips:{apiBase:"",apiKey:'cookie:{\n "__ssid": "",\n "sessionKey": "",\n "activitySessionId":"",\n "lastActiveOrg":""\n}',apiModel:""}},{name:"cursor",title:"cursor",icon:XR,apiBase:"/app/cursor",tokenUrl:"",isApi:!1,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["gpt-4o","claude-3.5-sonnet"]},{name:"deepinfra.com",title:"deepinfra.com",icon:iR,apiBase:"/app/deepinfra",tokenUrl:"https://deepinfra.com/chat",isApi:!1,show:{apiBase:!0,apiKey:!1,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["meta-llama/Meta-Llama-3.1-405B-Instruct","meta-llama/Meta-Llama-3.1-70B-Instruct","meta-llama/Meta-Llama-3.1-8B-Instruct","nvidia/Nemotron-4-340B-Instruct","mistralai/Mixtral-8x22B-Instruct-v0.1","mistralai/Mixtral-8x7B-Instruct-v0.1","microsoft/WizardLM-2-8x22B","microsoft/WizardLM-2-7B","Qwen/Qwen2-72B-Instruct","Qwen/Qwen2-7B-Instruct","microsoft/Phi-3-medium-4k-instruct","google/gemma-2-27b-it","llava-hf/llava-1.5-7b-hf","mistralai/Mistral-7B-Instruct-v0.3","lizpreciatior/lzlv_70b_fp16_hf","openchat/openchat_3.5","openchat/openchat-3.6-8b","Phind/Phind-CodeLlama-34B-v2","Gryphe/MythoMax-L2-13b","cognitivecomputations/dolphin-2.9.1-llama-3-70b"]},{name:"deepseek-com",title:"deepseek.com",icon:VR,apiBase:"/app/deepseek-com",tokenUrl:"https://chat.deepseek.com/",show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"userToken.value",apiModel:""},models:["deepseek-chat","deepseek-reasoner"]},{name:"designer",title:"designer",icon:XR,apiBase:"/app/designer",tokenUrl:"https://designer.microsoft.com/image-creator",show:{apiBase:!0,apiKey:!0,apiModel:!1},tips:{apiBase:"",apiKey:"",apiModel:""},models:[]},{name:"firefly",title:"firefly",icon:BR,apiBase:"/app/firefly",tokenUrl:"https://firefly.adobe.com/",isApi:!1,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["image3_fast","image3"]},{name:"genspark",title:"genspark",icon:iR,apiBase:"/app/genspark",tokenUrl:"https://www.genspark.ai/",isApi:!1,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["gpt-4o","claude-3-5-sonnet"]},{name:"genspark-image",title:"genspark.image",icon:iR,apiBase:"/app/genspark-image",tokenUrl:"https://www.genspark.ai/",isApi:!1,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["mixture","flux","flux-pro/ultra","ideogram","recraft-v3","dalle-3"]},{name:"github-copilot",title:"github.copilot",icon:XR,apiBase:"/app/github-copilot",tokenUrl:"",isApi:!1,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["gpt-4o","gpt-4-turbo","gpt-4","gpt-3.5-turbo"]},{name:"grok",title:"grok",icon:iR,apiBase:"/app/grok",tokenUrl:"https://grok.com/",isApi:!1,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["grok-3","grok-3-reasoning","grok-3-image","grok-latest","grok-latest-image"]},{name:"huggingface",title:"huggingface.co.chat",icon:JR,apiBase:"/app/huggingface",tokenUrl:"https://huggingface.co/chat",isApi:!1,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:'cookie:{\n "token": "",\n "hf-chat":"",\n }',apiModel:""},models:["meta-llama/Meta-Llama-3.1-70B-Instruct","meta-llama/Meta-Llama-3.1-405B-Instruct-FP8","CohereForAI/c4ai-command-r-plus","mistralai/Mixtral-8x7B-Instruct-v0.1","NousResearch/Nous-Hermes-2-Mixtral-8x7B-DPO","01-ai/Yi-1.5-34B-Chat","mistralai/Mistral-7B-Instruct-v0.3","microsoft/Phi-3-mini-4k-instruct"]},{name:"imagefx",title:"imagefx",icon:BR,apiBase:"/app/imagefx",tokenUrl:"https://labs.google/fx/zh/tools/image-fx",isApi:!1,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["IMAGEN_3_1"]},{name:"kimi",title:"kimi.moonshot.cn",icon:NR,apiBase:"/app/kimi",tokenUrl:"https://kimi.moonshot.cn/",isApi:!1,show:{apiBase:!0,apiKey:!0,apiModel:!1},tips:{apiBase:"",apiKey:'localStroage: {"access_token":"","refresh_token":""}',apiModel:""}},{name:"llmplayground",title:"llmplayground.net",icon:NR,apiBase:"https://api.airforce/chat/completions",tokenUrl:"https://llmplayground.net/",isApi:!1,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["gpt-4o","claude-3-5-sonnet-20240620","gemini-1.5-pro","llama-3.1-405b-turbo"],onChat:async(e,t,n,r)=>{if(n.model.includes("claude")&&"system"===n.messages[0].role){const e=n.messages.shift();n.messages[0].content=e.content+"\n"+n.messages[0].content}}},{name:"lyihub",title:"lyihub.com",icon:iR,apiBase:"/app/lyihub",tokenUrl:"https://lyihub.com/wxlogin",isApi:!1,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"localStroage: authorization-storage",apiModel:""},models:{"Baichuan3-Turbo":"gAAAAABmkUr786qEqgAKuopO-ykNvw6f1JbqHVYX6r6J7zvBC9_13imWRt1mnDw2-oiSAVWsnFRJlsj18Hma9pOUbeYx8jQbQ0oKEyMnmjMQzP6luuGnxpVRke-OK9H8dJVwMQStknGRK70dxGhbxIq5carIcdXSeNn4Gdcr1JoO5PbcbTrTf4LgNo-i7cjlMPR3mxvHQ5k-Crz1G239g_FxqQYWEF94rQ==",Baichuan4:"gAAAAABmkUsg0WjZolCgbNx0jihTXL4ubR9a1bngI5P2Kt0PkQYBnEm0KkUVKUrIkWCNwK6KR0Rrl77-nbSCyRzzZ2BMDHoC5iUjSxqy1WTPusTJoNZaa4ZrVnNBNoUQOvjF_sWXGF4JPn_uia8ZVxDFMqKmJks6tQf5xioi_TcJb6eIvG9222Os-jIaOM7-NqJiXcMGLr2hC6yrrc68B_GR0rayEgjNaQ==",SparkLite:"gAAAAABmkUsf0r1NLLKqke8EKGHdJf2LQ4RzjKDwGTjU31c5sHp9BnjTqyNbpmEXMBMIqu2TMkSIIR_Cqumb8xqC7j9PiCUtzjz9Rhkof7-5BKoA6dACw-DB0Np5cJ_7FM71nd3WN7Tft5PZr86SrvQ96HkbU6Q_slVxDGsM8iIu9eXR36gYsmMfvFcDodOfu0rn58LuQdterkoVClGCg7-usNImSyKKyg==",SparkMax:"gAAAAABmkUsMRi5bzp0M11u9FLuAuJ0VxxNKpQSn-aomvhqx0j9TfYwoADpPq1G_xDBvivmKzcbPEHQTAIXWQIKnhJ6sVVl8Olyk_MPPUDuKt6NGepK6xdasixRdg3xdBdiAMTQDHWqzjpdP_LEoXECAN0AgvvWVY35dIDhpOtvkiYF74TlxhfxWlHaaRHbVTDM_49pwa_yFhF9Mar8xHU8VS6qYlGdVSw==",SparkPro:"gAAAAABmkUsdwNyW0LQ17OVrAqoeU8ZL-F-UuC48c8_nQMkrUtBwuMl8kOBW9qFWEOcc-FayMUJbz5aDvRsNq511264XAxrmaLtlDsvjqHoIv453v1ZBYFuju42pGAqjBFGwKF9ON3mFtq0KpEoAW3MAt5Zw9eLqSDk38NS7oR8C5VoKlPGQk1gRT4kxi-CcEU37OPAJvBM0HA9pH9tIWI4lnTrXStVzIQ==","abab6.5-chat":"gAAAAABmkUsKmYEvM_ro-8_jeR9orKz4QY30oIoCzMacq-jtD6P5SDR2VIFoRlMi4Xoh8UeXg45DLloigCniJ8-ERJVJbuHNNlj3XTD0evKSJnjP07IpwLCo8QIH4NK0jftKe3p14cT7IlDF_DiQUJKyTADJ688QQs8736256wFil4CKqNcAO2H3uJBKQkAGGS7HM9PCDuwQftpPMwb26uAv7UPDIL90sA==","abab6.5s-chat":"gAAAAABmkUsaU-3CQ1GIJwUQvAKgvgQKiZ_4jCZ33POdIw3uvO0Q8xAxbZGyIv7hS4EtkvUW8UTWHHleLEiQ-Z-hjgmSedc9UhPS2tw96X1LrhKD4YjLkJfpqgI_O9DMibtdujTPPYliM_FNU_gAxPCMBPAftYhBxmiWQxP0Zf_cQYqd4z7dVFtYUdYSzGLGeJdi2Jss5ToH4jDY_NVT9CEm_bJT_2airQ==","abab6.5t-chat":"gAAAAABmkUse98gzQAge7XTH42qucLTZItdI4RFbCi96mFHce4eOcmyDkGrWKDixO2TAOZRfA0P6rxY0nSHPUinL6uozLW9ar7wFSQghs3LBPyGh3FS0rueHYCjz7J8x8MkLiqHzRQH6IMvn6wRfUbPdRIdOCLLfpUys3n2jp6doS5ueE2Tt37yL0Geby9Ad-q8vugeBqPQNB2fsoVdWIuWuBaiFYX20Rw==","claude-3-haiku-20240307":"gAAAAABmkUsTnySxBy3AhFX5Br0_WABDUrQTf83XhJFtMPBrVGvu_BEs9PVzDDeLqUvgW7coFJ3_eIjbLr1uzxfcxH7-PzMjitN_cPTOWQ7CumAFktE6REFHHuziYLl3jwwfoEfSfZmuyvVQAnAVBUPe6909T4RtDXeUHy-gkp6E219TbxJ_OQllYGFMaVU_wX_JbpKyIrbdYh6gtcU3vDt6bCWaRId0fA==","claude-3-opus-20240229":"gAAAAABmkUsgC_qdgQaMVPYp0kFFeoyhdpc3yCVl5eLg5JDBCQYqgnLJZY3kYeoNf841_qioqhAf-4oMMzfsAD-azWGKzPS37NZlT3KXzWl59_KVVolhfOPW5vxsz366eqoDfRKjf9lfQmiJCYUfJpRGHK8u9r4w92vLN3nbd5zGn04iDY78j67iiBJOImiDt_K5cmGDWl51JHyvvmbka6LLfVPw8UOgVw==","claude-3-sonnet-20240229":"gAAAAABmkUsMW9zAtkBYGTku1wrcBJuxgSgDWY3hah3TLxgKNHLCY7UTn82mpo8SlnwT3zxy00knyAJpbKnKdW0bGTXjkvrawUPg05jKdP3D_O6mX6Y9JVIa_Fq9gTNQnt19mG7wELRbwTcPaKFHr06lZFaBy5qfA57n3C39pAHZ9feCwi5VOfxbRseA7KRCQ1eJ12X1RASsAPqimk1IdXLVe1K87yoZNQ==","claude-3.5-sonnet-20240620":"gAAAAABmkUsRasCzMpjf-DFX-nQyDdFYcdkOR0P-Ue-7u3gYN52gOq_WDMPZqIf57ccteAyKbBhl63u3QWGM8TuGDXvNi0RPSt_36DdeIlwDKKIB1XaOrI0V0e9cT9BLBwRuDmjYPUnqSGxjhOFgklHIEi5QY478BnRJpbtVfOBEbAOIjCDVn5kzl87pOABhjNmJ5NTBFgqbJ7NKf-DZqOguLc-RHOD2Fg==","command-r-plus":"gAAAAABmkUsVrFcjAJGh2k0OLWqEy4z3yZa6tKRNJgrTSim2FCnDWyVgweghb9rncWJdypnbCTbJsKz_ov2PfovsTfyZBQJjQxgwMAkvqOmfOfqyFCfSKDrYg5pAGwH-iUr0tOO5MLWp1HclybeWAdc_25cMysDDQZLpQMx0ST9gnNZ086tn0zeIwcxh3jax-Ff9accpKWB6c1s_ktMX6nAQcrgejOGzCA==","doubao-lite-32k":"gAAAAABmkUsBs9Z3LA_Udf15mc-ELk6_3cnUWwXTqIiAVLdAVELH8lzer7Fn4K3X5su1Si4w3LWiCn7Qe35RUf6zVazmilwuJ5wEQgLLdn5dFjVDlkJ9oGJyyLOf8dyTCeP3o5d-UnhMeIdO3SlXJYm10bMvpr5DL-REPHiBlulGYCiiGymhiIVBWYnBqcs4sWWKfKZKY6_YjZVLR25Yomd0ERO0kAy2Vg==","doubao-pro-32k":"gAAAAABmkUsCCRw3AuS-2pB6ydsVFKgq93IPRjYbmb9N1VJoZITLOqxTX6WcUa8Jr1rf5iWih_F5Dd6EH66IbzCJfM3Y03RcfvyIWaE8D-WZxRiCj-qCQ72qBuzkV0giBXH-wJymCDHW9ICCjVDyLhM5Hi0iAfNEg-ARs0MdJ7PFc9xMKu14BPNnJCCSjXjEWzHrot9wQ1nq2CvKWFI4A8z3pH0Ya2CCYg==","gemini-1.5-flash":"gAAAAABmkUsNrqX7wwFHNRNAXV6uAtxMjXXtFfJlRW09_aDjoDxFWiwdFxLZBetkE_fzOrwwsTyxt2y7nrNzWHafLWNMwTJ_x_-93L11Os_09LnjRFjv5nci5wBr4gpGeXwVrXYMzAyLYAPgzhySBSIFtJ6i7TcV9gUlpFf-UM02ae2n06vJXu0dxVnD--qnOLUDd1k2BFDM-3rcU5zcXYlYcwIQPU94BQ==","gemini-1.5-pro":"gAAAAABmkUsYgSxS8eoptqAqLL-YKWUfgNdCqOpqW4PkZYnjysnzDfL25ubw3TSp8vswu5iQiocf3l72ijpKZVyl62uN7dsMYe6FgG_UDMicybXhsUpudaU4sUGYsQMiZ8w5JyXD5csD-xMYFnLpL66XAHrmaSClP5hNQi695Go24o3kGYHrWg5wZeBKTJqasJvERzsFYXdWocIXnuncjioLNSt0xr5Aeg==","glm-3-turbo":"gAAAAABmkUsFS3OGk5nB5dMhxtaAR-8U98y_aSqgHJkQYI_7vjQcE-JavPS2WRQivodWCEVjHTp5FsC-7pP6RDv5VEYm1wd58RoCCI4Oz2iJw03l6r0VcfdX_yW07WZTedAW9ud3IYnPaFZ2OxrMHO4tkUWlKT2O1Wn6scEi-5KhhDXM_hW4XgOtJ-NwBZy9c87pfauMqtCjj9goclUYPmxNj1n2db6scw==","glm-4":"gAAAAABmkUsT4W7B0He5oVSue2Iq_DpZkiBWRYYj5J90qeB2F3XZnYRMw8bRB-nMA3eECs2C2-fhvIpYtUsH7SKgV9oDRkLRO0GQYkZC5UlE_nOmr3_dhAP1cgLVxfE4nIQESAa3cNqLjXUoG3f5gP3FM-6-hurBf9WwdNXR0qoA0OMe-BYFASrGZj0gTetkFeFdAsTykbkDvCFEaE9wanLuN4oYYeqdVA==","glm-4-0520":"gAAAAABmkUsKJZBBKaKzQ7_hxIqiddZ-vAdtxQUk0_ZHsSFysvyQ1d-eik-F_if_21KmGdtKpaZwBP1N2Oa1TTE2SsgE2oqIOR1UnECrzMJiaNQdJOgIbwDTWxL2vqNqoqekJvpI-YSLBGAyGcHdYoVzLQ6u8W5KPj-PQp7-Nnlm2_WWRidkmAVKP8FKvKHgmY7u7VYpu94O5PKU3k42osJh6w3eEWoqDA==","glm-4-air":"gAAAAABmkUsL_N7Xj5keQtO3LUqh1bRVms3_wXxHwSKM0uvwlRB1MiL-iis_OvZGgZ6BzS9SPFZWt6J0tzATGqboUNOx7UMc31KKxm3DgdWC7XsnCJRakc9_KeTzNgS_wuJSMxfKmODLKO1fnRCVpUDHuYuqGESujjfofqQo4TrbAb_cz6p9Gv99gf_-sp10qewTaa5rYKQ5CGklzb8XjD7kJCdsCqohoA==","glm-4-airx":"gAAAAABmkUsViaU9KgeMfhYrGMw7FCPCw-9wAwlNUJ3kI22o0FRmX1M6rpmoc9H_14mbhXubeQjWwG1LCm8FRdniEibvKNGfmp1HXiOGWBF66nPZNbqACaxhLNpnhQaXEOnZfnYBwJ_EDnzgWZAOXEE118qYxuvE-1WrhlyqEAVykIQr42ioClJEpI0JQZFIH-Hlw8KHG3sfxNqbgUzmZ3p3-L5lmuJZbA==","glm-4-flash":"gAAAAABmkUsLR-_pYi-8bqgPqUQ7PdR-gFTLROqmZsQs7xLYfZtPtck-oKPALQ2i11iAKp7C5jFgQ3kXtcgDqCXU1XAQWup7PvKFvMIHzPQCNEbdwoaZYCSahHnwRd8dTk9MPRZjX3VECJoP5fKTDAzq8C3E2nguZIOEY01NvOPmLiNUP6IA5iEWCH4ywhFGXeG9FUnkKmOoOOnmSaTm747nGxk9hq4W0g==","gpt-3.5-turbo-0125":"gAAAAABmkUsR8DatvsPN7Rrmn2HxFvP4SzZk2wZALsWUfyJIwSaEKDxU6zvzLpQf7-0Cw3esdOpnTERTgMIuvKW9nYAxEXv9TLehsPSQ3vBOxg-XemQdvPxov7ncQEXttXfKs8RX_Uzfi5P6NHqhs1-Xr4E6r0tGCMrqj_xhTPbJFmzztFyo8y445Xc0E53kP6aAO73ffl_WfD04Mv5foWgzutYNA9rI1w==","gpt-4-turbo-2024-04-09":"gAAAAABmkUsZ7IiuppXTadJ-PnHy4GbvaL_CpzlsULbQJdMJpJ9a79sCKXTyvsdbrNrE8pASwRnA0EYaoIkaVYRo9ad_Yk-LXl5y64UtMQ9J5gFYPD80jhNePAso9VTVwhQlam46xiX3qkknZM3GFvHBFNqfDQz3RbsvC4SqLfB5qj8WAQHk_n0ZZ8DvukJtRdSSSSNzMe2-pZbzQcDHdhP5lVGjQN9S9g==","gpt-4o-2024-05-13":"gAAAAABmkUsa4Q-5CCeVEHzt-T0SA4GUU2-QEdx8uhQM4qgPXpzD6Xwrvb-EmxpP_ggKwVMc6kLjJmZSQBZdxHtp5UAchCZCKpMpaCnrubOfwuVEcj3aTmyiYqUlXCs6CUeyc18pp5CqYIBIbStr15FNVpaRTUnAZfywVvtS70UB7L5_pVV-uzIv-hR18ylqf5tCCcaolheYswoRfeHXWrl3jUKUYO9C-g==","llama3-70b-8192":"gAAAAABmkUsZJqLlp6hY9gAhX7Fu4e26HZCjt-j6AGgZh2Cx1iXsDTmCau2Gi46TiA784071qOq1Y3glnE_XLvB4IBg6i5y3EblUXL8Q7DvEyAOlfgl89BtTnZPh6O12pJsGSbOy-5XRIdPP5y0fME52eWBNFld9ZFqL-dUOJZoytHEluTCKBNQkG20QRF11rL43hr7UxF_DkkG9JS18QkAq2lLoan-ydA==","mixtral-8x7b-32768":"gAAAAABmkUsHL5e9Nbruz6e0nfR0iEBkHSBQRSRiBZkhRdd6P4O634nM-cFqLAGToLu_jkmnCmgtDlhmBLoNI0CqzeO5QOLkZyaxOOI-QlmSd3jRhDOMXWCnBZAapTAhPl5LVtxBOzbRc6ESUucqAp7YcWyN5PXUdMGFcx7Mjs0oiqsG6n3x71A7JjvcL9zeF4C9JuGtjBPwXoB56BfuJM2VfimQ_7GU1w==","moonshot-v1-32k":"gAAAAABmkUroGHbpX8E_-l8zoz_mfmhLkrzgkWPn-YTA9gCcyvfkeJHF2UHQB7sY3QWZCKcQ9H6m46sEoCHnysUM6mL8RlFLbvdOq3OGpPEwrRJCqcK2LfhBzEibO00QG0kmmBSavcFtmVHc8QKpdd-EITGeFAlZ10uN8TYU6z7umVDvt2wt6rzpCQXDZ6IQVgSJj9cwuVIIqG7J9e7_2LpE3-K-VElh3g==","qwen-max-0428":"gAAAAABmkUse_kCYLL-Z81qc6ukTxx5eFD9RM89crG53wz-Mnoq8p0X4PkywzBsbi-srvJem-eBUOqfN5rqTGymCJiErWB4FzuUesEip8vnT6P5inzE-AIoPk0ivNOj6MkGvNUKXLdLCsBYJC1R4tKmNmTmZDjNL9Kaj27rx8qGUORz-hmRDWlfDn7tefsWNfuTGmeo1HJhYQH0CXW0W6P7BLhV_ZIoE7g==","qwen-turbo":"gAAAAABmkUsYy67utPnhoy_plfFAA2lff9hCbotB7DQHXv16H5Ec4gaB8bLy_CGEwT6OmrsBFLVE-7BOEF13V9zE-QIrt2UVlu-0NzsknzZ2F8xMDgqk9rfD9Ja1d4zXqkZpEh-Iv9GG5SqlyqUFo9Xc7YNqgWcDwKVbANKL4iyHkK8_xlYXYSYqY3MG_S7_5mpB3YFO0MHh_MNIT4Z0PLNGCWQ8DxIa5Q==","step-1-32k":"gAAAAABmkUsWjxLbRQfwr4oEm4S3uQmMPD7fOGQceOCUjEN1AkrUPCPZLlcarD5g5q5QHQrc0eqX2arwgmpgMHcbhZ4Vmv_1-SsHiPQWPqaTkpKXMLOoRnVWIQnqkQ3-Jk5XdpoFINNJyWh9R1nLa-AWDzNFhzweU0zPbhyzs0MqZHNnR3yj4O1-nhWa5srt_UELeeQG65l1S2A3bnqy0M2a_134W7XUtw==","yi-large":"gAAAAABmkUsXiLrI0v1pzdoyELoOtTBOwMMMUZgh70sFf6Vkj-xLWhw7rqI4JI1jU5VpK7Ct-qNtBWz8WCPaagFzTFRGVLUA_55bivqH7KFg5vH098b0t32EGEodIsL7_6zg6nRhRE6ajdLl7zLNo3AIeGYsXEGztUoKEMrAuljgA2mEnqZ06CUVKxyNiYZy8C57XfSBbhnOBE9P7vgGw6fjaABa8f57BQ==","yi-large-turbo":"gAAAAABmkUr9aYevIzuxP_7rujgPkbaORAftG09SacPqP-ApIZUDA1pGuKb3R_oQa7K09wEdH63hFTabEEcexKzPd7DcWzll8NkPrcWPoQnw6WWDPBpi9Rdhz5DYPdcY2ONSrMsvNa8FCDmxeaDJzrh0bDRaAKdROJl0xZCfviQeqPXZ0Z2-HtuLmTtUppu88NXVGJfYTV7do3z_On4z_IdWs5W9YDQDSw==","yi-spark":"gAAAAABmkUsJj-PEk2frld-nl1blME-iTRjmf-xrqKbQ-xH7BaFsqvkN_2A4Pr8PRK5cjtJPj9MFWANbuW32OHj8kqA6KnHkDKiJD5o4v4AozhT0O1ZKPKDxcnEgzNvRW3B2l-7Rn5kDIQYpzgffVhZOOwyo1xpKAF30WLqSWhr5auswl4eqFg-n4wNjD3eF67bCe8DH-ykd_26hPwjqu6OkQ4c9_uUyLw=="}},{name:"mistral.ai",title:"mistral.ai",icon:ZR,apiBase:"/app/mistral-ai",tokenUrl:"https://chat.mistral.ai/",isApi:!1,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"cookie: ory_session_coolcurranfxxxx:xxxx",apiModel:""},models:["codestral","mistral-large","mistral-next","mistral-small"]},{name:"n",title:"纳米",icon:NR,apiBase:"/app/n",tokenUrl:"https://bot.n.cn",isApi:!1,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:{"deepseek-r1":"a0c817f8d3f097b5263048b29bfb5737"}},{name:"pieces",title:"pieces",icon:XR,apiBase:"/app/pieces",tokenUrl:"",isApi:!1,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["claude-3-5-sonnet-latest"]},{name:"qodo",title:"qodo",icon:XR,apiBase:"/app/qodo",tokenUrl:"https://auth.qodo.ai/?extensionId=Codium.codium&extensionQuery=windowId=1&uriScheme=vscode", +// "https://auth.codium.ai//pre_login.html?redir_url=https://auth.codium.ai/%3FextensionId%3DCodium.codium%26extensionQuery%3DwindowId%3D2%26uriScheme%3Dvscode",//"https://api.qodo.ai/v1/auth/send-sign-in-link-email/vscode/Codium.codium/windowId=1?email=", +isApi:!1,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:'{"email":"xxx@xxx","oobCode":"xxx"}',apiModel:""},models:["claude-3-5-sonnet"]},{name:"qwenlm",title:"qwenlm",icon:AR,apiBase:"/app/qwenlm",tokenUrl:"https://chat.qwenlm.ai/",show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"token",apiModel:""},models:["qwen-max-latest","qwen-plus-latest","qvq-72b-preview","qwen2.5-coder-32b-instruct","qwen-vl-max-latest","qwen-image-latest"]},{name:"replicate.com",title:"replicate.com",icon:iB,apiBase:"/app/replicate",tokenUrl:"https://replicate.com/meta/meta-llama-3.1-405b-instruct",isApi:!1,show:{apiBase:!0,apiKey:!1,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["meta/meta-llama-3.1-405b-instruct"]},{name:"tongyi",title:"tongyi.aliyun.com",icon:AR,apiBase:"/app/tongyi",tokenUrl:"https://tongyi.aliyun.com/qianwen",isApi:!1,show:{apiBase:!0,apiKey:!0,apiModel:!1},tips:{apiBase:"",apiKey:'cookie: {login_tongyi_ticket:"",tongyi_sso_ticket:"",tongyi_guest_ticket:"",login_aliyunid_ticket:""}',apiModel:""},onMessage:(e,t,n)=>n.map((e=>({role:e.role,content:{text:e.content.text,files:e.content.files,images:e.content.images},id:e.id})))},{name:"wanzhi",title:"wanzhi.com",icon:tB,apiBase:"/app/wanzhi",tokenUrl:"https://www.wanzhi.com/",isApi:!1,show:{apiBase:!0,apiKey:!0,apiModel:!1},tips:{apiBase:"",apiKey:"localStroage: authorization-storage",apiModel:""}},{name:"yuanbao",title:"元宝",icon:tB,apiBase:"/app/yuanbao",tokenUrl:"https://yuanbao.tencent.com",isApi:!1,show:{apiBase:!0,apiKey:!0,apiModel:!0},models:["hunyuan_gpt_175B_0404","hunyuan_t1","deep_seek","deep_seek_v3"],tips:{apiBase:"",apiKey:"",apiModel:""}}];const vB=class e{constructor(){n(this,"_providers"),n(this,"_icons"),n(this,"_dict"),n(this,"_options"), +// 新增计算属性缓存 +n(this,"_availableModels",Ia((()=>H2().enableModels.filter((e=>this.dict[e.type])))))}static getInstance(){return this.instance||(this.instance=new e),this.instance}initialize(){if(!this._providers){const e=R2();this._providers=[...dB,...e.isPro?hB:[]],this._icons=this._providers.reduce(((e,t)=>(e[t.name]=t.icon,e)),{}),this._dict=this._providers.reduce(((e,t)=>(e[t.name]=t,e)),{}),this._options=this._providers.map((e=>({label:e.title,value:e.name,...e})))}} +// 属性访问器 +get providers(){return this.checkInitialized(),this._providers}get icons(){return this.checkInitialized(),this._icons}get dict(){return this.checkInitialized(),this._dict}get options(){return this.checkInitialized(),this._options}get availableModels(){return this.checkInitialized(),this._availableModels} +// 新增方法 +getModelItemTitle(e){let t="";return e.apiModel&&(t=`(${this.getModelItemModel(e)})`),`${e.name}${t}`}getModelItemModel(e){var t;if(this.dict[e.type]){let n=this.dict[e.type].models;if((null==(t=e.additionalData)?void 0:t.models)&&(n=e.additionalData.models),n&&"object"==typeof n&&!Array.isArray(n))for(const t in n)if(Object.prototype.hasOwnProperty.call(n,t)&&n[t]===e.apiModel)return t}return e.apiModel}checkInitialized(){if(!this._providers)throw new Error("ModelProviderManager must be initialized before use")}};n(vB,"instance");const mB=vB.getInstance();var gB,yB,bB,_B,wB,xB,OB,EB,SB,CB,AB,kB,TB,MB,PB,jB;function DB(){if(yB)return gB;yB=1;var e=function(e){return e&&e.Math===Math&&e};return gB=// eslint-disable-next-line es/no-global-this -- safe +e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||// eslint-disable-next-line no-restricted-globals -- safe +e("object"==typeof self&&self)||e("object"==typeof rO&&rO)||e("object"==typeof gB&&gB)||// eslint-disable-next-line no-new-func -- fallback +function(){return this}()||Function("return this")()}function IB(){return _B?bB:(_B=1,bB=function(e){try{return!!e()}catch(t){return!0}})}function NB(){return xB?wB:(xB=1,wB=!IB()((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})))}function LB(){if(EB)return OB;EB=1;var e=NB(),t=Function.prototype,n=t.apply,r=t.call;return OB="object"==typeof Reflect&&Reflect.apply||(e?r.bind(n):function(){return r.apply(n,arguments)}),OB}function FB(){if(CB)return SB;CB=1;var e=NB(),t=Function.prototype,n=t.call,r=e&&t.bind.bind(n,n);return SB=e?r:function(e){return function(){return n.apply(e,arguments)}},SB}function RB(){if(kB)return AB;kB=1;var e=FB(),t=e({}.toString),n=e("".slice);return AB=function(e){return n(t(e),8,-1)}}function BB(){if(MB)return TB;MB=1;var e=RB(),t=FB();return TB=function(n){if("Function"===e(n))return t(n)}}function zB(){if(jB)return PB;jB=1;var e="object"==typeof document&&document.all;return PB=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(e){return"function"==typeof e}}var VB,UB,HB,WB,qB={};function $B(){return UB?VB:(UB=1,VB=!IB()((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})))}function GB(){if(WB)return HB;WB=1;var e=NB(),t=Function.prototype.call;return HB=e?t.bind(t):function(){return t.apply(t,arguments)},HB}var KB,XB,YB,JB,QB,ZB,ez,tz,nz,rz,oz,iz,az,lz,sz,cz,uz,fz,pz,dz,hz,vz,mz,gz,yz,bz,_z,wz,xz,Oz,Ez,Sz,Cz,Az,kz,Tz,Mz,Pz={};function jz(){if(KB)return Pz;KB=1;var e={}.propertyIsEnumerable,t=Object.getOwnPropertyDescriptor,n=t&&!e.call({1:2},1);return Pz.f=n?function(e){var n=t(this,e);return!!n&&n.enumerable}:e,Pz}function Dz(){return YB?XB:(YB=1,XB=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}})}function Iz(){if(QB)return JB;QB=1;var e=FB(),t=IB(),n=RB(),r=Object,o=e("".split);return JB=t((function(){return!r("z").propertyIsEnumerable(0)}))?function(e){return"String"===n(e)?o(e,""):r(e)}:r}function Nz(){return ez?ZB:(ez=1,ZB=function(e){return null==e})}function Lz(){if(nz)return tz;nz=1;var e=Nz(),t=TypeError;return tz=function(n){if(e(n))throw new t("Can't call method on "+n);return n}}function Fz(){if(oz)return rz;oz=1;var e=Iz(),t=Lz();return rz=function(n){return e(t(n))}}function Rz(){if(az)return iz;az=1;var e=zB();return iz=function(t){return"object"==typeof t?null!==t:e(t)}}function Bz(){return sz?lz:(sz=1,lz={})}function zz(){if(uz)return cz;uz=1;var e=Bz(),t=DB(),n=zB(),r=function(e){return n(e)?e:void 0};return cz=function(n,o){return arguments.length<2?r(e[n])||r(t[n]):e[n]&&e[n][o]||t[n]&&t[n][o]},cz}function Vz(){return pz?fz:(pz=1,fz=FB()({}.isPrototypeOf))}function Uz(){if(hz)return dz;hz=1;var e=DB().navigator,t=e&&e.userAgent;return dz=t?String(t):""}function Hz(){if(mz)return vz;mz=1;var e,t,n=DB(),r=Uz(),o=n.process,i=n.Deno,a=o&&o.versions||i&&i.version,l=a&&a.v8;return l&&(t=(e=l.split("."))[0]>0&&e[0]<4?1:+(e[0]+e[1])),!t&&r&&(!(e=r.match(/Edge\/(\d+)/))||e[1]>=74)&&(e=r.match(/Chrome\/(\d+)/))&&(t=+e[1]),vz=t}function Wz(){if(yz)return gz;yz=1;var e=Hz(),t=IB(),n=DB().String;return gz=!!Object.getOwnPropertySymbols&&!t((function(){var t=Symbol("symbol detection");return!n(t)||!(Object(t)instanceof Symbol)||// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances +!Symbol.sham&&e&&e<41}))}function qz(){return _z?bz:(_z=1,bz=Wz()&&!Symbol.sham&&"symbol"==typeof Symbol.iterator)}function $z(){if(xz)return wz;xz=1;var e=zz(),t=zB(),n=Vz(),r=Object;return wz=qz()?function(e){return"symbol"==typeof e}:function(o){var i=e("Symbol");return t(i)&&n(i.prototype,r(o))}}function Gz(){if(Ez)return Oz;Ez=1;var e=String;return Oz=function(t){try{return e(t)}catch(n){return"Object"}}}function Kz(){if(Cz)return Sz;Cz=1;var e=zB(),t=Gz(),n=TypeError;return Sz=function(r){if(e(r))return r;throw new n(t(r)+" is not a function")}}function Xz(){if(kz)return Az;kz=1;var e=Kz(),t=Nz();return Az=function(n,r){var o=n[r];return t(o)?void 0:e(o)}}function Yz(){if(Mz)return Tz;Mz=1;var e=GB(),t=zB(),n=Rz(),r=TypeError;return Tz=function(o,i){var a,l;if("string"===i&&t(a=o.toString)&&!n(l=e(a,o)))return l;if(t(a=o.valueOf)&&!n(l=e(a,o)))return l;if("string"!==i&&t(a=o.toString)&&!n(l=e(a,o)))return l;throw new r("Can't convert object to primitive value")}}var Jz,Qz,Zz,eV,tV,nV,rV,oV,iV,aV,lV,sV,cV,uV,fV,pV,dV,hV,vV,mV,gV,yV,bV,_V,wV,xV,OV,EV,SV={exports:{}};function CV(){return Qz?Jz:(Qz=1,Jz=!0)}function AV(){if(eV)return Zz;eV=1;var e=DB(),t=Object.defineProperty;return Zz=function(n,r){try{t(e,n,{value:r,configurable:!0,writable:!0})}catch(o){e[n]=r}return r}}function kV(){if(tV)return SV.exports;tV=1;var e=CV(),t=DB(),n=AV(),r="__core-js_shared__",o=SV.exports=t[r]||n(r,{});return(o.versions||(o.versions=[])).push({version:"3.40.0",mode:e?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.40.0/LICENSE",source:"https://github.com/zloirock/core-js"}),SV.exports}function TV(){if(rV)return nV;rV=1;var e=kV();return nV=function(t,n){return e[t]||(e[t]=n||{})}}function MV(){if(iV)return oV;iV=1;var e=Lz(),t=Object;return oV=function(n){return t(e(n))}}function PV(){if(lV)return aV;lV=1;var e=FB(),t=MV(),n=e({}.hasOwnProperty);return aV=Object.hasOwn||function(e,r){return n(t(e),r)}}function jV(){if(cV)return sV;cV=1;var e=FB(),t=0,n=Math.random(),r=e(1..toString);return sV=function(e){return"Symbol("+(void 0===e?"":e)+")_"+r(++t+n,36)}}function DV(){if(fV)return uV;fV=1;var e=DB(),t=TV(),n=PV(),r=jV(),o=Wz(),i=qz(),a=e.Symbol,l=t("wks"),s=i?a.for||a:a&&a.withoutSetter||r;return uV=function(e){return n(l,e)||(l[e]=o&&n(a,e)?a[e]:s("Symbol."+e)),l[e]}}function IV(){if(dV)return pV;dV=1;var e=GB(),t=Rz(),n=$z(),r=Xz(),o=Yz(),i=TypeError,a=DV()("toPrimitive");return pV=function(l,s){if(!t(l)||n(l))return l;var c,u=r(l,a);if(u){if(void 0===s&&(s="default"),c=e(u,l,s),!t(c)||n(c))return c;throw new i("Can't convert object to primitive value")}return void 0===s&&(s="number"),o(l,s)}}function NV(){if(vV)return hV;vV=1;var e=IV(),t=$z();return hV=function(n){var r=e(n,"string");return t(r)?r:r+""}}function LV(){if(gV)return mV;gV=1;var e=DB(),t=Rz(),n=e.document,r=t(n)&&t(n.createElement);return mV=function(e){return r?n.createElement(e):{}}}function FV(){if(bV)return yV;bV=1;var e=$B(),t=IB(),n=LV();return yV=!e&&!t((function(){return 7!==Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a}))}function RV(){if(_V)return qB;_V=1;var e=$B(),t=GB(),n=jz(),r=Dz(),o=Fz(),i=NV(),a=PV(),l=FV(),s=Object.getOwnPropertyDescriptor;return qB.f=e?s:function(e,c){if(e=o(e),c=i(c),l)try{return s(e,c)}catch(u){}if(a(e,c))return r(!t(n.f,e,c),e[c])},qB}function BV(){if(xV)return wV;xV=1;var e=IB(),t=zB(),n=/#|\.prototype\./,r=function(n,r){var s=i[o(n)];return s===l||s!==a&&(t(r)?e(r):!!r)},o=r.normalize=function(e){return String(e).replace(n,".").toLowerCase()},i=r.data={},a=r.NATIVE="N",l=r.POLYFILL="P";return wV=r}function zV(){if(EV)return OV;EV=1;var e=BB(),t=Kz(),n=NB(),r=e(e.bind);return OV=function(e,o){return t(e),void 0===o?e:n?r(e,o):function(){return e.apply(o,arguments)}},OV}var VV,UV,HV,WV,qV,$V,GV,KV,XV,YV,JV,QV,ZV,eU,tU,nU,rU,oU,iU,aU,lU,sU,cU,uU,fU={};function pU(){return UV?VV:(UV=1,VV=$B()&&IB()((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})))}function dU(){if(WV)return HV;WV=1;var e=Rz(),t=String,n=TypeError;return HV=function(r){if(e(r))return r;throw new n(t(r)+" is not an object")}}function hU(){if(qV)return fU;qV=1;var e=$B(),t=FV(),n=pU(),r=dU(),o=NV(),i=TypeError,a=Object.defineProperty,l=Object.getOwnPropertyDescriptor,s="enumerable",c="configurable",u="writable";return fU.f=e?n?function(e,t,n){if(r(e),t=o(t),r(n),"function"==typeof e&&"prototype"===t&&"value"in n&&u in n&&!n[u]){var i=l(e,t);i&&i[u]&&(e[t]=n.value,n={configurable:c in n?n[c]:i[c],enumerable:s in n?n[s]:i[s],writable:!1})}return a(e,t,n)}:a:function(e,n,l){if(r(e),n=o(n),r(l),t)try{return a(e,n,l)}catch(s){}if("get"in l||"set"in l)throw new i("Accessors not supported");return"value"in l&&(e[n]=l.value),e},fU}function vU(){if(GV)return $V;GV=1;var e=$B(),t=hU(),n=Dz();return $V=e?function(e,r,o){return t.f(e,r,n(1,o))}:function(e,t,n){return e[t]=n,e}}function mU(){if(XV)return KV;XV=1;var e=DB(),t=LB(),n=BB(),r=zB(),o=RV().f,i=BV(),a=Bz(),l=zV(),s=vU(),c=PV(),u=function(e){var n=function(r,o,i){if(this instanceof n){switch(arguments.length){case 0:return new e;case 1:return new e(r);case 2:return new e(r,o)}return new e(r,o,i)}return t(e,this,arguments)};return n.prototype=e.prototype,n};return KV=function(t,f){var p,d,h,v,m,g,y,b,_,w=t.target,x=t.global,O=t.stat,E=t.proto,S=x?e:O?e[w]:e[w]&&e[w].prototype,C=x?a:a[w]||s(a,w,{})[w],A=C.prototype;for(v in f)d=!(p=i(x?v:w+(O?".":"#")+v,t.forced))&&S&&c(S,v),g=C[v],d&&(y=t.dontCallGetSet?(_=o(S,v))&&_.value:S[v]),m=d&&y?y:f[v],(p||E||typeof g!=typeof m)&&(b=t.bind&&d?l(m,e):t.wrap&&d?u(m):E&&r(m)?n(m):m,(t.sham||m&&m.sham||g&&g.sham)&&s(b,"sham",!0),s(C,v,b),E&&(c(a,h=w+"Prototype")||s(a,h,{}),s(a[h],v,m),t.real&&A&&(p||!A[v])&&s(A,v,m)))}}function gU(){if(JV)return YV;JV=1;var e=RB();return YV=Array.isArray||function(t){return"Array"===e(t)}}function yU(){return eU?ZV:(eU=1,QV||(QV=1,mU()({target:"Array",stat:!0},{isArray:gU()})),ZV=Bz().Array.isArray)}function bU(){return nU?tU:(nU=1,tU=yU())}function _U(){return oU?rU:(oU=1,rU=bU())}function wU(){return aU?iU:(aU=1,iU=_U())}function xU(){return sU?lU:(sU=1,lU=wU())}const OU=oO(uU?cU:(uU=1,cU=xU()));function EU(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var SU,CU,AU,kU,TU,MU,PU,jU,DU,IU,NU,LU,FU,RU,BU,zU,VU,UU,HU,WU,qU,$U,GU,KU,XU,YU,JU,QU={};function ZU(){if(CU)return SU;CU=1;var e=Math.ceil,t=Math.floor;return SU=Math.trunc||function(n){var r=+n;return(r>0?t:e)(r)}}function eH(){if(kU)return AU;kU=1;var e=ZU();return AU=function(t){var n=+t;return n!=n||0===n?0:e(n)}}function tH(){if(MU)return TU;MU=1;var e=eH(),t=Math.min;return TU=function(n){var r=e(n);return r>0?t(r,9007199254740991):0}}function nH(){if(jU)return PU;jU=1;var e=tH();return PU=function(t){return e(t.length)}}function rH(){if(IU)return DU;IU=1;var e=TypeError;return DU=function(t){if(t>9007199254740991)throw e("Maximum allowed index exceeded");return t}}function oH(){if(LU)return NU;LU=1;var e=$B(),t=hU(),n=Dz();return NU=function(r,o,i){e?t.f(r,o,n(0,i)):r[o]=i}}function iH(){if(RU)return FU;RU=1;var e={};return e[DV()("toStringTag")]="z",FU="[object z]"===String(e)}function aH(){if(zU)return BU;zU=1;var e=iH(),t=zB(),n=RB(),r=DV()("toStringTag"),o=Object,i="Arguments"===n(function(){return arguments}());return BU=e?n:function(e){var a,l,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(l=function(e,t){try{return e[t]}catch(n){}}(a=o(e),r))?l:i?n(a):"Object"===(s=n(a))&&t(a.callee)?"Arguments":s}}function lH(){if(UU)return VU;UU=1;var e=FB(),t=zB(),n=kV(),r=e(Function.toString);return t(n.inspectSource)||(n.inspectSource=function(e){return r(e)}),VU=n.inspectSource}function sH(){if(WU)return HU;WU=1;var e=FB(),t=IB(),n=zB(),r=aH(),o=zz(),i=lH(),a=function(){},l=o("Reflect","construct"),s=/^\s*(?:class|function)\b/,c=e(s.exec),u=!s.test(a),f=function(e){if(!n(e))return!1;try{return l(a,[],e),!0}catch(t){return!1}},p=function(e){if(!n(e))return!1;switch(r(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return u||!!c(s,i(e))}catch(t){return!0}};return p.sham=!0,HU=!l||t((function(){var e;return f(f.call)||!f(Object)||!f((function(){e=!0}))||e}))?p:f}function cH(){if($U)return qU;$U=1;var e=gU(),t=sH(),n=Rz(),r=DV()("species"),o=Array;return qU=function(i){var a;return e(i)&&(a=i.constructor,(t(a)&&(a===o||e(a.prototype))||n(a)&&null===(a=a[r]))&&(a=void 0)),void 0===a?o:a}}function uH(){if(KU)return GU;KU=1;var e=cH();return GU=function(t,n){return new(e(t))(0===n?0:n)}}function fH(){if(YU)return XU;YU=1;var e=IB(),t=DV(),n=Hz(),r=t("species");return XU=function(t){return n>=51||!e((function(){var e=[];return(e.constructor={})[r]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}}function pH(){if(JU)return QU;JU=1;var e=mU(),t=IB(),n=gU(),r=Rz(),o=MV(),i=nH(),a=rH(),l=oH(),s=uH(),c=fH(),u=DV(),f=Hz(),p=u("isConcatSpreadable"),d=f>=51||!t((function(){var e=[];return e[p]=!1,e.concat()[0]!==e})),h=function(e){if(!r(e))return!1;var t=e[p];return void 0!==t?!!t:n(e)};return e({target:"Array",proto:!0,arity:1,forced:!d||!c("concat")},{ +// eslint-disable-next-line no-unused-vars -- required for `.length` +concat:function(e){var t,n,r,c,u,f=o(this),p=s(f,0),d=0;for(t=-1,r=arguments.length;t<r;t++)if(h(u=-1===t?f:arguments[t]))for(c=i(u),a(d+c),n=0;n<c;n++,d++)n in u&&l(p,d,u[n]);else a(d+1),l(p,d++,u);return p.length=d,p}}),QU}var dH,hH,vH={},mH={};function gH(){if(hH)return dH;hH=1;var e=aH(),t=String;return dH=function(n){if("Symbol"===e(n))throw new TypeError("Cannot convert a Symbol value to a string");return t(n)}}var yH,bH,_H,wH,xH,OH,EH,SH,CH,AH,kH,TH,MH,PH,jH,DH,IH,NH,LH,FH={};function RH(){if(bH)return yH;bH=1;var e=eH(),t=Math.max,n=Math.min;return yH=function(r,o){var i=e(r);return i<0?t(i+o,0):n(i,o)}}function BH(){if(wH)return _H;wH=1;var e=Fz(),t=RH(),n=nH(),r=function(r){return function(o,i,a){var l=e(o),s=n(l);if(0===s)return!r&&-1;var c,u=t(a,s);if(r&&i!=i){for(;s>u;)if((c=l[u++])!=c)return!0}else for(;s>u;u++)if((r||u in l)&&l[u]===i)return r||u||0;return!r&&-1}};return _H={ +// `Array.prototype.includes` method +// https://tc39.es/ecma262/#sec-array.prototype.includes +includes:r(!0), +// `Array.prototype.indexOf` method +// https://tc39.es/ecma262/#sec-array.prototype.indexof +indexOf:r(!1)}}function zH(){return OH?xH:(OH=1,xH={})}function VH(){if(SH)return EH;SH=1;var e=FB(),t=PV(),n=Fz(),r=BH().indexOf,o=zH(),i=e([].push);return EH=function(e,a){var l,s=n(e),c=0,u=[];for(l in s)!t(o,l)&&t(s,l)&&i(u,l);for(;a.length>c;)t(s,l=a[c++])&&(~r(u,l)||i(u,l));return u},EH}function UH(){return AH?CH:(AH=1,CH=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}function HH(){if(TH)return kH;TH=1;var e=VH(),t=UH();return kH=Object.keys||function(n){return e(n,t)}}function WH(){if(MH)return FH;MH=1;var e=$B(),t=pU(),n=hU(),r=dU(),o=Fz(),i=HH();return FH.f=e&&!t?Object.defineProperties:function(e,t){r(e);for(var a,l=o(t),s=i(t),c=s.length,u=0;c>u;)n.f(e,a=s[u++],l[a]);return e},FH}function qH(){return jH?PH:(jH=1,PH=zz()("document","documentElement"))}function $H(){if(IH)return DH;IH=1;var e=TV(),t=jV(),n=e("keys");return DH=function(e){return n[e]||(n[e]=t(e))}}function GH(){if(LH)return NH;LH=1;var e,t=dU(),n=WH(),r=UH(),o=zH(),i=qH(),a=LV(),l="prototype",s="script",c=$H()("IE_PROTO"),u=function(){},f=function(e){return"<"+s+">"+e+"</"+s+">"},p=function(e){e.write(f("")),e.close();var t=e.parentWindow.Object;return e=null,t},d=function(){try{e=new ActiveXObject("htmlfile")}catch(u){}var t,n,o;d="undefined"!=typeof document?document.domain&&e?p(e):(n=a("iframe"),o="java"+s+":",n.style.display="none",i.appendChild(n),n.src=String(o),(t=n.contentWindow.document).open(),t.write(f("document.F=Object")),t.close(),t.F):p(e);for(var c=r.length;c--;)delete d[l][r[c]];return d()};return o[c]=!0,NH=Object.create||function(e,r){var o;return null!==e?(u[l]=t(e),o=new u,u[l]=null,o[c]=e):o=d(),void 0===r?o:n.f(o,r)}}var KH,XH={};function YH(){if(KH)return XH;KH=1;var e=VH(),t=UH().concat("length","prototype");return XH.f=Object.getOwnPropertyNames||function(n){return e(n,t)},XH}var JH,QH,ZH,eW={};function tW(){return QH?JH:(QH=1,JH=FB()([].slice))}function nW(){if(ZH)return eW;ZH=1;var e=RB(),t=Fz(),n=YH().f,r=tW(),o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];return eW.f=function(i){return o&&"Window"===e(i)?function(e){try{return n(e)}catch(t){return r(o)}}(i):n(t(i))},eW}var rW,oW,iW,aW,lW,sW={};function cW(){return rW||(rW=1,sW.f=Object.getOwnPropertySymbols),sW}function uW(){if(iW)return oW;iW=1;var e=vU();return oW=function(t,n,r,o){return o&&o.enumerable?t[n]=r:e(t,n,r),t}}function fW(){if(lW)return aW;lW=1;var e=hU();return aW=function(t,n,r){return e.f(t,n,r)}}var pW,dW,hW,vW,mW,gW,yW,bW,_W,wW,xW,OW,EW,SW,CW,AW,kW={};function TW(){if(pW)return kW;pW=1;var e=DV();return kW.f=e,kW}function MW(){if(hW)return dW;hW=1;var e=Bz(),t=PV(),n=TW(),r=hU().f;return dW=function(o){var i=e.Symbol||(e.Symbol={});t(i,o)||r(i,o,{value:n.f(o)})}}function PW(){if(mW)return vW;mW=1;var e=GB(),t=zz(),n=DV(),r=uW();return vW=function(){var o=t("Symbol"),i=o&&o.prototype,a=i&&i.valueOf,l=n("toPrimitive");i&&!i[l]&&r(i,l,(function(t){return e(a,this)}),{arity:1})}}function jW(){if(yW)return gW;yW=1;var e=iH(),t=aH();return gW=e?{}.toString:function(){return"[object "+t(this)+"]"}}function DW(){if(_W)return bW;_W=1;var e=iH(),t=hU().f,n=vU(),r=PV(),o=jW(),i=DV()("toStringTag");return bW=function(a,l,s,c){var u=s?a:a&&a.prototype;u&&(r(u,i)||t(u,i,{configurable:!0,value:l}),c&&!e&&n(u,"toString",o))}}function IW(){if(xW)return wW;xW=1;var e=DB(),t=zB(),n=e.WeakMap;return wW=t(n)&&/native code/.test(String(n))}function NW(){if(EW)return OW;EW=1;var e,t,n,r=IW(),o=DB(),i=Rz(),a=vU(),l=PV(),s=kV(),c=$H(),u=zH(),f="Object already initialized",p=o.TypeError,d=o.WeakMap;if(r||s.state){var h=s.state||(s.state=new d);h.get=h.get,h.has=h.has,h.set=h.set,e=function(e,t){if(h.has(e))throw new p(f);return t.facade=e,h.set(e,t),t},t=function(e){return h.get(e)||{}},n=function(e){return h.has(e)}}else{var v=c("state");u[v]=!0,e=function(e,t){if(l(e,v))throw new p(f);return t.facade=e,a(e,v,t),t},t=function(e){return l(e,v)?e[v]:{}},n=function(e){return l(e,v)}}return OW={set:e,get:t,has:n,enforce:function(r){return n(r)?t(r):e(r,{})},getterFor:function(e){return function(n){var r;if(!i(n)||(r=t(n)).type!==e)throw new p("Incompatible receiver, "+e+" required");return r}}}}function LW(){if(CW)return SW;CW=1;var e=zV(),t=FB(),n=Iz(),r=MV(),o=nH(),i=uH(),a=t([].push),l=function(t){var l=1===t,s=2===t,c=3===t,u=4===t,f=6===t,p=7===t,d=5===t||f;return function(h,v,m,g){for(var y,b,_=r(h),w=n(_),x=o(w),O=e(v,m),E=0,S=g||i,C=l?S(h,x):s||p?S(h,0):void 0;x>E;E++)if((d||E in w)&&(b=O(y=w[E],E,_),t))if(l)C[E]=b;else if(b)switch(t){case 3:return!0; +// some +case 5:return y; +// find +case 6:return E; +// findIndex +case 2:a(C,y)}else switch(t){case 4:return!1; +// every +case 7:a(C,y)}return f?-1:c||u?u:C}};return SW={ +// `Array.prototype.forEach` method +// https://tc39.es/ecma262/#sec-array.prototype.foreach +forEach:l(0), +// `Array.prototype.map` method +// https://tc39.es/ecma262/#sec-array.prototype.map +map:l(1), +// `Array.prototype.filter` method +// https://tc39.es/ecma262/#sec-array.prototype.filter +filter:l(2), +// `Array.prototype.some` method +// https://tc39.es/ecma262/#sec-array.prototype.some +some:l(3), +// `Array.prototype.every` method +// https://tc39.es/ecma262/#sec-array.prototype.every +every:l(4), +// `Array.prototype.find` method +// https://tc39.es/ecma262/#sec-array.prototype.find +find:l(5), +// `Array.prototype.findIndex` method +// https://tc39.es/ecma262/#sec-array.prototype.findIndex +findIndex:l(6), +// `Array.prototype.filterReject` method +// https://github.com/tc39/proposal-array-filtering +filterReject:l(7)}}var FW,RW,BW,zW={};function VW(){return RW?FW:(RW=1,FW=Wz()&&!!Symbol.for&&!!Symbol.keyFor)}var UW,HW={};var WW,qW,$W,GW={};function KW(){if(qW)return WW;qW=1;var e=FB(),t=gU(),n=zB(),r=RB(),o=gH(),i=e([].push);return WW=function(e){if(n(e))return e;if(t(e)){for(var a=e.length,l=[],s=0;s<a;s++){var c=e[s];"string"==typeof c?i(l,c):"number"!=typeof c&&"Number"!==r(c)&&"String"!==r(c)||i(l,o(c))}var u=l.length,f=!0;return function(e,n){if(f)return f=!1,n;if(t(this))return n;for(var r=0;r<u;r++)if(l[r]===e)return n}}},WW}var XW,YW,JW={};function QW(){return YW||(YW=1,function(){if(AW)return mH;AW=1;var e=mU(),t=DB(),n=GB(),r=FB(),o=CV(),i=$B(),a=Wz(),l=IB(),s=PV(),c=Vz(),u=dU(),f=Fz(),p=NV(),d=gH(),h=Dz(),v=GH(),m=HH(),g=YH(),y=nW(),b=cW(),_=RV(),w=hU(),x=WH(),O=jz(),E=uW(),S=fW(),C=TV(),A=$H(),k=zH(),T=jV(),M=DV(),P=TW(),j=MW(),D=PW(),I=DW(),N=NW(),L=LW().forEach,F=A("hidden"),R="Symbol",B="prototype",z=N.set,V=N.getterFor(R),U=Object[B],H=t.Symbol,W=H&&H[B],q=t.RangeError,$=t.TypeError,G=t.QObject,K=_.f,X=w.f,Y=y.f,J=O.f,Q=r([].push),Z=C("symbols"),ee=C("op-symbols"),te=C("wks"),ne=!G||!G[B]||!G[B].findChild,re=function(e,t,n){var r=K(U,t);r&&delete U[t],X(e,t,n),r&&e!==U&&X(U,t,r)},oe=i&&l((function(){return 7!==v(X({},"a",{get:function(){return X(this,"a",{value:7}).a}})).a}))?re:X,ie=function(e,t){var n=Z[e]=v(W);return z(n,{type:R,tag:e,description:t}),i||(n.description=t),n},ae=function(e,t,n){e===U&&ae(ee,t,n),u(e);var r=p(t);return u(n),s(Z,r)?(n.enumerable?(s(e,F)&&e[F][r]&&(e[F][r]=!1),n=v(n,{enumerable:h(0,!1)})):(s(e,F)||X(e,F,h(1,v(null))),e[F][r]=!0),oe(e,r,n)):X(e,r,n)},le=function(e,t){u(e);var r=f(t),o=m(r).concat(fe(r));return L(o,(function(t){i&&!n(se,r,t)||ae(e,t,r[t])})),e},se=function(e){var t=p(e),r=n(J,this,t);return!(this===U&&s(Z,t)&&!s(ee,t))&&(!(r||!s(this,t)||!s(Z,t)||s(this,F)&&this[F][t])||r)},ce=function(e,t){var n=f(e),r=p(t);if(n!==U||!s(Z,r)||s(ee,r)){var o=K(n,r);return!o||!s(Z,r)||s(n,F)&&n[F][r]||(o.enumerable=!0),o}},ue=function(e){var t=Y(f(e)),n=[];return L(t,(function(e){s(Z,e)||s(k,e)||Q(n,e)})),n},fe=function(e){var t=e===U,n=Y(t?ee:f(e)),r=[];return L(n,(function(e){!s(Z,e)||t&&!s(U,e)||Q(r,Z[e])})),r};a||(H=function(){if(c(W,this))throw new $("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?d(arguments[0]):void 0,r=T(e),o=function(e){var i=void 0===this?t:this;i===U&&n(o,ee,e),s(i,F)&&s(i[F],r)&&(i[F][r]=!1);var a=h(1,e);try{oe(i,r,a)}catch(l){if(!(l instanceof q))throw l;re(i,r,a)}};return i&&ne&&oe(U,r,{configurable:!0,set:o}),ie(r,e)},E(W=H[B],"toString",(function(){return V(this).tag})),E(H,"withoutSetter",(function(e){return ie(T(e),e)})),O.f=se,w.f=ae,x.f=le,_.f=ce,g.f=y.f=ue,b.f=fe,P.f=function(e){return ie(M(e),e)},i&&(S(W,"description",{configurable:!0,get:function(){return V(this).description}}),o||E(U,"propertyIsEnumerable",se,{unsafe:!0}))),e({global:!0,constructor:!0,wrap:!0,forced:!a,sham:!a},{Symbol:H}),L(m(te),(function(e){j(e)})),e({target:R,stat:!0,forced:!a},{useSetter:function(){ne=!0},useSimple:function(){ne=!1}}),e({target:"Object",stat:!0,forced:!a,sham:!i},{ +// `Object.create` method +// https://tc39.es/ecma262/#sec-object.create +create:function(e,t){return void 0===t?v(e):le(v(e),t)}, +// `Object.defineProperty` method +// https://tc39.es/ecma262/#sec-object.defineproperty +defineProperty:ae, +// `Object.defineProperties` method +// https://tc39.es/ecma262/#sec-object.defineproperties +defineProperties:le, +// `Object.getOwnPropertyDescriptor` method +// https://tc39.es/ecma262/#sec-object.getownpropertydescriptors +getOwnPropertyDescriptor:ce}),e({target:"Object",stat:!0,forced:!a},{ +// `Object.getOwnPropertyNames` method +// https://tc39.es/ecma262/#sec-object.getownpropertynames +getOwnPropertyNames:ue}),D(),I(H,R),k[F]=!0}(),function(){if(BW)return zW;BW=1;var e=mU(),t=zz(),n=PV(),r=gH(),o=TV(),i=VW(),a=o("string-to-symbol-registry"),l=o("symbol-to-string-registry");e({target:"Symbol",stat:!0,forced:!i},{for:function(e){var o=r(e);if(n(a,o))return a[o];var i=t("Symbol")(o);return a[o]=i,l[i]=o,i}})}(),function(){if(UW)return HW;UW=1;var e=mU(),t=PV(),n=$z(),r=Gz(),o=TV(),i=VW(),a=o("symbol-to-string-registry");e({target:"Symbol",stat:!0,forced:!i},{keyFor:function(e){if(!n(e))throw new TypeError(r(e)+" is not a symbol");if(t(a,e))return a[e]}})}(),function(){if($W)return GW;$W=1;var e=mU(),t=zz(),n=LB(),r=GB(),o=FB(),i=IB(),a=zB(),l=$z(),s=tW(),c=KW(),u=Wz(),f=String,p=t("JSON","stringify"),d=o(/./.exec),h=o("".charAt),v=o("".charCodeAt),m=o("".replace),g=o(1..toString),y=/[\uD800-\uDFFF]/g,b=/^[\uD800-\uDBFF]$/,_=/^[\uDC00-\uDFFF]$/,w=!u||i((function(){var e=t("Symbol")("stringify detection");return"[null]"!==p([e])||"{}"!==p({a:e})||"{}"!==p(Object(e))})),x=i((function(){return'"\\udf06\\ud834"'!==p("\udf06\ud834")||'"\\udead"'!==p("\udead")})),O=function(e,t){var o=s(arguments),i=c(t);if(a(i)||void 0!==e&&!l(e))return o[1]=function(e,t){if(a(i)&&(t=r(i,this,f(e),t)),!l(t))return t},n(p,null,o)},E=function(e,t,n){var r=h(n,t-1),o=h(n,t+1);return d(b,e)&&!d(_,o)||d(_,e)&&!d(b,r)?"\\u"+g(v(e,0),16):e};p&&e({target:"JSON",stat:!0,arity:3,forced:w||x},{ +// eslint-disable-next-line no-unused-vars -- required for `.length` +stringify:function(e,t,r){var o=s(arguments),i=n(w?O:p,null,o);return x&&"string"==typeof i?m(i,y,E):i}})}(),function(){if(XW)return JW;XW=1;var e=mU(),t=Wz(),n=IB(),r=cW(),o=MV();e({target:"Object",stat:!0,forced:!t||n((function(){r.f(1)}))},{getOwnPropertySymbols:function(e){var t=r.f;return t?t(o(e)):[]}})}()),vH}var ZW;var eq;var tq;var nq;var rq;var oq;var iq;var aq;var lq;var sq;var cq,uq={};var fq,pq={};var dq;var hq,vq,mq,gq={};function yq(){return mq?vq:(mq=1,pH(),QW(),ZW||(ZW=1,MW()("asyncIterator")),eq||(eq=1,MW()("hasInstance")),tq||(tq=1,MW()("isConcatSpreadable")),nq||(nq=1,MW()("iterator")),rq||(rq=1,MW()("match")),oq||(oq=1,MW()("matchAll")),iq||(iq=1,MW()("replace")),aq||(aq=1,MW()("search")),lq||(lq=1,MW()("species")),sq||(sq=1,MW()("split")),function(){if(cq)return uq;cq=1;var e=MW(),t=PW();e("toPrimitive"),t()}(),function(){if(fq)return pq;fq=1;var e=zz(),t=MW(),n=DW();t("toStringTag"),n(e("Symbol"),"Symbol")}(),dq||(dq=1,MW()("unscopables")),function(){if(hq)return gq;hq=1;var e=DB();DW()(e.JSON,"JSON",!0)}(),vq=Bz().Symbol)}var bq,_q,wq,xq,Oq,Eq,Sq,Cq,Aq,kq,Tq,Mq,Pq,jq,Dq,Iq,Nq,Lq,Fq,Rq,Bq,zq,Vq,Uq,Hq,Wq,qq,$q,Gq,Kq,Xq,Yq,Jq,Qq={};function Zq(){return _q?bq:(_q=1,bq=function(){})}function e$(){return xq?wq:(xq=1,wq={})}function t$(){if(Eq)return Oq;Eq=1;var e=$B(),t=PV(),n=Function.prototype,r=e&&Object.getOwnPropertyDescriptor,o=t(n,"name"),i=o&&"something"===function(){}.name,a=o&&(!e||e&&r(n,"name").configurable);return Oq={EXISTS:o,PROPER:i,CONFIGURABLE:a}}function n$(){return Cq?Sq:(Cq=1,Sq=!IB()((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})))}function r$(){if(kq)return Aq;kq=1;var e=PV(),t=zB(),n=MV(),r=$H(),o=n$(),i=r("IE_PROTO"),a=Object,l=a.prototype;return Aq=o?a.getPrototypeOf:function(r){var o=n(r);if(e(o,i))return o[i];var s=o.constructor;return t(s)&&o instanceof s?s.prototype:o instanceof a?l:null}}function o$(){if(Mq)return Tq;Mq=1;var e,t,n,r=IB(),o=zB(),i=Rz(),a=GH(),l=r$(),s=uW(),c=DV(),u=CV(),f=c("iterator"),p=!1;return[].keys&&("next"in(n=[].keys())?(t=l(l(n)))!==Object.prototype&&(e=t):p=!0),!i(e)||r((function(){var t={};return e[f].call(t)!==t}))?e={}:u&&(e=a(e)),o(e[f])||s(e,f,(function(){return this})),Tq={IteratorPrototype:e,BUGGY_SAFARI_ITERATORS:p}}function i$(){if(jq)return Pq;jq=1;var e=o$().IteratorPrototype,t=GH(),n=Dz(),r=DW(),o=e$(),i=function(){return this};return Pq=function(a,l,s,c){var u=l+" Iterator";return a.prototype=t(e,{next:n(+!c,s)}),r(a,u,!1,!0),o[u]=i,a}}function a$(){if(Iq)return Dq;Iq=1;var e=FB(),t=Kz();return Dq=function(n,r,o){try{return e(t(Object.getOwnPropertyDescriptor(n,r)[o]))}catch(i){}}}function l$(){if(Lq)return Nq;Lq=1;var e=Rz();return Nq=function(t){return e(t)||null===t}}function s$(){if(Rq)return Fq;Rq=1;var e=l$(),t=String,n=TypeError;return Fq=function(r){if(e(r))return r;throw new n("Can't set "+t(r)+" as a prototype")}}function c$(){if(zq)return Bq;zq=1;var e=a$(),t=Rz(),n=Lz(),r=s$();return Bq=Object.setPrototypeOf||("__proto__"in{}?function(){var o,i=!1,a={};try{(o=e(Object.prototype,"__proto__","set"))(a,[]),i=a instanceof Array}catch(l){}return function(e,a){return n(e),r(a),t(e)?(i?o(e,a):e.__proto__=a,e):e}}():void 0)}function u$(){if(Uq)return Vq;Uq=1;var e=mU(),t=GB(),n=CV(),r=t$(),o=zB(),i=i$(),a=r$(),l=c$(),s=DW(),c=vU(),u=uW(),f=DV(),p=e$(),d=o$(),h=r.PROPER,v=r.CONFIGURABLE,m=d.IteratorPrototype,g=d.BUGGY_SAFARI_ITERATORS,y=f("iterator"),b="keys",_="values",w="entries",x=function(){return this};return Vq=function(r,f,d,O,E,S,C){i(d,f,O);var A,k,T,M=function(e){if(e===E&&N)return N;if(!g&&e&&e in D)return D[e];switch(e){case b:case _:case w:return function(){return new d(this,e)}}return function(){return new d(this)}},P=f+" Iterator",j=!1,D=r.prototype,I=D[y]||D["@@iterator"]||E&&D[E],N=!g&&I||M(E),L="Array"===f&&D.entries||I;if(L&&(A=a(L.call(new r)))!==Object.prototype&&A.next&&(n||a(A)===m||(l?l(A,m):o(A[y])||u(A,y,x)),s(A,P,!0,!0),n&&(p[P]=x)),h&&E===_&&I&&I.name!==_&&(!n&&v?c(D,"name",_):(j=!0,N=function(){return t(I,this)})),E)if(k={values:M(_),keys:S?N:M(b),entries:M(w)},C)for(T in k)(g||j||!(T in D))&&u(D,T,k[T]);else e({target:f,proto:!0,forced:g||j},k);return n&&!C||D[y]===N||u(D,y,N,{name:E}),p[f]=N,k}}function f$(){return Wq?Hq:(Wq=1,Hq=function(e,t){return{value:e,done:t}})}function p$(){if($q)return qq;$q=1;var e=Fz(),t=Zq(),n=e$(),r=NW(),o=hU().f,i=u$(),a=f$(),l=CV(),s=$B(),c="Array Iterator",u=r.set,f=r.getterFor(c);qq=i(Array,"Array",(function(t,n){u(this,{type:c,target:e(t), +// target +index:0, +// next index +kind:n})}),(function(){var e=f(this),t=e.target,n=e.index++;if(!t||n>=t.length)return e.target=null,a(void 0,!0);switch(e.kind){case"keys":return a(n,!1);case"values":return a(t[n],!1)}return a([n,t[n]],!1)}),"values");var p=n.Arguments=n.Array;if(t("keys"),t("values"),t("entries"),!l&&s&&"values"!==p.name)try{o(p,"name",{value:"values"})}catch(d){}return qq}function d$(){return Kq?Gq:(Kq=1,Gq={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0})}function h$(){if(Xq)return Qq;Xq=1,p$();var e=d$(),t=DB(),n=DW(),r=e$();for(var o in e)n(t[o],o),r[o]=r.Array;return Qq}function v$(){if(Jq)return Yq;Jq=1;var e=yq();return h$(),Yq=e}var m$,g$={};var y$;var b$;var _$,w$,x$;function O$(){if(x$)return w$;x$=1;var e=v$();return function(){if(m$)return g$;m$=1;var e=DV(),t=hU().f,n=e("metadata"),r=Function.prototype;void 0===r[n]&&t(r,n,{value:null})}(),y$||(y$=1,MW()("asyncDispose")),b$||(b$=1,MW()("dispose")),_$||(_$=1,MW()("metadata")),w$=e}var E$,S$,C$;function A$(){if(S$)return E$;S$=1;var e=zz(),t=FB(),n=e("Symbol"),r=n.keyFor,o=t(n.prototype.valueOf);return E$=n.isRegisteredSymbol||function(e){try{return void 0!==r(o(e))}catch(t){return!1}}}var k$,T$,M$;function P$(){if(T$)return k$;T$=1;for(var e=TV(),t=zz(),n=FB(),r=$z(),o=DV(),i=t("Symbol"),a=i.isWellKnownSymbol,l=t("Object","getOwnPropertyNames"),s=n(i.prototype.valueOf),c=e("wks"),u=0,f=l(i),p=f.length;u<p;u++)try{var d=f[u];r(i[d])&&o(d)}catch(h){}return k$=function(e){if(a&&a(e))return!0;try{for(var t=s(e),n=0,r=l(c),o=r.length;n<o;n++)if(c[r[n]]==t)return!0}catch(h){}return!1}}var j$;var D$;var I$;var N$;var L$;var F$;var R$;var B$,z$,V$,U$,H$,W$,q$;function $$(){if(V$)return z$;V$=1;var e=O$();return C$||(C$=1,mU()({target:"Symbol",stat:!0},{isRegisteredSymbol:A$()})),M$||(M$=1,mU()({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:P$()})),j$||(j$=1,MW()("customMatcher")),D$||(D$=1,MW()("observable")),I$||(I$=1,mU()({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:A$()})),N$||(N$=1,mU()({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:P$()})),L$||(L$=1,MW()("matcher")),F$||(F$=1,MW()("metadataKey")),R$||(R$=1,MW()("patternMatch")),B$||(B$=1,MW()("replaceAll")),z$=e}function G$(){return H$?U$:(H$=1,U$=$$())}const K$=oO(q$?W$:(q$=1,W$=G$()));var X$,Y$,J$,Q$,Z$,eG,tG,nG,rG,oG,iG,aG,lG,sG,cG,uG,fG,pG={};function dG(){if(J$)return pG;J$=1;var e=function(){if(Y$)return X$;Y$=1;var e=FB(),t=eH(),n=gH(),r=Lz(),o=e("".charAt),i=e("".charCodeAt),a=e("".slice),l=function(e){return function(l,s){var c,u,f=n(r(l)),p=t(s),d=f.length;return p<0||p>=d?e?"":void 0:(c=i(f,p))<55296||c>56319||p+1===d||(u=i(f,p+1))<56320||u>57343?e?o(f,p):c:e?a(f,p,p+2):u-56320+(c-55296<<10)+65536}};return X$={ +// `String.prototype.codePointAt` method +// https://tc39.es/ecma262/#sec-string.prototype.codepointat +codeAt:l(!1), +// `String.prototype.at` method +// https://github.com/mathiasbynens/String.prototype.at +charAt:l(!0)}}().charAt,t=gH(),n=NW(),r=u$(),o=f$(),i="String Iterator",a=n.set,l=n.getterFor(i);return r(String,"String",(function(e){a(this,{type:i,string:t(e),index:0})}),(function(){var t,n=l(this),r=n.string,i=n.index;return i>=r.length?o(void 0,!0):(t=e(r,i),n.index+=t.length,o(t,!1))})),pG}function hG(){if(Z$)return Q$;Z$=1;var e=aH(),t=Xz(),n=Nz(),r=e$(),o=DV()("iterator");return Q$=function(i){if(!n(i))return t(i,o)||t(i,"@@iterator")||r[e(i)]}}function vG(){return tG?eG:(tG=1,p$(),dG(),eG=hG())}function mG(){if(rG)return nG;rG=1;var e=vG();return h$(),nG=e}function gG(){return iG?oG:(iG=1,oG=mG())}function yG(){return lG?aG:(lG=1,aG=gG())}function bG(){return cG?sG:(cG=1,sG=yG())}const _G=oO(fG?uG:(fG=1,uG=bG()));var wG,xG,OG,EG,SG,CG,AG,kG,TG,MG,PG,jG,DG,IG,NG,LG,FG,RG,BG,zG,VG,UG,HG,WG,qG,$G={};function GG(){if(xG)return wG;xG=1;var e=GB(),t=dU(),n=Xz();return wG=function(r,o,i){var a,l;t(r);try{if(!(a=n(r,"return"))){if("throw"===o)throw i;return i}a=e(a,r)}catch(s){l=!0,a=s}if("throw"===o)throw i;if(l)throw a;return t(a),i}}function KG(){if(EG)return OG;EG=1;var e=dU(),t=GG();return OG=function(n,r,o,i){try{return i?r(e(o)[0],o[1]):r(o)}catch(a){t(n,"throw",a)}}}function XG(){if(CG)return SG;CG=1;var e=DV(),t=e$(),n=e("iterator"),r=Array.prototype;return SG=function(e){return void 0!==e&&(t.Array===e||r[n]===e)}}function YG(){if(kG)return AG;kG=1;var e=GB(),t=Kz(),n=dU(),r=Gz(),o=hG(),i=TypeError;return AG=function(a,l){var s=arguments.length<2?o(a):l;if(t(s))return n(e(s,a));throw new i(r(a)+" is not iterable")},AG}function JG(){if(MG)return TG;MG=1;var e=zV(),t=GB(),n=MV(),r=KG(),o=XG(),i=sH(),a=nH(),l=oH(),s=YG(),c=hG(),u=Array;return TG=function(f){var p=n(f),d=i(this),h=arguments.length,v=h>1?arguments[1]:void 0,m=void 0!==v;m&&(v=e(v,h>2?arguments[2]:void 0));var g,y,b,_,w,x,O=c(p),E=0;if(!O||this===u&&o(O))for(g=a(p),y=d?new this(g):u(g);g>E;E++)x=m?v(p[E],E):p[E],l(y,E,x);else for(y=d?new this:[],w=(_=s(p,O)).next;!(b=t(w,_)).done;E++)x=m?r(_,v,[b.value,E],!0):b.value,l(y,E,x);return y.length=E,y},TG}function QG(){if(jG)return PG;jG=1;var e=DV()("iterator"),t=!1;try{var n=0,r={next:function(){return{done:!!n++}},return:function(){t=!0}};r[e]=function(){return this},Array.from(r,(function(){throw 2}))}catch(o){}return PG=function(n,r){try{if(!r&&!t)return!1}catch(o){return!1}var i=!1;try{var a={};a[e]=function(){return{next:function(){return{done:i=!0}}}},n(a)}catch(o){}return i}}function ZG(){return NG?IG:(NG=1,dG(),function(){if(DG)return $G;DG=1;var e=mU(),t=JG();e({target:"Array",stat:!0,forced:!QG()((function(e){Array.from(e)}))},{from:t})}(),IG=Bz().Array.from)}function eK(){return FG?LG:(FG=1,LG=ZG())}function tK(){return BG?RG:(BG=1,RG=eK())}function nK(){return VG?zG:(VG=1,zG=tK())}function rK(){return HG?UG:(HG=1,UG=nK())}const oK=oO(qG?WG:(qG=1,WG=rK()));var iK,aK,lK,sK,cK,uK,fK,pK,dK,hK,vK,mK,gK,yK,bK,_K,wK,xK={};function OK(){if(lK)return aK;lK=1;var e=DB(),t=Bz();return aK=function(n,r){var o=t[n+"Prototype"],i=o&&o[r];if(i)return i;var a=e[n],l=a&&a.prototype;return l&&l[r]}}function EK(){return cK?sK:(cK=1,function(){if(iK)return xK;iK=1;var e=mU(),t=gU(),n=sH(),r=Rz(),o=RH(),i=nH(),a=Fz(),l=oH(),s=DV(),c=fH(),u=tW(),f=c("slice"),p=s("species"),d=Array,h=Math.max;e({target:"Array",proto:!0,forced:!f},{slice:function(e,s){var c,f,v,m=a(this),g=i(m),y=o(e,g),b=o(void 0===s?g:s,g);if(t(m)&&(c=m.constructor,(n(c)&&(c===d||t(c.prototype))||r(c)&&null===(c=c[p]))&&(c=void 0),c===d||void 0===c))return u(m,y,b);for(f=new(void 0===c?d:c)(h(b-y,0)),v=0;y<b;y++,v++)y in m&&l(f,v,m[y]);return f.length=v,f}})}(),sK=OK()("Array","slice"))}function SK(){if(fK)return uK;fK=1;var e=Vz(),t=EK(),n=Array.prototype;return uK=function(r){var o=r.slice;return r===n||e(n,r)&&o===n.slice?t:o}}function CK(){return dK?pK:(dK=1,pK=SK())}function AK(){return vK?hK:(vK=1,hK=CK())}function kK(){return gK?mK:(gK=1,mK=AK())}function TK(){return bK?yK:(bK=1,yK=kK())}const MK=oO(wK?_K:(wK=1,_K=TK()));function PK(e,t){var n;if(e){if("string"==typeof e)return EU(e,t);var r=MK(n=Object.prototype.toString.call(e)).call(n,8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?oK(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?EU(e,t):void 0}}function jK(e){return function(e){if(OU(e))return EU(e)}(e)||function(e){if(void 0!==K$&&null!=_G(e)||null!=e["@@iterator"])return oK(e)}(e)||PK(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function DK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var IK,NK,LK,FK,RK,BK,zK,VK,UK,HK,WK,qK,$K={exports:{}},GK={};function KK(){if(NK)return $K.exports;NK=1,function(){if(IK)return GK;IK=1;var e=mU(),t=$B(),n=hU().f;e({target:"Object",stat:!0,forced:Object.defineProperty!==n,sham:!t},{defineProperty:n})}();var e=Bz().Object,t=$K.exports=function(t,n,r){return e.defineProperty(t,n,r)};return e.defineProperty.sham&&(t.sham=!0),$K.exports}function XK(){return FK?LK:(FK=1,LK=KK())}function YK(){return BK?RK:(BK=1,RK=XK())}function JK(){return VK?zK:(VK=1,zK=YK())}function QK(){return HK?UK:(HK=1,UK=JK())}const ZK=oO(qK?WK:(qK=1,WK=QK()));function eX(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),ZK(e,r.key,r)}}function tX(e,t,n){return t&&eX(e.prototype,t),n&&eX(e,n),ZK(e,"prototype",{writable:!1}),e}var nX,rX,oX,iX,aX,lX,sX,cX,uX,fX={};function pX(){return oX?rX:(oX=1,function(){if(nX)return fX;nX=1;var e=mU(),t=LW().map;e({target:"Array",proto:!0,forced:!fH()("map")},{map:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)}})}(),rX=OK()("Array","map"))}function dX(){if(aX)return iX;aX=1;var e=Vz(),t=pX(),n=Array.prototype;return iX=function(r){var o=r.map;return r===n||e(n,r)&&o===n.map?t:o}}function hX(){return sX?lX:(sX=1,lX=dX())}const vX=oO(uX?cX:(uX=1,cX=hX()));var mX,gX,yX,bX={};function _X(){return yX?gX:(yX=1,function(){if(mX)return bX;mX=1;var e=mU(),t=BH().includes,n=IB(),r=Zq();e({target:"Array",proto:!0,forced:n((function(){return!Array(1).includes()}))},{includes:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)}}),r("includes")}(),gX=OK()("Array","includes"))}var wX,xX,OX,EX,SX,CX,AX,kX,TX,MX,PX,jX,DX,IX,NX,LX={};function FX(){if(xX)return wX;xX=1;var e=Rz(),t=RB(),n=DV()("match");return wX=function(r){var o;return e(r)&&(void 0!==(o=r[n])?!!o:"RegExp"===t(r))}}function RX(){if(EX)return OX;EX=1;var e=FX(),t=TypeError;return OX=function(n){if(e(n))throw new t("The method doesn't accept regular expressions");return n}}function BX(){if(CX)return SX;CX=1;var e=DV()("match");return SX=function(t){var n=/./;try{"/./"[t](n)}catch(r){try{return n[e]=!1,"/./"[t](n)}catch(o){}}return!1}}function zX(){return TX?kX:(TX=1,function(){if(AX)return LX;AX=1;var e=mU(),t=FB(),n=RX(),r=Lz(),o=gH(),i=BX(),a=t("".indexOf);e({target:"String",proto:!0,forced:!i("includes")},{includes:function(e){return!!~a(o(r(this)),o(n(e)),arguments.length>1?arguments[1]:void 0)}})}(),kX=OK()("String","includes"))}function VX(){if(PX)return MX;PX=1;var e=Vz(),t=_X(),n=zX(),r=Array.prototype,o=String.prototype;return MX=function(i){var a=i.includes;return i===r||e(r,i)&&a===r.includes?t:"string"==typeof i||i===o||e(o,i)&&a===o.includes?n:a}}function UX(){return DX?jX:(DX=1,jX=VX())}const HX=oO(NX?IX:(NX=1,IX=UX()));var WX,qX={exports:{}}; +/** + * chroma.js - JavaScript library for color conversions + * + * Copyright (c) 2011-2019, Gregor Aisch + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * 1. Redistributions of source code must retain the above copyright notice, this + * list of conditions and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above copyright notice, + * this list of conditions and the following disclaimer in the documentation + * and/or other materials provided with the distribution. + * + * 3. The name Gregor Aisch may not be used to endorse or promote products + * derived from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + * DISCLAIMED. IN NO EVENT SHALL GREGOR AISCH OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY + * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, + * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * ------------------------------------------------------- + * + * chroma.js includes colors from colorbrewer2.org, which are released under + * the following license: + * + * Copyright (c) 2002 Cynthia Brewer, Mark Harrower, + * and The Pennsylvania State University. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, + * either express or implied. See the License for the specific + * language governing permissions and limitations under the License. + * + * ------------------------------------------------------ + * + * Named colors are taken from X11 Color Names. + * http://www.w3.org/TR/css3-color/#svg-color + * + * @preserve + */var $X=(WX||(WX=1,qX.exports=function(){for(var e=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),e<t?t:e>n?n:e},t=function(t){t._clipped=!1,t._unclipped=t.slice(0);for(var n=0;n<=3;n++)n<3?((t[n]<0||t[n]>255)&&(t._clipped=!0),t[n]=e(t[n],0,255)):3===n&&(t[n]=e(t[n],0,1));return t},n={},r=0,o=["Boolean","Number","String","Function","Array","Date","RegExp","Undefined","Null"];r<o.length;r+=1){var i=o[r];n["[object "+i+"]"]=i.toLowerCase()}var a=function(e){return n[Object.prototype.toString.call(e)]||"object"},l=function(e,t){return void 0===t&&(t=null),e.length>=3?Array.prototype.slice.call(e):"object"==a(e[0])&&t?t.split("").filter((function(t){return void 0!==e[0][t]})).map((function(t){return e[0][t]})):e[0]},s=function(e){if(e.length<2)return null;var t=e.length-1;return"string"==a(e[t])?e[t].toLowerCase():null},c=Math.PI,u={clip_rgb:t,limit:e,type:a,unpack:l,last:s,PI:c,TWOPI:2*c,PITHIRD:c/3,DEG2RAD:c/180,RAD2DEG:180/c},f={format:{},autodetect:[]},p=u.last,d=u.clip_rgb,h=u.type,v=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=this;if("object"===h(e[0])&&e[0].constructor&&e[0].constructor===this.constructor)return e[0];var r=p(e),o=!1;if(!r){o=!0,f.sorted||(f.autodetect=f.autodetect.sort((function(e,t){return t.p-e.p})),f.sorted=!0);for(var i=0,a=f.autodetect;i<a.length;i+=1){var l=a[i];if(r=l.test.apply(l,e))break}}if(!f.format[r])throw new Error("unknown format: "+e);var s=f.format[r].apply(null,o?e:e.slice(0,-1));n._rgb=d(s),3===n._rgb.length&&n._rgb.push(1)};v.prototype.toString=function(){return"function"==h(this.hex)?this.hex():"["+this._rgb.join(",")+"]"};var m=v,g=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(g.Color,[null].concat(e)))};g.Color=m,g.version="2.1.2";var y=g,b=u.unpack,_=Math.max,w=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=b(e,"rgb"),r=n[0],o=n[1],i=n[2],a=1-_(r/=255,_(o/=255,i/=255)),l=a<1?1/(1-a):0;return[(1-r-a)*l,(1-o-a)*l,(1-i-a)*l,a]},x=w,O=u.unpack,E=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=(e=O(e,"cmyk"))[0],r=e[1],o=e[2],i=e[3],a=e.length>4?e[4]:1;return 1===i?[0,0,0,a]:[n>=1?0:255*(1-n)*(1-i), +// r +r>=1?0:255*(1-r)*(1-i), +// g +o>=1?0:255*(1-o)*(1-i), +// b +a]},S=E,C=u.unpack,A=u.type;m.prototype.cmyk=function(){return x(this._rgb)},y.cmyk=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(m,[null].concat(e,["cmyk"])))},f.format.cmyk=S,f.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=C(e,"cmyk"),"array"===A(e)&&4===e.length)return"cmyk"}});var k=u.unpack,T=u.last,M=function(e){return Math.round(100*e)/100},P=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=k(e,"hsla"),r=T(e)||"lsa";return n[0]=M(n[0]||0),n[1]=M(100*n[1])+"%",n[2]=M(100*n[2])+"%","hsla"===r||n.length>3&&n[3]<1?(n[3]=n.length>3?n[3]:1,r="hsla"):n.length=3,r+"("+n.join(",")+")"},j=P,D=u.unpack,I=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=(e=D(e,"rgba"))[0],r=e[1],o=e[2];n/=255,r/=255,o/=255;var i,a,l=Math.min(n,r,o),s=Math.max(n,r,o),c=(s+l)/2;return s===l?(i=0,a=Number.NaN):i=c<.5?(s-l)/(s+l):(s-l)/(2-s-l),n==s?a=(r-o)/(s-l):r==s?a=2+(o-n)/(s-l):o==s&&(a=4+(n-r)/(s-l)),(a*=60)<0&&(a+=360),e.length>3&&void 0!==e[3]?[a,i,c,e[3]]:[a,i,c]},N=I,L=u.unpack,F=u.last,R=Math.round,B=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=L(e,"rgba"),r=F(e)||"rgb";return"hsl"==r.substr(0,3)?j(N(n),r):(n[0]=R(n[0]),n[1]=R(n[1]),n[2]=R(n[2]),("rgba"===r||n.length>3&&n[3]<1)&&(n[3]=n.length>3?n[3]:1,r="rgba"),r+"("+n.slice(0,"rgb"===r?3:4).join(",")+")")},z=B,V=u.unpack,U=Math.round,H=function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];var r,o,i,a=(t=V(t,"hsl"))[0],l=t[1],s=t[2];if(0===l)r=o=i=255*s;else{var c=[0,0,0],u=[0,0,0],f=s<.5?s*(1+l):s+l-s*l,p=2*s-f,d=a/360;c[0]=d+1/3,c[1]=d,c[2]=d-1/3;for(var h=0;h<3;h++)c[h]<0&&(c[h]+=1),c[h]>1&&(c[h]-=1),6*c[h]<1?u[h]=p+6*(f-p)*c[h]:2*c[h]<1?u[h]=f:3*c[h]<2?u[h]=p+(f-p)*(2/3-c[h])*6:u[h]=p;r=(e=[U(255*u[0]),U(255*u[1]),U(255*u[2])])[0],o=e[1],i=e[2]}return t.length>3?[r,o,i,t[3]]:[r,o,i,1]},W=H,q=/^rgb\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*\)$/,$=/^rgba\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*,\s*([01]|[01]?\.\d+)\)$/,G=/^rgb\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,K=/^rgba\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,X=/^hsl\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,Y=/^hsla\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,J=Math.round,Q=function(e){var t;if(e=e.toLowerCase().trim(),f.format.named)try{return f.format.named(e)}catch(Zne){}if(t=e.match(q)){for(var n=t.slice(1,4),r=0;r<3;r++)n[r]=+n[r];return n[3]=1,n}if(t=e.match($)){for(var o=t.slice(1,5),i=0;i<4;i++)o[i]=+o[i];return o}if(t=e.match(G)){for(var a=t.slice(1,4),l=0;l<3;l++)a[l]=J(2.55*a[l]);return a[3]=1,a}if(t=e.match(K)){for(var s=t.slice(1,5),c=0;c<3;c++)s[c]=J(2.55*s[c]);return s[3]=+s[3],s}if(t=e.match(X)){var u=t.slice(1,4);u[1]*=.01,u[2]*=.01;var p=W(u);return p[3]=1,p}if(t=e.match(Y)){var d=t.slice(1,4);d[1]*=.01,d[2]*=.01;var h=W(d);return h[3]=+t[4],h}};Q.test=function(e){return q.test(e)||$.test(e)||G.test(e)||K.test(e)||X.test(e)||Y.test(e)};var Z=Q,ee=u.type;m.prototype.css=function(e){return z(this._rgb,e)},y.css=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(m,[null].concat(e,["css"])))},f.format.css=Z,f.autodetect.push({p:5,test:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];if(!t.length&&"string"===ee(e)&&Z.test(e))return"css"}});var te=u.unpack;f.format.gl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=te(e,"rgba");return n[0]*=255,n[1]*=255,n[2]*=255,n},y.gl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(m,[null].concat(e,["gl"])))},m.prototype.gl=function(){var e=this._rgb;return[e[0]/255,e[1]/255,e[2]/255,e[3]]};var ne=u.unpack,re=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n,r=ne(e,"rgb"),o=r[0],i=r[1],a=r[2],l=Math.min(o,i,a),s=Math.max(o,i,a),c=s-l,u=100*c/255,f=l/(255-c)*100;return 0===c?n=Number.NaN:(o===s&&(n=(i-a)/c),i===s&&(n=2+(a-o)/c),a===s&&(n=4+(o-i)/c),(n*=60)<0&&(n+=360)),[n,u,f]},oe=re,ie=u.unpack,ae=Math.floor,le=function(){for(var e,t,n,r,o,i,a=[],l=arguments.length;l--;)a[l]=arguments[l];var s,c,u,f=(a=ie(a,"hcg"))[0],p=a[1],d=a[2];d*=255;var h=255*p;if(0===p)s=c=u=d;else{360===f&&(f=0),f>360&&(f-=360),f<0&&(f+=360);var v=ae(f/=60),m=f-v,g=d*(1-p),y=g+h*(1-m),b=g+h*m,_=g+h;switch(v){case 0:s=(e=[_,b,g])[0],c=e[1],u=e[2];break;case 1:s=(t=[y,_,g])[0],c=t[1],u=t[2];break;case 2:s=(n=[g,_,b])[0],c=n[1],u=n[2];break;case 3:s=(r=[g,y,_])[0],c=r[1],u=r[2];break;case 4:s=(o=[b,g,_])[0],c=o[1],u=o[2];break;case 5:s=(i=[_,g,y])[0],c=i[1],u=i[2]}}return[s,c,u,a.length>3?a[3]:1]},se=le,ce=u.unpack,ue=u.type;m.prototype.hcg=function(){return oe(this._rgb)},y.hcg=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(m,[null].concat(e,["hcg"])))},f.format.hcg=se,f.autodetect.push({p:1,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=ce(e,"hcg"),"array"===ue(e)&&3===e.length)return"hcg"}});var fe=u.unpack,pe=u.last,de=Math.round,he=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=fe(e,"rgba"),r=n[0],o=n[1],i=n[2],a=n[3],l=pe(e)||"auto";void 0===a&&(a=1),"auto"===l&&(l=a<1?"rgba":"rgb");var s="000000"+((r=de(r))<<16|(o=de(o))<<8|(i=de(i))).toString(16);s=s.substr(s.length-6);var c="0"+de(255*a).toString(16);switch(c=c.substr(c.length-2),l.toLowerCase()){case"rgba":return"#"+s+c;case"argb":return"#"+c+s;default:return"#"+s}},ve=he,me=/^#?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/,ge=/^#?([A-Fa-f0-9]{8}|[A-Fa-f0-9]{4})$/,ye=function(e){if(e.match(me)){4!==e.length&&7!==e.length||(e=e.substr(1)),3===e.length&&(e=(e=e.split(""))[0]+e[0]+e[1]+e[1]+e[2]+e[2]);var t=parseInt(e,16);return[t>>16,t>>8&255,255&t,1]}if(e.match(ge)){5!==e.length&&9!==e.length||(e=e.substr(1)),4===e.length&&(e=(e=e.split(""))[0]+e[0]+e[1]+e[1]+e[2]+e[2]+e[3]+e[3]);var n=parseInt(e,16);return[n>>24&255,n>>16&255,n>>8&255,Math.round((255&n)/255*100)/100]}throw new Error("unknown hex color: "+e)},be=u.type;m.prototype.hex=function(e){return ve(this._rgb,e)},y.hex=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(m,[null].concat(e,["hex"])))},f.format.hex=ye,f.autodetect.push({p:4,test:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];if(!t.length&&"string"===be(e)&&[3,4,5,6,7,8,9].indexOf(e.length)>=0)return"hex"}});var _e=u.unpack,we=u.TWOPI,xe=Math.min,Oe=Math.sqrt,Ee=Math.acos,Se=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n,r=_e(e,"rgb"),o=r[0],i=r[1],a=r[2],l=xe(o/=255,i/=255,a/=255),s=(o+i+a)/3,c=s>0?1-l/s:0;return 0===c?n=NaN:(n=(o-i+(o-a))/2,n/=Oe((o-i)*(o-i)+(o-a)*(i-a)),n=Ee(n),a>i&&(n=we-n),n/=we),[360*n,c,s]},Ce=Se,Ae=u.unpack,ke=u.limit,Te=u.TWOPI,Me=u.PITHIRD,Pe=Math.cos,je=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n,r,o,i=(e=Ae(e,"hsi"))[0],a=e[1],l=e[2];return isNaN(i)&&(i=0),isNaN(a)&&(a=0),i>360&&(i-=360),i<0&&(i+=360),(i/=360)<1/3?r=1-((o=(1-a)/3)+(n=(1+a*Pe(Te*i)/Pe(Me-Te*i))/3)):i<2/3?o=1-((n=(1-a)/3)+(r=(1+a*Pe(Te*(i-=1/3))/Pe(Me-Te*i))/3)):n=1-((r=(1-a)/3)+(o=(1+a*Pe(Te*(i-=2/3))/Pe(Me-Te*i))/3)),[255*(n=ke(l*n*3)),255*(r=ke(l*r*3)),255*(o=ke(l*o*3)),e.length>3?e[3]:1]},De=je,Ie=u.unpack,Ne=u.type;m.prototype.hsi=function(){return Ce(this._rgb)},y.hsi=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(m,[null].concat(e,["hsi"])))},f.format.hsi=De,f.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=Ie(e,"hsi"),"array"===Ne(e)&&3===e.length)return"hsi"}});var Le=u.unpack,Fe=u.type;m.prototype.hsl=function(){return N(this._rgb)},y.hsl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(m,[null].concat(e,["hsl"])))},f.format.hsl=W,f.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=Le(e,"hsl"),"array"===Fe(e)&&3===e.length)return"hsl"}});var Re=u.unpack,Be=Math.min,ze=Math.max,Ve=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n,r,o,i=(e=Re(e,"rgb"))[0],a=e[1],l=e[2],s=Be(i,a,l),c=ze(i,a,l),u=c-s;return o=c/255,0===c?(n=Number.NaN,r=0):(r=u/c,i===c&&(n=(a-l)/u),a===c&&(n=2+(l-i)/u),l===c&&(n=4+(i-a)/u),(n*=60)<0&&(n+=360)),[n,r,o]},Ue=Ve,He=u.unpack,We=Math.floor,qe=function(){for(var e,t,n,r,o,i,a=[],l=arguments.length;l--;)a[l]=arguments[l];var s,c,u,f=(a=He(a,"hsv"))[0],p=a[1],d=a[2];if(d*=255,0===p)s=c=u=d;else{360===f&&(f=0),f>360&&(f-=360),f<0&&(f+=360);var h=We(f/=60),v=f-h,m=d*(1-p),g=d*(1-p*v),y=d*(1-p*(1-v));switch(h){case 0:s=(e=[d,y,m])[0],c=e[1],u=e[2];break;case 1:s=(t=[g,d,m])[0],c=t[1],u=t[2];break;case 2:s=(n=[m,d,y])[0],c=n[1],u=n[2];break;case 3:s=(r=[m,g,d])[0],c=r[1],u=r[2];break;case 4:s=(o=[y,m,d])[0],c=o[1],u=o[2];break;case 5:s=(i=[d,m,g])[0],c=i[1],u=i[2]}}return[s,c,u,a.length>3?a[3]:1]},$e=qe,Ge=u.unpack,Ke=u.type;m.prototype.hsv=function(){return Ue(this._rgb)},y.hsv=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(m,[null].concat(e,["hsv"])))},f.format.hsv=$e,f.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=Ge(e,"hsv"),"array"===Ke(e)&&3===e.length)return"hsv"}});var Xe={ +// Corresponds roughly to RGB brighter/darker +Kn:18, +// D65 standard referent +Xn:.95047,Yn:1,Zn:1.08883,t0:.137931034, +// 4 / 29 +t1:.206896552, +// 6 / 29 +t2:.12841855, +// 3 * t1 * t1 +t3:.008856452},Ye=u.unpack,Je=Math.pow,Qe=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=Ye(e,"rgb"),r=n[0],o=n[1],i=n[2],a=tt(r,o,i),l=a[0],s=a[1],c=116*s-16;return[c<0?0:c,500*(l-s),200*(s-a[2])]},Ze=function(e){return(e/=255)<=.04045?e/12.92:Je((e+.055)/1.055,2.4)},et=function(e){return e>Xe.t3?Je(e,1/3):e/Xe.t2+Xe.t0},tt=function(e,t,n){return e=Ze(e),t=Ze(t),n=Ze(n),[et((.4124564*e+.3575761*t+.1804375*n)/Xe.Xn),et((.2126729*e+.7151522*t+.072175*n)/Xe.Yn),et((.0193339*e+.119192*t+.9503041*n)/Xe.Zn)]},nt=Qe,rt=u.unpack,ot=Math.pow,it=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n,r,o,i=(e=rt(e,"lab"))[0],a=e[1],l=e[2];return r=(i+16)/116,n=isNaN(a)?r:r+a/500,o=isNaN(l)?r:r-l/200,r=Xe.Yn*lt(r),n=Xe.Xn*lt(n),o=Xe.Zn*lt(o),[at(3.2404542*n-1.5371385*r-.4985314*o),at(-.969266*n+1.8760108*r+.041556*o),at(.0556434*n-.2040259*r+1.0572252*o),e.length>3?e[3]:1]},at=function(e){return 255*(e<=.00304?12.92*e:1.055*ot(e,1/2.4)-.055)},lt=function(e){return e>Xe.t1?e*e*e:Xe.t2*(e-Xe.t0)},st=it,ct=u.unpack,ut=u.type;m.prototype.lab=function(){return nt(this._rgb)},y.lab=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(m,[null].concat(e,["lab"])))},f.format.lab=st,f.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=ct(e,"lab"),"array"===ut(e)&&3===e.length)return"lab"}});var ft=u.unpack,pt=u.RAD2DEG,dt=Math.sqrt,ht=Math.atan2,vt=Math.round,mt=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=ft(e,"lab"),r=n[0],o=n[1],i=n[2],a=dt(o*o+i*i),l=(ht(i,o)*pt+360)%360;return 0===vt(1e4*a)&&(l=Number.NaN),[r,a,l]},gt=mt,yt=u.unpack,bt=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=yt(e,"rgb"),r=n[0],o=n[1],i=n[2],a=nt(r,o,i),l=a[0],s=a[1],c=a[2];return gt(l,s,c)},_t=bt,wt=u.unpack,xt=u.DEG2RAD,Ot=Math.sin,Et=Math.cos,St=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=wt(e,"lch"),r=n[0],o=n[1],i=n[2];return isNaN(i)&&(i=0),[r,Et(i*=xt)*o,Ot(i)*o]},Ct=St,At=u.unpack,kt=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=(e=At(e,"lch"))[0],r=e[1],o=e[2],i=Ct(n,r,o),a=i[0],l=i[1],s=i[2],c=st(a,l,s);return[c[0],c[1],c[2],e.length>3?e[3]:1]},Tt=kt,Mt=u.unpack,Pt=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=Mt(e,"hcl").reverse();return Tt.apply(void 0,n)},jt=Pt,Dt=u.unpack,It=u.type;m.prototype.lch=function(){return _t(this._rgb)},m.prototype.hcl=function(){return _t(this._rgb).reverse()},y.lch=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(m,[null].concat(e,["lch"])))},y.hcl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(m,[null].concat(e,["hcl"])))},f.format.lch=Tt,f.format.hcl=jt,["lch","hcl"].forEach((function(e){return f.autodetect.push({p:2,test:function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];if(t=Dt(t,e),"array"===It(t)&&3===t.length)return e}})}));var Nt={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflower:"#6495ed",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",laserlemon:"#ffff54",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrod:"#fafad2",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",maroon2:"#7f0000",maroon3:"#b03060",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",purple2:"#7f007f",purple3:"#a020f0",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},Lt=u.type;m.prototype.name=function(){for(var e=ve(this._rgb,"rgb"),t=0,n=Object.keys(Nt);t<n.length;t+=1){var r=n[t];if(Nt[r]===e)return r.toLowerCase()}return e},f.format.named=function(e){if(e=e.toLowerCase(),Nt[e])return ye(Nt[e]);throw new Error("unknown color name: "+e)},f.autodetect.push({p:5,test:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];if(!t.length&&"string"===Lt(e)&&Nt[e.toLowerCase()])return"named"}});var Ft=u.unpack,Rt=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=Ft(e,"rgb");return(n[0]<<16)+(n[1]<<8)+n[2]},Bt=Rt,zt=u.type,Vt=function(e){if("number"==zt(e)&&e>=0&&e<=16777215)return[e>>16,e>>8&255,255&e,1];throw new Error("unknown num color: "+e)},Ut=u.type;m.prototype.num=function(){return Bt(this._rgb)},y.num=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(m,[null].concat(e,["num"])))},f.format.num=Vt,f.autodetect.push({p:5,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(1===e.length&&"number"===Ut(e[0])&&e[0]>=0&&e[0]<=16777215)return"num"}});var Ht=u.unpack,Wt=u.type,qt=Math.round;m.prototype.rgb=function(e){return void 0===e&&(e=!0),!1===e?this._rgb.slice(0,3):this._rgb.slice(0,3).map(qt)},m.prototype.rgba=function(e){return void 0===e&&(e=!0),this._rgb.slice(0,4).map((function(t,n){return n<3?!1===e?t:qt(t):t}))},y.rgb=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(m,[null].concat(e,["rgb"])))},f.format.rgb=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=Ht(e,"rgba");return void 0===n[3]&&(n[3]=1),n},f.autodetect.push({p:3,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=Ht(e,"rgba"),"array"===Wt(e)&&(3===e.length||4===e.length&&"number"==Wt(e[3])&&e[3]>=0&&e[3]<=1))return"rgb"}});var $t=Math.log,Gt=function(e){var t,n,r,o=e/100;return o<66?(t=255,n=-155.25485562709179-.44596950469579133*(n=o-2)+104.49216199393888*$t(n),r=o<20?0:.8274096064007395*(r=o-10)-254.76935184120902+115.67994401066147*$t(r)):(t=351.97690566805693+.114206453784165*(t=o-55)-40.25366309332127*$t(t),n=325.4494125711974+.07943456536662342*(n=o-50)-28.0852963507957*$t(n),r=255),[t,n,r,1]},Kt=u.unpack,Xt=Math.round,Yt=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var n,r=Kt(e,"rgb"),o=r[0],i=r[2],a=1e3,l=4e4,s=.4;l-a>s;){var c=Gt(n=.5*(l+a));c[2]/c[0]>=i/o?l=n:a=n}return Xt(n)},Jt=Yt;m.prototype.temp=m.prototype.kelvin=m.prototype.temperature=function(){return Jt(this._rgb)},y.temp=y.kelvin=y.temperature=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(m,[null].concat(e,["temp"])))},f.format.temp=f.format.kelvin=f.format.temperature=Gt;var Qt=u.type;m.prototype.alpha=function(e,t){return void 0===t&&(t=!1),void 0!==e&&"number"===Qt(e)?t?(this._rgb[3]=e,this):new m([this._rgb[0],this._rgb[1],this._rgb[2],e],"rgb"):this._rgb[3]},m.prototype.clipped=function(){return this._rgb._clipped||!1},m.prototype.darken=function(e){void 0===e&&(e=1);var t=this,n=t.lab();return n[0]-=Xe.Kn*e,new m(n,"lab").alpha(t.alpha(),!0)},m.prototype.brighten=function(e){return void 0===e&&(e=1),this.darken(-e)},m.prototype.darker=m.prototype.darken,m.prototype.brighter=m.prototype.brighten,m.prototype.get=function(e){var t=e.split("."),n=t[0],r=t[1],o=this[n]();if(r){var i=n.indexOf(r);if(i>-1)return o[i];throw new Error("unknown channel "+r+" in mode "+n)}return o};var Zt=u.type,en=Math.pow,tn=1e-7,nn=20;m.prototype.luminance=function(e){if(void 0!==e&&"number"===Zt(e)){if(0===e)return new m([0,0,0,this._rgb[3]],"rgb");if(1===e)return new m([255,255,255,this._rgb[3]],"rgb");var t=this.luminance(),n="rgb",r=nn,o=function(t,i){var a=t.interpolate(i,.5,n),l=a.luminance();return Math.abs(e-l)<tn||!r--?a:l>e?o(t,a):o(a,i)},i=(t>e?o(new m([0,0,0]),this):o(this,new m([255,255,255]))).rgb();return new m(i.concat([this._rgb[3]]))}return rn.apply(void 0,this._rgb.slice(0,3))};var rn=function(e,t,n){return.2126*(e=on(e))+.7152*(t=on(t))+.0722*(n=on(n))},on=function(e){return(e/=255)<=.03928?e/12.92:en((e+.055)/1.055,2.4)},an={},ln=u.type,sn=function(e,t,n){void 0===n&&(n=.5);for(var r=[],o=arguments.length-3;o-- >0;)r[o]=arguments[o+3];var i=r[0]||"lrgb";if(an[i]||r.length||(i=Object.keys(an)[0]),!an[i])throw new Error("interpolation mode "+i+" is not defined");return"object"!==ln(e)&&(e=new m(e)),"object"!==ln(t)&&(t=new m(t)),an[i](e,t,n).alpha(e.alpha()+n*(t.alpha()-e.alpha()))};m.prototype.mix=m.prototype.interpolate=function(e,t){void 0===t&&(t=.5);for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];return sn.apply(void 0,[this,e,t].concat(n))},m.prototype.premultiply=function(e){void 0===e&&(e=!1);var t=this._rgb,n=t[3];return e?(this._rgb=[t[0]*n,t[1]*n,t[2]*n,n],this):new m([t[0]*n,t[1]*n,t[2]*n,n],"rgb")},m.prototype.saturate=function(e){void 0===e&&(e=1);var t=this,n=t.lch();return n[1]+=Xe.Kn*e,n[1]<0&&(n[1]=0),new m(n,"lch").alpha(t.alpha(),!0)},m.prototype.desaturate=function(e){return void 0===e&&(e=1),this.saturate(-e)};var cn=u.type;m.prototype.set=function(e,t,n){void 0===n&&(n=!1);var r=e.split("."),o=r[0],i=r[1],a=this[o]();if(i){var l=o.indexOf(i);if(l>-1){if("string"==cn(t))switch(t.charAt(0)){case"+":case"-":a[l]+=+t;break;case"*":a[l]*=+t.substr(1);break;case"/":a[l]/=+t.substr(1);break;default:a[l]=+t}else{if("number"!==cn(t))throw new Error("unsupported value for Color.set");a[l]=t}var s=new m(a,o);return n?(this._rgb=s._rgb,this):s}throw new Error("unknown channel "+i+" in mode "+o)}return a};var un=function(e,t,n){var r=e._rgb,o=t._rgb;return new m(r[0]+n*(o[0]-r[0]),r[1]+n*(o[1]-r[1]),r[2]+n*(o[2]-r[2]),"rgb")};an.rgb=un;var fn=Math.sqrt,pn=Math.pow,dn=function(e,t,n){var r=e._rgb,o=r[0],i=r[1],a=r[2],l=t._rgb,s=l[0],c=l[1],u=l[2];return new m(fn(pn(o,2)*(1-n)+pn(s,2)*n),fn(pn(i,2)*(1-n)+pn(c,2)*n),fn(pn(a,2)*(1-n)+pn(u,2)*n),"rgb")};an.lrgb=dn;var hn=function(e,t,n){var r=e.lab(),o=t.lab();return new m(r[0]+n*(o[0]-r[0]),r[1]+n*(o[1]-r[1]),r[2]+n*(o[2]-r[2]),"lab")};an.lab=hn;var vn=function(e,t,n,r){var o,i,a,l,s,c,u,f,p,d,h,v;return"hsl"===r?(a=e.hsl(),l=t.hsl()):"hsv"===r?(a=e.hsv(),l=t.hsv()):"hcg"===r?(a=e.hcg(),l=t.hcg()):"hsi"===r?(a=e.hsi(),l=t.hsi()):"lch"!==r&&"hcl"!==r||(r="hcl",a=e.hcl(),l=t.hcl()),"h"===r.substr(0,1)&&(s=(o=a)[0],u=o[1],p=o[2],c=(i=l)[0],f=i[1],d=i[2]),isNaN(s)||isNaN(c)?isNaN(s)?isNaN(c)?v=Number.NaN:(v=c,1!=p&&0!=p||"hsv"==r||(h=f)):(v=s,1!=d&&0!=d||"hsv"==r||(h=u)):v=s+n*(c>s&&c-s>180?c-(s+360):c<s&&s-c>180?c+360-s:c-s),void 0===h&&(h=u+n*(f-u)),new m([v,h,p+n*(d-p)],r)},mn=function(e,t,n){return vn(e,t,n,"lch")};an.lch=mn,an.hcl=mn;var gn=function(e,t,n){var r=e.num(),o=t.num();return new m(r+n*(o-r),"num")};an.num=gn;var yn=function(e,t,n){return vn(e,t,n,"hcg")};an.hcg=yn;var bn=function(e,t,n){return vn(e,t,n,"hsi")};an.hsi=bn;var _n=function(e,t,n){return vn(e,t,n,"hsl")};an.hsl=_n;var wn=function(e,t,n){return vn(e,t,n,"hsv")};an.hsv=wn;var xn=u.clip_rgb,On=Math.pow,En=Math.sqrt,Sn=Math.PI,Cn=Math.cos,An=Math.sin,kn=Math.atan2,Tn=function(e,t,n){void 0===t&&(t="lrgb"),void 0===n&&(n=null);var r=e.length;n||(n=Array.from(new Array(r)).map((function(){return 1})));var o=r/n.reduce((function(e,t){return e+t}));if(n.forEach((function(e,t){n[t]*=o})),e=e.map((function(e){return new m(e)})),"lrgb"===t)return Mn(e,n);for(var i=e.shift(),a=i.get(t),l=[],s=0,c=0,u=0;u<a.length;u++)if(a[u]=(a[u]||0)*n[0],l.push(isNaN(a[u])?0:n[0]),"h"===t.charAt(u)&&!isNaN(a[u])){var f=a[u]/180*Sn;s+=Cn(f)*n[0],c+=An(f)*n[0]}var p=i.alpha()*n[0];e.forEach((function(e,r){var o=e.get(t);p+=e.alpha()*n[r+1];for(var i=0;i<a.length;i++)if(!isNaN(o[i]))if(l[i]+=n[r+1],"h"===t.charAt(i)){var u=o[i]/180*Sn;s+=Cn(u)*n[r+1],c+=An(u)*n[r+1]}else a[i]+=o[i]*n[r+1]}));for(var d=0;d<a.length;d++)if("h"===t.charAt(d)){for(var h=kn(c/l[d],s/l[d])/Sn*180;h<0;)h+=360;for(;h>=360;)h-=360;a[d]=h}else a[d]=a[d]/l[d];return p/=r,new m(a,t).alpha(p>.99999?1:p,!0)},Mn=function(e,t){for(var n=e.length,r=[0,0,0,0],o=0;o<e.length;o++){var i=e[o],a=t[o]/n,l=i._rgb;r[0]+=On(l[0],2)*a,r[1]+=On(l[1],2)*a,r[2]+=On(l[2],2)*a,r[3]+=l[3]*a}return r[0]=En(r[0]),r[1]=En(r[1]),r[2]=En(r[2]),r[3]>.9999999&&(r[3]=1),new m(xn(r))},Pn=u.type,jn=Math.pow,Dn=function(e){var t="rgb",n=y("#ccc"),r=0,o=[0,1],i=[],a=[0,0],l=!1,s=[],c=!1,u=0,f=1,p=!1,d={},h=!0,v=1,m=function(e){if((e=e||["#fff","#000"])&&"string"===Pn(e)&&y.brewer&&y.brewer[e.toLowerCase()]&&(e=y.brewer[e.toLowerCase()]),"array"===Pn(e)){1===e.length&&(e=[e[0],e[0]]),e=e.slice(0);for(var t=0;t<e.length;t++)e[t]=y(e[t]);i.length=0;for(var n=0;n<e.length;n++)i.push(n/(e.length-1))}return x(),s=e},g=function(e){if(null!=l){for(var t=l.length-1,n=0;n<t&&e>=l[n];)n++;return n-1}return 0},b=function(e){return e},_=function(e){return e},w=function(e,r){var o,c;if(null==r&&(r=!1),isNaN(e)||null===e)return n;c=r?e:l&&l.length>2?g(e)/(l.length-2):f!==u?(e-u)/(f-u):1,c=_(c),r||(c=b(c)),1!==v&&(c=jn(c,v)),c=a[0]+c*(1-a[0]-a[1]),c=Math.min(1,Math.max(0,c));var p=Math.floor(1e4*c);if(h&&d[p])o=d[p];else{if("array"===Pn(s))for(var m=0;m<i.length;m++){var w=i[m];if(c<=w){o=s[m];break}if(c>=w&&m===i.length-1){o=s[m];break}if(c>w&&c<i[m+1]){c=(c-w)/(i[m+1]-w),o=y.interpolate(s[m],s[m+1],c,t);break}}else"function"===Pn(s)&&(o=s(c));h&&(d[p]=o)}return o},x=function(){return d={}};m(e);var O=function(e){var t=y(w(e));return c&&t[c]?t[c]():t};return O.classes=function(e){if(null!=e){if("array"===Pn(e))l=e,o=[e[0],e[e.length-1]];else{var t=y.analyze(o);l=0===e?[t.min,t.max]:y.limits(t,"e",e)}return O}return l},O.domain=function(e){if(!arguments.length)return o;u=e[0],f=e[e.length-1],i=[];var t=s.length;if(e.length===t&&u!==f)for(var n=0,r=Array.from(e);n<r.length;n+=1){var a=r[n];i.push((a-u)/(f-u))}else{for(var l=0;l<t;l++)i.push(l/(t-1));if(e.length>2){var c=e.map((function(t,n){return n/(e.length-1)})),p=e.map((function(e){return(e-u)/(f-u)}));p.every((function(e,t){return c[t]===e}))||(_=function(e){if(e<=0||e>=1)return e;for(var t=0;e>=p[t+1];)t++;var n=(e-p[t])/(p[t+1]-p[t]);return c[t]+n*(c[t+1]-c[t])})}}return o=[u,f],O},O.mode=function(e){return arguments.length?(t=e,x(),O):t},O.range=function(e,t){return m(e),O},O.out=function(e){return c=e,O},O.spread=function(e){return arguments.length?(r=e,O):r},O.correctLightness=function(e){return null==e&&(e=!0),p=e,x(),b=p?function(e){for(var t=w(0,!0).lab()[0],n=w(1,!0).lab()[0],r=t>n,o=w(e,!0).lab()[0],i=t+(n-t)*e,a=o-i,l=0,s=1,c=20;Math.abs(a)>.01&&c-- >0;)r&&(a*=-1),a<0?(l=e,e+=.5*(s-e)):(s=e,e+=.5*(l-e)),o=w(e,!0).lab()[0],a=o-i;return e}:function(e){return e},O},O.padding=function(e){return null!=e?("number"===Pn(e)&&(e=[e,e]),a=e,O):a},O.colors=function(t,n){arguments.length<2&&(n="hex");var r=[];if(0===arguments.length)r=s.slice(0);else if(1===t)r=[O(.5)];else if(t>1){var i=o[0],a=o[1]-i;r=In(0,t).map((function(e){return O(i+e/(t-1)*a)}))}else{e=[];var c=[];if(l&&l.length>2)for(var u=1,f=l.length,p=1<=f;p?u<f:u>f;p?u++:u--)c.push(.5*(l[u-1]+l[u]));else c=o;r=c.map((function(e){return O(e)}))}return y[n]&&(r=r.map((function(e){return e[n]()}))),r},O.cache=function(e){return null!=e?(h=e,O):h},O.gamma=function(e){return null!=e?(v=e,O):v},O.nodata=function(e){return null!=e?(n=y(e),O):n},O};function In(e,t,n){for(var r=[],o=e<t,i=t,a=e;o?a<i:a>i;o?a++:a--)r.push(a);return r}var Nn=function(e){var t,n,r,o,i,a,l;if(2===(e=e.map((function(e){return new m(e)}))).length)t=e.map((function(e){return e.lab()})),i=t[0],a=t[1],o=function(e){var t=[0,1,2].map((function(t){return i[t]+e*(a[t]-i[t])}));return new m(t,"lab")};else if(3===e.length)n=e.map((function(e){return e.lab()})),i=n[0],a=n[1],l=n[2],o=function(e){var t=[0,1,2].map((function(t){return(1-e)*(1-e)*i[t]+2*(1-e)*e*a[t]+e*e*l[t]}));return new m(t,"lab")};else if(4===e.length){var s;r=e.map((function(e){return e.lab()})),i=r[0],a=r[1],l=r[2],s=r[3],o=function(e){var t=[0,1,2].map((function(t){return(1-e)*(1-e)*(1-e)*i[t]+3*(1-e)*(1-e)*e*a[t]+3*(1-e)*e*e*l[t]+e*e*e*s[t]}));return new m(t,"lab")}}else if(5===e.length){var c=Nn(e.slice(0,3)),u=Nn(e.slice(2,5));o=function(e){return e<.5?c(2*e):u(2*(e-.5))}}return o},Ln=function(e){var t=Nn(e);return t.scale=function(){return Dn(t)},t},Fn=function(e,t,n){if(!Fn[n])throw new Error("unknown blend mode "+n);return Fn[n](e,t)},Rn=function(e){return function(t,n){var r=y(n).rgb(),o=y(t).rgb();return y.rgb(e(r,o))}},Bn=function(e){return function(t,n){var r=[];return r[0]=e(t[0],n[0]),r[1]=e(t[1],n[1]),r[2]=e(t[2],n[2]),r}},zn=function(e){return e},Vn=function(e,t){return e*t/255},Un=function(e,t){return e>t?t:e},Hn=function(e,t){return e>t?e:t},Wn=function(e,t){return 255*(1-(1-e/255)*(1-t/255))},qn=function(e,t){return t<128?2*e*t/255:255*(1-2*(1-e/255)*(1-t/255))},$n=function(e,t){return 255*(1-(1-t/255)/(e/255))},Gn=function(e,t){return 255===e||(e=t/255*255/(1-e/255))>255?255:e};Fn.normal=Rn(Bn(zn)),Fn.multiply=Rn(Bn(Vn)),Fn.screen=Rn(Bn(Wn)),Fn.overlay=Rn(Bn(qn)),Fn.darken=Rn(Bn(Un)),Fn.lighten=Rn(Bn(Hn)),Fn.dodge=Rn(Bn(Gn)),Fn.burn=Rn(Bn($n));for(var Kn=Fn,Xn=u.type,Yn=u.clip_rgb,Jn=u.TWOPI,Qn=Math.pow,Zn=Math.sin,er=Math.cos,tr=function(e,t,n,r,o){void 0===e&&(e=300),void 0===t&&(t=-1.5),void 0===n&&(n=1),void 0===r&&(r=1),void 0===o&&(o=[0,1]);var i,a=0;"array"===Xn(o)?i=o[1]-o[0]:(i=0,o=[o,o]);var l=function(l){var s=Jn*((e+120)/360+t*l),c=Qn(o[0]+i*l,r),u=(0!==a?n[0]+l*a:n)*c*(1-c)/2,f=er(s),p=Zn(s);return y(Yn([255*(c+u*(-.14861*f+1.78277*p)),255*(c+u*(-.29227*f-.90649*p)),255*(c+u*(1.97294*f)),1]))};return l.start=function(t){return null==t?e:(e=t,l)},l.rotations=function(e){return null==e?t:(t=e,l)},l.gamma=function(e){return null==e?r:(r=e,l)},l.hue=function(e){return null==e?n:("array"===Xn(n=e)?0==(a=n[1]-n[0])&&(n=n[1]):a=0,l)},l.lightness=function(e){return null==e?o:("array"===Xn(e)?(o=e,i=e[1]-e[0]):(o=[e,e],i=0),l)},l.scale=function(){return y.scale(l)},l.hue(n),l},nr="0123456789abcdef",rr=Math.floor,or=Math.random,ir=function(){for(var e="#",t=0;t<6;t++)e+=nr.charAt(rr(16*or()));return new m(e,"hex")},ar=Math.log,lr=Math.pow,sr=Math.floor,cr=Math.abs,ur=function(e,t){void 0===t&&(t=null);var n={min:Number.MAX_VALUE,max:-1*Number.MAX_VALUE,sum:0,values:[],count:0};return"object"===a(e)&&(e=Object.values(e)),e.forEach((function(e){t&&"object"===a(e)&&(e=e[t]),null==e||isNaN(e)||(n.values.push(e),n.sum+=e,e<n.min&&(n.min=e),e>n.max&&(n.max=e),n.count+=1)})),n.domain=[n.min,n.max],n.limits=function(e,t){return fr(n,e,t)},n},fr=function(e,t,n){void 0===t&&(t="equal"),void 0===n&&(n=7),"array"==a(e)&&(e=ur(e));var r=e.min,o=e.max,i=e.values.sort((function(e,t){return e-t}));if(1===n)return[r,o];var l=[];if("c"===t.substr(0,1)&&(l.push(r),l.push(o)),"e"===t.substr(0,1)){l.push(r);for(var s=1;s<n;s++)l.push(r+s/n*(o-r));l.push(o)}else if("l"===t.substr(0,1)){if(r<=0)throw new Error("Logarithmic scales are only possible for values > 0");var c=Math.LOG10E*ar(r),u=Math.LOG10E*ar(o);l.push(r);for(var f=1;f<n;f++)l.push(lr(10,c+f/n*(u-c)));l.push(o)}else if("q"===t.substr(0,1)){l.push(r);for(var p=1;p<n;p++){var d=(i.length-1)*p/n,h=sr(d);if(h===d)l.push(i[h]);else{var v=d-h;l.push(i[h]*(1-v)+i[h+1]*v)}}l.push(o)}else if("k"===t.substr(0,1)){var m,g=i.length,y=new Array(g),b=new Array(n),_=!0,w=0,x=null;(x=[]).push(r);for(var O=1;O<n;O++)x.push(r+O/n*(o-r));for(x.push(o);_;){for(var E=0;E<n;E++)b[E]=0;for(var S=0;S<g;S++)for(var C=i[S],A=Number.MAX_VALUE,k=void 0,T=0;T<n;T++){var M=cr(x[T]-C);M<A&&(A=M,k=T),b[k]++,y[S]=k}for(var P=new Array(n),j=0;j<n;j++)P[j]=null;for(var D=0;D<g;D++)null===P[m=y[D]]?P[m]=i[D]:P[m]+=i[D];for(var I=0;I<n;I++)P[I]*=1/b[I];_=!1;for(var N=0;N<n;N++)if(P[N]!==x[N]){_=!0;break}x=P,++w>200&&(_=!1)}for(var L={},F=0;F<n;F++)L[F]=[];for(var R=0;R<g;R++)L[m=y[R]].push(i[R]);for(var B=[],z=0;z<n;z++)B.push(L[z][0]),B.push(L[z][L[z].length-1]);B=B.sort((function(e,t){return e-t})),l.push(B[0]);for(var V=1;V<B.length;V+=2){var U=B[V];isNaN(U)||-1!==l.indexOf(U)||l.push(U)}}return l},pr={analyze:ur,limits:fr},dr=function(e,t){e=new m(e),t=new m(t);var n=e.luminance(),r=t.luminance();return n>r?(n+.05)/(r+.05):(r+.05)/(n+.05)},hr=Math.sqrt,vr=Math.atan2,mr=Math.abs,gr=Math.cos,yr=Math.PI,br=function(e,t,n,r){void 0===n&&(n=1),void 0===r&&(r=1),e=new m(e),t=new m(t);for(var o=Array.from(e.lab()),i=o[0],a=o[1],l=o[2],s=Array.from(t.lab()),c=s[0],u=s[1],f=s[2],p=hr(a*a+l*l),d=hr(u*u+f*f),h=i<16?.511:.040975*i/(1+.01765*i),v=.0638*p/(1+.0131*p)+.638,g=p<1e-6?0:180*vr(l,a)/yr;g<0;)g+=360;for(;g>=360;)g-=360;var y=g>=164&&g<=345?.56+mr(.2*gr(yr*(g+168)/180)):.36+mr(.4*gr(yr*(g+35)/180)),b=p*p*p*p,_=hr(b/(b+1900)),w=v*(_*y+1-_),x=p-d,O=a-u,E=l-f,S=(i-c)/(n*h),C=x/(r*v);return hr(S*S+C*C+(O*O+E*E-x*x)/(w*w))},_r=function(e,t,n){void 0===n&&(n="lab"),e=new m(e),t=new m(t);var r=e.get(n),o=t.get(n),i=0;for(var a in r){var l=(r[a]||0)-(o[a]||0);i+=l*l}return Math.sqrt(i)},wr=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];try{return new(Function.prototype.bind.apply(m,[null].concat(e))),!0}catch(Zne){return!1}},xr={cool:function(){return Dn([y.hsl(180,1,.9),y.hsl(250,.7,.4)])},hot:function(){return Dn(["#000","#f00","#ff0","#fff"]).mode("rgb")}},Or={ +// sequential +OrRd:["#fff7ec","#fee8c8","#fdd49e","#fdbb84","#fc8d59","#ef6548","#d7301f","#b30000","#7f0000"],PuBu:["#fff7fb","#ece7f2","#d0d1e6","#a6bddb","#74a9cf","#3690c0","#0570b0","#045a8d","#023858"],BuPu:["#f7fcfd","#e0ecf4","#bfd3e6","#9ebcda","#8c96c6","#8c6bb1","#88419d","#810f7c","#4d004b"],Oranges:["#fff5eb","#fee6ce","#fdd0a2","#fdae6b","#fd8d3c","#f16913","#d94801","#a63603","#7f2704"],BuGn:["#f7fcfd","#e5f5f9","#ccece6","#99d8c9","#66c2a4","#41ae76","#238b45","#006d2c","#00441b"],YlOrBr:["#ffffe5","#fff7bc","#fee391","#fec44f","#fe9929","#ec7014","#cc4c02","#993404","#662506"],YlGn:["#ffffe5","#f7fcb9","#d9f0a3","#addd8e","#78c679","#41ab5d","#238443","#006837","#004529"],Reds:["#fff5f0","#fee0d2","#fcbba1","#fc9272","#fb6a4a","#ef3b2c","#cb181d","#a50f15","#67000d"],RdPu:["#fff7f3","#fde0dd","#fcc5c0","#fa9fb5","#f768a1","#dd3497","#ae017e","#7a0177","#49006a"],Greens:["#f7fcf5","#e5f5e0","#c7e9c0","#a1d99b","#74c476","#41ab5d","#238b45","#006d2c","#00441b"],YlGnBu:["#ffffd9","#edf8b1","#c7e9b4","#7fcdbb","#41b6c4","#1d91c0","#225ea8","#253494","#081d58"],Purples:["#fcfbfd","#efedf5","#dadaeb","#bcbddc","#9e9ac8","#807dba","#6a51a3","#54278f","#3f007d"],GnBu:["#f7fcf0","#e0f3db","#ccebc5","#a8ddb5","#7bccc4","#4eb3d3","#2b8cbe","#0868ac","#084081"],Greys:["#ffffff","#f0f0f0","#d9d9d9","#bdbdbd","#969696","#737373","#525252","#252525","#000000"],YlOrRd:["#ffffcc","#ffeda0","#fed976","#feb24c","#fd8d3c","#fc4e2a","#e31a1c","#bd0026","#800026"],PuRd:["#f7f4f9","#e7e1ef","#d4b9da","#c994c7","#df65b0","#e7298a","#ce1256","#980043","#67001f"],Blues:["#f7fbff","#deebf7","#c6dbef","#9ecae1","#6baed6","#4292c6","#2171b5","#08519c","#08306b"],PuBuGn:["#fff7fb","#ece2f0","#d0d1e6","#a6bddb","#67a9cf","#3690c0","#02818a","#016c59","#014636"],Viridis:["#440154","#482777","#3f4a8a","#31678e","#26838f","#1f9d8a","#6cce5a","#b6de2b","#fee825"], +// diverging +Spectral:["#9e0142","#d53e4f","#f46d43","#fdae61","#fee08b","#ffffbf","#e6f598","#abdda4","#66c2a5","#3288bd","#5e4fa2"],RdYlGn:["#a50026","#d73027","#f46d43","#fdae61","#fee08b","#ffffbf","#d9ef8b","#a6d96a","#66bd63","#1a9850","#006837"],RdBu:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#f7f7f7","#d1e5f0","#92c5de","#4393c3","#2166ac","#053061"],PiYG:["#8e0152","#c51b7d","#de77ae","#f1b6da","#fde0ef","#f7f7f7","#e6f5d0","#b8e186","#7fbc41","#4d9221","#276419"],PRGn:["#40004b","#762a83","#9970ab","#c2a5cf","#e7d4e8","#f7f7f7","#d9f0d3","#a6dba0","#5aae61","#1b7837","#00441b"],RdYlBu:["#a50026","#d73027","#f46d43","#fdae61","#fee090","#ffffbf","#e0f3f8","#abd9e9","#74add1","#4575b4","#313695"],BrBG:["#543005","#8c510a","#bf812d","#dfc27d","#f6e8c3","#f5f5f5","#c7eae5","#80cdc1","#35978f","#01665e","#003c30"],RdGy:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#ffffff","#e0e0e0","#bababa","#878787","#4d4d4d","#1a1a1a"],PuOr:["#7f3b08","#b35806","#e08214","#fdb863","#fee0b6","#f7f7f7","#d8daeb","#b2abd2","#8073ac","#542788","#2d004b"], +// qualitative +Set2:["#66c2a5","#fc8d62","#8da0cb","#e78ac3","#a6d854","#ffd92f","#e5c494","#b3b3b3"],Accent:["#7fc97f","#beaed4","#fdc086","#ffff99","#386cb0","#f0027f","#bf5b17","#666666"],Set1:["#e41a1c","#377eb8","#4daf4a","#984ea3","#ff7f00","#ffff33","#a65628","#f781bf","#999999"],Set3:["#8dd3c7","#ffffb3","#bebada","#fb8072","#80b1d3","#fdb462","#b3de69","#fccde5","#d9d9d9","#bc80bd","#ccebc5","#ffed6f"],Dark2:["#1b9e77","#d95f02","#7570b3","#e7298a","#66a61e","#e6ab02","#a6761d","#666666"],Paired:["#a6cee3","#1f78b4","#b2df8a","#33a02c","#fb9a99","#e31a1c","#fdbf6f","#ff7f00","#cab2d6","#6a3d9a","#ffff99","#b15928"],Pastel2:["#b3e2cd","#fdcdac","#cbd5e8","#f4cae4","#e6f5c9","#fff2ae","#f1e2cc","#cccccc"],Pastel1:["#fbb4ae","#b3cde3","#ccebc5","#decbe4","#fed9a6","#ffffcc","#e5d8bd","#fddaec","#f2f2f2"]},Er=0,Sr=Object.keys(Or);Er<Sr.length;Er+=1){var Cr=Sr[Er];Or[Cr.toLowerCase()]=Or[Cr]}var Ar=Or;return y.average=Tn,y.bezier=Ln,y.blend=Kn,y.cubehelix=tr,y.mix=y.interpolate=sn,y.random=ir,y.scale=Dn,y.analyze=pr.analyze,y.contrast=dr,y.deltaE=br,y.distance=_r,y.limits=pr.limits,y.valid=wr,y.scales=xr,y.colors=Nt,y.brewer=Ar,y}()),qX.exports);const GX=oO($X);var KX,XX;const YX=oO(XX?KX:(XX=1,KX=eK()));var JX,QX;const ZX=oO(QX?JX:(QX=1,JX=v$()));var eY,tY;const nY=oO(tY?eY:(tY=1,eY=CK()));var rY,oY,iY,aY,lY,sY,cY,uY;function fY(){return oY?rY:(oY=1,pH(),rY=OK()("Array","concat"))}function pY(){if(aY)return iY;aY=1;var e=Vz(),t=fY(),n=Array.prototype;return iY=function(r){var o=r.concat;return r===n||e(n,r)&&o===n.concat?t:o}}function dY(){return sY?lY:(sY=1,lY=pY())}const hY=oO(uY?cY:(uY=1,cY=dY()));var vY,mY,gY,yY,bY,_Y,wY,xY,OY,EY,SY,CY,AY,kY={};function TY(){if(mY)return vY;mY=1;var e=$B(),t=gU(),n=TypeError,r=Object.getOwnPropertyDescriptor,o=e&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();return vY=o?function(e,o){if(t(e)&&!r(e,"length").writable)throw new n("Cannot set read only .length");return e.length=o}:function(e,t){return e.length=t}}function MY(){if(yY)return gY;yY=1;var e=Gz(),t=TypeError;return gY=function(n,r){if(!delete n[r])throw new t("Cannot delete property "+e(r)+" of "+e(n))}}function PY(){return wY?_Y:(wY=1,function(){if(bY)return kY;bY=1;var e=mU(),t=MV(),n=RH(),r=eH(),o=nH(),i=TY(),a=rH(),l=uH(),s=oH(),c=MY(),u=fH()("splice"),f=Math.max,p=Math.min;e({target:"Array",proto:!0,forced:!u},{splice:function(e,u){var d,h,v,m,g,y,b=t(this),_=o(b),w=n(e,_),x=arguments.length;for(0===x?d=h=0:1===x?(d=0,h=_-w):(d=x-2,h=p(f(r(u),0),_-w)),a(_+d-h),v=l(b,h),m=0;m<h;m++)(g=w+m)in b&&s(v,m,b[g]);if(v.length=h,d<h){for(m=w;m<_-h;m++)y=m+d,(g=m+h)in b?b[y]=b[g]:c(b,y);for(m=_;m>_-h+d;m--)c(b,m-1)}else if(d>h)for(m=_-h;m>w;m--)y=m+d-1,(g=m+h-1)in b?b[y]=b[g]:c(b,y);for(m=0;m<d;m++)b[m+w]=arguments[m+2];return i(b,_-h+d),v}})}(),_Y=OK()("Array","splice"))}function jY(){if(OY)return xY;OY=1;var e=Vz(),t=PY(),n=Array.prototype;return xY=function(r){var o=r.splice;return r===n||e(n,r)&&o===n.splice?t:o}}function DY(){return SY?EY:(SY=1,EY=jY())}const IY=oO(AY?CY:(AY=1,CY=DY()));var NY,LY,FY,RY,BY,zY,VY,UY,HY,WY={};function qY(){return FY?LY:(FY=1,function(){if(NY)return WY;NY=1;var e=mU(),t=LW().filter;e({target:"Array",proto:!0,forced:!fH()("filter")},{filter:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)}})}(),LY=OK()("Array","filter"))}function $Y(){if(BY)return RY;BY=1;var e=Vz(),t=qY(),n=Array.prototype;return RY=function(r){var o=r.filter;return r===n||e(n,r)&&o===n.filter?t:o}}function GY(){return VY?zY:(VY=1,zY=$Y())}const KY=oO(HY?UY:(HY=1,UY=GY()));var XY,YY,JY,QY,ZY,eJ,tJ,nJ,rJ,oJ,iJ,aJ,lJ,sJ,cJ,uJ,fJ,pJ,dJ,hJ={};function vJ(){if(YY)return XY;YY=1;var e=tW(),t=Math.floor,n=function(r,o){var i=r.length;if(i<8)for(var a,l,s=1;s<i;){for(l=s,a=r[s];l&&o(r[l-1],a)>0;)r[l]=r[--l];l!==s++&&(r[l]=a)}else for(var c=t(i/2),u=n(e(r,0,c),o),f=n(e(r,c),o),p=u.length,d=f.length,h=0,v=0;h<p||v<d;)r[h+v]=h<p&&v<d?o(u[h],f[v])<=0?u[h++]:f[v++]:h<p?u[h++]:f[v++];return r};return XY=n}function mJ(){if(QY)return JY;QY=1;var e=IB();return JY=function(t,n){var r=[][t];return!!r&&e((function(){r.call(null,n||function(){return 1},1)}))}}function gJ(){if(eJ)return ZY;eJ=1;var e=Uz().match(/firefox\/(\d+)/i);return ZY=!!e&&+e[1]}function yJ(){return nJ?tJ:(nJ=1,tJ=/MSIE|Trident/.test(Uz()))}function bJ(){if(oJ)return rJ;oJ=1;var e=Uz().match(/AppleWebKit\/(\d+)\./);return rJ=!!e&&+e[1]}function _J(){if(iJ)return hJ;iJ=1;var e=mU(),t=FB(),n=Kz(),r=MV(),o=nH(),i=MY(),a=gH(),l=IB(),s=vJ(),c=mJ(),u=gJ(),f=yJ(),p=Hz(),d=bJ(),h=[],v=t(h.sort),m=t(h.push),g=l((function(){h.sort(void 0)})),y=l((function(){h.sort(null)})),b=c("sort"),_=!l((function(){if(p)return p<70;if(!(u&&u>3)){if(f)return!0;if(d)return d<603;var e,t,n,r,o="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)h.push({k:t+r,v:n})}for(h.sort((function(e,t){return t.v-e.v})),r=0;r<h.length;r++)t=h[r].k.charAt(0),o.charAt(o.length-1)!==t&&(o+=t);return"DGBEFHACIJK"!==o}}));return e({target:"Array",proto:!0,forced:g||!y||!b||!_},{sort:function(e){void 0!==e&&n(e);var t=r(this);if(_)return void 0===e?v(t):v(t,e);var l,c,u=[],f=o(t);for(c=0;c<f;c++)c in t&&m(u,t[c]);for(s(u,function(e){return function(t,n){return void 0===n?-1:void 0===t?1:void 0!==e?+e(t,n)||0:a(t)>a(n)?1:-1}}(e)),l=o(u),c=0;c<l;)t[c]=u[c++];for(;c<f;)i(t,c++);return t}}),hJ}function wJ(){return lJ?aJ:(lJ=1,_J(),aJ=OK()("Array","sort"))}function xJ(){if(cJ)return sJ;cJ=1;var e=Vz(),t=wJ(),n=Array.prototype;return sJ=function(r){var o=r.sort;return r===n||e(n,r)&&o===n.sort?t:o}}function OJ(){return fJ?uJ:(fJ=1,uJ=xJ())}const EJ=oO(dJ?pJ:(dJ=1,pJ=OJ()));var SJ,CJ,AJ,kJ,TJ,MJ,PJ,jJ,DJ,IJ,NJ,LJ,FJ,RJ,BJ,zJ,VJ,UJ,HJ,WJ,qJ,$J={},GJ={exports:{}};function KJ(){return CJ?SJ:(CJ=1,SJ=IB()((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}})))}function XJ(){if(kJ)return AJ;kJ=1;var e=IB(),t=Rz(),n=RB(),r=KJ(),o=Object.isExtensible,i=e((function(){}));return AJ=i||r?function(e){return!!t(e)&&((!r||"ArrayBuffer"!==n(e))&&(!o||o(e)))}:o}function YJ(){return MJ?TJ:(MJ=1,TJ=!IB()((function(){return Object.isExtensible(Object.preventExtensions({}))})))}function JJ(){if(PJ)return GJ.exports;PJ=1;var e=mU(),t=FB(),n=zH(),r=Rz(),o=PV(),i=hU().f,a=YH(),l=nW(),s=XJ(),c=jV(),u=YJ(),f=!1,p=c("meta"),d=0,h=function(e){i(e,p,{value:{objectID:"O"+d++, +// object ID +weakData:{}}})},v=GJ.exports={enable:function(){v.enable=function(){},f=!0;var n=a.f,r=t([].splice),o={};o[p]=1,n(o).length&&(a.f=function(e){for(var t=n(e),o=0,i=t.length;o<i;o++)if(t[o]===p){r(t,o,1);break}return t},e({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:l.f}))},fastKey:function(e,t){if(!r(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,p)){if(!s(e))return"F";if(!t)return"E";h(e)}return e[p].objectID},getWeakData:function(e,t){if(!o(e,p)){if(!s(e))return!0;if(!t)return!1;h(e)}return e[p].weakData},onFreeze:function(e){return u&&f&&s(e)&&!o(e,p)&&h(e),e}};return n[p]=!0,GJ.exports}function QJ(){if(DJ)return jJ;DJ=1;var e=zV(),t=GB(),n=dU(),r=Gz(),o=XG(),i=nH(),a=Vz(),l=YG(),s=hG(),c=GG(),u=TypeError,f=function(e,t){this.stopped=e,this.result=t},p=f.prototype;return jJ=function(d,h,v){var m,g,y,b,_,w,x,O=v&&v.that,E=!(!v||!v.AS_ENTRIES),S=!(!v||!v.IS_RECORD),C=!(!v||!v.IS_ITERATOR),A=!(!v||!v.INTERRUPTED),k=e(h,O),T=function(e){return m&&c(m,"normal",e),new f(!0,e)},M=function(e){return E?(n(e),A?k(e[0],e[1],T):k(e[0],e[1])):A?k(e,T):k(e)};if(S)m=d.iterator;else if(C)m=d;else{if(!(g=s(d)))throw new u(r(d)+" is not iterable");if(o(g)){for(y=0,b=i(d);b>y;y++)if((_=M(d[y]))&&a(p,_))return _;return new f(!1)}m=l(d,g)}for(w=S?d.next:m.next;!(x=t(w,m)).done;){try{_=M(x.value)}catch(P){c(m,"throw",P)}if("object"==typeof _&&_&&a(p,_))return _}return new f(!1)}}function ZJ(){if(NJ)return IJ;NJ=1;var e=Vz(),t=TypeError;return IJ=function(n,r){if(e(r,n))return n;throw new t("Incorrect invocation")}}function eQ(){if(FJ)return LJ;FJ=1;var e=mU(),t=DB(),n=JJ(),r=IB(),o=vU(),i=QJ(),a=ZJ(),l=zB(),s=Rz(),c=Nz(),u=DW(),f=hU().f,p=LW().forEach,d=$B(),h=NW(),v=h.set,m=h.getterFor;return LJ=function(h,g,y){var b,_=-1!==h.indexOf("Map"),w=-1!==h.indexOf("Weak"),x=_?"set":"add",O=t[h],E=O&&O.prototype,S={};if(d&&l(O)&&(w||E.forEach&&!r((function(){(new O).entries().next()})))){var C=(b=g((function(e,t){v(a(e,C),{type:h,collection:new O}),c(t)||i(t,e[x],{that:e,AS_ENTRIES:_})}))).prototype,A=m(h);p(["add","clear","delete","forEach","get","has","set","keys","values","entries"],(function(e){var t="add"===e||"set"===e;!(e in E)||w&&"clear"===e||o(C,e,(function(n,r){var o=A(this).collection;if(!t&&w&&!s(n))return"get"===e&&void 0;var i=o[e](0===n?0:n,r);return t?this:i}))})),w||f(C,"size",{configurable:!0,get:function(){return A(this).collection.size}})}else b=y.getConstructor(g,h,_,x),n.enable();return u(b,h,!1,!0),S[h]=b,e({global:!0,forced:!0},S),w||y.setStrong(b,h,_),b}}function tQ(){if(BJ)return RJ;BJ=1;var e=uW();return RJ=function(t,n,r){for(var o in n)r&&r.unsafe&&t[o]?t[o]=n[o]:e(t,o,n[o],r);return t}}function nQ(){if(VJ)return zJ;VJ=1;var e=zz(),t=fW(),n=DV(),r=$B(),o=n("species");return zJ=function(n){var i=e(n);r&&i&&!i[o]&&t(i,o,{configurable:!0,get:function(){return this}})}}function rQ(){if(HJ)return UJ;HJ=1;var e=GH(),t=fW(),n=tQ(),r=zV(),o=ZJ(),i=Nz(),a=QJ(),l=u$(),s=f$(),c=nQ(),u=$B(),f=JJ().fastKey,p=NW(),d=p.set,h=p.getterFor;return UJ={getConstructor:function(l,s,c,p){var v=l((function(t,n){o(t,m),d(t,{type:s,index:e(null),first:null,last:null,size:0}),u||(t.size=0),i(n)||a(n,t[p],{that:t,AS_ENTRIES:c})})),m=v.prototype,g=h(s),y=function(e,t,n){var r,o,i=g(e),a=b(e,t);return a?a.value=n:(i.last=a={index:o=f(t,!0),key:t,value:n,previous:r=i.last,next:null,removed:!1},i.first||(i.first=a),r&&(r.next=a),u?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},b=function(e,t){var n,r=g(e),o=f(t);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key===t)return n};return n(m,{ +// `{ Map, Set }.prototype.clear()` methods +// https://tc39.es/ecma262/#sec-map.prototype.clear +// https://tc39.es/ecma262/#sec-set.prototype.clear +clear:function(){for(var t=g(this),n=t.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=null),n=n.next;t.first=t.last=null,t.index=e(null),u?t.size=0:this.size=0}, +// `{ Map, Set }.prototype.delete(key)` methods +// https://tc39.es/ecma262/#sec-map.prototype.delete +// https://tc39.es/ecma262/#sec-set.prototype.delete +delete:function(e){var t=this,n=g(t),r=b(t,e);if(r){var o=r.next,i=r.previous;delete n.index[r.index],r.removed=!0,i&&(i.next=o),o&&(o.previous=i),n.first===r&&(n.first=o),n.last===r&&(n.last=i),u?n.size--:t.size--}return!!r}, +// `{ Map, Set }.prototype.forEach(callbackfn, thisArg = undefined)` methods +// https://tc39.es/ecma262/#sec-map.prototype.foreach +// https://tc39.es/ecma262/#sec-set.prototype.foreach +forEach:function(e){for(var t,n=g(this),o=r(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:n.first;)for(o(t.value,t.key,this);t&&t.removed;)t=t.previous}, +// `{ Map, Set}.prototype.has(key)` methods +// https://tc39.es/ecma262/#sec-map.prototype.has +// https://tc39.es/ecma262/#sec-set.prototype.has +has:function(e){return!!b(this,e)}}),n(m,c?{ +// `Map.prototype.get(key)` method +// https://tc39.es/ecma262/#sec-map.prototype.get +get:function(e){var t=b(this,e);return t&&t.value}, +// `Map.prototype.set(key, value)` method +// https://tc39.es/ecma262/#sec-map.prototype.set +set:function(e,t){return y(this,0===e?0:e,t)}}:{ +// `Set.prototype.add(value)` method +// https://tc39.es/ecma262/#sec-set.prototype.add +add:function(e){return y(this,e=0===e?0:e,e)}}),u&&t(m,"size",{configurable:!0,get:function(){return g(this).size}}),v},setStrong:function(e,t,n){var r=t+" Iterator",o=h(t),i=h(r);l(e,t,(function(e,t){d(this,{type:r,target:e,state:o(e),kind:t,last:null})}),(function(){for(var e=i(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?s("keys"===t?n.key:"values"===t?n.value:[n.key,n.value],!1):(e.target=null,s(void 0,!0))}),n?"entries":"values",!n,!0),c(t)}},UJ}function oQ(){return qJ||(qJ=1,WJ||(WJ=1,eQ()("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),rQ()))),$J}var iQ,aQ,lQ,sQ,cQ,uQ,fQ,pQ,dQ,hQ,vQ,mQ,gQ,yQ,bQ,_Q,wQ,xQ,OQ,EQ,SQ,CQ,AQ,kQ={};function TQ(){if(aQ)return iQ;aQ=1;var e=Gz(),t=TypeError;return iQ=function(n){if("object"==typeof n&&"size"in n&&"has"in n&&"add"in n&&"delete"in n&&"keys"in n)return n;throw new t(e(n)+" is not a set")}}function MQ(){return sQ?lQ:(sQ=1,lQ=function(e,t){return 1===t?function(t,n){return t[e](n)}:function(t,n,r){return t[e](n,r)}})}function PQ(){if(uQ)return cQ;uQ=1;var e=zz(),t=MQ(),n=e("Set"),r=n.prototype;return cQ={Set:n,add:t("add",1),has:t("has",1),remove:t("delete",1),proto:r}}function jQ(){if(pQ)return fQ;pQ=1;var e=GB();return fQ=function(t,n,r){for(var o,i,a=r?t:t.iterator,l=t.next;!(o=e(l,a)).done;)if(void 0!==(i=n(o.value)))return i}}function DQ(){if(hQ)return dQ;hQ=1;var e=jQ();return dQ=function(t,n,r){return r?e(t.keys(),n,!0):t.forEach(n)}}function IQ(){if(mQ)return vQ;mQ=1;var e=PQ(),t=DQ(),n=e.Set,r=e.add;return vQ=function(e){var o=new n;return t(e,(function(e){r(o,e)})),o}}function NQ(){return yQ?gQ:(yQ=1,gQ=function(e){return e.size})}function LQ(){return _Q?bQ:(_Q=1,bQ=function(e){return{iterator:e,next:e.next,done:!1}})}function FQ(){if(xQ)return wQ;xQ=1;var e=Kz(),t=dU(),n=GB(),r=eH(),o=LQ(),i="Invalid size",a=RangeError,l=TypeError,s=Math.max,c=function(t,n){this.set=t,this.size=s(n,0),this.has=e(t.has),this.keys=e(t.keys)};return c.prototype={getIterator:function(){return o(t(n(this.keys,this.set)))},includes:function(e){return n(this.has,this.set,e)}},wQ=function(e){t(e);var n=+e.size;if(n!=n)throw new l(i);var o=r(n);if(o<0)throw new a(i);return new c(e,o)}}function RQ(){if(EQ)return OQ;EQ=1;var e=TQ(),t=PQ(),n=IQ(),r=NQ(),o=FQ(),i=DQ(),a=jQ(),l=t.has,s=t.remove;return OQ=function(t){var c=e(this),u=o(t),f=n(c);return r(c)<=u.size?i(c,(function(e){u.includes(e)&&s(f,e)})):a(u.getIterator(),(function(e){l(c,e)&&s(f,e)})),f}}function BQ(){return CQ?SQ:(CQ=1,SQ=function(){return!1})}var zQ,VQ,UQ,HQ={};function WQ(){if(VQ)return zQ;VQ=1;var e=TQ(),t=PQ(),n=NQ(),r=FQ(),o=DQ(),i=jQ(),a=t.Set,l=t.add,s=t.has;return zQ=function(t){var c=e(this),u=r(t),f=new a;return n(c)>u.size?i(u.getIterator(),(function(e){s(c,e)&&l(f,e)})):o(c,(function(e){u.includes(e)&&l(f,e)})),f}}var qQ,$Q,GQ,KQ={};function XQ(){if($Q)return qQ;$Q=1;var e=TQ(),t=PQ().has,n=NQ(),r=FQ(),o=DQ(),i=jQ(),a=GG();return qQ=function(l){var s=e(this),c=r(l);if(n(s)<=c.size)return!1!==o(s,(function(e){if(c.includes(e))return!1}),!0);var u=c.getIterator();return!1!==i(u,(function(e){if(t(s,e))return a(u,"normal",!1)}))}}var YQ,JQ,QQ,ZQ={};function eZ(){if(JQ)return YQ;JQ=1;var e=TQ(),t=NQ(),n=DQ(),r=FQ();return YQ=function(o){var i=e(this),a=r(o);return!(t(i)>a.size)&&!1!==n(i,(function(e){if(!a.includes(e))return!1}),!0)}}var tZ,nZ,rZ,oZ={};function iZ(){if(nZ)return tZ;nZ=1;var e=TQ(),t=PQ().has,n=NQ(),r=FQ(),o=jQ(),i=GG();return tZ=function(a){var l=e(this),s=r(a);if(n(l)<s.size)return!1;var c=s.getIterator();return!1!==o(c,(function(e){if(!t(l,e))return i(c,"normal",!1)}))}}var aZ,lZ,sZ,cZ={};function uZ(){if(lZ)return aZ;lZ=1;var e=TQ(),t=PQ(),n=IQ(),r=FQ(),o=jQ(),i=t.add,a=t.has,l=t.remove;return aZ=function(t){var s=e(this),c=r(t).getIterator(),u=n(s);return o(c,(function(e){a(s,e)?l(u,e):i(u,e)})),u}}var fZ,pZ,dZ,hZ,vZ,mZ,gZ,yZ,bZ,_Z={};function wZ(){if(pZ)return fZ;pZ=1;var e=TQ(),t=PQ().add,n=IQ(),r=FQ(),o=jQ();return fZ=function(i){var a=e(this),l=r(i).getIterator(),s=n(a);return o(l,(function(e){t(s,e)})),s}}function xZ(){return vZ?hZ:(vZ=1,p$(),oQ(),function(){if(AQ)return kQ;AQ=1;var e=mU(),t=RQ();e({target:"Set",proto:!0,real:!0,forced:!BQ()("difference",(function(e){return 0===e.size}))},{difference:t})}(),function(){if(UQ)return HQ;UQ=1;var e=mU(),t=IB(),n=WQ();e({target:"Set",proto:!0,real:!0,forced:!BQ()("intersection",(function(e){return 2===e.size&&e.has(1)&&e.has(2)}))||t((function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))}))},{intersection:n})}(),function(){if(GQ)return KQ;GQ=1;var e=mU(),t=XQ();e({target:"Set",proto:!0,real:!0,forced:!BQ()("isDisjointFrom",(function(e){return!e}))},{isDisjointFrom:t})}(),function(){if(QQ)return ZQ;QQ=1;var e=mU(),t=eZ();e({target:"Set",proto:!0,real:!0,forced:!BQ()("isSubsetOf",(function(e){return e}))},{isSubsetOf:t})}(),function(){if(rZ)return oZ;rZ=1;var e=mU(),t=iZ();e({target:"Set",proto:!0,real:!0,forced:!BQ()("isSupersetOf",(function(e){return!e}))},{isSupersetOf:t})}(),function(){if(sZ)return cZ;sZ=1;var e=mU(),t=uZ();e({target:"Set",proto:!0,real:!0,forced:!BQ()("symmetricDifference")},{symmetricDifference:t})}(),function(){if(dZ)return _Z;dZ=1;var e=mU(),t=wZ();e({target:"Set",proto:!0,real:!0,forced:!BQ()("union")},{union:t})}(),dG(),hZ=Bz().Set)}function OZ(){if(gZ)return mZ;gZ=1;var e=xZ();return h$(),mZ=e}const EZ=oO(bZ?yZ:(bZ=1,yZ=OZ()));var SZ,CZ,AZ,kZ,TZ,MZ,PZ,jZ={};function DZ(){return AZ?CZ:(AZ=1,function(){if(SZ)return jZ;SZ=1;var e=mU(),t=MV(),n=HH();e({target:"Object",stat:!0,forced:IB()((function(){n(1)}))},{keys:function(e){return n(t(e))}})}(),CZ=Bz().Object.keys)}function IZ(){return TZ?kZ:(TZ=1,kZ=DZ())}const NZ=oO(PZ?MZ:(PZ=1,MZ=IZ()));var LZ,FZ,RZ,BZ,zZ,VZ,UZ,HZ,WZ,qZ={};function $Z(){if(FZ)return LZ;FZ=1;var e=$B(),t=FB(),n=GB(),r=IB(),o=HH(),i=cW(),a=jz(),l=MV(),s=Iz(),c=Object.assign,u=Object.defineProperty,f=t([].concat);return LZ=!c||r((function(){if(e&&1!==c({b:1},c(u({},"a",{enumerable:!0,get:function(){u(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},n={},r=Symbol("assign detection"),i="abcdefghijklmnopqrst";return t[r]=7,i.split("").forEach((function(e){n[e]=e})),7!==c({},t)[r]||o(c({},n)).join("")!==i}))?function(t,r){for(var c=l(t),u=arguments.length,p=1,d=i.f,h=a.f;u>p;)for(var v,m=s(arguments[p++]),g=d?f(o(m),d(m)):o(m),y=g.length,b=0;y>b;)v=g[b++],e&&!n(h,m,v)||(c[v]=m[v]);return c}:c,LZ}function GZ(){return zZ?BZ:(zZ=1,function(){if(RZ)return qZ;RZ=1;var e=mU(),t=$Z();e({target:"Object",stat:!0,arity:2,forced:Object.assign!==t},{assign:t})}(),BZ=Bz().Object.assign)}function KZ(){return UZ?VZ:(UZ=1,VZ=GZ())}const XZ=oO(WZ?HZ:(WZ=1,HZ=KZ()));var YZ,JZ,QZ,ZZ,e0,t0,n0,r0,o0,i0,a0,l0={};function s0(){if(JZ)return YZ;JZ=1;var e=MV(),t=RH(),n=nH();return YZ=function(r){for(var o=e(this),i=n(o),a=arguments.length,l=t(a>1?arguments[1]:void 0,i),s=a>2?arguments[2]:void 0,c=void 0===s?i:t(s,i);c>l;)o[l++]=r;return o},YZ}function c0(){return e0?ZZ:(e0=1,function(){if(QZ)return l0;QZ=1;var e=mU(),t=s0(),n=Zq();e({target:"Array",proto:!0},{fill:t}),n("fill")}(),ZZ=OK()("Array","fill"))}function u0(){if(n0)return t0;n0=1;var e=Vz(),t=c0(),n=Array.prototype;return t0=function(r){var o=r.fill;return r===n||e(n,r)&&o===n.fill?t:o}}function f0(){return o0?r0:(o0=1,r0=u0())}const p0=oO(a0?i0:(a0=1,i0=f0()));function d0(e,t){return function(e){if(OU(e))return e}(e)||function(e,t){var n=null==e?null:void 0!==K$&&_G(e)||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(s){l=!0,o=s}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}}(e,t)||PK(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()} +/** + * @license + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */function h0(e){return e<0?-1:0===e?0:1}function v0(e,t,n){return(1-n)*e+n*t}function m0(e){return(e%=360)<0&&(e+=360),e} +/** + * @license + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +const g0=[[.41233895,.35762064,.18051042],[.2126,.7152,.0722],[.01932141,.11916382,.95034478]],y0=[[3.2413774792388685,-1.5376652402851851,-.49885366846268053],[-.9691452513005321,1.8758853451067872,.04156585616912061],[.05562093689691305,-.20395524564742123,1.0571799111220335]],b0=[95.047,100,108.883];function _0(e){return e>>16&255}function w0(e){return e>>8&255}function x0(e){return 255&e}function O0(e,t,n){const r=y0,o=r[0][0]*e+r[0][1]*t+r[0][2]*n,i=r[1][0]*e+r[1][1]*t+r[1][2]*n,a=r[2][0]*e+r[2][1]*t+r[2][2]*n,l=k0(o),s=k0(i),c=k0(a);return(255<<24|(255&l)<<16|(255&s)<<8|255&c)>>>0}function E0(e){const t=(e+16)/116,n=24389/27,r=t*t*t>216/24389;return O0((r?t*t*t:e/n)*b0[0],(e>8?t*t*t:e/n)*b0[1],(r?t*t*t:e/n)*b0[2])}function S0(e){const t=function(e){const t=A0(_0(e)),n=A0(w0(e)),r=A0(x0(e));return[(o=[t,n,r])[0]*(i=g0)[0][0]+o[1]*i[0][1]+o[2]*i[0][2],o[0]*i[1][0]+o[1]*i[1][1]+o[2]*i[1][2],o[0]*i[2][0]+o[1]*i[2][1]+o[2]*i[2][2]];var o,i}(e)[1]/100;if(t<=216/24389)return 24389/27*t;return 116*Math.pow(t,1/3)-16}function C0(e){return e>8?100*Math.pow((e+16)/116,3):e/(24389/27)*100}function A0(e){const t=e/255;return t<=.040449936?t/12.92*100:100*Math.pow((t+.055)/1.055,2.4)}function k0(e){const t=e/100;let n=0;return n=t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055,r=0,o=255,(i=Math.round(255*n))<r?r:i>o?o:i;var r,o,i} +/** + * @license + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class T0{ +/** + * Parameters are intermediate values of the CAM16 conversion process. Their + * names are shorthand for technical color science terminology, this class + * would not benefit from documenting them individually. A brief overview + * is available in the CAM16 specification, and a complete overview requires + * a color science textbook, such as Fairchild's Color Appearance Models. + */ +constructor(e,t,n,r,o,i,a,l,s,c){this.n=e,this.aw=t,this.nbb=n,this.ncb=r,this.c=o,this.nc=i,this.rgbD=a,this.fl=l,this.fLRoot=s,this.z=c} +/** + * Create ViewingConditions from a simple, physically relevant, set of + * parameters. + * + * @param whitePoint White point, measured in the XYZ color space. + * default = D65, or sunny day afternoon + * @param adaptingLuminance The luminance of the adapting field. Informally, + * how bright it is in the room where the color is viewed. Can be + * calculated from lux by multiplying lux by 0.0586. default = 11.72, + * or 200 lux. + * @param backgroundLstar The lightness of the area surrounding the color. + * measured by L* in L*a*b*. default = 50.0 + * @param surround A general description of the lighting surrounding the + * color. 0 is pitch dark, like watching a movie in a theater. 1.0 is a + * dimly light room, like watching TV at home at night. 2.0 means there + * is no difference between the lighting on the color and around it. + * default = 2.0 + * @param discountingIlluminant Whether the eye accounts for the tint of the + * ambient lighting, such as knowing an apple is still red in green light. + * default = false, the eye does not perform this process on + * self-luminous objects like displays. + */static make(e=function(){return b0}(),t=200/Math.PI*C0(50)/100,n=50,r=2,o=!1){const i=e,a=.401288*i[0]+.650173*i[1]+-.051461*i[2],l=-.250268*i[0]+1.204414*i[1]+.045854*i[2],s=-.002079*i[0]+.048952*i[1]+.953127*i[2],c=.8+r/10,u=c>=.9?v0(.59,.69,10*(c-.9)):v0(.525,.59,10*(c-.8));let f=o?1:c*(1-1/3.6*Math.exp((-t-42)/92));f=f>1?1:f<0?0:f;const p=c,d=[f*(100/a)+1-f,f*(100/l)+1-f,f*(100/s)+1-f],h=1/(5*t+1),v=h*h*h*h,m=1-v,g=v*t+.1*m*m*Math.cbrt(5*t),y=C0(n)/e[1],b=1.48+Math.sqrt(y),_=.725/Math.pow(y,.2),w=_,x=[Math.pow(g*d[0]*a/100,.42),Math.pow(g*d[1]*l/100,.42),Math.pow(g*d[2]*s/100,.42)],O=[400*x[0]/(x[0]+27.13),400*x[1]/(x[1]+27.13),400*x[2]/(x[2]+27.13)];return new T0(y,(2*O[0]+O[1]+.05*O[2])*_,_,w,u,p,d,g,Math.pow(g,.25),b)}}T0.DEFAULT=T0.make(); +/** + * @license + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class M0{ +/** + * All of the CAM16 dimensions can be calculated from 3 of the dimensions, in + * the following combinations: + * - {j or q} and {c, m, or s} and hue + * - jstar, astar, bstar + * Prefer using a static method that constructs from 3 of those dimensions. + * This constructor is intended for those methods to use to return all + * possible dimensions. + * + * @param hue + * @param chroma informally, colorfulness / color intensity. like saturation + * in HSL, except perceptually accurate. + * @param j lightness + * @param q brightness; ratio of lightness to white point's lightness + * @param m colorfulness + * @param s saturation; ratio of chroma to white point's chroma + * @param jstar CAM16-UCS J coordinate + * @param astar CAM16-UCS a coordinate + * @param bstar CAM16-UCS b coordinate + */ +constructor(e,t,n,r,o,i,a,l,s){this.hue=e,this.chroma=t,this.j=n,this.q=r,this.m=o,this.s=i,this.jstar=a,this.astar=l,this.bstar=s} +/** + * CAM16 instances also have coordinates in the CAM16-UCS space, called J*, + * a*, b*, or jstar, astar, bstar in code. CAM16-UCS is included in the CAM16 + * specification, and is used to measure distances between colors. + */distance(e){const t=this.jstar-e.jstar,n=this.astar-e.astar,r=this.bstar-e.bstar,o=Math.sqrt(t*t+n*n+r*r);return 1.41*Math.pow(o,.63)} +/** + * @param argb ARGB representation of a color. + * @return CAM16 color, assuming the color was viewed in default viewing + * conditions. + */static fromInt(e){return M0.fromIntInViewingConditions(e,T0.DEFAULT)} +/** + * @param argb ARGB representation of a color. + * @param viewingConditions Information about the environment where the color + * was observed. + * @return CAM16 color. + */static fromIntInViewingConditions(e,t){const n=(65280&e)>>8,r=255&e,o=A0((16711680&e)>>16),i=A0(n),a=A0(r),l=.41233895*o+.35762064*i+.18051042*a,s=.2126*o+.7152*i+.0722*a,c=.01932141*o+.11916382*i+.95034478*a,u=.401288*l+.650173*s-.051461*c,f=-.250268*l+1.204414*s+.045854*c,p=-.002079*l+.048952*s+.953127*c,d=t.rgbD[0]*u,h=t.rgbD[1]*f,v=t.rgbD[2]*p,m=Math.pow(t.fl*Math.abs(d)/100,.42),g=Math.pow(t.fl*Math.abs(h)/100,.42),y=Math.pow(t.fl*Math.abs(v)/100,.42),b=400*h0(d)*m/(m+27.13),_=400*h0(h)*g/(g+27.13),w=400*h0(v)*y/(y+27.13),x=(11*b+-12*_+w)/11,O=(b+_-2*w)/9,E=(20*b+20*_+21*w)/20,S=(40*b+20*_+w)/20,C=180*Math.atan2(O,x)/Math.PI,A=C<0?C+360:C>=360?C-360:C,k=A*Math.PI/180,T=S*t.nbb,M=100*Math.pow(T/t.aw,t.c*t.z),P=4/t.c*Math.sqrt(M/100)*(t.aw+4)*t.fLRoot,j=A<20.14?A+360:A,D=5e4/13*(.25*(Math.cos(j*Math.PI/180+2)+3.8))*t.nc*t.ncb*Math.sqrt(x*x+O*O)/(E+.305),I=Math.pow(D,.9)*Math.pow(1.64-Math.pow(.29,t.n),.73),N=I*Math.sqrt(M/100),L=N*t.fLRoot,F=50*Math.sqrt(I*t.c/(t.aw+4)),R=(1+100*.007)*M/(1+.007*M),B=1/.0228*Math.log(1+.0228*L),z=B*Math.cos(k),V=B*Math.sin(k);return new M0(A,N,M,P,L,F,R,z,V)} +/** + * @param j CAM16 lightness + * @param c CAM16 chroma + * @param h CAM16 hue + */static fromJch(e,t,n){return M0.fromJchInViewingConditions(e,t,n,T0.DEFAULT)} +/** + * @param j CAM16 lightness + * @param c CAM16 chroma + * @param h CAM16 hue + * @param viewingConditions Information about the environment where the color + * was observed. + */static fromJchInViewingConditions(e,t,n,r){const o=4/r.c*Math.sqrt(e/100)*(r.aw+4)*r.fLRoot,i=t*r.fLRoot,a=t/Math.sqrt(e/100),l=50*Math.sqrt(a*r.c/(r.aw+4)),s=n*Math.PI/180,c=(1+100*.007)*e/(1+.007*e),u=1/.0228*Math.log(1+.0228*i),f=u*Math.cos(s),p=u*Math.sin(s);return new M0(n,t,e,o,i,l,c,f,p)} +/** + * @param jstar CAM16-UCS lightness. + * @param astar CAM16-UCS a dimension. Like a* in L*a*b*, it is a Cartesian + * coordinate on the Y axis. + * @param bstar CAM16-UCS b dimension. Like a* in L*a*b*, it is a Cartesian + * coordinate on the X axis. + */static fromUcs(e,t,n){return M0.fromUcsInViewingConditions(e,t,n,T0.DEFAULT)} +/** + * @param jstar CAM16-UCS lightness. + * @param astar CAM16-UCS a dimension. Like a* in L*a*b*, it is a Cartesian + * coordinate on the Y axis. + * @param bstar CAM16-UCS b dimension. Like a* in L*a*b*, it is a Cartesian + * coordinate on the X axis. + * @param viewingConditions Information about the environment where the color + * was observed. + */static fromUcsInViewingConditions(e,t,n,r){const o=t,i=n,a=Math.sqrt(o*o+i*i),l=(Math.exp(.0228*a)-1)/.0228/r.fLRoot;let s=Math.atan2(i,o)*(180/Math.PI);s<0&&(s+=360);const c=e/(1-.007*(e-100));return M0.fromJchInViewingConditions(c,l,s,r)} +/** + * @return ARGB representation of color, assuming the color was viewed in + * default viewing conditions, which are near-identical to the default + * viewing conditions for sRGB. + */toInt(){return this.viewed(T0.DEFAULT)} +/** + * @param viewingConditions Information about the environment where the color + * will be viewed. + * @return ARGB representation of color + */viewed(e){const t=0===this.chroma||0===this.j?0:this.chroma/Math.sqrt(this.j/100),n=Math.pow(t/Math.pow(1.64-Math.pow(.29,e.n),.73),1/.9),r=this.hue*Math.PI/180,o=.25*(Math.cos(r+2)+3.8),i=e.aw*Math.pow(this.j/100,1/e.c/e.z),a=o*(5e4/13)*e.nc*e.ncb,l=i/e.nbb,s=Math.sin(r),c=Math.cos(r),u=23*(l+.305)*n/(23*a+11*n*c+108*n*s),f=u*c,p=u*s,d=(460*l+451*f+288*p)/1403,h=(460*l-891*f-261*p)/1403,v=(460*l-220*f-6300*p)/1403,m=Math.max(0,27.13*Math.abs(d)/(400-Math.abs(d))),g=h0(d)*(100/e.fl)*Math.pow(m,1/.42),y=Math.max(0,27.13*Math.abs(h)/(400-Math.abs(h))),b=h0(h)*(100/e.fl)*Math.pow(y,1/.42),_=Math.max(0,27.13*Math.abs(v)/(400-Math.abs(v))),w=h0(v)*(100/e.fl)*Math.pow(_,1/.42),x=g/e.rgbD[0],O=b/e.rgbD[1],E=w/e.rgbD[2];return O0(1.86206786*x-1.01125463*O+.14918677*E,.38752654*x+.62144744*O-.00897398*E,-.0158415*x-.03412294*O+1.04996444*E)}} +/** + * @license + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class P0{constructor(e,t,n){this.internalHue=e,this.internalChroma=t,this.internalTone=n,this.setInternalState(this.toInt())} +/** + * @param hue 0 <= hue < 360; invalid values are corrected. + * @param chroma 0 <= chroma < ?; Informally, colorfulness. The color + * returned may be lower than the requested chroma. Chroma has a different + * maximum for any given hue and tone. + * @param tone 0 <= tone <= 100; invalid values are corrected. + * @return HCT representation of a color in default viewing conditions. + */static from(e,t,n){return new P0(e,t,n)} +/** + * @param argb ARGB representation of a color. + * @return HCT representation of a color in default viewing conditions + */static fromInt(e){const t=M0.fromInt(e),n=S0(e);return new P0(t.hue,t.chroma,n)}toInt(){return L0(this.internalHue,this.internalChroma,this.internalTone)} +/** + * A number, in degrees, representing ex. red, orange, yellow, etc. + * Ranges from 0 <= hue < 360. + */get hue(){return this.internalHue} +/** + * @param newHue 0 <= newHue < 360; invalid values are corrected. + * Chroma may decrease because chroma has a different maximum for any given + * hue and tone. + */set hue(e){this.setInternalState(L0(m0(e),this.internalChroma,this.internalTone))}get chroma(){return this.internalChroma} +/** + * @param newChroma 0 <= newChroma < ? + * Chroma may decrease because chroma has a different maximum for any given + * hue and tone. + */set chroma(e){this.setInternalState(L0(this.internalHue,e,this.internalTone))} +/** Lightness. Ranges from 0 to 100. */get tone(){return this.internalTone} +/** + * @param newTone 0 <= newTone <= 100; invalid valids are corrected. + * Chroma may decrease because chroma has a different maximum for any given + * hue and tone. + */set tone(e){this.setInternalState(L0(this.internalHue,this.internalChroma,e))}setInternalState(e){const t=M0.fromInt(e),n=S0(e);this.internalHue=t.hue,this.internalChroma=t.chroma,this.internalTone=n}}const j0=.4,D0=1,I0=.2,N0=.01;function L0(e,t,n){return function(e,t,n,r){if(t<1||Math.round(n)<=0||Math.round(n)>=100)return E0(n);e=m0(e);let o=t,i=t,a=0,l=!0,s=null;for(;Math.abs(a-o)>=j0;){const t=F0(e,i,n);if(l){if(null!=t)return t.viewed(r);l=!1,i=a+(o-a)/2}else null===t?o=i:(s=t,a=i),i=a+(o-a)/2}if(null===s)return E0(n);return s.viewed(r)}(m0(e),t,(o=100,(i=n)<(r=0)?r:i>o?o:i),T0.DEFAULT);var r,o,i}function F0(e,t,n){let r=0,o=100,i=0,a=1e3,l=1e3,s=null;for(;Math.abs(r-o)>N0;){i=r+(o-r)/2;const c=M0.fromJch(i,t,e).toInt(),u=S0(c),f=Math.abs(n-u);if(f<I0){const t=M0.fromInt(c),n=t.distance(M0.fromJch(t.j,t.chroma,e));n<=D0&&n<=l&&(a=f,l=n,s=t)}if(0===a&&0===l)break;u<n?r=i:o=i}return s} +/** + * @license + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */const R0=e=>{const t=_0(e),n=w0(e),r=x0(e),o=[t.toString(16),n.toString(16),r.toString(16)];for(const[i,a]of o.entries())1===a.length&&(o[i]="0"+a);return"#"+o.join("")},B0=e=>{const t=3===(e=e.replace("#","")).length,n=6===e.length,r=8===e.length;if(!t&&!n&&!r)throw new Error("unexpected hex "+e);let o=0,i=0,a=0;return t?(o=z0(e.slice(0,1).repeat(2)),i=z0(e.slice(1,2).repeat(2)),a=z0(e.slice(2,3).repeat(2))):n?(o=z0(e.slice(0,2)),i=z0(e.slice(2,4)),a=z0(e.slice(4,6))):r&&(o=z0(e.slice(2,4)),i=z0(e.slice(4,6)),a=z0(e.slice(6,8))),(255<<24|(255&o)<<16|(255&i)<<8|255&a)>>>0};function z0(e){return parseInt(e,16)}var V0,U0,H0,W0,q0,$0,G0,K0,X0,Y0={};function J0(){return H0?U0:(H0=1,function(){if(V0)return Y0;V0=1;var e=mU(),t=LW().find,n=Zq(),r="find",o=!0;r in[]&&Array(1)[r]((function(){o=!1})),e({target:"Array",proto:!0,forced:o},{find:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)}}),n(r)}(),U0=OK()("Array","find"))}function Q0(){if(q0)return W0;q0=1;var e=Vz(),t=J0(),n=Array.prototype;return W0=function(r){var o=r.find;return r===n||e(n,r)&&o===n.find?t:o}}function Z0(){return G0?$0:(G0=1,$0=Q0())}const e1=oO(X0?K0:(X0=1,K0=Z0()));var t1,n1;var r1=function(){if(n1)return t1;n1=1;var e=.1,t="function"==typeof Float32Array;function n(e,t){return 1-3*t+3*e}function r(e,t){return 3*t-6*e}function o(e){return 3*e}function i(e,t,i){return((n(t,i)*e+r(t,i))*e+o(t))*e}function a(e,t,i){return 3*n(t,i)*e*e+2*r(t,i)*e+o(t)}function l(e){return e}return t1=function(n,r,o,s){if(!(0<=n&&n<=1&&0<=o&&o<=1))throw new Error("bezier x values must be in [0, 1] range");if(n===r&&o===s)return l;for(var c=t?new Float32Array(11):new Array(11),u=0;u<11;++u)c[u]=i(u*e,n,o);function f(t){for(var r=0,l=1;10!==l&&c[l]<=t;++l)r+=e;--l;var s=r+(t-c[l])/(c[l+1]-c[l])*e,u=a(s,n,o);return u>=.001?function(e,t,n,r){for(var o=0;o<4;++o){var l=a(t,n,r);if(0===l)return t;t-=(i(t,n,r)-e)/l}return t}(t,s,n,o):0===u?s:function(e,t,n,r,o){var a,l,s=0;do{(a=i(l=t+(n-t)/2,r,o)-e)>0?n=l:t=l}while(Math.abs(a)>1e-7&&++s<10);return l}(t,r,r+e,n,o)}return function(e){return 0===e?0:1===e?1:i(f(e),r,s)}},t1}();const o1=oO(r1);var i1=function(e,t){var n=function(e){return.017453292519943295*e},r=function(e){return 57.29577951308232*e},o=e[0],i=e[1],a=e[2],l=t[0],s=t[1],c=t[2],u=(o+l)/2,f=(Math.sqrt(Math.pow(i,2)+Math.pow(a,2))+Math.sqrt(Math.pow(s,2)+Math.pow(c,2)))/2,p=(1-Math.sqrt(Math.pow(f,7)/(Math.pow(f,7)+Math.pow(25,7))))/2,d=i*(1+p),h=s*(1+p),v=Math.sqrt(Math.pow(d,2)+Math.pow(a,2)),m=Math.sqrt(Math.pow(h,2)+Math.pow(c,2)),g=(v+m)/2,y=r(Math.atan2(a,d));y<0&&(y+=360);var b=r(Math.atan2(c,h));b<0&&(b+=360);var _=Math.abs(y-b)>180?(y+b+360)/2:(y+b)/2,w=1-.17*Math.cos(n(_-30))+.24*Math.cos(n(2*_))+.32*Math.cos(n(3*_+6))-.2*Math.cos(n(4*_-63)),x=b-y;Math.abs(x)>180&&(b<=y?x+=360:x-=360);var O=l-o,E=m-v;x=2*Math.sqrt(v*m)*Math.sin(n(x)/2);var S=1+.015*Math.pow(u-50,2)/Math.sqrt(20+Math.pow(u-50,2)),C=1+.045*g,A=1+.015*g*w,k=30*Math.exp(-Math.pow((_-275)/25,2)),T=-2*Math.sqrt(Math.pow(g,7)/(Math.pow(g,7)+Math.pow(25,7)))*Math.sin(2*n(k));return Math.sqrt(Math.pow(O/(1*S),2)+Math.pow(E/(1*C),2)+Math.pow(x/(1*A),2)+T*(E/(1*C))*(x/(1*A)))};var a1=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=vX(e).call(e,(function(e){return e/255}));return t&&(n=l1(n,!1)),.2126*n[0]+.7152*n[1]+.0722*n[2]},l1=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return vX(e).call(e,(function(e){var n,r=t?e/255:e;return n=r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4),t?255*n:n}))};function s1(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var c1=.95047,u1=1.08883,f1=.137931034,p1=.12841855;function d1(e){return Math.round(255*(e<=.00304?12.92*e:1.055*Math.pow(e,1/2.4)-.055))}function h1(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function v1(e){return e>.008856452?Math.pow(e,1/3):e/p1+f1}function m1(e){return e>.206896552?e*e*e:p1*(e-f1)}function g1(e){var t=e[0],n=e[1],r=e[2],o=(t+16)/116,i=isNaN(n)?o:o+n/500,a=isNaN(r)?o:o-r/200;return o=1*m1(o),[d1(3.2404542*(i=c1*m1(i))-1.5371385*o-.4985314*(a=u1*m1(a))),d1(-.969266*i+1.8760108*o+.041556*a),r=d1(.0556434*i-.2040259*o+1.0572252*a)]}function y1(e){var t;return nY(t="0".concat(e.toString(16))).call(t,-2)}var b1=180/Math.PI;function _1(e,t){return i1(e,t)}var w1={validateRgb:function(e){var t=e[0],n=e[1],r=e[2];return t>=0&&t<=255&&n>=0&&n<=255&&r>=0&&r<=255},labToRgb:g1,labToRgbHex:function(e){var t,n,r=g1(e);return hY(t=hY(n="#".concat(y1(r[0]))).call(n,y1(r[1]))).call(t,y1(r[2]))},rgbToLab:function(e){var t,n,r,o,i=(n=(t=e)[0],r=t[1],o=t[2],[v1((.4124564*(n=h1(n))+.3575761*(r=h1(r))+.1804375*(o=h1(o)))/c1),v1((.2126729*n+.7151522*r+.072175*o)/1),v1((.0193339*n+.119192*r+.9503041*o)/u1)]),a=i[1],l=116*a-16;return[l<0?0:l,500*(i[0]-a),200*(a-i[2])]},labToHcl:function(e){var t=e[0],n=e[1],r=e[2],o=Math.sqrt(n*n+r*r),i=(Math.atan2(r,n)*b1+360)%360;return 0===Math.round(1e4*o)&&(i=NaN),[i,o,t]},diffSort:function(e,t){for(var n,r,o,i,a,l,s=[(t=nY(t).call(t)).shift()];t.length>0;){for(n=-1,r=-1/0,o=0;o<t.length;o++)for(i=t[o],l=0;l<s.length;l++)(a=e(i,s[l]))>r&&(r=a,n=o);s.push(t[n]),IY(t).call(t,n,1)}return s},distance:_1,contrast:function(e,t){return function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=(a1(e)+.05)/(a1(t)+.05);return n&&r<1&&(r=1/r),r}(e,t,!0)},sortColorsByComplementary:function(e,t){var n,r=GX(t).hsv(),o=jK(r);o[0]=(r[0]+180)%360;var i=jK(r);i[0]=(r[0]+330)%360;var a=function(e){return GX(e).lab()},l=function(e){return GX(e,"hsv").lab()},s=l(o),c=e[0],u=_1(s,a(e[0]));e.forEach((function(e){var t=_1(s,a(e));t<u&&(u=t,c=e)}));var f=l(i),p=KY(n=EJ(e).call(e,(function(e,t){return _1(f,a(e))-_1(f,a(t))}))).call(n,(function(e){return e!==c}));return p.unshift(GX(t).hex()),p.push(c),p},sortColorsByDEThreshold:function(e,t){var n,r,o=nY(e).call(e);o.unshift();for(var i=vX(o).call(o,(function(e){return GX.hex(e)})),a=GX(t),l=EJ(n=nY(i).call(i)).call(n,(function(e,t){var n=e.lab(),r=t.lab(),o=a.lab();return i1(n,o)-i1(r,o)})),s=a,c=s.lab(),u=nY(l).call(l),f=[],p=[],d=[];d.length<2||d[d.length-1]!==d[d.length-2];){for(var h=0,v=0;v<u.length;v++){var m=u[v],g=m.lab();i1(g,c)>=30?(p.push(m),c=(s=m).lab(),h+=1):f.push(m)}d.push(h),u=f,f=[]}for(var y=nY(p).call(p),b=0,_=y.length-1;_>0;_--){var w=i1(y[_].lab(),a.lab());if(!(w<30||w>55))break;y[_],u.unshift(y[_]),b+=1}if(b&&IY(p).call(p,p.length-b,b),u.length){var x,O=function(e,t){var n=void 0!==ZX&&_G(e)||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){var n;if(e){if("string"==typeof e)return s1(e,t);var r=nY(n=Object.prototype.toString.call(e)).call(n,8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?YX(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s1(e,t):void 0}}(e))||t){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){l=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw i}}}}(u);try{for(O.s();!(x=O.n()).done;){for(var E,S,C=x.value,A=[],k=hY(E=hY(S=[a]).call(S,p)).call(E,[a]),T=1;T<k.length-1;T++){var M,P=k[T-1],j=k[T],D=i1(P.lab(),C.lab()),I=i1(j.lab(),C.lab()),N=vX(M=[D,I]).call(M,(function(e){var t=e-30;return t>0?Math.pow(t,2):Math.pow(Math.abs(t),4)})).reduce((function(e,t){return e+t}),0);A.push({pos:T,deA:D,deB:I,deMul:N})}EJ(A).call(A,(function(e,t){return e.deMul-t.deMul})),IY(p).call(p,A[0].pos-1,0,C)}}catch(F){O.e(F)}finally{O.f()}}var L=hY(r=[a]).call(r,p);return vX(L).call(L,(function(e){return e.hex()}))},generateLockedColor:function(e){return GX(e).lab()},getW3RelativeLuminance:a1,sRGBDecode:l1},x1=function(){function e(t){var n;DK(this,e),t||(n=Math.pow(2,31)-1,t=0+Math.floor(Math.random()*(n-0+1))),this.seed=t%2147483647,this.seed<=0&&(this.seed+=2147483646)}return tX(e,[{key:"next",value:function(){return this.seed=16807*this.seed%2147483647,this.seed}},{key:"nextFloat",value:function(){return(this.next()-1)/2147483646}}]),e}(),O1={random:[0,360,15,98,40,98]},E1={bright:[[330,360,42,88,68,92],[320,330,54,85,64,91],[300,320,46,75,62,89],[280,300,36,84,59,92],[270,280,5,88,54,87],[240,270,12,74,62,95],[210,240,13,82,58,93],[200,210,25,88,72,82],[180,200,14,70,57,90],[150,180,22,76,64,90],[135,150,42,85,68,82],[120,135,43,95,62,93],[110,120,49,89,66,92],[91,110,56,79,79,93],[70,91,65,95,78,99],[60,70,44,84,65,98],[30,60,41,79,72,92],[0,30,42,88,65,88]],contrast:[[330,360,39,69,54,74],[320,330,28,86,44,65],[300,320,80,100,33,53],[280,300,53,90,30,60],[270,280,27,47,30,55],[240,270,54,82,62,80],[210,240,25,88,57,90],[200,210,24,47,66,86],[180,200,30,62,77,88],[150,180,45,86,60,87],[120,150,63,92,58,87],[110,120,50,88,66,90],[90,110,35,83,70,95],[60,90,68,89,78,94],[30,60,43,87,55,85],[0,30,48,69,61,71]],composed:[[330,360,55,95,35,70],[320,330,25,83,44,70],[300,320,55,90,40,74],[280,300,38,90,42,67],[270,280,38,95,28,65],[240,270,20,88,34,78],[210,240,15,77,40,85],[200,210,10,88,33,85],[180,200,25,82,43,77],[150,180,35,89,44,68],[135,150,15,88,42,85],[120,135,15,95,46,85],[110,120,45,90,44,80],[90,110,35,78,67,95],[70,90,65,98,80,98],[60,70,42,85,45,90],[30,60,53,93,45,85],[0,30,43,83,38,65]]},S1={colorFilter:null,colorSpace:"default",quality:100,ultraPrecision:!1,seed:null},C1=new EZ(NZ(O1));function A1(e,t){var n;if("number"!=typeof e||e<2)throw new Error("expecting a color count > 2.");t=function(e){var t,n=XZ({},S1,e);if("number"!=typeof n.quality||isNaN(n.quality)||n.quality<1)throw new Error("invalid `quality`. Expecting a number > 0.");if("boolean"!=typeof n.ultraPrecision)throw new Error("invalid `ultraPrecision`. Expecting a boolean.");if(n.seed&&"number"!=typeof n.seed)throw new Error("invalid `seed`. Expecting an integer or a string.");if(n.colorFilter||!n.colorSpace)return n;if("string"==typeof n.colorSpace){if(!C1.has(n.colorSpace))throw new Error('unknown `colorSpace` "'.concat(n.colorSpace,'".'));t=O1[n.colorSpace]}else if(Array.isArray(n.colorSpace)){if(6!==n.colorSpace.length)throw new Error("expecting a `colorSpace` array of length 6 ([hmin, hmax, cmin, cmax, lmin, lmax]).");t=n.colorSpace}else t=[n.colorSpace.hmin||0,n.colorSpace.hmax||360,n.colorSpace.cmin||0,n.colorSpace.cmax||100,n.colorSpace.lmin||0,n.colorSpace.lmax||100];return n.colorFilter=function(e,n){var r=w1.labToHcl(n);return t[0]<t[1]?r[0]>=t[0]&&r[0]<=t[1]&&r[1]>=t[2]&&r[1]<=t[3]&&r[2]>=t[4]&&r[2]<=t[5]:(r[0]>=t[0]||r[0]<=t[1])&&r[1]>=t[2]&&r[1]<=t[3]&&r[2]>=t[4]&&r[2]<=t[5]},n}(t);var r=new x1(t.seed),o=w1.distance,i=function(e,n){return!(!w1.validateRgb(e)||t.colorFilter&&!t.colorFilter(e,n))},a=function(e,t,n){for(var r,o,i=new Array(t),a=0;a<t;a++){do{r=[100*e(),100*(2*e()-1),100*(2*e()-1)],o=w1.labToRgb(r)}while(!n(o,r));i[a]=r}return i}((function(){return r.nextFloat()}),e,i);return null!==(n=t)&&void 0!==n&&n.color&&(a[0]=GX(t.color).lab()),function(e,t,n,r){var o,i,a,l,s=[],c=[],u=4,f=10,p=10;for(r.ultraPrecision&&(u=1,f=5,p=5),o=0;o<=100;o+=u)for(i=-100;i<=100;i+=f)for(a=-100;a<=100;a+=p)l=[o,i,a],t(w1.labToRgb(l),l)&&(s.push(l),c.push(null));for(var d,h,v,m,g,y,b,_,w,x=r.quality||S1.quality,O=s.length,E=n.length;x-- >0;){for(d=0;d<O;d++)for(v=s[d],g=1/0,h=0;h<E;h++)(m=e(n[h],v))<g&&(g=m,c[d]=h);for(y=nY(s).call(s),h=1;h<E;h++){for(b=0,_=[0,0,0],d=0;d<O;d++)c[d]===h&&(b+=1,_[0]+=s[d][0],_[1]+=s[d][1],_[2]+=s[d][2]);if(0!==b)if(_[0]/=b,_[1]/=b,_[2]/=b,t(w1.labToRgb(_),_))n[h]=_;else{var S=y.length>0?y:s;for(g=1/0,w=-1,d=0;d<S.length;d++)(m=e(S[d],_))<g&&(g=m,w=d);n[h]=S[w],y=KY(y).call(y,(function(e){return e[0]!==n[h][0]||e[1]!==n[h][1]||e[2]!==n[h][2]}))}}}}(o,i,a,t),a=w1.diffSort(o,a),vX(a).call(a,w1.labToRgbHex)}var k1=function(e,t,n){var r=function(e,t){var n,r,o,i="#ffffff"!==GX(e).hex(),a=i?t+1:t,l=GX(e).set("lch.l",17).hex(),s=GX(e).set("lch.l",9999).hex(),c=vX(n=p0(r=Array(a)).call(r,1)).call(n,(function(e,t){return t/a})),u=GX.scale((o=[s,e,l],EJ(o).call(o,(function(e,t){return GX(t).get("lch.l")-GX(e).get("lch.l")})))).mode("hsl").correctLightness(),f=vX(c).call(c,(function(e){return u(e).hex()}));return i&&f.shift(),f}(e,t);"range"===n&&(r=GX.scale(function(e,t){for(var n=GX(e).lab(),r=100*(1-1/t),o=r/(t-1),i=.5*(100-r),a=function(e,t,n){for(var r=[],o=t;o>e;o-=n)r.push(o);return r}(i,i+t*o,o),l=9999,s=0;s<t;s++){var c=n[0]-a[s];Math.abs(c)<Math.abs(l)&&(l=c)}var u=function(e,t){var n={diff:1/0,idx:-1};t.forEach((function(t,r){Math.abs(e-t)<n.diff&&(n.diff=Math.abs(e-t),n.idx=r)}));var r=hY(t).call(t);return r[n.idx]=e,r}(n[0],vX(a).call(a,(function(e){return e+l})));return vX(u).call(u,(function(e){return GX.lab(e,n[1],n[2])}))}(e,t)).correctLightness().colors(t));var o=vX(r).call(r,(function(t){return $X.deltaE(t,e)})),i=Math.min.apply(Math,jK(o));return vX(r).call(r,(function(t){return $X.deltaE(t,e)===i?e:t}))};function T1(e){return"string"==typeof e?P0.fromInt(B0(e)):vX(e).call(e,(function(e){return P0.fromInt(B0(e))}))}function M1(e){return Array.isArray(e)?vX(e).call(e,(function(e){return R0(P0.from(e.hue,e.chroma,e.tone).toInt())})):R0(P0.from(e.hue,e.chroma,e.tone).toInt())}var P1=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3;return Math.round(e*Math.pow(10,t))/Math.pow(10,t)},j1={Blue:{bezier:[.28,.22,.86,.98],toneRange:[12,96]},Cyan:{bezier:[.63,.58,.79,.92],toneRange:[13,96]},Green:{bezier:[.85,.82,.84,1],toneRange:[12,96],piecewise:[{x:0,y:0},{x:5,y:0},{x:6,y:-5},{x:7,y:-7},{x:8,y:-18},{x:9,y:-30},{x:10,y:-40}],piecewiseBase:55},Lemon:{bezier:[.62,.51,.39,.82],toneRange:[12,98],piecewise:[{x:0,y:0},{x:7,y:0},{x:8,y:-10},{x:9,y:-25},{x:10,y:-50}],piecewiseBase:73},Yellow:{bezier:[.3,.25,.5,.8],toneRange:[12,97]},Orange:{bezier:[.31,.2,.7,.83],toneRange:[13,96],piecewise:[{x:0,y:0},{x:6,y:0},{x:7,y:-11},{x:8,y:-2},{x:9,y:0},{x:10,y:0}],piecewiseBase:59},Red:{bezier:[.31,.26,.7,.83],toneRange:[12,96],piecewise:[{x:0,y:-12},{x:2,y:-12},{x:3,y:-11},{x:4,y:-7},{x:5,y:-2},{x:6,y:-6},{x:7,y:0},{x:10,y:0}],piecewiseBase:72},Pink:{bezier:[.55,.45,.86,.99],toneRange:[12,96],piecewise:[{x:0,y:0},{x:1,y:0},{x:2,y:-12},{x:3,y:-11},{x:4,y:-7},{x:5,y:-2},{x:6,y:0},{x:10,y:0}],piecewiseBase:75},Purple:{bezier:[.25,.13,.71,.88],toneRange:[10,96]},Lime:{bezier:[.75,.68,.84,.99],toneRange:[12,97],piecewise:[{x:0,y:0},{x:5,y:0},{x:6,y:-5},{x:7,y:-7},{x:8,y:-18},{x:9,y:-30},{x:10,y:-40}],piecewiseBase:55},Mint:{bezier:[.46,.4,.84,.96],toneRange:[13,97],piecewise:[{x:0,y:0},{x:5,y:0},{x:6,y:-5},{x:7,y:-7},{x:8,y:-18},{x:9,y:-30},{x:10,y:-40}],piecewiseBase:55}},D1={"#2ba471":"#00a870","#d54941":"#d94941","#43c0c6":"#00c8cF","#8eba36":"#81b305","#00c3c3":"#1fffff"};function I1(e){var t,n,r;if("string"==typeof e){t=e;for(var o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];n=i[0],r=!1}else t=e.color,n=e.step,r=!!e.remainInput;return function(e){var t,n,r=e.color,o=e.step,i=e.remainInput,a=T1(r),l=D1[r]||r,s=T1(l),c=j1[function(e){var t=e%360;switch(!0){case t>=10&&t<30:return"Red";case t>=30&&t<60:return"Orange";case t>=60&&t<102:return"Yellow";case t>=102&&t<115:return"Lemon";case t>=115&&t<130:return"Lime";case t>=130&&t<180:return"Green";case t>=180&&t<210:return"Mint";case t>=210&&t<240:return"Cyan";case t>=240&&t<285:return"Blue";case t>=285&&t<325:return"Purple";default:return"Pink"}}(s.hue)],u=function(e){var t=d0(e.range,2),n=t[0],r=t[1],o=d0(e.bezierMeta,4),i=o[0],a=o[1],l=o[2],s=o[3],c=e.count,u=[];try{for(var f=o1(i,a,l,s),p=Math.abs(r-n),d=1/(c-1),h=0;h<c;h++){var v=f(h*d)*p;if(n+v>r)break;u.unshift(P1(n+v))}}catch(m){}return u}({range:c.toneRange,bezierMeta:c.bezier,count:o});if(!u.length)for(var f=d0(c.toneRange,2),p=f[0],d=f[1],h=(d-p)/(o-1),v=p;v<=d;v+=h)u.push(v);var m=(y=s,b=T1("#fff"),y.hue===b.hue&&y.chroma===b.chroma&&y.tone===b.tone?p0(t=Array(o)).call(t,0):function(e,t,n,r){var o;if(!e)return p0(o=new Array(r)).call(o,n);for(var i=[],a=function(e,t,n){var r=[];if(!e||e.length<2)return function(e){return t};for(var o=1;o<e.length;o++){var i=e[o-1],a=i.x,l=i.y,s=e[o],c=s.x,u=(s.y-l)/(c-a);r.push({k:u,range:[a,c],base:l,formula:function(e,n){var r=this.base+(e-this.range[0])*this.k,o=n/t;return Math.min(100,Math.max(0,n+r*o))}})}return function(e,t){var o,i=10*Math.min(e,n)/n;return(null===(o=e1(r).call(r,(function(e){return e.range[0]<=i&&e.range[1]>=i})))||void 0===o?void 0:o.formula(i,t))||t}}(e,t||e[0].y||n,r),l=1;l<=r;l++)i.unshift(P1(a(l,n)));return i}(c.piecewise,c.piecewiseBase,s.chroma,o)),g=function(e){var t=e.hctColor,n=e.originColor,r=e.originHctColor,o=e.chromas,i=e.tones,a=e.remainInput,l=vX(i).call(i,(function(e,n){var r=null==o?void 0:o[n];return{hue:t.hue,chroma:"number"==typeof r?r:t.chroma,tone:e}})),s=-1,c=1/0,u=GX(n).lab();return l.forEach((function(e,t){var n=M1(e),r=w1.distance(GX(n).lab(),u);r<c&&(s=t,c=r)})),a&&IY(l).call(l,s,1,r),{colors:l,primary:s}}({originColor:r,originHctColor:a,color:l,hctColor:s,chromas:m,tones:u,remainInput:s.tone>c.toneRange[1]||s.tone<c.toneRange[0]||i});var y,b;return{colors:vX(n=g.colors).call(n,(function(e){return M1(e)})),primary:g.primary}}({color:t.toLowerCase(),step:n,remainInput:r})}function N1(e){var t=[96,94,92,88,80,68,58,50,40,32,24,18,14,8],n=T1(e);return"#0052d9"===e.toLowerCase()&&(t[8]=n.tone),vX(t).call(t,(function(e){return M1({hue:n.hue,chroma:n.chroma,tone:e})}))}var L1,F1,R1,B1=function(){function e(){DK(this,e)}return tX(e,null,[{key:"getRandomPalette",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.color,n=void 0===t?"#0052d9":t,r=e.colorGamut,o=e.number,i=void 0===o?8:o,a=e.sortMethod,l=void 0===a?"DEThreshold":a,s=function(e,t){var n;return"string"==typeof t.colorSpace&&E1[t.colorSpace]?function(e,t,n){var r=[];if(!Array.isArray(n))return r;var o=function(e){return KY(n).call(n,(function(t){return t[0]<=e&&e<t[1]}))[0]},i=function(e){for(t.colorSpace=e;;){var n=A1(5,t)[3];if(!HX(r).call(r,n)){r.push(n);break}}};if(n.length===e)n.forEach((function(e){return i(e)}));else for(var a=360/e,l=1;l<=e;l++){var s=l*a-Math.random()*a;i(o(s))}return r}(e-1,t,E1[t.colorSpace]):IY(n=A1(e,t)).call(n,1,e)}(i,{color:w1.generateLockedColor(n),quality:100,colorSpace:r||"bright"});return("DEThreshold"===l?w1.sortColorsByDEThreshold:w1.sortColorsByComplementary)(s,n)}},{key:"getPaletteByGradation",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{colors:[]},t=e.colors,n=e.step,r=void 0===n?10:n,o=e.method,i=void 0===o?"darken":o;return vX(t).call(t,(function(e){return k1(e,r,i)}))}},{key:"getColorGradations",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{colors:[]},t=e.colors,n=e.step,r=void 0===n?10:n,o=e.remainInput,i=void 0!==o&&o;return vX(t).call(t,(function(e){return I1({color:e,step:r,remainInput:i})}))}},{key:"getNeutralColorGradation",value:function(e){return N1(e)}},{key:"getNeutralColor",value:function(e){return t=N1(e),n=N1("#000000"),vX(t).call(t,(function(e,t){var r=T1(e);return r.hue>=102&&r.hue<210?GX.average([e,n[t]],"rgb",[.08,.92]).hex():GX.average([e,n[t]],"rgb",[.12,.88]).hex()}));var t,n}}]),e}(),z1=function(){function e(){DK(this,e)}return tX(e,null,[{key:"color2arr",value:function(e){var t;return(null===(t=e.match(/(\d|\.)+%?/g))||void 0===t?void 0:vX(t).call(t,(function(e){return HX(e).call(e,"%")?parseFloat(e)/100:Number(e)})))||[0,0,0]}},{key:"similar",value:function(e,t){return w1.distance(GX(e).lab(),GX(t).lab())}},{key:"contrast",value:function(e,t){return w1.contrast(GX(e).rgb(),GX(t).rgb())}},{key:"scale",value:function(e,t,n){return GX.scale([e,t]).colors(n)}},{key:"sortColorsByComplementary",value:function(e,t){return w1.sortColorsByComplementary(e,t)}},{key:"sortColorsByDEThreshold",value:function(e,t){return w1.sortColorsByDEThreshold(e,t)}},{key:"getRandomPalette",value:function(e){return B1.getRandomPalette(e)}},{key:"getPaletteByGradation",value:function(e){return B1.getPaletteByGradation(e)}},{key:"getRandomPaletteByGradation",value:function(e){return B1.getPaletteByGradation(e)}},{key:"getColorGradations",value:function(e){return B1.getColorGradations(e)}},{key:"getNeutralColorGradation",value:function(e){return B1.getNeutralColorGradation(e)}},{key:"getNeutralColor",value:function(e){return B1.getNeutralColor(e)}}]),e}();R1=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"hex",r=arguments.length>2?arguments[2]:void 0;if("name"===n)t=GX(e)[r]();else if("hex"!==n&&"string"==typeof e){var o=z1.color2arr(e);t=GX(o,n)[r]()}else t="hex"!==n&&Array.isArray(e)?GX(jK(e),n)[r]():GX(e)[r]();return Array.isArray(t)?vX(t).call(t,(function(e){return parseFloat(e.toFixed(3))})):t},(F1="colorTransform")in(L1=z1)?ZK(L1,F1,{value:R1,enumerable:!0,configurable:!0,writable:!0}):L1[F1]=R1;const V1={textColor:"rgba(0, 0, 0, 0.9)",placeholderColor:"rgba(0, 0, 0, 0.35)",borderColor:"#dcdcdc",containerColor:"#fff"},U1={textColor:"rgba(255, 255, 255, 0.9)",placeholderColor:"rgba(255, 255, 255, 0.35)",borderColor:"#5e5e5e",containerColor:"#242424"},H1=["#0052D9","#0594FA","#00A870","#EBB105","#ED7B2F","#E34D59","#ED49B4","#834EC2"],W1={showFooter:!1,isSidebarCompact:!1,showBreadcrumb:!1,mode:"light",showHeader:!1,showNav:!1,brandTheme:"#0594FA"};var q1,$1,G1,K1,X1,Y1,J1,Q1,Z1,e2,t2,n2,r2,o2,i2,a2,l2,s2,c2,u2,f2,p2,d2,h2,v2,m2,g2,y2,b2,_2,w2,x2,O2,E2,S2,C2,A2,k2;function T2(){if(K1)return G1;K1=1;var e=HI(),t=HN();return G1=function(n){return"symbol"==typeof n||t(n)&&"[object Symbol]"==e(n)},G1}function M2(){if(Y1)return X1;Y1=1;var e=UI(),t=$1?q1:($1=1,q1=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}),n=qN(),r=T2(),o=e?e.prototype:void 0,i=o?o.toString:void 0;return X1=function e(o){if("string"==typeof o)return o;if(n(o))return t(o,e)+"";if(r(o))return i?i.call(o):"";var a=o+"";return"0"==a&&1/o==-1/0?"-0":a},X1}function P2(){if(e2)return Z1;e2=1;var e=function(){if(Q1)return J1;Q1=1;var e=/\s/;return J1=function(t){for(var n=t.length;n--&&e.test(t.charAt(n)););return n}}(),t=/^\s+/;return Z1=function(n){return n?n.slice(0,e(n)+1).replace(t,""):n}}function j2(){if(o2)return r2;o2=1;var e=n2?t2:(n2=1,t2=function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i});return r2=function(t,n,r){var o=t.length;return r=void 0===r?o:r,!n&&r>=o?t:e(t,n,r)}}function D2(){if(p2)return f2;p2=1;var e=a2?i2:(a2=1,i2=function(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}),t=(s2||(s2=1,l2=function(e){return e!=e}),l2),n=(u2||(u2=1,c2=function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}),c2);return f2=function(r,o,i){return o==o?n(r,o,i):e(r,t,i)},f2}function I2(){if(E2)return O2;E2=1;var e=y2?g2:(y2=1,g2=function(e){return e.split("")}),t=function(){if(_2)return b2;_2=1;var e=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");return b2=function(t){return e.test(t)}}(),n=function(){if(x2)return w2;x2=1;var e="\\ud800-\\udfff",t="["+e+"]",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",r="\\ud83c[\\udffb-\\udfff]",o="[^"+e+"]",i="(?:\\ud83c[\\udde6-\\uddff]){2}",a="[\\ud800-\\udbff][\\udc00-\\udfff]",l="(?:"+n+"|"+r+")?",s="[\\ufe0e\\ufe0f]?",c=s+l+"(?:\\u200d(?:"+[o,i,a].join("|")+")"+s+l+")*",u="(?:"+[o+n+"?",n,i,a,t].join("|")+")",f=RegExp(r+"(?="+r+")|"+u+c,"g");return w2=function(e){return e.match(f)||[]}}();return O2=function(r){return t(r)?n(r):e(r)}}!function(){if(k2)return A2;k2=1;var e=M2(),t=P2(),n=j2(),r=function(){if(h2)return d2;h2=1;var e=D2();return d2=function(t,n){for(var r=t.length;r--&&e(n,t[r],0)>-1;);return r}}(),o=function(){if(m2)return v2;m2=1;var e=D2();return v2=function(t,n){for(var r=-1,o=t.length;++r<o&&e(n,t[r],0)>-1;);return r}}(),i=I2(),a=function(){if(C2)return S2;C2=1;var e=M2();return S2=function(t){return null==t?"":e(t)},S2}();A2=function(l,s,c){if((l=a(l))&&(c||void 0===s))return t(l);if(!l||!(s=e(s)))return l;var u=i(l),f=i(s),p=o(u,f),d=r(u,f)+1;return n(u,p,d).join("")}}();const N2={...W1,colorList:{},chartColors:V1,isCompact:!1, +//和sidebar的compact不一样的是.sidebar的compact是可以通过点击按钮改变..而这个只能通过窗口大小改变 +drivers:{currentDriver:"cloudflareKVHTTP",cloudflareKVHTTP:{apiURL:"https://api.cloudflare.com",accountId:"",namespaceId:"",apiToken:""}},version:""},L2=$F("setting",{state:()=>N2,getters:{displayMode:e=>{if("auto"===e.mode){return window.matchMedia("(prefers-color-scheme:dark)").matches?"dark":"light"}return e.mode},showLayoutHeader:e=>e.showHeader||e.isCompact},actions:{async changeMode(e){let t=e;"auto"===e&&(t=this.getMediaColor());const n="dark"===t;document.documentElement.setAttribute("theme-mode",n?"dark":""),this.chartColors=n?U1:V1},getMediaColor:()=>window.matchMedia("(prefers-color-scheme:dark)").matches?"dark":"light",changeBrandTheme(e){const t=this.displayMode,n=`${e}[${t}]`;let r=this.colorList[n];if(void 0===r){const[{colors:o,primary:i}]=z1.getColorGradations({colors:[e],step:10,remainInput:!1});r=function(e,t,n,r){return"dark"===n&&(t.reverse().map((e=>{const[t,n,r]=z1.colorTransform(e,"hex","hsl");return z1.colorTransform([t,Number(n)-4,r],"hsl","hex")})),r=5,t[0]=`${t[r]}20`),{"--td-brand-color":t[r], +// 主题色 +"--td-brand-color-1":t[0], +// light +"--td-brand-color-2":t[1], +// focus +"--td-brand-color-3":t[2], +// disabled +"--td-brand-color-4":t[3],"--td-brand-color-5":t[4],"--td-brand-color-6":t[5],"--td-brand-color-7":r>0?t[r-1]:e, +// hover +"--td-brand-color-8":t[r], +// 主题色 +"--td-brand-color-9":r>8?e:t[r+1], +// click +"--td-brand-color-10":t[9]}}(e,o,t,i),this.colorList[n]=r}!function(e,t,n){const r="dark"===n?`:root[theme-color='${e}'][theme-mode='dark']`:`:root[theme-color='${e}']`,o=document.createElement("style");o.type="text/css",o.innerText=`${r}{\n --td-brand-color: ${t["--td-brand-color"]};\n --td-brand-color-1: ${t["--td-brand-color-1"]};\n --td-brand-color-2: ${t["--td-brand-color-2"]};\n --td-brand-color-3: ${t["--td-brand-color-3"]};\n --td-brand-color-4: ${t["--td-brand-color-4"]};\n --td-brand-color-5: ${t["--td-brand-color-5"]};\n --td-brand-color-6: ${t["--td-brand-color-6"]};\n --td-brand-color-7: ${t["--td-brand-color-7"]};\n --td-brand-color-8: ${t["--td-brand-color-8"]};\n --td-brand-color-9: ${t["--td-brand-color-9"]};\n --td-brand-color-10: ${t["--td-brand-color-10"]};\n }`,document.head.appendChild(o)}(e,r,t),document.documentElement.setAttribute("theme-color",e)},updateConfig(e){for(const t in e)void 0!==e[t]&&(this[t]=e[t]),"mode"===t&&this.changeMode(e[t]),"brandTheme"===t&&this.changeBrandTheme(e[t])},updateDriverSettings(e,t){this.drivers[e]=t,this.drivers.currentDriver=e}},persist:{afterHydrate:e=>{e.store.updateConfig({mode:e.store.displayMode,brandTheme:e.store.brandTheme})}}}),F2={name:"SeedChat", +// 用户名,用于展示在页面右上角头像处 +proKey:"",remoteHost:"",openAtLogin:!1,shortcut:"CTRL+TAB",assistModel:"",minimizeToBottomRight:!0,toolBarButtons:[{name:"翻译",icon:null,prompt:"根据输入的语言进行中英文翻译,直接给出翻译答案,不需要任何解释:{{text}}",show:!0},{name:"解释",icon:null,prompt:"用简洁的语言解释以下的文本: {{text}}",show:!0}],avatar:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20440%20440%22%20fill%3D%22none%22%20shape-rendering%3D%22auto%22%3E%3Cmetadata%20xmlns%3Ardf%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%22%20xmlns%3Axsi%3D%22http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema-instance%22%20xmlns%3Adc%3D%22http%3A%2F%2Fpurl.org%2Fdc%2Felements%2F1.1%2F%22%20xmlns%3Adcterms%3D%22http%3A%2F%2Fpurl.org%2Fdc%2Fterms%2F%22%3E%3Crdf%3ARDF%3E%3Crdf%3ADescription%3E%3Cdc%3Atitle%3EFace%20Generator%3C%2Fdc%3Atitle%3E%3Cdc%3Acreator%3EThe%20Visual%20Team%3C%2Fdc%3Acreator%3E%3Cdc%3Asource%20xsi%3Atype%3D%22dcterms%3AURI%22%3Ehttps%3A%2F%2Fwww.figma.com%2Fcommunity%2Ffile%2F986078800058673824%3C%2Fdc%3Asource%3E%3Cdcterms%3Alicense%20xsi%3Atype%3D%22dcterms%3AURI%22%3Ehttps%3A%2F%2Fcreativecommons.org%2Flicenses%2Fby%2F4.0%2F%3C%2Fdcterms%3Alicense%3E%3Cdc%3Arights%3ERemix%20of%20%E2%80%9EFace%20Generator%E2%80%9D%20(https%3A%2F%2Fwww.figma.com%2Fcommunity%2Ffile%2F986078800058673824)%20by%20%E2%80%9EThe%20Visual%20Team%E2%80%9D%2C%20licensed%20under%20%E2%80%9ECC%20BY%204.0%E2%80%9D%20(https%3A%2F%2Fcreativecommons.org%2Flicenses%2Fby%2F4.0%2F)%3C%2Fdc%3Arights%3E%3C%2Frdf%3ADescription%3E%3C%2Frdf%3ARDF%3E%3C%2Fmetadata%3E%3Cmask%20id%3D%22viewboxMask%22%3E%3Crect%20width%3D%22440%22%20height%3D%22440%22%20rx%3D%220%22%20ry%3D%220%22%20x%3D%220%22%20y%3D%220%22%20fill%3D%22%23fff%22%20%2F%3E%3C%2Fmask%3E%3Cg%20mask%3D%22url(%23viewboxMask)%22%3E%3Cg%20transform%3D%22matrix(.71048%200%200%20.71048%2024%202)%22%3E%3Cpath%20d%3D%22m275.5%2051%2040.3%2049%2057.5-26.7%2015%2061.6%2063.5%201-13.2%2062%2056.7%2028.4-38.7%2050.2%2038.7%2050.2-56.7%2028.4%2013.2%2062-63.4%201-15%2061.6-57.6-26.7-40.3%2049-40.3-49-57.5%2026.7-15-61.6-63.5-1%2013.2-62-56.7-28.4%2038.7-50.2-38.7-50.2%2056.7-28.4-13.2-62%2063.4-1%2015-61.6%2057.6%2026.7%2040.3-49Z%22%20fill%3D%22%232c1b18%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(81.7%20150.7)%20scale(.71856)%22%3E%3Cpath%20d%3D%22M325%20213v-1.6C325%20139.8%20264.6%2055%20190%2055S55%20139.8%2055%20211.4a128.6%20128.6%200%200%200%200%203.2c0%2071.5%2060.4%20129.5%20135%20129.5s135-58%20135-129.5V213Z%22%20fill%3D%22%23c07f50%22%2F%3E%3Cpath%20d%3D%22M324.6%20204.8c-5.1%2067-63.4%20119.8-134.6%20119.8-71.2%200-129.5-52.8-134.6-119.8-.3%203.3-.4%206.6-.4%209.8%200%2071.5%2060.4%20129.5%20135%20129.5s135-58%20135-129.5c0-3.2-.1-6.5-.4-9.8Z%22%20fill%3D%22%23000%22%20fill-opacity%3D%22.2%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(199.5%20333.4)%20scale(.71856)%22%3E%3Cpath%20d%3D%22M59.7%2022.8a57%2057%200%200%201-31%208.8c-17%200-33-7.3-31-8.8%200-17.1%203.2%200%2030%200%2029%200%2032-17.1%2032%200Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(280.7%20235.4)%20scale(.71856)%22%3E%3Cpath%20d%3D%22M24%2043.3C24%2031.5%2033.5%2022%2045.3%2022h37.2c11.8%200%2021.4%209.5%2021.4%2021.3v37.3c0%2011.8-9.6%2021.4-21.4%2021.4H45.3A21.3%2021.3%200%200%201%2024%2080.6V43.3Z%22%20fill%3D%22%23c07f50%22%2F%3E%3Cpath%20d%3D%22M32.9%2062A31%2031%200%201%201%2095%2062a31%2031%200%201%201-62.1%200Z%22%20fill%3D%22%23000%22%20fill-opacity%3D%22.2%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22matrix(-.71856%200%200%20.71856%20161.5%20235.4)%22%3E%3Cpath%20d%3D%22M24%2043.3C24%2031.5%2033.5%2022%2045.3%2022h37.2c11.8%200%2021.4%209.5%2021.4%2021.3v37.3c0%2011.8-9.6%2021.4-21.4%2021.4H45.3A21.3%2021.3%200%200%201%2024%2080.6V43.3Z%22%20fill%3D%22%23c07f50%22%2F%3E%3Cpath%20d%3D%22M32.9%2062A31%2031%200%201%201%2095%2062a31%2031%200%201%201-62.1%200Z%22%20fill%3D%22%23000%22%20fill-opacity%3D%22.2%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(114.8%20215.5)%20scale(.71856)%22%3E%3Cpath%20d%3D%22M76%2052.4c3.6-2.8%209-8.4%2019.8-8.4a25%2025%200%200%201%2018%208.4M180%2052.4c3.6-2.8%209-8.4%2019.8-8.4a25%2025%200%200%201%2018%208.4%22%20stroke%3D%22%23000%22%20stroke-width%3D%223.7%22%20stroke-linecap%3D%22round%22%2F%3E%3Crect%20x%3D%2271%22%20y%3D%2261.5%22%20width%3D%2249.6%22%20height%3D%2260.6%22%20rx%3D%2214.4%22%20fill%3D%22%23fff%22%2F%3E%3Crect%20x%3D%22173%22%20y%3D%2261.5%22%20width%3D%2249.6%22%20height%3D%2260.6%22%20rx%3D%2214.4%22%20fill%3D%22%23fff%22%2F%3E%3Crect%20x%3D%2282%22%20y%3D%2269.7%22%20width%3D%2230.3%22%20height%3D%2246.9%22%20rx%3D%229.6%22%20fill%3D%22%23000%22%2F%3E%3Crect%20x%3D%22181.3%22%20y%3D%2269.7%22%20width%3D%2230.3%22%20height%3D%2246.9%22%20rx%3D%229.6%22%20fill%3D%22%23000%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(127.7%20288.7)%20scale(.71856)%22%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(193%20279.4)%20scale(.71856)%22%3E%3Cpath%20d%3D%22M37%2014v27c-3.7.7-11%204-11%2010.5%200%208.2%207.3%2010.5%2011%2011.7%22%20stroke%3D%22%23000%22%20stroke-opacity%3D%22.5%22%20stroke-width%3D%224%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22matrix(.52237%200%200%20.52237%20122.9%20244.8)%22%3E%3Cpath%20d%3D%22M11%20103V7.5h40L11%20103Z%22%20fill%3D%22%232c1b18%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22matrix(-.52237%200%200%20.52237%20315.7%20244.8)%22%3E%3Cpath%20d%3D%22M11%20103V7.5h40L11%20103Z%22%20fill%3D%22%232c1b18%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22matrix(.52237%200%200%20.52237%20108.7%20145.6)%22%3E%3Cg%20fill%3D%22%232c1b18%22%3E%3Cpath%20d%3D%22m292.5%20119.2-39-41.2h-95l-36%2049.3L164%20115l-5.5%2073.7L192%20165l16.5%2036.9%2022.5-36.9%2033%2021.6-10.5-67.5h39Z%22%2F%3E%3Cpath%20d%3D%22M374%20130c6.5%2015.9%2011.5%2034.5%2011.5%2070-11%200-38.5%2011-92.5-18-54.8-29.5-68.9-59.5-82-79-13%2027-37%2051.3-72.5%2073.5-35.5%2022.2-83.8%2022.5-100%2025%200-23.1%201.5-47.5%2010.4-68.9A176%20176%200%200%201%20211%2024a175%20175%200%200%201%20124%2051.5c16.4%2016.4%2030.2%2033.1%2039%2054.5Z%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E"},R2=$F("user",{state:()=>F2,getters:{isPro:e=>!0},actions:{},persist:{key:"user"}}),B2=$F("agent",{state:()=>({agents:[],defaultAgent:{id:"1",name:"小助手",content:"你是一个有用的人工智能助手。你可以通过回答我的问题来帮助我。",status:!0,avatar:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20180%20180%22%20fill%3D%22none%22%20shape-rendering%3D%22auto%22%3E%3Cmetadata%20xmlns%3Ardf%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%22%20xmlns%3Axsi%3D%22http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema-instance%22%20xmlns%3Adc%3D%22http%3A%2F%2Fpurl.org%2Fdc%2Felements%2F1.1%2F%22%20xmlns%3Adcterms%3D%22http%3A%2F%2Fpurl.org%2Fdc%2Fterms%2F%22%3E%3Crdf%3ARDF%3E%3Crdf%3ADescription%3E%3Cdc%3Atitle%3EBottts%3C%2Fdc%3Atitle%3E%3Cdc%3Acreator%3EPablo%20Stanley%3C%2Fdc%3Acreator%3E%3Cdc%3Asource%20xsi%3Atype%3D%22dcterms%3AURI%22%3Ehttps%3A%2F%2Fbottts.com%2F%3C%2Fdc%3Asource%3E%3Cdcterms%3Alicense%20xsi%3Atype%3D%22dcterms%3AURI%22%3Ehttps%3A%2F%2Fbottts.com%2F%3C%2Fdcterms%3Alicense%3E%3Cdc%3Arights%3ERemix%20of%20%E2%80%9EBottts%E2%80%9D%20(https%3A%2F%2Fbottts.com%2F)%20by%20%E2%80%9EPablo%20Stanley%E2%80%9D%2C%20licensed%20under%20%E2%80%9EFree%20for%20personal%20and%20commercial%20use%E2%80%9D%20(https%3A%2F%2Fbottts.com%2F)%3C%2Fdc%3Arights%3E%3C%2Frdf%3ADescription%3E%3C%2Frdf%3ARDF%3E%3C%2Fmetadata%3E%3Cmask%20id%3D%22viewboxMask%22%3E%3Crect%20width%3D%22180%22%20height%3D%22180%22%20rx%3D%220%22%20ry%3D%220%22%20x%3D%220%22%20y%3D%220%22%20fill%3D%22%23fff%22%20%2F%3E%3C%2Fmask%3E%3Cg%20mask%3D%22url(%23viewboxMask)%22%3E%3Cg%20transform%3D%22translate(0%2066)%22%3E%3Cmask%20id%3D%22sidesAntenna01-a%22%20style%3D%22mask-type%3Aluminance%22%20maskUnits%3D%22userSpaceOnUse%22%20x%3D%226%22%20y%3D%2211%22%20width%3D%22156%22%20height%3D%2251%22%3E%3Cg%20fill%3D%22%23fff%22%3E%3Crect%20x%3D%226%22%20y%3D%2231%22%20width%3D%2236%22%20height%3D%2214%22%20rx%3D%224%22%2F%3E%3Crect%20x%3D%2218%22%20y%3D%2214%22%20width%3D%2236%22%20height%3D%2248%22%20rx%3D%224%22%2F%3E%3Crect%20x%3D%22126%22%20y%3D%2228%22%20width%3D%2236%22%20height%3D%2224%22%20rx%3D%224%22%2F%3E%3Cpath%20d%3D%22M11%2011h2v20h-2z%22%2F%3E%3C%2Fg%3E%3C%2Fmask%3E%3Cg%20mask%3D%22url(%23sidesAntenna01-a)%22%3E%3Cpath%20d%3D%22M0%200h180v76H0V0Z%22%20fill%3D%22%2300acc1%22%2F%3E%3Cpath%20fill%3D%22%23fff%22%20fill-opacity%3D%22.3%22%20d%3D%22M0%200h180v76H0z%22%2F%3E%3Cpath%20fill%3D%22%23000%22%20fill-opacity%3D%22.1%22%20d%3D%22M0%2038h180v38H0z%22%2F%3E%3C%2Fg%3E%3Cpath%20fill%3D%22%23fff%22%20fill-opacity%3D%22.4%22%20d%3D%22M11%2011h2v20h-2z%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%228%22%20r%3D%224%22%20fill%3D%22%23FFEA8F%22%2F%3E%3Ccircle%20cx%3D%2213%22%20cy%3D%227%22%20r%3D%222%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(41)%22%3E%3Cmask%20id%3D%22topPyramid-a%22%20style%3D%22mask-type%3Aluminance%22%20maskUnits%3D%22userSpaceOnUse%22%20x%3D%2218%22%20y%3D%228%22%20width%3D%2264%22%20height%3D%2244%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22m50%208%2032%2044H18L50%208Z%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fmask%3E%3Cg%20mask%3D%22url(%23topPyramid-a)%22%3E%3Cpath%20d%3D%22M0%200h100v52H0V0Z%22%20fill%3D%22%2300acc1%22%2F%3E%3Cpath%20d%3D%22M0%200h100v52H0V0Z%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.3%22%2F%3E%3Cpath%20fill%3D%22%23fff%22%20fill-opacity%3D%22.8%22%20d%3D%22M50%204h30v48H50z%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(25%2044)%22%3E%3Cmask%20id%3D%22faceRound01-a%22%20style%3D%22mask-type%3Aluminance%22%20maskUnits%3D%22userSpaceOnUse%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22130%22%20height%3D%22120%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M66%200c58.35%200%2064%2040.69%2064%2078%200%2033.31-25.47%2042-64%2042-37.46%200-66-8.69-66-42C0%2040.69%207.65%200%2066%200Z%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fmask%3E%3Cg%20mask%3D%22url(%23faceRound01-a)%22%3E%3Cpath%20d%3D%22M-4-2h138v124H-4V-2Z%22%20fill%3D%22%2300acc1%22%2F%3E%3Cg%20transform%3D%22translate(-1%20-1)%22%3E%3Cg%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20fill%3D%22%23000%22%3E%3Cpath%20d%3D%22M-9.12%20122.1c4.36-30.7%2013.06-4.57%2033.99-9.98%209.24-2.39%201.77-12.82%208.67-17.35%205.82-3.82%2013.76-.74%2020.43-3.21%209.63-3.57%209.5-10.82%2018.48-11.9%208.48-1.03%2017.37%202.34%2025.93%201.08%2016.15-2.4%209.53-34.03%2021.64-39.61%2012.1-5.6%2032.05%204.06%2034.66%2019.87%202.54%2015.42-14.46%2072.78-14.46%2072.78H-9.12%22%20fill-opacity%3D%22.2%22%2F%3E%3Cpath%20d%3D%22M35.93%20122c37.67%200%2041.6-14.75%2060.14-21.5%2018.53-6.76%2034.78%2010.71%2041-6.27%206.24-16.98%206.2%2035.95%206.2%2035.95H35.94V122Z%22%20fill-opacity%3D%22.1%22%2F%3E%3Cpath%20d%3D%22M-2%204.87C9.73%203.75%205.96%2016.8%2010.6%2016.8c1.85%200%204.03-8.46%207.38-8.46%202.46%200%202%205.5%207.32%204.91%205-.54%204.08-4%206.6-4%205.45%200%203.39%2020.2%207.74%2020.2%204.36%200%205.73-14.8%207.65-20.64%202.43-7.4%2016.97-11.56%206.6-14.5H-2.29%22%20fill-opacity%3D%22.4%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(52%20124)%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M18%2010.22C18%2021.78%2024.47%2028%2038%2028c13.52%200%2020-6.34%2020-17.78C58%209.5%2057.17%208%2055%208H21c-2.05%200-3%201.38-3%202.22Z%22%20fill%3D%22%23000%22%20fill-opacity%3D%22.8%22%2F%3E%3Cmask%20id%3D%22mouthSmile02-a%22%20style%3D%22mask-type%3Aluminance%22%20maskUnits%3D%22userSpaceOnUse%22%20x%3D%2218%22%20y%3D%228%22%20width%3D%2240%22%20height%3D%2220%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M18%2010.22C18%2021.78%2024.47%2028%2038%2028c13.52%200%2020-6.34%2020-17.78C58%209.5%2057.17%208%2055%208H21c-2.05%200-3%201.38-3%202.22Z%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fmask%3E%3Cg%20mask%3D%22url(%23mouthSmile02-a)%22%3E%3Crect%20x%3D%2230%22%20y%3D%222%22%20width%3D%2216%22%20height%3D%2214%22%20rx%3D%222%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(38%2076)%22%3E%3Cg%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%3E%3Cpath%20d%3D%22M53%200c34.75%200%2049%2017.47%2049%2031%200%2013.53-19.59%2017-49%2017-29.05%200-51-3.47-51-17S17.11%200%2053%200Z%22%20fill%3D%22%23000%22%20fill-opacity%3D%22.8%22%2F%3E%3Cpath%20d%3D%22M28.82%2034.65c-6.53-1.35-11.24-6.34-10.52-11.14.72-4.79%206.6-7.58%2013.12-6.23%206.53%201.36%2011.24%206.35%2010.52%2011.15-.72%204.8-6.6%207.59-13.12%206.23ZM75.42%2034.65c-6.52%201.36-12.4-1.43-13.12-6.23-.72-4.8%204-9.8%2010.52-11.15%206.52-1.35%2012.4%201.44%2013.12%206.24.72%204.81-4%209.8-10.52%2011.15Z%22%20fill%3D%22%2325A6F5%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E",onboarding:"你好,我是小助手",isDefault:!0}}),getters:{},actions:{add(e){e.id!==this.defaultAgent.id&&this.agents.push(e)},remove(e){this.defaultAgent.id!==e&&(this.agents=this.agents.filter((t=>t.id!==e)))},update(e){if(this.defaultAgent.id===e.id)return void(this.defaultAgent=e);const t=this.agents.findIndex((t=>t.id===e.id));-1!==t&&(this.agents[t]=e)},find(e){return this.defaultAgent.id===e?this.defaultAgent:this.agents.find((t=>t.id===e))}}});const z2=function(){let e=!1,t=0;return{getItem:e=>window.ipcRenderer.sendSync("GetConfig","conversation.json",e)||null,setItem:(t,n)=>{e||window.ipcRenderer.send("SaveConfig","conversation.json",t,n)},setPause:n=>{n?(t++,e=!0):(t=Math.max(0,t-1),e=t>0)}}}(),V2=$F("conversation",{state:()=>({list:[],showEditorDrawer:!1}),getters:{data(){return this.list}},actions:{add(e){this.list.push(e)},remove(e){this.list=this.list.filter((t=>t.id!==e))},update(e){const t=this.list.findIndex((t=>t.id===e.id));-1!==t&&(this.list[t]=e)},find(e){return this.list.find((t=>t.id===e))}},persist:{ +// 在这里进行自定义配置 +storage:window.ipcRenderer?z2:localStorage,debug:!0}}),U2=zt({data:null,setData(e){this.data=e}}),H2=$F("model",{state:()=>({models:[]}),getters:{ +// 计算属性,获取已完成和未完成的Todo数量 +enableModels:e=>e.models.filter((e=>!0===e.status))},actions:{add(e){this.models.push(e)},remove(e){this.models=this.models.filter((t=>t.id!==e))},update(e){const t=this.models.findIndex((t=>t.id===e.id));-1!==t&&(this.models[t]=e)},find(e){return this.models.find((t=>t.id===e))}}});const W2={getItem:e=>window.ipcRenderer.sendSync("GetConfig","note.json",e)||null,setItem:(e,t)=>{window.ipcRenderer.send("SaveConfig","note.json",e,t)}},q2=$F("note",{state:()=>({list:[]}),getters:{data(){return this.list}},actions:{add(e){this.list.push(e)},remove(e){this.list=this.list.filter((t=>t.id!==e))},update(e){const t=this.list.findIndex((t=>t.id===e.id));-1!==t&&(this.list[t]=e)},find(e){return this.list.find((t=>t.id===e))}},persist:{ +// 在这里进行自定义配置 +storage:window.ipcRenderer?W2:localStorage}});const $2=function(){const e=Me(!0),t=e.run((()=>en({})));let n=[],r=[];const o=Yt({install(e){PF(o),o._a=e,e.provide(jF,o),e.config.globalProperties.$pinia=o,r.forEach((e=>n.push(e))),r=[]},use(e){return this._a?n.push(e):r.push(e),this},_p:n, +// it's actually undefined here +// @ts-expect-error +_a:null,_e:e,_s:new Map,state:t});return o}();$2.use(function(e={}){return function(t){!function(e,t,n){const{pinia:r,store:o,options:{persist:i=n}}=e;if(!i)return;if(!(o.$id in r.state.value)){const e=r._s.get(o.$id.replace("__hot:",""));return void(e&&Promise.resolve().then((()=>e.$persist())))}const a=(Array.isArray(i)?i:!0===i?[{}]:[i]).map(t);o.$hydrate=({runHooks:t=!0}={})=>{a.forEach((n=>{nR(o,n,e,t)}))},o.$persist=()=>{a.forEach((e=>{rR(o.$state,e)}))},a.forEach((t=>{nR(o,t,e),o.$subscribe(((e,n)=>rR(n,t)),{detached:!0})}))}(t,(n=>({key:(e.key?e.key:e=>e)(n.key??t.store.$id),debug:n.debug??e.debug??!1,serializer:n.serializer??e.serializer??{serialize:e=>JSON.stringify(e),deserialize:e=>function(e,t={}){if("string"!=typeof e)return e;const n=e.trim();if( +// eslint-disable-next-line unicorn/prefer-at +'"'===e[0]&&e.endsWith('"')&&!e.includes("\\"))return n.slice(1,-1);if(n.length<=9){const e=n.toLowerCase();if("true"===e)return!0;if("false"===e)return!1;if("undefined"===e)return;if("null"===e)return null;if("nan"===e)return Number.NaN;if("infinity"===e)return Number.POSITIVE_INFINITY;if("-infinity"===e)return Number.NEGATIVE_INFINITY}if(!XF.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(GF.test(e)||KF.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,YF)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}(e)},storage:n.storage??e.storage??window.localStorage,beforeHydrate:n.beforeHydrate,afterHydrate:n.afterHydrate,pick:n.pick,omit:n.omit})),e.auto??!1)}}({storage:window.ipcRenderer?{getItem:e=>window.ipcRenderer.sendSync("GetConfig","config.json",e)||null,setItem:(e,t)=>{window.ipcRenderer.send("SaveConfig","config.json",e,t)}}:localStorage,auto:!0}));const G2=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},K2=G2(xr({__name:"App",setup(e){const t=L2(),n=Ia((()=>t.displayMode)),{getComponentsLocale:r,locale:o}=TF();return(e,t)=>{const i=ao("router-view"),a=Zk;return qi(),Ji(a,{"global-config":on(r)},{default:Gn((()=>[(qi(),Ji(i,{key:on(o),class:ne([n.value])},null,8,["class"]))])),_:1},8,["global-config"])}}}),[["__scopeId","data-v-a54c09a9"]]),X2={},Y2=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){const e=document.getElementsByTagName("link"),o=document.querySelector("meta[property=csp-nonce]"),i=(null==o?void 0:o.nonce)||(null==o?void 0:o.getAttribute("nonce"));r=Promise.allSettled(t.map((t=>{if(t=function(e,t){return new URL(e,t).href}(t,n),t in X2)return;X2[t]=!0;const r=t.endsWith(".css"),o=r?'[rel="stylesheet"]':"";if(!!n)for(let n=e.length-1;n>=0;n--){const o=e[n];if(o.href===t&&(!r||"stylesheet"===o.rel))return}else if(document.querySelector(`link[href="${t}"]${o}`))return;const a=document.createElement("link");return a.rel=r?"stylesheet":"modulepreload",r||(a.as="script"),a.crossOrigin="",a.href=t,i&&a.setAttribute("nonce",i),document.head.appendChild(a),r?new Promise(((e,n)=>{a.addEventListener("load",e),a.addEventListener("error",(()=>n(new Error(`Unable to preload CSS for ${t}`))))})):void 0})))}function o(e){const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then((t=>{for(const e of t||[])"rejected"===e.status&&o(e.reason);return e().catch(o)}))},J2="undefined"!=typeof document;function Q2(e){return"object"==typeof e||"displayName"in e||"props"in e||"__vccOpts"in e}function Z2(e){return e.__esModule||"Module"===e[Symbol.toStringTag]||// support CF with dynamic imports that do not +// add the Module string tag +e.default&&Q2(e.default)}const e3=Object.assign;function t3(e,t){const n={};for(const r in t){const o=t[r];n[r]=r3(o)?o.map(e):e(o)}return n}const n3=()=>{},r3=Array.isArray,o3=/#/g,i3=/&/g,a3=/\//g,l3=/=/g,s3=/\?/g,c3=/\+/g,u3=/%5B/g,f3=/%5D/g,p3=/%5E/g,d3=/%60/g,h3=/%7B/g,v3=/%7C/g,m3=/%7D/g,g3=/%20/g;function y3(e){return encodeURI(""+e).replace(v3,"|").replace(u3,"[").replace(f3,"]")}function b3(e){return y3(e).replace(c3,"%2B").replace(g3,"+").replace(o3,"%23").replace(i3,"%26").replace(d3,"`").replace(h3,"{").replace(m3,"}").replace(p3,"^")}function _3(e){return null==e?"":function(e){return y3(e).replace(o3,"%23").replace(s3,"%3F")}(e).replace(a3,"%2F")}function w3(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}const x3=/\/$/;function O3(e,t,n="/"){let r,o={},i="",a="";const l=t.indexOf("#");let s=t.indexOf("?");return l<s&&l>=0&&(s=-1),s>-1&&(r=t.slice(0,s),i=t.slice(s+1,l>-1?l:t.length),o=e(i)),l>-1&&(r=r||t.slice(0,l),a=t.slice(l,t.length)),r=function(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];".."!==o&&"."!==o||r.push("");let i,a,l=n.length-1;for(i=0;i<r.length;i++)if(a=r[i],"."!==a){if(".."!==a)break;l>1&&l--}return n.slice(0,l).join("/")+"/"+r.slice(i).join("/")}(null!=r?r:t,n),{fullPath:r+(i&&"?")+i+a,path:r,query:o,hash:w3(a)}}function E3(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function S3(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function C3(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!A3(e[n],t[n]))return!1;return!0}function A3(e,t){return r3(e)?k3(e,t):r3(t)?k3(t,e):e===t}function k3(e,t){return r3(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}const T3={path:"/", +// TODO: could we use a symbol in the future? +name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var M3,P3,j3,D3;function I3(e){if(!e)if(J2){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(x3,"")}(P3=M3||(M3={})).pop="pop",P3.push="push",(D3=j3||(j3={})).back="back",D3.forward="forward",D3.unknown="";const N3=/^[^#]+#/;function L3(e,t){return e.replace(N3,"#")+t}const F3=()=>({left:window.scrollX,top:window.scrollY});function R3(e){let t;if("el"in e){const n=e.el,r="string"==typeof n&&n.startsWith("#"),o="string"==typeof n?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=function(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.scrollX,null!=t.top?t.top:window.scrollY)}function B3(e,t){return(history.state?history.state.position-t:-1)+e}const z3=new Map;function V3(e,t){const{pathname:n,search:r,hash:o}=t,i=e.indexOf("#");if(i>-1){let t=o.includes(e.slice(i))?e.slice(i).length:1,n=o.slice(t);return"/"!==n[0]&&(n="/"+n),E3(n,"")}return E3(n,e)+r+o}function U3(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?F3():null}}function H3(e){const{history:t,location:n}=window,r={value:V3(e,n)},o={value:t.state};function i(r,i,a){const l=e.indexOf("#"),s=l>-1?(n.host&&document.querySelector("base")?e:e.slice(l))+r:location.protocol+"//"+location.host+e+r;try{t[a?"replaceState":"pushState"](i,"",s),o.value=i}catch(c){n[a?"replace":"assign"](s)}}return o.value||i(r.value,{back:null,current:r.value,forward:null, +// the length is off by one, we need to decrease it +position:t.length-1,replaced:!0, +// don't add a scroll as the user may have an anchor, and we want +// scrollBehavior to be triggered without a saved position +scroll:null},!0),{location:r,state:o,push:function(e,n){const a=e3({}, +// use current history state to gracefully handle a wrong call to +// history.replaceState +// https://github.com/vuejs/router/issues/366 +o.value,t.state,{forward:e,scroll:F3()});i(a.current,a,!0),i(e,e3({},U3(r.value,e,null),{position:a.position+1},n),!1),r.value=e},replace:function(e,n){i(e,e3({},t.state,U3(o.value.back, +// keep back and forward entries but override current position +e,o.value.forward,!0),n,{position:o.value.position}),!0),r.value=e}}}function W3(e){const t=H3(e=I3(e)),n=function(e,t,n,r){let o=[],i=[],a=null;const l=({state:i})=>{const l=V3(e,location),s=n.value,c=t.value;let u=0;if(i){if(n.value=l,t.value=i,a&&a===s)return void(a=null);u=c?i.position-c.position:0}else r(l);o.forEach((e=>{e(n.value,s,{delta:u,type:M3.pop,direction:u?u>0?j3.forward:j3.back:j3.unknown})}))};function s(){const{history:e}=window;e.state&&e.replaceState(e3({},e.state,{scroll:F3()}),"")}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",s,{passive:!0}),{pauseListeners:function(){a=n.value},listen:function(e){o.push(e);const t=()=>{const t=o.indexOf(e);t>-1&&o.splice(t,1)};return i.push(t),t},destroy:function(){for(const e of i)e();i=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",s)}}}(e,t.state,t.location,t.replace);const r=e3({ +// it's overridden right after +location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:L3.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function q3(e){return"string"==typeof e||"symbol"==typeof e}const $3=Symbol("");var G3,K3;function X3(e,t){return e3(new Error,{type:e,[$3]:!0},t)}function Y3(e,t){return e instanceof Error&&$3 in e&&(null==t||!!(e.type&t))}(K3=G3||(G3={}))[K3.aborted=4]="aborted",K3[K3.cancelled=8]="cancelled",K3[K3.duplicated=16]="duplicated";const J3="[^/]+?",Q3={sensitive:!1,strict:!1,start:!0,end:!0},Z3=/[.+*?^${}()[\]/\\]/g;function e4(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?1===e.length&&80===e[0]?-1:1:e.length>t.length?1===t.length&&80===t[0]?1:-1:0}function t4(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const e=e4(r[n],o[n]);if(e)return e;n++}if(1===Math.abs(o.length-r.length)){if(n4(r))return 1;if(n4(o))return-1}return o.length-r.length}function n4(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const r4={type:0,value:""},o4=/[a-zA-Z0-9_]/;function i4(e,t,n){const r=function(e,t){const n=e3({},Q3,t),r=[];let o=n.start?"^":"";const i=[];for(const s of e){const e=s.length?[]:[90 +/* PathScore.Root */];n.strict&&!s.length&&(o+="/");for(let t=0;t<s.length;t++){const r=s[t];let a=40+(n.sensitive?.25:0);if(0===r.type)t||(o+="/"),o+=r.value.replace(Z3,"\\$&"),a+=40;else if(1===r.type){const{value:e,repeatable:n,optional:c,regexp:u}=r;i.push({name:e,repeatable:n,optional:c});const f=u||J3;if(f!==J3){a+=10;try{new RegExp(`(${f})`)}catch(l){throw new Error(`Invalid custom RegExp for param "${e}" (${f}): `+l.message)}}let p=n?`((?:${f})(?:/(?:${f}))*)`:`(${f})`;t||(p=// avoid an optional / if there are more segments e.g. /:p?-static +// or /:p?-:p2 +c&&s.length<2?`(?:/${p})`:"/"+p),c&&(p+="?"),o+=p,a+=20,c&&(a+=-8),n&&(a+=-20),".*"===f&&(a+=-50)}e.push(a)}r.push(e)}if(n.strict&&n.end){const e=r.length-1;r[e][r[e].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&!o.endsWith("/")&&(o+="(?:/|$)");const a=new RegExp(o,n.sensitive?"":"i");return{re:a,score:r,keys:i,parse:function(e){const t=e.match(a),n={};if(!t)return null;for(let r=1;r<t.length;r++){const e=t[r]||"",o=i[r-1];n[o.name]=e&&o.repeatable?e.split("/"):e}return n},stringify:function(t){let n="",r=!1;for(const o of e){r&&n.endsWith("/")||(n+="/"),r=!1;for(const e of o)if(0===e.type)n+=e.value;else if(1===e.type){const{value:i,repeatable:a,optional:l}=e,s=i in t?t[i]:"";if(r3(s)&&!a)throw new Error(`Provided param "${i}" is an array but it is not repeatable (* or + modifiers)`);const c=r3(s)?s.join("/"):s;if(!c){if(!l)throw new Error(`Missing required param "${i}"`);o.length<2&&(n.endsWith("/")?n=n.slice(0,-1):r=!0)}n+=c}}return n||"/"}}}(function(e){if(!e)return[[]];if("/"===e)return[[r4]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(e){throw new Error(`ERR (${n})/"${c}": ${e}`)}let n=0,r=n;const o=[];let i;function a(){i&&o.push(i),i=[]}let l,s=0,c="",u="";function f(){c&&(0===n?i.push({type:0,value:c}):1===n||2===n||3===n?(i.length>1&&("*"===l||"+"===l)&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:u,repeatable:"*"===l||"+"===l,optional:"*"===l||"?"===l})):t("Invalid state to consume buffer"),c="")}function p(){c+=l}for(;s<e.length;)if(l=e[s++],"\\"!==l||2===n)switch(n){case 0:"/"===l?(c&&f(),a()):":"===l?(f(),n=1):p();break;case 4:p(),n=r;break;case 1:"("===l?n=2:o4.test(l)?p():(f(),n=0,"*"!==l&&"?"!==l&&"+"!==l&&s--);break;case 2:")"===l?"\\"==u[u.length-1]?u=u.slice(0,-1)+l:n=3:u+=l;break;case 3:f(),n=0,"*"!==l&&"?"!==l&&"+"!==l&&s--,u="";break;default:t("Unknown state")}else r=n,n=4;return 2===n&&t(`Unfinished custom RegExp for param "${c}"`),f(),a(),o}(e.path),n),o=e3(r,{record:e,parent:t, +// these needs to be populated by the parent +children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function a4(e,t){const n=[],r=new Map;function o(e,n,r){const l=!r,s=s4(e);s.aliasOf=r&&r.record;const c=p4(t,e),u=[s];if("alias"in e){const t="string"==typeof e.alias?[e.alias]:e.alias;for(const e of t)u.push( +// we need to normalize again to ensure the `mods` property +// being non enumerable +s4(e3({},s,{ +// this allows us to hold a copy of the `components` option +// so that async components cache is hold on the original record +components:r?r.record.components:s.components,path:e, +// we might be the child of an alias +aliasOf:r?r.record:s})))}let f,p;for(const t of u){const{path:u}=t;if(n&&"/"!==u[0]){const e=n.record.path,r="/"===e[e.length-1]?"":"/";t.path=n.record.path+(u&&r+u)}if(f=i4(t,n,c),r?r.alias.push(f):(p=p||f,p!==f&&p.alias.push(f),l&&e.name&&!u4(f)&&i(e.name)),d4(f)&&a(f),s.children){const e=s.children;for(let t=0;t<e.length;t++)o(e[t],f,r&&r.children[t])}r=r||f}return p?()=>{i(p)}:n3}function i(e){if(q3(e)){const t=r.get(e);t&&(r.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(i),t.alias.forEach(i))}else{const t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&r.delete(e.record.name),e.children.forEach(i),e.alias.forEach(i))}}function a(e){const t=function(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;t4(e,t[o])<0?r=o:n=o+1}const o=function(e){let t=e;for(;t=t.parent;)if(d4(t)&&0===t4(e,t))return t;return}(e);o&&(r=t.lastIndexOf(o,r-1));return r}(e,n);n.splice(t,0,e),e.record.name&&!u4(e)&&r.set(e.record.name,e)}return t=p4({strict:!1,end:!0,sensitive:!1},t),e.forEach((e=>o(e))),{addRoute:o,resolve:function(e,t){let o,i,a,l={};if("name"in e&&e.name){if(o=r.get(e.name),!o)throw X3(1,{location:e});a=o.record.name,l=e3( +// paramsFromLocation is a new object +l4(t.params, +// only keep params that exist in the resolved location +// only keep optional params coming from a parent record +o.keys.filter((e=>!e.optional)).concat(o.parent?o.parent.keys.filter((e=>e.optional)):[]).map((e=>e.name))), +// discard any existing params in the current location that do not exist here +// #1497 this ensures better active/exact matching +e.params&&l4(e.params,o.keys.map((e=>e.name)))),i=o.stringify(l)}else if(null!=e.path)i=e.path,o=n.find((e=>e.re.test(i))),o&&(l=o.parse(i),a=o.record.name);else{if(o=t.name?r.get(t.name):n.find((e=>e.re.test(t.path))),!o)throw X3(1,{location:e,currentLocation:t});a=o.record.name,l=e3({},t.params,e.params),i=o.stringify(l)}const s=[];let c=o;for(;c;)s.unshift(c.record),c=c.parent;return{name:a,path:i,params:l,matched:s,meta:f4(s)}},removeRoute:i,clearRoutes:function(){n.length=0,r.clear()},getRoutes:function(){return n},getRecordMatcher:function(e){return r.get(e)}}}function l4(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function s4(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:c4(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{}, +// must be declared afterwards +// mods: {}, +components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function c4(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]="object"==typeof n?n[r]:n;return t}function u4(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function f4(e){return e.reduce(((e,t)=>e3(e,t.meta)),{})}function p4(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function d4({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function h4(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let r=0;r<n.length;++r){const e=n[r].replace(c3," "),o=e.indexOf("="),i=w3(o<0?e:e.slice(0,o)),a=o<0?null:w3(e.slice(o+1));if(i in t){let e=t[i];r3(e)||(e=t[i]=[e]),e.push(a)}else t[i]=a}return t}function v4(e){let t="";for(let n in e){const r=e[n];if(n=b3(n).replace(l3,"%3D"),null==r){void 0!==r&&(t+=(t.length?"&":"")+n);continue}(r3(r)?r.map((e=>e&&b3(e))):[r&&b3(r)]).forEach((e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))}))}return t}function m4(e){const t={};for(const n in e){const r=e[n];void 0!==r&&(t[n]=r3(r)?r.map((e=>null==e?null:""+e)):null==r?r:""+r)}return t}const g4=Symbol(""),y4=Symbol(""),b4=Symbol(""),_4=Symbol(""),w4=Symbol("");function x4(){let e=[];return{add:function(t){return e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}},list:()=>e.slice(),reset:function(){e=[]}}}function O4(e,t,n,r,o,i=e=>e()){const a=r&&(// name is defined if record is because of the function overload +r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise(((l,s)=>{const c=e=>{var i;!1===e?s(X3(4,{from:n,to:t})):e instanceof Error?s(e):"string"==typeof(i=e)||i&&"object"==typeof i?s(X3(2,{from:t,to:e})):(a&&// since enterCallbackArray is truthy, both record and name also are +r.enterCallbacks[o]===a&&"function"==typeof e&&a.push(e),l())},u=i((()=>e.call(r&&r.instances[o],t,n,c)));let f=Promise.resolve(u);e.length<3&&(f=f.then(c)),f.catch((e=>s(e)))}))}function E4(e,t,n,r,o=e=>e()){const i=[];for(const a of e)for(const e in a.components){let l=a.components[e];if("beforeRouteEnter"===t||a.instances[e])if(Q2(l)){const s=(l.__vccOpts||l)[t];s&&i.push(O4(s,n,r,a,e,o))}else{let s=l();i.push((()=>s.then((i=>{if(!i)throw new Error(`Couldn't resolve component "${e}" at "${a.path}"`);const l=Z2(i)?i.default:i;a.mods[e]=i,a.components[e]=l;const s=(l.__vccOpts||l)[t];return s&&O4(s,n,r,a,e,o)()}))))}}return i}function S4(e){const t=Uo(b4),n=Uo(_4),r=Ia((()=>{const n=on(e.to);return t.resolve(n)})),o=Ia((()=>{const{matched:e}=r.value,{length:t}=e,o=e[t-1],i=n.matched;if(!o||!i.length)return-1;const a=i.findIndex(S3.bind(null,o));if(a>-1)return a;const l=A4(e[t-2]); +// we are dealing with nested routes +return t>1&&// if the parent and matched route have the same path, this link is +// referring to the empty child. Or we currently are on a different +// child of the same parent +A4(o)===l&&// avoid comparing the child with its parent +i[i.length-1].path!==l?i.findIndex(S3.bind(null,e[t-2])):a})),i=Ia((()=>o.value>-1&&function(e,t){for(const n in t){const r=t[n],o=e[n];if("string"==typeof r){if(r!==o)return!1}else if(!r3(o)||o.length!==r.length||r.some(((e,t)=>e!==o[t])))return!1}return!0}(n.params,r.value.params))),a=Ia((()=>o.value>-1&&o.value===n.matched.length-1&&C3(n.params,r.value.params)));return{route:r,href:Ia((()=>r.value.href)),isActive:i,isExactActive:a,navigate:function(n={}){if(function(e){if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)return;if(e.defaultPrevented)return;if(void 0!==e.button&&0!==e.button)return;if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}e.preventDefault&&e.preventDefault();return!0}(n)){const n=t[on(e.replace)?"replace":"push"](on(e.to)).catch(n3);return e.viewTransition&&"undefined"!=typeof document&&"startViewTransition"in document&&document.startViewTransition((()=>n)),n}return Promise.resolve()}}}const C4=xr({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String, +// inactiveClass: String, +exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:S4,setup(e,{slots:t}){const n=zt(S4(e)),{options:r}=Uo(b4),o=Ia((()=>({[k4(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive, +// [getLinkClass( +// props.inactiveClass, +// options.linkInactiveClass, +// 'router-link-inactive' +// )]: !link.isExactActive, +[k4(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const r=t.default&&(1===(i=t.default(n)).length?i[0]:i);var i;return e.custom?r:Na("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href, +// this would override user added attrs but Vue will still add +// the listener, so we end up triggering both +onClick:n.navigate,class:o.value},r)}}});function A4(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const k4=(e,t,n)=>null!=e?e:null!=t?t:n;function T4(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const M4=xr({name:"RouterView", +// #674 we manually inherit them +inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object}, +// Better compat for @vue/compat users +// https://github.com/vuejs/router/issues/1315 +compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Uo(w4),o=Ia((()=>e.route||r.value)),i=Uo(y4,0),a=Ia((()=>{let e=on(i);const{matched:t}=o.value;let n;for(;(n=t[e])&&!n.components;)e++;return e})),l=Ia((()=>o.value.matched[a.value]));Vo(y4,Ia((()=>a.value+1))),Vo(g4,l),Vo(w4,o);const s=en();return yi((()=>[s.value,l.value,e.name]),(([e,t,n],[r,o,i])=>{t&&(t.instances[n]=e,o&&o!==t&&e&&e===r&&(t.leaveGuards.size||(t.leaveGuards=o.leaveGuards),t.updateGuards.size||(t.updateGuards=o.updateGuards))),!e||!t||// if there is no instance but to and from are the same this might be +// the first visit +o&&S3(t,o)&&r||(t.enterCallbacks[n]||[]).forEach((t=>t(e)))}),{flush:"post"}),()=>{const r=o.value,i=e.name,a=l.value,c=a&&a.components[i];if(!c)return T4(n.default,{Component:c,route:r});const u=a.props[i],f=u?!0===u?r.params:"function"==typeof u?u(r):u:null,p=Na(c,e3({},f,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(a.instances[i]=null)},ref:s})); +// pass the vnode to the slot as a prop. +// h and <component :is="..."> both accept vnodes +return T4(n.default,{Component:p,route:r})||p}}});function P4(){return Uo(b4)}function j4(e){return Uo(_4)}const D4="tdesign-starter",I4=.1,N4=4096,L4=1,F4=G2(xr({__name:"Breadcrumb",setup(e){const{locale:t}=TF(),n=j4(),r=Ia((()=>{const e=n.path.split("/");e.shift();return e.reduce(((e,r,o)=>{var i;const a=null==(i=n.matched[o])?void 0:i.meta;if((null==a?void 0:a.hiddenBreadcrumb)||Object.values(n.params).includes(r))return e;let l=r;return(null==a?void 0:a.title)&&(l="string"==typeof a.title?a.title:a.title[t.value]),e.push({path:r,to:e[o-1]?`/${e[o-1].path}/${r}`:`/${r}`,title:l}),e}),[])}));return(e,t)=>{const n=uA,o=cA;return qi(),Ji(o,{"max-item-width":"150",class:"tdesign-breadcrumb"},{default:Gn((()=>[(qi(!0),Yi(Bi,null,po(r.value,(e=>(qi(),Ji(n,{key:e.to,to:e.to},{default:Gn((()=>[aa(Oe(e.title),1)])),_:2},1032,["to"])))),128))])),_:1})}}}),[["__scopeId","data-v-7ec7ffe3"]]),R4=G2(xr({__name:"Content",setup:e=>(e,t)=>{const n=ao("router-view");return qi(),Ji(n,null,{default:Gn((({Component:e})=>[(qi(),Ji(so(e)))])),_:1})}}),[["__scopeId","data-v-d7ed7a08"]]),B4=G2(xr({__name:"Footer",setup:e=>(e,t)=>(qi(),Yi("div",{class:ne([on(D4)+"-footer","flex justify-center items-center"])},"Copyright © 2021-"+Oe((new Date).getFullYear())+" openseedsoft. All Rights Reserved",3))}),[["__scopeId","data-v-f64c9180"]]),z4=xr({__name:"SettingMenu",props:{theme:{type:String,default:"light"},menu:{type:Array,default:()=>[]}},setup(e){const t=e;P4(),L2(),B2();const{locale:n}=TF(),r=Ia((()=>Xne())),o=Ia((()=>t.theme));return(t,i)=>{const a=ok,l=nk;return qi(),Ji(l,{theme:o.value,value:r.value,class:"shadow-md"},{default:Gn((()=>[(qi(!0),Yi(Bi,null,po(e.menu,(e=>(qi(),Ji(a,{key:e.path,value:`/setting/${e.path}`,to:e.path},{default:Gn((()=>{return[aa(Oe((t=e.meta.title,"string"==typeof t?t:t[n.value])),1)];var t})),_:2},1032,["value","to"])))),128))])),_:1},8,["theme","value"])}}}),V4=xr({__name:"LayoutContent",setup(e){const t=L2(),n=R2(),r=j4();let o=$ne;const i=Ia((()=>{var e;if(0==r.path.startsWith("/setting"))return null;return(null==(e=o.find((e=>"/setting"===e.path)))?void 0:e.children).filter((e=>{var t,r;return!(null==(t=e.meta)?void 0:t.isPro)||(null==(r=e.meta)?void 0:r.isPro)&&n.isPro})).filter((e=>(e.path.includes("api"),!0)))}));return(e,n)=>{const r=CO,o=SO,a=OO;return qi(),Ji(a,{class:ne([`${on(D4)}-layout`,"flex flex-col h-full"])},{default:Gn((()=>[ra(r,{class:ne([`${on(D4)}-content-layout`,"flex-1"])},{default:Gn((()=>[on(t).showBreadcrumb?(qi(),Ji(F4,{key:0})):sa("",!0),i.value?(qi(),Ji(z4,{key:1,theme:on(t).displayMode,menu:i.value,class:"mb-4 w-full overflow-x-auto"},null,8,["theme","menu"])):sa("",!0),ra(R4)])),_:1},8,["class"]),on(t).showFooter?(qi(),Ji(o,{key:0,class:ne(`${on(D4)}-footer-layout`)},{default:Gn((()=>[ra(B4)])),_:1},8,["class"])):sa("",!0)])),_:1},8,["class"])}}}),U4=xr({__name:"MenuContent",props:{navData:{type:Array,default:()=>[]}},setup(e){const t=e,n=Ia((()=>Xne())),{locale:r}=TF(),o=Ia((()=>{const{navData:e}=t;return l(e)})),i=e=>{if("string"==typeof e.icon)return React.createElement("t-icon",{name:e.icon});return e.icon},a=e=>"string"==typeof e?e:e[r.value],l=(e,t)=>e&&0!==e.length?(e.sort(((e,t)=>{var n,r;return((null==(n=e.meta)?void 0:n.orderNo)||0)-((null==(r=t.meta)?void 0:r.orderNo)||0)})),e.map((e=>{var n,r;const o=t&&!e.path.includes(t)?`${t}/${e.path}`:e.path;return{path:o,title:null==(n=e.meta)?void 0:n.title,icon:null==(r=e.meta)?void 0:r.icon,children:l(e.children,o),meta:e.meta,redirect:e.redirect}})).filter((e=>e.meta&&!0!==e.meta.hidden))):[],s=e=>{const{frameSrc:t,frameBlank:n}=e.meta;return t&&n?t.match(/(http|https):\/\/([\w.]+\/?)\S*/):null},c=e=>{var t;return n.value.split("/").length>e.path.split("/").length&&n.value.startsWith(e.path)||n.value===e.path?n.value:(null==(t=e.meta)?void 0:t.single)?e.redirect:e.path};return(e,t)=>{const n=ok,r=ao("menu-content",!0),l=rk;return qi(),Yi("div",null,[(qi(!0),Yi(Bi,null,po(o.value,(e=>{var t;return qi(),Yi(Bi,{key:e.path},[e.children&&e.children.length&&!(null==(t=e.meta)?void 0:t.single)?(qi(),Ji(l,{key:1,name:e.path,value:e.path,title:a(e.title)},{icon:Gn((()=>[(qi(),Ji(so(i(e)),{class:"t-icon"}))])),default:Gn((()=>[e.children?(qi(),Ji(r,{key:0,"nav-data":e.children},null,8,["nav-data"])):sa("",!0)])),_:2},1032,["name","value","title"])):(qi(),Yi(Bi,{key:0},[s(e)?(qi(),Ji(n,{key:0,name:e.path,value:c(e),onClick:t=>{return n=s(e)[0],void window.open(n);var n}},{icon:Gn((()=>[(qi(),Ji(so(i(e)),{class:"t-icon"}))])),default:Gn((()=>[aa(" "+Oe(a(e.title)),1)])),_:2},1032,["name","value","onClick"])):(qi(),Ji(n,{key:1,name:e.path,value:c(e),to:e.path},{icon:Gn((()=>[(qi(),Ji(so(i(e)),{class:"t-icon"}))])),default:Gn((()=>[aa(" "+Oe(a(e.title)),1)])),_:2},1032,["name","value","to"]))],64))],64)})),128))])}}}),H4={class:"header-operate-left"},W4={key:1,class:"text-center font-bold w-full pr-16 overflow-hidden text-ellipsis whitespace-nowrap"},q4=G2(xr({__name:"Header",props:{theme:{type:String,default:"light"},menu:{type:Array,default:()=>[]},isCompact:{type:Boolean,default:!1},maxLevel:{type:Number,default:3}},setup(e){const t=e;P4();const{locale:n}=TF(),r=j4(),o=L2(),i=V2(),a=Ia((()=>Xne())),l=Ia((()=>[`${D4}-header-layout`])),s=Ia((()=>t.theme)),c=()=>{o.updateConfig({isSidebarCompact:!o.isSidebarCompact})};function u(e,t,n=""){for(const r of e){const e=n+r.path;if(e===t)return r;if(r.children){const n=u(r.children,t,e+"/");if(n)return n}}return null}const f=Ia((()=>{var e,t;if(r.path.startsWith("/setting")){return(null==(e=u($ne,"/setting"))?void 0:e.meta).title[n.value]}if("/conversation/chat"===r.path){return i.find(r.query.id).name}const o=null==(t=u($ne,r.path))?void 0:t.meta;return o?o.title[n.value]:r.path}));return(t,n)=>{const r=Lw,i=nk;return qi(),Yi("div",{class:ne([l.value,"h-full"])},[ra(i,{theme:s.value,"expand-type":"popup",value:a.value},{logo:Gn((()=>[na("div",H4,[ra(r,{theme:"default",shape:"square",variant:"text",onClick:c},{default:Gn((()=>[ra(on(Wx),{name:"view-list"})])),_:1})])])),default:Gn((()=>[!0===on(o).showNav?(qi(),Ji(U4,{key:0,class:"header-menu","nav-data":e.menu},null,8,["nav-data"])):(qi(),Yi("div",W4,Oe(f.value),1))])),operations:Gn((()=>n[0]||(n[0]=[na("div",{class:"operations-container"},null,-1)]))),_:1},8,["theme","value"])],2)}}}),[["__scopeId","data-v-066d80f0"]]),$4=xr({__name:"LayoutHeader",setup(e){const t=L2();let n=$ne;return(e,r)=>(qi(),Ji(q4,{theme:on(t).displayMode,menu:on(n),"is-compact":on(t).isSidebarCompact},null,8,["theme","menu","is-compact"]))}}),G4=""+new URL("assets-t-logo-CxwPZnhN.png",import.meta.url).href,K4={name:"seedchat",private:!0,description:"seedchat",author:{name:"zhepama",email:"zhepama@gmail.com"},version:"1.0.6",type:"module",scripts:{debug:'concurrently "npm run server:dev" "npm run render:debug"',dev:'concurrently "npm run server:dev" "npm run render:dev"',build:"npm run clean && npm run server:build && npm run render:build && npm run electron:build ","build:local":"npm run build && npm run build:post","electron:preview":"npm run server:build && vite --mode production","electron:build":"cross-env DEBUG=electron-builder* electron-builder --publish never --dir","render:dev":"vite --mode development --host","render:debug":"cross-env VSCODE_DEBUG=true vite --mode development","render:build":" vite build ","render:preview":"cross-env PWA=true vite build && vite preview","server:pages":"cross-env PWA=true npm run render:build && shx cp -r ./dist/* ./server/public/ && shx rm -rf ./dist && nitro build ","server:build":"nitro build && shx mkdir -p ./dist-server && shx cp -r ./.output/* ./dist-server/","server:cloudflare":" npm run server:cloudflare:script && npm run server:pages ","server:cloudflare:script":"node scripts/cloudflare.js ","server:cloudflare:local":"cross-env NITRO_PRESET=cloudflare_pages nitro build && wrangler pages dev dist/","server:dev":"cross-env CONFIG_PATH=.\\ nitro dev --host","server:prepare":"npm run proto:generate && nitro prepare","server:preview":"node dist-server/server/index.mjs",test:"vitest","build:post":"shx mkdir -p D:\\Applications\\seedchat && shx cp -r ./release/win-unpacked/* D:\\Applications\\seedchat",clean:"shx rm -rf ./dist/* && shx rm -rf ./dist-electron/* && shx rm -rf ./dist-server/* && shx rm -rf ./dist-docs/*","docs:dev":"vuepress dev docs","docs:build":"vuepress build docs","proto:generate":"pbjs -t static-module --es6 -w es6 -o server/proto/messages.js server/proto/messages.proto && pbts -o server/proto/messages.d.ts server/proto/messages.js"},dependencies:{"@agoose77/markdown-it-mermaid":"^1.1.0","@dicebear/collection":"^8.0.1","@dicebear/core":"^8.0.1","@grpc/grpc-js":"^1.12.6","@mozilla/readability":"^0.5.0","@traptitech/markdown-it-katex":"^3.6.0","@types/form-data":"^2.5.2","@types/ws":"^8.5.14","@vueuse/core":"^12.7.0","@wdns/vue-code-block":"^2.3.5","electron-context-menu":"^4.0.5","electron-findbar":"^0.6.4","eventsource-parser":"^3.0.0","form-data":"^4.0.2","highlight.js":"^11.11.1",jose:"^6.0.8",mammoth:"^1.9.0","markdown-it":"^14.1.0","markdown-it-highlightjs":"^4.2.0","markdown-it-link-attributes":"^4.0.1","pdfjs-dist":"^4.10.38",pinia:"^2.3.1","pinia-plugin-persistedstate":"^4.2.0",protobufjs:"^7.4.0","tdesign-icons-vue-next":"^0.3.4","tdesign-vue-next":"latest","tvision-color":"^1.6.0",undici:"^7.4.0",uuid:"^11.1.0",vue:"^3.5.13","vue-i18n":"^11.1.1","vue-router":"^4.5.0",vuedraggable:"^4.1.0",ws:"^8.18.1",xlsx:"^0.18.5"},devDependencies:{"@types/highlight.js":"^10.1.0","@types/markdown-it":"^14.1.2","@types/markdown-it-link-attributes":"^3.0.5","@types/uuid":"^10.0.0","@vitejs/plugin-vue":"^5.2.1","@vuepress/bundler-vite":"^2.0.0-rc.14","@vuepress/theme-default":"^2.0.0-rc.37",autoprefixer:"^10.4.20",concurrently:"^9.1.2","cross-env":"^7.0.3",electron:"^34.0.1","electron-builder":"^25.1.8",less:"^4.2.2",nitropack:"latest",postcss:"^8.5.1","postcss-less":"^6.0.0","protobufjs-cli":"^1.1.3","sass-embedded":"^1.85.1",shx:"^0.3.4","swagger-ui-dist":"^5.20.0",tailwindcss:"^3.4.4",terser:"^5.39.0",typescript:"^5.8.2","unplugin-auto-import":"^19.1.1","unplugin-vue-components":"^28.4.1",vite:"^6.2.0","vite-plugin-electron":"^0.29.0","vite-plugin-electron-renderer":"^0.14.6","vite-plugin-javascript-obfuscator":"^3.1.0","vite-svg-loader":"^5.1.0",vitest:"^3.0.7","vue-tsc":"^2.2.6",vuepress:"^2.0.0-rc.14",wrangler:"^3.106.0"},main:"dist-electron/main.js",overrides:{canvas:"npm:dry-uninstall"}};var X4={exports:{}},Y4={exports:{}},J4={}; +/** +* @vue/compiler-core v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/ +const Q4=Symbol(""),Z4=Symbol(""),e5=Symbol(""),t5=Symbol(""),n5=Symbol(""),r5=Symbol(""),o5=Symbol(""),i5=Symbol(""),a5=Symbol(""),l5=Symbol(""),s5=Symbol(""),c5=Symbol(""),u5=Symbol(""),f5=Symbol(""),p5=Symbol(""),d5=Symbol(""),h5=Symbol(""),v5=Symbol(""),m5=Symbol(""),g5=Symbol(""),y5=Symbol(""),b5=Symbol(""),_5=Symbol(""),w5=Symbol(""),x5=Symbol(""),O5=Symbol(""),E5=Symbol(""),S5=Symbol(""),C5=Symbol(""),A5=Symbol(""),k5=Symbol(""),T5=Symbol(""),M5=Symbol(""),P5=Symbol(""),j5=Symbol(""),D5=Symbol(""),I5=Symbol(""),N5=Symbol(""),L5=Symbol(""),F5={[Q4]:"Fragment",[Z4]:"Teleport",[e5]:"Suspense",[t5]:"KeepAlive",[n5]:"BaseTransition",[r5]:"openBlock",[o5]:"createBlock",[i5]:"createElementBlock",[a5]:"createVNode",[l5]:"createElementVNode",[s5]:"createCommentVNode",[c5]:"createTextVNode",[u5]:"createStaticVNode",[f5]:"resolveComponent",[p5]:"resolveDynamicComponent",[d5]:"resolveDirective",[h5]:"resolveFilter",[v5]:"withDirectives",[m5]:"renderList",[g5]:"renderSlot",[y5]:"createSlots",[b5]:"toDisplayString",[_5]:"mergeProps",[w5]:"normalizeClass",[x5]:"normalizeStyle",[O5]:"normalizeProps",[E5]:"guardReactiveProps",[S5]:"toHandlers",[C5]:"camelize",[A5]:"capitalize",[k5]:"toHandlerKey",[T5]:"setBlockTracking",[M5]:"pushScopeId",[P5]:"popScopeId",[j5]:"withCtx",[D5]:"unref",[I5]:"isRef",[N5]:"withMemo",[L5]:"isMemoSame"};function R5(e){Object.getOwnPropertySymbols(e).forEach((t=>{F5[t]=e[t]}))}const B5={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function z5(e,t=""){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:B5}}function V5(e,t,n,r,o,i,a,l=!1,s=!1,c=!1,u=B5){return e&&(l?(e.helper(r5),e.helper(Z5(e.inSSR,c))):e.helper(Q5(e.inSSR,c)),a&&e.helper(v5)),{type:13,tag:t,props:n,children:r,patchFlag:o,dynamicProps:i,directives:a,isBlock:l,disableTracking:s,isComponent:c,loc:u}}function U5(e,t=B5){return{type:17,loc:t,elements:e}}function H5(e,t=B5){return{type:15,loc:t,properties:e}}function W5(e,t){return{type:16,loc:B5,key:_(e)?q5(e,!0):e,value:t}}function q5(e,t=!1,n=B5,r=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:r}}function $5(e,t=B5){return{type:8,loc:t,children:e}}function G5(e,t=[],n=B5){return{type:14,loc:n,callee:e,arguments:t}}function K5(e,t=void 0,n=!1,r=!1,o=B5){return{type:18,params:e,returns:t,newline:n,isSlot:r,loc:o}}function X5(e,t,n,r=!0){return{type:19,test:e,consequent:t,alternate:n,newline:r,loc:B5}}function Y5(e,t,n=!1,r=!1){return{type:20,index:e,value:t,needPauseTracking:n,inVOnce:r,needArraySpread:!1,loc:B5}}function J5(e){return{type:21,body:e,loc:B5}}function Q5(e,t){return e||t?a5:l5}function Z5(e,t){return e||t?o5:i5}function e6(e,{helper:t,removeHelper:n,inSSR:r}){e.isBlock||(e.isBlock=!0,n(Q5(r,e.isComponent)),t(r5),t(Z5(r,e.isComponent)))}const t6=new Uint8Array([123,123]),n6=new Uint8Array([125,125]);function r6(e){return e>=97&&e<=122||e>=65&&e<=90}function o6(e){return 32===e||10===e||9===e||12===e||13===e}function i6(e){return 47===e||62===e||o6(e)}function a6(e){const t=new Uint8Array(e.length);for(let n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}const l6={Cdata:new Uint8Array([67,68,65,84,65,91]), +// CDATA[ +CdataEnd:new Uint8Array([93,93,62]), +// ]]> +CommentEnd:new Uint8Array([45,45,62]), +// `-->` +ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]), +// `<\/script` +StyleEnd:new Uint8Array([60,47,115,116,121,108,101]), +// `</style` +TitleEnd:new Uint8Array([60,47,116,105,116,108,101]), +// `</title` +TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};const s6={COMPILER_IS_ON_ELEMENT:{message:'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',link:"https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:e=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${e}.sync\` should be changed to \`v-model:${e}\`.`,link:"https://v3-migration.vuejs.org/breaking-changes/v-model.html"},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3-migration.vuejs.org/breaking-changes/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.",link:"https://v3-migration.vuejs.org/breaking-changes/v-if-v-for.html"},COMPILER_NATIVE_TEMPLATE:{message:"<template> with no special directives will render as a native template element instead of its inner content in Vue 3."},COMPILER_INLINE_TEMPLATE:{message:'"inline-template" has been removed in Vue 3.',link:"https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html"},COMPILER_FILTERS:{message:'filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.',link:"https://v3-migration.vuejs.org/breaking-changes/filters.html"}};function c6(e,{compatConfig:t}){const n=t&&t[e];return"MODE"===e?n||3:n}function u6(e,t){const n=c6("MODE",t),r=c6(e,t);return 3===n?!0===r:!1!==r}function f6(e,t,n,...r){return u6(e,t)}function p6(e){throw e}function d6(e){}function h6(e,t,n,r){const o=new SyntaxError(String(`https://vuejs.org/error-reference/#compiler-${e}`));return o.code=e,o.loc=t,o}const v6={ +// parse errors +0:"Illegal comment.",1:"CDATA section is allowed only in XML context.",2:"Duplicate attribute.",3:"End tag cannot have attributes.",4:"Illegal '/' in tags.",5:"Unexpected EOF in tag.",6:"Unexpected EOF in CDATA section.",7:"Unexpected EOF in comment.",8:"Unexpected EOF in script.",9:"Unexpected EOF in tag.",10:"Incorrectly closed comment.",11:"Incorrectly opened comment.",12:"Illegal tag name. Use '<' to print '<'.",13:"Attribute value was expected.",14:"End tag name was expected.",15:"Whitespace was expected.",16:"Unexpected '\x3c!--' in comment.",17:"Attribute name cannot contain U+0022 (\"), U+0027 ('), and U+003C (<).",18:"Unquoted attribute value cannot contain U+0022 (\"), U+0027 ('), U+003C (<), U+003D (=), and U+0060 (`).",19:"Attribute name cannot start with '='.",21:"'<?' is allowed only in XML context.",20:"Unexpected null character.",22:"Illegal '/' in tags.", +// Vue-specific parse errors +23:"Invalid end tag.",24:"Element is missing end tag.",25:"Interpolation end sign was not found.",27:"End bracket for dynamic directive argument was not found. Note that dynamic directive argument cannot contain spaces.",26:"Legal directive name was expected.", +// transform errors +28:"v-if/v-else-if is missing expression.",29:"v-if/else branches must use unique keys.",30:"v-else/v-else-if has no adjacent v-if or v-else-if.",31:"v-for is missing expression.",32:"v-for has invalid expression.",33:"<template v-for> key should be placed on the <template> tag.",34:"v-bind is missing expression.",52:"v-bind with same-name shorthand only allows static argument.",35:"v-on is missing expression.",36:"Unexpected custom directive on <slot> outlet.",37:"Mixed v-slot usage on both the component and nested <template>. When there are multiple named slots, all slots should use <template> syntax to avoid scope ambiguity.",38:"Duplicate slot names found. ",39:"Extraneous children found when component already has explicitly named default slot. These children will be ignored.",40:"v-slot can only be used on components or <template> tags.",41:"v-model is missing expression.",42:"v-model value must be a valid JavaScript member expression.",43:"v-model cannot be used on v-for or v-slot scope variables because they are not writable.",44:"v-model cannot be used on a prop, because local prop bindings are not writable.\nUse a v-bind binding combined with a v-on listener that emits update:x event instead.",45:"Error parsing JavaScript expression: ",46:"<KeepAlive> expects exactly one child component.",51:"@vnode-* hooks in templates are no longer supported. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support has been removed in 3.4.", +// generic errors +47:'"prefixIdentifiers" option is not supported in this build of compiler.',48:"ES module mode is not supported in this build of compiler.",49:'"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.',50:'"scopeId" option is only supported in module mode.', +// just to fulfill types +53:""};function m6(e){return"ForOfStatement"===e.type||"ForInStatement"===e.type||"ForStatement"===e.type}function g6(e,t,n){const r="ForStatement"===e.type?e.init:e.left;if(r&&"VariableDeclaration"===r.type&&"var"===r.kind&&t)for(const o of r.declarations)for(const e of y6(o.id))n(e)}function y6(e,t=[]){switch(e.type){case"Identifier":t.push(e);break;case"MemberExpression":let n=e;for(;"MemberExpression"===n.type;)n=n.object;t.push(n);break;case"ObjectPattern":for(const r of e.properties)"RestElement"===r.type?y6(r.argument,t):y6(r.value,t);break;case"ArrayPattern":e.elements.forEach((e=>{e&&y6(e,t)}));break;case"RestElement":y6(e.argument,t);break;case"AssignmentPattern":y6(e.left,t)}return t}const b6=e=>e&&("ObjectProperty"===e.type||"ObjectMethod"===e.type)&&!e.computed,_6=["TSAsExpression", +// foo as number +"TSTypeAssertion", +// (<number>foo) +"TSNonNullExpression", +// foo! +"TSInstantiationExpression", +// foo<string> +"TSSatisfiesExpression"];const w6=e=>4===e.type&&e.isStatic;function x6(e){switch(e){case"Teleport":case"teleport":return Z4;case"Suspense":case"suspense":return e5;case"KeepAlive":case"keep-alive":return t5;case"BaseTransition":case"base-transition":return n5}}const O6=/^\d|[^\$\w\xA0-\uFFFF]/,E6=e=>!O6.test(e),S6=/[A-Za-z_$\xA0-\uFFFF]/,C6=/[\.\?\w$\xA0-\uFFFF]/,A6=/\s+[.[]\s*|\s*[.[]\s+/g,k6=e=>4===e.type?e.content:e.loc.source,T6=e=>{const t=k6(e).trim().replace(A6,(e=>e.trim()));let n=0,r=[],o=0,i=0,a=null;for(let l=0;l<t.length;l++){const e=t.charAt(l);switch(n){case 0:if("["===e)r.push(n),n=1,o++;else if("("===e)r.push(n),n=2,i++;else if(!(0===l?S6:C6).test(e))return!1;break;case 1:"'"===e||'"'===e||"`"===e?(r.push(n),n=3,a=e):"["===e?o++:"]"===e&&(--o||(n=r.pop()));break;case 2:if("'"===e||'"'===e||"`"===e)r.push(n),n=3,a=e;else if("("===e)i++;else if(")"===e){if(l===t.length-1)return!1;--i||(n=r.pop())}break;case 3:e===a&&(n=r.pop(),a=null)}}return!o&&!i},M6=a,P6=T6,j6=/^\s*(async\s*)?(\([^)]*?\)|[\w$_]+)\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,D6=e=>j6.test(k6(e)),I6=a,N6=D6;function L6(e,t,n=t.length){let r=0,o=-1;for(let i=0;i<n;i++)10===t.charCodeAt(i)&&(r++,o=i);return e.offset+=n,e.line+=r,e.column=-1===o?e.column+n:n-o,e}function F6(e,t,n=!1){for(let r=0;r<e.props.length;r++){const o=e.props[r];if(7===o.type&&(n||o.exp)&&(_(t)?o.name===t:t.test(o.name)))return o}}function R6(e,t,n=!1,r=!1){for(let o=0;o<e.props.length;o++){const i=e.props[o];if(6===i.type){if(n)continue;if(i.name===t&&(i.value||r))return i}else if("bind"===i.name&&(i.exp||r)&&B6(i.arg,t))return i}}function B6(e,t){return!(!e||!w6(e)||e.content!==t)}function z6(e){return e.props.some((e=>!(7!==e.type||"bind"!==e.name||e.arg&&// v-bind="obj" +4===e.arg.type&&e.arg.isStatic)))}function V6(e){return 5===e.type||2===e.type}function U6(e){return 7===e.type&&"slot"===e.name}function H6(e){return 1===e.type&&3===e.tagType}function W6(e){return 1===e.type&&2===e.tagType}const q6=new Set([O5,E5]);function $6(e,t=[]){if(e&&!_(e)&&14===e.type){const n=e.callee;if(!_(n)&&q6.has(n))return $6(e.arguments[0],t.concat(e))}return[e,t]}function G6(e,t,n){let r,o,i=13===e.type?e.props:e.arguments[2],a=[];if(i&&!_(i)&&14===i.type){const e=$6(i);i=e[0],a=e[1],o=a[a.length-1]}if(null==i||_(i))r=H5([t]);else if(14===i.type){const e=i.arguments[0];_(e)||15!==e.type?i.callee===S5?r=G5(n.helper(_5),[H5([t]),i]):i.arguments.unshift(H5([t])):K6(t,e)||e.properties.unshift(t),!r&&(r=i)}else 15===i.type?(K6(t,i)||i.properties.unshift(t),r=i):(r=G5(n.helper(_5),[H5([t]),i]),o&&o.callee===E5&&(o=a[a.length-2]));13===e.type?o?o.arguments[0]=r:e.props=r:o?o.arguments[0]=r:e.arguments[2]=r}function K6(e,t){let n=!1;if(4===e.key.type){const r=e.key.content;n=t.properties.some((e=>4===e.key.type&&e.key.content===r))}return n}function X6(e,t){return`_${t}_${e.replace(/[^\w]/g,((t,n)=>"-"===t?"_":e.charCodeAt(n).toString()))}`}function Y6(e){return 14===e.type&&e.callee===N5?e.arguments[1].returns:e}const J6=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/,Q6={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:l,isPreTag:l,isIgnoreNewlineTag:l,isCustomElement:l,onError:p6,onWarn:d6,comments:!1,prefixIdentifiers:!1};let Z6=Q6,e8=null,t8="",n8=null,r8=null,o8="",i8=-1,a8=-1,l8=0,s8=!1,c8=null;const u8=[],f8=new class{constructor(e,t){this.stack=e,this.cbs=t,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=t6,this.delimiterClose=n6,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return 2===this.mode&&0===this.stack.length}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=t6,this.delimiterClose=n6} +/** + * Generate Position object with line / column information using recorded + * newline positions. We know the index is always going to be an already + * processed index, so all the newlines up to this index should have been + * recorded. + */getPos(e){let t=1,n=e+1;for(let r=this.newlines.length-1;r>=0;r--){const o=this.newlines[r];if(e>o){t=r+2,n=e-o;break}}return{column:n,line:t,offset:e}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(e){60===e?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):this.inVPre||e!==this.delimiterOpen[0]||(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e))}stateInterpolationOpen(e){if(e===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const e=this.index+1-this.delimiterOpen.length;e>this.sectionStart&&this.cbs.ontext(this.sectionStart,e),this.state=3,this.sectionStart=e}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(e)):(this.state=1,this.stateText(e))}stateInterpolation(e){e===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(e))}stateInterpolationClose(e){e===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(e))}stateSpecialStartSequence(e){const t=this.sequenceIndex===this.currentSequence.length;if(t? +// If we are at the end of the sequence, make sure the tag name has ended +i6(e): +// Otherwise, do a case-insensitive comparison +(32|e)===this.currentSequence[this.sequenceIndex]){if(!t)return void this.sequenceIndex++}else this.inRCDATA=!1;this.sequenceIndex=0,this.state=6,this.stateInTagName(e)} +/** Look for an end tag. For <title> and <textarea>, also decode entities. */stateInRCDATA(e){if(this.sequenceIndex===this.currentSequence.length){if(62===e||o6(e)){const t=this.index-this.currentSequence.length;if(this.sectionStart<t){const e=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=e}return this.sectionStart=t+2,this.stateInClosingTagName(e),void(this.inRCDATA=!1)}this.sequenceIndex=0}(32|e)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:0===this.sequenceIndex?this.currentSequence===l6.TitleEnd||this.currentSequence===l6.TextareaEnd&&!this.inSFCRoot?this.inVPre||e!==this.delimiterOpen[0]||(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=Number(60===e)}stateCDATASequence(e){e===l6.Cdata[this.sequenceIndex]?++this.sequenceIndex===l6.Cdata.length&&(this.state=28,this.currentSequence=l6.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(e))} +/** + * When we wait for one specific character, we can speed things up + * by skipping through the buffer until we find it. + * + * @returns Whether the character was found. + */fastForwardTo(e){for(;++this.index<this.buffer.length;){const t=this.buffer.charCodeAt(this.index);if(10===t&&this.newlines.push(this.index),t===e)return!0}return this.index=this.buffer.length-1,!1} +/** + * Comments and CDATA end with `-->` and `]]>`. + * + * Their common qualities are: + * - Their end sequences have a distinct character they start with. + * - That character is then repeated, so we have to check multiple repeats. + * - All characters but the start character of the sequence can be skipped. + */stateInCommentLike(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===l6.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):0===this.sequenceIndex?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(e,t){this.enterRCDATA(e,t),this.state=31}enterRCDATA(e,t){this.inRCDATA=!0,this.currentSequence=e,this.sequenceIndex=t}stateBeforeTagName(e){33===e?(this.state=22,this.sectionStart=this.index+1):63===e?(this.state=24,this.sectionStart=this.index+1):r6(e)?(this.sectionStart=this.index,0===this.mode?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:this.state=116===e?30:115===e?29:6):47===e?this.state=8:(this.state=1,this.stateText(e))}stateInTagName(e){i6(e)&&this.handleTagName(e)}stateInSFCRootTagName(e){if(i6(e)){const t=this.buffer.slice(this.sectionStart,this.index);"template"!==t&&this.enterRCDATA(a6("</"+t),0),this.handleTagName(e)}}handleTagName(e){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)}stateBeforeClosingTagName(e){o6(e)||(62===e?(this.state=1,this.sectionStart=this.index+1):(this.state=r6(e)?9:27,this.sectionStart=this.index))}stateInClosingTagName(e){(62===e||o6(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(e))}stateAfterClosingTagName(e){62===e&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(e){62===e?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):47===e?this.state=7:60===e&&47===this.peek()?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):o6(e)||this.handleAttrStart(e)}handleAttrStart(e){118===e&&45===this.peek()?(this.state=13,this.sectionStart=this.index):46===e||58===e||64===e||35===e?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(e){62===e?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):o6(e)||(this.state=11,this.stateBeforeAttrName(e))}stateInAttrName(e){(61===e||i6(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(e))}stateInDirName(e){61===e||i6(e)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(e)):58===e?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):46===e&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(e){61===e||i6(e)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(e)):91===e?this.state=15:46===e&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(e){93===e?this.state=14:(61===e||i6(e))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(e))}stateInDirModifier(e){61===e||i6(e)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(e)):46===e&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(e){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(e)}stateAfterAttrName(e){61===e?this.state=18:47===e||62===e?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)):o6(e)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(e))}stateBeforeAttrValue(e){34===e?(this.state=19,this.sectionStart=this.index+1):39===e?(this.state=20,this.sectionStart=this.index+1):o6(e)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(e))}handleInAttrValue(e,t){(e===t||this.fastForwardTo(t))&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(34===t?3:2,this.index+1),this.state=11)}stateInAttrValueDoubleQuotes(e){this.handleInAttrValue(e,34)}stateInAttrValueSingleQuotes(e){this.handleInAttrValue(e,39)}stateInAttrValueNoQuotes(e){o6(e)||62===e?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(e)):39!==e&&60!==e&&61!==e&&96!==e||this.cbs.onerr(18,this.index)}stateBeforeDeclaration(e){91===e?(this.state=26,this.sequenceIndex=0):this.state=45===e?25:23}stateInDeclaration(e){(62===e||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(e){(62===e||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(e){45===e?(this.state=28,this.currentSequence=l6.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(e){(62===e||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(e){e===l6.ScriptEnd[3]?this.startSpecial(l6.ScriptEnd,4):e===l6.StyleEnd[3]?this.startSpecial(l6.StyleEnd,4):(this.state=6,this.stateInTagName(e))}stateBeforeSpecialT(e){e===l6.TitleEnd[3]?this.startSpecial(l6.TitleEnd,4):e===l6.TextareaEnd[3]?this.startSpecial(l6.TextareaEnd,4):(this.state=6,this.stateInTagName(e))}startEntity(){}stateInEntity(){} +/** + * Iterates through the buffer, calling the function corresponding to the current state. + * + * States that are more likely to be hit are higher up, as a performance improvement. + */parse(e){for(this.buffer=e;this.index<this.buffer.length;){const e=this.buffer.charCodeAt(this.index);switch(10===e&&this.newlines.push(this.index),this.state){case 1:this.stateText(e);break;case 2:this.stateInterpolationOpen(e);break;case 3:this.stateInterpolation(e);break;case 4:this.stateInterpolationClose(e);break;case 31:this.stateSpecialStartSequence(e);break;case 32:this.stateInRCDATA(e);break;case 26:this.stateCDATASequence(e);break;case 19:this.stateInAttrValueDoubleQuotes(e);break;case 12:this.stateInAttrName(e);break;case 13:this.stateInDirName(e);break;case 14:this.stateInDirArg(e);break;case 15:this.stateInDynamicDirArg(e);break;case 16:this.stateInDirModifier(e);break;case 28:this.stateInCommentLike(e);break;case 27:this.stateInSpecialComment(e);break;case 11:this.stateBeforeAttrName(e);break;case 6:this.stateInTagName(e);break;case 34:this.stateInSFCRootTagName(e);break;case 9:this.stateInClosingTagName(e);break;case 5:this.stateBeforeTagName(e);break;case 17:this.stateAfterAttrName(e);break;case 20:this.stateInAttrValueSingleQuotes(e);break;case 18:this.stateBeforeAttrValue(e);break;case 8:this.stateBeforeClosingTagName(e);break;case 10:this.stateAfterClosingTagName(e);break;case 29:this.stateBeforeSpecialS(e);break;case 30:this.stateBeforeSpecialT(e);break;case 21:this.stateInAttrValueNoQuotes(e);break;case 7:this.stateInSelfClosingTag(e);break;case 23:this.stateInDeclaration(e);break;case 22:this.stateBeforeDeclaration(e);break;case 25:this.stateBeforeComment(e);break;case 24:this.stateInProcessingInstruction(e);break;case 33:this.stateInEntity()}this.index++}this.cleanup(),this.finish()} +/** + * Remove data that has already been consumed from the buffer. + */cleanup(){this.sectionStart!==this.index&&(1===this.state||32===this.state&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):19!==this.state&&20!==this.state&&21!==this.state||(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.handleTrailingData(),this.cbs.onend()} +/** Handle any trailing data. */handleTrailingData(){const e=this.buffer.length;this.sectionStart>=e||(28===this.state?this.currentSequence===l6.CdataEnd?this.cbs.oncdata(this.sectionStart,e):this.cbs.oncomment(this.sectionStart,e):6===this.state||11===this.state||18===this.state||17===this.state||12===this.state||13===this.state||14===this.state||15===this.state||16===this.state||20===this.state||19===this.state||21===this.state||9===this.state||this.cbs.ontext(this.sectionStart,e))}emitCodePoint(e,t){}}(u8,{onerr:P8,ontext(e,t){m8(h8(e,t),e,t)},ontextentity(e,t,n){m8(e,t,n)},oninterpolation(e,t){if(s8)return m8(h8(e,t),e,t);let n=e+f8.delimiterOpen.length,r=t-f8.delimiterClose.length;for(;o6(t8.charCodeAt(n));)n++;for(;o6(t8.charCodeAt(r-1));)r--;let o=h8(n,r);o.includes("&")&&(o=Z6.decodeEntities(o,!1)),C8({type:5,content:M8(o,!1,A8(n,r)),loc:A8(e,t)})},onopentagname(e,t){const n=h8(e,t);n8={type:1,tag:n,ns:Z6.getNamespace(n,u8[0],Z6.ns),tagType:0, +// will be refined on tag close +props:[],children:[],loc:A8(e-1,t),codegenNode:void 0}},onopentagend(e){v8(e)},onclosetag(e,t){const n=h8(e,t);if(!Z6.isVoidTag(n)){let r=!1;for(let e=0;e<u8.length;e++){if(u8[e].tag.toLowerCase()===n.toLowerCase()){r=!0,e>0&&P8(24,u8[0].loc.start.offset);for(let n=0;n<=e;n++){g8(u8.shift(),t,n<e)}break}}r||P8(23,y8(e,60))}},onselfclosingtag(e){const t=n8.tag;n8.isSelfClosing=!0,v8(e),u8[0]&&u8[0].tag===t&&g8(u8.shift(),e)},onattribname(e,t){r8={type:6,name:h8(e,t),nameLoc:A8(e,t),value:void 0,loc:A8(e)}},ondirname(e,t){const n=h8(e,t),r="."===n||":"===n?"bind":"@"===n?"on":"#"===n?"slot":n.slice(2);if(s8||""!==r||P8(26,e),s8||""===r)r8={type:6,name:n,nameLoc:A8(e,t),value:void 0,loc:A8(e)};else if(r8={type:7,name:r,rawName:n,exp:void 0,arg:void 0,modifiers:"."===n?[q5("prop")]:[],loc:A8(e)},"pre"===r){s8=f8.inVPre=!0,c8=n8;const e=n8.props;for(let t=0;t<e.length;t++)7===e[t].type&&(e[t]=T8(e[t]))}},ondirarg(e,t){if(e===t)return;const n=h8(e,t);if(s8)r8.name+=n,k8(r8.nameLoc,t);else{const r="["!==n[0];r8.arg=M8(r?n:n.slice(1,-1),r,A8(e,t),r?3:0)}},ondirmodifier(e,t){const n=h8(e,t);if(s8)r8.name+="."+n,k8(r8.nameLoc,t);else if("slot"===r8.name){const e=r8.arg;e&&(e.content+="."+n,k8(e.loc,t))}else{const r=q5(n,!0,A8(e,t));r8.modifiers.push(r)}},onattribdata(e,t){o8+=h8(e,t),i8<0&&(i8=e),a8=t},onattribentity(e,t,n){o8+=e,i8<0&&(i8=t),a8=n},onattribnameend(e){const t=r8.loc.start.offset,n=h8(t,e);7===r8.type&&(r8.rawName=n),n8.props.some((e=>(7===e.type?e.rawName:e.name)===n))&&P8(2,t)},onattribend(e,t){if(n8&&r8){if(k8(r8.loc,t),0!==e)if(o8.includes("&")&&(o8=Z6.decodeEntities(o8,!0)),6===r8.type)"class"===r8.name&&(o8=S8(o8).trim()),1!==e||o8||P8(13,t),r8.value={type:2,content:o8,loc:1===e?A8(i8,a8):A8(i8-1,a8+1)},f8.inSFCRoot&&"template"===n8.tag&&"lang"===r8.name&&o8&&"html"!==o8&&f8.enterRCDATA(a6("</template"),0);else{let e=0;r8.exp=M8(o8,!1,A8(i8,a8),0,e),"for"===r8.name&&(r8.forParseResult=function(e){const t=e.loc,n=e.content,r=n.match(J6);if(!r)return;const[,o,i]=r,a=(e,n,r=!1)=>{const o=t.start.offset+n;return M8(e,!1,A8(o,o+e.length),0,r?1:0 +/* Normal */)},l={source:a(i.trim(),n.indexOf(i,o.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let s=o.trim().replace(d8,"").trim();const c=o.indexOf(s),u=s.match(p8);if(u){s=s.replace(p8,"").trim();const e=u[1].trim();let t;if(e&&(t=n.indexOf(e,c+s.length),l.key=a(e,t,!0)),u[2]){const r=u[2].trim();r&&(l.index=a(r,n.indexOf(r,l.key?t+e.length:c+s.length),!0))}}s&&(l.value=a(s,c,!0));return l}(r8.exp));let t=-1;"bind"===r8.name&&(t=r8.modifiers.findIndex((e=>"sync"===e.content)))>-1&&f6("COMPILER_V_BIND_SYNC",Z6,r8.loc,r8.rawName)&&(r8.name="model",r8.modifiers.splice(t,1))}7===r8.type&&"pre"===r8.name||n8.props.push(r8)}o8="",i8=a8=-1},oncomment(e,t){Z6.comments&&C8({type:3,content:h8(e,t),loc:A8(e-4,t+3)})},onend(){const e=t8.length;for(let t=0;t<u8.length;t++)g8(u8[t],e-1),P8(24,u8[t].loc.start.offset)},oncdata(e,t){0!==u8[0].ns?m8(h8(e,t),e,t):P8(1,e-9)},onprocessinginstruction(e){0===(u8[0]?u8[0].ns:Z6.ns)&&P8(21,e-1)}}),p8=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,d8=/^\(|\)$/g;function h8(e,t){return t8.slice(e,t)}function v8(e){f8.inSFCRoot&&(n8.innerLoc=A8(e+1,e+1)),C8(n8);const{tag:t,ns:n}=n8;0===n&&Z6.isPreTag(t)&&l8++,Z6.isVoidTag(t)?g8(n8,e):(u8.unshift(n8),1!==n&&2!==n||(f8.inXML=!0)),n8=null}function m8(e,t,n){{const t=u8[0]&&u8[0].tag;"script"!==t&&"style"!==t&&e.includes("&")&&(e=Z6.decodeEntities(e,!1))}const r=u8[0]||e8,o=r.children[r.children.length-1];o&&2===o.type?(o.content+=e,k8(o.loc,n)):r.children.push({type:2,content:e,loc:A8(t,n)})}function g8(e,t,n=!1){k8(e.loc,n?y8(t,60):function(e,t){let n=e;for(;t8.charCodeAt(n)!==t&&n<t8.length-1;)n++;return n}(t,62)+1),f8.inSFCRoot&&(e.children.length?e.innerLoc.end=u({},e.children[e.children.length-1].loc.end):e.innerLoc.end=u({},e.innerLoc.start),e.innerLoc.source=h8(e.innerLoc.start.offset,e.innerLoc.end.offset));const{tag:r,ns:o,children:i}=e;if(s8||("slot"===r?e.tagType=2:_8(e)?e.tagType=3:function({tag:e,props:t}){if(Z6.isCustomElement(e))return!1;if("component"===e||(n=e.charCodeAt(0),n>64&&n<91)||x6(e)||Z6.isBuiltInComponent&&Z6.isBuiltInComponent(e)||Z6.isNativeTag&&!Z6.isNativeTag(e))return!0;var n;for(let r=0;r<t.length;r++){const e=t[r];if(6===e.type){if("is"===e.name&&e.value){if(e.value.content.startsWith("vue:"))return!0;if(f6("COMPILER_IS_ON_ELEMENT",Z6,e.loc))return!0}}else if( +// :is on plain element - only treat as component in compat mode +"bind"===e.name&&B6(e.arg,"is")&&f6("COMPILER_IS_ON_ELEMENT",Z6,e.loc))return!0}return!1}(e)&&(e.tagType=1)),f8.inRCDATA||(e.children=x8(i)),0===o&&Z6.isIgnoreNewlineTag(r)){const e=i[0];e&&2===e.type&&(e.content=e.content.replace(/^\r?\n/,""))}0===o&&Z6.isPreTag(r)&&l8--,c8===e&&(s8=f8.inVPre=!1,c8=null),f8.inXML&&0===(u8[0]?u8[0].ns:Z6.ns)&&(f8.inXML=!1);{const t=e.props;if(!f8.inSFCRoot&&u6("COMPILER_NATIVE_TEMPLATE",Z6)&&"template"===e.tag&&!_8(e)){const t=u8[0]||e8,n=t.children.indexOf(e);t.children.splice(n,1,...e.children)}const n=t.find((e=>6===e.type&&"inline-template"===e.name));n&&f6("COMPILER_INLINE_TEMPLATE",Z6,n.loc)&&e.children.length&&(n.value={type:2,content:h8(e.children[0].loc.start.offset,e.children[e.children.length-1].loc.end.offset),loc:n.loc})}}function y8(e,t){let n=e;for(;t8.charCodeAt(n)!==t&&n>=0;)n--;return n}const b8=new Set(["if","else","else-if","for","slot"]);function _8({tag:e,props:t}){if("template"===e)for(let n=0;n<t.length;n++)if(7===t[n].type&&b8.has(t[n].name))return!0;return!1}const w8=/\r\n/g;function x8(e,t){const n="preserve"!==Z6.whitespace;let r=!1;for(let o=0;o<e.length;o++){const t=e[o];if(2===t.type)if(l8)t.content=t.content.replace(w8,"\n");else if(O8(t.content)){const i=e[o-1]&&e[o-1].type,a=e[o+1]&&e[o+1].type;!i||!a||n&&(3===i&&(3===a||1===a)||1===i&&(3===a||1===a&&E8(t.content)))?(r=!0,e[o]=null):t.content=" "}else n&&(t.content=S8(t.content))}return r?e.filter(Boolean):e}function O8(e){for(let t=0;t<e.length;t++)if(!o6(e.charCodeAt(t)))return!1;return!0}function E8(e){for(let t=0;t<e.length;t++){const n=e.charCodeAt(t);if(10===n||13===n)return!0}return!1}function S8(e){let t="",n=!1;for(let r=0;r<e.length;r++)o6(e.charCodeAt(r))?n||(t+=" ",n=!0):(t+=e[r],n=!1);return t}function C8(e){(u8[0]||e8).children.push(e)}function A8(e,t){return{start:f8.getPos(e), +// @ts-expect-error allow late attachment +end:null==t?t:f8.getPos(t), +// @ts-expect-error allow late attachment +source:null==t?t:h8(e,t)}}function k8(e,t){e.end=f8.getPos(t),e.source=h8(e.start.offset,t)}function T8(e){const t={type:6,name:e.rawName,nameLoc:A8(e.loc.start.offset,e.loc.start.offset+e.rawName.length),value:void 0,loc:e.loc};if(e.exp){const n=e.exp.loc;n.end.offset<e.loc.end.offset&&(n.start.offset--,n.start.column--,n.end.offset++,n.end.column++),t.value={type:2,content:e.exp.content,loc:n}}return t}function M8(e,t=!1,n,r=0,o=0){return q5(e,t,n,r)}function P8(e,t,n){Z6.onError(h6(e,A8(t,t)))}function j8(e,t){if(f8.reset(),n8=null,r8=null,o8="",i8=-1,a8=-1,u8.length=0,t8=e,Z6=u({},Q6),t){let e;for(e in t)null!=t[e]&&(Z6[e]=t[e])}f8.mode="html"===Z6.parseMode?1:"sfc"===Z6.parseMode?2:0,f8.inXML=1===Z6.ns||2===Z6.ns;const n=t&&t.delimiters;n&&(f8.delimiterOpen=a6(n[0]),f8.delimiterClose=a6(n[1]));const r=e8=z5([],e);return f8.parse(t8),r.loc=A8(0,e.length),r.children=x8(r.children),e8=null,r}function D8(e,t){N8(e,void 0,t, +// Root node is unfortunately non-hoistable due to potential parent +// fallthrough attributes. +I8(e,e.children[0]))}function I8(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!W6(t)}function N8(e,t,n,r=!1,o=!1){const{children:i}=e,a=[];for(let u=0;u<i.length;u++){const t=i[u];if(1===t.type&&0===t.tagType){const e=r?0:L8(t,n);if(e>0){if(e>=2){t.codegenNode.patchFlag=-1,a.push(t);continue}}else{const e=t.codegenNode;if(13===e.type){const r=e.patchFlag;if((void 0===r||512===r||1===r)&&B8(t,n)>=2){const r=z8(t);r&&(e.props=n.hoist(r))}e.dynamicProps&&(e.dynamicProps=n.hoist(e.dynamicProps))}}}else if(12===t.type){if((r?0:L8(t,n))>=2){a.push(t);continue}}if(1===t.type){const r=1===t.tagType;r&&n.scopes.vSlot++,N8(t,e,n,!1,o),r&&n.scopes.vSlot--}else if(11===t.type)N8(t,e,n,1===t.children.length,!0);else if(9===t.type)for(let r=0;r<t.branches.length;r++)N8(t.branches[r],e,n,1===t.branches[r].children.length,o)}let l=!1;if(a.length===i.length&&1===e.type)if(0===e.tagType&&e.codegenNode&&13===e.codegenNode.type&&h(e.codegenNode.children))e.codegenNode.children=s(U5(e.codegenNode.children)),l=!0;else if(1===e.tagType&&e.codegenNode&&13===e.codegenNode.type&&e.codegenNode.children&&!h(e.codegenNode.children)&&15===e.codegenNode.children.type){const t=c(e.codegenNode,"default");t&&(t.returns=s(U5(t.returns)),l=!0)}else if(3===e.tagType&&t&&1===t.type&&1===t.tagType&&t.codegenNode&&13===t.codegenNode.type&&t.codegenNode.children&&!h(t.codegenNode.children)&&15===t.codegenNode.children.type){const n=F6(e,"slot",!0),r=n&&n.arg&&c(t.codegenNode,n.arg);r&&(r.returns=s(U5(r.returns)),l=!0)}if(!l)for(const u of a)u.codegenNode=n.cache(u.codegenNode);function s(e){const t=n.cache(e);return o&&n.hmr&&(t.needArraySpread=!0),t}function c(e,t){if(e.children&&!h(e.children)&&15===e.children.type){const n=e.children.properties.find((e=>e.key===t||e.key.content===t));return n&&n.value}}a.length&&n.transformHoist&&n.transformHoist(i,n,e)}function L8(e,t){const{constantCache:n}=t;switch(e.type){case 1:if(0!==e.tagType)return 0;const r=n.get(e);if(void 0!==r)return r;const o=e.codegenNode;if(13!==o.type)return 0;if(o.isBlock&&"svg"!==e.tag&&"foreignObject"!==e.tag&&"math"!==e.tag)return 0;if(void 0===o.patchFlag){let r=3;const i=B8(e,t);if(0===i)return n.set(e,0),0;i<r&&(r=i);for(let o=0;o<e.children.length;o++){const i=L8(e.children[o],t);if(0===i)return n.set(e,0),0;i<r&&(r=i)}if(r>1)for(let o=0;o<e.props.length;o++){const i=e.props[o];if(7===i.type&&"bind"===i.name&&i.exp){const o=L8(i.exp,t);if(0===o)return n.set(e,0),0;o<r&&(r=o)}}if(o.isBlock){for(let t=0;t<e.props.length;t++){if(7===e.props[t].type)return n.set(e,0),0}t.removeHelper(r5),t.removeHelper(Z5(t.inSSR,o.isComponent)),o.isBlock=!1,t.helper(Q5(t.inSSR,o.isComponent))}return n.set(e,r),r}return n.set(e,0),0;case 2:case 3:return 3;case 9:case 11:case 10:default:return 0;case 5:case 12:return L8(e.content,t);case 4:return e.constType;case 8:let i=3;for(let n=0;n<e.children.length;n++){const r=e.children[n];if(_(r)||w(r))continue;const o=L8(r,t);if(0===o)return 0;o<i&&(i=o)}return i;case 20:return 2}}const F8=new Set([w5,x5,O5,E5]);function R8(e,t){if(14===e.type&&!_(e.callee)&&F8.has(e.callee)){const n=e.arguments[0];if(4===n.type)return L8(n,t);if(14===n.type)return R8(n,t)}return 0}function B8(e,t){let n=3;const r=z8(e);if(r&&15===r.type){const{properties:e}=r;for(let r=0;r<e.length;r++){const{key:o,value:i}=e[r],a=L8(o,t);if(0===a)return a;let l;if(a<n&&(n=a),l=4===i.type?L8(i,t):14===i.type?R8(i,t):0,0===l)return l;l<n&&(n=l)}}return n}function z8(e){const t=e.codegenNode;if(13===t.type)return t.props}function V8(e,{filename:t="",prefixIdentifiers:n=!1,hoistStatic:r=!1,hmr:i=!1,cacheHandlers:l=!1,nodeTransforms:s=[],directiveTransforms:c={},transformHoist:u=null,isBuiltInComponent:f=a,isCustomElement:p=a,expressionPlugins:d=[],scopeId:h=null,slotted:v=!0,ssr:m=!1,inSSR:g=!1,ssrCssVars:y="",bindingMetadata:b=o,inline:w=!1,isTS:x=!1,onError:O=p6,onWarn:E=d6,compatConfig:S}){const C=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),A={ +// options +filename:t,selfName:C&&L(D(C[1])),prefixIdentifiers:n,hoistStatic:r,hmr:i,cacheHandlers:l,nodeTransforms:s,directiveTransforms:c,transformHoist:u,isBuiltInComponent:f,isCustomElement:p,expressionPlugins:d,scopeId:h,slotted:v,ssr:m,inSSR:g,ssrCssVars:y,bindingMetadata:b,inline:w,isTS:x,onError:O,onWarn:E,compatConfig:S, +// state +root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],cached:[],constantCache:new WeakMap,temps:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,grandParent:null,currentNode:e,childIndex:0,inVOnce:!1, +// methods +helper(e){const t=A.helpers.get(e)||0;return A.helpers.set(e,t+1),e},removeHelper(e){const t=A.helpers.get(e);if(t){const n=t-1;n?A.helpers.set(e,n):A.helpers.delete(e)}},helperString:e=>`_${F5[A.helper(e)]}`,replaceNode(e){A.parent.children[A.childIndex]=A.currentNode=e},removeNode(e){const t=A.parent.children,n=e?t.indexOf(e):A.currentNode?A.childIndex:-1;e&&e!==A.currentNode?A.childIndex>n&&(A.childIndex--,A.onNodeRemoved()):(A.currentNode=null,A.onNodeRemoved()),A.parent.children.splice(n,1)},onNodeRemoved:a,addIdentifiers(e){},removeIdentifiers(e){},hoist(e){_(e)&&(e=q5(e)),A.hoists.push(e);const t=q5(`_hoisted_${A.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache(e,t=!1,n=!1){const r=Y5(A.cached.length,e,t,n);return A.cached.push(r),r}};return A.filters=new Set,A}function U8(e,t){const n=V8(e,t);H8(e,n),t.hoistStatic&&D8(e,n),t.ssr||function(e,t){const{helper:n}=t,{children:r}=e;if(1===r.length){const n=r[0];if(I8(e,n)&&n.codegenNode){const r=n.codegenNode;13===r.type&&e6(r,t),e.codegenNode=r}else e.codegenNode=n}else if(r.length>1){let r=64;e.codegenNode=V5(t,n(Q4),void 0,e.children,r,void 0,void 0,!0,void 0,!1)}}(e,n),e.helpers=new Set([...n.helpers.keys()]),e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.transformed=!0,e.filters=[...n.filters]}function H8(e,t){t.currentNode=e;const{nodeTransforms:n}=t,r=[];for(let i=0;i<n.length;i++){const o=n[i](e,t);if(o&&(h(o)?r.push(...o):r.push(o)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(s5);break;case 5:t.ssr||t.helper(b5);break; +// for container types, further traverse downwards +case 9:for(let n=0;n<e.branches.length;n++)H8(e.branches[n],t);break;case 10:case 11:case 1:case 0:!function(e,t){let n=0;const r=()=>{n--};for(;n<e.children.length;n++){const o=e.children[n];_(o)||(t.grandParent=t.parent,t.parent=e,t.childIndex=n,t.onNodeRemoved=r,H8(o,t))}}(e,t)}t.currentNode=e;let o=r.length;for(;o--;)r[o]()}function W8(e,t){const n=_(e)?t=>t===e:t=>e.test(t);return(e,r)=>{if(1===e.type){const{props:o}=e;if(3===e.tagType&&o.some(U6))return;const i=[];for(let a=0;a<o.length;a++){const l=o[a];if(7===l.type&&n(l.name)){o.splice(a,1),a--;const n=t(e,l,r);n&&i.push(n)}}return i}}}const q8="/*@__PURE__*/",$8=e=>`${F5[e]}: _${F5[e]}`;function G8(e,t={}){const n=function(e,{mode:t="function",prefixIdentifiers:n="module"===t,sourceMap:r=!1,filename:o="template.vue.html",scopeId:i=null,optimizeImports:a=!1,runtimeGlobalName:l="Vue",runtimeModuleName:s="vue",ssrRuntimeModuleName:c="vue/server-renderer",ssr:u=!1,isTS:f=!1,inSSR:p=!1}){const d={mode:t,prefixIdentifiers:n,sourceMap:r,filename:o,scopeId:i,optimizeImports:a,runtimeGlobalName:l,runtimeModuleName:s,ssrRuntimeModuleName:c,ssr:u,isTS:f,inSSR:p,source:e.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper:e=>`_${F5[e]}`,push(e,t=-2,n){d.code+=e},indent(){h(++d.indentLevel)},deindent(e=!1){e?--d.indentLevel:h(--d.indentLevel)},newline(){h(d.indentLevel)}};function h(e){d.push("\n"+" ".repeat(e),0 +/* Start */)}return d}(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:r,push:o,prefixIdentifiers:i,indent:a,deindent:l,newline:s,scopeId:c,ssr:u}=n,f=Array.from(e.helpers),p=f.length>0,d=!i&&"module"!==r;!function(e,t){const{ssr:n,prefixIdentifiers:r,push:o,newline:i,runtimeModuleName:a,runtimeGlobalName:l,ssrRuntimeModuleName:s}=t,c=l,u=Array.from(e.helpers);if(u.length>0&&(o(`const _Vue = ${c}\n`,-1 +/* End */),e.hoists.length)){o(`const { ${[a5,l5,s5,c5,u5].filter((e=>u.includes(e))).map($8).join(", ")} } = _Vue\n`,-1 +/* End */)}(function(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:r}=t;r();for(let o=0;o<e.length;o++){const i=e[o];i&&(n(`const _hoisted_${o+1} = `),J8(i,t),r())}t.pure=!1})(e.hoists,t),i(),o("return ")}(e,n);if(o(`function ${u?"ssrRender":"render"}(${(u?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ")}) {`),a(),d&&(o("with (_ctx) {"),a(),p&&(o(`const { ${f.map($8).join(", ")} } = _Vue\n`,-1 +/* End */),s())),e.components.length&&(K8(e.components,"component",n),(e.directives.length||e.temps>0)&&s()),e.directives.length&&(K8(e.directives,"directive",n),e.temps>0&&s()),e.filters&&e.filters.length&&(s(),K8(e.filters,"filter",n),s()),e.temps>0){o("let ");for(let t=0;t<e.temps;t++)o(`${t>0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(o("\n",0 +/* Start */),s()),u||o("return "),e.codegenNode?J8(e.codegenNode,n):o("null"),d&&(l(),o("}")),l(),o("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function K8(e,t,{helper:n,push:r,newline:o,isTS:i}){const a=n("filter"===t?h5:"component"===t?f5:d5);for(let l=0;l<e.length;l++){let n=e[l];const s=n.endsWith("__self");s&&(n=n.slice(0,-6)),r(`const ${X6(n,t)} = ${a}(${JSON.stringify(n)}${s?", true":""})${i?"!":""}`),l<e.length-1&&o()}}function X8(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),Y8(e,t,n),n&&t.deindent(),t.push("]")}function Y8(e,t,n=!1,r=!0){const{push:o,newline:i}=t;for(let a=0;a<e.length;a++){const l=e[a];_(l)?o(l,-3 +/* Unknown */):h(l)?X8(l,t):J8(l,t),a<e.length-1&&(n?(r&&o(","),i()):r&&o(", "))}}function J8(e,t){if(_(e))t.push(e,-3 +/* Unknown */);else if(w(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:case 12:J8(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),-3,e)}(e,t);break;case 4:Q8(e,t);break;case 5:!function(e,t){const{push:n,helper:r,pure:o}=t;o&&n(q8);n(`${r(b5)}(`),J8(e.content,t),n(")")}(e,t);break;case 8:Z8(e,t);break;case 3:!function(e,t){const{push:n,helper:r,pure:o}=t;o&&n(q8);n(`${r(s5)}(${JSON.stringify(e.content)})`,-3,e)}(e,t);break;case 13:!function(e,t){const{push:n,helper:r,pure:o}=t,{tag:i,props:a,children:l,patchFlag:s,dynamicProps:c,directives:u,isBlock:f,disableTracking:p,isComponent:d}=e;let h;s&&(h=String(s));u&&n(r(v5)+"(");f&&n(`(${r(r5)}(${p?"true":""}), `);o&&n(q8);const v=f?Z5(t.inSSR,d):Q5(t.inSSR,d);n(r(v)+"(",-2,e),Y8(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map((e=>e||"null"))}([i,a,l,h,c]),t),n(")"),f&&n(")");u&&(n(", "),J8(u,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:r,pure:o}=t,i=_(e.callee)?e.callee:r(e.callee);o&&n(q8);n(i+"(",-2,e),Y8(e.arguments,t),n(")")}(e,t);break;case 15:!function(e,t){const{push:n,indent:r,deindent:o,newline:i}=t,{properties:a}=e;if(!a.length)return void n("{}",-2,e);const l=a.length>1||!1;n(l?"{":"{ "),l&&r();for(let s=0;s<a.length;s++){const{key:e,value:r}=a[s];e7(e,t),n(": "),J8(r,t),s<a.length-1&&(n(","),i())}l&&o(),n(l?"}":" }")}(e,t);break;case 17:!function(e,t){X8(e.elements,t)}(e,t);break;case 18:!function(e,t){const{push:n,indent:r,deindent:o}=t,{params:i,returns:a,body:l,newline:s,isSlot:c}=e;c&&n(`_${F5[j5]}(`);n("(",-2,e),h(i)?Y8(i,t):i&&J8(i,t);n(") => "),(s||l)&&(n("{"),r());a?(s&&n("return "),h(a)?X8(a,t):J8(a,t)):l&&J8(l,t);(s||l)&&(o(),n("}"));c&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}(e,t);break;case 19:!function(e,t){const{test:n,consequent:r,alternate:o,newline:i}=e,{push:a,indent:l,deindent:s,newline:c}=t;if(4===n.type){const e=!E6(n.content);e&&a("("),Q8(n,t),e&&a(")")}else a("("),J8(n,t),a(")");i&&l(),t.indentLevel++,i||a(" "),a("? "),J8(r,t),t.indentLevel--,i&&c(),i||a(" "),a(": ");const u=19===o.type;u||t.indentLevel++;J8(o,t),u||t.indentLevel--;i&&s(!0 +/* without newline */)}(e,t);break;case 20:!function(e,t){const{push:n,helper:r,indent:o,deindent:i,newline:a}=t,{needPauseTracking:l,needArraySpread:s}=e;s&&n("[...(");n(`_cache[${e.index}] || (`),l&&(o(),n(`${r(T5)}(-1`),e.inVOnce&&n(", true"),n("),"),a(),n("("));n(`_cache[${e.index}] = `),J8(e.value,t),l&&(n(`).cacheIndex = ${e.index},`),a(),n(`${r(T5)}(1),`),a(),n(`_cache[${e.index}]`),i());n(")"),s&&n(")]")}(e,t);break;case 21:Y8(e.body,t,!0,!1)}}function Q8(e,t){const{content:n,isStatic:r}=e;t.push(r?JSON.stringify(n):n,-3,e)}function Z8(e,t){for(let n=0;n<e.children.length;n++){const r=e.children[n];_(r)?t.push(r,-3 +/* Unknown */):J8(r,t)}}function e7(e,t){const{push:n}=t;if(8===e.type)n("["),Z8(e,t),n("]");else if(e.isStatic){n(E6(e.content)?e.content:JSON.stringify(e.content),-2,e)}else n(`[${e.content}]`,-3,e)}new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b");function t7(e,t,n=!1,r=!1,o=Object.create(t.identifiers)){return e}const n7=W8(/^(if|else|else-if)$/,((e,t,n)=>r7(e,t,n,((e,t,r)=>{const o=n.parent.children;let i=o.indexOf(e),a=0;for(;i-- >=0;){const e=o[i];e&&9===e.type&&(a+=e.branches.length)}return()=>{if(r)e.codegenNode=i7(t,a,n);else{const r=function(e){for(;;)if(19===e.type){if(19!==e.alternate.type)return e;e=e.alternate}else 20===e.type&&(e=e.value)}(e.codegenNode);r.alternate=i7(t,a+e.branches.length-1,n)}}}))));function r7(e,t,n,r){if(!("else"===t.name||t.exp&&t.exp.content.trim())){const r=t.exp?t.exp.loc:e.loc;n.onError(h6(28,t.loc)),t.exp=q5("true",!1,r)}if("if"===t.name){const i=o7(e,t),a={type:9,loc:(o=e.loc,A8(o.start.offset,o.end.offset)),branches:[i]};if(n.replaceNode(a),r)return r(a,i,!0)}else{const o=n.parent.children;let i=o.indexOf(e);for(;i-- >=-1;){const a=o[i];if(a&&3===a.type)n.removeNode(a);else{if(!a||2!==a.type||a.content.trim().length){if(a&&9===a.type){"else-if"===t.name&&void 0===a.branches[a.branches.length-1].condition&&n.onError(h6(30,e.loc)),n.removeNode();const o=o7(e,t);a.branches.push(o);const i=r&&r(a,o,!1);H8(o,n),i&&i(),n.currentNode=null}else n.onError(h6(30,e.loc));break}n.removeNode(a)}}}var o}function o7(e,t){const n=3===e.tagType;return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:n&&!F6(e,"for")?e.children:[e],userKey:R6(e,"key"),isTemplateIf:n}}function i7(e,t,n){return e.condition?X5(e.condition,a7(e,t,n), +// make sure to pass in asBlock: true so that the comment node call +// closes the current block. +G5(n.helper(s5),['""',"true"])):a7(e,t,n)}function a7(e,t,n){const{helper:r}=n,o=W5("key",q5(`${t}`,!1,B5,2)),{children:i}=e,a=i[0];if(1!==i.length||1!==a.type){if(1===i.length&&11===a.type){const e=a.codegenNode;return G6(e,o,n),e}{let t=64;return V5(n,r(Q4),H5([o]),i,t,void 0,void 0,!0,!1,!1,e.loc)}}{const e=a.codegenNode,t=Y6(e);return 13===t.type&&e6(t,n),G6(t,o,n),e}}const l7=(e,t,n)=>{const{modifiers:r,loc:o}=e,i=e.arg;let{exp:a}=e;if(a&&4===a.type&&!a.content.trim()&&(a=void 0),!a){if(4!==i.type||!i.isStatic)return n.onError(h6(52,i.loc)),{props:[W5(i,q5("",!0,o))]};s7(e),a=e.exp}return 4!==i.type?(i.children.unshift("("),i.children.push(') || ""')):i.isStatic||(i.content=`${i.content} || ""`),r.some((e=>"camel"===e.content))&&(4===i.type?i.isStatic?i.content=D(i.content):i.content=`${n.helperString(C5)}(${i.content})`:(i.children.unshift(`${n.helperString(C5)}(`),i.children.push(")"))),n.inSSR||(r.some((e=>"prop"===e.content))&&c7(i,"."),r.some((e=>"attr"===e.content))&&c7(i,"^")),{props:[W5(i,a)]}},s7=(e,t)=>{const n=e.arg,r=D(n.content);e.exp=q5(r,!1,n.loc)},c7=(e,t)=>{4===e.type?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},u7=W8("for",((e,t,n)=>{const{helper:r,removeHelper:o}=n;return f7(e,t,n,(t=>{const i=G5(r(m5),[t.source]),a=H6(e),l=F6(e,"memo"),s=R6(e,"key",!1,!0);s&&7===s.type&&!s.exp&&s7(s);let c=s&&(6===s.type?s.value?q5(s.value.content,!0):void 0:s.exp);const u=s&&c?W5("key",c):null,f=4===t.source.type&&t.source.constType>0,p=f?64:s?128:256;return t.codegenNode=V5(n,r(Q4),void 0,i,p,void 0,void 0,!0,!f,!1,e.loc),()=>{let s;const{children:p}=t,d=1!==p.length||1!==p[0].type,h=W6(e)?e:a&&1===e.children.length&&W6(e.children[0])?e.children[0]:null;if(h?(s=h.codegenNode,a&&u&&G6(s,u,n)):d?s=V5(n,r(Q4),u?H5([u]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(s=p[0].codegenNode,a&&u&&G6(s,u,n),s.isBlock!==!f&&(s.isBlock?(o(r5),o(Z5(n.inSSR,s.isComponent))):o(Q5(n.inSSR,s.isComponent))),s.isBlock=!f,s.isBlock?(r(r5),r(Z5(n.inSSR,s.isComponent))):r(Q5(n.inSSR,s.isComponent))),l){const e=K5(d7(t.parseResult,[q5("_cached")]));e.body=J5([$5(["const _memo = (",l.exp,")"]),$5(["if (_cached",...c?[" && _cached.key === ",c]:[],` && ${n.helperString(L5)}(_cached, _memo)) return _cached`]),$5(["const _item = ",s]),q5("_item.memo = _memo"),q5("return _item")]),i.arguments.push(e,q5("_cache"),q5(String(n.cached.length))),n.cached.push(null)}else i.arguments.push(K5(d7(t.parseResult),s,!0))}}))}));function f7(e,t,n,r){if(!t.exp)return void n.onError(h6(31,t.loc));const o=t.forParseResult;if(!o)return void n.onError(h6(32,t.loc));p7(o);const{addIdentifiers:i,removeIdentifiers:a,scopes:l}=n,{source:s,value:c,key:u,index:f}=o,p={type:11,loc:t.loc,source:s,valueAlias:c,keyAlias:u,objectIndexAlias:f,parseResult:o,children:H6(e)?e.children:[e]};n.replaceNode(p),l.vFor++;const d=r&&r(p);return()=>{l.vFor--,d&&d()}}function p7(e,t){e.finalized||(e.finalized=!0)}function d7({value:e,key:t,index:n},r=[]){return function(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map(((e,t)=>e||q5("_".repeat(t+1),!1)))}([e,t,n,...r])}const h7=q5("undefined",!1),v7=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=F6(e,"slot");if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},m7=(e,t,n,r)=>K5(e,n,!1,!0,n.length?n[0].loc:r);function g7(e,t,n=m7){t.helper(j5);const{children:r,loc:o}=e,i=[],a=[];let l=t.scopes.vSlot>0||t.scopes.vFor>0;const s=F6(e,"slot",!0);if(s){const{arg:e,exp:t}=s;e&&!w6(e)&&(l=!0),i.push(W5(e||q5("default",!0),n(t,void 0,r,o)))}let c=!1,u=!1;const f=[],p=new Set;let d=0;for(let m=0;m<r.length;m++){const e=r[m];let o;if(!H6(e)||!(o=F6(e,"slot",!0))){3!==e.type&&f.push(e);continue}if(s){t.onError(h6(37,o.loc));break}c=!0;const{children:h,loc:v}=e,{arg:g=q5("default",!0),exp:y,loc:b}=o;let _;w6(g)?_=g?g.content:"default":l=!0;const w=F6(e,"for"),x=n(y,w,h,v);let O,E;if(O=F6(e,"if"))l=!0,a.push(X5(O.exp,y7(g,x,d++),h7));else if(E=F6(e,/^else(-if)?$/,!0 +/* allowEmpty */)){let e,n=m;for(;n--&&(e=r[n],3===e.type););if(e&&H6(e)&&F6(e,/^(else-)?if$/)){let e=a[a.length-1];for(;19===e.alternate.type;)e=e.alternate;e.alternate=E.exp?X5(E.exp,y7(g,x,d++),h7):y7(g,x,d++)}else t.onError(h6(30,E.loc))}else if(w){l=!0;const e=w.forParseResult;e?(p7(e),a.push(G5(t.helper(m5),[e.source,K5(d7(e),y7(g,x),!0)]))):t.onError(h6(32,w.loc))}else{if(_){if(p.has(_)){t.onError(h6(38,b));continue}p.add(_),"default"===_&&(u=!0)}i.push(W5(g,x))}}if(!s){const e=(e,r)=>{const i=n(e,void 0,r,o);return t.compatConfig&&(i.isNonScopedSlot=!0),W5("default",i)};c?f.length&&// #3766 +// with whitespace: 'preserve', whitespaces between slots will end up in +// implicitDefaultChildren. Ignore if all implicit children are whitespaces. +f.some((e=>_7(e)))&&(u?t.onError(h6(39,f[0].loc)):i.push(e(void 0,f))):i.push(e(void 0,r))}const h=l?2:b7(e.children)?3:1;let v=H5(i.concat(W5("_", +// 2 = compiled but dynamic = can skip normalization, but must run diff +// 1 = compiled and static = can skip normalization AND diff as optimized +q5(h+"",!1))),o);return a.length&&(v=G5(t.helper(y5),[v,U5(a)])),{slots:v,hasDynamicSlots:l}}function y7(e,t,n){const r=[W5("name",e),W5("fn",t)];return null!=n&&r.push(W5("key",q5(String(n),!0))),H5(r)}function b7(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(2===n.tagType||b7(n.children))return!0;break;case 9:if(b7(n.branches))return!0;break;case 10:case 11:if(b7(n.children))return!0}}return!1}function _7(e){return 2!==e.type&&12!==e.type||(2===e.type?!!e.content.trim():_7(e.content))}const w7=new WeakMap,x7=(e,t)=>function(){if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;const{tag:n,props:r}=e,o=1===e.tagType;let i=o?O7(e,t):`"${n}"`;const a=x(i)&&i.callee===p5;let l,s,c,u,f,p=0,d= +// dynamic component may resolve to plain elements +a||i===Z4||i===e5||!o&&(// <svg> and <foreignObject> must be forced into blocks so that block +// updates inside get proper isSVG flag at runtime. (#639, #643) +// This is technically web-specific, but splitting the logic out of core +// leads to too much unnecessary complexity. +"svg"===n||"foreignObject"===n||"math"===n);if(r.length>0){const n=E7(e,t,void 0,o,a);l=n.props,p=n.patchFlag,u=n.dynamicPropNames;const r=n.directives;f=r&&r.length?U5(r.map((e=>A7(e,t)))):void 0,n.shouldUseBlock&&(d=!0)}if(e.children.length>0){i===t5&&(d=!0,p|=1024);if(o&&// Teleport is not a real component and has dedicated runtime handling +i!==Z4&&// explained above. +i!==t5){const{slots:n,hasDynamicSlots:r}=g7(e,t);s=n,r&&(p|=1024)}else if(1===e.children.length&&i!==Z4){const n=e.children[0],r=n.type,o=5===r||8===r;o&&0===L8(n,t)&&(p|=1),s=o||2===r?n:e.children}else s=e.children}u&&u.length&&(c=function(e){let t="[";for(let n=0,r=e.length;n<r;n++)t+=JSON.stringify(e[n]),n<r-1&&(t+=", ");return t+"]"}(u)),e.codegenNode=V5(t,i,l,s,0===p?void 0:p,c,f,!!d,!1,o,e.loc)};function O7(e,t,n=!1){let{tag:r}=e;const o=k7(r),i=R6(e,"is",!1,!0 +/* allow empty */);if(i)if(o||u6("COMPILER_IS_ON_ELEMENT",t)){let e;if(6===i.type?e=i.value&&q5(i.value.content,!0):(e=i.exp,e||(e=q5("is",!1,i.arg.loc))),e)return G5(t.helper(p5),[e])}else 6===i.type&&i.value.content.startsWith("vue:")&&(r=i.value.content.slice(4));const a=x6(r)||t.isBuiltInComponent(r);return a?(n||t.helper(a),a):(t.helper(f5),t.components.add(r),X6(r,"component"))}function E7(e,t,n=e.props,r,o,i=!1){const{tag:a,loc:l,children:c}=e;let u=[];const f=[],p=[],d=c.length>0;let h=!1,v=0,m=!1,g=!1,y=!1,b=!1,_=!1,x=!1;const O=[],E=e=>{u.length&&(f.push(H5(S7(u),l)),u=[]),e&&f.push(e)},S=()=>{t.scopes.vFor>0&&u.push(W5(q5("ref_for",!0),q5("true")))},C=({key:e,value:n})=>{if(w6(e)){const i=e.content,a=s(i);if(!a||r&&!o||// omit the flag for click handlers because hydration gives click +// dedicated fast path. +"onclick"===i.toLowerCase()||// omit v-model handlers +"onUpdate:modelValue"===i||T(i)||(b=!0),a&&T(i)&&(x=!0),a&&14===n.type&&(n=n.arguments[0]),20===n.type||(4===n.type||8===n.type)&&L8(n,t)>0)return;"ref"===i?m=!0:"class"===i?g=!0:"style"===i?y=!0:"key"===i||O.includes(i)||O.push(i),!r||"class"!==i&&"style"!==i||O.includes(i)||O.push(i)}else _=!0};for(let s=0;s<n.length;s++){const o=n[s];if(6===o.type){const{loc:e,name:n,nameLoc:r,value:i}=o;let l=!0;if("ref"===n&&(m=!0,S()),"is"===n&&(k7(a)||i&&i.content.startsWith("vue:")||u6("COMPILER_IS_ON_ELEMENT",t)))continue;u.push(W5(q5(n,!0,r),q5(i?i.content:"",l,i?i.loc:e)))}else{const{name:n,arg:s,exp:c,loc:m,modifiers:g}=o,y="bind"===n,b="on"===n;if("slot"===n){r||t.onError(h6(40,m));continue}if("once"===n||"memo"===n)continue;if("is"===n||y&&B6(s,"is")&&(k7(a)||u6("COMPILER_IS_ON_ELEMENT",t)))continue;if(b&&i)continue;if(( +// #938: elements with dynamic keys should be forced into blocks +y&&B6(s,"key")||// inline before-update hooks need to force block so that it is invoked +// before children +b&&d&&B6(s,"vue:before-update"))&&(h=!0),y&&B6(s,"ref")&&S(),!s&&(y||b)){if(_=!0,c)if(y){if(S(),E(),u6("COMPILER_V_BIND_OBJECT_ORDER",t)){f.unshift(c);continue}f.push(c)}else E({type:14,loc:m,callee:t.helper(S5),arguments:r?[c]:[c,"true"]});else t.onError(h6(y?34:35,m));continue}y&&g.some((e=>"prop"===e.content))&&(v|=32);const x=t.directiveTransforms[n];if(x){const{props:n,needRuntime:r}=x(o,e,t);!i&&n.forEach(C),b&&s&&!w6(s)?E(H5(n,l)):u.push(...n),r&&(p.push(o),w(r)&&w7.set(o,r))}else M(n)||(p.push(o),d&&(h=!0))}}let A;if(f.length?(E(),A=f.length>1?G5(t.helper(_5),f,l):f[0]):u.length&&(A=H5(S7(u),l)),_?v|=16:(g&&!r&&(v|=2),y&&!r&&(v|=4),O.length&&(v|=8),b&&(v|=32)),h||0!==v&&32!==v||!(m||x||p.length>0)||(v|=512),!t.inSSR&&A)switch(A.type){case 15:let e=-1,n=-1,r=!1;for(let t=0;t<A.properties.length;t++){const o=A.properties[t].key;w6(o)?"class"===o.content?e=t:"style"===o.content&&(n=t):o.isHandlerKey||(r=!0)}const o=A.properties[e],i=A.properties[n];r?A=G5(t.helper(O5),[A]):(o&&!w6(o.value)&&(o.value=G5(t.helper(w5),[o.value])),i&&(// the static style is compiled into an object, +// so use `hasStyleBinding` to ensure that it is a dynamic style binding +y||4===i.value.type&&"["===i.value.content.trim()[0]||// v-bind:style and style both exist, +// v-bind:style with static literal object +17===i.value.type)&&(i.value=G5(t.helper(x5),[i.value])));break;case 14:break;default:A=G5(t.helper(O5),[G5(t.helper(E5),[A])])}return{props:A,directives:p,patchFlag:v,dynamicPropNames:O,shouldUseBlock:h}}function S7(e){const t=new Map,n=[];for(let r=0;r<e.length;r++){const o=e[r];if(8===o.key.type||!o.key.isStatic){n.push(o);continue}const i=o.key.content,a=t.get(i);a?("style"===i||"class"===i||s(i))&&C7(a,o):(t.set(i,o),n.push(o))}return n}function C7(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=U5([e.value,t.value],e.loc)}function A7(e,t){const n=[],r=w7.get(e);r?n.push(t.helperString(r)):(t.helper(d5),t.directives.add(e.name),n.push(X6(e.name,"directive")));const{loc:o}=e;if(e.exp&&n.push(e.exp),e.arg&&(e.exp||n.push("void 0"),n.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const t=q5("true",!1,o);n.push(H5(e.modifiers.map((e=>W5(e,t))),o))}return U5(n,e.loc)}function k7(e){return"component"===e||"Component"===e}const T7=(e,t)=>{if(W6(e)){const{children:n,loc:r}=e,{slotName:o,slotProps:i}=M7(e,t),a=[t.prefixIdentifiers?"_ctx.$slots":"$slots",o,"{}","undefined","true"];let l=2;i&&(a[2]=i,l=3),n.length&&(a[3]=K5([],n,!1,!1,r),l=4),t.scopeId&&!t.slotted&&(l=5),a.splice(l),e.codegenNode=G5(t.helper(g5),a,r)}};function M7(e,t){let n,r='"default"';const o=[];for(let i=0;i<e.props.length;i++){const t=e.props[i];if(6===t.type)t.value&&("name"===t.name?r=JSON.stringify(t.value.content):(t.name=D(t.name),o.push(t)));else if("bind"===t.name&&B6(t.arg,"name")){if(t.exp)r=t.exp;else if(t.arg&&4===t.arg.type){const e=D(t.arg.content);r=t.exp=q5(e,!1,t.arg.loc)}}else"bind"===t.name&&t.arg&&w6(t.arg)&&(t.arg.content=D(t.arg.content)),o.push(t)}if(o.length>0){const{props:r,directives:i}=E7(e,t,o,!1,!1);n=r,i.length&&t.onError(h6(36,i[0].loc))}return{slotName:r,slotProps:n}}const P7=(e,t,n,r)=>{const{loc:o,modifiers:i,arg:a}=e;let l;if(e.exp||i.length||n.onError(h6(35,o)),4===a.type)if(a.isStatic){let e=a.content;e.startsWith("vue:")&&(e=`vnode-${e.slice(4)}`);l=q5(0!==t.tagType||e.startsWith("vnode")||!/[A-Z]/.test(e)? +// for non-element and vnode lifecycle event listeners, auto convert +// it to camelCase. See issue #2249 +F(D(e)): +// preserve case for plain element listeners that have uppercase +// letters, as these may be custom elements' custom events +`on:${e}`,!0,a.loc)}else l=$5([`${n.helperString(k5)}(`,a,")"]);else l=a,l.children.unshift(`${n.helperString(k5)}(`),l.children.push(")");let s=e.exp;s&&!s.content.trim()&&(s=void 0);let c=n.cacheHandlers&&!s&&!n.inVOnce;if(s){const e=P6(s),t=!(e||N6(s)),n=s.content.includes(";");(t||c&&e)&&(s=$5([`${t?"$event":"(...args)"} => ${n?"{":"("}`,s,n?"}":")"]))}let u={props:[W5(l,s||q5("() => {}",!1,o))]};return r&&(u=r(u)),c&&(u.props[0].value=n.cache(u.props[0].value)),u.props.forEach((e=>e.key.isHandlerKey=!0)),u},j7=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const n=e.children;let r,o=!1;for(let e=0;e<n.length;e++){const t=n[e];if(V6(t)){o=!0;for(let o=e+1;o<n.length;o++){const i=n[o];if(!V6(i)){r=void 0;break}r||(r=n[e]=$5([t],t.loc)),r.children.push(" + ",i),n.splice(o,1),o--}}}if(o&&(// if this is a plain element with a single text child, leave it +// as-is since the runtime has dedicated fast path for this by directly +// setting textContent of the element. +// for component root it's always normalized anyway. +1!==n.length||0!==e.type&&(1!==e.type||0!==e.tagType||e.props.find((e=>7===e.type&&!t.directiveTransforms[e.name]))||"template"===e.tag)))for(let e=0;e<n.length;e++){const r=n[e];if(V6(r)||8===r.type){const o=[];2===r.type&&" "===r.content||o.push(r),t.ssr||0!==L8(r,t)||o.push("1"),n[e]={type:12,content:r,loc:r.loc,codegenNode:G5(t.helper(c5),o)}}}}},D7=new WeakSet,I7=(e,t)=>{if(1===e.type&&F6(e,"once",!0)){if(D7.has(e)||t.inVOnce||t.inSSR)return;return D7.add(e),t.inVOnce=!0,t.helper(T5),()=>{t.inVOnce=!1;const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0,!0))}}},N7=(e,t,n)=>{const{exp:r,arg:o}=e;if(!r)return n.onError(h6(41,e.loc)),L7();const i=r.loc.source.trim(),a=4===r.type?r.content:i,l=n.bindingMetadata[i];if("props"===l||"props-aliased"===l)return n.onError(h6(44,r.loc)),L7();if(!a.trim()||!P6(r))return n.onError(h6(42,r.loc)),L7();const s=o||q5("modelValue",!0),c=o?w6(o)?`onUpdate:${D(o.content)}`:$5(['"onUpdate:" + ',o]):"onUpdate:modelValue";let u;u=$5([`${n.isTS?"($event: any)":"$event"} => ((`,r,") = $event)"]);const f=[ +// modelValue: foo +W5(s,e.exp), +// "onUpdate:modelValue": $event => (foo = $event) +W5(c,u)];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map((e=>e.content)).map((e=>(E6(e)?e:JSON.stringify(e))+": true")).join(", "),n=o?w6(o)?`${o.content}Modifiers`:$5([o,' + "Modifiers"']):"modelModifiers";f.push(W5(n,q5(`{ ${t} }`,!1,e.loc,2)))}return L7(f)};function L7(e=[]){return{props:e}}const F7=/[\w).+\-_$\]]/,R7=(e,t)=>{u6("COMPILER_FILTERS",t)&&(5===e.type?B7(e.content,t):1===e.type&&e.props.forEach((e=>{7===e.type&&"for"!==e.name&&e.exp&&B7(e.exp,t)})))};function B7(e,t){if(4===e.type)z7(e,t);else for(let n=0;n<e.children.length;n++){const r=e.children[n];"object"==typeof r&&(4===r.type?z7(r,t):8===r.type?B7(e,t):5===r.type&&B7(r.content,t))}}function z7(e,t){const n=e.content;let r,o,i,a,l=!1,s=!1,c=!1,u=!1,f=0,p=0,d=0,h=0,v=[];for(i=0;i<n.length;i++)if(o=r,r=n.charCodeAt(i),l)39===r&&92!==o&&(l=!1);else if(s)34===r&&92!==o&&(s=!1);else if(c)96===r&&92!==o&&(c=!1);else if(u)47===r&&92!==o&&(u=!1);else if(124!==r||// pipe +124===n.charCodeAt(i+1)||124===n.charCodeAt(i-1)||f||p||d){switch(r){case 34:s=!0;break; +// " +case 39:l=!0;break; +// ' +case 96:c=!0;break; +// ` +case 40:d++;break; +// ( +case 41:d--;break; +// ) +case 91:p++;break; +// [ +case 93:p--;break; +// ] +case 123:f++;break; +// { +case 125:f--}if(47===r){let e,t=i-1;for(;t>=0&&(e=n.charAt(t)," "===e);t--);e&&F7.test(e)||(u=!0)}}else void 0===a?(h=i+1,a=n.slice(0,i).trim()):m();function m(){v.push(n.slice(h,i).trim()),h=i+1}if(void 0===a?a=n.slice(0,i).trim():0!==h&&m(),v.length){for(i=0;i<v.length;i++)a=V7(a,v[i],t);e.content=a,e.ast=void 0}}function V7(e,t,n){n.helper(h5);const r=t.indexOf("(");if(r<0)return n.filters.add(t),`${X6(t,"filter")}(${e})`;{const o=t.slice(0,r),i=t.slice(r+1);return n.filters.add(o),`${X6(o,"filter")}(${e}${")"!==i?","+i:i}`}}const U7=new WeakSet,H7=(e,t)=>{if(1===e.type){const n=F6(e,"memo");if(!n||U7.has(e))return;return U7.add(e),()=>{const r=e.codegenNode||t.currentNode.codegenNode;r&&13===r.type&&(1!==e.tagType&&e6(r,t),e.codegenNode=G5(t.helper(N5),[n.exp,K5(void 0,r),"_cache",String(t.cached.length)]),t.cached.push(null))}}};function W7(e){return[[I7,n7,H7,u7,R7,T7,x7,v7,j7],{on:P7,bind:l7,model:N7}]}function q7(e,t={}){const n=t.onError||p6,r="module"===t.mode;!0===t.prefixIdentifiers?n(h6(47)):r&&n(h6(48));t.cacheHandlers&&n(h6(49)),t.scopeId&&!r&&n(h6(50));const o=u({},t,{prefixIdentifiers:!1}),i=_(e)?j8(e,o):e,[a,l]=W7();return U8(i,u({},o,{nodeTransforms:[...a,...t.nodeTransforms||[]],directiveTransforms:u({},l,t.directiveTransforms||{})})),G8(i,o)}const $7=()=>({props:[]}) +/** +* @vue/compiler-dom v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/,G7=Symbol(""),K7=Symbol(""),X7=Symbol(""),Y7=Symbol(""),J7=Symbol(""),Q7=Symbol(""),Z7=Symbol(""),e9=Symbol(""),t9=Symbol(""),n9=Symbol("");let r9;R5({[G7]:"vModelRadio",[K7]:"vModelCheckbox",[X7]:"vModelText",[Y7]:"vModelSelect",[J7]:"vModelDynamic",[Q7]:"withModifiers",[Z7]:"withKeys",[e9]:"vShow",[t9]:"Transition",[n9]:"TransitionGroup"});const o9={parseMode:"html",isVoidTag:le,isNativeTag:e=>oe(e)||ie(e)||ae(e),isPreTag:e=>"pre"===e,isIgnoreNewlineTag:e=>"pre"===e||"textarea"===e,decodeEntities:function(e,t=!1){return r9||(r9=document.createElement("div")),t?(r9.innerHTML=`<div foo="${e.replace(/"/g,""")}">`,r9.children[0].getAttribute("foo")):(r9.innerHTML=e,r9.textContent)},isBuiltInComponent:e=>"Transition"===e||"transition"===e?t9:"TransitionGroup"===e||"transition-group"===e?n9:void 0, +// https://html.spec.whatwg.org/multipage/parsing.html#tree-construction-dispatcher +getNamespace(e,t,n){let r=t?t.ns:n;if(t&&2===r)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some((e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content)))&&(r=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(r=0);else t&&1===r&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(r=0));if(0===r){if("svg"===e)return 1;if("math"===e)return 2}return r}},i9=e=>{1===e.type&&e.props.forEach(((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:q5("style",!0,t.loc),exp:a9(t.value.content,t.loc),modifiers:[],loc:t.loc})}))},a9=(e,t)=>{const n=te(e);return q5(JSON.stringify(n),!1,t,3)};function l9(e,t){return h6(e,t)}const s9={53:"v-html is missing expression.",54:"v-html will override element children.",55:"v-text is missing expression.",56:"v-text will override element children.",57:"v-model can only be used on <input>, <textarea> and <select> elements.",58:"v-model argument is not supported on plain elements.",59:"v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.",60:"Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.",61:"v-show is missing expression.",62:"<Transition> expects exactly one child element or component.",63:"Tags with side effect (<script> and <style>) are ignored in client component templates."},c9=r("passive,once,capture"),u9=r( +// event propagation management +"stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),f9=r("left,right"),p9=r("onkeyup,onkeydown,onkeypress"),d9=(e,t)=>w6(e)&&"onclick"===e.content.toLowerCase()?q5(t,!0):4!==e.type?$5(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,h9=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()},v9=[i9],m9={cloak:$7,html:(e,t,n)=>{const{exp:r,loc:o}=e;return r||n.onError(l9(53,o)),t.children.length&&(n.onError(l9(54,o)),t.children.length=0),{props:[W5(q5("innerHTML",!0,o),r||q5("",!0))]}},text:(e,t,n)=>{const{exp:r,loc:o}=e;return r||n.onError(l9(55,o)),t.children.length&&(n.onError(l9(56,o)),t.children.length=0),{props:[W5(q5("textContent",!0),r?L8(r,n)>0?r:G5(n.helperString(b5),[r],o):q5("",!0))]}},model:(e,t,n)=>{const r=N7(e,t,n);if(!r.props.length||1===t.tagType)return r;e.arg&&n.onError(l9(58,e.arg.loc));const{tag:o}=t,i=n.isCustomElement(o);if("input"===o||"textarea"===o||"select"===o||i){let a=X7,l=!1;if("input"===o||i){const r=R6(t,"type");if(r){if(7===r.type)a=J7;else if(r.value)switch(r.value.content){case"radio":a=G7;break;case"checkbox":a=K7;break;case"file":l=!0,n.onError(l9(59,e.loc))}}else z6(t)&&(a=J7)}else"select"===o&&(a=Y7);l||(r.needRuntime=n.helper(a))}else n.onError(l9(57,e.loc));return r.props=r.props.filter((e=>!(4===e.key.type&&"modelValue"===e.key.content))),r}, +// override compiler-core +on:(e,t,n)=>P7(e,t,n,(t=>{const{modifiers:r}=e;if(!r.length)return t;let{key:o,value:i}=t.props[0];const{keyModifiers:a,nonKeyModifiers:l,eventOptionModifiers:s}=((e,t,n)=>{const r=[],o=[],i=[];for(let a=0;a<t.length;a++){const l=t[a].content;"native"===l&&f6("COMPILER_V_ON_NATIVE",n)||c9(l)?i.push(l):f9(l)?w6(e)?p9(e.content.toLowerCase())?r.push(l):o.push(l):(r.push(l),o.push(l)):u9(l)?o.push(l):r.push(l)}return{keyModifiers:r,nonKeyModifiers:o,eventOptionModifiers:i}})(o,r,n,e.loc);if(l.includes("right")&&(o=d9(o,"onContextmenu")),l.includes("middle")&&(o=d9(o,"onMouseup")),l.length&&(i=G5(n.helper(Q7),[i,JSON.stringify(l)])),!a.length||// if event name is dynamic, always wrap with keys guard +w6(o)&&!p9(o.content.toLowerCase())||(i=G5(n.helper(Z7),[i,JSON.stringify(a)])),s.length){const e=s.map(L).join("");o=w6(o)?q5(`${o.content}${e}`,!0):$5(["(",o,`) + "${e}"`])}return{props:[W5(o,i)]}})), +// override compiler-core +show:(e,t,n)=>{const{exp:r,loc:o}=e;return r||n.onError(l9(61,o)),{props:[],needRuntime:n.helper(e9)}}};const g9=Object.defineProperty({__proto__:null,BASE_TRANSITION:n5,BindingTypes:{DATA:"data",PROPS:"props",PROPS_ALIASED:"props-aliased",SETUP_LET:"setup-let",SETUP_CONST:"setup-const",SETUP_REACTIVE_CONST:"setup-reactive-const",SETUP_MAYBE_REF:"setup-maybe-ref",SETUP_REF:"setup-ref",OPTIONS:"options",LITERAL_CONST:"literal-const"},CAMELIZE:C5,CAPITALIZE:A5,CREATE_BLOCK:o5,CREATE_COMMENT:s5,CREATE_ELEMENT_BLOCK:i5,CREATE_ELEMENT_VNODE:l5,CREATE_SLOTS:y5,CREATE_STATIC:u5,CREATE_TEXT:c5,CREATE_VNODE:a5,CompilerDeprecationTypes:{COMPILER_IS_ON_ELEMENT:"COMPILER_IS_ON_ELEMENT",COMPILER_V_BIND_SYNC:"COMPILER_V_BIND_SYNC",COMPILER_V_BIND_OBJECT_ORDER:"COMPILER_V_BIND_OBJECT_ORDER",COMPILER_V_ON_NATIVE:"COMPILER_V_ON_NATIVE",COMPILER_V_IF_V_FOR_PRECEDENCE:"COMPILER_V_IF_V_FOR_PRECEDENCE",COMPILER_NATIVE_TEMPLATE:"COMPILER_NATIVE_TEMPLATE",COMPILER_INLINE_TEMPLATE:"COMPILER_INLINE_TEMPLATE",COMPILER_FILTERS:"COMPILER_FILTERS"},ConstantTypes:{NOT_CONSTANT:0,0:"NOT_CONSTANT",CAN_SKIP_PATCH:1,1:"CAN_SKIP_PATCH",CAN_CACHE:2,2:"CAN_CACHE",CAN_STRINGIFY:3,3:"CAN_STRINGIFY"},DOMDirectiveTransforms:m9,DOMErrorCodes:{X_V_HTML_NO_EXPRESSION:53,53:"X_V_HTML_NO_EXPRESSION",X_V_HTML_WITH_CHILDREN:54,54:"X_V_HTML_WITH_CHILDREN",X_V_TEXT_NO_EXPRESSION:55,55:"X_V_TEXT_NO_EXPRESSION",X_V_TEXT_WITH_CHILDREN:56,56:"X_V_TEXT_WITH_CHILDREN",X_V_MODEL_ON_INVALID_ELEMENT:57,57:"X_V_MODEL_ON_INVALID_ELEMENT",X_V_MODEL_ARG_ON_ELEMENT:58,58:"X_V_MODEL_ARG_ON_ELEMENT",X_V_MODEL_ON_FILE_INPUT_ELEMENT:59,59:"X_V_MODEL_ON_FILE_INPUT_ELEMENT",X_V_MODEL_UNNECESSARY_VALUE:60,60:"X_V_MODEL_UNNECESSARY_VALUE",X_V_SHOW_NO_EXPRESSION:61,61:"X_V_SHOW_NO_EXPRESSION",X_TRANSITION_INVALID_CHILDREN:62,62:"X_TRANSITION_INVALID_CHILDREN",X_IGNORED_SIDE_EFFECT_TAG:63,63:"X_IGNORED_SIDE_EFFECT_TAG",__EXTEND_POINT__:64,64:"__EXTEND_POINT__"},DOMErrorMessages:s9,DOMNodeTransforms:v9,ElementTypes:{ELEMENT:0,0:"ELEMENT",COMPONENT:1,1:"COMPONENT",SLOT:2,2:"SLOT",TEMPLATE:3,3:"TEMPLATE"},ErrorCodes:{ABRUPT_CLOSING_OF_EMPTY_COMMENT:0,0:"ABRUPT_CLOSING_OF_EMPTY_COMMENT",CDATA_IN_HTML_CONTENT:1,1:"CDATA_IN_HTML_CONTENT",DUPLICATE_ATTRIBUTE:2,2:"DUPLICATE_ATTRIBUTE",END_TAG_WITH_ATTRIBUTES:3,3:"END_TAG_WITH_ATTRIBUTES",END_TAG_WITH_TRAILING_SOLIDUS:4,4:"END_TAG_WITH_TRAILING_SOLIDUS",EOF_BEFORE_TAG_NAME:5,5:"EOF_BEFORE_TAG_NAME",EOF_IN_CDATA:6,6:"EOF_IN_CDATA",EOF_IN_COMMENT:7,7:"EOF_IN_COMMENT",EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT:8,8:"EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT",EOF_IN_TAG:9,9:"EOF_IN_TAG",INCORRECTLY_CLOSED_COMMENT:10,10:"INCORRECTLY_CLOSED_COMMENT",INCORRECTLY_OPENED_COMMENT:11,11:"INCORRECTLY_OPENED_COMMENT",INVALID_FIRST_CHARACTER_OF_TAG_NAME:12,12:"INVALID_FIRST_CHARACTER_OF_TAG_NAME",MISSING_ATTRIBUTE_VALUE:13,13:"MISSING_ATTRIBUTE_VALUE",MISSING_END_TAG_NAME:14,14:"MISSING_END_TAG_NAME",MISSING_WHITESPACE_BETWEEN_ATTRIBUTES:15,15:"MISSING_WHITESPACE_BETWEEN_ATTRIBUTES",NESTED_COMMENT:16,16:"NESTED_COMMENT",UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME:17,17:"UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME",UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE:18,18:"UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE",UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME:19,19:"UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME",UNEXPECTED_NULL_CHARACTER:20,20:"UNEXPECTED_NULL_CHARACTER",UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME:21,21:"UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME",UNEXPECTED_SOLIDUS_IN_TAG:22,22:"UNEXPECTED_SOLIDUS_IN_TAG",X_INVALID_END_TAG:23,23:"X_INVALID_END_TAG",X_MISSING_END_TAG:24,24:"X_MISSING_END_TAG",X_MISSING_INTERPOLATION_END:25,25:"X_MISSING_INTERPOLATION_END",X_MISSING_DIRECTIVE_NAME:26,26:"X_MISSING_DIRECTIVE_NAME",X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END:27,27:"X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END",X_V_IF_NO_EXPRESSION:28,28:"X_V_IF_NO_EXPRESSION",X_V_IF_SAME_KEY:29,29:"X_V_IF_SAME_KEY",X_V_ELSE_NO_ADJACENT_IF:30,30:"X_V_ELSE_NO_ADJACENT_IF",X_V_FOR_NO_EXPRESSION:31,31:"X_V_FOR_NO_EXPRESSION",X_V_FOR_MALFORMED_EXPRESSION:32,32:"X_V_FOR_MALFORMED_EXPRESSION",X_V_FOR_TEMPLATE_KEY_PLACEMENT:33,33:"X_V_FOR_TEMPLATE_KEY_PLACEMENT",X_V_BIND_NO_EXPRESSION:34,34:"X_V_BIND_NO_EXPRESSION",X_V_ON_NO_EXPRESSION:35,35:"X_V_ON_NO_EXPRESSION",X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET:36,36:"X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET",X_V_SLOT_MIXED_SLOT_USAGE:37,37:"X_V_SLOT_MIXED_SLOT_USAGE",X_V_SLOT_DUPLICATE_SLOT_NAMES:38,38:"X_V_SLOT_DUPLICATE_SLOT_NAMES",X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN:39,39:"X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN",X_V_SLOT_MISPLACED:40,40:"X_V_SLOT_MISPLACED",X_V_MODEL_NO_EXPRESSION:41,41:"X_V_MODEL_NO_EXPRESSION",X_V_MODEL_MALFORMED_EXPRESSION:42,42:"X_V_MODEL_MALFORMED_EXPRESSION",X_V_MODEL_ON_SCOPE_VARIABLE:43,43:"X_V_MODEL_ON_SCOPE_VARIABLE",X_V_MODEL_ON_PROPS:44,44:"X_V_MODEL_ON_PROPS",X_INVALID_EXPRESSION:45,45:"X_INVALID_EXPRESSION",X_KEEP_ALIVE_INVALID_CHILDREN:46,46:"X_KEEP_ALIVE_INVALID_CHILDREN",X_PREFIX_ID_NOT_SUPPORTED:47,47:"X_PREFIX_ID_NOT_SUPPORTED",X_MODULE_MODE_NOT_SUPPORTED:48,48:"X_MODULE_MODE_NOT_SUPPORTED",X_CACHE_HANDLER_NOT_SUPPORTED:49,49:"X_CACHE_HANDLER_NOT_SUPPORTED",X_SCOPE_ID_NOT_SUPPORTED:50,50:"X_SCOPE_ID_NOT_SUPPORTED",X_VNODE_HOOKS:51,51:"X_VNODE_HOOKS",X_V_BIND_INVALID_SAME_NAME_ARGUMENT:52,52:"X_V_BIND_INVALID_SAME_NAME_ARGUMENT",__EXTEND_POINT__:53,53:"__EXTEND_POINT__"},FRAGMENT:Q4,GUARD_REACTIVE_PROPS:E5,IS_MEMO_SAME:L5,IS_REF:I5,KEEP_ALIVE:t5,MERGE_PROPS:_5,NORMALIZE_CLASS:w5,NORMALIZE_PROPS:O5,NORMALIZE_STYLE:x5,Namespaces:{HTML:0,0:"HTML",SVG:1,1:"SVG",MATH_ML:2,2:"MATH_ML"},NodeTypes:{ROOT:0,0:"ROOT",ELEMENT:1,1:"ELEMENT",TEXT:2,2:"TEXT",COMMENT:3,3:"COMMENT",SIMPLE_EXPRESSION:4,4:"SIMPLE_EXPRESSION",INTERPOLATION:5,5:"INTERPOLATION",ATTRIBUTE:6,6:"ATTRIBUTE",DIRECTIVE:7,7:"DIRECTIVE",COMPOUND_EXPRESSION:8,8:"COMPOUND_EXPRESSION",IF:9,9:"IF",IF_BRANCH:10,10:"IF_BRANCH",FOR:11,11:"FOR",TEXT_CALL:12,12:"TEXT_CALL",VNODE_CALL:13,13:"VNODE_CALL",JS_CALL_EXPRESSION:14,14:"JS_CALL_EXPRESSION",JS_OBJECT_EXPRESSION:15,15:"JS_OBJECT_EXPRESSION",JS_PROPERTY:16,16:"JS_PROPERTY",JS_ARRAY_EXPRESSION:17,17:"JS_ARRAY_EXPRESSION",JS_FUNCTION_EXPRESSION:18,18:"JS_FUNCTION_EXPRESSION",JS_CONDITIONAL_EXPRESSION:19,19:"JS_CONDITIONAL_EXPRESSION",JS_CACHE_EXPRESSION:20,20:"JS_CACHE_EXPRESSION",JS_BLOCK_STATEMENT:21,21:"JS_BLOCK_STATEMENT",JS_TEMPLATE_LITERAL:22,22:"JS_TEMPLATE_LITERAL",JS_IF_STATEMENT:23,23:"JS_IF_STATEMENT",JS_ASSIGNMENT_EXPRESSION:24,24:"JS_ASSIGNMENT_EXPRESSION",JS_SEQUENCE_EXPRESSION:25,25:"JS_SEQUENCE_EXPRESSION",JS_RETURN_STATEMENT:26,26:"JS_RETURN_STATEMENT"},OPEN_BLOCK:r5,POP_SCOPE_ID:P5,PUSH_SCOPE_ID:M5,RENDER_LIST:m5,RENDER_SLOT:g5,RESOLVE_COMPONENT:f5,RESOLVE_DIRECTIVE:d5,RESOLVE_DYNAMIC_COMPONENT:p5,RESOLVE_FILTER:h5,SET_BLOCK_TRACKING:T5,SUSPENSE:e5,TELEPORT:Z4,TO_DISPLAY_STRING:b5,TO_HANDLERS:S5,TO_HANDLER_KEY:k5,TRANSITION:t9,TRANSITION_GROUP:n9,TS_NODE_TYPES:_6,UNREF:D5,V_MODEL_CHECKBOX:K7,V_MODEL_DYNAMIC:J7,V_MODEL_RADIO:G7,V_MODEL_SELECT:Y7,V_MODEL_TEXT:X7,V_ON_WITH_KEYS:Z7,V_ON_WITH_MODIFIERS:Q7,V_SHOW:e9,WITH_CTX:j5,WITH_DIRECTIVES:v5,WITH_MEMO:N5,advancePositionWithClone:function(e,t,n=t.length){return L6({offset:e.offset,line:e.line,column:e.column},t,n)},advancePositionWithMutation:L6,assert:function(e,t){if(!e)throw new Error(t||"unexpected compiler condition")},baseCompile:q7,baseParse:j8,buildDirectiveArgs:A7,buildProps:E7,buildSlots:g7,checkCompatEnabled:f6,compile:function(e,t={}){return q7(e,u({},o9,t,{nodeTransforms:[ +// ignore <script> and <tag> +// this is not put inside DOMNodeTransforms because that list is used +// by compiler-ssr to generate vnode fallback branches +h9,...v9,...t.nodeTransforms||[]],directiveTransforms:u({},m9,t.directiveTransforms||{}),transformHoist:null}))},convertToBlock:e6,createArrayExpression:U5,createAssignmentExpression:function(e,t){return{type:24,left:e,right:t,loc:B5}},createBlockStatement:J5,createCacheExpression:Y5,createCallExpression:G5,createCompilerError:h6,createCompoundExpression:$5,createConditionalExpression:X5,createDOMCompilerError:l9,createForLoopParams:d7,createFunctionExpression:K5,createIfStatement:function(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:B5}},createInterpolation:function(e,t){return{type:5,loc:t,content:_(e)?q5(e,!1,t):e}},createObjectExpression:H5,createObjectProperty:W5,createReturnStatement:function(e){return{type:26,returns:e,loc:B5}},createRoot:z5,createSequenceExpression:function(e){return{type:25,expressions:e,loc:B5}},createSimpleExpression:q5,createStructuralDirectiveTransform:W8,createTemplateLiteral:function(e){return{type:22,elements:e,loc:B5}},createTransformContext:V8,createVNodeCall:V5,errorMessages:v6,extractIdentifiers:y6,findDir:F6,findProp:R6,forAliasRE:J6,generate:G8,generateCodeFrame:Y,getBaseTransformPreset:W7,getConstantType:L8,getMemoedVNodeCall:Y6,getVNodeBlockHelper:Z5,getVNodeHelper:Q5,hasDynamicKeyVBind:z6,hasScopeRef:function e(t,n){if(!t||0===Object.keys(n).length)return!1;switch(t.type){case 1:for(let r=0;r<t.props.length;r++){const o=t.props[r];if(7===o.type&&(e(o.arg,n)||e(o.exp,n)))return!0}return t.children.some((t=>e(t,n)));case 11:return!!e(t.source,n)||t.children.some((t=>e(t,n)));case 9:return t.branches.some((t=>e(t,n)));case 10:return!!e(t.condition,n)||t.children.some((t=>e(t,n)));case 4:return!t.isStatic&&E6(t.content)&&!!n[t.content];case 8:return t.children.some((t=>x(t)&&e(t,n)));case 5:case 12:return e(t.content,n);default:return!1}},helperNameMap:F5,injectProp:G6,isCoreComponent:x6,isFnExpression:N6,isFnExpressionBrowser:D6,isFnExpressionNode:I6,isFunctionType:e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),isInDestructureAssignment:function(e,t){if(e&&("ObjectProperty"===e.type||"ArrayPattern"===e.type)){let e=t.length;for(;e--;){const n=t[e];if("AssignmentExpression"===n.type)return!0;if("ObjectProperty"!==n.type&&!n.type.endsWith("Pattern"))break}}return!1},isInNewExpression:function(e){let t=e.length;for(;t--;){const n=e[t];if("NewExpression"===n.type)return!0;if("MemberExpression"!==n.type)break}return!1},isMemberExpression:P6,isMemberExpressionBrowser:T6,isMemberExpressionNode:M6,isReferencedIdentifier:function(e,t,n){return!1},isSimpleIdentifier:E6,isSlotOutlet:W6,isStaticArgOf:B6,isStaticExp:w6,isStaticProperty:b6,isStaticPropertyKey:(e,t)=>b6(t)&&t.key===e,isTemplateNode:H6,isText:V6,isVSlot:U6,locStub:B5,noopDirectiveTransform:$7,parse:function(e,t={}){return j8(e,u({},o9,t))},parserOptions:o9,processExpression:t7,processFor:f7,processIf:r7,processSlotOutlet:M7,registerRuntimeHelpers:R5,resolveComponentType:O7,stringifyExpression:function e(t){return _(t)?t:4===t.type?t.content:t.children.map(e).join("")},toValidAssetId:X6,trackSlotScopes:v7,trackVForSlotScopes:(e,t)=>{let n;if(H6(e)&&e.props.some(U6)&&(n=F6(e,"for"))){const e=n.forParseResult;if(e){p7(e);const{value:n,key:r,index:o}=e,{addIdentifiers:i,removeIdentifiers:a}=t;return n&&i(n),r&&i(r),o&&i(o),()=>{n&&a(n),r&&a(r),o&&a(o)}}}},transform:U8,transformBind:l7,transformElement:x7,transformExpression:(e,t)=>{if(5===e.type)e.content=t7(e.content,t);else if(1===e.type){const n=F6(e,"memo");for(let r=0;r<e.props.length;r++){const o=e.props[r];if(7===o.type&&"for"!==o.name){const e=o.exp,r=o.arg;!e||4!==e.type||"on"===o.name&&r||n&&r&&4===r.type&&"key"===r.content||(o.exp=t7(e,t, +// slot args must be processed as function params +"slot"===o.name)),r&&4===r.type&&!r.isStatic&&(o.arg=t7(r,t))}}}},transformModel:N7,transformOn:P7,transformStyle:i9,traverseNode:H8,unwrapTSNode:function e(t){return _6.includes(t.type)?e(t.expression):t},walkBlockDeclarations:function(e,t){for(const n of e.body)if("VariableDeclaration"===n.type){if(n.declare)continue;for(const e of n.declarations)for(const n of y6(e.id))t(n)}else if("FunctionDeclaration"===n.type||"ClassDeclaration"===n.type){if(n.declare||!n.id)continue;t(n.id)}else m6(n)&&g6(n,!0,t)},walkFunctionParams:function(e,t){for(const n of e.params)for(const e of y6(n))t(e)},walkIdentifiers:function(e,t,n=!1,r=[],o=Object.create(null)){},warnDeprecation:function(e,t,n,...r){if("suppress-warning"===c6(e,t))return;const{message:o,link:i}=s6[e],a=`(deprecation ${e}) ${"function"==typeof o?o(...r):o}${i?`\n Details: ${i}`:""}`,l=new SyntaxError(a);l.code=e,n&&(l.loc=n),t.onWarn(l)}},Symbol.toStringTag,{value:"Module"}),y9=iO(g9),b9=iO(ks),_9=iO(Ce); +/** +* vue v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/ +var w9,x9;function O9(){return x9||(x9=1,Y4.exports=(w9||(w9=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=y9,n=b9,r=_9;function o(e){var t=Object.create(null);if(e)for(var n in e)t[n]=e[n];return t.default=e,Object.freeze(t)}var i=o(n);const a=Object.create(null);function l(e,n){if(!r.isString(e)){if(!e.nodeType)return r.NOOP;e=e.innerHTML}const o=r.genCacheKey(e,n),l=a[o];if(l)return l;if("#"===e[0]){const t=document.querySelector(e);e=t?t.innerHTML:""}const s=r.extend({hoistStatic:!0,onError:void 0,onWarn:r.NOOP},n);s.isCustomElement||"undefined"==typeof customElements||(s.isCustomElement=e=>!!customElements.get(e));const{code:c}=t.compile(e,s),u=new Function("Vue",c)(i);return u._rc=!0,a[o]=u}n.registerRuntimeCompiler(l),e.compile=l,Object.keys(n).forEach((function(t){"default"===t||Object.prototype.hasOwnProperty.call(e,t)||(e[t]=n[t])}))}(J4)),J4)),Y4.exports} +/**! + * Sortable 1.14.0 + * @author RubaXa <trash@rubaxa.org> + * @author owenm <owen23355@gmail.com> + * @license MIT + */function E9(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function S9(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E9(Object(n),!0).forEach((function(t){A9(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E9(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function C9(e){return(C9="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function A9(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function k9(){return k9=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},k9.apply(this,arguments)}function T9(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function M9(e){return function(e){if(Array.isArray(e))return P9(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return P9(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return P9(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function P9(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function j9(e){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}var D9=j9(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),I9=j9(/Edge/i),N9=j9(/firefox/i),L9=j9(/safari/i)&&!j9(/chrome/i)&&!j9(/android/i),F9=j9(/iP(ad|od|hone)/i),R9=j9(/chrome/i)&&j9(/android/i),B9={capture:!1,passive:!1};function z9(e,t,n){e.addEventListener(t,n,!D9&&B9)}function V9(e,t,n){e.removeEventListener(t,n,!D9&&B9)}function U9(e,t){if(t){if(">"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(n){return!1}return!1}}function H9(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function W9(e,t,n,r){if(e){n=n||document;do{if(null!=t&&(">"===t[0]?e.parentNode===n&&U9(e,t):U9(e,t))||r&&e===n)return e;if(e===n)break}while(e=H9(e))}return null}var q9,$9=/\s+/g;function G9(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace($9," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace($9," ")}}function K9(e,t,n){var r=e&&e.style;if(r){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),void 0===t?n:n[t];t in r||-1!==t.indexOf("webkit")||(t="-webkit-"+t),r[t]=n+("string"==typeof n?"":"px")}}function X9(e,t){var n="";if("string"==typeof e)n=e;else do{var r=K9(e,"transform");r&&"none"!==r&&(n=r+" "+n)}while(!t&&(e=e.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(n)}function Y9(e,t,n){if(e){var r=e.getElementsByTagName(t),o=0,i=r.length;if(n)for(;o<i;o++)n(r[o],o);return r}return[]}function J9(){var e=document.scrollingElement;return e||document.documentElement}function Q9(e,t,n,r,o){if(e.getBoundingClientRect||e===window){var i,a,l,s,c,u,f;if(e!==window&&e.parentNode&&e!==J9()?(a=(i=e.getBoundingClientRect()).top,l=i.left,s=i.bottom,c=i.right,u=i.height,f=i.width):(a=0,l=0,s=window.innerHeight,c=window.innerWidth,u=window.innerHeight,f=window.innerWidth),(t||n)&&e!==window&&(o=o||e.parentNode,!D9))do{if(o&&o.getBoundingClientRect&&("none"!==K9(o,"transform")||n&&"static"!==K9(o,"position"))){var p=o.getBoundingClientRect();a-=p.top+parseInt(K9(o,"border-top-width")),l-=p.left+parseInt(K9(o,"border-left-width")),s=a+i.height,c=l+i.width;break}}while(o=o.parentNode);if(r&&e!==window){var d=X9(o||e),h=d&&d.a,v=d&&d.d;d&&(s=(a/=v)+(u/=v),c=(l/=h)+(f/=h))}return{top:a,left:l,bottom:s,right:c,width:f,height:u}}}function Z9(e,t,n){for(var r=oee(e,!0),o=Q9(e)[t];r;){if(!(o>=Q9(r)[n]))return r;if(r===J9())break;r=oee(r,!1)}return!1}function eee(e,t,n,r){for(var o=0,i=0,a=e.children;i<a.length;){if("none"!==a[i].style.display&&a[i]!==ute.ghost&&(r||a[i]!==ute.dragged)&&W9(a[i],n.draggable,e,!1)){if(o===t)return a[i];o++}i++}return null}function tee(e,t){for(var n=e.lastElementChild;n&&(n===ute.ghost||"none"===K9(n,"display")||t&&!U9(n,t));)n=n.previousElementSibling;return n||null}function nee(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)"TEMPLATE"===e.nodeName.toUpperCase()||e===ute.clone||t&&!U9(e,t)||n++;return n}function ree(e){var t=0,n=0,r=J9();if(e)do{var o=X9(e),i=o.a,a=o.d;t+=e.scrollLeft*i,n+=e.scrollTop*a}while(e!==r&&(e=e.parentNode));return[t,n]}function oee(e,t){if(!e||!e.getBoundingClientRect)return J9();var n=e,r=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var o=K9(n);if(n.clientWidth<n.scrollWidth&&("auto"==o.overflowX||"scroll"==o.overflowX)||n.clientHeight<n.scrollHeight&&("auto"==o.overflowY||"scroll"==o.overflowY)){if(!n.getBoundingClientRect||n===document.body)return J9();if(r||t)return n;r=!0}}}while(n=n.parentNode);return J9()}function iee(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}function aee(e,t){return function(){if(!q9){var n=arguments;1===n.length?e.call(this,n[0]):e.apply(this,n),q9=setTimeout((function(){q9=void 0}),t)}}}function lee(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function see(e){var t=window.Polymer,n=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):n?n(e).clone(!0)[0]:e.cloneNode(!0)}function cee(e,t){K9(e,"position","absolute"),K9(e,"top",t.top),K9(e,"left",t.left),K9(e,"width",t.width),K9(e,"height",t.height)}function uee(e){K9(e,"position",""),K9(e,"top",""),K9(e,"left",""),K9(e,"width",""),K9(e,"height","")}var fee="Sortable"+(new Date).getTime();function pee(){var e,t=[];return{captureAnimationState:function(){(t=[],this.options.animation)&&[].slice.call(this.el.children).forEach((function(e){if("none"!==K9(e,"display")&&e!==ute.ghost){t.push({target:e,rect:Q9(e)});var n=S9({},t[t.length-1].rect);if(e.thisAnimationDuration){var r=X9(e,!0);r&&(n.top-=r.f,n.left-=r.e)}e.fromRect=n}}))},addAnimationState:function(e){t.push(e)},removeAnimationState:function(e){t.splice(function(e,t){for(var n in e)if(e.hasOwnProperty(n))for(var r in t)if(t.hasOwnProperty(r)&&t[r]===e[n][r])return Number(n);return-1}(t,{target:e}),1)},animateAll:function(n){var r=this;if(!this.options.animation)return clearTimeout(e),void("function"==typeof n&&n());var o=!1,i=0;t.forEach((function(e){var t=0,n=e.target,a=n.fromRect,l=Q9(n),s=n.prevFromRect,c=n.prevToRect,u=e.rect,f=X9(n,!0);f&&(l.top-=f.f,l.left-=f.e),n.toRect=l,n.thisAnimationDuration&&iee(s,l)&&!iee(a,l)&&// Make sure animatingRect is on line between toRect & fromRect +(u.top-l.top)/(u.left-l.left)==(a.top-l.top)/(a.left-l.left)&&(t=function(e,t,n,r){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-n.top,2)+Math.pow(t.left-n.left,2))*r.animation}(u,s,c,r.options)),iee(l,a)||(n.prevFromRect=a,n.prevToRect=l,t||(t=r.options.animation),r.animate(n,u,l,t)),t&&(o=!0,i=Math.max(i,t),clearTimeout(n.animationResetTimer),n.animationResetTimer=setTimeout((function(){n.animationTime=0,n.prevFromRect=null,n.fromRect=null,n.prevToRect=null,n.thisAnimationDuration=null}),t),n.thisAnimationDuration=t)})),clearTimeout(e),o?e=setTimeout((function(){"function"==typeof n&&n()}),i):"function"==typeof n&&n(),t=[]},animate:function(e,t,n,r){if(r){K9(e,"transition",""),K9(e,"transform","");var o=X9(this.el),i=o&&o.a,a=o&&o.d,l=(t.left-n.left)/(i||1),s=(t.top-n.top)/(a||1);e.animatingX=!!l,e.animatingY=!!s,K9(e,"transform","translate3d("+l+"px,"+s+"px,0)"),this.forRepaintDummy=function(e){return e.offsetWidth}(e),K9(e,"transition","transform "+r+"ms"+(this.options.easing?" "+this.options.easing:"")),K9(e,"transform","translate3d(0,0,0)"),"number"==typeof e.animated&&clearTimeout(e.animated),e.animated=setTimeout((function(){K9(e,"transition",""),K9(e,"transform",""),e.animated=!1,e.animatingX=!1,e.animatingY=!1}),r)}}}}var dee=[],hee={initializeByDefault:!0},vee={mount:function(e){for(var t in hee)hee.hasOwnProperty(t)&&!(t in e)&&(e[t]=hee[t]);dee.forEach((function(t){if(t.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")})),dee.push(e)},pluginEvent:function(e,t,n){var r=this;this.eventCanceled=!1,n.cancel=function(){r.eventCanceled=!0};var o=e+"Global";dee.forEach((function(r){t[r.pluginName]&&(t[r.pluginName][o]&&t[r.pluginName][o](S9({sortable:t},n)),t.options[r.pluginName]&&t[r.pluginName][e]&&t[r.pluginName][e](S9({sortable:t},n)))}))},initializePlugins:function(e,t,n,r){for(var o in dee.forEach((function(r){var o=r.pluginName;if(e.options[o]||r.initializeByDefault){var i=new r(e,t,e.options);i.sortable=e,i.options=e.options,e[o]=i,k9(n,i.defaults)}})),e.options)if(e.options.hasOwnProperty(o)){var i=this.modifyOption(e,o,e.options[o]);void 0!==i&&(e.options[o]=i)}},getEventProperties:function(e,t){var n={};return dee.forEach((function(r){"function"==typeof r.eventProperties&&k9(n,r.eventProperties.call(t[r.pluginName],e))})),n},modifyOption:function(e,t,n){var r;return dee.forEach((function(o){e[o.pluginName]&&o.optionListeners&&"function"==typeof o.optionListeners[t]&&(r=o.optionListeners[t].call(e[o.pluginName],n))})),r}};function mee(e){var t=e.sortable,n=e.rootEl,r=e.name,o=e.targetEl,i=e.cloneEl,a=e.toEl,l=e.fromEl,s=e.oldIndex,c=e.newIndex,u=e.oldDraggableIndex,f=e.newDraggableIndex,p=e.originalEvent,d=e.putSortable,h=e.extraEventProperties;if(t=t||n&&n[fee]){var v,m=t.options,g="on"+r.charAt(0).toUpperCase()+r.substr(1);!window.CustomEvent||D9||I9?(v=document.createEvent("Event")).initEvent(r,!0,!0):v=new CustomEvent(r,{bubbles:!0,cancelable:!0}),v.to=a||n,v.from=l||n,v.item=o||n,v.clone=i,v.oldIndex=s,v.newIndex=c,v.oldDraggableIndex=u,v.newDraggableIndex=f,v.originalEvent=p,v.pullMode=d?d.lastPutMode:void 0;var y=S9(S9({},h),vee.getEventProperties(r,t));for(var b in y)v[b]=y[b];n&&n.dispatchEvent(v),m[g]&&m[g].call(t,v)}}var gee=["evt"],yee=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.evt,o=T9(n,gee);vee.pluginEvent.bind(ute)(e,t,S9({dragEl:_ee,parentEl:wee,ghostEl:xee,rootEl:Oee,nextEl:Eee,lastDownEl:See,cloneEl:Cee,cloneHidden:Aee,dragStarted:zee,putSortable:Dee,activeSortable:ute.active,originalEvent:r,oldIndex:kee,oldDraggableIndex:Mee,newIndex:Tee,newDraggableIndex:Pee,hideGhostForTarget:ate,unhideGhostForTarget:lte,cloneNowHidden:function(){Aee=!0},cloneNowShown:function(){Aee=!1},dispatchSortableEvent:function(e){bee({sortable:t,name:e,originalEvent:r})}},o))};function bee(e){mee(S9({putSortable:Dee,cloneEl:Cee,targetEl:_ee,rootEl:Oee,oldIndex:kee,oldDraggableIndex:Mee,newIndex:Tee,newDraggableIndex:Pee},e))}var _ee,wee,xee,Oee,Eee,See,Cee,Aee,kee,Tee,Mee,Pee,jee,Dee,Iee,Nee,Lee,Fee,Ree,Bee,zee,Vee,Uee,Hee,Wee,qee=!1,$ee=!1,Gee=[],Kee=!1,Xee=!1,Yee=[],Jee=!1,Qee=[],Zee="undefined"!=typeof document,ete=F9,tte=I9||D9?"cssFloat":"float",nte=Zee&&!R9&&!F9&&"draggable"in document.createElement("div"),rte=function(){if(Zee){if(D9)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),ote=function(e,t){var n=K9(e),r=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),o=eee(e,0,t),i=eee(e,1,t),a=o&&K9(o),l=i&&K9(i),s=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+Q9(o).width,c=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+Q9(i).width;if("flex"===n.display)return"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal";if("grid"===n.display)return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(o&&a.float&&"none"!==a.float){var u="left"===a.float?"left":"right";return!i||"both"!==l.clear&&l.clear!==u?"horizontal":"vertical"}return o&&("block"===a.display||"flex"===a.display||"table"===a.display||"grid"===a.display||s>=r&&"none"===n[tte]||i&&"none"===n[tte]&&s+c>r)?"vertical":"horizontal"},ite=function(e){function t(e,n){return function(r,o,i,a){var l=r.options.group.name&&o.options.group.name&&r.options.group.name===o.options.group.name;if(null==e&&(n||l))return!0;if(null==e||!1===e)return!1;if(n&&"clone"===e)return e;if("function"==typeof e)return t(e(r,o,i,a),n)(r,o,i,a);var s=(n?r:o).options.group.name;return!0===e||"string"==typeof e&&e===s||e.join&&e.indexOf(s)>-1}}var n={},r=e.group;r&&"object"==C9(r)||(r={name:r}),n.name=r.name,n.checkPull=t(r.pull,!0),n.checkPut=t(r.put),n.revertClone=r.revertClone,e.group=n},ate=function(){!rte&&xee&&K9(xee,"display","none")},lte=function(){!rte&&xee&&K9(xee,"display","")};Zee&&document.addEventListener("click",(function(e){if($ee)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),$ee=!1,!1}),!0);var ste=function(e){if(_ee){e=e.touches?e.touches[0]:e;var t=(o=e.clientX,i=e.clientY,Gee.some((function(e){var t=e[fee].options.emptyInsertThreshold;if(t&&!tee(e)){var n=Q9(e),r=o>=n.left-t&&o<=n.right+t,l=i>=n.top-t&&i<=n.bottom+t;return r&&l?a=e:void 0}})),a);if(t){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);n.target=n.rootEl=t,n.preventDefault=void 0,n.stopPropagation=void 0,t[fee]._onDragOver(n)}}var o,i,a},cte=function(e){_ee&&_ee.parentNode[fee]._isOutsideThisEl(e.target)};function ute(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=k9({},t),e[fee]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1, +// percentage; 0 <= x <= 1 +invertSwap:!1, +// invert always +invertedSwapThreshold:null, +// will be set to same as swapThreshold if default +removeCloneOnHide:!0,direction:function(){return ote(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==ute.supportPointer&&"PointerEvent"in window&&!L9,emptyInsertThreshold:5};for(var r in vee.initializePlugins(this,e,n),n)!(r in t)&&(t[r]=n[r]);for(var o in ite(t),this)"_"===o.charAt(0)&&"function"==typeof this[o]&&(this[o]=this[o].bind(this));this.nativeDraggable=!t.forceFallback&&nte,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?z9(e,"pointerdown",this._onTapStart):(z9(e,"mousedown",this._onTapStart),z9(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(z9(e,"dragover",this),z9(e,"dragenter",this)),Gee.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),k9(this,pee())}function fte(e,t,n,r,o,i,a,l){var s,c,u=e[fee],f=u.options.onMove;return!window.CustomEvent||D9||I9?(s=document.createEvent("Event")).initEvent("move",!0,!0):s=new CustomEvent("move",{bubbles:!0,cancelable:!0}),s.to=t,s.from=e,s.dragged=n,s.draggedRect=r,s.related=o||t,s.relatedRect=i||Q9(t),s.willInsertAfter=l,s.originalEvent=a,e.dispatchEvent(s),f&&(c=f.call(u,s,a)),c}function pte(e){e.draggable=!1}function dte(){Jee=!1}function hte(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,r=0;n--;)r+=t.charCodeAt(n);return r.toString(36)}function vte(e){return setTimeout(e,0)}function mte(e){return clearTimeout(e)}ute.prototype=/** @lends Sortable.prototype */ +{constructor:ute,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(Vee=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,_ee):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,n=this.el,r=this.options,o=r.preventOnFilter,i=e.type,a=e.touches&&e.touches[0]||e.pointerType&&"touch"===e.pointerType&&e,l=(a||e).target,s=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||l,c=r.filter;if(function(e){Qee.length=0;var t=e.getElementsByTagName("input"),n=t.length;for(;n--;){var r=t[n];r.checked&&Qee.push(r)}}(n),!_ee&&!(/mousedown|pointerdown/.test(i)&&0!==e.button||r.disabled)&&!s.isContentEditable&&(this.nativeDraggable||!L9||!l||"SELECT"!==l.tagName.toUpperCase())&&!((l=W9(l,r.draggable,n,!1))&&l.animated||See===l)){if(kee=nee(l),Mee=nee(l,r.draggable),"function"==typeof c){if(c.call(this,e,l,this))return bee({sortable:t,rootEl:s,name:"filter",targetEl:l,toEl:n,fromEl:n}),yee("filter",t,{evt:e}),void(o&&e.cancelable&&e.preventDefault())}else if(c&&(c=c.split(",").some((function(r){if(r=W9(s,r.trim(),n,!1))return bee({sortable:t,rootEl:r,name:"filter",targetEl:l,fromEl:n,toEl:n}),yee("filter",t,{evt:e}),!0}))))return void(o&&e.cancelable&&e.preventDefault());r.handle&&!W9(s,r.handle,n,!1)||this._prepareDragStart(e,a,l)}}},_prepareDragStart:function(e,t,n){var r,o=this,i=o.el,a=o.options,l=i.ownerDocument;if(n&&!_ee&&n.parentNode===i){var s=Q9(n);if(Oee=i,wee=(_ee=n).parentNode,Eee=_ee.nextSibling,See=n,jee=a.group,ute.dragged=_ee,Iee={target:_ee,clientX:(t||e).clientX,clientY:(t||e).clientY},Ree=Iee.clientX-s.left,Bee=Iee.clientY-s.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,_ee.style["will-change"]="all",r=function(){yee("delayEnded",o,{evt:e}),ute.eventCanceled?o._onDrop():(o._disableDelayedDragEvents(),!N9&&o.nativeDraggable&&(_ee.draggable=!0),o._triggerDragStart(e,t),bee({sortable:o,name:"choose",originalEvent:e}),G9(_ee,a.chosenClass,!0))},a.ignore.split(",").forEach((function(e){Y9(_ee,e.trim(),pte)})),z9(l,"dragover",ste),z9(l,"mousemove",ste),z9(l,"touchmove",ste),z9(l,"mouseup",o._onDrop),z9(l,"touchend",o._onDrop),z9(l,"touchcancel",o._onDrop),N9&&this.nativeDraggable&&(this.options.touchStartThreshold=4,_ee.draggable=!0),yee("delayStart",this,{evt:e}),!a.delay||a.delayOnTouchOnly&&!t||this.nativeDraggable&&(I9||D9))r();else{if(ute.eventCanceled)return void this._onDrop();z9(l,"mouseup",o._disableDelayedDrag),z9(l,"touchend",o._disableDelayedDrag),z9(l,"touchcancel",o._disableDelayedDrag),z9(l,"mousemove",o._delayedDragTouchMoveHandler),z9(l,"touchmove",o._delayedDragTouchMoveHandler),a.supportPointer&&z9(l,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(r,a.delay)}}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){_ee&&pte(_ee),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;V9(e,"mouseup",this._disableDelayedDrag),V9(e,"touchend",this._disableDelayedDrag),V9(e,"touchcancel",this._disableDelayedDrag),V9(e,"mousemove",this._delayedDragTouchMoveHandler),V9(e,"touchmove",this._delayedDragTouchMoveHandler),V9(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?z9(document,"pointermove",this._onTouchMove):z9(document,t?"touchmove":"mousemove",this._onTouchMove):(z9(_ee,"dragend",this),z9(Oee,"dragstart",this._onDragStart));try{document.selection?vte((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(n){}},_dragStarted:function(e,t){if(qee=!1,Oee&&_ee){yee("dragStarted",this,{evt:t}),this.nativeDraggable&&z9(document,"dragover",cte);var n=this.options;!e&&G9(_ee,n.dragClass,!1),G9(_ee,n.ghostClass,!0),ute.active=this,e&&this._appendGhost(),bee({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(Nee){this._lastX=Nee.clientX,this._lastY=Nee.clientY,ate();for(var e=document.elementFromPoint(Nee.clientX,Nee.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(Nee.clientX,Nee.clientY))!==t;)t=e;if(_ee.parentNode[fee]._isOutsideThisEl(e),t)do{if(t[fee]){if(t[fee]._onDragOver({clientX:Nee.clientX,clientY:Nee.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);lte()}},_onTouchMove:function(e){if(Iee){var t=this.options,n=t.fallbackTolerance,r=t.fallbackOffset,o=e.touches?e.touches[0]:e,i=xee&&X9(xee,!0),a=xee&&i&&i.a,l=xee&&i&&i.d,s=ete&&Wee&&ree(Wee),c=(o.clientX-Iee.clientX+r.x)/(a||1)+(s?s[0]-Yee[0]:0)/(a||1),u=(o.clientY-Iee.clientY+r.y)/(l||1)+(s?s[1]-Yee[1]:0)/(l||1);if(!ute.active&&!qee){if(n&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))<n)return;this._onDragStart(e,!0)}if(xee){i?(i.e+=c-(Lee||0),i.f+=u-(Fee||0)):i={a:1,b:0,c:0,d:1,e:c,f:u};var f="matrix(".concat(i.a,",").concat(i.b,",").concat(i.c,",").concat(i.d,",").concat(i.e,",").concat(i.f,")");K9(xee,"webkitTransform",f),K9(xee,"mozTransform",f),K9(xee,"msTransform",f),K9(xee,"transform",f),Lee=c,Fee=u,Nee=o}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!xee){var e=this.options.fallbackOnBody?document.body:Oee,t=Q9(_ee,!0,ete,!0,e),n=this.options;if(ete){for(Wee=e;"static"===K9(Wee,"position")&&"none"===K9(Wee,"transform")&&Wee!==document;)Wee=Wee.parentNode;Wee!==document.body&&Wee!==document.documentElement?(Wee===document&&(Wee=J9()),t.top+=Wee.scrollTop,t.left+=Wee.scrollLeft):Wee=J9(),Yee=ree(Wee)}G9(xee=_ee.cloneNode(!0),n.ghostClass,!1),G9(xee,n.fallbackClass,!0),G9(xee,n.dragClass,!0),K9(xee,"transition",""),K9(xee,"transform",""),K9(xee,"box-sizing","border-box"),K9(xee,"margin",0),K9(xee,"top",t.top),K9(xee,"left",t.left),K9(xee,"width",t.width),K9(xee,"height",t.height),K9(xee,"opacity","0.8"),K9(xee,"position",ete?"absolute":"fixed"),K9(xee,"zIndex","100000"),K9(xee,"pointerEvents","none"),ute.ghost=xee,e.appendChild(xee),K9(xee,"transform-origin",Ree/parseInt(xee.style.width)*100+"% "+Bee/parseInt(xee.style.height)*100+"%")}},_onDragStart:function(e,t){var n=this,r=e.dataTransfer,o=n.options;yee("dragStart",this,{evt:e}),ute.eventCanceled?this._onDrop():(yee("setupClone",this),ute.eventCanceled||((Cee=see(_ee)).draggable=!1,Cee.style["will-change"]="",this._hideClone(),G9(Cee,this.options.chosenClass,!1),ute.clone=Cee),n.cloneId=vte((function(){yee("clone",n),ute.eventCanceled||(n.options.removeCloneOnHide||Oee.insertBefore(Cee,_ee),n._hideClone(),bee({sortable:n,name:"clone"}))})),!t&&G9(_ee,o.dragClass,!0),t?($ee=!0,n._loopId=setInterval(n._emulateDragOver,50)):(V9(document,"mouseup",n._onDrop),V9(document,"touchend",n._onDrop),V9(document,"touchcancel",n._onDrop),r&&(r.effectAllowed="move",o.setData&&o.setData.call(n,r,_ee)),z9(document,"drop",n),K9(_ee,"transform","translateZ(0)")),qee=!0,n._dragStartId=vte(n._dragStarted.bind(n,t,e)),z9(document,"selectstart",n),zee=!0,L9&&K9(document.body,"user-select","none"))}, +// Returns true - if no further action is needed (either inserted or another condition) +_onDragOver:function(e){var t,n,r,o,i=this.el,a=e.target,l=this.options,s=l.group,c=ute.active,u=jee===s,f=l.sort,p=Dee||c,d=this,h=!1;if(!Jee){if(void 0!==e.preventDefault&&e.cancelable&&e.preventDefault(),a=W9(a,l.draggable,i,!0),T("dragOver"),ute.eventCanceled)return h;if(_ee.contains(e.target)||a.animated&&a.animatingX&&a.animatingY||d._ignoreWhileAnimating===a)return P(!1);if($ee=!1,c&&!l.disabled&&(u?f||(r=wee!==Oee):Dee===this||(this.lastPutMode=jee.checkPull(this,c,_ee,e))&&s.checkPut(this,c,_ee,e))){if(o="vertical"===this._getDirection(e,a),t=Q9(_ee),T("dragOverValid"),ute.eventCanceled)return h;if(r)return wee=Oee,M(),this._hideClone(),T("revert"),ute.eventCanceled||(Eee?Oee.insertBefore(_ee,Eee):Oee.appendChild(_ee)),P(!0);var v=tee(i,l.draggable);if(!v||function(e,t,n){var r=Q9(tee(n.el,n.options.draggable)),o=10;return t?e.clientX>r.right+o||e.clientX<=r.right&&e.clientY>r.bottom&&e.clientX>=r.left:e.clientX>r.right&&e.clientY>r.top||e.clientX<=r.right&&e.clientY>r.bottom+o}(e,o,this)&&!v.animated){if(v===_ee)return P(!1);if(v&&i===e.target&&(a=v),a&&(n=Q9(a)),!1!==fte(Oee,i,_ee,t,a,n,e,!!a))return M(),i.appendChild(_ee),wee=i,j(),P(!0)}else if(v&&function(e,t,n){var r=Q9(eee(n.el,0,n.options,!0)),o=10;return t?e.clientX<r.left-o||e.clientY<r.top&&e.clientX<r.right:e.clientY<r.top-o||e.clientY<r.bottom&&e.clientX<r.left}(e,o,this)){var m=eee(i,0,l,!0);if(m===_ee)return P(!1);if(n=Q9(a=m),!1!==fte(Oee,i,_ee,t,a,n,e,!1))return M(),i.insertBefore(_ee,m),wee=i,j(),P(!0)}else if(a.parentNode===i){n=Q9(a);var g,y,b,_=_ee.parentNode!==i,w=!function(e,t,n){var r=n?e.left:e.top,o=n?e.right:e.bottom,i=n?e.width:e.height,a=n?t.left:t.top,l=n?t.right:t.bottom,s=n?t.width:t.height;return r===a||o===l||r+i/2===a+s/2}(_ee.animated&&_ee.toRect||t,a.animated&&a.toRect||n,o),x=o?"top":"left",O=Z9(a,"top","top")||Z9(_ee,"top","top"),E=O?O.scrollTop:void 0;if(Vee!==a&&(y=n[x],Kee=!1,Xee=!w&&l.invertSwap||_),g=function(e,t,n,r,o,i,a,l){var s=r?e.clientY:e.clientX,c=r?n.height:n.width,u=r?n.top:n.left,f=r?n.bottom:n.right,p=!1;if(!a)if(l&&Hee<c*o){if(!Kee&&(1===Uee?s>u+c*i/2:s<f-c*i/2)&&(Kee=!0),Kee)p=!0;else if(1===Uee?s<u+Hee:s>f-Hee)return-Uee}else if(s>u+c*(1-o)/2&&s<f-c*(1-o)/2)return function(e){return nee(_ee)<nee(e)?1:-1}(t);if((p=p||a)&&(s<u+c*i/2||s>f-c*i/2))return s>u+c/2?1:-1;return 0}(e,a,n,o,w?1:l.swapThreshold,null==l.invertedSwapThreshold?l.swapThreshold:l.invertedSwapThreshold,Xee,Vee===a),0!==g){var S=nee(_ee);do{S-=g,b=wee.children[S]}while(b&&("none"===K9(b,"display")||b===xee))}if(0===g||b===a)return P(!1);Vee=a,Uee=g;var C=a.nextElementSibling,A=!1,k=fte(Oee,i,_ee,t,a,n,e,A=1===g);if(!1!==k)return 1!==k&&-1!==k||(A=1===k),Jee=!0,setTimeout(dte,30),M(),A&&!C?i.appendChild(_ee):a.parentNode.insertBefore(_ee,A?C:a),O&&lee(O,0,E-O.scrollTop),wee=_ee.parentNode,void 0===y||Xee||(Hee=Math.abs(y-Q9(a)[x])),j(),P(!0)}if(i.contains(_ee))return P(!1)}return!1}function T(l,s){yee(l,d,S9({evt:e,isOwner:u,axis:o?"vertical":"horizontal",revert:r,dragRect:t,targetRect:n,canSort:f,fromSortable:p,target:a,completed:P,onMove:function(n,r){return fte(Oee,i,_ee,t,n,Q9(n),e,r)},changed:j},s))}function M(){T("dragOverAnimationCapture"),d.captureAnimationState(),d!==p&&p.captureAnimationState()}function P(t){return T("dragOverCompleted",{insertion:t}),t&&(u?c._hideClone():c._showClone(d),d!==p&&(G9(_ee,Dee?Dee.options.ghostClass:c.options.ghostClass,!1),G9(_ee,l.ghostClass,!0)),Dee!==d&&d!==ute.active?Dee=d:d===ute.active&&Dee&&(Dee=null),p===d&&(d._ignoreWhileAnimating=a),d.animateAll((function(){T("dragOverAnimationComplete"),d._ignoreWhileAnimating=null})),d!==p&&(p.animateAll(),p._ignoreWhileAnimating=null)),(a===_ee&&!_ee.animated||a===i&&!a.animated)&&(Vee=null),l.dragoverBubble||e.rootEl||a===document||(_ee.parentNode[fee]._isOutsideThisEl(e.target),!t&&ste(e)),!l.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),h=!0}function j(){Tee=nee(_ee),Pee=nee(_ee,l.draggable),bee({sortable:d,name:"change",toEl:i,newIndex:Tee,newDraggableIndex:Pee,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){V9(document,"mousemove",this._onTouchMove),V9(document,"touchmove",this._onTouchMove),V9(document,"pointermove",this._onTouchMove),V9(document,"dragover",ste),V9(document,"mousemove",ste),V9(document,"touchmove",ste)},_offUpEvents:function(){var e=this.el.ownerDocument;V9(e,"mouseup",this._onDrop),V9(e,"touchend",this._onDrop),V9(e,"pointerup",this._onDrop),V9(e,"touchcancel",this._onDrop),V9(document,"selectstart",this)},_onDrop:function(e){var t=this.el,n=this.options;Tee=nee(_ee),Pee=nee(_ee,n.draggable),yee("drop",this,{evt:e}),wee=_ee&&_ee.parentNode,Tee=nee(_ee),Pee=nee(_ee,n.draggable),ute.eventCanceled||(qee=!1,Xee=!1,Kee=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),mte(this.cloneId),mte(this._dragStartId),this.nativeDraggable&&(V9(document,"drop",this),V9(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),L9&&K9(document.body,"user-select",""),K9(_ee,"transform",""),e&&(zee&&(e.cancelable&&e.preventDefault(),!n.dropBubble&&e.stopPropagation()),xee&&xee.parentNode&&xee.parentNode.removeChild(xee),(Oee===wee||Dee&&"clone"!==Dee.lastPutMode)&&Cee&&Cee.parentNode&&Cee.parentNode.removeChild(Cee),_ee&&(this.nativeDraggable&&V9(_ee,"dragend",this),pte(_ee),_ee.style["will-change"]="",zee&&!qee&&G9(_ee,Dee?Dee.options.ghostClass:this.options.ghostClass,!1),G9(_ee,this.options.chosenClass,!1),bee({sortable:this,name:"unchoose",toEl:wee,newIndex:null,newDraggableIndex:null,originalEvent:e}),Oee!==wee?(Tee>=0&&(bee({rootEl:wee,name:"add",toEl:wee,fromEl:Oee,originalEvent:e}),bee({sortable:this,name:"remove",toEl:wee,originalEvent:e}),bee({rootEl:wee,name:"sort",toEl:wee,fromEl:Oee,originalEvent:e}),bee({sortable:this,name:"sort",toEl:wee,originalEvent:e})),Dee&&Dee.save()):Tee!==kee&&Tee>=0&&(bee({sortable:this,name:"update",toEl:wee,originalEvent:e}),bee({sortable:this,name:"sort",toEl:wee,originalEvent:e})),ute.active&&(null!=Tee&&-1!==Tee||(Tee=kee,Pee=Mee),bee({sortable:this,name:"end",toEl:wee,originalEvent:e}),this.save())))),this._nulling()},_nulling:function(){yee("nulling",this),Oee=_ee=wee=xee=Eee=Cee=See=Aee=Iee=Nee=zee=Tee=Pee=kee=Mee=Vee=Uee=Dee=jee=ute.dragged=ute.ghost=ute.clone=ute.active=null,Qee.forEach((function(e){e.checked=!0})),Qee.length=Lee=Fee=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":_ee&&(this._onDragOver(e),function(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move");e.cancelable&&e.preventDefault()}(e));break;case"selectstart":e.preventDefault()}}, +/** + * Serializes the item into an array of string. + * @returns {String[]} + */ +toArray:function(){for(var e,t=[],n=this.el.children,r=0,o=n.length,i=this.options;r<o;r++)W9(e=n[r],i.draggable,this.el,!1)&&t.push(e.getAttribute(i.dataIdAttr)||hte(e));return t}, +/** + * Sorts the elements according to the array. + * @param {String[]} order order of the items + */ +sort:function(e,t){var n={},r=this.el;this.toArray().forEach((function(e,t){var o=r.children[t];W9(o,this.options.draggable,r,!1)&&(n[e]=o)}),this),t&&this.captureAnimationState(),e.forEach((function(e){n[e]&&(r.removeChild(n[e]),r.appendChild(n[e]))})),t&&this.animateAll()}, +/** + * Save the current sorting + */ +save:function(){var e=this.options.store;e&&e.set&&e.set(this)}, +/** + * For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree. + * @param {HTMLElement} el + * @param {String} [selector] default: `options.draggable` + * @returns {HTMLElement|null} + */ +closest:function(e,t){return W9(e,t||this.options.draggable,this.el,!1)}, +/** + * Set/get option + * @param {string} name + * @param {*} [value] + * @returns {*} + */ +option:function(e,t){var n=this.options;if(void 0===t)return n[e];var r=vee.modifyOption(this,e,t);n[e]=void 0!==r?r:t,"group"===e&&ite(n)}, +/** + * Destroy + */ +destroy:function(){yee("destroy",this);var e=this.el;e[fee]=null,V9(e,"mousedown",this._onTapStart),V9(e,"touchstart",this._onTapStart),V9(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(V9(e,"dragover",this),V9(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),(function(e){e.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),Gee.splice(Gee.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!Aee){if(yee("hideClone",this),ute.eventCanceled)return;K9(Cee,"display","none"),this.options.removeCloneOnHide&&Cee.parentNode&&Cee.parentNode.removeChild(Cee),Aee=!0}},_showClone:function(e){if("clone"===e.lastPutMode){if(Aee){if(yee("showClone",this),ute.eventCanceled)return;_ee.parentNode!=Oee||this.options.group.revertClone?Eee?Oee.insertBefore(Cee,Eee):Oee.appendChild(Cee):Oee.insertBefore(Cee,_ee),this.options.group.revertClone&&this.animate(_ee,Cee),K9(Cee,"display",""),Aee=!1}}else this._hideClone()}},Zee&&z9(document,"touchmove",(function(e){(ute.active||qee)&&e.cancelable&&e.preventDefault()})),ute.utils={on:z9,off:V9,css:K9,find:Y9,is:function(e,t){return!!W9(e,t,e,!1)},extend:function(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e},throttle:aee,closest:W9,toggleClass:G9,clone:see,index:nee,nextTick:vte,cancelNextTick:mte,detectDirection:ote,getChild:eee},ute.get=function(e){return e[fee]},ute.mount=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t[0].constructor===Array&&(t=t[0]),t.forEach((function(e){if(!e.prototype||!e.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(e));e.utils&&(ute.utils=S9(S9({},ute.utils),e.utils)),vee.mount(e)}))},ute.create=function(e,t){return new ute(e,t)},ute.version="1.14.0";var gte,yte,bte,_te,wte,xte,Ote=[],Ete=!1;function Ste(){Ote.forEach((function(e){clearInterval(e.pid)})),Ote=[]}function Cte(){clearInterval(xte)}var Ate,kte=aee((function(e,t,n,r){if(t.scroll){var o,i=(e.touches?e.touches[0]:e).clientX,a=(e.touches?e.touches[0]:e).clientY,l=t.scrollSensitivity,s=t.scrollSpeed,c=J9(),u=!1;yte!==n&&(yte=n,Ste(),gte=t.scroll,o=t.scrollFn,!0===gte&&(gte=oee(n,!0)));var f=0,p=gte;do{var d=p,h=Q9(d),v=h.top,m=h.bottom,g=h.left,y=h.right,b=h.width,_=h.height,w=void 0,x=void 0,O=d.scrollWidth,E=d.scrollHeight,S=K9(d),C=d.scrollLeft,A=d.scrollTop;d===c?(w=b<O&&("auto"===S.overflowX||"scroll"===S.overflowX||"visible"===S.overflowX),x=_<E&&("auto"===S.overflowY||"scroll"===S.overflowY||"visible"===S.overflowY)):(w=b<O&&("auto"===S.overflowX||"scroll"===S.overflowX),x=_<E&&("auto"===S.overflowY||"scroll"===S.overflowY));var k=w&&(Math.abs(y-i)<=l&&C+b<O)-(Math.abs(g-i)<=l&&!!C),T=x&&(Math.abs(m-a)<=l&&A+_<E)-(Math.abs(v-a)<=l&&!!A);if(!Ote[f])for(var M=0;M<=f;M++)Ote[M]||(Ote[M]={});Ote[f].vx==k&&Ote[f].vy==T&&Ote[f].el===d||(Ote[f].el=d,Ote[f].vx=k,Ote[f].vy=T,clearInterval(Ote[f].pid),0==k&&0==T||(u=!0,Ote[f].pid=setInterval(function(){r&&0===this.layer&&ute.active._onTouchMove(wte);var t=Ote[this.layer].vy?Ote[this.layer].vy*s:0,n=Ote[this.layer].vx?Ote[this.layer].vx*s:0;"function"==typeof o&&"continue"!==o.call(ute.dragged.parentNode[fee],n,t,e,wte,Ote[this.layer].el)||lee(Ote[this.layer].el,n,t)}.bind({layer:f}),24))),f++}while(t.bubbleScroll&&p!==c&&(p=oee(p,!1)));Ete=u}}),30),Tte=function(e){var t=e.originalEvent,n=e.putSortable,r=e.dragEl,o=e.activeSortable,i=e.dispatchSortableEvent,a=e.hideGhostForTarget,l=e.unhideGhostForTarget;if(t){var s=n||o;a();var c=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,u=document.elementFromPoint(c.clientX,c.clientY);l(),s&&!s.el.contains(u)&&(i("spill"),this.onSpill({dragEl:r,putSortable:n}))}};function Mte(){}function Pte(){}Mte.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){var t=e.dragEl,n=e.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var r=eee(this.sortable.el,this.startIndex,this.options);r?this.sortable.el.insertBefore(t,r):this.sortable.el.appendChild(t),this.sortable.animateAll(),n&&n.animateAll()},drop:Tte},k9(Mte,{pluginName:"revertOnSpill"}),Pte.prototype={onSpill:function(e){var t=e.dragEl,n=e.putSortable||this.sortable;n.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),n.animateAll()},drop:Tte},k9(Pte,{pluginName:"removeOnSpill"});var jte,Dte,Ite,Nte,Lte,Fte=[],Rte=[],Bte=!1,zte=!1,Vte=!1;function Ute(e,t){Rte.forEach((function(n,r){var o=t.children[n.sortableIndex+(e?Number(r):0)];o?t.insertBefore(n,o):t.appendChild(n)}))}function Hte(){Fte.forEach((function(e){e!==Ite&&e.parentNode&&e.parentNode.removeChild(e)}))}ute.mount(new function(){function e(){for(var e in this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===e.charAt(0)&&"function"==typeof this[e]&&(this[e]=this[e].bind(this))}return e.prototype={dragStarted:function(e){var t=e.originalEvent;this.sortable.nativeDraggable?z9(document,"dragover",this._handleAutoScroll):this.options.supportPointer?z9(document,"pointermove",this._handleFallbackAutoScroll):t.touches?z9(document,"touchmove",this._handleFallbackAutoScroll):z9(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var t=e.originalEvent;this.options.dragOverBubble||t.rootEl||this._handleAutoScroll(t)},drop:function(){this.sortable.nativeDraggable?V9(document,"dragover",this._handleAutoScroll):(V9(document,"pointermove",this._handleFallbackAutoScroll),V9(document,"touchmove",this._handleFallbackAutoScroll),V9(document,"mousemove",this._handleFallbackAutoScroll)),Cte(),Ste(),clearTimeout(q9),q9=void 0},nulling:function(){wte=yte=gte=Ete=xte=bte=_te=null,Ote.length=0},_handleFallbackAutoScroll:function(e){this._handleAutoScroll(e,!0)},_handleAutoScroll:function(e,t){var n=this,r=(e.touches?e.touches[0]:e).clientX,o=(e.touches?e.touches[0]:e).clientY,i=document.elementFromPoint(r,o);if(wte=e,t||this.options.forceAutoScrollFallback||I9||D9||L9){kte(e,this.options,i,t);var a=oee(i,!0);!Ete||xte&&r===bte&&o===_te||(xte&&Cte(),xte=setInterval((function(){var i=oee(document.elementFromPoint(r,o),!0);i!==a&&(a=i,Ste()),kte(e,n.options,i,t)}),10),bte=r,_te=o)}else{if(!this.options.bubbleScroll||oee(i,!0)===J9())return void Ste();kte(e,this.options,oee(i,!1),!1)}}},k9(e,{pluginName:"scroll",initializeByDefault:!0})}),ute.mount(Pte,Mte);const Wte=Object.defineProperty({__proto__:null,MultiDrag:function(){function e(e){for(var t in this)"_"===t.charAt(0)&&"function"==typeof this[t]&&(this[t]=this[t].bind(this));e.options.supportPointer?z9(document,"pointerup",this._deselectMultiDrag):(z9(document,"mouseup",this._deselectMultiDrag),z9(document,"touchend",this._deselectMultiDrag)),z9(document,"keydown",this._checkKeyDown),z9(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(t,n){var r="";Fte.length&&Dte===e?Fte.forEach((function(e,t){r+=(t?", ":"")+e.textContent})):r=n.textContent,t.setData("Text",r)}}}return e.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(e){var t=e.dragEl;Ite=t},delayEnded:function(){this.isMultiDrag=~Fte.indexOf(Ite)},setupClone:function(e){var t=e.sortable,n=e.cancel;if(this.isMultiDrag){for(var r=0;r<Fte.length;r++)Rte.push(see(Fte[r])),Rte[r].sortableIndex=Fte[r].sortableIndex,Rte[r].draggable=!1,Rte[r].style["will-change"]="",G9(Rte[r],this.options.selectedClass,!1),Fte[r]===Ite&&G9(Rte[r],this.options.chosenClass,!1);t._hideClone(),n()}},clone:function(e){var t=e.sortable,n=e.rootEl,r=e.dispatchSortableEvent,o=e.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||Fte.length&&Dte===t&&(Ute(!0,n),r("clone"),o()))},showClone:function(e){var t=e.cloneNowShown,n=e.rootEl,r=e.cancel;this.isMultiDrag&&(Ute(!1,n),Rte.forEach((function(e){K9(e,"display","")})),t(),Lte=!1,r())},hideClone:function(e){var t=this;e.sortable;var n=e.cloneNowHidden,r=e.cancel;this.isMultiDrag&&(Rte.forEach((function(e){K9(e,"display","none"),t.options.removeCloneOnHide&&e.parentNode&&e.parentNode.removeChild(e)})),n(),Lte=!0,r())},dragStartGlobal:function(e){e.sortable,!this.isMultiDrag&&Dte&&Dte.multiDrag._deselectMultiDrag(),Fte.forEach((function(e){e.sortableIndex=nee(e)})),Fte=Fte.sort((function(e,t){return e.sortableIndex-t.sortableIndex})),Vte=!0},dragStarted:function(e){var t=this,n=e.sortable;if(this.isMultiDrag){if(this.options.sort&&(n.captureAnimationState(),this.options.animation)){Fte.forEach((function(e){e!==Ite&&K9(e,"position","absolute")}));var r=Q9(Ite,!1,!0,!0);Fte.forEach((function(e){e!==Ite&&cee(e,r)})),zte=!0,Bte=!0}n.animateAll((function(){zte=!1,Bte=!1,t.options.animation&&Fte.forEach((function(e){uee(e)})),t.options.sort&&Hte()}))}},dragOver:function(e){var t=e.target,n=e.completed,r=e.cancel;zte&&~Fte.indexOf(t)&&(n(!1),r())},revert:function(e){var t=e.fromSortable,n=e.rootEl,r=e.sortable,o=e.dragRect;Fte.length>1&&(Fte.forEach((function(e){r.addAnimationState({target:e,rect:zte?Q9(e):o}),uee(e),e.fromRect=o,t.removeAnimationState(e)})),zte=!1,function(e,t){Fte.forEach((function(n,r){var o=t.children[n.sortableIndex+(e?Number(r):0)];o?t.insertBefore(n,o):t.appendChild(n)}))}(!this.options.removeCloneOnHide,n))},dragOverCompleted:function(e){var t=e.sortable,n=e.isOwner,r=e.insertion,o=e.activeSortable,i=e.parentEl,a=e.putSortable,l=this.options;if(r){if(n&&o._hideClone(),Bte=!1,l.animation&&Fte.length>1&&(zte||!n&&!o.options.sort&&!a)){var s=Q9(Ite,!1,!0,!0);Fte.forEach((function(e){e!==Ite&&(cee(e,s),i.appendChild(e))})),zte=!0}if(!n)if(zte||Hte(),Fte.length>1){var c=Lte;o._showClone(t),o.options.animation&&!Lte&&c&&Rte.forEach((function(e){o.addAnimationState({target:e,rect:Nte}),e.fromRect=Nte,e.thisAnimationDuration=null}))}else o._showClone(t)}},dragOverAnimationCapture:function(e){var t=e.dragRect,n=e.isOwner,r=e.activeSortable;if(Fte.forEach((function(e){e.thisAnimationDuration=null})),r.options.animation&&!n&&r.multiDrag.isMultiDrag){Nte=k9({},t);var o=X9(Ite,!0);Nte.top-=o.f,Nte.left-=o.e}},dragOverAnimationComplete:function(){zte&&(zte=!1,Hte())},drop:function(e){var t=e.originalEvent,n=e.rootEl,r=e.parentEl,o=e.sortable,i=e.dispatchSortableEvent,a=e.oldIndex,l=e.putSortable,s=l||this.sortable;if(t){var c=this.options,u=r.children;if(!Vte)if(c.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),G9(Ite,c.selectedClass,!~Fte.indexOf(Ite)),~Fte.indexOf(Ite))Fte.splice(Fte.indexOf(Ite),1),jte=null,mee({sortable:o,rootEl:n,name:"deselect",targetEl:Ite,originalEvt:t});else{if(Fte.push(Ite),mee({sortable:o,rootEl:n,name:"select",targetEl:Ite,originalEvt:t}),t.shiftKey&&jte&&o.el.contains(jte)){var f,p,d=nee(jte),h=nee(Ite);if(~d&&~h&&d!==h)for(h>d?(p=d,f=h):(p=h,f=d+1);p<f;p++)~Fte.indexOf(u[p])||(G9(u[p],c.selectedClass,!0),Fte.push(u[p]),mee({sortable:o,rootEl:n,name:"select",targetEl:u[p],originalEvt:t}))}else jte=Ite;Dte=s}if(Vte&&this.isMultiDrag){if(zte=!1,(r[fee].options.sort||r!==n)&&Fte.length>1){var v=Q9(Ite),m=nee(Ite,":not(."+this.options.selectedClass+")");if(!Bte&&c.animation&&(Ite.thisAnimationDuration=null),s.captureAnimationState(),!Bte&&(c.animation&&(Ite.fromRect=v,Fte.forEach((function(e){if(e.thisAnimationDuration=null,e!==Ite){var t=zte?Q9(e):v;e.fromRect=t,s.addAnimationState({target:e,rect:t})}}))),Hte(),Fte.forEach((function(e){u[m]?r.insertBefore(e,u[m]):r.appendChild(e),m++})),a===nee(Ite))){var g=!1;Fte.forEach((function(e){e.sortableIndex===nee(e)||(g=!0)})),g&&i("update")}Fte.forEach((function(e){uee(e)})),s.animateAll()}Dte=s}(n===r||l&&"clone"!==l.lastPutMode)&&Rte.forEach((function(e){e.parentNode&&e.parentNode.removeChild(e)}))}},nullingGlobal:function(){this.isMultiDrag=Vte=!1,Rte.length=0},destroyGlobal:function(){this._deselectMultiDrag(),V9(document,"pointerup",this._deselectMultiDrag),V9(document,"mouseup",this._deselectMultiDrag),V9(document,"touchend",this._deselectMultiDrag),V9(document,"keydown",this._checkKeyDown),V9(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(e){if(!(void 0!==Vte&&Vte||Dte!==this.sortable||e&&W9(e.target,this.options.draggable,this.sortable.el,!1)||e&&0!==e.button))for(;Fte.length;){var t=Fte[0];G9(t,this.options.selectedClass,!1),Fte.shift(),mee({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:t,originalEvt:e})}},_checkKeyDown:function(e){e.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(e){e.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},k9(e,{ +// Static methods & properties +pluginName:"multiDrag",utils:{ +/** + * Selects the provided multi-drag item + * @param {HTMLElement} el The element to be selected + */ +select:function(e){var t=e.parentNode[fee];t&&t.options.multiDrag&&!~Fte.indexOf(e)&&(Dte&&Dte!==t&&(Dte.multiDrag._deselectMultiDrag(),Dte=t),G9(e,t.options.selectedClass,!0),Fte.push(e))}, +/** + * Deselects the provided multi-drag item + * @param {HTMLElement} el The element to be deselected + */ +deselect:function(e){var t=e.parentNode[fee],n=Fte.indexOf(e);t&&t.options.multiDrag&&~n&&(G9(e,t.options.selectedClass,!1),Fte.splice(n,1))}},eventProperties:function(){var e=this,t=[],n=[];return Fte.forEach((function(r){var o;t.push({multiDragElement:r,index:r.sortableIndex}),o=zte&&r!==Ite?-1:zte?nee(r,":not(."+e.options.selectedClass+")"):nee(r),n.push({multiDragElement:r,index:o})})),{items:M9(Fte),clones:[].concat(Rte),oldIndicies:t,newIndicies:n}},optionListeners:{multiDragKey:function(e){return"ctrl"===(e=e.toLowerCase())?e="Control":e.length>1&&(e=e.charAt(0).toUpperCase()+e.substr(1)),e}}})},Sortable:ute,Swap:function(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(e){var t=e.dragEl;Ate=t},dragOverValid:function(e){var t=e.completed,n=e.target,r=e.onMove,o=e.activeSortable,i=e.changed,a=e.cancel;if(o.options.swap){var l=this.sortable.el,s=this.options;if(n&&n!==l){var c=Ate;!1!==r(n)?(G9(n,s.swapClass,!0),Ate=n):Ate=null,c&&c!==Ate&&G9(c,s.swapClass,!1)}i(),t(!0),a()}},drop:function(e){var t=e.activeSortable,n=e.putSortable,r=e.dragEl,o=n||this.sortable,i=this.options;Ate&&G9(Ate,i.swapClass,!1),Ate&&(i.swap||n&&n.options.swap)&&r!==Ate&&(o.captureAnimationState(),o!==t&&t.captureAnimationState(),function(e,t){var n,r,o=e.parentNode,i=t.parentNode;if(!o||!i||o.isEqualNode(t)||i.isEqualNode(e))return;n=nee(e),r=nee(t),o.isEqualNode(i)&&n<r&&r++;o.insertBefore(t,o.children[n]),i.insertBefore(e,i.children[r])}(r,Ate),o.animateAll(),o!==t&&t.animateAll())},nulling:function(){Ate=null}},k9(e,{pluginName:"swap",eventProperties:function(){return{swapItem:Ate}}})},default:ute},Symbol.toStringTag,{value:"Module"}),qte=iO(Wte);var $te;var Gte,Kte=$te?X4.exports:($te=1,"undefined"!=typeof self&&self,Gte=function(e,t){ +/******/ +return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={ +/******/ +i:r, +/******/ +l:!1, +/******/ +exports:{} +/******/};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule? +/******/function(){return e.default}: +/******/function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fb15")}({ +/***/ +"00ee": +/***/function(e,t,n){var r={};r[n("b622")("toStringTag")]="z",e.exports="[object z]"===String(r)}, +/***/ +"0366": +/***/function(e,t,n){var r=n("1c0b");e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}}, +/***/ +"057f": +/***/function(e,t,n){var r=n("fc6a"),o=n("241c").f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(t){return a.slice()}}(e):o(r(e))}}, +/***/ +"06cf": +/***/function(e,t,n){var r=n("83ab"),o=n("d1e7"),i=n("5c6c"),a=n("fc6a"),l=n("c04e"),s=n("5135"),c=n("0cfb"),u=Object.getOwnPropertyDescriptor;t.f=r?u:function(e,t){if(e=a(e),t=l(t,!0),c)try{return u(e,t)}catch(n){}if(s(e,t))return i(!o.f.call(e,t),e[t])}}, +/***/ +"0cfb": +/***/function(e,t,n){var r=n("83ab"),o=n("d039"),i=n("cc12");e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))}, +/***/ +"13d5": +/***/function(e,t,n){var r=n("23e7"),o=n("d58f").left,i=n("a640"),a=n("ae40"),l=i("reduce"),s=a("reduce",{1:0});r({target:"Array",proto:!0,forced:!l||!s},{reduce:function(e){return o(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})}, +/***/ +"14c3": +/***/function(e,t,n){var r=n("c6b6"),o=n("9263");e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var i=n.call(e,t);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(e))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}}, +/***/ +"159b": +/***/function(e,t,n){var r=n("da84"),o=n("fdbc"),i=n("17c2"),a=n("9112");for(var l in o){var s=r[l],c=s&&s.prototype;if(c&&c.forEach!==i)try{a(c,"forEach",i)}catch(u){c.forEach=i}}}, +/***/ +"17c2": +/***/function(e,t,n){var r=n("b727").forEach,o=n("a640"),i=n("ae40"),a=o("forEach"),l=i("forEach");e.exports=a&&l?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}, +/***/ +"1be4": +/***/function(e,t,n){var r=n("d066");e.exports=r("document","documentElement")}, +/***/ +"1c0b": +/***/function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}}, +/***/ +"1c7e": +/***/function(e,t,n){var r=n("b622")("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(l){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(l){}return n}}, +/***/ +"1d80": +/***/function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}}, +/***/ +"1dde": +/***/function(e,t,n){var r=n("d039"),o=n("b622"),i=n("2d00"),a=o("species");e.exports=function(e){return i>=51||!r((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}}, +/***/ +"23cb": +/***/function(e,t,n){var r=n("a691"),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}}, +/***/ +"23e7": +/***/function(e,t,n){var r=n("da84"),o=n("06cf").f,i=n("9112"),a=n("6eeb"),l=n("ce4e"),s=n("e893"),c=n("94ca");e.exports=function(e,t){var n,u,f,p,d,h=e.target,v=e.global,m=e.stat;if(n=v?r:m?r[h]||l(h,{}):(r[h]||{}).prototype)for(u in t){if(p=t[u],f=e.noTargetGet?(d=o(n,u))&&d.value:n[u],!c(v?u:h+(m?".":"#")+u,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;s(p,f)}(e.sham||f&&f.sham)&&i(p,"sham",!0),a(n,u,p,e)}}}, +/***/ +"241c": +/***/function(e,t,n){var r=n("ca84"),o=n("7839").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}}, +/***/ +"25f0": +/***/function(e,t,n){var r=n("6eeb"),o=n("825a"),i=n("d039"),a=n("ad6d"),l="toString",s=RegExp.prototype,c=s[l],u=i((function(){return"/a/b"!=c.call({source:"a",flags:"b"})})),f=c.name!=l;(u||f)&&r(RegExp.prototype,l,(function(){var e=o(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in s)?a.call(e):n)}),{unsafe:!0})}, +/***/ +"2ca0": +/***/function(e,t,n){var r,o=n("23e7"),i=n("06cf").f,a=n("50c4"),l=n("5a34"),s=n("1d80"),c=n("ab13"),u=n("c430"),f="".startsWith,p=Math.min,d=c("startsWith");o({target:"String",proto:!0,forced:!(!u&&!d&&(r=i(String.prototype,"startsWith"),r&&!r.writable)||d)},{startsWith:function(e){var t=String(s(this));l(e);var n=a(p(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return f?f.call(t,r,n):t.slice(n,n+r.length)===r}})}, +/***/ +"2d00": +/***/function(e,t,n){var r,o,i=n("da84"),a=n("342f"),l=i.process,s=l&&l.versions,c=s&&s.v8;c?o=(r=c.split("."))[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=r[1]),e.exports=o&&+o}, +/***/ +"342f": +/***/function(e,t,n){var r=n("d066");e.exports=r("navigator","userAgent")||""}, +/***/ +"35a1": +/***/function(e,t,n){var r=n("f5df"),o=n("3f8c"),i=n("b622")("iterator");e.exports=function(e){if(null!=e)return e[i]||e["@@iterator"]||o[r(e)]}}, +/***/ +"37e8": +/***/function(e,t,n){var r=n("83ab"),o=n("9bf2"),i=n("825a"),a=n("df75");e.exports=r?Object.defineProperties:function(e,t){i(e);for(var n,r=a(t),l=r.length,s=0;l>s;)o.f(e,n=r[s++],t[n]);return e}}, +/***/ +"3bbe": +/***/function(e,t,n){var r=n("861d");e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}}, +/***/ +"3ca3": +/***/function(e,t,n){var r=n("6547").charAt,o=n("69f3"),i=n("7dd0"),a="String Iterator",l=o.set,s=o.getterFor(a);i(String,"String",(function(e){l(this,{type:a,string:String(e),index:0})}),(function(){var e,t=s(this),n=t.string,o=t.index;return o>=n.length?{value:void 0,done:!0}:(e=r(n,o),t.index+=e.length,{value:e,done:!1})}))}, +/***/ +"3f8c": +/***/function(e,t){e.exports={}}, +/***/ +4160: +/***/function(e,t,n){var r=n("23e7"),o=n("17c2");r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})}, +/***/ +"428f": +/***/function(e,t,n){var r=n("da84");e.exports=r}, +/***/ +"44ad": +/***/function(e,t,n){var r=n("d039"),o=n("c6b6"),i="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object}, +/***/ +"44d2": +/***/function(e,t,n){var r=n("b622"),o=n("7c73"),i=n("9bf2"),a=r("unscopables"),l=Array.prototype;null==l[a]&&i.f(l,a,{configurable:!0,value:o(null)}),e.exports=function(e){l[a][e]=!0}}, +/***/ +"44e7": +/***/function(e,t,n){var r=n("861d"),o=n("c6b6"),i=n("b622")("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}}, +/***/ +4930: +/***/function(e,t,n){var r=n("d039");e.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))}, +/***/ +"4d64": +/***/function(e,t,n){var r=n("fc6a"),o=n("50c4"),i=n("23cb"),a=function(e){return function(t,n,a){var l,s=r(t),c=o(s.length),u=i(a,c);if(e&&n!=n){for(;c>u;)if((l=s[u++])!=l)return!0}else for(;c>u;u++)if((e||u in s)&&s[u]===n)return e||u||0;return!e&&-1}};e.exports={ +// `Array.prototype.includes` method +// https://tc39.github.io/ecma262/#sec-array.prototype.includes +includes:a(!0), +// `Array.prototype.indexOf` method +// https://tc39.github.io/ecma262/#sec-array.prototype.indexof +indexOf:a(!1)}}, +/***/ +"4de4": +/***/function(e,t,n){var r=n("23e7"),o=n("b727").filter,i=n("1dde"),a=n("ae40"),l=i("filter"),s=a("filter");r({target:"Array",proto:!0,forced:!l||!s},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})}, +/***/ +"4df4": +/***/function(e,t,n){var r=n("0366"),o=n("7b0b"),i=n("9bdd"),a=n("e95a"),l=n("50c4"),s=n("8418"),c=n("35a1");e.exports=function(e){var t,n,u,f,p,d,h=o(e),v="function"==typeof this?this:Array,m=arguments.length,g=m>1?arguments[1]:void 0,y=void 0!==g,b=c(h),_=0;if(y&&(g=r(g,m>2?arguments[2]:void 0,2)),null==b||v==Array&&a(b))for(n=new v(t=l(h.length));t>_;_++)d=y?g(h[_],_):h[_],s(n,_,d);else for(p=(f=b.call(h)).next,n=new v;!(u=p.call(f)).done;_++)d=y?i(f,g,[u.value,_],!0):u.value,s(n,_,d);return n.length=_,n}}, +/***/ +"4fad": +/***/function(e,t,n){var r=n("23e7"),o=n("6f53").entries;r({target:"Object",stat:!0},{entries:function(e){return o(e)}})}, +/***/ +"50c4": +/***/function(e,t,n){var r=n("a691"),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}}, +/***/ +5135: +/***/function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}}, +/***/ +5319: +/***/function(e,t,n){var r=n("d784"),o=n("825a"),i=n("7b0b"),a=n("50c4"),l=n("a691"),s=n("1d80"),c=n("8aa5"),u=n("14c3"),f=Math.max,p=Math.min,d=Math.floor,h=/\$([$&'`]|\d\d?|<[^>]*>)/g,v=/\$([$&'`]|\d\d?)/g;r("replace",2,(function(e,t,n,r){var m=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,g=r.REPLACE_KEEPS_$0,y=m?"$":"$0";return[ +// `String.prototype.replace` method +// https://tc39.github.io/ecma262/#sec-string.prototype.replace +function(n,r){var o=s(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,o,r):t.call(String(o),n,r)}, +// `RegExp.prototype[@@replace]` method +// https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace +function(e,r){if(!m&&g||"string"==typeof r&&-1===r.indexOf(y)){var i=n(t,e,this,r);if(i.done)return i.value}var s=o(e),d=String(this),h="function"==typeof r;h||(r=String(r));var v=s.global;if(v){var _=s.unicode;s.lastIndex=0}for(var w=[];;){var x=u(s,d);if(null===x)break;if(w.push(x),!v)break;""===String(x[0])&&(s.lastIndex=c(d,a(s.lastIndex),_))}for(var O,E="",S=0,C=0;C<w.length;C++){x=w[C];for(var A=String(x[0]),k=f(p(l(x.index),d.length),0),T=[],M=1;M<x.length;M++)T.push(void 0===(O=x[M])?O:String(O));var P=x.groups;if(h){var j=[A].concat(T,k,d);void 0!==P&&j.push(P);var D=String(r.apply(void 0,j))}else D=b(A,d,k,T,P,r);k>=S&&(E+=d.slice(S,k)+D,S=k+A.length)}return E+d.slice(S)}];function b(e,n,r,o,a,l){var s=r+e.length,c=o.length,u=v;return void 0!==a&&(a=i(a),u=h),t.call(l,u,(function(t,i){var l;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(s);case"<":l=a[i.slice(1,-1)];break;default:var u=+i;if(0===u)return t;if(u>c){var f=d(u/10);return 0===f?t:f<=c?void 0===o[f-1]?i.charAt(1):o[f-1]+i.charAt(1):t}l=o[u-1]}return void 0===l?"":l}))}}))}, +/***/ +5692: +/***/function(e,t,n){var r=n("c430"),o=n("c6cd");(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})}, +/***/ +"56ef": +/***/function(e,t,n){var r=n("d066"),o=n("241c"),i=n("7418"),a=n("825a");e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(a(e)),n=i.f;return n?t.concat(n(e)):t}}, +/***/ +"5a34": +/***/function(e,t,n){var r=n("44e7");e.exports=function(e){if(r(e))throw TypeError("The method doesn't accept regular expressions");return e}}, +/***/ +"5c6c": +/***/function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}}, +/***/ +"5db7": +/***/function(e,t,n){var r=n("23e7"),o=n("a2bf"),i=n("7b0b"),a=n("50c4"),l=n("1c0b"),s=n("65f0");r({target:"Array",proto:!0},{flatMap:function(e){var t,n=i(this),r=a(n.length);return l(e),(t=s(n,0)).length=o(t,n,n,r,0,1,e,arguments.length>1?arguments[1]:void 0),t}})}, +/***/ +6547: +/***/function(e,t,n){var r=n("a691"),o=n("1d80"),i=function(e){return function(t,n){var i,a,l=String(o(t)),s=r(n),c=l.length;return s<0||s>=c?e?"":void 0:(i=l.charCodeAt(s))<55296||i>56319||s+1===c||(a=l.charCodeAt(s+1))<56320||a>57343?e?l.charAt(s):i:e?l.slice(s,s+2):a-56320+(i-55296<<10)+65536}};e.exports={ +// `String.prototype.codePointAt` method +// https://tc39.github.io/ecma262/#sec-string.prototype.codepointat +codeAt:i(!1), +// `String.prototype.at` method +// https://github.com/mathiasbynens/String.prototype.at +charAt:i(!0)}}, +/***/ +"65f0": +/***/function(e,t,n){var r=n("861d"),o=n("e8b5"),i=n("b622")("species");e.exports=function(e,t){var n;return o(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}}, +/***/ +"69f3": +/***/function(e,t,n){var r,o,i,a=n("7f9a"),l=n("da84"),s=n("861d"),c=n("9112"),u=n("5135"),f=n("f772"),p=n("d012"),d=l.WeakMap;if(a){var h=new d,v=h.get,m=h.has,g=h.set;r=function(e,t){return g.call(h,e,t),t},o=function(e){return v.call(h,e)||{}},i=function(e){return m.call(h,e)}}else{var y=f("state");p[y]=!0,r=function(e,t){return c(e,y,t),t},o=function(e){return u(e,y)?e[y]:{}},i=function(e){return u(e,y)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!s(t)||(n=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}}, +/***/ +"6eeb": +/***/function(e,t,n){var r=n("da84"),o=n("9112"),i=n("5135"),a=n("ce4e"),l=n("8925"),s=n("69f3"),c=s.get,u=s.enforce,f=String(String).split("String");(e.exports=function(e,t,n,l){var s=!!l&&!!l.unsafe,c=!!l&&!!l.enumerable,p=!!l&&!!l.noTargetGet;"function"==typeof n&&("string"!=typeof t||i(n,"name")||o(n,"name",t),u(n).source=f.join("string"==typeof t?t:"")),e!==r?(s?!p&&e[t]&&(c=!0):delete e[t],c?e[t]=n:o(e,t,n)):c?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(this).source||l(this)}))}, +/***/ +"6f53": +/***/function(e,t,n){var r=n("83ab"),o=n("df75"),i=n("fc6a"),a=n("d1e7").f,l=function(e){return function(t){for(var n,l=i(t),s=o(l),c=s.length,u=0,f=[];c>u;)n=s[u++],r&&!a.call(l,n)||f.push(e?[n,l[n]]:l[n]);return f}};e.exports={ +// `Object.entries` method +// https://tc39.github.io/ecma262/#sec-object.entries +entries:l(!0), +// `Object.values` method +// https://tc39.github.io/ecma262/#sec-object.values +values:l(!1)}}, +/***/ +"73d9": +/***/function(e,t,n){n("44d2")("flatMap")}, +/***/ +7418: +/***/function(e,t){t.f=Object.getOwnPropertySymbols}, +/***/ +"746f": +/***/function(e,t,n){var r=n("428f"),o=n("5135"),i=n("e538"),a=n("9bf2").f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});o(t,e)||a(t,e,{value:i.f(e)})}}, +/***/ +7839: +/***/function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}, +/***/ +"7b0b": +/***/function(e,t,n){var r=n("1d80");e.exports=function(e){return Object(r(e))}}, +/***/ +"7c73": +/***/function(e,t,n){var r,o=n("825a"),i=n("37e8"),a=n("7839"),l=n("d012"),s=n("1be4"),c=n("cc12"),u=n("f772"),f="prototype",p="script",d=u("IE_PROTO"),h=function(){},v=function(e){return"<"+p+">"+e+"</"+p+">"},m=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(i){}var e,t,n;m=r?function(e){e.write(v("")),e.close();var t=e.parentWindow.Object;return e=null,t}(r):(t=c("iframe"),n="java"+p+":",t.style.display="none",s.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(v("document.F=Object")),e.close(),e.F);for(var o=a.length;o--;)delete m[f][a[o]];return m()};l[d]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(h[f]=o(e),n=new h,h[f]=null,n[d]=e):n=m(),void 0===t?n:i(n,t)}}, +/***/ +"7dd0": +/***/function(e,t,n){var r=n("23e7"),o=n("9ed3"),i=n("e163"),a=n("d2bb"),l=n("d44e"),s=n("9112"),c=n("6eeb"),u=n("b622"),f=n("c430"),p=n("3f8c"),d=n("ae93"),h=d.IteratorPrototype,v=d.BUGGY_SAFARI_ITERATORS,m=u("iterator"),g="keys",y="values",b="entries",_=function(){return this};e.exports=function(e,t,n,u,d,w,x){o(n,t,u);var O,E,S,C=function(e){if(e===d&&P)return P;if(!v&&e in T)return T[e];switch(e){case g:case y:case b:return function(){return new n(this,e)}}return function(){return new n(this)}},A=t+" Iterator",k=!1,T=e.prototype,M=T[m]||T["@@iterator"]||d&&T[d],P=!v&&M||C(d),j="Array"==t&&T.entries||M;if(j&&(O=i(j.call(new e)),h!==Object.prototype&&O.next&&(f||i(O)===h||(a?a(O,h):"function"!=typeof O[m]&&s(O,m,_)),l(O,A,!0,!0),f&&(p[A]=_))),d==y&&M&&M.name!==y&&(k=!0,P=function(){return M.call(this)}),f&&!x||T[m]===P||s(T,m,P),p[t]=P,d)if(E={values:C(y),keys:w?P:C(g),entries:C(b)},x)for(S in E)(v||k||!(S in T))&&c(T,S,E[S]);else r({target:t,proto:!0,forced:v||k},E);return E}}, +/***/ +"7f9a": +/***/function(e,t,n){var r=n("da84"),o=n("8925"),i=r.WeakMap;e.exports="function"==typeof i&&/native code/.test(o(i))}, +/***/ +"825a": +/***/function(e,t,n){var r=n("861d");e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}}, +/***/ +"83ab": +/***/function(e,t,n){var r=n("d039");e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))}, +/***/ +8418: +/***/function(e,t,n){var r=n("c04e"),o=n("9bf2"),i=n("5c6c");e.exports=function(e,t,n){var a=r(t);a in e?o.f(e,a,i(0,n)):e[a]=n}}, +/***/ +"861d": +/***/function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}}, +/***/ +8875: +/***/function(e,t,n){var r,o,i;"undefined"!=typeof self&&self,o=[],r=function(){function e(){var t=Object.getOwnPropertyDescriptor(document,"currentScript");if(!t&&"currentScript"in document&&document.currentScript)return document.currentScript;if(t&&t.get!==e&&document.currentScript)return document.currentScript;try{throw new Error}catch(p){var n,r,o,i=/@([^@]*):(\d+):(\d+)\s*$/gi,a=/.*at [^(]*\((.*):(.+):(.+)\)$/gi.exec(p.stack)||i.exec(p.stack),l=a&&a[1]||!1,s=a&&a[2]||!1,c=document.location.href.replace(document.location.hash,""),u=document.getElementsByTagName("script");l===c&&(n=document.documentElement.outerHTML,r=new RegExp("(?:[^\\n]+?\\n){0,"+(s-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),o=n.replace(r,"$1").trim());for(var f=0;f<u.length;f++){if("interactive"===u[f].readyState)return u[f];if(u[f].src===l)return u[f];if(l===c&&u[f].innerHTML&&u[f].innerHTML.trim()===o)return u[f]}return null}}return e},void 0===(i="function"==typeof r?r.apply(t,o):r)||(e.exports=i)}, +/***/ +8925: +/***/function(e,t,n){var r=n("c6cd"),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return o.call(e)}),e.exports=r.inspectSource}, +/***/ +"8aa5": +/***/function(e,t,n){var r=n("6547").charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}}, +/***/ +"8bbf": +/***/function(t,n){t.exports=e}, +/***/ +"90e3": +/***/function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}}, +/***/ +9112: +/***/function(e,t,n){var r=n("83ab"),o=n("9bf2"),i=n("5c6c");e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}}, +/***/ +9263: +/***/function(e,t,n){var r,o,i=n("ad6d"),a=n("9f7f"),l=RegExp.prototype.exec,s=String.prototype.replace,c=l,u=(r=/a/,o=/b*/g,l.call(r,"a"),l.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),f=a.UNSUPPORTED_Y||a.BROKEN_CARET,p=void 0!==/()??/.exec("")[1];(u||p||f)&&(c=function(e){var t,n,r,o,a=this,c=f&&a.sticky,d=i.call(a),h=a.source,v=0,m=e;return c&&(-1===(d=d.replace("y","")).indexOf("g")&&(d+="g"),m=String(e).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==e[a.lastIndex-1])&&(h="(?: "+h+")",m=" "+m,v++),n=new RegExp("^(?:"+h+")",d)),p&&(n=new RegExp("^"+h+"$(?!\\s)",d)),u&&(t=a.lastIndex),r=l.call(c?n:a,m),c?r?(r.input=r.input.slice(v),r[0]=r[0].slice(v),r.index=a.lastIndex,a.lastIndex+=r[0].length):a.lastIndex=0:u&&r&&(a.lastIndex=a.global?r.index+r[0].length:t),p&&r&&r.length>1&&s.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r}),e.exports=c}, +/***/ +"94ca": +/***/function(e,t,n){var r=n("d039"),o=/#|\.prototype\./,i=function(e,t){var n=l[a(e)];return n==c||n!=s&&("function"==typeof t?r(t):!!t)},a=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},l=i.data={},s=i.NATIVE="N",c=i.POLYFILL="P";e.exports=i}, +/***/ +"99af": +/***/function(e,t,n){var r=n("23e7"),o=n("d039"),i=n("e8b5"),a=n("861d"),l=n("7b0b"),s=n("50c4"),c=n("8418"),u=n("65f0"),f=n("1dde"),p=n("b622"),d=n("2d00"),h=p("isConcatSpreadable"),v=9007199254740991,m="Maximum allowed index exceeded",g=d>=51||!o((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),y=f("concat"),b=function(e){if(!a(e))return!1;var t=e[h];return void 0!==t?!!t:i(e)};r({target:"Array",proto:!0,forced:!g||!y},{concat:function(e){var t,n,r,o,i,a=l(this),f=u(a,0),p=0;for(t=-1,r=arguments.length;t<r;t++)if(b(i=-1===t?a:arguments[t])){if(p+(o=s(i.length))>v)throw TypeError(m);for(n=0;n<o;n++,p++)n in i&&c(f,p,i[n])}else{if(p>=v)throw TypeError(m);c(f,p++,i)}return f.length=p,f}})}, +/***/ +"9bdd": +/***/function(e,t,n){var r=n("825a");e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(a){var i=e.return;throw void 0!==i&&r(i.call(e)),a}}}, +/***/ +"9bf2": +/***/function(e,t,n){var r=n("83ab"),o=n("0cfb"),i=n("825a"),a=n("c04e"),l=Object.defineProperty;t.f=r?l:function(e,t,n){if(i(e),t=a(t,!0),i(n),o)try{return l(e,t,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}}, +/***/ +"9ed3": +/***/function(e,t,n){var r=n("ae93").IteratorPrototype,o=n("7c73"),i=n("5c6c"),a=n("d44e"),l=n("3f8c"),s=function(){return this};e.exports=function(e,t,n){var c=t+" Iterator";return e.prototype=o(r,{next:i(1,n)}),a(e,c,!1,!0),l[c]=s,e}}, +/***/ +"9f7f": +/***/function(e,t,n){var r=n("d039");function o(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=r((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=r((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))}, +/***/ +a2bf: +/***/function(e,t,n){var r=n("e8b5"),o=n("50c4"),i=n("0366"),a=function(e,t,n,l,s,c,u,f){for(var p,d=s,h=0,v=!!u&&i(u,f,3);h<l;){if(h in n){if(p=v?v(n[h],h,t):n[h],c>0&&r(p))d=a(e,t,p,o(p.length),d,c-1)-1;else{if(d>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[d]=p}d++}h++}return d};e.exports=a}, +/***/ +a352: +/***/function(e,n){e.exports=t}, +/***/ +a434: +/***/function(e,t,n){var r=n("23e7"),o=n("23cb"),i=n("a691"),a=n("50c4"),l=n("7b0b"),s=n("65f0"),c=n("8418"),u=n("1dde"),f=n("ae40"),p=u("splice"),d=f("splice",{ACCESSORS:!0,0:0,1:2}),h=Math.max,v=Math.min;r({target:"Array",proto:!0,forced:!p||!d},{splice:function(e,t){var n,r,u,f,p,d,m=l(this),g=a(m.length),y=o(e,g),b=arguments.length;if(0===b?n=r=0:1===b?(n=0,r=g-y):(n=b-2,r=v(h(i(t),0),g-y)),g+n-r>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(u=s(m,r),f=0;f<r;f++)(p=y+f)in m&&c(u,f,m[p]);if(u.length=r,n<r){for(f=y;f<g-r;f++)d=f+n,(p=f+r)in m?m[d]=m[p]:delete m[d];for(f=g;f>g-r+n;f--)delete m[f-1]}else if(n>r)for(f=g-r;f>y;f--)d=f+n-1,(p=f+r-1)in m?m[d]=m[p]:delete m[d];for(f=0;f<n;f++)m[f+y]=arguments[f+2];return m.length=g-r+n,u}})}, +/***/ +a4d3: +/***/function(e,t,n){var r=n("23e7"),o=n("da84"),i=n("d066"),a=n("c430"),l=n("83ab"),s=n("4930"),c=n("fdbf"),u=n("d039"),f=n("5135"),p=n("e8b5"),d=n("861d"),h=n("825a"),v=n("7b0b"),m=n("fc6a"),g=n("c04e"),y=n("5c6c"),b=n("7c73"),_=n("df75"),w=n("241c"),x=n("057f"),O=n("7418"),E=n("06cf"),S=n("9bf2"),C=n("d1e7"),A=n("9112"),k=n("6eeb"),T=n("5692"),M=n("f772"),P=n("d012"),j=n("90e3"),D=n("b622"),I=n("e538"),N=n("746f"),L=n("d44e"),F=n("69f3"),R=n("b727").forEach,B=M("hidden"),z="Symbol",V="prototype",U=D("toPrimitive"),H=F.set,W=F.getterFor(z),q=Object[V],$=o.Symbol,G=i("JSON","stringify"),K=E.f,X=S.f,Y=x.f,J=C.f,Q=T("symbols"),Z=T("op-symbols"),ee=T("string-to-symbol-registry"),te=T("symbol-to-string-registry"),ne=T("wks"),re=o.QObject,oe=!re||!re[V]||!re[V].findChild,ie=l&&u((function(){return 7!=b(X({},"a",{get:function(){return X(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=K(q,t);r&&delete q[t],X(e,t,n),r&&e!==q&&X(q,t,r)}:X,ae=function(e,t){var n=Q[e]=b($[V]);return H(n,{type:z,tag:e,description:t}),l||(n.description=t),n},le=c?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof $},se=function(e,t,n){e===q&&se(Z,t,n),h(e);var r=g(t,!0);return h(n),f(Q,r)?(n.enumerable?(f(e,B)&&e[B][r]&&(e[B][r]=!1),n=b(n,{enumerable:y(0,!1)})):(f(e,B)||X(e,B,y(1,{})),e[B][r]=!0),ie(e,r,n)):X(e,r,n)},ce=function(e,t){h(e);var n=m(t),r=_(n).concat(de(n));return R(r,(function(t){l&&!ue.call(n,t)||se(e,t,n[t])})),e},ue=function(e){var t=g(e,!0),n=J.call(this,t);return!(this===q&&f(Q,t)&&!f(Z,t))&&(!(n||!f(this,t)||!f(Q,t)||f(this,B)&&this[B][t])||n)},fe=function(e,t){var n=m(e),r=g(t,!0);if(n!==q||!f(Q,r)||f(Z,r)){var o=K(n,r);return!o||!f(Q,r)||f(n,B)&&n[B][r]||(o.enumerable=!0),o}},pe=function(e){var t=Y(m(e)),n=[];return R(t,(function(e){f(Q,e)||f(P,e)||n.push(e)})),n},de=function(e){var t=e===q,n=Y(t?Z:m(e)),r=[];return R(n,(function(e){!f(Q,e)||t&&!f(q,e)||r.push(Q[e])})),r};s||($=function(){if(this instanceof $)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=j(e),n=function(e){this===q&&n.call(Z,e),f(this,B)&&f(this[B],t)&&(this[B][t]=!1),ie(this,t,y(1,e))};return l&&oe&&ie(q,t,{configurable:!0,set:n}),ae(t,e)},k($[V],"toString",(function(){return W(this).tag})),k($,"withoutSetter",(function(e){return ae(j(e),e)})),C.f=ue,S.f=se,E.f=fe,w.f=x.f=pe,O.f=de,I.f=function(e){return ae(D(e),e)},l&&(X($[V],"description",{configurable:!0,get:function(){return W(this).description}}),a||k(q,"propertyIsEnumerable",ue,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!s,sham:!s},{Symbol:$}),R(_(ne),(function(e){N(e)})),r({target:z,stat:!0,forced:!s},{ +// `Symbol.for` method +// https://tc39.github.io/ecma262/#sec-symbol.for +for:function(e){var t=String(e);if(f(ee,t))return ee[t];var n=$(t);return ee[t]=n,te[n]=t,n}, +// `Symbol.keyFor` method +// https://tc39.github.io/ecma262/#sec-symbol.keyfor +keyFor:function(e){if(!le(e))throw TypeError(e+" is not a symbol");if(f(te,e))return te[e]},useSetter:function(){oe=!0},useSimple:function(){oe=!1}}),r({target:"Object",stat:!0,forced:!s,sham:!l},{ +// `Object.create` method +// https://tc39.github.io/ecma262/#sec-object.create +create:function(e,t){return void 0===t?b(e):ce(b(e),t)}, +// `Object.defineProperty` method +// https://tc39.github.io/ecma262/#sec-object.defineproperty +defineProperty:se, +// `Object.defineProperties` method +// https://tc39.github.io/ecma262/#sec-object.defineproperties +defineProperties:ce, +// `Object.getOwnPropertyDescriptor` method +// https://tc39.github.io/ecma262/#sec-object.getownpropertydescriptors +getOwnPropertyDescriptor:fe}),r({target:"Object",stat:!0,forced:!s},{ +// `Object.getOwnPropertyNames` method +// https://tc39.github.io/ecma262/#sec-object.getownpropertynames +getOwnPropertyNames:pe, +// `Object.getOwnPropertySymbols` method +// https://tc39.github.io/ecma262/#sec-object.getownpropertysymbols +getOwnPropertySymbols:de}),r({target:"Object",stat:!0,forced:u((function(){O.f(1)}))},{getOwnPropertySymbols:function(e){return O.f(v(e))}}),G&&r({target:"JSON",stat:!0,forced:!s||u((function(){var e=$();return"[null]"!=G([e])||"{}"!=G({a:e})||"{}"!=G(Object(e))}))},{ +// eslint-disable-next-line no-unused-vars +stringify:function(e,t,n){for(var r,o=[e],i=1;arguments.length>i;)o.push(arguments[i++]);if(r=t,(d(t)||void 0!==e)&&!le(e))return p(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!le(t))return t}),o[1]=t,G.apply(null,o)}}),$[V][U]||A($[V],U,$[V].valueOf),L($,z),P[B]=!0}, +/***/ +a630: +/***/function(e,t,n){var r=n("23e7"),o=n("4df4");r({target:"Array",stat:!0,forced:!n("1c7e")((function(e){Array.from(e)}))},{from:o})}, +/***/ +a640: +/***/function(e,t,n){var r=n("d039");e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){throw 1},1)}))}}, +/***/ +a691: +/***/function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}}, +/***/ +ab13: +/***/function(e,t,n){var r=n("b622")("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(Zne){try{return t[r]=!1,"/./"[e](t)}catch(n){}}return!1}}, +/***/ +ac1f: +/***/function(e,t,n){var r=n("23e7"),o=n("9263");r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})}, +/***/ +ad6d: +/***/function(e,t,n){var r=n("825a");e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}}, +/***/ +ae40: +/***/function(e,t,n){var r=n("83ab"),o=n("d039"),i=n("5135"),a=Object.defineProperty,l={},s=function(e){throw e};e.exports=function(e,t){if(i(l,e))return l[e];t||(t={});var n=[][e],c=!!i(t,"ACCESSORS")&&t.ACCESSORS,u=i(t,0)?t[0]:s,f=i(t,1)?t[1]:void 0;return l[e]=!!n&&!o((function(){if(c&&!r)return!0;var e={length:-1};c?a(e,1,{enumerable:!0,get:s}):e[1]=1,n.call(e,u,f)}))}}, +/***/ +ae93: +/***/function(e,t,n){var r,o,i,a=n("e163"),l=n("9112"),s=n("5135"),c=n("b622"),u=n("c430"),f=c("iterator"),p=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(r=o):p=!0),null==r&&(r={}),u||s(r,f)||l(r,f,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:p}}, +/***/ +b041: +/***/function(e,t,n){var r=n("00ee"),o=n("f5df");e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}}, +/***/ +b0c0: +/***/function(e,t,n){var r=n("83ab"),o=n("9bf2").f,i=Function.prototype,a=i.toString,l=/^\s*function ([^ (]*)/,s="name";r&&!(s in i)&&o(i,s,{configurable:!0,get:function(){try{return a.call(this).match(l)[1]}catch(e){return""}}})}, +/***/ +b622: +/***/function(e,t,n){var r=n("da84"),o=n("5692"),i=n("5135"),a=n("90e3"),l=n("4930"),s=n("fdbf"),c=o("wks"),u=r.Symbol,f=s?u:u&&u.withoutSetter||a;e.exports=function(e){return i(c,e)||(l&&i(u,e)?c[e]=u[e]:c[e]=f("Symbol."+e)),c[e]}}, +/***/ +b64b: +/***/function(e,t,n){var r=n("23e7"),o=n("7b0b"),i=n("df75");r({target:"Object",stat:!0,forced:n("d039")((function(){i(1)}))},{keys:function(e){return i(o(e))}})}, +/***/ +b727: +/***/function(e,t,n){var r=n("0366"),o=n("44ad"),i=n("7b0b"),a=n("50c4"),l=n("65f0"),s=[].push,c=function(e){var t=1==e,n=2==e,c=3==e,u=4==e,f=6==e,p=5==e||f;return function(d,h,v,m){for(var g,y,b=i(d),_=o(b),w=r(h,v,3),x=a(_.length),O=0,E=m||l,S=t?E(d,x):n?E(d,0):void 0;x>O;O++)if((p||O in _)&&(y=w(g=_[O],O,b),e))if(t)S[O]=y;else if(y)switch(e){case 3:return!0; +// some +case 5:return g; +// find +case 6:return O; +// findIndex +case 2:s.call(S,g)}else if(u)return!1;return f?-1:c||u?u:S}};e.exports={ +// `Array.prototype.forEach` method +// https://tc39.github.io/ecma262/#sec-array.prototype.foreach +forEach:c(0), +// `Array.prototype.map` method +// https://tc39.github.io/ecma262/#sec-array.prototype.map +map:c(1), +// `Array.prototype.filter` method +// https://tc39.github.io/ecma262/#sec-array.prototype.filter +filter:c(2), +// `Array.prototype.some` method +// https://tc39.github.io/ecma262/#sec-array.prototype.some +some:c(3), +// `Array.prototype.every` method +// https://tc39.github.io/ecma262/#sec-array.prototype.every +every:c(4), +// `Array.prototype.find` method +// https://tc39.github.io/ecma262/#sec-array.prototype.find +find:c(5), +// `Array.prototype.findIndex` method +// https://tc39.github.io/ecma262/#sec-array.prototype.findIndex +findIndex:c(6)}}, +/***/ +c04e: +/***/function(e,t,n){var r=n("861d");e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}}, +/***/ +c430: +/***/function(e,t){e.exports=!1}, +/***/ +c6b6: +/***/function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}}, +/***/ +c6cd: +/***/function(e,t,n){var r=n("da84"),o=n("ce4e"),i="__core-js_shared__",a=r[i]||o(i,{});e.exports=a}, +/***/ +c740: +/***/function(e,t,n){var r=n("23e7"),o=n("b727").findIndex,i=n("44d2"),a=n("ae40"),l="findIndex",s=!0,c=a(l);l in[]&&Array(1)[l]((function(){s=!1})),r({target:"Array",proto:!0,forced:s||!c},{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(l)}, +/***/ +c8ba: +/***/function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(Zne){"object"==typeof window&&(n=window)}e.exports=n}, +/***/ +c975: +/***/function(e,t,n){var r=n("23e7"),o=n("4d64").indexOf,i=n("a640"),a=n("ae40"),l=[].indexOf,s=!!l&&1/[1].indexOf(1,-0)<0,c=i("indexOf"),u=a("indexOf",{ACCESSORS:!0,1:0});r({target:"Array",proto:!0,forced:s||!c||!u},{indexOf:function(e){return s?l.apply(this,arguments)||0:o(this,e,arguments.length>1?arguments[1]:void 0)}})}, +/***/ +ca84: +/***/function(e,t,n){var r=n("5135"),o=n("fc6a"),i=n("4d64").indexOf,a=n("d012");e.exports=function(e,t){var n,l=o(e),s=0,c=[];for(n in l)!r(a,n)&&r(l,n)&&c.push(n);for(;t.length>s;)r(l,n=t[s++])&&(~i(c,n)||c.push(n));return c}}, +/***/ +caad: +/***/function(e,t,n){var r=n("23e7"),o=n("4d64").includes,i=n("44d2");r({target:"Array",proto:!0,forced:!n("ae40")("indexOf",{ACCESSORS:!0,1:0})},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("includes")}, +/***/ +cc12: +/***/function(e,t,n){var r=n("da84"),o=n("861d"),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}}, +/***/ +ce4e: +/***/function(e,t,n){var r=n("da84"),o=n("9112");e.exports=function(e,t){try{o(r,e,t)}catch(n){r[e]=t}return t}}, +/***/ +d012: +/***/function(e,t){e.exports={}}, +/***/ +d039: +/***/function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}}, +/***/ +d066: +/***/function(e,t,n){var r=n("428f"),o=n("da84"),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e])||i(o[e]):r[e]&&r[e][t]||o[e]&&o[e][t]}}, +/***/ +d1e7: +/***/function(e,t,n){var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);t.f=i?function(e){var t=o(this,e);return!!t&&t.enumerable}:r}, +/***/ +d28b: +/***/function(e,t,n){n("746f")("iterator")}, +/***/ +d2bb: +/***/function(e,t,n){var r=n("825a"),o=n("3bbe");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(i){}return function(n,i){return r(n),o(i),t?e.call(n,i):n.__proto__=i,n}}():void 0)}, +/***/ +d3b7: +/***/function(e,t,n){var r=n("00ee"),o=n("6eeb"),i=n("b041");r||o(Object.prototype,"toString",i,{unsafe:!0})}, +/***/ +d44e: +/***/function(e,t,n){var r=n("9bf2").f,o=n("5135"),i=n("b622")("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}}, +/***/ +d58f: +/***/function(e,t,n){var r=n("1c0b"),o=n("7b0b"),i=n("44ad"),a=n("50c4"),l=function(e){return function(t,n,l,s){r(n);var c=o(t),u=i(c),f=a(c.length),p=e?f-1:0,d=e?-1:1;if(l<2)for(;;){if(p in u){s=u[p],p+=d;break}if(p+=d,e?p<0:f<=p)throw TypeError("Reduce of empty array with no initial value")}for(;e?p>=0:f>p;p+=d)p in u&&(s=n(s,u[p],p,c));return s}};e.exports={ +// `Array.prototype.reduce` method +// https://tc39.github.io/ecma262/#sec-array.prototype.reduce +left:l(!1), +// `Array.prototype.reduceRight` method +// https://tc39.github.io/ecma262/#sec-array.prototype.reduceright +right:l(!0)}}, +/***/ +d784: +/***/function(e,t,n){n("ac1f");var r=n("6eeb"),o=n("d039"),i=n("b622"),a=n("9263"),l=n("9112"),s=i("species"),c=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),u="$0"==="a".replace(/./,"$0"),f=i("replace"),p=!!/./[f]&&""===/./[f]("a","$0"),d=!o((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));e.exports=function(e,t,n,f){var h=i(e),v=!o((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),m=v&&!o((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[s]=function(){return n},n.flags="",n[h]=/./[h]),n.exec=function(){return t=!0,null},n[h](""),!t}));if(!v||!m||"replace"===e&&(!c||!u||p)||"split"===e&&!d){var g=/./[h],y=n(h,""[e],(function(e,t,n,r,o){return t.exec===a?v&&!o?{done:!0,value:g.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:u,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),b=y[0],_=y[1];r(String.prototype,e,b),r(RegExp.prototype,h,2==t?function(e,t){return _.call(e,this,t)}:function(e){return _.call(e,this)})}f&&l(RegExp.prototype[h],"sham",!0)}}, +/***/ +d81d: +/***/function(e,t,n){var r=n("23e7"),o=n("b727").map,i=n("1dde"),a=n("ae40"),l=i("map"),s=a("map");r({target:"Array",proto:!0,forced:!l||!s},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})}, +/***/ +da84: +/***/function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=// eslint-disable-next-line no-undef +n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||// eslint-disable-next-line no-new-func +Function("return this")()}).call(this,n("c8ba"))}, +/***/ +dbb4: +/***/function(e,t,n){var r=n("23e7"),o=n("83ab"),i=n("56ef"),a=n("fc6a"),l=n("06cf"),s=n("8418");r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var t,n,r=a(e),o=l.f,c=i(r),u={},f=0;c.length>f;)void 0!==(n=o(r,t=c[f++]))&&s(u,t,n);return u}})}, +/***/ +dbf1: +/***/function(e,t,n){(function(e){n.d(t,"a",(function(){return r}));var r="undefined"!=typeof window?window.console:e.console}).call(this,n("c8ba"))}, +/***/ +ddb0: +/***/function(e,t,n){var r=n("da84"),o=n("fdbc"),i=n("e260"),a=n("9112"),l=n("b622"),s=l("iterator"),c=l("toStringTag"),u=i.values;for(var f in o){var p=r[f],d=p&&p.prototype;if(d){if(d[s]!==u)try{a(d,s,u)}catch(v){d[s]=u}if(d[c]||a(d,c,f),o[f])for(var h in i)if(d[h]!==i[h])try{a(d,h,i[h])}catch(v){d[h]=i[h]}}}}, +/***/ +df75: +/***/function(e,t,n){var r=n("ca84"),o=n("7839");e.exports=Object.keys||function(e){return r(e,o)}}, +/***/ +e01a: +/***/function(e,t,n){var r=n("23e7"),o=n("83ab"),i=n("da84"),a=n("5135"),l=n("861d"),s=n("9bf2").f,c=n("e893"),u=i.Symbol;if(o&&"function"==typeof u&&(!("description"in u.prototype)||// Safari 12 bug +void 0!==u().description)){var f={},p=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof p?new u(e):void 0===e?u():u(e);return""===e&&(f[t]=!0),t};c(p,u);var d=p.prototype=u.prototype;d.constructor=p;var h=d.toString,v="Symbol(test)"==String(u("test")),m=/^Symbol\((.*)\)[^)]+$/;s(d,"description",{configurable:!0,get:function(){var e=l(this)?this.valueOf():this,t=h.call(e);if(a(f,e))return"";var n=v?t.slice(7,-1):t.replace(m,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:p})}}, +/***/ +e163: +/***/function(e,t,n){var r=n("5135"),o=n("7b0b"),i=n("f772"),a=n("e177"),l=i("IE_PROTO"),s=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=o(e),r(e,l)?e[l]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?s:null}}, +/***/ +e177: +/***/function(e,t,n){var r=n("d039");e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))}, +/***/ +e260: +/***/function(e,t,n){var r=n("fc6a"),o=n("44d2"),i=n("3f8c"),a=n("69f3"),l=n("7dd0"),s="Array Iterator",c=a.set,u=a.getterFor(s);e.exports=l(Array,"Array",(function(e,t){c(this,{type:s,target:r(e), +// target +index:0, +// next index +kind:t})}),(function(){var e=u(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")}, +/***/ +e439: +/***/function(e,t,n){var r=n("23e7"),o=n("d039"),i=n("fc6a"),a=n("06cf").f,l=n("83ab"),s=o((function(){a(1)}));r({target:"Object",stat:!0,forced:!l||s,sham:!l},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})}, +/***/ +e538: +/***/function(e,t,n){var r=n("b622");t.f=r}, +/***/ +e893: +/***/function(e,t,n){var r=n("5135"),o=n("56ef"),i=n("06cf"),a=n("9bf2");e.exports=function(e,t){for(var n=o(t),l=a.f,s=i.f,c=0;c<n.length;c++){var u=n[c];r(e,u)||l(e,u,s(t,u))}}}, +/***/ +e8b5: +/***/function(e,t,n){var r=n("c6b6");e.exports=Array.isArray||function(e){return"Array"==r(e)}}, +/***/ +e95a: +/***/function(e,t,n){var r=n("b622"),o=n("3f8c"),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}}, +/***/ +f5df: +/***/function(e,t,n){var r=n("00ee"),o=n("c6b6"),i=n("b622")("toStringTag"),a="Arguments"==o(function(){return arguments}());e.exports=r?o:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(n){}}(t=Object(e),i))?n:a?o(t):"Object"==(r=o(t))&&"function"==typeof t.callee?"Arguments":r}}, +/***/ +f772: +/***/function(e,t,n){var r=n("5692"),o=n("90e3"),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}}, +/***/ +fb15: +/***/function(e,t,n){if(n.r(t),"undefined"!=typeof window){var r=window.document.currentScript,o=n("8875");r=o(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:o});var i=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);i&&(n.p=i[1])}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function u(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(s){o=!0,i=s}finally{try{r||null==l.return||l.return()}finally{if(o)throw i}}return n}}(e,t)||u(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||u(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}n("99af"),n("4de4"),n("4160"),n("c975"),n("d81d"),n("a434"),n("159b"),n("a4d3"),n("e439"),n("dbb4"),n("b64b"),n("e01a"),n("d28b"),n("e260"),n("d3b7"),n("3ca3"),n("ddb0"),n("a630"),n("fb6a"),n("b0c0"),n("25f0");var d=n("a352"),h=n.n(d);function v(e){null!==e.parentElement&&e.parentElement.removeChild(e)}function m(e,t,n){var r=0===n?e.children[0]:e.children[n-1].nextSibling;e.insertBefore(t,r)}var g=n("dbf1");n("13d5"),n("4fad"),n("ac1f"),n("5319");var y,b,_=/-(\w)/g,w=(y=function(e){return e.replace(_,(function(e,t){return t.toUpperCase()}))},b=Object.create(null),function(e){return b[e]||(b[e]=y(e))});n("5db7"),n("73d9");var x=["Start","Add","Remove","Update","End"],O=["Choose","Unchoose","Sort","Filter","Clone"],E=["Move"],S=[E,x,O].flatMap((function(e){return e})).map((function(e){return"on".concat(e)})),C={manage:E,manageAndEmit:x,emit:O};n("caad"),n("2ca0");var A=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];function k(e){return["id","class","role","style"].includes(e)||e.startsWith("data-")||e.startsWith("aria-")||e.startsWith("on")}function T(e){return e.reduce((function(e,t){var n=f(t,2),r=n[0],o=n[1];return e[r]=o,e}),{})}function M(e){return Object.entries(e).filter((function(e){var t=f(e,2),n=t[0];return t[1],!k(n)})).map((function(e){var t=f(e,2),n=t[0],r=t[1];return[w(n),r]})).filter((function(e){var t,n=f(e,2),r=n[0];return n[1],t=r,!(-1!==S.indexOf(t))}))}function P(e,t,n){return function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}n("c740");var j=function(e){return e.el},D=function(e){return e.__draggable_context},I=function(){function e(t){var n=t.nodes,r=n.header,o=n.default,i=n.footer,a=t.root,l=t.realList;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.defaultNodes=o,this.children=[].concat(p(r),p(o),p(i)),this.externalComponent=a.externalComponent,this.rootTransition=a.transition,this.tag=a.tag,this.realList=l}return P(e,[{key:"render",value:function(e,t){var n=this.tag,r=this.children;return e(n,t,this._isRootComponent?{default:function(){return r}}:r)}},{key:"updated",value:function(){var e=this.defaultNodes,t=this.realList;e.forEach((function(e,n){var r,o;r=j(e),o={element:t[n],index:n},r.__draggable_context=o}))}},{key:"getUnderlyingVm",value:function(e){return D(e)}},{key:"getVmIndexFromDomIndex",value:function(e,t){var n=this.defaultNodes,r=n.length,o=t.children,i=o.item(e);if(null===i)return r;var a=D(i);if(a)return a.index;if(0===r)return 0;var l=j(n[0]);return e<p(o).findIndex((function(e){return e===l}))?0:r}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}]),e}(),N=n("8bbf");function L(e){var t=["transition-group","TransitionGroup"].includes(e),n=!function(e){return A.includes(e)}(e)&&!t;return{transition:t,externalComponent:n,tag:n?Object(N.resolveComponent)(e):t?N.TransitionGroup:e}}function F(e){var t=e.$slots,n=e.tag,r=e.realList,o=function(e){var t=e.$slots,n=e.realList,r=e.getKey,o=n||[],i=["header","footer"].map((function(e){return function(e,t){var n=e[t];return n?n():[]}(t,e)})),a=f(i,2),l=a[0],c=a[1],u=t.item;if(!u)throw new Error("draggable element must have an item slot");var p=o.flatMap((function(e,t){return u({element:e,index:t}).map((function(t){return t.key=r(e),t.props=s(s({},t.props||{}),{},{"data-draggable":!0}),t}))}));if(p.length!==o.length)throw new Error("Item slot must have only one child");return{header:l,footer:c,default:p}}({$slots:t,realList:r,getKey:e.getKey}),i=L(n);return new I({nodes:o,root:i,realList:r})}function R(e,t){var n=this;Object(N.nextTick)((function(){return n.$emit(e.toLowerCase(),t)}))}function B(e){var t=this;return function(n,r){if(null!==t.realList)return t["onDrag".concat(e)](n,r)}}function z(e){var t=this,n=B.call(this,e);return function(r,o){n.call(t,r,o),R.call(t,e,r)}}var V=null,U={list:{type:Array,required:!1,default:null},modelValue:{type:Array,required:!1,default:null},itemKey:{type:[String,Function],required:!0},clone:{type:Function,default:function(e){return e}},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},H=["update:modelValue","change"].concat(p([].concat(p(C.manageAndEmit),p(C.emit)).map((function(e){return e.toLowerCase()})))),W=Object(N.defineComponent)({name:"draggable",inheritAttrs:!1,props:U,emits:H,data:function(){return{error:!1}},render:function(){try{this.error=!1;var e=this.$slots,t=this.$attrs,n=this.tag,r=this.componentData,o=F({$slots:e,tag:n,realList:this.realList,getKey:this.getKey});this.componentStructure=o;var i=function(e){var t=e.$attrs,n=e.componentData,r=void 0===n?{}:n,o=T(Object.entries(t).filter((function(e){var t=f(e,2),n=t[0];return t[1],k(n)})));return s(s({},o),r)}({$attrs:t,componentData:r});return o.render(N.h,i)}catch(a){return this.error=!0,Object(N.h)("pre",{style:{color:"red"}},a.stack)}},created:function(){null!==this.list&&null!==this.modelValue&&g.a.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted:function(){var e=this;if(!this.error){var t=this.$attrs,n=this.$el;this.componentStructure.updated();var r=function(e){var t=e.$attrs,n=e.callBackBuilder,r=T(M(t));Object.entries(n).forEach((function(e){var t=f(e,2),n=t[0],o=t[1];C[n].forEach((function(e){r["on".concat(e)]=o(e)}))}));var o="[data-draggable]".concat(r.draggable||"");return s(s({},r),{},{draggable:o})}({$attrs:t,callBackBuilder:{manageAndEmit:function(t){return z.call(e,t)},emit:function(t){return R.bind(e,t)},manage:function(t){return B.call(e,t)}}}),o=1===n.nodeType?n:n.parentElement;this._sortable=new h.a(o,r),this.targetDomElement=o,o.__draggable_component__=this}},updated:function(){this.componentStructure.updated()},beforeUnmount:function(){void 0!==this._sortable&&this._sortable.destroy()},computed:{realList:function(){var e=this.list;return e||this.modelValue},getKey:function(){var e=this.itemKey;return"function"==typeof e?e:function(t){return t[e]}}},watch:{$attrs:{handler:function(e){var t=this._sortable;t&&M(e).forEach((function(e){var n=f(e,2),r=n[0],o=n[1];t.option(r,o)}))},deep:!0}},methods:{getUnderlyingVm:function(e){return this.componentStructure.getUnderlyingVm(e)||null},getUnderlyingPotencialDraggableComponent:function(e){return e.__draggable_component__},emitChanges:function(e){var t=this;Object(N.nextTick)((function(){return t.$emit("change",e)}))},alterList:function(e){if(this.list)e(this.list);else{var t=p(this.modelValue);e(t),this.$emit("update:modelValue",t)}},spliceList:function(){var e=arguments;this.alterList((function(t){return t.splice.apply(t,p(e))}))},updatePosition:function(e,t){this.alterList((function(n){return n.splice(t,0,n.splice(e,1)[0])}))},getRelatedContextFromMoveEvent:function(e){var t=e.to,n=e.related,r=this.getUnderlyingPotencialDraggableComponent(t);if(!r)return{component:r};var o=r.realList,i={list:o,component:r};return t!==n&&o?s(s({},r.getUnderlyingVm(n)||{}),i):i},getVmIndexFromDomIndex:function(e){return this.componentStructure.getVmIndexFromDomIndex(e,this.targetDomElement)},onDragStart:function(e){this.context=this.getUnderlyingVm(e.item),e.item._underlying_vm_=this.clone(this.context.element),V=e.item},onDragAdd:function(e){var t=e.item._underlying_vm_;if(void 0!==t){v(e.item);var n=this.getVmIndexFromDomIndex(e.newIndex);this.spliceList(n,0,t);var r={element:t,newIndex:n};this.emitChanges({added:r})}},onDragRemove:function(e){if(m(this.$el,e.item,e.oldIndex),"clone"!==e.pullMode){var t=this.context,n=t.index,r=t.element;this.spliceList(n,1);var o={element:r,oldIndex:n};this.emitChanges({removed:o})}else v(e.clone)},onDragUpdate:function(e){v(e.item),m(e.from,e.item,e.oldIndex);var t=this.context.index,n=this.getVmIndexFromDomIndex(e.newIndex);this.updatePosition(t,n);var r={element:this.context.element,oldIndex:t,newIndex:n};this.emitChanges({moved:r})},computeFutureIndex:function(e,t){if(!e.element)return 0;var n=p(t.to.children).filter((function(e){return"none"!==e.style.display})),r=n.indexOf(t.related),o=e.component.getVmIndexFromDomIndex(r);return-1===n.indexOf(V)&&t.willInsertAfter?o+1:o},onDragMove:function(e,t){var n=this.move,r=this.realList;if(!n||!r)return!0;var o=this.getRelatedContextFromMoveEvent(e),i=this.computeFutureIndex(o,e),a=s(s({},this.context),{},{futureIndex:i});return n(s(s({},e),{},{relatedContext:o,draggedContext:a}),t)},onDragEnd:function(){V=null}}}),q=W;t.default=q}, +/***/ +fb6a: +/***/function(e,t,n){var r=n("23e7"),o=n("861d"),i=n("e8b5"),a=n("23cb"),l=n("50c4"),s=n("fc6a"),c=n("8418"),u=n("b622"),f=n("1dde"),p=n("ae40"),d=f("slice"),h=p("slice",{ACCESSORS:!0,0:0,1:2}),v=u("species"),m=[].slice,g=Math.max;r({target:"Array",proto:!0,forced:!d||!h},{slice:function(e,t){var n,r,u,f=s(this),p=l(f.length),d=a(e,p),h=a(void 0===t?p:t,p);if(i(f)&&("function"!=typeof(n=f.constructor)||n!==Array&&!i(n.prototype)?o(n)&&null===(n=n[v])&&(n=void 0):n=void 0,n===Array||void 0===n))return m.call(f,d,h);for(r=new(void 0===n?Array:n)(g(h-d,0)),u=0;d<h;d++,u++)d in f&&c(r,u,f[d]);return r.length=u,r}})}, +/***/ +fc6a: +/***/function(e,t,n){var r=n("44ad"),o=n("1d80");e.exports=function(e){return r(o(e))}}, +/***/ +fdbc: +/***/function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}}, +/***/ +fdbf: +/***/function(e,t,n){var r=n("4930");e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator} +/******/}).default},X4.exports=Gte(O9(),qte));const Xte=oO(Kte),Yte={class:"flex justify-center w-full p-3"},Jte=["src"],Qte={class:"flex align-middle justify-center items-center"},Zte={class:"p-2"},ene={class:"flex w-full flex-col mb-2 gap-2 items-center align-middle justify-between"},tne={class:"text-center"},nne={class:"version-container"},rne=G2(xr({__name:"SideNav",props:{theme:{type:String,default:"light"}},setup(e){R2();const t=e,n=Ia((()=>L2().isSidebarCompact)),r=j4(),o=Ia((()=>Xne()+`?id=${r.query.id}`)),i=Ia((()=>n.value?"":"Seed Chat PRO")),a=Ia((()=>[`${D4}-sidebar-layout`,{hidden:n.value}])),l=Ia((()=>[`${D4}-side-nav-logo-${n.value?"t":"tdesign"}-logo`])),s=P4(),c=L2(),u=()=>{const e=window.innerWidth<=991;c.updateConfig({isSidebarCompact:e,isCompact:e})};Yr((()=>{u(),window.onresize=()=>{u()}}));const f=()=>{s.push("/")},p=en("conversation"),d=V2(),h=q2(),v=en([]),m=en([]);yi((()=>d.list.length),(()=>{v.value=d.data.map((e=>e))}),{immediate:!0}),yi((()=>h.list.length),(()=>{m.value=h.data.map((e=>e))}),{immediate:!0});const g=()=>{d.list=[...v.value]},y=()=>{h.list=[...m.value]};yi((()=>r.path),(e=>{e.startsWith("/note")?p.value="favorite":p.value="conversation"}),{immediate:!0});const b=e=>{s.push(e)};return(e,r)=>{const c=Rk,u=Fk,_=qk,w=Lw,x=oA,O=Qk,E=ok,S=tk;return qi(),Yi("div",{class:ne([a.value,"flex flex-col"])},[na("div",Yte,[na("img",{src:n.value?G4:"light"==t.theme?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALMAAAAcCAYAAAAqXo7IAAAACXBIWXMAAAsTAAALEwEAmpwYAAAJ6klEQVR4nO1cXYwbVxX+zszY3h/vrtNtEiUEYtTwpz6si0pSUFBMC0Xw0N3CS/MA3YAopUiw5SVqX+q8VFUkYIsqARISzkOL+uaIh0YRECdKf9JIiSO1UqUI4UUNpSTN2rvZ9c947uFhrndnx/eOx2MnefEnjXZ8f849d+a755577p2lS5eWIQTQaAgAgBCAEAzLIhgGwTAAwyAIAarVnB/ZtngkmbSOx+NUajQEiAixGMG2GfW6A9M0kEgYIGIIwThw4B4MMcSdgBGUSQQQERoN8fVq1T69tub8qdnkw8vL9lvVauslIbCb6E6pOsQQwdCSmQhotfjTKyutV6rV1lnb5m+65AYAjNZq4ujqautSrSaeYoY5JPUQdxsdZCYCmDFeq4nnVlZalxsN8XMikJ+sstzO9XXnj8vL9rlGQ3wLIAxJPcTdwgaZ2yRsNsXhWk2cr9fFiwCmu5GTCLBt/tqtW87pRkO85jj8ZY8FH2KIOwarTbxWC1+p152jts3f75WM7bKOw4fX1505IXB8bMx4mYiWw8ugOQBzANKK7CKAEjMXPOWzALLhtdyCPDOXpZxcRBllZs5H1KUMoMDMlV4aJKI03GeUgfo5laRei546OY24jWegaGNeUX6jv1101LWnbTNEvVCgixeXP7W62nq+XhdPMbvk7hfMgGnS1ZER4zeHDk3/IVABogyAPICZLmKXmDntqZcD8EJEFb/BzEUphyPKOMvM2T51OQkgx8yloEJysOQAHAojlJk33qKuf94yirbOKLI2+hug5zyAPwcUedY70Hx1o76HDRirq63fr6+LZwA9kYkA0yRY1uZlGHrWEwFC8OfW1pyXgxqXVqCI7kQGgL0hyoRFaYCy+sEsgKIc0EoQ0SJccoUisqyjlXebkeuSP38b275iAUgFWeNEwkC9LlBdacFuurFowwDGxkxMTFhwHIbjqAcVEW51USAHYCqK5v2g1+ldg0HIANz+F4ko7deLiPIAnowgM9W/Wh0oBWVKq9zN4MzIfpYHpJMXFQuAo8ohAmIxA+ffrODMmWVcv9H0kJaQTJr40hfHMPvYDkxNmrBbkWaJjCZ9Ca7rUYH7YubQ+SBSmron4Pqkvbapal+HFMJZ92Oe+zRcv1r1wqcALMBj2aTrEkTkJQAFbB1UWYTvX6+odMnPhZQzB2BRkX5W0V4K6hmp/Y5T2OxvydK1GI8b+MeZZbz62kewLAP79o1idMQAMwACPvywjr/9/SY++aSFnz29B7EYQYieCa1zLzI+K5UjopS/jKZuvu0P94EyM+f6lAG/DNmHItT9XoAkhHS/gnzwY33qV+6jbgeIaAGdg7QKd7D5B+QCFGRW+eNyQKvIrHzHSjKbJuHmTRtvnLqBZNLCT368G/ffn2y3CjII1WoLr/7lv3j7nSouXKji4Ye3oV7vmcxnNcrOw9fhHlyDctjGFQPktoKZK3KBVULny58ioqx8SXMBYo6EiSr0gUwvheUzzCmy8vLyk3kvEWW6LXq7oKJKVJLZsgjlch0ff9zEo49O44EHJrC25rhWGQDA2LbNwne/cy8uX17Fv5ZqYN4WRak81GT+LRGlIlqfPBEVPb9T2HxBeR8RMlAjI/3Vsq9sClBbkbCQhC4A+KUiOyX/zmmqHxsQkQ9FiB6UNOkLUK97Fpm5TERL6By487JeN6RUibqBoCQzAWjIxd7YqIFWiz1EdmHbjETcPWTUbIqO/DBg5ry0VCrf8AW5Kp/vccF2CPqVfzGkjCmNTjpkFWlXAspXNOkZuFOzTv98SH0AbLgrg0JFIT8FNSlPeNY2BXQO3HlNPT8yoTST0J7N6IWcUYi8WZfn4Tr0KrRDV+noLWxBZUBybldbgXUiRAHSEXToBTloolFElJM+b0qRPSU3yQYK7QLQNF2SOo7rQ/thGG6+EIClyO8FzDxPRGWoFz0zAArSn6x40tMRmipFqHM7kNGkl4IqSderMmhlokAaGJWrBISb1ebhWu2BQUlmx2Hs3pXAxISJ9967hevX78H27bGNaAURgZnx7sUVrK052LEjDiPwMGl3MHNOElq1gzQDd4qd86SpQlzdQmrlkOoEhfcqIWUoIafmbETZWQyGACegf06LCLeJletTh9mIg1PrvinJbLcYe/aM4KsPpXDq9A387pV/Y2ZmApbpktgwCNeuNfDOu1Xs2hXHQwem0IoWZ94C6UOXod5OnQ0RcO81pJbVpA8ivKfDAtRT85JnYRMU5SkMQIeyrn9EVOlWWVrlKJs5fsyhx3UAAga81s1wHMb3Ht8OIRhvvV3F1av/A8hdHDIzLMvA3s+M4IkndmLnzvjGlyphIX2mkp+czFwkoitQW4c0BhwjHRAy3Qp4Fku6+HHBd68i86yMsiyEtGjZEGXCouS5X9SU0c1oKahdkgUEkzn0Fj7gktlUZTgOI5Ew8MMf7MLBgyn851rD3QGU7vHkpIUvfH4MY2Nmz0SWmIf7ck7CfVAluJ3OQjPNeQ4HpTUy0wGnr1JwSecPzyl1k1EWZRvyWvBYUpWlbevSLp/RlAPcDYac53ce+sXVkwCyktTt9jPY7F+GmVOadiKjPXjkc5lVFKkiYJBJ4+V3DQe6vW0BqDGrj3y2z118Nj2CffeNbsljdsNzzaaeyMxIBrRdgvtQ2lc3eLc705oye9H99FrRc5/RlOk6hYYI+ofRpY0t4UcZi16A/gRakGz/tvCgkdOkL3aZLQrQW+eFfhRqwxgdNZ5JJCjPrA+xuR+rii1XoyG029dSzkfj4+bRQSgJOeoHJMuLVL8C+txFrMLd0Sv4M+TscUSW6QVFz31aU6YcUF87tUurrMqvQu96tJHXpM9p2sp0kdcBwzTpn8mkdSSZNA+aJp3rL2YMAHBGRoxfJ5PWg2NjxmJ0aRtYApD1WcJMH/LK/SijQCZivZNw+5XXFZB5GfRmbSue+7SmTLkHeV7kdendfHj5/lQHnPZqYs6pHvQCAFht8sZi9GYsZj3SaIif1uvOs0LgvrAH9dsy4nHjjfFx40XTpPO23blr6MMi3AefhpoQZbhfYxQUeSVsPZHWC4q++6KyVHiUEV6XCuT6IGxISvqTWc9XJlnoX3QRWxeSeaj7Vw5oUtkX2X5eU0eX7kcO6gFWUaSVNbqUdcLpwoWbG/8rg6j9fzJw79qa+FWt5vyCGeNBpJZflXwwPm7mxsfN15kZtu1e8Thh//5IZzaGGKJndGx1CMEwTboxOWk9Pz0dPxCPGwWVPy1/ryaT5nPT07H9IyP0uvxie4gh7gqU+3YueRnxOL0/OWk9nkyaj5kmXfCQWiQSRn56OvZgMmm+RITVIYmHuNvQbpoAm1Y2kTD+Go8bp2o15+lmk7+dSBjHR0eNc+6B/Duh5hBDdMf/AeWEF6kp7RGPAAAAAElFTkSuQmCC":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALMAAAAcCAYAAAAqXo7IAAAACXBIWXMAAAsTAAALEwEAmpwYAAAJiklEQVR4nO2cX4wkRR3HP9XdM7N/5vbmWOByiN4Y8F94uMEghwZzIyhGH7hFX+BBWTQiYqKLLwReGF4IIVEXQ6ImJg4PYHhb4gOEqDd34d9BAkOCiQkxzhoQkeN25vb25m93+VA9O70zVT3dvXN3PMw36WxP/X71q19Vfet/9Yo33tjA86Dd9gDwPPA8ieMILEtgWWBZAs9DNJvuD7pd7+Zs1nksnRbVdttDCEEqJeh2Ja2Wi21bZDIWQkg8T3L48CVMMcWFgBUmFAKEELTb3lcbje4LW1vuHzodecfGRvflRqP3qOdxhRAXytUppgiHkcxCQK8nP3nmTO+JRqN3vNuVX1fkBmC22fTu39zsvdFsendLiT0l9RQXGyNkFgKkZL7Z9B44c6b3Zrvt/VQIxDBZfb395865v9/Y6J5ot71vgGBK6ikuFrbJ3Cdhp+Pd0Wx6L7Za3iPA4jhyCgHdrvzK2bPuC+2297Tryi8GevApprhgcPrE6/X4Uqvl3t/tyu/GJWNf13XlHefOuUuex2Nzc9bjQoiNGL4s+U9eI6sAVWAtEFb0nyQoAzX/vZTQRs23k8SXGiov9Zhp5lFlVEBfTlXf9mogrGSwVWZQBsNpLGvCawzyGwZTemFpjosXCeL11zc+sbnZe7DV8u6WUpF7t5ASbFu8MzNj/erIkcXfjVEvoDJ5aIzeOjsrsAQ8lNDFr6EaCIBMaOM4AwIn9eVZP251jF7R1zsS0W6wFk35M9V0ETimCQ/m14Rl4I8h8vvY2dCCSFoP27A2N3u/PXfOuxfMRBYCbFvgOIPHssysFwI8T35ma8t9fEz6eRSpxhEZ4GAEnaioTtDWbnAUlf9CiM4qilxRicwYe+cTpTHy5fOY9lsOkAvrjTMZi1bLo3GmR7ej9qItC+bmbPbscXBdievqG5UQnB3jQAnYm8TzXaL+MbEBKv8VVMMetlkG7kxgM7cLf0yojpEvM77DOYTKZ23X3oyi7gCuTiIEpFIWL75U59ixDT481QmQVpDN2nzh83McvfVy9i7YdHuJRomCIXwdVZF1VMUsMVoQOUPcJwkvLFOauvRNyBGtd3848J5HDdO6Ct8LrLCzZysRTuR1RufdRaLnLy7qY+SliHaW0E81jmvSy6Efkfp1nGOQ36pjSjGdtvjbsQ2eevp9HMfi6qtnmZ2xkBIQ8O67Lf7y19N89FGPn9xzJamUwPNiE9o0vSiws/BKjJK3gB5lBvPhpKgxgQWJxkYO87RqJaCfJ3wO/rDGdhzUdhFXhxVGG2kD1diGG+QKejIXNWEl9GQuo6ljLZltW3D6dJfnnj9FNuvwox9ewTXXZJVQSoQlaDR6PPWn//LKqw1Onmxw0037aLVik/m4wdllRjNcj2izFiP9XAzdSaCOqrQqo5W/15dVUL2XCXcRbVchKQox9XPoG1YZ/TTpoJ9GNWY6QdR1gVoyO46gVmvxwQcdbrllkWuv3cPWlqt6ZQAk+/Y5fPtbl/Lmm5v8a72JlPuSOFVGT+ZfYy6kKDYrgd85BhVUZicRCuhRYHQbqcCA/MUEfvVRR/VYP9fI+vaXDHEfZjJEPkL83YOqIXwF/bpnFVV+64w23GU/3jjk4viiJbMA2v5ib27WoteTASIrdLuSTFpdMup0vBF5RJRRxNDNDR9CEWiZeIutI5hX/pWINvYafDKhqAl7K0S/bggvoIhu8r8c0Z8+8jH1w1DXhOXQkzK4blljtOEuG+INoxBBZxvGuxlxyJmQyH0sozKvQ3/rKr+rFAaoT8jO+UprXJxaTHv5BD7EQQnzblQJ/VoHP87SpJ0xLgBtW5HUddUcehiWpeSeB45GHhPLqIrSLXoOoVp3kZ2VnU+QTjVBnPOBgiG8OiZejgvbIMOQRz9Vgmij2jI7T3R3DS2ZXVdyxYEMe/bYvP32WT788BIuuyy1vVshhEBKyWuvn2Fry+Xyy9NYoZdJI6GEIrTuBOkQaohdCoTptrjGbanVIvoStr1Xj2jDhBzmOfc420UmQ4AnMZfTKtEOsUq79OEoyRqncfqmJXO3J7nyyhm+fEOO5184xW+e+DeHDu3BsRWJLUvw3nttXn2twYEDaW44vJdesn3mYZRRJNIdpx5l/IZ7jXiFXAzxoxLDThysoB+a1xn0zGG7PGsT8KGGOX/1CPHzJDvMGcYS8dcBdZPAOM1wXcl3brsMz5O8/EqDd975Hwi1OJRS4jgWBz81w+2372f//vT2lyoxsMTgYkwQFVTr0/UOeY3+xwGFCDo5FJFN+8drQ+86Mh9FVf4K0UhXjKATFdXA+6pBxzSi5dBPSVYIJ3OcI3wcwNYJXFeSyVh8/3sHuPHGHP95r61OAP3p8cKCw+c+O8fcnJ2EyKB6maOoyzZV/8mhKsA0zFX8v3mDPI+5Z84x2HIrR/CtGJJGHlURVT9M19P2fenrFwx6oA4YSoHfZcyLqzt938qB9AsM8td/nzTq/t8iqt6G0SC8kS0xOjWc6PG2AzSl1F/57N+7+HR+hquvmt0hk1Jtz3U6ZiJLSTYk7SqqUPrPOASPO/MGnYOMv71WCbwXDDpRhtDqGHkUX/pYZicJ6ihimG6ghdkePhaeNEqG8FXCR4s1zL3zSnJ3BrBmZ617MxlRltK8xaY+VvV2PO22Zzy+9u28Pz9v3z8JJxm0+kkjd5FtNFAnemsaWdmXNWLarATe8wadWkj8sKG9aJA3ME89+igbwpcM4YUx9kZg2bb4Zzbr3JXN2jfatjixmz1jP647M2P9Mpt1rpubs1aTW9vGOoMj4D4Ku7BX20VcHQoJ4z3LYLpgQtm3H6e3rQfe8wadWgx7QZRDwusGWR9V9BecDqIndC6SRwE4ffKmUuKlVMq5ud32ftxqufd5HldFvajft5FOW8/Nz1uP2LZ4sdsdPTUcwiqqAPLoCVFD9VhrGlmVnTfS4qAy9F7RakVHjei+1BmsD+ox7BcZfGVSxFzRFXaWVxl9/moh6ZnykieczFFQQt/A6pqwmsGXmsm4OHny9Pb/yhCi/38yuHRry/tFs+n+TErmw0jtf1Xyj/l5uzQ/bz8jpaTbVU86Lbj++kR3NqaYIjZGjjo8T2Lb4tTCgvPg4mL6cDptrenm0/7vzWzWfmBxMXX9zIx4xv9ie4opLgq053aKvJJ0Wvx9YcG5LZu1b7VtcTJAai+TscqLi6nrsln7USHYnJJ4iosN46EJDHrZTMb6czptPd9suvd0OvKbmYz12OysdUJdyL8Qbk4xxXj8H0eEKo5UwxgtAAAAAElFTkSuQmCC",class:ne(["cursor-pointer",l.value]),onClick:f},null,10,Jte)]),na("div",Qte,[ra(u,{modelValue:p.value,"onUpdate:modelValue":r[0]||(r[0]=e=>p.value=e),variant:"primary-filled"},{default:Gn((()=>[ra(c,{value:"conversation"},{default:Gn((()=>[aa(Oe(e.$t("layout.sideNav.tabConversation")),1)])),_:1}),ra(c,{value:"favorite"},{default:Gn((()=>[aa(Oe(e.$t("layout.sideNav.tabFavorite")),1)])),_:1})])),_:1},8,["modelValue"])]),"conversation"===p.value?(qi(),Ji(S,{key:0,class:"flex-1 bg-transparent",value:o.value,collapsed:n.value},{default:Gn((()=>[ra(on(Xte),{onEnd:g,modelValue:v.value,"onUpdate:modelValue":r[2]||(r[2]=e=>v.value=e),"item-key":"id"},{item:Gn((({element:t})=>[(qi(),Ji(E,{name:t.id,value:`/conversation/chat?id=${t.id}`,"data-index":t.id,key:t.id,to:`/conversation/chat?id=${t.id}`,class:"gap-2 relative menu-item"},{icon:Gn((()=>[ra(_,{size:"24px",image:t.avatar},null,8,["image"])])),content:Gn((()=>[aa(Oe(t.name)+" ",1),ra(O,{theme:"danger",content:e.$t("layout.sideNav.confirmDelete"),placement:"right",onConfirm:e=>{return n=t,d.remove(n.id),d.data.length>0?s.push(`/conversation/chat?id=${d.data[0].id}`):s.push("/"),void fE.success(kF("layout.sideNav.deleteSuccessMsg"));var n},class:"absolute right-0 top-1.5"},{default:Gn((()=>[ra(x,{content:e.$t("layout.sideNav.deleteAction"),placement:"right"},{default:Gn((()=>[ra(w,{size:"small",shape:"circle",variant:"text",onClick:r[1]||(r[1]=vs((()=>{}),["stop"]))},{default:Gn((()=>[ra(on(mx),{slot:"icon",style:{width:"16px",height:"16px"}})])),_:1})])),_:1},8,["content"])])),_:2},1032,["content","onConfirm"])])),_:2},1032,["name","value","data-index","to"]))])),_:1},8,["modelValue"])])),_:1},8,["value","collapsed"])):sa("",!0),"favorite"===p.value?(qi(),Ji(S,{key:1,class:"flex-1 bg-transparent",value:o.value,collapsed:n.value},{default:Gn((()=>[ra(on(Xte),{onEnd:y,modelValue:m.value,"onUpdate:modelValue":r[4]||(r[4]=e=>m.value=e),"item-key":"id"},{item:Gn((({element:t})=>[(qi(),Ji(E,{name:t.id,value:`/note/content?id=${t.id}`,"data-index":t.id,key:t.id,to:`/note/content?id=${t.id}`,class:"gap-2 relative menu-item"},{default:Gn((()=>[aa(Oe(t.title)+" ",1),ra(O,{theme:"danger",content:e.$t("layout.sideNav.confirmDelete"),placement:"right",onConfirm:e=>{return n=t,h.remove(n.id),h.data.length>0?s.push(`/note/content?id=${h.data[0].id}`):s.push("/"),void fE.success(kF("layout.sideNav.deleteSuccessMsg"));var n},class:"absolute right-0 top-1.5"},{default:Gn((()=>[ra(x,{content:e.$t("layout.sideNav.deleteAction"),placement:"right"},{default:Gn((()=>[ra(w,{size:"small",shape:"circle",variant:"text",onClick:r[3]||(r[3]=vs((()=>{}),["stop"]))},{default:Gn((()=>[ra(on(mx),{slot:"icon",style:{width:"16px",height:"16px"}})])),_:1})])),_:1},8,["content"])])),_:2},1032,["content","onConfirm"])])),_:2},1032,["name","value","data-index","to"]))])),_:1},8,["modelValue"])])),_:1},8,["value","collapsed"])):sa("",!0),na("div",Zte,[na("div",ene,[ra(w,{class:"w-full",theme:"primary",shape:"square",variant:"base",onClick:r[5]||(r[5]=e=>b("/conversation/index"))},{icon:Gn((()=>[ra(on($w))])),default:Gn((()=>[aa(" "+Oe(e.$t("layout.header.start")),1)])),_:1}),ra(w,{class:"w-full",theme:"primary",shape:"square",variant:"base",onClick:r[6]||(r[6]=e=>b("/setting"))},{icon:Gn((()=>[ra(on(Kx))])),default:Gn((()=>[aa(" "+Oe(e.$t("layout.header.setting")),1)])),_:1})]),na("div",tne,[na("span",nne,Oe(i.value)+" "+Oe(on(K4).version),1)])])],2)}}}),[["__scopeId","data-v-e0a68394"]]),one=xr({__name:"LayoutSideNav",setup(e){const t=L2();return(e,n)=>(qi(),Ji(rne,{theme:on(t).displayMode},null,8,["theme"]))}}),ine={class:"message"},ane={key:0},lne={key:1},sne={key:2},cne={class:"flex gap-5 items-center align-middle justify-center"},une=G2(xr({__name:"ReloadPrompt",setup(e){const t=en(null),n=en(!1),r=en(!1),o=en(null),i=en(!1),a=()=>{n.value=!1,r.value=!1,i.value=!1,localStorage.setItem("pwaInstallDismissed","true")},l=async()=>{if(o.value){o.value.prompt();const{outcome:e}=await o.value.userChoice;o.value=null,i.value=!1}},s=e=>{e.preventDefault(),o.value=e,"true"!==localStorage.getItem("pwaInstallDismissed")&&(i.value=!0)},c=()=>{i.value=!1},u=async()=>{if("visible"===document.visibilityState&&t.value)try{await t.value.update()}catch(e){}};return Yr((async()=>{await(async()=>{if("serviceWorker"in navigator)try{const e=await navigator.serviceWorker.register("/sw.js",{scope:"/"});t.value=e,e.active&&(n.value=!0,setTimeout((()=>{n.value=!1}),3e3)),e.addEventListener("updatefound",(()=>{const t=e.installing;t&&t.addEventListener("statechange",(()=>{"installed"===t.state&&navigator.serviceWorker.controller&&(r.value=!0)}))}))}catch(e){}})(),window.matchMedia("(display-mode: standalone)").matches?i.value=!1:(window.addEventListener("beforeinstallprompt",s),window.addEventListener("appinstalled",c)),document.addEventListener("visibilitychange",u),navigator.serviceWorker.addEventListener("controllerchange",(()=>{window.location.reload()}))})),eo((()=>{window.removeEventListener("beforeinstallprompt",s),window.removeEventListener("appinstalled",c),document.removeEventListener("visibilitychange",u)})),(e,o)=>{const s=Lw,c=$k;return i.value||n.value||r.value?(qi(),Ji(c,{key:0,class:"pwa-toast",role:"alert"},{default:Gn((()=>[na("div",ine,[i.value?(qi(),Yi("span",ane,' 点击"安装"按钮将应用程序添加到您的设备的主屏幕上。 ')):n.value?(qi(),Yi("span",lne," 应用程序准备好离线工作 ")):(qi(),Yi("span",sne,' 有新的内容可以查看了,请点击"重新加载"按钮来更新。 '))]),na("div",cne,[i.value?(qi(),Ji(s,{key:0,onClick:l},{default:Gn((()=>o[1]||(o[1]=[aa(" 安装 ")]))),_:1})):sa("",!0),r.value?(qi(),Ji(s,{key:1,onClick:o[0]||(o[0]=e=>(async()=>{t.value&&t.value.waiting&&(t.value.waiting.postMessage({type:"SKIP_WAITING"}),window.location.reload(),r.value=!1)})())},{default:Gn((()=>o[2]||(o[2]=[aa(" 重载 ")]))),_:1})):sa("",!0),ra(s,{onClick:a},{default:Gn((()=>o[3]||(o[3]=[aa(" 关闭 ")]))),_:1})])])),_:1})):sa("",!0)}}}),[["__scopeId","data-v-75ca4375"]]),fne=xr({__name:"index",setup(e){const t=j4(),n=L2();return yi((()=>t.path),(()=>{var e;null==(e=document.querySelector(`.${D4}-layout`))||e.scrollTo({top:0,behavior:"smooth"})})),(e,t)=>{const r=xO,o=EO,i=CO,a=OO;return qi(),Ji(a,null,{default:Gn((()=>[ra(r,null,{default:Gn((()=>[ra(one)])),_:1}),ra(a,{class:"h-screen overflow-hidden"},{default:Gn((()=>[on(n).showLayoutHeader?(qi(),Ji(o,{key:0},{default:Gn((()=>[ra($4)])),_:1})):sa("",!0),ra(i,{class:"flex-1 overflow-y-auto main-layout-content"},{default:Gn((()=>[ra(V4)])),_:1}),(qi(),Ji(une,{key:1}))])),_:1})])),_:1})}}}),pne=[{path:"/conversation",component:fne,redirect:"/conversation/index",name:"conversation",meta:{title:{zh_CN:"会话",en_US:"Conversation"},icon:Yw,orderNo:0},children:[{path:"index",name:"NewConversation",component:()=>Y2((()=>import("./index-DP1bS-ul.js")),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]),import.meta.url),meta:{title:{zh_CN:"新建会话",en_US:"New Conversation"}}},{path:"chat",name:"chat",component:()=>Y2((()=>import("./chat-ApKQQRkt.js")),__vite__mapDeps([16,1,2,3,4,5,6,7,8,9,10,17,18,14,11,19,20,21,22,12,13,23,24,25,26,27,28,29,30,31,32,33,34,35,36]),import.meta.url),meta:{title:{zh_CN:"会话聊天",en_US:"Chat"},hidden:!0}}]},{path:"/setting", +// component: () => import('@/pages/setting/layout.vue'), +component:fne,redirect:"/setting/user",name:"setting",meta:{title:{zh_CN:"设置",en_US:"Setting"},icon:nO,orderNo:0},children:[{path:"user",name:"User setting",component:()=>Y2((()=>import("./index-Lt3PC9Ko.js")),__vite__mapDeps([37,21,22,19,2,20,12,13,23,24,17,18,14,3,4,5,6,7,27,28,29,30,38,39]),import.meta.url),meta:{title:{zh_CN:"常规",en_US:"User"}}},{path:"model",name:"ModelSetting",component:()=>Y2((()=>import("./index-Bf-xQ7gk.js")),__vite__mapDeps([40,32,41,4,5,29,30,25,22,19,2,20,12,13,23,26,38,14,21,24,8,9,42,35,43]),import.meta.url),meta:{title:{zh_CN:"模型",en_US:"Model"}}},{path:"agent",name:"AgentCenter",component:()=>Y2((()=>import("./index-AcVMv_6j.js")),__vite__mapDeps([44,41,17,18,14,2,19,20,21,22,12,13,23,24,8,9,42,35,43]),import.meta.url),meta:{title:{zh_CN:"智能体",en_US:"Agent"}}},{path:"api",name:"api setting",component:()=>Y2((()=>import("./index-BZmcEdaQ.js")),__vite__mapDeps([45,46,30,47,29]),import.meta.url),meta:{title:{zh_CN:"OpenAPI",en_US:"OpenAPI"},isPro:!0}}]},{path:"/page",component:fne,redirect:"/page/about",name:"page",meta:{title:{zh_CN:"页面",en_US:"Page"},icon:Ex,orderNo:0},children:[{path:"about",name:"AboutUs",component:()=>Y2((()=>import("./about-DhrbvIxh.js")),__vite__mapDeps([48,46,30,47]),import.meta.url),meta:{title:{zh_CN:"关于我们",en_US:"About Us"}}},{path:"help",name:"help",component:()=>Y2((()=>import("./help-DgjZXkOL.js")),__vite__mapDeps([49,46,30,47,29]),import.meta.url),meta:{title:{zh_CN:"使用帮助",en_US:"Help"}}},{path:"changelog",name:"change log",component:()=>Y2((()=>import("./changelog-C0lttjqx.js")),__vite__mapDeps([50,46,30,47]),import.meta.url),meta:{title:{zh_CN:"更新日志",en_US:"Change Log"}}}]},{path:"/note",component:fne,redirect:"/note/index",name:"note",meta:{title:{zh_CN:"笔记",en_US:"Notes"},icon:Qx,orderNo:0},children:[{path:"index",name:"noteList",component:()=>Y2((()=>import("./index-D-N6mo-j.js")),__vite__mapDeps([51,4,5,22,19,2,20,12,13,23,42,35,43,34,6,52]),import.meta.url),meta:{title:{zh_CN:"笔记列表",en_US:"Note List"}}},{path:"content",name:"content",component:()=>Y2((()=>import("./content-bJk3y71L.js")),__vite__mapDeps([53,31,29,30,18,32,1,2,3,4,5,6,7,8,9,10,14,33,19,20,54]),import.meta.url),meta:{title:{zh_CN:"笔记内容",en_US:"Note Content"},hidden:!0}}]}],dne=Object.defineProperty({__proto__:null,default:pne},Symbol.toStringTag,{value:"Module"});var hne,vne,mne,gne,yne,bne,_ne,wne,xne,One,Ene,Sne,Cne,Ane,kne,Tne,Mne,Pne,jne,Dne,Ine,Nne,Lne,Fne;function Rne(){if(bne)return yne;bne=1;var e=ZI(),t=(vne||(vne=1,hne=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}),hne),n=(gne||(gne=1,mne=function(e){return this.__data__.has(e)}),mne);function r(t){var n=-1,r=null==t?0:t.length;for(this.__data__=new e;++n<r;)this.add(t[n])}return r.prototype.add=r.prototype.push=t,r.prototype.has=n,yne=r}function Bne(){if(Pne)return Mne;return Pne=1,Mne=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n},Mne}function zne(){if(Dne)return jne;Dne=1;var e=function(){if(Ane)return Cne;Ane=1;var e=KI()(VI(),"Set");return Cne=e}(),t=Tne?kne:(Tne=1,kne=function(){}),n=Bne(),r=e&&1/n(new e([,-0]))[1]==1/0?function(t){return new e(t)}:t;return jne=r}function Vne(){if(Nne)return Ine;Nne=1;var e=Rne(),t=function(){if(wne)return _ne;wne=1;var e=D2();return _ne=function(t,n){return!(null==t||!t.length)&&e(t,n,0)>-1},_ne}(),n=(One||(One=1,xne=function(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}),xne),r=(Sne||(Sne=1,Ene=function(e,t){return e.has(t)}),Ene),o=zne(),i=Bne();return Ine=function(a,l,s){var c=-1,u=t,f=a.length,p=!0,d=[],h=d;if(s)p=!1,u=n;else if(f>=200){var v=l?null:o(a);if(v)return i(v);p=!1,u=r,h=new e}else h=l?[]:d;e:for(;++c<f;){var m=a[c],g=l?l(m):m;if(m=s||0!==m?m:0,p&&g==g){for(var y=h.length;y--;)if(h[y]===g)continue e;l&&h.push(g),d.push(m)}else u(h,g,s)||(h!==d&&h.push(g),d.push(m))}return d},Ine}!function(){if(Fne)return Lne;Fne=1;var e=Vne();Lne=function(t){return t&&t.length?e(t):[]}}();const Une=Object.assign({"./modules/homepage.ts":dne}),Hne=Object.assign({}),Wne=Kne(Une),qne=Kne(Hne),$ne=[...Wne,...qne].filter((e=>{var t;return!(null==(t=e.meta)?void 0:t.hidden)})),Gne=[...Wne,...qne,{path:"/",redirect:"/conversation/index"}];function Kne(e){const t=[];return Object.keys(e).forEach((n=>{const r=e[n].default||{},o=Array.isArray(r)?[...r]:[r];t.push(...o)})),t}const Xne=(e=3)=>{const t=Yne.currentRoute.value;return t.path?t.path.split("/").filter(((t,n)=>n<=e&&n>0)).map((e=>`/${e}`)).join(""):""},Yne=function(e){const t=a4(e.routes,e),n=e.parseQuery||h4,r=e.stringifyQuery||v4,o=e.history,i=x4(),a=x4(),l=x4(),s=tn(T3);let c=T3;J2&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=t3.bind(null,(e=>""+e)),f=t3.bind(null,_3),p= +// @ts-expect-error: intentionally avoid the type check +t3.bind(null,w3);function d(e,i){if(i=e3({},i||s.value),"string"==typeof e){const r=O3(n,e,i.path),a=t.resolve({path:r.path},i),l=o.createHref(r.fullPath);return e3(r,a,{params:p(a.params),hash:w3(r.hash),redirectedFrom:void 0,href:l})}let a;if(null!=e.path)a=e3({},e,{path:O3(n,e.path,i.path).path});else{const t=e3({},e.params);for(const e in t)null==t[e]&&delete t[e];a=e3({},e,{params:f(t)}),i.params=f(i.params)}const l=t.resolve(a,i),c=e.hash||"";l.params=u(p(l.params));const d=function(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(r,e3({},e,{hash:(h=c,y3(h).replace(h3,"{").replace(m3,"}").replace(p3,"^")),path:l.path}));var h;const v=o.createHref(d);return e3({fullPath:d, +// keep the hash encoded so fullPath is effectively path + encodedQuery + +// hash +hash:c,query: +// if the user is using a custom query lib like qs, we might have +// nested objects, so we keep the query as is, meaning it can contain +// numbers at `$route.query`, but at the point, the user will have to +// use their own type anyway. +// https://github.com/vuejs/router/issues/328#issuecomment-649481567 +r===v4?m4(e.query):e.query||{}},l,{redirectedFrom:void 0,href:v})}function h(e){return"string"==typeof e?O3(n,e,s.value.path):e3({},e)}function v(e,t){if(c!==e)return X3(8,{from:t,to:e})}function m(e){return y(e)}function g(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){const{redirect:n}=t;let r="function"==typeof n?n(e):n;return"string"==typeof r&&(r=r.includes("?")||r.includes("#")?r=h(r): +// force empty params +{path:r},r.params={}),e3({query:e.query,hash:e.hash, +// avoid transferring params if the redirect has a path +params:null!=r.path?{}:e.params},r)}}function y(e,t){const n=c=d(e),o=s.value,i=e.state,a=e.force,l=!0===e.replace,u=g(n);if(u)return y(e3(h(u),{state:"object"==typeof u?e3({},i,u.state):i,force:a,replace:l}), +// keep original redirectedFrom if it exists +t||n);const f=n;let p;return f.redirectedFrom=t,!a&&function(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&S3(t.matched[r],n.matched[o])&&C3(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(r,o,n)&&(p=X3(16,{to:f,from:o}),P(o,o, +// this is a push, the only way for it to be triggered from a +// history.listen is with a redirect, which makes it become a push +!0, +// This cannot be the first navigation because the initial location +// cannot be manually navigated to +!1)),(p?Promise.resolve(p):w(f,o)).catch((e=>Y3(e)? +// navigation redirects still mark the router as ready +Y3(e,2 +/* ErrorTypes.NAVIGATION_GUARD_REDIRECT */)?e:M(e): +// reject any unknown error +T(e,f,o))).then((e=>{if(e){if(Y3(e,2 +/* ErrorTypes.NAVIGATION_GUARD_REDIRECT */))return y( +// keep options +e3({ +// preserve an existing replacement but allow the redirect to override it +replace:l},h(e.to),{state:"object"==typeof e.to?e3({},i,e.to.state):i,force:a}), +// preserve the original redirectedFrom if any +t||f)}else e=O(f,o,!0,l,i);return x(f,o,e),e}))}function b(e,t){const n=v(e,t);return n?Promise.reject(n):Promise.resolve()}function _(e){const t=I.values().next().value;return t&&"function"==typeof t.runWithContext?t.runWithContext(e):e()}function w(e,t){let n;const[r,o,l]=function(e,t){const n=[],r=[],o=[],i=Math.max(t.matched.length,e.matched.length);for(let a=0;a<i;a++){const i=t.matched[a];i&&(e.matched.find((e=>S3(e,i)))?r.push(i):n.push(i));const l=e.matched[a];l&&(t.matched.find((e=>S3(e,l)))||o.push(l))}return[n,r,o]}(e,t);n=E4(r.reverse(),"beforeRouteLeave",e,t);for(const i of r)i.leaveGuards.forEach((r=>{n.push(O4(r,e,t))}));const s=b.bind(null,e,t);return n.push(s),L(n).then((()=>{n=[];for(const r of i.list())n.push(O4(r,e,t));return n.push(s),L(n)})).then((()=>{n=E4(o,"beforeRouteUpdate",e,t);for(const r of o)r.updateGuards.forEach((r=>{n.push(O4(r,e,t))}));return n.push(s),L(n)})).then((()=>{n=[];for(const r of l)if(r.beforeEnter)if(r3(r.beforeEnter))for(const o of r.beforeEnter)n.push(O4(o,e,t));else n.push(O4(r.beforeEnter,e,t));return n.push(s),L(n)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),n=E4(l,"beforeRouteEnter",e,t,_),n.push(s),L(n)))).then((()=>{n=[];for(const r of a.list())n.push(O4(r,e,t));return n.push(s),L(n)})).catch((e=>Y3(e,8 +/* ErrorTypes.NAVIGATION_CANCELLED */)?e:Promise.reject(e)))}function x(e,t,n){l.list().forEach((r=>_((()=>r(e,t,n)))))}function O(e,t,n,r,i){const a=v(e,t);if(a)return a;const l=t===T3,c=J2?history.state:{};n&&(r||l?o.replace(e.fullPath,e3({scroll:l&&c&&c.scroll},i)):o.push(e.fullPath,i)),s.value=e,P(e,t,n,l),M()}let E;function S(){E||(E=o.listen(((e,t,n)=>{if(!N.listening)return;const r=d(e),i=g(r);if(i)return void y(e3(i,{replace:!0,force:!0}),r).catch(n3);c=r;const a=s.value;J2&&function(e,t){z3.set(e,t)}(B3(a.fullPath,n.delta),F3()),w(r,a).catch((e=>Y3(e,12 +/* ErrorTypes.NAVIGATION_CANCELLED */)?e:Y3(e,2 +/* ErrorTypes.NAVIGATION_GUARD_REDIRECT */)?(y(e3(h(e.to),{force:!0}),r).then((e=>{Y3(e,20 +/* ErrorTypes.NAVIGATION_DUPLICATED */)&&!n.delta&&n.type===M3.pop&&o.go(-1,!1)})).catch(n3),Promise.reject()):(n.delta&&o.go(-n.delta,!1),T(e,r,a)))).then((e=>{(e=e||O( +// after navigation, all matched components are resolved +r,a,!1))&&(n.delta&&// a new navigation has been triggered, so we do not want to revert, that will change the current history +// entry while a different route is displayed +!Y3(e,8 +/* ErrorTypes.NAVIGATION_CANCELLED */)?o.go(-n.delta,!1):n.type===M3.pop&&Y3(e,20 +/* ErrorTypes.NAVIGATION_DUPLICATED */)&&o.go(-1,!1)),x(r,a,e)})).catch(n3)})))}let C,A=x4(),k=x4();function T(e,t,n){M(e);const r=k.list();return r.length&&r.forEach((r=>r(e,t,n))),Promise.reject(e)}function M(e){return C||(C=!e,S(),A.list().forEach((([t,n])=>e?n(e):t())),A.reset()),e}function P(t,n,r,o){const{scrollBehavior:i}=e;if(!J2||!i)return Promise.resolve();const a=!r&&function(e){const t=z3.get(e);return z3.delete(e),t}(B3(t.fullPath,0))||(o||!r)&&history.state&&history.state.scroll||null;return In().then((()=>i(t,n,a))).then((e=>e&&R3(e))).catch((e=>T(e,t,n)))}const j=e=>o.go(e);let D;const I=new Set,N={currentRoute:s,listening:!0,addRoute:function(e,n){let r,o;return q3(e)?(r=t.getRecordMatcher(e),o=n):o=e,t.addRoute(o,r)},removeRoute:function(e){const n=t.getRecordMatcher(e);n&&t.removeRoute(n)},clearRoutes:t.clearRoutes,hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map((e=>e.record))},resolve:d,options:e,push:m,replace:function(e){return m(e3(h(e),{replace:!0}))},go:j,back:()=>j(-1),forward:()=>j(1),beforeEach:i.add,beforeResolve:a.add,afterEach:l.add,onError:k.add,isReady:function(){return C&&s.value!==T3?Promise.resolve():new Promise(((e,t)=>{A.add([e,t])}))},install(e){e.component("RouterLink",C4),e.component("RouterView",M4),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>on(s)}),J2&&// used for the initial navigation client side to avoid pushing +// multiple times when the router is used in multiple apps +!D&&s.value===T3&&(D=!0,m(o.location).catch((e=>{})));const t={};for(const r in T3)Object.defineProperty(t,r,{get:()=>s.value[r],enumerable:!0});e.provide(b4,this),e.provide(_4,Vt(t)),e.provide(w4,s);const n=e.unmount;I.add(e),e.unmount=function(){I.delete(e),I.size<1&&(c=T3,E&&E(),E=null,s.value=T3,D=!1,C=!1),n()}}};function L(e){return e.reduce(((e,t)=>e.then((()=>_(t)))),Promise.resolve())}return N}({history:((Jne=location.host?Jne||location.pathname+location.search:"").includes("#")||(Jne+="#"),W3(Jne)),routes:Gne,scrollBehavior:()=>({el:"#app",top:0,behavior:"smooth"})});var Jne;const Qne=Os(K2);Qne.use(vO),Qne.use(Yne),Qne.use($2),Qne.use(CF),mB.initialize(),Qne.mount("#app").$nextTick((()=>{postMessage({payload:"removeLoading"},"*"),window.document.addEventListener("keydown",(e=>{e.ctrlKey&&"f"===e.key&&window.ipcRenderer&&(e.preventDefault(),window.ipcRenderer.send("electron-findbar/open"))}))})),null==(e=window.ipcRenderer)||e.on("main-process-message",((e,t)=>{}));export{px as $,qk as A,kF as B,U2 as C,$k as D,mO as E,Bi as F,Lw as G,Uw as H,zw as I,Fw as J,vy as K,Aw as L,fE as M,Cf as N,Ns as O,kO as P,qS as Q,vO as R,dy as S,my as T,Zg as U,eA as V,yw as W,Tw as X,gw as Y,$O as Z,G2 as _,la as a,zy as a$,S_ as a0,Py as a1,Qr as a2,Yr as a3,Zr as a4,pa as a5,ir as a6,In as a7,Xk as a8,vs as a9,eg as aA,cw as aB,iv as aC,x_ as aD,H1 as aE,yT as aF,W1 as aG,TF as aH,AF as aI,Dw as aJ,ic as aK,Na as aL,tn as aM,I4 as aN,L4 as aO,N4 as aP,pB as aQ,Uo as aR,jw as aS,Vo as aT,ry as aU,IO as aV,jg as aW,LO as aX,ex as aY,_x as aZ,zO as a_,oA as aa,R2 as ab,q2 as ac,mi as ad,Qk as ae,eo as af,OC as ag,Xte as ah,J as ai,z2 as aj,Lk as ak,Fk as al,Rk as am,Qi as an,mA as ao,Gg as ap,hA as aq,zt as ar,fy as as,js as at,Sk as au,a_ as av,$w as aw,fn as ax,HS as ay,VS as az,Ia as b,Fs as b$,Yy as b0,AT as b1,D4 as b2,Vr as b3,Ur as b4,ey as b5,Dy as b6,Ry as b7,jy as b8,vm as b9,vk as bA,sk as bB,ck as bC,Kx as bD,kw as bE,Iy as bF,ya as bG,Xg as bH,DO as bI,cC as bJ,Ap as bK,Zm as bL,ox as bM,sx as bN,ik as bO,Nc as bP,Sg as bQ,kf as bR,Ag as bS,RC as bT,Mg as bU,Hg as bV,pk as bW,w_ as bX,Ew as bY,WA as bZ,iy as b_,Zu as ba,mm as bb,Os as bc,Fy as bd,By as be,zS as bf,O_ as bg,Ds as bh,oy as bi,Kd as bj,gm as bk,Hp as bl,_h as bm,CC as bn,DC as bo,Bp as bp,Rs as bq,gk as br,f_ as bs,v_ as bt,ak as bu,lk as bv,fk as bw,dk as bx,uk as by,hk as bz,Yi as c,mk as c0,oO as c1,Y2 as c2,Kn as c3,gl as c4,La as c5,jx as c6,Eo as c7,wo as c8,Xr as c9,T2 as cA,WI as cB,qg as cC,Ps as cD,Ms as cE,$g as cF,ay as cG,ly as cH,Ut as cI,US as cJ,zx as cK,co as cL,Yk as cM,re as ca,UA as cb,VA as cc,zk as cd,rO as ce,lC as cf,Lx as cg,tl as ch,nC as ci,aC as cj,rC as ck,Ex as cl,eC as cm,$S as cn,GS as co,KS as cp,XS as cq,YS as cr,JS as cs,tC as ct,oC as cu,Ud as cv,Kg as cw,pA as cx,VI as cy,P2 as cz,xr as d,na as e,Ji as f,ho as g,j4 as h,P4 as i,en as j,H2 as k,V2 as l,mB as m,L2 as n,qi as o,ra as p,Gn as q,so as r,on as s,Oe as t,B2 as u,ne as v,yi as w,sa as x,aa as y,po as z}; diff --git a/.output/public/assets/mindmap-definition-44684416-2qYG7gUD.js b/.output/public/assets/mindmap-definition-44684416-2qYG7gUD.js new file mode 100644 index 0000000000000000000000000000000000000000..29100b660b373dcfb3960ccfeba9f040f074acdc --- /dev/null +++ b/.output/public/assets/mindmap-definition-44684416-2qYG7gUD.js @@ -0,0 +1,1008 @@ +import{E as e,g as t,l as n,f as r,h as i,z as a,B as o}from"./CodeBlocks.vue_vue_type_style_index_0_lang-CexE7E14.js";import{ce as s,c1 as l}from"./main-DzSNOqOC.js";import{i as u}from"./is_dark-MhuX2or3.js";import"./fetch-C6zEckB6.js";import"./debounce-DjqSSMbT.js";import"./refresh-BD1L4aGQ.js";import"./copy-CaDk54_k.js";import"./ChatInput.vue_vue_type_style_index_0_lang-D4A8Ko3p.js";import"./index-DmWclHlm.js";import"./index-BuIb9tIA.js";import"./index-CjKlnN2e.js";import"./dep-916b902f-BLs2dxx4.js";import"./index-Kxldlx3l.js";import"./v4-_R2nDvl_.js";var c,h={exports:{}};const d=l((c||(c=1,h.exports=function(){function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(t)}function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function r(e,t,r){return t&&n(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){return u(e)||h(e,t)||d(e,t)||f()}function o(e){return l(e)||c(e)||d(e)||g()}function l(e){if(Array.isArray(e))return p(e)}function u(e){if(Array.isArray(e))return e}function c(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function h(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,a=[],o=!0,s=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);o=!0);}catch(l){s=!0,i=l}finally{try{o||null==n.return||n.return()}finally{if(s)throw i}}return a}}function d(e,t){if(e){if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(e,t):void 0}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function g(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function f(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function v(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=d(e))||t){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}var y="undefined"==typeof window?null:window,m=y?y.navigator:null;y&&y.document;var b=e(""),x=e({}),w=e((function(){})),E="undefined"==typeof HTMLElement?"undefined":e(HTMLElement),T=function(e){return e&&e.instanceString&&A(e.instanceString)?e.instanceString():null},_=function(t){return null!=t&&e(t)==b},A=function(t){return null!=t&&e(t)===w},C=function(e){return!I(e)&&(Array.isArray?Array.isArray(e):null!=e&&e instanceof Array)},D=function(t){return null!=t&&e(t)===x&&!C(t)&&t.constructor===Object},N=function(t){return null!=t&&e(t)===x},S=function(t){return null!=t&&e(t)===e(1)&&!isNaN(t)},L=function(e){return S(e)&&Math.floor(e)===e},P=function(e){return"undefined"===E?void 0:null!=e&&e instanceof HTMLElement},I=function(e){return k(e)||M(e)},k=function(e){return"collection"===T(e)&&e._private.single},M=function(e){return"collection"===T(e)&&!e._private.single},R=function(e){return"core"===T(e)},O=function(e){return"stylesheet"===T(e)},B=function(e){return"event"===T(e)},F=function(e){return null==e||!(""!==e&&!e.match(/^\s+$/))},z=function(e){return"undefined"!=typeof HTMLElement&&e instanceof HTMLElement},G=function(e){return D(e)&&S(e.x1)&&S(e.x2)&&S(e.y1)&&S(e.y2)},V=function(e){return N(e)&&A(e.then)},Y=function(){return m&&m.userAgent.match(/msie|trident|edge/i)},X=function(e,t){t||(t=function(){if(1===arguments.length)return arguments[0];if(0===arguments.length)return"undefined";for(var e=[],t=0;t<arguments.length;t++)e.push(arguments[t]);return e.join("$")});var n=function n(){var r,i=this,a=arguments,o=t.apply(i,a),s=n.cache;return(r=s[o])||(r=s[o]=e.apply(i,a)),r};return n.cache={},n},U=X((function(e){return e.replace(/([A-Z])/g,(function(e){return"-"+e.toLowerCase()}))})),j=X((function(e){return e.replace(/(-\w)/g,(function(e){return e[1].toUpperCase()}))})),W=X((function(e,t){return e+t[0].toUpperCase()+t.substring(1)}),(function(e,t){return e+"$"+t})),H=function(e){return F(e)?e:e.charAt(0).toUpperCase()+e.substring(1)},q="(?:[-+]?(?:(?:\\d+|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?))",$="rgb[a]?\\(("+q+"[%]?)\\s*,\\s*("+q+"[%]?)\\s*,\\s*("+q+"[%]?)(?:\\s*,\\s*("+q+"))?\\)",K="rgb[a]?\\((?:"+q+"[%]?)\\s*,\\s*(?:"+q+"[%]?)\\s*,\\s*(?:"+q+"[%]?)(?:\\s*,\\s*(?:"+q+"))?\\)",Z="hsl[a]?\\(("+q+")\\s*,\\s*("+q+"[%])\\s*,\\s*("+q+"[%])(?:\\s*,\\s*("+q+"))?\\)",Q="hsl[a]?\\((?:"+q+")\\s*,\\s*(?:"+q+"[%])\\s*,\\s*(?:"+q+"[%])(?:\\s*,\\s*(?:"+q+"))?\\)",J="\\#[0-9a-fA-F]{3}",ee="\\#[0-9a-fA-F]{6}",te=function(e,t){return e<t?-1:e>t?1:0},ne=function(e,t){return-1*te(e,t)},re=null!=Object.assign?Object.assign.bind(Object):function(e){for(var t=arguments,n=1;n<t.length;n++){var r=t[n];if(null!=r)for(var i=Object.keys(r),a=0;a<i.length;a++){var o=i[a];e[o]=r[o]}}return e},ie=function(e){if((4===e.length||7===e.length)&&"#"===e[0]){var t,n,r,i=16;return 4===e.length?(t=parseInt(e[1]+e[1],i),n=parseInt(e[2]+e[2],i),r=parseInt(e[3]+e[3],i)):(t=parseInt(e[1]+e[2],i),n=parseInt(e[3]+e[4],i),r=parseInt(e[5]+e[6],i)),[t,n,r]}},ae=function(e){var t,n,r,i,a,o,s,l;function u(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}var c=new RegExp("^"+Z+"$").exec(e);if(c){if((n=parseInt(c[1]))<0?n=(360- -1*n%360)%360:n>360&&(n%=360),n/=360,(r=parseFloat(c[2]))<0||r>100)return;if(r/=100,(i=parseFloat(c[3]))<0||i>100)return;if(i/=100,void 0!==(a=c[4])&&((a=parseFloat(a))<0||a>1))return;if(0===r)o=s=l=Math.round(255*i);else{var h=i<.5?i*(1+r):i+r-i*r,d=2*i-h;o=Math.round(255*u(d,h,n+1/3)),s=Math.round(255*u(d,h,n)),l=Math.round(255*u(d,h,n-1/3))}t=[o,s,l,a]}return t},oe=function(e){var t,n=new RegExp("^"+$+"$").exec(e);if(n){t=[];for(var r=[],i=1;i<=3;i++){var a=n[i];if("%"===a[a.length-1]&&(r[i]=!0),a=parseFloat(a),r[i]&&(a=a/100*255),a<0||a>255)return;t.push(Math.floor(a))}var o=r[1]||r[2]||r[3],s=r[1]&&r[2]&&r[3];if(o&&!s)return;var l=n[4];if(void 0!==l){if((l=parseFloat(l))<0||l>1)return;t.push(l)}}return t},se=function(e){return ue[e.toLowerCase()]},le=function(e){return(C(e)?e:null)||se(e)||ie(e)||oe(e)||ae(e)},ue={ +// special colour names +transparent:[0,0,0,0], +// NB alpha === 0 +// regular colours +aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],grey:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},ce=function(e){for(var t=e.map,n=e.keys,r=n.length,i=0;i<r;i++){var a=n[i];if(D(a))throw Error("Tried to set map with object key");i<n.length-1?(null==t[a]&&(t[a]={}),t=t[a]):t[a]=e.value}},he=function(e){for(var t=e.map,n=e.keys,r=n.length,i=0;i<r;i++){var a=n[i];if(D(a))throw Error("Tried to get map with object key");if(null==(t=t[a]))return t}return t};function de(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}var pe=de,ge="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==s?s:"undefined"!=typeof self?self:{};function fe(e,t){return e(t={exports:{}},t.exports),t.exports}var ve="object"==typeof ge&&ge&&ge.Object===Object&&ge,ye="object"==typeof self&&self&&self.Object===Object&&self,me=ve||ye||Function("return this")(),be=function(){return me.Date.now()},xe=/\s/;function we(e){for(var t=e.length;t--&&xe.test(e.charAt(t)););return t}var Ee=we,Te=/^\s+/;function _e(e){return e?e.slice(0,Ee(e)+1).replace(Te,""):e}var Ae=_e,Ce=me.Symbol,De=Object.prototype,Ne=De.hasOwnProperty,Se=De.toString,Le=Ce?Ce.toStringTag:void 0;function Pe(e){var t=Ne.call(e,Le),n=e[Le];try{e[Le]=void 0;var r=!0}catch(a){}var i=Se.call(e);return r&&(t?e[Le]=n:delete e[Le]),i}var Ie=Pe,ke=Object.prototype.toString;function Me(e){return ke.call(e)}var Re=Me,Oe="[object Null]",Be="[object Undefined]",Fe=Ce?Ce.toStringTag:void 0;function ze(e){return null==e?void 0===e?Be:Oe:Fe&&Fe in Object(e)?Ie(e):Re(e)}var Ge=ze;function Ve(e){return null!=e&&"object"==typeof e}var Ye=Ve,Xe="[object Symbol]";function Ue(e){return"symbol"==typeof e||Ye(e)&&Ge(e)==Xe}var je=Ue,We=NaN,He=/^[-+]0x[0-9a-f]+$/i,qe=/^0b[01]+$/i,$e=/^0o[0-7]+$/i,Ke=parseInt;function Ze(e){if("number"==typeof e)return e;if(je(e))return We;if(pe(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=pe(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Ae(e);var n=qe.test(e);return n||$e.test(e)?Ke(e.slice(2),n?2:8):He.test(e)?We:+e}var Qe=Ze,Je="Expected a function",et=Math.max,tt=Math.min;function nt(e,t,n){var r,i,a,o,s,l,u=0,c=!1,h=!1,d=!0;if("function"!=typeof e)throw new TypeError(Je);function p(t){var n=r,a=i;return r=i=void 0,u=t,o=e.apply(a,n)}function g(e){return u=e,s=setTimeout(y,t),c?p(e):o}function f(e){var n=t-(e-l);return h?tt(n,a-(e-u)):n}function v(e){var n=e-l;return void 0===l||n>=t||n<0||h&&e-u>=a}function y(){var e=be();if(v(e))return m(e);s=setTimeout(y,f(e))}function m(e){return s=void 0,d&&r?p(e):(r=i=void 0,o)}function b(){void 0!==s&&clearTimeout(s),u=0,r=l=i=s=void 0}function x(){return void 0===s?o:m(be())}function w(){var e=be(),n=v(e);if(r=arguments,i=this,l=e,n){if(void 0===s)return g(l);if(h)return clearTimeout(s),s=setTimeout(y,t),p(l)}return void 0===s&&(s=setTimeout(y,t)),o}return t=Qe(t)||0,pe(n)&&(c=!!n.leading,a=(h="maxWait"in n)?et(Qe(n.maxWait)||0,t):a,d="trailing"in n?!!n.trailing:d),w.cancel=b,w.flush=x,w}var rt=nt,it=y?y.performance:null,at=it&&it.now?function(){return it.now()}:function(){return Date.now()},ot=function(){if(y){if(y.requestAnimationFrame)return function(e){y.requestAnimationFrame(e)};if(y.mozRequestAnimationFrame)return function(e){y.mozRequestAnimationFrame(e)};if(y.webkitRequestAnimationFrame)return function(e){y.webkitRequestAnimationFrame(e)};if(y.msRequestAnimationFrame)return function(e){y.msRequestAnimationFrame(e)}}return function(e){e&&setTimeout((function(){e(at())}),1e3/60)}}(),st=function(e){return ot(e)},lt=at,ut=9261,ct=65599,ht=5381,dt=function(e){for(var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ut;!(t=e.next()).done;)n=n*ct+t.value|0;return n},pt=function(e){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:ut)*ct+e|0},gt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ht;return(t<<5)+t+e|0},ft=function(e,t){return 2097152*e+t},vt=function(e){return 2097152*e[0]+e[1]},yt=function(e,t){return[pt(e[0],t[0]),gt(e[1],t[1])]},mt=function(e,t){var n={value:0,done:!1},r=0,i=e.length;return dt({next:function(){return r<i?n.value=e[r++]:n.done=!0,n}},t)},bt=function(e,t){var n={value:0,done:!1},r=0,i=e.length;return dt({next:function(){return r<i?n.value=e.charCodeAt(r++):n.done=!0,n}},t)},xt=function(){return wt(arguments)},wt=function(e){for(var t,n=0;n<e.length;n++){var r=e[n];t=0===n?bt(r):bt(r,t)}return t},Et=!0,Tt=(console.warn,console.trace,Number.MAX_SAFE_INTEGER||9007199254740991),_t=function(){return!0},At=function(){return!1},Ct=function(){return 0},Dt=function(){},Nt=function(e){throw new Error(e)},St=function(e){if(void 0===e)return Et;Et=!!e},Lt=function(e){St()},Pt=function(e){return re({},e)},It=function(e){return null==e?e:C(e)?e.slice():D(e)?Pt(e):e},kt=function(e){return e.slice()},Mt=function(e,t){for( +// loop :) +t=e=""; +// b - result , a - numeric letiable +e++<36; +t+=51*e&52? +// return a random number or 4 +(15^e? +// generate a random number from 0 to 15 +8^Math.random()*(20^e?16:4):4).toString(16):"-");return t},Rt={},Ot=function(){return Rt},Bt=function(e){var t=Object.keys(e);return function(n){for(var r={},i=0;i<t.length;i++){var a=t[i],o=null==n?void 0:n[a];r[a]=void 0===o?e[a]:o}return r}},Ft=function(e,t,n){for(var r=e.length-1;r>=0;r--)e[r]===t&&e.splice(r,1)},zt=function(e){e.splice(0,e.length)},Gt=function(e,t){for(var n=0;n<t.length;n++){var r=t[n];e.push(r)}},Vt=function(e,t,n){return n&&(t=W(n,t)),e[t]},Yt=function(e,t,n,r){n&&(t=W(n,t)),e[t]=r},Xt=function(){function e(){t(this,e),this._obj={}}return r(e,[{key:"set",value:function(e,t){return this._obj[e]=t,this}},{key:"delete",value:function(e){return this._obj[e]=void 0,this}},{key:"clear",value:function(){this._obj={}}},{key:"has",value:function(e){return void 0!==this._obj[e]}},{key:"get",value:function(e){return this._obj[e]}}]),e}(),Ut="undefined"!=typeof Map?Map:Xt,jt="undefined",Wt=function(){function e(n){if(t(this,e),this._obj=Object.create(null),this.size=0,null!=n){var r;r=null!=n.instanceString&&n.instanceString()===this.instanceString()?n.toArray():n;for(var i=0;i<r.length;i++)this.add(r[i])}}return r(e,[{key:"instanceString",value:function(){return"set"}},{key:"add",value:function(e){var t=this._obj;1!==t[e]&&(t[e]=1,this.size++)}},{key:"delete",value:function(e){var t=this._obj;1===t[e]&&(t[e]=0,this.size--)}},{key:"clear",value:function(){this._obj=Object.create(null)}},{key:"has",value:function(e){return 1===this._obj[e]}},{key:"toArray",value:function(){var e=this;return Object.keys(this._obj).filter((function(t){return e.has(t)}))}},{key:"forEach",value:function(e,t){return this.toArray().forEach(e,t)}}]),e}(),Ht=("undefined"==typeof Set?"undefined":e(Set))!==jt?Set:Wt,qt=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(void 0!==e&&void 0!==t&&R(e)){var r=t.group;if(null==r&&(r=t.data&&null!=t.data.source&&null!=t.data.target?"edges":"nodes"),"nodes"===r||"edges"===r){this.length=1,this[0]=this;var i=this._private={cy:e,single:!0, +// indicates this is an element +data:t.data||{}, +// data object +position:t.position||{x:0,y:0}, +// (x, y) position pair +autoWidth:void 0, +// width and height of nodes calculated by the renderer when set to special 'auto' value +autoHeight:void 0,autoPadding:void 0,compoundBoundsClean:!1, +// whether the compound dimensions need to be recalculated the next time dimensions are read +listeners:[], +// array of bound listeners +group:r, +// string; 'nodes' or 'edges' +style:{}, +// properties as set by the style +rstyle:{}, +// properties for style sent from the renderer to the core +styleCxts:[], +// applied style contexts from the styler +styleKeys:{}, +// per-group keys of style property values +removed:!0, +// whether it's inside the vis; true if removed (set true here since we call restore) +selected:!!t.selected, +// whether it's selected +selectable:void 0===t.selectable||!!t.selectable, +// whether it's selectable +locked:!!t.locked, +// whether the element is locked (cannot be moved) +grabbed:!1, +// whether the element is grabbed by the mouse; renderer sets this privately +grabbable:void 0===t.grabbable||!!t.grabbable, +// whether the element can be grabbed +pannable:void 0===t.pannable?"edges"===r:!!t.pannable, +// whether the element has passthrough panning enabled +active:!1, +// whether the element is active from user interaction +classes:new Ht, +// map ( className => true ) +animation:{ +// object for currently-running animations +current:[],queue:[]},rscratch:{}, +// object in which the renderer can store information +scratch:t.scratch||{}, +// scratch objects +edges:[], +// array of connected edges +children:[], +// array of children +parent:t.parent&&t.parent.isNode()?t.parent:null, +// parent ref +traversalCache:{}, +// cache of output of traversal functions +backgrounding:!1, +// whether background images are loading +bbCache:null, +// cache of the current bounding box +bbCacheShift:{x:0,y:0}, +// shift applied to cached bb to be applied on next get +bodyBounds:null, +// bounds cache of element body, w/o overlay +overlayBounds:null, +// bounds cache of element body, including overlay +labelBounds:{ +// bounds cache of labels +all:null,source:null,target:null,main:null},arrowBounds:{ +// bounds cache of edge arrows +source:null,target:null,"mid-source":null,"mid-target":null}};if(null==i.position.x&&(i.position.x=0),null==i.position.y&&(i.position.y=0),t.renderedPosition){var a=t.renderedPosition,o=e.pan(),s=e.zoom();i.position={x:(a.x-o.x)/s,y:(a.y-o.y)/s}}var l=[];C(t.classes)?l=t.classes:_(t.classes)&&(l=t.classes.split(/\s+/));for(var u=0,c=l.length;u<c;u++){var h=l[u];h&&""!==h&&i.classes.add(h)}this.createEmitter();var d=t.style||t.css;d&&(Lt("Setting a `style` bypass at element creation should be done only when absolutely necessary. Try to use the stylesheet instead."),this.style(d)),(void 0===n||n)&&this.restore()}else Nt("An element must be of type `nodes` or `edges`; you specified `"+r+"`")}else Nt("An element must have a core reference and parameters set")},$t=function(e){return e={bfs:e.bfs||!e.dfs,dfs:e.dfs||!e.bfs},function(t,n,r){var i;D(t)&&!I(t)&&(t=(i=t).roots||i.root,n=i.visit,r=i.directed),r=2!==arguments.length||A(n)?r:n,n=A(n)?n:function(){};for(var a,o=this._private.cy,s=t=_(t)?this.filter(t):t,l=[],u=[],c={},h={},d={},p=0,g=this.byGroup(),f=g.nodes,v=g.edges,y=0;y<s.length;y++){var m=s[y],b=m.id();m.isNode()&&(l.unshift(m),e.bfs&&(d[b]=!0,u.push(m)),h[b]=0)}for(var x=function(){var t=e.bfs?l.shift():l.pop(),i=t.id();if(e.dfs){if(d[i])return"continue";d[i]=!0,u.push(t)}var o=h[i],s=c[i],g=null!=s?s.source():null,y=null!=s?s.target():null,m=null==s?void 0:t.same(g)?y[0]:g[0],b=void 0;if(!0===(b=n(t,s,m,p++,o)))return a=t,"break";if(!1===b)return"break";for(var x=t.connectedEdges().filter((function(e){return(!r||e.source().same(t))&&v.has(e)})),w=0;w<x.length;w++){var E=x[w],T=E.connectedNodes().filter((function(e){return!e.same(t)&&f.has(e)})),_=T.id();0===T.length||d[_]||(T=T[0],l.push(T),e.bfs&&(d[_]=!0,u.push(T)),c[_]=E,h[_]=h[i]+1)}};0!==l.length;){var w=x();if("continue"!==w&&"break"===w)break}for(var E=o.collection(),T=0;T<u.length;T++){var C=u[T],N=c[C.id()];null!=N&&E.push(N),E.push(C)}return{path:o.collection(E),found:o.collection(a)}}},Kt={breadthFirstSearch:$t({bfs:!0}),depthFirstSearch:$t({dfs:!0})};Kt.bfs=Kt.breadthFirstSearch,Kt.dfs=Kt.depthFirstSearch;var Zt=fe((function(e,t){(function(){var t,n,r,i,a,o,s,l,u,c,h,d,p,g,f;r=Math.floor,c=Math.min,n=function(e,t){return e<t?-1:e>t?1:0},u=function(e,t,i,a,o){var s;if(null==i&&(i=0),null==o&&(o=n),i<0)throw new Error("lo must be non-negative");for(null==a&&(a=e.length);i<a;)o(t,e[s=r((i+a)/2)])<0?a=s:i=s+1;return[].splice.apply(e,[i,i-i].concat(t)),t},o=function(e,t,r){return null==r&&(r=n),e.push(t),g(e,0,e.length-1,r)},a=function(e,t){var r,i;return null==t&&(t=n),r=e.pop(),e.length?(i=e[0],e[0]=r,f(e,0,t)):i=r,i},l=function(e,t,r){var i;return null==r&&(r=n),i=e[0],e[0]=t,f(e,0,r),i},s=function(e,t,r){var i;return null==r&&(r=n),e.length&&r(e[0],t)<0&&(t=(i=[e[0],t])[0],e[0]=i[1],f(e,0,r)),t},i=function(e,t){var i,a,o,s,l,u;for(null==t&&(t=n),l=[],a=0,o=(s=function(){u=[];for(var t=0,n=r(e.length/2);0<=n?t<n:t>n;0<=n?t++:t--)u.push(t);return u}.apply(this).reverse()).length;a<o;a++)i=s[a],l.push(f(e,i,t));return l},p=function(e,t,r){var i;if(null==r&&(r=n),-1!==(i=e.indexOf(t)))return g(e,0,i,r),f(e,i,r)},h=function(e,t,r){var a,o,l,u,c;if(null==r&&(r=n),!(o=e.slice(0,t)).length)return o;for(i(o,r),l=0,u=(c=e.slice(t)).length;l<u;l++)a=c[l],s(o,a,r);return o.sort(r).reverse()},d=function(e,t,r){var o,s,l,h,d,p,g,f,v;if(null==r&&(r=n),10*t<=e.length){if(!(l=e.slice(0,t).sort(r)).length)return l;for(s=l[l.length-1],h=0,p=(g=e.slice(t)).length;h<p;h++)r(o=g[h],s)<0&&(u(l,o,0,null,r),l.pop(),s=l[l.length-1]);return l}for(i(e,r),v=[],d=0,f=c(t,e.length);0<=f?d<f:d>f;0<=f?++d:--d)v.push(a(e,r));return v},g=function(e,t,r,i){var a,o,s;for(null==i&&(i=n),a=e[r];r>t&&i(a,o=e[s=r-1>>1])<0;)e[r]=o,r=s;return e[r]=a},f=function(e,t,r){var i,a,o,s,l;for(null==r&&(r=n),a=e.length,l=t,o=e[t],i=2*t+1;i<a;)(s=i+1)<a&&!(r(e[i],e[s])<0)&&(i=s),e[t]=e[i],i=2*(t=i)+1;return e[t]=o,g(e,l,t,r)},t=function(){function e(e){this.cmp=null!=e?e:n,this.nodes=[]}return e.push=o,e.pop=a,e.replace=l,e.pushpop=s,e.heapify=i,e.updateItem=p,e.nlargest=h,e.nsmallest=d,e.prototype.push=function(e){return o(this.nodes,e,this.cmp)},e.prototype.pop=function(){return a(this.nodes,this.cmp)},e.prototype.peek=function(){return this.nodes[0]},e.prototype.contains=function(e){return-1!==this.nodes.indexOf(e)},e.prototype.replace=function(e){return l(this.nodes,e,this.cmp)},e.prototype.pushpop=function(e){return s(this.nodes,e,this.cmp)},e.prototype.heapify=function(){return i(this.nodes,this.cmp)},e.prototype.updateItem=function(e){return p(this.nodes,e,this.cmp)},e.prototype.clear=function(){return this.nodes=[]},e.prototype.empty=function(){return 0===this.nodes.length},e.prototype.size=function(){return this.nodes.length},e.prototype.clone=function(){var t;return(t=new e).nodes=this.nodes.slice(0),t},e.prototype.toArray=function(){return this.nodes.slice(0)},e.prototype.insert=e.prototype.push,e.prototype.top=e.prototype.peek,e.prototype.front=e.prototype.peek,e.prototype.has=e.prototype.contains,e.prototype.copy=e.prototype.clone,e}(),function(t,n){e.exports=n()}(0,(function(){return t}))}).call(ge)})),Qt=Zt,Jt=Bt({root:null,weight:function(e){return 1},directed:!1}),en={dijkstra:function(e){if(!D(e)){var t=arguments;e={root:t[0],weight:t[1],directed:t[2]}}var n=Jt(e),r=n.root,i=n.weight,a=n.directed,o=this,s=i,l=_(r)?this.filter(r)[0]:r[0],u={},c={},h={},d=this.byGroup(),p=d.nodes,g=d.edges;g.unmergeBy((function(e){return e.isLoop()}));for(var f=function(e){return u[e.id()]},v=function(e,t){u[e.id()]=t,y.updateItem(e)},y=new Qt((function(e,t){return f(e)-f(t)})),m=0;m<p.length;m++){var b=p[m];u[b.id()]=b.same(l)?0:1/0,y.push(b)}for(var x=function(e,t){for(var n,r=(a?e.edgesTo(t):e.edgesWith(t)).intersect(g),i=1/0,o=0;o<r.length;o++){var l=r[o],u=s(l);(u<i||!n)&&(i=u,n=l)}return{edge:n,dist:i}};y.size()>0;){var w=y.pop(),E=f(w),T=w.id();if(h[T]=E,E!==1/0)for(var A=w.neighborhood().intersect(p),C=0;C<A.length;C++){var N=A[C],S=N.id(),L=x(w,N),P=E+L.dist;P<f(N)&&(v(N,P),c[S]={node:w,edge:L.edge})}}return{distanceTo:function(e){var t=_(e)?p.filter(e)[0]:e[0];return h[t.id()]},pathTo:function(e){var t=_(e)?p.filter(e)[0]:e[0],n=[],r=t,i=r.id();if(t.length>0)for(n.unshift(t);c[i];){var a=c[i];n.unshift(a.edge),n.unshift(a.node),i=(r=a.node).id()}return o.spawn(n)}}}},tn={ +// kruskal's algorithm (finds min spanning tree, assuming undirected graph) +// implemented from pseudocode from wikipedia +kruskal:function(e){e=e||function(e){return 1};for(var t=this.byGroup(),n=t.nodes,r=t.edges,i=n.length,a=new Array(i),o=n,s=function(e){for(var t=0;t<a.length;t++)if(a[t].has(e))return t},l=0;l<i;l++)a[l]=this.spawn(n[l]);for(var u=r.sort((function(t,n){return e(t)-e(n)})),c=0;c<u.length;c++){var h=u[c],d=h.source()[0],p=h.target()[0],g=s(d),f=s(p),v=a[g],y=a[f];g!==f&&(o.merge(h),v.merge(y),a.splice(f,1))}return o}},nn=Bt({root:null,goal:null,weight:function(e){return 1},heuristic:function(e){return 0},directed:!1}),rn={ +// Implemented from pseudocode from wikipedia +aStar:function(e){var t=this.cy(),n=nn(e),r=n.root,i=n.goal,a=n.heuristic,o=n.directed,s=n.weight;r=t.collection(r)[0],i=t.collection(i)[0];var l,u,c=r.id(),h=i.id(),d={},p={},g={},f=new Qt((function(e,t){return p[e.id()]-p[t.id()]})),v=new Ht,y={},m={},b=function(e,t){f.push(e),v.add(t)},x=function(){l=f.pop(),u=l.id(),v.delete(u)},w=function(e){return v.has(e)};b(r,c),d[c]=0,p[c]=a(r);for(var E=0;f.size()>0;){if(x(),E++,u===h){for(var T=[],_=i,A=h,C=m[A];T.unshift(_),null!=C&&T.unshift(C),null!=(_=y[A]);)C=m[A=_.id()];return{found:!0,distance:d[u],path:this.spawn(T),steps:E}}g[u]=!0;for(var D=l._private.edges,N=0;N<D.length;N++){var S=D[N];if(this.hasElementWithId(S.id())&&(!o||S.data("source")===u)){var L=S.source(),P=S.target(),I=L.id()!==u?L:P,k=I.id();if(this.hasElementWithId(k)&&!g[k]){var M=d[u]+s(S);w(k)?M<d[k]&&(d[k]=M,p[k]=M+a(I),y[k]=l,m[k]=S):(d[k]=M,p[k]=M+a(I),b(I,k),y[k]=l,m[k]=S)}}}}return{found:!1,distance:void 0,path:void 0,steps:E}}},an=Bt({weight:function(e){return 1},directed:!1}),on={ +// Implemented from pseudocode from wikipedia +floydWarshall:function(e){for(var t=this.cy(),n=an(e),r=n.weight,i=n.directed,a=r,o=this.byGroup(),s=o.nodes,l=o.edges,u=s.length,c=u*u,h=function(e){return s.indexOf(e)},d=function(e){return s[e]},p=new Array(c),g=0;g<c;g++){var f=g%u,v=(g-f)/u;p[g]=v===f?0:1/0}for(var y=new Array(c),m=new Array(c),b=0;b<l.length;b++){var x=l[b],w=x.source()[0],E=x.target()[0];if(w!==E){var T=h(w),A=h(E),C=T*u+A,D=a(x);if(p[C]>D&&(p[C]=D,y[C]=A,m[C]=x),!i){var N=A*u+T;!i&&p[N]>D&&(p[N]=D,y[N]=T,m[N]=x)}}}for(var S=0;S<u;S++)for(var L=0;L<u;L++)for(var P=L*u+S,I=0;I<u;I++){var k=L*u+I,M=S*u+I;p[P]+p[M]<p[k]&&(p[k]=p[P]+p[M],y[k]=y[P])}var R=function(e){return(_(e)?t.filter(e):e)[0]},O=function(e){return h(R(e))};return{distance:function(e,t){var n=O(e),r=O(t);return p[n*u+r]},path:function(e,n){var r=O(e),i=O(n),a=d(r);if(r===i)return a.collection();if(null==y[r*u+i])return t.collection();var o,s=t.collection(),l=r;for(s.merge(a);r!==i;)l=r,r=y[r*u+i],o=m[l*u+r],s.merge(o),s.merge(d(r));return s}}} +// floydWarshall +},sn=Bt({weight:function(e){return 1},directed:!1,root:null}),ln={ +// Implemented from pseudocode from wikipedia +bellmanFord:function(e){var t=this,n=sn(e),r=n.weight,i=n.directed,a=n.root,o=r,s=this,l=this.cy(),u=this.byGroup(),c=u.edges,h=u.nodes,d=h.length,p=new Ut,g=!1,f=[];a=l.collection(a)[0],c.unmergeBy((function(e){return e.isLoop()}));for(var v=c.length,y=function(e){var t=p.get(e.id());return t||(t={},p.set(e.id(),t)),t},m=function(e){return(_(e)?l.$(e):e)[0]},b=function(e){return y(m(e)).dist},x=function(e){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a,r=[],i=m(e);;){if(null==i)return t.spawn();var o=y(i),l=o.edge,u=o.pred;if(r.unshift(i[0]),i.same(n)&&r.length>0)break;null!=l&&r.unshift(l),i=u}return s.spawn(r)},w=0;w<d;w++){var E=h[w],T=y(E);E.same(a)?T.dist=0:T.dist=1/0,T.pred=null,T.edge=null}for(var A=!1,C=function(e,t,n,r,i,a){var o=r.dist+a;o<i.dist&&!n.same(r.edge)&&(i.dist=o,i.pred=e,i.edge=n,A=!0)},D=1;D<d;D++){A=!1;for(var N=0;N<v;N++){var S=c[N],L=S.source(),P=S.target(),I=o(S),k=y(L),M=y(P);C(L,P,S,k,M,I),i||C(P,L,S,M,k,I)}if(!A)break}if(A)for(var R=[],O=0;O<v;O++){var B=c[O],F=B.source(),z=B.target(),G=o(B),V=y(F).dist,Y=y(z).dist;if(V+G<Y||!i&&Y+G<V){if(g||(Lt("Graph contains a negative weight cycle for Bellman-Ford"),g=!0),!1===e.findNegativeWeightCycles)break;var X=[];V+G<Y&&X.push(F),!i&&Y+G<V&&X.push(z);for(var U=X.length,j=0;j<U;j++){var W=X[j],H=[W];H.push(y(W).edge);for(var q=y(W).pred;-1===H.indexOf(q);)H.push(q),H.push(y(q).edge),q=y(q).pred;for(var $=(H=H.slice(H.indexOf(q)))[0].id(),K=0,Z=2;Z<H.length;Z+=2)H[Z].id()<$&&($=H[Z].id(),K=Z);(H=H.slice(K).concat(H.slice(0,K))).push(H[0]);var Q=H.map((function(e){return e.id()})).join(",");-1===R.indexOf(Q)&&(f.push(s.spawn(H)),R.push(Q))}}}return{distanceTo:b,pathTo:x,hasNegativeWeightCycle:g,negativeWeightCycles:f}} +// bellmanFord +},un=Math.sqrt(2),cn=function(e,t,n){0===n.length&&Nt("Karger-Stein must be run on a connected (sub)graph");for(var r=n[e],i=r[1],a=r[2],o=t[i],s=t[a],l=n,u=l.length-1;u>=0;u--){var c=l[u],h=c[1],d=c[2];(t[h]===o&&t[d]===s||t[h]===s&&t[d]===o)&&l.splice(u,1)}for(var p=0;p<l.length;p++){var g=l[p];g[1]===s?(l[p]=g.slice(),l[p][1]=o):g[2]===s&&(l[p]=g.slice(),l[p][2]=o)}for(var f=0;f<t.length;f++)t[f]===s&&(t[f]=o);return l},hn=function(e,t,n,r){for(;n>r;){var i=Math.floor(Math.random()*t.length);t=cn(i,e,t),n--}return t},dn={ +// Computes the minimum cut of an undirected graph +// Returns the correct answer with high probability +kargerStein:function(){var e=this,t=this.byGroup(),n=t.nodes,r=t.edges;r.unmergeBy((function(e){return e.isLoop()}));var i=n.length,a=r.length,o=Math.ceil(Math.pow(Math.log(i)/Math.LN2,2)),s=Math.floor(i/un);if(!(i<2)){for(var l=[],u=0;u<a;u++){var c=r[u];l.push([u,n.indexOf(c.source()),n.indexOf(c.target())])}for(var h=1/0,d=[],p=new Array(i),g=new Array(i),f=new Array(i),v=function(e,t){for(var n=0;n<i;n++)t[n]=e[n]},y=0;y<=o;y++){for(var m=0;m<i;m++)g[m]=m;var b=hn(g,l.slice(),i,s),x=b.slice();v(g,f);var w=hn(g,b,s,2),E=hn(f,x,s,2);w.length<=E.length&&w.length<h?(h=w.length,d=w,v(g,p)):E.length<=w.length&&E.length<h&&(h=E.length,d=E,v(f,p))}for(var T=this.spawn(d.map((function(e){return r[e[0]]}))),_=this.spawn(),A=this.spawn(),C=p[0],D=0;D<p.length;D++){var N=p[D],S=n[D];N===C?_.merge(S):A.merge(S)}var L=function(t){var n=e.spawn();return t.forEach((function(t){n.merge(t),t.connectedEdges().forEach((function(t){e.contains(t)&&!T.contains(t)&&n.merge(t)}))})),n},P=[L(_),L(A)];return{cut:T,components:P, +// n.b. partitions are included to be compatible with the old api spec +// (could be removed in a future major version) +partition1:_,partition2:A}}Nt("At least 2 nodes are required for Karger-Stein algorithm")}},pn=function(e){return{x:e.x,y:e.y}},gn=function(e,t,n){return{x:e.x*t+n.x,y:e.y*t+n.y}},fn=function(e,t,n){return{x:(e.x-n.x)/t,y:(e.y-n.y)/t}},vn=function(e){return{x:e[0],y:e[1]}},yn=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=1/0,i=t;i<n;i++){var a=e[i];isFinite(a)&&(r=Math.min(a,r))}return r},mn=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=-1/0,i=t;i<n;i++){var a=e[i];isFinite(a)&&(r=Math.max(a,r))}return r},bn=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=0,i=0,a=t;a<n;a++){var o=e[a];isFinite(o)&&(r+=o,i++)}return r/i},xn=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],i=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];arguments.length>3&&void 0!==arguments[3]&&!arguments[3]?(n<e.length&&e.splice(n,e.length-n),t>0&&e.splice(0,t)):e=e.slice(t,n);for(var a=0,o=e.length-1;o>=0;o--){var s=e[o];i?isFinite(s)||(e[o]=-1/0,a++):e.splice(o,1)}r&&e.sort((function(e,t){return e-t}));var l=e.length,u=Math.floor(l/2);return l%2!=0?e[u+1+a]:(e[u-1+a]+e[u+a])/2},wn=function(e){return Math.PI*e/180},En=function(e,t){return Math.atan2(t,e)-Math.PI/2},Tn=Math.log2||function(e){return Math.log(e)/Math.log(2)},_n=function(e){return e>0?1:e<0?-1:0},An=function(e,t){return Math.sqrt(Cn(e,t))},Cn=function(e,t){var n=t.x-e.x,r=t.y-e.y;return n*n+r*r},Dn=function(e){for(var t=e.length,n=0,r=0;r<t;r++)n+=e[r];for(var i=0;i<t;i++)e[i]=e[i]/n;return e},Nn=function(e,t,n,r){return(1-r)*(1-r)*e+2*(1-r)*r*t+r*r*n},Sn=function(e,t,n,r){return{x:Nn(e.x,t.x,n.x,r),y:Nn(e.y,t.y,n.y,r)}},Ln=function(e,t,n,r){var i={x:t.x-e.x,y:t.y-e.y},a=An(e,t),o={x:i.x/a,y:i.y/a};return n=null==n?0:n,r=null!=r?r:n*a,{x:e.x+o.x*r,y:e.y+o.y*r}},Pn=function(e,t,n){return Math.max(e,Math.min(n,t))},In=function(e){if(null==e)return{x1:1/0,y1:1/0,x2:-1/0,y2:-1/0,w:0,h:0};if(null!=e.x1&&null!=e.y1){if(null!=e.x2&&null!=e.y2&&e.x2>=e.x1&&e.y2>=e.y1)return{x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2,w:e.x2-e.x1,h:e.y2-e.y1};if(null!=e.w&&null!=e.h&&e.w>=0&&e.h>=0)return{x1:e.x1,y1:e.y1,x2:e.x1+e.w,y2:e.y1+e.h,w:e.w,h:e.h}}},kn=function(e){return{x1:e.x1,x2:e.x2,w:e.w,y1:e.y1,y2:e.y2,h:e.h}},Mn=function(e){e.x1=1/0,e.y1=1/0,e.x2=-1/0,e.y2=-1/0,e.w=0,e.h=0},Rn=function(e,t,n){return{x1:e.x1+t,x2:e.x2+t,y1:e.y1+n,y2:e.y2+n,w:e.w,h:e.h}},On=function(e,t){e.x1=Math.min(e.x1,t.x1),e.x2=Math.max(e.x2,t.x2),e.w=e.x2-e.x1,e.y1=Math.min(e.y1,t.y1),e.y2=Math.max(e.y2,t.y2),e.h=e.y2-e.y1},Bn=function(e,t,n){e.x1=Math.min(e.x1,t),e.x2=Math.max(e.x2,t),e.w=e.x2-e.x1,e.y1=Math.min(e.y1,n),e.y2=Math.max(e.y2,n),e.h=e.y2-e.y1},Fn=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e.x1-=t,e.x2+=t,e.y1-=t,e.y2+=t,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},zn=function(e){var t,n,r,i,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[0];if(1===o.length)t=n=r=i=o[0];else if(2===o.length)t=r=o[0],i=n=o[1];else if(4===o.length){var s=a(o,4);t=s[0],n=s[1],r=s[2],i=s[3]}return e.x1-=i,e.x2+=n,e.y1-=t,e.y2+=r,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},Gn=function(e,t){e.x1=t.x1,e.y1=t.y1,e.x2=t.x2,e.y2=t.y2,e.w=e.x2-e.x1,e.h=e.y2-e.y1},Vn=function(e,t){return!(e.x1>t.x2||t.x1>e.x2||e.x2<t.x1||t.x2<e.x1||e.y2<t.y1||t.y2<e.y1||e.y1>t.y2||t.y1>e.y2)},Yn=function(e,t,n){return e.x1<=t&&t<=e.x2&&e.y1<=n&&n<=e.y2},Xn=function(e,t){return Yn(e,t.x,t.y)},Un=function(e,t){return Yn(e,t.x1,t.y1)&&Yn(e,t.x2,t.y2)},jn=function(e,t,n,r,i,a,o){var s,l,u=arguments.length>7&&void 0!==arguments[7]?arguments[7]:"auto",c="auto"===u?gr(i,a):u,h=i/2,d=a/2,p=(c=Math.min(c,h,d))!==h,g=c!==d;if(p){var f=r-d-o;if((s=sr(e,t,n,r,n-h+c-o,f,n+h-c+o,f,!1)).length>0)return s}if(g){var v=n+h+o;if((s=sr(e,t,n,r,v,r-d+c-o,v,r+d-c+o,!1)).length>0)return s}if(p){var y=r+d+o;if((s=sr(e,t,n,r,n-h+c-o,y,n+h-c+o,y,!1)).length>0)return s}if(g){var m=n-h-o;if((s=sr(e,t,n,r,m,r-d+c-o,m,r+d-c+o,!1)).length>0)return s}var b=n-h+c,x=r-d+c;if((l=ar(e,t,n,r,b,x,c+o)).length>0&&l[0]<=b&&l[1]<=x)return[l[0],l[1]];var w=n+h-c,E=r-d+c;if((l=ar(e,t,n,r,w,E,c+o)).length>0&&l[0]>=w&&l[1]<=E)return[l[0],l[1]];var T=n+h-c,_=r+d-c;if((l=ar(e,t,n,r,T,_,c+o)).length>0&&l[0]>=T&&l[1]>=_)return[l[0],l[1]];var A=n-h+c,C=r+d-c;return(l=ar(e,t,n,r,A,C,c+o)).length>0&&l[0]<=A&&l[1]>=C?[l[0],l[1]]:[]},Wn=function(e,t,n,r,i,a,o){var s=o,l=Math.min(n,i),u=Math.max(n,i),c=Math.min(r,a),h=Math.max(r,a);return l-s<=e&&e<=u+s&&c-s<=t&&t<=h+s},Hn=function(e,t,n,r,i,a,o,s,l){var u={x1:Math.min(n,o,i)-l,x2:Math.max(n,o,i)+l,y1:Math.min(r,s,a)-l,y2:Math.max(r,s,a)+l};return!(e<u.x1||e>u.x2||t<u.y1||t>u.y2)},qn=function(e,t,n,r){var i=t*t-4*e*(n-=r);if(i<0)return[];var a=Math.sqrt(i),o=2*e;return[(-t+a)/o,(-t-a)/o]},$n=function(e,t,n,r,i){var a,o,s,l,u,c,h,d;return 0===e&&(e=1e-5),s=-27*(r/=e)+(t/=e)*(9*(n/=e)-t*t*2),a=(o=(3*n-t*t)/9)*o*o+(s/=54)*s,i[1]=0,h=t/3,a>0?(u=(u=s+Math.sqrt(a))<0?-Math.pow(-u,1/3):Math.pow(u,1/3),c=(c=s-Math.sqrt(a))<0?-Math.pow(-c,1/3):Math.pow(c,1/3),i[0]=-h+u+c,h+=(u+c)/2,i[4]=i[2]=-h,h=Math.sqrt(3)*(-c+u)/2,i[3]=h,void(i[5]=-h)):(i[5]=i[3]=0,0===a?(d=s<0?-Math.pow(-s,1/3):Math.pow(s,1/3),i[0]=2*d-h,void(i[4]=i[2]=-(d+h))):(l=(o=-o)*o*o,l=Math.acos(s/Math.sqrt(l)),d=2*Math.sqrt(o),i[0]=-h+d*Math.cos(l/3),i[2]=-h+d*Math.cos((l+2*Math.PI)/3),void(i[4]=-h+d*Math.cos((l+4*Math.PI)/3))))},Kn=function(e,t,n,r,i,a,o,s){var l=[];$n(1*n*n-4*n*i+2*n*o+4*i*i-4*i*o+o*o+r*r-4*r*a+2*r*s+4*a*a-4*a*s+s*s,9*n*i-3*n*n-3*n*o-6*i*i+3*i*o+9*r*a-3*r*r-3*r*s-6*a*a+3*a*s,3*n*n-6*n*i+n*o-n*e+2*i*i+2*i*e-o*e+3*r*r-6*r*a+r*s-r*t+2*a*a+2*a*t-s*t,1*n*i-n*n+n*e-i*e+r*a-r*r+r*t-a*t,l);for(var u=1e-7,c=[],h=0;h<6;h+=2)Math.abs(l[h+1])<u&&l[h]>=0&&l[h]<=1&&c.push(l[h]);c.push(1),c.push(0);for(var d,p,g,f=-1,v=0;v<c.length;v++)d=Math.pow(1-c[v],2)*n+2*(1-c[v])*c[v]*i+c[v]*c[v]*o,p=Math.pow(1-c[v],2)*r+2*(1-c[v])*c[v]*a+c[v]*c[v]*s,g=Math.pow(d-e,2)+Math.pow(p-t,2),f>=0?g<f&&(f=g):f=g;return f},Zn=function(e,t,n,r,i,a){var o=[e-n,t-r],s=[i-n,a-r],l=s[0]*s[0]+s[1]*s[1],u=o[0]*o[0]+o[1]*o[1],c=o[0]*s[0]+o[1]*s[1],h=c*c/l;return c<0?u:h>l?(e-i)*(e-i)+(t-a)*(t-a):u-h},Qn=function(e,t,n){for(var r,i,a,o,s=0,l=0;l<n.length/2;l++)if(r=n[2*l],i=n[2*l+1],l+1<n.length/2?(a=n[2*(l+1)],o=n[2*(l+1)+1]):(a=n[2*(l+1-n.length/2)],o=n[2*(l+1-n.length/2)+1]),r==e&&a==e);else{if(!(r>=e&&e>=a||r<=e&&e<=a))continue;(e-r)/(a-r)*(o-i)+i>t&&s++}return s%2!=0},Jn=function(e,t,n,r,i,a,o,s,l){var u,c=new Array(n.length);null!=s[0]?(u=Math.atan(s[1]/s[0]),s[0]<0?u+=Math.PI/2:u=-u-Math.PI/2):u=s;for(var h,d=Math.cos(-u),p=Math.sin(-u),g=0;g<c.length/2;g++)c[2*g]=a/2*(n[2*g]*d-n[2*g+1]*p),c[2*g+1]=o/2*(n[2*g+1]*d+n[2*g]*p),c[2*g]+=r,c[2*g+1]+=i;if(l>0){var f=nr(c,-l);h=tr(f)}else h=c;return Qn(e,t,h)},er=function(e,t,n,r,i,a,o,s){for(var l=new Array(2*n.length),u=0;u<s.length;u++){var c=s[u];if(l[4*u+0]=c.startX,l[4*u+1]=c.startY,l[4*u+2]=c.stopX,l[4*u+3]=c.stopY,Math.pow(c.cx-e,2)+Math.pow(c.cy-t,2)<=Math.pow(c.radius,2))return!0}return Qn(e,t,l)},tr=function(e){for(var t,n,r,i,a,o,s,l,u=new Array(e.length/2),c=0;c<e.length/4;c++){t=e[4*c],n=e[4*c+1],r=e[4*c+2],i=e[4*c+3],c<e.length/4-1?(a=e[4*(c+1)],o=e[4*(c+1)+1],s=e[4*(c+1)+2],l=e[4*(c+1)+3]):(a=e[0],o=e[1],s=e[2],l=e[3]);var h=sr(t,n,r,i,a,o,s,l,!0);u[2*c]=h[0],u[2*c+1]=h[1]}return u},nr=function(e,t){for(var n,r,i,a,o=new Array(2*e.length),s=0;s<e.length/2;s++){n=e[2*s],r=e[2*s+1],s<e.length/2-1?(i=e[2*(s+1)],a=e[2*(s+1)+1]):(i=e[0],a=e[1]);var l=a-r,u=-(i-n),c=Math.sqrt(l*l+u*u),h=l/c,d=u/c;o[4*s]=n+h*t,o[4*s+1]=r+d*t,o[4*s+2]=i+h*t,o[4*s+3]=a+d*t}return o},rr=function(e,t,n,r,i,a){var o=n-e,s=r-t;o/=i,s/=a;var l=Math.sqrt(o*o+s*s),u=l-1;if(u<0)return[];var c=u/l;return[(n-e)*c+e,(r-t)*c+t]},ir=function(e,t,n,r,i,a,o){return e-=i,t-=a,(e/=n/2+o)*e+(t/=r/2+o)*t<=1},ar=function(e,t,n,r,i,a,o){var s=[n-e,r-t],l=[e-i,t-a],u=s[0]*s[0]+s[1]*s[1],c=2*(l[0]*s[0]+l[1]*s[1]),h=c*c-4*u*(l[0]*l[0]+l[1]*l[1]-o*o);if(h<0)return[];var d=(-c+Math.sqrt(h))/(2*u),p=(-c-Math.sqrt(h))/(2*u),g=Math.min(d,p),f=Math.max(d,p),v=[];if(g>=0&&g<=1&&v.push(g),f>=0&&f<=1&&v.push(f),0===v.length)return[];var y=v[0]*s[0]+e,m=v[0]*s[1]+t;return v.length>1?v[0]==v[1]?[y,m]:[y,m,v[1]*s[0]+e,v[1]*s[1]+t]:[y,m]},or=function(e,t,n){return t<=e&&e<=n||n<=e&&e<=t?e:e<=t&&t<=n||n<=t&&t<=e?t:n},sr=function(e,t,n,r,i,a,o,s,l){var u=e-i,c=n-e,h=o-i,d=t-a,p=r-t,g=s-a,f=h*d-g*u,v=c*d-p*u,y=g*c-h*p;if(0!==y){var m=f/y,b=v/y,x=.001,w=0-x,E=1+x;return w<=m&&m<=E&&w<=b&&b<=E||l?[e+m*c,t+m*p]:[]}return 0===f||0===v?or(e,n,o)===o?[o,s]:or(e,n,i)===i?[i,a]:or(i,o,n)===n?[n,r]:[]:[]},lr=function(e,t,n,r,i,a,o,s){var l,u,c,h,d,p,g=[],f=new Array(n.length),v=!0;if(null==a&&(v=!1),v){for(var y=0;y<f.length/2;y++)f[2*y]=n[2*y]*a+r,f[2*y+1]=n[2*y+1]*o+i;if(s>0){var m=nr(f,-s);u=tr(m)}else u=f}else u=n;for(var b=0;b<u.length/2;b++)c=u[2*b],h=u[2*b+1],b<u.length/2-1?(d=u[2*(b+1)],p=u[2*(b+1)+1]):(d=u[0],p=u[1]),0!==(l=sr(e,t,r,i,c,h,d,p)).length&&g.push(l[0],l[1]);return g},ur=function(e,t,n,r,i,a,o,s,l){var u,c=[],h=new Array(2*n.length);l.forEach((function(n,a){0===a?(h[h.length-2]=n.startX,h[h.length-1]=n.startY):(h[4*a-2]=n.startX,h[4*a-1]=n.startY),h[4*a]=n.stopX,h[4*a+1]=n.stopY,0!==(u=ar(e,t,r,i,n.cx,n.cy,n.radius)).length&&c.push(u[0],u[1])}));for(var d=0;d<h.length/4;d++)0!==(u=sr(e,t,r,i,h[4*d],h[4*d+1],h[4*d+2],h[4*d+3],!1)).length&&c.push(u[0],u[1]);if(c.length>2){for(var p=[c[0],c[1]],g=Math.pow(p[0]-e,2)+Math.pow(p[1]-t,2),f=1;f<c.length/2;f++){var v=Math.pow(c[2*f]-e,2)+Math.pow(c[2*f+1]-t,2);v<=g&&(p[0]=c[2*f],p[1]=c[2*f+1],g=v)}return p}return c},cr=function(e,t,n){var r=[e[0]-t[0],e[1]-t[1]],i=Math.sqrt(r[0]*r[0]+r[1]*r[1]),a=(i-n)/i;return a<0&&(a=1e-5),[t[0]+a*r[0],t[1]+a*r[1]]},hr=function(e,t){var n=pr(e,t);return n=dr(n)},dr=function(e){for(var t,n,r=e.length/2,i=1/0,a=1/0,o=-1/0,s=-1/0,l=0;l<r;l++)t=e[2*l],n=e[2*l+1],i=Math.min(i,t),o=Math.max(o,t),a=Math.min(a,n),s=Math.max(s,n);for(var u=2/(o-i),c=2/(s-a),h=0;h<r;h++)t=e[2*h]=e[2*h]*u,n=e[2*h+1]=e[2*h+1]*c,i=Math.min(i,t),o=Math.max(o,t),a=Math.min(a,n),s=Math.max(s,n);if(a<-1)for(var d=0;d<r;d++)n=e[2*d+1]=e[2*d+1]+(-1-a);return e},pr=function(e,t){var n=1/e*2*Math.PI,r=e%2==0?Math.PI/2+n/2:Math.PI/2;r+=t;for(var i,a=new Array(2*e),o=0;o<e;o++)i=o*n+r,a[2*o]=Math.cos(i),a[2*o+1]=Math.sin(-i);return a},gr=function(e,t){return Math.min(e/4,t/4,8)},fr=function(e,t){return Math.min(e/10,t/10,8)},vr=function(){return 8},yr=function(e,t,n){return[e-2*t+n,2*(t-e),e]},mr=function(e,t){return{heightOffset:Math.min(15,.05*t),widthOffset:Math.min(100,.25*e),ctrlPtOffsetPct:.05}},br=Bt({dampingFactor:.8,precision:1e-6,iterations:200,weight:function(e){return 1}}),xr={pageRank:function(e){for(var t=br(e),n=t.dampingFactor,r=t.precision,i=t.iterations,a=t.weight,o=this._private.cy,s=this.byGroup(),l=s.nodes,u=s.edges,c=l.length,h=c*c,d=u.length,p=new Array(h),g=new Array(c),f=(1-n)/c,v=0;v<c;v++){for(var y=0;y<c;y++)p[v*c+y]=0;g[v]=0}for(var m=0;m<d;m++){var b=u[m],x=b.data("source"),w=b.data("target");if(x!==w){var E=l.indexOfId(x),T=l.indexOfId(w),_=a(b);p[T*c+E]+=_,g[E]+=_}}for(var A=1/c+f,C=0;C<c;C++)if(0===g[C])for(var D=0;D<c;D++)p[D*c+C]=A;else for(var N=0;N<c;N++){var S=N*c+C;p[S]=p[S]/g[C]+f}for(var L,P=new Array(c),I=new Array(c),k=0;k<c;k++)P[k]=1;for(var M=0;M<i;M++){for(var R=0;R<c;R++)I[R]=0;for(var O=0;O<c;O++)for(var B=0;B<c;B++){var F=O*c+B;I[O]+=p[F]*P[B]}Dn(I),L=P,P=I,I=L;for(var z=0,G=0;G<c;G++){var V=L[G]-P[G];z+=V*V}if(z<r)break}return{rank:function(e){return e=o.collection(e)[0],P[l.indexOf(e)]}}} +// pageRank +},wr=Bt({root:null,weight:function(e){return 1},directed:!1,alpha:0}),Er={degreeCentralityNormalized:function(e){e=wr(e);var t=this.cy(),n=this.nodes(),r=n.length;if(e.directed){for(var i={},a={},o=0,s=0,l=0;l<r;l++){var u=n[l],c=u.id();e.root=u;var h=this.degreeCentrality(e);o<h.indegree&&(o=h.indegree),s<h.outdegree&&(s=h.outdegree),i[c]=h.indegree,a[c]=h.outdegree}return{indegree:function(e){return 0==o?0:(_(e)&&(e=t.filter(e)),i[e.id()]/o)},outdegree:function(e){return 0===s?0:(_(e)&&(e=t.filter(e)),a[e.id()]/s)}}}for(var d={},p=0,g=0;g<r;g++){var f=n[g];e.root=f;var v=this.degreeCentrality(e);p<v.degree&&(p=v.degree),d[f.id()]=v.degree}return{degree:function(e){return 0===p?0:(_(e)&&(e=t.filter(e)),d[e.id()]/p)}}}, +// degreeCentralityNormalized +// Implemented from the algorithm in Opsahl's paper +// "Node centrality in weighted networks: Generalizing degree and shortest paths" +// check the heading 2 "Degree" +degreeCentrality:function(e){e=wr(e);var t=this.cy(),n=this,r=e,i=r.root,a=r.weight,o=r.directed,s=r.alpha;if(i=t.collection(i)[0],o){for(var l=i.connectedEdges(),u=l.filter((function(e){return e.target().same(i)&&n.has(e)})),c=l.filter((function(e){return e.source().same(i)&&n.has(e)})),h=u.length,d=c.length,p=0,g=0,f=0;f<u.length;f++)p+=a(u[f]);for(var v=0;v<c.length;v++)g+=a(c[v]);return{indegree:Math.pow(h,1-s)*Math.pow(p,s),outdegree:Math.pow(d,1-s)*Math.pow(g,s)}}for(var y=i.connectedEdges().intersection(n),m=y.length,b=0,x=0;x<y.length;x++)b+=a(y[x]);return{degree:Math.pow(m,1-s)*Math.pow(b,s)}} +// degreeCentrality +};Er.dc=Er.degreeCentrality,Er.dcn=Er.degreeCentralityNormalised=Er.degreeCentralityNormalized;var Tr=Bt({harmonic:!0,weight:function(){return 1},directed:!1,root:null}),_r={closenessCentralityNormalized:function(e){for(var t=Tr(e),n=t.harmonic,r=t.weight,i=t.directed,a=this.cy(),o={},s=0,l=this.nodes(),u=this.floydWarshall({weight:r,directed:i}),c=0;c<l.length;c++){for(var h=0,d=l[c],p=0;p<l.length;p++)if(c!==p){var g=u.distance(d,l[p]);h+=n?1/g:g}n||(h=1/h),s<h&&(s=h),o[d.id()]=h}return{closeness:function(e){return 0==s?0:(e=_(e)?a.filter(e)[0].id():e.id(),o[e]/s)}}}, +// Implemented from pseudocode from wikipedia +closenessCentrality:function(e){var t=Tr(e),n=t.root,r=t.weight,i=t.directed,a=t.harmonic;n=this.filter(n)[0];for(var o=this.dijkstra({root:n,weight:r,directed:i}),s=0,l=this.nodes(),u=0;u<l.length;u++){var c=l[u];if(!c.same(n)){var h=o.distanceTo(c);s+=a?1/h:h}}return a?s:1/s} +// closenessCentrality +};_r.cc=_r.closenessCentrality,_r.ccn=_r.closenessCentralityNormalised=_r.closenessCentralityNormalized;var Ar=Bt({weight:null,directed:!1}),Cr={ +// Implemented from the algorithm in the paper "On Variants of Shortest-Path Betweenness Centrality and their Generic Computation" by Ulrik Brandes +betweennessCentrality:function(e){for(var t=Ar(e),n=t.directed,r=t.weight,i=null!=r,a=this.cy(),o=this.nodes(),s={},l={},u=0,c={set:function(e,t){l[e]=t,t>u&&(u=t)},get:function(e){return l[e]}},h=0;h<o.length;h++){var d=o[h],p=d.id();s[p]=n?d.outgoers().nodes():d.openNeighborhood().nodes(),c.set(p,0)}for(var g=function(e){for(var t=o[e].id(),n=[],l={},u={},h={},d=new Qt((function(e,t){return h[e]-h[t]})),p=0;p<o.length;p++){var g=o[p].id();l[g]=[],u[g]=0,h[g]=1/0}for(u[t]=1,h[t]=0,d.push(t);!d.empty();){var f=d.pop();if(n.push(f),i)for(var v=0;v<s[f].length;v++){var y=s[f][v],m=a.getElementById(f),b=void 0;b=m.edgesTo(y).length>0?m.edgesTo(y)[0]:y.edgesTo(m)[0];var x=r(b);y=y.id(),h[y]>h[f]+x&&(h[y]=h[f]+x,d.nodes.indexOf(y)<0?d.push(y):d.updateItem(y),u[y]=0,l[y]=[]),h[y]==h[f]+x&&(u[y]=u[y]+u[f],l[y].push(f))}else for(var w=0;w<s[f].length;w++){var E=s[f][w].id();h[E]==1/0&&(d.push(E),h[E]=h[f]+1),h[E]==h[f]+1&&(u[E]=u[E]+u[f],l[E].push(f))}}for(var T={},_=0;_<o.length;_++)T[o[_].id()]=0;for(;n.length>0;){for(var A=n.pop(),C=0;C<l[A].length;C++){var D=l[A][C];T[D]=T[D]+u[D]/u[A]*(1+T[A])}A!=o[e].id()&&c.set(A,c.get(A)+T[A])}},f=0;f<o.length;f++)g(f);var v={betweenness:function(e){var t=a.collection(e).id();return c.get(t)},betweennessNormalized:function(e){if(0==u)return 0;var t=a.collection(e).id();return c.get(t)/u}};return v.betweennessNormalised=v.betweennessNormalized,v} +// betweennessCentrality +};Cr.bc=Cr.betweennessCentrality;var Dr=Bt({expandFactor:2, +// affects time of computation and cluster granularity to some extent: M * M +inflateFactor:2, +// affects cluster granularity (the greater the value, the more clusters): M(i,j) / E(j) +multFactor:1, +// optional self loops for each node. Use a neutral value to improve cluster computations. +maxIterations:20, +// maximum number of iterations of the MCL algorithm in a single run +attributes:[ +// attributes/features used to group nodes, ie. similarity values between nodes +function(e){return 1}]}),Nr=function(e){return Dr(e)},Sr=function(e,t){for(var n=0,r=0;r<t.length;r++)n+=t[r](e);return n},Lr=function(e,t,n){for(var r=0;r<t;r++)e[r*t+r]=n},Pr=function(e,t){for(var n,r=0;r<t;r++){n=0;for(var i=0;i<t;i++)n+=e[i*t+r];for(var a=0;a<t;a++)e[a*t+r]=e[a*t+r]/n}},Ir=function(e,t,n){for(var r=new Array(n*n),i=0;i<n;i++){for(var a=0;a<n;a++)r[i*n+a]=0;for(var o=0;o<n;o++)for(var s=0;s<n;s++)r[i*n+s]+=e[i*n+o]*t[o*n+s]}return r},kr=function(e,t,n){for(var r=e.slice(0),i=1;i<n;i++)e=Ir(e,r,t);return e},Mr=function(e,t,n){for(var r=new Array(t*t),i=0;i<t*t;i++)r[i]=Math.pow(e[i],n);return Pr(r,t),r},Rr=function(e,t,n,r){for(var i=0;i<n;i++)if(Math.round(e[i]*Math.pow(10,r))/Math.pow(10,r)!=Math.round(t[i]*Math.pow(10,r))/Math.pow(10,r))return!1;return!0},Or=function(e,t,n,r){for(var i=[],a=0;a<t;a++){for(var o=[],s=0;s<t;s++)Math.round(1e3*e[a*t+s])/1e3>0&&o.push(n[s]);0!==o.length&&i.push(r.collection(o))}return i},Br=function(e,t){for(var n=0;n<e.length;n++)if(!t[n]||e[n].id()!==t[n].id())return!1;return!0},Fr=function(e){for(var t=0;t<e.length;t++)for(var n=0;n<e.length;n++)t!=n&&Br(e[t],e[n])&&e.splice(n,1);return e},zr=function(e){for(var t=this.nodes(),n=this.edges(),r=this.cy(),i=Nr(e),a={},o=0;o<t.length;o++)a[t[o].id()]=o;for(var s,l=t.length,u=l*l,c=new Array(u),h=0;h<u;h++)c[h]=0;for(var d=0;d<n.length;d++){var p=n[d],g=a[p.source().id()],f=a[p.target().id()],v=Sr(p,i.attributes);c[g*l+f]+=v,c[f*l+g]+=v}Lr(c,l,i.multFactor),Pr(c,l);for(var y=!0,m=0;y&&m<i.maxIterations;)y=!1,s=kr(c,l,i.expandFactor),c=Mr(s,l,i.inflateFactor),Rr(c,s,u,4)||(y=!0),m++;var b=Or(c,l,t,r);return b=Fr(b)},Gr={markovClustering:zr,mcl:zr},Vr=function(e){return e},Yr=function(e,t){return Math.abs(t-e)},Xr=function(e,t,n){return e+Yr(t,n)},Ur=function(e,t,n){return e+Math.pow(n-t,2)},jr=function(e){return Math.sqrt(e)},Wr=function(e,t,n){return Math.max(e,Yr(t,n))},Hr=function(e,t,n,r,i){for(var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:Vr,o=r,s=0;s<e;s++)o=i(o,t(s),n(s));return a(o)},qr={euclidean:function(e,t,n){return e>=2?Hr(e,t,n,0,Ur,jr):Hr(e,t,n,0,Xr)},squaredEuclidean:function(e,t,n){return Hr(e,t,n,0,Ur)},manhattan:function(e,t,n){return Hr(e,t,n,0,Xr)},max:function(e,t,n){return Hr(e,t,n,-1/0,Wr)}};function $r(e,t,n,r,i,a){var o;return o=A(e)?e:qr[e]||qr.euclidean,0===t&&A(e)?o(i,a):o(t,n,r,i,a)}qr["squared-euclidean"]=qr.squaredEuclidean,qr.squaredeuclidean=qr.squaredEuclidean;var Kr=Bt({k:2,m:2,sensitivityThreshold:1e-4,distance:"euclidean",maxIterations:10,attributes:[],testMode:!1,testCentroids:null}),Zr=function(e){return Kr(e)},Qr=function(e,t,n,r,i){var a="kMedoids"!==i?function(e){return n[e]}:function(e){return r[e](n)},o=function(e){return r[e](t)},s=n,l=t;return $r(e,r.length,a,o,s,l)},Jr=function(e,t,n){for(var r=n.length,i=new Array(r),a=new Array(r),o=new Array(t),s=null,l=0;l<r;l++)i[l]=e.min(n[l]).value,a[l]=e.max(n[l]).value;for(var u=0;u<t;u++){s=[];for(var c=0;c<r;c++)s[c]=Math.random()*(a[c]-i[c])+i[c];o[u]=s}return o},ei=function(e,t,n,r,i){for(var a=1/0,o=0,s=0;s<t.length;s++){var l=Qr(n,e,t[s],r,i);l<a&&(a=l,o=s)}return o},ti=function(e,t,n){for(var r=[],i=null,a=0;a<t.length;a++)n[(i=t[a]).id()]===e&&r.push(i);return r},ni=function(e,t,n){return Math.abs(t-e)<=n},ri=function(e,t,n){for(var r=0;r<e.length;r++)for(var i=0;i<e[r].length;i++)if(Math.abs(e[r][i]-t[r][i])>n)return!1;return!0},ii=function(e,t,n){for(var r=0;r<n;r++)if(e===t[r])return!0;return!1},ai=function(e,t){var n=new Array(t);if(e.length<50)for(var r=0;r<t;r++){for(var i=e[Math.floor(Math.random()*e.length)];ii(i,n,r);)i=e[Math.floor(Math.random()*e.length)];n[r]=i}else for(var a=0;a<t;a++)n[a]=e[Math.floor(Math.random()*e.length)];return n},oi=function(e,t,n){for(var r=0,i=0;i<t.length;i++)r+=Qr("manhattan",t[i],e,n,"kMedoids");return r},si=function(e,t,n,r,i){for(var a,o,s=0;s<t.length;s++)for(var l=0;l<e.length;l++)r[s][l]=Math.pow(n[s][l],i.m);for(var u=0;u<e.length;u++)for(var c=0;c<i.attributes.length;c++){a=0,o=0;for(var h=0;h<t.length;h++)a+=r[h][u]*i.attributes[c](t[h]),o+=r[h][u];e[u][c]=a/o}},li=function(e,t,n,r,i){for(var a=0;a<e.length;a++)t[a]=e[a].slice();for(var o,s,l,u=2/(i.m-1),c=0;c<n.length;c++)for(var h=0;h<r.length;h++){o=0;for(var d=0;d<n.length;d++)s=Qr(i.distance,r[h],n[c],i.attributes,"cmeans"),l=Qr(i.distance,r[h],n[d],i.attributes,"cmeans"),o+=Math.pow(s/l,u);e[h][c]=1/o}},ui=function(e,t,n,r){for(var i,a,o=new Array(n.k),s=0;s<o.length;s++)o[s]=[];for(var l=0;l<t.length;l++){i=-1/0,a=-1;for(var u=0;u<t[0].length;u++)t[l][u]>i&&(i=t[l][u],a=u);o[a].push(e[l])}for(var c=0;c<o.length;c++)o[c]=r.collection(o[c]);return o},ci=function(e){var t,n,r,i,a=this.cy(),o=this.nodes(),s=Zr(e);r=new Array(o.length);for(var l=0;l<o.length;l++)r[l]=new Array(s.k);n=new Array(o.length);for(var u=0;u<o.length;u++)n[u]=new Array(s.k);for(var c=0;c<o.length;c++){for(var h=0,d=0;d<s.k;d++)n[c][d]=Math.random(),h+=n[c][d];for(var p=0;p<s.k;p++)n[c][p]=n[c][p]/h}t=new Array(s.k);for(var g=0;g<s.k;g++)t[g]=new Array(s.attributes.length);i=new Array(o.length);for(var f=0;f<o.length;f++)i[f]=new Array(s.k);for(var v=!0,y=0;v&&y<s.maxIterations;)v=!1,si(t,o,n,i,s),li(n,r,t,o,s),ri(n,r,s.sensitivityThreshold)||(v=!0),y++;return{clusters:ui(o,n,s,a),degreeOfMembership:n}},hi={kMeans:function(t){var n,r=this.cy(),i=this.nodes(),a=null,o=Zr(t),s=new Array(o.k),l={};o.testMode?"number"==typeof o.testCentroids?(o.testCentroids,n=Jr(i,o.k,o.attributes)):n="object"===e(o.testCentroids)?o.testCentroids:Jr(i,o.k,o.attributes):n=Jr(i,o.k,o.attributes);for(var u=!0,c=0;u&&c<o.maxIterations;){for(var h=0;h<i.length;h++)l[(a=i[h]).id()]=ei(a,n,o.distance,o.attributes,"kMeans");u=!1;for(var d=0;d<o.k;d++){var p=ti(d,i,l);if(0!==p.length){for(var g=o.attributes.length,f=n[d],v=new Array(g),y=new Array(g),m=0;m<g;m++){y[m]=0;for(var b=0;b<p.length;b++)a=p[b],y[m]+=o.attributes[m](a);v[m]=y[m]/p.length,ni(v[m],f[m],o.sensitivityThreshold)||(u=!0)}n[d]=v,s[d]=r.collection(p)}}c++}return s},kMedoids:function(t){var n,r,i=this.cy(),a=this.nodes(),o=null,s=Zr(t),l=new Array(s.k),u={},c=new Array(s.k);s.testMode?"number"==typeof s.testCentroids||(n="object"===e(s.testCentroids)?s.testCentroids:ai(a,s.k)):n=ai(a,s.k);for(var h=!0,d=0;h&&d<s.maxIterations;){for(var p=0;p<a.length;p++)u[(o=a[p]).id()]=ei(o,n,s.distance,s.attributes,"kMedoids");h=!1;for(var g=0;g<n.length;g++){var f=ti(g,a,u);if(0!==f.length){c[g]=oi(n[g],f,s.attributes);for(var v=0;v<f.length;v++)(r=oi(f[v],f,s.attributes))<c[g]&&(c[g]=r,n[g]=f[v],h=!0);l[g]=i.collection(f)}}d++}return l},fuzzyCMeans:ci,fcm:ci},di=Bt({distance:"euclidean", +// distance metric to compare nodes +linkage:"min", +// linkage criterion : how to determine the distance between clusters of nodes +mode:"threshold", +// mode:'threshold' => clusters must be threshold distance apart +threshold:1/0, +// the distance threshold +// mode:'dendrogram' => the nodes are organised as leaves in a tree (siblings are close), merging makes clusters +addDendrogram:!1, +// whether to add the dendrogram to the graph for viz +dendrogramDepth:0, +// depth at which dendrogram branches are merged into the returned clusters +attributes:[]}),pi={single:"min",complete:"max"},gi=function(e){var t=di(e),n=pi[t.linkage];return null!=n&&(t.linkage=n),t},fi=function(e,t,n,r,i){for(var a,o=0,s=1/0,l=i.attributes,u=function(e,t){return $r(i.distance,l.length,(function(t){return l[t](e)}),(function(e){return l[e](t)}),e,t)},c=0;c<e.length;c++){var h=e[c].key,d=n[h][r[h]];d<s&&(o=h,s=d)}if("threshold"===i.mode&&s>=i.threshold||"dendrogram"===i.mode&&1===e.length)return!1;var p,g=t[o],f=t[r[o]];p="dendrogram"===i.mode?{left:g,right:f,key:g.key}:{value:g.value.concat(f.value),key:g.key},e[g.index]=p,e.splice(f.index,1),t[g.key]=p;for(var v=0;v<e.length;v++){var y=e[v];g.key===y.key?a=1/0:"min"===i.linkage?(a=n[g.key][y.key],n[g.key][y.key]>n[f.key][y.key]&&(a=n[f.key][y.key])):"max"===i.linkage?(a=n[g.key][y.key],n[g.key][y.key]<n[f.key][y.key]&&(a=n[f.key][y.key])):a="mean"===i.linkage?(n[g.key][y.key]*g.size+n[f.key][y.key]*f.size)/(g.size+f.size):"dendrogram"===i.mode?u(y.value,g.value):u(y.value[0],g.value[0]),n[g.key][y.key]=n[y.key][g.key]=a}for(var m=0;m<e.length;m++){var b=e[m].key;if(r[b]===g.key||r[b]===f.key){for(var x=b,w=0;w<e.length;w++){var E=e[w].key;n[b][E]<n[b][x]&&(x=E)}r[b]=x}e[m].index=m}return g.key=f.key=g.index=f.index=null,!0},vi=function e(t,n,r){t&&(t.value?n.push(t.value):(t.left&&e(t.left,n),t.right&&e(t.right,n)))},yi=function e(t,n){if(!t)return"";if(t.left&&t.right){var r=e(t.left,n),i=e(t.right,n),a=n.add({group:"nodes",data:{id:r+","+i}});return n.add({group:"edges",data:{source:r,target:a.id()}}),n.add({group:"edges",data:{source:i,target:a.id()}}),a.id()}return t.value?t.value.id():void 0},mi=function e(t,n,r){if(!t)return[];var i=[],a=[],o=[];return 0===n?(t.left&&vi(t.left,i),t.right&&vi(t.right,a),o=i.concat(a),[r.collection(o)]):1===n?t.value?[r.collection(t.value)]:(t.left&&vi(t.left,i),t.right&&vi(t.right,a),[r.collection(i),r.collection(a)]):t.value?[r.collection(t.value)]:(t.left&&(i=e(t.left,n-1,r)),t.right&&(a=e(t.right,n-1,r)),i.concat(a))},bi=function(e){for(var t=this.cy(),n=this.nodes(),r=gi(e),i=r.attributes,a=function(e,t){return $r(r.distance,i.length,(function(t){return i[t](e)}),(function(e){return i[e](t)}),e,t)},o=[],s=[],l=[],u=[],c=0;c<n.length;c++){var h={value:"dendrogram"===r.mode?n[c]:[n[c]],key:c,index:c};o[c]=h,u[c]=h,s[c]=[],l[c]=0}for(var d=0;d<o.length;d++)for(var p=0;p<=d;p++){var g=void 0;g="dendrogram"===r.mode?d===p?1/0:a(o[d].value,o[p].value):d===p?1/0:a(o[d].value[0],o[p].value[0]),s[d][p]=g,s[p][d]=g,g<s[d][l[d]]&&(l[d]=p)}for(var f,v=fi(o,u,s,l,r);v;)v=fi(o,u,s,l,r);return"dendrogram"===r.mode?(f=mi(o[0],r.dendrogramDepth,t),r.addDendrogram&&yi(o[0],t)):(f=new Array(o.length),o.forEach((function(e,n){e.key=e.index=null,f[n]=t.collection(e.value)}))),f},xi={hierarchicalClustering:bi,hca:bi},wi=Bt({distance:"euclidean", +// distance metric to compare attributes between two nodes +preference:"median", +// suitability of a data point to serve as an exemplar +damping:.8, +// damping factor between [0.5, 1) +maxIterations:1e3, +// max number of iterations to run +minIterations:100, +// min number of iterations to run in order for clustering to stop +attributes:[]}),Ei=function(e){var t=e.damping,n=e.preference;.5<=t&&t<1||Nt("Damping must range on [0.5, 1). Got: ".concat(t));var r=["median","mean","min","max"];return r.some((function(e){return e===n}))||S(n)||Nt("Preference must be one of [".concat(r.map((function(e){return"'".concat(e,"'")})).join(", "),"] or a number. Got: ").concat(n)),wi(e)},Ti=function(e,t,n,r){var i=function(e,t){return r[t](e)};return-$r(e,r.length,(function(e){return i(t,e)}),(function(e){return i(n,e)}),t,n)},_i=function(e,t){return"median"===t?xn(e):"mean"===t?bn(e):"min"===t?yn(e):"max"===t?mn(e):t},Ai=function(e,t,n){for(var r=[],i=0;i<e;i++)t[i*e+i]+n[i*e+i]>0&&r.push(i);return r},Ci=function(e,t,n){for(var r=[],i=0;i<e;i++){for(var a=-1,o=-1/0,s=0;s<n.length;s++){var l=n[s];t[i*e+l]>o&&(a=l,o=t[i*e+l])}a>0&&r.push(a)}for(var u=0;u<n.length;u++)r[n[u]]=n[u];return r},Di=function(e,t,n){for(var r=Ci(e,t,n),i=0;i<n.length;i++){for(var a=[],o=0;o<r.length;o++)r[o]===n[i]&&a.push(o);for(var s=-1,l=-1/0,u=0;u<a.length;u++){for(var c=0,h=0;h<a.length;h++)c+=t[a[h]*e+a[u]];c>l&&(s=u,l=c)}n[i]=a[s]}return r=Ci(e,t,n)},Ni=function(e){for(var t,n,r,i,a,o,s=this.cy(),l=this.nodes(),u=Ei(e),c={},h=0;h<l.length;h++)c[l[h].id()]=h;n=(t=l.length)*t,r=new Array(n);for(var d=0;d<n;d++)r[d]=-1/0;for(var p=0;p<t;p++)for(var g=0;g<t;g++)p!==g&&(r[p*t+g]=Ti(u.distance,l[p],l[g],u.attributes));i=_i(r,u.preference);for(var f=0;f<t;f++)r[f*t+f]=i;a=new Array(n);for(var v=0;v<n;v++)a[v]=0;o=new Array(n);for(var y=0;y<n;y++)o[y]=0;for(var m=new Array(t),b=new Array(t),x=new Array(t),w=0;w<t;w++)m[w]=0,b[w]=0,x[w]=0;for(var E,T=new Array(t*u.minIterations),_=0;_<T.length;_++)T[_]=0;for(E=0;E<u.maxIterations;E++){for(var A=0;A<t;A++){for(var C=-1/0,D=-1/0,N=-1,S=0,L=0;L<t;L++)m[L]=a[A*t+L],(S=o[A*t+L]+r[A*t+L])>=C?(D=C,C=S,N=L):S>D&&(D=S);for(var P=0;P<t;P++)a[A*t+P]=(1-u.damping)*(r[A*t+P]-C)+u.damping*m[P];a[A*t+N]=(1-u.damping)*(r[A*t+N]-D)+u.damping*m[N]}for(var I=0;I<t;I++){for(var k=0,M=0;M<t;M++)m[M]=o[M*t+I],b[M]=Math.max(0,a[M*t+I]),k+=b[M];k-=b[I],b[I]=a[I*t+I],k+=b[I];for(var R=0;R<t;R++)o[R*t+I]=(1-u.damping)*Math.min(0,k-b[R])+u.damping*m[R];o[I*t+I]=(1-u.damping)*(k-b[I])+u.damping*m[I]}for(var O=0,B=0;B<t;B++){var F=o[B*t+B]+a[B*t+B]>0?1:0;T[E%u.minIterations*t+B]=F,O+=F}if(O>0&&(E>=u.minIterations-1||E==u.maxIterations-1)){for(var z=0,G=0;G<t;G++){x[G]=0;for(var V=0;V<u.minIterations;V++)x[G]+=T[V*t+G];0!==x[G]&&x[G]!==u.minIterations||z++}if(z===t)break}}for(var Y=Ai(t,a,o),X=Di(t,r,Y),U={},j=0;j<Y.length;j++)U[Y[j]]=[];for(var W=0;W<l.length;W++){var H=X[c[l[W].id()]];null!=H&&U[H].push(l[W])}for(var q=new Array(Y.length),$=0;$<Y.length;$++)q[$]=s.collection(U[Y[$]]);return q},Si={affinityPropagation:Ni,ap:Ni},Li=Bt({root:void 0,directed:!1}),Pi={hierholzer:function(e){if(!D(e)){var t=arguments;e={root:t[0],directed:t[1]}}var n,r,i,a=Li(e),o=a.root,s=a.directed,l=this,u=!1;o&&(i=_(o)?this.filter(o)[0].id():o[0].id());var c={},h={};s?l.forEach((function(e){var t=e.id();if(e.isNode()){var i=e.indegree(!0),a=e.outdegree(!0),o=i-a,s=a-i;1==o?n?u=!0:n=t:1==s?r?u=!0:r=t:(s>1||o>1)&&(u=!0),c[t]=[],e.outgoers().forEach((function(e){e.isEdge()&&c[t].push(e.id())}))}else h[t]=[void 0,e.target().id()]})):l.forEach((function(e){var t=e.id();e.isNode()?(e.degree(!0)%2&&(n?r?u=!0:r=t:n=t),c[t]=[],e.connectedEdges().forEach((function(e){return c[t].push(e.id())}))):h[t]=[e.source().id(),e.target().id()]}));var d={found:!1,trail:void 0};if(u)return d;if(r&&n)if(s){if(i&&r!=i)return d;i=r}else{if(i&&r!=i&&n!=i)return d;i||(i=r)}else i||(i=l[0].id());var p=function(e){for(var t,n,r,i=e,a=[e];c[i].length;)t=c[i].shift(),n=h[t][0],i!=(r=h[t][1])?(c[r]=c[r].filter((function(e){return e!=t})),i=r):s||i==n||(c[n]=c[n].filter((function(e){return e!=t})),i=n),a.unshift(t),a.unshift(i);return a},g=[],f=[];for(f=p(i);1!=f.length;)0==c[f[0]].length?(g.unshift(l.getElementById(f.shift())),g.unshift(l.getElementById(f.shift()))):f=p(f.shift()).concat(f);for(var v in g.unshift(l.getElementById(f.shift())),c)if(c[v].length)return d;return d.found=!0,d.trail=this.spawn(g,!0),d}},Ii=function(){var e=this,t={},n=0,r=0,i=[],a=[],o={},s=function(n,r){for(var o=a.length-1,s=[],l=e.spawn();a[o].x!=n||a[o].y!=r;)s.push(a.pop().edge),o--;s.push(a.pop().edge),s.forEach((function(n){var r=n.connectedNodes().intersection(e);l.merge(n),r.forEach((function(n){var r=n.id(),i=n.connectedEdges().intersection(e);l.merge(n),t[r].cutVertex?l.merge(i.filter((function(e){return e.isLoop()}))):l.merge(i)}))})),i.push(l)},l=function l(u,c,h){u===h&&(r+=1),t[c]={id:n,low:n++,cutVertex:!1};var d,p,g,f,v=e.getElementById(c).connectedEdges().intersection(e);0===v.size()?i.push(e.spawn(e.getElementById(c))):v.forEach((function(e){d=e.source().id(),p=e.target().id(),(g=d===c?p:d)!==h&&(f=e.id(),o[f]||(o[f]=!0,a.push({x:c,y:g,edge:e})),g in t?t[c].low=Math.min(t[c].low,t[g].id):(l(u,g,c),t[c].low=Math.min(t[c].low,t[g].low),t[c].id<=t[g].low&&(t[c].cutVertex=!0,s(c,g))))}))};e.forEach((function(e){if(e.isNode()){var n=e.id();n in t||(r=0,l(n,n),t[n].cutVertex=r>1)}}));var u=Object.keys(t).filter((function(e){return t[e].cutVertex})).map((function(t){return e.getElementById(t)}));return{cut:e.spawn(u),components:i}},ki=function(){var e=this,t={},n=0,r=[],i=[],a=e.spawn(e),o=function o(s){if(i.push(s),t[s]={index:n,low:n++,explored:!1},e.getElementById(s).connectedEdges().intersection(e).forEach((function(e){var n=e.target().id();n!==s&&(n in t||o(n),t[n].explored||(t[s].low=Math.min(t[s].low,t[n].low)))})),t[s].index===t[s].low){for(var l=e.spawn();;){var u=i.pop();if(l.merge(e.getElementById(u)),t[u].low=t[s].index,t[u].explored=!0,u===s)break}var c=l.edgesWith(l),h=l.merge(c);r.push(h),a=a.difference(h)}};return e.forEach((function(e){if(e.isNode()){var n=e.id();n in t||o(n)}})),{cut:a,components:r}},Mi={};[Kt,en,tn,rn,on,ln,dn,xr,Er,_r,Cr,Gr,hi,xi,Si,Pi,{hopcroftTarjanBiconnected:Ii,htbc:Ii,htb:Ii,hopcroftTarjanBiconnectedComponents:Ii},{tarjanStronglyConnected:ki,tsc:ki,tscc:ki,tarjanStronglyConnectedComponents:ki}].forEach((function(e){re(Mi,e)})); +/*! + Embeddable Minimum Strictly-Compliant Promises/A+ 1.1.1 Thenable + Copyright (c) 2013-2014 Ralf S. Engelschall (http://engelschall.com) + Licensed under The MIT License (http://opensource.org/licenses/MIT) + */ +var Ri=0,Oi=1,Bi=2,Fi=function e(t){if(!(this instanceof e))return new e(t);this.id="Thenable/1.0.7",this.state=Ri,this.fulfillValue=void 0,this.rejectReason=void 0,this.onFulfilled=[],this.onRejected=[],this.proxy={then:this.then.bind(this)},"function"==typeof t&&t.call(this,this.fulfill.bind(this),this.reject.bind(this))};Fi.prototype={ +/* promise resolving methods */ +fulfill:function(e){return zi(this,Oi,"fulfillValue",e)},reject:function(e){return zi(this,Bi,"rejectReason",e)}, +/* "The then Method" [Promises/A+ 1.1, 1.2, 2.2] */ +then:function(e,t){var n=this,r=new Fi;return n.onFulfilled.push(Yi(e,r,"fulfill")),n.onRejected.push(Yi(t,r,"reject")),Gi(n),r.proxy}};var zi=function(e,t,n,r){return e.state===Ri&&(e.state=t,e[n]=r,Gi(e)),e},Gi=function(e){e.state===Oi?Vi(e,"onFulfilled",e.fulfillValue):e.state===Bi&&Vi(e,"onRejected",e.rejectReason)},Vi=function(e,t,n){if(0!==e[t].length){var r=e[t];e[t]=[];var i=function(){for(var e=0;e<r.length;e++)r[e](n)};"function"==typeof setImmediate?setImmediate(i):setTimeout(i,0)}},Yi=function(e,t,n){return function(r){if("function"!=typeof e)t[n].call(t,r);else{var i;try{i=e(r)}catch(a){return void t.reject(a)}Xi(t,i)}}},Xi=function t(n,r){if(n!==r&&n.proxy!==r){var i;if("object"===e(r)&&null!==r||"function"==typeof r)try{i=r.then}catch(o){return void n.reject(o)}if("function"!=typeof i)n.fulfill(r);else{var a=!1;try{i.call(r,( +/* resolvePromise */ +/* [Promises/A+ 2.3.3.3.1] */ +function(e){a||(a=!0,e===r?n.reject(new TypeError("circular thenable chain")):t(n,e))}),( +/* rejectPromise */ +/* [Promises/A+ 2.3.3.3.2] */ +function(e){a||(a=!0,n.reject(e))}))}catch(o){a||n.reject(o)}}}else n.reject(new TypeError("cannot resolve promise with itself"))};Fi.all=function(e){return new Fi((function(t,n){for(var r=new Array(e.length),i=0,a=function(n,a){r[n]=a,++i===e.length&&t(r)},o=0;o<e.length;o++)!function(t){var r=e[t];null!=r&&null!=r.then?r.then((function(e){a(t,e)}),(function(e){n(e)})):a(t,r)}(o)}))},Fi.resolve=function(e){return new Fi((function(t,n){t(e)}))},Fi.reject=function(e){return new Fi((function(t,n){n(e)}))};var Ui="undefined"!=typeof Promise?Promise:Fi,ji=function(e,t,n){var r=R(e),i=!r,a=this._private=re({duration:1e3},t,n);if(a.target=e,a.style=a.style||a.css,a.started=!1,a.playing=!1,a.hooked=!1,a.applying=!1,a.progress=0,a.completes=[],a.frames=[],a.complete&&A(a.complete)&&a.completes.push(a.complete),i){var o=e.position();a.startPosition=a.startPosition||{x:o.x,y:o.y},a.startStyle=a.startStyle||e.cy().style().getAnimationStartStyle(e,a.style)}if(r){var s=e.pan();a.startPan={x:s.x,y:s.y},a.startZoom=e.zoom()}this.length=1,this[0]=this},Wi=ji.prototype;re(Wi,{instanceString:function(){return"animation"},hook:function(){var e=this._private;if(!e.hooked){var t=e.target._private.animation;(e.queue?t.queue:t.current).push(this),I(e.target)&&e.target.cy().addToAnimationPool(e.target),e.hooked=!0}return this},play:function(){var e=this._private;return 1===e.progress&&(e.progress=0),e.playing=!0,e.started=!1,e.stopped=!1,this.hook(),this},playing:function(){return this._private.playing},apply:function(){var e=this._private;return e.applying=!0,e.started=!1,e.stopped=!1,this.hook(),this},applying:function(){return this._private.applying},pause:function(){var e=this._private;return e.playing=!1,e.started=!1,this},stop:function(){var e=this._private;return e.playing=!1,e.started=!1,e.stopped=!0,this},rewind:function(){return this.progress(0)},fastforward:function(){return this.progress(1)},time:function(e){var t=this._private;return void 0===e?t.progress*t.duration:this.progress(e/t.duration)},progress:function(e){var t=this._private,n=t.playing;return void 0===e?t.progress:(n&&this.pause(),t.progress=e,t.started=!1,n&&this.play(),this)},completed:function(){return 1===this._private.progress},reverse:function(){var e=this._private,t=e.playing;t&&this.pause(),e.progress=1-e.progress,e.started=!1;var n=function(t,n){var r=e[t];null!=r&&(e[t]=e[n],e[n]=r)};if(n("zoom","startZoom"),n("pan","startPan"),n("position","startPosition"),e.style)for(var r=0;r<e.style.length;r++){var i=e.style[r],a=i.name,o=e.startStyle[a];e.startStyle[a]=i,e.style[r]=o}return t&&this.play(),this},promise:function(e){var t,n=this._private;return t="frame"===e?n.frames:n.completes,new Ui((function(e,n){t.push((function(){e()}))}))}}),Wi.complete=Wi.completed,Wi.run=Wi.play,Wi.running=Wi.playing;var Hi={animated:function(){return function(){var e=this,t=void 0!==e.length?e:[e];if(!(this._private.cy||this).styleEnabled())return!1;var n=t[0];return n?n._private.animation.current.length>0:void 0}}, +// animated +clearQueue:function(){return function(){var e=this,t=void 0!==e.length?e:[e];if(!(this._private.cy||this).styleEnabled())return this;for(var n=0;n<t.length;n++)t[n]._private.animation.queue=[];return this}}, +// clearQueue +delay:function(){return function(e,t){return(this._private.cy||this).styleEnabled()?this.animate({delay:e,duration:e,complete:t}):this}}, +// delay +delayAnimation:function(){return function(e,t){return(this._private.cy||this).styleEnabled()?this.animation({delay:e,duration:e,complete:t}):this}}, +// delay +animation:function(){return function(e,t){var n=this,r=void 0!==n.length,i=r?n:[n],a=this._private.cy||this,o=!r,s=!o;if(!a.styleEnabled())return this;var l=a.style();if(e=re({},e,t),0===Object.keys(e).length)return new ji(i[0],e);switch(void 0===e.duration&&(e.duration=400),e.duration){case"slow":e.duration=600;break;case"fast":e.duration=200}if(s&&(e.style=l.getPropsList(e.style||e.css),e.css=void 0),s&&null!=e.renderedPosition){var u=e.renderedPosition,c=a.pan(),h=a.zoom();e.position=fn(u,h,c)}if(o&&null!=e.panBy){var d=e.panBy,p=a.pan();e.pan={x:p.x+d.x,y:p.y+d.y}}var g=e.center||e.centre;if(o&&null!=g){var f=a.getCenterPan(g.eles,e.zoom);null!=f&&(e.pan=f)}if(o&&null!=e.fit){var v=e.fit,y=a.getFitViewport(v.eles||v.boundingBox,v.padding);null!=y&&(e.pan=y.pan,e.zoom=y.zoom)}if(o&&D(e.zoom)){var m=a.getZoomedViewport(e.zoom);null!=m?(m.zoomed&&(e.zoom=m.zoom),m.panned&&(e.pan=m.pan)):e.zoom=null}return new ji(i[0],e)}}, +// animate +animate:function(){return function(e,t){var n=this,r=void 0!==n.length?n:[n];if(!(this._private.cy||this).styleEnabled())return this;t&&(e=re({},e,t));for(var i=0;i<r.length;i++){var a=r[i],o=a.animated()&&(void 0===e.queue||e.queue);a.animation(e,o?{queue:!0}:void 0).play()}return this}}, +// animate +stop:function(){return function(e,t){var n=this,r=void 0!==n.length?n:[n],i=this._private.cy||this;if(!i.styleEnabled())return this;for(var a=0;a<r.length;a++){for(var o=r[a]._private,s=o.animation.current,l=0;l<s.length;l++){var u=s[l]._private;t&&(u.duration=0)}e&&(o.animation.queue=[]),t||(o.animation.current=[])}return i.notify("draw"),this}} +// stop +},qi=Array.isArray,$i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ki=/^\w*$/;function Zi(e,t){if(qi(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!je(e))||Ki.test(e)||!$i.test(e)||null!=t&&e in Object(t)}var Qi=Zi,Ji="[object AsyncFunction]",ea="[object Function]",ta="[object GeneratorFunction]",na="[object Proxy]";function ra(e){if(!pe(e))return!1;var t=Ge(e);return t==ea||t==ta||t==Ji||t==na}var ia,aa=ra,oa=me["__core-js_shared__"],sa=(ia=/[^.]+$/.exec(oa&&oa.keys&&oa.keys.IE_PROTO||""))?"Symbol(src)_1."+ia:"";function la(e){return!!sa&&sa in e}var ua=la,ca=Function.prototype.toString;function ha(e){if(null!=e){try{return ca.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var da=ha,pa=/[\\^$.*+?()[\]{}|]/g,ga=/^\[object .+?Constructor\]$/,fa=Function.prototype,va=Object.prototype,ya=fa.toString,ma=va.hasOwnProperty,ba=RegExp("^"+ya.call(ma).replace(pa,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function xa(e){return!(!pe(e)||ua(e))&&(aa(e)?ba:ga).test(da(e))}var wa=xa;function Ea(e,t){return null==e?void 0:e[t]}var Ta=Ea;function _a(e,t){var n=Ta(e,t);return wa(n)?n:void 0}var Aa=_a,Ca=Aa(Object,"create");function Da(){this.__data__=Ca?Ca(null):{},this.size=0}var Na=Da;function Sa(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var La=Sa,Pa="__lodash_hash_undefined__",Ia=Object.prototype.hasOwnProperty;function ka(e){var t=this.__data__;if(Ca){var n=t[e];return n===Pa?void 0:n}return Ia.call(t,e)?t[e]:void 0}var Ma=ka,Ra=Object.prototype.hasOwnProperty;function Oa(e){var t=this.__data__;return Ca?void 0!==t[e]:Ra.call(t,e)}var Ba=Oa,Fa="__lodash_hash_undefined__";function za(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Ca&&void 0===t?Fa:t,this}var Ga=za;function Va(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Va.prototype.clear=Na,Va.prototype.delete=La,Va.prototype.get=Ma,Va.prototype.has=Ba,Va.prototype.set=Ga;var Ya=Va;function Xa(){this.__data__=[],this.size=0}var Ua=Xa;function ja(e,t){return e===t||e!=e&&t!=t}var Wa=ja;function Ha(e,t){for(var n=e.length;n--;)if(Wa(e[n][0],t))return n;return-1}var qa=Ha,$a=Array.prototype.splice;function Ka(e){var t=this.__data__,n=qa(t,e);return!(n<0||(n==t.length-1?t.pop():$a.call(t,n,1),--this.size,0))}var Za=Ka;function Qa(e){var t=this.__data__,n=qa(t,e);return n<0?void 0:t[n][1]}var Ja=Qa;function eo(e){return qa(this.__data__,e)>-1}var to=eo;function no(e,t){var n=this.__data__,r=qa(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var ro=no;function io(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}io.prototype.clear=Ua,io.prototype.delete=Za,io.prototype.get=Ja,io.prototype.has=to,io.prototype.set=ro;var ao=io,oo=Aa(me,"Map");function so(){this.size=0,this.__data__={hash:new Ya,map:new(oo||ao),string:new Ya}}var lo=so;function uo(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}var co=uo;function ho(e,t){var n=e.__data__;return co(t)?n["string"==typeof t?"string":"hash"]:n.map}var po=ho;function go(e){var t=po(this,e).delete(e);return this.size-=t?1:0,t}var fo=go;function vo(e){return po(this,e).get(e)}var yo=vo;function mo(e){return po(this,e).has(e)}var bo=mo;function xo(e,t){var n=po(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var wo=xo;function Eo(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Eo.prototype.clear=lo,Eo.prototype.delete=fo,Eo.prototype.get=yo,Eo.prototype.has=bo,Eo.prototype.set=wo;var To=Eo,_o="Expected a function";function Ao(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(_o);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=e.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new(Ao.Cache||To),n}Ao.Cache=To;var Co=Ao,Do=500;function No(e){var t=Co(e,(function(e){return n.size===Do&&n.clear(),e})),n=t.cache;return t}var So=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Lo=/\\(\\)?/g,Po=No((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(So,(function(e,n,r,i){t.push(r?i.replace(Lo,"$1"):n||e)})),t}));function Io(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}var ko=Io,Mo=Ce?Ce.prototype:void 0,Ro=Mo?Mo.toString:void 0;function Oo(e){if("string"==typeof e)return e;if(qi(e))return ko(e,Oo)+"";if(je(e))return Ro?Ro.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}var Bo=Oo;function Fo(e){return null==e?"":Bo(e)}var zo=Fo;function Go(e,t){return qi(e)?e:Qi(e,t)?[e]:Po(zo(e))}var Vo=Go;function Yo(e){if("string"==typeof e||je(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}var Xo=Yo;function Uo(e,t){for(var n=0,r=(t=Vo(t,e)).length;null!=e&&n<r;)e=e[Xo(t[n++])];return n&&n==r?e:void 0}var jo=Uo;function Wo(e,t,n){var r=null==e?void 0:jo(e,t);return void 0===r?n:r}var Ho=Wo,qo=function(){try{var e=Aa(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();function $o(e,t,n){"__proto__"==t&&qo?qo(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var Ko=$o,Zo=Object.prototype.hasOwnProperty;function Qo(e,t,n){var r=e[t];Zo.call(e,t)&&Wa(r,n)&&(void 0!==n||t in e)||Ko(e,t,n)}var Jo=Qo,es=9007199254740991,ts=/^(?:0|[1-9]\d*)$/;function ns(e,t){var n=typeof e;return!!(t=null==t?es:t)&&("number"==n||"symbol"!=n&&ts.test(e))&&e>-1&&e%1==0&&e<t}var rs=ns;function is(e,t,n,r){if(!pe(e))return e;for(var i=-1,a=(t=Vo(t,e)).length,o=a-1,s=e;null!=s&&++i<a;){var l=Xo(t[i]),u=n;if("__proto__"===l||"constructor"===l||"prototype"===l)return e;if(i!=o){var c=s[l];void 0===(u=r?r(c,l,s):void 0)&&(u=pe(c)?c:rs(t[i+1])?[]:{})}Jo(s,l,u),s=s[l]}return e}var as=is;function os(e,t,n){return null==e?e:as(e,t,n)}var ss=os;function ls(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var us=ls;function cs(e){return qi(e)?ko(e,Xo):je(e)?[e]:us(Po(zo(e)))}var hs=cs,ds={eventAliasesOn:function(e){var t=e;t.addListener=t.listen=t.bind=t.on,t.unlisten=t.unbind=t.off=t.removeListener,t.trigger=t.emit,t.pon=t.promiseOn=function(e,t){var n=this,r=Array.prototype.slice.call(arguments,0);return new Ui((function(e,t){var i=function(t){n.off.apply(n,o),e(t)},a=r.concat([i]),o=a.concat([]);n.on.apply(n,a)}))}}},ps={};[Hi,{ +// access data field +data:function(e){return e=re({},{field:"data",bindingEvent:"data",allowBinding:!1,allowSetting:!1,allowGetting:!1,settingEvent:"data",settingTriggersEvent:!1,triggerFnName:"trigger",immutableKeys:{}, +// key => true if immutable +updateStyle:!1,beforeGet:function(e){},beforeSet:function(e,t){},onSet:function(e){},canSet:function(e){return!0}},e),function(t,n){var r=e,a=this,o=void 0!==a.length,s=o?a:[a],l=o?a[0]:a;if(_(t)){var u,c=-1!==t.indexOf(".")&&hs(t);if(r.allowGetting&&void 0===n)return l&&(r.beforeGet(l),u=c&&void 0===l._private[r.field][t]?Ho(l._private[r.field],c):l._private[r.field][t]),u;if(r.allowSetting&&void 0!==n&&!r.immutableKeys[t]){var h=i({},t,n);r.beforeSet(a,h);for(var d=0,p=s.length;d<p;d++){var g=s[d];r.canSet(g)&&(c&&void 0===l._private[r.field][t]?ss(g._private[r.field],c,n):g._private[r.field][t]=n)}r.updateStyle&&a.updateStyle(),r.onSet(a),r.settingTriggersEvent&&a[r.triggerFnName](r.settingEvent)}}else if(r.allowSetting&&D(t)){var f,v,y=t,m=Object.keys(y);r.beforeSet(a,y);for(var b=0;b<m.length;b++)if(v=y[f=m[b]],!r.immutableKeys[f])for(var x=0;x<s.length;x++){var w=s[x];r.canSet(w)&&(w._private[r.field][f]=v)}r.updateStyle&&a.updateStyle(),r.onSet(a),r.settingTriggersEvent&&a[r.triggerFnName](r.settingEvent)}else if(r.allowBinding&&A(t)){var E=t;a.on(r.bindingEvent,E)}else if(r.allowGetting&&void 0===t){var T;return l&&(r.beforeGet(l),T=l._private[r.field]),T}return a}}, +// data +// remove data field +removeData:function(e){return e=re({},{field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!1,immutableKeys:{}},e),function(t){var n=e,r=this,i=void 0!==r.length?r:[r];if(_(t)){for(var a=t.split(/\s+/),o=a.length,s=0;s<o;s++){var l=a[s];if(!F(l)&&!n.immutableKeys[l])for(var u=0,c=i.length;u<c;u++)i[u]._private[n.field][l]=void 0}n.triggerEvent&&r[n.triggerFnName](n.event)}else if(void 0===t){for(var h=0,d=i.length;h<d;h++)for(var p=i[h]._private[n.field],g=Object.keys(p),f=0;f<g.length;f++){var v=g[f];!n.immutableKeys[v]&&(p[v]=void 0)}n.triggerEvent&&r[n.triggerFnName](n.event)}return r}} +// removeData +},ds].forEach((function(e){re(ps,e)}));var gs={animate:ps.animate(),animation:ps.animation(),animated:ps.animated(),clearQueue:ps.clearQueue(),delay:ps.delay(),delayAnimation:ps.delayAnimation(),stop:ps.stop()},fs={classes:function(e){var t=this;if(void 0===e){var n=[];return t[0]._private.classes.forEach((function(e){return n.push(e)})),n}C(e)||(e=(e||"").match(/\S+/g)||[]);for(var r=[],i=new Ht(e),a=0;a<t.length;a++){for(var o=t[a],s=o._private,l=s.classes,u=!1,c=0;c<e.length;c++){var h=e[c];if(!l.has(h)){u=!0;break}}u||(u=l.size!==e.length),u&&(s.classes=i,r.push(o))}return r.length>0&&this.spawn(r).updateStyle().emit("class"),t},addClass:function(e){return this.toggleClass(e,!0)},hasClass:function(e){var t=this[0];return null!=t&&t._private.classes.has(e)},toggleClass:function(e,t){C(e)||(e=e.match(/\S+/g)||[]);for(var n=this,r=void 0===t,i=[],a=0,o=n.length;a<o;a++)for(var s=n[a],l=s._private.classes,u=!1,c=0;c<e.length;c++){var h=e[c],d=l.has(h),p=!1;t||r&&!d?(l.add(h),p=!0):(!t||r&&d)&&(l.delete(h),p=!0),!u&&p&&(i.push(s),u=!0)}return i.length>0&&this.spawn(i).updateStyle().emit("class"),n},removeClass:function(e){return this.toggleClass(e,!1)},flashClass:function(e,t){var n=this;if(null==t)t=250;else if(0===t)return n;return n.addClass(e),setTimeout((function(){n.removeClass(e)}),t),n}};fs.className=fs.classNames=fs.classes;var vs={metaChar:"[\\!\\\"\\#\\$\\%\\&\\'\\(\\)\\*\\+\\,\\.\\/\\:\\;\\<\\=\\>\\?\\@\\[\\]\\^\\`\\{\\|\\}\\~]", +// chars we need to escape in let names, etc +comparatorOp:"=|\\!=|>|>=|<|<=|\\$=|\\^=|\\*=", +// binary comparison op (used in data selectors) +boolOp:"\\?|\\!|\\^", +// boolean (unary) operators (used in data selectors) +string:"\"(?:\\\\\"|[^\"])*\"|'(?:\\\\'|[^'])*'", +// string literals (used in data selectors) -- doublequotes | singlequotes +number:q, +// number literal (used in data selectors) --- e.g. 0.1234, 1234, 12e123 +meta:"degree|indegree|outdegree", +// allowed metadata fields (i.e. allowed functions to use from Collection) +separator:"\\s*,\\s*", +// queries are separated by commas, e.g. edge[foo = 'bar'], node.someClass +descendant:"\\s+",child:"\\s+>\\s+",subject:"\\$",group:"node|edge|\\*",directedEdge:"\\s+->\\s+",undirectedEdge:"\\s+<->\\s+"};vs.variable="(?:[\\w-.]|(?:\\\\"+vs.metaChar+"))+",vs.className="(?:[\\w-]|(?:\\\\"+vs.metaChar+"))+",vs.value=vs.string+"|"+vs.number,vs.id=vs.variable,function(){var e,t,n;for(e=vs.comparatorOp.split("|"),n=0;n<e.length;n++)t=e[n],vs.comparatorOp+="|@"+t;for(e=vs.comparatorOp.split("|"),n=0;n<e.length;n++)(t=e[n]).indexOf("!")>=0||"="!==t&&(vs.comparatorOp+="|\\!"+t)}();var ys=function(){return{checks:[]}},ms={ +/** E.g. node */ +GROUP:0, +/** A collection of elements */ +COLLECTION:1, +/** A filter(ele) function */ +FILTER:2, +/** E.g. [foo > 1] */ +DATA_COMPARE:3, +/** E.g. [foo] */ +DATA_EXIST:4, +/** E.g. [?foo] */ +DATA_BOOL:5, +/** E.g. [[degree > 2]] */ +META_COMPARE:6, +/** E.g. :selected */ +STATE:7, +/** E.g. #foo */ +ID:8, +/** E.g. .foo */ +CLASS:9, +/** E.g. #foo <-> #bar */ +UNDIRECTED_EDGE:10, +/** E.g. #foo -> #bar */ +DIRECTED_EDGE:11, +/** E.g. $#foo -> #bar */ +NODE_SOURCE:12, +/** E.g. #foo -> $#bar */ +NODE_TARGET:13, +/** E.g. $#foo <-> #bar */ +NODE_NEIGHBOR:14, +/** E.g. #foo > #bar */ +CHILD:15, +/** E.g. #foo #bar */ +DESCENDANT:16, +/** E.g. $#foo > #bar */ +PARENT:17, +/** E.g. $#foo #bar */ +ANCESTOR:18, +/** E.g. #foo > $bar > #baz */ +COMPOUND_SPLIT:19, +/** Always matches, useful placeholder for subject in `COMPOUND_SPLIT` */ +TRUE:20},bs=[{selector:":selected",matches:function(e){return e.selected()}},{selector:":unselected",matches:function(e){return!e.selected()}},{selector:":selectable",matches:function(e){return e.selectable()}},{selector:":unselectable",matches:function(e){return!e.selectable()}},{selector:":locked",matches:function(e){return e.locked()}},{selector:":unlocked",matches:function(e){return!e.locked()}},{selector:":visible",matches:function(e){return e.visible()}},{selector:":hidden",matches:function(e){return!e.visible()}},{selector:":transparent",matches:function(e){return e.transparent()}},{selector:":grabbed",matches:function(e){return e.grabbed()}},{selector:":free",matches:function(e){return!e.grabbed()}},{selector:":removed",matches:function(e){return e.removed()}},{selector:":inside",matches:function(e){return!e.removed()}},{selector:":grabbable",matches:function(e){return e.grabbable()}},{selector:":ungrabbable",matches:function(e){return!e.grabbable()}},{selector:":animated",matches:function(e){return e.animated()}},{selector:":unanimated",matches:function(e){return!e.animated()}},{selector:":parent",matches:function(e){return e.isParent()}},{selector:":childless",matches:function(e){return e.isChildless()}},{selector:":child",matches:function(e){return e.isChild()}},{selector:":orphan",matches:function(e){return e.isOrphan()}},{selector:":nonorphan",matches:function(e){return e.isChild()}},{selector:":compound",matches:function(e){return e.isNode()?e.isParent():e.source().isParent()||e.target().isParent()}},{selector:":loop",matches:function(e){return e.isLoop()}},{selector:":simple",matches:function(e){return e.isSimple()}},{selector:":active",matches:function(e){return e.active()}},{selector:":inactive",matches:function(e){return!e.active()}},{selector:":backgrounding",matches:function(e){return e.backgrounding()}},{selector:":nonbackgrounding",matches:function(e){return!e.backgrounding()}}].sort((function(e,t){return ne(e.selector,t.selector)})),xs=function(){for(var e,t={},n=0;n<bs.length;n++)t[(e=bs[n]).selector]=e.matches;return t}(),ws=function(e,t){return xs[e](t)},Es="("+bs.map((function(e){return e.selector})).join("|")+")",Ts=function(e){return e.replace(new RegExp("\\\\("+vs.metaChar+")","g"),(function(e,t){return t}))},_s=function(e,t,n){e[e.length-1]=n},As=[{name:"group", +// just used for identifying when debugging +query:!0,regex:"("+vs.group+")",populate:function(e,t,n){var r=a(n,1)[0];t.checks.push({type:ms.GROUP,value:"*"===r?r:r+"s"})}},{name:"state",query:!0,regex:Es,populate:function(e,t,n){var r=a(n,1)[0];t.checks.push({type:ms.STATE,value:r})}},{name:"id",query:!0,regex:"\\#("+vs.id+")",populate:function(e,t,n){var r=a(n,1)[0];t.checks.push({type:ms.ID,value:Ts(r)})}},{name:"className",query:!0,regex:"\\.("+vs.className+")",populate:function(e,t,n){var r=a(n,1)[0];t.checks.push({type:ms.CLASS,value:Ts(r)})}},{name:"dataExists",query:!0,regex:"\\[\\s*("+vs.variable+")\\s*\\]",populate:function(e,t,n){var r=a(n,1)[0];t.checks.push({type:ms.DATA_EXIST,field:Ts(r)})}},{name:"dataCompare",query:!0,regex:"\\[\\s*("+vs.variable+")\\s*("+vs.comparatorOp+")\\s*("+vs.value+")\\s*\\]",populate:function(e,t,n){var r=a(n,3),i=r[0],o=r[1],s=r[2];s=null!=new RegExp("^"+vs.string+"$").exec(s)?s.substring(1,s.length-1):parseFloat(s),t.checks.push({type:ms.DATA_COMPARE,field:Ts(i),operator:o,value:s})}},{name:"dataBool",query:!0,regex:"\\[\\s*("+vs.boolOp+")\\s*("+vs.variable+")\\s*\\]",populate:function(e,t,n){var r=a(n,2),i=r[0],o=r[1];t.checks.push({type:ms.DATA_BOOL,field:Ts(o),operator:i})}},{name:"metaCompare",query:!0,regex:"\\[\\[\\s*("+vs.meta+")\\s*("+vs.comparatorOp+")\\s*("+vs.number+")\\s*\\]\\]",populate:function(e,t,n){var r=a(n,3),i=r[0],o=r[1],s=r[2];t.checks.push({type:ms.META_COMPARE,field:Ts(i),operator:o,value:parseFloat(s)})}},{name:"nextQuery",separator:!0,regex:vs.separator,populate:function(e,t){var n=e.currentSubject,r=e.edgeCount,i=e.compoundCount,a=e[e.length-1];return null!=n&&(a.subject=n,e.currentSubject=null),a.edgeCount=r,a.compoundCount=i,e.edgeCount=0,e.compoundCount=0,e[e.length++]=ys()}},{name:"directedEdge",separator:!0,regex:vs.directedEdge,populate:function(e,t){if(null==e.currentSubject){var n=ys(),r=t,i=ys();return n.checks.push({type:ms.DIRECTED_EDGE,source:r,target:i}),_s(e,t,n),e.edgeCount++,i}var a=ys(),o=t,s=ys();return a.checks.push({type:ms.NODE_SOURCE,source:o,target:s}),_s(e,t,a),e.edgeCount++,s}},{name:"undirectedEdge",separator:!0,regex:vs.undirectedEdge,populate:function(e,t){if(null==e.currentSubject){var n=ys(),r=t,i=ys();return n.checks.push({type:ms.UNDIRECTED_EDGE,nodes:[r,i]}),_s(e,t,n),e.edgeCount++,i}var a=ys(),o=t,s=ys();return a.checks.push({type:ms.NODE_NEIGHBOR,node:o,neighbor:s}),_s(e,t,a),s}},{name:"child",separator:!0,regex:vs.child,populate:function(e,t){if(null==e.currentSubject){var n=ys(),r=ys(),i=e[e.length-1];return n.checks.push({type:ms.CHILD,parent:i,child:r}),_s(e,t,n),e.compoundCount++,r}if(e.currentSubject===t){var a=ys(),o=e[e.length-1],s=ys(),l=ys(),u=ys(),c=ys();return a.checks.push({type:ms.COMPOUND_SPLIT,left:o,right:s,subject:l}),l.checks=t.checks,t.checks=[{type:ms.TRUE}],c.checks.push({type:ms.TRUE}),s.checks.push({type:ms.PARENT, +// type is swapped on right side queries +parent:c,child:u}),_s(e,o,a),e.currentSubject=l,e.compoundCount++,u}var h=ys(),d=ys(),p=[{type:ms.PARENT,parent:h,child:d}];return h.checks=t.checks,t.checks=p,e.compoundCount++,d}},{name:"descendant",separator:!0,regex:vs.descendant,populate:function(e,t){if(null==e.currentSubject){var n=ys(),r=ys(),i=e[e.length-1];return n.checks.push({type:ms.DESCENDANT,ancestor:i,descendant:r}),_s(e,t,n),e.compoundCount++,r}if(e.currentSubject===t){var a=ys(),o=e[e.length-1],s=ys(),l=ys(),u=ys(),c=ys();return a.checks.push({type:ms.COMPOUND_SPLIT,left:o,right:s,subject:l}),l.checks=t.checks,t.checks=[{type:ms.TRUE}],c.checks.push({type:ms.TRUE}),s.checks.push({type:ms.ANCESTOR, +// type is swapped on right side queries +ancestor:c,descendant:u}),_s(e,o,a),e.currentSubject=l,e.compoundCount++,u}var h=ys(),d=ys(),p=[{type:ms.ANCESTOR,ancestor:h,descendant:d}];return h.checks=t.checks,t.checks=p,e.compoundCount++,d}},{name:"subject",modifier:!0,regex:vs.subject,populate:function(e,t){if(null!=e.currentSubject&&e.currentSubject!==t)return Lt("Redefinition of subject in selector `"+e.toString()+"`"),!1;e.currentSubject=t;var n=e[e.length-1].checks[0],r=null==n?null:n.type;r===ms.DIRECTED_EDGE?n.type=ms.NODE_TARGET:r===ms.UNDIRECTED_EDGE&&(n.type=ms.NODE_NEIGHBOR,n.node=n.nodes[1],n.neighbor=n.nodes[0],n.nodes=null)}}];As.forEach((function(e){return e.regexObj=new RegExp("^"+e.regex)}));var Cs=function(e){for(var t,n,r,i=0;i<As.length;i++){var a=As[i],o=a.name,s=e.match(a.regexObj);if(null!=s){n=s,t=a,r=o;var l=s[0];e=e.substring(l.length);break}}return{expr:t,match:n,name:r,remaining:e}},Ds=function(e){var t=e.match(/^\s+/);if(t){var n=t[0];e=e.substring(n.length)}return e},Ns={parse:function(e){var t=this,n=t.inputText=e,r=t[0]=ys();for(t.length=1,n=Ds(n);;){var i=Cs(n);if(null==i.expr)return Lt("The selector `"+e+"`is invalid"),!1;var a=i.match.slice(1),o=i.expr.populate(t,r,a);if(!1===o)return!1;if(null!=o&&(r=o),(n=i.remaining).match(/^\s*$/))break}var s=t[t.length-1];null!=t.currentSubject&&(s.subject=t.currentSubject),s.edgeCount=t.edgeCount,s.compoundCount=t.compoundCount;for(var l=0;l<t.length;l++){var u=t[l];if(u.compoundCount>0&&u.edgeCount>0)return Lt("The selector `"+e+"` is invalid because it uses both a compound selector and an edge selector"),!1;if(u.edgeCount>1)return Lt("The selector `"+e+"` is invalid because it uses multiple edge selectors"),!1;1===u.edgeCount&&Lt("The selector `"+e+"` is deprecated. Edge selectors do not take effect on changes to source and target nodes after an edge is added, for performance reasons. Use a class or data selector on edges instead, updating the class or data of an edge when your app detects a change in source or target nodes.")}return!0},toString:function(){if(null!=this.toStringCache)return this.toStringCache;for(var e=function(e){return null==e?"":e},t=function(t){return _(t)?'"'+t+'"':e(t)},n=function(e){return" "+e+" "},r=function(r,a){var o=r.type,s=r.value;switch(o){case ms.GROUP:var l=e(s);return l.substring(0,l.length-1);case ms.DATA_COMPARE:var u=r.field,c=r.operator;return"["+u+n(e(c))+t(s)+"]";case ms.DATA_BOOL:var h=r.operator,d=r.field;return"["+e(h)+d+"]";case ms.DATA_EXIST:return"["+r.field+"]";case ms.META_COMPARE:var p=r.operator;return"[["+r.field+n(e(p))+t(s)+"]]";case ms.STATE:return s;case ms.ID:return"#"+s;case ms.CLASS:return"."+s;case ms.PARENT:case ms.CHILD:return i(r.parent,a)+n(">")+i(r.child,a);case ms.ANCESTOR:case ms.DESCENDANT:return i(r.ancestor,a)+" "+i(r.descendant,a);case ms.COMPOUND_SPLIT:var g=i(r.left,a),f=i(r.subject,a),v=i(r.right,a);return g+(g.length>0?" ":"")+f+v;case ms.TRUE:return""}},i=function(e,t){return e.checks.reduce((function(n,i,a){return n+(t===e&&0===a?"$":"")+r(i,t)}),"")},a="",o=0;o<this.length;o++){var s=this[o];a+=i(s,s.subject),this.length>1&&o<this.length-1&&(a+=", ")}return this.toStringCache=a,a}},Ss=function(e,t,n){var r,i,a,o=_(e),s=S(e),l=_(n),u=!1,c=!1,h=!1;switch(t.indexOf("!")>=0&&(t=t.replace("!",""),c=!0),t.indexOf("@")>=0&&(t=t.replace("@",""),u=!0),(o||l||u)&&(i=o||s?""+e:"",a=""+n),u&&(e=i=i.toLowerCase(),n=a=a.toLowerCase()),t){case"*=":r=i.indexOf(a)>=0;break;case"$=":r=i.indexOf(a,i.length-a.length)>=0;break;case"^=":r=0===i.indexOf(a);break;case"=":r=e===n;break;case">":h=!0,r=e>n;break;case">=":h=!0,r=e>=n;break;case"<":h=!0,r=e<n;break;case"<=":h=!0,r=e<=n;break;default:r=!1}return!c||null==e&&h||(r=!r),r},Ls=function(e,t){switch(t){case"?":return!!e;case"!":return!e;case"^":return void 0===e}},Ps=function(e){return void 0!==e},Is=function(e,t){return e.data(t)},ks=function(e,t){return e[t]()},Ms=[],Rs=function(e,t){return e.checks.every((function(e){return Ms[e.type](e,t)}))};Ms[ms.GROUP]=function(e,t){var n=e.value;return"*"===n||n===t.group()},Ms[ms.STATE]=function(e,t){var n=e.value;return ws(n,t)},Ms[ms.ID]=function(e,t){var n=e.value;return t.id()===n},Ms[ms.CLASS]=function(e,t){var n=e.value;return t.hasClass(n)},Ms[ms.META_COMPARE]=function(e,t){var n=e.field,r=e.operator,i=e.value;return Ss(ks(t,n),r,i)},Ms[ms.DATA_COMPARE]=function(e,t){var n=e.field,r=e.operator,i=e.value;return Ss(Is(t,n),r,i)},Ms[ms.DATA_BOOL]=function(e,t){var n=e.field,r=e.operator;return Ls(Is(t,n),r)},Ms[ms.DATA_EXIST]=function(e,t){var n=e.field;return e.operator,Ps(Is(t,n))},Ms[ms.UNDIRECTED_EDGE]=function(e,t){var n=e.nodes[0],r=e.nodes[1],i=t.source(),a=t.target();return Rs(n,i)&&Rs(r,a)||Rs(r,i)&&Rs(n,a)},Ms[ms.NODE_NEIGHBOR]=function(e,t){return Rs(e.node,t)&&t.neighborhood().some((function(t){return t.isNode()&&Rs(e.neighbor,t)}))},Ms[ms.DIRECTED_EDGE]=function(e,t){return Rs(e.source,t.source())&&Rs(e.target,t.target())},Ms[ms.NODE_SOURCE]=function(e,t){return Rs(e.source,t)&&t.outgoers().some((function(t){return t.isNode()&&Rs(e.target,t)}))},Ms[ms.NODE_TARGET]=function(e,t){return Rs(e.target,t)&&t.incomers().some((function(t){return t.isNode()&&Rs(e.source,t)}))},Ms[ms.CHILD]=function(e,t){return Rs(e.child,t)&&Rs(e.parent,t.parent())},Ms[ms.PARENT]=function(e,t){return Rs(e.parent,t)&&t.children().some((function(t){return Rs(e.child,t)}))},Ms[ms.DESCENDANT]=function(e,t){return Rs(e.descendant,t)&&t.ancestors().some((function(t){return Rs(e.ancestor,t)}))},Ms[ms.ANCESTOR]=function(e,t){return Rs(e.ancestor,t)&&t.descendants().some((function(t){return Rs(e.descendant,t)}))},Ms[ms.COMPOUND_SPLIT]=function(e,t){return Rs(e.subject,t)&&Rs(e.left,t)&&Rs(e.right,t)},Ms[ms.TRUE]=function(){return!0},Ms[ms.COLLECTION]=function(e,t){return e.value.has(t)},Ms[ms.FILTER]=function(e,t){return(0,e.value)(t)};var Os={matches:function(e){for(var t=this,n=0;n<t.length;n++){var r=t[n];if(Rs(r,e))return!0}return!1},filter:function(e){var t=this;if(1===t.length&&1===t[0].checks.length&&t[0].checks[0].type===ms.ID)return e.getElementById(t[0].checks[0].value).collection();var n=function(e){for(var n=0;n<t.length;n++){var r=t[n];if(Rs(r,e))return!0}return!1};return null==t.text()&&(n=function(){return!0}),e.filter(n)}},Bs=function(e){this.inputText=e,this.currentSubject=null,this.compoundCount=0,this.edgeCount=0,this.length=0,null==e||_(e)&&e.match(/^\s*$/)||(I(e)?this.addQuery({checks:[{type:ms.COLLECTION,value:e.collection()}]}):A(e)?this.addQuery({checks:[{type:ms.FILTER,value:e}]}):_(e)?this.parse(e)||(this.invalid=!0):Nt("A selector must be created from a string; found "))},Fs=Bs.prototype;[Ns,Os].forEach((function(e){return re(Fs,e)})),Fs.text=function(){return this.inputText},Fs.size=function(){return this.length},Fs.eq=function(e){return this[e]},Fs.sameText=function(e){return!this.invalid&&!e.invalid&&this.text()===e.text()},Fs.addQuery=function(e){this[this.length++]=e},Fs.selector=Fs.toString;var zs={allAre:function(e){var t=new Bs(e);return this.every((function(e){return t.matches(e)}))},is:function(e){var t=new Bs(e);return this.some((function(e){return t.matches(e)}))},some:function(e,t){for(var n=0;n<this.length;n++)if(t?e.apply(t,[this[n],n,this]):e(this[n],n,this))return!0;return!1},every:function(e,t){for(var n=0;n<this.length;n++)if(!(t?e.apply(t,[this[n],n,this]):e(this[n],n,this)))return!1;return!0},same:function(e){if(this===e)return!0;e=this.cy().collection(e);var t=this.length;return t===e.length&&(1===t?this[0]===e[0]:this.every((function(t){return e.hasElementWithId(t.id())})))},anySame:function(e){return e=this.cy().collection(e),this.some((function(t){return e.hasElementWithId(t.id())}))},allAreNeighbors:function(e){e=this.cy().collection(e);var t=this.neighborhood();return e.every((function(e){return t.hasElementWithId(e.id())}))},contains:function(e){e=this.cy().collection(e);var t=this;return e.every((function(e){return t.hasElementWithId(e.id())}))}};zs.allAreNeighbours=zs.allAreNeighbors,zs.has=zs.contains,zs.equal=zs.equals=zs.same;var Gs,Vs,Ys=function(e,t){return function(n,r,i,a){var o,s=n,l=this;if(null==s?o="":I(s)&&1===s.length&&(o=s.id()),1===l.length&&o){var u=l[0]._private,c=u.traversalCache=u.traversalCache||{},h=c[t]=c[t]||[],d=bt(o),p=h[d];return p||(h[d]=e.call(l,n,r,i,a))}return e.call(l,n,r,i,a)}},Xs={parent:function(e){var t=[];if(1===this.length){var n=this[0]._private.parent;if(n)return n}for(var r=0;r<this.length;r++){var i=this[r]._private.parent;i&&t.push(i)}return this.spawn(t,!0).filter(e)},parents:function(e){for(var t=[],n=this.parent();n.nonempty();){for(var r=0;r<n.length;r++){var i=n[r];t.push(i)}n=n.parent()}return this.spawn(t,!0).filter(e)},commonAncestors:function(e){for(var t,n=0;n<this.length;n++){var r=this[n].parents();t=(t=t||r).intersect(r)}return t.filter(e)},orphans:function(e){return this.stdFilter((function(e){return e.isOrphan()})).filter(e)},nonorphans:function(e){return this.stdFilter((function(e){return e.isChild()})).filter(e)},children:Ys((function(e){for(var t=[],n=0;n<this.length;n++)for(var r=this[n]._private.children,i=0;i<r.length;i++)t.push(r[i]);return this.spawn(t,!0).filter(e)}),"children"),siblings:function(e){return this.parent().children().not(this).filter(e)},isParent:function(){var e=this[0];if(e)return e.isNode()&&0!==e._private.children.length},isChildless:function(){var e=this[0];if(e)return e.isNode()&&0===e._private.children.length},isChild:function(){var e=this[0];if(e)return e.isNode()&&null!=e._private.parent},isOrphan:function(){var e=this[0];if(e)return e.isNode()&&null==e._private.parent},descendants:function(e){var t=[];function n(e){for(var r=0;r<e.length;r++){var i=e[r];t.push(i),i.children().nonempty()&&n(i.children())}}return n(this.children()),this.spawn(t,!0).filter(e)}};function Us(e,t,n,r){for(var i=[],a=new Ht,o=e.cy().hasCompoundNodes(),s=0;s<e.length;s++){var l=e[s];n?i.push(l):o&&r(i,a,l)}for(;i.length>0;){var u=i.shift();t(u),a.add(u.id()),o&&r(i,a,u)}return e}function js(e,t,n){if(n.isParent())for(var r=n._private.children,i=0;i<r.length;i++){var a=r[i];t.has(a.id())||e.push(a)}}function Ws(e,t,n){if(n.isChild()){var r=n._private.parent;t.has(r.id())||e.push(r)}}function Hs(e,t,n){Ws(e,t,n),js(e,t,n)}Xs.forEachDown=function(e){return Us(this,e,!(arguments.length>1&&void 0!==arguments[1])||arguments[1],js)},Xs.forEachUp=function(e){return Us(this,e,!(arguments.length>1&&void 0!==arguments[1])||arguments[1],Ws)},Xs.forEachUpAndDown=function(e){return Us(this,e,!(arguments.length>1&&void 0!==arguments[1])||arguments[1],Hs)},Xs.ancestors=Xs.parents,(Gs=Vs={data:ps.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),removeData:ps.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),scratch:ps.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:ps.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),rscratch:ps.data({field:"rscratch",allowBinding:!1,allowSetting:!0,settingTriggersEvent:!1,allowGetting:!0}),removeRscratch:ps.removeData({field:"rscratch",triggerEvent:!1}),id:function(){var e=this[0];if(e)return e._private.data.id}}).attr=Gs.data,Gs.removeAttr=Gs.removeData;var qs,$s,Ks=Vs,Zs={};function Qs(e){return function(t){var n=this;if(void 0===t&&(t=!0),0!==n.length&&n.isNode()&&!n.removed()){for(var r=0,i=n[0],a=i._private.edges,o=0;o<a.length;o++){var s=a[o];!t&&s.isLoop()||(r+=e(i,s))}return r}}}function Js(e,t){return function(n){for(var r,i=this.nodes(),a=0;a<i.length;a++){var o=i[a][e](n);void 0===o||void 0!==r&&!t(o,r)||(r=o)}return r}}re(Zs,{degree:Qs((function(e,t){return t.source().same(t.target())?2:1})),indegree:Qs((function(e,t){return t.target().same(e)?1:0})),outdegree:Qs((function(e,t){return t.source().same(e)?1:0}))}),re(Zs,{minDegree:Js("degree",(function(e,t){return e<t})),maxDegree:Js("degree",(function(e,t){return e>t})),minIndegree:Js("indegree",(function(e,t){return e<t})),maxIndegree:Js("indegree",(function(e,t){return e>t})),minOutdegree:Js("outdegree",(function(e,t){return e<t})),maxOutdegree:Js("outdegree",(function(e,t){return e>t}))}),re(Zs,{totalDegree:function(e){for(var t=0,n=this.nodes(),r=0;r<n.length;r++)t+=n[r].degree(e);return t}});var el=function(e,t,n){for(var r=0;r<e.length;r++){var i=e[r];if(!i.locked()){var a=i._private.position,o={x:null!=t.x?t.x-a.x:0,y:null!=t.y?t.y-a.y:0};!i.isParent()||0===o.x&&0===o.y||i.children().shift(o,n),i.dirtyBoundingBoxCache()}}},tl={field:"position",bindingEvent:"position",allowBinding:!0,allowSetting:!0,settingEvent:"position",settingTriggersEvent:!0,triggerFnName:"emitAndNotify",allowGetting:!0,validKeys:["x","y"],beforeGet:function(e){e.updateCompoundBounds()},beforeSet:function(e,t){el(e,t,!1)},onSet:function(e){e.dirtyCompoundBoundsCache()},canSet:function(e){return!e.locked()}};(qs=$s={position:ps.data(tl), +// position but no notification to renderer +silentPosition:ps.data(re({},tl,{allowBinding:!1,allowSetting:!0,settingTriggersEvent:!1,allowGetting:!1,beforeSet:function(e,t){el(e,t,!0)},onSet:function(e){e.dirtyCompoundBoundsCache()}})),positions:function(e,t){if(D(e))t?this.silentPosition(e):this.position(e);else if(A(e)){var n=e,r=this.cy();r.startBatch();for(var i=0;i<this.length;i++){var a=this[i],o=void 0;(o=n(a,i))&&(t?a.silentPosition(o):a.position(o))}r.endBatch()}return this},silentPositions:function(e){return this.positions(e,!0)},shift:function(e,t,n){var r;if(D(e)?(r={x:S(e.x)?e.x:0,y:S(e.y)?e.y:0},n=t):_(e)&&S(t)&&((r={x:0,y:0})[e]=t),null!=r){var i=this.cy();i.startBatch();for(var a=0;a<this.length;a++){var o=this[a];if(!(i.hasCompoundNodes()&&o.isChild()&&o.ancestors().anySame(this))){var s=o.position(),l={x:s.x+r.x,y:s.y+r.y};n?o.silentPosition(l):o.position(l)}}i.endBatch()}return this},silentShift:function(e,t){return D(e)?this.shift(e,!0):_(e)&&S(t)&&this.shift(e,t,!0),this}, +// get/set the rendered (i.e. on screen) positon of the element +renderedPosition:function(e,t){var n=this[0],r=this.cy(),i=r.zoom(),a=r.pan(),o=D(e)?e:void 0,s=void 0!==o||void 0!==t&&_(e);if(n&&n.isNode()){if(!s){var l=n.position();return o=gn(l,i,a),void 0===e?o:o[e]}for(var u=0;u<this.length;u++){var c=this[u];void 0!==t?c.position(e,(t-a[e])/i):void 0!==o&&c.position(fn(o,i,a))}}else if(!s)return;return this}, +// get/set the position relative to the parent +relativePosition:function(e,t){var n=this[0],r=this.cy(),i=D(e)?e:void 0,a=void 0!==i||void 0!==t&&_(e),o=r.hasCompoundNodes();if(n&&n.isNode()){if(!a){var s=n.position(),l=o?n.parent():null,u=l&&l.length>0,c=u;u&&(l=l[0]);var h=c?l.position():{x:0,y:0};return i={x:s.x-h.x,y:s.y-h.y},void 0===e?i:i[e]}for(var d=0;d<this.length;d++){var p=this[d],g=o?p.parent():null,f=g&&g.length>0,v=f;f&&(g=g[0]);var y=v?g.position():{x:0,y:0};void 0!==t?p.position(e,t+y[e]):void 0!==i&&p.position({x:i.x+y.x,y:i.y+y.y})}}else if(!a)return;return this}}).modelPosition=qs.point=qs.position,qs.modelPositions=qs.points=qs.positions,qs.renderedPoint=qs.renderedPosition,qs.relativePoint=qs.relativePosition;var nl,rl,il=$s;nl=rl={},rl.renderedBoundingBox=function(e){var t=this.boundingBox(e),n=this.cy(),r=n.zoom(),i=n.pan(),a=t.x1*r+i.x,o=t.x2*r+i.x,s=t.y1*r+i.y,l=t.y2*r+i.y;return{x1:a,x2:o,y1:s,y2:l,w:o-a,h:l-s}},rl.dirtyCompoundBoundsCache=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.cy();return t.styleEnabled()&&t.hasCompoundNodes()?(this.forEachUp((function(t){if(t.isParent()){var n=t._private;n.compoundBoundsClean=!1,n.bbCache=null,e||t.emitAndNotify("bounds")}})),this):this},rl.updateCompoundBounds=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.cy();if(!t.styleEnabled()||!t.hasCompoundNodes())return this;if(!e&&t.batching())return this;function n(e){if(e.isParent()){var t=e._private,n=e.children(),r="include"===e.pstyle("compound-sizing-wrt-labels").value,i={width:{val:e.pstyle("min-width").pfValue,left:e.pstyle("min-width-bias-left"),right:e.pstyle("min-width-bias-right")},height:{val:e.pstyle("min-height").pfValue,top:e.pstyle("min-height-bias-top"),bottom:e.pstyle("min-height-bias-bottom")}},a=n.boundingBox({includeLabels:r,includeOverlays:!1, +// updating the compound bounds happens outside of the regular +// cache cycle (i.e. before fired events) +useCache:!1}),o=t.position;0!==a.w&&0!==a.h||((a={w:e.pstyle("width").pfValue,h:e.pstyle("height").pfValue}).x1=o.x-a.w/2,a.x2=o.x+a.w/2,a.y1=o.y-a.h/2,a.y2=o.y+a.h/2);var s=i.width.left.value;"px"===i.width.left.units&&i.width.val>0&&(s=100*s/i.width.val);var l=i.width.right.value;"px"===i.width.right.units&&i.width.val>0&&(l=100*l/i.width.val);var u=i.height.top.value;"px"===i.height.top.units&&i.height.val>0&&(u=100*u/i.height.val);var c=i.height.bottom.value;"px"===i.height.bottom.units&&i.height.val>0&&(c=100*c/i.height.val);var h=y(i.width.val-a.w,s,l),d=h.biasDiff,p=h.biasComplementDiff,g=y(i.height.val-a.h,u,c),f=g.biasDiff,v=g.biasComplementDiff;t.autoPadding=m(a.w,a.h,e.pstyle("padding"),e.pstyle("padding-relative-to").value),t.autoWidth=Math.max(a.w,i.width.val),o.x=(-d+a.x1+a.x2+p)/2,t.autoHeight=Math.max(a.h,i.height.val),o.y=(-f+a.y1+a.y2+v)/2}function y(e,t,n){var r=0,i=0,a=t+n;return e>0&&a>0&&(r=t/a*e,i=n/a*e),{biasDiff:r,biasComplementDiff:i}}function m(e,t,n,r){if("%"!==n.units)return"px"===n.units?n.pfValue:0;switch(r){case"width":return e>0?n.pfValue*e:0;case"height":return t>0?n.pfValue*t:0;case"average":return e>0&&t>0?n.pfValue*(e+t)/2:0;case"min":return e>0&&t>0?e>t?n.pfValue*t:n.pfValue*e:0;case"max":return e>0&&t>0?e>t?n.pfValue*e:n.pfValue*t:0;default:return 0}}}for(var r=0;r<this.length;r++){var i=this[r],a=i._private;a.compoundBoundsClean&&!e||(n(i),t.batching()||(a.compoundBoundsClean=!0))}return this};var al=function(e){return e===1/0||e===-1/0?0:e},ol=function(e,t,n,r,i){r-t!=0&&i-n!=0&&null!=t&&null!=n&&null!=r&&null!=i&&(e.x1=t<e.x1?t:e.x1,e.x2=r>e.x2?r:e.x2,e.y1=n<e.y1?n:e.y1,e.y2=i>e.y2?i:e.y2,e.w=e.x2-e.x1,e.h=e.y2-e.y1)},sl=function(e,t){return null==t?e:ol(e,t.x1,t.y1,t.x2,t.y2)},ll=function(e,t,n){return Vt(e,t,n)},ul=function(e,t,n){if(!t.cy().headless()){var r,i,a=t._private,o=a.rstyle,s=o.arrowWidth/2;if("none"!==t.pstyle(n+"-arrow-shape").value){"source"===n?(r=o.srcX,i=o.srcY):"target"===n?(r=o.tgtX,i=o.tgtY):(r=o.midX,i=o.midY);var l=a.arrowBounds=a.arrowBounds||{},u=l[n]=l[n]||{};u.x1=r-s,u.y1=i-s,u.x2=r+s,u.y2=i+s,u.w=u.x2-u.x1,u.h=u.y2-u.y1,Fn(u,1),ol(e,u.x1,u.y1,u.x2,u.y2)}}},cl=function(e,t,n){if(!t.cy().headless()){var r;r=n?n+"-":"";var i=t._private,a=i.rstyle;if(t.pstyle(r+"label").strValue){var o,s,l,u,c=t.pstyle("text-halign"),h=t.pstyle("text-valign"),d=ll(a,"labelWidth",n),p=ll(a,"labelHeight",n),g=ll(a,"labelX",n),f=ll(a,"labelY",n),v=t.pstyle(r+"text-margin-x").pfValue,y=t.pstyle(r+"text-margin-y").pfValue,m=t.isEdge(),b=t.pstyle(r+"text-rotation"),x=t.pstyle("text-outline-width").pfValue,w=t.pstyle("text-border-width").pfValue/2,E=t.pstyle("text-background-padding").pfValue,T=2,_=p,A=d,C=A/2,D=_/2;if(m)o=g-C,s=g+C,l=f-D,u=f+D;else{switch(c.value){case"left":o=g-A,s=g;break;case"center":o=g-C,s=g+C;break;case"right":o=g,s=g+A}switch(h.value){case"top":l=f-_,u=f;break;case"center":l=f-D,u=f+D;break;case"bottom":l=f,u=f+_}}var N=v-Math.max(x,w)-E-T,S=v+Math.max(x,w)+E+T,L=y-Math.max(x,w)-E-T,P=y+Math.max(x,w)+E+T;o+=N,s+=S,l+=L,u+=P;var I=n||"main",k=i.labelBounds,M=k[I]=k[I]||{};M.x1=o,M.y1=l,M.x2=s,M.y2=u,M.w=s-o,M.h=u-l,M.leftPad=N,M.rightPad=S,M.topPad=L,M.botPad=P;var R=m&&"autorotate"===b.strValue,O=null!=b.pfValue&&0!==b.pfValue;if(R||O){var B=R?ll(i.rstyle,"labelAngle",n):b.pfValue,F=Math.cos(B),z=Math.sin(B),G=(o+s)/2,V=(l+u)/2;if(!m){switch(c.value){case"left":G=s;break;case"right":G=o}switch(h.value){case"top":V=u;break;case"bottom":V=l}}var Y=function(e,t){return{x:(e-=G)*F-(t-=V)*z+G,y:e*z+t*F+V}},X=Y(o,l),U=Y(o,u),j=Y(s,l),W=Y(s,u);o=Math.min(X.x,U.x,j.x,W.x),s=Math.max(X.x,U.x,j.x,W.x),l=Math.min(X.y,U.y,j.y,W.y),u=Math.max(X.y,U.y,j.y,W.y)}var H=I+"Rot",q=k[H]=k[H]||{};q.x1=o,q.y1=l,q.x2=s,q.y2=u,q.w=s-o,q.h=u-l,ol(e,o,l,s,u),ol(i.labelBounds.all,o,l,s,u)}return e}},hl=function(e,t){if(!t.cy().headless()){var n=t.pstyle("outline-opacity").value,r=t.pstyle("outline-width").value;if(n>0&&r>0){var i=t.pstyle("outline-offset").value,a=t.pstyle("shape").value,o=r+i,s=(e.w+2*o)/e.w,l=(e.h+2*o)/e.h,u=0,c=0;["diamond","pentagon","round-triangle"].includes(a)?(s=(e.w+2.4*o)/e.w,c=-o/3.6):["concave-hexagon","rhomboid","right-rhomboid"].includes(a)?s=(e.w+2.4*o)/e.w:"star"===a?(s=(e.w+2.8*o)/e.w,l=(e.h+2.6*o)/e.h,c=-o/3.8):"triangle"===a?(s=(e.w+2.8*o)/e.w,l=(e.h+2.4*o)/e.h,c=-o/1.4):"vee"===a&&(s=(e.w+4.4*o)/e.w,l=(e.h+3.8*o)/e.h,c=.5*-o);var h=e.h*l-e.h,d=e.w*s-e.w;if(zn(e,[Math.ceil(h/2),Math.ceil(d/2)]),0!=u||0!==c){var p=Rn(e,u,c);On(e,p)}}}},dl=function(e,t){var n,r,i,a,o,s,l=e._private.cy,u=l.styleEnabled(),c=l.headless(),h=In(),d=e._private,p=e.isNode(),g=e.isEdge(),f=d.rstyle,v=p&&u?e.pstyle("bounds-expansion").pfValue:[0],y=function(e){return"none"!==e.pstyle("display").value},m=!u||y(e)&&(!g||y(e.source())&&y(e.target()));if(m){var b=0;u&&t.includeOverlays&&0!==e.pstyle("overlay-opacity").value&&(b=e.pstyle("overlay-padding").value);var x=0;u&&t.includeUnderlays&&0!==e.pstyle("underlay-opacity").value&&(x=e.pstyle("underlay-padding").value);var w=Math.max(b,x),E=0;if(u&&(E=e.pstyle("width").pfValue/2),p&&t.includeNodes){var T=e.position();o=T.x,s=T.y;var _=e.outerWidth()/2,A=e.outerHeight()/2;ol(h,n=o-_,i=s-A,r=o+_,a=s+A),u&&t.includeOutlines&&hl(h,e)}else if(g&&t.includeEdges)if(u&&!c){var C=e.pstyle("curve-style").strValue;if(n=Math.min(f.srcX,f.midX,f.tgtX),r=Math.max(f.srcX,f.midX,f.tgtX),i=Math.min(f.srcY,f.midY,f.tgtY),a=Math.max(f.srcY,f.midY,f.tgtY),ol(h,n-=E,i-=E,r+=E,a+=E),"haystack"===C){var D=f.haystackPts;if(D&&2===D.length){if(n=D[0].x,i=D[0].y,n>(r=D[1].x)){var N=n;n=r,r=N}if(i>(a=D[1].y)){var S=i;i=a,a=S}ol(h,n-E,i-E,r+E,a+E)}}else if("bezier"===C||"unbundled-bezier"===C||C.endsWith("segments")||C.endsWith("taxi")){var L;switch(C){case"bezier":case"unbundled-bezier":L=f.bezierPts;break;case"segments":case"taxi":case"round-segments":case"round-taxi":L=f.linePts}if(null!=L)for(var P=0;P<L.length;P++){var I=L[P];n=I.x-E,r=I.x+E,i=I.y-E,a=I.y+E,ol(h,n,i,r,a)}}}else{var k=e.source().position(),M=e.target().position();if((n=k.x)>(r=M.x)){var R=n;n=r,r=R}if((i=k.y)>(a=M.y)){var O=i;i=a,a=O}ol(h,n-=E,i-=E,r+=E,a+=E)}if(u&&t.includeEdges&&g&&(ul(h,e,"mid-source"),ul(h,e,"mid-target"),ul(h,e,"source"),ul(h,e,"target")),u&&"yes"===e.pstyle("ghost").value){var B=e.pstyle("ghost-offset-x").pfValue,F=e.pstyle("ghost-offset-y").pfValue;ol(h,h.x1+B,h.y1+F,h.x2+B,h.y2+F)}var z=d.bodyBounds=d.bodyBounds||{};Gn(z,h),zn(z,v),Fn(z,1),u&&(n=h.x1,r=h.x2,i=h.y1,a=h.y2,ol(h,n-w,i-w,r+w,a+w));var G=d.overlayBounds=d.overlayBounds||{};Gn(G,h),zn(G,v),Fn(G,1);var V=d.labelBounds=d.labelBounds||{};null!=V.all?Mn(V.all):V.all=In(),u&&t.includeLabels&&(t.includeMainLabels&&cl(h,e,null),g&&(t.includeSourceLabels&&cl(h,e,"source"),t.includeTargetLabels&&cl(h,e,"target")))}return h.x1=al(h.x1),h.y1=al(h.y1),h.x2=al(h.x2),h.y2=al(h.y2),h.w=al(h.x2-h.x1),h.h=al(h.y2-h.y1),h.w>0&&h.h>0&&m&&(zn(h,v),Fn(h,1)),h},pl=function(e){var t=0,n=function(e){return(e?1:0)<<t++},r=0;return r+=n(e.incudeNodes),r+=n(e.includeEdges),r+=n(e.includeLabels),r+=n(e.includeMainLabels),r+=n(e.includeSourceLabels),r+=n(e.includeTargetLabels),r+=n(e.includeOverlays),r+=n(e.includeOutlines)},gl=function(e){if(e.isEdge()){var t=e.source().position(),n=e.target().position(),r=function(e){return Math.round(e)};return mt([r(t.x),r(t.y),r(n.x),r(n.y)])}return 0},fl=function(e,t){var n,r=e._private,i=e.isEdge(),a=(null==t?yl:pl(t))===yl,o=gl(e),s=r.bbCachePosKey===o,l=t.useCache&&s,u=function(e){return null==e._private.bbCache||e._private.styleDirty};if(!l||u(e)||i&&(u(e.source())||u(e.target()))?(s||e.recalculateRenderedStyle(l),n=dl(e,vl),r.bbCache=n,r.bbCachePosKey=o):n=r.bbCache,!a){var c=e.isNode();n=In(),(t.includeNodes&&c||t.includeEdges&&!c)&&(t.includeOverlays?sl(n,r.overlayBounds):sl(n,r.bodyBounds)),t.includeLabels&&(t.includeMainLabels&&(!i||t.includeSourceLabels&&t.includeTargetLabels)?sl(n,r.labelBounds.all):(t.includeMainLabels&&sl(n,r.labelBounds.mainRot),t.includeSourceLabels&&sl(n,r.labelBounds.sourceRot),t.includeTargetLabels&&sl(n,r.labelBounds.targetRot))),n.w=n.x2-n.x1,n.h=n.y2-n.y1}return n},vl={includeNodes:!0,includeEdges:!0,includeLabels:!0,includeMainLabels:!0,includeSourceLabels:!0,includeTargetLabels:!0,includeOverlays:!0,includeUnderlays:!0,includeOutlines:!0,useCache:!0},yl=pl(vl),ml=Bt(vl);rl.boundingBox=function(e){var t;if(1!==this.length||null==this[0]._private.bbCache||this[0]._private.styleDirty||void 0!==e&&void 0!==e.useCache&&!0!==e.useCache){t=In();var n=ml(e=e||vl),r=this;if(r.cy().styleEnabled())for(var i=0;i<r.length;i++){var a=r[i],o=a._private,s=gl(a),l=o.bbCachePosKey===s,u=n.useCache&&l&&!o.styleDirty;a.recalculateRenderedStyle(u)}this.updateCompoundBounds(!e.useCache);for(var c=0;c<r.length;c++){var h=r[c];sl(t,fl(h,n))}}else e=void 0===e?vl:ml(e),t=fl(this[0],e);return t.x1=al(t.x1),t.y1=al(t.y1),t.x2=al(t.x2),t.y2=al(t.y2),t.w=al(t.x2-t.x1),t.h=al(t.y2-t.y1),t},rl.dirtyBoundingBoxCache=function(){for(var e=0;e<this.length;e++){var t=this[e]._private;t.bbCache=null,t.bbCachePosKey=null,t.bodyBounds=null,t.overlayBounds=null,t.labelBounds.all=null,t.labelBounds.source=null,t.labelBounds.target=null,t.labelBounds.main=null,t.labelBounds.sourceRot=null,t.labelBounds.targetRot=null,t.labelBounds.mainRot=null,t.arrowBounds.source=null,t.arrowBounds.target=null,t.arrowBounds["mid-source"]=null,t.arrowBounds["mid-target"]=null}return this.emitAndNotify("bounds"),this},rl.boundingBoxAt=function(e){var t=this.nodes(),n=this.cy(),r=n.hasCompoundNodes(),i=n.collection();if(r&&(i=t.filter((function(e){return e.isParent()})),t=t.not(i)),D(e)){var a=e;e=function(){return a}}var o=function(t,n){return t._private.bbAtOldPos=e(t,n)},s=function(e){return e._private.bbAtOldPos};n.startBatch(),t.forEach(o).silentPositions(e),r&&(i.dirtyCompoundBoundsCache(),i.dirtyBoundingBoxCache(),i.updateCompoundBounds(!0));var l=kn(this.boundingBox({useCache:!1}));return t.silentPositions(s),r&&(i.dirtyCompoundBoundsCache(),i.dirtyBoundingBoxCache(),i.updateCompoundBounds(!0)),n.endBatch(),l},nl.boundingbox=nl.bb=nl.boundingBox,nl.renderedBoundingbox=nl.renderedBoundingBox;var bl,xl,wl=rl;bl=xl={};var El=function(e){e.uppercaseName=H(e.name),e.autoName="auto"+e.uppercaseName,e.labelName="label"+e.uppercaseName,e.outerName="outer"+e.uppercaseName,e.uppercaseOuterName=H(e.outerName),bl[e.name]=function(){var t=this[0],n=t._private,r=n.cy._private.styleEnabled;if(t){if(r){if(t.isParent())return t.updateCompoundBounds(),n[e.autoName]||0;var i=t.pstyle(e.name);return"label"===i.strValue?(t.recalculateRenderedStyle(),n.rstyle[e.labelName]||0):i.pfValue}return 1}},bl["outer"+e.uppercaseName]=function(){var t=this[0],n=t._private.cy._private.styleEnabled;if(t)return n?t[e.name]()+t.pstyle("border-width").pfValue+2*t.padding():1},bl["rendered"+e.uppercaseName]=function(){var t=this[0];if(t)return t[e.name]()*this.cy().zoom()},bl["rendered"+e.uppercaseOuterName]=function(){var t=this[0];if(t)return t[e.outerName]()*this.cy().zoom()}};El({name:"width"}),El({name:"height"}),xl.padding=function(){var e=this[0],t=e._private;return e.isParent()?(e.updateCompoundBounds(),void 0!==t.autoPadding?t.autoPadding:e.pstyle("padding").pfValue):e.pstyle("padding").pfValue},xl.paddedHeight=function(){var e=this[0];return e.height()+2*e.padding()},xl.paddedWidth=function(){var e=this[0];return e.width()+2*e.padding()};var Tl=xl,_l=function(e,t){if(e.isEdge())return t(e)},Al=function(e,t){if(e.isEdge()){var n=e.cy();return gn(t(e),n.zoom(),n.pan())}},Cl=function(e,t){if(e.isEdge()){var n=e.cy(),r=n.pan(),i=n.zoom();return t(e).map((function(e){return gn(e,i,r)}))}},Dl={controlPoints:{get:function(e){return e.renderer().getControlPoints(e)},mult:!0},segmentPoints:{get:function(e){return e.renderer().getSegmentPoints(e)},mult:!0},sourceEndpoint:{get:function(e){return e.renderer().getSourceEndpoint(e)}},targetEndpoint:{get:function(e){return e.renderer().getTargetEndpoint(e)}},midpoint:{get:function(e){return e.renderer().getEdgeMidpoint(e)}}},Nl=function(e){return"rendered"+e[0].toUpperCase()+e.substr(1)},Sl=Object.keys(Dl).reduce((function(e,t){var n=Dl[t],r=Nl(t);return e[t]=function(){return _l(this,n.get)},n.mult?e[r]=function(){return Cl(this,n.get)}:e[r]=function(){return Al(this,n.get)},e}),{}),Ll=re({},il,wl,Tl,Sl),Pl=function(e,t){this.recycle(e,t)};function Il(){return!1}function kl(){return!0}Pl.prototype={instanceString:function(){return"event"},recycle:function(e,t){if(this.isImmediatePropagationStopped=this.isPropagationStopped=this.isDefaultPrevented=Il,null!=e&&e.preventDefault?(this.type=e.type,this.isDefaultPrevented=e.defaultPrevented?kl:Il):null!=e&&e.type?t=e:this.type=e,null!=t&&(this.originalEvent=t.originalEvent,this.type=null!=t.type?t.type:this.type,this.cy=t.cy,this.target=t.target,this.position=t.position,this.renderedPosition=t.renderedPosition,this.namespace=t.namespace,this.layout=t.layout),null!=this.cy&&null!=this.position&&null==this.renderedPosition){var n=this.position,r=this.cy.zoom(),i=this.cy.pan();this.renderedPosition={x:n.x*r+i.x,y:n.y*r+i.y}}this.timeStamp=e&&e.timeStamp||Date.now()},preventDefault:function(){this.isDefaultPrevented=kl;var e=this.originalEvent;e&&e.preventDefault&&e.preventDefault()},stopPropagation:function(){this.isPropagationStopped=kl;var e=this.originalEvent;e&&e.stopPropagation&&e.stopPropagation()},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=kl,this.stopPropagation()},isDefaultPrevented:Il,isPropagationStopped:Il,isImmediatePropagationStopped:Il};var Ml=/^([^.]+)(\.(?:[^.]+))?$/,Rl=".*",Ol={qualifierCompare:function(e,t){return e===t},eventMatches:function(){return!0},addEventFields:function(){},callbackContext:function(e){return e},beforeEmit:function(){},afterEmit:function(){},bubble:function(){return!1},parent:function(){return null},context:null},Bl=Object.keys(Ol),Fl={};function zl(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Fl,t=arguments.length>1?arguments[1]:void 0,n=0;n<Bl.length;n++){var r=Bl[n];this[r]=e[r]||Ol[r]}this.context=t||this.context,this.listeners=[],this.emitting=0}var Gl=zl.prototype,Vl=function(e,t,n,r,i,a,o){A(r)&&(i=r,r=null),o&&(a=null==a?o:re({},a,o));for(var s=C(n)?n:n.split(/\s+/),l=0;l<s.length;l++){var u=s[l];if(!F(u)){var c=u.match(Ml);if(c&&!1===t(e,u,c[1],c[2]?c[2]:null,r,i,a))break}}},Yl=function(e,t){return e.addEventFields(e.context,t),new Pl(t.type,t)},Xl=function(e,t,n){if(B(n))t(e,n);else if(D(n))t(e,Yl(e,n));else for(var r=C(n)?n:n.split(/\s+/),i=0;i<r.length;i++){var a=r[i];if(!F(a)){var o=a.match(Ml);if(o){var s=o[1],l=o[2]?o[2]:null;t(e,Yl(e,{type:s,namespace:l,target:e.context}))}}}};Gl.on=Gl.addListener=function(e,t,n,r,i){return Vl(this,(function(e,t,n,r,i,a,o){A(a)&&e.listeners.push({event:t, +// full event string +callback:a, +// callback to run +type:n, +// the event type (e.g. 'click') +namespace:r, +// the event namespace (e.g. ".foo") +qualifier:i, +// a restriction on whether to match this emitter +conf:o})}),e,t,n,r,i),this},Gl.one=function(e,t,n,r){return this.on(e,t,n,r,{one:!0})},Gl.removeListener=Gl.off=function(e,t,n,r){var i=this;0!==this.emitting&&(this.listeners=kt(this.listeners));for(var a=this.listeners,o=function(o){var s=a[o];Vl(i,(function(t,n,r,i,l,u){if((s.type===r||"*"===e)&&(!i&&".*"!==s.namespace||s.namespace===i)&&(!l||t.qualifierCompare(s.qualifier,l))&&(!u||s.callback===u))return a.splice(o,1),!1}),e,t,n,r)},s=a.length-1;s>=0;s--)o(s);return this},Gl.removeAllListeners=function(){return this.removeListener("*")},Gl.emit=Gl.trigger=function(e,t,n){var r=this.listeners,i=r.length;return this.emitting++,C(t)||(t=[t]),Xl(this,(function(e,a){null!=n&&(r=[{event:a.event,type:a.type,namespace:a.namespace,callback:n}],i=r.length);for(var o=function(n){var i=r[n];if(i.type===a.type&&(!i.namespace||i.namespace===a.namespace||i.namespace===Rl)&&e.eventMatches(e.context,i,a)){var o=[a];null!=t&&Gt(o,t),e.beforeEmit(e.context,i,a),i.conf&&i.conf.one&&(e.listeners=e.listeners.filter((function(e){return e!==i})));var s=e.callbackContext(e.context,i,a),l=i.callback.apply(s,o);e.afterEmit(e.context,i,a),!1===l&&(a.stopPropagation(),a.preventDefault())}},s=0;s<i;s++)o(s);e.bubble(e.context)&&!a.isPropagationStopped()&&e.parent(e.context).emit(a,t)}),e),this.emitting--,this};var Ul={qualifierCompare:function(e,t){return null==e||null==t?null==e&&null==t:e.sameText(t)},eventMatches:function(e,t,n){var r=t.qualifier;return null==r||e!==n.target&&k(n.target)&&r.matches(n.target)},addEventFields:function(e,t){t.cy=e.cy(),t.target=e},callbackContext:function(e,t,n){return null!=t.qualifier?n.target:e},beforeEmit:function(e,t){t.conf&&t.conf.once&&t.conf.onceCollection.removeListener(t.event,t.qualifier,t.callback)},bubble:function(){return!0},parent:function(e){return e.isChild()?e.parent():e.cy()}},jl=function(e){return _(e)?new Bs(e):e},Wl={createEmitter:function(){for(var e=0;e<this.length;e++){var t=this[e],n=t._private;n.emitter||(n.emitter=new zl(Ul,t))}return this},emitter:function(){return this._private.emitter},on:function(e,t,n){for(var r=jl(t),i=0;i<this.length;i++)this[i].emitter().on(e,r,n);return this},removeListener:function(e,t,n){for(var r=jl(t),i=0;i<this.length;i++)this[i].emitter().removeListener(e,r,n);return this},removeAllListeners:function(){for(var e=0;e<this.length;e++)this[e].emitter().removeAllListeners();return this},one:function(e,t,n){for(var r=jl(t),i=0;i<this.length;i++)this[i].emitter().one(e,r,n);return this},once:function(e,t,n){for(var r=jl(t),i=0;i<this.length;i++)this[i].emitter().on(e,r,n,{once:!0,onceCollection:this})},emit:function(e,t){for(var n=0;n<this.length;n++)this[n].emitter().emit(e,t);return this},emitAndNotify:function(e,t){if(0!==this.length)return this.cy().notify(e,this),this.emit(e,t),this}};ps.eventAliasesOn(Wl);var Hl={nodes:function(e){return this.filter((function(e){return e.isNode()})).filter(e)},edges:function(e){return this.filter((function(e){return e.isEdge()})).filter(e)}, +// internal helper to get nodes and edges as separate collections with single iteration over elements +byGroup:function(){for(var e=this.spawn(),t=this.spawn(),n=0;n<this.length;n++){var r=this[n];r.isNode()?e.push(r):t.push(r)}return{nodes:e,edges:t}},filter:function(e,t){if(void 0===e)return this;if(_(e)||I(e))return new Bs(e).filter(this);if(A(e)){for(var n=this.spawn(),r=this,i=0;i<r.length;i++){var a=r[i];(t?e.apply(t,[a,i,r]):e(a,i,r))&&n.push(a)}return n}return this.spawn()},not:function(e){if(e){_(e)&&(e=this.filter(e));for(var t=this.spawn(),n=0;n<this.length;n++){var r=this[n];e.has(r)||t.push(r)}return t}return this},absoluteComplement:function(){return this.cy().mutableElements().not(this)},intersect:function(e){if(_(e)){var t=e;return this.filter(t)}for(var n=this.spawn(),r=this,i=e,a=this.length<e.length,o=a?r:i,s=a?i:r,l=0;l<o.length;l++){var u=o[l];s.has(u)&&n.push(u)}return n},xor:function(e){var t=this._private.cy;_(e)&&(e=t.$(e));var n=this.spawn(),r=this,i=e,a=function(e,t){for(var r=0;r<e.length;r++){var i=e[r],a=i._private.data.id;t.hasElementWithId(a)||n.push(i)}};return a(r,i),a(i,r),n},diff:function(e){var t=this._private.cy;_(e)&&(e=t.$(e));var n=this.spawn(),r=this.spawn(),i=this.spawn(),a=this,o=e,s=function(e,t,n){for(var r=0;r<e.length;r++){var a=e[r],o=a._private.data.id;t.hasElementWithId(o)?i.merge(a):n.push(a)}};return s(a,o,n),s(o,a,r),{left:n,right:r,both:i}},add:function(e){var t=this._private.cy;if(!e)return this;if(_(e)){var n=e;e=t.mutableElements().filter(n)}for(var r=this.spawnSelf(),i=0;i<e.length;i++){var a=e[i];!this.has(a)&&r.push(a)}return r}, +// in place merge on calling collection +merge:function(e){var t=this._private,n=t.cy;if(!e)return this;if(e&&_(e)){var r=e;e=n.mutableElements().filter(r)}for(var i=t.map,a=0;a<e.length;a++){var o=e[a],s=o._private.data.id;if(!i.has(s)){var l=this.length++;this[l]=o,i.set(s,{ele:o,index:l})}}return this},unmergeAt:function(e){var t=this[e].id(),n=this._private.map;this[e]=void 0,n.delete(t);var r=e===this.length-1;if(this.length>1&&!r){var i=this.length-1,a=this[i],o=a._private.data.id;this[i]=void 0,this[e]=a,n.set(o,{ele:a,index:e})}return this.length--,this}, +// remove single ele in place in calling collection +unmergeOne:function(e){e=e[0];var t=this._private,n=e._private.data.id,r=t.map.get(n);if(!r)return this;var i=r.index;return this.unmergeAt(i),this}, +// remove eles in place on calling collection +unmerge:function(e){var t=this._private.cy;if(!e)return this;if(e&&_(e)){var n=e;e=t.mutableElements().filter(n)}for(var r=0;r<e.length;r++)this.unmergeOne(e[r]);return this},unmergeBy:function(e){for(var t=this.length-1;t>=0;t--)e(this[t])&&this.unmergeAt(t);return this},map:function(e,t){for(var n=[],r=this,i=0;i<r.length;i++){var a=r[i],o=t?e.apply(t,[a,i,r]):e(a,i,r);n.push(o)}return n},reduce:function(e,t){for(var n=t,r=this,i=0;i<r.length;i++)n=e(n,r[i],i,r);return n},max:function(e,t){for(var n,r=-1/0,i=this,a=0;a<i.length;a++){var o=i[a],s=t?e.apply(t,[o,a,i]):e(o,a,i);s>r&&(r=s,n=o)}return{value:r,ele:n}},min:function(e,t){for(var n,r=1/0,i=this,a=0;a<i.length;a++){var o=i[a],s=t?e.apply(t,[o,a,i]):e(o,a,i);s<r&&(r=s,n=o)}return{value:r,ele:n}}},ql=Hl;ql.u=ql["|"]=ql["+"]=ql.union=ql.or=ql.add,ql["\\"]=ql["!"]=ql["-"]=ql.difference=ql.relativeComplement=ql.subtract=ql.not,ql.n=ql["&"]=ql["."]=ql.and=ql.intersection=ql.intersect,ql["^"]=ql["(+)"]=ql["(-)"]=ql.symmetricDifference=ql.symdiff=ql.xor,ql.fnFilter=ql.filterFn=ql.stdFilter=ql.filter,ql.complement=ql.abscomp=ql.absoluteComplement;var $l,Kl={isNode:function(){return"nodes"===this.group()},isEdge:function(){return"edges"===this.group()},isLoop:function(){return this.isEdge()&&this.source()[0]===this.target()[0]},isSimple:function(){return this.isEdge()&&this.source()[0]!==this.target()[0]},group:function(){var e=this[0];if(e)return e._private.group}},Zl=function(e,t){var n=e.cy().hasCompoundNodes();function r(e){var t=e.pstyle("z-compound-depth");return"auto"===t.value?n?e.zDepth():0:"bottom"===t.value?-1:"top"===t.value?Tt:0}var i=r(e)-r(t);if(0!==i)return i;function a(e){return"auto"===e.pstyle("z-index-compare").value&&e.isNode()?1:0}var o=a(e)-a(t);if(0!==o)return o;var s=e.pstyle("z-index").value-t.pstyle("z-index").value;return 0!==s?s:e.poolIndex()-t.poolIndex()},Ql={forEach:function(e,t){if(A(e))for(var n=this.length,r=0;r<n;r++){var i=this[r];if(!1===(t?e.apply(t,[i,r,this]):e(i,r,this)))break}return this},toArray:function(){for(var e=[],t=0;t<this.length;t++)e.push(this[t]);return e},slice:function(e,t){var n=[],r=this.length;null==t&&(t=r),null==e&&(e=0),e<0&&(e=r+e),t<0&&(t=r+t);for(var i=e;i>=0&&i<t&&i<r;i++)n.push(this[i]);return this.spawn(n)},size:function(){return this.length},eq:function(e){return this[e]||this.spawn()},first:function(){return this[0]||this.spawn()},last:function(){return this[this.length-1]||this.spawn()},empty:function(){return 0===this.length},nonempty:function(){return!this.empty()},sort:function(e){if(!A(e))return this;var t=this.toArray().sort(e);return this.spawn(t)},sortByZIndex:function(){return this.sort(Zl)},zDepth:function(){var e=this[0];if(e){var t=e._private;if("nodes"===t.group){var n=t.data.parent?e.parents().size():0;return e.isParent()?n:Tt-1}var r=t.source,i=t.target,a=r.zDepth(),o=i.zDepth();return Math.max(a,o,0)}}};Ql.each=Ql.forEach,$l="undefined",("undefined"==typeof Symbol?"undefined":e(Symbol))!=$l&&e(Symbol.iterator)!=$l&&(Ql[Symbol.iterator]=function(){var e=this,t={value:void 0,done:!1},n=0,r=this.length;return i({next:function(){return n<r?t.value=e[n++]:(t.value=void 0,t.done=!0),t}},Symbol.iterator,(function(){return this}))});var Jl=Bt({nodeDimensionsIncludeLabels:!1}),eu={ +// Calculates and returns node dimensions { x, y } based on options given +layoutDimensions:function(e){var t;if(e=Jl(e),this.takesUpSpace())if(e.nodeDimensionsIncludeLabels){var n=this.boundingBox();t={w:n.w,h:n.h}}else t={w:this.outerWidth(),h:this.outerHeight()};else t={w:0,h:0};return 0!==t.w&&0!==t.h||(t.w=t.h=1),t}, +// using standard layout options, apply position function (w/ or w/o animation) +layoutPositions:function(e,t,n){var r=this.nodes().filter((function(e){return!e.isParent()})),i=this.cy(),a=t.eles,o=function(e){return e.id()},s=X(n,o);e.emit({type:"layoutstart",layout:e}),e.animations=[];var l=function(e,t,n){var r={x:t.x1+t.w/2,y:t.y1+t.h/2},i={ +// scale from center of bounding box (not necessarily 0,0) +x:(n.x-r.x)*e,y:(n.y-r.y)*e};return{x:r.x+i.x,y:r.y+i.y}},u=t.spacingFactor&&1!==t.spacingFactor,c=function(){if(!u)return null;for(var e=In(),t=0;t<r.length;t++){var n=r[t],i=s(n,t);Bn(e,i.x,i.y)}return e}(),h=X((function(e,n){var r=s(e,n);if(u){var i=Math.abs(t.spacingFactor);r=l(i,c,r)}return null!=t.transform&&(r=t.transform(e,r)),r}),o);if(t.animate){for(var d=0;d<r.length;d++){var p=r[d],g=h(p,d);if(null==t.animateFilter||t.animateFilter(p,d)){var f=p.animation({position:g,duration:t.animationDuration,easing:t.animationEasing});e.animations.push(f)}else p.position(g)}if(t.fit){var v=i.animation({fit:{boundingBox:a.boundingBoxAt(h),padding:t.padding},duration:t.animationDuration,easing:t.animationEasing});e.animations.push(v)}else if(void 0!==t.zoom&&void 0!==t.pan){var y=i.animation({zoom:t.zoom,pan:t.pan,duration:t.animationDuration,easing:t.animationEasing});e.animations.push(y)}e.animations.forEach((function(e){return e.play()})),e.one("layoutready",t.ready),e.emit({type:"layoutready",layout:e}),Ui.all(e.animations.map((function(e){return e.promise()}))).then((function(){e.one("layoutstop",t.stop),e.emit({type:"layoutstop",layout:e})}))}else r.positions(h),t.fit&&i.fit(t.eles,t.padding),null!=t.zoom&&i.zoom(t.zoom),t.pan&&i.pan(t.pan),e.one("layoutready",t.ready),e.emit({type:"layoutready",layout:e}),e.one("layoutstop",t.stop),e.emit({type:"layoutstop",layout:e});return this},layout:function(e){return this.cy().makeLayout(re({},e,{eles:this}))}};function tu(e,t,n){var r,i=n._private,a=i.styleCache=i.styleCache||[];return null!=(r=a[e])?r:r=a[e]=t(n)}function nu(e,t){return e=bt(e),function(n){return tu(e,t,n)}}function ru(e,t){e=bt(e);var n=function(e){return t.call(e)};return function(){var t=this[0];if(t)return tu(e,n,t)}}eu.createLayout=eu.makeLayout=eu.layout;var iu={recalculateRenderedStyle:function(e){var t=this.cy(),n=t.renderer(),r=t.styleEnabled();return n&&r&&n.recalculateRenderedStyle(this,e),this},dirtyStyleCache:function(){var e,t=this.cy(),n=function(e){return e._private.styleCache=null};return t.hasCompoundNodes()?((e=this.spawnSelf().merge(this.descendants()).merge(this.parents())).merge(e.connectedEdges()),e.forEach(n)):this.forEach((function(e){n(e),e.connectedEdges().forEach(n)})),this}, +// fully updates (recalculates) the style for the elements +updateStyle:function(e){var t=this._private.cy;if(!t.styleEnabled())return this;if(t.batching())return t._private.batchStyleEles.merge(this),this;var n=this;e=!(!e&&void 0!==e),t.hasCompoundNodes()&&(n=this.spawnSelf().merge(this.descendants()).merge(this.parents()));var r=n;return e?r.emitAndNotify("style"):r.emit("style"),n.forEach((function(e){return e._private.styleDirty=!0})),this}, +// private: clears dirty flag and recalculates style +cleanStyle:function(){var e=this.cy();if(e.styleEnabled())for(var t=0;t<this.length;t++){var n=this[t];n._private.styleDirty&&(n._private.styleDirty=!1,e.style().apply(n))}}, +// get the internal parsed style object for the specified property +parsedStyle:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this[0],r=n.cy();if(r.styleEnabled()&&n){n._private.styleDirty&&(n._private.styleDirty=!1,r.style().apply(n));var i=n._private.style[e];return null!=i?i:t?r.style().getDefaultProperty(e):null}},numericStyle:function(e){var t=this[0];if(t.cy().styleEnabled()&&t){var n=t.pstyle(e);return void 0!==n.pfValue?n.pfValue:n.value}},numericStyleUnits:function(e){var t=this[0];if(t.cy().styleEnabled())return t?t.pstyle(e).units:void 0}, +// get the specified css property as a rendered value (i.e. on-screen value) +// or get the whole rendered style if no property specified (NB doesn't allow setting) +renderedStyle:function(e){var t=this.cy();if(!t.styleEnabled())return this;var n=this[0];return n?t.style().getRenderedStyle(n,e):void 0}, +// read the calculated css style of the element or override the style (via a bypass) +style:function(e,t){var n=this.cy();if(!n.styleEnabled())return this;var r=!1,i=n.style();if(D(e)){var a=e;i.applyBypass(this,a,r),this.emitAndNotify("style")}else if(_(e)){if(void 0===t){var o=this[0];return o?i.getStylePropertyValue(o,e):void 0}i.applyBypass(this,e,t,r),this.emitAndNotify("style")}else if(void 0===e){var s=this[0];return s?i.getRawStyle(s):void 0}return this},removeStyle:function(e){var t=this.cy();if(!t.styleEnabled())return this;var n=!1,r=t.style(),i=this;if(void 0===e)for(var a=0;a<i.length;a++){var o=i[a];r.removeAllBypasses(o,n)}else{e=e.split(/\s+/);for(var s=0;s<i.length;s++){var l=i[s];r.removeBypasses(l,e,n)}}return this.emitAndNotify("style"),this},show:function(){return this.css("display","element"),this},hide:function(){return this.css("display","none"),this},effectiveOpacity:function(){var e=this.cy();if(!e.styleEnabled())return 1;var t=e.hasCompoundNodes(),n=this[0];if(n){var r=n._private,i=n.pstyle("opacity").value;if(!t)return i;var a=r.data.parent?n.parents():null;if(a)for(var o=0;o<a.length;o++)i*=a[o].pstyle("opacity").value;return i}},transparent:function(){if(!this.cy().styleEnabled())return!1;var e=this[0],t=e.cy().hasCompoundNodes();return e?t?0===e.effectiveOpacity():0===e.pstyle("opacity").value:void 0},backgrounding:function(){return!!this.cy().styleEnabled()&&!!this[0]._private.backgrounding}};function au(e,t){var n=e._private.data.parent?e.parents():null;if(n)for(var r=0;r<n.length;r++)if(!t(n[r]))return!1;return!0}function ou(e){var t=e.ok,n=e.edgeOkViaNode||e.ok,r=e.parentOk||e.ok;return function(){var e=this.cy();if(!e.styleEnabled())return!0;var i=this[0],a=e.hasCompoundNodes();if(i){var o=i._private;if(!t(i))return!1;if(i.isNode())return!a||au(i,r);var s=o.source,l=o.target;return n(s)&&(!a||au(s,n))&&(s===l||n(l)&&(!a||au(l,n)))}}}var su=nu("eleTakesUpSpace",(function(e){return"element"===e.pstyle("display").value&&0!==e.width()&&(!e.isNode()||0!==e.height())}));iu.takesUpSpace=ru("takesUpSpace",ou({ok:su}));var lu=nu("eleInteractive",(function(e){return"yes"===e.pstyle("events").value&&"visible"===e.pstyle("visibility").value&&su(e)})),uu=nu("parentInteractive",(function(e){return"visible"===e.pstyle("visibility").value&&su(e)}));iu.interactive=ru("interactive",ou({ok:lu,parentOk:uu,edgeOkViaNode:su})),iu.noninteractive=function(){var e=this[0];if(e)return!e.interactive()};var cu=nu("eleVisible",(function(e){return"visible"===e.pstyle("visibility").value&&0!==e.pstyle("opacity").pfValue&&su(e)})),hu=su;iu.visible=ru("visible",ou({ok:cu,edgeOkViaNode:hu})),iu.hidden=function(){var e=this[0];if(e)return!e.visible()},iu.isBundledBezier=ru("isBundledBezier",(function(){return!!this.cy().styleEnabled()&&!this.removed()&&"bezier"===this.pstyle("curve-style").value&&this.takesUpSpace()})),iu.bypass=iu.css=iu.style,iu.renderedCss=iu.renderedStyle,iu.removeBypass=iu.removeCss=iu.removeStyle,iu.pstyle=iu.parsedStyle;var du={};function pu(e){return function(){var t=arguments,n=[];if(2===t.length){var r=t[0],i=t[1];this.on(e.event,r,i)}else if(1===t.length&&A(t[0])){var a=t[0];this.on(e.event,a)}else if(0===t.length||1===t.length&&C(t[0])){for(var o=1===t.length?t[0]:null,s=0;s<this.length;s++){var l=this[s],u=!e.ableField||l._private[e.ableField],c=l._private[e.field]!=e.value;if(e.overrideAble){var h=e.overrideAble(l);if(void 0!==h&&(u=h,!h))return this}u&&(l._private[e.field]=e.value,c&&n.push(l))}var d=this.spawn(n);d.updateStyle(),d.emit(e.event),o&&d.emit(o)}return this}}function gu(e){du[e.field]=function(){var t=this[0];if(t){if(e.overrideField){var n=e.overrideField(t);if(void 0!==n)return n}return t._private[e.field]}},du[e.on]=pu({event:e.on,field:e.field,ableField:e.ableField,overrideAble:e.overrideAble,value:!0}),du[e.off]=pu({event:e.off,field:e.field,ableField:e.ableField,overrideAble:e.overrideAble,value:!1})}gu({field:"locked",overrideField:function(e){return!!e.cy().autolock()||void 0},on:"lock",off:"unlock"}),gu({field:"grabbable",overrideField:function(e){return!e.cy().autoungrabify()&&!e.pannable()&&void 0},on:"grabify",off:"ungrabify"}),gu({field:"selected",ableField:"selectable",overrideAble:function(e){return!e.cy().autounselectify()&&void 0},on:"select",off:"unselect"}),gu({field:"selectable",overrideField:function(e){return!e.cy().autounselectify()&&void 0},on:"selectify",off:"unselectify"}),du.deselect=du.unselect,du.grabbed=function(){var e=this[0];if(e)return e._private.grabbed},gu({field:"active",on:"activate",off:"unactivate"}),gu({field:"pannable",on:"panify",off:"unpanify"}),du.inactive=function(){var e=this[0];if(e)return!e._private.active};var fu={},vu=function(e){return function(t){for(var n=this,r=[],i=0;i<n.length;i++){var a=n[i];if(a.isNode()){for(var o=!1,s=a.connectedEdges(),l=0;l<s.length;l++){var u=s[l],c=u.source(),h=u.target();if(e.noIncomingEdges&&h===a&&c!==a||e.noOutgoingEdges&&c===a&&h!==a){o=!0;break}}o||r.push(a)}}return this.spawn(r,!0).filter(t)}},yu=function(e){return function(t){for(var n=this,r=[],i=0;i<n.length;i++){var a=n[i];if(a.isNode())for(var o=a.connectedEdges(),s=0;s<o.length;s++){var l=o[s],u=l.source(),c=l.target();e.outgoing&&u===a?(r.push(l),r.push(c)):e.incoming&&c===a&&(r.push(l),r.push(u))}}return this.spawn(r,!0).filter(t)}},mu=function(e){return function(t){for(var n=this,r=[],i={};;){var a=e.outgoing?n.outgoers():n.incomers();if(0===a.length)break;for(var o=!1,s=0;s<a.length;s++){var l=a[s],u=l.id();i[u]||(i[u]=!0,r.push(l),o=!0)}if(!o)break;n=a}return this.spawn(r,!0).filter(t)}};function bu(e){return function(t){for(var n=[],r=0;r<this.length;r++){var i=this[r]._private[e.attr];i&&n.push(i)}return this.spawn(n,!0).filter(t)}}function xu(e){return function(t){var n=[],r=this._private.cy,i=e||{};_(t)&&(t=r.$(t));for(var a=0;a<t.length;a++)for(var o=t[a]._private.edges,s=0;s<o.length;s++){var l=o[s],u=l._private.data,c=this.hasElementWithId(u.source)&&t.hasElementWithId(u.target),h=t.hasElementWithId(u.source)&&this.hasElementWithId(u.target);if(c||h){if(i.thisIsSrc||i.thisIsTgt){if(i.thisIsSrc&&!c)continue;if(i.thisIsTgt&&!h)continue}n.push(l)}}return this.spawn(n,!0)}}function wu(e){return e=re({},{codirected:!1},e),function(t){for(var n=[],r=this.edges(),i=e,a=0;a<r.length;a++)for(var o=r[a]._private,s=o.source,l=s._private.data.id,u=o.data.target,c=s._private.edges,h=0;h<c.length;h++){var d=c[h],p=d._private.data,g=p.target,f=p.source,v=g===u&&f===l,y=l===g&&u===f;(i.codirected&&v||!i.codirected&&(v||y))&&n.push(d)}return this.spawn(n,!0).filter(t)}}fu.clearTraversalCache=function(){for(var e=0;e<this.length;e++)this[e]._private.traversalCache=null},re(fu,{ +// get the root nodes in the DAG +roots:vu({noIncomingEdges:!0}), +// get the leaf nodes in the DAG +leaves:vu({noOutgoingEdges:!0}), +// normally called children in graph theory +// these nodes =edges=> outgoing nodes +outgoers:Ys(yu({outgoing:!0}),"outgoers"), +// aka DAG descendants +successors:mu({outgoing:!0}), +// normally called parents in graph theory +// these nodes <=edges= incoming nodes +incomers:Ys(yu({incoming:!0}),"incomers"), +// aka DAG ancestors +predecessors:mu({incoming:!0})}),re(fu,{neighborhood:Ys((function(e){for(var t=[],n=this.nodes(),r=0;r<n.length;r++)for(var i=n[r],a=i.connectedEdges(),o=0;o<a.length;o++){var s=a[o],l=s.source(),u=s.target(),c=i===l?u:l;c.length>0&&t.push(c[0]),t.push(s[0])}return this.spawn(t,!0).filter(e)}),"neighborhood"),closedNeighborhood:function(e){return this.neighborhood().add(this).filter(e)},openNeighborhood:function(e){return this.neighborhood(e)}}),fu.neighbourhood=fu.neighborhood,fu.closedNeighbourhood=fu.closedNeighborhood,fu.openNeighbourhood=fu.openNeighborhood,re(fu,{source:Ys((function(e){var t,n=this[0];return n&&(t=n._private.source||n.cy().collection()),t&&e?t.filter(e):t}),"source"),target:Ys((function(e){var t,n=this[0];return n&&(t=n._private.target||n.cy().collection()),t&&e?t.filter(e):t}),"target"),sources:bu({attr:"source"}),targets:bu({attr:"target"})}),re(fu,{edgesWith:Ys(xu(),"edgesWith"),edgesTo:Ys(xu({thisIsSrc:!0}),"edgesTo")}),re(fu,{connectedEdges:Ys((function(e){for(var t=[],n=this,r=0;r<n.length;r++){var i=n[r];if(i.isNode())for(var a=i._private.edges,o=0;o<a.length;o++){var s=a[o];t.push(s)}}return this.spawn(t,!0).filter(e)}),"connectedEdges"),connectedNodes:Ys((function(e){for(var t=[],n=this,r=0;r<n.length;r++){var i=n[r];i.isEdge()&&(t.push(i.source()[0]),t.push(i.target()[0]))}return this.spawn(t,!0).filter(e)}),"connectedNodes"),parallelEdges:Ys(wu(),"parallelEdges"),codirectedEdges:Ys(wu({codirected:!0}),"codirectedEdges")}),re(fu,{components:function(e){var t=this,n=t.cy(),r=n.collection(),i=null==e?t.nodes():e.nodes(),a=[];null!=e&&i.empty()&&(i=e.sources());var o=function(e,t){r.merge(e),i.unmerge(e),t.merge(e)};if(i.empty())return t.spawn();var s=function(){var e=n.collection();a.push(e);var r=i[0];o(r,e),t.bfs({directed:!1,roots:r,visit:function(t){return o(t,e)}}),e.forEach((function(n){n.connectedEdges().forEach((function(n){t.has(n)&&e.has(n.source())&&e.has(n.target())&&e.merge(n)}))}))};do{s()}while(i.length>0);return a},component:function(){var e=this[0];return e.cy().mutableElements().components(e)[0]}}),fu.componentsOf=fu.components;var Eu=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(void 0!==e){var i=new Ut,a=!1;if(t){if(t.length>0&&D(t[0])&&!k(t[0])){a=!0;for(var o=[],s=new Ht,l=0,u=t.length;l<u;l++){var c=t[l];null==c.data&&(c.data={});var h=c.data;if(null==h.id)h.id=Mt();else if(e.hasElementWithId(h.id)||s.has(h.id))continue;var d=new qt(e,c,!1);o.push(d),s.add(h.id)}t=o}}else t=[];this.length=0;for(var p=0,g=t.length;p<g;p++){var f=t[p][0];if(null!=f){var v=f._private.data.id;n&&i.has(v)||(n&&i.set(v,{index:this.length,ele:f}),this[this.length]=f,this.length++)}}this._private={eles:this,cy:e,get map(){return null==this.lazyMap&&this.rebuildMap(),this.lazyMap},set map(e){this.lazyMap=e},rebuildMap:function(){for(var e=this.lazyMap=new Ut,t=this.eles,n=0;n<t.length;n++){var r=t[n];e.set(r.id(),{index:n,ele:r})}}},n&&(this._private.map=i),a&&!r&&this.restore()}else Nt("A collection must have a reference to the core")},Tu=qt.prototype=Eu.prototype=Object.create(Array.prototype);Tu.instanceString=function(){return"collection"},Tu.spawn=function(e,t){return new Eu(this.cy(),e,t)},Tu.spawnSelf=function(){return this.spawn(this)},Tu.cy=function(){return this._private.cy},Tu.renderer=function(){return this._private.cy.renderer()},Tu.element=function(){return this[0]},Tu.collection=function(){return M(this)?this:new Eu(this._private.cy,[this])},Tu.unique=function(){return new Eu(this._private.cy,this,!0)},Tu.hasElementWithId=function(e){return e=""+e,this._private.map.has(e)},Tu.getElementById=function(e){e=""+e;var t=this._private.cy,n=this._private.map.get(e);return n?n.ele:new Eu(t)},Tu.$id=Tu.getElementById,Tu.poolIndex=function(){var e=this._private.cy._private.elements,t=this[0]._private.data.id;return e._private.map.get(t).index},Tu.indexOf=function(e){var t=e[0]._private.data.id;return this._private.map.get(t).index},Tu.indexOfId=function(e){return e=""+e,this._private.map.get(e).index},Tu.json=function(e){var t=this.element(),n=this.cy();if(null==t&&e)return this;if(null!=t){var r=t._private;if(D(e)){if(n.startBatch(),e.data){t.data(e.data);var i=r.data;if(t.isEdge()){var a=!1,o={},s=e.data.source,l=e.data.target;null!=s&&s!=i.source&&(o.source=""+s,a=!0),null!=l&&l!=i.target&&(o.target=""+l,a=!0),a&&(t=t.move(o))}else{var u="parent"in e.data,c=e.data.parent;!u||null==c&&null==i.parent||c==i.parent||(void 0===c&&(c=null),null!=c&&(c=""+c),t=t.move({parent:c}))}}e.position&&t.position(e.position);var h=function(n,i,a){var o=e[n];null!=o&&o!==r[n]&&(o?t[i]():t[a]())};return h("removed","remove","restore"),h("selected","select","unselect"),h("selectable","selectify","unselectify"),h("locked","lock","unlock"),h("grabbable","grabify","ungrabify"),h("pannable","panify","unpanify"),null!=e.classes&&t.classes(e.classes),n.endBatch(),this}if(void 0===e){var d={data:It(r.data),position:It(r.position),group:r.group,removed:r.removed,selected:r.selected,selectable:r.selectable,locked:r.locked,grabbable:r.grabbable,pannable:r.pannable,classes:null};d.classes="";var p=0;return r.classes.forEach((function(e){return d.classes+=0==p++?e:" "+e})),d}}},Tu.jsons=function(){for(var e=[],t=0;t<this.length;t++){var n=this[t].json();e.push(n)}return e},Tu.clone=function(){for(var e=this.cy(),t=[],n=0;n<this.length;n++){var r=this[n].json(),i=new qt(e,r,!1);t.push(i)}return new Eu(e,t)},Tu.copy=Tu.clone,Tu.restore=function(){for(var e,t,n=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=this,a=i.cy(),o=a._private,s=[],l=[],u=0,c=i.length;u<c;u++){var h=i[u];r&&!h.removed()||(h.isNode()?s.push(h):l.push(h))}e=s.concat(l);var d=function(){e.splice(t,1),t--};for(t=0;t<e.length;t++){var p=e[t],g=p._private,f=g.data;if(p.clearTraversalCache(),r||g.removed)if(void 0===f.id)f.id=Mt();else if(S(f.id))f.id=""+f.id;else{if(F(f.id)||!_(f.id)){Nt("Can not create element with invalid string ID `"+f.id+"`"),d();continue}if(a.hasElementWithId(f.id)){Nt("Can not create second element with ID `"+f.id+"`"),d();continue}}var v=f.id;if(p.isNode()){var y=g.position;null==y.x&&(y.x=0),null==y.y&&(y.y=0)}if(p.isEdge()){for(var m=p,b=["source","target"],x=b.length,w=!1,E=0;E<x;E++){var T=b[E],A=f[T];S(A)&&(A=f[T]=""+f[T]),null==A||""===A?(Nt("Can not create edge `"+v+"` with unspecified "+T),w=!0):a.hasElementWithId(A)||(Nt("Can not create edge `"+v+"` with nonexistant "+T+" `"+A+"`"),w=!0)}if(w){d();continue}var C=a.getElementById(f.source),D=a.getElementById(f.target);C.same(D)?C._private.edges.push(m):(C._private.edges.push(m),D._private.edges.push(m)),m._private.source=C,m._private.target=D}g.map=new Ut,g.map.set(v,{ele:p,index:0}),g.removed=!1,r&&a.addToPool(p)}for(var N=0;N<s.length;N++){var L=s[N],P=L._private.data;S(P.parent)&&(P.parent=""+P.parent);var I=P.parent;if(null!=I||L._private.parent){var k=L._private.parent?a.collection().merge(L._private.parent):a.getElementById(I);if(k.empty())P.parent=void 0;else if(k[0].removed())Lt("Node added with missing parent, reference to parent removed"),P.parent=void 0,L._private.parent=null;else{for(var M=!1,R=k;!R.empty();){if(L.same(R)){M=!0,P.parent=void 0;break}R=R.parent()}M||(k[0]._private.children.push(L),L._private.parent=k[0],o.hasCompoundNodes=!0)}}}if(e.length>0){for(var O=e.length===i.length?i:new Eu(a,e),B=0;B<O.length;B++){var z=O[B];z.isNode()||(z.parallelEdges().clearTraversalCache(),z.source().clearTraversalCache(),z.target().clearTraversalCache())}(o.hasCompoundNodes?a.collection().merge(O).merge(O.connectedNodes()).merge(O.parent()):O).dirtyCompoundBoundsCache().dirtyBoundingBoxCache().updateStyle(n),n?O.emitAndNotify("add"):r&&O.emit("add")}return i},Tu.removed=function(){var e=this[0];return e&&e._private.removed},Tu.inside=function(){var e=this[0];return e&&!e._private.removed},Tu.remove=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this,r=[],i={},a=n._private.cy;function o(e){for(var t=e._private.edges,n=0;n<t.length;n++)l(t[n])}function s(e){for(var t=e._private.children,n=0;n<t.length;n++)l(t[n])}function l(e){var n=i[e.id()];t&&e.removed()||n||(i[e.id()]=!0,e.isNode()?(r.push(e),o(e),s(e)):r.unshift(e))}for(var u=0,c=n.length;u<c;u++)l(n[u]);function h(e,t){var n=e._private.edges;Ft(n,t),e.clearTraversalCache()}function d(e){e.clearTraversalCache()}var p=[];function g(e,t){t=t[0];var n=(e=e[0])._private.children,r=e.id();Ft(n,t),t._private.parent=null,p.ids[r]||(p.ids[r]=!0,p.push(e))}p.ids={},n.dirtyCompoundBoundsCache(),t&&a.removeFromPool(r);for(var f=0;f<r.length;f++){var v=r[f];if(v.isEdge()){var y=v.source()[0],m=v.target()[0];h(y,v),h(m,v);for(var b=v.parallelEdges(),x=0;x<b.length;x++){var w=b[x];d(w),w.isBundledBezier()&&w.dirtyBoundingBoxCache()}}else{var E=v.parent();0!==E.length&&g(E,v)}t&&(v._private.removed=!0)}var T=a._private.elements;a._private.hasCompoundNodes=!1;for(var _=0;_<T.length;_++)if(T[_].isParent()){a._private.hasCompoundNodes=!0;break}var A=new Eu(this.cy(),r);A.size()>0&&(e?A.emitAndNotify("remove"):t&&A.emit("remove"));for(var C=0;C<p.length;C++){var D=p[C];t&&D.removed()||D.updateStyle()}return A},Tu.move=function(e){var t=this._private.cy,n=this,r=!1,i=!1,a=function(e){return null==e?e:""+e};if(void 0!==e.source||void 0!==e.target){var o=a(e.source),s=a(e.target),l=null!=o&&t.hasElementWithId(o),u=null!=s&&t.hasElementWithId(s);(l||u)&&(t.batch((function(){n.remove(r,i),n.emitAndNotify("moveout");for(var e=0;e<n.length;e++){var t=n[e],a=t._private.data;t.isEdge()&&(l&&(a.source=o),u&&(a.target=s))}n.restore(r,i)})),n.emitAndNotify("move"))}else if(void 0!==e.parent){var c=a(e.parent);if(null===c||t.hasElementWithId(c)){var h=null===c?void 0:c;t.batch((function(){var e=n.remove(r,i);e.emitAndNotify("moveout");for(var t=0;t<n.length;t++){var a=n[t],o=a._private.data;a.isNode()&&(o.parent=h)}e.restore(r,i)})),n.emitAndNotify("move")}}return this},[Mi,gs,fs,zs,Xs,Ks,Zs,Ll,Wl,Hl,Kl,Ql,eu,iu,du,fu].forEach((function(e){re(Tu,e)}));var _u={add:function(e){var t,n=this;if(I(e)){var r=e;if(r._private.cy===n)t=r.restore();else{for(var i=[],a=0;a<r.length;a++){var o=r[a];i.push(o.json())}t=new Eu(n,i)}}else if(C(e))t=new Eu(n,e);else if(D(e)&&(C(e.nodes)||C(e.edges))){for(var s=e,l=[],u=["nodes","edges"],c=0,h=u.length;c<h;c++){var d=u[c],p=s[d];if(C(p))for(var g=0,f=p.length;g<f;g++){var v=re({group:d},p[g]);l.push(v)}}t=new Eu(n,l)}else t=new qt(n,e).collection();return t},remove:function(e){if(I(e));else if(_(e)){var t=e;e=this.$(t)}return e.remove()}}; +/*! Bezier curve function generator. Copyright Gaetan Renaudeau. MIT License: http://en.wikipedia.org/wiki/MIT_License */function Au(e,t,n,r){var i=4,a=.001,o=1e-7,s=10,l=11,u=1/(l-1),c="undefined"!=typeof Float32Array;if(4!==arguments.length)return!1;for(var h=0;h<4;++h)if("number"!=typeof arguments[h]||isNaN(arguments[h])||!isFinite(arguments[h]))return!1;e=Math.min(e,1),n=Math.min(n,1),e=Math.max(e,0),n=Math.max(n,0);var d=c?new Float32Array(l):new Array(l);function p(e,t){return 1-3*t+3*e}function g(e,t){return 3*t-6*e}function f(e){return 3*e}function v(e,t,n){return((p(t,n)*e+g(t,n))*e+f(t))*e}function y(e,t,n){return 3*p(t,n)*e*e+2*g(t,n)*e+f(t)}function m(t,r){for(var a=0;a<i;++a){var o=y(r,e,n);if(0===o)return r;r-=(v(r,e,n)-t)/o}return r}function b(){for(var t=0;t<l;++t)d[t]=v(t*u,e,n)}function x(t,r,i){var a,l,u=0;do{(a=v(l=r+(i-r)/2,e,n)-t)>0?i=l:r=l}while(Math.abs(a)>o&&++u<s);return l}function w(t){for(var r=0,i=1,o=l-1;i!==o&&d[i]<=t;++i)r+=u;--i;var s=r+(t-d[i])/(d[i+1]-d[i])*u,c=y(s,e,n);return c>=a?m(t,s):0===c?s:x(t,r,r+u)}var E=!1;function T(){E=!0,e===t&&n===r||b()}var _=function(i){return E||T(),e===t&&n===r?i:0===i?0:1===i?1:v(w(i),t,r)};_.getControlPoints=function(){return[{x:e,y:t},{x:n,y:r}]};var A="generateBezier("+[e,t,n,r]+")";return _.toString=function(){return A},_} +/*! Runge-Kutta spring physics function generator. Adapted from Framer.js, copyright Koen Bok. MIT License: http://en.wikipedia.org/wiki/MIT_License */var Cu=function(){function e(e){return-e.tension*e.x-e.friction*e.v}function t(t,n,r){var i={x:t.x+r.dx*n,v:t.v+r.dv*n,tension:t.tension,friction:t.friction};return{dx:i.v,dv:e(i)}}function n(n,r){var i={dx:n.v,dv:e(n)},a=t(n,.5*r,i),o=t(n,.5*r,a),s=t(n,r,o),l=1/6*(i.dx+2*(a.dx+o.dx)+s.dx),u=1/6*(i.dv+2*(a.dv+o.dv)+s.dv);return n.x=n.x+l*r,n.v=n.v+u*r,n}return function e(t,r,i){var a,o,s,l={x:-1,v:0,tension:null,friction:null},u=[0],c=0,h=1e-4,d=.016;for(t=parseFloat(t)||500,r=parseFloat(r)||20,i=i||null,l.tension=t,l.friction=r,o=(a=null!==i)?(c=e(t,r))/i*d:d;s=n(s||l,o),u.push(1+s.x),c+=16,Math.abs(s.x)>h&&Math.abs(s.v)>h;);return a?function(e){return u[e*(u.length-1)|0]}:c}}(),Du=function(e,t,n,r){var i=Au(e,t,n,r);return function(e,t,n){return e+(t-e)*i(n)}},Nu={linear:function(e,t,n){return e+(t-e)*n}, +// default easings +ease:Du(.25,.1,.25,1),"ease-in":Du(.42,0,1,1),"ease-out":Du(0,0,.58,1),"ease-in-out":Du(.42,0,.58,1), +// sine +"ease-in-sine":Du(.47,0,.745,.715),"ease-out-sine":Du(.39,.575,.565,1),"ease-in-out-sine":Du(.445,.05,.55,.95), +// quad +"ease-in-quad":Du(.55,.085,.68,.53),"ease-out-quad":Du(.25,.46,.45,.94),"ease-in-out-quad":Du(.455,.03,.515,.955), +// cubic +"ease-in-cubic":Du(.55,.055,.675,.19),"ease-out-cubic":Du(.215,.61,.355,1),"ease-in-out-cubic":Du(.645,.045,.355,1), +// quart +"ease-in-quart":Du(.895,.03,.685,.22),"ease-out-quart":Du(.165,.84,.44,1),"ease-in-out-quart":Du(.77,0,.175,1), +// quint +"ease-in-quint":Du(.755,.05,.855,.06),"ease-out-quint":Du(.23,1,.32,1),"ease-in-out-quint":Du(.86,0,.07,1), +// expo +"ease-in-expo":Du(.95,.05,.795,.035),"ease-out-expo":Du(.19,1,.22,1),"ease-in-out-expo":Du(1,0,0,1), +// circ +"ease-in-circ":Du(.6,.04,.98,.335),"ease-out-circ":Du(.075,.82,.165,1),"ease-in-out-circ":Du(.785,.135,.15,.86), +// user param easings... +spring:function(e,t,n){if(0===n)return Nu.linear;var r=Cu(e,t,n);return function(e,t,n){return e+(t-e)*r(n)}},"cubic-bezier":Du};function Su(e,t,n,r,i){if(1===r)return n;if(t===n)return n;var a=i(t,n,r);return null==e||((e.roundValue||e.color)&&(a=Math.round(a)),void 0!==e.min&&(a=Math.max(a,e.min)),void 0!==e.max&&(a=Math.min(a,e.max))),a}function Lu(e,t){return null!=e.pfValue||null!=e.value?null==e.pfValue||null!=t&&"%"===t.type.units?e.value:e.pfValue:e}function Pu(e,t,n,r,i){var a=null!=i?i.type:null;n<0?n=0:n>1&&(n=1);var o=Lu(e,i),s=Lu(t,i);if(S(o)&&S(s))return Su(a,o,s,n,r);if(C(o)&&C(s)){for(var l=[],u=0;u<s.length;u++){var c=o[u],h=s[u];if(null!=c&&null!=h){var d=Su(a,c,h,n,r);l.push(d)}else l.push(h)}return l}}function Iu(e,t,n,r){var i=!r,a=e._private,o=t._private,s=o.easing,l=o.startTime,u=(r?e:e.cy()).style();if(!o.easingImpl)if(null==s)o.easingImpl=Nu.linear;else{var c,h,d;c=_(s)?u.parse("transition-timing-function",s).value:s,_(c)?(h=c,d=[]):(h=c[1],d=c.slice(2).map((function(e){return+e}))),d.length>0?("spring"===h&&d.push(o.duration),o.easingImpl=Nu[h].apply(null,d)):o.easingImpl=Nu[h]}var p,g=o.easingImpl;if(p=0===o.duration?1:(n-l)/o.duration,o.applying&&(p=o.progress),p<0?p=0:p>1&&(p=1),null==o.delay){var f=o.startPosition,v=o.position;if(v&&i&&!e.locked()){var y={};ku(f.x,v.x)&&(y.x=Pu(f.x,v.x,p,g)),ku(f.y,v.y)&&(y.y=Pu(f.y,v.y,p,g)),e.position(y)}var m=o.startPan,b=o.pan,x=a.pan,w=null!=b&&r;w&&(ku(m.x,b.x)&&(x.x=Pu(m.x,b.x,p,g)),ku(m.y,b.y)&&(x.y=Pu(m.y,b.y,p,g)),e.emit("pan"));var E=o.startZoom,T=o.zoom,A=null!=T&&r;A&&(ku(E,T)&&(a.zoom=Pn(a.minZoom,Pu(E,T,p,g),a.maxZoom)),e.emit("zoom")),(w||A)&&e.emit("viewport");var C=o.style;if(C&&C.length>0&&i){for(var D=0;D<C.length;D++){var N=C[D],S=N.name,L=N,P=o.startStyle[S],I=Pu(P,L,p,g,u.properties[P.name]);u.overrideBypass(e,S,I)}e.emit("style")}}return o.progress=p,p}function ku(e,t){return!(null==e||null==t||!(S(e)&&S(t)||e&&t))}function Mu(e,t,n,r){var i=t._private;i.started=!0,i.startTime=n-i.progress*i.duration}function Ru(e,t){var n=t._private.aniEles,r=[];function i(t,n){var i=t._private,a=i.animation.current,o=i.animation.queue,s=!1;if(0===a.length){var l=o.shift();l&&a.push(l)}for(var u=function(e){for(var t=e.length-1;t>=0;t--)(0,e[t])();e.splice(0,e.length)},c=a.length-1;c>=0;c--){var h=a[c],d=h._private;d.stopped?(a.splice(c,1),d.hooked=!1,d.playing=!1,d.started=!1,u(d.frames)):(d.playing||d.applying)&&(d.playing&&d.applying&&(d.applying=!1),d.started||Mu(t,h,e),Iu(t,h,e,n),d.applying&&(d.applying=!1),u(d.frames),null!=d.step&&d.step(e),h.completed()&&(a.splice(c,1),d.hooked=!1,d.playing=!1,d.started=!1,u(d.completes)),s=!0)}return n||0!==a.length||0!==o.length||r.push(t),s}for(var a=!1,o=0;o<n.length;o++){var s=i(n[o]);a=a||s}var l=i(t,!0);(a||l)&&(n.length>0?t.notify("draw",n):t.notify("draw")),n.unmerge(r),t.emit("step")}var Ou={ +// pull in animation functions +animate:ps.animate(),animation:ps.animation(),animated:ps.animated(),clearQueue:ps.clearQueue(),delay:ps.delay(),delayAnimation:ps.delayAnimation(),stop:ps.stop(),addToAnimationPool:function(e){var t=this;t.styleEnabled()&&t._private.aniEles.merge(e)},stopAnimationLoop:function(){this._private.animationsRunning=!1},startAnimationLoop:function(){var e=this;if(e._private.animationsRunning=!0,e.styleEnabled()){var t=e.renderer();t&&t.beforeRender?t.beforeRender((function(t,n){Ru(n,e)}),t.beforeRenderPriorities.animations):n()}function n(){e._private.animationsRunning&&st((function(t){Ru(t,e),n()}))}}},Bu={qualifierCompare:function(e,t){return null==e||null==t?null==e&&null==t:e.sameText(t)},eventMatches:function(e,t,n){var r=t.qualifier;return null==r||e!==n.target&&k(n.target)&&r.matches(n.target)},addEventFields:function(e,t){t.cy=e,t.target=e},callbackContext:function(e,t,n){return null!=t.qualifier?n.target:e}},Fu=function(e){return _(e)?new Bs(e):e},zu={createEmitter:function(){var e=this._private;return e.emitter||(e.emitter=new zl(Bu,this)),this},emitter:function(){return this._private.emitter},on:function(e,t,n){return this.emitter().on(e,Fu(t),n),this},removeListener:function(e,t,n){return this.emitter().removeListener(e,Fu(t),n),this},removeAllListeners:function(){return this.emitter().removeAllListeners(),this},one:function(e,t,n){return this.emitter().one(e,Fu(t),n),this},once:function(e,t,n){return this.emitter().one(e,Fu(t),n),this},emit:function(e,t){return this.emitter().emit(e,t),this},emitAndNotify:function(e,t){return this.emit(e),this.notify(e,t),this}};ps.eventAliasesOn(zu);var Gu={png:function(e){return e=e||{},this._private.renderer.png(e)},jpg:function(e){var t=this._private.renderer;return(e=e||{}).bg=e.bg||"#fff",t.jpg(e)}};Gu.jpeg=Gu.jpg;var Vu={layout:function(e){var t=this;if(null!=e)if(null!=e.name){var n,r=e.name,i=t.extension("layout",r);if(null!=i)return n=_(e.eles)?t.$(e.eles):null!=e.eles?e.eles:t.$(),new i(re({},e,{cy:t,eles:n}));Nt("No such layout `"+r+"` found. Did you forget to import it and `cytoscape.use()` it?")}else Nt("A `name` must be specified to make a layout");else Nt("Layout options must be specified to make a layout")}};Vu.createLayout=Vu.makeLayout=Vu.layout;var Yu={notify:function(e,t){var n=this._private;if(this.batching()){n.batchNotifications=n.batchNotifications||{};var r=n.batchNotifications[e]=n.batchNotifications[e]||this.collection();null!=t&&r.merge(t)}else if(n.notificationsEnabled){var i=this.renderer();!this.destroyed()&&i&&i.notify(e,t)}},notifications:function(e){var t=this._private;return void 0===e?t.notificationsEnabled:(t.notificationsEnabled=!!e,this)},noNotifications:function(e){this.notifications(!1),e(),this.notifications(!0)},batching:function(){return this._private.batchCount>0},startBatch:function(){var e=this._private;return null==e.batchCount&&(e.batchCount=0),0===e.batchCount&&(e.batchStyleEles=this.collection(),e.batchNotifications={}),e.batchCount++,this},endBatch:function(){var e=this._private;if(0===e.batchCount)return this;if(e.batchCount--,0===e.batchCount){e.batchStyleEles.updateStyle();var t=this.renderer();Object.keys(e.batchNotifications).forEach((function(n){var r=e.batchNotifications[n];r.empty()?t.notify(n):t.notify(n,r)}))}return this},batch:function(e){return this.startBatch(),e(),this.endBatch(),this}, +// for backwards compatibility +batchData:function(e){var t=this;return this.batch((function(){for(var n=Object.keys(e),r=0;r<n.length;r++){var i=n[r],a=e[i];t.getElementById(i).data(a)}}))}},Xu=Bt({hideEdgesOnViewport:!1,textureOnViewport:!1,motionBlur:!1,motionBlurOpacity:.05,pixelRatio:void 0,desktopTapThreshold:4,touchTapThreshold:8,wheelSensitivity:1,debug:!1,showFps:!1, +// webgl options +webgl:!1,webglDebug:!1,webglDebugShowAtlases:!1, +// defaults good for mobile +webglTexSize:2048,webglTexRows:12,webglBatchSize:2048,webglTexPerBatch:14,webglBgColor:[255,255,255]}),Uu={renderTo:function(e,t,n,r){return this._private.renderer.renderTo(e,t,n,r),this},renderer:function(){return this._private.renderer},forceRender:function(){return this.notify("draw"),this},resize:function(){return this.invalidateSize(),this.emitAndNotify("resize"),this},initRenderer:function(e){var t=this,n=t.extension("renderer",e.name);if(null!=n){void 0!==e.wheelSensitivity&&Lt("You have set a custom wheel sensitivity. This will make your app zoom unnaturally when using mainstream mice. You should change this value from the default only if you can guarantee that all your users will use the same hardware and OS configuration as your current machine.");var r=Xu(e);r.cy=t,t._private.renderer=new n(r),this.notify("init")}else Nt("Can not initialise: No such renderer `".concat(e.name,"` found. Did you forget to import it and `cytoscape.use()` it?"))},destroyRenderer:function(){var e=this;e.notify("destroy");var t=e.container();if(t)for(t._cyreg=null;t.childNodes.length>0;)t.removeChild(t.childNodes[0]);e._private.renderer=null,e.mutableElements().forEach((function(e){var t=e._private;t.rscratch={},t.rstyle={},t.animation.current=[],t.animation.queue=[]}))},onRender:function(e){return this.on("render",e)},offRender:function(e){return this.off("render",e)}};Uu.invalidateDimensions=Uu.resize;var ju={ +// get a collection +// - empty collection on no args +// - collection of elements in the graph on selector arg +// - guarantee a returned collection when elements or collection specified +collection:function(e,t){return _(e)?this.$(e):I(e)?e.collection():C(e)?(t||(t={}),new Eu(this,e,t.unique,t.removed)):new Eu(this)},nodes:function(e){var t=this.$((function(e){return e.isNode()}));return e?t.filter(e):t},edges:function(e){var t=this.$((function(e){return e.isEdge()}));return e?t.filter(e):t}, +// search the graph like jQuery +$:function(e){var t=this._private.elements;return e?t.filter(e):t.spawnSelf()},mutableElements:function(){return this._private.elements}};ju.elements=ju.filter=ju.$;var Wu={},Hu="t",qu="f";Wu.apply=function(e){for(var t=this,n=t._private.cy.collection(),r=0;r<e.length;r++){var i=e[r],a=t.getContextMeta(i);if(!a.empty){var o=t.getContextStyle(a),s=t.applyContextStyle(a,o,i);i._private.appliedInitStyle?t.updateTransitions(i,s.diffProps):i._private.appliedInitStyle=!0,t.updateStyleHints(i)&&n.push(i)}}return n},Wu.getPropertiesDiff=function(e,t){var n=this,r=n._private.propDiffs=n._private.propDiffs||{},i=e+"-"+t,a=r[i];if(a)return a;for(var o=[],s={},l=0;l<n.length;l++){var u=n[l],c=e[l]===Hu,h=t[l]===Hu,d=c!==h,p=u.mappedProperties.length>0;if(d||h&&p){var g=void 0;d&&p||d?g=u.properties:p&&(g=u.mappedProperties);for(var f=0;f<g.length;f++){for(var v=g[f],y=v.name,m=!1,b=l+1;b<n.length;b++){var x=n[b];if(t[b]===Hu&&(m=null!=x.properties[v.name]))break}s[y]||m||(s[y]=!0,o.push(y))}}}return r[i]=o,o},Wu.getContextMeta=function(e){for(var t,n=this,r="",i=e._private.styleCxtKey||"",a=0;a<n.length;a++){var o=n[a];r+=o.selector&&o.selector.matches(e)?Hu:qu}return t=n.getPropertiesDiff(i,r),e._private.styleCxtKey=r,{key:r,diffPropNames:t,empty:0===t.length}},Wu.getContextStyle=function(e){var t=e.key,n=this,r=this._private.contextStyles=this._private.contextStyles||{};if(r[t])return r[t];for(var i={_private:{key:t}},a=0;a<n.length;a++){var o=n[a];if(t[a]===Hu)for(var s=0;s<o.properties.length;s++){var l=o.properties[s];i[l.name]=l}}return r[t]=i,i},Wu.applyContextStyle=function(e,t,n){for(var r=this,i=e.diffPropNames,a={},o=r.types,s=0;s<i.length;s++){var l=i[s],u=t[l],c=n.pstyle(l);if(!u){if(!c)continue;u=c.bypass?{name:l,deleteBypassed:!0}:{name:l,delete:!0}}if(c!==u){if(u.mapped===o.fn&&null!=c&&null!=c.mapping&&c.mapping.value===u.value){var h=c.mapping;if((h.fnValue=u.value(n))===h.prevFnValue)continue}var d=a[l]={prev:c};r.applyParsedProperty(n,u),d.next=n.pstyle(l),d.next&&d.next.bypass&&(d.next=d.next.bypassed)}}return{diffProps:a}},Wu.updateStyleHints=function(e){var t=e._private,n=this,r=n.propertyGroupNames,i=n.propertyGroupKeys,a=function(e,t,r){return n.getPropertiesHash(e,t,r)},o=t.styleKey;if(e.removed())return!1;var s="nodes"===t.group,l=e._private.style;r=Object.keys(l);for(var u=0;u<i.length;u++){var c=i[u];t.styleKeys[c]=[ut,ht]}for(var h=function(e,n){return t.styleKeys[n][0]=pt(e,t.styleKeys[n][0])},d=function(e,n){return t.styleKeys[n][1]=gt(e,t.styleKeys[n][1])},p=function(e,t){h(e,t),d(e,t)},g=function(e,t){for(var n=0;n<e.length;n++){var r=e.charCodeAt(n);h(r,t),d(r,t)}},f=2e9,v=function(e){return-128<e&&e<128&&Math.floor(e)!==e?f-(1024*e|0):e},y=0;y<r.length;y++){var m=r[y],b=l[m];if(null!=b){var x=this.properties[m],w=x.type,E=x.groupKey,T=void 0;null!=x.hashOverride?T=x.hashOverride(e,b):null!=b.pfValue&&(T=b.pfValue);var _=null==x.enums?b.value:null,A=null!=T,C=A||null!=_,D=b.units;w.number&&C&&!w.multiple?(p(v(A?T:_),E),A||null==D||g(D,E)):g(b.strValue,E)}}for(var N=[ut,ht],S=0;S<i.length;S++){var L=i[S],P=t.styleKeys[L];N[0]=pt(P[0],N[0]),N[1]=gt(P[1],N[1])}t.styleKey=ft(N[0],N[1]);var I=t.styleKeys;t.labelDimsKey=vt(I.labelDimensions);var k=a(e,["label"],I.labelDimensions);if(t.labelKey=vt(k),t.labelStyleKey=vt(yt(I.commonLabel,k)),!s){var M=a(e,["source-label"],I.labelDimensions);t.sourceLabelKey=vt(M),t.sourceLabelStyleKey=vt(yt(I.commonLabel,M));var R=a(e,["target-label"],I.labelDimensions);t.targetLabelKey=vt(R),t.targetLabelStyleKey=vt(yt(I.commonLabel,R))}if(s){var O=t.styleKeys,B=O.nodeBody,F=O.nodeBorder,z=O.nodeOutline,G=O.backgroundImage,V=O.compound,Y=O.pie,X=[B,F,z,G,V,Y].filter((function(e){return null!=e})).reduce(yt,[ut,ht]);t.nodeKey=vt(X),t.hasPie=null!=Y&&Y[0]!==ut&&Y[1]!==ht}return o!==t.styleKey},Wu.clearStyleHints=function(e){var t=e._private;t.styleCxtKey="",t.styleKeys={},t.styleKey=null,t.labelKey=null,t.labelStyleKey=null,t.sourceLabelKey=null,t.sourceLabelStyleKey=null,t.targetLabelKey=null,t.targetLabelStyleKey=null,t.nodeKey=null,t.hasPie=null},Wu.applyParsedProperty=function(e,t){var n,r=this,i=t,a=e._private.style,o=r.types,s=r.properties[i.name].type,l=i.bypass,u=a[i.name],c=u&&u.bypass,h=e._private,d="mapping",p=function(e){return null==e?null:null!=e.pfValue?e.pfValue:e.value},g=function(){var t=p(u),n=p(i);r.checkTriggers(e,i.name,t,n)};if("curve-style"===t.name&&e.isEdge()&&(// loops must be bundled beziers +"bezier"!==t.value&&e.isLoop()||// edges connected to compound nodes can not be haystacks +"haystack"===t.value&&(e.source().isParent()||e.target().isParent()))&&(i=t=this.parse(t.name,"bezier",l)),i.delete)return a[i.name]=void 0,g(),!0;if(i.deleteBypassed)return u?!!u.bypass&&(u.bypassed=void 0,g(),!0):(g(),!0);if(i.deleteBypass)return u?!!u.bypass&&(a[i.name]=u.bypassed,g(),!0):(g(),!0);var f=function(){Lt("Do not assign mappings to elements without corresponding data (i.e. ele `"+e.id()+"` has no mapping for property `"+i.name+"` with data field `"+i.field+"`); try a `["+i.field+"]` selector to limit scope to elements with `"+i.field+"` defined")};switch(i.mapped){ +// flatten the property if mapped +case o.mapData:for(var v,y=i.field.split("."),m=h.data,b=0;b<y.length&&m;b++)m=m[y[b]];if(null==m)return f(),!1;if(!S(m))return Lt("Do not use continuous mappers without specifying numeric data (i.e. `"+i.field+": "+m+"` for `"+e.id()+"` is non-numeric)"),!1;var x=i.fieldMax-i.fieldMin;if((v=0===x?0:(m-i.fieldMin)/x)<0?v=0:v>1&&(v=1),s.color){var w=i.valueMin[0],E=i.valueMax[0],T=i.valueMin[1],_=i.valueMax[1],A=i.valueMin[2],C=i.valueMax[2],D=null==i.valueMin[3]?1:i.valueMin[3],N=null==i.valueMax[3]?1:i.valueMax[3],L=[Math.round(w+(E-w)*v),Math.round(T+(_-T)*v),Math.round(A+(C-A)*v),Math.round(D+(N-D)*v)];n={ +// colours are simple, so just create the flat property instead of expensive string parsing +bypass:i.bypass, +// we're a bypass if the mapping property is a bypass +name:i.name,value:L,strValue:"rgb("+L[0]+", "+L[1]+", "+L[2]+")"}}else{if(!s.number)return!1;var P=i.valueMin+(i.valueMax-i.valueMin)*v;n=this.parse(i.name,P,i.bypass,d)}if(!n)return f(),!1;n.mapping=i,i=n;break; +// direct mapping +case o.data:for(var I=i.field.split("."),k=h.data,M=0;M<I.length&&k;M++)k=k[I[M]];if(null!=k&&(n=this.parse(i.name,k,i.bypass,d)),!n)return f(),!1;n.mapping=i,i=n;break;case o.fn:var R=i.value,O=null!=i.fnValue?i.fnValue:R(e);if(i.prevFnValue=O,null==O)return Lt("Custom function mappers may not return null (i.e. `"+i.name+"` for ele `"+e.id()+"` is null)"),!1;if(!(n=this.parse(i.name,O,i.bypass,d)))return Lt("Custom function mappers may not return invalid values for the property type (i.e. `"+i.name+"` for ele `"+e.id()+"` is invalid)"),!1;n.mapping=It(i),i=n;break;case void 0:break; +// just set the property +default:return!1}return l?(i.bypassed=c?u.bypassed:u,a[i.name]=i):c?u.bypassed=i:a[i.name]=i,g(),!0},Wu.cleanElements=function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(this.clearStyleHints(r),r.dirtyCompoundBoundsCache(),r.dirtyBoundingBoxCache(),t)for(var i=r._private.style,a=Object.keys(i),o=0;o<a.length;o++){var s=a[o],l=i[s];null!=l&&(l.bypass?l.bypassed=null:i[s]=null)}else r._private.style={}}},Wu.update=function(){this._private.cy.mutableElements().updateStyle()},Wu.updateTransitions=function(e,t){var n=this,r=e._private,i=e.pstyle("transition-property").value,a=e.pstyle("transition-duration").pfValue,o=e.pstyle("transition-delay").pfValue;if(i.length>0&&a>0){for(var s={},l=!1,u=0;u<i.length;u++){var c=i[u],h=e.pstyle(c),d=t[c];if(d){var p=d.prev,g=null!=d.next?d.next:h,f=!1,v=void 0,y=1e-6;p&&(S(p.pfValue)&&S(g.pfValue)?(f=g.pfValue-p.pfValue,v=p.pfValue+y*f):S(p.value)&&S(g.value)?(f=g.value-p.value,v=p.value+y*f):C(p.value)&&C(g.value)&&(f=p.value[0]!==g.value[0]||p.value[1]!==g.value[1]||p.value[2]!==g.value[2],v=p.strValue),f&&(s[c]=g.strValue,this.applyBypass(e,c,v),l=!0))}}if(!l)return;r.transitioning=!0,new Ui((function(t){o>0?e.delayAnimation(o).play().promise().then(t):t()})).then((function(){return e.animation({style:s,duration:a,easing:e.pstyle("transition-timing-function").value,queue:!1}).play().promise()})).then((function(){n.removeBypasses(e,i),e.emitAndNotify("style"),r.transitioning=!1}))}else r.transitioning&&(this.removeBypasses(e,i),e.emitAndNotify("style"),r.transitioning=!1)},Wu.checkTrigger=function(e,t,n,r,i,a){var o=this.properties[t],s=i(o);null!=s&&s(n,r)&&a(o)},Wu.checkZOrderTrigger=function(e,t,n,r){var i=this;this.checkTrigger(e,t,n,r,(function(e){return e.triggersZOrder}),(function(){i._private.cy.notify("zorder",e)}))},Wu.checkBoundsTrigger=function(e,t,n,r){this.checkTrigger(e,t,n,r,(function(e){return e.triggersBounds}),(function(i){e.dirtyCompoundBoundsCache(),e.dirtyBoundingBoxCache(), +// only for beziers -- so performance of other edges isn't affected +!i.triggersBoundsOfParallelBeziers||"curve-style"!==t||"bezier"!==n&&"bezier"!==r||e.parallelEdges().forEach((function(e){e.dirtyBoundingBoxCache()})),!i.triggersBoundsOfConnectedEdges||"display"!==t||"none"!==n&&"none"!==r||e.connectedEdges().forEach((function(e){e.dirtyBoundingBoxCache()}))}))},Wu.checkTriggers=function(e,t,n,r){e.dirtyStyleCache(),this.checkZOrderTrigger(e,t,n,r),this.checkBoundsTrigger(e,t,n,r)};var $u={applyBypass:function(e,t,n,r){var i=this,a=[],o=!0;if("*"===t||"**"===t){if(void 0!==n)for(var s=0;s<i.properties.length;s++){var l=i.properties[s].name,u=this.parse(l,n,!0);u&&a.push(u)}}else if(_(t)){var c=this.parse(t,n,!0);c&&a.push(c)}else{if(!D(t))return!1;var h=t;r=n;for(var d=Object.keys(h),p=0;p<d.length;p++){var g=d[p],f=h[g];if(void 0===f&&(f=h[j(g)]),void 0!==f){var v=this.parse(g,f,!0);v&&a.push(v)}}}if(0===a.length)return!1;for(var y=!1,m=0;m<e.length;m++){for(var b=e[m],x={},w=void 0,E=0;E<a.length;E++){var T=a[E];if(r){var A=b.pstyle(T.name);w=x[T.name]={prev:A}}y=this.applyParsedProperty(b,It(T))||y,r&&(w.next=b.pstyle(T.name))}y&&this.updateStyleHints(b),r&&this.updateTransitions(b,x,o)}return y},overrideBypass:function(e,t,n){t=U(t);for(var r=0;r<e.length;r++){var i=e[r],a=i._private.style[t],o=this.properties[t].type,s=o.color,l=o.mutiple,u=a?null!=a.pfValue?a.pfValue:a.value:null;a&&a.bypass?(a.value=n,null!=a.pfValue&&(a.pfValue=n),a.strValue=s?"rgb("+n.join(",")+")":l?n.join(" "):""+n,this.updateStyleHints(i)):this.applyBypass(i,t,n),this.checkTriggers(i,t,u,n)}},removeAllBypasses:function(e,t){return this.removeBypasses(e,this.propertyNames,t)},removeBypasses:function(e,t,n){for(var r=!0,i=0;i<e.length;i++){for(var a=e[i],o={},s=0;s<t.length;s++){var l=t[s],u=this.properties[l],c=a.pstyle(u.name);if(c&&c.bypass){var h="",d=this.parse(l,h,!0),p=o[u.name]={prev:c};this.applyParsedProperty(a,d),p.next=a.pstyle(u.name)}}this.updateStyleHints(a),n&&this.updateTransitions(a,o,r)}}},Ku={getEmSizeInPixels:function(){var e=this.containerCss("font-size");return null!=e?parseFloat(e):1},containerCss:function(e){var t=this._private.cy,n=t.container(),r=t.window();if(r&&n&&r.getComputedStyle)return r.getComputedStyle(n).getPropertyValue(e)}},Zu={getRenderedStyle:function(e,t){return t?this.getStylePropertyValue(e,t,!0):this.getRawStyle(e,!0)},getRawStyle:function(e,t){var n=this;if(e=e[0]){for(var r={},i=0;i<n.properties.length;i++){var a=n.properties[i],o=n.getStylePropertyValue(e,a.name,t);null!=o&&(r[a.name]=o,r[j(a.name)]=o)}return r}},getIndexedStyle:function(e,t,n,r){var i=e.pstyle(t)[n][r];return null!=i?i:e.cy().style().getDefaultProperty(t)[n][0]},getStylePropertyValue:function(e,t,n){var r=this;if(e=e[0]){var i=r.properties[t];i.alias&&(i=i.pointsTo);var a=i.type,o=e.pstyle(i.name);if(o){var s=o.value,l=o.units,u=o.strValue;if(n&&a.number&&null!=s&&S(s)){var c=e.cy().zoom(),h=function(e){return e*c},d=function(e,t){return h(e)+t},p=C(s);return(p?l.every((function(e){return null!=e})):null!=l)?p?s.map((function(e,t){return d(e,l[t])})).join(" "):d(s,l):p?s.map((function(e){return _(e)?e:""+h(e)})).join(" "):""+h(s)}if(null!=u)return u}return null}},getAnimationStartStyle:function(e,t){for(var n={},r=0;r<t.length;r++){var i=t[r].name,a=e.pstyle(i);void 0!==a&&(a=D(a)?this.parse(i,a.strValue):this.parse(i,a)),a&&(n[i]=a)}return n},getPropsList:function(e){var t=[],n=e,r=this.properties;if(n)for(var i=Object.keys(n),a=0;a<i.length;a++){var o=i[a],s=n[o],l=r[o]||r[U(o)],u=this.parse(l.name,s);u&&t.push(u)}return t},getNonDefaultPropertiesHash:function(e,t,n){var r,i,a,o,s,l,u=n.slice();for(s=0;s<t.length;s++)if(r=t[s],null!=(i=e.pstyle(r,!1)))if(null!=i.pfValue)u[0]=pt(o,u[0]),u[1]=gt(o,u[1]);else for(a=i.strValue,l=0;l<a.length;l++)o=a.charCodeAt(l),u[0]=pt(o,u[0]),u[1]=gt(o,u[1]);return u}};Zu.getPropertiesHash=Zu.getNonDefaultPropertiesHash;var Qu={appendFromJson:function(e){for(var t=this,n=0;n<e.length;n++){var r=e[n],i=r.selector,a=r.style||r.css,o=Object.keys(a);t.selector(i);for(var s=0;s<o.length;s++){var l=o[s],u=a[l];t.css(l,u)}}return t},fromJson:function(e){var t=this;return t.resetToDefault(),t.appendFromJson(e),t},json:function(){for(var e=[],t=this.defaultLength;t<this.length;t++){for(var n=this[t],r=n.selector,i=n.properties,a={},o=0;o<i.length;o++){var s=i[o];a[s.name]=s.strValue}e.push({selector:r?r.toString():"core",style:a})}return e}},Ju={appendFromString:function(e){var t,n,r,i=this,a=this,o=""+e;function s(){o=o.length>t.length?o.substr(t.length):""}function l(){n=n.length>r.length?n.substr(r.length):""}for(o=o.replace(/[/][*](\s|.)+?[*][/]/g,"");!o.match(/^\s*$/);){var u=o.match(/^\s*((?:.|\s)+?)\s*\{((?:.|\s)+?)\}/);if(!u){Lt("Halting stylesheet parsing: String stylesheet contains more to parse but no selector and block found in: "+o);break}t=u[0];var c=u[1];if("core"!==c&&new Bs(c).invalid)Lt("Skipping parsing of block: Invalid selector found in string stylesheet: "+c),s();else{var h=u[2],d=!1;n=h;for(var p=[];!n.match(/^\s*$/);){var g=n.match(/^\s*(.+?)\s*:\s*(.+?)(?:\s*;|\s*$)/);if(!g){Lt("Skipping parsing of block: Invalid formatting of style property and value definitions found in:"+h),d=!0;break}r=g[0];var f=g[1],v=g[2];i.properties[f]?a.parse(f,v)?(p.push({name:f,val:v}),l()):(Lt("Skipping property: Invalid property definition in: "+r),l()):(Lt("Skipping property: Invalid property name in: "+r),l())}if(d){s();break}a.selector(c);for(var y=0;y<p.length;y++){var m=p[y];a.css(m.name,m.val)}s()}}return a},fromString:function(e){var t=this;return t.resetToDefault(),t.appendFromString(e),t}},ec={};(function(){var e=q,t=K,n=Q,r=J,i=ee,a=function(e){return"^"+e+"\\s*\\(\\s*([\\w\\.]+)\\s*\\)$"},o=function(a){var o=e+"|\\w+|"+t+"|"+n+"|"+r+"|"+i;return"^"+a+"\\s*\\(([\\w\\.]+)\\s*\\,\\s*("+e+")\\s*\\,\\s*("+e+")\\s*,\\s*("+o+")\\s*\\,\\s*("+o+")\\)$"},s=["^url\\s*\\(\\s*['\"]?(.+?)['\"]?\\s*\\)$","^(none)$","^(.+)$"];ec.types={time:{number:!0,min:0,units:"s|ms",implicitUnits:"ms"},percent:{number:!0,min:0,max:100,units:"%",implicitUnits:"%"},percentages:{number:!0,min:0,max:100,units:"%",implicitUnits:"%",multiple:!0},zeroOneNumber:{number:!0,min:0,max:1,unitless:!0},zeroOneNumbers:{number:!0,min:0,max:1,unitless:!0,multiple:!0},nOneOneNumber:{number:!0,min:-1,max:1,unitless:!0},nonNegativeInt:{number:!0,min:0,integer:!0,unitless:!0},nonNegativeNumber:{number:!0,min:0,unitless:!0},position:{enums:["parent","origin"]},nodeSize:{number:!0,min:0,enums:["label"]},number:{number:!0,unitless:!0},numbers:{number:!0,unitless:!0,multiple:!0},positiveNumber:{number:!0,unitless:!0,min:0,strictMin:!0},size:{number:!0,min:0},bidirectionalSize:{number:!0}, +// allows negative +bidirectionalSizeMaybePercent:{number:!0,allowPercent:!0}, +// allows negative +bidirectionalSizes:{number:!0,multiple:!0}, +// allows negative +sizeMaybePercent:{number:!0,min:0,allowPercent:!0},axisDirection:{enums:["horizontal","leftward","rightward","vertical","upward","downward","auto"]},paddingRelativeTo:{enums:["width","height","average","min","max"]},bgWH:{number:!0,min:0,allowPercent:!0,enums:["auto"],multiple:!0},bgPos:{number:!0,allowPercent:!0,multiple:!0},bgRelativeTo:{enums:["inner","include-padding"],multiple:!0},bgRepeat:{enums:["repeat","repeat-x","repeat-y","no-repeat"],multiple:!0},bgFit:{enums:["none","contain","cover"],multiple:!0},bgCrossOrigin:{enums:["anonymous","use-credentials","null"],multiple:!0},bgClip:{enums:["none","node"],multiple:!0},bgContainment:{enums:["inside","over"],multiple:!0},color:{color:!0},colors:{color:!0,multiple:!0},fill:{enums:["solid","linear-gradient","radial-gradient"]},bool:{enums:["yes","no"]},bools:{enums:["yes","no"],multiple:!0},lineStyle:{enums:["solid","dotted","dashed"]},lineCap:{enums:["butt","round","square"]},linePosition:{enums:["center","inside","outside"]},lineJoin:{enums:["round","bevel","miter"]},borderStyle:{enums:["solid","dotted","dashed","double"]},curveStyle:{enums:["bezier","unbundled-bezier","haystack","segments","straight","straight-triangle","taxi","round-segments","round-taxi"]},radiusType:{enums:["arc-radius","influence-radius"],multiple:!0},fontFamily:{regex:'^([\\w- \\"]+(?:\\s*,\\s*[\\w- \\"]+)*)$'},fontStyle:{enums:["italic","normal","oblique"]},fontWeight:{enums:["normal","bold","bolder","lighter","100","200","300","400","500","600","800","900",100,200,300,400,500,600,700,800,900]},textDecoration:{enums:["none","underline","overline","line-through"]},textTransform:{enums:["none","uppercase","lowercase"]},textWrap:{enums:["none","wrap","ellipsis"]},textOverflowWrap:{enums:["whitespace","anywhere"]},textBackgroundShape:{enums:["rectangle","roundrectangle","round-rectangle"]},nodeShape:{enums:["rectangle","roundrectangle","round-rectangle","cutrectangle","cut-rectangle","bottomroundrectangle","bottom-round-rectangle","barrel","ellipse","triangle","round-triangle","square","pentagon","round-pentagon","hexagon","round-hexagon","concavehexagon","concave-hexagon","heptagon","round-heptagon","octagon","round-octagon","tag","round-tag","star","diamond","round-diamond","vee","rhomboid","right-rhomboid","polygon"]},overlayShape:{enums:["roundrectangle","round-rectangle","ellipse"]},cornerRadius:{number:!0,min:0,units:"px|em",implicitUnits:"px",enums:["auto"]},compoundIncludeLabels:{enums:["include","exclude"]},arrowShape:{enums:["tee","triangle","triangle-tee","circle-triangle","triangle-cross","triangle-backcurve","vee","square","circle","diamond","chevron","none"]},arrowFill:{enums:["filled","hollow"]},arrowWidth:{number:!0,units:"%|px|em",implicitUnits:"px",enums:["match-line"]},display:{enums:["element","none"]},visibility:{enums:["hidden","visible"]},zCompoundDepth:{enums:["bottom","orphan","auto","top"]},zIndexCompare:{enums:["auto","manual"]},valign:{enums:["top","center","bottom"]},halign:{enums:["left","center","right"]},justification:{enums:["left","center","right","auto"]},text:{string:!0},data:{mapping:!0,regex:a("data")},layoutData:{mapping:!0,regex:a("layoutData")},scratch:{mapping:!0,regex:a("scratch")},mapData:{mapping:!0,regex:o("mapData")},mapLayoutData:{mapping:!0,regex:o("mapLayoutData")},mapScratch:{mapping:!0,regex:o("mapScratch")},fn:{mapping:!0,fn:!0},url:{regexes:s,singleRegexMatchValue:!0},urls:{regexes:s,singleRegexMatchValue:!0,multiple:!0},propList:{propList:!0},angle:{number:!0,units:"deg|rad",implicitUnits:"rad"},textRotation:{number:!0,units:"deg|rad",implicitUnits:"rad",enums:["none","autorotate"]},polygonPointList:{number:!0,multiple:!0,evenMultiple:!0,min:-1,max:1,unitless:!0},edgeDistances:{enums:["intersection","node-position","endpoints"]},edgeEndpoint:{number:!0,multiple:!0,units:"%|px|em|deg|rad",implicitUnits:"px",enums:["inside-to-node","outside-to-node","outside-to-node-or-label","outside-to-line","outside-to-line-or-label"],singleEnum:!0,validate:function(e,t){switch(e.length){case 2:return"deg"!==t[0]&&"rad"!==t[0]&&"deg"!==t[1]&&"rad"!==t[1];case 1:return _(e[0])||"deg"===t[0]||"rad"===t[0];default:return!1}}},easing:{regexes:["^(spring)\\s*\\(\\s*("+e+")\\s*,\\s*("+e+")\\s*\\)$","^(cubic-bezier)\\s*\\(\\s*("+e+")\\s*,\\s*("+e+")\\s*,\\s*("+e+")\\s*,\\s*("+e+")\\s*\\)$"],enums:["linear","ease","ease-in","ease-out","ease-in-out","ease-in-sine","ease-out-sine","ease-in-out-sine","ease-in-quad","ease-out-quad","ease-in-out-quad","ease-in-cubic","ease-out-cubic","ease-in-out-cubic","ease-in-quart","ease-out-quart","ease-in-out-quart","ease-in-quint","ease-out-quint","ease-in-out-quint","ease-in-expo","ease-out-expo","ease-in-out-expo","ease-in-circ","ease-out-circ","ease-in-out-circ"]},gradientDirection:{enums:["to-bottom","to-top","to-left","to-right","to-bottom-right","to-bottom-left","to-top-right","to-top-left","to-right-bottom","to-left-bottom","to-right-top","to-left-top"]},boundsExpansion:{number:!0,multiple:!0,min:0,validate:function(e){var t=e.length;return 1===t||2===t||4===t}}};var l={zeroNonZero:function(e,t){return(null==e||null==t)&&e!==t||0==e&&0!=t||0!=e&&0==t},any:function(e,t){return e!=t},emptyNonEmpty:function(e,t){var n=F(e),r=F(t);return n&&!r||!n&&r}},u=ec.types,c=[{name:"label",type:u.text,triggersBounds:l.any,triggersZOrder:l.emptyNonEmpty},{name:"text-rotation",type:u.textRotation,triggersBounds:l.any},{name:"text-margin-x",type:u.bidirectionalSize,triggersBounds:l.any},{name:"text-margin-y",type:u.bidirectionalSize,triggersBounds:l.any}],h=[{name:"source-label",type:u.text,triggersBounds:l.any},{name:"source-text-rotation",type:u.textRotation,triggersBounds:l.any},{name:"source-text-margin-x",type:u.bidirectionalSize,triggersBounds:l.any},{name:"source-text-margin-y",type:u.bidirectionalSize,triggersBounds:l.any},{name:"source-text-offset",type:u.size,triggersBounds:l.any}],d=[{name:"target-label",type:u.text,triggersBounds:l.any},{name:"target-text-rotation",type:u.textRotation,triggersBounds:l.any},{name:"target-text-margin-x",type:u.bidirectionalSize,triggersBounds:l.any},{name:"target-text-margin-y",type:u.bidirectionalSize,triggersBounds:l.any},{name:"target-text-offset",type:u.size,triggersBounds:l.any}],p=[{name:"font-family",type:u.fontFamily,triggersBounds:l.any},{name:"font-style",type:u.fontStyle,triggersBounds:l.any},{name:"font-weight",type:u.fontWeight,triggersBounds:l.any},{name:"font-size",type:u.size,triggersBounds:l.any},{name:"text-transform",type:u.textTransform,triggersBounds:l.any},{name:"text-wrap",type:u.textWrap,triggersBounds:l.any},{name:"text-overflow-wrap",type:u.textOverflowWrap,triggersBounds:l.any},{name:"text-max-width",type:u.size,triggersBounds:l.any},{name:"text-outline-width",type:u.size,triggersBounds:l.any},{name:"line-height",type:u.positiveNumber,triggersBounds:l.any}],g=[{name:"text-valign",type:u.valign,triggersBounds:l.any},{name:"text-halign",type:u.halign,triggersBounds:l.any},{name:"color",type:u.color},{name:"text-outline-color",type:u.color},{name:"text-outline-opacity",type:u.zeroOneNumber},{name:"text-background-color",type:u.color},{name:"text-background-opacity",type:u.zeroOneNumber},{name:"text-background-padding",type:u.size,triggersBounds:l.any},{name:"text-border-opacity",type:u.zeroOneNumber},{name:"text-border-color",type:u.color},{name:"text-border-width",type:u.size,triggersBounds:l.any},{name:"text-border-style",type:u.borderStyle,triggersBounds:l.any},{name:"text-background-shape",type:u.textBackgroundShape,triggersBounds:l.any},{name:"text-justification",type:u.justification}],f=[{name:"events",type:u.bool,triggersZOrder:l.any},{name:"text-events",type:u.bool,triggersZOrder:l.any}],v=[{name:"display",type:u.display,triggersZOrder:l.any,triggersBounds:l.any,triggersBoundsOfConnectedEdges:!0},{name:"visibility",type:u.visibility,triggersZOrder:l.any},{name:"opacity",type:u.zeroOneNumber,triggersZOrder:l.zeroNonZero},{name:"text-opacity",type:u.zeroOneNumber},{name:"min-zoomed-font-size",type:u.size},{name:"z-compound-depth",type:u.zCompoundDepth,triggersZOrder:l.any},{name:"z-index-compare",type:u.zIndexCompare,triggersZOrder:l.any},{name:"z-index",type:u.number,triggersZOrder:l.any}],y=[{name:"overlay-padding",type:u.size,triggersBounds:l.any},{name:"overlay-color",type:u.color},{name:"overlay-opacity",type:u.zeroOneNumber,triggersBounds:l.zeroNonZero},{name:"overlay-shape",type:u.overlayShape,triggersBounds:l.any},{name:"overlay-corner-radius",type:u.cornerRadius}],m=[{name:"underlay-padding",type:u.size,triggersBounds:l.any},{name:"underlay-color",type:u.color},{name:"underlay-opacity",type:u.zeroOneNumber,triggersBounds:l.zeroNonZero},{name:"underlay-shape",type:u.overlayShape,triggersBounds:l.any},{name:"underlay-corner-radius",type:u.cornerRadius}],b=[{name:"transition-property",type:u.propList},{name:"transition-duration",type:u.time},{name:"transition-delay",type:u.time},{name:"transition-timing-function",type:u.easing}],x=function(e,t){return"label"===t.value?-e.poolIndex():t.pfValue},w=[{name:"height",type:u.nodeSize,triggersBounds:l.any,hashOverride:x},{name:"width",type:u.nodeSize,triggersBounds:l.any,hashOverride:x},{name:"shape",type:u.nodeShape,triggersBounds:l.any},{name:"shape-polygon-points",type:u.polygonPointList,triggersBounds:l.any},{name:"corner-radius",type:u.cornerRadius},{name:"background-color",type:u.color},{name:"background-fill",type:u.fill},{name:"background-opacity",type:u.zeroOneNumber},{name:"background-blacken",type:u.nOneOneNumber},{name:"background-gradient-stop-colors",type:u.colors},{name:"background-gradient-stop-positions",type:u.percentages},{name:"background-gradient-direction",type:u.gradientDirection},{name:"padding",type:u.sizeMaybePercent,triggersBounds:l.any},{name:"padding-relative-to",type:u.paddingRelativeTo,triggersBounds:l.any},{name:"bounds-expansion",type:u.boundsExpansion,triggersBounds:l.any}],E=[{name:"border-color",type:u.color},{name:"border-opacity",type:u.zeroOneNumber},{name:"border-width",type:u.size,triggersBounds:l.any},{name:"border-style",type:u.borderStyle},{name:"border-cap",type:u.lineCap},{name:"border-join",type:u.lineJoin},{name:"border-dash-pattern",type:u.numbers},{name:"border-dash-offset",type:u.number},{name:"border-position",type:u.linePosition}],T=[{name:"outline-color",type:u.color},{name:"outline-opacity",type:u.zeroOneNumber},{name:"outline-width",type:u.size,triggersBounds:l.any},{name:"outline-style",type:u.borderStyle},{name:"outline-offset",type:u.size,triggersBounds:l.any}],A=[{name:"background-image",type:u.urls},{name:"background-image-crossorigin",type:u.bgCrossOrigin},{name:"background-image-opacity",type:u.zeroOneNumbers},{name:"background-image-containment",type:u.bgContainment},{name:"background-image-smoothing",type:u.bools},{name:"background-position-x",type:u.bgPos},{name:"background-position-y",type:u.bgPos},{name:"background-width-relative-to",type:u.bgRelativeTo},{name:"background-height-relative-to",type:u.bgRelativeTo},{name:"background-repeat",type:u.bgRepeat},{name:"background-fit",type:u.bgFit},{name:"background-clip",type:u.bgClip},{name:"background-width",type:u.bgWH},{name:"background-height",type:u.bgWH},{name:"background-offset-x",type:u.bgPos},{name:"background-offset-y",type:u.bgPos}],C=[{name:"position",type:u.position,triggersBounds:l.any},{name:"compound-sizing-wrt-labels",type:u.compoundIncludeLabels,triggersBounds:l.any},{name:"min-width",type:u.size,triggersBounds:l.any},{name:"min-width-bias-left",type:u.sizeMaybePercent,triggersBounds:l.any},{name:"min-width-bias-right",type:u.sizeMaybePercent,triggersBounds:l.any},{name:"min-height",type:u.size,triggersBounds:l.any},{name:"min-height-bias-top",type:u.sizeMaybePercent,triggersBounds:l.any},{name:"min-height-bias-bottom",type:u.sizeMaybePercent,triggersBounds:l.any}],D=[{name:"line-style",type:u.lineStyle},{name:"line-color",type:u.color},{name:"line-fill",type:u.fill},{name:"line-cap",type:u.lineCap},{name:"line-opacity",type:u.zeroOneNumber},{name:"line-dash-pattern",type:u.numbers},{name:"line-dash-offset",type:u.number},{name:"line-outline-width",type:u.size},{name:"line-outline-color",type:u.color},{name:"line-gradient-stop-colors",type:u.colors},{name:"line-gradient-stop-positions",type:u.percentages},{name:"curve-style",type:u.curveStyle,triggersBounds:l.any,triggersBoundsOfParallelBeziers:!0},{name:"haystack-radius",type:u.zeroOneNumber,triggersBounds:l.any},{name:"source-endpoint",type:u.edgeEndpoint,triggersBounds:l.any},{name:"target-endpoint",type:u.edgeEndpoint,triggersBounds:l.any},{name:"control-point-step-size",type:u.size,triggersBounds:l.any},{name:"control-point-distances",type:u.bidirectionalSizes,triggersBounds:l.any},{name:"control-point-weights",type:u.numbers,triggersBounds:l.any},{name:"segment-distances",type:u.bidirectionalSizes,triggersBounds:l.any},{name:"segment-weights",type:u.numbers,triggersBounds:l.any},{name:"segment-radii",type:u.numbers,triggersBounds:l.any},{name:"radius-type",type:u.radiusType,triggersBounds:l.any},{name:"taxi-turn",type:u.bidirectionalSizeMaybePercent,triggersBounds:l.any},{name:"taxi-turn-min-distance",type:u.size,triggersBounds:l.any},{name:"taxi-direction",type:u.axisDirection,triggersBounds:l.any},{name:"taxi-radius",type:u.number,triggersBounds:l.any},{name:"edge-distances",type:u.edgeDistances,triggersBounds:l.any},{name:"arrow-scale",type:u.positiveNumber,triggersBounds:l.any},{name:"loop-direction",type:u.angle,triggersBounds:l.any},{name:"loop-sweep",type:u.angle,triggersBounds:l.any},{name:"source-distance-from-node",type:u.size,triggersBounds:l.any},{name:"target-distance-from-node",type:u.size,triggersBounds:l.any}],N=[{name:"ghost",type:u.bool,triggersBounds:l.any},{name:"ghost-offset-x",type:u.bidirectionalSize,triggersBounds:l.any},{name:"ghost-offset-y",type:u.bidirectionalSize,triggersBounds:l.any},{name:"ghost-opacity",type:u.zeroOneNumber}],S=[{name:"selection-box-color",type:u.color},{name:"selection-box-opacity",type:u.zeroOneNumber},{name:"selection-box-border-color",type:u.color},{name:"selection-box-border-width",type:u.size},{name:"active-bg-color",type:u.color},{name:"active-bg-opacity",type:u.zeroOneNumber},{name:"active-bg-size",type:u.size},{name:"outside-texture-bg-color",type:u.color},{name:"outside-texture-bg-opacity",type:u.zeroOneNumber}],L=[];ec.pieBackgroundN=16,L.push({name:"pie-size",type:u.sizeMaybePercent});for(var P=1;P<=ec.pieBackgroundN;P++)L.push({name:"pie-"+P+"-background-color",type:u.color}),L.push({name:"pie-"+P+"-background-size",type:u.percent}),L.push({name:"pie-"+P+"-background-opacity",type:u.zeroOneNumber});var I=[],k=ec.arrowPrefixes=["source","mid-source","target","mid-target"];[{name:"arrow-shape",type:u.arrowShape,triggersBounds:l.any},{name:"arrow-color",type:u.color},{name:"arrow-fill",type:u.arrowFill},{name:"arrow-width",type:u.arrowWidth}].forEach((function(e){k.forEach((function(t){var n=t+"-"+e.name,r=e.type,i=e.triggersBounds;I.push({name:n,type:r,triggersBounds:i})}))}),{});var M=ec.properties=[].concat(f,b,v,y,m,N,g,p,c,h,d,w,E,T,A,L,C,D,I,S),R=ec.propertyGroups={ +// common to all eles +behavior:f,transition:b,visibility:v,overlay:y,underlay:m,ghost:N, +// labels +commonLabel:g,labelDimensions:p,mainLabel:c,sourceLabel:h,targetLabel:d, +// node props +nodeBody:w,nodeBorder:E,nodeOutline:T,backgroundImage:A,pie:L,compound:C, +// edge props +edgeLine:D,edgeArrow:I,core:S},O=ec.propertyGroupNames={};(ec.propertyGroupKeys=Object.keys(R)).forEach((function(e){O[e]=R[e].map((function(e){return e.name})),R[e].forEach((function(t){return t.groupKey=e}))}));var B=ec.aliases=[{name:"content",pointsTo:"label"},{name:"control-point-distance",pointsTo:"control-point-distances"},{name:"control-point-weight",pointsTo:"control-point-weights"},{name:"segment-distance",pointsTo:"segment-distances"},{name:"segment-weight",pointsTo:"segment-weights"},{name:"segment-radius",pointsTo:"segment-radii"},{name:"edge-text-rotation",pointsTo:"text-rotation"},{name:"padding-left",pointsTo:"padding"},{name:"padding-right",pointsTo:"padding"},{name:"padding-top",pointsTo:"padding"},{name:"padding-bottom",pointsTo:"padding"}];ec.propertyNames=M.map((function(e){return e.name}));for(var z=0;z<M.length;z++){var G=M[z];M[G.name]=G}for(var V=0;V<B.length;V++){var Y=B[V],X=M[Y.pointsTo],U={name:Y.name,alias:!0,pointsTo:X};M.push(U),M[Y.name]=U}})(),ec.getDefaultProperty=function(e){return this.getDefaultProperties()[e]},ec.getDefaultProperties=function(){var e=this._private;if(null!=e.defaultProperties)return e.defaultProperties;for(var t=re({ +// core props +"selection-box-color":"#ddd","selection-box-opacity":.65,"selection-box-border-color":"#aaa","selection-box-border-width":1,"active-bg-color":"black","active-bg-opacity":.15,"active-bg-size":30,"outside-texture-bg-color":"#000","outside-texture-bg-opacity":.125, +// common node/edge props +events:"yes","text-events":"no","text-valign":"top","text-halign":"center","text-justification":"auto","line-height":1,color:"#000","text-outline-color":"#000","text-outline-width":0,"text-outline-opacity":1,"text-opacity":1,"text-decoration":"none","text-transform":"none","text-wrap":"none","text-overflow-wrap":"whitespace","text-max-width":9999,"text-background-color":"#000","text-background-opacity":0,"text-background-shape":"rectangle","text-background-padding":0,"text-border-opacity":0,"text-border-width":0,"text-border-style":"solid","text-border-color":"#000","font-family":"Helvetica Neue, Helvetica, sans-serif","font-style":"normal","font-weight":"normal","font-size":16,"min-zoomed-font-size":0,"text-rotation":"none","source-text-rotation":"none","target-text-rotation":"none",visibility:"visible",display:"element",opacity:1,"z-compound-depth":"auto","z-index-compare":"auto","z-index":0,label:"","text-margin-x":0,"text-margin-y":0,"source-label":"","source-text-offset":0,"source-text-margin-x":0,"source-text-margin-y":0,"target-label":"","target-text-offset":0,"target-text-margin-x":0,"target-text-margin-y":0,"overlay-opacity":0,"overlay-color":"#000","overlay-padding":10,"overlay-shape":"round-rectangle","overlay-corner-radius":"auto","underlay-opacity":0,"underlay-color":"#000","underlay-padding":10,"underlay-shape":"round-rectangle","underlay-corner-radius":"auto","transition-property":"none","transition-duration":0,"transition-delay":0,"transition-timing-function":"linear", +// node props +"background-blacken":0,"background-color":"#999","background-fill":"solid","background-opacity":1,"background-image":"none","background-image-crossorigin":"anonymous","background-image-opacity":1,"background-image-containment":"inside","background-image-smoothing":"yes","background-position-x":"50%","background-position-y":"50%","background-offset-x":0,"background-offset-y":0,"background-width-relative-to":"include-padding","background-height-relative-to":"include-padding","background-repeat":"no-repeat","background-fit":"none","background-clip":"node","background-width":"auto","background-height":"auto","border-color":"#000","border-opacity":1,"border-width":0,"border-style":"solid","border-dash-pattern":[4,2],"border-dash-offset":0,"border-cap":"butt","border-join":"miter","border-position":"center","outline-color":"#999","outline-opacity":1,"outline-width":0,"outline-offset":0,"outline-style":"solid",height:30,width:30,shape:"ellipse","shape-polygon-points":"-1, -1, 1, -1, 1, 1, -1, 1","corner-radius":"auto","bounds-expansion":0, +// node gradient +"background-gradient-direction":"to-bottom","background-gradient-stop-colors":"#999","background-gradient-stop-positions":"0%", +// ghost props +ghost:"no","ghost-offset-y":0,"ghost-offset-x":0,"ghost-opacity":0, +// compound props +padding:0,"padding-relative-to":"width",position:"origin","compound-sizing-wrt-labels":"include","min-width":0,"min-width-bias-left":0,"min-width-bias-right":0,"min-height":0,"min-height-bias-top":0,"min-height-bias-bottom":0},{ +// node pie bg +"pie-size":"100%"},[{name:"pie-{{i}}-background-color",value:"black"},{name:"pie-{{i}}-background-size",value:"0%"},{name:"pie-{{i}}-background-opacity",value:1}].reduce((function(e,t){for(var n=1;n<=ec.pieBackgroundN;n++){var r=t.name.replace("{{i}}",n),i=t.value;e[r]=i}return e}),{}),{ +// edge props +"line-style":"solid","line-color":"#999","line-fill":"solid","line-cap":"butt","line-opacity":1,"line-outline-width":0,"line-outline-color":"#000","line-gradient-stop-colors":"#999","line-gradient-stop-positions":"0%","control-point-step-size":40,"control-point-weights":.5,"segment-weights":.5,"segment-distances":20,"segment-radii":15,"radius-type":"arc-radius","taxi-turn":"50%","taxi-radius":15,"taxi-turn-min-distance":10,"taxi-direction":"auto","edge-distances":"intersection","curve-style":"haystack","haystack-radius":0,"arrow-scale":1,"loop-direction":"-45deg","loop-sweep":"-90deg","source-distance-from-node":0,"target-distance-from-node":0,"source-endpoint":"outside-to-node","target-endpoint":"outside-to-node","line-dash-pattern":[6,3],"line-dash-offset":0},[{name:"arrow-shape",value:"none"},{name:"arrow-color",value:"#999"},{name:"arrow-fill",value:"filled"},{name:"arrow-width",value:1}].reduce((function(e,t){return ec.arrowPrefixes.forEach((function(n){var r=n+"-"+t.name,i=t.value;e[r]=i})),e}),{})),n={},r=0;r<this.properties.length;r++){var i=this.properties[r];if(!i.pointsTo){var a=i.name,o=t[a],s=this.parse(a,o);n[a]=s}}return e.defaultProperties=n,e.defaultProperties},ec.addDefaultStylesheet=function(){this.selector(":parent").css({shape:"rectangle",padding:10,"background-color":"#eee","border-color":"#ccc","border-width":1}).selector("edge").css({width:3}).selector(":loop").css({"curve-style":"bezier"}).selector("edge:compound").css({"curve-style":"bezier","source-endpoint":"outside-to-line","target-endpoint":"outside-to-line"}).selector(":selected").css({"background-color":"#0169D9","line-color":"#0169D9","source-arrow-color":"#0169D9","target-arrow-color":"#0169D9","mid-source-arrow-color":"#0169D9","mid-target-arrow-color":"#0169D9"}).selector(":parent:selected").css({"background-color":"#CCE1F9","border-color":"#aec8e5"}).selector(":active").css({"overlay-color":"black","overlay-padding":10,"overlay-opacity":.25}),this.defaultLength=this.length};var tc={parse:function(e,t,n,r){var i=this;if(A(t))return i.parseImplWarn(e,t,n,r);var a,o=xt(e,""+t,n?"t":"f","mapping"===r||!0===r||!1===r||null==r?"dontcare":r),s=i.propCache=i.propCache||[];return(a=s[o])||(a=s[o]=i.parseImplWarn(e,t,n,r)),(n||"mapping"===r)&&(a=It(a))&&(a.value=It(a.value)),a},parseImplWarn:function(e,t,n,r){var i=this.parseImpl(e,t,n,r);return i||null==t||Lt("The style property `".concat(e,": ").concat(t,"` is invalid")),!i||"width"!==i.name&&"height"!==i.name||"label"!==t||Lt("The style value of `label` is deprecated for `"+i.name+"`"),i},parseImpl:function(e,t,n,r){var i=this;e=U(e);var a=i.properties[e],o=t,s=i.types;if(!a)return null;if(void 0===t)return null;a.alias&&(a=a.pointsTo,e=a.name);var l=_(t);l&&(t=t.trim());var u,c,h=a.type;if(!h)return null;if(n&&(""===t||null===t))return{name:e,value:t,bypass:!0,deleteBypass:!0};if(A(t))return{name:e,value:t,strValue:"fn",mapped:s.fn,bypass:n};if(!l||r||t.length<7||"a"!==t[1]);else{if(t.length>=7&&"d"===t[0]&&(u=new RegExp(s.data.regex).exec(t))){if(n)return!1;var d=s.data;return{name:e,value:u,strValue:""+t,mapped:d,field:u[1],bypass:n}}if(t.length>=10&&"m"===t[0]&&(c=new RegExp(s.mapData.regex).exec(t))){if(n)return!1;if(h.multiple)return!1;var p=s.mapData;if(!h.color&&!h.number)return!1;var g=this.parse(e,c[4]);if(!g||g.mapped)return!1;var f=this.parse(e,c[5]);if(!f||f.mapped)return!1;if(g.pfValue===f.pfValue||g.strValue===f.strValue)return Lt("`"+e+": "+t+"` is not a valid mapper because the output range is zero; converting to `"+e+": "+g.strValue+"`"),this.parse(e,g.strValue);if(h.color){var v=g.value,y=f.value;if(!(v[0]!==y[0]||v[1]!==y[1]||v[2]!==y[2]||// optional alpha +v[3]!==y[3]&&(null!=v[3]&&1!==v[3]||null!=y[3]&&1!==y[3])))return!1}return{name:e,value:c,strValue:""+t,mapped:p,field:c[1],fieldMin:parseFloat(c[2]), +// min & max are numeric +fieldMax:parseFloat(c[3]),valueMin:g.value,valueMax:f.value,bypass:n}}}if(h.multiple&&"multiple"!==r){var m;if(m=l?t.split(/\s+/):C(t)?t:[t],h.evenMultiple&&m.length%2!=0)return null;for(var b=[],x=[],w=[],E="",T=!1,D=0;D<m.length;D++){var N=i.parse(e,m[D],n,"multiple");T=T||_(N.value),b.push(N.value),w.push(null!=N.pfValue?N.pfValue:N.value),x.push(N.units),E+=(D>0?" ":"")+N.strValue}return h.validate&&!h.validate(b,x)?null:h.singleEnum&&T?1===b.length&&_(b[0])?{name:e,value:b[0],strValue:b[0],bypass:n}:null:{name:e,value:b,pfValue:w,strValue:E,bypass:n,units:x}}var S=function(){for(var r=0;r<h.enums.length;r++)if(h.enums[r]===t)return{name:e,value:t,strValue:""+t,bypass:n};return null};if(h.number){var P,I="px";if(h.units&&(P=h.units),h.implicitUnits&&(I=h.implicitUnits),!h.unitless)if(l){var k="px|em"+(h.allowPercent?"|\\%":"");P&&(k=P);var M=t.match("^("+q+")("+k+")?$");M&&(t=M[1],P=M[2]||I)}else P&&!h.implicitUnits||(P=I);if(t=parseFloat(t),isNaN(t)&&void 0===h.enums)return null;if(isNaN(t)&&void 0!==h.enums)return t=o,S();if(h.integer&&!L(t))return null;if(void 0!==h.min&&(t<h.min||h.strictMin&&t===h.min)||void 0!==h.max&&(t>h.max||h.strictMax&&t===h.max))return null;var R={name:e,value:t,strValue:""+t+(P||""),units:P,bypass:n};return h.unitless||"px"!==P&&"em"!==P?R.pfValue=t:R.pfValue="px"!==P&&P?this.getEmSizeInPixels()*t:t,"ms"!==P&&"s"!==P||(R.pfValue="ms"===P?t:1e3*t),"deg"!==P&&"rad"!==P||(R.pfValue="rad"===P?t:wn(t)),"%"===P&&(R.pfValue=t/100),R}if(h.propList){var O=[],B=""+t;if("none"===B);else{for(var F=B.split(/\s*,\s*|\s+/),z=0;z<F.length;z++){var G=F[z].trim();i.properties[G]?O.push(G):Lt("`"+G+"` is not a valid property name")}if(0===O.length)return null}return{name:e,value:O,strValue:0===O.length?"none":O.join(" "),bypass:n}}if(h.color){var V=le(t);return V?{name:e,value:V,pfValue:V,strValue:"rgb("+V[0]+","+V[1]+","+V[2]+")", +// n.b. no spaces b/c of multiple support +bypass:n}:null}if(h.regex||h.regexes){if(h.enums){var Y=S();if(Y)return Y}for(var X=h.regexes?h.regexes:[h.regex],j=0;j<X.length;j++){var W=new RegExp(X[j]).exec(t);if(W)return{name:e,value:h.singleRegexMatchValue?W[1]:W,strValue:""+t,bypass:n}}return null}return h.string?{name:e,value:""+t,strValue:""+t,bypass:n}:h.enums?S():null}},nc=function e(t){if(!(this instanceof e))return new e(t);R(t)?(this._private={cy:t,coreStyle:{}},this.length=0,this.resetToDefault()):Nt("A style must have a core reference")},rc=nc.prototype;rc.instanceString=function(){return"style"},rc.clear=function(){for(var e=this._private,t=e.cy.elements(),n=0;n<this.length;n++)this[n]=void 0;return this.length=0,e.contextStyles={},e.propDiffs={},this.cleanElements(t,!0),t.forEach((function(e){var t=e[0]._private;t.styleDirty=!0,t.appliedInitStyle=!1})),this},rc.resetToDefault=function(){return this.clear(),this.addDefaultStylesheet(),this},rc.core=function(e){return this._private.coreStyle[e]||this.getDefaultProperty(e)},rc.selector=function(e){var t="core"===e?null:new Bs(e),n=this.length++;return this[n]={selector:t,properties:[],mappedProperties:[],index:n},this},rc.css=function(){var e=this,t=arguments;if(1===t.length)for(var n=t[0],r=0;r<e.properties.length;r++){var i=e.properties[r],a=n[i.name];void 0===a&&(a=n[j(i.name)]),void 0!==a&&this.cssRule(i.name,a)}else 2===t.length&&this.cssRule(t[0],t[1]);return this},rc.style=rc.css,rc.cssRule=function(e,t){var n=this.parse(e,t);if(n){var r=this.length-1;this[r].properties.push(n),this[r].properties[n.name]=n,n.name.match(/pie-(\d+)-background-size/)&&n.value&&(this._private.hasPie=!0),n.mapped&&this[r].mappedProperties.push(n),!this[r].selector&&(this._private.coreStyle[n.name]=n)}return this},rc.append=function(e){return O(e)?e.appendToStyle(this):C(e)?this.appendFromJson(e):_(e)&&this.appendFromString(e),this},nc.fromJson=function(e,t){var n=new nc(e);return n.fromJson(t),n},nc.fromString=function(e,t){return new nc(e).fromString(t)},[Wu,$u,Ku,Zu,Qu,Ju,ec,tc].forEach((function(e){re(rc,e)})),nc.types=rc.types,nc.properties=rc.properties,nc.propertyGroups=rc.propertyGroups,nc.propertyGroupNames=rc.propertyGroupNames,nc.propertyGroupKeys=rc.propertyGroupKeys;var ic={style:function(e){return e&&this.setStyle(e).update(),this._private.style},setStyle:function(e){var t=this._private;return O(e)?t.style=e.generateStyle(this):C(e)?t.style=nc.fromJson(this,e):_(e)?t.style=nc.fromString(this,e):t.style=nc(this),t.style}, +// e.g. cy.data() changed => recalc ele mappers +updateStyle:function(){this.mutableElements().updateStyle()}},ac="single",oc={autolock:function(e){return void 0===e?this._private.autolock:(this._private.autolock=!!e,this)},autoungrabify:function(e){return void 0===e?this._private.autoungrabify:(this._private.autoungrabify=!!e,this)},autounselectify:function(e){return void 0===e?this._private.autounselectify:(this._private.autounselectify=!!e,this)},selectionType:function(e){var t=this._private;return null==t.selectionType&&(t.selectionType=ac),void 0===e?t.selectionType:("additive"!==e&&"single"!==e||(t.selectionType=e),this)},panningEnabled:function(e){return void 0===e?this._private.panningEnabled:(this._private.panningEnabled=!!e,this)},userPanningEnabled:function(e){return void 0===e?this._private.userPanningEnabled:(this._private.userPanningEnabled=!!e,this)},zoomingEnabled:function(e){return void 0===e?this._private.zoomingEnabled:(this._private.zoomingEnabled=!!e,this)},userZoomingEnabled:function(e){return void 0===e?this._private.userZoomingEnabled:(this._private.userZoomingEnabled=!!e,this)},boxSelectionEnabled:function(e){return void 0===e?this._private.boxSelectionEnabled:(this._private.boxSelectionEnabled=!!e,this)},pan:function(){var e,t,n,r,i,a=arguments,o=this._private.pan;switch(a.length){case 0:return o;case 1:if(_(a[0]))return o[e=a[0]];if(D(a[0])){if(!this._private.panningEnabled)return this;r=(n=a[0]).x,i=n.y,S(r)&&(o.x=r),S(i)&&(o.y=i),this.emit("pan viewport")}break;case 2:if(!this._private.panningEnabled)return this;e=a[0],t=a[1],"x"!==e&&"y"!==e||!S(t)||(o[e]=t),this.emit("pan viewport")}return this.notify("viewport"),this},panBy:function(e,t){var n,r,i,a,o,s=arguments,l=this._private.pan;if(!this._private.panningEnabled)return this;switch(s.length){case 1:D(e)&&(a=(i=s[0]).x,o=i.y,S(a)&&(l.x+=a),S(o)&&(l.y+=o),this.emit("pan viewport"));break;case 2:r=t,"x"!==(n=e)&&"y"!==n||!S(r)||(l[n]+=r),this.emit("pan viewport")}return this.notify("viewport"),this},gc:function(){this.notify("gc")},fit:function(e,t){var n=this.getFitViewport(e,t);if(n){var r=this._private;r.zoom=n.zoom,r.pan=n.pan,this.emit("pan zoom viewport"),this.notify("viewport")}return this},getFitViewport:function(e,t){if(S(e)&&void 0===t&&(t=e,e=void 0),this._private.panningEnabled&&this._private.zoomingEnabled){var n;if(_(e)){var r=e;e=this.$(r)}else if(G(e)){var i=e;(n={x1:i.x1,y1:i.y1,x2:i.x2,y2:i.y2}).w=n.x2-n.x1,n.h=n.y2-n.y1}else I(e)||(e=this.mutableElements());if(!I(e)||!e.empty()){n=n||e.boundingBox();var a,o=this.width(),s=this.height();if(t=S(t)?t:0,!isNaN(o)&&!isNaN(s)&&o>0&&s>0&&!isNaN(n.w)&&!isNaN(n.h)&&n.w>0&&n.h>0)return{zoom:a=(a=(a=Math.min((o-2*t)/n.w,(s-2*t)/n.h))>this._private.maxZoom?this._private.maxZoom:a)<this._private.minZoom?this._private.minZoom:a,pan:{ +// now pan to middle +x:(o-a*(n.x1+n.x2))/2,y:(s-a*(n.y1+n.y2))/2}}}}},zoomRange:function(e,t){var n=this._private;if(null==t){var r=e;e=r.min,t=r.max}return S(e)&&S(t)&&e<=t?(n.minZoom=e,n.maxZoom=t):S(e)&&void 0===t&&e<=n.maxZoom?n.minZoom=e:S(t)&&void 0===e&&t>=n.minZoom&&(n.maxZoom=t),this},minZoom:function(e){return void 0===e?this._private.minZoom:this.zoomRange({min:e})},maxZoom:function(e){return void 0===e?this._private.maxZoom:this.zoomRange({max:e})},getZoomedViewport:function(e){var t,n,r=this._private,i=r.pan,a=r.zoom,o=!1;if(r.zoomingEnabled||(o=!0),S(e)?n=e:D(e)&&(n=e.level,null!=e.position?t=gn(e.position,a,i):null!=e.renderedPosition&&(t=e.renderedPosition),null==t||r.panningEnabled||(o=!0)),n=(n=n>r.maxZoom?r.maxZoom:n)<r.minZoom?r.minZoom:n,o||!S(n)||n===a||null!=t&&(!S(t.x)||!S(t.y)))return null;if(null!=t){var s=i,l=a,u=n;return{zoomed:!0,panned:!0,zoom:u,pan:{x:-u/l*(t.x-s.x)+t.x,y:-u/l*(t.y-s.y)+t.y}}}return{zoomed:!0,panned:!1,zoom:n,pan:i}},zoom:function(e){if(void 0===e)return this._private.zoom;var t=this.getZoomedViewport(e),n=this._private;return null!=t&&t.zoomed?(n.zoom=t.zoom,t.panned&&(n.pan.x=t.pan.x,n.pan.y=t.pan.y),this.emit("zoom"+(t.panned?" pan":"")+" viewport"),this.notify("viewport"),this):this},viewport:function(e){var t=this._private,n=!0,r=!0,i=[],a=!1,o=!1;if(!e)return this;if(S(e.zoom)||(n=!1),D(e.pan)||(r=!1),!n&&!r)return this;if(n){var s=e.zoom;s<t.minZoom||s>t.maxZoom||!t.zoomingEnabled?a=!0:(t.zoom=s,i.push("zoom"))}if(r&&(!a||!e.cancelOnFailedZoom)&&t.panningEnabled){var l=e.pan;S(l.x)&&(t.pan.x=l.x,o=!1),S(l.y)&&(t.pan.y=l.y,o=!1),o||i.push("pan")}return i.length>0&&(i.push("viewport"),this.emit(i.join(" ")),this.notify("viewport")),this},center:function(e){var t=this.getCenterPan(e);return t&&(this._private.pan=t,this.emit("pan viewport"),this.notify("viewport")),this},getCenterPan:function(e,t){if(this._private.panningEnabled){if(_(e)){var n=e;e=this.mutableElements().filter(n)}else I(e)||(e=this.mutableElements());if(0!==e.length){var r=e.boundingBox(),i=this.width(),a=this.height();return{ +// middle +x:(i-(t=void 0===t?this._private.zoom:t)*(r.x1+r.x2))/2,y:(a-t*(r.y1+r.y2))/2}}}},reset:function(){return this._private.panningEnabled&&this._private.zoomingEnabled?(this.viewport({pan:{x:0,y:0},zoom:1}),this):this},invalidateSize:function(){this._private.sizeCache=null},size:function(){var e,t,n=this._private,r=n.container,i=this;return n.sizeCache=n.sizeCache||(r?(e=i.window().getComputedStyle(r),t=function(t){return parseFloat(e.getPropertyValue(t))},{width:r.clientWidth-t("padding-left")-t("padding-right"),height:r.clientHeight-t("padding-top")-t("padding-bottom")}):{ +// fallback if no container (not 0 b/c can be used for dividing etc) +width:1,height:1})},width:function(){return this.size().width},height:function(){return this.size().height},extent:function(){var e=this._private.pan,t=this._private.zoom,n=this.renderedExtent(),r={x1:(n.x1-e.x)/t,x2:(n.x2-e.x)/t,y1:(n.y1-e.y)/t,y2:(n.y2-e.y)/t};return r.w=r.x2-r.x1,r.h=r.y2-r.y1,r},renderedExtent:function(){var e=this.width(),t=this.height();return{x1:0,y1:0,x2:e,y2:t,w:e,h:t}},multiClickDebounceTime:function(e){return e?(this._private.multiClickDebounceTime=e,this):this._private.multiClickDebounceTime}};oc.centre=oc.center,oc.autolockNodes=oc.autolock,oc.autoungrabifyNodes=oc.autoungrabify;var sc={data:ps.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeData:ps.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),scratch:ps.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:ps.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0})};sc.attr=sc.data,sc.removeAttr=sc.removeData;var lc=function(e){var t=this,n=(e=re({},e)).container;n&&!P(n)&&P(n[0])&&(n=n[0]);var r=n?n._cyreg:null;(r=r||{})&&r.cy&&(r.cy.destroy(),r={});var i=r.readies=r.readies||[];n&&(n._cyreg=r),r.cy=t;var a=void 0!==y&&void 0!==n&&!e.headless,o=e;o.layout=re({name:a?"grid":"null"},o.layout),o.renderer=re({name:a?"canvas":"null"},o.renderer);var s=function(e,t,n){return void 0!==t?t:void 0!==n?n:e},l=this._private={container:n, +// html dom ele container +ready:!1, +// whether ready has been triggered +options:o, +// cached options +elements:new Eu(this), +// elements in the graph +listeners:[], +// list of listeners +aniEles:new Eu(this), +// elements being animated +data:o.data||{}, +// data for the core +scratch:{}, +// scratch object for core +layout:null,renderer:null,destroyed:!1, +// whether destroy was called +notificationsEnabled:!0, +// whether notifications are sent to the renderer +minZoom:1e-50,maxZoom:1e50,zoomingEnabled:s(!0,o.zoomingEnabled),userZoomingEnabled:s(!0,o.userZoomingEnabled),panningEnabled:s(!0,o.panningEnabled),userPanningEnabled:s(!0,o.userPanningEnabled),boxSelectionEnabled:s(!0,o.boxSelectionEnabled),autolock:s(!1,o.autolock,o.autolockNodes),autoungrabify:s(!1,o.autoungrabify,o.autoungrabifyNodes),autounselectify:s(!1,o.autounselectify),styleEnabled:void 0===o.styleEnabled?a:o.styleEnabled,zoom:S(o.zoom)?o.zoom:1,pan:{x:D(o.pan)&&S(o.pan.x)?o.pan.x:0,y:D(o.pan)&&S(o.pan.y)?o.pan.y:0},animation:{ +// object for currently-running animations +current:[],queue:[]},hasCompoundNodes:!1,multiClickDebounceTime:s(250,o.multiClickDebounceTime)};this.createEmitter(),this.selectionType(o.selectionType),this.zoomRange({min:o.minZoom,max:o.maxZoom});var u=function(e,t){if(e.some(V))return Ui.all(e).then(t);t(e)};l.styleEnabled&&t.setStyle([]);var c=re({},o,o.renderer);t.initRenderer(c);var h=function(e,n,r){t.notifications(!1);var i=t.mutableElements();i.length>0&&i.remove(),null!=e&&(D(e)||C(e))&&t.add(e),t.one("layoutready",(function(e){t.notifications(!0),t.emit(e),t.one("load",n),t.emitAndNotify("load")})).one("layoutstop",(function(){t.one("done",r),t.emit("done")}));var a=re({},t._private.options.layout);a.eles=t.elements(),t.layout(a).run()};u([o.style,o.elements],(function(e){var n=e[0],a=e[1];l.styleEnabled&&t.style().append(n),h(a,(function(){t.startAnimationLoop(),l.ready=!0,A(o.ready)&&t.on("ready",o.ready);for(var e=0;e<i.length;e++){var n=i[e];t.on("ready",n)}r&&(r.readies=[]),t.emit("ready")}),o.done)}))},uc=lc.prototype;re(uc,{instanceString:function(){return"core"},isReady:function(){return this._private.ready},destroyed:function(){return this._private.destroyed},ready:function(e){return this.isReady()?this.emitter().emit("ready",[],e):this.on("ready",e),this},destroy:function(){var e=this;if(!e.destroyed())return e.stopAnimationLoop(),e.destroyRenderer(),this.emit("destroy"),e._private.destroyed=!0,e},hasElementWithId:function(e){return this._private.elements.hasElementWithId(e)},getElementById:function(e){return this._private.elements.getElementById(e)},hasCompoundNodes:function(){return this._private.hasCompoundNodes},headless:function(){return this._private.renderer.isHeadless()},styleEnabled:function(){return this._private.styleEnabled},addToPool:function(e){return this._private.elements.merge(e),this},removeFromPool:function(e){return this._private.elements.unmerge(e),this},container:function(){return this._private.container||null},window:function(){if(null==this._private.container)return y;var e=this._private.container.ownerDocument;return void 0===e||null==e?y:e.defaultView||y},mount:function(e){if(null!=e){var t=this,n=t._private,r=n.options;return!P(e)&&P(e[0])&&(e=e[0]),t.stopAnimationLoop(),t.destroyRenderer(),n.container=e,n.styleEnabled=!0,t.invalidateSize(),t.initRenderer(re({},r,r.renderer,{ +// allow custom renderer name to be re-used, otherwise use canvas +name:"null"===r.renderer.name?"canvas":r.renderer.name})),t.startAnimationLoop(),t.style(r.style),t.emit("mount"),t}},unmount:function(){var e=this;return e.stopAnimationLoop(),e.destroyRenderer(),e.initRenderer({name:"null"}),e.emit("unmount"),e},options:function(){return It(this._private.options)},json:function(e){var t=this,n=t._private,r=t.mutableElements(),i=function(e){return t.getElementById(e.id())};if(D(e)){if(t.startBatch(),e.elements){var a={},o=function(e,n){for(var r=[],i=[],o=0;o<e.length;o++){var s=e[o];if(s.data.id){var l=""+s.data.id,u=t.getElementById(l);a[l]=!0,0!==u.length?i.push({ele:u,json:s}):n?(s.group=n,r.push(s)):r.push(s)}else Lt("cy.json() cannot handle elements without an ID attribute")}t.add(r);for(var c=0;c<i.length;c++){var h=i[c],d=h.ele,p=h.json;d.json(p)}};if(C(e.elements))o(e.elements);else for(var s=["nodes","edges"],l=0;l<s.length;l++){var u=s[l],c=e.elements[u];C(c)&&o(c,u)}var h=t.collection();r.filter((function(e){return!a[e.id()]})).forEach((function(e){e.isParent()?h.merge(e):e.remove()})),h.forEach((function(e){return e.children().move({parent:null})})),h.forEach((function(e){return i(e).remove()}))}e.style&&t.style(e.style),null!=e.zoom&&e.zoom!==n.zoom&&t.zoom(e.zoom),e.pan&&(e.pan.x===n.pan.x&&e.pan.y===n.pan.y||t.pan(e.pan)),e.data&&t.data(e.data);for(var d=["minZoom","maxZoom","zoomingEnabled","userZoomingEnabled","panningEnabled","userPanningEnabled","boxSelectionEnabled","autolock","autoungrabify","autounselectify","multiClickDebounceTime"],p=0;p<d.length;p++){var g=d[p];null!=e[g]&&t[g](e[g])}return t.endBatch(),this}var f={};e?f.elements=this.elements().map((function(e){return e.json()})):(f.elements={},r.forEach((function(e){var t=e.group();f.elements[t]||(f.elements[t]=[]),f.elements[t].push(e.json())}))),this._private.styleEnabled&&(f.style=t.style().json()),f.data=It(t.data());var v=n.options;return f.zoomingEnabled=n.zoomingEnabled,f.userZoomingEnabled=n.userZoomingEnabled,f.zoom=n.zoom,f.minZoom=n.minZoom,f.maxZoom=n.maxZoom,f.panningEnabled=n.panningEnabled,f.userPanningEnabled=n.userPanningEnabled,f.pan=It(n.pan),f.boxSelectionEnabled=n.boxSelectionEnabled,f.renderer=It(v.renderer),f.hideEdgesOnViewport=v.hideEdgesOnViewport,f.textureOnViewport=v.textureOnViewport,f.wheelSensitivity=v.wheelSensitivity,f.motionBlur=v.motionBlur,f.multiClickDebounceTime=v.multiClickDebounceTime,f}}),uc.$id=uc.getElementById,[_u,Ou,zu,Gu,Vu,Yu,Uu,ju,ic,oc,sc].forEach((function(e){re(uc,e)}));var cc={fit:!0, +// whether to fit the viewport to the graph +directed:!1, +// whether the tree is directed downwards (or edges can point in any direction if false) +padding:30, +// padding on fit +circle:!1, +// put depths in concentric circles if true, put depths top down if false +grid:!1, +// whether to create an even grid into which the DAG is placed (circle:false only) +spacingFactor:1.75, +// positive spacing factor, larger => more space between nodes (N.B. n/a if causes overlap) +boundingBox:void 0, +// constrain layout bounds; { x1, y1, x2, y2 } or { x1, y1, w, h } +avoidOverlap:!0, +// prevents node overlap, may overflow boundingBox if not enough space +nodeDimensionsIncludeLabels:!1, +// Excludes the label when calculating node bounding boxes for the layout algorithm +roots:void 0, +// the roots of the trees +depthSort:void 0, +// a sorting function to order nodes at equal depth. e.g. function(a, b){ return a.data('weight') - b.data('weight') } +animate:!1, +// whether to transition the node positions +animationDuration:500, +// duration of animation in ms if enabled +animationEasing:void 0, +// easing of animation if enabled, +animateFilter:function(e,t){return!0}, +// a function that determines whether the node should be animated. All nodes animated by default on animate enabled. Non-animated nodes are positioned immediately when the layout starts +ready:void 0, +// callback on layoutready +stop:void 0, +// callback on layoutstop +transform:function(e,t){return t} +// transform a given node position. Useful for changing flow direction in discrete layouts +},hc={maximal:!1, +// whether to shift nodes down their natural BFS depths in order to avoid upwards edges (DAGS only); setting acyclic to true sets maximal to true also +acyclic:!1},dc=function(e){return e.scratch("breadthfirst")},pc=function(e,t){return e.scratch("breadthfirst",t)};function gc(e){this.options=re({},cc,hc,e)}gc.prototype.run=function(){var e,t=this.options,n=t.cy,r=t.eles,i=r.nodes().filter((function(e){return e.isChildless()})),a=r,o=t.directed,s=t.acyclic||t.maximal||t.maximalAdjustments>0,l=!!t.boundingBox,u=n.extent(),c=In(l?t.boundingBox:{x1:u.x1,y1:u.y1,w:u.w,h:u.h});if(I(t.roots))e=t.roots;else if(C(t.roots)){for(var h=[],d=0;d<t.roots.length;d++){var p=t.roots[d],g=n.getElementById(p);h.push(g)}e=n.collection(h)}else if(_(t.roots))e=n.$(t.roots);else if(o)e=i.roots();else{var f=r.components();e=n.collection();for(var v=function(t){var n=f[t],r=n.maxDegree(!1),i=n.filter((function(e){return e.degree(!1)===r}));e=e.add(i)},y=0;y<f.length;y++)v(y)}var m=[],b={},x=function(e,t){null==m[t]&&(m[t]=[]);var n=m[t].length;m[t].push(e),pc(e,{index:n,depth:t})},w=function(e,t){var n=dc(e),r=n.depth,i=n.index;m[r][i]=null,e.isChildless()&&x(e,t)};a.bfs({roots:e,directed:t.directed,visit:function(e,t,n,r,i){var a=e[0],o=a.id();a.isChildless()&&x(a,i),b[o]=!0}});for(var E=[],T=0;T<i.length;T++){var A=i[T];b[A.id()]||E.push(A)}var D=function(e){for(var t=m[e],n=0;n<t.length;n++){var r=t[n];null!=r?pc(r,{depth:e,index:n}):(t.splice(n,1),n--)}},N=function(e,n){for(var i=dc(e),a=e.incomers().filter((function(e){return e.isNode()&&r.has(e)})),o=-1,s=e.id(),l=0;l<a.length;l++){var u=a[l],c=dc(u);o=Math.max(o,c.depth)}if(i.depth<=o){if(!t.acyclic&&n[s])return null;var h=o+1;return w(e,h),n[s]=h,!0}return!1};if(o&&s){var S=[],L={},P=function(e){return S.push(e)},k=function(){return S.shift()};for(i.forEach((function(e){return S.push(e)}));S.length>0;){var M=k(),R=N(M,L);if(R)M.outgoers().filter((function(e){return e.isNode()&&r.has(e)})).forEach(P);else if(null===R){Lt("Detected double maximal shift for node `"+M.id()+"`. Bailing maximal adjustment due to cycle. Use `options.maximal: true` only on DAGs.");break}}}var O=0;if(t.avoidOverlap)for(var B=0;B<i.length;B++){var F=i[B].layoutDimensions(t),z=F.w,G=F.h;O=Math.max(O,z,G)}var V={},Y=function(e){if(V[e.id()])return V[e.id()];for(var t=dc(e).depth,n=e.neighborhood(),r=0,a=0,o=0;o<n.length;o++){var s=n[o];if(!s.isEdge()&&!s.isParent()&&i.has(s)){var l=dc(s);if(null!=l){var u=l.index,c=l.depth;if(null!=u&&null!=c){var h=m[c].length;c<t&&(r+=u/h,a++)}}}}return r/=a=Math.max(1,a),0===a&&(r=0),V[e.id()]=r,r},X=function(e,t){var n=Y(e)-Y(t);return 0===n?te(e.id(),t.id()):n};void 0!==t.depthSort&&(X=t.depthSort);for(var U=m.length,j=0;j<U;j++)m[j].sort(X),D(j);for(var W=[],H=0;H<E.length;H++)W.push(E[H]);var q=function(){for(var e=0;e<U;e++)D(e)};W.length&&(m.unshift(W),U=m.length,q());for(var $=0,K=0;K<U;K++)$=Math.max(m[K].length,$);var Z={x:c.x1+c.w/2,y:c.y1+c.h/2},Q=i.reduce((function(e,n){return r=n.boundingBox({includeLabels:t.nodeDimensionsIncludeLabels}),{w:-1===e.w?r.w:(e.w+r.w)/2,h:-1===e.h?r.h:(e.h+r.h)/2};var r}),{w:-1,h:-1}),J=Math.max( +// only one depth +1===U?0: +// inside a bounding box, no need for top & bottom padding +l?(c.h-2*t.padding-Q.h)/(U-1):(c.h-2*t.padding-Q.h)/(U+1),O),ee=m.reduce((function(e,t){return Math.max(e,t.length)}),0),ne=function(e){var n=dc(e),r=n.depth,i=n.index;if(t.circle){var a=Math.min(c.w/2/U,c.h/2/U),o=(a=Math.max(a,O))*r+a-(U>0&&m[0].length<=3?a/2:0),s=2*Math.PI/m[r].length*i;return 0===r&&1===m[0].length&&(o=1),{x:Z.x+o*Math.cos(s),y:Z.y+o*Math.sin(s)}}var u=m[r].length,h=Math.max( +// only one depth +1===u?0: +// inside a bounding box, no need for left & right padding +l?(c.w-2*t.padding-Q.w)/((t.grid?ee:u)-1):(c.w-2*t.padding-Q.w)/((t.grid?ee:u)+1),O);return{x:Z.x+(i+1-(u+1)/2)*h,y:Z.y+(r+1-(U+1)/2)*J}};return r.nodes().layoutPositions(this,t,ne),this};var fc={fit:!0, +// whether to fit the viewport to the graph +padding:30, +// the padding on fit +boundingBox:void 0, +// constrain layout bounds; { x1, y1, x2, y2 } or { x1, y1, w, h } +avoidOverlap:!0, +// prevents node overlap, may overflow boundingBox and radius if not enough space +nodeDimensionsIncludeLabels:!1, +// Excludes the label when calculating node bounding boxes for the layout algorithm +spacingFactor:void 0, +// Applies a multiplicative factor (>0) to expand or compress the overall area that the nodes take up +radius:void 0, +// the radius of the circle +startAngle:1.5*Math.PI, +// where nodes start in radians +sweep:void 0, +// how many radians should be between the first and last node (defaults to full circle) +clockwise:!0, +// whether the layout should go clockwise (true) or counterclockwise/anticlockwise (false) +sort:void 0, +// a sorting function to order the nodes; e.g. function(a, b){ return a.data('weight') - b.data('weight') } +animate:!1, +// whether to transition the node positions +animationDuration:500, +// duration of animation in ms if enabled +animationEasing:void 0, +// easing of animation if enabled +animateFilter:function(e,t){return!0}, +// a function that determines whether the node should be animated. All nodes animated by default on animate enabled. Non-animated nodes are positioned immediately when the layout starts +ready:void 0, +// callback on layoutready +stop:void 0, +// callback on layoutstop +transform:function(e,t){return t} +// transform a given node position. Useful for changing flow direction in discrete layouts +};function vc(e){this.options=re({},fc,e)}vc.prototype.run=function(){var e=this.options,t=e,n=e.cy,r=t.eles,i=void 0!==t.counterclockwise?!t.counterclockwise:t.clockwise,a=r.nodes().not(":parent");t.sort&&(a=a.sort(t.sort));for(var o,s=In(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()}),l={x:s.x1+s.w/2,y:s.y1+s.h/2},u=(void 0===t.sweep?2*Math.PI-2*Math.PI/a.length:t.sweep)/Math.max(1,a.length-1),c=0,h=0;h<a.length;h++){var d=a[h].layoutDimensions(t),p=d.w,g=d.h;c=Math.max(c,p,g)}if(o=S(t.radius)?t.radius:a.length<=1?0:Math.min(s.h,s.w)/2-c,a.length>1&&t.avoidOverlap){c*=1.75;var f=Math.cos(u)-Math.cos(0),v=Math.sin(u)-Math.sin(0),y=Math.sqrt(c*c/(f*f+v*v));o=Math.max(y,o)}var m=function(e,n){var r=t.startAngle+n*u*(i?1:-1),a=o*Math.cos(r),s=o*Math.sin(r);return{x:l.x+a,y:l.y+s}};return r.nodes().layoutPositions(this,t,m),this};var yc,mc={fit:!0, +// whether to fit the viewport to the graph +padding:30, +// the padding on fit +startAngle:1.5*Math.PI, +// where nodes start in radians +sweep:void 0, +// how many radians should be between the first and last node (defaults to full circle) +clockwise:!0, +// whether the layout should go clockwise (true) or counterclockwise/anticlockwise (false) +equidistant:!1, +// whether levels have an equal radial distance betwen them, may cause bounding box overflow +minNodeSpacing:10, +// min spacing between outside of nodes (used for radius adjustment) +boundingBox:void 0, +// constrain layout bounds; { x1, y1, x2, y2 } or { x1, y1, w, h } +avoidOverlap:!0, +// prevents node overlap, may overflow boundingBox if not enough space +nodeDimensionsIncludeLabels:!1, +// Excludes the label when calculating node bounding boxes for the layout algorithm +height:void 0, +// height of layout area (overrides container height) +width:void 0, +// width of layout area (overrides container width) +spacingFactor:void 0, +// Applies a multiplicative factor (>0) to expand or compress the overall area that the nodes take up +concentric:function(e){return e.degree()},levelWidth:function(e){return e.maxDegree()/4},animate:!1, +// whether to transition the node positions +animationDuration:500, +// duration of animation in ms if enabled +animationEasing:void 0, +// easing of animation if enabled +animateFilter:function(e,t){return!0}, +// a function that determines whether the node should be animated. All nodes animated by default on animate enabled. Non-animated nodes are positioned immediately when the layout starts +ready:void 0, +// callback on layoutready +stop:void 0, +// callback on layoutstop +transform:function(e,t){return t} +// transform a given node position. Useful for changing flow direction in discrete layouts +};function bc(e){this.options=re({},mc,e)}bc.prototype.run=function(){for(var e=this.options,t=e,n=void 0!==t.counterclockwise?!t.counterclockwise:t.clockwise,r=e.cy,i=t.eles,a=i.nodes().not(":parent"),o=In(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:r.width(),h:r.height()}),s={x:o.x1+o.w/2,y:o.y1+o.h/2},l=[],u=0,c=0;c<a.length;c++){var h=a[c],d=void 0;d=t.concentric(h),l.push({value:d,node:h}),h._private.scratch.concentric=d}a.updateStyle();for(var p=0;p<a.length;p++){var g=a[p].layoutDimensions(t);u=Math.max(u,g.w,g.h)}l.sort((function(e,t){return t.value-e.value}));for(var f=t.levelWidth(a),v=[[]],y=v[0],m=0;m<l.length;m++){var b=l[m];y.length>0&&Math.abs(y[0].value-b.value)>=f&&(y=[],v.push(y)),y.push(b)}var x=u+t.minNodeSpacing;if(!t.avoidOverlap){var w=v.length>0&&v[0].length>1,E=(Math.min(o.w,o.h)/2-x)/(v.length+w?1:0);x=Math.min(x,E)}for(var T=0,_=0;_<v.length;_++){var A=v[_],C=void 0===t.sweep?2*Math.PI-2*Math.PI/A.length:t.sweep,D=A.dTheta=C/Math.max(1,A.length-1);if(A.length>1&&t.avoidOverlap){var N=Math.cos(D)-Math.cos(0),S=Math.sin(D)-Math.sin(0),L=Math.sqrt(x*x/(N*N+S*S));T=Math.max(L,T)}A.r=T,T+=x}if(t.equidistant){for(var P=0,I=0,k=0;k<v.length;k++){var M=v[k].r-I;P=Math.max(P,M)}I=0;for(var R=0;R<v.length;R++){var O=v[R];0===R&&(I=O.r),O.r=I,I+=P}}for(var B={},F=0;F<v.length;F++)for(var z=v[F],G=z.dTheta,V=z.r,Y=0;Y<z.length;Y++){var X=z[Y],U=t.startAngle+(n?1:-1)*G*Y,j={x:s.x+V*Math.cos(U),y:s.y+V*Math.sin(U)};B[X.node.id()]=j}return i.nodes().layoutPositions(this,t,(function(e){var t=e.id();return B[t]})),this};var xc={ +// Called on `layoutready` +ready:function(){}, +// Called on `layoutstop` +stop:function(){}, +// Whether to animate while running the layout +// true : Animate continuously as the layout is running +// false : Just show the end result +// 'end' : Animate with the end result, from the initial positions to the end positions +animate:!0, +// Easing of the animation for animate:'end' +animationEasing:void 0, +// The duration of the animation for animate:'end' +animationDuration:void 0, +// A function that determines whether the node should be animated +// All nodes animated by default on animate enabled +// Non-animated nodes are positioned immediately when the layout starts +animateFilter:function(e,t){return!0}, +// The layout animates only after this many milliseconds for animate:true +// (prevents flashing on fast runs) +animationThreshold:250, +// Number of iterations between consecutive screen positions update +refresh:20, +// Whether to fit the network view after when done +fit:!0, +// Padding on fit +padding:30, +// Constrain layout bounds; { x1, y1, x2, y2 } or { x1, y1, w, h } +boundingBox:void 0, +// Excludes the label when calculating node bounding boxes for the layout algorithm +nodeDimensionsIncludeLabels:!1, +// Randomize the initial positions of the nodes (true) or use existing positions (false) +randomize:!1, +// Extra spacing between components in non-compound graphs +componentSpacing:40, +// Node repulsion (non overlapping) multiplier +nodeRepulsion:function(e){return 2048}, +// Node repulsion (overlapping) multiplier +nodeOverlap:4, +// Ideal edge (non nested) length +idealEdgeLength:function(e){return 32}, +// Divisor to compute edge forces +edgeElasticity:function(e){return 32}, +// Nesting factor (multiplier) to compute ideal edge length for nested edges +nestingFactor:1.2, +// Gravity force (constant) +gravity:1, +// Maximum number of iterations to perform +numIter:1e3, +// Initial temperature (maximum node displacement) +initialTemp:1e3, +// Cooling factor (how the temperature is reduced between consecutive iterations +coolingFactor:.99, +// Lower temperature threshold (below this point the layout will end) +minTemp:1};function wc(e){this.options=re({},xc,e),this.options.layout=this;var t=this.options.eles.nodes(),n=this.options.eles.edges().filter((function(e){var n=e.source().data("id"),r=e.target().data("id"),i=t.some((function(e){return e.data("id")===n})),a=t.some((function(e){return e.data("id")===r}));return!i||!a}));this.options.eles=this.options.eles.not(n)}wc.prototype.run=function(){var e=this.options,t=e.cy,n=this;n.stopped=!1,!0!==e.animate&&!1!==e.animate||n.emit({type:"layoutstart",layout:n}),yc=!0===e.debug;var r=Tc(t,n,e);yc&&Ec(r),e.randomize&&Cc(r);var i=lt(),a=function(){Nc(r,t,e),!0===e.fit&&t.fit(e.padding)},o=function(t){return!(n.stopped||t>=e.numIter||(Sc(r,e),r.temperature=r.temperature*e.coolingFactor,r.temperature<e.minTemp))},s=function(){if(!0===e.animate||!1===e.animate)a(),n.one("layoutstop",e.stop),n.emit({type:"layoutstop",layout:n});else{var t=e.eles.nodes(),i=Dc(r,e,t);t.layoutPositions(n,e,i)}},l=0,u=!0;if(!0===e.animate)!function t(){for(var n=0;u&&n<e.refresh;)u=o(l),l++,n++;u?(lt()-i>=e.animationThreshold&&a(),st(t)):(Vc(r,e),s())}();else{for(;u;)u=o(l),l++;Vc(r,e),s()}return this},wc.prototype.stop=function(){return this.stopped=!0,this.thread&&this.thread.stop(),this.emit("layoutstop"),this},wc.prototype.destroy=function(){return this.thread&&this.thread.stop(),this};var Ec,Tc=function(e,t,n){for(var r=n.eles.edges(),i=n.eles.nodes(),a=In(n.boundingBox?n.boundingBox:{x1:0,y1:0,w:e.width(),h:e.height()}),o={isCompound:e.hasCompoundNodes(),layoutNodes:[],idToIndex:{},nodeSize:i.size(),graphSet:[],indexToGraph:[],layoutEdges:[],edgeSize:r.size(),temperature:n.initialTemp,clientWidth:a.w,clientHeight:a.h,boundingBox:a},s=n.eles.components(),l={},u=0;u<s.length;u++)for(var c=s[u],h=0;h<c.length;h++)l[c[h].id()]=u;for(u=0;u<o.nodeSize;u++){var d=(y=i[u]).layoutDimensions(n);(M={}).isLocked=y.locked(),M.id=y.data("id"),M.parentId=y.data("parent"),M.cmptId=l[y.id()],M.children=[],M.positionX=y.position("x"),M.positionY=y.position("y"),M.offsetX=0,M.offsetY=0,M.height=d.w,M.width=d.h,M.maxX=M.positionX+M.width/2,M.minX=M.positionX-M.width/2,M.maxY=M.positionY+M.height/2,M.minY=M.positionY-M.height/2,M.padLeft=parseFloat(y.style("padding")),M.padRight=parseFloat(y.style("padding")),M.padTop=parseFloat(y.style("padding")),M.padBottom=parseFloat(y.style("padding")),M.nodeRepulsion=A(n.nodeRepulsion)?n.nodeRepulsion(y):n.nodeRepulsion,o.layoutNodes.push(M),o.idToIndex[M.id]=u}var p=[],g=0,f=-1,v=[];for(u=0;u<o.nodeSize;u++){var y,m=(y=o.layoutNodes[u]).parentId;null!=m?o.layoutNodes[o.idToIndex[m]].children.push(y.id):(p[++f]=y.id,v.push(y.id))}for(o.graphSet.push(v);g<=f;){var b=p[g++],x=o.idToIndex[b],w=o.layoutNodes[x].children;if(w.length>0)for(o.graphSet.push(w),u=0;u<w.length;u++)p[++f]=w[u]}for(u=0;u<o.graphSet.length;u++){var E=o.graphSet[u];for(h=0;h<E.length;h++){var T=o.idToIndex[E[h]];o.indexToGraph[T]=u}}for(u=0;u<o.edgeSize;u++){var _=r[u],C={};C.id=_.data("id"),C.sourceId=_.data("source"),C.targetId=_.data("target");var D=A(n.idealEdgeLength)?n.idealEdgeLength(_):n.idealEdgeLength,N=A(n.edgeElasticity)?n.edgeElasticity(_):n.edgeElasticity,S=o.idToIndex[C.sourceId],L=o.idToIndex[C.targetId];if(o.indexToGraph[S]!=o.indexToGraph[L]){for(var P=_c(C.sourceId,C.targetId,o),I=o.graphSet[P],k=0,M=o.layoutNodes[S];-1===I.indexOf(M.id);)M=o.layoutNodes[o.idToIndex[M.parentId]],k++;for(M=o.layoutNodes[L];-1===I.indexOf(M.id);)M=o.layoutNodes[o.idToIndex[M.parentId]],k++;D*=k*n.nestingFactor}C.idealLength=D,C.elasticity=N,o.layoutEdges.push(C)}return o},_c=function(e,t,n){var r=Ac(e,t,0,n);return 2>r.count?0:r.graph},Ac=function e(t,n,r,i){var a=i.graphSet[r];if(-1<a.indexOf(t)&&-1<a.indexOf(n))return{count:2,graph:r};for(var o=0,s=0;s<a.length;s++){var l=a[s],u=i.idToIndex[l],c=i.layoutNodes[u].children;if(0!==c.length){var h=e(t,n,i.indexToGraph[i.idToIndex[c[0]]],i);if(0!==h.count){if(1!==h.count)return h;if(2==++o)break}}}return{count:o,graph:r}},Cc=function(e,t){for(var n=e.clientWidth,r=e.clientHeight,i=0;i<e.nodeSize;i++){var a=e.layoutNodes[i];0!==a.children.length||a.isLocked||(a.positionX=Math.random()*n,a.positionY=Math.random()*r)}},Dc=function(e,t,n){var r=e.boundingBox,i={x1:1/0,x2:-1/0,y1:1/0,y2:-1/0};return t.boundingBox&&(n.forEach((function(t){var n=e.layoutNodes[e.idToIndex[t.data("id")]];i.x1=Math.min(i.x1,n.positionX),i.x2=Math.max(i.x2,n.positionX),i.y1=Math.min(i.y1,n.positionY),i.y2=Math.max(i.y2,n.positionY)})),i.w=i.x2-i.x1,i.h=i.y2-i.y1),function(n,a){var o=e.layoutNodes[e.idToIndex[n.data("id")]];if(t.boundingBox){var s=(o.positionX-i.x1)/i.w,l=(o.positionY-i.y1)/i.h;return{x:r.x1+s*r.w,y:r.y1+l*r.h}}return{x:o.positionX,y:o.positionY}}},Nc=function(e,t,n){var r=n.layout,i=n.eles.nodes(),a=Dc(e,n,i);i.positions(a),!0!==e.ready&&(e.ready=!0,r.one("layoutready",n.ready),r.emit({type:"layoutready",layout:this}))},Sc=function(e,t,n){Lc(e,t),Rc(e),Oc(e,t),Bc(e),Fc(e)},Lc=function(e,t){for(var n=0;n<e.graphSet.length;n++)for(var r=e.graphSet[n],i=r.length,a=0;a<i;a++)for(var o=e.layoutNodes[e.idToIndex[r[a]]],s=a+1;s<i;s++){var l=e.layoutNodes[e.idToIndex[r[s]]];Ic(o,l,e,t)}},Pc=function(e){return 2*e*Math.random()-1},Ic=function(e,t,n,r){if(e.cmptId===t.cmptId||n.isCompound){var i=t.positionX-e.positionX,a=t.positionY-e.positionY,o=1;0===i&&0===a&&(i=Pc(o),a=Pc(o));var s=kc(e,t,i,a);if(s>0)var l=(c=r.nodeOverlap*s)*i/(v=Math.sqrt(i*i+a*a)),u=c*a/v;else{var c,h=Mc(e,i,a),d=Mc(t,-1*i,-1*a),p=d.x-h.x,g=d.y-h.y,f=p*p+g*g,v=Math.sqrt(f);l=(c=(e.nodeRepulsion+t.nodeRepulsion)/f)*p/v,u=c*g/v}e.isLocked||(e.offsetX-=l,e.offsetY-=u),t.isLocked||(t.offsetX+=l,t.offsetY+=u)}},kc=function(e,t,n,r){if(n>0)var i=e.maxX-t.minX;else i=t.maxX-e.minX;if(r>0)var a=e.maxY-t.minY;else a=t.maxY-e.minY;return i>=0&&a>=0?Math.sqrt(i*i+a*a):0},Mc=function(e,t,n){var r=e.positionX,i=e.positionY,a=e.height||1,o=e.width||1,s=n/t,l=a/o,u={};return 0===t&&0<n||0===t&&0>n?(u.x=r,u.y=i+a/2,u):0<t&&-1*l<=s&&s<=l?(u.x=r+o/2,u.y=i+o*n/2/t,u):0>t&&-1*l<=s&&s<=l?(u.x=r-o/2,u.y=i-o*n/2/t,u):0<n&&(s<=-1*l||s>=l)?(u.x=r+a*t/2/n,u.y=i+a/2,u):0>n&&(s<=-1*l||s>=l)?(u.x=r-a*t/2/n,u.y=i-a/2,u):u},Rc=function(e,t){for(var n=0;n<e.edgeSize;n++){var r=e.layoutEdges[n],i=e.idToIndex[r.sourceId],a=e.layoutNodes[i],o=e.idToIndex[r.targetId],s=e.layoutNodes[o],l=s.positionX-a.positionX,u=s.positionY-a.positionY;if(0!==l||0!==u){var c=Mc(a,l,u),h=Mc(s,-1*l,-1*u),d=h.x-c.x,p=h.y-c.y,g=Math.sqrt(d*d+p*p),f=Math.pow(r.idealLength-g,2)/r.elasticity;if(0!==g)var v=f*d/g,y=f*p/g;else v=0,y=0;a.isLocked||(a.offsetX+=v,a.offsetY+=y),s.isLocked||(s.offsetX-=v,s.offsetY-=y)}}},Oc=function(e,t){if(0!==t.gravity)for(var n=1,r=0;r<e.graphSet.length;r++){var i=e.graphSet[r],a=i.length;if(0===r)var o=e.clientHeight/2,s=e.clientWidth/2;else{var l=e.layoutNodes[e.idToIndex[i[0]]],u=e.layoutNodes[e.idToIndex[l.parentId]];o=u.positionX,s=u.positionY}for(var c=0;c<a;c++){var h=e.layoutNodes[e.idToIndex[i[c]]];if(!h.isLocked){var d=o-h.positionX,p=s-h.positionY,g=Math.sqrt(d*d+p*p);if(g>n){var f=t.gravity*d/g,v=t.gravity*p/g;h.offsetX+=f,h.offsetY+=v}}}}},Bc=function(e,t){var n=[],r=0,i=-1;for(n.push.apply(n,e.graphSet[0]),i+=e.graphSet[0].length;r<=i;){var a=n[r++],o=e.idToIndex[a],s=e.layoutNodes[o],l=s.children;if(0<l.length&&!s.isLocked){for(var u=s.offsetX,c=s.offsetY,h=0;h<l.length;h++){var d=e.layoutNodes[e.idToIndex[l[h]]];d.offsetX+=u,d.offsetY+=c,n[++i]=l[h]}s.offsetX=0,s.offsetY=0}}},Fc=function(e,t){for(var n=0;n<e.nodeSize;n++)0<(i=e.layoutNodes[n]).children.length&&(i.maxX=void 0,i.minX=void 0,i.maxY=void 0,i.minY=void 0);for(n=0;n<e.nodeSize;n++)if(!(0<(i=e.layoutNodes[n]).children.length||i.isLocked)){var r=zc(i.offsetX,i.offsetY,e.temperature);i.positionX+=r.x,i.positionY+=r.y,i.offsetX=0,i.offsetY=0,i.minX=i.positionX-i.width,i.maxX=i.positionX+i.width,i.minY=i.positionY-i.height,i.maxY=i.positionY+i.height,Gc(i,e)}for(n=0;n<e.nodeSize;n++){var i;0<(i=e.layoutNodes[n]).children.length&&!i.isLocked&&(i.positionX=(i.maxX+i.minX)/2,i.positionY=(i.maxY+i.minY)/2,i.width=i.maxX-i.minX,i.height=i.maxY-i.minY)}},zc=function(e,t,n){var r=Math.sqrt(e*e+t*t);if(r>n)var i={x:n*e/r,y:n*t/r};else i={x:e,y:t};return i},Gc=function e(t,n){var r=t.parentId;if(null!=r){var i=n.layoutNodes[n.idToIndex[r]],a=!1;return(null==i.maxX||t.maxX+i.padRight>i.maxX)&&(i.maxX=t.maxX+i.padRight,a=!0),(null==i.minX||t.minX-i.padLeft<i.minX)&&(i.minX=t.minX-i.padLeft,a=!0),(null==i.maxY||t.maxY+i.padBottom>i.maxY)&&(i.maxY=t.maxY+i.padBottom,a=!0),(null==i.minY||t.minY-i.padTop<i.minY)&&(i.minY=t.minY-i.padTop,a=!0),a?e(i,n):void 0}},Vc=function(e,t){for(var n=e.layoutNodes,r=[],i=0;i<n.length;i++){var a=n[i],o=a.cmptId;(r[o]=r[o]||[]).push(a)}var s=0;for(i=0;i<r.length;i++)if(f=r[i]){f.x1=1/0,f.x2=-1/0,f.y1=1/0,f.y2=-1/0;for(var l=0;l<f.length;l++){var u=f[l];f.x1=Math.min(f.x1,u.positionX-u.width/2),f.x2=Math.max(f.x2,u.positionX+u.width/2),f.y1=Math.min(f.y1,u.positionY-u.height/2),f.y2=Math.max(f.y2,u.positionY+u.height/2)}f.w=f.x2-f.x1,f.h=f.y2-f.y1,s+=f.w*f.h}r.sort((function(e,t){return t.w*t.h-e.w*e.h}));var c=0,h=0,d=0,p=0,g=Math.sqrt(s)*e.clientWidth/e.clientHeight;for(i=0;i<r.length;i++){var f;if(f=r[i]){for(l=0;l<f.length;l++)(u=f[l]).isLocked||(u.positionX+=c-f.x1,u.positionY+=h-f.y1);c+=f.w+t.componentSpacing,d+=f.w+t.componentSpacing,p=Math.max(p,f.h),d>g&&(h+=p+t.componentSpacing,c=0,d=0,p=0)}}},Yc={fit:!0, +// whether to fit the viewport to the graph +padding:30, +// padding used on fit +boundingBox:void 0, +// constrain layout bounds; { x1, y1, x2, y2 } or { x1, y1, w, h } +avoidOverlap:!0, +// prevents node overlap, may overflow boundingBox if not enough space +avoidOverlapPadding:10, +// extra spacing around nodes when avoidOverlap: true +nodeDimensionsIncludeLabels:!1, +// Excludes the label when calculating node bounding boxes for the layout algorithm +spacingFactor:void 0, +// Applies a multiplicative factor (>0) to expand or compress the overall area that the nodes take up +condense:!1, +// uses all available space on false, uses minimal space on true +rows:void 0, +// force num of rows in the grid +cols:void 0, +// force num of columns in the grid +position:function(e){}, +// returns { row, col } for element +sort:void 0, +// a sorting function to order the nodes; e.g. function(a, b){ return a.data('weight') - b.data('weight') } +animate:!1, +// whether to transition the node positions +animationDuration:500, +// duration of animation in ms if enabled +animationEasing:void 0, +// easing of animation if enabled +animateFilter:function(e,t){return!0}, +// a function that determines whether the node should be animated. All nodes animated by default on animate enabled. Non-animated nodes are positioned immediately when the layout starts +ready:void 0, +// callback on layoutready +stop:void 0, +// callback on layoutstop +transform:function(e,t){return t} +// transform a given node position. Useful for changing flow direction in discrete layouts +};function Xc(e){this.options=re({},Yc,e)}Xc.prototype.run=function(){var e=this.options,t=e,n=e.cy,r=t.eles,i=r.nodes().not(":parent");t.sort&&(i=i.sort(t.sort));var a=In(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()});if(0===a.h||0===a.w)r.nodes().layoutPositions(this,t,(function(e){return{x:a.x1,y:a.y1}}));else{var o=i.size(),s=Math.sqrt(o*a.h/a.w),l=Math.round(s),u=Math.round(a.w/a.h*s),c=function(e){if(null==e)return Math.min(l,u);Math.min(l,u)==l?l=e:u=e},h=function(e){if(null==e)return Math.max(l,u);Math.max(l,u)==l?l=e:u=e},d=t.rows,p=null!=t.cols?t.cols:t.columns;if(null!=d&&null!=p)l=d,u=p;else if(null!=d&&null==p)l=d,u=Math.ceil(o/l);else if(null==d&&null!=p)u=p,l=Math.ceil(o/u);else if(u*l>o){var g=c(),f=h();(g-1)*f>=o?c(g-1):(f-1)*g>=o&&h(f-1)}else for(;u*l<o;){var v=c(),y=h();(y+1)*v>=o?h(y+1):c(v+1)}var m=a.w/u,b=a.h/l;if(t.condense&&(m=0,b=0),t.avoidOverlap)for(var x=0;x<i.length;x++){var w=i[x],E=w._private.position;null!=E.x&&null!=E.y||(E.x=0,E.y=0);var T=w.layoutDimensions(t),_=t.avoidOverlapPadding,A=T.w+_,C=T.h+_;m=Math.max(m,A),b=Math.max(b,C)}for(var D={},N=function(e,t){return!!D["c-"+e+"-"+t]},S=function(e,t){D["c-"+e+"-"+t]=!0},L=0,P=0,I=function(){++P>=u&&(P=0,L++)},k={},M=0;M<i.length;M++){var R=i[M],O=t.position(R);if(O&&(void 0!==O.row||void 0!==O.col)){var B={row:O.row,col:O.col};if(void 0===B.col)for(B.col=0;N(B.row,B.col);)B.col++;else if(void 0===B.row)for(B.row=0;N(B.row,B.col);)B.row++;k[R.id()]=B,S(B.row,B.col)}}var F=function(e,t){var n,r;if(e.locked()||e.isParent())return!1;var i=k[e.id()];if(i)n=i.col*m+m/2+a.x1,r=i.row*b+b/2+a.y1;else{for(;N(L,P);)I();n=P*m+m/2+a.x1,r=L*b+b/2+a.y1,S(L,P),I()}return{x:n,y:r}};i.layoutPositions(this,t,F)}return this};var Uc={ready:function(){}, +// on layoutready +stop:function(){} +// on layoutstop +};function jc(e){this.options=re({},Uc,e)}jc.prototype.run=function(){var e=this.options,t=e.eles,n=this;return e.cy,n.emit("layoutstart"),t.nodes().positions((function(){return{x:0,y:0}})),n.one("layoutready",e.ready),n.emit("layoutready"),n.one("layoutstop",e.stop),n.emit("layoutstop"),this},jc.prototype.stop=function(){return this};var Wc={positions:void 0, +// map of (node id) => (position obj); or function(node){ return somPos; } +zoom:void 0, +// the zoom level to set (prob want fit = false if set) +pan:void 0, +// the pan level to set (prob want fit = false if set) +fit:!0, +// whether to fit to viewport +padding:30, +// padding on fit +spacingFactor:void 0, +// Applies a multiplicative factor (>0) to expand or compress the overall area that the nodes take up +animate:!1, +// whether to transition the node positions +animationDuration:500, +// duration of animation in ms if enabled +animationEasing:void 0, +// easing of animation if enabled +animateFilter:function(e,t){return!0}, +// a function that determines whether the node should be animated. All nodes animated by default on animate enabled. Non-animated nodes are positioned immediately when the layout starts +ready:void 0, +// callback on layoutready +stop:void 0, +// callback on layoutstop +transform:function(e,t){return t} +// transform a given node position. Useful for changing flow direction in discrete layouts +};function Hc(e){this.options=re({},Wc,e)}Hc.prototype.run=function(){var e=this.options,t=e.eles.nodes(),n=A(e.positions);function r(t){if(null==e.positions)return pn(t.position());if(n)return e.positions(t);var r=e.positions[t._private.data.id];return null==r?null:r}return t.layoutPositions(this,e,(function(e,t){var n=r(e);return!e.locked()&&null!=n&&n})),this};var qc={fit:!0, +// whether to fit to viewport +padding:30, +// fit padding +boundingBox:void 0, +// constrain layout bounds; { x1, y1, x2, y2 } or { x1, y1, w, h } +animate:!1, +// whether to transition the node positions +animationDuration:500, +// duration of animation in ms if enabled +animationEasing:void 0, +// easing of animation if enabled +animateFilter:function(e,t){return!0}, +// a function that determines whether the node should be animated. All nodes animated by default on animate enabled. Non-animated nodes are positioned immediately when the layout starts +ready:void 0, +// callback on layoutready +stop:void 0, +// callback on layoutstop +transform:function(e,t){return t} +// transform a given node position. Useful for changing flow direction in discrete layouts +};function $c(e){this.options=re({},qc,e)}$c.prototype.run=function(){var e=this.options,t=e.cy,n=e.eles,r=In(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:t.width(),h:t.height()}),i=function(e,t){return{x:r.x1+Math.round(Math.random()*r.w),y:r.y1+Math.round(Math.random()*r.h)}};return n.nodes().layoutPositions(this,e,i),this};var Kc=[{name:"breadthfirst",impl:gc},{name:"circle",impl:vc},{name:"concentric",impl:bc},{name:"cose",impl:wc},{name:"grid",impl:Xc},{name:"null",impl:jc},{name:"preset",impl:Hc},{name:"random",impl:$c}];function Zc(e){this.options=e,this.notifications=0}var Qc=function(){},Jc=function(){throw new Error("A headless instance can not render images")};Zc.prototype={recalculateRenderedStyle:Qc,notify:function(){this.notifications++},init:Qc,isHeadless:function(){return!0},png:Jc,jpg:Jc};var eh={arrowShapeWidth:.3,registerArrowShapes:function(){var e=this.arrowShapes={},t=this,n=function(e,t,n,r,i,a,o){var s=i.x-n/2-o,l=i.x+n/2+o,u=i.y-n/2-o,c=i.y+n/2+o;return s<=e&&e<=l&&u<=t&&t<=c},r=function(e,t,n,r,i){var a=e*Math.cos(r)-t*Math.sin(r),o=(e*Math.sin(r)+t*Math.cos(r))*n;return{x:a*n+i.x,y:o+i.y}},i=function(e,t,n,i){for(var a=[],o=0;o<e.length;o+=2){var s=e[o],l=e[o+1];a.push(r(s,l,t,n,i))}return a},a=function(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];t.push(r.x,r.y)}return t},o=function(e){return e.pstyle("width").pfValue*e.pstyle("arrow-scale").pfValue*2},s=function(r,s){_(s)&&(s=e[s]),e[r]=re({name:r,points:[-.15,-.3,.15,-.3,.15,.3,-.15,.3],collide:function(e,t,n,r,o,s){var l=a(i(this.points,n+2*s,r,o));return Qn(e,t,l)},roughCollide:n,draw:function(e,n,r,a){var o=i(this.points,n,r,a);t.arrowShapeImpl("polygon")(e,o)},spacing:function(e){return 0},gap:o},s)};s("none",{collide:At,roughCollide:At,draw:Dt,spacing:Ct,gap:Ct}),s("triangle",{points:[-.15,-.3,0,0,.15,-.3]}),s("arrow","triangle"),s("triangle-backcurve",{points:e.triangle.points,controlPoint:[0,-.15],roughCollide:n,draw:function(e,n,a,o,s){var l=i(this.points,n,a,o),u=this.controlPoint,c=r(u[0],u[1],n,a,o);t.arrowShapeImpl(this.name)(e,l,c)},gap:function(e){return.8*o(e)}}),s("triangle-tee",{points:[0,0,.15,-.3,-.15,-.3,0,0],pointsTee:[-.15,-.4,-.15,-.5,.15,-.5,.15,-.4],collide:function(e,t,n,r,o,s,l){var u=a(i(this.points,n+2*l,r,o)),c=a(i(this.pointsTee,n+2*l,r,o));return Qn(e,t,u)||Qn(e,t,c)},draw:function(e,n,r,a,o){var s=i(this.points,n,r,a),l=i(this.pointsTee,n,r,a);t.arrowShapeImpl(this.name)(e,s,l)}}),s("circle-triangle",{radius:.15,pointsTr:[0,-.15,.15,-.45,-.15,-.45,0,-.15],collide:function(e,t,n,r,o,s,l){var u=o,c=Math.pow(u.x-e,2)+Math.pow(u.y-t,2)<=Math.pow((n+2*l)*this.radius,2),h=a(i(this.points,n+2*l,r,o));return Qn(e,t,h)||c},draw:function(e,n,r,a,o){var s=i(this.pointsTr,n,r,a);t.arrowShapeImpl(this.name)(e,s,a.x,a.y,this.radius*n)},spacing:function(e){return t.getArrowWidth(e.pstyle("width").pfValue,e.pstyle("arrow-scale").value)*this.radius}}),s("triangle-cross",{points:[0,0,.15,-.3,-.15,-.3,0,0],baseCrossLinePts:[-.15,-.4, +// first half of the rectangle +-.15,-.4,.15,-.4, +// second half of the rectangle +.15,-.4],crossLinePts:function(e,t){var n=this.baseCrossLinePts.slice(),r=t/e,i=3,a=5;return n[i]=n[i]-r,n[a]=n[a]-r,n},collide:function(e,t,n,r,o,s,l){var u=a(i(this.points,n+2*l,r,o)),c=a(i(this.crossLinePts(n,s),n+2*l,r,o));return Qn(e,t,u)||Qn(e,t,c)},draw:function(e,n,r,a,o){var s=i(this.points,n,r,a),l=i(this.crossLinePts(n,o),n,r,a);t.arrowShapeImpl(this.name)(e,s,l)}}),s("vee",{points:[-.15,-.3,0,0,.15,-.3,0,-.15],gap:function(e){return.525*o(e)}}),s("circle",{radius:.15,collide:function(e,t,n,r,i,a,o){var s=i;return Math.pow(s.x-e,2)+Math.pow(s.y-t,2)<=Math.pow((n+2*o)*this.radius,2)},draw:function(e,n,r,i,a){t.arrowShapeImpl(this.name)(e,i.x,i.y,this.radius*n)},spacing:function(e){return t.getArrowWidth(e.pstyle("width").pfValue,e.pstyle("arrow-scale").value)*this.radius}}),s("tee",{points:[-.15,0,-.15,-.1,.15,-.1,.15,0],spacing:function(e){return 1},gap:function(e){return 1}}),s("square",{points:[-.15,0,.15,0,.15,-.3,-.15,-.3]}),s("diamond",{points:[-.15,-.15,0,-.3,.15,-.15,0,0],gap:function(e){return e.pstyle("width").pfValue*e.pstyle("arrow-scale").value}}),s("chevron",{points:[0,0,-.15,-.15,-.1,-.2,0,-.1,.1,-.2,.15,-.15],gap:function(e){return.95*e.pstyle("width").pfValue*e.pstyle("arrow-scale").value}})}},th={projectIntoViewport:function(e,t){var n=this.cy,r=this.findContainerClientCoords(),i=r[0],a=r[1],o=r[4],s=n.pan(),l=n.zoom();return[((e-i)/o-s.x)/l,((t-a)/o-s.y)/l]},findContainerClientCoords:function(){if(this.containerBB)return this.containerBB;var e=this.container,t=e.getBoundingClientRect(),n=this.cy.window().getComputedStyle(e),r=function(e){return parseFloat(n.getPropertyValue(e))},i={left:r("padding-left"),right:r("padding-right"),top:r("padding-top"),bottom:r("padding-bottom")},a={left:r("border-left-width"),right:r("border-right-width"),top:r("border-top-width"),bottom:r("border-bottom-width")},o=e.clientWidth,s=e.clientHeight,l=i.left+i.right,u=i.top+i.bottom,c=a.left+a.right,h=t.width/(o+c),d=o-l,p=s-u,g=t.left+i.left+a.left,f=t.top+i.top+a.top;return this.containerBB=[g,f,d,p,h]},invalidateContainerClientCoordsCache:function(){this.containerBB=null},findNearestElement:function(e,t,n,r){return this.findNearestElements(e,t,n,r)[0]},findNearestElements:function(e,t,n,r){var i,a,o=this,s=this,l=s.getCachedZSortedEles(),u=[],c=s.cy.zoom(),h=s.cy.hasCompoundNodes(),d=(r?24:8)/c,p=(r?8:2)/c,g=(r?8:2)/c,f=1/0;function v(e,t){if(e.isNode()){if(a)return;a=e,u.push(e)}if(e.isEdge()&&(null==t||t<f))if(i){if(i.pstyle("z-compound-depth").value===e.pstyle("z-compound-depth").value&&i.pstyle("z-compound-depth").value===e.pstyle("z-compound-depth").value)for(var n=0;n<u.length;n++)if(u[n].isEdge()){u[n]=e,i=e,f=null!=t?t:f;break}}else u.push(e),i=e,f=null!=t?t:f}function y(n){var r=n.outerWidth()+2*p,i=n.outerHeight()+2*p,a=r/2,l=i/2,u=n.position(),c="auto"===n.pstyle("corner-radius").value?"auto":n.pstyle("corner-radius").pfValue,h=n._private.rscratch;if(u.x-a<=e&&e<=u.x+a&&u.y-l<=t&&t<=u.y+l&&s.nodeShapes[o.getNodeShape(n)].checkPoint(e,t,0,r,i,u.x,u.y,c,h))return v(n,0),!0}function m(n){var r,i=n._private,a=i.rscratch,l=n.pstyle("width").pfValue,c=n.pstyle("arrow-scale").value,p=l/2+d,g=p*p,f=2*p,m=i.source,b=i.target;if("segments"===a.edgeType||"straight"===a.edgeType||"haystack"===a.edgeType){for(var x=a.allpts,w=0;w+3<x.length;w+=2)if(Wn(e,t,x[w],x[w+1],x[w+2],x[w+3],f)&&g>(r=Zn(e,t,x[w],x[w+1],x[w+2],x[w+3])))return v(n,r),!0}else if("bezier"===a.edgeType||"multibezier"===a.edgeType||"self"===a.edgeType||"compound"===a.edgeType)for(x=a.allpts,w=0;w+5<a.allpts.length;w+=4)if(Hn(e,t,x[w],x[w+1],x[w+2],x[w+3],x[w+4],x[w+5],f)&&g>(r=Kn(e,t,x[w],x[w+1],x[w+2],x[w+3],x[w+4],x[w+5])))return v(n,r),!0;m=m||i.source,b=b||i.target;var E=o.getArrowWidth(l,c),T=[{name:"source",x:a.arrowStartX,y:a.arrowStartY,angle:a.srcArrowAngle},{name:"target",x:a.arrowEndX,y:a.arrowEndY,angle:a.tgtArrowAngle},{name:"mid-source",x:a.midX,y:a.midY,angle:a.midsrcArrowAngle},{name:"mid-target",x:a.midX,y:a.midY,angle:a.midtgtArrowAngle}];for(w=0;w<T.length;w++){var _=T[w],A=s.arrowShapes[n.pstyle(_.name+"-arrow-shape").value],C=n.pstyle("width").pfValue;if(A.roughCollide(e,t,E,_.angle,{x:_.x,y:_.y},C,d)&&A.collide(e,t,E,_.angle,{x:_.x,y:_.y},C,d))return v(n),!0}h&&u.length>0&&(y(m),y(b))}function b(e,t,n){return Vt(e,t,n)}function x(n,r){var i,a=n._private,o=g;i=r?r+"-":"",n.boundingBox();var s=a.labelBounds[r||"main"],l=n.pstyle(i+"label").value;if("yes"===n.pstyle("text-events").strValue&&l){var u=b(a.rscratch,"labelX",r),c=b(a.rscratch,"labelY",r),h=b(a.rscratch,"labelAngle",r),d=n.pstyle(i+"text-margin-x").pfValue,p=n.pstyle(i+"text-margin-y").pfValue,f=s.x1-o-d,y=s.x2+o-d,m=s.y1-o-p,x=s.y2+o-p;if(h){var w=Math.cos(h),E=Math.sin(h),T=function(e,t){return{x:(e-=u)*w-(t-=c)*E+u,y:e*E+t*w+c}},_=T(f,m),A=T(f,x),C=T(y,m),D=T(y,x),N=[ +// with the margin added after the rotation is applied +_.x+d,_.y+p,C.x+d,C.y+p,D.x+d,D.y+p,A.x+d,A.y+p];if(Qn(e,t,N))return v(n),!0}else if(Yn(s,e,t))return v(n),!0}}n&&(l=l.interactive);for(var w=l.length-1;w>=0;w--){var E=l[w];E.isNode()?y(E)||x(E):m(E)||x(E)||x(E,"source")||x(E,"target")}return u},getAllInBox:function(e,t,n,r){for(var i=this.getCachedZSortedEles().interactive,a=[],o=Math.min(e,n),s=Math.max(e,n),l=Math.min(t,r),u=Math.max(t,r),c=In({x1:e=o,y1:t=l,x2:n=s,y2:r=u}),h=0;h<i.length;h++){var d=i[h];if(d.isNode()){var p=d,g=p.boundingBox({includeNodes:!0,includeEdges:!1,includeLabels:!1});Vn(c,g)&&!Un(g,c)&&a.push(p)}else{var f=d,v=f._private,y=v.rscratch;if(null!=y.startX&&null!=y.startY&&!Yn(c,y.startX,y.startY))continue;if(null!=y.endX&&null!=y.endY&&!Yn(c,y.endX,y.endY))continue;if("bezier"===y.edgeType||"multibezier"===y.edgeType||"self"===y.edgeType||"compound"===y.edgeType||"segments"===y.edgeType||"haystack"===y.edgeType){for(var m=v.rstyle.bezierPts||v.rstyle.linePts||v.rstyle.haystackPts,b=!0,x=0;x<m.length;x++)if(!Xn(c,m[x])){b=!1;break}b&&a.push(f)}else"haystack"!==y.edgeType&&"straight"!==y.edgeType||a.push(f)}}return a}},nh={calculateArrowAngles:function(e){var t,n,r,i,a,o,s=e._private.rscratch,l="haystack"===s.edgeType,u="bezier"===s.edgeType,c="multibezier"===s.edgeType,h="segments"===s.edgeType,d="compound"===s.edgeType,p="self"===s.edgeType;if(l?(r=s.haystackPts[0],i=s.haystackPts[1],a=s.haystackPts[2],o=s.haystackPts[3]):(r=s.arrowStartX,i=s.arrowStartY,a=s.arrowEndX,o=s.arrowEndY),f=s.midX,v=s.midY,h)t=r-s.segpts[0],n=i-s.segpts[1];else if(c||d||p||u){var g=s.allpts;t=r-Nn(g[0],g[2],g[4],.1),n=i-Nn(g[1],g[3],g[5],.1)}else t=r-f,n=i-v;s.srcArrowAngle=En(t,n);var f=s.midX,v=s.midY;if(l&&(f=(r+a)/2,v=(i+o)/2),t=a-r,n=o-i,h)if((g=s.allpts).length/2%2==0){var y=(A=g.length/2)-2;t=g[A]-g[y],n=g[A+1]-g[y+1]}else s.isRound?(t=s.midVector[1],n=-s.midVector[0]):(y=(A=g.length/2-1)-2,t=g[A]-g[y],n=g[A+1]-g[y+1]);else if(c||d||p){var m,b,x,w,g=s.allpts;if(s.ctrlpts.length/2%2==0){var E=2+(T=2+(_=g.length/2-1));m=Nn(g[_],g[T],g[E],0),b=Nn(g[_+1],g[T+1],g[E+1],0),x=Nn(g[_],g[T],g[E],1e-4),w=Nn(g[_+1],g[T+1],g[E+1],1e-4)}else{var T,_;E=2+(T=g.length/2-1),m=Nn(g[_=T-2],g[T],g[E],.4999),b=Nn(g[_+1],g[T+1],g[E+1],.4999),x=Nn(g[_],g[T],g[E],.5),w=Nn(g[_+1],g[T+1],g[E+1],.5)}t=x-m,n=w-b}if(s.midtgtArrowAngle=En(t,n),s.midDispX=t,s.midDispY=n,t*=-1,n*=-1,h)if((g=s.allpts).length/2%2==0);else if(!s.isRound){var A,C=2+(A=g.length/2-1);t=-(g[C]-g[A]),n=-(g[C+1]-g[A+1])}if(s.midsrcArrowAngle=En(t,n),h)t=a-s.segpts[s.segpts.length-2],n=o-s.segpts[s.segpts.length-1];else if(c||d||p||u){var D=(g=s.allpts).length;t=a-Nn(g[D-6],g[D-4],g[D-2],.9),n=o-Nn(g[D-5],g[D-3],g[D-1],.9)}else t=a-f,n=o-v;s.tgtArrowAngle=En(t,n)}};nh.getArrowWidth=nh.getArrowHeight=function(e,t){var n=this.arrowWidthCache=this.arrowWidthCache||{},r=n[e+", "+t];return r||(r=Math.max(Math.pow(13.37*e,.9),29)*t,n[e+", "+t]=r,r)};var rh,ih,ah,oh,sh,lh,uh,ch,hh,dh,ph,gh,fh,vh,yh,mh,bh,xh={},wh={},Eh=function(e,t,n){n.x=t.x-e.x,n.y=t.y-e.y,n.len=Math.sqrt(n.x*n.x+n.y*n.y),n.nx=n.x/n.len,n.ny=n.y/n.len,n.ang=Math.atan2(n.ny,n.nx)},Th=function(e,t){t.x=-1*e.x,t.y=-1*e.y,t.nx=-1*e.nx,t.ny=-1*e.ny,t.ang=e.ang>0?-(Math.PI-e.ang):Math.PI+e.ang},_h=function(e,t,n,r,i){if(e!==bh?Eh(t,e,xh):Th(wh,xh),Eh(t,n,wh),ah=xh.nx*wh.ny-xh.ny*wh.nx,oh=xh.nx*wh.nx-xh.ny*-wh.ny,uh=Math.asin(Math.max(-1,Math.min(1,ah))),Math.abs(uh)<1e-6)return rh=t.x,ih=t.y,void(hh=ph=0);sh=1,lh=!1,oh<0?uh<0?uh=Math.PI+uh:(uh=Math.PI-uh,sh=-1,lh=!0):uh>0&&(sh=-1,lh=!0),ph=void 0!==t.radius?t.radius:r,ch=uh/2,gh=Math.min(xh.len/2,wh.len/2),i?(dh=Math.abs(Math.cos(ch)*ph/Math.sin(ch)))>gh?(dh=gh,hh=Math.abs(dh*Math.sin(ch)/Math.cos(ch))):hh=ph:(dh=Math.min(gh,ph),hh=Math.abs(dh*Math.sin(ch)/Math.cos(ch))),yh=t.x+wh.nx*dh,mh=t.y+wh.ny*dh,rh=yh-wh.ny*hh*sh,ih=mh+wh.nx*hh*sh,fh=t.x+xh.nx*dh,vh=t.y+xh.ny*dh,bh=t};function Ah(e,t){0===t.radius?e.lineTo(t.cx,t.cy):e.arc(t.cx,t.cy,t.radius,t.startAngle,t.endAngle,t.counterClockwise)}function Ch(e,t,n,r){var i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];return 0===r||0===t.radius?{cx:t.x,cy:t.y,radius:0,startX:t.x,startY:t.y,stopX:t.x,stopY:t.y,startAngle:void 0,endAngle:void 0,counterClockwise:void 0}:(_h(e,t,n,r,i),{cx:rh,cy:ih,radius:hh,startX:fh,startY:vh,stopX:yh,stopY:mh,startAngle:xh.ang+Math.PI/2*sh,endAngle:wh.ang-Math.PI/2*sh,counterClockwise:lh})}var Dh={};function Nh(e){var t=[];if(null!=e){for(var n=0;n<e.length;n+=2){var r=e[n],i=e[n+1];t.push({x:r,y:i})}return t}}Dh.findMidptPtsEtc=function(e,t){var n,r=t.posPts,i=t.intersectionPts,o=t.vectorNormInverse,s=e.pstyle("source-endpoint"),l=e.pstyle("target-endpoint"),u=null!=s.units&&null!=l.units,c=function(e,t,n,r){var i=r-t,a=n-e,o=Math.sqrt(a*a+i*i);return{x:-i/o,y:a/o}};switch(e.pstyle("edge-distances").value){case"node-position":n=r;break;case"intersection":n=i;break;case"endpoints":if(u){var h=a(this.manualEndptToPx(e.source()[0],s),2),d=h[0],p=h[1],g=a(this.manualEndptToPx(e.target()[0],l),2),f=g[0],v=g[1],y={x1:d,y1:p,x2:f,y2:v};o=c(d,p,f,v),n=y}else Lt("Edge ".concat(e.id()," has edge-distances:endpoints specified without manual endpoints specified via source-endpoint and target-endpoint. Falling back on edge-distances:intersection (default).")),n=i}return{midptPts:n,vectorNormInverse:o}},Dh.findHaystackPoints=function(e){for(var t=0;t<e.length;t++){var n=e[t],r=n._private,i=r.rscratch;if(!i.haystack){var a=2*Math.random()*Math.PI;i.source={x:Math.cos(a),y:Math.sin(a)},a=2*Math.random()*Math.PI,i.target={x:Math.cos(a),y:Math.sin(a)}}var o=r.source,s=r.target,l=o.position(),u=s.position(),c=o.width(),h=s.width(),d=o.height(),p=s.height(),g=n.pstyle("haystack-radius").value/2;i.haystackPts=i.allpts=[i.source.x*c*g+l.x,i.source.y*d*g+l.y,i.target.x*h*g+u.x,i.target.y*p*g+u.y],i.midX=(i.allpts[0]+i.allpts[2])/2,i.midY=(i.allpts[1]+i.allpts[3])/2,i.edgeType="haystack",i.haystack=!0,this.storeEdgeProjections(n),this.calculateArrowAngles(n),this.recalculateEdgeLabelProjections(n),this.calculateLabelAngles(n)}},Dh.findSegmentsPoints=function(e,t){var n=e._private.rscratch,r=e.pstyle("segment-weights"),i=e.pstyle("segment-distances"),a=e.pstyle("segment-radii"),o=e.pstyle("radius-type"),s=Math.min(r.pfValue.length,i.pfValue.length),l=a.pfValue[a.pfValue.length-1],u=o.pfValue[o.pfValue.length-1];n.edgeType="segments",n.segpts=[],n.radii=[],n.isArcRadius=[];for(var c=0;c<s;c++){var h=r.pfValue[c],d=i.pfValue[c],p=1-h,g=h,f=this.findMidptPtsEtc(e,t),v=f.midptPts,y=f.vectorNormInverse,m={x:v.x1*p+v.x2*g,y:v.y1*p+v.y2*g};n.segpts.push(m.x+y.x*d,m.y+y.y*d),n.radii.push(void 0!==a.pfValue[c]?a.pfValue[c]:l),n.isArcRadius.push("arc-radius"===(void 0!==o.pfValue[c]?o.pfValue[c]:u))}},Dh.findLoopPoints=function(e,t,n,r){var i=e._private.rscratch,a=t.dirCounts,o=t.srcPos,s=e.pstyle("control-point-distances"),l=s?s.pfValue[0]:void 0,u=e.pstyle("loop-direction").pfValue,c=e.pstyle("loop-sweep").pfValue,h=e.pstyle("control-point-step-size").pfValue;i.edgeType="self";var d=n,p=h;r&&(d=0,p=l);var g=u-Math.PI/2,f=g-c/2,v=g+c/2,y=String(u+"_"+c);d=void 0===a[y]?a[y]=0:++a[y],i.ctrlpts=[o.x+1.4*Math.cos(f)*p*(d/3+1),o.y+1.4*Math.sin(f)*p*(d/3+1),o.x+1.4*Math.cos(v)*p*(d/3+1),o.y+1.4*Math.sin(v)*p*(d/3+1)]},Dh.findCompoundLoopPoints=function(e,t,n,r){var i=e._private.rscratch;i.edgeType="compound";var a=t.srcPos,o=t.tgtPos,s=t.srcW,l=t.srcH,u=t.tgtW,c=t.tgtH,h=e.pstyle("control-point-step-size").pfValue,d=e.pstyle("control-point-distances"),p=d?d.pfValue[0]:void 0,g=n,f=h;r&&(g=0,f=p);var v=50,y={x:a.x-s/2,y:a.y-l/2},m={x:o.x-u/2,y:o.y-c/2},b={x:Math.min(y.x,m.x),y:Math.min(y.y,m.y)},x=.5,w=Math.max(x,Math.log(.01*s)),E=Math.max(x,Math.log(.01*u));i.ctrlpts=[b.x,b.y-(1+Math.pow(v,1.12)/100)*f*(g/3+1)*w,b.x-(1+Math.pow(v,1.12)/100)*f*(g/3+1)*E,b.y]},Dh.findStraightEdgePoints=function(e){e._private.rscratch.edgeType="straight"},Dh.findBezierPoints=function(e,t,n,r,i){var a=e._private.rscratch,o=e.pstyle("control-point-step-size").pfValue,s=e.pstyle("control-point-distances"),l=e.pstyle("control-point-weights"),u=s&&l?Math.min(s.value.length,l.value.length):1,c=s?s.pfValue[0]:void 0,h=l.value[0],d=r;a.edgeType=d?"multibezier":"bezier",a.ctrlpts=[];for(var p=0;p<u;p++){var g=(.5-t.eles.length/2+n)*o*(i?-1:1),f=void 0,v=_n(g);d&&(c=s?s.pfValue[p]:o,h=l.value[p]);var y=void 0!==(f=r?c:void 0!==c?v*c:void 0)?f:g,m=1-h,b=h,x=this.findMidptPtsEtc(e,t),w=x.midptPts,E=x.vectorNormInverse,T={x:w.x1*m+w.x2*b,y:w.y1*m+w.y2*b};a.ctrlpts.push(T.x+E.x*y,T.y+E.y*y)}},Dh.findTaxiPoints=function(e,t){var n=e._private.rscratch;n.edgeType="segments";var r="vertical",i="horizontal",a="leftward",o="rightward",s="downward",l="upward",u="auto",c=t.posPts,h=t.srcW,d=t.srcH,p=t.tgtW,g=t.tgtH,f="node-position"!==e.pstyle("edge-distances").value,v=e.pstyle("taxi-direction").value,y=v,m=e.pstyle("taxi-turn"),b="%"===m.units,x=m.pfValue,w=x<0,E=e.pstyle("taxi-turn-min-distance").pfValue,T=f?(h+p)/2:0,_=f?(d+g)/2:0,A=c.x2-c.x1,C=c.y2-c.y1,D=function(e,t){return e>0?Math.max(e-t,0):Math.min(e+t,0)},N=D(A,T),S=D(C,_),L=!1;y===u?v=Math.abs(N)>Math.abs(S)?i:r:y===l||y===s?(v=r,L=!0):y!==a&&y!==o||(v=i,L=!0);var P,I=v===r,k=I?S:N,M=I?C:A,R=_n(M),O=!1;L&&(b||w)||!(y===s&&M<0||y===l&&M>0||y===a&&M>0||y===o&&M<0)||(k=(R*=-1)*Math.abs(k),O=!0);var B=function(e){return Math.abs(e)<E||Math.abs(e)>=Math.abs(k)},F=B(P=b?(x<0?1+x:x)*k:(x<0?k:0)+x*R),z=B(Math.abs(k)-Math.abs(P));if(!F&&!z||O)if(I){var G=c.y1+P+(f?d/2*R:0),V=c.x1,Y=c.x2;n.segpts=[V,G,Y,G]}else{var X=c.x1+P+(f?h/2*R:0),U=c.y1,j=c.y2;n.segpts=[X,U,X,j]}else if(I){var W=Math.abs(M)<=d/2,H=Math.abs(A)<=p/2;if(W){var q=(c.x1+c.x2)/2,$=c.y1,K=c.y2;n.segpts=[q,$,q,K]}else if(H){var Z=(c.y1+c.y2)/2,Q=c.x1,J=c.x2;n.segpts=[Q,Z,J,Z]}else n.segpts=[c.x1,c.y2]}else{var ee=Math.abs(M)<=h/2,te=Math.abs(C)<=g/2;if(ee){var ne=(c.y1+c.y2)/2,re=c.x1,ie=c.x2;n.segpts=[re,ne,ie,ne]}else if(te){var ae=(c.x1+c.x2)/2,oe=c.y1,se=c.y2;n.segpts=[ae,oe,ae,se]}else n.segpts=[c.x2,c.y1]}if(n.isRound){var le=e.pstyle("taxi-radius").value,ue="arc-radius"===e.pstyle("radius-type").value[0];n.radii=new Array(n.segpts.length/2).fill(le),n.isArcRadius=new Array(n.segpts.length/2).fill(ue)}},Dh.tryToCorrectInvalidPoints=function(e,t){var n=e._private.rscratch;if("bezier"===n.edgeType){var r=t.srcPos,i=t.tgtPos,a=t.srcW,o=t.srcH,s=t.tgtW,l=t.tgtH,u=t.srcShape,c=t.tgtShape,h=t.srcCornerRadius,d=t.tgtCornerRadius,p=t.srcRs,g=t.tgtRs,f=!S(n.startX)||!S(n.startY),v=!S(n.arrowStartX)||!S(n.arrowStartY),y=!S(n.endX)||!S(n.endY),m=!S(n.arrowEndX)||!S(n.arrowEndY),b=this.getArrowWidth(e.pstyle("width").pfValue,e.pstyle("arrow-scale").value)*this.arrowShapeWidth*3,x=An({x:n.ctrlpts[0],y:n.ctrlpts[1]},{x:n.startX,y:n.startY}),w=x<b,E=An({x:n.ctrlpts[0],y:n.ctrlpts[1]},{x:n.endX,y:n.endY}),T=E<b,_=!1;if(f||v||w){_=!0;var A={ +// delta +x:n.ctrlpts[0]-r.x,y:n.ctrlpts[1]-r.y},C=Math.sqrt(A.x*A.x+A.y*A.y),D={ +// normalised delta +x:A.x/C,y:A.y/C},N=Math.max(a,o),L={ +// *2 radius guarantees outside shape +x:n.ctrlpts[0]+2*D.x*N,y:n.ctrlpts[1]+2*D.y*N},P=u.intersectLine(r.x,r.y,a,o,L.x,L.y,0,h,p);w?(n.ctrlpts[0]=n.ctrlpts[0]+D.x*(b-x),n.ctrlpts[1]=n.ctrlpts[1]+D.y*(b-x)):(n.ctrlpts[0]=P[0]+D.x*b,n.ctrlpts[1]=P[1]+D.y*b)}if(y||m||T){_=!0;var I={ +// delta +x:n.ctrlpts[0]-i.x,y:n.ctrlpts[1]-i.y},k=Math.sqrt(I.x*I.x+I.y*I.y),M={ +// normalised delta +x:I.x/k,y:I.y/k},R=Math.max(a,o),O={ +// *2 radius guarantees outside shape +x:n.ctrlpts[0]+2*M.x*R,y:n.ctrlpts[1]+2*M.y*R},B=c.intersectLine(i.x,i.y,s,l,O.x,O.y,0,d,g);T?(n.ctrlpts[0]=n.ctrlpts[0]+M.x*(b-E),n.ctrlpts[1]=n.ctrlpts[1]+M.y*(b-E)):(n.ctrlpts[0]=B[0]+M.x*b,n.ctrlpts[1]=B[1]+M.y*b)}_&&this.findEndpoints(e)}},Dh.storeAllpts=function(e){var t=e._private.rscratch;if("multibezier"===t.edgeType||"bezier"===t.edgeType||"self"===t.edgeType||"compound"===t.edgeType){t.allpts=[],t.allpts.push(t.startX,t.startY);for(var n=0;n+1<t.ctrlpts.length;n+=2)t.allpts.push(t.ctrlpts[n],t.ctrlpts[n+1]),n+3<t.ctrlpts.length&&t.allpts.push((t.ctrlpts[n]+t.ctrlpts[n+2])/2,(t.ctrlpts[n+1]+t.ctrlpts[n+3])/2);var r,i;t.allpts.push(t.endX,t.endY),t.ctrlpts.length/2%2==0?(r=t.allpts.length/2-1,t.midX=t.allpts[r],t.midY=t.allpts[r+1]):(r=t.allpts.length/2-3,i=.5,t.midX=Nn(t.allpts[r],t.allpts[r+2],t.allpts[r+4],i),t.midY=Nn(t.allpts[r+1],t.allpts[r+3],t.allpts[r+5],i))}else if("straight"===t.edgeType)t.allpts=[t.startX,t.startY,t.endX,t.endY],t.midX=(t.startX+t.endX+t.arrowStartX+t.arrowEndX)/4,t.midY=(t.startY+t.endY+t.arrowStartY+t.arrowEndY)/4;else if("segments"===t.edgeType){if(t.allpts=[],t.allpts.push(t.startX,t.startY),t.allpts.push.apply(t.allpts,t.segpts),t.allpts.push(t.endX,t.endY),t.isRound){t.roundCorners=[];for(var a=2;a+3<t.allpts.length;a+=2){var o=t.radii[a/2-1],s=t.isArcRadius[a/2-1];t.roundCorners.push(Ch({x:t.allpts[a-2],y:t.allpts[a-1]},{x:t.allpts[a],y:t.allpts[a+1],radius:o},{x:t.allpts[a+2],y:t.allpts[a+3]},o,s))}}if(t.segpts.length%4==0){var l=t.segpts.length/2,u=l-2;t.midX=(t.segpts[u]+t.segpts[l])/2,t.midY=(t.segpts[u+1]+t.segpts[l+1])/2}else{var c=t.segpts.length/2-1;if(t.isRound){var h={x:t.segpts[c],y:t.segpts[c+1]},d=t.roundCorners[c/2],p=[h.x-d.cx,h.y-d.cy],g=d.radius/Math.sqrt(Math.pow(p[0],2)+Math.pow(p[1],2));p=p.map((function(e){return e*g})),t.midX=d.cx+p[0],t.midY=d.cy+p[1],t.midVector=p}else t.midX=t.segpts[c],t.midY=t.segpts[c+1]}}},Dh.checkForInvalidEdgeWarning=function(e){var t=e[0]._private.rscratch;t.nodesOverlap||S(t.startX)&&S(t.startY)&&S(t.endX)&&S(t.endY)?t.loggedErr=!1:t.loggedErr||(t.loggedErr=!0,Lt("Edge `"+e.id()+"` has invalid endpoints and so it is impossible to draw. Adjust your edge style (e.g. control points) accordingly or use an alternative edge type. This is expected behaviour when the source node and the target node overlap."))},Dh.findEdgeControlPoints=function(e){var t=this;if(e&&0!==e.length){for(var n=this,r=n.cy.hasCompoundNodes(),i={map:new Ut,get:function(e){var t=this.map.get(e[0]);return null!=t?t.get(e[1]):null},set:function(e,t){var n=this.map.get(e[0]);null==n&&(n=new Ut,this.map.set(e[0],n)),n.set(e[1],t)}},a=[],o=[],s=0;s<e.length;s++){var l=e[s],u=l._private,c=l.pstyle("curve-style").value;if(!l.removed()&&l.takesUpSpace())if("haystack"!==c){var h="unbundled-bezier"===c||c.endsWith("segments")||"straight"===c||"straight-triangle"===c||c.endsWith("taxi"),d="unbundled-bezier"===c||"bezier"===c,p=u.source,g=u.target,f=[p.poolIndex(),g.poolIndex()].sort(),v=i.get(f);null==v&&(v={eles:[]},i.set(f,v),a.push(f)),v.eles.push(l),h&&(v.hasUnbundled=!0),d&&(v.hasBezier=!0)}else o.push(l)}for(var y=function(e){var o=a[e],s=i.get(o),l=void 0;if(!s.hasUnbundled){var u=s.eles[0].parallelEdges().filter((function(e){return e.isBundledBezier()}));zt(s.eles),u.forEach((function(e){return s.eles.push(e)})),s.eles.sort((function(e,t){return e.poolIndex()-t.poolIndex()}))}var c=s.eles[0],h=c.source(),d=c.target();if(h.poolIndex()>d.poolIndex()){var p=h;h=d,d=p}var g=s.srcPos=h.position(),f=s.tgtPos=d.position(),v=s.srcW=h.outerWidth(),y=s.srcH=h.outerHeight(),m=s.tgtW=d.outerWidth(),b=s.tgtH=d.outerHeight(),x=s.srcShape=n.nodeShapes[t.getNodeShape(h)],w=s.tgtShape=n.nodeShapes[t.getNodeShape(d)],E=s.srcCornerRadius="auto"===h.pstyle("corner-radius").value?"auto":h.pstyle("corner-radius").pfValue,T=s.tgtCornerRadius="auto"===d.pstyle("corner-radius").value?"auto":d.pstyle("corner-radius").pfValue,_=s.tgtRs=d._private.rscratch,A=s.srcRs=h._private.rscratch;s.dirCounts={north:0,west:0,south:0,east:0,northwest:0,southwest:0,northeast:0,southeast:0};for(var C=0;C<s.eles.length;C++){var D=s.eles[C],N=D[0]._private.rscratch,L=D.pstyle("curve-style").value,P="unbundled-bezier"===L||L.endsWith("segments")||L.endsWith("taxi"),I=!h.same(D.source());if(!s.calculatedIntersection&&h!==d&&(s.hasBezier||s.hasUnbundled)){s.calculatedIntersection=!0;var k=x.intersectLine(g.x,g.y,v,y,f.x,f.y,0,E,A),M=s.srcIntn=k,R=w.intersectLine(f.x,f.y,m,b,g.x,g.y,0,T,_),O=s.tgtIntn=R,B=s.intersectionPts={x1:k[0],x2:R[0],y1:k[1],y2:R[1]},F=s.posPts={x1:g.x,x2:f.x,y1:g.y,y2:f.y},z=R[1]-k[1],G=R[0]-k[0],V=Math.sqrt(G*G+z*z),Y=s.vector={x:G,y:z},X=s.vectorNorm={x:Y.x/V,y:Y.y/V},U={x:-X.y,y:X.x};s.nodesOverlap=!S(V)||w.checkPoint(k[0],k[1],0,m,b,f.x,f.y,T,_)||x.checkPoint(R[0],R[1],0,v,y,g.x,g.y,E,A),s.vectorNormInverse=U,l={nodesOverlap:s.nodesOverlap,dirCounts:s.dirCounts,calculatedIntersection:!0,hasBezier:s.hasBezier,hasUnbundled:s.hasUnbundled,eles:s.eles,srcPos:f,srcRs:_,tgtPos:g,tgtRs:A,srcW:m,srcH:b,tgtW:v,tgtH:y,srcIntn:O,tgtIntn:M,srcShape:w,tgtShape:x,posPts:{x1:F.x2,y1:F.y2,x2:F.x1,y2:F.y1},intersectionPts:{x1:B.x2,y1:B.y2,x2:B.x1,y2:B.y1},vector:{x:-Y.x,y:-Y.y},vectorNorm:{x:-X.x,y:-X.y},vectorNormInverse:{x:-U.x,y:-U.y}}}var j=I?l:s;N.nodesOverlap=j.nodesOverlap,N.srcIntn=j.srcIntn,N.tgtIntn=j.tgtIntn,N.isRound=L.startsWith("round"),r&&(h.isParent()||h.isChild()||d.isParent()||d.isChild())&&(h.parents().anySame(d)||d.parents().anySame(h)||h.same(d)&&h.isParent())?t.findCompoundLoopPoints(D,j,C,P):h===d?t.findLoopPoints(D,j,C,P):L.endsWith("segments")?t.findSegmentsPoints(D,j):L.endsWith("taxi")?t.findTaxiPoints(D,j):"straight"===L||!P&&s.eles.length%2==1&&C===Math.floor(s.eles.length/2)?t.findStraightEdgePoints(D):t.findBezierPoints(D,j,C,P,I),t.findEndpoints(D),t.tryToCorrectInvalidPoints(D,j),t.checkForInvalidEdgeWarning(D),t.storeAllpts(D),t.storeEdgeProjections(D),t.calculateArrowAngles(D),t.recalculateEdgeLabelProjections(D),t.calculateLabelAngles(D)}},m=0;m<a.length;m++)y(m);this.findHaystackPoints(o)}},Dh.getSegmentPoints=function(e){var t=e[0]._private.rscratch;if(this.recalculateRenderedStyle(e),"segments"===t.edgeType)return Nh(t.segpts)},Dh.getControlPoints=function(e){var t=e[0]._private.rscratch;this.recalculateRenderedStyle(e);var n=t.edgeType;if("bezier"===n||"multibezier"===n||"self"===n||"compound"===n)return Nh(t.ctrlpts)},Dh.getEdgeMidpoint=function(e){var t=e[0]._private.rscratch;return this.recalculateRenderedStyle(e),{x:t.midX,y:t.midY}};var Sh={manualEndptToPx:function(e,t){var n=this,r=e.position(),i=e.outerWidth(),a=e.outerHeight(),o=e._private.rscratch;if(2===t.value.length){var s=[t.pfValue[0],t.pfValue[1]];return"%"===t.units[0]&&(s[0]=s[0]*i),"%"===t.units[1]&&(s[1]=s[1]*a),s[0]+=r.x,s[1]+=r.y,s}var l=t.pfValue[0];l=-Math.PI/2+l;var u=2*Math.max(i,a),c=[r.x+Math.cos(l)*u,r.y+Math.sin(l)*u];return n.nodeShapes[this.getNodeShape(e)].intersectLine(r.x,r.y,i,a,c[0],c[1],0,"auto"===e.pstyle("corner-radius").value?"auto":e.pstyle("corner-radius").pfValue,o)},findEndpoints:function(e){var t,n,r,i,a,o=this,s=e.source()[0],l=e.target()[0],u=s.position(),c=l.position(),h=e.pstyle("target-arrow-shape").value,d=e.pstyle("source-arrow-shape").value,p=e.pstyle("target-distance-from-node").pfValue,g=e.pstyle("source-distance-from-node").pfValue,f=s._private.rscratch,v=l._private.rscratch,y=e.pstyle("curve-style").value,m=e._private.rscratch,b=m.edgeType,x="self"===b||"compound"===b,w="bezier"===b||"multibezier"===b||x,E="bezier"!==b,T="straight"===b||"segments"===b,_="segments"===b,A=w||E||T,C=x||"taxi"===y,D=e.pstyle("source-endpoint"),N=C?"outside-to-node":D.value,L="auto"===s.pstyle("corner-radius").value?"auto":s.pstyle("corner-radius").pfValue,P=e.pstyle("target-endpoint"),I=C?"outside-to-node":P.value,k="auto"===l.pstyle("corner-radius").value?"auto":l.pstyle("corner-radius").pfValue;if(m.srcManEndpt=D,m.tgtManEndpt=P,w){var M=[m.ctrlpts[0],m.ctrlpts[1]];n=E?[m.ctrlpts[m.ctrlpts.length-2],m.ctrlpts[m.ctrlpts.length-1]]:M,r=M}else if(T){var R=_?m.segpts.slice(0,2):[c.x,c.y];n=_?m.segpts.slice(m.segpts.length-2):[u.x,u.y],r=R}if("inside-to-node"===I)t=[c.x,c.y];else if(P.units)t=this.manualEndptToPx(l,P);else if("outside-to-line"===I)t=m.tgtIntn;else if("outside-to-node"===I||"outside-to-node-or-label"===I?i=n:"outside-to-line"!==I&&"outside-to-line-or-label"!==I||(i=[u.x,u.y]),t=o.nodeShapes[this.getNodeShape(l)].intersectLine(c.x,c.y,l.outerWidth(),l.outerHeight(),i[0],i[1],0,k,v),"outside-to-node-or-label"===I||"outside-to-line-or-label"===I){var O=l._private.rscratch,B=O.labelWidth,F=O.labelHeight,z=O.labelX,G=O.labelY,V=B/2,Y=F/2,X=l.pstyle("text-valign").value;"top"===X?G-=Y:"bottom"===X&&(G+=Y);var U=l.pstyle("text-halign").value;"left"===U?z-=V:"right"===U&&(z+=V);var j=lr(i[0],i[1],[z-V,G-Y,z+V,G-Y,z+V,G+Y,z-V,G+Y],c.x,c.y);if(j.length>0){var W=u,H=Cn(W,vn(t)),q=Cn(W,vn(j)),$=H;q<H&&(t=j,$=q),j.length>2&&Cn(W,{x:j[2],y:j[3]})<$&&(t=[j[2],j[3]])}}var K=cr(t,n,o.arrowShapes[h].spacing(e)+p),Z=cr(t,n,o.arrowShapes[h].gap(e)+p);if(m.endX=Z[0],m.endY=Z[1],m.arrowEndX=K[0],m.arrowEndY=K[1],"inside-to-node"===N)t=[u.x,u.y];else if(D.units)t=this.manualEndptToPx(s,D);else if("outside-to-line"===N)t=m.srcIntn;else if("outside-to-node"===N||"outside-to-node-or-label"===N?a=r:"outside-to-line"!==N&&"outside-to-line-or-label"!==N||(a=[c.x,c.y]),t=o.nodeShapes[this.getNodeShape(s)].intersectLine(u.x,u.y,s.outerWidth(),s.outerHeight(),a[0],a[1],0,L,f),"outside-to-node-or-label"===N||"outside-to-line-or-label"===N){var Q=s._private.rscratch,J=Q.labelWidth,ee=Q.labelHeight,te=Q.labelX,ne=Q.labelY,re=J/2,ie=ee/2,ae=s.pstyle("text-valign").value;"top"===ae?ne-=ie:"bottom"===ae&&(ne+=ie);var oe=s.pstyle("text-halign").value;"left"===oe?te-=re:"right"===oe&&(te+=re);var se=lr(a[0],a[1],[te-re,ne-ie,te+re,ne-ie,te+re,ne+ie,te-re,ne+ie],u.x,u.y);if(se.length>0){var le=c,ue=Cn(le,vn(t)),ce=Cn(le,vn(se)),he=ue;ce<ue&&(t=[se[0],se[1]],he=ce),se.length>2&&Cn(le,{x:se[2],y:se[3]})<he&&(t=[se[2],se[3]])}}var de=cr(t,r,o.arrowShapes[d].spacing(e)+g),pe=cr(t,r,o.arrowShapes[d].gap(e)+g);m.startX=pe[0],m.startY=pe[1],m.arrowStartX=de[0],m.arrowStartY=de[1],A&&(S(m.startX)&&S(m.startY)&&S(m.endX)&&S(m.endY)?m.badLine=!1:m.badLine=!0)},getSourceEndpoint:function(e){var t=e[0]._private.rscratch;return this.recalculateRenderedStyle(e),"haystack"===t.edgeType?{x:t.haystackPts[0],y:t.haystackPts[1]}:{x:t.arrowStartX,y:t.arrowStartY}},getTargetEndpoint:function(e){var t=e[0]._private.rscratch;return this.recalculateRenderedStyle(e),"haystack"===t.edgeType?{x:t.haystackPts[2],y:t.haystackPts[3]}:{x:t.arrowEndX,y:t.arrowEndY}}},Lh={};function Ph(e,t,n){for(var r=function(e,t,n,r){return Nn(e,t,n,r)},i=t._private.rstyle.bezierPts,a=0;a<e.bezierProjPcts.length;a++){var o=e.bezierProjPcts[a];i.push({x:r(n[0],n[2],n[4],o),y:r(n[1],n[3],n[5],o)})}}Lh.storeEdgeProjections=function(e){var t=e._private,n=t.rscratch,r=n.edgeType;if(t.rstyle.bezierPts=null,t.rstyle.linePts=null,t.rstyle.haystackPts=null,"multibezier"===r||"bezier"===r||"self"===r||"compound"===r){t.rstyle.bezierPts=[];for(var i=0;i+5<n.allpts.length;i+=4)Ph(this,e,n.allpts.slice(i,i+6))}else if("segments"===r){var a=t.rstyle.linePts=[];for(i=0;i+1<n.allpts.length;i+=2)a.push({x:n.allpts[i],y:n.allpts[i+1]})}else if("haystack"===r){var o=n.haystackPts;t.rstyle.haystackPts=[{x:o[0],y:o[1]},{x:o[2],y:o[3]}]}t.rstyle.arrowWidth=this.getArrowWidth(e.pstyle("width").pfValue,e.pstyle("arrow-scale").value)*this.arrowShapeWidth},Lh.recalculateEdgeProjections=function(e){this.findEdgeControlPoints(e)};var Ih={recalculateNodeLabelProjection:function(e){var t=e.pstyle("label").strValue;if(!F(t)){var n,r,i=e._private,a=e.width(),o=e.height(),s=e.padding(),l=e.position(),u=e.pstyle("text-halign").strValue,c=e.pstyle("text-valign").strValue,h=i.rscratch,d=i.rstyle;switch(u){case"left":n=l.x-a/2-s;break;case"right":n=l.x+a/2+s;break;default:n=l.x}switch(c){case"top":r=l.y-o/2-s;break;case"bottom":r=l.y+o/2+s;break;default:r=l.y}h.labelX=n,h.labelY=r,d.labelX=n,d.labelY=r,this.calculateLabelAngles(e),this.applyLabelDimensions(e)}}},kh=function(e,t){var n=Math.atan(t/e);return 0===e&&n<0&&(n*=-1),n},Mh=function(e,t){var n=t.x-e.x,r=t.y-e.y;return kh(n,r)},Rh=function(e,t,n,r){var i=Pn(0,r-.001,1),a=Pn(0,r+.001,1),o=Sn(e,t,n,i),s=Sn(e,t,n,a);return Mh(o,s)};Ih.recalculateEdgeLabelProjections=function(e){var t,n=e._private,r=n.rscratch,i=this,a={mid:e.pstyle("label").strValue,source:e.pstyle("source-label").strValue,target:e.pstyle("target-label").strValue};if(a.mid||a.source||a.target){t={x:r.midX,y:r.midY};var o=function(e,t,r){Yt(n.rscratch,e,t,r),Yt(n.rstyle,e,t,r)};o("labelX",null,t.x),o("labelY",null,t.y);var s=kh(r.midDispX,r.midDispY);o("labelAutoAngle",null,s);var l=function e(){if(e.cache)return e.cache;for(var t=[],a=0;a+5<r.allpts.length;a+=4){var o={x:r.allpts[a],y:r.allpts[a+1]},s={x:r.allpts[a+2],y:r.allpts[a+3]},l={x:r.allpts[a+4],y:r.allpts[a+5]};t.push({p0:o,p1:s,p2:l,startDist:0,length:0,segments:[]})}var u=n.rstyle.bezierPts,c=i.bezierProjPcts.length;function h(e,t,n,r,i){var a=An(t,n),o=e.segments[e.segments.length-1],s={p0:t,p1:n,t0:r,t1:i,startDist:o?o.startDist+o.length:0,length:a};e.segments.push(s),e.length+=a}for(var d=0;d<t.length;d++){var p=t[d],g=t[d-1];g&&(p.startDist=g.startDist+g.length),h(p,p.p0,u[d*c],0,i.bezierProjPcts[0]);for(var f=0;f<c-1;f++)h(p,u[d*c+f],u[d*c+f+1],i.bezierProjPcts[f],i.bezierProjPcts[f+1]);h(p,u[d*c+c-1],p.p2,i.bezierProjPcts[c-1],1)}return e.cache=t},u=function(n){var i,s="source"===n;if(a[n]){var u=e.pstyle(n+"-text-offset").pfValue;switch(r.edgeType){case"self":case"compound":case"bezier":case"multibezier":for(var c,h=l(),d=0,p=0,g=0;g<h.length;g++){for(var f=h[s?g:h.length-1-g],v=0;v<f.segments.length;v++){var y=f.segments[s?v:f.segments.length-1-v],m=g===h.length-1&&v===f.segments.length-1;if(d=p,(p+=y.length)>=u||m){c={cp:f,segment:y};break}}if(c)break}var b=c.cp,x=c.segment,w=(u-d)/x.length,E=x.t1-x.t0,T=s?x.t0+E*w:x.t1-E*w;T=Pn(0,T,1),t=Sn(b.p0,b.p1,b.p2,T),i=Rh(b.p0,b.p1,b.p2,T);break;case"straight":case"segments":case"haystack":for(var _,A,C,D,N=0,S=r.allpts.length,L=0;L+3<S&&(s?(C={x:r.allpts[L],y:r.allpts[L+1]},D={x:r.allpts[L+2],y:r.allpts[L+3]}):(C={x:r.allpts[S-2-L],y:r.allpts[S-1-L]},D={x:r.allpts[S-4-L],y:r.allpts[S-3-L]}),A=N,!((N+=_=An(C,D))>=u));L+=2);var P=(u-A)/_;P=Pn(0,P,1),t=Ln(C,D,P),i=Mh(C,D)}o("labelX",n,t.x),o("labelY",n,t.y),o("labelAutoAngle",n,i)}};u("source"),u("target"),this.applyLabelDimensions(e)}},Ih.applyLabelDimensions=function(e){this.applyPrefixedLabelDimensions(e),e.isEdge()&&(this.applyPrefixedLabelDimensions(e,"source"),this.applyPrefixedLabelDimensions(e,"target"))},Ih.applyPrefixedLabelDimensions=function(e,t){var n=e._private,r=this.getLabelText(e,t),i=this.calculateLabelDimensions(e,r),a=e.pstyle("line-height").pfValue,o=e.pstyle("text-wrap").strValue,s=Vt(n.rscratch,"labelWrapCachedLines",t)||[],l="wrap"!==o?1:Math.max(s.length,1),u=i.height/l,c=u*a,h=i.width,d=i.height+(l-1)*(a-1)*u;Yt(n.rstyle,"labelWidth",t,h),Yt(n.rscratch,"labelWidth",t,h),Yt(n.rstyle,"labelHeight",t,d),Yt(n.rscratch,"labelHeight",t,d),Yt(n.rscratch,"labelLineHeight",t,c)},Ih.getLabelText=function(e,t){var n=e._private,r=t?t+"-":"",i=e.pstyle(r+"label").strValue,a=e.pstyle("text-transform").value,o=function(e,r){return r?(Yt(n.rscratch,e,t,r),r):Vt(n.rscratch,e,t)};if(!i)return"";"none"==a||("uppercase"==a?i=i.toUpperCase():"lowercase"==a&&(i=i.toLowerCase()));var s=e.pstyle("text-wrap").value;if("wrap"===s){var l=o("labelKey");if(null!=l&&o("labelWrapKey")===l)return o("labelWrapCachedText");for(var u="",c=i.split("\n"),h=e.pstyle("text-max-width").pfValue,d="anywhere"===e.pstyle("text-overflow-wrap").value,p=[],g=/[\s\u200b]+|$/g,f=0;f<c.length;f++){var y=c[f],m=this.calculateLabelDimensions(e,y).width;if(d){var b=y.split("").join(u);y=b}if(m>h){var x,w="",E=0,T=v(y.matchAll(g));try{for(T.s();!(x=T.n()).done;){var _=x.value,A=_[0],C=y.substring(E,_.index);E=_.index+A.length;var D=0===w.length?C:w+C+A;this.calculateLabelDimensions(e,D).width<=h?w+=C+A:(w&&p.push(w),w=C+A)}}catch(k){T.e(k)}finally{T.f()}w.match(/^[\s\u200b]+$/)||p.push(w)}else p.push(y)}o("labelWrapCachedLines",p),i=o("labelWrapCachedText",p.join("\n")),o("labelWrapKey",l)}else if("ellipsis"===s){var N=e.pstyle("text-max-width").pfValue,S="",L="…",P=!1;if(this.calculateLabelDimensions(e,i).width<N)return i;for(var I=0;I<i.length&&!(this.calculateLabelDimensions(e,S+i[I]+L).width>N);I++)S+=i[I],I===i.length-1&&(P=!0);return P||(S+=L),S}return i},Ih.getLabelJustification=function(e){var t=e.pstyle("text-justification").strValue,n=e.pstyle("text-halign").strValue;if("auto"!==t)return t;if(!e.isNode())return"center";switch(n){case"left":return"right";case"right":return"left";default:return"center"}},Ih.calculateLabelDimensions=function(e,t){var n=this,r=n.cy.window().document,i=bt(t,e._private.labelDimsKey),a=n.labelDimCache||(n.labelDimCache=[]),o=a[i];if(null!=o)return o;var s=0,l=e.pstyle("font-style").strValue,u=e.pstyle("font-size").pfValue,c=e.pstyle("font-family").strValue,h=e.pstyle("font-weight").strValue,d=this.labelCalcCanvas,p=this.labelCalcCanvasContext;if(!d){d=this.labelCalcCanvas=r.createElement("canvas"),p=this.labelCalcCanvasContext=d.getContext("2d");var g=d.style;g.position="absolute",g.left="-9999px",g.top="-9999px",g.zIndex="-1",g.visibility="hidden",g.pointerEvents="none"}p.font="".concat(l," ").concat(h," ").concat(u,"px ").concat(c);for(var f=0,v=0,y=t.split("\n"),m=0;m<y.length;m++){var b=y[m],x=p.measureText(b),w=Math.ceil(x.width),E=u;f=Math.max(w,f),v+=E}return f+=s,v+=s,a[i]={width:f,height:v}},Ih.calculateLabelAngle=function(e,t){var n=e._private.rscratch,r=e.isEdge(),i=t?t+"-":"",a=e.pstyle(i+"text-rotation"),o=a.strValue;return"none"===o?0:r&&"autorotate"===o?n.labelAutoAngle:"autorotate"===o?0:a.pfValue},Ih.calculateLabelAngles=function(e){var t=this,n=e.isEdge(),r=e._private.rscratch;r.labelAngle=t.calculateLabelAngle(e),n&&(r.sourceLabelAngle=t.calculateLabelAngle(e,"source"),r.targetLabelAngle=t.calculateLabelAngle(e,"target"))};var Oh={},Bh=28,Fh=!1;Oh.getNodeShape=function(e){var t=this,n=e.pstyle("shape").value;if("cutrectangle"===n&&(e.width()<Bh||e.height()<Bh))return Fh||(Lt("The `cutrectangle` node shape can not be used at small sizes so `rectangle` is used instead"),Fh=!0),"rectangle";if(e.isParent())return"rectangle"===n||"roundrectangle"===n||"round-rectangle"===n||"cutrectangle"===n||"cut-rectangle"===n||"barrel"===n?n:"rectangle";if("polygon"===n){var r=e.pstyle("shape-polygon-points").value;return t.nodeShapes.makePolygon(r).name}return n};var zh={registerCalculationListeners:function(){var e=this.cy,t=e.collection(),n=this,r=function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(t.merge(e),n)for(var r=0;r<e.length;r++){var i=e[r]._private.rstyle;i.clean=!1,i.cleanConnected=!1}};n.binder(e).on("bounds.* dirty.*",(function(e){var t=e.target;r(t)})).on("style.* background.*",(function(e){var t=e.target;r(t,!1)}));var i=function(i){if(i){var a=n.onUpdateEleCalcsFns;t.cleanStyle();for(var o=0;o<t.length;o++){var s=t[o],l=s._private.rstyle;s.isNode()&&!l.cleanConnected&&(r(s.connectedEdges()),l.cleanConnected=!0)}if(a)for(var u=0;u<a.length;u++)(0,a[u])(i,t);n.recalculateRenderedStyle(t),t=e.collection()}};n.flushRenderedStyleQueue=function(){i(!0)},n.beforeRender(i,n.beforeRenderPriorities.eleCalcs)},onUpdateEleCalcs:function(e){(this.onUpdateEleCalcsFns=this.onUpdateEleCalcsFns||[]).push(e)},recalculateRenderedStyle:function(e,t){var n=function(e){return e._private.rstyle.cleanConnected},r=[],i=[];if(!this.destroyed){void 0===t&&(t=!0);for(var a=0;a<e.length;a++){var o=e[a],s=o._private,l=s.rstyle;!o.isEdge()||n(o.source())&&n(o.target())||(l.clean=!1),t&&l.clean||o.removed()||"none"!==o.pstyle("display").value&&("nodes"===s.group?i.push(o):r.push(o),l.clean=!0)}for(var u=0;u<i.length;u++){var c=i[u],h=c._private.rstyle,d=c.position();this.recalculateNodeLabelProjection(c),h.nodeX=d.x,h.nodeY=d.y,h.nodeW=c.pstyle("width").pfValue,h.nodeH=c.pstyle("height").pfValue}this.recalculateEdgeProjections(r);for(var p=0;p<r.length;p++){var g=r[p]._private,f=g.rstyle,v=g.rscratch;f.srcX=v.arrowStartX,f.srcY=v.arrowStartY,f.tgtX=v.arrowEndX,f.tgtY=v.arrowEndY,f.midX=v.midX,f.midY=v.midY,f.labelAngle=v.labelAngle,f.sourceLabelAngle=v.sourceLabelAngle,f.targetLabelAngle=v.targetLabelAngle}}}},Gh={updateCachedGrabbedEles:function(){var e=this.cachedZSortedEles;if(e){e.drag=[],e.nondrag=[];for(var t=[],n=0;n<e.length;n++){var r=(i=e[n])._private.rscratch;i.grabbed()&&!i.isParent()?t.push(i):r.inDragLayer?e.drag.push(i):e.nondrag.push(i)}for(n=0;n<t.length;n++){var i=t[n];e.drag.push(i)}}},invalidateCachedZSortedEles:function(){this.cachedZSortedEles=null},getCachedZSortedEles:function(e){if(e||!this.cachedZSortedEles){var t=this.cy.mutableElements().toArray();t.sort(Zl),t.interactive=t.filter((function(e){return e.interactive()})),this.cachedZSortedEles=t,this.updateCachedGrabbedEles()}else t=this.cachedZSortedEles;return t}},Vh={};[th,nh,Dh,Sh,Lh,Ih,Oh,zh,Gh].forEach((function(e){re(Vh,e)}));var Yh={getCachedImage:function(e,t,n){var r=this,i=r.imageCache=r.imageCache||{},a=i[e];if(a)return a.image.complete||a.image.addEventListener("load",n),a.image;var o=(a=i[e]=i[e]||{}).image=new Image;o.addEventListener("load",n),o.addEventListener("error",(function(){o.error=!0}));var s="data:";return e.substring(0,s.length).toLowerCase()===s||(t="null"===t?null:t,o.crossOrigin=t),o.src=e,o}},Xh={registerBinding:function(e,t,n,r){var i=Array.prototype.slice.apply(arguments,[1]);if(Array.isArray(e)){for(var a=[],o=0;o<e.length;o++){var s=e[o];if(void 0!==s){var l=this.binder(s);a.push(l.on.apply(l,i))}}return a}return(l=this.binder(e)).on.apply(l,i)},binder:function(e){var t=this,n=t.cy.window(),r=e===n||e===n.document||e===n.document.body||z(e);if(null==t.supportsPassiveEvents){var i=!1;try{var a=Object.defineProperty({},"passive",{get:function(){return i=!0,!0}});n.addEventListener("test",null,a)}catch(s){}t.supportsPassiveEvents=i}var o=function(n,i,a){var o=Array.prototype.slice.call(arguments);return r&&t.supportsPassiveEvents&&(o[2]={capture:null!=a&&a,passive:!1,once:!1}),t.bindings.push({target:e,args:o}),(e.addEventListener||e.on).apply(e,o),this};return{on:o,addEventListener:o,addListener:o,bind:o}},nodeIsDraggable:function(e){return e&&e.isNode()&&!e.locked()&&e.grabbable()},nodeIsGrabbable:function(e){return this.nodeIsDraggable(e)&&e.interactive()},load:function(){var e=this,t=e.cy.window(),n=function(e){return e.selected()},r=function(e){var t=e.getRootNode();if(t&&11===t.nodeType&&void 0!==t.host)return t},i=function(t,n,r,i){null==t&&(t=e.cy);for(var a=0;a<n.length;a++){var o=n[a];t.emit({originalEvent:r,type:o,position:i})}},a=function(e){return e.shiftKey||e.metaKey||e.ctrlKey},o=function(t,n){var r=!0;if(e.cy.hasCompoundNodes()&&t&&t.pannable()){for(var i=0;n&&i<n.length;i++)if((t=n[i]).isNode()&&t.isParent()&&!t.pannable()){r=!1;break}}else r=!0;return r},s=function(e){e[0]._private.grabbed=!0},l=function(e){e[0]._private.grabbed=!1},u=function(e){e[0]._private.rscratch.inDragLayer=!0},c=function(e){e[0]._private.rscratch.inDragLayer=!1},h=function(e){e[0]._private.rscratch.isGrabTarget=!0},d=function(e){e[0]._private.rscratch.isGrabTarget=!1},p=function(e,t){var n=t.addToList;n.has(e)||!e.grabbable()||e.locked()||(n.merge(e),s(e))},g=function(e,t){if(e.cy().hasCompoundNodes()&&(null!=t.inDragLayer||null!=t.addToList)){var n=e.descendants();t.inDragLayer&&(n.forEach(u),n.connectedEdges().forEach(u)),t.addToList&&p(n,t)}},f=function(t,n){n=n||{};var r=t.cy().hasCompoundNodes();n.inDragLayer&&(t.forEach(u),t.neighborhood().stdFilter((function(e){return!r||e.isEdge()})).forEach(u)),n.addToList&&t.forEach((function(e){p(e,n)})),g(t,n),m(t,{inDragLayer:n.inDragLayer}),e.updateCachedGrabbedEles()},v=f,y=function(t){t&&(e.getCachedZSortedEles().forEach((function(e){l(e),c(e),d(e)})),e.updateCachedGrabbedEles())},m=function(e,t){if((null!=t.inDragLayer||null!=t.addToList)&&e.cy().hasCompoundNodes()){var n=e.ancestors().orphans();if(!n.same(e)){var r=n.descendants().spawnSelf().merge(n).unmerge(e).unmerge(e.descendants()),i=r.connectedEdges();t.inDragLayer&&(i.forEach(u),r.forEach(u)),t.addToList&&r.forEach((function(e){p(e,t)}))}}},b=function(){null!=document.activeElement&&null!=document.activeElement.blur&&document.activeElement.blur()},x="undefined"!=typeof MutationObserver,w="undefined"!=typeof ResizeObserver;x?(e.removeObserver=new MutationObserver((function(t){for(var n=0;n<t.length;n++){var r=t[n].removedNodes;if(r)for(var i=0;i<r.length;i++)if(r[i]===e.container){e.destroy();break}}})),e.container.parentNode&&e.removeObserver.observe(e.container.parentNode,{childList:!0})):e.registerBinding(e.container,"DOMNodeRemoved",(function(t){e.destroy()}));var E=rt((function(){e.cy.resize()}),100);x&&(e.styleObserver=new MutationObserver(E),e.styleObserver.observe(e.container,{attributes:!0})),e.registerBinding(t,"resize",E),w&&(e.resizeObserver=new ResizeObserver(E),e.resizeObserver.observe(e.container));var T=function(){e.invalidateContainerClientCoordsCache()};(function(e,t){for(;null!=e;)t(e),e=e.parentNode})(e.container,(function(t){e.registerBinding(t,"transitionend",T),e.registerBinding(t,"animationend",T),e.registerBinding(t,"scroll",T)})),e.registerBinding(e.container,"contextmenu",(function(e){e.preventDefault()}));var _=function(){return 0!==e.selection[4]},A=function(t){for(var n=e.findContainerClientCoords(),r=n[0],i=n[1],a=n[2],o=n[3],s=t.touches?t.touches:[t],l=!1,u=0;u<s.length;u++){var c=s[u];if(r<=c.clientX&&c.clientX<=r+a&&i<=c.clientY&&c.clientY<=i+o){l=!0;break}}if(!l)return!1;for(var h=e.container,d=t.target.parentNode,p=!1;d;){if(d===h){p=!0;break}d=d.parentNode}return!!p};e.registerBinding(e.container,"mousedown",(function(t){if(A(t)&&(1!==e.hoverData.which||1===t.which)){t.preventDefault(),b(),e.hoverData.capture=!0,e.hoverData.which=t.which;var n=e.cy,r=[t.clientX,t.clientY],a=e.projectIntoViewport(r[0],r[1]),o=e.selection,s=e.findNearestElements(a[0],a[1],!0,!1),l=s[0],u=e.dragData.possibleDragElements;e.hoverData.mdownPos=a,e.hoverData.mdownGPos=r;var c=function(){e.hoverData.tapholdCancelled=!1,clearTimeout(e.hoverData.tapholdTimeout),e.hoverData.tapholdTimeout=setTimeout((function(){if(!e.hoverData.tapholdCancelled){var r=e.hoverData.down;r?r.emit({originalEvent:t,type:"taphold",position:{x:a[0],y:a[1]}}):n.emit({originalEvent:t,type:"taphold",position:{x:a[0],y:a[1]}})}}),e.tapholdDuration)};if(3==t.which){e.hoverData.cxtStarted=!0;var d={originalEvent:t,type:"cxttapstart",position:{x:a[0],y:a[1]}};l?(l.activate(),l.emit(d),e.hoverData.down=l):n.emit(d),e.hoverData.downTime=(new Date).getTime(),e.hoverData.cxtDragged=!1}else if(1==t.which){if(l&&l.activate(),null!=l&&e.nodeIsGrabbable(l)){var p=function(e){return{originalEvent:t,type:e,position:{x:a[0],y:a[1]}}},g=function(e){e.emit(p("grab"))};if(h(l),l.selected()){u=e.dragData.possibleDragElements=n.collection();var y=n.$((function(t){return t.isNode()&&t.selected()&&e.nodeIsGrabbable(t)}));f(y,{addToList:u}),l.emit(p("grabon")),y.forEach(g)}else u=e.dragData.possibleDragElements=n.collection(),v(l,{addToList:u}),l.emit(p("grabon")).emit(p("grab"));e.redrawHint("eles",!0),e.redrawHint("drag",!0)}e.hoverData.down=l,e.hoverData.downs=s,e.hoverData.downTime=(new Date).getTime(),i(l,["mousedown","tapstart","vmousedown"],t,{x:a[0],y:a[1]}),null==l?(o[4]=1,e.data.bgActivePosistion={x:a[0],y:a[1]},e.redrawHint("select",!0),e.redraw()):l.pannable()&&(o[4]=1),c()}o[0]=o[2]=a[0],o[1]=o[3]=a[1]}}),!1);var C,D,N,L=r(e.container);e.registerBinding([t,L],"mousemove",(function(t){if(e.hoverData.capture||A(t)){var n=!1,r=e.cy,s=r.zoom(),l=[t.clientX,t.clientY],u=e.projectIntoViewport(l[0],l[1]),c=e.hoverData.mdownPos,h=e.hoverData.mdownGPos,d=e.selection,p=null;e.hoverData.draggingEles||e.hoverData.dragging||e.hoverData.selecting||(p=e.findNearestElement(u[0],u[1],!0,!1));var g,v=e.hoverData.last,m=e.hoverData.down,b=[u[0]-d[2],u[1]-d[3]],x=e.dragData.possibleDragElements;if(h){var w=l[0]-h[0],E=w*w,T=l[1]-h[1],_=E+T*T;e.hoverData.isOverThresholdDrag=g=_>=e.desktopTapThreshold2}var C=a(t);g&&(e.hoverData.tapholdCancelled=!0);var D=function(){var t=e.hoverData.dragDelta=e.hoverData.dragDelta||[];0===t.length?(t.push(b[0]),t.push(b[1])):(t[0]+=b[0],t[1]+=b[1])};n=!0,i(p,["mousemove","vmousemove","tapdrag"],t,{x:u[0],y:u[1]});var N=function(){e.data.bgActivePosistion=void 0,e.hoverData.selecting||r.emit({originalEvent:t,type:"boxstart",position:{x:u[0],y:u[1]}}),d[4]=1,e.hoverData.selecting=!0,e.redrawHint("select",!0),e.redraw()};if(3===e.hoverData.which){if(g){var L={originalEvent:t,type:"cxtdrag",position:{x:u[0],y:u[1]}};m?m.emit(L):r.emit(L),e.hoverData.cxtDragged=!0,e.hoverData.cxtOver&&p===e.hoverData.cxtOver||(e.hoverData.cxtOver&&e.hoverData.cxtOver.emit({originalEvent:t,type:"cxtdragout",position:{x:u[0],y:u[1]}}),e.hoverData.cxtOver=p,p&&p.emit({originalEvent:t,type:"cxtdragover",position:{x:u[0],y:u[1]}}))}}else if(e.hoverData.dragging){if(n=!0,r.panningEnabled()&&r.userPanningEnabled()){var P;if(e.hoverData.justStartedPan){var I=e.hoverData.mdownPos;P={x:(u[0]-I[0])*s,y:(u[1]-I[1])*s},e.hoverData.justStartedPan=!1}else P={x:b[0]*s,y:b[1]*s};r.panBy(P),r.emit("dragpan"),e.hoverData.dragged=!0}u=e.projectIntoViewport(t.clientX,t.clientY)}else if(1!=d[4]||null!=m&&!m.pannable()){if(m&&m.pannable()&&m.active()&&m.unactivate(),m&&m.grabbed()||p==v||(v&&i(v,["mouseout","tapdragout"],t,{x:u[0],y:u[1]}),p&&i(p,["mouseover","tapdragover"],t,{x:u[0],y:u[1]}),e.hoverData.last=p),m)if(g){if(r.boxSelectionEnabled()&&C)m&&m.grabbed()&&(y(x),m.emit("freeon"),x.emit("free"),e.dragData.didDrag&&(m.emit("dragfreeon"),x.emit("dragfree"))),N();else if(m&&m.grabbed()&&e.nodeIsDraggable(m)){var k=!e.dragData.didDrag;k&&e.redrawHint("eles",!0),e.dragData.didDrag=!0,e.hoverData.draggingEles||f(x,{inDragLayer:!0});var M={x:0,y:0};if(S(b[0])&&S(b[1])&&(M.x+=b[0],M.y+=b[1],k)){var R=e.hoverData.dragDelta;R&&S(R[0])&&S(R[1])&&(M.x+=R[0],M.y+=R[1])}e.hoverData.draggingEles=!0,x.silentShift(M).emit("position drag"),e.redrawHint("drag",!0),e.redraw()}}else D();n=!0}else g&&(e.hoverData.dragging||!r.boxSelectionEnabled()||!C&&r.panningEnabled()&&r.userPanningEnabled()?!e.hoverData.selecting&&r.panningEnabled()&&r.userPanningEnabled()&&o(m,e.hoverData.downs)&&(e.hoverData.dragging=!0,e.hoverData.justStartedPan=!0,d[4]=0,e.data.bgActivePosistion=vn(c),e.redrawHint("select",!0),e.redraw()):N(),m&&m.pannable()&&m.active()&&m.unactivate());return d[2]=u[0],d[3]=u[1],n?(t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault(),!1):void 0}}),!1),e.registerBinding(t,"mouseup",(function(t){if((1!==e.hoverData.which||1===t.which||!e.hoverData.capture)&&e.hoverData.capture){e.hoverData.capture=!1;var r=e.cy,o=e.projectIntoViewport(t.clientX,t.clientY),s=e.selection,l=e.findNearestElement(o[0],o[1],!0,!1),u=e.dragData.possibleDragElements,c=e.hoverData.down,h=a(t);if(e.data.bgActivePosistion&&(e.redrawHint("select",!0),e.redraw()),e.hoverData.tapholdCancelled=!0,e.data.bgActivePosistion=void 0,c&&c.unactivate(),3===e.hoverData.which){var d={originalEvent:t,type:"cxttapend",position:{x:o[0],y:o[1]}};if(c?c.emit(d):r.emit(d),!e.hoverData.cxtDragged){var p={originalEvent:t,type:"cxttap",position:{x:o[0],y:o[1]}};c?c.emit(p):r.emit(p)}e.hoverData.cxtDragged=!1,e.hoverData.which=null}else if(1===e.hoverData.which){if(i(l,["mouseup","tapend","vmouseup"],t,{x:o[0],y:o[1]}),e.dragData.didDrag||e.hoverData.dragged||e.hoverData.selecting||e.hoverData.isOverThresholdDrag||(i(c,["click","tap","vclick"],t,{x:o[0],y:o[1]}),D=!1,t.timeStamp-N<=r.multiClickDebounceTime()?(C&&clearTimeout(C),D=!0,N=null,i(c,["dblclick","dbltap","vdblclick"],t,{x:o[0],y:o[1]})):(C=setTimeout((function(){D||i(c,["oneclick","onetap","voneclick"],t,{x:o[0],y:o[1]})}),r.multiClickDebounceTime()),N=t.timeStamp)),null!=c||e.dragData.didDrag||e.hoverData.selecting||e.hoverData.dragged||a(t)||(r.$(n).unselect(["tapunselect"]),u.length>0&&e.redrawHint("eles",!0),e.dragData.possibleDragElements=u=r.collection()),l!=c||e.dragData.didDrag||e.hoverData.selecting||null!=l&&l._private.selectable&&(e.hoverData.dragging||("additive"===r.selectionType()||h?l.selected()?l.unselect(["tapunselect"]):l.select(["tapselect"]):h||(r.$(n).unmerge(l).unselect(["tapunselect"]),l.select(["tapselect"]))),e.redrawHint("eles",!0)),e.hoverData.selecting){var g=r.collection(e.getAllInBox(s[0],s[1],s[2],s[3]));e.redrawHint("select",!0),g.length>0&&e.redrawHint("eles",!0),r.emit({type:"boxend",originalEvent:t,position:{x:o[0],y:o[1]}});var f=function(e){return e.selectable()&&!e.selected()};"additive"===r.selectionType()||h||r.$(n).unmerge(g).unselect(),g.emit("box").stdFilter(f).select().emit("boxselect"),e.redraw()}if(e.hoverData.dragging&&(e.hoverData.dragging=!1,e.redrawHint("select",!0),e.redrawHint("eles",!0),e.redraw()),!s[4]){e.redrawHint("drag",!0),e.redrawHint("eles",!0);var v=c&&c.grabbed();y(u),v&&(c.emit("freeon"),u.emit("free"),e.dragData.didDrag&&(c.emit("dragfreeon"),u.emit("dragfree")))}}s[4]=0,e.hoverData.down=null,e.hoverData.cxtStarted=!1,e.hoverData.draggingEles=!1,e.hoverData.selecting=!1,e.hoverData.isOverThresholdDrag=!1,e.dragData.didDrag=!1,e.hoverData.dragged=!1,e.hoverData.dragDelta=[],e.hoverData.mdownPos=null,e.hoverData.mdownGPos=null,e.hoverData.which=null}}),!1);var P,I,k,M,R,O,B,F,z,G,V,Y,X,U=function(t){if(!e.scrollingPage){var n=e.cy,r=n.zoom(),i=n.pan(),a=e.projectIntoViewport(t.clientX,t.clientY),o=[a[0]*r+i.x,a[1]*r+i.y];if(e.hoverData.draggingEles||e.hoverData.dragging||e.hoverData.cxtStarted||_())t.preventDefault();else if(n.panningEnabled()&&n.userPanningEnabled()&&n.zoomingEnabled()&&n.userZoomingEnabled()){var s;t.preventDefault(),e.data.wheelZooming=!0,clearTimeout(e.data.wheelTimeout),e.data.wheelTimeout=setTimeout((function(){e.data.wheelZooming=!1,e.redrawHint("eles",!0),e.redraw()}),150),s=null!=t.deltaY?t.deltaY/-250:null!=t.wheelDeltaY?t.wheelDeltaY/1e3:t.wheelDelta/1e3,s*=e.wheelSensitivity,1===t.deltaMode&&(s*=33);var l=n.zoom()*Math.pow(10,s);"gesturechange"===t.type&&(l=e.gestureStartZoom*t.scale),n.zoom({level:l,renderedPosition:{x:o[0],y:o[1]}}),n.emit("gesturechange"===t.type?"pinchzoom":"scrollzoom")}}};e.registerBinding(e.container,"wheel",U,!0),e.registerBinding(t,"scroll",(function(t){e.scrollingPage=!0,clearTimeout(e.scrollingPageTimeout),e.scrollingPageTimeout=setTimeout((function(){e.scrollingPage=!1}),250)}),!0),e.registerBinding(e.container,"gesturestart",(function(t){e.gestureStartZoom=e.cy.zoom(),e.hasTouchStarted||t.preventDefault()}),!0),e.registerBinding(e.container,"gesturechange",(function(t){e.hasTouchStarted||U(t)}),!0),e.registerBinding(e.container,"mouseout",(function(t){var n=e.projectIntoViewport(t.clientX,t.clientY);e.cy.emit({originalEvent:t,type:"mouseout",position:{x:n[0],y:n[1]}})}),!1),e.registerBinding(e.container,"mouseover",(function(t){var n=e.projectIntoViewport(t.clientX,t.clientY);e.cy.emit({originalEvent:t,type:"mouseover",position:{x:n[0],y:n[1]}})}),!1);var j,W,H,q,$,K,Z,Q=function(e,t,n,r){return Math.sqrt((n-e)*(n-e)+(r-t)*(r-t))},J=function(e,t,n,r){return(n-e)*(n-e)+(r-t)*(r-t)};if(e.registerBinding(e.container,"touchstart",j=function(t){if(e.hasTouchStarted=!0,A(t)){b(),e.touchData.capture=!0,e.data.bgActivePosistion=void 0;var n=e.cy,r=e.touchData.now,a=e.touchData.earlier;if(t.touches[0]){var o=e.projectIntoViewport(t.touches[0].clientX,t.touches[0].clientY);r[0]=o[0],r[1]=o[1]}if(t.touches[1]&&(o=e.projectIntoViewport(t.touches[1].clientX,t.touches[1].clientY),r[2]=o[0],r[3]=o[1]),t.touches[2]&&(o=e.projectIntoViewport(t.touches[2].clientX,t.touches[2].clientY),r[4]=o[0],r[5]=o[1]),t.touches[1]){e.touchData.singleTouchMoved=!0,y(e.dragData.touchDragEles);var s=e.findContainerClientCoords();z=s[0],G=s[1],V=s[2],Y=s[3],P=t.touches[0].clientX-z,I=t.touches[0].clientY-G,k=t.touches[1].clientX-z,M=t.touches[1].clientY-G,X=0<=P&&P<=V&&0<=k&&k<=V&&0<=I&&I<=Y&&0<=M&&M<=Y;var l=n.pan(),u=n.zoom();R=Q(P,I,k,M),O=J(P,I,k,M),F=[((B=[(P+k)/2,(I+M)/2])[0]-l.x)/u,(B[1]-l.y)/u];var c=200;if(O<c*c&&!t.touches[2]){var d=e.findNearestElement(r[0],r[1],!0,!0),p=e.findNearestElement(r[2],r[3],!0,!0);return d&&d.isNode()?(d.activate().emit({originalEvent:t,type:"cxttapstart",position:{x:r[0],y:r[1]}}),e.touchData.start=d):p&&p.isNode()?(p.activate().emit({originalEvent:t,type:"cxttapstart",position:{x:r[0],y:r[1]}}),e.touchData.start=p):n.emit({originalEvent:t,type:"cxttapstart",position:{x:r[0],y:r[1]}}),e.touchData.start&&(e.touchData.start._private.grabbed=!1),e.touchData.cxt=!0,e.touchData.cxtDragged=!1,e.data.bgActivePosistion=void 0,void e.redraw()}}if(t.touches[2])n.boxSelectionEnabled()&&t.preventDefault();else if(t.touches[1]);else if(t.touches[0]){var g=e.findNearestElements(r[0],r[1],!0,!0),m=g[0];if(null!=m&&(m.activate(),e.touchData.start=m,e.touchData.starts=g,e.nodeIsGrabbable(m))){var x=e.dragData.touchDragEles=n.collection(),w=null;e.redrawHint("eles",!0),e.redrawHint("drag",!0),m.selected()?(w=n.$((function(t){return t.selected()&&e.nodeIsGrabbable(t)})),f(w,{addToList:x})):v(m,{addToList:x}),h(m);var E=function(e){return{originalEvent:t,type:e,position:{x:r[0],y:r[1]}}};m.emit(E("grabon")),w?w.forEach((function(e){e.emit(E("grab"))})):m.emit(E("grab"))}i(m,["touchstart","tapstart","vmousedown"],t,{x:r[0],y:r[1]}),null==m&&(e.data.bgActivePosistion={x:o[0],y:o[1]},e.redrawHint("select",!0),e.redraw()),e.touchData.singleTouchMoved=!1,e.touchData.singleTouchStartTime=+new Date,clearTimeout(e.touchData.tapholdTimeout),e.touchData.tapholdTimeout=setTimeout((function(){!1!==e.touchData.singleTouchMoved||e.pinching||e.touchData.selecting||i(e.touchData.start,["taphold"],t,{x:r[0],y:r[1]})}),e.tapholdDuration)}if(t.touches.length>=1){for(var T=e.touchData.startPosition=[null,null,null,null,null,null],_=0;_<r.length;_++)T[_]=a[_]=r[_];var C=t.touches[0];e.touchData.startGPosition=[C.clientX,C.clientY]}}},!1),e.registerBinding(t,"touchmove",W=function(t){var n=e.touchData.capture;if(n||A(t)){var r=e.selection,a=e.cy,s=e.touchData.now,l=e.touchData.earlier,u=a.zoom();if(t.touches[0]){var c=e.projectIntoViewport(t.touches[0].clientX,t.touches[0].clientY);s[0]=c[0],s[1]=c[1]}t.touches[1]&&(c=e.projectIntoViewport(t.touches[1].clientX,t.touches[1].clientY),s[2]=c[0],s[3]=c[1]),t.touches[2]&&(c=e.projectIntoViewport(t.touches[2].clientX,t.touches[2].clientY),s[4]=c[0],s[5]=c[1]);var h,d=e.touchData.startGPosition;if(n&&t.touches[0]&&d){for(var p=[],g=0;g<s.length;g++)p[g]=s[g]-l[g];var v=t.touches[0].clientX-d[0],m=v*v,b=t.touches[0].clientY-d[1];h=m+b*b>=e.touchTapThreshold2}if(n&&e.touchData.cxt){t.preventDefault();var x=t.touches[0].clientX-z,w=t.touches[0].clientY-G,E=t.touches[1].clientX-z,T=t.touches[1].clientY-G,_=J(x,w,E,T),C=150,D=1.5;if(_/O>=D*D||_>=C*C){e.touchData.cxt=!1,e.data.bgActivePosistion=void 0,e.redrawHint("select",!0);var N={originalEvent:t,type:"cxttapend",position:{x:s[0],y:s[1]}};e.touchData.start?(e.touchData.start.unactivate().emit(N),e.touchData.start=null):a.emit(N)}}if(n&&e.touchData.cxt){N={originalEvent:t,type:"cxtdrag",position:{x:s[0],y:s[1]}},e.data.bgActivePosistion=void 0,e.redrawHint("select",!0),e.touchData.start?e.touchData.start.emit(N):a.emit(N),e.touchData.start&&(e.touchData.start._private.grabbed=!1),e.touchData.cxtDragged=!0;var L=e.findNearestElement(s[0],s[1],!0,!0);e.touchData.cxtOver&&L===e.touchData.cxtOver||(e.touchData.cxtOver&&e.touchData.cxtOver.emit({originalEvent:t,type:"cxtdragout",position:{x:s[0],y:s[1]}}),e.touchData.cxtOver=L,L&&L.emit({originalEvent:t,type:"cxtdragover",position:{x:s[0],y:s[1]}}))}else if(n&&t.touches[2]&&a.boxSelectionEnabled())t.preventDefault(),e.data.bgActivePosistion=void 0,this.lastThreeTouch=+new Date,e.touchData.selecting||a.emit({originalEvent:t,type:"boxstart",position:{x:s[0],y:s[1]}}),e.touchData.selecting=!0,e.touchData.didSelect=!0,r[4]=1,r&&0!==r.length&&void 0!==r[0]?(r[2]=(s[0]+s[2]+s[4])/3,r[3]=(s[1]+s[3]+s[5])/3):(r[0]=(s[0]+s[2]+s[4])/3,r[1]=(s[1]+s[3]+s[5])/3,r[2]=(s[0]+s[2]+s[4])/3+1,r[3]=(s[1]+s[3]+s[5])/3+1),e.redrawHint("select",!0),e.redraw();else if(n&&t.touches[1]&&!e.touchData.didSelect&&a.zoomingEnabled()&&a.panningEnabled()&&a.userZoomingEnabled()&&a.userPanningEnabled()){if(t.preventDefault(),e.data.bgActivePosistion=void 0,e.redrawHint("select",!0),ne=e.dragData.touchDragEles){e.redrawHint("drag",!0);for(var B=0;B<ne.length;B++){var V=ne[B]._private;V.grabbed=!1,V.rscratch.inDragLayer=!1}}var Y=e.touchData.start,U=(x=t.touches[0].clientX-z,w=t.touches[0].clientY-G,E=t.touches[1].clientX-z,T=t.touches[1].clientY-G,Q(x,w,E,T)),j=U/R;if(X){var W=(x-P+(E-k))/2,H=(w-I+(T-M))/2,q=a.zoom(),$=q*j,K=a.pan(),Z=F[0]*q+K.x,ee=F[1]*q+K.y,te={x:-$/q*(Z-K.x-W)+Z,y:-$/q*(ee-K.y-H)+ee};if(Y&&Y.active()){var ne=e.dragData.touchDragEles;y(ne),e.redrawHint("drag",!0),e.redrawHint("eles",!0),Y.unactivate().emit("freeon"),ne.emit("free"),e.dragData.didDrag&&(Y.emit("dragfreeon"),ne.emit("dragfree"))}a.viewport({zoom:$,pan:te,cancelOnFailedZoom:!0}),a.emit("pinchzoom"),R=U,P=x,I=w,k=E,M=T,e.pinching=!0}t.touches[0]&&(c=e.projectIntoViewport(t.touches[0].clientX,t.touches[0].clientY),s[0]=c[0],s[1]=c[1]),t.touches[1]&&(c=e.projectIntoViewport(t.touches[1].clientX,t.touches[1].clientY),s[2]=c[0],s[3]=c[1]),t.touches[2]&&(c=e.projectIntoViewport(t.touches[2].clientX,t.touches[2].clientY),s[4]=c[0],s[5]=c[1])}else if(t.touches[0]&&!e.touchData.didSelect){var re=e.touchData.start,ie=e.touchData.last;if(e.hoverData.draggingEles||e.swipePanning||(L=e.findNearestElement(s[0],s[1],!0,!0)),n&&null!=re&&t.preventDefault(),n&&null!=re&&e.nodeIsDraggable(re))if(h){ne=e.dragData.touchDragEles;var ae=!e.dragData.didDrag;ae&&f(ne,{inDragLayer:!0}),e.dragData.didDrag=!0;var oe={x:0,y:0};S(p[0])&&S(p[1])&&(oe.x+=p[0],oe.y+=p[1],ae&&(e.redrawHint("eles",!0),(se=e.touchData.dragDelta)&&S(se[0])&&S(se[1])&&(oe.x+=se[0],oe.y+=se[1]))),e.hoverData.draggingEles=!0,ne.silentShift(oe).emit("position drag"),e.redrawHint("drag",!0),e.touchData.startPosition[0]==l[0]&&e.touchData.startPosition[1]==l[1]&&e.redrawHint("eles",!0),e.redraw()}else{var se;0===(se=e.touchData.dragDelta=e.touchData.dragDelta||[]).length?(se.push(p[0]),se.push(p[1])):(se[0]+=p[0],se[1]+=p[1])}if(i(re||L,["touchmove","tapdrag","vmousemove"],t,{x:s[0],y:s[1]}),re&&re.grabbed()||L==ie||(ie&&ie.emit({originalEvent:t,type:"tapdragout",position:{x:s[0],y:s[1]}}),L&&L.emit({originalEvent:t,type:"tapdragover",position:{x:s[0],y:s[1]}})),e.touchData.last=L,n)for(B=0;B<s.length;B++)s[B]&&e.touchData.startPosition[B]&&h&&(e.touchData.singleTouchMoved=!0);n&&(null==re||re.pannable())&&a.panningEnabled()&&a.userPanningEnabled()&&(o(re,e.touchData.starts)&&(t.preventDefault(),e.data.bgActivePosistion||(e.data.bgActivePosistion=vn(e.touchData.startPosition)),e.swipePanning?(a.panBy({x:p[0]*u,y:p[1]*u}),a.emit("dragpan")):h&&(e.swipePanning=!0,a.panBy({x:v*u,y:b*u}),a.emit("dragpan"),re&&(re.unactivate(),e.redrawHint("select",!0),e.touchData.start=null))),c=e.projectIntoViewport(t.touches[0].clientX,t.touches[0].clientY),s[0]=c[0],s[1]=c[1])}for(g=0;g<s.length;g++)l[g]=s[g];n&&t.touches.length>0&&!e.hoverData.draggingEles&&!e.swipePanning&&null!=e.data.bgActivePosistion&&(e.data.bgActivePosistion=void 0,e.redrawHint("select",!0),e.redraw())}},!1),e.registerBinding(t,"touchcancel",H=function(t){var n=e.touchData.start;e.touchData.capture=!1,n&&n.unactivate()}),e.registerBinding(t,"touchend",q=function(t){var r=e.touchData.start;if(e.touchData.capture){0===t.touches.length&&(e.touchData.capture=!1),t.preventDefault();var a=e.selection;e.swipePanning=!1,e.hoverData.draggingEles=!1;var o,s=e.cy,l=s.zoom(),u=e.touchData.now,c=e.touchData.earlier;if(t.touches[0]){var h=e.projectIntoViewport(t.touches[0].clientX,t.touches[0].clientY);u[0]=h[0],u[1]=h[1]}if(t.touches[1]&&(h=e.projectIntoViewport(t.touches[1].clientX,t.touches[1].clientY),u[2]=h[0],u[3]=h[1]),t.touches[2]&&(h=e.projectIntoViewport(t.touches[2].clientX,t.touches[2].clientY),u[4]=h[0],u[5]=h[1]),r&&r.unactivate(),e.touchData.cxt){if(o={originalEvent:t,type:"cxttapend",position:{x:u[0],y:u[1]}},r?r.emit(o):s.emit(o),!e.touchData.cxtDragged){var d={originalEvent:t,type:"cxttap",position:{x:u[0],y:u[1]}};r?r.emit(d):s.emit(d)}return e.touchData.start&&(e.touchData.start._private.grabbed=!1),e.touchData.cxt=!1,e.touchData.start=null,void e.redraw()}if(!t.touches[2]&&s.boxSelectionEnabled()&&e.touchData.selecting){e.touchData.selecting=!1;var p=s.collection(e.getAllInBox(a[0],a[1],a[2],a[3]));a[0]=void 0,a[1]=void 0,a[2]=void 0,a[3]=void 0,a[4]=0,e.redrawHint("select",!0),s.emit({type:"boxend",originalEvent:t,position:{x:u[0],y:u[1]}});var g=function(e){return e.selectable()&&!e.selected()};p.emit("box").stdFilter(g).select().emit("boxselect"),p.nonempty()&&e.redrawHint("eles",!0),e.redraw()}if(null!=r&&r.unactivate(),t.touches[2])e.data.bgActivePosistion=void 0,e.redrawHint("select",!0);else if(t.touches[1]);else if(t.touches[0]);else if(!t.touches[0]){e.data.bgActivePosistion=void 0,e.redrawHint("select",!0);var f=e.dragData.touchDragEles;if(null!=r){var v=r._private.grabbed;y(f),e.redrawHint("drag",!0),e.redrawHint("eles",!0),v&&(r.emit("freeon"),f.emit("free"),e.dragData.didDrag&&(r.emit("dragfreeon"),f.emit("dragfree"))),i(r,["touchend","tapend","vmouseup","tapdragout"],t,{x:u[0],y:u[1]}),r.unactivate(),e.touchData.start=null}else{var m=e.findNearestElement(u[0],u[1],!0,!0);i(m,["touchend","tapend","vmouseup","tapdragout"],t,{x:u[0],y:u[1]})}var b=e.touchData.startPosition[0]-u[0],x=b*b,w=e.touchData.startPosition[1]-u[1],E=(x+w*w)*l*l;e.touchData.singleTouchMoved||(r||s.$(":selected").unselect(["tapunselect"]),i(r,["tap","vclick"],t,{x:u[0],y:u[1]}),$=!1,t.timeStamp-Z<=s.multiClickDebounceTime()?(K&&clearTimeout(K),$=!0,Z=null,i(r,["dbltap","vdblclick"],t,{x:u[0],y:u[1]})):(K=setTimeout((function(){$||i(r,["onetap","voneclick"],t,{x:u[0],y:u[1]})}),s.multiClickDebounceTime()),Z=t.timeStamp)),null!=r&&!e.dragData.didDrag&&r._private.selectable&&E<e.touchTapThreshold2&&!e.pinching&&("single"===s.selectionType()?(s.$(n).unmerge(r).unselect(["tapunselect"]),r.select(["tapselect"])):r.selected()?r.unselect(["tapunselect"]):r.select(["tapselect"]),e.redrawHint("eles",!0)),e.touchData.singleTouchMoved=!0}for(var T=0;T<u.length;T++)c[T]=u[T];e.dragData.didDrag=!1,0===t.touches.length&&(e.touchData.dragDelta=[],e.touchData.startPosition=[null,null,null,null,null,null],e.touchData.startGPosition=null,e.touchData.didSelect=!1),t.touches.length<2&&(1===t.touches.length&&(e.touchData.startGPosition=[t.touches[0].clientX,t.touches[0].clientY]),e.pinching=!1,e.redrawHint("eles",!0),e.redraw())}},!1),"undefined"==typeof TouchEvent){var ee=[],te=function(e){return{clientX:e.clientX,clientY:e.clientY,force:1,identifier:e.pointerId,pageX:e.pageX,pageY:e.pageY,radiusX:e.width/2,radiusY:e.height/2,screenX:e.screenX,screenY:e.screenY,target:e.target}},ne=function(e){return{event:e,touch:te(e)}},re=function(e){ee.push(ne(e))},ie=function(e){for(var t=0;t<ee.length;t++)if(ee[t].event.pointerId===e.pointerId)return void ee.splice(t,1)},ae=function(e){var t=ee.filter((function(t){return t.event.pointerId===e.pointerId}))[0];t.event=e,t.touch=te(e)},oe=function(e){e.touches=ee.map((function(e){return e.touch}))},se=function(e){return"mouse"===e.pointerType||4===e.pointerType};e.registerBinding(e.container,"pointerdown",(function(e){se(e)||(e.preventDefault(),re(e),oe(e),j(e))})),e.registerBinding(e.container,"pointerup",(function(e){se(e)||(ie(e),oe(e),q(e))})),e.registerBinding(e.container,"pointercancel",(function(e){se(e)||(ie(e),oe(e),H(e))})),e.registerBinding(e.container,"pointermove",(function(e){se(e)||(e.preventDefault(),ae(e),oe(e),W(e))}))}}},Uh={generatePolygon:function(e,t){return this.nodeShapes[e]={renderer:this,name:e,points:t,draw:function(e,t,n,r,i,a){this.renderer.nodeShapeImpl("polygon",e,t,n,r,i,this.points)},intersectLine:function(e,t,n,r,i,a,o,s){return lr(i,a,this.points,e,t,n/2,r/2,o)},checkPoint:function(e,t,n,r,i,a,o,s){return Jn(e,t,this.points,a,o,r,i,[0,-1],n)}}},generateEllipse:function(){return this.nodeShapes.ellipse={renderer:this,name:"ellipse",draw:function(e,t,n,r,i,a){this.renderer.nodeShapeImpl(this.name,e,t,n,r,i)},intersectLine:function(e,t,n,r,i,a,o,s){return rr(i,a,e,t,n/2+o,r/2+o)},checkPoint:function(e,t,n,r,i,a,o,s){return ir(e,t,r,i,a,o,n)}}},generateRoundPolygon:function(e,t){return this.nodeShapes[e]={renderer:this,name:e,points:t,getOrCreateCorners:function(e,n,r,i,a,o,s){if(void 0!==o[s]&&o[s+"-cx"]===e&&o[s+"-cy"]===n)return o[s];o[s]=new Array(t.length/2),o[s+"-cx"]=e,o[s+"-cy"]=n;var l=r/2,u=i/2;a="auto"===a?fr(r,i):a;for(var c=new Array(t.length/2),h=0;h<t.length/2;h++)c[h]={x:e+l*t[2*h],y:n+u*t[2*h+1]};var d,p,g,f,v=c.length;for(p=c[v-1],d=0;d<v;d++)g=c[d%v],f=c[(d+1)%v],o[s][d]=Ch(p,g,f,a),p=g,g=f;return o[s]},draw:function(e,t,n,r,i,a,o){this.renderer.nodeShapeImpl("round-polygon",e,t,n,r,i,this.points,this.getOrCreateCorners(t,n,r,i,a,o,"drawCorners"))},intersectLine:function(e,t,n,r,i,a,o,s,l){return ur(i,a,this.points,e,t,n,r,o,this.getOrCreateCorners(e,t,n,r,s,l,"corners"))},checkPoint:function(e,t,n,r,i,a,o,s,l){return er(e,t,this.points,a,o,r,i,this.getOrCreateCorners(a,o,r,i,s,l,"corners"))}}},generateRoundRectangle:function(){return this.nodeShapes["round-rectangle"]=this.nodeShapes.roundrectangle={renderer:this,name:"round-rectangle",points:hr(4,0),draw:function(e,t,n,r,i,a){this.renderer.nodeShapeImpl(this.name,e,t,n,r,i,this.points,a)},intersectLine:function(e,t,n,r,i,a,o,s){return jn(i,a,e,t,n,r,o,s)},checkPoint:function(e,t,n,r,i,a,o,s){var l=r/2,u=i/2;s="auto"===s?gr(r,i):s;var c=2*(s=Math.min(l,u,s));return!!(Jn(e,t,this.points,a,o,r,i-c,[0,-1],n)||Jn(e,t,this.points,a,o,r-c,i,[0,-1],n)||ir(e,t,c,c,a-l+s,o-u+s,n)||ir(e,t,c,c,a+l-s,o-u+s,n)||ir(e,t,c,c,a+l-s,o+u-s,n)||ir(e,t,c,c,a-l+s,o+u-s,n))}}},generateCutRectangle:function(){return this.nodeShapes["cut-rectangle"]=this.nodeShapes.cutrectangle={renderer:this,name:"cut-rectangle",cornerLength:vr(),points:hr(4,0),draw:function(e,t,n,r,i,a){this.renderer.nodeShapeImpl(this.name,e,t,n,r,i,null,a)},generateCutTrianglePts:function(e,t,n,r,i){var a="auto"===i?this.cornerLength:i,o=t/2,s=e/2,l=n-s,u=n+s,c=r-o,h=r+o;return{topLeft:[l,c+a,l+a,c,l+a,c+a],topRight:[u-a,c,u,c+a,u-a,c+a],bottomRight:[u,h-a,u-a,h,u-a,h-a],bottomLeft:[l+a,h,l,h-a,l+a,h-a]}},intersectLine:function(e,t,n,r,i,a,o,s){var l=this.generateCutTrianglePts(n+2*o,r+2*o,e,t,s),u=[].concat.apply([],[l.topLeft.splice(0,4),l.topRight.splice(0,4),l.bottomRight.splice(0,4),l.bottomLeft.splice(0,4)]);return lr(i,a,u,e,t)},checkPoint:function(e,t,n,r,i,a,o,s){var l="auto"===s?this.cornerLength:s;if(Jn(e,t,this.points,a,o,r,i-2*l,[0,-1],n))return!0;if(Jn(e,t,this.points,a,o,r-2*l,i,[0,-1],n))return!0;var u=this.generateCutTrianglePts(r,i,a,o);return Qn(e,t,u.topLeft)||Qn(e,t,u.topRight)||Qn(e,t,u.bottomRight)||Qn(e,t,u.bottomLeft)}}},generateBarrel:function(){return this.nodeShapes.barrel={renderer:this,name:"barrel",points:hr(4,0),draw:function(e,t,n,r,i,a){this.renderer.nodeShapeImpl(this.name,e,t,n,r,i)},intersectLine:function(e,t,n,r,i,a,o,s){var l=.15,u=.5,c=.85,h=this.generateBarrelBezierPts(n+2*o,r+2*o,e,t),d=function(e){var t=Sn({x:e[0],y:e[1]},{x:e[2],y:e[3]},{x:e[4],y:e[5]},l),n=Sn({x:e[0],y:e[1]},{x:e[2],y:e[3]},{x:e[4],y:e[5]},u),r=Sn({x:e[0],y:e[1]},{x:e[2],y:e[3]},{x:e[4],y:e[5]},c);return[e[0],e[1],t.x,t.y,n.x,n.y,r.x,r.y,e[4],e[5]]},p=[].concat(d(h.topLeft),d(h.topRight),d(h.bottomRight),d(h.bottomLeft));return lr(i,a,p,e,t)},generateBarrelBezierPts:function(e,t,n,r){var i=t/2,a=e/2,o=n-a,s=n+a,l=r-i,u=r+i,c=mr(e,t),h=c.heightOffset,d=c.widthOffset,p=c.ctrlPtOffsetPct*e,g={topLeft:[o,l+h,o+p,l,o+d,l],topRight:[s-d,l,s-p,l,s,l+h],bottomRight:[s,u-h,s-p,u,s-d,u],bottomLeft:[o+d,u,o+p,u,o,u-h]};return g.topLeft.isTop=!0,g.topRight.isTop=!0,g.bottomLeft.isBottom=!0,g.bottomRight.isBottom=!0,g},checkPoint:function(e,t,n,r,i,a,o,s){var l=mr(r,i),u=l.heightOffset,c=l.widthOffset;if(Jn(e,t,this.points,a,o,r,i-2*u,[0,-1],n))return!0;if(Jn(e,t,this.points,a,o,r-2*c,i,[0,-1],n))return!0;for(var h=this.generateBarrelBezierPts(r,i,a,o),d=function(e,t,n){var r=n[4],i=n[2],a=n[0],o=n[5],s=n[1],l=Math.min(r,a),u=Math.max(r,a),c=Math.min(o,s),h=Math.max(o,s);if(l<=e&&e<=u&&c<=t&&t<=h){var d=yr(r,i,a),p=qn(d[0],d[1],d[2],e).filter((function(e){return 0<=e&&e<=1}));if(p.length>0)return p[0]}return null},p=Object.keys(h),g=0;g<p.length;g++){var f=h[p[g]],v=d(e,t,f);if(null!=v){var y=f[5],m=f[3],b=f[1],x=Nn(y,m,b,v);if(f.isTop&&x<=t)return!0;if(f.isBottom&&t<=x)return!0}}return!1}}},generateBottomRoundrectangle:function(){return this.nodeShapes["bottom-round-rectangle"]=this.nodeShapes.bottomroundrectangle={renderer:this,name:"bottom-round-rectangle",points:hr(4,0),draw:function(e,t,n,r,i,a){this.renderer.nodeShapeImpl(this.name,e,t,n,r,i,this.points,a)},intersectLine:function(e,t,n,r,i,a,o,s){var l=t-(r/2+o),u=sr(i,a,e,t,e-(n/2+o),l,e+(n/2+o),l,!1);return u.length>0?u:jn(i,a,e,t,n,r,o,s)},checkPoint:function(e,t,n,r,i,a,o,s){var l=2*(s="auto"===s?gr(r,i):s);if(Jn(e,t,this.points,a,o,r,i-l,[0,-1],n))return!0;if(Jn(e,t,this.points,a,o,r-l,i,[0,-1],n))return!0;var u=r/2+2*n,c=i/2+2*n;return!!Qn(e,t,[a-u,o-c,a-u,o,a+u,o,a+u,o-c])||!!ir(e,t,l,l,a+r/2-s,o+i/2-s,n)||!!ir(e,t,l,l,a-r/2+s,o+i/2-s,n)}}},registerNodeShapes:function(){var e=this.nodeShapes={},t=this;this.generateEllipse(),this.generatePolygon("triangle",hr(3,0)),this.generateRoundPolygon("round-triangle",hr(3,0)),this.generatePolygon("rectangle",hr(4,0)),e.square=e.rectangle,this.generateRoundRectangle(),this.generateCutRectangle(),this.generateBarrel(),this.generateBottomRoundrectangle();var n=[0,1,1,0,0,-1,-1,0];this.generatePolygon("diamond",n),this.generateRoundPolygon("round-diamond",n),this.generatePolygon("pentagon",hr(5,0)),this.generateRoundPolygon("round-pentagon",hr(5,0)),this.generatePolygon("hexagon",hr(6,0)),this.generateRoundPolygon("round-hexagon",hr(6,0)),this.generatePolygon("heptagon",hr(7,0)),this.generateRoundPolygon("round-heptagon",hr(7,0)),this.generatePolygon("octagon",hr(8,0)),this.generateRoundPolygon("round-octagon",hr(8,0));var r=new Array(20),i=pr(5,0),a=pr(5,Math.PI/5),o=.5*(3-Math.sqrt(5));o*=1.57;for(var s=0;s<a.length/2;s++)a[2*s]*=o,a[2*s+1]*=o;for(s=0;s<5;s++)r[4*s]=i[2*s],r[4*s+1]=i[2*s+1],r[4*s+2]=a[2*s],r[4*s+3]=a[2*s+1];r=dr(r),this.generatePolygon("star",r),this.generatePolygon("vee",[-1,-1,0,-.333,1,-1,0,1]),this.generatePolygon("rhomboid",[-1,-1,.333,-1,1,1,-.333,1]),this.generatePolygon("right-rhomboid",[-.333,-1,1,-1,.333,1,-1,1]),this.nodeShapes.concavehexagon=this.generatePolygon("concave-hexagon",[-1,-.95,-.75,0,-1,.95,1,.95,.75,0,1,-.95]);var l=[-1,-1,.25,-1,1,0,.25,1,-1,1];this.generatePolygon("tag",l),this.generateRoundPolygon("round-tag",l),e.makePolygon=function(e){var n,r="polygon-"+e.join("$");return(n=this[r])?n:t.generatePolygon(r,e)}}},jh={timeToRender:function(){return this.redrawTotalTime/this.redrawCount},redraw:function(e){e=e||Ot();var t=this;void 0===t.averageRedrawTime&&(t.averageRedrawTime=0),void 0===t.lastRedrawTime&&(t.lastRedrawTime=0),void 0===t.lastDrawTime&&(t.lastDrawTime=0),t.requestedFrame=!0,t.renderOptions=e},beforeRender:function(e,t){if(!this.destroyed){null==t&&Nt("Priority is not optional for beforeRender");var n=this.beforeRenderCallbacks;n.push({fn:e,priority:t}),n.sort((function(e,t){return t.priority-e.priority}))}}},Wh=function(e,t,n){for(var r=e.beforeRenderCallbacks,i=0;i<r.length;i++)r[i].fn(t,n)};jh.startRenderLoop=function(){var e=this,t=e.cy;if(!e.renderLoopStarted){e.renderLoopStarted=!0;var n=function n(r){if(!e.destroyed){if(t.batching());else if(e.requestedFrame&&!e.skipFrame){Wh(e,!0,r);var i=lt();e.render(e.renderOptions);var a=e.lastDrawTime=lt();void 0===e.averageRedrawTime&&(e.averageRedrawTime=a-i),void 0===e.redrawCount&&(e.redrawCount=0),e.redrawCount++,void 0===e.redrawTotalTime&&(e.redrawTotalTime=0);var o=a-i;e.redrawTotalTime+=o,e.lastRedrawTime=o,e.averageRedrawTime=e.averageRedrawTime/2+o/2,e.requestedFrame=!1}else Wh(e,!1,r);e.skipFrame=!1,st(n)}};st(n)}};var Hh=function(e){this.init(e)},qh=Hh.prototype;qh.clientFunctions=["redrawHint","render","renderTo","matchCanvasSize","nodeShapeImpl","arrowShapeImpl"],qh.init=function(e){var t=this;t.options=e,t.cy=e.cy;var n=t.container=e.cy.container(),r=t.cy.window();if(r){var i=r.document,a=i.head,o="__________cytoscape_stylesheet",s="__________cytoscape_container",l=null!=i.getElementById(o);if(n.className.indexOf(s)<0&&(n.className=(n.className||"")+" "+s),!l){var u=i.createElement("style");u.id=o,u.textContent="."+s+" { position: relative; }",a.insertBefore(u,a.children[0])}"static"===r.getComputedStyle(n).getPropertyValue("position")&&Lt("A Cytoscape container has style position:static and so can not use UI extensions properly")}t.selection=[void 0,void 0,void 0,void 0,0],t.bezierProjPcts=[.05,.225,.4,.5,.6,.775,.95],t.hoverData={down:null,last:null,downTime:null,triggerMode:null,dragging:!1,initialPan:[null,null],capture:!1},t.dragData={possibleDragElements:[]},t.touchData={start:null,capture:!1, +// These 3 fields related to tap, taphold events +startPosition:[null,null,null,null,null,null],singleTouchStartTime:null,singleTouchMoved:!0,now:[null,null,null,null,null,null],earlier:[null,null,null,null,null,null]},t.redraws=0,t.showFps=e.showFps,t.debug=e.debug,t.webgl=e.webgl,t.hideEdgesOnViewport=e.hideEdgesOnViewport,t.textureOnViewport=e.textureOnViewport,t.wheelSensitivity=e.wheelSensitivity,t.motionBlurEnabled=e.motionBlur,t.forcedPixelRatio=S(e.pixelRatio)?e.pixelRatio:null,t.motionBlur=e.motionBlur,t.motionBlurOpacity=e.motionBlurOpacity,t.motionBlurTransparency=1-t.motionBlurOpacity,t.motionBlurPxRatio=1,t.mbPxRBlurry=1,t.minMbLowQualFrames=4,t.fullQualityMb=!1,t.clearedForMotionBlur=[],t.desktopTapThreshold=e.desktopTapThreshold,t.desktopTapThreshold2=e.desktopTapThreshold*e.desktopTapThreshold,t.touchTapThreshold=e.touchTapThreshold,t.touchTapThreshold2=e.touchTapThreshold*e.touchTapThreshold,t.tapholdDuration=500,t.bindings=[],t.beforeRenderCallbacks=[],t.beforeRenderPriorities={ +// higher priority execs before lower one +animations:400,eleCalcs:300,eleTxrDeq:200,lyrTxrDeq:150,lyrTxrSkip:100},t.registerNodeShapes(),t.registerArrowShapes(),t.registerCalculationListeners()},qh.notify=function(e,t){var n=this,r=n.cy;this.destroyed||("init"!==e?"destroy"!==e?(("add"===e||"remove"===e||"move"===e&&r.hasCompoundNodes()||"load"===e||"zorder"===e||"mount"===e)&&n.invalidateCachedZSortedEles(),"viewport"===e&&n.redrawHint("select",!0),"gc"===e&&n.redrawHint("gc",!0),"load"!==e&&"resize"!==e&&"mount"!==e||(n.invalidateContainerClientCoordsCache(),n.matchCanvasSize(n.container)),n.redrawHint("eles",!0),n.redrawHint("drag",!0),this.startRenderLoop(),this.redraw()):n.destroy():n.load())},qh.destroy=function(){var e=this;e.destroyed=!0,e.cy.stopAnimationLoop();for(var t=0;t<e.bindings.length;t++){var n=e.bindings[t],r=n.target;(r.off||r.removeEventListener).apply(r,n.args)}if(e.bindings=[],e.beforeRenderCallbacks=[],e.onUpdateEleCalcsFns=[],e.removeObserver&&e.removeObserver.disconnect(),e.styleObserver&&e.styleObserver.disconnect(),e.resizeObserver&&e.resizeObserver.disconnect(),e.labelCalcDiv)try{document.body.removeChild(e.labelCalcDiv)}catch(i){}},qh.isHeadless=function(){return!1},[eh,Vh,Yh,Xh,Uh,jh].forEach((function(e){re(qh,e)}));var $h=1e3/60,Kh={setupDequeueing:function(e){return function(){var t=this,n=this.renderer;if(!t.dequeueingSetup){t.dequeueingSetup=!0;var r=rt((function(){n.redrawHint("eles",!0),n.redrawHint("drag",!0),n.redraw()}),e.deqRedrawThreshold),i=function(i,a){var o=lt(),s=n.averageRedrawTime,l=n.lastRedrawTime,u=[],c=n.cy.extent(),h=n.getPixelRatio();for(i||n.flushRenderedStyleQueue();;){var d=lt(),p=d-o,g=d-a;if(l<$h){var f=$h-(i?s:0);if(g>=e.deqFastCost*f)break}else if(i){if(p>=e.deqCost*l||p>=e.deqAvgCost*s)break}else if(g>=e.deqNoDrawCost*$h)break;var v=e.deq(t,h,c);if(!(v.length>0))break;for(var y=0;y<v.length;y++)u.push(v[y])}u.length>0&&(e.onDeqd(t,u),!i&&e.shouldRedraw(t,u,h,c)&&r())},a=e.priority||Dt;n.beforeRender(i,a(t))}}}},Zh=function(){function e(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:At;t(this,e),this.idsByKey=new Ut,this.keyForId=new Ut,this.cachesByLvl=new Ut,this.lvls=[],this.getKey=n,this.doesEleInvalidateKey=r}return r(e,[{key:"getIdsFor",value:function(e){null==e&&Nt("Can not get id list for null key");var t=this.idsByKey,n=this.idsByKey.get(e);return n||(n=new Ht,t.set(e,n)),n}},{key:"addIdForKey",value:function(e,t){null!=e&&this.getIdsFor(e).add(t)}},{key:"deleteIdForKey",value:function(e,t){null!=e&&this.getIdsFor(e).delete(t)}},{key:"getNumberOfIdsForKey",value:function(e){return null==e?0:this.getIdsFor(e).size}},{key:"updateKeyMappingFor",value:function(e){var t=e.id(),n=this.keyForId.get(t),r=this.getKey(e);this.deleteIdForKey(n,t),this.addIdForKey(r,t),this.keyForId.set(t,r)}},{key:"deleteKeyMappingFor",value:function(e){var t=e.id(),n=this.keyForId.get(t);this.deleteIdForKey(n,t),this.keyForId.delete(t)}},{key:"keyHasChangedFor",value:function(e){var t=e.id();return this.keyForId.get(t)!==this.getKey(e)}},{key:"isInvalid",value:function(e){return this.keyHasChangedFor(e)||this.doesEleInvalidateKey(e)}},{key:"getCachesAt",value:function(e){var t=this.cachesByLvl,n=this.lvls,r=t.get(e);return r||(r=new Ut,t.set(e,r),n.push(e)),r}},{key:"getCache",value:function(e,t){return this.getCachesAt(t).get(e)}},{key:"get",value:function(e,t){var n=this.getKey(e),r=this.getCache(n,t);return null!=r&&this.updateKeyMappingFor(e),r}},{key:"getForCachedKey",value:function(e,t){var n=this.keyForId.get(e.id());return this.getCache(n,t)}},{key:"hasCache",value:function(e,t){return this.getCachesAt(t).has(e)}},{key:"has",value:function(e,t){var n=this.getKey(e);return this.hasCache(n,t)}},{key:"setCache",value:function(e,t,n){n.key=e,this.getCachesAt(t).set(e,n)}},{key:"set",value:function(e,t,n){var r=this.getKey(e);this.setCache(r,t,n),this.updateKeyMappingFor(e)}},{key:"deleteCache",value:function(e,t){this.getCachesAt(t).delete(e)}},{key:"delete",value:function(e,t){var n=this.getKey(e);this.deleteCache(n,t)}},{key:"invalidateKey",value:function(e){var t=this;this.lvls.forEach((function(n){return t.deleteCache(e,n)}))} +// returns true if no other eles reference the invalidated cache (n.b. other eles may need the cache with the same key) +},{key:"invalidate",value:function(e){var t=e.id(),n=this.keyForId.get(t);this.deleteKeyMappingFor(e);var r=this.doesEleInvalidateKey(e);return r&&this.invalidateKey(n),r||0===this.getNumberOfIdsForKey(n)}}]),e}(),Qh=25,Jh=50,ed=-4,td=3,nd=7.99,rd=8,id=1024,ad=1024,od=1024,sd=.2,ld=.8,ud=10,cd=.15,hd=.1,dd=.9,pd=.9,gd=100,fd=1,vd={dequeue:"dequeue",downscale:"downscale",highQuality:"highQuality"},yd=Bt({getKey:null,doesEleInvalidateKey:At,drawElement:null,getBoundingBox:null,getRotationPoint:null,getRotationOffset:null,isVisible:_t,allowEdgeTxrCaching:!0,allowParentTxrCaching:!0}),md=function(e,t){var n=this;n.renderer=e,n.onDequeues=[];var r=yd(t);re(n,r),n.lookup=new Zh(r.getKey,r.doesEleInvalidateKey),n.setupDequeueing()},bd=md.prototype;bd.reasons=vd,bd.getTextureQueue=function(e){var t=this;return t.eleImgCaches=t.eleImgCaches||{},t.eleImgCaches[e]=t.eleImgCaches[e]||[]},bd.getRetiredTextureQueue=function(e){var t=this,n=t.eleImgCaches.retired=t.eleImgCaches.retired||{};return n[e]=n[e]||[]},bd.getElementQueue=function(){var e=this;return e.eleCacheQueue=e.eleCacheQueue||new Qt((function(e,t){return t.reqs-e.reqs}))},bd.getElementKeyToQueue=function(){var e=this;return e.eleKeyToCacheQueue=e.eleKeyToCacheQueue||{}},bd.getElement=function(e,t,n,r,i){var a=this,o=this.renderer,s=o.cy.zoom(),l=this.lookup;if(!t||0===t.w||0===t.h||isNaN(t.w)||isNaN(t.h)||!e.visible()||e.removed())return null;if(!a.allowEdgeTxrCaching&&e.isEdge()||!a.allowParentTxrCaching&&e.isParent())return null;if(null==r&&(r=Math.ceil(Tn(s*n))),r<ed)r=ed;else if(s>=nd||r>td)return null;var u=Math.pow(2,r),c=t.h*u,h=t.w*u,d=o.eleTextBiggerThanMin(e,u);if(!this.isVisible(e,d))return null;var p,g=l.get(e,r);if(g&&g.invalidated&&(g.invalidated=!1,g.texture.invalidatedWidth-=g.width),g)return g;if(p=c<=Qh?Qh:c<=Jh?Jh:Math.ceil(c/Jh)*Jh,c>od||h>ad)return null;var f=a.getTextureQueue(p),v=f[f.length-2],y=function(){return a.recycleTexture(p,h)||a.addTexture(p,h)};v||(v=f[f.length-1]),v||(v=y()),v.width-v.usedWidth<h&&(v=y());for(var m,b=function(e){return e&&e.scaledLabelShown===d},x=i&&i===vd.dequeue,w=i&&i===vd.highQuality,E=i&&i===vd.downscale,T=r+1;T<=td;T++){var _=l.get(e,T);if(_){m=_;break}}var A=m&&m.level===r+1?m:null,C=function(){v.context.drawImage(A.texture.canvas,A.x,0,A.width,A.height,v.usedWidth,0,h,c)};if(v.context.setTransform(1,0,0,1,0,0),v.context.clearRect(v.usedWidth,0,h,p),b(A))C();else if(b(m)){if(!w)return a.queueElement(e,m.level-1),m;for(var D=m.level;D>r;D--)A=a.getElement(e,t,n,D,vd.downscale);C()}else{var N;if(!x&&!w&&!E)for(var S=r-1;S>=ed;S--){var L=l.get(e,S);if(L){N=L;break}}if(b(N))return a.queueElement(e,r),N;v.context.translate(v.usedWidth,0),v.context.scale(u,u),this.drawElement(v.context,e,t,d,!1),v.context.scale(1/u,1/u),v.context.translate(-v.usedWidth,0)}return g={x:v.usedWidth,texture:v,level:r,scale:u,width:h,height:c,scaledLabelShown:d},v.usedWidth+=Math.ceil(h+rd),v.eleCaches.push(g),l.set(e,r,g),a.checkTextureFullness(v),g},bd.invalidateElements=function(e){for(var t=0;t<e.length;t++)this.invalidateElement(e[t])},bd.invalidateElement=function(e){var t=this,n=t.lookup,r=[];if(n.isInvalid(e)){for(var i=ed;i<=td;i++){var a=n.getForCachedKey(e,i);a&&r.push(a)}if(n.invalidate(e))for(var o=0;o<r.length;o++){var s=r[o],l=s.texture;l.invalidatedWidth+=s.width,s.invalidated=!0,t.checkTextureUtility(l)}t.removeFromQueue(e)}},bd.checkTextureUtility=function(e){e.invalidatedWidth>=sd*e.width&&this.retireTexture(e)},bd.checkTextureFullness=function(e){var t=this.getTextureQueue(e.height);e.usedWidth/e.width>ld&&e.fullnessChecks>=ud?Ft(t,e):e.fullnessChecks++},bd.retireTexture=function(e){var t=this,n=e.height,r=t.getTextureQueue(n),i=this.lookup;Ft(r,e),e.retired=!0;for(var a=e.eleCaches,o=0;o<a.length;o++){var s=a[o];i.deleteCache(s.key,s.level)}zt(a),t.getRetiredTextureQueue(n).push(e)},bd.addTexture=function(e,t){var n=this,r={};return n.getTextureQueue(e).push(r),r.eleCaches=[],r.height=e,r.width=Math.max(id,t),r.usedWidth=0,r.invalidatedWidth=0,r.fullnessChecks=0,r.canvas=n.renderer.makeOffscreenCanvas(r.width,r.height),r.context=r.canvas.getContext("2d"),r},bd.recycleTexture=function(e,t){for(var n=this,r=n.getTextureQueue(e),i=n.getRetiredTextureQueue(e),a=0;a<i.length;a++){var o=i[a];if(o.width>=t)return o.retired=!1,o.usedWidth=0,o.invalidatedWidth=0,o.fullnessChecks=0,zt(o.eleCaches),o.context.setTransform(1,0,0,1,0,0),o.context.clearRect(0,0,o.width,o.height),Ft(i,o),r.push(o),o}},bd.queueElement=function(e,t){var n=this,r=n.getElementQueue(),i=n.getElementKeyToQueue(),a=this.getKey(e),o=i[a];if(o)o.level=Math.max(o.level,t),o.eles.merge(e),o.reqs++,r.updateItem(o);else{var s={eles:e.spawn().merge(e),level:t,reqs:1,key:a};r.push(s),i[a]=s}},bd.dequeue=function(e){for(var t=this,n=t.getElementQueue(),r=t.getElementKeyToQueue(),i=[],a=t.lookup,o=0;o<fd&&n.size()>0;o++){var s=n.pop(),l=s.key,u=s.eles[0],c=a.hasCache(u,s.level);if(r[l]=null,!c){i.push(s);var h=t.getBoundingBox(u);t.getElement(u,h,e,s.level,vd.dequeue)}}return i},bd.removeFromQueue=function(e){var t=this,n=t.getElementQueue(),r=t.getElementKeyToQueue(),i=this.getKey(e),a=r[i];null!=a&&(1===a.eles.length?(a.reqs=Tt,n.updateItem(a),n.pop(),r[i]=null):a.eles.unmerge(e))},bd.onDequeue=function(e){this.onDequeues.push(e)},bd.offDequeue=function(e){Ft(this.onDequeues,e)},bd.setupDequeueing=Kh.setupDequeueing({deqRedrawThreshold:gd,deqCost:cd,deqAvgCost:hd,deqNoDrawCost:dd,deqFastCost:pd,deq:function(e,t,n){return e.dequeue(t,n)},onDeqd:function(e,t){for(var n=0;n<e.onDequeues.length;n++)(0,e.onDequeues[n])(t)},shouldRedraw:function(e,t,n,r){for(var i=0;i<t.length;i++)for(var a=t[i].eles,o=0;o<a.length;o++){var s=a[o].boundingBox();if(Vn(s,r))return!0}return!1},priority:function(e){return e.renderer.beforeRenderPriorities.eleTxrDeq}});var xd=1,wd=-4,Ed=2,Td=3.99,_d=50,Ad=50,Cd=.15,Dd=.1,Nd=.9,Sd=.9,Ld=1,Pd=250,Id=16e6,kd=32767,Md=!0,Rd=function(e){var t=this,n=t.renderer=e,r=n.cy;t.layersByLevel={},t.firstGet=!0,t.lastInvalidationTime=lt()-2*Pd,t.skipping=!1,t.eleTxrDeqs=r.collection(),t.scheduleElementRefinement=rt((function(){t.refineElementTextures(t.eleTxrDeqs),t.eleTxrDeqs.unmerge(t.eleTxrDeqs)}),Ad),n.beforeRender((function(e,n){n-t.lastInvalidationTime<=Pd?t.skipping=!0:t.skipping=!1}),n.beforeRenderPriorities.lyrTxrSkip);var i=function(e,t){return t.reqs-e.reqs};t.layersQueue=new Qt(i),t.setupDequeueing()},Od=Rd.prototype,Bd=0,Fd=Math.pow(2,53)-1;Od.makeLayer=function(e,t){var n=Math.pow(2,t),r=Math.ceil(e.w*n),i=Math.ceil(e.h*n),a=this.renderer.makeOffscreenCanvas(r,i),o={id:Bd=++Bd%Fd,bb:e,level:t,width:r,height:i,canvas:a,context:a.getContext("2d"),eles:[],elesQueue:[],reqs:0},s=o.context,l=-o.bb.x1,u=-o.bb.y1;return s.scale(n,n),s.translate(l,u),o},Od.getLayers=function(e,t,n){var r=this,i=r.renderer.cy.zoom(),a=r.firstGet;if(r.firstGet=!1,null==n)if((n=Math.ceil(Tn(i*t)))<wd)n=wd;else if(i>=Td||n>Ed)return null;r.validateLayersElesOrdering(n,e);var o,s,l=r.layersByLevel,u=Math.pow(2,n),c=l[n]=l[n]||[];if(r.levelIsComplete(n,e))return c;!function(){var t=function(t){if(r.validateLayersElesOrdering(t,e),r.levelIsComplete(t,e))return s=l[t],!0},i=function(e){if(!s)for(var r=n+e;wd<=r&&r<=Ed&&!t(r);r+=e);};i(1),i(-1);for(var a=c.length-1;a>=0;a--){var o=c[a];o.invalid&&Ft(c,o)}}();var h=function(){if(!o){o=In();for(var t=0;t<e.length;t++)On(o,e[t].boundingBox())}return o},d=function(e){var t=(e=e||{}).after;h();var i=Math.ceil(o.w*u),a=Math.ceil(o.h*u);if(i>kd||a>kd)return null;if(i*a>Id)return null;var s=r.makeLayer(o,n);if(null!=t){var l=c.indexOf(t)+1;c.splice(l,0,s)}else(void 0===e.insert||e.insert)&&c.unshift(s);return s};if(r.skipping&&!a)return null;for(var p=null,g=e.length/xd,f=!a,v=0;v<e.length;v++){var y=e[v],m=y._private.rscratch,b=m.imgLayerCaches=m.imgLayerCaches||{},x=b[n];if(x)p=x;else{if((!p||p.eles.length>=g||!Un(p.bb,y.boundingBox()))&&!(p=d({insert:!0,after:p})))return null;s||f?r.queueLayer(p,y):r.drawEleInLayer(p,y,n,t),p.eles.push(y),b[n]=p}}return s||(f?null:c)},Od.getEleLevelForLayerLevel=function(e,t){return e},Od.drawEleInLayer=function(e,t,n,r){var i=this,a=this.renderer,o=e.context,s=t.boundingBox();0!==s.w&&0!==s.h&&t.visible()&&(n=i.getEleLevelForLayerLevel(n,r),a.setImgSmoothing(o,!1),a.drawCachedElement(o,t,null,null,n,Md),a.setImgSmoothing(o,!0))},Od.levelIsComplete=function(e,t){var n=this.layersByLevel[e];if(!n||0===n.length)return!1;for(var r=0,i=0;i<n.length;i++){var a=n[i];if(a.reqs>0)return!1;if(a.invalid)return!1;r+=a.eles.length}return r===t.length},Od.validateLayersElesOrdering=function(e,t){var n=this.layersByLevel[e];if(n)for(var r=0;r<n.length;r++){for(var i=n[r],a=-1,o=0;o<t.length;o++)if(i.eles[0]===t[o]){a=o;break}if(a<0)this.invalidateLayer(i);else{var s=a;for(o=0;o<i.eles.length;o++)if(i.eles[o]!==t[s+o]){this.invalidateLayer(i);break}}}},Od.updateElementsInLayers=function(e,t){for(var n=this,r=k(e[0]),i=0;i<e.length;i++)for(var a=r?null:e[i],o=r?e[i]:e[i].ele,s=o._private.rscratch,l=s.imgLayerCaches=s.imgLayerCaches||{},u=wd;u<=Ed;u++){var c=l[u];c&&(a&&n.getEleLevelForLayerLevel(c.level)!==a.level||t(c,o,a))}},Od.haveLayers=function(){for(var e=this,t=!1,n=wd;n<=Ed;n++){var r=e.layersByLevel[n];if(r&&r.length>0){t=!0;break}}return t},Od.invalidateElements=function(e){var t=this;0!==e.length&&(t.lastInvalidationTime=lt(),0!==e.length&&t.haveLayers()&&t.updateElementsInLayers(e,(function(e,n,r){t.invalidateLayer(e)})))},Od.invalidateLayer=function(e){if(this.lastInvalidationTime=lt(),!e.invalid){var t=e.level,n=e.eles,r=this.layersByLevel[t];Ft(r,e),e.elesQueue=[],e.invalid=!0,e.replacement&&(e.replacement.invalid=!0);for(var i=0;i<n.length;i++){var a=n[i]._private.rscratch.imgLayerCaches;a&&(a[t]=null)}}},Od.refineElementTextures=function(e){var t=this;t.updateElementsInLayers(e,(function(e,n,r){var i=e.replacement;if(i||((i=e.replacement=t.makeLayer(e.bb,e.level)).replaces=e,i.eles=e.eles),!i.reqs)for(var a=0;a<i.eles.length;a++)t.queueLayer(i,i.eles[a])}))},Od.enqueueElementRefinement=function(e){this.eleTxrDeqs.merge(e),this.scheduleElementRefinement()},Od.queueLayer=function(e,t){var n=this.layersQueue,r=e.elesQueue,i=r.hasId=r.hasId||{};if(!e.replacement){if(t){if(i[t.id()])return;r.push(t),i[t.id()]=!0}e.reqs?(e.reqs++,n.updateItem(e)):(e.reqs=1,n.push(e))}},Od.dequeue=function(e){for(var t=this,n=t.layersQueue,r=[],i=0;i<Ld&&0!==n.size();){var a=n.peek();if(a.replacement)n.pop();else if(a.replaces&&a!==a.replaces.replacement)n.pop();else if(a.invalid)n.pop();else{var o=a.elesQueue.shift();o&&(t.drawEleInLayer(a,o,a.level,e),i++),0===r.length&&r.push(!0),0===a.elesQueue.length&&(n.pop(),a.reqs=0,a.replaces&&t.applyLayerReplacement(a),t.requestRedraw())}}return r},Od.applyLayerReplacement=function(e){var t=this,n=t.layersByLevel[e.level],r=e.replaces,i=n.indexOf(r);if(!(i<0||r.invalid)){n[i]=e;for(var a=0;a<e.eles.length;a++){var o=e.eles[a]._private,s=o.imgLayerCaches=o.imgLayerCaches||{};s&&(s[e.level]=e)}t.requestRedraw()}},Od.requestRedraw=rt((function(){var e=this.renderer;e.redrawHint("eles",!0),e.redrawHint("drag",!0),e.redraw()}),100),Od.setupDequeueing=Kh.setupDequeueing({deqRedrawThreshold:_d,deqCost:Cd,deqAvgCost:Dd,deqNoDrawCost:Nd,deqFastCost:Sd,deq:function(e,t){return e.dequeue(t)},onDeqd:Dt,shouldRedraw:_t,priority:function(e){return e.renderer.beforeRenderPriorities.lyrTxrDeq}});var zd,Gd={};function Vd(e,t){for(var n=0;n<t.length;n++){var r=t[n];e.lineTo(r.x,r.y)}}function Yd(e,t,n){for(var r,i=0;i<t.length;i++){var a=t[i];0===i&&(r=a),e.lineTo(a.x,a.y)}e.quadraticCurveTo(n.x,n.y,r.x,r.y)}function Xd(e,t,n){e.beginPath&&e.beginPath();for(var r=t,i=0;i<r.length;i++){var a=r[i];e.lineTo(a.x,a.y)}var o=n,s=n[0];for(e.moveTo(s.x,s.y),i=1;i<o.length;i++)a=o[i],e.lineTo(a.x,a.y);e.closePath&&e.closePath()}function Ud(e,t,n,r,i){e.beginPath&&e.beginPath(),e.arc(n,r,i,0,2*Math.PI,!1);var a=t,o=a[0];e.moveTo(o.x,o.y);for(var s=0;s<a.length;s++){var l=a[s];e.lineTo(l.x,l.y)}e.closePath&&e.closePath()}function jd(e,t,n,r){e.arc(t,n,r,0,2*Math.PI,!1)}Gd.arrowShapeImpl=function(e){return(zd||(zd={polygon:Vd,"triangle-backcurve":Yd,"triangle-tee":Xd,"circle-triangle":Ud,"triangle-cross":Xd,circle:jd}))[e]};var Wd={drawElement:function(e,t,n,r,i,a){var o=this;t.isNode()?o.drawNode(e,t,n,r,i,a):o.drawEdge(e,t,n,r,i,a)},drawElementOverlay:function(e,t){var n=this;t.isNode()?n.drawNodeOverlay(e,t):n.drawEdgeOverlay(e,t)},drawElementUnderlay:function(e,t){var n=this;t.isNode()?n.drawNodeUnderlay(e,t):n.drawEdgeUnderlay(e,t)},drawCachedElementPortion:function(e,t,n,r,i,a,o,s){var l=this,u=n.getBoundingBox(t);if(0!==u.w&&0!==u.h){var c=n.getElement(t,u,r,i,a);if(null!=c){var h=s(l,t);if(0===h)return;var d,p,g,f,v,y,m=o(l,t),b=u.x1,x=u.y1,w=u.w,E=u.h;if(0!==m){var T=n.getRotationPoint(t);g=T.x,f=T.y,e.translate(g,f),e.rotate(m),(v=l.getImgSmoothing(e))||l.setImgSmoothing(e,!0);var _=n.getRotationOffset(t);d=_.x,p=_.y}else d=b,p=x;1!==h&&(y=e.globalAlpha,e.globalAlpha=y*h),e.drawImage(c.texture.canvas,c.x,0,c.width,c.height,d,p,w,E),1!==h&&(e.globalAlpha=y),0!==m&&(e.rotate(-m),e.translate(-g,-f),v||l.setImgSmoothing(e,!1))}else n.drawElement(e,t)}}},Hd=function(){return 0},qd=function(e,t){return e.getTextAngle(t,null)},$d=function(e,t){return e.getTextAngle(t,"source")},Kd=function(e,t){return e.getTextAngle(t,"target")},Zd=function(e,t){return t.effectiveOpacity()},Qd=function(e,t){return t.pstyle("text-opacity").pfValue*t.effectiveOpacity()};Wd.drawCachedElement=function(e,t,n,r,i,a){var o=this,s=o.data,l=s.eleTxrCache,u=s.lblTxrCache,c=s.slbTxrCache,h=s.tlbTxrCache,d=t.boundingBox(),p=!0===a?l.reasons.highQuality:null;if(0!==d.w&&0!==d.h&&t.visible()&&(!r||Vn(d,r))){var g=t.isEdge(),f=t.element()._private.rscratch.badLine;o.drawElementUnderlay(e,t),o.drawCachedElementPortion(e,t,l,n,i,p,Hd,Zd),g&&f||o.drawCachedElementPortion(e,t,u,n,i,p,qd,Qd),g&&!f&&(o.drawCachedElementPortion(e,t,c,n,i,p,$d,Qd),o.drawCachedElementPortion(e,t,h,n,i,p,Kd,Qd)),o.drawElementOverlay(e,t)}},Wd.drawElements=function(e,t){for(var n=this,r=0;r<t.length;r++){var i=t[r];n.drawElement(e,i)}},Wd.drawCachedElements=function(e,t,n,r){for(var i=this,a=0;a<t.length;a++){var o=t[a];i.drawCachedElement(e,o,n,r)}},Wd.drawCachedNodes=function(e,t,n,r){for(var i=this,a=0;a<t.length;a++){var o=t[a];o.isNode()&&i.drawCachedElement(e,o,n,r)}},Wd.drawLayeredElements=function(e,t,n,r){var i=this,a=i.data.lyrTxrCache.getLayers(t,n);if(a)for(var o=0;o<a.length;o++){var s=a[o],l=s.bb;0!==l.w&&0!==l.h&&e.drawImage(s.canvas,l.x1,l.y1,l.w,l.h)}else i.drawCachedElements(e,t,n,r)};var Jd={drawEdge:function(e,t,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],o=this,s=t._private.rscratch;if((!a||t.visible())&&!s.badLine&&null!=s.allpts&&!isNaN(s.allpts[0])){var l;n&&(l=n,e.translate(-l.x1,-l.y1));var u=a?t.pstyle("opacity").value:1,c=a?t.pstyle("line-opacity").value:1,h=t.pstyle("curve-style").value,d=t.pstyle("line-style").value,p=t.pstyle("width").pfValue,g=t.pstyle("line-cap").value,f=t.pstyle("line-outline-width").value,v=t.pstyle("line-outline-color").value,y=u*c,m=u*c,b=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y;"straight-triangle"===h?(o.eleStrokeStyle(e,t,n),o.drawEdgeTrianglePath(t,e,s.allpts)):(e.lineWidth=p,e.lineCap=g,o.eleStrokeStyle(e,t,n),o.drawEdgePath(t,e,s.allpts,d),e.lineCap="butt")},x=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y;e.lineWidth=p+f,e.lineCap=g,f>0?(o.colorStrokeStyle(e,v[0],v[1],v[2],n),"straight-triangle"===h?o.drawEdgeTrianglePath(t,e,s.allpts):(o.drawEdgePath(t,e,s.allpts,d),e.lineCap="butt")):e.lineCap="butt"},w=function(){i&&o.drawEdgeOverlay(e,t)},E=function(){i&&o.drawEdgeUnderlay(e,t)},T=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:m;o.drawArrowheads(e,t,n)},_=function(){o.drawElementText(e,t,null,r)};if(e.lineJoin="round","yes"===t.pstyle("ghost").value){var A=t.pstyle("ghost-offset-x").pfValue,C=t.pstyle("ghost-offset-y").pfValue,D=t.pstyle("ghost-opacity").value,N=y*D;e.translate(A,C),b(N),T(N),e.translate(-A,-C)}else x();E(),b(),T(),w(),_(),n&&e.translate(l.x1,l.y1)}}},ep=function(e){if(!["overlay","underlay"].includes(e))throw new Error("Invalid state");return function(t,n){if(n.visible()){var r=n.pstyle("".concat(e,"-opacity")).value;if(0!==r){var i=this,a=i.usePaths(),o=n._private.rscratch,s=2*n.pstyle("".concat(e,"-padding")).pfValue,l=n.pstyle("".concat(e,"-color")).value;t.lineWidth=s,"self"!==o.edgeType||a?t.lineCap="round":t.lineCap="butt",i.colorStrokeStyle(t,l[0],l[1],l[2],r),i.drawEdgePath(n,t,o.allpts,"solid")}}}};Jd.drawEdgeOverlay=ep("overlay"),Jd.drawEdgeUnderlay=ep("underlay"),Jd.drawEdgePath=function(e,t,n,r){var i,a=e._private.rscratch,o=t,s=!1,l=this.usePaths(),u=e.pstyle("line-dash-pattern").pfValue,c=e.pstyle("line-dash-offset").pfValue;if(l){var h=n.join("$");a.pathCacheKey&&a.pathCacheKey===h?(i=t=a.pathCache,s=!0):(i=t=new Path2D,a.pathCacheKey=h,a.pathCache=i)}if(o.setLineDash)switch(r){case"dotted":o.setLineDash([1,1]);break;case"dashed":o.setLineDash(u),o.lineDashOffset=c;break;case"solid":o.setLineDash([])}if(!s&&!a.badLine)switch(t.beginPath&&t.beginPath(),t.moveTo(n[0],n[1]),a.edgeType){case"bezier":case"self":case"compound":case"multibezier":for(var d=2;d+3<n.length;d+=4)t.quadraticCurveTo(n[d],n[d+1],n[d+2],n[d+3]);break;case"straight":case"haystack":for(var p=2;p+1<n.length;p+=2)t.lineTo(n[p],n[p+1]);break;case"segments":if(a.isRound){var g,f=v(a.roundCorners);try{for(f.s();!(g=f.n()).done;)Ah(t,g.value)}catch(m){f.e(m)}finally{f.f()}t.lineTo(n[n.length-2],n[n.length-1])}else for(var y=2;y+1<n.length;y+=2)t.lineTo(n[y],n[y+1])}t=o,l?t.stroke(i):t.stroke(),t.setLineDash&&t.setLineDash([])},Jd.drawEdgeTrianglePath=function(e,t,n){t.fillStyle=t.strokeStyle;for(var r=e.pstyle("width").pfValue,i=0;i+1<n.length;i+=2){var a=[n[i+2]-n[i],n[i+3]-n[i+1]],o=Math.sqrt(a[0]*a[0]+a[1]*a[1]),s=[a[1]/o,-a[0]/o],l=[s[0]*r/2,s[1]*r/2];t.beginPath(),t.moveTo(n[i]-l[0],n[i+1]-l[1]),t.lineTo(n[i]+l[0],n[i+1]+l[1]),t.lineTo(n[i+2],n[i+3]),t.closePath(),t.fill()}},Jd.drawArrowheads=function(e,t,n){var r=t._private.rscratch,i="haystack"===r.edgeType;i||this.drawArrowhead(e,t,"source",r.arrowStartX,r.arrowStartY,r.srcArrowAngle,n),this.drawArrowhead(e,t,"mid-target",r.midX,r.midY,r.midtgtArrowAngle,n),this.drawArrowhead(e,t,"mid-source",r.midX,r.midY,r.midsrcArrowAngle,n),i||this.drawArrowhead(e,t,"target",r.arrowEndX,r.arrowEndY,r.tgtArrowAngle,n)},Jd.drawArrowhead=function(e,t,n,r,i,a,o){if(!(isNaN(r)||null==r||isNaN(i)||null==i||isNaN(a)||null==a)){var s=this,l=t.pstyle(n+"-arrow-shape").value;if("none"!==l){var u="hollow"===t.pstyle(n+"-arrow-fill").value?"both":"filled",c=t.pstyle(n+"-arrow-fill").value,h=t.pstyle("width").pfValue,d=t.pstyle(n+"-arrow-width"),p="match-line"===d.value?h:d.pfValue;"%"===d.units&&(p*=h);var g=t.pstyle("opacity").value;void 0===o&&(o=g);var f=e.globalCompositeOperation;1===o&&"hollow"!==c||(e.globalCompositeOperation="destination-out",s.colorFillStyle(e,255,255,255,1),s.colorStrokeStyle(e,255,255,255,1),s.drawArrowShape(t,e,u,h,l,p,r,i,a),e.globalCompositeOperation=f);var v=t.pstyle(n+"-arrow-color").value;s.colorFillStyle(e,v[0],v[1],v[2],o),s.colorStrokeStyle(e,v[0],v[1],v[2],o),s.drawArrowShape(t,e,c,h,l,p,r,i,a)}}},Jd.drawArrowShape=function(e,t,n,r,i,a,o,s,l){var u,c=this,h=this.usePaths()&&"triangle-cross"!==i,d=!1,p=t,g={x:o,y:s},f=e.pstyle("arrow-scale").value,v=this.getArrowWidth(r,f),y=c.arrowShapes[i];if(h){var m=c.arrowPathCache=c.arrowPathCache||[],b=bt(i),x=m[b];null!=x?(u=t=x,d=!0):(u=t=new Path2D,m[b]=u)}d||(t.beginPath&&t.beginPath(),h?y.draw(t,1,0,{x:0,y:0},1):y.draw(t,v,l,g,r),t.closePath&&t.closePath()),t=p,h&&(t.translate(o,s),t.rotate(l),t.scale(v,v)),"filled"!==n&&"both"!==n||(h?t.fill(u):t.fill()),"hollow"!==n&&"both"!==n||(t.lineWidth=a/(h?v:1),t.lineJoin="miter",h?t.stroke(u):t.stroke()),h&&(t.scale(1/v,1/v),t.rotate(-l),t.translate(-o,-s))};var tp={safeDrawImage:function(e,t,n,r,i,a,o,s,l,u){if(!(i<=0||a<=0||l<=0||u<=0))try{e.drawImage(t,n,r,i,a,o,s,l,u)}catch(c){Lt(c)}},drawInscribedImage:function(e,t,n,r,i){var a=this,o=n.position(),s=o.x,l=o.y,u=n.cy().style(),c=u.getIndexedStyle.bind(u),h=c(n,"background-fit","value",r),d=c(n,"background-repeat","value",r),p=n.width(),g=n.height(),f=2*n.padding(),v=p+("inner"===c(n,"background-width-relative-to","value",r)?0:f),y=g+("inner"===c(n,"background-height-relative-to","value",r)?0:f),m=n._private.rscratch,b="node"===c(n,"background-clip","value",r),x=c(n,"background-image-opacity","value",r)*i,w=c(n,"background-image-smoothing","value",r),E=n.pstyle("corner-radius").value;"auto"!==E&&(E=n.pstyle("corner-radius").pfValue);var T=t.width||t.cachedW,_=t.height||t.cachedH;null!=T&&null!=_||(document.body.appendChild(t),T=t.cachedW=t.width||t.offsetWidth,_=t.cachedH=t.height||t.offsetHeight,document.body.removeChild(t));var A=T,C=_;if("auto"!==c(n,"background-width","value",r)&&(A="%"===c(n,"background-width","units",r)?c(n,"background-width","pfValue",r)*v:c(n,"background-width","pfValue",r)),"auto"!==c(n,"background-height","value",r)&&(C="%"===c(n,"background-height","units",r)?c(n,"background-height","pfValue",r)*y:c(n,"background-height","pfValue",r)),0!==A&&0!==C){if("contain"===h)A*=D=Math.min(v/A,y/C),C*=D;else if("cover"===h){var D;A*=D=Math.max(v/A,y/C),C*=D}var N=s-v/2,S=c(n,"background-position-x","units",r),L=c(n,"background-position-x","pfValue",r);N+="%"===S?(v-A)*L:L;var P=c(n,"background-offset-x","units",r),I=c(n,"background-offset-x","pfValue",r);N+="%"===P?(v-A)*I:I;var k=l-y/2,M=c(n,"background-position-y","units",r),R=c(n,"background-position-y","pfValue",r);k+="%"===M?(y-C)*R:R;var O=c(n,"background-offset-y","units",r),B=c(n,"background-offset-y","pfValue",r);k+="%"===O?(y-C)*B:B,m.pathCache&&(N-=s,k-=l,s=0,l=0);var F=e.globalAlpha;e.globalAlpha=x;var z=a.getImgSmoothing(e),G=!1;if("no"===w&&z?(a.setImgSmoothing(e,!1),G=!0):"yes"!==w||z||(a.setImgSmoothing(e,!0),G=!0),"no-repeat"===d)b&&(e.save(),m.pathCache?e.clip(m.pathCache):(a.nodeShapes[a.getNodeShape(n)].draw(e,s,l,v,y,E,m),e.clip())),a.safeDrawImage(e,t,0,0,T,_,N,k,A,C),b&&e.restore();else{var V=e.createPattern(t,d);e.fillStyle=V,a.nodeShapes[a.getNodeShape(n)].draw(e,s,l,v,y,E,m),e.translate(N,k),e.fill(),e.translate(-N,-k)}e.globalAlpha=F,G&&a.setImgSmoothing(e,z)}}},np={};function rp(e,t,n,r,i){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:5,o=arguments.length>6?arguments[6]:void 0;e.beginPath(),e.moveTo(t+a,n),e.lineTo(t+r-a,n),e.quadraticCurveTo(t+r,n,t+r,n+a),e.lineTo(t+r,n+i-a),e.quadraticCurveTo(t+r,n+i,t+r-a,n+i),e.lineTo(t+a,n+i),e.quadraticCurveTo(t,n+i,t,n+i-a),e.lineTo(t,n+a),e.quadraticCurveTo(t,n,t+a,n),e.closePath(),o?e.stroke():e.fill()}np.eleTextBiggerThanMin=function(e,t){if(!t){var n=e.cy().zoom(),r=this.getPixelRatio(),i=Math.ceil(Tn(n*r));t=Math.pow(2,i)}return!(e.pstyle("font-size").pfValue*t<e.pstyle("min-zoomed-font-size").pfValue)},np.drawElementText=function(e,t,n,r,i){var a=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],o=this;if(null==r){if(a&&!o.eleTextBiggerThanMin(t))return}else if(!1===r)return;if(t.isNode()){var s=t.pstyle("label");if(!s||!s.value)return;var l=o.getLabelJustification(t);e.textAlign=l,e.textBaseline="bottom"}else{var u=t.element()._private.rscratch.badLine,c=t.pstyle("label"),h=t.pstyle("source-label"),d=t.pstyle("target-label");if(u||(!c||!c.value)&&(!h||!h.value)&&(!d||!d.value))return;e.textAlign="center",e.textBaseline="bottom"}var p,g=!n;n&&(p=n,e.translate(-p.x1,-p.y1)),null==i?(o.drawText(e,t,null,g,a),t.isEdge()&&(o.drawText(e,t,"source",g,a),o.drawText(e,t,"target",g,a))):o.drawText(e,t,i,g,a),n&&e.translate(p.x1,p.y1)},np.getFontCache=function(e){var t;this.fontCaches=this.fontCaches||[];for(var n=0;n<this.fontCaches.length;n++)if((t=this.fontCaches[n]).context===e)return t;return t={context:e},this.fontCaches.push(t),t},np.setupTextStyle=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=t.pstyle("font-style").strValue,i=t.pstyle("font-size").pfValue+"px",a=t.pstyle("font-family").strValue,o=t.pstyle("font-weight").strValue,s=n?t.effectiveOpacity()*t.pstyle("text-opacity").value:1,l=t.pstyle("text-outline-opacity").value*s,u=t.pstyle("color").value,c=t.pstyle("text-outline-color").value;e.font=r+" "+o+" "+i+" "+a,e.lineJoin="round",this.colorFillStyle(e,u[0],u[1],u[2],s),this.colorStrokeStyle(e,c[0],c[1],c[2],l)},np.getTextAngle=function(e,t){var n,r=e._private.rscratch,i=t?t+"-":"",a=e.pstyle(i+"text-rotation");if("autorotate"===a.strValue){var o=Vt(r,"labelAngle",t);n=e.isEdge()?o:0}else n="none"===a.strValue?0:a.pfValue;return n},np.drawText=function(e,t,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=t._private.rscratch,o=i?t.effectiveOpacity():1;if(!i||0!==o&&0!==t.pstyle("text-opacity").value){"main"===n&&(n=null);var s,l,u=Vt(a,"labelX",n),c=Vt(a,"labelY",n),h=this.getLabelText(t,n);if(null!=h&&""!==h&&!isNaN(u)&&!isNaN(c)){this.setupTextStyle(e,t,i);var d,p=n?n+"-":"",g=Vt(a,"labelWidth",n),f=Vt(a,"labelHeight",n),v=t.pstyle(p+"text-margin-x").pfValue,y=t.pstyle(p+"text-margin-y").pfValue,m=t.isEdge(),b=t.pstyle("text-halign").value,x=t.pstyle("text-valign").value;switch(m&&(b="center",x="center"),u+=v,c+=y,0!==(d=r?this.getTextAngle(t,n):0)&&(s=u,l=c,e.translate(s,l),e.rotate(d),u=0,c=0),x){case"top":break;case"center":c+=f/2;break;case"bottom":c+=f}var w=t.pstyle("text-background-opacity").value,E=t.pstyle("text-border-opacity").value,T=t.pstyle("text-border-width").pfValue,_=t.pstyle("text-background-padding").pfValue,A=0===t.pstyle("text-background-shape").strValue.indexOf("round"),C=2;if(w>0||T>0&&E>0){var D=u-_;switch(b){case"left":D-=g;break;case"center":D-=g/2}var N=c-f-_,S=g+2*_,L=f+2*_;if(w>0){var P=e.fillStyle,I=t.pstyle("text-background-color").value;e.fillStyle="rgba("+I[0]+","+I[1]+","+I[2]+","+w*o+")",A?rp(e,D,N,S,L,C):e.fillRect(D,N,S,L),e.fillStyle=P}if(T>0&&E>0){var k=e.strokeStyle,M=e.lineWidth,R=t.pstyle("text-border-color").value,O=t.pstyle("text-border-style").value;if(e.strokeStyle="rgba("+R[0]+","+R[1]+","+R[2]+","+E*o+")",e.lineWidth=T,e.setLineDash)switch(O){case"dotted":e.setLineDash([1,1]);break;case"dashed":e.setLineDash([4,2]);break;case"double":e.lineWidth=T/4,e.setLineDash([]);break;case"solid":e.setLineDash([])}if(A?rp(e,D,N,S,L,C,"stroke"):e.strokeRect(D,N,S,L),"double"===O){var B=T/2;A?rp(e,D+B,N+B,S-2*B,L-2*B,C,"stroke"):e.strokeRect(D+B,N+B,S-2*B,L-2*B)}e.setLineDash&&e.setLineDash([]),e.lineWidth=M,e.strokeStyle=k}}var F=2*t.pstyle("text-outline-width").pfValue;if(F>0&&(e.lineWidth=F),"wrap"===t.pstyle("text-wrap").value){var z=Vt(a,"labelWrapCachedLines",n),G=Vt(a,"labelLineHeight",n),V=g/2,Y=this.getLabelJustification(t);switch("auto"===Y||("left"===b?"left"===Y?u+=-g:"center"===Y&&(u+=-V):"center"===b?"left"===Y?u+=-V:"right"===Y&&(u+=V):"right"===b&&("center"===Y?u+=V:"right"===Y&&(u+=g))),x){case"top":case"center":case"bottom":c-=(z.length-1)*G}for(var X=0;X<z.length;X++)F>0&&e.strokeText(z[X],u,c),e.fillText(z[X],u,c),c+=G}else F>0&&e.strokeText(h,u,c),e.fillText(h,u,c);0!==d&&(e.rotate(-d),e.translate(-s,-l))}}};var ip={drawNode:function(e,t,n){var r,i,a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],s=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],l=this,u=t._private,c=u.rscratch,h=t.position();if(S(h.x)&&S(h.y)&&(!s||t.visible())){var d,p,g=s?t.effectiveOpacity():1,f=l.usePaths(),v=!1,y=t.padding();r=t.width()+2*y,i=t.height()+2*y,n&&(p=n,e.translate(-p.x1,-p.y1));for(var m=t.pstyle("background-image").value,b=new Array(m.length),x=new Array(m.length),w=0,E=0;E<m.length;E++){var T=m[E];if(b[E]=null!=T&&"none"!==T){var _=t.cy().style().getIndexedStyle(t,"background-image-crossorigin","value",E);w++,x[E]=l.getCachedImage(T,_,(function(){u.backgroundTimestamp=Date.now(),t.emitAndNotify("background")}))}}var A=t.pstyle("background-blacken").value,C=t.pstyle("border-width").pfValue,D=t.pstyle("background-opacity").value*g,N=t.pstyle("border-color").value,L=t.pstyle("border-style").value,P=t.pstyle("border-join").value,I=t.pstyle("border-cap").value,k=t.pstyle("border-position").value,M=t.pstyle("border-dash-pattern").pfValue,R=t.pstyle("border-dash-offset").pfValue,O=t.pstyle("border-opacity").value*g,B=t.pstyle("outline-width").pfValue,F=t.pstyle("outline-color").value,z=t.pstyle("outline-style").value,G=t.pstyle("outline-opacity").value*g,V=t.pstyle("outline-offset").value,Y=t.pstyle("corner-radius").value;"auto"!==Y&&(Y=t.pstyle("corner-radius").pfValue);var X=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:D;l.eleFillStyle(e,t,n)},U=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:O;l.colorStrokeStyle(e,N[0],N[1],N[2],t)},j=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:G;l.colorStrokeStyle(e,F[0],F[1],F[2],t)},W=function(e,t,n,r){var i,a=l.nodePathCache=l.nodePathCache||[],o=xt("polygon"===n?n+","+r.join(","):n,""+t,""+e,""+Y),s=a[o],u=!1;return null!=s?(i=s,u=!0,c.pathCache=i):(i=new Path2D,a[o]=c.pathCache=i),{path:i,cacheHit:u}},H=t.pstyle("shape").strValue,q=t.pstyle("shape-polygon-points").pfValue;if(f){e.translate(h.x,h.y);var $=W(r,i,H,q);d=$.path,v=$.cacheHit}var K=function(){if(!v){var n=h;f&&(n={x:0,y:0}),l.nodeShapes[l.getNodeShape(t)].draw(d||e,n.x,n.y,r,i,Y,c)}f?e.fill(d):e.fill()},Z=function(){for(var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=u.backgrounding,a=0,o=0;o<x.length;o++){var s=t.cy().style().getIndexedStyle(t,"background-image-containment","value",o);r&&"over"===s||!r&&"inside"===s?a++:b[o]&&x[o].complete&&!x[o].error&&(a++,l.drawInscribedImage(e,x[o],t,o,n))}u.backgrounding=!(a===w),i!==u.backgrounding&&t.updateStyle(!1)},Q=function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g;l.hasPie(t)&&(l.drawPie(e,t,a),n&&(f||l.nodeShapes[l.getNodeShape(t)].draw(e,h.x,h.y,r,i,Y,c)))},J=function(){var t=(A>0?A:-A)*(arguments.length>0&&void 0!==arguments[0]?arguments[0]:g),n=A>0?0:255;0!==A&&(l.colorFillStyle(e,n,n,n,t),f?e.fill(d):e.fill())},ee=function(){if(C>0){if(e.lineWidth=C,e.lineCap=I,e.lineJoin=P,e.setLineDash)switch(L){case"dotted":e.setLineDash([1,1]);break;case"dashed":e.setLineDash(M),e.lineDashOffset=R;break;case"solid":case"double":e.setLineDash([])}if("center"!==k){if(e.save(),e.lineWidth*=2,"inside"===k)f?e.clip(d):e.clip();else{var t=new Path2D;t.rect(-r/2-C,-i/2-C,r+2*C,i+2*C),t.addPath(d),e.clip(t,"evenodd")}f?e.stroke(d):e.stroke(),e.restore()}else f?e.stroke(d):e.stroke();if("double"===L){e.lineWidth=C/3;var n=e.globalCompositeOperation;e.globalCompositeOperation="destination-out",f?e.stroke(d):e.stroke(),e.globalCompositeOperation=n}e.setLineDash&&e.setLineDash([])}},te=function(){if(B>0){if(e.lineWidth=B,e.lineCap="butt",e.setLineDash)switch(z){case"dotted":e.setLineDash([1,1]);break;case"dashed":e.setLineDash([4,2]);break;case"solid":case"double":e.setLineDash([])}var n=h;f&&(n={x:0,y:0});var a=l.getNodeShape(t),o=C;"inside"===k&&(o=0),"outside"===k&&(o*=2);var s,u=(r+o+(B+V))/r,c=(i+o+(B+V))/i,d=r*u,p=i*c,g=l.nodeShapes[a].points;if(f&&(s=W(d,p,a,g).path),"ellipse"===a)l.drawEllipsePath(s||e,n.x,n.y,d,p);else if(["round-diamond","round-heptagon","round-hexagon","round-octagon","round-pentagon","round-polygon","round-triangle","round-tag"].includes(a)){var v=0,y=0,m=0;"round-diamond"===a?v=1.4*(o+V+B):"round-heptagon"===a?(v=1.075*(o+V+B),m=-(o/2+V+B)/35):"round-hexagon"===a?v=1.12*(o+V+B):"round-pentagon"===a?(v=1.13*(o+V+B),m=-(o/2+V+B)/15):"round-tag"===a?(v=1.12*(o+V+B),y=.07*(o/2+B+V)):"round-triangle"===a&&(v=(o+V+B)*(Math.PI/2),m=-(o+V/2+B)/Math.PI),0!==v&&(d=r*(u=(r+v)/r),["round-hexagon","round-tag"].includes(a)||(p=i*(c=(i+v)/i)));for(var b=d/2,x=p/2,w=(Y="auto"===Y?fr(d,p):Y)+(o+B+V)/2,E=new Array(g.length/2),T=new Array(g.length/2),_=0;_<g.length/2;_++)E[_]={x:n.x+y+b*g[2*_],y:n.y+m+x*g[2*_+1]};var A,D,N,S,L=E.length;for(D=E[L-1],A=0;A<L;A++)N=E[A%L],S=E[(A+1)%L],T[A]=Ch(D,N,S,w),D=N,N=S;l.drawRoundPolygonPath(s||e,n.x+y,n.y+m,r*u,i*c,g,T)}else["roundrectangle","round-rectangle"].includes(a)?(Y="auto"===Y?gr(d,p):Y,l.drawRoundRectanglePath(s||e,n.x,n.y,d,p,Y+(o+B+V)/2)):["cutrectangle","cut-rectangle"].includes(a)?(Y="auto"===Y?vr():Y,l.drawCutRectanglePath(s||e,n.x,n.y,d,p,null,Y+(o+B+V)/4)):["bottomroundrectangle","bottom-round-rectangle"].includes(a)?(Y="auto"===Y?gr(d,p):Y,l.drawBottomRoundRectanglePath(s||e,n.x,n.y,d,p,Y+(o+B+V)/2)):"barrel"===a?l.drawBarrelPath(s||e,n.x,n.y,d,p):a.startsWith("polygon")||["rhomboid","right-rhomboid","round-tag","tag","vee"].includes(a)?(g=tr(nr(g,(o+B+V)/r)),l.drawPolygonPath(s||e,n.x,n.y,r,i,g)):(g=tr(nr(g,-(o+B+V)/r)),l.drawPolygonPath(s||e,n.x,n.y,r,i,g));if(f?e.stroke(s):e.stroke(),"double"===z){e.lineWidth=o/3;var P=e.globalCompositeOperation;e.globalCompositeOperation="destination-out",f?e.stroke(s):e.stroke(),e.globalCompositeOperation=P}e.setLineDash&&e.setLineDash([])}},ne=function(){o&&l.drawNodeOverlay(e,t,h,r,i)},re=function(){o&&l.drawNodeUnderlay(e,t,h,r,i)},ie=function(){l.drawElementText(e,t,null,a)};if("yes"===t.pstyle("ghost").value){var ae=t.pstyle("ghost-offset-x").pfValue,oe=t.pstyle("ghost-offset-y").pfValue,se=t.pstyle("ghost-opacity").value,le=se*g;e.translate(ae,oe),j(),te(),X(se*D),K(),Z(le,!0),U(se*O),ee(),Q(0!==A||0!==C),Z(le,!1),J(le),e.translate(-ae,-oe)}f&&e.translate(-h.x,-h.y),re(),f&&e.translate(h.x,h.y),j(),te(),X(),K(),Z(g,!0),U(),ee(),Q(0!==A||0!==C),Z(g,!1),J(),f&&e.translate(-h.x,-h.y),ie(),ne(),n&&e.translate(p.x1,p.y1)}}},ap=function(e){if(!["overlay","underlay"].includes(e))throw new Error("Invalid state");return function(t,n,r,i,a){var o=this;if(n.visible()){var s=n.pstyle("".concat(e,"-padding")).pfValue,l=n.pstyle("".concat(e,"-opacity")).value,u=n.pstyle("".concat(e,"-color")).value,c=n.pstyle("".concat(e,"-shape")).value,h=n.pstyle("".concat(e,"-corner-radius")).value;if(l>0){if(r=r||n.position(),null==i||null==a){var d=n.padding();i=n.width()+2*d,a=n.height()+2*d}o.colorFillStyle(t,u[0],u[1],u[2],l),o.nodeShapes[c].draw(t,r.x,r.y,i+2*s,a+2*s,h),t.fill()}}}};ip.drawNodeOverlay=ap("overlay"),ip.drawNodeUnderlay=ap("underlay"),ip.hasPie=function(e){return(e=e[0])._private.hasPie},ip.drawPie=function(e,t,n,r){t=t[0],r=r||t.position();var i=t.cy().style(),a=t.pstyle("pie-size"),o=r.x,s=r.y,l=t.width(),u=t.height(),c=Math.min(l,u)/2,h=0;this.usePaths()&&(o=0,s=0),"%"===a.units?c*=a.pfValue:void 0!==a.pfValue&&(c=a.pfValue/2);for(var d=1;d<=i.pieBackgroundN;d++){var p=t.pstyle("pie-"+d+"-background-size").value,g=t.pstyle("pie-"+d+"-background-color").value,f=t.pstyle("pie-"+d+"-background-opacity").value*n,v=p/100;v+h>1&&(v=1-h);var y=1.5*Math.PI+2*Math.PI*h,m=y+2*Math.PI*v;0===p||h>=1||h+v>1||(e.beginPath(),e.moveTo(o,s),e.arc(o,s,c,y,m),e.closePath(),this.colorFillStyle(e,g[0],g[1],g[2],f),e.fill(),h+=v)}};var op,sp={},lp=100;function up(e,t,n){var r=e.createShader(t);if(e.shaderSource(r,n),e.compileShader(r),!e.getShaderParameter(r,e.COMPILE_STATUS))throw new Error(e.getShaderInfoLog(r));return r}function cp(e,t,n){var r=up(e,e.VERTEX_SHADER,t),i=up(e,e.FRAGMENT_SHADER,n),a=e.createProgram();if(e.attachShader(a,r),e.attachShader(a,i),e.linkProgram(a),!e.getProgramParameter(a,e.LINK_STATUS))throw new Error("Could not initialize shaders");return a}function hp(e,t,n){void 0===n&&(n=t);var r=e.makeOffscreenCanvas(t,n),i=r.context=r.getContext("2d");return r.clear=function(){return i.clearRect(0,0,r.width,r.height)},r.clear(),r}function dp(e){var t=e.pixelRatio,n=e.cy.zoom(),r=e.cy.pan();return{zoom:n*t,pan:{x:r.x*t,y:r.y*t}}}function pp(e,t,n,r,i){var a=r*n+t.x,o=i*n+t.y;return[a,o=Math.round(e.canvasHeight-o)]}function gp(e,t,n){var r=e[0]/255,i=e[1]/255,a=e[2]/255,o=t,s=n||new Array(4);return s[0]=r*o,s[1]=i*o,s[2]=a*o,s[3]=o,s}function fp(e,t){var n=t||new Array(4);return n[0]=(255&e)/255,n[1]=(e>>8&255)/255,n[2]=(e>>16&255)/255,n[3]=(e>>24&255)/255,n}function vp(e){return e[0]+(e[1]<<8)+(e[2]<<16)+(e[3]<<24)}function yp(e,t){var n=e.createTexture();return n.buffer=function(t){e.bindTexture(e.TEXTURE_2D,n),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MAG_FILTER,e.LINEAR),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.LINEAR_MIPMAP_NEAREST),e.pixelStorei(e.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!0),e.texImage2D(e.TEXTURE_2D,0,e.RGBA,e.RGBA,e.UNSIGNED_BYTE,t),e.generateMipmap(e.TEXTURE_2D),e.bindTexture(e.TEXTURE_2D,null)},n.deleteTexture=function(){e.deleteTexture(n)},n}function mp(e,t){switch(t){case"float":return[1,e.FLOAT,4];case"vec2":return[2,e.FLOAT,4];case"vec3":return[3,e.FLOAT,4];case"vec4":return[4,e.FLOAT,4];case"int":return[1,e.INT,4];case"ivec2":return[2,e.INT,4]}}function bp(e,t,n){switch(t){case e.FLOAT:return new Float32Array(n);case e.INT:return new Int32Array(n)}}function xp(e,t,n,r,i,a){switch(t){case e.FLOAT:return new Float32Array(n.buffer,a*r,i);case e.INT:return new Int32Array(n.buffer,a*r,i)}}function wp(e,t,n,r){var i=a(mp(e,t),2),o=i[0],s=i[1],l=bp(e,s,r),u=e.createBuffer();return e.bindBuffer(e.ARRAY_BUFFER,u),e.bufferData(e.ARRAY_BUFFER,l,e.STATIC_DRAW),s===e.FLOAT?e.vertexAttribPointer(n,o,s,!1,0,0):s===e.INT&&e.vertexAttribIPointer(n,o,s,0,0),e.enableVertexAttribArray(n),e.bindBuffer(e.ARRAY_BUFFER,null),u}function Ep(e,t,n,r){var i=a(mp(e,n),3),o=i[0],s=i[1],l=i[2],u=bp(e,s,t*o),c=o*l,h=e.createBuffer();e.bindBuffer(e.ARRAY_BUFFER,h),e.bufferData(e.ARRAY_BUFFER,t*c,e.DYNAMIC_DRAW),e.enableVertexAttribArray(r),s===e.FLOAT?e.vertexAttribPointer(r,o,s,!1,c,0):s===e.INT&&e.vertexAttribIPointer(r,o,s,c,0),e.vertexAttribDivisor(r,1),e.bindBuffer(e.ARRAY_BUFFER,null);for(var d=new Array(t),p=0;p<t;p++)d[p]=xp(e,s,u,c,o,p);return h.dataArray=u,h.stride=c,h.size=o,h.getView=function(e){return d[e]},h.setPoint=function(e,t,n){var r=d[e];r[0]=t,r[1]=n},h.bufferSubData=function(t){e.bindBuffer(e.ARRAY_BUFFER,h),t?e.bufferSubData(e.ARRAY_BUFFER,0,u,0,t*o):e.bufferSubData(e.ARRAY_BUFFER,0,u)},h}function Tp(e){var t=e.createFramebuffer();e.bindFramebuffer(e.FRAMEBUFFER,t);var n=e.createTexture();return e.bindTexture(e.TEXTURE_2D,n),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.LINEAR),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE),e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,n,0),e.bindFramebuffer(e.FRAMEBUFFER,null),t.setFramebufferAttachmentSizes=function(t,r){e.bindTexture(e.TEXTURE_2D,n),e.texImage2D(e.TEXTURE_2D,0,e.RGBA,t,r,0,e.RGBA,e.UNSIGNED_BYTE,null)},t}sp.getPixelRatio=function(){var e=this.data.contexts[0];if(null!=this.forcedPixelRatio)return this.forcedPixelRatio;var t=this.cy.window(),n=e.backingStorePixelRatio||e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1;return(t.devicePixelRatio||1)/n},sp.paintCache=function(e){for(var t,n=this.paintCaches=this.paintCaches||[],r=!0,i=0;i<n.length;i++)if((t=n[i]).context===e){r=!1;break}return r&&(t={context:e},n.push(t)),t},sp.createGradientStyleFor=function(e,t,n,r,i){var a,o=this.usePaths(),s=n.pstyle(t+"-gradient-stop-colors").value,l=n.pstyle(t+"-gradient-stop-positions").pfValue;if("radial-gradient"===r)if(n.isEdge()){var u=n.sourceEndpoint(),c=n.targetEndpoint(),h=n.midpoint(),d=An(u,h),p=An(c,h);a=e.createRadialGradient(h.x,h.y,0,h.x,h.y,Math.max(d,p))}else{var g=o?{x:0,y:0}:n.position(),f=n.paddedWidth(),v=n.paddedHeight();a=e.createRadialGradient(g.x,g.y,0,g.x,g.y,Math.max(f,v))}else if(n.isEdge()){var y=n.sourceEndpoint(),m=n.targetEndpoint();a=e.createLinearGradient(y.x,y.y,m.x,m.y)}else{var b=o?{x:0,y:0}:n.position(),x=n.paddedWidth()/2,w=n.paddedHeight()/2;switch(n.pstyle("background-gradient-direction").value){case"to-bottom":a=e.createLinearGradient(b.x,b.y-w,b.x,b.y+w);break;case"to-top":a=e.createLinearGradient(b.x,b.y+w,b.x,b.y-w);break;case"to-left":a=e.createLinearGradient(b.x+x,b.y,b.x-x,b.y);break;case"to-right":a=e.createLinearGradient(b.x-x,b.y,b.x+x,b.y);break;case"to-bottom-right":case"to-right-bottom":a=e.createLinearGradient(b.x-x,b.y-w,b.x+x,b.y+w);break;case"to-top-right":case"to-right-top":a=e.createLinearGradient(b.x-x,b.y+w,b.x+x,b.y-w);break;case"to-bottom-left":case"to-left-bottom":a=e.createLinearGradient(b.x+x,b.y-w,b.x-x,b.y+w);break;case"to-top-left":case"to-left-top":a=e.createLinearGradient(b.x+x,b.y+w,b.x-x,b.y-w)}}if(!a)return null;for(var E=l.length===s.length,T=s.length,_=0;_<T;_++)a.addColorStop(E?l[_]:_/(T-1),"rgba("+s[_][0]+","+s[_][1]+","+s[_][2]+","+i+")");return a},sp.gradientFillStyle=function(e,t,n,r){var i=this.createGradientStyleFor(e,"background",t,n,r);if(!i)return null;e.fillStyle=i},sp.colorFillStyle=function(e,t,n,r,i){e.fillStyle="rgba("+t+","+n+","+r+","+i+")"},sp.eleFillStyle=function(e,t,n){var r=t.pstyle("background-fill").value;if("linear-gradient"===r||"radial-gradient"===r)this.gradientFillStyle(e,t,r,n);else{var i=t.pstyle("background-color").value;this.colorFillStyle(e,i[0],i[1],i[2],n)}},sp.gradientStrokeStyle=function(e,t,n,r){var i=this.createGradientStyleFor(e,"line",t,n,r);if(!i)return null;e.strokeStyle=i},sp.colorStrokeStyle=function(e,t,n,r,i){e.strokeStyle="rgba("+t+","+n+","+r+","+i+")"},sp.eleStrokeStyle=function(e,t,n){var r=t.pstyle("line-fill").value;if("linear-gradient"===r||"radial-gradient"===r)this.gradientStrokeStyle(e,t,r,n);else{var i=t.pstyle("line-color").value;this.colorStrokeStyle(e,i[0],i[1],i[2],n)}},sp.matchCanvasSize=function(e){var t=this,n=t.data,r=t.findContainerClientCoords(),i=r[2],a=r[3],o=t.getPixelRatio(),s=t.motionBlurPxRatio;e!==t.data.bufferCanvases[t.MOTIONBLUR_BUFFER_NODE]&&e!==t.data.bufferCanvases[t.MOTIONBLUR_BUFFER_DRAG]||(o=s);var l,u=i*o,c=a*o;if(u!==t.canvasWidth||c!==t.canvasHeight){t.fontCaches=null;var h=n.canvasContainer;h.style.width=i+"px",h.style.height=a+"px";for(var d=0;d<t.CANVAS_LAYERS;d++)(l=n.canvases[d]).width=u,l.height=c,l.style.width=i+"px",l.style.height=a+"px";for(d=0;d<t.BUFFER_COUNT;d++)(l=n.bufferCanvases[d]).width=u,l.height=c,l.style.width=i+"px",l.style.height=a+"px";t.textureMult=1,o<=1&&(l=n.bufferCanvases[t.TEXTURE_BUFFER],t.textureMult=2,l.width=u*t.textureMult,l.height=c*t.textureMult),t.canvasWidth=u,t.canvasHeight=c,t.pixelRatio=o}},sp.renderTo=function(e,t,n,r){this.render({forcedContext:e,forcedZoom:t,forcedPan:n,drawAllLayers:!0,forcedPxRatio:r})},sp.clearCanvas=function(){var e=this,t=e.data;function n(t){t.clearRect(0,0,e.canvasWidth,e.canvasHeight)}n(t.contexts[e.NODE]),n(t.contexts[e.DRAG])},sp.render=function(e){var t=this;e=e||Ot();var n=t.cy,r=e.forcedContext,i=e.drawAllLayers,a=e.drawOnlyNodeLayer,o=e.forcedZoom,s=e.forcedPan,l=void 0===e.forcedPxRatio?this.getPixelRatio():e.forcedPxRatio,u=t.data,c=u.canvasNeedsRedraw,h=t.textureOnViewport&&!r&&(t.pinching||t.hoverData.dragging||t.swipePanning||t.data.wheelZooming),d=void 0!==e.motionBlur?e.motionBlur:t.motionBlur,p=t.motionBlurPxRatio,g=n.hasCompoundNodes(),f=t.hoverData.draggingEles,v=!(!t.hoverData.selecting&&!t.touchData.selecting),y=d=d&&!r&&t.motionBlurEnabled&&!v;r||(t.prevPxRatio!==l&&(t.invalidateContainerClientCoordsCache(),t.matchCanvasSize(t.container),t.redrawHint("eles",!0),t.redrawHint("drag",!0)),t.prevPxRatio=l),!r&&t.motionBlurTimeout&&clearTimeout(t.motionBlurTimeout),d&&(null==t.mbFrames&&(t.mbFrames=0),t.mbFrames++,t.mbFrames<3&&(y=!1),t.mbFrames>t.minMbLowQualFrames&&(t.motionBlurPxRatio=t.mbPxRBlurry)),t.clearingMotionBlur&&(t.motionBlurPxRatio=1),t.textureDrawLastFrame&&!h&&(c[t.NODE]=!0,c[t.SELECT_BOX]=!0);var m=n.style(),b=n.zoom(),x=void 0!==o?o:b,w=n.pan(),E={x:w.x,y:w.y},T={zoom:b,pan:{x:w.x,y:w.y}},_=t.prevViewport;void 0===_||T.zoom!==_.zoom||T.pan.x!==_.pan.x||T.pan.y!==_.pan.y||f&&!g||(t.motionBlurPxRatio=1),s&&(E=s),x*=l,E.x*=l,E.y*=l;var A=t.getCachedZSortedEles();function C(e,n,r,i,a){var o=e.globalCompositeOperation;e.globalCompositeOperation="destination-out",t.colorFillStyle(e,255,255,255,t.motionBlurTransparency),e.fillRect(n,r,i,a),e.globalCompositeOperation=o}function D(e,n){var a,l,c,h;t.clearingMotionBlur||e!==u.bufferContexts[t.MOTIONBLUR_BUFFER_NODE]&&e!==u.bufferContexts[t.MOTIONBLUR_BUFFER_DRAG]?(a=E,l=x,c=t.canvasWidth,h=t.canvasHeight):(a={x:w.x*p,y:w.y*p},l=b*p,c=t.canvasWidth*p,h=t.canvasHeight*p),e.setTransform(1,0,0,1,0,0),"motionBlur"===n?C(e,0,0,c,h):r||void 0!==n&&!n||e.clearRect(0,0,c,h),i||(e.translate(a.x,a.y),e.scale(l,l)),s&&e.translate(s.x,s.y),o&&e.scale(o,o)}if(h||(t.textureDrawLastFrame=!1),h){if(t.textureDrawLastFrame=!0,!t.textureCache){t.textureCache={},t.textureCache.bb=n.mutableElements().boundingBox(),t.textureCache.texture=t.data.bufferCanvases[t.TEXTURE_BUFFER];var N=t.data.bufferContexts[t.TEXTURE_BUFFER];N.setTransform(1,0,0,1,0,0),N.clearRect(0,0,t.canvasWidth*t.textureMult,t.canvasHeight*t.textureMult),t.render({forcedContext:N,drawOnlyNodeLayer:!0,forcedPxRatio:l*t.textureMult}),(T=t.textureCache.viewport={zoom:n.zoom(),pan:n.pan(),width:t.canvasWidth,height:t.canvasHeight}).mpan={x:(0-T.pan.x)/T.zoom,y:(0-T.pan.y)/T.zoom}}c[t.DRAG]=!1,c[t.NODE]=!1;var S=u.contexts[t.NODE],L=t.textureCache.texture;T=t.textureCache.viewport,S.setTransform(1,0,0,1,0,0),d?C(S,0,0,T.width,T.height):S.clearRect(0,0,T.width,T.height);var P=m.core("outside-texture-bg-color").value,I=m.core("outside-texture-bg-opacity").value;t.colorFillStyle(S,P[0],P[1],P[2],I),S.fillRect(0,0,T.width,T.height),b=n.zoom(),D(S,!1),S.clearRect(T.mpan.x,T.mpan.y,T.width/T.zoom/l,T.height/T.zoom/l),S.drawImage(L,T.mpan.x,T.mpan.y,T.width/T.zoom/l,T.height/T.zoom/l)}else t.textureOnViewport&&!r&&(t.textureCache=null);var k=n.extent(),M=t.pinching||t.hoverData.dragging||t.swipePanning||t.data.wheelZooming||t.hoverData.draggingEles||t.cy.animated(),R=t.hideEdgesOnViewport&&M,O=[];if(O[t.NODE]=!c[t.NODE]&&d&&!t.clearedForMotionBlur[t.NODE]||t.clearingMotionBlur,O[t.NODE]&&(t.clearedForMotionBlur[t.NODE]=!0),O[t.DRAG]=!c[t.DRAG]&&d&&!t.clearedForMotionBlur[t.DRAG]||t.clearingMotionBlur,O[t.DRAG]&&(t.clearedForMotionBlur[t.DRAG]=!0),c[t.NODE]||i||a||O[t.NODE]){var B=d&&!O[t.NODE]&&1!==p;D(S=r||(B?t.data.bufferContexts[t.MOTIONBLUR_BUFFER_NODE]:u.contexts[t.NODE]),d&&!B?"motionBlur":void 0),R?t.drawCachedNodes(S,A.nondrag,l,k):t.drawLayeredElements(S,A.nondrag,l,k),t.debug&&t.drawDebugPoints(S,A.nondrag),i||d||(c[t.NODE]=!1)}if(!a&&(c[t.DRAG]||i||O[t.DRAG])&&(B=d&&!O[t.DRAG]&&1!==p,D(S=r||(B?t.data.bufferContexts[t.MOTIONBLUR_BUFFER_DRAG]:u.contexts[t.DRAG]),d&&!B?"motionBlur":void 0),R?t.drawCachedNodes(S,A.drag,l,k):t.drawCachedElements(S,A.drag,l,k),t.debug&&t.drawDebugPoints(S,A.drag),i||d||(c[t.DRAG]=!1)),this.drawSelectionRectangle(e,D),d&&1!==p){var F=u.contexts[t.NODE],z=t.data.bufferCanvases[t.MOTIONBLUR_BUFFER_NODE],G=u.contexts[t.DRAG],V=t.data.bufferCanvases[t.MOTIONBLUR_BUFFER_DRAG],Y=function(e,n,r){e.setTransform(1,0,0,1,0,0),r||!y?e.clearRect(0,0,t.canvasWidth,t.canvasHeight):C(e,0,0,t.canvasWidth,t.canvasHeight);var i=p;e.drawImage(n, +// img +0,0, +// sx, sy +t.canvasWidth*i,t.canvasHeight*i, +// sw, sh +0,0, +// x, y +t.canvasWidth,t.canvasHeight)};(c[t.NODE]||O[t.NODE])&&(Y(F,z,O[t.NODE]),c[t.NODE]=!1),(c[t.DRAG]||O[t.DRAG])&&(Y(G,V,O[t.DRAG]),c[t.DRAG]=!1)}t.prevViewport=T,t.clearingMotionBlur&&(t.clearingMotionBlur=!1,t.motionBlurCleared=!0,t.motionBlur=!0),d&&(t.motionBlurTimeout=setTimeout((function(){t.motionBlurTimeout=null,t.clearedForMotionBlur[t.NODE]=!1,t.clearedForMotionBlur[t.DRAG]=!1,t.motionBlur=!1,t.clearingMotionBlur=!h,t.mbFrames=0,c[t.NODE]=!0,c[t.DRAG]=!0,t.redraw()}),lp)),r||n.emit("render")},sp.drawSelectionRectangle=function(e,t){var n=this,r=n.cy,i=n.data,a=r.style(),o=e.drawOnlyNodeLayer,s=e.drawAllLayers,l=i.canvasNeedsRedraw,u=e.forcedContext;if(n.showFps||!o&&l[n.SELECT_BOX]&&!s){var c=u||i.contexts[n.SELECT_BOX];if(t(c),1==n.selection[4]&&(n.hoverData.selecting||n.touchData.selecting)){var h=n.cy.zoom(),d=a.core("selection-box-border-width").value/h;c.lineWidth=d,c.fillStyle="rgba("+a.core("selection-box-color").value[0]+","+a.core("selection-box-color").value[1]+","+a.core("selection-box-color").value[2]+","+a.core("selection-box-opacity").value+")",c.fillRect(n.selection[0],n.selection[1],n.selection[2]-n.selection[0],n.selection[3]-n.selection[1]),d>0&&(c.strokeStyle="rgba("+a.core("selection-box-border-color").value[0]+","+a.core("selection-box-border-color").value[1]+","+a.core("selection-box-border-color").value[2]+","+a.core("selection-box-opacity").value+")",c.strokeRect(n.selection[0],n.selection[1],n.selection[2]-n.selection[0],n.selection[3]-n.selection[1]))}if(i.bgActivePosistion&&!n.hoverData.selecting){h=n.cy.zoom();var p=i.bgActivePosistion;c.fillStyle="rgba("+a.core("active-bg-color").value[0]+","+a.core("active-bg-color").value[1]+","+a.core("active-bg-color").value[2]+","+a.core("active-bg-opacity").value+")",c.beginPath(),c.arc(p.x,p.y,a.core("active-bg-size").pfValue/h,0,2*Math.PI),c.fill()}var g=n.lastRedrawTime;if(n.showFps&&g){g=Math.round(g);var f=Math.round(1e3/g),v="1 frame = "+g+" ms = "+f+" fps";if(c.setTransform(1,0,0,1,0,0),c.fillStyle="rgba(255, 0, 0, 0.75)",c.strokeStyle="rgba(255, 0, 0, 0.75)",c.font="30px Arial",!op){var y=c.measureText(v);op=y.actualBoundingBoxAscent}c.fillText(v,0,op);var m=60;c.strokeRect(0,op+10,250,20),c.fillRect(0,op+10,250*Math.min(f/m,1),20)}s||(l[n.SELECT_BOX]=!1)}};var _p="undefined"!=typeof Float32Array?Float32Array:Array;function Ap(){var e=new _p(9);return _p!=Float32Array&&(e[1]=0,e[2]=0,e[3]=0,e[5]=0,e[6]=0,e[7]=0),e[0]=1,e[4]=1,e[8]=1,e}function Cp(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=1,e[5]=0,e[6]=0,e[7]=0,e[8]=1,e}function Dp(e,t,n){var r=t[0],i=t[1],a=t[2],o=t[3],s=t[4],l=t[5],u=t[6],c=t[7],h=t[8],d=n[0],p=n[1],g=n[2],f=n[3],v=n[4],y=n[5],m=n[6],b=n[7],x=n[8];return e[0]=d*r+p*o+g*u,e[1]=d*i+p*s+g*c,e[2]=d*a+p*l+g*h,e[3]=f*r+v*o+y*u,e[4]=f*i+v*s+y*c,e[5]=f*a+v*l+y*h,e[6]=m*r+b*o+x*u,e[7]=m*i+b*s+x*c,e[8]=m*a+b*l+x*h,e}function Np(e,t,n){var r=t[0],i=t[1],a=t[2],o=t[3],s=t[4],l=t[5],u=t[6],c=t[7],h=t[8],d=n[0],p=n[1];return e[0]=r,e[1]=i,e[2]=a,e[3]=o,e[4]=s,e[5]=l,e[6]=d*r+p*o+u,e[7]=d*i+p*s+c,e[8]=d*a+p*l+h,e}function Sp(e,t,n){var r=t[0],i=t[1],a=t[2],o=t[3],s=t[4],l=t[5],u=t[6],c=t[7],h=t[8],d=Math.sin(n),p=Math.cos(n);return e[0]=p*r+d*o,e[1]=p*i+d*s,e[2]=p*a+d*l,e[3]=p*o-d*r,e[4]=p*s-d*i,e[5]=p*l-d*a,e[6]=u,e[7]=c,e[8]=h,e}function Lp(e,t,n){var r=n[0],i=n[1];return e[0]=r*t[0],e[1]=r*t[1],e[2]=r*t[2],e[3]=i*t[3],e[4]=i*t[4],e[5]=i*t[5],e[6]=t[6],e[7]=t[7],e[8]=t[8],e}function Pp(e,t,n){return e[0]=2/t,e[1]=0,e[2]=0,e[3]=0,e[4]=-2/n,e[5]=0,e[6]=-1,e[7]=1,e[8]=1,e}Math.hypot||(Math.hypot=function(){for(var e=0,t=arguments.length;t--;)e+=arguments[t]*arguments[t];return Math.sqrt(e)});var Ip={SCREEN:{name:"screen",screen:!0},PICKING:{name:"picking",picking:!0}},kp=Bt({getKey:null,drawElement:null,getBoundingBox:null,getRotation:null,getRotationPoint:null,getRotationOffset:null,isVisible:null,getPadding:null}),Mp=function(){function e(n,r){t(this,e),this.debugID=Math.floor(1e4*Math.random()),this.r=n,this.atlasSize=r.webglTexSize,this.rows=r.webglTexRows,this.enableWrapping=r.enableWrapping,this.texHeight=Math.floor(this.atlasSize/this.rows),this.maxTexWidth=this.atlasSize,this.texture=null,this.canvas=null,this.needsBuffer=!0,this.freePointer={x:0,row:0},this.keyToLocation=new Map,this.canvas=r.createTextureCanvas(n,this.atlasSize,this.atlasSize),this.scratch=r.createTextureCanvas(n,this.atlasSize,this.texHeight,"scratch")}return r(e,[{key:"getKeys",value:function(){return new Set(this.keyToLocation.keys())}},{key:"getScale",value:function(e){var t=e.w,n=e.h,r=this.texHeight,i=this.maxTexWidth,a=r/n,o=t*a,s=n*a;return o>i&&(o=t*(a=i/t),s=n*a),{scale:a,texW:o,texH:s}}},{key:"draw",value:function(e,t,n){var r=this,i=this.atlasSize,a=this.rows,o=this.texHeight,s=this.getScale(t),l=s.scale,u=s.texW,c=s.texH,h=[null,null],d=function(e,r){if(n&&r){var i=r.context,a=e.x,s=e.row,u=a,c=o*s;i.save(),i.translate(u,c),i.scale(l,l),n(i,t),i.restore()}},p=function(){d(r.freePointer,r.canvas),h[0]={x:r.freePointer.x,y:r.freePointer.row*o,w:u,h:c},h[1]={ +// indlude a second location with a width of 0, for convenience +x:r.freePointer.x+u,y:r.freePointer.row*o,w:0,h:c},r.freePointer.x+=u,r.freePointer.x==i&&(r.freePointer.x=0,r.freePointer.row++)},g=function(){var e=r.scratch,t=r.canvas;e.clear(),d({x:0,row:0},e);var n=i-r.freePointer.x,a=u-n,s=o,l=r.freePointer.x,p=r.freePointer.row*o,g=n;t.context.drawImage(e,0,0,g,s,l,p,g,s),h[0]={x:l,y:p,w:g,h:c};var f=n,v=(r.freePointer.row+1)*o,y=a;t&&t.context.drawImage(e,f,0,y,s,0,v,y,s),h[1]={x:0,y:v,w:y,h:c},r.freePointer.x=a,r.freePointer.row++},f=function(){r.freePointer.x=0,r.freePointer.row++};if(this.freePointer.x+u<=i)p();else{if(this.freePointer.row>=a-1)return!1;this.freePointer.x===i?(f(),p()):this.enableWrapping?g():(f(),p())}return this.keyToLocation.set(e,h),this.needsBuffer=!0,h}},{key:"getOffsets",value:function(e){return this.keyToLocation.get(e)}},{key:"isEmpty",value:function(){return 0===this.freePointer.x&&0===this.freePointer.row}},{key:"canFit",value:function(e){var t=this.atlasSize,n=this.rows,r=this.getScale(e).texW;return!(this.freePointer.x+r>t)||this.freePointer.row<n-1}},{key:"bufferIfNeeded",value:function(e){this.texture||(this.texture=yp(e,this.debugID)),this.needsBuffer&&(this.texture.buffer(this.canvas),this.needsBuffer=!1)}},{key:"dispose",value:function(){this.texture&&(this.texture.deleteTexture(),this.texture=null,this.needsBuffer=!0)}}]),e}(),Rp=function(){function e(n,r){t(this,e),this.r=n,this.opts=r,this.keyToIds=new Map,this.idToKey=new Map,this.atlases=[],this.styleKeyToAtlas=new Map,this.styleKeyNeedsRedraw=new Set,this.forceGC=!1}return r(e,[{key:"getKeys",value:function(){return new Set(this.styleKeyToAtlas.keys())}},{key:"getIdsFor",value:function(e){var t=this.keyToIds.get(e);return t||(t=new Set,this.keyToIds.set(e,t)),t}},{key:"_createAtlas",value:function(){var e=this.r,t=this.opts;return new Mp(e,t)}},{key:"_getScratchCanvas",value:function(){if(!this.scratch){var e=this.r,t=this.opts,n=t.webglTexSize,r=Math.floor(n/t.webglTexRows);this.scratch=t.createTextureCanvas(e,n,r,"scratch")}return this.scratch}},{key:"draw",value:function(e,t,n,r){if(this.styleKeyNeedsRedraw.has(t)){this.styleKeyNeedsRedraw.delete(t),this.deleteKey(e,t);var i=this.styleKeyToAtlas.get(t);i&&(i.forceGC=!0),this.styleKeyToAtlas.delete(t)}var a=this.styleKeyToAtlas.get(t);return a||((a=this.atlases[this.atlases.length-1])&&a.canFit(n)||(a=this._createAtlas(),this.atlases.push(a)),a.draw(t,n,r),this.styleKeyToAtlas.set(t,a),this.getIdsFor(t).add(e),this.idToKey.set(e,t)),a}},{key:"getAtlas",value:function(e){return this.styleKeyToAtlas.get(e)}},{key:"hasAtlas",value:function(e){return this.styleKeyToAtlas.has(e)}},{key:"deleteKey",value:function(e,t){this.idToKey.delete(e),this.getIdsFor(t).delete(e)}},{key:"checkKeyIsInvalid",value:function(e,t){if(!this.idToKey.has(e))return!1;var n=this.idToKey.get(e);return n!=t&&(this.deleteKey(e,n),!0)}},{key:"_getKeysToCollect",value:function(){var e,t=new Set,n=v(this.styleKeyToAtlas.keys());try{for(n.s();!(e=n.n()).done;){var r=e.value;0==this.getIdsFor(r).size&&t.add(r)}}catch(i){n.e(i)}finally{n.f()}return t} +/** + * TODO dispose of the old atlas and texture + */},{key:"gc",value:function(){var e=this,t=this.atlases.some((function(e){return e.forceGC})),n=this._getKeysToCollect();if(0!==n.size||t){var r,i=[],o=new Map,s=null,l=v(this.atlases);try{var u=function(){var t=r.value,l=t.getKeys(),u=Op(n,l);if(0===u.size&&!t.forceGC)return i.push(t),l.forEach((function(e){return o.set(e,t)})),"continue";s||(s=e._createAtlas(),i.push(s));var c,h=v(l);try{for(h.s();!(c=h.n()).done;){var d=c.value;if(!u.has(d)){var p=a(t.getOffsets(d),2),g=p[0],f=p[1];s.canFit({w:g.w+f.w,h:g.h})||(s=e._createAtlas(),i.push(s)),e._copyTextureToNewAtlas(d,t,s),o.set(d,s)}}}catch(y){h.e(y)}finally{h.f()}};for(l.s();!(r=l.n()).done;)u()}catch(c){l.e(c)}finally{l.f()}this.atlases=i,this.styleKeyToAtlas=o}}},{key:"_copyTextureToNewAtlas",value:function(e,t,n){var r=a(t.getOffsets(e),2),i=r[0],o=r[1];if(0===o.w)n.draw(e,i,(function(e){e.drawImage(t.canvas,i.x,i.y,i.w,i.h,0,0,i.w,i.h)}));else{var s=this._getScratchCanvas();s.clear(),s.context.drawImage(t.canvas,i.x,i.y,i.w,i.h,0,0,i.w,i.h),s.context.drawImage(t.canvas,o.x,o.y,o.w,o.h,i.w,0,o.w,o.h);var l=i.w+o.w,u=i.h;n.draw(e,{w:l,h:u},(function(e){e.drawImage(s,0,0,l,u,0,0,l,u)}))}}},{key:"getCounts",value:function(){return{keyCount:this.styleKeyToAtlas.size,atlasCount:new Set(this.styleKeyToAtlas.values()).size}}}]),e}();function Op(e,t){return e.intersection?e.intersection(t):new Set(o(e).filter((function(e){return t.has(e)})))}var Bp=function(){function e(n,r){t(this,e),this.r=n;var i=r;this.globalOptions=i,this.maxAtlases=i.webglTexPerBatch,this.atlasSize=i.webglTexSize,this.renderTypes=new Map,this.maxAtlasesPerBatch=r.webglTexPerBatch,this.batchAtlases=[],this._cacheScratchCanvas(i)}return r(e,[{key:"_cacheScratchCanvas",value:function(e){var t=-1,n=-1,r=null,i=e.createTextureCanvas;e.createTextureCanvas=function(e,a,o,s){return s?(r&&a==t&&o==n||(t=a,n=o,r=i(e,a,o)),r):i(e,a,o)}}},{key:"addRenderType",value:function(e,t){var n=new Rp(this.r,this.globalOptions),r=t;this.renderTypes.set(e,re({type:e,atlasCollection:n},r))}},{key:"getRenderTypes",value:function(){return o(this.renderTypes.values())}},{key:"getRenderTypeOpts",value:function(e){return this.renderTypes.get(e)} +/** Marks textues associated with the element for garbage collection. */},{key:"invalidate",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.forceRedraw,i=void 0!==r&&r,a=n.filterEle,o=void 0===a?function(){return!0}:a,s=n.filterType,l=void 0===s?function(){return!0}:s,u=!1,c=v(e);try{for(c.s();!(t=c.n()).done;){var h=t.value;if(o(h)){var d,p=h.id(),g=v(this.getRenderTypes());try{for(g.s();!(d=g.n()).done;){var f=d.value;if(l(f.type)){var y=f.getKey(h);i?(f.atlasCollection.deleteKey(p,y),f.atlasCollection.styleKeyNeedsRedraw.add(y),u=!0):u|=f.atlasCollection.checkKeyIsInvalid(p,y)}}}catch(m){g.e(m)}finally{g.f()}}}}catch(m){c.e(m)}finally{c.f()}return u} +/** Garbage collect */},{key:"gc",value:function(){var e,t=v(this.getRenderTypes());try{for(t.s();!(e=t.n()).done;)e.value.atlasCollection.gc()}catch(n){t.e(n)}finally{t.f()}}},{key:"isRenderable",value:function(e,t){var n=this.getRenderTypeOpts(t);return n&&n.isVisible(e)}},{key:"startBatch",value:function(){this.batchAtlases=[]}},{key:"getAtlasCount",value:function(){return this.batchAtlases.length}},{key:"getAtlases",value:function(){return this.batchAtlases}},{key:"getOrCreateAtlas",value:function(e,t,n){var r=this.renderTypes.get(n),i=r.getKey(e),a=e.id();return r.atlasCollection.draw(a,i,t,(function(n){r.drawElement(n,e,t,!0,!0)}))}},{key:"getAtlasIndexForBatch",value:function(e){var t=this.batchAtlases.indexOf(e);if(t<0){if(this.batchAtlases.length===this.maxAtlasesPerBatch)return;this.batchAtlases.push(e),t=this.batchAtlases.length-1}return t}},{key:"getIndexArray",value:function(){return Array.from({length:this.maxAtlases},(function(e,t){return t}))}},{key:"getAtlasInfo",value:function(e,t){var n=this.renderTypes.get(t),r=n.getBoundingBox(e),i=this.getOrCreateAtlas(e,r,t),o=this.getAtlasIndexForBatch(i);if(void 0!==o){var s=n.getKey(e),l=a(i.getOffsets(s),2),u=l[0];return{atlasID:o,tex:u,tex1:u,tex2:l[1],bb:r,type:t,styleKey:s}}}},{key:"canAddToCurrentBatch",value:function(e,t){if(this.batchAtlases.length===this.maxAtlasesPerBatch){var n=this.renderTypes.get(t),r=n.getKey(e),i=n.atlasCollection.getAtlas(r);return i&&this.batchAtlases.includes(i)}return!0} +/** + * matrix is expected to be a 9 element array + * this function follows same pattern as CRp.drawCachedElementPortion(...) + */},{key:"setTransformMatrix",value:function(e,t,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=t.bb,a=t.type,o=t.tex1,s=t.tex2,l=this.getRenderTypeOpts(a),u=l.getPadding?l.getPadding(n):0,c=o.w/(o.w+s.w);r||(c=1-c);var h,d,p=this.getAdjustedBB(i,u,r,c);Cp(e);var g=l.getRotation?l.getRotation(n):0;if(0!==g){var f=l.getRotationPoint(n);Np(e,e,[f.x,f.y]),Sp(e,e,g);var v=l.getRotationOffset(n);h=v.x+p.xOffset,d=v.y}else h=p.x1,d=p.y1;Np(e,e,[h,d]),Lp(e,e,[p.w,p.h])}},{key:"getTransformMatrix",value:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=Ap();return this.setTransformMatrix(r,e,t,n),r} +/** + * Adjusts a node or label BB to accomodate padding and split for wrapped textures. + * @param bb - the original bounding box + * @param padding - the padding to add to the bounding box + * @param first - whether this is the first part of a wrapped texture + * @param ratio - the ratio of the texture width of part of the text to the entire texture + */},{key:"getAdjustedBB",value:function(e,t,n,r){var i=e.x1,a=e.y1,o=e.w,s=e.h;t&&(i-=t,a-=t,o+=2*t,s+=2*t);var l=0,u=o*r;return n&&r<1?o=u:!n&&r<1&&(i+=l=o-u,o=u),{x1:i,y1:a,w:o,h:s,xOffset:l}}},{key:"getDebugInfo",value:function(){var e,t=[],n=v(this.renderTypes);try{for(n.s();!(e=n.n()).done;){var r=a(e.value,2),i=r[0],o=r[1].atlasCollection.getCounts(),s=o.keyCount,l=o.atlasCount;t.push({type:i,keyCount:s,atlasCount:l})}}catch(u){n.e(u)}finally{n.f()}return t}}]),e}(),Fp=0,zp=1,Gp=2,Vp=3,Yp=function(){function e(n,r,i){t(this,e),this.r=n,this.gl=r,this.maxInstances=i.webglBatchSize,this.maxAtlases=i.webglTexPerBatch,this.atlasSize=i.webglTexSize,this.bgColor=i.bgColor,i.enableWrapping=!0,i.createTextureCanvas=hp,this.atlasManager=new Bp(n,i),this.program=this.createShaderProgram(Ip.SCREEN),this.pickingProgram=this.createShaderProgram(Ip.PICKING),this.vao=this.createVAO(),this.debugInfo=[]}return r(e,[{key:"addTextureRenderType",value:function(e,t){this.atlasManager.addRenderType(e,t)}},{key:"invalidate",value:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).type,n=this.atlasManager;return t?n.invalidate(e,{filterType:function(e){return e===t},forceRedraw:!0}):n.invalidate(e)}},{key:"gc",value:function(){this.atlasManager.gc()}},{key:"createShaderProgram",value:function(e){var t=this.gl,n="#version 300 es\n precision highp float;\n\n uniform mat3 uPanZoomMatrix;\n uniform int uAtlasSize;\n \n // instanced\n in vec2 aPosition; \n\n // what are we rendering?\n in int aVertType;\n\n // for picking\n in vec4 aIndex;\n \n // For textures\n in int aAtlasId; // which shader unit/atlas to use\n in vec4 aTex1; // x/y/w/h of texture in atlas\n in vec4 aTex2; \n\n // for any transforms that are needed\n in vec4 aScaleRotate1; // vectors use fewer attributes than matrices\n in vec2 aTranslate1;\n in vec4 aScaleRotate2;\n in vec2 aTranslate2;\n\n // for edges\n in vec4 aPointAPointB;\n in vec4 aPointCPointD;\n in float aLineWidth;\n in vec4 aEdgeColor;\n\n out vec2 vTexCoord;\n out vec4 vEdgeColor;\n flat out int vAtlasId;\n flat out vec4 vIndex;\n flat out int vVertType;\n\n void main(void) {\n int vid = gl_VertexID;\n vec2 position = aPosition;\n\n if(aVertType == ".concat(Fp,") {\n float texX;\n float texY;\n float texW;\n float texH;\n mat3 texMatrix;\n\n int vid = gl_VertexID;\n if(vid <= 5) {\n texX = aTex1.x;\n texY = aTex1.y;\n texW = aTex1.z;\n texH = aTex1.w;\n texMatrix = mat3(\n vec3(aScaleRotate1.xy, 0.0),\n vec3(aScaleRotate2.zw, 0.0),\n vec3(aTranslate1, 1.0)\n );\n } else {\n texX = aTex2.x;\n texY = aTex2.y;\n texW = aTex2.z;\n texH = aTex2.w;\n texMatrix = mat3(\n vec3(aScaleRotate2.xy, 0.0),\n vec3(aScaleRotate2.zw, 0.0),\n vec3(aTranslate2, 1.0)\n );\n }\n\n if(vid == 1 || vid == 2 || vid == 4 || vid == 7 || vid == 8 || vid == 10) {\n texX += texW;\n }\n if(vid == 2 || vid == 4 || vid == 5 || vid == 8 || vid == 10 || vid == 11) {\n texY += texH;\n }\n\n float d = float(uAtlasSize);\n vTexCoord = vec2(texX / d, texY / d); // tex coords must be between 0 and 1\n\n gl_Position = vec4(uPanZoomMatrix * texMatrix * vec3(position, 1.0), 1.0);\n } \n else if(aVertType == ").concat(zp," && vid < 6) {\n vec2 source = aPointAPointB.xy;\n vec2 target = aPointAPointB.zw;\n\n // adjust the geometry so that the line is centered on the edge\n position.y = position.y - 0.5;\n\n vec2 xBasis = target - source;\n vec2 yBasis = normalize(vec2(-xBasis.y, xBasis.x));\n vec2 point = source + xBasis * position.x + yBasis * aLineWidth * position.y;\n\n gl_Position = vec4(uPanZoomMatrix * vec3(point, 1.0), 1.0);\n vEdgeColor = aEdgeColor;\n } \n else if(aVertType == ").concat(Gp," && vid < 6) {\n vec2 pointA = aPointAPointB.xy;\n vec2 pointB = aPointAPointB.zw;\n vec2 pointC = aPointCPointD.xy;\n vec2 pointD = aPointCPointD.zw;\n\n // adjust the geometry so that the line is centered on the edge\n position.y = position.y - 0.5;\n\n vec2 p0 = pointA;\n vec2 p1 = pointB;\n vec2 p2 = pointC;\n vec2 pos = position;\n if(position.x == 1.0) {\n p0 = pointD;\n p1 = pointC;\n p2 = pointB;\n pos = vec2(0.0, -position.y);\n }\n\n vec2 p01 = p1 - p0;\n vec2 p12 = p2 - p1;\n vec2 p21 = p1 - p2;\n\n // Find the normal vector.\n vec2 tangent = normalize(normalize(p12) + normalize(p01));\n vec2 normal = vec2(-tangent.y, tangent.x);\n\n // Find the vector perpendicular to p0 -> p1.\n vec2 p01Norm = normalize(vec2(-p01.y, p01.x));\n\n // Determine the bend direction.\n float sigma = sign(dot(p01 + p21, normal));\n float width = aLineWidth;\n\n if(sign(pos.y) == -sigma) {\n // This is an intersecting vertex. Adjust the position so that there's no overlap.\n vec2 point = 0.5 * width * normal * -sigma / dot(normal, p01Norm);\n gl_Position = vec4(uPanZoomMatrix * vec3(p1 + point, 1.0), 1.0);\n } else {\n // This is a non-intersecting vertex. Treat it like a mitre join.\n vec2 point = 0.5 * width * normal * sigma * dot(normal, p01Norm);\n gl_Position = vec4(uPanZoomMatrix * vec3(p1 + point, 1.0), 1.0);\n }\n\n vEdgeColor = aEdgeColor;\n } \n else if(aVertType == ").concat(Vp," && vid < 3) {\n // massage the first triangle into an edge arrow\n if(vid == 0)\n position = vec2(-0.15, -0.3);\n if(vid == 1)\n position = vec2( 0.0, 0.0);\n if(vid == 2)\n position = vec2( 0.15, -0.3);\n\n mat3 transform = mat3(\n vec3(aScaleRotate1.xy, 0.0),\n vec3(aScaleRotate1.zw, 0.0),\n vec3(aTranslate1, 1.0)\n );\n gl_Position = vec4(uPanZoomMatrix * transform * vec3(position, 1.0), 1.0);\n vEdgeColor = aEdgeColor;\n } else {\n gl_Position = vec4(2.0, 0.0, 0.0, 1.0); // discard vertex by putting it outside webgl clip space\n }\n\n vAtlasId = aAtlasId;\n vIndex = aIndex;\n vVertType = aVertType;\n }\n "),r=this.atlasManager.getIndexArray(),i=cp(t,n,"#version 300 es\n precision highp float;\n\n // define texture unit for each node in the batch\n ".concat(r.map((function(e){return"uniform sampler2D uTexture".concat(e,";")})).join("\n\t"),"\n\n uniform vec4 uBGColor;\n\n in vec2 vTexCoord;\n in vec4 vEdgeColor;\n flat in int vAtlasId;\n flat in vec4 vIndex;\n flat in int vVertType;\n\n out vec4 outColor;\n\n void main(void) {\n if(vVertType == ").concat(Fp,") {\n ").concat(r.map((function(e){return"if(vAtlasId == ".concat(e,") outColor = texture(uTexture").concat(e,", vTexCoord);")})).join("\n\telse "),"\n } else if(vVertType == ").concat(Vp,") {\n // blend arrow color with background (using premultiplied alpha)\n outColor.rgb = vEdgeColor.rgb + (uBGColor.rgb * (1.0 - vEdgeColor.a)); \n outColor.a = 1.0; // make opaque, masks out line under arrow\n } else {\n outColor = vEdgeColor;\n }\n\n ").concat(e.picking?"if(outColor.a == 0.0) discard;\n else outColor = vIndex;":"","\n }\n "));i.aPosition=t.getAttribLocation(i,"aPosition"),i.aIndex=t.getAttribLocation(i,"aIndex"),i.aVertType=t.getAttribLocation(i,"aVertType"),i.aAtlasId=t.getAttribLocation(i,"aAtlasId"),i.aTex1=t.getAttribLocation(i,"aTex1"),i.aTex2=t.getAttribLocation(i,"aTex2"),i.aScaleRotate1=t.getAttribLocation(i,"aScaleRotate1"),i.aTranslate1=t.getAttribLocation(i,"aTranslate1"),i.aScaleRotate2=t.getAttribLocation(i,"aScaleRotate2"),i.aTranslate2=t.getAttribLocation(i,"aTranslate2"),i.aPointAPointB=t.getAttribLocation(i,"aPointAPointB"),i.aPointCPointD=t.getAttribLocation(i,"aPointCPointD"),i.aLineWidth=t.getAttribLocation(i,"aLineWidth"),i.aEdgeColor=t.getAttribLocation(i,"aEdgeColor"),i.uPanZoomMatrix=t.getUniformLocation(i,"uPanZoomMatrix"),i.uAtlasSize=t.getUniformLocation(i,"uAtlasSize"),i.uBGColor=t.getUniformLocation(i,"uBGColor"),i.uTextures=[];for(var a=0;a<this.atlasManager.maxAtlases;a++)i.uTextures.push(t.getUniformLocation(i,"uTexture".concat(a)));return i}},{key:"createVAO",value:function(){var e=[0,0,1,0,1,1,0,0,1,1,0,1],t=[].concat(e,e);this.vertexCount=t.length/2;var n=this.maxInstances,r=this.gl,i=this.program,a=r.createVertexArray();return r.bindVertexArray(a),wp(r,"vec2",i.aPosition,t),this.indexBuffer=Ep(r,n,"vec4",i.aIndex),this.vertTypeBuffer=Ep(r,n,"int",i.aVertType),this.atlasIdBuffer=Ep(r,n,"int",i.aAtlasId),this.tex1Buffer=Ep(r,n,"vec4",i.aTex1),this.tex2Buffer=Ep(r,n,"vec4",i.aTex2),this.scaleRotate1Buffer=Ep(r,n,"vec4",i.aScaleRotate1),this.translate1Buffer=Ep(r,n,"vec2",i.aTranslate1),this.scaleRotate2Buffer=Ep(r,n,"vec4",i.aScaleRotate2),this.translate2Buffer=Ep(r,n,"vec2",i.aTranslate2),this.pointAPointBBuffer=Ep(r,n,"vec4",i.aPointAPointB),this.pointCPointDBuffer=Ep(r,n,"vec4",i.aPointCPointD),this.lineWidthBuffer=Ep(r,n,"float",i.aLineWidth),this.edgeColorBuffer=Ep(r,n,"vec4",i.aEdgeColor),r.bindVertexArray(null),a}},{key:"buffers",get:function(){var e=this;return this._buffers||(this._buffers=Object.keys(this).filter((function(e){return e.endsWith("Buffer")})).map((function(t){return e[t]}))),this._buffers}},{key:"startFrame",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ip.SCREEN;this.panZoomMatrix=e,this.debugInfo=t,this.renderTarget=n,this.startBatch()}},{key:"startBatch",value:function(){this.instanceCount=0,this.atlasManager.startBatch()}},{key:"endFrame",value:function(){this.endBatch()}},{key:"getTempMatrix",value:function(){return this.tempMatrix=this.tempMatrix||Ap()}},{key:"drawTexture",value:function(e,t,n){var r=this.atlasManager;if(r.isRenderable(e,n)){r.canAddToCurrentBatch(e,n)||this.endBatch();var i=this.instanceCount;this.vertTypeBuffer.getView(i)[0]=Fp,fp(t,this.indexBuffer.getView(i));var a=r.getAtlasInfo(e,n,a),o=a.atlasID,s=a.tex1,l=a.tex2;this.atlasIdBuffer.getView(i)[0]=o;var u=this.tex1Buffer.getView(i);u[0]=s.x,u[1]=s.y,u[2]=s.w,u[3]=s.h;var c=this.tex2Buffer.getView(i);c[0]=l.x,c[1]=l.y,c[2]=l.w,c[3]=l.h;for(var h=this.getTempMatrix(),d=0,p=[1,2];d<p.length;d++){var g=p[d];r.setTransformMatrix(h,a,e,1===g);var f=this["scaleRotate".concat(g,"Buffer")].getView(i);f[0]=h[0],f[1]=h[1],f[2]=h[3],f[3]=h[4];var v=this["translate".concat(g,"Buffer")].getView(i);v[0]=h[6],v[1]=h[7]}this.instanceCount++,this.instanceCount>=this.maxInstances&&this.endBatch()}}},{key:"drawEdgeArrow",value:function(e,t,n){var r,i,a,o=e._private.rscratch;if("source"===n?(r=o.arrowStartX,i=o.arrowStartY,a=o.srcArrowAngle):(r=o.arrowEndX,i=o.arrowEndY,a=o.tgtArrowAngle),!(isNaN(r)||null==r||isNaN(i)||null==i||isNaN(a)||null==a||"none"===e.pstyle(n+"-arrow-shape").value)){var s=e.pstyle(n+"-arrow-color").value,l=e.pstyle("opacity").value*e.pstyle("line-opacity").value,u=e.pstyle("width").pfValue,c=e.pstyle("arrow-scale").value,h=this.r.getArrowWidth(u,c),d=this.getTempMatrix();Cp(d),Np(d,d,[r,i]),Lp(d,d,[h,h]),Sp(d,d,a);var p=this.instanceCount;this.vertTypeBuffer.getView(p)[0]=Vp,fp(t,this.indexBuffer.getView(p)),gp(s,l,this.edgeColorBuffer.getView(p));var g=this.scaleRotate1Buffer.getView(p);g[0]=d[0],g[1]=d[1],g[2]=d[3],g[3]=d[4];var f=this.translate1Buffer.getView(p);f[0]=d[6],f[1]=d[7],this.instanceCount++,this.instanceCount>=this.maxInstances&&this.endBatch()}}},{key:"drawEdgeLine",value:function(e,t){var n=e.pstyle("opacity").value,r=e.pstyle("line-opacity").value,i=e.pstyle("width").pfValue,a=e.pstyle("line-color").value,o=n*r,s=this.getEdgePoints(e);if(s.length/2+this.instanceCount>this.maxInstances&&this.endBatch(),4==s.length){var l=this.instanceCount;this.vertTypeBuffer.getView(l)[0]=zp,fp(t,this.indexBuffer.getView(l)),gp(a,o,this.edgeColorBuffer.getView(l)),this.lineWidthBuffer.getView(l)[0]=i;var u=this.pointAPointBBuffer.getView(l);u[0]=s[0],u[1]=s[1],u[2]=s[2],u[3]=s[3],this.instanceCount++,this.instanceCount>=this.maxInstances&&this.endBatch()}else for(var c=0;c<s.length-2;c+=2){var h=this.instanceCount;this.vertTypeBuffer.getView(h)[0]=Gp,fp(t,this.indexBuffer.getView(h)),gp(a,o,this.edgeColorBuffer.getView(h)),this.lineWidthBuffer.getView(h)[0]=i;var d=s[c-2],p=s[c-1],g=s[c],f=s[c+1],v=s[c+2],y=s[c+3],m=s[c+4],b=s[c+5];0==c&&(d=2*g-v+.001,p=2*f-y+.001),c==s.length-4&&(m=2*v-g+.001,b=2*y-f+.001);var x=this.pointAPointBBuffer.getView(h);x[0]=d,x[1]=p,x[2]=g,x[3]=f;var w=this.pointCPointDBuffer.getView(h);w[0]=v,w[1]=y,w[2]=m,w[3]=b,this.instanceCount++,this.instanceCount>=this.maxInstances&&this.endBatch()}}},{key:"getEdgePoints",value:function(e){var t=e._private.rscratch.allpts;if(4==t.length)return t;var n=this.getNumSegments(e);return this.getCurveSegmentPoints(t,n)}},{key:"getNumSegments",value:function(e){var t=15;return Math.min(Math.max(t,5),this.maxInstances)}},{key:"getCurveSegmentPoints",value:function(e,t){if(4==e.length)return e;for(var n=Array(2*(t+1)),r=0;r<=t;r++)if(0==r)n[0]=e[0],n[1]=e[1];else if(r==t)n[2*r]=e[e.length-2],n[2*r+1]=e[e.length-1];else{var i=r/t;this.setCurvePoint(e,i,n,2*r)}return n}},{key:"setCurvePoint",value:function(e,t,n,r){if(!(e.length<=2)){for(var i=Array(e.length-2),a=0;a<i.length;a+=2){var o=(1-t)*e[a]+t*e[a+2],s=(1-t)*e[a+1]+t*e[a+3];i[a]=o,i[a+1]=s}return this.setCurvePoint(i,t,n,r)}n[r]=e[0],n[r+1]=e[1]}},{key:"endBatch",value:function(){var e=this.gl,t=this.vao,n=this.vertexCount,r=this.instanceCount;if(0!==r){var i=this.renderTarget.picking?this.pickingProgram:this.program;e.useProgram(i),e.bindVertexArray(t);var a,o=v(this.buffers);try{for(o.s();!(a=o.n()).done;)a.value.bufferSubData(r)}catch(h){o.e(h)}finally{o.f()}for(var s=this.atlasManager.getAtlases(),l=0;l<s.length;l++)s[l].bufferIfNeeded(e);for(var u=0;u<s.length;u++)e.activeTexture(e.TEXTURE0+u),e.bindTexture(e.TEXTURE_2D,s[u].texture),e.uniform1i(i.uTextures[u],u);e.uniformMatrix3fv(i.uPanZoomMatrix,!1,this.panZoomMatrix),e.uniform1i(i.uAtlasSize,this.atlasManager.atlasSize);var c=gp(this.bgColor,1);e.uniform4fv(i.uBGColor,c),e.drawArraysInstanced(e.TRIANGLES,0,n,r),e.bindVertexArray(null),e.bindTexture(e.TEXTURE_2D,null),this.debugInfo&&this.debugInfo.push({count:r,atlasCount:s.length}),this.startBatch()}}},{key:"getDebugInfo",value:function(){return this.debugInfo}},{key:"getAtlasDebugInfo",value:function(){return this.atlasManager.getDebugInfo()}}]),e}();function Xp(e,t){return"rgba(".concat(e[0],", ").concat(e[1],", ").concat(e[2],", ").concat(t,")")}var Up=function(){function e(n){t(this,e),this.r=n}return r(e,[{key:"getStyleKey",value:function(e,t){var n=this.getStyle(e,t),r=n.shape,i=n.opacity,a=n.color;if(!r)return null;var o=t.width(),s=t.height(),l=Xp(a,i);return bt("".concat(r,"-").concat(o,"-").concat(s,"-").concat(l))}},{key:"isVisible",value:function(e,t){return t.pstyle("".concat(e,"-opacity")).value>0}},{key:"getStyle",value:function(e,t){return{opacity:t.pstyle("".concat(e,"-opacity")).value,color:t.pstyle("".concat(e,"-color")).value,shape:t.pstyle("".concat(e,"-shape")).value}}},{key:"getPadding",value:function(e,t){return t.pstyle("".concat(e,"-padding")).pfValue}},{key:"draw",value:function(e,t,n,r){if(this.isVisible(e,n)){var i=this.r,a=r.w,o=r.h,s=a/2,l=o/2,u=this.getStyle(e,n),c=u.shape,h=u.color,d=u.opacity;t.save(),t.fillStyle=Xp(h,d),"round-rectangle"===c||"roundrectangle"===c?i.drawRoundRectanglePath(t,s,l,a,o,"auto"):"ellipse"===c&&i.drawEllipsePath(t,s,l,a,o),t.fill(),t.restore()}}}]),e}();function jp(e){var t=e&&e.style&&e.style.backgroundColor||"white";return le(t)}var Wp={};function Hp(e){var t=e.render;e.render=function(n){n=n||{};var r=e.cy;e.webgl&&(r.zoom()>nd?(qp(e),t.call(e,n)):($p(e),rg(e,n,Ip.SCREEN)))};var n=e.matchCanvasSize;e.matchCanvasSize=function(t){n.call(e,t),e.pickingFrameBuffer.setFramebufferAttachmentSizes(e.canvasWidth,e.canvasHeight),e.pickingFrameBuffer.needsDraw=!0},e.findNearestElements=function(t,n,r,i){return ng(e,t,n)};var r=e.invalidateCachedZSortedEles;e.invalidateCachedZSortedEles=function(){r.call(e),e.pickingFrameBuffer.needsDraw=!0};var i=e.notify;e.notify=function(t,n){i.call(e,t,n),"viewport"===t||"bounds"===t?e.pickingFrameBuffer.needsDraw=!0:"background"===t&&e.eleDrawing.invalidate(n,{type:"node-body"})}}function qp(e){var t=e.data.contexts[e.WEBGL];t.clear(t.COLOR_BUFFER_BIT|t.DEPTH_BUFFER_BIT)}function $p(e){var t=function(t){t.save(),t.setTransform(1,0,0,1,0,0),t.clearRect(0,0,e.canvasWidth,e.canvasHeight),t.restore()};t(e.data.contexts[e.NODE]),t(e.data.contexts[e.DRAG])}function Kp(e){var t=e.canvasWidth,n=e.canvasHeight,r=dp(e),i=r.pan,a=r.zoom,o=Ap();Np(o,o,[i.x,i.y]),Lp(o,o,[a,a]);var s=Ap();Pp(s,t,n);var l=Ap();return Dp(l,s,o),l}function Zp(e,t){var n=e.canvasWidth,r=e.canvasHeight,i=dp(e),a=i.pan,o=i.zoom;t.setTransform(1,0,0,1,0,0),t.clearRect(0,0,n,r),t.translate(a.x,a.y),t.scale(o,o)}function Qp(e,t){e.drawSelectionRectangle(t,(function(t){return Zp(e,t)}))}function Jp(e){var t=e.data.contexts[e.NODE];t.save(),Zp(e,t),t.strokeStyle="rgba(0, 0, 0, 0.3)",t.beginPath(),t.moveTo(-1e3,0),t.lineTo(1e3,0),t.stroke(),t.beginPath(),t.moveTo(0,-1e3),t.lineTo(0,1e3),t.stroke(),t.restore()}function eg(e){var t=function(t,n,r){for(var i=t.atlasManager.getRenderTypeOpts(n),a=e.data.contexts[e.NODE],o=.125,s=i.atlasCollection.atlases,l=0;l<s.length;l++){var u=s[l].canvas,c=u.width,h=u.height,d=c*l,p=u.height*r;a.save(),a.scale(o,o),a.drawImage(u,d,p),a.strokeStyle="black",a.rect(d,p,c,h),a.stroke(),a.restore()}},n=0;t(e.eleDrawing,"node-body",n++),t(e.eleDrawing,"node-label",n++)}function tg(e,t,n,r,i){var o,s,l,u,c=dp(e),h=a(pp(e,c.pan,c.zoom,t,n),2),d=6;if(o=h[0]-d/2,s=h[1]-d/2,u=d,0===(l=d)||0===u)return[];var p=e.data.contexts[e.WEBGL];p.bindFramebuffer(p.FRAMEBUFFER,e.pickingFrameBuffer),e.pickingFrameBuffer.needsDraw&&(p.viewport(0,0,p.canvas.width,p.canvas.height),rg(e,null,Ip.PICKING),e.pickingFrameBuffer.needsDraw=!1);var g=l*u,f=new Uint8Array(4*g);p.readPixels(o,s,l,u,p.RGBA,p.UNSIGNED_BYTE,f),p.bindFramebuffer(p.FRAMEBUFFER,null);for(var v=new Set,y=0;y<g;y++){var m=vp(f.slice(4*y,4*y+4))-1;m>=0&&v.add(m)}return v}function ng(e,t,n){var r,i,a,o=tg(e,t,n),s=e.getCachedZSortedEles(),l=v(o);try{for(l.s();!(a=l.n()).done;){var u=s[a.value];if(!r&&u.isNode()&&(r=u),!i&&u.isEdge()&&(i=u),r&&i)break}}catch(c){l.e(c)}finally{l.f()}return[r,i].filter(Boolean)}function rg(e,t,n){var r,i;e.webglDebug&&(i=[],r=performance.now());var a=e.eleDrawing,o=0;if(n.screen&&e.data.canvasNeedsRedraw[e.SELECT_BOX]&&Qp(e,t),e.data.canvasNeedsRedraw[e.NODE]||n.picking){var s=function(e,t){t+=1,e.isNode()?(a.drawTexture(e,t,"node-underlay"),a.drawTexture(e,t,"node-body"),a.drawTexture(e,t,"node-label"),a.drawTexture(e,t,"node-overlay")):(a.drawEdgeLine(e,t),a.drawEdgeArrow(e,t,"source"),a.drawEdgeArrow(e,t,"target"),a.drawTexture(e,t,"edge-label"))},l=e.data.contexts[e.WEBGL];n.screen?(l.clearColor(0,0,0,0),l.enable(l.BLEND),l.blendFunc(l.ONE,l.ONE_MINUS_SRC_ALPHA)):l.disable(l.BLEND),l.clear(l.COLOR_BUFFER_BIT|l.DEPTH_BUFFER_BIT),l.viewport(0,0,l.canvas.width,l.canvas.height);var u=Kp(e),c=e.getCachedZSortedEles();if(o=c.length,a.startFrame(u,i,n),n.screen){for(var h=0;h<c.nondrag.length;h++)s(c.nondrag[h],h);for(var d=0;d<c.drag.length;d++)s(c.drag[d],-1)}else if(n.picking)for(var p=0;p<c.length;p++)s(c[p],p);a.endFrame(),e.data.gc&&(e.data.gc=!1,a.gc()),n.screen&&e.webglDebugShowAtlases&&(Jp(e),eg(e)),e.data.canvasNeedsRedraw[e.NODE]=!1,e.data.canvasNeedsRedraw[e.DRAG]=!1}if(e.webglDebug){var g,f=performance.now(),y=!0,m=0,b=0,x=v(i);try{for(x.s();!(g=x.n()).done;){var w=g.value;m++,b+=w.count}}catch(_){x.e(_)}finally{x.f()}if(Math.ceil(f-r),"".concat(o," elements, ").concat(b," rectangles, ").concat(m," batches"),y);else{var E,T=v(a.getAtlasDebugInfo());try{for(T.s();!(E=T.n()).done;)E.value}catch(_){T.e(_)}finally{T.f()}}}}Wp.initWebgl=function(e,t){var n=this,r=n.data.contexts[n.WEBGL],i=e.cy.container();e.bgColor=jp(i),e.webglTexSize=Math.min(e.webglTexSize,r.getParameter(r.MAX_TEXTURE_SIZE)),e.webglTexRows=Math.min(e.webglTexRows,54),e.webglBatchSize=Math.min(e.webglBatchSize,16384),e.webglTexPerBatch=Math.min(e.webglTexPerBatch,r.getParameter(r.MAX_TEXTURE_IMAGE_UNITS)),n.webglDebug=e.webglDebug,n.webglDebugShowAtlases=e.webglDebugShowAtlases,n.pickingFrameBuffer=Tp(r),n.pickingFrameBuffer.needsDraw=!0;var a=function(e){return n.getTextAngle(e,null)},o=function(e){var t=e.pstyle("label");return t&&t.value};n.eleDrawing=new Yp(n,r,e);var s=new Up(n);n.eleDrawing.addTextureRenderType("node-body",kp({getKey:t.getStyleKey,getBoundingBox:t.getElementBox,drawElement:t.drawElement,isVisible:function(e){return e.visible()}})),n.eleDrawing.addTextureRenderType("node-label",kp({getKey:t.getLabelKey,getBoundingBox:t.getLabelBox,drawElement:t.drawLabel,getRotation:a,getRotationPoint:t.getLabelRotationPoint,getRotationOffset:t.getLabelRotationOffset,isVisible:o})),n.eleDrawing.addTextureRenderType("node-overlay",kp({getBoundingBox:t.getElementBox,getKey:function(e){return s.getStyleKey("overlay",e)},drawElement:function(e,t,n){return s.draw("overlay",e,t,n)},isVisible:function(e){return s.isVisible("overlay",e)},getPadding:function(e){return s.getPadding("overlay",e)}})),n.eleDrawing.addTextureRenderType("node-underlay",kp({getBoundingBox:t.getElementBox,getKey:function(e){return s.getStyleKey("underlay",e)},drawElement:function(e,t,n){return s.draw("underlay",e,t,n)},isVisible:function(e){return s.isVisible("underlay",e)},getPadding:function(e){return s.getPadding("underlay",e)}})),n.eleDrawing.addTextureRenderType("edge-label",kp({getKey:t.getLabelKey,getBoundingBox:t.getLabelBox,drawElement:t.drawLabel,getRotation:a,getRotationPoint:t.getLabelRotationPoint,getRotationOffset:t.getLabelRotationOffset,isVisible:o}));var l=rt((function(){n.data.gc=!0}),1e4);n.onUpdateEleCalcs((function(e,t){var r=!1;t&&t.length>0&&(r|=n.eleDrawing.invalidate(t)),r&&l()})),Hp(n)};for(var ig={drawPolygonPath:function(e,t,n,r,i,a){var o=r/2,s=i/2;e.beginPath&&e.beginPath(),e.moveTo(t+o*a[0],n+s*a[1]);for(var l=1;l<a.length/2;l++)e.lineTo(t+o*a[2*l],n+s*a[2*l+1]);e.closePath()},drawRoundPolygonPath:function(e,t,n,r,i,a,o){o.forEach((function(t){return Ah(e,t)})),e.closePath()},drawRoundRectanglePath:function(e,t,n,r,i,a){var o=r/2,s=i/2,l="auto"===a?gr(r,i):Math.min(a,s,o);e.beginPath&&e.beginPath(),e.moveTo(t,n-s),e.arcTo(t+o,n-s,t+o,n,l),e.arcTo(t+o,n+s,t,n+s,l),e.arcTo(t-o,n+s,t-o,n,l),e.arcTo(t-o,n-s,t,n-s,l),e.lineTo(t,n-s),e.closePath()},drawBottomRoundRectanglePath:function(e,t,n,r,i,a){var o=r/2,s=i/2,l="auto"===a?gr(r,i):a;e.beginPath&&e.beginPath(),e.moveTo(t,n-s),e.lineTo(t+o,n-s),e.lineTo(t+o,n),e.arcTo(t+o,n+s,t,n+s,l),e.arcTo(t-o,n+s,t-o,n,l),e.lineTo(t-o,n-s),e.lineTo(t,n-s),e.closePath()},drawCutRectanglePath:function(e,t,n,r,i,a,o){var s=r/2,l=i/2,u="auto"===o?vr():o;e.beginPath&&e.beginPath(),e.moveTo(t-s+u,n-l),e.lineTo(t+s-u,n-l),e.lineTo(t+s,n-l+u),e.lineTo(t+s,n+l-u),e.lineTo(t+s-u,n+l),e.lineTo(t-s+u,n+l),e.lineTo(t-s,n+l-u),e.lineTo(t-s,n-l+u),e.closePath()},drawBarrelPath:function(e,t,n,r,i){var a=r/2,o=i/2,s=t-a,l=t+a,u=n-o,c=n+o,h=mr(r,i),d=h.widthOffset,p=h.heightOffset,g=h.ctrlPtOffsetPct*d;e.beginPath&&e.beginPath(),e.moveTo(s,u+p),e.lineTo(s,c-p),e.quadraticCurveTo(s+g,c,s+d,c),e.lineTo(l-d,c),e.quadraticCurveTo(l-g,c,l,c-p),e.lineTo(l,u+p),e.quadraticCurveTo(l-g,u,l-d,u),e.lineTo(s+d,u),e.quadraticCurveTo(s+g,u,s,u+p),e.closePath()}},ag=Math.sin(0),og=Math.cos(0),sg={},lg={},ug=Math.PI/40,cg=0*Math.PI;cg<2*Math.PI;cg+=ug)sg[cg]=Math.sin(cg),lg[cg]=Math.cos(cg);ig.drawEllipsePath=function(e,t,n,r,i){if(e.beginPath&&e.beginPath(),e.ellipse)e.ellipse(t,n,r/2,i/2,0,0,2*Math.PI);else for(var a,o,s=r/2,l=i/2,u=0*Math.PI;u<2*Math.PI;u+=ug)a=t-s*sg[u]*ag+s*lg[u]*og,o=n+l*lg[u]*ag+l*sg[u]*og,0===u?e.moveTo(a,o):e.lineTo(a,o);e.closePath()};var hg={};function dg(e,t){for(var n=atob(e),r=new ArrayBuffer(n.length),i=new Uint8Array(r),a=0;a<n.length;a++)i[a]=n.charCodeAt(a);return new Blob([r],{type:t})}function pg(e){var t=e.indexOf(",");return e.substr(t+1)}function gg(e,t,n){var r=function(){return t.toDataURL(n,e.quality)};switch(e.output){case"blob-promise":return new Ui((function(r,i){try{t.toBlob((function(e){null!=e?r(e):i(new Error("`canvas.toBlob()` sent a null value in its callback"))}),n,e.quality)}catch(a){i(a)}}));case"blob":return dg(pg(r()),n);case"base64":return pg(r());default:return r()}}hg.createBuffer=function(e,t){var n=document.createElement("canvas");return n.width=e,n.height=t,[n,n.getContext("2d")]},hg.bufferCanvasImage=function(e){var t=this.cy,n=t.mutableElements().boundingBox(),r=this.findContainerClientCoords(),i=e.full?Math.ceil(n.w):r[2],a=e.full?Math.ceil(n.h):r[3],o=S(e.maxWidth)||S(e.maxHeight),s=this.getPixelRatio(),l=1;if(void 0!==e.scale)i*=e.scale,a*=e.scale,l=e.scale;else if(o){var u=1/0,c=1/0;S(e.maxWidth)&&(u=l*e.maxWidth/i),S(e.maxHeight)&&(c=l*e.maxHeight/a),i*=l=Math.min(u,c),a*=l}o||(i*=s,a*=s,l*=s);var h=document.createElement("canvas");h.width=i,h.height=a,h.style.width=i+"px",h.style.height=a+"px";var d=h.getContext("2d");if(i>0&&a>0){d.clearRect(0,0,i,a),d.globalCompositeOperation="source-over";var p=this.getCachedZSortedEles();if(e.full)d.translate(-n.x1*l,-n.y1*l),d.scale(l,l),this.drawElements(d,p),d.scale(1/l,1/l),d.translate(n.x1*l,n.y1*l);else{var g=t.pan(),f={x:g.x*l,y:g.y*l};l*=t.zoom(),d.translate(f.x,f.y),d.scale(l,l),this.drawElements(d,p),d.scale(1/l,1/l),d.translate(-f.x,-f.y)}e.bg&&(d.globalCompositeOperation="destination-over",d.fillStyle=e.bg,d.rect(0,0,i,a),d.fill())}return h},hg.png=function(e){return gg(e,this.bufferCanvasImage(e),"image/png")},hg.jpg=function(e){return gg(e,this.bufferCanvasImage(e),"image/jpeg")};var fg={nodeShapeImpl:function(e,t,n,r,i,a,o,s){switch(e){case"ellipse":return this.drawEllipsePath(t,n,r,i,a);case"polygon":return this.drawPolygonPath(t,n,r,i,a,o);case"round-polygon":return this.drawRoundPolygonPath(t,n,r,i,a,o,s);case"roundrectangle":case"round-rectangle":return this.drawRoundRectanglePath(t,n,r,i,a,s);case"cutrectangle":case"cut-rectangle":return this.drawCutRectanglePath(t,n,r,i,a,o,s);case"bottomroundrectangle":case"bottom-round-rectangle":return this.drawBottomRoundRectanglePath(t,n,r,i,a,s);case"barrel":return this.drawBarrelPath(t,n,r,i,a)}}},vg=mg,yg=mg.prototype;function mg(e){var t=this,n=t.cy.window().document;e.webgl&&(yg.CANVAS_LAYERS=t.CANVAS_LAYERS=4),t.data={canvases:new Array(yg.CANVAS_LAYERS),contexts:new Array(yg.CANVAS_LAYERS),canvasNeedsRedraw:new Array(yg.CANVAS_LAYERS),bufferCanvases:new Array(yg.BUFFER_COUNT),bufferContexts:new Array(yg.CANVAS_LAYERS)};var r="-webkit-tap-highlight-color",i="rgba(0,0,0,0)";t.data.canvasContainer=n.createElement("div");var a=t.data.canvasContainer.style;t.data.canvasContainer.style[r]=i,a.position="relative",a.zIndex="0",a.overflow="hidden";var o=e.cy.container();o.appendChild(t.data.canvasContainer),o.style[r]=i;var s={"-webkit-user-select":"none","-moz-user-select":"-moz-none","user-select":"none","-webkit-tap-highlight-color":"rgba(0,0,0,0)","outline-style":"none"};Y()&&(s["-ms-touch-action"]="none",s["touch-action"]="none");for(var l=0;l<yg.CANVAS_LAYERS;l++){var u=t.data.canvases[l]=n.createElement("canvas"),c=yg.CANVAS_TYPES[l];t.data.contexts[l]=u.getContext(c),t.data.contexts[l]||Nt("Could not create canvas of type "+c),Object.keys(s).forEach((function(e){u.style[e]=s[e]})),u.style.position="absolute",u.setAttribute("data-id","layer"+l),u.style.zIndex=String(yg.CANVAS_LAYERS-l),t.data.canvasContainer.appendChild(u),t.data.canvasNeedsRedraw[l]=!1}for(t.data.topCanvas=t.data.canvases[0],t.data.canvases[yg.NODE].setAttribute("data-id","layer"+yg.NODE+"-node"),t.data.canvases[yg.SELECT_BOX].setAttribute("data-id","layer"+yg.SELECT_BOX+"-selectbox"),t.data.canvases[yg.DRAG].setAttribute("data-id","layer"+yg.DRAG+"-drag"),t.data.canvases[yg.WEBGL]&&t.data.canvases[yg.WEBGL].setAttribute("data-id","layer"+yg.WEBGL+"-webgl"),l=0;l<yg.BUFFER_COUNT;l++)t.data.bufferCanvases[l]=n.createElement("canvas"),t.data.bufferContexts[l]=t.data.bufferCanvases[l].getContext("2d"),t.data.bufferCanvases[l].style.position="absolute",t.data.bufferCanvases[l].setAttribute("data-id","buffer"+l),t.data.bufferCanvases[l].style.zIndex=String(-l-1),t.data.bufferCanvases[l].style.visibility="hidden";t.pathsEnabled=!0;var h=In(),d=function(e){return{x:(e.x1+e.x2)/2,y:(e.y1+e.y2)/2}},p=function(e){return{x:-e.w/2,y:-e.h/2}},g=function(e){var t=e[0]._private;return!(t.oldBackgroundTimestamp===t.backgroundTimestamp)},f=function(e){return e[0]._private.nodeKey},v=function(e){return e[0]._private.labelStyleKey},y=function(e){return e[0]._private.sourceLabelStyleKey},m=function(e){return e[0]._private.targetLabelStyleKey},b=function(e,n,r,i,a){return t.drawElement(e,n,r,!1,!1,a)},x=function(e,n,r,i,a){return t.drawElementText(e,n,r,i,"main",a)},w=function(e,n,r,i,a){return t.drawElementText(e,n,r,i,"source",a)},E=function(e,n,r,i,a){return t.drawElementText(e,n,r,i,"target",a)},T=function(e){return e.boundingBox(),e[0]._private.bodyBounds},_=function(e){return e.boundingBox(),e[0]._private.labelBounds.main||h},A=function(e){return e.boundingBox(),e[0]._private.labelBounds.source||h},C=function(e){return e.boundingBox(),e[0]._private.labelBounds.target||h},D=function(e,t){return t},N=function(e){return d(T(e))},S=function(e,t,n){var r=e?e+"-":"";return{x:t.x+n.pstyle(r+"text-margin-x").pfValue,y:t.y+n.pstyle(r+"text-margin-y").pfValue}},L=function(e,t,n){var r=e[0]._private.rscratch;return{x:r[t],y:r[n]}},P=function(e){return S("",L(e,"labelX","labelY"),e)},I=function(e){return S("source",L(e,"sourceLabelX","sourceLabelY"),e)},k=function(e){return S("target",L(e,"targetLabelX","targetLabelY"),e)},M=function(e){return p(T(e))},R=function(e){return p(A(e))},O=function(e){return p(C(e))},B=function(e){var t=_(e),n=p(_(e));if(e.isNode()){switch(e.pstyle("text-halign").value){case"left":n.x=-t.w-(t.leftPad||0);break;case"right":n.x=-(t.rightPad||0)}switch(e.pstyle("text-valign").value){case"top":n.y=-t.h-(t.topPad||0);break;case"bottom":n.y=-(t.botPad||0)}}return n},F=t.data.eleTxrCache=new md(t,{getKey:f,doesEleInvalidateKey:g,drawElement:b,getBoundingBox:T,getRotationPoint:N,getRotationOffset:M,allowEdgeTxrCaching:!1,allowParentTxrCaching:!1}),z=t.data.lblTxrCache=new md(t,{getKey:v,drawElement:x,getBoundingBox:_,getRotationPoint:P,getRotationOffset:B,isVisible:D}),G=t.data.slbTxrCache=new md(t,{getKey:y,drawElement:w,getBoundingBox:A,getRotationPoint:I,getRotationOffset:R,isVisible:D}),V=t.data.tlbTxrCache=new md(t,{getKey:m,drawElement:E,getBoundingBox:C,getRotationPoint:k,getRotationOffset:O,isVisible:D}),X=t.data.lyrTxrCache=new Rd(t);t.onUpdateEleCalcs((function(e,t){F.invalidateElements(t),z.invalidateElements(t),G.invalidateElements(t),V.invalidateElements(t),X.invalidateElements(t);for(var n=0;n<t.length;n++){var r=t[n]._private;r.oldBackgroundTimestamp=r.backgroundTimestamp}}));var U=function(e){for(var t=0;t<e.length;t++)X.enqueueElementRefinement(e[t].ele)};F.onDequeue(U),z.onDequeue(U),G.onDequeue(U),V.onDequeue(U),e.webgl&&t.initWebgl(e,{getStyleKey:f,getLabelKey:v,drawElement:b,drawLabel:x,getElementBox:T,getLabelBox:_,getElementRotationPoint:N,getElementRotationOffset:M,getLabelRotationPoint:P,getLabelRotationOffset:B})}yg.CANVAS_LAYERS=3,yg.SELECT_BOX=0,yg.DRAG=1,yg.NODE=2,yg.WEBGL=3,yg.CANVAS_TYPES=["2d","2d","2d","webgl2"],yg.BUFFER_COUNT=3,yg.TEXTURE_BUFFER=0,yg.MOTIONBLUR_BUFFER_NODE=1,yg.MOTIONBLUR_BUFFER_DRAG=2,yg.redrawHint=function(e,t){var n=this;switch(e){case"eles":n.data.canvasNeedsRedraw[yg.NODE]=t;break;case"drag":n.data.canvasNeedsRedraw[yg.DRAG]=t;break;case"select":n.data.canvasNeedsRedraw[yg.SELECT_BOX]=t;break;case"gc":n.data.gc=!0}};var bg="undefined"!=typeof Path2D;yg.path2dEnabled=function(e){if(void 0===e)return this.pathsEnabled;this.pathsEnabled=!!e},yg.usePaths=function(){return bg&&this.pathsEnabled},yg.setImgSmoothing=function(e,t){null!=e.imageSmoothingEnabled?e.imageSmoothingEnabled=t:(e.webkitImageSmoothingEnabled=t,e.mozImageSmoothingEnabled=t,e.msImageSmoothingEnabled=t)},yg.getImgSmoothing=function(e){return null!=e.imageSmoothingEnabled?e.imageSmoothingEnabled:e.webkitImageSmoothingEnabled||e.mozImageSmoothingEnabled||e.msImageSmoothingEnabled},yg.makeOffscreenCanvas=function(t,n){var r;return"undefined"!==("undefined"==typeof OffscreenCanvas?"undefined":e(OffscreenCanvas))?r=new OffscreenCanvas(t,n):((r=this.cy.window().document.createElement("canvas")).width=t,r.height=n),r},[Gd,Wd,Jd,tp,np,ip,sp,Wp,ig,hg,fg].forEach((function(e){re(yg,e)}));var xg=[{type:"layout",extensions:Kc},{type:"renderer",extensions:[{name:"null",impl:Zc},{name:"base",impl:Hh},{name:"canvas",impl:vg}]}],wg={},Eg={};function Tg(e,t,n){var r=n,i=function(n){Lt("Can not register `"+t+"` for `"+e+"` since `"+n+"` already exists in the prototype and can not be overridden")};if("core"===e){if(lc.prototype[t])return i(t);lc.prototype[t]=n}else if("collection"===e){if(Eu.prototype[t])return i(t);Eu.prototype[t]=n}else if("layout"===e){for(var a=function(e){this.options=e,n.call(this,e),D(this._private)||(this._private={}),this._private.cy=e.cy,this._private.listeners=[],this.createEmitter()},o=a.prototype=Object.create(n.prototype),s=[],l=0;l<s.length;l++){var u=s[l];o[u]=o[u]||function(){return this}}o.start&&!o.run?o.run=function(){return this.start(),this}:!o.start&&o.run&&(o.start=function(){return this.run(),this});var c=n.prototype.stop;o.stop=function(){var e=this.options;if(e&&e.animate){var t=this.animations;if(t)for(var n=0;n<t.length;n++)t[n].stop()}return c?c.call(this):this.emit("layoutstop"),this},o.destroy||(o.destroy=function(){return this}),o.cy=function(){return this._private.cy};var h=function(e){return e._private.cy},d={addEventFields:function(e,t){t.layout=e,t.cy=h(e),t.target=e},bubble:function(){return!0},parent:function(e){return h(e)}};re(o,{createEmitter:function(){return this._private.emitter=new zl(d,this),this},emitter:function(){return this._private.emitter},on:function(e,t){return this.emitter().on(e,t),this},one:function(e,t){return this.emitter().one(e,t),this},once:function(e,t){return this.emitter().one(e,t),this},removeListener:function(e,t){return this.emitter().removeListener(e,t),this},removeAllListeners:function(){return this.emitter().removeAllListeners(),this},emit:function(e,t){return this.emitter().emit(e,t),this}}),ps.eventAliasesOn(o),r=a}else if("renderer"===e&&"null"!==t&&"base"!==t){var p=_g("renderer","base"),g=p.prototype,f=n,v=n.prototype,y=function(){p.apply(this,arguments),f.apply(this,arguments)},m=y.prototype;for(var b in g){var x=g[b];if(null!=v[b])return i(b);m[b]=x}for(var w in v)m[w]=v[w];g.clientFunctions.forEach((function(e){m[e]=m[e]||function(){Nt("Renderer does not implement `renderer."+e+"()` on its prototype")}})),r=y}else if("__proto__"===e||"constructor"===e||"prototype"===e)return Nt(e+" is an illegal type to be registered, possibly lead to prototype pollutions");return ce({map:wg,keys:[e,t],value:r})}function _g(e,t){return he({map:wg,keys:[e,t]})}function Ag(e,t,n,r,i){return ce({map:Eg,keys:[e,t,n,r],value:i})}function Cg(e,t,n,r){return he({map:Eg,keys:[e,t,n,r]})}var Dg=function(){return 2===arguments.length?_g.apply(null,arguments):3===arguments.length?Tg.apply(null,arguments):4===arguments.length?Cg.apply(null,arguments):5===arguments.length?Ag.apply(null,arguments):void Nt("Invalid extension access syntax")};lc.prototype.extension=Dg,xg.forEach((function(e){e.extensions.forEach((function(t){Tg(e.type,t.name,t.impl)}))}));var Ng=function e(){if(!(this instanceof e))return new e;this.length=0},Sg=Ng.prototype;Sg.instanceString=function(){return"stylesheet"},Sg.selector=function(e){return this[this.length++]={selector:e,properties:[]},this},Sg.css=function(e,t){var n=this.length-1;if(_(e))this[n].properties.push({name:e,value:t});else if(D(e))for(var r=e,i=Object.keys(r),a=0;a<i.length;a++){var o=i[a],s=r[o];if(null!=s){var l=nc.properties[o]||nc.properties[j(o)];if(null!=l){var u=l.name,c=s;this[n].properties.push({name:u,value:c})}}}return this},Sg.style=Sg.css,Sg.generateStyle=function(e){var t=new nc(e);return this.appendToStyle(t)},Sg.appendToStyle=function(e){for(var t=0;t<this.length;t++){var n=this[t],r=n.selector,i=n.properties;e.selector(r);for(var a=0;a<i.length;a++){var o=i[a];e.css(o.name,o.value)}}return e};var Lg="3.31.0",Pg=function(e){return void 0===e&&(e={}),D(e)?new lc(e):_(e)?Dg.apply(Dg,arguments):void 0};return Pg.use=function(e){var t=Array.prototype.slice.call(arguments,1);return t.unshift(Pg),e.apply(null,t),this},Pg.warnings=function(e){return St(e)},Pg.version=Lg,Pg.stylesheet=Pg.Stylesheet=Ng,Pg}()),h.exports));var p,g={exports:{}},f={exports:{}},v={exports:{}};function y(){return p?v.exports:(p=1,e=function(){ +/******/ +return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={ +/******/ +i:r, +/******/ +l:!1, +/******/ +exports:{} +/******/};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.i=function(e){return e},n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{ +/******/ +configurable:!1, +/******/ +enumerable:!0, +/******/ +get:r +/******/})},n.n=function(e){var t=e&&e.__esModule? +/******/function(){return e.default}: +/******/function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=26)}([ +/* 0 */ +/***/ +function(e,t,n){function r(){}r.QUALITY=1,r.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,r.DEFAULT_INCREMENTAL=!1,r.DEFAULT_ANIMATION_ON_LAYOUT=!0,r.DEFAULT_ANIMATION_DURING_LAYOUT=!1,r.DEFAULT_ANIMATION_PERIOD=50,r.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,r.DEFAULT_GRAPH_MARGIN=15,r.NODE_DIMENSIONS_INCLUDE_LABELS=!1,r.SIMPLE_NODE_SIZE=40,r.SIMPLE_NODE_HALF_SIZE=r.SIMPLE_NODE_SIZE/2,r.EMPTY_COMPOUND_NODE_SIZE=40,r.MIN_EDGE_LENGTH=1,r.WORLD_BOUNDARY=1e6,r.INITIAL_WORLD_BOUNDARY=r.WORLD_BOUNDARY/1e3,r.WORLD_CENTER_X=1200,r.WORLD_CENTER_Y=900,e.exports=r}, +/* 1 */ +/***/ +function(e,t,n){var r=n(2),i=n(8),a=n(9);function o(e,t,n){r.call(this,n),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=n,this.bendpoints=[],this.source=e,this.target=t}for(var s in o.prototype=Object.create(r.prototype),r)o[s]=r[s];o.prototype.getSource=function(){return this.source},o.prototype.getTarget=function(){return this.target},o.prototype.isInterGraph=function(){return this.isInterGraph},o.prototype.getLength=function(){return this.length},o.prototype.isOverlapingSourceAndTarget=function(){return this.isOverlapingSourceAndTarget},o.prototype.getBendpoints=function(){return this.bendpoints},o.prototype.getLca=function(){return this.lca},o.prototype.getSourceInLca=function(){return this.sourceInLca},o.prototype.getTargetInLca=function(){return this.targetInLca},o.prototype.getOtherEnd=function(e){if(this.source===e)return this.target;if(this.target===e)return this.source;throw"Node is not incident with this edge"},o.prototype.getOtherEndInGraph=function(e,t){for(var n=this.getOtherEnd(e),r=t.getGraphManager().getRoot();;){if(n.getOwner()==t)return n;if(n.getOwner()==r)break;n=n.getOwner().getParent()}return null},o.prototype.updateLength=function(){var e=new Array(4);this.isOverlapingSourceAndTarget=i.getIntersection(this.target.getRect(),this.source.getRect(),e),this.isOverlapingSourceAndTarget||(this.lengthX=e[0]-e[2],this.lengthY=e[1]-e[3],Math.abs(this.lengthX)<1&&(this.lengthX=a.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=a.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},o.prototype.updateLengthSimple=function(){this.lengthX=this.target.getCenterX()-this.source.getCenterX(),this.lengthY=this.target.getCenterY()-this.source.getCenterY(),Math.abs(this.lengthX)<1&&(this.lengthX=a.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=a.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},e.exports=o}, +/* 2 */ +/***/ +function(e,t,n){e.exports=function(e){this.vGraphObject=e}}, +/* 3 */ +/***/ +function(e,t,n){var r=n(2),i=n(10),a=n(13),o=n(0),s=n(16),l=n(4);function u(e,t,n,o){null==n&&null==o&&(o=t),r.call(this,o),null!=e.graphManager&&(e=e.graphManager),this.estimatedSize=i.MIN_VALUE,this.inclusionTreeDepth=i.MAX_VALUE,this.vGraphObject=o,this.edges=[],this.graphManager=e,this.rect=null!=n&&null!=t?new a(t.x,t.y,n.width,n.height):new a}for(var c in u.prototype=Object.create(r.prototype),r)u[c]=r[c];u.prototype.getEdges=function(){return this.edges},u.prototype.getChild=function(){return this.child},u.prototype.getOwner=function(){return this.owner},u.prototype.getWidth=function(){return this.rect.width},u.prototype.setWidth=function(e){this.rect.width=e},u.prototype.getHeight=function(){return this.rect.height},u.prototype.setHeight=function(e){this.rect.height=e},u.prototype.getCenterX=function(){return this.rect.x+this.rect.width/2},u.prototype.getCenterY=function(){return this.rect.y+this.rect.height/2},u.prototype.getCenter=function(){return new l(this.rect.x+this.rect.width/2,this.rect.y+this.rect.height/2)},u.prototype.getLocation=function(){return new l(this.rect.x,this.rect.y)},u.prototype.getRect=function(){return this.rect},u.prototype.getDiagonal=function(){return Math.sqrt(this.rect.width*this.rect.width+this.rect.height*this.rect.height)},u.prototype.getHalfTheDiagonal=function(){return Math.sqrt(this.rect.height*this.rect.height+this.rect.width*this.rect.width)/2},u.prototype.setRect=function(e,t){this.rect.x=e.x,this.rect.y=e.y,this.rect.width=t.width,this.rect.height=t.height},u.prototype.setCenter=function(e,t){this.rect.x=e-this.rect.width/2,this.rect.y=t-this.rect.height/2},u.prototype.setLocation=function(e,t){this.rect.x=e,this.rect.y=t},u.prototype.moveBy=function(e,t){this.rect.x+=e,this.rect.y+=t},u.prototype.getEdgeListToNode=function(e){var t=[],n=this;return n.edges.forEach((function(r){if(r.target==e){if(r.source!=n)throw"Incorrect edge source!";t.push(r)}})),t},u.prototype.getEdgesBetween=function(e){var t=[],n=this;return n.edges.forEach((function(r){if(r.source!=n&&r.target!=n)throw"Incorrect edge source and/or target";r.target!=e&&r.source!=e||t.push(r)})),t},u.prototype.getNeighborsList=function(){var e=new Set,t=this;return t.edges.forEach((function(n){if(n.source==t)e.add(n.target);else{if(n.target!=t)throw"Incorrect incidency!";e.add(n.source)}})),e},u.prototype.withChildren=function(){var e=new Set;if(e.add(this),null!=this.child)for(var t=this.child.getNodes(),n=0;n<t.length;n++)t[n].withChildren().forEach((function(t){e.add(t)}));return e},u.prototype.getNoOfChildren=function(){var e=0;if(null==this.child)e=1;else for(var t=this.child.getNodes(),n=0;n<t.length;n++)e+=t[n].getNoOfChildren();return 0==e&&(e=1),e},u.prototype.getEstimatedSize=function(){if(this.estimatedSize==i.MIN_VALUE)throw"assert failed";return this.estimatedSize},u.prototype.calcEstimatedSize=function(){return null==this.child?this.estimatedSize=(this.rect.width+this.rect.height)/2:(this.estimatedSize=this.child.calcEstimatedSize(),this.rect.width=this.estimatedSize,this.rect.height=this.estimatedSize,this.estimatedSize)},u.prototype.scatter=function(){var e,t,n=-o.INITIAL_WORLD_BOUNDARY,r=o.INITIAL_WORLD_BOUNDARY;e=o.WORLD_CENTER_X+s.nextDouble()*(r-n)+n;var i=-o.INITIAL_WORLD_BOUNDARY,a=o.INITIAL_WORLD_BOUNDARY;t=o.WORLD_CENTER_Y+s.nextDouble()*(a-i)+i,this.rect.x=e,this.rect.y=t},u.prototype.updateBounds=function(){if(null==this.getChild())throw"assert failed";if(0!=this.getChild().getNodes().length){var e=this.getChild();if(e.updateBounds(!0),this.rect.x=e.getLeft(),this.rect.y=e.getTop(),this.setWidth(e.getRight()-e.getLeft()),this.setHeight(e.getBottom()-e.getTop()),o.NODE_DIMENSIONS_INCLUDE_LABELS){var t=e.getRight()-e.getLeft(),n=e.getBottom()-e.getTop();this.labelWidth>t&&(this.rect.x-=(this.labelWidth-t)/2,this.setWidth(this.labelWidth)),this.labelHeight>n&&("center"==this.labelPos?this.rect.y-=(this.labelHeight-n)/2:"top"==this.labelPos&&(this.rect.y-=this.labelHeight-n),this.setHeight(this.labelHeight))}}},u.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==i.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},u.prototype.transform=function(e){var t=this.rect.x;t>o.WORLD_BOUNDARY?t=o.WORLD_BOUNDARY:t<-o.WORLD_BOUNDARY&&(t=-o.WORLD_BOUNDARY);var n=this.rect.y;n>o.WORLD_BOUNDARY?n=o.WORLD_BOUNDARY:n<-o.WORLD_BOUNDARY&&(n=-o.WORLD_BOUNDARY);var r=new l(t,n),i=e.inverseTransformPoint(r);this.setLocation(i.x,i.y)},u.prototype.getLeft=function(){return this.rect.x},u.prototype.getRight=function(){return this.rect.x+this.rect.width},u.prototype.getTop=function(){return this.rect.y},u.prototype.getBottom=function(){return this.rect.y+this.rect.height},u.prototype.getParent=function(){return null==this.owner?null:this.owner.getParent()},e.exports=u}, +/* 4 */ +/***/ +function(e,t,n){function r(e,t){null==e&&null==t?(this.x=0,this.y=0):(this.x=e,this.y=t)}r.prototype.getX=function(){return this.x},r.prototype.getY=function(){return this.y},r.prototype.setX=function(e){this.x=e},r.prototype.setY=function(e){this.y=e},r.prototype.getDifference=function(e){return new DimensionD(this.x-e.x,this.y-e.y)},r.prototype.getCopy=function(){return new r(this.x,this.y)},r.prototype.translate=function(e){return this.x+=e.width,this.y+=e.height,this},e.exports=r}, +/* 5 */ +/***/ +function(e,t,n){var r=n(2),i=n(10),a=n(0),o=n(6),s=n(3),l=n(1),u=n(13),c=n(12),h=n(11);function d(e,t,n){r.call(this,n),this.estimatedSize=i.MIN_VALUE,this.margin=a.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=e,null!=t&&t instanceof o?this.graphManager=t:null!=t&&t instanceof Layout&&(this.graphManager=t.graphManager)}for(var p in d.prototype=Object.create(r.prototype),r)d[p]=r[p];d.prototype.getNodes=function(){return this.nodes},d.prototype.getEdges=function(){return this.edges},d.prototype.getGraphManager=function(){return this.graphManager},d.prototype.getParent=function(){return this.parent},d.prototype.getLeft=function(){return this.left},d.prototype.getRight=function(){return this.right},d.prototype.getTop=function(){return this.top},d.prototype.getBottom=function(){return this.bottom},d.prototype.isConnected=function(){return this.isConnected},d.prototype.add=function(e,t,n){if(null==t&&null==n){var r=e;if(null==this.graphManager)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(r)>-1)throw"Node already in graph!";return r.owner=this,this.getNodes().push(r),r}var i=e;if(!(this.getNodes().indexOf(t)>-1&&this.getNodes().indexOf(n)>-1))throw"Source or target not in graph!";if(t.owner!=n.owner||t.owner!=this)throw"Both owners must be this graph!";return t.owner!=n.owner?null:(i.source=t,i.target=n,i.isInterGraph=!1,this.getEdges().push(i),t.edges.push(i),n!=t&&n.edges.push(i),i)},d.prototype.remove=function(e){var t=e;if(e instanceof s){if(null==t)throw"Node is null!";if(null==t.owner||t.owner!=this)throw"Owner graph is invalid!";if(null==this.graphManager)throw"Owner graph manager is invalid!";for(var n=t.edges.slice(),r=n.length,i=0;i<r;i++)(a=n[i]).isInterGraph?this.graphManager.remove(a):a.source.owner.remove(a);if(-1==(o=this.nodes.indexOf(t)))throw"Node not in owner node list!";this.nodes.splice(o,1)}else if(e instanceof l){var a;if(null==(a=e))throw"Edge is null!";if(null==a.source||null==a.target)throw"Source and/or target is null!";if(null==a.source.owner||null==a.target.owner||a.source.owner!=this||a.target.owner!=this)throw"Source and/or target owner is invalid!";var o,u=a.source.edges.indexOf(a),c=a.target.edges.indexOf(a);if(!(u>-1&&c>-1))throw"Source and/or target doesn't know this edge!";if(a.source.edges.splice(u,1),a.target!=a.source&&a.target.edges.splice(c,1),-1==(o=a.source.owner.getEdges().indexOf(a)))throw"Not in owner's edge list!";a.source.owner.getEdges().splice(o,1)}},d.prototype.updateLeftTop=function(){for(var e,t,n,r=i.MAX_VALUE,a=i.MAX_VALUE,o=this.getNodes(),s=o.length,l=0;l<s;l++){var u=o[l];r>(e=u.getTop())&&(r=e),a>(t=u.getLeft())&&(a=t)}return r==i.MAX_VALUE?null:(n=null!=o[0].getParent().paddingLeft?o[0].getParent().paddingLeft:this.margin,this.left=a-n,this.top=r-n,new c(this.left,this.top))},d.prototype.updateBounds=function(e){for(var t,n,r,a,o,s=i.MAX_VALUE,l=-i.MAX_VALUE,c=i.MAX_VALUE,h=-i.MAX_VALUE,d=this.nodes,p=d.length,g=0;g<p;g++){var f=d[g];e&&null!=f.child&&f.updateBounds(),s>(t=f.getLeft())&&(s=t),l<(n=f.getRight())&&(l=n),c>(r=f.getTop())&&(c=r),h<(a=f.getBottom())&&(h=a)}var v=new u(s,c,l-s,h-c);s==i.MAX_VALUE&&(this.left=this.parent.getLeft(),this.right=this.parent.getRight(),this.top=this.parent.getTop(),this.bottom=this.parent.getBottom()),o=null!=d[0].getParent().paddingLeft?d[0].getParent().paddingLeft:this.margin,this.left=v.x-o,this.right=v.x+v.width+o,this.top=v.y-o,this.bottom=v.y+v.height+o},d.calculateBounds=function(e){for(var t,n,r,a,o=i.MAX_VALUE,s=-i.MAX_VALUE,l=i.MAX_VALUE,c=-i.MAX_VALUE,h=e.length,d=0;d<h;d++){var p=e[d];o>(t=p.getLeft())&&(o=t),s<(n=p.getRight())&&(s=n),l>(r=p.getTop())&&(l=r),c<(a=p.getBottom())&&(c=a)}return new u(o,l,s-o,c-l)},d.prototype.getInclusionTreeDepth=function(){return this==this.graphManager.getRoot()?1:this.parent.getInclusionTreeDepth()},d.prototype.getEstimatedSize=function(){if(this.estimatedSize==i.MIN_VALUE)throw"assert failed";return this.estimatedSize},d.prototype.calcEstimatedSize=function(){for(var e=0,t=this.nodes,n=t.length,r=0;r<n;r++)e+=t[r].calcEstimatedSize();return this.estimatedSize=0==e?a.EMPTY_COMPOUND_NODE_SIZE:e/Math.sqrt(this.nodes.length),this.estimatedSize},d.prototype.updateConnected=function(){var e=this;if(0!=this.nodes.length){var t,n,r=new h,i=new Set,a=this.nodes[0];for(a.withChildren().forEach((function(e){r.push(e),i.add(e)}));0!==r.length;)for(var o=(t=(a=r.shift()).getEdges()).length,s=0;s<o;s++)null==(n=t[s].getOtherEndInGraph(a,this))||i.has(n)||n.withChildren().forEach((function(e){r.push(e),i.add(e)}));if(this.isConnected=!1,i.size>=this.nodes.length){var l=0;i.forEach((function(t){t.owner==e&&l++})),l==this.nodes.length&&(this.isConnected=!0)}}else this.isConnected=!0},e.exports=d}, +/* 6 */ +/***/ +function(e,t,n){var r,i=n(1);function a(e){r=n(5),this.layout=e,this.graphs=[],this.edges=[]}a.prototype.addRoot=function(){var e=this.layout.newGraph(),t=this.layout.newNode(null),n=this.add(e,t);return this.setRootGraph(n),this.rootGraph},a.prototype.add=function(e,t,n,r,i){if(null==n&&null==r&&null==i){if(null==e)throw"Graph is null!";if(null==t)throw"Parent node is null!";if(this.graphs.indexOf(e)>-1)throw"Graph already in this graph mgr!";if(this.graphs.push(e),null!=e.parent)throw"Already has a parent!";if(null!=t.child)throw"Already has a child!";return e.parent=t,t.child=e,e}i=n,n=e;var a=(r=t).getOwner(),o=i.getOwner();if(null==a||a.getGraphManager()!=this)throw"Source not in this graph mgr!";if(null==o||o.getGraphManager()!=this)throw"Target not in this graph mgr!";if(a==o)return n.isInterGraph=!1,a.add(n,r,i);if(n.isInterGraph=!0,n.source=r,n.target=i,this.edges.indexOf(n)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(n),null==n.source||null==n.target)throw"Edge source and/or target is null!";if(-1!=n.source.edges.indexOf(n)||-1!=n.target.edges.indexOf(n))throw"Edge already in source and/or target incidency list!";return n.source.edges.push(n),n.target.edges.push(n),n},a.prototype.remove=function(e){if(e instanceof r){var t=e;if(t.getGraphManager()!=this)throw"Graph not in this graph mgr";if(t!=this.rootGraph&&(null==t.parent||t.parent.graphManager!=this))throw"Invalid parent node!";for(var n,a=[],o=(a=a.concat(t.getEdges())).length,s=0;s<o;s++)n=a[s],t.remove(n);var l,u=[];for(o=(u=u.concat(t.getNodes())).length,s=0;s<o;s++)l=u[s],t.remove(l);t==this.rootGraph&&this.setRootGraph(null);var c=this.graphs.indexOf(t);this.graphs.splice(c,1),t.parent=null}else if(e instanceof i){if(null==(n=e))throw"Edge is null!";if(!n.isInterGraph)throw"Not an inter-graph edge!";if(null==n.source||null==n.target)throw"Source and/or target is null!";if(-1==n.source.edges.indexOf(n)||-1==n.target.edges.indexOf(n))throw"Source and/or target doesn't know this edge!";if(c=n.source.edges.indexOf(n),n.source.edges.splice(c,1),c=n.target.edges.indexOf(n),n.target.edges.splice(c,1),null==n.source.owner||null==n.source.owner.getGraphManager())throw"Edge owner graph or owner graph manager is null!";if(-1==n.source.owner.getGraphManager().edges.indexOf(n))throw"Not in owner graph manager's edge list!";c=n.source.owner.getGraphManager().edges.indexOf(n),n.source.owner.getGraphManager().edges.splice(c,1)}},a.prototype.updateBounds=function(){this.rootGraph.updateBounds(!0)},a.prototype.getGraphs=function(){return this.graphs},a.prototype.getAllNodes=function(){if(null==this.allNodes){for(var e=[],t=this.getGraphs(),n=t.length,r=0;r<n;r++)e=e.concat(t[r].getNodes());this.allNodes=e}return this.allNodes},a.prototype.resetAllNodes=function(){this.allNodes=null},a.prototype.resetAllEdges=function(){this.allEdges=null},a.prototype.resetAllNodesToApplyGravitation=function(){this.allNodesToApplyGravitation=null},a.prototype.getAllEdges=function(){if(null==this.allEdges){var e=[],t=this.getGraphs();t.length;for(var n=0;n<t.length;n++)e=e.concat(t[n].getEdges());e=e.concat(this.edges),this.allEdges=e}return this.allEdges},a.prototype.getAllNodesToApplyGravitation=function(){return this.allNodesToApplyGravitation},a.prototype.setAllNodesToApplyGravitation=function(e){if(null!=this.allNodesToApplyGravitation)throw"assert failed";this.allNodesToApplyGravitation=e},a.prototype.getRoot=function(){return this.rootGraph},a.prototype.setRootGraph=function(e){if(e.getGraphManager()!=this)throw"Root not in this graph mgr!";this.rootGraph=e,null==e.parent&&(e.parent=this.layout.newNode("Root node"))},a.prototype.getLayout=function(){return this.layout},a.prototype.isOneAncestorOfOther=function(e,t){if(null==e||null==t)throw"assert failed";if(e==t)return!0;for(var n,r=e.getOwner();null!=(n=r.getParent());){if(n==t)return!0;if(null==(r=n.getOwner()))break}for(r=t.getOwner();null!=(n=r.getParent());){if(n==e)return!0;if(null==(r=n.getOwner()))break}return!1},a.prototype.calcLowestCommonAncestors=function(){for(var e,t,n,r,i,a=this.getAllEdges(),o=a.length,s=0;s<o;s++)if(t=(e=a[s]).source,n=e.target,e.lca=null,e.sourceInLca=t,e.targetInLca=n,t!=n){for(r=t.getOwner();null==e.lca;){for(e.targetInLca=n,i=n.getOwner();null==e.lca;){if(i==r){e.lca=i;break}if(i==this.rootGraph)break;if(null!=e.lca)throw"assert failed";e.targetInLca=i.getParent(),i=e.targetInLca.getOwner()}if(r==this.rootGraph)break;null==e.lca&&(e.sourceInLca=r.getParent(),r=e.sourceInLca.getOwner())}if(null==e.lca)throw"assert failed"}else e.lca=t.getOwner()},a.prototype.calcLowestCommonAncestor=function(e,t){if(e==t)return e.getOwner();for(var n=e.getOwner();null!=n;){for(var r=t.getOwner();null!=r;){if(r==n)return r;r=r.getParent().getOwner()}n=n.getParent().getOwner()}return n},a.prototype.calcInclusionTreeDepths=function(e,t){var n;null==e&&null==t&&(e=this.rootGraph,t=1);for(var r=e.getNodes(),i=r.length,a=0;a<i;a++)(n=r[a]).inclusionTreeDepth=t,null!=n.child&&this.calcInclusionTreeDepths(n.child,t+1)},a.prototype.includesInvalidEdge=function(){for(var e,t=this.edges.length,n=0;n<t;n++)if(e=this.edges[n],this.isOneAncestorOfOther(e.source,e.target))return!0;return!1},e.exports=a}, +/* 7 */ +/***/ +function(e,t,n){var r=n(0);function i(){}for(var a in r)i[a]=r[a];i.MAX_ITERATIONS=2500,i.DEFAULT_EDGE_LENGTH=50,i.DEFAULT_SPRING_STRENGTH=.45,i.DEFAULT_REPULSION_STRENGTH=4500,i.DEFAULT_GRAVITY_STRENGTH=.4,i.DEFAULT_COMPOUND_GRAVITY_STRENGTH=1,i.DEFAULT_GRAVITY_RANGE_FACTOR=3.8,i.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=1.5,i.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION=!0,i.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION=!0,i.DEFAULT_COOLING_FACTOR_INCREMENTAL=.3,i.COOLING_ADAPTATION_FACTOR=.33,i.ADAPTATION_LOWER_NODE_LIMIT=1e3,i.ADAPTATION_UPPER_NODE_LIMIT=5e3,i.MAX_NODE_DISPLACEMENT_INCREMENTAL=100,i.MAX_NODE_DISPLACEMENT=3*i.MAX_NODE_DISPLACEMENT_INCREMENTAL,i.MIN_REPULSION_DIST=i.DEFAULT_EDGE_LENGTH/10,i.CONVERGENCE_CHECK_PERIOD=100,i.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=.1,i.MIN_EDGE_LENGTH=1,i.GRID_CALCULATION_CHECK_PERIOD=10,e.exports=i}, +/* 8 */ +/***/ +function(e,t,n){var r=n(12);function i(){}i.calcSeparationAmount=function(e,t,n,r){if(!e.intersects(t))throw"assert failed";var i=new Array(2);this.decideDirectionsForOverlappingNodes(e,t,i),n[0]=Math.min(e.getRight(),t.getRight())-Math.max(e.x,t.x),n[1]=Math.min(e.getBottom(),t.getBottom())-Math.max(e.y,t.y),e.getX()<=t.getX()&&e.getRight()>=t.getRight()?n[0]+=Math.min(t.getX()-e.getX(),e.getRight()-t.getRight()):t.getX()<=e.getX()&&t.getRight()>=e.getRight()&&(n[0]+=Math.min(e.getX()-t.getX(),t.getRight()-e.getRight())),e.getY()<=t.getY()&&e.getBottom()>=t.getBottom()?n[1]+=Math.min(t.getY()-e.getY(),e.getBottom()-t.getBottom()):t.getY()<=e.getY()&&t.getBottom()>=e.getBottom()&&(n[1]+=Math.min(e.getY()-t.getY(),t.getBottom()-e.getBottom()));var a=Math.abs((t.getCenterY()-e.getCenterY())/(t.getCenterX()-e.getCenterX()));t.getCenterY()===e.getCenterY()&&t.getCenterX()===e.getCenterX()&&(a=1);var o=a*n[0],s=n[1]/a;n[0]<s?s=n[0]:o=n[1],n[0]=-1*i[0]*(s/2+r),n[1]=-1*i[1]*(o/2+r)},i.decideDirectionsForOverlappingNodes=function(e,t,n){e.getCenterX()<t.getCenterX()?n[0]=-1:n[0]=1,e.getCenterY()<t.getCenterY()?n[1]=-1:n[1]=1},i.getIntersection2=function(e,t,n){var r=e.getCenterX(),i=e.getCenterY(),a=t.getCenterX(),o=t.getCenterY();if(e.intersects(t))return n[0]=r,n[1]=i,n[2]=a,n[3]=o,!0;var s=e.getX(),l=e.getY(),u=e.getRight(),c=e.getX(),h=e.getBottom(),d=e.getRight(),p=e.getWidthHalf(),g=e.getHeightHalf(),f=t.getX(),v=t.getY(),y=t.getRight(),m=t.getX(),b=t.getBottom(),x=t.getRight(),w=t.getWidthHalf(),E=t.getHeightHalf(),T=!1,_=!1;if(r===a){if(i>o)return n[0]=r,n[1]=l,n[2]=a,n[3]=b,!1;if(i<o)return n[0]=r,n[1]=h,n[2]=a,n[3]=v,!1}else if(i===o){if(r>a)return n[0]=s,n[1]=i,n[2]=y,n[3]=o,!1;if(r<a)return n[0]=u,n[1]=i,n[2]=f,n[3]=o,!1}else{var A=e.height/e.width,C=t.height/t.width,D=(o-i)/(a-r),N=void 0,S=void 0,L=void 0,P=void 0,I=void 0,k=void 0;if(-A===D?r>a?(n[0]=c,n[1]=h,T=!0):(n[0]=u,n[1]=l,T=!0):A===D&&(r>a?(n[0]=s,n[1]=l,T=!0):(n[0]=d,n[1]=h,T=!0)),-C===D?a>r?(n[2]=m,n[3]=b,_=!0):(n[2]=y,n[3]=v,_=!0):C===D&&(a>r?(n[2]=f,n[3]=v,_=!0):(n[2]=x,n[3]=b,_=!0)),T&&_)return!1;if(r>a?i>o?(N=this.getCardinalDirection(A,D,4),S=this.getCardinalDirection(C,D,2)):(N=this.getCardinalDirection(-A,D,3),S=this.getCardinalDirection(-C,D,1)):i>o?(N=this.getCardinalDirection(-A,D,1),S=this.getCardinalDirection(-C,D,3)):(N=this.getCardinalDirection(A,D,2),S=this.getCardinalDirection(C,D,4)),!T)switch(N){case 1:P=l,L=r+-g/D,n[0]=L,n[1]=P;break;case 2:L=d,P=i+p*D,n[0]=L,n[1]=P;break;case 3:P=h,L=r+g/D,n[0]=L,n[1]=P;break;case 4:L=c,P=i+-p*D,n[0]=L,n[1]=P}if(!_)switch(S){case 1:k=v,I=a+-E/D,n[2]=I,n[3]=k;break;case 2:I=x,k=o+w*D,n[2]=I,n[3]=k;break;case 3:k=b,I=a+E/D,n[2]=I,n[3]=k;break;case 4:I=m,k=o+-w*D,n[2]=I,n[3]=k}}return!1},i.getCardinalDirection=function(e,t,n){return e>t?n:1+n%4},i.getIntersection=function(e,t,n,i){if(null==i)return this.getIntersection2(e,t,n);var a,o,s,l,u,c,h,d=e.x,p=e.y,g=t.x,f=t.y,v=n.x,y=n.y,m=i.x,b=i.y;return 0==(h=(a=f-p)*(l=v-m)-(o=b-y)*(s=d-g))?null:new r((s*(c=m*y-v*b)-l*(u=g*p-d*f))/h,(o*u-a*c)/h)},i.angleOfVector=function(e,t,n,r){var i=void 0;return e!==n?(i=Math.atan((r-t)/(n-e)),n<e?i+=Math.PI:r<t&&(i+=this.TWO_PI)):i=r<t?this.ONE_AND_HALF_PI:this.HALF_PI,i},i.doIntersect=function(e,t,n,r){var i=e.x,a=e.y,o=t.x,s=t.y,l=n.x,u=n.y,c=r.x,h=r.y,d=(o-i)*(h-u)-(c-l)*(s-a);if(0===d)return!1;var p=((h-u)*(c-i)+(l-c)*(h-a))/d,g=((a-s)*(c-i)+(o-i)*(h-a))/d;return 0<p&&p<1&&0<g&&g<1},i.HALF_PI=.5*Math.PI,i.ONE_AND_HALF_PI=1.5*Math.PI,i.TWO_PI=2*Math.PI,i.THREE_PI=3*Math.PI,e.exports=i}, +/* 9 */ +/***/ +function(e,t,n){function r(){}r.sign=function(e){return e>0?1:e<0?-1:0},r.floor=function(e){return e<0?Math.ceil(e):Math.floor(e)},r.ceil=function(e){return e<0?Math.floor(e):Math.ceil(e)},e.exports=r}, +/* 10 */ +/***/ +function(e,t,n){function r(){}r.MAX_VALUE=2147483647,r.MIN_VALUE=-2147483648,e.exports=r}, +/* 11 */ +/***/ +function(e,t,n){var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function(e){return{value:e,next:null,prev:null}},a=function(e,t,n,r){return null!==e?e.next=t:r.head=t,null!==n?n.prev=t:r.tail=t,t.prev=e,t.next=n,r.length++,t},o=function(e,t){var n=e.prev,r=e.next;return null!==n?n.next=r:t.head=r,null!==r?r.prev=n:t.tail=n,e.prev=e.next=null,t.length--,e},s=function(){function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.length=0,this.head=null,this.tail=null,null!=t&&t.forEach((function(e){return n.push(e)}))}return r(e,[{key:"size",value:function(){return this.length}},{key:"insertBefore",value:function(e,t){return a(t.prev,i(e),t,this)}},{key:"insertAfter",value:function(e,t){return a(t,i(e),t.next,this)}},{key:"insertNodeBefore",value:function(e,t){return a(t.prev,e,t,this)}},{key:"insertNodeAfter",value:function(e,t){return a(t,e,t.next,this)}},{key:"push",value:function(e){return a(this.tail,i(e),null,this)}},{key:"unshift",value:function(e){return a(null,i(e),this.head,this)}},{key:"remove",value:function(e){return o(e,this)}},{key:"pop",value:function(){return o(this.tail,this).value}},{key:"popNode",value:function(){return o(this.tail,this)}},{key:"shift",value:function(){return o(this.head,this).value}},{key:"shiftNode",value:function(){return o(this.head,this)}},{key:"get_object_at",value:function(e){if(e<=this.length()){for(var t=1,n=this.head;t<e;)n=n.next,t++;return n.value}}},{key:"set_object_at",value:function(e,t){if(e<=this.length()){for(var n=1,r=this.head;n<e;)r=r.next,n++;r.value=t}}}]),e}();e.exports=s}, +/* 12 */ +/***/ +function(e,t,n){function r(e,t,n){this.x=null,this.y=null,null==e&&null==t&&null==n?(this.x=0,this.y=0):"number"==typeof e&&"number"==typeof t&&null==n?(this.x=e,this.y=t):"Point"==e.constructor.name&&null==t&&null==n&&(n=e,this.x=n.x,this.y=n.y)}r.prototype.getX=function(){return this.x},r.prototype.getY=function(){return this.y},r.prototype.getLocation=function(){return new r(this.x,this.y)},r.prototype.setLocation=function(e,t,n){"Point"==e.constructor.name&&null==t&&null==n?(n=e,this.setLocation(n.x,n.y)):"number"==typeof e&&"number"==typeof t&&null==n&&(parseInt(e)==e&&parseInt(t)==t?this.move(e,t):(this.x=Math.floor(e+.5),this.y=Math.floor(t+.5)))},r.prototype.move=function(e,t){this.x=e,this.y=t},r.prototype.translate=function(e,t){this.x+=e,this.y+=t},r.prototype.equals=function(e){if("Point"==e.constructor.name){var t=e;return this.x==t.x&&this.y==t.y}return this==e},r.prototype.toString=function(){return(new r).constructor.name+"[x="+this.x+",y="+this.y+"]"},e.exports=r}, +/* 13 */ +/***/ +function(e,t,n){function r(e,t,n,r){this.x=0,this.y=0,this.width=0,this.height=0,null!=e&&null!=t&&null!=n&&null!=r&&(this.x=e,this.y=t,this.width=n,this.height=r)}r.prototype.getX=function(){return this.x},r.prototype.setX=function(e){this.x=e},r.prototype.getY=function(){return this.y},r.prototype.setY=function(e){this.y=e},r.prototype.getWidth=function(){return this.width},r.prototype.setWidth=function(e){this.width=e},r.prototype.getHeight=function(){return this.height},r.prototype.setHeight=function(e){this.height=e},r.prototype.getRight=function(){return this.x+this.width},r.prototype.getBottom=function(){return this.y+this.height},r.prototype.intersects=function(e){return!(this.getRight()<e.x||this.getBottom()<e.y||e.getRight()<this.x||e.getBottom()<this.y)},r.prototype.getCenterX=function(){return this.x+this.width/2},r.prototype.getMinX=function(){return this.getX()},r.prototype.getMaxX=function(){return this.getX()+this.width},r.prototype.getCenterY=function(){return this.y+this.height/2},r.prototype.getMinY=function(){return this.getY()},r.prototype.getMaxY=function(){return this.getY()+this.height},r.prototype.getWidthHalf=function(){return this.width/2},r.prototype.getHeightHalf=function(){return this.height/2},e.exports=r}, +/* 14 */ +/***/ +function(e,t,n){var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function i(){}i.lastID=0,i.createID=function(e){return i.isPrimitive(e)?e:(null!=e.uniqueID||(e.uniqueID=i.getString(),i.lastID++),e.uniqueID)},i.getString=function(e){return null==e&&(e=i.lastID),"Object#"+e},i.isPrimitive=function(e){var t=void 0===e?"undefined":r(e);return null==e||"object"!=t&&"function"!=t},e.exports=i}, +/* 15 */ +/***/ +function(e,t,n){function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var i=n(0),a=n(6),o=n(3),s=n(1),l=n(5),u=n(4),c=n(17),h=n(27);function d(e){h.call(this),this.layoutQuality=i.QUALITY,this.createBendsAsNeeded=i.DEFAULT_CREATE_BENDS_AS_NEEDED,this.incremental=i.DEFAULT_INCREMENTAL,this.animationOnLayout=i.DEFAULT_ANIMATION_ON_LAYOUT,this.animationDuringLayout=i.DEFAULT_ANIMATION_DURING_LAYOUT,this.animationPeriod=i.DEFAULT_ANIMATION_PERIOD,this.uniformLeafNodeSizes=i.DEFAULT_UNIFORM_LEAF_NODE_SIZES,this.edgeToDummyNodes=new Map,this.graphManager=new a(this),this.isLayoutFinished=!1,this.isSubLayout=!1,this.isRemoteUse=!1,null!=e&&(this.isRemoteUse=e)}d.RANDOM_SEED=1,d.prototype=Object.create(h.prototype),d.prototype.getGraphManager=function(){return this.graphManager},d.prototype.getAllNodes=function(){return this.graphManager.getAllNodes()},d.prototype.getAllEdges=function(){return this.graphManager.getAllEdges()},d.prototype.getAllNodesToApplyGravitation=function(){return this.graphManager.getAllNodesToApplyGravitation()},d.prototype.newGraphManager=function(){var e=new a(this);return this.graphManager=e,e},d.prototype.newGraph=function(e){return new l(null,this.graphManager,e)},d.prototype.newNode=function(e){return new o(this.graphManager,e)},d.prototype.newEdge=function(e){return new s(null,null,e)},d.prototype.checkLayoutSuccess=function(){return null==this.graphManager.getRoot()||0==this.graphManager.getRoot().getNodes().length||this.graphManager.includesInvalidEdge()},d.prototype.runLayout=function(){var e;return this.isLayoutFinished=!1,this.tilingPreLayout&&this.tilingPreLayout(),this.initParameters(),e=!this.checkLayoutSuccess()&&this.layout(),"during"!==i.ANIMATE&&(e&&(this.isSubLayout||this.doPostLayout()),this.tilingPostLayout&&this.tilingPostLayout(),this.isLayoutFinished=!0,e)},d.prototype.doPostLayout=function(){this.incremental||this.transform(),this.update()},d.prototype.update2=function(){if(this.createBendsAsNeeded&&(this.createBendpointsFromDummyNodes(),this.graphManager.resetAllEdges()),!this.isRemoteUse){for(var e=this.graphManager.getAllEdges(),t=0;t<e.length;t++)e[t];var n=this.graphManager.getRoot().getNodes();for(t=0;t<n.length;t++)n[t];this.update(this.graphManager.getRoot())}},d.prototype.update=function(e){if(null==e)this.update2();else if(e instanceof o){var t=e;if(null!=t.getChild())for(var n=t.getChild().getNodes(),r=0;r<n.length;r++)update(n[r]);null!=t.vGraphObject&&t.vGraphObject.update(t)}else if(e instanceof s){var i=e;null!=i.vGraphObject&&i.vGraphObject.update(i)}else if(e instanceof l){var a=e;null!=a.vGraphObject&&a.vGraphObject.update(a)}},d.prototype.initParameters=function(){this.isSubLayout||(this.layoutQuality=i.QUALITY,this.animationDuringLayout=i.DEFAULT_ANIMATION_DURING_LAYOUT,this.animationPeriod=i.DEFAULT_ANIMATION_PERIOD,this.animationOnLayout=i.DEFAULT_ANIMATION_ON_LAYOUT,this.incremental=i.DEFAULT_INCREMENTAL,this.createBendsAsNeeded=i.DEFAULT_CREATE_BENDS_AS_NEEDED,this.uniformLeafNodeSizes=i.DEFAULT_UNIFORM_LEAF_NODE_SIZES),this.animationDuringLayout&&(this.animationOnLayout=!1)},d.prototype.transform=function(e){if(null==e)this.transform(new u(0,0));else{var t=new c,n=this.graphManager.getRoot().updateLeftTop();if(null!=n){t.setWorldOrgX(e.x),t.setWorldOrgY(e.y),t.setDeviceOrgX(n.x),t.setDeviceOrgY(n.y);for(var r=this.getAllNodes(),i=0;i<r.length;i++)r[i].transform(t)}}},d.prototype.positionNodesRandomly=function(e){if(null==e)this.positionNodesRandomly(this.getGraphManager().getRoot()),this.getGraphManager().getRoot().updateBounds(!0);else for(var t,n,r=e.getNodes(),i=0;i<r.length;i++)null==(n=(t=r[i]).getChild())||0==n.getNodes().length?t.scatter():(this.positionNodesRandomly(n),t.updateBounds())},d.prototype.getFlatForest=function(){for(var e=[],t=!0,n=this.graphManager.getRoot().getNodes(),i=!0,a=0;a<n.length;a++)null!=n[a].getChild()&&(i=!1);if(!i)return e;var o=new Set,s=[],l=new Map,u=[];for(u=u.concat(n);u.length>0&&t;){for(s.push(u[0]);s.length>0&&t;){var c=s[0];s.splice(0,1),o.add(c);var h=c.getEdges();for(a=0;a<h.length;a++){var d=h[a].getOtherEnd(c);if(l.get(c)!=d){if(o.has(d)){t=!1;break}s.push(d),l.set(d,c)}}}if(t){var p=[].concat(r(o));for(e.push(p),a=0;a<p.length;a++){var g=p[a],f=u.indexOf(g);f>-1&&u.splice(f,1)}o=new Set,l=new Map}else e=[]}return e},d.prototype.createDummyNodesForBendpoints=function(e){for(var t=[],n=e.source,r=this.graphManager.calcLowestCommonAncestor(e.source,e.target),i=0;i<e.bendpoints.length;i++){var a=this.newNode(null);a.setRect(new Point(0,0),new Dimension(1,1)),r.add(a);var o=this.newEdge(null);this.graphManager.add(o,n,a),t.add(a),n=a}return o=this.newEdge(null),this.graphManager.add(o,n,e.target),this.edgeToDummyNodes.set(e,t),e.isInterGraph()?this.graphManager.remove(e):r.remove(e),t},d.prototype.createBendpointsFromDummyNodes=function(){var e=[];e=e.concat(this.graphManager.getAllEdges()),e=[].concat(r(this.edgeToDummyNodes.keys())).concat(e);for(var t=0;t<e.length;t++){var n=e[t];if(n.bendpoints.length>0){for(var i=this.edgeToDummyNodes.get(n),a=0;a<i.length;a++){var o=i[a],s=new u(o.getCenterX(),o.getCenterY()),l=n.bendpoints.get(a);l.x=s.x,l.y=s.y,o.getOwner().remove(o)}this.graphManager.add(n,n.source,n.target)}}},d.transform=function(e,t,n,r){if(null!=n&&null!=r){var i=t;return e<=50?i-=(t-t/n)/50*(50-e):i+=(t*r-t)/50*(e-50),i}var a,o;return e<=50?(a=9*t/500,o=t/10):(a=9*t/50,o=-8*t),a*e+o},d.findCenterOfTree=function(e){var t=[];t=t.concat(e);var n=[],r=new Map,i=!1,a=null;1!=t.length&&2!=t.length||(i=!0,a=t[0]);for(var o=0;o<t.length;o++){var s=(c=t[o]).getNeighborsList().size;r.set(c,c.getNeighborsList().size),1==s&&n.push(c)}var l=[];for(l=l.concat(n);!i;){var u=[];for(u=u.concat(l),l=[],o=0;o<t.length;o++){var c=t[o],h=t.indexOf(c);h>=0&&t.splice(h,1),c.getNeighborsList().forEach((function(e){if(n.indexOf(e)<0){var t=r.get(e)-1;1==t&&l.push(e),r.set(e,t)}}))}n=n.concat(l),1!=t.length&&2!=t.length||(i=!0,a=t[0])}return a},d.prototype.setGraphManager=function(e){this.graphManager=e},e.exports=d}, +/* 16 */ +/***/ +function(e,t,n){function r(){}r.seed=1,r.x=0,r.nextDouble=function(){return r.x=1e4*Math.sin(r.seed++),r.x-Math.floor(r.x)},e.exports=r}, +/* 17 */ +/***/ +function(e,t,n){var r=n(4);function i(e,t){this.lworldOrgX=0,this.lworldOrgY=0,this.ldeviceOrgX=0,this.ldeviceOrgY=0,this.lworldExtX=1,this.lworldExtY=1,this.ldeviceExtX=1,this.ldeviceExtY=1}i.prototype.getWorldOrgX=function(){return this.lworldOrgX},i.prototype.setWorldOrgX=function(e){this.lworldOrgX=e},i.prototype.getWorldOrgY=function(){return this.lworldOrgY},i.prototype.setWorldOrgY=function(e){this.lworldOrgY=e},i.prototype.getWorldExtX=function(){return this.lworldExtX},i.prototype.setWorldExtX=function(e){this.lworldExtX=e},i.prototype.getWorldExtY=function(){return this.lworldExtY},i.prototype.setWorldExtY=function(e){this.lworldExtY=e},i.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},i.prototype.setDeviceOrgX=function(e){this.ldeviceOrgX=e},i.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},i.prototype.setDeviceOrgY=function(e){this.ldeviceOrgY=e},i.prototype.getDeviceExtX=function(){return this.ldeviceExtX},i.prototype.setDeviceExtX=function(e){this.ldeviceExtX=e},i.prototype.getDeviceExtY=function(){return this.ldeviceExtY},i.prototype.setDeviceExtY=function(e){this.ldeviceExtY=e},i.prototype.transformX=function(e){var t=0,n=this.lworldExtX;return 0!=n&&(t=this.ldeviceOrgX+(e-this.lworldOrgX)*this.ldeviceExtX/n),t},i.prototype.transformY=function(e){var t=0,n=this.lworldExtY;return 0!=n&&(t=this.ldeviceOrgY+(e-this.lworldOrgY)*this.ldeviceExtY/n),t},i.prototype.inverseTransformX=function(e){var t=0,n=this.ldeviceExtX;return 0!=n&&(t=this.lworldOrgX+(e-this.ldeviceOrgX)*this.lworldExtX/n),t},i.prototype.inverseTransformY=function(e){var t=0,n=this.ldeviceExtY;return 0!=n&&(t=this.lworldOrgY+(e-this.ldeviceOrgY)*this.lworldExtY/n),t},i.prototype.inverseTransformPoint=function(e){return new r(this.inverseTransformX(e.x),this.inverseTransformY(e.y))},e.exports=i}, +/* 18 */ +/***/ +function(e,t,n){var r=n(15),i=n(7),a=n(0),o=n(8),s=n(9);function l(){r.call(this),this.useSmartIdealEdgeLengthCalculation=i.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.idealEdgeLength=i.DEFAULT_EDGE_LENGTH,this.springConstant=i.DEFAULT_SPRING_STRENGTH,this.repulsionConstant=i.DEFAULT_REPULSION_STRENGTH,this.gravityConstant=i.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=i.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=i.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=i.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.displacementThresholdPerNode=3*i.DEFAULT_EDGE_LENGTH/100,this.coolingFactor=i.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.initialCoolingFactor=i.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.totalDisplacement=0,this.oldTotalDisplacement=0,this.maxIterations=i.MAX_ITERATIONS}for(var u in l.prototype=Object.create(r.prototype),r)l[u]=r[u];l.prototype.initParameters=function(){r.prototype.initParameters.call(this,arguments),this.totalIterations=0,this.notAnimatedIterations=0,this.useFRGridVariant=i.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION,this.grid=[]},l.prototype.calcIdealEdgeLengths=function(){for(var e,t,n,r,o,s,l=this.getGraphManager().getAllEdges(),u=0;u<l.length;u++)(e=l[u]).idealLength=this.idealEdgeLength,e.isInterGraph&&(n=e.getSource(),r=e.getTarget(),o=e.getSourceInLca().getEstimatedSize(),s=e.getTargetInLca().getEstimatedSize(),this.useSmartIdealEdgeLengthCalculation&&(e.idealLength+=o+s-2*a.SIMPLE_NODE_SIZE),t=e.getLca().getInclusionTreeDepth(),e.idealLength+=i.DEFAULT_EDGE_LENGTH*i.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR*(n.getInclusionTreeDepth()+r.getInclusionTreeDepth()-2*t))},l.prototype.initSpringEmbedder=function(){var e=this.getAllNodes().length;this.incremental?(e>i.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*i.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(e-i.ADAPTATION_LOWER_NODE_LIMIT)/(i.ADAPTATION_UPPER_NODE_LIMIT-i.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-i.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=i.MAX_NODE_DISPLACEMENT_INCREMENTAL):(e>i.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(i.COOLING_ADAPTATION_FACTOR,1-(e-i.ADAPTATION_LOWER_NODE_LIMIT)/(i.ADAPTATION_UPPER_NODE_LIMIT-i.ADAPTATION_LOWER_NODE_LIMIT)*(1-i.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=i.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(5*this.getAllNodes().length,this.maxIterations),this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},l.prototype.calcSpringForces=function(){for(var e,t=this.getAllEdges(),n=0;n<t.length;n++)e=t[n],this.calcSpringForce(e,e.idealLength)},l.prototype.calcRepulsionForces=function(){var e,t,n,r,a,o=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],s=arguments.length>1&&void 0!==arguments[1]&&arguments[1],l=this.getAllNodes();if(this.useFRGridVariant)for(this.totalIterations%i.GRID_CALCULATION_CHECK_PERIOD==1&&o&&this.updateGrid(),a=new Set,e=0;e<l.length;e++)n=l[e],this.calculateRepulsionForceOfANode(n,a,o,s),a.add(n);else for(e=0;e<l.length;e++)for(n=l[e],t=e+1;t<l.length;t++)r=l[t],n.getOwner()==r.getOwner()&&this.calcRepulsionForce(n,r)},l.prototype.calcGravitationalForces=function(){for(var e,t=this.getAllNodesToApplyGravitation(),n=0;n<t.length;n++)e=t[n],this.calcGravitationalForce(e)},l.prototype.moveNodes=function(){for(var e=this.getAllNodes(),t=0;t<e.length;t++)e[t].move()},l.prototype.calcSpringForce=function(e,t){var n,r,i,a,o=e.getSource(),s=e.getTarget();if(this.uniformLeafNodeSizes&&null==o.getChild()&&null==s.getChild())e.updateLengthSimple();else if(e.updateLength(),e.isOverlapingSourceAndTarget)return;0!=(n=e.getLength())&&(i=(r=this.springConstant*(n-t))*(e.lengthX/n),a=r*(e.lengthY/n),o.springForceX+=i,o.springForceY+=a,s.springForceX-=i,s.springForceY-=a)},l.prototype.calcRepulsionForce=function(e,t){var n,r,a,l,u,c,h,d=e.getRect(),p=t.getRect(),g=new Array(2),f=new Array(4);if(d.intersects(p)){o.calcSeparationAmount(d,p,g,i.DEFAULT_EDGE_LENGTH/2),c=2*g[0],h=2*g[1];var v=e.noOfChildren*t.noOfChildren/(e.noOfChildren+t.noOfChildren);e.repulsionForceX-=v*c,e.repulsionForceY-=v*h,t.repulsionForceX+=v*c,t.repulsionForceY+=v*h}else this.uniformLeafNodeSizes&&null==e.getChild()&&null==t.getChild()?(n=p.getCenterX()-d.getCenterX(),r=p.getCenterY()-d.getCenterY()):(o.getIntersection(d,p,f),n=f[2]-f[0],r=f[3]-f[1]),Math.abs(n)<i.MIN_REPULSION_DIST&&(n=s.sign(n)*i.MIN_REPULSION_DIST),Math.abs(r)<i.MIN_REPULSION_DIST&&(r=s.sign(r)*i.MIN_REPULSION_DIST),a=n*n+r*r,l=Math.sqrt(a),c=(u=this.repulsionConstant*e.noOfChildren*t.noOfChildren/a)*n/l,h=u*r/l,e.repulsionForceX-=c,e.repulsionForceY-=h,t.repulsionForceX+=c,t.repulsionForceY+=h},l.prototype.calcGravitationalForce=function(e){var t,n,r,i,a,o,s,l;n=((t=e.getOwner()).getRight()+t.getLeft())/2,r=(t.getTop()+t.getBottom())/2,i=e.getCenterX()-n,a=e.getCenterY()-r,o=Math.abs(i)+e.getWidth()/2,s=Math.abs(a)+e.getHeight()/2,e.getOwner()==this.graphManager.getRoot()?(o>(l=t.getEstimatedSize()*this.gravityRangeFactor)||s>l)&&(e.gravitationForceX=-this.gravityConstant*i,e.gravitationForceY=-this.gravityConstant*a):(o>(l=t.getEstimatedSize()*this.compoundGravityRangeFactor)||s>l)&&(e.gravitationForceX=-this.gravityConstant*i*this.compoundGravityConstant,e.gravitationForceY=-this.gravityConstant*a*this.compoundGravityConstant)},l.prototype.isConverged=function(){var e,t=!1;return this.totalIterations>this.maxIterations/3&&(t=Math.abs(this.totalDisplacement-this.oldTotalDisplacement)<2),e=this.totalDisplacement<this.totalDisplacementThreshold,this.oldTotalDisplacement=this.totalDisplacement,e||t},l.prototype.animate=function(){this.animationDuringLayout&&!this.isSubLayout&&(this.notAnimatedIterations==this.animationPeriod?(this.update(),this.notAnimatedIterations=0):this.notAnimatedIterations++)},l.prototype.calcNoOfChildrenForAllNodes=function(){for(var e,t=this.graphManager.getAllNodes(),n=0;n<t.length;n++)(e=t[n]).noOfChildren=e.getNoOfChildren()},l.prototype.calcGrid=function(e){var t,n;t=parseInt(Math.ceil((e.getRight()-e.getLeft())/this.repulsionRange)),n=parseInt(Math.ceil((e.getBottom()-e.getTop())/this.repulsionRange));for(var r=new Array(t),i=0;i<t;i++)r[i]=new Array(n);for(i=0;i<t;i++)for(var a=0;a<n;a++)r[i][a]=new Array;return r},l.prototype.addNodeToGrid=function(e,t,n){var r,i,a,o;r=parseInt(Math.floor((e.getRect().x-t)/this.repulsionRange)),i=parseInt(Math.floor((e.getRect().width+e.getRect().x-t)/this.repulsionRange)),a=parseInt(Math.floor((e.getRect().y-n)/this.repulsionRange)),o=parseInt(Math.floor((e.getRect().height+e.getRect().y-n)/this.repulsionRange));for(var s=r;s<=i;s++)for(var l=a;l<=o;l++)this.grid[s][l].push(e),e.setGridCoordinates(r,i,a,o)},l.prototype.updateGrid=function(){var e,t,n=this.getAllNodes();for(this.grid=this.calcGrid(this.graphManager.getRoot()),e=0;e<n.length;e++)t=n[e],this.addNodeToGrid(t,this.graphManager.getRoot().getLeft(),this.graphManager.getRoot().getTop())},l.prototype.calculateRepulsionForceOfANode=function(e,t,n,r){if(this.totalIterations%i.GRID_CALCULATION_CHECK_PERIOD==1&&n||r){var a,o=new Set;e.surrounding=new Array;for(var s=this.grid,l=e.startX-1;l<e.finishX+2;l++)for(var u=e.startY-1;u<e.finishY+2;u++)if(!(l<0||u<0||l>=s.length||u>=s[0].length))for(var c=0;c<s[l][u].length;c++)if(a=s[l][u][c],e.getOwner()==a.getOwner()&&e!=a&&!t.has(a)&&!o.has(a)){var h=Math.abs(e.getCenterX()-a.getCenterX())-(e.getWidth()/2+a.getWidth()/2),d=Math.abs(e.getCenterY()-a.getCenterY())-(e.getHeight()/2+a.getHeight()/2);h<=this.repulsionRange&&d<=this.repulsionRange&&o.add(a)}e.surrounding=[].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(o))}for(l=0;l<e.surrounding.length;l++)this.calcRepulsionForce(e,e.surrounding[l])},l.prototype.calcRepulsionRange=function(){return 0},e.exports=l}, +/* 19 */ +/***/ +function(e,t,n){var r=n(1),i=n(7);function a(e,t,n){r.call(this,e,t,n),this.idealLength=i.DEFAULT_EDGE_LENGTH}for(var o in a.prototype=Object.create(r.prototype),r)a[o]=r[o];e.exports=a}, +/* 20 */ +/***/ +function(e,t,n){var r=n(3);function i(e,t,n,i){r.call(this,e,t,n,i),this.springForceX=0,this.springForceY=0,this.repulsionForceX=0,this.repulsionForceY=0,this.gravitationForceX=0,this.gravitationForceY=0,this.displacementX=0,this.displacementY=0,this.startX=0,this.finishX=0,this.startY=0,this.finishY=0,this.surrounding=[]}for(var a in i.prototype=Object.create(r.prototype),r)i[a]=r[a];i.prototype.setGridCoordinates=function(e,t,n,r){this.startX=e,this.finishX=t,this.startY=n,this.finishY=r},e.exports=i}, +/* 21 */ +/***/ +function(e,t,n){function r(e,t){this.width=0,this.height=0,null!==e&&null!==t&&(this.height=t,this.width=e)}r.prototype.getWidth=function(){return this.width},r.prototype.setWidth=function(e){this.width=e},r.prototype.getHeight=function(){return this.height},r.prototype.setHeight=function(e){this.height=e},e.exports=r}, +/* 22 */ +/***/ +function(e,t,n){var r=n(14);function i(){this.map={},this.keys=[]}i.prototype.put=function(e,t){var n=r.createID(e);this.contains(n)||(this.map[n]=t,this.keys.push(e))},i.prototype.contains=function(e){return r.createID(e),null!=this.map[e]},i.prototype.get=function(e){var t=r.createID(e);return this.map[t]},i.prototype.keySet=function(){return this.keys},e.exports=i}, +/* 23 */ +/***/ +function(e,t,n){var r=n(14);function i(){this.set={}}i.prototype.add=function(e){var t=r.createID(e);this.contains(t)||(this.set[t]=e)},i.prototype.remove=function(e){delete this.set[r.createID(e)]},i.prototype.clear=function(){this.set={}},i.prototype.contains=function(e){return this.set[r.createID(e)]==e},i.prototype.isEmpty=function(){return 0===this.size()},i.prototype.size=function(){return Object.keys(this.set).length},i.prototype.addAllTo=function(e){for(var t=Object.keys(this.set),n=t.length,r=0;r<n;r++)e.push(this.set[t[r]])},i.prototype.size=function(){return Object.keys(this.set).length},i.prototype.addAll=function(e){for(var t=e.length,n=0;n<t;n++){var r=e[n];this.add(r)}},e.exports=i}, +/* 24 */ +/***/ +function(e,t,n){var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(11),a=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),null===n&&void 0===n||(this.compareFunction=this._defaultCompareFunction);var r=void 0;r=t instanceof i?t.size():t.length,this._quicksort(t,0,r-1)}return r(e,[{key:"_quicksort",value:function(e,t,n){if(t<n){var r=this._partition(e,t,n);this._quicksort(e,t,r),this._quicksort(e,r+1,n)}}},{key:"_partition",value:function(e,t,n){for(var r=this._get(e,t),i=t,a=n;;){for(;this.compareFunction(r,this._get(e,a));)a--;for(;this.compareFunction(this._get(e,i),r);)i++;if(!(i<a))return a;this._swap(e,i,a),i++,a--}}},{key:"_get",value:function(e,t){return e instanceof i?e.get_object_at(t):e[t]}},{key:"_set",value:function(e,t,n){e instanceof i?e.set_object_at(t,n):e[t]=n}},{key:"_swap",value:function(e,t,n){var r=this._get(e,t);this._set(e,t,this._get(e,n)),this._set(e,n,r)}},{key:"_defaultCompareFunction",value:function(e,t){return t>e}}]),e}();e.exports=a}, +/* 25 */ +/***/ +function(e,t,n){var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:-1,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.sequence1=t,this.sequence2=n,this.match_score=r,this.mismatch_penalty=i,this.gap_penalty=a,this.iMax=t.length+1,this.jMax=n.length+1,this.grid=new Array(this.iMax);for(var o=0;o<this.iMax;o++){this.grid[o]=new Array(this.jMax);for(var s=0;s<this.jMax;s++)this.grid[o][s]=0}this.tracebackGrid=new Array(this.iMax);for(var l=0;l<this.iMax;l++){this.tracebackGrid[l]=new Array(this.jMax);for(var u=0;u<this.jMax;u++)this.tracebackGrid[l][u]=[null,null,null]}this.alignments=[],this.score=-1,this.computeGrids()}return r(e,[{key:"getScore",value:function(){return this.score}},{key:"getAlignments",value:function(){return this.alignments} +// Main dynamic programming procedure +},{key:"computeGrids",value:function(){for(var e=1;e<this.jMax;e++)this.grid[0][e]=this.grid[0][e-1]+this.gap_penalty,this.tracebackGrid[0][e]=[!1,!1,!0];for(var t=1;t<this.iMax;t++)this.grid[t][0]=this.grid[t-1][0]+this.gap_penalty,this.tracebackGrid[t][0]=[!1,!0,!1];for(var n=1;n<this.iMax;n++)for(var r=1;r<this.jMax;r++){var i=[this.sequence1[n-1]===this.sequence2[r-1]?this.grid[n-1][r-1]+this.match_score:this.grid[n-1][r-1]+this.mismatch_penalty,this.grid[n-1][r]+this.gap_penalty,this.grid[n][r-1]+this.gap_penalty],a=this.arrayAllMaxIndexes(i);this.grid[n][r]=i[a[0]],this.tracebackGrid[n][r]=[a.includes(0),a.includes(1),a.includes(2)]}this.score=this.grid[this.iMax-1][this.jMax-1]} +// Gets all possible valid sequence combinations +},{key:"alignmentTraceback",value:function(){var e=[];for(e.push({pos:[this.sequence1.length,this.sequence2.length],seq1:"",seq2:""});e[0];){var t=e[0],n=this.tracebackGrid[t.pos[0]][t.pos[1]];n[0]&&e.push({pos:[t.pos[0]-1,t.pos[1]-1],seq1:this.sequence1[t.pos[0]-1]+t.seq1,seq2:this.sequence2[t.pos[1]-1]+t.seq2}),n[1]&&e.push({pos:[t.pos[0]-1,t.pos[1]],seq1:this.sequence1[t.pos[0]-1]+t.seq1,seq2:"-"+t.seq2}),n[2]&&e.push({pos:[t.pos[0],t.pos[1]-1],seq1:"-"+t.seq1,seq2:this.sequence2[t.pos[1]-1]+t.seq2}),0===t.pos[0]&&0===t.pos[1]&&this.alignments.push({sequence1:t.seq1,sequence2:t.seq2}),e.shift()}return this.alignments} +// Helper Functions +},{key:"getAllIndexes",value:function(e,t){for(var n=[],r=-1;-1!==(r=e.indexOf(t,r+1));)n.push(r);return n}},{key:"arrayAllMaxIndexes",value:function(e){return this.getAllIndexes(e,Math.max.apply(null,e))}}]),e}();e.exports=i}, +/* 26 */ +/***/ +function(e,t,n){var r=function(){};r.FDLayout=n(18),r.FDLayoutConstants=n(7),r.FDLayoutEdge=n(19),r.FDLayoutNode=n(20),r.DimensionD=n(21),r.HashMap=n(22),r.HashSet=n(23),r.IGeometry=n(8),r.IMath=n(9),r.Integer=n(10),r.Point=n(12),r.PointD=n(4),r.RandomSeed=n(16),r.RectangleD=n(13),r.Transform=n(17),r.UniqueIDGeneretor=n(14),r.Quicksort=n(24),r.LinkedList=n(11),r.LGraphObject=n(2),r.LGraph=n(5),r.LEdge=n(1),r.LGraphManager=n(6),r.LNode=n(3),r.Layout=n(15),r.LayoutConstants=n(0),r.NeedlemanWunsch=n(25),e.exports=r}, +/* 27 */ +/***/ +function(e,t,n){function r(){this.listeners=[]}var i=r.prototype;i.addListener=function(e,t){this.listeners.push({event:e,callback:t})},i.removeListener=function(e,t){for(var n=this.listeners.length;n>=0;n--){var r=this.listeners[n];r.event===e&&r.callback===t&&this.listeners.splice(n,1)}},i.emit=function(e,t){for(var n=0;n<this.listeners.length;n++){var r=this.listeners[n];e===r.event&&r.callback(t)}},e.exports=r} +/******/])},v.exports=e());var e}var m;var b,x;const w=l((b||(b=1,g.exports=(x=m?f.exports:(m=1,f.exports=function(e){ +/******/ +return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={ +/******/ +i:r, +/******/ +l:!1, +/******/ +exports:{} +/******/};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.i=function(e){return e},n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{ +/******/ +configurable:!1, +/******/ +enumerable:!0, +/******/ +get:r +/******/})},n.n=function(e){var t=e&&e.__esModule? +/******/function(){return e.default}: +/******/function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=7)}([ +/* 0 */ +/***/ +function(t,n){t.exports=e}, +/* 1 */ +/***/ +function(e,t,n){var r=n(0).FDLayoutConstants;function i(){}for(var a in r)i[a]=r[a];i.DEFAULT_USE_MULTI_LEVEL_SCALING=!1,i.DEFAULT_RADIAL_SEPARATION=r.DEFAULT_EDGE_LENGTH,i.DEFAULT_COMPONENT_SEPERATION=60,i.TILE=!0,i.TILING_PADDING_VERTICAL=10,i.TILING_PADDING_HORIZONTAL=10,i.TREE_REDUCTION_ON_INCREMENTAL=!1,e.exports=i}, +/* 2 */ +/***/ +function(e,t,n){var r=n(0).FDLayoutEdge;function i(e,t,n){r.call(this,e,t,n)}for(var a in i.prototype=Object.create(r.prototype),r)i[a]=r[a];e.exports=i}, +/* 3 */ +/***/ +function(e,t,n){var r=n(0).LGraph;function i(e,t,n){r.call(this,e,t,n)}for(var a in i.prototype=Object.create(r.prototype),r)i[a]=r[a];e.exports=i}, +/* 4 */ +/***/ +function(e,t,n){var r=n(0).LGraphManager;function i(e){r.call(this,e)}for(var a in i.prototype=Object.create(r.prototype),r)i[a]=r[a];e.exports=i}, +/* 5 */ +/***/ +function(e,t,n){var r=n(0).FDLayoutNode,i=n(0).IMath;function a(e,t,n,i){r.call(this,e,t,n,i)}for(var o in a.prototype=Object.create(r.prototype),r)a[o]=r[o];a.prototype.move=function(){var e=this.graphManager.getLayout();this.displacementX=e.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.noOfChildren,this.displacementY=e.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.noOfChildren,Math.abs(this.displacementX)>e.coolingFactor*e.maxNodeDisplacement&&(this.displacementX=e.coolingFactor*e.maxNodeDisplacement*i.sign(this.displacementX)),Math.abs(this.displacementY)>e.coolingFactor*e.maxNodeDisplacement&&(this.displacementY=e.coolingFactor*e.maxNodeDisplacement*i.sign(this.displacementY)),null==this.child||0==this.child.getNodes().length?this.moveBy(this.displacementX,this.displacementY):this.propogateDisplacementToChildren(this.displacementX,this.displacementY),e.totalDisplacement+=Math.abs(this.displacementX)+Math.abs(this.displacementY),this.springForceX=0,this.springForceY=0,this.repulsionForceX=0,this.repulsionForceY=0,this.gravitationForceX=0,this.gravitationForceY=0,this.displacementX=0,this.displacementY=0},a.prototype.propogateDisplacementToChildren=function(e,t){for(var n,r=this.getChild().getNodes(),i=0;i<r.length;i++)null==(n=r[i]).getChild()?(n.moveBy(e,t),n.displacementX+=e,n.displacementY+=t):n.propogateDisplacementToChildren(e,t)},a.prototype.setPred1=function(e){this.pred1=e},a.prototype.getPred1=function(){return pred1},a.prototype.getPred2=function(){return pred2},a.prototype.setNext=function(e){this.next=e},a.prototype.getNext=function(){return next},a.prototype.setProcessed=function(e){this.processed=e},a.prototype.isProcessed=function(){return processed},e.exports=a}, +/* 6 */ +/***/ +function(e,t,n){var r=n(0).FDLayout,i=n(4),a=n(3),o=n(5),s=n(2),l=n(1),u=n(0).FDLayoutConstants,c=n(0).LayoutConstants,h=n(0).Point,d=n(0).PointD,p=n(0).Layout,g=n(0).Integer,f=n(0).IGeometry,v=n(0).LGraph,y=n(0).Transform;function m(){r.call(this),this.toBeTiled={}}for(var b in m.prototype=Object.create(r.prototype),r)m[b]=r[b];m.prototype.newGraphManager=function(){var e=new i(this);return this.graphManager=e,e},m.prototype.newGraph=function(e){return new a(null,this.graphManager,e)},m.prototype.newNode=function(e){return new o(this.graphManager,e)},m.prototype.newEdge=function(e){return new s(null,null,e)},m.prototype.initParameters=function(){r.prototype.initParameters.call(this,arguments),this.isSubLayout||(l.DEFAULT_EDGE_LENGTH<10?this.idealEdgeLength=10:this.idealEdgeLength=l.DEFAULT_EDGE_LENGTH,this.useSmartIdealEdgeLengthCalculation=l.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.springConstant=u.DEFAULT_SPRING_STRENGTH,this.repulsionConstant=u.DEFAULT_REPULSION_STRENGTH,this.gravityConstant=u.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=u.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=u.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=u.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.prunedNodesAll=[],this.growTreeIterations=0,this.afterGrowthIterations=0,this.isTreeGrowing=!1,this.isGrowthFinished=!1,this.coolingCycle=0,this.maxCoolingCycle=this.maxIterations/u.CONVERGENCE_CHECK_PERIOD,this.finalTemperature=u.CONVERGENCE_CHECK_PERIOD/this.maxIterations,this.coolingAdjuster=1)},m.prototype.layout=function(){return c.DEFAULT_CREATE_BENDS_AS_NEEDED&&(this.createBendpoints(),this.graphManager.resetAllEdges()),this.level=0,this.classicLayout()},m.prototype.classicLayout=function(){if(this.nodesWithGravity=this.calculateNodesToApplyGravitationTo(),this.graphManager.setAllNodesToApplyGravitation(this.nodesWithGravity),this.calcNoOfChildrenForAllNodes(),this.graphManager.calcLowestCommonAncestors(),this.graphManager.calcInclusionTreeDepths(),this.graphManager.getRoot().calcEstimatedSize(),this.calcIdealEdgeLengths(),this.incremental)l.TREE_REDUCTION_ON_INCREMENTAL&&(this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation(),t=new Set(this.getAllNodes()),n=this.nodesWithGravity.filter((function(e){return t.has(e)})),this.graphManager.setAllNodesToApplyGravitation(n));else{var e=this.getFlatForest();if(e.length>0)this.positionNodesRadially(e);else{this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var t=new Set(this.getAllNodes()),n=this.nodesWithGravity.filter((function(e){return t.has(e)}));this.graphManager.setAllNodesToApplyGravitation(n),this.positionNodesRandomly()}}return this.initSpringEmbedder(),this.runSpringEmbedder(),!0},m.prototype.tick=function(){if(this.totalIterations++,this.totalIterations===this.maxIterations&&!this.isTreeGrowing&&!this.isGrowthFinished){if(!(this.prunedNodesAll.length>0))return!0;this.isTreeGrowing=!0}if(this.totalIterations%u.CONVERGENCE_CHECK_PERIOD==0&&!this.isTreeGrowing&&!this.isGrowthFinished){if(this.isConverged()){if(!(this.prunedNodesAll.length>0))return!0;this.isTreeGrowing=!0}this.coolingCycle++,0==this.layoutQuality?this.coolingAdjuster=this.coolingCycle:1==this.layoutQuality&&(this.coolingAdjuster=this.coolingCycle/3),this.coolingFactor=Math.max(this.initialCoolingFactor-Math.pow(this.coolingCycle,Math.log(100*(this.initialCoolingFactor-this.finalTemperature))/Math.log(this.maxCoolingCycle))/100*this.coolingAdjuster,this.finalTemperature),this.animationPeriod=Math.ceil(this.initialAnimationPeriod*Math.sqrt(this.coolingFactor))}if(this.isTreeGrowing){if(this.growTreeIterations%10==0)if(this.prunedNodesAll.length>0){this.graphManager.updateBounds(),this.updateGrid(),this.growTree(this.prunedNodesAll),this.graphManager.resetAllNodesToApplyGravitation();var e=new Set(this.getAllNodes()),t=this.nodesWithGravity.filter((function(t){return e.has(t)}));this.graphManager.setAllNodesToApplyGravitation(t),this.graphManager.updateBounds(),this.updateGrid(),this.coolingFactor=u.DEFAULT_COOLING_FACTOR_INCREMENTAL}else this.isTreeGrowing=!1,this.isGrowthFinished=!0;this.growTreeIterations++}if(this.isGrowthFinished){if(this.isConverged())return!0;this.afterGrowthIterations%10==0&&(this.graphManager.updateBounds(),this.updateGrid()),this.coolingFactor=u.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var n=!this.isTreeGrowing&&!this.isGrowthFinished,r=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(n,r),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},m.prototype.getPositionsData=function(){for(var e=this.graphManager.getAllNodes(),t={},n=0;n<e.length;n++){var r=e[n].rect,i=e[n].id;t[i]={id:i,x:r.getCenterX(),y:r.getCenterY(),w:r.width,h:r.height}}return t},m.prototype.runSpringEmbedder=function(){this.initialAnimationPeriod=25,this.animationPeriod=this.initialAnimationPeriod;var e=!1;if("during"===u.ANIMATE)this.emit("layoutstarted");else{for(;!e;)e=this.tick();this.graphManager.updateBounds()}},m.prototype.calculateNodesToApplyGravitationTo=function(){var e,t,n=[],r=this.graphManager.getGraphs(),i=r.length;for(t=0;t<i;t++)(e=r[t]).updateConnected(),e.isConnected||(n=n.concat(e.getNodes()));return n},m.prototype.createBendpoints=function(){var e=[];e=e.concat(this.graphManager.getAllEdges());var t,n=new Set;for(t=0;t<e.length;t++){var r=e[t];if(!n.has(r)){var i=r.getSource(),a=r.getTarget();if(i==a)r.getBendpoints().push(new d),r.getBendpoints().push(new d),this.createDummyNodesForBendpoints(r),n.add(r);else{var o=[];if(o=(o=o.concat(i.getEdgeListToNode(a))).concat(a.getEdgeListToNode(i)),!n.has(o[0])){var s;if(o.length>1)for(s=0;s<o.length;s++){var l=o[s];l.getBendpoints().push(new d),this.createDummyNodesForBendpoints(l)}o.forEach((function(e){n.add(e)}))}}}if(n.size==e.length)break}},m.prototype.positionNodesRadially=function(e){for(var t=new h(0,0),n=Math.ceil(Math.sqrt(e.length)),r=0,i=0,a=0,o=new d(0,0),s=0;s<e.length;s++){s%n==0&&(a=0,i=r,0!=s&&(i+=l.DEFAULT_COMPONENT_SEPERATION),r=0);var u=e[s],g=p.findCenterOfTree(u);t.x=a,t.y=i,(o=m.radialLayout(u,g,t)).y>r&&(r=Math.floor(o.y)),a=Math.floor(o.x+l.DEFAULT_COMPONENT_SEPERATION)}this.transform(new d(c.WORLD_CENTER_X-o.x/2,c.WORLD_CENTER_Y-o.y/2))},m.radialLayout=function(e,t,n){var r=Math.max(this.maxDiagonalInTree(e),l.DEFAULT_RADIAL_SEPARATION);m.branchRadialLayout(t,null,0,359,0,r);var i=v.calculateBounds(e),a=new y;a.setDeviceOrgX(i.getMinX()),a.setDeviceOrgY(i.getMinY()),a.setWorldOrgX(n.x),a.setWorldOrgY(n.y);for(var o=0;o<e.length;o++)e[o].transform(a);var s=new d(i.getMaxX(),i.getMaxY());return a.inverseTransformPoint(s)},m.branchRadialLayout=function(e,t,n,r,i,a){var o=(r-n+1)/2;o<0&&(o+=180);var s=(o+n)%360*f.TWO_PI/360,l=i*Math.cos(s),u=i*Math.sin(s);e.setCenter(l,u);var c=[],h=(c=c.concat(e.getEdges())).length;null!=t&&h--;for(var d,p=0,g=c.length,v=e.getEdgesBetween(t);v.length>1;){var y=v[0];v.splice(0,1);var b=c.indexOf(y);b>=0&&c.splice(b,1),g--,h--}d=null!=t?(c.indexOf(v[0])+1)%g:0;for(var x=Math.abs(r-n)/h,w=d;p!=h;w=++w%g){var E=c[w].getOtherEnd(e);if(E!=t){var T=(n+p*x)%360,_=(T+x)%360;m.branchRadialLayout(E,e,T,_,i+a,a),p++}}},m.maxDiagonalInTree=function(e){for(var t=g.MIN_VALUE,n=0;n<e.length;n++){var r=e[n].getDiagonal();r>t&&(t=r)}return t},m.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},m.prototype.groupZeroDegreeMembers=function(){var e=this,t={};this.memberGroups={},this.idToDummyNode={};for(var n=[],r=this.graphManager.getAllNodes(),i=0;i<r.length;i++){var a=(s=r[i]).getParent();0!==this.getNodeDegreeWithChildren(s)||null!=a.id&&this.getToBeTiled(a)||n.push(s)}for(i=0;i<n.length;i++){var s,l=(s=n[i]).getParent().id;void 0===t[l]&&(t[l]=[]),t[l]=t[l].concat(s)}Object.keys(t).forEach((function(n){if(t[n].length>1){var r="DummyCompound_"+n;e.memberGroups[r]=t[n];var i=t[n][0].getParent(),a=new o(e.graphManager);a.id=r,a.paddingLeft=i.paddingLeft||0,a.paddingRight=i.paddingRight||0,a.paddingBottom=i.paddingBottom||0,a.paddingTop=i.paddingTop||0,e.idToDummyNode[r]=a;var s=e.getGraphManager().add(e.newGraph(),a),l=i.getChild();l.add(a);for(var u=0;u<t[n].length;u++){var c=t[n][u];l.remove(c),s.add(c)}}}))},m.prototype.clearCompounds=function(){var e={},t={};this.performDFSOnCompounds();for(var n=0;n<this.compoundOrder.length;n++)t[this.compoundOrder[n].id]=this.compoundOrder[n],e[this.compoundOrder[n].id]=[].concat(this.compoundOrder[n].getChild().getNodes()),this.graphManager.remove(this.compoundOrder[n].getChild()),this.compoundOrder[n].child=null;this.graphManager.resetAllNodes(),this.tileCompoundMembers(e,t)},m.prototype.clearZeroDegreeMembers=function(){var e=this,t=this.tiledZeroDegreePack=[];Object.keys(this.memberGroups).forEach((function(n){var r=e.idToDummyNode[n];t[n]=e.tileNodes(e.memberGroups[n],r.paddingLeft+r.paddingRight),r.rect.width=t[n].width,r.rect.height=t[n].height}))},m.prototype.repopulateCompounds=function(){for(var e=this.compoundOrder.length-1;e>=0;e--){var t=this.compoundOrder[e],n=t.id,r=t.paddingLeft,i=t.paddingTop;this.adjustLocations(this.tiledMemberPack[n],t.rect.x,t.rect.y,r,i)}},m.prototype.repopulateZeroDegreeMembers=function(){var e=this,t=this.tiledZeroDegreePack;Object.keys(t).forEach((function(n){var r=e.idToDummyNode[n],i=r.paddingLeft,a=r.paddingTop;e.adjustLocations(t[n],r.rect.x,r.rect.y,i,a)}))},m.prototype.getToBeTiled=function(e){var t=e.id;if(null!=this.toBeTiled[t])return this.toBeTiled[t];var n=e.getChild();if(null==n)return this.toBeTiled[t]=!1,!1;for(var r=n.getNodes(),i=0;i<r.length;i++){var a=r[i];if(this.getNodeDegree(a)>0)return this.toBeTiled[t]=!1,!1;if(null!=a.getChild()){if(!this.getToBeTiled(a))return this.toBeTiled[t]=!1,!1}else this.toBeTiled[a.id]=!1}return this.toBeTiled[t]=!0,!0},m.prototype.getNodeDegree=function(e){e.id;for(var t=e.getEdges(),n=0,r=0;r<t.length;r++){var i=t[r];i.getSource().id!==i.getTarget().id&&(n+=1)}return n},m.prototype.getNodeDegreeWithChildren=function(e){var t=this.getNodeDegree(e);if(null==e.getChild())return t;for(var n=e.getChild().getNodes(),r=0;r<n.length;r++){var i=n[r];t+=this.getNodeDegreeWithChildren(i)}return t},m.prototype.performDFSOnCompounds=function(){this.compoundOrder=[],this.fillCompexOrderByDFS(this.graphManager.getRoot().getNodes())},m.prototype.fillCompexOrderByDFS=function(e){for(var t=0;t<e.length;t++){var n=e[t];null!=n.getChild()&&this.fillCompexOrderByDFS(n.getChild().getNodes()),this.getToBeTiled(n)&&this.compoundOrder.push(n)}},m.prototype.adjustLocations=function(e,t,n,r,i){n+=i;for(var a=t+=r,o=0;o<e.rows.length;o++){var s=e.rows[o];t=a;for(var l=0,u=0;u<s.length;u++){var c=s[u];c.rect.x=t,c.rect.y=n,t+=c.rect.width+e.horizontalPadding,c.rect.height>l&&(l=c.rect.height)}n+=l+e.verticalPadding}},m.prototype.tileCompoundMembers=function(e,t){var n=this;this.tiledMemberPack=[],Object.keys(e).forEach((function(r){var i=t[r];n.tiledMemberPack[r]=n.tileNodes(e[r],i.paddingLeft+i.paddingRight),i.rect.width=n.tiledMemberPack[r].width,i.rect.height=n.tiledMemberPack[r].height}))},m.prototype.tileNodes=function(e,t){var n={rows:[],rowWidth:[],rowHeight:[],width:0,height:t, +// assume minHeight equals to minWidth +verticalPadding:l.TILING_PADDING_VERTICAL,horizontalPadding:l.TILING_PADDING_HORIZONTAL};e.sort((function(e,t){return e.rect.width*e.rect.height>t.rect.width*t.rect.height?-1:e.rect.width*e.rect.height<t.rect.width*t.rect.height?1:0}));for(var r=0;r<e.length;r++){var i=e[r];0==n.rows.length?this.insertNodeToRow(n,i,0,t):this.canAddHorizontal(n,i.rect.width,i.rect.height)?this.insertNodeToRow(n,i,this.getShortestRowIndex(n),t):this.insertNodeToRow(n,i,n.rows.length,t),this.shiftToLastRow(n)}return n},m.prototype.insertNodeToRow=function(e,t,n,r){var i=r;n==e.rows.length&&(e.rows.push([]),e.rowWidth.push(i),e.rowHeight.push(0));var a=e.rowWidth[n]+t.rect.width;e.rows[n].length>0&&(a+=e.horizontalPadding),e.rowWidth[n]=a,e.width<a&&(e.width=a);var o=t.rect.height;n>0&&(o+=e.verticalPadding);var s=0;o>e.rowHeight[n]&&(s=e.rowHeight[n],e.rowHeight[n]=o,s=e.rowHeight[n]-s),e.height+=s,e.rows[n].push(t)},m.prototype.getShortestRowIndex=function(e){for(var t=-1,n=Number.MAX_VALUE,r=0;r<e.rows.length;r++)e.rowWidth[r]<n&&(t=r,n=e.rowWidth[r]);return t},m.prototype.getLongestRowIndex=function(e){for(var t=-1,n=Number.MIN_VALUE,r=0;r<e.rows.length;r++)e.rowWidth[r]>n&&(t=r,n=e.rowWidth[r]);return t},m.prototype.canAddHorizontal=function(e,t,n){var r=this.getShortestRowIndex(e);if(r<0)return!0;var i=e.rowWidth[r];if(i+e.horizontalPadding+t<=e.width)return!0;var a,o,s=0;return e.rowHeight[r]<n&&r>0&&(s=n+e.verticalPadding-e.rowHeight[r]),a=e.width-i>=t+e.horizontalPadding?(e.height+s)/(i+t+e.horizontalPadding):(e.height+s)/e.width,s=n+e.verticalPadding,(o=e.width<t?(e.height+s)/t:(e.height+s)/e.width)<1&&(o=1/o),a<1&&(a=1/a),a<o},m.prototype.shiftToLastRow=function(e){var t=this.getLongestRowIndex(e),n=e.rowWidth.length-1,r=e.rows[t],i=r[r.length-1],a=i.width+e.horizontalPadding;if(e.width-e.rowWidth[n]>a&&t!=n){r.splice(-1,1),e.rows[n].push(i),e.rowWidth[t]=e.rowWidth[t]-a,e.rowWidth[n]=e.rowWidth[n]+a,e.width=e.rowWidth[instance.getLongestRowIndex(e)];for(var o=Number.MIN_VALUE,s=0;s<r.length;s++)r[s].height>o&&(o=r[s].height);t>0&&(o+=e.verticalPadding);var l=e.rowHeight[t]+e.rowHeight[n];e.rowHeight[t]=o,e.rowHeight[n]<i.height+e.verticalPadding&&(e.rowHeight[n]=i.height+e.verticalPadding);var u=e.rowHeight[t]+e.rowHeight[n];e.height+=u-l,this.shiftToLastRow(e)}},m.prototype.tilingPreLayout=function(){l.TILE&&(this.groupZeroDegreeMembers(),this.clearCompounds(),this.clearZeroDegreeMembers())},m.prototype.tilingPostLayout=function(){l.TILE&&(this.repopulateZeroDegreeMembers(),this.repopulateCompounds())},m.prototype.reduceTrees=function(){for(var e,t=[],n=!0;n;){var r=this.graphManager.getAllNodes(),i=[];n=!1;for(var a=0;a<r.length;a++)1!=(e=r[a]).getEdges().length||e.getEdges()[0].isInterGraph||null!=e.getChild()||(i.push([e,e.getEdges()[0],e.getOwner()]),n=!0);if(1==n){for(var o=[],s=0;s<i.length;s++)1==i[s][0].getEdges().length&&(o.push(i[s]),i[s][0].getOwner().remove(i[s][0]));t.push(o),this.graphManager.resetAllNodes(),this.graphManager.resetAllEdges()}}this.prunedNodesAll=t},m.prototype.growTree=function(e){for(var t,n=e[e.length-1],r=0;r<n.length;r++)t=n[r],this.findPlaceforPrunedNode(t),t[2].add(t[0]),t[2].add(t[1],t[1].source,t[1].target);e.splice(e.length-1,1),this.graphManager.resetAllNodes(),this.graphManager.resetAllEdges()},m.prototype.findPlaceforPrunedNode=function(e){var t,n,r=e[0],i=(n=r==e[1].source?e[1].target:e[1].source).startX,a=n.finishX,o=n.startY,s=n.finishY,l=[0,0,0,0];if(o>0)for(var c=i;c<=a;c++)l[0]+=this.grid[c][o-1].length+this.grid[c][o].length-1;if(a<this.grid.length-1)for(c=o;c<=s;c++)l[1]+=this.grid[a+1][c].length+this.grid[a][c].length-1;if(s<this.grid[0].length-1)for(c=i;c<=a;c++)l[2]+=this.grid[c][s+1].length+this.grid[c][s].length-1;if(i>0)for(c=o;c<=s;c++)l[3]+=this.grid[i-1][c].length+this.grid[i][c].length-1;for(var h,d,p=g.MAX_VALUE,f=0;f<l.length;f++)l[f]<p?(p=l[f],h=1,d=f):l[f]==p&&h++;if(3==h&&0==p)0==l[0]&&0==l[1]&&0==l[2]?t=1:0==l[0]&&0==l[1]&&0==l[3]?t=0:0==l[0]&&0==l[2]&&0==l[3]?t=3:0==l[1]&&0==l[2]&&0==l[3]&&(t=2);else if(2==h&&0==p){var v=Math.floor(2*Math.random());t=0==l[0]&&0==l[1]?0==v?0:1:0==l[0]&&0==l[2]?0==v?0:2:0==l[0]&&0==l[3]?0==v?0:3:0==l[1]&&0==l[2]?0==v?1:2:0==l[1]&&0==l[3]?0==v?1:3:0==v?2:3}else t=4==h&&0==p?v=Math.floor(4*Math.random()):d;0==t?r.setCenter(n.getCenterX(),n.getCenterY()-n.getHeight()/2-u.DEFAULT_EDGE_LENGTH-r.getHeight()/2):1==t?r.setCenter(n.getCenterX()+n.getWidth()/2+u.DEFAULT_EDGE_LENGTH+r.getWidth()/2,n.getCenterY()):2==t?r.setCenter(n.getCenterX(),n.getCenterY()+n.getHeight()/2+u.DEFAULT_EDGE_LENGTH+r.getHeight()/2):r.setCenter(n.getCenterX()-n.getWidth()/2-u.DEFAULT_EDGE_LENGTH-r.getWidth()/2,n.getCenterY())},e.exports=m}, +/* 7 */ +/***/ +function(e,t,n){var r={};r.layoutBase=n(0),r.CoSEConstants=n(1),r.CoSEEdge=n(2),r.CoSEGraph=n(3),r.CoSEGraphManager=n(4),r.CoSELayout=n(6),r.CoSENode=n(5),e.exports=r} +/******/])}(y())), +/******/function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={ +/******/ +i:r, +/******/ +l:!1, +/******/ +exports:{} +/******/};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.i=function(e){return e},n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{ +/******/ +configurable:!1, +/******/ +enumerable:!0, +/******/ +get:r +/******/})},n.n=function(e){var t=e&&e.__esModule? +/******/function(){return e.default}: +/******/function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=1)}([ +/* 0 */ +/***/ +function(e,t){e.exports=x}, +/* 1 */ +/***/ +function(e,t,n){var r=n(0).layoutBase.LayoutConstants,i=n(0).layoutBase.FDLayoutConstants,a=n(0).CoSEConstants,o=n(0).CoSELayout,s=n(0).CoSENode,l=n(0).layoutBase.PointD,u=n(0).layoutBase.DimensionD,c={ +// Called on `layoutready` +ready:function(){}, +// Called on `layoutstop` +stop:function(){}, +// 'draft', 'default' or 'proof" +// - 'draft' fast cooling rate +// - 'default' moderate cooling rate +// - "proof" slow cooling rate +quality:"default", +// include labels in node dimensions +nodeDimensionsIncludeLabels:!1, +// number of ticks per frame; higher is faster but more jerky +refresh:30, +// Whether to fit the network view after when done +fit:!0, +// Padding on fit +padding:10, +// Whether to enable incremental mode +randomize:!0, +// Node repulsion (non overlapping) multiplier +nodeRepulsion:4500, +// Ideal edge (non nested) length +idealEdgeLength:50, +// Divisor to compute edge forces +edgeElasticity:.45, +// Nesting factor (multiplier) to compute ideal edge length for nested edges +nestingFactor:.1, +// Gravity force (constant) +gravity:.25, +// Maximum number of iterations to perform +numIter:2500, +// For enabling tiling +tile:!0, +// Type of layout animation. The option set is {'during', 'end', false} +animate:"end", +// Duration for animate:end +animationDuration:500, +// Represents the amount of the vertical space to put between the zero degree members during the tiling operation(can also be a function) +tilingPaddingVertical:10, +// Represents the amount of the horizontal space to put between the zero degree members during the tiling operation(can also be a function) +tilingPaddingHorizontal:10, +// Gravity range (constant) for compounds +gravityRangeCompound:1.5, +// Gravity force (constant) for compounds +gravityCompound:1, +// Gravity range (constant) +gravityRange:3.8, +// Initial cooling factor for incremental layout +initialEnergyOnIncremental:.5};function h(e){this.options=function(e,t){var n={};for(var r in e)n[r]=e[r];for(var r in t)n[r]=t[r];return n}(c,e),d(this.options)}var d=function(e){null!=e.nodeRepulsion&&(a.DEFAULT_REPULSION_STRENGTH=i.DEFAULT_REPULSION_STRENGTH=e.nodeRepulsion),null!=e.idealEdgeLength&&(a.DEFAULT_EDGE_LENGTH=i.DEFAULT_EDGE_LENGTH=e.idealEdgeLength),null!=e.edgeElasticity&&(a.DEFAULT_SPRING_STRENGTH=i.DEFAULT_SPRING_STRENGTH=e.edgeElasticity),null!=e.nestingFactor&&(a.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=i.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=e.nestingFactor),null!=e.gravity&&(a.DEFAULT_GRAVITY_STRENGTH=i.DEFAULT_GRAVITY_STRENGTH=e.gravity),null!=e.numIter&&(a.MAX_ITERATIONS=i.MAX_ITERATIONS=e.numIter),null!=e.gravityRange&&(a.DEFAULT_GRAVITY_RANGE_FACTOR=i.DEFAULT_GRAVITY_RANGE_FACTOR=e.gravityRange),null!=e.gravityCompound&&(a.DEFAULT_COMPOUND_GRAVITY_STRENGTH=i.DEFAULT_COMPOUND_GRAVITY_STRENGTH=e.gravityCompound),null!=e.gravityRangeCompound&&(a.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=i.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=e.gravityRangeCompound),null!=e.initialEnergyOnIncremental&&(a.DEFAULT_COOLING_FACTOR_INCREMENTAL=i.DEFAULT_COOLING_FACTOR_INCREMENTAL=e.initialEnergyOnIncremental),"draft"==e.quality?r.QUALITY=0:"proof"==e.quality?r.QUALITY=2:r.QUALITY=1,a.NODE_DIMENSIONS_INCLUDE_LABELS=i.NODE_DIMENSIONS_INCLUDE_LABELS=r.NODE_DIMENSIONS_INCLUDE_LABELS=e.nodeDimensionsIncludeLabels,a.DEFAULT_INCREMENTAL=i.DEFAULT_INCREMENTAL=r.DEFAULT_INCREMENTAL=!e.randomize,a.ANIMATE=i.ANIMATE=r.ANIMATE=e.animate,a.TILE=e.tile,a.TILING_PADDING_VERTICAL="function"==typeof e.tilingPaddingVertical?e.tilingPaddingVertical.call():e.tilingPaddingVertical,a.TILING_PADDING_HORIZONTAL="function"==typeof e.tilingPaddingHorizontal?e.tilingPaddingHorizontal.call():e.tilingPaddingHorizontal};h.prototype.run=function(){var e,t,n=this.options;this.idToLNode={};var r=this.layout=new o,i=this;i.stopped=!1,this.cy=this.options.cy,this.cy.trigger({type:"layoutstart",layout:this});var a=r.newGraphManager();this.gm=a;var s=this.options.eles.nodes(),l=this.options.eles.edges();this.root=a.addRoot(),this.processChildrenList(this.root,this.getTopMostNodes(s),r);for(var u=0;u<l.length;u++){var c=l[u],h=this.idToLNode[c.data("source")],d=this.idToLNode[c.data("target")];h!==d&&0==h.getEdgesBetween(d).length&&(a.add(r.newEdge(),h,d).id=c.id())}var p=function(e,t){"number"==typeof e&&(e=t);var n=e.data("id"),r=i.idToLNode[n];return{x:r.getRect().getCenterX(),y:r.getRect().getCenterY()}},g=function a(){for(var o,s=function(){n.fit&&n.cy.fit(n.eles,n.padding),e||(e=!0,i.cy.one("layoutready",n.ready),i.cy.trigger({type:"layoutready",layout:i}))},l=i.options.refresh,u=0;u<l&&!o;u++)o=i.stopped||i.layout.tick();if(o)return r.checkLayoutSuccess()&&!r.isSubLayout&&r.doPostLayout(),r.tilingPostLayout&&r.tilingPostLayout(),r.isLayoutFinished=!0,i.options.eles.nodes().positions(p),s(),i.cy.one("layoutstop",i.options.stop),i.cy.trigger({type:"layoutstop",layout:i}),t&&cancelAnimationFrame(t),void(e=!1);var c=i.layout.getPositionsData();n.eles.nodes().positions((function(e,t){if("number"==typeof e&&(e=t),!e.isParent()){for(var n=e.id(),r=c[n],i=e;null==r&&(r=c[i.data("parent")]||c["DummyCompound_"+i.data("parent")],c[n]=r,null!=(i=i.parent()[0])););return null!=r?{x:r.x,y:r.y}:{x:e.position("x"),y:e.position("y")}}})),s(),t=requestAnimationFrame(a)};return r.addListener("layoutstarted",(function(){"during"===i.options.animate&&(t=requestAnimationFrame(g))})),r.runLayout(),"during"!==this.options.animate&&(i.options.eles.nodes().not(":parent").layoutPositions(i,i.options,p),e=!1),this},h.prototype.getTopMostNodes=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].id()]=!0;return e.filter((function(e,n){"number"==typeof e&&(e=n);for(var r=e.parent()[0];null!=r;){if(t[r.id()])return!1;r=r.parent()[0]}return!0}))},h.prototype.processChildrenList=function(e,t,n){for(var r=t.length,i=0;i<r;i++){var a,o,c=t[i],h=c.children(),d=c.layoutDimensions({nodeDimensionsIncludeLabels:this.options.nodeDimensionsIncludeLabels});if((a=null!=c.outerWidth()&&null!=c.outerHeight()?e.add(new s(n.graphManager,new l(c.position("x")-d.w/2,c.position("y")-d.h/2),new u(parseFloat(d.w),parseFloat(d.h)))):e.add(new s(this.graphManager))).id=c.data("id"),a.paddingLeft=parseInt(c.css("padding")),a.paddingTop=parseInt(c.css("padding")),a.paddingRight=parseInt(c.css("padding")),a.paddingBottom=parseInt(c.css("padding")),this.options.nodeDimensionsIncludeLabels&&c.isParent()){var p=c.boundingBox({includeLabels:!0,includeNodes:!1}).w,g=c.boundingBox({includeLabels:!0,includeNodes:!1}).h,f=c.css("text-halign");a.labelWidth=p,a.labelHeight=g,a.labelPos=f}this.idToLNode[c.data("id")]=a,isNaN(a.rect.x)&&(a.rect.x=0),isNaN(a.rect.y)&&(a.rect.y=0),null!=h&&h.length>0&&(o=n.getGraphManager().add(n.newGraph(),a),this.processChildrenList(o,h,n))}},h.prototype.stop=function(){return this.stopped=!0,this};var p=function(e){e("layout","cose-bilkent",h)};"undefined"!=typeof cytoscape&&p(cytoscape),e.exports=p} +/******/]))),g.exports));var E=function(){var e=function(e,t,n,r){for(n=n||{},r=e.length;r--;n[e[r]]=t);return n},t=[1,4],n=[1,13],r=[1,12],i=[1,15],a=[1,16],o=[1,20],s=[1,19],l=[6,7,8],u=[1,26],c=[1,24],h=[1,25],d=[6,7,11],p=[1,6,13,15,16,19,22],g=[1,33],f=[1,34],v=[1,6,7,11,13,15,16,19,22],y={trace:function(){},yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,MINDMAP:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,ICON:15,CLASS:16,nodeWithId:17,nodeWithoutId:18,NODE_DSTART:19,NODE_DESCR:20,NODE_DEND:21,NODE_ID:22,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"MINDMAP",11:"EOF",13:"SPACELIST",15:"ICON",16:"CLASS",19:"NODE_DSTART",20:"NODE_DESCR",21:"NODE_DEND",22:"NODE_ID"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[18,3],[17,1],[17,4]],performAction:function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 6:case 7:return r;case 8:r.getLogger().trace("Stop NL ");break;case 9:r.getLogger().trace("Stop EOF ");break;case 11:r.getLogger().trace("Stop NL2 ");break;case 12:r.getLogger().trace("Stop EOF2 ");break;case 15:r.getLogger().info("Node: ",a[s].id),r.addNode(a[s-1].length,a[s].id,a[s].descr,a[s].type);break;case 16:r.getLogger().trace("Icon: ",a[s]),r.decorateNode({icon:a[s]});break;case 17:case 21:r.decorateNode({class:a[s]});break;case 18:r.getLogger().trace("SPACELIST");break;case 19:r.getLogger().trace("Node: ",a[s].id),r.addNode(0,a[s].id,a[s].descr,a[s].type);break;case 20:r.decorateNode({icon:a[s]});break;case 25:r.getLogger().trace("node found ..",a[s-2]),this.$={id:a[s-1],descr:a[s-1],type:r.getType(a[s-2],a[s])};break;case 26:this.$={id:a[s],descr:a[s],type:r.nodeType.DEFAULT};break;case 27:r.getLogger().trace("node found ..",a[s-3]),this.$={id:a[s-3],descr:a[s-1],type:r.getType(a[s-2],a[s])}}},table:[{3:1,4:2,5:3,6:[1,5],8:t},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:t},{6:n,7:[1,10],9:9,12:11,13:r,14:14,15:i,16:a,17:17,18:18,19:o,22:s},e(l,[2,3]),{1:[2,2]},e(l,[2,4]),e(l,[2,5]),{1:[2,6],6:n,12:21,13:r,14:14,15:i,16:a,17:17,18:18,19:o,22:s},{6:n,9:22,12:11,13:r,14:14,15:i,16:a,17:17,18:18,19:o,22:s},{6:u,7:c,10:23,11:h},e(d,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:o,22:s}),e(d,[2,18]),e(d,[2,19]),e(d,[2,20]),e(d,[2,21]),e(d,[2,23]),e(d,[2,24]),e(d,[2,26],{19:[1,30]}),{20:[1,31]},{6:u,7:c,10:32,11:h},{1:[2,7],6:n,12:21,13:r,14:14,15:i,16:a,17:17,18:18,19:o,22:s},e(p,[2,14],{7:g,11:f}),e(v,[2,8]),e(v,[2,9]),e(v,[2,10]),e(d,[2,15]),e(d,[2,16]),e(d,[2,17]),{20:[1,35]},{21:[1,36]},e(p,[2,13],{7:g,11:f}),e(v,[2,11]),e(v,[2,12]),{21:[1,37]},e(d,[2,25]),e(d,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:function(e,t){if(!t.recoverable){var n=new Error(e);throw n.hash=t,n}this.trace(e)},parse:function(e){var t=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",l=0,u=0,c=a.slice.call(arguments,1),h=Object.create(this.lexer),d={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(d.yy[p]=this.yy[p]);h.setInput(e,d.yy),d.yy.lexer=h,d.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var g=h.yylloc;a.push(g);var f=h.options&&h.options.ranges;"function"==typeof d.yy.parseError?this.parseError=d.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var v,y,m,b,x,w,E,T,_,A={};;){if(y=n[n.length-1],this.defaultActions[y]?m=this.defaultActions[y]:(null==v&&(_=void 0,"number"!=typeof(_=r.pop()||h.lex()||1)&&(_ instanceof Array&&(_=(r=_).pop()),_=t.symbols_[_]||_),v=_),m=o[y]&&o[y][v]),void 0===m||!m.length||!m[0]){var C="";for(x in T=[],o[y])this.terminals_[x]&&x>2&&T.push("'"+this.terminals_[x]+"'");C=h.showPosition?"Parse error on line "+(l+1)+":\n"+h.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[v]||v)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==v?"end of input":"'"+(this.terminals_[v]||v)+"'"),this.parseError(C,{text:h.match,token:this.terminals_[v]||v,line:h.yylineno,loc:g,expected:T})}if(m[0]instanceof Array&&m.length>1)throw new Error("Parse Error: multiple actions possible at state: "+y+", token: "+v);switch(m[0]){case 1:n.push(v),i.push(h.yytext),a.push(h.yylloc),n.push(m[1]),v=null,u=h.yyleng,s=h.yytext,l=h.yylineno,g=h.yylloc;break;case 2:if(w=this.productions_[m[1]][1],A.$=i[i.length-w],A._$={first_line:a[a.length-(w||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(w||1)].first_column,last_column:a[a.length-1].last_column},f&&(A._$.range=[a[a.length-(w||1)].range[0],a[a.length-1].range[1]]),void 0!==(b=this.performAction.apply(A,[s,u,l,d.yy,m[1],i,a].concat(c))))return b;w&&(n=n.slice(0,-1*w*2),i=i.slice(0,-1*w),a=a.slice(0,-1*w)),n.push(this.productions_[m[1]][0]),i.push(A.$),a.push(A._$),E=o[n[n.length-2]][n[n.length-1]],n.push(E);break;case 3:return!0}}return!0}},m=function(){return{EOF:1,parseError:function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)}, +// resets the lexer, sets new input +setInput:function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this}, +// consumes and returns one char from the input +input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e}, +// unshifts one char (or a string) into the input +unput:function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this}, +// When called from action, caches matched text and appends it on next action +more:function(){return this._more=!0,this}, +// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead. +reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})}, +// retain first n characters of the match +less:function(e){this.unput(this.match.slice(e))}, +// displays already matched input, i.e. for error messages +pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")}, +// displays upcoming input, i.e. for error messages +upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")}, +// displays the character position where the lexing error occurred, i.e. for error messages +showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"}, +// test the lexed token: return FALSE when not a match, otherwise return token +test_match:function(e,t){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1}, +// return next match in input +next:function(){if(this.done)return this.EOF;var e,t,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!t||n[0].length>t[0].length)){if(t=n,r=a,this.options.backtrack_lexer){if(!1!==(e=this.test_match(n,i[a])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,i[r]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})}, +// return next match that has a token +lex:function(){var e=this.next();return e||this.lex()}, +// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack) +begin:function(e){this.conditionStack.push(e)}, +// pop the previously active lexer condition state off the condition stack +popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]}, +// produce the lexer rule set which is active for the currently active lexer condition state +_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules}, +// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available +topState:function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"}, +// alias for begin(condition) +pushState:function(e){this.begin(e)}, +// return the number of states currently on the stack +stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(e,t,n,r){switch(n){case 0:e.getLogger().trace("Found comment",t.yytext);break;case 1:return 8;case 2:this.begin("CLASS");break;case 3:return this.popState(),16;case 4:case 23:this.popState();break;case 5:e.getLogger().trace("Begin icon"),this.begin("ICON");break;case 6:return e.getLogger().trace("SPACELINE"),6;case 7:return 7;case 8:return 15;case 9:e.getLogger().trace("end icon"),this.popState();break;case 10:return e.getLogger().trace("Exploding node"),this.begin("NODE"),19;case 11:return e.getLogger().trace("Cloud"),this.begin("NODE"),19;case 12:return e.getLogger().trace("Explosion Bang"),this.begin("NODE"),19;case 13:return e.getLogger().trace("Cloud Bang"),this.begin("NODE"),19;case 14:case 15:case 16:case 17:return this.begin("NODE"),19;case 18:return 13;case 19:return 22;case 20:return 11;case 21:e.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 22:return e.getLogger().trace("description:",t.yytext),"NODE_DESCR";case 24:return this.popState(),e.getLogger().trace("node end ))"),"NODE_DEND";case 25:return this.popState(),e.getLogger().trace("node end )"),"NODE_DEND";case 26:return this.popState(),e.getLogger().trace("node end ...",t.yytext),"NODE_DEND";case 27:case 30:case 31:return this.popState(),e.getLogger().trace("node end (("),"NODE_DEND";case 28:case 29:return this.popState(),e.getLogger().trace("node end (-"),"NODE_DEND";case 32:case 33:return e.getLogger().trace("Long description:",t.yytext),20}},rules:[/^(?:\s*%%.*)/i,/^(?:mindmap\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\-\)\{\}]+)/i,/^(?:$)/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{CLASS:{rules:[3,4],inclusive:!1},ICON:{rules:[8,9],inclusive:!1},NSTR:{rules:[22,23],inclusive:!1},NODE:{rules:[21,24,25,26,27,28,29,30,31,32,33],inclusive:!1},INITIAL:{rules:[0,1,2,5,6,7,10,11,12,13,14,15,16,17,18,19,20],inclusive:!0}}}}();function b(){this.yy={}}return y.lexer=m,b.prototype=y,y.Parser=b,new b}();E.parser=E;const T=E,_=n=>e(n,t());let A=[],C=0,D={};const N={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},S=(e,t)=>{D[e]=t},L=e=>{switch(e){case N.DEFAULT:return"no-border";case N.RECT:return"rect";case N.ROUNDED_RECT:return"rounded-rect";case N.CIRCLE:return"circle";case N.CLOUD:return"cloud";case N.BANG:return"bang";case N.HEXAGON:return"hexgon";default:return"no-border"}};let P;const I=e=>D[e],k=Object.freeze(Object.defineProperty({__proto__:null,addNode:(e,r,i,a)=>{n.info("addNode",e,r,i,a);const o=t(),s={id:C++,nodeId:_(r),level:e,descr:_(i),type:a,children:[],width:t().mindmap.maxNodeWidth};switch(s.type){case N.ROUNDED_RECT:case N.RECT:case N.HEXAGON:s.padding=2*o.mindmap.padding;break;default:s.padding=o.mindmap.padding}const l=function(e){for(let t=A.length-1;t>=0;t--)if(A[t].level<e)return A[t];return null}(e);if(l)l.children.push(s),A.push(s);else{if(0!==A.length){let e=new Error('There can be only one root. No parent could be found for ("'+s.descr+'")');throw e.hash={text:"branch "+name,token:"branch "+name,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"checkout '+name+'"']},e}A.push(s)}},clear:()=>{A=[],C=0,D={}},decorateNode:e=>{const t=A[A.length-1];e&&e.icon&&(t.icon=_(e.icon)),e&&e.class&&(t.class=_(e.class))},getElementById:I,getLogger:()=>n,getMindmap:()=>A.length>0?A[0]:null,getNodeById:e=>A[e],getType:(e,t)=>{switch(n.debug("In get type",e,t),e){case"[":return N.RECT;case"(":return")"===t?N.ROUNDED_RECT:N.CLOUD;case"((":return N.CIRCLE;case")":return N.CLOUD;case"))":return N.BANG;case"{{":return N.HEXAGON;default:return N.DEFAULT}},nodeType:N,get parseError(){return P},sanitizeText:_,setElementForId:S,setErrorHandler:e=>{P=e},type2Str:L},Symbol.toStringTag,{value:"Module"}));function M(e,t){e.each((function(){var e,n=r(this),i=n.text().split(/(\s+|<br>)/).reverse(),a=[],o=n.attr("y"),s=parseFloat(n.attr("dy")),l=n.text(null).append("tspan").attr("x",0).attr("y",o).attr("dy",s+"em");for(let r=0;r<i.length;r++)e=i[i.length-1-r],a.push(e),l.text(a.join(" ").trim()),(l.node().getComputedTextLength()>t||"<br>"===e)&&(a.pop(),l.text(a.join(" ").trim()),a="<br>"===e?[""]:[e],l=n.append("tspan").attr("x",0).attr("y",o).attr("dy","1.1em").text(e))}))}const R=function(e,t,n,r){const i=n%11,a=e.append("g");t.section=i;let o="section-"+i;i<0&&(o+=" section-root"),a.attr("class",(t.class?t.class+" ":"")+"mindmap-node "+o);const s=a.append("g"),l=a.append("g"),u=l.append("text").text(t.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(M,t.width).node().getBBox(),c=r.fontSize.replace?r.fontSize.replace("px",""):r.fontSize;if(t.height=u.height+1.1*c*.5+t.padding,t.width=u.width+2*t.padding,t.icon)if(t.type===N.CIRCLE){t.height+=50,t.width+=50;a.append("foreignObject").attr("height","50px").attr("width",t.width).attr("style","text-align: center;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+i+" "+t.icon),l.attr("transform","translate("+t.width/2+", "+(t.height/2-1.5*t.padding)+")")}else{t.width+=50;const e=t.height;t.height=Math.max(e,60);const n=Math.abs(t.height-e);a.append("foreignObject").attr("width","60px").attr("height",t.height).attr("style","text-align: center;margin-top:"+n/2+"px;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+i+" "+t.icon),l.attr("transform","translate("+(25+t.width/2)+", "+(n/2+t.padding/2)+")")}else l.attr("transform","translate("+t.width/2+", "+t.padding/2+")");switch(t.type){case N.DEFAULT:!function(e,t,n){e.append("path").attr("id","node-"+t.id).attr("class","node-bkg node-"+L(t.type)).attr("d",`M0 ${t.height-5} v${10-t.height} q0,-5 5,-5 h${t.width-10} q5,0 5,5 v${t.height-5} H0 Z`),e.append("line").attr("class","node-line-"+n).attr("x1",0).attr("y1",t.height).attr("x2",t.width).attr("y2",t.height)}(s,t,i);break;case N.ROUNDED_RECT:!function(e,t){e.append("rect").attr("id","node-"+t.id).attr("class","node-bkg node-"+L(t.type)).attr("height",t.height).attr("rx",t.padding).attr("ry",t.padding).attr("width",t.width)}(s,t);break;case N.RECT:!function(e,t){e.append("rect").attr("id","node-"+t.id).attr("class","node-bkg node-"+L(t.type)).attr("height",t.height).attr("width",t.width)}(s,t);break;case N.CIRCLE:s.attr("transform","translate("+t.width/2+", "+ +t.height/2+")"),function(e,t){e.append("circle").attr("id","node-"+t.id).attr("class","node-bkg node-"+L(t.type)).attr("r",t.width/2)}(s,t);break;case N.CLOUD:!function(e,t){const n=t.width,r=t.height,i=.15*n,a=.25*n,o=.35*n,s=.2*n;e.append("path").attr("id","node-"+t.id).attr("class","node-bkg node-"+L(t.type)).attr("d",`M0 0 a${i},${i} 0 0,1 ${.25*n},${-1*n*.1}\n a${o},${o} 1 0,1 ${.4*n},${-1*n*.1}\n a${a},${a} 1 0,1 ${.35*n},${1*n*.2}\n\n a${i},${i} 1 0,1 ${.15*n},${1*r*.35}\n a${s},${s} 1 0,1 ${-1*n*.15},${1*r*.65}\n\n a${a},${i} 1 0,1 ${-1*n*.25},${.15*n}\n a${o},${o} 1 0,1 ${-1*n*.5},0\n a${i},${i} 1 0,1 ${-1*n*.25},${-1*n*.15}\n\n a${i},${i} 1 0,1 ${-1*n*.1},${-1*r*.35}\n a${s},${s} 1 0,1 ${.1*n},${-1*r*.65}\n\n H0 V0 Z`)}(s,t);break;case N.BANG:!function(e,t){const n=t.width,r=t.height,i=.15*n;e.append("path").attr("id","node-"+t.id).attr("class","node-bkg node-"+L(t.type)).attr("d",`M0 0 a${i},${i} 1 0,0 ${.25*n},${-1*r*.1}\n a${i},${i} 1 0,0 ${.25*n},0\n a${i},${i} 1 0,0 ${.25*n},0\n a${i},${i} 1 0,0 ${.25*n},${1*r*.1}\n\n a${i},${i} 1 0,0 ${.15*n},${1*r*.33}\n a${.8*i},${.8*i} 1 0,0 0,${1*r*.34}\n a${i},${i} 1 0,0 ${-1*n*.15},${1*r*.33}\n\n a${i},${i} 1 0,0 ${-1*n*.25},${.15*r}\n a${i},${i} 1 0,0 ${-1*n*.25},0\n a${i},${i} 1 0,0 ${-1*n*.25},0\n a${i},${i} 1 0,0 ${-1*n*.25},${-1*r*.15}\n\n a${i},${i} 1 0,0 ${-1*n*.1},${-1*r*.33}\n a${.8*i},${.8*i} 1 0,0 0,${-1*r*.34}\n a${i},${i} 1 0,0 ${.1*n},${-1*r*.33}\n\n H0 V0 Z`)}(s,t);break;case N.HEXAGON:!function(e,t){const n=t.height,r=n/4,i=t.width-t.padding+2*r;!function(e,t,n,r,i){e.insert("polygon",":first-child").attr("points",r.map((function(e){return e.x+","+e.y})).join(" ")).attr("transform","translate("+(i.width-t)/2+", "+n+")")}(e,i,n,[{x:r,y:0},{x:i-r,y:0},{x:i,y:-n/2},{x:i-r,y:-n},{x:r,y:-n},{x:0,y:-n/2}],t)}(s,t)}return S(t.id,a),t.height},O=function(e){const t=I(e.id),n=e.x||0,r=e.y||0;t.attr("transform","translate("+n+","+r+")")};function B(e,t,n,r){R(e,t,n,r),t.children&&t.children.forEach(((t,i)=>{B(e,t,n<0?i:n,r)}))}function F(e,t,n,r){t.add({group:"nodes",data:{id:e.id,labelText:e.descr,height:e.height,width:e.width,level:r,nodeId:e.id,padding:e.padding,type:e.type},position:{x:e.x,y:e.y}}),e.children&&e.children.forEach((i=>{F(i,t,n,r+1),t.add({group:"edges",data:{id:`${e.id}_${i.id}`,source:e.id,target:i.id,depth:r,section:i.section}})}))}function z(e,t){return new Promise((i=>{const a=r("body").append("div").attr("id","cy").attr("style","display:none"),o=d({container:document.getElementById("cy"), +// container to render in +style:[{selector:"edge",style:{"curve-style":"bezier"}}]});a.remove(),F(e,o,t,0),o.nodes().forEach((function(e){e.layoutDimensions=()=>{const t=e.data();return{w:t.width,h:t.height}}})),o.layout({name:"cose-bilkent",quality:"proof", +// headless: true, +styleEnabled:!1,animate:!1}).run(),o.ready((e=>{n.info("Ready",e),i(o)}))}))}d.use(w);const G={db:k,renderer:{draw:async(e,a,o,s)=>{const l=t();s.db.clear(),s.parser.parse(e),n.debug("Renering info diagram\n"+e);const u=t().securityLevel;let c;"sandbox"===u&&(c=r("#i"+a));const h=r("sandbox"===u?c.nodes()[0].contentDocument.body:"body").select("#"+a);h.append("g");const d=s.db.getMindmap(),p=h.append("g");p.attr("class","mindmap-edges");const g=h.append("g");g.attr("class","mindmap-nodes"),B(g,d,-1,l);const f=await z(d,l);!function(e,t){t.edges().map(((t,r)=>{const i=t.data();if(t[0]._private.bodyBounds){const a=t[0]._private.rscratch;n.trace("Edge: ",r,i),e.insert("path").attr("d",`M ${a.startX},${a.startY} L ${a.midX},${a.midY} L${a.endX},${a.endY} `).attr("class","edge section-edge-"+i.section+" edge-depth-"+i.depth)}}))}(p,f),function(e){e.nodes().map(((e,t)=>{const r=e.data();r.x=e.position().x,r.y=e.position().y,O(r);const i=I(r.nodeId);n.info("Id:",t,"Position: (",e.position().x,", ",e.position().y,")",r),i.attr("transform",`translate(${e.position().x-r.width/2}, ${e.position().y-r.height/2})`),i.attr("attr",`apa-${t})`)}))}(f),i(void 0,h,l.mindmap.padding,l.mindmap.useMaxWidth)}},parser:T,styles:e=>`\n .edge {\n stroke-width: 3;\n }\n ${(e=>{let t="";for(let n=0;n<e.THEME_COLOR_LIMIT;n++)e["lineColor"+n]=e["lineColor"+n]||e["cScaleInv"+n],u(e["lineColor"+n])?e["lineColor"+n]=a(e["lineColor"+n],20):e["lineColor"+n]=o(e["lineColor"+n],20);for(let n=0;n<e.THEME_COLOR_LIMIT;n++){const r=""+(17-3*n);t+=`\n .section-${n-1} rect, .section-${n-1} path, .section-${n-1} circle, .section-${n-1} polygon, .section-${n-1} path {\n fill: ${e["cScale"+n]};\n }\n .section-${n-1} text {\n fill: ${e["cScaleLabel"+n]};\n }\n .node-icon-${n-1} {\n font-size: 40px;\n color: ${e["cScaleLabel"+n]};\n }\n .section-edge-${n-1}{\n stroke: ${e["cScale"+n]};\n }\n .edge-depth-${n-1}{\n stroke-width: ${r};\n }\n .section-${n-1} line {\n stroke: ${e["cScaleInv"+n]} ;\n stroke-width: 3;\n }\n\n .disabled, .disabled circle, .disabled text {\n fill: lightgray;\n }\n .disabled text {\n fill: #efefef;\n }\n `}return t})(e)}\n .section-root rect, .section-root path, .section-root circle, .section-root polygon {\n fill: ${e.git0};\n }\n .section-root text {\n fill: ${e.gitBranchLabel0};\n }\n .icon-container {\n height:100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n .edge {\n fill: none;\n }\n`};export{G as diagram}; diff --git a/.output/public/assets/plus-CEvO8XVn.js b/.output/public/assets/plus-CEvO8XVn.js new file mode 100644 index 0000000000000000000000000000000000000000..0eaf3e09ca5cf9ee164a38728f13c6579048d51e --- /dev/null +++ b/.output/public/assets/plus-CEvO8XVn.js @@ -0,0 +1 @@ +import{d as e,b as t,H as r,I as n,J as o}from"./main-DzSNOqOC.js";function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var c={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M13 6.5V11h4.5v2H13v4.5h-2V13H6.5v-2H11V6.5h2z"}}]},i=e({name:"PlusIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,o){var{attrs:s}=o,i=t((()=>e.size)),{className:l,style:p}=r(i),u=t((()=>["t-icon","t-icon-plus",l.value])),v=t((()=>a(a({},p.value),s.style))),O=t((()=>({class:u.value,style:v.value,onClick:t=>{var r;return null===(r=e.onClick)||void 0===r?void 0:r.call(e,{e:t})}})));return()=>n(c,O.value)}});export{i as p}; diff --git a/.output/public/assets/prism-DmrxnvMA.js b/.output/public/assets/prism-DmrxnvMA.js new file mode 100644 index 0000000000000000000000000000000000000000..519fe2729d79a9d1026743087bbcc9a5f1a9c2f6 --- /dev/null +++ b/.output/public/assets/prism-DmrxnvMA.js @@ -0,0 +1,453 @@ +import{ce as e,c1 as t}from"./main-DzSNOqOC.js";function n(e,t){for(var n=0;n<t.length;n++){const a=t[n];if("string"!=typeof a&&!Array.isArray(a))for(const t in a)if("default"!==t&&!(t in e)){const n=Object.getOwnPropertyDescriptor(a,t);n&&Object.defineProperty(e,t,n.get?n:{enumerable:!0,get:()=>a[t]})}}return Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}var a,r={exports:{}};var s,i,o=(a||(a=1,s=r,i=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,a={},r={ +/** + * By default, Prism will attempt to highlight all code elements (by calling {@link Prism.highlightAll}) on the + * current page after the page finished loading. This might be a problem if e.g. you wanted to asynchronously load + * additional languages or plugins yourself. + * + * By setting this value to `true`, Prism will not automatically highlight all code elements on the page. + * + * You obviously have to change this value before the automatic highlighting started. To do this, you can add an + * empty Prism object into the global scope before loading the Prism script like this: + * + * ```js + * window.Prism = window.Prism || {}; + * Prism.manual = true; + * // add a new <script> to load Prism's script + * ``` + * + * @default false + * @type {boolean} + * @memberof Prism + * @public + */ +manual:e.Prism&&e.Prism.manual, +/** + * By default, if Prism is in a web worker, it assumes that it is in a worker it created itself, so it uses + * `addEventListener` to communicate with its parent instance. However, if you're using Prism manually in your + * own worker, you don't want it to do this. + * + * By setting this value to `true`, Prism will not add its own listeners to the worker. + * + * You obviously have to change this value before Prism executes. To do this, you can add an + * empty Prism object into the global scope before loading the Prism script like this: + * + * ```js + * window.Prism = window.Prism || {}; + * Prism.disableWorkerMessageHandler = true; + * // Load Prism's script + * ``` + * + * @default false + * @type {boolean} + * @memberof Prism + * @public + */ +disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler, +/** + * A namespace for utility methods. + * + * All function in this namespace that are not explicitly marked as _public_ are for __internal use only__ and may + * change or disappear at any time. + * + * @namespace + * @memberof Prism + */ +util:{encode:function e(t){return t instanceof s?new s(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")}, +/** + * Returns the name of the type of the given value. + * + * @param {any} o + * @returns {string} + * @example + * type(null) === 'Null' + * type(undefined) === 'Undefined' + * type(123) === 'Number' + * type('foo') === 'String' + * type(true) === 'Boolean' + * type([1, 2]) === 'Array' + * type({}) === 'Object' + * type(String) === 'Function' + * type(/abc+/) === 'RegExp' + */ +type:function(e){return Object.prototype.toString.call(e).slice(8,-1)}, +/** + * Returns a unique number for the given object. Later calls will still return the same number. + * + * @param {Object} obj + * @returns {number} + */ +objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++n}),e.__id}, +/** + * Creates a deep clone of the given object. + * + * The main intended use of this function is to clone language definitions. + * + * @param {T} o + * @param {Record<number, any>} [visited] + * @returns {T} + * @template T + */ +clone:function e(t,n){var a,s;switch(n=n||{},r.util.type(t)){case"Object":if(s=r.util.objId(t),n[s])return n[s];for(var i in a=/** @type {Record<string, any>} */ +{},n[s]=a,t)t.hasOwnProperty(i)&&(a[i]=e(t[i],n)); +/** @type {any} */ +return a;case"Array":return s=r.util.objId(t),n[s]?n[s]:(a=[],n[s]=a, +/** @type {Array} */ +/** @type {any} */ +t.forEach((function(t,r){a[r]=e(t,n)})), +/** @type {any} */a);default:return t}}, +/** + * Returns the Prism language of the given element set by a `language-xxxx` or `lang-xxxx` class. + * + * If no language is set for the element or the element is `null` or `undefined`, `none` will be returned. + * + * @param {Element} element + * @returns {string} + */ +getLanguage:function(e){for(;e;){var n=t.exec(e.className);if(n)return n[1].toLowerCase();e=e.parentElement}return"none"}, +/** + * Sets the Prism `language-xxxx` class of the given element. + * + * @param {Element} element + * @param {string} language + * @returns {void} + */ +setLanguage:function(e,n){e.className=e.className.replace(RegExp(t,"gi"),""),e.classList.add("language-"+n)}, +/** + * Returns the script element that is currently executing. + * + * This does __not__ work for line script element. + * + * @returns {HTMLScriptElement | null} + */ +currentScript:function(){if("undefined"==typeof document)return null;if("currentScript"in document) +/** @type {any} */ +return document.currentScript;try{throw new Error}catch(a){var e=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(a.stack)||[])[1];if(e){var t=document.getElementsByTagName("script");for(var n in t)if(t[n].src==e)return t[n]}return null}}, +/** + * Returns whether a given class is active for `element`. + * + * The class can be activated if `element` or one of its ancestors has the given class and it can be deactivated + * if `element` or one of its ancestors has the negated version of the given class. The _negated version_ of the + * given class is just the given class with a `no-` prefix. + * + * Whether the class is active is determined by the closest ancestor of `element` (where `element` itself is + * closest ancestor) that has the given class or the negated version of it. If neither `element` nor any of its + * ancestors have the given class or the negated version of it, then the default activation will be returned. + * + * In the paradoxical situation where the closest ancestor contains __both__ the given class and the negated + * version of it, the class is considered active. + * + * @param {Element} element + * @param {string} className + * @param {boolean} [defaultActivation=false] + * @returns {boolean} + */ +isActive:function(e,t,n){for(var a="no-"+t;e;){var r=e.classList;if(r.contains(t))return!0;if(r.contains(a))return!1;e=e.parentElement}return!!n}}, +/** + * This namespace contains all currently loaded languages and the some helper functions to create and modify languages. + * + * @namespace + * @memberof Prism + * @public + */ +languages:{ +/** + * The grammar for plain, unformatted text. + */ +plain:a,plaintext:a,text:a,txt:a, +/** + * Creates a deep copy of the language with the given id and appends the given tokens. + * + * If a token in `redef` also appears in the copied language, then the existing token in the copied language + * will be overwritten at its original position. + * + * ## Best practices + * + * Since the position of overwriting tokens (token in `redef` that overwrite tokens in the copied language) + * doesn't matter, they can technically be in any order. However, this can be confusing to others that trying to + * understand the language definition because, normally, the order of tokens matters in Prism grammars. + * + * Therefore, it is encouraged to order overwriting tokens according to the positions of the overwritten tokens. + * Furthermore, all non-overwriting tokens should be placed after the overwriting ones. + * + * @param {string} id The id of the language to extend. This has to be a key in `Prism.languages`. + * @param {Grammar} redef The new tokens to append. + * @returns {Grammar} The new language created. + * @public + * @example + * Prism.languages['css-with-colors'] = Prism.languages.extend('css', { + * // Prism.languages.css already has a 'comment' token, so this token will overwrite CSS' 'comment' token + * // at its original position + * 'comment': { ... }, + * // CSS doesn't have a 'color' token, so this token will be appended + * 'color': /\b(?:red|green|blue)\b/ + * }); + */ +extend:function(e,t){var n=r.util.clone(r.languages[e]);for(var a in t)n[a]=t[a];return n}, +/** + * Inserts tokens _before_ another token in a language definition or any other grammar. + * + * ## Usage + * + * This helper method makes it easy to modify existing languages. For example, the CSS language definition + * not only defines CSS highlighting for CSS documents, but also needs to define highlighting for CSS embedded + * in HTML through `<style>` elements. To do this, it needs to modify `Prism.languages.markup` and add the + * appropriate tokens. However, `Prism.languages.markup` is a regular JavaScript object literal, so if you do + * this: + * + * ```js + * Prism.languages.markup.style = { + * // token + * }; + * ``` + * + * then the `style` token will be added (and processed) at the end. `insertBefore` allows you to insert tokens + * before existing tokens. For the CSS example above, you would use it like this: + * + * ```js + * Prism.languages.insertBefore('markup', 'cdata', { + * 'style': { + * // token + * } + * }); + * ``` + * + * ## Special cases + * + * If the grammars of `inside` and `insert` have tokens with the same name, the tokens in `inside`'s grammar + * will be ignored. + * + * This behavior can be used to insert tokens after `before`: + * + * ```js + * Prism.languages.insertBefore('markup', 'comment', { + * 'comment': Prism.languages.markup.comment, + * // tokens after 'comment' + * }); + * ``` + * + * ## Limitations + * + * The main problem `insertBefore` has to solve is iteration order. Since ES2015, the iteration order for object + * properties is guaranteed to be the insertion order (except for integer keys) but some browsers behave + * differently when keys are deleted and re-inserted. So `insertBefore` can't be implemented by temporarily + * deleting properties which is necessary to insert at arbitrary positions. + * + * To solve this problem, `insertBefore` doesn't actually insert the given tokens into the target object. + * Instead, it will create a new object and replace all references to the target object with the new one. This + * can be done without temporarily deleting properties, so the iteration order is well-defined. + * + * However, only references that can be reached from `Prism.languages` or `insert` will be replaced. I.e. if + * you hold the target object in a variable, then the value of the variable will not change. + * + * ```js + * var oldMarkup = Prism.languages.markup; + * var newMarkup = Prism.languages.insertBefore('markup', 'comment', { ... }); + * + * assert(oldMarkup !== Prism.languages.markup); + * assert(newMarkup === Prism.languages.markup); + * ``` + * + * @param {string} inside The property of `root` (e.g. a language id in `Prism.languages`) that contains the + * object to be modified. + * @param {string} before The key to insert before. + * @param {Grammar} insert An object containing the key-value pairs to be inserted. + * @param {Object<string, any>} [root] The object containing `inside`, i.e. the object that contains the + * object to be modified. + * + * Defaults to `Prism.languages`. + * @returns {Grammar} The new grammar object. + * @public + */ +insertBefore:function(e,t,n,a){var s=(a=a||/** @type {any} */ +r.languages)[e],i={};for(var o in s)if(s.hasOwnProperty(o)){if(o==t)for(var l in n)n.hasOwnProperty(l)&&(i[l]=n[l]);n.hasOwnProperty(o)||(i[o]=s[o])}var u=a[e];return a[e]=i,r.languages.DFS(r.languages,(function(t,n){n===u&&t!=e&&(this[t]=i)})),i}, +// Traverse a language definition with Depth First Search +DFS:function e(t,n,a,s){s=s||{};var i=r.util.objId;for(var o in t)if(t.hasOwnProperty(o)){n.call(t,o,t[o],a||o);var l=t[o],u=r.util.type(l);"Object"!==u||s[i(l)]?"Array"!==u||s[i(l)]||(s[i(l)]=!0,e(l,n,o,s)):(s[i(l)]=!0,e(l,n,null,s))}}},plugins:{}, +/** + * This is the most high-level function in Prism’s API. + * It fetches all the elements that have a `.language-xxxx` class and then calls {@link Prism.highlightElement} on + * each one of them. + * + * This is equivalent to `Prism.highlightAllUnder(document, async, callback)`. + * + * @param {boolean} [async=false] Same as in {@link Prism.highlightAllUnder}. + * @param {HighlightCallback} [callback] Same as in {@link Prism.highlightAllUnder}. + * @memberof Prism + * @public + */ +highlightAll:function(e,t){r.highlightAllUnder(document,e,t)}, +/** + * Fetches all the descendants of `container` that have a `.language-xxxx` class and then calls + * {@link Prism.highlightElement} on each one of them. + * + * The following hooks will be run: + * 1. `before-highlightall` + * 2. `before-all-elements-highlight` + * 3. All hooks of {@link Prism.highlightElement} for each element. + * + * @param {ParentNode} container The root element, whose descendants that have a `.language-xxxx` class will be highlighted. + * @param {boolean} [async=false] Whether each element is to be highlighted asynchronously using Web Workers. + * @param {HighlightCallback} [callback] An optional callback to be invoked on each element after its highlighting is done. + * @memberof Prism + * @public + */ +highlightAllUnder:function(e,t,n){var a={callback:n,container:e,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};r.hooks.run("before-highlightall",a),a.elements=Array.prototype.slice.apply(a.container.querySelectorAll(a.selector)),r.hooks.run("before-all-elements-highlight",a);for(var s,i=0;s=a.elements[i++];)r.highlightElement(s,!0===t,a.callback)}, +/** + * Highlights the code inside a single element. + * + * The following hooks will be run: + * 1. `before-sanity-check` + * 2. `before-highlight` + * 3. All hooks of {@link Prism.highlight}. These hooks will be run by an asynchronous worker if `async` is `true`. + * 4. `before-insert` + * 5. `after-highlight` + * 6. `complete` + * + * Some the above hooks will be skipped if the element doesn't contain any text or there is no grammar loaded for + * the element's language. + * + * @param {Element} element The element containing the code. + * It must have a class of `language-xxxx` to be processed, where `xxxx` is a valid language identifier. + * @param {boolean} [async=false] Whether the element is to be highlighted asynchronously using Web Workers + * to improve performance and avoid blocking the UI when highlighting very large chunks of code. This option is + * [disabled by default](https://prismjs.com/faq.html#why-is-asynchronous-highlighting-disabled-by-default). + * + * Note: All language definitions required to highlight the code must be included in the main `prism.js` file for + * asynchronous highlighting to work. You can build your own bundle on the + * [Download page](https://prismjs.com/download.html). + * @param {HighlightCallback} [callback] An optional callback to be invoked after the highlighting is done. + * Mostly useful when `async` is `true`, since in that case, the highlighting is done asynchronously. + * @memberof Prism + * @public + */ +highlightElement:function(t,n,a){var s=r.util.getLanguage(t),i=r.languages[s];r.util.setLanguage(t,s);var o=t.parentElement;o&&"pre"===o.nodeName.toLowerCase()&&r.util.setLanguage(o,s);var l={element:t,language:s,grammar:i,code:t.textContent};function u(e){l.highlightedCode=e,r.hooks.run("before-insert",l),l.element.innerHTML=l.highlightedCode,r.hooks.run("after-highlight",l),r.hooks.run("complete",l),a&&a.call(l.element)}if(r.hooks.run("before-sanity-check",l),(o=l.element.parentElement)&&"pre"===o.nodeName.toLowerCase()&&!o.hasAttribute("tabindex")&&o.setAttribute("tabindex","0"),!l.code)return r.hooks.run("complete",l),void(a&&a.call(l.element));if(r.hooks.run("before-highlight",l),l.grammar)if(n&&e.Worker){var g=new Worker(r.filename);g.onmessage=function(e){u(e.data)},g.postMessage(JSON.stringify({language:l.language,code:l.code,immediateClose:!0}))}else u(r.highlight(l.code,l.grammar,l.language));else u(r.util.encode(l.code))}, +/** + * Low-level function, only use if you know what you’re doing. It accepts a string of text as input + * and the language definitions to use, and returns a string with the HTML produced. + * + * The following hooks will be run: + * 1. `before-tokenize` + * 2. `after-tokenize` + * 3. `wrap`: On each {@link Token}. + * + * @param {string} text A string with the code to be highlighted. + * @param {Grammar} grammar An object containing the tokens to use. + * + * Usually a language definition like `Prism.languages.markup`. + * @param {string} language The name of the language definition passed to `grammar`. + * @returns {string} The highlighted HTML. + * @memberof Prism + * @public + * @example + * Prism.highlight('var foo = true;', Prism.languages.javascript, 'javascript'); + */ +highlight:function(e,t,n){var a={code:e,grammar:t,language:n};if(r.hooks.run("before-tokenize",a),!a.grammar)throw new Error('The language "'+a.language+'" has no grammar.');return a.tokens=r.tokenize(a.code,a.grammar),r.hooks.run("after-tokenize",a),s.stringify(r.util.encode(a.tokens),a.language)}, +/** + * This is the heart of Prism, and the most low-level function you can use. It accepts a string of text as input + * and the language definitions to use, and returns an array with the tokenized code. + * + * When the language definition includes nested tokens, the function is called recursively on each of these tokens. + * + * This method could be useful in other contexts as well, as a very crude parser. + * + * @param {string} text A string with the code to be highlighted. + * @param {Grammar} grammar An object containing the tokens to use. + * + * Usually a language definition like `Prism.languages.markup`. + * @returns {TokenStream} An array of strings and tokens, a token stream. + * @memberof Prism + * @public + * @example + * let code = `var foo = 0;`; + * let tokens = Prism.tokenize(code, Prism.languages.javascript); + * tokens.forEach(token => { + * if (token instanceof Prism.Token && token.type === 'number') { + * console.log(`Found numeric literal: ${token.content}`); + * } + * }); + */ +tokenize:function(e,t){var n=t.rest;if(n){for(var a in n)t[a]=n[a];delete t.rest}var r=new l;return u(r,r.head,e),o(e,r,t,r.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(r)}, +/** + * @namespace + * @memberof Prism + * @public + */ +hooks:{all:{}, +/** + * Adds the given callback to the list of callbacks for the given hook. + * + * The callback will be invoked when the hook it is registered for is run. + * Hooks are usually directly run by a highlight function but you can also run hooks yourself. + * + * One callback function can be registered to multiple hooks and the same hook multiple times. + * + * @param {string} name The name of the hook. + * @param {HookCallback} callback The callback function which is given environment variables. + * @public + */ +add:function(e,t){var n=r.hooks.all;n[e]=n[e]||[],n[e].push(t)}, +/** + * Runs a hook invoking all registered callbacks with the given environment variables. + * + * Callbacks will be invoked synchronously and in the order in which they were registered. + * + * @param {string} name The name of the hook. + * @param {Object<string, any>} env The environment variables of the hook passed to all callbacks registered. + * @public + */ +run:function(e,t){var n=r.hooks.all[e];if(n&&n.length)for(var a,s=0;a=n[s++];)a(t)}},Token:s};function s(e,t,n,a){this.type=e,this.content=t,this.alias=n,this.length=0|(a||"").length}function i(e,t,n,a){e.lastIndex=t;var r=e.exec(n);if(r&&a&&r[1]){var s=r[1].length;r.index+=s,r[0]=r[0].slice(s)}return r}function o(e,t,n,a,l,c){for(var d in n)if(n.hasOwnProperty(d)&&n[d]){var p=n[d];p=Array.isArray(p)?p:[p];for(var h=0;h<p.length;++h){if(c&&c.cause==d+","+h)return;var f=p[h],m=f.inside,v=!!f.lookbehind,b=!!f.greedy,y=f.alias;if(b&&!f.pattern.global){var x=f.pattern.toString().match(/[imsuy]*$/)[0];f.pattern=RegExp(f.pattern.source,x+"g")}for(var F=f.pattern||f,k=a.next,w=l;k!==t.tail&&!(c&&w>=c.reach);w+=k.value.length,k=k.next){var A=k.value;if(t.length>e.length)return;if(!(A instanceof s)){var $,S=1;if(b){if(!($=i(F,w,e,v))||$.index>=e.length)break;var E=$.index,_=$.index+$[0].length,j=w;for(j+=k.value.length;E>=j;)j+=(k=k.next).value.length;if(w=j-=k.value.length,k.value instanceof s)continue;for(var O=k;O!==t.tail&&(j<_||"string"==typeof O.value);O=O.next)S++,j+=O.value.length;S--,A=e.slice(w,j),$.index-=w}else if(!($=i(F,0,A,v)))continue;E=$.index;var C=$[0],L=A.slice(0,E),P=A.slice(E+C.length),z=w+A.length;c&&z>c.reach&&(c.reach=z);var T=k.prev;if(L&&(T=u(t,T,L),w+=L.length),g(t,T,S),k=u(t,T,new s(d,m?r.tokenize(C,m):C,y,C)),P&&u(t,k,P),S>1){var M={cause:d+","+h,reach:z};o(e,t,n,k.prev,w,M),c&&M.reach>c.reach&&(c.reach=M.reach)}}}}}}function l(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function u(e,t,n){var a=t.next,r={value:n,prev:t,next:a};return t.next=r,a.prev=r,e.length++,r}function g(e,t,n){for(var a=t.next,r=0;r<n&&a!==e.tail;r++)a=a.next;t.next=a,a.prev=t,e.length-=r}if(e.Prism=r,s.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var a="";return t.forEach((function(t){a+=e(t,n)})),a}var s={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},i=t.alias;i&&(Array.isArray(i)?Array.prototype.push.apply(s.classes,i):s.classes.push(i)),r.hooks.run("wrap",s);var o="";for(var l in s.attributes)o+=" "+l+'="'+(s.attributes[l]||"").replace(/"/g,""")+'"';return"<"+s.tag+' class="'+s.classes.join(" ")+'"'+o+">"+s.content+"</"+s.tag+">"},!e.document)return e.addEventListener?(r.disableWorkerMessageHandler||e.addEventListener("message",(function(t){var n=JSON.parse(t.data),a=n.language,s=n.code,i=n.immediateClose;e.postMessage(r.highlight(s,r.languages[a],a)),i&&e.close()}),!1),r):r;var c=r.util.currentScript();function d(){r.manual||r.highlightAll()}if(c&&(r.filename=c.src,c.hasAttribute("data-manual")&&(r.manual=!0)),!r.manual){var p=document.readyState;"loading"===p||"interactive"===p&&c&&c.defer?document.addEventListener("DOMContentLoaded",d):window.requestAnimationFrame?window.requestAnimationFrame(d):window.setTimeout(d,16)}return r}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{}),s.exports&&(s.exports=i),void 0!==e&&(e.Prism=i),i.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{ +// https://www.w3.org/TR/xml/#NT-doctypedecl +pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},i.languages.markup.tag.inside["attr-value"].inside.entity=i.languages.markup.entity,i.languages.markup.doctype.inside["internal-subset"].inside=i.languages.markup,i.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(i.languages.markup.tag,"addInlined",{ +/** + * Adds an inlined language to markup. + * + * An example of an inlined language is CSS with `<style>` tags. + * + * @param {string} tagName The name of the tag that contains the inlined language. This name will be treated as + * case insensitive. + * @param {string} lang The language key. + * @example + * addInlined('style', 'css'); + */ +value:function(e,t){var n={};n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:i.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var a={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};a["language-"+t]={pattern:/[\s\S]+/,inside:i.languages[t]};var r={};r[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:a},i.languages.insertBefore("markup","cdata",r)}}),Object.defineProperty(i.languages.markup.tag,"addAttribute",{ +/** + * Adds an pattern to highlight languages embedded in HTML attributes. + * + * An example of an inlined language is CSS with `style` attributes. + * + * @param {string} attrName The name of the tag that contains the inlined language. This name will be treated as + * case insensitive. + * @param {string} lang The language key. + * @example + * addAttribute('style', 'css'); + */ +value:function(e,t){i.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:i.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),i.languages.html=i.languages.markup,i.languages.mathml=i.languages.markup,i.languages.svg=i.languages.markup,i.languages.xml=i.languages.extend("markup",{}),i.languages.ssml=i.languages.xml,i.languages.atom=i.languages.xml,i.languages.rss=i.languages.xml,function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{ +// https://drafts.csswg.org/css-values-3/#urls +pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(i),i.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},i.languages.javascript=i.languages.extend("clike",{"class-name":[i.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}], +// Allow for all non-ASCII characters (See http://stackoverflow.com/a/2008444) +function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+// constant +/NaN|Infinity/.source+"|"+// binary integer +/0[bB][01]+(?:_[01]+)*n?/.source+"|"+// octal integer +/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+// hexadecimal integer +/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+// decimal bigint +/\d+(?:_\d+)*n/.source+"|"+// decimal number (integer or float) but no bigint +/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),i.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,i.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp( +// lookbehind +// eslint-disable-next-line regexp/no-dupe-characters-character-class +/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+// Regex pattern: +// There are 2 regex patterns here. The RegExp set notation proposal added support for nested character +// classes if the `v` flag is present. Unfortunately, nested CCs are both context-free and incompatible +// with the only syntax, so we have to define 2 different regex patterns. +/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+// `v` flag syntax. This supports 3 levels of nested character classes. +/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+// lookahead +/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:i.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}}, +// This must be declared before keyword because we use "function" inside the look-forward +"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:i.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:i.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:i.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:i.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),i.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:i.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),i.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),i.languages.markup&&(i.languages.markup.tag.addInlined("script","javascript"),i.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),i.languages.js=i.languages.javascript,function(){if(void 0!==i&&"undefined"!=typeof document){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var e={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},t="data-src-status",n="loading",a="loaded",r="pre[data-src]:not(["+t+'="'+a+'"]):not(['+t+'="'+n+'"])';i.hooks.add("before-highlightall",(function(e){e.selector+=", "+r})),i.hooks.add("before-sanity-check",(function(s){var o= +/** @type {HTMLPreElement} */s.element;if(o.matches(r)){s.code="",o.setAttribute(t,n);var l=o.appendChild(document.createElement("CODE"));l.textContent="Loading…";var u=o.getAttribute("data-src"),g=s.language;if("none"===g){var c=(/\.(\w+)$/.exec(u)||[,"none"])[1];g=e[c]||c}i.util.setLanguage(l,g),i.util.setLanguage(o,g);var d=i.plugins.autoloader;d&&d.loadLanguages(g),function(e,t,n){var a=new XMLHttpRequest;a.open("GET",e,!0),a.onreadystatechange=function(){4==a.readyState&&(a.status<400&&a.responseText?t(a.responseText):a.status>=400?n("✖ Error "+a.status+" while fetching file: "+a.statusText):n("✖ Error: File does not exist or is empty"))},a.send(null)}(u,(function(e){o.setAttribute(t,a);var n=function(e){var t=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(e||"");if(t){var n=Number(t[1]),a=t[2],r=t[3];return a?r?[n,Number(r)]:[n,void 0]:[n,n]}}(o.getAttribute("data-range"));if(n){var r=e.split(/\r\n?|\n/g),s=n[0],u=null==n[1]?r.length:n[1];s<0&&(s+=r.length),s=Math.max(0,Math.min(s-1,r.length)),u<0&&(u+=r.length),u=Math.max(0,Math.min(u,r.length)),e=r.slice(s,u).join("\n"),o.hasAttribute("data-start")||o.setAttribute("data-start",String(s+1))}l.textContent=e,i.highlightElement(l)}),(function(e){o.setAttribute(t,"failed"),l.textContent=e}))}})),i.plugins.fileHighlight={ +/** + * Executes the File Highlight plugin for all matching `pre` elements under the given container. + * + * Note: Elements which are already loaded or currently loading will not be touched by this method. + * + * @param {ParentNode} [container=document] + */ +highlight:function(e){for(var t,n=(e||document).querySelectorAll(r),a=0;t=n[a++];)i.highlightElement(t)}};var s=!1;i.fileHighlight=function(){s||(s=!0),i.plugins.fileHighlight.highlight.apply(this,arguments)}}}()),r.exports);const l=n({__proto__:null,default:t(o)},[o]);export{l as p}; diff --git a/.output/public/assets/refresh-BD1L4aGQ.js b/.output/public/assets/refresh-BD1L4aGQ.js new file mode 100644 index 0000000000000000000000000000000000000000..9de21416165ad1fc7e29d25aff51b11c426f32df --- /dev/null +++ b/.output/public/assets/refresh-BD1L4aGQ.js @@ -0,0 +1 @@ +import{d as e,b as t,H as r,I as n,J as o}from"./main-DzSNOqOC.js";function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var c={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M20.5 5.83A10.49 10.49 0 001.56 10.9l-.1.99 1.98.2.1-.99a8.5 8.5 0 0115.67-3.6H15.5v2h7v-7h-2v3.33zm.06 6.07l-.1 1a8.5 8.5 0 01-15.67 3.6H8.5v-2h-7v7h2v-3.33a10.48 10.48 0 0018.94-5.07l.1-.99-1.98-.2z"}}]},l=e({name:"RefreshIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,o){var{attrs:a}=o,l=t((()=>e.size)),{className:i,style:p}=r(l),u=t((()=>["t-icon","t-icon-refresh",i.value])),v=t((()=>s(s({},p.value),a.style))),f=t((()=>({class:u.value,style:v.value,onClick:t=>{var r;return null===(r=e.onClick)||void 0===r?void 0:r.call(e,{e:t})}})));return()=>n(c,f.value)}});export{l as r}; diff --git a/.output/public/assets/timeline-definition-8e5a9bc6-DaVWbYt5.js b/.output/public/assets/timeline-definition-8e5a9bc6-DaVWbYt5.js new file mode 100644 index 0000000000000000000000000000000000000000..fcfb530608b6d737ee4078c624b51198d94c31c6 --- /dev/null +++ b/.output/public/assets/timeline-definition-8e5a9bc6-DaVWbYt5.js @@ -0,0 +1,39 @@ +import{w as t,x as e,y as i,g as n,l as s,f as r,h as a,z as o,B as c,C as l}from"./CodeBlocks.vue_vue_type_style_index_0_lang-CexE7E14.js";import{i as h}from"./is_dark-MhuX2or3.js";import"./main-DzSNOqOC.js";import"./fetch-C6zEckB6.js";import"./debounce-DjqSSMbT.js";import"./refresh-BD1L4aGQ.js";import"./copy-CaDk54_k.js";import"./ChatInput.vue_vue_type_style_index_0_lang-D4A8Ko3p.js";import"./index-DmWclHlm.js";import"./index-BuIb9tIA.js";import"./index-CjKlnN2e.js";import"./dep-916b902f-BLs2dxx4.js";import"./index-Kxldlx3l.js";import"./v4-_R2nDvl_.js";var d=function(){var t=function(t,e,i,n){for(i=i||{},n=t.length;n--;i[t[n]]=e);return i},e=[1,2],i=[1,5],n=[6,9,11,17,18,20,22,23,26,27,28],s=[1,15],r=[1,16],a=[1,17],o=[1,18],c=[1,19],l=[1,23],h=[1,24],d=[1,27],u=[4,6,9,11,17,18,20,22,23,26,27,28],p={trace:function(){},yy:{},symbols_:{error:2,start:3,timeline:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,title:17,acc_title:18,acc_title_value:19,acc_descr:20,acc_descr_value:21,acc_descr_multiline_value:22,section:23,period_statement:24,event_statement:25,period:26,event:27,open_directive:28,type_directive:29,arg_directive:30,close_directive:31,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",17:"title",18:"acc_title",19:"acc_title_value",20:"acc_descr",21:"acc_descr_value",22:"acc_descr_multiline_value",23:"section",26:"period",27:"event",28:"open_directive",29:"type_directive",30:"arg_directive",31:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,2],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[24,1],[25,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(t,e,i,n,s,r,a){var o=r.length-1;switch(s){case 1:return r[o-1];case 3:case 7:case 8:this.$=[];break;case 4:r[o-1].push(r[o]),this.$=r[o-1];break;case 5:case 6:this.$=r[o];break;case 11:n.getCommonDb().setDiagramTitle(r[o].substr(6)),this.$=r[o].substr(6);break;case 12:this.$=r[o].trim(),n.getCommonDb().setAccTitle(this.$);break;case 13:case 14:this.$=r[o].trim(),n.getCommonDb().setAccDescription(this.$);break;case 15:n.addSection(r[o].substr(8)),this.$=r[o].substr(8);break;case 19:n.addTask(r[o],0,""),this.$=r[o];break;case 20:n.addEvent(r[o].substr(2)),this.$=r[o];break;case 21:n.parseDirective("%%{","open_directive");break;case 22:n.parseDirective(r[o],"type_directive");break;case 23:r[o]=r[o].trim().replace(/'/g,'"'),n.parseDirective(r[o],"arg_directive");break;case 24:n.parseDirective("}%%","close_directive","timeline")}},table:[{3:1,4:e,7:3,12:4,28:i},{1:[3]},t(n,[2,3],{5:6}),{3:7,4:e,7:3,12:4,28:i},{13:8,29:[1,9]},{29:[2,21]},{6:[1,10],7:22,8:11,9:[1,12],10:13,11:[1,14],12:4,17:s,18:r,20:a,22:o,23:c,24:20,25:21,26:l,27:h,28:i},{1:[2,2]},{14:25,15:[1,26],31:d},t([15,31],[2,22]),t(n,[2,8],{1:[2,1]}),t(n,[2,4]),{7:22,10:28,12:4,17:s,18:r,20:a,22:o,23:c,24:20,25:21,26:l,27:h,28:i},t(n,[2,6]),t(n,[2,7]),t(n,[2,11]),{19:[1,29]},{21:[1,30]},t(n,[2,14]),t(n,[2,15]),t(n,[2,16]),t(n,[2,17]),t(n,[2,18]),t(n,[2,19]),t(n,[2,20]),{11:[1,31]},{16:32,30:[1,33]},{11:[2,24]},t(n,[2,5]),t(n,[2,12]),t(n,[2,13]),t(u,[2,9]),{14:34,31:d},{31:[2,23]},{11:[1,35]},t(u,[2,10])],defaultActions:{5:[2,21],7:[2,2],27:[2,24],33:[2,23]},parseError:function(t,e){if(!e.recoverable){var i=new Error(t);throw i.hash=e,i}this.trace(t)},parse:function(t){var e=this,i=[0],n=[],s=[null],r=[],a=this.table,o="",c=0,l=0,h=r.slice.call(arguments,1),d=Object.create(this.lexer),u={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(u.yy[p]=this.yy[p]);d.setInput(t,u.yy),u.yy.lexer=d,u.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var g=d.yylloc;r.push(g);var y=d.options&&d.options.ranges;"function"==typeof u.yy.parseError?this.parseError=u.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var f,m,_,b,v,k,x,S,w,$={};;){if(m=i[i.length-1],this.defaultActions[m]?_=this.defaultActions[m]:(null==f&&(w=void 0,"number"!=typeof(w=n.pop()||d.lex()||1)&&(w instanceof Array&&(w=(n=w).pop()),w=e.symbols_[w]||w),f=w),_=a[m]&&a[m][f]),void 0===_||!_.length||!_[0]){var E="";for(v in S=[],a[m])this.terminals_[v]&&v>2&&S.push("'"+this.terminals_[v]+"'");E=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+S.join(", ")+", got '"+(this.terminals_[f]||f)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==f?"end of input":"'"+(this.terminals_[f]||f)+"'"),this.parseError(E,{text:d.match,token:this.terminals_[f]||f,line:d.yylineno,loc:g,expected:S})}if(_[0]instanceof Array&&_.length>1)throw new Error("Parse Error: multiple actions possible at state: "+m+", token: "+f);switch(_[0]){case 1:i.push(f),s.push(d.yytext),r.push(d.yylloc),i.push(_[1]),f=null,l=d.yyleng,o=d.yytext,c=d.yylineno,g=d.yylloc;break;case 2:if(k=this.productions_[_[1]][1],$.$=s[s.length-k],$._$={first_line:r[r.length-(k||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(k||1)].first_column,last_column:r[r.length-1].last_column},y&&($._$.range=[r[r.length-(k||1)].range[0],r[r.length-1].range[1]]),void 0!==(b=this.performAction.apply($,[o,l,c,u.yy,_[1],s,r].concat(h))))return b;k&&(i=i.slice(0,-1*k*2),s=s.slice(0,-1*k),r=r.slice(0,-1*k)),i.push(this.productions_[_[1]][0]),s.push($.$),r.push($._$),x=a[i[i.length-2]][i[i.length-1]],i.push(x);break;case 3:return!0}}return!0}},g=function(){return{EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)}, +// resets the lexer, sets new input +setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this}, +// consumes and returns one char from the input +input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t}, +// unshifts one char (or a string) into the input +unput:function(t){var e=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var s=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===n.length?this.yylloc.first_column:0)+n[n.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[s[0],s[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this}, +// When called from action, caches matched text and appends it on next action +more:function(){return this._more=!0,this}, +// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead. +reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})}, +// retain first n characters of the match +less:function(t){this.unput(this.match.slice(t))}, +// displays already matched input, i.e. for error messages +pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")}, +// displays upcoming input, i.e. for error messages +upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")}, +// displays the character position where the lexing error occurred, i.e. for error messages +showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"}, +// test the lexed token: return FALSE when not a match, otherwise return token +test_match:function(t,e){var i,n,s;if(this.options.backtrack_lexer&&(s={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(s.yylloc.range=this.yylloc.range.slice(0))),(n=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],i=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack){for(var r in s)this[r]=s[r];return!1}return!1}, +// return next match in input +next:function(){if(this.done)return this.EOF;var t,e,i,n;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var s=this._currentRules(),r=0;r<s.length;r++)if((i=this._input.match(this.rules[s[r]]))&&(!e||i[0].length>e[0].length)){if(e=i,n=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(i,s[r])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,s[n]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})}, +// return next match that has a token +lex:function(){var t=this.next();return t||this.lex()}, +// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack) +begin:function(t){this.conditionStack.push(t)}, +// pop the previously active lexer condition state off the condition stack +popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]}, +// produce the lexer rule set which is active for the currently active lexer condition state +_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules}, +// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available +topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"}, +// alias for begin(condition) +pushState:function(t){this.begin(t)}, +// return the number of states currently on the stack +stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,i,n){switch(i){case 0:return this.begin("open_directive"),28;case 1:return this.begin("type_directive"),29;case 2:return this.popState(),this.begin("arg_directive"),15;case 3:return this.popState(),this.popState(),31;case 4:return 30;case 5:case 6:case 8:case 9:break;case 7:return 11;case 10:return 4;case 11:return 17;case 12:return this.begin("acc_title"),18;case 13:return this.popState(),"acc_title_value";case 14:return this.begin("acc_descr"),20;case 15:return this.popState(),"acc_descr_value";case 16:this.begin("acc_descr_multiline");break;case 17:this.popState();break;case 18:return"acc_descr_multiline_value";case 19:return 23;case 20:return 27;case 21:return 26;case 22:return 6;case 23:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:timeline\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^#:\n;]+)/i,/^(?::\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?:$)/i,/^(?:.)/i],conditions:{open_directive:{rules:[1],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},acc_descr_multiline:{rules:[17,18],inclusive:!1},acc_descr:{rules:[15],inclusive:!1},acc_title:{rules:[13],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,11,12,14,16,19,20,21,22,23],inclusive:!0}}}}();function y(){this.yy={}}return p.lexer=g,y.prototype=p,p.Parser=y,new y}();d.parser=d;const u=d;let p="",g=0;const y=[],f=[],m=[],_=()=>t,b=(t,i,n)=>{e(globalThis,t,i,n)},v=function(){y.length=0,f.length=0,p="",m.length=0,i()},k=function(t){p=t,y.push(t)},x=function(){return y},S=function(){let t=I();let e=0;for(;!t&&e<100;)t=I(),e++;return f.push(...m),f},w=function(t,e,i){const n={id:g++,section:p,type:p,task:t,score:e||0, +//if event is defined, then add it the events array +events:i?[i]:[]};m.push(n)},$=function(t){m.find((t=>t.id===g-1)).events.push(t)},E=function(t){const e={section:p,type:p,description:t,task:t,classes:[]};f.push(e)},I=function(){let t=!0;for(const[e,i]of m.entries())m[e].processed,t=t&&i.processed;return t},j={clear:v,getCommonDb:_,addSection:k,getSections:x,getTasks:S,addTask:w,addTaskOrg:E,addEvent:$,parseDirective:b},T=Object.freeze(Object.defineProperty({__proto__:null,addEvent:$,addSection:k,addTask:w,addTaskOrg:E,clear:v,default:j,getCommonDb:_,getSections:x,getTasks:S,parseDirective:b},Symbol.toStringTag,{value:"Module"}));function D(t,e){t.each((function(){var t,i=r(this),n=i.text().split(/(\s+|<br>)/).reverse(),s=[],a=i.attr("y"),o=parseFloat(i.attr("dy")),c=i.text(null).append("tspan").attr("x",0).attr("y",a).attr("dy",o+"em");for(let r=0;r<n.length;r++)t=n[n.length-1-r],s.push(t),c.text(s.join(" ").trim()),(c.node().getComputedTextLength()>e||"<br>"===t)&&(s.pop(),c.text(s.join(" ").trim()),s="<br>"===t?[""]:[t],c=i.append("tspan").attr("x",0).attr("y",a).attr("dy","1.1em").text(t))}))}const C=function(t,e,i){t.append("path").attr("id","node-"+e.id).attr("class","node-bkg node-"+e.type).attr("d",`M0 ${e.height-5} v${10-e.height} q0,-5 5,-5 h${e.width-10} q5,0 5,5 v${e.height-5} H0 Z`),t.append("line").attr("class","node-line-"+i).attr("x1",0).attr("y1",e.height).attr("x2",e.width).attr("y2",e.height)},L=function(t){t.append("defs").append("marker").attr("id","arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z")},M=function(t,e,i,n){const s=i%12-1,r=t.append("g");e.section=s,r.attr("class",(e.class?e.class+" ":"")+"timeline-node section-"+s);const a=r.append("g"),o=r.append("g"),c=o.append("text").text(e.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(D,e.width).node().getBBox(),l=n.fontSize&&n.fontSize.replace?n.fontSize.replace("px",""):n.fontSize;return e.height=c.height+1.1*l*.5+e.padding,e.height=Math.max(e.height,e.maxHeight),e.width=e.width+2*e.padding,o.attr("transform","translate("+e.width/2+", "+e.padding/2+")"),C(a,e,s),e},A=function(t,e,i){const n=t.append("g"),s=n.append("text").text(e.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(D,e.width).node().getBBox(),r=i.fontSize&&i.fontSize.replace?i.fontSize.replace("px",""):i.fontSize;return n.remove(),s.height+1.1*r*.5+e.padding},O=function(t,e,i,r,a,o,c,l,h,d,u){for(const p of e){const e={descr:p.task,section:i,number:i,width:150,padding:20,maxHeight:o};s.debug("taskNode",e);const l=t.append("g").attr("class","taskWrapper"),g=M(l,e,i,c).height;if(s.debug("taskHeight after draw",g),l.attr("transform",`translate(${r}, ${a})`),o=Math.max(o,g),p.events){const e=t.append("g").attr("class","lineWrapper");let n=o;a+=100,n+=H(t,p.events,i,r,a,c),a-=100,e.append("line").attr("x1",r+95).attr("y1",a+o).attr("x2",r+95).attr("y2",a+o+(u?o:d)+h+120).attr("stroke-width",2).attr("stroke","black").attr("marker-end","url(#arrowhead)").attr("stroke-dasharray","5,5")}r+=200,u&&!n().timeline.disableMulticolor&&i++}a-=10},H=function(t,e,i,n,r,a){let o=0;const c=r;r+=100;for(const l of e){const e={descr:l,section:i,number:i,width:150,padding:20,maxHeight:50};s.debug("eventNode",e);const c=t.append("g").attr("class","eventWrapper"),h=M(c,e,i,a).height;o+=h,c.attr("transform",`translate(${n}, ${r})`),r=r+10+h}return r=c,o},z={db:T,renderer:{setConf:function(t){Object.keys(t).forEach((function(e){conf[e]=t[e]}))},draw:function(t,e,i,o){const c=n(),l=c.leftMargin?c.leftMargin:50;o.db.clear(),o.parser.parse(t+"\n"),s.debug("timeline",o.db);const h=c.securityLevel;let d;"sandbox"===h&&(d=r("#i"+e));const u=r("sandbox"===h?d.nodes()[0].contentDocument.body:"body").select("#"+e);u.append("g");const p=o.db.getTasks(),g=o.db.getCommonDb().getDiagramTitle();s.debug("task",p),L(u);const y=o.db.getSections();s.debug("sections",y);let f=0,m=0,_=0,b=0,v=50+l,k=50;b=50;let x=0,S=!0;y.forEach((function(t){const e=A(u,{number:x,descr:t,section:x,width:150,padding:20,maxHeight:f},c);s.debug("sectionHeight before draw",e),f=Math.max(f,e+20)}));let w=0,$=0;s.debug("tasks.length",p.length);for(const[n,r]of p.entries()){const t={number:n,descr:r,section:r.section,width:150,padding:20,maxHeight:m},e=A(u,t,c);s.debug("taskHeight before draw",e),m=Math.max(m,e+20),w=Math.max(w,r.events.length);let i=0;for(let n=0;n<r.events.length;n++){const t={descr:r.events[n],section:r.section,number:r.section,width:150,padding:20,maxHeight:50};i+=A(u,t,c)}$=Math.max($,i)}s.debug("maxSectionHeight before draw",f),s.debug("maxTaskHeight before draw",m),y&&y.length>0?y.forEach((t=>{const e={number:x,descr:t,section:x,width:150,padding:20,maxHeight:f};s.debug("sectionNode",e);const i=u.append("g"),n=M(i,e,x,c);s.debug("sectionNode output",n),i.attr("transform",`translate(${v}, 50)`),k+=f+50;const r=p.filter((e=>e.section===t));r.length>0&&O(u,r,x,v,k,m,c,w,$,f,!1),v+=200*Math.max(r.length,1),k=50,x++})):(S=!1,O(u,p,x,v,k,m,c,w,$,f,!0));const E=u.node().getBBox();s.debug("bounds",E),g&&u.append("text").text(g).attr("x",E.width/2-l).attr("font-size","4ex").attr("font-weight","bold").attr("y",20),_=S?f+m+150:m+100;u.append("g").attr("class","lineWrapper").append("line").attr("x1",l).attr("y1",_).attr("x2",E.width+3*l).attr("y2",_).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)"),a(void 0,u,c.timeline.padding?c.timeline.padding:50,!!c.timeline.useMaxWidth&&c.timeline.useMaxWidth)}},parser:u,styles:t=>`\n .edge {\n stroke-width: 3;\n }\n ${(t=>{let e="";for(let i=0;i<t.THEME_COLOR_LIMIT;i++)t["lineColor"+i]=t["lineColor"+i]||t["cScaleInv"+i],h(t["lineColor"+i])?t["lineColor"+i]=o(t["lineColor"+i],20):t["lineColor"+i]=c(t["lineColor"+i],20);for(let i=0;i<t.THEME_COLOR_LIMIT;i++){const n=""+(17-3*i);e+=`\n .section-${i-1} rect, .section-${i-1} path, .section-${i-1} circle, .section-${i-1} path {\n fill: ${t["cScale"+i]};\n }\n .section-${i-1} text {\n fill: ${t["cScaleLabel"+i]};\n }\n .node-icon-${i-1} {\n font-size: 40px;\n color: ${t["cScaleLabel"+i]};\n }\n .section-edge-${i-1}{\n stroke: ${t["cScale"+i]};\n }\n .edge-depth-${i-1}{\n stroke-width: ${n};\n }\n .section-${i-1} line {\n stroke: ${t["cScaleInv"+i]} ;\n stroke-width: 3;\n }\n\n .lineWrapper line{\n stroke: ${t["cScaleLabel"+i]} ;\n }\n\n .disabled, .disabled circle, .disabled text {\n fill: lightgray;\n }\n .disabled text {\n fill: #efefef;\n }\n `}return e})(t)}\n .section-root rect, .section-root path, .section-root circle {\n fill: ${t.git0};\n }\n .section-root text {\n fill: ${t.gitBranchLabel0};\n }\n .icon-container {\n height:100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n .edge {\n fill: none;\n }\n .eventWrapper {\n filter: brightness(120%);\n }\n`};export{z as diagram}; diff --git a/.output/public/assets/useVirtualScrollNew-1P66tHNg.js b/.output/public/assets/useVirtualScrollNew-1P66tHNg.js new file mode 100644 index 0000000000000000000000000000000000000000..34335009331286a890302a60c552694cb213155c --- /dev/null +++ b/.output/public/assets/useVirtualScrollNew-1P66tHNg.js @@ -0,0 +1 @@ +import{d as e,b as t,H as a,I as l,J as n,j as r,au as i,bJ as u,w as o,at as v,ap as c,bK as s,bL as f}from"./main-DzSNOqOC.js";function d(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,l)}return a}function h(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?d(Object(a),!0).forEach((function(t){n(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):d(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var g={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M16.83 1.42l5.75 5.75L7.75 22H2v-5.75L16.83 1.42zm0 8.68l2.92-2.93-2.92-2.93-2.93 2.93 2.93 2.93zm-4.34-1.51L4 17.07V20h2.93l8.48-8.49L12.5 8.6z"}}]},p=e({name:"Edit1Icon",props:{size:{type:String},onClick:{type:Function}},setup(e,n){var{attrs:r}=n,i=t((()=>e.size)),{className:u,style:o}=a(i),v=t((()=>["t-icon","t-icon-edit-1",u.value])),c=t((()=>h(h({},o.value),r.style))),s=t((()=>({class:v.value,style:c.value,onClick:t=>{var a;return null===(a=e.onClick)||void 0===a?void 0:a.call(e,{e:t})}})));return()=>l(g,s.value)}}),b=f;var w=function(e,t,a){for(var l=-1,n=e.length;++l<n;){var r=e[l],i=t(r);if(null!=i&&(void 0===u?i==i&&!b(i):a(i,u)))var u=i,o=r}return o};var m=w,y=function(e,t){return e>t},O=s;var R=function(e){return e&&e.length?m(e,O,y):void 0};var j=w,x=function(e,t){return e<t},H=s;var S=function(e){return e&&e.length?j(e,H,x):void 0};var z=function(e,t){for(var a,l=-1,n=e.length;++l<n;){var r=t(e[l]);void 0!==r&&(a=void 0===a?r:a+r)}return a},L=s;var I=function(e){return e&&e.length?z(e,L):0},C=function(e,a){var l,n,s=r([]),f=r(((null===(l=a.value.data)||void 0===l?void 0:l.length)||0)*((null===(n=a.value.scroll)||void 0===n?void 0:n.rowHeight)||50)),d=r(0),h=[],g=r(0),p=r(0),b=r([0,15]),w=t((function(){var e,t,l=a.value.scroll;return l?{bufferSize:l.bufferSize||10,isFixedRowHeight:null!==(e=l.isFixedRowHeight)&&void 0!==e&&e,rowHeight:l.rowHeight||47,threshold:l.threshold||100,type:l.type,fixedRows:null!==(t=l.fixedRows)&&void 0!==t?t:[0,0]}:{}})),m=t((function(){var e=a.value.data;return"virtual"===w.value.type&&w.value.threshold<e.length}));var y=i((function(){var t=function(){for(var t,l,n=null!==(t=null===(l=e.value)||void 0===l?void 0:l.scrollTop)&&void 0!==t?t:0,r=w.value.fixedRows[0],i=[],u=0,o=-1,v=-1,c=0,s=0,f=a.value.data.length;s<f;s++){var d,p=null!==(d=h[s])&&void 0!==d?d:w.value.rowHeight;if((c+=p)>n&&-1===o&&(o=s)-w.value.bufferSize>0&&(u=c-p-I(i)),-1===o&&(i.push(p),i.length>w.value.bufferSize&&i.shift()),-1===v&&(c>g.value+n||s===a.value.data.length-1)&&(v=s),-1!==o&&-1!==v)break}var b=R([o-w.value.bufferSize,0]);return{startIndex:b,endIndex:S([v+w.value.bufferSize,a.value.data.length]),translateY:u-I(h.slice(0,Math.min(b,r)))}}(),l=t.startIndex,n=t.endIndex,r=t.translateY,i=w.value.fixedRows,u=c(i,2),o=u[0],v=u[1],d=o?a.value.data.slice(0,o):[];o&&l<o&&(d=d.slice(0,l));var p=v?a.value.data.slice(a.value.data.length-v):[],m=n-a.value.data.length+1+(null!=v?v:0);v&&m>0&&(p=p.slice(m)),b.value.join()!==[l,n].join()&&l>=0&&(f.value=r,s.value=d.concat(a.value.data.slice(l,n),p),b.value=[l,n])}),100),O=function(t){var a=t.index,l=t.top,n=void 0===l?0:l,r=t.behavior,i=I(h.slice(0,a+1))-n;e.value.scrollTo({top:i,behavior:r||"auto"})};return u(t((function(){return m.value?e.value:void 0})),(function(t){var l=c(t,1)[0].contentRect;if(!a.value.preventResizeRefresh){Math.abs(l.width-p.value)>16&&e.value&&(e.value.scrollTop=0,f.value=0),p.value=l.width,g.value=l.height}})),o((function(){return[v(a.value.data),w.value,m.value,e.value]}),(function(){if(m.value&&e.value){if(function(e){e.forEach((function(e,t){e.VIRTUAL_SCROLL_INDEX=t}))}(a.value.data),g.value=e.value.getBoundingClientRect().height,h.length!==a.value.data.length){var t=Array.from(h);t.length=a.value.data.length,t.fill(w.value.rowHeight||47),h=t}d.value=I(h),b.value=[0,0],y()}}),{immediate:!0}),o((function(){return g.value}),(function(){y()})),{visibleData:s,translateY:f,scrollHeight:d,isVirtualScroll:m,handleScroll:function(){m.value&&y()},handleRowMounted:function(t){var a;if(m.value&&t&&!w.value.isFixedRowHeight&&e.value){var l=(null===(a=t.ref.value)||void 0===a?void 0:a.getBoundingClientRect().height)||w.value.rowHeight,n=t.data.VIRTUAL_SCROLL_INDEX;if(h[n]!==l){var r=l-h[n];h[n]=l,d.value=d.value+r}}},scrollToElement:function(e){if(O(e),!w.value.isFixedRowHeight)var t,a=null!==(t=e.time)&&void 0!==t?t:60,l=setTimeout((function(){O(e),clearTimeout(l)}),a)}}};export{p as e,C as u}; diff --git a/.output/public/index.html b/.output/public/index.html index 4bfae87bcd2731b2d55a4204c1cfd8e709574909..394565d741aa6ed8a263894e1bebf4a801c6be67 100644 --- a/.output/public/index.html +++ b/.output/public/index.html @@ -9,10 +9,9 @@ <link rel="apple-touch-icon" href="/assets/assets-t-logo.png" sizes="180x180"> <link rel="mask-icon" href="/assets/logo.svg" color="#FFFFFF"> <meta name="theme-color" content="#ffffff"> - <script type="module" crossorigin src="./assets/main-BHXR-KLt.js"></script> - <link rel="modulepreload" crossorigin href="./assets/global-D3BYkvaa.js"> - <link rel="stylesheet" crossorigin href="./assets/global-BBPDszaw.css"> - <link rel="stylesheet" crossorigin href="./assets/main-4AdDN4UD.css"> + <link rel="manifest" href="./manifest.webmanifest" /> + <script type="module" crossorigin src="./assets/main-DzSNOqOC.js"></script> + <link rel="stylesheet" crossorigin href="./assets/main-Bexb_ehG.css"> </head> <body> <div id="app"></div> diff --git a/.output/public/manifest.webmanifest b/.output/public/manifest.webmanifest new file mode 100644 index 0000000000000000000000000000000000000000..8382583a18a2026dc436e1e9c4b385315132b89b --- /dev/null +++ b/.output/public/manifest.webmanifest @@ -0,0 +1,33 @@ +{ + "name": "SeedChat", + "short_name": "seedchat", + "start_url": "./", + "display": "standalone", + "background_color": "#ffffff", + "lang": "zh-CN", + "scope": "./", + "theme_color": "#ffffff", + "icons": [ + { + "src": "pwa-196x196.png", + "sizes": "196x196", + "type": "image/png" + }, + { + "src": "pwa-256x256.png", + "sizes": "256x256", + "type": "image/png" + }, + { + "src": "pwa-512x512.png", + "sizes": "512x512", + "type": "image/png" + }, + { + "src": "pwa-512x512.png", + "sizes": "512x512", + "type": "image/png", + "purpose": "any maskable" + } + ] +} \ No newline at end of file diff --git a/.output/public/sw.js b/.output/public/sw.js new file mode 100644 index 0000000000000000000000000000000000000000..d31cd3bf13bd3718175cfdc863b41f648d54d760 --- /dev/null +++ b/.output/public/sw.js @@ -0,0 +1,91 @@ +// 缓存名称 - 更改版本号可以强制更新缓存 +const CACHE_NAME = 'app-cache-v1740918501244'; +const ASSETS_PATTERN = /\/assets\//; +// 需要缓存的资源列表 +const urlsToCache = [ + '/', + '/index.html' + // 其他重要的静态资源可以在这里列出 +]; + +// Service Worker 安装事件 +self.addEventListener('install', (event) => { + event.waitUntil( + caches.open(CACHE_NAME) + .then((cache) => { + console.log('缓存已打开'); + return cache.addAll(urlsToCache); + }) + .then(() => { + // 强制激活当前 Service Worker,不等待旧的关闭 + return self.skipWaiting(); + }) + ); +}); + +// Service Worker 激活事件 - 清理旧缓存 +self.addEventListener('activate', (event) => { + event.waitUntil( + caches.keys().then((cacheNames) => { + return Promise.all( + cacheNames.map((cacheName) => { + if (cacheName !== CACHE_NAME) { + console.log('删除旧缓存:', cacheName); + return caches.delete(cacheName); + } + }) + ); + }).then(() => { + // 立即接管所有页面 + return self.clients.claim(); + }) + ); +}); + +self.addEventListener('fetch', (event) => { + // 只缓存 assets 目录下的文件 + if (ASSETS_PATTERN.test(event.request.url)) { + event.respondWith( + caches.match(event.request).then((cachedResponse) => { + // 返回缓存的响应(如果存在) + if (cachedResponse) { + return cachedResponse; + } + + // 否则发起网络请求 + return fetch(event.request).then((response) => { + // 检查是否获得了有效响应 + if (!response || response.status !== 200 || response.type !== 'basic') { + return response; + } + + // 克隆响应,因为响应是流,只能使用一次 + const responseToCache = response.clone(); + + caches.open(CACHE_NAME).then((cache) => { + cache.put(event.request, responseToCache); + }); + + return response; + }); + }) + ); + } else { + // 对于非assets文件,使用网络优先策略 + event.respondWith( + fetch(event.request).catch(() => { + return caches.match(event.request); + }) + ); + } +}); + + +// 接收更新消息 +//用于处理从主线程(网页)发送到 Service Worker 的消息 +self.addEventListener('message', (event) => { + //如果消息类型为 SKIP_WAITING,则允许新安装的 Service Worker 立即激活,而不必等待已打开的页面关闭。 + if (event.data && event.data.type === 'SKIP_WAITING') { + self.skipWaiting(); + } +}); diff --git a/.output/server/chunks/nitro/nitro.mjs b/.output/server/chunks/nitro/nitro.mjs index f7d9bdfa0f6baa53d5617e4707096b979aa598b5..3b485b752ce58b09d4a73bfb86a3ffc05400783a 100644 --- a/.output/server/chunks/nitro/nitro.mjs +++ b/.output/server/chunks/nitro/nitro.mjs @@ -1 +1 @@ -import e from"node:process";globalThis._importMeta_=globalThis._importMeta_||{url:"file:///_entry.js",env:e.env};import t,{Server as s}from"node:http";import o,{Server as a}from"node:https";import{promises as i,existsSync as n}from"node:fs";import{fileURLToPath as c}from"node:url";import{dirname as l,resolve as p,join as u}from"node:path";const d=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,h=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,f=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function jsonParseTransform(e,t){if(!("__proto__"===e||"constructor"===e&&t&&"object"==typeof t&&"prototype"in t))return t;!function(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}(e)}function destr(e,t={}){if("string"!=typeof e)return e;const s=e.trim();if('"'===e[0]&&e.endsWith('"')&&!e.includes("\\"))return s.slice(1,-1);if(s.length<=9){const e=s.toLowerCase();if("true"===e)return!0;if("false"===e)return!1;if("undefined"===e)return;if("null"===e)return null;if("nan"===e)return Number.NaN;if("infinity"===e)return Number.POSITIVE_INFINITY;if("-infinity"===e)return Number.NEGATIVE_INFINITY}if(!f.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(d.test(e)||h.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,jsonParseTransform)}return JSON.parse(e)}catch(s){if(t.strict)throw s;return e}}const m=/#/g,g=/&/g,y=/\//g,v=/=/g,w=/\+/g,b=/%5e/gi,_=/%60/gi,x=/%7c/gi,T=/%20/gi,j=/%2f/gi;function encodeQueryValue(e){return(t="string"==typeof e?e:JSON.stringify(e),encodeURI(""+t).replace(x,"|")).replace(w,"%2B").replace(T,"+").replace(m,"%23").replace(g,"%26").replace(_,"`").replace(b,"^").replace(y,"%2F");var t}function encodeQueryKey(e){return encodeQueryValue(e).replace(v,"%3D")}function decode(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function decodeQueryValue(e){return decode(e.replace(w," "))}function parseQuery(e=""){const t={};"?"===e[0]&&(e=e.slice(1));for(const s of e.split("&")){const e=s.match(/([^=]+)=?(.*)/)||[];if(e.length<2)continue;const o=decode(e[1].replace(w," "));if("__proto__"===o||"constructor"===o)continue;const a=decodeQueryValue(e[2]||"");void 0===t[o]?t[o]=a:Array.isArray(t[o])?t[o].push(a):t[o]=[t[o],a]}return t}function stringifyQuery(e){return Object.keys(e).filter((t=>void 0!==e[t])).map((t=>function(e,t){return"number"!=typeof t&&"boolean"!=typeof t||(t=String(t)),t?Array.isArray(t)?t.map((t=>`${encodeQueryKey(e)}=${encodeQueryValue(t)}`)).join("&"):`${encodeQueryKey(e)}=${encodeQueryValue(t)}`:encodeQueryKey(e)}(t,e[t]))).filter(Boolean).join("&")}const z=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,k=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,R=/^([/\\]\s*){2,}[^/\\]/,S=/^\.?\//;function hasProtocol(e,t={}){return"boolean"==typeof t&&(t={acceptRelative:t}),t.strict?z.test(e):k.test(e)||!!t.acceptRelative&&R.test(e)}function withoutTrailingSlash(e="",t){return(function(e=""){return e.endsWith("/")}(e)?e.slice(0,-1):e)||"/"}function withTrailingSlash(e="",t){return e.endsWith("/")?e:e+"/"}function withLeadingSlash(e=""){return function(e=""){return e.startsWith("/")}(e)?e:"/"+e}function withoutBase(e,t){if(isEmptyURL(t))return e;const s=withoutTrailingSlash(t);if(!e.startsWith(s))return e;const o=e.slice(s.length);return"/"===o[0]?o:"/"+o}function withQuery(e,t){const s=parseURL(e),o={...parseQuery(s.search),...t};return s.search=stringifyQuery(o),function(e){const t=e.pathname||"",s=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",o=e.hash||"",a=e.auth?e.auth+"@":"",i=e.host||"",n=e.protocol||e[C]?(e.protocol||"")+"//":"";return n+a+i+t+s+o}(s)}function getQuery$1(e){return parseQuery(parseURL(e).search)}function isEmptyURL(e){return!e||"/"===e}function joinURL(e,...t){let s=e||"";for(const e of t.filter((e=>function(e){return e&&"/"!==e}(e))))if(s){const t=e.replace(S,"");s=withTrailingSlash(s)+t}else s=e;return s}const C=Symbol.for("ufo:protocolRelative");function parseURL(e="",t){const s=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(s){const[,e,t=""]=s;return{protocol:e.toLowerCase(),pathname:t,href:e+t,auth:"",host:"",search:"",hash:""}}if(!hasProtocol(e,{acceptRelative:!0}))return t?parseURL(t+e):parsePath(e);const[,o="",a,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,n="",c=""]=i.match(/([^#/?]*)(.*)?/)||[];"file:"===o&&(c=c.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:l,search:p,hash:u}=parsePath(c);return{protocol:o.toLowerCase(),auth:a?a.slice(0,Math.max(0,a.length-1)):"",host:n,pathname:l,search:p,hash:u,[C]:!o}}function parsePath(e=""){const[t="",s="",o=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:s,hash:o}}const B=Object.freeze({ignoreUnknown:!1,respectType:!1,respectFunctionNames:!1,respectFunctionProperties:!1,unorderedObjects:!0,unorderedArrays:!1,unorderedSets:!1,excludeKeys:void 0,excludeValues:void 0,replacer:void 0});function objectHash(e,t){const s=createHasher(t=t?{...B,...t}:B);return s.dispatch(e),s.toString()}const E=Object.freeze(["prototype","__proto__","constructor"]);function createHasher(e){let t="",s=new Map;const write=e=>{t+=e};return{toString:()=>t,getContext:()=>s,dispatch(t){e.replacer&&(t=e.replacer(t));return this[null===t?"null":typeof t](t)},object(t){if(t&&"function"==typeof t.toJSON)return this.object(t.toJSON());const o=Object.prototype.toString.call(t);let a="";const i=o.length;a=i<10?"unknown:["+o+"]":o.slice(8,i-1),a=a.toLowerCase();let n=null;if(void 0!==(n=s.get(t)))return this.dispatch("[CIRCULAR:"+n+"]");if(s.set(t,s.size),"undefined"!=typeof Buffer&&Buffer.isBuffer&&Buffer.isBuffer(t))return write("buffer:"),write(t.toString("utf8"));if("object"!==a&&"function"!==a&&"asyncfunction"!==a)this[a]?this[a](t):e.ignoreUnknown||this.unkown(t,a);else{let s=Object.keys(t);e.unorderedObjects&&(s=s.sort());let o=[];!1===e.respectType||isNativeFunction(t)||(o=E),e.excludeKeys&&(s=s.filter((t=>!e.excludeKeys(t))),o=o.filter((t=>!e.excludeKeys(t)))),write("object:"+(s.length+o.length)+":");const dispatchForKey=s=>{this.dispatch(s),write(":"),e.excludeValues||this.dispatch(t[s]),write(",")};for(const e of s)dispatchForKey(e);for(const e of o)dispatchForKey(e)}},array(t,o){if(o=void 0===o?!1!==e.unorderedArrays:o,write("array:"+t.length+":"),!o||t.length<=1){for(const e of t)this.dispatch(e);return}const a=new Map,i=t.map((t=>{const s=createHasher(e);s.dispatch(t);for(const[e,t]of s.getContext())a.set(e,t);return s.toString()}));return s=a,i.sort(),this.array(i,!1)},date:e=>write("date:"+e.toJSON()),symbol:e=>write("symbol:"+e.toString()),unkown(e,t){if(write(t),e)return write(":"),e&&"function"==typeof e.entries?this.array(Array.from(e.entries()),!0):void 0},error:e=>write("error:"+e.toString()),boolean:e=>write("bool:"+e),string(e){write("string:"+e.length+":"),write(e)},function(t){write("fn:"),isNativeFunction(t)?this.dispatch("[native]"):this.dispatch(t.toString()),!1!==e.respectFunctionNames&&this.dispatch("function-name:"+String(t.name)),e.respectFunctionProperties&&this.object(t)},number:e=>write("number:"+e),xml:e=>write("xml:"+e.toString()),null:()=>write("Null"),undefined:()=>write("Undefined"),regexp:e=>write("regex:"+e.toString()),uint8array(e){return write("uint8array:"),this.dispatch(Array.prototype.slice.call(e))},uint8clampedarray(e){return write("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(e))},int8array(e){return write("int8array:"),this.dispatch(Array.prototype.slice.call(e))},uint16array(e){return write("uint16array:"),this.dispatch(Array.prototype.slice.call(e))},int16array(e){return write("int16array:"),this.dispatch(Array.prototype.slice.call(e))},uint32array(e){return write("uint32array:"),this.dispatch(Array.prototype.slice.call(e))},int32array(e){return write("int32array:"),this.dispatch(Array.prototype.slice.call(e))},float32array(e){return write("float32array:"),this.dispatch(Array.prototype.slice.call(e))},float64array(e){return write("float64array:"),this.dispatch(Array.prototype.slice.call(e))},arraybuffer(e){return write("arraybuffer:"),this.dispatch(new Uint8Array(e))},url:e=>write("url:"+e.toString()),map(t){write("map:");const s=[...t];return this.array(s,!1!==e.unorderedSets)},set(t){write("set:");const s=[...t];return this.array(s,!1!==e.unorderedSets)},file(e){return write("file:"),this.dispatch([e.name,e.size,e.type,e.lastModfied])},blob(){if(e.ignoreUnknown)return write("[blob]");throw new Error('Hashing Blob objects is currently not supported\nUse "options.replacer" or "options.ignoreUnknown"\n')},domwindow:()=>write("domwindow"),bigint:e=>write("bigint:"+e.toString()),process:()=>write("process"),timer:()=>write("timer"),pipe:()=>write("pipe"),tcp:()=>write("tcp"),udp:()=>write("udp"),tty:()=>write("tty"),statwatcher:()=>write("statwatcher"),securecontext:()=>write("securecontext"),connection:()=>write("connection"),zlib:()=>write("zlib"),context:()=>write("context"),nodescript:()=>write("nodescript"),httpparser:()=>write("httpparser"),dataview:()=>write("dataview"),signal:()=>write("signal"),fsevent:()=>write("fsevent"),tlswrap:()=>write("tlswrap")}}const A="[native code] }",I=A.length;function isNativeFunction(e){return"function"==typeof e&&Function.prototype.toString.call(e).slice(-I)===A}var M=Object.defineProperty,__publicField$1=(e,t,s)=>(((e,t,s)=>{t in e?M(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s})(e,"symbol"!=typeof t?t+"":t,s),s);class WordArray{constructor(e,t){__publicField$1(this,"words"),__publicField$1(this,"sigBytes"),e=this.words=e||[],this.sigBytes=void 0===t?4*e.length:t}toString(e){return(e||H).stringify(this)}concat(e){if(this.clamp(),this.sigBytes%4)for(let t=0;t<e.sigBytes;t++){const s=e.words[t>>>2]>>>24-t%4*8&255;this.words[this.sigBytes+t>>>2]|=s<<24-(this.sigBytes+t)%4*8}else for(let t=0;t<e.sigBytes;t+=4)this.words[this.sigBytes+t>>>2]=e.words[t>>>2];return this.sigBytes+=e.sigBytes,this}clamp(){this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4)}clone(){return new WordArray([...this.words])}}const H={stringify(e){const t=[];for(let s=0;s<e.sigBytes;s++){const o=e.words[s>>>2]>>>24-s%4*8&255;t.push((o>>>4).toString(16),(15&o).toString(16))}return t.join("")}},O={stringify(e){const t=[];for(let s=0;s<e.sigBytes;s+=3){const o=(e.words[s>>>2]>>>24-s%4*8&255)<<16|(e.words[s+1>>>2]>>>24-(s+1)%4*8&255)<<8|e.words[s+2>>>2]>>>24-(s+2)%4*8&255;for(let a=0;a<4&&8*s+6*a<8*e.sigBytes;a++)t.push("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".charAt(o>>>6*(3-a)&63))}return t.join("")}},K={parse(e){const t=e.length,s=[];for(let o=0;o<t;o++)s[o>>>2]|=(255&e.charCodeAt(o))<<24-o%4*8;return new WordArray(s,t)}},Z={parse:e=>K.parse(unescape(encodeURIComponent(e)))};class BufferedBlockAlgorithm{constructor(){__publicField$1(this,"_data",new WordArray),__publicField$1(this,"_nDataBytes",0),__publicField$1(this,"_minBufferSize",0),__publicField$1(this,"blockSize",16)}reset(){this._data=new WordArray,this._nDataBytes=0}_append(e){"string"==typeof e&&(e=Z.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes}_doProcessBlock(e,t){}_process(e){let t,s=this._data.sigBytes/(4*this.blockSize);s=e?Math.ceil(s):Math.max((0|s)-this._minBufferSize,0);const o=s*this.blockSize,a=Math.min(4*o,this._data.sigBytes);if(o){for(let e=0;e<o;e+=this.blockSize)this._doProcessBlock(this._data.words,e);t=this._data.words.splice(0,o),this._data.sigBytes-=a}return new WordArray(t,a)}}class Hasher extends BufferedBlockAlgorithm{update(e){return this._append(e),this._process(),this}finalize(e){e&&this._append(e)}}var N=Object.defineProperty,__publicField=(e,t,s)=>(((e,t,s)=>{t in e?N(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s})(e,t+"",s),s);const q=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],P=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],L=[];class SHA256 extends Hasher{constructor(){super(...arguments),__publicField(this,"_hash",new WordArray([...q]))}reset(){super.reset(),this._hash=new WordArray([...q])}_doProcessBlock(e,t){const s=this._hash.words;let o=s[0],a=s[1],i=s[2],n=s[3],c=s[4],l=s[5],p=s[6],u=s[7];for(let s=0;s<64;s++){if(s<16)L[s]=0|e[t+s];else{const e=L[s-15],t=(e<<25|e>>>7)^(e<<14|e>>>18)^e>>>3,o=L[s-2],a=(o<<15|o>>>17)^(o<<13|o>>>19)^o>>>10;L[s]=t+L[s-7]+a+L[s-16]}const d=o&a^o&i^a&i,h=(o<<30|o>>>2)^(o<<19|o>>>13)^(o<<10|o>>>22),f=u+((c<<26|c>>>6)^(c<<21|c>>>11)^(c<<7|c>>>25))+(c&l^~c&p)+P[s]+L[s];u=p,p=l,l=c,c=n+f|0,n=i,i=a,a=o,o=f+(h+d)|0}s[0]=s[0]+o|0,s[1]=s[1]+a|0,s[2]=s[2]+i|0,s[3]=s[3]+n|0,s[4]=s[4]+c|0,s[5]=s[5]+l|0,s[6]=s[6]+p|0,s[7]=s[7]+u|0}finalize(e){super.finalize(e);const t=8*this._nDataBytes,s=8*this._data.sigBytes;return this._data.words[s>>>5]|=128<<24-s%32,this._data.words[14+(s+64>>>9<<4)]=Math.floor(t/4294967296),this._data.words[15+(s+64>>>9<<4)]=t,this._data.sigBytes=4*this._data.words.length,this._process(),this._hash}}function hash(e,t={}){const s="string"==typeof e?e:objectHash(e,t);return(o=s,(new SHA256).finalize(o).toString(O)).slice(0,10);var o}const D=0,X=1,U=2;function createRouter$1(e={}){const t={options:e,rootNode:createRadixNode(),staticRoutesMap:{}},normalizeTrailingSlash=t=>e.strictTrailingSlash?t:t.replace(/\/$/,"")||"/";if(e.routes)for(const s in e.routes)insert(t,normalizeTrailingSlash(s),e.routes[s]);return{ctx:t,lookup:e=>function(e,t){const s=e.staticRoutesMap[t];if(s)return s.data;const o=t.split("/"),a={};let i=!1,n=null,c=e.rootNode,l=null;for(let e=0;e<o.length;e++){const t=o[e];null!==c.wildcardChildNode&&(n=c.wildcardChildNode,l=o.slice(e).join("/"));const s=c.children.get(t);if(void 0===s){if(c&&c.placeholderChildren.length>1){const t=o.length-e;c=c.placeholderChildren.find((e=>e.maxDepth===t))||null}else c=c.placeholderChildren[0]||null;if(!c)break;c.paramName&&(a[c.paramName]=t),i=!0}else c=s}null!==c&&null!==c.data||null===n||(c=n,a[c.paramName||"_"]=l,i=!0);if(!c)return null;if(i)return{...c.data,params:i?a:void 0};return c.data}(t,normalizeTrailingSlash(e)),insert:(e,s)=>insert(t,normalizeTrailingSlash(e),s),remove:e=>function(e,t){let s=!1;const o=t.split("/");let a=e.rootNode;for(const e of o)if(a=a.children.get(e),!a)return s;if(a.data){const e=o.at(-1)||"";a.data=null,0===Object.keys(a.children).length&&a.parent&&(a.parent.children.delete(e),a.parent.wildcardChildNode=null,a.parent.placeholderChildren=[]),s=!0}return s}(t,normalizeTrailingSlash(e))}}function insert(e,t,s){let o=!0;const a=t.split("/");let i=e.rootNode,n=0;const c=[i];for(const e of a){let t;if(t=i.children.get(e))i=t;else{const s=getNodeType(e);t=createRadixNode({type:s,parent:i}),i.children.set(e,t),s===U?(t.paramName="*"===e?"_"+n++:e.slice(1),i.placeholderChildren.push(t),o=!1):s===X&&(i.wildcardChildNode=t,t.paramName=e.slice(3)||"_",o=!1),c.push(t),i=t}}for(const[e,t]of c.entries())t.maxDepth=Math.max(c.length-e,t.maxDepth||0);return i.data=s,!0===o&&(e.staticRoutesMap[t]=i),i}function createRadixNode(e={}){return{type:e.type||D,maxDepth:0,parent:e.parent||null,children:new Map,data:e.data||null,paramName:e.paramName||null,wildcardChildNode:null,placeholderChildren:[]}}function getNodeType(e){return e.startsWith("**")?X:":"===e[0]||"*"===e?U:D}function toRouteMatcher(e){return function(e,t){return{ctx:{table:e},matchAll:s=>_matchRoutes(s,e,t)}}(_routerNodeToTable("",e.ctx.rootNode),e.ctx.options.strictTrailingSlash)}function _matchRoutes(e,t,s){!0!==s&&e.endsWith("/")&&(e=e.slice(0,-1)||"/");const o=[];for(const[s,a]of _sortRoutesMap(t.wildcard))(e===s||e.startsWith(s+"/"))&&o.push(a);for(const[s,a]of _sortRoutesMap(t.dynamic))if(e.startsWith(s+"/")){const t="/"+e.slice(s.length).split("/").splice(2).join("/");o.push(..._matchRoutes(t,a))}const a=t.static.get(e);return a&&o.push(a),o.filter(Boolean)}function _sortRoutesMap(e){return[...e.entries()].sort(((e,t)=>e[0].length-t[0].length))}function _routerNodeToTable(e,t){const s={static:new Map,wildcard:new Map,dynamic:new Map};return function _addNode(e,t){if(e)if(t.type!==D||e.includes("*")||e.includes(":")){if(t.type===X)s.wildcard.set(e.replace("/**",""),t.data);else if(t.type===U){const o=_routerNodeToTable("",t);return t.data&&o.static.set("/",t.data),void s.dynamic.set(e.replace(/\/\*|\/:\w+/,""),o)}}else t.data&&s.static.set(e,t.data);for(const[s,o]of t.children.entries())_addNode(`${e}/${s}`.replace("//","/"),o)}(e,t),s}function isPlainObject(e){if(null===e||"object"!=typeof e)return!1;const t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&(!(Symbol.iterator in e)&&(!(Symbol.toStringTag in e)||"[object Module]"===Object.prototype.toString.call(e)))}function _defu(e,t,s=".",o){if(!isPlainObject(t))return _defu(e,{},s,o);const a=Object.assign({},t);for(const t in e){if("__proto__"===t||"constructor"===t)continue;const i=e[t];null!=i&&(o&&o(a,t,i,s)||(Array.isArray(i)&&Array.isArray(a[t])?a[t]=[...i,...a[t]]:isPlainObject(i)&&isPlainObject(a[t])?a[t]=_defu(i,a[t],(s?`${s}.`:"")+t.toString(),o):a[t]=i))}return a}function createDefu(e){return(...t)=>t.reduce(((t,s)=>_defu(t,s,"",e)),{})}const F=createDefu(),W=createDefu(((e,t,s)=>{if(void 0!==e[t]&&"function"==typeof s)return e[t]=s(e[t]),!0}));function createNotImplementedError(e){throw new Error(`[unenv] ${e} is not implemented yet!`)}let $=10,Q=class{__unenv__=!0;_events=Object.create(null);_maxListeners;static get defaultMaxListeners(){return $}static set defaultMaxListeners(e){if("number"!=typeof e||e<0||Number.isNaN(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");$=e}setMaxListeners(e){if("number"!=typeof e||e<0||Number.isNaN(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this}getMaxListeners(){return _getMaxListeners(this)}emit(e,...t){if(!this._events[e]||0===this._events[e].length)return!1;if("error"===e){let e;if(t.length>0&&(e=t[0]),e instanceof Error)throw e;const s=new Error("Unhandled error."+(e?" ("+e.message+")":""));throw s.context=e,s}for(const s of this._events[e])(s.listener||s).apply(this,t);return!0}addListener(e,t){return _addListener(this,e,t,!1)}on(e,t){return _addListener(this,e,t,!1)}prependListener(e,t){return _addListener(this,e,t,!0)}once(e,t){return this.on(e,_wrapOnce(this,e,t))}prependOnceListener(e,t){return this.prependListener(e,_wrapOnce(this,e,t))}removeListener(e,t){return function(e,t,s){if(_checkListener(s),!e._events[t]||0===e._events[t].length)return e;const o=e._events[t].length;if(e._events[t]=e._events[t].filter((e=>e!==s)),o===e._events[t].length)return e;e._events.removeListener&&e.emit("removeListener",t,s.listener||s);0===e._events[t].length&&delete e._events[t];return e}(this,e,t)}off(e,t){return this.removeListener(e,t)}removeAllListeners(e){return function(e,t){if(!e._events[t]||0===e._events[t].length)return e;if(e._events.removeListener)for(const s of e._events[t])e.emit("removeListener",t,s.listener||s);return delete e._events[t],e}(this,e)}listeners(e){return _listeners(this,e,!0)}rawListeners(e){return _listeners(this,e,!1)}listenerCount(e){return this.rawListeners(e).length}eventNames(){return Object.keys(this._events)}};function _addListener(e,t,s,o){_checkListener(s),void 0!==e._events.newListener&&e.emit("newListener",t,s.listener||s),e._events[t]||(e._events[t]=[]),o?e._events[t].unshift(s):e._events[t].push(s);const a=_getMaxListeners(e);if(a>0&&e._events[t].length>a&&!e._events[t].warned){e._events[t].warned=!0;const s=new Error(`[unenv] Possible EventEmitter memory leak detected. ${e._events[t].length} ${t} listeners added. Use emitter.setMaxListeners() to increase limit`);s.name="MaxListenersExceededWarning",s.emitter=e,s.type=t,s.count=e._events[t]?.length,console.warn(s)}return e}function _wrapOnce(e,t,s){let o=!1;const wrapper=(...a)=>{if(!o)return e.removeListener(t,wrapper),o=!0,0===a.length?s.call(e):s.apply(e,a)};return wrapper.listener=s,wrapper}function _getMaxListeners(e){return e._maxListeners??Q.defaultMaxListeners}function _listeners(e,t,s){let o=e._events[t];return"function"==typeof o&&(o=[o]),s?o.map((e=>e.listener||e)):o}function _checkListener(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}const G=globalThis.EventEmitter||Q;class _Readable extends G{__unenv__=!0;readableEncoding=null;readableEnded=!0;readableFlowing=!1;readableHighWaterMark=0;readableLength=0;readableObjectMode=!1;readableAborted=!1;readableDidRead=!1;closed=!1;errored=null;readable=!1;destroyed=!1;static from(e,t){return new _Readable(t)}constructor(e){super()}_read(e){}read(e){}setEncoding(e){return this}pause(){return this}resume(){return this}isPaused(){return!0}unpipe(e){return this}unshift(e,t){}wrap(e){return this}push(e,t){return!1}_destroy(e,t){this.removeAllListeners()}destroy(e){return this.destroyed=!0,this._destroy(e),this}pipe(e,t){return{}}compose(e,t){throw new Error("[unenv] Method not implemented.")}[Symbol.asyncDispose](){return this.destroy(),Promise.resolve()}async*[Symbol.asyncIterator](){throw createNotImplementedError("Readable.asyncIterator")}iterator(e){throw createNotImplementedError("Readable.iterator")}map(e,t){throw createNotImplementedError("Readable.map")}filter(e,t){throw createNotImplementedError("Readable.filter")}forEach(e,t){throw createNotImplementedError("Readable.forEach")}reduce(e,t,s){throw createNotImplementedError("Readable.reduce")}find(e,t){throw createNotImplementedError("Readable.find")}findIndex(e,t){throw createNotImplementedError("Readable.findIndex")}some(e,t){throw createNotImplementedError("Readable.some")}toArray(e){throw createNotImplementedError("Readable.toArray")}every(e,t){throw createNotImplementedError("Readable.every")}flatMap(e,t){throw createNotImplementedError("Readable.flatMap")}drop(e,t){throw createNotImplementedError("Readable.drop")}take(e,t){throw createNotImplementedError("Readable.take")}asIndexedPairs(e){throw createNotImplementedError("Readable.asIndexedPairs")}}const Y=globalThis.Readable||_Readable;const J=globalThis.Writable||class extends G{__unenv__=!0;writable=!0;writableEnded=!1;writableFinished=!1;writableHighWaterMark=0;writableLength=0;writableObjectMode=!1;writableCorked=0;closed=!1;errored=null;writableNeedDrain=!1;destroyed=!1;_data;_encoding="utf-8";constructor(e){super()}pipe(e,t){return{}}_write(e,t,s){if(this.writableEnded)s&&s();else{if(void 0===this._data)this._data=e;else{const s="string"==typeof this._data?Buffer.from(this._data,this._encoding||t||"utf8"):this._data,o="string"==typeof e?Buffer.from(e,t||this._encoding||"utf8"):e;this._data=Buffer.concat([s,o])}this._encoding=t,s&&s()}}_writev(e,t){}_destroy(e,t){}_final(e){}write(e,t,s){const o="string"==typeof t?this._encoding:"utf-8",a="function"==typeof t?t:"function"==typeof s?s:void 0;return this._write(e,o,a),!0}setDefaultEncoding(e){return this}end(e,t,s){const o="function"==typeof e?e:"function"==typeof t?t:"function"==typeof s?s:void 0;if(this.writableEnded)return o&&o(),this;const a=e===o?void 0:e;if(a){const e=t===o?void 0:t;this.write(a,e,o)}return this.writableEnded=!0,this.writableFinished=!0,this.emit("close"),this.emit("finish"),this}cork(){}uncork(){}destroy(e){return this.destroyed=!0,delete this._data,this.removeAllListeners(),this}compose(e,t){throw new Error("[h3] Method not implemented.")}},V=class{allowHalfOpen=!0;_destroy;constructor(e=new Y,t=new J){Object.assign(this,e),Object.assign(this,t),this._destroy=function(...e){return function(...t){for(const s of e)s(...t)}}(e._destroy,t._destroy)}};function getDuplex(){return Object.assign(V.prototype,Y.prototype),Object.assign(V.prototype,J.prototype),V}const ee=getDuplex(),te=globalThis.Duplex||ee;class Socket extends te{__unenv__=!0;bufferSize=0;bytesRead=0;bytesWritten=0;connecting=!1;destroyed=!1;pending=!1;localAddress="";localPort=0;remoteAddress="";remoteFamily="";remotePort=0;autoSelectFamilyAttemptedAddresses=[];readyState="readOnly";constructor(e){super()}write(e,t,s){return!1}connect(e,t,s){return this}end(e,t,s){return this}setEncoding(e){return this}pause(){return this}resume(){return this}setTimeout(e,t){return this}setNoDelay(e){return this}setKeepAlive(e,t){return this}address(){return{}}unref(){return this}ref(){return this}destroySoon(){this.destroy()}resetAndDestroy(){const e=new Error("ERR_SOCKET_CLOSED");return e.code="ERR_SOCKET_CLOSED",this.destroy(e),this}}class IncomingMessage extends Y{__unenv__={};aborted=!1;httpVersion="1.1";httpVersionMajor=1;httpVersionMinor=1;complete=!0;connection;socket;headers={};trailers={};method="GET";url="/";statusCode=200;statusMessage="";closed=!1;errored=null;readable=!1;constructor(e){super(),this.socket=this.connection=e||new Socket}get rawHeaders(){return function(e){const t=[];for(const s in e)if(Array.isArray(e[s]))for(const o of e[s])t.push(s,o);else t.push(s,e[s]);return t}(this.headers)}get rawTrailers(){return[]}setTimeout(e,t){return this}get headersDistinct(){return _distinct(this.headers)}get trailersDistinct(){return _distinct(this.trailers)}}function _distinct(e){const t={};for(const[s,o]of Object.entries(e))s&&(t[s]=(Array.isArray(o)?o:[o]).filter(Boolean));return t}class ServerResponse extends J{__unenv__=!0;statusCode=200;statusMessage="";upgrading=!1;chunkedEncoding=!1;shouldKeepAlive=!1;useChunkedEncodingByDefault=!1;sendDate=!1;finished=!1;headersSent=!1;strictContentLength=!1;connection=null;socket=null;req;_headers={};constructor(e){super(),this.req=e}assignSocket(e){e._httpMessage=this,this.socket=e,this.connection=e,this.emit("socket",e),this._flush()}_flush(){this.flushHeaders()}detachSocket(e){}writeContinue(e){}writeHead(e,t,s){e&&(this.statusCode=e),"string"==typeof t&&(this.statusMessage=t,t=void 0);const o=s||t;if(o)if(Array.isArray(o));else for(const e in o)this.setHeader(e,o[e]);return this.headersSent=!0,this}writeProcessing(){}setTimeout(e,t){return this}appendHeader(e,t){e=e.toLowerCase();const s=this._headers[e],o=[...Array.isArray(s)?s:[s],...Array.isArray(t)?t:[t]].filter(Boolean);return this._headers[e]=o.length>1?o:o[0],this}setHeader(e,t){return this._headers[e.toLowerCase()]=t,this}getHeader(e){return this._headers[e.toLowerCase()]}getHeaders(){return this._headers}getHeaderNames(){return Object.keys(this._headers)}hasHeader(e){return e.toLowerCase()in this._headers}removeHeader(e){delete this._headers[e.toLowerCase()]}addTrailers(e){}flushHeaders(){}writeEarlyHints(e,t){"function"==typeof t&&t()}}function hasProp(e,t){try{return t in e}catch{return!1}}class H3Error extends Error{static __h3_error__=!0;statusCode=500;fatal=!1;unhandled=!1;statusMessage;data;cause;constructor(e,t={}){super(e,t),t.cause&&!this.cause&&(this.cause=t.cause)}toJSON(){const e={message:this.message,statusCode:sanitizeStatusCode(this.statusCode,500)};return this.statusMessage&&(e.statusMessage=sanitizeStatusMessage(this.statusMessage)),void 0!==this.data&&(e.data=this.data),e}}function createError$1(e){if("string"==typeof e)return new H3Error(e);if(isError(e))return e;const t=new H3Error(e.message??e.statusMessage??"",{cause:e.cause||e});if(hasProp(e,"stack"))try{Object.defineProperty(t,"stack",{get:()=>e.stack})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=sanitizeStatusCode(e.statusCode,t.statusCode):e.status&&(t.statusCode=sanitizeStatusCode(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const e=t.statusMessage;sanitizeStatusMessage(t.statusMessage)!==e&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return void 0!==e.fatal&&(t.fatal=e.fatal),void 0!==e.unhandled&&(t.unhandled=e.unhandled),t}function isError(e){return!0===e?.constructor?.__h3_error__}function getQuery(e){return getQuery$1(e.path||"")}function getRequestHeaders(e){const t={};for(const s in e.node.req.headers){const o=e.node.req.headers[s];t[s]=Array.isArray(o)?o.filter(Boolean).join(", "):o}return t}const se=getRequestHeaders;function getRequestHeader(e,t){return getRequestHeaders(e)[t.toLowerCase()]}function getRequestURL(e,t={}){const s=function(e,t={}){if(t.xForwardedHost){const t=e.node.req.headers["x-forwarded-host"];if(t)return t}return e.node.req.headers.host||"localhost"}(e,t),o=function(e,t={}){return!1!==t.xForwardedProto&&"https"===e.node.req.headers["x-forwarded-proto"]||e.node.req.connection?.encrypted?"https":"http"}(e,t),a=(e.node.req.originalUrl||e.path).replace(/^[/\\]+/g,"/");return new URL(a,`${o}://${s}`)}const re=Symbol.for("h3RawBody"),oe=Symbol.for("h3ParsedBody"),ae=["PATCH","POST","PUT","DELETE"];function readRawBody(e,t="utf8"){!function(e,t){if(!function(e,t){if("string"==typeof t){if(e.method===t)return!0}else if(t.includes(e.method))return!0;return!1}(e,t))throw createError$1({statusCode:405,statusMessage:"HTTP method is not allowed."})}(e,ae);const s=e._requestBody||e.web?.request?.body||e.node.req[re]||e.node.req.rawBody||e.node.req.body;if(s){const e=Promise.resolve(s).then((e=>Buffer.isBuffer(e)?e:"function"==typeof e.pipeTo?new Promise(((t,s)=>{const o=[];e.pipeTo(new WritableStream({write(e){o.push(e)},close(){t(Buffer.concat(o))},abort(e){s(e)}})).catch(s)})):"function"==typeof e.pipe?new Promise(((t,s)=>{const o=[];e.on("data",(e=>{o.push(e)})).on("end",(()=>{t(Buffer.concat(o))})).on("error",s)})):e.constructor===Object?Buffer.from(JSON.stringify(e)):e instanceof URLSearchParams?Buffer.from(e.toString()):Buffer.from(e)));return t?e.then((e=>e.toString(t))):e}if(!Number.parseInt(e.node.req.headers["content-length"]||"")&&!String(e.node.req.headers["transfer-encoding"]??"").split(",").map((e=>e.trim())).filter(Boolean).includes("chunked"))return Promise.resolve(void 0);const o=e.node.req[re]=new Promise(((t,s)=>{const o=[];e.node.req.on("error",(e=>{s(e)})).on("data",(e=>{o.push(e)})).on("end",(()=>{t(Buffer.concat(o))}))}));return t?o.then((e=>e.toString(t))):o}async function readBody(e,t={}){const s=e.node.req;if(hasProp(s,oe))return s[oe];const o=s.headers["content-type"]||"",a=await readRawBody(e);let i;return i="application/json"===o?_parseJSON(a,t.strict??!0):o.startsWith("application/x-www-form-urlencoded")?function(e){const t=new URLSearchParams(e),s=Object.create(null);for(const[e,o]of t.entries())hasProp(s,e)?(Array.isArray(s[e])||(s[e]=[s[e]]),s[e].push(o)):s[e]=o;return s}(a):o.startsWith("text/")?a:_parseJSON(a,t.strict??!1),s[oe]=i,i}function _parseJSON(e="",t){if(e)try{return destr(e,{strict:t})}catch{throw createError$1({statusCode:400,statusMessage:"Bad Request",message:"Invalid JSON body"})}}function handleCacheHeaders(e,t){const s=["public",...t.cacheControls||[]];let o=!1;if(void 0!==t.maxAge&&s.push("max-age="+ +t.maxAge,"s-maxage="+ +t.maxAge),t.modifiedTime){const s=new Date(t.modifiedTime),a=e.node.req.headers["if-modified-since"];e.node.res.setHeader("last-modified",s.toUTCString()),a&&new Date(a)>=t.modifiedTime&&(o=!0)}if(t.etag){e.node.res.setHeader("etag",t.etag);e.node.req.headers["if-none-match"]===t.etag&&(o=!0)}return e.node.res.setHeader("cache-control",s.join(", ")),!!o&&(e.node.res.statusCode=304,e.handled||e.node.res.end(),!0)}const ie={html:"text/html",json:"application/json"},ne=/[^\u0009\u0020-\u007E]/g;function sanitizeStatusMessage(e=""){return e.replace(ne,"")}function sanitizeStatusCode(e,t=200){return e?("string"==typeof e&&(e=Number.parseInt(e,10)),e<100||e>999?t:e):t}function splitCookiesString(e){if(Array.isArray(e))return e.flatMap((e=>splitCookiesString(e)));if("string"!=typeof e)return[];const t=[];let s,o,a,i,n,c=0;const skipWhitespace=()=>{for(;c<e.length&&/\s/.test(e.charAt(c));)c+=1;return c<e.length};for(;c<e.length;){for(s=c,n=!1;skipWhitespace();)if(o=e.charAt(c),","===o){for(a=c,c+=1,skipWhitespace(),i=c;c<e.length&&(o=e.charAt(c),"="!==o&&";"!==o&&","!==o);)c+=1;c<e.length&&"="===e.charAt(c)?(n=!0,c=i,t.push(e.slice(s,a)),s=c):c=a+1}else c+=1;(!n||c>=e.length)&&t.push(e.slice(s))}return t}const ce="undefined"==typeof setImmediate?e=>e():setImmediate;function send(e,t,s){return s&&function(e,t){t&&304!==e.node.res.statusCode&&!e.node.res.getHeader("content-type")&&e.node.res.setHeader("content-type",t)}(e,s),new Promise((s=>{ce((()=>{e.handled||e.node.res.end(t),s()}))}))}function setResponseStatus(e,t,s){t&&(e.node.res.statusCode=sanitizeStatusCode(t,e.node.res.statusCode)),s&&(e.node.res.statusMessage=sanitizeStatusMessage(s))}function getResponseHeader(e,t){return e.node.res.getHeader(t)}const setHeaders=function(e,t){for(const[s,o]of Object.entries(t))e.node.res.setHeader(s,o)};function setResponseHeader(e,t,s){e.node.res.setHeader(t,s)}function sendStream(e,t){if(!t||"object"!=typeof t)throw new Error("[h3] Invalid stream provided.");if(e.node.res._data=t,!e.node.res.socket)return e._handled=!0,Promise.resolve();if(hasProp(t,"pipeTo")&&"function"==typeof t.pipeTo)return t.pipeTo(new WritableStream({write(t){e.node.res.write(t)}})).then((()=>{e.node.res.end()}));if(hasProp(t,"pipe")&&"function"==typeof t.pipe)return new Promise(((s,o)=>{t.pipe(e.node.res),t.on&&(t.on("end",(()=>{e.node.res.end(),s()})),t.on("error",(e=>{o(e)}))),e.node.res.on("close",(()=>{t.abort&&t.abort()}))}));throw new Error("[h3] Invalid or incompatible stream provided.")}function sendWebResponse(e,t){for(const[s,o]of t.headers)"set-cookie"===s?e.node.res.appendHeader(s,splitCookiesString(o)):e.node.res.setHeader(s,o);if(t.status&&(e.node.res.statusCode=sanitizeStatusCode(t.status,e.node.res.statusCode)),t.statusText&&(e.node.res.statusMessage=sanitizeStatusMessage(t.statusText)),t.redirected&&e.node.res.setHeader("location",t.url),t.body)return sendStream(e,t.body);e.node.res.end()}const le=new Set(["PATCH","POST","PUT","DELETE"]),pe=new Set(["transfer-encoding","accept-encoding","connection","keep-alive","upgrade","expect","host","accept"]);async function proxyRequest(e,t,s={}){let o,a;le.has(e.method)&&(s.streamRequest?(o=function(e){if(!ae.includes(e.method))return;const t=e.web?.request?.body||e._requestBody;return t||(re in e.node.req||"rawBody"in e.node.req||"body"in e.node.req||"__unenv__"in e.node.req?new ReadableStream({async start(t){const s=await readRawBody(e,!1);s&&t.enqueue(s),t.close()}}):new ReadableStream({start:t=>{e.node.req.on("data",(e=>{t.enqueue(e)})),e.node.req.on("end",(()=>{t.close()})),e.node.req.on("error",(e=>{t.error(e)}))}}))}(e),a="half"):o=await readRawBody(e,!1).catch((()=>{})));const i=s.fetchOptions?.method||e.method,n=function(e,...t){const s=t.filter(Boolean);if(0===s.length)return e;const o=new Headers(e);for(const e of s)for(const[t,s]of Object.entries(e))void 0!==s&&o.set(t,s);return o}(getProxyRequestHeaders(e,{host:t.startsWith("/")}),s.fetchOptions?.headers,s.headers);return async function(e,t,s={}){let o;try{o=await _getFetch(s.fetch)(t,{headers:s.headers,ignoreResponseError:!0,...s.fetchOptions})}catch(e){throw createError$1({status:502,statusMessage:"Bad Gateway",cause:e})}e.node.res.statusCode=sanitizeStatusCode(o.status,e.node.res.statusCode),e.node.res.statusMessage=sanitizeStatusMessage(o.statusText);const a=[];for(const[t,s]of o.headers.entries())"content-encoding"!==t&&"content-length"!==t&&("set-cookie"!==t?e.node.res.setHeader(t,s):a.push(...splitCookiesString(s)));a.length>0&&e.node.res.setHeader("set-cookie",a.map((e=>(s.cookieDomainRewrite&&(e=rewriteCookieProperty(e,s.cookieDomainRewrite,"domain")),s.cookiePathRewrite&&(e=rewriteCookieProperty(e,s.cookiePathRewrite,"path")),e))));s.onResponse&&await s.onResponse(e,o);if(void 0!==o._data)return o._data;if(e.handled)return;if(!1===s.sendStream){const t=new Uint8Array(await o.arrayBuffer());return e.node.res.end(t)}if(o.body)for await(const t of o.body)e.node.res.write(t);return e.node.res.end()}(e,t,{...s,fetchOptions:{method:i,body:o,duplex:a,...s.fetchOptions,headers:n}})}function getProxyRequestHeaders(e,t){const s=Object.create(null),o=getRequestHeaders(e);for(const e in o)(!pe.has(e)||"host"===e&&t?.host)&&(s[e]=o[e]);return s}function fetchWithEvent(e,t,s,o){return _getFetch(o?.fetch)(t,{...s,context:s?.context||e.context,headers:{...getProxyRequestHeaders(e,{host:"string"==typeof t&&t.startsWith("/")}),...s?.headers}})}function _getFetch(e){if(e)return e;if(globalThis.fetch)return globalThis.fetch;throw new Error("fetch is not available. Try importing `node-fetch-native/polyfill` for Node.js.")}function rewriteCookieProperty(e,t,s){const o="string"==typeof t?{"*":t}:t;return e.replace(new RegExp(`(;\\s*${s}=)([^;]+)`,"gi"),((e,t,s)=>{let a;if(s in o)a=o[s];else{if(!("*"in o))return e;a=o["*"]}return a?t+a:""}))}class H3Event{__is_event__=!0;node;web;context={};_method;_path;_headers;_requestBody;_handled=!1;_onBeforeResponseCalled;_onAfterResponseCalled;constructor(e,t){this.node={req:e,res:t}}get method(){return this._method||(this._method=(this.node.req.method||"GET").toUpperCase()),this._method}get path(){return this._path||this.node.req.url||"/"}get headers(){return this._headers||(this._headers=function(e){const t=new Headers;for(const[s,o]of Object.entries(e))if(Array.isArray(o))for(const e of o)t.append(s,e);else o&&t.set(s,o);return t}(this.node.req.headers)),this._headers}get handled(){return this._handled||this.node.res.writableEnded||this.node.res.headersSent}respondWith(e){return Promise.resolve(e).then((e=>sendWebResponse(this,e)))}toString(){return`[${this.method}] ${this.path}`}toJSON(){return this.toString()}get req(){return this.node.req}get res(){return this.node.res}}function isEvent(e){return hasProp(e,"__is_event__")}function createEvent(e,t){return new H3Event(e,t)}function defineEventHandler(e){if("function"==typeof e)return e.__is_handler__=!0,e;const t={onRequest:_normalizeArray(e.onRequest),onBeforeResponse:_normalizeArray(e.onBeforeResponse)},_handler=s=>async function(e,t,s){if(s.onRequest)for(const t of s.onRequest)if(await t(e),e.handled)return;const o=await t(e),a={body:o};if(s.onBeforeResponse)for(const t of s.onBeforeResponse)await t(e,a);return a.body}(s,e.handler,t);return _handler.__is_handler__=!0,_handler.__resolve__=e.handler.__resolve__,_handler.__websocket__=e.websocket,_handler}function _normalizeArray(e){return e?Array.isArray(e)?e:[e]:void 0}const ue=defineEventHandler;function isEventHandler(e){return hasProp(e,"__is_handler__")}function toEventHandler(e,t,s){return isEventHandler(e)||console.warn("[h3] Implicit event handler conversion is deprecated. Use `eventHandler()` or `fromNodeMiddleware()` to define event handlers.",s&&"/"!==s?`\n Route: ${s}`:"",`\n Handler: ${e}`),e}const lazyEventHandler=function(e){let t,s;const resolveHandler=()=>s?Promise.resolve(s):(t||(t=Promise.resolve(e()).then((e=>{const t=e.default||e;if("function"!=typeof t)throw new TypeError("Invalid lazy handler result. It should be a function:",t);return s={handler:toEventHandler(e.default||e)},s}))),t),o=ue((e=>s?s.handler(e):resolveHandler().then((t=>t.handler(e)))));return o.__resolve__=resolveHandler,o};function createApp(e={}){const t=[],s=function(e,t){const s=t.debug?2:void 0;return ue((async o=>{o.node.req.originalUrl=o.node.req.originalUrl||o.node.req.url||"/";const a=o._path||o.node.req.url||"/";let i;t.onRequest&&await t.onRequest(o);for(const n of e){if(n.route.length>1){if(!a.startsWith(n.route))continue;i=a.slice(n.route.length)||"/"}else i=a;if(n.match&&!n.match(i,o))continue;o._path=i,o.node.req.url=i;const e=await n.handler(o),c=void 0===e?void 0:await e;if(void 0!==c){const e={body:c};return t.onBeforeResponse&&(o._onBeforeResponseCalled=!0,await t.onBeforeResponse(o,e)),await handleHandlerResponse(o,e.body,s),void(t.onAfterResponse&&(o._onAfterResponseCalled=!0,await t.onAfterResponse(o,e)))}if(o.handled)return void(t.onAfterResponse&&(o._onAfterResponseCalled=!0,await t.onAfterResponse(o,void 0)))}if(!o.handled)throw createError$1({statusCode:404,statusMessage:`Cannot find any path matching ${o.path||"/"}.`});t.onAfterResponse&&(o._onAfterResponseCalled=!0,await t.onAfterResponse(o,void 0))}))}(t,e),o=function(e){return async t=>{let s;for(const o of e){if("/"===o.route&&!o.handler.__resolve__)continue;if(!t.startsWith(o.route))continue;if(s=t.slice(o.route.length)||"/",o.match&&!o.match(s,void 0))continue;let e={route:o.route,handler:o.handler};if(e.handler.__resolve__){const t=await e.handler.__resolve__(s);if(!t)continue;e={...e,...t,route:joinURL(e.route||"/",t.route||"/")}}return e}}}(t);s.__resolve__=o;const a=function(e){let t;return()=>(t||(t=e()),t)}((()=>{return t=o,{...e.websocket,async resolve(e){const s=e.request?.url||e.url||"/",{pathname:o}="string"==typeof s?parseURL(s):s,a=await t(o);return a?.handler?.__websocket__||{}}};var t})),i={use:(e,t,s)=>use(i,e,t,s),resolve:o,handler:s,stack:t,options:e,get websocket(){return a()}};return i}function use(e,t,s,o){if(Array.isArray(t))for(const a of t)use(e,a,s,o);else if(Array.isArray(s))for(const a of s)use(e,t,a,o);else"string"==typeof t?e.stack.push(normalizeLayer({...o,route:t,handler:s})):"function"==typeof t?e.stack.push(normalizeLayer({...s,handler:t})):e.stack.push(normalizeLayer({...t}));return e}function normalizeLayer(e){let t=e.handler;return t.handler&&(t=t.handler),e.lazy?t=lazyEventHandler(t):isEventHandler(t)||(t=toEventHandler(t,0,e.route)),{route:withoutTrailingSlash(e.route),match:e.match,handler:t}}function handleHandlerResponse(e,t,s){if(null===t)return function(e,t){if(e.handled)return;t||200===e.node.res.statusCode||(t=e.node.res.statusCode);const s=sanitizeStatusCode(t,204);204===s&&e.node.res.removeHeader("content-length"),e.node.res.writeHead(s),e.node.res.end()}(e);if(t){if(o=t,"undefined"!=typeof Response&&o instanceof Response)return sendWebResponse(e,t);if(function(e){if(!e||"object"!=typeof e)return!1;if("function"==typeof e.pipe){if("function"==typeof e._read)return!0;if("function"==typeof e.abort)return!0}return"function"==typeof e.pipeTo}(t))return sendStream(e,t);if(t.buffer)return send(e,t);if(t.arrayBuffer&&"function"==typeof t.arrayBuffer)return t.arrayBuffer().then((s=>send(e,Buffer.from(s),t.type)));if(t instanceof Error)throw createError$1(t);if("function"==typeof t.end)return!0}var o;const a=typeof t;if("string"===a)return send(e,t,ie.html);if("object"===a||"boolean"===a||"number"===a)return send(e,JSON.stringify(t,void 0,s),ie.json);if("bigint"===a)return send(e,t.toString(),ie.json);throw createError$1({statusCode:500,statusMessage:`[h3] Cannot send ${a} as response.`})}const de=["connect","delete","get","head","options","post","put","trace","patch"];function toNodeListener(e){return async function(t,s){const o=createEvent(t,s);try{await e.handler(o)}catch(t){const s=createError$1(t);if(isError(t)||(s.unhandled=!0),setResponseStatus(o,s.statusCode,s.statusMessage),e.options.onError&&await e.options.onError(s,o),o.handled)return;(s.unhandled||s.fatal)&&console.error("[h3]",s.fatal?"[fatal]":"[unhandled]",s),e.options.onBeforeResponse&&!o._onBeforeResponseCalled&&await e.options.onBeforeResponse(o,{body:s}),await function(e,t,s){if(e.handled)return;const o=isError(t)?t:createError$1(t),a={statusCode:o.statusCode,statusMessage:o.statusMessage,stack:[],data:o.data};if(s&&(a.stack=(o.stack||"").split("\n").map((e=>e.trim()))),e.handled)return;setResponseStatus(e,Number.parseInt(o.statusCode),o.statusMessage),e.node.res.setHeader("content-type",ie.json),e.node.res.end(JSON.stringify(a,void 0,2))}(o,s,!!e.options.debug),e.options.onAfterResponse&&!o._onAfterResponseCalled&&await e.options.onAfterResponse(o,{body:s})}}}function flatHooks(e,t={},s){for(const o in e){const a=e[o],i=s?`${s}:${o}`:o;"object"==typeof a&&null!==a?flatHooks(a,t,i):"function"==typeof a&&(t[i]=a)}return t}const he={run:e=>e()},fe=void 0!==console.createTask?console.createTask:()=>he;function serialTaskCaller(e,t){const s=t.shift(),o=fe(s);return e.reduce(((e,s)=>e.then((()=>o.run((()=>s(...t)))))),Promise.resolve())}function parallelTaskCaller(e,t){const s=t.shift(),o=fe(s);return Promise.all(e.map((e=>o.run((()=>e(...t))))))}function callEachWith(e,t){for(const s of[...e])s(t)}class Hookable{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,t,s={}){if(!e||"function"!=typeof t)return()=>{};const o=e;let a;for(;this._deprecatedHooks[e];)a=this._deprecatedHooks[e],e=a.to;if(a&&!s.allowDeprecated){let e=a.message;e||(e=`${o} hook has been deprecated`+(a.to?`, please use ${a.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(e)||(console.warn(e),this._deprecatedMessages.add(e))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&(this.removeHook(e,t),t=void 0)}}hookOnce(e,t){let s,_function=(...e)=>("function"==typeof s&&s(),s=void 0,_function=void 0,t(...e));return s=this.hook(e,_function),s}removeHook(e,t){if(this._hooks[e]){const s=this._hooks[e].indexOf(t);-1!==s&&this._hooks[e].splice(s,1),0===this._hooks[e].length&&delete this._hooks[e]}}deprecateHook(e,t){this._deprecatedHooks[e]="string"==typeof t?{to:t}:t;const s=this._hooks[e]||[];delete this._hooks[e];for(const t of s)this.hook(e,t)}deprecateHooks(e){Object.assign(this._deprecatedHooks,e);for(const t in e)this.deprecateHook(t,e[t])}addHooks(e){const t=flatHooks(e),s=Object.keys(t).map((e=>this.hook(e,t[e])));return()=>{for(const e of s.splice(0,s.length))e()}}removeHooks(e){const t=flatHooks(e);for(const e in t)this.removeHook(e,t[e])}removeAllHooks(){for(const e in this._hooks)delete this._hooks[e]}callHook(e,...t){return t.unshift(e),this.callHookWith(serialTaskCaller,e,...t)}callHookParallel(e,...t){return t.unshift(e),this.callHookWith(parallelTaskCaller,e,...t)}callHookWith(e,t,...s){const o=this._before||this._after?{name:t,args:s,context:{}}:void 0;this._before&&callEachWith(this._before,o);const a=e(t in this._hooks?[...this._hooks[t]]:[],s);return a instanceof Promise?a.finally((()=>{this._after&&o&&callEachWith(this._after,o)})):(this._after&&o&&callEachWith(this._after,o),a)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(void 0!==this._before){const t=this._before.indexOf(e);-1!==t&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(void 0!==this._after){const t=this._after.indexOf(e);-1!==t&&this._after.splice(t,1)}}}}const me=globalThis.Headers,ge=globalThis.AbortController,ye=globalThis.fetch||(()=>{throw new Error("[node-fetch-native] Failed to fetch: `globalThis.fetch` is not available!")});class FetchError extends Error{constructor(e,t){super(e,t),this.name="FetchError",t?.cause&&!this.cause&&(this.cause=t.cause)}}const ve=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function isPayloadMethod(e="GET"){return ve.has(e.toUpperCase())}const we=new Set(["image/svg","application/xml","application/xhtml","application/html"]),be=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function resolveFetchOptions(e,t,s,o){const a=function(e,t,s){if(!t)return new s(e);const o=new s(t);if(e)for(const[t,a]of Symbol.iterator in e||Array.isArray(e)?e:new s(e))o.set(t,a);return o}(t?.headers??e?.headers,s?.headers,o);let i;return(s?.query||s?.params||t?.params||t?.query)&&(i={...s?.params,...s?.query,...t?.params,...t?.query}),{...s,...t,query:i,params:i,headers:a}}async function callHooks(e,t){if(t)if(Array.isArray(t))for(const s of t)await s(e);else await t(e)}const _e=new Set([408,409,425,429,500,502,503,504]),xe=new Set([101,204,205,304]);function createFetch$1(e={}){const{fetch:t=globalThis.fetch,Headers:s=globalThis.Headers,AbortController:o=globalThis.AbortController}=e;async function onError(e){const t=e.error&&"AbortError"===e.error.name&&!e.options.timeout||!1;if(!1!==e.options.retry&&!t){let t;t="number"==typeof e.options.retry?e.options.retry:isPayloadMethod(e.options.method)?0:1;const s=e.response&&e.response.status||500;if(t>0&&(Array.isArray(e.options.retryStatusCodes)?e.options.retryStatusCodes.includes(s):_e.has(s))){const s="function"==typeof e.options.retryDelay?e.options.retryDelay(e):e.options.retryDelay||0;return s>0&&await new Promise((e=>setTimeout(e,s))),$fetchRaw(e.request,{...e.options,retry:t-1})}}const s=function(e){const t=e.error?.message||e.error?.toString()||"",s=e.request?.method||e.options?.method||"GET",o=e.request?.url||String(e.request)||"/",a=`[${s}] ${JSON.stringify(o)}`,i=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",n=new FetchError(`${a}: ${i}${t?` ${t}`:""}`,e.error?{cause:e.error}:void 0);for(const t of["request","options","response"])Object.defineProperty(n,t,{get:()=>e[t]});for(const[t,s]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(n,t,{get:()=>e.response&&e.response[s]});return n}(e);throw Error.captureStackTrace&&Error.captureStackTrace(s,$fetchRaw),s}const $fetchRaw=async function(a,i={}){const n={request:a,options:resolveFetchOptions(a,i,e.defaults,s),response:void 0,error:void 0};let c;if(n.options.method&&(n.options.method=n.options.method.toUpperCase()),n.options.onRequest&&await callHooks(n,n.options.onRequest),"string"==typeof n.request&&(n.options.baseURL&&(n.request=function(e,t){if(isEmptyURL(t)||hasProtocol(e))return e;const s=withoutTrailingSlash(t);return e.startsWith(s)?e:joinURL(s,e)}(n.request,n.options.baseURL)),n.options.query&&(n.request=withQuery(n.request,n.options.query),delete n.options.query),"query"in n.options&&delete n.options.query,"params"in n.options&&delete n.options.params),n.options.body&&isPayloadMethod(n.options.method)&&(!function(e){if(void 0===e)return!1;const t=typeof e;return"string"===t||"number"===t||"boolean"===t||null===t||"object"===t&&(!!Array.isArray(e)||!e.buffer&&(e.constructor&&"Object"===e.constructor.name||"function"==typeof e.toJSON))}(n.options.body)?("pipeTo"in n.options.body&&"function"==typeof n.options.body.pipeTo||"function"==typeof n.options.body.pipe)&&("duplex"in n.options||(n.options.duplex="half")):(n.options.body="string"==typeof n.options.body?n.options.body:JSON.stringify(n.options.body),n.options.headers=new s(n.options.headers||{}),n.options.headers.has("content-type")||n.options.headers.set("content-type","application/json"),n.options.headers.has("accept")||n.options.headers.set("accept","application/json"))),!n.options.signal&&n.options.timeout){const e=new o;c=setTimeout((()=>{const t=new Error("[TimeoutError]: The operation was aborted due to timeout");t.name="TimeoutError",t.code=23,e.abort(t)}),n.options.timeout),n.options.signal=e.signal}try{n.response=await t(n.request,n.options)}catch(e){return n.error=e,n.options.onRequestError&&await callHooks(n,n.options.onRequestError),await onError(n)}finally{c&&clearTimeout(c)}if((n.response.body||n.response._bodyInit)&&!xe.has(n.response.status)&&"HEAD"!==n.options.method){const e=(n.options.parseResponse?"json":n.options.responseType)||function(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return be.test(t)?"json":we.has(t)||t.startsWith("text/")?"text":"blob"}(n.response.headers.get("content-type")||"");switch(e){case"json":{const e=await n.response.text(),t=n.options.parseResponse||destr;n.response._data=t(e);break}case"stream":n.response._data=n.response.body||n.response._bodyInit;break;default:n.response._data=await n.response[e]()}}return n.options.onResponse&&await callHooks(n,n.options.onResponse),!n.options.ignoreResponseError&&n.response.status>=400&&n.response.status<600?(n.options.onResponseError&&await callHooks(n,n.options.onResponseError),await onError(n)):n.response},$fetch=async function(e,t){return(await $fetchRaw(e,t))._data};return $fetch.raw=$fetchRaw,$fetch.native=(...e)=>t(...e),$fetch.create=(t={},s={})=>createFetch$1({...e,...s,defaults:{...e.defaults,...s.defaults,...t}}),$fetch}const Te=globalThis.fetch?(...e)=>globalThis.fetch(...e):function(){if(!JSON.parse(e.env.FETCH_KEEP_ALIVE||"false"))return ye;const s={keepAlive:!0},a=new t.Agent(s),i=new o.Agent(s),n={agent:e=>"http:"===e.protocol?a:i};return function(e,t){return ye(e,{...n,...t})}}(),je=globalThis.Headers||me,ze=globalThis.AbortController||ge,ke=createFetch$1({fetch:Te,Headers:je,AbortController:ze}),Re=new Set([101,204,205,304]);function hasReqHeader(e,t,s){const o=getRequestHeader(e,t);return o&&"string"==typeof o&&o.toLowerCase().includes(s)}function _captureError(e,t){console.error(`[nitro] [${t}]`,e),useNitroApp().captureError(e,{tags:[t]})}function joinHeaders(e){return Array.isArray(e)?e.join(", "):String(e)}function normalizeCookieHeader(e=""){return splitCookiesString(joinHeaders(e))}function normalizeCookieHeaders(e){const t=new Headers;for(const[s,o]of e)if("set-cookie"===s)for(const e of normalizeCookieHeader(o))t.append("set-cookie",e);else t.set(s,joinHeaders(o));return t}const errorHandler=function(t,s){const{stack:o,statusCode:a,statusMessage:i,message:n}=function(t){const s="function"==typeof e.cwd?e.cwd():"/",o=t.unhandled||t.fatal?[]:(t.stack||"").split("\n").splice(1).filter((e=>e.includes("at "))).map((e=>({text:e.replace(s+"/","./").replace("webpack:/","").replace("file://","").trim(),internal:e.includes("node_modules")&&!e.includes(".cache")||e.includes("internal")||e.includes("new Promise")}))),a=t.statusCode||500;return{stack:o,statusCode:a,statusMessage:t.statusMessage??(404===a?"Not Found":""),message:t.unhandled?"internal server error":t.message||t.toString()}}(t),c={url:s.path||"",statusCode:a,statusMessage:i,message:n,stack:void 0};if(t.unhandled||t.fatal){const e=["[nitro]","[request error]",t.unhandled&&"[unhandled]",t.fatal&&"[fatal]"].filter(Boolean).join(" ");console.error(e,t.message+"\n"+o.map((e=>" "+e.text)).join(" \n"))}return 404===a&&setResponseHeader(s,"Cache-Control","no-cache"),setResponseStatus(s,a,i),function(e){return!hasReqHeader(e,"accept","text/html")&&(hasReqHeader(e,"accept","application/json")||hasReqHeader(e,"user-agent","curl/")||hasReqHeader(e,"user-agent","httpie/")||hasReqHeader(e,"sec-fetch-mode","cors")||e.path.startsWith("/api/")||e.path.endsWith(".json"))}(s)?(setResponseHeader(s,"Content-Type","application/json"),send(s,JSON.stringify(c))):(setResponseHeader(s,"Content-Type","text/html"),send(s,function(e){const t=e.statusCode||500,s=e.statusMessage||"Request Error";return`<!DOCTYPE html>\n <html lang="en">\n <head>\n <meta charset="utf-8">\n <meta name="viewport" content="width=device-width, initial-scale=1">\n <title>${t} ${s}</title>\n <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@picocss/pico/css/pico.min.css">\n </head>\n <body>\n <main class="container">\n <dialog open>\n <article>\n <header>\n <h2>${t} ${s}</h2>\n </header>\n <code>\n ${e.message}<br><br>\n ${"\n"+(e.stack||[]).map((e=>` ${e}`)).join("<br>")}\n </code>\n <footer>\n <a href="/" onclick="event.preventDefault();history.back();">Go Back</a>\n </footer>\n </article>\n </dialog>\n </main>\n </body>\n</html>\n`}(c)))};const Se=[],Ce={"/c.js":{type:"text/javascript; charset=utf-8",etag:'"804fa-deiaxlHvkKQn+QcmJmVuzde3h7Y"',mtime:"2025-03-02T08:14:46.356Z",size:525562,path:"../public/c.js"},"/index.html":{type:"text/html; charset=utf-8",etag:'"3fe-kFz81YLuUu9XNuDS6wr2comyaUg"',mtime:"2025-03-02T08:14:46.356Z",size:1022,path:"../public/index.html"},"/logo.png":{type:"image/png",etag:'"146c-vbv340mQ6WdpZBtCqwFRw74KQuc"',mtime:"2025-03-02T08:14:46.356Z",size:5228,path:"../public/logo.png"},"/popup.html":{type:"text/html; charset=utf-8",etag:'"2b8-7MirjJS/S+srogfQ648uKhevwjI"',mtime:"2025-03-02T08:14:46.356Z",size:696,path:"../public/popup.html"},"/pwa-196x196.png":{type:"image/png",etag:'"1eb7-p6q5vh3QYAEsrZYyk7SBkrshKtE"',mtime:"2025-03-02T08:14:46.356Z",size:7863,path:"../public/pwa-196x196.png"},"/pwa-256x256.png":{type:"image/png",etag:'"2713-9NzNvaCAwa1EQO5RcbhcoOjZAK4"',mtime:"2025-03-02T08:14:46.356Z",size:10003,path:"../public/pwa-256x256.png"},"/pwa-512x512.png":{type:"image/png",etag:'"6bf3-7vwlcGNRgCNfmMJg9y1nkg29W/Y"',mtime:"2025-03-02T08:14:46.356Z",size:27635,path:"../public/pwa-512x512.png"},"/assets/ChatInput-BMuO6hgs.css":{type:"text/css; charset=utf-8",etag:'"186-rCUycStrOY1FSp1LM5EdmoDU818"',mtime:"2025-03-02T08:14:46.320Z",size:390,path:"../public/assets/ChatInput-BMuO6hgs.css"},"/assets/ChatInput.vue_vue_type_style_index_0_lang-BF_ESh-7.js":{type:"text/javascript; charset=utf-8",etag:'"137519-2YU6bU0s9LXkQNmBWwNAzy6xzms"',mtime:"2025-03-02T08:14:46.324Z",size:1275161,path:"../public/assets/ChatInput.vue_vue_type_style_index_0_lang-BF_ESh-7.js"},"/assets/CodeBlocks-CllJyOW7.css":{type:"text/css; charset=utf-8",etag:'"1076-JArtrvjbLJGiR0JAUe/wj1vOaOA"',mtime:"2025-03-02T08:14:46.324Z",size:4214,path:"../public/assets/CodeBlocks-CllJyOW7.css"},"/assets/CodeBlocks.vue_vue_type_style_index_0_lang-NSVyPaRs.js":{type:"text/javascript; charset=utf-8",etag:'"3af83-E37Qc6W+reOi9NeqHH0zhldNjq4"',mtime:"2025-03-02T08:14:46.330Z",size:241539,path:"../public/assets/CodeBlocks.vue_vue_type_style_index_0_lang-NSVyPaRs.js"},"/assets/FrameContent-CUoI637t.css":{type:"text/css; charset=utf-8",etag:'"fb-6QJbV1XyCjCNz5MaOnPi8ahEGDo"',mtime:"2025-03-02T08:14:46.325Z",size:251,path:"../public/assets/FrameContent-CUoI637t.css"},"/assets/FrameContent-DW5sdLoA.js":{type:"text/javascript; charset=utf-8",etag:'"642-Zs2qf4UDzcbdVp04hKBqSEGA/HQ"',mtime:"2025-03-02T08:14:46.325Z",size:1602,path:"../public/assets/FrameContent-DW5sdLoA.js"},"/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2":{type:"font/woff2",etag:'"6dac-NElHQ3Nv2nVxl9FvzGpuGnkxfIY"',mtime:"2025-03-02T08:14:46.325Z",size:28076,path:"../public/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2"},"/assets/KaTeX_AMS-Regular-DMm9YOAa.woff":{type:"font/woff",etag:'"82ec-ma2i3jIA55UUPWOSMsNESwgBgjU"',mtime:"2025-03-02T08:14:46.325Z",size:33516,path:"../public/assets/KaTeX_AMS-Regular-DMm9YOAa.woff"},"/assets/KaTeX_AMS-Regular-DRggAlZN.ttf":{type:"font/ttf",etag:'"f890-Hf0O5uMPihwjmZ2dll24cAtany4"',mtime:"2025-03-02T08:14:46.325Z",size:63632,path:"../public/assets/KaTeX_AMS-Regular-DRggAlZN.ttf"},"/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf":{type:"font/ttf",etag:'"3050-j6tziha6j7fnACoHXwNqRVpFxug"',mtime:"2025-03-02T08:14:46.325Z",size:12368,path:"../public/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf"},"/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff":{type:"font/woff",etag:'"1e24-3SOsD7CsRpsGJEhep41wD2NhQgM"',mtime:"2025-03-02T08:14:46.325Z",size:7716,path:"../public/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff"},"/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2":{type:"font/woff2",etag:'"1b00-W/pJysRs0derE1E4jTfBGvWbphU"',mtime:"2025-03-02T08:14:46.325Z",size:6912,path:"../public/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2"},"/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff":{type:"font/woff",etag:'"1de8-Gm85vXDJt0cTB431991hCPm604s"',mtime:"2025-03-02T08:14:46.325Z",size:7656,path:"../public/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff"},"/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2":{type:"font/woff2",etag:'"1afc-n4B34LOKKQzZt7E2sKwpyDdegaY"',mtime:"2025-03-02T08:14:46.325Z",size:6908,path:"../public/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2"},"/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf":{type:"font/ttf",etag:'"3038-JvJqE+an0KabSPYqzTGoGWvOf24"',mtime:"2025-03-02T08:14:46.325Z",size:12344,path:"../public/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf"},"/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf":{type:"font/ttf",etag:'"4c80-TgjdADgxJOfNlpcMyw++NcnvqqM"',mtime:"2025-03-02T08:14:46.325Z",size:19584,path:"../public/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf"},"/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff":{type:"font/woff",etag:'"33f0-W7r9UB8mIhlCavfyDBEDu0tzJZI"',mtime:"2025-03-02T08:14:46.325Z",size:13296,path:"../public/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff"},"/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2":{type:"font/woff2",etag:'"2c54-+Y+JJy7KEa5BdnLFmg+qaoiAWok"',mtime:"2025-03-02T08:14:46.325Z",size:11348,path:"../public/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2"},"/assets/KaTeX_Fraktur-Regular-CB_wures.ttf":{type:"font/ttf",etag:'"4c74-F9tAiC3V8UBiXyjdlMQwReGJPpg"',mtime:"2025-03-02T08:14:46.325Z",size:19572,path:"../public/assets/KaTeX_Fraktur-Regular-CB_wures.ttf"},"/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2":{type:"font/woff2",etag:'"2c34-pXZMbieE0CggwLkECJ8/rHmL5Po"',mtime:"2025-03-02T08:14:46.325Z",size:11316,path:"../public/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2"},"/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff":{type:"font/woff",etag:'"3398-b3VjdjYPCBW0SGL1f3let8HNTbI"',mtime:"2025-03-02T08:14:46.326Z",size:13208,path:"../public/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff"},"/assets/KaTeX_Main-Bold-Cx986IdX.woff2":{type:"font/woff2",etag:'"62ec-MQUKGxsSP7LFnK0fdLff+Q3rj84"',mtime:"2025-03-02T08:14:46.326Z",size:25324,path:"../public/assets/KaTeX_Main-Bold-Cx986IdX.woff2"},"/assets/KaTeX_Main-Bold-Jm3AIy58.woff":{type:"font/woff",etag:'"74d8-9po2JQ6ubooCFzqZCapihCi6IGA"',mtime:"2025-03-02T08:14:46.326Z",size:29912,path:"../public/assets/KaTeX_Main-Bold-Jm3AIy58.woff"},"/assets/KaTeX_Main-Bold-waoOVXN0.ttf":{type:"font/ttf",etag:'"c888-QTqz3D/DpXUidbriyuZ+tY8rMvA"',mtime:"2025-03-02T08:14:46.326Z",size:51336,path:"../public/assets/KaTeX_Main-Bold-waoOVXN0.ttf"},"/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2":{type:"font/woff2",etag:'"418c-pKSQW4sSb5/9VT0hpyoMJOlIA0U"',mtime:"2025-03-02T08:14:46.326Z",size:16780,path:"../public/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2"},"/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf":{type:"font/ttf",etag:'"80c8-umRk5EL9UK73Z4kkug8tlYHruwc"',mtime:"2025-03-02T08:14:46.326Z",size:32968,path:"../public/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf"},"/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff":{type:"font/woff",etag:'"4bd4-A4u9yIh6lzCtlBR/xXxv9N+0hBE"',mtime:"2025-03-02T08:14:46.326Z",size:19412,path:"../public/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff"},"/assets/KaTeX_Main-Italic-3WenGoN9.ttf":{type:"font/ttf",etag:'"832c-HVZoorlK59vu/dfNaNmP6dWCXgc"',mtime:"2025-03-02T08:14:46.326Z",size:33580,path:"../public/assets/KaTeX_Main-Italic-3WenGoN9.ttf"},"/assets/KaTeX_Main-Italic-BMLOBm91.woff":{type:"font/woff",etag:'"4cdc-fIWJITvHAD4sIzS1HKQVKFiYer0"',mtime:"2025-03-02T08:14:46.326Z",size:19676,path:"../public/assets/KaTeX_Main-Italic-BMLOBm91.woff"},"/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2":{type:"font/woff2",etag:'"425c-ybK1/9LyeqXGtvm6QaeytOZhAtM"',mtime:"2025-03-02T08:14:46.326Z",size:16988,path:"../public/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2"},"/assets/KaTeX_Main-Regular-B22Nviop.woff2":{type:"font/woff2",etag:'"66a0-yIQIbCXOyFWBYLICb5Bu99o1cKw"',mtime:"2025-03-02T08:14:46.327Z",size:26272,path:"../public/assets/KaTeX_Main-Regular-B22Nviop.woff2"},"/assets/KaTeX_Main-Regular-Dr94JaBh.woff":{type:"font/woff",etag:'"7834-/crlS6HUY17oWlRizByX5SHP1RU"',mtime:"2025-03-02T08:14:46.327Z",size:30772,path:"../public/assets/KaTeX_Main-Regular-Dr94JaBh.woff"},"/assets/KaTeX_Main-Regular-ypZvNtVU.ttf":{type:"font/ttf",etag:'"d14c-h0TbbvjDCePchfG76YBSCti3v9Q"',mtime:"2025-03-02T08:14:46.327Z",size:53580,path:"../public/assets/KaTeX_Main-Regular-ypZvNtVU.ttf"},"/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf":{type:"font/ttf",etag:'"79dc-6AzEwjLSB192KlLUa+tP+9N6Xxo"',mtime:"2025-03-02T08:14:46.327Z",size:31196,path:"../public/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf"},"/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2":{type:"font/woff2",etag:'"4010-j8udLeZaxxoMT92YYXPbcwWS7Yo"',mtime:"2025-03-02T08:14:46.327Z",size:16400,path:"../public/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2"},"/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff":{type:"font/woff",etag:'"48ec-1U5kgNbUBGxqVhmqODuqWXH7igw"',mtime:"2025-03-02T08:14:46.327Z",size:18668,path:"../public/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff"},"/assets/KaTeX_Math-Italic-DA0__PXp.woff":{type:"font/woff",etag:'"493c-HBtIc54ctL4T3djAvCed3oUb26A"',mtime:"2025-03-02T08:14:46.327Z",size:18748,path:"../public/assets/KaTeX_Math-Italic-DA0__PXp.woff"},"/assets/KaTeX_Math-Italic-flOr_0UB.ttf":{type:"font/ttf",etag:'"7a4c-npoQ2Ppa2Iyez6SQKt3U2SWAsrw"',mtime:"2025-03-02T08:14:46.327Z",size:31308,path:"../public/assets/KaTeX_Math-Italic-flOr_0UB.ttf"},"/assets/KaTeX_Math-Italic-t53AETM-.woff2":{type:"font/woff2",etag:'"4038-20iD0M/5XstcA0EOMoOnN8Ue1gQ"',mtime:"2025-03-02T08:14:46.327Z",size:16440,path:"../public/assets/KaTeX_Math-Italic-t53AETM-.woff2"},"/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf":{type:"font/ttf",etag:'"5fb8-ILRfU0a2htUsRFdFOT0XB7uI7B0"',mtime:"2025-03-02T08:14:46.327Z",size:24504,path:"../public/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf"},"/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2":{type:"font/woff2",etag:'"2fb8-iG5heXpSXUqvzgqvV0FP366huHM"',mtime:"2025-03-02T08:14:46.327Z",size:12216,path:"../public/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2"},"/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff":{type:"font/woff",etag:'"3848-or7dyKPU0IAo1wd3btvU0k8uwPw"',mtime:"2025-03-02T08:14:46.330Z",size:14408,path:"../public/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff"},"/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2":{type:"font/woff2",etag:'"2efc-PV+jyzCfjYO03L3SdyXycPYPPus"',mtime:"2025-03-02T08:14:46.327Z",size:12028,path:"../public/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2"},"/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff":{type:"font/woff",etag:'"3720-dWSjZrdv2DcEHCS+70xVgKWt1A4"',mtime:"2025-03-02T08:14:46.327Z",size:14112,path:"../public/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff"},"/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf":{type:"font/ttf",etag:'"575c-mR+9wDFouxSkRHz6PlFfCabs/tw"',mtime:"2025-03-02T08:14:46.327Z",size:22364,path:"../public/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf"},"/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf":{type:"font/ttf",etag:'"4bec-So4XoMtYqCKN1EF/vRuJnkHasEU"',mtime:"2025-03-02T08:14:46.327Z",size:19436,path:"../public/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf"},"/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff":{type:"font/woff",etag:'"301c-gEYQ9MsuLq2WlLjaLshOzo0Jw40"',mtime:"2025-03-02T08:14:46.328Z",size:12316,path:"../public/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff"},"/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2":{type:"font/woff2",etag:'"2868-5F1fT0p/L/PcqfzMLxSOeB4j8pI"',mtime:"2025-03-02T08:14:46.328Z",size:10344,path:"../public/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2"},"/assets/KaTeX_Script-Regular-C5JkGWo-.ttf":{type:"font/ttf",etag:'"4108-xvZ12oGtKcvySyz3cPeVtNosZI4"',mtime:"2025-03-02T08:14:46.328Z",size:16648,path:"../public/assets/KaTeX_Script-Regular-C5JkGWo-.ttf"},"/assets/KaTeX_Script-Regular-D3wIWfF6.woff2":{type:"font/woff2",etag:'"25ac-Y7gJWfH8Voma4hugy7zTmmywg5A"',mtime:"2025-03-02T08:14:46.328Z",size:9644,path:"../public/assets/KaTeX_Script-Regular-D3wIWfF6.woff2"},"/assets/KaTeX_Script-Regular-D5yQViql.woff":{type:"font/woff",etag:'"295c-agXNyk8fcIXmB9w4vt71V1P4b9g"',mtime:"2025-03-02T08:14:46.328Z",size:10588,path:"../public/assets/KaTeX_Script-Regular-D5yQViql.woff"},"/assets/KaTeX_Size1-Regular-C195tn64.woff":{type:"font/woff",etag:'"1960-rv5mdKVlM2J8c5zXiWOY8USH4Bw"',mtime:"2025-03-02T08:14:46.328Z",size:6496,path:"../public/assets/KaTeX_Size1-Regular-C195tn64.woff"},"/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf":{type:"font/ttf",etag:'"2fc4-MoC6y8sSRZcf4BAXtHTHbDN8EMk"',mtime:"2025-03-02T08:14:46.328Z",size:12228,path:"../public/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf"},"/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2":{type:"font/woff2",etag:'"155c-V/pZmXShvAs31fDlzIYCMC8CtXM"',mtime:"2025-03-02T08:14:46.328Z",size:5468,path:"../public/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2"},"/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf":{type:"font/ttf",etag:'"2cf4-+vc/8+eVGE5UMWZv+v64qg4og00"',mtime:"2025-03-02T08:14:46.328Z",size:11508,path:"../public/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf"},"/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2":{type:"font/woff2",etag:'"1458-7hhxNjSjvoyZcnaAhVKrGVpZj0M"',mtime:"2025-03-02T08:14:46.328Z",size:5208,path:"../public/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2"},"/assets/KaTeX_Size2-Regular-oD1tc_U0.woff":{type:"font/woff",etag:'"182c-RmmP8YGb0ngm/V0txLpOH2PKzfQ"',mtime:"2025-03-02T08:14:46.328Z",size:6188,path:"../public/assets/KaTeX_Size2-Regular-oD1tc_U0.woff"},"/assets/KaTeX_Size3-Regular-CTq5MqoE.woff":{type:"font/woff",etag:'"1144-HaGQWm0dm8q5KwWd9ytSjepwi8s"',mtime:"2025-03-02T08:14:46.328Z",size:4420,path:"../public/assets/KaTeX_Size3-Regular-CTq5MqoE.woff"},"/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf":{type:"font/ttf",etag:'"1da4-MCphsuzfgtOeZ4D0K9B+5M5nuNU"',mtime:"2025-03-02T08:14:46.329Z",size:7588,path:"../public/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf"},"/assets/KaTeX_Size4-Regular-BF-4gkZK.woff":{type:"font/woff",etag:'"175c-j93bg1E+wiYjHr7gUHnsRfwBNXg"',mtime:"2025-03-02T08:14:46.329Z",size:5980,path:"../public/assets/KaTeX_Size4-Regular-BF-4gkZK.woff"},"/assets/KaTeX_Size4-Regular-DWFBv043.ttf":{type:"font/ttf",etag:'"287c-PY2d1YoDt6RtSX9XYeYNi4RKUZk"',mtime:"2025-03-02T08:14:46.329Z",size:10364,path:"../public/assets/KaTeX_Size4-Regular-DWFBv043.ttf"},"/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2":{type:"font/woff2",etag:'"1340-m+0X+5LyZQUB4imGLEDGQH4cVSg"',mtime:"2025-03-02T08:14:46.329Z",size:4928,path:"../public/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2"},"/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff":{type:"font/woff",etag:'"3e9c-9ecp+k/0ZvwH4MerGXmtcMRfpdU"',mtime:"2025-03-02T08:14:46.329Z",size:16028,path:"../public/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff"},"/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2":{type:"font/woff2",etag:'"3500-egiIP//GlYxxzAGnWguZzKPktHU"',mtime:"2025-03-02T08:14:46.329Z",size:13568,path:"../public/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2"},"/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf":{type:"font/ttf",etag:'"6ba4-YpuZ+vGNl1KfIaGxAYCT5gvNBY8"',mtime:"2025-03-02T08:14:46.329Z",size:27556,path:"../public/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf"},"/assets/_commonjs-dynamic-modules-BHR_E30J.js":{type:"text/javascript; charset=utf-8",etag:'"ef-vHSfqlhrML9YMkbF73EloDEqEvo"',mtime:"2025-03-02T08:14:46.329Z",size:239,path:"../public/assets/_commonjs-dynamic-modules-BHR_E30J.js"},"/assets/about-CdYB6Ic4.js":{type:"text/javascript; charset=utf-8",etag:'"fa-g0EgZaj8ohDJ9Yh51Fxf1ONsnx8"',mtime:"2025-03-02T08:14:46.329Z",size:250,path:"../public/assets/about-CdYB6Ic4.js"},"/assets/app-_ksMLlTy.js":{type:"text/javascript; charset=utf-8",etag:'"1a-F1ebt5luQF+ilw3nh0acHjD0L2E"',mtime:"2025-03-02T08:14:46.329Z",size:26,path:"../public/assets/app-_ksMLlTy.js"},"/assets/assets-t-logo-CxwPZnhN.png":{type:"image/png",etag:'"146c-vbv340mQ6WdpZBtCqwFRw74KQuc"',mtime:"2025-03-02T08:14:46.329Z",size:5228,path:"../public/assets/assets-t-logo-CxwPZnhN.png"},"/assets/avatar.vue_vue_type_script_setup_true_lang-BASxWw7j.js":{type:"text/javascript; charset=utf-8",etag:'"e6d79-fPDun3ZDvfkyXJO5a7rM4EQP3qI"',mtime:"2025-03-02T08:14:46.332Z",size:945529,path:"../public/assets/avatar.vue_vue_type_script_setup_true_lang-BASxWw7j.js"},"/assets/changelog-BLu10RIw.js":{type:"text/javascript; charset=utf-8",etag:'"107-DPk6brMXabgS1R5xpsFeuuaBtNQ"',mtime:"2025-03-02T08:14:46.329Z",size:263,path:"../public/assets/changelog-BLu10RIw.js"},"/assets/chat-Bk-d2e60.js":{type:"text/javascript; charset=utf-8",etag:'"10bb4-nW7LlkdrG9c50m7rQCh/38tRnyw"',mtime:"2025-03-02T08:14:46.329Z",size:68532,path:"../public/assets/chat-Bk-d2e60.js"},"/assets/chat-DcH-HSRP.css":{type:"text/css; charset=utf-8",etag:'"1e6e-FUBcQFLWWcnvXlrp8pHfspng5cQ"',mtime:"2025-03-02T08:14:46.329Z",size:7790,path:"../public/assets/chat-DcH-HSRP.css"},"/assets/content-B1prbsh0.js":{type:"text/javascript; charset=utf-8",etag:'"300a-3zwkmn4x/DZ2E4j4qbtP1XNxDWY"',mtime:"2025-03-02T08:14:46.329Z",size:12298,path:"../public/assets/content-B1prbsh0.js"},"/assets/content-CXerDfC_.css":{type:"text/css; charset=utf-8",etag:'"cb-1a+zqFn+hrqgGCN6Yif45aPXz90"',mtime:"2025-03-02T08:14:46.330Z",size:203,path:"../public/assets/content-CXerDfC_.css"},"/assets/copy-BBWLw_FM.js":{type:"text/javascript; charset=utf-8",etag:'"4ce-5V8QwS/40xUSXXmrpyTwImwTfo4"',mtime:"2025-03-02T08:14:46.330Z",size:1230,path:"../public/assets/copy-BBWLw_FM.js"},"/assets/debounce-Tt5OIvUe.js":{type:"text/javascript; charset=utf-8",etag:'"5fb-JIkWI4F17OZMKBh3+YHoDsSL+do"',mtime:"2025-03-02T08:14:46.330Z",size:1531,path:"../public/assets/debounce-Tt5OIvUe.js"},"/assets/delete-1-QUTFWdbE.js":{type:"text/javascript; charset=utf-8",etag:'"57c-YKd8xkFm1lP+4wGzshjUVdF1gzE"',mtime:"2025-03-02T08:14:46.330Z",size:1404,path:"../public/assets/delete-1-QUTFWdbE.js"},"/assets/dep-916b902f-Cn0S6Rgc.js":{type:"text/javascript; charset=utf-8",etag:'"bc-BCb9WelRO157xL3C9fdpwnm6E+o"',mtime:"2025-03-02T08:14:46.330Z",size:188,path:"../public/assets/dep-916b902f-Cn0S6Rgc.js"},"/assets/ellipsis-CUguZ874.js":{type:"text/javascript; charset=utf-8",etag:'"4cc-pBAS41IIpmY583VYBYx988XhS8w"',mtime:"2025-03-02T08:14:46.330Z",size:1228,path:"../public/assets/ellipsis-CUguZ874.js"},"/assets/fetch-DgHGEove.js":{type:"text/javascript; charset=utf-8",etag:'"dcbf-UE072m3JqnTpmKQ0mrQUyYT/WGo"',mtime:"2025-03-02T08:14:46.330Z",size:56511,path:"../public/assets/fetch-DgHGEove.js"},"/assets/flowchart-elk-definition-170a3958-DwJg_SqN.js":{type:"text/javascript; charset=utf-8",etag:'"15a11d-DxqlmYc6zIqjBE4SeruxwnE/pic"',mtime:"2025-03-02T08:14:46.334Z",size:1417501,path:"../public/assets/flowchart-elk-definition-170a3958-DwJg_SqN.js"},"/assets/form-model-BANeuwVW.css":{type:"text/css; charset=utf-8",etag:'"7284-lsLg+GJWwzseSwwP2hHUaKcnKxE"',mtime:"2025-03-02T08:14:46.331Z",size:29316,path:"../public/assets/form-model-BANeuwVW.css"},"/assets/form-model-BuU6gmb2.js":{type:"text/javascript; charset=utf-8",etag:'"198a4-/vsZzS2jADzizRzpe9gKYNppHnw"',mtime:"2025-03-02T08:14:46.331Z",size:104612,path:"../public/assets/form-model-BuU6gmb2.js"},"/assets/global-BBPDszaw.css":{type:"text/css; charset=utf-8",etag:'"510f-WpHL1AzHgzEHunCSUTTUYhtndJM"',mtime:"2025-03-02T08:14:46.332Z",size:20751,path:"../public/assets/global-BBPDszaw.css"},"/assets/global-D3BYkvaa.js":{type:"text/javascript; charset=utf-8",etag:'"847b2-5K3RTKj8Q4dHAidVTsDWcB7KEYI"',mtime:"2025-03-02T08:14:46.332Z",size:542642,path:"../public/assets/global-D3BYkvaa.js"},"/assets/help-Dzm7LGdY.js":{type:"text/javascript; charset=utf-8",etag:'"169-QJWACBKHItlx2HN5OeqHz25zreM"',mtime:"2025-03-02T08:14:46.332Z",size:361,path:"../public/assets/help-Dzm7LGdY.js"},"/assets/index-9YghBFZ7.js":{type:"text/javascript; charset=utf-8",etag:'"327df-BQfY0ZI7u4aeWBJLckJSlutUfZw"',mtime:"2025-03-02T08:14:46.332Z",size:206815,path:"../public/assets/index-9YghBFZ7.js"},"/assets/index-B0yFS2PK.js":{type:"text/javascript; charset=utf-8",etag:'"fc25-+1JvUsJPeI34x8vVZUoesNgPjKQ"',mtime:"2025-03-02T08:14:46.333Z",size:64549,path:"../public/assets/index-B0yFS2PK.js"},"/assets/index-BFGbiS_r.js":{type:"text/javascript; charset=utf-8",etag:'"6f-ZOLFntlmVQBAcOQ7FZwg1iVxIvQ"',mtime:"2025-03-02T08:14:46.332Z",size:111,path:"../public/assets/index-BFGbiS_r.js"},"/assets/index-BO1LBToO.js":{type:"text/javascript; charset=utf-8",etag:'"d4c-VxX4idDBA1lOmiSmJxhHInck0d0"',mtime:"2025-03-02T08:14:46.333Z",size:3404,path:"../public/assets/index-BO1LBToO.js"},"/assets/index-BSjyIt_w.js":{type:"text/javascript; charset=utf-8",etag:'"c26-ho8/f6rWCScZ6qBPzruZx4DgvQg"',mtime:"2025-03-02T08:14:46.333Z",size:3110,path:"../public/assets/index-BSjyIt_w.js"},"/assets/index-BZuyLcM6.css":{type:"text/css; charset=utf-8",etag:'"5abd-F71nQeNFvwmJmGUrcTi/UlcPyoA"',mtime:"2025-03-02T08:14:46.333Z",size:23229,path:"../public/assets/index-BZuyLcM6.css"},"/assets/index-BpojDYFf.js":{type:"text/javascript; charset=utf-8",etag:'"1d51-d+K1eJ7FfhSU7LwahPBIWowExL8"',mtime:"2025-03-02T08:14:46.333Z",size:7505,path:"../public/assets/index-BpojDYFf.js"},"/assets/index-Btrwuqar.js":{type:"text/javascript; charset=utf-8",etag:'"1487a-iGfmvesLxoA1Lu8zq+sn8x/PR7I"',mtime:"2025-03-02T08:14:46.333Z",size:84090,path:"../public/assets/index-Btrwuqar.js"},"/assets/index-CFf_Ho28.js":{type:"text/javascript; charset=utf-8",etag:'"1f6a-5qK5duesduRA9JLWAActwqKYWJM"',mtime:"2025-03-02T08:14:46.333Z",size:8042,path:"../public/assets/index-CFf_Ho28.js"},"/assets/index-CIhn6Q_x.css":{type:"text/css; charset=utf-8",etag:'"9b8-P1UONWHl6kEn2AWvb906snWHZoE"',mtime:"2025-03-02T08:14:46.333Z",size:2488,path:"../public/assets/index-CIhn6Q_x.css"},"/assets/index-COWnL8XW.js":{type:"text/javascript; charset=utf-8",etag:'"969-XYSCiB/gBwWyhYsa0ANIptEiR0E"',mtime:"2025-03-02T08:14:46.333Z",size:2409,path:"../public/assets/index-COWnL8XW.js"},"/assets/index-CYx4j8rU.js":{type:"text/javascript; charset=utf-8",etag:'"34f7-o5DQO3SYOx3HmB4KkkC9IrTrzCQ"',mtime:"2025-03-02T08:14:46.333Z",size:13559,path:"../public/assets/index-CYx4j8rU.js"},"/assets/index-Cg5ihCA-.css":{type:"text/css; charset=utf-8",etag:'"777-yNZFKnx44joA35zGrg8xOZBDabo"',mtime:"2025-03-02T08:14:46.333Z",size:1911,path:"../public/assets/index-Cg5ihCA-.css"},"/assets/index-CkF9ks1N.js":{type:"text/javascript; charset=utf-8",etag:'"1bf-1rw5+izyOmkJRxqJmLK890xQox0"',mtime:"2025-03-02T08:14:46.333Z",size:447,path:"../public/assets/index-CkF9ks1N.js"},"/assets/index-CqIJcWep.js":{type:"text/javascript; charset=utf-8",etag:'"1d0d-rpjKcCiO42FTHs7NOYUbE2HDnfU"',mtime:"2025-03-02T08:14:46.333Z",size:7437,path:"../public/assets/index-CqIJcWep.js"},"/assets/index-Cuo7O5Im.css":{type:"text/css; charset=utf-8",etag:'"2773-YOdlR93q/PeE9UBb4W1zoIZ5Xks"',mtime:"2025-03-02T08:14:46.333Z",size:10099,path:"../public/assets/index-Cuo7O5Im.css"},"/assets/index-D5r9_V6Z.css":{type:"text/css; charset=utf-8",etag:'"39a7-BpZrCA9loP8N3qPVeCJMZIHYKIs"',mtime:"2025-03-02T08:14:46.333Z",size:14759,path:"../public/assets/index-D5r9_V6Z.css"},"/assets/index-DSrorEDA.js":{type:"text/javascript; charset=utf-8",etag:'"4a56-QrWDPednmI0rfobpoLCK2LmqO0Q"',mtime:"2025-03-02T08:14:46.334Z",size:19030,path:"../public/assets/index-DSrorEDA.js"},"/assets/index-DTZnpgd-.css":{type:"text/css; charset=utf-8",etag:'"2886-T+ai5EapV0TGaMqGcaJ8vXvFbsI"',mtime:"2025-03-02T08:14:46.334Z",size:10374,path:"../public/assets/index-DTZnpgd-.css"},"/assets/index-DWphMrS1.css":{type:"text/css; charset=utf-8",etag:'"321-j2DbWq2xzTMni/ogD59SBddlPSk"',mtime:"2025-03-02T08:14:46.334Z",size:801,path:"../public/assets/index-DWphMrS1.css"},"/assets/index-DcpcXD6o.css":{type:"text/css; charset=utf-8",etag:'"5c98-yLEJlCrZ0lHdgPFxD87ff4GTlvs"',mtime:"2025-03-02T08:14:46.334Z",size:23704,path:"../public/assets/index-DcpcXD6o.css"},"/assets/index-DnHwCcNj.js":{type:"text/javascript; charset=utf-8",etag:'"3881-X8A1+lYjISU4LSz1O7MpAOmEJOA"',mtime:"2025-03-02T08:14:46.334Z",size:14465,path:"../public/assets/index-DnHwCcNj.js"},"/assets/index-L5AGF2i2.css":{type:"text/css; charset=utf-8",etag:'"2499-bNaFVwlUd2C8L7R9teUFVwsLOhQ"',mtime:"2025-03-02T08:14:46.334Z",size:9369,path:"../public/assets/index-L5AGF2i2.css"},"/assets/index-UDqjXop5.js":{type:"text/javascript; charset=utf-8",etag:'"6b63-6YvWdiFBpe7BXgI8s3/ezNLWY/E"',mtime:"2025-03-02T08:14:46.334Z",size:27491,path:"../public/assets/index-UDqjXop5.js"},"/assets/index-XXxXkjQE.css":{type:"text/css; charset=utf-8",etag:'"b36-t1j7CTXzV5+B1tg7xAMaFq4FiR4"',mtime:"2025-03-02T08:14:46.334Z",size:2870,path:"../public/assets/index-XXxXkjQE.css"},"/assets/index-YIxyi2hk.js":{type:"text/javascript; charset=utf-8",etag:'"4514-zZzhQHpk52y2UHRbLgKLXeL5bT0"',mtime:"2025-03-02T08:14:46.334Z",size:17684,path:"../public/assets/index-YIxyi2hk.js"},"/assets/index-dIOYMMBF.css":{type:"text/css; charset=utf-8",etag:'"1e7d-LtpFiT6m/sBacwkzCaVcyUksxEw"',mtime:"2025-03-02T08:14:46.334Z",size:7805,path:"../public/assets/index-dIOYMMBF.css"},"/assets/index-seAfbiMq.js":{type:"text/javascript; charset=utf-8",etag:'"4b0a-5R7fAauSU1xbHaXY1PXGGD+aF7Q"',mtime:"2025-03-02T08:14:46.335Z",size:19210,path:"../public/assets/index-seAfbiMq.js"},"/assets/index-wQ5-px18.css":{type:"text/css; charset=utf-8",etag:'"1689-sbeVf5CZYUH7aehAxe7zap3YQ5M"',mtime:"2025-03-02T08:14:46.335Z",size:5769,path:"../public/assets/index-wQ5-px18.css"},"/assets/is_dark-CgVt85wj.js":{type:"text/javascript; charset=utf-8",etag:'"f1-ZnVTB82MKeC9FxwVFaghs0Q4O3s"',mtime:"2025-03-02T08:14:46.335Z",size:241,path:"../public/assets/is_dark-CgVt85wj.js"},"/assets/lyihub-Bco7WNuk.css":{type:"text/css; charset=utf-8",etag:'"ff9-2rP6ed5v/1KXfaqu/haSDMy0tM0"',mtime:"2025-03-02T08:14:46.335Z",size:4089,path:"../public/assets/lyihub-Bco7WNuk.css"},"/assets/lyihub-CcSYfJzB.js":{type:"text/javascript; charset=utf-8",etag:'"41ea-9CZwoaeJDGYiE7pWfyxrWKwNNrk"',mtime:"2025-03-02T08:14:46.335Z",size:16874,path:"../public/assets/lyihub-CcSYfJzB.js"},"/assets/main-4AdDN4UD.css":{type:"text/css; charset=utf-8",etag:'"31254-GoxARQLDazfOz2m/G13/aWqtsIU"',mtime:"2025-03-02T08:14:46.335Z",size:201300,path:"../public/assets/main-4AdDN4UD.css"},"/assets/main-BHXR-KLt.js":{type:"text/javascript; charset=utf-8",etag:'"61e7a-1Ifg+/nzv4KRLqM/fTBMV9/3CgE"',mtime:"2025-03-02T08:14:46.335Z",size:401018,path:"../public/assets/main-BHXR-KLt.js"},"/assets/markdown-b73q677t.js":{type:"text/javascript; charset=utf-8",etag:'"23c7ec-dYgJgvvIvOOGTm3L56lrMIMGrLQ"',mtime:"2025-03-02T08:14:46.338Z",size:2344940,path:"../public/assets/markdown-b73q677t.js"},"/assets/mindmap-definition-44684416-BgB0IMap.js":{type:"text/javascript; charset=utf-8",etag:'"82331-5+IUfq2xeBS+Ic/EdEAYjPSXkFc"',mtime:"2025-03-02T08:14:46.336Z",size:533297,path:"../public/assets/mindmap-definition-44684416-BgB0IMap.js"},"/assets/pdf.worker.min-yatZIOMy.mjs":{type:"text/javascript; charset=utf-8",etag:'"14fe5e-iGC1A5RKrS0JublO5W5Pq4QUymk"',mtime:"2025-03-02T08:14:46.338Z",size:1375838,path:"../public/assets/pdf.worker.min-yatZIOMy.mjs"},"/assets/plus-B1xA9W2T.js":{type:"text/javascript; charset=utf-8",etag:'"4bf-HJcxS5HSjXEb/e1tEjFUQnlZteM"',mtime:"2025-03-02T08:14:46.336Z",size:1215,path:"../public/assets/plus-B1xA9W2T.js"},"/assets/popup-BZRvurcZ.css":{type:"text/css; charset=utf-8",etag:'"12e9c-tokB4722vQE6e8e0M9n8VICENDQ"',mtime:"2025-03-02T08:14:46.337Z",size:77468,path:"../public/assets/popup-BZRvurcZ.css"},"/assets/popup-BgSo-xSD.js":{type:"text/javascript; charset=utf-8",etag:'"17c9-xMHkp0VQpaQlsAjVUWs3C6atKjg"',mtime:"2025-03-02T08:14:46.337Z",size:6089,path:"../public/assets/popup-BgSo-xSD.js"},"/assets/prism-CiUGzeCM.js":{type:"text/javascript; charset=utf-8",etag:'"9727-dZ6VgzC4a/jnGbsczD4PEgMRWao"',mtime:"2025-03-02T08:14:46.337Z",size:38695,path:"../public/assets/prism-CiUGzeCM.js"},"/assets/refresh-DaGPhaEH.js":{type:"text/javascript; charset=utf-8",etag:'"55f-oKpMN4vFiZlFuol4/FAl9oz18TQ"',mtime:"2025-03-02T08:14:46.337Z",size:1375,path:"../public/assets/refresh-DaGPhaEH.js"},"/assets/sambanova-35TLgnML.webp":{type:"image/webp",etag:'"415c-sMenaeQGBb9K2dKKno4v8gu8CQg"',mtime:"2025-03-02T08:14:46.337Z",size:16732,path:"../public/assets/sambanova-35TLgnML.webp"},"/assets/scraper.worker-C5ikRwpu.js":{type:"text/javascript; charset=utf-8",etag:'"268-Onu+45h7Y6Bc+D4LCl5TM9ow9wE"',mtime:"2025-03-02T08:14:46.337Z",size:616,path:"../public/assets/scraper.worker-C5ikRwpu.js"},"/assets/timeline-definition-8e5a9bc6-DcRKrR1Y.js":{type:"text/javascript; charset=utf-8",etag:'"4f7e-eugoaY61e+MY4oTYZjItEWU5tvE"',mtime:"2025-03-02T08:14:46.337Z",size:20350,path:"../public/assets/timeline-definition-8e5a9bc6-DcRKrR1Y.js"},"/assets/useVirtualScrollNew-Ck-yq0Qe.js":{type:"text/javascript; charset=utf-8",etag:'"12c0-4v/jU0+YFNUI3uvE+N5I2zGSBMo"',mtime:"2025-03-02T08:14:46.337Z",size:4800,path:"../public/assets/useVirtualScrollNew-Ck-yq0Qe.js"},"/assets/v4-_R2nDvl_.js":{type:"text/javascript; charset=utf-8",etag:'"3a1-Em826+EaiFJxMLWvplFS7Y7rsAM"',mtime:"2025-03-02T08:14:46.337Z",size:929,path:"../public/assets/v4-_R2nDvl_.js"},"/swagger/LICENSE":{type:"text/plain; charset=utf-8",etag:'"2c5e-K4uBUimqimHkg/tLoFiLi2xJGJA"',mtime:"2025-03-02T08:14:46.322Z",size:11358,path:"../public/swagger/LICENSE"},"/swagger/NOTICE":{type:"text/plain; charset=utf-8",etag:'"37-0n8Fhwk9uv718DEoBFAYAHxrqZ8"',mtime:"2025-03-02T08:14:46.342Z",size:55,path:"../public/swagger/NOTICE"},"/swagger/README.md":{type:"text/markdown; charset=utf-8",etag:'"6be-eQ4mvDl95ct54H1v8dasMT5BJwQ"',mtime:"2025-03-02T08:14:46.342Z",size:1726,path:"../public/swagger/README.md"},"/swagger/absolute-path.js":{type:"text/javascript; charset=utf-8",etag:'"212-J+QveHG7rDiOFdNzZCZDqcDOK+M"',mtime:"2025-03-02T08:14:46.342Z",size:530,path:"../public/swagger/absolute-path.js"},"/swagger/favicon-16x16.png":{type:"image/png",etag:'"299-P/Ck0KVN5edEo4I0mCIWWmtplO0"',mtime:"2025-03-02T08:14:46.342Z",size:665,path:"../public/swagger/favicon-16x16.png"},"/swagger/favicon-32x32.png":{type:"image/png",etag:'"274-jKULWQGffxfGW3fqT5ChsaRqwLY"',mtime:"2025-03-02T08:14:46.343Z",size:628,path:"../public/swagger/favicon-32x32.png"},"/swagger/index.css":{type:"text/css; charset=utf-8",etag:'"ca-cVhpBjOPaUIKpM8dNJT+6MUz8Ro"',mtime:"2025-03-02T08:14:46.343Z",size:202,path:"../public/swagger/index.css"},"/swagger/index.html":{type:"text/html; charset=utf-8",etag:'"2de-1EOW5JSXowvBRBqUcXZxJSLvf2M"',mtime:"2025-03-02T08:14:46.343Z",size:734,path:"../public/swagger/index.html"},"/swagger/index.js":{type:"text/javascript; charset=utf-8",etag:'"32d-GIZCZQ6FP1cqjHGRuiG/HV4bPls"',mtime:"2025-03-02T08:14:46.343Z",size:813,path:"../public/swagger/index.js"},"/swagger/oauth2-redirect.html":{type:"text/html; charset=utf-8",etag:'"a9b-4dCYXMgAc9mtJO1U4TUJArG0ZRw"',mtime:"2025-03-02T08:14:46.343Z",size:2715,path:"../public/swagger/oauth2-redirect.html"},"/swagger/package.json":{type:"application/json",etag:'"22f-ge5qnFv6U+FiQDMrcNVQ109ojuM"',mtime:"2025-03-02T08:14:46.343Z",size:559,path:"../public/swagger/package.json"},"/swagger/swagger-initializer.js":{type:"text/javascript; charset=utf-8",etag:'"29a-zW3E63PXRtQnB3CBmSCmAsl3emI"',mtime:"2025-03-02T08:14:46.343Z",size:666,path:"../public/swagger/swagger-initializer.js"},"/swagger/swagger-ui-bundle.js":{type:"text/javascript; charset=utf-8",etag:'"164292-JP4Z8h5sOKi+xzRojHQ6R2bDeYc"',mtime:"2025-03-02T08:14:46.348Z",size:1458834,path:"../public/swagger/swagger-ui-bundle.js"},"/swagger/swagger-ui-bundle.js.map":{type:"application/json",etag:'"1d4f6e-EdZwAI/8NHP9DkSgVRmzrlnheWM"',mtime:"2025-03-02T08:14:46.351Z",size:1920878,path:"../public/swagger/swagger-ui-bundle.js.map"},"/swagger/swagger-ui-es-bundle-core.js":{type:"text/javascript; charset=utf-8",etag:'"70d43-mCyECSBbqulz0eM1ClNLIVsPSAw"',mtime:"2025-03-02T08:14:46.345Z",size:462147,path:"../public/swagger/swagger-ui-es-bundle-core.js"},"/swagger/swagger-ui-es-bundle-core.js.map":{type:"application/json",etag:'"17fbd3-wwo/aM2MJt3p+TzYRM3y9+0q854"',mtime:"2025-03-02T08:14:46.349Z",size:1571795,path:"../public/swagger/swagger-ui-es-bundle-core.js.map"},"/swagger/swagger-ui-es-bundle.js":{type:"text/javascript; charset=utf-8",etag:'"16419c-bR9bEUieKWXUhAsN1u1RFJhbZPU"',mtime:"2025-03-02T08:14:46.356Z",size:1458588,path:"../public/swagger/swagger-ui-es-bundle.js"},"/swagger/swagger-ui-es-bundle.js.map":{type:"application/json",etag:'"1d2e65-gxP1cBHxZIolETVmnp6JQCmZz/o"',mtime:"2025-03-02T08:14:46.361Z",size:1912421,path:"../public/swagger/swagger-ui-es-bundle.js.map"},"/swagger/swagger-ui-standalone-preset.js":{type:"text/javascript; charset=utf-8",etag:'"38277-xQgm5f4z1FIqVlLwGSzHex4Fw6k"',mtime:"2025-03-02T08:14:46.356Z",size:230007,path:"../public/swagger/swagger-ui-standalone-preset.js"},"/swagger/swagger-ui-standalone-preset.js.map":{type:"application/json",etag:'"50934-V3RjXs1XH6csGCSTQuOjPfev+7U"',mtime:"2025-03-02T08:14:46.351Z",size:330036,path:"../public/swagger/swagger-ui-standalone-preset.js.map"},"/swagger/swagger-ui.css":{type:"text/css; charset=utf-8",etag:'"25208-LCeGOXo3/FiKrbfdZ/Bszk2IOBo"',mtime:"2025-03-02T08:14:46.351Z",size:152072,path:"../public/swagger/swagger-ui.css"},"/swagger/swagger-ui.css.map":{type:"application/json",etag:'"401fa-zqCI+Q0IrfESKbbJYhL/JcOkwvs"',mtime:"2025-03-02T08:14:46.352Z",size:262650,path:"../public/swagger/swagger-ui.css.map"},"/swagger/swagger-ui.js":{type:"text/javascript; charset=utf-8",etag:'"52d5c-c6nIMoLAeNB4yX3xSPePPeDpQ2o"',mtime:"2025-03-02T08:14:46.352Z",size:339292,path:"../public/swagger/swagger-ui.js"},"/swagger/swagger-ui.js.map":{type:"application/json",etag:'"11b11e-gp1pUZibogyCLGgGPUBDz6jFdTk"',mtime:"2025-03-02T08:14:46.353Z",size:1159454,path:"../public/swagger/swagger-ui.js.map"}},Be=/^[A-Za-z]:\//;function normalizeWindowsPath(e=""){return e?e.replace(/\\/g,"/").replace(Be,(e=>e.toUpperCase())):e}const Ee=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/,Ae=/^[A-Za-z]:$/;const isAbsolute=function(e){return Ee.test(e)};function readAsset(t){const s=function(e){const t=normalizeWindowsPath(e).replace(/\/$/,"").split("/").slice(0,-1);return 1===t.length&&Ae.test(t[0])&&(t[0]+="/"),t.join("/")||(isAbsolute(e)?"/":".")}(c(globalThis._importMeta_.url));return i.readFile(function(...t){let s="",o=!1;for(let a=(t=t.map((e=>normalizeWindowsPath(e)))).length-1;a>=-1&&!o;a--){const i=a>=0?t[a]:void 0!==e&&"function"==typeof e.cwd?e.cwd().replace(/\\/g,"/"):"/";i&&0!==i.length&&(s=`${i}/${s}`,o=isAbsolute(i))}return s=function(e,t){let s="",o=0,a=-1,i=0,n=null;for(let c=0;c<=e.length;++c){if(c<e.length)n=e[c];else{if("/"===n)break;n="/"}if("/"===n){if(a===c-1||1===i);else if(2===i){if(s.length<2||2!==o||"."!==s[s.length-1]||"."!==s[s.length-2]){if(s.length>2){const e=s.lastIndexOf("/");-1===e?(s="",o=0):(s=s.slice(0,e),o=s.length-1-s.lastIndexOf("/")),a=c,i=0;continue}if(s.length>0){s="",o=0,a=c,i=0;continue}}t&&(s+=s.length>0?"/..":"..",o=2)}else s.length>0?s+=`/${e.slice(a+1,c)}`:s=e.slice(a+1,c),o=c-a-1;a=c,i=0}else"."===n&&-1!==i?++i:i=-1}return s}(s,!o),o&&!isAbsolute(s)?`/${s}`:s.length>0?s:"."}(s,Ce[t].path))}const Ie={};function getAsset(e){return Ce[e]}const Me=new Set(["HEAD","GET"]),He={gzip:".gz",br:".br"},Oe=[{route:"",handler:ue((e=>{if(e.method&&!Me.has(e.method))return;let t=decode(withLeadingSlash(withoutTrailingSlash(parseURL(e.path).pathname)).replace(j,"%252F"));let s;const o=[...String(getRequestHeader(e,"accept-encoding")||"").split(",").map((e=>He[e.trim()])).filter(Boolean).sort(),""];o.length>1&&function(e,t,s){let o=e.node.res.getHeader(t);o?(Array.isArray(o)||(o=[o.toString()]),e.node.res.setHeader(t,[...o,s])):e.node.res.setHeader(t,s)}(e,"Vary","Accept-Encoding");for(const e of o)for(const o of[t+e,joinURL(t,"index.html"+e)]){const e=getAsset(o);if(e){s=e,t=o;break}}if(!s){if(function(e=""){if(Ce[e])return!0;for(const t in Ie)if(e.startsWith(t))return!0;return!1}(t))throw function(e,t){e.node.res.removeHeader(t)}(e,"Cache-Control"),createError$1({statusMessage:"Cannot find static asset "+t,statusCode:404});return}if(getRequestHeader(e,"if-none-match")===s.etag)return setResponseStatus(e,304,"Not Modified"),"";const a=getRequestHeader(e,"if-modified-since"),i=new Date(s.mtime);return a&&s.mtime&&new Date(a)>=i?(setResponseStatus(e,304,"Not Modified"),""):(s.type&&!getResponseHeader(e,"Content-Type")&&setResponseHeader(e,"Content-Type",s.type),s.etag&&!getResponseHeader(e,"ETag")&&setResponseHeader(e,"ETag",s.etag),s.mtime&&!getResponseHeader(e,"Last-Modified")&&setResponseHeader(e,"Last-Modified",i.toUTCString()),s.encoding&&!getResponseHeader(e,"Content-Encoding")&&setResponseHeader(e,"Content-Encoding",s.encoding),s.size>0&&!getResponseHeader(e,"Content-Length")&&setResponseHeader(e,"Content-Length",s.size),readAsset(t))})),lazy:!1,middleware:!0,method:void 0},{route:"",handler:defineEventHandler((t=>{t.context.cloudflare&&(e.env=t.context.cloudflare.env)})),lazy:!1,middleware:!0,method:void 0},{route:"",handler:defineEventHandler((e=>{if("OPTIONS"===e.node.req.method)return e.node.res.setHeader("Access-Control-Allow-Origin","*"),e.node.res.setHeader("Access-Control-Allow-Methods","GET, POST, PUT, DELETE, OPTIONS"),e.node.res.setHeader("Access-Control-Allow-Headers","*"),e.node.res.setHeader("Access-Control-Max-Age","86400"),e.node.res.statusCode=204,void e.node.res.end();e.node.res.setHeader("Access-Control-Allow-Origin","*"),e.node.res.setHeader("Access-Control-Expose-Headers","*")})),lazy:!1,middleware:!0,method:void 0},{route:"/api/**",handler:()=>import("../routes/api/_..._.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/app/**",handler:()=>import("../routes/app/_..._.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/cache/clear",handler:()=>import("../routes/cache/clear.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/config",handler:()=>import("../routes/index.get.mjs"),lazy:!0,middleware:!1,method:"get"},{route:"/config",handler:()=>import("../routes/index.post.mjs"),lazy:!0,middleware:!1,method:"post"},{route:"/crawler",handler:()=>import("../routes/crawler.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/cursor/code",handler:()=>import("../routes/cursor/code.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/cursor/token",handler:()=>import("../routes/cursor/token.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/github/code",handler:()=>import("../routes/github/code.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/github/token",handler:()=>import("../routes/github/token.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/google/access_token",handler:()=>import("../routes/google/access_token.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/google/code",handler:()=>import("../routes/google/code.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/health",handler:()=>import("../routes/health.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/openai/**",handler:()=>import("../routes/openai/_..._.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/openapi.json",handler:()=>import("../routes/openapi.json.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/search",handler:()=>import("../routes/search.mjs"),lazy:!0,middleware:!1,method:void 0}];function asyncCall(e,...t){try{return(s=e(...t))&&"function"==typeof s.then?s:Promise.resolve(s)}catch(e){return Promise.reject(e)}var s}function stringify(e){if(function(e){const t=typeof e;return null===e||"object"!==t&&"function"!==t}(e))return String(e);if(function(e){const t=Object.getPrototypeOf(e);return!t||t.isPrototypeOf(Object)}(e)||Array.isArray(e))return JSON.stringify(e);if("function"==typeof e.toJSON)return stringify(e.toJSON());throw new Error("[unstorage] Cannot stringify value!")}const Ke="base64:";function serializeRaw(e){return"string"==typeof e?e:Ke+function(e){if(globalThis.Buffer)return Buffer.from(e).toString("base64");return globalThis.btoa(String.fromCodePoint(...e))}(e)}function deserializeRaw(e){return"string"!=typeof e?e:e.startsWith(Ke)?function(e){if(globalThis.Buffer)return Buffer.from(e,"base64");return Uint8Array.from(globalThis.atob(e),(e=>e.codePointAt(0)))}(e.slice(7)):e}const Ze=["hasItem","getItem","getItemRaw","setItem","setItemRaw","removeItem","getMeta","setMeta","removeMeta","getKeys","clear","mount","unmount"];function normalizeKey$2(e){return e&&e.split("?")[0]?.replace(/[/\\]/g,":").replace(/:+/g,":").replace(/^:|:$/g,"")||""}function joinKeys$1(...e){return normalizeKey$2(e.join(":"))}function normalizeBaseKey(e){return(e=normalizeKey$2(e))?e+":":""}const memory=()=>{const e=new Map;return{name:"memory",getInstance:()=>e,hasItem:t=>e.has(t),getItem:t=>e.get(t)??null,getItemRaw:t=>e.get(t)??null,setItem(t,s){e.set(t,s)},setItemRaw(t,s){e.set(t,s)},removeItem(t){e.delete(t)},getKeys:()=>[...e.keys()],clear(){e.clear()},dispose(){e.clear()}}};function createStorage(e={}){const t={mounts:{"":e.driver||memory()},mountpoints:[""],watching:!1,watchListeners:[],unwatch:{}},getMount=e=>{for(const s of t.mountpoints)if(e.startsWith(s))return{base:s,relativeKey:e.slice(s.length),driver:t.mounts[s]};return{base:"",relativeKey:e,driver:t.mounts[""]}},getMounts=(e,s)=>t.mountpoints.filter((t=>t.startsWith(e)||s&&e.startsWith(t))).map((s=>({relativeBase:e.length>s.length?e.slice(s.length):void 0,mountpoint:s,driver:t.mounts[s]}))),onChange=(e,s)=>{if(t.watching){s=normalizeKey$2(s);for(const o of t.watchListeners)o(e,s)}},stopWatch=async()=>{if(t.watching){for(const e in t.unwatch)await t.unwatch[e]();t.unwatch={},t.watching=!1}},runBatch=(e,t,s)=>{const o=new Map,getBatch=e=>{let t=o.get(e.base);return t||(t={driver:e.driver,base:e.base,items:[]},o.set(e.base,t)),t};for(const s of e){const e="string"==typeof s,o=normalizeKey$2(e?s:s.key),a=e?void 0:s.value,i=e||!s.options?t:{...t,...s.options},n=getMount(o);getBatch(n).items.push({key:o,value:a,relativeKey:n.relativeKey,options:i})}return Promise.all([...o.values()].map((e=>s(e)))).then((e=>e.flat()))},s={hasItem(e,t={}){e=normalizeKey$2(e);const{relativeKey:s,driver:o}=getMount(e);return asyncCall(o.hasItem,s,t)},getItem(e,t={}){e=normalizeKey$2(e);const{relativeKey:s,driver:o}=getMount(e);return asyncCall(o.getItem,s,t).then((e=>destr(e)))},getItems:(e,t={})=>runBatch(e,t,(e=>e.driver.getItems?asyncCall(e.driver.getItems,e.items.map((e=>({key:e.relativeKey,options:e.options}))),t).then((t=>t.map((t=>({key:joinKeys$1(e.base,t.key),value:destr(t.value)}))))):Promise.all(e.items.map((t=>asyncCall(e.driver.getItem,t.relativeKey,t.options).then((e=>({key:t.key,value:destr(e)})))))))),getItemRaw(e,t={}){e=normalizeKey$2(e);const{relativeKey:s,driver:o}=getMount(e);return o.getItemRaw?asyncCall(o.getItemRaw,s,t):asyncCall(o.getItem,s,t).then((e=>deserializeRaw(e)))},async setItem(e,t,o={}){if(void 0===t)return s.removeItem(e);e=normalizeKey$2(e);const{relativeKey:a,driver:i}=getMount(e);i.setItem&&(await asyncCall(i.setItem,a,stringify(t),o),i.watch||onChange("update",e))},async setItems(e,t){await runBatch(e,t,(async e=>{if(e.driver.setItems)return asyncCall(e.driver.setItems,e.items.map((e=>({key:e.relativeKey,value:stringify(e.value),options:e.options}))),t);e.driver.setItem&&await Promise.all(e.items.map((t=>asyncCall(e.driver.setItem,t.relativeKey,stringify(t.value),t.options))))}))},async setItemRaw(e,t,o={}){if(void 0===t)return s.removeItem(e,o);e=normalizeKey$2(e);const{relativeKey:a,driver:i}=getMount(e);if(i.setItemRaw)await asyncCall(i.setItemRaw,a,t,o);else{if(!i.setItem)return;await asyncCall(i.setItem,a,serializeRaw(t),o)}i.watch||onChange("update",e)},async removeItem(e,t={}){"boolean"==typeof t&&(t={removeMeta:t}),e=normalizeKey$2(e);const{relativeKey:s,driver:o}=getMount(e);o.removeItem&&(await asyncCall(o.removeItem,s,t),(t.removeMeta||t.removeMata)&&await asyncCall(o.removeItem,s+"$",t),o.watch||onChange("remove",e))},async getMeta(e,t={}){"boolean"==typeof t&&(t={nativeOnly:t}),e=normalizeKey$2(e);const{relativeKey:s,driver:o}=getMount(e),a=Object.create(null);if(o.getMeta&&Object.assign(a,await asyncCall(o.getMeta,s,t)),!t.nativeOnly){const e=await asyncCall(o.getItem,s+"$",t).then((e=>destr(e)));e&&"object"==typeof e&&("string"==typeof e.atime&&(e.atime=new Date(e.atime)),"string"==typeof e.mtime&&(e.mtime=new Date(e.mtime)),Object.assign(a,e))}return a},setMeta(e,t,s={}){return this.setItem(e+"$",t,s)},removeMeta(e,t={}){return this.removeItem(e+"$",t)},async getKeys(e,t={}){e=normalizeBaseKey(e);const s=getMounts(e,!0);let o=[];const a=[];for(const e of s){const s=await asyncCall(e.driver.getKeys,e.relativeBase,t);for(const t of s){const s=e.mountpoint+normalizeKey$2(t);o.some((e=>s.startsWith(e)))||a.push(s)}o=[e.mountpoint,...o.filter((t=>!t.startsWith(e.mountpoint)))]}return e?a.filter((t=>t.startsWith(e)&&"$"!==t[t.length-1])):a.filter((e=>"$"!==e[e.length-1]))},async clear(e,t={}){e=normalizeBaseKey(e),await Promise.all(getMounts(e,!1).map((async e=>{if(e.driver.clear)return asyncCall(e.driver.clear,e.relativeBase,t);if(e.driver.removeItem){const s=await e.driver.getKeys(e.relativeBase||"",t);return Promise.all(s.map((s=>e.driver.removeItem(s,t))))}})))},async dispose(){await Promise.all(Object.values(t.mounts).map((e=>dispose(e))))},watch:async e=>(await(async()=>{if(!t.watching){t.watching=!0;for(const e in t.mounts)t.unwatch[e]=await watch(t.mounts[e],onChange,e)}})(),t.watchListeners.push(e),async()=>{t.watchListeners=t.watchListeners.filter((t=>t!==e)),0===t.watchListeners.length&&await stopWatch()}),async unwatch(){t.watchListeners=[],await stopWatch()},mount(e,o){if((e=normalizeBaseKey(e))&&t.mounts[e])throw new Error(`already mounted at ${e}`);return e&&(t.mountpoints.push(e),t.mountpoints.sort(((e,t)=>t.length-e.length))),t.mounts[e]=o,t.watching&&Promise.resolve(watch(o,onChange,e)).then((s=>{t.unwatch[e]=s})).catch(console.error),s},async unmount(e,s=!0){(e=normalizeBaseKey(e))&&t.mounts[e]&&(t.watching&&e in t.unwatch&&(t.unwatch[e]?.(),delete t.unwatch[e]),s&&await dispose(t.mounts[e]),t.mountpoints=t.mountpoints.filter((t=>t!==e)),delete t.mounts[e])},getMount(e=""){e=normalizeKey$2(e)+":";const t=getMount(e);return{driver:t.driver,base:t.base}},getMounts(e="",t={}){e=normalizeKey$2(e);return getMounts(e,t.parents).map((e=>({driver:e.driver,base:e.mountpoint})))},keys:(e,t={})=>s.getKeys(e,t),get:(e,t={})=>s.getItem(e,t),set:(e,t,o={})=>s.setItem(e,t,o),has:(e,t={})=>s.hasItem(e,t),del:(e,t={})=>s.removeItem(e,t),remove:(e,t={})=>s.removeItem(e,t)};return s}function watch(e,t,s){return e.watch?e.watch(((e,o)=>t(e,s+o))):()=>{}}async function dispose(e){"function"==typeof e.dispose&&await asyncCall(e.dispose)}const Ne={"server:sha3_wasm_bg.7b9ca65ddd.wasm":{import:()=>import("../raw/sha3_wasm_bg.7b9ca65ddd.mjs").then((e=>e.default||e)),meta:{type:"application/wasm",etag:'"67f4-HA9hIZkJpnMfafDJeYUwPEld3vA"',mtime:"2025-03-02T08:11:22.224Z"}}},normalizeKey$1=function(e){return e&&e.split("?")[0]?.replace(/[/\\]/g,":").replace(/:+/g,":").replace(/^:|:$/g,"")||""},qe={getKeys:()=>Promise.resolve(Object.keys(Ne)),hasItem:e=>(e=normalizeKey$1(e),Promise.resolve(e in Ne)),getItem:e=>(e=normalizeKey$1(e),Promise.resolve(Ne[e]?Ne[e].import():null)),getMeta:e=>(e=normalizeKey$1(e),Promise.resolve(Ne[e]?Ne[e].meta:{}))};function defineDriver(e){return e}function joinKeys(...e){return e.map((e=>function(e,t=":"){return e?e.replace(/[:/\\]/g,t).replace(/^[:/\\]|[:/\\]$/g,""):""}(e))).filter(Boolean).join(":")}function createError(e,t,s){const o=new Error(`[unstorage] [${e}] ${t}`,s);return Error.captureStackTrace&&Error.captureStackTrace(o,createError),o}function createRequiredError(e,t){return Array.isArray(t)?createError(e,`Missing some of the required options ${t.map((e=>"`"+e+"`")).join(", ")}`):createError(e,`Missing required option \`${t}\`.`)}function ignoreNotfound(e){return"ENOENT"===e.code||"EISDIR"===e.code?null:e}function ignoreExists(e){return"EEXIST"===e.code?null:e}async function writeFile(e,t,s){return await ensuredir(l(e)),i.writeFile(e,t,s)}function readFile(e,t){return i.readFile(e,t).catch(ignoreNotfound)}function readdir(e){return i.readdir(e,{withFileTypes:!0}).catch(ignoreNotfound).then((e=>e||[]))}async function ensuredir(e){n(e)||(await ensuredir(l(e)).catch(ignoreExists),await i.mkdir(e).catch(ignoreExists))}async function readdirRecursive(e,t){if(t&&t(e))return[];const s=await readdir(e),o=[];return await Promise.all(s.map((async s=>{const a=p(e,s.name);if(s.isDirectory()){const e=await readdirRecursive(a,t);o.push(...e.map((e=>s.name+"/"+e)))}else t&&t(s.name)||o.push(s.name)}))),o}async function rmRecursive(e){const t=await readdir(e);await Promise.all(t.map((t=>{const s=p(e,t.name);return t.isDirectory()?rmRecursive(s).then((()=>i.rmdir(s))):i.unlink(s)})))}const Pe=/\.\.:|\.\.$/,Le="fs-lite",unstorage_47drivers_47fs_45lite=(e={})=>{if(!e.base)throw createRequiredError(Le,"base");e.base=p(e.base);const r=t=>{if(Pe.test(t))throw createError(Le,`Invalid key: ${JSON.stringify(t)}. It should not contain .. segments`);return u(e.base,t.replace(/:/g,"/"))};return{name:Le,options:e,hasItem:e=>n(r(e)),getItem:e=>readFile(r(e),"utf8"),getItemRaw:e=>readFile(r(e)),async getMeta(e){const{atime:t,mtime:s,size:o,birthtime:a,ctime:n}=await i.stat(r(e)).catch((()=>({})));return{atime:t,mtime:s,size:o,birthtime:a,ctime:n}},setItem(t,s){if(!e.readOnly)return writeFile(r(t),s,"utf8")},setItemRaw(t,s){if(!e.readOnly)return writeFile(r(t),s)},removeItem(t){if(!e.readOnly)return function(e){return i.unlink(e).catch(ignoreNotfound)}(r(t))},getKeys:()=>readdirRecursive(r("."),e.ignore),async clear(){e.readOnly||e.noClear||await rmRecursive(r("."))}}},De=createStorage({});function useStorage(e=""){return e?function(e,t){if(!(t=normalizeBaseKey(t)))return e;const s={...e};for(const o of Ze)s[o]=(s="",...a)=>e[o](t+s,...a);return s.getKeys=(s="",...o)=>e.getKeys(t+s,...o).then((e=>e.map((e=>e.slice(t.length))))),s}(De,e):De}function defineCachedFunction(e,t={}){t={name:"_",base:"/cache",swr:!0,maxAge:1,...t};const s={},o=t.group||"nitro/functions",a=t.name||e.name||"_",i=t.integrity||hash([e,t]),n=t.validate||(e=>void 0!==e.value);return async(...c)=>{if(await(t.shouldBypassCache?.(...c)))return e(...c);const l=await(t.getKey||getKey)(...c),p=await(t.shouldInvalidateCache?.(...c)),u=await async function(e,c,l,p){const u=[t.base,o,a,e+".json"].filter(Boolean).join(":").replace(/:\/$/,":index");let d=await useStorage().getItem(u).catch((e=>{console.error("[nitro] [cache] Cache read error.",e),useNitroApp().captureError(e,{event:p,tags:["cache"]})}))||{};if("object"!=typeof d){d={};const e=new Error("Malformed data read from cache.");console.error("[nitro] [cache]",e),useNitroApp().captureError(e,{event:p,tags:["cache"]})}const h=1e3*(t.maxAge??0);h&&(d.expires=Date.now()+h);const f=l||d.integrity!==i||h&&Date.now()-(d.mtime||0)>h||!1===n(d),m=f?(async()=>{const o=s[e];o||(void 0!==d.value&&(t.staleMaxAge||0)>=0&&!1===t.swr&&(d.value=void 0,d.integrity=void 0,d.mtime=void 0,d.expires=void 0),s[e]=Promise.resolve(c()));try{d.value=await s[e]}catch(t){throw o||delete s[e],t}if(!o&&(d.mtime=Date.now(),d.integrity=i,delete s[e],!1!==n(d))){let e;t.maxAge&&!t.swr&&(e={ttl:t.maxAge});const s=useStorage().setItem(u,d,e).catch((e=>{console.error("[nitro] [cache] Cache write error.",e),useNitroApp().captureError(e,{event:p,tags:["cache"]})}));p?.waitUntil&&p.waitUntil(s)}})():Promise.resolve();return void 0===d.value?await m:f&&p&&p.waitUntil&&p.waitUntil(m),t.swr&&!1!==n(d)?(m.catch((e=>{console.error("[nitro] [cache] SWR handler error.",e),useNitroApp().captureError(e,{event:p,tags:["cache"]})})),d):m.then((()=>d))}(l,(()=>e(...c)),p,c[0]&&isEvent(c[0])?c[0]:void 0);let d=u.value;return t.transform&&(d=await t.transform(u,...c)||d),d}}function getKey(...e){return e.length>0?hash(e,{}):""}function escapeKey(e){return String(e).replace(/\W/g,"")}function cloneWithProxy(e,t){return new Proxy(e,{get:(e,s,o)=>s in t?t[s]:Reflect.get(e,s,o),set:(e,s,o,a)=>s in t?(t[s]=o,!0):Reflect.set(e,s,o,a)})}De.mount("/assets",qe),De.mount("data",unstorage_47drivers_47fs_45lite({driver:"fsLite",base:"/home/runner/work/seedchat/seedchat/.data/kv"}));const cachedEventHandler=function(e,t={name:"_",base:"/cache",swr:!0,maxAge:1}){const s=(t.varies||[]).filter(Boolean).map((e=>e.toLowerCase())).sort(),o={...t,getKey:async e=>{const o=await(t.getKey?.(e));if(o)return escapeKey(o);const a=e.node.req.originalUrl||e.node.req.url||e.path;let i;try{i=escapeKey(decodeURI(parseURL(a).pathname)).slice(0,16)||"index"}catch{i="-"}return[`${i}.${hash(a)}`,...s.map((t=>[t,e.node.req.headers[t]])).map((([e,t])=>`${escapeKey(e)}.${hash(t)}`))].join(":")},validate:e=>!!e.value&&(!(e.value.code>=400)&&(void 0!==e.value.body&&("undefined"!==e.value.headers.etag&&"undefined"!==e.value.headers["last-modified"]))),group:t.group||"nitro/handlers",integrity:t.integrity||hash([e,t])},a=function(e,t={}){return defineCachedFunction(e,t)}((async a=>{const i={};for(const e of s){const t=a.node.req.headers[e];void 0!==t&&(i[e]=t)}const n=cloneWithProxy(a.node.req,{headers:i}),c={};let l;const p=createEvent(n,cloneWithProxy(a.node.res,{statusCode:200,writableEnded:!1,writableFinished:!1,headersSent:!1,closed:!1,getHeader:e=>c[e],setHeader(e,t){return c[e]=t,this},getHeaderNames:()=>Object.keys(c),hasHeader:e=>e in c,removeHeader(e){delete c[e]},getHeaders:()=>c,end(e,t,s){return"string"==typeof e&&(l=e),"function"==typeof t&&t(),"function"==typeof s&&s(),this},write:(e,t,s)=>("string"==typeof e&&(l=e),"function"==typeof t&&t(void 0),"function"==typeof s&&s(),!0),writeHead(e,t){if(this.statusCode=e,t){if(Array.isArray(t)||"string"==typeof t)throw new TypeError("Raw headers is not supported.");for(const e in t){const s=t[e];void 0!==s&&this.setHeader(e,s)}}return this}}));p.fetch=(e,t)=>fetchWithEvent(p,e,t,{fetch:useNitroApp().localFetch}),p.$fetch=(e,t)=>fetchWithEvent(p,e,t,{fetch:globalThis.$fetch}),p.context=a.context,p.context.cache={options:o};const u=await e(p)||l,d=p.node.res.getHeaders();d.etag=String(d.Etag||d.etag||`W/"${hash(u)}"`),d["last-modified"]=String(d["Last-Modified"]||d["last-modified"]||(new Date).toUTCString());const h=[];t.swr?(t.maxAge&&h.push(`s-maxage=${t.maxAge}`),t.staleMaxAge?h.push(`stale-while-revalidate=${t.staleMaxAge}`):h.push("stale-while-revalidate")):t.maxAge&&h.push(`max-age=${t.maxAge}`),h.length>0&&(d["cache-control"]=h.join(", "));return{code:p.node.res.statusCode,headers:d,body:u}}),o);return defineEventHandler((async s=>{if(t.headersOnly){if(handleCacheHeaders(s,{maxAge:t.maxAge}))return;return e(s)}const o=await a(s);if(s.node.res.headersSent||s.node.res.writableEnded)return o.body;if(!handleCacheHeaders(s,{modifiedTime:new Date(o.headers["last-modified"]),etag:o.headers.etag,maxAge:t.maxAge})){s.node.res.statusCode=o.code;for(const e in o.headers){const t=o.headers[e];"set-cookie"===e?s.node.res.appendHeader(e,splitCookiesString(t)):void 0!==t&&s.node.res.setHeader(e,t)}return o.body}}))};function klona(e){if("object"!=typeof e)return e;var t,s,o=Object.prototype.toString.call(e);if("[object Object]"===o){if(e.constructor!==Object&&"function"==typeof e.constructor)for(t in s=new e.constructor,e)e.hasOwnProperty(t)&&s[t]!==e[t]&&(s[t]=klona(e[t]));else for(t in s={},e)"__proto__"===t?Object.defineProperty(s,t,{value:klona(e[t]),configurable:!0,enumerable:!0,writable:!0}):s[t]=klona(e[t]);return s}if("[object Array]"===o){for(t=e.length,s=Array(t);t--;)s[t]=klona(e[t]);return s}return"[object Set]"===o?(s=new Set,e.forEach((function(e){s.add(klona(e))})),s):"[object Map]"===o?(s=new Map,e.forEach((function(e,t){s.set(klona(t),klona(e))})),s):"[object Date]"===o?new Date(+e):"[object RegExp]"===o?((s=new RegExp(e.source,e.flags)).lastIndex=e.lastIndex,s):"[object DataView]"===o?new e.constructor(klona(e.buffer)):"[object ArrayBuffer]"===o?e.slice(0):"Array]"===o.slice(-6)?new e.constructor(e):e}const Xe=W({}),Ue=/\d/,Fe=["-","_","/","."];function isUppercase(e=""){if(!Ue.test(e))return e!==e.toLowerCase()}function kebabCase(e,t){return e?(Array.isArray(e)?e:function(e){const t=Fe,s=[];if(!e||"string"!=typeof e)return s;let o,a,i="";for(const n of e){const e=t.includes(n);if(!0===e){s.push(i),i="",o=void 0;continue}const c=isUppercase(n);if(!1===a){if(!1===o&&!0===c){s.push(i),i=n,o=c;continue}if(!0===o&&!1===c&&i.length>1){const e=i.at(-1);s.push(i.slice(0,Math.max(0,i.length-1))),i=e+n,o=c;continue}}i+=n,o=c,a=e}return s.push(i),s}(e)).map((e=>e.toLowerCase())).join(t):""}function getEnv(t,s){const o=(a=t,kebabCase(a||"","_")).toUpperCase();var a;return destr(e.env[s.prefix+o]??e.env[s.altPrefix+o])}function _isObject(e){return"object"==typeof e&&!Array.isArray(e)}const We=/{{(.*?)}}/g;const $e={app:{baseURL:"/"},nitro:{routeRules:{"/*/**":{cors:!0,headers:{"access-control-allow-origin":"*","access-control-allow-methods":"*","access-control-allow-headers":"*","access-control-max-age":"0","Access-Control-Allow-Methods":"GET,HEAD,PUT,PATCH,POST,DELETE","Access-Control-Allow-Origin":"*","Access-Control-Allow-Credentials":"true","Access-Control-Allow-Headers":"*","Access-Control-Expose-Headers":"*"}}}},models:[{title:"OpenAI ChatGPT",route:"/openai/chatgpt",provider:"openai",apiBase:"https://api.openai.com/v1/chat/completions",model:"gpt-3.5-turbo"},{title:"OpenAI ChatGPT",route:"/app/chatgpt",provider:"openai",apiBase:"https://api.openai.com/v1/chat/completions",model:"gpt-3.5-turbo"},{title:"OpenAI ChatGPT",route:"/api/chatgpt",provider:"openai",apiBase:"https://api.openai.com/v1/chat/completions",model:"gpt-3.5-turbo"},{title:"Groq",route:"/openai/groq",provider:"openai",apiBase:"https://api.groq.com/openai/v1/chat/completions",model:"llama3-70b-8192"},{title:"Groq",route:"/app/groq",provider:"openai",apiBase:"https://api.groq.com/openai/v1/chat/completions",model:"llama3-70b-8192"},{title:"Groq",route:"/api/groq",provider:"openai",apiBase:"https://api.groq.com/openai/v1/chat/completions",model:"llama3-70b-8192"},{title:"OpenAI qwen",route:"/openai/qwen",provider:"openai",apiBase:"https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions",model:"qwen-turbo"},{title:"OpenAI qwen",route:"/app/qwen",provider:"openai",apiBase:"https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions",model:"qwen-turbo"},{title:"OpenAI qwen",route:"/api/qwen",provider:"openai",apiBase:"https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions",model:"qwen-turbo"},{title:"doubao",route:"/openai/doubao",provider:"openai",apiBase:"https://ark.cn-beijing.volces.com/api/v3/chat/completions",model:""},{title:"doubao",route:"/app/doubao",provider:"openai",apiBase:"https://ark.cn-beijing.volces.com/api/v3/chat/completions",model:""},{title:"doubao",route:"/api/doubao",provider:"openai",apiBase:"https://ark.cn-beijing.volces.com/api/v3/chat/completions",model:""},{title:"GLM",route:"/openai/glm",provider:"openai",apiBase:"https://open.bigmodel.cn/api/paas/v4/chat/completions",model:"glm-4"},{title:"GLM",route:"/app/glm",provider:"openai",apiBase:"https://open.bigmodel.cn/api/paas/v4/chat/completions",model:"glm-4"},{title:"GLM",route:"/api/glm",provider:"openai",apiBase:"https://open.bigmodel.cn/api/paas/v4/chat/completions",model:"glm-4"},{title:"YI",route:"/openai/yi",provider:"openai",apiBase:"https://api.lingyiwanwu.com/v1/chat/completions",model:""},{title:"YI",route:"/app/yi",provider:"openai",apiBase:"https://api.lingyiwanwu.com/v1/chat/completions",model:""},{title:"YI",route:"/api/yi",provider:"openai",apiBase:"https://api.lingyiwanwu.com/v1/chat/completions",model:""},{title:"豆包",route:"/openai/doubao",provider:"openai",apiBase:"https://ark.cn-beijing.volces.com/api/v3/chat/completions",model:""},{title:"豆包",route:"/app/doubao",provider:"openai",apiBase:"https://ark.cn-beijing.volces.com/api/v3/chat/completions",model:""},{title:"豆包",route:"/api/doubao",provider:"openai",apiBase:"https://ark.cn-beijing.volces.com/api/v3/chat/completions",model:""},{title:"百川",route:"/openai/baichuan",provider:"openai",apiBase:"https://api.baichuan-ai.com/v1/chat/completions",model:"Baichuan4"},{title:"百川",route:"/app/baichuan",provider:"openai",apiBase:"https://api.baichuan-ai.com/v1/chat/completions",model:"Baichuan4"},{title:"百川",route:"/api/baichuan",provider:"openai",apiBase:"https://api.baichuan-ai.com/v1/chat/completions",model:"Baichuan4"},{title:"minimax",route:"/openai/minimax",provider:"openai",apiBase:"https://api.minimax.chat/v1/text/chatcompletion_v2",model:"abab6.5-chat"},{title:"minimax",route:"/app/minimax",provider:"openai",apiBase:"https://api.minimax.chat/v1/text/chatcompletion_v2",model:"abab6.5-chat"},{title:"minimax",route:"/api/minimax",provider:"openai",apiBase:"https://api.minimax.chat/v1/text/chatcompletion_v2",model:"abab6.5-chat"},{title:"mistral",route:"/openai/mistral",provider:"openai",apiBase:"https://api.mistral.ai/v1/chat/completions",model:"mistral-small-latest"},{title:"mistral",route:"/app/mistral",provider:"openai",apiBase:"https://api.mistral.ai/v1/chat/completions",model:"mistral-small-latest"},{title:"mistral",route:"/api/mistral",provider:"openai",apiBase:"https://api.mistral.ai/v1/chat/completions",model:"mistral-small-latest"},{title:"mistral code",route:"/openai/mistral-code",provider:"openai",apiBase:"https://codestral.mistral.ai/v1/chat/completions",model:"codestral-latest"},{title:"mistral code",route:"/app/mistral-code",provider:"openai",apiBase:"https://codestral.mistral.ai/v1/chat/completions",model:"codestral-latest"},{title:"mistral code",route:"/api/mistral-code",provider:"openai",apiBase:"https://codestral.mistral.ai/v1/chat/completions",model:"codestral-latest"},{title:"moonshot",route:"/openai/moonshot",provider:"openai",apiBase:"https://api.moonshot.cn/v1/chat/completions",model:"moonshot-v1-8k"},{title:"moonshot",route:"/app/moonshot",provider:"openai",apiBase:"https://api.moonshot.cn/v1/chat/completions",model:"moonshot-v1-8k"},{title:"moonshot",route:"/api/moonshot",provider:"openai",apiBase:"https://api.moonshot.cn/v1/chat/completions",model:"moonshot-v1-8k"},{title:"spark-api-open",route:"/openai/spark-api-open",provider:"openai",apiBase:"https://spark-api-open.xf-yun.com/v1/chat/completions",model:"general"},{title:"spark-api-open",route:"/app/spark-api-open",provider:"openai",apiBase:"https://spark-api-open.xf-yun.com/v1/chat/completions",model:"general"},{title:"spark-api-open",route:"/api/spark-api-open",provider:"openai",apiBase:"https://spark-api-open.xf-yun.com/v1/chat/completions",model:"general"},{title:"fireworks",route:"/openai/fireworks",provider:"openai",apiBase:"https://api.fireworks.ai/inference/v1/chat/completions",model:"accounts/fireworks/models/llama-v3p1-405b-instruct"},{title:"fireworks",route:"/app/fireworks",provider:"openai",apiBase:"https://api.fireworks.ai/inference/v1/chat/completions",model:"accounts/fireworks/models/llama-v3p1-405b-instruct"},{title:"fireworks",route:"/api/fireworks",provider:"openai",apiBase:"https://api.fireworks.ai/inference/v1/chat/completions",model:"accounts/fireworks/models/llama-v3p1-405b-instruct"},{title:"x",route:"/openai/x",provider:"openai",apiBase:"https://api.x.ai/v1/chat/completions",model:"grok-2-1212"},{title:"x",route:"/app/x",provider:"openai",apiBase:"https://api.x.ai/v1/chat/completions",model:"grok-2-1212"},{title:"x",route:"/api/x",provider:"openai",apiBase:"https://api.x.ai/v1/chat/completions",model:"grok-2-1212"},{title:"azure",route:"/openai/azure",provider:"azure",model:"gpt-3.5-turbo"},{title:"azure",route:"/app/azure",provider:"azure",model:"gpt-3.5-turbo"},{title:"azure",route:"/api/azure",provider:"azure",model:"gpt-3.5-turbo"},{title:"coze_cn_api",route:"/openai/cozecn",provider:"coze",apiBase:"https://api.coze.cn/v3/chat",model:""},{title:"coze_cn_api",route:"/app/cozecn",provider:"coze",apiBase:"https://api.coze.cn/v3/chat",model:""},{title:"coze_cn_api",route:"/api/cozecn",provider:"coze",apiBase:"https://api.coze.cn/v3/chat",model:""},{title:"coze_com_api",route:"/openai/cozecom",provider:"coze",apiBase:"https://api.coze.com/v3/chat",model:""},{title:"coze_com_api",route:"/app/cozecom",provider:"coze",apiBase:"https://api.coze.com/v3/chat",model:""},{title:"coze_com_api",route:"/api/cozecom",provider:"coze",apiBase:"https://api.coze.com/v3/chat",model:""},{title:"coze.com",route:"/openai/coze-com",provider:"coze_com",model:""},{title:"coze.com",route:"/app/coze-com",provider:"coze_com",model:""},{title:"coze.com",route:"/api/coze-com",provider:"coze_com",model:""},{title:"coze.cn",route:"/openai/coze-cn",provider:"coze_cn",model:""},{title:"coze.cn",route:"/app/coze-cn",provider:"coze_cn",model:""},{title:"coze.cn",route:"/api/coze-cn",provider:"coze_cn",model:""},{title:"deepseek",route:"/openai/deepseek",provider:"deepseek",model:"deepseek-chat"},{title:"deepseek",route:"/app/deepseek",provider:"deepseek",model:"deepseek-chat"},{title:"deepseek",route:"/api/deepseek",provider:"deepseek",model:"deepseek-chat"},{title:"GitHub Copilot",route:"/openai/github-copilot",provider:"github_copilot",model:"gpt-4"},{title:"GitHub Copilot",route:"/app/github-copilot",provider:"github_copilot",model:"gpt-4"},{title:"GitHub Copilot",route:"/api/github-copilot",provider:"github_copilot",model:"gpt-4"},{title:"chatglm.cn",route:"/openai/chatglm",provider:"chatglm",model:"65940acff94777010aa6b796"},{title:"chatglm.cn",route:"/app/chatglm",provider:"chatglm",model:"65940acff94777010aa6b796"},{title:"chatglm.cn",route:"/api/chatglm",provider:"chatglm",model:"65940acff94777010aa6b796"},{title:"通译千问",route:"/openai/tongyi",provider:"tongyi",model:""},{title:"通译千问",route:"/app/tongyi",provider:"tongyi",model:""},{title:"通译千问",route:"/api/tongyi",provider:"tongyi",model:""},{title:"万知",route:"/openai/wanzhi",provider:"wanzhi",model:"LING"},{title:"万知",route:"/app/wanzhi",provider:"wanzhi",model:"LING"},{title:"万知",route:"/api/wanzhi",provider:"wanzhi",model:"LING"},{title:"huggingface",route:"/openai/huggingface",provider:"huggingface",model:""},{title:"huggingface",route:"/app/huggingface",provider:"huggingface",model:""},{title:"huggingface",route:"/api/huggingface",provider:"huggingface",model:""},{title:"ernie",route:"/openai/ernie",provider:"ernie",model:""},{title:"ernie",route:"/app/ernie",provider:"ernie",model:""},{title:"ernie",route:"/api/ernie",provider:"ernie",model:""},{title:"hunyuan",route:"/openai/hunyuan",provider:"hunyuan",model:""},{title:"hunyuan",route:"/app/hunyuan",provider:"hunyuan",model:""},{title:"hunyuan",route:"/api/hunyuan",provider:"hunyuan",model:""},{title:"vercel",route:"/openai/vercel",provider:"vercel",model:""},{title:"vercel",route:"/app/vercel",provider:"vercel",model:""},{title:"vercel",route:"/api/vercel",provider:"vercel",model:""},{title:"lmsys",route:"/openai/lmsys",provider:"lmsys",model:""},{title:"lmsys",route:"/app/lmsys",provider:"lmsys",model:""},{title:"lmsys",route:"/api/lmsys",provider:"lmsys",model:""},{title:"spark",route:"/openai/spark",provider:"spark",model:""},{title:"spark",route:"/app/spark",provider:"spark",model:""},{title:"spark",route:"/api/spark",provider:"spark",model:""},{title:"cloudflare",route:"/openai/cloudflare",provider:"cloudflare",model:""},{title:"cloudflare",route:"/app/cloudflare",provider:"cloudflare",model:""},{title:"cloudflare",route:"/api/cloudflare",provider:"cloudflare",model:""},{title:"mistral.ai",route:"/openai/mistral-ai",provider:"mistral_ai",model:""},{title:"mistral.ai",route:"/app/mistral-ai",provider:"mistral_ai",model:""},{title:"mistral.ai",route:"/api/mistral-ai",provider:"mistral_ai",model:""},{title:"claude",route:"/openai/claude",provider:"claude",model:""},{title:"claude",route:"/app/claude",provider:"claude",model:""},{title:"claude",route:"/api/claude",provider:"claude",model:""},{title:"anthropic",route:"/openai/anthropic",provider:"anthropic",model:""},{title:"anthropic",route:"/app/anthropic",provider:"anthropic",model:""},{title:"anthropic",route:"/api/anthropic",provider:"anthropic",model:""},{title:"cohere",route:"/openai/cohere",provider:"cohere",model:""},{title:"cohere",route:"/app/cohere",provider:"cohere",model:""},{title:"cohere",route:"/api/cohere",provider:"cohere",model:""},{title:"gemini",route:"/openai/gemini",provider:"gemini",model:"gemini-1.5-flash"},{title:"gemini",route:"/app/gemini",provider:"gemini",model:"gemini-1.5-flash"},{title:"gemini",route:"/api/gemini",provider:"gemini",model:"gemini-1.5-flash"},{title:"kimi",route:"/openai/kimi",provider:"kimi",model:""},{title:"kimi",route:"/app/kimi",provider:"kimi",model:""},{title:"kimi",route:"/api/kimi",provider:"kimi",model:""},{title:"gemini vertex",route:"/openai/gemini-vertex",provider:"gemini_vertex",model:""},{title:"gemini vertex",route:"/app/gemini-vertex",provider:"gemini_vertex",model:""},{title:"gemini vertex",route:"/api/gemini-vertex",provider:"gemini_vertex",model:""},{title:"anthropic vertex",route:"/openai/anthropic-vertex",provider:"anthropic_vertex",model:""},{title:"anthropic vertex",route:"/app/anthropic-vertex",provider:"anthropic_vertex",model:""},{title:"anthropic vertex",route:"/api/anthropic-vertex",provider:"anthropic_vertex",model:""},{title:"mistralai vertex",route:"/openai/mistralai-vertex",provider:"mistralai_vertex",model:""},{title:"mistralai vertex",route:"/app/mistralai-vertex",provider:"mistralai_vertex",model:""},{title:"mistralai vertex",route:"/api/mistralai-vertex",provider:"mistralai_vertex",model:""},{title:"openai vertex",route:"/openai/openai-vertex",provider:"openai_vertex",model:""},{title:"openai vertex",route:"/app/openai-vertex",provider:"openai_vertex",model:""},{title:"openai vertex",route:"/api/openai-vertex",provider:"openai_vertex",model:""},{title:"chatgpt.com",route:"/openai/chatgpt-com",provider:"chatgpt",model:"auto"},{title:"chatgpt.com",route:"/app/chatgpt-com",provider:"chatgpt",model:"auto"},{title:"chatgpt.com",route:"/api/chatgpt-com",provider:"chatgpt",model:"auto"},{title:"lyihub.com",route:"/openai/lyihub",provider:"lyihub",model:""},{title:"lyihub.com",route:"/app/lyihub",provider:"lyihub",model:""},{title:"lyihub.com",route:"/api/lyihub",provider:"lyihub",model:""},{title:"deepinfra",route:"/openai/deepinfra",provider:"deepinfra",model:""},{title:"deepinfra",route:"/app/deepinfra",provider:"deepinfra",model:""},{title:"deepinfra",route:"/api/deepinfra",provider:"deepinfra",model:""},{title:"replicate",route:"/openai/replicate",provider:"replicate",model:""},{title:"replicate",route:"/app/replicate",provider:"replicate",model:""},{title:"replicate",route:"/api/replicate",provider:"replicate",model:""},{title:"vecmul",route:"/openai/vecmul",provider:"vecmul",model:""},{title:"vecmul",route:"/app/vecmul",provider:"vecmul",model:""},{title:"vecmul",route:"/api/vecmul",provider:"vecmul",model:""},{title:"magai",route:"/openai/magai",provider:"magai",model:""},{title:"magai",route:"/app/magai",provider:"magai",model:""},{title:"magai",route:"/api/magai",provider:"magai",model:""},{title:"blackbox",route:"/openai/blackbox",provider:"blackbox",model:""},{title:"blackbox",route:"/app/blackbox",provider:"blackbox",model:""},{title:"blackbox",route:"/api/blackbox",provider:"blackbox",model:""},{title:"cursor",route:"/openai/cursor",provider:"cursor",model:""},{title:"cursor",route:"/app/cursor",provider:"cursor",model:""},{title:"cursor",route:"/api/cursor",provider:"cursor",model:""},{title:"zed",route:"/openai/zed",provider:"zed",model:""},{title:"zed",route:"/app/zed",provider:"zed",model:""},{title:"zed",route:"/api/zed",provider:"zed",model:""},{title:"pieces",route:"/openai/pieces",provider:"pieces",model:""},{title:"pieces",route:"/app/pieces",provider:"pieces",model:""},{title:"pieces",route:"/api/pieces",provider:"pieces",model:""},{title:"qodo",route:"/openai/qodo",provider:"qodo",model:""},{title:"qodo",route:"/app/qodo",provider:"qodo",model:""},{title:"qodo",route:"/api/qodo",provider:"qodo",model:""},{title:"genspark",route:"/openai/genspark",provider:"genspark",model:""},{title:"genspark",route:"/app/genspark",provider:"genspark",model:""},{title:"genspark",route:"/api/genspark",provider:"genspark",model:""},{title:"deepseek.com",route:"/openai/deepseek-com",provider:"deepseek_com",model:"deepseek-chat"},{title:"deepseek.com",route:"/app/deepseek-com",provider:"deepseek_com",model:"deepseek-chat"},{title:"deepseek.com",route:"/api/deepseek-com",provider:"deepseek_com",model:"deepseek-chat"},{title:"qwenlm",route:"/openai/qwenlm",provider:"qwenlm",model:""},{title:"qwenlm",route:"/app/qwenlm",provider:"qwenlm",model:""},{title:"qwenlm",route:"/api/qwenlm",provider:"qwenlm",model:""},{title:"genspark.image",route:"/openai/genspark-image",provider:"genspark_image",model:""},{title:"genspark.image",route:"/app/genspark-image",provider:"genspark_image",model:""},{title:"genspark.image",route:"/api/genspark-image",provider:"genspark_image",model:""},{title:"imagefx",route:"/openai/imagefx",provider:"imagefx",model:""},{title:"imagefx",route:"/app/imagefx",provider:"imagefx",model:""},{title:"imagefx",route:"/api/imagefx",provider:"imagefx",model:""},{title:"bing.image",route:"/openai/bing-image",provider:"bing_image",model:""},{title:"bing.image",route:"/app/bing-image",provider:"bing_image",model:""},{title:"bing.image",route:"/api/bing-image",provider:"bing_image",model:""},{title:"siliconflow.image",route:"/openai/siliconflow-image",provider:"siliconflow_image",model:""},{title:"siliconflow.image",route:"/app/siliconflow-image",provider:"siliconflow_image",model:""},{title:"siliconflow.image",route:"/api/siliconflow-image",provider:"siliconflow_image",model:""},{title:"cloudflare.image",route:"/openai/cloudflare-image",provider:"cloudflare_image",model:""},{title:"cloudflare.image",route:"/app/cloudflare-image",provider:"cloudflare_image",model:""},{title:"cloudflare.image",route:"/api/cloudflare-image",provider:"cloudflare_image",model:""},{title:"designer",route:"/openai/designer",provider:"designer",model:""},{title:"designer",route:"/app/designer",provider:"designer",model:""},{title:"designer",route:"/api/designer",provider:"designer",model:""},{title:"grok",route:"/openai/grok",provider:"grok",model:""},{title:"grok",route:"/app/grok",provider:"grok",model:""},{title:"grok",route:"/api/grok",provider:"grok",model:""},{title:"n",route:"/openai/n",provider:"n",model:""},{title:"n",route:"/app/n",provider:"n",model:""},{title:"n",route:"/api/n",provider:"n",model:""},{title:"firefly",route:"/openai/firefly",provider:"firefly",model:""},{title:"firefly",route:"/app/firefly",provider:"firefly",model:""},{title:"firefly",route:"/api/firefly",provider:"firefly",model:""},{title:"yuanbao",route:"/openai/yuanbao",provider:"yuanbao",model:""},{title:"yuanbao",route:"/app/yuanbao",provider:"yuanbao",model:""},{title:"yuanbao",route:"/api/yuanbao",provider:"yuanbao",model:""}]},Qe={prefix:"NITRO_",altPrefix:$e.nitro.envPrefix??e.env.NITRO_ENV_PREFIX??"_",envExpansion:$e.nitro.envExpansion??e.env.NITRO_ENV_EXPANSION??!1},Ge=_deepFreeze(function applyEnv(t,s,o=""){for(const a in t){const i=o?`${o}_${a}`:a,n=getEnv(i,s);_isObject(t[a])?_isObject(n)?(t[a]={...t[a],...n},applyEnv(t[a],s,i)):void 0===n?applyEnv(t[a],s,i):t[a]=n??t[a]:t[a]=n??t[a],s.envExpansion&&"string"==typeof t[a]&&(t[a]=t[a].replace(We,((t,s)=>e.env[s]||t)))}return t}(klona($e),Qe));function useRuntimeConfig(e){return Ge}function _deepFreeze(e){const t=Object.getOwnPropertyNames(e);for(const s of t){const t=e[s];t&&"object"==typeof t&&_deepFreeze(t)}return Object.freeze(e)}_deepFreeze(klona(Xe)),new Proxy(Object.create(null),{get:(e,t)=>{console.warn("Please use `useRuntimeConfig()` instead of accessing config directly.");const s=useRuntimeConfig();if(t in s)return s[t]}});const Ye="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof global?global:{},Je="__unctx__",Ve=Ye[Je]||(Ye[Je]=function(e={}){const t={};return{get:(s,o={})=>(t[s]||(t[s]=function(e={}){let t,s=!1;const checkConflict=e=>{if(t&&t!==e)throw new Error("Context conflict")};let o;if(e.asyncContext){const t=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;t?o=new t:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const _getCurrentInstance=()=>{if(o){const e=o.getStore();if(void 0!==e)return e}return t};return{use:()=>{const e=_getCurrentInstance();if(void 0===e)throw new Error("Context is not available");return e},tryUse:()=>_getCurrentInstance(),set:(e,o)=>{o||checkConflict(e),t=e,s=!0},unset:()=>{t=void 0,s=!1},call:(e,a)=>{checkConflict(e),t=e;try{return o?o.run(e,a):a()}finally{s||(t=void 0)}},async callAsync(e,a){t=e;const onRestore=()=>{t=e},onLeave=()=>t===e?onRestore:void 0;tt.add(onLeave);try{const i=o?o.run(e,a):a();return s||(t=void 0),await i}finally{tt.delete(onLeave)}}}}({...e,...o})),t[s])}}()),et="__unctx_async_handlers__",tt=Ye[et]||(Ye[et]=new Set);((e,t={})=>{Ve.get(e,t)})("nitro-app",{asyncContext:void 0,AsyncLocalStorage:void 0});const st=toRouteMatcher(createRouter$1({routes:useRuntimeConfig().nitro.routeRules}));function createRouteRulesHandler(e){return ue((t=>{const s=function(e){e.context._nitro=e.context._nitro||{},e.context._nitro.routeRules||(e.context._nitro.routeRules=getRouteRulesForPath(withoutBase(e.path.split("?")[0],useRuntimeConfig().app.baseURL)));return e.context._nitro.routeRules}(t);if(s.headers&&setHeaders(t,s.headers),s.redirect){let e=s.redirect.to;if(e.endsWith("/**")){let o=t.path;const a=s.redirect._redirectStripBase;a&&(o=withoutBase(o,a)),e=joinURL(e.slice(0,-3),o)}else if(t.path.includes("?")){e=withQuery(e,getQuery$1(t.path))}return function(e,t,s=302){return e.node.res.statusCode=sanitizeStatusCode(s,e.node.res.statusCode),e.node.res.setHeader("location",t),send(e,`<!DOCTYPE html><html><head><meta http-equiv="refresh" content="0; url=${t.replace(/"/g,"%22")}"></head></html>`,ie.html)}(t,e,s.redirect.statusCode)}if(s.proxy){let o=s.proxy.to;if(o.endsWith("/**")){let e=t.path;const a=s.proxy._proxyStripBase;a&&(e=withoutBase(e,a)),o=joinURL(o.slice(0,-3),e)}else if(t.path.includes("?")){o=withQuery(o,getQuery$1(t.path))}return proxyRequest(t,o,{fetch:e.localFetch,...s.proxy})}}))}function getRouteRulesForPath(e){return F({},...st.matchAll(e).reverse())}const rt=function(){const e=useRuntimeConfig(),t=new Hookable,captureError=(e,s={})=>{const o=t.callHookParallel("error",e,s).catch((e=>{console.error("Error while capturing another error",e)}));if(s.event&&isEvent(s.event)){const t=s.event.context.nitro?.errors;t&&t.push({error:e,context:s}),s.event.waitUntil&&s.event.waitUntil(o)}},s=createApp({debug:destr(!1),onError:(e,t)=>(captureError(e,{event:t,tags:["request"]}),errorHandler(e,t)),onRequest:async e=>{await rt.hooks.callHook("request",e).catch((t=>{captureError(t,{event:e,tags:["request"]})}))},onBeforeResponse:async(e,t)=>{await rt.hooks.callHook("beforeResponse",e,t).catch((t=>{captureError(t,{event:e,tags:["request","response"]})}))},onAfterResponse:async(e,t)=>{await rt.hooks.callHook("afterResponse",e,t).catch((t=>{captureError(t,{event:e,tags:["request","response"]})}))}}),o=function(e={}){const t=createRouter$1({}),s={};let o;const a={},addRoute=(e,o,i)=>{let n=s[e];if(n||(s[e]=n={path:e,handlers:{}},t.insert(e,n)),Array.isArray(i))for(const t of i)addRoute(e,o,t);else n.handlers[i]=toEventHandler(o,0,e);return a};a.use=a.add=(e,t,s)=>addRoute(e,t,s||"all");for(const e of de)a[e]=(t,s)=>a.add(t,s,e);const matchHandler=(e="/",s="get")=>{const a=e.indexOf("?");-1!==a&&(e=e.slice(0,Math.max(0,a)));const i=t.lookup(e);if(!i||!i.handlers)return{error:createError$1({statusCode:404,name:"Not Found",statusMessage:`Cannot find any route matching ${e||"/"}.`})};let n=i.handlers[s]||i.handlers.all;if(!n){o||(o=toRouteMatcher(t));const a=o.matchAll(e).reverse();for(const e of a){if(e.handlers[s]){n=e.handlers[s],i.handlers[s]=i.handlers[s]||n;break}if(e.handlers.all){n=e.handlers.all,i.handlers.all=i.handlers.all||n;break}}}return n?{matched:i,handler:n}:{error:createError$1({statusCode:405,name:"Method Not Allowed",statusMessage:`Method ${s} is not allowed on this route.`})}},i=e.preemptive||e.preemtive;return a.handler=ue((e=>{const t=matchHandler(e.path,e.method.toLowerCase());if("error"in t){if(i)throw t.error;return}e.context.matchedRoute=t.matched;const s=t.matched.params||{};return e.context.params=s,Promise.resolve(t.handler(e)).then((e=>void 0===e&&i?null:e))})),a.handler.__resolve__=async e=>{e=withLeadingSlash(e);const t=matchHandler(e);if("error"in t)return;let s={route:t.matched.path,handler:t.handler};if(t.handler.__resolve__){const o=await t.handler.__resolve__(e);if(!o)return;s={...s,...o}}return s},a}({preemptive:!0}),a=(i=toNodeListener(s),function(e){const t=new IncomingMessage,s=new ServerResponse(t);if(t.url=e.url||"/",t.method=e.method||"GET",t.headers={},e.headers){const s="function"==typeof e.headers.entries?e.headers.entries():Object.entries(e.headers);for(const[e,o]of s)o&&(t.headers[e.toLowerCase()]=o)}return t.headers.host=t.headers.host||e.host||"localhost",t.connection.encrypted=t.connection.encrypted||"https"===e.protocol,t.body=e.body||null,t.__unenv__=e.context,i(t,s).then((()=>{let e=s._data;(Re.has(s.statusCode)||"HEAD"===t.method.toUpperCase())&&(e=null,delete s._headers["content-length"]);const o={body:e,headers:s._headers,status:s.statusCode,statusText:s.statusMessage};return t.destroy(),s.destroy(),o}))});var i;const n=function(e,t=global.fetch){return async function(s,o){const a=s.toString();if(!a.startsWith("/"))return t(a,o);try{const t=await e({url:a,...o});return new Response(t.body,{status:t.status,statusText:t.statusText,headers:Object.fromEntries(Object.entries(t.headers).map((([e,t])=>[e,Array.isArray(t)?t.join(","):String(t)||""])))})}catch(e){return new Response(e.toString(),{status:Number.parseInt(e.statusCode||e.code)||500,statusText:e.statusText})}}}(a,globalThis.fetch),localFetch=(e,t)=>n(e,t).then((e=>function(e){return e.headers.has("set-cookie")?new Response(e.body,{status:e.status,statusText:e.statusText,headers:normalizeCookieHeaders(e.headers)}):e}(e))),c=createFetch$1({fetch:localFetch,Headers:je,defaults:{baseURL:e.app.baseURL}});globalThis.$fetch=c,s.use(createRouteRulesHandler({localFetch:localFetch})),s.use(ue((e=>{e.context.nitro=e.context.nitro||{errors:[]};const t=e.node.req?.__unenv__;t&&Object.assign(e.context,t),e.fetch=(t,s)=>fetchWithEvent(e,t,s,{fetch:localFetch}),e.$fetch=(t,s)=>fetchWithEvent(e,t,s,{fetch:c}),e.waitUntil=s=>{e.context.nitro._waitUntilPromises||(e.context.nitro._waitUntilPromises=[]),e.context.nitro._waitUntilPromises.push(s),t?.waitUntil&&t.waitUntil(s)},e.captureError=(t,s)=>{captureError(t,{event:e,...s})}})));for(const t of Oe){let a=t.lazy?lazyEventHandler(t.handler):t.handler;if(t.middleware||!t.route){const o=(e.app.baseURL+(t.route||"/")).replace(/\/+/g,"/");s.use(o,a)}else{const e=getRouteRulesForPath(t.route.replace(/:\w+|\*\*/g,"_"));e.cache&&(a=cachedEventHandler(a,{group:"nitro/routes",...e.cache})),o.use(t.route,a,t.method)}}return s.use(e.app.baseURL,o.handler),{hooks:t,h3App:s,router:o,localCall:a,localFetch:localFetch,captureError:captureError}}();function useNitroApp(){return rt}!function(e){for(const t of Se)try{t(e)}catch(t){throw e.captureError(t,{tags:["plugin"]}),t}}(rt);function GracefulShutdown(s,o){o=o||{};const a=Object.assign({signals:"SIGINT SIGTERM",timeout:3e4,development:!1,forceExit:!0,onShutdown:e=>Promise.resolve(e),preShutdown:e=>Promise.resolve(e)},o);let i=!1;const n={};let c=0;const l={};let p=0,u=!1,d=!1;const h=a.signals.split(" ").map((e=>e.trim())).filter((e=>e.length>0)),f=function(){let e=!1;return(t,s,o)=>{function call(){if(!e)return e=!0,Reflect.apply(o,this,arguments)}for(const e of s)t.on(e,call)}}();function destroy(e,s=!1){(e._isIdle&&i||s)&&(e.destroy(),e.server instanceof t.Server?delete n[e._connectionId]:delete l[e._connectionId])}function destroyAllConnections(e=!1){for(const t of Object.keys(n)){const s=n[t],o=s._httpMessage;o&&!e?o.headersSent||o.setHeader("connection","close"):destroy(s)}for(const t of Object.keys(l)){const s=l[t],o=s._httpMessage;o&&!e?o.headersSent||o.setHeader("connection","close"):destroy(s)}}function shutdown(t){if(a.development)return e.exit(0);function waitForReadyToShutDown(e){if(0===e)return a.timeout,Promise.resolve(!0);return 0===Object.keys(n).length&&0===Object.keys(l).length?Promise.resolve(!1):new Promise((t=>{setTimeout((()=>{t(waitForReadyToShutDown(e-1))}),250)}))}return i?Promise.resolve():a.preShutdown(t).then((()=>{i=!0,destroyAllConnections(),new Promise(((e,t)=>{s.close((s=>s?t(s):e(!0)))}))})).then((()=>waitForReadyToShutDown(a.timeout?Math.round(a.timeout/250):0))).then((e=>(e&&destroyAllConnections(e),a.onShutdown(t)))).then((function(){return d||(d=!0,a.finally&&function(e){const t=Object.prototype.toString.call(e);return/^\[object\s([A-Za-z]+)?Function]$/.test(t)}(a.finally)&&a.finally()),Promise.resolve()})).catch((e=>{const t="string"==typeof e?e:JSON.stringify(e);throw u=!0,t}))}return f(e,h,(t=>{shutdown(t).then((()=>{a.forceExit&&e.exit(u?1:0)})).catch((t=>{e.exit(1)}))})),s.on("request",((e,t)=>{e.socket._isIdle=!1,i&&!t.headersSent&&t.setHeader("connection","close"),t.on("finish",(()=>{e.socket._isIdle=!0,destroy(e.socket)}))})),s.on("connection",(e=>{if(i)e.destroy();else{const t=c++;e._isIdle=!0,e._connectionId=t,n[t]=e,e.once("close",(()=>{delete n[e._connectionId]}))}})),s.on("secureConnection",(e=>{if(i)e.destroy();else{const t=p++;e._isIdle=!0,e._connectionId=t,l[t]=e,e.once("close",(()=>{delete l[e._connectionId]}))}})),e.on("close",(()=>{})),function(){return shutdown("manual")}}const ot=e.env.NITRO_SSL_CERT,at=e.env.NITRO_SSL_KEY,it=useNitroApp(),nt=ot&&at?new a({key:at,cert:ot},toNodeListener(it.h3App)):new s(toNodeListener(it.h3App)),ct=destr(e.env.NITRO_PORT||e.env.PORT)||3e3,lt=e.env.NITRO_HOST||e.env.HOST,pt=e.env.NITRO_UNIX_SOCKET,ut=nt.listen(pt?{path:pt}:{port:ct,host:lt},(t=>{t&&(console.error(t),e.exit(1));const s=ot&&at?"https":"http",o=ut.address();if("string"==typeof o)return void console.log(`Listening on unix socket ${o}`);const a=(useRuntimeConfig().app.baseURL||"").replace(/\/$/,""),i=`${s}://${"IPv6"===o.family?`[${o.address}]`:o.address}:${o.port}${a}`;console.log(`Listening on ${i}`)}));e.on("unhandledRejection",(e=>_captureError(e,"unhandledRejection"))),e.on("uncaughtException",(e=>_captureError(e,"uncaughtException"))),function(t,s){const o={disabled:!!e.env.NITRO_SHUTDOWN_DISABLED,signals:(e.env.NITRO_SHUTDOWN_SIGNALS||"SIGTERM SIGINT").split(" ").map((e=>e.trim())),timeout:Number.parseInt(e.env.NITRO_SHUTDOWN_TIMEOUT||"",10)||3e4,forceExit:!e.env.NITRO_SHUTDOWN_NO_FORCE_EXIT};o.disabled||GracefulShutdown(t,{signals:o.signals.join(" "),timeout:o.timeout,forceExit:o.forceExit,onShutdown:async()=>{await new Promise((e=>{const t=setTimeout((()=>{console.warn("Graceful shutdown timeout, force exiting..."),e()}),o.timeout);s.hooks.callHook("close").catch((e=>{console.error(e)})).finally((()=>{clearTimeout(t),e()}))}))}})}(ut,it);const dt={};export{ke as $,se as a,getQuery as b,useStorage as c,defineEventHandler as d,createError as e,defineDriver as f,getRequestURL as g,createRequiredError as h,createStorage as i,joinKeys as j,dt as n,readBody as r,useRuntimeConfig as u}; +import e from"node:process";globalThis._importMeta_=globalThis._importMeta_||{url:"file:///_entry.js",env:e.env};import t,{Server as s}from"node:http";import o,{Server as a}from"node:https";import{promises as i,existsSync as n}from"node:fs";import{fileURLToPath as c}from"node:url";import{dirname as l,resolve as p,join as u}from"node:path";const d=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,h=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,f=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function jsonParseTransform(e,t){if(!("__proto__"===e||"constructor"===e&&t&&"object"==typeof t&&"prototype"in t))return t;!function(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}(e)}function destr(e,t={}){if("string"!=typeof e)return e;const s=e.trim();if('"'===e[0]&&e.endsWith('"')&&!e.includes("\\"))return s.slice(1,-1);if(s.length<=9){const e=s.toLowerCase();if("true"===e)return!0;if("false"===e)return!1;if("undefined"===e)return;if("null"===e)return null;if("nan"===e)return Number.NaN;if("infinity"===e)return Number.POSITIVE_INFINITY;if("-infinity"===e)return Number.NEGATIVE_INFINITY}if(!f.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(d.test(e)||h.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,jsonParseTransform)}return JSON.parse(e)}catch(s){if(t.strict)throw s;return e}}const m=/#/g,g=/&/g,y=/\//g,v=/=/g,w=/\+/g,b=/%5e/gi,_=/%60/gi,x=/%7c/gi,T=/%20/gi,j=/%2f/gi;function encodeQueryValue(e){return(t="string"==typeof e?e:JSON.stringify(e),encodeURI(""+t).replace(x,"|")).replace(w,"%2B").replace(T,"+").replace(m,"%23").replace(g,"%26").replace(_,"`").replace(b,"^").replace(y,"%2F");var t}function encodeQueryKey(e){return encodeQueryValue(e).replace(v,"%3D")}function decode(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function decodeQueryValue(e){return decode(e.replace(w," "))}function parseQuery(e=""){const t={};"?"===e[0]&&(e=e.slice(1));for(const s of e.split("&")){const e=s.match(/([^=]+)=?(.*)/)||[];if(e.length<2)continue;const o=decode(e[1].replace(w," "));if("__proto__"===o||"constructor"===o)continue;const a=decodeQueryValue(e[2]||"");void 0===t[o]?t[o]=a:Array.isArray(t[o])?t[o].push(a):t[o]=[t[o],a]}return t}function stringifyQuery(e){return Object.keys(e).filter((t=>void 0!==e[t])).map((t=>function(e,t){return"number"!=typeof t&&"boolean"!=typeof t||(t=String(t)),t?Array.isArray(t)?t.map((t=>`${encodeQueryKey(e)}=${encodeQueryValue(t)}`)).join("&"):`${encodeQueryKey(e)}=${encodeQueryValue(t)}`:encodeQueryKey(e)}(t,e[t]))).filter(Boolean).join("&")}const k=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,R=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,z=/^([/\\]\s*){2,}[^/\\]/,C=/^\.?\//;function hasProtocol(e,t={}){return"boolean"==typeof t&&(t={acceptRelative:t}),t.strict?k.test(e):R.test(e)||!!t.acceptRelative&&z.test(e)}function withoutTrailingSlash(e="",t){return(function(e=""){return e.endsWith("/")}(e)?e.slice(0,-1):e)||"/"}function withTrailingSlash(e="",t){return e.endsWith("/")?e:e+"/"}function withLeadingSlash(e=""){return function(e=""){return e.startsWith("/")}(e)?e:"/"+e}function withoutBase(e,t){if(isEmptyURL(t))return e;const s=withoutTrailingSlash(t);if(!e.startsWith(s))return e;const o=e.slice(s.length);return"/"===o[0]?o:"/"+o}function withQuery(e,t){const s=parseURL(e),o={...parseQuery(s.search),...t};return s.search=stringifyQuery(o),function(e){const t=e.pathname||"",s=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",o=e.hash||"",a=e.auth?e.auth+"@":"",i=e.host||"",n=e.protocol||e[S]?(e.protocol||"")+"//":"";return n+a+i+t+s+o}(s)}function getQuery$1(e){return parseQuery(parseURL(e).search)}function isEmptyURL(e){return!e||"/"===e}function joinURL(e,...t){let s=e||"";for(const e of t.filter((e=>function(e){return e&&"/"!==e}(e))))if(s){const t=e.replace(C,"");s=withTrailingSlash(s)+t}else s=e;return s}const S=Symbol.for("ufo:protocolRelative");function parseURL(e="",t){const s=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(s){const[,e,t=""]=s;return{protocol:e.toLowerCase(),pathname:t,href:e+t,auth:"",host:"",search:"",hash:""}}if(!hasProtocol(e,{acceptRelative:!0}))return t?parseURL(t+e):parsePath(e);const[,o="",a,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,n="",c=""]=i.match(/([^#/?]*)(.*)?/)||[];"file:"===o&&(c=c.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:l,search:p,hash:u}=parsePath(c);return{protocol:o.toLowerCase(),auth:a?a.slice(0,Math.max(0,a.length-1)):"",host:n,pathname:l,search:p,hash:u,[S]:!o}}function parsePath(e=""){const[t="",s="",o=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:s,hash:o}}const E=Object.freeze({ignoreUnknown:!1,respectType:!1,respectFunctionNames:!1,respectFunctionProperties:!1,unorderedObjects:!0,unorderedArrays:!1,unorderedSets:!1,excludeKeys:void 0,excludeValues:void 0,replacer:void 0});function objectHash(e,t){const s=createHasher(t=t?{...E,...t}:E);return s.dispatch(e),s.toString()}const B=Object.freeze(["prototype","__proto__","constructor"]);function createHasher(e){let t="",s=new Map;const write=e=>{t+=e};return{toString:()=>t,getContext:()=>s,dispatch(t){e.replacer&&(t=e.replacer(t));return this[null===t?"null":typeof t](t)},object(t){if(t&&"function"==typeof t.toJSON)return this.object(t.toJSON());const o=Object.prototype.toString.call(t);let a="";const i=o.length;a=i<10?"unknown:["+o+"]":o.slice(8,i-1),a=a.toLowerCase();let n=null;if(void 0!==(n=s.get(t)))return this.dispatch("[CIRCULAR:"+n+"]");if(s.set(t,s.size),"undefined"!=typeof Buffer&&Buffer.isBuffer&&Buffer.isBuffer(t))return write("buffer:"),write(t.toString("utf8"));if("object"!==a&&"function"!==a&&"asyncfunction"!==a)this[a]?this[a](t):e.ignoreUnknown||this.unkown(t,a);else{let s=Object.keys(t);e.unorderedObjects&&(s=s.sort());let o=[];!1===e.respectType||isNativeFunction(t)||(o=B),e.excludeKeys&&(s=s.filter((t=>!e.excludeKeys(t))),o=o.filter((t=>!e.excludeKeys(t)))),write("object:"+(s.length+o.length)+":");const dispatchForKey=s=>{this.dispatch(s),write(":"),e.excludeValues||this.dispatch(t[s]),write(",")};for(const e of s)dispatchForKey(e);for(const e of o)dispatchForKey(e)}},array(t,o){if(o=void 0===o?!1!==e.unorderedArrays:o,write("array:"+t.length+":"),!o||t.length<=1){for(const e of t)this.dispatch(e);return}const a=new Map,i=t.map((t=>{const s=createHasher(e);s.dispatch(t);for(const[e,t]of s.getContext())a.set(e,t);return s.toString()}));return s=a,i.sort(),this.array(i,!1)},date:e=>write("date:"+e.toJSON()),symbol:e=>write("symbol:"+e.toString()),unkown(e,t){if(write(t),e)return write(":"),e&&"function"==typeof e.entries?this.array(Array.from(e.entries()),!0):void 0},error:e=>write("error:"+e.toString()),boolean:e=>write("bool:"+e),string(e){write("string:"+e.length+":"),write(e)},function(t){write("fn:"),isNativeFunction(t)?this.dispatch("[native]"):this.dispatch(t.toString()),!1!==e.respectFunctionNames&&this.dispatch("function-name:"+String(t.name)),e.respectFunctionProperties&&this.object(t)},number:e=>write("number:"+e),xml:e=>write("xml:"+e.toString()),null:()=>write("Null"),undefined:()=>write("Undefined"),regexp:e=>write("regex:"+e.toString()),uint8array(e){return write("uint8array:"),this.dispatch(Array.prototype.slice.call(e))},uint8clampedarray(e){return write("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(e))},int8array(e){return write("int8array:"),this.dispatch(Array.prototype.slice.call(e))},uint16array(e){return write("uint16array:"),this.dispatch(Array.prototype.slice.call(e))},int16array(e){return write("int16array:"),this.dispatch(Array.prototype.slice.call(e))},uint32array(e){return write("uint32array:"),this.dispatch(Array.prototype.slice.call(e))},int32array(e){return write("int32array:"),this.dispatch(Array.prototype.slice.call(e))},float32array(e){return write("float32array:"),this.dispatch(Array.prototype.slice.call(e))},float64array(e){return write("float64array:"),this.dispatch(Array.prototype.slice.call(e))},arraybuffer(e){return write("arraybuffer:"),this.dispatch(new Uint8Array(e))},url:e=>write("url:"+e.toString()),map(t){write("map:");const s=[...t];return this.array(s,!1!==e.unorderedSets)},set(t){write("set:");const s=[...t];return this.array(s,!1!==e.unorderedSets)},file(e){return write("file:"),this.dispatch([e.name,e.size,e.type,e.lastModfied])},blob(){if(e.ignoreUnknown)return write("[blob]");throw new Error('Hashing Blob objects is currently not supported\nUse "options.replacer" or "options.ignoreUnknown"\n')},domwindow:()=>write("domwindow"),bigint:e=>write("bigint:"+e.toString()),process:()=>write("process"),timer:()=>write("timer"),pipe:()=>write("pipe"),tcp:()=>write("tcp"),udp:()=>write("udp"),tty:()=>write("tty"),statwatcher:()=>write("statwatcher"),securecontext:()=>write("securecontext"),connection:()=>write("connection"),zlib:()=>write("zlib"),context:()=>write("context"),nodescript:()=>write("nodescript"),httpparser:()=>write("httpparser"),dataview:()=>write("dataview"),signal:()=>write("signal"),fsevent:()=>write("fsevent"),tlswrap:()=>write("tlswrap")}}const A="[native code] }",M=A.length;function isNativeFunction(e){return"function"==typeof e&&Function.prototype.toString.call(e).slice(-M)===A}var I=Object.defineProperty,__publicField$1=(e,t,s)=>(((e,t,s)=>{t in e?I(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s})(e,"symbol"!=typeof t?t+"":t,s),s);class WordArray{constructor(e,t){__publicField$1(this,"words"),__publicField$1(this,"sigBytes"),e=this.words=e||[],this.sigBytes=void 0===t?4*e.length:t}toString(e){return(e||H).stringify(this)}concat(e){if(this.clamp(),this.sigBytes%4)for(let t=0;t<e.sigBytes;t++){const s=e.words[t>>>2]>>>24-t%4*8&255;this.words[this.sigBytes+t>>>2]|=s<<24-(this.sigBytes+t)%4*8}else for(let t=0;t<e.sigBytes;t+=4)this.words[this.sigBytes+t>>>2]=e.words[t>>>2];return this.sigBytes+=e.sigBytes,this}clamp(){this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4)}clone(){return new WordArray([...this.words])}}const H={stringify(e){const t=[];for(let s=0;s<e.sigBytes;s++){const o=e.words[s>>>2]>>>24-s%4*8&255;t.push((o>>>4).toString(16),(15&o).toString(16))}return t.join("")}},K={stringify(e){const t=[];for(let s=0;s<e.sigBytes;s+=3){const o=(e.words[s>>>2]>>>24-s%4*8&255)<<16|(e.words[s+1>>>2]>>>24-(s+1)%4*8&255)<<8|e.words[s+2>>>2]>>>24-(s+2)%4*8&255;for(let a=0;a<4&&8*s+6*a<8*e.sigBytes;a++)t.push("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".charAt(o>>>6*(3-a)&63))}return t.join("")}},O={parse(e){const t=e.length,s=[];for(let o=0;o<t;o++)s[o>>>2]|=(255&e.charCodeAt(o))<<24-o%4*8;return new WordArray(s,t)}},N={parse:e=>O.parse(unescape(encodeURIComponent(e)))};class BufferedBlockAlgorithm{constructor(){__publicField$1(this,"_data",new WordArray),__publicField$1(this,"_nDataBytes",0),__publicField$1(this,"_minBufferSize",0),__publicField$1(this,"blockSize",16)}reset(){this._data=new WordArray,this._nDataBytes=0}_append(e){"string"==typeof e&&(e=N.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes}_doProcessBlock(e,t){}_process(e){let t,s=this._data.sigBytes/(4*this.blockSize);s=e?Math.ceil(s):Math.max((0|s)-this._minBufferSize,0);const o=s*this.blockSize,a=Math.min(4*o,this._data.sigBytes);if(o){for(let e=0;e<o;e+=this.blockSize)this._doProcessBlock(this._data.words,e);t=this._data.words.splice(0,o),this._data.sigBytes-=a}return new WordArray(t,a)}}class Hasher extends BufferedBlockAlgorithm{update(e){return this._append(e),this._process(),this}finalize(e){e&&this._append(e)}}var Z=Object.defineProperty,__publicField=(e,t,s)=>(((e,t,s)=>{t in e?Z(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s})(e,t+"",s),s);const P=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],q=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],D=[];class SHA256 extends Hasher{constructor(){super(...arguments),__publicField(this,"_hash",new WordArray([...P]))}reset(){super.reset(),this._hash=new WordArray([...P])}_doProcessBlock(e,t){const s=this._hash.words;let o=s[0],a=s[1],i=s[2],n=s[3],c=s[4],l=s[5],p=s[6],u=s[7];for(let s=0;s<64;s++){if(s<16)D[s]=0|e[t+s];else{const e=D[s-15],t=(e<<25|e>>>7)^(e<<14|e>>>18)^e>>>3,o=D[s-2],a=(o<<15|o>>>17)^(o<<13|o>>>19)^o>>>10;D[s]=t+D[s-7]+a+D[s-16]}const d=o&a^o&i^a&i,h=(o<<30|o>>>2)^(o<<19|o>>>13)^(o<<10|o>>>22),f=u+((c<<26|c>>>6)^(c<<21|c>>>11)^(c<<7|c>>>25))+(c&l^~c&p)+q[s]+D[s];u=p,p=l,l=c,c=n+f|0,n=i,i=a,a=o,o=f+(h+d)|0}s[0]=s[0]+o|0,s[1]=s[1]+a|0,s[2]=s[2]+i|0,s[3]=s[3]+n|0,s[4]=s[4]+c|0,s[5]=s[5]+l|0,s[6]=s[6]+p|0,s[7]=s[7]+u|0}finalize(e){super.finalize(e);const t=8*this._nDataBytes,s=8*this._data.sigBytes;return this._data.words[s>>>5]|=128<<24-s%32,this._data.words[14+(s+64>>>9<<4)]=Math.floor(t/4294967296),this._data.words[15+(s+64>>>9<<4)]=t,this._data.sigBytes=4*this._data.words.length,this._process(),this._hash}}function hash(e,t={}){const s="string"==typeof e?e:objectHash(e,t);return(o=s,(new SHA256).finalize(o).toString(K)).slice(0,10);var o}const L=0,X=1,U=2;function createRouter$1(e={}){const t={options:e,rootNode:createRadixNode(),staticRoutesMap:{}},normalizeTrailingSlash=t=>e.strictTrailingSlash?t:t.replace(/\/$/,"")||"/";if(e.routes)for(const s in e.routes)insert(t,normalizeTrailingSlash(s),e.routes[s]);return{ctx:t,lookup:e=>function(e,t){const s=e.staticRoutesMap[t];if(s)return s.data;const o=t.split("/"),a={};let i=!1,n=null,c=e.rootNode,l=null;for(let e=0;e<o.length;e++){const t=o[e];null!==c.wildcardChildNode&&(n=c.wildcardChildNode,l=o.slice(e).join("/"));const s=c.children.get(t);if(void 0===s){if(c&&c.placeholderChildren.length>1){const t=o.length-e;c=c.placeholderChildren.find((e=>e.maxDepth===t))||null}else c=c.placeholderChildren[0]||null;if(!c)break;c.paramName&&(a[c.paramName]=t),i=!0}else c=s}null!==c&&null!==c.data||null===n||(c=n,a[c.paramName||"_"]=l,i=!0);if(!c)return null;if(i)return{...c.data,params:i?a:void 0};return c.data}(t,normalizeTrailingSlash(e)),insert:(e,s)=>insert(t,normalizeTrailingSlash(e),s),remove:e=>function(e,t){let s=!1;const o=t.split("/");let a=e.rootNode;for(const e of o)if(a=a.children.get(e),!a)return s;if(a.data){const e=o.at(-1)||"";a.data=null,0===Object.keys(a.children).length&&a.parent&&(a.parent.children.delete(e),a.parent.wildcardChildNode=null,a.parent.placeholderChildren=[]),s=!0}return s}(t,normalizeTrailingSlash(e))}}function insert(e,t,s){let o=!0;const a=t.split("/");let i=e.rootNode,n=0;const c=[i];for(const e of a){let t;if(t=i.children.get(e))i=t;else{const s=getNodeType(e);t=createRadixNode({type:s,parent:i}),i.children.set(e,t),s===U?(t.paramName="*"===e?"_"+n++:e.slice(1),i.placeholderChildren.push(t),o=!1):s===X&&(i.wildcardChildNode=t,t.paramName=e.slice(3)||"_",o=!1),c.push(t),i=t}}for(const[e,t]of c.entries())t.maxDepth=Math.max(c.length-e,t.maxDepth||0);return i.data=s,!0===o&&(e.staticRoutesMap[t]=i),i}function createRadixNode(e={}){return{type:e.type||L,maxDepth:0,parent:e.parent||null,children:new Map,data:e.data||null,paramName:e.paramName||null,wildcardChildNode:null,placeholderChildren:[]}}function getNodeType(e){return e.startsWith("**")?X:":"===e[0]||"*"===e?U:L}function toRouteMatcher(e){return function(e,t){return{ctx:{table:e},matchAll:s=>_matchRoutes(s,e,t)}}(_routerNodeToTable("",e.ctx.rootNode),e.ctx.options.strictTrailingSlash)}function _matchRoutes(e,t,s){!0!==s&&e.endsWith("/")&&(e=e.slice(0,-1)||"/");const o=[];for(const[s,a]of _sortRoutesMap(t.wildcard))(e===s||e.startsWith(s+"/"))&&o.push(a);for(const[s,a]of _sortRoutesMap(t.dynamic))if(e.startsWith(s+"/")){const t="/"+e.slice(s.length).split("/").splice(2).join("/");o.push(..._matchRoutes(t,a))}const a=t.static.get(e);return a&&o.push(a),o.filter(Boolean)}function _sortRoutesMap(e){return[...e.entries()].sort(((e,t)=>e[0].length-t[0].length))}function _routerNodeToTable(e,t){const s={static:new Map,wildcard:new Map,dynamic:new Map};return function _addNode(e,t){if(e)if(t.type!==L||e.includes("*")||e.includes(":")){if(t.type===X)s.wildcard.set(e.replace("/**",""),t.data);else if(t.type===U){const o=_routerNodeToTable("",t);return t.data&&o.static.set("/",t.data),void s.dynamic.set(e.replace(/\/\*|\/:\w+/,""),o)}}else t.data&&s.static.set(e,t.data);for(const[s,o]of t.children.entries())_addNode(`${e}/${s}`.replace("//","/"),o)}(e,t),s}function isPlainObject(e){if(null===e||"object"!=typeof e)return!1;const t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&(!(Symbol.iterator in e)&&(!(Symbol.toStringTag in e)||"[object Module]"===Object.prototype.toString.call(e)))}function _defu(e,t,s=".",o){if(!isPlainObject(t))return _defu(e,{},s,o);const a=Object.assign({},t);for(const t in e){if("__proto__"===t||"constructor"===t)continue;const i=e[t];null!=i&&(o&&o(a,t,i,s)||(Array.isArray(i)&&Array.isArray(a[t])?a[t]=[...i,...a[t]]:isPlainObject(i)&&isPlainObject(a[t])?a[t]=_defu(i,a[t],(s?`${s}.`:"")+t.toString(),o):a[t]=i))}return a}function createDefu(e){return(...t)=>t.reduce(((t,s)=>_defu(t,s,"",e)),{})}const W=createDefu(),F=createDefu(((e,t,s)=>{if(void 0!==e[t]&&"function"==typeof s)return e[t]=s(e[t]),!0}));function createNotImplementedError(e){throw new Error(`[unenv] ${e} is not implemented yet!`)}let G=10,$=class{__unenv__=!0;_events=Object.create(null);_maxListeners;static get defaultMaxListeners(){return G}static set defaultMaxListeners(e){if("number"!=typeof e||e<0||Number.isNaN(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");G=e}setMaxListeners(e){if("number"!=typeof e||e<0||Number.isNaN(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this}getMaxListeners(){return _getMaxListeners(this)}emit(e,...t){if(!this._events[e]||0===this._events[e].length)return!1;if("error"===e){let e;if(t.length>0&&(e=t[0]),e instanceof Error)throw e;const s=new Error("Unhandled error."+(e?" ("+e.message+")":""));throw s.context=e,s}for(const s of this._events[e])(s.listener||s).apply(this,t);return!0}addListener(e,t){return _addListener(this,e,t,!1)}on(e,t){return _addListener(this,e,t,!1)}prependListener(e,t){return _addListener(this,e,t,!0)}once(e,t){return this.on(e,_wrapOnce(this,e,t))}prependOnceListener(e,t){return this.prependListener(e,_wrapOnce(this,e,t))}removeListener(e,t){return function(e,t,s){if(_checkListener(s),!e._events[t]||0===e._events[t].length)return e;const o=e._events[t].length;if(e._events[t]=e._events[t].filter((e=>e!==s)),o===e._events[t].length)return e;e._events.removeListener&&e.emit("removeListener",t,s.listener||s);0===e._events[t].length&&delete e._events[t];return e}(this,e,t)}off(e,t){return this.removeListener(e,t)}removeAllListeners(e){return function(e,t){if(!e._events[t]||0===e._events[t].length)return e;if(e._events.removeListener)for(const s of e._events[t])e.emit("removeListener",t,s.listener||s);return delete e._events[t],e}(this,e)}listeners(e){return _listeners(this,e,!0)}rawListeners(e){return _listeners(this,e,!1)}listenerCount(e){return this.rawListeners(e).length}eventNames(){return Object.keys(this._events)}};function _addListener(e,t,s,o){_checkListener(s),void 0!==e._events.newListener&&e.emit("newListener",t,s.listener||s),e._events[t]||(e._events[t]=[]),o?e._events[t].unshift(s):e._events[t].push(s);const a=_getMaxListeners(e);if(a>0&&e._events[t].length>a&&!e._events[t].warned){e._events[t].warned=!0;const s=new Error(`[unenv] Possible EventEmitter memory leak detected. ${e._events[t].length} ${t} listeners added. Use emitter.setMaxListeners() to increase limit`);s.name="MaxListenersExceededWarning",s.emitter=e,s.type=t,s.count=e._events[t]?.length,console.warn(s)}return e}function _wrapOnce(e,t,s){let o=!1;const wrapper=(...a)=>{if(!o)return e.removeListener(t,wrapper),o=!0,0===a.length?s.call(e):s.apply(e,a)};return wrapper.listener=s,wrapper}function _getMaxListeners(e){return e._maxListeners??$.defaultMaxListeners}function _listeners(e,t,s){let o=e._events[t];return"function"==typeof o&&(o=[o]),s?o.map((e=>e.listener||e)):o}function _checkListener(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}const Q=globalThis.EventEmitter||$;class _Readable extends Q{__unenv__=!0;readableEncoding=null;readableEnded=!0;readableFlowing=!1;readableHighWaterMark=0;readableLength=0;readableObjectMode=!1;readableAborted=!1;readableDidRead=!1;closed=!1;errored=null;readable=!1;destroyed=!1;static from(e,t){return new _Readable(t)}constructor(e){super()}_read(e){}read(e){}setEncoding(e){return this}pause(){return this}resume(){return this}isPaused(){return!0}unpipe(e){return this}unshift(e,t){}wrap(e){return this}push(e,t){return!1}_destroy(e,t){this.removeAllListeners()}destroy(e){return this.destroyed=!0,this._destroy(e),this}pipe(e,t){return{}}compose(e,t){throw new Error("[unenv] Method not implemented.")}[Symbol.asyncDispose](){return this.destroy(),Promise.resolve()}async*[Symbol.asyncIterator](){throw createNotImplementedError("Readable.asyncIterator")}iterator(e){throw createNotImplementedError("Readable.iterator")}map(e,t){throw createNotImplementedError("Readable.map")}filter(e,t){throw createNotImplementedError("Readable.filter")}forEach(e,t){throw createNotImplementedError("Readable.forEach")}reduce(e,t,s){throw createNotImplementedError("Readable.reduce")}find(e,t){throw createNotImplementedError("Readable.find")}findIndex(e,t){throw createNotImplementedError("Readable.findIndex")}some(e,t){throw createNotImplementedError("Readable.some")}toArray(e){throw createNotImplementedError("Readable.toArray")}every(e,t){throw createNotImplementedError("Readable.every")}flatMap(e,t){throw createNotImplementedError("Readable.flatMap")}drop(e,t){throw createNotImplementedError("Readable.drop")}take(e,t){throw createNotImplementedError("Readable.take")}asIndexedPairs(e){throw createNotImplementedError("Readable.asIndexedPairs")}}const J=globalThis.Readable||_Readable;const V=globalThis.Writable||class extends Q{__unenv__=!0;writable=!0;writableEnded=!1;writableFinished=!1;writableHighWaterMark=0;writableLength=0;writableObjectMode=!1;writableCorked=0;closed=!1;errored=null;writableNeedDrain=!1;destroyed=!1;_data;_encoding="utf-8";constructor(e){super()}pipe(e,t){return{}}_write(e,t,s){if(this.writableEnded)s&&s();else{if(void 0===this._data)this._data=e;else{const s="string"==typeof this._data?Buffer.from(this._data,this._encoding||t||"utf8"):this._data,o="string"==typeof e?Buffer.from(e,t||this._encoding||"utf8"):e;this._data=Buffer.concat([s,o])}this._encoding=t,s&&s()}}_writev(e,t){}_destroy(e,t){}_final(e){}write(e,t,s){const o="string"==typeof t?this._encoding:"utf-8",a="function"==typeof t?t:"function"==typeof s?s:void 0;return this._write(e,o,a),!0}setDefaultEncoding(e){return this}end(e,t,s){const o="function"==typeof e?e:"function"==typeof t?t:"function"==typeof s?s:void 0;if(this.writableEnded)return o&&o(),this;const a=e===o?void 0:e;if(a){const e=t===o?void 0:t;this.write(a,e,o)}return this.writableEnded=!0,this.writableFinished=!0,this.emit("close"),this.emit("finish"),this}cork(){}uncork(){}destroy(e){return this.destroyed=!0,delete this._data,this.removeAllListeners(),this}compose(e,t){throw new Error("[h3] Method not implemented.")}},Y=class{allowHalfOpen=!0;_destroy;constructor(e=new J,t=new V){Object.assign(this,e),Object.assign(this,t),this._destroy=function(...e){return function(...t){for(const s of e)s(...t)}}(e._destroy,t._destroy)}};function getDuplex(){return Object.assign(Y.prototype,J.prototype),Object.assign(Y.prototype,V.prototype),Y}const ee=getDuplex(),te=globalThis.Duplex||ee;class Socket extends te{__unenv__=!0;bufferSize=0;bytesRead=0;bytesWritten=0;connecting=!1;destroyed=!1;pending=!1;localAddress="";localPort=0;remoteAddress="";remoteFamily="";remotePort=0;autoSelectFamilyAttemptedAddresses=[];readyState="readOnly";constructor(e){super()}write(e,t,s){return!1}connect(e,t,s){return this}end(e,t,s){return this}setEncoding(e){return this}pause(){return this}resume(){return this}setTimeout(e,t){return this}setNoDelay(e){return this}setKeepAlive(e,t){return this}address(){return{}}unref(){return this}ref(){return this}destroySoon(){this.destroy()}resetAndDestroy(){const e=new Error("ERR_SOCKET_CLOSED");return e.code="ERR_SOCKET_CLOSED",this.destroy(e),this}}class IncomingMessage extends J{__unenv__={};aborted=!1;httpVersion="1.1";httpVersionMajor=1;httpVersionMinor=1;complete=!0;connection;socket;headers={};trailers={};method="GET";url="/";statusCode=200;statusMessage="";closed=!1;errored=null;readable=!1;constructor(e){super(),this.socket=this.connection=e||new Socket}get rawHeaders(){return function(e){const t=[];for(const s in e)if(Array.isArray(e[s]))for(const o of e[s])t.push(s,o);else t.push(s,e[s]);return t}(this.headers)}get rawTrailers(){return[]}setTimeout(e,t){return this}get headersDistinct(){return _distinct(this.headers)}get trailersDistinct(){return _distinct(this.trailers)}}function _distinct(e){const t={};for(const[s,o]of Object.entries(e))s&&(t[s]=(Array.isArray(o)?o:[o]).filter(Boolean));return t}class ServerResponse extends V{__unenv__=!0;statusCode=200;statusMessage="";upgrading=!1;chunkedEncoding=!1;shouldKeepAlive=!1;useChunkedEncodingByDefault=!1;sendDate=!1;finished=!1;headersSent=!1;strictContentLength=!1;connection=null;socket=null;req;_headers={};constructor(e){super(),this.req=e}assignSocket(e){e._httpMessage=this,this.socket=e,this.connection=e,this.emit("socket",e),this._flush()}_flush(){this.flushHeaders()}detachSocket(e){}writeContinue(e){}writeHead(e,t,s){e&&(this.statusCode=e),"string"==typeof t&&(this.statusMessage=t,t=void 0);const o=s||t;if(o)if(Array.isArray(o));else for(const e in o)this.setHeader(e,o[e]);return this.headersSent=!0,this}writeProcessing(){}setTimeout(e,t){return this}appendHeader(e,t){e=e.toLowerCase();const s=this._headers[e],o=[...Array.isArray(s)?s:[s],...Array.isArray(t)?t:[t]].filter(Boolean);return this._headers[e]=o.length>1?o:o[0],this}setHeader(e,t){return this._headers[e.toLowerCase()]=t,this}getHeader(e){return this._headers[e.toLowerCase()]}getHeaders(){return this._headers}getHeaderNames(){return Object.keys(this._headers)}hasHeader(e){return e.toLowerCase()in this._headers}removeHeader(e){delete this._headers[e.toLowerCase()]}addTrailers(e){}flushHeaders(){}writeEarlyHints(e,t){"function"==typeof t&&t()}}function hasProp(e,t){try{return t in e}catch{return!1}}class H3Error extends Error{static __h3_error__=!0;statusCode=500;fatal=!1;unhandled=!1;statusMessage;data;cause;constructor(e,t={}){super(e,t),t.cause&&!this.cause&&(this.cause=t.cause)}toJSON(){const e={message:this.message,statusCode:sanitizeStatusCode(this.statusCode,500)};return this.statusMessage&&(e.statusMessage=sanitizeStatusMessage(this.statusMessage)),void 0!==this.data&&(e.data=this.data),e}}function createError$1(e){if("string"==typeof e)return new H3Error(e);if(isError(e))return e;const t=new H3Error(e.message??e.statusMessage??"",{cause:e.cause||e});if(hasProp(e,"stack"))try{Object.defineProperty(t,"stack",{get:()=>e.stack})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=sanitizeStatusCode(e.statusCode,t.statusCode):e.status&&(t.statusCode=sanitizeStatusCode(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const e=t.statusMessage;sanitizeStatusMessage(t.statusMessage)!==e&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return void 0!==e.fatal&&(t.fatal=e.fatal),void 0!==e.unhandled&&(t.unhandled=e.unhandled),t}function isError(e){return!0===e?.constructor?.__h3_error__}function getQuery(e){return getQuery$1(e.path||"")}function getRequestHeaders(e){const t={};for(const s in e.node.req.headers){const o=e.node.req.headers[s];t[s]=Array.isArray(o)?o.filter(Boolean).join(", "):o}return t}const re=getRequestHeaders;function getRequestHeader(e,t){return getRequestHeaders(e)[t.toLowerCase()]}function getRequestURL(e,t={}){const s=function(e,t={}){if(t.xForwardedHost){const t=e.node.req.headers["x-forwarded-host"];if(t)return t}return e.node.req.headers.host||"localhost"}(e,t),o=function(e,t={}){return!1!==t.xForwardedProto&&"https"===e.node.req.headers["x-forwarded-proto"]||e.node.req.connection?.encrypted?"https":"http"}(e,t),a=(e.node.req.originalUrl||e.path).replace(/^[/\\]+/g,"/");return new URL(a,`${o}://${s}`)}const se=Symbol.for("h3RawBody"),oe=Symbol.for("h3ParsedBody"),ae=["PATCH","POST","PUT","DELETE"];function readRawBody(e,t="utf8"){!function(e,t){if(!function(e,t){if("string"==typeof t){if(e.method===t)return!0}else if(t.includes(e.method))return!0;return!1}(e,t))throw createError$1({statusCode:405,statusMessage:"HTTP method is not allowed."})}(e,ae);const s=e._requestBody||e.web?.request?.body||e.node.req[se]||e.node.req.rawBody||e.node.req.body;if(s){const e=Promise.resolve(s).then((e=>Buffer.isBuffer(e)?e:"function"==typeof e.pipeTo?new Promise(((t,s)=>{const o=[];e.pipeTo(new WritableStream({write(e){o.push(e)},close(){t(Buffer.concat(o))},abort(e){s(e)}})).catch(s)})):"function"==typeof e.pipe?new Promise(((t,s)=>{const o=[];e.on("data",(e=>{o.push(e)})).on("end",(()=>{t(Buffer.concat(o))})).on("error",s)})):e.constructor===Object?Buffer.from(JSON.stringify(e)):e instanceof URLSearchParams?Buffer.from(e.toString()):Buffer.from(e)));return t?e.then((e=>e.toString(t))):e}if(!Number.parseInt(e.node.req.headers["content-length"]||"")&&!String(e.node.req.headers["transfer-encoding"]??"").split(",").map((e=>e.trim())).filter(Boolean).includes("chunked"))return Promise.resolve(void 0);const o=e.node.req[se]=new Promise(((t,s)=>{const o=[];e.node.req.on("error",(e=>{s(e)})).on("data",(e=>{o.push(e)})).on("end",(()=>{t(Buffer.concat(o))}))}));return t?o.then((e=>e.toString(t))):o}async function readBody(e,t={}){const s=e.node.req;if(hasProp(s,oe))return s[oe];const o=s.headers["content-type"]||"",a=await readRawBody(e);let i;return i="application/json"===o?_parseJSON(a,t.strict??!0):o.startsWith("application/x-www-form-urlencoded")?function(e){const t=new URLSearchParams(e),s=Object.create(null);for(const[e,o]of t.entries())hasProp(s,e)?(Array.isArray(s[e])||(s[e]=[s[e]]),s[e].push(o)):s[e]=o;return s}(a):o.startsWith("text/")?a:_parseJSON(a,t.strict??!1),s[oe]=i,i}function _parseJSON(e="",t){if(e)try{return destr(e,{strict:t})}catch{throw createError$1({statusCode:400,statusMessage:"Bad Request",message:"Invalid JSON body"})}}function handleCacheHeaders(e,t){const s=["public",...t.cacheControls||[]];let o=!1;if(void 0!==t.maxAge&&s.push("max-age="+ +t.maxAge,"s-maxage="+ +t.maxAge),t.modifiedTime){const s=new Date(t.modifiedTime),a=e.node.req.headers["if-modified-since"];e.node.res.setHeader("last-modified",s.toUTCString()),a&&new Date(a)>=t.modifiedTime&&(o=!0)}if(t.etag){e.node.res.setHeader("etag",t.etag);e.node.req.headers["if-none-match"]===t.etag&&(o=!0)}return e.node.res.setHeader("cache-control",s.join(", ")),!!o&&(e.node.res.statusCode=304,e.handled||e.node.res.end(),!0)}const ie={html:"text/html",json:"application/json"},ne=/[^\u0009\u0020-\u007E]/g;function sanitizeStatusMessage(e=""){return e.replace(ne,"")}function sanitizeStatusCode(e,t=200){return e?("string"==typeof e&&(e=Number.parseInt(e,10)),e<100||e>999?t:e):t}function splitCookiesString(e){if(Array.isArray(e))return e.flatMap((e=>splitCookiesString(e)));if("string"!=typeof e)return[];const t=[];let s,o,a,i,n,c=0;const skipWhitespace=()=>{for(;c<e.length&&/\s/.test(e.charAt(c));)c+=1;return c<e.length};for(;c<e.length;){for(s=c,n=!1;skipWhitespace();)if(o=e.charAt(c),","===o){for(a=c,c+=1,skipWhitespace(),i=c;c<e.length&&(o=e.charAt(c),"="!==o&&";"!==o&&","!==o);)c+=1;c<e.length&&"="===e.charAt(c)?(n=!0,c=i,t.push(e.slice(s,a)),s=c):c=a+1}else c+=1;(!n||c>=e.length)&&t.push(e.slice(s))}return t}const ce="undefined"==typeof setImmediate?e=>e():setImmediate;function send(e,t,s){return s&&function(e,t){t&&304!==e.node.res.statusCode&&!e.node.res.getHeader("content-type")&&e.node.res.setHeader("content-type",t)}(e,s),new Promise((s=>{ce((()=>{e.handled||e.node.res.end(t),s()}))}))}function setResponseStatus(e,t,s){t&&(e.node.res.statusCode=sanitizeStatusCode(t,e.node.res.statusCode)),s&&(e.node.res.statusMessage=sanitizeStatusMessage(s))}function getResponseHeader(e,t){return e.node.res.getHeader(t)}const setHeaders=function(e,t){for(const[s,o]of Object.entries(t))e.node.res.setHeader(s,o)};function setResponseHeader(e,t,s){e.node.res.setHeader(t,s)}function sendStream(e,t){if(!t||"object"!=typeof t)throw new Error("[h3] Invalid stream provided.");if(e.node.res._data=t,!e.node.res.socket)return e._handled=!0,Promise.resolve();if(hasProp(t,"pipeTo")&&"function"==typeof t.pipeTo)return t.pipeTo(new WritableStream({write(t){e.node.res.write(t)}})).then((()=>{e.node.res.end()}));if(hasProp(t,"pipe")&&"function"==typeof t.pipe)return new Promise(((s,o)=>{t.pipe(e.node.res),t.on&&(t.on("end",(()=>{e.node.res.end(),s()})),t.on("error",(e=>{o(e)}))),e.node.res.on("close",(()=>{t.abort&&t.abort()}))}));throw new Error("[h3] Invalid or incompatible stream provided.")}function sendWebResponse(e,t){for(const[s,o]of t.headers)"set-cookie"===s?e.node.res.appendHeader(s,splitCookiesString(o)):e.node.res.setHeader(s,o);if(t.status&&(e.node.res.statusCode=sanitizeStatusCode(t.status,e.node.res.statusCode)),t.statusText&&(e.node.res.statusMessage=sanitizeStatusMessage(t.statusText)),t.redirected&&e.node.res.setHeader("location",t.url),t.body)return sendStream(e,t.body);e.node.res.end()}const le=new Set(["PATCH","POST","PUT","DELETE"]),pe=new Set(["transfer-encoding","accept-encoding","connection","keep-alive","upgrade","expect","host","accept"]);async function proxyRequest(e,t,s={}){let o,a;le.has(e.method)&&(s.streamRequest?(o=function(e){if(!ae.includes(e.method))return;const t=e.web?.request?.body||e._requestBody;return t||(se in e.node.req||"rawBody"in e.node.req||"body"in e.node.req||"__unenv__"in e.node.req?new ReadableStream({async start(t){const s=await readRawBody(e,!1);s&&t.enqueue(s),t.close()}}):new ReadableStream({start:t=>{e.node.req.on("data",(e=>{t.enqueue(e)})),e.node.req.on("end",(()=>{t.close()})),e.node.req.on("error",(e=>{t.error(e)}))}}))}(e),a="half"):o=await readRawBody(e,!1).catch((()=>{})));const i=s.fetchOptions?.method||e.method,n=function(e,...t){const s=t.filter(Boolean);if(0===s.length)return e;const o=new Headers(e);for(const e of s)for(const[t,s]of Object.entries(e))void 0!==s&&o.set(t,s);return o}(getProxyRequestHeaders(e,{host:t.startsWith("/")}),s.fetchOptions?.headers,s.headers);return async function(e,t,s={}){let o;try{o=await _getFetch(s.fetch)(t,{headers:s.headers,ignoreResponseError:!0,...s.fetchOptions})}catch(e){throw createError$1({status:502,statusMessage:"Bad Gateway",cause:e})}e.node.res.statusCode=sanitizeStatusCode(o.status,e.node.res.statusCode),e.node.res.statusMessage=sanitizeStatusMessage(o.statusText);const a=[];for(const[t,s]of o.headers.entries())"content-encoding"!==t&&"content-length"!==t&&("set-cookie"!==t?e.node.res.setHeader(t,s):a.push(...splitCookiesString(s)));a.length>0&&e.node.res.setHeader("set-cookie",a.map((e=>(s.cookieDomainRewrite&&(e=rewriteCookieProperty(e,s.cookieDomainRewrite,"domain")),s.cookiePathRewrite&&(e=rewriteCookieProperty(e,s.cookiePathRewrite,"path")),e))));s.onResponse&&await s.onResponse(e,o);if(void 0!==o._data)return o._data;if(e.handled)return;if(!1===s.sendStream){const t=new Uint8Array(await o.arrayBuffer());return e.node.res.end(t)}if(o.body)for await(const t of o.body)e.node.res.write(t);return e.node.res.end()}(e,t,{...s,fetchOptions:{method:i,body:o,duplex:a,...s.fetchOptions,headers:n}})}function getProxyRequestHeaders(e,t){const s=Object.create(null),o=getRequestHeaders(e);for(const e in o)(!pe.has(e)||"host"===e&&t?.host)&&(s[e]=o[e]);return s}function fetchWithEvent(e,t,s,o){return _getFetch(o?.fetch)(t,{...s,context:s?.context||e.context,headers:{...getProxyRequestHeaders(e,{host:"string"==typeof t&&t.startsWith("/")}),...s?.headers}})}function _getFetch(e){if(e)return e;if(globalThis.fetch)return globalThis.fetch;throw new Error("fetch is not available. Try importing `node-fetch-native/polyfill` for Node.js.")}function rewriteCookieProperty(e,t,s){const o="string"==typeof t?{"*":t}:t;return e.replace(new RegExp(`(;\\s*${s}=)([^;]+)`,"gi"),((e,t,s)=>{let a;if(s in o)a=o[s];else{if(!("*"in o))return e;a=o["*"]}return a?t+a:""}))}class H3Event{__is_event__=!0;node;web;context={};_method;_path;_headers;_requestBody;_handled=!1;_onBeforeResponseCalled;_onAfterResponseCalled;constructor(e,t){this.node={req:e,res:t}}get method(){return this._method||(this._method=(this.node.req.method||"GET").toUpperCase()),this._method}get path(){return this._path||this.node.req.url||"/"}get headers(){return this._headers||(this._headers=function(e){const t=new Headers;for(const[s,o]of Object.entries(e))if(Array.isArray(o))for(const e of o)t.append(s,e);else o&&t.set(s,o);return t}(this.node.req.headers)),this._headers}get handled(){return this._handled||this.node.res.writableEnded||this.node.res.headersSent}respondWith(e){return Promise.resolve(e).then((e=>sendWebResponse(this,e)))}toString(){return`[${this.method}] ${this.path}`}toJSON(){return this.toString()}get req(){return this.node.req}get res(){return this.node.res}}function isEvent(e){return hasProp(e,"__is_event__")}function createEvent(e,t){return new H3Event(e,t)}function defineEventHandler(e){if("function"==typeof e)return e.__is_handler__=!0,e;const t={onRequest:_normalizeArray(e.onRequest),onBeforeResponse:_normalizeArray(e.onBeforeResponse)},_handler=s=>async function(e,t,s){if(s.onRequest)for(const t of s.onRequest)if(await t(e),e.handled)return;const o=await t(e),a={body:o};if(s.onBeforeResponse)for(const t of s.onBeforeResponse)await t(e,a);return a.body}(s,e.handler,t);return _handler.__is_handler__=!0,_handler.__resolve__=e.handler.__resolve__,_handler.__websocket__=e.websocket,_handler}function _normalizeArray(e){return e?Array.isArray(e)?e:[e]:void 0}const ue=defineEventHandler;function isEventHandler(e){return hasProp(e,"__is_handler__")}function toEventHandler(e,t,s){return isEventHandler(e)||console.warn("[h3] Implicit event handler conversion is deprecated. Use `eventHandler()` or `fromNodeMiddleware()` to define event handlers.",s&&"/"!==s?`\n Route: ${s}`:"",`\n Handler: ${e}`),e}const lazyEventHandler=function(e){let t,s;const resolveHandler=()=>s?Promise.resolve(s):(t||(t=Promise.resolve(e()).then((e=>{const t=e.default||e;if("function"!=typeof t)throw new TypeError("Invalid lazy handler result. It should be a function:",t);return s={handler:toEventHandler(e.default||e)},s}))),t),o=ue((e=>s?s.handler(e):resolveHandler().then((t=>t.handler(e)))));return o.__resolve__=resolveHandler,o};function createApp(e={}){const t=[],s=function(e,t){const s=t.debug?2:void 0;return ue((async o=>{o.node.req.originalUrl=o.node.req.originalUrl||o.node.req.url||"/";const a=o._path||o.node.req.url||"/";let i;t.onRequest&&await t.onRequest(o);for(const n of e){if(n.route.length>1){if(!a.startsWith(n.route))continue;i=a.slice(n.route.length)||"/"}else i=a;if(n.match&&!n.match(i,o))continue;o._path=i,o.node.req.url=i;const e=await n.handler(o),c=void 0===e?void 0:await e;if(void 0!==c){const e={body:c};return t.onBeforeResponse&&(o._onBeforeResponseCalled=!0,await t.onBeforeResponse(o,e)),await handleHandlerResponse(o,e.body,s),void(t.onAfterResponse&&(o._onAfterResponseCalled=!0,await t.onAfterResponse(o,e)))}if(o.handled)return void(t.onAfterResponse&&(o._onAfterResponseCalled=!0,await t.onAfterResponse(o,void 0)))}if(!o.handled)throw createError$1({statusCode:404,statusMessage:`Cannot find any path matching ${o.path||"/"}.`});t.onAfterResponse&&(o._onAfterResponseCalled=!0,await t.onAfterResponse(o,void 0))}))}(t,e),o=function(e){return async t=>{let s;for(const o of e){if("/"===o.route&&!o.handler.__resolve__)continue;if(!t.startsWith(o.route))continue;if(s=t.slice(o.route.length)||"/",o.match&&!o.match(s,void 0))continue;let e={route:o.route,handler:o.handler};if(e.handler.__resolve__){const t=await e.handler.__resolve__(s);if(!t)continue;e={...e,...t,route:joinURL(e.route||"/",t.route||"/")}}return e}}}(t);s.__resolve__=o;const a=function(e){let t;return()=>(t||(t=e()),t)}((()=>{return t=o,{...e.websocket,async resolve(e){const s=e.request?.url||e.url||"/",{pathname:o}="string"==typeof s?parseURL(s):s,a=await t(o);return a?.handler?.__websocket__||{}}};var t})),i={use:(e,t,s)=>use(i,e,t,s),resolve:o,handler:s,stack:t,options:e,get websocket(){return a()}};return i}function use(e,t,s,o){if(Array.isArray(t))for(const a of t)use(e,a,s,o);else if(Array.isArray(s))for(const a of s)use(e,t,a,o);else"string"==typeof t?e.stack.push(normalizeLayer({...o,route:t,handler:s})):"function"==typeof t?e.stack.push(normalizeLayer({...s,handler:t})):e.stack.push(normalizeLayer({...t}));return e}function normalizeLayer(e){let t=e.handler;return t.handler&&(t=t.handler),e.lazy?t=lazyEventHandler(t):isEventHandler(t)||(t=toEventHandler(t,0,e.route)),{route:withoutTrailingSlash(e.route),match:e.match,handler:t}}function handleHandlerResponse(e,t,s){if(null===t)return function(e,t){if(e.handled)return;t||200===e.node.res.statusCode||(t=e.node.res.statusCode);const s=sanitizeStatusCode(t,204);204===s&&e.node.res.removeHeader("content-length"),e.node.res.writeHead(s),e.node.res.end()}(e);if(t){if(o=t,"undefined"!=typeof Response&&o instanceof Response)return sendWebResponse(e,t);if(function(e){if(!e||"object"!=typeof e)return!1;if("function"==typeof e.pipe){if("function"==typeof e._read)return!0;if("function"==typeof e.abort)return!0}return"function"==typeof e.pipeTo}(t))return sendStream(e,t);if(t.buffer)return send(e,t);if(t.arrayBuffer&&"function"==typeof t.arrayBuffer)return t.arrayBuffer().then((s=>send(e,Buffer.from(s),t.type)));if(t instanceof Error)throw createError$1(t);if("function"==typeof t.end)return!0}var o;const a=typeof t;if("string"===a)return send(e,t,ie.html);if("object"===a||"boolean"===a||"number"===a)return send(e,JSON.stringify(t,void 0,s),ie.json);if("bigint"===a)return send(e,t.toString(),ie.json);throw createError$1({statusCode:500,statusMessage:`[h3] Cannot send ${a} as response.`})}const de=["connect","delete","get","head","options","post","put","trace","patch"];function toNodeListener(e){return async function(t,s){const o=createEvent(t,s);try{await e.handler(o)}catch(t){const s=createError$1(t);if(isError(t)||(s.unhandled=!0),setResponseStatus(o,s.statusCode,s.statusMessage),e.options.onError&&await e.options.onError(s,o),o.handled)return;(s.unhandled||s.fatal)&&console.error("[h3]",s.fatal?"[fatal]":"[unhandled]",s),e.options.onBeforeResponse&&!o._onBeforeResponseCalled&&await e.options.onBeforeResponse(o,{body:s}),await function(e,t,s){if(e.handled)return;const o=isError(t)?t:createError$1(t),a={statusCode:o.statusCode,statusMessage:o.statusMessage,stack:[],data:o.data};if(s&&(a.stack=(o.stack||"").split("\n").map((e=>e.trim()))),e.handled)return;setResponseStatus(e,Number.parseInt(o.statusCode),o.statusMessage),e.node.res.setHeader("content-type",ie.json),e.node.res.end(JSON.stringify(a,void 0,2))}(o,s,!!e.options.debug),e.options.onAfterResponse&&!o._onAfterResponseCalled&&await e.options.onAfterResponse(o,{body:s})}}}function flatHooks(e,t={},s){for(const o in e){const a=e[o],i=s?`${s}:${o}`:o;"object"==typeof a&&null!==a?flatHooks(a,t,i):"function"==typeof a&&(t[i]=a)}return t}const he={run:e=>e()},fe=void 0!==console.createTask?console.createTask:()=>he;function serialTaskCaller(e,t){const s=t.shift(),o=fe(s);return e.reduce(((e,s)=>e.then((()=>o.run((()=>s(...t)))))),Promise.resolve())}function parallelTaskCaller(e,t){const s=t.shift(),o=fe(s);return Promise.all(e.map((e=>o.run((()=>e(...t))))))}function callEachWith(e,t){for(const s of[...e])s(t)}class Hookable{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,t,s={}){if(!e||"function"!=typeof t)return()=>{};const o=e;let a;for(;this._deprecatedHooks[e];)a=this._deprecatedHooks[e],e=a.to;if(a&&!s.allowDeprecated){let e=a.message;e||(e=`${o} hook has been deprecated`+(a.to?`, please use ${a.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(e)||(console.warn(e),this._deprecatedMessages.add(e))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&(this.removeHook(e,t),t=void 0)}}hookOnce(e,t){let s,_function=(...e)=>("function"==typeof s&&s(),s=void 0,_function=void 0,t(...e));return s=this.hook(e,_function),s}removeHook(e,t){if(this._hooks[e]){const s=this._hooks[e].indexOf(t);-1!==s&&this._hooks[e].splice(s,1),0===this._hooks[e].length&&delete this._hooks[e]}}deprecateHook(e,t){this._deprecatedHooks[e]="string"==typeof t?{to:t}:t;const s=this._hooks[e]||[];delete this._hooks[e];for(const t of s)this.hook(e,t)}deprecateHooks(e){Object.assign(this._deprecatedHooks,e);for(const t in e)this.deprecateHook(t,e[t])}addHooks(e){const t=flatHooks(e),s=Object.keys(t).map((e=>this.hook(e,t[e])));return()=>{for(const e of s.splice(0,s.length))e()}}removeHooks(e){const t=flatHooks(e);for(const e in t)this.removeHook(e,t[e])}removeAllHooks(){for(const e in this._hooks)delete this._hooks[e]}callHook(e,...t){return t.unshift(e),this.callHookWith(serialTaskCaller,e,...t)}callHookParallel(e,...t){return t.unshift(e),this.callHookWith(parallelTaskCaller,e,...t)}callHookWith(e,t,...s){const o=this._before||this._after?{name:t,args:s,context:{}}:void 0;this._before&&callEachWith(this._before,o);const a=e(t in this._hooks?[...this._hooks[t]]:[],s);return a instanceof Promise?a.finally((()=>{this._after&&o&&callEachWith(this._after,o)})):(this._after&&o&&callEachWith(this._after,o),a)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(void 0!==this._before){const t=this._before.indexOf(e);-1!==t&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(void 0!==this._after){const t=this._after.indexOf(e);-1!==t&&this._after.splice(t,1)}}}}const me=globalThis.Headers,ge=globalThis.AbortController,ye=globalThis.fetch||(()=>{throw new Error("[node-fetch-native] Failed to fetch: `globalThis.fetch` is not available!")});class FetchError extends Error{constructor(e,t){super(e,t),this.name="FetchError",t?.cause&&!this.cause&&(this.cause=t.cause)}}const ve=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function isPayloadMethod(e="GET"){return ve.has(e.toUpperCase())}const we=new Set(["image/svg","application/xml","application/xhtml","application/html"]),be=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function resolveFetchOptions(e,t,s,o){const a=function(e,t,s){if(!t)return new s(e);const o=new s(t);if(e)for(const[t,a]of Symbol.iterator in e||Array.isArray(e)?e:new s(e))o.set(t,a);return o}(t?.headers??e?.headers,s?.headers,o);let i;return(s?.query||s?.params||t?.params||t?.query)&&(i={...s?.params,...s?.query,...t?.params,...t?.query}),{...s,...t,query:i,params:i,headers:a}}async function callHooks(e,t){if(t)if(Array.isArray(t))for(const s of t)await s(e);else await t(e)}const _e=new Set([408,409,425,429,500,502,503,504]),xe=new Set([101,204,205,304]);function createFetch$1(e={}){const{fetch:t=globalThis.fetch,Headers:s=globalThis.Headers,AbortController:o=globalThis.AbortController}=e;async function onError(e){const t=e.error&&"AbortError"===e.error.name&&!e.options.timeout||!1;if(!1!==e.options.retry&&!t){let t;t="number"==typeof e.options.retry?e.options.retry:isPayloadMethod(e.options.method)?0:1;const s=e.response&&e.response.status||500;if(t>0&&(Array.isArray(e.options.retryStatusCodes)?e.options.retryStatusCodes.includes(s):_e.has(s))){const s="function"==typeof e.options.retryDelay?e.options.retryDelay(e):e.options.retryDelay||0;return s>0&&await new Promise((e=>setTimeout(e,s))),$fetchRaw(e.request,{...e.options,retry:t-1})}}const s=function(e){const t=e.error?.message||e.error?.toString()||"",s=e.request?.method||e.options?.method||"GET",o=e.request?.url||String(e.request)||"/",a=`[${s}] ${JSON.stringify(o)}`,i=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",n=new FetchError(`${a}: ${i}${t?` ${t}`:""}`,e.error?{cause:e.error}:void 0);for(const t of["request","options","response"])Object.defineProperty(n,t,{get:()=>e[t]});for(const[t,s]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(n,t,{get:()=>e.response&&e.response[s]});return n}(e);throw Error.captureStackTrace&&Error.captureStackTrace(s,$fetchRaw),s}const $fetchRaw=async function(a,i={}){const n={request:a,options:resolveFetchOptions(a,i,e.defaults,s),response:void 0,error:void 0};let c;if(n.options.method&&(n.options.method=n.options.method.toUpperCase()),n.options.onRequest&&await callHooks(n,n.options.onRequest),"string"==typeof n.request&&(n.options.baseURL&&(n.request=function(e,t){if(isEmptyURL(t)||hasProtocol(e))return e;const s=withoutTrailingSlash(t);return e.startsWith(s)?e:joinURL(s,e)}(n.request,n.options.baseURL)),n.options.query&&(n.request=withQuery(n.request,n.options.query),delete n.options.query),"query"in n.options&&delete n.options.query,"params"in n.options&&delete n.options.params),n.options.body&&isPayloadMethod(n.options.method)&&(!function(e){if(void 0===e)return!1;const t=typeof e;return"string"===t||"number"===t||"boolean"===t||null===t||"object"===t&&(!!Array.isArray(e)||!e.buffer&&(e.constructor&&"Object"===e.constructor.name||"function"==typeof e.toJSON))}(n.options.body)?("pipeTo"in n.options.body&&"function"==typeof n.options.body.pipeTo||"function"==typeof n.options.body.pipe)&&("duplex"in n.options||(n.options.duplex="half")):(n.options.body="string"==typeof n.options.body?n.options.body:JSON.stringify(n.options.body),n.options.headers=new s(n.options.headers||{}),n.options.headers.has("content-type")||n.options.headers.set("content-type","application/json"),n.options.headers.has("accept")||n.options.headers.set("accept","application/json"))),!n.options.signal&&n.options.timeout){const e=new o;c=setTimeout((()=>{const t=new Error("[TimeoutError]: The operation was aborted due to timeout");t.name="TimeoutError",t.code=23,e.abort(t)}),n.options.timeout),n.options.signal=e.signal}try{n.response=await t(n.request,n.options)}catch(e){return n.error=e,n.options.onRequestError&&await callHooks(n,n.options.onRequestError),await onError(n)}finally{c&&clearTimeout(c)}if((n.response.body||n.response._bodyInit)&&!xe.has(n.response.status)&&"HEAD"!==n.options.method){const e=(n.options.parseResponse?"json":n.options.responseType)||function(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return be.test(t)?"json":we.has(t)||t.startsWith("text/")?"text":"blob"}(n.response.headers.get("content-type")||"");switch(e){case"json":{const e=await n.response.text(),t=n.options.parseResponse||destr;n.response._data=t(e);break}case"stream":n.response._data=n.response.body||n.response._bodyInit;break;default:n.response._data=await n.response[e]()}}return n.options.onResponse&&await callHooks(n,n.options.onResponse),!n.options.ignoreResponseError&&n.response.status>=400&&n.response.status<600?(n.options.onResponseError&&await callHooks(n,n.options.onResponseError),await onError(n)):n.response},$fetch=async function(e,t){return(await $fetchRaw(e,t))._data};return $fetch.raw=$fetchRaw,$fetch.native=(...e)=>t(...e),$fetch.create=(t={},s={})=>createFetch$1({...e,...s,defaults:{...e.defaults,...s.defaults,...t}}),$fetch}const Te=globalThis.fetch?(...e)=>globalThis.fetch(...e):function(){if(!JSON.parse(e.env.FETCH_KEEP_ALIVE||"false"))return ye;const s={keepAlive:!0},a=new t.Agent(s),i=new o.Agent(s),n={agent:e=>"http:"===e.protocol?a:i};return function(e,t){return ye(e,{...n,...t})}}(),je=globalThis.Headers||me,ke=globalThis.AbortController||ge,Re=createFetch$1({fetch:Te,Headers:je,AbortController:ke}),ze=new Set([101,204,205,304]);function hasReqHeader(e,t,s){const o=getRequestHeader(e,t);return o&&"string"==typeof o&&o.toLowerCase().includes(s)}function _captureError(e,t){console.error(`[nitro] [${t}]`,e),useNitroApp().captureError(e,{tags:[t]})}function joinHeaders(e){return Array.isArray(e)?e.join(", "):String(e)}function normalizeCookieHeader(e=""){return splitCookiesString(joinHeaders(e))}function normalizeCookieHeaders(e){const t=new Headers;for(const[s,o]of e)if("set-cookie"===s)for(const e of normalizeCookieHeader(o))t.append("set-cookie",e);else t.set(s,joinHeaders(o));return t}const errorHandler=function(t,s){const{stack:o,statusCode:a,statusMessage:i,message:n}=function(t){const s="function"==typeof e.cwd?e.cwd():"/",o=t.unhandled||t.fatal?[]:(t.stack||"").split("\n").splice(1).filter((e=>e.includes("at "))).map((e=>({text:e.replace(s+"/","./").replace("webpack:/","").replace("file://","").trim(),internal:e.includes("node_modules")&&!e.includes(".cache")||e.includes("internal")||e.includes("new Promise")}))),a=t.statusCode||500;return{stack:o,statusCode:a,statusMessage:t.statusMessage??(404===a?"Not Found":""),message:t.unhandled?"internal server error":t.message||t.toString()}}(t),c={url:s.path||"",statusCode:a,statusMessage:i,message:n,stack:void 0};if(t.unhandled||t.fatal){const e=["[nitro]","[request error]",t.unhandled&&"[unhandled]",t.fatal&&"[fatal]"].filter(Boolean).join(" ");console.error(e,t.message+"\n"+o.map((e=>" "+e.text)).join(" \n"))}return 404===a&&setResponseHeader(s,"Cache-Control","no-cache"),setResponseStatus(s,a,i),function(e){return!hasReqHeader(e,"accept","text/html")&&(hasReqHeader(e,"accept","application/json")||hasReqHeader(e,"user-agent","curl/")||hasReqHeader(e,"user-agent","httpie/")||hasReqHeader(e,"sec-fetch-mode","cors")||e.path.startsWith("/api/")||e.path.endsWith(".json"))}(s)?(setResponseHeader(s,"Content-Type","application/json"),send(s,JSON.stringify(c))):(setResponseHeader(s,"Content-Type","text/html"),send(s,function(e){const t=e.statusCode||500,s=e.statusMessage||"Request Error";return`<!DOCTYPE html>\n <html lang="en">\n <head>\n <meta charset="utf-8">\n <meta name="viewport" content="width=device-width, initial-scale=1">\n <title>${t} ${s}</title>\n <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@picocss/pico/css/pico.min.css">\n </head>\n <body>\n <main class="container">\n <dialog open>\n <article>\n <header>\n <h2>${t} ${s}</h2>\n </header>\n <code>\n ${e.message}<br><br>\n ${"\n"+(e.stack||[]).map((e=>` ${e}`)).join("<br>")}\n </code>\n <footer>\n <a href="/" onclick="event.preventDefault();history.back();">Go Back</a>\n </footer>\n </article>\n </dialog>\n </main>\n </body>\n</html>\n`}(c)))};const Ce=[],Se={"/index.html":{type:"text/html; charset=utf-8",etag:'"39e-1lWmhCJixO1ccWL2/U5yA4lKJiA"',mtime:"2025-03-02T12:28:23.902Z",size:926,path:"../public/index.html"},"/logo.png":{type:"image/png",etag:'"146c-vbv340mQ6WdpZBtCqwFRw74KQuc"',mtime:"2025-03-02T12:28:23.902Z",size:5228,path:"../public/logo.png"},"/manifest.webmanifest":{type:"application/manifest+json",etag:'"2fd-zWkiHcrpBX6ARjw8dVUGeqhPPmc"',mtime:"2025-03-02T12:28:23.902Z",size:765,path:"../public/manifest.webmanifest"},"/pwa-196x196.png":{type:"image/png",etag:'"1eb7-p6q5vh3QYAEsrZYyk7SBkrshKtE"',mtime:"2025-03-02T12:28:23.902Z",size:7863,path:"../public/pwa-196x196.png"},"/pwa-256x256.png":{type:"image/png",etag:'"2713-9NzNvaCAwa1EQO5RcbhcoOjZAK4"',mtime:"2025-03-02T12:28:23.902Z",size:10003,path:"../public/pwa-256x256.png"},"/pwa-512x512.png":{type:"image/png",etag:'"6bf3-7vwlcGNRgCNfmMJg9y1nkg29W/Y"',mtime:"2025-03-02T12:28:23.904Z",size:27635,path:"../public/pwa-512x512.png"},"/sw.js":{type:"text/javascript; charset=utf-8",etag:'"bdd-b12BwLES2xQtz/VPHd+TEWAv4l4"',mtime:"2025-03-02T12:28:23.904Z",size:3037,path:"../public/sw.js"},"/assets/ChatInput-BMuO6hgs.css":{type:"text/css; charset=utf-8",etag:'"186-rCUycStrOY1FSp1LM5EdmoDU818"',mtime:"2025-03-02T12:28:23.858Z",size:390,path:"../public/assets/ChatInput-BMuO6hgs.css"},"/assets/ChatInput.vue_vue_type_style_index_0_lang-D4A8Ko3p.js":{type:"text/javascript; charset=utf-8",etag:'"13755d-LwFinFu8p853GGRxZycKSZ4YXbw"',mtime:"2025-03-02T12:28:23.861Z",size:1275229,path:"../public/assets/ChatInput.vue_vue_type_style_index_0_lang-D4A8Ko3p.js"},"/assets/CodeBlocks-CllJyOW7.css":{type:"text/css; charset=utf-8",etag:'"1076-JArtrvjbLJGiR0JAUe/wj1vOaOA"',mtime:"2025-03-02T12:28:23.862Z",size:4214,path:"../public/assets/CodeBlocks-CllJyOW7.css"},"/assets/CodeBlocks.vue_vue_type_style_index_0_lang-CexE7E14.js":{type:"text/javascript; charset=utf-8",etag:'"277922-8HPXJeckp3xM6jyp2y7ibWfYgNc"',mtime:"2025-03-02T12:28:23.866Z",size:2586914,path:"../public/assets/CodeBlocks.vue_vue_type_style_index_0_lang-CexE7E14.js"},"/assets/FrameContent-CUoI637t.css":{type:"text/css; charset=utf-8",etag:'"fb-6QJbV1XyCjCNz5MaOnPi8ahEGDo"',mtime:"2025-03-02T12:28:23.864Z",size:251,path:"../public/assets/FrameContent-CUoI637t.css"},"/assets/FrameContent-D2QyFMUH.js":{type:"text/javascript; charset=utf-8",etag:'"63d-c4DhU0wLn4EDjQNljBt6WJ6o+RE"',mtime:"2025-03-02T12:28:23.864Z",size:1597,path:"../public/assets/FrameContent-D2QyFMUH.js"},"/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2":{type:"font/woff2",etag:'"6dac-NElHQ3Nv2nVxl9FvzGpuGnkxfIY"',mtime:"2025-03-02T12:28:23.864Z",size:28076,path:"../public/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2"},"/assets/KaTeX_AMS-Regular-DMm9YOAa.woff":{type:"font/woff",etag:'"82ec-ma2i3jIA55UUPWOSMsNESwgBgjU"',mtime:"2025-03-02T12:28:23.864Z",size:33516,path:"../public/assets/KaTeX_AMS-Regular-DMm9YOAa.woff"},"/assets/KaTeX_AMS-Regular-DRggAlZN.ttf":{type:"font/ttf",etag:'"f890-Hf0O5uMPihwjmZ2dll24cAtany4"',mtime:"2025-03-02T12:28:23.864Z",size:63632,path:"../public/assets/KaTeX_AMS-Regular-DRggAlZN.ttf"},"/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf":{type:"font/ttf",etag:'"3050-j6tziha6j7fnACoHXwNqRVpFxug"',mtime:"2025-03-02T12:28:23.864Z",size:12368,path:"../public/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf"},"/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff":{type:"font/woff",etag:'"1e24-3SOsD7CsRpsGJEhep41wD2NhQgM"',mtime:"2025-03-02T12:28:23.864Z",size:7716,path:"../public/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff"},"/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2":{type:"font/woff2",etag:'"1b00-W/pJysRs0derE1E4jTfBGvWbphU"',mtime:"2025-03-02T12:28:23.864Z",size:6912,path:"../public/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2"},"/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff":{type:"font/woff",etag:'"1de8-Gm85vXDJt0cTB431991hCPm604s"',mtime:"2025-03-02T12:28:23.864Z",size:7656,path:"../public/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff"},"/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2":{type:"font/woff2",etag:'"1afc-n4B34LOKKQzZt7E2sKwpyDdegaY"',mtime:"2025-03-02T12:28:23.864Z",size:6908,path:"../public/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2"},"/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf":{type:"font/ttf",etag:'"3038-JvJqE+an0KabSPYqzTGoGWvOf24"',mtime:"2025-03-02T12:28:23.864Z",size:12344,path:"../public/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf"},"/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf":{type:"font/ttf",etag:'"4c80-TgjdADgxJOfNlpcMyw++NcnvqqM"',mtime:"2025-03-02T12:28:23.864Z",size:19584,path:"../public/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf"},"/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff":{type:"font/woff",etag:'"33f0-W7r9UB8mIhlCavfyDBEDu0tzJZI"',mtime:"2025-03-02T12:28:23.864Z",size:13296,path:"../public/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff"},"/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2":{type:"font/woff2",etag:'"2c54-+Y+JJy7KEa5BdnLFmg+qaoiAWok"',mtime:"2025-03-02T12:28:23.864Z",size:11348,path:"../public/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2"},"/assets/KaTeX_Fraktur-Regular-CB_wures.ttf":{type:"font/ttf",etag:'"4c74-F9tAiC3V8UBiXyjdlMQwReGJPpg"',mtime:"2025-03-02T12:28:23.865Z",size:19572,path:"../public/assets/KaTeX_Fraktur-Regular-CB_wures.ttf"},"/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2":{type:"font/woff2",etag:'"2c34-pXZMbieE0CggwLkECJ8/rHmL5Po"',mtime:"2025-03-02T12:28:23.866Z",size:11316,path:"../public/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2"},"/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff":{type:"font/woff",etag:'"3398-b3VjdjYPCBW0SGL1f3let8HNTbI"',mtime:"2025-03-02T12:28:23.865Z",size:13208,path:"../public/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff"},"/assets/KaTeX_Main-Bold-Cx986IdX.woff2":{type:"font/woff2",etag:'"62ec-MQUKGxsSP7LFnK0fdLff+Q3rj84"',mtime:"2025-03-02T12:28:23.865Z",size:25324,path:"../public/assets/KaTeX_Main-Bold-Cx986IdX.woff2"},"/assets/KaTeX_Main-Bold-Jm3AIy58.woff":{type:"font/woff",etag:'"74d8-9po2JQ6ubooCFzqZCapihCi6IGA"',mtime:"2025-03-02T12:28:23.865Z",size:29912,path:"../public/assets/KaTeX_Main-Bold-Jm3AIy58.woff"},"/assets/KaTeX_Main-Bold-waoOVXN0.ttf":{type:"font/ttf",etag:'"c888-QTqz3D/DpXUidbriyuZ+tY8rMvA"',mtime:"2025-03-02T12:28:23.865Z",size:51336,path:"../public/assets/KaTeX_Main-Bold-waoOVXN0.ttf"},"/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2":{type:"font/woff2",etag:'"418c-pKSQW4sSb5/9VT0hpyoMJOlIA0U"',mtime:"2025-03-02T12:28:23.865Z",size:16780,path:"../public/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2"},"/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf":{type:"font/ttf",etag:'"80c8-umRk5EL9UK73Z4kkug8tlYHruwc"',mtime:"2025-03-02T12:28:23.865Z",size:32968,path:"../public/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf"},"/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff":{type:"font/woff",etag:'"4bd4-A4u9yIh6lzCtlBR/xXxv9N+0hBE"',mtime:"2025-03-02T12:28:23.866Z",size:19412,path:"../public/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff"},"/assets/KaTeX_Main-Italic-3WenGoN9.ttf":{type:"font/ttf",etag:'"832c-HVZoorlK59vu/dfNaNmP6dWCXgc"',mtime:"2025-03-02T12:28:23.872Z",size:33580,path:"../public/assets/KaTeX_Main-Italic-3WenGoN9.ttf"},"/assets/KaTeX_Main-Italic-BMLOBm91.woff":{type:"font/woff",etag:'"4cdc-fIWJITvHAD4sIzS1HKQVKFiYer0"',mtime:"2025-03-02T12:28:23.866Z",size:19676,path:"../public/assets/KaTeX_Main-Italic-BMLOBm91.woff"},"/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2":{type:"font/woff2",etag:'"425c-ybK1/9LyeqXGtvm6QaeytOZhAtM"',mtime:"2025-03-02T12:28:23.866Z",size:16988,path:"../public/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2"},"/assets/KaTeX_Main-Regular-B22Nviop.woff2":{type:"font/woff2",etag:'"66a0-yIQIbCXOyFWBYLICb5Bu99o1cKw"',mtime:"2025-03-02T12:28:23.867Z",size:26272,path:"../public/assets/KaTeX_Main-Regular-B22Nviop.woff2"},"/assets/KaTeX_Main-Regular-Dr94JaBh.woff":{type:"font/woff",etag:'"7834-/crlS6HUY17oWlRizByX5SHP1RU"',mtime:"2025-03-02T12:28:23.866Z",size:30772,path:"../public/assets/KaTeX_Main-Regular-Dr94JaBh.woff"},"/assets/KaTeX_Main-Regular-ypZvNtVU.ttf":{type:"font/ttf",etag:'"d14c-h0TbbvjDCePchfG76YBSCti3v9Q"',mtime:"2025-03-02T12:28:23.866Z",size:53580,path:"../public/assets/KaTeX_Main-Regular-ypZvNtVU.ttf"},"/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf":{type:"font/ttf",etag:'"79dc-6AzEwjLSB192KlLUa+tP+9N6Xxo"',mtime:"2025-03-02T12:28:23.866Z",size:31196,path:"../public/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf"},"/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2":{type:"font/woff2",etag:'"4010-j8udLeZaxxoMT92YYXPbcwWS7Yo"',mtime:"2025-03-02T12:28:23.866Z",size:16400,path:"../public/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2"},"/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff":{type:"font/woff",etag:'"48ec-1U5kgNbUBGxqVhmqODuqWXH7igw"',mtime:"2025-03-02T12:28:23.866Z",size:18668,path:"../public/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff"},"/assets/KaTeX_Math-Italic-DA0__PXp.woff":{type:"font/woff",etag:'"493c-HBtIc54ctL4T3djAvCed3oUb26A"',mtime:"2025-03-02T12:28:23.867Z",size:18748,path:"../public/assets/KaTeX_Math-Italic-DA0__PXp.woff"},"/assets/KaTeX_Math-Italic-flOr_0UB.ttf":{type:"font/ttf",etag:'"7a4c-npoQ2Ppa2Iyez6SQKt3U2SWAsrw"',mtime:"2025-03-02T12:28:23.867Z",size:31308,path:"../public/assets/KaTeX_Math-Italic-flOr_0UB.ttf"},"/assets/KaTeX_Math-Italic-t53AETM-.woff2":{type:"font/woff2",etag:'"4038-20iD0M/5XstcA0EOMoOnN8Ue1gQ"',mtime:"2025-03-02T12:28:23.868Z",size:16440,path:"../public/assets/KaTeX_Math-Italic-t53AETM-.woff2"},"/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf":{type:"font/ttf",etag:'"5fb8-ILRfU0a2htUsRFdFOT0XB7uI7B0"',mtime:"2025-03-02T12:28:23.868Z",size:24504,path:"../public/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf"},"/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2":{type:"font/woff2",etag:'"2fb8-iG5heXpSXUqvzgqvV0FP366huHM"',mtime:"2025-03-02T12:28:23.868Z",size:12216,path:"../public/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2"},"/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff":{type:"font/woff",etag:'"3848-or7dyKPU0IAo1wd3btvU0k8uwPw"',mtime:"2025-03-02T12:28:23.869Z",size:14408,path:"../public/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff"},"/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2":{type:"font/woff2",etag:'"2efc-PV+jyzCfjYO03L3SdyXycPYPPus"',mtime:"2025-03-02T12:28:23.869Z",size:12028,path:"../public/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2"},"/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff":{type:"font/woff",etag:'"3720-dWSjZrdv2DcEHCS+70xVgKWt1A4"',mtime:"2025-03-02T12:28:23.869Z",size:14112,path:"../public/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff"},"/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf":{type:"font/ttf",etag:'"575c-mR+9wDFouxSkRHz6PlFfCabs/tw"',mtime:"2025-03-02T12:28:23.869Z",size:22364,path:"../public/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf"},"/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf":{type:"font/ttf",etag:'"4bec-So4XoMtYqCKN1EF/vRuJnkHasEU"',mtime:"2025-03-02T12:28:23.869Z",size:19436,path:"../public/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf"},"/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff":{type:"font/woff",etag:'"301c-gEYQ9MsuLq2WlLjaLshOzo0Jw40"',mtime:"2025-03-02T12:28:23.870Z",size:12316,path:"../public/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff"},"/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2":{type:"font/woff2",etag:'"2868-5F1fT0p/L/PcqfzMLxSOeB4j8pI"',mtime:"2025-03-02T12:28:23.870Z",size:10344,path:"../public/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2"},"/assets/KaTeX_Script-Regular-C5JkGWo-.ttf":{type:"font/ttf",etag:'"4108-xvZ12oGtKcvySyz3cPeVtNosZI4"',mtime:"2025-03-02T12:28:23.870Z",size:16648,path:"../public/assets/KaTeX_Script-Regular-C5JkGWo-.ttf"},"/assets/KaTeX_Script-Regular-D3wIWfF6.woff2":{type:"font/woff2",etag:'"25ac-Y7gJWfH8Voma4hugy7zTmmywg5A"',mtime:"2025-03-02T12:28:23.870Z",size:9644,path:"../public/assets/KaTeX_Script-Regular-D3wIWfF6.woff2"},"/assets/KaTeX_Script-Regular-D5yQViql.woff":{type:"font/woff",etag:'"295c-agXNyk8fcIXmB9w4vt71V1P4b9g"',mtime:"2025-03-02T12:28:23.870Z",size:10588,path:"../public/assets/KaTeX_Script-Regular-D5yQViql.woff"},"/assets/KaTeX_Size1-Regular-C195tn64.woff":{type:"font/woff",etag:'"1960-rv5mdKVlM2J8c5zXiWOY8USH4Bw"',mtime:"2025-03-02T12:28:23.870Z",size:6496,path:"../public/assets/KaTeX_Size1-Regular-C195tn64.woff"},"/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf":{type:"font/ttf",etag:'"2fc4-MoC6y8sSRZcf4BAXtHTHbDN8EMk"',mtime:"2025-03-02T12:28:23.870Z",size:12228,path:"../public/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf"},"/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2":{type:"font/woff2",etag:'"155c-V/pZmXShvAs31fDlzIYCMC8CtXM"',mtime:"2025-03-02T12:28:23.870Z",size:5468,path:"../public/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2"},"/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf":{type:"font/ttf",etag:'"2cf4-+vc/8+eVGE5UMWZv+v64qg4og00"',mtime:"2025-03-02T12:28:23.870Z",size:11508,path:"../public/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf"},"/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2":{type:"font/woff2",etag:'"1458-7hhxNjSjvoyZcnaAhVKrGVpZj0M"',mtime:"2025-03-02T12:28:23.870Z",size:5208,path:"../public/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2"},"/assets/KaTeX_Size2-Regular-oD1tc_U0.woff":{type:"font/woff",etag:'"182c-RmmP8YGb0ngm/V0txLpOH2PKzfQ"',mtime:"2025-03-02T12:28:23.870Z",size:6188,path:"../public/assets/KaTeX_Size2-Regular-oD1tc_U0.woff"},"/assets/KaTeX_Size3-Regular-CTq5MqoE.woff":{type:"font/woff",etag:'"1144-HaGQWm0dm8q5KwWd9ytSjepwi8s"',mtime:"2025-03-02T12:28:23.870Z",size:4420,path:"../public/assets/KaTeX_Size3-Regular-CTq5MqoE.woff"},"/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf":{type:"font/ttf",etag:'"1da4-MCphsuzfgtOeZ4D0K9B+5M5nuNU"',mtime:"2025-03-02T12:28:23.871Z",size:7588,path:"../public/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf"},"/assets/KaTeX_Size4-Regular-BF-4gkZK.woff":{type:"font/woff",etag:'"175c-j93bg1E+wiYjHr7gUHnsRfwBNXg"',mtime:"2025-03-02T12:28:23.871Z",size:5980,path:"../public/assets/KaTeX_Size4-Regular-BF-4gkZK.woff"},"/assets/KaTeX_Size4-Regular-DWFBv043.ttf":{type:"font/ttf",etag:'"287c-PY2d1YoDt6RtSX9XYeYNi4RKUZk"',mtime:"2025-03-02T12:28:23.871Z",size:10364,path:"../public/assets/KaTeX_Size4-Regular-DWFBv043.ttf"},"/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2":{type:"font/woff2",etag:'"1340-m+0X+5LyZQUB4imGLEDGQH4cVSg"',mtime:"2025-03-02T12:28:23.871Z",size:4928,path:"../public/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2"},"/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff":{type:"font/woff",etag:'"3e9c-9ecp+k/0ZvwH4MerGXmtcMRfpdU"',mtime:"2025-03-02T12:28:23.871Z",size:16028,path:"../public/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff"},"/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2":{type:"font/woff2",etag:'"3500-egiIP//GlYxxzAGnWguZzKPktHU"',mtime:"2025-03-02T12:28:23.871Z",size:13568,path:"../public/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2"},"/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf":{type:"font/ttf",etag:'"6ba4-YpuZ+vGNl1KfIaGxAYCT5gvNBY8"',mtime:"2025-03-02T12:28:23.871Z",size:27556,path:"../public/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf"},"/assets/about-DhrbvIxh.js":{type:"text/javascript; charset=utf-8",etag:'"fb-oFdV5sNCCH+sfEudGHIcGYiUGYo"',mtime:"2025-03-02T12:28:23.871Z",size:251,path:"../public/assets/about-DhrbvIxh.js"},"/assets/app-_ksMLlTy.js":{type:"text/javascript; charset=utf-8",etag:'"1a-F1ebt5luQF+ilw3nh0acHjD0L2E"',mtime:"2025-03-02T12:28:23.871Z",size:26,path:"../public/assets/app-_ksMLlTy.js"},"/assets/assets-t-logo-CxwPZnhN.png":{type:"image/png",etag:'"146c-vbv340mQ6WdpZBtCqwFRw74KQuc"',mtime:"2025-03-02T12:28:23.871Z",size:5228,path:"../public/assets/assets-t-logo-CxwPZnhN.png"},"/assets/avatar.vue_vue_type_script_setup_true_lang-B0fdXq3h.js":{type:"text/javascript; charset=utf-8",etag:'"e6d53-sZuUGEKNOhOWBtq47zHYTD5GCoA"',mtime:"2025-03-02T12:28:23.874Z",size:945491,path:"../public/assets/avatar.vue_vue_type_script_setup_true_lang-B0fdXq3h.js"},"/assets/changelog-C0lttjqx.js":{type:"text/javascript; charset=utf-8",etag:'"103-v2I6ztxjMwt+VuXwMZipLD792r4"',mtime:"2025-03-02T12:28:23.872Z",size:259,path:"../public/assets/changelog-C0lttjqx.js"},"/assets/chat-ApKQQRkt.js":{type:"text/javascript; charset=utf-8",etag:'"10b30-R8g8gnuaPKJR293b2eEyG1Q/MSc"',mtime:"2025-03-02T12:28:23.872Z",size:68400,path:"../public/assets/chat-ApKQQRkt.js"},"/assets/chat-DcH-HSRP.css":{type:"text/css; charset=utf-8",etag:'"1e6e-FUBcQFLWWcnvXlrp8pHfspng5cQ"',mtime:"2025-03-02T12:28:23.872Z",size:7790,path:"../public/assets/chat-DcH-HSRP.css"},"/assets/content-CXerDfC_.css":{type:"text/css; charset=utf-8",etag:'"cb-1a+zqFn+hrqgGCN6Yif45aPXz90"',mtime:"2025-03-02T12:28:23.872Z",size:203,path:"../public/assets/content-CXerDfC_.css"},"/assets/content-bJk3y71L.js":{type:"text/javascript; charset=utf-8",etag:'"2f6b-47rJYdNxy7ECytda6/UDyMv04Sw"',mtime:"2025-03-02T12:28:23.872Z",size:12139,path:"../public/assets/content-bJk3y71L.js"},"/assets/copy-CaDk54_k.js":{type:"text/javascript; charset=utf-8",etag:'"4d1-nx6SS5h46qrhgZKj9+FPOSQ02Tk"',mtime:"2025-03-02T12:28:23.872Z",size:1233,path:"../public/assets/copy-CaDk54_k.js"},"/assets/debounce-DjqSSMbT.js":{type:"text/javascript; charset=utf-8",etag:'"5f9-ErnGWDs+ESPTeU5ggbWqSuJCcyY"',mtime:"2025-03-02T12:28:23.872Z",size:1529,path:"../public/assets/debounce-DjqSSMbT.js"},"/assets/delete-1-BqRz4NQH.js":{type:"text/javascript; charset=utf-8",etag:'"57f-KfKT0dBEwsWq7TALzmss/j9kEeQ"',mtime:"2025-03-02T12:28:23.874Z",size:1407,path:"../public/assets/delete-1-BqRz4NQH.js"},"/assets/dep-916b902f-BLs2dxx4.js":{type:"text/javascript; charset=utf-8",etag:'"ba-riYSxPzb0sh8mSQMBmcU1rE0NU8"',mtime:"2025-03-02T12:28:23.872Z",size:186,path:"../public/assets/dep-916b902f-BLs2dxx4.js"},"/assets/ellipsis-DKSeG7Zz.js":{type:"text/javascript; charset=utf-8",etag:'"4cf-8aoAM3rm9r7s3tYYA/wxREhIl3o"',mtime:"2025-03-02T12:28:23.873Z",size:1231,path:"../public/assets/ellipsis-DKSeG7Zz.js"},"/assets/fetch-C6zEckB6.js":{type:"text/javascript; charset=utf-8",etag:'"dcba-5ak/YfwSJR9V5i0yVyu0BTyshzE"',mtime:"2025-03-02T12:28:23.873Z",size:56506,path:"../public/assets/fetch-C6zEckB6.js"},"/assets/flowchart-elk-definition-170a3958-BCmh1NNp.js":{type:"text/javascript; charset=utf-8",etag:'"15a272-4CHV2GHOb9Wndo4QhOBoArv38Pk"',mtime:"2025-03-02T12:28:23.875Z",size:1417842,path:"../public/assets/flowchart-elk-definition-170a3958-BCmh1NNp.js"},"/assets/form-model-BANeuwVW.css":{type:"text/css; charset=utf-8",etag:'"7284-lsLg+GJWwzseSwwP2hHUaKcnKxE"',mtime:"2025-03-02T12:28:23.873Z",size:29316,path:"../public/assets/form-model-BANeuwVW.css"},"/assets/form-model-CXHJGOsj.js":{type:"text/javascript; charset=utf-8",etag:'"198ac-SKi3x3g3G3F4QmL3+6yA91WXz50"',mtime:"2025-03-02T12:28:23.873Z",size:104620,path:"../public/assets/form-model-CXHJGOsj.js"},"/assets/help-DgjZXkOL.js":{type:"text/javascript; charset=utf-8",etag:'"16a-37jEvDH2M38X7pVML5hpKVjjjik"',mtime:"2025-03-02T12:28:23.873Z",size:362,path:"../public/assets/help-DgjZXkOL.js"},"/assets/index-AcVMv_6j.js":{type:"text/javascript; charset=utf-8",etag:'"1cfe-DKVA+zIgDRiwbxdUXozjaN0D2y4"',mtime:"2025-03-02T12:28:23.873Z",size:7422,path:"../public/assets/index-AcVMv_6j.js"},"/assets/index-BZmcEdaQ.js":{type:"text/javascript; charset=utf-8",etag:'"1bb-vUGDVp9rLf2fFnZkePfkOXM7TMo"',mtime:"2025-03-02T12:28:23.873Z",size:443,path:"../public/assets/index-BZmcEdaQ.js"},"/assets/index-BZuyLcM6.css":{type:"text/css; charset=utf-8",etag:'"5abd-F71nQeNFvwmJmGUrcTi/UlcPyoA"',mtime:"2025-03-02T12:28:23.873Z",size:23229,path:"../public/assets/index-BZuyLcM6.css"},"/assets/index-Bf-xQ7gk.js":{type:"text/javascript; charset=utf-8",etag:'"4abf-uJ8K0yPJSXrY4VebFfjTfBP5h5Y"',mtime:"2025-03-02T12:28:23.874Z",size:19135,path:"../public/assets/index-Bf-xQ7gk.js"},"/assets/index-BuIb9tIA.js":{type:"text/javascript; charset=utf-8",etag:'"14877-JtLC/Khm9FJtpTrTrwh7GhNt4ls"',mtime:"2025-03-02T12:28:23.874Z",size:84087,path:"../public/assets/index-BuIb9tIA.js"},"/assets/index-C2aHaTIl.js":{type:"text/javascript; charset=utf-8",etag:'"1f65-T7jeLgxPA9sHFvioqMLQEP05VHM"',mtime:"2025-03-02T12:28:23.874Z",size:8037,path:"../public/assets/index-C2aHaTIl.js"},"/assets/index-CIhn6Q_x.css":{type:"text/css; charset=utf-8",etag:'"9b8-P1UONWHl6kEn2AWvb906snWHZoE"',mtime:"2025-03-02T12:28:23.874Z",size:2488,path:"../public/assets/index-CIhn6Q_x.css"},"/assets/index-CSsUEF1T.js":{type:"text/javascript; charset=utf-8",etag:'"44fd-z179chwRHxHJd2KDFzOlTlEdOH4"',mtime:"2025-03-02T12:28:23.874Z",size:17661,path:"../public/assets/index-CSsUEF1T.js"},"/assets/index-CjKlnN2e.js":{type:"text/javascript; charset=utf-8",etag:'"94e-lWg/Vg2m6laWQJeUxxL3KqyvBgA"',mtime:"2025-03-02T12:28:23.874Z",size:2382,path:"../public/assets/index-CjKlnN2e.js"},"/assets/index-Cuo7O5Im.css":{type:"text/css; charset=utf-8",etag:'"2773-YOdlR93q/PeE9UBb4W1zoIZ5Xks"',mtime:"2025-03-02T12:28:23.874Z",size:10099,path:"../public/assets/index-Cuo7O5Im.css"},"/assets/index-D-N6mo-j.js":{type:"text/javascript; charset=utf-8",etag:'"327d7-SSi92mkDewJod76Gbh9/15Bp2u8"',mtime:"2025-03-02T12:28:23.875Z",size:206807,path:"../public/assets/index-D-N6mo-j.js"},"/assets/index-D5r9_V6Z.css":{type:"text/css; charset=utf-8",etag:'"39a7-BpZrCA9loP8N3qPVeCJMZIHYKIs"',mtime:"2025-03-02T12:28:23.875Z",size:14759,path:"../public/assets/index-D5r9_V6Z.css"},"/assets/index-DP1bS-ul.js":{type:"text/javascript; charset=utf-8",etag:'"49cd-bPBMy5tiiBJU/1DfKTMogJNFAXw"',mtime:"2025-03-02T12:28:23.875Z",size:18893,path:"../public/assets/index-DP1bS-ul.js"},"/assets/index-DTZnpgd-.css":{type:"text/css; charset=utf-8",etag:'"2886-T+ai5EapV0TGaMqGcaJ8vXvFbsI"',mtime:"2025-03-02T12:28:23.875Z",size:10374,path:"../public/assets/index-DTZnpgd-.css"},"/assets/index-DWphMrS1.css":{type:"text/css; charset=utf-8",etag:'"321-j2DbWq2xzTMni/ogD59SBddlPSk"',mtime:"2025-03-02T12:28:23.875Z",size:801,path:"../public/assets/index-DWphMrS1.css"},"/assets/index-DcpcXD6o.css":{type:"text/css; charset=utf-8",etag:'"5c98-yLEJlCrZ0lHdgPFxD87ff4GTlvs"',mtime:"2025-03-02T12:28:23.875Z",size:23704,path:"../public/assets/index-DcpcXD6o.css"},"/assets/index-DmTGWjjO.js":{type:"text/javascript; charset=utf-8",etag:'"3875-ZQFqyku54XBeNmBCKk6741rUWZg"',mtime:"2025-03-02T12:28:23.876Z",size:14453,path:"../public/assets/index-DmTGWjjO.js"},"/assets/index-DmWclHlm.js":{type:"text/javascript; charset=utf-8",etag:'"6b4e-gzNwJucgqwrXpxLac4ZkgBg5oqs"',mtime:"2025-03-02T12:28:23.876Z",size:27470,path:"../public/assets/index-DmWclHlm.js"},"/assets/index-DwpGtVtI.js":{type:"text/javascript; charset=utf-8",etag:'"1ef-/rhVSRWwdWNlj9Stf4/OJJuKGi8"',mtime:"2025-03-02T12:28:23.876Z",size:495,path:"../public/assets/index-DwpGtVtI.js"},"/assets/index-DyrTSsVD.js":{type:"text/javascript; charset=utf-8",etag:'"c14-uNpardQ9rwGfJ4qWCCa2ib9lWwc"',mtime:"2025-03-02T12:28:23.876Z",size:3092,path:"../public/assets/index-DyrTSsVD.js"},"/assets/index-Kxldlx3l.js":{type:"text/javascript; charset=utf-8",etag:'"1cfe-BSyqk6R6LcaePscpO/4+FaBiwHU"',mtime:"2025-03-02T12:28:23.877Z",size:7422,path:"../public/assets/index-Kxldlx3l.js"},"/assets/index-L5AGF2i2.css":{type:"text/css; charset=utf-8",etag:'"2499-bNaFVwlUd2C8L7R9teUFVwsLOhQ"',mtime:"2025-03-02T12:28:23.877Z",size:9369,path:"../public/assets/index-L5AGF2i2.css"},"/assets/index-Lt3PC9Ko.js":{type:"text/javascript; charset=utf-8",etag:'"fc22-XNtImHsmzwBEWpQWNrOV5djquF4"',mtime:"2025-03-02T12:28:23.877Z",size:64546,path:"../public/assets/index-Lt3PC9Ko.js"},"/assets/index-XXxXkjQE.css":{type:"text/css; charset=utf-8",etag:'"b36-t1j7CTXzV5+B1tg7xAMaFq4FiR4"',mtime:"2025-03-02T12:28:23.878Z",size:2870,path:"../public/assets/index-XXxXkjQE.css"},"/assets/index-dIOYMMBF.css":{type:"text/css; charset=utf-8",etag:'"1e7d-LtpFiT6m/sBacwkzCaVcyUksxEw"',mtime:"2025-03-02T12:28:23.877Z",size:7805,path:"../public/assets/index-dIOYMMBF.css"},"/assets/index-pjvKxr27.js":{type:"text/javascript; charset=utf-8",etag:'"34df-v157iv8U9tvpgx2Jf8CBiw/wPiA"',mtime:"2025-03-02T12:28:23.877Z",size:13535,path:"../public/assets/index-pjvKxr27.js"},"/assets/index-wQ5-px18.css":{type:"text/css; charset=utf-8",etag:'"1689-sbeVf5CZYUH7aehAxe7zap3YQ5M"',mtime:"2025-03-02T12:28:23.878Z",size:5769,path:"../public/assets/index-wQ5-px18.css"},"/assets/is_dark-MhuX2or3.js":{type:"text/javascript; charset=utf-8",etag:'"113-8Q11Z0qLoBx/VSTjEGVllj0olEU"',mtime:"2025-03-02T12:28:23.878Z",size:275,path:"../public/assets/is_dark-MhuX2or3.js"},"/assets/lyihub-Bco7WNuk.css":{type:"text/css; charset=utf-8",etag:'"ff9-2rP6ed5v/1KXfaqu/haSDMy0tM0"',mtime:"2025-03-02T12:28:23.878Z",size:4089,path:"../public/assets/lyihub-Bco7WNuk.css"},"/assets/lyihub-muI8ujdR.js":{type:"text/javascript; charset=utf-8",etag:'"41d6-xNYVhQTTR5aXQQt3CPaXUMJz2bQ"',mtime:"2025-03-02T12:28:23.878Z",size:16854,path:"../public/assets/lyihub-muI8ujdR.js"},"/assets/main-Bexb_ehG.css":{type:"text/css; charset=utf-8",etag:'"36c3d-6ZYkGFV+NgaGIpmOCOKKcBH0MgM"',mtime:"2025-03-02T12:28:23.878Z",size:224317,path:"../public/assets/main-Bexb_ehG.css"},"/assets/main-DzSNOqOC.js":{type:"text/javascript; charset=utf-8",etag:'"e7d90-l8hC9lJlfKvwGQMtwIyjj1RWTD0"',mtime:"2025-03-02T12:28:23.879Z",size:949648,path:"../public/assets/main-DzSNOqOC.js"},"/assets/mindmap-definition-44684416-2qYG7gUD.js":{type:"text/javascript; charset=utf-8",etag:'"824b1-ghTgW3acn0WZElZiRC02y2LntXc"',mtime:"2025-03-02T12:28:23.879Z",size:533681,path:"../public/assets/mindmap-definition-44684416-2qYG7gUD.js"},"/assets/pdf.worker.min-yatZIOMy.mjs":{type:"text/javascript; charset=utf-8",etag:'"14fe5e-iGC1A5RKrS0JublO5W5Pq4QUymk"',mtime:"2025-03-02T12:28:23.880Z",size:1375838,path:"../public/assets/pdf.worker.min-yatZIOMy.mjs"},"/assets/plus-CEvO8XVn.js":{type:"text/javascript; charset=utf-8",etag:'"4c2-9BkjuMV2jdppgQzCkoh6rAsZk5Y"',mtime:"2025-03-02T12:28:23.879Z",size:1218,path:"../public/assets/plus-CEvO8XVn.js"},"/assets/prism-DmrxnvMA.js":{type:"text/javascript; charset=utf-8",etag:'"9725-9JlNpgRrp4pjDh4qrXcph0iOoUY"',mtime:"2025-03-02T12:28:23.879Z",size:38693,path:"../public/assets/prism-DmrxnvMA.js"},"/assets/refresh-BD1L4aGQ.js":{type:"text/javascript; charset=utf-8",etag:'"562-rCquzHmyfA74xkhSNUqnEKxFP6k"',mtime:"2025-03-02T12:28:23.879Z",size:1378,path:"../public/assets/refresh-BD1L4aGQ.js"},"/assets/sambanova-35TLgnML.webp":{type:"image/webp",etag:'"415c-sMenaeQGBb9K2dKKno4v8gu8CQg"',mtime:"2025-03-02T12:28:23.880Z",size:16732,path:"../public/assets/sambanova-35TLgnML.webp"},"/assets/scraper.worker-C5ikRwpu.js":{type:"text/javascript; charset=utf-8",etag:'"268-Onu+45h7Y6Bc+D4LCl5TM9ow9wE"',mtime:"2025-03-02T12:28:23.881Z",size:616,path:"../public/assets/scraper.worker-C5ikRwpu.js"},"/assets/timeline-definition-8e5a9bc6-DaVWbYt5.js":{type:"text/javascript; charset=utf-8",etag:'"5103-1UwC1mvXjRHLV2FXECjMepR6udw"',mtime:"2025-03-02T12:28:23.881Z",size:20739,path:"../public/assets/timeline-definition-8e5a9bc6-DaVWbYt5.js"},"/assets/useVirtualScrollNew-1P66tHNg.js":{type:"text/javascript; charset=utf-8",etag:'"12a8-YnQE7JvYNuVlyNbHBHQw1YuZ4qA"',mtime:"2025-03-02T12:28:23.881Z",size:4776,path:"../public/assets/useVirtualScrollNew-1P66tHNg.js"},"/assets/v4-_R2nDvl_.js":{type:"text/javascript; charset=utf-8",etag:'"3a1-Em826+EaiFJxMLWvplFS7Y7rsAM"',mtime:"2025-03-02T12:28:23.881Z",size:929,path:"../public/assets/v4-_R2nDvl_.js"},"/swagger/LICENSE":{type:"text/plain; charset=utf-8",etag:'"2c5e-K4uBUimqimHkg/tLoFiLi2xJGJA"',mtime:"2025-03-02T12:28:23.860Z",size:11358,path:"../public/swagger/LICENSE"},"/swagger/NOTICE":{type:"text/plain; charset=utf-8",etag:'"37-0n8Fhwk9uv718DEoBFAYAHxrqZ8"',mtime:"2025-03-02T12:28:23.882Z",size:55,path:"../public/swagger/NOTICE"},"/swagger/README.md":{type:"text/markdown; charset=utf-8",etag:'"6be-eQ4mvDl95ct54H1v8dasMT5BJwQ"',mtime:"2025-03-02T12:28:23.882Z",size:1726,path:"../public/swagger/README.md"},"/swagger/absolute-path.js":{type:"text/javascript; charset=utf-8",etag:'"212-J+QveHG7rDiOFdNzZCZDqcDOK+M"',mtime:"2025-03-02T12:28:23.882Z",size:530,path:"../public/swagger/absolute-path.js"},"/swagger/favicon-16x16.png":{type:"image/png",etag:'"299-P/Ck0KVN5edEo4I0mCIWWmtplO0"',mtime:"2025-03-02T12:28:23.883Z",size:665,path:"../public/swagger/favicon-16x16.png"},"/swagger/favicon-32x32.png":{type:"image/png",etag:'"274-jKULWQGffxfGW3fqT5ChsaRqwLY"',mtime:"2025-03-02T12:28:23.883Z",size:628,path:"../public/swagger/favicon-32x32.png"},"/swagger/index.css":{type:"text/css; charset=utf-8",etag:'"ca-cVhpBjOPaUIKpM8dNJT+6MUz8Ro"',mtime:"2025-03-02T12:28:23.883Z",size:202,path:"../public/swagger/index.css"},"/swagger/index.html":{type:"text/html; charset=utf-8",etag:'"2de-1EOW5JSXowvBRBqUcXZxJSLvf2M"',mtime:"2025-03-02T12:28:23.883Z",size:734,path:"../public/swagger/index.html"},"/swagger/index.js":{type:"text/javascript; charset=utf-8",etag:'"32d-GIZCZQ6FP1cqjHGRuiG/HV4bPls"',mtime:"2025-03-02T12:28:23.883Z",size:813,path:"../public/swagger/index.js"},"/swagger/oauth2-redirect.html":{type:"text/html; charset=utf-8",etag:'"a9b-4dCYXMgAc9mtJO1U4TUJArG0ZRw"',mtime:"2025-03-02T12:28:23.883Z",size:2715,path:"../public/swagger/oauth2-redirect.html"},"/swagger/package.json":{type:"application/json",etag:'"22f-ge5qnFv6U+FiQDMrcNVQ109ojuM"',mtime:"2025-03-02T12:28:23.883Z",size:559,path:"../public/swagger/package.json"},"/swagger/swagger-initializer.js":{type:"text/javascript; charset=utf-8",etag:'"29a-zW3E63PXRtQnB3CBmSCmAsl3emI"',mtime:"2025-03-02T12:28:23.883Z",size:666,path:"../public/swagger/swagger-initializer.js"},"/swagger/swagger-ui-bundle.js":{type:"text/javascript; charset=utf-8",etag:'"164292-JP4Z8h5sOKi+xzRojHQ6R2bDeYc"',mtime:"2025-03-02T12:28:23.888Z",size:1458834,path:"../public/swagger/swagger-ui-bundle.js"},"/swagger/swagger-ui-bundle.js.map":{type:"application/json",etag:'"1d4f6e-EdZwAI/8NHP9DkSgVRmzrlnheWM"',mtime:"2025-03-02T12:28:23.892Z",size:1920878,path:"../public/swagger/swagger-ui-bundle.js.map"},"/swagger/swagger-ui-es-bundle-core.js":{type:"text/javascript; charset=utf-8",etag:'"70d43-mCyECSBbqulz0eM1ClNLIVsPSAw"',mtime:"2025-03-02T12:28:23.885Z",size:462147,path:"../public/swagger/swagger-ui-es-bundle-core.js"},"/swagger/swagger-ui-es-bundle-core.js.map":{type:"application/json",etag:'"17fbd3-wwo/aM2MJt3p+TzYRM3y9+0q854"',mtime:"2025-03-02T12:28:23.891Z",size:1571795,path:"../public/swagger/swagger-ui-es-bundle-core.js.map"},"/swagger/swagger-ui-es-bundle.js":{type:"text/javascript; charset=utf-8",etag:'"16419c-bR9bEUieKWXUhAsN1u1RFJhbZPU"',mtime:"2025-03-02T12:28:23.893Z",size:1458588,path:"../public/swagger/swagger-ui-es-bundle.js"},"/swagger/swagger-ui-es-bundle.js.map":{type:"application/json",etag:'"1d2e65-gxP1cBHxZIolETVmnp6JQCmZz/o"',mtime:"2025-03-02T12:28:23.901Z",size:1912421,path:"../public/swagger/swagger-ui-es-bundle.js.map"},"/swagger/swagger-ui-standalone-preset.js":{type:"text/javascript; charset=utf-8",etag:'"38277-xQgm5f4z1FIqVlLwGSzHex4Fw6k"',mtime:"2025-03-02T12:28:23.898Z",size:230007,path:"../public/swagger/swagger-ui-standalone-preset.js"},"/swagger/swagger-ui-standalone-preset.js.map":{type:"application/json",etag:'"50934-V3RjXs1XH6csGCSTQuOjPfev+7U"',mtime:"2025-03-02T12:28:23.898Z",size:330036,path:"../public/swagger/swagger-ui-standalone-preset.js.map"},"/swagger/swagger-ui.css":{type:"text/css; charset=utf-8",etag:'"25208-LCeGOXo3/FiKrbfdZ/Bszk2IOBo"',mtime:"2025-03-02T12:28:23.899Z",size:152072,path:"../public/swagger/swagger-ui.css"},"/swagger/swagger-ui.css.map":{type:"application/json",etag:'"401fa-zqCI+Q0IrfESKbbJYhL/JcOkwvs"',mtime:"2025-03-02T12:28:23.900Z",size:262650,path:"../public/swagger/swagger-ui.css.map"},"/swagger/swagger-ui.js":{type:"text/javascript; charset=utf-8",etag:'"52d5c-c6nIMoLAeNB4yX3xSPePPeDpQ2o"',mtime:"2025-03-02T12:28:23.900Z",size:339292,path:"../public/swagger/swagger-ui.js"},"/swagger/swagger-ui.js.map":{type:"application/json",etag:'"11b11e-gp1pUZibogyCLGgGPUBDz6jFdTk"',mtime:"2025-03-02T12:28:23.905Z",size:1159454,path:"../public/swagger/swagger-ui.js.map"}},Ee=/^[A-Za-z]:\//;function normalizeWindowsPath(e=""){return e?e.replace(/\\/g,"/").replace(Ee,(e=>e.toUpperCase())):e}const Be=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/,Ae=/^[A-Za-z]:$/;const isAbsolute=function(e){return Be.test(e)};function readAsset(t){const s=function(e){const t=normalizeWindowsPath(e).replace(/\/$/,"").split("/").slice(0,-1);return 1===t.length&&Ae.test(t[0])&&(t[0]+="/"),t.join("/")||(isAbsolute(e)?"/":".")}(c(globalThis._importMeta_.url));return i.readFile(function(...t){let s="",o=!1;for(let a=(t=t.map((e=>normalizeWindowsPath(e)))).length-1;a>=-1&&!o;a--){const i=a>=0?t[a]:void 0!==e&&"function"==typeof e.cwd?e.cwd().replace(/\\/g,"/"):"/";i&&0!==i.length&&(s=`${i}/${s}`,o=isAbsolute(i))}return s=function(e,t){let s="",o=0,a=-1,i=0,n=null;for(let c=0;c<=e.length;++c){if(c<e.length)n=e[c];else{if("/"===n)break;n="/"}if("/"===n){if(a===c-1||1===i);else if(2===i){if(s.length<2||2!==o||"."!==s[s.length-1]||"."!==s[s.length-2]){if(s.length>2){const e=s.lastIndexOf("/");-1===e?(s="",o=0):(s=s.slice(0,e),o=s.length-1-s.lastIndexOf("/")),a=c,i=0;continue}if(s.length>0){s="",o=0,a=c,i=0;continue}}t&&(s+=s.length>0?"/..":"..",o=2)}else s.length>0?s+=`/${e.slice(a+1,c)}`:s=e.slice(a+1,c),o=c-a-1;a=c,i=0}else"."===n&&-1!==i?++i:i=-1}return s}(s,!o),o&&!isAbsolute(s)?`/${s}`:s.length>0?s:"."}(s,Se[t].path))}const Me={};function getAsset(e){return Se[e]}const Ie=new Set(["HEAD","GET"]),He={gzip:".gz",br:".br"},Ke=[{route:"",handler:ue((e=>{if(e.method&&!Ie.has(e.method))return;let t=decode(withLeadingSlash(withoutTrailingSlash(parseURL(e.path).pathname)).replace(j,"%252F"));let s;const o=[...String(getRequestHeader(e,"accept-encoding")||"").split(",").map((e=>He[e.trim()])).filter(Boolean).sort(),""];o.length>1&&function(e,t,s){let o=e.node.res.getHeader(t);o?(Array.isArray(o)||(o=[o.toString()]),e.node.res.setHeader(t,[...o,s])):e.node.res.setHeader(t,s)}(e,"Vary","Accept-Encoding");for(const e of o)for(const o of[t+e,joinURL(t,"index.html"+e)]){const e=getAsset(o);if(e){s=e,t=o;break}}if(!s){if(function(e=""){if(Se[e])return!0;for(const t in Me)if(e.startsWith(t))return!0;return!1}(t))throw function(e,t){e.node.res.removeHeader(t)}(e,"Cache-Control"),createError$1({statusMessage:"Cannot find static asset "+t,statusCode:404});return}if(getRequestHeader(e,"if-none-match")===s.etag)return setResponseStatus(e,304,"Not Modified"),"";const a=getRequestHeader(e,"if-modified-since"),i=new Date(s.mtime);return a&&s.mtime&&new Date(a)>=i?(setResponseStatus(e,304,"Not Modified"),""):(s.type&&!getResponseHeader(e,"Content-Type")&&setResponseHeader(e,"Content-Type",s.type),s.etag&&!getResponseHeader(e,"ETag")&&setResponseHeader(e,"ETag",s.etag),s.mtime&&!getResponseHeader(e,"Last-Modified")&&setResponseHeader(e,"Last-Modified",i.toUTCString()),s.encoding&&!getResponseHeader(e,"Content-Encoding")&&setResponseHeader(e,"Content-Encoding",s.encoding),s.size>0&&!getResponseHeader(e,"Content-Length")&&setResponseHeader(e,"Content-Length",s.size),readAsset(t))})),lazy:!1,middleware:!0,method:void 0},{route:"",handler:defineEventHandler((t=>{t.context.cloudflare&&(e.env=t.context.cloudflare.env)})),lazy:!1,middleware:!0,method:void 0},{route:"",handler:defineEventHandler((e=>{if("OPTIONS"===e.node.req.method)return e.node.res.setHeader("Access-Control-Allow-Origin","*"),e.node.res.setHeader("Access-Control-Allow-Methods","GET, POST, PUT, DELETE, OPTIONS"),e.node.res.setHeader("Access-Control-Allow-Headers","*"),e.node.res.setHeader("Access-Control-Max-Age","86400"),e.node.res.statusCode=204,void e.node.res.end();e.node.res.setHeader("Access-Control-Allow-Origin","*"),e.node.res.setHeader("Access-Control-Expose-Headers","*")})),lazy:!1,middleware:!0,method:void 0},{route:"/api/**",handler:()=>import("../routes/api/_..._.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/app/**",handler:()=>import("../routes/app/_..._.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/cache/clear",handler:()=>import("../routes/cache/clear.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/config",handler:()=>import("../routes/index.get.mjs"),lazy:!0,middleware:!1,method:"get"},{route:"/config",handler:()=>import("../routes/index.post.mjs"),lazy:!0,middleware:!1,method:"post"},{route:"/crawler",handler:()=>import("../routes/crawler.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/cursor/code",handler:()=>import("../routes/cursor/code.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/cursor/token",handler:()=>import("../routes/cursor/token.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/github/code",handler:()=>import("../routes/github/code.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/github/token",handler:()=>import("../routes/github/token.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/google/access_token",handler:()=>import("../routes/google/access_token.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/google/code",handler:()=>import("../routes/google/code.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/health",handler:()=>import("../routes/health.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/openai/**",handler:()=>import("../routes/openai/_..._.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/openapi.json",handler:()=>import("../routes/openapi.json.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/search",handler:()=>import("../routes/search.mjs"),lazy:!0,middleware:!1,method:void 0}];function asyncCall(e,...t){try{return(s=e(...t))&&"function"==typeof s.then?s:Promise.resolve(s)}catch(e){return Promise.reject(e)}var s}function stringify(e){if(function(e){const t=typeof e;return null===e||"object"!==t&&"function"!==t}(e))return String(e);if(function(e){const t=Object.getPrototypeOf(e);return!t||t.isPrototypeOf(Object)}(e)||Array.isArray(e))return JSON.stringify(e);if("function"==typeof e.toJSON)return stringify(e.toJSON());throw new Error("[unstorage] Cannot stringify value!")}const Oe="base64:";function serializeRaw(e){return"string"==typeof e?e:Oe+function(e){if(globalThis.Buffer)return Buffer.from(e).toString("base64");return globalThis.btoa(String.fromCodePoint(...e))}(e)}function deserializeRaw(e){return"string"!=typeof e?e:e.startsWith(Oe)?function(e){if(globalThis.Buffer)return Buffer.from(e,"base64");return Uint8Array.from(globalThis.atob(e),(e=>e.codePointAt(0)))}(e.slice(7)):e}const Ne=["hasItem","getItem","getItemRaw","setItem","setItemRaw","removeItem","getMeta","setMeta","removeMeta","getKeys","clear","mount","unmount"];function normalizeKey$2(e){return e&&e.split("?")[0]?.replace(/[/\\]/g,":").replace(/:+/g,":").replace(/^:|:$/g,"")||""}function joinKeys$1(...e){return normalizeKey$2(e.join(":"))}function normalizeBaseKey(e){return(e=normalizeKey$2(e))?e+":":""}const memory=()=>{const e=new Map;return{name:"memory",getInstance:()=>e,hasItem:t=>e.has(t),getItem:t=>e.get(t)??null,getItemRaw:t=>e.get(t)??null,setItem(t,s){e.set(t,s)},setItemRaw(t,s){e.set(t,s)},removeItem(t){e.delete(t)},getKeys:()=>[...e.keys()],clear(){e.clear()},dispose(){e.clear()}}};function createStorage(e={}){const t={mounts:{"":e.driver||memory()},mountpoints:[""],watching:!1,watchListeners:[],unwatch:{}},getMount=e=>{for(const s of t.mountpoints)if(e.startsWith(s))return{base:s,relativeKey:e.slice(s.length),driver:t.mounts[s]};return{base:"",relativeKey:e,driver:t.mounts[""]}},getMounts=(e,s)=>t.mountpoints.filter((t=>t.startsWith(e)||s&&e.startsWith(t))).map((s=>({relativeBase:e.length>s.length?e.slice(s.length):void 0,mountpoint:s,driver:t.mounts[s]}))),onChange=(e,s)=>{if(t.watching){s=normalizeKey$2(s);for(const o of t.watchListeners)o(e,s)}},stopWatch=async()=>{if(t.watching){for(const e in t.unwatch)await t.unwatch[e]();t.unwatch={},t.watching=!1}},runBatch=(e,t,s)=>{const o=new Map,getBatch=e=>{let t=o.get(e.base);return t||(t={driver:e.driver,base:e.base,items:[]},o.set(e.base,t)),t};for(const s of e){const e="string"==typeof s,o=normalizeKey$2(e?s:s.key),a=e?void 0:s.value,i=e||!s.options?t:{...t,...s.options},n=getMount(o);getBatch(n).items.push({key:o,value:a,relativeKey:n.relativeKey,options:i})}return Promise.all([...o.values()].map((e=>s(e)))).then((e=>e.flat()))},s={hasItem(e,t={}){e=normalizeKey$2(e);const{relativeKey:s,driver:o}=getMount(e);return asyncCall(o.hasItem,s,t)},getItem(e,t={}){e=normalizeKey$2(e);const{relativeKey:s,driver:o}=getMount(e);return asyncCall(o.getItem,s,t).then((e=>destr(e)))},getItems:(e,t={})=>runBatch(e,t,(e=>e.driver.getItems?asyncCall(e.driver.getItems,e.items.map((e=>({key:e.relativeKey,options:e.options}))),t).then((t=>t.map((t=>({key:joinKeys$1(e.base,t.key),value:destr(t.value)}))))):Promise.all(e.items.map((t=>asyncCall(e.driver.getItem,t.relativeKey,t.options).then((e=>({key:t.key,value:destr(e)})))))))),getItemRaw(e,t={}){e=normalizeKey$2(e);const{relativeKey:s,driver:o}=getMount(e);return o.getItemRaw?asyncCall(o.getItemRaw,s,t):asyncCall(o.getItem,s,t).then((e=>deserializeRaw(e)))},async setItem(e,t,o={}){if(void 0===t)return s.removeItem(e);e=normalizeKey$2(e);const{relativeKey:a,driver:i}=getMount(e);i.setItem&&(await asyncCall(i.setItem,a,stringify(t),o),i.watch||onChange("update",e))},async setItems(e,t){await runBatch(e,t,(async e=>{if(e.driver.setItems)return asyncCall(e.driver.setItems,e.items.map((e=>({key:e.relativeKey,value:stringify(e.value),options:e.options}))),t);e.driver.setItem&&await Promise.all(e.items.map((t=>asyncCall(e.driver.setItem,t.relativeKey,stringify(t.value),t.options))))}))},async setItemRaw(e,t,o={}){if(void 0===t)return s.removeItem(e,o);e=normalizeKey$2(e);const{relativeKey:a,driver:i}=getMount(e);if(i.setItemRaw)await asyncCall(i.setItemRaw,a,t,o);else{if(!i.setItem)return;await asyncCall(i.setItem,a,serializeRaw(t),o)}i.watch||onChange("update",e)},async removeItem(e,t={}){"boolean"==typeof t&&(t={removeMeta:t}),e=normalizeKey$2(e);const{relativeKey:s,driver:o}=getMount(e);o.removeItem&&(await asyncCall(o.removeItem,s,t),(t.removeMeta||t.removeMata)&&await asyncCall(o.removeItem,s+"$",t),o.watch||onChange("remove",e))},async getMeta(e,t={}){"boolean"==typeof t&&(t={nativeOnly:t}),e=normalizeKey$2(e);const{relativeKey:s,driver:o}=getMount(e),a=Object.create(null);if(o.getMeta&&Object.assign(a,await asyncCall(o.getMeta,s,t)),!t.nativeOnly){const e=await asyncCall(o.getItem,s+"$",t).then((e=>destr(e)));e&&"object"==typeof e&&("string"==typeof e.atime&&(e.atime=new Date(e.atime)),"string"==typeof e.mtime&&(e.mtime=new Date(e.mtime)),Object.assign(a,e))}return a},setMeta(e,t,s={}){return this.setItem(e+"$",t,s)},removeMeta(e,t={}){return this.removeItem(e+"$",t)},async getKeys(e,t={}){e=normalizeBaseKey(e);const s=getMounts(e,!0);let o=[];const a=[];for(const e of s){const s=await asyncCall(e.driver.getKeys,e.relativeBase,t);for(const t of s){const s=e.mountpoint+normalizeKey$2(t);o.some((e=>s.startsWith(e)))||a.push(s)}o=[e.mountpoint,...o.filter((t=>!t.startsWith(e.mountpoint)))]}return e?a.filter((t=>t.startsWith(e)&&"$"!==t[t.length-1])):a.filter((e=>"$"!==e[e.length-1]))},async clear(e,t={}){e=normalizeBaseKey(e),await Promise.all(getMounts(e,!1).map((async e=>{if(e.driver.clear)return asyncCall(e.driver.clear,e.relativeBase,t);if(e.driver.removeItem){const s=await e.driver.getKeys(e.relativeBase||"",t);return Promise.all(s.map((s=>e.driver.removeItem(s,t))))}})))},async dispose(){await Promise.all(Object.values(t.mounts).map((e=>dispose(e))))},watch:async e=>(await(async()=>{if(!t.watching){t.watching=!0;for(const e in t.mounts)t.unwatch[e]=await watch(t.mounts[e],onChange,e)}})(),t.watchListeners.push(e),async()=>{t.watchListeners=t.watchListeners.filter((t=>t!==e)),0===t.watchListeners.length&&await stopWatch()}),async unwatch(){t.watchListeners=[],await stopWatch()},mount(e,o){if((e=normalizeBaseKey(e))&&t.mounts[e])throw new Error(`already mounted at ${e}`);return e&&(t.mountpoints.push(e),t.mountpoints.sort(((e,t)=>t.length-e.length))),t.mounts[e]=o,t.watching&&Promise.resolve(watch(o,onChange,e)).then((s=>{t.unwatch[e]=s})).catch(console.error),s},async unmount(e,s=!0){(e=normalizeBaseKey(e))&&t.mounts[e]&&(t.watching&&e in t.unwatch&&(t.unwatch[e]?.(),delete t.unwatch[e]),s&&await dispose(t.mounts[e]),t.mountpoints=t.mountpoints.filter((t=>t!==e)),delete t.mounts[e])},getMount(e=""){e=normalizeKey$2(e)+":";const t=getMount(e);return{driver:t.driver,base:t.base}},getMounts(e="",t={}){e=normalizeKey$2(e);return getMounts(e,t.parents).map((e=>({driver:e.driver,base:e.mountpoint})))},keys:(e,t={})=>s.getKeys(e,t),get:(e,t={})=>s.getItem(e,t),set:(e,t,o={})=>s.setItem(e,t,o),has:(e,t={})=>s.hasItem(e,t),del:(e,t={})=>s.removeItem(e,t),remove:(e,t={})=>s.removeItem(e,t)};return s}function watch(e,t,s){return e.watch?e.watch(((e,o)=>t(e,s+o))):()=>{}}async function dispose(e){"function"==typeof e.dispose&&await asyncCall(e.dispose)}const Ze={"server:sha3_wasm_bg.7b9ca65ddd.wasm":{import:()=>import("../raw/sha3_wasm_bg.7b9ca65ddd.mjs").then((e=>e.default||e)),meta:{type:"application/wasm",etag:'"67f4-HA9hIZkJpnMfafDJeYUwPEld3vA"',mtime:"2025-03-02T12:25:14.409Z"}}},normalizeKey$1=function(e){return e&&e.split("?")[0]?.replace(/[/\\]/g,":").replace(/:+/g,":").replace(/^:|:$/g,"")||""},Pe={getKeys:()=>Promise.resolve(Object.keys(Ze)),hasItem:e=>(e=normalizeKey$1(e),Promise.resolve(e in Ze)),getItem:e=>(e=normalizeKey$1(e),Promise.resolve(Ze[e]?Ze[e].import():null)),getMeta:e=>(e=normalizeKey$1(e),Promise.resolve(Ze[e]?Ze[e].meta:{}))};function defineDriver(e){return e}function joinKeys(...e){return e.map((e=>function(e,t=":"){return e?e.replace(/[:/\\]/g,t).replace(/^[:/\\]|[:/\\]$/g,""):""}(e))).filter(Boolean).join(":")}function createError(e,t,s){const o=new Error(`[unstorage] [${e}] ${t}`,s);return Error.captureStackTrace&&Error.captureStackTrace(o,createError),o}function createRequiredError(e,t){return Array.isArray(t)?createError(e,`Missing some of the required options ${t.map((e=>"`"+e+"`")).join(", ")}`):createError(e,`Missing required option \`${t}\`.`)}function ignoreNotfound(e){return"ENOENT"===e.code||"EISDIR"===e.code?null:e}function ignoreExists(e){return"EEXIST"===e.code?null:e}async function writeFile(e,t,s){return await ensuredir(l(e)),i.writeFile(e,t,s)}function readFile(e,t){return i.readFile(e,t).catch(ignoreNotfound)}function readdir(e){return i.readdir(e,{withFileTypes:!0}).catch(ignoreNotfound).then((e=>e||[]))}async function ensuredir(e){n(e)||(await ensuredir(l(e)).catch(ignoreExists),await i.mkdir(e).catch(ignoreExists))}async function readdirRecursive(e,t){if(t&&t(e))return[];const s=await readdir(e),o=[];return await Promise.all(s.map((async s=>{const a=p(e,s.name);if(s.isDirectory()){const e=await readdirRecursive(a,t);o.push(...e.map((e=>s.name+"/"+e)))}else t&&t(s.name)||o.push(s.name)}))),o}async function rmRecursive(e){const t=await readdir(e);await Promise.all(t.map((t=>{const s=p(e,t.name);return t.isDirectory()?rmRecursive(s).then((()=>i.rmdir(s))):i.unlink(s)})))}const qe=/\.\.:|\.\.$/,De="fs-lite",unstorage_47drivers_47fs_45lite=(e={})=>{if(!e.base)throw createRequiredError(De,"base");e.base=p(e.base);const r=t=>{if(qe.test(t))throw createError(De,`Invalid key: ${JSON.stringify(t)}. It should not contain .. segments`);return u(e.base,t.replace(/:/g,"/"))};return{name:De,options:e,hasItem:e=>n(r(e)),getItem:e=>readFile(r(e),"utf8"),getItemRaw:e=>readFile(r(e)),async getMeta(e){const{atime:t,mtime:s,size:o,birthtime:a,ctime:n}=await i.stat(r(e)).catch((()=>({})));return{atime:t,mtime:s,size:o,birthtime:a,ctime:n}},setItem(t,s){if(!e.readOnly)return writeFile(r(t),s,"utf8")},setItemRaw(t,s){if(!e.readOnly)return writeFile(r(t),s)},removeItem(t){if(!e.readOnly)return function(e){return i.unlink(e).catch(ignoreNotfound)}(r(t))},getKeys:()=>readdirRecursive(r("."),e.ignore),async clear(){e.readOnly||e.noClear||await rmRecursive(r("."))}}},Le=createStorage({});function useStorage(e=""){return e?function(e,t){if(!(t=normalizeBaseKey(t)))return e;const s={...e};for(const o of Ne)s[o]=(s="",...a)=>e[o](t+s,...a);return s.getKeys=(s="",...o)=>e.getKeys(t+s,...o).then((e=>e.map((e=>e.slice(t.length))))),s}(Le,e):Le}function defineCachedFunction(e,t={}){t={name:"_",base:"/cache",swr:!0,maxAge:1,...t};const s={},o=t.group||"nitro/functions",a=t.name||e.name||"_",i=t.integrity||hash([e,t]),n=t.validate||(e=>void 0!==e.value);return async(...c)=>{if(await(t.shouldBypassCache?.(...c)))return e(...c);const l=await(t.getKey||getKey)(...c),p=await(t.shouldInvalidateCache?.(...c)),u=await async function(e,c,l,p){const u=[t.base,o,a,e+".json"].filter(Boolean).join(":").replace(/:\/$/,":index");let d=await useStorage().getItem(u).catch((e=>{console.error("[nitro] [cache] Cache read error.",e),useNitroApp().captureError(e,{event:p,tags:["cache"]})}))||{};if("object"!=typeof d){d={};const e=new Error("Malformed data read from cache.");console.error("[nitro] [cache]",e),useNitroApp().captureError(e,{event:p,tags:["cache"]})}const h=1e3*(t.maxAge??0);h&&(d.expires=Date.now()+h);const f=l||d.integrity!==i||h&&Date.now()-(d.mtime||0)>h||!1===n(d),m=f?(async()=>{const o=s[e];o||(void 0!==d.value&&(t.staleMaxAge||0)>=0&&!1===t.swr&&(d.value=void 0,d.integrity=void 0,d.mtime=void 0,d.expires=void 0),s[e]=Promise.resolve(c()));try{d.value=await s[e]}catch(t){throw o||delete s[e],t}if(!o&&(d.mtime=Date.now(),d.integrity=i,delete s[e],!1!==n(d))){let e;t.maxAge&&!t.swr&&(e={ttl:t.maxAge});const s=useStorage().setItem(u,d,e).catch((e=>{console.error("[nitro] [cache] Cache write error.",e),useNitroApp().captureError(e,{event:p,tags:["cache"]})}));p?.waitUntil&&p.waitUntil(s)}})():Promise.resolve();return void 0===d.value?await m:f&&p&&p.waitUntil&&p.waitUntil(m),t.swr&&!1!==n(d)?(m.catch((e=>{console.error("[nitro] [cache] SWR handler error.",e),useNitroApp().captureError(e,{event:p,tags:["cache"]})})),d):m.then((()=>d))}(l,(()=>e(...c)),p,c[0]&&isEvent(c[0])?c[0]:void 0);let d=u.value;return t.transform&&(d=await t.transform(u,...c)||d),d}}function getKey(...e){return e.length>0?hash(e,{}):""}function escapeKey(e){return String(e).replace(/\W/g,"")}function cloneWithProxy(e,t){return new Proxy(e,{get:(e,s,o)=>s in t?t[s]:Reflect.get(e,s,o),set:(e,s,o,a)=>s in t?(t[s]=o,!0):Reflect.set(e,s,o,a)})}Le.mount("/assets",Pe),Le.mount("data",unstorage_47drivers_47fs_45lite({driver:"fsLite",base:"/home/runner/work/seedchat/seedchat/.data/kv"}));const cachedEventHandler=function(e,t={name:"_",base:"/cache",swr:!0,maxAge:1}){const s=(t.varies||[]).filter(Boolean).map((e=>e.toLowerCase())).sort(),o={...t,getKey:async e=>{const o=await(t.getKey?.(e));if(o)return escapeKey(o);const a=e.node.req.originalUrl||e.node.req.url||e.path;let i;try{i=escapeKey(decodeURI(parseURL(a).pathname)).slice(0,16)||"index"}catch{i="-"}return[`${i}.${hash(a)}`,...s.map((t=>[t,e.node.req.headers[t]])).map((([e,t])=>`${escapeKey(e)}.${hash(t)}`))].join(":")},validate:e=>!!e.value&&(!(e.value.code>=400)&&(void 0!==e.value.body&&("undefined"!==e.value.headers.etag&&"undefined"!==e.value.headers["last-modified"]))),group:t.group||"nitro/handlers",integrity:t.integrity||hash([e,t])},a=function(e,t={}){return defineCachedFunction(e,t)}((async a=>{const i={};for(const e of s){const t=a.node.req.headers[e];void 0!==t&&(i[e]=t)}const n=cloneWithProxy(a.node.req,{headers:i}),c={};let l;const p=createEvent(n,cloneWithProxy(a.node.res,{statusCode:200,writableEnded:!1,writableFinished:!1,headersSent:!1,closed:!1,getHeader:e=>c[e],setHeader(e,t){return c[e]=t,this},getHeaderNames:()=>Object.keys(c),hasHeader:e=>e in c,removeHeader(e){delete c[e]},getHeaders:()=>c,end(e,t,s){return"string"==typeof e&&(l=e),"function"==typeof t&&t(),"function"==typeof s&&s(),this},write:(e,t,s)=>("string"==typeof e&&(l=e),"function"==typeof t&&t(void 0),"function"==typeof s&&s(),!0),writeHead(e,t){if(this.statusCode=e,t){if(Array.isArray(t)||"string"==typeof t)throw new TypeError("Raw headers is not supported.");for(const e in t){const s=t[e];void 0!==s&&this.setHeader(e,s)}}return this}}));p.fetch=(e,t)=>fetchWithEvent(p,e,t,{fetch:useNitroApp().localFetch}),p.$fetch=(e,t)=>fetchWithEvent(p,e,t,{fetch:globalThis.$fetch}),p.context=a.context,p.context.cache={options:o};const u=await e(p)||l,d=p.node.res.getHeaders();d.etag=String(d.Etag||d.etag||`W/"${hash(u)}"`),d["last-modified"]=String(d["Last-Modified"]||d["last-modified"]||(new Date).toUTCString());const h=[];t.swr?(t.maxAge&&h.push(`s-maxage=${t.maxAge}`),t.staleMaxAge?h.push(`stale-while-revalidate=${t.staleMaxAge}`):h.push("stale-while-revalidate")):t.maxAge&&h.push(`max-age=${t.maxAge}`),h.length>0&&(d["cache-control"]=h.join(", "));return{code:p.node.res.statusCode,headers:d,body:u}}),o);return defineEventHandler((async s=>{if(t.headersOnly){if(handleCacheHeaders(s,{maxAge:t.maxAge}))return;return e(s)}const o=await a(s);if(s.node.res.headersSent||s.node.res.writableEnded)return o.body;if(!handleCacheHeaders(s,{modifiedTime:new Date(o.headers["last-modified"]),etag:o.headers.etag,maxAge:t.maxAge})){s.node.res.statusCode=o.code;for(const e in o.headers){const t=o.headers[e];"set-cookie"===e?s.node.res.appendHeader(e,splitCookiesString(t)):void 0!==t&&s.node.res.setHeader(e,t)}return o.body}}))};function klona(e){if("object"!=typeof e)return e;var t,s,o=Object.prototype.toString.call(e);if("[object Object]"===o){if(e.constructor!==Object&&"function"==typeof e.constructor)for(t in s=new e.constructor,e)e.hasOwnProperty(t)&&s[t]!==e[t]&&(s[t]=klona(e[t]));else for(t in s={},e)"__proto__"===t?Object.defineProperty(s,t,{value:klona(e[t]),configurable:!0,enumerable:!0,writable:!0}):s[t]=klona(e[t]);return s}if("[object Array]"===o){for(t=e.length,s=Array(t);t--;)s[t]=klona(e[t]);return s}return"[object Set]"===o?(s=new Set,e.forEach((function(e){s.add(klona(e))})),s):"[object Map]"===o?(s=new Map,e.forEach((function(e,t){s.set(klona(t),klona(e))})),s):"[object Date]"===o?new Date(+e):"[object RegExp]"===o?((s=new RegExp(e.source,e.flags)).lastIndex=e.lastIndex,s):"[object DataView]"===o?new e.constructor(klona(e.buffer)):"[object ArrayBuffer]"===o?e.slice(0):"Array]"===o.slice(-6)?new e.constructor(e):e}const Xe=F({}),Ue=/\d/,We=["-","_","/","."];function isUppercase(e=""){if(!Ue.test(e))return e!==e.toLowerCase()}function kebabCase(e,t){return e?(Array.isArray(e)?e:function(e){const t=We,s=[];if(!e||"string"!=typeof e)return s;let o,a,i="";for(const n of e){const e=t.includes(n);if(!0===e){s.push(i),i="",o=void 0;continue}const c=isUppercase(n);if(!1===a){if(!1===o&&!0===c){s.push(i),i=n,o=c;continue}if(!0===o&&!1===c&&i.length>1){const e=i.at(-1);s.push(i.slice(0,Math.max(0,i.length-1))),i=e+n,o=c;continue}}i+=n,o=c,a=e}return s.push(i),s}(e)).map((e=>e.toLowerCase())).join(t):""}function getEnv(t,s){const o=(a=t,kebabCase(a||"","_")).toUpperCase();var a;return destr(e.env[s.prefix+o]??e.env[s.altPrefix+o])}function _isObject(e){return"object"==typeof e&&!Array.isArray(e)}const Fe=/{{(.*?)}}/g;const Ge={app:{baseURL:"/"},nitro:{routeRules:{"/*/**":{cors:!0,headers:{"access-control-allow-origin":"*","access-control-allow-methods":"*","access-control-allow-headers":"*","access-control-max-age":"0","Access-Control-Allow-Methods":"GET,HEAD,PUT,PATCH,POST,DELETE","Access-Control-Allow-Origin":"*","Access-Control-Allow-Credentials":"true","Access-Control-Allow-Headers":"*","Access-Control-Expose-Headers":"*"}}}},models:[{title:"OpenAI ChatGPT",route:"/openai/chatgpt",provider:"openai",apiBase:"https://api.openai.com/v1/chat/completions",model:"gpt-3.5-turbo"},{title:"OpenAI ChatGPT",route:"/app/chatgpt",provider:"openai",apiBase:"https://api.openai.com/v1/chat/completions",model:"gpt-3.5-turbo"},{title:"OpenAI ChatGPT",route:"/api/chatgpt",provider:"openai",apiBase:"https://api.openai.com/v1/chat/completions",model:"gpt-3.5-turbo"},{title:"Groq",route:"/openai/groq",provider:"openai",apiBase:"https://api.groq.com/openai/v1/chat/completions",model:"llama3-70b-8192"},{title:"Groq",route:"/app/groq",provider:"openai",apiBase:"https://api.groq.com/openai/v1/chat/completions",model:"llama3-70b-8192"},{title:"Groq",route:"/api/groq",provider:"openai",apiBase:"https://api.groq.com/openai/v1/chat/completions",model:"llama3-70b-8192"},{title:"OpenAI qwen",route:"/openai/qwen",provider:"openai",apiBase:"https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions",model:"qwen-turbo"},{title:"OpenAI qwen",route:"/app/qwen",provider:"openai",apiBase:"https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions",model:"qwen-turbo"},{title:"OpenAI qwen",route:"/api/qwen",provider:"openai",apiBase:"https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions",model:"qwen-turbo"},{title:"doubao",route:"/openai/doubao",provider:"openai",apiBase:"https://ark.cn-beijing.volces.com/api/v3/chat/completions",model:""},{title:"doubao",route:"/app/doubao",provider:"openai",apiBase:"https://ark.cn-beijing.volces.com/api/v3/chat/completions",model:""},{title:"doubao",route:"/api/doubao",provider:"openai",apiBase:"https://ark.cn-beijing.volces.com/api/v3/chat/completions",model:""},{title:"GLM",route:"/openai/glm",provider:"openai",apiBase:"https://open.bigmodel.cn/api/paas/v4/chat/completions",model:"glm-4"},{title:"GLM",route:"/app/glm",provider:"openai",apiBase:"https://open.bigmodel.cn/api/paas/v4/chat/completions",model:"glm-4"},{title:"GLM",route:"/api/glm",provider:"openai",apiBase:"https://open.bigmodel.cn/api/paas/v4/chat/completions",model:"glm-4"},{title:"YI",route:"/openai/yi",provider:"openai",apiBase:"https://api.lingyiwanwu.com/v1/chat/completions",model:""},{title:"YI",route:"/app/yi",provider:"openai",apiBase:"https://api.lingyiwanwu.com/v1/chat/completions",model:""},{title:"YI",route:"/api/yi",provider:"openai",apiBase:"https://api.lingyiwanwu.com/v1/chat/completions",model:""},{title:"豆包",route:"/openai/doubao",provider:"openai",apiBase:"https://ark.cn-beijing.volces.com/api/v3/chat/completions",model:""},{title:"豆包",route:"/app/doubao",provider:"openai",apiBase:"https://ark.cn-beijing.volces.com/api/v3/chat/completions",model:""},{title:"豆包",route:"/api/doubao",provider:"openai",apiBase:"https://ark.cn-beijing.volces.com/api/v3/chat/completions",model:""},{title:"百川",route:"/openai/baichuan",provider:"openai",apiBase:"https://api.baichuan-ai.com/v1/chat/completions",model:"Baichuan4"},{title:"百川",route:"/app/baichuan",provider:"openai",apiBase:"https://api.baichuan-ai.com/v1/chat/completions",model:"Baichuan4"},{title:"百川",route:"/api/baichuan",provider:"openai",apiBase:"https://api.baichuan-ai.com/v1/chat/completions",model:"Baichuan4"},{title:"minimax",route:"/openai/minimax",provider:"openai",apiBase:"https://api.minimax.chat/v1/text/chatcompletion_v2",model:"abab6.5-chat"},{title:"minimax",route:"/app/minimax",provider:"openai",apiBase:"https://api.minimax.chat/v1/text/chatcompletion_v2",model:"abab6.5-chat"},{title:"minimax",route:"/api/minimax",provider:"openai",apiBase:"https://api.minimax.chat/v1/text/chatcompletion_v2",model:"abab6.5-chat"},{title:"mistral",route:"/openai/mistral",provider:"openai",apiBase:"https://api.mistral.ai/v1/chat/completions",model:"mistral-small-latest"},{title:"mistral",route:"/app/mistral",provider:"openai",apiBase:"https://api.mistral.ai/v1/chat/completions",model:"mistral-small-latest"},{title:"mistral",route:"/api/mistral",provider:"openai",apiBase:"https://api.mistral.ai/v1/chat/completions",model:"mistral-small-latest"},{title:"mistral code",route:"/openai/mistral-code",provider:"openai",apiBase:"https://codestral.mistral.ai/v1/chat/completions",model:"codestral-latest"},{title:"mistral code",route:"/app/mistral-code",provider:"openai",apiBase:"https://codestral.mistral.ai/v1/chat/completions",model:"codestral-latest"},{title:"mistral code",route:"/api/mistral-code",provider:"openai",apiBase:"https://codestral.mistral.ai/v1/chat/completions",model:"codestral-latest"},{title:"moonshot",route:"/openai/moonshot",provider:"openai",apiBase:"https://api.moonshot.cn/v1/chat/completions",model:"moonshot-v1-8k"},{title:"moonshot",route:"/app/moonshot",provider:"openai",apiBase:"https://api.moonshot.cn/v1/chat/completions",model:"moonshot-v1-8k"},{title:"moonshot",route:"/api/moonshot",provider:"openai",apiBase:"https://api.moonshot.cn/v1/chat/completions",model:"moonshot-v1-8k"},{title:"spark-api-open",route:"/openai/spark-api-open",provider:"openai",apiBase:"https://spark-api-open.xf-yun.com/v1/chat/completions",model:"general"},{title:"spark-api-open",route:"/app/spark-api-open",provider:"openai",apiBase:"https://spark-api-open.xf-yun.com/v1/chat/completions",model:"general"},{title:"spark-api-open",route:"/api/spark-api-open",provider:"openai",apiBase:"https://spark-api-open.xf-yun.com/v1/chat/completions",model:"general"},{title:"fireworks",route:"/openai/fireworks",provider:"openai",apiBase:"https://api.fireworks.ai/inference/v1/chat/completions",model:"accounts/fireworks/models/llama-v3p1-405b-instruct"},{title:"fireworks",route:"/app/fireworks",provider:"openai",apiBase:"https://api.fireworks.ai/inference/v1/chat/completions",model:"accounts/fireworks/models/llama-v3p1-405b-instruct"},{title:"fireworks",route:"/api/fireworks",provider:"openai",apiBase:"https://api.fireworks.ai/inference/v1/chat/completions",model:"accounts/fireworks/models/llama-v3p1-405b-instruct"},{title:"x",route:"/openai/x",provider:"openai",apiBase:"https://api.x.ai/v1/chat/completions",model:"grok-2-1212"},{title:"x",route:"/app/x",provider:"openai",apiBase:"https://api.x.ai/v1/chat/completions",model:"grok-2-1212"},{title:"x",route:"/api/x",provider:"openai",apiBase:"https://api.x.ai/v1/chat/completions",model:"grok-2-1212"},{title:"azure",route:"/openai/azure",provider:"azure",model:"gpt-3.5-turbo"},{title:"azure",route:"/app/azure",provider:"azure",model:"gpt-3.5-turbo"},{title:"azure",route:"/api/azure",provider:"azure",model:"gpt-3.5-turbo"},{title:"coze_cn_api",route:"/openai/cozecn",provider:"coze",apiBase:"https://api.coze.cn/v3/chat",model:""},{title:"coze_cn_api",route:"/app/cozecn",provider:"coze",apiBase:"https://api.coze.cn/v3/chat",model:""},{title:"coze_cn_api",route:"/api/cozecn",provider:"coze",apiBase:"https://api.coze.cn/v3/chat",model:""},{title:"coze_com_api",route:"/openai/cozecom",provider:"coze",apiBase:"https://api.coze.com/v3/chat",model:""},{title:"coze_com_api",route:"/app/cozecom",provider:"coze",apiBase:"https://api.coze.com/v3/chat",model:""},{title:"coze_com_api",route:"/api/cozecom",provider:"coze",apiBase:"https://api.coze.com/v3/chat",model:""},{title:"coze.com",route:"/openai/coze-com",provider:"coze_com",model:""},{title:"coze.com",route:"/app/coze-com",provider:"coze_com",model:""},{title:"coze.com",route:"/api/coze-com",provider:"coze_com",model:""},{title:"coze.cn",route:"/openai/coze-cn",provider:"coze_cn",model:""},{title:"coze.cn",route:"/app/coze-cn",provider:"coze_cn",model:""},{title:"coze.cn",route:"/api/coze-cn",provider:"coze_cn",model:""},{title:"deepseek",route:"/openai/deepseek",provider:"deepseek",model:"deepseek-chat"},{title:"deepseek",route:"/app/deepseek",provider:"deepseek",model:"deepseek-chat"},{title:"deepseek",route:"/api/deepseek",provider:"deepseek",model:"deepseek-chat"},{title:"GitHub Copilot",route:"/openai/github-copilot",provider:"github_copilot",model:"gpt-4"},{title:"GitHub Copilot",route:"/app/github-copilot",provider:"github_copilot",model:"gpt-4"},{title:"GitHub Copilot",route:"/api/github-copilot",provider:"github_copilot",model:"gpt-4"},{title:"chatglm.cn",route:"/openai/chatglm",provider:"chatglm",model:"65940acff94777010aa6b796"},{title:"chatglm.cn",route:"/app/chatglm",provider:"chatglm",model:"65940acff94777010aa6b796"},{title:"chatglm.cn",route:"/api/chatglm",provider:"chatglm",model:"65940acff94777010aa6b796"},{title:"通译千问",route:"/openai/tongyi",provider:"tongyi",model:""},{title:"通译千问",route:"/app/tongyi",provider:"tongyi",model:""},{title:"通译千问",route:"/api/tongyi",provider:"tongyi",model:""},{title:"万知",route:"/openai/wanzhi",provider:"wanzhi",model:"LING"},{title:"万知",route:"/app/wanzhi",provider:"wanzhi",model:"LING"},{title:"万知",route:"/api/wanzhi",provider:"wanzhi",model:"LING"},{title:"huggingface",route:"/openai/huggingface",provider:"huggingface",model:""},{title:"huggingface",route:"/app/huggingface",provider:"huggingface",model:""},{title:"huggingface",route:"/api/huggingface",provider:"huggingface",model:""},{title:"ernie",route:"/openai/ernie",provider:"ernie",model:""},{title:"ernie",route:"/app/ernie",provider:"ernie",model:""},{title:"ernie",route:"/api/ernie",provider:"ernie",model:""},{title:"hunyuan",route:"/openai/hunyuan",provider:"hunyuan",model:""},{title:"hunyuan",route:"/app/hunyuan",provider:"hunyuan",model:""},{title:"hunyuan",route:"/api/hunyuan",provider:"hunyuan",model:""},{title:"vercel",route:"/openai/vercel",provider:"vercel",model:""},{title:"vercel",route:"/app/vercel",provider:"vercel",model:""},{title:"vercel",route:"/api/vercel",provider:"vercel",model:""},{title:"lmsys",route:"/openai/lmsys",provider:"lmsys",model:""},{title:"lmsys",route:"/app/lmsys",provider:"lmsys",model:""},{title:"lmsys",route:"/api/lmsys",provider:"lmsys",model:""},{title:"spark",route:"/openai/spark",provider:"spark",model:""},{title:"spark",route:"/app/spark",provider:"spark",model:""},{title:"spark",route:"/api/spark",provider:"spark",model:""},{title:"cloudflare",route:"/openai/cloudflare",provider:"cloudflare",model:""},{title:"cloudflare",route:"/app/cloudflare",provider:"cloudflare",model:""},{title:"cloudflare",route:"/api/cloudflare",provider:"cloudflare",model:""},{title:"mistral.ai",route:"/openai/mistral-ai",provider:"mistral_ai",model:""},{title:"mistral.ai",route:"/app/mistral-ai",provider:"mistral_ai",model:""},{title:"mistral.ai",route:"/api/mistral-ai",provider:"mistral_ai",model:""},{title:"claude",route:"/openai/claude",provider:"claude",model:""},{title:"claude",route:"/app/claude",provider:"claude",model:""},{title:"claude",route:"/api/claude",provider:"claude",model:""},{title:"anthropic",route:"/openai/anthropic",provider:"anthropic",model:""},{title:"anthropic",route:"/app/anthropic",provider:"anthropic",model:""},{title:"anthropic",route:"/api/anthropic",provider:"anthropic",model:""},{title:"cohere",route:"/openai/cohere",provider:"cohere",model:""},{title:"cohere",route:"/app/cohere",provider:"cohere",model:""},{title:"cohere",route:"/api/cohere",provider:"cohere",model:""},{title:"gemini",route:"/openai/gemini",provider:"gemini",model:"gemini-1.5-flash"},{title:"gemini",route:"/app/gemini",provider:"gemini",model:"gemini-1.5-flash"},{title:"gemini",route:"/api/gemini",provider:"gemini",model:"gemini-1.5-flash"},{title:"kimi",route:"/openai/kimi",provider:"kimi",model:""},{title:"kimi",route:"/app/kimi",provider:"kimi",model:""},{title:"kimi",route:"/api/kimi",provider:"kimi",model:""},{title:"gemini vertex",route:"/openai/gemini-vertex",provider:"gemini_vertex",model:""},{title:"gemini vertex",route:"/app/gemini-vertex",provider:"gemini_vertex",model:""},{title:"gemini vertex",route:"/api/gemini-vertex",provider:"gemini_vertex",model:""},{title:"anthropic vertex",route:"/openai/anthropic-vertex",provider:"anthropic_vertex",model:""},{title:"anthropic vertex",route:"/app/anthropic-vertex",provider:"anthropic_vertex",model:""},{title:"anthropic vertex",route:"/api/anthropic-vertex",provider:"anthropic_vertex",model:""},{title:"mistralai vertex",route:"/openai/mistralai-vertex",provider:"mistralai_vertex",model:""},{title:"mistralai vertex",route:"/app/mistralai-vertex",provider:"mistralai_vertex",model:""},{title:"mistralai vertex",route:"/api/mistralai-vertex",provider:"mistralai_vertex",model:""},{title:"openai vertex",route:"/openai/openai-vertex",provider:"openai_vertex",model:""},{title:"openai vertex",route:"/app/openai-vertex",provider:"openai_vertex",model:""},{title:"openai vertex",route:"/api/openai-vertex",provider:"openai_vertex",model:""},{title:"chatgpt.com",route:"/openai/chatgpt-com",provider:"chatgpt",model:"auto"},{title:"chatgpt.com",route:"/app/chatgpt-com",provider:"chatgpt",model:"auto"},{title:"chatgpt.com",route:"/api/chatgpt-com",provider:"chatgpt",model:"auto"},{title:"lyihub.com",route:"/openai/lyihub",provider:"lyihub",model:""},{title:"lyihub.com",route:"/app/lyihub",provider:"lyihub",model:""},{title:"lyihub.com",route:"/api/lyihub",provider:"lyihub",model:""},{title:"deepinfra",route:"/openai/deepinfra",provider:"deepinfra",model:""},{title:"deepinfra",route:"/app/deepinfra",provider:"deepinfra",model:""},{title:"deepinfra",route:"/api/deepinfra",provider:"deepinfra",model:""},{title:"replicate",route:"/openai/replicate",provider:"replicate",model:""},{title:"replicate",route:"/app/replicate",provider:"replicate",model:""},{title:"replicate",route:"/api/replicate",provider:"replicate",model:""},{title:"vecmul",route:"/openai/vecmul",provider:"vecmul",model:""},{title:"vecmul",route:"/app/vecmul",provider:"vecmul",model:""},{title:"vecmul",route:"/api/vecmul",provider:"vecmul",model:""},{title:"magai",route:"/openai/magai",provider:"magai",model:""},{title:"magai",route:"/app/magai",provider:"magai",model:""},{title:"magai",route:"/api/magai",provider:"magai",model:""},{title:"blackbox",route:"/openai/blackbox",provider:"blackbox",model:""},{title:"blackbox",route:"/app/blackbox",provider:"blackbox",model:""},{title:"blackbox",route:"/api/blackbox",provider:"blackbox",model:""},{title:"cursor",route:"/openai/cursor",provider:"cursor",model:""},{title:"cursor",route:"/app/cursor",provider:"cursor",model:""},{title:"cursor",route:"/api/cursor",provider:"cursor",model:""},{title:"zed",route:"/openai/zed",provider:"zed",model:""},{title:"zed",route:"/app/zed",provider:"zed",model:""},{title:"zed",route:"/api/zed",provider:"zed",model:""},{title:"pieces",route:"/openai/pieces",provider:"pieces",model:""},{title:"pieces",route:"/app/pieces",provider:"pieces",model:""},{title:"pieces",route:"/api/pieces",provider:"pieces",model:""},{title:"qodo",route:"/openai/qodo",provider:"qodo",model:""},{title:"qodo",route:"/app/qodo",provider:"qodo",model:""},{title:"qodo",route:"/api/qodo",provider:"qodo",model:""},{title:"genspark",route:"/openai/genspark",provider:"genspark",model:""},{title:"genspark",route:"/app/genspark",provider:"genspark",model:""},{title:"genspark",route:"/api/genspark",provider:"genspark",model:""},{title:"deepseek.com",route:"/openai/deepseek-com",provider:"deepseek_com",model:"deepseek-chat"},{title:"deepseek.com",route:"/app/deepseek-com",provider:"deepseek_com",model:"deepseek-chat"},{title:"deepseek.com",route:"/api/deepseek-com",provider:"deepseek_com",model:"deepseek-chat"},{title:"qwenlm",route:"/openai/qwenlm",provider:"qwenlm",model:""},{title:"qwenlm",route:"/app/qwenlm",provider:"qwenlm",model:""},{title:"qwenlm",route:"/api/qwenlm",provider:"qwenlm",model:""},{title:"genspark.image",route:"/openai/genspark-image",provider:"genspark_image",model:""},{title:"genspark.image",route:"/app/genspark-image",provider:"genspark_image",model:""},{title:"genspark.image",route:"/api/genspark-image",provider:"genspark_image",model:""},{title:"imagefx",route:"/openai/imagefx",provider:"imagefx",model:""},{title:"imagefx",route:"/app/imagefx",provider:"imagefx",model:""},{title:"imagefx",route:"/api/imagefx",provider:"imagefx",model:""},{title:"bing.image",route:"/openai/bing-image",provider:"bing_image",model:""},{title:"bing.image",route:"/app/bing-image",provider:"bing_image",model:""},{title:"bing.image",route:"/api/bing-image",provider:"bing_image",model:""},{title:"siliconflow.image",route:"/openai/siliconflow-image",provider:"siliconflow_image",model:""},{title:"siliconflow.image",route:"/app/siliconflow-image",provider:"siliconflow_image",model:""},{title:"siliconflow.image",route:"/api/siliconflow-image",provider:"siliconflow_image",model:""},{title:"cloudflare.image",route:"/openai/cloudflare-image",provider:"cloudflare_image",model:""},{title:"cloudflare.image",route:"/app/cloudflare-image",provider:"cloudflare_image",model:""},{title:"cloudflare.image",route:"/api/cloudflare-image",provider:"cloudflare_image",model:""},{title:"designer",route:"/openai/designer",provider:"designer",model:""},{title:"designer",route:"/app/designer",provider:"designer",model:""},{title:"designer",route:"/api/designer",provider:"designer",model:""},{title:"grok",route:"/openai/grok",provider:"grok",model:""},{title:"grok",route:"/app/grok",provider:"grok",model:""},{title:"grok",route:"/api/grok",provider:"grok",model:""},{title:"n",route:"/openai/n",provider:"n",model:""},{title:"n",route:"/app/n",provider:"n",model:""},{title:"n",route:"/api/n",provider:"n",model:""},{title:"firefly",route:"/openai/firefly",provider:"firefly",model:""},{title:"firefly",route:"/app/firefly",provider:"firefly",model:""},{title:"firefly",route:"/api/firefly",provider:"firefly",model:""},{title:"yuanbao",route:"/openai/yuanbao",provider:"yuanbao",model:""},{title:"yuanbao",route:"/app/yuanbao",provider:"yuanbao",model:""},{title:"yuanbao",route:"/api/yuanbao",provider:"yuanbao",model:""}]},$e={prefix:"NITRO_",altPrefix:Ge.nitro.envPrefix??e.env.NITRO_ENV_PREFIX??"_",envExpansion:Ge.nitro.envExpansion??e.env.NITRO_ENV_EXPANSION??!1},Qe=_deepFreeze(function applyEnv(t,s,o=""){for(const a in t){const i=o?`${o}_${a}`:a,n=getEnv(i,s);_isObject(t[a])?_isObject(n)?(t[a]={...t[a],...n},applyEnv(t[a],s,i)):void 0===n?applyEnv(t[a],s,i):t[a]=n??t[a]:t[a]=n??t[a],s.envExpansion&&"string"==typeof t[a]&&(t[a]=t[a].replace(Fe,((t,s)=>e.env[s]||t)))}return t}(klona(Ge),$e));function useRuntimeConfig(e){return Qe}function _deepFreeze(e){const t=Object.getOwnPropertyNames(e);for(const s of t){const t=e[s];t&&"object"==typeof t&&_deepFreeze(t)}return Object.freeze(e)}_deepFreeze(klona(Xe)),new Proxy(Object.create(null),{get:(e,t)=>{console.warn("Please use `useRuntimeConfig()` instead of accessing config directly.");const s=useRuntimeConfig();if(t in s)return s[t]}});const Je="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof global?global:{},Ve="__unctx__",Ye=Je[Ve]||(Je[Ve]=function(e={}){const t={};return{get:(s,o={})=>(t[s]||(t[s]=function(e={}){let t,s=!1;const checkConflict=e=>{if(t&&t!==e)throw new Error("Context conflict")};let o;if(e.asyncContext){const t=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;t?o=new t:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const _getCurrentInstance=()=>{if(o){const e=o.getStore();if(void 0!==e)return e}return t};return{use:()=>{const e=_getCurrentInstance();if(void 0===e)throw new Error("Context is not available");return e},tryUse:()=>_getCurrentInstance(),set:(e,o)=>{o||checkConflict(e),t=e,s=!0},unset:()=>{t=void 0,s=!1},call:(e,a)=>{checkConflict(e),t=e;try{return o?o.run(e,a):a()}finally{s||(t=void 0)}},async callAsync(e,a){t=e;const onRestore=()=>{t=e},onLeave=()=>t===e?onRestore:void 0;tt.add(onLeave);try{const i=o?o.run(e,a):a();return s||(t=void 0),await i}finally{tt.delete(onLeave)}}}}({...e,...o})),t[s])}}()),et="__unctx_async_handlers__",tt=Je[et]||(Je[et]=new Set);((e,t={})=>{Ye.get(e,t)})("nitro-app",{asyncContext:void 0,AsyncLocalStorage:void 0});const rt=toRouteMatcher(createRouter$1({routes:useRuntimeConfig().nitro.routeRules}));function createRouteRulesHandler(e){return ue((t=>{const s=function(e){e.context._nitro=e.context._nitro||{},e.context._nitro.routeRules||(e.context._nitro.routeRules=getRouteRulesForPath(withoutBase(e.path.split("?")[0],useRuntimeConfig().app.baseURL)));return e.context._nitro.routeRules}(t);if(s.headers&&setHeaders(t,s.headers),s.redirect){let e=s.redirect.to;if(e.endsWith("/**")){let o=t.path;const a=s.redirect._redirectStripBase;a&&(o=withoutBase(o,a)),e=joinURL(e.slice(0,-3),o)}else if(t.path.includes("?")){e=withQuery(e,getQuery$1(t.path))}return function(e,t,s=302){return e.node.res.statusCode=sanitizeStatusCode(s,e.node.res.statusCode),e.node.res.setHeader("location",t),send(e,`<!DOCTYPE html><html><head><meta http-equiv="refresh" content="0; url=${t.replace(/"/g,"%22")}"></head></html>`,ie.html)}(t,e,s.redirect.statusCode)}if(s.proxy){let o=s.proxy.to;if(o.endsWith("/**")){let e=t.path;const a=s.proxy._proxyStripBase;a&&(e=withoutBase(e,a)),o=joinURL(o.slice(0,-3),e)}else if(t.path.includes("?")){o=withQuery(o,getQuery$1(t.path))}return proxyRequest(t,o,{fetch:e.localFetch,...s.proxy})}}))}function getRouteRulesForPath(e){return W({},...rt.matchAll(e).reverse())}const st=function(){const e=useRuntimeConfig(),t=new Hookable,captureError=(e,s={})=>{const o=t.callHookParallel("error",e,s).catch((e=>{console.error("Error while capturing another error",e)}));if(s.event&&isEvent(s.event)){const t=s.event.context.nitro?.errors;t&&t.push({error:e,context:s}),s.event.waitUntil&&s.event.waitUntil(o)}},s=createApp({debug:destr(!1),onError:(e,t)=>(captureError(e,{event:t,tags:["request"]}),errorHandler(e,t)),onRequest:async e=>{await st.hooks.callHook("request",e).catch((t=>{captureError(t,{event:e,tags:["request"]})}))},onBeforeResponse:async(e,t)=>{await st.hooks.callHook("beforeResponse",e,t).catch((t=>{captureError(t,{event:e,tags:["request","response"]})}))},onAfterResponse:async(e,t)=>{await st.hooks.callHook("afterResponse",e,t).catch((t=>{captureError(t,{event:e,tags:["request","response"]})}))}}),o=function(e={}){const t=createRouter$1({}),s={};let o;const a={},addRoute=(e,o,i)=>{let n=s[e];if(n||(s[e]=n={path:e,handlers:{}},t.insert(e,n)),Array.isArray(i))for(const t of i)addRoute(e,o,t);else n.handlers[i]=toEventHandler(o,0,e);return a};a.use=a.add=(e,t,s)=>addRoute(e,t,s||"all");for(const e of de)a[e]=(t,s)=>a.add(t,s,e);const matchHandler=(e="/",s="get")=>{const a=e.indexOf("?");-1!==a&&(e=e.slice(0,Math.max(0,a)));const i=t.lookup(e);if(!i||!i.handlers)return{error:createError$1({statusCode:404,name:"Not Found",statusMessage:`Cannot find any route matching ${e||"/"}.`})};let n=i.handlers[s]||i.handlers.all;if(!n){o||(o=toRouteMatcher(t));const a=o.matchAll(e).reverse();for(const e of a){if(e.handlers[s]){n=e.handlers[s],i.handlers[s]=i.handlers[s]||n;break}if(e.handlers.all){n=e.handlers.all,i.handlers.all=i.handlers.all||n;break}}}return n?{matched:i,handler:n}:{error:createError$1({statusCode:405,name:"Method Not Allowed",statusMessage:`Method ${s} is not allowed on this route.`})}},i=e.preemptive||e.preemtive;return a.handler=ue((e=>{const t=matchHandler(e.path,e.method.toLowerCase());if("error"in t){if(i)throw t.error;return}e.context.matchedRoute=t.matched;const s=t.matched.params||{};return e.context.params=s,Promise.resolve(t.handler(e)).then((e=>void 0===e&&i?null:e))})),a.handler.__resolve__=async e=>{e=withLeadingSlash(e);const t=matchHandler(e);if("error"in t)return;let s={route:t.matched.path,handler:t.handler};if(t.handler.__resolve__){const o=await t.handler.__resolve__(e);if(!o)return;s={...s,...o}}return s},a}({preemptive:!0}),a=(i=toNodeListener(s),function(e){const t=new IncomingMessage,s=new ServerResponse(t);if(t.url=e.url||"/",t.method=e.method||"GET",t.headers={},e.headers){const s="function"==typeof e.headers.entries?e.headers.entries():Object.entries(e.headers);for(const[e,o]of s)o&&(t.headers[e.toLowerCase()]=o)}return t.headers.host=t.headers.host||e.host||"localhost",t.connection.encrypted=t.connection.encrypted||"https"===e.protocol,t.body=e.body||null,t.__unenv__=e.context,i(t,s).then((()=>{let e=s._data;(ze.has(s.statusCode)||"HEAD"===t.method.toUpperCase())&&(e=null,delete s._headers["content-length"]);const o={body:e,headers:s._headers,status:s.statusCode,statusText:s.statusMessage};return t.destroy(),s.destroy(),o}))});var i;const n=function(e,t=global.fetch){return async function(s,o){const a=s.toString();if(!a.startsWith("/"))return t(a,o);try{const t=await e({url:a,...o});return new Response(t.body,{status:t.status,statusText:t.statusText,headers:Object.fromEntries(Object.entries(t.headers).map((([e,t])=>[e,Array.isArray(t)?t.join(","):String(t)||""])))})}catch(e){return new Response(e.toString(),{status:Number.parseInt(e.statusCode||e.code)||500,statusText:e.statusText})}}}(a,globalThis.fetch),localFetch=(e,t)=>n(e,t).then((e=>function(e){return e.headers.has("set-cookie")?new Response(e.body,{status:e.status,statusText:e.statusText,headers:normalizeCookieHeaders(e.headers)}):e}(e))),c=createFetch$1({fetch:localFetch,Headers:je,defaults:{baseURL:e.app.baseURL}});globalThis.$fetch=c,s.use(createRouteRulesHandler({localFetch:localFetch})),s.use(ue((e=>{e.context.nitro=e.context.nitro||{errors:[]};const t=e.node.req?.__unenv__;t&&Object.assign(e.context,t),e.fetch=(t,s)=>fetchWithEvent(e,t,s,{fetch:localFetch}),e.$fetch=(t,s)=>fetchWithEvent(e,t,s,{fetch:c}),e.waitUntil=s=>{e.context.nitro._waitUntilPromises||(e.context.nitro._waitUntilPromises=[]),e.context.nitro._waitUntilPromises.push(s),t?.waitUntil&&t.waitUntil(s)},e.captureError=(t,s)=>{captureError(t,{event:e,...s})}})));for(const t of Ke){let a=t.lazy?lazyEventHandler(t.handler):t.handler;if(t.middleware||!t.route){const o=(e.app.baseURL+(t.route||"/")).replace(/\/+/g,"/");s.use(o,a)}else{const e=getRouteRulesForPath(t.route.replace(/:\w+|\*\*/g,"_"));e.cache&&(a=cachedEventHandler(a,{group:"nitro/routes",...e.cache})),o.use(t.route,a,t.method)}}return s.use(e.app.baseURL,o.handler),{hooks:t,h3App:s,router:o,localCall:a,localFetch:localFetch,captureError:captureError}}();function useNitroApp(){return st}!function(e){for(const t of Ce)try{t(e)}catch(t){throw e.captureError(t,{tags:["plugin"]}),t}}(st);function GracefulShutdown(s,o){o=o||{};const a=Object.assign({signals:"SIGINT SIGTERM",timeout:3e4,development:!1,forceExit:!0,onShutdown:e=>Promise.resolve(e),preShutdown:e=>Promise.resolve(e)},o);let i=!1;const n={};let c=0;const l={};let p=0,u=!1,d=!1;const h=a.signals.split(" ").map((e=>e.trim())).filter((e=>e.length>0)),f=function(){let e=!1;return(t,s,o)=>{function call(){if(!e)return e=!0,Reflect.apply(o,this,arguments)}for(const e of s)t.on(e,call)}}();function destroy(e,s=!1){(e._isIdle&&i||s)&&(e.destroy(),e.server instanceof t.Server?delete n[e._connectionId]:delete l[e._connectionId])}function destroyAllConnections(e=!1){for(const t of Object.keys(n)){const s=n[t],o=s._httpMessage;o&&!e?o.headersSent||o.setHeader("connection","close"):destroy(s)}for(const t of Object.keys(l)){const s=l[t],o=s._httpMessage;o&&!e?o.headersSent||o.setHeader("connection","close"):destroy(s)}}function shutdown(t){if(a.development)return e.exit(0);function waitForReadyToShutDown(e){if(0===e)return a.timeout,Promise.resolve(!0);return 0===Object.keys(n).length&&0===Object.keys(l).length?Promise.resolve(!1):new Promise((t=>{setTimeout((()=>{t(waitForReadyToShutDown(e-1))}),250)}))}return i?Promise.resolve():a.preShutdown(t).then((()=>{i=!0,destroyAllConnections(),new Promise(((e,t)=>{s.close((s=>s?t(s):e(!0)))}))})).then((()=>waitForReadyToShutDown(a.timeout?Math.round(a.timeout/250):0))).then((e=>(e&&destroyAllConnections(e),a.onShutdown(t)))).then((function(){return d||(d=!0,a.finally&&function(e){const t=Object.prototype.toString.call(e);return/^\[object\s([A-Za-z]+)?Function]$/.test(t)}(a.finally)&&a.finally()),Promise.resolve()})).catch((e=>{const t="string"==typeof e?e:JSON.stringify(e);throw u=!0,t}))}return f(e,h,(t=>{shutdown(t).then((()=>{a.forceExit&&e.exit(u?1:0)})).catch((t=>{e.exit(1)}))})),s.on("request",((e,t)=>{e.socket._isIdle=!1,i&&!t.headersSent&&t.setHeader("connection","close"),t.on("finish",(()=>{e.socket._isIdle=!0,destroy(e.socket)}))})),s.on("connection",(e=>{if(i)e.destroy();else{const t=c++;e._isIdle=!0,e._connectionId=t,n[t]=e,e.once("close",(()=>{delete n[e._connectionId]}))}})),s.on("secureConnection",(e=>{if(i)e.destroy();else{const t=p++;e._isIdle=!0,e._connectionId=t,l[t]=e,e.once("close",(()=>{delete l[e._connectionId]}))}})),e.on("close",(()=>{})),function(){return shutdown("manual")}}const ot=e.env.NITRO_SSL_CERT,at=e.env.NITRO_SSL_KEY,it=useNitroApp(),nt=ot&&at?new a({key:at,cert:ot},toNodeListener(it.h3App)):new s(toNodeListener(it.h3App)),ct=destr(e.env.NITRO_PORT||e.env.PORT)||3e3,lt=e.env.NITRO_HOST||e.env.HOST,pt=e.env.NITRO_UNIX_SOCKET,ut=nt.listen(pt?{path:pt}:{port:ct,host:lt},(t=>{t&&(console.error(t),e.exit(1));const s=ot&&at?"https":"http",o=ut.address();if("string"==typeof o)return void console.log(`Listening on unix socket ${o}`);const a=(useRuntimeConfig().app.baseURL||"").replace(/\/$/,""),i=`${s}://${"IPv6"===o.family?`[${o.address}]`:o.address}:${o.port}${a}`;console.log(`Listening on ${i}`)}));e.on("unhandledRejection",(e=>_captureError(e,"unhandledRejection"))),e.on("uncaughtException",(e=>_captureError(e,"uncaughtException"))),function(t,s){const o={disabled:!!e.env.NITRO_SHUTDOWN_DISABLED,signals:(e.env.NITRO_SHUTDOWN_SIGNALS||"SIGTERM SIGINT").split(" ").map((e=>e.trim())),timeout:Number.parseInt(e.env.NITRO_SHUTDOWN_TIMEOUT||"",10)||3e4,forceExit:!e.env.NITRO_SHUTDOWN_NO_FORCE_EXIT};o.disabled||GracefulShutdown(t,{signals:o.signals.join(" "),timeout:o.timeout,forceExit:o.forceExit,onShutdown:async()=>{await new Promise((e=>{const t=setTimeout((()=>{console.warn("Graceful shutdown timeout, force exiting..."),e()}),o.timeout);s.hooks.callHook("close").catch((e=>{console.error(e)})).finally((()=>{clearTimeout(t),e()}))}))}})}(ut,it);const dt={};export{Re as $,re as a,getQuery as b,useStorage as c,defineEventHandler as d,createError as e,defineDriver as f,getRequestURL as g,createRequiredError as h,createStorage as i,joinKeys as j,dt as n,readBody as r,useRuntimeConfig as u}; diff --git a/.output/server/node_modules/@grpc/grpc-js/build/src/admin.js b/.output/server/node_modules/@grpc/grpc-js/build/src/admin.js index 9fd8e64347f0a4deb1012e6669f1bb30c1efdd26..6189c52c76d9fa1396d4d21b52ed5c77218fb1d9 100644 --- a/.output/server/node_modules/@grpc/grpc-js/build/src/admin.js +++ b/.output/server/node_modules/@grpc/grpc-js/build/src/admin.js @@ -16,16 +16,15 @@ * */ Object.defineProperty(exports, "__esModule", { value: true }); -exports.addAdminServicesToServer = exports.registerAdminService = void 0; +exports.registerAdminService = registerAdminService; +exports.addAdminServicesToServer = addAdminServicesToServer; const registeredAdminServices = []; function registerAdminService(getServiceDefinition, getHandlers) { registeredAdminServices.push({ getServiceDefinition, getHandlers }); } -exports.registerAdminService = registerAdminService; function addAdminServicesToServer(server) { for (const { getServiceDefinition, getHandlers } of registeredAdminServices) { server.addService(getServiceDefinition(), getHandlers()); } } -exports.addAdminServicesToServer = addAdminServicesToServer; //# sourceMappingURL=admin.js.map \ No newline at end of file diff --git a/.output/server/node_modules/@grpc/grpc-js/build/src/call-interface.js b/.output/server/node_modules/@grpc/grpc-js/build/src/call-interface.js index cdef46fb3a7674a648a4ca38b9e08a9808b13abc..2dd5de3eff6639d7b6d1837d05657deaac5c39e2 100644 --- a/.output/server/node_modules/@grpc/grpc-js/build/src/call-interface.js +++ b/.output/server/node_modules/@grpc/grpc-js/build/src/call-interface.js @@ -16,12 +16,12 @@ * */ Object.defineProperty(exports, "__esModule", { value: true }); -exports.InterceptingListenerImpl = exports.isInterceptingListener = void 0; +exports.InterceptingListenerImpl = void 0; +exports.isInterceptingListener = isInterceptingListener; function isInterceptingListener(listener) { return (listener.onReceiveMetadata !== undefined && listener.onReceiveMetadata.length === 1); } -exports.isInterceptingListener = isInterceptingListener; class InterceptingListenerImpl { constructor(listener, nextListener) { this.listener = listener; diff --git a/.output/server/node_modules/@grpc/grpc-js/build/src/call-number.js b/.output/server/node_modules/@grpc/grpc-js/build/src/call-number.js index a694f0f5a42b6ff4894252b9b6ed102dce57af9a..ed8bcdfcb15ee7c91b086da19153b48fbd0e5e31 100644 --- a/.output/server/node_modules/@grpc/grpc-js/build/src/call-number.js +++ b/.output/server/node_modules/@grpc/grpc-js/build/src/call-number.js @@ -16,10 +16,9 @@ * */ Object.defineProperty(exports, "__esModule", { value: true }); -exports.getNextCallNumber = void 0; +exports.getNextCallNumber = getNextCallNumber; let nextCallNumber = 0; function getNextCallNumber() { return nextCallNumber++; } -exports.getNextCallNumber = getNextCallNumber; //# sourceMappingURL=call-number.js.map \ No newline at end of file diff --git a/.output/server/node_modules/@grpc/grpc-js/build/src/call.js b/.output/server/node_modules/@grpc/grpc-js/build/src/call.js index 029f679e6ecb134bd01027fadec81d28619c406c..0847a4b9c3085abd9fcfd875f2eb7b6b75366b13 100644 --- a/.output/server/node_modules/@grpc/grpc-js/build/src/call.js +++ b/.output/server/node_modules/@grpc/grpc-js/build/src/call.js @@ -16,7 +16,8 @@ * */ Object.defineProperty(exports, "__esModule", { value: true }); -exports.ClientDuplexStreamImpl = exports.ClientWritableStreamImpl = exports.ClientReadableStreamImpl = exports.ClientUnaryCallImpl = exports.callErrorFromStatus = void 0; +exports.ClientDuplexStreamImpl = exports.ClientWritableStreamImpl = exports.ClientReadableStreamImpl = exports.ClientUnaryCallImpl = void 0; +exports.callErrorFromStatus = callErrorFromStatus; const events_1 = require("events"); const stream_1 = require("stream"); const constants_1 = require("./constants"); @@ -32,7 +33,6 @@ function callErrorFromStatus(status, callerStack) { const stack = `${error.stack}\nfor call at\n${callerStack}`; return Object.assign(new Error(message), status, { stack }); } -exports.callErrorFromStatus = callErrorFromStatus; class ClientUnaryCallImpl extends events_1.EventEmitter { constructor() { super(); diff --git a/.output/server/node_modules/@grpc/grpc-js/build/src/channel-credentials.js b/.output/server/node_modules/@grpc/grpc-js/build/src/channel-credentials.js index f9ab2093466cf654225b1cbe22fd2de6dbf81585..b6ad33cb214ba2efb6c815908e941a7423310ecf 100644 --- a/.output/server/node_modules/@grpc/grpc-js/build/src/channel-credentials.js +++ b/.output/server/node_modules/@grpc/grpc-js/build/src/channel-credentials.js @@ -16,7 +16,8 @@ * */ Object.defineProperty(exports, "__esModule", { value: true }); -exports.createCertificateProviderChannelCredentials = exports.ChannelCredentials = void 0; +exports.ChannelCredentials = void 0; +exports.createCertificateProviderChannelCredentials = createCertificateProviderChannelCredentials; const tls_1 = require("tls"); const call_credentials_1 = require("./call-credentials"); const tls_helpers_1 = require("./tls-helpers"); @@ -237,7 +238,6 @@ class CertificateProviderChannelCredentialsImpl extends ChannelCredentials { function createCertificateProviderChannelCredentials(caCertificateProvider, identityCertificateProvider, verifyOptions) { return new CertificateProviderChannelCredentialsImpl(caCertificateProvider, identityCertificateProvider, verifyOptions !== null && verifyOptions !== void 0 ? verifyOptions : null); } -exports.createCertificateProviderChannelCredentials = createCertificateProviderChannelCredentials; class ComposedChannelCredentialsImpl extends ChannelCredentials { constructor(channelCredentials, callCreds) { super(callCreds); diff --git a/.output/server/node_modules/@grpc/grpc-js/build/src/channel-options.js b/.output/server/node_modules/@grpc/grpc-js/build/src/channel-options.js index b1701d650b1c60949a8e4e08b2e7840d3ed16003..4126f64f4e8f7d257e527ae30901ce90f6a2fc37 100644 --- a/.output/server/node_modules/@grpc/grpc-js/build/src/channel-options.js +++ b/.output/server/node_modules/@grpc/grpc-js/build/src/channel-options.js @@ -16,7 +16,8 @@ * */ Object.defineProperty(exports, "__esModule", { value: true }); -exports.channelOptionsEqual = exports.recognizedOptions = void 0; +exports.recognizedOptions = void 0; +exports.channelOptionsEqual = channelOptionsEqual; /** * This is for checking provided options at runtime. This is an object for * easier membership checking. @@ -67,5 +68,4 @@ function channelOptionsEqual(options1, options2) { } return true; } -exports.channelOptionsEqual = channelOptionsEqual; //# sourceMappingURL=channel-options.js.map \ No newline at end of file diff --git a/.output/server/node_modules/@grpc/grpc-js/build/src/channelz.js b/.output/server/node_modules/@grpc/grpc-js/build/src/channelz.js index 2c736c1af828e9814ba962362946a983d8259014..69a01a526de403dd9d31db65cc57d06266d11fa1 100644 --- a/.output/server/node_modules/@grpc/grpc-js/build/src/channelz.js +++ b/.output/server/node_modules/@grpc/grpc-js/build/src/channelz.js @@ -16,7 +16,11 @@ * */ Object.defineProperty(exports, "__esModule", { value: true }); -exports.setup = exports.getChannelzServiceDefinition = exports.getChannelzHandlers = exports.unregisterChannelzRef = exports.registerChannelzSocket = exports.registerChannelzServer = exports.registerChannelzSubchannel = exports.registerChannelzChannel = exports.ChannelzCallTrackerStub = exports.ChannelzCallTracker = exports.ChannelzChildrenTrackerStub = exports.ChannelzChildrenTracker = exports.ChannelzTrace = exports.ChannelzTraceStub = void 0; +exports.registerChannelzSocket = exports.registerChannelzServer = exports.registerChannelzSubchannel = exports.registerChannelzChannel = exports.ChannelzCallTrackerStub = exports.ChannelzCallTracker = exports.ChannelzChildrenTrackerStub = exports.ChannelzChildrenTracker = exports.ChannelzTrace = exports.ChannelzTraceStub = void 0; +exports.unregisterChannelzRef = unregisterChannelzRef; +exports.getChannelzHandlers = getChannelzHandlers; +exports.getChannelzServiceDefinition = getChannelzServiceDefinition; +exports.setup = setup; const net_1 = require("net"); const ordered_map_1 = require("@js-sdsl/ordered-map"); const connectivity_state_1 = require("./connectivity-state"); @@ -217,7 +221,6 @@ exports.registerChannelzSocket = generateRegisterFn("socket" /* EntityTypes.sock function unregisterChannelzRef(ref) { entityMaps[ref.kind].eraseElementByKey(ref.id); } -exports.unregisterChannelzRef = unregisterChannelzRef; /** * Parse a single section of an IPv6 address as two bytes * @param addressSection A hexadecimal string of length up to 4 @@ -553,7 +556,6 @@ function getChannelzHandlers() { GetServerSockets, }; } -exports.getChannelzHandlers = getChannelzHandlers; let loadedChannelzDefinition = null; function getChannelzServiceDefinition() { if (loadedChannelzDefinition) { @@ -576,9 +578,7 @@ function getChannelzServiceDefinition() { channelzGrpcObject.grpc.channelz.v1.Channelz.service; return loadedChannelzDefinition; } -exports.getChannelzServiceDefinition = getChannelzServiceDefinition; function setup() { (0, admin_1.registerAdminService)(getChannelzServiceDefinition, getChannelzHandlers); } -exports.setup = setup; //# sourceMappingURL=channelz.js.map \ No newline at end of file diff --git a/.output/server/node_modules/@grpc/grpc-js/build/src/client-interceptors.js b/.output/server/node_modules/@grpc/grpc-js/build/src/client-interceptors.js index 76352e9c252b57674de8492a33075103387d6bca..5334866bb99ba5348e9edd5b796d94830400d4ee 100644 --- a/.output/server/node_modules/@grpc/grpc-js/build/src/client-interceptors.js +++ b/.output/server/node_modules/@grpc/grpc-js/build/src/client-interceptors.js @@ -16,7 +16,8 @@ * */ Object.defineProperty(exports, "__esModule", { value: true }); -exports.getInterceptingCall = exports.InterceptingCall = exports.RequesterBuilder = exports.ListenerBuilder = exports.InterceptorConfigurationError = void 0; +exports.InterceptingCall = exports.RequesterBuilder = exports.ListenerBuilder = exports.InterceptorConfigurationError = void 0; +exports.getInterceptingCall = getInterceptingCall; const metadata_1 = require("./metadata"); const call_interface_1 = require("./call-interface"); const constants_1 = require("./constants"); @@ -424,5 +425,4 @@ methodDefinition, options, channel) { }, (finalOptions) => getBottomInterceptingCall(channel, finalOptions, methodDefinition)); return getCall(interceptorOptions); } -exports.getInterceptingCall = getInterceptingCall; //# sourceMappingURL=client-interceptors.js.map \ No newline at end of file diff --git a/.output/server/node_modules/@grpc/grpc-js/build/src/control-plane-status.js b/.output/server/node_modules/@grpc/grpc-js/build/src/control-plane-status.js index dc41cb2b2d66acd501010e10fcf3913f97224d74..5d55796ba0f4f77e42ecb7dd21363f612f9391bf 100644 --- a/.output/server/node_modules/@grpc/grpc-js/build/src/control-plane-status.js +++ b/.output/server/node_modules/@grpc/grpc-js/build/src/control-plane-status.js @@ -16,7 +16,7 @@ * */ Object.defineProperty(exports, "__esModule", { value: true }); -exports.restrictControlPlaneStatusCode = void 0; +exports.restrictControlPlaneStatusCode = restrictControlPlaneStatusCode; const constants_1 = require("./constants"); const INAPPROPRIATE_CONTROL_PLANE_CODES = [ constants_1.Status.OK, @@ -39,5 +39,4 @@ function restrictControlPlaneStatusCode(code, details) { return { code, details }; } } -exports.restrictControlPlaneStatusCode = restrictControlPlaneStatusCode; //# sourceMappingURL=control-plane-status.js.map \ No newline at end of file diff --git a/.output/server/node_modules/@grpc/grpc-js/build/src/deadline.js b/.output/server/node_modules/@grpc/grpc-js/build/src/deadline.js index 3468c7cd79db74cc0027adb55d8a8b50fa44339d..8b4a39e1dccc42ccf1f6584a96788a2fb6dbadff 100644 --- a/.output/server/node_modules/@grpc/grpc-js/build/src/deadline.js +++ b/.output/server/node_modules/@grpc/grpc-js/build/src/deadline.js @@ -16,7 +16,11 @@ * */ Object.defineProperty(exports, "__esModule", { value: true }); -exports.formatDateDifference = exports.deadlineToString = exports.getRelativeTimeout = exports.getDeadlineTimeoutString = exports.minDeadline = void 0; +exports.minDeadline = minDeadline; +exports.getDeadlineTimeoutString = getDeadlineTimeoutString; +exports.getRelativeTimeout = getRelativeTimeout; +exports.deadlineToString = deadlineToString; +exports.formatDateDifference = formatDateDifference; function minDeadline(...deadlineList) { let minValue = Infinity; for (const deadline of deadlineList) { @@ -27,7 +31,6 @@ function minDeadline(...deadlineList) { } return minValue; } -exports.minDeadline = minDeadline; const units = [ ['m', 1], ['S', 1000], @@ -48,7 +51,6 @@ function getDeadlineTimeoutString(deadline) { } throw new Error('Deadline is too far in the future'); } -exports.getDeadlineTimeoutString = getDeadlineTimeoutString; /** * See https://nodejs.org/api/timers.html#settimeoutcallback-delay-args * In particular, "When delay is larger than 2147483647 or less than 1, the @@ -79,7 +81,6 @@ function getRelativeTimeout(deadline) { return timeout; } } -exports.getRelativeTimeout = getRelativeTimeout; function deadlineToString(deadline) { if (deadline instanceof Date) { return deadline.toISOString(); @@ -94,7 +95,6 @@ function deadlineToString(deadline) { } } } -exports.deadlineToString = deadlineToString; /** * Calculate the difference between two dates as a number of seconds and format * it as a string. @@ -105,5 +105,4 @@ exports.deadlineToString = deadlineToString; function formatDateDifference(startDate, endDate) { return ((endDate.getTime() - startDate.getTime()) / 1000).toFixed(3) + 's'; } -exports.formatDateDifference = formatDateDifference; //# sourceMappingURL=deadline.js.map \ No newline at end of file diff --git a/.output/server/node_modules/@grpc/grpc-js/build/src/duration.js b/.output/server/node_modules/@grpc/grpc-js/build/src/duration.js index cd6230b95793b1baab45acf97b27bef8a7ada24b..e75066dcc29f55cc580b55e207ad5124a1ab9958 100644 --- a/.output/server/node_modules/@grpc/grpc-js/build/src/duration.js +++ b/.output/server/node_modules/@grpc/grpc-js/build/src/duration.js @@ -16,22 +16,22 @@ * */ Object.defineProperty(exports, "__esModule", { value: true }); -exports.parseDuration = exports.isDuration = exports.durationToMs = exports.msToDuration = void 0; +exports.msToDuration = msToDuration; +exports.durationToMs = durationToMs; +exports.isDuration = isDuration; +exports.parseDuration = parseDuration; function msToDuration(millis) { return { seconds: (millis / 1000) | 0, nanos: ((millis % 1000) * 1000000) | 0, }; } -exports.msToDuration = msToDuration; function durationToMs(duration) { return (duration.seconds * 1000 + duration.nanos / 1000000) | 0; } -exports.durationToMs = durationToMs; function isDuration(value) { return typeof value.seconds === 'number' && typeof value.nanos === 'number'; } -exports.isDuration = isDuration; const durationRegex = /^(\d+)(?:\.(\d+))?s$/; function parseDuration(value) { const match = value.match(durationRegex); @@ -43,5 +43,4 @@ function parseDuration(value) { nanos: match[2] ? Number.parseInt(match[2].padEnd(9, '0'), 10) : 0 }; } -exports.parseDuration = parseDuration; //# sourceMappingURL=duration.js.map \ No newline at end of file diff --git a/.output/server/node_modules/@grpc/grpc-js/build/src/error.js b/.output/server/node_modules/@grpc/grpc-js/build/src/error.js index c842333cbf57bc4ed7463a93d0641d21be7065f8..5cb15398e5c4bbe8a9ee2dde64448cabb62b641a 100644 --- a/.output/server/node_modules/@grpc/grpc-js/build/src/error.js +++ b/.output/server/node_modules/@grpc/grpc-js/build/src/error.js @@ -16,7 +16,8 @@ * */ Object.defineProperty(exports, "__esModule", { value: true }); -exports.getErrorCode = exports.getErrorMessage = void 0; +exports.getErrorMessage = getErrorMessage; +exports.getErrorCode = getErrorCode; function getErrorMessage(error) { if (error instanceof Error) { return error.message; @@ -25,7 +26,6 @@ function getErrorMessage(error) { return String(error); } } -exports.getErrorMessage = getErrorMessage; function getErrorCode(error) { if (typeof error === 'object' && error !== null && @@ -37,5 +37,4 @@ function getErrorCode(error) { return null; } } -exports.getErrorCode = getErrorCode; //# sourceMappingURL=error.js.map \ No newline at end of file diff --git a/.output/server/node_modules/@grpc/grpc-js/build/src/http_proxy.js b/.output/server/node_modules/@grpc/grpc-js/build/src/http_proxy.js index b702b9a19dd00cbb1dbe9f469cf591822af7b18b..7545652f5037c46912555ad99a1c217250b3d5f5 100644 --- a/.output/server/node_modules/@grpc/grpc-js/build/src/http_proxy.js +++ b/.output/server/node_modules/@grpc/grpc-js/build/src/http_proxy.js @@ -16,7 +16,8 @@ * */ Object.defineProperty(exports, "__esModule", { value: true }); -exports.getProxiedConnection = exports.mapProxyName = void 0; +exports.mapProxyName = mapProxyName; +exports.getProxiedConnection = getProxiedConnection; const logging_1 = require("./logging"); const constants_1 = require("./constants"); const resolver_1 = require("./resolver"); @@ -149,7 +150,6 @@ function mapProxyName(target, options) { extraOptions: extraOptions, }; } -exports.mapProxyName = mapProxyName; function getProxiedConnection(address, channelOptions, connectionOptions) { var _a; if (!('grpc.http_connect_target' in channelOptions)) { @@ -262,5 +262,4 @@ function getProxiedConnection(address, channelOptions, connectionOptions) { request.end(); }); } -exports.getProxiedConnection = getProxiedConnection; //# sourceMappingURL=http_proxy.js.map \ No newline at end of file diff --git a/.output/server/node_modules/@grpc/grpc-js/build/src/internal-channel.js b/.output/server/node_modules/@grpc/grpc-js/build/src/internal-channel.js index 7b51bc111f7fecbb4a27dec1eb10e226e3948aac..6e8d36cb198a4c6f39d5faf757ea3b27c76dbdb5 100644 --- a/.output/server/node_modules/@grpc/grpc-js/build/src/internal-channel.js +++ b/.output/server/node_modules/@grpc/grpc-js/build/src/internal-channel.js @@ -56,9 +56,12 @@ class ChannelSubchannelWrapper extends subchannel_interface_1.BaseSubchannelWrap this.subchannelStateListener = (subchannel, previousState, newState, keepaliveTime) => { channel.throttleKeepalive(keepaliveTime); }; - childSubchannel.addConnectivityStateListener(this.subchannelStateListener); } ref() { + if (this.refCount === 0) { + this.child.addConnectivityStateListener(this.subchannelStateListener); + this.channel.addWrappedSubchannel(this); + } this.child.ref(); this.refCount += 1; } @@ -86,9 +89,29 @@ class ShutdownPicker { }; } } +class ChannelzInfoTracker { + constructor(target) { + this.target = target; + this.trace = new channelz_1.ChannelzTrace(); + this.callTracker = new channelz_1.ChannelzCallTracker(); + this.childrenTracker = new channelz_1.ChannelzChildrenTracker(); + this.state = connectivity_state_1.ConnectivityState.IDLE; + } + getChannelzInfoCallback() { + return () => { + return { + target: this.target, + state: this.state, + trace: this.trace, + callTracker: this.callTracker, + children: this.childrenTracker.getChildLists() + }; + }; + } +} class InternalChannel { constructor(target, credentials, options) { - var _a, _b, _c, _d, _e, _f, _g, _h; + var _a, _b, _c, _d, _e, _f; this.credentials = credentials; this.options = options; this.connectivityState = connectivity_state_1.ConnectivityState.IDLE; @@ -100,6 +123,15 @@ class InternalChannel { this.configSelectionQueue = []; this.pickQueue = []; this.connectivityStateWatchers = []; + /** + * This timer does not do anything on its own. Its purpose is to hold the + * event loop open while there are any pending calls for the channel that + * have not yet been assigned to specific subchannels. In other words, + * the invariant is that callRefTimer is reffed if and only if pickQueue + * is non-empty. In addition, the timer is null while the state is IDLE or + * SHUTDOWN and there are no pending calls. + */ + this.callRefTimer = null; this.configSelector = null; /** * This is the error from the name resolver if it failed most recently. It @@ -114,8 +146,6 @@ class InternalChannel { this.idleTimer = null; // Channelz info this.channelzEnabled = true; - this.callTracker = new channelz_1.ChannelzCallTracker(); - this.childrenTracker = new channelz_1.ChannelzChildrenTracker(); /** * Randomly generated ID to be passed to the config selector, for use by * ring_hash in xDS. An integer distributed approximately uniformly between @@ -133,7 +163,7 @@ class InternalChannel { throw new TypeError('Channel options must be an object'); } } - this.originalTarget = target; + this.channelzInfoTracker = new ChannelzInfoTracker(target); const originalTargetUri = (0, uri_parser_1.parseUri)(target); if (originalTargetUri === null) { throw new Error(`Could not parse target name "${target}"`); @@ -144,15 +174,12 @@ class InternalChannel { if (defaultSchemeMapResult === null) { throw new Error(`Could not find a default scheme for target name "${target}"`); } - this.callRefTimer = setInterval(() => { }, MAX_TIMEOUT_TIME); - (_b = (_a = this.callRefTimer).unref) === null || _b === void 0 ? void 0 : _b.call(_a); if (this.options['grpc.enable_channelz'] === 0) { this.channelzEnabled = false; } - this.channelzTrace = new channelz_1.ChannelzTrace(); - this.channelzRef = (0, channelz_1.registerChannelzChannel)(target, () => this.getChannelzInfo(), this.channelzEnabled); + this.channelzRef = (0, channelz_1.registerChannelzChannel)(target, this.channelzInfoTracker.getChannelzInfoCallback(), this.channelzEnabled); if (this.channelzEnabled) { - this.channelzTrace.addTrace('CT_INFO', 'Channel created'); + this.channelzInfoTracker.trace.addTrace('CT_INFO', 'Channel created'); } if (this.options['grpc.default_authority']) { this.defaultAuthority = this.options['grpc.default_authority']; @@ -165,19 +192,18 @@ class InternalChannel { this.options = Object.assign({}, this.options, proxyMapResult.extraOptions); /* The global boolean parameter to getSubchannelPool has the inverse meaning to what * the grpc.use_local_subchannel_pool channel option means. */ - this.subchannelPool = (0, subchannel_pool_1.getSubchannelPool)(((_c = options['grpc.use_local_subchannel_pool']) !== null && _c !== void 0 ? _c : 0) === 0); - this.retryBufferTracker = new retrying_call_1.MessageBufferTracker((_d = options['grpc.retry_buffer_size']) !== null && _d !== void 0 ? _d : DEFAULT_RETRY_BUFFER_SIZE_BYTES, (_e = options['grpc.per_rpc_retry_buffer_size']) !== null && _e !== void 0 ? _e : DEFAULT_PER_RPC_RETRY_BUFFER_SIZE_BYTES); - this.keepaliveTime = (_f = options['grpc.keepalive_time_ms']) !== null && _f !== void 0 ? _f : -1; - this.idleTimeoutMs = Math.max((_g = options['grpc.client_idle_timeout_ms']) !== null && _g !== void 0 ? _g : DEFAULT_IDLE_TIMEOUT_MS, MIN_IDLE_TIMEOUT_MS); + this.subchannelPool = (0, subchannel_pool_1.getSubchannelPool)(((_a = options['grpc.use_local_subchannel_pool']) !== null && _a !== void 0 ? _a : 0) === 0); + this.retryBufferTracker = new retrying_call_1.MessageBufferTracker((_b = options['grpc.retry_buffer_size']) !== null && _b !== void 0 ? _b : DEFAULT_RETRY_BUFFER_SIZE_BYTES, (_c = options['grpc.per_rpc_retry_buffer_size']) !== null && _c !== void 0 ? _c : DEFAULT_PER_RPC_RETRY_BUFFER_SIZE_BYTES); + this.keepaliveTime = (_d = options['grpc.keepalive_time_ms']) !== null && _d !== void 0 ? _d : -1; + this.idleTimeoutMs = Math.max((_e = options['grpc.client_idle_timeout_ms']) !== null && _e !== void 0 ? _e : DEFAULT_IDLE_TIMEOUT_MS, MIN_IDLE_TIMEOUT_MS); const channelControlHelper = { createSubchannel: (subchannelAddress, subchannelArgs, credentialsOverride) => { const subchannel = this.subchannelPool.getOrCreateSubchannel(this.target, subchannelAddress, Object.assign({}, this.options, subchannelArgs), credentialsOverride !== null && credentialsOverride !== void 0 ? credentialsOverride : this.credentials); subchannel.throttleKeepalive(this.keepaliveTime); if (this.channelzEnabled) { - this.channelzTrace.addTrace('CT_INFO', 'Created subchannel or used existing subchannel', subchannel.getChannelzRef()); + this.channelzInfoTracker.trace.addTrace('CT_INFO', 'Created subchannel or used existing subchannel', subchannel.getChannelzRef()); } const wrappedSubchannel = new ChannelSubchannelWrapper(subchannel, this); - this.wrappedSubchannels.add(wrappedSubchannel); return wrappedSubchannel; }, updateState: (connectivityState, picker) => { @@ -198,12 +224,12 @@ class InternalChannel { }, addChannelzChild: (child) => { if (this.channelzEnabled) { - this.childrenTracker.refChild(child); + this.channelzInfoTracker.childrenTracker.refChild(child); } }, removeChannelzChild: (child) => { if (this.channelzEnabled) { - this.childrenTracker.unrefChild(child); + this.channelzInfoTracker.childrenTracker.unrefChild(child); } }, }; @@ -215,7 +241,7 @@ class InternalChannel { RETRY_THROTTLER_MAP.delete(this.getTarget()); } if (this.channelzEnabled) { - this.channelzTrace.addTrace('CT_INFO', 'Address resolution succeeded'); + this.channelzInfoTracker.trace.addTrace('CT_INFO', 'Address resolution succeeded'); } this.configSelector = configSelector; this.currentResolutionError = null; @@ -233,7 +259,7 @@ class InternalChannel { }); }, status => { if (this.channelzEnabled) { - this.channelzTrace.addTrace('CT_WARNING', 'Address resolution failed with code ' + + this.channelzInfoTracker.trace.addTrace('CT_WARNING', 'Address resolution failed with code ' + status.code + ' and details "' + status.details + @@ -265,24 +291,18 @@ class InternalChannel { this.channelzRef.id + ') ' + 'Channel constructed \n' + - ((_h = error.stack) === null || _h === void 0 ? void 0 : _h.substring(error.stack.indexOf('\n') + 1))); + ((_f = error.stack) === null || _f === void 0 ? void 0 : _f.substring(error.stack.indexOf('\n') + 1))); } this.lastActivityTimestamp = new Date(); } - getChannelzInfo() { - return { - target: this.originalTarget, - state: this.connectivityState, - trace: this.channelzTrace, - callTracker: this.callTracker, - children: this.childrenTracker.getChildLists(), - }; - } trace(text, verbosityOverride) { (0, logging_1.trace)(verbosityOverride !== null && verbosityOverride !== void 0 ? verbosityOverride : constants_1.LogVerbosity.DEBUG, 'channel', '(' + this.channelzRef.id + ') ' + (0, uri_parser_1.uriToString)(this.target) + ' ' + text); } callRefTimerRef() { var _a, _b, _c, _d; + if (!this.callRefTimer) { + this.callRefTimer = setInterval(() => { }, MAX_TIMEOUT_TIME); + } // If the hasRef function does not exist, always run the code if (!((_b = (_a = this.callRefTimer).hasRef) === null || _b === void 0 ? void 0 : _b.call(_a))) { this.trace('callRefTimer.ref | configSelectionQueue.length=' + @@ -293,14 +313,14 @@ class InternalChannel { } } callRefTimerUnref() { - var _a, _b; - // If the hasRef function does not exist, always run the code - if (!this.callRefTimer.hasRef || this.callRefTimer.hasRef()) { + var _a, _b, _c; + // If the timer or the hasRef function does not exist, always run the code + if (!((_a = this.callRefTimer) === null || _a === void 0 ? void 0 : _a.hasRef) || this.callRefTimer.hasRef()) { this.trace('callRefTimer.unref | configSelectionQueue.length=' + this.configSelectionQueue.length + ' pickQueue.length=' + this.pickQueue.length); - (_b = (_a = this.callRefTimer).unref) === null || _b === void 0 ? void 0 : _b.call(_a); + (_c = (_b = this.callRefTimer) === null || _b === void 0 ? void 0 : _b.unref) === null || _c === void 0 ? void 0 : _c.call(_b); } } removeConnectivityStateWatcher(watcherObject) { @@ -319,9 +339,10 @@ class InternalChannel { ' -> ' + connectivity_state_1.ConnectivityState[newState]); if (this.channelzEnabled) { - this.channelzTrace.addTrace('CT_INFO', 'Connectivity state change to ' + connectivity_state_1.ConnectivityState[newState]); + this.channelzInfoTracker.trace.addTrace('CT_INFO', 'Connectivity state change to ' + connectivity_state_1.ConnectivityState[newState]); } this.connectivityState = newState; + this.channelzInfoTracker.state = newState; const watchersCopy = this.connectivityStateWatchers.slice(); for (const watcherObject of watchersCopy) { if (newState !== watcherObject.currentState) { @@ -344,6 +365,9 @@ class InternalChannel { } } } + addWrappedSubchannel(wrappedSubchannel) { + this.wrappedSubchannels.add(wrappedSubchannel); + } removeWrappedSubchannel(wrappedSubchannel) { this.wrappedSubchannels.delete(wrappedSubchannel); } @@ -393,6 +417,10 @@ class InternalChannel { clearTimeout(this.idleTimer); this.idleTimer = null; } + if (this.callRefTimer) { + clearInterval(this.callRefTimer); + this.callRefTimer = null; + } } startIdleTimeout(timeoutMs) { var _a, _b; @@ -430,17 +458,17 @@ class InternalChannel { } onCallStart() { if (this.channelzEnabled) { - this.callTracker.addCallStarted(); + this.channelzInfoTracker.callTracker.addCallStarted(); } this.callCount += 1; } onCallEnd(status) { if (this.channelzEnabled) { if (status.code === constants_1.Status.OK) { - this.callTracker.addCallSucceeded(); + this.channelzInfoTracker.callTracker.addCallSucceeded(); } else { - this.callTracker.addCallFailed(); + this.channelzInfoTracker.callTracker.addCallFailed(); } } this.callCount -= 1; @@ -499,7 +527,9 @@ class InternalChannel { call.cancelWithStatus(constants_1.Status.UNAVAILABLE, 'Channel closed before call started'); } this.pickQueue = []; - clearInterval(this.callRefTimer); + if (this.callRefTimer) { + clearInterval(this.callRefTimer); + } if (this.idleTimer) { clearTimeout(this.idleTimer); } diff --git a/.output/server/node_modules/@grpc/grpc-js/build/src/load-balancer-outlier-detection.js b/.output/server/node_modules/@grpc/grpc-js/build/src/load-balancer-outlier-detection.js index a994ef5c10ede1f3f052a3ed35c02d609885fdd5..6a0fde59761d1d92f214a60edd724e6cd5ddc596 100644 --- a/.output/server/node_modules/@grpc/grpc-js/build/src/load-balancer-outlier-detection.js +++ b/.output/server/node_modules/@grpc/grpc-js/build/src/load-balancer-outlier-detection.js @@ -17,7 +17,8 @@ */ var _a; Object.defineProperty(exports, "__esModule", { value: true }); -exports.setup = exports.OutlierDetectionLoadBalancer = exports.OutlierDetectionLoadBalancingConfig = void 0; +exports.OutlierDetectionLoadBalancer = exports.OutlierDetectionLoadBalancingConfig = void 0; +exports.setup = setup; const connectivity_state_1 = require("./connectivity-state"); const constants_1 = require("./constants"); const duration_1 = require("./duration"); @@ -563,5 +564,4 @@ function setup() { (0, experimental_1.registerLoadBalancerType)(TYPE_NAME, OutlierDetectionLoadBalancer, OutlierDetectionLoadBalancingConfig); } } -exports.setup = setup; //# sourceMappingURL=load-balancer-outlier-detection.js.map \ No newline at end of file diff --git a/.output/server/node_modules/@grpc/grpc-js/build/src/load-balancer-pick-first.js b/.output/server/node_modules/@grpc/grpc-js/build/src/load-balancer-pick-first.js index be40ed49b6edd3660a864d7a31233f661aa41b4d..2d83fa69f89a09653c3c20210633ff3b3703ba67 100644 --- a/.output/server/node_modules/@grpc/grpc-js/build/src/load-balancer-pick-first.js +++ b/.output/server/node_modules/@grpc/grpc-js/build/src/load-balancer-pick-first.js @@ -16,7 +16,9 @@ * */ Object.defineProperty(exports, "__esModule", { value: true }); -exports.setup = exports.LeafLoadBalancer = exports.PickFirstLoadBalancer = exports.shuffled = exports.PickFirstLoadBalancingConfig = void 0; +exports.LeafLoadBalancer = exports.PickFirstLoadBalancer = exports.PickFirstLoadBalancingConfig = void 0; +exports.shuffled = shuffled; +exports.setup = setup; const load_balancer_1 = require("./load-balancer"); const connectivity_state_1 = require("./connectivity-state"); const picker_1 = require("./picker"); @@ -95,7 +97,6 @@ function shuffled(list) { } return result; } -exports.shuffled = shuffled; /** * Interleave addresses in addressList by family in accordance with RFC-8304 section 4 * @param addressList @@ -478,5 +479,4 @@ function setup() { (0, load_balancer_1.registerLoadBalancerType)(TYPE_NAME, PickFirstLoadBalancer, PickFirstLoadBalancingConfig); (0, load_balancer_1.registerDefaultLoadBalancerType)(TYPE_NAME); } -exports.setup = setup; //# sourceMappingURL=load-balancer-pick-first.js.map \ No newline at end of file diff --git a/.output/server/node_modules/@grpc/grpc-js/build/src/load-balancer-round-robin.js b/.output/server/node_modules/@grpc/grpc-js/build/src/load-balancer-round-robin.js index c0b1becde46fdfea8bad22652bdb9d170d80502a..2984b3e7f2af0be620b624dc9e7b99ac3e530425 100644 --- a/.output/server/node_modules/@grpc/grpc-js/build/src/load-balancer-round-robin.js +++ b/.output/server/node_modules/@grpc/grpc-js/build/src/load-balancer-round-robin.js @@ -16,7 +16,8 @@ * */ Object.defineProperty(exports, "__esModule", { value: true }); -exports.setup = exports.RoundRobinLoadBalancer = void 0; +exports.RoundRobinLoadBalancer = void 0; +exports.setup = setup; const load_balancer_1 = require("./load-balancer"); const connectivity_state_1 = require("./connectivity-state"); const picker_1 = require("./picker"); @@ -178,5 +179,4 @@ exports.RoundRobinLoadBalancer = RoundRobinLoadBalancer; function setup() { (0, load_balancer_1.registerLoadBalancerType)(TYPE_NAME, RoundRobinLoadBalancer, RoundRobinLoadBalancingConfig); } -exports.setup = setup; //# sourceMappingURL=load-balancer-round-robin.js.map \ No newline at end of file diff --git a/.output/server/node_modules/@grpc/grpc-js/build/src/load-balancer.js b/.output/server/node_modules/@grpc/grpc-js/build/src/load-balancer.js index 64d4e301305db148ccb5146c29f42aa76f7968b3..643f9d27abeecb3c50361a71ce5d7951184cc5b1 100644 --- a/.output/server/node_modules/@grpc/grpc-js/build/src/load-balancer.js +++ b/.output/server/node_modules/@grpc/grpc-js/build/src/load-balancer.js @@ -16,7 +16,14 @@ * */ Object.defineProperty(exports, "__esModule", { value: true }); -exports.selectLbConfigFromList = exports.getDefaultConfig = exports.parseLoadBalancingConfig = exports.isLoadBalancerNameRegistered = exports.createLoadBalancer = exports.registerDefaultLoadBalancerType = exports.registerLoadBalancerType = exports.createChildChannelControlHelper = void 0; +exports.createChildChannelControlHelper = createChildChannelControlHelper; +exports.registerLoadBalancerType = registerLoadBalancerType; +exports.registerDefaultLoadBalancerType = registerDefaultLoadBalancerType; +exports.createLoadBalancer = createLoadBalancer; +exports.isLoadBalancerNameRegistered = isLoadBalancerNameRegistered; +exports.parseLoadBalancingConfig = parseLoadBalancingConfig; +exports.getDefaultConfig = getDefaultConfig; +exports.selectLbConfigFromList = selectLbConfigFromList; const logging_1 = require("./logging"); const constants_1 = require("./constants"); /** @@ -37,7 +44,6 @@ function createChildChannelControlHelper(parent, overrides) { removeChannelzChild: (_k = (_j = overrides.removeChannelzChild) === null || _j === void 0 ? void 0 : _j.bind(overrides)) !== null && _k !== void 0 ? _k : parent.removeChannelzChild.bind(parent), }; } -exports.createChildChannelControlHelper = createChildChannelControlHelper; const registeredLoadBalancerTypes = {}; let defaultLoadBalancerType = null; function registerLoadBalancerType(typeName, loadBalancerType, loadBalancingConfigType) { @@ -46,11 +52,9 @@ function registerLoadBalancerType(typeName, loadBalancerType, loadBalancingConfi LoadBalancingConfig: loadBalancingConfigType, }; } -exports.registerLoadBalancerType = registerLoadBalancerType; function registerDefaultLoadBalancerType(typeName) { defaultLoadBalancerType = typeName; } -exports.registerDefaultLoadBalancerType = registerDefaultLoadBalancerType; function createLoadBalancer(config, channelControlHelper, credentials, options) { const typeName = config.getLoadBalancerName(); if (typeName in registeredLoadBalancerTypes) { @@ -60,11 +64,9 @@ function createLoadBalancer(config, channelControlHelper, credentials, options) return null; } } -exports.createLoadBalancer = createLoadBalancer; function isLoadBalancerNameRegistered(typeName) { return typeName in registeredLoadBalancerTypes; } -exports.isLoadBalancerNameRegistered = isLoadBalancerNameRegistered; function parseLoadBalancingConfig(rawConfig) { const keys = Object.keys(rawConfig); if (keys.length !== 1) { @@ -83,14 +85,12 @@ function parseLoadBalancingConfig(rawConfig) { throw new Error(`Unrecognized load balancing config name ${typeName}`); } } -exports.parseLoadBalancingConfig = parseLoadBalancingConfig; function getDefaultConfig() { if (!defaultLoadBalancerType) { throw new Error('No default load balancer type registered'); } return new registeredLoadBalancerTypes[defaultLoadBalancerType].LoadBalancingConfig(); } -exports.getDefaultConfig = getDefaultConfig; function selectLbConfigFromList(configs, fallbackTodefault = false) { for (const config of configs) { try { @@ -113,5 +113,4 @@ function selectLbConfigFromList(configs, fallbackTodefault = false) { return null; } } -exports.selectLbConfigFromList = selectLbConfigFromList; //# sourceMappingURL=load-balancer.js.map \ No newline at end of file diff --git a/.output/server/node_modules/@grpc/grpc-js/build/src/logging.js b/.output/server/node_modules/@grpc/grpc-js/build/src/logging.js index 89bd096d98060b254a31f4a7848f39340b1b2d31..af7a8c86e2e4f7715f3ae78f10bf696af7c2c36a 100644 --- a/.output/server/node_modules/@grpc/grpc-js/build/src/logging.js +++ b/.output/server/node_modules/@grpc/grpc-js/build/src/logging.js @@ -17,7 +17,9 @@ */ var _a, _b, _c, _d; Object.defineProperty(exports, "__esModule", { value: true }); -exports.isTracerEnabled = exports.trace = exports.log = exports.setLoggerVerbosity = exports.setLogger = exports.getLogger = void 0; +exports.log = exports.setLoggerVerbosity = exports.setLogger = exports.getLogger = void 0; +exports.trace = trace; +exports.isTracerEnabled = isTracerEnabled; const constants_1 = require("./constants"); const process_1 = require("process"); const clientVersion = require('../../package.json').version; @@ -114,9 +116,7 @@ function trace(severity, tracer, text) { text); } } -exports.trace = trace; function isTracerEnabled(tracer) { return (!disabledTracers.has(tracer) && (allEnabled || enabledTracers.has(tracer))); } -exports.isTracerEnabled = isTracerEnabled; //# sourceMappingURL=logging.js.map \ No newline at end of file diff --git a/.output/server/node_modules/@grpc/grpc-js/build/src/make-client.js b/.output/server/node_modules/@grpc/grpc-js/build/src/make-client.js index 6f905691e1f37d8f97e6ad24dc23b8a3b7bd5d73..c7d9958a0397d7509418e951bf4682a0a184cc53 100644 --- a/.output/server/node_modules/@grpc/grpc-js/build/src/make-client.js +++ b/.output/server/node_modules/@grpc/grpc-js/build/src/make-client.js @@ -16,7 +16,8 @@ * */ Object.defineProperty(exports, "__esModule", { value: true }); -exports.loadPackageDefinition = exports.makeClientConstructor = void 0; +exports.makeClientConstructor = makeClientConstructor; +exports.loadPackageDefinition = loadPackageDefinition; const client_1 = require("./client"); /** * Map with short names for each of the requester maker functions. Used in @@ -98,7 +99,6 @@ function makeClientConstructor(methods, serviceName, classOptions) { ServiceClientImpl.serviceName = serviceName; return ServiceClientImpl; } -exports.makeClientConstructor = makeClientConstructor; function partial(fn, path, serialize, deserialize) { // eslint-disable-next-line @typescript-eslint/no-explicit-any return function (...args) { @@ -140,5 +140,4 @@ function loadPackageDefinition(packageDef) { } return result; } -exports.loadPackageDefinition = loadPackageDefinition; //# sourceMappingURL=make-client.js.map \ No newline at end of file diff --git a/.output/server/node_modules/@grpc/grpc-js/build/src/resolver-dns.js b/.output/server/node_modules/@grpc/grpc-js/build/src/resolver-dns.js index c46cfb754a37686675f85a51c7d2c44fb6b8da02..07405b3025a2dd2fdc6ef82685d07847b8b192ce 100644 --- a/.output/server/node_modules/@grpc/grpc-js/build/src/resolver-dns.js +++ b/.output/server/node_modules/@grpc/grpc-js/build/src/resolver-dns.js @@ -15,7 +15,8 @@ * limitations under the License. */ Object.defineProperty(exports, "__esModule", { value: true }); -exports.setup = exports.DEFAULT_PORT = void 0; +exports.DEFAULT_PORT = void 0; +exports.setup = setup; const resolver_1 = require("./resolver"); const dns_1 = require("dns"); const service_config_1 = require("./service-config"); @@ -345,5 +346,4 @@ function setup() { (0, resolver_1.registerResolver)('dns', DnsResolver); (0, resolver_1.registerDefaultScheme)('dns'); } -exports.setup = setup; //# sourceMappingURL=resolver-dns.js.map \ No newline at end of file diff --git a/.output/server/node_modules/@grpc/grpc-js/build/src/resolver-ip.js b/.output/server/node_modules/@grpc/grpc-js/build/src/resolver-ip.js index 826b86338e4f5102b50afd15745f7776cd3df95b..b4b75adbdc6ffa102d9e7029f07ebb97d9bf692d 100644 --- a/.output/server/node_modules/@grpc/grpc-js/build/src/resolver-ip.js +++ b/.output/server/node_modules/@grpc/grpc-js/build/src/resolver-ip.js @@ -15,7 +15,7 @@ * limitations under the License. */ Object.defineProperty(exports, "__esModule", { value: true }); -exports.setup = void 0; +exports.setup = setup; const net_1 = require("net"); const constants_1 = require("./constants"); const metadata_1 = require("./metadata"); @@ -101,5 +101,4 @@ function setup() { (0, resolver_1.registerResolver)(IPV4_SCHEME, IpResolver); (0, resolver_1.registerResolver)(IPV6_SCHEME, IpResolver); } -exports.setup = setup; //# sourceMappingURL=resolver-ip.js.map \ No newline at end of file diff --git a/.output/server/node_modules/@grpc/grpc-js/build/src/resolver-uds.js b/.output/server/node_modules/@grpc/grpc-js/build/src/resolver-uds.js index 349d9b68a4468c473231e4a5e35fbed7680da143..266c5d59a848a83deabed1f47caed36e9ea0b84f 100644 --- a/.output/server/node_modules/@grpc/grpc-js/build/src/resolver-uds.js +++ b/.output/server/node_modules/@grpc/grpc-js/build/src/resolver-uds.js @@ -15,7 +15,7 @@ * limitations under the License. */ Object.defineProperty(exports, "__esModule", { value: true }); -exports.setup = void 0; +exports.setup = setup; const resolver_1 = require("./resolver"); class UdsResolver { constructor(target, listener, channelOptions) { @@ -47,5 +47,4 @@ class UdsResolver { function setup() { (0, resolver_1.registerResolver)('unix', UdsResolver); } -exports.setup = setup; //# sourceMappingURL=resolver-uds.js.map \ No newline at end of file diff --git a/.output/server/node_modules/@grpc/grpc-js/build/src/resolver.js b/.output/server/node_modules/@grpc/grpc-js/build/src/resolver.js index 530cb8351712946f12bf76522c49746bd0eae28a..632025b298a671de88409a44fa80a3c8598d47f6 100644 --- a/.output/server/node_modules/@grpc/grpc-js/build/src/resolver.js +++ b/.output/server/node_modules/@grpc/grpc-js/build/src/resolver.js @@ -16,7 +16,11 @@ * */ Object.defineProperty(exports, "__esModule", { value: true }); -exports.mapUriDefaultScheme = exports.getDefaultAuthority = exports.createResolver = exports.registerDefaultScheme = exports.registerResolver = void 0; +exports.registerResolver = registerResolver; +exports.registerDefaultScheme = registerDefaultScheme; +exports.createResolver = createResolver; +exports.getDefaultAuthority = getDefaultAuthority; +exports.mapUriDefaultScheme = mapUriDefaultScheme; const uri_parser_1 = require("./uri-parser"); const registeredResolvers = {}; let defaultScheme = null; @@ -30,7 +34,6 @@ let defaultScheme = null; function registerResolver(scheme, resolverClass) { registeredResolvers[scheme] = resolverClass; } -exports.registerResolver = registerResolver; /** * Register a default resolver to handle target names that do not start with * any registered prefix. @@ -39,7 +42,6 @@ exports.registerResolver = registerResolver; function registerDefaultScheme(scheme) { defaultScheme = scheme; } -exports.registerDefaultScheme = registerDefaultScheme; /** * Create a name resolver for the specified target, if possible. Throws an * error if no such name resolver can be created. @@ -54,7 +56,6 @@ function createResolver(target, listener, options) { throw new Error(`No resolver could be created for target ${(0, uri_parser_1.uriToString)(target)}`); } } -exports.createResolver = createResolver; /** * Get the default authority for the specified target, if possible. Throws an * error if no registered name resolver can parse that target string. @@ -68,7 +69,6 @@ function getDefaultAuthority(target) { throw new Error(`Invalid target ${(0, uri_parser_1.uriToString)(target)}`); } } -exports.getDefaultAuthority = getDefaultAuthority; function mapUriDefaultScheme(target) { if (target.scheme === undefined || !(target.scheme in registeredResolvers)) { if (defaultScheme !== null) { @@ -84,5 +84,4 @@ function mapUriDefaultScheme(target) { } return target; } -exports.mapUriDefaultScheme = mapUriDefaultScheme; //# sourceMappingURL=resolver.js.map \ No newline at end of file diff --git a/.output/server/node_modules/@grpc/grpc-js/build/src/server-call.js b/.output/server/node_modules/@grpc/grpc-js/build/src/server-call.js index 491e8bea632c7ffb3328f877e46b59e7edb4ce08..d7b827a75af68d43145f5162293555ea53e686ab 100644 --- a/.output/server/node_modules/@grpc/grpc-js/build/src/server-call.js +++ b/.output/server/node_modules/@grpc/grpc-js/build/src/server-call.js @@ -16,7 +16,8 @@ * */ Object.defineProperty(exports, "__esModule", { value: true }); -exports.ServerDuplexStreamImpl = exports.ServerWritableStreamImpl = exports.ServerReadableStreamImpl = exports.ServerUnaryCallImpl = exports.serverErrorToStatus = void 0; +exports.ServerDuplexStreamImpl = exports.ServerWritableStreamImpl = exports.ServerReadableStreamImpl = exports.ServerUnaryCallImpl = void 0; +exports.serverErrorToStatus = serverErrorToStatus; const events_1 = require("events"); const stream_1 = require("stream"); const constants_1 = require("./constants"); @@ -38,7 +39,6 @@ function serverErrorToStatus(error, overrideTrailers) { } return status; } -exports.serverErrorToStatus = serverErrorToStatus; class ServerUnaryCallImpl extends events_1.EventEmitter { constructor(path, call, metadata, request) { super(); diff --git a/.output/server/node_modules/@grpc/grpc-js/build/src/server-credentials.js b/.output/server/node_modules/@grpc/grpc-js/build/src/server-credentials.js index 0af656e0336baec7ae39d8dc3ef22a6e9f1aefc1..04cf59f88db865935ab7091cdbbfb5db7d26e05b 100644 --- a/.output/server/node_modules/@grpc/grpc-js/build/src/server-credentials.js +++ b/.output/server/node_modules/@grpc/grpc-js/build/src/server-credentials.js @@ -16,7 +16,9 @@ * */ Object.defineProperty(exports, "__esModule", { value: true }); -exports.createServerCredentialsWithInterceptors = exports.createCertificateProviderServerCredentials = exports.ServerCredentials = void 0; +exports.ServerCredentials = void 0; +exports.createCertificateProviderServerCredentials = createCertificateProviderServerCredentials; +exports.createServerCredentialsWithInterceptors = createServerCredentialsWithInterceptors; const tls_helpers_1 = require("./tls-helpers"); class ServerCredentials { constructor() { @@ -261,7 +263,6 @@ class CertificateProviderServerCredentials extends ServerCredentials { function createCertificateProviderServerCredentials(caCertificateProvider, identityCertificateProvider, requireClientCertificate) { return new CertificateProviderServerCredentials(caCertificateProvider, identityCertificateProvider, requireClientCertificate); } -exports.createCertificateProviderServerCredentials = createCertificateProviderServerCredentials; class InterceptorServerCredentials extends ServerCredentials { constructor(childCredentials, interceptors) { super(); @@ -301,5 +302,4 @@ class InterceptorServerCredentials extends ServerCredentials { function createServerCredentialsWithInterceptors(credentials, interceptors) { return new InterceptorServerCredentials(credentials, interceptors); } -exports.createServerCredentialsWithInterceptors = createServerCredentialsWithInterceptors; //# sourceMappingURL=server-credentials.js.map \ No newline at end of file diff --git a/.output/server/node_modules/@grpc/grpc-js/build/src/server-interceptors.js b/.output/server/node_modules/@grpc/grpc-js/build/src/server-interceptors.js index 63fea8600586fd7496b8af51b73ee7853d1433ef..e58d1905f3822632600be2126533e8cade37e63e 100644 --- a/.output/server/node_modules/@grpc/grpc-js/build/src/server-interceptors.js +++ b/.output/server/node_modules/@grpc/grpc-js/build/src/server-interceptors.js @@ -16,7 +16,9 @@ * */ Object.defineProperty(exports, "__esModule", { value: true }); -exports.getServerInterceptingCall = exports.BaseServerInterceptingCall = exports.ServerInterceptingCall = exports.ResponderBuilder = exports.isInterceptingServerListener = exports.ServerListenerBuilder = void 0; +exports.BaseServerInterceptingCall = exports.ServerInterceptingCall = exports.ResponderBuilder = exports.ServerListenerBuilder = void 0; +exports.isInterceptingServerListener = isInterceptingServerListener; +exports.getServerInterceptingCall = getServerInterceptingCall; const metadata_1 = require("./metadata"); const constants_1 = require("./constants"); const http2 = require("http2"); @@ -65,7 +67,6 @@ function isInterceptingServerListener(listener) { return (listener.onReceiveMetadata !== undefined && listener.onReceiveMetadata.length === 1); } -exports.isInterceptingServerListener = isInterceptingServerListener; class InterceptingServerListenerImpl { constructor(listener, nextListener) { this.listener = listener; @@ -766,5 +767,4 @@ function getServerInterceptingCall(interceptors, stream, headers, callEventTrack return interceptor(methodDefinition, call); }, baseCall); } -exports.getServerInterceptingCall = getServerInterceptingCall; //# sourceMappingURL=server-interceptors.js.map \ No newline at end of file diff --git a/.output/server/node_modules/@grpc/grpc-js/build/src/service-config.js b/.output/server/node_modules/@grpc/grpc-js/build/src/service-config.js index 39126066a2f72f8f6aa28bb07c5a23a797e83581..d7accd3f762b9ca69b964879397e70abfafbf6c8 100644 --- a/.output/server/node_modules/@grpc/grpc-js/build/src/service-config.js +++ b/.output/server/node_modules/@grpc/grpc-js/build/src/service-config.js @@ -16,7 +16,9 @@ * */ Object.defineProperty(exports, "__esModule", { value: true }); -exports.extractAndSelectServiceConfig = exports.validateServiceConfig = exports.validateRetryThrottling = void 0; +exports.validateRetryThrottling = validateRetryThrottling; +exports.validateServiceConfig = validateServiceConfig; +exports.extractAndSelectServiceConfig = extractAndSelectServiceConfig; /* This file implements gRFC A2 and the service config spec: * https://github.com/grpc/proposal/blob/master/A2-service-configs-in-dns.md * https://github.com/grpc/grpc/blob/master/doc/service_config.md. Each @@ -240,7 +242,6 @@ function validateRetryThrottling(obj) { tokenRatio: +obj.tokenRatio.toFixed(3), }; } -exports.validateRetryThrottling = validateRetryThrottling; function validateLoadBalancingConfig(obj) { if (!(typeof obj === 'object' && obj !== null)) { throw new Error(`Invalid loadBalancingConfig: unexpected type ${typeof obj}`); @@ -304,7 +305,6 @@ function validateServiceConfig(obj) { } return result; } -exports.validateServiceConfig = validateServiceConfig; function validateCanaryConfig(obj) { if (!('serviceConfig' in obj)) { throw new Error('Invalid service config choice: missing service config'); @@ -427,5 +427,4 @@ function extractAndSelectServiceConfig(txtRecord, percentage) { } return null; } -exports.extractAndSelectServiceConfig = extractAndSelectServiceConfig; //# sourceMappingURL=service-config.js.map \ No newline at end of file diff --git a/.output/server/node_modules/@grpc/grpc-js/build/src/subchannel-address.js b/.output/server/node_modules/@grpc/grpc-js/build/src/subchannel-address.js index feb35898fe7a44491935339eba686c9c2403c930..d48d0c20bfe3eec530f86361354b8ecf94bbfdb8 100644 --- a/.output/server/node_modules/@grpc/grpc-js/build/src/subchannel-address.js +++ b/.output/server/node_modules/@grpc/grpc-js/build/src/subchannel-address.js @@ -16,12 +16,18 @@ * */ Object.defineProperty(exports, "__esModule", { value: true }); -exports.EndpointMap = exports.endpointHasAddress = exports.endpointToString = exports.endpointEqual = exports.stringToSubchannelAddress = exports.subchannelAddressToString = exports.subchannelAddressEqual = exports.isTcpSubchannelAddress = void 0; +exports.EndpointMap = void 0; +exports.isTcpSubchannelAddress = isTcpSubchannelAddress; +exports.subchannelAddressEqual = subchannelAddressEqual; +exports.subchannelAddressToString = subchannelAddressToString; +exports.stringToSubchannelAddress = stringToSubchannelAddress; +exports.endpointEqual = endpointEqual; +exports.endpointToString = endpointToString; +exports.endpointHasAddress = endpointHasAddress; const net_1 = require("net"); function isTcpSubchannelAddress(address) { return 'port' in address; } -exports.isTcpSubchannelAddress = isTcpSubchannelAddress; function subchannelAddressEqual(address1, address2) { if (!address1 && !address2) { return true; @@ -38,7 +44,6 @@ function subchannelAddressEqual(address1, address2) { return !isTcpSubchannelAddress(address2) && address1.path === address2.path; } } -exports.subchannelAddressEqual = subchannelAddressEqual; function subchannelAddressToString(address) { if (isTcpSubchannelAddress(address)) { if ((0, net_1.isIPv6)(address.host)) { @@ -52,7 +57,6 @@ function subchannelAddressToString(address) { return address.path; } } -exports.subchannelAddressToString = subchannelAddressToString; const DEFAULT_PORT = 443; function stringToSubchannelAddress(addressString, port) { if ((0, net_1.isIP)(addressString)) { @@ -67,7 +71,6 @@ function stringToSubchannelAddress(addressString, port) { }; } } -exports.stringToSubchannelAddress = stringToSubchannelAddress; function endpointEqual(endpoint1, endpoint2) { if (endpoint1.addresses.length !== endpoint2.addresses.length) { return false; @@ -79,11 +82,9 @@ function endpointEqual(endpoint1, endpoint2) { } return true; } -exports.endpointEqual = endpointEqual; function endpointToString(endpoint) { return ('[' + endpoint.addresses.map(subchannelAddressToString).join(', ') + ']'); } -exports.endpointToString = endpointToString; function endpointHasAddress(endpoint, expectedAddress) { for (const address of endpoint.addresses) { if (subchannelAddressEqual(address, expectedAddress)) { @@ -92,7 +93,6 @@ function endpointHasAddress(endpoint, expectedAddress) { } return false; } -exports.endpointHasAddress = endpointHasAddress; function endpointEqualUnordered(endpoint1, endpoint2) { if (endpoint1.addresses.length !== endpoint2.addresses.length) { return false; diff --git a/.output/server/node_modules/@grpc/grpc-js/build/src/subchannel-pool.js b/.output/server/node_modules/@grpc/grpc-js/build/src/subchannel-pool.js index 906160715c0894b6106b61922b1dd71bda63b574..e10d66d0188987521b3f5b0a19447f38a5a3a631 100644 --- a/.output/server/node_modules/@grpc/grpc-js/build/src/subchannel-pool.js +++ b/.output/server/node_modules/@grpc/grpc-js/build/src/subchannel-pool.js @@ -16,7 +16,8 @@ * */ Object.defineProperty(exports, "__esModule", { value: true }); -exports.getSubchannelPool = exports.SubchannelPool = void 0; +exports.SubchannelPool = void 0; +exports.getSubchannelPool = getSubchannelPool; const channel_options_1 = require("./channel-options"); const subchannel_1 = require("./subchannel"); const subchannel_address_1 = require("./subchannel-address"); @@ -133,5 +134,4 @@ function getSubchannelPool(global) { return new SubchannelPool(); } } -exports.getSubchannelPool = getSubchannelPool; //# sourceMappingURL=subchannel-pool.js.map \ No newline at end of file diff --git a/.output/server/node_modules/@grpc/grpc-js/build/src/tls-helpers.js b/.output/server/node_modules/@grpc/grpc-js/build/src/tls-helpers.js index d1183441fdc3cd8653e2e3d74a4a0caf625aa233..14c521de28eb3745d4c9ea68f18a50554f9df59f 100644 --- a/.output/server/node_modules/@grpc/grpc-js/build/src/tls-helpers.js +++ b/.output/server/node_modules/@grpc/grpc-js/build/src/tls-helpers.js @@ -16,7 +16,8 @@ * */ Object.defineProperty(exports, "__esModule", { value: true }); -exports.getDefaultRootsData = exports.CIPHER_SUITES = void 0; +exports.CIPHER_SUITES = void 0; +exports.getDefaultRootsData = getDefaultRootsData; const fs = require("fs"); exports.CIPHER_SUITES = process.env.GRPC_SSL_CIPHER_SUITES; const DEFAULT_ROOTS_FILE_PATH = process.env.GRPC_DEFAULT_SSL_ROOTS_FILE_PATH; @@ -30,5 +31,4 @@ function getDefaultRootsData() { } return null; } -exports.getDefaultRootsData = getDefaultRootsData; //# sourceMappingURL=tls-helpers.js.map \ No newline at end of file diff --git a/.output/server/node_modules/@grpc/grpc-js/build/src/uri-parser.js b/.output/server/node_modules/@grpc/grpc-js/build/src/uri-parser.js index cc069412357f5d79b6fa72c75e38a1b34a0ae4fc..5b4e6d53434cf8600180f856ab70571e6b9bbcf3 100644 --- a/.output/server/node_modules/@grpc/grpc-js/build/src/uri-parser.js +++ b/.output/server/node_modules/@grpc/grpc-js/build/src/uri-parser.js @@ -16,7 +16,10 @@ * */ Object.defineProperty(exports, "__esModule", { value: true }); -exports.uriToString = exports.combineHostPort = exports.splitHostPort = exports.parseUri = void 0; +exports.parseUri = parseUri; +exports.splitHostPort = splitHostPort; +exports.combineHostPort = combineHostPort; +exports.uriToString = uriToString; /* * The groups correspond to URI parts as follows: * 1. scheme @@ -35,7 +38,6 @@ function parseUri(uriString) { path: parsedUri[3], }; } -exports.parseUri = parseUri; const NUMBER_REGEX = /^\d+$/; function splitHostPort(path) { if (path.startsWith('[')) { @@ -95,7 +97,6 @@ function splitHostPort(path) { } } } -exports.splitHostPort = splitHostPort; function combineHostPort(hostPort) { if (hostPort.port === undefined) { return hostPort.host; @@ -110,7 +111,6 @@ function combineHostPort(hostPort) { } } } -exports.combineHostPort = combineHostPort; function uriToString(uri) { let result = ''; if (uri.scheme !== undefined) { @@ -122,5 +122,4 @@ function uriToString(uri) { result += uri.path; return result; } -exports.uriToString = uriToString; //# sourceMappingURL=uri-parser.js.map \ No newline at end of file diff --git a/.output/server/node_modules/@grpc/grpc-js/package.json b/.output/server/node_modules/@grpc/grpc-js/package.json index 82691d2828962ec828b69ad535f550907387dbe0..5b7599b081cc2d61b8a3d28f997f720d1e39a254 100644 --- a/.output/server/node_modules/@grpc/grpc-js/package.json +++ b/.output/server/node_modules/@grpc/grpc-js/package.json @@ -1,6 +1,6 @@ { "name": "@grpc/grpc-js", - "version": "1.12.5", + "version": "1.12.6", "description": "gRPC Library for Node - pure JS implementation", "homepage": "https://grpc.io/", "repository": "https://github.com/grpc/grpc-node/tree/master/packages/grpc-js", diff --git a/.output/server/node_modules/call-bind-apply-helpers/actualApply.js b/.output/server/node_modules/call-bind-apply-helpers/actualApply.js new file mode 100644 index 0000000000000000000000000000000000000000..ffa51355dc7e5d3eb24f602f85f6ae57d087d310 --- /dev/null +++ b/.output/server/node_modules/call-bind-apply-helpers/actualApply.js @@ -0,0 +1,10 @@ +'use strict'; + +var bind = require('function-bind'); + +var $apply = require('./functionApply'); +var $call = require('./functionCall'); +var $reflectApply = require('./reflectApply'); + +/** @type {import('./actualApply')} */ +module.exports = $reflectApply || bind.call($call, $apply); diff --git a/.output/server/node_modules/call-bind-apply-helpers/functionApply.js b/.output/server/node_modules/call-bind-apply-helpers/functionApply.js new file mode 100644 index 0000000000000000000000000000000000000000..c71df9c2bcf07ca4340530058d0662661f29ec95 --- /dev/null +++ b/.output/server/node_modules/call-bind-apply-helpers/functionApply.js @@ -0,0 +1,4 @@ +'use strict'; + +/** @type {import('./functionApply')} */ +module.exports = Function.prototype.apply; diff --git a/.output/server/node_modules/call-bind-apply-helpers/functionCall.js b/.output/server/node_modules/call-bind-apply-helpers/functionCall.js new file mode 100644 index 0000000000000000000000000000000000000000..7a8d8735752ef518698f1fe62b4edd16725898a8 --- /dev/null +++ b/.output/server/node_modules/call-bind-apply-helpers/functionCall.js @@ -0,0 +1,4 @@ +'use strict'; + +/** @type {import('./functionCall')} */ +module.exports = Function.prototype.call; diff --git a/.output/server/node_modules/call-bind-apply-helpers/index.js b/.output/server/node_modules/call-bind-apply-helpers/index.js new file mode 100644 index 0000000000000000000000000000000000000000..8b6b99463c334dd73d50ced538b4c44d989adbd6 --- /dev/null +++ b/.output/server/node_modules/call-bind-apply-helpers/index.js @@ -0,0 +1,15 @@ +'use strict'; + +var bind = require('function-bind'); +var $TypeError = require('es-errors/type'); + +var $call = require('./functionCall'); +var $actualApply = require('./actualApply'); + +/** @type {import('.')} */ +module.exports = function callBindBasic(args) { + if (args.length < 1 || typeof args[0] !== 'function') { + throw new $TypeError('a function is required'); + } + return $actualApply(bind, $call, args); +}; diff --git a/.output/server/node_modules/call-bind-apply-helpers/package.json b/.output/server/node_modules/call-bind-apply-helpers/package.json new file mode 100644 index 0000000000000000000000000000000000000000..7ff5016b4d795ef89a715db1bfcfa4366b1f4cdf --- /dev/null +++ b/.output/server/node_modules/call-bind-apply-helpers/package.json @@ -0,0 +1,85 @@ +{ + "name": "call-bind-apply-helpers", + "version": "1.0.1", + "description": "Helper functions around Function call/apply/bind, for use in `call-bind`", + "main": "index.js", + "exports": { + ".": "./index.js", + "./actualApply": "./actualApply.js", + "./applyBind": "./applyBind.js", + "./functionApply": "./functionApply.js", + "./functionCall": "./functionCall.js", + "./reflectApply": "./reflectApply.js", + "./package.json": "./package.json" + }, + "scripts": { + "prepack": "npmignore --auto --commentLines=auto", + "prepublish": "not-in-publish || npm run prepublishOnly", + "prepublishOnly": "safe-publish-latest", + "prelint": "evalmd README.md", + "lint": "eslint --ext=.js,.mjs .", + "postlint": "tsc -p . && attw -P", + "pretest": "npm run lint", + "tests-only": "nyc tape 'test/**/*.js'", + "test": "npm run tests-only", + "posttest": "npx npm@'>=10.2' audit --production", + "version": "auto-changelog && git add CHANGELOG.md", + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/ljharb/call-bind-apply-helpers.git" + }, + "author": "Jordan Harband <ljharb@gmail.com>", + "license": "MIT", + "bugs": { + "url": "https://github.com/ljharb/call-bind-apply-helpers/issues" + }, + "homepage": "https://github.com/ljharb/call-bind-apply-helpers#readme", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2" + }, + "devDependencies": { + "@arethetypeswrong/cli": "^0.17.1", + "@ljharb/eslint-config": "^21.1.1", + "@ljharb/tsconfig": "^0.2.2", + "@types/for-each": "^0.3.3", + "@types/function-bind": "^1.1.10", + "@types/object-inspect": "^1.13.0", + "@types/tape": "^5.6.5", + "auto-changelog": "^2.5.0", + "encoding": "^0.1.13", + "es-value-fixtures": "^1.5.0", + "eslint": "=8.8.0", + "evalmd": "^0.0.19", + "for-each": "^0.3.3", + "has-strict-mode": "^1.0.1", + "in-publish": "^2.0.1", + "npmignore": "^0.3.1", + "nyc": "^10.3.2", + "object-inspect": "^1.13.3", + "safe-publish-latest": "^2.0.0", + "tape": "^5.9.0", + "typescript": "next" + }, + "testling": { + "files": "test/index.js" + }, + "auto-changelog": { + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": false, + "backfillLimit": false, + "hideCredit": true + }, + "publishConfig": { + "ignore": [ + ".github/workflows" + ] + }, + "engines": { + "node": ">= 0.4" + } +} \ No newline at end of file diff --git a/.output/server/node_modules/call-bind-apply-helpers/reflectApply.js b/.output/server/node_modules/call-bind-apply-helpers/reflectApply.js new file mode 100644 index 0000000000000000000000000000000000000000..3d03caa695a5dd65a5aebbd2819621e757bda420 --- /dev/null +++ b/.output/server/node_modules/call-bind-apply-helpers/reflectApply.js @@ -0,0 +1,4 @@ +'use strict'; + +/** @type {import('./reflectApply')} */ +module.exports = typeof Reflect !== 'undefined' && Reflect && Reflect.apply; diff --git a/.output/server/node_modules/dunder-proto/get.js b/.output/server/node_modules/dunder-proto/get.js new file mode 100644 index 0000000000000000000000000000000000000000..45093df984f8dd727ce524e14d0e61ab08aaa7ab --- /dev/null +++ b/.output/server/node_modules/dunder-proto/get.js @@ -0,0 +1,30 @@ +'use strict'; + +var callBind = require('call-bind-apply-helpers'); +var gOPD = require('gopd'); + +var hasProtoAccessor; +try { + // eslint-disable-next-line no-extra-parens, no-proto + hasProtoAccessor = /** @type {{ __proto__?: typeof Array.prototype }} */ ([]).__proto__ === Array.prototype; +} catch (e) { + if (!e || typeof e !== 'object' || !('code' in e) || e.code !== 'ERR_PROTO_ACCESS') { + throw e; + } +} + +// eslint-disable-next-line no-extra-parens +var desc = !!hasProtoAccessor && gOPD && gOPD(Object.prototype, /** @type {keyof typeof Object.prototype} */ ('__proto__')); + +var $Object = Object; +var $getPrototypeOf = $Object.getPrototypeOf; + +/** @type {import('./get')} */ +module.exports = desc && typeof desc.get === 'function' + ? callBind([desc.get]) + : typeof $getPrototypeOf === 'function' + ? /** @type {import('./get')} */ function getDunder(value) { + // eslint-disable-next-line eqeqeq + return $getPrototypeOf(value == null ? value : $Object(value)); + } + : false; diff --git a/.output/server/node_modules/dunder-proto/package.json b/.output/server/node_modules/dunder-proto/package.json new file mode 100644 index 0000000000000000000000000000000000000000..7518035e9837175a6539c4948e6a100dbf715abe --- /dev/null +++ b/.output/server/node_modules/dunder-proto/package.json @@ -0,0 +1,76 @@ +{ + "name": "dunder-proto", + "version": "1.0.1", + "description": "If available, the `Object.prototype.__proto__` accessor and mutator, call-bound", + "main": false, + "exports": { + "./get": "./get.js", + "./set": "./set.js", + "./package.json": "./package.json" + }, + "sideEffects": false, + "scripts": { + "prepack": "npmignore --auto --commentLines=autogenerated", + "prepublish": "not-in-publish || npm run prepublishOnly", + "prepublishOnly": "safe-publish-latest", + "prelint": "evalmd README.md", + "lint": "eslint --ext=.js,.mjs .", + "postlint": "tsc -p . && attw -P", + "pretest": "npm run lint", + "tests-only": "nyc tape 'test/**/*.js'", + "test": "npm run tests-only", + "posttest": "npx npm@'>= 10.2' audit --production", + "version": "auto-changelog && git add CHANGELOG.md", + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/es-shims/dunder-proto.git" + }, + "author": "Jordan Harband <ljharb@gmail.com>", + "license": "MIT", + "bugs": { + "url": "https://github.com/es-shims/dunder-proto/issues" + }, + "homepage": "https://github.com/es-shims/dunder-proto#readme", + "dependencies": { + "call-bind-apply-helpers": "^1.0.1", + "es-errors": "^1.3.0", + "gopd": "^1.2.0" + }, + "devDependencies": { + "@arethetypeswrong/cli": "^0.17.1", + "@ljharb/eslint-config": "^21.1.1", + "@ljharb/tsconfig": "^0.2.2", + "@types/tape": "^5.7.0", + "auto-changelog": "^2.5.0", + "encoding": "^0.1.13", + "eslint": "=8.8.0", + "evalmd": "^0.0.19", + "in-publish": "^2.0.1", + "npmignore": "^0.3.1", + "nyc": "^10.3.2", + "safe-publish-latest": "^2.0.0", + "tape": "^5.9.0", + "typescript": "next" + }, + "auto-changelog": { + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": false, + "backfillLimit": false, + "hideCredit": true + }, + "testling": { + "files": "test/index.js" + }, + "publishConfig": { + "ignore": [ + ".github/workflows" + ] + }, + "engines": { + "node": ">= 0.4" + } +} \ No newline at end of file diff --git a/.output/server/node_modules/es-define-property/index.js b/.output/server/node_modules/es-define-property/index.js new file mode 100644 index 0000000000000000000000000000000000000000..e0a29251646c4cc40dd6b1be8d3e28674cd21ad1 --- /dev/null +++ b/.output/server/node_modules/es-define-property/index.js @@ -0,0 +1,14 @@ +'use strict'; + +/** @type {import('.')} */ +var $defineProperty = Object.defineProperty || false; +if ($defineProperty) { + try { + $defineProperty({}, 'a', { value: 1 }); + } catch (e) { + // IE 8 has a broken defineProperty + $defineProperty = false; + } +} + +module.exports = $defineProperty; diff --git a/.output/server/node_modules/es-define-property/package.json b/.output/server/node_modules/es-define-property/package.json new file mode 100644 index 0000000000000000000000000000000000000000..bd65982506fe88ee477d15d9100eb7a7d1fe2e29 --- /dev/null +++ b/.output/server/node_modules/es-define-property/package.json @@ -0,0 +1,81 @@ +{ + "name": "es-define-property", + "version": "1.0.1", + "description": "`Object.defineProperty`, but not IE 8's broken one.", + "main": "index.js", + "types": "./index.d.ts", + "exports": { + ".": "./index.js", + "./package.json": "./package.json" + }, + "sideEffects": false, + "scripts": { + "prepack": "npmignore --auto --commentLines=autogenerated", + "prepublish": "not-in-publish || npm run prepublishOnly", + "prepublishOnly": "safe-publish-latest", + "prelint": "evalmd README.md", + "lint": "eslint --ext=js,mjs .", + "postlint": "tsc -p .", + "pretest": "npm run lint", + "tests-only": "nyc tape 'test/**/*.js'", + "test": "npm run tests-only", + "posttest": "npx npm@'>= 10.2' audit --production", + "version": "auto-changelog && git add CHANGELOG.md", + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/ljharb/es-define-property.git" + }, + "keywords": [ + "javascript", + "ecmascript", + "object", + "define", + "property", + "defineProperty", + "Object.defineProperty" + ], + "author": "Jordan Harband <ljharb@gmail.com>", + "license": "MIT", + "bugs": { + "url": "https://github.com/ljharb/es-define-property/issues" + }, + "homepage": "https://github.com/ljharb/es-define-property#readme", + "devDependencies": { + "@ljharb/eslint-config": "^21.1.1", + "@ljharb/tsconfig": "^0.2.2", + "@types/gopd": "^1.0.3", + "@types/tape": "^5.6.5", + "auto-changelog": "^2.5.0", + "encoding": "^0.1.13", + "eslint": "^8.8.0", + "evalmd": "^0.0.19", + "gopd": "^1.2.0", + "in-publish": "^2.0.1", + "npmignore": "^0.3.1", + "nyc": "^10.3.2", + "safe-publish-latest": "^2.0.0", + "tape": "^5.9.0", + "typescript": "next" + }, + "engines": { + "node": ">= 0.4" + }, + "testling": { + "files": "test/index.js" + }, + "auto-changelog": { + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": false, + "backfillLimit": false, + "hideCredit": true + }, + "publishConfig": { + "ignore": [ + ".github/workflows" + ] + } +} \ No newline at end of file diff --git a/.output/server/node_modules/es-errors/eval.js b/.output/server/node_modules/es-errors/eval.js new file mode 100644 index 0000000000000000000000000000000000000000..725ccb61a96e9a89faa7d0046cfffb78e1c92539 --- /dev/null +++ b/.output/server/node_modules/es-errors/eval.js @@ -0,0 +1,4 @@ +'use strict'; + +/** @type {import('./eval')} */ +module.exports = EvalError; diff --git a/.output/server/node_modules/es-errors/index.js b/.output/server/node_modules/es-errors/index.js new file mode 100644 index 0000000000000000000000000000000000000000..cc0c52124b678924decd65b835587b5cbdbb878f --- /dev/null +++ b/.output/server/node_modules/es-errors/index.js @@ -0,0 +1,4 @@ +'use strict'; + +/** @type {import('.')} */ +module.exports = Error; diff --git a/.output/server/node_modules/es-errors/package.json b/.output/server/node_modules/es-errors/package.json new file mode 100644 index 0000000000000000000000000000000000000000..9f294f66bf505379a2e8571e32b7c2dc3dcfd74f --- /dev/null +++ b/.output/server/node_modules/es-errors/package.json @@ -0,0 +1,80 @@ +{ + "name": "es-errors", + "version": "1.3.0", + "description": "A simple cache for a few of the JS Error constructors.", + "main": "index.js", + "exports": { + ".": "./index.js", + "./eval": "./eval.js", + "./range": "./range.js", + "./ref": "./ref.js", + "./syntax": "./syntax.js", + "./type": "./type.js", + "./uri": "./uri.js", + "./package.json": "./package.json" + }, + "sideEffects": false, + "scripts": { + "prepack": "npmignore --auto --commentLines=autogenerated", + "prepublishOnly": "safe-publish-latest", + "prepublish": "not-in-publish || npm run prepublishOnly", + "pretest": "npm run lint", + "test": "npm run tests-only", + "tests-only": "nyc tape 'test/**/*.js'", + "posttest": "aud --production", + "prelint": "evalmd README.md", + "lint": "eslint --ext=js,mjs .", + "postlint": "tsc -p . && eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git' | grep -v dist/)", + "version": "auto-changelog && git add CHANGELOG.md", + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/ljharb/es-errors.git" + }, + "keywords": [ + "javascript", + "ecmascript", + "error", + "typeerror", + "syntaxerror", + "rangeerror" + ], + "author": "Jordan Harband <ljharb@gmail.com>", + "license": "MIT", + "bugs": { + "url": "https://github.com/ljharb/es-errors/issues" + }, + "homepage": "https://github.com/ljharb/es-errors#readme", + "devDependencies": { + "@ljharb/eslint-config": "^21.1.0", + "@types/tape": "^5.6.4", + "aud": "^2.0.4", + "auto-changelog": "^2.4.0", + "eclint": "^2.8.1", + "eslint": "^8.8.0", + "evalmd": "^0.0.19", + "in-publish": "^2.0.1", + "npmignore": "^0.3.1", + "nyc": "^10.3.2", + "safe-publish-latest": "^2.0.0", + "tape": "^5.7.4", + "typescript": "next" + }, + "auto-changelog": { + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": false, + "backfillLimit": false, + "hideCredit": true + }, + "publishConfig": { + "ignore": [ + ".github/workflows" + ] + }, + "engines": { + "node": ">= 0.4" + } +} \ No newline at end of file diff --git a/.output/server/node_modules/es-errors/range.js b/.output/server/node_modules/es-errors/range.js new file mode 100644 index 0000000000000000000000000000000000000000..2044fe03646a725081f95460e4fca9a1ef59750f --- /dev/null +++ b/.output/server/node_modules/es-errors/range.js @@ -0,0 +1,4 @@ +'use strict'; + +/** @type {import('./range')} */ +module.exports = RangeError; diff --git a/.output/server/node_modules/es-errors/ref.js b/.output/server/node_modules/es-errors/ref.js new file mode 100644 index 0000000000000000000000000000000000000000..d7c430fdb3ae766b215ad8e072d6ac2212d7c619 --- /dev/null +++ b/.output/server/node_modules/es-errors/ref.js @@ -0,0 +1,4 @@ +'use strict'; + +/** @type {import('./ref')} */ +module.exports = ReferenceError; diff --git a/.output/server/node_modules/es-errors/syntax.js b/.output/server/node_modules/es-errors/syntax.js new file mode 100644 index 0000000000000000000000000000000000000000..5f5fddeec53b514df79342efce6cae341b6309be --- /dev/null +++ b/.output/server/node_modules/es-errors/syntax.js @@ -0,0 +1,4 @@ +'use strict'; + +/** @type {import('./syntax')} */ +module.exports = SyntaxError; diff --git a/.output/server/node_modules/es-errors/type.js b/.output/server/node_modules/es-errors/type.js new file mode 100644 index 0000000000000000000000000000000000000000..9769e44e397cc2a8f089258833a733f3fe0627ef --- /dev/null +++ b/.output/server/node_modules/es-errors/type.js @@ -0,0 +1,4 @@ +'use strict'; + +/** @type {import('./type')} */ +module.exports = TypeError; diff --git a/.output/server/node_modules/es-errors/uri.js b/.output/server/node_modules/es-errors/uri.js new file mode 100644 index 0000000000000000000000000000000000000000..e9cd1c78709f0773db77943de1fdb95d3d268a5f --- /dev/null +++ b/.output/server/node_modules/es-errors/uri.js @@ -0,0 +1,4 @@ +'use strict'; + +/** @type {import('./uri')} */ +module.exports = URIError; diff --git a/.output/server/node_modules/es-object-atoms/index.js b/.output/server/node_modules/es-object-atoms/index.js new file mode 100644 index 0000000000000000000000000000000000000000..1d33cef45ac4212d8710fa253075ca7969c5cd81 --- /dev/null +++ b/.output/server/node_modules/es-object-atoms/index.js @@ -0,0 +1,4 @@ +'use strict'; + +/** @type {import('.')} */ +module.exports = Object; diff --git a/.output/server/node_modules/es-object-atoms/package.json b/.output/server/node_modules/es-object-atoms/package.json new file mode 100644 index 0000000000000000000000000000000000000000..8a7fb9f273e8f782c5e1a8eed8b5e36183130dc0 --- /dev/null +++ b/.output/server/node_modules/es-object-atoms/package.json @@ -0,0 +1,80 @@ +{ + "name": "es-object-atoms", + "version": "1.1.1", + "description": "ES Object-related atoms: Object, ToObject, RequireObjectCoercible", + "main": "index.js", + "exports": { + ".": "./index.js", + "./RequireObjectCoercible": "./RequireObjectCoercible.js", + "./isObject": "./isObject.js", + "./ToObject": "./ToObject.js", + "./package.json": "./package.json" + }, + "sideEffects": false, + "scripts": { + "prepack": "npmignore --auto --commentLines=autogenerated", + "prepublishOnly": "safe-publish-latest", + "prepublish": "not-in-publish || npm run prepublishOnly", + "pretest": "npm run lint", + "test": "npm run tests-only", + "tests-only": "nyc tape 'test/**/*.js'", + "posttest": "npx npm@\">= 10.2\" audit --production", + "prelint": "evalmd README.md", + "lint": "eslint --ext=js,mjs .", + "postlint": "tsc -p . && eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git' | grep -v dist/)", + "version": "auto-changelog && git add CHANGELOG.md", + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/ljharb/es-object-atoms.git" + }, + "keywords": [ + "javascript", + "ecmascript", + "object", + "toobject", + "coercible" + ], + "author": "Jordan Harband <ljharb@gmail.com>", + "license": "MIT", + "bugs": { + "url": "https://github.com/ljharb/es-object-atoms/issues" + }, + "homepage": "https://github.com/ljharb/es-object-atoms#readme", + "dependencies": { + "es-errors": "^1.3.0" + }, + "devDependencies": { + "@ljharb/eslint-config": "^21.1.1", + "@ljharb/tsconfig": "^0.2.3", + "@types/tape": "^5.8.1", + "auto-changelog": "^2.5.0", + "eclint": "^2.8.1", + "encoding": "^0.1.13", + "eslint": "^8.8.0", + "evalmd": "^0.0.19", + "in-publish": "^2.0.1", + "npmignore": "^0.3.1", + "nyc": "^10.3.2", + "safe-publish-latest": "^2.0.0", + "tape": "^5.9.0", + "typescript": "next" + }, + "auto-changelog": { + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": false, + "backfillLimit": false, + "hideCredit": true + }, + "publishConfig": { + "ignore": [ + ".github/workflows" + ] + }, + "engines": { + "node": ">= 0.4" + } +} \ No newline at end of file diff --git a/.output/server/node_modules/es-set-tostringtag/index.js b/.output/server/node_modules/es-set-tostringtag/index.js new file mode 100644 index 0000000000000000000000000000000000000000..6b6b49c7734d884e49f33256602bf2cb755d839e --- /dev/null +++ b/.output/server/node_modules/es-set-tostringtag/index.js @@ -0,0 +1,35 @@ +'use strict'; + +var GetIntrinsic = require('get-intrinsic'); + +var $defineProperty = GetIntrinsic('%Object.defineProperty%', true); + +var hasToStringTag = require('has-tostringtag/shams')(); +var hasOwn = require('hasown'); +var $TypeError = require('es-errors/type'); + +var toStringTag = hasToStringTag ? Symbol.toStringTag : null; + +/** @type {import('.')} */ +module.exports = function setToStringTag(object, value) { + var overrideIfSet = arguments.length > 2 && !!arguments[2] && arguments[2].force; + var nonConfigurable = arguments.length > 2 && !!arguments[2] && arguments[2].nonConfigurable; + if ( + (typeof overrideIfSet !== 'undefined' && typeof overrideIfSet !== 'boolean') + || (typeof nonConfigurable !== 'undefined' && typeof nonConfigurable !== 'boolean') + ) { + throw new $TypeError('if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans'); + } + if (toStringTag && (overrideIfSet || !hasOwn(object, toStringTag))) { + if ($defineProperty) { + $defineProperty(object, toStringTag, { + configurable: !nonConfigurable, + enumerable: false, + value: value, + writable: false + }); + } else { + object[toStringTag] = value; // eslint-disable-line no-param-reassign + } + } +}; diff --git a/.output/server/node_modules/es-set-tostringtag/package.json b/.output/server/node_modules/es-set-tostringtag/package.json new file mode 100644 index 0000000000000000000000000000000000000000..fb605f127600b66e2790a760ba23eedcd842e453 --- /dev/null +++ b/.output/server/node_modules/es-set-tostringtag/package.json @@ -0,0 +1,78 @@ +{ + "name": "es-set-tostringtag", + "version": "2.1.0", + "description": "A helper to optimistically set Symbol.toStringTag, when possible.", + "main": "index.js", + "exports": { + ".": "./index.js", + "./package.json": "./package.json" + }, + "sideEffects": false, + "scripts": { + "prepack": "npmignore --auto --commentLines=autogenerated", + "prepublishOnly": "safe-publish-latest", + "prepublish": "not-in-publish || npm run prepublishOnly", + "prelint": "evalmd README.md", + "lint": "eslint --ext=js,mjs .", + "postlint": "tsc -p . && attw -P", + "pretest": "npm run lint", + "tests-only": "nyc tape 'test/**/*.js'", + "test": "npm run tests-only", + "posttest": "npx npm@\">= 10.2\" audit --production", + "version": "auto-changelog && git add CHANGELOG.md", + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/es-shims/es-set-tostringtag.git" + }, + "author": "Jordan Harband <ljharb@gmail.com>", + "license": "MIT", + "bugs": { + "url": "https://github.com/es-shims/es-set-tostringtag/issues" + }, + "homepage": "https://github.com/es-shims/es-set-tostringtag#readme", + "devDependencies": { + "@arethetypeswrong/cli": "^0.17.2", + "@ljharb/eslint-config": "^21.1.1", + "@ljharb/tsconfig": "^0.2.3", + "@types/get-intrinsic": "^1.2.3", + "@types/has-symbols": "^1.0.2", + "@types/tape": "^5.8.0", + "auto-changelog": "^2.5.0", + "encoding": "^0.1.13", + "eslint": "=8.8.0", + "evalmd": "^0.0.19", + "in-publish": "^2.0.1", + "npmignore": "^0.3.1", + "nyc": "^10.3.2", + "safe-publish-latest": "^2.0.0", + "tape": "^5.9.0", + "typescript": "next" + }, + "dependencies": { + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.6", + "has-tostringtag": "^1.0.2", + "hasown": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "auto-changelog": { + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": false, + "backfillLimit": false, + "hideCredit": true + }, + "testling": { + "files": "./test/index.js" + }, + "publishConfig": { + "ignore": [ + ".github/workflows" + ] + } +} \ No newline at end of file diff --git a/.output/server/node_modules/form-data/lib/form_data.js b/.output/server/node_modules/form-data/lib/form_data.js index e05c8f1ae259a86984369cdeb3f0498d3ebaba47..3479d18c0b26126e58774ec9284b1d56a9032ca3 100644 --- a/.output/server/node_modules/form-data/lib/form_data.js +++ b/.output/server/node_modules/form-data/lib/form_data.js @@ -8,6 +8,7 @@ var fs = require('fs'); var Stream = require('stream').Stream; var mime = require('mime-types'); var asynckit = require('asynckit'); +var setToStringTag = require('es-set-tostringtag'); var populate = require('./populate.js'); // Public API @@ -102,7 +103,7 @@ FormData.prototype._trackLength = function(header, value, options) { FormData.LINE_BREAK.length; // empty or either doesn't have path or not an http response or not a stream - if (!value || ( !value.path && !(value.readable && value.hasOwnProperty('httpVersion')) && !(value instanceof Stream))) { + if (!value || ( !value.path && !(value.readable && Object.prototype.hasOwnProperty.call(value, 'httpVersion')) && !(value instanceof Stream))) { return; } @@ -113,8 +114,7 @@ FormData.prototype._trackLength = function(header, value, options) { }; FormData.prototype._lengthRetriever = function(value, callback) { - - if (value.hasOwnProperty('fd')) { + if (Object.prototype.hasOwnProperty.call(value, 'fd')) { // take read range into a account // `end` = Infinity –> read file till the end @@ -149,11 +149,11 @@ FormData.prototype._lengthRetriever = function(value, callback) { } // or http response - } else if (value.hasOwnProperty('httpVersion')) { + } else if (Object.prototype.hasOwnProperty.call(value, 'httpVersion')) { callback(null, +value.headers['content-length']); // or request stream http://github.com/mikeal/request - } else if (value.hasOwnProperty('httpModule')) { + } else if (Object.prototype.hasOwnProperty.call(value, 'httpModule')) { // wait till response come back value.on('response', function(response) { value.pause(); @@ -193,22 +193,23 @@ FormData.prototype._multiPartHeader = function(field, value, options) { var header; for (var prop in headers) { - if (!headers.hasOwnProperty(prop)) continue; - header = headers[prop]; + if (Object.prototype.hasOwnProperty.call(headers, prop)) { + header = headers[prop]; - // skip nullish headers. - if (header == null) { - continue; - } + // skip nullish headers. + if (header == null) { + continue; + } - // convert all headers to arrays. - if (!Array.isArray(header)) { - header = [header]; - } + // convert all headers to arrays. + if (!Array.isArray(header)) { + header = [header]; + } - // add non-empty headers. - if (header.length) { - contents += prop + ': ' + header.join('; ') + FormData.LINE_BREAK; + // add non-empty headers. + if (header.length) { + contents += prop + ': ' + header.join('; ') + FormData.LINE_BREAK; + } } } @@ -229,7 +230,7 @@ FormData.prototype._getContentDisposition = function(value, options) { // formidable and the browser add a name property // fs- and request- streams have path property filename = path.basename(options.filename || value.name || value.path); - } else if (value.readable && value.hasOwnProperty('httpVersion')) { + } else if (value.readable && Object.prototype.hasOwnProperty.call(value, 'httpVersion')) { // or try http response filename = path.basename(value.client._httpMessage.path || ''); } @@ -257,7 +258,7 @@ FormData.prototype._getContentType = function(value, options) { } // or if it's http-reponse - if (!contentType && value.readable && value.hasOwnProperty('httpVersion')) { + if (!contentType && value.readable && Object.prototype.hasOwnProperty.call(value, 'httpVersion')) { contentType = value.headers['content-type']; } @@ -298,7 +299,7 @@ FormData.prototype.getHeaders = function(userHeaders) { }; for (header in userHeaders) { - if (userHeaders.hasOwnProperty(header)) { + if (Object.prototype.hasOwnProperty.call(userHeaders, header)) { formHeaders[header.toLowerCase()] = userHeaders[header]; } } @@ -319,7 +320,7 @@ FormData.prototype.getBoundary = function() { }; FormData.prototype.getBuffer = function() { - var dataBuffer = new Buffer.alloc( 0 ); + var dataBuffer = new Buffer.alloc(0); var boundary = this.getBoundary(); // Create the form content. Add Line breaks to the end of data. @@ -499,3 +500,4 @@ FormData.prototype._error = function(err) { FormData.prototype.toString = function () { return '[object FormData]'; }; +setToStringTag(FormData, 'FormData'); diff --git a/.output/server/node_modules/form-data/package.json b/.output/server/node_modules/form-data/package.json index b68b62e8e0bd8fab0eed709eddffeb06fe293a41..9b206778494ccb7fc4f79a11d2273aff7291a94a 100644 --- a/.output/server/node_modules/form-data/package.json +++ b/.output/server/node_modules/form-data/package.json @@ -2,7 +2,7 @@ "author": "Felix Geisendörfer <felix@debuggable.com> (http://debuggable.com/)", "name": "form-data", "description": "A library to create readable \"multipart/form-data\" streams. Can be used to submit forms and file uploads to other web applications.", - "version": "4.0.1", + "version": "4.0.2", "repository": { "type": "git", "url": "git://github.com/form-data/form-data.git" @@ -43,29 +43,32 @@ "dependencies": { "asynckit": "^0.4.0", "combined-stream": "^1.0.8", + "es-set-tostringtag": "^2.1.0", "mime-types": "^2.1.12" }, "devDependencies": { - "@types/node": "^12.0.10", - "browserify": "^13.1.1", + "@types/combined-stream": "^1.0.6", + "@types/mime-types": "^2.1.4", + "@types/node": "^12.20.55", + "browserify": "^13.3.0", "browserify-istanbul": "^2.0.0", - "coveralls": "^3.0.4", - "cross-spawn": "^6.0.5", - "eslint": "^6.0.1", + "coveralls": "^3.1.1", + "cross-spawn": "^6.0.6", + "eslint": "^6.8.0", "fake": "^0.2.2", "far": "^0.0.7", - "formidable": "^1.0.17", - "in-publish": "^2.0.0", + "formidable": "^1.2.6", + "in-publish": "^2.0.1", "is-node-modern": "^1.0.0", "istanbul": "^0.4.5", "obake": "^0.1.2", - "puppeteer": "^1.19.0", - "pkgfiles": "^2.3.0", - "pre-commit": "^1.1.3", - "request": "^2.88.0", + "pkgfiles": "^2.3.2", + "pre-commit": "^1.2.2", + "puppeteer": "^1.20.0", + "request": "~2.87.0", "rimraf": "^2.7.1", - "tape": "^4.6.2", - "typescript": "^3.5.2" + "tape": "^5.9.0", + "typescript": "^3.9.10" }, "license": "MIT" } \ No newline at end of file diff --git a/.output/server/node_modules/function-bind/implementation.js b/.output/server/node_modules/function-bind/implementation.js new file mode 100644 index 0000000000000000000000000000000000000000..fd4384cc0c34ce3e1e411bc8b0557680cf000eff --- /dev/null +++ b/.output/server/node_modules/function-bind/implementation.js @@ -0,0 +1,84 @@ +'use strict'; + +/* eslint no-invalid-this: 1 */ + +var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible '; +var toStr = Object.prototype.toString; +var max = Math.max; +var funcType = '[object Function]'; + +var concatty = function concatty(a, b) { + var arr = []; + + for (var i = 0; i < a.length; i += 1) { + arr[i] = a[i]; + } + for (var j = 0; j < b.length; j += 1) { + arr[j + a.length] = b[j]; + } + + return arr; +}; + +var slicy = function slicy(arrLike, offset) { + var arr = []; + for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) { + arr[j] = arrLike[i]; + } + return arr; +}; + +var joiny = function (arr, joiner) { + var str = ''; + for (var i = 0; i < arr.length; i += 1) { + str += arr[i]; + if (i + 1 < arr.length) { + str += joiner; + } + } + return str; +}; + +module.exports = function bind(that) { + var target = this; + if (typeof target !== 'function' || toStr.apply(target) !== funcType) { + throw new TypeError(ERROR_MESSAGE + target); + } + var args = slicy(arguments, 1); + + var bound; + var binder = function () { + if (this instanceof bound) { + var result = target.apply( + this, + concatty(args, arguments) + ); + if (Object(result) === result) { + return result; + } + return this; + } + return target.apply( + that, + concatty(args, arguments) + ); + + }; + + var boundLength = max(0, target.length - args.length); + var boundArgs = []; + for (var i = 0; i < boundLength; i++) { + boundArgs[i] = '$' + i; + } + + bound = Function('binder', 'return function (' + joiny(boundArgs, ',') + '){ return binder.apply(this,arguments); }')(binder); + + if (target.prototype) { + var Empty = function Empty() {}; + Empty.prototype = target.prototype; + bound.prototype = new Empty(); + Empty.prototype = null; + } + + return bound; +}; diff --git a/.output/server/node_modules/function-bind/index.js b/.output/server/node_modules/function-bind/index.js new file mode 100644 index 0000000000000000000000000000000000000000..3bb6b9609889f8131b2d6732ff1606e01e1365b2 --- /dev/null +++ b/.output/server/node_modules/function-bind/index.js @@ -0,0 +1,5 @@ +'use strict'; + +var implementation = require('./implementation'); + +module.exports = Function.prototype.bind || implementation; diff --git a/.output/server/node_modules/function-bind/package.json b/.output/server/node_modules/function-bind/package.json new file mode 100644 index 0000000000000000000000000000000000000000..e7e31a53bf980c4961a4421963b8deefaafa9ea8 --- /dev/null +++ b/.output/server/node_modules/function-bind/package.json @@ -0,0 +1,87 @@ +{ + "name": "function-bind", + "version": "1.1.2", + "description": "Implementation of Function.prototype.bind", + "keywords": [ + "function", + "bind", + "shim", + "es5" + ], + "author": "Raynos <raynos2@gmail.com>", + "repository": { + "type": "git", + "url": "https://github.com/Raynos/function-bind.git" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + }, + "main": "index", + "homepage": "https://github.com/Raynos/function-bind", + "contributors": [ + { + "name": "Raynos" + }, + { + "name": "Jordan Harband", + "url": "https://github.com/ljharb" + } + ], + "bugs": { + "url": "https://github.com/Raynos/function-bind/issues", + "email": "raynos2@gmail.com" + }, + "devDependencies": { + "@ljharb/eslint-config": "^21.1.0", + "aud": "^2.0.3", + "auto-changelog": "^2.4.0", + "eslint": "=8.8.0", + "in-publish": "^2.0.1", + "npmignore": "^0.3.0", + "nyc": "^10.3.2", + "safe-publish-latest": "^2.0.0", + "tape": "^5.7.1" + }, + "license": "MIT", + "scripts": { + "prepublishOnly": "safe-publish-latest", + "prepublish": "not-in-publish || npm run prepublishOnly", + "prepack": "npmignore --auto --commentLines=autogenerated", + "pretest": "npm run lint", + "test": "npm run tests-only", + "posttest": "aud --production", + "tests-only": "nyc tape 'test/**/*.js'", + "lint": "eslint --ext=js,mjs .", + "version": "auto-changelog && git add CHANGELOG.md", + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" + }, + "testling": { + "files": "test/index.js", + "browsers": [ + "ie/8..latest", + "firefox/16..latest", + "firefox/nightly", + "chrome/22..latest", + "chrome/canary", + "opera/12..latest", + "opera/next", + "safari/5.1..latest", + "ipad/6.0..latest", + "iphone/6.0..latest", + "android-browser/4.2..latest" + ] + }, + "auto-changelog": { + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": false, + "backfillLimit": false, + "hideCredit": true + }, + "publishConfig": { + "ignore": [ + ".github/workflows" + ] + } +} \ No newline at end of file diff --git a/.output/server/node_modules/get-intrinsic/index.js b/.output/server/node_modules/get-intrinsic/index.js new file mode 100644 index 0000000000000000000000000000000000000000..7f618f50d6c94557fd3e1b371ba01e5021438a88 --- /dev/null +++ b/.output/server/node_modules/get-intrinsic/index.js @@ -0,0 +1,377 @@ +'use strict'; + +var undefined; + +var $Object = require('es-object-atoms'); + +var $Error = require('es-errors'); +var $EvalError = require('es-errors/eval'); +var $RangeError = require('es-errors/range'); +var $ReferenceError = require('es-errors/ref'); +var $SyntaxError = require('es-errors/syntax'); +var $TypeError = require('es-errors/type'); +var $URIError = require('es-errors/uri'); + +var abs = require('math-intrinsics/abs'); +var floor = require('math-intrinsics/floor'); +var max = require('math-intrinsics/max'); +var min = require('math-intrinsics/min'); +var pow = require('math-intrinsics/pow'); +var round = require('math-intrinsics/round'); +var sign = require('math-intrinsics/sign'); + +var $Function = Function; + +// eslint-disable-next-line consistent-return +var getEvalledConstructor = function (expressionSyntax) { + try { + return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')(); + } catch (e) {} +}; + +var $gOPD = require('gopd'); +var $defineProperty = require('es-define-property'); + +var throwTypeError = function () { + throw new $TypeError(); +}; +var ThrowTypeError = $gOPD + ? (function () { + try { + // eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties + arguments.callee; // IE 8 does not throw here + return throwTypeError; + } catch (calleeThrows) { + try { + // IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '') + return $gOPD(arguments, 'callee').get; + } catch (gOPDthrows) { + return throwTypeError; + } + } + }()) + : throwTypeError; + +var hasSymbols = require('has-symbols')(); + +var getProto = require('get-proto'); +var $ObjectGPO = require('get-proto/Object.getPrototypeOf'); +var $ReflectGPO = require('get-proto/Reflect.getPrototypeOf'); + +var $apply = require('call-bind-apply-helpers/functionApply'); +var $call = require('call-bind-apply-helpers/functionCall'); + +var needsEval = {}; + +var TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined : getProto(Uint8Array); + +var INTRINSICS = { + __proto__: null, + '%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError, + '%Array%': Array, + '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer, + '%ArrayIteratorPrototype%': hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined, + '%AsyncFromSyncIteratorPrototype%': undefined, + '%AsyncFunction%': needsEval, + '%AsyncGenerator%': needsEval, + '%AsyncGeneratorFunction%': needsEval, + '%AsyncIteratorPrototype%': needsEval, + '%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics, + '%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt, + '%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined : BigInt64Array, + '%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined : BigUint64Array, + '%Boolean%': Boolean, + '%DataView%': typeof DataView === 'undefined' ? undefined : DataView, + '%Date%': Date, + '%decodeURI%': decodeURI, + '%decodeURIComponent%': decodeURIComponent, + '%encodeURI%': encodeURI, + '%encodeURIComponent%': encodeURIComponent, + '%Error%': $Error, + '%eval%': eval, // eslint-disable-line no-eval + '%EvalError%': $EvalError, + '%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array, + '%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array, + '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry, + '%Function%': $Function, + '%GeneratorFunction%': needsEval, + '%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array, + '%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array, + '%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array, + '%isFinite%': isFinite, + '%isNaN%': isNaN, + '%IteratorPrototype%': hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined, + '%JSON%': typeof JSON === 'object' ? JSON : undefined, + '%Map%': typeof Map === 'undefined' ? undefined : Map, + '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Map()[Symbol.iterator]()), + '%Math%': Math, + '%Number%': Number, + '%Object%': $Object, + '%Object.getOwnPropertyDescriptor%': $gOPD, + '%parseFloat%': parseFloat, + '%parseInt%': parseInt, + '%Promise%': typeof Promise === 'undefined' ? undefined : Promise, + '%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy, + '%RangeError%': $RangeError, + '%ReferenceError%': $ReferenceError, + '%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect, + '%RegExp%': RegExp, + '%Set%': typeof Set === 'undefined' ? undefined : Set, + '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Set()[Symbol.iterator]()), + '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer, + '%String%': String, + '%StringIteratorPrototype%': hasSymbols && getProto ? getProto(''[Symbol.iterator]()) : undefined, + '%Symbol%': hasSymbols ? Symbol : undefined, + '%SyntaxError%': $SyntaxError, + '%ThrowTypeError%': ThrowTypeError, + '%TypedArray%': TypedArray, + '%TypeError%': $TypeError, + '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array, + '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray, + '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array, + '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array, + '%URIError%': $URIError, + '%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap, + '%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef, + '%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet, + + '%Function.prototype.call%': $call, + '%Function.prototype.apply%': $apply, + '%Object.defineProperty%': $defineProperty, + '%Object.getPrototypeOf%': $ObjectGPO, + '%Math.abs%': abs, + '%Math.floor%': floor, + '%Math.max%': max, + '%Math.min%': min, + '%Math.pow%': pow, + '%Math.round%': round, + '%Math.sign%': sign, + '%Reflect.getPrototypeOf%': $ReflectGPO +}; + +if (getProto) { + try { + null.error; // eslint-disable-line no-unused-expressions + } catch (e) { + // https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229 + var errorProto = getProto(getProto(e)); + INTRINSICS['%Error.prototype%'] = errorProto; + } +} + +var doEval = function doEval(name) { + var value; + if (name === '%AsyncFunction%') { + value = getEvalledConstructor('async function () {}'); + } else if (name === '%GeneratorFunction%') { + value = getEvalledConstructor('function* () {}'); + } else if (name === '%AsyncGeneratorFunction%') { + value = getEvalledConstructor('async function* () {}'); + } else if (name === '%AsyncGenerator%') { + var fn = doEval('%AsyncGeneratorFunction%'); + if (fn) { + value = fn.prototype; + } + } else if (name === '%AsyncIteratorPrototype%') { + var gen = doEval('%AsyncGenerator%'); + if (gen && getProto) { + value = getProto(gen.prototype); + } + } + + INTRINSICS[name] = value; + + return value; +}; + +var LEGACY_ALIASES = { + __proto__: null, + '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'], + '%ArrayPrototype%': ['Array', 'prototype'], + '%ArrayProto_entries%': ['Array', 'prototype', 'entries'], + '%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'], + '%ArrayProto_keys%': ['Array', 'prototype', 'keys'], + '%ArrayProto_values%': ['Array', 'prototype', 'values'], + '%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'], + '%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'], + '%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'], + '%BooleanPrototype%': ['Boolean', 'prototype'], + '%DataViewPrototype%': ['DataView', 'prototype'], + '%DatePrototype%': ['Date', 'prototype'], + '%ErrorPrototype%': ['Error', 'prototype'], + '%EvalErrorPrototype%': ['EvalError', 'prototype'], + '%Float32ArrayPrototype%': ['Float32Array', 'prototype'], + '%Float64ArrayPrototype%': ['Float64Array', 'prototype'], + '%FunctionPrototype%': ['Function', 'prototype'], + '%Generator%': ['GeneratorFunction', 'prototype'], + '%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'], + '%Int8ArrayPrototype%': ['Int8Array', 'prototype'], + '%Int16ArrayPrototype%': ['Int16Array', 'prototype'], + '%Int32ArrayPrototype%': ['Int32Array', 'prototype'], + '%JSONParse%': ['JSON', 'parse'], + '%JSONStringify%': ['JSON', 'stringify'], + '%MapPrototype%': ['Map', 'prototype'], + '%NumberPrototype%': ['Number', 'prototype'], + '%ObjectPrototype%': ['Object', 'prototype'], + '%ObjProto_toString%': ['Object', 'prototype', 'toString'], + '%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'], + '%PromisePrototype%': ['Promise', 'prototype'], + '%PromiseProto_then%': ['Promise', 'prototype', 'then'], + '%Promise_all%': ['Promise', 'all'], + '%Promise_reject%': ['Promise', 'reject'], + '%Promise_resolve%': ['Promise', 'resolve'], + '%RangeErrorPrototype%': ['RangeError', 'prototype'], + '%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'], + '%RegExpPrototype%': ['RegExp', 'prototype'], + '%SetPrototype%': ['Set', 'prototype'], + '%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'], + '%StringPrototype%': ['String', 'prototype'], + '%SymbolPrototype%': ['Symbol', 'prototype'], + '%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'], + '%TypedArrayPrototype%': ['TypedArray', 'prototype'], + '%TypeErrorPrototype%': ['TypeError', 'prototype'], + '%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'], + '%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'], + '%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'], + '%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'], + '%URIErrorPrototype%': ['URIError', 'prototype'], + '%WeakMapPrototype%': ['WeakMap', 'prototype'], + '%WeakSetPrototype%': ['WeakSet', 'prototype'] +}; + +var bind = require('function-bind'); +var hasOwn = require('hasown'); +var $concat = bind.call($call, Array.prototype.concat); +var $spliceApply = bind.call($apply, Array.prototype.splice); +var $replace = bind.call($call, String.prototype.replace); +var $strSlice = bind.call($call, String.prototype.slice); +var $exec = bind.call($call, RegExp.prototype.exec); + +/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */ +var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g; +var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */ +var stringToPath = function stringToPath(string) { + var first = $strSlice(string, 0, 1); + var last = $strSlice(string, -1); + if (first === '%' && last !== '%') { + throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`'); + } else if (last === '%' && first !== '%') { + throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`'); + } + var result = []; + $replace(string, rePropName, function (match, number, quote, subString) { + result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match; + }); + return result; +}; +/* end adaptation */ + +var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) { + var intrinsicName = name; + var alias; + if (hasOwn(LEGACY_ALIASES, intrinsicName)) { + alias = LEGACY_ALIASES[intrinsicName]; + intrinsicName = '%' + alias[0] + '%'; + } + + if (hasOwn(INTRINSICS, intrinsicName)) { + var value = INTRINSICS[intrinsicName]; + if (value === needsEval) { + value = doEval(intrinsicName); + } + if (typeof value === 'undefined' && !allowMissing) { + throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!'); + } + + return { + alias: alias, + name: intrinsicName, + value: value + }; + } + + throw new $SyntaxError('intrinsic ' + name + ' does not exist!'); +}; + +module.exports = function GetIntrinsic(name, allowMissing) { + if (typeof name !== 'string' || name.length === 0) { + throw new $TypeError('intrinsic name must be a non-empty string'); + } + if (arguments.length > 1 && typeof allowMissing !== 'boolean') { + throw new $TypeError('"allowMissing" argument must be a boolean'); + } + + if ($exec(/^%?[^%]*%?$/, name) === null) { + throw new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name'); + } + var parts = stringToPath(name); + var intrinsicBaseName = parts.length > 0 ? parts[0] : ''; + + var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing); + var intrinsicRealName = intrinsic.name; + var value = intrinsic.value; + var skipFurtherCaching = false; + + var alias = intrinsic.alias; + if (alias) { + intrinsicBaseName = alias[0]; + $spliceApply(parts, $concat([0, 1], alias)); + } + + for (var i = 1, isOwn = true; i < parts.length; i += 1) { + var part = parts[i]; + var first = $strSlice(part, 0, 1); + var last = $strSlice(part, -1); + if ( + ( + (first === '"' || first === "'" || first === '`') + || (last === '"' || last === "'" || last === '`') + ) + && first !== last + ) { + throw new $SyntaxError('property names with quotes must have matching quotes'); + } + if (part === 'constructor' || !isOwn) { + skipFurtherCaching = true; + } + + intrinsicBaseName += '.' + part; + intrinsicRealName = '%' + intrinsicBaseName + '%'; + + if (hasOwn(INTRINSICS, intrinsicRealName)) { + value = INTRINSICS[intrinsicRealName]; + } else if (value != null) { + if (!(part in value)) { + if (!allowMissing) { + throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.'); + } + return void undefined; + } + if ($gOPD && (i + 1) >= parts.length) { + var desc = $gOPD(value, part); + isOwn = !!desc; + + // By convention, when a data property is converted to an accessor + // property to emulate a data property that does not suffer from + // the override mistake, that accessor's getter is marked with + // an `originalValue` property. Here, when we detect this, we + // uphold the illusion by pretending to see that original data + // property, i.e., returning the value rather than the getter + // itself. + if (isOwn && 'get' in desc && !('originalValue' in desc.get)) { + value = desc.get; + } else { + value = value[part]; + } + } else { + isOwn = hasOwn(value, part); + value = value[part]; + } + + if (isOwn && !skipFurtherCaching) { + INTRINSICS[intrinsicRealName] = value; + } + } + } + return value; +}; diff --git a/.output/server/node_modules/get-intrinsic/package.json b/.output/server/node_modules/get-intrinsic/package.json new file mode 100644 index 0000000000000000000000000000000000000000..b35997d761952207fe52b6ca56840072b9f0cc9a --- /dev/null +++ b/.output/server/node_modules/get-intrinsic/package.json @@ -0,0 +1,97 @@ +{ + "name": "get-intrinsic", + "version": "1.2.7", + "description": "Get and robustly cache all JS language-level intrinsics at first require time", + "main": "index.js", + "exports": { + ".": "./index.js", + "./package.json": "./package.json" + }, + "sideEffects": false, + "scripts": { + "prepack": "npmignore --auto --commentLines=autogenerated", + "prepublish": "not-in-publish || npm run prepublishOnly", + "prepublishOnly": "safe-publish-latest", + "prelint": "evalmd README.md", + "lint": "eslint --ext=.js,.mjs .", + "pretest": "npm run lint", + "tests-only": "nyc tape 'test/**/*.js'", + "test": "npm run tests-only", + "posttest": "npx npm@'>= 10.2' audit --production", + "version": "auto-changelog && git add CHANGELOG.md", + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/ljharb/get-intrinsic.git" + }, + "keywords": [ + "javascript", + "ecmascript", + "es", + "js", + "intrinsic", + "getintrinsic", + "es-abstract" + ], + "author": "Jordan Harband <ljharb@gmail.com>", + "funding": { + "url": "https://github.com/sponsors/ljharb" + }, + "license": "MIT", + "bugs": { + "url": "https://github.com/ljharb/get-intrinsic/issues" + }, + "homepage": "https://github.com/ljharb/get-intrinsic#readme", + "dependencies": { + "call-bind-apply-helpers": "^1.0.1", + "es-define-property": "^1.0.1", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.0.0", + "function-bind": "^1.1.2", + "get-proto": "^1.0.0", + "gopd": "^1.2.0", + "has-symbols": "^1.1.0", + "hasown": "^2.0.2", + "math-intrinsics": "^1.1.0" + }, + "devDependencies": { + "@ljharb/eslint-config": "^21.1.1", + "auto-changelog": "^2.5.0", + "call-bound": "^1.0.3", + "encoding": "^0.1.13", + "es-abstract": "^1.23.8", + "es-value-fixtures": "^1.5.0", + "eslint": "=8.8.0", + "evalmd": "^0.0.19", + "for-each": "^0.3.3", + "make-async-function": "^1.0.0", + "make-async-generator-function": "^1.0.0", + "make-generator-function": "^2.0.0", + "mock-property": "^1.1.0", + "npmignore": "^0.3.1", + "nyc": "^10.3.2", + "object-inspect": "^1.13.3", + "safe-publish-latest": "^2.0.0", + "tape": "^5.9.0" + }, + "auto-changelog": { + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": false, + "backfillLimit": false, + "hideCredit": true + }, + "testling": { + "files": "test/GetIntrinsic.js" + }, + "publishConfig": { + "ignore": [ + ".github/workflows" + ] + }, + "engines": { + "node": ">= 0.4" + } +} \ No newline at end of file diff --git a/.output/server/node_modules/get-proto/Object.getPrototypeOf.js b/.output/server/node_modules/get-proto/Object.getPrototypeOf.js new file mode 100644 index 0000000000000000000000000000000000000000..c2cbbdfc65c390afc3205f87dd95bc996e24cbb8 --- /dev/null +++ b/.output/server/node_modules/get-proto/Object.getPrototypeOf.js @@ -0,0 +1,6 @@ +'use strict'; + +var $Object = require('es-object-atoms'); + +/** @type {import('./Object.getPrototypeOf')} */ +module.exports = $Object.getPrototypeOf || null; diff --git a/.output/server/node_modules/get-proto/Reflect.getPrototypeOf.js b/.output/server/node_modules/get-proto/Reflect.getPrototypeOf.js new file mode 100644 index 0000000000000000000000000000000000000000..e6c51bee433645af0221f124bc33e7d7ca3626a6 --- /dev/null +++ b/.output/server/node_modules/get-proto/Reflect.getPrototypeOf.js @@ -0,0 +1,4 @@ +'use strict'; + +/** @type {import('./Reflect.getPrototypeOf')} */ +module.exports = (typeof Reflect !== 'undefined' && Reflect.getPrototypeOf) || null; diff --git a/.output/server/node_modules/get-proto/index.js b/.output/server/node_modules/get-proto/index.js new file mode 100644 index 0000000000000000000000000000000000000000..7e5747be023988fb560d4fc0098e82b8197df340 --- /dev/null +++ b/.output/server/node_modules/get-proto/index.js @@ -0,0 +1,27 @@ +'use strict'; + +var reflectGetProto = require('./Reflect.getPrototypeOf'); +var originalGetProto = require('./Object.getPrototypeOf'); + +var getDunderProto = require('dunder-proto/get'); + +/** @type {import('.')} */ +module.exports = reflectGetProto + ? function getProto(O) { + // @ts-expect-error TS can't narrow inside a closure, for some reason + return reflectGetProto(O); + } + : originalGetProto + ? function getProto(O) { + if (!O || (typeof O !== 'object' && typeof O !== 'function')) { + throw new TypeError('getProto: not an object'); + } + // @ts-expect-error TS can't narrow inside a closure, for some reason + return originalGetProto(O); + } + : getDunderProto + ? function getProto(O) { + // @ts-expect-error TS can't narrow inside a closure, for some reason + return getDunderProto(O); + } + : null; diff --git a/.output/server/node_modules/get-proto/package.json b/.output/server/node_modules/get-proto/package.json new file mode 100644 index 0000000000000000000000000000000000000000..0b6f09906b4f11f1cb6571b2df1b9476a082e14e --- /dev/null +++ b/.output/server/node_modules/get-proto/package.json @@ -0,0 +1,81 @@ +{ + "name": "get-proto", + "version": "1.0.1", + "description": "Robustly get the [[Prototype]] of an object", + "main": "index.js", + "exports": { + ".": "./index.js", + "./Reflect.getPrototypeOf": "./Reflect.getPrototypeOf.js", + "./Object.getPrototypeOf": "./Object.getPrototypeOf.js", + "./package.json": "./package.json" + }, + "scripts": { + "prepack": "npmignore --auto --commentLines=autogenerated", + "prepublish": "not-in-publish || npm run prepublishOnly", + "prepublishOnly": "safe-publish-latest", + "pretest": "npm run --silent lint", + "test": "npm run tests-only", + "posttest": "npx npm@\">=10.2\" audit --production", + "tests-only": "nyc tape 'test/**/*.js'", + "prelint": "evalmd README.md", + "lint": "eslint --ext=js,mjs .", + "postlint": "tsc && attw -P", + "version": "auto-changelog && git add CHANGELOG.md", + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/ljharb/get-proto.git" + }, + "keywords": [ + "get", + "proto", + "prototype", + "getPrototypeOf", + "[[Prototype]]" + ], + "author": "Jordan Harband <ljharb@gmail.com>", + "license": "MIT", + "bugs": { + "url": "https://github.com/ljharb/get-proto/issues" + }, + "homepage": "https://github.com/ljharb/get-proto#readme", + "dependencies": { + "dunder-proto": "^1.0.1", + "es-object-atoms": "^1.0.0" + }, + "devDependencies": { + "@arethetypeswrong/cli": "^0.17.2", + "@ljharb/eslint-config": "^21.1.1", + "@ljharb/tsconfig": "^0.2.3", + "@types/tape": "^5.8.0", + "auto-changelog": "^2.5.0", + "eslint": "=8.8.0", + "evalmd": "^0.0.19", + "in-publish": "^2.0.1", + "npmignore": "^0.3.1", + "nyc": "^10.3.2", + "safe-publish-latest": "^2.0.0", + "tape": "^5.9.0", + "typescript": "next" + }, + "engines": { + "node": ">= 0.4" + }, + "auto-changelog": { + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": false, + "backfillLimit": false, + "hideCredit": true + }, + "publishConfig": { + "ignore": [ + ".github/workflows" + ] + }, + "testling": { + "files": "test/index.js" + } +} \ No newline at end of file diff --git a/.output/server/node_modules/gopd/gOPD.js b/.output/server/node_modules/gopd/gOPD.js new file mode 100644 index 0000000000000000000000000000000000000000..cf9616c4a6671026d27790a79dbf26732a5860fb --- /dev/null +++ b/.output/server/node_modules/gopd/gOPD.js @@ -0,0 +1,4 @@ +'use strict'; + +/** @type {import('./gOPD')} */ +module.exports = Object.getOwnPropertyDescriptor; diff --git a/.output/server/node_modules/gopd/index.js b/.output/server/node_modules/gopd/index.js new file mode 100644 index 0000000000000000000000000000000000000000..a4081b013e2a7f3406e47ff109bc0c454905b4cf --- /dev/null +++ b/.output/server/node_modules/gopd/index.js @@ -0,0 +1,15 @@ +'use strict'; + +/** @type {import('.')} */ +var $gOPD = require('./gOPD'); + +if ($gOPD) { + try { + $gOPD([], 'length'); + } catch (e) { + // IE 8 has a broken gOPD + $gOPD = null; + } +} + +module.exports = $gOPD; diff --git a/.output/server/node_modules/gopd/package.json b/.output/server/node_modules/gopd/package.json new file mode 100644 index 0000000000000000000000000000000000000000..f37d890155901426f75619cca13999529a8625a5 --- /dev/null +++ b/.output/server/node_modules/gopd/package.json @@ -0,0 +1,77 @@ +{ + "name": "gopd", + "version": "1.2.0", + "description": "`Object.getOwnPropertyDescriptor`, but accounts for IE's broken implementation.", + "main": "index.js", + "exports": { + ".": "./index.js", + "./gOPD": "./gOPD.js", + "./package.json": "./package.json" + }, + "sideEffects": false, + "scripts": { + "prepack": "npmignore --auto --commentLines=autogenerated", + "prepublishOnly": "safe-publish-latest", + "prepublish": "not-in-publish || npm run prepublishOnly", + "prelint": "tsc -p . && attw -P", + "lint": "eslint --ext=js,mjs .", + "postlint": "evalmd README.md", + "pretest": "npm run lint", + "tests-only": "tape 'test/**/*.js'", + "test": "npm run tests-only", + "posttest": "npx npm@'>=10.2' audit --production", + "version": "auto-changelog && git add CHANGELOG.md", + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/ljharb/gopd.git" + }, + "keywords": [ + "ecmascript", + "javascript", + "getownpropertydescriptor", + "property", + "descriptor" + ], + "author": "Jordan Harband <ljharb@gmail.com>", + "funding": { + "url": "https://github.com/sponsors/ljharb" + }, + "license": "MIT", + "bugs": { + "url": "https://github.com/ljharb/gopd/issues" + }, + "homepage": "https://github.com/ljharb/gopd#readme", + "devDependencies": { + "@arethetypeswrong/cli": "^0.17.0", + "@ljharb/eslint-config": "^21.1.1", + "@ljharb/tsconfig": "^0.2.0", + "@types/tape": "^5.6.5", + "auto-changelog": "^2.5.0", + "encoding": "^0.1.13", + "eslint": "=8.8.0", + "evalmd": "^0.0.19", + "in-publish": "^2.0.1", + "npmignore": "^0.3.1", + "safe-publish-latest": "^2.0.0", + "tape": "^5.9.0", + "typescript": "next" + }, + "auto-changelog": { + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": false, + "backfillLimit": false, + "hideCredit": true + }, + "publishConfig": { + "ignore": [ + ".github/workflows" + ] + }, + "engines": { + "node": ">= 0.4" + } +} \ No newline at end of file diff --git a/.output/server/node_modules/has-symbols/index.js b/.output/server/node_modules/has-symbols/index.js new file mode 100644 index 0000000000000000000000000000000000000000..fa65265a9d45a38560d60c71f0a3305802c39365 --- /dev/null +++ b/.output/server/node_modules/has-symbols/index.js @@ -0,0 +1,14 @@ +'use strict'; + +var origSymbol = typeof Symbol !== 'undefined' && Symbol; +var hasSymbolSham = require('./shams'); + +/** @type {import('.')} */ +module.exports = function hasNativeSymbols() { + if (typeof origSymbol !== 'function') { return false; } + if (typeof Symbol !== 'function') { return false; } + if (typeof origSymbol('foo') !== 'symbol') { return false; } + if (typeof Symbol('bar') !== 'symbol') { return false; } + + return hasSymbolSham(); +}; diff --git a/.output/server/node_modules/has-symbols/package.json b/.output/server/node_modules/has-symbols/package.json new file mode 100644 index 0000000000000000000000000000000000000000..a734d77bb311fec6a3ce5ac272c23e187b32df13 --- /dev/null +++ b/.output/server/node_modules/has-symbols/package.json @@ -0,0 +1,111 @@ +{ + "name": "has-symbols", + "version": "1.1.0", + "description": "Determine if the JS environment has Symbol support. Supports spec, or shams.", + "main": "index.js", + "scripts": { + "prepack": "npmignore --auto --commentLines=autogenerated", + "prepublishOnly": "safe-publish-latest", + "prepublish": "not-in-publish || npm run prepublishOnly", + "pretest": "npm run --silent lint", + "test": "npm run tests-only", + "posttest": "npx npm@'>=10.2' audit --production", + "tests-only": "npm run test:stock && npm run test:shams", + "test:stock": "nyc node test", + "test:staging": "nyc node --harmony --es-staging test", + "test:shams": "npm run --silent test:shams:getownpropertysymbols && npm run --silent test:shams:corejs", + "test:shams:corejs": "nyc node test/shams/core-js.js", + "test:shams:getownpropertysymbols": "nyc node test/shams/get-own-property-symbols.js", + "lint": "eslint --ext=js,mjs .", + "postlint": "tsc -p . && attw -P", + "version": "auto-changelog && git add CHANGELOG.md", + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" + }, + "repository": { + "type": "git", + "url": "git://github.com/inspect-js/has-symbols.git" + }, + "keywords": [ + "Symbol", + "symbols", + "typeof", + "sham", + "polyfill", + "native", + "core-js", + "ES6" + ], + "author": { + "name": "Jordan Harband", + "email": "ljharb@gmail.com", + "url": "http://ljharb.codes" + }, + "contributors": [ + { + "name": "Jordan Harband", + "email": "ljharb@gmail.com", + "url": "http://ljharb.codes" + } + ], + "funding": { + "url": "https://github.com/sponsors/ljharb" + }, + "license": "MIT", + "bugs": { + "url": "https://github.com/ljharb/has-symbols/issues" + }, + "homepage": "https://github.com/ljharb/has-symbols#readme", + "devDependencies": { + "@arethetypeswrong/cli": "^0.17.0", + "@ljharb/eslint-config": "^21.1.1", + "@ljharb/tsconfig": "^0.2.0", + "@types/core-js": "^2.5.8", + "@types/tape": "^5.6.5", + "auto-changelog": "^2.5.0", + "core-js": "^2.6.12", + "encoding": "^0.1.13", + "eslint": "=8.8.0", + "get-own-property-symbols": "^0.9.5", + "in-publish": "^2.0.1", + "npmignore": "^0.3.1", + "nyc": "^10.3.2", + "safe-publish-latest": "^2.0.0", + "tape": "^5.9.0", + "typescript": "next" + }, + "testling": { + "files": "test/index.js", + "browsers": [ + "iexplore/6.0..latest", + "firefox/3.0..6.0", + "firefox/15.0..latest", + "firefox/nightly", + "chrome/4.0..10.0", + "chrome/20.0..latest", + "chrome/canary", + "opera/10.0..latest", + "opera/next", + "safari/4.0..latest", + "ipad/6.0..latest", + "iphone/6.0..latest", + "android-browser/4.2" + ] + }, + "engines": { + "node": ">= 0.4" + }, + "auto-changelog": { + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": false, + "backfillLimit": false, + "hideCredit": true + }, + "publishConfig": { + "ignore": [ + ".github/workflows", + "types" + ] + } +} \ No newline at end of file diff --git a/.output/server/node_modules/has-symbols/shams.js b/.output/server/node_modules/has-symbols/shams.js new file mode 100644 index 0000000000000000000000000000000000000000..f97b474105d705cc4acb88c32aaf60cfb28bf6b3 --- /dev/null +++ b/.output/server/node_modules/has-symbols/shams.js @@ -0,0 +1,45 @@ +'use strict'; + +/** @type {import('./shams')} */ +/* eslint complexity: [2, 18], max-statements: [2, 33] */ +module.exports = function hasSymbols() { + if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; } + if (typeof Symbol.iterator === 'symbol') { return true; } + + /** @type {{ [k in symbol]?: unknown }} */ + var obj = {}; + var sym = Symbol('test'); + var symObj = Object(sym); + if (typeof sym === 'string') { return false; } + + if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; } + if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; } + + // temp disabled per https://github.com/ljharb/object.assign/issues/17 + // if (sym instanceof Symbol) { return false; } + // temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4 + // if (!(symObj instanceof Symbol)) { return false; } + + // if (typeof Symbol.prototype.toString !== 'function') { return false; } + // if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; } + + var symVal = 42; + obj[sym] = symVal; + for (var _ in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop + if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; } + + if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; } + + var syms = Object.getOwnPropertySymbols(obj); + if (syms.length !== 1 || syms[0] !== sym) { return false; } + + if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; } + + if (typeof Object.getOwnPropertyDescriptor === 'function') { + // eslint-disable-next-line no-extra-parens + var descriptor = /** @type {PropertyDescriptor} */ (Object.getOwnPropertyDescriptor(obj, sym)); + if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; } + } + + return true; +}; diff --git a/.output/server/node_modules/has-tostringtag/package.json b/.output/server/node_modules/has-tostringtag/package.json new file mode 100644 index 0000000000000000000000000000000000000000..e0d2fb6778a89f4e953fab1fb5b2bb6dd5b3f4eb --- /dev/null +++ b/.output/server/node_modules/has-tostringtag/package.json @@ -0,0 +1,108 @@ +{ + "name": "has-tostringtag", + "version": "1.0.2", + "author": { + "name": "Jordan Harband", + "email": "ljharb@gmail.com", + "url": "http://ljharb.codes" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + }, + "contributors": [ + { + "name": "Jordan Harband", + "email": "ljharb@gmail.com", + "url": "http://ljharb.codes" + } + ], + "description": "Determine if the JS environment has `Symbol.toStringTag` support. Supports spec, or shams.", + "license": "MIT", + "main": "index.js", + "types": "./index.d.ts", + "exports": { + ".": [ + { + "types": "./index.d.ts", + "default": "./index.js" + }, + "./index.js" + ], + "./shams": [ + { + "types": "./shams.d.ts", + "default": "./shams.js" + }, + "./shams.js" + ], + "./package.json": "./package.json" + }, + "scripts": { + "prepack": "npmignore --auto --commentLines=autogenerated", + "prepublishOnly": "safe-publish-latest", + "prepublish": "not-in-publish || npm run prepublishOnly", + "pretest": "npm run --silent lint", + "test": "npm run tests-only", + "posttest": "aud --production", + "tests-only": "npm run test:stock && npm run test:shams", + "test:stock": "nyc node test", + "test:staging": "nyc node --harmony --es-staging test", + "test:shams": "npm run --silent test:shams:getownpropertysymbols && npm run --silent test:shams:corejs", + "test:shams:corejs": "nyc node test/shams/core-js.js", + "test:shams:getownpropertysymbols": "nyc node test/shams/get-own-property-symbols.js", + "lint": "eslint --ext=js,mjs .", + "version": "auto-changelog && git add CHANGELOG.md", + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/inspect-js/has-tostringtag.git" + }, + "bugs": { + "url": "https://github.com/inspect-js/has-tostringtag/issues" + }, + "homepage": "https://github.com/inspect-js/has-tostringtag#readme", + "keywords": [ + "javascript", + "ecmascript", + "symbol", + "symbols", + "tostringtag", + "Symbol.toStringTag" + ], + "devDependencies": { + "@ljharb/eslint-config": "^21.1.0", + "@types/has-symbols": "^1.0.2", + "@types/tape": "^5.6.4", + "aud": "^2.0.4", + "auto-changelog": "^2.4.0", + "core-js": "^2.6.12", + "eslint": "=8.8.0", + "get-own-property-symbols": "^0.9.5", + "in-publish": "^2.0.1", + "npmignore": "^0.3.1", + "nyc": "^10.3.2", + "safe-publish-latest": "^2.0.0", + "tape": "^5.7.4", + "typescript": "next" + }, + "engines": { + "node": ">= 0.4" + }, + "auto-changelog": { + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": false, + "backfillLimit": false, + "hideCredit": true + }, + "publishConfig": { + "ignore": [ + ".github/workflows" + ] + }, + "dependencies": { + "has-symbols": "^1.0.3" + } +} \ No newline at end of file diff --git a/.output/server/node_modules/has-tostringtag/shams.js b/.output/server/node_modules/has-tostringtag/shams.js new file mode 100644 index 0000000000000000000000000000000000000000..809580dbd6a347bb63b22eb116a14e32bcd64cda --- /dev/null +++ b/.output/server/node_modules/has-tostringtag/shams.js @@ -0,0 +1,8 @@ +'use strict'; + +var hasSymbols = require('has-symbols/shams'); + +/** @type {import('.')} */ +module.exports = function hasToStringTagShams() { + return hasSymbols() && !!Symbol.toStringTag; +}; diff --git a/.output/server/node_modules/hasown/index.js b/.output/server/node_modules/hasown/index.js new file mode 100644 index 0000000000000000000000000000000000000000..34e60591349679d8cbdb1033a60eb5d171d7637e --- /dev/null +++ b/.output/server/node_modules/hasown/index.js @@ -0,0 +1,8 @@ +'use strict'; + +var call = Function.prototype.call; +var $hasOwn = Object.prototype.hasOwnProperty; +var bind = require('function-bind'); + +/** @type {import('.')} */ +module.exports = bind.call(call, $hasOwn); diff --git a/.output/server/node_modules/hasown/package.json b/.output/server/node_modules/hasown/package.json new file mode 100644 index 0000000000000000000000000000000000000000..7d719ca22276c158e76eb070a97ba8bf63eb57c2 --- /dev/null +++ b/.output/server/node_modules/hasown/package.json @@ -0,0 +1,92 @@ +{ + "name": "hasown", + "version": "2.0.2", + "description": "A robust, ES3 compatible, \"has own property\" predicate.", + "main": "index.js", + "exports": { + ".": "./index.js", + "./package.json": "./package.json" + }, + "types": "index.d.ts", + "sideEffects": false, + "scripts": { + "prepack": "npmignore --auto --commentLines=autogenerated", + "prepublish": "not-in-publish || npm run prepublishOnly", + "prepublishOnly": "safe-publish-latest", + "prelint": "evalmd README.md", + "lint": "eslint --ext=js,mjs .", + "postlint": "npm run tsc", + "pretest": "npm run lint", + "tsc": "tsc -p .", + "posttsc": "attw -P", + "tests-only": "nyc tape 'test/**/*.js'", + "test": "npm run tests-only", + "posttest": "aud --production", + "version": "auto-changelog && git add CHANGELOG.md", + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/inspect-js/hasOwn.git" + }, + "keywords": [ + "has", + "hasOwnProperty", + "hasOwn", + "has-own", + "own", + "has", + "property", + "in", + "javascript", + "ecmascript" + ], + "author": "Jordan Harband <ljharb@gmail.com>", + "license": "MIT", + "bugs": { + "url": "https://github.com/inspect-js/hasOwn/issues" + }, + "homepage": "https://github.com/inspect-js/hasOwn#readme", + "dependencies": { + "function-bind": "^1.1.2" + }, + "devDependencies": { + "@arethetypeswrong/cli": "^0.15.1", + "@ljharb/eslint-config": "^21.1.0", + "@ljharb/tsconfig": "^0.2.0", + "@types/function-bind": "^1.1.10", + "@types/mock-property": "^1.0.2", + "@types/tape": "^5.6.4", + "aud": "^2.0.4", + "auto-changelog": "^2.4.0", + "eslint": "=8.8.0", + "evalmd": "^0.0.19", + "in-publish": "^2.0.1", + "mock-property": "^1.0.3", + "npmignore": "^0.3.1", + "nyc": "^10.3.2", + "safe-publish-latest": "^2.0.0", + "tape": "^5.7.5", + "typescript": "next" + }, + "engines": { + "node": ">= 0.4" + }, + "testling": { + "files": "test/index.js" + }, + "auto-changelog": { + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": false, + "backfillLimit": false, + "hideCredit": true + }, + "publishConfig": { + "ignore": [ + ".github/workflows", + "test" + ] + } +} \ No newline at end of file diff --git a/.output/server/node_modules/jose/dist/webapi/index.js b/.output/server/node_modules/jose/dist/webapi/index.js new file mode 100644 index 0000000000000000000000000000000000000000..a4421b247b15c84261966d1dd3b3df55f35b842c --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/index.js @@ -0,0 +1,30 @@ +export { compactDecrypt } from './jwe/compact/decrypt.js'; +export { flattenedDecrypt } from './jwe/flattened/decrypt.js'; +export { generalDecrypt } from './jwe/general/decrypt.js'; +export { GeneralEncrypt } from './jwe/general/encrypt.js'; +export { compactVerify } from './jws/compact/verify.js'; +export { flattenedVerify } from './jws/flattened/verify.js'; +export { generalVerify } from './jws/general/verify.js'; +export { jwtVerify } from './jwt/verify.js'; +export { jwtDecrypt } from './jwt/decrypt.js'; +export { CompactEncrypt } from './jwe/compact/encrypt.js'; +export { FlattenedEncrypt } from './jwe/flattened/encrypt.js'; +export { CompactSign } from './jws/compact/sign.js'; +export { FlattenedSign } from './jws/flattened/sign.js'; +export { GeneralSign } from './jws/general/sign.js'; +export { SignJWT } from './jwt/sign.js'; +export { EncryptJWT } from './jwt/encrypt.js'; +export { calculateJwkThumbprint, calculateJwkThumbprintUri } from './jwk/thumbprint.js'; +export { EmbeddedJWK } from './jwk/embedded.js'; +export { createLocalJWKSet } from './jwks/local.js'; +export { createRemoteJWKSet, jwksCache, customFetch } from './jwks/remote.js'; +export { UnsecuredJWT } from './jwt/unsecured.js'; +export { exportPKCS8, exportSPKI, exportJWK } from './key/export.js'; +export { importSPKI, importPKCS8, importX509, importJWK } from './key/import.js'; +export { decodeProtectedHeader } from './util/decode_protected_header.js'; +export { decodeJwt } from './util/decode_jwt.js'; +export * as errors from './util/errors.js'; +export { generateKeyPair } from './key/generate_key_pair.js'; +export { generateSecret } from './key/generate_secret.js'; +export * as base64url from './util/base64url.js'; +export const cryptoRuntime = 'WebCryptoAPI'; diff --git a/.output/server/node_modules/jose/dist/webapi/jwe/compact/decrypt.js b/.output/server/node_modules/jose/dist/webapi/jwe/compact/decrypt.js new file mode 100644 index 0000000000000000000000000000000000000000..d74a67b1340dee67081decaf1ad8b8adee45cd36 --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/jwe/compact/decrypt.js @@ -0,0 +1,27 @@ +import { flattenedDecrypt } from '../flattened/decrypt.js'; +import { JWEInvalid } from '../../util/errors.js'; +import { decoder } from '../../lib/buffer_utils.js'; +export async function compactDecrypt(jwe, key, options) { + if (jwe instanceof Uint8Array) { + jwe = decoder.decode(jwe); + } + if (typeof jwe !== 'string') { + throw new JWEInvalid('Compact JWE must be a string or Uint8Array'); + } + const { 0: protectedHeader, 1: encryptedKey, 2: iv, 3: ciphertext, 4: tag, length, } = jwe.split('.'); + if (length !== 5) { + throw new JWEInvalid('Invalid Compact JWE'); + } + const decrypted = await flattenedDecrypt({ + ciphertext, + iv: iv || undefined, + protected: protectedHeader, + tag: tag || undefined, + encrypted_key: encryptedKey || undefined, + }, key, options); + const result = { plaintext: decrypted.plaintext, protectedHeader: decrypted.protectedHeader }; + if (typeof key === 'function') { + return { ...result, key: decrypted.key }; + } + return result; +} diff --git a/.output/server/node_modules/jose/dist/webapi/jwe/compact/encrypt.js b/.output/server/node_modules/jose/dist/webapi/jwe/compact/encrypt.js new file mode 100644 index 0000000000000000000000000000000000000000..e4a44d0cee47255262aabcbf629a0875c701b92f --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/jwe/compact/encrypt.js @@ -0,0 +1,27 @@ +import { FlattenedEncrypt } from '../flattened/encrypt.js'; +export class CompactEncrypt { + _flattened; + constructor(plaintext) { + this._flattened = new FlattenedEncrypt(plaintext); + } + setContentEncryptionKey(cek) { + this._flattened.setContentEncryptionKey(cek); + return this; + } + setInitializationVector(iv) { + this._flattened.setInitializationVector(iv); + return this; + } + setProtectedHeader(protectedHeader) { + this._flattened.setProtectedHeader(protectedHeader); + return this; + } + setKeyManagementParameters(parameters) { + this._flattened.setKeyManagementParameters(parameters); + return this; + } + async encrypt(key, options) { + const jwe = await this._flattened.encrypt(key, options); + return [jwe.protected, jwe.encrypted_key, jwe.iv, jwe.ciphertext, jwe.tag].join('.'); + } +} diff --git a/.output/server/node_modules/jose/dist/webapi/jwe/flattened/decrypt.js b/.output/server/node_modules/jose/dist/webapi/jwe/flattened/decrypt.js new file mode 100644 index 0000000000000000000000000000000000000000..418708579b00e6174830de0fc49ec3ce8a8de6fc --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/jwe/flattened/decrypt.js @@ -0,0 +1,165 @@ +import { decode as b64u } from '../../util/base64url.js'; +import decrypt from '../../lib/decrypt.js'; +import { JOSEAlgNotAllowed, JOSENotSupported, JWEInvalid } from '../../util/errors.js'; +import isDisjoint from '../../lib/is_disjoint.js'; +import isObject from '../../lib/is_object.js'; +import decryptKeyManagement from '../../lib/decrypt_key_management.js'; +import { encoder, decoder, concat } from '../../lib/buffer_utils.js'; +import generateCek from '../../lib/cek.js'; +import validateCrit from '../../lib/validate_crit.js'; +import validateAlgorithms from '../../lib/validate_algorithms.js'; +import normalizeKey from '../../lib/normalize_key.js'; +import checkKeyType from '../../lib/check_key_type.js'; +export async function flattenedDecrypt(jwe, key, options) { + if (!isObject(jwe)) { + throw new JWEInvalid('Flattened JWE must be an object'); + } + if (jwe.protected === undefined && jwe.header === undefined && jwe.unprotected === undefined) { + throw new JWEInvalid('JOSE Header missing'); + } + if (jwe.iv !== undefined && typeof jwe.iv !== 'string') { + throw new JWEInvalid('JWE Initialization Vector incorrect type'); + } + if (typeof jwe.ciphertext !== 'string') { + throw new JWEInvalid('JWE Ciphertext missing or incorrect type'); + } + if (jwe.tag !== undefined && typeof jwe.tag !== 'string') { + throw new JWEInvalid('JWE Authentication Tag incorrect type'); + } + if (jwe.protected !== undefined && typeof jwe.protected !== 'string') { + throw new JWEInvalid('JWE Protected Header incorrect type'); + } + if (jwe.encrypted_key !== undefined && typeof jwe.encrypted_key !== 'string') { + throw new JWEInvalid('JWE Encrypted Key incorrect type'); + } + if (jwe.aad !== undefined && typeof jwe.aad !== 'string') { + throw new JWEInvalid('JWE AAD incorrect type'); + } + if (jwe.header !== undefined && !isObject(jwe.header)) { + throw new JWEInvalid('JWE Shared Unprotected Header incorrect type'); + } + if (jwe.unprotected !== undefined && !isObject(jwe.unprotected)) { + throw new JWEInvalid('JWE Per-Recipient Unprotected Header incorrect type'); + } + let parsedProt; + if (jwe.protected) { + try { + const protectedHeader = b64u(jwe.protected); + parsedProt = JSON.parse(decoder.decode(protectedHeader)); + } + catch { + throw new JWEInvalid('JWE Protected Header is invalid'); + } + } + if (!isDisjoint(parsedProt, jwe.header, jwe.unprotected)) { + throw new JWEInvalid('JWE Protected, JWE Unprotected Header, and JWE Per-Recipient Unprotected Header Parameter names must be disjoint'); + } + const joseHeader = { + ...parsedProt, + ...jwe.header, + ...jwe.unprotected, + }; + validateCrit(JWEInvalid, new Map(), options?.crit, parsedProt, joseHeader); + if (joseHeader.zip !== undefined) { + throw new JOSENotSupported('JWE "zip" (Compression Algorithm) Header Parameter is not supported.'); + } + const { alg, enc } = joseHeader; + if (typeof alg !== 'string' || !alg) { + throw new JWEInvalid('missing JWE Algorithm (alg) in JWE Header'); + } + if (typeof enc !== 'string' || !enc) { + throw new JWEInvalid('missing JWE Encryption Algorithm (enc) in JWE Header'); + } + const keyManagementAlgorithms = options && validateAlgorithms('keyManagementAlgorithms', options.keyManagementAlgorithms); + const contentEncryptionAlgorithms = options && + validateAlgorithms('contentEncryptionAlgorithms', options.contentEncryptionAlgorithms); + if ((keyManagementAlgorithms && !keyManagementAlgorithms.has(alg)) || + (!keyManagementAlgorithms && alg.startsWith('PBES2'))) { + throw new JOSEAlgNotAllowed('"alg" (Algorithm) Header Parameter value not allowed'); + } + if (contentEncryptionAlgorithms && !contentEncryptionAlgorithms.has(enc)) { + throw new JOSEAlgNotAllowed('"enc" (Encryption Algorithm) Header Parameter value not allowed'); + } + let encryptedKey; + if (jwe.encrypted_key !== undefined) { + try { + encryptedKey = b64u(jwe.encrypted_key); + } + catch { + throw new JWEInvalid('Failed to base64url decode the encrypted_key'); + } + } + let resolvedKey = false; + if (typeof key === 'function') { + key = await key(parsedProt, jwe); + resolvedKey = true; + } + checkKeyType(alg === 'dir' ? enc : alg, key, 'decrypt'); + const k = await normalizeKey(key, alg); + let cek; + try { + cek = await decryptKeyManagement(alg, k, encryptedKey, joseHeader, options); + } + catch (err) { + if (err instanceof TypeError || err instanceof JWEInvalid || err instanceof JOSENotSupported) { + throw err; + } + cek = generateCek(enc); + } + let iv; + let tag; + if (jwe.iv !== undefined) { + try { + iv = b64u(jwe.iv); + } + catch { + throw new JWEInvalid('Failed to base64url decode the iv'); + } + } + if (jwe.tag !== undefined) { + try { + tag = b64u(jwe.tag); + } + catch { + throw new JWEInvalid('Failed to base64url decode the tag'); + } + } + const protectedHeader = encoder.encode(jwe.protected ?? ''); + let additionalData; + if (jwe.aad !== undefined) { + additionalData = concat(protectedHeader, encoder.encode('.'), encoder.encode(jwe.aad)); + } + else { + additionalData = protectedHeader; + } + let ciphertext; + try { + ciphertext = b64u(jwe.ciphertext); + } + catch { + throw new JWEInvalid('Failed to base64url decode the ciphertext'); + } + const plaintext = await decrypt(enc, cek, ciphertext, iv, tag, additionalData); + const result = { plaintext }; + if (jwe.protected !== undefined) { + result.protectedHeader = parsedProt; + } + if (jwe.aad !== undefined) { + try { + result.additionalAuthenticatedData = b64u(jwe.aad); + } + catch { + throw new JWEInvalid('Failed to base64url decode the aad'); + } + } + if (jwe.unprotected !== undefined) { + result.sharedUnprotectedHeader = jwe.unprotected; + } + if (jwe.header !== undefined) { + result.unprotectedHeader = jwe.header; + } + if (resolvedKey) { + return { ...result, key: k }; + } + return result; +} diff --git a/.output/server/node_modules/jose/dist/webapi/jwe/flattened/encrypt.js b/.output/server/node_modules/jose/dist/webapi/jwe/flattened/encrypt.js new file mode 100644 index 0000000000000000000000000000000000000000..b2e4186944f9a43e0a2c1f7a6a4dc1275445355c --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/jwe/flattened/encrypt.js @@ -0,0 +1,165 @@ +import { encode as b64u } from '../../util/base64url.js'; +import { unprotected } from '../../lib/private_symbols.js'; +import encrypt from '../../lib/encrypt.js'; +import encryptKeyManagement from '../../lib/encrypt_key_management.js'; +import { JOSENotSupported, JWEInvalid } from '../../util/errors.js'; +import isDisjoint from '../../lib/is_disjoint.js'; +import { encoder, decoder, concat } from '../../lib/buffer_utils.js'; +import validateCrit from '../../lib/validate_crit.js'; +import normalizeKey from '../../lib/normalize_key.js'; +import checkKeyType from '../../lib/check_key_type.js'; +export class FlattenedEncrypt { + _plaintext; + _protectedHeader; + _sharedUnprotectedHeader; + _unprotectedHeader; + _aad; + _cek; + _iv; + _keyManagementParameters; + constructor(plaintext) { + if (!(plaintext instanceof Uint8Array)) { + throw new TypeError('plaintext must be an instance of Uint8Array'); + } + this._plaintext = plaintext; + } + setKeyManagementParameters(parameters) { + if (this._keyManagementParameters) { + throw new TypeError('setKeyManagementParameters can only be called once'); + } + this._keyManagementParameters = parameters; + return this; + } + setProtectedHeader(protectedHeader) { + if (this._protectedHeader) { + throw new TypeError('setProtectedHeader can only be called once'); + } + this._protectedHeader = protectedHeader; + return this; + } + setSharedUnprotectedHeader(sharedUnprotectedHeader) { + if (this._sharedUnprotectedHeader) { + throw new TypeError('setSharedUnprotectedHeader can only be called once'); + } + this._sharedUnprotectedHeader = sharedUnprotectedHeader; + return this; + } + setUnprotectedHeader(unprotectedHeader) { + if (this._unprotectedHeader) { + throw new TypeError('setUnprotectedHeader can only be called once'); + } + this._unprotectedHeader = unprotectedHeader; + return this; + } + setAdditionalAuthenticatedData(aad) { + this._aad = aad; + return this; + } + setContentEncryptionKey(cek) { + if (this._cek) { + throw new TypeError('setContentEncryptionKey can only be called once'); + } + this._cek = cek; + return this; + } + setInitializationVector(iv) { + if (this._iv) { + throw new TypeError('setInitializationVector can only be called once'); + } + this._iv = iv; + return this; + } + async encrypt(key, options) { + if (!this._protectedHeader && !this._unprotectedHeader && !this._sharedUnprotectedHeader) { + throw new JWEInvalid('either setProtectedHeader, setUnprotectedHeader, or sharedUnprotectedHeader must be called before #encrypt()'); + } + if (!isDisjoint(this._protectedHeader, this._unprotectedHeader, this._sharedUnprotectedHeader)) { + throw new JWEInvalid('JWE Protected, JWE Shared Unprotected and JWE Per-Recipient Header Parameter names must be disjoint'); + } + const joseHeader = { + ...this._protectedHeader, + ...this._unprotectedHeader, + ...this._sharedUnprotectedHeader, + }; + validateCrit(JWEInvalid, new Map(), options?.crit, this._protectedHeader, joseHeader); + if (joseHeader.zip !== undefined) { + throw new JOSENotSupported('JWE "zip" (Compression Algorithm) Header Parameter is not supported.'); + } + const { alg, enc } = joseHeader; + if (typeof alg !== 'string' || !alg) { + throw new JWEInvalid('JWE "alg" (Algorithm) Header Parameter missing or invalid'); + } + if (typeof enc !== 'string' || !enc) { + throw new JWEInvalid('JWE "enc" (Encryption Algorithm) Header Parameter missing or invalid'); + } + let encryptedKey; + if (this._cek && (alg === 'dir' || alg === 'ECDH-ES')) { + throw new TypeError(`setContentEncryptionKey cannot be called with JWE "alg" (Algorithm) Header ${alg}`); + } + checkKeyType(alg === 'dir' ? enc : alg, key, 'encrypt'); + let cek; + { + let parameters; + const k = await normalizeKey(key, alg); + ({ cek, encryptedKey, parameters } = await encryptKeyManagement(alg, enc, k, this._cek, this._keyManagementParameters)); + if (parameters) { + if (options && unprotected in options) { + if (!this._unprotectedHeader) { + this.setUnprotectedHeader(parameters); + } + else { + this._unprotectedHeader = { ...this._unprotectedHeader, ...parameters }; + } + } + else if (!this._protectedHeader) { + this.setProtectedHeader(parameters); + } + else { + this._protectedHeader = { ...this._protectedHeader, ...parameters }; + } + } + } + let additionalData; + let protectedHeader; + let aadMember; + if (this._protectedHeader) { + protectedHeader = encoder.encode(b64u(JSON.stringify(this._protectedHeader))); + } + else { + protectedHeader = encoder.encode(''); + } + if (this._aad) { + aadMember = b64u(this._aad); + additionalData = concat(protectedHeader, encoder.encode('.'), encoder.encode(aadMember)); + } + else { + additionalData = protectedHeader; + } + const { ciphertext, tag, iv } = await encrypt(enc, this._plaintext, cek, this._iv, additionalData); + const jwe = { + ciphertext: b64u(ciphertext), + }; + if (iv) { + jwe.iv = b64u(iv); + } + if (tag) { + jwe.tag = b64u(tag); + } + if (encryptedKey) { + jwe.encrypted_key = b64u(encryptedKey); + } + if (aadMember) { + jwe.aad = aadMember; + } + if (this._protectedHeader) { + jwe.protected = decoder.decode(protectedHeader); + } + if (this._sharedUnprotectedHeader) { + jwe.unprotected = this._sharedUnprotectedHeader; + } + if (this._unprotectedHeader) { + jwe.header = this._unprotectedHeader; + } + return jwe; + } +} diff --git a/.output/server/node_modules/jose/dist/webapi/jwe/general/decrypt.js b/.output/server/node_modules/jose/dist/webapi/jwe/general/decrypt.js new file mode 100644 index 0000000000000000000000000000000000000000..659958a8bc9093e4739b562a9364233ff35addb9 --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/jwe/general/decrypt.js @@ -0,0 +1,31 @@ +import { flattenedDecrypt } from '../flattened/decrypt.js'; +import { JWEDecryptionFailed, JWEInvalid } from '../../util/errors.js'; +import isObject from '../../lib/is_object.js'; +export async function generalDecrypt(jwe, key, options) { + if (!isObject(jwe)) { + throw new JWEInvalid('General JWE must be an object'); + } + if (!Array.isArray(jwe.recipients) || !jwe.recipients.every(isObject)) { + throw new JWEInvalid('JWE Recipients missing or incorrect type'); + } + if (!jwe.recipients.length) { + throw new JWEInvalid('JWE Recipients has no members'); + } + for (const recipient of jwe.recipients) { + try { + return await flattenedDecrypt({ + aad: jwe.aad, + ciphertext: jwe.ciphertext, + encrypted_key: recipient.encrypted_key, + header: recipient.header, + iv: jwe.iv, + protected: jwe.protected, + tag: jwe.tag, + unprotected: jwe.unprotected, + }, key, options); + } + catch { + } + } + throw new JWEDecryptionFailed(); +} diff --git a/.output/server/node_modules/jose/dist/webapi/jwe/general/encrypt.js b/.output/server/node_modules/jose/dist/webapi/jwe/general/encrypt.js new file mode 100644 index 0000000000000000000000000000000000000000..b0b7e1d8eedc677a69fa58e389cea00bbb7621ad --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/jwe/general/encrypt.js @@ -0,0 +1,187 @@ +import { FlattenedEncrypt } from '../flattened/encrypt.js'; +import { unprotected } from '../../lib/private_symbols.js'; +import { JOSENotSupported, JWEInvalid } from '../../util/errors.js'; +import generateCek from '../../lib/cek.js'; +import isDisjoint from '../../lib/is_disjoint.js'; +import encryptKeyManagement from '../../lib/encrypt_key_management.js'; +import { encode as b64u } from '../../util/base64url.js'; +import validateCrit from '../../lib/validate_crit.js'; +import normalizeKey from '../../lib/normalize_key.js'; +import checkKeyType from '../../lib/check_key_type.js'; +class IndividualRecipient { + parent; + unprotectedHeader; + key; + options; + constructor(enc, key, options) { + this.parent = enc; + this.key = key; + this.options = options; + } + setUnprotectedHeader(unprotectedHeader) { + if (this.unprotectedHeader) { + throw new TypeError('setUnprotectedHeader can only be called once'); + } + this.unprotectedHeader = unprotectedHeader; + return this; + } + addRecipient(...args) { + return this.parent.addRecipient(...args); + } + encrypt(...args) { + return this.parent.encrypt(...args); + } + done() { + return this.parent; + } +} +export class GeneralEncrypt { + _plaintext; + _recipients = []; + _protectedHeader; + _unprotectedHeader; + _aad; + constructor(plaintext) { + this._plaintext = plaintext; + } + addRecipient(key, options) { + const recipient = new IndividualRecipient(this, key, { crit: options?.crit }); + this._recipients.push(recipient); + return recipient; + } + setProtectedHeader(protectedHeader) { + if (this._protectedHeader) { + throw new TypeError('setProtectedHeader can only be called once'); + } + this._protectedHeader = protectedHeader; + return this; + } + setSharedUnprotectedHeader(sharedUnprotectedHeader) { + if (this._unprotectedHeader) { + throw new TypeError('setSharedUnprotectedHeader can only be called once'); + } + this._unprotectedHeader = sharedUnprotectedHeader; + return this; + } + setAdditionalAuthenticatedData(aad) { + this._aad = aad; + return this; + } + async encrypt() { + if (!this._recipients.length) { + throw new JWEInvalid('at least one recipient must be added'); + } + if (this._recipients.length === 1) { + const [recipient] = this._recipients; + const flattened = await new FlattenedEncrypt(this._plaintext) + .setAdditionalAuthenticatedData(this._aad) + .setProtectedHeader(this._protectedHeader) + .setSharedUnprotectedHeader(this._unprotectedHeader) + .setUnprotectedHeader(recipient.unprotectedHeader) + .encrypt(recipient.key, { ...recipient.options }); + const jwe = { + ciphertext: flattened.ciphertext, + iv: flattened.iv, + recipients: [{}], + tag: flattened.tag, + }; + if (flattened.aad) + jwe.aad = flattened.aad; + if (flattened.protected) + jwe.protected = flattened.protected; + if (flattened.unprotected) + jwe.unprotected = flattened.unprotected; + if (flattened.encrypted_key) + jwe.recipients[0].encrypted_key = flattened.encrypted_key; + if (flattened.header) + jwe.recipients[0].header = flattened.header; + return jwe; + } + let enc; + for (let i = 0; i < this._recipients.length; i++) { + const recipient = this._recipients[i]; + if (!isDisjoint(this._protectedHeader, this._unprotectedHeader, recipient.unprotectedHeader)) { + throw new JWEInvalid('JWE Protected, JWE Shared Unprotected and JWE Per-Recipient Header Parameter names must be disjoint'); + } + const joseHeader = { + ...this._protectedHeader, + ...this._unprotectedHeader, + ...recipient.unprotectedHeader, + }; + const { alg } = joseHeader; + if (typeof alg !== 'string' || !alg) { + throw new JWEInvalid('JWE "alg" (Algorithm) Header Parameter missing or invalid'); + } + if (alg === 'dir' || alg === 'ECDH-ES') { + throw new JWEInvalid('"dir" and "ECDH-ES" alg may only be used with a single recipient'); + } + if (typeof joseHeader.enc !== 'string' || !joseHeader.enc) { + throw new JWEInvalid('JWE "enc" (Encryption Algorithm) Header Parameter missing or invalid'); + } + if (!enc) { + enc = joseHeader.enc; + } + else if (enc !== joseHeader.enc) { + throw new JWEInvalid('JWE "enc" (Encryption Algorithm) Header Parameter must be the same for all recipients'); + } + validateCrit(JWEInvalid, new Map(), recipient.options.crit, this._protectedHeader, joseHeader); + if (joseHeader.zip !== undefined) { + throw new JOSENotSupported('JWE "zip" (Compression Algorithm) Header Parameter is not supported.'); + } + } + const cek = generateCek(enc); + const jwe = { + ciphertext: '', + iv: '', + recipients: [], + tag: '', + }; + for (let i = 0; i < this._recipients.length; i++) { + const recipient = this._recipients[i]; + const target = {}; + jwe.recipients.push(target); + const joseHeader = { + ...this._protectedHeader, + ...this._unprotectedHeader, + ...recipient.unprotectedHeader, + }; + const p2c = joseHeader.alg.startsWith('PBES2') ? 2048 + i : undefined; + if (i === 0) { + const flattened = await new FlattenedEncrypt(this._plaintext) + .setAdditionalAuthenticatedData(this._aad) + .setContentEncryptionKey(cek) + .setProtectedHeader(this._protectedHeader) + .setSharedUnprotectedHeader(this._unprotectedHeader) + .setUnprotectedHeader(recipient.unprotectedHeader) + .setKeyManagementParameters({ p2c }) + .encrypt(recipient.key, { + ...recipient.options, + [unprotected]: true, + }); + jwe.ciphertext = flattened.ciphertext; + jwe.iv = flattened.iv; + jwe.tag = flattened.tag; + if (flattened.aad) + jwe.aad = flattened.aad; + if (flattened.protected) + jwe.protected = flattened.protected; + if (flattened.unprotected) + jwe.unprotected = flattened.unprotected; + target.encrypted_key = flattened.encrypted_key; + if (flattened.header) + target.header = flattened.header; + continue; + } + const alg = recipient.unprotectedHeader?.alg || + this._protectedHeader?.alg || + this._unprotectedHeader?.alg; + checkKeyType(alg === 'dir' ? enc : alg, recipient.key, 'encrypt'); + const k = await normalizeKey(recipient.key, alg); + const { encryptedKey, parameters } = await encryptKeyManagement(alg, enc, k, cek, { p2c }); + target.encrypted_key = b64u(encryptedKey); + if (recipient.unprotectedHeader || parameters) + target.header = { ...recipient.unprotectedHeader, ...parameters }; + } + return jwe; + } +} diff --git a/.output/server/node_modules/jose/dist/webapi/jwk/embedded.js b/.output/server/node_modules/jose/dist/webapi/jwk/embedded.js new file mode 100644 index 0000000000000000000000000000000000000000..aa43b2ff75760c4aa8b2a257429252d6ddcd5471 --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/jwk/embedded.js @@ -0,0 +1,17 @@ +import { importJWK } from '../key/import.js'; +import isObject from '../lib/is_object.js'; +import { JWSInvalid } from '../util/errors.js'; +export async function EmbeddedJWK(protectedHeader, token) { + const joseHeader = { + ...protectedHeader, + ...token?.header, + }; + if (!isObject(joseHeader.jwk)) { + throw new JWSInvalid('"jwk" (JSON Web Key) Header Parameter must be a JSON object'); + } + const key = await importJWK({ ...joseHeader.jwk, ext: true }, joseHeader.alg); + if (key instanceof Uint8Array || key.type !== 'public') { + throw new JWSInvalid('"jwk" (JSON Web Key) Header Parameter must be a public key'); + } + return key; +} diff --git a/.output/server/node_modules/jose/dist/webapi/jwk/thumbprint.js b/.output/server/node_modules/jose/dist/webapi/jwk/thumbprint.js new file mode 100644 index 0000000000000000000000000000000000000000..15159c9b48baee3da1f27c670208dc819c0aa166 --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/jwk/thumbprint.js @@ -0,0 +1,63 @@ +import digest from '../lib/digest.js'; +import { encode as b64u } from '../util/base64url.js'; +import { JOSENotSupported, JWKInvalid } from '../util/errors.js'; +import { encoder } from '../lib/buffer_utils.js'; +import isKeyLike from '../lib/is_key_like.js'; +import { isJWK } from '../lib/is_jwk.js'; +import { exportJWK } from '../key/export.js'; +import invalidKeyInput from '../lib/invalid_key_input.js'; +const check = (value, description) => { + if (typeof value !== 'string' || !value) { + throw new JWKInvalid(`${description} missing or invalid`); + } +}; +export async function calculateJwkThumbprint(key, digestAlgorithm) { + let jwk; + if (isJWK(key)) { + jwk = key; + } + else if (isKeyLike(key)) { + jwk = await exportJWK(key); + } + else { + throw new TypeError(invalidKeyInput(key, 'CryptoKey', 'KeyObject', 'JSON Web Key')); + } + digestAlgorithm ??= 'sha256'; + if (digestAlgorithm !== 'sha256' && + digestAlgorithm !== 'sha384' && + digestAlgorithm !== 'sha512') { + throw new TypeError('digestAlgorithm must one of "sha256", "sha384", or "sha512"'); + } + let components; + switch (jwk.kty) { + case 'EC': + check(jwk.crv, '"crv" (Curve) Parameter'); + check(jwk.x, '"x" (X Coordinate) Parameter'); + check(jwk.y, '"y" (Y Coordinate) Parameter'); + components = { crv: jwk.crv, kty: jwk.kty, x: jwk.x, y: jwk.y }; + break; + case 'OKP': + check(jwk.crv, '"crv" (Subtype of Key Pair) Parameter'); + check(jwk.x, '"x" (Public Key) Parameter'); + components = { crv: jwk.crv, kty: jwk.kty, x: jwk.x }; + break; + case 'RSA': + check(jwk.e, '"e" (Exponent) Parameter'); + check(jwk.n, '"n" (Modulus) Parameter'); + components = { e: jwk.e, kty: jwk.kty, n: jwk.n }; + break; + case 'oct': + check(jwk.k, '"k" (Key Value) Parameter'); + components = { k: jwk.k, kty: jwk.kty }; + break; + default: + throw new JOSENotSupported('"kty" (Key Type) Parameter missing or unsupported'); + } + const data = encoder.encode(JSON.stringify(components)); + return b64u(await digest(digestAlgorithm, data)); +} +export async function calculateJwkThumbprintUri(key, digestAlgorithm) { + digestAlgorithm ??= 'sha256'; + const thumbprint = await calculateJwkThumbprint(key, digestAlgorithm); + return `urn:ietf:params:oauth:jwk-thumbprint:sha-${digestAlgorithm.slice(-3)}:${thumbprint}`; +} diff --git a/.output/server/node_modules/jose/dist/webapi/jwks/local.js b/.output/server/node_modules/jose/dist/webapi/jwks/local.js new file mode 100644 index 0000000000000000000000000000000000000000..d92a592e475cfab869b8e5fd6798b6445d3d4f10 --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/jwks/local.js @@ -0,0 +1,120 @@ +import { importJWK } from '../key/import.js'; +import { JWKSInvalid, JOSENotSupported, JWKSNoMatchingKey, JWKSMultipleMatchingKeys, } from '../util/errors.js'; +import isObject from '../lib/is_object.js'; +function getKtyFromAlg(alg) { + switch (typeof alg === 'string' && alg.slice(0, 2)) { + case 'RS': + case 'PS': + return 'RSA'; + case 'ES': + return 'EC'; + case 'Ed': + return 'OKP'; + default: + throw new JOSENotSupported('Unsupported "alg" value for a JSON Web Key Set'); + } +} +function isJWKSLike(jwks) { + return (jwks && + typeof jwks === 'object' && + Array.isArray(jwks.keys) && + jwks.keys.every(isJWKLike)); +} +function isJWKLike(key) { + return isObject(key); +} +function clone(obj) { + if (typeof structuredClone === 'function') { + return structuredClone(obj); + } + return JSON.parse(JSON.stringify(obj)); +} +class LocalJWKSet { + _jwks; + _cached = new WeakMap(); + constructor(jwks) { + if (!isJWKSLike(jwks)) { + throw new JWKSInvalid('JSON Web Key Set malformed'); + } + this._jwks = clone(jwks); + } + async getKey(protectedHeader, token) { + const { alg, kid } = { ...protectedHeader, ...token?.header }; + const kty = getKtyFromAlg(alg); + const candidates = this._jwks.keys.filter((jwk) => { + let candidate = kty === jwk.kty; + if (candidate && typeof kid === 'string') { + candidate = kid === jwk.kid; + } + if (candidate && typeof jwk.alg === 'string') { + candidate = alg === jwk.alg; + } + if (candidate && typeof jwk.use === 'string') { + candidate = jwk.use === 'sig'; + } + if (candidate && Array.isArray(jwk.key_ops)) { + candidate = jwk.key_ops.includes('verify'); + } + if (candidate) { + switch (alg) { + case 'ES256': + candidate = jwk.crv === 'P-256'; + break; + case 'ES384': + candidate = jwk.crv === 'P-384'; + break; + case 'ES512': + candidate = jwk.crv === 'P-521'; + break; + case 'Ed25519': + case 'EdDSA': + candidate = jwk.crv === 'Ed25519'; + break; + } + } + return candidate; + }); + const { 0: jwk, length } = candidates; + if (length === 0) { + throw new JWKSNoMatchingKey(); + } + if (length !== 1) { + const error = new JWKSMultipleMatchingKeys(); + const { _cached } = this; + error[Symbol.asyncIterator] = async function* () { + for (const jwk of candidates) { + try { + yield await importWithAlgCache(_cached, jwk, alg); + } + catch { } + } + }; + throw error; + } + return importWithAlgCache(this._cached, jwk, alg); + } +} +async function importWithAlgCache(cache, jwk, alg) { + const cached = cache.get(jwk) || cache.set(jwk, {}).get(jwk); + if (cached[alg] === undefined) { + const key = await importJWK({ ...jwk, ext: true }, alg); + if (key instanceof Uint8Array || key.type !== 'public') { + throw new JWKSInvalid('JSON Web Key Set members must be public keys'); + } + cached[alg] = key; + } + return cached[alg]; +} +export function createLocalJWKSet(jwks) { + const set = new LocalJWKSet(jwks); + const localJWKSet = async (protectedHeader, token) => set.getKey(protectedHeader, token); + Object.defineProperties(localJWKSet, { + jwks: { + value: () => clone(set._jwks), + enumerable: true, + configurable: false, + writable: false, + }, + }); + return localJWKSet; +} diff --git a/.output/server/node_modules/jose/dist/webapi/jwks/remote.js b/.output/server/node_modules/jose/dist/webapi/jwks/remote.js new file mode 100644 index 0000000000000000000000000000000000000000..a688309cd9cfe07f0b5cfbefa1675bd9757fb131 --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/jwks/remote.js @@ -0,0 +1,173 @@ +import { JOSEError, JWKSNoMatchingKey, JWKSTimeout } from '../util/errors.js'; +import { createLocalJWKSet } from './local.js'; +import isObject from '../lib/is_object.js'; +function isCloudflareWorkers() { + return (typeof WebSocketPair !== 'undefined' || + (typeof navigator !== 'undefined' && navigator.userAgent === 'Cloudflare-Workers') || + (typeof EdgeRuntime !== 'undefined' && EdgeRuntime === 'vercel')); +} +let USER_AGENT; +if (typeof navigator === 'undefined' || !navigator.userAgent?.startsWith?.('Mozilla/5.0 ')) { + const NAME = 'jose'; + const VERSION = 'v6.0.8'; + USER_AGENT = `${NAME}/${VERSION}`; +} +export const customFetch = Symbol(); +async function fetchJwks(url, headers, signal, fetchImpl = fetch) { + const response = await fetchImpl(url, { + method: 'GET', + signal, + redirect: 'manual', + headers, + }).catch((err) => { + if (err.name === 'TimeoutError') { + throw new JWKSTimeout(); + } + throw err; + }); + if (response.status !== 200) { + throw new JOSEError('Expected 200 OK from the JSON Web Key Set HTTP response'); + } + try { + return await response.json(); + } + catch { + throw new JOSEError('Failed to parse the JSON Web Key Set HTTP response as JSON'); + } +} +export const jwksCache = Symbol(); +function isFreshJwksCache(input, cacheMaxAge) { + if (typeof input !== 'object' || input === null) { + return false; + } + if (!('uat' in input) || typeof input.uat !== 'number' || Date.now() - input.uat >= cacheMaxAge) { + return false; + } + if (!('jwks' in input) || + !isObject(input.jwks) || + !Array.isArray(input.jwks.keys) || + !Array.prototype.every.call(input.jwks.keys, isObject)) { + return false; + } + return true; +} +class RemoteJWKSet { + _url; + _timeoutDuration; + _cooldownDuration; + _cacheMaxAge; + _jwksTimestamp; + _pendingFetch; + _headers; + [customFetch]; + _local; + _cache; + constructor(url, options) { + if (!(url instanceof URL)) { + throw new TypeError('url must be an instance of URL'); + } + this._url = new URL(url.href); + this._timeoutDuration = + typeof options?.timeoutDuration === 'number' ? options?.timeoutDuration : 5000; + this._cooldownDuration = + typeof options?.cooldownDuration === 'number' ? options?.cooldownDuration : 30000; + this._cacheMaxAge = typeof options?.cacheMaxAge === 'number' ? options?.cacheMaxAge : 600000; + this._headers = new Headers(options?.headers); + if (USER_AGENT && !this._headers.has('User-Agent')) { + this._headers.set('User-Agent', USER_AGENT); + } + if (!this._headers.has('accept')) { + this._headers.set('accept', 'application/json'); + this._headers.append('accept', 'application/jwk-set+json'); + } + this[customFetch] = options?.[customFetch]; + if (options?.[jwksCache] !== undefined) { + this._cache = options?.[jwksCache]; + if (isFreshJwksCache(options?.[jwksCache], this._cacheMaxAge)) { + this._jwksTimestamp = this._cache.uat; + this._local = createLocalJWKSet(this._cache.jwks); + } + } + } + coolingDown() { + return typeof this._jwksTimestamp === 'number' + ? Date.now() < this._jwksTimestamp + this._cooldownDuration + : false; + } + fresh() { + return typeof this._jwksTimestamp === 'number' + ? Date.now() < this._jwksTimestamp + this._cacheMaxAge + : false; + } + async getKey(protectedHeader, token) { + if (!this._local || !this.fresh()) { + await this.reload(); + } + try { + return await this._local(protectedHeader, token); + } + catch (err) { + if (err instanceof JWKSNoMatchingKey) { + if (this.coolingDown() === false) { + await this.reload(); + return this._local(protectedHeader, token); + } + } + throw err; + } + } + async reload() { + if (this._pendingFetch && isCloudflareWorkers()) { + this._pendingFetch = undefined; + } + this._pendingFetch ||= fetchJwks(this._url.href, this._headers, AbortSignal.timeout(this._timeoutDuration), this[customFetch]) + .then((json) => { + this._local = createLocalJWKSet(json); + if (this._cache) { + this._cache.uat = Date.now(); + this._cache.jwks = json; + } + this._jwksTimestamp = Date.now(); + this._pendingFetch = undefined; + }) + .catch((err) => { + this._pendingFetch = undefined; + throw err; + }); + await this._pendingFetch; + } +} +export function createRemoteJWKSet(url, options) { + const set = new RemoteJWKSet(url, options); + const remoteJWKSet = async (protectedHeader, token) => set.getKey(protectedHeader, token); + Object.defineProperties(remoteJWKSet, { + coolingDown: { + get: () => set.coolingDown(), + enumerable: true, + configurable: false, + }, + fresh: { + get: () => set.fresh(), + enumerable: true, + configurable: false, + }, + reload: { + value: () => set.reload(), + enumerable: true, + configurable: false, + writable: false, + }, + reloading: { + get: () => !!set._pendingFetch, + enumerable: true, + configurable: false, + }, + jwks: { + value: () => set._local?.jwks(), + enumerable: true, + configurable: false, + writable: false, + }, + }); + return remoteJWKSet; +} diff --git a/.output/server/node_modules/jose/dist/webapi/jws/compact/sign.js b/.output/server/node_modules/jose/dist/webapi/jws/compact/sign.js new file mode 100644 index 0000000000000000000000000000000000000000..ff408536432aa4f730f7e0d45befb1b9509d4d02 --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/jws/compact/sign.js @@ -0,0 +1,18 @@ +import { FlattenedSign } from '../flattened/sign.js'; +export class CompactSign { + _flattened; + constructor(payload) { + this._flattened = new FlattenedSign(payload); + } + setProtectedHeader(protectedHeader) { + this._flattened.setProtectedHeader(protectedHeader); + return this; + } + async sign(key, options) { + const jws = await this._flattened.sign(key, options); + if (jws.payload === undefined) { + throw new TypeError('use the flattened module for creating JWS with b64: false'); + } + return `${jws.protected}.${jws.payload}.${jws.signature}`; + } +} diff --git a/.output/server/node_modules/jose/dist/webapi/jws/compact/verify.js b/.output/server/node_modules/jose/dist/webapi/jws/compact/verify.js new file mode 100644 index 0000000000000000000000000000000000000000..c651ffb944cdd83a85d5858008b15f3616dccb19 --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/jws/compact/verify.js @@ -0,0 +1,21 @@ +import { flattenedVerify } from '../flattened/verify.js'; +import { JWSInvalid } from '../../util/errors.js'; +import { decoder } from '../../lib/buffer_utils.js'; +export async function compactVerify(jws, key, options) { + if (jws instanceof Uint8Array) { + jws = decoder.decode(jws); + } + if (typeof jws !== 'string') { + throw new JWSInvalid('Compact JWS must be a string or Uint8Array'); + } + const { 0: protectedHeader, 1: payload, 2: signature, length } = jws.split('.'); + if (length !== 3) { + throw new JWSInvalid('Invalid Compact JWS'); + } + const verified = await flattenedVerify({ payload, protected: protectedHeader, signature }, key, options); + const result = { payload: verified.payload, protectedHeader: verified.protectedHeader }; + if (typeof key === 'function') { + return { ...result, key: verified.key }; + } + return result; +} diff --git a/.output/server/node_modules/jose/dist/webapi/jws/flattened/sign.js b/.output/server/node_modules/jose/dist/webapi/jws/flattened/sign.js new file mode 100644 index 0000000000000000000000000000000000000000..9dfeeb1449555407e3224190b4a447b5d315706e --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/jws/flattened/sign.js @@ -0,0 +1,86 @@ +import { encode as b64u } from '../../util/base64url.js'; +import sign from '../../lib/sign.js'; +import isDisjoint from '../../lib/is_disjoint.js'; +import { JWSInvalid } from '../../util/errors.js'; +import { encoder, decoder, concat } from '../../lib/buffer_utils.js'; +import checkKeyType from '../../lib/check_key_type.js'; +import validateCrit from '../../lib/validate_crit.js'; +import normalizeKey from '../../lib/normalize_key.js'; +export class FlattenedSign { + _payload; + _protectedHeader; + _unprotectedHeader; + constructor(payload) { + if (!(payload instanceof Uint8Array)) { + throw new TypeError('payload must be an instance of Uint8Array'); + } + this._payload = payload; + } + setProtectedHeader(protectedHeader) { + if (this._protectedHeader) { + throw new TypeError('setProtectedHeader can only be called once'); + } + this._protectedHeader = protectedHeader; + return this; + } + setUnprotectedHeader(unprotectedHeader) { + if (this._unprotectedHeader) { + throw new TypeError('setUnprotectedHeader can only be called once'); + } + this._unprotectedHeader = unprotectedHeader; + return this; + } + async sign(key, options) { + if (!this._protectedHeader && !this._unprotectedHeader) { + throw new JWSInvalid('either setProtectedHeader or setUnprotectedHeader must be called before #sign()'); + } + if (!isDisjoint(this._protectedHeader, this._unprotectedHeader)) { + throw new JWSInvalid('JWS Protected and JWS Unprotected Header Parameter names must be disjoint'); + } + const joseHeader = { + ...this._protectedHeader, + ...this._unprotectedHeader, + }; + const extensions = validateCrit(JWSInvalid, new Map([['b64', true]]), options?.crit, this._protectedHeader, joseHeader); + let b64 = true; + if (extensions.has('b64')) { + b64 = this._protectedHeader.b64; + if (typeof b64 !== 'boolean') { + throw new JWSInvalid('The "b64" (base64url-encode payload) Header Parameter must be a boolean'); + } + } + const { alg } = joseHeader; + if (typeof alg !== 'string' || !alg) { + throw new JWSInvalid('JWS "alg" (Algorithm) Header Parameter missing or invalid'); + } + checkKeyType(alg, key, 'sign'); + let payload = this._payload; + if (b64) { + payload = encoder.encode(b64u(payload)); + } + let protectedHeader; + if (this._protectedHeader) { + protectedHeader = encoder.encode(b64u(JSON.stringify(this._protectedHeader))); + } + else { + protectedHeader = encoder.encode(''); + } + const data = concat(protectedHeader, encoder.encode('.'), payload); + const k = await normalizeKey(key, alg); + const signature = await sign(alg, k, data); + const jws = { + signature: b64u(signature), + payload: '', + }; + if (b64) { + jws.payload = decoder.decode(payload); + } + if (this._unprotectedHeader) { + jws.header = this._unprotectedHeader; + } + if (this._protectedHeader) { + jws.protected = decoder.decode(protectedHeader); + } + return jws; + } +} diff --git a/.output/server/node_modules/jose/dist/webapi/jws/flattened/verify.js b/.output/server/node_modules/jose/dist/webapi/jws/flattened/verify.js new file mode 100644 index 0000000000000000000000000000000000000000..a3203be5107bc11ebf1667bb13abf0b533c5f69e --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/jws/flattened/verify.js @@ -0,0 +1,116 @@ +import { decode as b64u } from '../../util/base64url.js'; +import verify from '../../lib/verify.js'; +import { JOSEAlgNotAllowed, JWSInvalid, JWSSignatureVerificationFailed } from '../../util/errors.js'; +import { concat, encoder, decoder } from '../../lib/buffer_utils.js'; +import isDisjoint from '../../lib/is_disjoint.js'; +import isObject from '../../lib/is_object.js'; +import checkKeyType from '../../lib/check_key_type.js'; +import validateCrit from '../../lib/validate_crit.js'; +import validateAlgorithms from '../../lib/validate_algorithms.js'; +import normalizeKey from '../../lib/normalize_key.js'; +export async function flattenedVerify(jws, key, options) { + if (!isObject(jws)) { + throw new JWSInvalid('Flattened JWS must be an object'); + } + if (jws.protected === undefined && jws.header === undefined) { + throw new JWSInvalid('Flattened JWS must have either of the "protected" or "header" members'); + } + if (jws.protected !== undefined && typeof jws.protected !== 'string') { + throw new JWSInvalid('JWS Protected Header incorrect type'); + } + if (jws.payload === undefined) { + throw new JWSInvalid('JWS Payload missing'); + } + if (typeof jws.signature !== 'string') { + throw new JWSInvalid('JWS Signature missing or incorrect type'); + } + if (jws.header !== undefined && !isObject(jws.header)) { + throw new JWSInvalid('JWS Unprotected Header incorrect type'); + } + let parsedProt = {}; + if (jws.protected) { + try { + const protectedHeader = b64u(jws.protected); + parsedProt = JSON.parse(decoder.decode(protectedHeader)); + } + catch { + throw new JWSInvalid('JWS Protected Header is invalid'); + } + } + if (!isDisjoint(parsedProt, jws.header)) { + throw new JWSInvalid('JWS Protected and JWS Unprotected Header Parameter names must be disjoint'); + } + const joseHeader = { + ...parsedProt, + ...jws.header, + }; + const extensions = validateCrit(JWSInvalid, new Map([['b64', true]]), options?.crit, parsedProt, joseHeader); + let b64 = true; + if (extensions.has('b64')) { + b64 = parsedProt.b64; + if (typeof b64 !== 'boolean') { + throw new JWSInvalid('The "b64" (base64url-encode payload) Header Parameter must be a boolean'); + } + } + const { alg } = joseHeader; + if (typeof alg !== 'string' || !alg) { + throw new JWSInvalid('JWS "alg" (Algorithm) Header Parameter missing or invalid'); + } + const algorithms = options && validateAlgorithms('algorithms', options.algorithms); + if (algorithms && !algorithms.has(alg)) { + throw new JOSEAlgNotAllowed('"alg" (Algorithm) Header Parameter value not allowed'); + } + if (b64) { + if (typeof jws.payload !== 'string') { + throw new JWSInvalid('JWS Payload must be a string'); + } + } + else if (typeof jws.payload !== 'string' && !(jws.payload instanceof Uint8Array)) { + throw new JWSInvalid('JWS Payload must be a string or an Uint8Array instance'); + } + let resolvedKey = false; + if (typeof key === 'function') { + key = await key(parsedProt, jws); + resolvedKey = true; + } + checkKeyType(alg, key, 'verify'); + const data = concat(encoder.encode(jws.protected ?? ''), encoder.encode('.'), typeof jws.payload === 'string' ? encoder.encode(jws.payload) : jws.payload); + let signature; + try { + signature = b64u(jws.signature); + } + catch { + throw new JWSInvalid('Failed to base64url decode the signature'); + } + const k = await normalizeKey(key, alg); + const verified = await verify(alg, k, signature, data); + if (!verified) { + throw new JWSSignatureVerificationFailed(); + } + let payload; + if (b64) { + try { + payload = b64u(jws.payload); + } + catch { + throw new JWSInvalid('Failed to base64url decode the payload'); + } + } + else if (typeof jws.payload === 'string') { + payload = encoder.encode(jws.payload); + } + else { + payload = jws.payload; + } + const result = { payload }; + if (jws.protected !== undefined) { + result.protectedHeader = parsedProt; + } + if (jws.header !== undefined) { + result.unprotectedHeader = jws.header; + } + if (resolvedKey) { + return { ...result, key: k }; + } + return result; +} diff --git a/.output/server/node_modules/jose/dist/webapi/jws/general/sign.js b/.output/server/node_modules/jose/dist/webapi/jws/general/sign.js new file mode 100644 index 0000000000000000000000000000000000000000..620dd48fe3b93a09a5801ee7bbf1fa96138f9b7f --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/jws/general/sign.js @@ -0,0 +1,73 @@ +import { FlattenedSign } from '../flattened/sign.js'; +import { JWSInvalid } from '../../util/errors.js'; +class IndividualSignature { + parent; + protectedHeader; + unprotectedHeader; + options; + key; + constructor(sig, key, options) { + this.parent = sig; + this.key = key; + this.options = options; + } + setProtectedHeader(protectedHeader) { + if (this.protectedHeader) { + throw new TypeError('setProtectedHeader can only be called once'); + } + this.protectedHeader = protectedHeader; + return this; + } + setUnprotectedHeader(unprotectedHeader) { + if (this.unprotectedHeader) { + throw new TypeError('setUnprotectedHeader can only be called once'); + } + this.unprotectedHeader = unprotectedHeader; + return this; + } + addSignature(...args) { + return this.parent.addSignature(...args); + } + sign(...args) { + return this.parent.sign(...args); + } + done() { + return this.parent; + } +} +export class GeneralSign { + _payload; + _signatures = []; + constructor(payload) { + this._payload = payload; + } + addSignature(key, options) { + const signature = new IndividualSignature(this, key, options); + this._signatures.push(signature); + return signature; + } + async sign() { + if (!this._signatures.length) { + throw new JWSInvalid('at least one signature must be added'); + } + const jws = { + signatures: [], + payload: '', + }; + for (let i = 0; i < this._signatures.length; i++) { + const signature = this._signatures[i]; + const flattened = new FlattenedSign(this._payload); + flattened.setProtectedHeader(signature.protectedHeader); + flattened.setUnprotectedHeader(signature.unprotectedHeader); + const { payload, ...rest } = await flattened.sign(signature.key, signature.options); + if (i === 0) { + jws.payload = payload; + } + else if (jws.payload !== payload) { + throw new JWSInvalid('inconsistent use of JWS Unencoded Payload (RFC7797)'); + } + jws.signatures.push(rest); + } + return jws; + } +} diff --git a/.output/server/node_modules/jose/dist/webapi/jws/general/verify.js b/.output/server/node_modules/jose/dist/webapi/jws/general/verify.js new file mode 100644 index 0000000000000000000000000000000000000000..c511b722dc75cb01f817976d189470687a591c71 --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/jws/general/verify.js @@ -0,0 +1,24 @@ +import { flattenedVerify } from '../flattened/verify.js'; +import { JWSInvalid, JWSSignatureVerificationFailed } from '../../util/errors.js'; +import isObject from '../../lib/is_object.js'; +export async function generalVerify(jws, key, options) { + if (!isObject(jws)) { + throw new JWSInvalid('General JWS must be an object'); + } + if (!Array.isArray(jws.signatures) || !jws.signatures.every(isObject)) { + throw new JWSInvalid('JWS Signatures missing or incorrect type'); + } + for (const signature of jws.signatures) { + try { + return await flattenedVerify({ + header: signature.header, + payload: jws.payload, + protected: signature.protected, + signature: signature.signature, + }, key, options); + } + catch { + } + } + throw new JWSSignatureVerificationFailed(); +} diff --git a/.output/server/node_modules/jose/dist/webapi/jwt/decrypt.js b/.output/server/node_modules/jose/dist/webapi/jwt/decrypt.js new file mode 100644 index 0000000000000000000000000000000000000000..c3a85fe5af0229c3235d6a61c8b5a218827b270f --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/jwt/decrypt.js @@ -0,0 +1,23 @@ +import { compactDecrypt } from '../jwe/compact/decrypt.js'; +import jwtPayload from '../lib/jwt_claims_set.js'; +import { JWTClaimValidationFailed } from '../util/errors.js'; +export async function jwtDecrypt(jwt, key, options) { + const decrypted = await compactDecrypt(jwt, key, options); + const payload = jwtPayload(decrypted.protectedHeader, decrypted.plaintext, options); + const { protectedHeader } = decrypted; + if (protectedHeader.iss !== undefined && protectedHeader.iss !== payload.iss) { + throw new JWTClaimValidationFailed('replicated "iss" claim header parameter mismatch', payload, 'iss', 'mismatch'); + } + if (protectedHeader.sub !== undefined && protectedHeader.sub !== payload.sub) { + throw new JWTClaimValidationFailed('replicated "sub" claim header parameter mismatch', payload, 'sub', 'mismatch'); + } + if (protectedHeader.aud !== undefined && + JSON.stringify(protectedHeader.aud) !== JSON.stringify(payload.aud)) { + throw new JWTClaimValidationFailed('replicated "aud" claim header parameter mismatch', payload, 'aud', 'mismatch'); + } + const result = { payload, protectedHeader }; + if (typeof key === 'function') { + return { ...result, key: decrypted.key }; + } + return result; +} diff --git a/.output/server/node_modules/jose/dist/webapi/jwt/encrypt.js b/.output/server/node_modules/jose/dist/webapi/jwt/encrypt.js new file mode 100644 index 0000000000000000000000000000000000000000..20359898107fab5aea7ce596894a4a66947bfa5a --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/jwt/encrypt.js @@ -0,0 +1,75 @@ +import { CompactEncrypt } from '../jwe/compact/encrypt.js'; +import { encoder } from '../lib/buffer_utils.js'; +import { ProduceJWT } from './produce.js'; +export class EncryptJWT extends ProduceJWT { + _cek; + _iv; + _keyManagementParameters; + _protectedHeader; + _replicateIssuerAsHeader; + _replicateSubjectAsHeader; + _replicateAudienceAsHeader; + setProtectedHeader(protectedHeader) { + if (this._protectedHeader) { + throw new TypeError('setProtectedHeader can only be called once'); + } + this._protectedHeader = protectedHeader; + return this; + } + setKeyManagementParameters(parameters) { + if (this._keyManagementParameters) { + throw new TypeError('setKeyManagementParameters can only be called once'); + } + this._keyManagementParameters = parameters; + return this; + } + setContentEncryptionKey(cek) { + if (this._cek) { + throw new TypeError('setContentEncryptionKey can only be called once'); + } + this._cek = cek; + return this; + } + setInitializationVector(iv) { + if (this._iv) { + throw new TypeError('setInitializationVector can only be called once'); + } + this._iv = iv; + return this; + } + replicateIssuerAsHeader() { + this._replicateIssuerAsHeader = true; + return this; + } + replicateSubjectAsHeader() { + this._replicateSubjectAsHeader = true; + return this; + } + replicateAudienceAsHeader() { + this._replicateAudienceAsHeader = true; + return this; + } + async encrypt(key, options) { + const enc = new CompactEncrypt(encoder.encode(JSON.stringify(this._payload))); + if (this._replicateIssuerAsHeader) { + this._protectedHeader = { ...this._protectedHeader, iss: this._payload.iss }; + } + if (this._replicateSubjectAsHeader) { + this._protectedHeader = { ...this._protectedHeader, sub: this._payload.sub }; + } + if (this._replicateAudienceAsHeader) { + this._protectedHeader = { ...this._protectedHeader, aud: this._payload.aud }; + } + enc.setProtectedHeader(this._protectedHeader); + if (this._iv) { + enc.setInitializationVector(this._iv); + } + if (this._cek) { + enc.setContentEncryptionKey(this._cek); + } + if (this._keyManagementParameters) { + enc.setKeyManagementParameters(this._keyManagementParameters); + } + return enc.encrypt(key, options); + } +} diff --git a/.output/server/node_modules/jose/dist/webapi/jwt/produce.js b/.output/server/node_modules/jose/dist/webapi/jwt/produce.js new file mode 100644 index 0000000000000000000000000000000000000000..7954c65b8c4fbfa7d13192c29c6fbb3f8bef8242 --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/jwt/produce.js @@ -0,0 +1,76 @@ +import epoch from '../lib/epoch.js'; +import isObject from '../lib/is_object.js'; +import secs from '../lib/secs.js'; +function validateInput(label, input) { + if (!Number.isFinite(input)) { + throw new TypeError(`Invalid ${label} input`); + } + return input; +} +export class ProduceJWT { + _payload; + constructor(payload = {}) { + if (!isObject(payload)) { + throw new TypeError('JWT Claims Set MUST be an object'); + } + this._payload = payload; + } + setIssuer(issuer) { + this._payload = { ...this._payload, iss: issuer }; + return this; + } + setSubject(subject) { + this._payload = { ...this._payload, sub: subject }; + return this; + } + setAudience(audience) { + this._payload = { ...this._payload, aud: audience }; + return this; + } + setJti(jwtId) { + this._payload = { ...this._payload, jti: jwtId }; + return this; + } + setNotBefore(input) { + if (typeof input === 'number') { + this._payload = { ...this._payload, nbf: validateInput('setNotBefore', input) }; + } + else if (input instanceof Date) { + this._payload = { ...this._payload, nbf: validateInput('setNotBefore', epoch(input)) }; + } + else { + this._payload = { ...this._payload, nbf: epoch(new Date()) + secs(input) }; + } + return this; + } + setExpirationTime(input) { + if (typeof input === 'number') { + this._payload = { ...this._payload, exp: validateInput('setExpirationTime', input) }; + } + else if (input instanceof Date) { + this._payload = { ...this._payload, exp: validateInput('setExpirationTime', epoch(input)) }; + } + else { + this._payload = { ...this._payload, exp: epoch(new Date()) + secs(input) }; + } + return this; + } + setIssuedAt(input) { + if (typeof input === 'undefined') { + this._payload = { ...this._payload, iat: epoch(new Date()) }; + } + else if (input instanceof Date) { + this._payload = { ...this._payload, iat: validateInput('setIssuedAt', epoch(input)) }; + } + else if (typeof input === 'string') { + this._payload = { + ...this._payload, + iat: validateInput('setIssuedAt', epoch(new Date()) + secs(input)), + }; + } + else { + this._payload = { ...this._payload, iat: validateInput('setIssuedAt', input) }; + } + return this; + } +} diff --git a/.output/server/node_modules/jose/dist/webapi/jwt/sign.js b/.output/server/node_modules/jose/dist/webapi/jwt/sign.js new file mode 100644 index 0000000000000000000000000000000000000000..16bf9f436043f5456f557039227abd4c56204c89 --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/jwt/sign.js @@ -0,0 +1,21 @@ +import { CompactSign } from '../jws/compact/sign.js'; +import { JWTInvalid } from '../util/errors.js'; +import { encoder } from '../lib/buffer_utils.js'; +import { ProduceJWT } from './produce.js'; +export class SignJWT extends ProduceJWT { + _protectedHeader; + setProtectedHeader(protectedHeader) { + this._protectedHeader = protectedHeader; + return this; + } + async sign(key, options) { + const sig = new CompactSign(encoder.encode(JSON.stringify(this._payload))); + sig.setProtectedHeader(this._protectedHeader); + if (Array.isArray(this._protectedHeader?.crit) && + this._protectedHeader.crit.includes('b64') && + this._protectedHeader.b64 === false) { + throw new JWTInvalid('JWTs MUST NOT use unencoded payload'); + } + return sig.sign(key, options); + } +} diff --git a/.output/server/node_modules/jose/dist/webapi/jwt/unsecured.js b/.output/server/node_modules/jose/dist/webapi/jwt/unsecured.js new file mode 100644 index 0000000000000000000000000000000000000000..552ae60a30fc7af1fc78cf895d6c736713921db4 --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/jwt/unsecured.js @@ -0,0 +1,32 @@ +import * as b64u from '../util/base64url.js'; +import { decoder } from '../lib/buffer_utils.js'; +import { JWTInvalid } from '../util/errors.js'; +import jwtPayload from '../lib/jwt_claims_set.js'; +import { ProduceJWT } from './produce.js'; +export class UnsecuredJWT extends ProduceJWT { + encode() { + const header = b64u.encode(JSON.stringify({ alg: 'none' })); + const payload = b64u.encode(JSON.stringify(this._payload)); + return `${header}.${payload}.`; + } + static decode(jwt, options) { + if (typeof jwt !== 'string') { + throw new JWTInvalid('Unsecured JWT must be a string'); + } + const { 0: encodedHeader, 1: encodedPayload, 2: signature, length } = jwt.split('.'); + if (length !== 3 || signature !== '') { + throw new JWTInvalid('Invalid Unsecured JWT'); + } + let header; + try { + header = JSON.parse(decoder.decode(b64u.decode(encodedHeader))); + if (header.alg !== 'none') + throw new Error(); + } + catch { + throw new JWTInvalid('Invalid Unsecured JWT'); + } + const payload = jwtPayload(header, b64u.decode(encodedPayload), options); + return { payload, header }; + } +} diff --git a/.output/server/node_modules/jose/dist/webapi/jwt/verify.js b/.output/server/node_modules/jose/dist/webapi/jwt/verify.js new file mode 100644 index 0000000000000000000000000000000000000000..f5d99d06b5b3cd981259f8d6da6b4f13647d016f --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/jwt/verify.js @@ -0,0 +1,15 @@ +import { compactVerify } from '../jws/compact/verify.js'; +import jwtPayload from '../lib/jwt_claims_set.js'; +import { JWTInvalid } from '../util/errors.js'; +export async function jwtVerify(jwt, key, options) { + const verified = await compactVerify(jwt, key, options); + if (verified.protectedHeader.crit?.includes('b64') && verified.protectedHeader.b64 === false) { + throw new JWTInvalid('JWTs MUST NOT use unencoded payload'); + } + const payload = jwtPayload(verified.protectedHeader, verified.payload, options); + const result = { payload, protectedHeader: verified.protectedHeader }; + if (typeof key === 'function') { + return { ...result, key: verified.key }; + } + return result; +} diff --git a/.output/server/node_modules/jose/dist/webapi/key/export.js b/.output/server/node_modules/jose/dist/webapi/key/export.js new file mode 100644 index 0000000000000000000000000000000000000000..0bc3355dc40714a1889e902a3c975737b069b504 --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/key/export.js @@ -0,0 +1,11 @@ +import { toSPKI as exportPublic, toPKCS8 as exportPrivate } from '../lib/asn1.js'; +import keyToJWK from '../lib/key_to_jwk.js'; +export async function exportSPKI(key) { + return exportPublic(key); +} +export async function exportPKCS8(key) { + return exportPrivate(key); +} +export async function exportJWK(key) { + return keyToJWK(key); +} diff --git a/.output/server/node_modules/jose/dist/webapi/key/generate_key_pair.js b/.output/server/node_modules/jose/dist/webapi/key/generate_key_pair.js new file mode 100644 index 0000000000000000000000000000000000000000..547a23d0e6159d756be28bb6062619bea21038b0 --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/key/generate_key_pair.js @@ -0,0 +1,90 @@ +import { JOSENotSupported } from '../util/errors.js'; +function getModulusLengthOption(options) { + const modulusLength = options?.modulusLength ?? 2048; + if (typeof modulusLength !== 'number' || modulusLength < 2048) { + throw new JOSENotSupported('Invalid or unsupported modulusLength option provided, 2048 bits or larger keys must be used'); + } + return modulusLength; +} +export async function generateKeyPair(alg, options) { + let algorithm; + let keyUsages; + switch (alg) { + case 'PS256': + case 'PS384': + case 'PS512': + algorithm = { + name: 'RSA-PSS', + hash: `SHA-${alg.slice(-3)}`, + publicExponent: new Uint8Array([0x01, 0x00, 0x01]), + modulusLength: getModulusLengthOption(options), + }; + keyUsages = ['sign', 'verify']; + break; + case 'RS256': + case 'RS384': + case 'RS512': + algorithm = { + name: 'RSASSA-PKCS1-v1_5', + hash: `SHA-${alg.slice(-3)}`, + publicExponent: new Uint8Array([0x01, 0x00, 0x01]), + modulusLength: getModulusLengthOption(options), + }; + keyUsages = ['sign', 'verify']; + break; + case 'RSA-OAEP': + case 'RSA-OAEP-256': + case 'RSA-OAEP-384': + case 'RSA-OAEP-512': + algorithm = { + name: 'RSA-OAEP', + hash: `SHA-${parseInt(alg.slice(-3), 10) || 1}`, + publicExponent: new Uint8Array([0x01, 0x00, 0x01]), + modulusLength: getModulusLengthOption(options), + }; + keyUsages = ['decrypt', 'unwrapKey', 'encrypt', 'wrapKey']; + break; + case 'ES256': + algorithm = { name: 'ECDSA', namedCurve: 'P-256' }; + keyUsages = ['sign', 'verify']; + break; + case 'ES384': + algorithm = { name: 'ECDSA', namedCurve: 'P-384' }; + keyUsages = ['sign', 'verify']; + break; + case 'ES512': + algorithm = { name: 'ECDSA', namedCurve: 'P-521' }; + keyUsages = ['sign', 'verify']; + break; + case 'Ed25519': + case 'EdDSA': { + keyUsages = ['sign', 'verify']; + algorithm = { name: 'Ed25519' }; + break; + } + case 'ECDH-ES': + case 'ECDH-ES+A128KW': + case 'ECDH-ES+A192KW': + case 'ECDH-ES+A256KW': { + keyUsages = ['deriveBits']; + const crv = options?.crv ?? 'P-256'; + switch (crv) { + case 'P-256': + case 'P-384': + case 'P-521': { + algorithm = { name: 'ECDH', namedCurve: crv }; + break; + } + case 'X25519': + algorithm = { name: 'X25519' }; + break; + default: + throw new JOSENotSupported('Invalid or unsupported crv option provided, supported values are P-256, P-384, P-521, and X25519'); + } + break; + } + default: + throw new JOSENotSupported('Invalid or unsupported JWK "alg" (Algorithm) Parameter value'); + } + return crypto.subtle.generateKey(algorithm, options?.extractable ?? false, keyUsages); +} diff --git a/.output/server/node_modules/jose/dist/webapi/key/generate_secret.js b/.output/server/node_modules/jose/dist/webapi/key/generate_secret.js new file mode 100644 index 0000000000000000000000000000000000000000..0fe2a12b131c7790d4231358f5b347e865f9af59 --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/key/generate_secret.js @@ -0,0 +1,40 @@ +import { JOSENotSupported } from '../util/errors.js'; +export async function generateSecret(alg, options) { + let length; + let algorithm; + let keyUsages; + switch (alg) { + case 'HS256': + case 'HS384': + case 'HS512': + length = parseInt(alg.slice(-3), 10); + algorithm = { name: 'HMAC', hash: `SHA-${length}`, length }; + keyUsages = ['sign', 'verify']; + break; + case 'A128CBC-HS256': + case 'A192CBC-HS384': + case 'A256CBC-HS512': + length = parseInt(alg.slice(-3), 10); + return crypto.getRandomValues(new Uint8Array(length >> 3)); + case 'A128KW': + case 'A192KW': + case 'A256KW': + length = parseInt(alg.slice(1, 4), 10); + algorithm = { name: 'AES-KW', length }; + keyUsages = ['wrapKey', 'unwrapKey']; + break; + case 'A128GCMKW': + case 'A192GCMKW': + case 'A256GCMKW': + case 'A128GCM': + case 'A192GCM': + case 'A256GCM': + length = parseInt(alg.slice(1, 4), 10); + algorithm = { name: 'AES-GCM', length }; + keyUsages = ['encrypt', 'decrypt']; + break; + default: + throw new JOSENotSupported('Invalid or unsupported JWK "alg" (Algorithm) Parameter value'); + } + return crypto.subtle.generateKey(algorithm, options?.extractable ?? false, keyUsages); +} diff --git a/.output/server/node_modules/jose/dist/webapi/key/import.js b/.output/server/node_modules/jose/dist/webapi/key/import.js new file mode 100644 index 0000000000000000000000000000000000000000..d677228dea5bbd23ce15b389c5fe00298599c4a9 --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/key/import.js @@ -0,0 +1,47 @@ +import { decode as decodeBase64URL } from '../util/base64url.js'; +import { fromSPKI, fromPKCS8, fromX509 } from '../lib/asn1.js'; +import toCryptoKey from '../lib/jwk_to_key.js'; +import { JOSENotSupported } from '../util/errors.js'; +import isObject from '../lib/is_object.js'; +export async function importSPKI(spki, alg, options) { + if (typeof spki !== 'string' || spki.indexOf('-----BEGIN PUBLIC KEY-----') !== 0) { + throw new TypeError('"spki" must be SPKI formatted string'); + } + return fromSPKI(spki, alg, options); +} +export async function importX509(x509, alg, options) { + if (typeof x509 !== 'string' || x509.indexOf('-----BEGIN CERTIFICATE-----') !== 0) { + throw new TypeError('"x509" must be X.509 formatted string'); + } + return fromX509(x509, alg, options); +} +export async function importPKCS8(pkcs8, alg, options) { + if (typeof pkcs8 !== 'string' || pkcs8.indexOf('-----BEGIN PRIVATE KEY-----') !== 0) { + throw new TypeError('"pkcs8" must be PKCS#8 formatted string'); + } + return fromPKCS8(pkcs8, alg, options); +} +export async function importJWK(jwk, alg, options) { + if (!isObject(jwk)) { + throw new TypeError('JWK must be an object'); + } + let ext; + alg ??= jwk.alg; + ext ??= options?.extractable ?? jwk.ext; + switch (jwk.kty) { + case 'oct': + if (typeof jwk.k !== 'string' || !jwk.k) { + throw new TypeError('missing "k" (Key Value) Parameter value'); + } + return decodeBase64URL(jwk.k); + case 'RSA': + if ('oth' in jwk && jwk.oth !== undefined) { + throw new JOSENotSupported('RSA JWK "oth" (Other Primes Info) Parameter value is not supported'); + } + case 'EC': + case 'OKP': + return toCryptoKey({ ...jwk, alg, ext }); + default: + throw new JOSENotSupported('Unsupported "kty" (Key Type) Parameter value'); + } +} diff --git a/.output/server/node_modules/jose/dist/webapi/lib/aesgcmkw.js b/.output/server/node_modules/jose/dist/webapi/lib/aesgcmkw.js new file mode 100644 index 0000000000000000000000000000000000000000..b3b50777bff17673a802a5b23f1cc4819c0a6948 --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/lib/aesgcmkw.js @@ -0,0 +1,16 @@ +import encrypt from './encrypt.js'; +import decrypt from './decrypt.js'; +import { encode as b64u } from '../util/base64url.js'; +export async function wrap(alg, key, cek, iv) { + const jweAlgorithm = alg.slice(0, 7); + const wrapped = await encrypt(jweAlgorithm, cek, key, iv, new Uint8Array(0)); + return { + encryptedKey: wrapped.ciphertext, + iv: b64u(wrapped.iv), + tag: b64u(wrapped.tag), + }; +} +export async function unwrap(alg, key, encryptedKey, iv, tag) { + const jweAlgorithm = alg.slice(0, 7); + return decrypt(jweAlgorithm, key, encryptedKey, iv, tag, new Uint8Array(0)); +} diff --git a/.output/server/node_modules/jose/dist/webapi/lib/aeskw.js b/.output/server/node_modules/jose/dist/webapi/lib/aeskw.js new file mode 100644 index 0000000000000000000000000000000000000000..666b69cae96856673042a24314dea1a0458f65aa --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/lib/aeskw.js @@ -0,0 +1,25 @@ +import { checkEncCryptoKey } from './crypto_key.js'; +function checkKeySize(key, alg) { + if (key.algorithm.length !== parseInt(alg.slice(1, 4), 10)) { + throw new TypeError(`Invalid key size for alg: ${alg}`); + } +} +function getCryptoKey(key, alg, usage) { + if (key instanceof Uint8Array) { + return crypto.subtle.importKey('raw', key, 'AES-KW', true, [usage]); + } + checkEncCryptoKey(key, alg, usage); + return key; +} +export async function wrap(alg, key, cek) { + const cryptoKey = await getCryptoKey(key, alg, 'wrapKey'); + checkKeySize(cryptoKey, alg); + const cryptoKeyCek = await crypto.subtle.importKey('raw', cek, { hash: 'SHA-256', name: 'HMAC' }, true, ['sign']); + return new Uint8Array(await crypto.subtle.wrapKey('raw', cryptoKeyCek, cryptoKey, 'AES-KW')); +} +export async function unwrap(alg, key, encryptedKey) { + const cryptoKey = await getCryptoKey(key, alg, 'unwrapKey'); + checkKeySize(cryptoKey, alg); + const cryptoKeyCek = await crypto.subtle.unwrapKey('raw', encryptedKey, cryptoKey, 'AES-KW', { hash: 'SHA-256', name: 'HMAC' }, true, ['sign']); + return new Uint8Array(await crypto.subtle.exportKey('raw', cryptoKeyCek)); +} diff --git a/.output/server/node_modules/jose/dist/webapi/lib/asn1.js b/.output/server/node_modules/jose/dist/webapi/lib/asn1.js new file mode 100644 index 0000000000000000000000000000000000000000..4671a7ee41c5bbc4da72b0682eb3c8f4ce0ddc03 --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/lib/asn1.js @@ -0,0 +1,215 @@ +import invalidKeyInput from './invalid_key_input.js'; +import { encodeBase64, decodeBase64 } from '../lib/base64.js'; +import { JOSENotSupported } from '../util/errors.js'; +import { isCryptoKey, isKeyObject } from './is_key_like.js'; +const formatPEM = (b64, descriptor) => { + const newlined = (b64.match(/.{1,64}/g) || []).join('\n'); + return `-----BEGIN ${descriptor}-----\n${newlined}\n-----END ${descriptor}-----`; +}; +const genericExport = async (keyType, keyFormat, key) => { + if (isKeyObject(key)) { + if (key.type !== keyType) { + throw new TypeError(`key is not a ${keyType} key`); + } + return key.export({ format: 'pem', type: keyFormat }); + } + if (!isCryptoKey(key)) { + throw new TypeError(invalidKeyInput(key, 'CryptoKey', 'KeyObject')); + } + if (!key.extractable) { + throw new TypeError('CryptoKey is not extractable'); + } + if (key.type !== keyType) { + throw new TypeError(`key is not a ${keyType} key`); + } + return formatPEM(encodeBase64(new Uint8Array(await crypto.subtle.exportKey(keyFormat, key))), `${keyType.toUpperCase()} KEY`); +}; +export const toSPKI = (key) => { + return genericExport('public', 'spki', key); +}; +export const toPKCS8 = (key) => { + return genericExport('private', 'pkcs8', key); +}; +const findOid = (keyData, oid, from = 0) => { + if (from === 0) { + oid.unshift(oid.length); + oid.unshift(0x06); + } + const i = keyData.indexOf(oid[0], from); + if (i === -1) + return false; + const sub = keyData.subarray(i, i + oid.length); + if (sub.length !== oid.length) + return false; + return sub.every((value, index) => value === oid[index]) || findOid(keyData, oid, i + 1); +}; +const getNamedCurve = (keyData) => { + switch (true) { + case findOid(keyData, [0x2a, 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07]): + return 'P-256'; + case findOid(keyData, [0x2b, 0x81, 0x04, 0x00, 0x22]): + return 'P-384'; + case findOid(keyData, [0x2b, 0x81, 0x04, 0x00, 0x23]): + return 'P-521'; + default: + return undefined; + } +}; +const genericImport = async (replace, keyFormat, pem, alg, options) => { + let algorithm; + let keyUsages; + const keyData = new Uint8Array(atob(pem.replace(replace, '')) + .split('') + .map((c) => c.charCodeAt(0))); + const isPublic = keyFormat === 'spki'; + switch (alg) { + case 'PS256': + case 'PS384': + case 'PS512': + algorithm = { name: 'RSA-PSS', hash: `SHA-${alg.slice(-3)}` }; + keyUsages = isPublic ? ['verify'] : ['sign']; + break; + case 'RS256': + case 'RS384': + case 'RS512': + algorithm = { name: 'RSASSA-PKCS1-v1_5', hash: `SHA-${alg.slice(-3)}` }; + keyUsages = isPublic ? ['verify'] : ['sign']; + break; + case 'RSA-OAEP': + case 'RSA-OAEP-256': + case 'RSA-OAEP-384': + case 'RSA-OAEP-512': + algorithm = { + name: 'RSA-OAEP', + hash: `SHA-${parseInt(alg.slice(-3), 10) || 1}`, + }; + keyUsages = isPublic ? ['encrypt', 'wrapKey'] : ['decrypt', 'unwrapKey']; + break; + case 'ES256': + algorithm = { name: 'ECDSA', namedCurve: 'P-256' }; + keyUsages = isPublic ? ['verify'] : ['sign']; + break; + case 'ES384': + algorithm = { name: 'ECDSA', namedCurve: 'P-384' }; + keyUsages = isPublic ? ['verify'] : ['sign']; + break; + case 'ES512': + algorithm = { name: 'ECDSA', namedCurve: 'P-521' }; + keyUsages = isPublic ? ['verify'] : ['sign']; + break; + case 'ECDH-ES': + case 'ECDH-ES+A128KW': + case 'ECDH-ES+A192KW': + case 'ECDH-ES+A256KW': { + const namedCurve = getNamedCurve(keyData); + algorithm = namedCurve?.startsWith('P-') ? { name: 'ECDH', namedCurve } : { name: 'X25519' }; + keyUsages = isPublic ? [] : ['deriveBits']; + break; + } + case 'Ed25519': + case 'EdDSA': + algorithm = { name: 'Ed25519' }; + keyUsages = isPublic ? ['verify'] : ['sign']; + break; + default: + throw new JOSENotSupported('Invalid or unsupported "alg" (Algorithm) value'); + } + return crypto.subtle.importKey(keyFormat, keyData, algorithm, options?.extractable ?? (isPublic ? true : false), keyUsages); +}; +export const fromPKCS8 = (pem, alg, options) => { + return genericImport(/(?:-----(?:BEGIN|END) PRIVATE KEY-----|\s)/g, 'pkcs8', pem, alg, options); +}; +export const fromSPKI = (pem, alg, options) => { + return genericImport(/(?:-----(?:BEGIN|END) PUBLIC KEY-----|\s)/g, 'spki', pem, alg, options); +}; +function getElement(seq) { + const result = []; + let next = 0; + while (next < seq.length) { + const nextPart = parseElement(seq.subarray(next)); + result.push(nextPart); + next += nextPart.byteLength; + } + return result; +} +function parseElement(bytes) { + let position = 0; + let tag = bytes[0] & 0x1f; + position++; + if (tag === 0x1f) { + tag = 0; + while (bytes[position] >= 0x80) { + tag = tag * 128 + bytes[position] - 0x80; + position++; + } + tag = tag * 128 + bytes[position] - 0x80; + position++; + } + let length = 0; + if (bytes[position] < 0x80) { + length = bytes[position]; + position++; + } + else if (length === 0x80) { + length = 0; + while (bytes[position + length] !== 0 || bytes[position + length + 1] !== 0) { + if (length > bytes.byteLength) { + throw new TypeError('invalid indefinite form length'); + } + length++; + } + const byteLength = position + length + 2; + return { + byteLength, + contents: bytes.subarray(position, position + length), + raw: bytes.subarray(0, byteLength), + }; + } + else { + const numberOfDigits = bytes[position] & 0x7f; + position++; + length = 0; + for (let i = 0; i < numberOfDigits; i++) { + length = length * 256 + bytes[position]; + position++; + } + } + const byteLength = position + length; + return { + byteLength, + contents: bytes.subarray(position, byteLength), + raw: bytes.subarray(0, byteLength), + }; +} +function spkiFromX509(buf) { + const tbsCertificate = getElement(getElement(parseElement(buf).contents)[0].contents); + return encodeBase64(tbsCertificate[tbsCertificate[0].raw[0] === 0xa0 ? 6 : 5].raw); +} +let createPublicKey; +function getSPKI(x509) { + try { + createPublicKey ??= globalThis.process?.getBuiltinModule?.('node:crypto')?.createPublicKey; + } + catch { + createPublicKey = 0; + } + if (createPublicKey) { + try { + return new createPublicKey(x509).export({ format: 'pem', type: 'spki' }); + } + catch { } + } + const pem = x509.replace(/(?:-----(?:BEGIN|END) CERTIFICATE-----|\s)/g, ''); + const raw = decodeBase64(pem); + return formatPEM(spkiFromX509(raw), 'PUBLIC KEY'); +} +export const fromX509 = (pem, alg, options) => { + let spki; + try { + spki = getSPKI(pem); + } + catch (cause) { + throw new TypeError('Failed to parse the X.509 certificate', { cause }); + } + return fromSPKI(spki, alg, options); +}; diff --git a/.output/server/node_modules/jose/dist/webapi/lib/base64.js b/.output/server/node_modules/jose/dist/webapi/lib/base64.js new file mode 100644 index 0000000000000000000000000000000000000000..0ac97a703b384c8c3edd7c28706e3eeec1c31d34 --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/lib/base64.js @@ -0,0 +1,22 @@ +export function encodeBase64(input) { + if (Uint8Array.prototype.toBase64) { + return input.toBase64(); + } + const CHUNK_SIZE = 0x8000; + const arr = []; + for (let i = 0; i < input.length; i += CHUNK_SIZE) { + arr.push(String.fromCharCode.apply(null, input.subarray(i, i + CHUNK_SIZE))); + } + return btoa(arr.join('')); +} +export function decodeBase64(encoded) { + if (Uint8Array.fromBase64) { + return Uint8Array.fromBase64(encoded); + } + const binary = atob(encoded); + const bytes = new Uint8Array(binary.length); + for (let i = 0; i < binary.length; i++) { + bytes[i] = binary.charCodeAt(i); + } + return bytes; +} diff --git a/.output/server/node_modules/jose/dist/webapi/lib/buffer_utils.js b/.output/server/node_modules/jose/dist/webapi/lib/buffer_utils.js new file mode 100644 index 0000000000000000000000000000000000000000..465f818d27cd48c01723cf32c0a8d49bbe37259e --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/lib/buffer_utils.js @@ -0,0 +1,32 @@ +export const encoder = new TextEncoder(); +export const decoder = new TextDecoder(); +const MAX_INT32 = 2 ** 32; +export function concat(...buffers) { + const size = buffers.reduce((acc, { length }) => acc + length, 0); + const buf = new Uint8Array(size); + let i = 0; + for (const buffer of buffers) { + buf.set(buffer, i); + i += buffer.length; + } + return buf; +} +function writeUInt32BE(buf, value, offset) { + if (value < 0 || value >= MAX_INT32) { + throw new RangeError(`value must be >= 0 and <= ${MAX_INT32 - 1}. Received ${value}`); + } + buf.set([value >>> 24, value >>> 16, value >>> 8, value & 0xff], offset); +} +export function uint64be(value) { + const high = Math.floor(value / MAX_INT32); + const low = value % MAX_INT32; + const buf = new Uint8Array(8); + writeUInt32BE(buf, high, 0); + writeUInt32BE(buf, low, 4); + return buf; +} +export function uint32be(value) { + const buf = new Uint8Array(4); + writeUInt32BE(buf, value); + return buf; +} diff --git a/.output/server/node_modules/jose/dist/webapi/lib/cek.js b/.output/server/node_modules/jose/dist/webapi/lib/cek.js new file mode 100644 index 0000000000000000000000000000000000000000..4565e6e262917e7a34703cbfb526a4dac73b60bd --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/lib/cek.js @@ -0,0 +1,19 @@ +import { JOSENotSupported } from '../util/errors.js'; +export function bitLength(alg) { + switch (alg) { + case 'A128GCM': + return 128; + case 'A192GCM': + return 192; + case 'A256GCM': + case 'A128CBC-HS256': + return 256; + case 'A192CBC-HS384': + return 384; + case 'A256CBC-HS512': + return 512; + default: + throw new JOSENotSupported(`Unsupported JWE Algorithm: ${alg}`); + } +} +export default (alg) => crypto.getRandomValues(new Uint8Array(bitLength(alg) >> 3)); diff --git a/.output/server/node_modules/jose/dist/webapi/lib/check_cek_length.js b/.output/server/node_modules/jose/dist/webapi/lib/check_cek_length.js new file mode 100644 index 0000000000000000000000000000000000000000..ba4c08e46a8cefba57e37302a204b67f15b599b7 --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/lib/check_cek_length.js @@ -0,0 +1,7 @@ +import { JWEInvalid } from '../util/errors.js'; +export default (cek, expected) => { + const actual = cek.byteLength << 3; + if (actual !== expected) { + throw new JWEInvalid(`Invalid Content Encryption Key length. Expected ${expected} bits, got ${actual} bits`); + } +}; diff --git a/.output/server/node_modules/jose/dist/webapi/lib/check_iv_length.js b/.output/server/node_modules/jose/dist/webapi/lib/check_iv_length.js new file mode 100644 index 0000000000000000000000000000000000000000..b233db7dd57db61fc42d64727f301a2f48fd2dc1 --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/lib/check_iv_length.js @@ -0,0 +1,7 @@ +import { JWEInvalid } from '../util/errors.js'; +import { bitLength } from './iv.js'; +export default (enc, iv) => { + if (iv.length << 3 !== bitLength(enc)) { + throw new JWEInvalid('Invalid Initialization Vector length'); + } +}; diff --git a/.output/server/node_modules/jose/dist/webapi/lib/check_key_length.js b/.output/server/node_modules/jose/dist/webapi/lib/check_key_length.js new file mode 100644 index 0000000000000000000000000000000000000000..33970068fea16908676079c14afb6f1157a3aa85 --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/lib/check_key_length.js @@ -0,0 +1,8 @@ +export default (alg, key) => { + if (alg.startsWith('RS') || alg.startsWith('PS')) { + const { modulusLength } = key.algorithm; + if (typeof modulusLength !== 'number' || modulusLength < 2048) { + throw new TypeError(`${alg} requires key modulusLength to be 2048 bits or larger`); + } + } +}; diff --git a/.output/server/node_modules/jose/dist/webapi/lib/check_key_type.js b/.output/server/node_modules/jose/dist/webapi/lib/check_key_type.js new file mode 100644 index 0000000000000000000000000000000000000000..376e9f652339da1fed9852cf6036c11714b8236e --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/lib/check_key_type.js @@ -0,0 +1,126 @@ +import { withAlg as invalidKeyInput } from './invalid_key_input.js'; +import isKeyLike from './is_key_like.js'; +import * as jwk from './is_jwk.js'; +const tag = (key) => key?.[Symbol.toStringTag]; +const jwkMatchesOp = (alg, key, usage) => { + if (key.use !== undefined) { + let expected; + switch (usage) { + case 'sign': + case 'verify': + expected = 'sig'; + break; + case 'encrypt': + case 'decrypt': + expected = 'enc'; + break; + } + if (key.use !== expected) { + throw new TypeError(`Invalid key for this operation, its "use" must be "${expected}" when present`); + } + } + if (key.alg !== undefined && key.alg !== alg) { + throw new TypeError(`Invalid key for this operation, its "alg" must be "${alg}" when present`); + } + if (Array.isArray(key.key_ops)) { + let expectedKeyOp; + switch (true) { + case usage === 'sign' || usage === 'verify': + case alg === 'dir': + case alg.includes('CBC-HS'): + expectedKeyOp = usage; + break; + case alg.startsWith('PBES2'): + expectedKeyOp = 'deriveBits'; + break; + case /^A\d{3}(?:GCM)?(?:KW)?$/.test(alg): + if (!alg.includes('GCM') && alg.endsWith('KW')) { + expectedKeyOp = usage === 'encrypt' ? 'wrapKey' : 'unwrapKey'; + } + else { + expectedKeyOp = usage; + } + break; + case usage === 'encrypt' && alg.startsWith('RSA'): + expectedKeyOp = 'wrapKey'; + break; + case usage === 'decrypt': + expectedKeyOp = alg.startsWith('RSA') ? 'unwrapKey' : 'deriveBits'; + break; + } + if (expectedKeyOp && key.key_ops?.includes?.(expectedKeyOp) === false) { + throw new TypeError(`Invalid key for this operation, its "key_ops" must include "${expectedKeyOp}" when present`); + } + } + return true; +}; +const symmetricTypeCheck = (alg, key, usage) => { + if (key instanceof Uint8Array) + return; + if (jwk.isJWK(key)) { + if (jwk.isSecretJWK(key) && jwkMatchesOp(alg, key, usage)) + return; + throw new TypeError(`JSON Web Key for symmetric algorithms must have JWK "kty" (Key Type) equal to "oct" and the JWK "k" (Key Value) present`); + } + if (!isKeyLike(key)) { + throw new TypeError(invalidKeyInput(alg, key, 'CryptoKey', 'KeyObject', 'JSON Web Key', 'Uint8Array')); + } + if (key.type !== 'secret') { + throw new TypeError(`${tag(key)} instances for symmetric algorithms must be of type "secret"`); + } +}; +const asymmetricTypeCheck = (alg, key, usage) => { + if (jwk.isJWK(key)) { + switch (usage) { + case 'decrypt': + case 'sign': + if (jwk.isPrivateJWK(key) && jwkMatchesOp(alg, key, usage)) + return; + throw new TypeError(`JSON Web Key for this operation be a private JWK`); + case 'encrypt': + case 'verify': + if (jwk.isPublicJWK(key) && jwkMatchesOp(alg, key, usage)) + return; + throw new TypeError(`JSON Web Key for this operation be a public JWK`); + } + } + if (!isKeyLike(key)) { + throw new TypeError(invalidKeyInput(alg, key, 'CryptoKey', 'KeyObject', 'JSON Web Key')); + } + if (key.type === 'secret') { + throw new TypeError(`${tag(key)} instances for asymmetric algorithms must not be of type "secret"`); + } + if (key.type === 'public') { + switch (usage) { + case 'sign': + throw new TypeError(`${tag(key)} instances for asymmetric algorithm signing must be of type "private"`); + case 'decrypt': + throw new TypeError(`${tag(key)} instances for asymmetric algorithm decryption must be of type "private"`); + default: + break; + } + } + if (key.type === 'private') { + switch (usage) { + case 'verify': + throw new TypeError(`${tag(key)} instances for asymmetric algorithm verifying must be of type "public"`); + case 'encrypt': + throw new TypeError(`${tag(key)} instances for asymmetric algorithm encryption must be of type "public"`); + default: + break; + } + } +}; +export default (alg, key, usage) => { + const symmetric = alg.startsWith('HS') || + alg === 'dir' || + alg.startsWith('PBES2') || + /^A(?:128|192|256)(?:GCM)?(?:KW)?$/.test(alg) || + /^A(?:128|192|256)CBC-HS(?:256|384|512)$/.test(alg); + if (symmetric) { + symmetricTypeCheck(alg, key, usage); + } + else { + asymmetricTypeCheck(alg, key, usage); + } +}; diff --git a/.output/server/node_modules/jose/dist/webapi/lib/crypto_key.js b/.output/server/node_modules/jose/dist/webapi/lib/crypto_key.js new file mode 100644 index 0000000000000000000000000000000000000000..69ebbf4d1c3e3935e1f00b046b9e4fa7e98c86f3 --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/lib/crypto_key.js @@ -0,0 +1,140 @@ +function unusable(name, prop = 'algorithm.name') { + return new TypeError(`CryptoKey does not support this operation, its ${prop} must be ${name}`); +} +function isAlgorithm(algorithm, name) { + return algorithm.name === name; +} +function getHashLength(hash) { + return parseInt(hash.name.slice(4), 10); +} +function getNamedCurve(alg) { + switch (alg) { + case 'ES256': + return 'P-256'; + case 'ES384': + return 'P-384'; + case 'ES512': + return 'P-521'; + default: + throw new Error('unreachable'); + } +} +function checkUsage(key, usage) { + if (usage && !key.usages.includes(usage)) { + throw new TypeError(`CryptoKey does not support this operation, its usages must include ${usage}.`); + } +} +export function checkSigCryptoKey(key, alg, usage) { + switch (alg) { + case 'HS256': + case 'HS384': + case 'HS512': { + if (!isAlgorithm(key.algorithm, 'HMAC')) + throw unusable('HMAC'); + const expected = parseInt(alg.slice(2), 10); + const actual = getHashLength(key.algorithm.hash); + if (actual !== expected) + throw unusable(`SHA-${expected}`, 'algorithm.hash'); + break; + } + case 'RS256': + case 'RS384': + case 'RS512': { + if (!isAlgorithm(key.algorithm, 'RSASSA-PKCS1-v1_5')) + throw unusable('RSASSA-PKCS1-v1_5'); + const expected = parseInt(alg.slice(2), 10); + const actual = getHashLength(key.algorithm.hash); + if (actual !== expected) + throw unusable(`SHA-${expected}`, 'algorithm.hash'); + break; + } + case 'PS256': + case 'PS384': + case 'PS512': { + if (!isAlgorithm(key.algorithm, 'RSA-PSS')) + throw unusable('RSA-PSS'); + const expected = parseInt(alg.slice(2), 10); + const actual = getHashLength(key.algorithm.hash); + if (actual !== expected) + throw unusable(`SHA-${expected}`, 'algorithm.hash'); + break; + } + case 'Ed25519': + case 'EdDSA': { + if (!isAlgorithm(key.algorithm, 'Ed25519')) + throw unusable('Ed25519'); + break; + } + case 'ES256': + case 'ES384': + case 'ES512': { + if (!isAlgorithm(key.algorithm, 'ECDSA')) + throw unusable('ECDSA'); + const expected = getNamedCurve(alg); + const actual = key.algorithm.namedCurve; + if (actual !== expected) + throw unusable(expected, 'algorithm.namedCurve'); + break; + } + default: + throw new TypeError('CryptoKey does not support this operation'); + } + checkUsage(key, usage); +} +export function checkEncCryptoKey(key, alg, usage) { + switch (alg) { + case 'A128GCM': + case 'A192GCM': + case 'A256GCM': { + if (!isAlgorithm(key.algorithm, 'AES-GCM')) + throw unusable('AES-GCM'); + const expected = parseInt(alg.slice(1, 4), 10); + const actual = key.algorithm.length; + if (actual !== expected) + throw unusable(expected, 'algorithm.length'); + break; + } + case 'A128KW': + case 'A192KW': + case 'A256KW': { + if (!isAlgorithm(key.algorithm, 'AES-KW')) + throw unusable('AES-KW'); + const expected = parseInt(alg.slice(1, 4), 10); + const actual = key.algorithm.length; + if (actual !== expected) + throw unusable(expected, 'algorithm.length'); + break; + } + case 'ECDH': { + switch (key.algorithm.name) { + case 'ECDH': + case 'X25519': + break; + default: + throw unusable('ECDH or X25519'); + } + break; + } + case 'PBES2-HS256+A128KW': + case 'PBES2-HS384+A192KW': + case 'PBES2-HS512+A256KW': + if (!isAlgorithm(key.algorithm, 'PBKDF2')) + throw unusable('PBKDF2'); + break; + case 'RSA-OAEP': + case 'RSA-OAEP-256': + case 'RSA-OAEP-384': + case 'RSA-OAEP-512': { + if (!isAlgorithm(key.algorithm, 'RSA-OAEP')) + throw unusable('RSA-OAEP'); + const expected = parseInt(alg.slice(9), 10) || 1; + const actual = getHashLength(key.algorithm.hash); + if (actual !== expected) + throw unusable(`SHA-${expected}`, 'algorithm.hash'); + break; + } + default: + throw new TypeError('CryptoKey does not support this operation'); + } + checkUsage(key, usage); +} diff --git a/.output/server/node_modules/jose/dist/webapi/lib/decrypt.js b/.output/server/node_modules/jose/dist/webapi/lib/decrypt.js new file mode 100644 index 0000000000000000000000000000000000000000..a873b9e16fe6b7b720fd94a5b449b5188b7aec81 --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/lib/decrypt.js @@ -0,0 +1,106 @@ +import { concat, uint64be } from './buffer_utils.js'; +import checkIvLength from './check_iv_length.js'; +import checkCekLength from './check_cek_length.js'; +import { JOSENotSupported, JWEDecryptionFailed, JWEInvalid } from '../util/errors.js'; +import { checkEncCryptoKey } from './crypto_key.js'; +import invalidKeyInput from './invalid_key_input.js'; +import { isCryptoKey } from './is_key_like.js'; +async function timingSafeEqual(a, b) { + if (!(a instanceof Uint8Array)) { + throw new TypeError('First argument must be a buffer'); + } + if (!(b instanceof Uint8Array)) { + throw new TypeError('Second argument must be a buffer'); + } + const algorithm = { name: 'HMAC', hash: 'SHA-256' }; + const key = (await crypto.subtle.generateKey(algorithm, false, ['sign'])); + const aHmac = new Uint8Array(await crypto.subtle.sign(algorithm, key, a)); + const bHmac = new Uint8Array(await crypto.subtle.sign(algorithm, key, b)); + let out = 0; + let i = -1; + while (++i < 32) { + out |= aHmac[i] ^ bHmac[i]; + } + return out === 0; +} +async function cbcDecrypt(enc, cek, ciphertext, iv, tag, aad) { + if (!(cek instanceof Uint8Array)) { + throw new TypeError(invalidKeyInput(cek, 'Uint8Array')); + } + const keySize = parseInt(enc.slice(1, 4), 10); + const encKey = await crypto.subtle.importKey('raw', cek.subarray(keySize >> 3), 'AES-CBC', false, ['decrypt']); + const macKey = await crypto.subtle.importKey('raw', cek.subarray(0, keySize >> 3), { + hash: `SHA-${keySize << 1}`, + name: 'HMAC', + }, false, ['sign']); + const macData = concat(aad, iv, ciphertext, uint64be(aad.length << 3)); + const expectedTag = new Uint8Array((await crypto.subtle.sign('HMAC', macKey, macData)).slice(0, keySize >> 3)); + let macCheckPassed; + try { + macCheckPassed = await timingSafeEqual(tag, expectedTag); + } + catch { + } + if (!macCheckPassed) { + throw new JWEDecryptionFailed(); + } + let plaintext; + try { + plaintext = new Uint8Array(await crypto.subtle.decrypt({ iv, name: 'AES-CBC' }, encKey, ciphertext)); + } + catch { + } + if (!plaintext) { + throw new JWEDecryptionFailed(); + } + return plaintext; +} +async function gcmDecrypt(enc, cek, ciphertext, iv, tag, aad) { + let encKey; + if (cek instanceof Uint8Array) { + encKey = await crypto.subtle.importKey('raw', cek, 'AES-GCM', false, ['decrypt']); + } + else { + checkEncCryptoKey(cek, enc, 'decrypt'); + encKey = cek; + } + try { + return new Uint8Array(await crypto.subtle.decrypt({ + additionalData: aad, + iv, + name: 'AES-GCM', + tagLength: 128, + }, encKey, concat(ciphertext, tag))); + } + catch { + throw new JWEDecryptionFailed(); + } +} +export default async (enc, cek, ciphertext, iv, tag, aad) => { + if (!isCryptoKey(cek) && !(cek instanceof Uint8Array)) { + throw new TypeError(invalidKeyInput(cek, 'CryptoKey', 'KeyObject', 'Uint8Array', 'JSON Web Key')); + } + if (!iv) { + throw new JWEInvalid('JWE Initialization Vector missing'); + } + if (!tag) { + throw new JWEInvalid('JWE Authentication Tag missing'); + } + checkIvLength(enc, iv); + switch (enc) { + case 'A128CBC-HS256': + case 'A192CBC-HS384': + case 'A256CBC-HS512': + if (cek instanceof Uint8Array) + checkCekLength(cek, parseInt(enc.slice(-3), 10)); + return cbcDecrypt(enc, cek, ciphertext, iv, tag, aad); + case 'A128GCM': + case 'A192GCM': + case 'A256GCM': + if (cek instanceof Uint8Array) + checkCekLength(cek, parseInt(enc.slice(1, 4), 10)); + return gcmDecrypt(enc, cek, ciphertext, iv, tag, aad); + default: + throw new JOSENotSupported('Unsupported JWE Content Encryption Algorithm'); + } +}; diff --git a/.output/server/node_modules/jose/dist/webapi/lib/decrypt_key_management.js b/.output/server/node_modules/jose/dist/webapi/lib/decrypt_key_management.js new file mode 100644 index 0000000000000000000000000000000000000000..c3253c8839496dcdfe656e6e0b7ce2b9977895e1 --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/lib/decrypt_key_management.js @@ -0,0 +1,127 @@ +import * as aeskw from './aeskw.js'; +import * as ecdhes from './ecdhes.js'; +import * as pbes2kw from './pbes2kw.js'; +import * as rsaes from './rsaes.js'; +import { decode as b64u } from '../util/base64url.js'; +import { JOSENotSupported, JWEInvalid } from '../util/errors.js'; +import { bitLength as cekLength } from '../lib/cek.js'; +import { importJWK } from '../key/import.js'; +import isObject from './is_object.js'; +import { unwrap as aesGcmKw } from './aesgcmkw.js'; +import { assertCryptoKey } from './is_key_like.js'; +export default async (alg, key, encryptedKey, joseHeader, options) => { + switch (alg) { + case 'dir': { + if (encryptedKey !== undefined) + throw new JWEInvalid('Encountered unexpected JWE Encrypted Key'); + return key; + } + case 'ECDH-ES': + if (encryptedKey !== undefined) + throw new JWEInvalid('Encountered unexpected JWE Encrypted Key'); + case 'ECDH-ES+A128KW': + case 'ECDH-ES+A192KW': + case 'ECDH-ES+A256KW': { + if (!isObject(joseHeader.epk)) + throw new JWEInvalid(`JOSE Header "epk" (Ephemeral Public Key) missing or invalid`); + assertCryptoKey(key); + if (!ecdhes.allowed(key)) + throw new JOSENotSupported('ECDH with the provided key is not allowed or not supported by your javascript runtime'); + const epk = await importJWK(joseHeader.epk, alg); + assertCryptoKey(epk); + let partyUInfo; + let partyVInfo; + if (joseHeader.apu !== undefined) { + if (typeof joseHeader.apu !== 'string') + throw new JWEInvalid(`JOSE Header "apu" (Agreement PartyUInfo) invalid`); + try { + partyUInfo = b64u(joseHeader.apu); + } + catch { + throw new JWEInvalid('Failed to base64url decode the apu'); + } + } + if (joseHeader.apv !== undefined) { + if (typeof joseHeader.apv !== 'string') + throw new JWEInvalid(`JOSE Header "apv" (Agreement PartyVInfo) invalid`); + try { + partyVInfo = b64u(joseHeader.apv); + } + catch { + throw new JWEInvalid('Failed to base64url decode the apv'); + } + } + const sharedSecret = await ecdhes.deriveKey(epk, key, alg === 'ECDH-ES' ? joseHeader.enc : alg, alg === 'ECDH-ES' ? cekLength(joseHeader.enc) : parseInt(alg.slice(-5, -2), 10), partyUInfo, partyVInfo); + if (alg === 'ECDH-ES') + return sharedSecret; + if (encryptedKey === undefined) + throw new JWEInvalid('JWE Encrypted Key missing'); + return aeskw.unwrap(alg.slice(-6), sharedSecret, encryptedKey); + } + case 'RSA-OAEP': + case 'RSA-OAEP-256': + case 'RSA-OAEP-384': + case 'RSA-OAEP-512': { + if (encryptedKey === undefined) + throw new JWEInvalid('JWE Encrypted Key missing'); + assertCryptoKey(key); + return rsaes.decrypt(alg, key, encryptedKey); + } + case 'PBES2-HS256+A128KW': + case 'PBES2-HS384+A192KW': + case 'PBES2-HS512+A256KW': { + if (encryptedKey === undefined) + throw new JWEInvalid('JWE Encrypted Key missing'); + if (typeof joseHeader.p2c !== 'number') + throw new JWEInvalid(`JOSE Header "p2c" (PBES2 Count) missing or invalid`); + const p2cLimit = options?.maxPBES2Count || 10_000; + if (joseHeader.p2c > p2cLimit) + throw new JWEInvalid(`JOSE Header "p2c" (PBES2 Count) out is of acceptable bounds`); + if (typeof joseHeader.p2s !== 'string') + throw new JWEInvalid(`JOSE Header "p2s" (PBES2 Salt) missing or invalid`); + let p2s; + try { + p2s = b64u(joseHeader.p2s); + } + catch { + throw new JWEInvalid('Failed to base64url decode the p2s'); + } + return pbes2kw.unwrap(alg, key, encryptedKey, joseHeader.p2c, p2s); + } + case 'A128KW': + case 'A192KW': + case 'A256KW': { + if (encryptedKey === undefined) + throw new JWEInvalid('JWE Encrypted Key missing'); + return aeskw.unwrap(alg, key, encryptedKey); + } + case 'A128GCMKW': + case 'A192GCMKW': + case 'A256GCMKW': { + if (encryptedKey === undefined) + throw new JWEInvalid('JWE Encrypted Key missing'); + if (typeof joseHeader.iv !== 'string') + throw new JWEInvalid(`JOSE Header "iv" (Initialization Vector) missing or invalid`); + if (typeof joseHeader.tag !== 'string') + throw new JWEInvalid(`JOSE Header "tag" (Authentication Tag) missing or invalid`); + let iv; + try { + iv = b64u(joseHeader.iv); + } + catch { + throw new JWEInvalid('Failed to base64url decode the iv'); + } + let tag; + try { + tag = b64u(joseHeader.tag); + } + catch { + throw new JWEInvalid('Failed to base64url decode the tag'); + } + return aesGcmKw(alg, key, encryptedKey, iv, tag); + } + default: { + throw new JOSENotSupported('Invalid or unsupported "alg" (JWE Algorithm) header value'); + } + } +}; diff --git a/.output/server/node_modules/jose/dist/webapi/lib/digest.js b/.output/server/node_modules/jose/dist/webapi/lib/digest.js new file mode 100644 index 0000000000000000000000000000000000000000..e2a9a208addd2e6e23fd84f99535acc9f409fbe8 --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/lib/digest.js @@ -0,0 +1,4 @@ +export default async (algorithm, data) => { + const subtleDigest = `SHA-${algorithm.slice(-3)}`; + return new Uint8Array(await crypto.subtle.digest(subtleDigest, data)); +}; diff --git a/.output/server/node_modules/jose/dist/webapi/lib/ecdhes.js b/.output/server/node_modules/jose/dist/webapi/lib/ecdhes.js new file mode 100644 index 0000000000000000000000000000000000000000..1e476d93b13627be38c2c19c56fc0adf3d2fac95 --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/lib/ecdhes.js @@ -0,0 +1,46 @@ +import { encoder, concat, uint32be } from './buffer_utils.js'; +import { checkEncCryptoKey } from './crypto_key.js'; +import digest from './digest.js'; +function lengthAndInput(input) { + return concat(uint32be(input.length), input); +} +async function concatKdf(secret, bits, value) { + const iterations = Math.ceil((bits >> 3) / 32); + const res = new Uint8Array(iterations * 32); + for (let iter = 0; iter < iterations; iter++) { + const buf = new Uint8Array(4 + secret.length + value.length); + buf.set(uint32be(iter + 1)); + buf.set(secret, 4); + buf.set(value, 4 + secret.length); + res.set(await digest('sha256', buf), iter * 32); + } + return res.slice(0, bits >> 3); +} +export async function deriveKey(publicKey, privateKey, algorithm, keyLength, apu = new Uint8Array(0), apv = new Uint8Array(0)) { + checkEncCryptoKey(publicKey, 'ECDH'); + checkEncCryptoKey(privateKey, 'ECDH', 'deriveBits'); + const value = concat(lengthAndInput(encoder.encode(algorithm)), lengthAndInput(apu), lengthAndInput(apv), uint32be(keyLength)); + let length; + if (publicKey.algorithm.name === 'X25519') { + length = 256; + } + else { + length = + Math.ceil(parseInt(publicKey.algorithm.namedCurve.slice(-3), 10) / 8) << 3; + } + const sharedSecret = new Uint8Array(await crypto.subtle.deriveBits({ + name: publicKey.algorithm.name, + public: publicKey, + }, privateKey, length)); + return concatKdf(sharedSecret, keyLength, value); +} +export function allowed(key) { + switch (key.algorithm.namedCurve) { + case 'P-256': + case 'P-384': + case 'P-521': + return true; + default: + return key.algorithm.name === 'X25519'; + } +} diff --git a/.output/server/node_modules/jose/dist/webapi/lib/encrypt.js b/.output/server/node_modules/jose/dist/webapi/lib/encrypt.js new file mode 100644 index 0000000000000000000000000000000000000000..b0e96a730f4c5bc1cdd92a91a11eda0988019a35 --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/lib/encrypt.js @@ -0,0 +1,74 @@ +import { concat, uint64be } from './buffer_utils.js'; +import checkIvLength from './check_iv_length.js'; +import checkCekLength from './check_cek_length.js'; +import { checkEncCryptoKey } from './crypto_key.js'; +import invalidKeyInput from './invalid_key_input.js'; +import generateIv from './iv.js'; +import { JOSENotSupported } from '../util/errors.js'; +import { isCryptoKey } from './is_key_like.js'; +async function cbcEncrypt(enc, plaintext, cek, iv, aad) { + if (!(cek instanceof Uint8Array)) { + throw new TypeError(invalidKeyInput(cek, 'Uint8Array')); + } + const keySize = parseInt(enc.slice(1, 4), 10); + const encKey = await crypto.subtle.importKey('raw', cek.subarray(keySize >> 3), 'AES-CBC', false, ['encrypt']); + const macKey = await crypto.subtle.importKey('raw', cek.subarray(0, keySize >> 3), { + hash: `SHA-${keySize << 1}`, + name: 'HMAC', + }, false, ['sign']); + const ciphertext = new Uint8Array(await crypto.subtle.encrypt({ + iv, + name: 'AES-CBC', + }, encKey, plaintext)); + const macData = concat(aad, iv, ciphertext, uint64be(aad.length << 3)); + const tag = new Uint8Array((await crypto.subtle.sign('HMAC', macKey, macData)).slice(0, keySize >> 3)); + return { ciphertext, tag, iv }; +} +async function gcmEncrypt(enc, plaintext, cek, iv, aad) { + let encKey; + if (cek instanceof Uint8Array) { + encKey = await crypto.subtle.importKey('raw', cek, 'AES-GCM', false, ['encrypt']); + } + else { + checkEncCryptoKey(cek, enc, 'encrypt'); + encKey = cek; + } + const encrypted = new Uint8Array(await crypto.subtle.encrypt({ + additionalData: aad, + iv, + name: 'AES-GCM', + tagLength: 128, + }, encKey, plaintext)); + const tag = encrypted.slice(-16); + const ciphertext = encrypted.slice(0, -16); + return { ciphertext, tag, iv }; +} +export default async (enc, plaintext, cek, iv, aad) => { + if (!isCryptoKey(cek) && !(cek instanceof Uint8Array)) { + throw new TypeError(invalidKeyInput(cek, 'CryptoKey', 'KeyObject', 'Uint8Array', 'JSON Web Key')); + } + if (iv) { + checkIvLength(enc, iv); + } + else { + iv = generateIv(enc); + } + switch (enc) { + case 'A128CBC-HS256': + case 'A192CBC-HS384': + case 'A256CBC-HS512': + if (cek instanceof Uint8Array) { + checkCekLength(cek, parseInt(enc.slice(-3), 10)); + } + return cbcEncrypt(enc, plaintext, cek, iv, aad); + case 'A128GCM': + case 'A192GCM': + case 'A256GCM': + if (cek instanceof Uint8Array) { + checkCekLength(cek, parseInt(enc.slice(1, 4), 10)); + } + return gcmEncrypt(enc, plaintext, cek, iv, aad); + default: + throw new JOSENotSupported('Unsupported JWE Content Encryption Algorithm'); + } +}; diff --git a/.output/server/node_modules/jose/dist/webapi/lib/encrypt_key_management.js b/.output/server/node_modules/jose/dist/webapi/lib/encrypt_key_management.js new file mode 100644 index 0000000000000000000000000000000000000000..def432d0d03b6b20df201c34f96b87595cc2cb26 --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/lib/encrypt_key_management.js @@ -0,0 +1,92 @@ +import * as aeskw from './aeskw.js'; +import * as ecdhes from './ecdhes.js'; +import * as pbes2kw from './pbes2kw.js'; +import * as rsaes from './rsaes.js'; +import { encode as b64u } from '../util/base64url.js'; +import normalizeKey from './normalize_key.js'; +import generateCek, { bitLength as cekLength } from '../lib/cek.js'; +import { JOSENotSupported } from '../util/errors.js'; +import { exportJWK } from '../key/export.js'; +import { wrap as aesGcmKw } from './aesgcmkw.js'; +import { assertCryptoKey } from './is_key_like.js'; +export default async (alg, enc, key, providedCek, providedParameters = {}) => { + let encryptedKey; + let parameters; + let cek; + switch (alg) { + case 'dir': { + cek = key; + break; + } + case 'ECDH-ES': + case 'ECDH-ES+A128KW': + case 'ECDH-ES+A192KW': + case 'ECDH-ES+A256KW': { + assertCryptoKey(key); + if (!ecdhes.allowed(key)) { + throw new JOSENotSupported('ECDH with the provided key is not allowed or not supported by your javascript runtime'); + } + const { apu, apv } = providedParameters; + let ephemeralKey; + if (providedParameters.epk) { + ephemeralKey = (await normalizeKey(providedParameters.epk, alg)); + } + else { + ephemeralKey = (await crypto.subtle.generateKey(key.algorithm, true, ['deriveBits'])).privateKey; + } + const { x, y, crv, kty } = await exportJWK(ephemeralKey); + const sharedSecret = await ecdhes.deriveKey(key, ephemeralKey, alg === 'ECDH-ES' ? enc : alg, alg === 'ECDH-ES' ? cekLength(enc) : parseInt(alg.slice(-5, -2), 10), apu, apv); + parameters = { epk: { x, crv, kty } }; + if (kty === 'EC') + parameters.epk.y = y; + if (apu) + parameters.apu = b64u(apu); + if (apv) + parameters.apv = b64u(apv); + if (alg === 'ECDH-ES') { + cek = sharedSecret; + break; + } + cek = providedCek || generateCek(enc); + const kwAlg = alg.slice(-6); + encryptedKey = await aeskw.wrap(kwAlg, sharedSecret, cek); + break; + } + case 'RSA-OAEP': + case 'RSA-OAEP-256': + case 'RSA-OAEP-384': + case 'RSA-OAEP-512': { + cek = providedCek || generateCek(enc); + assertCryptoKey(key); + encryptedKey = await rsaes.encrypt(alg, key, cek); + break; + } + case 'PBES2-HS256+A128KW': + case 'PBES2-HS384+A192KW': + case 'PBES2-HS512+A256KW': { + cek = providedCek || generateCek(enc); + const { p2c, p2s } = providedParameters; + ({ encryptedKey, ...parameters } = await pbes2kw.wrap(alg, key, cek, p2c, p2s)); + break; + } + case 'A128KW': + case 'A192KW': + case 'A256KW': { + cek = providedCek || generateCek(enc); + encryptedKey = await aeskw.wrap(alg, key, cek); + break; + } + case 'A128GCMKW': + case 'A192GCMKW': + case 'A256GCMKW': { + cek = providedCek || generateCek(enc); + const { iv } = providedParameters; + ({ encryptedKey, ...parameters } = await aesGcmKw(alg, key, cek, iv)); + break; + } + default: { + throw new JOSENotSupported('Invalid or unsupported "alg" (JWE Algorithm) header value'); + } + } + return { cek, encryptedKey, parameters }; +}; diff --git a/.output/server/node_modules/jose/dist/webapi/lib/epoch.js b/.output/server/node_modules/jose/dist/webapi/lib/epoch.js new file mode 100644 index 0000000000000000000000000000000000000000..e405e4b2df8336a5c54452047c187ede4fb168d6 --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/lib/epoch.js @@ -0,0 +1 @@ +export default (date) => Math.floor(date.getTime() / 1000); diff --git a/.output/server/node_modules/jose/dist/webapi/lib/get_sign_verify_key.js b/.output/server/node_modules/jose/dist/webapi/lib/get_sign_verify_key.js new file mode 100644 index 0000000000000000000000000000000000000000..0651a00015a29df03e11cd8fc8bfaadbbf4f28b3 --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/lib/get_sign_verify_key.js @@ -0,0 +1,12 @@ +import { checkSigCryptoKey } from './crypto_key.js'; +import invalidKeyInput from './invalid_key_input.js'; +export default async (alg, key, usage) => { + if (key instanceof Uint8Array) { + if (!alg.startsWith('HS')) { + throw new TypeError(invalidKeyInput(key, 'CryptoKey', 'KeyObject', 'JSON Web Key')); + } + return crypto.subtle.importKey('raw', key, { hash: `SHA-${alg.slice(-3)}`, name: 'HMAC' }, false, [usage]); + } + checkSigCryptoKey(key, alg, usage); + return key; +}; diff --git a/.output/server/node_modules/jose/dist/webapi/lib/invalid_key_input.js b/.output/server/node_modules/jose/dist/webapi/lib/invalid_key_input.js new file mode 100644 index 0000000000000000000000000000000000000000..5796a2eb69645be38e8fcb0920c84cce31e78b0c --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/lib/invalid_key_input.js @@ -0,0 +1,31 @@ +function message(msg, actual, ...types) { + types = types.filter(Boolean); + if (types.length > 2) { + const last = types.pop(); + msg += `one of type ${types.join(', ')}, or ${last}.`; + } + else if (types.length === 2) { + msg += `one of type ${types[0]} or ${types[1]}.`; + } + else { + msg += `of type ${types[0]}.`; + } + if (actual == null) { + msg += ` Received ${actual}`; + } + else if (typeof actual === 'function' && actual.name) { + msg += ` Received function ${actual.name}`; + } + else if (typeof actual === 'object' && actual != null) { + if (actual.constructor?.name) { + msg += ` Received an instance of ${actual.constructor.name}`; + } + } + return msg; +} +export default (actual, ...types) => { + return message('Key must be ', actual, ...types); +}; +export function withAlg(alg, actual, ...types) { + return message(`Key for the ${alg} algorithm must be `, actual, ...types); +} diff --git a/.output/server/node_modules/jose/dist/webapi/lib/is_disjoint.js b/.output/server/node_modules/jose/dist/webapi/lib/is_disjoint.js new file mode 100644 index 0000000000000000000000000000000000000000..50320512bc8c01b71a5162e54e9df64302c81152 --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/lib/is_disjoint.js @@ -0,0 +1,21 @@ +export default (...headers) => { + const sources = headers.filter(Boolean); + if (sources.length === 0 || sources.length === 1) { + return true; + } + let acc; + for (const header of sources) { + const parameters = Object.keys(header); + if (!acc || acc.size === 0) { + acc = new Set(parameters); + continue; + } + for (const parameter of parameters) { + if (acc.has(parameter)) { + return false; + } + acc.add(parameter); + } + } + return true; +}; diff --git a/.output/server/node_modules/jose/dist/webapi/lib/is_jwk.js b/.output/server/node_modules/jose/dist/webapi/lib/is_jwk.js new file mode 100644 index 0000000000000000000000000000000000000000..cf9868cefb5746734e38d025d7629f0ef35c2d1e --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/lib/is_jwk.js @@ -0,0 +1,13 @@ +import isObject from './is_object.js'; +export function isJWK(key) { + return isObject(key) && typeof key.kty === 'string'; +} +export function isPrivateJWK(key) { + return key.kty !== 'oct' && typeof key.d === 'string'; +} +export function isPublicJWK(key) { + return key.kty !== 'oct' && typeof key.d === 'undefined'; +} +export function isSecretJWK(key) { + return key.kty === 'oct' && typeof key.k === 'string'; +} diff --git a/.output/server/node_modules/jose/dist/webapi/lib/is_key_like.js b/.output/server/node_modules/jose/dist/webapi/lib/is_key_like.js new file mode 100644 index 0000000000000000000000000000000000000000..d9ff4f23c3492a8323fc7340708b00f1284d766c --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/lib/is_key_like.js @@ -0,0 +1,14 @@ +export function assertCryptoKey(key) { + if (!isCryptoKey(key)) { + throw new Error('CryptoKey instance expected'); + } +} +export function isCryptoKey(key) { + return key?.[Symbol.toStringTag] === 'CryptoKey'; +} +export function isKeyObject(key) { + return key?.[Symbol.toStringTag] === 'KeyObject'; +} +export default (key) => { + return isCryptoKey(key) || isKeyObject(key); +}; diff --git a/.output/server/node_modules/jose/dist/webapi/lib/is_object.js b/.output/server/node_modules/jose/dist/webapi/lib/is_object.js new file mode 100644 index 0000000000000000000000000000000000000000..902b672552677e0ace7490784b72ba14adb4bc89 --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/lib/is_object.js @@ -0,0 +1,16 @@ +function isObjectLike(value) { + return typeof value === 'object' && value !== null; +} +export default (input) => { + if (!isObjectLike(input) || Object.prototype.toString.call(input) !== '[object Object]') { + return false; + } + if (Object.getPrototypeOf(input) === null) { + return true; + } + let proto = input; + while (Object.getPrototypeOf(proto) !== null) { + proto = Object.getPrototypeOf(proto); + } + return Object.getPrototypeOf(input) === proto; +}; diff --git a/.output/server/node_modules/jose/dist/webapi/lib/iv.js b/.output/server/node_modules/jose/dist/webapi/lib/iv.js new file mode 100644 index 0000000000000000000000000000000000000000..f45d9ca76947e17ea312b864323d2fe08dcd4a80 --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/lib/iv.js @@ -0,0 +1,19 @@ +import { JOSENotSupported } from '../util/errors.js'; +export function bitLength(alg) { + switch (alg) { + case 'A128GCM': + case 'A128GCMKW': + case 'A192GCM': + case 'A192GCMKW': + case 'A256GCM': + case 'A256GCMKW': + return 96; + case 'A128CBC-HS256': + case 'A192CBC-HS384': + case 'A256CBC-HS512': + return 128; + default: + throw new JOSENotSupported(`Unsupported JWE Algorithm: ${alg}`); + } +} +export default (alg) => crypto.getRandomValues(new Uint8Array(bitLength(alg) >> 3)); diff --git a/.output/server/node_modules/jose/dist/webapi/lib/jwk_to_key.js b/.output/server/node_modules/jose/dist/webapi/lib/jwk_to_key.js new file mode 100644 index 0000000000000000000000000000000000000000..8e1bb2eac31d1b09b854c68af51c8b9f1b141fa2 --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/lib/jwk_to_key.js @@ -0,0 +1,94 @@ +import { JOSENotSupported } from '../util/errors.js'; +function subtleMapping(jwk) { + let algorithm; + let keyUsages; + switch (jwk.kty) { + case 'RSA': { + switch (jwk.alg) { + case 'PS256': + case 'PS384': + case 'PS512': + algorithm = { name: 'RSA-PSS', hash: `SHA-${jwk.alg.slice(-3)}` }; + keyUsages = jwk.d ? ['sign'] : ['verify']; + break; + case 'RS256': + case 'RS384': + case 'RS512': + algorithm = { name: 'RSASSA-PKCS1-v1_5', hash: `SHA-${jwk.alg.slice(-3)}` }; + keyUsages = jwk.d ? ['sign'] : ['verify']; + break; + case 'RSA-OAEP': + case 'RSA-OAEP-256': + case 'RSA-OAEP-384': + case 'RSA-OAEP-512': + algorithm = { + name: 'RSA-OAEP', + hash: `SHA-${parseInt(jwk.alg.slice(-3), 10) || 1}`, + }; + keyUsages = jwk.d ? ['decrypt', 'unwrapKey'] : ['encrypt', 'wrapKey']; + break; + default: + throw new JOSENotSupported('Invalid or unsupported JWK "alg" (Algorithm) Parameter value'); + } + break; + } + case 'EC': { + switch (jwk.alg) { + case 'ES256': + algorithm = { name: 'ECDSA', namedCurve: 'P-256' }; + keyUsages = jwk.d ? ['sign'] : ['verify']; + break; + case 'ES384': + algorithm = { name: 'ECDSA', namedCurve: 'P-384' }; + keyUsages = jwk.d ? ['sign'] : ['verify']; + break; + case 'ES512': + algorithm = { name: 'ECDSA', namedCurve: 'P-521' }; + keyUsages = jwk.d ? ['sign'] : ['verify']; + break; + case 'ECDH-ES': + case 'ECDH-ES+A128KW': + case 'ECDH-ES+A192KW': + case 'ECDH-ES+A256KW': + algorithm = { name: 'ECDH', namedCurve: jwk.crv }; + keyUsages = jwk.d ? ['deriveBits'] : []; + break; + default: + throw new JOSENotSupported('Invalid or unsupported JWK "alg" (Algorithm) Parameter value'); + } + break; + } + case 'OKP': { + switch (jwk.alg) { + case 'Ed25519': + case 'EdDSA': + algorithm = { name: 'Ed25519' }; + keyUsages = jwk.d ? ['sign'] : ['verify']; + break; + case 'ECDH-ES': + case 'ECDH-ES+A128KW': + case 'ECDH-ES+A192KW': + case 'ECDH-ES+A256KW': + algorithm = { name: jwk.crv }; + keyUsages = jwk.d ? ['deriveBits'] : []; + break; + default: + throw new JOSENotSupported('Invalid or unsupported JWK "alg" (Algorithm) Parameter value'); + } + break; + } + default: + throw new JOSENotSupported('Invalid or unsupported JWK "kty" (Key Type) Parameter value'); + } + return { algorithm, keyUsages }; +} +export default async (jwk) => { + if (!jwk.alg) { + throw new TypeError('"alg" argument is required when "jwk.alg" is not present'); + } + const { algorithm, keyUsages } = subtleMapping(jwk); + const keyData = { ...jwk }; + delete keyData.alg; + delete keyData.use; + return crypto.subtle.importKey('jwk', keyData, algorithm, jwk.ext ?? (jwk.d ? false : true), jwk.key_ops ?? keyUsages); +}; diff --git a/.output/server/node_modules/jose/dist/webapi/lib/jwt_claims_set.js b/.output/server/node_modules/jose/dist/webapi/lib/jwt_claims_set.js new file mode 100644 index 0000000000000000000000000000000000000000..68d183a06db77b92b087b915607cc5abd5b20e5d --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/lib/jwt_claims_set.js @@ -0,0 +1,104 @@ +import { JWTClaimValidationFailed, JWTExpired, JWTInvalid } from '../util/errors.js'; +import { decoder } from './buffer_utils.js'; +import epoch from './epoch.js'; +import secs from './secs.js'; +import isObject from './is_object.js'; +const normalizeTyp = (value) => value.toLowerCase().replace(/^application\//, ''); +const checkAudiencePresence = (audPayload, audOption) => { + if (typeof audPayload === 'string') { + return audOption.includes(audPayload); + } + if (Array.isArray(audPayload)) { + return audOption.some(Set.prototype.has.bind(new Set(audPayload))); + } + return false; +}; +export default (protectedHeader, encodedPayload, options = {}) => { + let payload; + try { + payload = JSON.parse(decoder.decode(encodedPayload)); + } + catch { + } + if (!isObject(payload)) { + throw new JWTInvalid('JWT Claims Set must be a top-level JSON object'); + } + const { typ } = options; + if (typ && + (typeof protectedHeader.typ !== 'string' || + normalizeTyp(protectedHeader.typ) !== normalizeTyp(typ))) { + throw new JWTClaimValidationFailed('unexpected "typ" JWT header value', payload, 'typ', 'check_failed'); + } + const { requiredClaims = [], issuer, subject, audience, maxTokenAge } = options; + const presenceCheck = [...requiredClaims]; + if (maxTokenAge !== undefined) + presenceCheck.push('iat'); + if (audience !== undefined) + presenceCheck.push('aud'); + if (subject !== undefined) + presenceCheck.push('sub'); + if (issuer !== undefined) + presenceCheck.push('iss'); + for (const claim of new Set(presenceCheck.reverse())) { + if (!(claim in payload)) { + throw new JWTClaimValidationFailed(`missing required "${claim}" claim`, payload, claim, 'missing'); + } + } + if (issuer && + !(Array.isArray(issuer) ? issuer : [issuer]).includes(payload.iss)) { + throw new JWTClaimValidationFailed('unexpected "iss" claim value', payload, 'iss', 'check_failed'); + } + if (subject && payload.sub !== subject) { + throw new JWTClaimValidationFailed('unexpected "sub" claim value', payload, 'sub', 'check_failed'); + } + if (audience && + !checkAudiencePresence(payload.aud, typeof audience === 'string' ? [audience] : audience)) { + throw new JWTClaimValidationFailed('unexpected "aud" claim value', payload, 'aud', 'check_failed'); + } + let tolerance; + switch (typeof options.clockTolerance) { + case 'string': + tolerance = secs(options.clockTolerance); + break; + case 'number': + tolerance = options.clockTolerance; + break; + case 'undefined': + tolerance = 0; + break; + default: + throw new TypeError('Invalid clockTolerance option type'); + } + const { currentDate } = options; + const now = epoch(currentDate || new Date()); + if ((payload.iat !== undefined || maxTokenAge) && typeof payload.iat !== 'number') { + throw new JWTClaimValidationFailed('"iat" claim must be a number', payload, 'iat', 'invalid'); + } + if (payload.nbf !== undefined) { + if (typeof payload.nbf !== 'number') { + throw new JWTClaimValidationFailed('"nbf" claim must be a number', payload, 'nbf', 'invalid'); + } + if (payload.nbf > now + tolerance) { + throw new JWTClaimValidationFailed('"nbf" claim timestamp check failed', payload, 'nbf', 'check_failed'); + } + } + if (payload.exp !== undefined) { + if (typeof payload.exp !== 'number') { + throw new JWTClaimValidationFailed('"exp" claim must be a number', payload, 'exp', 'invalid'); + } + if (payload.exp <= now - tolerance) { + throw new JWTExpired('"exp" claim timestamp check failed', payload, 'exp', 'check_failed'); + } + } + if (maxTokenAge) { + const age = now - payload.iat; + const max = typeof maxTokenAge === 'number' ? maxTokenAge : secs(maxTokenAge); + if (age - tolerance > max) { + throw new JWTExpired('"iat" claim timestamp check failed (too far in the past)', payload, 'iat', 'check_failed'); + } + if (age < 0 - tolerance) { + throw new JWTClaimValidationFailed('"iat" claim timestamp check failed (it should be in the past)', payload, 'iat', 'check_failed'); + } + } + return payload; +}; diff --git a/.output/server/node_modules/jose/dist/webapi/lib/key_to_jwk.js b/.output/server/node_modules/jose/dist/webapi/lib/key_to_jwk.js new file mode 100644 index 0000000000000000000000000000000000000000..e435b365c5edf997bbbfc1fb2f052bcf8c972623 --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/lib/key_to_jwk.js @@ -0,0 +1,27 @@ +import invalidKeyInput from './invalid_key_input.js'; +import { encode as b64u } from '../util/base64url.js'; +import { isCryptoKey, isKeyObject } from './is_key_like.js'; +export default async function keyToJWK(key) { + if (isKeyObject(key)) { + if (key.type === 'secret') { + key = key.export(); + } + else { + return key.export({ format: 'jwk' }); + } + } + if (key instanceof Uint8Array) { + return { + kty: 'oct', + k: b64u(key), + }; + } + if (!isCryptoKey(key)) { + throw new TypeError(invalidKeyInput(key, 'CryptoKey', 'KeyObject', 'Uint8Array')); + } + if (!key.extractable) { + throw new TypeError('non-extractable CryptoKey cannot be exported as a JWK'); + } + const { ext, key_ops, alg, use, ...jwk } = await crypto.subtle.exportKey('jwk', key); + return jwk; +} diff --git a/.output/server/node_modules/jose/dist/webapi/lib/normalize_key.js b/.output/server/node_modules/jose/dist/webapi/lib/normalize_key.js new file mode 100644 index 0000000000000000000000000000000000000000..c95f3575116b2c573619ed642b2629d8437f8488 --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/lib/normalize_key.js @@ -0,0 +1,164 @@ +import { isJWK } from './is_jwk.js'; +import { decode } from '../util/base64url.js'; +import importJWK from './jwk_to_key.js'; +import { isCryptoKey, isKeyObject } from './is_key_like.js'; +let cache; +const handleJWK = async (key, jwk, alg, freeze = false) => { + cache ||= new WeakMap(); + let cached = cache.get(key); + if (cached?.[alg]) { + return cached[alg]; + } + const cryptoKey = await importJWK({ ...jwk, alg }); + if (freeze) + Object.freeze(key); + if (!cached) { + cache.set(key, { [alg]: cryptoKey }); + } + else { + cached[alg] = cryptoKey; + } + return cryptoKey; +}; +const handleKeyObject = (keyObject, alg) => { + cache ||= new WeakMap(); + let cached = cache.get(keyObject); + if (cached?.[alg]) { + return cached[alg]; + } + const isPublic = keyObject.type === 'public'; + const extractable = isPublic ? true : false; + let cryptoKey; + if (keyObject.asymmetricKeyType === 'x25519') { + switch (alg) { + case 'ECDH-ES': + case 'ECDH-ES+A128KW': + case 'ECDH-ES+A192KW': + case 'ECDH-ES+A256KW': + break; + default: + throw new TypeError('given KeyObject instance cannot be used for this algorithm'); + } + cryptoKey = keyObject.toCryptoKey(keyObject.asymmetricKeyType, extractable, isPublic ? [] : ['deriveBits']); + } + if (keyObject.asymmetricKeyType === 'ed25519') { + if (alg !== 'EdDSA' && alg !== 'Ed25519') { + throw new TypeError('given KeyObject instance cannot be used for this algorithm'); + } + cryptoKey = keyObject.toCryptoKey(keyObject.asymmetricKeyType, extractable, [ + isPublic ? 'verify' : 'sign', + ]); + } + if (keyObject.asymmetricKeyType === 'rsa') { + let hash; + switch (alg) { + case 'RSA-OAEP': + hash = 'SHA-1'; + break; + case 'RS256': + case 'PS256': + case 'RSA-OAEP-256': + hash = 'SHA-256'; + break; + case 'RS384': + case 'PS384': + case 'RSA-OAEP-384': + hash = 'SHA-384'; + break; + case 'RS512': + case 'PS512': + case 'RSA-OAEP-512': + hash = 'SHA-512'; + break; + default: + throw new TypeError('given KeyObject instance cannot be used for this algorithm'); + } + if (alg.startsWith('RSA-OAEP')) { + return keyObject.toCryptoKey({ + name: 'RSA-OAEP', + hash, + }, extractable, isPublic ? ['encrypt'] : ['decrypt']); + } + cryptoKey = keyObject.toCryptoKey({ + name: alg.startsWith('PS') ? 'RSA-PSS' : 'RSASSA-PKCS1-v1_5', + hash, + }, extractable, [isPublic ? 'verify' : 'sign']); + } + if (keyObject.asymmetricKeyType === 'ec') { + const nist = new Map([ + ['prime256v1', 'P-256'], + ['secp384r1', 'P-384'], + ['secp521r1', 'P-521'], + ]); + const namedCurve = nist.get(keyObject.asymmetricKeyDetails?.namedCurve); + if (!namedCurve) { + throw new TypeError('given KeyObject instance cannot be used for this algorithm'); + } + if (alg === 'ES256' && namedCurve === 'P-256') { + cryptoKey = keyObject.toCryptoKey({ + name: 'ECDSA', + namedCurve, + }, extractable, [isPublic ? 'verify' : 'sign']); + } + if (alg === 'ES384' && namedCurve === 'P-384') { + cryptoKey = keyObject.toCryptoKey({ + name: 'ECDSA', + namedCurve, + }, extractable, [isPublic ? 'verify' : 'sign']); + } + if (alg === 'ES512' && namedCurve === 'P-521') { + cryptoKey = keyObject.toCryptoKey({ + name: 'ECDSA', + namedCurve, + }, extractable, [isPublic ? 'verify' : 'sign']); + } + if (alg.startsWith('ECDH-ES')) { + cryptoKey = keyObject.toCryptoKey({ + name: 'ECDH', + namedCurve, + }, extractable, isPublic ? [] : ['deriveBits']); + } + } + if (!cryptoKey) { + throw new TypeError('given KeyObject instance cannot be used for this algorithm'); + } + if (!cached) { + cache.set(keyObject, { [alg]: cryptoKey }); + } + else { + cached[alg] = cryptoKey; + } + return cryptoKey; +}; +export default async (key, alg) => { + if (key instanceof Uint8Array) { + return key; + } + if (isCryptoKey(key)) { + return key; + } + if (isKeyObject(key)) { + if (key.type === 'secret') { + return key.export(); + } + if ('toCryptoKey' in key && typeof key.toCryptoKey === 'function') { + try { + return handleKeyObject(key, alg); + } + catch (err) { + if (err instanceof TypeError) { + throw err; + } + } + } + let jwk = key.export({ format: 'jwk' }); + return handleJWK(key, jwk, alg); + } + if (isJWK(key)) { + if (key.k) { + return decode(key.k); + } + return handleJWK(key, key, alg, true); + } + throw new Error('unreachable'); +}; diff --git a/.output/server/node_modules/jose/dist/webapi/lib/pbes2kw.js b/.output/server/node_modules/jose/dist/webapi/lib/pbes2kw.js new file mode 100644 index 0000000000000000000000000000000000000000..9512908c6183224919045d6358f8e4f4c616bfe1 --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/lib/pbes2kw.js @@ -0,0 +1,37 @@ +import { encode as b64u } from '../util/base64url.js'; +import * as aeskw from './aeskw.js'; +import { checkEncCryptoKey } from './crypto_key.js'; +import { concat, encoder } from './buffer_utils.js'; +import { JWEInvalid } from '../util/errors.js'; +function getCryptoKey(key, alg) { + if (key instanceof Uint8Array) { + return crypto.subtle.importKey('raw', key, 'PBKDF2', false, ['deriveBits']); + } + checkEncCryptoKey(key, alg, 'deriveBits'); + return key; +} +const concatSalt = (alg, p2sInput) => concat(encoder.encode(alg), new Uint8Array([0]), p2sInput); +async function deriveKey(p2s, alg, p2c, key) { + if (!(p2s instanceof Uint8Array) || p2s.length < 8) { + throw new JWEInvalid('PBES2 Salt Input must be 8 or more octets'); + } + const salt = concatSalt(alg, p2s); + const keylen = parseInt(alg.slice(13, 16), 10); + const subtleAlg = { + hash: `SHA-${alg.slice(8, 11)}`, + iterations: p2c, + name: 'PBKDF2', + salt, + }; + const cryptoKey = await getCryptoKey(key, alg); + return new Uint8Array(await crypto.subtle.deriveBits(subtleAlg, cryptoKey, keylen)); +} +export async function wrap(alg, key, cek, p2c = 2048, p2s = crypto.getRandomValues(new Uint8Array(16))) { + const derived = await deriveKey(p2s, alg, p2c, key); + const encryptedKey = await aeskw.wrap(alg.slice(-6), derived, cek); + return { encryptedKey, p2c, p2s: b64u(p2s) }; +} +export async function unwrap(alg, key, encryptedKey, p2c, p2s) { + const derived = await deriveKey(p2s, alg, p2c, key); + return aeskw.unwrap(alg.slice(-6), derived, encryptedKey); +} diff --git a/.output/server/node_modules/jose/dist/webapi/lib/private_symbols.js b/.output/server/node_modules/jose/dist/webapi/lib/private_symbols.js new file mode 100644 index 0000000000000000000000000000000000000000..fce302b11ec5790d7d3a75552ce57b1b92c5cf22 --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/lib/private_symbols.js @@ -0,0 +1 @@ +export const unprotected = Symbol(); diff --git a/.output/server/node_modules/jose/dist/webapi/lib/rsaes.js b/.output/server/node_modules/jose/dist/webapi/lib/rsaes.js new file mode 100644 index 0000000000000000000000000000000000000000..ed635860fd6ff92c03c435e6f6a15b2645afea68 --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/lib/rsaes.js @@ -0,0 +1,24 @@ +import { checkEncCryptoKey } from './crypto_key.js'; +import checkKeyLength from './check_key_length.js'; +import { JOSENotSupported } from '../util/errors.js'; +const subtleAlgorithm = (alg) => { + switch (alg) { + case 'RSA-OAEP': + case 'RSA-OAEP-256': + case 'RSA-OAEP-384': + case 'RSA-OAEP-512': + return 'RSA-OAEP'; + default: + throw new JOSENotSupported(`alg ${alg} is not supported either by JOSE or your javascript runtime`); + } +}; +export async function encrypt(alg, key, cek) { + checkEncCryptoKey(key, alg, 'encrypt'); + checkKeyLength(alg, key); + return new Uint8Array(await crypto.subtle.encrypt(subtleAlgorithm(alg), key, cek)); +} +export async function decrypt(alg, key, encryptedKey) { + checkEncCryptoKey(key, alg, 'decrypt'); + checkKeyLength(alg, key); + return new Uint8Array(await crypto.subtle.decrypt(subtleAlgorithm(alg), key, encryptedKey)); +} diff --git a/.output/server/node_modules/jose/dist/webapi/lib/secs.js b/.output/server/node_modules/jose/dist/webapi/lib/secs.js new file mode 100644 index 0000000000000000000000000000000000000000..c99507450a10023202b5d6b2b3dca30d533352dc --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/lib/secs.js @@ -0,0 +1,55 @@ +const minute = 60; +const hour = minute * 60; +const day = hour * 24; +const week = day * 7; +const year = day * 365.25; +const REGEX = /^(\+|\-)? ?(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)(?: (ago|from now))?$/i; +export default (str) => { + const matched = REGEX.exec(str); + if (!matched || (matched[4] && matched[1])) { + throw new TypeError('Invalid time period format'); + } + const value = parseFloat(matched[2]); + const unit = matched[3].toLowerCase(); + let numericDate; + switch (unit) { + case 'sec': + case 'secs': + case 'second': + case 'seconds': + case 's': + numericDate = Math.round(value); + break; + case 'minute': + case 'minutes': + case 'min': + case 'mins': + case 'm': + numericDate = Math.round(value * minute); + break; + case 'hour': + case 'hours': + case 'hr': + case 'hrs': + case 'h': + numericDate = Math.round(value * hour); + break; + case 'day': + case 'days': + case 'd': + numericDate = Math.round(value * day); + break; + case 'week': + case 'weeks': + case 'w': + numericDate = Math.round(value * week); + break; + default: + numericDate = Math.round(value * year); + break; + } + if (matched[1] === '-' || matched[4] === 'ago') { + return -numericDate; + } + return numericDate; +}; diff --git a/.output/server/node_modules/jose/dist/webapi/lib/sign.js b/.output/server/node_modules/jose/dist/webapi/lib/sign.js new file mode 100644 index 0000000000000000000000000000000000000000..44d6c78a983c3b877c8790671df293c35a93a670 --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/lib/sign.js @@ -0,0 +1,9 @@ +import subtleAlgorithm from './subtle_dsa.js'; +import checkKeyLength from './check_key_length.js'; +import getSignKey from './get_sign_verify_key.js'; +export default async (alg, key, data) => { + const cryptoKey = await getSignKey(alg, key, 'sign'); + checkKeyLength(alg, cryptoKey); + const signature = await crypto.subtle.sign(subtleAlgorithm(alg, cryptoKey.algorithm), cryptoKey, data); + return new Uint8Array(signature); +}; diff --git a/.output/server/node_modules/jose/dist/webapi/lib/subtle_dsa.js b/.output/server/node_modules/jose/dist/webapi/lib/subtle_dsa.js new file mode 100644 index 0000000000000000000000000000000000000000..ec3ee0730a064dbdd5055f64d99719afb89cae51 --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/lib/subtle_dsa.js @@ -0,0 +1,27 @@ +import { JOSENotSupported } from '../util/errors.js'; +export default (alg, algorithm) => { + const hash = `SHA-${alg.slice(-3)}`; + switch (alg) { + case 'HS256': + case 'HS384': + case 'HS512': + return { hash, name: 'HMAC' }; + case 'PS256': + case 'PS384': + case 'PS512': + return { hash, name: 'RSA-PSS', saltLength: parseInt(alg.slice(-3), 10) >> 3 }; + case 'RS256': + case 'RS384': + case 'RS512': + return { hash, name: 'RSASSA-PKCS1-v1_5' }; + case 'ES256': + case 'ES384': + case 'ES512': + return { hash, name: 'ECDSA', namedCurve: algorithm.namedCurve }; + case 'Ed25519': + case 'EdDSA': + return { name: 'Ed25519' }; + default: + throw new JOSENotSupported(`alg ${alg} is not supported either by JOSE or your javascript runtime`); + } +}; diff --git a/.output/server/node_modules/jose/dist/webapi/lib/validate_algorithms.js b/.output/server/node_modules/jose/dist/webapi/lib/validate_algorithms.js new file mode 100644 index 0000000000000000000000000000000000000000..7edf916080c8f09d8801d6c526fe61aed520fd49 --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/lib/validate_algorithms.js @@ -0,0 +1,10 @@ +export default (option, algorithms) => { + if (algorithms !== undefined && + (!Array.isArray(algorithms) || algorithms.some((s) => typeof s !== 'string'))) { + throw new TypeError(`"${option}" option must be an array of strings`); + } + if (!algorithms) { + return undefined; + } + return new Set(algorithms); +}; diff --git a/.output/server/node_modules/jose/dist/webapi/lib/validate_crit.js b/.output/server/node_modules/jose/dist/webapi/lib/validate_crit.js new file mode 100644 index 0000000000000000000000000000000000000000..d09b5dd1be0e48952714d189165ba785ea16016e --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/lib/validate_crit.js @@ -0,0 +1,33 @@ +import { JOSENotSupported, JWEInvalid, JWSInvalid } from '../util/errors.js'; +export default (Err, recognizedDefault, recognizedOption, protectedHeader, joseHeader) => { + if (joseHeader.crit !== undefined && protectedHeader?.crit === undefined) { + throw new Err('"crit" (Critical) Header Parameter MUST be integrity protected'); + } + if (!protectedHeader || protectedHeader.crit === undefined) { + return new Set(); + } + if (!Array.isArray(protectedHeader.crit) || + protectedHeader.crit.length === 0 || + protectedHeader.crit.some((input) => typeof input !== 'string' || input.length === 0)) { + throw new Err('"crit" (Critical) Header Parameter MUST be an array of non-empty strings when present'); + } + let recognized; + if (recognizedOption !== undefined) { + recognized = new Map([...Object.entries(recognizedOption), ...recognizedDefault.entries()]); + } + else { + recognized = recognizedDefault; + } + for (const parameter of protectedHeader.crit) { + if (!recognized.has(parameter)) { + throw new JOSENotSupported(`Extension Header Parameter "${parameter}" is not recognized`); + } + if (joseHeader[parameter] === undefined) { + throw new Err(`Extension Header Parameter "${parameter}" is missing`); + } + if (recognized.get(parameter) && protectedHeader[parameter] === undefined) { + throw new Err(`Extension Header Parameter "${parameter}" MUST be integrity protected`); + } + } + return new Set(protectedHeader.crit); +}; diff --git a/.output/server/node_modules/jose/dist/webapi/lib/verify.js b/.output/server/node_modules/jose/dist/webapi/lib/verify.js new file mode 100644 index 0000000000000000000000000000000000000000..710151dbe3d5470f5b4fb07d18f321ff28b0bd38 --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/lib/verify.js @@ -0,0 +1,14 @@ +import subtleAlgorithm from './subtle_dsa.js'; +import checkKeyLength from './check_key_length.js'; +import getVerifyKey from './get_sign_verify_key.js'; +export default async (alg, key, signature, data) => { + const cryptoKey = await getVerifyKey(alg, key, 'verify'); + checkKeyLength(alg, cryptoKey); + const algorithm = subtleAlgorithm(alg, cryptoKey.algorithm); + try { + return await crypto.subtle.verify(algorithm, cryptoKey, signature, data); + } + catch { + return false; + } +}; diff --git a/.output/server/node_modules/jose/dist/webapi/util/base64url.js b/.output/server/node_modules/jose/dist/webapi/util/base64url.js new file mode 100644 index 0000000000000000000000000000000000000000..78ff1f302f5ff5f63b438f3bcfa41eb6ae56e23f --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/util/base64url.js @@ -0,0 +1,30 @@ +import { encoder, decoder } from '../lib/buffer_utils.js'; +import { encodeBase64, decodeBase64 } from '../lib/base64.js'; +export function decode(input) { + if (Uint8Array.fromBase64) { + return Uint8Array.fromBase64(typeof input === 'string' ? input : decoder.decode(input), { + alphabet: 'base64url', + }); + } + let encoded = input; + if (encoded instanceof Uint8Array) { + encoded = decoder.decode(encoded); + } + encoded = encoded.replace(/-/g, '+').replace(/_/g, '/').replace(/\s/g, ''); + try { + return decodeBase64(encoded); + } + catch { + throw new TypeError('The input to be decoded is not correctly encoded.'); + } +} +export function encode(input) { + let unencoded = input; + if (typeof unencoded === 'string') { + unencoded = encoder.encode(unencoded); + } + if (Uint8Array.prototype.toBase64) { + return unencoded.toBase64({ alphabet: 'base64url', omitPadding: true }); + } + return encodeBase64(unencoded).replace(/=/g, '').replace(/\+/g, '-').replace(/\//g, '_'); +} diff --git a/.output/server/node_modules/jose/dist/webapi/util/decode_jwt.js b/.output/server/node_modules/jose/dist/webapi/util/decode_jwt.js new file mode 100644 index 0000000000000000000000000000000000000000..0297f117604c4d26f6097022bf9366b2efbb4d36 --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/util/decode_jwt.js @@ -0,0 +1,32 @@ +import { decode as b64u } from './base64url.js'; +import { decoder } from '../lib/buffer_utils.js'; +import isObject from '../lib/is_object.js'; +import { JWTInvalid } from './errors.js'; +export function decodeJwt(jwt) { + if (typeof jwt !== 'string') + throw new JWTInvalid('JWTs must use Compact JWS serialization, JWT must be a string'); + const { 1: payload, length } = jwt.split('.'); + if (length === 5) + throw new JWTInvalid('Only JWTs using Compact JWS serialization can be decoded'); + if (length !== 3) + throw new JWTInvalid('Invalid JWT'); + if (!payload) + throw new JWTInvalid('JWTs must contain a payload'); + let decoded; + try { + decoded = b64u(payload); + } + catch { + throw new JWTInvalid('Failed to base64url decode the payload'); + } + let result; + try { + result = JSON.parse(decoder.decode(decoded)); + } + catch { + throw new JWTInvalid('Failed to parse the decoded payload as JSON'); + } + if (!isObject(result)) + throw new JWTInvalid('Invalid JWT Claims Set'); + return result; +} diff --git a/.output/server/node_modules/jose/dist/webapi/util/decode_protected_header.js b/.output/server/node_modules/jose/dist/webapi/util/decode_protected_header.js new file mode 100644 index 0000000000000000000000000000000000000000..8c2887c7a2ad5706a01e4a9955dc8e8f5bbe8111 --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/util/decode_protected_header.js @@ -0,0 +1,34 @@ +import { decode as b64u } from './base64url.js'; +import { decoder } from '../lib/buffer_utils.js'; +import isObject from '../lib/is_object.js'; +export function decodeProtectedHeader(token) { + let protectedB64u; + if (typeof token === 'string') { + const parts = token.split('.'); + if (parts.length === 3 || parts.length === 5) { + ; + [protectedB64u] = parts; + } + } + else if (typeof token === 'object' && token) { + if ('protected' in token) { + protectedB64u = token.protected; + } + else { + throw new TypeError('Token does not contain a Protected Header'); + } + } + try { + if (typeof protectedB64u !== 'string' || !protectedB64u) { + throw new Error(); + } + const result = JSON.parse(decoder.decode(b64u(protectedB64u))); + if (!isObject(result)) { + throw new Error(); + } + return result; + } + catch { + throw new TypeError('Invalid Token or Protected Header formatting'); + } +} diff --git a/.output/server/node_modules/jose/dist/webapi/util/errors.js b/.output/server/node_modules/jose/dist/webapi/util/errors.js new file mode 100644 index 0000000000000000000000000000000000000000..6fa9568dd1326a21906b30f458741623d0ed7aae --- /dev/null +++ b/.output/server/node_modules/jose/dist/webapi/util/errors.js @@ -0,0 +1,99 @@ +export class JOSEError extends Error { + static code = 'ERR_JOSE_GENERIC'; + code = 'ERR_JOSE_GENERIC'; + constructor(message, options) { + super(message, options); + this.name = this.constructor.name; + Error.captureStackTrace?.(this, this.constructor); + } +} +export class JWTClaimValidationFailed extends JOSEError { + static code = 'ERR_JWT_CLAIM_VALIDATION_FAILED'; + code = 'ERR_JWT_CLAIM_VALIDATION_FAILED'; + claim; + reason; + payload; + constructor(message, payload, claim = 'unspecified', reason = 'unspecified') { + super(message, { cause: { claim, reason, payload } }); + this.claim = claim; + this.reason = reason; + this.payload = payload; + } +} +export class JWTExpired extends JOSEError { + static code = 'ERR_JWT_EXPIRED'; + code = 'ERR_JWT_EXPIRED'; + claim; + reason; + payload; + constructor(message, payload, claim = 'unspecified', reason = 'unspecified') { + super(message, { cause: { claim, reason, payload } }); + this.claim = claim; + this.reason = reason; + this.payload = payload; + } +} +export class JOSEAlgNotAllowed extends JOSEError { + static code = 'ERR_JOSE_ALG_NOT_ALLOWED'; + code = 'ERR_JOSE_ALG_NOT_ALLOWED'; +} +export class JOSENotSupported extends JOSEError { + static code = 'ERR_JOSE_NOT_SUPPORTED'; + code = 'ERR_JOSE_NOT_SUPPORTED'; +} +export class JWEDecryptionFailed extends JOSEError { + static code = 'ERR_JWE_DECRYPTION_FAILED'; + code = 'ERR_JWE_DECRYPTION_FAILED'; + constructor(message = 'decryption operation failed', options) { + super(message, options); + } +} +export class JWEInvalid extends JOSEError { + static code = 'ERR_JWE_INVALID'; + code = 'ERR_JWE_INVALID'; +} +export class JWSInvalid extends JOSEError { + static code = 'ERR_JWS_INVALID'; + code = 'ERR_JWS_INVALID'; +} +export class JWTInvalid extends JOSEError { + static code = 'ERR_JWT_INVALID'; + code = 'ERR_JWT_INVALID'; +} +export class JWKInvalid extends JOSEError { + static code = 'ERR_JWK_INVALID'; + code = 'ERR_JWK_INVALID'; +} +export class JWKSInvalid extends JOSEError { + static code = 'ERR_JWKS_INVALID'; + code = 'ERR_JWKS_INVALID'; +} +export class JWKSNoMatchingKey extends JOSEError { + static code = 'ERR_JWKS_NO_MATCHING_KEY'; + code = 'ERR_JWKS_NO_MATCHING_KEY'; + constructor(message = 'no applicable key found in the JSON Web Key Set', options) { + super(message, options); + } +} +export class JWKSMultipleMatchingKeys extends JOSEError { + [Symbol.asyncIterator]; + static code = 'ERR_JWKS_MULTIPLE_MATCHING_KEYS'; + code = 'ERR_JWKS_MULTIPLE_MATCHING_KEYS'; + constructor(message = 'multiple matching keys found in the JSON Web Key Set', options) { + super(message, options); + } +} +export class JWKSTimeout extends JOSEError { + static code = 'ERR_JWKS_TIMEOUT'; + code = 'ERR_JWKS_TIMEOUT'; + constructor(message = 'request timed out', options) { + super(message, options); + } +} +export class JWSSignatureVerificationFailed extends JOSEError { + static code = 'ERR_JWS_SIGNATURE_VERIFICATION_FAILED'; + code = 'ERR_JWS_SIGNATURE_VERIFICATION_FAILED'; + constructor(message = 'signature verification failed', options) { + super(message, options); + } +} diff --git a/.output/server/node_modules/jose/package.json b/.output/server/node_modules/jose/package.json index f5b626ae23fa0d1c126f2ea070a0057bd7ff3bf7..2141bbdf3203fb1f8915a4ce5c95c622477e5340 100644 --- a/.output/server/node_modules/jose/package.json +++ b/.output/server/node_modules/jose/package.json @@ -1,6 +1,6 @@ { "name": "jose", - "version": "5.9.6", + "version": "6.0.8", "description": "JWA, JWS, JWE, JWT, JWK, JWKS for Node.js, Browser, Cloudflare Workers, Deno, Bun, and other Web-interoperable runtimes", "keywords": [ "browser", @@ -13,6 +13,7 @@ "detached", "ec", "ecdsa", + "ed25519", "eddsa", "edge", "electron", @@ -39,7 +40,6 @@ "pem", "pkcs8", "rsa", - "secp256k1", "sign", "signature", "spki", @@ -59,323 +59,140 @@ "license": "MIT", "author": "Filip Skokan <panva.ip@gmail.com>", "sideEffects": false, + "type": "module", "exports": { ".": { "types": "./dist/types/index.d.ts", - "bun": "./dist/browser/index.js", - "deno": "./dist/browser/index.js", - "browser": "./dist/browser/index.js", - "worker": "./dist/browser/index.js", - "workerd": "./dist/browser/index.js", - "import": "./dist/node/esm/index.js", - "require": "./dist/node/cjs/index.js" + "default": "./dist/webapi/index.js" }, "./jwk/embedded": { "types": "./dist/types/jwk/embedded.d.ts", - "bun": "./dist/browser/jwk/embedded.js", - "deno": "./dist/browser/jwk/embedded.js", - "browser": "./dist/browser/jwk/embedded.js", - "worker": "./dist/browser/jwk/embedded.js", - "workerd": "./dist/browser/jwk/embedded.js", - "import": "./dist/node/esm/jwk/embedded.js", - "require": "./dist/node/cjs/jwk/embedded.js" + "default": "./dist/webapi/jwk/embedded.js" }, "./jwk/thumbprint": { "types": "./dist/types/jwk/thumbprint.d.ts", - "bun": "./dist/browser/jwk/thumbprint.js", - "deno": "./dist/browser/jwk/thumbprint.js", - "browser": "./dist/browser/jwk/thumbprint.js", - "worker": "./dist/browser/jwk/thumbprint.js", - "workerd": "./dist/browser/jwk/thumbprint.js", - "import": "./dist/node/esm/jwk/thumbprint.js", - "require": "./dist/node/cjs/jwk/thumbprint.js" + "default": "./dist/webapi/jwk/thumbprint.js" }, "./key/import": { "types": "./dist/types/key/import.d.ts", - "bun": "./dist/browser/key/import.js", - "deno": "./dist/browser/key/import.js", - "browser": "./dist/browser/key/import.js", - "worker": "./dist/browser/key/import.js", - "workerd": "./dist/browser/key/import.js", - "import": "./dist/node/esm/key/import.js", - "require": "./dist/node/cjs/key/import.js" + "default": "./dist/webapi/key/import.js" }, "./key/export": { "types": "./dist/types/key/export.d.ts", - "bun": "./dist/browser/key/export.js", - "deno": "./dist/browser/key/export.js", - "browser": "./dist/browser/key/export.js", - "worker": "./dist/browser/key/export.js", - "workerd": "./dist/browser/key/export.js", - "import": "./dist/node/esm/key/export.js", - "require": "./dist/node/cjs/key/export.js" + "default": "./dist/webapi/key/export.js" }, "./key/generate/keypair": { "types": "./dist/types/key/generate_key_pair.d.ts", - "bun": "./dist/browser/key/generate_key_pair.js", - "deno": "./dist/browser/key/generate_key_pair.js", - "browser": "./dist/browser/key/generate_key_pair.js", - "worker": "./dist/browser/key/generate_key_pair.js", - "workerd": "./dist/browser/key/generate_key_pair.js", - "import": "./dist/node/esm/key/generate_key_pair.js", - "require": "./dist/node/cjs/key/generate_key_pair.js" + "default": "./dist/webapi/key/generate_key_pair.js" }, "./key/generate/secret": { "types": "./dist/types/key/generate_secret.d.ts", - "bun": "./dist/browser/key/generate_secret.js", - "deno": "./dist/browser/key/generate_secret.js", - "browser": "./dist/browser/key/generate_secret.js", - "worker": "./dist/browser/key/generate_secret.js", - "workerd": "./dist/browser/key/generate_secret.js", - "import": "./dist/node/esm/key/generate_secret.js", - "require": "./dist/node/cjs/key/generate_secret.js" + "default": "./dist/webapi/key/generate_secret.js" }, "./jwks/remote": { "types": "./dist/types/jwks/remote.d.ts", - "bun": "./dist/browser/jwks/remote.js", - "deno": "./dist/browser/jwks/remote.js", - "browser": "./dist/browser/jwks/remote.js", - "worker": "./dist/browser/jwks/remote.js", - "workerd": "./dist/browser/jwks/remote.js", - "import": "./dist/node/esm/jwks/remote.js", - "require": "./dist/node/cjs/jwks/remote.js" + "default": "./dist/webapi/jwks/remote.js" }, "./jwks/local": { "types": "./dist/types/jwks/local.d.ts", - "bun": "./dist/browser/jwks/local.js", - "deno": "./dist/browser/jwks/local.js", - "browser": "./dist/browser/jwks/local.js", - "worker": "./dist/browser/jwks/local.js", - "workerd": "./dist/browser/jwks/local.js", - "import": "./dist/node/esm/jwks/local.js", - "require": "./dist/node/cjs/jwks/local.js" + "default": "./dist/webapi/jwks/local.js" }, "./jwt/sign": { "types": "./dist/types/jwt/sign.d.ts", - "bun": "./dist/browser/jwt/sign.js", - "deno": "./dist/browser/jwt/sign.js", - "browser": "./dist/browser/jwt/sign.js", - "worker": "./dist/browser/jwt/sign.js", - "workerd": "./dist/browser/jwt/sign.js", - "import": "./dist/node/esm/jwt/sign.js", - "require": "./dist/node/cjs/jwt/sign.js" + "default": "./dist/webapi/jwt/sign.js" }, "./jwt/verify": { "types": "./dist/types/jwt/verify.d.ts", - "bun": "./dist/browser/jwt/verify.js", - "deno": "./dist/browser/jwt/verify.js", - "browser": "./dist/browser/jwt/verify.js", - "worker": "./dist/browser/jwt/verify.js", - "workerd": "./dist/browser/jwt/verify.js", - "import": "./dist/node/esm/jwt/verify.js", - "require": "./dist/node/cjs/jwt/verify.js" + "default": "./dist/webapi/jwt/verify.js" }, "./jwt/encrypt": { "types": "./dist/types/jwt/encrypt.d.ts", - "bun": "./dist/browser/jwt/encrypt.js", - "deno": "./dist/browser/jwt/encrypt.js", - "browser": "./dist/browser/jwt/encrypt.js", - "worker": "./dist/browser/jwt/encrypt.js", - "workerd": "./dist/browser/jwt/encrypt.js", - "import": "./dist/node/esm/jwt/encrypt.js", - "require": "./dist/node/cjs/jwt/encrypt.js" + "default": "./dist/webapi/jwt/encrypt.js" }, "./jwt/decrypt": { "types": "./dist/types/jwt/decrypt.d.ts", - "bun": "./dist/browser/jwt/decrypt.js", - "deno": "./dist/browser/jwt/decrypt.js", - "browser": "./dist/browser/jwt/decrypt.js", - "worker": "./dist/browser/jwt/decrypt.js", - "workerd": "./dist/browser/jwt/decrypt.js", - "import": "./dist/node/esm/jwt/decrypt.js", - "require": "./dist/node/cjs/jwt/decrypt.js" + "default": "./dist/webapi/jwt/decrypt.js" }, "./jwt/unsecured": { "types": "./dist/types/jwt/unsecured.d.ts", - "bun": "./dist/browser/jwt/unsecured.js", - "deno": "./dist/browser/jwt/unsecured.js", - "browser": "./dist/browser/jwt/unsecured.js", - "worker": "./dist/browser/jwt/unsecured.js", - "workerd": "./dist/browser/jwt/unsecured.js", - "import": "./dist/node/esm/jwt/unsecured.js", - "require": "./dist/node/cjs/jwt/unsecured.js" + "default": "./dist/webapi/jwt/unsecured.js" }, "./jwt/decode": { "types": "./dist/types/util/decode_jwt.d.ts", - "bun": "./dist/browser/util/decode_jwt.js", - "deno": "./dist/browser/util/decode_jwt.js", - "browser": "./dist/browser/util/decode_jwt.js", - "worker": "./dist/browser/util/decode_jwt.js", - "workerd": "./dist/browser/util/decode_jwt.js", - "import": "./dist/node/esm/util/decode_jwt.js", - "require": "./dist/node/cjs/util/decode_jwt.js" + "default": "./dist/webapi/util/decode_jwt.js" }, "./decode/protected_header": { "types": "./dist/types/util/decode_protected_header.d.ts", - "bun": "./dist/browser/util/decode_protected_header.js", - "deno": "./dist/browser/util/decode_protected_header.js", - "browser": "./dist/browser/util/decode_protected_header.js", - "worker": "./dist/browser/util/decode_protected_header.js", - "workerd": "./dist/browser/util/decode_protected_header.js", - "import": "./dist/node/esm/util/decode_protected_header.js", - "require": "./dist/node/cjs/util/decode_protected_header.js" + "default": "./dist/webapi/util/decode_protected_header.js" }, "./jws/compact/sign": { "types": "./dist/types/jws/compact/sign.d.ts", - "bun": "./dist/browser/jws/compact/sign.js", - "deno": "./dist/browser/jws/compact/sign.js", - "browser": "./dist/browser/jws/compact/sign.js", - "worker": "./dist/browser/jws/compact/sign.js", - "workerd": "./dist/browser/jws/compact/sign.js", - "import": "./dist/node/esm/jws/compact/sign.js", - "require": "./dist/node/cjs/jws/compact/sign.js" + "default": "./dist/webapi/jws/compact/sign.js" }, "./jws/compact/verify": { "types": "./dist/types/jws/compact/verify.d.ts", - "bun": "./dist/browser/jws/compact/verify.js", - "deno": "./dist/browser/jws/compact/verify.js", - "browser": "./dist/browser/jws/compact/verify.js", - "worker": "./dist/browser/jws/compact/verify.js", - "workerd": "./dist/browser/jws/compact/verify.js", - "import": "./dist/node/esm/jws/compact/verify.js", - "require": "./dist/node/cjs/jws/compact/verify.js" + "default": "./dist/webapi/jws/compact/verify.js" }, "./jws/flattened/sign": { "types": "./dist/types/jws/flattened/sign.d.ts", - "bun": "./dist/browser/jws/flattened/sign.js", - "deno": "./dist/browser/jws/flattened/sign.js", - "browser": "./dist/browser/jws/flattened/sign.js", - "worker": "./dist/browser/jws/flattened/sign.js", - "workerd": "./dist/browser/jws/flattened/sign.js", - "import": "./dist/node/esm/jws/flattened/sign.js", - "require": "./dist/node/cjs/jws/flattened/sign.js" + "default": "./dist/webapi/jws/flattened/sign.js" }, "./jws/flattened/verify": { "types": "./dist/types/jws/flattened/verify.d.ts", - "bun": "./dist/browser/jws/flattened/verify.js", - "deno": "./dist/browser/jws/flattened/verify.js", - "browser": "./dist/browser/jws/flattened/verify.js", - "worker": "./dist/browser/jws/flattened/verify.js", - "workerd": "./dist/browser/jws/flattened/verify.js", - "import": "./dist/node/esm/jws/flattened/verify.js", - "require": "./dist/node/cjs/jws/flattened/verify.js" + "default": "./dist/webapi/jws/flattened/verify.js" }, "./jws/general/sign": { "types": "./dist/types/jws/general/sign.d.ts", - "bun": "./dist/browser/jws/general/sign.js", - "deno": "./dist/browser/jws/general/sign.js", - "browser": "./dist/browser/jws/general/sign.js", - "worker": "./dist/browser/jws/general/sign.js", - "workerd": "./dist/browser/jws/general/sign.js", - "import": "./dist/node/esm/jws/general/sign.js", - "require": "./dist/node/cjs/jws/general/sign.js" + "default": "./dist/webapi/jws/general/sign.js" }, "./jws/general/verify": { "types": "./dist/types/jws/general/verify.d.ts", - "bun": "./dist/browser/jws/general/verify.js", - "deno": "./dist/browser/jws/general/verify.js", - "browser": "./dist/browser/jws/general/verify.js", - "worker": "./dist/browser/jws/general/verify.js", - "workerd": "./dist/browser/jws/general/verify.js", - "import": "./dist/node/esm/jws/general/verify.js", - "require": "./dist/node/cjs/jws/general/verify.js" + "default": "./dist/webapi/jws/general/verify.js" }, "./jwe/compact/encrypt": { "types": "./dist/types/jwe/compact/encrypt.d.ts", - "bun": "./dist/browser/jwe/compact/encrypt.js", - "deno": "./dist/browser/jwe/compact/encrypt.js", - "browser": "./dist/browser/jwe/compact/encrypt.js", - "worker": "./dist/browser/jwe/compact/encrypt.js", - "workerd": "./dist/browser/jwe/compact/encrypt.js", - "import": "./dist/node/esm/jwe/compact/encrypt.js", - "require": "./dist/node/cjs/jwe/compact/encrypt.js" + "default": "./dist/webapi/jwe/compact/encrypt.js" }, "./jwe/compact/decrypt": { "types": "./dist/types/jwe/compact/decrypt.d.ts", - "bun": "./dist/browser/jwe/compact/decrypt.js", - "deno": "./dist/browser/jwe/compact/decrypt.js", - "browser": "./dist/browser/jwe/compact/decrypt.js", - "worker": "./dist/browser/jwe/compact/decrypt.js", - "workerd": "./dist/browser/jwe/compact/decrypt.js", - "import": "./dist/node/esm/jwe/compact/decrypt.js", - "require": "./dist/node/cjs/jwe/compact/decrypt.js" + "default": "./dist/webapi/jwe/compact/decrypt.js" }, "./jwe/flattened/encrypt": { "types": "./dist/types/jwe/flattened/encrypt.d.ts", - "bun": "./dist/browser/jwe/flattened/encrypt.js", - "deno": "./dist/browser/jwe/flattened/encrypt.js", - "browser": "./dist/browser/jwe/flattened/encrypt.js", - "worker": "./dist/browser/jwe/flattened/encrypt.js", - "workerd": "./dist/browser/jwe/flattened/encrypt.js", - "import": "./dist/node/esm/jwe/flattened/encrypt.js", - "require": "./dist/node/cjs/jwe/flattened/encrypt.js" + "default": "./dist/webapi/jwe/flattened/encrypt.js" }, "./jwe/flattened/decrypt": { "types": "./dist/types/jwe/flattened/decrypt.d.ts", - "bun": "./dist/browser/jwe/flattened/decrypt.js", - "deno": "./dist/browser/jwe/flattened/decrypt.js", - "browser": "./dist/browser/jwe/flattened/decrypt.js", - "worker": "./dist/browser/jwe/flattened/decrypt.js", - "workerd": "./dist/browser/jwe/flattened/decrypt.js", - "import": "./dist/node/esm/jwe/flattened/decrypt.js", - "require": "./dist/node/cjs/jwe/flattened/decrypt.js" + "default": "./dist/webapi/jwe/flattened/decrypt.js" }, "./jwe/general/encrypt": { "types": "./dist/types/jwe/general/encrypt.d.ts", - "bun": "./dist/browser/jwe/general/encrypt.js", - "deno": "./dist/browser/jwe/general/encrypt.js", - "browser": "./dist/browser/jwe/general/encrypt.js", - "worker": "./dist/browser/jwe/general/encrypt.js", - "workerd": "./dist/browser/jwe/general/encrypt.js", - "import": "./dist/node/esm/jwe/general/encrypt.js", - "require": "./dist/node/cjs/jwe/general/encrypt.js" + "default": "./dist/webapi/jwe/general/encrypt.js" }, "./jwe/general/decrypt": { "types": "./dist/types/jwe/general/decrypt.d.ts", - "bun": "./dist/browser/jwe/general/decrypt.js", - "deno": "./dist/browser/jwe/general/decrypt.js", - "browser": "./dist/browser/jwe/general/decrypt.js", - "worker": "./dist/browser/jwe/general/decrypt.js", - "workerd": "./dist/browser/jwe/general/decrypt.js", - "import": "./dist/node/esm/jwe/general/decrypt.js", - "require": "./dist/node/cjs/jwe/general/decrypt.js" + "default": "./dist/webapi/jwe/general/decrypt.js" }, "./errors": { "types": "./dist/types/util/errors.d.ts", - "bun": "./dist/browser/util/errors.js", - "deno": "./dist/browser/util/errors.js", - "browser": "./dist/browser/util/errors.js", - "worker": "./dist/browser/util/errors.js", - "workerd": "./dist/browser/util/errors.js", - "import": "./dist/node/esm/util/errors.js", - "require": "./dist/node/cjs/util/errors.js" + "default": "./dist/webapi/util/errors.js" }, "./base64url": { "types": "./dist/types/util/base64url.d.ts", - "bun": "./dist/browser/util/base64url.js", - "deno": "./dist/browser/util/base64url.js", - "browser": "./dist/browser/util/base64url.js", - "worker": "./dist/browser/util/base64url.js", - "workerd": "./dist/browser/util/base64url.js", - "import": "./dist/node/esm/util/base64url.js", - "require": "./dist/node/cjs/util/base64url.js" + "default": "./dist/webapi/util/base64url.js" }, "./package.json": "./package.json" }, - "main": "./dist/node/cjs/index.js", - "browser": "./dist/browser/index.js", + "main": "./dist/webapi/index.js", "types": "./dist/types/index.d.ts", "files": [ - "dist/**/package.json", - "dist/**/*.js", + "dist/webapi/**/*.js", "dist/types/**/*.d.ts", "!dist/**/*.bundle.js", "!dist/**/*.umd.js", "!dist/**/*.min.js", - "!dist/node/webcrypto/**/*", "!dist/types/runtime/*", "!dist/types/lib/*", "!dist/deno/**/*" - ], - "deno": "./dist/browser/index.js" + ] } \ No newline at end of file diff --git a/.output/server/node_modules/math-intrinsics/abs.js b/.output/server/node_modules/math-intrinsics/abs.js new file mode 100644 index 0000000000000000000000000000000000000000..a751424cdcdd37aab366b9ed966e1ed9651308f5 --- /dev/null +++ b/.output/server/node_modules/math-intrinsics/abs.js @@ -0,0 +1,4 @@ +'use strict'; + +/** @type {import('./abs')} */ +module.exports = Math.abs; diff --git a/.output/server/node_modules/math-intrinsics/floor.js b/.output/server/node_modules/math-intrinsics/floor.js new file mode 100644 index 0000000000000000000000000000000000000000..ab0e5d7dcd43056d5d5288de0d08ca4177efb2db --- /dev/null +++ b/.output/server/node_modules/math-intrinsics/floor.js @@ -0,0 +1,4 @@ +'use strict'; + +/** @type {import('./floor')} */ +module.exports = Math.floor; diff --git a/.output/server/node_modules/math-intrinsics/isNaN.js b/.output/server/node_modules/math-intrinsics/isNaN.js new file mode 100644 index 0000000000000000000000000000000000000000..e36475cf878ca6beda4dfd1cd3881759b72270c6 --- /dev/null +++ b/.output/server/node_modules/math-intrinsics/isNaN.js @@ -0,0 +1,6 @@ +'use strict'; + +/** @type {import('./isNaN')} */ +module.exports = Number.isNaN || function isNaN(a) { + return a !== a; +}; diff --git a/.output/server/node_modules/math-intrinsics/max.js b/.output/server/node_modules/math-intrinsics/max.js new file mode 100644 index 0000000000000000000000000000000000000000..edb55dfbca86a881da139244122c4f734d6a5844 --- /dev/null +++ b/.output/server/node_modules/math-intrinsics/max.js @@ -0,0 +1,4 @@ +'use strict'; + +/** @type {import('./max')} */ +module.exports = Math.max; diff --git a/.output/server/node_modules/math-intrinsics/min.js b/.output/server/node_modules/math-intrinsics/min.js new file mode 100644 index 0000000000000000000000000000000000000000..5a4a7c7149a79f113c536e08888acc70213674e8 --- /dev/null +++ b/.output/server/node_modules/math-intrinsics/min.js @@ -0,0 +1,4 @@ +'use strict'; + +/** @type {import('./min')} */ +module.exports = Math.min; diff --git a/.output/server/node_modules/math-intrinsics/package.json b/.output/server/node_modules/math-intrinsics/package.json new file mode 100644 index 0000000000000000000000000000000000000000..0f254471184563832131296701aeb9f168a2f5d4 --- /dev/null +++ b/.output/server/node_modules/math-intrinsics/package.json @@ -0,0 +1,86 @@ +{ + "name": "math-intrinsics", + "version": "1.1.0", + "description": "ES Math-related intrinsics and helpers, robustly cached.", + "main": false, + "exports": { + "./abs": "./abs.js", + "./floor": "./floor.js", + "./isFinite": "./isFinite.js", + "./isInteger": "./isInteger.js", + "./isNaN": "./isNaN.js", + "./isNegativeZero": "./isNegativeZero.js", + "./max": "./max.js", + "./min": "./min.js", + "./mod": "./mod.js", + "./pow": "./pow.js", + "./sign": "./sign.js", + "./round": "./round.js", + "./constants/maxArrayLength": "./constants/maxArrayLength.js", + "./constants/maxSafeInteger": "./constants/maxSafeInteger.js", + "./constants/maxValue": "./constants/maxValue.js", + "./package.json": "./package.json" + }, + "sideEffects": false, + "scripts": { + "prepack": "npmignore --auto --commentLines=autogenerated", + "prepublishOnly": "safe-publish-latest", + "prepublish": "not-in-publish || npm run prepublishOnly", + "pretest": "npm run lint", + "test": "npm run tests-only", + "tests-only": "nyc tape 'test/**/*.js'", + "posttest": "npx npm@'>= 10.2' audit --production", + "prelint": "evalmd README.md && eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git' | grep -v dist/)", + "lint": "eslint --ext=js,mjs .", + "postlint": "tsc && attw -P", + "version": "auto-changelog && git add CHANGELOG.md", + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/es-shims/math-intrinsics.git" + }, + "author": "Jordan Harband <ljharb@gmail.com>", + "license": "MIT", + "bugs": { + "url": "https://github.com/es-shims/math-intrinsics/issues" + }, + "homepage": "https://github.com/es-shims/math-intrinsics#readme", + "devDependencies": { + "@arethetypeswrong/cli": "^0.17.1", + "@ljharb/eslint-config": "^21.1.1", + "@ljharb/tsconfig": "^0.2.2", + "@types/for-each": "^0.3.3", + "@types/object-inspect": "^1.13.0", + "@types/tape": "^5.8.0", + "auto-changelog": "^2.5.0", + "eclint": "^2.8.1", + "es-value-fixtures": "^1.5.0", + "eslint": "^8.8.0", + "evalmd": "^0.0.19", + "for-each": "^0.3.3", + "in-publish": "^2.0.1", + "npmignore": "^0.3.1", + "nyc": "^10.3.2", + "object-inspect": "^1.13.3", + "safe-publish-latest": "^2.0.0", + "tape": "^5.9.0", + "typescript": "next" + }, + "auto-changelog": { + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": false, + "backfillLimit": false, + "hideCredit": true + }, + "publishConfig": { + "ignore": [ + ".github/workflows" + ] + }, + "engines": { + "node": ">= 0.4" + } +} \ No newline at end of file diff --git a/.output/server/node_modules/math-intrinsics/pow.js b/.output/server/node_modules/math-intrinsics/pow.js new file mode 100644 index 0000000000000000000000000000000000000000..c0a4103811f69cdfefb43e1fd0a5a866da3c0cd9 --- /dev/null +++ b/.output/server/node_modules/math-intrinsics/pow.js @@ -0,0 +1,4 @@ +'use strict'; + +/** @type {import('./pow')} */ +module.exports = Math.pow; diff --git a/.output/server/node_modules/math-intrinsics/round.js b/.output/server/node_modules/math-intrinsics/round.js new file mode 100644 index 0000000000000000000000000000000000000000..b79215663a657631fd01aef3d95dbffac635b707 --- /dev/null +++ b/.output/server/node_modules/math-intrinsics/round.js @@ -0,0 +1,4 @@ +'use strict'; + +/** @type {import('./round')} */ +module.exports = Math.round; diff --git a/.output/server/node_modules/math-intrinsics/sign.js b/.output/server/node_modules/math-intrinsics/sign.js new file mode 100644 index 0000000000000000000000000000000000000000..9e5173c80da67de620a9b3a769936d77bf68ba73 --- /dev/null +++ b/.output/server/node_modules/math-intrinsics/sign.js @@ -0,0 +1,11 @@ +'use strict'; + +var $isNaN = require('./isNaN'); + +/** @type {import('./sign')} */ +module.exports = function sign(number) { + if ($isNaN(number) || number === 0) { + return number; + } + return number < 0 ? -1 : +1; +}; diff --git a/.output/server/node_modules/uuid/dist/esm/v1.js b/.output/server/node_modules/uuid/dist/esm/v1.js index eee9b01f3525ddd7736de260cd983be2561d3f2f..65e3f68fb712d34bce12b141b4b2f04402d57f9c 100644 --- a/.output/server/node_modules/uuid/dist/esm/v1.js +++ b/.output/server/node_modules/uuid/dist/esm/v1.js @@ -19,7 +19,7 @@ function v1(options, buf, offset) { updateV1State(_state, now, rnds); bytes = v1Bytes(rnds, _state.msecs, _state.nsecs, isV6 ? undefined : _state.clockseq, isV6 ? undefined : _state.node, buf, offset); } - return buf ? bytes : unsafeStringify(bytes); + return buf ?? unsafeStringify(bytes); } export function updateV1State(state, now, rnds) { state.msecs ??= -Infinity; diff --git a/.output/server/node_modules/uuid/dist/esm/v7.js b/.output/server/node_modules/uuid/dist/esm/v7.js index 482aca7b5c9c68f2773ce01da71f3f5954c8dc49..276c9bf6f04fa4ba169eaed5a0931fe8912f2891 100644 --- a/.output/server/node_modules/uuid/dist/esm/v7.js +++ b/.output/server/node_modules/uuid/dist/esm/v7.js @@ -12,7 +12,7 @@ function v7(options, buf, offset) { updateV7State(_state, now, rnds); bytes = v7Bytes(rnds, _state.msecs, _state.seq, buf, offset); } - return buf ? bytes : unsafeStringify(bytes); + return buf ?? unsafeStringify(bytes); } export function updateV7State(state, now, rnds) { state.msecs ??= -Infinity; diff --git a/.output/server/node_modules/uuid/package.json b/.output/server/node_modules/uuid/package.json index 07755eb84f8a1b1d7852e32176f8b421b89218d9..5ed049b5fe42bf69f91ada2e44d11d65d23a7544 100644 --- a/.output/server/node_modules/uuid/package.json +++ b/.output/server/node_modules/uuid/package.json @@ -1,6 +1,6 @@ { "name": "uuid", - "version": "11.0.5", + "version": "11.1.0", "description": "RFC9562 UUIDs", "type": "module", "funding": [ diff --git a/.output/server/node_modules/ws/lib/sender.js b/.output/server/node_modules/ws/lib/sender.js index ee16cea5ae582f3a007a999d6e9a1c457302151c..a8b1da3a997767186e4cc29a6d34f42a2c54e3d9 100644 --- a/.output/server/node_modules/ws/lib/sender.js +++ b/.output/server/node_modules/ws/lib/sender.js @@ -551,7 +551,7 @@ class Sender { /** * Sends a frame. * - * @param {Buffer[]} list The frame to send + * @param {(Buffer | String)[]} list The frame to send * @param {Function} [cb] Callback * @private */ diff --git a/.output/server/node_modules/ws/lib/stream.js b/.output/server/node_modules/ws/lib/stream.js index 230734b79a870a366a29b0191876817ddb25b3fa..4c58c911bc3da49c9b2610da77ff61b71f111810 100644 --- a/.output/server/node_modules/ws/lib/stream.js +++ b/.output/server/node_modules/ws/lib/stream.js @@ -1,5 +1,7 @@ +/* eslint no-unused-vars: ["error", { "varsIgnorePattern": "^WebSocket$" }] */ 'use strict'; +const WebSocket = require('./websocket'); const { Duplex } = require('stream'); /** diff --git a/.output/server/node_modules/ws/package.json b/.output/server/node_modules/ws/package.json index f6db9738e4061653a8100a06db22f3363e0d55d3..178ab800c22b972bcf1e21f2a1e42cb3bff7b272 100644 --- a/.output/server/node_modules/ws/package.json +++ b/.output/server/node_modules/ws/package.json @@ -1,6 +1,6 @@ { "name": "ws", - "version": "8.18.0", + "version": "8.18.1", "description": "Simple to use, blazing fast and thoroughly tested websocket client and server for Node.js", "keywords": [ "HyBi", @@ -58,7 +58,7 @@ "benchmark": "^2.1.4", "bufferutil": "^4.0.1", "eslint": "^9.0.0", - "eslint-config-prettier": "^9.0.0", + "eslint-config-prettier": "^10.0.1", "eslint-plugin-prettier": "^5.0.0", "globals": "^15.0.0", "mocha": "^8.4.0", diff --git a/.output/server/package.json b/.output/server/package.json index 0d5fe3d1c0ed0618ec727a8595d3e44f4fcd7037..dac409e2dd30a0f37571f0a4ec1d99d301896252 100644 --- a/.output/server/package.json +++ b/.output/server/package.json @@ -1 +1 @@ -{"name":"seedchat-prod","version":"1.0.6","type":"module","private":true,"dependencies":{"@grpc/grpc-js":"1.12.5","@grpc/proto-loader":"0.7.13","@js-sdsl/ordered-map":"4.4.2","@protobufjs/aspromise":"1.1.2","@protobufjs/base64":"1.1.2","@protobufjs/codegen":"2.0.4","@protobufjs/eventemitter":"1.1.0","@protobufjs/fetch":"1.1.0","@protobufjs/float":"1.0.2","@protobufjs/inquire":"1.1.0","@protobufjs/path":"1.1.2","@protobufjs/pool":"1.1.0","@protobufjs/utf8":"1.1.0","asynckit":"0.4.0","combined-stream":"1.0.8","delayed-stream":"1.0.0","eventsource-parser":"3.0.0","form-data":"4.0.1","jose":"5.9.6","lodash.camelcase":"4.3.0","long":"5.2.4","mime-db":"1.52.0","mime-types":"2.1.35","protobufjs":"7.4.0","uuid":"11.0.5","ws":"8.18.0"}} \ No newline at end of file +{"name":"seedchat-prod","version":"1.0.6","type":"module","private":true,"dependencies":{"@grpc/grpc-js":"1.12.6","@grpc/proto-loader":"0.7.13","@js-sdsl/ordered-map":"4.4.2","@protobufjs/aspromise":"1.1.2","@protobufjs/base64":"1.1.2","@protobufjs/codegen":"2.0.4","@protobufjs/eventemitter":"1.1.0","@protobufjs/fetch":"1.1.0","@protobufjs/float":"1.0.2","@protobufjs/inquire":"1.1.0","@protobufjs/path":"1.1.2","@protobufjs/pool":"1.1.0","@protobufjs/utf8":"1.1.0","asynckit":"0.4.0","call-bind-apply-helpers":"1.0.1","combined-stream":"1.0.8","delayed-stream":"1.0.0","dunder-proto":"1.0.1","es-define-property":"1.0.1","es-errors":"1.3.0","es-object-atoms":"1.1.1","es-set-tostringtag":"2.1.0","eventsource-parser":"3.0.0","form-data":"4.0.2","function-bind":"1.1.2","get-intrinsic":"1.2.7","get-proto":"1.0.1","gopd":"1.2.0","has-symbols":"1.1.0","has-tostringtag":"1.0.2","hasown":"2.0.2","jose":"6.0.8","lodash.camelcase":"4.3.0","long":"5.2.4","math-intrinsics":"1.1.0","mime-db":"1.52.0","mime-types":"2.1.35","protobufjs":"7.4.0","uuid":"11.1.0","ws":"8.18.1"}} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index d41007c802798942c9623fcc210201d33a850688..7d55d0a215c83009cd2d9e571b1bb751eef4130a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,20 +11,19 @@ "@agoose77/markdown-it-mermaid": "^1.1.0", "@dicebear/collection": "^8.0.1", "@dicebear/core": "^8.0.1", - "@grpc/grpc-js": "^1.12.5", - "@md-reader/markdown-it-mermaid": "^0.6.0-beta.0", + "@grpc/grpc-js": "^1.12.6", "@mozilla/readability": "^0.5.0", "@traptitech/markdown-it-katex": "^3.6.0", "@types/form-data": "^2.5.2", "@types/ws": "^8.5.14", - "@vueuse/core": "^12.5.0", + "@vueuse/core": "^12.7.0", "@wdns/vue-code-block": "^2.3.5", - "electron-context-menu": "^4.0.4", + "electron-context-menu": "^4.0.5", "electron-findbar": "^0.6.4", "eventsource-parser": "^3.0.0", - "form-data": "^4.0.1", + "form-data": "^4.0.2", "highlight.js": "^11.11.1", - "jose": "^5.9.6", + "jose": "^6.0.8", "mammoth": "^1.9.0", "markdown-it": "^14.1.0", "markdown-it-highlightjs": "^4.2.0", @@ -36,13 +35,13 @@ "tdesign-icons-vue-next": "^0.3.4", "tdesign-vue-next": "latest", "tvision-color": "^1.6.0", - "undici": "^7.3.0", - "uuid": "^11.0.5", + "undici": "^7.4.0", + "uuid": "^11.1.0", "vue": "^3.5.13", - "vue-i18n": "^11.0.1", + "vue-i18n": "^11.1.1", "vue-router": "^4.5.0", "vuedraggable": "^4.1.0", - "ws": "^8.18.0", + "ws": "^8.18.1", "xlsx": "^0.18.5" }, "devDependencies": { @@ -63,22 +62,22 @@ "postcss": "^8.5.1", "postcss-less": "^6.0.0", "protobufjs-cli": "^1.1.3", - "sass-embedded": "^1.83.4", + "sass-embedded": "^1.85.1", "shx": "^0.3.4", - "swagger-ui-dist": "^5.18.3", + "swagger-ui-dist": "^5.20.0", "tailwindcss": "^3.4.4", - "terser": "^5.37.0", - "typescript": "^5.7.3", - "unplugin-auto-import": "^19.0.0", - "unplugin-vue-components": "^28.0.0", - "vite": "^6.0.11", + "terser": "^5.39.0", + "typescript": "^5.8.2", + "unplugin-auto-import": "^19.1.1", + "unplugin-vue-components": "^28.4.1", + "vite": "^6.2.0", "vite-plugin-electron": "^0.29.0", "vite-plugin-electron-renderer": "^0.14.6", "vite-plugin-javascript-obfuscator": "^3.1.0", "vite-plugin-pwa": "^0.21.1", "vite-svg-loader": "^5.1.0", - "vitest": "^3.0.4", - "vue-tsc": "^2.2.0", + "vitest": "^3.0.7", + "vue-tsc": "^2.2.6", "vuepress": "^2.0.0-rc.14", "wrangler": "^3.106.0" } @@ -227,29 +226,6 @@ "node": ">=6.0.0" } }, - "node_modules/@antfu/install-pkg": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/@antfu/install-pkg/-/install-pkg-1.0.0.tgz", - "integrity": "sha512-xvX6P/lo1B3ej0OsaErAjqgFYzYVcJpamjLAFLYh9vRJngBrMoUG7aVnrGTeqM7yxbyTD5p3F2+0/QUEh8Vzhw==", - "license": "MIT", - "dependencies": { - "package-manager-detector": "^0.2.8", - "tinyexec": "^0.3.2" - }, - "funding": { - "url": "https://github.com/sponsors/antfu" - } - }, - "node_modules/@antfu/utils": { - "version": "0.7.10", - "resolved": "https://registry.npmmirror.com/@antfu/utils/-/utils-0.7.10.tgz", - "integrity": "sha512-+562v9k4aI80m1+VuMHehNJWLOFjBnXn3tdOitzD0il5b7smkSBal4+a3oKiQTbrwMmN/TBUMDvbdoWDehgOww==", - "dev": true, - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/antfu" - } - }, "node_modules/@babel/code-frame": { "version": "7.26.2", "resolved": "https://registry.npmmirror.com/@babel/code-frame/-/code-frame-7.26.2.tgz", @@ -1774,12 +1750,6 @@ "node": ">=6.9.0" } }, - "node_modules/@braintree/sanitize-url": { - "version": "7.1.1", - "resolved": "https://registry.npmmirror.com/@braintree/sanitize-url/-/sanitize-url-7.1.1.tgz", - "integrity": "sha512-i1L7noDNxtFyL5DmZafWy1wRVhGehQmzZaz1HiN5e7iylJMSZR7ekOV7NsIqa5qBldlLrsKv4HbgFUVlQrz8Mw==", - "license": "MIT" - }, "node_modules/@bufbuild/protobuf": { "version": "2.2.3", "resolved": "https://registry.npmmirror.com/@bufbuild/protobuf/-/protobuf-2.2.3.tgz", @@ -1787,45 +1757,6 @@ "dev": true, "license": "(Apache-2.0 AND BSD-3-Clause)" }, - "node_modules/@chevrotain/cst-dts-gen": { - "version": "11.0.3", - "resolved": "https://registry.npmmirror.com/@chevrotain/cst-dts-gen/-/cst-dts-gen-11.0.3.tgz", - "integrity": "sha512-BvIKpRLeS/8UbfxXxgC33xOumsacaeCKAjAeLyOn7Pcp95HiRbrpl14S+9vaZLolnbssPIUuiUd8IvgkRyt6NQ==", - "license": "Apache-2.0", - "dependencies": { - "@chevrotain/gast": "11.0.3", - "@chevrotain/types": "11.0.3", - "lodash-es": "4.17.21" - } - }, - "node_modules/@chevrotain/gast": { - "version": "11.0.3", - "resolved": "https://registry.npmmirror.com/@chevrotain/gast/-/gast-11.0.3.tgz", - "integrity": "sha512-+qNfcoNk70PyS/uxmj3li5NiECO+2YKZZQMbmjTqRI3Qchu8Hig/Q9vgkHpI3alNjr7M+a2St5pw5w5F6NL5/Q==", - "license": "Apache-2.0", - "dependencies": { - "@chevrotain/types": "11.0.3", - "lodash-es": "4.17.21" - } - }, - "node_modules/@chevrotain/regexp-to-ast": { - "version": "11.0.3", - "resolved": "https://registry.npmmirror.com/@chevrotain/regexp-to-ast/-/regexp-to-ast-11.0.3.tgz", - "integrity": "sha512-1fMHaBZxLFvWI067AVbGJav1eRY7N8DDvYCTwGBiE/ytKBgP8azTdgyrKyWZ9Mfh09eHWb5PgTSO8wi7U824RA==", - "license": "Apache-2.0" - }, - "node_modules/@chevrotain/types": { - "version": "11.0.3", - "resolved": "https://registry.npmmirror.com/@chevrotain/types/-/types-11.0.3.tgz", - "integrity": "sha512-gsiM3G8b58kZC2HaWR50gu6Y1440cHiJ+i3JUvcp/35JchYejb2+5MVeJK0iKThYpAa/P2PYFV4hoi44HD+aHQ==", - "license": "Apache-2.0" - }, - "node_modules/@chevrotain/utils": { - "version": "11.0.3", - "resolved": "https://registry.npmmirror.com/@chevrotain/utils/-/utils-11.0.3.tgz", - "integrity": "sha512-YslZMgtJUyuMbZ+aKvfF3x1f5liK4mWNxghFRv7jqRR9C3R3fAOGTTKvxXDa2Y1s9zSbcpuO0cAxDYsc9SrXoQ==", - "license": "Apache-2.0" - }, "node_modules/@cloudflare/kv-asset-handler": { "version": "0.3.4", "resolved": "https://registry.npmmirror.com/@cloudflare/kv-asset-handler/-/kv-asset-handler-0.3.4.tgz", @@ -3178,9 +3109,9 @@ "license": "MIT" }, "node_modules/@grpc/grpc-js": { - "version": "1.12.5", - "resolved": "https://registry.npmmirror.com/@grpc/grpc-js/-/grpc-js-1.12.5.tgz", - "integrity": "sha512-d3iiHxdpg5+ZcJ6jnDSOT8Z0O0VMVGy34jAnYLUX8yd36b1qn8f1TwOA/Lc7TsOh03IkPJ38eGI5qD2EjNkoEA==", + "version": "1.12.6", + "resolved": "https://registry.npmmirror.com/@grpc/grpc-js/-/grpc-js-1.12.6.tgz", + "integrity": "sha512-JXUj6PI0oqqzTGvKtzOkxtpsyPRNsrmhh41TtIz/zEB6J+AUiZZ0dxWzcMwO9Ns5rmSPuMdghlTbUuqIM48d3Q==", "license": "Apache-2.0", "dependencies": { "@grpc/proto-loader": "^0.7.13", @@ -3208,49 +3139,6 @@ "node": ">=6" } }, - "node_modules/@iconify/types": { - "version": "2.0.0", - "resolved": "https://registry.npmmirror.com/@iconify/types/-/types-2.0.0.tgz", - "integrity": "sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==", - "license": "MIT" - }, - "node_modules/@iconify/utils": { - "version": "2.3.0", - "resolved": "https://registry.npmmirror.com/@iconify/utils/-/utils-2.3.0.tgz", - "integrity": "sha512-GmQ78prtwYW6EtzXRU1rY+KwOKfz32PD7iJh6Iyqw68GiKuoZ2A6pRtzWONz5VQJbp50mEjXh/7NkumtrAgRKA==", - "license": "MIT", - "dependencies": { - "@antfu/install-pkg": "^1.0.0", - "@antfu/utils": "^8.1.0", - "@iconify/types": "^2.0.0", - "debug": "^4.4.0", - "globals": "^15.14.0", - "kolorist": "^1.8.0", - "local-pkg": "^1.0.0", - "mlly": "^1.7.4" - } - }, - "node_modules/@iconify/utils/node_modules/@antfu/utils": { - "version": "8.1.1", - "resolved": "https://registry.npmmirror.com/@antfu/utils/-/utils-8.1.1.tgz", - "integrity": "sha512-Mex9nXf9vR6AhcXmMrlz/HVgYYZpVGJ6YlPgwl7UnaFpnshXs6EK/oa5Gpf3CzENMjkvEx2tQtntGnb7UtSTOQ==", - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/antfu" - } - }, - "node_modules/@iconify/utils/node_modules/globals": { - "version": "15.15.0", - "resolved": "https://registry.npmmirror.com/globals/-/globals-15.15.0.tgz", - "integrity": "sha512-7ACyT3wmyp3I61S4fG682L0VA2RGD9otkqGJIwNUMF1SWUombIIk+af1unuDYgMm082aHYwD+mzJvv9Iu8dsgg==", - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/@img/sharp-darwin-arm64": { "version": "0.33.5", "resolved": "https://registry.npmmirror.com/@img/sharp-darwin-arm64/-/sharp-darwin-arm64-0.33.5.tgz", @@ -3632,13 +3520,13 @@ } }, "node_modules/@intlify/core-base": { - "version": "11.1.0", - "resolved": "https://registry.npmmirror.com/@intlify/core-base/-/core-base-11.1.0.tgz", - "integrity": "sha512-5KFrnfgcv4cVWzA1RC4HqMHYEWSD/69GQU7wpKJ2l6mA6ggqEjb9NJN5VJNJvP2mU5y8MAGwXLAJXJo5sbIkMQ==", + "version": "11.1.1", + "resolved": "https://registry.npmmirror.com/@intlify/core-base/-/core-base-11.1.1.tgz", + "integrity": "sha512-bb8gZvoeKExCI2r/NVCK9E4YyOkvYGaSCPxVZe8T0jz8aX+dHEOZWxK06Z/Y9mWRkJfBiCH4aOhDF1yr1t5J8Q==", "license": "MIT", "dependencies": { - "@intlify/message-compiler": "11.1.0", - "@intlify/shared": "11.1.0" + "@intlify/message-compiler": "11.1.1", + "@intlify/shared": "11.1.1" }, "engines": { "node": ">= 16" @@ -3648,12 +3536,12 @@ } }, "node_modules/@intlify/message-compiler": { - "version": "11.1.0", - "resolved": "https://registry.npmmirror.com/@intlify/message-compiler/-/message-compiler-11.1.0.tgz", - "integrity": "sha512-UuV1YwWPBNgL4uqtC1vZPHF2QtYYqVeCDIsbV6JC6Vv90UWmEiU77U7EZmNVVV7DepT83Ow5MaF1CiWI77b61w==", + "version": "11.1.1", + "resolved": "https://registry.npmmirror.com/@intlify/message-compiler/-/message-compiler-11.1.1.tgz", + "integrity": "sha512-4iEsUZ3aF7jXY19CJFN5VP+pPyLITD9FVsjB13z9TU1UxaZLlFsmNhvRxlPDSOfHAP5RpNF2QKKdZ3DHVf4Yzw==", "license": "MIT", "dependencies": { - "@intlify/shared": "11.1.0", + "@intlify/shared": "11.1.1", "source-map-js": "^1.0.2" }, "engines": { @@ -3664,9 +3552,9 @@ } }, "node_modules/@intlify/shared": { - "version": "11.1.0", - "resolved": "https://registry.npmmirror.com/@intlify/shared/-/shared-11.1.0.tgz", - "integrity": "sha512-DvpNSxiMrFqYMaGSRDDnQgO/L0MqNH4KWw9CUx8LRHHIdWp08En9DpmSRNpauUOxKpHAhyJJxx92BHZk9J84EQ==", + "version": "11.1.1", + "resolved": "https://registry.npmmirror.com/@intlify/shared/-/shared-11.1.1.tgz", + "integrity": "sha512-2kGiWoXaeV8HZlhU/Nml12oTbhv7j2ufsJ5vQaa0VTjzUmZVdd/nmKFRAOJ/FtjO90Qba5AnZDwsrY7ZND5udA==", "license": "MIT", "engines": { "node": ">= 16" @@ -4146,16 +4034,6 @@ "integrity": "sha512-uKkkx7Xo1AZJR0eMjH902rAb0vEjDbb3tgXt0cC3SHbpDGkPNhkuDKtxnw147axOM6uKuI7vywHRQlDrjDGhCA==", "license": "Apache-2.0" }, - "node_modules/@md-reader/markdown-it-mermaid": { - "version": "0.6.0-beta.0", - "resolved": "https://registry.npmmirror.com/@md-reader/markdown-it-mermaid/-/markdown-it-mermaid-0.6.0-beta.0.tgz", - "integrity": "sha512-eBVktHrfwZWt5ahqmpijX82FA31PGVfzzTIeTs5JinSPVDNgQu8Jvj1Lt8kw8Fn6oVmL2dGHvQ1OZAYE/bjqIg==", - "license": "MIT", - "dependencies": { - "mermaid": "^11.3.0", - "murmurhash-js": "^1.0.0" - } - }, "node_modules/@mdit-vue/plugin-component": { "version": "2.1.3", "resolved": "https://registry.npmmirror.com/@mdit-vue/plugin-component/-/plugin-component-2.1.3.tgz", @@ -4329,15 +4207,6 @@ } } }, - "node_modules/@mermaid-js/parser": { - "version": "0.3.0", - "resolved": "https://registry.npmmirror.com/@mermaid-js/parser/-/parser-0.3.0.tgz", - "integrity": "sha512-HsvL6zgE5sUPGgkIDlmAWR1HTNHz2Iy11BAWPTa4Jjabkpguy4Ze2gzfLrg6pdRuBvFwgUYyxiaNqZwrEEXepA==", - "license": "MIT", - "dependencies": { - "langium": "3.0.0" - } - }, "node_modules/@mozilla/readability": { "version": "0.5.0", "resolved": "https://registry.npmmirror.com/@mozilla/readability/-/readability-0.5.0.tgz", @@ -5891,259 +5760,6 @@ "@types/responselike": "^1.0.0" } }, - "node_modules/@types/d3": { - "version": "7.4.3", - "resolved": "https://registry.npmmirror.com/@types/d3/-/d3-7.4.3.tgz", - "integrity": "sha512-lZXZ9ckh5R8uiFVt8ogUNf+pIrK4EsWrx2Np75WvF/eTpJ0FMHNhjXk8CKEx/+gpHbNQyJWehbFaTvqmHWB3ww==", - "license": "MIT", - "dependencies": { - "@types/d3-array": "*", - "@types/d3-axis": "*", - "@types/d3-brush": "*", - "@types/d3-chord": "*", - "@types/d3-color": "*", - "@types/d3-contour": "*", - "@types/d3-delaunay": "*", - "@types/d3-dispatch": "*", - "@types/d3-drag": "*", - "@types/d3-dsv": "*", - "@types/d3-ease": "*", - "@types/d3-fetch": "*", - "@types/d3-force": "*", - "@types/d3-format": "*", - "@types/d3-geo": "*", - "@types/d3-hierarchy": "*", - "@types/d3-interpolate": "*", - "@types/d3-path": "*", - "@types/d3-polygon": "*", - "@types/d3-quadtree": "*", - "@types/d3-random": "*", - "@types/d3-scale": "*", - "@types/d3-scale-chromatic": "*", - "@types/d3-selection": "*", - "@types/d3-shape": "*", - "@types/d3-time": "*", - "@types/d3-time-format": "*", - "@types/d3-timer": "*", - "@types/d3-transition": "*", - "@types/d3-zoom": "*" - } - }, - "node_modules/@types/d3-array": { - "version": "3.2.1", - "resolved": "https://registry.npmmirror.com/@types/d3-array/-/d3-array-3.2.1.tgz", - "integrity": "sha512-Y2Jn2idRrLzUfAKV2LyRImR+y4oa2AntrgID95SHJxuMUrkNXmanDSed71sRNZysveJVt1hLLemQZIady0FpEg==", - "license": "MIT" - }, - "node_modules/@types/d3-axis": { - "version": "3.0.6", - "resolved": "https://registry.npmmirror.com/@types/d3-axis/-/d3-axis-3.0.6.tgz", - "integrity": "sha512-pYeijfZuBd87T0hGn0FO1vQ/cgLk6E1ALJjfkC0oJ8cbwkZl3TpgS8bVBLZN+2jjGgg38epgxb2zmoGtSfvgMw==", - "license": "MIT", - "dependencies": { - "@types/d3-selection": "*" - } - }, - "node_modules/@types/d3-brush": { - "version": "3.0.6", - "resolved": "https://registry.npmmirror.com/@types/d3-brush/-/d3-brush-3.0.6.tgz", - "integrity": "sha512-nH60IZNNxEcrh6L1ZSMNA28rj27ut/2ZmI3r96Zd+1jrZD++zD3LsMIjWlvg4AYrHn/Pqz4CF3veCxGjtbqt7A==", - "license": "MIT", - "dependencies": { - "@types/d3-selection": "*" - } - }, - "node_modules/@types/d3-chord": { - "version": "3.0.6", - "resolved": "https://registry.npmmirror.com/@types/d3-chord/-/d3-chord-3.0.6.tgz", - "integrity": "sha512-LFYWWd8nwfwEmTZG9PfQxd17HbNPksHBiJHaKuY1XeqscXacsS2tyoo6OdRsjf+NQYeB6XrNL3a25E3gH69lcg==", - "license": "MIT" - }, - "node_modules/@types/d3-color": { - "version": "3.1.3", - "resolved": "https://registry.npmmirror.com/@types/d3-color/-/d3-color-3.1.3.tgz", - "integrity": "sha512-iO90scth9WAbmgv7ogoq57O9YpKmFBbmoEoCHDB2xMBY0+/KVrqAaCDyCE16dUspeOvIxFFRI+0sEtqDqy2b4A==", - "license": "MIT" - }, - "node_modules/@types/d3-contour": { - "version": "3.0.6", - "resolved": "https://registry.npmmirror.com/@types/d3-contour/-/d3-contour-3.0.6.tgz", - "integrity": "sha512-BjzLgXGnCWjUSYGfH1cpdo41/hgdWETu4YxpezoztawmqsvCeep+8QGfiY6YbDvfgHz/DkjeIkkZVJavB4a3rg==", - "license": "MIT", - "dependencies": { - "@types/d3-array": "*", - "@types/geojson": "*" - } - }, - "node_modules/@types/d3-delaunay": { - "version": "6.0.4", - "resolved": "https://registry.npmmirror.com/@types/d3-delaunay/-/d3-delaunay-6.0.4.tgz", - "integrity": "sha512-ZMaSKu4THYCU6sV64Lhg6qjf1orxBthaC161plr5KuPHo3CNm8DTHiLw/5Eq2b6TsNP0W0iJrUOFscY6Q450Hw==", - "license": "MIT" - }, - "node_modules/@types/d3-dispatch": { - "version": "3.0.6", - "resolved": "https://registry.npmmirror.com/@types/d3-dispatch/-/d3-dispatch-3.0.6.tgz", - "integrity": "sha512-4fvZhzMeeuBJYZXRXrRIQnvUYfyXwYmLsdiN7XXmVNQKKw1cM8a5WdID0g1hVFZDqT9ZqZEY5pD44p24VS7iZQ==", - "license": "MIT" - }, - "node_modules/@types/d3-drag": { - "version": "3.0.7", - "resolved": "https://registry.npmmirror.com/@types/d3-drag/-/d3-drag-3.0.7.tgz", - "integrity": "sha512-HE3jVKlzU9AaMazNufooRJ5ZpWmLIoc90A37WU2JMmeq28w1FQqCZswHZ3xR+SuxYftzHq6WU6KJHvqxKzTxxQ==", - "license": "MIT", - "dependencies": { - "@types/d3-selection": "*" - } - }, - "node_modules/@types/d3-dsv": { - "version": "3.0.7", - "resolved": "https://registry.npmmirror.com/@types/d3-dsv/-/d3-dsv-3.0.7.tgz", - "integrity": "sha512-n6QBF9/+XASqcKK6waudgL0pf/S5XHPPI8APyMLLUHd8NqouBGLsU8MgtO7NINGtPBtk9Kko/W4ea0oAspwh9g==", - "license": "MIT" - }, - "node_modules/@types/d3-ease": { - "version": "3.0.2", - "resolved": "https://registry.npmmirror.com/@types/d3-ease/-/d3-ease-3.0.2.tgz", - "integrity": "sha512-NcV1JjO5oDzoK26oMzbILE6HW7uVXOHLQvHshBUW4UMdZGfiY6v5BeQwh9a9tCzv+CeefZQHJt5SRgK154RtiA==", - "license": "MIT" - }, - "node_modules/@types/d3-fetch": { - "version": "3.0.7", - "resolved": "https://registry.npmmirror.com/@types/d3-fetch/-/d3-fetch-3.0.7.tgz", - "integrity": "sha512-fTAfNmxSb9SOWNB9IoG5c8Hg6R+AzUHDRlsXsDZsNp6sxAEOP0tkP3gKkNSO/qmHPoBFTxNrjDprVHDQDvo5aA==", - "license": "MIT", - "dependencies": { - "@types/d3-dsv": "*" - } - }, - "node_modules/@types/d3-force": { - "version": "3.0.10", - "resolved": "https://registry.npmmirror.com/@types/d3-force/-/d3-force-3.0.10.tgz", - "integrity": "sha512-ZYeSaCF3p73RdOKcjj+swRlZfnYpK1EbaDiYICEEp5Q6sUiqFaFQ9qgoshp5CzIyyb/yD09kD9o2zEltCexlgw==", - "license": "MIT" - }, - "node_modules/@types/d3-format": { - "version": "3.0.4", - "resolved": "https://registry.npmmirror.com/@types/d3-format/-/d3-format-3.0.4.tgz", - "integrity": "sha512-fALi2aI6shfg7vM5KiR1wNJnZ7r6UuggVqtDA+xiEdPZQwy/trcQaHnwShLuLdta2rTymCNpxYTiMZX/e09F4g==", - "license": "MIT" - }, - "node_modules/@types/d3-geo": { - "version": "3.1.0", - "resolved": "https://registry.npmmirror.com/@types/d3-geo/-/d3-geo-3.1.0.tgz", - "integrity": "sha512-856sckF0oP/diXtS4jNsiQw/UuK5fQG8l/a9VVLeSouf1/PPbBE1i1W852zVwKwYCBkFJJB7nCFTbk6UMEXBOQ==", - "license": "MIT", - "dependencies": { - "@types/geojson": "*" - } - }, - "node_modules/@types/d3-hierarchy": { - "version": "3.1.7", - "resolved": "https://registry.npmmirror.com/@types/d3-hierarchy/-/d3-hierarchy-3.1.7.tgz", - "integrity": "sha512-tJFtNoYBtRtkNysX1Xq4sxtjK8YgoWUNpIiUee0/jHGRwqvzYxkq0hGVbbOGSz+JgFxxRu4K8nb3YpG3CMARtg==", - "license": "MIT" - }, - "node_modules/@types/d3-interpolate": { - "version": "3.0.4", - "resolved": "https://registry.npmmirror.com/@types/d3-interpolate/-/d3-interpolate-3.0.4.tgz", - "integrity": "sha512-mgLPETlrpVV1YRJIglr4Ez47g7Yxjl1lj7YKsiMCb27VJH9W8NVM6Bb9d8kkpG/uAQS5AmbA48q2IAolKKo1MA==", - "license": "MIT", - "dependencies": { - "@types/d3-color": "*" - } - }, - "node_modules/@types/d3-path": { - "version": "3.1.1", - "resolved": "https://registry.npmmirror.com/@types/d3-path/-/d3-path-3.1.1.tgz", - "integrity": "sha512-VMZBYyQvbGmWyWVea0EHs/BwLgxc+MKi1zLDCONksozI4YJMcTt8ZEuIR4Sb1MMTE8MMW49v0IwI5+b7RmfWlg==", - "license": "MIT" - }, - "node_modules/@types/d3-polygon": { - "version": "3.0.2", - "resolved": "https://registry.npmmirror.com/@types/d3-polygon/-/d3-polygon-3.0.2.tgz", - "integrity": "sha512-ZuWOtMaHCkN9xoeEMr1ubW2nGWsp4nIql+OPQRstu4ypeZ+zk3YKqQT0CXVe/PYqrKpZAi+J9mTs05TKwjXSRA==", - "license": "MIT" - }, - "node_modules/@types/d3-quadtree": { - "version": "3.0.6", - "resolved": "https://registry.npmmirror.com/@types/d3-quadtree/-/d3-quadtree-3.0.6.tgz", - "integrity": "sha512-oUzyO1/Zm6rsxKRHA1vH0NEDG58HrT5icx/azi9MF1TWdtttWl0UIUsjEQBBh+SIkrpd21ZjEv7ptxWys1ncsg==", - "license": "MIT" - }, - "node_modules/@types/d3-random": { - "version": "3.0.3", - "resolved": "https://registry.npmmirror.com/@types/d3-random/-/d3-random-3.0.3.tgz", - "integrity": "sha512-Imagg1vJ3y76Y2ea0871wpabqp613+8/r0mCLEBfdtqC7xMSfj9idOnmBYyMoULfHePJyxMAw3nWhJxzc+LFwQ==", - "license": "MIT" - }, - "node_modules/@types/d3-scale": { - "version": "4.0.9", - "resolved": "https://registry.npmmirror.com/@types/d3-scale/-/d3-scale-4.0.9.tgz", - "integrity": "sha512-dLmtwB8zkAeO/juAMfnV+sItKjlsw2lKdZVVy6LRr0cBmegxSABiLEpGVmSJJ8O08i4+sGR6qQtb6WtuwJdvVw==", - "license": "MIT", - "dependencies": { - "@types/d3-time": "*" - } - }, - "node_modules/@types/d3-scale-chromatic": { - "version": "3.1.0", - "resolved": "https://registry.npmmirror.com/@types/d3-scale-chromatic/-/d3-scale-chromatic-3.1.0.tgz", - "integrity": "sha512-iWMJgwkK7yTRmWqRB5plb1kadXyQ5Sj8V/zYlFGMUBbIPKQScw+Dku9cAAMgJG+z5GYDoMjWGLVOvjghDEFnKQ==", - "license": "MIT" - }, - "node_modules/@types/d3-selection": { - "version": "3.0.11", - "resolved": "https://registry.npmmirror.com/@types/d3-selection/-/d3-selection-3.0.11.tgz", - "integrity": "sha512-bhAXu23DJWsrI45xafYpkQ4NtcKMwWnAC/vKrd2l+nxMFuvOT3XMYTIj2opv8vq8AO5Yh7Qac/nSeP/3zjTK0w==", - "license": "MIT" - }, - "node_modules/@types/d3-shape": { - "version": "3.1.7", - "resolved": "https://registry.npmmirror.com/@types/d3-shape/-/d3-shape-3.1.7.tgz", - "integrity": "sha512-VLvUQ33C+3J+8p+Daf+nYSOsjB4GXp19/S/aGo60m9h1v6XaxjiT82lKVWJCfzhtuZ3yD7i/TPeC/fuKLLOSmg==", - "license": "MIT", - "dependencies": { - "@types/d3-path": "*" - } - }, - "node_modules/@types/d3-time": { - "version": "3.0.4", - "resolved": "https://registry.npmmirror.com/@types/d3-time/-/d3-time-3.0.4.tgz", - "integrity": "sha512-yuzZug1nkAAaBlBBikKZTgzCeA+k1uy4ZFwWANOfKw5z5LRhV0gNA7gNkKm7HoK+HRN0wX3EkxGk0fpbWhmB7g==", - "license": "MIT" - }, - "node_modules/@types/d3-time-format": { - "version": "4.0.3", - "resolved": "https://registry.npmmirror.com/@types/d3-time-format/-/d3-time-format-4.0.3.tgz", - "integrity": "sha512-5xg9rC+wWL8kdDj153qZcsJ0FWiFt0J5RB6LYUNZjwSnesfblqrI/bJ1wBdJ8OQfncgbJG5+2F+qfqnqyzYxyg==", - "license": "MIT" - }, - "node_modules/@types/d3-timer": { - "version": "3.0.2", - "resolved": "https://registry.npmmirror.com/@types/d3-timer/-/d3-timer-3.0.2.tgz", - "integrity": "sha512-Ps3T8E8dZDam6fUyNiMkekK3XUsaUEik+idO9/YjPtfj2qruF8tFBXS7XhtE4iIXBLxhmLjP3SXpLhVf21I9Lw==", - "license": "MIT" - }, - "node_modules/@types/d3-transition": { - "version": "3.0.9", - "resolved": "https://registry.npmmirror.com/@types/d3-transition/-/d3-transition-3.0.9.tgz", - "integrity": "sha512-uZS5shfxzO3rGlu0cC3bjmMFKsXv+SmZZcgp0KD22ts4uGXp5EVYGzu/0YdwZeKmddhcAccYtREJKkPfXkZuCg==", - "license": "MIT", - "dependencies": { - "@types/d3-selection": "*" - } - }, - "node_modules/@types/d3-zoom": { - "version": "3.0.8", - "resolved": "https://registry.npmmirror.com/@types/d3-zoom/-/d3-zoom-3.0.8.tgz", - "integrity": "sha512-iqMC4/YlFCSlO8+2Ii1GGGliCAY4XdeG748w5vQUbevlbDu0zSjH/+jojorQVBK/se0j6DUFNPBGSqD3YWYnDw==", - "license": "MIT", - "dependencies": { - "@types/d3-interpolate": "*", - "@types/d3-selection": "*" - } - }, "node_modules/@types/debug": { "version": "4.1.12", "resolved": "https://registry.npmmirror.com/@types/debug/-/debug-4.1.12.tgz", @@ -6181,12 +5797,6 @@ "@types/node": "*" } }, - "node_modules/@types/geojson": { - "version": "7946.0.16", - "resolved": "https://registry.npmmirror.com/@types/geojson/-/geojson-7946.0.16.tgz", - "integrity": "sha512-6C8nqWur3j98U6+lXDfTUWIfgvZU+EumvpHKcYjujKH7woYyLj2sUmff0tRhrqM7BohUw7Pz3ZB1jj2gW9Fvmg==", - "license": "MIT" - }, "node_modules/@types/hash-sum": { "version": "1.0.2", "resolved": "https://registry.npmmirror.com/@types/hash-sum/-/hash-sum-1.0.2.tgz", @@ -6377,7 +5987,7 @@ "version": "2.0.7", "resolved": "https://registry.npmmirror.com/@types/trusted-types/-/trusted-types-2.0.7.tgz", "integrity": "sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==", - "devOptional": true, + "dev": true, "license": "MIT" }, "node_modules/@types/uuid": { @@ -6482,15 +6092,15 @@ } }, "node_modules/@vitest/expect": { - "version": "3.0.4", - "resolved": "https://registry.npmmirror.com/@vitest/expect/-/expect-3.0.4.tgz", - "integrity": "sha512-Nm5kJmYw6P2BxhJPkO3eKKhGYKRsnqJqf+r0yOGRKpEP+bSCBDsjXgiu1/5QFrnPMEgzfC38ZEjvCFgaNBC0Eg==", + "version": "3.0.7", + "resolved": "https://registry.npmmirror.com/@vitest/expect/-/expect-3.0.7.tgz", + "integrity": "sha512-QP25f+YJhzPfHrHfYHtvRn+uvkCFCqFtW9CktfBxmB+25QqWsx7VB2As6f4GmwllHLDhXNHvqedwhvMmSnNmjw==", "dev": true, "license": "MIT", "dependencies": { - "@vitest/spy": "3.0.4", - "@vitest/utils": "3.0.4", - "chai": "^5.1.2", + "@vitest/spy": "3.0.7", + "@vitest/utils": "3.0.7", + "chai": "^5.2.0", "tinyrainbow": "^2.0.0" }, "funding": { @@ -6498,13 +6108,13 @@ } }, "node_modules/@vitest/mocker": { - "version": "3.0.4", - "resolved": "https://registry.npmmirror.com/@vitest/mocker/-/mocker-3.0.4.tgz", - "integrity": "sha512-gEef35vKafJlfQbnyOXZ0Gcr9IBUsMTyTLXsEQwuyYAerpHqvXhzdBnDFuHLpFqth3F7b6BaFr4qV/Cs1ULx5A==", + "version": "3.0.7", + "resolved": "https://registry.npmmirror.com/@vitest/mocker/-/mocker-3.0.7.tgz", + "integrity": "sha512-qui+3BLz9Eonx4EAuR/i+QlCX6AUZ35taDQgwGkK/Tw6/WgwodSrjN1X2xf69IA/643ZX5zNKIn2svvtZDrs4w==", "dev": true, "license": "MIT", "dependencies": { - "@vitest/spy": "3.0.4", + "@vitest/spy": "3.0.7", "estree-walker": "^3.0.3", "magic-string": "^0.30.17" }, @@ -6535,9 +6145,9 @@ } }, "node_modules/@vitest/pretty-format": { - "version": "3.0.4", - "resolved": "https://registry.npmmirror.com/@vitest/pretty-format/-/pretty-format-3.0.4.tgz", - "integrity": "sha512-ts0fba+dEhK2aC9PFuZ9LTpULHpY/nd6jhAQ5IMU7Gaj7crPCTdCFfgvXxruRBLFS+MLraicCuFXxISEq8C93g==", + "version": "3.0.7", + "resolved": "https://registry.npmmirror.com/@vitest/pretty-format/-/pretty-format-3.0.7.tgz", + "integrity": "sha512-CiRY0BViD/V8uwuEzz9Yapyao+M9M008/9oMOSQydwbwb+CMokEq3XVaF3XK/VWaOK0Jm9z7ENhybg70Gtxsmg==", "dev": true, "license": "MIT", "dependencies": { @@ -6548,52 +6158,52 @@ } }, "node_modules/@vitest/runner": { - "version": "3.0.4", - "resolved": "https://registry.npmmirror.com/@vitest/runner/-/runner-3.0.4.tgz", - "integrity": "sha512-dKHzTQ7n9sExAcWH/0sh1elVgwc7OJ2lMOBrAm73J7AH6Pf9T12Zh3lNE1TETZaqrWFXtLlx3NVrLRb5hCK+iw==", + "version": "3.0.7", + "resolved": "https://registry.npmmirror.com/@vitest/runner/-/runner-3.0.7.tgz", + "integrity": "sha512-WeEl38Z0S2ZcuRTeyYqaZtm4e26tq6ZFqh5y8YD9YxfWuu0OFiGFUbnxNynwLjNRHPsXyee2M9tV7YxOTPZl2g==", "dev": true, "license": "MIT", "dependencies": { - "@vitest/utils": "3.0.4", - "pathe": "^2.0.2" + "@vitest/utils": "3.0.7", + "pathe": "^2.0.3" }, "funding": { "url": "https://opencollective.com/vitest" } }, "node_modules/@vitest/runner/node_modules/pathe": { - "version": "2.0.2", - "resolved": "https://registry.npmmirror.com/pathe/-/pathe-2.0.2.tgz", - "integrity": "sha512-15Ztpk+nov8DR524R4BF7uEuzESgzUEAV4Ah7CUMNGXdE5ELuvxElxGXndBl32vMSsWa1jpNf22Z+Er3sKwq+w==", + "version": "2.0.3", + "resolved": "https://registry.npmmirror.com/pathe/-/pathe-2.0.3.tgz", + "integrity": "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==", "dev": true, "license": "MIT" }, "node_modules/@vitest/snapshot": { - "version": "3.0.4", - "resolved": "https://registry.npmmirror.com/@vitest/snapshot/-/snapshot-3.0.4.tgz", - "integrity": "sha512-+p5knMLwIk7lTQkM3NonZ9zBewzVp9EVkVpvNta0/PlFWpiqLaRcF4+33L1it3uRUCh0BGLOaXPPGEjNKfWb4w==", + "version": "3.0.7", + "resolved": "https://registry.npmmirror.com/@vitest/snapshot/-/snapshot-3.0.7.tgz", + "integrity": "sha512-eqTUryJWQN0Rtf5yqCGTQWsCFOQe4eNz5Twsu21xYEcnFJtMU5XvmG0vgebhdLlrHQTSq5p8vWHJIeJQV8ovsA==", "dev": true, "license": "MIT", "dependencies": { - "@vitest/pretty-format": "3.0.4", + "@vitest/pretty-format": "3.0.7", "magic-string": "^0.30.17", - "pathe": "^2.0.2" + "pathe": "^2.0.3" }, "funding": { "url": "https://opencollective.com/vitest" } }, "node_modules/@vitest/snapshot/node_modules/pathe": { - "version": "2.0.2", - "resolved": "https://registry.npmmirror.com/pathe/-/pathe-2.0.2.tgz", - "integrity": "sha512-15Ztpk+nov8DR524R4BF7uEuzESgzUEAV4Ah7CUMNGXdE5ELuvxElxGXndBl32vMSsWa1jpNf22Z+Er3sKwq+w==", + "version": "2.0.3", + "resolved": "https://registry.npmmirror.com/pathe/-/pathe-2.0.3.tgz", + "integrity": "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==", "dev": true, "license": "MIT" }, "node_modules/@vitest/spy": { - "version": "3.0.4", - "resolved": "https://registry.npmmirror.com/@vitest/spy/-/spy-3.0.4.tgz", - "integrity": "sha512-sXIMF0oauYyUy2hN49VFTYodzEAu744MmGcPR3ZBsPM20G+1/cSW/n1U+3Yu/zHxX2bIDe1oJASOkml+osTU6Q==", + "version": "3.0.7", + "resolved": "https://registry.npmmirror.com/@vitest/spy/-/spy-3.0.7.tgz", + "integrity": "sha512-4T4WcsibB0B6hrKdAZTM37ekuyFZt2cGbEGd2+L0P8ov15J1/HUsUaqkXEQPNAWr4BtPPe1gI+FYfMHhEKfR8w==", "dev": true, "license": "MIT", "dependencies": { @@ -6604,14 +6214,14 @@ } }, "node_modules/@vitest/utils": { - "version": "3.0.4", - "resolved": "https://registry.npmmirror.com/@vitest/utils/-/utils-3.0.4.tgz", - "integrity": "sha512-8BqC1ksYsHtbWH+DfpOAKrFw3jl3Uf9J7yeFh85Pz52IWuh1hBBtyfEbRNNZNjl8H8A5yMLH9/t+k7HIKzQcZQ==", + "version": "3.0.7", + "resolved": "https://registry.npmmirror.com/@vitest/utils/-/utils-3.0.7.tgz", + "integrity": "sha512-xePVpCRfooFX3rANQjwoditoXgWb1MaFbzmGuPP59MK6i13mrnDw/yEIyJudLeW6/38mCNcwCiJIGmpDPibAIg==", "dev": true, "license": "MIT", "dependencies": { - "@vitest/pretty-format": "3.0.4", - "loupe": "^3.1.2", + "@vitest/pretty-format": "3.0.7", + "loupe": "^3.1.3", "tinyrainbow": "^2.0.0" }, "funding": { @@ -6745,9 +6355,9 @@ } }, "node_modules/@vue/language-core": { - "version": "2.2.0", - "resolved": "https://registry.npmmirror.com/@vue/language-core/-/language-core-2.2.0.tgz", - "integrity": "sha512-O1ZZFaaBGkKbsRfnVH1ifOK1/1BUkyK+3SQsfnh6PmMmD4qJcTU8godCeA96jjDRTL6zgnK7YzCHfaUlH2r0Mw==", + "version": "2.2.6", + "resolved": "https://registry.npmmirror.com/@vue/language-core/-/language-core-2.2.6.tgz", + "integrity": "sha512-7IQTvwVOvhYSzcizZ2hAdqJjI+SaJS2GO7EnDlSlQ77drwl5UzNa2IZm9pO9MdMxrlw24CGI/Lo3xpCjM26veg==", "dev": true, "license": "MIT", "dependencies": { @@ -6755,7 +6365,7 @@ "@vue/compiler-dom": "^3.5.0", "@vue/compiler-vue2": "^2.7.16", "@vue/shared": "^3.5.0", - "alien-signals": "^0.4.9", + "alien-signals": "^1.0.3", "minimatch": "^9.0.3", "muggle-string": "^0.4.1", "path-browserify": "^1.0.1" @@ -6858,56 +6468,128 @@ "vue-router": "^4.5.0" } }, - "node_modules/@vuepress/bundlerutils": { - "version": "2.0.0-rc.19", - "resolved": "https://registry.npmmirror.com/@vuepress/bundlerutils/-/bundlerutils-2.0.0-rc.19.tgz", - "integrity": "sha512-ln5htptK14OMJV3yeGRxAwYhSkVxrTwEHEaifeWrFvjuNxj2kLmkCl7MDdzr232jSOWwkCcmbOyafbxMsaRDkQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@vuepress/client": "2.0.0-rc.19", - "@vuepress/core": "2.0.0-rc.19", - "@vuepress/shared": "2.0.0-rc.19", - "@vuepress/utils": "2.0.0-rc.19", - "vue": "^3.5.13", - "vue-router": "^4.5.0" - } - }, - "node_modules/@vuepress/cli": { - "version": "2.0.0-rc.19", - "resolved": "https://registry.npmmirror.com/@vuepress/cli/-/cli-2.0.0-rc.19.tgz", - "integrity": "sha512-QFicPNIj3RZAJbHoLbeYlPJsPchnQLGuw0n8xv0eeUi9ejEXO1huWA8sLoPbTGdiDW+PHr1MHnaVMkyUfwaKcQ==", + "node_modules/@vuepress/bundler-vite/node_modules/vite": { + "version": "6.0.11", + "resolved": "https://registry.npmmirror.com/vite/-/vite-6.0.11.tgz", + "integrity": "sha512-4VL9mQPKoHy4+FE0NnRE/kbY51TOfaknxAjt3fJbGJxhIpBZiqVzlZDEesWWsuREXHwNdAoOFZ9MkPEVXczHwg==", "dev": true, "license": "MIT", "dependencies": { - "@vuepress/core": "2.0.0-rc.19", - "@vuepress/shared": "2.0.0-rc.19", - "@vuepress/utils": "2.0.0-rc.19", - "cac": "^6.7.14", - "chokidar": "^3.6.0", - "envinfo": "^7.14.0", - "esbuild": "~0.21.5" + "esbuild": "^0.24.2", + "postcss": "^8.4.49", + "rollup": "^4.23.0" }, "bin": { - "vuepress-cli": "bin/vuepress.js" - } - }, - "node_modules/@vuepress/cli/node_modules/@esbuild/aix-ppc64": { - "version": "0.21.5", - "resolved": "https://registry.npmmirror.com/@esbuild/aix-ppc64/-/aix-ppc64-0.21.5.tgz", - "integrity": "sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==", - "cpu": [ - "ppc64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "aix" - ], + "vite": "bin/vite.js" + }, "engines": { - "node": ">=12" - } + "node": "^18.0.0 || ^20.0.0 || >=22.0.0" + }, + "funding": { + "url": "https://github.com/vitejs/vite?sponsor=1" + }, + "optionalDependencies": { + "fsevents": "~2.3.3" + }, + "peerDependencies": { + "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0", + "jiti": ">=1.21.0", + "less": "*", + "lightningcss": "^1.21.0", + "sass": "*", + "sass-embedded": "*", + "stylus": "*", + "sugarss": "*", + "terser": "^5.16.0", + "tsx": "^4.8.1", + "yaml": "^2.4.2" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "jiti": { + "optional": true + }, + "less": { + "optional": true + }, + "lightningcss": { + "optional": true + }, + "sass": { + "optional": true + }, + "sass-embedded": { + "optional": true + }, + "stylus": { + "optional": true + }, + "sugarss": { + "optional": true + }, + "terser": { + "optional": true + }, + "tsx": { + "optional": true + }, + "yaml": { + "optional": true + } + } + }, + "node_modules/@vuepress/bundlerutils": { + "version": "2.0.0-rc.19", + "resolved": "https://registry.npmmirror.com/@vuepress/bundlerutils/-/bundlerutils-2.0.0-rc.19.tgz", + "integrity": "sha512-ln5htptK14OMJV3yeGRxAwYhSkVxrTwEHEaifeWrFvjuNxj2kLmkCl7MDdzr232jSOWwkCcmbOyafbxMsaRDkQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@vuepress/client": "2.0.0-rc.19", + "@vuepress/core": "2.0.0-rc.19", + "@vuepress/shared": "2.0.0-rc.19", + "@vuepress/utils": "2.0.0-rc.19", + "vue": "^3.5.13", + "vue-router": "^4.5.0" + } + }, + "node_modules/@vuepress/cli": { + "version": "2.0.0-rc.19", + "resolved": "https://registry.npmmirror.com/@vuepress/cli/-/cli-2.0.0-rc.19.tgz", + "integrity": "sha512-QFicPNIj3RZAJbHoLbeYlPJsPchnQLGuw0n8xv0eeUi9ejEXO1huWA8sLoPbTGdiDW+PHr1MHnaVMkyUfwaKcQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@vuepress/core": "2.0.0-rc.19", + "@vuepress/shared": "2.0.0-rc.19", + "@vuepress/utils": "2.0.0-rc.19", + "cac": "^6.7.14", + "chokidar": "^3.6.0", + "envinfo": "^7.14.0", + "esbuild": "~0.21.5" + }, + "bin": { + "vuepress-cli": "bin/vuepress.js" + } + }, + "node_modules/@vuepress/cli/node_modules/@esbuild/aix-ppc64": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/aix-ppc64/-/aix-ppc64-0.21.5.tgz", + "integrity": "sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "aix" + ], + "engines": { + "node": ">=12" + } }, "node_modules/@vuepress/cli/node_modules/@esbuild/android-arm": { "version": "0.21.5", @@ -7685,14 +7367,14 @@ } }, "node_modules/@vueuse/core": { - "version": "12.5.0", - "resolved": "https://registry.npmmirror.com/@vueuse/core/-/core-12.5.0.tgz", - "integrity": "sha512-GVyH1iYqNANwcahAx8JBm6awaNgvR/SwZ1fjr10b8l1HIgDp82ngNbfzJUgOgWEoxjL+URAggnlilAEXwCOZtg==", + "version": "12.7.0", + "resolved": "https://registry.npmmirror.com/@vueuse/core/-/core-12.7.0.tgz", + "integrity": "sha512-jtK5B7YjZXmkGNHjviyGO4s3ZtEhbzSgrbX+s5o+Lr8i2nYqNyHuPVOeTdM1/hZ5Tkxg/KktAuAVDDiHMraMVA==", "license": "MIT", "dependencies": { "@types/web-bluetooth": "^0.0.20", - "@vueuse/metadata": "12.5.0", - "@vueuse/shared": "12.5.0", + "@vueuse/metadata": "12.7.0", + "@vueuse/shared": "12.7.0", "vue": "^3.5.13" }, "funding": { @@ -7700,18 +7382,18 @@ } }, "node_modules/@vueuse/metadata": { - "version": "12.5.0", - "resolved": "https://registry.npmmirror.com/@vueuse/metadata/-/metadata-12.5.0.tgz", - "integrity": "sha512-Ui7Lo2a7AxrMAXRF+fAp9QsXuwTeeZ8fIB9wsLHqzq9MQk+2gMYE2IGJW48VMJ8ecvCB3z3GsGLKLbSasQ5Qlg==", + "version": "12.7.0", + "resolved": "https://registry.npmmirror.com/@vueuse/metadata/-/metadata-12.7.0.tgz", + "integrity": "sha512-4VvTH9mrjXqFN5LYa5YfqHVRI6j7R00Vy4995Rw7PQxyCL3z0Lli86iN4UemWqixxEvYfRjG+hF9wL8oLOn+3g==", "license": "MIT", "funding": { "url": "https://github.com/sponsors/antfu" } }, "node_modules/@vueuse/shared": { - "version": "12.5.0", - "resolved": "https://registry.npmmirror.com/@vueuse/shared/-/shared-12.5.0.tgz", - "integrity": "sha512-vMpcL1lStUU6O+kdj6YdHDixh0odjPAUM15uJ9f7MY781jcYkIwFA4iv2EfoIPO6vBmvutI1HxxAwmf0cx5ISQ==", + "version": "12.7.0", + "resolved": "https://registry.npmmirror.com/@vueuse/shared/-/shared-12.7.0.tgz", + "integrity": "sha512-coLlUw2HHKsm7rPN6WqHJQr18WymN4wkA/3ThFaJ4v4gWGWAQQGK+MJxLuJTBs4mojQiazlVWAKNJNpUWGRkNw==", "license": "MIT", "dependencies": { "vue": "^3.5.13" @@ -7900,9 +7582,9 @@ } }, "node_modules/alien-signals": { - "version": "0.4.14", - "resolved": "https://registry.npmmirror.com/alien-signals/-/alien-signals-0.4.14.tgz", - "integrity": "sha512-itUAVzhczTmP2U5yX67xVpsbbOiquusbWVyA9N+sy6+r6YVbFkahXvNCeEPWEOMhwDYwbVbGHFkVL03N9I5g+Q==", + "version": "1.0.4", + "resolved": "https://registry.npmmirror.com/alien-signals/-/alien-signals-1.0.4.tgz", + "integrity": "sha512-DJqqQD3XcsaQcQ1s+iE2jDUZmmQpXwHiR6fCAim/w87luaW+vmLY8fMlrdkmRwzaFXhkxf3rqPCR59tKVv1MDw==", "dev": true, "license": "MIT" }, @@ -9004,7 +8686,6 @@ "version": "1.0.1", "resolved": "https://registry.npmmirror.com/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.1.tgz", "integrity": "sha512-BhYE+WDaywFg2TBWYNXAE+8B1ATnThNBqXHP5nQu0jWJdVvY2hvkpyB3qOmtmDePiS5/BDQ8wASEWGMWRG148g==", - "dev": true, "license": "MIT", "dependencies": { "es-errors": "^1.3.0", @@ -9088,9 +8769,9 @@ } }, "node_modules/chai": { - "version": "5.1.2", - "resolved": "https://registry.npmmirror.com/chai/-/chai-5.1.2.tgz", - "integrity": "sha512-aGtmf24DW6MLHHG5gCx4zaI3uBq3KRtxeVs0DjFH6Z0rDNbsvTxFASFvdj79pxjxZ8/5u3PIiN3IwEIQkiiuPw==", + "version": "5.2.0", + "resolved": "https://registry.npmmirror.com/chai/-/chai-5.2.0.tgz", + "integrity": "sha512-mCuXncKXk5iCLhfhwTc0izo0gtEmpz5CtG2y8GiOINBlMVS6v8TMRc5TaLWKS6692m9+dVVfzgeVxR5UxWHTYw==", "dev": true, "license": "MIT", "dependencies": { @@ -9232,32 +8913,6 @@ "node": ">=18.17" } }, - "node_modules/chevrotain": { - "version": "11.0.3", - "resolved": "https://registry.npmmirror.com/chevrotain/-/chevrotain-11.0.3.tgz", - "integrity": "sha512-ci2iJH6LeIkvP9eJW6gpueU8cnZhv85ELY8w8WiFtNjMHA5ad6pQLaJo9mEly/9qUyCpvqX8/POVUTf18/HFdw==", - "license": "Apache-2.0", - "dependencies": { - "@chevrotain/cst-dts-gen": "11.0.3", - "@chevrotain/gast": "11.0.3", - "@chevrotain/regexp-to-ast": "11.0.3", - "@chevrotain/types": "11.0.3", - "@chevrotain/utils": "11.0.3", - "lodash-es": "4.17.21" - } - }, - "node_modules/chevrotain-allstar": { - "version": "0.3.1", - "resolved": "https://registry.npmmirror.com/chevrotain-allstar/-/chevrotain-allstar-0.3.1.tgz", - "integrity": "sha512-b7g+y9A0v4mxCW1qUhf3BSVPg+/NvGErk/dOkrDaHA0nQIQGAtrOjlX//9OQtRlSCy+x9rfB5N8yC71lH1nvMw==", - "license": "MIT", - "dependencies": { - "lodash-es": "^4.17.21" - }, - "peerDependencies": { - "chevrotain": "^11.0.0" - } - }, "node_modules/chokidar": { "version": "3.6.0", "resolved": "https://registry.npmmirror.com/chokidar/-/chokidar-3.6.0.tgz", @@ -10539,46 +10194,6 @@ "node": ">=12" } }, - "node_modules/d3-sankey": { - "version": "0.12.3", - "resolved": "https://registry.npmmirror.com/d3-sankey/-/d3-sankey-0.12.3.tgz", - "integrity": "sha512-nQhsBRmM19Ax5xEIPLMY9ZmJ/cDvd1BG3UVvt5h3WRxKg5zGRbvnteTyWAbzeSvlh3tW7ZEmq4VwR5mB3tutmQ==", - "license": "BSD-3-Clause", - "dependencies": { - "d3-array": "1 - 2", - "d3-shape": "^1.2.0" - } - }, - "node_modules/d3-sankey/node_modules/d3-array": { - "version": "2.12.1", - "resolved": "https://registry.npmmirror.com/d3-array/-/d3-array-2.12.1.tgz", - "integrity": "sha512-B0ErZK/66mHtEsR1TkPEEkwdy+WDesimkM5gpZr5Dsg54BiTA5RXtYW5qTLIAcekaS9xfZrzBLF/OAkB3Qn1YQ==", - "license": "BSD-3-Clause", - "dependencies": { - "internmap": "^1.0.0" - } - }, - "node_modules/d3-sankey/node_modules/d3-path": { - "version": "1.0.9", - "resolved": "https://registry.npmmirror.com/d3-path/-/d3-path-1.0.9.tgz", - "integrity": "sha512-VLaYcn81dtHVTjEHd8B+pbe9yHWpXKZUC87PzoFmsFrJqgFwDe/qxfp5MlfsfM1V5E/iVt0MmEbWQ7FVIXh/bg==", - "license": "BSD-3-Clause" - }, - "node_modules/d3-sankey/node_modules/d3-shape": { - "version": "1.3.7", - "resolved": "https://registry.npmmirror.com/d3-shape/-/d3-shape-1.3.7.tgz", - "integrity": "sha512-EUkvKjqPFUAZyOlhY5gzCxCeI0Aep04LwIRpsZ/mLFelJiUfnK56jo5JMDSE7yyP2kLSb6LtF+S5chMk7uqPqw==", - "license": "BSD-3-Clause", - "dependencies": { - "d3-path": "1" - } - }, - "node_modules/d3-sankey/node_modules/internmap": { - "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/internmap/-/internmap-1.0.1.tgz", - "integrity": "sha512-lDB5YccMydFBtasVtxnZ3MRBHuaoE8GKsppq+EchKL2U4nK/DmEpPHNH8MZe5HkMtpSiTSOZwfN0tzYjO/lJEw==", - "license": "ISC" - }, "node_modules/d3-scale": { "version": "4.0.2", "resolved": "https://registry.npmmirror.com/d3-scale/-/d3-scale-4.0.2.tgz", @@ -10697,16 +10312,6 @@ "node": ">=12" } }, - "node_modules/dagre-d3-es": { - "version": "7.0.11", - "resolved": "https://registry.npmmirror.com/dagre-d3-es/-/dagre-d3-es-7.0.11.tgz", - "integrity": "sha512-tvlJLyQf834SylNKax8Wkzco/1ias1OPw8DcUMDE7oUIoSEW25riQVuiu/0OWEFqT0cxHT3Pa9/D82Jr47IONw==", - "license": "MIT", - "dependencies": { - "d3": "^7.9.0", - "lodash-es": "^4.17.21" - } - }, "node_modules/data-uri-to-buffer": { "version": "2.0.2", "resolved": "https://registry.npmmirror.com/data-uri-to-buffer/-/data-uri-to-buffer-2.0.2.tgz", @@ -11220,15 +10825,6 @@ "url": "https://github.com/fb55/domhandler?sponsor=1" } }, - "node_modules/dompurify": { - "version": "3.2.4", - "resolved": "https://registry.npmmirror.com/dompurify/-/dompurify-3.2.4.tgz", - "integrity": "sha512-ysFSFEDVduQpyhzAob/kkuJjf5zWkZD8/A9ywSp1byueyuCfHamrCBa14/Oc2iiB0e51B+NpxSl5gmzn+Ms/mg==", - "license": "(MPL-2.0 OR Apache-2.0)", - "optionalDependencies": { - "@types/trusted-types": "^2.0.7" - } - }, "node_modules/domutils": { "version": "3.2.2", "resolved": "https://registry.npmmirror.com/domutils/-/domutils-3.2.2.tgz", @@ -11301,7 +10897,6 @@ "version": "1.0.1", "resolved": "https://registry.npmmirror.com/dunder-proto/-/dunder-proto-1.0.1.tgz", "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==", - "dev": true, "license": "MIT", "dependencies": { "call-bind-apply-helpers": "^1.0.1", @@ -11440,9 +11035,9 @@ } }, "node_modules/electron-context-menu": { - "version": "4.0.4", - "resolved": "https://registry.npmmirror.com/electron-context-menu/-/electron-context-menu-4.0.4.tgz", - "integrity": "sha512-XPGj35npL8+MG9Lx5ukmK/h8KLmjYJ3e1GvwWKrNZvf2ocv746WXIyltoV1yWtkEPT7g2kQ8hFmu0ZupK5KieA==", + "version": "4.0.5", + "resolved": "https://registry.npmmirror.com/electron-context-menu/-/electron-context-menu-4.0.5.tgz", + "integrity": "sha512-sYoH7sK6wlVoheoePwFDALvyeQdDXxerSIBhCzc1F0PIVhBWNWupBS2atK0ytAIHcvX1Qwj/LocMXbpmA77Ukg==", "license": "MIT", "dependencies": { "cli-truncate": "^4.0.0", @@ -11741,7 +11336,6 @@ "version": "1.0.1", "resolved": "https://registry.npmmirror.com/es-define-property/-/es-define-property-1.0.1.tgz", "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==", - "dev": true, "license": "MIT", "engines": { "node": ">= 0.4" @@ -11751,7 +11345,6 @@ "version": "1.3.0", "resolved": "https://registry.npmmirror.com/es-errors/-/es-errors-1.3.0.tgz", "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", - "dev": true, "license": "MIT", "engines": { "node": ">= 0.4" @@ -11768,7 +11361,6 @@ "version": "1.1.1", "resolved": "https://registry.npmmirror.com/es-object-atoms/-/es-object-atoms-1.1.1.tgz", "integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==", - "dev": true, "license": "MIT", "dependencies": { "es-errors": "^1.3.0" @@ -11781,7 +11373,6 @@ "version": "2.1.0", "resolved": "https://registry.npmmirror.com/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz", "integrity": "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==", - "dev": true, "license": "MIT", "dependencies": { "es-errors": "^1.3.0", @@ -12411,13 +12002,14 @@ } }, "node_modules/form-data": { - "version": "4.0.1", - "resolved": "https://registry.npmmirror.com/form-data/-/form-data-4.0.1.tgz", - "integrity": "sha512-tzN8e4TX8+kkxGPK8D5u0FNmjPUjw3lwC9lSLxxoB/+GtsJG91CO8bSWy73APlgAZzZbXEYZJuxjkHH2w+Ezhw==", + "version": "4.0.2", + "resolved": "https://registry.npmmirror.com/form-data/-/form-data-4.0.2.tgz", + "integrity": "sha512-hGfm/slu0ZabnNt4oaRZ6uREyfCj6P4fT/n6A1rGV+Z0VdGXjfOhVUpkn6qVQONHGIFwmveGXyDs75+nr6FM8w==", "license": "MIT", "dependencies": { "asynckit": "^0.4.0", "combined-stream": "^1.0.8", + "es-set-tostringtag": "^2.1.0", "mime-types": "^2.1.12" }, "engines": { @@ -12518,7 +12110,6 @@ "version": "1.1.2", "resolved": "https://registry.npmmirror.com/function-bind/-/function-bind-1.1.2.tgz", "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", - "dev": true, "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" @@ -12649,7 +12240,6 @@ "version": "1.2.7", "resolved": "https://registry.npmmirror.com/get-intrinsic/-/get-intrinsic-1.2.7.tgz", "integrity": "sha512-VW6Pxhsrk0KAOqs3WEd0klDiF/+V7gQOpAvY1jVU/LHmaD/kQO4523aiJuikX/QAKYiW6x8Jh+RJej1almdtCA==", - "dev": true, "license": "MIT", "dependencies": { "call-bind-apply-helpers": "^1.0.1", @@ -12688,7 +12278,6 @@ "version": "1.0.1", "resolved": "https://registry.npmmirror.com/get-proto/-/get-proto-1.0.1.tgz", "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==", - "dev": true, "license": "MIT", "dependencies": { "dunder-proto": "^1.0.1", @@ -12937,7 +12526,6 @@ "version": "1.2.0", "resolved": "https://registry.npmmirror.com/gopd/-/gopd-1.2.0.tgz", "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==", - "dev": true, "license": "MIT", "engines": { "node": ">= 0.4" @@ -13061,12 +12649,6 @@ "unenv": "^1.10.0" } }, - "node_modules/hachure-fill": { - "version": "0.5.2", - "resolved": "https://registry.npmmirror.com/hachure-fill/-/hachure-fill-0.5.2.tgz", - "integrity": "sha512-3GKBOn+m2LX9iq+JC1064cSFprJY4jL1jCXTcpnfER5HYE2l/4EfWSGzkPa/ZDBmYI0ZOEj5VHV/eKnPGkHuOg==", - "license": "MIT" - }, "node_modules/has-bigints": { "version": "1.1.0", "resolved": "https://registry.npmmirror.com/has-bigints/-/has-bigints-1.1.0.tgz", @@ -13123,7 +12705,6 @@ "version": "1.1.0", "resolved": "https://registry.npmmirror.com/has-symbols/-/has-symbols-1.1.0.tgz", "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==", - "dev": true, "license": "MIT", "engines": { "node": ">= 0.4" @@ -13136,7 +12717,6 @@ "version": "1.0.2", "resolved": "https://registry.npmmirror.com/has-tostringtag/-/has-tostringtag-1.0.2.tgz", "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", - "dev": true, "license": "MIT", "dependencies": { "has-symbols": "^1.0.3" @@ -13166,7 +12746,6 @@ "version": "2.0.2", "resolved": "https://registry.npmmirror.com/hasown/-/hasown-2.0.2.tgz", "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", - "dev": true, "license": "MIT", "dependencies": { "function-bind": "^1.1.2" @@ -14492,9 +14071,9 @@ } }, "node_modules/jose": { - "version": "5.9.6", - "resolved": "https://registry.npmmirror.com/jose/-/jose-5.9.6.tgz", - "integrity": "sha512-AMlnetc9+CV9asI19zHmrgS/WYsWUwCn2R7RzlbJWD7F9eWYUTGyBmU9o6PxngtLGOiDGPRu+Uc4fhKzbpteZQ==", + "version": "6.0.8", + "resolved": "https://registry.npmmirror.com/jose/-/jose-6.0.8.tgz", + "integrity": "sha512-EyUPtOKyTYq+iMOszO42eobQllaIjJnwkZ2U93aJzNyPibCy7CEvT9UQnaCVB51IAd49gbNdCew1c0LcLTCB2g==", "license": "MIT", "funding": { "url": "https://github.com/sponsors/panva" @@ -14806,28 +14385,6 @@ "integrity": "sha512-xYSH7AvuQ6nXkq42x0v5S8/Iry+cfulBz/DJQzhIyESdLD7425jXsPy4vn5cCXU+HhRN2kVw51Vd1K6/By4BQg==", "license": "MIT" }, - "node_modules/kolorist": { - "version": "1.8.0", - "resolved": "https://registry.npmmirror.com/kolorist/-/kolorist-1.8.0.tgz", - "integrity": "sha512-Y+60/zizpJ3HRH8DCss+q95yr6145JXZo46OTpFvDZWLfRCE4qChOyk1b26nMaNpfHHgxagk9dXT5OP0Tfe+dQ==", - "license": "MIT" - }, - "node_modules/langium": { - "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/langium/-/langium-3.0.0.tgz", - "integrity": "sha512-+Ez9EoiByeoTu/2BXmEaZ06iPNXM6thWJp02KfBO/raSMyCJ4jw7AkWWa+zBCTm0+Tw1Fj9FOxdqSskyN5nAwg==", - "license": "MIT", - "dependencies": { - "chevrotain": "~11.0.3", - "chevrotain-allstar": "~0.3.0", - "vscode-languageserver": "~9.0.1", - "vscode-languageserver-textdocument": "~1.0.11", - "vscode-uri": "~3.0.8" - }, - "engines": { - "node": ">=16.0.0" - } - }, "node_modules/layout-base": { "version": "1.0.2", "resolved": "https://registry.npmmirror.com/layout-base/-/layout-base-1.0.2.tgz", @@ -15481,7 +15038,6 @@ "version": "1.1.0", "resolved": "https://registry.npmmirror.com/math-intrinsics/-/math-intrinsics-1.1.0.tgz", "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==", - "dev": true, "license": "MIT", "engines": { "node": ">= 0.4" @@ -15535,59 +15091,6 @@ "node": ">= 8" } }, - "node_modules/mermaid": { - "version": "11.4.1", - "resolved": "https://registry.npmmirror.com/mermaid/-/mermaid-11.4.1.tgz", - "integrity": "sha512-Mb01JT/x6CKDWaxigwfZYuYmDZ6xtrNwNlidKZwkSrDaY9n90tdrJTV5Umk+wP1fZscGptmKFXHsXMDEVZ+Q6A==", - "license": "MIT", - "dependencies": { - "@braintree/sanitize-url": "^7.0.1", - "@iconify/utils": "^2.1.32", - "@mermaid-js/parser": "^0.3.0", - "@types/d3": "^7.4.3", - "cytoscape": "^3.29.2", - "cytoscape-cose-bilkent": "^4.1.0", - "cytoscape-fcose": "^2.2.0", - "d3": "^7.9.0", - "d3-sankey": "^0.12.3", - "dagre-d3-es": "7.0.11", - "dayjs": "^1.11.10", - "dompurify": "^3.2.1", - "katex": "^0.16.9", - "khroma": "^2.1.0", - "lodash-es": "^4.17.21", - "marked": "^13.0.2", - "roughjs": "^4.6.6", - "stylis": "^4.3.1", - "ts-dedent": "^2.2.0", - "uuid": "^9.0.1" - } - }, - "node_modules/mermaid/node_modules/marked": { - "version": "13.0.3", - "resolved": "https://registry.npmmirror.com/marked/-/marked-13.0.3.tgz", - "integrity": "sha512-rqRix3/TWzE9rIoFGIn8JmsVfhiuC8VIQ8IdX5TfzmeBucdY05/0UlzKaw0eVtpcN/OdVFpBk7CjKGo9iHJ/zA==", - "license": "MIT", - "bin": { - "marked": "bin/marked.js" - }, - "engines": { - "node": ">= 18" - } - }, - "node_modules/mermaid/node_modules/uuid": { - "version": "9.0.1", - "resolved": "https://registry.npmmirror.com/uuid/-/uuid-9.0.1.tgz", - "integrity": "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==", - "funding": [ - "https://github.com/sponsors/broofa", - "https://github.com/sponsors/ctavan" - ], - "license": "MIT", - "bin": { - "uuid": "dist/bin/uuid" - } - }, "node_modules/micromatch": { "version": "4.0.8", "resolved": "https://registry.npmmirror.com/micromatch/-/micromatch-4.0.8.tgz", @@ -15938,12 +15441,6 @@ "node": "*" } }, - "node_modules/murmurhash-js": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/murmurhash-js/-/murmurhash-js-1.0.0.tgz", - "integrity": "sha512-TvmkNhkv8yct0SVBSy+o8wYzXjE4Zz3PCesbfs8HiCXXdcTuocApFv11UWlNFWKYsP2okqrhb7JNlSm9InBhIw==", - "license": "MIT" - }, "node_modules/mustache": { "version": "4.2.0", "resolved": "https://registry.npmmirror.com/mustache/-/mustache-4.2.0.tgz", @@ -17076,12 +16573,6 @@ "dev": true, "license": "BlueOak-1.0.0" }, - "node_modules/package-manager-detector": { - "version": "0.2.9", - "resolved": "https://registry.npmmirror.com/package-manager-detector/-/package-manager-detector-0.2.9.tgz", - "integrity": "sha512-+vYvA/Y31l8Zk8dwxHhL3JfTuHPm6tlxM2A3GeQyl7ovYnSp1+mzAxClxaOr0qO1TtPxbQxetI7v5XqKLJZk7Q==", - "license": "MIT" - }, "node_modules/pako": { "version": "1.0.11", "resolved": "https://registry.npmmirror.com/pako/-/pako-1.0.11.tgz", @@ -17186,12 +16677,6 @@ "dev": true, "license": "MIT" }, - "node_modules/path-data-parser": { - "version": "0.1.0", - "resolved": "https://registry.npmmirror.com/path-data-parser/-/path-data-parser-0.1.0.tgz", - "integrity": "sha512-NOnmBpt5Y2RWbuv0LMzsayp3lVylAHLPUTut412ZA3l+C4uw4ZVkQbjShYCQ8TCpUMdPapr4YjUqLYD6v68j+w==", - "license": "MIT" - }, "node_modules/path-exists": { "version": "5.0.0", "resolved": "https://registry.npmmirror.com/path-exists/-/path-exists-5.0.0.tgz", @@ -17468,22 +16953,6 @@ "node": ">=4" } }, - "node_modules/points-on-curve": { - "version": "0.2.0", - "resolved": "https://registry.npmmirror.com/points-on-curve/-/points-on-curve-0.2.0.tgz", - "integrity": "sha512-0mYKnYYe9ZcqMCWhUjItv/oHjvgEsfKvnUTg8sAtnHr3GVy7rGkXCb6d5cSyqrWqL4k81b9CPg3urd+T7aop3A==", - "license": "MIT" - }, - "node_modules/points-on-path": { - "version": "0.2.1", - "resolved": "https://registry.npmmirror.com/points-on-path/-/points-on-path-0.2.1.tgz", - "integrity": "sha512-25ClnWWuw7JbWZcgqY/gJ4FQWadKxGWk+3kR/7kD0tCaDtPPMj7oHu2ToLaVhfpnHrZzYby2w6tUA0eOIuUg8g==", - "license": "MIT", - "dependencies": { - "path-data-parser": "0.1.0", - "points-on-curve": "0.2.0" - } - }, "node_modules/possible-typed-array-names": { "version": "1.0.0", "resolved": "https://registry.npmmirror.com/possible-typed-array-names/-/possible-typed-array-names-1.0.0.tgz", @@ -17495,9 +16964,9 @@ } }, "node_modules/postcss": { - "version": "8.5.1", - "resolved": "https://registry.npmmirror.com/postcss/-/postcss-8.5.1.tgz", - "integrity": "sha512-6oz2beyjc5VMn/KV1pPw8fliQkhBXrVn1Z3TVyqZxU8kZpzEKhBdmCFqI6ZbmGtamQvQGuU1sgPTk8ZrXDD7jQ==", + "version": "8.5.3", + "resolved": "https://registry.npmmirror.com/postcss/-/postcss-8.5.3.tgz", + "integrity": "sha512-dle9A3yYxlBSrt8Fu+IpjGT8SY8hN0mlaA6GY8t0P5PjIOZemULz/E2Bnm/2dcUOena75OTNkHI76uZBNUUq3A==", "funding": [ { "type": "opencollective", @@ -18656,18 +18125,6 @@ "dev": true, "license": "MIT" }, - "node_modules/roughjs": { - "version": "4.6.6", - "resolved": "https://registry.npmmirror.com/roughjs/-/roughjs-4.6.6.tgz", - "integrity": "sha512-ZUz/69+SYpFN/g/lUlo2FXcIjRkSu3nDarreVdGGndHEBJ6cXPdKguS8JGxwj5HA5xIbVKSmLgr5b3AWxtRfvQ==", - "license": "MIT", - "dependencies": { - "hachure-fill": "^0.5.2", - "path-data-parser": "^0.1.0", - "points-on-curve": "^0.2.0", - "points-on-path": "^0.2.1" - } - }, "node_modules/run-parallel": { "version": "1.2.0", "resolved": "https://registry.npmmirror.com/run-parallel/-/run-parallel-1.2.0.tgz", @@ -18800,9 +18257,9 @@ } }, "node_modules/sass-embedded": { - "version": "1.83.4", - "resolved": "https://registry.npmmirror.com/sass-embedded/-/sass-embedded-1.83.4.tgz", - "integrity": "sha512-Hf2burRA/y5PGxsg6jB9UpoK/xZ6g/pgrkOcdl6j+rRg1Zj8XhGKZ1MTysZGtTPUUmiiErqzkP5+Kzp95yv9GQ==", + "version": "1.85.1", + "resolved": "https://registry.npmmirror.com/sass-embedded/-/sass-embedded-1.85.1.tgz", + "integrity": "sha512-0i+3h2Df/c71afluxC1SXqyyMmJlnKWfu9ZGdzwuKRM1OftEa2XM2myt5tR36CF3PanYrMjFKtRIj8PfSf838w==", "dev": true, "license": "MIT", "dependencies": { @@ -18822,32 +18279,32 @@ "node": ">=16.0.0" }, "optionalDependencies": { - "sass-embedded-android-arm": "1.83.4", - "sass-embedded-android-arm64": "1.83.4", - "sass-embedded-android-ia32": "1.83.4", - "sass-embedded-android-riscv64": "1.83.4", - "sass-embedded-android-x64": "1.83.4", - "sass-embedded-darwin-arm64": "1.83.4", - "sass-embedded-darwin-x64": "1.83.4", - "sass-embedded-linux-arm": "1.83.4", - "sass-embedded-linux-arm64": "1.83.4", - "sass-embedded-linux-ia32": "1.83.4", - "sass-embedded-linux-musl-arm": "1.83.4", - "sass-embedded-linux-musl-arm64": "1.83.4", - "sass-embedded-linux-musl-ia32": "1.83.4", - "sass-embedded-linux-musl-riscv64": "1.83.4", - "sass-embedded-linux-musl-x64": "1.83.4", - "sass-embedded-linux-riscv64": "1.83.4", - "sass-embedded-linux-x64": "1.83.4", - "sass-embedded-win32-arm64": "1.83.4", - "sass-embedded-win32-ia32": "1.83.4", - "sass-embedded-win32-x64": "1.83.4" + "sass-embedded-android-arm": "1.85.1", + "sass-embedded-android-arm64": "1.85.1", + "sass-embedded-android-ia32": "1.85.1", + "sass-embedded-android-riscv64": "1.85.1", + "sass-embedded-android-x64": "1.85.1", + "sass-embedded-darwin-arm64": "1.85.1", + "sass-embedded-darwin-x64": "1.85.1", + "sass-embedded-linux-arm": "1.85.1", + "sass-embedded-linux-arm64": "1.85.1", + "sass-embedded-linux-ia32": "1.85.1", + "sass-embedded-linux-musl-arm": "1.85.1", + "sass-embedded-linux-musl-arm64": "1.85.1", + "sass-embedded-linux-musl-ia32": "1.85.1", + "sass-embedded-linux-musl-riscv64": "1.85.1", + "sass-embedded-linux-musl-x64": "1.85.1", + "sass-embedded-linux-riscv64": "1.85.1", + "sass-embedded-linux-x64": "1.85.1", + "sass-embedded-win32-arm64": "1.85.1", + "sass-embedded-win32-ia32": "1.85.1", + "sass-embedded-win32-x64": "1.85.1" } }, "node_modules/sass-embedded-android-arm": { - "version": "1.83.4", - "resolved": "https://registry.npmmirror.com/sass-embedded-android-arm/-/sass-embedded-android-arm-1.83.4.tgz", - "integrity": "sha512-9Z4pJAOgEkXa3VDY/o+U6l5XvV0mZTJcSl0l/mSPHihjAHSpLYnOW6+KOWeM8dxqrsqTYcd6COzhanI/a++5Gw==", + "version": "1.85.1", + "resolved": "https://registry.npmmirror.com/sass-embedded-android-arm/-/sass-embedded-android-arm-1.85.1.tgz", + "integrity": "sha512-GkcgUGMZtEF9gheuE1dxCU0ZSAifuaFXi/aX7ZXvjtdwmTl9Zc/OHR9oiUJkc8IW9UI7H8TuwlTAA8+SwgwIeQ==", "cpu": [ "arm" ], @@ -18862,9 +18319,9 @@ } }, "node_modules/sass-embedded-android-arm64": { - "version": "1.83.4", - "resolved": "https://registry.npmmirror.com/sass-embedded-android-arm64/-/sass-embedded-android-arm64-1.83.4.tgz", - "integrity": "sha512-tgX4FzmbVqnQmD67ZxQDvI+qFNABrboOQgwsG05E5bA/US42zGajW9AxpECJYiMXVOHmg+d81ICbjb0fsVHskw==", + "version": "1.85.1", + "resolved": "https://registry.npmmirror.com/sass-embedded-android-arm64/-/sass-embedded-android-arm64-1.85.1.tgz", + "integrity": "sha512-27oRheqNA3SJM2hAxpVbs7mCKUwKPWmEEhyiNFpBINb5ELVLg+Ck5RsGg+SJmo130ul5YX0vinmVB5uPWc8X5w==", "cpu": [ "arm64" ], @@ -18879,9 +18336,9 @@ } }, "node_modules/sass-embedded-android-ia32": { - "version": "1.83.4", - "resolved": "https://registry.npmmirror.com/sass-embedded-android-ia32/-/sass-embedded-android-ia32-1.83.4.tgz", - "integrity": "sha512-RsFOziFqPcfZXdFRULC4Ayzy9aK6R6FwQ411broCjlOBX+b0gurjRadkue3cfUEUR5mmy0KeCbp7zVKPLTK+5Q==", + "version": "1.85.1", + "resolved": "https://registry.npmmirror.com/sass-embedded-android-ia32/-/sass-embedded-android-ia32-1.85.1.tgz", + "integrity": "sha512-f3x16NyRgtXFksIaO/xXKrUhttUBv8V0XsAR2Dhdb/yz4yrDrhzw9Wh8fmw7PlQqECcQvFaoDr3XIIM6lKzasw==", "cpu": [ "ia32" ], @@ -18896,9 +18353,9 @@ } }, "node_modules/sass-embedded-android-riscv64": { - "version": "1.83.4", - "resolved": "https://registry.npmmirror.com/sass-embedded-android-riscv64/-/sass-embedded-android-riscv64-1.83.4.tgz", - "integrity": "sha512-EHwh0nmQarBBrMRU928eTZkFGx19k/XW2YwbPR4gBVdWLkbTgCA5aGe8hTE6/1zStyx++3nDGvTZ78+b/VvvLg==", + "version": "1.85.1", + "resolved": "https://registry.npmmirror.com/sass-embedded-android-riscv64/-/sass-embedded-android-riscv64-1.85.1.tgz", + "integrity": "sha512-IP6OijpJ8Mqo7XqCe0LsuZVbAxEFVboa0kXqqR5K55LebEplsTIA2GnmRyMay3Yr/2FVGsZbCb6Wlgkw23eCiA==", "cpu": [ "riscv64" ], @@ -18913,9 +18370,9 @@ } }, "node_modules/sass-embedded-android-x64": { - "version": "1.83.4", - "resolved": "https://registry.npmmirror.com/sass-embedded-android-x64/-/sass-embedded-android-x64-1.83.4.tgz", - "integrity": "sha512-0PgQNuPWYy1jEOEPDVsV89KfqOsMLIp9CSbjBY7jRcwRhyVAcigqrUG6bDeNtojHUYKA1kU+Eh/85WxOHUOgBw==", + "version": "1.85.1", + "resolved": "https://registry.npmmirror.com/sass-embedded-android-x64/-/sass-embedded-android-x64-1.85.1.tgz", + "integrity": "sha512-Mh7CA53wR3ADvXAYipFc/R3vV4PVOzoKwWzPxmq+7i8UZrtsVjKONxGtqWe9JG1mna0C9CRZAx0sv/BzbOJxWg==", "cpu": [ "x64" ], @@ -18930,9 +18387,9 @@ } }, "node_modules/sass-embedded-darwin-arm64": { - "version": "1.83.4", - "resolved": "https://registry.npmmirror.com/sass-embedded-darwin-arm64/-/sass-embedded-darwin-arm64-1.83.4.tgz", - "integrity": "sha512-rp2ywymWc3nymnSnAFG5R/8hvxWCsuhK3wOnD10IDlmNB7o4rzKby1c+2ZfpQGowlYGWsWWTgz8FW2qzmZsQRw==", + "version": "1.85.1", + "resolved": "https://registry.npmmirror.com/sass-embedded-darwin-arm64/-/sass-embedded-darwin-arm64-1.85.1.tgz", + "integrity": "sha512-msWxzhvcP9hqGVegxVePVEfv9mVNTlUgGr6k7O7Ihji702mbtrH/lKwF4aRkkt4g1j7tv10+JtQXmTNi/pi9kA==", "cpu": [ "arm64" ], @@ -18947,9 +18404,9 @@ } }, "node_modules/sass-embedded-darwin-x64": { - "version": "1.83.4", - "resolved": "https://registry.npmmirror.com/sass-embedded-darwin-x64/-/sass-embedded-darwin-x64-1.83.4.tgz", - "integrity": "sha512-kLkN2lXz9PCgGfDS8Ev5YVcl/V2173L6379en/CaFuJJi7WiyPgBymW7hOmfCt4uO4R1y7CP2Uc08DRtZsBlAA==", + "version": "1.85.1", + "resolved": "https://registry.npmmirror.com/sass-embedded-darwin-x64/-/sass-embedded-darwin-x64-1.85.1.tgz", + "integrity": "sha512-J4UFHUiyI9Z+mwYMwz11Ky9TYr3hY1fCxeQddjNGL/+ovldtb0yAIHvoVM0BGprQDm5JqhtUk8KyJ3RMJqpaAA==", "cpu": [ "x64" ], @@ -18964,9 +18421,9 @@ } }, "node_modules/sass-embedded-linux-arm": { - "version": "1.83.4", - "resolved": "https://registry.npmmirror.com/sass-embedded-linux-arm/-/sass-embedded-linux-arm-1.83.4.tgz", - "integrity": "sha512-nL90ryxX2lNmFucr9jYUyHHx21AoAgdCL1O5Ltx2rKg2xTdytAGHYo2MT5S0LIeKLa/yKP/hjuSvrbICYNDvtA==", + "version": "1.85.1", + "resolved": "https://registry.npmmirror.com/sass-embedded-linux-arm/-/sass-embedded-linux-arm-1.85.1.tgz", + "integrity": "sha512-X0fDh95nNSw1wfRlnkE4oscoEA5Au4nnk785s9jghPFkTBg+A+5uB6trCjf0fM22+Iw6kiP4YYmDdw3BqxAKLQ==", "cpu": [ "arm" ], @@ -18981,9 +18438,9 @@ } }, "node_modules/sass-embedded-linux-arm64": { - "version": "1.83.4", - "resolved": "https://registry.npmmirror.com/sass-embedded-linux-arm64/-/sass-embedded-linux-arm64-1.83.4.tgz", - "integrity": "sha512-E0zjsZX2HgESwyqw31EHtI39DKa7RgK7nvIhIRco1d0QEw227WnoR9pjH3M/ZQy4gQj3GKilOFHM5Krs/omeIA==", + "version": "1.85.1", + "resolved": "https://registry.npmmirror.com/sass-embedded-linux-arm64/-/sass-embedded-linux-arm64-1.85.1.tgz", + "integrity": "sha512-jGadetB03BMFG2rq3OXub/uvC/lGpbQOiLGEz3NLb2nRZWyauRhzDtvZqkr6BEhxgIWtMtz2020yD8ZJSw/r2w==", "cpu": [ "arm64" ], @@ -18998,9 +18455,9 @@ } }, "node_modules/sass-embedded-linux-ia32": { - "version": "1.83.4", - "resolved": "https://registry.npmmirror.com/sass-embedded-linux-ia32/-/sass-embedded-linux-ia32-1.83.4.tgz", - "integrity": "sha512-ew5HpchSzgAYbQoriRh8QhlWn5Kw2nQ2jHoV9YLwGKe3fwwOWA0KDedssvDv7FWnY/FCqXyymhLd6Bxae4Xquw==", + "version": "1.85.1", + "resolved": "https://registry.npmmirror.com/sass-embedded-linux-ia32/-/sass-embedded-linux-ia32-1.85.1.tgz", + "integrity": "sha512-7HlYY90d9mitDtNi5s+S+5wYZrTVbkBH2/kf7ixrzh2BFfT0YM81UHLJRnGX93y9aOMBL6DSZAIfkt1RsV9bkQ==", "cpu": [ "ia32" ], @@ -19015,9 +18472,9 @@ } }, "node_modules/sass-embedded-linux-musl-arm": { - "version": "1.83.4", - "resolved": "https://registry.npmmirror.com/sass-embedded-linux-musl-arm/-/sass-embedded-linux-musl-arm-1.83.4.tgz", - "integrity": "sha512-0RrJRwMrmm+gG0VOB5b5Cjs7Sd+lhqpQJa6EJNEaZHljJokEfpE5GejZsGMRMIQLxEvVphZnnxl6sonCGFE/QQ==", + "version": "1.85.1", + "resolved": "https://registry.npmmirror.com/sass-embedded-linux-musl-arm/-/sass-embedded-linux-musl-arm-1.85.1.tgz", + "integrity": "sha512-5vcdEqE8QZnu6i6shZo7x2N36V7YUoFotWj2rGekII5ty7Nkaj+VtZhUEOp9tAzEOlaFuDp5CyO1kUCvweT64A==", "cpu": [ "arm" ], @@ -19032,9 +18489,9 @@ } }, "node_modules/sass-embedded-linux-musl-arm64": { - "version": "1.83.4", - "resolved": "https://registry.npmmirror.com/sass-embedded-linux-musl-arm64/-/sass-embedded-linux-musl-arm64-1.83.4.tgz", - "integrity": "sha512-IzMgalf6MZOxgp4AVCgsaWAFDP/IVWOrgVXxkyhw29fyAEoSWBJH4k87wyPhEtxSuzVHLxKNbc8k3UzdWmlBFg==", + "version": "1.85.1", + "resolved": "https://registry.npmmirror.com/sass-embedded-linux-musl-arm64/-/sass-embedded-linux-musl-arm64-1.85.1.tgz", + "integrity": "sha512-FLkIT0p18XOkR6wryJ13LqGBDsrYev2dRk9dtiU18NCpNXruKsdBQ1ZnWHVKB3h1dA9lFyEEisC0sooKdNfeOQ==", "cpu": [ "arm64" ], @@ -19049,9 +18506,9 @@ } }, "node_modules/sass-embedded-linux-musl-ia32": { - "version": "1.83.4", - "resolved": "https://registry.npmmirror.com/sass-embedded-linux-musl-ia32/-/sass-embedded-linux-musl-ia32-1.83.4.tgz", - "integrity": "sha512-LLb4lYbcxPzX4UaJymYXC+WwokxUlfTJEFUv5VF0OTuSsHAGNRs/rslPtzVBTvMeG9TtlOQDhku1F7G6iaDotA==", + "version": "1.85.1", + "resolved": "https://registry.npmmirror.com/sass-embedded-linux-musl-ia32/-/sass-embedded-linux-musl-ia32-1.85.1.tgz", + "integrity": "sha512-N1093T84zQJor1yyIAdYScB5eAuQarGK1tKgZ4uTnxVlgA7Xi1lXV8Eh7ox9sDqKCaWkVQ3MjqU26vYRBeRWyw==", "cpu": [ "ia32" ], @@ -19066,9 +18523,9 @@ } }, "node_modules/sass-embedded-linux-musl-riscv64": { - "version": "1.83.4", - "resolved": "https://registry.npmmirror.com/sass-embedded-linux-musl-riscv64/-/sass-embedded-linux-musl-riscv64-1.83.4.tgz", - "integrity": "sha512-zoKlPzD5Z13HKin1UGR74QkEy+kZEk2AkGX5RelRG494mi+IWwRuWCppXIovor9+BQb9eDWPYPoMVahwN5F7VA==", + "version": "1.85.1", + "resolved": "https://registry.npmmirror.com/sass-embedded-linux-musl-riscv64/-/sass-embedded-linux-musl-riscv64-1.85.1.tgz", + "integrity": "sha512-WRsZS/7qlfYXsa93FBpSruieuURIu7ySfFhzYfF1IbKrNAGwmbduutkHZh2ddm5/vQMvQ0Rdosgv+CslaQHMcw==", "cpu": [ "riscv64" ], @@ -19083,9 +18540,9 @@ } }, "node_modules/sass-embedded-linux-musl-x64": { - "version": "1.83.4", - "resolved": "https://registry.npmmirror.com/sass-embedded-linux-musl-x64/-/sass-embedded-linux-musl-x64-1.83.4.tgz", - "integrity": "sha512-hB8+/PYhfEf2zTIcidO5Bpof9trK6WJjZ4T8g2MrxQh8REVtdPcgIkoxczRynqybf9+fbqbUwzXtiUao2GV+vQ==", + "version": "1.85.1", + "resolved": "https://registry.npmmirror.com/sass-embedded-linux-musl-x64/-/sass-embedded-linux-musl-x64-1.85.1.tgz", + "integrity": "sha512-+OlLIilA5TnP0YEqTQ8yZtkW+bJIQYvzoGoNLUEskeyeGuOiIyn2CwL6G4JQB4xZQFaxPHb7JD3EueFkQbH0Pw==", "cpu": [ "x64" ], @@ -19100,9 +18557,9 @@ } }, "node_modules/sass-embedded-linux-riscv64": { - "version": "1.83.4", - "resolved": "https://registry.npmmirror.com/sass-embedded-linux-riscv64/-/sass-embedded-linux-riscv64-1.83.4.tgz", - "integrity": "sha512-83fL4n+oeDJ0Y4KjASmZ9jHS1Vl9ESVQYHMhJE0i4xDi/P3BNarm2rsKljq/QtrwGpbqwn8ujzOu7DsNCMDSHA==", + "version": "1.85.1", + "resolved": "https://registry.npmmirror.com/sass-embedded-linux-riscv64/-/sass-embedded-linux-riscv64-1.85.1.tgz", + "integrity": "sha512-mKKlOwMGLN7yP1p0gB5yG/HX4fYLnpWaqstNuOOXH+fOzTaNg0+1hALg0H0CDIqypPO74M5MS9T6FAJZGdT6dQ==", "cpu": [ "riscv64" ], @@ -19117,9 +18574,9 @@ } }, "node_modules/sass-embedded-linux-x64": { - "version": "1.83.4", - "resolved": "https://registry.npmmirror.com/sass-embedded-linux-x64/-/sass-embedded-linux-x64-1.83.4.tgz", - "integrity": "sha512-NlnGdvCmTD5PK+LKXlK3sAuxOgbRIEoZfnHvxd157imCm/s2SYF/R28D0DAAjEViyI8DovIWghgbcqwuertXsA==", + "version": "1.85.1", + "resolved": "https://registry.npmmirror.com/sass-embedded-linux-x64/-/sass-embedded-linux-x64-1.85.1.tgz", + "integrity": "sha512-uKRTv0z8NgtHV7xSren78+yoWB79sNi7TMqI7Bxd8fcRNIgHQSA8QBdF8led2ETC004hr8h71BrY60RPO+SSvA==", "cpu": [ "x64" ], @@ -19134,9 +18591,9 @@ } }, "node_modules/sass-embedded-win32-arm64": { - "version": "1.83.4", - "resolved": "https://registry.npmmirror.com/sass-embedded-win32-arm64/-/sass-embedded-win32-arm64-1.83.4.tgz", - "integrity": "sha512-J2BFKrEaeSrVazU2qTjyQdAk+MvbzJeTuCET0uAJEXSKtvQ3AzxvzndS7LqkDPbF32eXAHLw8GVpwcBwKbB3Uw==", + "version": "1.85.1", + "resolved": "https://registry.npmmirror.com/sass-embedded-win32-arm64/-/sass-embedded-win32-arm64-1.85.1.tgz", + "integrity": "sha512-/GMiZXBOc6AEMBC3g25Rp+x8fq9Z6Ql7037l5rajBPhZ+DdFwtdHY0Ou3oIU6XuWUwD06U3ii4XufXVFhsP6PA==", "cpu": [ "arm64" ], @@ -19151,9 +18608,9 @@ } }, "node_modules/sass-embedded-win32-ia32": { - "version": "1.83.4", - "resolved": "https://registry.npmmirror.com/sass-embedded-win32-ia32/-/sass-embedded-win32-ia32-1.83.4.tgz", - "integrity": "sha512-uPAe9T/5sANFhJS5dcfAOhOJy8/l2TRYG4r+UO3Wp4yhqbN7bggPvY9c7zMYS0OC8tU/bCvfYUDFHYMCl91FgA==", + "version": "1.85.1", + "resolved": "https://registry.npmmirror.com/sass-embedded-win32-ia32/-/sass-embedded-win32-ia32-1.85.1.tgz", + "integrity": "sha512-L+4BWkKKBGFOKVQ2PQ5HwFfkM5FvTf1Xx2VSRvEWt9HxPXp6SPDho6zC8fqNQ3hSjoaoASEIJcSvgfdQYO0gdg==", "cpu": [ "ia32" ], @@ -19168,9 +18625,9 @@ } }, "node_modules/sass-embedded-win32-x64": { - "version": "1.83.4", - "resolved": "https://registry.npmmirror.com/sass-embedded-win32-x64/-/sass-embedded-win32-x64-1.83.4.tgz", - "integrity": "sha512-C9fkDY0jKITdJFij4UbfPFswxoXN9O/Dr79v17fJnstVwtUojzVJWKHUXvF0Zg2LIR7TCc4ju3adejKFxj7ueA==", + "version": "1.85.1", + "resolved": "https://registry.npmmirror.com/sass-embedded-win32-x64/-/sass-embedded-win32-x64-1.85.1.tgz", + "integrity": "sha512-/FO0AGKWxVfCk4GKsC0yXWBpUZdySe3YAAbQQL0lL6xUd1OiUY8Kow6g4Kc1TB/+z0iuQKKTqI/acJMEYl4iTQ==", "cpu": [ "x64" ], @@ -20567,9 +20024,9 @@ } }, "node_modules/swagger-ui-dist": { - "version": "5.18.3", - "resolved": "https://registry.npmmirror.com/swagger-ui-dist/-/swagger-ui-dist-5.18.3.tgz", - "integrity": "sha512-G33HFW0iFNStfY2x6QXO2JYVMrFruc8AZRX0U/L71aA7WeWfX2E5Nm8E/tsipSZJeIZZbSjUDeynLK/wcuNWIw==", + "version": "5.20.0", + "resolved": "https://registry.npmmirror.com/swagger-ui-dist/-/swagger-ui-dist-5.20.0.tgz", + "integrity": "sha512-V5pozVTZxivdoQq/SQWxj3A4cOu5opk9MEbcZANX3Pj8X8xCrD1QCtBT7744Pz9msOvt0nnmy9JvM/9PGonCdg==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -20899,9 +20356,9 @@ } }, "node_modules/terser": { - "version": "5.37.0", - "resolved": "https://registry.npmmirror.com/terser/-/terser-5.37.0.tgz", - "integrity": "sha512-B8wRRkmre4ERucLM/uXx4MOV5cbnOlVAqUst+1+iLKPI0dOgFO28f84ptoQt9HEI537PMzfYa/d+GEPKTRXmYA==", + "version": "5.39.0", + "resolved": "https://registry.npmmirror.com/terser/-/terser-5.39.0.tgz", + "integrity": "sha512-LBAhFyLho16harJoWMg/nZsQYgTrg5jXOn2nCYjRUcZZEdE3qa2zb8QEDRUGVZBW4rlazf2fxkg8tztybTaqWw==", "dev": true, "license": "BSD-2-Clause", "dependencies": { @@ -20977,17 +20434,20 @@ "license": "MIT" }, "node_modules/tinyglobby": { - "version": "0.2.10", - "resolved": "https://registry.npmmirror.com/tinyglobby/-/tinyglobby-0.2.10.tgz", - "integrity": "sha512-Zc+8eJlFMvgatPZTl6A9L/yht8QqdmUNtURHaKZLmKBE12hNPSrqNkUp2cs3M/UKmNVVAMFQYSjYIVHDjW5zew==", + "version": "0.2.12", + "resolved": "https://registry.npmmirror.com/tinyglobby/-/tinyglobby-0.2.12.tgz", + "integrity": "sha512-qkf4trmKSIiMTs/E63cxH+ojC2unam7rJ0WrauAzpT3ECNTxGRMlaXxVbfxMUC/w0LaYk6jQ4y/nGR9uBO3tww==", "dev": true, "license": "MIT", "dependencies": { - "fdir": "^6.4.2", + "fdir": "^6.4.3", "picomatch": "^4.0.2" }, "engines": { "node": ">=12.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/SuperchupuDev" } }, "node_modules/tinyglobby/node_modules/fdir": { @@ -21269,9 +20729,9 @@ } }, "node_modules/typescript": { - "version": "5.7.3", - "resolved": "https://registry.npmmirror.com/typescript/-/typescript-5.7.3.tgz", - "integrity": "sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw==", + "version": "5.8.2", + "resolved": "https://registry.npmmirror.com/typescript/-/typescript-5.8.2.tgz", + "integrity": "sha512-aJn6wq13/afZp/jT9QZmwEjDqqvSGp1VT5GVg+f/t6/oVyrgXM6BY1h9BRh/O5p3PlUPAe+WuiEZOmb/49RqoQ==", "devOptional": true, "license": "Apache-2.0", "bin": { @@ -21387,9 +20847,9 @@ "license": "MIT" }, "node_modules/undici": { - "version": "7.3.0", - "resolved": "https://registry.npmmirror.com/undici/-/undici-7.3.0.tgz", - "integrity": "sha512-Qy96NND4Dou5jKoSJ2gm8ax8AJM/Ey9o9mz7KN1bb9GP+G0l20Zw8afxTnY2f4b7hmhn/z8aC2kfArVQlAhFBw==", + "version": "7.4.0", + "resolved": "https://registry.npmmirror.com/undici/-/undici-7.4.0.tgz", + "integrity": "sha512-PUQM3/es3noM24oUn10u3kNNap0AbxESOmnssmW+dOi9yGwlUSi5nTNYl3bNbTkWOF8YZDkx2tCmj9OtQ3iGGw==", "license": "MIT", "engines": { "node": ">=20.18.1" @@ -21614,9 +21074,9 @@ } }, "node_modules/unplugin": { - "version": "2.1.2", - "resolved": "https://registry.npmmirror.com/unplugin/-/unplugin-2.1.2.tgz", - "integrity": "sha512-Q3LU0e4zxKfRko1wMV2HmP8lB9KWislY7hxXpxd+lGx0PRInE4vhMBVEZwpdVYHvtqzhSrzuIfErsob6bQfCzw==", + "version": "2.2.0", + "resolved": "https://registry.npmmirror.com/unplugin/-/unplugin-2.2.0.tgz", + "integrity": "sha512-m1ekpSwuOT5hxkJeZGRxO7gXbXT3gF26NjQ7GdVHoLoF8/nopLcd/QfPigpCy7i51oFHiRJg/CyHhj4vs2+KGw==", "license": "MIT", "dependencies": { "acorn": "^8.14.0", @@ -21627,19 +21087,18 @@ } }, "node_modules/unplugin-auto-import": { - "version": "19.0.0", - "resolved": "https://registry.npmmirror.com/unplugin-auto-import/-/unplugin-auto-import-19.0.0.tgz", - "integrity": "sha512-TREXtXqCM6YLy3rE2tjvKZEaCiPlP2e5bmnRKaS8AM2MlNgjV7UP4RPieWIfs4Isv0GoeHmov956PIIvJYdqpQ==", + "version": "19.1.1", + "resolved": "https://registry.npmmirror.com/unplugin-auto-import/-/unplugin-auto-import-19.1.1.tgz", + "integrity": "sha512-sCGZZrSR1Bc8RfN8Q0RUDxXtC20rdAt7UB4lDyq8MNtKVHiXXh+5af6Nz4JRp9Q+7HjnbgQfQox0TkEymjdUAQ==", "dev": true, "license": "MIT", "dependencies": { - "@antfu/utils": "^0.7.10", - "@rollup/pluginutils": "^5.1.4", - "local-pkg": "^0.5.1", + "local-pkg": "^1.0.0", "magic-string": "^0.30.17", "picomatch": "^4.0.2", - "unimport": "^3.14.5", - "unplugin": "^2.1.2" + "unimport": "^4.1.2", + "unplugin": "^2.2.0", + "unplugin-utils": "^0.2.4" }, "engines": { "node": ">=14" @@ -21660,53 +21119,147 @@ } } }, - "node_modules/unplugin-auto-import/node_modules/local-pkg": { - "version": "0.5.1", - "resolved": "https://registry.npmmirror.com/local-pkg/-/local-pkg-0.5.1.tgz", - "integrity": "sha512-9rrA30MRRP3gBD3HTGnC6cDFpaE1kVDWxWgqWJUN0RvDNAo+Nz/9GxB+nHOH0ifbVFy0hSA1V6vFDvnx54lTEQ==", + "node_modules/unplugin-auto-import/node_modules/escape-string-regexp": { + "version": "5.0.0", + "resolved": "https://registry.npmmirror.com/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", + "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==", "dev": true, "license": "MIT", - "dependencies": { - "mlly": "^1.7.3", - "pkg-types": "^1.2.1" - }, "engines": { - "node": ">=14" + "node": ">=12" }, "funding": { - "url": "https://github.com/sponsors/antfu" + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/unplugin-auto-import/node_modules/picomatch": { - "version": "4.0.2", - "resolved": "https://registry.npmmirror.com/picomatch/-/picomatch-4.0.2.tgz", - "integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==", + "node_modules/unplugin-auto-import/node_modules/estree-walker": { + "version": "3.0.3", + "resolved": "https://registry.npmmirror.com/estree-walker/-/estree-walker-3.0.3.tgz", + "integrity": "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==", "dev": true, "license": "MIT", - "engines": { - "node": ">=12" - }, + "dependencies": { + "@types/estree": "^1.0.0" + } + }, + "node_modules/unplugin-auto-import/node_modules/js-tokens": { + "version": "9.0.1", + "resolved": "https://registry.npmmirror.com/js-tokens/-/js-tokens-9.0.1.tgz", + "integrity": "sha512-mxa9E9ITFOt0ban3j6L5MpjwegGz6lBQmM1IJkWeBZGcMxto50+eWdjC/52xDbS2vy0k7vIMK0Fe2wfL9OQSpQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/unplugin-auto-import/node_modules/pathe": { + "version": "2.0.3", + "resolved": "https://registry.npmmirror.com/pathe/-/pathe-2.0.3.tgz", + "integrity": "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==", + "dev": true, + "license": "MIT" + }, + "node_modules/unplugin-auto-import/node_modules/picomatch": { + "version": "4.0.2", + "resolved": "https://registry.npmmirror.com/picomatch/-/picomatch-4.0.2.tgz", + "integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/unplugin-auto-import/node_modules/strip-literal": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/strip-literal/-/strip-literal-3.0.0.tgz", + "integrity": "sha512-TcccoMhJOM3OebGhSBEmp3UZ2SfDMZUEBdRA/9ynfLi8yYajyWX3JiXArcJt4Umh4vISpspkQIY8ZZoCqjbviA==", + "dev": true, + "license": "MIT", + "dependencies": { + "js-tokens": "^9.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/antfu" + } + }, + "node_modules/unplugin-auto-import/node_modules/unimport": { + "version": "4.1.2", + "resolved": "https://registry.npmmirror.com/unimport/-/unimport-4.1.2.tgz", + "integrity": "sha512-oVUL7PSlyVV3QRhsdcyYEMaDX8HJyS/CnUonEJTYA3//bWO+o/4gG8F7auGWWWkrrxBQBYOO8DKe+C53ktpRXw==", + "dev": true, + "license": "MIT", + "dependencies": { + "acorn": "^8.14.0", + "escape-string-regexp": "^5.0.0", + "estree-walker": "^3.0.3", + "local-pkg": "^1.0.0", + "magic-string": "^0.30.17", + "mlly": "^1.7.4", + "pathe": "^2.0.3", + "picomatch": "^4.0.2", + "pkg-types": "^1.3.1", + "scule": "^1.3.0", + "strip-literal": "^3.0.0", + "tinyglobby": "^0.2.11", + "unplugin": "^2.2.0", + "unplugin-utils": "^0.2.4" + }, + "engines": { + "node": ">=18.12.0" + } + }, + "node_modules/unplugin-utils": { + "version": "0.2.4", + "resolved": "https://registry.npmmirror.com/unplugin-utils/-/unplugin-utils-0.2.4.tgz", + "integrity": "sha512-8U/MtpkPkkk3Atewj1+RcKIjb5WBimZ/WSLhhR3w6SsIj8XJuKTacSP8g+2JhfSGw0Cb125Y+2zA/IzJZDVbhA==", + "dev": true, + "license": "MIT", + "dependencies": { + "pathe": "^2.0.2", + "picomatch": "^4.0.2" + }, + "engines": { + "node": ">=18.12.0" + }, + "funding": { + "url": "https://github.com/sponsors/sxzz" + } + }, + "node_modules/unplugin-utils/node_modules/pathe": { + "version": "2.0.3", + "resolved": "https://registry.npmmirror.com/pathe/-/pathe-2.0.3.tgz", + "integrity": "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==", + "dev": true, + "license": "MIT" + }, + "node_modules/unplugin-utils/node_modules/picomatch": { + "version": "4.0.2", + "resolved": "https://registry.npmmirror.com/picomatch/-/picomatch-4.0.2.tgz", + "integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, "funding": { "url": "https://github.com/sponsors/jonschlinkert" } }, "node_modules/unplugin-vue-components": { - "version": "28.0.0", - "resolved": "https://registry.npmmirror.com/unplugin-vue-components/-/unplugin-vue-components-28.0.0.tgz", - "integrity": "sha512-vYe0wSyqTVhyNFIad1iiGyQGhG++tDOMgohqenMDOAooMJP9vvzCdXTqCVx20A0rCQXFNjgoRbSeDAioLPH36Q==", + "version": "28.4.1", + "resolved": "https://registry.npmmirror.com/unplugin-vue-components/-/unplugin-vue-components-28.4.1.tgz", + "integrity": "sha512-niGSc0vJD9ueAnsqcfAldmtpkppZ09B6p2G1dL7X5S8KPdgbk1P+txPwaaDCe7N+eZh2VG1aAypLXkuJs3OSUg==", "dev": true, "license": "MIT", "dependencies": { - "@antfu/utils": "^0.7.10", - "@rollup/pluginutils": "^5.1.4", "chokidar": "^3.6.0", "debug": "^4.4.0", - "fast-glob": "^3.3.3", - "local-pkg": "^0.5.1", + "local-pkg": "^1.0.0", "magic-string": "^0.30.17", - "minimatch": "^9.0.5", - "mlly": "^1.7.3", - "unplugin": "^2.1.2" + "mlly": "^1.7.4", + "tinyglobby": "^0.2.12", + "unplugin": "^2.2.0", + "unplugin-utils": "^0.2.4" }, "engines": { "node": ">=14" @@ -21728,39 +21281,6 @@ } } }, - "node_modules/unplugin-vue-components/node_modules/local-pkg": { - "version": "0.5.1", - "resolved": "https://registry.npmmirror.com/local-pkg/-/local-pkg-0.5.1.tgz", - "integrity": "sha512-9rrA30MRRP3gBD3HTGnC6cDFpaE1kVDWxWgqWJUN0RvDNAo+Nz/9GxB+nHOH0ifbVFy0hSA1V6vFDvnx54lTEQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "mlly": "^1.7.3", - "pkg-types": "^1.2.1" - }, - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/antfu" - } - }, - "node_modules/unplugin-vue-components/node_modules/minimatch": { - "version": "9.0.5", - "resolved": "https://registry.npmmirror.com/minimatch/-/minimatch-9.0.5.tgz", - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", - "dev": true, - "license": "ISC", - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=16 || 14 >=14.17" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/unstorage": { "version": "1.14.4", "resolved": "https://registry.npmmirror.com/unstorage/-/unstorage-1.14.4.tgz", @@ -22052,9 +21572,9 @@ "license": "MIT" }, "node_modules/uuid": { - "version": "11.0.5", - "resolved": "https://registry.npmmirror.com/uuid/-/uuid-11.0.5.tgz", - "integrity": "sha512-508e6IcKLrhxKdBbcA2b4KQZlLVp2+J5UwQ6F7Drckkc5N9ZJwFa4TgWtsww9UG8fGHbm6gbV19TdM5pQ4GaIA==", + "version": "11.1.0", + "resolved": "https://registry.npmmirror.com/uuid/-/uuid-11.1.0.tgz", + "integrity": "sha512-0/A9rDy9P7cJ+8w1c9WD9V//9Wj15Ce2MPz8Ri6032usz+NfePxx5AcN3bN+r6ZL6jEo066/yNYB3tn4pQEx+A==", "funding": [ "https://github.com/sponsors/broofa", "https://github.com/sponsors/ctavan" @@ -22097,15 +21617,15 @@ } }, "node_modules/vite": { - "version": "6.0.11", - "resolved": "https://registry.npmmirror.com/vite/-/vite-6.0.11.tgz", - "integrity": "sha512-4VL9mQPKoHy4+FE0NnRE/kbY51TOfaknxAjt3fJbGJxhIpBZiqVzlZDEesWWsuREXHwNdAoOFZ9MkPEVXczHwg==", + "version": "6.2.0", + "resolved": "https://registry.npmmirror.com/vite/-/vite-6.2.0.tgz", + "integrity": "sha512-7dPxoo+WsT/64rDcwoOjk76XHj+TqNTIvHKcuMQ1k4/SeHDaQt5GFAeLYzrimZrMpn/O6DtdI03WUjdxuPM0oQ==", "dev": true, "license": "MIT", "dependencies": { - "esbuild": "^0.24.2", - "postcss": "^8.4.49", - "rollup": "^4.23.0" + "esbuild": "^0.25.0", + "postcss": "^8.5.3", + "rollup": "^4.30.1" }, "bin": { "vite": "bin/vite.js" @@ -22169,16 +21689,16 @@ } }, "node_modules/vite-node": { - "version": "3.0.4", - "resolved": "https://registry.npmmirror.com/vite-node/-/vite-node-3.0.4.tgz", - "integrity": "sha512-7JZKEzcYV2Nx3u6rlvN8qdo3QV7Fxyt6hx+CCKz9fbWxdX5IvUOmTWEAxMrWxaiSf7CKGLJQ5rFu8prb/jBjOA==", + "version": "3.0.7", + "resolved": "https://registry.npmmirror.com/vite-node/-/vite-node-3.0.7.tgz", + "integrity": "sha512-2fX0QwX4GkkkpULXdT1Pf4q0tC1i1lFOyseKoonavXUNlQ77KpW2XqBGGNIm/J4Ows4KxgGJzDguYVPKwG/n5A==", "dev": true, "license": "MIT", "dependencies": { "cac": "^6.7.14", "debug": "^4.4.0", "es-module-lexer": "^1.6.0", - "pathe": "^2.0.2", + "pathe": "^2.0.3", "vite": "^5.0.0 || ^6.0.0" }, "bin": { @@ -22192,9 +21712,9 @@ } }, "node_modules/vite-node/node_modules/pathe": { - "version": "2.0.2", - "resolved": "https://registry.npmmirror.com/pathe/-/pathe-2.0.2.tgz", - "integrity": "sha512-15Ztpk+nov8DR524R4BF7uEuzESgzUEAV4Ah7CUMNGXdE5ELuvxElxGXndBl32vMSsWa1jpNf22Z+Er3sKwq+w==", + "version": "2.0.3", + "resolved": "https://registry.npmmirror.com/pathe/-/pathe-2.0.3.tgz", + "integrity": "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==", "dev": true, "license": "MIT" }, @@ -22275,32 +21795,498 @@ "vue": ">=3.2.13" } }, + "node_modules/vite/node_modules/@esbuild/aix-ppc64": { + "version": "0.25.0", + "resolved": "https://registry.npmmirror.com/@esbuild/aix-ppc64/-/aix-ppc64-0.25.0.tgz", + "integrity": "sha512-O7vun9Sf8DFjH2UtqK8Ku3LkquL9SZL8OLY1T5NZkA34+wG3OQF7cl4Ql8vdNzM6fzBbYfLaiRLIOZ+2FOCgBQ==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "aix" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/vite/node_modules/@esbuild/android-arm": { + "version": "0.25.0", + "resolved": "https://registry.npmmirror.com/@esbuild/android-arm/-/android-arm-0.25.0.tgz", + "integrity": "sha512-PTyWCYYiU0+1eJKmw21lWtC+d08JDZPQ5g+kFyxP0V+es6VPPSUhM6zk8iImp2jbV6GwjX4pap0JFbUQN65X1g==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/vite/node_modules/@esbuild/android-arm64": { + "version": "0.25.0", + "resolved": "https://registry.npmmirror.com/@esbuild/android-arm64/-/android-arm64-0.25.0.tgz", + "integrity": "sha512-grvv8WncGjDSyUBjN9yHXNt+cq0snxXbDxy5pJtzMKGmmpPxeAmAhWxXI+01lU5rwZomDgD3kJwulEnhTRUd6g==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/vite/node_modules/@esbuild/android-x64": { + "version": "0.25.0", + "resolved": "https://registry.npmmirror.com/@esbuild/android-x64/-/android-x64-0.25.0.tgz", + "integrity": "sha512-m/ix7SfKG5buCnxasr52+LI78SQ+wgdENi9CqyCXwjVR2X4Jkz+BpC3le3AoBPYTC9NHklwngVXvbJ9/Akhrfg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/vite/node_modules/@esbuild/darwin-arm64": { + "version": "0.25.0", + "resolved": "https://registry.npmmirror.com/@esbuild/darwin-arm64/-/darwin-arm64-0.25.0.tgz", + "integrity": "sha512-mVwdUb5SRkPayVadIOI78K7aAnPamoeFR2bT5nszFUZ9P8UpK4ratOdYbZZXYSqPKMHfS1wdHCJk1P1EZpRdvw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/vite/node_modules/@esbuild/darwin-x64": { + "version": "0.25.0", + "resolved": "https://registry.npmmirror.com/@esbuild/darwin-x64/-/darwin-x64-0.25.0.tgz", + "integrity": "sha512-DgDaYsPWFTS4S3nWpFcMn/33ZZwAAeAFKNHNa1QN0rI4pUjgqf0f7ONmXf6d22tqTY+H9FNdgeaAa+YIFUn2Rg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/vite/node_modules/@esbuild/freebsd-arm64": { + "version": "0.25.0", + "resolved": "https://registry.npmmirror.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.0.tgz", + "integrity": "sha512-VN4ocxy6dxefN1MepBx/iD1dH5K8qNtNe227I0mnTRjry8tj5MRk4zprLEdG8WPyAPb93/e4pSgi1SoHdgOa4w==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/vite/node_modules/@esbuild/freebsd-x64": { + "version": "0.25.0", + "resolved": "https://registry.npmmirror.com/@esbuild/freebsd-x64/-/freebsd-x64-0.25.0.tgz", + "integrity": "sha512-mrSgt7lCh07FY+hDD1TxiTyIHyttn6vnjesnPoVDNmDfOmggTLXRv8Id5fNZey1gl/V2dyVK1VXXqVsQIiAk+A==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/vite/node_modules/@esbuild/linux-arm": { + "version": "0.25.0", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-arm/-/linux-arm-0.25.0.tgz", + "integrity": "sha512-vkB3IYj2IDo3g9xX7HqhPYxVkNQe8qTK55fraQyTzTX/fxaDtXiEnavv9geOsonh2Fd2RMB+i5cbhu2zMNWJwg==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/vite/node_modules/@esbuild/linux-arm64": { + "version": "0.25.0", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-arm64/-/linux-arm64-0.25.0.tgz", + "integrity": "sha512-9QAQjTWNDM/Vk2bgBl17yWuZxZNQIF0OUUuPZRKoDtqF2k4EtYbpyiG5/Dk7nqeK6kIJWPYldkOcBqjXjrUlmg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/vite/node_modules/@esbuild/linux-ia32": { + "version": "0.25.0", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-ia32/-/linux-ia32-0.25.0.tgz", + "integrity": "sha512-43ET5bHbphBegyeqLb7I1eYn2P/JYGNmzzdidq/w0T8E2SsYL1U6un2NFROFRg1JZLTzdCoRomg8Rvf9M6W6Gg==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/vite/node_modules/@esbuild/linux-loong64": { + "version": "0.25.0", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-loong64/-/linux-loong64-0.25.0.tgz", + "integrity": "sha512-fC95c/xyNFueMhClxJmeRIj2yrSMdDfmqJnyOY4ZqsALkDrrKJfIg5NTMSzVBr5YW1jf+l7/cndBfP3MSDpoHw==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/vite/node_modules/@esbuild/linux-mips64el": { + "version": "0.25.0", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-mips64el/-/linux-mips64el-0.25.0.tgz", + "integrity": "sha512-nkAMFju7KDW73T1DdH7glcyIptm95a7Le8irTQNO/qtkoyypZAnjchQgooFUDQhNAy4iu08N79W4T4pMBwhPwQ==", + "cpu": [ + "mips64el" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/vite/node_modules/@esbuild/linux-ppc64": { + "version": "0.25.0", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-ppc64/-/linux-ppc64-0.25.0.tgz", + "integrity": "sha512-NhyOejdhRGS8Iwv+KKR2zTq2PpysF9XqY+Zk77vQHqNbo/PwZCzB5/h7VGuREZm1fixhs4Q/qWRSi5zmAiO4Fw==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/vite/node_modules/@esbuild/linux-riscv64": { + "version": "0.25.0", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-riscv64/-/linux-riscv64-0.25.0.tgz", + "integrity": "sha512-5S/rbP5OY+GHLC5qXp1y/Mx//e92L1YDqkiBbO9TQOvuFXM+iDqUNG5XopAnXoRH3FjIUDkeGcY1cgNvnXp/kA==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/vite/node_modules/@esbuild/linux-s390x": { + "version": "0.25.0", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-s390x/-/linux-s390x-0.25.0.tgz", + "integrity": "sha512-XM2BFsEBz0Fw37V0zU4CXfcfuACMrppsMFKdYY2WuTS3yi8O1nFOhil/xhKTmE1nPmVyvQJjJivgDT+xh8pXJA==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/vite/node_modules/@esbuild/linux-x64": { + "version": "0.25.0", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-x64/-/linux-x64-0.25.0.tgz", + "integrity": "sha512-9yl91rHw/cpwMCNytUDxwj2XjFpxML0y9HAOH9pNVQDpQrBxHy01Dx+vaMu0N1CKa/RzBD2hB4u//nfc+Sd3Cw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/vite/node_modules/@esbuild/netbsd-arm64": { + "version": "0.25.0", + "resolved": "https://registry.npmmirror.com/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.0.tgz", + "integrity": "sha512-RuG4PSMPFfrkH6UwCAqBzauBWTygTvb1nxWasEJooGSJ/NwRw7b2HOwyRTQIU97Hq37l3npXoZGYMy3b3xYvPw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/vite/node_modules/@esbuild/netbsd-x64": { + "version": "0.25.0", + "resolved": "https://registry.npmmirror.com/@esbuild/netbsd-x64/-/netbsd-x64-0.25.0.tgz", + "integrity": "sha512-jl+qisSB5jk01N5f7sPCsBENCOlPiS/xptD5yxOx2oqQfyourJwIKLRA2yqWdifj3owQZCL2sn6o08dBzZGQzA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/vite/node_modules/@esbuild/openbsd-arm64": { + "version": "0.25.0", + "resolved": "https://registry.npmmirror.com/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.0.tgz", + "integrity": "sha512-21sUNbq2r84YE+SJDfaQRvdgznTD8Xc0oc3p3iW/a1EVWeNj/SdUCbm5U0itZPQYRuRTW20fPMWMpcrciH2EJw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/vite/node_modules/@esbuild/openbsd-x64": { + "version": "0.25.0", + "resolved": "https://registry.npmmirror.com/@esbuild/openbsd-x64/-/openbsd-x64-0.25.0.tgz", + "integrity": "sha512-2gwwriSMPcCFRlPlKx3zLQhfN/2WjJ2NSlg5TKLQOJdV0mSxIcYNTMhk3H3ulL/cak+Xj0lY1Ym9ysDV1igceg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/vite/node_modules/@esbuild/sunos-x64": { + "version": "0.25.0", + "resolved": "https://registry.npmmirror.com/@esbuild/sunos-x64/-/sunos-x64-0.25.0.tgz", + "integrity": "sha512-bxI7ThgLzPrPz484/S9jLlvUAHYMzy6I0XiU1ZMeAEOBcS0VePBFxh1JjTQt3Xiat5b6Oh4x7UC7IwKQKIJRIg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/vite/node_modules/@esbuild/win32-arm64": { + "version": "0.25.0", + "resolved": "https://registry.npmmirror.com/@esbuild/win32-arm64/-/win32-arm64-0.25.0.tgz", + "integrity": "sha512-ZUAc2YK6JW89xTbXvftxdnYy3m4iHIkDtK3CLce8wg8M2L+YZhIvO1DKpxrd0Yr59AeNNkTiic9YLf6FTtXWMw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/vite/node_modules/@esbuild/win32-ia32": { + "version": "0.25.0", + "resolved": "https://registry.npmmirror.com/@esbuild/win32-ia32/-/win32-ia32-0.25.0.tgz", + "integrity": "sha512-eSNxISBu8XweVEWG31/JzjkIGbGIJN/TrRoiSVZwZ6pkC6VX4Im/WV2cz559/TXLcYbcrDN8JtKgd9DJVIo8GA==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/vite/node_modules/@esbuild/win32-x64": { + "version": "0.25.0", + "resolved": "https://registry.npmmirror.com/@esbuild/win32-x64/-/win32-x64-0.25.0.tgz", + "integrity": "sha512-ZENoHJBxA20C2zFzh6AI4fT6RraMzjYw4xKWemRTRmRVtN9c5DcH9r/f2ihEkMjOW5eGgrwCslG/+Y/3bL+DHQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/vite/node_modules/esbuild": { + "version": "0.25.0", + "resolved": "https://registry.npmmirror.com/esbuild/-/esbuild-0.25.0.tgz", + "integrity": "sha512-BXq5mqc8ltbaN34cDqWuYKyNhX8D/Z0J1xdtdQ8UcIIIyJyz+ZMKUt58tF3SrZ85jcfN/PZYhjR5uDQAYNVbuw==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=18" + }, + "optionalDependencies": { + "@esbuild/aix-ppc64": "0.25.0", + "@esbuild/android-arm": "0.25.0", + "@esbuild/android-arm64": "0.25.0", + "@esbuild/android-x64": "0.25.0", + "@esbuild/darwin-arm64": "0.25.0", + "@esbuild/darwin-x64": "0.25.0", + "@esbuild/freebsd-arm64": "0.25.0", + "@esbuild/freebsd-x64": "0.25.0", + "@esbuild/linux-arm": "0.25.0", + "@esbuild/linux-arm64": "0.25.0", + "@esbuild/linux-ia32": "0.25.0", + "@esbuild/linux-loong64": "0.25.0", + "@esbuild/linux-mips64el": "0.25.0", + "@esbuild/linux-ppc64": "0.25.0", + "@esbuild/linux-riscv64": "0.25.0", + "@esbuild/linux-s390x": "0.25.0", + "@esbuild/linux-x64": "0.25.0", + "@esbuild/netbsd-arm64": "0.25.0", + "@esbuild/netbsd-x64": "0.25.0", + "@esbuild/openbsd-arm64": "0.25.0", + "@esbuild/openbsd-x64": "0.25.0", + "@esbuild/sunos-x64": "0.25.0", + "@esbuild/win32-arm64": "0.25.0", + "@esbuild/win32-ia32": "0.25.0", + "@esbuild/win32-x64": "0.25.0" + } + }, "node_modules/vitest": { - "version": "3.0.4", - "resolved": "https://registry.npmmirror.com/vitest/-/vitest-3.0.4.tgz", - "integrity": "sha512-6XG8oTKy2gnJIFTHP6LD7ExFeNLxiTkK3CfMvT7IfR8IN+BYICCf0lXUQmX7i7JoxUP8QmeP4mTnWXgflu4yjw==", + "version": "3.0.7", + "resolved": "https://registry.npmmirror.com/vitest/-/vitest-3.0.7.tgz", + "integrity": "sha512-IP7gPK3LS3Fvn44x30X1dM9vtawm0aesAa2yBIZ9vQf+qB69NXC5776+Qmcr7ohUXIQuLhk7xQR0aSUIDPqavg==", "dev": true, "license": "MIT", "dependencies": { - "@vitest/expect": "3.0.4", - "@vitest/mocker": "3.0.4", - "@vitest/pretty-format": "^3.0.4", - "@vitest/runner": "3.0.4", - "@vitest/snapshot": "3.0.4", - "@vitest/spy": "3.0.4", - "@vitest/utils": "3.0.4", - "chai": "^5.1.2", + "@vitest/expect": "3.0.7", + "@vitest/mocker": "3.0.7", + "@vitest/pretty-format": "^3.0.7", + "@vitest/runner": "3.0.7", + "@vitest/snapshot": "3.0.7", + "@vitest/spy": "3.0.7", + "@vitest/utils": "3.0.7", + "chai": "^5.2.0", "debug": "^4.4.0", "expect-type": "^1.1.0", "magic-string": "^0.30.17", - "pathe": "^2.0.2", + "pathe": "^2.0.3", "std-env": "^3.8.0", "tinybench": "^2.9.0", "tinyexec": "^0.3.2", "tinypool": "^1.0.2", "tinyrainbow": "^2.0.0", "vite": "^5.0.0 || ^6.0.0", - "vite-node": "3.0.4", + "vite-node": "3.0.7", "why-is-node-running": "^2.3.0" }, "bin": { @@ -22316,8 +22302,8 @@ "@edge-runtime/vm": "*", "@types/debug": "^4.1.12", "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0", - "@vitest/browser": "3.0.4", - "@vitest/ui": "3.0.4", + "@vitest/browser": "3.0.7", + "@vitest/ui": "3.0.7", "happy-dom": "*", "jsdom": "*" }, @@ -22346,59 +22332,17 @@ } }, "node_modules/vitest/node_modules/pathe": { - "version": "2.0.2", - "resolved": "https://registry.npmmirror.com/pathe/-/pathe-2.0.2.tgz", - "integrity": "sha512-15Ztpk+nov8DR524R4BF7uEuzESgzUEAV4Ah7CUMNGXdE5ELuvxElxGXndBl32vMSsWa1jpNf22Z+Er3sKwq+w==", + "version": "2.0.3", + "resolved": "https://registry.npmmirror.com/pathe/-/pathe-2.0.3.tgz", + "integrity": "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==", "dev": true, "license": "MIT" }, - "node_modules/vscode-jsonrpc": { - "version": "8.2.0", - "resolved": "https://registry.npmmirror.com/vscode-jsonrpc/-/vscode-jsonrpc-8.2.0.tgz", - "integrity": "sha512-C+r0eKJUIfiDIfwJhria30+TYWPtuHJXHtI7J0YlOmKAo7ogxP20T0zxB7HZQIFhIyvoBPwWskjxrvAtfjyZfA==", - "license": "MIT", - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/vscode-languageserver": { - "version": "9.0.1", - "resolved": "https://registry.npmmirror.com/vscode-languageserver/-/vscode-languageserver-9.0.1.tgz", - "integrity": "sha512-woByF3PDpkHFUreUa7Hos7+pUWdeWMXRd26+ZX2A8cFx6v/JPTtd4/uN0/jB6XQHYaOlHbio03NTHCqrgG5n7g==", - "license": "MIT", - "dependencies": { - "vscode-languageserver-protocol": "3.17.5" - }, - "bin": { - "installServerIntoExtension": "bin/installServerIntoExtension" - } - }, - "node_modules/vscode-languageserver-protocol": { - "version": "3.17.5", - "resolved": "https://registry.npmmirror.com/vscode-languageserver-protocol/-/vscode-languageserver-protocol-3.17.5.tgz", - "integrity": "sha512-mb1bvRJN8SVznADSGWM9u/b07H7Ecg0I3OgXDuLdn307rl/J3A9YD6/eYOssqhecL27hK1IPZAsaqh00i/Jljg==", - "license": "MIT", - "dependencies": { - "vscode-jsonrpc": "8.2.0", - "vscode-languageserver-types": "3.17.5" - } - }, - "node_modules/vscode-languageserver-textdocument": { - "version": "1.0.12", - "resolved": "https://registry.npmmirror.com/vscode-languageserver-textdocument/-/vscode-languageserver-textdocument-1.0.12.tgz", - "integrity": "sha512-cxWNPesCnQCcMPeenjKKsOCKQZ/L6Tv19DTRIGuLWe32lyzWhihGVJ/rcckZXJxfdKCFvRLS3fpBIsV/ZGX4zA==", - "license": "MIT" - }, - "node_modules/vscode-languageserver-types": { - "version": "3.17.5", - "resolved": "https://registry.npmmirror.com/vscode-languageserver-types/-/vscode-languageserver-types-3.17.5.tgz", - "integrity": "sha512-Ld1VelNuX9pdF39h2Hgaeb5hEZM2Z3jUrrMgWQAu82jMtZp7p3vJT3BzToKtZI7NgQssZje5o0zryOrhQvzQAg==", - "license": "MIT" - }, "node_modules/vscode-uri": { "version": "3.0.8", "resolved": "https://registry.npmmirror.com/vscode-uri/-/vscode-uri-3.0.8.tgz", "integrity": "sha512-AyFQ0EVmsOZOlAnxoFOGOq1SQDWAB7C6aqMGS23svWAllfOaxbuFvcT8D1i8z3Gyn8fraVeZNNmN6e9bxxXkKw==", + "dev": true, "license": "MIT" }, "node_modules/vue": { @@ -22449,13 +22393,13 @@ } }, "node_modules/vue-i18n": { - "version": "11.1.0", - "resolved": "https://registry.npmmirror.com/vue-i18n/-/vue-i18n-11.1.0.tgz", - "integrity": "sha512-UgtYUe99mLfo7ya5TJSsJcgJZaqIunwXjff5UA03xRry0VtgN4zIUbuoycK9/ZZQJg5Cmr6V6zq+u0H0P0hlNw==", + "version": "11.1.1", + "resolved": "https://registry.npmmirror.com/vue-i18n/-/vue-i18n-11.1.1.tgz", + "integrity": "sha512-0P6DkKy96R4Wh2sIZJEHw8ivnlD1pnB6Ib/eldoF1SUpQutfKZv6aMqZwICS1gW0rwq24ZSXw7y3jW+PRVYqWA==", "license": "MIT", "dependencies": { - "@intlify/core-base": "11.1.0", - "@intlify/shared": "11.1.0", + "@intlify/core-base": "11.1.1", + "@intlify/shared": "11.1.1", "@vue/devtools-api": "^6.5.0" }, "engines": { @@ -22496,14 +22440,14 @@ "license": "MIT" }, "node_modules/vue-tsc": { - "version": "2.2.0", - "resolved": "https://registry.npmmirror.com/vue-tsc/-/vue-tsc-2.2.0.tgz", - "integrity": "sha512-gtmM1sUuJ8aSb0KoAFmK9yMxb8TxjewmxqTJ1aKphD5Cbu0rULFY6+UQT51zW7SpUcenfPUuflKyVwyx9Qdnxg==", + "version": "2.2.6", + "resolved": "https://registry.npmmirror.com/vue-tsc/-/vue-tsc-2.2.6.tgz", + "integrity": "sha512-TI6eAnWPatONEpVAZt1etbSrh8tDpHOLSlRqKGudOK5WKVnBGzHXUi0KR4UCsf2o5P+5285w4HF+5avhfH7IMA==", "dev": true, "license": "MIT", "dependencies": { "@volar/typescript": "~2.4.11", - "@vue/language-core": "2.2.0" + "@vue/language-core": "2.2.6" }, "bin": { "vue-tsc": "bin/vue-tsc.js" @@ -23889,9 +23833,9 @@ "license": "ISC" }, "node_modules/ws": { - "version": "8.18.0", - "resolved": "https://registry.npmmirror.com/ws/-/ws-8.18.0.tgz", - "integrity": "sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==", + "version": "8.18.1", + "resolved": "https://registry.npmmirror.com/ws/-/ws-8.18.1.tgz", + "integrity": "sha512-RKW2aJZMXeMxVpnZ6bck+RswznaxmzdULiBr6KY7XkTnW8uvt0iT9H5DkHUChXrc+uurzwa0rVI16n/Xzjdz1w==", "license": "MIT", "engines": { "node": ">=10.0.0" diff --git a/package.json b/package.json index c4a3f7773130708018da216bfb41c41c4b5d5791..9dde17764daf0759f646197476fb920104298fb7 100644 --- a/package.json +++ b/package.json @@ -38,19 +38,19 @@ "@agoose77/markdown-it-mermaid": "^1.1.0", "@dicebear/collection": "^8.0.1", "@dicebear/core": "^8.0.1", - "@grpc/grpc-js": "^1.12.5", + "@grpc/grpc-js": "^1.12.6", "@mozilla/readability": "^0.5.0", "@traptitech/markdown-it-katex": "^3.6.0", "@types/form-data": "^2.5.2", "@types/ws": "^8.5.14", - "@vueuse/core": "^12.5.0", + "@vueuse/core": "^12.7.0", "@wdns/vue-code-block": "^2.3.5", - "electron-context-menu": "^4.0.4", + "electron-context-menu": "^4.0.5", "electron-findbar": "^0.6.4", "eventsource-parser": "^3.0.0", - "form-data": "^4.0.1", + "form-data": "^4.0.2", "highlight.js": "^11.11.1", - "jose": "^5.9.6", + "jose": "^6.0.8", "mammoth": "^1.9.0", "markdown-it": "^14.1.0", "markdown-it-highlightjs": "^4.2.0", @@ -62,13 +62,13 @@ "tdesign-icons-vue-next": "^0.3.4", "tdesign-vue-next": "latest", "tvision-color": "^1.6.0", - "undici": "^7.3.0", - "uuid": "^11.0.5", + "undici": "^7.4.0", + "uuid": "^11.1.0", "vue": "^3.5.13", - "vue-i18n": "^11.0.1", + "vue-i18n": "^11.1.1", "vue-router": "^4.5.0", "vuedraggable": "^4.1.0", - "ws": "^8.18.0", + "ws": "^8.18.1", "xlsx": "^0.18.5" }, "devDependencies": { @@ -89,22 +89,21 @@ "postcss": "^8.5.1", "postcss-less": "^6.0.0", "protobufjs-cli": "^1.1.3", - "sass-embedded": "^1.83.4", + "sass-embedded": "^1.85.1", "shx": "^0.3.4", - "swagger-ui-dist": "^5.18.3", + "swagger-ui-dist": "^5.20.0", "tailwindcss": "^3.4.4", - "terser": "^5.37.0", - "typescript": "^5.7.3", - "unplugin-auto-import": "^19.0.0", - "unplugin-vue-components": "^28.0.0", - "vite": "^6.0.11", + "terser": "^5.39.0", + "typescript": "^5.8.2", + "unplugin-auto-import": "^19.1.1", + "unplugin-vue-components": "^28.4.1", + "vite": "^6.2.0", "vite-plugin-electron": "^0.29.0", "vite-plugin-electron-renderer": "^0.14.6", "vite-plugin-javascript-obfuscator": "^3.1.0", - "vite-plugin-pwa": "^0.21.1", "vite-svg-loader": "^5.1.0", - "vitest": "^3.0.4", - "vue-tsc": "^2.2.0", + "vitest": "^3.0.7", + "vue-tsc": "^2.2.6", "vuepress": "^2.0.0-rc.14", "wrangler": "^3.106.0" },